From a6f67a37ddf035754b6ddabac0c33ba41950e3f4 Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Thu, 18 Jan 2018 10:53:52 +1100 Subject: [PATCH 1/6] Fixed incorrect property name and improved tag method interface --- src/Forms/TagField.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Forms/TagField.php b/src/Forms/TagField.php index 18e8142..dcd6c06 100644 --- a/src/Forms/TagField.php +++ b/src/Forms/TagField.php @@ -67,11 +67,11 @@ class TagField extends Select2AjaxField protected $idField = 'Title'; /** - * The title field for the tag class. + * The text field for the tag class. * * @var string */ - protected $titleField = 'Title'; + protected $textField = 'Title'; /** * Defines whether the field can create new tags. @@ -185,7 +185,7 @@ public function saveInto(DataObjectInterface $record) // Obtain or Create Tag: - if ($tag = $this->findOrMakeTag($title, $relation)) { + if ($tag = $this->findOrMakeTag($relation, $title)) { $ids[] = $tag->ID; } @@ -199,12 +199,12 @@ public function saveInto(DataObjectInterface $record) /** * Obtains or creates a tag object with the given title. * - * @param string $title * @param Relation $relation + * @param string $title * * @return Tag */ - protected function findOrMakeTag($title, $relation) + protected function findOrMakeTag(Relation $relation, $title) { // Obtain Data List: @@ -238,7 +238,7 @@ protected function findOrMakeTag($title, $relation) */ protected function getTagClass(Relation $relation) { - return ($this->dataClass == Tag::class) ? $relation->dataClass() : $this->dataClass; + return ($this->dataClass === Tag::class) ? $relation->dataClass() : $this->dataClass; } /** From 56b5aba299eb1d22ab6aa6dbe08b82be3fbf64ce Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Thu, 18 Jan 2018 12:59:27 +1100 Subject: [PATCH 2/6] Added new HasOneField class --- src/Forms/HasOneField.php | 249 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 249 insertions(+) create mode 100644 src/Forms/HasOneField.php diff --git a/src/Forms/HasOneField.php b/src/Forms/HasOneField.php new file mode 100644 index 0000000..19eea62 --- /dev/null +++ b/src/Forms/HasOneField.php @@ -0,0 +1,249 @@ +=5.6.0 + * + * For full copyright and license information, please view the + * LICENSE.md file that was distributed with this source code. + * + * @package SilverWare\Forms + * @author Colin Tucker + * @copyright 2018 Praxis Interactive + * @license https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause + * @link https://github.com/praxisnetau/silverware + */ + +namespace SilverWare\Forms; + +use SilverStripe\Core\Injector\Injector; +use SilverStripe\ORM\DataObjectInterface; +use SilverWare\Select2\Forms\Select2AjaxField; + +/** + * An extension of the Select2 Ajax field for a has-one field. + * + * @package SilverWare\Forms + * @author Colin Tucker + * @copyright 2018 Praxis Interactive + * @license https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause + * @link https://github.com/praxisnetau/silverware + */ +class HasOneField extends Select2AjaxField +{ + /** + * An array which defines the default configuration for instances. + * + * @var array + * @config + */ + private static $default_config = [ + 'minimum-input-length' => 0 + ]; + + /** + * Defines whether Ajax is enabled or disabled for the field. + * + * @var boolean + */ + protected $ajaxEnabled = false; + + /** + * The data class to search via Ajax. + * + * @var string + */ + protected $dataClass; + + /** + * The default values for new instances of the data class. + * + * @var array + */ + protected $dataDefaults = []; + + /** + * The ID field for the data class. + * + * @var string + */ + protected $idField = 'ID'; + + /** + * The text field for the data class. + * + * @var string + */ + protected $textField = 'Title'; + + /** + * Defines whether the field can create new objects. + * + * @var boolean + */ + protected $canCreate = true; + + /** + * Defines whether the field can handle multiple options. + * + * @var boolean + */ + protected $multiple = false; + + /** + * Constructs the object upon instantiation. + * + * @param string $name + * @param string $title + * @param array|ArrayAccess $source + * @param mixed $value + */ + public function __construct($name, $title = null, $source = [], $value = null) + { + // Construct Parent: + + parent::__construct($name, $title, $source, $value); + } + + /** + * Answers the field type for the template. + * + * @return string + */ + public function Type() + { + return sprintf('hasonefield %s', parent::Type()); + } + + /** + * Defines the value of the canCreate attribute. + * + * @param boolean $canCreate + * + * @return $this + */ + public function setCanCreate($canCreate) + { + $this->canCreate = (boolean) $canCreate; + + return $this; + } + + /** + * Answers the value of the canCreate attribute. + * + * @return boolean + */ + public function getCanCreate() + { + return $this->canCreate; + } + + /** + * Defines the value of an individual data default. + * + * @param string $name + * @param mixed $value + * + * @return $this + */ + public function setDataDefault($name, $value) + { + $this->dataDefaults[$name] = $value; + + return $this; + } + + /** + * Answers the value of an individual data default. + * + * @param string $name + * + * @return mixed + */ + public function getDataDefault($name) + { + return isset($this->dataDefaults[$name]) ? $this->dataDefaults[$name] : null; + } + + /** + * Defines the value of the dataDefaults attribute. + * + * @param array $dataDefaults + * + * @return $this + */ + public function setDataDefaults($dataDefaults) + { + $this->dataDefaults = (array) $dataDefaults; + + return $this; + } + + /** + * Answers the value of the dataDefaults attribute. + * + * @return array + */ + public function getDataDefaults() + { + return $this->dataDefaults; + } + + /** + * Saves the value of the field into the given data object. + * + * @param DataObjectInterface $record + * + * @return void + */ + public function saveInto(DataObjectInterface $record) + { + // Obtain Field Name: + + $fieldName = $this->getName(); + + // Bail Early (if needed): + + if (empty($fieldName) || empty($record)) { + return; + } + + // Obtain Value: + + $value = $this->Value(); + + // Value Not Empty / Does Not Exist? + + if (!empty($value) && !in_array($value, $this->getSourceValues())) { + + // Create New Object (if enabled): + + if ($this->getCanCreate() && $this->dataClass) { + $object = Injector::inst()->create($this->dataClass, $this->dataDefaults); + $object->setField($this->getTextField(), $value); + $this->setValue($object->write()); + } + + } + + // Call Parent Method: + + return parent::saveInto($record); + } + + /** + * Answers the field config for the receiver. + * + * @return array + */ + protected function getFieldConfig() + { + $config = parent::getFieldConfig(); + + $config['tags'] = (boolean) $this->getCanCreate(); + + return $config; + } +} From 22673a4938b914240503cb0b2bfaf10af559e6ac Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Tue, 23 Jan 2018 21:42:51 +1100 Subject: [PATCH 3/6] Updated build process and dependencies --- package.json | 28 +- postcss.config.js | 3 + webpack.config.js | 345 ++++++++----- yarn.lock | 1229 ++++++++++++++++++++++++++++++++++++--------- 4 files changed, 1221 insertions(+), 384 deletions(-) diff --git a/package.json b/package.json index 2a4f68c..157cb62 100644 --- a/package.json +++ b/package.json @@ -26,29 +26,33 @@ "url": "https://github.com/praxisnetau/silverware/issues" }, "engines": { - "node": "^6.x" + "node": "^8.x" }, "scripts": { "watch": "webpack --env.development --colors --watch", - "build": "webpack --env.production --colors --optimize-minimize" + "build": "webpack --env.production --colors --progress --optimize-minimize" }, "dependencies": {}, "devDependencies": { - "autoprefixer": "^7.1.5", + "autoprefixer": "^7.2.4", "babel-core": "^6.26.0", "babel-loader": "^7.1.2", - "babel-preset-env": "^1.6.0", + "babel-preset-env": "^1.6.1", "clean-webpack-plugin": "^0.1.17", - "copy-webpack-plugin": "^4.1.1", - "css-loader": "^0.28.7", - "extract-text-webpack-plugin": "^3.0.1", - "file-loader": "^1.1.5", - "node-sass": "^4.5.3", - "postcss-loader": "^2.0.6", + "copy-webpack-plugin": "^4.3.1", + "css-loader": "^0.28.8", + "extract-text-webpack-plugin": "^3.0.2", + "file-loader": "^1.1.6", + "node-sass": "^4.7.2", + "postcss-loader": "^2.0.10", + "resolve-url-loader": "^2.2.1", "sass-loader": "^6.0.6", - "style-loader": "^0.19.0", + "style-loader": "^0.19.1", + "svgo": "^1.0.3", + "svgo-loader": "^2.1.0", + "uglifyjs-webpack-plugin": "^1.1.6", "url-loader": "^0.6.2", - "webpack": "^3.6.0" + "webpack": "^3.10.0" }, "babel": { "presets": [ diff --git a/postcss.config.js b/postcss.config.js index b122ab5..3b317c0 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,3 +1,6 @@ +/* PostCSS Configuration +===================================================================================================================== */ + module.exports = { plugins: [ require('autoprefixer') diff --git a/webpack.config.js b/webpack.config.js index dd994e6..cd8790a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,47 +1,78 @@ /* Webpack Configuration ===================================================================================================================== */ -// Load Core Modules: +// Load Core: -const path = require('path'); +const path = require('path'); const webpack = require('webpack'); -// Load Plugin Modules: +// Load Plugins: -const CopyWebpackPlugin = require('copy-webpack-plugin'); +const CopyPlugin = require('copy-webpack-plugin'); +const CleanPlugin = require('clean-webpack-plugin'); +const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); -const CleanWebpackPlugin = require('clean-webpack-plugin'); -// Configure Paths: +// Define Base: + +const BASE = '/resources/silverware/silverware'; + +// Define Paths: const PATHS = { ADMIN: { SRC: path.resolve(__dirname, 'admin/client/src'), DIST: path.resolve(__dirname, 'admin/client/dist'), - BUNDLES: path.resolve(__dirname, 'admin/client/src/bundles'), - PUBLIC: '/resources/silverware/silverware/admin/client/dist/' + PUBLIC: BASE + '/admin/client/dist/' }, MODULE: { SRC: path.resolve(__dirname, 'client/src'), DIST: path.resolve(__dirname, 'client/dist'), - BUNDLES: path.resolve(__dirname, 'client/src/bundles'), - PUBLIC: '/resources/silverware/silverware/client/dist/', + PUBLIC: BASE + '/client/dist/', }, MODULES: path.resolve(__dirname, 'node_modules') }; -// Configure Style Loader: +// Define Configs: -const style = (env, loaders) => { - return (env === 'production') ? ExtractTextPlugin.extract({ - fallback: 'style-loader', - use: loaders - }) : [{ loader: 'style-loader' }].concat(loaders); -}; +const CONFIGS = [ + { + paths: PATHS.ADMIN, + entry: { + 'bundle': 'bundles/bundle.js', + 'preview': 'bundles/preview.js' + }, + plugins: [ + new CopyPlugin([ + { context: PATHS.ADMIN.SRC, from: 'images/icons', to: 'images/icons' } + ]) + ], + resolve: { + alias: { + 'silverstripe-admin': path.resolve(process.env.PWD, '../../silverstripe/admin/client/src') + } + } + }, + { + paths: PATHS.MODULE, + entry: { + 'bundle': 'bundles/bundle.js' + }, + resolve: { + alias: { + 'bootstrap': path.resolve(process.env.PWD, '../../../themes/silverware-theme/node_modules/bootstrap'), + 'silverware-theme': path.resolve(process.env.PWD, '../../../themes/silverware-theme/source') + } + } + } +]; -// Configure Rules: +// Define Rules: const rules = (env) => { + + // Answer Rules: + return [ { test: /\.js$/, @@ -50,30 +81,28 @@ const rules = (env) => { loader: 'babel-loader' } ], - exclude: [ PATHS.MODULES ] + exclude: [ + PATHS.MODULES + ] }, { test: /\.css$/, - use: style(env, [ - { - loader: 'css-loader' - }, - { - loader: 'postcss-loader' - } - ]) + use: style(env) }, { test: /\.scss$/, use: style(env, [ { - loader: 'css-loader' - }, - { - loader: 'postcss-loader' + loader: 'resolve-url-loader', + options: { + sourceMap: true + } }, { - loader: 'sass-loader' + loader: 'sass-loader', + options: { + sourceMap: true + } } ]) }, @@ -88,133 +117,203 @@ const rules = (env) => { } } ] + }, + { + test: /\.svg$/, + use: [ + { + loader: 'file-loader', + options: { + name: 'svg/[name].[ext]' + } + }, + { + loader: 'svgo-loader', + options: { + plugins: [ + { removeTitle: true }, + { convertColors: { shorthex: false } }, + { convertPathData: true } + ] + } + } + ] + }, + { + test: /\.(ttf|eot|woff|woff2)$/, + loader: 'file-loader', + options: { + name: 'fonts/[name].[ext]' + } } ]; + +}; + +// Define Style Loaders: + +const style = (env, extra = []) => { + + // Common Loaders: + + let loaders = [ + { + loader: 'css-loader', + options: { + sourceMap: true + } + }, + { + loader: 'postcss-loader', + options: { + config: { + path: path.resolve(__dirname, 'postcss.config.js') + }, + sourceMap: true + } + } + ]; + + // Merge Loaders: + + loaders = [...loaders, ...extra]; + + // Answer Loaders: + + return (env === 'production') ? ExtractTextPlugin.extract({ + fallback: 'style-loader', + use: loaders + }) : [{ loader: 'style-loader' }].concat(loaders); + }; -// Configure Devtool: +// Define Devtool: const devtool = (env) => { return (env === 'production') ? false : 'source-map'; }; -// Configure Plugins: +// Define Plugins: -const plugins = (env, src, dist) => { +const plugins = (env, config) => { - // Define Common Plugins: + // Common Plugins: - var common = [ + let plugins = [ new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery' }) ]; - // Define Admin-Only Plugins: + // Merge Plugins: - if (src === PATHS.ADMIN.SRC) { - common.push( - new CopyWebpackPlugin([ - { from: path.resolve(src, 'images/icons'), to: 'images/icons' } - ]) - ); + if (config.plugins) { + plugins = [...plugins, ...config.plugins]; } - // Answer Common + Environment-Specific Plugins: - - return common.concat((env === 'production') ? [ - new CleanWebpackPlugin([ dist ], { - verbose: true - }), - new ExtractTextPlugin({ - filename: 'styles/[name].css', - allChunks: true - }), - new webpack.optimize.UglifyJsPlugin({ - output: { - beautify: false, - comments: false, - semicolons: false - }, - compress: { - unused: false, - warnings: false - } - }) - ] : [ - - ]); + // Answer Plugins: + + return plugins.concat( + (env === 'production') ? [ + new CleanPlugin( + [ config.paths.DIST ] + ), + new ExtractTextPlugin({ + filename: 'styles/[name].css', + allChunks: true + }), + new UglifyJsPlugin({ + uglifyOptions: { + output: { + comments: false + } + } + }) + ] : [ + + ] + ); + +}; + +// Define Resolve: + +const resolve = (env, config) => { + + let resolve = { + modules: [ + config.paths.SRC, + PATHS.MODULES + ] + }; + + if (config.resolve) { + Object.assign(resolve, config.resolve); + } + + return resolve; + +}; + +// Define Externals: + +const externals = (env, config) => { + + let externals = { + jquery: 'jQuery' + }; + + if (config.externals) { + Object.assign(externals, config.externals); + } + + return externals; }; // Define Configuration: -const config = (env) => { - return [ - { - entry: { - 'bundle': path.resolve(PATHS.ADMIN.BUNDLES, 'bundle.js'), - 'preview': path.resolve(PATHS.ADMIN.BUNDLES, 'preview.js') - }, - output: { - path: PATHS.ADMIN.DIST, - filename: 'js/[name].js', - publicPath: PATHS.ADMIN.PUBLIC - }, - module: { - rules: rules(env) - }, - devtool: devtool(env), - plugins: plugins(env, PATHS.ADMIN.SRC, PATHS.ADMIN.DIST), - resolve: { - alias: { - 'silverstripe-admin': path.resolve(process.env.PWD, '../../silverstripe/admin/client/src') - }, - modules: [ - PATHS.ADMIN.SRC, - PATHS.MODULES - ] - }, - externals: { - jquery: 'jQuery' - } - }, - { - entry: { - 'bundle': path.resolve(PATHS.MODULE.BUNDLES, 'bundle.js') - }, +const config = (env, configs) => { + + // Define Exports: + + let exports = []; + + // Iterate Configs: + + for (let config of configs) { + + // Build Export: + + exports.push({ + entry: config.entry, output: { - path: PATHS.MODULE.DIST, + path: config.paths.DIST, filename: 'js/[name].js', - publicPath: PATHS.MODULE.PUBLIC + publicPath: config.paths.PUBLIC }, module: { rules: rules(env) }, devtool: devtool(env), - plugins: plugins(env, PATHS.MODULE.SRC, PATHS.MODULE.DIST), - resolve: { - alias: { - 'bootstrap': path.resolve(process.env.PWD, '../../../themes/silverware-theme/node_modules/bootstrap'), - 'silverware-theme': path.resolve(process.env.PWD, '../../../themes/silverware-theme/source') - }, - modules: [ - PATHS.MODULE.SRC, - PATHS.MODULES - ] - }, - externals: { - jquery: 'jQuery' - } - } - ]; + plugins: plugins(env, config), + resolve: resolve(env, config), + externals: externals(env, config) + }); + + } + + // Answer Exports: + + return exports; + }; // Define Module Exports: -module.exports = (env = {development: true}) => { - process.env.NODE_ENV = (env.production ? 'production' : 'development'); +module.exports = (env = {}) => { + process.env.NODE_ENV = env.production ? 'production' : 'development'; console.log(`Running in ${process.env.NODE_ENV} mode...`); - return config(process.env.NODE_ENV); + return config(process.env.NODE_ENV, CONFIGS); }; diff --git a/yarn.lock b/yarn.lock index 9a85cbe..dbf0e0f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,12 +17,24 @@ acorn@^4.0.3: resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" acorn@^5.0.0: - version "5.1.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.1.2.tgz#911cb53e036807cf0fa778dc5d370fbd864246d7" + version "5.3.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822" -ajv-keywords@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.0.tgz#a296e17f7bfae7c1ce4f7e0de53d29cb32162df0" +adjust-sourcemap-loader@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/adjust-sourcemap-loader/-/adjust-sourcemap-loader-1.1.0.tgz#412d92404eb61e4113635012cba53a33d008e0e2" + dependencies: + assert "^1.3.0" + camelcase "^1.2.1" + loader-utils "^1.0.2" + lodash.assign "^4.0.1" + lodash.defaults "^3.1.2" + object-path "^0.9.2" + regex-parser "^2.2.1" + +ajv-keywords@^2.0.0, ajv-keywords@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762" ajv@^4.9.1: version "4.11.8" @@ -32,13 +44,13 @@ ajv@^4.9.1: json-stable-stringify "^1.0.1" ajv@^5.0.0, ajv@^5.1.0, ajv@^5.1.5: - version "5.2.3" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.3.tgz#c06f598778c44c6b161abafe3466b81ad1814ed2" + version "5.5.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" dependencies: co "^4.6.0" fast-deep-equal "^1.0.0" + fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.3.0" - json-stable-stringify "^1.0.1" align-text@^0.1.1, align-text@^0.1.3: version "0.1.4" @@ -81,7 +93,7 @@ anymatch@^1.3.0: micromatch "^2.1.5" normalize-path "^2.0.0" -aproba@^1.0.3: +aproba@^1.0.3, aproba@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" @@ -112,13 +124,27 @@ array-find-index@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" +array-union@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" + dependencies: + array-uniq "^1.0.1" + +array-uniq@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" + array-unique@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" +arrify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" + asn1.js@^4.0.0: - version "4.9.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.9.1.tgz#48ba240b45a9280e94748990ba597d216617fd40" + version "4.9.2" + resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.9.2.tgz#8117ef4f7ed87cd8f89044b5bff97ac243a16c9a" dependencies: bn.js "^4.0.0" inherits "^2.0.1" @@ -136,7 +162,7 @@ assert-plus@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" -assert@^1.1.1: +assert@^1.1.1, assert@^1.3.0: version "1.4.1" resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" dependencies: @@ -151,8 +177,8 @@ async-foreach@^0.1.3: resolved "https://registry.yarnpkg.com/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542" async@^2.1.2, async@^2.1.5, async@^2.4.1: - version "2.5.0" - resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d" + version "2.6.0" + resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" dependencies: lodash "^4.14.0" @@ -160,6 +186,10 @@ asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" +atob@~1.1.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/atob/-/atob-1.1.3.tgz#95f13629b12c3a51a5d215abdce2aa9f32f80773" + autoprefixer@^6.3.1: version "6.7.7" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-6.7.7.tgz#1dbd1c835658e35ce3f9984099db00585c782014" @@ -171,15 +201,15 @@ autoprefixer@^6.3.1: postcss "^5.2.16" postcss-value-parser "^3.2.3" -autoprefixer@^7.1.5: - version "7.1.5" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.1.5.tgz#d65d14b83c7cd1dd7bc801daa00557addf5a06b2" +autoprefixer@^7.2.4: + version "7.2.5" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.2.5.tgz#04ccbd0c6a61131b6d13f53d371926092952d192" dependencies: - browserslist "^2.5.0" - caniuse-lite "^1.0.30000744" + browserslist "^2.11.1" + caniuse-lite "^1.0.30000791" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^6.0.13" + postcss "^6.0.16" postcss-value-parser "^3.2.3" aws-sign2@~0.6.0: @@ -194,7 +224,7 @@ aws4@^1.2.1, aws4@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" -babel-code-frame@^6.11.0, babel-code-frame@^6.26.0: +babel-code-frame@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" dependencies: @@ -569,9 +599,9 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" -babel-preset-env@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.6.0.tgz#2de1c782a780a0a5d605d199c957596da43c44e4" +babel-preset-env@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.6.1.tgz#a18b564cc9b9afdf4aae57ae3c1b0d99188e6f48" dependencies: babel-plugin-check-es2015-constants "^6.22.0" babel-plugin-syntax-trailing-function-commas "^6.22.0" @@ -683,8 +713,8 @@ big.js@^3.1.3: resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e" binary-extensions@^1.0.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.10.0.tgz#9aeb9a6c5e88638aad171e167f5900abe24835d0" + version "1.11.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" block-stream@*: version "0.0.9" @@ -692,7 +722,7 @@ block-stream@*: dependencies: inherits "~2.0.0" -bluebird@^3.5.1: +bluebird@^3.5.0: version "3.5.1" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" @@ -700,6 +730,10 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: version "4.11.8" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" +boolbase@^1.0.0, boolbase@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" + boom@2.x.x: version "2.10.1" resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" @@ -738,8 +772,8 @@ brorand@^1.0.1: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.0.8" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.0.8.tgz#c8fa3b1b7585bb7ba77c5560b60996ddec6d5309" + version "1.1.1" + resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.1.1.tgz#38b7ab55edb806ff2dcda1a7f1620773a477c49f" dependencies: buffer-xor "^1.0.3" cipher-base "^1.0.0" @@ -783,11 +817,11 @@ browserify-sign@^4.0.0: inherits "^2.0.1" parse-asn1 "^5.0.0" -browserify-zlib@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.1.4.tgz#bb35f8a519f600e0fa6b8485241c979d0141fb2d" +browserify-zlib@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" dependencies: - pako "~0.2.0" + pako "~1.0.5" browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: version "1.7.7" @@ -796,12 +830,12 @@ browserslist@^1.3.6, browserslist@^1.5.2, browserslist@^1.7.6: caniuse-db "^1.0.30000639" electron-to-chromium "^1.2.7" -browserslist@^2.1.2, browserslist@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.5.0.tgz#0ea00d22813a4dfae5786485225a9c584b3ef37c" +browserslist@^2.1.2, browserslist@^2.11.1: + version "2.11.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.11.3.tgz#fe36167aed1bbcde4827ebfe71347a2cc70b99b2" dependencies: - caniuse-lite "^1.0.30000744" - electron-to-chromium "^1.3.24" + caniuse-lite "^1.0.30000792" + electron-to-chromium "^1.3.30" buffer-xor@^1.0.3: version "1.0.3" @@ -823,6 +857,24 @@ builtin-status-codes@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" +cacache@^10.0.1: + version "10.0.2" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.2.tgz#105a93a162bbedf3a25da42e1939ed99ffb145f8" + dependencies: + bluebird "^3.5.0" + chownr "^1.0.1" + glob "^7.1.2" + graceful-fs "^4.1.11" + lru-cache "^4.1.1" + mississippi "^1.3.0" + mkdirp "^0.5.1" + move-concurrently "^1.0.1" + promise-inflight "^1.0.1" + rimraf "^2.6.1" + ssri "^5.0.0" + unique-filename "^1.1.0" + y18n "^3.2.1" + camelcase-keys@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" @@ -830,7 +882,7 @@ camelcase-keys@^2.0.0: camelcase "^2.0.0" map-obj "^1.0.0" -camelcase@^1.0.2: +camelcase@^1.0.2, camelcase@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" @@ -842,7 +894,7 @@ camelcase@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" -camelcase@^4.1.0: +camelcase@^4.0.0, camelcase@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" @@ -856,12 +908,16 @@ caniuse-api@^1.5.2: lodash.uniq "^4.5.0" caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: - version "1.0.30000744" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000744.tgz#00758ff7dd5f7138d34a15608dccf71a59656ffe" + version "1.0.30000794" + resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000794.tgz#bbe71104fa277ce4b362387d54905e8b88e52f35" + +caniuse-lite@^1.0.30000791, caniuse-lite@^1.0.30000792: + version "1.0.30000792" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000792.tgz#d0cea981f8118f3961471afbb43c9a1e5bbf0332" -caniuse-lite@^1.0.30000744: - version "1.0.30000744" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000744.tgz#860fa5c83ba34fe619397d607f30bb474821671b" +caseless@~0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" caseless@~0.12.0: version "0.12.0" @@ -884,9 +940,9 @@ chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.1.0.tgz#ac5becf14fa21b99c6c92ca7a7d7cfd5b17e743e" +chalk@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" dependencies: ansi-styles "^3.1.0" escape-string-regexp "^1.0.5" @@ -907,6 +963,10 @@ chokidar@^1.7.0: optionalDependencies: fsevents "^1.0.0" +chownr@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -952,8 +1012,8 @@ clone-deep@^0.3.0: shallow-clone "^0.1.2" clone@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149" + version "1.0.3" + resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.3.tgz#298d7e2231660f40c003c2ed3140decf3f53085f" co@^4.6.0: version "4.6.0" @@ -965,13 +1025,19 @@ coa@~1.0.1: dependencies: q "^1.1.2" +coa@~2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/coa/-/coa-2.0.1.tgz#f3f8b0b15073e35d70263fb1042cb2c023db38af" + dependencies: + q "^1.1.2" + code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" color-convert@^1.3.0, color-convert@^1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a" + version "1.9.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" dependencies: color-name "^1.1.1" @@ -1011,6 +1077,10 @@ combined-stream@^1.0.5, combined-stream@~1.0.5: dependencies: delayed-stream "~1.0.0" +commander@^2.9.0, commander@~2.13.0: + version "2.13.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c" + commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -1019,6 +1089,14 @@ concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" +concat-stream@^1.5.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" + dependencies: + inherits "^2.0.3" + readable-stream "^2.2.2" + typedarray "^0.0.6" + console-browserify@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" @@ -1033,26 +1111,43 @@ constants-browserify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" -convert-source-map@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" +convert-source-map@^0.3.3: + version "0.3.5" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190" + +convert-source-map@^1.1.1, convert-source-map@^1.5.0: + version "1.5.1" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" -copy-webpack-plugin@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.1.1.tgz#53ae69e04955ebfa9fda411f54cbb968531d71fd" +copy-concurrently@^1.0.0: + version "1.0.5" + resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" dependencies: - bluebird "^3.5.1" - fs-extra "^4.0.2" - glob "^7.1.2" + aproba "^1.1.1" + fs-write-stream-atomic "^1.0.8" + iferr "^0.1.5" + mkdirp "^0.5.1" + rimraf "^2.5.4" + run-queue "^1.0.0" + +copy-webpack-plugin@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.3.1.tgz#19ba6370bf6f8e263cbd66185a2b79f2321a9302" + dependencies: + cacache "^10.0.1" + find-cache-dir "^1.0.0" + globby "^7.1.1" is-glob "^4.0.0" loader-utils "^0.2.15" lodash "^4.3.0" minimatch "^3.0.4" - node-dir "^0.1.10" + p-limit "^1.0.0" + pify "^3.0.0" + serialize-javascript "^1.4.0" core-js@^2.4.0, core-js@^2.5.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" + version "2.5.3" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e" core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" @@ -1125,8 +1220,8 @@ cryptiles@3.x.x: boom "5.x.x" crypto-browserify@^3.11.0: - version "3.11.1" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.11.1.tgz#948945efc6757a400d6e5e5af47194d10064279f" + version "3.12.0" + resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" dependencies: browserify-cipher "^1.0.0" browserify-sign "^4.0.0" @@ -1138,30 +1233,44 @@ crypto-browserify@^3.11.0: pbkdf2 "^3.0.3" public-encrypt "^4.0.0" randombytes "^2.0.0" + randomfill "^1.0.3" css-color-names@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" -css-loader@^0.28.7: - version "0.28.7" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.7.tgz#5f2ee989dd32edd907717f953317656160999c1b" +css-loader@^0.28.8: + version "0.28.9" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.9.tgz#68064b85f4e271d7ce4c48a58300928e535d1c95" dependencies: - babel-code-frame "^6.11.0" + babel-code-frame "^6.26.0" css-selector-tokenizer "^0.7.0" - cssnano ">=2.6.1 <4" + cssnano "^3.10.0" icss-utils "^2.1.0" loader-utils "^1.0.2" lodash.camelcase "^4.3.0" - object-assign "^4.0.1" + object-assign "^4.1.1" postcss "^5.0.6" - postcss-modules-extract-imports "^1.0.0" - postcss-modules-local-by-default "^1.0.1" - postcss-modules-scope "^1.0.0" - postcss-modules-values "^1.1.0" + postcss-modules-extract-imports "^1.2.0" + postcss-modules-local-by-default "^1.2.0" + postcss-modules-scope "^1.1.0" + postcss-modules-values "^1.3.0" postcss-value-parser "^3.3.0" source-list-map "^2.0.0" +css-select-base-adapter@~0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/css-select-base-adapter/-/css-select-base-adapter-0.1.0.tgz#0102b3d14630df86c3eb9fa9f5456270106cf990" + +css-select@~1.3.0-rc0: + version "1.3.0-rc0" + resolved "https://registry.yarnpkg.com/css-select/-/css-select-1.3.0-rc0.tgz#6f93196aaae737666ea1036a8cb14a8fcb7a9231" + dependencies: + boolbase "^1.0.0" + css-what "2.1" + domutils "1.5.1" + nth-check "^1.0.1" + css-selector-tokenizer@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz#e6988474ae8c953477bf5e7efecfceccd9cf4c86" @@ -1170,11 +1279,42 @@ css-selector-tokenizer@^0.7.0: fastparse "^1.1.1" regexpu-core "^1.0.0" +css-tree@1.0.0-alpha.27: + version "1.0.0-alpha.27" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.27.tgz#f211526909c7dc940843d83b9376ed98ddb8de47" + dependencies: + mdn-data "^1.0.0" + source-map "^0.5.3" + +css-tree@1.0.0-alpha25: + version "1.0.0-alpha25" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha25.tgz#1bbfabfbf6eeef4f01d9108ff2edd0be2fe35597" + dependencies: + mdn-data "^1.0.0" + source-map "^0.5.3" + +css-url-regex@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/css-url-regex/-/css-url-regex-1.1.0.tgz#83834230cc9f74c457de59eebd1543feeb83b7ec" + +css-what@2.1: + version "2.1.0" + resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd" + +css@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/css/-/css-2.2.1.tgz#73a4c81de85db664d4ee674f7d47085e3b2d55dc" + dependencies: + inherits "^2.0.1" + source-map "^0.1.38" + source-map-resolve "^0.3.0" + urix "^0.1.0" + cssesc@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4" -"cssnano@>=2.6.1 <4": +cssnano@^3.10.0: version "3.10.0" resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-3.10.0.tgz#4f38f6cea2b9b17fa01490f23f1dc68ea65c1c38" dependencies: @@ -1211,6 +1351,12 @@ cssesc@^0.1.0: postcss-value-parser "^3.2.3" postcss-zindex "^2.0.1" +csso@^3.3.1: + version "3.5.0" + resolved "https://registry.yarnpkg.com/csso/-/csso-3.5.0.tgz#acdbba5719e2c87bc801eadc032764b2e4b9d4e7" + dependencies: + css-tree "1.0.0-alpha.27" + csso@~2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/csso/-/csso-2.3.2.tgz#ddd52c587033f49e94b71fc55569f252e8ff5f85" @@ -1224,6 +1370,10 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" +cyclist@~0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" + d@1: version "1.0.0" resolved "https://registry.yarnpkg.com/d/-/d-1.0.0.tgz#754bb5bfe55451da69a58b94d45f4c5b0462d58f" @@ -1254,6 +1404,13 @@ deep-extend@~0.4.0: version "0.4.2" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" +define-properties@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" + dependencies: + foreach "^2.0.5" + object-keys "^1.0.8" + defined@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" @@ -1279,6 +1436,10 @@ detect-indent@^4.0.0: dependencies: repeating "^2.0.0" +detect-libc@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + diffie-hellman@^5.0.0: version "5.0.2" resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.2.tgz#b5835739270cfe26acf632099fded2a07f209e5e" @@ -1287,19 +1448,57 @@ diffie-hellman@^5.0.0: miller-rabin "^4.0.0" randombytes "^2.0.0" +dir-glob@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034" + dependencies: + arrify "^1.0.1" + path-type "^3.0.0" + +dom-serializer@0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" + dependencies: + domelementtype "~1.1.1" + entities "~1.1.1" + domain-browser@^1.1.1: version "1.1.7" resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" +domelementtype@1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2" + +domelementtype@~1.1.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" + +domutils@1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf" + dependencies: + dom-serializer "0" + domelementtype "1" + +duplexify@^3.4.2, duplexify@^3.5.3: + version "3.5.3" + resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.5.3.tgz#8b5818800df92fd0125b27ab896491912858243e" + dependencies: + end-of-stream "^1.0.0" + inherits "^2.0.1" + readable-stream "^2.0.0" + stream-shift "^1.0.0" + ecc-jsbn@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" dependencies: jsbn "~0.1.0" -electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.24: - version "1.3.24" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.24.tgz#9b7b88bb05ceb9fa016a177833cc2dde388f21b6" +electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.30: + version "1.3.31" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.31.tgz#00d832cba9fe2358652b0c48a8816c8e3a037e9f" elliptic@^6.0.0: version "6.4.0" @@ -1317,6 +1516,12 @@ emojis-list@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" +end-of-stream@^1.0.0, end-of-stream@^1.1.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" + dependencies: + once "^1.4.0" + enhanced-resolve@^3.4.0: version "3.4.1" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz#0421e339fd71419b3da13d129b3979040230476e" @@ -1326,11 +1531,15 @@ enhanced-resolve@^3.4.0: object-assign "^4.0.1" tapable "^0.2.7" -errno@^0.1.3: - version "0.1.4" - resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" +entities@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" + +errno@^0.1.3, errno@^0.1.4: + version "0.1.6" + resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.6.tgz#c386ce8a6283f14fc09563b71560908c9bf53026" dependencies: - prr "~0.0.0" + prr "~1.0.1" error-ex@^1.2.0: version "1.3.1" @@ -1338,20 +1547,38 @@ error-ex@^1.2.0: dependencies: is-arrayish "^0.2.1" -es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14: - version "0.10.30" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.30.tgz#7141a16836697dbabfaaaeee41495ce29f52c939" +es-abstract@^1.5.1, es-abstract@^1.6.1: + version "1.10.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" dependencies: - es6-iterator "2" - es6-symbol "~3.1" + es-to-primitive "^1.1.1" + function-bind "^1.1.1" + has "^1.0.1" + is-callable "^1.1.3" + is-regex "^1.0.4" -es6-iterator@2, es6-iterator@^2.0.1, es6-iterator@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.1.tgz#8e319c9f0453bf575d374940a655920e59ca5512" +es-to-primitive@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" + dependencies: + is-callable "^1.1.1" + is-date-object "^1.0.1" + is-symbol "^1.0.1" + +es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14: + version "0.10.38" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.38.tgz#fa7d40d65bbc9bb8a67e1d3f9cc656a00530eed3" + dependencies: + es6-iterator "~2.0.3" + es6-symbol "~3.1.1" + +es6-iterator@^2.0.1, es6-iterator@~2.0.1, es6-iterator@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" dependencies: d "1" - es5-ext "^0.10.14" - es6-symbol "^3.1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" es6-map@^0.1.3: version "0.1.5" @@ -1374,7 +1601,7 @@ es6-set@~0.1.5: es6-symbol "3.1.1" event-emitter "~0.3.5" -es6-symbol@3.1.1, es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1, es6-symbol@~3.1.1: +es6-symbol@3.1.1, es6-symbol@^3.1.1, es6-symbol@~3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77" dependencies: @@ -1478,30 +1705,38 @@ extglob@^0.3.1: dependencies: is-extglob "^1.0.0" -extract-text-webpack-plugin@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.1.tgz#605a8893faca1dd49bb0d2ca87493f33fd43d102" +extract-text-webpack-plugin@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.2.tgz#5f043eaa02f9750a9258b78c0a6e0dc1408fb2f7" dependencies: async "^2.4.1" loader-utils "^1.1.0" schema-utils "^0.3.0" webpack-sources "^1.0.1" -extsprintf@1.3.0, extsprintf@^1.2.0: +extsprintf@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" +extsprintf@^1.2.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" + fast-deep-equal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" +fast-json-stable-stringify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" + fastparse@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.1.tgz#d1e2643b38a94d7583b479060e6c4affc94071f8" -file-loader@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-1.1.5.tgz#91c25b6b6fbe56dae99f10a425fd64933b5c9daa" +file-loader@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-1.1.6.tgz#7b9a8f2c58f00a77fddf49e940f7ac978a3ea0e8" dependencies: loader-utils "^1.0.2" schema-utils "^0.3.0" @@ -1545,6 +1780,13 @@ flatten@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" +flush-write-stream@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.0.2.tgz#c81b90d8746766f1a609a46809946c45dd8ae417" + dependencies: + inherits "^2.0.1" + readable-stream "^2.0.4" + for-in@^0.1.3: version "0.1.8" resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1" @@ -1565,6 +1807,10 @@ for-own@^1.0.0: dependencies: for-in "^1.0.1" +foreach@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" + forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -1585,24 +1831,32 @@ form-data@~2.3.1: combined-stream "^1.0.5" mime-types "^2.1.12" -fs-extra@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b" +from2@^2.1.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" + dependencies: + inherits "^2.0.1" + readable-stream "^2.0.0" + +fs-write-stream-atomic@^1.0.8: + version "1.0.10" + resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" dependencies: graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" + iferr "^0.1.5" + imurmurhash "^0.1.4" + readable-stream "1 || 2" fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" fsevents@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.2.tgz#3282b713fb3ad80ede0e9fcf4611b5aa6fc033f4" + version "1.1.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.3.tgz#11f82318f5fe7bb2cd22965a108e9306208216d8" dependencies: nan "^2.3.0" - node-pre-gyp "^0.6.36" + node-pre-gyp "^0.6.39" fstream-ignore@^1.0.5: version "1.0.5" @@ -1621,7 +1875,7 @@ fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: mkdirp ">=0.5 0" rimraf "2" -function-bind@^1.0.2: +function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -1644,6 +1898,16 @@ gaze@^1.0.0: dependencies: globule "^1.0.0" +generate-function@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74" + +generate-object-property@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/generate-object-property/-/generate-object-property-1.2.0.tgz#9c0e1c40308ce804f4783618b937fa88f99d50d0" + dependencies: + is-property "^1.0.0" + get-caller-file@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" @@ -1675,6 +1939,16 @@ glob-parent@^2.0.0: dependencies: is-glob "^2.0.0" +glob@^6.0.4: + version "6.0.4" + resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" + dependencies: + inflight "^1.0.4" + inherits "2" + minimatch "2 || 3" + once "^1.3.0" + path-is-absolute "^1.0.0" + glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.2, glob@~7.1.1: version "7.1.2" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" @@ -1690,6 +1964,17 @@ globals@^9.18.0: version "9.18.0" resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" +globby@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/globby/-/globby-7.1.1.tgz#fb2ccff9401f8600945dfada97440cca972b8680" + dependencies: + array-union "^1.0.1" + dir-glob "^2.0.0" + glob "^7.1.2" + ignore "^3.3.5" + pify "^3.0.0" + slash "^1.0.0" + globule@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/globule/-/globule-1.2.0.tgz#1dc49c6822dd9e8a2fa00ba2a295006e8664bd09" @@ -1698,7 +1983,7 @@ globule@^1.0.0: lodash "~4.17.4" minimatch "~3.0.2" -graceful-fs@^4.1.2, graceful-fs@^4.1.6: +graceful-fs@^4.1.11, graceful-fs@^4.1.2: version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" @@ -1710,6 +1995,15 @@ har-schema@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" +har-validator@~2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" + dependencies: + chalk "^1.1.1" + commander "^2.9.0" + is-my-json-valid "^2.12.4" + pinkie-promise "^2.0.0" + har-validator@~4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" @@ -1833,9 +2127,9 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" -https-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" +https-browserify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" icss-replace-symbols@^1.1.0: version "1.1.0" @@ -1851,6 +2145,18 @@ ieee754@^1.1.4: version "1.1.8" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" +iferr@^0.1.5: + version "0.1.5" + resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" + +ignore@^3.3.5: + version "3.3.7" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.7.tgz#612289bfb3c220e186a58118618d5be8c1bab021" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + in-publish@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/in-publish/-/in-publish-2.0.0.tgz#e20ff5e3a2afc2690320b6dc552682a9c7fadf51" @@ -1885,12 +2191,12 @@ inherits@2.0.1: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" ini@~1.3.0: - version "1.3.4" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" + version "1.3.5" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" interpret@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.4.tgz#820cdd588b868ffb191a809506d6c9c8f212b1b0" + version "1.1.0" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" invariant@^2.2.2: version "2.2.2" @@ -1917,8 +2223,8 @@ is-binary-path@^1.0.0: binary-extensions "^1.0.0" is-buffer@^1.0.2, is-buffer@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" + version "1.1.6" + resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" is-builtin-module@^1.0.0: version "1.0.0" @@ -1926,6 +2232,14 @@ is-builtin-module@^1.0.0: dependencies: builtin-modules "^1.0.0" +is-callable@^1.1.1, is-callable@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" + +is-date-object@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" + is-directory@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" @@ -1980,6 +2294,15 @@ is-glob@^4.0.0: dependencies: is-extglob "^2.1.1" +is-my-json-valid@^2.12.4: + version "2.17.1" + resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.17.1.tgz#3da98914a70a22f0a8563ef1511a246c6fc55471" + dependencies: + generate-function "^2.0.0" + generate-object-property "^1.1.0" + jsonpointer "^4.0.0" + xtend "^4.0.0" + is-number@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" @@ -2010,6 +2333,16 @@ is-primitive@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" +is-property@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" + +is-regex@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" + dependencies: + has "^1.0.1" + is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" @@ -2020,6 +2353,10 @@ is-svg@^2.0.0: dependencies: html-comment-regex "^1.1.0" +is-symbol@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" + is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -2051,14 +2388,14 @@ isstream@~0.1.2: resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" js-base64@^2.1.8, js-base64@^2.1.9: - version "2.3.2" - resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.3.2.tgz#a79a923666372b580f8e27f51845c6f7e8fbfbaf" + version "2.4.1" + resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.1.tgz#e02813181cd53002888e918935467acb2910e596" js-tokens@^3.0.0, js-tokens@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" -js-yaml@^3.4.3: +js-yaml@^3.4.3, js-yaml@~3.10.0: version "3.10.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc" dependencies: @@ -2110,16 +2447,14 @@ json5@^0.5.0, json5@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - optionalDependencies: - graceful-fs "^4.1.6" - jsonify@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" +jsonpointer@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" + jsprim@^1.2.2: version "1.4.1" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" @@ -2193,7 +2528,7 @@ loader-utils@^0.2.15: json5 "^0.5.0" object-assign "^4.0.1" -loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1.0: +loader-utils@^1.0.0, loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.0.3, loader-utils@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd" dependencies: @@ -2208,7 +2543,46 @@ locate-path@^2.0.0: p-locate "^2.0.0" path-exists "^3.0.0" -lodash.assign@^4.2.0: +lodash._baseassign@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" + dependencies: + lodash._basecopy "^3.0.0" + lodash.keys "^3.0.0" + +lodash._basecopy@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" + +lodash._bindcallback@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" + +lodash._createassigner@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz#838a5bae2fdaca63ac22dee8e19fa4e6d6970b11" + dependencies: + lodash._bindcallback "^3.0.0" + lodash._isiterateecall "^3.0.0" + lodash.restparam "^3.0.0" + +lodash._getnative@^3.0.0: + version "3.9.1" + resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" + +lodash._isiterateecall@^3.0.0: + version "3.0.9" + resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" + +lodash.assign@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-3.2.0.tgz#3ce9f0234b4b2223e296b8fa0ac1fee8ebca64fa" + dependencies: + lodash._baseassign "^3.0.0" + lodash._createassigner "^3.0.0" + lodash.keys "^3.0.0" + +lodash.assign@^4.0.1, lodash.assign@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" @@ -2220,6 +2594,33 @@ lodash.clonedeep@^4.3.2: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" +lodash.defaults@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-3.1.2.tgz#c7308b18dbf8bc9372d701a73493c61192bd2e2c" + dependencies: + lodash.assign "^3.0.0" + lodash.restparam "^3.0.0" + +lodash.defaults@^4.0.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c" + +lodash.isarguments@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" + +lodash.isarray@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" + +lodash.keys@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" + dependencies: + lodash._getnative "^3.0.0" + lodash.isarguments "^3.0.0" + lodash.isarray "^3.0.0" + lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" @@ -2228,6 +2629,10 @@ lodash.mergewith@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.0.tgz#150cf0a16791f5903b8891eab154609274bdea55" +lodash.restparam@^3.0.0: + version "3.6.1" + resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" + lodash.tail@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.tail/-/lodash.tail-4.1.1.tgz#d2333a36d9e7717c8ad2f7cacafec7c32b444664" @@ -2257,7 +2662,7 @@ loud-rejection@^1.0.0: currently-unhandled "^0.4.1" signal-exit "^3.0.0" -lru-cache@^4.0.1: +lru-cache@^4.0.1, lru-cache@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55" dependencies: @@ -2269,10 +2674,10 @@ macaddress@^0.2.8: resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12" make-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.0.0.tgz#97a011751e91dd87cfadef58832ebb04936de978" + version "1.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.1.0.tgz#19b4369fe48c116f53c2af95ad102c0e39e85d51" dependencies: - pify "^2.3.0" + pify "^3.0.0" map-obj@^1.0.0, map-obj@^1.0.1: version "1.0.1" @@ -2289,6 +2694,10 @@ md5.js@^1.3.4: hash-base "^3.0.0" inherits "^2.0.1" +mdn-data@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-1.0.0.tgz#a69d9da76847b4d5834c1465ea25c0653a1fbf66" + mem@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" @@ -2353,8 +2762,8 @@ mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.7: mime-db "~1.30.0" mime@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" + version "1.6.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" mimic-fn@^1.0.0: version "1.1.0" @@ -2368,7 +2777,7 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" -minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.4, minimatch@~3.0.2: +"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.4, minimatch@~3.0.2: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" dependencies: @@ -2382,6 +2791,21 @@ minimist@^1.1.3, minimist@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" +mississippi@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-1.3.0.tgz#d201583eb12327e3c5c1642a404a9cacf94e34f5" + dependencies: + concat-stream "^1.5.0" + duplexify "^3.4.2" + end-of-stream "^1.1.0" + flush-write-stream "^1.0.0" + from2 "^2.1.0" + parallel-transform "^1.1.0" + pump "^1.0.0" + pumpify "^1.3.3" + stream-each "^1.1.0" + through2 "^2.0.0" + mixin-object@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/mixin-object/-/mixin-object-2.0.1.tgz#4fb949441dab182540f1fe035ba60e1947a5e57e" @@ -2395,19 +2819,24 @@ mixin-object@^2.0.1: dependencies: minimist "0.0.8" +move-concurrently@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" + dependencies: + aproba "^1.1.1" + copy-concurrently "^1.0.0" + fs-write-stream-atomic "^1.0.8" + mkdirp "^0.5.1" + rimraf "^2.5.4" + run-queue "^1.0.3" + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" nan@^2.3.0, nan@^2.3.2: - version "2.7.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.7.0.tgz#d95bf721ec877e08db276ed3fc6eb78f9083ad46" - -node-dir@^0.1.10: - version "0.1.17" - resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5" - dependencies: - minimatch "^3.0.2" + version "2.8.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.8.0.tgz#ed715f3fe9de02b57a5e6252d90a96675e1f085a" node-gyp@^3.3.1: version "3.6.2" @@ -2428,37 +2857,38 @@ node-gyp@^3.3.1: which "1" node-libs-browser@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.0.0.tgz#a3a59ec97024985b46e958379646f96c4b616646" + version "2.1.0" + resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df" dependencies: assert "^1.1.1" - browserify-zlib "^0.1.4" + browserify-zlib "^0.2.0" buffer "^4.3.0" console-browserify "^1.1.0" constants-browserify "^1.0.0" crypto-browserify "^3.11.0" domain-browser "^1.1.1" events "^1.0.0" - https-browserify "0.0.1" - os-browserify "^0.2.0" + https-browserify "^1.0.0" + os-browserify "^0.3.0" path-browserify "0.0.0" - process "^0.11.0" + process "^0.11.10" punycode "^1.2.4" querystring-es3 "^0.2.0" - readable-stream "^2.0.5" + readable-stream "^2.3.3" stream-browserify "^2.0.1" - stream-http "^2.3.1" - string_decoder "^0.10.25" - timers-browserify "^2.0.2" + stream-http "^2.7.2" + string_decoder "^1.0.0" + timers-browserify "^2.0.4" tty-browserify "0.0.0" url "^0.11.0" util "^0.10.3" vm-browserify "0.0.4" -node-pre-gyp@^0.6.36: - version "0.6.38" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.38.tgz#e92a20f83416415bb4086f6d1fb78b3da73d113d" +node-pre-gyp@^0.6.39: + version "0.6.39" + resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.39.tgz#c00e96860b23c0e1420ac7befc5044e1d78d8649" dependencies: + detect-libc "^1.0.2" hawk "3.1.3" mkdirp "^0.5.1" nopt "^4.0.1" @@ -2470,9 +2900,9 @@ node-pre-gyp@^0.6.36: tar "^2.2.1" tar-pack "^3.4.0" -node-sass@^4.5.3: - version "4.5.3" - resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.5.3.tgz#d09c9d1179641239d1b97ffc6231fdcec53e1568" +node-sass@^4.7.2: + version "4.7.2" + resolved "https://registry.yarnpkg.com/node-sass/-/node-sass-4.7.2.tgz#9366778ba1469eb01438a9e8592f4262bcb6794e" dependencies: async-foreach "^0.1.3" chalk "^1.1.1" @@ -2489,9 +2919,10 @@ node-sass@^4.5.3: nan "^2.3.2" node-gyp "^3.3.1" npmlog "^4.0.0" - request "^2.79.0" - sass-graph "^2.1.1" + request "~2.79.0" + sass-graph "^2.2.4" stdout-stream "^1.4.0" + "true-case-path" "^1.0.2" "nopt@2 || 3": version "3.0.6" @@ -2549,6 +2980,12 @@ npm-run-path@^2.0.0: gauge "~2.7.3" set-blocking "~2.0.0" +nth-check@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.1.tgz#9929acdf628fc2c41098deab82ac580cf149aae4" + dependencies: + boolbase "~1.0.0" + num2fraction@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede" @@ -2561,10 +2998,25 @@ oauth-sign@~0.8.1, oauth-sign@~0.8.2: version "0.8.2" resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" -object-assign@^4.0.1, object-assign@^4.1.0: +object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" +object-keys@^1.0.8: + version "1.0.11" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" + +object-path@^0.9.2: + version "0.9.2" + resolved "https://registry.yarnpkg.com/object-path/-/object-path-0.9.2.tgz#0fd9a74fc5fad1ae3968b586bda5c632bd6c05a5" + +object.getownpropertydescriptors@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.5.1" + object.omit@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" @@ -2572,15 +3024,24 @@ object.omit@^2.0.0: for-own "^0.1.4" is-extendable "^0.1.1" -once@^1.3.0, once@^1.3.3: +object.values@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.0.4.tgz#e524da09b4f66ff05df457546ec72ac99f13069a" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.6.1" + function-bind "^1.1.0" + has "^1.0.1" + +once@^1.3.0, once@^1.3.1, once@^1.3.3, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" dependencies: wrappy "1" -os-browserify@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.2.1.tgz#63fc4ccee5d2d7763d26bbf8601078e6c2e0044f" +os-browserify@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" os-homedir@^1.0.0, os-homedir@^1.0.1: version "1.0.2" @@ -2615,9 +3076,11 @@ p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" -p-limit@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc" +p-limit@^1.0.0, p-limit@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.2.0.tgz#0e92b6bedcb59f022c13d0f1949dc82d15909f1c" + dependencies: + p-try "^1.0.0" p-locate@^2.0.0: version "2.0.0" @@ -2625,9 +3088,21 @@ p-locate@^2.0.0: dependencies: p-limit "^1.1.0" -pako@~0.2.0: - version "0.2.9" - resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" +p-try@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" + +pako@~1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.6.tgz#0101211baa70c4bca4a0f63f2206e97b7dfaf258" + +parallel-transform@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.1.0.tgz#d410f065b05da23081fcd10f28854c29bda33b06" + dependencies: + cyclist "~0.2.2" + inherits "^2.0.3" + readable-stream "^2.1.5" parse-asn1@^5.0.0: version "5.1.0" @@ -2690,6 +3165,12 @@ path-type@^2.0.0: dependencies: pify "^2.0.0" +path-type@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" + dependencies: + pify "^3.0.0" + pbkdf2@^3.0.3: version "3.0.14" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.14.tgz#a35e13c64799b06ce15320f459c230e68e73bade" @@ -2708,7 +3189,7 @@ performance-now@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" -pify@^2.0.0, pify@^2.3.0: +pify@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -2816,12 +3297,12 @@ postcss-load-plugins@^2.3.0: cosmiconfig "^2.1.1" object-assign "^4.1.0" -postcss-loader@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.0.6.tgz#8c7e0055a3df1889abc6bad52dd45b2f41bbc6fc" +postcss-loader@^2.0.10: + version "2.0.10" + resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-2.0.10.tgz#090db0540140bd56a7a7f717c41bc29aeef4c674" dependencies: loader-utils "^1.1.0" - postcss "^6.0.2" + postcss "^6.0.0" postcss-load-config "^1.2.0" schema-utils "^0.3.0" @@ -2886,27 +3367,27 @@ postcss-minify-selectors@^2.0.4: postcss "^5.0.14" postcss-selector-parser "^2.0.0" -postcss-modules-extract-imports@^1.0.0: +postcss-modules-extract-imports@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.0.tgz#66140ecece38ef06bf0d3e355d69bf59d141ea85" dependencies: postcss "^6.0.1" -postcss-modules-local-by-default@^1.0.1: +postcss-modules-local-by-default@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz#f7d80c398c5a393fa7964466bd19500a7d61c069" dependencies: css-selector-tokenizer "^0.7.0" postcss "^6.0.1" -postcss-modules-scope@^1.0.0: +postcss-modules-scope@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz#d6ea64994c79f97b62a72b426fbe6056a194bb90" dependencies: css-selector-tokenizer "^0.7.0" postcss "^6.0.1" -postcss-modules-values@^1.1.0: +postcss-modules-values@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz#ecffa9d7e192518389f42ad0e83f72aec456ea20" dependencies: @@ -3002,13 +3483,13 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0 source-map "^0.5.6" supports-color "^3.2.3" -postcss@^6.0.1, postcss@^6.0.13, postcss@^6.0.2: - version "6.0.13" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.13.tgz#b9ecab4ee00c89db3ec931145bd9590bbf3f125f" +postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.16: + version "6.0.16" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.16.tgz#112e2fe2a6d2109be0957687243170ea5589e146" dependencies: - chalk "^2.1.0" + chalk "^2.3.0" source-map "^0.6.1" - supports-color "^4.4.0" + supports-color "^5.1.0" prepend-http@^1.0.0: version "1.0.4" @@ -3019,20 +3500,24 @@ preserve@^0.2.0: resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" private@^0.1.6, private@^0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1" + version "0.1.8" + resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" process-nextick-args@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" -process@^0.11.0: +process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" -prr@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" +promise-inflight@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" + +prr@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" pseudomap@^1.0.2: version "1.0.2" @@ -3048,6 +3533,28 @@ public-encrypt@^4.0.0: parse-asn1 "^5.0.0" randombytes "^2.0.1" +pump@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954" + dependencies: + end-of-stream "^1.1.0" + once "^1.3.1" + +pump@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" + dependencies: + end-of-stream "^1.1.0" + once "^1.3.1" + +pumpify@^1.3.3: + version "1.4.0" + resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.4.0.tgz#80b7c5df7e24153d03f0e7ac8a05a5d068bd07fb" + dependencies: + duplexify "^3.5.3" + inherits "^2.0.3" + pump "^2.0.0" + punycode@1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" @@ -3057,8 +3564,12 @@ punycode@^1.2.4, punycode@^1.4.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" q@^1.1.2: - version "1.5.0" - resolved "https://registry.yarnpkg.com/q/-/q-1.5.0.tgz#dd01bac9d06d30e6f219aecb8253ee9ebdc308f1" + version "1.5.1" + resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" + +qs@~6.3.0: + version "6.3.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.2.tgz#e75bd5f6e268122a2a0e0bda630b2550c166502c" qs@~6.4.0: version "6.4.0" @@ -3090,15 +3601,22 @@ randomatic@^1.1.3: is-number "^3.0.0" kind-of "^4.0.0" -randombytes@^2.0.0, randombytes@^2.0.1: - version "2.0.5" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.5.tgz#dc009a246b8d09a177b4b7a0ae77bc570f4b1b79" +randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: + version "2.0.6" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.6.tgz#d302c522948588848a8d300c932b44c24231da80" dependencies: safe-buffer "^5.1.0" +randomfill@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.3.tgz#b96b7df587f01dd91726c418f30553b1418e3d62" + dependencies: + randombytes "^2.0.5" + safe-buffer "^5.1.0" + rc@^1.1.7: - version "1.2.1" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" + version "1.2.4" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.4.tgz#a0f606caae2a3b862bbd0ef85482c0125b315fa3" dependencies: deep-extend "~0.4.0" ini "~1.3.0" @@ -3135,7 +3653,7 @@ read-pkg@^2.0.0: normalize-package-data "^2.3.2" path-type "^2.0.0" -readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.2.6: +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" dependencies: @@ -3182,8 +3700,8 @@ regenerate@^1.2.1: resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f" regenerator-runtime@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz#7e54fe5b5ccd5d6624ea6255c3473be090b802e1" + version "0.11.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" regenerator-transform@^0.10.0: version "0.10.1" @@ -3199,6 +3717,10 @@ regex-cache@^0.4.2: dependencies: is-equal-shallow "^0.1.3" +regex-parser@^2.2.1: + version "2.2.8" + resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.2.8.tgz#da4c0cda5a828559094168930f455f532b6ffbac" + regexpu-core@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-1.0.0.tgz#86a763f58ee4d7c2f6b102e4764050de7ed90c6b" @@ -3243,7 +3765,7 @@ repeating@^2.0.0: dependencies: is-finite "^1.0.0" -request@2, request@^2.79.0: +request@2: version "2.83.0" resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356" dependencies: @@ -3297,6 +3819,31 @@ request@2.81.0: tunnel-agent "^0.6.0" uuid "^3.0.0" +request@~2.79.0: + version "2.79.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de" + dependencies: + aws-sign2 "~0.6.0" + aws4 "^1.2.1" + caseless "~0.11.0" + combined-stream "~1.0.5" + extend "~3.0.0" + forever-agent "~0.6.1" + form-data "~2.1.1" + har-validator "~2.0.6" + hawk "~3.1.3" + http-signature "~1.1.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.7" + oauth-sign "~0.8.1" + qs "~6.3.0" + stringstream "~0.0.4" + tough-cookie "~2.3.0" + tunnel-agent "~0.4.1" + uuid "^3.0.0" + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -3309,13 +3856,42 @@ require-main-filename@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" +resolve-url-loader@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-2.2.1.tgz#13a1396fb773edf959550e400e688f5ed32548bf" + dependencies: + adjust-sourcemap-loader "^1.1.0" + camelcase "^4.0.0" + convert-source-map "^1.1.1" + loader-utils "^1.0.0" + lodash.defaults "^4.0.0" + rework "^1.0.1" + rework-visit "^1.0.0" + source-map "^0.5.6" + urix "^0.1.0" + +resolve-url@~0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" + +rework-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/rework-visit/-/rework-visit-1.0.0.tgz#9945b2803f219e2f7aca00adb8bc9f640f842c9a" + +rework@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/rework/-/rework-1.0.1.tgz#30806a841342b54510aa4110850cd48534144aa7" + dependencies: + convert-source-map "^0.3.3" + css "^2.0.0" + right-align@^0.1.1: version "0.1.3" resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" dependencies: align-text "^0.1.1" -rimraf@2, rimraf@^2.5.1, rimraf@^2.6.1: +rimraf@2, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1: version "2.6.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" dependencies: @@ -3328,11 +3904,17 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^2.0.0" inherits "^2.0.1" +run-queue@^1.0.0, run-queue@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" + dependencies: + aproba "^1.1.1" + safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" -sass-graph@^2.1.1: +sass-graph@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/sass-graph/-/sass-graph-2.2.4.tgz#13fbd63cd1caf0908b9fd93476ad43a51d1e0b49" dependencies: @@ -3351,7 +3933,7 @@ sass-loader@^6.0.6: lodash.tail "^4.1.1" pify "^3.0.0" -sax@~1.2.1: +sax@~1.2.1, sax@~1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" @@ -3361,6 +3943,13 @@ schema-utils@^0.3.0: dependencies: ajv "^5.0.0" +schema-utils@^0.4.2: + version "0.4.3" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.3.tgz#e2a594d3395834d5e15da22b48be13517859458e" + dependencies: + ajv "^5.0.0" + ajv-keywords "^2.1.0" + scss-tokenizer@^0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz#8eb06db9a9723333824d3f5530641149847ce5d1" @@ -3369,13 +3958,17 @@ scss-tokenizer@^0.2.3: source-map "^0.4.2" "semver@2 || 3 || 4 || 5", semver@^5.3.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" + version "5.5.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" semver@~5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" +serialize-javascript@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.4.0.tgz#7c958514db6ac2443a8abc062dc9f7886a7f6005" + set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -3389,8 +3982,8 @@ setimmediate@^1.0.4: resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" sha.js@^2.4.0, sha.js@^2.4.8: - version "2.4.9" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.9.tgz#98f64880474b74f4a38b8da9d3c0f2d104633e7d" + version "2.4.10" + resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.10.tgz#b1fde5cd7d11a5626638a07c604ab909cfa31f9b" dependencies: inherits "^2.0.1" safe-buffer "^5.0.1" @@ -3429,8 +4022,8 @@ sntp@1.x.x: hoek "2.x.x" sntp@2.x.x: - version "2.0.2" - resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.0.2.tgz#5064110f0af85f7cfdb7d6b67a40028ce52b4b2b" + version "2.1.0" + resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8" dependencies: hoek "4.x.x" @@ -3444,23 +4037,42 @@ source-list-map@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085" +source-map-resolve@^0.3.0: + version "0.3.1" + resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.3.1.tgz#610f6122a445b8dd51535a2a71b783dfc1248761" + dependencies: + atob "~1.1.0" + resolve-url "~0.2.1" + source-map-url "~0.3.0" + urix "~0.1.0" + source-map-support@^0.4.15: version "0.4.18" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" dependencies: source-map "^0.5.6" +source-map-url@~0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.3.0.tgz#7ecaf13b57bcd09da8a40c5d269db33799d4aaf9" + +source-map@^0.1.38: + version "0.1.43" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346" + dependencies: + amdefine ">=0.0.4" + source-map@^0.4.2: version "0.4.4" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" dependencies: amdefine ">=0.0.4" -source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.3: +source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" -source-map@^0.6.1: +source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" @@ -3496,6 +4108,16 @@ sshpk@^1.7.0: jsbn "~0.1.0" tweetnacl "~0.14.0" +ssri@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.1.0.tgz#2cbf1df36b74d0fc91fcf89640a4b3e1d10b1899" + dependencies: + safe-buffer "^5.1.0" + +stable@~0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.6.tgz#910f5d2aed7b520c6e777499c1f32e139fdecb10" + stdout-stream@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/stdout-stream/-/stdout-stream-1.4.0.tgz#a2c7c8587e54d9427ea9edb3ac3f2cd522df378b" @@ -3509,16 +4131,27 @@ stream-browserify@^2.0.1: inherits "~2.0.1" readable-stream "^2.0.2" -stream-http@^2.3.1: - version "2.7.2" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.7.2.tgz#40a050ec8dc3b53b33d9909415c02c0bf1abfbad" +stream-each@^1.1.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.2.tgz#8e8c463f91da8991778765873fe4d960d8f616bd" + dependencies: + end-of-stream "^1.1.0" + stream-shift "^1.0.0" + +stream-http@^2.7.2: + version "2.8.0" + resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.0.tgz#fd86546dac9b1c91aff8fc5d287b98fafb41bc10" dependencies: builtin-status-codes "^3.0.0" inherits "^2.0.1" - readable-stream "^2.2.6" + readable-stream "^2.3.3" to-arraybuffer "^1.0.0" xtend "^4.0.0" +stream-shift@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" + strict-uri-encode@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" @@ -3538,11 +4171,7 @@ string-width@^2.0.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string_decoder@^0.10.25: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - -string_decoder@~1.0.3: +string_decoder@^1.0.0, string_decoder@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" dependencies: @@ -3588,9 +4217,9 @@ strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" -style-loader@^0.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.19.0.tgz#7258e788f0fee6a42d710eaf7d6c2412a4c50759" +style-loader@^0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.19.1.tgz#591ffc80bcefe268b77c5d9ebc0505d772619f85" dependencies: loader-utils "^1.0.2" schema-utils "^0.3.0" @@ -3605,12 +4234,24 @@ supports-color@^3.2.3: dependencies: has-flag "^1.0.0" -supports-color@^4.0.0, supports-color@^4.2.1, supports-color@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e" +supports-color@^4.0.0, supports-color@^4.2.1: + version "4.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" dependencies: has-flag "^2.0.0" +supports-color@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.1.0.tgz#058a021d1b619f7ddf3980d712ea3590ce7de3d5" + dependencies: + has-flag "^2.0.0" + +svgo-loader@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/svgo-loader/-/svgo-loader-2.1.0.tgz#e86c0ca08c1149bb1fb4b3a469dabac847f5e24a" + dependencies: + loader-utils "^1.0.3" + svgo@^0.7.0: version "0.7.2" resolved "https://registry.yarnpkg.com/svgo/-/svgo-0.7.2.tgz#9f5772413952135c6fefbf40afe6a4faa88b4bb5" @@ -3623,13 +4264,32 @@ svgo@^0.7.0: sax "~1.2.1" whet.extend "~0.9.9" +svgo@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.0.3.tgz#c93be52d98ffa2a7273c7a0ac5bf34f470973dad" + dependencies: + coa "~2.0.0" + colors "~1.1.2" + css-select "~1.3.0-rc0" + css-select-base-adapter "~0.1.0" + css-tree "1.0.0-alpha25" + css-url-regex "^1.1.0" + csso "^3.3.1" + js-yaml "~3.10.0" + mkdirp "~0.5.1" + object.values "^1.0.4" + sax "~1.2.4" + stable "~0.1.6" + unquote "^1.1.0" + util.promisify "~1.0.0" + tapable@^0.2.7: version "0.2.8" resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.8.tgz#99372a5c999bf2df160afc0d74bed4f47948cd22" tar-pack@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.0.tgz#23be2d7f671a8339376cbdb0b8fe3fdebf317984" + version "3.4.1" + resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.1.tgz#e1dbc03a9b9d3ba07e896ad027317eb679a10a1f" dependencies: debug "^2.2.0" fstream "^1.0.10" @@ -3648,7 +4308,14 @@ tar@^2.0.0, tar@^2.2.1: fstream "^1.0.2" inherits "2" -timers-browserify@^2.0.2: +through2@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" + dependencies: + readable-stream "^2.1.5" + xtend "~4.0.1" + +timers-browserify@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.4.tgz#96ca53f4b794a5e7c0e1bd7cc88a372298fa01e6" dependencies: @@ -3676,6 +4343,12 @@ trim-right@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" +"true-case-path@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/true-case-path/-/true-case-path-1.0.2.tgz#7ec91130924766c7f573be3020c34f8fdfd00d62" + dependencies: + glob "^6.0.4" + tty-browserify@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" @@ -3686,10 +4359,25 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" +tunnel-agent@~0.4.1: + version "0.4.3" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" + tweetnacl@^0.14.3, tweetnacl@~0.14.0: version "0.14.5" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" +typedarray@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" + +uglify-es@^3.3.4: + version "3.3.8" + resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.3.8.tgz#f2c68e6cff0d0f9dc9577e4da207151c2e753b7e" + dependencies: + commander "~2.13.0" + source-map "~0.6.1" + uglify-js@^2.8.29: version "2.8.29" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" @@ -3711,6 +4399,19 @@ uglifyjs-webpack-plugin@^0.4.6: uglify-js "^2.8.29" webpack-sources "^1.0.1" +uglifyjs-webpack-plugin@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.6.tgz#f4ba8449edcf17835c18ba6ae99b9d610857fb19" + dependencies: + cacache "^10.0.1" + find-cache-dir "^1.0.0" + schema-utils "^0.4.2" + serialize-javascript "^1.4.0" + source-map "^0.6.1" + uglify-es "^3.3.4" + webpack-sources "^1.1.0" + worker-farm "^1.5.2" + uid-number@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" @@ -3729,9 +4430,25 @@ uniqs@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02" -universalify@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" +unique-filename@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.0.tgz#d05f2fe4032560871f30e93cbe735eea201514f3" + dependencies: + unique-slug "^2.0.0" + +unique-slug@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.0.tgz#db6676e7c7cc0629878ff196097c78855ae9f4ab" + dependencies: + imurmurhash "^0.1.4" + +unquote@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544" + +urix@^0.1.0, urix@~0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" url-loader@^0.6.2: version "0.6.2" @@ -3752,6 +4469,13 @@ util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" +util.promisify@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" + dependencies: + define-properties "^1.1.2" + object.getownpropertydescriptors "^2.0.3" + util@0.10.3, util@^0.10.3: version "0.10.3" resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" @@ -3759,8 +4483,8 @@ util@0.10.3, util@^0.10.3: inherits "2.0.1" uuid@^3.0.0, uuid@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" + version "3.2.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" validate-npm-package-license@^3.0.1: version "3.0.1" @@ -3795,16 +4519,16 @@ watchpack@^1.4.0: chokidar "^1.7.0" graceful-fs "^4.1.2" -webpack-sources@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.1.tgz#c7356436a4d13123be2e2426a05d1dad9cbe65cf" +webpack-sources@^1.0.1, webpack-sources@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.1.0.tgz#a101ebae59d6507354d71d8013950a3a8b7a5a54" dependencies: source-list-map "^2.0.0" - source-map "~0.5.3" + source-map "~0.6.1" -webpack@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.6.0.tgz#a89a929fbee205d35a4fa2cc487be9cbec8898bc" +webpack@^3.10.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.10.0.tgz#5291b875078cf2abf42bdd23afe3f8f96c17d725" dependencies: acorn "^5.0.0" acorn-dynamic-import "^2.0.0" @@ -3861,6 +4585,13 @@ wordwrap@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" +worker-farm@^1.5.2: + version "1.5.2" + resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.5.2.tgz#32b312e5dc3d5d45d79ef44acc2587491cd729ae" + dependencies: + errno "^0.1.4" + xtend "^4.0.1" + wrap-ansi@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" @@ -3872,7 +4603,7 @@ wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" -xtend@^4.0.0: +xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" From 2a2e005a776d7b92cf88e1b08a5832ee2548c55f Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Tue, 23 Jan 2018 21:46:00 +1100 Subject: [PATCH 4/6] Added theme border styles to config and extension --- _config/styles.yml | 11 +++++++++++ _config/theme.yml | 10 ++++++++++ src/Extensions/Style/ThemeStyle.php | 13 +++++++++++++ 3 files changed, 34 insertions(+) diff --git a/_config/styles.yml b/_config/styles.yml index d8605c1..0b51818 100644 --- a/_config/styles.yml +++ b/_config/styles.yml @@ -32,6 +32,17 @@ SilverWare\Grid\Frameworks\Bootstrap\Framework: white: bg-white light: bg-light dark: bg-dark + border: + border: border + primary: border-primary + secondary: border-secondary + success: border-success + info: border-info + warning: border-warning + danger: border-danger + white: border-white + light: border-light + dark: border-dark button: button: btn primary: btn-primary diff --git a/_config/theme.yml b/_config/theme.yml index fb501ef..08e83c7 100644 --- a/_config/theme.yml +++ b/_config/theme.yml @@ -26,3 +26,13 @@ SilverWare\Extensions\Style\ThemeStyle: text.white: White text.light: Light text.dark: Dark + ColorBorder: + border.primary: Primary + border.secondary: Secondary + border.success: Success + border.info: Info + border.warning: Warning + border.danger: Danger + border.white: White + border.light: Light + border.dark: Dark diff --git a/src/Extensions/Style/ThemeStyle.php b/src/Extensions/Style/ThemeStyle.php index c5f3975..8afeeb1 100644 --- a/src/Extensions/Style/ThemeStyle.php +++ b/src/Extensions/Style/ThemeStyle.php @@ -45,6 +45,7 @@ class ThemeStyle extends StyleExtension * @config */ private static $db = [ + 'ColorBorderTheme' => 'Varchar(64)', 'ColorBackgroundTheme' => 'Varchar(64)', 'ColorForegroundTheme' => 'Varchar(64)' ]; @@ -84,6 +85,11 @@ public function updateCMSFields(FieldList $fields) 'ColorForegroundTheme', $this->owner->fieldLabel('ColorForegroundTheme'), $this->getDropdownOptions('ColorForeground') + )->setEmptyString(' ')->setAttribute('data-placeholder', $placeholder), + DropdownField::create( + 'ColorBorderTheme', + $this->owner->fieldLabel('ColorBorderTheme'), + $this->getDropdownOptions('ColorBorder') )->setEmptyString(' ')->setAttribute('data-placeholder', $placeholder) ] ) @@ -100,6 +106,7 @@ public function updateCMSFields(FieldList $fields) */ public function updateFieldLabels(&$labels) { + $labels['ColorBorderTheme'] = _t(__CLASS__ . '.BORDERCOLOR', 'Border color'); $labels['ColorBackgroundTheme'] = _t(__CLASS__ . '.BACKGROUNDCOLOR', 'Background color'); $labels['ColorForegroundTheme'] = _t(__CLASS__ . '.FOREGROUNDCOLOR', 'Foreground color'); } @@ -128,6 +135,12 @@ public function updateClassNames(&$classes) if ($class = $this->owner->ColorForegroundTheme) { $classes[] = $this->style($class); } + + // Apply Border Color: + + if ($class = $this->owner->ColorBorderTheme) { + $classes[] = $this->style($class); + } } /** From 046b8464579461d7ae490d6587be769fa51193f2 Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Tue, 23 Jan 2018 21:47:02 +1100 Subject: [PATCH 5/6] Added theme and corner styles to content components --- src/Components/ContentComponent.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Components/ContentComponent.php b/src/Components/ContentComponent.php index 15946d3..9b3d3eb 100644 --- a/src/Components/ContentComponent.php +++ b/src/Components/ContentComponent.php @@ -20,6 +20,8 @@ use SilverStripe\Forms\HTMLEditor\HTMLEditorField; use SilverWare\Extensions\Model\LinkToExtension; use SilverWare\Extensions\Style\AlignmentStyle; +use SilverWare\Extensions\Style\CornerStyle; +use SilverWare\Extensions\Style\ThemeStyle; use SilverWare\FontIcons\Extensions\FontIconExtension; /** @@ -97,8 +99,10 @@ class ContentComponent extends BaseComponent */ private static $extensions = [ AlignmentStyle::class, + CornerStyle::class, FontIconExtension::class, - LinkToExtension::class + LinkToExtension::class, + ThemeStyle::class ]; /** From 45ac1d00155c896c70ddf79bfdce2ffca152736f Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Tue, 23 Jan 2018 21:47:24 +1100 Subject: [PATCH 6/6] Added ToggleComponent --- README.md | 7 + .../dist/images/icons/ToggleComponent.png | Bin 0 -> 708 bytes admin/client/dist/js/bundle.js | 2 +- .../src/images/icons/ToggleComponent.png | Bin 0 -> 708 bytes client/dist/js/bundle.js | 2 +- client/dist/styles/bundle.css | 2 +- client/src/bundles/bundle.js | 1 + client/src/components/ToggleComponent.js | 35 +++++ client/src/styles/bundle.scss | 1 + .../styles/components/ToggleComponent.scss | 59 ++++++++ src/Components/ToggleComponent.php | 126 ++++++++++++++++++ 11 files changed, 232 insertions(+), 3 deletions(-) create mode 100644 admin/client/dist/images/icons/ToggleComponent.png create mode 100644 admin/client/src/images/icons/ToggleComponent.png create mode 100644 client/src/components/ToggleComponent.js create mode 100644 client/src/styles/components/ToggleComponent.scss create mode 100644 src/Components/ToggleComponent.php diff --git a/README.md b/README.md index 1d100c8..0c87351 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,7 @@ SilverWare ships with the following components ready for use: - [`TagCloudComponent`](#tagcloudcomponent) - [`TileComponent`](#tilecomponent) - [`TitleComponent`](#titlecomponent) +- [`ToggleComponent`](#togglecomponent) ### AreaComponent @@ -269,6 +270,12 @@ If you need to hide the page title in the template (so that two titles are not s select the "Hide title of page" option in your `PageComponent`. This adds the class `page-title-hidden` which can be used in your site styles. +### ToggleComponent + +Allows you to embed a block of rich-text content, edited using `HTMLEditorField`, with +the visibility of the content toggleable via clicking on the header of the component. +Can be started open or closed. + ## Issues Please use the [GitHub issue tracker][issues] for bug reports and feature requests. diff --git a/admin/client/dist/images/icons/ToggleComponent.png b/admin/client/dist/images/icons/ToggleComponent.png new file mode 100644 index 0000000000000000000000000000000000000000..c5e87b1c45e27c8494eab6ca256e3060137fd927 GIT binary patch literal 708 zcmV;#0z3VQP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGxhX4Q_hXIe}@nrx202y>eSaefwW^{L9 za%BK;VQFr3E^cLXAT%y8E;2BNCs_jk00J~gL_t(IPlb~2Yf@1d$M?S8_XlkDLIwp9 zje-S>MZy}CtM+0+l2+0r9FnmbgR$y;{R`_=kQK~D!O)FuE(b0vbt+1^d)@pwe_frw zzCGuVr|1e@_;8-*p67h-a~|yhz_~U%dzrZNANuq&Gd)+Pr^PuD(8k?Lvx)rSAySG0 zsa(d-QVBnbMb5jG6|fpY(^Wt(@0IFxWawbBP(VDB!Oq?uzRNPcNfKT;om2*}IzrPq zCj_H*ySYq)T&2=g@^WE8pwa1`s01T6+kK_c!28uz-mcs4$CAgR>V#c~)v5%Stk%gY z%^;9W^1`pXyYMFxs!o`I)v5%;7K^1ug2nZ9tOWw1leca+94;4@eLlX&2Fq$yf+4f{ zLA}*NXn!9;`WoxRu_j~cMGD4enQp{xKTYd}V9;c;Hc0Sca}&;u4gNLbd<4E71?_fQ z1$%$}Q8Xq5XAOp_CT&FMzTtG5cQR!3ph?%N)oL7;=W;p7G>bIVuv`evOib8XB>3p{ z;&UXzJ2`oE5!GrHMH-weCwacT{e=?>g?TOnr^d%0wke2avmDk*-^JG`(|>}k{}K+z z`6>h_#>VWl;?vd^@4_36qIcMVZ1w>8e3`@YP8^TRJQsrFI^AO?U=JHolLo3CSw<>V zf+Q6'+n+"")}})}},findTab:function(e){return this.find(this.getTabId(e))},getTabId:function(e){return"a#tab-"+e.replace(".","_")}}),e(".cms-tree li").entwine({updateBadge:function(t){if(this.find("span.status-number-badge").length){var n="#"+this.attr("id"),i=n+".status-number-badge > a span.jstree-pageicon::before",s='content: "'+(t>0?t:"")+'";';e("head").append('")}}}),e("span.status-number-badge-value").entwine({onmatch:function(){if(this._super(),!this.data("updated")){var e=parseInt(this.attr("title"));this.closest("li").updateBadge(e),this.data("updated",!0)}}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);n.n(i).a.entwine("silverware.listviewextension",function(e){e(".tabset.silverware-extensions-lists-listviewextension").entwine({onmatch:function(){var t=e(this);this.handlePagination(),this.getPaginateItemsField().entwine({onchange:function(e){t.handlePagination(),this._super(e)}}),this._super()},handlePagination:function(){1==this.getPaginateItemsField().val()?this.getPaginationHolder().show():this.getPaginationHolder().hide()},getPaginateItemsField:function(){return e(this).find("#Form_EditForm_List_PaginateItems")},getPaginationHolder:function(){return e(this).find("#Form_EditForm_List_ItemsPerPage_Holder")}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);n.n(i).a.entwine("silverware.togglegroup",function(e){e(".field.togglegroup").entwine({onmatch:function(){var t=e(this);t.doToggle(),t.getToggleInput().entwine({onclick:function(e){t.doToggle(),this._super(e)}}),this._super()},doToggle:function(){var t=e(this.getToggleInput()),n=this.getToggleMode();this.getFields().toggle(n?t.is(":checked"):!t.is(":checked"))},getToggle:function(){return e(this).find(".group-toggle")},getFields:function(){return e(this).find(".group-fields")},getToggleInput:function(){return this.getToggle().find("input")},getToggleMode:function(){return this.getToggle().data("show-when-checked")}})})}]); \ No newline at end of file +!function(e){function t(i){if(n[i])return n[i].exports;var s=n[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/resources/silverware/silverware/admin/client/dist/",t(t.s=1)}([function(e,t){e.exports=jQuery},function(e,t,n){n(2),n(3),n(4),n(5)},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);n.n(i).a.entwine("silverware.numberbadges",function(e){e("div.ss-tabset").entwine({onmatch:function(){this._super();var t=this;if(this.attr("data-number-badges")){var n=e.parseJSON(this.attr("data-number-badges"));e.each(n,function(e,n){if(n){var i=t.findTab(e);i.length&&i.append(''+n+"")}})}},findTab:function(e){return this.find(this.getTabId(e))},getTabId:function(e){return"a#tab-"+e.replace(".","_")}}),e(".cms-tree li").entwine({updateBadge:function(t){if(this.find("span.status-number-badge").length){var n="#"+this.attr("id")+".status-number-badge > a span.jstree-pageicon::before",i='content: "'+(t>0?t:"")+'";';e("head").append('")}}}),e("span.status-number-badge-value").entwine({onmatch:function(){if(this._super(),!this.data("updated")){var e=parseInt(this.attr("title"));this.closest("li").updateBadge(e),this.data("updated",!0)}}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);n.n(i).a.entwine("silverware.listviewextension",function(e){e(".tabset.silverware-extensions-lists-listviewextension").entwine({onmatch:function(){var t=e(this);this.handlePagination(),this.getPaginateItemsField().entwine({onchange:function(e){t.handlePagination(),this._super(e)}}),this._super()},handlePagination:function(){1==this.getPaginateItemsField().val()?this.getPaginationHolder().show():this.getPaginationHolder().hide()},getPaginateItemsField:function(){return e(this).find("#Form_EditForm_List_PaginateItems")},getPaginationHolder:function(){return e(this).find("#Form_EditForm_List_ItemsPerPage_Holder")}})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);n.n(i).a.entwine("silverware.togglegroup",function(e){e(".field.togglegroup").entwine({onmatch:function(){var t=e(this);t.doToggle(),t.getToggleInput().entwine({onclick:function(e){t.doToggle(),this._super(e)}}),this._super()},doToggle:function(){var t=e(this.getToggleInput()),n=this.getToggleMode();this.getFields().toggle(n?t.is(":checked"):!t.is(":checked"))},getToggle:function(){return e(this).find(".group-toggle")},getFields:function(){return e(this).find(".group-fields")},getToggleInput:function(){return this.getToggle().find("input")},getToggleMode:function(){return this.getToggle().data("show-when-checked")}})})}]); \ No newline at end of file diff --git a/admin/client/src/images/icons/ToggleComponent.png b/admin/client/src/images/icons/ToggleComponent.png new file mode 100644 index 0000000000000000000000000000000000000000..c5e87b1c45e27c8494eab6ca256e3060137fd927 GIT binary patch literal 708 zcmV;#0z3VQP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGxhX4Q_hXIe}@nrx202y>eSaefwW^{L9 za%BK;VQFr3E^cLXAT%y8E;2BNCs_jk00J~gL_t(IPlb~2Yf@1d$M?S8_XlkDLIwp9 zje-S>MZy}CtM+0+l2+0r9FnmbgR$y;{R`_=kQK~D!O)FuE(b0vbt+1^d)@pwe_frw zzCGuVr|1e@_;8-*p67h-a~|yhz_~U%dzrZNANuq&Gd)+Pr^PuD(8k?Lvx)rSAySG0 zsa(d-QVBnbMb5jG6|fpY(^Wt(@0IFxWawbBP(VDB!Oq?uzRNPcNfKT;om2*}IzrPq zCj_H*ySYq)T&2=g@^WE8pwa1`s01T6+kK_c!28uz-mcs4$CAgR>V#c~)v5%Stk%gY z%^;9W^1`pXyYMFxs!o`I)v5%;7K^1ug2nZ9tOWw1leca+94;4@eLlX&2Fq$yf+4f{ zLA}*NXn!9;`WoxRu_j~cMGD4enQp{xKTYd}V9;c;Hc0Sca}&;u4gNLbd<4E71?_fQ z1$%$}Q8Xq5XAOp_CT&FMzTtG5cQR!3ph?%N)oL7;=W;p7G>bIVuv`evOib8XB>3p{ z;&UXzJ2`oE5!GrHMH-weCwacT{e=?>g?TOnr^d%0wke2avmDk*-^JG`(|>}k{}K+z z`6>h_#>VWl;?vd^@4_36qIcMVZ1w>8e3`@YP8^TRJQsrFI^AO?U=JHolLo3CSw<>V zf+Q60)}function C(t,i,e,s){var n,a=t.createLinearGradient(0,0,i,0);for(n in s)a.addColorStop(1-n,s[n]);t.fillStyle=a,t.fillRect(0,e,i,1)}function z(t,i,e){var s,a,h,o,r=1024,l=1,u=t.weightGradient;if(t.gCanvas)a=t.gCanvas.getContext("2d"),l=t.gCanvas.height;else{if(n(u[0])?l=u.length:u=[u],t.gCanvas=s=S(r,l),!s)return null;for(a=s.getContext("2d"),h=0;h0?o=r*o/100:o*=n,h=a.getContext("2d"),h.globalCompositeOperation="source-over",h.fillStyle="#fff",o>=r/2?(o=St(e,s)/2,h.beginPath(),h.moveTo(e/2,s/2),h.arc(e/2,s/2,o,0,2*Math.PI,!1),h.fill(),h.closePath()):(o=St(e/2,s/2,o),I(h,0,0,e,s,o,!0),h.fill()),h.globalCompositeOperation="source-in",h.drawImage(t,0,0,e,s),a):null}function P(t,i,e,s,n,a,h){var o,r,l=xt(h[0]),u=xt(h[1]),c=i+(l>a?l+a:2*a)*s,g=e+(u>a?u+a:2*a)*s,f=s*((a||0)+(h[0]<0?l:0)),d=s*((a||0)+(h[1]<0?u:0));return(o=S(c,g))?(r=o.getContext("2d"),n&&(r.shadowColor=n),a&&(r.shadowBlur=a*s),h&&(r.shadowOffsetX=h[0]*s,r.shadowOffsetY=h[1]*s),r.drawImage(t,f,d,i,e),{image:o,width:c/s,height:g/s}):null}function E(t,i,e){var s,n,a,h,o,r,l,u,c=parseInt(t.toString().length*e),g=parseInt(2*e*t.length),f=S(c,g);if(!f)return null;for(s=f.getContext("2d"),s.fillStyle="#000",s.fillRect(0,0,c,g),D(s,e+"px "+i,"#fff",t,0,0,0,0,[],"centre"),n=s.getImageData(0,0,c,g),a=n.width,h=n.height,u={min:{x:a,y:h},max:{x:-1,y:-1}},r=0;r0&&(ou.max.x&&(u.max.x=o),ru.max.y&&(u.max.y=r));return a!=c&&(u.min.x*=c/a,u.max.x*=c/a),h!=g&&(u.min.y*=c/h,u.max.y*=c/h),f=null,u}function B(t){return"'"+t.replace(/(\'|\")/g,"").replace(/\s*,\s*/g,"', '")+"'"}function R(t,i,e){e=e||At,e.addEventListener?e.addEventListener(t,i,!1):e.attachEvent("on"+t,i)}function _(t,i,e){e=e||At,e.removeEventListener?e.removeEventListener(t,i):e.detachEvent("on"+t,i)}function N(t,i,e,s){var n,a,h,o,r,l,u=s.imageScale;return i.complete?t.complete?(i.width=i.width,i.height=i.height,u&&(t.width=i.width*u,t.height=i.height*u),e.iw=t.width,e.ih=t.height,s.txtOpt&&(a=t,n=s.zoomMax*s.txtScale,r=e.iw*n,l=e.ih*n,r0?(e.iw+=2*s.outlineIncrease,e.ih+=2*s.outlineIncrease,r=n*e.iw,l=n*e.ih,a=F(e.fimage,r,l),e.oimage=a,e.fimage=A(e.fimage,e.oimage.width,e.oimage.height)):(r=n*(e.iw+2*s.outlineIncrease),l=n*(e.ih+2*s.outlineIncrease),a=F(e.fimage,r,l),e.oimage=A(a,e.fimage.width,e.fimage.height))))),void e.Init()):R("load",function(){N(t,i,e,s)},t):R("load",function(){N(t,i,e,s)},i)}function L(t,i){var e=At.defaultView,s=i.replace(/\-([a-z])/g,function(t){return t.charAt(1).toUpperCase()});return e&&e.getComputedStyle&&e.getComputedStyle(t,null).getPropertyValue(i)||t.currentStyle&&t.currentStyle[s]}function H(t,i,e){var s,n=1;return i?n=1*(t.getAttribute(i)||e):(s=L(t,"font-size"))&&(n=s.indexOf("px")>-1&&1*s.replace("px","")||s.indexOf("pt")>-1&&1.25*s.replace("pt","")||3.3*s),n}function W(t){return t.target&&s(t.target.id)?t.target.id:t.srcElement.parentNode.id}function X(t,i){var e,n,a=parseInt(L(i,"width"))/i.width,h=parseInt(L(i,"height"))/i.height;return s(t.offsetX)?e={x:t.offsetX,y:t.offsetY}:(n=tt(i.id),s(t.changedTouches)&&(t=t.changedTouches[0]),t.pageX&&(e={x:t.pageX-n.x,y:t.pageY-n.y})),e&&a&&h&&(e.x/=a,e.y/=h),e}function j(t){var i=t.target||t.fromElement.parentNode,e=at.tc[i.id];e&&(e.mx=e.my=-1,e.UnFreeze(),e.EndDrag())}function Y(t){var i,e,s,n=at,a=W(t);for(i in n.tc)e=n.tc[i],e.tttimer&&(clearTimeout(e.tttimer),e.tttimer=null);a&&n.tc[a]&&(e=n.tc[a],(s=X(t,e.canvas))&&(e.mx=s.x,e.my=s.y,e.Drag(t,s)),e.drawn=0)}function U(t){var i=at,e=At.addEventListener?0:1,s=W(t);s&&t.button==e&&i.tc[s]&&i.tc[s].BeginDrag(t)}function V(t){var i,e=at,s=At.addEventListener?0:1,n=W(t);n&&t.button==s&&e.tc[n]&&(i=e.tc[n],Y(t),i.EndDrag()||i.touchState||i.Clicked(t))}function q(t){var i,e=W(t),s=e&&at.tc[e];s&&t.changedTouches&&(1==t.touches.length&&0==s.touchState?(s.touchState=1,s.BeginDrag(t),(i=X(t,s.canvas))&&(s.mx=i.x,s.my=i.y,s.drawn=0)):2==t.targetTouches.length&&s.pinchZoom?(s.touchState=3,s.EndDrag(),s.BeginPinch(t)):(s.EndDrag(),s.EndPinch(),s.touchState=0))}function G(t){var i=W(t),e=i&&at.tc[i];if(e&&t.changedTouches){switch(e.touchState){case 1:e.Draw(),e.Clicked();break;case 2:e.EndDrag();break;case 3:e.EndPinch()}e.touchState=0}}function Z(t){var i,e,s,n=at,a=W(t);for(i in n.tc)e=n.tc[i],e.tttimer&&(clearTimeout(e.tttimer),e.tttimer=null);if((e=a&&n.tc[a])&&t.changedTouches&&e.touchState){switch(e.touchState){case 1:case 2:(s=X(t,e.canvas))&&(e.mx=s.x,e.my=s.y,e.Drag(t,s)&&(e.touchState=2));break;case 3:e.Pinch(t)}e.drawn=0}}function Q(t){var i=at,e=W(t);e&&i.tc[e]&&(t.cancelBubble=!0,t.returnValue=!1,t.preventDefault&&t.preventDefault(),i.tc[e].Wheel((t.wheelDelta||t.detail)>0))}function J(t){var i,e=at;clearTimeout(e.scrollTimer);for(i in e.tc)e.tc[i].Pause();e.scrollTimer=setTimeout(function(){var t,i=at;for(t in i.tc)i.tc[t].Resume()},e.scrollPause)}function K(){$(o())}function $(t){var i,e=at.tc;at.NextFrame(at.interval),t=t||o();for(i in e)e[i].Draw(t)}function tt(t){var i=At.getElementById(t),e=i.getBoundingClientRect(),s=At.documentElement,n=At.body,a=window,h=a.pageXOffset||s.scrollLeft,o=a.pageYOffset||s.scrollTop,r=s.clientLeft||n.clientLeft,l=s.clientTop||n.clientTop;return{x:e.left+h-r,y:e.top+o-l}}function it(t,i,e,s){var n=t.radius*t.z1/(t.z1+t.z2+i.z);return{x:i.x*n*e,y:i.y*n*s,z:i.z,w:(t.z1-i.z)/t.z2}}function et(t){this.e=t,this.br=0,this.line=[],this.text=[],this.original=t.innerText||t.textContent}function st(t,i){this.ts=null,this.tc=t,this.tag=i,this.x=this.y=this.w=this.h=this.sc=1,this.z=0,this.pulse=1,this.pulsate=t.pulsateTo<1,this.colour=t.outlineColour,this.adash=~~t.outlineDash,this.agap=~~t.outlineDashSpace||this.adash,this.aspeed=1*t.outlineDashSpeed,"tag"==this.colour?this.colour=L(i.a,"color"):"tagbg"==this.colour&&(this.colour=L(i.a,"background-color")),this.Draw=this.pulsate?this.DrawPulsate:this.DrawSimple,this.radius=0|t.outlineRadius,this.SetMethod(t.outlineMethod)}function nt(t,i,e,s,n,a,h,o,r,l,c,g,f,d){this.tc=t,this.image=null,this.text=i,this.text_original=d,this.line_widths=[],this.title=e.title||null,this.a=e,this.position=new u(s[0],s[1],s[2]),this.x=this.y=this.z=0,this.w=n,this.h=a,this.colour=h||t.textColour,this.bgColour=o||t.bgColour,this.bgRadius=0|r,this.bgOutline=l||this.colour,this.bgOutlineThickness=0|c,this.textFont=g||t.textFont,this.padding=0|f,this.sc=this.alpha=1,this.weighted=!t.weight,this.outline=new st(t,this)}function at(t,i,e){var n,r,l,u=At.getElementById(t),c=["id","class","innerHTML"];if(!u)throw 0;if(s(window.G_vmlCanvasManager)&&(u=window.G_vmlCanvasManager.initElement(u),this.ie=parseFloat(navigator.appVersion.split("MSIE")[1])),u&&(!u.getContext||!u.getContext("2d").fillText)){for(r=At.createElement("DIV"),n=0;n0?at.scrollPause=~~this.scrollPause:this.scrollPause=0,this.minTags>0&&this.repeatTags<1&&(n=this.GetTags().length)&&(this.repeatTags=bt(this.minTags/n)-1),this.transform=g.Identity(),this.startTime=this.time=o(),this.mx=this.my=-1,this.centreImage&&y(this),this.Animate=this.dragControl?this.AnimateDrag:this.AnimatePosition,this.animTiming="function"==typeof at[this.animTiming]?at[this.animTiming]:at.Smooth,this.shadowBlur||this.shadowOffset[0]||this.shadowOffset[1]?(this.ctxt.shadowColor=this.shadow,this.shadow=this.ctxt.shadowColor,this.shadowAlpha=b()):delete this.shadow,this.Load(),i&&this.hideTags&&function(t){at.loaded?t.HideTags():R("load",function(){t.HideTags()},window)}(this),this.yaw=this.initial?this.initial[0]*this.maxSpeed:0,this.pitch=this.initial?this.initial[1]*this.maxSpeed:0,this.tooltip?(this.ctitle=u.title,u.title="","native"==this.tooltip?this.Tooltip=this.TooltipNative:(this.Tooltip=this.TooltipDiv,this.ttdiv||(this.ttdiv=At.createElement("div"),this.ttdiv.className=this.tooltipClass,this.ttdiv.style.position="absolute",this.ttdiv.style.zIndex=u.style.zIndex+1,R("mouseover",function(t){t.target.style.display="none"},this.ttdiv),At.body.appendChild(this.ttdiv)))):this.Tooltip=this.TooltipNone,!this.noMouse&&!Ft[t])for(Ft[t]=[["mousemove",Y],["mouseout",j],["mouseup",V],["touchstart",q],["touchend",G],["touchcancel",G],["touchmove",Z]],this.dragControl&&(Ft[t].push(["mousedown",U]),Ft[t].push(["selectstart",h])),this.wheelZoom&&(Ft[t].push(["mousewheel",Q]),Ft[t].push(["DOMMouseScroll",Q])),this.scrollPause&&Ft[t].push(["scroll",J,window]),n=0;n=1?0:i<=-1?Math.PI:Math.acos(i))},dt.unit=function(){var t=this.length();return new u(this.x/t,this.y/t,this.z/t)},ft=g.prototype,g.Identity=function(){return new g([1,0,0,0,1,0,0,0,1])},g.Rotation=function(t,i){var e=vt(t),s=yt(t),n=1-s;return new g([s+zt(i.x,2)*n,i.x*i.y*n-i.z*e,i.x*i.z*n+i.y*e,i.y*i.x*n+i.z*e,s+zt(i.y,2)*n,i.y*i.z*n-i.x*e,i.z*i.x*n-i.y*e,i.z*i.y*n+i.x*e,s+zt(i.z,2)*n])},ft.mul=function(t){var i,e,s=[],n=t.xform?1:0;for(i=1;i<=3;++i)for(e=1;e<=3;++e)n?s.push(this[i][1]*t[1][e]+this[i][2]*t[2][e]+this[i][3]*t[3][e]):s.push(this[i][e]*t);return new g(s)},ft.xform=function(t){var i={},e=t.x,s=t.y,n=t.z;return i.x=e*this[1][1]+s*this[2][1]+n*this[3][1],i.y=e*this[1][2]+s*this[2][2]+n*this[3][2],i.z=e*this[1][3]+s*this[2][3]+n*this[3][3],i},pt=M.prototype,pt.SetImage=function(t,i,e,s,n,a,h,o){this.image=t,this.iwidth=i*this.scale,this.iheight=e*this.scale,this.ipos=s,this.ipad=n*this.scale,this.iscale=o,this.ialign=a,this.ivalign=h},pt.Align=function(t,i,e){var s=0;return"right"==e||"bottom"==e?s=i-t:"left"!=e&&"top"!=e&&(s=(i-t)/2),s},pt.Create=function(t,i,e,s,n,a,h,o,r){var l,u,c,g,f,d,m,p,w,x,v,y,T,b,C,z,M,A=xt(h[0]),F=xt(h[1]);return o=Tt(o,A+a,F+a),f=2*(o+s),m=2*(o+s),u=this.width+f,c=this.height+m,w=x=o+s,this.image&&(v=y=o+s,T=this.iwidth,b=this.iheight,"top"==this.ipos||"bottom"==this.ipos?(Tt?(o.push(this.line.join(" ")),this.line=[h[a]]):this.line.push(h[a]);o.push(this.line.join(" "))}return this.text=o},ut=st.prototype,ut.SetMethod=function(t){var i={block:["PreDraw","DrawBlock"],colour:["PreDraw","DrawColour"],outline:["PostDraw","DrawOutline"],classic:["LastDraw","DrawOutline"],size:["PreDraw","DrawSize"],none:["LastDraw"]},e=i[t]||i.outline;"none"==t?this.Draw=function(){return 1}:this.drawFunc=this[e[1]],this[e[0]]=this.Draw},ut.Update=function(t,i,e,s,n,a,h,o){var r=this.tc.outlineOffset,l=2*r;this.x=n*t+h-r,this.y=n*i+o-r,this.w=n*e+l,this.h=n*s+l,this.sc=n,this.z=a},ut.Ants=function(t){if(this.adash){var i,e=this.adash,s=this.agap,n=this.aspeed,a=e+s,h=0,r=e,l=s,u=0,c=0;n&&(c=xt(n)*(o()-this.ts)/50,n<0&&(c=864e4-c),n=~~c%a),n?(e>=n?(h=e-n,r=n):(l=a-n,u=s-l),i=[h,l,r,u]):i=[e,s],t.setLineDash(i)}},ut.DrawOutline=function(t,i,e,s,n,a){var h=St(this.radius,n/2,s/2);t.strokeStyle=a,this.Ants(t),I(t,i,e,s,n,h,!0)},ut.DrawSize=function(t,i,e,s,n,a,h,o,r){var l,u,c,g=h.w,f=h.h;return this.pulsate?(c=h.image?(h.image.height+this.tc.outlineIncrease)/h.image.height:h.oscale,u=h.fimage||h.image,l=1+(c-1)*(1-this.pulse),h.h*=l,h.w*=l):u=h.oimage,h.alpha=1,h.Draw(t,o,r,u),h.h=f,h.w=g,1},ut.DrawColour=function(t,i,e,s,n,a,h,o,r){return h.oimage?(this.pulse<1?(h.alpha=1-zt(this.pulse,2),h.Draw(t,o,r,h.fimage),h.alpha=this.pulse):h.alpha=1,h.Draw(t,o,r,h.oimage),1):this[h.image?"DrawColourImage":"DrawColourText"](t,i,e,s,n,a,h,o,r)},ut.DrawColourText=function(t,i,e,s,n,a,h,o,r){var l=h.colour;return h.colour=a,h.alpha=1,h.Draw(t,o,r),h.colour=l,1},ut.DrawColourImage=function(t,i,e,s,n,a,h,o,r){var l,u=t.canvas,c=~~Tt(i,0),g=~~Tt(e,0),f=St(u.width-c,s)+.5|0,d=St(u.height-g,n)+.5|0;return wt?(wt.width=f,wt.height=d):wt=S(f,d),wt?(l=wt.getContext("2d"),l.drawImage(u,c,g,f,d,0,0,f,d),t.clearRect(c,g,f,d),this.pulsate?h.alpha=1-zt(this.pulse,2):h.alpha=1,h.Draw(t,o,r),t.setTransform(1,0,0,1,0,0),t.save(),t.beginPath(),t.rect(c,g,f,d),t.clip(),t.globalCompositeOperation="source-in",t.fillStyle=a,t.fillRect(c,g,f,d),t.restore(),t.globalAlpha=1,t.globalCompositeOperation="destination-over",t.drawImage(wt,0,0,f,d,c,g,f,d),t.globalCompositeOperation="source-over",1):this.SetMethod("outline")},ut.DrawBlock=function(t,i,e,s,n,a){var h=St(this.radius,n/2,s/2);t.fillStyle=a,I(t,i,e,s,n,h)},ut.DrawSimple=function(t,i,e,s,n,a){var h=this.tc;return t.setTransform(1,0,0,1,0,0),t.strokeStyle=this.colour,t.lineWidth=h.outlineThickness,t.shadowBlur=t.shadowOffsetX=t.shadowOffsetY=0,t.globalAlpha=a?n:1,this.drawFunc(t,this.x,this.y,this.w,this.h,this.colour,i,e,s)},ut.DrawPulsate=function(t,i,e,s){var n=o()-this.ts,a=this.tc,h=a.pulsateTo+(1-a.pulsateTo)*(.5+yt(2*Math.PI*n/(1e3*a.pulsateTime))/2);return this.pulse=h=at.Smooth(1,h),this.DrawSimple(t,i,e,s,h,1)},ut.Active=function(t,i,e){var s=i>=this.x&&e>=this.y&&i<=this.x+this.w&&e<=this.y+this.h;return this.ts=s?this.ts||o():null,s},ut.PreDraw=ut.PostDraw=ut.LastDraw=h,ct=nt.prototype,ct.Init=function(t){var i=this.tc;this.textHeight=i.textHeight,this.HasText()?this.Measure(i.ctxt,i):(this.w=this.iw,this.h=this.ih),this.SetShadowColour=i.shadowAlpha?this.SetShadowColourAlpha:this.SetShadowColourFixed,this.SetDraw(i)},ct.Draw=h,ct.HasText=function(){return this.text&&this.text[0].length>0},ct.EqualTo=function(t){var i=t.getElementsByTagName("img");return this.a.href!=t.href?0:i.length?this.image.src==i[0].src:(t.innerText||t.textContent)==this.text_original},ct.SetImage=function(t){this.image=this.fimage=t},ct.SetDraw=function(t){this.Draw=this.fimage?t.ie>7?this.DrawImageIE:this.DrawImage:this.DrawText,t.noSelect&&(this.CheckActive=h)},ct.MeasureText=function(t){var i,e,s=this.text.length,n=0;for(i=0;i0?l=A(l,this.oimage.width,this.oimage.height):this.oimage=A(this.oimage,l.width,l.height)),l&&(this.fimage=l,o=this.fimage.width/e,r=this.fimage.height/e),this.SetDraw(i),i.txtOpt=!!this.fimage),this.h=r,this.w=o},ct.SetFont=function(t,i,e,s){this.textFont=t,this.colour=i,this.bgColour=e,this.bgOutline=s,this.Measure(this.tc.ctxt,this.tc)},ct.SetWeight=function(t){var i,e,s=this.tc,n=s.weightMode.split(/[, ]/),a=t.length;if(this.HasText()){for(this.weighted=!0,e=0;e0&&e.weightSizeMax>e.weightSizeMin?this.textHeight=e.weightSize*(e.weightSizeMin+(e.weightSizeMax-e.weightSizeMin)*o):this.textHeight=Tt(1,t*e.weightSize))},ct.SetShadowColourFixed=function(t,i,e){t.shadowColor=i},ct.SetShadowColourAlpha=function(t,i,e){t.shadowColor=T(i,e)},ct.DrawText=function(t,i,e){var s,n,a=this.tc,h=this.x,o=this.y,r=this.sc;for(t.globalAlpha=this.alpha,t.fillStyle=this.colour,a.shadow&&this.SetShadowColour(t,a.shadow,this.alpha),t.font=this.font,h+=i/r,o+=e/r-this.h/2,s=0;sthis.max_weight[s])&&(this.max_weight[s]=i),(!this.min_weight[s]||ithis.min_weight[s]&&(n=1);if(n)for(e=0;e=0&&this.my>=0&&this.taglist[s].CheckActive(d,g,f))&&e.sc>u&&(!x||e.z<=0)&&(i=e,m=s,i.tag=this.taglist[s],u=e.sc);this.active=i}for(this.txtOpt||this.shadow&&this.SetShadow(d),d.clearRect(0,0,o,l),s=0;s=this.fadeIn?(this.fadeIn=0,this.fixedAlpha=1):this.fixedAlpha=i/this.fadeIn),!!this.fixedAnim&&(this.fixedAnim.transform||(this.fixedAnim.transform=this.transform),t=this.fixedAnim,i=o()-t.t0,e=t.angle,n=this.animTiming(t.t,i),this.transform=t.transform,i>=t.t?(this.fixedCallbackTag=t.tag,this.fixedCallback=t.cb,this.fixedAnim=this.yaw=this.pitch=0):e*=n,s=g.Rotation(e,t.axis),this.transform=this.transform.mul(s),0!=this.fixedAnim)},gt.AnimatePosition=function(t,i,e){var s,n,a=this,h=a.mx,o=a.my;!a.frozen&&h>=0&&o>=0&&hi&&(t.yaw=e>t.z0?t.yaw*t.decel:0),!t.ly&&s>i&&(t.pitch=s>t.z0?t.pitch*t.decel:0)},gt.Zoom=function(t){this.z2=this.z1*(1/t),this.drawn=0},gt.Clicked=function(t){var i=this.active;try{i&&i.tag&&(!1===this.clickToFront||null===this.clickToFront?i.tag.Clicked(t):this.TagToFront(i.tag,this.clickToFront,function(){i.tag.Clicked(t)},!0))}catch(t){}},gt.Wheel=function(t){var i=this.zoom+this.zoomStep*(t?1:-1);this.zoom=St(this.zoomMax,Tt(this.zoomMin,i)),this.Zoom(this.zoom)},gt.BeginDrag=function(t){this.down=X(t,this.canvas),t.cancelBubble=!0,t.returnValue=!1,t.preventDefault&&t.preventDefault()},gt.Drag=function(t,i){if(this.dragControl&&this.down){var e=this.dragThreshold*this.dragThreshold,s=i.x-this.down.x,n=i.y-this.down.y;(this.dragging||s*s+n*n>e)&&(this.dx=s,this.dy=n,this.dragging=1,this.down=i)}return this.dragging},gt.EndDrag=function(){var t=this.dragging;return this.dragging=this.down=null,t},gt.BeginPinch=function(t){this.pinched=[ht(t),this.zoom],t.preventDefault&&t.preventDefault()},gt.Pinch=function(t){var i,e,s=this.pinched;s&&(e=ht(t),i=s[1]*e/s[0],this.zoom=St(this.zoomMax,Tt(this.zoomMin,i)),this.Zoom(this.zoom))},gt.EndPinch=function(t){this.pinched=null},gt.Pause=function(){this.paused=!0},gt.Resume=function(){this.paused=!1},gt.SetSpeed=function(t){this.initial=t,this.yaw=t[0]*this.maxSpeed,this.pitch=t[1]*this.maxSpeed},gt.FindTag=function(t){if(!s(t))return null;if(s(t.index)&&(t=t.index),!n(t))return this.taglist[t];var i,e,a;for(s(t.id)?(i="id",e=t.id):s(t.text)&&(i="innerText",e=t.text),a=0;a").addClass(e.iconBase).addClass(r)).append(" ")}s.append(t("").html(a.message)),s.addClass(e.messageClass);var l=e.alertClasses[e.defaultAlert];e.alertClasses[a.messageType]&&(l=e.alertClasses[a.messageType]),s.addClass(l),o.after(s),s.fadeIn()})),h?e.onSuccess.call(this):e.onFailure.call(this)}},t.fn.handleMessages.defaults={messages:[],alertClasses:{good:"alert-success",info:"alert-info",error:"alert-danger",warning:"alert-warning"},iconClasses:{good:"fa-check",info:"fa-info-circle",error:"fa-times",warning:"fa-warning"},showIcons:!0,iconBase:"fa fa-fw",defaultIcon:"warning",defaultAlert:"warning",messageClass:"js-message",messageSelector:".message",onSuccess:function(){},onFailure:function(){}}}(n.a)},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=e(0),n=e.n(s);n()(function(){n()(".field.togglegroup").each(function(){var t=n()(this),i=t.find(".group-toggle").data("show-when-checked"),e=t.find(".group-toggle input"),s=t.find(".group-fields");s.toggle(i?e.is(":checked"):!e.is(":checked")),e.on("click",function(){s.toggle(i?n()(this).is(":checked"):!n()(this).is(":checked"))})})})},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=e(0),n=e.n(s);n()(function(){n()(".scrolltotopbutton").each(function(){var t=n()(this),i=parseInt(t.data("offset-show")),e=parseInt(t.data("offset-opacity")),s=parseInt(t.data("scroll-duration"));n()(window).scroll(function(){n()(this).scrollTop()>i?t.addClass("is-visible"):t.removeClass("is-visible fade-out"),n()(this).scrollTop()>e&&t.addClass("fade-out")}),t.on("click",function(t){t.preventDefault(),n()("body, html").animate({scrollTop:0},s)})})})},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=e(0),n=e.n(s);n()(function(){n()(".tagcloudcomponent").each(function(){var t=n()(this);n()(t.data("canvas")).tagcanvas({depth:parseFloat(t.data("depth")),zoom:parseFloat(t.data("zoom")),zoomMin:parseFloat(t.data("zoom-min")),zoomMax:parseFloat(t.data("zoom-max")),textColour:t.data("color-text"),outlineColour:t.data("color-outline"),initial:t.data("initial"),weightSizeMin:parseInt(t.data("weight-size-min")),weightSizeMax:parseInt(t.data("weight-size-max")),weightFrom:"data-weight",weight:t.data("weight")},t.data("tag-list"))});var t=function(){n()(".tagcloudcomponent").each(function(){var t=n()(this),i=n()(t.data("canvas")),e=t.width();i.attr("width",e)})},i=null;n()(window).resize(function(){null!==i&&clearTimeout(i),i=setTimeout(t,500)}),n()(window).on("load",function(){t()})})}]); \ No newline at end of file +!function(t){function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}var e={};i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:s})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="/resources/silverware/silverware/client/dist/",i(i.s=1)}([function(t,i){t.exports=jQuery},function(t,i,e){e(2),e(3),e(4),e(5),e(6),e(7),e(8)},function(t,i){},function(t,i,e){(function(t){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(e){"use strict";function s(t){return void 0!==t}function n(t){return"object"==(void 0===t?"undefined":i(t))&&null!=t}function a(t,i,e){return isNaN(t)?e:ft(e,gt(i,t))}function h(){return!1}function o(){return(new Date).valueOf()}function r(t){for(var i,e,s=t.length-1;s;)e=~~(Math.random()*s),i=t[s],t[s]=t[e],t[e]=i,--s}function l(t,i,e){this.x=t,this.y=i,this.z=e}function u(t){this[1]={1:t[0],2:t[1],3:t[2]},this[2]={1:t[3],2:t[4],3:t[5]},this[3]={1:t[6],2:t[7],3:t[8]}}function c(t,i,e,s,n){var a,h,o,r,l,u=[],c=2/t;for(l=Math.PI*(3-mt(5)+(parseFloat(n)?parseFloat(n):0)),a=0;a0&&(ou.max.x&&(u.max.x=o),ru.max.y&&(u.max.y=r));return a!=c&&(u.min.x*=c/a,u.max.x*=c/a),h!=g&&(u.min.y*=c/h,u.max.y*=c/h),f=null,u}function M(t){return"'"+t.replace(/(\'|\")/g,"").replace(/\s*,\s*/g,"', '")+"'"}function A(t,i,e){(e=e||yt).addEventListener?e.addEventListener(t,i,!1):e.attachEvent("on"+t,i)}function F(t,i,e,s){var n,a,h,o,r,l,u=s.imageScale;return i.complete?t.complete?(i.width=i.width,i.height=i.height,u&&(t.width=i.width*u,t.height=i.height*u),e.iw=t.width,e.ih=t.height,s.txtOpt&&(a=t,n=s.zoomMax*s.txtScale,r=e.iw*n,l=e.ih*n,r0?o=r*o/100:o*=n,(h=a.getContext("2d")).globalCompositeOperation="source-over",h.fillStyle="#fff",o>=r/2?(o=ft(e,s)/2,h.beginPath(),h.moveTo(e/2,s/2),h.arc(e/2,s/2,o,0,2*Math.PI,!1),h.fill(),h.closePath()):(S(h,0,0,e,s,o=ft(e/2,s/2,o),!0),h.fill()),h.globalCompositeOperation="source-in",h.drawImage(t,0,0,e,s),a):null}(e.image,s.imageRadius,r,l,n)),e.HasText()||(s.shadow&&(a=function(t,i,e,s,n,a,h){var o,r,l=lt(h[0]),u=lt(h[1]),c=i+(l>a?l+a:2*a)*s,g=e+(u>a?u+a:2*a)*s,f=s*((a||0)+(h[0]<0?l:0)),d=s*((a||0)+(h[1]<0?u:0));return(o=x(c,g))?(r=o.getContext("2d"),n&&(r.shadowColor=n),a&&(r.shadowBlur=a*s),h&&(r.shadowOffsetX=h[0]*s,r.shadowOffsetY=h[1]*s),r.drawImage(t,f,d,i,e),{image:o,width:c/s,height:g/s}):null}(e.image,r,l,n,s.shadow,s.shadowBlur,s.shadowOffset))&&(e.fimage=a.image,e.w=a.width,e.h=a.height),(s.bgColour||s.bgOutlineThickness)&&(h="tag"==s.bgColour?O(e.a,"background-color"):s.bgColour,o="tag"==s.bgOutline?O(e.a,"color"):s.bgOutline||s.textColour,r=e.fimage.width,l=e.fimage.height,"colour"==s.outlineMethod&&(a=D(e.fimage,r,l,n,h,s.bgOutlineThickness,e.outline.colour,s.padding,s.bgRadius,1))&&(e.oimage=a.image),(a=D(e.fimage,r,l,n,h,s.bgOutlineThickness,o,s.padding,s.bgRadius))&&(e.fimage=a.image,e.w=a.width,e.h=a.height)),"size"==s.outlineMethod&&(s.outlineIncrease>0?(e.iw+=2*s.outlineIncrease,e.ih+=2*s.outlineIncrease,r=n*e.iw,l=n*e.ih,a=z(e.fimage,r,l),e.oimage=a,e.fimage=C(e.fimage,e.oimage.width,e.oimage.height)):(r=n*(e.iw+2*s.outlineIncrease),l=n*(e.ih+2*s.outlineIncrease),a=z(e.fimage,r,l),e.oimage=C(a,e.fimage.width,e.fimage.height))))),void e.Init()):A("load",function(){F(t,i,e,s)},t):A("load",function(){F(t,i,e,s)},i)}function O(t,i){var e=yt.defaultView,s=i.replace(/\-([a-z])/g,function(t){return t.charAt(1).toUpperCase()});return e&&e.getComputedStyle&&e.getComputedStyle(t,null).getPropertyValue(i)||t.currentStyle&&t.currentStyle[s]}function k(t,i,e){var s,n=1;return i?n=1*(t.getAttribute(i)||e):(s=O(t,"font-size"))&&(n=s.indexOf("px")>-1&&1*s.replace("px","")||s.indexOf("pt")>-1&&1.25*s.replace("pt","")||3.3*s),n}function P(t){return t.target&&s(t.target.id)?t.target.id:t.srcElement.parentNode.id}function E(t,i){var e,n,a=parseInt(O(i,"width"))/i.width,h=parseInt(O(i,"height"))/i.height;return s(t.offsetX)?e={x:t.offsetX,y:t.offsetY}:(n=V(i.id),s(t.changedTouches)&&(t=t.changedTouches[0]),t.pageX&&(e={x:t.pageX-n.x,y:t.pageY-n.y})),e&&a&&h&&(e.x/=a,e.y/=h),e}function B(t){var i=t.target||t.fromElement.parentNode,e=Q.tc[i.id];e&&(e.mx=e.my=-1,e.UnFreeze(),e.EndDrag())}function R(t){var i,e,s,n=Q,a=P(t);for(i in n.tc)(e=n.tc[i]).tttimer&&(clearTimeout(e.tttimer),e.tttimer=null);a&&n.tc[a]&&((s=E(t,(e=n.tc[a]).canvas))&&(e.mx=s.x,e.my=s.y,e.Drag(t,s)),e.drawn=0)}function _(t){var i=Q,e=yt.addEventListener?0:1,s=P(t);s&&t.button==e&&i.tc[s]&&i.tc[s].BeginDrag(t)}function N(t){var i,e=Q,s=yt.addEventListener?0:1,n=P(t);n&&t.button==s&&e.tc[n]&&(i=e.tc[n],R(t),i.EndDrag()||i.touchState||i.Clicked(t))}function L(t){var i,e=P(t),s=e&&Q.tc[e];s&&t.changedTouches&&(1==t.touches.length&&0==s.touchState?(s.touchState=1,s.BeginDrag(t),(i=E(t,s.canvas))&&(s.mx=i.x,s.my=i.y,s.drawn=0)):2==t.targetTouches.length&&s.pinchZoom?(s.touchState=3,s.EndDrag(),s.BeginPinch(t)):(s.EndDrag(),s.EndPinch(),s.touchState=0))}function H(t){var i=P(t),e=i&&Q.tc[i];if(e&&t.changedTouches){switch(e.touchState){case 1:e.Draw(),e.Clicked();break;case 2:e.EndDrag();break;case 3:e.EndPinch()}e.touchState=0}}function W(t){var i,e,s,n=Q,a=P(t);for(i in n.tc)(e=n.tc[i]).tttimer&&(clearTimeout(e.tttimer),e.tttimer=null);if((e=a&&n.tc[a])&&t.changedTouches&&e.touchState){switch(e.touchState){case 1:case 2:(s=E(t,e.canvas))&&(e.mx=s.x,e.my=s.y,e.Drag(t,s)&&(e.touchState=2));break;case 3:e.Pinch(t)}e.drawn=0}}function X(t){var i=Q,e=P(t);e&&i.tc[e]&&(t.cancelBubble=!0,t.returnValue=!1,t.preventDefault&&t.preventDefault(),i.tc[e].Wheel((t.wheelDelta||t.detail)>0))}function j(t){var i,e=Q;for(i in clearTimeout(e.scrollTimer),e.tc)e.tc[i].Pause();e.scrollTimer=setTimeout(function(){var t,i=Q;for(t in i.tc)i.tc[t].Resume()},e.scrollPause)}function Y(){U(o())}function U(t){var i,e=Q.tc;for(i in Q.NextFrame(Q.interval),t=t||o(),e)e[i].Draw(t)}function V(t){var i=yt.getElementById(t).getBoundingClientRect(),e=yt.documentElement,s=yt.body,n=window,a=n.pageXOffset||e.scrollLeft,h=n.pageYOffset||e.scrollTop,o=e.clientLeft||s.clientLeft,r=e.clientTop||s.clientTop;return{x:i.left+a-o,y:i.top+h-r}}function q(t){this.e=t,this.br=0,this.line=[],this.text=[],this.original=t.innerText||t.textContent}function G(t,i){this.ts=null,this.tc=t,this.tag=i,this.x=this.y=this.w=this.h=this.sc=1,this.z=0,this.pulse=1,this.pulsate=t.pulsateTo<1,this.colour=t.outlineColour,this.adash=~~t.outlineDash,this.agap=~~t.outlineDashSpace||this.adash,this.aspeed=1*t.outlineDashSpeed,"tag"==this.colour?this.colour=O(i.a,"color"):"tagbg"==this.colour&&(this.colour=O(i.a,"background-color")),this.Draw=this.pulsate?this.DrawPulsate:this.DrawSimple,this.radius=0|t.outlineRadius,this.SetMethod(t.outlineMethod)}function Z(t,i,e,s,n,a,h,o,r,u,c,g,f,d){this.tc=t,this.image=null,this.text=i,this.text_original=d,this.line_widths=[],this.title=e.title||null,this.a=e,this.position=new l(s[0],s[1],s[2]),this.x=this.y=this.z=0,this.w=n,this.h=a,this.colour=h||t.textColour,this.bgColour=o||t.bgColour,this.bgRadius=0|r,this.bgOutline=u||this.colour,this.bgOutlineThickness=0|c,this.textFont=g||t.textFont,this.padding=0|f,this.sc=this.alpha=1,this.weighted=!t.weight,this.outline=new G(t,this)}function Q(t,i,e){var n,r,l,c,g=yt.getElementById(t),f=["id","class","innerHTML"];if(!g)throw 0;if(s(window.G_vmlCanvasManager)&&(g=window.G_vmlCanvasManager.initElement(g),this.ie=parseFloat(navigator.appVersion.split("MSIE")[1])),g&&(!g.getContext||!g.getContext("2d").fillText)){for(r=yt.createElement("DIV"),n=0;n0?Q.scrollPause=~~this.scrollPause:this.scrollPause=0,this.minTags>0&&this.repeatTags<1&&(n=this.GetTags().length)&&(this.repeatTags=dt(this.minTags/n)-1),this.transform=u.Identity(),this.startTime=this.time=o(),this.mx=this.my=-1,this.centreImage&&function(t){var i=new Image;i.onload=function(){var e=i.width/2,s=i.height/2;t.centreFunc=function(t,n,a,h,o){t.setTransform(1,0,0,1,0,0),t.globalAlpha=1,t.drawImage(i,h-e,o-s)}},i.src=t.centreImage}(this),this.Animate=this.dragControl?this.AnimateDrag:this.AnimatePosition,this.animTiming="function"==typeof Q[this.animTiming]?Q[this.animTiming]:Q.Smooth,this.shadowBlur||this.shadowOffset[0]||this.shadowOffset[1]?(this.ctxt.shadowColor=this.shadow,this.shadow=this.ctxt.shadowColor,this.shadowAlpha=function(){var t,i=x(3,3);return!!i&&((t=i.getContext("2d")).strokeStyle="#000",t.shadowColor="#fff",t.shadowBlur=3,t.globalAlpha=0,t.strokeRect(2,2,2,2),t.globalAlpha=1,i=null,t.getImageData(2,2,1,1).data[0]>0)}()):delete this.shadow,this.Load(),i&&this.hideTags&&(c=this,Q.loaded?c.HideTags():A("load",function(){c.HideTags()},window)),this.yaw=this.initial?this.initial[0]*this.maxSpeed:0,this.pitch=this.initial?this.initial[1]*this.maxSpeed:0,this.tooltip?(this.ctitle=g.title,g.title="","native"==this.tooltip?this.Tooltip=this.TooltipNative:(this.Tooltip=this.TooltipDiv,this.ttdiv||(this.ttdiv=yt.createElement("div"),this.ttdiv.className=this.tooltipClass,this.ttdiv.style.position="absolute",this.ttdiv.style.zIndex=g.style.zIndex+1,A("mouseover",function(t){t.target.style.display="none"},this.ttdiv),yt.body.appendChild(this.ttdiv)))):this.Tooltip=this.TooltipNone,!this.noMouse&&!Tt[t])for(Tt[t]=[["mousemove",R],["mouseout",B],["mouseup",N],["touchstart",L],["touchend",H],["touchcancel",H],["touchmove",W]],this.dragControl&&(Tt[t].push(["mousedown",_]),Tt[t].push(["selectstart",h])),this.wheelZoom&&(Tt[t].push(["mousewheel",X]),Tt[t].push(["DOMMouseScroll",X])),this.scrollPause&&Tt[t].push(["scroll",j,window]),n=0;n=1?0:i<=-1?Math.PI:Math.acos(i)},at.unit=function(){var t=this.length();return new l(this.x/t,this.y/t,this.z/t)},nt=u.prototype,u.Identity=function(){return new u([1,0,0,0,1,0,0,0,1])},u.Rotation=function(t,i){var e=ut(t),s=ct(t),n=1-s;return new u([s+pt(i.x,2)*n,i.x*i.y*n-i.z*e,i.x*i.z*n+i.y*e,i.y*i.x*n+i.z*e,s+pt(i.y,2)*n,i.y*i.z*n-i.x*e,i.z*i.x*n-i.y*e,i.z*i.y*n+i.x*e,s+pt(i.z,2)*n])},nt.mul=function(t){var i,e,s=[],n=t.xform?1:0;for(i=1;i<=3;++i)for(e=1;e<=3;++e)n?s.push(this[i][1]*t[1][e]+this[i][2]*t[2][e]+this[i][3]*t[3][e]):s.push(this[i][e]*t);return new u(s)},nt.xform=function(t){var i={},e=t.x,s=t.y,n=t.z;return i.x=e*this[1][1]+s*this[2][1]+n*this[3][1],i.y=e*this[1][2]+s*this[2][2]+n*this[3][2],i.z=e*this[1][3]+s*this[2][3]+n*this[3][3],i},(ot=b.prototype).SetImage=function(t,i,e,s,n,a,h,o){this.image=t,this.iwidth=i*this.scale,this.iheight=e*this.scale,this.ipos=s,this.ipad=n*this.scale,this.iscale=o,this.ialign=a,this.ivalign=h},ot.Align=function(t,i,e){var s=0;return"right"==e||"bottom"==e?s=i-t:"left"!=e&&"top"!=e&&(s=(i-t)/2),s},ot.Create=function(t,i,e,s,n,a,h,o,r){var l,u,c,g,f,d,m,p,w,v,y,b,C,z,D,I,M,A=lt(h[0]),F=lt(h[1]);return f=2*((o=gt(o,A+a,F+a))+s),m=2*(o+s),u=this.width+f,c=this.height+m,w=v=o+s,this.image&&(y=b=o+s,C=this.iwidth,z=this.iheight,"top"==this.ipos||"bottom"==this.ipos?(Ct?(o.push(this.line.join(" ")),this.line=[h[a]]):this.line.push(h[a]);o.push(this.line.join(" "))}return this.text=o},(it=G.prototype).SetMethod=function(t){var i={block:["PreDraw","DrawBlock"],colour:["PreDraw","DrawColour"],outline:["PostDraw","DrawOutline"],classic:["LastDraw","DrawOutline"],size:["PreDraw","DrawSize"],none:["LastDraw"]},e=i[t]||i.outline;"none"==t?this.Draw=function(){return 1}:this.drawFunc=this[e[1]],this[e[0]]=this.Draw},it.Update=function(t,i,e,s,n,a,h,o){var r=this.tc.outlineOffset,l=2*r;this.x=n*t+h-r,this.y=n*i+o-r,this.w=n*e+l,this.h=n*s+l,this.sc=n,this.z=a},it.Ants=function(t){if(this.adash){var i,e=this.adash,s=this.agap,n=this.aspeed,a=e+s,h=0,r=e,l=s,u=0,c=0;n&&(c=lt(n)*(o()-this.ts)/50,n<0&&(c=864e4-c),n=~~c%a),n?(e>=n?(h=e-n,r=n):u=s-(l=a-n),i=[h,l,r,u]):i=[e,s],t.setLineDash(i)}},it.DrawOutline=function(t,i,e,s,n,a){var h=ft(this.radius,n/2,s/2);t.strokeStyle=a,this.Ants(t),S(t,i,e,s,n,h,!0)},it.DrawSize=function(t,i,e,s,n,a,h,o,r){var l,u,c,g=h.w,f=h.h;return this.pulsate?(c=h.image?(h.image.height+this.tc.outlineIncrease)/h.image.height:h.oscale,u=h.fimage||h.image,l=1+(c-1)*(1-this.pulse),h.h*=l,h.w*=l):u=h.oimage,h.alpha=1,h.Draw(t,o,r,u),h.h=f,h.w=g,1},it.DrawColour=function(t,i,e,s,n,a,h,o,r){return h.oimage?(this.pulse<1?(h.alpha=1-pt(this.pulse,2),h.Draw(t,o,r,h.fimage),h.alpha=this.pulse):h.alpha=1,h.Draw(t,o,r,h.oimage),1):this[h.image?"DrawColourImage":"DrawColourText"](t,i,e,s,n,a,h,o,r)},it.DrawColourText=function(t,i,e,s,n,a,h,o,r){var l=h.colour;return h.colour=a,h.alpha=1,h.Draw(t,o,r),h.colour=l,1},it.DrawColourImage=function(t,i,e,s,n,a,h,o,r){var l=t.canvas,u=~~gt(i,0),c=~~gt(e,0),g=ft(l.width-u,s)+.5|0,f=ft(l.height-c,n)+.5|0;return rt?(rt.width=g,rt.height=f):rt=x(g,f),rt?(rt.getContext("2d").drawImage(l,u,c,g,f,0,0,g,f),t.clearRect(u,c,g,f),this.pulsate?h.alpha=1-pt(this.pulse,2):h.alpha=1,h.Draw(t,o,r),t.setTransform(1,0,0,1,0,0),t.save(),t.beginPath(),t.rect(u,c,g,f),t.clip(),t.globalCompositeOperation="source-in",t.fillStyle=a,t.fillRect(u,c,g,f),t.restore(),t.globalAlpha=1,t.globalCompositeOperation="destination-over",t.drawImage(rt,0,0,g,f,u,c,g,f),t.globalCompositeOperation="source-over",1):this.SetMethod("outline")},it.DrawBlock=function(t,i,e,s,n,a){var h=ft(this.radius,n/2,s/2);t.fillStyle=a,S(t,i,e,s,n,h)},it.DrawSimple=function(t,i,e,s,n,a){var h=this.tc;return t.setTransform(1,0,0,1,0,0),t.strokeStyle=this.colour,t.lineWidth=h.outlineThickness,t.shadowBlur=t.shadowOffsetX=t.shadowOffsetY=0,t.globalAlpha=a?n:1,this.drawFunc(t,this.x,this.y,this.w,this.h,this.colour,i,e,s)},it.DrawPulsate=function(t,i,e,s){var n=o()-this.ts,a=this.tc,h=a.pulsateTo+(1-a.pulsateTo)*(.5+ct(2*Math.PI*n/(1e3*a.pulsateTime))/2);return this.pulse=h=Q.Smooth(1,h),this.DrawSimple(t,i,e,s,h,1)},it.Active=function(t,i,e){var s=i>=this.x&&e>=this.y&&i<=this.x+this.w&&e<=this.y+this.h;return this.ts=s?this.ts||o():null,s},it.PreDraw=it.PostDraw=it.LastDraw=h,(et=Z.prototype).Init=function(t){var i=this.tc;this.textHeight=i.textHeight,this.HasText()?this.Measure(i.ctxt,i):(this.w=this.iw,this.h=this.ih),this.SetShadowColour=i.shadowAlpha?this.SetShadowColourAlpha:this.SetShadowColourFixed,this.SetDraw(i)},et.Draw=h,et.HasText=function(){return this.text&&this.text[0].length>0},et.EqualTo=function(t){var i=t.getElementsByTagName("img");return this.a.href!=t.href?0:i.length?this.image.src==i[0].src:(t.innerText||t.textContent)==this.text_original},et.SetImage=function(t){this.image=this.fimage=t},et.SetDraw=function(t){this.Draw=this.fimage?t.ie>7?this.DrawImageIE:this.DrawImage:this.DrawText,t.noSelect&&(this.CheckActive=h)},et.MeasureText=function(t){var i,e,s=this.text.length,n=0;for(i=0;i0?l=C(l,this.oimage.width,this.oimage.height):this.oimage=C(this.oimage,l.width,l.height)),l&&(this.fimage=l,o=this.fimage.width/e,r=this.fimage.height/e),this.SetDraw(i),i.txtOpt=!!this.fimage),this.h=r,this.w=o},et.SetFont=function(t,i,e,s){this.textFont=t,this.colour=i,this.bgColour=e,this.bgOutline=s,this.Measure(this.tc.ctxt,this.tc)},et.SetWeight=function(t){var i,e,s=this.tc,n=s.weightMode.split(/[, ]/),a=t.length;if(this.HasText()){for(this.weighted=!0,e=0;e0&&e.weightSizeMax>e.weightSizeMin?this.textHeight=e.weightSize*(e.weightSizeMin+(e.weightSizeMax-e.weightSizeMin)*o):this.textHeight=gt(1,t*e.weightSize))},et.SetShadowColourFixed=function(t,i,e){t.shadowColor=i},et.SetShadowColourAlpha=function(t,i,e){t.shadowColor=function(t,i){var e,s,n=t,a=(1*i).toPrecision(3)+")";return"#"===t[0]?(wt[t]||(4===t.length?wt[t]="rgba("+vt[t[1]]+vt[t[2]]+vt[t[3]]:wt[t]="rgba("+xt[t.substr(1,2)]+xt[t.substr(3,2)]+xt[t.substr(5,2)]),n=wt[t]+a):"rgb("===t.substr(0,4)||"hsl("===t.substr(0,4)?n=t.replace("(","a(").replace(")",","+a):"rgba("!==t.substr(0,5)&&"hsla("!==t.substr(0,5)||(e=t.lastIndexOf(",")+1,s=t.indexOf(")"),i*=parseFloat(t.substring(e,s)),n=t.substr(0,e)+i.toPrecision(3)+")"),n}(i,e)},et.DrawText=function(t,i,e){var s,n,a=this.tc,h=this.x,o=this.y,r=this.sc;for(t.globalAlpha=this.alpha,t.fillStyle=this.colour,a.shadow&&this.SetShadowColour(t,a.shadow,this.alpha),t.font=this.font,h+=i/r,o+=e/r-this.h/2,s=0;sthis.max_weight[s])&&(this.max_weight[s]=i),(!this.min_weight[s]||ithis.min_weight[s]&&(n=1);if(n)for(e=0;e=0&&this.my>=0&&this.taglist[s].CheckActive(f,c,g))&&e.sc>l&&(!w||e.z<=0)&&(d=s,(i=e).tag=this.taglist[s],l=e.sc);this.active=i}for(this.txtOpt||this.shadow&&this.SetShadow(f),f.clearRect(0,0,o,r),s=0;s=this.fadeIn?(this.fadeIn=0,this.fixedAlpha=1):this.fixedAlpha=i/this.fadeIn),!!this.fixedAnim&&(this.fixedAnim.transform||(this.fixedAnim.transform=this.transform),t=this.fixedAnim,i=o()-t.t0,e=t.angle,n=this.animTiming(t.t,i),this.transform=t.transform,i>=t.t?(this.fixedCallbackTag=t.tag,this.fixedCallback=t.cb,this.fixedAnim=this.yaw=this.pitch=0):e*=n,s=u.Rotation(e,t.axis),this.transform=this.transform.mul(s),0!=this.fixedAnim)},st.AnimatePosition=function(t,i,e){var s,n,a=this,h=a.mx,o=a.my;!a.frozen&&h>=0&&o>=0&&hi&&(t.yaw=e>t.z0?t.yaw*t.decel:0),!t.ly&&s>i&&(t.pitch=s>t.z0?t.pitch*t.decel:0)},st.Zoom=function(t){this.z2=this.z1*(1/t),this.drawn=0},st.Clicked=function(t){var i=this.active;try{i&&i.tag&&(!1===this.clickToFront||null===this.clickToFront?i.tag.Clicked(t):this.TagToFront(i.tag,this.clickToFront,function(){i.tag.Clicked(t)},!0))}catch(t){}},st.Wheel=function(t){var i=this.zoom+this.zoomStep*(t?1:-1);this.zoom=ft(this.zoomMax,gt(this.zoomMin,i)),this.Zoom(this.zoom)},st.BeginDrag=function(t){this.down=E(t,this.canvas),t.cancelBubble=!0,t.returnValue=!1,t.preventDefault&&t.preventDefault()},st.Drag=function(t,i){if(this.dragControl&&this.down){var e=this.dragThreshold*this.dragThreshold,s=i.x-this.down.x,n=i.y-this.down.y;(this.dragging||s*s+n*n>e)&&(this.dx=s,this.dy=n,this.dragging=1,this.down=i)}return this.dragging},st.EndDrag=function(){var t=this.dragging;return this.dragging=this.down=null,t},st.BeginPinch=function(t){this.pinched=[J(t),this.zoom],t.preventDefault&&t.preventDefault()},st.Pinch=function(t){var i,e,s=this.pinched;s&&(e=J(t),i=s[1]*e/s[0],this.zoom=ft(this.zoomMax,gt(this.zoomMin,i)),this.Zoom(this.zoom))},st.EndPinch=function(t){this.pinched=null},st.Pause=function(){this.paused=!0},st.Resume=function(){this.paused=!1},st.SetSpeed=function(t){this.initial=t,this.yaw=t[0]*this.maxSpeed,this.pitch=t[1]*this.maxSpeed},st.FindTag=function(t){if(!s(t))return null;if(s(t.index)&&(t=t.index),!n(t))return this.taglist[t];var i,e,a;for(s(t.id)?(i="id",e=t.id):s(t.text)&&(i="innerText",e=t.text),a=0;a").addClass(i.iconBase).addClass(r)).append(" ")}e.append(s("").html(h.message)),e.addClass(i.messageClass);var l=i.alertClasses[i.defaultAlert];i.alertClasses[h.messageType]&&(l=i.alertClasses[h.messageType]),e.addClass(l),o.after(e),e.fadeIn()})),a?i.onSuccess.call(this):i.onFailure.call(this)}},s.fn.handleMessages.defaults={messages:[],alertClasses:{good:"alert-success",info:"alert-info",error:"alert-danger",warning:"alert-warning"},iconClasses:{good:"fa-check",info:"fa-info-circle",error:"fa-times",warning:"fa-warning"},showIcons:!0,iconBase:"fa fa-fw",defaultIcon:"warning",defaultAlert:"warning",messageClass:"js-message",messageSelector:".message",onSuccess:function(){},onFailure:function(){}}},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=e(0),n=e.n(s);n()(function(){n()(".field.togglegroup").each(function(){var t=n()(this),i=t.find(".group-toggle").data("show-when-checked"),e=t.find(".group-toggle input"),s=t.find(".group-fields");s.toggle(i?e.is(":checked"):!e.is(":checked")),e.on("click",function(){s.toggle(i?n()(this).is(":checked"):!n()(this).is(":checked"))})})})},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=e(0),n=e.n(s);n()(function(){n()(".scrolltotopbutton").each(function(){var t=n()(this),i=parseInt(t.data("offset-show")),e=parseInt(t.data("offset-opacity")),s=parseInt(t.data("scroll-duration"));n()(window).scroll(function(){n()(this).scrollTop()>i?t.addClass("is-visible"):t.removeClass("is-visible fade-out"),n()(this).scrollTop()>e&&t.addClass("fade-out")}),t.on("click",function(t){t.preventDefault(),n()("body, html").animate({scrollTop:0},s)})})})},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=e(0),n=e.n(s);n()(function(){n()(".tagcloudcomponent").each(function(){var t=n()(this);n()(t.data("canvas")).tagcanvas({depth:parseFloat(t.data("depth")),zoom:parseFloat(t.data("zoom")),zoomMin:parseFloat(t.data("zoom-min")),zoomMax:parseFloat(t.data("zoom-max")),textColour:t.data("color-text"),outlineColour:t.data("color-outline"),initial:t.data("initial"),weightSizeMin:parseInt(t.data("weight-size-min")),weightSizeMax:parseInt(t.data("weight-size-max")),weightFrom:"data-weight",weight:t.data("weight")},t.data("tag-list"))});var t=function(){n()(".tagcloudcomponent").each(function(){var t=n()(this),i=n()(t.data("canvas")),e=t.width();i.attr("width",e)})},i=null;n()(window).resize(function(){null!==i&&clearTimeout(i),i=setTimeout(t,500)}),n()(window).on("load",function(){t()})})},function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=e(0),n=e.n(s);n()(function(){n()(".togglecomponent").each(function(){var t=n()(this),i=t.find("header");t.data("start-open")&&i.addClass("opened"),i.on("click",function(){n()(this).toggleClass("opened")}),i.find("a").on("click",function(t){t.stopPropagation()})})})}]); \ No newline at end of file diff --git a/client/dist/styles/bundle.css b/client/dist/styles/bundle.css index 830ca53..521db03 100644 --- a/client/dist/styles/bundle.css +++ b/client/dist/styles/bundle.css @@ -1 +1 @@ -.baselistcomponent .items>article.item{margin-bottom:1rem}.baselistcomponent .items>article.item:last-child{margin-bottom:0}.baselistcomponent .items>article.item>div.image{position:relative}.baselistcomponent .items>article.item>div.image a{display:block}.baselistcomponent .items>article.item>div.image img{margin:0;display:inline-block}.baselistcomponent .items>article.item>div.image div.image-overlay{top:0;left:0;right:0;bottom:0;width:100%;height:100%;opacity:0;overflow:hidden;position:absolute;-webkit-transition:.5s ease;transition:.5s ease;background-color:rgba(33,37,41,.5)}.baselistcomponent .items>article.item>div.image div.image-overlay>div.inner{top:50%;left:0;width:100%;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.baselistcomponent .items>article.item>div.image div.image-overlay>div.inner>div.icon{font-size:32px;text-align:center;color:#fff}.baselistcomponent .items>article.item>div.image div.image-overlay>div.inner>div.text{text-align:center;padding:0 1rem}.baselistcomponent .items>article.item>div.image div.image-overlay>div.inner>div.text>*{margin:0;padding:0;font-size:1.25rem;color:#fff}.baselistcomponent .items>article.item>div.image:hover div.image-overlay,.baselistcomponent .items>article.item>div.image a:focus div.image-overlay{opacity:1}.baselistcomponent .items>article.item>section.content{margin-top:1rem}.baselistcomponent .items>article.item>section.content header{margin-bottom:.5rem}.baselistcomponent .items>article.item>section.content header>*{margin-bottom:0}.baselistcomponent .items>article.item>section.content header a{color:inherit}.baselistcomponent .items>article.item>section.content div.details{color:#868e96}.baselistcomponent .items>article.item>section.content div.details>span{margin-right:.5rem}.baselistcomponent .items>article.item>section.content div.details a{color:inherit}.baselistcomponent .items>article.item>section.content footer{margin-top:1rem}.baselistcomponent .items>article.item>section.content>div{margin-bottom:.5rem}.baselistcomponent ul.pagination{margin-top:2rem;margin-bottom:0}.contentcomponent>header a{color:inherit}.contentcomponent>div.content:after{content:"";display:table;clear:both}.featurecomponent article.feature>a.feature{display:block;text-decoration:none;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.featurecomponent article.feature>a.feature:focus,.featurecomponent article.feature>a.feature:hover{text-decoration:none}.featurecomponent article.feature div.icon{margin-bottom:.5rem}.featurecomponent article.feature div.summary>p:last-child{margin-bottom:0}.featurecomponent article.feature footer{margin-top:1rem}.imagecomponent figure{width:100%;margin-bottom:0}.imagecomponent figure>figcaption>p:last-child{margin-bottom:0}.imagecomponent a.image{display:block}@media (min-width:768px){.listcomponent .items>article.item{display:block}.listcomponent .items.image-align-left>article.item,.listcomponent .items.image-align-right>article.item,.listcomponent .items.image-align-stagger>article.item{display:-webkit-box;display:-ms-flexbox;display:flex}.listcomponent .items.image-align-left>article.item>div.image,.listcomponent .items.image-align-right>article.item>div.image,.listcomponent .items.image-align-stagger>article.item>div.image{margin-bottom:0}.listcomponent .items.image-align-left>article.item.has-image>div.image,.listcomponent .items.image-align-stagger>article.item.has-image:nth-child(odd)>div.image{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.listcomponent .items.image-align-left>article.item.has-image>section.content,.listcomponent .items.image-align-stagger>article.item.has-image:nth-child(odd)>section.content{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;margin-top:0;margin-left:1rem}.listcomponent .items.image-align-right>article.item.has-image>div.image,.listcomponent .items.image-align-stagger>article.item.has-image:nth-child(2n)>div.image,.listcomponent .items>div.image{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.listcomponent .items.image-align-right>article.item.has-image>section.content,.listcomponent .items.image-align-stagger>article.item.has-image:nth-child(2n)>section.content,.listcomponent .items>section.content{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;margin-top:0;margin-right:1rem}}.mediacomponent figure{width:100%;margin-bottom:0}.mediacomponent figure>figcaption>p:last-child{margin-bottom:0}.mediacomponent a.text{display:block}.mediacomponent a.text:hover{text-decoration:none}.mediacomponent a.text:hover span{text-decoration:underline}.mediacomponent a.text>i.fa{color:#868e96}.mediacomponent a.image{display:block}.mediacomponent a.image+a.text{margin-top:.5rem}.mediacomponent .rich>iframe{margin:0!important}.mediacomponent .video{width:100%;height:0;display:block;position:relative}.mediacomponent .video.four-three{padding-bottom:75%}.mediacomponent .video.sixteen-nine{padding-bottom:56.25%}.mediacomponent .video>iframe{top:0;left:0;border:0;width:100%;height:100%;position:absolute}.pagecomponent.page-title-hidden .content-container>article>header{display:none}.pagecomponent .content-container>article>div{margin-bottom:1rem}.scrolltotopbutton{opacity:0;outline:0;right:1rem;bottom:1rem;width:4rem;height:4rem;z-index:1000;position:fixed;display:block;overflow:hidden;visibility:hidden;white-space:nowrap;text-align:center;font-size:16px;line-height:4rem;-webkit-box-shadow:0 0 20px rgba(0,0,0,.2);box-shadow:0 0 20px rgba(0,0,0,.2);-webkit-transition:opacity .3s 0s,visibility 0s .3s,color .15s ease-in-out 0s,background-color .15s ease-in-out 0s;transition:opacity .3s 0s,visibility 0s .3s,color .15s ease-in-out 0s,background-color .15s ease-in-out 0s}.scrolltotopbutton.is-visible{opacity:1;visibility:visible}.scrolltotopbutton.fade-out{opacity:.5}.scrolltotopbutton:hover{opacity:1}@media (min-width:768px){.scrolltotopbutton{width:5rem;height:5rem;right:2rem;bottom:2rem;line-height:5rem}}@media (min-width:992px){.scrolltotopbutton{width:6rem;height:6rem;font-size:20px;line-height:6rem}}.tablecomponent .row>.column>.component{margin-bottom:1rem}.tilecomponent .items{-webkit-box-orient:horizontal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.tilecomponent .items,.tilecomponent .items>article.item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.tilecomponent .items>article.item{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 100%;flex:1 100%;padding:2%}.tilecomponent .items>article.item>section.content{margin-top:auto}.tilecomponent .items>article.item>section.content div.details>span{display:block;margin-right:0;margin-bottom:.25rem}@media (min-width:576px){.tilecomponent .items>article.item{-webkit-box-flex:1;-ms-flex:1 50%;flex:1 50%}}@media (min-width:768px){.tilecomponent .items>article.item{-webkit-box-flex:1;-ms-flex:1 33.3%;flex:1 33.3%}}@media (min-width:992px){.tilecomponent .items>article.item{-webkit-box-flex:1;-ms-flex:1 25%;flex:1 25%}}div.detail-fields a{color:inherit}div.detail-fields>ul{margin:0;padding:0;list-style:none}div.detail-fields>ul>li>dl,div.detail-fields>ul>li>dl>dd{margin:0;padding:0}div.detail-fields.block>ul>li{margin-bottom:1rem}div.detail-fields.block>ul>li dl dt{font-size:1rem;font-weight:700}div.detail-fields.block>ul>li dl dd{font-size:1rem}div.detail-fields.inline>ul>li{color:#868e96;display:inline-block;margin-right:.5rem}div.detail-fields.inline>ul>li dl dd,div.detail-fields.inline>ul>li dl dt{display:inline-block;font-size:1rem}div.detail-fields.hide-header>header,div.detail-fields.hide-icons>ul>li dl>dt>i,div.detail-fields.hide-names>ul>li dl>dt>span.name{display:none}.component.link{text-decoration:none}.component.link,.component.link>i.fa{display:inline-block}.component.link:active,.component.link:focus,.component.link:hover{text-decoration:none}.show-icons.hide-text .component.link{overflow:hidden;text-align:center;-webkit-transition:color .15s ease-in-out 0s,background-color .15s ease-in-out 0s,border-color .15s ease-in-out 0s;transition:color .15s ease-in-out 0s,background-color .15s ease-in-out 0s,border-color .15s ease-in-out 0s}.show-icons.hide-text .component.link>i.fa{display:block}.show-icons.hide-text .component.link.size-16{width:16px;height:16px;font-size:8px;line-height:16px}.show-icons.hide-text .component.link.size-16>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-24{width:24px;height:24px;font-size:12px;line-height:24px}.show-icons.hide-text .component.link.size-24>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-32{width:32px;height:32px;font-size:16px;line-height:32px}.show-icons.hide-text .component.link.size-32>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-48{width:48px;height:48px;font-size:24px;line-height:48px}.show-icons.hide-text .component.link.size-48>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-64{width:64px;height:64px;font-size:32px;line-height:64px}.show-icons.hide-text .component.link.size-64>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-96{width:96px;height:96px;font-size:48px;line-height:96px}.show-icons.hide-text .component.link.size-96>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-128{width:128px;height:128px;font-size:64px;line-height:128px}.show-icons.hide-text .component.link.size-128>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.hide-icons .component.link>i.fa,.hide-text .component.link>span.text{display:none}.component.slide .slide-caption.title-after>h1,.component.slide .slide-caption.title-after>h2,.component.slide .slide-caption.title-after>h3,.component.slide .slide-caption.title-after>h4,.component.slide .slide-caption.title-after>h5,.component.slide .slide-caption.title-after>h6{margin-bottom:0} \ No newline at end of file +.baselistcomponent .items>article.item{margin-bottom:1rem}.baselistcomponent .items>article.item:last-child{margin-bottom:0}.baselistcomponent .items>article.item>div.image{position:relative}.baselistcomponent .items>article.item>div.image a{display:block}.baselistcomponent .items>article.item>div.image img{margin:0;display:inline-block}.baselistcomponent .items>article.item>div.image div.image-overlay{top:0;left:0;right:0;bottom:0;width:100%;height:100%;opacity:0;overflow:hidden;position:absolute;-webkit-transition:.5s ease;transition:.5s ease;background-color:rgba(33,37,41,.5)}.baselistcomponent .items>article.item>div.image div.image-overlay>div.inner{top:50%;left:0;width:100%;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.baselistcomponent .items>article.item>div.image div.image-overlay>div.inner>div.icon{font-size:32px;text-align:center;color:#fff}.baselistcomponent .items>article.item>div.image div.image-overlay>div.inner>div.text{text-align:center;padding:0 1rem}.baselistcomponent .items>article.item>div.image div.image-overlay>div.inner>div.text>*{margin:0;padding:0;font-size:1.25rem;color:#fff}.baselistcomponent .items>article.item>div.image:hover div.image-overlay,.baselistcomponent .items>article.item>div.image a:focus div.image-overlay{opacity:1}.baselistcomponent .items>article.item>section.content{margin-top:1rem}.baselistcomponent .items>article.item>section.content header{margin-bottom:.5rem}.baselistcomponent .items>article.item>section.content header>*{margin-bottom:0}.baselistcomponent .items>article.item>section.content header a{color:inherit}.baselistcomponent .items>article.item>section.content div.details{color:#868e96}.baselistcomponent .items>article.item>section.content div.details>span{margin-right:.5rem}.baselistcomponent .items>article.item>section.content div.details a{color:inherit}.baselistcomponent .items>article.item>section.content footer{margin-top:1rem}.baselistcomponent .items>article.item>section.content>div{margin-bottom:.5rem}.baselistcomponent ul.pagination{margin-top:2rem;margin-bottom:0}.contentcomponent>header a{color:inherit}.contentcomponent>div.content:after{content:"";display:table;clear:both}.featurecomponent article.feature>a.feature{display:block;text-decoration:none;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out}.featurecomponent article.feature>a.feature:focus,.featurecomponent article.feature>a.feature:hover{text-decoration:none}.featurecomponent article.feature div.icon{margin-bottom:.5rem}.featurecomponent article.feature div.summary>p:last-child{margin-bottom:0}.featurecomponent article.feature footer{margin-top:1rem}.imagecomponent figure{width:100%;margin-bottom:0}.imagecomponent figure>figcaption>p:last-child{margin-bottom:0}.imagecomponent a.image{display:block}@media (min-width:768px){.listcomponent .items>article.item{display:block}.listcomponent .items.image-align-left>article.item,.listcomponent .items.image-align-right>article.item,.listcomponent .items.image-align-stagger>article.item{display:-webkit-box;display:-ms-flexbox;display:flex}.listcomponent .items.image-align-left>article.item>div.image,.listcomponent .items.image-align-right>article.item>div.image,.listcomponent .items.image-align-stagger>article.item>div.image{margin-bottom:0}.listcomponent .items.image-align-left>article.item.has-image>div.image,.listcomponent .items.image-align-stagger>article.item.has-image:nth-child(odd)>div.image{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.listcomponent .items.image-align-left>article.item.has-image>section.content,.listcomponent .items.image-align-stagger>article.item.has-image:nth-child(odd)>section.content{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2;margin-top:0;margin-left:1rem}.listcomponent .items.image-align-right>article.item.has-image>div.image,.listcomponent .items.image-align-stagger>article.item.has-image:nth-child(2n)>div.image,.listcomponent .items>div.image{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.listcomponent .items.image-align-right>article.item.has-image>section.content,.listcomponent .items.image-align-stagger>article.item.has-image:nth-child(2n)>section.content,.listcomponent .items>section.content{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;margin-top:0;margin-right:1rem}}.mediacomponent figure{width:100%;margin-bottom:0}.mediacomponent figure>figcaption>p:last-child{margin-bottom:0}.mediacomponent a.text{display:block}.mediacomponent a.text:hover{text-decoration:none}.mediacomponent a.text:hover span{text-decoration:underline}.mediacomponent a.text>i.fa{color:#868e96}.mediacomponent a.image{display:block}.mediacomponent a.image+a.text{margin-top:.5rem}.mediacomponent .rich>iframe{margin:0!important}.mediacomponent .video{width:100%;height:0;display:block;position:relative}.mediacomponent .video.four-three{padding-bottom:75%}.mediacomponent .video.sixteen-nine{padding-bottom:56.25%}.mediacomponent .video>iframe{top:0;left:0;border:0;width:100%;height:100%;position:absolute}.pagecomponent.page-title-hidden .content-container>article>header{display:none}.pagecomponent .content-container>article>div{margin-bottom:1rem}.scrolltotopbutton{opacity:0;outline:0;right:1rem;bottom:1rem;width:4rem;height:4rem;z-index:1000;position:fixed;display:block;overflow:hidden;visibility:hidden;white-space:nowrap;text-align:center;font-size:16px;line-height:4rem;-webkit-box-shadow:0 0 20px rgba(0,0,0,.2);box-shadow:0 0 20px rgba(0,0,0,.2);-webkit-transition:opacity .3s 0s,visibility 0s .3s,color .15s ease-in-out 0s,background-color .15s ease-in-out 0s;transition:opacity .3s 0s,visibility 0s .3s,color .15s ease-in-out 0s,background-color .15s ease-in-out 0s}.scrolltotopbutton.is-visible{opacity:1;visibility:visible}.scrolltotopbutton.fade-out{opacity:.5}.scrolltotopbutton:hover{opacity:1}@media (min-width:768px){.scrolltotopbutton{width:5rem;height:5rem;right:2rem;bottom:2rem;line-height:5rem}}@media (min-width:992px){.scrolltotopbutton{width:6rem;height:6rem;font-size:20px;line-height:6rem}}.tablecomponent .row>.column>.component{margin-bottom:1rem}.tilecomponent .items{-webkit-box-orient:horizontal;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.tilecomponent .items,.tilecomponent .items>article.item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.tilecomponent .items>article.item{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 100%;flex:1 100%;padding:2%}.tilecomponent .items>article.item>section.content{margin-top:auto}.tilecomponent .items>article.item>section.content div.details>span{display:block;margin-right:0;margin-bottom:.25rem}@media (min-width:576px){.tilecomponent .items>article.item{-webkit-box-flex:1;-ms-flex:1 50%;flex:1 50%}}@media (min-width:768px){.tilecomponent .items>article.item{-webkit-box-flex:1;-ms-flex:1 33.3%;flex:1 33.3%}}@media (min-width:992px){.tilecomponent .items>article.item{-webkit-box-flex:1;-ms-flex:1 25%;flex:1 25%}}.togglecomponent{margin:0 0 1rem;border:1px solid #e9ecef}.togglecomponent>header{cursor:pointer;padding:1rem;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.togglecomponent>header>*{margin:0;font-size:inherit}.togglecomponent>header>:before{opacity:.75;content:"\F0FE";display:inline-block;padding-right:.5rem;font-family:FontAwesome}.togglecomponent>header.opened>:before{content:"\F146"}.togglecomponent>header.opened+div.content{display:block}.togglecomponent>header:focus,.togglecomponent>header:hover{background-color:rgba(0,0,0,.1)}.togglecomponent>div.content{display:none;padding:1rem;border-top-width:1px;border-top-style:dotted;border-top-color:inherit}div.detail-fields a{color:inherit}div.detail-fields>ul{margin:0;padding:0;list-style:none}div.detail-fields>ul>li>dl,div.detail-fields>ul>li>dl>dd{margin:0;padding:0}div.detail-fields.block>ul>li{margin-bottom:1rem}div.detail-fields.block>ul>li dl dt{font-size:1rem;font-weight:700}div.detail-fields.block>ul>li dl dd{font-size:1rem}div.detail-fields.inline>ul>li{color:#868e96;display:inline-block;margin-right:.5rem}div.detail-fields.inline>ul>li dl dd,div.detail-fields.inline>ul>li dl dt{display:inline-block;font-size:1rem}div.detail-fields.hide-header>header,div.detail-fields.hide-icons>ul>li dl>dt>i,div.detail-fields.hide-names>ul>li dl>dt>span.name{display:none}.component.link{text-decoration:none}.component.link,.component.link>i.fa{display:inline-block}.component.link:active,.component.link:focus,.component.link:hover{text-decoration:none}.show-icons.hide-text .component.link{overflow:hidden;text-align:center;-webkit-transition:color .15s ease-in-out 0s,background-color .15s ease-in-out 0s,border-color .15s ease-in-out 0s;transition:color .15s ease-in-out 0s,background-color .15s ease-in-out 0s,border-color .15s ease-in-out 0s}.show-icons.hide-text .component.link>i.fa{display:block}.show-icons.hide-text .component.link.size-16{width:16px;height:16px;font-size:8px;line-height:16px}.show-icons.hide-text .component.link.size-16>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-24{width:24px;height:24px;font-size:12px;line-height:24px}.show-icons.hide-text .component.link.size-24>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-32{width:32px;height:32px;font-size:16px;line-height:32px}.show-icons.hide-text .component.link.size-32>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-48{width:48px;height:48px;font-size:24px;line-height:48px}.show-icons.hide-text .component.link.size-48>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-64{width:64px;height:64px;font-size:32px;line-height:64px}.show-icons.hide-text .component.link.size-64>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-96{width:96px;height:96px;font-size:48px;line-height:96px}.show-icons.hide-text .component.link.size-96>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.show-icons.hide-text .component.link.size-128{width:128px;height:128px;font-size:64px;line-height:128px}.show-icons.hide-text .component.link.size-128>i.fa{top:50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.hide-icons .component.link>i.fa,.hide-text .component.link>span.text{display:none}.component.slide .slide-caption.title-after>h1,.component.slide .slide-caption.title-after>h2,.component.slide .slide-caption.title-after>h3,.component.slide .slide-caption.title-after>h4,.component.slide .slide-caption.title-after>h5,.component.slide .slide-caption.title-after>h6{margin-bottom:0} \ No newline at end of file diff --git a/client/src/bundles/bundle.js b/client/src/bundles/bundle.js index ccd5625..587c8c9 100644 --- a/client/src/bundles/bundle.js +++ b/client/src/bundles/bundle.js @@ -18,3 +18,4 @@ require('forms/ToggleGroup.js'); require('components/ScrollToTopButton.js'); require('components/TagCloudComponent.js'); +require('components/ToggleComponent.js'); diff --git a/client/src/components/ToggleComponent.js b/client/src/components/ToggleComponent.js new file mode 100644 index 0000000..6390d4d --- /dev/null +++ b/client/src/components/ToggleComponent.js @@ -0,0 +1,35 @@ +/* Toggle Component +===================================================================================================================== */ + +import $ from 'jquery'; + +$(function() { + + // Handle Toggle Components: + + $('.togglecomponent').each(function() { + + var $self = $(this); + var $header = $self.find('header'); + + // Detect Start Open Status: + + if ($self.data('start-open')) { + $header.addClass('opened'); + } + + // Handle Header Click: + + $header.on('click', function() { + $(this).toggleClass('opened'); + }); + + // Handle Header Link Click: + + $header.find('a').on('click', function(e) { + e.stopPropagation(); + }); + + }); + +}); diff --git a/client/src/styles/bundle.scss b/client/src/styles/bundle.scss index fc28659..2c35918 100644 --- a/client/src/styles/bundle.scss +++ b/client/src/styles/bundle.scss @@ -29,6 +29,7 @@ @import "components/ScrollToTopButton"; @import "components/TableComponent"; @import "components/TileComponent"; +@import "components/ToggleComponent"; // Import Extension Styles: diff --git a/client/src/styles/components/ToggleComponent.scss b/client/src/styles/components/ToggleComponent.scss new file mode 100644 index 0000000..591527d --- /dev/null +++ b/client/src/styles/components/ToggleComponent.scss @@ -0,0 +1,59 @@ +/* Toggle Component Styles +===================================================================================================================== */ + +.togglecomponent { + + margin: 0 0 $spacer; + border: $border-width solid $border-color; + + > header { + + cursor: pointer; + padding: $spacer; + transition: $transition-base; + + > * { + + margin: 0; + font-size: inherit; + + &:before { + opacity: 0.75; + content: "\f0fe"; + display: inline-block; + padding-right: $spacer-half; + font-family: 'FontAwesome'; + } + + } + + &.opened { + + > *:before { + content: "\f146"; + } + + } + + &.opened + div.content { + display: block; + } + + @include hover-focus { + background-color: rgba(0, 0, 0, 0.1); + } + + } + + > div.content { + + display: none; + padding: $spacer; + + border-top-width: $border-width; + border-top-style: dotted; + border-top-color: inherit; + + } + +} diff --git a/src/Components/ToggleComponent.php b/src/Components/ToggleComponent.php new file mode 100644 index 0000000..bf42591 --- /dev/null +++ b/src/Components/ToggleComponent.php @@ -0,0 +1,126 @@ +=5.6.0 + * + * For full copyright and license information, please view the + * LICENSE.md file that was distributed with this source code. + * + * @package SilverWare\Components + * @author Colin Tucker + * @copyright 2018 Praxis Interactive + * @license https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause + * @link https://github.com/praxisnetau/silverware + */ + +namespace SilverWare\Components; + +use SilverStripe\Forms\CheckboxField; +use SilverWare\Forms\FieldSection; + +/** + * An extension of the content component class for a toggle component. + * + * @package SilverWare\Components + * @author Colin Tucker + * @copyright 2018 Praxis Interactive + * @license https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause + * @link https://github.com/praxisnetau/silverware + */ +class ToggleComponent extends ContentComponent +{ + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'Toggle Component'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Toggle Components'; + + /** + * Description of this object. + * + * @var string + * @config + */ + private static $description = 'A component to show a toggleable block of content'; + + /** + * Icon file for this object. + * + * @var string + * @config + */ + private static $icon = 'silverware/silverware: admin/client/dist/images/icons/ToggleComponent.png'; + + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_ToggleComponent'; + + /** + * Maps field names to field types for this object. + * + * @var array + * @config + */ + private static $db = [ + 'StartOpen' => 'Boolean' + ]; + + /** + * Defines the default values for the fields of this object. + * + * @var array + * @config + */ + private static $defaults = [ + 'StartOpen' => 0 + ]; + + /** + * Answers an array of HTML tag attributes for the object. + * + * @return array + */ + public function getAttributes() + { + $attributes = array_merge( + parent::getAttributes(), + [ + 'data-start-open' => $this->dbObject('StartOpen')->NiceAsBoolean() + ] + ); + + return $attributes; + } + + /** + * Event method called before the receiver is written to the database. + * + * @return void + */ + public function onBeforeWrite() + { + // Call Parent Event: + + parent::onBeforeWrite(); + + // Enforce Visible Title: + + $this->HideTitle = 0; + } +}