diff --git a/.gitignore b/.gitignore index ad46b308..fff9661a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,13 @@ pids *.seed *.pid.lock +# Auto-generated files +yarn.lock +package-lock.json + +# flow-typed +flow-typed/npm + # Directory for instrumented libs generated by jscoverage/JSCover lib-cov diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..62ca80c4 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,406 @@ +# 0.13.3 (2018.5.24) +- Add git precommit hook, when git commit will use `prettier` to format git add code +- Add format code function in `lint-fix` npm script which can use `prettier` to format project js code + +# 0.13.2 (2018.1.31) +- Hot Module Reload (HMR) fixes +- Bumped all dependencies to latest semver +- Prevent error propagation of `CheckNativeDeps` script + +# 0.13.1 (2018.1.13) +- Hot Module Reload (HMR) fixes +- Bumped all dependencies to latest semver +- Fixed electron-rebuild script +- Fixed tests scripts to run on all platforms +- Skip redux logs in console in test ENV + +# 0.13.0 (2018.1.6) + +#### Additions +- Add native dependencies check on postinstall +- Updated all dependencies to latest semver + +# 0.12.0 (2017.7.8) + +#### Misc +- Removed `babel-polyfill` +- Renamed and alphabetized npm scripts + +#### Breaking +- Changed node dev `__dirname` and `__filename` to node built in fn's (https://github.com/chentsulin/electron-react-boilerplate/pull/1035) +- Renamed `app/bundle.js` to `app/renderer.prod.js` for consistency +- Renamed `dll/vendor.js` to `dll/renderer.dev.dll.js` for consistency + +#### Additions +- Enable node_modules cache on CI + +# 0.11.2 (2017.5.1) + +Yay! Another patch release. This release mostly includes refactorings and router bug fixes. Huge thanks to @anthonyraymond! + +⚠️ Windows electron builds are failing because of [this issue](https://github.com/electron/electron/issues/9321). This is not an issue with the boilerplate ⚠️ + +#### Breaking +- **Renamed `./app/main.development.js` => `./app/main.{dev,prod}.js`:** [#963](https://github.com/chentsulin/electron-react-boilerplate/pull/963) + +#### Fixes +- **Fixed reloading when not on `/` path:** [#958](https://github.com/chentsulin/electron-react-boilerplate/pull/958) [#949](https://github.com/chentsulin/electron-react-boilerplate/pull/949) + +#### Additions +- **Added support for stylefmt:** [#960](https://github.com/chentsulin/electron-react-boilerplate/pull/960) + +# 0.11.1 (2017.4.23) + +You can now debug the production build with devtools like so: +``` +DEBUG_PROD=true npm run package +``` + +🎉🎉🎉 + +#### Additions +- **Added support for debugging production build:** [#fab245a](https://github.com/chentsulin/electron-react-boilerplate/pull/941/commits/fab245a077d02a09630f74270806c0c534a4ff95) + +#### Bug Fixes +- **Fixed bug related to importing native dependencies:** [#933](https://github.com/chentsulin/electron-react-boilerplate/pull/933) + +#### Improvements +- **Updated all deps to latest semver** + +# 0.11.0 (2017.4.19) + +Here's the most notable changes since `v0.10.0`. Its been about a year since a release has been pushed. Expect a new release to be published every 3-4 weeks. + +#### Breaking Changes + +- **Dropped support for node < 6** +- **Refactored webpack config files** +- **Migrate to two-package.json project structure** +- **Updated all devDeps to latest semver** +- **Migrated to Jest:** [#768](https://github.com/chentsulin/electron-react-boilerplate/pull/768) +- **Migrated to `react-router@4`** +- **Migrated to `electron-builder@4`** +- **Migrated to `webpack@2`** +- **Migrated to `react-hot-loader@3`** +- **Changed default live reload server PORT to `1212` from `3000`** + +#### Additions + +- **Added support for Yarn:** [#451](https://github.com/chentsulin/electron-react-boilerplate/pull/451) +- **Added support for Flow:** [#425](https://github.com/chentsulin/electron-react-boilerplate/pull/425) +- **Added support for stylelint:** [#911](https://github.com/chentsulin/electron-react-boilerplate/pull/911) +- **Added support for electron-builder:** [#876](https://github.com/chentsulin/electron-react-boilerplate/pull/876) +- **Added optional support for SASS:** [#880](https://github.com/chentsulin/electron-react-boilerplate/pull/880) +- **Added support for eslint-plugin-flowtype:** [#911](https://github.com/chentsulin/electron-react-boilerplate/pull/911) +- **Added support for appveyor:** [#280](https://github.com/chentsulin/electron-react-boilerplate/pull/280) +- **Added support for webpack dlls:** [#860](https://github.com/chentsulin/electron-react-boilerplate/pull/860) +- **Route based code splitting:** [#884](https://github.com/chentsulin/electron-react-boilerplate/pull/884) +- **Added support for Webpack Bundle Analyzer:** [#922](https://github.com/chentsulin/electron-react-boilerplate/pull/922) + +#### Improvements + +- **Parallelize renderer and main build processes when running `npm run build`** +- **Dynamically generate electron app menu** +- **Improved vscode integration:** [#856](https://github.com/chentsulin/electron-react-boilerplate/pull/856) + +#### Bug Fixes + +- **Fixed hot module replacement race condition bug:** [#917](https://github.com/chentsulin/electron-react-boilerplate/pull/917) [#920](https://github.com/chentsulin/electron-react-boilerplate/pull/920) + +# 0.10.0 (2016.4.18) + +#### Improvements + +- **Use Babel in main process with Webpack build:** [#201](https://github.com/chentsulin/electron-react-boilerplate/pull/201) +- **Change targets to built-in support by webpack:** [#197](https://github.com/chentsulin/electron-react-boilerplate/pull/197) +- **use es2015 syntax for webpack configs:** [#195](https://github.com/chentsulin/electron-react-boilerplate/pull/195) +- **Open application when webcontent is loaded:** [#192](https://github.com/chentsulin/electron-react-boilerplate/pull/192) +- **Upgraded dependencies** + +#### Bug fixed + +- **Fix `npm list electron-prebuilt` in package.js:** [#188](https://github.com/chentsulin/electron-react-boilerplate/pull/188) + + +# 0.9.0 (2016.3.23) + +#### Improvements + +- **Added [redux-logger](https://github.com/fcomb/redux-logger)** +- **Upgraded [react-router-redux](https://github.com/reactjs/react-router-redux) to v4** +- **Upgraded dependencies** +- **Added `npm run dev` command:** [#162](https://github.com/chentsulin/electron-react-boilerplate/pull/162) +- **electron to v0.37.2** + +#### Breaking Changes + +- **css module as default:** [#154](https://github.com/chentsulin/electron-react-boilerplate/pull/154). +- **set default NODE_ENV to production:** [#140](https://github.com/chentsulin/electron-react-boilerplate/issues/140) + + +# 0.8.0 (2016.2.17) + +#### Bug fixed + +- **Fix lint errors** +- **Fix Webpack publicPath for production builds**: [#119](https://github.com/chentsulin/electron-react-boilerplate/issues/119). +- **package script now chooses correct OS icon extension** + +#### Improvements + +- **babel 6** +- **Upgrade Dependencies** +- **Enable CSS source maps** +- **Add json-loader**: [#128](https://github.com/chentsulin/electron-react-boilerplate/issues/128). +- **react-router 2.0 and react-router-redux 3.0** + + +# 0.7.1 (2015.12.27) + +#### Bug fixed + +- **Fixed npm script on windows 10:** [#103](https://github.com/chentsulin/electron-react-boilerplate/issues/103). +- **history and react-router version bump**: [#109](https://github.com/chentsulin/electron-react-boilerplate/issues/109), [#110](https://github.com/chentsulin/electron-react-boilerplate/pull/110). + +#### Improvements + +- **electron 0.36** + + + +# 0.7.0 (2015.12.16) + +#### Bug fixed + +- **Fixed process.env.NODE_ENV variable in webpack:** [#74](https://github.com/chentsulin/electron-react-boilerplate/pull/74). +- **add missing object-assign**: [#76](https://github.com/chentsulin/electron-react-boilerplate/pull/76). +- **packaging in npm@3:** [#77](https://github.com/chentsulin/electron-react-boilerplate/pull/77). +- **compatibility in windows:** [#100](https://github.com/chentsulin/electron-react-boilerplate/pull/100). +- **disable chrome debugger in production env:** [#102](https://github.com/chentsulin/electron-react-boilerplate/pull/102). + +#### Improvements + +- **redux** +- **css-modules** +- **upgrade to react-router 1.x** +- **unit tests** +- **e2e tests** +- **travis-ci** +- **upgrade to electron 0.35.x** +- **use es2015** +- **check dev engine for node and npm** + + +# 0.6.5 (2015.11.7) + +#### Improvements + +- **Bump style-loader to 0.13** +- **Bump css-loader to 0.22** + + +# 0.6.4 (2015.10.27) + +#### Improvements + +- **Bump electron-debug to 0.3** + + +# 0.6.3 (2015.10.26) + +#### Improvements + +- **Initialize ExtractTextPlugin once:** [#64](https://github.com/chentsulin/electron-react-boilerplate/issues/64). + + +# 0.6.2 (2015.10.18) + +#### Bug fixed + +- **Babel plugins production env not be set properly:** [#57](https://github.com/chentsulin/electron-react-boilerplate/issues/57). + + +# 0.6.1 (2015.10.17) + +#### Improvements + +- **Bump electron to v0.34.0** + + +# 0.6.0 (2015.10.16) + +#### Breaking Changes + +- **From react-hot-loader to react-transform** + + +# 0.5.2 (2015.10.15) + +#### Improvements + +- **Run tests with babel-register:** [#29](https://github.com/chentsulin/electron-react-boilerplate/issues/29). + + +# 0.5.1 (2015.10.12) + +#### Bug fixed + +- **Fix #51:** use `path.join(__dirname` instead of `./`. + + +# 0.5.0 (2015.10.11) + +#### Improvements + +- **Simplify webpack config** see [#50](https://github.com/chentsulin/electron-react-boilerplate/pull/50). + +#### Breaking Changes + +- **webpack configs** +- **port changed:** changed default port from 2992 to 3000. +- **npm scripts:** remove `start-dev` and `dev-server`. rename `hot-dev-server` to `hot-server`. + + +# 0.4.3 (2015.9.22) + +#### Bug fixed + +- **Fix #45 zeromq crash:** bump version of `electron-prebuilt`. + + +# 0.4.2 (2015.9.15) + +#### Bug fixed + +- **run start-hot breaks chrome refresh(CTRL+R) (#42)**: bump `electron-debug` to `0.2.1` + + +# 0.4.1 (2015.9.11) + +#### Improvements + +- **use electron-prebuilt version for packaging (#33)** + + +# 0.4.0 (2015.9.5) + +#### Improvements + +- **update dependencies** + + +# 0.3.0 (2015.8.31) + +#### Improvements + +- **eslint-config-airbnb** + + +# 0.2.10 (2015.8.27) + +#### Features + +- **custom placeholder icon** + +#### Improvements + +- **electron-renderer as target:** via [webpack-target-electron-renderer](https://github.com/chentsulin/webpack-target-electron-renderer) + + +# 0.2.9 (2015.8.18) + +#### Bug fixed + +- **Fix hot-reload** + + +# 0.2.8 (2015.8.13) + +#### Improvements + +- **bump electron-debug** +- **babelrc** +- **organize webpack scripts** + + +# 0.2.7 (2015.7.9) + +#### Bug fixed + +- **defaultProps:** fix typos. + + +# 0.2.6 (2015.7.3) + +#### Features + +- **menu** + +#### Bug fixed + +- **package.js:** include webpack build. + + +# 0.2.5 (2015.7.1) + +#### Features + +- **NPM Script:** support multi-platform +- **package:** `--all` option + + +# 0.2.4 (2015.6.9) + +#### Bug fixed + +- **Eslint:** typo, [#17](https://github.com/chentsulin/electron-react-boilerplate/issues/17) and improve `.eslintrc` + + +# 0.2.3 (2015.6.3) + +#### Features + +- **Package Version:** use latest release electron version as default +- **Ignore Large peerDependencies** + +#### Bug fixed + +- **Npm Script:** typo, [#6](https://github.com/chentsulin/electron-react-boilerplate/pull/6) +- **Missing css:** [#7](https://github.com/chentsulin/electron-react-boilerplate/pull/7) + + +# 0.2.2 (2015.6.2) + +#### Features + +- **electron-debug** + +#### Bug fixed + +- **Webpack:** add `.json` and `.node` to extensions for imitating node require. +- **Webpack:** set `node_modules` to externals for native module support. + + +# 0.2.1 (2015.5.30) + +#### Bug fixed + +- **Webpack:** #1, change build target to `atom`. + + +# 0.2.0 (2015.5.30) + +#### Features + +- **Ignore:** `test`, `tools`, `release` folder and devDependencies in `package.json`. +- **Support asar** +- **Support icon** + + +# 0.1.0 (2015.5.27) + +#### Features + +- **Webpack:** babel, react-hot, ... +- **Flux:** actions, api, components, containers, stores.. +- **Package:** darwin (osx), linux and win32 (windows) platform. diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..8792bc4e --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015-present C. T. Lin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/README.md b/README.md index c9e7e849..c33acf32 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,123 @@ # BrainWaves -An easy-to-use platform for EEG experimentation in the classroom + +### An easy-to-use platform for EEG experimentation in the classroom + +
+ +## Install + +* **Note: requires a node version >= 7 and an npm version >= 4.** +* **If you have installation or compilation issues with this project, please see [our debugging guide](https://github.com/chentsulin/electron-react-boilerplate/issues/400)** + +First, clone the repo via git: + +```bash +git clone --depth=1 https://github.com/makebrainwaves/BrainWaves.git +``` + +And then install dependencies with yarn. + +```bash +$ cd BrainWaves +$ yarn +``` +**Note**: If you can't use [yarn](https://github.com/yarnpkg/yarn), run `npm install`. + +## Run + +Start the app in the `dev` environment. This starts the renderer process in [**hot-module-replacement**](https://webpack.js.org/guides/hmr-react/) mode and starts a webpack dev server that sends hot updates to the renderer process: + +```bash +$ npm run dev +``` + +Alternatively, you can run the renderer and main processes separately. This way, you can restart one process without waiting for the other. Run these two commands **simultaneously** in different console tabs: + +```bash +$ npm run start-renderer-dev +$ npm run start-main-dev +``` + +## Packaging + +To package apps for the local platform: + +```bash +$ npm run package +``` + +To package apps for all platforms: + +First, refer to [Multi Platform Build](https://www.electron.build/multi-platform-build) for dependencies. + +Then, +```bash +$ npm run package-all +``` + +To package apps with options: + +```bash +$ npm run package -- --[option] +``` + +To run End-to-End Test + +```bash +$ npm run build +$ npm run test-e2e +``` + +:bulb: You can debug your production build with devtools by simply setting the `DEBUG_PROD` env variable: +```bash +DEBUG_PROD=true npm run package +``` + +## How to add modules to the project + +You will need to add other modules to this boilerplate, depending on the requirements of your project. For example, you may want to add [node-postgres](https://github.com/brianc/node-postgres) to communicate with PostgreSQL database, or +[material-ui](http://www.material-ui.com/) to reuse react UI components. + +⚠️ Please read the following section before installing any dependencies ⚠️ + +### Module Structure + +This boilerplate uses a [two package.json structure](https://github.com/electron-userland/electron-builder/wiki/Two-package.json-Structure). This means, you will have two `package.json` files. + +1. `./package.json` in the root of your project +1. `./app/package.json` inside `app` folder + +### Which `package.json` file to use + +**Rule of thumb** is: all modules go into `./package.json` except native modules. Native modules go into `./app/package.json`. + +1. If the module is native to a platform (like node-postgres), it should be listed under `dependencies` in `./app/package.json` +2. If a module is `import`ed by another module, include it in `dependencies` in `./package.json`. See [this ESLint rule](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md). Examples of such modules are `material-ui`, `redux-form`, and `moment`. +3. Otherwise, modules used for building, testing and debugging should be included in `devDependencies` in `./package.json`. + +### Further Readings + +See the wiki page, [Module Structure — Two package.json Structure](https://github.com/chentsulin/electron-react-boilerplate/wiki/Module-Structure----Two-package.json-Structure) to understand what is native module, the rationale behind two package.json structure and more. + +For an example app that uses this boilerplate and packages native dependencies, see [erb-sqlite-example](https://github.com/amilajack/erb-sqlite-example). + +## Static Type Checking +This project comes with Flow support out of the box! You can annotate your code with types, [get Flow errors as ESLint errors](https://github.com/amilajack/eslint-plugin-flowtype-errors), and get [type errors during runtime](https://github.com/codemix/flow-runtime) during development. Types are completely optional. + +## Dispatching redux actions from main process + +See [#118](https://github.com/chentsulin/electron-react-boilerplate/issues/118) and [#108](https://github.com/chentsulin/electron-react-boilerplate/issues/108) + +## How to keep your project updated with the boilerplate + +If your application is a fork from this repo, you can add this repo to another git remote: + +```sh +git remote add upstream https://github.com/chentsulin/electron-react-boilerplate.git +``` + +Then, use git to merge some latest commits: + +```sh +git pull upstream master +``` diff --git a/app/.eslintrc b/app/.eslintrc new file mode 100644 index 00000000..0cbfa49e --- /dev/null +++ b/app/.eslintrc @@ -0,0 +1,22 @@ +{ + "rules": { + "flowtype/boolean-style": ["error", "boolean"], + "flowtype/define-flow-type": "warn", + "flowtype/delimiter-dangle": ["error", "never"], + "flowtype/generic-spacing": ["error", "never"], + "flowtype/no-primitive-constructor-types": "error", + "flowtype/no-weak-types": "warn", + "flowtype/object-type-delimiter": ["error", "comma"], + "flowtype/require-parameter-type": "off", + "flowtype/require-return-type": "off", + "flowtype/require-valid-file-annotation": "off", + "flowtype/semi": ["error", "always"], + "flowtype/space-after-type-colon": ["error", "always"], + "flowtype/space-before-generic-bracket": ["error", "never"], + "flowtype/space-before-type-colon": ["error", "never"], + "flowtype/union-intersection-spacing": ["error", "always"], + "flowtype/use-flow-type": "error", + "flowtype/valid-syntax": "error", + "linebreak-style": 0 + } +} diff --git a/app/actions/counter.js b/app/actions/counter.js new file mode 100644 index 00000000..f22630b5 --- /dev/null +++ b/app/actions/counter.js @@ -0,0 +1,44 @@ +// @flow +import type { counterStateType } from '../reducers/counter'; + +type actionType = { + +type: string +}; + +export const INCREMENT_COUNTER = 'INCREMENT_COUNTER'; +export const DECREMENT_COUNTER = 'DECREMENT_COUNTER'; + +export function increment() { + return { + type: INCREMENT_COUNTER + }; +} + +export function decrement() { + return { + type: DECREMENT_COUNTER + }; +} + +export function incrementIfOdd() { + return ( + dispatch: (action: actionType) => void, + getState: () => counterStateType + ) => { + const { counter } = getState(); + + if (counter % 2 === 0) { + return; + } + + dispatch(increment()); + }; +} + +export function incrementAsync(delay: number = 1000) { + return (dispatch: (action: actionType) => void) => { + setTimeout(() => { + dispatch(increment()); + }, delay); + }; +} diff --git a/app/actions/jupyter.js b/app/actions/jupyter.js new file mode 100644 index 00000000..4589108b --- /dev/null +++ b/app/actions/jupyter.js @@ -0,0 +1,15 @@ +export const LAUNCH_KERNEL = "LAUNCH_KERNEL"; +export const REQUEST_KERNEL_INFO = "REQUEST_KERNEL_INFO"; +export const SEND_EXECUTE_REQUEST = "SEND_EXECUTE_REQUEST"; +export const CLOSE_KERNEL = "CLOSE_KERNEL"; + +export const launchKernel = () => ({ type: LAUNCH_KERNEL }); + +export const requestKernelInfo = () => ({ type: REQUEST_KERNEL_INFO }); + +export const sendExecuteRequest = (payload: string) => ({ + payload, + type: SEND_EXECUTE_REQUEST +}); + +export const closeKernel = () => ({ type: CLOSE_KERNEL }); diff --git a/app/app.global.css b/app/app.global.css new file mode 100644 index 00000000..8ed3644b --- /dev/null +++ b/app/app.global.css @@ -0,0 +1,44 @@ +/* + * @NOTE: Prepend a `~` to css file paths that are in your node_modules + * See https://github.com/webpack-contrib/sass-loader#imports + */ +@import "~font-awesome/css/font-awesome.css"; +@import '~semantic-ui-css/semantic.min.css'; + +body { + position: relative; + color: white; + height: 100vh; + background-color: #232c39; + background-image: linear-gradient(45deg, rgba(0, 216, 255, 0.5) 10%, rgba(0, 1, 127, 0.7)); + font-family: Lato, Helvetica Neue, serif; + overflow-y: hidden; +} + +h2 { + margin: 0; + font-size: 2.25rem; + font-weight: bold; + letter-spacing: -0.025em; + color: #fff; +} + +p { + font-size: 24px; +} + +li { + list-style: none; +} + +a { + color: white; + opacity: 0.75; + text-decoration: none; +} + +a:hover { + opacity: 1; + text-decoration: none; + cursor: pointer; +} diff --git a/app/app.html b/app/app.html new file mode 100644 index 00000000..dbecb645 --- /dev/null +++ b/app/app.html @@ -0,0 +1,51 @@ + + + + + + BrainWaves + + + + +
+ + + + \ No newline at end of file diff --git a/app/app.icns b/app/app.icns new file mode 100644 index 00000000..4f3cbbaf Binary files /dev/null and b/app/app.icns differ diff --git a/app/components/Counter.css b/app/components/Counter.css new file mode 100644 index 00000000..2f718f79 --- /dev/null +++ b/app/components/Counter.css @@ -0,0 +1,37 @@ +.backButton { + position: absolute; +} + +.counter { + position: absolute; + top: 30%; + left: 45%; + font-size: 10rem; + font-weight: bold; + letter-spacing: -0.025em; +} + +.btnGroup { + position: relative; + top: 500px; + width: 480px; + margin: 0 auto; +} + +.btn { + font-size: 1.6rem; + font-weight: bold; + background-color: #fff; + border-radius: 50%; + margin: 10px; + width: 100px; + height: 100px; + opacity: 0.7; + cursor: pointer; + font-family: Arial, Helvetica, Helvetica Neue; +} + +.btn:hover { + color: white; + background-color: rgba(0, 0, 0, 0.5); +} diff --git a/app/components/Counter.js b/app/components/Counter.js new file mode 100644 index 00000000..4e4f0f3b --- /dev/null +++ b/app/components/Counter.js @@ -0,0 +1,60 @@ +// @flow +import React, { Component } from 'react'; +import { Link } from 'react-router-dom'; +import styles from './Counter.css'; + +type Props = { + increment: () => void, + incrementIfOdd: () => void, + incrementAsync: () => void, + decrement: () => void, + counter: number +}; + +export default class Counter extends Component { + props: Props; + + render() { + const { + increment, + incrementIfOdd, + incrementAsync, + decrement, + counter + } = this.props; + return ( +
+
+ + + +
+
+ {counter} +
+
+ + + + +
+
+ ); + } +} diff --git a/app/components/Home.css b/app/components/Home.css new file mode 100644 index 00000000..978a02aa --- /dev/null +++ b/app/components/Home.css @@ -0,0 +1,14 @@ +.container { + position: absolute; + top: 30%; + left: 10px; + text-align: center; +} + +.container h2 { + font-size: 5rem; +} + +.container a { + font-size: 1.4rem; +} diff --git a/app/components/Home.js b/app/components/Home.js new file mode 100644 index 00000000..ed18cb1b --- /dev/null +++ b/app/components/Home.js @@ -0,0 +1,52 @@ +// @flow +import React, { Component } from "react"; +import { Link } from "react-router-dom"; +import { Grid, Button } from "semantic-ui-react"; +import styles from "./Home.css"; +import { createStream } from "../utils/emotiv"; + +type Props = { + jupyterActions: Object +}; + +export default class Home extends Component { + props: Props; + + render() { + return ( +
+
+

Home

+ to Counter + + + + + + + + + + + +
+
+ ); + } +} diff --git a/app/containers/App.js b/app/containers/App.js new file mode 100644 index 00000000..0a5c924d --- /dev/null +++ b/app/containers/App.js @@ -0,0 +1,14 @@ +// @flow +import * as React from 'react'; + +type Props = { + children: React.Node +}; + +export default class App extends React.Component { + props: Props; + + render() { + return
{this.props.children}
; + } +} diff --git a/app/containers/CounterPage.js b/app/containers/CounterPage.js new file mode 100644 index 00000000..91e70318 --- /dev/null +++ b/app/containers/CounterPage.js @@ -0,0 +1,16 @@ +import { bindActionCreators } from 'redux'; +import { connect } from 'react-redux'; +import Counter from '../components/Counter'; +import * as CounterActions from '../actions/counter'; + +function mapStateToProps(state) { + return { + counter: state.counter + }; +} + +function mapDispatchToProps(dispatch) { + return bindActionCreators(CounterActions, dispatch); +} + +export default connect(mapStateToProps, mapDispatchToProps)(Counter); diff --git a/app/containers/HomePage.js b/app/containers/HomePage.js new file mode 100644 index 00000000..3feacca4 --- /dev/null +++ b/app/containers/HomePage.js @@ -0,0 +1,19 @@ +// @flow +import { connect } from "react-redux"; +import { bindActionCreators } from "redux"; +import Home from "../components/Home"; +import * as counterActions from "../actions/counter"; +import * as jupyterActions from "../actions/jupyter"; + +function mapStateToProps(state) { + return {}; +} + +function mapDispatchToProps(dispatch) { + return { + counterActions: bindActionCreators(counterActions, dispatch), + jupyterActions: bindActionCreators(jupyterActions, dispatch) + }; +} + +export default connect(mapStateToProps, mapDispatchToProps)(Home); diff --git a/app/containers/Root.js b/app/containers/Root.js new file mode 100644 index 00000000..25760c97 --- /dev/null +++ b/app/containers/Root.js @@ -0,0 +1,22 @@ +// @flow +import React, { Component } from "react"; +import { Provider } from "react-redux"; +import { ConnectedRouter } from "react-router-redux"; +import Routes from "../routes"; + +type Props = { + store: {}, + history: {} +}; + +export default class Root extends Component { + render() { + return ( + + + + + + ); + } +} diff --git a/app/dist/674f50d287a8c48dc19ba404d20fe713.eot b/app/dist/674f50d287a8c48dc19ba404d20fe713.eot new file mode 100644 index 00000000..e9f60ca9 Binary files /dev/null and b/app/dist/674f50d287a8c48dc19ba404d20fe713.eot differ diff --git a/app/dist/912ec66d7572ff821749319396470bde.svg b/app/dist/912ec66d7572ff821749319396470bde.svg new file mode 100644 index 00000000..855c845e --- /dev/null +++ b/app/dist/912ec66d7572ff821749319396470bde.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/dist/af7ae505a9eed503f8b8e6982036873e.woff2 b/app/dist/af7ae505a9eed503f8b8e6982036873e.woff2 new file mode 100644 index 00000000..4d13fc60 Binary files /dev/null and b/app/dist/af7ae505a9eed503f8b8e6982036873e.woff2 differ diff --git a/app/dist/b06871f281fee6b241d60582ae9369b9.ttf b/app/dist/b06871f281fee6b241d60582ae9369b9.ttf new file mode 100644 index 00000000..35acda2f Binary files /dev/null and b/app/dist/b06871f281fee6b241d60582ae9369b9.ttf differ diff --git a/app/dist/fee66e712a8a08eef5805a46892932ad.woff b/app/dist/fee66e712a8a08eef5805a46892932ad.woff new file mode 100644 index 00000000..400014a4 Binary files /dev/null and b/app/dist/fee66e712a8a08eef5805a46892932ad.woff differ diff --git a/app/dist/renderer.prod.js b/app/dist/renderer.prod.js new file mode 100644 index 00000000..7c302a31 --- /dev/null +++ b/app/dist/renderer.prod.js @@ -0,0 +1,2 @@ +module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./dist/",n(n.s="./app/index.js")}({"./app/actions/counter.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.increment=i,t.decrement=function(){return{type:o}},t.incrementIfOdd=function(){return(e,t)=>{const{counter:n}=t();n%2!=0&&e(i())}},t.incrementAsync=function(e=1e3){return t=>{setTimeout(()=>{t(i())},e)}};const r=t.INCREMENT_COUNTER="INCREMENT_COUNTER",o=t.DECREMENT_COUNTER="DECREMENT_COUNTER";function i(){return{type:r}}},"./app/app.global.css":function(e,t){},"./app/components/Counter.css":function(e,t){e.exports={backButton:"Counter__backButton__4lvfc",counter:"Counter__counter__2BpKs",btnGroup:"Counter__btnGroup__1f4Se",btn:"Counter__btn__2T2tb"}},"./app/components/Counter.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,n,o){var i=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={}),t&&i)for(var s in i)void 0===t[s]&&(t[s]=i[s]);else t||(t=i||{});if(1===a)t.children=o;else if(a>1){for(var l=Array(a),u=0;un(),"data-tclass":"btn"},void 0,"async")))}},e.exports=t.default},"./app/components/Home.css":function(e,t){e.exports={container:"Home__container__1sK25"}},"./app/components/Home.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,n,o){var i=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={}),t&&i)for(var s in i)void 0===t[s]&&(t[s]=i[s]);else t||(t=i||{});if(1===a)t.children=o;else if(a>1){for(var l=Array(a),u=0;u1){for(var l=Array(a),u=0;u1){for(var l=Array(a),u=0;u1){for(var l=Array(a),u=0;u1){for(var l=Array(a),u=0;u1){for(var l=Array(a),u=0;uc),e.exports=t.default},"./app/store/configureStore.js":function(e,t,n){"use strict";e.exports=n("./app/store/configureStore.prod.js")},"./app/store/configureStore.prod.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/redux/es/index.js"),o=l(n("./node_modules/redux-thunk/lib/index.js")),i=n("./node_modules/history/es/index.js"),a=n("./node_modules/react-router-redux/es/index.js"),s=l(n("./app/reducers/index.js"));function l(e){return e&&e.__esModule?e:{default:e}}const u=(0,i.createBrowserHistory)(),c=(0,a.routerMiddleware)(u),d=(0,r.applyMiddleware)(o.default,c);t.default={configureStore:function(e){return(0,r.createStore)(s.default,e,d)},history:u},e.exports=t.default},"./node_modules/@nteract/commutable/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createImmutableMimeBundle=t.createImmutableOutput=t.appendCellToNotebook=t.appendCell=t.removeCell=t.insertCellAfter=t.insertCellAt=t.stringifyNotebook=t.parseNotebook=t.createCodeCell=t.fromJS=t.toJS=t.monocellNotebook=t.emptyNotebook=t.emptyMarkdownCell=t.emptyCodeCell=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));var i=n("./node_modules/@nteract/commutable/lib/v4.js"),a=n("./node_modules/@nteract/commutable/lib/v3.js"),s=n("./node_modules/@nteract/commutable/lib/structures.js"),l=s.emptyNotebook,u=s.emptyCodeCell,c=s.emptyMarkdownCell,d=s.appendCell,p=s.monocellNotebook,f=s.createCodeCell,h=s.appendCellToNotebook,m=s.insertCellAt,b=s.insertCellAfter,g=s.removeCell;function y(e,t){return Object.freeze(t)}var v=i.createImmutableOutput,_=i.createImmutableMimeBundle;t.emptyCodeCell=u,t.emptyMarkdownCell=c,t.emptyNotebook=l,t.monocellNotebook=p,t.toJS=function(e){var t=e.get("nbformat_minor",null);if(4===e.get("nbformat")&&"number"==typeof t&&t>=0)return i.toJS(e);throw new TypeError("Only notebook formats 3 and 4 are supported!")},t.fromJS=function(e){if(o.Map.isMap(e)){var t=e;if(t.has("cellOrder")&&t.has("cellMap"))return t;throw new TypeError("commutable was passed an Immutable.Map structure that is not a notebook")}var n=e;if(4===n.nbformat&&n.nbformat_minor>=0){if(Array.isArray(n.cells)&&"object"===r(n.metadata))return i.fromJS(n)}else if(3===n.nbformat&&n.nbformat_minor>=0)return a.fromJS(n);if(n.nbformat)throw new TypeError("nbformat v"+n.nbformat+"."+n.nbformat_minor+" not recognized");throw new TypeError("This notebook format is not supported")},t.createCodeCell=f,t.parseNotebook=function(e){return JSON.parse(e,y)},t.stringifyNotebook=function(e){return JSON.stringify(e,null,2)},t.insertCellAt=m,t.insertCellAfter=b,t.removeCell=g,t.appendCell=d,t.appendCellToNotebook=h,t.createImmutableOutput=v,t.createImmutableMimeBundle=_},"./node_modules/@nteract/commutable/lib/structures.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCodeCell=s,t.createMarkdownCell=l,t.createNotebook=d,t.appendCell=f,t.appendCellToNotebook=h,t.insertCellAt=m,t.insertCellAfter=function(e,t,n,r){return m(e,t,n,e.get("cellOrder").indexOf(r)+1)},t.removeCell=function(e,t){return e.removeIn(["cellMap",t]).update("cellOrder",function(e){return e.filterNot(function(e){return e===t})})};var r=n("./node_modules/uuid/index.js").v4,o=n("./node_modules/immutable/dist/immutable.es.js"),i=Object.freeze({cell_type:"code",execution_count:null,metadata:o.Map({collapsed:!1,outputHidden:!1,inputHidden:!1}),source:"",outputs:o.List()}),a=Object.freeze({cell_type:"markdown",metadata:o.Map(),source:""});function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return o.Map(e)}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return o.Map(e)}var u=t.emptyCodeCell=s(),c=(t.emptyMarkdownCell=l(),t.defaultNotebook=Object.freeze({nbformat:4,nbformat_minor:4,metadata:new o.Map,cellOrder:new o.List,cellMap:new o.Map}));function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return o.Map(e)}var p=t.emptyNotebook=d();function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r();return{cellOrder:e.cellOrder.push(n),cellMap:e.cellMap.set(n,t)}}function h(e,t){return e.withMutations(function(e){var n=f({cellOrder:e.get("cellOrder"),cellMap:e.get("cellMap")},t),r=n.cellOrder,o=n.cellMap;return e.set("cellOrder",r).set("cellMap",o)})}function m(e,t,n,r){return e.withMutations(function(e){return e.setIn(["cellMap",n],t).set("cellOrder",e.get("cellOrder").insert(r,n))})}t.monocellNotebook=h(p,u)},"./node_modules/@nteract/commutable/lib/v3.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromJS=function(e){if(3!==e.nbformat||e.nbformat_minor<0)throw new TypeError("Notebook is not a valid v3 notebook. v3 notebooks must be of form 3.x\n It lists nbformat v"+e.nbformat+"."+e.nbformat_minor);var t={cellOrder:o.List().asMutable(),cellMap:o.Map().asMutable()},n=[].concat.apply([],e.worksheets.map(function(e){return e.cells.reduce(function(e,t){return i(e,function(e){switch(e.cell_type){case"markdown":return function(e){return new o.Map({cell_type:e.cell_type,source:a(e.source),metadata:o.fromJS(e.metadata)})}(e);case"code":return function(e){return new o.Map({cell_type:e.cell_type,source:a(e.input),outputs:new o.List(e.outputs.map(u)),execution_count:e.prompt_number,metadata:o.fromJS(e.metadata)})}(e);case"raw":return function(e){return new o.Map({cell_type:e.cell_type,source:a(e.source),metadata:o.fromJS(e.metadata)})}(e);case"heading":return function(e){return new o.Map({cell_type:"markdown",source:Array.isArray(e.source)?a(e.source.map(function(t){return Array(e.level).join("#").concat(" ").concat(t)})):e.source,metadata:o.fromJS(e.metadata)})}(e);default:throw new TypeError("Cell type "+e.cell_type+" unknown")}}(t))},t)}))[0];return o.Map({cellOrder:n.cellOrder.asImmutable(),cellMap:n.cellMap.asImmutable(),nbformat_minor:e.nbformat_minor,nbformat:4,metadata:o.fromJS(e.metadata)})};var r=n("./node_modules/@nteract/commutable/lib/v4.js"),o=n("./node_modules/immutable/dist/immutable.es.js"),i=n("./node_modules/@nteract/commutable/lib/structures.js").appendCell;function a(e){return Array.isArray(e)?e.join(""):e}function s(e){var t={text:"text/plain",latex:"text/latex",png:"image/png",jpeg:"image/jpeg",svg:"image/svg+xml",html:"text/html",javascript:"application/x-javascript",json:"application/javascript",pdf:"application/pdf",metadata:"",prompt_number:"",output_type:""},n={};return Object.keys(e).map(function(r){"prompt_number"===r&&"metadata"===r&&"output_type"===r||(n[t[r]]=e[r])}),Object.keys(n).reduce(r.cleanMimeAtKey.bind(null,n),o.Map())}function l(e){return e.metadata?{metadata:o.fromJS(e.metadata)}:{}}function u(e){switch(e.output_type){case"pyout":return o.Map(Object.assign({},{output_type:e.output_type,execution_count:e.prompt_number,data:s(e)},l(e)));case"display_data":return o.Map(Object.assign({},{output_type:e.output_type,data:s(e)},l(e)));case"stream":return o.Map({output_type:e.output_type,name:e.stream,text:a(e.text)});case"pyerr":return o.Map({output_type:"error",ename:e.ename,evalue:e.evalue,traceback:o.List(e.traceback)});default:throw new TypeError("Output type "+e.output_type+" not recognized")}}},"./node_modules/@nteract/commutable/lib/v4.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cleanMimeData=l,t.cleanMimeAtKey=u,t.createImmutableMimeBundle=c,t.createImmutableOutput=p,t.fromJS=function(e){if(4!==e.nbformat||e.nbformat_minor<0)throw new TypeError("Notebook is not a valid v4 notebook. v4 notebooks must be of form 4.x\n It lists nbformat v"+e.nbformat+"."+e.nbformat_minor);var t={cellOrder:r.List().asMutable(),cellMap:r.Map().asMutable()},n=e.cells.reduce(function(e,t){return o(e,function(e){switch(e.cell_type){case"markdown":return function(e){return new r.Map({cell_type:e.cell_type,source:i(e.source),metadata:f(e.metadata)})}(e);case"code":return function(e){return new r.Map({cell_type:e.cell_type,source:i(e.source),outputs:new r.List(e.outputs.map(p)),execution_count:e.execution_count,metadata:f(e.metadata)})}(e);case"raw":return function(e){return new r.Map({cell_type:e.cell_type,source:i(e.source),metadata:f(e.metadata)})}(e);default:throw new TypeError("Cell type "+e.cell_type+" unknown")}}(t))},t);return r.Map({cellOrder:n.cellOrder.asImmutable(),cellMap:n.cellMap.asImmutable(),nbformat_minor:e.nbformat_minor,nbformat:4,metadata:r.fromJS(e.metadata)})},t.toJS=function(e){var t=e.toObject(),n=t.cellOrder.toArray(),o=t.cellMap.toObject();return{cells:n.map(function(e){return function(e){var t=e.get("cell_type");switch(t){case"markdown":return function(e){return{cell_type:"markdown",source:a(e.get("source","")),metadata:h(e.get("metadata",r.Map()))}}(e);case"code":return function(e){var t=e.toObject();return{cell_type:"code",source:a(t.source),outputs:t.outputs.map(b).toArray(),execution_count:t.execution_count,metadata:h(e.get("metadata",r.Map()))}}(e);case"raw":return function(e){return{cell_type:"raw",source:a(e.toObject().source),metadata:h(e.get("metadata",r.Map()))}}(e);default:throw new TypeError("Cell type "+t+" unknown")}}(o[e])}),metadata:t.metadata.toJS(),nbformat:t.nbformat,nbformat_minor:t.nbformat_minor}};var r=n("./node_modules/immutable/dist/immutable.es.js"),o=n("./node_modules/@nteract/commutable/lib/structures.js").appendCell;function i(e){return Array.isArray(e)?e.join(""):e}function a(e){return Array.isArray(e)?e:e.split(/(.+?(?:\r\n|\n))/g).filter(function(e){return""!==e})}function s(e){return/^application\/(.*\+)?json$/.test(e)}function l(e,t){if(s(e))return t;if("string"==typeof t||Array.isArray(t))return i(t);throw new TypeError("Data for "+e+" is expected to be a string or an Array of strings")}function u(e,t,n){return t.set(n,l(n,e[n]))}function c(e){return Object.keys(e).reduce(u.bind(null,e),r.Map())}function d(e){return e.metadata?{metadata:r.fromJS(e.metadata)}:{}}function p(e){switch(e.output_type){case"execute_result":return r.Map(Object.assign({},{output_type:e.output_type,execution_count:e.execution_count,data:c(e.data)},d(e)));case"display_data":return r.Map(Object.assign({},{output_type:e.output_type,data:c(e.data)},d(e)));case"stream":return r.Map({output_type:e.output_type,name:e.name,text:i(e.text)});case"error":return r.Map({output_type:"error",ename:e.ename,evalue:e.evalue,traceback:r.List(e.traceback)});default:throw new TypeError("Output type "+e.output_type+" not recognized")}}function f(e){return r.Map(e).map(function(e,t){return"tags"!==t?e:Array.isArray(e)?r.Set(e):r.Set()})}function h(e){return e.toJS()}function m(e){var t=e.toObject();return Object.keys(t).map(function(e){if(s(e))return r.Map.isMap(t[e])&&(t[e]=t[e].toJS()),t;var n=t[e];if("string"==typeof n||Array.isArray(n))return t[e]=a(n),t;throw new TypeError("Data for "+e+" is expected to be a string or an Array of strings")}),t}function b(e){var t=e.toObject();switch(t.output_type){case"execute_result":return{output_type:t.output_type,execution_count:t.execution_count,data:m(t.data),metadata:t.metadata.toJS()};case"display_data":return{output_type:t.output_type,data:m(t.data),metadata:t.metadata.toJS()};case"stream":return{output_type:t.output_type,name:t.name,text:a(t.text)};case"error":return e.toJS();default:throw new TypeError("Output type "+t.output_type+" not recognized")}}},"./node_modules/@nteract/core/lib/actionTypes.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.OPEN_MODAL="CORE/OPEN_MODAL",t.CLOSE_MODAL="CORE/CLOSE_MODAL",t.ADD_HOST="CORE/ADD_HOST",t.FETCH_CONTENT="CORE/FETCH_CONTENT",t.FETCH_CONTENT_FULFILLED="CORE/FETCH_CONTENT_FULFILLED",t.FETCH_CONTENT_FAILED="CORE/FETCH_CONTENT_FAILED",t.FETCH_KERNELSPECS="CORE/FETCH_KERNELSPECS",t.FETCH_KERNELSPECS_FULFILLED="CORE/FETCH_KERNELSPECS_FULFILLED",t.FETCH_KERNELSPECS_FAILED="CORE/FETCH_KERNELSPECS_FAILED",t.CHANGE_FILENAME="CHANGE_FILENAME",t.TOGGLE_TAG_IN_CELL="CORE/TOGGLE_TAG_IN_CELL",t.SET_IN_CELL="SET_IN_CELL",t.MOVE_CELL="MOVE_CELL",t.REMOVE_CELL="REMOVE_CELL",t.CREATE_CELL_AFTER="CREATE_CELL_AFTER",t.CREATE_CELL_BEFORE="CREATE_CELL_BEFORE",t.CREATE_CELL_APPEND="CREATE_CELL_APPEND",t.MERGE_CELL_AFTER="MERGE_CELL_AFTER",t.APPEND_OUTPUT="APPEND_OUTPUT",t.UPDATE_DISPLAY="UPDATE_DISPLAY",t.UPDATE_DISPLAY_FAILED="UPDATE_DISPLAY_FAILED",t.UNHIDE_ALL="UNHIDE_ALL",t.TOGGLE_CELL_OUTPUT_VISIBILITY="TOGGLE_CELL_OUTPUT_VISIBILITY",t.TOGGLE_CELL_INPUT_VISIBILITY="TOGGLE_CELL_INPUT_VISIBILITY",t.CLEAR_OUTPUTS="CLEAR_OUTPUTS",t.CLEAR_ALL_OUTPUTS="CLEAR_ALL_OUTPUTS",t.ACCEPT_PAYLOAD_MESSAGE="ACCEPT_PAYLOAD_MESSAGE",t.SET_KERNEL_INFO="CORE/SET_KERNEL_INFO",t.SET_LANGUAGE_INFO="SET_LANGUAGE_INFO",t.SEND_EXECUTE_REQUEST="SEND_EXECUTE_REQUEST",t.EXECUTE_CELL="EXECUTE_CELL",t.EXECUTE_ALL_CELLS="EXECUTE_ALL_CELLS",t.EXECUTE_ALL_CELLS_BELOW="EXECUTE_ALL_CELLS_BELOW",t.EXECUTE_FOCUSED_CELL="EXECUTE_FOCUSED_CELL",t.EXECUTE_CANCELED="EXECUTE_CANCELED",t.EXECUTE_FAILED="EXECUTE_FAILED",t.FOCUS_CELL="FOCUS_CELL",t.FOCUS_NEXT_CELL="FOCUS_NEXT_CELL",t.FOCUS_PREVIOUS_CELL="FOCUS_PREVIOUS_CELL",t.FOCUS_CELL_EDITOR="FOCUS_CELL_EDITOR",t.FOCUS_NEXT_CELL_EDITOR="FOCUS_NEXT_CELL_EDITOR",t.FOCUS_PREVIOUS_CELL_EDITOR="FOCUS_PREVIOUS_CELL_EDITOR",t.SET_KERNELSPEC_INFO="SET_KERNELSPEC_INFO",t.OVERWRITE_METADATA_FIELD="OVERWRITE_METADATA_FIELD",t.DELETE_METADATA_FIELD="DELETE_METADATA_FIELD",t.UPDATE_CELL_STATUS="UPDATE_CELL_STATUS",t.REGISTER_COMM_TARGET="REGISTER_COMM_TARGET",t.COMM_OPEN="COMM_OPEN",t.COMM_MESSAGE="COMM_MESSAGE",t.SET_CONFIG_AT_KEY="SET_CONFIG_AT_KEY",t.MERGE_CONFIG="MERGE_CONFIG",t.LOAD_CONFIG="LOAD_CONFIG",t.SAVE_CONFIG="SAVE_CONFIG",t.DONE_SAVING_CONFIG="DONE_SAVING_CONFIG",t.TOGGLE_OUTPUT_EXPANSION="TOGGLE_OUTPUT_EXPANSION",t.CUT_CELL="CUT_CELL",t.COPY_CELL="COPY_CELL",t.PASTE_CELL="PASTE_CELL",t.CHANGE_CELL_TYPE="CHANGE_CELL_TYPE",t.SET_EXECUTION_STATE="SET_EXECUTION_STATE",t.SET_NOTIFICATION_SYSTEM="SET_NOTIFICATION_SYSTEM",t.DOWNLOAD_CONTENT="CORE/DOWNLOAD_CONTENT",t.DOWNLOAD_CONTENT_FAILED="CORE/DOWNLOAD_CONTENT_FAILED",t.DOWNLOAD_CONTENT_FULFILLED="CORE/DOWNLOAD_CONTENT_FULFILLED",t.SAVE="SAVE",t.SAVE_AS="SAVE_AS",t.SAVE_FAILED="SAVE_FAILED",t.SAVE_FULFILLED="SAVE_FULFILLED",t.NEW_NOTEBOOK="NEW_NOTEBOOK",t.UPDATE_FILE_TEXT="UPDATE_FILE_TEXT",t.INTERRUPT_KERNEL="INTERRUPT_KERNEL",t.INTERRUPT_KERNEL_SUCCESSFUL="INTERRUPT_KERNEL_SUCCESSFUL",t.INTERRUPT_KERNEL_FAILED="INTERRUPT_KERNEL_FAILED",t.KILL_KERNEL="KILL_KERNEL",t.KILL_KERNEL_FAILED="KILL_KERNEL_FAILED",t.KILL_KERNEL_SUCCESSFUL="KILL_KERNEL_SUCCESSFUL",t.SET_GITHUB_TOKEN="SET_GITHUB_TOKEN",t.RESTART_KERNEL="RESTART_KERNEL",t.RESTART_KERNEL_FAILED="RESTART_KERNEL_FAILED",t.RESTART_KERNEL_SUCCESSFUL="RESTART_KERNEL_SUCCESSFUL",t.LAUNCH_KERNEL="LAUNCH_KERNEL",t.CHANGE_KERNEL_BY_NAME="CHANGE_KERNEL_BY_NAME",t.LAUNCH_KERNEL_BY_NAME="LAUNCH_KERNEL_BY_NAME",t.LAUNCH_KERNEL_FAILED="LAUNCH_KERNEL_FAILED",t.LAUNCH_KERNEL_SUCCESSFUL="LAUNCH_KERNEL_SUCCESSFUL",t.KERNEL_RAW_STDOUT="KERNEL_RAW_STDOUT",t.KERNEL_RAW_STDERR="KERNEL_RAW_STDERR",t.DELETE_CONNECTION_FILE_FAILED="DELETE_CONNECTION_FILE_FAILED",t.DELETE_CONNECTION_FILE_SUCCESSFUL="DELETE_CONNECTION_FILE_SUCCESSFUL",t.SHUTDOWN_REPLY_SUCCEEDED="SHUTDOWN_REPLY_SUCCEEDED",t.SHUTDOWN_REPLY_TIMED_OUT="SHUTDOWN_REPLY_TIMED_OUT",t.PUBLISH_GIST="CORE/PUBLISH_GIST",t.ERROR="CORE/ERROR"},"./node_modules/@nteract/core/lib/actions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configLoaded=t.doneSavingConfig=t.saveConfig=t.loadConfig=t.fetchKernelspecsFailed=t.fetchKernelspecsFulfilled=t.fetchKernelspecs=t.fetchContentFailed=t.fetchContentFulfilled=t.fetchContent=t.addHost=t.closeModal=t.openModal=void 0;var r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],o=(0,s.createMessage)("comm_open",{content:{comm_id:e,target_name:t,data:n}});r&&(o.content.target_module=r);return o},t.createCommMessage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Uint8Array([]);return(0,s.createMessage)("comm_msg",{content:{comm_id:e,data:t},buffers:n})},t.createCommCloseMessage=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,s.createMessage)("comm_close",{content:{comm_id:t,data:n},parent_header:e})},t.commActionObservable=u;n("./node_modules/rxjs/observable/of.js");var r=n("./node_modules/rxjs/observable/merge.js"),o=n("./node_modules/rxjs/operators.js"),i=n("./node_modules/redux-observable/lib/esm/index.js"),a=n("./node_modules/@nteract/core/lib/actions.js"),s=n("./node_modules/@nteract/messaging/lib/index.js"),l=n("./node_modules/@nteract/core/lib/actionTypes.js");function u(e){var t=e.payload.kernel,n=t.channels.pipe((0,s.ofMessageType)("comm_open"),(0,o.map)(a.commOpenAction)),i=t.channels.pipe((0,s.ofMessageType)("comm_msg"),(0,o.map)(a.commMessageAction));return(0,r.merge)(n,i).pipe((0,o.retry)())}t.commListenEpic=function(e){return e.pipe((0,i.ofType)(l.LAUNCH_KERNEL_SUCCESSFUL),(0,o.switchMap)(u))}},"./node_modules/@nteract/core/lib/epics/contents.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.fetchContentEpic=function(e,t){return e.pipe((0,u.ofType)(h.FETCH_CONTENT),(0,l.switchMap)(function(e){if(!e.payload||"string"!=typeof e.payload.filepath)return(0,a.of)({type:"ERROR",error:!0,payload:{error:new Error("fetching content needs a payload")}});var n=t.getState(),r=m.currentHost(n);if("jupyter"!==r.type)return(0,i.empty)();var o=m.serverConfig(r);return b.contents.get(o,e.payload.filepath,e.payload.params).pipe((0,l.tap)(function(e){if(200!==e.status)throw new Error(e.response)}),(0,l.map)(function(t){return f.fetchContentFulfilled({filepath:e.payload.filepath,model:t.response,kernelRef:e.payload.kernelRef,contentRef:e.payload.contentRef})}),(0,l.catchError)(function(t){return(0,a.of)(f.fetchContentFailed({filepath:e.payload.filepath,error:t,kernelRef:e.payload.kernelRef,contentRef:e.payload.contentRef}))}))}))},t.downloadString=v,t.autoSaveCurrentContentEpic=function(e,t){var n=(0,c.sample)(_);return(0,s.interval)(n).pipe((0,l.mergeMap)(function(){var e=t.getState(),n=e.core.currentContentRef,r=m.content(e,{contentRef:n});return(void 0!==document.hidden?!document.hidden:void 0!==document.msHidden?!document.msHidden:void 0!==document.webkitHidden?!document.webkitHidden:document.hasFocus())&&r&&("file"===r.type||"notebook"===r.type)&&""!==r.filepath?(0,a.of)(f.save({contentRef:n})):(0,i.empty)()}))},t.saveContentEpic=function(e,t){return e.pipe((0,u.ofType)(h.SAVE,h.DOWNLOAD_CONTENT),(0,l.mergeMap)(function(e){var n=t.getState(),o=m.currentHost(n);if("jupyter"!==o.type)return(0,i.empty)();var s=e.payload.contentRef,u=m.content(n,{contentRef:s});if(!u){var c={error:new Error("Content was not set."),contentRef:e.payload.contentRef};return e.type===h.DownloadContent?(0,a.of)(f.downloadContentFailed(c)):(0,a.of)(f.saveFailed(c))}if("directory"===u.type)return(0,i.empty)();var d=u.filepath,p=void 0,y={};if("notebook"===u.type){var _=m.appVersion(n)||"0.0.0-beta";p=(0,g.toJS)(u.model.notebook.setIn(["metadata","nteract","version"],_)),y={content:p,type:u.type}}else{if("file"!==u.type)return(0,i.empty)();p=u.model.text,y={content:p,type:u.type,format:"text"}}switch(e.type){case h.DOWNLOAD_CONTENT:if("notebook"===u.type&&"object"===(void 0===p?"undefined":r(p)))v((0,g.stringifyNotebook)(p),d||"notebook.ipynb","application/json");else{if("file"!==u.type||"string"!=typeof p)return(0,i.empty)();v(p,d,u.mimetype||"application/octet-stream")}return(0,a.of)(f.downloadContentFulfilled({contentRef:e.payload.contentRef}));case h.SAVE:var x=m.serverConfig(o);return b.contents.get(x,d,{content:0}).pipe((0,l.mergeMap)(function(t){if(200!==t.status)throw new Error(t.response);var n=t.response,r=new Date(n.last_modified),o=u.lastSaved?new Date(u.lastSaved):r;return Math.abs(r-o)>600?(0,a.of)(f.saveFailed({error:new Error("open in another tab possibly..."),contentRef:e.payload.contentRef})):b.contents.save(x,d,y).pipe((0,l.map)(function(t){return f.saveFulfilled({contentRef:e.payload.contentRef,model:t.response})}),(0,l.catchError)(function(t){return(0,a.of)(f.saveFailed({error:t,contentRef:e.payload.contentRef}))}))}));default:return(0,i.empty)()}}))};var o,i=n("./node_modules/rxjs/observable/empty.js"),a=n("./node_modules/rxjs/observable/of.js"),s=n("./node_modules/rxjs/observable/interval.js"),l=n("./node_modules/rxjs/operators.js"),u=n("./node_modules/redux-observable/lib/esm/index.js"),c=n("./node_modules/lodash/lodash.js"),d=n("./node_modules/file-saver/FileSaver.js"),p=(o=d)&&o.__esModule?o:{default:o},f=y(n("./node_modules/@nteract/core/lib/actions.js")),h=y(n("./node_modules/@nteract/core/lib/actionTypes.js")),m=y(n("./node_modules/@nteract/core/lib/selectors/index.js")),b=n("./node_modules/rx-jupyter/lib/index.js"),g=n("./node_modules/@nteract/commutable/lib/index.js");function y(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function v(e,t,n){var r=t.split("/").pop(),o=new Blob([e],{type:n});p.default.saveAs(o,r)}var _=[30137,30713,30593,28403,29153,30509,31727,28229,29327,28867,28201,31907,29167,28433,28151,31063,29833,29243,28901,28909,28607,30517,28307,28547,29009,31183,30773,29017,31601,28109]},"./node_modules/@nteract/core/lib/epics/execute.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateDisplayEpic=void 0,t.executeCellStream=b,t.createExecuteCellStream=g,t.executeAllCellsEpic=function(e,t){return e.pipe((0,c.ofType)(p.EXECUTE_ALL_CELLS,p.EXECUTE_ALL_CELLS_BELOW),(0,u.concatMap)(function(e){t.getState();var n=e.payload.contentRef,r=f.model(t.getState(),{contentRef:n});if(!r||"notebook"!==r.type)return(0,s.empty)();var o=m.List();return e.type===p.EXECUTE_ALL_CELLS?o=f.notebook.codeCellIds(r):e.type===p.EXECUTE_ALL_CELLS_BELOW&&(o=f.notebook.codeCellIdsBelow(r)),i.of.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:global.console;return function(n){return function(o){if(!o.type.includes("ERROR"))return n(o);t.error(o);var i=void 0;i="payload"in o?JSON.stringify(o.payload,null,2):JSON.stringify(o,null,2);var a=e.getState(),s=r.notificationSystem(a);return s&&s.addNotification({title:o.type,message:i,dismissible:!0,position:"tr",level:"error"}),n(o)}}}},"./node_modules/@nteract/core/lib/reducers/app.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.makeAppRecord)(),t=arguments[1];switch(t.type){case o.SAVE:return function(e){return e.set("isSaving",!0)}(e);case o.SAVE_FAILED:return function(e){return e.set("isSaving",!1)}(e);case o.SAVE_FULFILLED:return function(e){return e.set("isSaving",!1).set("lastSaved",new Date)}(e);case o.SET_NOTIFICATION_SYSTEM:return function(e,t){return e.set("notificationSystem",t.notificationSystem)}(e,t);case o.SET_GITHUB_TOKEN:return function(e,t){var n=t.githubToken;return e.set("githubToken",n)}(e,t);default:return e}};var r=n("./node_modules/@nteract/core/lib/state/index.js"),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/@nteract/core/lib/actionTypes.js"))},"./node_modules/@nteract/core/lib/reducers/comms.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,o.makeCommsRecord)(),t=arguments[1];switch(t.type){case"REGISTER_COMM_TARGET":return function(e,t){return e.setIn(["targets",t.name],t.handler)}(e,t);case"COMM_OPEN":return function(e,t){var n=t.target_name,o=t.target_module,i=t.data,a=t.comm_id,s={target_module:o,target_name:n};return e.setIn(["info",a],r.fromJS(s)).setIn(["models",a],r.fromJS(i))}(e,t);case"COMM_MESSAGE":return function(e,t){var n=t.data,o=t.comm_id,i=e.getIn(["info",o]);if(i&&"reducers"===i.get("target_module")&&"setIn"===i.get("target_name")){var a=n.path,s=r.fromJS(n.value);return e.updateIn(["models",o],function(e){return e.setIn(a,s)})}return e.setIn(["models",o],r.fromJS(n))}(e,t);default:return e}};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js")),o=n("./node_modules/@nteract/core/lib/state/index.js")},"./node_modules/@nteract/core/lib/reducers/config.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setConfigAtKey=o,t.mergeConfig=i,t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new r.Map,t=arguments[1];switch(t.type){case"SET_CONFIG_AT_KEY":return o(e,t);case"MERGE_CONFIG":return i(e,t);default:return e}};var r=n("./node_modules/immutable/dist/immutable.es.js");function o(e,t){var n=t.key,r=t.value;return e.set(n,r)}function i(e,t){var n=t.config;return e.merge(n)}},"./node_modules/@nteract/core/lib/reducers/core/communication/contents.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contents=void 0;var r=n("./node_modules/@nteract/core/lib/state/communication/contents.js"),o=s(n("./node_modules/@nteract/core/lib/actionTypes.js")),i=n("./node_modules/redux-immutable/dist/index.js"),a=s(n("./node_modules/immutable/dist/immutable.es.js"));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.contents=(0,i.combineReducers)({byRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Map(),t=arguments[1];switch(t.type){case o.FETCH_CONTENT:return e.set(t.payload.contentRef,(0,r.makeContentCommunicationRecord)({loading:!0,saving:!1,error:null}));case o.FETCH_CONTENT_FULFILLED:return e.set(t.payload.contentRef,(0,r.makeContentCommunicationRecord)({loading:!1,saving:!1,error:null}));case o.FETCH_CONTENT_FAILED:return e.set(t.payload.contentRef,(0,r.makeContentCommunicationRecord)({loading:!1,saving:!1,error:t.payload.error}));case o.SAVE:case o.SAVE_AS:return e.set(t.payload.contentRef,(0,r.makeContentCommunicationRecord)({loading:!1,saving:!0,error:null}));case o.SAVE_FULFILLED:return e.set(t.payload.contentRef,(0,r.makeContentCommunicationRecord)({loading:!1,saving:!1,error:null}));case o.SAVE_FAILED:return e.set(t.payload.contentRef,(0,r.makeContentCommunicationRecord)({loading:!1,saving:!1,error:t.payload.error}));default:return e}}},r.makeContentsCommunicationRecord)},"./node_modules/@nteract/core/lib/reducers/core/communication/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.communication=void 0;var r=n("./node_modules/redux-immutable/dist/index.js"),o=n("./node_modules/@nteract/core/lib/reducers/core/communication/contents.js"),i=n("./node_modules/@nteract/core/lib/reducers/core/communication/kernels.js"),a=n("./node_modules/@nteract/core/lib/reducers/core/communication/kernelspecs.js"),s=n("./node_modules/@nteract/core/lib/state/communication/index.js");t.communication=(0,r.combineReducers)({contents:o.contents,kernels:i.kernels,kernelspecs:a.kernelspecs},s.makeCommunicationRecord)},"./node_modules/@nteract/core/lib/reducers/core/communication/kernels.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kernels=void 0;var r=n("./node_modules/@nteract/core/lib/state/communication/kernels.js"),o=s(n("./node_modules/@nteract/core/lib/actionTypes.js")),i=n("./node_modules/redux-immutable/dist/index.js"),a=s(n("./node_modules/immutable/dist/immutable.es.js"));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.kernels=(0,i.combineReducers)({byRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Map(),t=arguments[1];switch(t.type){case o.RESTART_KERNEL:case o.LAUNCH_KERNEL:case o.LAUNCH_KERNEL_BY_NAME:return e.set(t.payload.kernelRef,(0,r.makeKernelCommunicationRecord)({error:null,loading:!0}));case o.RESTART_KERNEL_SUCCESSFUL:case o.LAUNCH_KERNEL_SUCCESSFUL:return e.set(t.payload.kernelRef,(0,r.makeKernelCommunicationRecord)({error:null,loading:!1}));case o.RESTART_KERNEL_FAILED:case o.LAUNCH_KERNEL_FAILED:return e.set(t.payload.kernelRef,(0,r.makeKernelCommunicationRecord)({error:t.payload.error,loading:!1}));default:return e}}},r.makeKernelsCommunicationRecord)},"./node_modules/@nteract/core/lib/reducers/core/communication/kernelspecs.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kernelspecs=t.byRef=void 0;var r=n("./node_modules/@nteract/core/lib/state/communication/kernelspecs.js"),o=s(n("./node_modules/@nteract/core/lib/actionTypes.js")),i=n("./node_modules/redux-immutable/dist/index.js"),a=s(n("./node_modules/immutable/dist/immutable.es.js"));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var l=t.byRef=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Map(),t=arguments[1];switch(t.type){case o.FETCH_KERNELSPECS:return e.set(t.payload.kernelspecsRef,(0,r.makeKernelspecsByRefCommunicationRecord)({loading:!0,error:null}));case o.FETCH_KERNELSPECS_FULFILLED:return e.set(t.payload.kernelspecsRef,(0,r.makeKernelspecsByRefCommunicationRecord)({loading:!1,error:null}));case o.FETCH_KERNELSPECS_FAILED:return e.set(t.payload.kernelspecsRef,(0,r.makeKernelspecsByRefCommunicationRecord)({loading:!1,error:t.payload.error}));default:return e}};t.kernelspecs=(0,i.combineReducers)({byRef:l},r.makeKernelspecsCommunicationRecord)},"./node_modules/@nteract/core/lib/reducers/core/entities/contents/file.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.file=function(e,t){switch(t.type){case r.UPDATE_FILE_TEXT:return function(e,t){return e.set("text",t.payload.text)}(e,t);default:return e}};o(n("./node_modules/uuid/index.js"));var r=o(n("./node_modules/@nteract/core/lib/actionTypes.js"));o(n("./node_modules/immutable/dist/immutable.es.js")),n("./node_modules/lodash/lodash.js");function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},"./node_modules/@nteract/core/lib/reducers/core/entities/contents/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contents=void 0;var r=d(n("./node_modules/immutable/dist/immutable.es.js")),o=d(n("./node_modules/@nteract/core/lib/actionTypes.js")),i=(d(n("./node_modules/uuid/index.js")),n("./node_modules/@nteract/core/lib/state/entities/contents/index.js")),a=n("./node_modules/@nteract/commutable/lib/index.js"),s=n("./node_modules/@nteract/core/lib/reducers/core/entities/contents/notebook.js"),l=n("./node_modules/@nteract/core/lib/reducers/core/entities/contents/file.js"),u=n("./node_modules/@nteract/core/lib/state/refs.js"),c=n("./node_modules/redux-immutable/dist/index.js");function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.contents=(0,c.combineReducers)({byRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.Map(),t=arguments[1];switch(t.type){case o.FETCH_CONTENT:return e.set(t.payload.contentRef,(0,i.makeDummyContentRecord)({filepath:t.payload.filepath||""}));case o.LAUNCH_KERNEL_SUCCESSFUL:return e.setIn([t.payload.contentRef,"model","kernelRef"],t.payload.kernelRef);case o.FETCH_CONTENT_FULFILLED:switch(t.payload.model.type){case"file":return e.set(t.payload.contentRef,(0,i.makeFileContentRecord)({mimetype:t.payload.model.mimetype,created:t.payload.model.created,lastSaved:t.payload.model.last_modified,filepath:t.payload.filepath,model:(0,i.makeFileModelRecord)({text:t.payload.model.content})}));case"directory":var n=r.Map(t.payload.model.content.map(function(e){return[(0,u.createContentRef)(),(0,i.makeDummyContentRecord)({mimetype:e.mimetype,assumedType:e.type,lastSaved:e.last_modified,filepath:e.path})]})),c=r.List(n.keys()).sort(function(e,t){var r=n.get(e),o=n.get(t);return r.assumedType===o.assumedType?r.filepath.localeCompare(o.filepath):r.assumedType.localeCompare(o.assumedType)});return e.merge(n).set(t.payload.contentRef,(0,i.makeDirectoryContentRecord)({model:(0,i.makeDirectoryModel)({items:c}),filepath:t.payload.filepath,lastSaved:t.payload.model.last_modified,created:t.payload.model.created}));case"notebook":var d=(0,a.fromJS)(t.payload.model.content);return e.set(t.payload.contentRef,(0,i.makeNotebookContentRecord)({created:t.payload.created,lastSaved:t.payload.lastSaved,filepath:t.payload.filepath,model:(0,i.makeDocumentRecord)({notebook:d,savedNotebook:d,transient:r.Map({keyPathsForDisplays:r.Map(),cellMap:r.Map()}),cellFocused:d.getIn(["cellOrder",0])})}))}return console.warn("Met some content type we don't support"),e;case o.CHANGE_FILENAME:return e.updateIn([t.payload.contentRef],function(e){return e.merge({filepath:t.payload.filepath})});case o.SAVE_FULFILLED:return e.getIn([t.payload.contentRef,"model"]),e.updateIn([t.payload.contentRef,"model"],function(e){return e&&"notebook"===e.type?(0,s.notebook)(e,t):e}).setIn([t.payload.contentRef,"lastSaved"],t.payload.model.last_modified);case o.SEND_EXECUTE_REQUEST:case o.FOCUS_CELL:case o.CLEAR_OUTPUTS:case o.CLEAR_ALL_OUTPUTS:case o.RESTART_KERNEL:case o.APPEND_OUTPUT:case o.UPDATE_DISPLAY:case o.FOCUS_NEXT_CELL:case o.FOCUS_PREVIOUS_CELL:case o.FOCUS_CELL_EDITOR:case o.FOCUS_NEXT_CELL_EDITOR:case o.FOCUS_PREVIOUS_CELL_EDITOR:case o.SET_IN_CELL:case o.MOVE_CELL:case o.REMOVE_CELL:case o.CREATE_CELL_AFTER:case o.CREATE_CELL_BEFORE:case o.MERGE_CELL_AFTER:case o.CREATE_CELL_APPEND:case o.TOGGLE_CELL_OUTPUT_VISIBILITY:case o.TOGGLE_CELL_INPUT_VISIBILITY:case o.ACCEPT_PAYLOAD_MESSAGE:case o.UPDATE_CELL_STATUS:case o.SET_LANGUAGE_INFO:case o.SET_KERNELSPEC_INFO:case o.OVERWRITE_METADATA_FIELD:case o.DELETE_METADATA_FIELD:case o.COPY_CELL:case o.CUT_CELL:case o.PASTE_CELL:case o.CHANGE_CELL_TYPE:case o.TOGGLE_OUTPUT_EXPANSION:case o.TOGGLE_TAG_IN_CELL:case o.UNHIDE_ALL:var p=[t.payload.contentRef,"model"],f=e.getIn(p);return e.setIn(p,(0,s.notebook)(f,t));case o.UPDATE_FILE_TEXT:var h=[t.payload.contentRef,"model"],m=e.getIn(h);return m&&"file"===m.type?e.setIn(h,(0,l.file)(m,t)):e;default:return e}}},i.makeContentsRecord)},"./node_modules/@nteract/core/lib/reducers/core/entities/contents/notebook.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduceOutputs=d,t.cleanCellTransient=p,t.notebook=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=arguments[1];switch(t.type){case i.TOGGLE_TAG_IN_CELL:return function(e,t){var n=t.payload,r=n.id,o=n.tag;return e.updateIn(["notebook","cellMap",r,"metadata","tags"],a.Set(),function(e){return e.has(o)?e.remove(o):e.add(o)})}(e,t);case i.SEND_EXECUTE_REQUEST:return function(e,t){var n=t.payload.id?t.payload.id:e.cellFocused;if(!n)return e;return f(e,{type:"CLEAR_OUTPUTS",payload:{id:n}}).setIn(["transient","cellMap",n,"status"],"queued")}(e,t);case i.SAVE_FULFILLED:return function(e,t){return e.set("savedNotebook",e.get("notebook"))}(e);case i.FOCUS_CELL:return function(e,t){return e.set("cellFocused",t.payload.id)}(e,t);case i.CLEAR_OUTPUTS:return f(e,t);case i.CLEAR_ALL_OUTPUTS:case i.RESTART_KERNEL:return function(e,t){if(t.type===i.RESTART_KERNEL&&!t.payload.clearOutputs)return e;var n=e.getIn(["notebook","cellMap"],new a.Map).map(function(e){return"code"===e.get("cell_type")?e.merge({outputs:new a.List,execution_count:null}):e}),r=a.Map({keyPathsForDisplays:a.Map(),cellMap:n.map(function(){return new a.Map})});return e.setIn(["notebook","cellMap"],n).set("transient",r)}(e,t);case i.APPEND_OUTPUT:return function(e,t){var n=t.payload.output,r=t.payload.id;if("display_data"!==n.output_type||!(0,l.has)(n,"transient.display_id"))return e.updateIn(["notebook","cellMap",r,"outputs"],function(e){return d(e,n)});var o=n.transient.display_id,i=e.getIn(["notebook","cellMap",r,"outputs"],a.List()).count(),u=a.List(["notebook","cellMap",r,"outputs",i]),c=e.getIn(["transient","keyPathsForDisplays",o],new a.List).push(u),p=(0,s.createImmutableOutput)(n);return c.reduce(function(e,t){return e.setIn(t,p)},e).setIn(["transient","keyPathsForDisplays",o],c)}(e,t);case i.UPDATE_DISPLAY:return function(e,t){var n=t.payload.content;if(!(n&&n.transient&&n.transient.display_id))return e;var r=n.transient.display_id,o=e.getIn(["transient","keyPathsForDisplays",r],new a.List),i={data:(0,s.createImmutableMimeBundle)(n.data),metadata:a.fromJS(n.metadata||{})};return o.reduce(function(e,t){return e.updateIn(t,function(e){return e.merge(i)})},e)}(e,t);case i.FOCUS_NEXT_CELL:return function(e,t){var n=e.getIn(["notebook","cellOrder"],a.List()),r=t.payload.id?t.payload.id:e.get("cellFocused");if(!r)return e;var i=n.findIndex(function(e){return r===e}),l=e.getIn(["notebook","cellMap",r,"cell_type"]),u=i+1;if(u>=n.size){if(!t.payload.createCellIfUndefined)return e;var c=o.v4(),d="code"===l?s.emptyCodeCell:s.emptyMarkdownCell,p=e.get("notebook");return e.set("cellFocused",c).set("notebook",(0,s.insertCellAt)(p,d,c,u))}return e.set("cellFocused",n.get(u))}(e,t);case i.FOCUS_PREVIOUS_CELL:return function(e,t){var n=e.getIn(["notebook","cellOrder"],a.List()),r=n.findIndex(function(e){return e===t.payload.id}),o=Math.max(0,r-1);return e.set("cellFocused",n.get(o))}(e,t);case i.FOCUS_CELL_EDITOR:return function(e,t){return e.set("editorFocused",t.payload.id)}(e,t);case i.FOCUS_NEXT_CELL_EDITOR:return function(e,t){var n=e.getIn(["notebook","cellOrder"],a.List()),r=t.payload.id?t.payload.id:e.get("editorFocused");if(!r)return e;var o=n.findIndex(function(e){return r===e})+1;return e.set("editorFocused",n.get(o))}(e,t);case i.FOCUS_PREVIOUS_CELL_EDITOR:return function(e,t){var n=e.getIn(["notebook","cellOrder"],a.List()),r=n.findIndex(function(e){return e===t.payload.id}),o=Math.max(0,r-1);return e.set("editorFocused",n.get(o))}(e,t);case i.SET_IN_CELL:return function(e,t){return e.setIn(["notebook","cellMap",t.payload.id].concat(t.payload.path),t.payload.value)}(e,t);case i.MOVE_CELL:return function(e,t){return e.updateIn(["notebook","cellOrder"],function(e){var n=e.findIndex(function(e){return e===t.payload.id}),r=e.findIndex(function(e){return e===t.payload.destinationId})+(t.payload.above?0:1);return n===r?e:e.splice(n,1).splice(r-(n0&&void 0!==arguments[0]?arguments[0]:a.List(),t=arguments[1],n=e.last();if("stream"!==t.output_type||!n||e.size>0&&"stream"!==n.get("output_type"))return e.push((0,s.createImmutableOutput)(t));var r=t;function o(e){return"string"==typeof r.text?(0,u.escapeCarriageReturnSafe)(e+r.text):e}if(n&&e.size>0&&void 0!==r.name&&"stream"===n.get("output_type")){if(n.get("name")===r.name)return e.updateIn([e.size-1,"text"],o);var i=e.butLast().last();if(i&&"stream"===i.get("output_type")&&i.get("name")===r.name)return e.updateIn([e.size-2,"text"],o)}return e.push((0,s.createImmutableOutput)(r))}function p(e,t){return e.setIn(["cellPagers",t],new a.List).updateIn(["transient","keyPathsForDisplays"],a.Map(),function(e){return e.map(function(e){return e.filter(function(e){return e.get(2)!==t})})}).setIn(["transient","cellMap",t],new a.Map)}function f(e,t){var n=t.payload.id?t.payload.id:e.cellFocused;if(!n)return e;var r=e.getIn(["notebook","cellMap",n,"cell_type"]),o=p(e,n);return"code"===r?o.setIn(["notebook","cellMap",n,"outputs"],new a.List).setIn(["notebook","cellMap",n,"execution_count"],null):o}function h(e,t){var n=t.payload.id?t.payload.id:e.cellFocused;if(!n)return e;var r=t.payload,i=r.cellType,l=r.source,u="markdown"===i?s.emptyMarkdownCell:s.emptyCodeCell,c=o.v4();return e.update("notebook",function(e){var t=e.get("cellOrder",a.List()).indexOf(n)+1;return(0,s.insertCellAt)(e,u.set("source",l),c,t)})}var m=(0,r.makeDocumentRecord)({notebook:s.emptyNotebook})},"./node_modules/@nteract/core/lib/reducers/core/entities/hosts.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hosts=void 0;var r=s(n("./node_modules/immutable/dist/immutable.es.js")),o=s(n("./node_modules/@nteract/core/lib/actionTypes.js")),i=n("./node_modules/redux-immutable/dist/index.js"),a=n("./node_modules/@nteract/core/lib/state/entities/hosts.js");function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.hosts=(0,i.combineReducers)({byRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.Map(),t=arguments[1];switch(t.type){case o.ADD_HOST:switch(t.payload.host.type){case"jupyter":return e.set(t.payload.hostRef,(0,a.makeJupyterHostRecord)(t.payload.host));case"local":return e.set(t.payload.hostRef,(0,a.makeLocalHostRecord)(t.payload.host));default:throw new Error('Unrecognized host type "'+t.payload.host.type+'".')}default:return e}},refs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.List(),t=arguments[1];switch(t.type){case o.ADD_HOST:return e.push(t.payload.hostRef);default:return e}}},a.makeHostsRecord)},"./node_modules/@nteract/core/lib/reducers/core/entities/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.entities=void 0;var r=n("./node_modules/redux-immutable/dist/index.js"),o=n("./node_modules/@nteract/core/lib/state/entities/index.js"),i=n("./node_modules/@nteract/core/lib/reducers/core/entities/contents/index.js"),a=n("./node_modules/@nteract/core/lib/reducers/core/entities/hosts.js"),s=n("./node_modules/@nteract/core/lib/reducers/core/entities/kernels.js"),l=n("./node_modules/@nteract/core/lib/reducers/core/entities/kernelspecs.js"),u=n("./node_modules/@nteract/core/lib/reducers/core/entities/modals.js");t.entities=(0,r.combineReducers)({contents:i.contents,hosts:a.hosts,kernels:s.kernels,kernelspecs:l.kernelspecs,modals:u.modals},o.makeEntitiesRecord)},"./node_modules/@nteract/core/lib/reducers/core/entities/kernels.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kernels=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n("./node_modules/@nteract/core/lib/state/entities/kernels.js"),i=n("./node_modules/@nteract/core/lib/state/entities/kernel-info.js"),a=u(n("./node_modules/@nteract/core/lib/actionTypes.js")),s=n("./node_modules/redux-immutable/dist/index.js"),l=u(n("./node_modules/immutable/dist/immutable.es.js"));function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.kernels=(0,s.combineReducers)({byRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.Map(),t=arguments[1];switch(t.type){case a.SET_LANGUAGE_INFO:return e;case a.KILL_KERNEL_SUCCESSFUL:return e.setIn([t.payload.kernelRef,"status"],"killed");case a.KILL_KERNEL_FAILED:return e.setIn([t.payload.kernelRef,"status"],"failed to kill");case a.RESTART_KERNEL:return e.setIn([t.payload.kernelRef,"status"],"restarting");case a.LAUNCH_KERNEL:case a.LAUNCH_KERNEL_BY_NAME:return e.setIn([t.payload.kernelRef,"status"],"launching");case a.CHANGE_KERNEL_BY_NAME:return e.setIn([t.payload.oldKernelRef,"status"],"changing");case a.SET_KERNEL_INFO:var n=t.payload.info.codemirrorMode;switch(n||(n=t.payload.info.languageName),void 0===n?"undefined":r(n)){case"string":break;case"object":n=l.Map(n);break;default:n=t.payload.info.languageName}var s=t.payload.info.helpLinks?l.List(t.payload.info.helpLinks.map(i.makeHelpLinkRecord)):l.List();return e.setIn([t.payload.kernelRef,"info"],(0,i.makeKernelInfoRecord)(t.payload.info).merge({helpLinks:s,codemirrorMode:n}));case a.SET_EXECUTION_STATE:return e.setIn([t.payload.kernelRef,"status"],t.payload.kernelStatus);case a.LAUNCH_KERNEL_SUCCESSFUL:switch(t.payload.kernel.type){case"zeromq":return e.set(t.payload.kernelRef,(0,o.makeLocalKernelRecord)(t.payload.kernel));case"websocket":return e.set(t.payload.kernelRef,(0,o.makeRemoteKernelRecord)(t.payload.kernel));default:throw new Error('Unrecognized kernel type "'+t.payload.kernel.type+'".')}default:return e}}},o.makeKernelsRecord)},"./node_modules/@nteract/core/lib/reducers/core/entities/kernelspecs.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kernelspecs=void 0;var r=n("./node_modules/@nteract/core/lib/state/entities/kernelspecs.js"),o=s(n("./node_modules/@nteract/core/lib/actionTypes.js")),i=n("./node_modules/redux-immutable/dist/index.js"),a=s(n("./node_modules/immutable/dist/immutable.es.js"));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.kernelspecs=(0,i.combineReducers)({byRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Map(),t=arguments[1];switch(t.type){case o.FETCH_KERNELSPECS_FULFILLED:return e.set(t.payload.kernelspecsRef,(0,r.makeKernelspecsByRefRecord)({hostRef:t.payload.hostRef,defaultKernelName:t.payload.defaultKernelName,byName:a.Map(Object.keys(t.payload.kernelspecs).reduce(function(e,n){return e[n]=(0,r.makeKernelspec)(t.payload.kernelspecs[n]),e},{}))}));default:return e}},refs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.List(),t=arguments[1];switch(t.type){case o.FETCH_KERNELSPECS_FULFILLED:return e.includes(t.payload.kernelspecsRef)?e:e.push(t.payload.kernelspecsRef);default:return e}}},r.makeKernelspecsRecord)},"./node_modules/@nteract/core/lib/reducers/core/entities/modals.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modals=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/@nteract/core/lib/actionTypes.js")),o=n("./node_modules/redux-immutable/dist/index.js"),i=n("./node_modules/@nteract/core/lib/state/entities/modals.js");t.modals=(0,o.combineReducers)({modalType:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1];switch(t.type){case r.OPEN_MODAL:return t.payload.modalType;case r.CLOSE_MODAL:return"";default:return e}}},i.makeModalsRecord)},"./node_modules/@nteract/core/lib/reducers/core/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/@nteract/core/lib/actionTypes.js")),o=n("./node_modules/redux-immutable/dist/index.js"),i=n("./node_modules/@nteract/core/lib/reducers/core/communication/index.js"),a=n("./node_modules/@nteract/core/lib/reducers/core/entities/index.js"),s=n("./node_modules/@nteract/core/lib/state/index.js");var l=(0,o.combineReducers)({communication:i.communication,currentContentRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments[1];switch(t.type){case r.NEW_NOTEBOOK:case r.FETCH_CONTENT:return t.payload.contentRef;default:return e}},currentKernelspecsRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments[1];switch(t.type){case r.FETCH_KERNELSPECS:return t.payload.kernelspecsRef;default:return e}},entities:a.entities,kernelRef:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments[1];switch(t.type){case r.LAUNCH_KERNEL:case r.LAUNCH_KERNEL_BY_NAME:case r.LAUNCH_KERNEL_SUCCESSFUL:return t.payload.selectNextKernel?t.payload.kernelRef:e;default:return e}}},s.makeStateRecord);t.default=l},"./node_modules/@nteract/core/lib/reducers/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.core=t.app=t.config=t.comms=void 0;var r=s(n("./node_modules/@nteract/core/lib/reducers/comms.js")),o=s(n("./node_modules/@nteract/core/lib/reducers/config.js")),i=s(n("./node_modules/@nteract/core/lib/reducers/app.js")),a=s(n("./node_modules/@nteract/core/lib/reducers/core/index.js"));function s(e){return e&&e.__esModule?e:{default:e}}t.comms=r.default,t.config=o.default,t.app=i.default,t.core=a.default},"./node_modules/@nteract/core/lib/selectors/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notificationSystem=t.currentTheme=t.modalType=t.currentFilepath=t.currentLastSaved=t.currentContentType=t.currentModel=t.models=t.comms=t.isCurrentKernelJupyterWebsocket=t.isCurrentHostJupyter=t.isCurrentKernelZeroMQ=t.currentHostType=t.currentKernelStatus=t.currentKernelType=t.currentKernel=t.currentKernelRef=t.kernel=t.kernelsByRef=t.currentKernelspecs=t.kernelspecsByRef=t.currentKernelspecsRef=t.currentContent=t.currentContentRef=t.model=t.content=t.contentByRef=t.currentHost=t.appVersion=t.userTheme=t.serverConfig=t.notebook=void 0;a(n("./node_modules/immutable/dist/immutable.es.js"));var r=a(n("./node_modules/@nteract/core/lib/selectors/notebook.js")),o=n("./node_modules/reselect/lib/index.js"),i=n("./node_modules/@nteract/core/lib/state/entities/contents/index.js");function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function s(e){return e}t.notebook=r;t.serverConfig=function(e){return{endpoint:e.origin+e.basePath,crossDomain:e.crossDomain,token:e.token}},t.userTheme=function(e){return e.config.get("theme","light")},t.appVersion=(0,o.createSelector)(function(e){return e.app.version},s);var l=t.currentHost=(0,o.createSelector)(function(e){return e.app.host},s),u=t.contentByRef=function(e){return e.core.entities.contents.byRef},c=(t.content=function(e,t){var n=t.contentRef;return u(e).get(n)},t.model=function(e,t){var n=t.contentRef,r=u(e).get(n);return r?r.model:null},t.currentContentRef=function(e){return e.core.currentContentRef}),d=t.currentContent=(0,o.createSelector)(c,u,function(e,t){return e?t.get(e):null}),p=t.currentKernelspecsRef=function(e){return e.core.currentKernelspecsRef},f=t.kernelspecsByRef=function(e){return e.core.entities.kernelspecs.byRef},h=(t.currentKernelspecs=(0,o.createSelector)(p,f,function(e,t){return e?t.get(e):null}),t.kernelsByRef=function(e){return e.core.entities.kernels.byRef}),m=(t.kernel=function(e,t){var n=t.kernelRef;return h(e).get(n)},t.currentKernelRef=function(e){return e.core.kernelRef}),b=t.currentKernel=(0,o.createSelector)(m,h,function(e,t){return e?t.get(e):null}),g=t.currentKernelType=(0,o.createSelector)([b],function(e){return e&&e.type?e.type:null}),y=(t.currentKernelStatus=(0,o.createSelector)([b],function(e){return e&&e.status?e.status:"not connected"}),t.currentHostType=(0,o.createSelector)([l],function(e){return e&&e.type?e.type:null})),v=(t.isCurrentKernelZeroMQ=(0,o.createSelector)([y,g],function(e,t){return"local"===e&&"zeromq"===t}),t.isCurrentHostJupyter=(0,o.createSelector)([y],function(e){return"jupyter"===e}),t.isCurrentKernelJupyterWebsocket=(0,o.createSelector)([y,g],function(e,t){return"jupyter"===e&&"websocket"===t}),t.comms=(0,o.createSelector)(function(e){return e.comms},s));t.models=(0,o.createSelector)([v],function(e){return e.get("models")}),t.currentModel=(0,o.createSelector)(function(e){return d(e)},function(e){return e?e.model:(0,i.makeEmptyModel)()}),t.currentContentType=(0,o.createSelector)(function(e){return d(e)},function(e){return e?e.type:null}),t.currentLastSaved=(0,o.createSelector)(function(e){return d(e)},function(e){return e?e.lastSaved:null}),t.currentFilepath=(0,o.createSelector)(function(e){return d(e)},function(e){return e?e.filepath:""}),t.modalType=(0,o.createSelector)(function(e){return e.core.entities.modals.modalType},s),t.currentTheme=(0,o.createSelector)(function(e){return e.config.get("theme","light")},s),t.notificationSystem=(0,o.createSelector)(function(e){return e.app.get("notificationSystem")},s)},"./node_modules/@nteract/core/lib/selectors/notebook.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.displayName=t.codeMirrorMode=t.asString=t.asJSON=t.isDirty=t.savedNotebook=t.notebook=t.gistId=t.githubUsername=t.metadata=t.codeCellIds=t.transientCellMap=t.idsOfHiddenOutputs=t.hiddenCellIds=t.codeCellIdsBelow=t.editorFocusedId=t.cellFocused=t.cellOrder=t.cellById=t.cellMap=void 0;var r=a(n("./node_modules/immutable/dist/immutable.es.js")),o=a(n("./node_modules/@nteract/commutable/lib/index.js")),i=n("./node_modules/reselect/lib/index.js");function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var s=t.cellMap=function(e){return e.notebook.get("cellMap",r.Map())},l=(t.cellById=function(e,t){var n=t.id;return s(e).get(n)},t.cellOrder=function(e){return e.notebook.get("cellOrder",r.List())}),u=(t.cellFocused=function(e){return e.cellFocused},t.editorFocusedId=function(e){return e.editorFocused},t.codeCellIdsBelow=function(e){var t=e.cellFocused;if(!t)return r.List();var n=e.notebook.get("cellOrder",r.List()),o=n.indexOf(t);return n.skip(o).filter(function(t){return"code"===e.notebook.getIn(["cellMap",t,"cell_type"])})},t.hiddenCellIds=(0,i.createSelector)([s,l],function(e,t){return t.filter(function(t){return e.getIn([t,"metadata","inputHidden"])})}),t.idsOfHiddenOutputs=(0,i.createSelector)([s,l],function(e,t){return t&&e?t.filter(function(t){return e.getIn([t,"metadata","outputHidden"])}):r.List()}),t.transientCellMap=function(e){return e.transient.get("cellMap",r.Map())},t.codeCellIds=(0,i.createSelector)([s,l],function(e,t){return t.filter(function(t){return"code"===e.getIn([t,"cell_type"])})}),t.metadata=function(e){return e.notebook.get("metadata",r.Map())}),c=(t.githubUsername=(0,i.createSelector)([u],function(e){return e.get("github_username",null)}),t.gistId=(0,i.createSelector)([u],function(e){return e.get("gist_id",null)}),t.notebook=function(e){return e.notebook}),d=t.savedNotebook=function(e){return e.savedNotebook},p=(t.isDirty=(0,i.createSelector)(c,d,function(e,t){return!r.is(e,t)}),t.asJSON=(0,i.createSelector)([c],function(e){return o.toJS(e)}));t.asString=(0,i.createSelector)([p],function(e){return e?o.stringifyNotebook(e):""}),t.codeMirrorMode=(0,i.createSelector)(u,function(e){return e.getIn(["language_info","codemirror_mode"])||e.getIn(["kernel_info","language"])||e.getIn(["kernelspec","language"])||"text"}),t.displayName=(0,i.createSelector)([u],function(e){return e.getIn(["kernelspec","display_name"],"")})},"./node_modules/@nteract/core/lib/state/communication/contents.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeContentsCommunicationRecord=t.makeContentCommunicationRecord=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeContentCommunicationRecord=r.Record({loading:!1,saving:!1,error:null}),t.makeContentsCommunicationRecord=r.Record({byRef:r.Map()})},"./node_modules/@nteract/core/lib/state/communication/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCommunicationRecord=void 0;var r=n("./node_modules/@nteract/core/lib/state/communication/contents.js");Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n("./node_modules/@nteract/core/lib/state/communication/kernels.js");Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n("./node_modules/@nteract/core/lib/state/communication/kernelspecs.js");Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeCommunicationRecord=a.Record({contents:(0,r.makeContentsCommunicationRecord)(),kernels:(0,o.makeKernelsCommunicationRecord)(),kernelspecs:(0,i.makeKernelspecsCommunicationRecord)()})},"./node_modules/@nteract/core/lib/state/communication/kernels.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeKernelsCommunicationRecord=t.makeKernelCommunicationRecord=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeKernelCommunicationRecord=r.Record({loading:!1,error:null}),t.makeKernelsCommunicationRecord=r.Record({byRef:r.Map()})},"./node_modules/@nteract/core/lib/state/communication/kernelspecs.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeKernelspecsCommunicationRecord=t.makeKernelspecsByRefCommunicationRecord=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeKernelspecsByRefCommunicationRecord=r.Record({loading:!1,error:null}),t.makeKernelspecsCommunicationRecord=r.Record({byRef:r.Map()})},"./node_modules/@nteract/core/lib/state/entities/contents/directory.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeDirectoryContentRecord=t.makeDirectoryModel=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));var o=t.makeDirectoryModel=r.Record({type:"directory",items:r.List()});t.makeDirectoryContentRecord=r.Record({mimetype:null,type:"directory",created:null,format:"json",lastSaved:null,filepath:"",model:o()})},"./node_modules/@nteract/core/lib/state/entities/contents/dummy.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeDummyContentRecord=t.makeEmptyModel=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));var o=t.makeEmptyModel=r.Record({type:"unknown"});t.makeDummyContentRecord=r.Record({type:"dummy",mimetype:null,assumedType:"unknown",lastSaved:null,filepath:"",model:o()})},"./node_modules/@nteract/core/lib/state/entities/contents/file.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeFileContentRecord=t.makeFileModelRecord=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));var o=t.makeFileModelRecord=r.Record({type:"file",text:""});t.makeFileContentRecord=r.Record({type:"file",mimetype:null,created:null,format:"json",lastSaved:null,filepath:"",model:o()})},"./node_modules/@nteract/core/lib/state/entities/contents/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeContentsRecord=void 0;var r=n("./node_modules/@nteract/core/lib/state/entities/contents/notebook.js");Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n("./node_modules/@nteract/core/lib/state/entities/contents/directory.js");Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n("./node_modules/@nteract/core/lib/state/entities/contents/dummy.js");Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n("./node_modules/@nteract/core/lib/state/entities/contents/file.js");Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeContentsRecord=s.Record({byRef:s.Map()})},"./node_modules/@nteract/core/lib/state/entities/contents/notebook.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeNotebookContentRecord=t.makeDocumentRecord=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js")),o=n("./node_modules/@nteract/commutable/lib/index.js");var i=t.makeDocumentRecord=r.Record({type:"notebook",notebook:o.emptyNotebook,savedNotebook:o.emptyNotebook,transient:r.Map({keyPathsForDisplays:r.Map()}),cellPagers:r.Map(),editorFocused:null,cellFocused:null,copied:r.Map(),kernelRef:null});t.makeNotebookContentRecord=r.Record({mimetype:null,created:null,format:"json",lastSaved:null,model:i(),filepath:"",type:"notebook",writable:!0})},"./node_modules/@nteract/core/lib/state/entities/hosts.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeHostsRecord=t.makeLocalHostRecord=t.makeJupyterHostRecord=t.makeEmptyHostRecord=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeEmptyHostRecord=r.Record({type:"empty"}),t.makeJupyterHostRecord=r.Record({type:"jupyter",id:null,defaultKernelName:"python",token:null,origin:"undefined"==typeof location?"":location.origin,basePath:"/",crossDomain:!1}),t.makeLocalHostRecord=r.Record({type:"local",id:null,defaultKernelName:"python"}),t.makeHostsRecord=r.Record({byRef:r.Map(),refs:r.List()})},"./node_modules/@nteract/core/lib/state/entities/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeEntitiesRecord=void 0;var r=n("./node_modules/@nteract/core/lib/state/entities/contents/index.js");Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n("./node_modules/@nteract/core/lib/state/entities/hosts.js");Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n("./node_modules/@nteract/core/lib/state/entities/kernels.js");Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n("./node_modules/@nteract/core/lib/state/entities/kernelspecs.js");Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=n("./node_modules/@nteract/core/lib/state/entities/modals.js");Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeEntitiesRecord=l.Record({contents:(0,r.makeContentsRecord)(),hosts:(0,o.makeHostsRecord)(),kernels:(0,i.makeKernelsRecord)(),kernelspecs:(0,a.makeKernelspecsRecord)(),modals:(0,s.makeModalsRecord)()})},"./node_modules/@nteract/core/lib/state/entities/kernel-info.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeHelpLinkRecord=void 0,t.makeKernelInfoRecord=function(e){return o(e)};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeHelpLinkRecord=r.Record({text:"",url:"#"});var o=r.Record({protocolVersion:"0.0.0",implementation:"",implementationVersion:"",banner:"",helpLinks:r.List(),languageName:"",languageVersion:"",mimetype:"",fileExtension:"",pygmentsLexer:"",codemirrorMode:"text/plain",nbconvertExporter:""})},"./node_modules/@nteract/core/lib/state/entities/kernels.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeKernelsRecord=t.makeRemoteKernelRecord=t.makeLocalKernelRecord=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js")),o=n("./node_modules/rxjs/Subject.js");t.makeLocalKernelRecord=r.Record({type:"zeromq",cwd:".",info:null,kernelSpecName:null,hostRef:null,lastActivity:null,channels:new o.Subject,status:null,spawn:null,connectionFile:null}),t.makeRemoteKernelRecord=r.Record({type:"websocket",info:null,cwd:".",id:null,kernelSpecName:null,hostRef:null,lastActivity:null,channels:new o.Subject,sessionId:null,status:null}),t.makeKernelsRecord=r.Record({byRef:r.Map()})},"./node_modules/@nteract/core/lib/state/entities/kernelspecs.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeKernelspecsRecord=t.makeKernelspecsByRefRecord=t.makeKernelspec=void 0;var r=n("./node_modules/immutable/dist/immutable.es.js");t.makeKernelspec=(0,r.Record)({name:"",argv:(0,r.List)(),env:(0,r.Map)(),interruptMode:null,language:"",displayName:"",metadata:(0,r.Map)(),resources:(0,r.Map)()}),t.makeKernelspecsByRefRecord=(0,r.Record)({hostRef:null,defaultKernelName:"python",byName:(0,r.Map)()}),t.makeKernelspecsRecord=(0,r.Record)({byRef:(0,r.Map)(),refs:(0,r.List)()})},"./node_modules/@nteract/core/lib/state/entities/modals.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeModalsRecord=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeModalsRecord=r.Record({modalType:""})},"./node_modules/@nteract/core/lib/state/ids.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.castToHostId=function(e){return e},t.castToKernelId=function(e){return e},t.castToSessionId=function(e){return e}},"./node_modules/@nteract/core/lib/state/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAppRecord=t.makeStateRecord=t.makeCommsRecord=void 0;var r=n("./node_modules/@nteract/core/lib/state/communication/index.js");Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n("./node_modules/@nteract/core/lib/state/entities/index.js");Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n("./node_modules/@nteract/core/lib/state/ids.js");Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n("./node_modules/@nteract/core/lib/state/refs.js");Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/immutable/dist/immutable.es.js"));t.makeCommsRecord=s.Record({targets:new s.Map,info:new s.Map,models:new s.Map});var l=n("./node_modules/@nteract/core/package.json").version;t.makeStateRecord=s.Record({kernelRef:null,currentContentRef:null,currentKernelspecsRef:null,communication:(0,r.makeCommunicationRecord)(),entities:(0,o.makeEntitiesRecord)()}),t.makeAppRecord=s.Record({host:(0,o.makeEmptyHostRecord)(),githubToken:null,notificationSystem:{addNotification:function(e){var t=console.log.bind(console);switch(e.level){case"error":t=console.error.bind(console);break;case"warning":t=console.warn.bind(console)}t(e)}},isSaving:!1,lastSaved:null,configLastSaved:null,error:null,version:"@nteract/core@"+l})},"./node_modules/@nteract/core/lib/state/refs.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createContentRef=t.createKernelspecsRef=t.createKernelRef=t.createHostRef=void 0;var r,o=n("./node_modules/uuid/index.js"),i=(r=o)&&r.__esModule?r:{default:r};t.createHostRef=function(){return i.default.v4()},t.createKernelRef=function(){return i.default.v4()},t.createKernelspecsRef=function(){return i.default.v4()},t.createContentRef=function(){return i.default.v4()}},"./node_modules/@nteract/core/package.json":function(e,t){e.exports={name:"@nteract/core",version:"6.0.0",description:"core modules and components for nteract apps",main:"lib/index.js",nteractDesktop:"src/index.js",scripts:{prepare:"npm run build",prepublishOnly:"npm run build && npm run build:flow",build:"npm run build:clean && npm run build:lib","build:clean":"rimraf lib","build:flow":"flow-copy-source -v -i '**/__tests__/**' src lib","build:lib":"babel -d lib src --ignore '**/__tests__/**'","build:lib:watch":"npm run build:lib -- --watch","build:watch":"npm run build:clean && npm run build:lib:watch && npm run build:flow"},dependencies:{"@nteract/commutable":"^4.0.2","@nteract/messaging":"^4.0.0","escape-carriage":"^1.2.0","file-saver":"^1.3.3",redux:"^4.0.0","redux-immutable":"^4.0.0","redux-observable":"^0.18.0",reselect:"^3.0.1","rx-binder":"^2.0.1","rx-jupyter":"^3.1.0",rxjs:"^5.5.6","url-join":"^4.0.0",uuid:"^3.1.0"},peerDependencies:{immutable:"^4.0.0-rc.9"},publishConfig:{access:"public"},keywords:["nteract","redux"],author:"Kyle Kelley ",license:"BSD-3-Clause"}},"./node_modules/@nteract/display-area/lib/display.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SCROLL_HEIGHT=void 0;var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["isHidden","outputs"]);return t?null:i.default.createElement("div",{className:"cell_display",style:{maxHeight:o.expanded?"100%":c+"px",overflowY:"auto"}},n?n.map(function(e,t){return i.default.createElement(l.default,r({key:t,output:e},o))}):null)}}]),t}();d.defaultProps={transforms:a.transforms,displayOrder:a.displayOrder,isHidden:!1,expanded:!1,theme:"light",models:s.Map()},t.default=d},"./node_modules/@nteract/display-area/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Output=t.RichestMime=t.Display=void 0;var r=a(n("./node_modules/@nteract/display-area/lib/display.js")),o=a(n("./node_modules/@nteract/display-area/lib/richest-mime.js")),i=a(n("./node_modules/@nteract/display-area/lib/output.js"));function a(e){return e&&e.__esModule?e:{default:e}}t.Display=r.default,t.RichestMime=o.default,t.Output=i.default},"./node_modules/@nteract/display-area/lib/output.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=s(n("./node_modules/react/index.js")),o=s(n("./node_modules/ansi-to-react/lib/index.js")),i=n("./node_modules/@nteract/transforms/lib/index.js"),a=s(n("./node_modules/@nteract/display-area/lib/richest-mime.js"));function s(e){return e&&e.__esModule?e:{default:e}}var l="nteract-display-area-";function u(e){var t=e.output;switch(t.output_type){case"execute_result":case"display_data":var n=t.data,i=t.metadata;return r.default.createElement(a.default,{expanded:e.expanded,bundle:n,metadata:i,displayOrder:e.displayOrder,transforms:e.transforms,theme:e.theme,models:e.models});case"stream":var s=t.text,u=t.name;switch(u){case"stdout":case"stderr":return r.default.createElement(o.default,{className:l+u},s);default:return null}case"error":var c=t.traceback;return c?r.default.createElement(o.default,{className:l+"traceback"},c.join("\n")):r.default.createElement(o.default,{className:l+"traceback"},t.ename+": "+t.evalue);default:return null}}u.defaultProps={transforms:i.transforms,displayOrder:i.displayOrder}},"./node_modules/@nteract/display-area/lib/richest-mime.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n=55296&&o<=56319){var i=t.charCodeAt(r+1);i>=56320&&i<=57343&&(n--,r++)}}return n}function o(e,t){for(var n=e,r=0;r+1=55296&&o<=56319){var i=t.charCodeAt(r+1);i>=56320&&i<=57343&&(n++,r++)}}return n}Object.defineProperty(t,"__esModule",{value:!0}),1==="𝐚".length&&(t.char_idx_to_js_idx=o=t.js_idx_to_char_idx=r=function(e,t){return e}),t.char_idx_to_js_idx=o,t.js_idx_to_char_idx=r},"./node_modules/@nteract/editor/lib/jupyter/tooltip.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tooltipRequest=void 0,t.tooltipObservable=s,t.tool=function(e,t){var n=t.getCursor(),r=(0,a.js_idx_to_char_idx)(t.indexFromPos(n),t.getValue()),o=t.getValue(),i=l(o,r);return s(e,t,i)};var r=n("./node_modules/rxjs/Observable.js"),o=n("./node_modules/rxjs/operators.js"),i=n("./node_modules/@nteract/messaging/lib/index.js"),a=n("./node_modules/@nteract/editor/lib/jupyter/surrogate.js");function s(e,t,n){var a=e.pipe((0,i.childOf)(n),(0,i.ofMessageType)("inspect_reply"),(0,o.pluck)("content"),(0,o.first)(),(0,o.map)(function(e){return{dict:e.data}}));return r.Observable.create(function(t){var r=a.subscribe(t);return e.next(n),r})}var l=t.tooltipRequest=function(e,t){return(0,i.createMessage)("inspect_request",{content:{code:e,cursor_pos:t,detail_level:0}})}},"./node_modules/@nteract/editor/lib/mode/ipython.js":function(e,t,n){"use strict";var r,o=n("./node_modules/codemirror/lib/codemirror.js"),i=(r=o)&&r.__esModule?r:{default:r};n("./node_modules/codemirror/mode/meta.js"),n("./node_modules/codemirror/mode/python/python.js"),i.default.defineMode("ipython",function(e,t){var n=Object.assign({},t,{name:"python",singleOperators:new RegExp("^[\\+\\-\\*/%&|@\\^~<>!\\?]"),identifiers:new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*")});return i.default.getMode(e,n)},"python"),i.default.defineMIME("text/x-ipython","ipython")},"./node_modules/@nteract/editor/lib/styles.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new String('.CodeMirror{height:100%;}.CodeMirror-hint{padding-left:0;border-bottom:none;}.completion-type{background:transparent;border:transparent 1px solid;width:17px;height:17px;margin:0;padding:0;display:inline-block;margin-right:5px;top:18px;}.completion-type:before{content:"?";bottom:1px;left:4px;position:relative;}.completion-type-keyword:before{content:"K";}.completion-type-keyword{background-color:darkred;}.completion-type-class:before{content:"C";}.completion-type-class{background-color:blueviolet;}.completion-type-module:before{content:"M";}.completion-type-module{background-color:chocolate;}.completion-type-statement:before{content:"S";}.completion-type-statement{background-color:forestgreen;}.completion-type-function:before{content:"ƒ";}.completion-type-function{background-color:yellowgreen;}.completion-type-instance:before{content:"I";}.completion-type-instance{background-color:teal;}.completion-type-null:before{content:"ø";}.completion-type-null{background-color:black;}.CodeMirror{font-family:"Source Code Pro";font-size:14px;line-height:20px;height:auto;background:none;}.CodeMirror-cursor{border-left-width:1px;border-left-style:solid;border-left-color:var(--cm-color,black);}.CodeMirror-scroll{overflow-x:auto !important;overflow-y:hidden !important;width:100%;}.CodeMirror-lines{padding:0.4em;}.CodeMirror-linenumber{padding:0 8px 0 4px;}.CodeMirror-gutters{border-top-left-radius:2px;border-bottom-left-radius:2px;}.cm-s-composition.CodeMirror{font-family:"Source Code Pro",monospace;-webkit-letter-spacing:0.3px;-moz-letter-spacing:0.3px;-ms-letter-spacing:0.3px;letter-spacing:0.3px;word-spacing:0px;background:var(--cm-background,#fafafa);color:var(--cm-color,black);}.cm-s-composition .CodeMirror-lines{padding:10px;}.cm-s-composition .CodeMirror-gutters{background-color:var(--cm-gutter-bg,white);padding-right:10px;z-index:3;border:none;}.cm-s-composition span.cm-comment{color:var(--cm-comment,#a86);}.cm-s-composition span.cm-keyword{line-height:1em;font-weight:bold;color:var(--cm-keyword,blue);}.cm-s-composition span.cm-string{color:var(--cm-string,#a22);}.cm-s-composition span.cm-builtin{line-height:1em;font-weight:bold;color:var(--cm-builtin,#077);}.cm-s-composition span.cm-special{line-height:1em;font-weight:bold;color:var(--cm-special,#0aa);}.cm-s-composition span.cm-variable{color:var(--cm-variable,black);}.cm-s-composition span.cm-number,.cm-s-composition span.cm-atom{color:var(--cm-number,#3a3);}.cm-s-composition span.cm-meta{color:var(--cm-meta,#555);}.cm-s-composition span.cm-link{color:var(--cm-link,#3a3);}.cm-s-composition span.cm-operator{color:var(--cm-operator,black);}.cm-s-composition span.cm-def{color:var(--cm-def,black);}.cm-s-composition .CodeMirror-activeline-background{background:var(--cm-activeline-bg,#e8f2ff);}.cm-s-composition .CodeMirror-matchingbracket{border-bottom:1px solid var(--cm-matchingbracket-outline,grey);color:var(--cm-matchingbracket-color,black) !important;}.CodeMirror-hints{-webkit-box-shadow:2px 3px 5px rgba(0,0,0,0.2);-moz-box-shadow:2px 3px 5px rgba(0,0,0,0.2);box-shadow:2px 3px 5px rgba(0,0,0,0.2);border-radius:0px;border:none;padding:0;background:var(--cm-hint-bg,white);font-size:90%;font-family:"Source Code Pro",monospace;z-index:9001;overflow-y:auto;}.CodeMirror-hint{border-radius:0px;white-space:pre;cursor:pointer;color:var(--cm-hint-color,black);}li.CodeMirror-hint-active{background:var(--cm-hint-bg-active,#abd1ff);color:var(--cm-hint-color-active,black);}.initialTextAreaForCodeMirror{font-family:"Source Code Pro","Monaco",monospace;font-size:14px;line-height:20px;height:inherit;background:none;border:none;overflow:hidden;-webkit-scrollbar:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;width:100%;resize:none;padding:10px 0 5px 10px;-webkit-letter-spacing:0.3px;-moz-letter-spacing:0.3px;-ms-letter-spacing:0.3px;letter-spacing:0.3px;word-spacing:0px;}.initialTextAreaForCodeMirror:focus{outline:none;border:none;}');r.__hash="1801114461",r.__scoped='.CodeMirror{height:100%;}.CodeMirror-hint{padding-left:0;border-bottom:none;}.completion-type{background:transparent;border:transparent 1px solid;width:17px;height:17px;margin:0;padding:0;display:inline-block;margin-right:5px;top:18px;}.completion-type:before{content:"?";bottom:1px;left:4px;position:relative;}.completion-type-keyword:before{content:"K";}.completion-type-keyword{background-color:darkred;}.completion-type-class:before{content:"C";}.completion-type-class{background-color:blueviolet;}.completion-type-module:before{content:"M";}.completion-type-module{background-color:chocolate;}.completion-type-statement:before{content:"S";}.completion-type-statement{background-color:forestgreen;}.completion-type-function:before{content:"ƒ";}.completion-type-function{background-color:yellowgreen;}.completion-type-instance:before{content:"I";}.completion-type-instance{background-color:teal;}.completion-type-null:before{content:"ø";}.completion-type-null{background-color:black;}.CodeMirror{font-family:"Source Code Pro";font-size:14px;line-height:20px;height:auto;background:none;}.CodeMirror-cursor{border-left-width:1px;border-left-style:solid;border-left-color:var(--cm-color,black);}.CodeMirror-scroll{overflow-x:auto !important;overflow-y:hidden !important;width:100%;}.CodeMirror-lines{padding:0.4em;}.CodeMirror-linenumber{padding:0 8px 0 4px;}.CodeMirror-gutters{border-top-left-radius:2px;border-bottom-left-radius:2px;}.cm-s-composition.CodeMirror{font-family:"Source Code Pro",monospace;-webkit-letter-spacing:0.3px;-moz-letter-spacing:0.3px;-ms-letter-spacing:0.3px;letter-spacing:0.3px;word-spacing:0px;background:var(--cm-background,#fafafa);color:var(--cm-color,black);}.cm-s-composition .CodeMirror-lines{padding:10px;}.cm-s-composition .CodeMirror-gutters{background-color:var(--cm-gutter-bg,white);padding-right:10px;z-index:3;border:none;}.cm-s-composition span.cm-comment{color:var(--cm-comment,#a86);}.cm-s-composition span.cm-keyword{line-height:1em;font-weight:bold;color:var(--cm-keyword,blue);}.cm-s-composition span.cm-string{color:var(--cm-string,#a22);}.cm-s-composition span.cm-builtin{line-height:1em;font-weight:bold;color:var(--cm-builtin,#077);}.cm-s-composition span.cm-special{line-height:1em;font-weight:bold;color:var(--cm-special,#0aa);}.cm-s-composition span.cm-variable{color:var(--cm-variable,black);}.cm-s-composition span.cm-number,.cm-s-composition span.cm-atom{color:var(--cm-number,#3a3);}.cm-s-composition span.cm-meta{color:var(--cm-meta,#555);}.cm-s-composition span.cm-link{color:var(--cm-link,#3a3);}.cm-s-composition span.cm-operator{color:var(--cm-operator,black);}.cm-s-composition span.cm-def{color:var(--cm-def,black);}.cm-s-composition .CodeMirror-activeline-background{background:var(--cm-activeline-bg,#e8f2ff);}.cm-s-composition .CodeMirror-matchingbracket{border-bottom:1px solid var(--cm-matchingbracket-outline,grey);color:var(--cm-matchingbracket-color,black) !important;}.CodeMirror-hints{-webkit-box-shadow:2px 3px 5px rgba(0,0,0,0.2);-moz-box-shadow:2px 3px 5px rgba(0,0,0,0.2);box-shadow:2px 3px 5px rgba(0,0,0,0.2);border-radius:0px;border:none;padding:0;background:var(--cm-hint-bg,white);font-size:90%;font-family:"Source Code Pro",monospace;z-index:9001;overflow-y:auto;}.CodeMirror-hint{border-radius:0px;white-space:pre;cursor:pointer;color:var(--cm-hint-color,black);}li.CodeMirror-hint-active{background:var(--cm-hint-bg-active,#abd1ff);color:var(--cm-hint-color-active,black);}.initialTextAreaForCodeMirror.jsx-655331036{font-family:"Source Code Pro","Monaco",monospace;font-size:14px;line-height:20px;height:inherit;background:none;border:none;overflow:hidden;-webkit-scrollbar:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;width:100%;resize:none;padding:10px 0 5px 10px;-webkit-letter-spacing:0.3px;-moz-letter-spacing:0.3px;-ms-letter-spacing:0.3px;letter-spacing:0.3px;word-spacing:0px;}.initialTextAreaForCodeMirror.jsx-655331036:focus{outline:none;border:none;}',r.__scopedHash="655331036",t.default=r},"./node_modules/@nteract/editor/lib/vendored/codemirror.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new String('.CodeMirror{font-family:monospace;height:100%;color:black;direction:ltr;}.CodeMirror-lines{padding:4px 0;}.CodeMirror pre{padding:0 4px;}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:white;}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap;}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap;}.CodeMirror-guttermarker{color:black;}.CodeMirror-guttermarker-subtle{color:#999;}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0;}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver;}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0 !important;background:#7e7;}.cm-fat-cursor div.CodeMirror-cursors{z-index:1;}.cm-fat-cursor-mark{background-color:rgba(20,255,20,0.5);-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7;}@-moz-keyframes blink{50%{background-color:transparent;}}@-webkit-keyframes blink{50%{background-color:transparent;}}@-webkit-keyframes blink{50%{background-color:transparent;}}@keyframes blink{50%{background-color:transparent;}}.cm-tab{display:inline-block;-webkit-text-decoration:inherit;text-decoration:inherit;}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden;}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute;}.cm-s-default .cm-header{color:blue;}.cm-s-default .cm-quote{color:#090;}.cm-negative{color:#d44;}.cm-positive{color:#292;}.cm-header,.cm-strong{font-weight:bold;}.cm-em{font-style:italic;}.cm-link{-webkit-text-decoration:underline;text-decoration:underline;}.cm-strikethrough{-webkit-text-decoration:line-through;text-decoration:line-through;}.cm-s-default .cm-keyword{color:#708;}.cm-s-default .cm-atom{color:#219;}.cm-s-default .cm-number{color:#164;}.cm-s-default .cm-def{color:#00f;}.cm-s-default .cm-variable-2{color:#05a;}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085;}.cm-s-default .cm-comment{color:#a50;}.cm-s-default .cm-string{color:#a11;}.cm-s-default .cm-string-2{color:#f50;}.cm-s-default .cm-meta{color:#555;}.cm-s-default .cm-qualifier{color:#555;}.cm-s-default .cm-builtin{color:#30a;}.cm-s-default .cm-bracket{color:#997;}.cm-s-default .cm-tag{color:#170;}.cm-s-default .cm-attribute{color:#00c;}.cm-s-default .cm-hr{color:#999;}.cm-s-default .cm-link{color:#00c;}.cm-s-default .cm-error{color:#f00;}.cm-invalidchar{color:#f00;}.CodeMirror-composing{border-bottom:2px solid;}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0;}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22;}.CodeMirror-matchingtag{background:rgba(255,150,0,0.3);}.CodeMirror-activeline-background{background:#e8f2ff;}.CodeMirror{position:relative;overflow:hidden;background:white;}.CodeMirror-scroll{overflow:scroll !important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative;}.CodeMirror-sizer{position:relative;border-right:30px solid transparent;}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll;}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll;}.CodeMirror-scrollbar-filler{right:0;bottom:0;}.CodeMirror-gutter-filler{left:0;bottom:0;}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3;}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px;}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none !important;border:none !important;}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4;}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4;}.CodeMirror-gutter-wrapper ::selection{background-color:transparent;}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent;}.CodeMirror-lines{cursor:text;min-height:1px;}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal;}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0;}.CodeMirror-linewidget{position:relative;z-index:2;padding:0.1px;}.CodeMirror-rtl pre{direction:rtl;}.CodeMirror-code{outline:none;}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{-moz-box-sizing:content-box;box-sizing:content-box;}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden;}.CodeMirror-cursor{position:absolute;pointer-events:none;}.CodeMirror-measure pre{position:static;}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3;}div.CodeMirror-dragcursors{visibility:visible;}.CodeMirror-focused div.CodeMirror-cursors{visibility:visible;}.CodeMirror-selected{background:#d9d9d9;}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0;}.CodeMirror-crosshair{cursor:crosshair;}.CodeMirror-line::selection,.CodeMirror-line > span::selection,.CodeMirror-line > span > span::selection{background:#d7d4f0;}.CodeMirror-line::-moz-selection,.CodeMirror-line > span::-moz-selection,.CodeMirror-line > span > span::-moz-selection{background:#d7d4f0;}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,0.4);}.cm-force-border{padding-right:0.1px;}.cm-tab-wrap-hack:after{content:"";}span.CodeMirror-selectedtext{background:none;}');r.__hash="2766112405",r.__scoped='.CodeMirror{font-family:monospace;height:100%;color:black;direction:ltr;}.CodeMirror-lines{padding:4px 0;}.CodeMirror pre{padding:0 4px;}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:white;}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap;}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap;}.CodeMirror-guttermarker{color:black;}.CodeMirror-guttermarker-subtle{color:#999;}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0;}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver;}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0 !important;background:#7e7;}.cm-fat-cursor div.CodeMirror-cursors{z-index:1;}.cm-fat-cursor-mark{background-color:rgba(20,255,20,0.5);-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;-webkit-animation:blink-jsx-3767177876 1.06s steps(1) infinite;animation:blink-jsx-3767177876 1.06s steps(1) infinite;}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;-webkit-animation:blink-jsx-3767177876 1.06s steps(1) infinite;animation:blink-jsx-3767177876 1.06s steps(1) infinite;background-color:#7e7;}@-moz-keyframes blink{50%.jsx-3767177876{background-color:transparent;}}@-webkit-keyframes blink{50%.jsx-3767177876{background-color:transparent;}}@-webkit-keyframes blink-jsx-3767177876{50%{background-color:transparent;}}@keyframes blink-jsx-3767177876{50%{background-color:transparent;}}.cm-tab{display:inline-block;-webkit-text-decoration:inherit;text-decoration:inherit;}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden;}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute;}.cm-s-default .cm-header{color:blue;}.cm-s-default .cm-quote{color:#090;}.cm-negative{color:#d44;}.cm-positive{color:#292;}.cm-header,.cm-strong{font-weight:bold;}.cm-em{font-style:italic;}.cm-link{-webkit-text-decoration:underline;text-decoration:underline;}.cm-strikethrough{-webkit-text-decoration:line-through;text-decoration:line-through;}.cm-s-default .cm-keyword{color:#708;}.cm-s-default .cm-atom{color:#219;}.cm-s-default .cm-number{color:#164;}.cm-s-default .cm-def{color:#00f;}.cm-s-default .cm-variable-2{color:#05a;}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085;}.cm-s-default .cm-comment{color:#a50;}.cm-s-default .cm-string{color:#a11;}.cm-s-default .cm-string-2{color:#f50;}.cm-s-default .cm-meta{color:#555;}.cm-s-default .cm-qualifier{color:#555;}.cm-s-default .cm-builtin{color:#30a;}.cm-s-default .cm-bracket{color:#997;}.cm-s-default .cm-tag{color:#170;}.cm-s-default .cm-attribute{color:#00c;}.cm-s-default .cm-hr{color:#999;}.cm-s-default .cm-link{color:#00c;}.cm-s-default .cm-error{color:#f00;}.cm-invalidchar{color:#f00;}.CodeMirror-composing{border-bottom:2px solid;}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0;}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22;}.CodeMirror-matchingtag{background:rgba(255,150,0,0.3);}.CodeMirror-activeline-background{background:#e8f2ff;}.CodeMirror{position:relative;overflow:hidden;background:white;}.CodeMirror-scroll{overflow:scroll !important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative;}.CodeMirror-sizer{position:relative;border-right:30px solid transparent;}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll;}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll;}.CodeMirror-scrollbar-filler{right:0;bottom:0;}.CodeMirror-gutter-filler{left:0;bottom:0;}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3;}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px;}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none !important;border:none !important;}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4;}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4;}.CodeMirror-gutter-wrapper ::selection{background-color:transparent;}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent;}.CodeMirror-lines{cursor:text;min-height:1px;}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal;}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0;}.CodeMirror-linewidget{position:relative;z-index:2;padding:0.1px;}.CodeMirror-rtl pre{direction:rtl;}.CodeMirror-code{outline:none;}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{-moz-box-sizing:content-box;box-sizing:content-box;}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden;}.CodeMirror-cursor{position:absolute;pointer-events:none;}.CodeMirror-measure pre{position:static;}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3;}div.CodeMirror-dragcursors{visibility:visible;}.CodeMirror-focused div.CodeMirror-cursors{visibility:visible;}.CodeMirror-selected{background:#d9d9d9;}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0;}.CodeMirror-crosshair{cursor:crosshair;}.CodeMirror-line::selection,.CodeMirror-line > span::selection,.CodeMirror-line > span > span::selection{background:#d7d4f0;}.CodeMirror-line::-moz-selection,.CodeMirror-line > span::-moz-selection,.CodeMirror-line > span > span::-moz-selection{background:#d7d4f0;}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,0.4);}.cm-force-border{padding-right:0.1px;}.cm-tab-wrap-hack:after{content:"";}span.CodeMirror-selectedtext{background:none;}',r.__scopedHash="3767177876",t.default=r},"./node_modules/@nteract/editor/lib/vendored/show-hint.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new String(".CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;-webkit-box-shadow:2px 3px 5px rgba(0,0,0,0.2);-moz-box-shadow:2px 3px 5px rgba(0,0,0,0.2);box-shadow:2px 3px 5px rgba(0,0,0,0.2);border-radius:3px;border:1px solid silver;background:white;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto;}.CodeMirror-hint{margin:0;padding:0 4px;border-radius:2px;white-space:pre;color:black;cursor:pointer;}li.CodeMirror-hint-active{background:#08f;color:white;}");r.__hash="1267310007",r.__scoped=".CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;-webkit-box-shadow:2px 3px 5px rgba(0,0,0,0.2);-moz-box-shadow:2px 3px 5px rgba(0,0,0,0.2);box-shadow:2px 3px 5px rgba(0,0,0,0.2);border-radius:3px;border:1px solid silver;background:white;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto;}.CodeMirror-hint{margin:0;padding:0 4px;border-radius:2px;white-space:pre;color:black;cursor:pointer;}li.CodeMirror-hint-active{background:#08f;color:white;}",r.__scopedHash="4164088566",t.default=r},"./node_modules/@nteract/markdown/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=d)){for(f="";x<_&&(p=t.charAt(x))===o;)f+=p,x++;if(b+=f,g+=f,!(f.length0&&void 0!==arguments[0]?arguments[0]:{};o.default.call(this,e),r.default.call(this,e)}t.default=a},"./node_modules/@nteract/markdown/lib/remark-math/inline.js":function(e,t,n){"use strict";function r(e,t){return e.indexOf("$",t)}Object.defineProperty(t,"__esModule",{value:!0}),t.inlinePlugin=s;var o=/^\\\$/,i=/^\$((?:\\\$|[^$])+)\$/,a=/^\$\$((?:\\\$|[^$])+)\$\$/;function s(e){function t(e,t,n){var r=!0,s=a.exec(t);s||(s=i.exec(t),r=!1);var l=o.exec(t);if(l)return!!n||e(l[0])({type:"text",value:"$"});if("\\$"===t.slice(-2))return e(t)({type:"text",value:t.slice(0,-2)+"$"});if(s){if(n)return!0;if(s[0].includes("`")&&t.slice(s[0].length).includes("`")){var u=t.slice(0,t.indexOf("`"));return e(u)({type:"text",value:u})}var c=s[1].trim();return r?e(s[0])({type:"math",value:c,data:{hName:"div",hProperties:{className:"math"},hChildren:[{type:"text",value:c}]}}):e(s[0])({type:"inlineMath",value:c,data:{hName:"span",hProperties:{className:"inlineMath"},hChildren:[{type:"text",value:c}]}})}}t.locator=r;var n=this.Parser,s=n.prototype.inlineTokenizers,l=n.prototype.inlineMethods;s.math=t,l.splice(l.indexOf("text"),0,"math");var u=this.Compiler;null!=u&&(u.prototype.visitors.inlineMath=function(e){return"$"+e.value+"$"})}t.default=s},"./node_modules/@nteract/mathjax/lib/context.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]&&arguments[0],t=this.context.MathJax;if(!t)throw Error("Could not find MathJax while attempting typeset! It's likely the MathJax script hasn't been loaded or MathJax.Context is not in the hierarchy");var n=this.props.children;e&&this.clear(),!e&&this.script||this.setScriptText(n),t.Hub.Queue(t.Hub.Reprocess(this.script,this.props.onRender))}},{key:"setScriptText",value:function(e){var t=this.props.inline,n=l[this.context.input];this.script||(this.script=document.createElement("script"),this.script.type="math/"+n+"; "+(t?"":"mode=display"),this.refs.node.appendChild(this.script)),this.script&&("text"in this.script?this.script.text=e:this.script.textContent=e)}},{key:"render",value:function(){return i.createElement("span",{ref:"node"})}}]),t}();u.defaultProps={inline:!1,onRender:null},u.contextTypes={MathJax:s.default.object,input:s.default.string},t.default=u},"./node_modules/@nteract/mathjax/lib/text.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return r({},(0,o.message)({msg_type:e}),t)},t.createExecuteRequest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,o.executeRequest)(e,{})},t.convertOutputMessageToNotebookFormat=u;var o=n("./node_modules/@nteract/messaging/lib/messages.js");Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n("./node_modules/rxjs/Observable.js"),a=(n("./node_modules/rxjs/observable/of.js"),n("./node_modules/rxjs/observable/from.js")),s=(n("./node_modules/rxjs/observable/merge.js"),n("./node_modules/rxjs/observable/throw.js"),n("./node_modules/rxjs/operators.js"));t.childOf=function(e){return function(t){var n=e.header.msg_id;return new i.Observable(function(e){return t.subscribe(function(t){t&&t.parent_header&&t.parent_header.msg_id?n===t.parent_header.msg_id&&e.next(t):"true"===process.env.DEBUG&&console.warn("no parent_header.msg_id on message",t)},function(t){return e.error(t)},function(){return e.complete()})})}};var l=t.ofMessageType=function e(){for(var t=arguments.length,n=Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i("execute_request");return{header:(a="execute_request",{msg_id:o.v4(),date:(new Date).toISOString(),version:"5.2",msg_type:a,username:"nteract",session:o.v4()}),metadata:{},parent_header:{},content:r({code:e,silent:!1,store_history:!0,user_expressions:{},allow_stdin:!1,stop_on_error:!1},t),channel:n,buffers:[]};var a},t.displayData=s,t.updateDisplayData=function(e){var t=s(e);return t.header.msg_type="update_display_data",t},t.executeResult=function(e){var t=s(e);return t.header.msg_type="execute_result",t.content.execution_count=e.execution_count,t},t.error=function(e){return a({msg_type:"error"},r({ename:"",evalue:"",traceback:[]},e))},t.stream=function(e){return a({msg_type:"stream"},e)},t.executeReply=function(e){return a({msg_type:"execute_reply"},e)},t.status=function(e){return a({msg_type:"status"},{execution_state:e})},t.clearOutput=function(e){return a({msg_type:"clear_output"},e)},t.executeInput=function(e){return a({msg_type:"execute_input"},e)},t.kernelInfoRequest=function(){return a({msg_type:"kernel_info_request"})},t.shutdownRequest=function(){return a({msg_type:"shutdown_request"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{restart:!1})};var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("./node_modules/uuid/index.js"));function i(e){switch(e){case"execute_request":case"inspect_request":case"kernel_info_request":case"complete_request":case"history_request":case"is_complete_request":case"comm_info_request":case"shutdown_request":return"shell";case"display_data":case"stream":case"update_display_data":case"execute_input":case"execute_result":case"error":case"status":case"clear_output":return"iopub";case"input_request":case"input_reply":return"stdin"}return"shell"}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i(e.msg_type);return{header:{msg_id:o.v4(),date:(new Date).toISOString(),version:"5.2",username:e.username||"nteract",msg_type:e.msg_type,session:e.session||o.v4()},metadata:{},parent_header:{},content:t,channel:n,buffers:[]}}function s(e){return a({msg_type:"display_data"},r({data:{},metadata:{},transient:{}},e))}},"./node_modules/@nteract/notebook-app-component/lib/cell-creator.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCellCreator=void 0;var r,o=function(){function e(e,t){for(var n=0;n.cell-creator.jsx-669020680{display:inline-block;}.octicon.jsx-669020680{-webkit-transition:color 0.5s;transition:color 0.5s;}"}))},p=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.createCell=e.createCell.bind(e),e.mergeCell=e.mergeCell.bind(e),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.Component),o(t,[{key:"createCell",value:function(e){var t=this.props,n=t.above,r=t.createCellAfter,o=t.createCellAppend,i=t.createCellBefore,a=t.id,s=t.contentRef;a?n?i({cellType:e,id:a,contentRef:s}):r({cellType:e,id:a,source:"",contentRef:s}):o({cellType:e,contentRef:s})}},{key:"mergeCell",value:function(){var e=this.props,t=e.mergeCellAfter,n=e.id,r=e.contentRef;n&&t({id:n,contentRef:r})}},{key:"render",value:function(){return s.createElement(d,{above:this.props.above,createCell:this.createCell,mergeCell:this.mergeCell})}}]),t}();t.default=(0,l.connect)(null,function(e){return{createCellAppend:function(t){return e(u.actions.createCellAppend(t))},createCellBefore:function(t){return e(u.actions.createCellBefore(t))},createCellAfter:function(t){return e(u.actions.createCellAfter(t))},mergeCellAfter:function(t){return e(u.actions.mergeCellAfter(t))}}})(p)},"./node_modules/@nteract/notebook-app-component/lib/draggable-cell.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n has to have a contentRef");var r=s.selectors.content(e,{contentRef:n}),o=s.selectors.model(e,{contentRef:n});if(!o||!r)throw new Error(" has to have content & model that are notebook types");if("dummy"===o.type||"unknown"===o.type)return{theme:s.selectors.userTheme(e),cellOrder:i.List(),transforms:t.transforms||_.transforms,displayOrder:t.displayOrder||_.displayOrder,codeMirrorMode:i.Map({name:"text/plain"}),kernelRef:null,contentRef:n};if("notebook"!==o.type)throw new Error(" has to have content & model that are notebook types");var a=s.selectors.currentKernelRef(e)||t.kernelRef||o.kernelRef,l=null;if(a){var u=s.selectors.kernel(e,{kernelRef:a});u&&(l=u.info)}var c=l?l.codemirrorMode:s.selectors.notebook.codeMirrorMode(o);return{theme:s.selectors.userTheme(e),cellOrder:s.selectors.notebook.cellOrder(o),transforms:t.transforms||_.transforms,displayOrder:t.displayOrder||_.displayOrder,codeMirrorMode:c,contentRef:n,kernelRef:a}},function(e){return{moveCell:function(t){return e(s.actions.moveCell(t))},focusCell:function(t){return e(s.actions.focusCell(t))},executeFocusedCell:function(t){return e(s.actions.executeFocusedCell(t))},focusNextCell:function(t){return e(s.actions.focusNextCell(t))},focusNextCellEditor:function(t){return e(s.actions.focusNextCellEditor(t))}}})(A)},"./node_modules/@nteract/notebook-app-component/lib/status-bar.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBar=void 0;var r=function(){function e(e,t){for(var n=0;ndiv.jsx-2145412815{display:inline-block;}.cell-toolbar.jsx-2145412815{background-color:var(--theme-cell-toolbar-bg);opacity:0.4;-webkit-transition:opacity 0.4s;transition:opacity 0.4s;}.cell-toolbar.jsx-2145412815:hover{opacity:1;}.cell-toolbar.jsx-2145412815 button.jsx-2145412815{display:inline-block;width:22px;height:20px;padding:0px 4px;text-align:center;border:none;outline:none;background:none;}.cell-toolbar.jsx-2145412815 button.jsx-2145412815 span.jsx-2145412815{font-size:15px;line-height:1;color:var(--theme-cell-toolbar-fg);}.cell-toolbar.jsx-2145412815 button.jsx-2145412815 span.jsx-2145412815:hover{color:var(--theme-cell-toolbar-fg-hover);}.cell-toolbar-mask.jsx-2145412815{display:none;position:absolute;top:0px;right:0px;z-index:9999;height:34px;padding:0px 0px 0px 50px;}.octicon.jsx-2145412815{-webkit-transition:color 0.5s;transition:color 0.5s;}"}))}}]),t}();p.defaultProps={type:"code"};t.default=(0,l.connect)(null,function(e,t){var n=t.id,r=t.type,o=t.contentRef;return{toggleParameterCell:function(){return e(u.actions.toggleParameterCell({id:n,contentRef:o}))},removeCell:function(){return e(u.actions.removeCell({id:n,contentRef:o}))},executeCell:function(){return e(u.actions.executeCell({id:n,contentRef:o}))},clearOutputs:function(){return e(u.actions.clearOutputs({id:n,contentRef:o}))},toggleCellOutputVisibility:function(){return e(u.actions.toggleCellOutputVisibility({id:n,contentRef:o}))},toggleCellInputVisibility:function(){return e(u.actions.toggleCellInputVisibility({id:n,contentRef:o}))},changeCellType:function(){return e(u.actions.changeCellType({id:n,to:"markdown"===r?"code":"markdown",contentRef:o}))},toggleOutputExpansion:function(){return e(u.actions.toggleOutputExpansion({id:n,contentRef:o}))}}})(p)},"./node_modules/@nteract/octicons/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Beaker=t.CloudDownload=t.FileDirectory=t.Book=t.FileText=t.TelescopeOcticon=t.DatabaseOcticon=t.PulseOcticon=t.GraphOcticon=t.LinkExternalOcticon=t.ChevronDownOcticon=t.TriangleRightOcticon=t.TrashOcticon=t.PinOcticon=t.DownArrowOcticon=t.CodeOcticon=t.MarkdownOcticon=t.SVGWrapper=void 0;var r,o=Object.assign||function(e){for(var t=1;t")},t.DatabaseOcticon=function(e){return s.default.createElement(l,{width:12,height:16,viewBox:"0 0 12 16",outerProps:e,__source:{fileName:i,lineNumber:131}},s.default.createElement("title",{__source:{fileName:i,lineNumber:132}},"Display Data Table"),s.default.createElement("path",{fillRule:"evenodd",d:"M6 15c-3.31 0-6-.9-6-2v-2c0-.17.09-.34.21-.5.67.86 3 1.5 5.79 1.5s5.12-.64 5.79-1.5c.13.16.21.33.21.5v2c0 1.1-2.69 2-6 2zm0-4c-3.31 0-6-.9-6-2V7c0-.11.04-.21.09-.31.03-.06.07-.13.12-.19C.88 7.36 3.21 8 6 8s5.12-.64 5.79-1.5c.05.06.09.13.12.19.05.1.09.21.09.31v2c0 1.1-2.69 2-6 2zm0-4c-3.31 0-6-.9-6-2V3c0-1.1 2.69-2 6-2s6 .9 6 2v2c0 1.1-2.69 2-6 2zm0-5c-2.21 0-4 .45-4 1s1.79 1 4 1 4-.45 4-1-1.79-1-4-1z",__source:{fileName:i,lineNumber:133}}))},t.TelescopeOcticon=function(e){return s.default.createElement(l,{width:14,height:16,viewBox:"0 0 14 16",outerProps:e,__source:{fileName:i,lineNumber:141}},s.default.createElement("title",{__source:{fileName:i,lineNumber:142}},"Display Scatter Plot"),s.default.createElement("path",{fillRule:"evenodd",d:"M8 9l3 6h-1l-2-4v5H7v-6l-2 5H4l2-5 2-1zM7 0H6v1h1V0zM5 3H4v1h1V3zM2 1H1v1h1V1zM.63 9a.52.52 0 0 0-.16.67l.55.92c.13.23.41.31.64.2l1.39-.66-1.16-2-1.27.86.01.01zm7.89-5.39l-5.8 3.95L3.95 9.7l6.33-3.03-1.77-3.06h.01zm4.22 1.28l-1.47-2.52a.51.51 0 0 0-.72-.17l-1.2.83 1.84 3.2 1.33-.64c.27-.13.36-.44.22-.7z",__source:{fileName:i,lineNumber:143}}))},t.FileText=function(e){return s.default.createElement(l,{width:12,height:16,viewBox:"0 0 12 16",outerProps:e,__source:{fileName:i,lineNumber:151}},s.default.createElement("title",{__source:{fileName:i,lineNumber:152}},"File"),s.default.createElement("path",{d:"M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z",__source:{fileName:i,lineNumber:153}}))},t.Book=function(e){return s.default.createElement(l,{width:16,height:16,viewBox:"0 0 16 16",outerProps:e,__source:{fileName:i,lineNumber:158}},s.default.createElement("title",{__source:{fileName:i,lineNumber:159}},"Notebook"),s.default.createElement("path",{fillRule:"evenodd",d:"M3 5h4v1H3V5zm0 3h4V7H3v1zm0 2h4V9H3v1zm11-5h-4v1h4V5zm0 2h-4v1h4V7zm0 2h-4v1h4V9zm2-6v9c0 .55-.45 1-1 1H9.5l-1 1-1-1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h5.5l1 1 1-1H15c.55 0 1 .45 1 1zm-8 .5L7.5 3H2v9h6V3.5zm7-.5H9.5l-.5.5V12h6V3z",__source:{fileName:i,lineNumber:160}}))},t.FileDirectory=function(e){return s.default.createElement(l,{width:14,height:16,viewBox:"0 0 14 16",outerProps:e,__source:{fileName:i,lineNumber:168}},s.default.createElement("title",{__source:{fileName:i,lineNumber:169}},"Directory"),s.default.createElement("path",{fillRule:"evenodd",d:"M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z",__source:{fileName:i,lineNumber:170}}))},t.CloudDownload=function(e){return s.default.createElement(l,{width:16,height:16,viewBox:"0 0 16 16",outerProps:e,__source:{fileName:i,lineNumber:178}},s.default.createElement("title",{__source:{fileName:i,lineNumber:179}},"Cloud Download"),s.default.createElement("path",{fillRule:"evenodd",d:"M9 12h2l-3 3-3-3h2V7h2v5zm3-8c0-.44-.91-3-4.5-3C5.08 1 3 2.92 3 5 1.02 5 0 6.52 0 8c0 1.53 1 3 3 3h3V9.7H3C1.38 9.7 1.3 8.28 1.3 8c0-.17.05-1.7 1.7-1.7h1.3V5c0-1.39 1.56-2.7 3.2-2.7 2.55 0 3.13 1.55 3.2 1.8v1.2H12c.81 0 2.7.22 2.7 2.2 0 2.09-2.25 2.2-2.7 2.2h-2V11h2c2.08 0 4-1.16 4-3.5C16 5.06 14.08 4 12 4z",__source:{fileName:i,lineNumber:180}}))},t.Beaker=function(e){return s.default.createElement(l,{width:16,height:16,viewBox:"0 0 16 16",outerProps:e,__source:{fileName:i,lineNumber:188}},s.default.createElement("title",{__source:{fileName:i,lineNumber:189}},"Experimental Data Explorer"),s.default.createElement("path",{fillRule:"evenodd",d:"M14.38 14.59L11 7V3h1V2H3v1h1v4L.63 14.59A1 1 0 0 0 1.54 16h11.94c.72 0 1.2-.75.91-1.41h-.01zM3.75 10L5 7V3h5v4l1.25 3h-7.5zM8 8h1v1H8V8zM7 7H6V6h1v1zm0-3h1v1H7V4zm0-3H6V0h1v1z",__source:{fileName:i,lineNumber:190}}))}},"./node_modules/@nteract/presentational-components/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cells=t.Cell=t.Input=t.Source=t.Prompt=t.PromptBuffer=t.Outputs=t.Pagers=t.themes=void 0;var r=function(){function e(e,t){for(var n=0;ndiv:empty{display:none;}.outputs.jsx-2230648903 code{font-family:"Source Code Pro";white-space:pre-wrap;font-size:14px;}.outputs.jsx-2230648903 pre{white-space:pre-wrap;font-size:14px;word-wrap:break-word;}.outputs.jsx-2230648903 img{display:block;max-width:100%;}.outputs.jsx-2230648903 kbd{display:inline-block;border:1px solid #ccc;border-radius:4px;padding:0.1em 0.5em;margin:0 0.2em;box-shadow:0 1px 0px rgba(0,0,0,0.2),0 0 0 2px #fff inset;background-color:#f7f7f7;}.outputs.jsx-2230648903 table{border-collapse:collapse;}.outputs.jsx-2230648903 th,.outputs.jsx-2230648903 td,.outputs.jsx-2230648903 .th,.outputs.jsx-2230648903 .td{padding:0.5em 1em;border:1px solid var(--theme-app-border,#cbcbcb);}.outputs.jsx-2230648903 th{text-align:left;}.outputs.jsx-2230648903 blockquote{padding:0.75em 0.5em 0.75em 1em;background:var(--theme-cell-output-bg,white);border-left:0.5em solid #ddd;}.outputs.jsx-2230648903 .blockquote::before{display:block;height:0;content:"“";margin-left:-0.95em;font:italic 400%/1 Open Serif,Georgia,"Times New Roman",serif;color:solid var(--theme-app-border,#cbcbcb);}.outputs.jsx-2230648903 blockquote p.jsx-2230648903{display:inline;}.outputs.jsx-2230648903 dd{display:block;-webkit-margin-start:40px;}.outputs.jsx-2230648903 dl{display:block;-webkit-margin-before:1__qem;-webkit-margin-after:1em;-webkit-margin-start:0;-webkit-margin-end:0;}.outputs.jsx-2230648903 dt{display:block;}.outputs.jsx-2230648903 dl{width:100%;overflow:hidden;padding:0;margin:0;}.outputs.jsx-2230648903 dt{font-weight:bold;float:left;width:20%;padding:0;margin:0;}.outputs.jsx-2230648903 dd{float:left;width:80%;padding:0;margin:0;}.outputs.jsx-2230648903 .list-inline li.jsx-2230648903{display:inline;padding-right:20px;text-align:center;}'})):null}}]),t}();h.defaultProps={children:null,hidden:!1};t.PromptBuffer=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,a.Component),r(t,[{key:"render",value:function(){return a.createElement("div",{className:"prompt"})}}]),t}();function m(e){return e.running?"[*]":e.queued?"[…]":"number"==typeof e.counter?"["+e.counter+"]":"[ ]"}(t.Prompt=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,a.Component),r(t,[{key:"render",value:function(){return a.createElement("div",{className:"prompt"},m(this.props))}}]),t}()).defaultProps={counter:null,running:!1,queued:!1},(t.Source=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,a.Component),r(t,[{key:"render",value:function(){return"string"==typeof this.props.children?a.createElement(s.default,{language:this.props.language,className:this.props.className},this.props.children):a.createElement("div",{className:"input"},this.props.children)}}]),t}()).defaultProps={children:"",language:"text",className:"input",theme:"light"},(t.Input=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,a.Component),r(t,[{key:"render",value:function(){return this.props.hidden?null:a.createElement("div",{className:"jsx-3078085327 input-container"},this.props.children,a.createElement(i.default,{styleId:"3078085327",css:".input-container.jsx-3078085327{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.input-container.invisible.jsx-3078085327{height:34px;}.input-container.jsx-3078085327 .prompt{font-family:monospace;font-size:12px;line-height:22px;width:var(--prompt-width,50px);padding:9px 0;text-align:center;color:var(--theme-cell-prompt-fg,black);background-color:var(--theme-cell-prompt-bg,#fafafa);-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;}.input-container.jsx-3078085327 .input{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;overflow:auto;background-color:var(--theme-cell-input-bg,#fafafa);}"}))}}]),t}()).defaultProps={children:null,hidden:!1},(t.Cell=function(e){var t=e.children;return a.createElement("div",{className:"jsx-1668992431 cell "+(e.isSelected?"focused":"")},a.createElement(i.default,{styleId:"1668992431",css:".cell.jsx-1668992431{position:relative;background:var(--theme-cell-bg,white);-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out;}.cell.jsx-1668992431:hover{box-shadow:var(--theme-cell-shadow-hover);}.cell.focused.jsx-1668992431{box-shadow:var(--theme-cell-shadow-focus);}.cell.jsx-1668992431:hover .prompt,.cell.jsx-1668992431:active .prompt{background-color:var(--theme-cell-prompt-bg-hover);color:var(--theme-cell-prompt-fg-hover);}.cell.jsx-1668992431:focus .prompt,.cell.focused.jsx-1668992431 .prompt{background-color:var(--theme-cell-prompt-bg-focus);color:var(--theme-cell-prompt-fg-focus);}"}),t)}).defaultProps={isSelected:!1,children:null},(t.Cells=function(e){return a.createElement("div",{className:"jsx-2311117239 cells"},a.createElement(i.default,{styleId:"2311117239",css:'.cells.jsx-2311117239>*{margin:20px;}.cells.jsx-2311117239{font-family:"Source Sans Pro",Helvetica Neue,Helvetica,Arial, sans-serif;font-size:16px;background-color:var(--theme-app-bg);color:var(--theme-app-fg);padding-bottom:10px;}'}),e.children)}).defaultProps={children:[],selected:null}},"./node_modules/@nteract/presentational-components/lib/styles.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Styles=void 0;var r,o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:g,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;return[].concat(h(Object.keys(e))).filter(function(e){return n[e]&&t.includes(e)}).sort(function(e,n){return t.indexOf(e)-t.indexOf(n)})[0]};var o=f(n("./node_modules/@nteract/transforms/lib/text.js")),i=f(n("./node_modules/@nteract/transforms/lib/json.js")),a=f(n("./node_modules/@nteract/transforms/lib/javascript.js")),s=f(n("./node_modules/@nteract/transforms/lib/html.js")),l=f(n("./node_modules/@nteract/transforms/lib/markdown.js")),u=f(n("./node_modules/@nteract/transforms/lib/latex.js")),c=f(n("./node_modules/@nteract/transforms/lib/svg.js")),d=n("./node_modules/@nteract/transforms/lib/image.js"),p=f(n("./node_modules/@nteract/transform-vdom/lib/index.js"));function f(e){return e&&e.__esModule?e:{default:e}}function h(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t]/gm,function(e){return"&"==e?"&":"<"==e?"<":">"==e?">":""})}},{key:"linkify",value:function(e){return e.replace(/(https?:\/\/[^\s]+)/gm,function(e){return''+e+""})}},{key:"ansiToHtml",value:function(e,t){return this.process(e,t,!0)}},{key:"ansiToJson",value:function(e,t){return(t=t||{}).json=!0,t.clearLine=!1,this.process(e,t,!0)}},{key:"ansiToText",value:function(e){return this.process(e,{},!1)}},{key:"process",value:function(e,t,n){var r=this,o=e.split(/\033\[/),i=o.shift();void 0!==t&&null!==t||(t={}),t.clearLine=/\r/.test(e);var a=o.map(function(e){return r.processChunk(e,t,n)});if(t&&t.json){var s=this.processChunkJson("");return s.content=i,s.clearLine=t.clearLine,a.unshift(s),t.remove_empty&&(a=a.filter(function(e){return!e.isEmpty()})),a}return a.unshift(i),a.join("")}},{key:"processChunkJson",value:function(e,t,n){var r=(t=void 0===t?{}:t).use_classes=void 0!==t.use_classes&&t.use_classes,i=t.key=r?"class":"color",a={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:t.clearLine,decoration:null,was_processed:!1,isEmpty:function(){return!a.content}},s=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!s)return a;a.content=s[4];var l=s[2].split(";");if(""!==s[1]||"m"!==s[3])return a;if(!n)return a;for(this.decoration=null;l.length>0;){var u=l.shift(),c=parseInt(u);if(isNaN(c)||0===c)this.fg=this.bg=this.decoration=null;else if(1===c)this.decoration="bold";else if(2===c)this.decoration="dim";else if(3==c)this.decoration="italic";else if(4==c)this.decoration="underline";else if(5==c)this.decoration="blink";else if(7===c)this.decoration="reverse";else if(8===c)this.decoration="hidden";else if(9===c)this.decoration="strikethrough";else if(39==c)this.fg=null;else if(49==c)this.bg=null;else if(c>=30&&c<38)this.fg=o[0][c%10][i];else if(c>=90&&c<98)this.fg=o[1][c%10][i];else if(c>=40&&c<48)this.bg=o[0][c%10][i];else if(c>=100&&c<108)this.bg=o[1][c%10][i];else if(38===c||48===c){var d=38===c;if(l.length>=1){var p=l.shift();if("5"===p&&l.length>=1){var f=parseInt(l.shift());if(f>=0&&f<=255)if(r){var h=f>=16?"ansi-palette-"+f:o[f>7?1:0][f%8].class;d?this.fg=h:this.bg=h}else this.PALETTE_COLORS||this.setupPalette(),d?this.fg=this.PALETTE_COLORS[f]:this.bg=this.PALETTE_COLORS[f]}else if("2"===p&&l.length>=3){var m=parseInt(l.shift()),b=parseInt(l.shift()),g=parseInt(l.shift());if(m>=0&&m<=255&&b>=0&&b<=255&&g>=0&&g<=255){var y=m+", "+b+", "+g;r?d?(this.fg="ansi-truecolor",this.fg_truecolor=y):(this.bg="ansi-truecolor",this.bg_truecolor=y):d?this.fg=y:this.bg=y}}}}}if(null===this.fg&&null===this.bg&&null===this.decoration)return a;return a.fg=this.fg,a.bg=this.bg,a.fg_truecolor=this.fg_truecolor,a.bg_truecolor=this.bg_truecolor,a.decoration=this.decoration,a.was_processed=!0,a}},{key:"processChunk",value:function(e,t,n){var r=this;t=t||{};var o=this.processChunkJson(e,t,n);if(t.json)return o;if(o.isEmpty())return"";if(!o.was_processed)return o.content;var i=t.use_classes,a=[],s=[],l={},u=function(e){var t=[],n=void 0;for(n in e)e.hasOwnProperty(n)&&t.push("data-"+n+'="'+r.escapeForHtml(e[n])+'"');return t.length>0?" "+t.join(" "):""};return o.fg&&(i?(s.push(o.fg+"-fg"),null!==o.fg_truecolor&&(l["ansi-truecolor-fg"]=o.fg_truecolor,o.fg_truecolor=null)):a.push("color:rgb("+o.fg+")")),o.bg&&(i?(s.push(o.bg+"-bg"),null!==o.bg_truecolor&&(l["ansi-truecolor-bg"]=o.bg_truecolor,o.bg_truecolor=null)):a.push("background-color:rgb("+o.bg+")")),o.decoration&&(i?s.push("ansi-"+o.decoration):"bold"===o.decoration?a.push("font-weight:bold"):"dim"===o.decoration?a.push("opacity:0.5"):"italic"===o.decoration?a.push("font-style:italic"):"reverse"===o.decoration?a.push("filter:invert(100%)"):"hidden"===o.decoration?a.push("visibility:hidden"):"strikethrough"===o.decoration?a.push("text-decoration:line-through"):a.push("text-decoration:"+o.decoration)),i?'"+o.content+"":'"+o.content+""}}]),e}();e.exports=i},"./node_modules/ansi-to-react/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;tu){for(var t=0,n=a.length-l;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js":function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("./node_modules/babel-runtime/helpers/typeof.js"),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},"./node_modules/babel-runtime/helpers/slicedToArray.js":function(e,t,n){"use strict";t.__esModule=!0;var r=i(n("./node_modules/babel-runtime/core-js/is-iterable.js")),o=i(n("./node_modules/babel-runtime/core-js/get-iterator.js"));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var s,l=(0,o.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},"./node_modules/babel-runtime/helpers/typeof.js":function(e,t,n){"use strict";t.__esModule=!0;var r=a(n("./node_modules/babel-runtime/core-js/symbol/iterator.js")),o=a(n("./node_modules/babel-runtime/core-js/symbol.js")),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},"./node_modules/bail/index.js":function(e,t,n){"use strict";e.exports=function(e){if(e)throw e}},"./node_modules/base16/lib/apathy.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},"./node_modules/base16/lib/ashes.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},"./node_modules/base16/lib/atelier-dune.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},"./node_modules/base16/lib/atelier-forest.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},"./node_modules/base16/lib/atelier-heath.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},"./node_modules/base16/lib/atelier-lakeside.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},"./node_modules/base16/lib/atelier-seaside.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},"./node_modules/base16/lib/bespin.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},"./node_modules/base16/lib/brewer.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},"./node_modules/base16/lib/bright.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},"./node_modules/base16/lib/chalk.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},"./node_modules/base16/lib/codeschool.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},"./node_modules/base16/lib/colors.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},"./node_modules/base16/lib/default.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},"./node_modules/base16/lib/eighties.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},"./node_modules/base16/lib/embers.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},"./node_modules/base16/lib/flat.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},"./node_modules/base16/lib/google.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},"./node_modules/base16/lib/grayscale.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},"./node_modules/base16/lib/greenscreen.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},"./node_modules/base16/lib/harmonic.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},"./node_modules/base16/lib/hopscotch.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},"./node_modules/base16/lib/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n("./node_modules/base16/lib/threezerotwofour.js");t.threezerotwofour=r(o);var i=n("./node_modules/base16/lib/apathy.js");t.apathy=r(i);var a=n("./node_modules/base16/lib/ashes.js");t.ashes=r(a);var s=n("./node_modules/base16/lib/atelier-dune.js");t.atelierDune=r(s);var l=n("./node_modules/base16/lib/atelier-forest.js");t.atelierForest=r(l);var u=n("./node_modules/base16/lib/atelier-heath.js");t.atelierHeath=r(u);var c=n("./node_modules/base16/lib/atelier-lakeside.js");t.atelierLakeside=r(c);var d=n("./node_modules/base16/lib/atelier-seaside.js");t.atelierSeaside=r(d);var p=n("./node_modules/base16/lib/bespin.js");t.bespin=r(p);var f=n("./node_modules/base16/lib/brewer.js");t.brewer=r(f);var h=n("./node_modules/base16/lib/bright.js");t.bright=r(h);var m=n("./node_modules/base16/lib/chalk.js");t.chalk=r(m);var b=n("./node_modules/base16/lib/codeschool.js");t.codeschool=r(b);var g=n("./node_modules/base16/lib/colors.js");t.colors=r(g);var y=n("./node_modules/base16/lib/default.js");t.default=r(y);var v=n("./node_modules/base16/lib/eighties.js");t.eighties=r(v);var _=n("./node_modules/base16/lib/embers.js");t.embers=r(_);var x=n("./node_modules/base16/lib/flat.js");t.flat=r(x);var w=n("./node_modules/base16/lib/google.js");t.google=r(w);var j=n("./node_modules/base16/lib/grayscale.js");t.grayscale=r(j);var k=n("./node_modules/base16/lib/greenscreen.js");t.greenscreen=r(k);var S=n("./node_modules/base16/lib/harmonic.js");t.harmonic=r(S);var E=n("./node_modules/base16/lib/hopscotch.js");t.hopscotch=r(E);var C=n("./node_modules/base16/lib/isotope.js");t.isotope=r(C);var O=n("./node_modules/base16/lib/marrakesh.js");t.marrakesh=r(O);var T=n("./node_modules/base16/lib/mocha.js");t.mocha=r(T);var A=n("./node_modules/base16/lib/monokai.js");t.monokai=r(A);var R=n("./node_modules/base16/lib/ocean.js");t.ocean=r(R);var N=n("./node_modules/base16/lib/paraiso.js");t.paraiso=r(N);var L=n("./node_modules/base16/lib/pop.js");t.pop=r(L);var I=n("./node_modules/base16/lib/railscasts.js");t.railscasts=r(I);var M=n("./node_modules/base16/lib/shapeshifter.js");t.shapeshifter=r(M);var P=n("./node_modules/base16/lib/solarized.js");t.solarized=r(P);var D=n("./node_modules/base16/lib/summerfruit.js");t.summerfruit=r(D);var F=n("./node_modules/base16/lib/tomorrow.js");t.tomorrow=r(F);var z=n("./node_modules/base16/lib/tube.js");t.tube=r(z);var U=n("./node_modules/base16/lib/twilight.js");t.twilight=r(U)},"./node_modules/base16/lib/isotope.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},"./node_modules/base16/lib/marrakesh.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},"./node_modules/base16/lib/mocha.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},e.exports=t.default},"./node_modules/base16/lib/monokai.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},"./node_modules/base16/lib/ocean.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},"./node_modules/base16/lib/paraiso.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},"./node_modules/base16/lib/pop.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},"./node_modules/base16/lib/railscasts.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},"./node_modules/base16/lib/shapeshifter.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},"./node_modules/base16/lib/solarized.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},"./node_modules/base16/lib/summerfruit.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},"./node_modules/base16/lib/threezerotwofour.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},"./node_modules/base16/lib/tomorrow.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},"./node_modules/base16/lib/tube.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},"./node_modules/base16/lib/twilight.js":function(e,t,n){"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},"./node_modules/camelcase/index.js":function(e,t,n){"use strict";e.exports=function(){var e=[].map.call(arguments,function(e){return e.trim()}).filter(function(e){return e.length}).join("-");return e.length?1===e.length?e.toLowerCase():/[_.\- ]+/.test(e)?(e=function(e){for(var t=!1,n=0;n",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}},"./node_modules/character-entities/index.json":function(e,t){e.exports={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"⁡",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"⁣",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"­",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},"./node_modules/character-reference-invalid/index.json":function(e,t){e.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}},"./node_modules/codemirror/addon/comment/comment.js":function(e,t,n){(function(e){"use strict";var t={},n=/[^\s\u00a0]/,r=e.Pos;function o(e){var t=e.search(n);return-1==t?0:t}function i(e,t){var n=e.getMode();return!1!==n.useInnerComments&&n.innerMode?e.getModeAt(t):n}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",function(e){e||(e=t);for(var n=1/0,o=this.listSelections(),i=null,a=o.length-1;a>=0;a--){var s=o[a].from(),l=o[a].to();s.line>=n||(l.line>=n&&(l=r(n,0)),n=s.line,null==i?this.uncomment(s,l,e)?i="un":(this.lineComment(s,l,e),i="line"):"un"==i?this.uncomment(s,l,e):this.lineComment(s,l,e))}}),e.defineExtension("lineComment",function(e,a,s){s||(s=t);var l=this,u=i(l,e),c=l.getLine(e.line);if(null!=c&&(d=e,p=c,!/\bstring\b/.test(l.getTokenTypeAt(r(d.line,0)))||/^[\'\"\`]/.test(p))){var d,p,f=s.lineComment||u.lineComment;if(f){var h=Math.min(0!=a.ch||a.line==e.line?a.line+1:a.line,l.lastLine()+1),m=null==s.padding?" ":s.padding,b=s.commentBlankLines||e.line==a.line;l.operation(function(){if(s.indent){for(var t=null,i=e.line;ia.length)&&(t=a)}for(i=e.line;id||s.operation(function(){if(0!=a.fullLines){var t=n.test(s.getLine(d));s.replaceRange(p+c,r(d)),s.replaceRange(u+p,r(e.line,0));var i=a.blockCommentLead||l.blockCommentLead;if(null!=i)for(var f=e.line+1;f<=d;++f)(f!=d||t)&&s.replaceRange(i+p,r(f,0))}else s.replaceRange(c,o),s.replaceRange(u,e)})}}else(a.lineComment||l.lineComment)&&0!=a.fullLines&&s.lineComment(e,o,a)}),e.defineExtension("uncomment",function(e,o,a){a||(a=t);var s,l=this,u=i(l,e),c=Math.min(0!=o.ch||o.line==e.line?o.line:o.line-1,l.lastLine()),d=Math.min(e.line,c),p=a.lineComment||u.lineComment,f=[],h=null==a.padding?" ":a.padding;e:if(p){for(var m=d;m<=c;++m){var b=l.getLine(m),g=b.indexOf(p);if(g>-1&&!/comment/.test(l.getTokenTypeAt(r(m,g+1)))&&(g=-1),-1==g&&n.test(b))break e;if(g>-1&&n.test(b.slice(0,g)))break e;f.push(b)}if(l.operation(function(){for(var e=d;e<=c;++e){var t=f[e-d],n=t.indexOf(p),o=n+p.length;n<0||(t.slice(o,o+h.length)==h&&(o+=h.length),s=!0,l.replaceRange("",r(e,n),r(e,o)))}}),s)return!0}var y=a.blockCommentStart||u.blockCommentStart,v=a.blockCommentEnd||u.blockCommentEnd;if(!y||!v)return!1;var _=a.blockCommentLead||u.blockCommentLead,x=l.getLine(d),w=x.indexOf(y);if(-1==w)return!1;var j=c==d?x:l.getLine(c),k=j.indexOf(v,c==d?w+y.length:0),S=r(d,w+1),E=r(c,k+1);if(-1==k||!/comment/.test(l.getTokenTypeAt(S))||!/comment/.test(l.getTokenTypeAt(E))||l.getRange(S,E,"\n").indexOf(v)>-1)return!1;var C=x.lastIndexOf(y,e.ch),O=-1==C?-1:x.slice(0,e.ch).indexOf(v,C+y.length);if(-1!=C&&-1!=O&&O+v.length!=e.ch)return!1;O=j.indexOf(v,o.ch);var T=j.slice(o.ch).lastIndexOf(y,O-o.ch);return C=-1==O||-1==T?-1:o.ch+T,(-1==O||-1==C||C==o.ch)&&(l.operation(function(){l.replaceRange("",r(c,k-(h&&j.slice(k-h.length,k)==h?h.length:0)),r(c,k+v.length));var e=w+y.length;if(h&&x.slice(e,e+h.length)==h&&(e+=h.length),l.replaceRange("",r(d,w),r(d,e)),_)for(var t=d+1;t<=c;++t){var o=l.getLine(t),i=o.indexOf(_);if(-1!=i&&!n.test(o.slice(0,i))){var a=i+_.length;h&&o.slice(a,a+h.length)==h&&(a+=h.length),l.replaceRange("",r(t,i),r(t,a))}}}),!0)})})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/addon/edit/closebrackets.js":function(e,t,n){(function(e){var t={pairs:"()[]{}''\"\"",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(o),t.state.closeBrackets=null),n&&(i(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(o))});var o={Backspace:function(t){var o=s(t);if(!o||t.getOption("disableInput"))return e.Pass;for(var i=r(o,"pairs"),a=t.listSelections(),l=0;l=0;l--){var d=a[l].head;t.replaceRange("",n(d.line,d.ch-1),n(d.line,d.ch+1),"+delete")}},Enter:function(t){var n=s(t),o=n&&r(n,"explode");if(!o||t.getOption("disableInput"))return e.Pass;for(var i=t.listSelections(),a=0;a1&&p.indexOf(o)>=0&&t.getRange(n(v.line,v.ch-2),v)==o+o){if(v.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(v.line,v.ch-2))))return e.Pass;g="addFour"}else if(f){var x=0==v.ch?" ":t.getRange(n(v.line,v.ch-1),v);if(e.isWordChar(_)||x==o||e.isWordChar(x))return e.Pass;g="both"}else{if(!m||t.getLine(v.line).length!=v.ch&&!l(_,a)&&!/\s/.test(_))return e.Pass;g="both"}else g=f&&c(t,v)?"both":p.indexOf(o)>=0&&t.getRange(v,n(v.line,v.ch+3))==o+o+o?"skipThree":"skip";if(d){if(d!=g)return e.Pass}else d=g}var w=u%2?a.charAt(u-1):o,j=u%2?o:a.charAt(u+1);t.operation(function(){if("skip"==d)t.execCommand("goCharRight");else if("skipThree"==d)for(var r=0;r<3;r++)t.execCommand("goCharRight");else if("surround"==d){for(var o=t.getSelections(),r=0;r0,{anchor:new n(i.anchor.line,i.anchor.ch+(a?-1:1)),head:new n(i.head.line,i.head.ch+(a?1:-1))});t.setSelections(o)}else"both"==d?(t.replaceSelection(w+j,null),t.triggerElectric(w+j),t.execCommand("goCharLeft")):"addFour"==d&&(t.replaceSelection(w+w+w+w,"before"),t.execCommand("goCharRight"));var i,a})}(o,t)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function l(e,t){var n=t.lastIndexOf(e);return n>-1&&n%2==1}function u(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function c(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}i(t.pairs+"`")})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/addon/edit/matchbrackets.js":function(e,t,n){(function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"};function o(e,t,o){var a=e.getLineHandle(t.line),s=t.ch-1,l=o&&o.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=!l&&s>=0&&r[a.text.charAt(s)]||r[a.text.charAt(++s)];if(!u)return null;var c=">"==u.charAt(1)?1:-1;if(o&&o.strict&&c>0!=(s==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,s+1)),p=i(e,n(t.line,s+(c>0?1:0)),c,d||null,o);return null==p?null:{from:n(t.line,s),to:p&&p.pos,match:p&&p.ch==u.charAt(0),forward:c>0}}function i(e,t,o,i,a){for(var s=a&&a.maxScanLineLength||1e4,l=a&&a.maxScanLines||1e3,u=[],c=a&&a.bracketRegex?a.bracketRegex:/[(){}[\]]/,d=o>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),p=t.line;p!=d;p+=o){var f=e.getLine(p);if(f){var h=o>0?0:f.length-1,m=o>0?f.length:-1;if(!(f.length>s))for(p==t.line&&(h=t.ch-(o<0?1:0));h!=m;h+=o){var b=f.charAt(h);if(c.test(b)&&(void 0===i||e.getTokenTypeAt(n(p,h+1))==i))if(">"==r[b].charAt(1)==o>0)u.push(b);else{if(!u.length)return{pos:n(p,h),ch:b};u.pop()}}}}return p-o!=(o>0?e.lastLine():e.firstLine())&&null}function a(e,r,i){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),u=0;u1)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var o=0;ou.clientHeight+1,k=l.getScrollInfo();if(w>0){var S=x.bottom-x.top;if(m.top-(m.bottom-x.top)-S>0)u.style.top=(g=m.top-S)+"px",y=!1;else if(S>_){u.style.height=_-5+"px",u.style.top=(g=m.bottom-x.top)+"px";var E=l.getCursor();o.from.ch!=E.ch&&(m=l.cursorCoords(E),u.style.left=(b=m.left)+"px",x=u.getBoundingClientRect())}}var C,O=x.right-v;if(O>0&&(x.right-x.left>v&&(u.style.width=v-5+"px",O-=x.right-x.left-v),u.style.left=(b=m.left-O)+"px"),j)for(var T=u.firstChild;T;T=T.nextSibling)T.style.paddingRight=l.display.nativeBarWidth+"px";(l.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close},r=e.options.customKeys,o=r?{}:n;function i(e,r){var i;i="string"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,o[e]=i}if(r)for(var a in r)r.hasOwnProperty(a)&&i(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&i(a,s[a]);return o}(r,{moveFocus:function(e,t){i.changeActive(i.selectedHint+e,t)},setFocus:function(e){i.changeActive(e)},menuSize:function(){return i.screenAmount()},length:c.length,close:function(){r.close()},pick:function(){i.pick()},data:o})),r.options.closeOnUnfocus)&&(l.on("blur",this.onBlur=function(){C=setTimeout(function(){r.close()},100)}),l.on("focus",this.onFocus=function(){clearTimeout(C)}));return l.on("scroll",this.onScroll=function(){var e=l.getScrollInfo(),t=l.getWrapperElement().getBoundingClientRect(),n=g+k.top-e.top,o=n-(window.pageYOffset||(document.documentElement||document.body).scrollTop);if(y||(o+=u.offsetHeight),o<=t.top||o>=t.bottom)return r.close();u.style.top=n+"px",u.style.left=b+k.left-e.left+"px"}),e.on(u,"dblclick",function(e){var t=s(u,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),i.pick())}),e.on(u,"click",function(e){var t=s(u,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),r.options.completeOnSingleClick&&i.pick())}),e.on(u,"mousedown",function(){setTimeout(function(){l.focus()},20)}),e.signal(o,"select",c[this.selectedHint],u.childNodes[this.selectedHint]),!0}function u(e,t,n,r){if(e.async)e(t,r,n);else{var o=e(t,n);o&&o.then?o.then(r):r(o)}}r.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n];r.hint?r.hint(this.cm,t,r):this.cm.replaceRange(a(r),r.from||t.from,r.to||t.to,"complete"),e.signal(t,"pick",r),this.close()},cursorActivity:function(){this.debounce&&(i(this.debounce),this.debounce=0);var e=this.cm.getCursor(),t=this.cm.getLine(e.line);if(e.line!=this.startPos.line||t.length-e.ch!=this.startLen-this.startPos.ch||e.ch=this.data.list.length?t=r?this.data.list.length-1:0:t<0&&(t=r?0:this.data.list.length-1),this.selectedHint!=t){var o=this.hints.childNodes[this.selectedHint];o.className=o.className.replace(" "+n,""),(o=this.hints.childNodes[this.selectedHint=t]).className+=" "+n,o.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=o.offsetTop+o.offsetHeight-this.hints.clientHeight+3),e.signal(this.data,"select",this.data.list[this.selectedHint],o)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:function(t,n){var r,o=t.getHelpers(n,"hint");if(o.length){var i=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r0?t(e):o(i+1)})}(0)};return i.async=!0,i.supportsSelection=!0,i}return(r=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper("hint","fromList",function(t,n){var r,o=t.getCursor(),i=t.getTokenAt(o),a=e.Pos(o.line,i.start),s=o;i.start,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/addon/mode/overlay.js":function(e,t,n){(function(e){"use strict";e.overlayMode=function(t,n,r){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:e.copyState(t,r.base),overlay:e.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(e,o){return(e!=o.streamSeen||Math.min(o.basePos,o.overlayPos)=15&&(d=!1,l=!0);var w=y&&(u||d&&(null==x||x<12.11)),j=n||a&&s>=9;function k(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,E=function(e,t){var n=e.className,r=k(t).exec(n);if(r){var o=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(o?r[1]+o:"")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return C(e).appendChild(t)}function T(e,t,n,r){var o=document.createElement(e);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof t)o.appendChild(document.createTextNode(t));else if(t)for(var i=0;i=t)return a+(t-i);a+=s-i,a+=n-a%n,i=s+1}}m?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(M=function(e){try{e.select()}catch(e){}});var z=function(){this.id=null};function U(e,t){for(var n=0;n=t)return r+Math.min(a,t-o);if(o+=i-r,r=i+1,(o+=n-o%n)>=t)return r}}var K=[""];function $(e){for(;K.length<=e;)K.push(Y(K)+" ");return K[e]}function Y(e){return e[e.length-1]}function X(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||Q.test(e))}function te(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ee(e))||t.test(e):ee(e)}function ne(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var re=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&re.test(e)}function ie(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var o=(t+n)/2,i=r<0?Math.ceil(o):Math.floor(o);if(i==t)return e(i)?t:n;e(i)?n=i:t=i+r}}function se(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var o=n.children[r],i=o.chunkSize();if(t=e.first&&tn?me(n,se(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?me(e.line,t):n<0?me(e.line,0):e}(t,se(e,t.line).text.length)}function je(e,t){for(var n=[],r=0;r=t:i.to>t);(r||(r=[])).push(new Ee(a,i.from,s?null:i.to))}}return r}(n,o,a),l=function(e,t,n){var r;if(e)for(var o=0;o=t:i.to>t)||i.from==t&&"bookmark"==a.type&&(!n||i.marker.insertLeft)){var s=null==i.from||(a.inclusiveLeft?i.from<=t:i.from0&&s)for(var v=0;v=0&&d<=0||c<=0&&d>=0)&&(c<=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?be(u.to,n)>=0:be(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?be(u.from,r)<=0:be(u.from,r)<0)))return!0}}}function Ue(e){for(var t;t=De(e);)e=t.find(-1,!0).line;return e}function Be(e,t){var n=se(e,t),r=Ue(n);return n==r?t:de(r)}function He(e,t){if(t>e.lastLine())return t;var n,r=se(e,t);if(!qe(e,r))return t;for(;n=Fe(r);)r=n.find(1,!0).line;return de(r)+1}function qe(e,t){var n=Se&&t.markedSpans;if(n)for(var r=void 0,o=0;ot.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}var $e=null;function Ye(e,t,n){var r;$e=null;for(var o=0;ot)return o;i.to==t&&(i.from!=i.to&&"before"==n?r=o:$e=o),i.from==t&&(i.from!=i.to&&"before"!=n?r=o:$e=o)}return null!=r?r:$e}var Xe=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,o=/[LRr]/,i=/[Lb1n]/,a=/[1n]/;function s(e,t,n){this.level=e,this.from=t,this.to=n}return function(l,u){var c="ltr"==u?"L":"R";if(0==l.length||"ltr"==u&&!n.test(l))return!1;for(var d,p=l.length,f=[],h=0;h-1&&(r[t]=o.slice(0,i).concat(o.slice(i+1)))}}}function nt(e,t){var n=et(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),o=0;o0}function at(e){e.prototype.on=function(e,t){Qe(this,e,t)},e.prototype.off=function(e,t){tt(this,e,t)}}function st(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function lt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ut(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function ct(e){st(e),lt(e)}function dt(e){return e.target||e.srcElement}function pt(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var ft,ht,mt=function(){if(a&&s<9)return!1;var e=T("div");return"draggable"in e||"dragDrop"in e}();function bt(e){if(null==ft){var t=T("span","​");O(e,T("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(ft=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=ft?T("span","​"):T("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function gt(e){if(null!=ht)return ht;var t=O(e,document.createTextNode("AخA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return C(e),!(!n||n.left==n.right)&&(ht=r.right-n.right<3)}var yt,vt=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var o=e.indexOf("\n",t);-1==o&&(o=e.length);var i=e.slice(t,"\r"==e.charAt(o-1)?o-1:o),a=i.indexOf("\r");-1!=a?(n.push(i.slice(0,a)),t+=a+1):(n.push(i),t=o+1)}return n}:function(e){return e.split(/\r\n?|\n/)},_t=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},xt="oncopy"in(yt=T("div"))||(yt.setAttribute("oncopy","return;"),"function"==typeof yt.oncopy),wt=null;var jt={},kt={};function St(e){if("string"==typeof e&&kt.hasOwnProperty(e))e=kt[e];else if(e&&"string"==typeof e.name&&kt.hasOwnProperty(e.name)){var t=kt[e.name];"string"==typeof t&&(t={name:t}),(e=Z(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return St("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return St("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Et(e,t){t=St(t);var n=jt[t.name];if(!n)return Et(e,"text/plain");var r=n(e,t);if(Ct.hasOwnProperty(t.name)){var o=Ct[t.name];for(var i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ct={};function Ot(e,t){D(t,Ct.hasOwnProperty(e)?Ct[e]:Ct[e]={})}function Tt(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var o=t[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n}function At(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Rt(e,t,n){return!e.startState||e.startState(t,n)}var Nt=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};Nt.prototype.eol=function(){return this.pos>=this.string.length},Nt.prototype.sol=function(){return this.pos==this.lineStart},Nt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Nt.prototype.next=function(){if(this.post},Nt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Nt.prototype.skipToEnd=function(){this.pos=this.string.length},Nt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Nt.prototype.backUp=function(e){this.pos-=e},Nt.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var o=function(e){return n?e.toLowerCase():e};if(o(this.string.substr(this.pos,e.length))==o(e))return!1!==t&&(this.pos+=e.length),!0},Nt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Nt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Nt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Nt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var Lt=function(e,t){this.state=e,this.lookAhead=t},It=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function Mt(e,t,n,r){var o=[e.state.modeGen],i={};Wt(e,t.text,e.doc.mode,n,function(e,t){return o.push(e,t)},i,r);for(var a=n.state,s=function(r){n.baseTokens=o;var s=e.state.overlays[r],l=1,u=0;n.state=!0,Wt(e,t.text,s.mode,n,function(e,t){for(var n=l;ue&&o.splice(l,1,e,o[l+1],r),l+=2,u=Math.min(e,r)}if(t)if(s.opaque)o.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Tt(e.doc.mode,r.state),i=Mt(e,t,r);o&&(r.state=o),t.stateAfter=r.save(!o),t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Dt(e,t,n){var r=e.doc,o=e.display;if(!r.mode.startState)return new It(r,!0,t);var i=function(e,t,n){for(var r,o,i=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=i.first)return i.first;var l=se(i,s-1),u=l.stateAfter;if(u&&(!n||s+(u instanceof Lt?u.lookAhead:0)<=i.modeFrontier))return s;var c=F(l.text,null,e.options.tabSize);(null==o||r>c)&&(o=s-1,r=c)}return o}(e,t,n),a=i>r.first&&se(r,i-1).stateAfter,s=a?It.fromSaved(r,a,i):new It(r,Rt(r.mode),i);return r.iter(i,t,function(n){Ft(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=o.viewFrom&&rt.start)return i}throw new Error("Mode "+e.name+" failed to advance stream.")}It.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},It.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},It.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},It.fromSaved=function(e,t,n){return t instanceof Lt?new It(e,Tt(e.mode,t.state),n,t.lookAhead):new It(e,Tt(e.mode,t),n)},It.prototype.save=function(e){var t=!1!==e?Tt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Lt(t,this.maxLookAhead):t};var Bt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function Ht(e,t,n,r){var o,i,a=e.doc,s=a.mode,l=se(a,(t=we(a,t)).line),u=Dt(e,t.line,n),c=new Nt(l.text,e.options.tabSize,u);for(r&&(i=[]);(r||c.pose.options.maxHighlightLength?(s=!1,a&&Ft(e,t,r,d.pos),d.pos=t.length,l=null):l=qt(Ut(n,d,r.state,p),i),p){var f=p[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||c!=l){for(;u1&&!/ /.test(e))return e;for(var n=t,r="",o=0;ou&&d.from<=u);p++);if(d.to>=c)return e(n,r,o,i,a,s,l);e(n,r.slice(0,d.to-u),o,i,null,s,l),i=null,r=r.slice(d.to-u),u=d.to}}}function en(e,t,n,r){var o=!r&&n.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!r&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t,e.trailingSpace=!1}function tn(e,t,n){var r=e.markedSpans,o=e.text,i=0;if(r)for(var a,s,l,u,c,d,p,f=o.length,h=0,m=1,b="",g=0;;){if(g==h){l=u=c=d=s="",p=null,g=1/0;for(var y=[],v=void 0,_=0;_h||w.collapsed&&x.to==h&&x.from==h)?(null!=x.to&&x.to!=h&&g>x.to&&(g=x.to,u=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&x.from==h&&(c+=" "+w.startStyle),w.endStyle&&x.to==g&&(v||(v=[])).push(w.endStyle,x.to),w.title&&!d&&(d=w.title),w.collapsed&&(!p||Me(p.marker,w)<0)&&(p=x)):x.from>h&&g>x.from&&(g=x.from)}if(v)for(var j=0;j=f)break;for(var S=Math.min(f,g);;){if(b){var E=h+b.length;if(!p){var C=E>S?b.slice(0,S-h):b;t.addToken(t,C,a?a+l:l,c,h+C.length==g?u:"",d,s)}if(E>=S){b=b.slice(S-h),h=S;break}h=E,c=""}b=o.slice(i,i=n[m++]),a=Yt(n[m++],t.cm.options)}}else for(var O=1;On)return{map:e.measure.maps[o],cache:e.measure.caches[o],before:!0}}function Tn(e,t,n,r){return Nn(e,Rn(e,t),n,r)}function An(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&i.push((l.bottom+u.top)/2-n.top)}}i.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(i=function(e,t,n,r){var o,i=Mn(t.map,n,r),l=i.node,u=i.start,c=i.end,d=i.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;u&&oe(t.line.text.charAt(i.coverStart+u));)--u;for(;i.coverStart+c1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,o))}else{var f;u>0&&(d=r="right"),o=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!u&&(!o||!o.left&&!o.right)){var h=l.parentNode.getClientRects()[0];o=h?{left:h.left,right:h.left+tr(e.display),top:h.top,bottom:h.bottom}:In}for(var m=o.top-t.rect.top,b=o.bottom-t.rect.top,g=(m+b)/2,y=t.view.measure.heights,v=0;vt)&&(o=(i=l-s)-1,t>=l&&(a="right")),null!=o){if(r=e[u+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==o)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)r=e[2+(u-=3)],a="left";if("right"==n&&o==l-s)for(;u=0&&(n=e[o]).left==n.right;o--);return n}function Dn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(l=r.text.length,u="before"):l<=0&&(l=0,u="after"),!s)return a("before"==u?l-1:l,"before"==u);function c(e,t,n){var r=1==s[t].level;return a(n?e-1:e,r!=n)}var d=Ye(s,l,u),p=$e,f=c(l,d,"before"==u);return null!=p&&(f.other=c(l,p,"before"!=u)),f}function Kn(e,t){var n=0;t=we(e.doc,t),e.options.lineWrapping||(n=tr(e.display)*t.ch);var r=se(e.doc,t.line),o=Ge(r)+wn(e.display);return{left:n,right:n,top:o,bottom:o+r.height}}function $n(e,t,n,r,o){var i=me(e,t,n);return i.xRel=o,r&&(i.outside=!0),i}function Yn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return $n(r.first,0,null,!0,-1);var o=pe(r,n),i=r.first+r.size-1;if(o>i)return $n(r.first+r.size-1,se(r,i).text.length,null,!0,1);t<0&&(t=0);for(var a=se(r,o);;){var s=Qn(e,a,o,t,n),l=Fe(a),u=l&&l.find(0,!0);if(!l||!(s.ch>u.from.ch||s.ch==u.from.ch&&s.xRel>0))return s;o=de(a=u.to.line)}}function Xn(e,t,n,r){r-=Hn(t);var o=t.text.length,i=ae(function(t){return Nn(e,n,t-1).bottom<=r},o,0);return{begin:i,end:o=ae(function(t){return Nn(e,n,t).top>r},i,o)}}function Jn(e,t,n,r){return n||(n=Rn(e,t)),Xn(e,t,n,qn(e,t,Nn(e,n,r),"line").top)}function Zn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Qn(e,t,n,r,o){o-=Ge(t);var i=Rn(e,t),a=Hn(t),s=0,l=t.text.length,u=!0,c=Je(t,e.doc.direction);if(c){var d=(e.options.lineWrapping?function(e,t,n,r,o,i,a){var s=Xn(e,t,r,a),l=s.begin,u=s.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,d=null,p=0;p=u||f.to<=l)){var h=1!=f.level,m=Nn(e,r,h?Math.min(u,f.to)-1:Math.max(l,f.from)).right,b=mb)&&(c=f,d=b)}}c||(c=o[o.length-1]);c.fromu&&(c={from:c.from,to:u,level:c.level});return c}:function(e,t,n,r,o,i,a){var s=ae(function(s){var l=o[s],u=1!=l.level;return Zn(Vn(e,me(n,u?l.to:l.from,u?"before":"after"),"line",t,r),i,a,!0)},0,o.length-1),l=o[s];if(s>0){var u=1!=l.level,c=Vn(e,me(n,u?l.from:l.to,u?"after":"before"),"line",t,r);Zn(c,i,a,!0)&&c.top>a&&(l=o[s-1])}return l})(e,t,n,i,c,r,o);s=(u=1!=d.level)?d.from:d.to-1,l=u?d.to:d.from-1}var p,f,h=null,m=null,b=ae(function(t){var n=Nn(e,i,t);return n.top+=a,n.bottom+=a,!!Zn(n,r,o,!1)&&(n.top<=o&&n.left<=r&&(h=t,m=n),!0)},s,l),g=!1;if(m){var y=r-m.left=_.bottom}return $n(n,b=ie(t.text,b,1),f,g,r-p)}function er(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Ln){Ln=T("pre");for(var t=0;t<49;++t)Ln.appendChild(document.createTextNode("x")),Ln.appendChild(T("br"));Ln.appendChild(document.createTextNode("x"))}O(e.measure,Ln);var n=Ln.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),C(e.measure),n||1}function tr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=T("span","xxxxxxxxxx"),n=T("pre",[t]);O(e.measure,n);var r=t.getBoundingClientRect(),o=(r.right-r.left)/10;return o>2&&(e.cachedCharWidth=o),o||10}function nr(e){for(var t=e.display,n={},r={},o=t.gutters.clientLeft,i=t.gutters.firstChild,a=0;i;i=i.nextSibling,++a)n[e.options.gutters[a]]=i.offsetLeft+i.clientLeft+o,r[e.options.gutters[a]]=i.clientWidth;return{fixedPos:rr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function rr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function or(e){var t=er(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/tr(e.display)-3);return function(o){if(qe(e.doc,o))return 0;var i=0;if(o.widgets)for(var a=0;a=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r=e.display.viewTo||s.to().linet||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",i),o=!0)}o||r(t,n,"ltr")}(m,n||0,null==r?p:r,function(e,t,o,d){var b="ltr"==o,g=f(e,b?"left":"right"),y=f(t-1,b?"right":"left"),v=null==n&&0==e,_=null==r&&t==p,x=0==d,w=!m||d==m.length-1;if(y.top-g.top<=3){var j=(u?_:v)&&w,k=(u?v:_)&&x?s:(b?g:y).left,S=j?l:(b?y:g).right;c(k,g.top,S-k,g.bottom)}else{var E,C,O,T;b?(E=u&&v&&x?s:g.left,C=u?l:h(e,o,"before"),O=u?s:h(t,o,"after"),T=u&&_&&w?l:y.right):(E=u?h(e,o,"before"):s,C=!u&&v&&x?l:g.right,O=!u&&_&&w?s:y.left,T=u?h(t,o,"after"):l),c(E,g.top,C-E,g.bottom),g.bottom0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function hr(e){e.state.focused||(e.display.input.focus(),br(e))}function mr(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,gr(e))},100)}function br(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(nt(e,"focus",e,t),e.state.focused=!0,L(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),fr(e))}function gr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(nt(e,"blur",e,t),e.state.focused=!1,E(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function yr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||c<-.005)&&(ce(o.line,i),vr(o.line),o.rest))for(var d=0;d=a&&(i=pe(t,Ge(se(t,l))-e.wrapper.clientHeight),a=l)}return{from:i,to:Math.max(a,i+1)}}function xr(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=rr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,i=r+"px",a=0;ai&&(t.bottom=t.top+i);var s=e.doc.height+jn(n),l=t.tops-r;if(t.topo+i){var c=Math.min(t.top,(u?s:t.bottom)-i);c!=o&&(a.scrollTop=c)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=En(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),f=t.right-t.left>p;return f&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.leftp+d-3&&(a.scrollLeft=t.right+(f?0:10)-p),a}function kr(e,t){null!=t&&(Cr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Sr(e){Cr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Er(e,t,n){null==t&&null==n||Cr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Cr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Or(e,Kn(e,t.from),Kn(e,t.to),t.margin))}function Or(e,t,n,r){var o=jr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Er(e,o.scrollLeft,o.scrollTop)}function Tr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||ao(e,{top:t}),Ar(e,t,!0),n&&ao(e),to(e,100))}function Ar(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Rr(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,xr(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Nr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+jn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Sn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Lr=function(e,t,n){this.cm=n;var r=this.vert=T("div",[T("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=T("div",[T("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(o),Qe(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),Qe(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Lr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var o=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var i=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+i)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Lr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Lr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Lr.prototype.zeroWidthHack=function(){var e=y&&!f?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new z,this.disableVert=new z},Lr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,function r(){var o=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(o.right-1,(o.top+o.bottom)/2):document.elementFromPoint((o.right+o.left)/2,o.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)})},Lr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ir=function(){};function Mr(e,t){t||(t=Nr(e));var n=e.display.barWidth,r=e.display.barHeight;Pr(e,t);for(var o=0;o<4&&n!=e.display.barWidth||r!=e.display.barHeight;o++)n!=e.display.barWidth&&e.options.lineWrapping&&yr(e),Pr(e,Nr(e)),n=e.display.barWidth,r=e.display.barHeight}function Pr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Ir.prototype.update=function(){return{bottom:0,right:0}},Ir.prototype.setScrollLeft=function(){},Ir.prototype.setScrollTop=function(){},Ir.prototype.clear=function(){};var Dr={native:Lr,null:Ir};function Fr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&E(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Dr[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Qe(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?Rr(e,t):Tr(e,t)},e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var zr=0;function Ur(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++zr},t=e.curOp,on?on.ops.push(t):t.ownsGroup=on={ops:[t],delayedCallbacks:[]}}function Br(e){!function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ro(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function qr(e){var t=e.cm,n=t.display;e.updatedDisplay&&yr(t),e.barMeasure=Nr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Tn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Sn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-En(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Wr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!h){var i=T("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-wn(e.display))+"px;\n height: "+(t.bottom-t.top+Sn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(i),i.scrollIntoView(o),e.display.lineSpace.removeChild(i)}}}(t,function(e,t,n,r){var o;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?me(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?me(t.line,t.ch+1,"before"):t);for(var i=0;i<5;i++){var a=!1,s=Vn(e,t),l=n&&n!=t?Vn(e,n):s,u=jr(e,o={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),c=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=u.scrollTop&&(Tr(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=u.scrollLeft&&(Rr(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return o}(t,we(r,e.scrollToPos.from),we(r,e.scrollToPos.to),e.scrollToPos.margin));var o=e.maybeHiddenMarkers,i=e.maybeUnhiddenMarkers;if(o)for(var a=0;at)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)Se&&Be(e.doc,t)o.viewFrom?Zr(e):(o.viewFrom+=r,o.viewTo+=r);else if(t<=o.viewFrom&&n>=o.viewTo)Zr(e);else if(t<=o.viewFrom){var i=Qr(e,n,n+r,1);i?(o.view=o.view.slice(i.index),o.viewFrom=i.lineN,o.viewTo+=r):Zr(e)}else if(n>=o.viewTo){var a=Qr(e,t,t,-1);a?(o.view=o.view.slice(0,a.index),o.viewTo=a.lineN):Zr(e)}else{var s=Qr(e,t,t,-1),l=Qr(e,n,n+r,1);s&&l?(o.view=o.view.slice(0,s.index).concat(rn(e,s.lineN,l.lineN)).concat(o.view.slice(l.index)),o.viewTo+=r):Zr(e)}var u=o.externalMeasured;u&&(n=o.lineN&&t=r.viewTo)){var i=r.view[sr(e,t)];if(null!=i.node){var a=i.changes||(i.changes=[]);-1==U(a,n)&&a.push(n)}}}function Zr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Qr(e,t,n,r){var o,i=sr(e,t),a=e.display.view;if(!Se||n==e.doc.first+e.doc.size)return{index:i,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(i==a.length-1)return null;o=s+a[i].size-t,i++}else o=s-t;t+=o,n+=o}for(;Be(e.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function eo(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Dt(e,t.highlightFrontier),o=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(i){if(r.line>=e.display.viewFrom){var a=i.styles,s=i.text.length>e.options.maxHighlightLength?Tt(t.mode,r.state):null,l=Mt(e,i,r,!0);s&&(r.state=s),i.styles=l.styles;var u=i.styleClasses,c=l.classes;c?i.styleClasses=c:u&&(i.styleClasses=null);for(var d=!a||a.length!=i.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!d&&pn)return to(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),o.length&&Vr(e,function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==eo(e))return!1;wr(e)&&(Zr(e),t.dims=nr(e));var o=r.first+r.size,i=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(o,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(o,n.viewTo)),Se&&(i=Be(e.doc,i),a=He(e.doc,a));var s=i!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=rn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=rn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,sr(e,n)))),r.viewTo=n}(e,i,a),n.viewOffset=Ge(se(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var u=eo(e);if(!s&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=N();if(!t||!R(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&R(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return u>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,o=e.options.lineNumbers,i=r.lineDiv,a=i.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var u=r.view,c=r.viewFrom,d=0;d-1&&(f=!1),un(e,p,c,n)),f&&(C(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(he(e.options,c)))),a=p.node.nextSibling}else{var h=bn(e,p,c,n);i.insertBefore(h,a)}c+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=N()&&(e.activeElt.focus(),e.anchorNode&&R(document.body,e.anchorNode)&&R(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(c),C(n.cursorDiv),C(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,to(e,400)),n.updateLineNumbers=null,!0}function io(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=En(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+jn(e.display)-Cn(e),n.top)}),t.visible=_r(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&oo(e,t);r=!1){yr(e);var o=Nr(e);lr(e),Mr(e,o),lo(e,o),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function ao(e,t){var n=new ro(e,t);if(oo(e,n)){yr(e),io(e,n);var r=Nr(e);lr(e),Mr(e,r),lo(e,r),n.finish()}}function so(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function lo(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Sn(e)+"px"}function uo(e){var t=e.display.gutters,n=e.options.gutters;C(t);for(var r=0;r-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}ro.prototype.signal=function(e,t){it(e,t)&&this.events.push(arguments)},ro.prototype.finish=function(){for(var e=0;es.clientWidth,c=s.scrollHeight>s.clientHeight;if(o&&u||i&&c){if(i&&y&&l)e:for(var p=t.target,f=a.view;p!=s;p=p.parentNode)for(var h=0;h=0&&be(e,r.to())<=0)return n}return-1};var yo=function(e,t){this.anchor=e,this.head=t};function vo(e,t){var n=e[t];e.sort(function(e,t){return be(e.from(),t.from())}),t=U(e,n);for(var r=1;r=0){var a=_e(i.from(),o.from()),s=ve(i.to(),o.to()),l=i.empty()?o.from()==o.head:i.from()==i.head;r<=t&&--t,e.splice(--r,2,new yo(l?s:a,l?a:s))}}return new go(e,t)}function _o(e,t){return new go([new yo(e,t||e)],0)}function xo(e){return e.text?me(e.from.line+e.text.length-1,Y(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function wo(e,t){if(be(e,t.from)<0)return e;if(be(e,t.to)<=0)return xo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=xo(t).ch-t.to.ch),me(n,r)}function jo(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}sn(e,"change",e,t)}function To(e,t,n){!function e(r,o,i){if(r.linked)for(var a=0;as-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(i=function(e,t){return t?(Io(e.done),Y(e.done)):e.done.length&&!Y(e.done).ranges?Y(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Y(e.done)):void 0}(o,o.lastOp==r)))a=Y(i.changes),0==be(t.from,t.to)&&0==be(t.from,a.to)?a.to=xo(t):i.changes.push(Lo(e,t));else{var l=Y(o.done);for(l&&l.ranges||Do(e.sel,o.done),i={changes:[Lo(e,t)],generation:o.generation},o.done.push(i);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=s,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=t.origin,a||nt(e,"historyAdded")}function Po(e,t,n,r){var o=e.history,i=r&&r.origin;n==o.lastSelOp||i&&o.lastSelOrigin==i&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==i||function(e,t,n,r){var o=t.charAt(0);return"*"==o||"+"==o&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,i,Y(o.done),t))?o.done[o.done.length-1]=t:Do(t,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=i,o.lastSelOp=n,r&&!1!==r.clearRedo&&Io(o.undone)}function Do(e,t){var n=Y(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Fo(e,t,n,r){var o=t["spans_"+e.id],i=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((o||(o=t["spans_"+e.id]={}))[i]=n.markedSpans),++i})}function zo(e){if(!e)return null;for(var t,n=0;n-1&&(Y(s)[d]=u[d],delete u[d])}}}return r}function Ho(e,t,n,r){if(r){var o=e.anchor;if(n){var i=be(t,o)<0;i!=be(n,o)<0?(o=t,t=n):i!=be(t,n)<0&&(t=n)}return new yo(o,t)}return new yo(n||t,t)}function qo(e,t,n,r,o){null==o&&(o=e.cm&&(e.cm.display.shift||e.extend)),$o(e,new go([Ho(e.sel.primary(),t,n,o)],0),r)}function Wo(e,t,n){for(var r=[],o=e.cm&&(e.cm.display.shift||e.extend),i=0;i=t.ch:s.to>t.ch))){if(o&&(nt(l,"beforeCursorEnter"),l.explicitlyCleared)){if(i.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var u=l.find(r<0?1:-1),c=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(u=ti(e,u,-r,u&&u.line==t.line?i:null)),u&&u.line==t.line&&(c=be(u,n))&&(r<0?c<0:c>0))return Qo(e,u,t,r,o)}var d=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(d=ti(e,d,r,d.line==t.line?i:null)),d?Qo(e,d,t,r,o):null}}return t}function ei(e,t,n,r,o){var i=r||1,a=Qo(e,t,n,i,o)||!o&&Qo(e,t,n,i,!0)||Qo(e,t,n,-i,o)||!o&&Qo(e,t,n,-i,!0);return a||(e.cantEdit=!0,me(e.first,0))}function ti(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?we(e,me(t.line-1)):null:n>0&&t.ch==(r||se(e,t.line)).text.length?t.line0)){var c=[l,1],d=be(u.from,s.from),p=be(u.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&c.push({from:u.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&c.push({from:s.to,to:u.to}),o.splice.apply(o,c),l+=c.length-3}}return o}(e,t.from,t.to);if(r)for(var o=r.length-1;o>=0;--o)ii(e,{from:r[o].from,to:r[o].to,text:o?[""]:t.text,origin:t.origin});else ii(e,t)}}function ii(e,t){if(1!=t.text.length||""!=t.text[0]||0!=be(t.from,t.to)){var n=jo(e,t);Mo(e,t,n,e.cm?e.cm.curOp.id:NaN),li(e,t,n,Te(e,t));var r=[];To(e,function(e,n){n||-1!=U(r,e.history)||(pi(e.history,t),r.push(e.history)),li(e,t,null,Te(e,t))})}}function ai(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var o,i=e.history,a=e.sel,s="undo"==t?i.done:i.undone,l="undo"==t?i.undone:i.done,u=0;u=0;--f){var h=p(f);if(h)return h.v}}}}function si(e,t){if(0!=t&&(e.first+=t,e.sel=new go(X(e.sel.ranges,function(e){return new yo(me(e.anchor.line+t,e.anchor.ch),me(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Xr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.linei&&(t={from:t.from,to:me(i,se(e,i).text.length),text:[t.text[0]],origin:t.origin}),t.removed=le(e,t.from,t.to),n||(n=jo(e,t)),e.cm?function(e,t,n){var r=e.doc,o=e.display,i=t.from,a=t.to,s=!1,l=i.line;e.options.lineWrapping||(l=de(Ue(se(r,i.line))),r.iter(l,a.line+1,function(e){if(e==o.maxLine)return s=!0,!0}));r.sel.contains(t.from,t.to)>-1&&ot(e);Oo(r,t,n,or(e)),e.options.lineWrapping||(r.iter(l,i.line+t.text.length,function(e){var t=Ve(e);t>o.maxLineLength&&(o.maxLine=e,o.maxLineLength=t,o.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0));(function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var o=se(e,r).stateAfter;if(o&&(!(o instanceof Lt)||r+o.lookAhead1||!(this.children[0]instanceof hi))){var s=[];this.collapse(s),this.children=[new hi(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=o.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==i.clearWhenEmpty)return i;if(i.replacedWith&&(i.collapsed=!0,i.widgetNode=A("span",[i.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||i.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(i.widgetNode.insertLeft=!0)),i.collapsed){if(ze(e,t.line,t,n,i)||t.line!=n.line&&ze(e,n.line,t,n,i))throw new Error("Inserting collapsed marker partially overlapping an existing one");Se=!0}i.addToHistory&&Mo(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,n.line+1,function(e){u&&i.collapsed&&!u.options.lineWrapping&&Ue(e)==u.display.maxLine&&(s=!0),i.collapsed&&l!=t.line&&ce(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Ee(i,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),i.collapsed&&e.iter(t.line,n.line+1,function(t){qe(e,t)&&ce(t,0)}),i.clearOnEnter&&Qe(i,"beforeCursorEnter",function(){return i.clear()}),i.readOnly&&(ke=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),i.collapsed&&(i.id=++yi,i.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),i.collapsed)Xr(u,t.line,n.line+1);else if(i.className||i.title||i.startStyle||i.endStyle||i.css)for(var c=t.line;c<=n.line;c++)Jr(u,c,"text");i.atomic&&Jo(u.doc),sn(u,"markerAdded",u,i)}return i}vi.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Ur(e),it(this,"clear")){var n=this.find();n&&sn(this,"clear",n.from,n.to)}for(var r=null,o=null,i=0;ie.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Xr(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Jo(e.doc)),e&&sn(e,"markerCleared",e,this,r,o),t&&Br(e),this.parent&&this.parent.clear()}},vi.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var o=0;o=0;l--)oi(this,r[l]);s?Ko(this,s):this.cm&&Sr(this.cm)}),undo:Yr(function(){ai(this,"undo")}),redo:Yr(function(){ai(this,"redo")}),undoSelection:Yr(function(){ai(this,"undo",!0)}),redoSelection:Yr(function(){ai(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,n){e=we(this,e),t=we(this,t);var r=[],o=e.line;return this.iter(e.line,t.line+1,function(i){var a=i.markedSpans;if(a)for(var s=0;s=l.to||null==l.from&&o!=e.line||null!=l.from&&o==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++o}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=i,++n}),we(this,me(n,t))},indexFromPos:function(e){var t=(e=we(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var c=e.dataTransfer.getData("Text");if(c){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),Yo(t.doc,_o(n,n)),d)for(var p=0;p=0;t--)ui(e.doc,"",r[t].from,r[t].to,"+delete");Sr(e)})}function Vi(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Ki(e,t,n){var r=Vi(e,t.ch,n);return null==r?null:new me(t.line,r,n<0?"after":"before")}function $i(e,t,n,r,o){if(e){var i=Je(n,t.doc.direction);if(i){var a,s=o<0?Y(i):i[0],l=o<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=Rn(t,n);a=o<0?n.text.length-1:0;var c=Nn(t,u,a).top;a=ae(function(e){return Nn(t,u,e).top==c},o<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=Vi(n,a,1))}else a=o<0?s.to:s.from;return new me(r,a,l)}}return new me(r,o<0?n.text.length:0,o<0?"before":"after")}Di.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Di.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Di.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Di.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Di.default=y?Di.macDefault:Di.pcDefault;var Yi={selectAll:ni,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),q)},killLine:function(e){return Gi(e,function(t){if(t.empty()){var n=se(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)o=new me(o.line,o.ch+1),e.replaceRange(i.charAt(o.ch-1)+i.charAt(o.ch-2),me(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var a=se(e.doc,o.line-1).text;a&&(o=new me(o.line,1),e.replaceRange(i.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),me(o.line-1,a.length-1),o,"+transpose"))}n.push(new yo(o,o))}e.setSelections(n)})},newlineAndIndent:function(e){return Vr(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(be((o=u.ranges[o]).from(),t)<0||t.xRel>0)&&(be(o.to(),t)>0||t.xRel<0)?function(e,t,n,r){var o=e.display,i=!1,u=Kr(e,function(t){l&&(o.scroller.draggable=!1),e.state.draggingText=!1,tt(o.wrapper.ownerDocument,"mouseup",u),tt(o.wrapper.ownerDocument,"mousemove",c),tt(o.scroller,"dragstart",d),tt(o.scroller,"drop",u),i||(st(t),r.addNew||qo(e.doc,n,null,null,r.extend),l||a&&9==s?setTimeout(function(){o.wrapper.ownerDocument.body.focus(),o.input.focus()},20):o.input.focus())}),c=function(e){i=i||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return i=!0};l&&(o.scroller.draggable=!0);e.state.draggingText=u,u.copy=!r.moveOnDrag,o.scroller.dragDrop&&o.scroller.dragDrop();Qe(o.wrapper.ownerDocument,"mouseup",u),Qe(o.wrapper.ownerDocument,"mousemove",c),Qe(o.scroller,"dragstart",d),Qe(o.scroller,"drop",u),mr(e),setTimeout(function(){return o.input.focus()},20)}(e,r,t,i):function(e,t,n,r){var o=e.display,i=e.doc;st(t);var a,s,l=i.sel,u=l.ranges;r.addNew&&!r.extend?(s=i.sel.contains(n),a=s>-1?u[s]:new yo(n,n)):(a=i.sel.primary(),s=i.sel.primIndex);if("rectangle"==r.unit)r.addNew||(a=new yo(n,n)),n=ar(e,t,!0,!0),s=-1;else{var c=da(e,n,r.unit);a=r.extend?Ho(a,c.anchor,c.head,r.extend):c}r.addNew?-1==s?(s=u.length,$o(i,vo(u.concat([a]),s),{scroll:!1,origin:"*mouse"})):u.length>1&&u[s].empty()&&"char"==r.unit&&!r.extend?($o(i,vo(u.slice(0,s).concat(u.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=i.sel):Go(i,s,a,W):(s=0,$o(i,new go([a],0),W),l=i.sel);var d=n;function p(t){if(0!=be(d,t))if(d=t,"rectangle"==r.unit){for(var o=[],u=e.options.tabSize,c=F(se(i,n.line).text,n.ch,u),p=F(se(i,t.line).text,t.ch,u),f=Math.min(c,p),h=Math.max(c,p),m=Math.min(n.line,t.line),b=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=b;m++){var g=se(i,m).text,y=V(g,f,u);f==h?o.push(new yo(me(m,y),me(m,y))):g.length>y&&o.push(new yo(me(m,y),me(m,V(g,h,u))))}o.length||o.push(new yo(n,n)),$o(i,vo(l.ranges.slice(0,s).concat(o),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var v,_=a,x=da(e,t,r.unit),w=_.anchor;be(x.anchor,w)>0?(v=x.head,w=_e(_.from(),x.anchor)):(v=x.anchor,w=ve(_.to(),x.head));var j=l.ranges.slice(0);j[s]=function(e,t){var n=t.anchor,r=t.head,o=se(e.doc,n.line);if(0==be(n,r)&&n.sticky==r.sticky)return t;var i=Je(o);if(!i)return t;var a=Ye(i,n.ch,n.sticky),s=i[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,u=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==u||u==i.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=Ye(i,r.ch,r.sticky),d=c-a||(r.ch-n.ch)*(1==s.level?-1:1);l=c==u-1||c==u?d<0:d>0}var p=i[u+(l?-1:0)],f=l==(1==p.level),h=f?p.from:p.to,m=f?"after":"before";return n.ch==h&&n.sticky==m?t:new yo(new me(n.line,h,m),r)}(e,new yo(we(i,w),v)),$o(i,vo(j,s),W)}}var f=o.wrapper.getBoundingClientRect(),h=0;function m(t){e.state.selectingText=!1,h=1/0,st(t),o.input.focus(),tt(o.wrapper.ownerDocument,"mousemove",b),tt(o.wrapper.ownerDocument,"mouseup",g),i.history.lastSelOrigin=null}var b=Kr(e,function(t){pt(t)?function t(n){var a=++h;var s=ar(e,n,!0,"rectangle"==r.unit);if(!s)return;if(0!=be(s,d)){e.curOp.focus=N(),p(s);var l=_r(o,i);(s.line>=l.to||s.linef.bottom?20:0;u&&setTimeout(Kr(e,function(){h==a&&(o.scroller.scrollTop+=u,t(n))}),50)}}(t):m(t)}),g=Kr(e,m);e.state.selectingText=g,Qe(o.wrapper.ownerDocument,"mousemove",b),Qe(o.wrapper.ownerDocument,"mouseup",g)}(e,r,t,i)}(t,r,i,e):dt(e)==n.scroller&&st(e):2==o?(r&&qo(t.doc,r),setTimeout(function(){return n.input.focus()},20)):3==o&&(j?ha(t,e):mr(t)))}}function da(e,t,n){if("char"==n)return new yo(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new yo(me(t.line,0),we(e.doc,me(t.line+1,0)));var r=n(e,t);return new yo(r.from,r.to)}function pa(e,t,n,r){var o,i;if(t.touches)o=t.touches[0].clientX,i=t.touches[0].clientY;else try{o=t.clientX,i=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&st(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(i>s.bottom||!it(e,n))return ut(t);i-=s.top-a.viewOffset;for(var l=0;l=o)return nt(e,n,e,pe(e.doc,i),e.options.gutters[l],t),ut(t)}}function fa(e,t){return pa(e,t,"gutterClick",!0)}function ha(e,t){xn(e.display,t)||function(e,t){if(!it(e,"gutterContextMenu"))return!1;return pa(e,t,"gutterContextMenu",!1)}(e,t)||rt(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function ma(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),zn(e)}ua.prototype.compare=function(e,t,n){return this.time+400>e&&0==be(t,this.pos)&&n==this.button};var ba={toString:function(){return"CodeMirror.Init"}},ga={},ya={};function va(e){uo(e),Xr(e),xr(e)}function _a(e,t,n){if(!t!=!(n&&n!=ba)){var r=e.display.dragFunctions,o=t?Qe:tt;o(e.display.scroller,"dragstart",r.start),o(e.display.scroller,"dragenter",r.enter),o(e.display.scroller,"dragover",r.over),o(e.display.scroller,"dragleave",r.leave),o(e.display.scroller,"drop",r.drop)}}function xa(e){e.options.lineWrapping?(L(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(E(e.display.wrapper,"CodeMirror-wrap"),Ke(e)),ir(e),Xr(e),zn(e),setTimeout(function(){return Mr(e)},100)}function wa(e,t){var r=this;if(!(this instanceof wa))return new wa(e,t);this.options=t=t?D(t):{},D(ga,t,!1),co(t);var o=t.value;"string"==typeof o&&(o=new Si(o,t.mode,null,t.lineSeparator,t.direction)),this.doc=o;var i=new wa.inputStyles[t.inputStyle](this),u=this.display=new function(e,t,r){var o=this;this.input=r,o.scrollbarFiller=T("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=T("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=A("div",null,"CodeMirror-code"),o.selectionDiv=T("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=T("div",null,"CodeMirror-cursors"),o.measure=T("div",null,"CodeMirror-measure"),o.lineMeasure=T("div",null,"CodeMirror-measure"),o.lineSpace=A("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var i=A("div",[o.lineSpace],"CodeMirror-lines");o.mover=T("div",[i],null,"position: relative"),o.sizer=T("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=T("div",null,null,"position: absolute; height: "+B+"px; width: 1px;"),o.gutters=T("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=T("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=T("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&g||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,r.init(o)}(e,o,i);for(var c in u.wrapper.CodeMirror=this,uo(this),ma(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Fr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new z,keySeq:null,specialChars:null},t.autofocus&&!g&&u.input.focus(),a&&s<11&&setTimeout(function(){return r.display.input.reset(!0)},20),function(e){var t=e.display;Qe(t.scroller,"mousedown",Kr(e,ca)),Qe(t.scroller,"dblclick",a&&s<11?Kr(e,function(t){if(!rt(e,t)){var n=ar(e,t);if(n&&!fa(e,t)&&!xn(e.display,t)){st(t);var r=e.findWordAt(n);qo(e.doc,r.anchor,r.head)}}}):function(t){return rt(e,t)||st(t)});j||Qe(t.scroller,"contextmenu",function(t){return ha(e,t)});var n,r={end:0};function o(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),(r=t.activeTouch).end=+new Date)}function i(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}Qe(t.scroller,"touchstart",function(o){if(!rt(e,o)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(o)&&!fa(e,o)){t.input.ensurePolled(),clearTimeout(n);var i=+new Date;t.activeTouch={start:i,moved:!1,prev:i-r.end<=300?r:null},1==o.touches.length&&(t.activeTouch.left=o.touches[0].pageX,t.activeTouch.top=o.touches[0].pageY)}}),Qe(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),Qe(t.scroller,"touchend",function(n){var r=t.activeTouch;if(r&&!xn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,"page");a=!r.prev||i(r,r.prev)?new yo(s,s):!r.prev.prev||i(r,r.prev.prev)?e.findWordAt(s):new yo(me(s.line,0),we(e.doc,me(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),st(n)}o()}),Qe(t.scroller,"touchcancel",o),Qe(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Tr(e,t.scroller.scrollTop),Rr(e,t.scroller.scrollLeft,!0),nt(e,"scroll",e))}),Qe(t.scroller,"mousewheel",function(t){return bo(e,t)}),Qe(t.scroller,"DOMMouseScroll",function(t){return bo(e,t)}),Qe(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){rt(e,t)||ct(t)},over:function(t){rt(e,t)||(!function(e,t){var n=ar(e,t);if(n){var r=document.createDocumentFragment();cr(e,n,r),e.display.dragCursor||(e.display.dragCursor=T("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,r)}}(e,t),ct(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Ei<100))ct(t);else if(!rt(e,t)&&!xn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!p)){var n=T("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}(e,t)},drop:Kr(e,Ci),leave:function(t){rt(e,t)||Oi(e)}};var l=t.input.getField();Qe(l,"keyup",function(t){return ia.call(e,t)}),Qe(l,"keydown",Kr(e,oa)),Qe(l,"keypress",Kr(e,aa)),Qe(l,"focus",function(t){return br(e,t)}),Qe(l,"blur",function(t){return gr(e,t)})}(this),Ri(),Ur(this),this.curOp.forceUpdate=!0,Ao(this,o),t.autofocus&&!g||this.hasFocus()?setTimeout(P(br,this),20):gr(this),ya)ya.hasOwnProperty(c)&&ya[c](r,t[c],ba);wr(this),t.finishInit&&t.finishInit(this);for(var f=0;f150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>i.first?F(se(i,t-1).text,null,a):0:"add"==n?u=l+e.options.indentUnit:"subtract"==n?u=l-e.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var d="",p=0;if(e.options.indentWithTabs)for(var f=Math.floor(u/a);f;--f)p+=a,d+="\t";if(p1)if(Sa&&Sa.text.join("\n")==t){if(r.ranges.length%Sa.text.length==0){u=[];for(var c=0;c=0;d--){var p=r.ranges[d],f=p.from(),h=p.to();p.empty()&&(n&&n>0?f=me(f.line,f.ch-n):e.state.overwrite&&!s?h=me(h.line,Math.min(se(i,h.line).text.length,h.ch+Y(l).length)):Sa&&Sa.lineWise&&Sa.text.join("\n")==t&&(f=h=me(f.line,0))),a=e.curOp.updateInput;var m={from:f,to:h,text:u?u[d%u.length]:l,origin:o||(s?"paste":e.state.cutIncoming?"cut":"+input")};oi(e.doc,m),sn(e,"inputRead",e,m)}t&&!s&&Ta(e,t),Sr(e),e.curOp.updateInput=a,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Oa(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Vr(t,function(){return Ca(t,n,0,null,"paste")}),!0}function Ta(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var i=e.getModeAt(o.head),a=!1;if(i.electricChars){for(var s=0;s-1){a=ka(e,o.head.line,"smart");break}}else i.electricInput&&i.electricInput.test(se(e.doc,o.head.line).text.slice(0,o.head.ch))&&(a=ka(e,o.head.line,"smart"));a&&sn(e,"electricInput",e,o.head.line)}}}function Aa(e){for(var t=[],n=[],r=0;r=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var i=Ye(o,n.ch,n.sticky),a=o[i];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&p>=c.begin)){var f=d?"before":"after";return new me(n.line,p,f)}}var h=function(e,t,r){for(var i=function(e,t){return t?new me(n.line,l(e,1),"before"):new me(n.line,e,"after")};e>=0&&e0==(1!=a.level),u=s?r.begin:l(r.end,-1);if(a.from<=u&&u0?c.end:l(c.begin,-1);return null==b||r>0&&b==t.text.length||!(m=h(r>0?0:o.length-1,r,u(b)))?null:m}(e.cm,s,t,n):Ki(s,t,n))){if(r||(a=t.line+n)=e.first+e.size||(t=new me(a,t.ch,t.sticky),!(s=se(e,a))))return!1;t=$i(o,e.cm,s,t.line,n)}else t=i;return!0}if("char"==r)l();else if("column"==r)l(!0);else if("word"==r||"group"==r)for(var u=null,c="group"==r,d=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||l(!p);p=!1){var f=s.text.charAt(t.ch)||"\n",h=te(f,d)?"w":c&&"\n"==f?"n":!c||/\s/.test(f)?null:"p";if(!c||p||h||(h="s"),u&&u!=h){n<0&&(n=1,l(),t.sticky="after");break}if(h&&(u=h),n>0&&!l(!p))break}var m=ei(e,t,i,a,!0);return ge(i,m)&&(m.hitSide=!0),m}function Ia(e,t,n,r){var o,i,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*er(e.display),3);o=(n>0?t.bottom:t.top)+n*u}else"line"==r&&(o=n>0?t.bottom+3:t.top-3);for(;(i=Yn(e,s,o)).outside;){if(n<0?o<=0:o>=a.height){i.hitSide=!0;break}o+=5*n}return i}var Ma=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new z,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Pa(e,t){var n=An(e,t.line);if(!n||n.hidden)return null;var r=se(e.doc,t.line),o=On(n,r,t.line),i=Je(r,e.doc.direction),a="left";i&&(a=Ye(i,t.ch)%2?"right":"left");var s=Mn(o.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Da(e,t){return t&&(e.bad=!0),e}function Fa(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Da(e.clipPos(me(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var o=0;o=t.display.viewTo||i.line=t.display.viewFrom&&Pa(t,o)||{node:l[0].measure.map[2],offset:0},c=i.liner.firstLine()&&(a=me(a.line-1,se(r.doc,a.line-1).length)),s.ch==se(r.doc,s.line).text.length&&s.lineo.viewTo-1)return!1;a.line==o.viewFrom||0==(e=sr(r,a.line))?(t=de(o.view[0].line),n=o.view[0].node):(t=de(o.view[e].line),n=o.view[e-1].node.nextSibling);var l,u,c=sr(r,s.line);if(c==o.view.length-1?(l=o.viewTo-1,u=o.lineDiv.lastChild):(l=de(o.view[c+1].line)-1,u=o.view[c+1].node.previousSibling),!n)return!1;for(var d=r.doc.splitLines(function(e,t,n,r,o){var i="",a=!1,s=e.doc.lineSeparator();function l(){a&&(i+=s,a=!1)}function u(e){e&&(l(),i+=e)}function c(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void u(n||t.textContent.replace(/\u200b/g,""));var i,d=t.getAttribute("cm-marker");if(d){var p=e.findMarks(me(r,0),me(o+1,0),(m=+d,function(e){return e.id==m}));return void(p.length&&(i=p[0].find(0))&&u(le(e.doc,i.from,i.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var f=/^(pre|div|p)$/i.test(t.nodeName);f&&l();for(var h=0;h1&&p.length>1;)if(Y(d)==Y(p))d.pop(),p.pop(),l--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),t++}for(var f=0,h=0,m=d[0],b=p[0],g=Math.min(m.length,b.length);fa.ch&&y.charCodeAt(y.length-h-1)==v.charCodeAt(v.length-h-1);)f--,h++;d[d.length-1]=y.slice(0,y.length-h).replace(/^\u200b+/,""),d[0]=d[0].slice(f).replace(/\u200b+$/,"");var x=me(t,f),w=me(l,p.length?Y(p).length-h:0);return d.length>1||d[0]||be(x,w)?(ui(r.doc,d,x,w,"+input"),!0):void 0},Ma.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ma.prototype.reset=function(){this.forceCompositionEnd()},Ma.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ma.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Ma.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Vr(this.cm,function(){return Xr(e.cm)})},Ma.prototype.setUneditable=function(e){e.contentEditable="false"},Ma.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Kr(this.cm,Ca)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ma.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ma.prototype.onContextMenu=function(){},Ma.prototype.resetPosition=function(){},Ma.prototype.needsContentAttribute=!0;var Ua=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new z,this.hasSelection=!1,this.composing=null};Ua.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var o=this.textarea;function i(e){if(!rt(r,e)){if(r.somethingSelected())Ea({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Aa(r);Ea({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput="",o.value=t.text.join("\n"),M(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(o.style.width="0px"),Qe(o,"input",function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),Qe(o,"paste",function(e){rt(r,e)||Oa(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),Qe(o,"cut",i),Qe(o,"copy",i),Qe(e.scroller,"paste",function(t){xn(e,t)||rt(r,t)||(r.state.pasteIncoming=!0,n.focus())}),Qe(e.lineSpace,"selectstart",function(t){xn(e,t)||st(t)}),Qe(o,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),Qe(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},Ua.prototype.createField=function(e){this.wrapper=Na(),this.textarea=this.wrapper.firstChild},Ua.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=ur(e);if(e.options.moveInputWithCursor){var o=Vn(e,n.sel.primary().head,"div"),i=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+a.top-i.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+a.left-i.left))}return r},Ua.prototype.showSelection=function(e){var t=this.cm.display;O(t.cursorDiv,e.cursors),O(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ua.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},Ua.prototype.getField=function(){return this.textarea},Ua.prototype.supportsTouch=function(){return!1},Ua.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!g||N()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ua.prototype.blur=function(){this.textarea.blur()},Ua.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ua.prototype.receivedFocus=function(){this.slowPoll()},Ua.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ua.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))})},Ua.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||_t(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var o=n.value;if(o==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===o||y&&/[\uf700-\uf7ff]/.test(o))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var i=o.charCodeAt(0);if(8203!=i||r||(r="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var l=0,u=Math.min(r.length,o.length);l1e3||o.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=o,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ua.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ua.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ua.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,o=t.textarea,i=ar(n,e),u=r.scroller.scrollTop;if(i&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(i)&&Kr(n,$o)(n.doc,_o(i),q);var c=o.style.cssText,p=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var f,h=t.wrapper.getBoundingClientRect();if(o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(f=window.scrollY),r.input.focus(),l&&window.scrollTo(null,f),r.input.reset(),n.somethingSelected()||(o.value=t.prevInput=" "),t.contextMenuPending=!0,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&b(),j){ct(e);var m=function(){tt(window,"mouseup",m),setTimeout(g,20)};Qe(window,"mouseup",m)}else setTimeout(g,50)}function b(){if(null!=o.selectionStart){var e=n.somethingSelected(),i="​"+(e?o.value:"");o.value="⇚",o.value=i,t.prevInput=e?"":"​",o.selectionStart=1,o.selectionEnd=i.length,r.selForContextMenu=n.doc.sel}}function g(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=p,o.style.cssText=c,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=u),null!=o.selectionStart){(!a||a&&s<9)&&b();var e=0,i=function(){r.selForContextMenu==n.doc.sel&&0==o.selectionStart&&o.selectionEnd>0&&"​"==t.prevInput?Kr(n,ni)(n):e++<10?r.detectingSelectAll=setTimeout(i,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(i,200)}}},Ua.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},Ua.prototype.setUneditable=function(){},Ua.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,o,i){e.defaults[n]=r,o&&(t[n]=i?function(e,t,n){n!=ba&&o(e,t,n)}:o)}e.defineOption=n,e.Init=ba,n("value","",function(e,t){return e.setValue(t)},!0),n("mode",null,function(e,t){e.doc.modeOption=t,So(e)},!0),n("indentUnit",2,So,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(e){Eo(e),zn(e),Xr(e)},!0),n("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var o=0;;){var i=e.text.indexOf(t,o);if(-1==i)break;o=i+t.length,n.push(me(r,i))}r++});for(var o=n.length-1;o>=0;o--)ui(e.doc,t,n[o],me(n[o].line,n[o].ch+t.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=ba&&e.refresh()}),n("specialCharPlaceholder",Jt,function(e){return e.refresh()},!0),n("electricChars",!0),n("inputStyle",g?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),n("rtlMoveVisually",!_),n("wholeLineUpdateBefore",!0),n("theme","default",function(e){ma(e),va(e)},!0),n("keyMap","default",function(e,t,n){var r=Wi(t),o=n!=ba&&Wi(n);o&&o.detach&&o.detach(e,r),r.attach&&r.attach(e,o||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,xa,!0),n("gutters",[],function(e){co(e.options),va(e)},!0),n("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?rr(e.display)+"px":"0",e.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(e){return Mr(e)},!0),n("scrollbarStyle","native",function(e){Fr(e),Mr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),n("lineNumbers",!1,function(e){co(e.options),va(e)},!0),n("firstLineNumber",1,va,!0),n("lineNumberFormatter",function(e){return e},va,!0),n("showCursorWhenSelecting",!1,lr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("readOnly",!1,function(e,t){"nocursor"==t&&(gr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),n("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),n("dragDrop",!0,_a),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,lr,!0),n("singleCursorHeightPerLine",!0,lr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Eo,!0),n("addModeClass",!1,Eo,!0),n("pollInterval",100),n("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),n("historyEventDelay",1250),n("viewportMargin",10,function(e){return e.refresh()},!0),n("maxHighlightLength",1e4,Eo,!0),n("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),n("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),n("autofocus",null),n("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}(wa),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,o=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Kr(this,t[e])(this,n,o),nt(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Wi(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(ka(this,o.head.line,e,!0),n=o.head.line,r==this.doc.sel.primIndex&&Sr(this));else{var i=o.from(),a=o.to(),s=Math.max(n,i.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l0&&Go(this.doc,r,new yo(i,u[r].to()),q)}}}),getTokenAt:function(e,t){return Ht(this,e,t)},getLineTokens:function(e,t){return Ht(this,me(e),t,!0)},getTokenTypeAt:function(e){e=we(this.doc,e);var t,n=Pt(this,se(this.doc,e.line)),r=0,o=(n.length-1)/2,i=e.ch;if(0==i)t=n[2];else for(;;){var a=r+o>>1;if((a?n[2*a-1]:0)>=i)o=a;else{if(!(n[2*a+1]i&&(e=i,o=!0),r=se(this.doc,e)}else r=e;return qn(this,r,{top:0,left:0},t||"page",n||o).top+(o?this.doc.height-Ge(r):0)},defaultTextHeight:function(){return er(this.display)},defaultCharWidth:function(){return tr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,o){var i,a,s,l=this.display,u=(e=Vn(this,we(this.doc,e))).bottom,c=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==r)u=e.top;else if("above"==r||"near"==r){var d=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>d)&&e.top>t.offsetHeight?u=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=d&&(u=e.bottom),c+t.offsetWidth>p&&(c=p-t.offsetWidth)}t.style.top=u+"px",t.style.left=t.style.right="","right"==o?(c=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==o?c=0:"middle"==o&&(c=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),n&&(i=this,a={left:c,top:u,right:c+t.offsetWidth,bottom:u+t.offsetHeight},null!=(s=jr(i,a)).scrollTop&&Tr(i,s.scrollTop),null!=s.scrollLeft&&Rr(i,s.scrollLeft))},triggerOnKeyDown:$r(oa),triggerOnKeyPress:$r(aa),triggerOnKeyUp:ia,triggerOnMouseDown:$r(ca),execCommand:function(e){if(Yi.hasOwnProperty(e))return Yi[e].call(null,this)},triggerElectric:$r(function(e){Ta(this,e)}),findPosH:function(e,t,n,r){var o=1;t<0&&(o=-1,t=-t);for(var i=we(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;r.5)&&ir(this),nt(this,"refresh",this)}),swapDoc:$r(function(e){var t=this.doc;return t.cm=null,Ao(this,e),zn(this),this.display.input.reset(),Er(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,sn(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},at(e),e.registerHelper=function(t,r,o){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=o},e.registerGlobalHelper=function(t,r,o,i){e.registerHelper(t,r,i),n[t]._global.push({pred:o,val:i})}}(wa);var Ba,Ha="iter insert remove copy getEditor constructor".split(" ");for(var qa in Si.prototype)Si.prototype.hasOwnProperty(qa)&&U(Ha,qa)<0&&(wa.prototype[qa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Si.prototype[qa]));return at(Si),wa.inputStyles={textarea:Ua,contenteditable:Ma},wa.defineMode=function(e){wa.defaults.mode||"null"==e||(wa.defaults.mode=e),function(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),jt[e]=t}.apply(this,arguments)},wa.defineMIME=function(e,t){kt[e]=t},wa.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),wa.defineMIME("text/plain","null"),wa.defineExtension=function(e,t){wa.prototype[e]=t},wa.defineDocExtension=function(e,t){Si.prototype[e]=t},wa.fromTextArea=function(e,t){if((t=t?D(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=N();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var o;if(e.form&&(Qe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var i=e.form;o=i.submit;try{var a=i.submit=function(){r(),i.submit=o,i.submit(),i.submit=a}}catch(e){}}t.finishInit=function(t){t.save=r,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,r(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(tt(e.form,"submit",r),"function"==typeof e.form.submit&&(e.form.submit=o))}},e.style.display="none";var s=wa(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s},(Ba=wa).off=tt,Ba.on=Qe,Ba.wheelEventPixels=mo,Ba.Doc=Si,Ba.splitLines=vt,Ba.countColumn=F,Ba.findColumn=V,Ba.isWordChar=ee,Ba.Pass=H,Ba.signal=nt,Ba.Line=Gt,Ba.changeEnd=xo,Ba.scrollbarModel=Dr,Ba.Pos=me,Ba.cmpPos=be,Ba.modes=jt,Ba.mimeModes=kt,Ba.resolveMode=St,Ba.getMode=Et,Ba.modeExtensions=Ct,Ba.extendMode=Ot,Ba.copyState=Tt,Ba.startState=Rt,Ba.innerMode=At,Ba.commands=Yi,Ba.keyMap=Di,Ba.keyName=qi,Ba.isModifierKey=Bi,Ba.lookupKey=Ui,Ba.normalizeKeyMap=zi,Ba.StringStream=Nt,Ba.SharedTextMarker=xi,Ba.TextMarker=vi,Ba.LineWidget=bi,Ba.e_preventDefault=st,Ba.e_stopPropagation=lt,Ba.e_stop=ct,Ba.addClass=L,Ba.contains=R,Ba.rmClass=E,Ba.keyNames=Li,wa.version="5.37.0",wa},e.exports=r()},"./node_modules/codemirror/mode/clike/clike.js":function(e,t,n){(function(e){"use strict";function t(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=o,this.prev=i}function n(e,n,r,o){var i=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=r&&(i=e.context.indented),e.context=new t(i,n,r,o,null,e.context)}function r(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function o(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function i(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function a(e){for(var t={},n=e.split(" "),r=0;r!?|\/]/,T=l.isIdentifierChar||/[\w\$_\xa1-\uffff]/;function A(e,t){var n,r=e.next();if(_[r]){var o=_[r](e,t);if(!1!==o)return o}if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,o=!1,i=!1;null!=(r=e.next());){if(r==n&&!o){i=!0;break}o=!o&&"\\"==r}return(i||!o&&!x)&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(S.test(r))return u=r,null;if(E.test(r)){if(e.backUp(1),e.match(C))return"number";e.next()}if("/"==r){if(e.eat("*"))return t.tokenize=R,R(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(O.test(r)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(O););return"operator"}if(e.eatWhile(T),k)for(;e.match(k);)e.eatWhile(T);var i=e.current();return s(h,i)?(s(g,i)&&(u="newstatement"),s(y,i)&&(c=!0),"keyword"):s(m,i)?"type":s(b,i)?(s(g,i)&&(u="newstatement"),"builtin"):s(v,i)?"atom":"variable"}function R(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function N(e,t){l.typeFirstDefinitions&&e.eol()&&i(t.context)&&(t.typeAtEndOfLine=o(e,t,e.pos))}return{startState:function(e){return{tokenize:null,context:new t((e||0)-d,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var a=t.context;if(e.sol()&&(null==a.align&&(a.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return N(e,t),null;u=c=null;var s=(t.tokenize||A)(e,t);if("comment"==s||"meta"==s)return s;if(null==a.align&&(a.align=!0),";"==u||":"==u||","==u&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)r(t);else if("{"==u)n(t,e.column(),"}");else if("["==u)n(t,e.column(),"]");else if("("==u)n(t,e.column(),")");else if("}"==u){for(;"statement"==a.type;)a=r(t);for("}"==a.type&&(a=r(t));"statement"==a.type;)a=r(t)}else u==a.type?r(t):w&&(("}"==a.type||"top"==a.type)&&";"!=u||"statement"==a.type&&"newstatement"==u)&&n(t,e.column(),"statement",e.current());if("variable"==s&&("def"==t.prevToken||l.typeFirstDefinitions&&o(e,t,e.start)&&i(t.context)&&e.match(/^\s*\(/,!1))&&(s="def"),_.token){var d=_.token(e,t,s);void 0!==d&&(s=d)}return"def"==s&&!1===l.styleDefs&&(s="variable"),t.startOfLine=!1,t.prevToken=c?"def":s||u,N(e,t),s},indent:function(t,n){if(t.tokenize!=A&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var r=t.context,o=n&&n.charAt(0);if("statement"==r.type&&"}"==o&&(r=r.prev),l.dontIndentStatements)for(;"statement"==r.type&&l.dontIndentStatements.test(r.info);)r=r.prev;if(_.indent){var i=_.indent(t,r,n);if("number"==typeof i)return i}var a=o==r.type,s=r.prev&&"switch"==r.prev.info;if(l.allmanIndentation&&/[{(]/.test(o)){for(;"top"!=r.type&&"}"!=r.type;)r=r.prev;return r.indented}return"statement"==r.type?r.indented+("{"==o?0:p):!r.align||f&&")"==r.type?")"!=r.type||a?r.indented+(a?0:d)+(a||!s||/^(?:case|default)\b/.test(n)?0:d):r.indented+p:r.column+(a?0:1)},electricInput:j?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var l="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",u="int long char short double float unsigned signed void size_t ptrdiff_t";function c(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=c;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function d(e,t){return"type"==t.prevToken&&"type"}function p(e){return e.eatWhile(/[\w\.']/),"number"}function f(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=m,m(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function h(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function m(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function b(t,n){"string"==typeof t&&(t=[t]);var r=[];function o(e){if(e)for(var t in e)e.hasOwnProperty(t)&&r.push(t)}o(n.keywords),o(n.types),o(n.builtin),o(n.atoms),r.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],r));for(var i=0;i!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=g,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,n){var r=n.context;return!("}"!=r.type||!r.align||!e.eat(">"))&&(n.context=new t(r.indented,r.column,r.type,r.info,null,r.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=function e(t){return function(n,r){for(var o;o=n.next();){if("*"==o&&n.eat("/")){if(1==t){r.tokenize=null;break}return r.tokenize=e(t-1),r.tokenize(n,r)}if("/"==o&&n.eat("*"))return r.tokenize=e(t+1),r.tokenize(n,r)}return"comment"}}(1),t.tokenize(e,t))}},modeProps:{closeBrackets:{triples:'"'}}}),b("text/x-kotlin",{name:"clike",keywords:a("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:a("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:a("catch class do else finally for if where try while enum"),defKeywords:a("class val var object interface fun"),atoms:a("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){var n;return t.tokenize=(n=e.match('""'),function(e,t){for(var r,o=!1,i=!1;!e.eol();){if(!n&&!o&&e.match('"')){i=!0;break}if(n&&e.match('"""')){i=!0;break}r=e.next(),!o&&"$"==r&&e.match("{")&&e.skipTo("}"),o=!o&&"\\"==r&&!n}return!i&&n||(t.tokenize=null),"string"}),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),b(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:a("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:a("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:a("for while do if else struct"),builtin:a("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:a("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":c},modeProps:{fold:["brace","include"]}}),b("text/x-nesc",{name:"clike",keywords:a(l+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:a(u),blockKeywords:a("case do else for if switch while struct"),atoms:a("null true false"),hooks:{"#":c},modeProps:{fold:["brace","include"]}}),b("text/x-objectivec",{name:"clike",keywords:a(l+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:a(u),atoms:a("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":c,indent:function(e,t,n){if("statement"==t.type&&/^@\w/.test(n))return t.indented}},modeProps:{fold:"brace"}}),b("text/x-squirrel",{name:"clike",keywords:a("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:a(u),blockKeywords:a("case catch class else for foreach if switch try while"),defKeywords:a("function local class"),typeFirstDefinitions:!0,atoms:a("true false null"),hooks:{"#":c},modeProps:{fold:["brace","include"]}});var y=null;b("text/x-ceylon",{name:"clike",keywords:a("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:a("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:a("class dynamic function interface module object package value"),builtin:a("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:a("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=function e(t){return function(n,r){for(var o,i=!1,a=!1;!n.eol();){if(!i&&n.match('"')&&("single"==t||n.match('""'))){a=!0;break}if(!i&&n.match("``")){y=e(t),a=!0;break}o=n.next(),i="single"==t&&!i&&"\\"==o}return a&&(r.tokenize=null),"string"}}(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!y||!e.match("`"))&&(t.tokenize=y,y=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/css/css.js":function(e,t,n){(function(e){"use strict";function t(e){for(var t={},n=0;n0;o--)n.context=n.context.prev;return C(e,t,n)}function T(e){var t=e.current().toLowerCase();i=g.hasOwnProperty(t)?"atom":b.hasOwnProperty(t)?"keyword":"variable"}var A={top:function(e,t,n){if("{"==e)return S(n,t,"block");if("}"==e&&n.context.prev)return E(n);if(_&&/@component/i.test(e))return S(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return S(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return S(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return S(n,t,"at");if("hash"==e)i="builtin";else if("word"==e)i="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return S(n,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return S(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return p.hasOwnProperty(r)?(i="property","maybeprop"):f.hasOwnProperty(r)?(i="string-2","maybeprop"):y?(i=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(i+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?A.top(e,t,n):(i="error","block")},maybeprop:function(e,t,n){return":"==e?S(n,t,"prop"):C(e,t,n)},prop:function(e,t,n){if(";"==e)return E(n);if("{"==e&&y)return S(n,t,"propBlock");if("}"==e||"{"==e)return O(e,t,n);if("("==e)return S(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)T(t);else if("interpolation"==e)return S(n,t,"interpolation")}else i+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?E(n):"word"==e?(i="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?O(e,t,n):")"==e?E(n):"("==e?S(n,t,"parens"):"interpolation"==e?S(n,t,"interpolation"):("word"==e&&T(t),"parens")},pseudo:function(e,t,n){return"meta"==e?"pseudo":"word"==e?(i="variable-3",n.context.type):C(e,t,n)},documentTypes:function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(i="tag",n.context.type):A.atBlock(e,t,n)},atBlock:function(e,t,n){if("("==e)return S(n,t,"atBlock_parens");if("}"==e||";"==e)return O(e,t,n);if("{"==e)return E(n)&&S(n,t,y?"block":"top");if("interpolation"==e)return S(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();i="only"==r||"not"==r||"and"==r||"or"==r?"keyword":u.hasOwnProperty(r)?"attribute":c.hasOwnProperty(r)?"property":d.hasOwnProperty(r)?"keyword":p.hasOwnProperty(r)?"property":f.hasOwnProperty(r)?"string-2":g.hasOwnProperty(r)?"atom":b.hasOwnProperty(r)?"keyword":"error"}return n.context.type},atComponentBlock:function(e,t,n){return"}"==e?O(e,t,n):"{"==e?E(n)&&S(n,t,y?"block":"top",!1):("word"==e&&(i="error"),n.context.type)},atBlock_parens:function(e,t,n){return")"==e?E(n):"{"==e||"}"==e?O(e,t,n,2):A.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?S(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(i="variable","restricted_atBlock_before"):C(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,E(n)):"word"==e?(i="@font-face"==n.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!m.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(i="variable","keyframes"):"{"==e?S(n,t,"top"):C(e,t,n)},at:function(e,t,n){return";"==e?E(n):"{"==e||"}"==e?O(e,t,n):("word"==e?i="tag":"hash"==e&&(i="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?E(n):"{"==e||";"==e?O(e,t,n):("word"==e?i="variable":"variable"!=e&&"("!=e&&")"!=e&&(i="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new k(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||function(e,t){var n=e.next();if(s[n]){var r=s[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),x("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?x(null,"compare"):'"'==n||"'"==n?(t.tokenize=w(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),x("atom","hash")):"!"==n?(e.match(/^\s*\w*/),x("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),x("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?x(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?x(null,n):("u"==n||"U"==n)&&e.match(/rl(-prefix)?\(/i)||("d"==n||"D"==n)&&e.match("omain(",!0,!0)||("r"==n||"R"==n)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=j,x("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),x("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable")):e.match(/^\w+-/)?x("meta","meta"):void 0})(e,t);return n&&"object"==typeof n&&(o=n[1],n=n[0]),i=n,"comment"!=o&&(t.state=A[t.state](o,e,t)),i},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),o=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(o=Math.max(0,n.indent-a)):o=(n=n.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:v,fold:"brace"}});var n=["domain","regexp","url","url-prefix"],r=t(n),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=t(o),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],s=t(a),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],u=t(l),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=t(c),p=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],f=t(p),h=t(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),m=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),b=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=t(b),y=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],v=t(y),_=n.concat(o).concat(a).concat(l).concat(c).concat(p).concat(b).concat(y);function x(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.registerHelper("hintWords","css",_),e.defineMIME("text/css",{documentTypes:r,mediaTypes:i,mediaFeatures:s,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:f,fontProperties:h,counterDescriptors:m,colorKeywords:g,valueKeywords:v,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=x,x(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:i,mediaFeatures:s,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:v,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=x,x(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:i,mediaFeatures:s,mediaValueKeywords:u,propertyKeywords:d,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:v,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=x,x(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:i,mediaFeatures:s,propertyKeywords:d,nonStandardPropertyKeywords:f,fontProperties:h,counterDescriptors:m,colorKeywords:g,valueKeywords:v,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=x,x(e,t))}},name:"css",helperType:"gss"})})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/gfm/gfm.js":function(e,t,n){(function(e){"use strict";var t=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;e.defineMode("gfm",function(n,r){var o=0;var i={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if("`"===e.peek()){e.next();var i=e.pos;e.eatWhile("`");var a=1+e.pos-i;return n.code?a===o&&(n.code=!1):(o=a,n.code=!0),null}if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,!1!==r.gitHubSpice)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(t)&&"]("!=e.string.slice(e.start-2,e.start)&&(0==e.start||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:function(e){return e.code=!1,null}},a={taskLists:!0,strikethrough:!0,emoji:!0};for(var s in r)a[s]=r[s];return a.name="markdown",e.overlayMode(e.getMode(n,a),i)},"markdown"),e.defineMIME("text/x-gfm","gfm")})(n("./node_modules/codemirror/lib/codemirror.js"),n("./node_modules/codemirror/mode/markdown/markdown.js"),n("./node_modules/codemirror/addon/mode/overlay.js"))},"./node_modules/codemirror/mode/javascript/javascript.js":function(e,t,n){(function(e){"use strict";e.defineMode("javascript",function(t,n){var r,o,i=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,u=n.typescript,c=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),o=e("keyword d"),i=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:o,break:o,continue:o,new:e("new"),delete:r,void:r,throw:r,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:i,typeof:i,instanceof:i,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r}}(),p=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function h(e,t,n){return r=e,o=n,t}function m(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){var r,o=!1;if(s&&"@"==e.peek()&&e.match(f))return t.tokenize=m,h("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=n||o);)o=!o&&"\\"==r;return o||(t.tokenize=m),h("string","string")}),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return h("number","number");if("."==r&&e.match(".."))return h("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return h(r);if("="==r&&e.eat(">"))return h("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),h("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),h("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),h("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),h("number","number");if("/"==r)return e.eat("*")?(t.tokenize=b,b(e,t)):e.eat("/")?(e.skipToEnd(),h("comment","comment")):Be(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),h("regexp","string-2")):(e.eat("="),h("operator","operator",e.current()));if("`"==r)return t.tokenize=g,g(e,t);if("#"==r)return e.skipToEnd(),h("error","error");if(p.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),h("operator","operator",e.current());if(c.test(r)){e.eatWhile(c);var o=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(o)){var i=d[o];return h(i.type,i.style,o)}if("async"==o&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return h("async","keyword",o)}return h("variable","variable",o)}}function b(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=m;break}r="*"==n}return h("comment","comment")}function g(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=m;break}r=!r&&"\\"==n}return h("quasi","string-2",e.current())}var y="([{}])";function v(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(u){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,i=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),l=y.indexOf(s);if(l>=0&&l<3){if(!o){++a;break}if(0==--o){"("==s&&(i=!0);break}}else if(l>=3&&l<6)++o;else if(c.test(s))i=!0;else{if(/["'\/]/.test(s))return;if(i&&!o){++a;break}}}i&&!o&&(t.fatArrowAt=a)}}var _={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function x(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=i,null!=r&&(this.align=r)}function w(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}var j={state:null,column:null,marked:null,cc:null};function k(){for(var e=arguments.length-1;e>=0;e--)j.cc.push(arguments[e])}function S(){return k.apply(null,arguments),!0}function E(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var r=j.state;if(j.marked="def",r.context){if(t(r.localVars))return;r.localVars={name:e,next:r.localVars}}else{if(t(r.globalVars))return;n.globalVars&&(r.globalVars={name:e,next:r.globalVars})}}function C(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}var O={name:"this",next:{name:"arguments"}};function T(){j.state.context={prev:j.state.context,vars:j.state.localVars},j.state.localVars=O}function A(){j.state.localVars=j.state.context.vars,j.state.context=j.state.context.prev}function R(e,t){var n=function(){var n=j.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new x(r,j.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function N(){var e=j.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function L(e){return function t(n){return n==e?S():";"==e?k():S(t)}}function I(e,t){return"var"==e?S(R("vardef",t.length),fe,L(";"),N):"keyword a"==e?S(R("form"),D,I,N):"keyword b"==e?S(R("form"),I,N):"keyword d"==e?j.stream.match(/^\s*$/,!1)?S():S(R("stat"),z,L(";"),N):"debugger"==e?S(L(";")):"{"==e?S(R("}"),te,N):";"==e?S():"if"==e?("else"==j.state.lexical.info&&j.state.cc[j.state.cc.length-1]==N&&j.state.cc.pop()(),S(R("form"),D,I,N,ye)):"function"==e?S(ke):"for"==e?S(R("form"),ve,I,N):"class"==e||u&&"interface"==t?(j.marked="keyword",S(R("form"),Ce,N)):"variable"==e?u&&"declare"==t?(j.marked="keyword",S(I)):u&&("module"==t||"enum"==t||"type"==t)&&j.stream.match(/^\s*\w/,!1)?(j.marked="keyword","enum"==t?S(ze):"type"==t?S(ie,L("operator"),ie,L(";")):S(R("form"),he,L("{"),R("}"),te,N,N)):u&&"namespace"==t?(j.marked="keyword",S(R("form"),M,te,N)):u&&"abstract"==t?(j.marked="keyword",S(I)):S(R("stat"),$):"switch"==e?S(R("form"),D,L("{"),R("}","switch"),te,N,N):"case"==e?S(M,L(":")):"default"==e?S(L(":")):"catch"==e?S(R("form"),T,L("("),Se,L(")"),I,N,A):"export"==e?S(R("stat"),Re,N):"import"==e?S(R("stat"),Le,N):"async"==e?S(I):"@"==t?S(M,I):k(R("stat"),M,L(";"),N)}function M(e,t){return F(e,t,!1)}function P(e,t){return F(e,t,!0)}function D(e){return"("!=e?k():S(R(")"),M,L(")"),N)}function F(e,t,n){if(j.state.fatArrowAt==j.stream.start){var r=n?G:W;if("("==e)return S(T,R(")"),Q(Se,")"),N,L("=>"),r,A);if("variable"==e)return k(T,he,L("=>"),r,A)}var o=n?B:U;return _.hasOwnProperty(e)?S(o):"function"==e?S(ke,o):"class"==e||u&&"interface"==t?(j.marked="keyword",S(R("form"),Ee,N)):"keyword c"==e||"async"==e?S(n?P:M):"("==e?S(R(")"),z,L(")"),N,o):"operator"==e||"spread"==e?S(n?P:M):"["==e?S(R("]"),Fe,N,o):"{"==e?ee(X,"}",null,o):"quasi"==e?k(H,o):"new"==e?S(function(e){return function(t){return"."==t?S(e?K:V):"variable"==t&&u?S(ce,e?B:U):k(e?P:M)}}(n)):"import"==e?S(M):S()}function z(e){return e.match(/[;\}\)\],]/)?k():k(M)}function U(e,t){return","==e?S(M):B(e,t,!1)}function B(e,t,n){var r=0==n?U:B,o=0==n?M:P;return"=>"==e?S(T,n?G:W,A):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?S(r):u&&"<"==t&&j.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?S(R(">"),Q(ie,">"),N,r):"?"==t?S(M,L(":"),o):S(o):"quasi"==e?k(H,r):";"!=e?"("==e?ee(P,")","call",r):"."==e?S(Y,r):"["==e?S(R("]"),z,L("]"),N,r):u&&"as"==t?(j.marked="keyword",S(ie,r)):"regexp"==e?(j.state.lastType=j.marked="operator",j.stream.backUp(j.stream.pos-j.stream.start-1),S(o)):void 0:void 0}function H(e,t){return"quasi"!=e?k():"${"!=t.slice(t.length-2)?S(H):S(M,q)}function q(e){if("}"==e)return j.marked="string-2",j.state.tokenize=g,S(H)}function W(e){return v(j.stream,j.state),k("{"==e?I:M)}function G(e){return v(j.stream,j.state),k("{"==e?I:P)}function V(e,t){if("target"==t)return j.marked="keyword",S(U)}function K(e,t){if("target"==t)return j.marked="keyword",S(B)}function $(e){return":"==e?S(N,I):k(U,L(";"),N)}function Y(e){if("variable"==e)return j.marked="property",S()}function X(e,t){if("async"==e)return j.marked="property",S(X);if("variable"==e||"keyword"==j.style){return j.marked="property","get"==t||"set"==t?S(J):(u&&j.state.fatArrowAt==j.stream.start&&(n=j.stream.match(/^\s*:\s*/,!1))&&(j.state.fatArrowAt=j.stream.pos+n[0].length),S(Z));var n}else{if("number"==e||"string"==e)return j.marked=s?"property":j.style+" property",S(Z);if("jsonld-keyword"==e)return S(Z);if(u&&C(t))return j.marked="keyword",S(X);if("["==e)return S(M,ne,L("]"),Z);if("spread"==e)return S(P,Z);if("*"==t)return j.marked="keyword",S(X);if(":"==e)return k(Z)}}function J(e){return"variable"!=e?k(Z):(j.marked="property",S(ke))}function Z(e){return":"==e?S(P):"("==e?k(ke):void 0}function Q(e,t,n){function r(o,i){if(n?n.indexOf(o)>-1:","==o){var a=j.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),S(function(n,r){return n==t||r==t?k():k(e)},r)}return o==t||i==t?S():S(L(t))}return function(n,o){return n==t||o==t?S():k(e,r)}}function ee(e,t,n){for(var r=3;r"),ie):void 0}function ae(e){if("=>"==e)return S(ie)}function se(e,t){return"variable"==e||"keyword"==j.style?(j.marked="property",S(se)):"?"==t?S(se):":"==e?S(ie):"["==e?S(M,ne,L("]"),se):void 0}function le(e,t){return"variable"==e&&j.stream.match(/^\s*[?:]/,!1)||"?"==t?S(le):":"==e?S(ie):k(ie)}function ue(e,t){return"<"==t?S(R(">"),Q(ie,">"),N,ue):"|"==t||"."==e||"&"==t?S(ie):"["==e?S(L("]"),ue):"extends"==t||"implements"==t?(j.marked="keyword",S(ie)):void 0}function ce(e,t){if("<"==t)return S(R(">"),Q(ie,">"),N,ue)}function de(){return k(ie,pe)}function pe(e,t){if("="==t)return S(ie)}function fe(e,t){return"enum"==t?(j.marked="keyword",S(ze)):k(he,ne,be,ge)}function he(e,t){return u&&C(t)?(j.marked="keyword",S(he)):"variable"==e?(E(t),S()):"spread"==e?S(he):"["==e?ee(he,"]"):"{"==e?ee(me,"}"):void 0}function me(e,t){return"variable"!=e||j.stream.match(/^\s*:/,!1)?("variable"==e&&(j.marked="property"),"spread"==e?S(he):"}"==e?k():S(L(":"),he,be)):(E(t),S(be))}function be(e,t){if("="==t)return S(P)}function ge(e){if(","==e)return S(fe)}function ye(e,t){if("keyword b"==e&&"else"==t)return S(R("form","else"),I,N)}function ve(e,t){return"await"==t?S(ve):"("==e?S(R(")"),_e,L(")"),N):void 0}function _e(e){return"var"==e?S(fe,L(";"),we):";"==e?S(we):"variable"==e?S(xe):k(M,L(";"),we)}function xe(e,t){return"in"==t||"of"==t?(j.marked="keyword",S(M)):S(U,we)}function we(e,t){return";"==e?S(je):"in"==t||"of"==t?(j.marked="keyword",S(M)):k(M,L(";"),je)}function je(e){")"!=e&&S(M)}function ke(e,t){return"*"==t?(j.marked="keyword",S(ke)):"variable"==e?(E(t),S(ke)):"("==e?S(T,R(")"),Q(Se,")"),N,re,I,A):u&&"<"==t?S(R(">"),Q(de,">"),N,ke):void 0}function Se(e,t){return"@"==t&&S(M,Se),"spread"==e?S(Se):u&&C(t)?(j.marked="keyword",S(Se)):k(he,ne,be)}function Ee(e,t){return"variable"==e?Ce(e,t):Oe(e,t)}function Ce(e,t){if("variable"==e)return E(t),S(Oe)}function Oe(e,t){return"<"==t?S(R(">"),Q(de,">"),N,Oe):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(j.marked="keyword"),S(u?ie:M,Oe)):"{"==e?S(R("}"),Te,N):void 0}function Te(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&C(t))&&j.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(j.marked="keyword",S(Te)):"variable"==e||"keyword"==j.style?(j.marked="property",S(u?Ae:ke,Te)):"["==e?S(M,ne,L("]"),u?Ae:ke,Te):"*"==t?(j.marked="keyword",S(Te)):";"==e?S(Te):"}"==e?S():"@"==t?S(M,Te):void 0}function Ae(e,t){return"?"==t?S(Ae):":"==e?S(ie,be):"="==t?S(P):k(ke)}function Re(e,t){return"*"==t?(j.marked="keyword",S(De,L(";"))):"default"==t?(j.marked="keyword",S(M,L(";"))):"{"==e?S(Q(Ne,"}"),De,L(";")):k(I)}function Ne(e,t){return"as"==t?(j.marked="keyword",S(L("variable"))):"variable"==e?k(P,Ne):void 0}function Le(e){return"string"==e?S():"("==e?k(M):k(Ie,Me,De)}function Ie(e,t){return"{"==e?ee(Ie,"}"):("variable"==e&&E(t),"*"==t&&(j.marked="keyword"),S(Pe))}function Me(e){if(","==e)return S(Ie,Me)}function Pe(e,t){if("as"==t)return j.marked="keyword",S(Ie)}function De(e,t){if("from"==t)return j.marked="keyword",S(M)}function Fe(e){return"]"==e?S():k(Q(P,"]"))}function ze(){return k(R("form"),he,L("{"),R("}"),Q(Ue,"}"),N,N)}function Ue(){return k(he,be)}function Be(e,t,n){return t.tokenize==m&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return N.lex=!0,{startState:function(e){var t={tokenize:m,lastType:"sof",cc:[],lexical:new x((e||0)-i,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),v(e,t)),t.tokenize!=b&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function(e,t,n,r,o){var i=e.cc;for(j.state=e,j.stream=o,j.marked=null,j.cc=i,j.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((i.length?i.pop():l?M:I)(n,r)){for(;i.length&&i[i.length-1].lex;)i.pop()();return j.marked?j.marked:"variable"==n&&w(e,r)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==b)return e.Pass;if(t.tokenize!=m)return 0;var o,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var u=t.cc.length-1;u>=0;--u){var c=t.cc[u];if(c==N)l=l.prev;else if(c!=ye)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==U||o==B)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;a&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,f=s==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==d&&"{"==s?l.indented:"form"==d?l.indented+i:"stat"==d?l.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||i:0):"switch"!=l.info||f||0==n.doubleIndentSwitch?l.align?l.column+(f?0:1):l.indented+(f?0:i):l.indented+(/^(?:case|default)\b/.test(r)?i:2*i)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:Be,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=M&&t!=P||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/julia/julia.js":function(e,t,n){(function(e){"use strict";e.defineMode("julia",function(e,t){function n(e,t){return void 0===t&&(t="\\b"),new RegExp("^(("+e.join(")|(")+"))"+t)}var r=t.operators||n(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","->","\\/\\/","[\\\\%*+\\-<>!=\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),o=t.delimiters||/^[;,()[\]{}]/,i=t.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,a=n(["\\\\[0-7]{1,3}","\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"],"'"),s=n(["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),l=n(["end","else","elseif","catch","finally"]),u=n(["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"]),c=n(["true","false","nothing","NaN","Inf"]),d=/^@[_A-Za-z][\w]*/,p=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,f=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/;function h(e){return m(e,"[")}function m(e,t){var n=b(e),r=b(e,1);return void 0===t&&(t="("),n===t||r===t&&"for"===n}function b(e,t){return void 0===t&&(t=0),e.scopes.length<=t?null:e.scopes[e.scopes.length-(t+1)]}function g(e,t){if(e.match(/^#=/,!1))return t.tokenize=_,t.tokenize(e,t);var n=t.leavingExpr;if(e.sol()&&(n=!1),t.leavingExpr=!1,n&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var a=e.peek();if("#"===a)return e.skipToEnd(),"comment";"["===a&&t.scopes.push("["),"("===a&&t.scopes.push("(");var w,j=b(t);if(h(t)&&"]"===a&&("for"===j&&t.scopes.pop(),t.scopes.pop(),t.leavingExpr=!0),m(t)&&")"===a&&("for"===j&&t.scopes.pop(),t.scopes.pop(),t.leavingExpr=!0),h(t)){if("end"==t.lastToken&&e.match(/^:/))return"operator";if(e.match(/^end/))return"number"}if((w=e.match(s,!1))&&t.scopes.push(w[0]),e.match(l,!1)&&t.scopes.pop(),e.match(/^::(?![:\$])/))return t.tokenize=v,t.tokenize(e,t);if(!n&&e.match(p)||e.match(/:([<>]:|<<=?|>>>?=?|->|\/\/|\.{2,3}|[\.\\%*+\-<>!\/^|&]=?|[~\?\$])/))return"builtin";if(e.match(r))return"operator";if(e.match(/^\.?\d/,!1)){var k=RegExp(/^im\b/),S=!1;if(e.match(/^\d*\.(?!\.)\d*([Eef][\+\-]?\d+)?/i)&&(S=!0),e.match(/^\d+\.(?!\.)\d*/)&&(S=!0),e.match(/^\.\d+/)&&(S=!0),e.match(/^0x\.[0-9a-f]+p[\+\-]?\d+/i)&&(S=!0),e.match(/^0x[0-9a-f]+/i)&&(S=!0),e.match(/^0b[01]+/i)&&(S=!0),e.match(/^0o[0-7]+/i)&&(S=!0),e.match(/^[1-9]\d*(e[\+\-]?\d+)?/)&&(S=!0),e.match(/^0(?![\dx])/i)&&(S=!0),S)return e.match(k),t.leavingExpr=!0,"number"}if(e.match(/^'/))return t.tokenize=x,t.tokenize(e,t);if(e.match(f))return t.tokenize=function(e){'"""'===e.substr(-3)?e='"""':'"'===e.substr(-1)&&(e='"');return function(t,n){if(t.eat("\\"))t.next();else{if(t.match(e))return n.tokenize=g,n.leavingExpr=!0,"string";t.eat(/[`"]/)}return t.eatWhile(/[^\\`"]/),"string"}}(e.current()),t.tokenize(e,t);if(e.match(d))return"meta";if(e.match(o))return null;if(e.match(u))return"keyword";if(e.match(c))return"builtin";var E=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(i)?E?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):e.match(/^({[^}]*})*\(/,!1)?(t.tokenize=y,t.tokenize(e,t)):(t.leavingExpr=!0,"variable"):(e.next(),"error")}function y(e,t){var n=e.match(/^(\(\s*)/);if(n&&(t.firstParenPos<0&&(t.firstParenPos=t.scopes.length),t.scopes.push("("),t.charsAdvanced+=n[1].length),"("==b(t)&&e.match(/^\)/)&&(t.scopes.pop(),t.charsAdvanced+=1,t.scopes.length<=t.firstParenPos)){var r=e.match(/^(\s*where\s+[^\s=]+)*\s*?=(?!=)/,!1);return e.backUp(t.charsAdvanced),t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=g,r?"def":"builtin"}if(e.match(/^$/g,!1)){for(e.backUp(t.charsAdvanced);t.scopes.length>t.firstParenPos;)t.scopes.pop();return t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=g,"builtin"}return t.charsAdvanced+=e.match(/^([^()]*)/)[1].length,t.tokenize(e,t)}function v(e,t){return e.match(/.*?(?=,|;|{|}|\(|\)|=|$|\s)/),e.match(/^{/)?t.nestedLevels++:e.match(/^}/)&&t.nestedLevels--,t.nestedLevels>0?e.match(/.*?(?={|})/)||e.next():0==t.nestedLevels&&(t.tokenize=g),"builtin"}function _(e,t){return e.match(/^#=/)&&t.nestedLevels++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match(/^=#/)&&(t.nestedLevels--,0==t.nestedLevels&&(t.tokenize=g)),"comment"}function x(e,t){var n,r=!1;if(e.match(a))r=!0;else if(n=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){((o=parseInt(n[1],16))<=55295||o>=57344)&&(r=!0,e.next())}else if(n=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var o;(o=parseInt(n[1],16))<=1114111&&(r=!0,e.next())}return r?(t.leavingExpr=!0,t.tokenize=g,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match(/^'/)&&(t.tokenize=g),"error")}return{startState:function(){return{tokenize:g,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedLevels:0,charsAdvanced:0,firstParenPos:-1}},token:function(e,t){var n=t.tokenize(e,t),r=e.current();return r&&n&&(t.lastToken=r),n},indent:function(t,n){var r=0;return"]"!==n&&")"!==n&&"end"!==n&&"else"!==n&&"catch"!==n&&"elseif"!==n&&"finally"!==n||(r=-1),(t.scopes.length+r)*e.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-julia","julia")})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/markdown/markdown.js":function(e,t,n){(function(e){"use strict";e.defineMode("markdown",function(t,n){var r=e.getMode(t,"text/html"),o="null"==r.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var i={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var a in i)i.hasOwnProperty(a)&&n.tokenTypeOverrides[a]&&(i[a]=n.tokenTypeOverrides[a]);var s=/^([*\-_])(?:\s*\1){2,}\s*$/,l=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,c=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,d=/^ *(?:\={1,}|-{1,})\s*$/,p=/^[^#!\[\]*_\\<>` "'(~:]+/,f=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,h=/^\s*\[[^\]]+?\]:.*$/,m=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/;function b(e,t,n){return t.f=t.inline=n,n(e,t)}function g(e,t,n){return t.f=t.block=n,n(e,t)}function y(e){return e.linkTitle=!1,e.linkHref=!1,e.linkText=!1,e.em=!1,e.strong=!1,e.strikethrough=!1,e.quote=0,e.indentedCode=!1,e.f==_&&(e.f=k,e.block=v),e.trailingSpace=0,e.trailingSpaceNewLine=!1,e.prevLine=e.thisLine,e.thisLine={stream:null},null}function v(r,o){var a,p=r.column()===o.indentation,m=!(a=o.prevLine.stream)||!/\S/.test(a.string),g=o.indentedCode,y=o.prevLine.hr,v=!1!==o.list,_=(o.listStack[o.listStack.length-1]||0)+3;o.indentedCode=!1;var j=o.indentation;if(null===o.indentationDiff&&(o.indentationDiff=o.indentation,v)){for(o.em=!1,o.strong=!1,o.code=!1,o.strikethrough=!1,o.list=null;j=4&&(g||o.prevLine.fencedCodeEnd||o.prevLine.header||m))return r.skipToEnd(),o.indentedCode=!0,i.code;if(r.eatSpace())return null;if(p&&o.indentation<=_&&(E=r.match(c))&&E[1].length<=6)return o.quote=0,o.header=E[1].length,o.thisLine.header=!0,n.highlightFormatting&&(o.formatting="header"),o.f=o.inline,w(o);if(o.indentation<=_&&r.eat(">"))return o.quote=p?1:o.quote+1,n.highlightFormatting&&(o.formatting="quote"),r.eatSpace(),w(o);if(!S&&!o.setext&&p&&o.indentation<=_&&(E=r.match(l))){var C=E[1]?"ol":"ul";return o.indentation=j+r.current().length,o.list=!0,o.quote=0,o.listStack.push(o.indentation),n.taskLists&&r.match(u,!1)&&(o.taskList=!0),o.f=o.inline,n.highlightFormatting&&(o.formatting=["list","list-"+C]),w(o)}return p&&o.indentation<=_&&(E=r.match(f,!0))?(o.quote=0,o.fencedEndRE=new RegExp(E[1]+"+ *$"),o.localMode=n.fencedCodeBlockHighlighting&&function(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var o=e.getMode(t,n);return"null"==o.name?null:o}(E[2]),o.localMode&&(o.localState=e.startState(o.localMode)),o.f=o.block=x,n.highlightFormatting&&(o.formatting="code-block"),o.code=-1,w(o)):o.setext||!(k&&v||o.quote||!1!==o.list||o.code||S||h.test(r.string))&&(E=r.lookAhead(1))&&(E=E.match(d))?(o.setext?(o.header=o.setext,o.setext=0,r.skipToEnd(),n.highlightFormatting&&(o.formatting="header")):(o.header="="==E[0].charAt(0)?1:2,o.setext=o.header),o.thisLine.header=!0,o.f=o.inline,w(o)):S?(r.skipToEnd(),o.hr=!0,o.thisLine.hr=!0,i.hr):"["===r.peek()?b(r,o,O):b(r,o,o.inline)}function _(t,n){var i=r.token(t,n.htmlState);if(!o){var a=e.innerMode(r,n.htmlState);("xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=k,n.block=v,n.htmlState=null)}return i}function x(e,t){var r,o=t.listStack[t.listStack.length-1]||0,a=t.indentation=e.quote?t.push(i.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(i.linkHref,"url"):(e.strong&&t.push(i.strong),e.em&&t.push(i.em),e.strikethrough&&t.push(i.strikethrough),e.emoji&&t.push(i.emoji),e.linkText&&t.push(i.linkText),e.code&&t.push(i.code),e.image&&t.push(i.image),e.imageAltText&&t.push(i.imageAltText,"link"),e.imageMarker&&t.push(i.imageMarker)),e.header&&t.push(i.header,i.header+"-"+e.header),e.quote&&(t.push(i.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(i.quote+"-"+e.quote):t.push(i.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var o=(e.listStack.length-1)%3;o?1===o?t.push(i.list2):t.push(i.list3):t.push(i.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function j(e,t){if(e.match(p,!0))return w(t)}function k(t,o){var a=o.text(t,o);if(void 0!==a)return a;if(o.list)return o.list=null,w(o);if(o.taskList)return" "===t.match(u,!0)[1]?o.taskOpen=!0:o.taskClosed=!0,n.highlightFormatting&&(o.formatting="task"),o.taskList=!1,w(o);if(o.taskOpen=!1,o.taskClosed=!1,o.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(o.formatting="header"),w(o);var s=t.next();if(o.linkTitle){o.linkTitle=!1;var l=s;"("===s&&(l=")");var c="^\\s*(?:[^"+(l=(l+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+l;if(t.match(new RegExp(c),!0))return i.linkHref}if("`"===s){var d=o.formatting;n.highlightFormatting&&(o.formatting="code"),t.eatWhile("`");var p=t.current().length;if(0!=o.code||o.quote&&1!=p){if(p==o.code){var f=w(o);return o.code=0,f}return o.formatting=d,w(o)}return o.code=p,w(o)}if(o.code)return w(o);if("\\"===s&&(t.next(),n.highlightFormatting)){var h=w(o),b=i.formatting+"-escape";return h?h+" "+b:b}if("!"===s&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return o.imageMarker=!0,o.image=!0,n.highlightFormatting&&(o.formatting="image"),w(o);if("["===s&&o.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return o.imageMarker=!1,o.imageAltText=!0,n.highlightFormatting&&(o.formatting="image"),w(o);if("]"===s&&o.imageAltText){n.highlightFormatting&&(o.formatting="image");var h=w(o);return o.imageAltText=!1,o.image=!1,o.inline=o.f=E,h}if("["===s&&!o.image)return o.linkText=!0,n.highlightFormatting&&(o.formatting="link"),w(o);if("]"===s&&o.linkText){n.highlightFormatting&&(o.formatting="link");var h=w(o);return o.linkText=!1,o.inline=o.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?E:k,h}if("<"===s&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return o.f=o.inline=S,n.highlightFormatting&&(o.formatting="link"),(h=w(o))?h+=" ":h="",h+i.linkInline;if("<"===s&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return o.f=o.inline=S,n.highlightFormatting&&(o.formatting="link"),(h=w(o))?h+=" ":h="",h+i.linkEmail;if(n.xml&&"<"===s&&t.match(/^(!--|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*>)/i,!1)){var y=t.string.indexOf(">",t.pos);if(-1!=y){var v=t.string.substring(t.start,y);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(v)&&(o.md_inside=!0)}return t.backUp(1),o.htmlState=e.startState(r),g(t,o,_)}if(n.xml&&"<"===s&&t.match(/^\/\w*?>/))return o.md_inside=!1,"tag";if("*"===s||"_"===s){for(var x=1,j=1==t.pos?" ":t.string.charAt(t.pos-2);x<3&&t.eat(s);)x++;var C=t.peek()||" ",O=!/\s/.test(C)&&(!m.test(C)||/\s/.test(j)||m.test(j)),T=!/\s/.test(j)&&(!m.test(j)||/\s/.test(C)||m.test(C)),A=null,R=null;if(x%2&&(o.em||!O||"*"!==s&&T&&!m.test(j)?o.em!=s||!T||"*"!==s&&O&&!m.test(C)||(A=!1):A=!0),x>1&&(o.strong||!O||"*"!==s&&T&&!m.test(j)?o.strong!=s||!T||"*"!==s&&O&&!m.test(C)||(R=!1):R=!0),null!=R||null!=A){n.highlightFormatting&&(o.formatting=null==A?"strong":null==R?"em":"strong em"),!0===A&&(o.em=s),!0===R&&(o.strong=s);f=w(o);return!1===A&&(o.em=!1),!1===R&&(o.strong=!1),f}}else if(" "===s&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return w(o);t.backUp(1)}if(n.strikethrough)if("~"===s&&t.eatWhile(s)){if(o.strikethrough){n.highlightFormatting&&(o.formatting="strikethrough");f=w(o);return o.strikethrough=!1,f}if(t.match(/^[^\s]/,!1))return o.strikethrough=!0,n.highlightFormatting&&(o.formatting="strikethrough"),w(o)}else if(" "===s&&t.match(/^~~/,!0)){if(" "===t.peek())return w(o);t.backUp(2)}if(n.emoji&&":"===s&&t.match(/^[a-z_\d+-]+:/)){o.emoji=!0,n.highlightFormatting&&(o.formatting="emoji");var N=w(o);return o.emoji=!1,N}return" "===s&&(t.match(/ +$/,!1)?o.trailingSpace++:o.trailingSpace&&(o.trailingSpaceNewLine=!0)),w(o)}function S(e,t){if(">"===e.next()){t.f=t.inline=k,n.highlightFormatting&&(t.formatting="link");var r=w(t);return r?r+=" ":r="",r+i.linkInline}return e.match(/^[^>]+/,!0),i.linkInline}function E(e,t){if(e.eatSpace())return null;var r,o=e.next();return"("===o||"["===o?(t.f=t.inline=(r="("===o?")":"]",function(e,t){var o=e.next();if(o===r){t.f=t.inline=k,n.highlightFormatting&&(t.formatting="link-string");var i=w(t);return t.linkHref=!1,i}return e.match(C[r]),t.linkHref=!0,w(t)}),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,w(t)):"error"}var C={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function O(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=T,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,w(t)):b(e,t,k)}function T(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=A,n.highlightFormatting&&(t.formatting="link");var r=w(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),i.linkText}function A(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=k,i.linkHref+" url")}var R={startState:function(){return{f:v,prevLine:{stream:null},thisLine:{stream:null},block:v,htmlState:null,indentation:0,inline:k,text:j,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return y(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=_)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==_?{state:e.htmlState,mode:r}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:R}},indent:function(t,n,o){return t.block==_&&r.indent?r.indent(t.htmlState,n,o):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,o):e.Pass},blankLine:y,getType:w,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return R},"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")})(n("./node_modules/codemirror/lib/codemirror.js"),n("./node_modules/codemirror/mode/xml/xml.js"),n("./node_modules/codemirror/mode/meta.js"))},"./node_modules/codemirror/mode/meta.js":function(e,t,n){(function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t-1&&t.substring(o+1,t.length);if(i)return e.findModeByExtension(i)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n=]+|\/\/=?|\*\*=?|!=|[~!@])/],d=0;dr?w(t):o0&&j(e,t)&&(a+=" "+l),a}return x(e,t)}function x(e,t){if(e.eatSpace())return null;if(e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var r=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(r=!0),e.match(/^[\d_]+\.\d*/)&&(r=!0),e.match(/^\.\d+/)&&(r=!0),r)return e.eat(/J/i),"number";var o=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(o=!0),e.match(/^0b[01_]+/i)&&(o=!0),e.match(/^0o[0-7_]+/i)&&(o=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),o=!0),e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}if(e.match(g))return-1!==e.current().toLowerCase().indexOf("f")?(t.tokenize=function(e,t){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var n=1==e.length,r="string";function o(t,n){return t.match(e)?(n.tokenize=i,r):t.match("{")?"punctuation":t.match("}")?(n.tokenize=i,"punctuation"):x(t,n)}function i(i,a){for(;!i.eol();)if(i.eatWhile(/[^'"\{\}\\]/),i.eat("\\")){if(i.next(),n&&i.eol())return r}else{if(i.match(e))return a.tokenize=t,r;if(i.match("{{"))return r;if(i.match("{",!1))return a.tokenize=o,i.current()?r:(i.next(),"punctuation");if(i.match("}}"))return r;if(i.match("}"))return l;i.eat(/['"]/)}if(n){if(s.singleLineStringErrors)return l;a.tokenize=t}return r}return i.isString=!0,i}(e.current(),t.tokenize),t.tokenize(e,t)):(t.tokenize=function(e){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var t=1==e.length,n="string";function r(r,o){for(;!r.eol();)if(r.eatWhile(/[^'"\\]/),r.eat("\\")){if(r.next(),t&&r.eol())return n}else{if(r.match(e))return o.tokenize=_,n;r.eat(/['"]/)}if(t){if(s.singleLineStringErrors)return l;o.tokenize=_}return n}return r.isString=!0,r}(e.current()),t.tokenize(e,t));for(var i=0;i1&&i(t).offset>n;){if("py"!=i(t).type)return!0;t.scopes.pop()}return i(t).offset!=n}function k(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),r=e.current();if(t.beginningOfLine&&"@"==r)return e.match(b,!1)?"meta":m?"operator":l;if(/\S/.test(r)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=r&&"return"!=r||(t.dedent+=1),"lambda"==r&&(t.lambda=!0),":"!=r||t.lambda||"py"!=i(t).type||w(t),1==r.length&&!/string|comment/.test(n)){var o="[({".indexOf(r);if(-1!=o&&function(e,t,n){var r=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:n,align:r})}(e,t,"])}".slice(o,o+1)),-1!=(o="])}".indexOf(r))){if(i(t).type!=r)return l;t.indent=t.scopes.pop().offset-p}}return t.dedent>0&&e.eol()&&"py"==i(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}return{startState:function(e){return{tokenize:_,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var r=k(e,t);return r&&"comment"!=r&&(t.lastToken="keyword"==r||"punctuation"==r?e.current():r),"punctuation"==r&&(r=null),e.eol()&&t.lambda&&(t.lambda=!1),n?r+" "+l:r},indent:function(t,n){if(t.tokenize!=_)return t.tokenize.isString?e.Pass:0;var r=i(t),o=r.type==n.charAt(0);return null!=r.align?r.align-(o?1:0):r.offset-(o?p:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python");var a;e.defineMIME("text/x-cython",{name:"python",extra_keywords:(a="by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE",a.split(" "))})})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/r/r.js":function(e,t,n){(function(e){"use strict";e.registerHelper("wordChars","r",/[\w.]/),e.defineMode("r",function(e){function t(e){for(var t=e.split(" "),n={},r=0;r=!&|~$:]/;function l(e,t){n=null;var u,c=e.next();if("#"==c)return e.skipToEnd(),"comment";if("0"==c&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if("."==c&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(c))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==c||'"'==c)return t.tokenize=(u=c,function(e,t){if(e.eat("\\")){var n=e.next();return"x"==n?e.match(/^[a-f0-9]{2}/i):("u"==n||"U"==n)&&e.eat("{")&&e.skipTo("}")?e.next():"u"==n?e.match(/^[a-f0-9]{4}/i):"U"==n?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(n)&&e.match(/^[0-7]{1,2}/),"string-2"}for(var r;null!=(r=e.next());){if(r==u){t.tokenize=l;break}if("\\"==r){e.backUp(1);break}}return"string"}),"string";if("`"==c)return e.match(/[^`]+`/),"variable-3";if("."==c&&e.match(/.[.\d]+/))return"keyword";if(/[\w\.]/.test(c)&&"_"!=c){e.eatWhile(/[\w\.]/);var d=e.current();return r.propertyIsEnumerable(d)?"atom":i.propertyIsEnumerable(d)?(a.propertyIsEnumerable(d)&&!e.match(/\s*if(\s+|$)/,!1)&&(n="block"),"keyword"):o.propertyIsEnumerable(d)?"builtin":"variable"}return"%"==c?(e.skipTo("%")&&e.next(),"operator variable-2"):"<"==c&&e.eat("-")||"<"==c&&e.match("<-")||"-"==c&&e.match(/>>?/)?"operator arrow":"="==c&&t.ctx.argList?"arg-is":s.test(c)?"$"==c?"operator dollar":(e.eatWhile(s),"operator"):/[\(\){}\[\];]/.test(c)?(n=c,";"==c?"semi":null):null}function u(e,t,n){e.ctx={type:t,indent:e.indent,flags:0,column:n.column(),prev:e.ctx}}function c(e,t){var n=e.ctx;e.ctx={type:n.type,indent:n.indent,flags:n.flags|t,column:n.column,prev:n.prev}}function d(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}return{startState:function(){return{tokenize:l,ctx:{type:"top",indent:-e.indentUnit,flags:2},indent:0,afterIdent:!1}},token:function(e,t){if(e.sol()&&(0==(3&t.ctx.flags)&&(t.ctx.flags|=2),4&t.ctx.flags&&d(t),t.indent=e.indentation()),e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"!=r&&0==(2&t.ctx.flags)&&c(t,1),";"!=n&&"{"!=n&&"}"!=n||"block"!=t.ctx.type||d(t),"{"==n?u(t,"}",e):"("==n?(u(t,")",e),t.afterIdent&&(t.ctx.argList=!0)):"["==n?u(t,"]",e):"block"==n?u(t,"block",e):n==t.ctx.type?d(t):"block"==t.ctx.type&&"comment"!=r&&c(t,4),t.afterIdent="variable"==r||"keyword"==r,r},indent:function(t,n){if(t.tokenize!=l)return 0;var r=n&&n.charAt(0),o=t.ctx,i=r==o.type;return 4&o.flags&&(o=o.prev),"block"==o.type?o.indent+("{"==r?0:e.indentUnit):1&o.flags?o.column+(i?0:1):o.indent+(i?0:e.indentUnit)},lineComment:"#"}}),e.defineMIME("text/x-rsrc","r")})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/ruby/ruby.js":function(e,t,n){(function(e){"use strict";e.defineMode("ruby",function(e){function t(e){for(var t={},n=0,r=e.length;n-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){o=!0;break}i="\\"==t}return e.backUp(e.pos-n),o}(e)?s(d(i,"string-2",!0),e,t):"operator";if("%"==i){var l="string",u=!0;e.eat("s")?l="atom":e.eat(/[WQ]/)?l="string":e.eat(/[r]/)?l="string-2":e.eat(/[wxq]/)&&(l="string",u=!1);var c=e.eat(/[^\w\s=]/);return c?(a.propertyIsEnumerable(c)&&(c=a[c]),s(d(c,l,u,!0),e,t)):"operator"}if("#"==i)return e.skipToEnd(),"comment";if("<"==i&&(r=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return s((o=r[1],function(e,t){return e.match(o)?t.tokenize.pop():e.skipToEnd(),"string"}),e,t);if("0"==i)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(i))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==i){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==i)return e.eat("'")?s(d("'","atom",!1),e,t):e.eat('"')?s(d('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==i&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==i)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(i))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=i||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(i))return n=i,null;if("-"==i&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(i)){var f=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=i||f||(n="."),"operator"}return null}return n="|",null}function u(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=u(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=u(e+1));return l(t,n)}}function c(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,l(t,n))}}function d(e,t,n,r){return function(o,i){var a,s=!1;for("read-quoted-paused"===i.context.type&&(i.context=i.context.prev,o.eat("}"));null!=(a=o.next());){if(a==e&&(r||!s)){i.tokenize.pop();break}if(n&&"#"==a&&!s){if(o.eat("{")){"}"==e&&(i.context={prev:i.context,type:"read-quoted-paused"}),i.tokenize.push(u());break}if(/[@\$]/.test(o.peek())){i.tokenize.push(c());break}}s=!s&&"\\"==a}return t}}function p(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[l],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){n=null,e.sol()&&(t.indented=e.indentation());var a,s=t.tokenize[t.tokenize.length-1](e,t),l=n;if("ident"==s){var u=e.current();"keyword"==(s="."==t.lastTok?"property":r.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(u)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(l=u,o.propertyIsEnumerable(u)?a="indent":i.propertyIsEnumerable(u)?a="dedent":"if"!=u&&"unless"!=u||e.column()!=e.indentation()?"do"==u&&t.context.indented1&&e.eat("$");var r=e.next();return/['"({]/.test(r)?(t.tokens[0]=n(r,"("==r?"quote":"{"==r?"def":"string"),i(e,t)):(/\d/.test(r)||e.eatWhile(/\w/),t.tokens.shift(),"def")};function i(t,r){return(r.tokens[0]||function(t,r){if(t.eatSpace())return null;var a=t.sol(),s=t.next();if("\\"===s)return t.next(),null;if("'"===s||'"'===s||"`"===s)return r.tokens.unshift(n(s,"`"===s?"quote":"string")),i(t,r);if("#"===s)return a&&t.eat("!")?(t.skipToEnd(),"meta"):(t.skipToEnd(),"comment");if("$"===s)return r.tokens.unshift(o),i(t,r);if("+"===s||"="===s)return"operator";if("-"===s)return t.eat("-"),t.eatWhile(/\w/),"attribute";if(/\d/.test(s)&&(t.eatWhile(/\d/),t.eol()||!/\w/.test(t.peek())))return"number";t.eatWhile(/[\w-]/);var l=t.current();return"="===t.peek()&&/\w+/.test(l)?"def":e.hasOwnProperty(l)?e[l]:null})(t,r)}return{startState:function(){return{tokens:[]}},token:function(e,t){return i(e,t)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),e.defineMIME("text/x-sh","shell"),e.defineMIME("application/x-sh","shell")})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/sql/sql.js":function(e,t,n){(function(e){"use strict";e.defineMode("sql",function(t,n){var r=n.client||{},o=n.atoms||{false:!0,true:!0,null:!0},i=n.builtin||{},a=n.keywords||{},s=n.operatorChars||/^[*+\-%<>!=&|~^]/,l=n.support||{},u=n.hooks||{},c=n.dateSQL||{date:!0,time:!0,timestamp:!0},d=!1!==n.backslashStringEscapes,p=n.brackets||/^[\{}\(\)\[\]]/,f=n.punctuation||/^[;.,:]/;function h(e,t){var n,m=e.next();if(u[m]){var b=u[m](e,t);if(!1!==b)return b}if(l.hexNumber&&("0"==m&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==m||"X"==m)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(l.binaryNumber&&(("b"==m||"B"==m)&&e.match(/^'[01]+'/)||"0"==m&&e.match(/^b[01]+/)))return"number";if(m.charCodeAt(0)>47&&m.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),l.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==m&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==m||'"'==m&&l.doubleQuote)return t.tokenize=(n=m,function(e,t){for(var r,o=!1;null!=(r=e.next());){if(r==n&&!o){t.tokenize=h;break}o=d&&!o&&"\\"==r}return"string"}),t.tokenize(e,t);if((l.nCharCast&&("n"==m||"N"==m)||l.charsetCast&&"_"==m&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(l.commentSlashSlash&&"/"==m&&e.eat("/"))return e.skipToEnd(),"comment";if(l.commentHash&&"#"==m||"-"==m&&e.eat("-")&&(!l.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==m&&e.eat("*"))return t.tokenize=function e(t){return function(n,r){var o=n.match(/^.*?(\/\*|\*\/)/);return o?"/*"==o[1]?r.tokenize=e(t+1):r.tokenize=t>1?e(t-1):h:n.skipToEnd(),"comment"}}(1),t.tokenize(e,t);if("."!=m){if(s.test(m))return e.eatWhile(s),"operator";if(p.test(m))return e.eatWhile(p),"bracket";if(f.test(m))return e.eatWhile(f),"punctuation";if("{"==m&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var g=e.current().toLowerCase();return c.hasOwnProperty(g)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":o.hasOwnProperty(g)?"atom":i.hasOwnProperty(g)?"builtin":a.hasOwnProperty(g)?"keyword":r.hasOwnProperty(g)?"string-2":null}return l.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:l.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0}function m(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}return{startState:function(){return{tokenize:h,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==h&&e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"==n)return n;t.context&&null==t.context.align&&(t.context.align=!0);var r=e.current();return"("==r?m(e,t,")"):"["==r?m(e,t,"]"):t.context&&t.context.type==r&&function(e){e.indent=e.context.indent,e.context=e.context.prev}(t),n},indent:function(n,r){var o=n.context;if(!o)return e.Pass;var i=r.charAt(0)==o.type;return o.align?o.col+(i?0:1):o.indent+(i?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:l.commentSlashSlash?"//":l.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``"}}),function(){function t(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function n(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function r(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}var o="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function i(e){for(var t={},n=e.split(" "),r=0;r!=]/,dateSQL:i("date time timestamp"),support:i("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:i("$partition binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id"),keywords:i(o+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx updlock with"),builtin:i("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:i("is not null like and or in left right between inner outer join all any some cross unpivot pivot exists"),operatorChars:/^[*+\-%<>!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:i("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":n}}),e.defineMIME("text/x-mysql",{name:"sql",client:i("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:i(o+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:i("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:i("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:i("date time timestamp"),support:i("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":n,"`":t,"\\":r}}),e.defineMIME("text/x-mariadb",{name:"sql",client:i("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:i(o+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:i("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:i("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:i("date time timestamp"),support:i("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":n,"`":t,"\\":r}}),e.defineMIME("text/x-sqlite",{name:"sql",client:i("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:i(o+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:i("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:i("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:i("date time timestamp datetime"),support:i("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":n,":":n,"?":n,$:n,'"':function(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null},"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:i("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:i("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:i("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:i("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:i("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:i("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:i("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*+\-%<>!=~]/,dateSQL:i("date time timestamp"),support:i("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:i("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external false fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger true unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with"),builtin:i("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype"),atoms:i("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:i("date timestamp"),support:i("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:i("source"),keywords:i(o+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get global go goto grant granted greatest grouping groups handler header hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lc_collate lc_ctype lead leading leakproof least left length level library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict restricted result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat attach path depends detach zone"),builtin:i("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:i("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:i("date time timestamp"),support:i("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:i("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:i("false true"),builtin:i("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:i("source"),keywords:i("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:i("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:i("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:i("date time timestamp"),support:i("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:i("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:i("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:i("false true null"),operatorChars:/^[*+\-%<>!=~&|^]/,dateSQL:i("date time timestamp"),support:i("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:i("source"),keywords:i("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:i("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:i("time"),support:i("decimallessFloat zerolessFloat binaryNumber hexNumber")})}()})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/xml/xml.js":function(e,t,n){(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,o){var i,a,s=r.indentUnit,l={},u=o.htmlMode?t:n;for(var c in u)l[c]=u[c];for(var c in o)l[c]=o[c];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(f("atom","]]>")):null:e.match("--")?n(f("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,r){for(var o;null!=(o=n.next());){if("<"==o)return r.tokenize=e(t+1),r.tokenize(n,r);if(">"==o){if(1==t){r.tokenize=d;break}return r.tokenize=e(t-1),r.tokenize(n,r)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=f("meta","?>"),"meta"):(i=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"tag bracket"):"&"==r?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function p(e,t){var n,r,o=e.next();if(">"==o||"/"==o&&e.eat(">"))return t.tokenize=d,i=">"==o?"endTag":"selfcloseTag","tag bracket";if("="==o)return i="equals",null;if("<"==o){t.tokenize=d,t.state=b,t.tagName=t.tagStart=null;var a=t.tokenize(e,t);return a?a+" tag error":"tag error"}return/[\'\"]/.test(o)?(t.tokenize=(n=o,(r=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=p;break}return"string"}).isInAttribute=!0,r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function f(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=d;break}n.next()}return e}}function h(e){e.context&&(e.context=e.context.prev)}function m(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;h(e)}}function b(e,t,n){return"openTag"==e?(n.tagStart=t.column(),g):"closeTag"==e?y:b}function g(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",x):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",x(e,t,n)):(a="error",g)}function y(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&h(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",v):(a="tag error",_)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",v(e,t,n)):(a="error",_)}function v(e,t,n){return"endTag"!=e?(a="error",v):(h(n),b)}function _(e,t,n){return a="error",v(e,0,n)}function x(e,t,n){if("word"==e)return a="attribute",w;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?m(n,r):(m(n,r),n.context=new function(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,o==n.indented)),b}return a="error",x}function w(e,t,n){return"equals"==e?j:(l.allowMissing||(a="error"),x(e,0,n))}function j(e,t,n){return"string"==e?k:"word"==e&&l.allowUnquoted?(a="string",x):(a="error",x(e,0,n))}function k(e,t,n){return"string"==e?k:x(e,0,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:b,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;i=null;var n=t.tokenize(e,t);return(n||i)&&"comment"!=n&&(a=null,t.state=t.state(i||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==j&&(e.state=x)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/collapse-white-space/index.js":function(e,t,n){"use strict";e.exports=function(e){return String(e).replace(/\s+/g," ")}},"./node_modules/comma-separated-tokens/index.js":function(e,t,n){"use strict";t.parse=function(e){var t,n=[],i=String(e||a),s=i.indexOf(o),l=0,u=!1;for(;!u;)-1===s&&(s=i.length,u=!0),!(t=r(i.slice(l,s)))&&u||n.push(t),l=s+1,s=i.indexOf(o,l);return n},t.stringify=function(e,t){var n=t||{},s=!1===n.padLeft?a:i,l=n.padRight?i:a;e[e.length-1]===a&&(e=e.concat(a));return r(e.join(l+o+s))};var r=n("./node_modules/trim/index.js"),o=",",i=" ",a=""},"./node_modules/core-js/library/fn/get-iterator.js":function(e,t,n){n("./node_modules/core-js/library/modules/web.dom.iterable.js"),n("./node_modules/core-js/library/modules/es6.string.iterator.js"),e.exports=n("./node_modules/core-js/library/modules/core.get-iterator.js")},"./node_modules/core-js/library/fn/is-iterable.js":function(e,t,n){n("./node_modules/core-js/library/modules/web.dom.iterable.js"),n("./node_modules/core-js/library/modules/es6.string.iterator.js"),e.exports=n("./node_modules/core-js/library/modules/core.is-iterable.js")},"./node_modules/core-js/library/fn/number/is-safe-integer.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.number.is-safe-integer.js"),e.exports=n("./node_modules/core-js/library/modules/_core.js").Number.isSafeInteger},"./node_modules/core-js/library/fn/object/assign.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.object.assign.js"),e.exports=n("./node_modules/core-js/library/modules/_core.js").Object.assign},"./node_modules/core-js/library/fn/object/create.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.object.create.js");var r=n("./node_modules/core-js/library/modules/_core.js").Object;e.exports=function(e,t){return r.create(e,t)}},"./node_modules/core-js/library/fn/object/get-own-property-names.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.object.get-own-property-names.js");var r=n("./node_modules/core-js/library/modules/_core.js").Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},"./node_modules/core-js/library/fn/object/keys.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.object.keys.js"),e.exports=n("./node_modules/core-js/library/modules/_core.js").Object.keys},"./node_modules/core-js/library/fn/object/set-prototype-of.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.object.set-prototype-of.js"),e.exports=n("./node_modules/core-js/library/modules/_core.js").Object.setPrototypeOf},"./node_modules/core-js/library/fn/symbol/index.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.symbol.js"),n("./node_modules/core-js/library/modules/es6.object.to-string.js"),n("./node_modules/core-js/library/modules/es7.symbol.async-iterator.js"),n("./node_modules/core-js/library/modules/es7.symbol.observable.js"),e.exports=n("./node_modules/core-js/library/modules/_core.js").Symbol},"./node_modules/core-js/library/fn/symbol/iterator.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.string.iterator.js"),n("./node_modules/core-js/library/modules/web.dom.iterable.js"),e.exports=n("./node_modules/core-js/library/modules/_wks-ext.js").f("iterator")},"./node_modules/core-js/library/modules/_a-function.js":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"./node_modules/core-js/library/modules/_add-to-unscopables.js":function(e,t){e.exports=function(){}},"./node_modules/core-js/library/modules/_an-object.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_is-object.js");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"./node_modules/core-js/library/modules/_array-includes.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_to-iobject.js"),o=n("./node_modules/core-js/library/modules/_to-length.js"),i=n("./node_modules/core-js/library/modules/_to-absolute-index.js");e.exports=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},"./node_modules/core-js/library/modules/_classof.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_cof.js"),o=n("./node_modules/core-js/library/modules/_wks.js")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},"./node_modules/core-js/library/modules/_cof.js":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"./node_modules/core-js/library/modules/_core.js":function(e,t){var n=e.exports={version:"2.5.6"};"number"==typeof __e&&(__e=n)},"./node_modules/core-js/library/modules/_ctx.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_a-function.js");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/library/modules/_defined.js":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/library/modules/_descriptors.js":function(e,t,n){e.exports=!n("./node_modules/core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/core-js/library/modules/_dom-create.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_is-object.js"),o=n("./node_modules/core-js/library/modules/_global.js").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"./node_modules/core-js/library/modules/_enum-bug-keys.js":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/core-js/library/modules/_enum-keys.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-keys.js"),o=n("./node_modules/core-js/library/modules/_object-gops.js"),i=n("./node_modules/core-js/library/modules/_object-pie.js");e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},"./node_modules/core-js/library/modules/_export.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_global.js"),o=n("./node_modules/core-js/library/modules/_core.js"),i=n("./node_modules/core-js/library/modules/_ctx.js"),a=n("./node_modules/core-js/library/modules/_hide.js"),s=n("./node_modules/core-js/library/modules/_has.js"),l=function(e,t,n){var u,c,d,p=e&l.F,f=e&l.G,h=e&l.S,m=e&l.P,b=e&l.B,g=e&l.W,y=f?o:o[t]||(o[t]={}),v=y.prototype,_=f?r:h?r[t]:(r[t]||{}).prototype;for(u in f&&(n=t),n)(c=!p&&_&&void 0!==_[u])&&s(y,u)||(d=c?_[u]:n[u],y[u]=f&&"function"!=typeof _[u]?n[u]:b&&c?i(d,r):g&&_[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?i(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[u]=d,e&l.R&&v&&!v[u]&&a(v,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"./node_modules/core-js/library/modules/_fails.js":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/library/modules/_global.js":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"./node_modules/core-js/library/modules/_has.js":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"./node_modules/core-js/library/modules/_hide.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-dp.js"),o=n("./node_modules/core-js/library/modules/_property-desc.js");e.exports=n("./node_modules/core-js/library/modules/_descriptors.js")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/library/modules/_html.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_global.js").document;e.exports=r&&r.documentElement},"./node_modules/core-js/library/modules/_ie8-dom-define.js":function(e,t,n){e.exports=!n("./node_modules/core-js/library/modules/_descriptors.js")&&!n("./node_modules/core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty(n("./node_modules/core-js/library/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/core-js/library/modules/_iobject.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"./node_modules/core-js/library/modules/_is-array.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"./node_modules/core-js/library/modules/_is-integer.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_is-object.js"),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},"./node_modules/core-js/library/modules/_is-object.js":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/library/modules/_iter-create.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_object-create.js"),o=n("./node_modules/core-js/library/modules/_property-desc.js"),i=n("./node_modules/core-js/library/modules/_set-to-string-tag.js"),a={};n("./node_modules/core-js/library/modules/_hide.js")(a,n("./node_modules/core-js/library/modules/_wks.js")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},"./node_modules/core-js/library/modules/_iter-define.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_library.js"),o=n("./node_modules/core-js/library/modules/_export.js"),i=n("./node_modules/core-js/library/modules/_redefine.js"),a=n("./node_modules/core-js/library/modules/_hide.js"),s=n("./node_modules/core-js/library/modules/_iterators.js"),l=n("./node_modules/core-js/library/modules/_iter-create.js"),u=n("./node_modules/core-js/library/modules/_set-to-string-tag.js"),c=n("./node_modules/core-js/library/modules/_object-gpo.js"),d=n("./node_modules/core-js/library/modules/_wks.js")("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,h,m,b,g){l(n,t,h);var y,v,_,x=function(e){if(!p&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",j="values"==m,k=!1,S=e.prototype,E=S[d]||S["@@iterator"]||m&&S[m],C=E||x(m),O=m?j?x("entries"):C:void 0,T="Array"==t&&S.entries||E;if(T&&(_=c(T.call(new e)))!==Object.prototype&&_.next&&(u(_,w,!0),r||"function"==typeof _[d]||a(_,d,f)),j&&E&&"values"!==E.name&&(k=!0,C=function(){return E.call(this)}),r&&!g||!p&&!k&&S[d]||a(S,d,C),s[t]=C,s[w]=f,m)if(y={values:j?C:x("values"),keys:b?C:x("keys"),entries:O},g)for(v in y)v in S||i(S,v,y[v]);else o(o.P+o.F*(p||k),t,y);return y}},"./node_modules/core-js/library/modules/_iter-step.js":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"./node_modules/core-js/library/modules/_iterators.js":function(e,t){e.exports={}},"./node_modules/core-js/library/modules/_library.js":function(e,t){e.exports=!0},"./node_modules/core-js/library/modules/_meta.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_uid.js")("meta"),o=n("./node_modules/core-js/library/modules/_is-object.js"),i=n("./node_modules/core-js/library/modules/_has.js"),a=n("./node_modules/core-js/library/modules/_object-dp.js").f,s=0,l=Object.isExtensible||function(){return!0},u=!n("./node_modules/core-js/library/modules/_fails.js")(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!i(e,r)&&c(e),e}}},"./node_modules/core-js/library/modules/_object-assign.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_object-keys.js"),o=n("./node_modules/core-js/library/modules/_object-gops.js"),i=n("./node_modules/core-js/library/modules/_object-pie.js"),a=n("./node_modules/core-js/library/modules/_to-object.js"),s=n("./node_modules/core-js/library/modules/_iobject.js"),l=Object.assign;e.exports=!l||n("./node_modules/core-js/library/modules/_fails.js")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,u=1,c=o.f,d=i.f;l>u;)for(var p,f=s(arguments[u++]),h=c?r(f).concat(c(f)):r(f),m=h.length,b=0;m>b;)d.call(f,p=h[b++])&&(n[p]=f[p]);return n}:l},"./node_modules/core-js/library/modules/_object-create.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_an-object.js"),o=n("./node_modules/core-js/library/modules/_object-dps.js"),i=n("./node_modules/core-js/library/modules/_enum-bug-keys.js"),a=n("./node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO"),s=function(){},l=function(){var e,t=n("./node_modules/core-js/library/modules/_dom-create.js")("iframe"),r=i.length;for(t.style.display="none",n("./node_modules/core-js/library/modules/_html.js").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("