diff --git a/.eslintrc b/.eslintrc
index ce920a4fa..e3797feb7 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,13 +1,11 @@
{
"parser": "@babel/eslint-parser",
"plugins": [
- "jquery",
"prettier",
"spellcheck"
],
"extends": [
"airbnb",
- "plugin:jquery/deprecated",
"prettier"
],
"rules": {
@@ -28,7 +26,7 @@
"no-constant-condition": 2,
"no-new": 0,
"no-param-reassign": 0,
- "no-shadow" : 2,
+ "no-shadow": 2,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
@@ -56,20 +54,25 @@
"identifiers": false,
"lang": "en_US",
"skipWords": [
- "accessor",
- "checkbox",
- "dom",
- "dropdown",
- "Drupal",
- "DXPR",
- "Glyphicons",
+ "accessor",
+ "checkbox",
+ "dom",
+ "dropdown",
+ "Drupal",
+ "DXPR",
+ "Glyphicons",
"jslint",
- "Jur",
+ "Jur",
"multivar",
- "namespace",
- "Pixeden",
+ "namespace",
+ "Pixeden",
"plusplus",
- "undef"
+ "undef",
+ "touchstart",
+ "Rect",
+ "Breakpoint",
+ "keyup",
+ "calc"
],
"skipIfMatch": [
"{\\w+}", // E.g. "{paramName}"
@@ -97,7 +100,6 @@
"DXPRTextEditor": true,
"fetch": true,
"getBootstrapBreakPoints": true,
- "jQuery": true,
"liveEditingManager": true,
"matchMedia": true,
"Modernizr": true,
@@ -107,5 +109,5 @@
"Twig": true,
"window": true,
"WOW": true
- },
-}
\ No newline at end of file
+ }
+}
diff --git a/Gruntfile.js b/Gruntfile.js
index 6b5637022..e8edf2b85 100755
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -1,89 +1,106 @@
-module.exports = function(grunt) {
- const sass = require('sass');
+const sass = require("sass");
+const autoprefixer = require("autoprefixer");
+const postcssPxtorem = require("postcss-pxtorem");
+module.exports = function (grunt) {
grunt.initConfig({
- pkg: grunt.file.readJSON('package.json'),
+ pkg: grunt.file.readJSON("package.json"),
babel: {
options: {
- sourceMap: false
+ sourceMap: false,
},
dist: {
files: {
- 'js/minified/dxpr-theme-full-screen-search.min.js': 'js/dist/dxpr-theme-full-screen-search.js',
- 'js/minified/dxpr-theme-header.min.js': 'js/dist/dxpr-theme-header.js',
- 'js/minified/dxpr-theme-multilevel-mobile-nav.min.js': 'js/dist/dxpr-theme-multilevel-mobile-nav.js',
- 'js/minified/dxpr-theme-settings.admin.min.js': 'js/dist/dxpr-theme-settings.admin.js',
- 'js/minified/dxpr-theme-tabs.min.js': 'js/dist/dxpr-theme-tabs.js',
- }
- }
+ "js/minified/dxpr-theme-full-screen-search.min.js":
+ "js/dist/dxpr-theme-full-screen-search.js",
+ "js/minified/dxpr-theme-header.min.js":
+ "js/dist/dxpr-theme-header.js",
+ "js/minified/dxpr-theme-multilevel-mobile-nav.min.js":
+ "js/dist/dxpr-theme-multilevel-mobile-nav.js",
+ "js/minified/dxpr-theme-settings.admin.min.js":
+ "js/dist/dxpr-theme-settings.admin.js",
+ "js/minified/dxpr-theme-tabs.min.js": "js/dist/dxpr-theme-tabs.js",
+ },
+ },
},
terser: {
options: {
- ecma: 2015
+ ecma: 2015,
},
main: {
files: {
- 'js/minified/classie.min.js': ['vendor/classie.js'],
- 'js/minified/dxpr-theme-full-screen-search.min.js': ['js/minified/dxpr-theme-full-screen-search.min.js'],
- 'js/minified/dxpr-theme-header.min.js': ['js/minified/dxpr-theme-header.min.js'],
- 'js/minified/dxpr-theme-multilevel-mobile-nav.min.js': ['js/minified/dxpr-theme-multilevel-mobile-nav.min.js'],
- 'js/minified/dxpr-theme-settings.admin.min.js': ['js/minified/dxpr-theme-settings.admin.min.js'],
- 'js/minified/dxpr-theme-tabs.min.js': ['js/minified/dxpr-theme-tabs.min.js'],
- }
- }
+ "js/minified/classie.min.js": ["vendor/classie.js"],
+ "js/minified/dxpr-theme-full-screen-search.min.js": [
+ "js/minified/dxpr-theme-full-screen-search.min.js",
+ ],
+ "js/minified/dxpr-theme-header.min.js": [
+ "js/minified/dxpr-theme-header.min.js",
+ ],
+ "js/minified/dxpr-theme-multilevel-mobile-nav.min.js": [
+ "js/minified/dxpr-theme-multilevel-mobile-nav.min.js",
+ ],
+ "js/minified/dxpr-theme-settings.admin.min.js": [
+ "js/minified/dxpr-theme-settings.admin.min.js",
+ ],
+ "js/minified/dxpr-theme-tabs.min.js": [
+ "js/minified/dxpr-theme-tabs.min.js",
+ ],
+ },
+ },
},
sass: {
options: {
implementation: sass,
sourceMap: false,
- outputStyle: 'compressed'
+ outputStyle: "compressed",
},
dist: {
- files: [{
- expand: true,
- cwd: 'scss/',
- src: '**/*.scss',
- dest: 'css/',
- ext: '.css',
- extDot: 'last'
- }]
- }
+ files: [
+ {
+ expand: true,
+ cwd: "scss/",
+ src: "**/*.scss",
+ dest: "css/",
+ ext: ".css",
+ extDot: "last",
+ },
+ ],
+ },
},
postcss: {
options: {
processors: [
- require('autoprefixer'),
- require('postcss-pxtorem')({
+ autoprefixer,
+ postcssPxtorem({
rootValue: 16, // The root element font size.
unitPrecision: 5, // The decimal precision.
- propList: ['*'], // Properties to convert.
+ propList: ["*"], // Properties to convert.
selectorBlackList: [], // Selectors to ignore.
replace: true, // Replace the original value.
mediaQuery: true, // Allow px to be converted in media queries.
- minPixelValue: 0 // Set the minimum pixel value to replace.
- })
- ]
+ minPixelValue: 0, // Set the minimum pixel value to replace.
+ }),
+ ],
},
dist: {
- src: 'css/**/*.css'
- }
+ src: "css/**/*.css",
+ },
},
watch: {
css: {
- files: ['scss/*.scss', 'scss/**/*.scss'],
- tasks: ['sass', 'postcss']
+ files: ["scss/*.scss", "scss/**/*.scss"],
+ tasks: ["sass", "postcss"],
},
js: {
- files: ['js/dist/*.js'],
- tasks: ['babel', 'terser']
- }
- }
+ files: ["js/dist/*.js"],
+ tasks: ["babel", "terser"],
+ },
+ },
});
-
- grunt.loadNpmTasks('grunt-babel');
- grunt.loadNpmTasks('grunt-terser');
- grunt.loadNpmTasks('grunt-sass');
- grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.loadNpmTasks('@lodder/grunt-postcss');
- grunt.registerTask('default', ['watch']);
+ grunt.loadNpmTasks("grunt-babel");
+ grunt.loadNpmTasks("grunt-terser");
+ grunt.loadNpmTasks("grunt-sass");
+ grunt.loadNpmTasks("grunt-contrib-watch");
+ grunt.loadNpmTasks("@lodder/grunt-postcss");
+ grunt.registerTask("default", ["watch"]);
};
diff --git a/config/install/dxpr_theme.settings.yml b/config/install/dxpr_theme.settings.yml
index a83862beb..3fa8170b0 100644
--- a/config/install/dxpr_theme.settings.yml
+++ b/config/install/dxpr_theme.settings.yml
@@ -210,5 +210,4 @@ hidden_regions:
popover_placement: top
tooltip_placement: 'auto top'
modal_enabled: 0
-modal_jquery_ui_bridge: 0
cdn_provider: ''
diff --git a/css/animations-dxpr.css b/css/animations-dxpr.css
new file mode 100644
index 000000000..5484e9f01
--- /dev/null
+++ b/css/animations-dxpr.css
@@ -0,0 +1 @@
+@-webkit-keyframes bounce-dxpr{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-1.875rem);transform:translateY(-1.875rem)}60%{-webkit-transform:translateY(-0.9375rem);transform:translateY(-0.9375rem)}}@keyframes bounce-dxpr{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-1.875rem);transform:translateY(-1.875rem)}60%{-webkit-transform:translateY(-0.9375rem);transform:translateY(-0.9375rem)}}.bounce-dxpr{-webkit-animation:bounce-dxpr 1s;animation:bounce-dxpr 1s}@-webkit-keyframes flash-dxpr{0%,50%,100%{opacity:1}25%,75%{opacity:0}}@keyframes flash-dxpr{0%,50%,100%{opacity:1}25%,75%{opacity:0}}.flash-dxpr{-webkit-animation:flash-dxpr 1s;animation:flash-dxpr 1s}@-webkit-keyframes pulse-dxpr{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse-dxpr{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}.pulse-dxpr{-webkit-animation:pulse-dxpr 1s;animation:pulse-dxpr 1s}@-webkit-keyframes fade-in-dxpr{from{opacity:0}to{opacity:1}}@keyframes fade-in-dxpr{from{opacity:0}to{opacity:1}}.fade-in-dxpr{-webkit-animation:fade-in-dxpr 1s;animation:fade-in-dxpr 1s}@-webkit-keyframes bounce-in-down-dxpr{0%{opacity:0;-webkit-transform:translateY(-125rem);transform:translateY(-125rem)}60%{opacity:1;-webkit-transform:translateY(1.875rem);transform:translateY(1.875rem)}80%{-webkit-transform:translateY(-0.625rem);transform:translateY(-0.625rem)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bounce-in-down-dxpr{0%{opacity:0;-webkit-transform:translateY(-125rem);transform:translateY(-125rem)}60%{opacity:1;-webkit-transform:translateY(1.875rem);transform:translateY(1.875rem)}80%{-webkit-transform:translateY(-0.625rem);transform:translateY(-0.625rem)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}.bounce-in-down-dxpr{-webkit-animation:bounce-in-down-dxpr 1s;animation:bounce-in-down-dxpr 1s}@-webkit-keyframes bounce-in-up-dxpr{0%{opacity:0;-webkit-transform:translateY(125rem);transform:translateY(125rem)}60%{opacity:1;-webkit-transform:translateY(-1.875rem);transform:translateY(-1.875rem)}80%{-webkit-transform:translateY(0.625rem);transform:translateY(0.625rem)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bounce-in-up-dxpr{0%{opacity:0;-webkit-transform:translateY(125rem);transform:translateY(125rem)}60%{opacity:1;-webkit-transform:translateY(-1.875rem);transform:translateY(-1.875rem)}80%{-webkit-transform:translateY(0.625rem);transform:translateY(0.625rem)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}.bounce-in-up-dxpr{-webkit-animation:bounce-in-up-dxpr 1s;animation:bounce-in-up-dxpr 1s}@-webkit-keyframes fade-in-down-dxpr{from{opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-down-dxpr{from{opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.fade-in-down-dxpr{-webkit-animation:fade-in-down-dxpr 1s;animation:fade-in-down-dxpr 1s}@-webkit-keyframes fade-in-up-dxpr{from{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-in-up-dxpr{from{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.fade-in-up-dxpr{-webkit-animation:fade-in-up-dxpr 1s;animation:fade-in-up-dxpr 1s}
\ No newline at end of file
diff --git a/css/base/layout.css b/css/base/layout.css
index dc7e6e848..10c386c8e 100644
--- a/css/base/layout.css
+++ b/css/base/layout.css
@@ -1 +1 @@
-html{overflow:hidden;overflow:hidden visible}body{background:var(--dxt-color-body);background-attachment:fixed;background-position:center center;background-size:cover;font-size:var(--dxt-setting-body-font-size)}.dxpr-theme-boxed-container{background:#fff;margin:0 auto;max-width:var(--dxt-setting-box-max-width)}.row{margin-left:calc(-1*var(--dxt-setting-gutter-horizontal)/2);margin-right:calc(-1*var(--dxt-setting-gutter-horizontal)/2)}.row>*{margin-bottom:var(--dxt-setting-gutter-vertical);padding-left:calc(var(--dxt-setting-gutter-horizontal)/2);padding-right:calc(var(--dxt-setting-gutter-horizontal)/2)}.container{max-width:var(--dxt-setting-layout-max-width);padding-left:var(--dxt-setting-gutter-container);padding-right:var(--dxt-setting-gutter-container)}.navbar-container.dxpr-theme-fluid,.page-title-container.dxpr-theme-fluid,.container-fluid{padding-left:calc(var(--dxt-setting-gutter-horizontal)/2);padding-right:calc(var(--dxt-setting-gutter-horizontal)/2)}@media screen and (width <= 75rem){.container{padding-left:calc(var(--dxt-setting-gutter-container-mobile)/2);padding-right:calc(var(--dxt-setting-gutter-container-mobile)/2)}.navbar-container.dxpr-theme-fluid,.page-title-container.dxpr-theme-fluid,.container-fluid{padding-left:calc(var(--dxt-setting-gutter-horizontal-mobile)/2);padding-right:calc(var(--dxt-setting-gutter-horizontal-mobile)/2)}.row{margin-left:calc(-1*var(--dxt-setting-gutter-horizontal-mobile)/2);margin-right:calc(-1*var(--dxt-setting-gutter-horizontal-mobile)/2)}.row>*{margin-bottom:var(--dxt-setting-gutter-vertical-mobile);padding-left:calc(var(--dxt-setting-gutter-horizontal-mobile)/2);padding-right:calc(var(--dxt-setting-gutter-horizontal-mobile)/2)}}body.full-width-content .main-container>.row,body.full-width-content .main-container>.row>section,body.full-width-content .main-container{margin:0;padding:0;width:100%}body.full-width-content .main-container>.row>aside{display:none}.container-row .container-col{margin-bottom:0}.block-hr{display:none}.region-sidebar-first .block,.region-sidebar-second .block{margin-bottom:var(--dxt-setting-gutter-vertical)}.region-block-design .block{background-color:var(--dxt-setting-block-background);border-color:var(--dxt-setting-block-border-color);border-radius:var(--dxt-setting-block-border-radius);border-style:solid;border-width:var(--dxt-setting-block-border);padding:var(--dxt-setting-block-padding)}.region-block-design .block-title{background-color:var(--dxt-setting-title-background);border-color:var(--dxt-setting-title-border-color);border-radius:var(--dxt-setting-title-border-radius);border-style:solid;border-width:var(--dxt-setting-title-border);font-size:var(--dxt-setting-title-font-size);padding:var(--dxt-setting-title-padding);text-align:var(--dxt-setting-title-align)}.region-block-design .block-hr{border-top-color:var(--dxt-setting-block-divider-color);border-top-width:var(--dxt-setting-block-divider-thickness);display:block;margin:var(--dxt-setting-block-divider-spacing) auto var(--dxt-setting-block-divider-spacing) var(--dxt-setting-divider-position-block);width:var(--dxt-setting-block-divider-length)}@media screen and (width <= 48rem){.region-block-design .block-title{font-size:var(--dxt-setting-title-font-size-mobile)}}#block-system-help{margin-bottom:0}.navbar{margin-bottom:0}img{height:auto;max-width:100%}html.js .kenburnimg img{max-width:none}.node .submitted{display:block;margin-bottom:1.875rem;padding:0.9375rem 0}.node.node-blog-node-teaser .links{margin-top:-0.9375rem}.teaser{margin-bottom:1.875rem}.region-slider .block{margin-bottom:0}.dxpr-theme-footer{background-color:var(--dxt-color-footer);border-color:var(--dxt-color-footertext);color:var(--dxt-color-footertext);padding:0}.dxpr-theme-footer .footer-container{padding-bottom:0;padding-top:0.9375rem}.dxpr-theme-footer h1,.dxpr-theme-footer h2,.dxpr-theme-footer h3,.dxpr-theme-footer h4,.dxpr-theme-footer h5,.dxpr-theme-footer h6{color:var(--dxt-color-footertext)}.dxpr-theme-footer a{color:var(--dxt-color-footertext)}.dxpr-theme-footer a:hover,.dxpr-theme-footer a:focus{color:var(--dxt-color-footertext)}.dxpr-theme-footer ul.contact-info{padding:1em 0}.dxpr-theme-footer ul.contact-info li{background:none;font-size:1.6em;line-height:1.7em;padding:0}.dxpr-theme-footer .block{margin-bottom:0;padding-bottom:0}.dxpr-theme-footer .badge{font-size:0.6875rem;font-weight:normal;opacity:.9}.html--dxpr-theme-sticky-footer{height:100%}.html--dxpr-theme-sticky-footer body,.html--dxpr-theme-sticky-footer .dialog-off-canvas-main-canvas{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.html--dxpr-theme-sticky-footer .wrap-containers{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.html--dxpr-theme-sticky-footer .body--dxpr-theme-nav-desktop .dxpr-theme-header--top.dxpr-theme-header--navbar-pull-down{min-height:2.8125rem}.html--dxpr-theme-sticky-footer .body--dxpr-theme-nav-desktop .dxpr-theme-header--top.affix{min-height:3.75rem}.html--dxpr-theme-sticky-footer footer{-ms-flex-negative:0;flex-shrink:0}.region-content{padding:0}
\ No newline at end of file
+html{overflow:hidden;overflow:hidden visible}body{background:var(--dxt-color-body);background-attachment:fixed;background-position:center center;background-size:cover;font-size:var(--dxt-setting-body-font-size)}.dxpr-theme-boxed-container{background:#fff;margin:0 auto;max-width:var(--dxt-setting-box-max-width)}.row{margin-left:calc(-1*var(--dxt-setting-gutter-horizontal)/2);margin-right:calc(-1*var(--dxt-setting-gutter-horizontal)/2)}.row>*{margin-bottom:var(--dxt-setting-gutter-vertical);padding-left:calc(var(--dxt-setting-gutter-horizontal)/2);padding-right:calc(var(--dxt-setting-gutter-horizontal)/2)}.container{max-width:var(--dxt-setting-layout-max-width);padding-left:var(--dxt-setting-gutter-container);padding-right:var(--dxt-setting-gutter-container)}.navbar-container.dxpr-theme-fluid,.page-title-container.dxpr-theme-fluid,.container-fluid{padding-left:calc(var(--dxt-setting-gutter-horizontal)/2);padding-right:calc(var(--dxt-setting-gutter-horizontal)/2)}@media screen and (width <= 75rem){.container{padding-left:calc(var(--dxt-setting-gutter-container-mobile)/2);padding-right:calc(var(--dxt-setting-gutter-container-mobile)/2)}.navbar-container.dxpr-theme-fluid,.page-title-container.dxpr-theme-fluid,.container-fluid{padding-left:calc(var(--dxt-setting-gutter-horizontal-mobile)/2);padding-right:calc(var(--dxt-setting-gutter-horizontal-mobile)/2)}.row{margin-left:calc(-1*var(--dxt-setting-gutter-horizontal-mobile)/2);margin-right:calc(-1*var(--dxt-setting-gutter-horizontal-mobile)/2)}.row>*{margin-bottom:var(--dxt-setting-gutter-vertical-mobile);padding-left:calc(var(--dxt-setting-gutter-horizontal-mobile)/2);padding-right:calc(var(--dxt-setting-gutter-horizontal-mobile)/2)}}body.full-width-content .main-container>.row,body.full-width-content .main-container>.row>section,body.full-width-content .main-container{margin:0;padding:0;width:100%}body.full-width-content .main-container>.row>aside{display:none}.container-row .container-col{margin-bottom:0}.block-hr{display:none}.region-sidebar-first .block,.region-sidebar-second .block{margin-bottom:var(--dxt-setting-gutter-vertical)}.region-block-design .block{background-color:var(--dxt-setting-block-background);border-color:var(--dxt-setting-block-border-color);border-radius:var(--dxt-setting-block-border-radius);border-style:solid;border-width:var(--dxt-setting-block-border);padding:var(--dxt-setting-block-padding)}.region-block-design .block-title{background-color:var(--dxt-setting-title-background);border-color:var(--dxt-setting-title-border-color);border-radius:var(--dxt-setting-title-border-radius);border-style:solid;border-width:var(--dxt-setting-title-border);font-size:var(--dxt-setting-title-font-size);padding:var(--dxt-setting-title-padding);text-align:var(--dxt-setting-title-align)}.region-block-design .block-hr{border-top-color:var(--dxt-setting-block-divider-color);border-top-width:var(--dxt-setting-block-divider-thickness);display:block;margin:var(--dxt-setting-block-divider-spacing) auto var(--dxt-setting-block-divider-spacing) var(--dxt-setting-divider-position-block);width:var(--dxt-setting-block-divider-length)}@media screen and (width <= 48rem){.region-block-design .block-title{font-size:var(--dxt-setting-title-font-size-mobile)}}#block-system-help{margin-bottom:0}.navbar{margin-bottom:0}img{height:auto;max-width:100%}html.js .kenburnimg img{max-width:none}.node .submitted{display:block;margin-bottom:1.875rem;padding:0.9375rem 0}.node.node-blog-node-teaser .links{margin-top:-0.9375rem}.teaser{margin-bottom:1.875rem}.region-slider .block{margin-bottom:0}.dxpr-theme-footer{background-color:var(--dxt-color-footer);border-color:var(--dxt-color-footertext);color:var(--dxt-color-footertext);padding:0}.dxpr-theme-footer .footer-container{padding-bottom:0;padding-top:0.9375rem}.dxpr-theme-footer h1,.dxpr-theme-footer h2,.dxpr-theme-footer h3,.dxpr-theme-footer h4,.dxpr-theme-footer h5,.dxpr-theme-footer h6{color:var(--dxt-color-footertext)}.dxpr-theme-footer a{color:var(--dxt-color-footertext)}.dxpr-theme-footer a:hover,.dxpr-theme-footer a:focus{color:var(--dxt-color-footertext)}.dxpr-theme-footer ul.contact-info{padding:1em 0}.dxpr-theme-footer ul.contact-info li{background:none;font-size:1.6em;line-height:1.7em;padding:0}.dxpr-theme-footer .block{margin-bottom:0;padding-bottom:0}.dxpr-theme-footer .badge{font-size:0.6875rem;font-weight:normal;opacity:.9}.html--dxpr-theme-sticky-footer{height:100%}.html--dxpr-theme-sticky-footer body,.html--dxpr-theme-sticky-footer .dialog-off-canvas-main-canvas{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.html--dxpr-theme-sticky-footer .wrap-containers{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.html--dxpr-theme-sticky-footer .body--dxpr-theme-nav-desktop .dxpr-theme-header--top.dxpr-theme-header--navbar-pull-down{min-height:2.8125rem}.html--dxpr-theme-sticky-footer .body--dxpr-theme-nav-desktop .dxpr-theme-header--top.affix{min-height:3.75rem}.html--dxpr-theme-sticky-footer footer{-ms-flex-negative:0;flex-shrink:0}.region-content{padding:0}body #edit-block-advanced #edit-block-divider-thickness-wrapper,body #edit-block-advanced #edit-block-divider-length-wrapper,body #edit-block-advanced #edit-block-divider-spacing-wrapper,body #edit-layout #edit-box-max-width-wrapper{border:none}
\ No newline at end of file
diff --git a/css/base/typography.css b/css/base/typography.css
index c8603dabc..2d34fc2ab 100644
--- a/css/base/typography.css
+++ b/css/base/typography.css
@@ -1 +1 @@
-body,.toooltip{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:400}h1,h2,h3,h4,h5,h6,label,.field--label{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:700}.dxpr-theme-header .nav{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:400}.site-name,.navbar-brand{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:400}blockquote,blockquote p{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:var(--dxt-setting-blockquote-font-size);font-style:italic;font-weight:400;line-height:var(--dxt-setting-blockquote-line-height)}body{color:var(--dxt-color-text);font-size:var(--dxt-setting-body-font-size)}body,p,.lead{line-height:var(--dxt-setting-body-line-height)}h1,h2,h3,h4,h5,h6{font-weight:var(--dxt-setting-headings-bold) !important;letter-spacing:var(--dxt-setting-headings-letter-spacing);line-height:var(--dxt-setting-headings-line-height);margin-bottom:0.625rem;margin-top:0;text-transform:var(--dxt-setting-headings-uppercase)}h1{font-size:var(--dxt-setting-h1-font-size)}h2{font-size:var(--dxt-setting-h2-font-size)}h3,.block-title{font-size:var(--dxt-setting-h3-font-size)}h4{font-size:var(--dxt-setting-h4-font-size)}h5{font-size:1rem}h6{font-size:0.875rem}h3.field--label{font-size:1.25rem;margin-bottom:0}h3.field--label+div,h3.field--label+ul{margin-bottom:0.625rem}.content .list-inline a{color:var(--dxt-color-text)}a,.btn-link,.nav-link{color:var(--dxt-color-base)}a svg,.btn-link svg,.nav-link svg{fill:var(--dxt-color-base)}a{text-decoration:none;-webkit-transition:color 200ms;transition:color 200ms}a:hover,a:focus{outline:none}a svg{-webkit-transition:fill 200ms;transition:fill 200ms}a:hover,a:focus,.btn-link:hover,.btn-link:focus{color:var(--dxt-color-accent1);text-decoration:underline}a:hover svg,a:focus svg,.btn-link:hover svg,.btn-link:focus svg{fill:var(--dxt-color-accent1)}h1,h2,h3,h4,h5,h6,.navbar-brand,th,.nav-tabs>li>a{color:var(--dxt-color-headings)}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,.navbar-brand a,th a,.nav-tabs>li>a a{color:var(--dxt-color-headings)}h1 a:hover,h1 a:focus,h2 a:hover,h2 a:focus,h3 a:hover,h3 a:focus,h4 a:hover,h4 a:focus,h5 a:hover,h5 a:focus,h6 a:hover,h6 a:focus,.navbar-brand a:hover,.navbar-brand a:focus,th a:hover,th a:focus,.nav-tabs>li>a a:hover,.nav-tabs>li>a a:focus{color:var(--dxt-color-base);text-decoration:none}.block-revslider img{max-width:100%}hr,.card hr{border-top:0.25rem solid var(--dxt-color-card);border-top-color:var(--dxt-setting-divider-color);border-top-width:var(--dxt-setting-divider-thickness);height:0;margin:1.25rem auto 1.25rem var(--dxt-setting-divider-position);width:var(--dxt-setting-divider-length)}.region-sidebar-first hr,.region-sidebar-second hr{margin-bottom:0.625rem;margin-top:0.625rem}.dxpr-theme-footer hr{border-top-color:var(--dxt-color-footertext)}.jumbotron hr{border-top-color:var(--dxt-color-cardtext)}.submitted{color:var(--dxt-color-graylight)}.submitted a{color:var(--dxt-color-graylight);text-decoration:underline}.submitted a:hover,.submitted a:focus{text-decoration:none}.node .links{clear:both}.main-container .block-menu-block .nav>li{float:none}.region-sidebar-first,.region-sidebar-second{color:var(--dxt-color-graylight)}.region-sidebar-first a,.region-sidebar-second a{color:var(--dxt-color-text)}@media screen and (width <= 48rem){body,p{font-size:var(--dxt-setting-body-mobile-font-size)}h1{font-size:var(--dxt-setting-h1-mobile-font-size)}h2{font-size:var(--dxt-setting-h2-mobile-font-size)}h3{font-size:var(--dxt-setting-h3-mobile-font-size)}h4{font-size:var(--dxt-setting-h4-mobile-font-size)}blockquote,.blockquote p{font-size:var(--dxt-setting-blockquote-mobile-font-size)}}
\ No newline at end of file
+body,.toooltip{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:400}h1,h2,h3,h4,h5,h6,label,.field--label{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:700}.dxpr-theme-header .nav{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:400}.site-name,.navbar-brand{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-style:normal;font-weight:400}blockquote,blockquote p{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:var(--dxt-setting-blockquote-font-size);font-style:italic;font-weight:400;line-height:var(--dxt-setting-blockquote-line-height)}body{color:var(--dxt-color-text);font-size:var(--dxt-setting-body-font-size)}body,p,.lead{line-height:var(--dxt-setting-body-line-height)}h1,h2,h3,h4,h5,h6{font-weight:var(--dxt-setting-headings-bold) !important;letter-spacing:var(--dxt-setting-headings-letter-spacing);line-height:var(--dxt-setting-headings-line-height);margin-bottom:0.625rem;margin-top:0;text-transform:var(--dxt-setting-headings-uppercase)}h1{font-size:var(--dxt-setting-h1-font-size)}h2{font-size:var(--dxt-setting-h2-font-size)}h3,.block-title{font-size:var(--dxt-setting-h3-font-size)}h4{font-size:var(--dxt-setting-h4-font-size)}h5{font-size:1rem}h6{font-size:0.875rem}h3.field--label{font-size:1.25rem;margin-bottom:0}h3.field--label+div,h3.field--label+ul{margin-bottom:0.625rem}.content .list-inline a{color:var(--dxt-color-text)}a,.btn-link,.nav-link{color:var(--dxt-color-base)}a svg,.btn-link svg,.nav-link svg{fill:var(--dxt-color-base)}a{text-decoration:none;-webkit-transition:color 200ms;transition:color 200ms}a:hover,a:focus{outline:none}a svg{-webkit-transition:fill 200ms;transition:fill 200ms}a:hover,a:focus,.btn-link:hover,.btn-link:focus{color:var(--dxt-color-accent1);text-decoration:underline}a:hover svg,a:focus svg,.btn-link:hover svg,.btn-link:focus svg{fill:var(--dxt-color-accent1)}h1,h2,h3,h4,h5,h6,.navbar-brand,th,.nav-tabs>li>a{color:var(--dxt-color-headings)}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,.navbar-brand a,th a,.nav-tabs>li>a a{color:var(--dxt-color-headings)}h1 a:hover,h1 a:focus,h2 a:hover,h2 a:focus,h3 a:hover,h3 a:focus,h4 a:hover,h4 a:focus,h5 a:hover,h5 a:focus,h6 a:hover,h6 a:focus,.navbar-brand a:hover,.navbar-brand a:focus,th a:hover,th a:focus,.nav-tabs>li>a a:hover,.nav-tabs>li>a a:focus{color:var(--dxt-color-base);text-decoration:none}.block-revslider img{max-width:100%}hr,.card hr{border-top:0.25rem solid var(--dxt-color-card);border-top-color:var(--dxt-setting-divider-color);border-top-width:var(--dxt-setting-divider-thickness);height:0;margin:1.25rem auto 1.25rem var(--dxt-setting-divider-position);width:var(--dxt-setting-divider-length)}.region-sidebar-first hr,.region-sidebar-second hr{margin-bottom:0.625rem;margin-top:0.625rem}.dxpr-theme-footer hr{border-top-color:var(--dxt-color-footertext)}.jumbotron hr{border-top-color:var(--dxt-color-cardtext)}.submitted{color:var(--dxt-color-graylight)}.submitted a{color:var(--dxt-color-graylight);text-decoration:underline}.submitted a:hover,.submitted a:focus{text-decoration:none}.node .links{clear:both}.main-container .block-menu-block .nav>li{float:none}.region-sidebar-first,.region-sidebar-second{color:var(--dxt-color-graylight)}.region-sidebar-first a,.region-sidebar-second a{color:var(--dxt-color-text)}@media screen and (width <= 48rem){body,p{font-size:var(--dxt-setting-body-mobile-font-size)}h1{font-size:var(--dxt-setting-h1-mobile-font-size)}h2{font-size:var(--dxt-setting-h2-mobile-font-size)}h3{font-size:var(--dxt-setting-h3-mobile-font-size)}h4{font-size:var(--dxt-setting-h4-mobile-font-size)}blockquote,.blockquote p{font-size:var(--dxt-setting-blockquote-mobile-font-size)}}#system-theme-settings #edit-typography .details-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}#system-theme-settings #edit-typography .details-wrapper>details{width:100%}#system-theme-settings #edit-typography .details-wrapper>.js-form-item.form-item.js-form-type-range.form-type-range{width:auto}#system-theme-settings #edit-typography .details-wrapper>.js-form-item.form-item.js-form-type-range.form-type-range>.dxb-slider-container>.dxb-slider-wrapper>.dxb-slider-track>.js-form-item{max-width:12.5rem;width:auto}
\ No newline at end of file
diff --git a/css/dxpr-theme.admin.themesettings.css b/css/dxpr-theme.admin.themesettings.css
index b2fd0a86b..640199212 100644
--- a/css/dxpr-theme.admin.themesettings.css
+++ b/css/dxpr-theme.admin.themesettings.css
@@ -1 +1 @@
-#system-theme-settings{margin-top:3.75rem}#system-theme-settings *:not(.reinvented-color-wheel *){-webkit-box-sizing:border-box;box-sizing:border-box}#system-theme-settings #edit-actions{border:none;border-top:0.0625rem solid #222330;margin:2.5rem 0 0}#system-theme-settings #edit-submit{border:none;font-size:1.125rem;margin:1.25rem;padding:1.25rem;width:18.75rem}#system-theme-settings .settings-header{margin-bottom:0;padding:1.875rem}#system-theme-settings .form-wrapper,#system-theme-settings .tabs-left>.tab-content,#system-theme-settings .tabs-right>.tab-content,#system-theme-settings .nav-tabs,#system-theme-settings .nav-tabs a,#system-theme-settings .vertical-tabs{border:none;-webkit-box-shadow:none;box-shadow:none}#system-theme-settings details.form-wrapper,#system-theme-settings div.form-wrapper{background:rgba(0,0,0,0);border-left:0.0625rem solid #222330;border-radius:0;clear:both;margin-bottom:1.25rem;margin-top:0}#system-theme-settings details.form-wrapper .panel-heading,#system-theme-settings div.form-wrapper .panel-heading{background:rgba(0,0,0,0);border:none}#system-theme-settings details.form-wrapper .panel-title,#system-theme-settings div.form-wrapper .panel-title{background:rgba(0,0,0,0);border:none;font-size:inherit}#system-theme-settings details.form-wrapper .panel-title .panel-title,#system-theme-settings div.form-wrapper .panel-title .panel-title{background:none;outline:none;text-decoration:none}#system-theme-settings details.form-wrapper .panel-title .panel-title:hover,#system-theme-settings details.form-wrapper .panel-title .panel-title:active,#system-theme-settings div.form-wrapper .panel-title .panel-title:hover,#system-theme-settings div.form-wrapper .panel-title .panel-title:active{outline:none;text-decoration:none}#system-theme-settings details.form-wrapper .card-header,#system-theme-settings div.form-wrapper .card-header{background:rgba(0,0,0,0);border:none;font-size:1.125rem;font-weight:bold}#system-theme-settings details.form-wrapper summary,#system-theme-settings div.form-wrapper summary{border:unset;padding:0.625rem 0.9375rem;--bs-bg-opacity: unset}#system-theme-settings details.form-wrapper summary .details-title,#system-theme-settings div.form-wrapper summary .details-title{background:none;color:inherit;outline:none;text-decoration:none}#system-theme-settings details.form-wrapper summary::before,#system-theme-settings div.form-wrapper summary::before{display:none}#system-theme-settings details.form-wrapper summary::marker,#system-theme-settings div.form-wrapper summary::marker{content:""}#system-theme-settings details.form-wrapper .description,#system-theme-settings div.form-wrapper .description{font-size:0.75rem;margin:0;opacity:.7;padding:0.3125rem 0}#system-theme-settings label,#system-theme-settings legend{background-color:unset;border:none;display:block;float:left;font-size:1.125rem;outline:none;padding:0 1.6875rem 0.3125rem 0;width:12.5rem}#system-theme-settings .no-preview::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22feather%20feather-eye-off%22%3E%3Cpath%20d%3D%22M17.94%2017.94A10.07%2010.07%200%200%201%2012%2020c-7%200-11-8-11-8a18.45%2018.45%200%200%201%205.06-5.94M9.9%204.24A9.12%209.12%200%200%201%2012%204c7%200%2011%208%2011%208a18.5%2018.5%200%200%201-2.16%203.19m-6.72-1.07a3%203%200%201%201-4.24-4.24M1%201l22%2022%22%2F%3E%3C%2Fsvg%3E");background-size:contain;content:"";display:inline-block;-webkit-filter:invert(100%) brightness(70%);filter:invert(100%) brightness(70%);height:1.25rem;margin-left:.3em;margin-top:.2em;position:absolute;width:1.25rem}#system-theme-settings .no-preview-info{bottom:0;font-size:0.8125rem;line-height:1.3;position:absolute;right:0}#system-theme-settings .no-preview-info span.no-preview{display:inline-block;margin-right:1.5em}#system-theme-settings .no-preview-info span.no-preview::after{height:1em;margin-left:0;width:1em}#system-theme-settings .form-item{background-color:unset;clear:both;min-height:3em;padding-left:0}#system-theme-settings .form-item::after{clear:both;content:"";display:table}#system-theme-settings .form-item .js-form-type-radio{min-height:1.25rem}#system-theme-settings .form-item-field-settings-granularity .option.checkbox.control-label{float:left;margin-right:2em}#system-theme-settings .form-item-field-settings-granularity .help-block{clear:both}#system-theme-settings .radio input[type=radio],#system-theme-settings .radio-inline input[type=radio],#system-theme-settings .checkbox input[type=checkbox],#system-theme-settings .checkbox-inline input[type=checkbox]{margin-left:0;position:static}#system-theme-settings .slider-input-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;height:2.5rem;padding:0 0.625rem;width:100%}#system-theme-settings .slider-input-wrapper .slider{-webkit-box-flex:0;-ms-flex:0 1 80%;flex:0 1 80%}#system-theme-settings .slider-input-wrapper input{-webkit-box-flex:0;-ms-flex:0 1 20%;flex:0 1 20%}#system-theme-settings .form-text,#system-theme-settings .fieldset-wrapper,#system-theme-settings .slider,#system-theme-settings .select-wrapper{float:left;max-width:100%;width:25rem}#system-theme-settings .fieldset-wrapper{padding:0}#system-theme-settings .form-text,#system-theme-settings .form-textarea,#system-theme-settings .form-file{border:0.0625rem solid #222330;-webkit-box-shadow:none;box-shadow:none}#system-theme-settings .description,#system-theme-settings .help-block{clear:both}#system-theme-settings .slider+input{background:rgba(0,0,0,0);border:none;bottom:1.25rem;display:block !important;font-size:0.9375rem;height:2.5rem;margin-left:0.9375rem;margin-top:0.5rem;padding:0;position:relative;width:7.5rem}#system-theme-settings .slider-track{-webkit-box-shadow:none;box-shadow:none;height:0.3125rem}#system-theme-settings .slider-selection{background:var(--dxt-color-base);-webkit-box-shadow:none;box-shadow:none}#system-theme-settings .slider{display:block;position:relative}#system-theme-settings .slider-handle{background:#fff;border-radius:0.125rem;-webkit-box-shadow:0 0.0625rem 0.125rem rgba(16,24,40,.09),0 0.0625rem 0.1875rem rgba(16,24,40,.15);box-shadow:0 0.0625rem 0.125rem rgba(16,24,40,.09),0 0.0625rem 0.1875rem rgba(16,24,40,.15);cursor:pointer;height:1.25rem;margin-top:-0.1875rem;width:1.25rem}#system-theme-settings h2{margin-bottom:0;margin-top:0}#system-theme-settings .form-header{border-bottom:0.0625rem solid #222330;padding:1.25rem;position:relative}#system-theme-settings .form-header h2{font-size:1.25rem}#system-theme-settings .form-header img{margin-right:0.625rem;width:2.5rem}#system-theme-settings .vertical-tabs{display:table;margin:0;position:relative;width:100%}#system-theme-settings .vertical-tabs .vertical-tabs__menu{border:none;content:" ";display:table-cell;float:none;height:100%;left:0;margin:0;padding-top:1.875rem;position:relative;top:0;vertical-align:top;width:12.5rem}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item{background:rgba(0,0,0,0);border:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a{background:rgba(0,0,0,0);border:none;margin-bottom:0.1875rem;padding:0.625rem 0.9375rem}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:hover,#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:active{border:none;outline:none;text-decoration:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:focus{text-decoration:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:hover .vertical-tabs__menu-item-title,#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:focus .vertical-tabs__menu-item-title,#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:active .vertical-tabs__menu-item-title{text-decoration:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a .vertical-tabs__menu-item-title{font-weight:normal}#system-theme-settings .vertical-tabs .vertical-tabs__menu .is-selected a{border:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .is-selected a .vertical-tabs__menu-item-title{color:var(--dxt-color-accent1)}#system-theme-settings .vertical-tabs .vertical-tabs__panes{padding:0 0.9375rem 0.9375rem 0}#system-theme-settings .vertical-tabs .vertical-tabs__panes .details-wrapper{padding:0.9375rem}#system-theme-settings .form-select{max-width:100%;width:auto}#system-theme-settings .form-composite{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit}#system-theme-settings .form-composite .form-checkboxes input{display:block}#system-theme-settings .form-composite input{display:none}#system-theme-settings .form-composite label{font-size:0.9375rem;width:auto}#system-theme-settings .form-composite input~label.option,#system-theme-settings .form-composite input~span{cursor:pointer;font-weight:300;line-height:1.5rem;margin:0;width:auto}#system-theme-settings .form-composite input~label.option::before,#system-theme-settings .form-composite input~span::before{content:"__";display:inline-block;font-size:1.125rem;font-weight:normal;opacity:.3;width:1.5625rem}#system-theme-settings .form-composite input:checked~label.option,#system-theme-settings .form-composite input:checked~span{font-style:italic;font-weight:normal}#system-theme-settings .form-composite input:checked~label.option::before,#system-theme-settings .form-composite input:checked~span::before{content:"✓";font-size:1.5rem;opacity:1}#system-theme-settings .form-type-checkboxes>label{font-weight:bold}#system-theme-settings .farbtastic{z-index:10}#system-theme-settings .color-form{max-width:46.25rem}#system-theme-settings .color-form .form-item{margin:0 0 1.5rem}#system-theme-settings .color-form .details-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}#system-theme-settings .color-form .form-text{padding:0.1875rem;width:15.625rem}#system-theme-settings .color-form .select-wrapper{width:15.625rem}#system-theme-settings .color-form .select-wrapper .form-select{float:none;width:15.625rem}#system-theme-settings .color-form .form-item-scheme{height:3.2em;margin-right:10rem}#system-theme-settings .color-form h2{visibility:hidden}#system-theme-settings .color-form .color-preview{visibility:hidden}#system-theme-settings .form-item.form-type-vertical-tabs{margin-top:0}#system-theme-settings .color-placeholder{height:0;padding:0 1.5rem 6.25rem;top:8.75rem}#system-theme-settings .color-palette{margin-top:4rem}#system-theme-settings .color-palette label{line-height:1.2;padding:0 1.6875rem 0 0}#system-theme-settings .color-palette .form-item{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:0;padding:0}#system-theme-settings .color-palette .item-selected{background:none}#system-theme-settings .color-palette .item-selected input{font-style:italic}#system-theme-settings .color-palette .lock{left:-1.125rem;top:-2em}#system-theme-settings .color-palette .form-text{padding:0.3125rem}#system-theme-settings .color-palette .form-text.active{border-radius:0.25rem;-webkit-box-shadow:0 0 0 0.1875rem #32c832;box-shadow:0 0 0 0.1875rem #32c832;font-weight:bold}#system-theme-settings .font-preview{font-size:1.875rem;padding:0.625rem 0}#system-theme-settings .font-preview p{margin:0.625rem 0}#system-theme-settings .font-preview .font-test{font-size:1rem}#system-theme-settings .font-preview .font-test-accents{font-size:1rem}#system-theme-settings .font-preview .font-test-small{font-size:0.8125rem}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper){clear:none;float:left;height:4.375rem;padding-right:0.625rem;width:40%}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper).form-type-textfield{width:60%}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper) .form-select{height:3.125rem}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper) .form-text,#system-theme-settings #edit-fonts .form-item:not(.form-wrapper) label{width:100%}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper) .form-wrapper{clear:both}#system-theme-settings #edit-typography .form-item:not(.form-wrapper){clear:none;float:left;margin-bottom:0;overflow:hidden;padding-top:0;width:33%}#system-theme-settings #edit-typography .form-item:not(.form-wrapper) label{width:100%}#system-theme-settings #edit-typography .form-text:not([name=divider_color_custom]){width:27%}#system-theme-settings #edit-typography .slider{width:73%}#system-theme-settings #edit-typography .form-item-scale-factor{width:66%}#system-theme-settings #edit-typography .form-item-divider-color,#system-theme-settings #edit-typography .form-item-divider-color-custom{clear:both}#system-theme-settings #edit-block .slider,#system-theme-settings #edit-block .form-type-select,#system-theme-settings #edit-block .form-text{width:80%}#system-theme-settings #edit-block .slider+input{width:20%}#system-theme-settings .block-design-settings{float:left;padding:0 0 3.75rem;width:50%}#system-theme-settings .block-preview{float:left;padding:5.625rem 0 0 3.75rem;width:50%}#system-theme-settings .form-item[class$=invoke] .form-text{max-width:none}#system-theme-settings .fonts-previews p{margin:0 0 1.25rem}#system-theme-settings #edit-import-export label{width:18.75rem}#system-theme-settings .dxpr-theme-settings-export{height:25rem;white-space:pre;width:100%}#system-theme-settings .js-form-type-checkbox{position:relative}#system-theme-settings .js-form-type-checkbox input[type=checkbox]{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;cursor:pointer;height:1.6875rem;left:12.5rem;margin:0;position:absolute;top:0;width:3.375rem;z-index:10}#system-theme-settings .js-form-type-checkbox input[type=checkbox]:checked+.switcher::after{left:calc(100% - 0.1875rem);-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%)}#system-theme-settings .js-form-type-checkbox input[type=checkbox]:focus{-webkit-box-shadow:unset;box-shadow:unset}#system-theme-settings .js-form-type-checkbox .switcher{border-radius:1.25rem;cursor:pointer;display:block;height:1.6875rem;left:12.5rem;margin:0;padding:0;position:absolute;text-indent:-624.9375rem;top:0;width:3.375rem}#system-theme-settings .js-form-type-checkbox .switcher::after{border-radius:50%;content:"";height:1.3125rem;left:0.1875rem;position:absolute;top:0.1875rem;-webkit-transition:.3s;transition:.3s;width:1.3125rem}#system-theme-settings .core-theme-settings .js-form-type-checkbox input[type=checkbox],#system-theme-settings .form-checkboxes .js-form-type-checkbox input[type=checkbox]{left:auto;right:0}.type-preview{clear:both}.type-preview .type-container{padding:2.5rem 5rem}
\ No newline at end of file
+#system-theme-settings{margin-top:3.75rem}#system-theme-settings *:not(.reinvented-color-wheel *){-webkit-box-sizing:border-box;box-sizing:border-box}#system-theme-settings #edit-actions{border:none;border-top:0.0625rem solid #222330;margin:2.5rem 0 0}#system-theme-settings #edit-submit{border:none;font-size:1.125rem;margin:1.25rem;padding:1.25rem;width:18.75rem}#system-theme-settings .settings-header{margin-bottom:0;padding:1.875rem}#system-theme-settings .form-wrapper,#system-theme-settings .tabs-left>.tab-content,#system-theme-settings .tabs-right>.tab-content,#system-theme-settings .nav-tabs,#system-theme-settings .nav-tabs a,#system-theme-settings .vertical-tabs{border:none;-webkit-box-shadow:none;box-shadow:none}#system-theme-settings details.form-wrapper,#system-theme-settings div.form-wrapper{background:rgba(0,0,0,0);border-left:0.0625rem solid #222330;border-radius:0;clear:both;margin-bottom:1.25rem;margin-top:0}#system-theme-settings details.form-wrapper .panel-heading,#system-theme-settings div.form-wrapper .panel-heading{background:rgba(0,0,0,0);border:none}#system-theme-settings details.form-wrapper .panel-title,#system-theme-settings div.form-wrapper .panel-title{background:rgba(0,0,0,0);border:none;font-size:inherit}#system-theme-settings details.form-wrapper .panel-title .panel-title,#system-theme-settings div.form-wrapper .panel-title .panel-title{background:none;outline:none;text-decoration:none}#system-theme-settings details.form-wrapper .panel-title .panel-title:hover,#system-theme-settings details.form-wrapper .panel-title .panel-title:active,#system-theme-settings div.form-wrapper .panel-title .panel-title:hover,#system-theme-settings div.form-wrapper .panel-title .panel-title:active{outline:none;text-decoration:none}#system-theme-settings details.form-wrapper .card-header,#system-theme-settings div.form-wrapper .card-header{background:rgba(0,0,0,0);border:none;font-size:1.125rem;font-weight:bold}#system-theme-settings details.form-wrapper summary,#system-theme-settings div.form-wrapper summary{border:unset;padding:0.625rem 0.9375rem;--bs-bg-opacity: unset}#system-theme-settings details.form-wrapper summary .details-title,#system-theme-settings div.form-wrapper summary .details-title{background:none;color:inherit;outline:none;text-decoration:none}#system-theme-settings details.form-wrapper summary::before,#system-theme-settings div.form-wrapper summary::before{display:none}#system-theme-settings details.form-wrapper summary::marker,#system-theme-settings div.form-wrapper summary::marker{content:""}#system-theme-settings details.form-wrapper .description,#system-theme-settings div.form-wrapper .description{font-size:0.75rem;margin:0;opacity:.7;padding:0.3125rem 0}#system-theme-settings label,#system-theme-settings legend{background-color:unset;border:none;display:block;float:left;font-size:1.125rem;outline:none;padding:0 1.6875rem 0.3125rem 0;width:12.5rem}#system-theme-settings .no-preview::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22feather%20feather-eye-off%22%3E%3Cpath%20d%3D%22M17.94%2017.94A10.07%2010.07%200%200%201%2012%2020c-7%200-11-8-11-8a18.45%2018.45%200%200%201%205.06-5.94M9.9%204.24A9.12%209.12%200%200%201%2012%204c7%200%2011%208%2011%208a18.5%2018.5%200%200%201-2.16%203.19m-6.72-1.07a3%203%200%201%201-4.24-4.24M1%201l22%2022%22%2F%3E%3C%2Fsvg%3E");background-size:contain;content:"";display:inline-block;-webkit-filter:invert(100%) brightness(70%);filter:invert(100%) brightness(70%);height:1.25rem;margin-left:.3em;margin-top:.2em;position:absolute;width:1.25rem}#system-theme-settings .no-preview-info{bottom:0;font-size:0.8125rem;line-height:1.3;position:absolute;right:0}#system-theme-settings .no-preview-info span.no-preview{display:inline-block;margin-right:1.5em}#system-theme-settings .no-preview-info span.no-preview::after{height:1em;margin-left:0;width:1em}#system-theme-settings .form-radios .no-preview::after,#system-theme-settings .form-checkboxes .no-preview::after,#system-theme-settings .form-item-block-card .no-preview::after,#system-theme-settings .form-item-block-divider .no-preview::after{display:none}#system-theme-settings .form-item{background-color:unset;clear:both;min-height:3em;padding-left:0}#system-theme-settings .form-item::after{clear:both;content:"";display:table}#system-theme-settings .form-item .js-form-type-radio{min-height:1.25rem}#system-theme-settings .form-item-field-settings-granularity .option.checkbox.control-label{float:left;margin-right:2em}#system-theme-settings .form-item-field-settings-granularity .help-block{clear:both}#system-theme-settings .radio input[type=radio],#system-theme-settings .radio-inline input[type=radio],#system-theme-settings .checkbox input[type=checkbox],#system-theme-settings .checkbox-inline input[type=checkbox]{margin-left:0;position:static}#system-theme-settings .form-text,#system-theme-settings .fieldset-wrapper,#system-theme-settings .select-wrapper{float:left;max-width:100%;width:25rem}#system-theme-settings .fieldset-wrapper{padding:0}#system-theme-settings .form-text,#system-theme-settings .form-textarea,#system-theme-settings .form-file{border:0.0625rem solid #222330;-webkit-box-shadow:none;box-shadow:none}#system-theme-settings .description,#system-theme-settings .help-block{clear:both}#system-theme-settings h2{margin-bottom:0;margin-top:0}#system-theme-settings .form-header{border-bottom:0.0625rem solid #222330;padding:1.25rem;position:relative}#system-theme-settings .form-header h2{font-size:1.25rem}#system-theme-settings .form-header img{margin-right:0.625rem;width:2.5rem}#system-theme-settings .vertical-tabs{display:table;margin:0;position:relative;width:100%}#system-theme-settings .vertical-tabs .vertical-tabs__menu{border:none;content:" ";display:table-cell;float:none;height:100%;left:0;margin:0;padding-top:1.875rem;position:relative;top:0;vertical-align:top;width:12.5rem}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item{background:rgba(0,0,0,0);border:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a{background:rgba(0,0,0,0);border:none;margin-bottom:0.1875rem;padding:0.625rem 0.9375rem}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:hover,#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:active{border:none;outline:none;text-decoration:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:focus{text-decoration:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:hover .vertical-tabs__menu-item-title,#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:focus .vertical-tabs__menu-item-title,#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a:active .vertical-tabs__menu-item-title{text-decoration:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .vertical-tabs__menu-item a .vertical-tabs__menu-item-title{font-weight:normal}#system-theme-settings .vertical-tabs .vertical-tabs__menu .is-selected a{border:none}#system-theme-settings .vertical-tabs .vertical-tabs__menu .is-selected a .vertical-tabs__menu-item-title{color:var(--dxt-color-accent1)}#system-theme-settings .vertical-tabs .vertical-tabs__panes{padding:0 0.9375rem 0.9375rem 0}#system-theme-settings .vertical-tabs .vertical-tabs__panes .details-wrapper{padding:0.9375rem}#system-theme-settings .form-select{max-width:100%;width:auto}#system-theme-settings .form-composite{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit}#system-theme-settings .form-composite .form-checkboxes input{display:block}#system-theme-settings .form-composite input{display:none}#system-theme-settings .form-composite label{font-size:0.9375rem;width:auto}#system-theme-settings .form-composite input~label.option,#system-theme-settings .form-composite input~span{cursor:pointer;font-weight:300;line-height:1.5rem;margin:0;width:auto}#system-theme-settings .form-composite input~label.option::before,#system-theme-settings .form-composite input~span::before{content:"__";display:inline-block;font-size:1.125rem;font-weight:normal;opacity:.3;width:1.5625rem}#system-theme-settings .form-composite input:checked~label.option,#system-theme-settings .form-composite input:checked~span{font-style:italic;font-weight:normal}#system-theme-settings .form-composite input:checked~label.option::before,#system-theme-settings .form-composite input:checked~span::before{content:"✓";font-size:1.5rem;opacity:1}#system-theme-settings .form-type-checkboxes>label{font-weight:bold}#system-theme-settings .farbtastic{z-index:10}#system-theme-settings .color-form{max-width:46.25rem}#system-theme-settings .color-form .form-item{margin:0 0 1.5rem}#system-theme-settings .color-form .details-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}#system-theme-settings .color-form .form-text{padding:0.1875rem;width:15.625rem}#system-theme-settings .color-form .select-wrapper{width:15.625rem}#system-theme-settings .color-form .select-wrapper .form-select{float:none;width:15.625rem}#system-theme-settings .color-form .form-item-scheme{height:3.2em;margin-right:10rem}#system-theme-settings .color-form h2{visibility:hidden}#system-theme-settings .color-form .color-preview{visibility:hidden}#system-theme-settings .form-item.form-type-vertical-tabs{margin-top:0}#system-theme-settings .color-placeholder{height:0;padding:0 1.5rem 6.25rem;top:8.75rem}#system-theme-settings .color-palette{margin-top:4rem}#system-theme-settings .color-palette label{line-height:1.2;padding:0 1.6875rem 0 0}#system-theme-settings .color-palette .form-item{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:0;padding:0}#system-theme-settings .color-palette .item-selected{background:none}#system-theme-settings .color-palette .item-selected input{font-style:italic}#system-theme-settings .color-palette .lock{left:-1.125rem;top:-2em}#system-theme-settings .color-palette .form-text{padding:0.3125rem}#system-theme-settings .color-palette .form-text.active{border-radius:0.25rem;-webkit-box-shadow:0 0 0 0.1875rem #32c832;box-shadow:0 0 0 0.1875rem #32c832;font-weight:bold}#system-theme-settings .font-preview{font-size:1.875rem;padding:0.625rem 0}#system-theme-settings .font-preview p{margin:0.625rem 0}#system-theme-settings .font-preview .font-test{font-size:1rem}#system-theme-settings .font-preview .font-test-accents{font-size:1rem}#system-theme-settings .font-preview .font-test-small{font-size:0.8125rem}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper){clear:none;float:left;height:4.375rem;padding-right:0.625rem;width:40%}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper).form-type-textfield{width:60%}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper) .form-select{height:3.125rem}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper) .form-text,#system-theme-settings #edit-fonts .form-item:not(.form-wrapper) label{width:100%}#system-theme-settings #edit-fonts .form-item:not(.form-wrapper) .form-wrapper{clear:both}#system-theme-settings #edit-typography .form-item:not(.form-wrapper){clear:none;float:left;margin-bottom:0;overflow:hidden;padding-top:0;width:33%}#system-theme-settings #edit-typography .form-item:not(.form-wrapper) label{width:100%}#system-theme-settings #edit-typography .form-text:not([name=divider_color_custom]){width:27%}#system-theme-settings #edit-typography .form-item-scale-factor{width:66%}#system-theme-settings #edit-typography .form-item-divider-color,#system-theme-settings #edit-typography .form-item-divider-color-custom{clear:both}#system-theme-settings #edit-block .form-type-select,#system-theme-settings #edit-block .form-text{width:80%}#system-theme-settings .block-design-settings{float:left;padding:0 0 3.75rem;width:50%}#system-theme-settings .block-preview{float:left;padding:5.625rem 0 0 3.75rem;width:50%}#system-theme-settings .form-item[class$=invoke] .form-text{max-width:none}#system-theme-settings .fonts-previews p{margin:0 0 1.25rem}#system-theme-settings #edit-import-export label{width:18.75rem}#system-theme-settings .dxpr-theme-settings-export{height:25rem;white-space:pre;width:100%}#system-theme-settings .js-form-type-checkbox{position:relative}#system-theme-settings .js-form-type-checkbox input[type=checkbox]{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;cursor:pointer;height:1.6875rem;left:12.5rem;margin:0;position:absolute;top:0;width:3.375rem;z-index:10}#system-theme-settings .js-form-type-checkbox input[type=checkbox]:checked+.switcher::after{left:calc(100% - 0.1875rem);-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%)}#system-theme-settings .js-form-type-checkbox input[type=checkbox]:focus{-webkit-box-shadow:unset;box-shadow:unset}#system-theme-settings .js-form-type-checkbox .switcher{border-radius:1.25rem;cursor:pointer;display:block;height:1.6875rem;left:12.5rem;margin:0;padding:0;position:absolute;text-indent:-624.9375rem;top:0;width:3.375rem}#system-theme-settings .js-form-type-checkbox .switcher::after{border-radius:50%;content:"";height:1.3125rem;left:0.1875rem;position:absolute;top:0.1875rem;-webkit-transition:.3s;transition:.3s;width:1.3125rem}#system-theme-settings .core-theme-settings .js-form-type-checkbox input[type=checkbox],#system-theme-settings .form-checkboxes .js-form-type-checkbox input[type=checkbox]{left:auto;right:0}#system-theme-settings .dxb-slider-wrapper input{border:none}#system-theme-settings .dxb-slider-wrapper .dxb-slider-value{width:6.25rem}#system-theme-settings .dxb-slider-wrapper .dxb-slider-track{min-width:9.375rem}#system-theme-settings .dxb-slider-wrapper .dxb-slider-track .dxb-slider{width:100% !important}.type-preview{clear:both}.type-preview .type-container{padding:2.5rem 5rem}
\ No newline at end of file
diff --git a/css/vendor-extensions/jquery-ui.css b/css/vendor-extensions/jquery-ui.css
deleted file mode 100644
index c7cf3064b..000000000
--- a/css/vendor-extensions/jquery-ui.css
+++ /dev/null
@@ -1 +0,0 @@
-.html .ui-widget{font-family:inherit;font-size:inherit}.html .ui-dialog{padding:0}.html .ui-tabs .ui-tabs-panel{padding:0 1.875rem}.html .ui-widget-content,.html .ui-widget-header,.html .ui-state-hover,.html .ui-widget-content .ui-state-hover,.html .ui-widget-header .ui-state-hover,.html .ui-state-focus,.html .ui-widget-content .ui-state-focus,.html .ui-widget-header .ui-state-focus,.html .ui-state-active,.html .ui-widget-content .ui-state-active,.html .ui-widget-header .ui-state-active,.html .ui-state-highlight,.html .ui-widget-content .ui-state-highlight,.html .ui-widget-header .ui-state-highlight,.html .ui-state-error,.html .ui-widget-content .ui-state-error,.html .ui-widget-header .ui-state-error{background:#fff;background-image:none;border-radius:0;color:#555555}.html .ui-widget input,.html .ui-widget select,.html .ui-widget textarea,.html .ui-widget button{font-family:inherit;font-size:0.875rem}
\ No newline at end of file
diff --git a/docker-compose.yml b/docker-compose.yml
index 93ed0c888..64109e282 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -88,7 +88,7 @@ services:
# to watch and build files, use:
# DEV_WATCH=true docker compose up -d dev && docker compose logs -f dev
dev:
- image: ${NODE_IMAGE:-node:14}
+ image: ${NODE_IMAGE:-node:20}
profiles: ["lint"]
working_dir: /src
command: bash -c "./scripts/run_dev.sh"
diff --git a/dxpr_theme.libraries.yml b/dxpr_theme.libraries.yml
index ec148daeb..01355f347 100644
--- a/dxpr_theme.libraries.yml
+++ b/dxpr_theme.libraries.yml
@@ -5,7 +5,6 @@ global-styling:
js/minified/dxpr-theme-header.min.js: { minified: true }
dependencies:
- core/drupal
- - core/jquery
- core/once
- core/modernizr
@@ -19,11 +18,6 @@ bootstrap-theme:
theme:
css/vendor-extensions/bootstrap-theme.css: { minified: true }
-jquery-ui:
- css:
- theme:
- css/vendor-extensions/jquery-ui.css: { minified: true }
-
footer-menu:
css:
theme:
@@ -63,7 +57,6 @@ dxpr-theme-full-screen-search-js:
js:
js/minified/dxpr-theme-full-screen-search.min.js: { minified: true }
dependencies:
- - core/jquery
- core/once
dxpr-theme-header:
@@ -156,7 +149,6 @@ bootstrap3:
js:
vendor/bootstrap3/js/bootstrap.min.js: { minified: true, weight: -20 }
dependencies:
- - core/jquery
# Admin interface , styling theme settings form
# Depends on DXPR Theme Helper module being installed
@@ -167,28 +159,33 @@ admin:
admin.themesettings:
js:
- vendor/bootstrap-switch/bootstrap-switch.min.js: {}
- vendor/bootstrap-slider/bootstrap-slider.min.js: {}
vendor/color-wheel/reinvented-color-wheel.min.js: { minified: true }
js/minified/dxpr-theme-settings.admin.min.js: {}
+ vendor/dxb-slider/dxb-slider.min.js: { minified: true }
css:
component:
- vendor/bootstrap-switch/bootstrap-switch.min.css: {}
- vendor/bootstrap-slider/bootstrap-slider.min.css: {}
vendor/color-wheel/reinvented-color-wheel.min.css: { minified: true}
css/dxpr-theme.admin.themesettings.css: {}
+ vendor/dxb-slider/dxb-slider.min.css: { minified: true }
dependencies:
- core/drupal
- - core/jquery
- core/once
-dxpr-theme-animatecss-custom:
- css:
- component:
- vendor/animate.css/animate.min.css: { minified: true }
-
gin_toolbar:
version: 1.x
css:
theme:
css/vendor-extensions/gin-toolbar.css: {}
+
+dxb_slider:
+ version: 1.x
+ js:
+ vendor/DXB-Slider/dxb-slider.js: {}
+ css:
+ theme:
+ vendor/DXB-Slider/dxb-slider.css: {}
+
+custom_animations:
+ css:
+ theme:
+ css/animations-dxpr.css: {}
diff --git a/dxpr_theme.theme b/dxpr_theme.theme
index 93d3e5f9f..3ceaafd97 100644
--- a/dxpr_theme.theme
+++ b/dxpr_theme.theme
@@ -7,12 +7,12 @@
* Place your custom PHP code in this file.
*/
-use Drupal\block\Entity\Block;
use Drupal\Component\Utility\Html;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Render\Markup;
use Drupal\Core\Template\Attribute;
+use Drupal\block\Entity\Block;
use Drupal\node\NodeInterface;
/**
@@ -202,7 +202,6 @@ function dxpr_theme_preprocess_page(&$variables) {
'dxpr_theme/bootstrap-3',
'dxpr_theme/bootstrap-theme',
// @todo Include only if needed.
- 'dxpr_theme/jquery-ui',
// DXPR THEME BASE.
'dxpr_theme/forms',
'dxpr_theme/layout',
diff --git a/dxpr_theme_STARTERKIT/config/install/dxpr_theme_STARTERKIT.settings.yml b/dxpr_theme_STARTERKIT/config/install/dxpr_theme_STARTERKIT.settings.yml
index 565c9d8c1..67022e02c 100644
--- a/dxpr_theme_STARTERKIT/config/install/dxpr_theme_STARTERKIT.settings.yml
+++ b/dxpr_theme_STARTERKIT/config/install/dxpr_theme_STARTERKIT.settings.yml
@@ -210,5 +210,4 @@ hidden_regions:
popover_placement: top
tooltip_placement: 'auto top'
modal_enabled: 0
-modal_jquery_ui_bridge: 0
cdn_provider: ''
diff --git a/dxpr_theme_STARTERKIT/dxpr_theme_STARTERKIT.info.yml b/dxpr_theme_STARTERKIT/dxpr_theme_STARTERKIT.info.yml
index a832b278e..9439ae3f0 100644
--- a/dxpr_theme_STARTERKIT/dxpr_theme_STARTERKIT.info.yml
+++ b/dxpr_theme_STARTERKIT/dxpr_theme_STARTERKIT.info.yml
@@ -31,7 +31,6 @@ libraries:
#libraries-override:
# dxpr_theme/bootstrap-3: false
# dxpr_theme/bootstrap-theme: false
-# dxpr_theme/jquery-ui: false
# dxpr_theme/footer-menu: false
# dxpr_theme/forms: false
# dxpr_theme/layout: false
diff --git a/features/sooper-block-design/block-design-theme-settings.inc b/features/sooper-block-design/block-design-theme-settings.inc
index 11a1906a1..b4877b6d5 100755
--- a/features/sooper-block-design/block-design-theme-settings.inc
+++ b/features/sooper-block-design/block-design-theme-settings.inc
@@ -94,30 +94,48 @@ function block_design_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['block']['block_advanced']['block_el']['block_padding'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Block padding'),
- '#default_value' => ((theme_get_setting('block_padding') !== NULL)) ? theme_get_setting('block_padding') : '0',
- '#attributes' => ['class' => ['border-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('block_padding') !== NULL)) ? theme_get_setting('block_padding') : 0,
+ '#min' => 0,
+ '#max' => 30,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'block-padding-range', 'border-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '
',
];
$form['dxpr_theme_settings']['block']['block_advanced']['block_el']['block_border_radius'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Block Border Radius'),
- '#default_value' => ((theme_get_setting('block_border_radius') !== NULL)) ? theme_get_setting('block_border_radius') : '0',
- '#attributes' => ['class' => ['border-radius-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('block_border_radius') !== NULL)) ? theme_get_setting('block_border_radius') : 0,
+ '#min' => 0,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'block-border-radius-range', 'border-radius-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['block']['block_advanced']['block_el']['block_border'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Block Border'),
- '#default_value' => ((theme_get_setting('block_border') !== NULL)) ? theme_get_setting('block_border') : '0',
- '#attributes' => ['class' => ['border-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('block_border') !== NULL)) ? theme_get_setting('block_border') : 0,
+ '#min' => 0,
+ '#max' => 30,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'block-border-range', 'border-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['block']['block_advanced']['block_el']['block_border_color'] = [
@@ -201,30 +219,48 @@ function block_design_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['block']['block_advanced']['title_el']['title_padding'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Title padding'),
- '#default_value' => ((theme_get_setting('title_padding') !== NULL)) ? theme_get_setting('title_padding') : '0',
- '#attributes' => ['class' => ['border-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('title_padding') !== NULL)) ? theme_get_setting('title_padding') : 10,
+ '#min' => 0,
+ '#max' => 30,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'title-padding-range', 'border-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['block']['block_advanced']['title_el']['title_border'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Title Border'),
- '#default_value' => ((theme_get_setting('title_border') !== NULL)) ? theme_get_setting('title_border') : '0',
- '#attributes' => ['class' => ['border-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('title_border') !== NULL)) ? theme_get_setting('title_border') : 0,
+ '#min' => 0,
+ '#max' => 30,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'title-border-range', 'border-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['block']['block_advanced']['title_el']['title_border_radius'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Title Border Radius'),
- '#default_value' => ((theme_get_setting('title_border_radius') !== NULL)) ? theme_get_setting('title_border_radius') : '0',
- '#attributes' => ['class' => ['border-radius-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('title_border_radius') !== NULL)) ? theme_get_setting('title_border_radius') : 0,
+ '#min' => 0,
+ '#max' => 30,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'title-border-radius-range', 'border-radius-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['block']['block_advanced']['title_el']['title_border_color'] = [
@@ -326,46 +362,79 @@ function block_design_theme_settings(array &$form, $theme) {
],
];
- $form['dxpr_theme_settings']['block']['block_advanced']['divider_el']['block_divider_thickness'] = [
- '#type' => 'textfield',
- '#title' => t('Divider Thickness'),
- '#default_value' => ((theme_get_setting('block_divider_thickness') !== NULL)) ? theme_get_setting('block_divider_thickness') : '4',
- '#size' => 9,
- '#maxlength' => 9,
+ $form['dxpr_theme_settings']['block']['block_advanced']['divider_el']['block_divider_thickness_wrapper'] = [
+ '#type' => 'container',
+ '#attributes' => ['class' => ['dxb-slider-wrapper-container']],
'#states' => [
'visible' => [
':input[name="block_divider"]' => ['checked' => TRUE],
':input[name="block_divider_custom"]' => ['checked' => TRUE],
],
],
+ 'block_divider_thickness' => [
+ '#type' => 'range',
+ '#title' => t('Divider Thickness'),
+ '#default_value' => ((theme_get_setting('block_divider_thickness') !== NULL)) ? theme_get_setting('block_divider_thickness') : 4,
+ '#min' => 0,
+ '#max' => 20,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'block-divider-thickness-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
+ ],
];
- $form['dxpr_theme_settings']['block']['block_advanced']['divider_el']['block_divider_length'] = [
- '#type' => 'textfield',
- '#title' => t('Divider Length'),
- '#default_value' => ((theme_get_setting('block_divider_length') !== NULL)) ? theme_get_setting('block_divider_length') : '10',
- '#size' => 9,
- '#maxlength' => 9,
+ $form['dxpr_theme_settings']['block']['block_advanced']['divider_el']['block_divider_length_wrapper'] = [
+ '#type' => 'container',
+ '#attributes' => ['class' => ['dxb-slider-wrapper-container']],
'#states' => [
'visible' => [
':input[name="block_divider"]' => ['checked' => TRUE],
':input[name="block_divider_custom"]' => ['checked' => TRUE],
],
],
+ 'block_divider_length' => [
+ '#type' => 'range',
+ '#title' => t('Divider Length'),
+ '#default_value' => ((theme_get_setting('block_divider_length') !== NULL)) ? theme_get_setting('block_divider_length') : 10,
+ '#min' => 0,
+ '#max' => 500,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'block-divider-length-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
+ ],
];
- $form['dxpr_theme_settings']['block']['block_advanced']['divider_el']['block_divider_spacing'] = [
- '#type' => 'textfield',
- '#title' => t('Divider Spacing'),
- '#default_value' => ((theme_get_setting('block_divider_spacing') !== NULL)) ? theme_get_setting('block_divider_spacing') : '20',
- '#size' => 9,
- '#maxlength' => 9,
+ $form['dxpr_theme_settings']['block']['block_advanced']['divider_el']['block_divider_spacing_wrapper'] = [
+ '#type' => 'container',
+ '#attributes' => ['class' => ['dxb-slider-wrapper-container']],
'#states' => [
'visible' => [
':input[name="block_divider"]' => ['checked' => TRUE],
':input[name="block_divider_custom"]' => ['checked' => TRUE],
],
],
+ 'block_divider_spacing' => [
+ '#type' => 'range',
+ '#title' => t('Divider Spacing'),
+ '#default_value' => ((theme_get_setting('block_divider_spacing') !== NULL)) ? theme_get_setting('block_divider_spacing') : 20,
+ '#min' => 0,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'block-divider-spacing-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
+ ],
];
$form['dxpr_theme_settings']['block']['regions'] = [
diff --git a/features/sooper-header/header-theme-settings.inc b/features/sooper-header/header-theme-settings.inc
index f8c0342df..bfd3cf2f2 100755
--- a/features/sooper-header/header-theme-settings.inc
+++ b/features/sooper-header/header-theme-settings.inc
@@ -68,30 +68,51 @@ function header_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['header']['header_top']['header_top_bg_opacity'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Header Opacity'),
'#default_value' => ((theme_get_setting('header_top_bg_opacity') !== NULL)) ? theme_get_setting('header_top_bg_opacity') : 1,
- '#size' => 9,
- '#maxlength' => 9,
+ '#min' => 0,
+ '#max' => 1,
+ '#step' => 0.01,
'#description' => t('Creates RGBa translucent background color. 0 is fully transparent and 1 is fully opaque.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-top-bg-opacity-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_top']['header_top_height'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Height'),
- '#default_value' => ((theme_get_setting('header_top_height') !== NULL)) ? theme_get_setting('header_top_height') : '100',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('header_top_height') !== NULL)) ? theme_get_setting('header_top_height') : 100,
+ '#min' => 10,
+ '#max' => 200,
+ '#step' => 1,
'#description' => t('Initial height of the header. 10px - 200px. Default is 100.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-top-height-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_top']['logo_height'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Logo Height'),
- '#default_value' => theme_get_setting('logo_height') ?: '35',
- '#size' => 9,
- '#maxlength' => 3,
- '#description' => t('Height of the logo within the header. 10% - 100%. Default is 35%.'),
+ '#default_value' => theme_get_setting('logo_height') ?: 50,
+ '#min' => 10,
+ '#max' => 100,
+ '#step' => 1,
+ '#description' => t('Height of the logo within the header. 10% - 100%. Default is 50%.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'logo-height-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_top']['header_top_fixed'] = [
@@ -157,11 +178,12 @@ function header_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['header']['header_top']['sticky']['header_top_height_sticky_offset'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Scroll offset'),
- '#default_value' => ((theme_get_setting('header_top_height_sticky_offset') !== NULL)) ? theme_get_setting('header_top_height_sticky_offset') : '60',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('header_top_height_sticky_offset') !== NULL)) ? theme_get_setting('header_top_height_sticky_offset') : 60,
+ '#min' => 0,
+ '#max' => 2096,
+ '#step' => 10,
'#description' => t('Scroll distance before header jumps to its fixed position at the top of page. 0 - 2096px. Default is 60.'),
'#states' => [
'visible' => [
@@ -169,14 +191,21 @@ function header_theme_settings(array &$form, $theme) {
':input[name="header_top_sticky"]' => ['checked' => TRUE],
],
],
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-top-height-sticky-offset-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_top']['sticky']['header_top_height_scroll'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Height'),
- '#default_value' => ((theme_get_setting('header_top_height_scroll') !== NULL)) ? theme_get_setting('header_top_height_scroll') : '50',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('header_top_height_scroll') !== NULL)) ? theme_get_setting('header_top_height_scroll') : 50,
+ '#min' => 10,
+ '#max' => 200,
+ '#step' => 1,
'#description' => t('Header height after scrolling past scroll offset. Default is 50.'),
'#states' => [
'visible' => [
@@ -184,14 +213,21 @@ function header_theme_settings(array &$form, $theme) {
':input[name="header_top_sticky"]' => ['checked' => TRUE],
],
],
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-top-height-scroll-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_top']['sticky']['header_top_bg_opacity_scroll'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Background Opacity'),
'#default_value' => ((theme_get_setting('header_top_bg_opacity_scroll') !== NULL)) ? theme_get_setting('header_top_bg_opacity_scroll') : 1,
- '#size' => 9,
- '#maxlength' => 9,
+ '#min' => 0,
+ '#max' => 1,
+ '#step' => 0.01,
'#description' => t('Creates RGBa translucent background color. 0 is fully transparent and 1 is fully opaque.'),
'#states' => [
'visible' => [
@@ -199,6 +235,12 @@ function header_theme_settings(array &$form, $theme) {
':input[name="header_top_sticky"]' => ['checked' => TRUE],
],
],
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-top-bg-opacity-scroll-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_top']['navcolors'] = [
@@ -426,21 +468,35 @@ function header_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['header']['header_side']['header_side_width'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Width'),
- '#default_value' => ((theme_get_setting('header_side_width') !== NULL)) ? theme_get_setting('header_side_width') : '300',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('header_side_width') !== NULL)) ? theme_get_setting('header_side_width') : 300,
+ '#min' => 50,
+ '#max' => 500,
+ '#step' => 5,
'#description' => t('Width of the side-header. Default is 300.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-side-width-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_side']['header_side_logo_height'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Logo Height'),
'#default_value' => theme_get_setting('header_side_logo_height') ?: 30,
- '#size' => 9,
- '#maxlength' => 3,
+ '#min' => 10,
+ '#max' => 500,
+ '#step' => 1,
'#description' => t('Height of the logo in the side-header. Default is 30px.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-side-logo-height-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_side']['header_side_direction'] = [
@@ -490,12 +546,18 @@ function header_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['header']['menu']['dropdown_width'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Dropdown width'),
'#default_value' => ((theme_get_setting('dropdown_width') !== NULL)) ? theme_get_setting('dropdown_width') : '160',
- '#type' => 'textfield',
- '#size' => 9,
- '#maxlength' => 9,
+ '#min' => 100,
+ '#max' => 500,
+ '#step' => 5,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'dropdown-width-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['menu']['menu_type'] = [
@@ -555,24 +617,32 @@ function header_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['header']['menu']['menu_border']['menu_border_position_offset'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Position Offset'),
'#default_value' => ((theme_get_setting('menu_border_position_offset') !== NULL)) ? theme_get_setting('menu_border_position_offset') : '0',
- '#size' => 9,
- '#maxlength' => 9,
+ '#min' => 0,
+ '#max' => 100,
+ '#step' => 1,
'#states' => [
'visible' => [
':input[name="header_position"]' => ['checked' => FALSE],
],
],
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'menu-border-position-offset-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['menu']['menu_border']['menu_border_position_offset_sticky'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Position Offset for Sticky Header'),
'#default_value' => ((theme_get_setting('menu_border_position_offset_sticky') !== NULL)) ? theme_get_setting('menu_border_position_offset_sticky') : '0',
- '#size' => 9,
- '#maxlength' => 9,
+ '#min' => 0,
+ '#max' => 100,
+ '#step' => 1,
'#states' => [
'visible' => [
':input[name="header_position"]' => ['checked' => FALSE],
@@ -580,14 +650,27 @@ function header_theme_settings(array &$form, $theme) {
':input[name="header_top_sticky"]' => ['checked' => TRUE],
],
],
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'menu-border-position-offset-sticky-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['menu']['menu_border']['menu_border_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Border Thickness'),
- '#default_value' => ((theme_get_setting('menu_border_size') !== NULL)) ? theme_get_setting('menu_border_size') : '2',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('menu_border_size') !== NULL)) ? theme_get_setting('menu_border_size') : 2,
+ '#min' => 1,
+ '#max' => 20,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'menu-border-size-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['menu']['menu_border']['menu_border_color'] = [
@@ -617,21 +700,35 @@ function header_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['header']['header_mobile']['header_mobile_breakpoint'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Mobile Breakpoint'),
- '#default_value' => ((theme_get_setting('header_mobile_breakpoint') !== NULL)) ? theme_get_setting('header_mobile_breakpoint') : '1200',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('header_mobile_breakpoint') !== NULL)) ? theme_get_setting('header_mobile_breakpoint') : 1200,
+ '#min' => 480,
+ '#max' => 4100,
+ '#step' => 10,
'#description' => t('Point below where DXPR Theme switches to mobile header and navigation. If you set this to the maximum value (4100) the desktop style will never show. Default is 1200.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-mobile-breakpoint-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_mobile']['header_mobile_height'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Height'),
- '#default_value' => ((theme_get_setting('header_mobile_height') !== NULL)) ? theme_get_setting('header_mobile_height') : '60',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('header_mobile_height') !== NULL)) ? theme_get_setting('header_mobile_height') : 60,
+ '#min' => 10,
+ '#max' => 200,
+ '#step' => 1,
'#description' => t('Height of header in mobile view. 10px - 200px. Default is 60.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'header-mobile-height-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['header']['header_mobile']['header_mobile_fixed'] = [
diff --git a/features/sooper-layout/layout-theme-settings.inc b/features/sooper-layout/layout-theme-settings.inc
index f3a24e077..f06e99433 100755
--- a/features/sooper-layout/layout-theme-settings.inc
+++ b/features/sooper-layout/layout-theme-settings.inc
@@ -59,13 +59,24 @@ function layout_theme_settings(array &$form, $theme) {
'#collapsed' => TRUE,
];
- $form['dxpr_theme_settings']['layout']['grid']['box_max_width'] = [
- '#type' => 'textfield',
- '#title' => t('Boxed Container Max-width'),
- '#default_value' => ((theme_get_setting('box_max_width') !== NULL)) ? theme_get_setting('box_max_width') : '1170',
- '#size' => 9,
- '#maxlength' => 9,
- '#description' => t('Width of the boxed layout container. Should be higher than content width.'),
+ $form['dxpr_theme_settings']['layout']['grid']['box_max_width_wrapper'] = [
+ '#type' => 'container',
+ '#attributes' => ['class' => ['dxb-slider-wrapper-container']],
+ 'box_max_width' => [
+ '#type' => 'range',
+ '#title' => t('Boxed Container Max-width'),
+ '#default_value' => ((theme_get_setting('box_max_width') !== NULL)) ? theme_get_setting('box_max_width') : 1170,
+ '#min' => 480,
+ '#max' => 4100,
+ '#step' => 10,
+ '#description' => t('Width of the boxed layout container. Should be higher than content width.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'box-max-width-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
+ ],
'#states' => [
'visible' => [
':input[name="boxed_layout"]' => ['checked' => TRUE],
@@ -74,39 +85,67 @@ function layout_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['layout']['grid']['layout_max_width'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Content Max-width'),
- '#default_value' => ((theme_get_setting('layout_max_width') !== NULL)) ? theme_get_setting('layout_max_width') : '1170',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('layout_max_width') !== NULL)) ? theme_get_setting('layout_max_width') : 1170,
+ '#min' => 480,
+ '#max' => 4100,
+ '#step' => 10,
'#description' => t('Max width of the website container. 480px - 4100px. Default is 1280px. With Side-Header enabled we typically use 980px.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'layout-max-width-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['layout']['grid']['gutter_horizontal'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Space between columns'),
- '#default_value' => ((theme_get_setting('gutter_horizontal') !== NULL)) ? theme_get_setting('gutter_horizontal') : '30',
- '#size' => 9,
- '#maxlength' => 9,
- '#description' => t('Default is 30px.'),
+ '#default_value' => ((theme_get_setting('gutter_horizontal') !== NULL)) ? theme_get_setting('gutter_horizontal') : 20,
+ '#min' => 0,
+ '#max' => 100,
+ '#step' => 1,
+ '#description' => t('Default is 20px.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'gutter-horizontal-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['layout']['grid']['gutter_vertical'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Space between rows'),
- '#default_value' => ((theme_get_setting('gutter_vertical') !== NULL)) ? theme_get_setting('gutter_vertical') : '30',
- '#size' => 9,
- '#maxlength' => 9,
- '#description' => t('Default is 30px.'),
+ '#default_value' => ((theme_get_setting('gutter_vertical') !== NULL)) ? theme_get_setting('gutter_vertical') : 30,
+ '#min' => 0,
+ '#max' => 100,
+ '#step' => 1,
+ '#description' => t('Default is 20px.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'gutter-vertical-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['layout']['grid']['gutter_container'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Container Space'),
- '#default_value' => ((theme_get_setting('gutter_container') !== NULL)) ? theme_get_setting('gutter_container') : '60',
- '#size' => 9,
- '#maxlength' => 9,
- '#description' => t('Default is 60px.'),
+ '#default_value' => ((theme_get_setting('gutter_container') !== NULL)) ? theme_get_setting('gutter_container') : 30,
+ '#min' => 0,
+ '#max' => 500,
+ '#step' => 1,
+ '#description' => t('Default is 30px.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'gutter-container-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['layout']['background'] = [
@@ -175,30 +214,51 @@ function layout_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['layout']['mobile_layout']['gutter_horizontal_mobile'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Space between columns'),
- '#default_value' => ((theme_get_setting('gutter_horizontal_mobile') !== NULL)) ? theme_get_setting('gutter_horizontal_mobile') : '30',
- '#size' => 9,
- '#maxlength' => 9,
- '#description' => t('Width of the horizontal gutter in DXPR Theme mobile view (<1200px). 0 - 100px. Default is 30.'),
+ '#default_value' => ((theme_get_setting('gutter_horizontal_mobile') !== NULL)) ? theme_get_setting('gutter_horizontal_mobile') : 10,
+ '#min' => 0,
+ '#max' => 100,
+ '#step' => 1,
+ '#description' => t('Width of the horizontal gutter in DXPR Theme mobile view (<1200px). 0 - 100px. Default is 10.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'gutter-horizontal-mobile-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['layout']['mobile_layout']['gutter_vertical_mobile'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Space between rows'),
- '#default_value' => ((theme_get_setting('gutter_vertical_mobile') !== NULL)) ? theme_get_setting('gutter_vertical_mobile') : '30',
- '#size' => 9,
- '#maxlength' => 9,
- '#description' => t('Width of the vertical gutter in DXPR Theme mobile view (<1200px). 0 - 100px. Default is 30px.'),
+ '#default_value' => ((theme_get_setting('gutter_vertical_mobile') !== NULL)) ? theme_get_setting('gutter_vertical_mobile') : 10,
+ '#min' => 0,
+ '#max' => 100,
+ '#step' => 1,
+ '#description' => t('Width of the vertical gutter in DXPR Theme mobile view (<1200px). 0 - 100px. Default is 10px.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'gutter-vertical-mobile-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['layout']['mobile_layout']['gutter_container_mobile'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Mobile Container space'),
- '#default_value' => ((theme_get_setting('gutter_container_mobile') !== NULL)) ? theme_get_setting('gutter_container_mobile') : '30',
- '#size' => 9,
- '#maxlength' => 9,
- '#description' => t('Default is 30px.'),
+ '#default_value' => ((theme_get_setting('gutter_container_mobile') !== NULL)) ? theme_get_setting('gutter_container_mobile') : 20,
+ '#min' => 0,
+ '#max' => 500,
+ '#step' => 1,
+ '#description' => t('Default is 20px.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'gutter-container-mobile-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
// Secondary Header.
diff --git a/features/sooper-page-title/page_title-theme-settings-controller.inc b/features/sooper-page-title/page_title-theme-settings-controller.inc
index 9ef4dd0d3..348efff2c 100755
--- a/features/sooper-page-title/page_title-theme-settings-controller.inc
+++ b/features/sooper-page-title/page_title-theme-settings-controller.inc
@@ -14,6 +14,6 @@
function page_title_theme_settings_controller(array &$variables) {
$page_title_animate = theme_get_setting('page_title_animate');
if ($page_title_animate) {
- $variables['#attached']['library'][] = 'dxpr_theme/dxpr-theme-animatecss-custom';
+ $variables['#attached']['library'][] = 'dxpr_theme/custom_animations';
}
}
diff --git a/features/sooper-page-title/page_title-theme-settings.inc b/features/sooper-page-title/page_title-theme-settings.inc
index fb3d12d9e..6e141d14c 100755
--- a/features/sooper-page-title/page_title-theme-settings.inc
+++ b/features/sooper-page-title/page_title-theme-settings.inc
@@ -85,12 +85,19 @@ function page_title_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['page_title']['page_title_height'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Height'),
'#default_value' => ((theme_get_setting('page_title_height') !== NULL)) ? theme_get_setting('page_title_height') : '120',
- '#size' => 9,
- '#maxlength' => 9,
+ '#min' => 50,
+ '#max' => 500,
+ '#step' => 5,
'#description' => t('height of the header. 50px - 500px. Default is 120px.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'page-title-height-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['page_title']['page_title_animate'] = [
@@ -99,17 +106,17 @@ function page_title_theme_settings(array &$form, $theme) {
'#default_value' => ((theme_get_setting('page_title_animate') !== NULL)) ? theme_get_setting('page_title_animate') : '0',
'#options' => [
'0' => t('No Animation'),
- 'bounce' => t('Bounce'),
- 'flash' => t('Flash'),
- 'pulse' => t('Pulse'),
- 'fadeIn' => t('Fade in'),
- 'bounceInDown' => t('Bounce in down'),
- 'bounceInUp' => t('Bounce in up'),
- 'fadeInDown' => t('Fade in down'),
- 'fadeInUp' => t('Fade in up'),
+ 'bounce-dxpr' => t('Bounce'),
+ 'flash-dxpr' => t('Flash'),
+ 'pulse-dxpr' => t('Pulse'),
+ 'fade-in-dxpr' => t('Fade in'),
+ 'bounce-in-down-dxpr' => t('Bounce in down'),
+ 'bounce-in-up-dxpr' => t('Bounce in up'),
+ 'fade-in-down-dxpr' => t('Fade in down'),
+ 'fade-in-up-dxpr' => t('Fade in up'),
],
'#prefix' => '
',
- '#description' => t('Choose animate.css appear animation', ['@drupal-handbook' => 'https://daneden.github.io/animate.css/']),
+ '#description' => t('Choose an animation.'),
];
$form['dxpr_theme_settings']['page_title']['background'] = [
@@ -133,12 +140,19 @@ function page_title_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['page_title']['background']['page_title_image_opacity'] = [
- '#type' => 'textfield',
- '#title' => t('Backound Image Opacity'),
+ '#type' => 'range',
+ '#title' => t('Background Image Opacity'),
'#default_value' => ((theme_get_setting('page_title_image_opacity') !== NULL)) ? theme_get_setting('page_title_image_opacity') : 1,
- '#size' => 9,
- '#maxlength' => 9,
+ '#min' => 0,
+ '#max' => 1,
+ '#step' => 0.01,
'#description' => t('Use this to blend the background image with a color. 0 is fully transparent and 1 is fully opaque.'),
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'page-title-image-opacity-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['page_title']['background']['page_title_image_style'] = [
diff --git a/features/sooper-typography/typography-theme-settings.inc b/features/sooper-typography/typography-theme-settings.inc
index 32b343dac..f787c5fee 100755
--- a/features/sooper-typography/typography-theme-settings.inc
+++ b/features/sooper-typography/typography-theme-settings.inc
@@ -14,6 +14,7 @@
* Theme machine name.
*/
function typography_theme_settings(array &$form, $theme) {
+ $form['#attributes']['novalidate'] = 'novalidate';
$form['dxpr_theme_settings']['typography'] = [
'#title' => t('Typography'),
'#type' => 'details',
@@ -22,45 +23,78 @@ function typography_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['typography']['body_line_height'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Body Line Height'),
- '#default_value' => ((theme_get_setting('body_line_height') !== NULL)) ? theme_get_setting('body_line_height') : '1.42857',
- '#attributes' => ['class' => ['line-height-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('body_line_height') !== NULL)) ? theme_get_setting('body_line_height') : 1.5,
+ '#min' => 0,
+ '#max' => 3,
+ '#step' => 0.01,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'body-line-height-range', 'line-height-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['body_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Body Font Size'),
- '#default_value' => ((theme_get_setting('body_font_size') !== NULL)) ? theme_get_setting('body_font_size') : '14',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('body_font_size') !== NULL)) ? theme_get_setting('body_font_size') : 14,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'body-font-size-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['nav_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Main menu Font Size'),
- '#default_value' => ((theme_get_setting('nav_font_size') !== NULL)) ? theme_get_setting('nav_font_size') : '14',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('nav_font_size') !== NULL)) ? theme_get_setting('nav_font_size') : 14,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'nav-font-size-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['headings_line_height'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Headings Line Height'),
- '#default_value' => ((theme_get_setting('headings_line_height') !== NULL)) ? theme_get_setting('headings_line_height') : '1.05',
- '#attributes' => ['class' => ['line-height-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('headings_line_height') !== NULL)) ? theme_get_setting('headings_line_height') : 1.05,
+ '#min' => 0,
+ '#max' => 3,
+ '#step' => 0.1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'headings-line-height-range', 'line-height-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['scale_factor'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Typography Scale Factor') . ' ' . t('(This overrides advanced type controls)') . '',
- '#default_value' => ((theme_get_setting('scale_factor') !== NULL)) ? theme_get_setting('scale_factor') : '1.25',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('scale_factor') !== NULL)) ? theme_get_setting('scale_factor') : 1,
+ '#min' => 1,
+ '#max' => 2,
+ '#step' => 0.01,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'scale-factor-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type'] = [
@@ -72,65 +106,108 @@ function typography_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['typography']['advanced_type']['h1_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('H1 Font Size (Page Title)'),
- '#default_value' => ((theme_get_setting('h1_font_size') !== NULL)) ? theme_get_setting('h1_font_size') : '36',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('h1_font_size') !== NULL)) ? theme_get_setting('h1_font_size') : 36,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'h1-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['h2_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('H2 Font Size'),
- '#default_value' => ((theme_get_setting('h2_font_size') !== NULL)) ? theme_get_setting('h2_font_size') : '30',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('h2_font_size') !== NULL)) ? theme_get_setting('h2_font_size') : 16,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'h2-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['h3_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('H3 Font Size'),
- '#default_value' => ((theme_get_setting('h3_font_size') !== NULL)) ? theme_get_setting('h3_font_size') : '24',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('h3_font_size') !== NULL)) ? theme_get_setting('h3_font_size') : 14,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'h3-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['h4_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('H4 Font Size'),
- '#default_value' => ((theme_get_setting('h4_font_size') !== NULL)) ? theme_get_setting('h4_font_size') : '18',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('h4_font_size') !== NULL)) ? theme_get_setting('h4_font_size') : 12,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'h4-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['blockquote_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Blockquote Font Size'),
- '#default_value' => ((theme_get_setting('blockquote_font_size') !== NULL)) ? theme_get_setting('blockquote_font_size') : '18',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('blockquote_font_size') !== NULL)) ? theme_get_setting('blockquote_font_size') : 16,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'blockquote-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['blockquote_line_height'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Blockquote Line Height'),
- '#default_value' => ((theme_get_setting('blockquote_line_height') !== NULL)) ? theme_get_setting('blockquote_line_height') : '1.5',
- '#attributes' => ['class' => ['line-height-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('blockquote_line_height') !== NULL)) ? theme_get_setting('blockquote_line_height') : 1.5,
+ '#min' => 0,
+ '#max' => 3,
+ '#step' => 0.1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'blockquote-line-height-range', 'line-height-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['headings_letter_spacing'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Headings Letter Spacing'),
- '#default_value' => ((theme_get_setting('headings_letter_spacing') !== NULL)) ? theme_get_setting('headings_letter_spacing') : '0',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('headings_letter_spacing') !== NULL)) ? theme_get_setting('headings_letter_spacing') : 0,
+ '#min' => -0.1,
+ '#max' => 0.3,
+ '#step' => 0.01,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'headings-letter-spacing-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['headings_uppercase'] = [
@@ -157,64 +234,108 @@ function typography_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['typography']['advanced_type']['mobile_type']['body_mobile_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Body Font Size'),
- '#default_value' => ((theme_get_setting('body_mobile_font_size') !== NULL)) ? theme_get_setting('body_mobile_font_size') : '14',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('body_mobile_font_size') !== NULL)) ? theme_get_setting('body_mobile_font_size') : 14,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'body-mobile-font-size-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['mobile_type']['nav_mobile_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Nav Font Size'),
- '#default_value' => ((theme_get_setting('nav_mobile_font_size') !== NULL)) ? theme_get_setting('nav_mobile_font_size') : '14',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('nav_mobile_font_size') !== NULL)) ? theme_get_setting('nav_mobile_font_size') : 14,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'nav-mobile-font-size-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['mobile_type']['h1_mobile_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('H1 Font Size (Page Title)'),
- '#default_value' => ((theme_get_setting('h1_mobile_font_size') !== NULL)) ? theme_get_setting('h1_mobile_font_size') : '36',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('h1_mobile_font_size') !== NULL)) ? theme_get_setting('h1_mobile_font_size') : 36,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'h1-mobile-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['mobile_type']['h2_mobile_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('H2 Font Size'),
- '#default_value' => ((theme_get_setting('h2_mobile_font_size') !== NULL)) ? theme_get_setting('h2_mobile_font_size') : '30',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('h2_mobile_font_size') !== NULL)) ? theme_get_setting('h2_mobile_font_size') : 30,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'h2-mobile-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['mobile_type']['h3_mobile_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('H3 Font Size'),
- '#default_value' => ((theme_get_setting('h3_mobile_font_size') !== NULL)) ? theme_get_setting('h3_mobile_font_size') : '24',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('h3_mobile_font_size') !== NULL)) ? theme_get_setting('h3_mobile_font_size') : 16,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'h3-mobile-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['mobile_type']['h4_mobile_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('H4 Font Size'),
- '#default_value' => ((theme_get_setting('h4_mobile_font_size') !== NULL)) ? theme_get_setting('h4_mobile_font_size') : '20',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('h4_mobile_font_size') !== NULL)) ? theme_get_setting('h4_mobile_font_size') : 14,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'h4-mobile-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['advanced_type']['mobile_type']['blockquote_mobile_font_size'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Blockquote Font Size'),
- '#default_value' => ((theme_get_setting('blockquote_mobile_font_size') !== NULL)) ? theme_get_setting('blockquote_mobile_font_size') : '18',
- '#attributes' => ['class' => ['font-size-slider']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('blockquote_mobile_font_size') !== NULL)) ? theme_get_setting('blockquote_mobile_font_size') : 18,
+ '#min' => 8,
+ '#max' => 100,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'blockquote-mobile-font-size-range', 'font-size-slider'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['divider'] = [
@@ -226,33 +347,53 @@ function typography_theme_settings(array &$form, $theme) {
];
$form['dxpr_theme_settings']['typography']['divider']['divider_thickness'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Divider Thickness'),
- '#default_value' => ((theme_get_setting('divider_thickness') !== NULL)) ? theme_get_setting('divider_thickness') : '4',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('divider_thickness') !== NULL)) ? theme_get_setting('divider_thickness') : 4,
+ '#min' => 8,
+ '#max' => 20,
+ '#step' => 1,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'divider-thickness-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['divider']['divider_length'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Divider Length') . ' ' . t('(0 = full width)') . '',
- '#default_value' => ((theme_get_setting('divider_length') !== NULL)) ? theme_get_setting('divider_length') : '0',
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('divider_length') !== NULL)) ? theme_get_setting('divider_length') : 100,
+ '#min' => 0,
+ '#max' => 500,
+ '#step' => 10,
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'divider-length-range'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['divider']['divider_position'] = [
- '#type' => 'textfield',
+ '#type' => 'range',
'#title' => t('Divider Position'),
- '#default_value' => ((theme_get_setting('divider_position') !== NULL)) ? theme_get_setting('divider_position') : '0',
- '#attributes' => ['class' => ['element-invisible']],
- '#size' => 9,
- '#maxlength' => 9,
+ '#default_value' => ((theme_get_setting('divider_position') !== NULL)) ? theme_get_setting('divider_position') : 1,
+ '#min' => 1,
+ '#max' => 3,
+ '#step' => 1,
'#states' => [
'invisible' => [
':input[name="divider_length"]' => ['value' => '0'],
],
],
+ '#attributes' => [
+ 'class' => ['dxb-slider', 'divider-position-range', 'element-invisible'],
+ 'data-dxb-slider' => TRUE,
+ ],
+ '#prefix' => '',
];
$form['dxpr_theme_settings']['typography']['divider']['divider_color'] = [
diff --git a/js/dist/dxpr-theme-full-screen-search.js b/js/dist/dxpr-theme-full-screen-search.js
index 0ef3aeb13..62a0bf928 100644
--- a/js/dist/dxpr-theme-full-screen-search.js
+++ b/js/dist/dxpr-theme-full-screen-search.js
@@ -1,46 +1,52 @@
-/**
- * @file
- * A JavaScript file that styles the page with bootstrap classes.
- *
- * @see sass/styles.scss for more info
- */
-(function ($, Drupal, once) {
+(function (Drupal, once) {
Drupal.behaviors.fullScreenSearch = {
attach(context, settings) {
- const searchButton = $(".full-screen-search-button");
- const searchForm = $(".full-screen-search-form");
- const searchFormInput = searchForm.find(".search-query");
- const escapeCode = 27;
+ const searchButton = document.querySelector(".full-screen-search-button");
+ const searchForm = document.querySelector(".full-screen-search-form");
+ const searchFormInput = searchForm.querySelector(".search-query");
+
function clearSearchForm() {
- searchForm.toggleClass("invisible");
- document
- .querySelector("body")
- .classList.toggle("body--full-screen-search");
+ searchForm.classList.toggle("invisible");
+ document.body.classList.toggle("body--full-screen-search");
setTimeout(() => {
- searchFormInput.val("");
+ searchFormInput.value = "";
}, 350);
}
- $(once("search-button", searchButton)).on("touchstart click", (event) => {
+
+ function handleSearchButtonClick(event) {
event.preventDefault();
- searchForm.toggleClass("invisible");
- document
- .querySelector("body")
- .classList.toggle("body--full-screen-search");
+ searchForm.classList.toggle("invisible");
+ document.body.classList.toggle("body--full-screen-search");
searchFormInput.focus();
- });
- $(once("search-form", searchForm)).on("touchstart click", (ele) => {
+ }
+
+ function handleSearchFormClick(ele) {
if (!ele.target.classList.contains("search-query")) {
clearSearchForm();
}
- });
- $(document).keydown((event) => {
+ }
+
+ // Handle the search button click or touchstart
+ if (searchButton && once("search-button", searchButton).length) {
+ searchButton.addEventListener("touchstart", handleSearchButtonClick);
+ searchButton.addEventListener("click", handleSearchButtonClick);
+ }
+
+ // Handle the search form click or touchstart
+ if (searchForm && once("search-form", searchForm).length) {
+ searchForm.addEventListener("touchstart", handleSearchFormClick);
+ searchForm.addEventListener("click", handleSearchFormClick);
+ }
+
+ // Handle the escape key to close the search form
+ document.addEventListener("keydown", (event) => {
if (
- event.which === escapeCode &&
- !searchForm.classList.contains("invisible")
+ event.key === "Escape" && // Check if Escape key is pressed
+ !searchForm.classList.contains("invisible") // Ensure the form is visible
) {
- clearSearchForm();
+ clearSearchForm(); // Call the function to clear the form
}
});
},
};
-})(jQuery, Drupal, once);
+})(Drupal, once);
diff --git a/js/dist/dxpr-theme-header.js b/js/dist/dxpr-theme-header.js
index 731bd876e..24f64b59e 100644
--- a/js/dist/dxpr-theme-header.js
+++ b/js/dist/dxpr-theme-header.js
@@ -4,12 +4,13 @@
*
* @see sass/styles.scss for more info
*/
-(function ($, Drupal, once) {
+(function (Drupal, once) {
let dxpr_themeMenuState = "";
- // Create underscore debounce and throttle functions if they doesn't exist already
+ // Create and throttle functions if they don't exist already
if (typeof _ != "function") {
window._ = {};
+
const restArgs = function (func, startIndex) {
startIndex = startIndex == null ? func.length - 1 : +startIndex;
return function (...args) {
@@ -36,6 +37,7 @@
return func.apply(this, argsData);
};
};
+
_.delay = restArgs((func, waitValue, args) =>
setTimeout(() => func(...args), waitValue),
);
@@ -78,7 +80,7 @@
let previous = 0;
if (!options) options = {};
const later = function () {
- previous = options.leading === false ? 0 : _.now();
+ previous = options.leading === false ? 0 : Date.now();
timeout = null;
result = func.apply(context, args);
if (!timeout) {
@@ -87,7 +89,7 @@
}
};
return function (...reArgs) {
- const now = _.now();
+ const now = Date.now();
if (!previous && options.leading === false) previous = now;
const remaining = wait - (now - previous);
context = this;
@@ -113,10 +115,11 @@
const navBreak =
"dxpr_themeNavBreakpoint" in window ? window.dxpr_themeNavBreakpoint : 1200;
+
if (
- $(".dxpr-theme-header--sticky").length > 0 &&
- !$(".dxpr-theme-header--overlay").length &&
- $(window).width() > navBreak
+ document.querySelectorAll(".dxpr-theme-header--sticky").length > 0 &&
+ !document.querySelectorAll(".dxpr-theme-header--overlay").length &&
+ window.innerWidth > navBreak
) {
const headerHeight = parseFloat(
drupalSettings.dxpr_themeSettings.headerHeight,
@@ -130,26 +133,25 @@
const wrapContainer =
document.getElementsByClassName("wrap-containers")[0];
- _.throttle(
- $(window).scroll(() => {
- const scroll = $(window).scrollTop();
+ const onScroll = _.throttle(() => {
+ const scroll = window.scrollY;
- if (scroll >= headerScroll) {
- elHeader.classList.add("affix");
- elHeader.classList.remove("affix-top");
- wrapContainer.style.marginTop = `${headerHeight}px`;
- } else {
- elHeader.classList.add("affix-top");
- elHeader.classList.remove("affix");
- wrapContainer.style.marginTop = 0;
- }
- }),
- 100,
- );
+ if (scroll >= headerScroll) {
+ elHeader.classList.add("affix");
+ elHeader.classList.remove("affix-top");
+ wrapContainer.style.marginTop = `${headerHeight}px`;
+ } else {
+ elHeader.classList.add("affix-top");
+ elHeader.classList.remove("affix");
+ wrapContainer.style.marginTop = "0";
+ }
+ }, 100);
+
+ window.addEventListener("scroll", onScroll);
}
}
- // Accepts 2 getBoundingClientReact objects
+ // Accepts 2 getBoundingClientRect objects
function dxpr_themeHit(rect1, rect2) {
return !(
rect1.right < rect2.left ||
@@ -165,13 +167,15 @@
if ("dxpr_themeNavBreakpoint" in window) {
navMenuBreak = window.dxpr_themeNavBreakpoint;
}
+
if (
- $(".body--dxpr-theme-header-side").length === 0 &&
- $(window).width() > navMenuBreak
+ document.querySelectorAll(".body--dxpr-theme-header-side").length === 0 &&
+ window.innerWidth > navMenuBreak
) {
if (dxpr_themeMenuState === "top") {
return false;
}
+
const elementNavMobileOpen = document.querySelector(
".html--dxpr-theme-nav-mobile--open",
);
@@ -180,6 +184,7 @@
"html--dxpr-theme-nav-mobile--open",
);
}
+
const elementHeaderSide = document.querySelector(
".dxpr-theme-header--side",
);
@@ -187,7 +192,14 @@
elementHeaderSide.classList.add("dxpr-theme-header--top");
elementHeaderSide.classList.remove("dxpr-theme-header--side");
}
- $("#dxpr-theme-main-menu .menu__breadcrumbs").remove();
+
+ const menuBreadcrumbs = document.querySelector(
+ "#dxpr-theme-main-menu .menu__breadcrumbs",
+ );
+ if (menuBreadcrumbs) {
+ menuBreadcrumbs.remove();
+ }
+
const elementMenuLevel = document.querySelector(".menu__level");
if (elementMenuLevel) {
elementMenuLevel.classList.remove("menu__level");
@@ -195,104 +207,116 @@
elementMenuLevel.style.marginTop = 0;
elementMenuLevel.style.height = "auto";
}
+
const elementMenuItem = document.querySelector(".menu__item");
if (elementMenuItem) {
elementMenuItem.classList.remove("menu__item");
}
- $("[data-submenu]").removeAttr("data-submenu");
- $("[data-menu]").removeAttr("data-menu");
- const bodyWidth = $("body").innerWidth();
+ document
+ .querySelectorAll("[data-submenu]")
+ .forEach((el) => el.removeAttribute("data-submenu"));
+ document
+ .querySelectorAll("[data-menu]")
+ .forEach((el) => el.removeAttribute("data-menu"));
+
+ const bodyWidth = document.body.clientWidth;
const margin = 10;
let columns;
- $("#dxpr-theme-main-menu .menu .dropdown-menu", context)
- .toArray()
- .forEach((element) => {
- const dropdownElement = $(element);
- const width = dropdownElement.width();
- if (
- dropdownElement.find(".dxpr-theme-megamenu__heading").length > 0
- ) {
- columns = dropdownElement.find(
- ".dxpr-theme-megamenu__heading",
- ).length;
+
+ document
+ .querySelectorAll("#dxpr-theme-main-menu .menu .dropdown-menu")
+ .forEach((dropdownElement) => {
+ const width = dropdownElement.offsetWidth;
+ const headings = dropdownElement.querySelectorAll(
+ ".dxpr-theme-megamenu__heading",
+ );
+
+ if (headings.length > 0) {
+ columns = headings.length;
} else {
- columns = Math.floor(dropdownElement.find("li").length / 8) + 1;
+ columns =
+ Math.floor(dropdownElement.querySelectorAll("li").length / 8) + 1;
}
+
if (columns > 2) {
+ dropdownElement.style.width = "100%";
+ dropdownElement.style.left = "0";
+ dropdownElement.parentElement.style.position = "static";
+
dropdownElement
- .css({
- width: "100%", // Full Width Mega Menu
- "left:": "0",
- })
- .parent()
- .css({
- position: "static",
- })
- .find(".dropdown-menu >li")
- .css({
- width: `${100 / columns}%`,
+ .querySelectorAll(".dropdown-menu > li")
+ .forEach((li) => {
+ li.style.width = `${100 / columns}%`;
});
} else {
if (columns > 1) {
- // Accounts for 1px border.
- dropdownElement
- .css("min-width", width * columns + 2)
- .find(">li")
- .css("width", width);
+ dropdownElement.style.minWidth = `${width * columns + 2}px`;
+ dropdownElement.querySelectorAll(":scope > li").forEach((li) => {
+ li.style.width = `${width}px`;
+ });
}
- // Workaround for drop down overlapping.
- // See https://github.com/twbs/bootstrap/issues/13477.
- const topLevelItem = dropdownElement.parent();
- // Set timeout to let the rendering threads catch up.
+
+ const topLevelItem = dropdownElement.parentElement;
setTimeout(() => {
const delta = Math.round(
bodyWidth -
topLevelItem.offsetLeft -
- dropdownElement.outerWidth() -
+ dropdownElement.offsetWidth -
margin,
);
- // Only fix items that went out of screen.
if (delta < 0) {
- dropdownElement.css("left", `${delta}px`);
+ dropdownElement.style.left = `${delta}px`;
}
}, 0);
}
});
+
dxpr_themeMenuState = "top";
+
// Hit Detection for Header
- if ($(".tabs--primary").length > 0 && $("#navbar").length > 0) {
- const tabsRect = $(".tabs--primary")[0].getBoundingClientRect();
+ if (
+ document.querySelectorAll(".tabs--primary").length > 0 &&
+ document.querySelectorAll("#navbar").length > 0
+ ) {
+ const tabsRect = document
+ .querySelector(".tabs--primary")
+ .getBoundingClientRect();
if (
- $(".dxpr-theme-header--navbar-pull-down").length > 0 &&
- $("#navbar .container-col").length > 0
+ document.querySelectorAll(".dxpr-theme-header--navbar-pull-down")
+ .length > 0 &&
+ document.querySelectorAll("#navbar .container-col").length > 0
) {
- const pullDownRect = $(
- "#navbar .container-col",
- )[0].getBoundingClientRect();
+ const pullDownRect = document
+ .querySelector("#navbar .container-col")
+ .getBoundingClientRect();
if (dxpr_themeHit(pullDownRect, tabsRect)) {
document.querySelector(".tabs--primary").style.marginTop =
- pullDownRect.bottom - tabsRect.top + 6;
+ `${pullDownRect.bottom - tabsRect.top + 6}px`;
}
} else {
- const navbarRect = $("#navbar")[0].getBoundingClientRect();
+ const navbarRect = document
+ .querySelector("#navbar")
+ .getBoundingClientRect();
if (dxpr_themeHit(navbarRect, tabsRect)) {
document.querySelector(".tabs--primary").style.marginTop =
- navbarRect.bottom - tabsRect.top + 6;
+ `${navbarRect.bottom - tabsRect.top + 6}px`;
}
}
}
+
if (
- $("#secondary-header").length > 0 &&
- $("#navbar.dxpr-theme-header--overlay").length > 0
+ document.querySelectorAll("#secondary-header").length > 0 &&
+ document.querySelectorAll("#navbar.dxpr-theme-header--overlay").length >
+ 0
) {
- const secHeaderRect = $("#secondary-header")[0].getBoundingClientRect();
- if (
- dxpr_themeHit(
- $("#navbar.dxpr-theme-header--overlay")[0].getBoundingClientRect(),
- secHeaderRect,
- )
- ) {
+ const secHeaderRect = document
+ .querySelector("#secondary-header")
+ .getBoundingClientRect();
+ const navbarOverlayRect = document
+ .querySelector("#navbar.dxpr-theme-header--overlay")
+ .getBoundingClientRect();
+ if (dxpr_themeHit(navbarOverlayRect, secHeaderRect)) {
if (drupalSettings.dxpr_themeSettings.secondHeaderSticky) {
document.querySelector(
"#navbar.dxpr-theme-header--overlay",
@@ -301,12 +325,12 @@
.querySelector("#secondary-header")
.classList.remove("dxpr-theme-secondary-header--sticky");
} else {
- if ($("#toolbar-bar").length > 0) {
+ if (document.querySelectorAll("#toolbar-bar").length > 0) {
document.querySelector("dxpr-theme-header--overlay").style.top =
- secHeaderRect.bottom;
+ `${secHeaderRect.bottom}px`;
} else {
document.querySelector("dxpr-theme-header--overlay").style.top =
- 0;
+ "0";
}
document
.querySelector("#secondary-header")
@@ -314,26 +338,32 @@
}
}
}
- }
- // Mobile Menu with sliding panels and breadcrumb
- // @see dxpr-theme-multilevel-mobile-nav.js
- else {
+ } else {
+ // Mobile Menu with sliding panels and breadcrumb
+ // @see dxpr-theme-multilevel-mobile-nav.js
if (dxpr_themeMenuState === "side") {
return false;
}
+
// Temporary hiding while settings up @see #290
document.getElementById("dxpr-theme-main-menu").style.display = "none";
+
// Set up classes
- document
- .querySelector(".dxpr-theme-header--top")
- .classList.add("dxpr-theme-header--side");
- document
- .querySelector(".dxpr-theme-header--top")
- .classList.remove("dxpr-theme-header--top");
+ const headerTop = document.querySelector(".dxpr-theme-header--top");
+ if (headerTop) {
+ headerTop.classList.add("dxpr-theme-header--side");
+ headerTop.classList.remove("dxpr-theme-header--top");
+ }
+
// Remove split-mega menu columns
- $(
- "#dxpr-theme-main-menu .menu .dropdown-menu, #dxpr-theme-main-menu .menu .dropdown-menu li",
- ).removeAttr("style");
+ document
+ .querySelectorAll(
+ "#dxpr-theme-main-menu .menu .dropdown-menu, #dxpr-theme-main-menu .menu .dropdown-menu li",
+ )
+ .forEach((el) => {
+ el.removeAttribute("style");
+ });
+
const mainMenu = document.getElementById("dxpr-theme-main-menu");
if (mainMenu) {
const menuItems = mainMenu.querySelectorAll(".menu");
@@ -361,23 +391,29 @@
});
});
}
+
// Set up data attributes
- Array.from($("#dxpr-theme-main-menu .menu a.dropdown-toggle")).forEach(
- (element) => {
+ document
+ .querySelectorAll("#dxpr-theme-main-menu .menu a.dropdown-toggle")
+ .forEach((element) => {
const nextElement = element.nextElementSibling;
element.setAttribute("data-submenu", element.textContent);
nextElement.setAttribute("data-menu", element.textContent);
- },
- );
- Array.from(
- $("#dxpr-theme-main-menu .menu a.dxpr-theme-megamenu__heading"),
- ).forEach((element) => {
- const nextMegaElement = element.nextElementSibling;
- element.setAttribute("data-submenu", element.textContent);
- nextMegaElement.setAttribute("data-menu", element.textContent);
- });
+ });
- const bc = $("#dxpr-theme-main-menu .menu .dropdown-menu").length > 0;
+ document
+ .querySelectorAll(
+ "#dxpr-theme-main-menu .menu a.dxpr-theme-megamenu__heading",
+ )
+ .forEach((element) => {
+ const nextMegaElement = element.nextElementSibling;
+ element.setAttribute("data-submenu", element.textContent);
+ nextMegaElement.setAttribute("data-menu", element.textContent);
+ });
+
+ const bc =
+ document.querySelectorAll("#dxpr-theme-main-menu .menu .dropdown-menu")
+ .length > 0;
const menuEl = document.getElementById("dxpr-theme-main-menu");
new MLMenu(menuEl, {
breadcrumbsCtrl: bc, // Show breadcrumbs
@@ -402,68 +438,72 @@
};
// Mobile menu toggle
- $(once("dxpr_themeMenuToggle", "#dxpr-theme-menu-toggle")).click(() => {
- closeMenu();
- });
+ document
+ .querySelector("#dxpr-theme-menu-toggle")
+ .addEventListener("click", () => {
+ closeMenu();
+ });
+
document.getElementById("dxpr-theme-main-menu").style.position = "fixed";
document.getElementById("dxpr-theme-main-menu").style.display = "block";
// Close menu with click on anchor link
- $(".menu__link").click(function () {
- if (!this.getAttribute("data-submenu")) {
- closeMenu();
- }
+ document.querySelectorAll(".menu__link").forEach((link) => {
+ link.addEventListener("click", function () {
+ if (!this.getAttribute("data-submenu")) {
+ closeMenu();
+ }
+ });
});
- // See if logo or block content overlaps menu and apply correction
- let brandingBottom;
- if ($(".wrap-branding").length > 0) {
- brandingBottom = $(".wrap-branding")[0].getBoundingClientRect().bottom;
- } else {
- brandingBottom = 0;
+ // See if logo or block content overlaps menu and apply correction
+ let brandingBottom = 0;
+ const brandingElement = document.querySelector(".wrap-branding");
+ if (brandingElement) {
+ brandingBottom = brandingElement.getBoundingClientRect().bottom;
}
- const $lastBlock = $(
- "#dxpr-theme-main-menu .block:not(.block-menu)",
- ).last();
- // Show menu after completing setup
- // See if blocks overlap menu and apply correction
+ const lastBlock = document.querySelector(
+ "#dxpr-theme-main-menu .block:not(.block-menu):last-of-type",
+ );
if (
- $(".body--dxpr-theme-header-side").length > 0 &&
- $(window).width() > navBreak &&
- $lastBlock.length > 0 &&
+ document.querySelectorAll(".body--dxpr-theme-header-side").length > 0 &&
+ window.innerWidth > navMenuBreak &&
+ lastBlock &&
brandingBottom > 0
) {
document.getElementById("dxpr-theme-main-menu").style.paddingTop =
- brandingBottom + 40;
+ `${brandingBottom + 40}px`;
}
+
const menuBreadcrumbs = document.querySelector(".menu__breadcrumbs");
const menuLevels = document.querySelector(".menu__level");
const menuSideLevels = document.querySelector(
".dxpr-theme-header--side .menu__level",
);
- if ($lastBlock.length > 0) {
- const lastBlockBottom = $lastBlock[0].getBoundingClientRect().bottom;
+
+ if (lastBlock) {
+ const lastBlockBottom = lastBlock.getBoundingClientRect().bottom;
if (menuBreadcrumbs) {
- menuBreadcrumbs.style.top = lastBlockBottom + 20;
+ menuBreadcrumbs.style.top = `${lastBlockBottom + 20}px`;
}
if (menuLevels) {
- menuLevels.style.top = lastBlockBottom + 40;
+ menuLevels.style.top = `${lastBlockBottom + 40}px`;
}
const offsetBlockBottom = 40 + lastBlockBottom;
if (menuSideLevels) {
menuSideLevels.style.height = `calc(100vh - ${offsetBlockBottom}px)`;
}
} else if (
- $(".body--dxpr-theme-header-side").length > 0 &&
- $(".wrap-branding").length > 0 &&
+ document.querySelectorAll(".body--dxpr-theme-header-side").length > 0 &&
+ brandingElement &&
brandingBottom > 120
) {
if (menuBreadcrumbs) {
- menuBreadcrumbs.style.top = brandingBottom + 20;
+ menuBreadcrumbs.style.top = `${brandingBottom + 20}px`;
}
if (menuLevels) {
- menuLevels.style.top = brandingBottom + 40;
+ menuLevels.style.top = `${brandingBottom + 40}px`;
}
const offsetBrandingBottom = 40 + brandingBottom;
if (menuSideLevels) {
@@ -474,23 +514,22 @@
}
}
- // Fixed header on mobile on tablet
- const { headerMobileHeight } =
- drupalSettings.dxpr_themeSettings.headerMobileHeight;
+ // Fixed header on mobile and tablet
+ const { headerMobileHeight } = drupalSettings.dxpr_themeSettings;
const headerFixed = drupalSettings.dxpr_themeSettings.headerMobileFixed;
const navThemeBreak =
"dxpr_themeNavBreakpoint" in window ? window.dxpr_themeNavBreakpoint : 1200;
if (
headerFixed &&
- $(".dxpr-theme-header").length > 0 &&
- $(window).width() <= navThemeBreak
+ document.querySelectorAll(".dxpr-theme-header").length > 0 &&
+ window.innerWidth <= navThemeBreak
) {
const navbarElement = document.querySelector("#navbar");
- if ($("#toolbar-bar").length > 0) {
+ if (document.querySelectorAll("#toolbar-bar").length > 0) {
navbarElement.classList.add("header-mobile-admin-fixed");
}
- if ($(window).width() >= 975) {
+ if (window.innerWidth >= 975) {
navbarElement.classList.add("header-mobile-admin-fixed-active");
} else {
navbarElement.classList.remove("header-mobile-admin-fixed-active");
@@ -501,8 +540,7 @@
navbarElement.classList.add("header-mobile-fixed");
const secondaryHeaderEle = document.querySelector("#secondary-header");
if (secondaryHeaderEle) {
- document.querySelector("#secondary-header").style.marginTop =
- headerMobileHeight;
+ secondaryHeaderEle.style.marginTop = `${headerMobileHeight}px`;
}
}
@@ -511,7 +549,7 @@
if ("dxpr_themeNavBreakpoint" in window) {
navBreakMenu = window.dxpr_themeNavBreakpoint;
}
- if ($(window).width() > navBreakMenu) {
+ if (window.innerWidth > navBreakMenu) {
const elementNavMobile = document.querySelector(
".body--dxpr-theme-nav-mobile",
);
@@ -534,7 +572,7 @@
// Mobile menu open direction.
if (
drupalSettings.dxpr_themeSettings.headerSideDirection === "right" &&
- $(window).width() <= window.dxpr_themeNavBreakpoint
+ window.innerWidth <= window.dxpr_themeNavBreakpoint
) {
document
.querySelector(".dxpr-theme-main-menu")
@@ -546,17 +584,18 @@
}
// Fix bug with not styled content on page load.
if (
- $(window).width() > window.dxpr_themeNavBreakpoint &&
- $(".dxpr-theme-header--side").length === 0
+ window.innerWidth > window.dxpr_themeNavBreakpoint &&
+ document.querySelectorAll(".dxpr-theme-header--side").length === 0
) {
document.getElementById("dxpr-theme-main-menu").style.position =
"relative";
}
}
- $(window).resize(
+ window.addEventListener(
+ "resize",
_.debounce(() => {
- if ($("#dxpr-theme-main-menu .nav").length > 0) {
+ if (document.querySelectorAll("#dxpr-theme-main-menu .nav").length > 0) {
dxpr_themeMenuGovernorBodyClass();
dxpr_themeMenuGovernor(document);
}
@@ -573,4 +612,4 @@
dxpr_themeMenuGovernor(document);
}
});
-})(jQuery, Drupal, once);
+})(Drupal, once);
diff --git a/js/dist/dxpr-theme-settings.admin.js b/js/dist/dxpr-theme-settings.admin.js
index 593649871..e693576b2 100755
--- a/js/dist/dxpr-theme-settings.admin.js
+++ b/js/dist/dxpr-theme-settings.admin.js
@@ -1,4 +1,4 @@
-(function ($, Drupal, once) {
+(function (Drupal, once) {
/* global ReinventedColorWheel */
"use strict";
@@ -239,19 +239,30 @@
const els = document.querySelectorAll(`[name="${inputName}"]`);
this.setPreview(inputName, els[0] ?? null);
- // Use jQuery to handle bootstrapSlider events.
els.forEach((el) => {
- $(el).on("change", (e) => {
- this.fieldHandler(e);
- });
+ if (
+ el.id === "edit-box-max-width" ||
+ el.id === "edit-layout-max-width"
+ ) {
+ el.addEventListener("change", (e) => {
+ this.fieldHandler(e);
+ });
+ } else {
+ el.addEventListener("input", (e) => {
+ this.fieldHandler(e);
+ });
+ }
- // Add handler also to potential "_custom" fields.
const customField = document.querySelector(
`[name="${inputName}_custom"]`,
);
if (customField) {
- $(customField).on("change keyup", (e) => {
+ customField.addEventListener("change", (e) => {
+ this.fieldHandler(e);
+ });
+
+ customField.addEventListener("keyup", (e) => {
this.fieldHandler(e);
});
}
@@ -260,10 +271,14 @@
},
setNoPreview() {
// Mark all fields with a no-preview icon.
- document
- .querySelector(".system-theme-settings")
- .querySelectorAll("input, select, textarea")
- .forEach((input) => {
+ const systemThemeSettings = document.querySelector(
+ ".system-theme-settings",
+ );
+ if (systemThemeSettings) {
+ const inputs = systemThemeSettings.querySelectorAll(
+ "input, select, textarea",
+ );
+ inputs.forEach((input) => {
// Skip adding no-preview class for these fields.
const skip = [
"color_scheme",
@@ -278,12 +293,14 @@
"block_design_regions",
"block_divider",
"block_divider_custom",
+ "page_title_breadcrumbs",
];
if (!skip.some((name) => input.name.startsWith(name))) {
this.setPreviewClass(input, true);
}
});
+ }
},
setPreview(name, input) {
if (!name || !input) {
@@ -291,7 +308,7 @@
}
// Handled fields with no preview.
- const aNoPreviewFields = [
+ const noPreviewFields = [
"background_image_style",
"background_image_position",
"background_image_attachment",
@@ -315,7 +332,7 @@
"blockquote_font_face",
];
- if (aNoPreviewFields.includes(name)) {
+ if (noPreviewFields.includes(name)) {
return;
}
@@ -336,7 +353,7 @@
processed = true;
const elDep = document.querySelector(`[name="${depFieldName}"]`);
- if (elDep.type === "checkbox" && elDep.checked) {
+ if (elDep && elDep.type === "checkbox" && elDep.checked) {
this.setPreviewClass(input, false);
}
@@ -344,14 +361,14 @@
const radio = document.querySelector(
`[name="${depFieldName}"]:checked`,
);
- if (radio.value !== "lead") {
+ if (radio && radio.value !== "lead") {
this.setPreviewClass(input, false);
}
}
}
});
- // If not been processed it has no dependency and icon can be removed.
+ // If not processed, it has no dependency, and the icon can be removed.
if (!processed) {
this.setPreviewClass(input, false);
}
@@ -363,7 +380,7 @@
const label = this.getLabel(input);
if (!label) return;
- if (action === true) {
+ if (action) {
label.classList.add("no-preview");
} else {
label.classList.remove("no-preview");
@@ -378,21 +395,30 @@
if (elInputOrName) {
// Get legend for grouped field items.
- label = elInputOrName.closest("fieldset")?.querySelector("legend");
+ const fieldset = elInputOrName.closest("fieldset");
+ if (fieldset) {
+ label = fieldset.querySelector("legend");
+ }
// If no legend, get first available form item wrapper label.
if (!label) {
- label = elInputOrName.closest(".form-item")?.querySelector("label");
+ const formItem = elInputOrName.closest(".form-item");
+ if (formItem) {
+ label = formItem.querySelector("label");
+ }
}
}
return label;
},
+
getInputName(setting) {
let inputId = setting
.replace(cssVarSettingsPrefix, "")
.replace(/-/g, "_");
- let [p1, p2, p3] = "";
+ let p1;
+ let p2;
+ let p3;
// Fix id's containing brackets.
switch (inputId) {
@@ -403,6 +429,7 @@
inputId = `${p1}_${p2}[${p3}]`;
break;
default:
+ break;
}
return inputId;
@@ -413,11 +440,7 @@
* @param event
*/
fieldHandler(event) {
- const {
- name: setting,
- parentElement: { textContent: textValue },
- } = event.target;
- const unit = textValue.replace(/[^a-z]/gi, "");
+ const setting = event.target.name;
const validUnits = ["px", "em", "rem"];
let { value } = event.target;
@@ -425,9 +448,75 @@
value = event.target.checked;
}
- // Append unit if value is numeric.
- if (validUnits.includes(unit) && !Number.isNaN(parseFloat(value))) {
- value += unit;
+ // Define variables that expect "px".
+ const pxRequiredVars = [
+ "box_max_width",
+ "header_top_height",
+ "layout_max_width",
+ "gutter_horizontal",
+ "gutter_vertical",
+ "gutter_container",
+ "gutter_horizontal_mobile",
+ "gutter_vertical_mobile",
+ "gutter_container_mobile",
+ "header_side_width",
+ "header_side_logo_height",
+ "dropdown_width",
+ "menu_border_position_offset",
+ "menu_border_position_offset_sticky",
+ "menu_border_size",
+ "header_mobile_breakpoint",
+ "header_mobile_height",
+ "page_title_height",
+ "body_font_size",
+ "nav_font_size",
+ "h1_font_size",
+ "h2_font_size",
+ "h3_font_size",
+ "h4_font_size",
+ "blockquote_font_size",
+ "body_mobile_font_size",
+ "nav_mobile_font_size",
+ "h1_mobile_font_size",
+ "h2_mobile_font_size",
+ "h3_mobile_font_size",
+ "h4_mobile_font_size",
+ "blockquote_mobile_font_size",
+ "divider_thickness",
+ "divider_length",
+ "block_padding",
+ "block_border_radius",
+ "block_border",
+ "title_padding",
+ "title_border",
+ "title_border_radius",
+ "block_divider_spacing",
+ ];
+
+ // Define variables that expect "em".
+ const emRequiredVars = [
+ "body_line_height",
+ "headings_line_height",
+ "blockquote_line_height",
+ "headings_letter_spacing",
+ ];
+
+ // If the value has no unit and the variable expects 'px', add 'px'.
+ if (
+ pxRequiredVars.some((varName) => setting.includes(varName)) &&
+ !validUnits.some((unit) => value.endsWith(unit)) &&
+ !Number.isNaN(Number(value))
+ ) {
+ value += "px";
+ }
+
+ // If the value has no unit and the variable expects 'em', add 'em'.
+ if (
+ emRequiredVars.some((varName) => setting.includes(varName)) &&
+ !validUnits.some((unit) => value.endsWith(unit)) &&
+ !Number.isNaN(Number(value))
+ ) {
+ value += "em";
}
value = this.massageValue(setting, value);
@@ -440,7 +529,7 @@
// Override CSS variable.
this.root.style.setProperty(
- cssVarSettingsPrefix + cssVarName,
+ `${cssVarSettingsPrefix}${cssVarName}`,
String(value),
);
@@ -459,7 +548,6 @@
// Add mobile title font size variable.
if (setting === "title_font_size") {
value = value.replace("-font-size", "-mobile-font-size");
-
this.root.style.setProperty(
`${cssVarSettingsPrefix}${cssVarName}-mobile`,
String(value),
@@ -544,13 +632,20 @@
case "dropdown_text_color":
case "dropdown_hover_background":
case "dropdown_hover_text_color":
- if (value in drupalSettings.dxpr_themeSettings.colors.palette) {
+ if (
+ Object.prototype.hasOwnProperty.call(
+ drupalSettings.dxpr_themeSettings.colors.palette,
+ value,
+ )
+ ) {
value = `var(${cssVarColorsPrefix + value})`;
} else if (value === "custom") {
const customField = document.querySelector(
`[name="${setting}_custom"]`,
);
- value = customField.value;
+ if (customField) {
+ value = customField.value;
+ }
} else if (value === "white") {
value = "#ffffff";
} else {
@@ -562,13 +657,14 @@
}
return value;
},
+
/**
* Returns all dxpr settings CSS variables.
*
* @returns array
*/
getCssVariables() {
- return [...document.styleSheets]
+ return Array.from(document.styleSheets)
.filter(
(styleSheet) =>
!styleSheet.href ||
@@ -577,9 +673,9 @@
.reduce((finalArr, sheet) => {
const propKeySet = new Set(finalArr);
try {
- [...sheet.cssRules].forEach((rule) => {
+ Array.from(sheet.cssRules).forEach((rule) => {
if (rule.type === 1) {
- [...rule.style].forEach((propName) => {
+ Array.from(rule.style).forEach((propName) => {
propName = propName.trim();
if (propName.indexOf(cssVarSettingsPrefix) === 0) {
propKeySet.add(propName);
@@ -588,11 +684,12 @@
}
});
} catch (e) {
- // Could not access cssRules for stylesheet.
+ // Could not access cssRules for this stylesheet
}
return Array.from(propKeySet);
}, []);
},
+
/**
* Toggles show/hide of all matching elements based on a field status.
*
@@ -600,838 +697,315 @@
* @param selector CSS Selector for element to toggle.
*/
toggleElement(toggle, selector) {
- const cb = document.querySelector(`input[name="${toggle}"]`);
- const els = document.querySelectorAll(selector);
+ const checkbox = document.querySelector(`input[name="${toggle}"]`);
+ const elements = document.querySelectorAll(selector);
- els.forEach((el) => {
- el.style.display = cb.checked ? "block" : "none";
- });
-
- cb.addEventListener("change", () => {
- els.forEach((el) => {
- el.style.display = cb.checked ? "block" : "none";
+ const toggleDisplay = () => {
+ elements.forEach((element) => {
+ element.style.display = checkbox.checked ? "block" : "none";
});
- });
+ };
+ toggleDisplay();
+
+ checkbox.addEventListener("change", toggleDisplay);
},
};
/**
* Provide vertical tab summaries for Bootstrap settings.
*/
- /* eslint-disable */
Drupal.behaviors.dxpr_themeSettingsControls = {
attach(context) {
- if (once("dxpr-settings-controls", "html", context).length) {
- this.init();
+ once("dxpr-settings-controls-fields", "html", context).forEach(() => {
this.handleFields();
- }
- },
- init() {
- /**
- * Bootstrap slider configuration.
- */
- // Opacity Sliders
- const $opacitySliders = $(
- "#edit-header-top-bg-opacity-scroll," +
- "#edit-header-top-bg-opacity," +
- "#edit-header-side-bg-opacity," +
- "#edit-side-header-background-opacity," +
- "#edit-page-title-image-opacity," +
- "#edit-header-top-opacity," +
- "#edit-header-top-opacity-scroll," +
- "#edit-menu-full-screen-opacity"
- );
- $opacitySliders.each(function() {
- const startValue = $(this).val();
- $(this).bootstrapSlider({
- step : 0.01,
- min : 0,
- max : 1,
- tooltip: "hide",
- value : parseFloat(startValue),
- });
- });
-
- // Line Height Sliders
- $(".line-height-slider").each(function() {
- const startValue = $(this).val();
- $(this).bootstrapSlider({
- step : 0.1,
- min : 0,
- max : 3,
- tooltip: "hide",
- formatter(value) {
- return `${value}em`;
- },
- value: parseFloat(startValue),
- });
- });
-
- // Border Size Sliders
- $(".border-size-slider").each(function() {
- const startValue = $(this).val();
- $(this).bootstrapSlider({
- step : 1,
- min : 0,
- max : 30,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat(startValue),
- });
- });
-
- // Border Radius Sliders
- $(".border-radius-slider").each(function() {
- const startValue = $(this).val();
- $(this).bootstrapSlider({
- step : 1,
- min : 0,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat(startValue),
- });
- });
-
- let $input;
-
- // Body Font Size
- $input = $("#edit-body-font-size");
- $input.bootstrapSlider({
- step : 1,
- min : 8,
- max : 30,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Nav Font Size
- $input = $("#edit-nav-font-size");
- $input.bootstrapSlider({
- step : 1,
- min : 8,
- max : 30,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Body Mobile Font Size
- $input = $("#edit-body-mobile-font-size");
- $input.bootstrapSlider({
- step : 1,
- min : 8,
- max : 30,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Nav Mobile Font Size
- $input = $("#edit-nav-mobile-font-size");
- $input.bootstrapSlider({
- step : 1,
- min : 8,
- max : 30,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
});
- // Other Font Sizes
- $(".font-size-slider").each(function() {
- const startValue = $(this).val();
- $(this).bootstrapSlider({
- step : 1,
- min : 8,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat(startValue),
- });
- });
-
- // Scale Factor
- $input = $("#edit-scale-factor");
- $input.bootstrapSlider({
- step : 0.01,
- min : 1,
- max : 2,
- tooltip: "hide",
- value : parseFloat($input.val()),
- });
-
- // Divider Thickness
- $input = $("#edit-divider-thickness");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 20,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Divider Thickness
- $input = $("#edit-block-divider-thickness");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 20,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Divider Length
- $input = $("#edit-divider-length");
- $input.bootstrapSlider({
- step : 10,
- min : 0,
- max : 500,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
+ // Select all target inputs once when the page loads.
+ once("dxpr-settings-controls", "html", context).forEach(() => {});
- // Divider Length
- $input = $("#edit-block-divider-length");
- $input.bootstrapSlider({
- step : 10,
- min : 0,
- max : 500,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
+ // Function to re-layout the slider
+ function relayoutSlider(sliderElement) {
+ // Reset value and style
+ const val = parseFloat(sliderElement.value).toFixed(2);
+ const min = parseFloat(sliderElement.min);
+ const max = parseFloat(sliderElement.max);
+ const percent = ((val - min) / (max - min)) * 100;
- function formatPosition(pos) {
- let label = Drupal.t("Left");
- if (pos === 2) label = Drupal.t("Center");
- if (pos === 3) label = Drupal.t("Right");
- return label;
+ sliderElement.style.setProperty("--value-percent", `${percent}%`);
+ sliderElement.setAttribute("aria-valuenow", val);
}
- // Divider Position
- $input = $("#edit-divider-position");
- $input.bootstrapSlider({
- step : 1,
- min : 1,
- max : 3,
- selection: "none",
- tooltip : "hide",
- formatter: formatPosition,
- value : parseFloat($input.val()),
- });
-
- // Headings letter spacing
- $input = $("#edit-headings-letter-spacing");
- $input.bootstrapSlider({
- step : 0.01,
- min : -0.1,
- max : 0.3,
- tooltip: "hide",
- formatter(value) {
- return `${value}em`;
- },
- value: parseFloat($input.val()),
- });
-
- // Block Design Divider Spacing
- $input = $("#edit-block-divider-spacing");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Page Title height
- $input = $("#edit-page-title-height");
- $input.bootstrapSlider({
- step : 5,
- min : 50,
- max : 500,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Header height slider
- $input = $("#edit-header-top-height");
- $input.bootstrapSlider({
- step : 1,
- min : 10,
- max : 200,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- $input = $("#edit-logo-height");
- $input.bootstrapSlider({
- step : 1,
- min : 10,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}%`;
- },
- value: parseFloat($input.val()),
- });
-
- // Header Mobile Breakpoint slider
- $input = $("#edit-header-mobile-breakpoint");
- $input.bootstrapSlider({
- step : 10,
- min : 480,
- max : 4100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Header Mobile height slider
- $input = $("#edit-header-mobile-height");
- $input.bootstrapSlider({
- step : 1,
- min : 10,
- max : 200,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Header after-scroll height slider
- $input = $("#edit-header-top-height-scroll");
- $input.bootstrapSlider({
- step : 1,
- min : 10,
- max : 200,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Sticky header scroll offset
- $input = $("#edit-header-top-height-sticky-offset");
- $input.bootstrapSlider({
- step : 10,
- min : 0,
- max : 2096,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Side Header after-scroll height slider
- $input = $("#edit-header-side-width");
- $input.bootstrapSlider({
- step : 5,
- min : 50,
- max : 500,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- $input = $("#edit-header-side-logo-height");
- $input.bootstrapSlider({
- step : 1,
- min : 10,
- max : 500,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Main Menu Hover Border Thickness
- $input = $("#edit-dropdown-width");
- $input.bootstrapSlider({
- step : 5,
- min : 100,
- max : 400,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Main Menu Hover Border Thickness
- $input = $("#edit-menu-border-size");
- $input.bootstrapSlider({
- step : 1,
- min : 1,
- max : 20,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Main Menu Hover Border Position Offset
- $input = $("#edit-menu-border-position-offset");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Main Menu Hover Border Position Offset Sticky
- $input = $("#edit-menu-border-position-offset-sticky");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Layout max width
- $input = $("#edit-layout-max-width");
- $input.bootstrapSlider({
- step : 10,
- min : 480,
- max : 4100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Box max width
- $input = $("#edit-box-max-width");
- $input.bootstrapSlider({
- step : 10,
- min : 480,
- max : 4100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Layout Gutter Horizontal
- $input = $("#edit-gutter-horizontal");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Layout Gutter Vertical
- $input = $("#edit-gutter-vertical");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Layout Gutter Vertical
- $input = $("#edit-gutter-container");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 500,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Layout Gutter Horizontal Mobile
- $input = $("#edit-gutter-horizontal-mobile");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Layout Gutter Vertical Mobile
- $input = $("#edit-gutter-vertical-mobile");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 100,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Layout Gutter Vertical
- $input = $("#edit-gutter-container-mobile");
- $input.bootstrapSlider({
- step : 1,
- min : 0,
- max : 500,
- tooltip: "hide",
- formatter(value) {
- return `${value}px`;
- },
- value: parseFloat($input.val()),
- });
-
- // Reflow layout when showing a tab
- // var $sliders = $('.slider + input');
- // $sliders.each( function() {
- // $slider = $(this);
- // $('.vertical-tab-button').click(function() {
- // $slider.bootstrapSlider('relayout');
- // });
- // });
- $(".vertical-tab-button a").click(() => {
- $(".slider + input").bootstrapSlider("relayout");
- });
- $('input[type="radio"]').change(() => {
- $(".slider + input").bootstrapSlider("relayout");
+ // Event listener for radio button change
+ document.querySelectorAll('input[type="radio"]').forEach((radioInput) => {
+ radioInput.addEventListener("change", () => {
+ // Find all sliders that need a re-layout
+ document.querySelectorAll(".dxb-slider").forEach((sliderElement) => {
+ relayoutSlider(sliderElement);
+ });
+ });
});
// Typographic Scale Master Slider
- $('#edit-scale-factor').change(function() {
- const base = $('#edit-body-font-size').val();
- const factor = $(this).bootstrapSlider('getValue');
-
- $('#edit-h1-font-size, #edit-h1-mobile-font-size').bootstrapSlider(
- "setValue",
- base * Math.pow(factor, 4),
- ).change();
-
- $('#edit-h2-font-size, #edit-h2-mobile-font-size').bootstrapSlider(
- 'setValue',
- base * Math.pow(factor, 3),
- ).change();
-
- $('#edit-h3-font-size, #edit-h3-mobile-font-size').bootstrapSlider(
- 'setValue',
- base * Math.pow(factor, 2),
- ).change();
-
- $('#edit-h4-font-size,' +
- '#edit-h4-mobile-font-size,' +
- '#edit-blockquote-font-size,' +
- '#edit-blockquote-mobile-font-size'
- ).bootstrapSlider(
- 'setValue',
- base * factor,
- ).change();
- });
- },
- handleFields() {
- const self = this;
-
- // Add wrappers to sliders.
- const textFields = document.querySelectorAll('.js-form-type-textfield');
-
- textFields.forEach(textField => {
- const divs = Array.from(textField.querySelectorAll('.slider-horizontal, .form-text:not(.dxpr_themeProcessed)'));
+ document
+ .querySelector("#edit-scale-factor")
+ .addEventListener("input", function () {
+ const base = parseFloat(
+ document.querySelector("#edit-body-font-size").value,
+ );
+ const factor = parseFloat(this.value); // Get value from the scale factor slider
- if (divs.length >= 2) {
- for (let i = 0; i < divs.length; i += 2) {
- const slice = divs.slice(i, i + 2);
- const wrapper = document.createElement('div');
- wrapper.classList.add('slider-input-wrapper');
- slice.forEach(div => {
- wrapper.appendChild(div);
- div.classList.add('dxpr_themeProcessed');
+ function setFontSize(selector, exponent) {
+ document.querySelectorAll(selector).forEach((input) => {
+ const newValue = base * factor ** exponent;
+ input.value = newValue.toFixed(2); // Set new font size value
+ input.dispatchEvent(new Event("input")); // Trigger change event
});
- textField.appendChild(wrapper);
}
- }
- });
- document.addEventListener("change", handleDocumentEvents);
- document.addEventListener("keyup", handleDocumentEvents);
-
- // Add jQuery event handler for sliders.
- document.querySelectorAll('.slider').forEach((el) => {
- $(el).on('change', (e) => {
- handleDocumentEvents(e);
+ setFontSize("#edit-h1-font-size, #edit-h1-mobile-font-size", 4);
+ setFontSize("#edit-h2-font-size, #edit-h2-mobile-font-size", 3);
+ setFontSize("#edit-h3-font-size, #edit-h3-mobile-font-size", 2);
+ setFontSize(
+ "#edit-h4-font-size, #edit-h4-mobile-font-size, #edit-blockquote-font-size, #edit-blockquote-mobile-font-size",
+ 1,
+ );
});
- });
+ },
+ handleFields() {
+ const self = this;
/**
* Handle document changes.
*/
function handleDocumentEvents(event) {
- const el = event.target;
- const id = el?.id ?? '';
- const value = el?.value ?? '';
- const elName = el?.name ?? '';
-
- // Set Block Preset to Custom if any value is changed.
- if (el.closest('#edit-block-advanced')) {
- document.getElementById('edit-block-preset').value = "custom";
- }
+ const targetElement = event.target;
+ const id = targetElement?.id ?? "";
+ const value = targetElement?.value ?? "";
+ const elName = targetElement?.name ?? "";
+
+ // Set Block Preset to Custom if any value within Block Advanced section is changed.
+ (function () {
+ const blockAdvancedSection = document.querySelector(
+ "#edit-block-advanced",
+ );
- // Block Design Presets.
- if (id === 'edit-block-preset') {
- // Defaults.
- const setDefaults = {
- "block_border": 0,
- "block_border_color": "",
- "block_card": "",
- "block_divider": false,
- "block_divider_custom": false,
- "block_divider_length": 0,
- "block_divider_thickness": 0,
- "block_divider_spacing": 0,
- "block_padding": 0,
- "title_align": "left",
- "title_background": "",
- "title_border": 0,
- "title_border_color": "",
- "title_border_radius": 0,
- "title_card": "",
- "title_font_size": "h3",
- "title_padding": 0,
+ if (blockAdvancedSection) {
+ blockAdvancedSection.addEventListener("change", (e) => {
+ if (blockAdvancedSection.contains(targetElement)) {
+ document.getElementById("edit-block-preset").value = "custom";
+ }
+ });
+ }
+ })();
+ // Handle Block Design Presets based on selected preset.
+ if (id === "edit-block-preset") {
+ // Default settings for the Block Design Presets.
+ const setDefaults = {
+ block_border: 0,
+ block_border_color: "",
+ block_card: "",
+ block_divider: false,
+ block_divider_custom: false,
+ block_divider_length: 0,
+ block_divider_thickness: 0,
+ block_divider_spacing: 0,
+ block_padding: 0,
+ title_align: "left",
+ title_background: "",
+ title_border: 0,
+ title_border_color: "",
+ title_border_radius: 0,
+ title_card: "",
+ title_font_size: "h3",
+ title_padding: 0,
};
let set = {};
switch (value) {
case "block_boxed":
set = {
- "block_border": 5,
- "block_border_color": "text",
- "block_padding": 15,
- }
+ block_border: 5,
+ block_border_color: "text",
+ block_padding: 15,
+ };
break;
case "block_outline":
set = {
- "block_border": 1,
- "block_border_color": "text",
- "block_padding": 10,
- }
+ block_border: 1,
+ block_border_color: "text",
+ block_padding: 10,
+ };
break;
case "block_card":
set = {
- "block_card": "card card-body",
- "title_font_size": "h3",
+ block_card: "card card-body",
+ title_font_size: "h3",
};
break;
case "title_inverted":
set = {
- "title_background": "text",
- "title_card": "card card-body dxpr-theme-util-background-gray",
- "title_font_size": "h3",
- "title_padding": 10,
+ title_background: "text",
+ title_card: "card card-body dxpr-theme-util-background-gray",
+ title_font_size: "h3",
+ title_padding: 10,
};
break;
case "title_inverted_shape":
set = {
- "title_align": "center",
- "title_background": "text",
- "title_border_radius": 100,
- "title_card": "card card-body dxpr-theme-util-background-gray",
- "title_font_size": "h4",
- "title_padding": 10,
+ title_align: "center",
+ title_background: "text",
+ title_border_radius: 100,
+ title_card: "card card-body dxpr-theme-util-background-gray",
+ title_font_size: "h4",
+ title_padding: 10,
};
break;
case "title_sticker":
set = {
- "title_card": "card card-body dxpr-theme-util-background-gray",
- "title_font_size": "body",
- "title_padding": 10,
+ title_card: "card card-body dxpr-theme-util-background-gray",
+ title_font_size: "body",
+ title_padding: 10,
};
break;
case "title_sticker_color":
set = {
- "title_card": "card card-body bg-primary",
- "title_font_size": "body",
- "title_padding": 10,
+ title_card: "card card-body bg-primary",
+ title_font_size: "body",
+ title_padding: 10,
};
break;
case "title_outline":
set = {
- "title_border": 1,
- "title_border_color": "text",
- "title_font_size": "h4",
- "title_padding": 15,
+ title_border: 1,
+ title_border_color: "text",
+ title_font_size: "h4",
+ title_padding: 15,
};
break;
case "default_divider":
set = {
- "block_divider": true,
- "block_divider_thickness": 4,
- "block_divider_spacing": 15,
- }
+ block_divider: true,
+ block_divider_thickness: 4,
+ block_divider_spacing: 15,
+ };
break;
case "hairline_divider":
set = {
- "block_divider": true,
- "block_divider_thickness": 1,
- "block_divider_spacing": 15,
+ block_divider: true,
+ block_divider_thickness: 1,
+ block_divider_spacing: 15,
};
break;
+ default:
+ // Handle the case when no known value matches
+ set = {};
+ break;
}
- // Add missing properties.
- for (let key in setDefaults) {
+ // Add missing properties from defaults if not present in set.
+ Object.keys(setDefaults).forEach((key) => {
if (!(key in set)) {
set[key] = setDefaults[key];
}
- }
+ });
+ // Apply the preset values to the corresponding fields.
Object.keys(set).forEach((key) => {
self.setFieldValue(key, set[key]);
});
}
const presetClassesRemove = [
- 'card', 'card-body', 'bg-primary',
- 'dxpr-theme-util-background-accent1',
- 'dxpr-theme-util-background-accent2',
- 'dxpr-theme-util-background-black',
- 'dxpr-theme-util-background-white',
- 'dxpr-theme-util-background-gray'
+ "card",
+ "card-body",
+ "bg-primary",
+ "dxpr-theme-util-background-accent1",
+ "dxpr-theme-util-background-accent2",
+ "dxpr-theme-util-background-black",
+ "dxpr-theme-util-background-white",
+ "dxpr-theme-util-background-gray",
];
- // Block Card Style.
- if (id === 'edit-block-card' || id === 'edit-title-card') {
+ // Apply classes to Block Card Style based on the selected card style.
+ if (id === "edit-block-card" || id === "edit-title-card") {
const presetClasses = value.trim().split(/\s+/);
- const target = (id === 'edit-title-card') ? '.block-title' : '.block';
+ const target = id === "edit-title-card" ? ".block-title" : ".block";
- document.querySelectorAll('.region-block-design ' + target).forEach(block => {
- block.classList.remove(...presetClassesRemove);
- block.classList.add(...presetClasses.filter(className => className !== ''));
- });
+ document
+ .querySelectorAll(`.region-block-design ${target}`)
+ .forEach((block) => {
+ block.classList.remove(...presetClassesRemove);
+ block.classList.add(
+ ...presetClasses.filter((className) => className !== ""),
+ );
+ });
}
- // Block Regions.
- if (elName.startsWith('block_design_regions[')) {
- let blockDesignClass = 'region-block-design';
- let regionClass = '.region-' + value.replace('_', '-');
- let elRegion = document.querySelector(regionClass);
+ // Apply or remove block design classes based on region selection.
+ if (elName.startsWith("block_design_regions[")) {
+ const blockDesignClass = "region-block-design";
+ const regionClass = `.region-${value.replace("_", "-")}`;
+ const elRegion = document.querySelector(regionClass);
if (!elRegion) return;
- if (el.checked) {
+ if (targetElement.checked) {
elRegion.classList.add(blockDesignClass);
- // Trigger the change event for block and block title card so that
- // classes gets reapplied.
- const elements = document.querySelectorAll('#edit-block-card, #edit-title-card');
- const changeEvent = new Event('change', {
+ // Trigger change event for block and block title card to reapply classes.
+ const elements = document.querySelectorAll(
+ "#edit-block-card, #edit-title-card",
+ );
+ const changeEvent = new Event("change", {
bubbles: true,
cancelable: true,
});
- elements.forEach(el => {
- el.dispatchEvent(changeEvent);
+ elements.forEach((element) => {
+ element.dispatchEvent(changeEvent);
});
- }
- else {
+ } else {
elRegion.classList.remove(blockDesignClass);
// Remove all applied block and block title classes.
- let selectors = regionClass + ' .block,' + regionClass + ' .block-title';
- document.querySelectorAll(selectors).forEach(block => {
+ const selectors = `${regionClass} .block,${regionClass} .block-title`;
+ document.querySelectorAll(selectors).forEach((block) => {
block.classList.remove(...presetClassesRemove);
});
}
}
- // Title Sticker Mode.
- if (id === 'edit-title-sticker') {
- const blockTitles = document.querySelectorAll('.region-block-design .block-title');
+ // Toggle display of Title Sticker Mode based on checkbox state.
+ if (id === "edit-title-sticker") {
+ const blockTitles = document.querySelectorAll(
+ ".region-block-design .block-title",
+ );
- blockTitles.forEach(title => {
- title.style.display = el.checked ? 'inline-block' : '';
+ blockTitles.forEach((title) => {
+ title.style.display = targetElement.checked ? "inline-block" : "";
});
}
- // Remove CSS vars for Block divider if not in use.
- if (id === 'edit-block-divider' || id === 'edit-block-divider-custom') {
- if (!el.checked) {
+ // Remove CSS variables related to Block Divider if not in use.
+ if (id === "edit-block-divider" || id === "edit-block-divider-custom") {
+ if (!targetElement.checked) {
[
- 'block_divider_color',
- 'block_divider_thickness',
- 'block_divider_length',
- 'block_divider_spacing',
+ "block_divider_color",
+ "block_divider_thickness",
+ "block_divider_length",
+ "block_divider_spacing",
].forEach((key) => {
- const cssVarName = key.replace(/[\[_]/g, '-');
- document.documentElement.style.removeProperty(cssVarSettingsPrefix + cssVarName);
+ const cssVarName = key.replace(/[_]/g, "-");
+ document.documentElement.style.removeProperty(`--${cssVarName}`);
});
}
- // Set default divider values.
- if (id === 'edit-block-divider' && el.checked) {
- let set = {
- "block_divider_length": 0,
- "block_divider_thickness": 4,
- "block_divider_spacing": 15,
- }
+ // Set default divider values if divider is checked.
+ if (id === "edit-block-divider" && targetElement.checked) {
+ const set = {
+ block_divider_length: 0,
+ block_divider_thickness: 4,
+ block_divider_spacing: 15,
+ };
Object.keys(set).forEach((key) => {
self.setFieldValue(key, set[key]);
});
@@ -1439,140 +1013,47 @@
}
}
+ // Listen for change and keyup events on the document to handle field changes.
+ document.addEventListener("change", handleDocumentEvents);
+ document.addEventListener("keyup", handleDocumentEvents);
+
+ // Add event listener for slider elements to handle their change events.
+ document.querySelectorAll(".dxb-slider").forEach((el) => {
+ el.addEventListener("input", (e) => {
+ handleDocumentEvents(e);
+ });
+ });
},
+
/**
* Update field value.
- * Use jQuery due to bootstrapSlider compat.
+ * Updated to use Vanilla JS.
*/
- setFieldValue(key, value) {
- const field = `[name="${key}"]`;
- let newVal = value;
- if ($(field).parent().is('.slider-input-wrapper')) {
- $(field).bootstrapSlider('setValue', newVal).trigger('change');
+ setFieldValue(key, value) {
+ const field = document.querySelector(`[name="${key}"]`);
+ if (!field) {
+ return;
}
- else {
- if ($(field).is(':checkbox')) {
- $(field).prop('checked', newVal).trigger('change');
- }
- else if ($(field).is(':radio')) {
- $(field).filter(`[value='${newVal}']`)
- .prop('checked', true)
- .trigger('change');
- }
- else {
- $(field).val(newVal).trigger('change');
+
+ if (field.type === "range" || field.classList.contains("dxb-slider")) {
+ field.value = value;
+ field.dispatchEvent(new Event("input"));
+ } else if (field.type === "checkbox") {
+ field.checked = value;
+ field.dispatchEvent(new Event("change"));
+ } else if (field.type === "radio") {
+ const radioField = document.querySelector(
+ `[name="${key}"][value="${value}"]`,
+ );
+ if (radioField) {
+ radioField.checked = true;
+ radioField.dispatchEvent(new Event("change"));
}
+ } else {
+ field.value = value;
+ field.dispatchEvent(new Event("change"));
}
},
};
-
- /**
- * Provide vertical tab summaries for Bootstrap settings.
- *
- * Since the number of settings categories has grown I decided to remove
- * summaries as to lighten this navigation and clear it up.
- */
- // Drupal.behaviors.dxpr_themeSettingSummaries = {
- // attach: function (context) {
- // var $context = $(context);
-
- // // Page Title.
- // $context.find('#edit-page-title').drupalSetSummary(function () {
- // var summary = [];
-
- // var align = $context.find('input[name="page_title_align"]:checked');
- // if (align.val()) {
- // summary.push(Drupal.t('Align @align', {
- // '@align': align.find('+label').text()
- // }));
- // }
-
- // var animate = $context.find('input[name="page_title_animate"]:checked');
- // if (animate.val()) {
- // summary.push(Drupal.t('@animate', {
- // '@animate': animate.find('+label').text()
- // }));
- // }
-
- // if ($context.find(':input[name="page_title_breadcrumbs"]').is(':checked')) {
- // summary.push(Drupal.t('Crumbs'));
- // } else {
- // summary.push(Drupal.t('No Crumbs'));
- // }
- // return summary.join(', ');
-
- // });
-
- // // Menu.
- // $context.find('#edit-menu').drupalSetSummary(function () {
- // var summary = [];
-
- // var menu = $context.find('input[name="menu_type"]:checked');
- // if (menu.val()) {
- // summary.push(Drupal.t('@menu', {
- // '@menu': menu.find('+label').text()
- // }));
- // }
- // return summary.join(', ');
-
- // });
-
- // // Colors.
- // $context.find('#color_scheme_form').drupalSetSummary(function () {
- // var summary = [];
-
- // var scheme = $context.find('select[name="scheme"] :selected');
- // if (scheme.val()) {
- // summary.push(Drupal.t('@scheme', {
- // '@scheme': scheme.text()
- // }));
- // }
- // return summary.join(', ');
-
- // });
-
- // // Layout.
- // $context.find('#edit-layout').drupalSetSummary(function () {
- // var summary = [];
-
- // var layoutWidth = $context.find('input[name="layout_max_width"]');
- // if (layoutWidth.length) {
- // summary.push(Drupal.t('@layoutWidth', {
- // '@layoutWidth': layoutWidth.val() + 'px'
- // }));
- // }
-
- // return summary.join(', ');
-
- // });
-
- // // Header.
- // $context.find('#edit-header').drupalSetSummary(function () {
- // var summary = [];
-
- // if ($context.find(':input[name="header_position"]').is(':checked')) {
- // summary.push(Drupal.t('Side Header'));
- // } else {
- // summary.push(Drupal.t('Top Header'));
- // }
- // return summary.join(', ');
-
- // });
-
- // // Typography.
- // $context.find('#edit-fonts').drupalSetSummary(function () {
- // var summary = [];
-
- // var typography = $context.find('select[name="body_font_face"] :selected');
- // if (typography.val()) {
- // summary.push(Drupal.t('Base: @typography', {
- // '@typography': typography.text()
- // }));
- // }
- // return summary.join(', ');
-
- // });
- // }
- // };
-})(jQuery, Drupal, once);
+})(Drupal, once);
diff --git a/js/minified/dxpr-theme-full-screen-search.min.js b/js/minified/dxpr-theme-full-screen-search.min.js
index 5be6d0b4f..a224546c4 100644
--- a/js/minified/dxpr-theme-full-screen-search.min.js
+++ b/js/minified/dxpr-theme-full-screen-search.min.js
@@ -1 +1 @@
-"use strict";!function(e,c,t){c.behaviors.fullScreenSearch={attach:function(c,s){var n=e(".full-screen-search-button"),o=e(".full-screen-search-form"),r=o.find(".search-query");function l(){o.toggleClass("invisible"),document.querySelector("body").classList.toggle("body--full-screen-search"),setTimeout((function(){r.val("")}),350)}e(t("search-button",n)).on("touchstart click",(function(e){e.preventDefault(),o.toggleClass("invisible"),document.querySelector("body").classList.toggle("body--full-screen-search"),r.focus()})),e(t("search-form",o)).on("touchstart click",(function(e){e.target.classList.contains("search-query")||l()})),e(document).keydown((function(e){27!==e.which||o.classList.contains("invisible")||l()}))}}}(jQuery,Drupal,once);
\ No newline at end of file
+"use strict";!function(e,t){e.behaviors.fullScreenSearch={attach:function(e,c){var n=document.querySelector(".full-screen-search-button"),s=document.querySelector(".full-screen-search-form"),r=s.querySelector(".search-query");function o(){s.classList.toggle("invisible"),document.body.classList.toggle("body--full-screen-search"),setTimeout((function(){r.value=""}),350)}function i(e){e.preventDefault(),s.classList.toggle("invisible"),document.body.classList.toggle("body--full-screen-search"),r.focus()}function a(e){e.target.classList.contains("search-query")||o()}n&&t("search-button",n).length&&(n.addEventListener("touchstart",i),n.addEventListener("click",i)),s&&t("search-form",s).length&&(s.addEventListener("touchstart",a),s.addEventListener("click",a)),document.addEventListener("keydown",(function(e){"Escape"!==e.key||s.classList.contains("invisible")||o()}))}}}(Drupal,once);
\ No newline at end of file
diff --git a/js/minified/dxpr-theme-header.min.js b/js/minified/dxpr-theme-header.min.js
index fe7ce5e9d..56d318216 100644
--- a/js/minified/dxpr-theme-header.min.js
+++ b/js/minified/dxpr-theme-header.min.js
@@ -1 +1 @@
-"use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);rt?(d&&(clearTimeout(d),d=null),i=m,o=e.apply(n,a),d||(n=null,a=null)):d||!1===r.trailing||(d=setTimeout(l,u)),o}}}var o="dxpr_themeNavBreakpoint"in window?window.dxpr_themeNavBreakpoint:1200;if(e(".dxpr-theme-header--sticky").length>0&&!e(".dxpr-theme-header--overlay").length&&e(window).width()>o){var d=parseFloat(drupalSettings.dxpr_themeSettings.headerHeight),i=parseFloat(drupalSettings.dxpr_themeSettings.headerOffset);if(d&&i){var l=document.querySelector(".dxpr-theme-header--sticky"),m=document.getElementsByClassName("wrap-containers")[0];_.throttle(e(window).scroll((function(){e(window).scrollTop()>=i?(l.classList.add("affix"),l.classList.remove("affix-top"),m.style.marginTop="".concat(d,"px")):(l.classList.add("affix-top"),l.classList.remove("affix"),m.style.marginTop=0)})),100)}}function u(e,t){return!(e.rightt.right||e.bottomt.bottom)}function s(t){var a=1200;if("dxpr_themeNavBreakpoint"in window&&(a=window.dxpr_themeNavBreakpoint),0===e(".body--dxpr-theme-header-side").length&&e(window).width()>a){if("top"===n)return!1;var d=document.querySelector(".html--dxpr-theme-nav-mobile--open");d&&d.classList.remove("html--dxpr-theme-nav-mobile--open");var i=document.querySelector(".dxpr-theme-header--side");i&&(i.classList.add("dxpr-theme-header--top"),i.classList.remove("dxpr-theme-header--side")),e("#dxpr-theme-main-menu .menu__breadcrumbs").remove();var l=document.querySelector(".menu__level");l&&(l.classList.remove("menu__level"),l.style.top="100%",l.style.marginTop=0,l.style.height="auto");var m=document.querySelector(".menu__item");m&&m.classList.remove("menu__item"),e("[data-submenu]").removeAttr("data-submenu"),e("[data-menu]").removeAttr("data-menu");var s,c=e("body").innerWidth();if(e("#dxpr-theme-main-menu .menu .dropdown-menu",t).toArray().forEach((function(t){var r=e(t),n=r.width();if((s=r.find(".dxpr-theme-megamenu__heading").length>0?r.find(".dxpr-theme-megamenu__heading").length:Math.floor(r.find("li").length/8)+1)>2)r.css({width:"100%","left:":"0"}).parent().css({position:"static"}).find(".dropdown-menu >li").css({width:"".concat(100/s,"%")});else{s>1&&r.css("min-width",n*s+2).find(">li").css("width",n);var a=r.parent();setTimeout((function(){var e=Math.round(c-a.offsetLeft-r.outerWidth()-10);e<0&&r.css("left","".concat(e,"px"))}),0)}})),n="top",e(".tabs--primary").length>0&&e("#navbar").length>0){var h=e(".tabs--primary")[0].getBoundingClientRect();if(e(".dxpr-theme-header--navbar-pull-down").length>0&&e("#navbar .container-col").length>0){var p=e("#navbar .container-col")[0].getBoundingClientRect();u(p,h)&&(document.querySelector(".tabs--primary").style.marginTop=p.bottom-h.top+6)}else{var y=e("#navbar")[0].getBoundingClientRect();u(y,h)&&(document.querySelector(".tabs--primary").style.marginTop=y.bottom-h.top+6)}}if(e("#secondary-header").length>0&&e("#navbar.dxpr-theme-header--overlay").length>0){var v=e("#secondary-header")[0].getBoundingClientRect();u(e("#navbar.dxpr-theme-header--overlay")[0].getBoundingClientRect(),v)&&(drupalSettings.dxpr_themeSettings.secondHeaderSticky?(document.querySelector("#navbar.dxpr-theme-header--overlay").style.cssText="top:".concat(v.bottom,"px !important;"),document.querySelector("#secondary-header").classList.remove("dxpr-theme-secondary-header--sticky")):(e("#toolbar-bar").length>0?document.querySelector("dxpr-theme-header--overlay").style.top=v.bottom:document.querySelector("dxpr-theme-header--overlay").style.top=0,document.querySelector("#secondary-header").classList.remove("dxpr-theme-secondary-header--sticky")))}}else{if("side"===n)return!1;document.getElementById("dxpr-theme-main-menu").style.display="none",document.querySelector(".dxpr-theme-header--top").classList.add("dxpr-theme-header--side"),document.querySelector(".dxpr-theme-header--top").classList.remove("dxpr-theme-header--top"),e("#dxpr-theme-main-menu .menu .dropdown-menu, #dxpr-theme-main-menu .menu .dropdown-menu li").removeAttr("style");var g=document.getElementById("dxpr-theme-main-menu");if(g)g.querySelectorAll(".menu").forEach((function(e){e.classList.add("menu__level"),e.querySelectorAll(".dropdown-menu").forEach((function(e){e.classList.add("menu__level")})),e.querySelectorAll(".dxpr-theme-megamenu").forEach((function(e){e.classList.add("menu__level")})),e.querySelectorAll("a").forEach((function(e){e.classList.add("menu__link")})),e.querySelectorAll("li").forEach((function(e){e.classList.add("menu__item")}))}));Array.from(e("#dxpr-theme-main-menu .menu a.dropdown-toggle")).forEach((function(e){var t=e.nextElementSibling;e.setAttribute("data-submenu",e.textContent),t.setAttribute("data-menu",e.textContent)})),Array.from(e("#dxpr-theme-main-menu .menu a.dxpr-theme-megamenu__heading")).forEach((function(e){var t=e.nextElementSibling;e.setAttribute("data-submenu",e.textContent),t.setAttribute("data-menu",e.textContent)}));var f=e("#dxpr-theme-main-menu .menu .dropdown-menu").length>0,x=document.getElementById("dxpr-theme-main-menu");new MLMenu(x,{breadcrumbsCtrl:f,initialBreadcrumb:"menu",backCtrl:!1,itemsDelayInterval:10});var b,w=function(){"cross"===drupalSettings.dxpr_themeSettings.hamburgerAnimation&&document.querySelector("#dxpr-theme-menu-toggle").classList.toggle("navbar-toggle--active"),document.querySelector("#dxpr-theme-main-menu").classList.toggle("menu--open"),document.querySelector("html").classList.toggle("html--dxpr-theme-nav-mobile--open")};e(r("dxpr_themeMenuToggle","#dxpr-theme-menu-toggle")).click((function(){w()})),document.getElementById("dxpr-theme-main-menu").style.position="fixed",document.getElementById("dxpr-theme-main-menu").style.display="block",e(".menu__link").click((function(){this.getAttribute("data-submenu")||w()})),b=e(".wrap-branding").length>0?e(".wrap-branding")[0].getBoundingClientRect().bottom:0;var _=e("#dxpr-theme-main-menu .block:not(.block-menu)").last();e(".body--dxpr-theme-header-side").length>0&&e(window).width()>o&&_.length>0&&b>0&&(document.getElementById("dxpr-theme-main-menu").style.paddingTop=b+40);var S=document.querySelector(".menu__breadcrumbs"),L=document.querySelector(".menu__level"),A=document.querySelector(".dxpr-theme-header--side .menu__level");if(_.length>0){var q=_[0].getBoundingClientRect().bottom;S&&(S.style.top=q+20),L&&(L.style.top=q+40);var k=40+q;A&&(A.style.height="calc(100vh - ".concat(k,"px)"))}else if(e(".body--dxpr-theme-header-side").length>0&&e(".wrap-branding").length>0&&b>120){S&&(S.style.top=b+20),L&&(L.style.top=b+40);var B=40+b;A&&(A.style.height="calc(100vh - ".concat(B,"px)"))}n="side"}}var c=drupalSettings.dxpr_themeSettings.headerMobileHeight.headerMobileHeight,h=drupalSettings.dxpr_themeSettings.headerMobileFixed,p="dxpr_themeNavBreakpoint"in window?window.dxpr_themeNavBreakpoint:1200;if(h&&e(".dxpr-theme-header").length>0&&e(window).width()<=p){var y=document.querySelector("#navbar");e("#toolbar-bar").length>0&&y.classList.add("header-mobile-admin-fixed"),e(window).width()>=975?y.classList.add("header-mobile-admin-fixed-active"):y.classList.remove("header-mobile-admin-fixed-active"),document.querySelector(".dxpr-theme-boxed-container").style.overflow="hidden",document.querySelector("#toolbar-bar").classList.add("header-mobile-fixed"),y.classList.add("header-mobile-fixed"),document.querySelector("#secondary-header")&&(document.querySelector("#secondary-header").style.marginTop=c)}function v(){var t=1200;if("dxpr_themeNavBreakpoint"in window&&(t=window.dxpr_themeNavBreakpoint),e(window).width()>t){var r=document.querySelector(".body--dxpr-theme-nav-mobile");r&&(r.classList.add("body--dxpr-theme-nav-desktop"),r.classList.remove("body--dxpr-theme-nav-mobile"))}else{var n=document.querySelector(".body--dxpr-theme-nav-desktop");n&&(n.classList.add("body--dxpr-theme-nav-mobile"),n.classList.remove("body--dxpr-theme-nav-desktop"))}}function g(){"right"===drupalSettings.dxpr_themeSettings.headerSideDirection&&e(window).width()<=window.dxpr_themeNavBreakpoint?document.querySelector(".dxpr-theme-main-menu").classList.add("dxpr-theme-main-menu--to-left"):document.querySelector(".dxpr-theme-main-menu").classList.remove("dxpr-theme-main-menu--to-left"),e(window).width()>window.dxpr_themeNavBreakpoint&&0===e(".dxpr-theme-header--side").length&&(document.getElementById("dxpr-theme-main-menu").style.position="relative")}e(window).resize(_.debounce((function(){e("#dxpr-theme-main-menu .nav").length>0&&(v(),s(document)),g()}),50)),g(),document.addEventListener("DOMContentLoaded",(function(){document.querySelector("#dxpr-theme-main-menu .nav")&&(v(),s(document))}))}(jQuery,Drupal,once);
\ No newline at end of file
+"use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);rt?(l&&(clearTimeout(l),l=null),d=u,a=e.apply(n,o),l||(n=null,o=null)):l||!1===r.trailing||(l=setTimeout(i,c)),a}}}var o="dxpr_themeNavBreakpoint"in window?window.dxpr_themeNavBreakpoint:1200;if(document.querySelectorAll(".dxpr-theme-header--sticky").length>0&&!document.querySelectorAll(".dxpr-theme-header--overlay").length&&window.innerWidth>o){var a=parseFloat(drupalSettings.dxpr_themeSettings.headerHeight),l=parseFloat(drupalSettings.dxpr_themeSettings.headerOffset);if(a&&l){var d=document.querySelector(".dxpr-theme-header--sticky"),i=document.getElementsByClassName("wrap-containers")[0],u=_.throttle((function(){window.scrollY>=l?(d.classList.add("affix"),d.classList.remove("affix-top"),i.style.marginTop="".concat(a,"px")):(d.classList.add("affix-top"),d.classList.remove("affix"),i.style.marginTop="0")}),100);window.addEventListener("scroll",u)}}function c(e,t){return!(e.rightt.right||e.bottomt.bottom)}function m(e){var t=1200;if("dxpr_themeNavBreakpoint"in window&&(t=window.dxpr_themeNavBreakpoint),0===document.querySelectorAll(".body--dxpr-theme-header-side").length&&window.innerWidth>t){if("top"===r)return!1;var n=document.querySelector(".html--dxpr-theme-nav-mobile--open");n&&n.classList.remove("html--dxpr-theme-nav-mobile--open");var o=document.querySelector(".dxpr-theme-header--side");o&&(o.classList.add("dxpr-theme-header--top"),o.classList.remove("dxpr-theme-header--side"));var a=document.querySelector("#dxpr-theme-main-menu .menu__breadcrumbs");a&&a.remove();var l=document.querySelector(".menu__level");l&&(l.classList.remove("menu__level"),l.style.top="100%",l.style.marginTop=0,l.style.height="auto");var d=document.querySelector(".menu__item");d&&d.classList.remove("menu__item"),document.querySelectorAll("[data-submenu]").forEach((function(e){return e.removeAttribute("data-submenu")})),document.querySelectorAll("[data-menu]").forEach((function(e){return e.removeAttribute("data-menu")}));var i,u=document.body.clientWidth;if(document.querySelectorAll("#dxpr-theme-main-menu .menu .dropdown-menu").forEach((function(e){var t=e.offsetWidth,r=e.querySelectorAll(".dxpr-theme-megamenu__heading");if((i=r.length>0?r.length:Math.floor(e.querySelectorAll("li").length/8)+1)>2)e.style.width="100%",e.style.left="0",e.parentElement.style.position="static",e.querySelectorAll(".dropdown-menu > li").forEach((function(e){e.style.width="".concat(100/i,"%")}));else{i>1&&(e.style.minWidth="".concat(t*i+2,"px"),e.querySelectorAll(":scope > li").forEach((function(e){e.style.width="".concat(t,"px")})));var n=e.parentElement;setTimeout((function(){var t=Math.round(u-n.offsetLeft-e.offsetWidth-10);t<0&&(e.style.left="".concat(t,"px"))}),0)}})),r="top",document.querySelectorAll(".tabs--primary").length>0&&document.querySelectorAll("#navbar").length>0){var m=document.querySelector(".tabs--primary").getBoundingClientRect();if(document.querySelectorAll(".dxpr-theme-header--navbar-pull-down").length>0&&document.querySelectorAll("#navbar .container-col").length>0){var s=document.querySelector("#navbar .container-col").getBoundingClientRect();c(s,m)&&(document.querySelector(".tabs--primary").style.marginTop="".concat(s.bottom-m.top+6,"px"))}else{var h=document.querySelector("#navbar").getBoundingClientRect();c(h,m)&&(document.querySelector(".tabs--primary").style.marginTop="".concat(h.bottom-m.top+6,"px"))}}if(document.querySelectorAll("#secondary-header").length>0&&document.querySelectorAll("#navbar.dxpr-theme-header--overlay").length>0){var p=document.querySelector("#secondary-header").getBoundingClientRect();c(document.querySelector("#navbar.dxpr-theme-header--overlay").getBoundingClientRect(),p)&&(drupalSettings.dxpr_themeSettings.secondHeaderSticky?(document.querySelector("#navbar.dxpr-theme-header--overlay").style.cssText="top:".concat(p.bottom,"px !important;"),document.querySelector("#secondary-header").classList.remove("dxpr-theme-secondary-header--sticky")):(document.querySelectorAll("#toolbar-bar").length>0?document.querySelector("dxpr-theme-header--overlay").style.top="".concat(p.bottom,"px"):document.querySelector("dxpr-theme-header--overlay").style.top="0",document.querySelector("#secondary-header").classList.remove("dxpr-theme-secondary-header--sticky")))}}else{if("side"===r)return!1;document.getElementById("dxpr-theme-main-menu").style.display="none";var y=document.querySelector(".dxpr-theme-header--top");y&&(y.classList.add("dxpr-theme-header--side"),y.classList.remove("dxpr-theme-header--top")),document.querySelectorAll("#dxpr-theme-main-menu .menu .dropdown-menu, #dxpr-theme-main-menu .menu .dropdown-menu li").forEach((function(e){e.removeAttribute("style")}));var v=document.getElementById("dxpr-theme-main-menu");if(v)v.querySelectorAll(".menu").forEach((function(e){e.classList.add("menu__level"),e.querySelectorAll(".dropdown-menu").forEach((function(e){e.classList.add("menu__level")})),e.querySelectorAll(".dxpr-theme-megamenu").forEach((function(e){e.classList.add("menu__level")})),e.querySelectorAll("a").forEach((function(e){e.classList.add("menu__link")})),e.querySelectorAll("li").forEach((function(e){e.classList.add("menu__item")}))}));document.querySelectorAll("#dxpr-theme-main-menu .menu a.dropdown-toggle").forEach((function(e){var t=e.nextElementSibling;e.setAttribute("data-submenu",e.textContent),t.setAttribute("data-menu",e.textContent)})),document.querySelectorAll("#dxpr-theme-main-menu .menu a.dxpr-theme-megamenu__heading").forEach((function(e){var t=e.nextElementSibling;e.setAttribute("data-submenu",e.textContent),t.setAttribute("data-menu",e.textContent)}));var f=document.querySelectorAll("#dxpr-theme-main-menu .menu .dropdown-menu").length>0,x=document.getElementById("dxpr-theme-main-menu");new MLMenu(x,{breadcrumbsCtrl:f,initialBreadcrumb:"menu",backCtrl:!1,itemsDelayInterval:10});var g=function(){"cross"===drupalSettings.dxpr_themeSettings.hamburgerAnimation&&document.querySelector("#dxpr-theme-menu-toggle").classList.toggle("navbar-toggle--active"),document.querySelector("#dxpr-theme-main-menu").classList.toggle("menu--open"),document.querySelector("html").classList.toggle("html--dxpr-theme-nav-mobile--open")};document.querySelector("#dxpr-theme-menu-toggle").addEventListener("click",(function(){g()})),document.getElementById("dxpr-theme-main-menu").style.position="fixed",document.getElementById("dxpr-theme-main-menu").style.display="block",document.querySelectorAll(".menu__link").forEach((function(e){e.addEventListener("click",(function(){this.getAttribute("data-submenu")||g()}))}));var b=0,S=document.querySelector(".wrap-branding");S&&(b=S.getBoundingClientRect().bottom);var _=document.querySelector("#dxpr-theme-main-menu .block:not(.block-menu):last-of-type");document.querySelectorAll(".body--dxpr-theme-header-side").length>0&&window.innerWidth>t&&_&&b>0&&(document.getElementById("dxpr-theme-main-menu").style.paddingTop="".concat(b+40,"px"));var q=document.querySelector(".menu__breadcrumbs"),w=document.querySelector(".menu__level"),A=document.querySelector(".dxpr-theme-header--side .menu__level");if(_){var L=_.getBoundingClientRect().bottom;q&&(q.style.top="".concat(L+20,"px")),w&&(w.style.top="".concat(L+40,"px"));var E=40+L;A&&(A.style.height="calc(100vh - ".concat(E,"px)"))}else if(document.querySelectorAll(".body--dxpr-theme-header-side").length>0&&S&&b>120){q&&(q.style.top="".concat(b+20,"px")),w&&(w.style.top="".concat(b+40,"px"));var k=40+b;A&&(A.style.height="calc(100vh - ".concat(k,"px)"))}r="side"}}var s=drupalSettings.dxpr_themeSettings.headerMobileHeight,h=drupalSettings.dxpr_themeSettings.headerMobileFixed,p="dxpr_themeNavBreakpoint"in window?window.dxpr_themeNavBreakpoint:1200;if(h&&document.querySelectorAll(".dxpr-theme-header").length>0&&window.innerWidth<=p){var y=document.querySelector("#navbar");document.querySelectorAll("#toolbar-bar").length>0&&y.classList.add("header-mobile-admin-fixed"),window.innerWidth>=975?y.classList.add("header-mobile-admin-fixed-active"):y.classList.remove("header-mobile-admin-fixed-active"),document.querySelector(".dxpr-theme-boxed-container").style.overflow="hidden",document.querySelector("#toolbar-bar").classList.add("header-mobile-fixed"),y.classList.add("header-mobile-fixed");var v=document.querySelector("#secondary-header");v&&(v.style.marginTop="".concat(s,"px"))}function f(){var e=1200;if("dxpr_themeNavBreakpoint"in window&&(e=window.dxpr_themeNavBreakpoint),window.innerWidth>e){var t=document.querySelector(".body--dxpr-theme-nav-mobile");t&&(t.classList.add("body--dxpr-theme-nav-desktop"),t.classList.remove("body--dxpr-theme-nav-mobile"))}else{var r=document.querySelector(".body--dxpr-theme-nav-desktop");r&&(r.classList.add("body--dxpr-theme-nav-mobile"),r.classList.remove("body--dxpr-theme-nav-desktop"))}}function x(){"right"===drupalSettings.dxpr_themeSettings.headerSideDirection&&window.innerWidth<=window.dxpr_themeNavBreakpoint?document.querySelector(".dxpr-theme-main-menu").classList.add("dxpr-theme-main-menu--to-left"):document.querySelector(".dxpr-theme-main-menu").classList.remove("dxpr-theme-main-menu--to-left"),window.innerWidth>window.dxpr_themeNavBreakpoint&&0===document.querySelectorAll(".dxpr-theme-header--side").length&&(document.getElementById("dxpr-theme-main-menu").style.position="relative")}window.addEventListener("resize",_.debounce((function(){document.querySelectorAll("#dxpr-theme-main-menu .nav").length>0&&(f(),m(document)),x()}),50)),x(),document.addEventListener("DOMContentLoaded",(function(){document.querySelector("#dxpr-theme-main-menu .nav")&&(f(),m(document))}))}(Drupal,once);
\ No newline at end of file
diff --git a/js/minified/dxpr-theme-multilevel-mobile-nav.min.js b/js/minified/dxpr-theme-multilevel-mobile-nav.min.js
index c4438e0ab..195135dab 100644
--- a/js/minified/dxpr-theme-multilevel-mobile-nav.min.js
+++ b/js/minified/dxpr-theme-multilevel-mobile-nav.min.js
@@ -1 +1 @@
-"use strict";!function(t){var e=Modernizr.cssanimations,n={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd",animation:"animationend"}[Modernizr.prefixed("animation")];function i(t,e){return Object.keys(e).forEach((function(n){Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})),t}function r(t,e){this.el=t,this.options=i({},this.options),i(this.options,e),this.menus=[].slice.call(this.el.querySelectorAll(".menu__level")),this.current=0,this._init()}r.prototype.options={breadcrumbsCtrl:!0,initialBreadcrumb:"all",backCtrl:!0,itemsDelayInterval:60,direction:"r2l",onItemClick:function(t,e){return!1}},r.prototype._init=function(){this.menusArr=[];var t=this;this.menus.forEach((function(e,n){var i={menuEl:e,menuItems:[].slice.call(e.children)};t.menusArr.push(i),n===t.current&&classie.add(e,"menu__level--current")})),this.options.backCtrl&&(this.backCtrl=document.createElement("button"),this.backCtrl.className="menu__back menu__back--hidden",this.backCtrl.setAttribute("aria-label","Go back"),this.backCtrl.innerHTML='',this.el.insertBefore(this.backCtrl,this.el.firstChild)),t.options.breadcrumbsCtrl&&(this.breadcrumbsCtrl=document.createElement("nav"),this.breadcrumbsCtrl.className="menu__breadcrumbs",this.el.insertBefore(this.breadcrumbsCtrl,this.el.firstChild),this._addBreadcrumb(0)),this._initEvents()},r.prototype._initEvents=function(){for(var t=this,e=0,n=this.menusArr.length;e',this.el.insertBefore(this.backCtrl,this.el.firstChild)),t.options.breadcrumbsCtrl&&(this.breadcrumbsCtrl=document.createElement("nav"),this.breadcrumbsCtrl.className="menu__breadcrumbs",this.el.insertBefore(this.breadcrumbsCtrl,this.el.firstChild),this._addBreadcrumb(0)),this._initEvents()},r.prototype._initEvents=function(){for(var t=this,e=0,n=this.menusArr.length;ee.length)&&(t=e.length);for(var o=0,r=Array(t);o=0;r--){var a=o.style[r];a.startsWith(i)&&o.style.removeProperty(a)}},getContrastColor:function(e){var t=_slicedToArray(this.getHexToRgb(e),3);return.299*t[0]+.587*t[1]+.114*t[2]>128?"#000":"#fff"},getHexToRgb:function(e){return 4===e.length&&(e="#".concat(e.slice(1).split("").map((function(e){return e+e})).join(""))),[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16)]}},t.behaviors.dxpr_themeSettingsDynamic={root:document.documentElement,attach:function(e){o("dxpr-settings-init","html",e).length&&this.init()},init:function(){var t=this;this.setNoPreview();var o=this.getCssVariables();this.toggleElement("page_title_breadcrumbs","header ol.breadcrumb"),this.toggleElement("block_divider",".block-preview hr"),Object.values(o).forEach((function(o){var r,i=t.getInputName(o),a=document.querySelectorAll('[name="'.concat(i,'"]'));t.setPreview(i,null!==(r=a[0])&&void 0!==r?r:null),a.forEach((function(o){e(o).on("change",(function(e){t.fieldHandler(e)}));var r=document.querySelector('[name="'.concat(i,'_custom"]'));r&&e(r).on("change keyup",(function(e){t.fieldHandler(e)}))}))}))},setNoPreview:function(){var e=this;document.querySelector(".system-theme-settings").querySelectorAll("input, select, textarea").forEach((function(t){["color_scheme","color_palette","headings_font_face_selector","nav_font_face_selector","sitename_font_face_selector","blockquote_font_face_selector","block_preset","block_card","title_card","block_design_regions","block_divider","block_divider_custom"].some((function(e){return t.name.startsWith(e)}))||e.setPreviewClass(t,!0)}))},setPreview:function(e,t){var o=this;if(e&&t){if(!["background_image_style","background_image_position","background_image_attachment","header_top_height_sticky_offset","header_side_direction","hamburger_menu","hamburger_animation","menu_border_position_offset","menu_border_position_offset_sticky","menu_border_size","menu_border_color","header_mobile_breakpoint","page_title_image_opacity","page_title_image_style","page_title_image_position","body_font_face","headings_font_face","nav_font_face","sitename_font_face","blockquote_font_face"].includes(e)){var r=!1;Object.entries({boxed_layout_boxbg:"boxed_layout",box_max_width:"boxed_layout",header_top_height_scroll:"header_top_sticky",header_top_bg_opacity_scroll:"header_top_sticky",nav_font_size:"menu_type",nav_mobile_font_size:"menu_type"}).forEach((function(i){var a=_slicedToArray(i,2),n=a[0],l=a[1];if(n===e){r=!0;var c=document.querySelector('[name="'.concat(l,'"]'));if("checkbox"===c.type&&c.checked&&o.setPreviewClass(t,!1),"nav_font_size"===e||"nav_mobile_font_size"===e)"lead"!==document.querySelector('[name="'.concat(l,'"]:checked')).value&&o.setPreviewClass(t,!1)}})),r||this.setPreviewClass(t,!1)}}},setPreviewClass:function(e,t){var o=this.getLabel(e);o&&(!0===t?o.classList.add("no-preview"):o.classList.remove("no-preview"))},getLabel:function(e){var t,o,r=null;("string"==typeof e&&(e=document.querySelector('[name="'.concat(e,'"]'))),e)&&((r=null===(t=e.closest("fieldset"))||void 0===t?void 0:t.querySelector("legend"))||(r=null===(o=e.closest(".form-item"))||void 0===o?void 0:o.querySelector("label")));return r},getInputName:function(e){var t=e.replace(a,"").replace(/-/g,"_"),o=_slicedToArray("",3),r=o[0],i=o[1],n=o[2];switch(t){case"title_type_italic":case"title_type_bold":case"title_type_uppercase":var l=_slicedToArray(t.split("_"),3);r=l[0],i=l[1],n=l[2],t="".concat(r,"_").concat(i,"[").concat(n,"]")}return t},fieldHandler:function(e){var t=e.target,o=t.name,r=t.parentElement.textContent.replace(/[^a-z]/gi,""),i=e.target.value;"checkbox"===e.target.type&&(i=e.target.checked),["px","em","rem"].includes(r)&&!Number.isNaN(parseFloat(i))&&(i+=r),i=this.massageValue(o,i);var n=o.replace("_custom","").replace(/[[_]/g,"-").replace("]","");this.root.style.setProperty(a+n,String(i)),"divider_position"===o&&("3"===e.target.value&&(i="calc(100% - var(--dxt-setting-block-divider-length))"),this.root.style.setProperty("".concat(a).concat(n,"-block"),String(i))),"title_font_size"===o&&(i=i.replace("-font-size","-mobile-font-size"),this.root.style.setProperty("".concat(a).concat(n,"-mobile"),String(i)))},massageValue:function(e,t){switch(e){case"title_sticker":t="1"===t?"inline-block":"block";break;case"headings_uppercase":case"title_type[uppercase]":t=t?"uppercase":"normal";break;case"headings_bold":case"title_type[bold]":t=t?"bold":"normal";break;case"title_type[italic]":t=t?"italic":"normal";break;case"logo_height":t="".concat(t,"%");break;case"page_title_breadcrumbs_separator":t='"'.concat(t.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),'"');break;case"title_font_size":t="var(--dxt-setting-".concat(t,"-font-size)");break;case"divider_length":case"block_divider_length":t="0px"===t?"100%":t;break;case"divider_position":switch(t){case"1":t="0";break;case"2":t="auto";break;case"3":t="calc(100% - var(--dxt-setting-divider-length))"}break;case"divider_color":case"block_background":case"title_background":case"block_border_color":case"title_border_color":case"block_divider_color":case"menu_border_color":case"navbar_background":case"header_block_background":case"header_block_text_color":case"menu_background":case"menu_text_color":case"menu_hover_background":case"menu_hover_text_color":case"dropdown_background":case"dropdown_text_color":case"dropdown_hover_background":case"dropdown_hover_text_color":if(t in drupalSettings.dxpr_themeSettings.colors.palette)t="var(".concat(i+t,")");else if("custom"===t){t=document.querySelector('[name="'.concat(e,'_custom"]')).value}else t="white"===t?"#ffffff":""}return t},getCssVariables:function(){return _toConsumableArray(document.styleSheets).filter((function(e){return!e.href||e.href.startsWith(window.location.origin)})).reduce((function(e,t){var o=new Set(e);try{_toConsumableArray(t.cssRules).forEach((function(e){1===e.type&&_toConsumableArray(e.style).forEach((function(e){0===(e=e.trim()).indexOf(a)&&o.add(e)}))}))}catch(e){}return Array.from(o)}),[])},toggleElement:function(e,t){var o=document.querySelector('input[name="'.concat(e,'"]')),r=document.querySelectorAll(t);r.forEach((function(e){e.style.display=o.checked?"block":"none"})),o.addEventListener("change",(function(){r.forEach((function(e){e.style.display=o.checked?"block":"none"}))}))}},t.behaviors.dxpr_themeSettingsControls={attach:function(e){o("dxpr-settings-controls","html",e).length&&(this.init(),this.handleFields())},init:function(){var o;e("#edit-header-top-bg-opacity-scroll,#edit-header-top-bg-opacity,#edit-header-side-bg-opacity,#edit-side-header-background-opacity,#edit-page-title-image-opacity,#edit-header-top-opacity,#edit-header-top-opacity-scroll,#edit-menu-full-screen-opacity").each((function(){var t=e(this).val();e(this).bootstrapSlider({step:.01,min:0,max:1,tooltip:"hide",value:parseFloat(t)})})),e(".line-height-slider").each((function(){var t=e(this).val();e(this).bootstrapSlider({step:.1,min:0,max:3,tooltip:"hide",formatter:function(e){return"".concat(e,"em")},value:parseFloat(t)})})),e(".border-size-slider").each((function(){var t=e(this).val();e(this).bootstrapSlider({step:1,min:0,max:30,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(t)})})),e(".border-radius-slider").each((function(){var t=e(this).val();e(this).bootstrapSlider({step:1,min:0,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(t)})})),(o=e("#edit-body-font-size")).bootstrapSlider({step:1,min:8,max:30,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-nav-font-size")).bootstrapSlider({step:1,min:8,max:30,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-body-mobile-font-size")).bootstrapSlider({step:1,min:8,max:30,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-nav-mobile-font-size")).bootstrapSlider({step:1,min:8,max:30,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),e(".font-size-slider").each((function(){var t=e(this).val();e(this).bootstrapSlider({step:1,min:8,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(t)})})),(o=e("#edit-scale-factor")).bootstrapSlider({step:.01,min:1,max:2,tooltip:"hide",value:parseFloat(o.val())}),(o=e("#edit-divider-thickness")).bootstrapSlider({step:1,min:0,max:20,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-block-divider-thickness")).bootstrapSlider({step:1,min:0,max:20,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-divider-length")).bootstrapSlider({step:10,min:0,max:500,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-block-divider-length")).bootstrapSlider({step:10,min:0,max:500,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-divider-position")).bootstrapSlider({step:1,min:1,max:3,selection:"none",tooltip:"hide",formatter:function(e){var o=t.t("Left");return 2===e&&(o=t.t("Center")),3===e&&(o=t.t("Right")),o},value:parseFloat(o.val())}),(o=e("#edit-headings-letter-spacing")).bootstrapSlider({step:.01,min:-.1,max:.3,tooltip:"hide",formatter:function(e){return"".concat(e,"em")},value:parseFloat(o.val())}),(o=e("#edit-block-divider-spacing")).bootstrapSlider({step:1,min:0,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-page-title-height")).bootstrapSlider({step:5,min:50,max:500,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-header-top-height")).bootstrapSlider({step:1,min:10,max:200,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-logo-height")).bootstrapSlider({step:1,min:10,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"%")},value:parseFloat(o.val())}),(o=e("#edit-header-mobile-breakpoint")).bootstrapSlider({step:10,min:480,max:4100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-header-mobile-height")).bootstrapSlider({step:1,min:10,max:200,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-header-top-height-scroll")).bootstrapSlider({step:1,min:10,max:200,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-header-top-height-sticky-offset")).bootstrapSlider({step:10,min:0,max:2096,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-header-side-width")).bootstrapSlider({step:5,min:50,max:500,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-header-side-logo-height")).bootstrapSlider({step:1,min:10,max:500,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-dropdown-width")).bootstrapSlider({step:5,min:100,max:400,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-menu-border-size")).bootstrapSlider({step:1,min:1,max:20,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-menu-border-position-offset")).bootstrapSlider({step:1,min:0,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-menu-border-position-offset-sticky")).bootstrapSlider({step:1,min:0,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-layout-max-width")).bootstrapSlider({step:10,min:480,max:4100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-box-max-width")).bootstrapSlider({step:10,min:480,max:4100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-gutter-horizontal")).bootstrapSlider({step:1,min:0,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-gutter-vertical")).bootstrapSlider({step:1,min:0,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-gutter-container")).bootstrapSlider({step:1,min:0,max:500,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-gutter-horizontal-mobile")).bootstrapSlider({step:1,min:0,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-gutter-vertical-mobile")).bootstrapSlider({step:1,min:0,max:100,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),(o=e("#edit-gutter-container-mobile")).bootstrapSlider({step:1,min:0,max:500,tooltip:"hide",formatter:function(e){return"".concat(e,"px")},value:parseFloat(o.val())}),e(".vertical-tab-button a").click((function(){e(".slider + input").bootstrapSlider("relayout")})),e('input[type="radio"]').change((function(){e(".slider + input").bootstrapSlider("relayout")})),e("#edit-scale-factor").change((function(){var t=e("#edit-body-font-size").val(),o=e(this).bootstrapSlider("getValue");e("#edit-h1-font-size, #edit-h1-mobile-font-size").bootstrapSlider("setValue",t*Math.pow(o,4)).change(),e("#edit-h2-font-size, #edit-h2-mobile-font-size").bootstrapSlider("setValue",t*Math.pow(o,3)).change(),e("#edit-h3-font-size, #edit-h3-mobile-font-size").bootstrapSlider("setValue",t*Math.pow(o,2)).change(),e("#edit-h4-font-size,#edit-h4-mobile-font-size,#edit-blockquote-font-size,#edit-blockquote-mobile-font-size").bootstrapSlider("setValue",t*o).change()}))},handleFields:function(){var t=this;function o(e){var o,r,i,n=e.target,l=null!==(o=null==n?void 0:n.id)&&void 0!==o?o:"",c=null!==(r=null==n?void 0:n.value)&&void 0!==r?r:"",s=null!==(i=null==n?void 0:n.name)&&void 0!==i?i:"";if(n.closest("#edit-block-advanced")&&(document.getElementById("edit-block-preset").value="custom"),"edit-block-preset"===l){var d={block_border:0,block_border_color:"",block_card:"",block_divider:!1,block_divider_custom:!1,block_divider_length:0,block_divider_thickness:0,block_divider_spacing:0,block_padding:0,title_align:"left",title_background:"",title_border:0,title_border_color:"",title_border_radius:0,title_card:"",title_font_size:"h3",title_padding:0},u={};switch(c){case"block_boxed":u={block_border:5,block_border_color:"text",block_padding:15};break;case"block_outline":u={block_border:1,block_border_color:"text",block_padding:10};break;case"block_card":u={block_card:"card card-body",title_font_size:"h3"};break;case"title_inverted":u={title_background:"text",title_card:"card card-body dxpr-theme-util-background-gray",title_font_size:"h3",title_padding:10};break;case"title_inverted_shape":u={title_align:"center",title_background:"text",title_border_radius:100,title_card:"card card-body dxpr-theme-util-background-gray",title_font_size:"h4",title_padding:10};break;case"title_sticker":u={title_card:"card card-body dxpr-theme-util-background-gray",title_font_size:"body",title_padding:10};break;case"title_sticker_color":u={title_card:"card card-body bg-primary",title_font_size:"body",title_padding:10};break;case"title_outline":u={title_border:1,title_border_color:"text",title_font_size:"h4",title_padding:15};break;case"default_divider":u={block_divider:!0,block_divider_thickness:4,block_divider_spacing:15};break;case"hairline_divider":u={block_divider:!0,block_divider_thickness:1,block_divider_spacing:15}}for(var p in d)p in u||(u[p]=d[p]);Object.keys(u).forEach((function(e){t.setFieldValue(e,u[e])}))}var f=["card","card-body","bg-primary","dxpr-theme-util-background-accent1","dxpr-theme-util-background-accent2","dxpr-theme-util-background-black","dxpr-theme-util-background-white","dxpr-theme-util-background-gray"];if("edit-block-card"===l||"edit-title-card"===l){var m=c.trim().split(/\s+/),h="edit-title-card"===l?".block-title":".block";document.querySelectorAll(".region-block-design "+h).forEach((function(e){var t,o;(t=e.classList).remove.apply(t,f),(o=e.classList).add.apply(o,_toConsumableArray(m.filter((function(e){return""!==e}))))}))}if(s.startsWith("block_design_regions[")){var b="region-block-design",_=".region-"+c.replace("_","-"),v=document.querySelector(_);if(!v)return;if(n.checked){v.classList.add(b);var g=document.querySelectorAll("#edit-block-card, #edit-title-card"),y=new Event("change",{bubbles:!0,cancelable:!0});g.forEach((function(e){e.dispatchEvent(y)}))}else{v.classList.remove(b);var k=_+" .block,"+_+" .block-title";document.querySelectorAll(k).forEach((function(e){var t;(t=e.classList).remove.apply(t,f)}))}}"edit-title-sticker"===l&&document.querySelectorAll(".region-block-design .block-title").forEach((function(e){e.style.display=n.checked?"inline-block":""}));if(("edit-block-divider"===l||"edit-block-divider-custom"===l)&&(n.checked||["block_divider_color","block_divider_thickness","block_divider_length","block_divider_spacing"].forEach((function(e){var t=e.replace(/[\[_]/g,"-");document.documentElement.style.removeProperty(a+t)})),"edit-block-divider"===l&&n.checked)){var x={block_divider_length:0,block_divider_thickness:4,block_divider_spacing:15};Object.keys(x).forEach((function(e){t.setFieldValue(e,x[e])}))}}document.querySelectorAll(".js-form-type-textfield").forEach((function(e){var t=Array.from(e.querySelectorAll(".slider-horizontal, .form-text:not(.dxpr_themeProcessed)"));if(t.length>=2)for(var o=function(){var o=t.slice(r,r+2),i=document.createElement("div");i.classList.add("slider-input-wrapper"),o.forEach((function(e){i.appendChild(e),e.classList.add("dxpr_themeProcessed")})),e.appendChild(i)},r=0;re.length)&&(t=e.length);for(var r=0,o=Array(t);r=0;i--){var n=r.style[i];n.startsWith(o)&&r.style.removeProperty(n)}},getContrastColor:function(e){var t=_slicedToArray(this.getHexToRgb(e),3);return.299*t[0]+.587*t[1]+.114*t[2]>128?"#000":"#fff"},getHexToRgb:function(e){return 4===e.length&&(e="#".concat(e.slice(1).split("").map((function(e){return e+e})).join(""))),[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16)]}},e.behaviors.dxpr_themeSettingsDynamic={root:document.documentElement,attach:function(e){t("dxpr-settings-init","html",e).length&&this.init()},init:function(){var e=this;this.setNoPreview();var t=this.getCssVariables();this.toggleElement("page_title_breadcrumbs","header ol.breadcrumb"),this.toggleElement("block_divider",".block-preview hr"),Object.values(t).forEach((function(t){var r,o=e.getInputName(t),i=document.querySelectorAll('[name="'.concat(o,'"]'));e.setPreview(o,null!==(r=i[0])&&void 0!==r?r:null),i.forEach((function(t){"edit-box-max-width"===t.id||"edit-layout-max-width"===t.id?t.addEventListener("change",(function(t){e.fieldHandler(t)})):t.addEventListener("input",(function(t){e.fieldHandler(t)}));var r=document.querySelector('[name="'.concat(o,'_custom"]'));r&&(r.addEventListener("change",(function(t){e.fieldHandler(t)})),r.addEventListener("keyup",(function(t){e.fieldHandler(t)})))}))}))},setNoPreview:function(){var e=this,t=document.querySelector(".system-theme-settings");t&&t.querySelectorAll("input, select, textarea").forEach((function(t){["color_scheme","color_palette","headings_font_face_selector","nav_font_face_selector","sitename_font_face_selector","blockquote_font_face_selector","block_preset","block_card","title_card","block_design_regions","block_divider","block_divider_custom","page_title_breadcrumbs"].some((function(e){return t.name.startsWith(e)}))||e.setPreviewClass(t,!0)}))},setPreview:function(e,t){var r=this;if(e&&t){if(!["background_image_style","background_image_position","background_image_attachment","header_top_height_sticky_offset","header_side_direction","hamburger_menu","hamburger_animation","menu_border_position_offset","menu_border_position_offset_sticky","menu_border_size","menu_border_color","header_mobile_breakpoint","page_title_image_opacity","page_title_image_style","page_title_image_position","body_font_face","headings_font_face","nav_font_face","sitename_font_face","blockquote_font_face"].includes(e)){var o=!1;Object.entries({boxed_layout_boxbg:"boxed_layout",box_max_width:"boxed_layout",header_top_height_scroll:"header_top_sticky",header_top_bg_opacity_scroll:"header_top_sticky",nav_font_size:"menu_type",nav_mobile_font_size:"menu_type"}).forEach((function(i){var n=_slicedToArray(i,2),a=n[0],c=n[1];if(a===e){o=!0;var l=document.querySelector('[name="'.concat(c,'"]'));if(l&&"checkbox"===l.type&&l.checked&&r.setPreviewClass(t,!1),"nav_font_size"===e||"nav_mobile_font_size"===e){var s=document.querySelector('[name="'.concat(c,'"]:checked'));s&&"lead"!==s.value&&r.setPreviewClass(t,!1)}}})),o||this.setPreviewClass(t,!1)}}},setPreviewClass:function(e,t){var r=this.getLabel(e);r&&(t?r.classList.add("no-preview"):r.classList.remove("no-preview"))},getLabel:function(e){var t=null;if("string"==typeof e&&(e=document.querySelector('[name="'.concat(e,'"]'))),e){var r=e.closest("fieldset");if(r&&(t=r.querySelector("legend")),!t){var o=e.closest(".form-item");o&&(t=o.querySelector("label"))}}return t},getInputName:function(e){var t,r,o,n=e.replace(i,"").replace(/-/g,"_");switch(n){case"title_type_italic":case"title_type_bold":case"title_type_uppercase":var a=_slicedToArray(n.split("_"),3);t=a[0],r=a[1],o=a[2],n="".concat(t,"_").concat(r,"[").concat(o,"]")}return n},fieldHandler:function(e){var t=e.target.name,r=["px","em","rem"],o=e.target.value;"checkbox"===e.target.type&&(o=e.target.checked);!["box_max_width","header_top_height","layout_max_width","gutter_horizontal","gutter_vertical","gutter_container","gutter_horizontal_mobile","gutter_vertical_mobile","gutter_container_mobile","header_side_width","header_side_logo_height","dropdown_width","menu_border_position_offset","menu_border_position_offset_sticky","menu_border_size","header_mobile_breakpoint","header_mobile_height","page_title_height","body_font_size","nav_font_size","h1_font_size","h2_font_size","h3_font_size","h4_font_size","blockquote_font_size","body_mobile_font_size","nav_mobile_font_size","h1_mobile_font_size","h2_mobile_font_size","h3_mobile_font_size","h4_mobile_font_size","blockquote_mobile_font_size","divider_thickness","divider_length","block_padding","block_border_radius","block_border","title_padding","title_border","title_border_radius","block_divider_spacing"].some((function(e){return t.includes(e)}))||r.some((function(e){return o.endsWith(e)}))||Number.isNaN(Number(o))||(o+="px"),!["body_line_height","headings_line_height","blockquote_line_height","headings_letter_spacing"].some((function(e){return t.includes(e)}))||r.some((function(e){return o.endsWith(e)}))||Number.isNaN(Number(o))||(o+="em"),o=this.massageValue(t,o);var n=t.replace("_custom","").replace(/[[_]/g,"-").replace("]","");this.root.style.setProperty("".concat(i).concat(n),String(o)),"divider_position"===t&&("3"===e.target.value&&(o="calc(100% - var(--dxt-setting-block-divider-length))"),this.root.style.setProperty("".concat(i).concat(n,"-block"),String(o))),"title_font_size"===t&&(o=o.replace("-font-size","-mobile-font-size"),this.root.style.setProperty("".concat(i).concat(n,"-mobile"),String(o)))},massageValue:function(e,t){switch(e){case"title_sticker":t="1"===t?"inline-block":"block";break;case"headings_uppercase":case"title_type[uppercase]":t=t?"uppercase":"normal";break;case"headings_bold":case"title_type[bold]":t=t?"bold":"normal";break;case"title_type[italic]":t=t?"italic":"normal";break;case"logo_height":t="".concat(t,"%");break;case"page_title_breadcrumbs_separator":t='"'.concat(t.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),'"');break;case"title_font_size":t="var(--dxt-setting-".concat(t,"-font-size)");break;case"divider_length":case"block_divider_length":t="0px"===t?"100%":t;break;case"divider_position":switch(t){case"1":t="0";break;case"2":t="auto";break;case"3":t="calc(100% - var(--dxt-setting-divider-length))"}break;case"divider_color":case"block_background":case"title_background":case"block_border_color":case"title_border_color":case"block_divider_color":case"menu_border_color":case"navbar_background":case"header_block_background":case"header_block_text_color":case"menu_background":case"menu_text_color":case"menu_hover_background":case"menu_hover_text_color":case"dropdown_background":case"dropdown_text_color":case"dropdown_hover_background":case"dropdown_hover_text_color":if(Object.prototype.hasOwnProperty.call(drupalSettings.dxpr_themeSettings.colors.palette,t))t="var(".concat(o+t,")");else if("custom"===t){var r=document.querySelector('[name="'.concat(e,'_custom"]'));r&&(t=r.value)}else t="white"===t?"#ffffff":""}return t},getCssVariables:function(){return Array.from(document.styleSheets).filter((function(e){return!e.href||e.href.startsWith(window.location.origin)})).reduce((function(e,t){var r=new Set(e);try{Array.from(t.cssRules).forEach((function(e){1===e.type&&Array.from(e.style).forEach((function(e){0===(e=e.trim()).indexOf(i)&&r.add(e)}))}))}catch(e){}return Array.from(r)}),[])},toggleElement:function(e,t){var r=document.querySelector('input[name="'.concat(e,'"]')),o=document.querySelectorAll(t),i=function(){o.forEach((function(e){e.style.display=r.checked?"block":"none"}))};i(),r.addEventListener("change",i)}},e.behaviors.dxpr_themeSettingsControls={attach:function(e){var r=this;t("dxpr-settings-controls-fields","html",e).forEach((function(){r.handleFields()})),t("dxpr-settings-controls","html",e).forEach((function(){})),document.querySelectorAll('input[type="radio"]').forEach((function(e){e.addEventListener("change",(function(){document.querySelectorAll(".dxb-slider").forEach((function(e){!function(e){var t=parseFloat(e.value).toFixed(2),r=parseFloat(e.min),o=(t-r)/(parseFloat(e.max)-r)*100;e.style.setProperty("--value-percent","".concat(o,"%")),e.setAttribute("aria-valuenow",t)}(e)}))}))})),document.querySelector("#edit-scale-factor").addEventListener("input",(function(){var e=parseFloat(document.querySelector("#edit-body-font-size").value),t=parseFloat(this.value);function r(r,o){document.querySelectorAll(r).forEach((function(r){var i=e*Math.pow(t,o);r.value=i.toFixed(2),r.dispatchEvent(new Event("input"))}))}r("#edit-h1-font-size, #edit-h1-mobile-font-size",4),r("#edit-h2-font-size, #edit-h2-mobile-font-size",3),r("#edit-h3-font-size, #edit-h3-mobile-font-size",2),r("#edit-h4-font-size, #edit-h4-mobile-font-size, #edit-blockquote-font-size, #edit-blockquote-mobile-font-size",1)}))},handleFields:function(){var e=this;function t(t){var r,o,i,n,a=t.target,c=null!==(r=null==a?void 0:a.id)&&void 0!==r?r:"",l=null!==(o=null==a?void 0:a.value)&&void 0!==o?o:"",s=null!==(i=null==a?void 0:a.name)&&void 0!==i?i:"";if((n=document.querySelector("#edit-block-advanced"))&&n.addEventListener("change",(function(e){n.contains(a)&&(document.getElementById("edit-block-preset").value="custom")})),"edit-block-preset"===c){var d={block_border:0,block_border_color:"",block_card:"",block_divider:!1,block_divider_custom:!1,block_divider_length:0,block_divider_thickness:0,block_divider_spacing:0,block_padding:0,title_align:"left",title_background:"",title_border:0,title_border_color:"",title_border_radius:0,title_card:"",title_font_size:"h3",title_padding:0},u={};switch(l){case"block_boxed":u={block_border:5,block_border_color:"text",block_padding:15};break;case"block_outline":u={block_border:1,block_border_color:"text",block_padding:10};break;case"block_card":u={block_card:"card card-body",title_font_size:"h3"};break;case"title_inverted":u={title_background:"text",title_card:"card card-body dxpr-theme-util-background-gray",title_font_size:"h3",title_padding:10};break;case"title_inverted_shape":u={title_align:"center",title_background:"text",title_border_radius:100,title_card:"card card-body dxpr-theme-util-background-gray",title_font_size:"h4",title_padding:10};break;case"title_sticker":u={title_card:"card card-body dxpr-theme-util-background-gray",title_font_size:"body",title_padding:10};break;case"title_sticker_color":u={title_card:"card card-body bg-primary",title_font_size:"body",title_padding:10};break;case"title_outline":u={title_border:1,title_border_color:"text",title_font_size:"h4",title_padding:15};break;case"default_divider":u={block_divider:!0,block_divider_thickness:4,block_divider_spacing:15};break;case"hairline_divider":u={block_divider:!0,block_divider_thickness:1,block_divider_spacing:15};break;default:u={}}Object.keys(d).forEach((function(e){e in u||(u[e]=d[e])})),Object.keys(u).forEach((function(t){e.setFieldValue(t,u[t])}))}var _=["card","card-body","bg-primary","dxpr-theme-util-background-accent1","dxpr-theme-util-background-accent2","dxpr-theme-util-background-black","dxpr-theme-util-background-white","dxpr-theme-util-background-gray"];if("edit-block-card"===c||"edit-title-card"===c){var b=l.trim().split(/\s+/),f="edit-title-card"===c?".block-title":".block";document.querySelectorAll(".region-block-design ".concat(f)).forEach((function(e){var t,r;(t=e.classList).remove.apply(t,_),(r=e.classList).add.apply(r,_toConsumableArray(b.filter((function(e){return""!==e}))))}))}if(s.startsWith("block_design_regions[")){var h="region-block-design",m=".region-".concat(l.replace("_","-")),p=document.querySelector(m);if(!p)return;if(a.checked){p.classList.add(h);var v=document.querySelectorAll("#edit-block-card, #edit-title-card"),y=new Event("change",{bubbles:!0,cancelable:!0});v.forEach((function(e){e.dispatchEvent(y)}))}else{p.classList.remove(h);var g="".concat(m," .block,").concat(m," .block-title");document.querySelectorAll(g).forEach((function(e){var t;(t=e.classList).remove.apply(t,_)}))}}"edit-title-sticker"===c&&document.querySelectorAll(".region-block-design .block-title").forEach((function(e){e.style.display=a.checked?"inline-block":""}));if(("edit-block-divider"===c||"edit-block-divider-custom"===c)&&(a.checked||["block_divider_color","block_divider_thickness","block_divider_length","block_divider_spacing"].forEach((function(e){var t=e.replace(/[_]/g,"-");document.documentElement.style.removeProperty("--".concat(t))})),"edit-block-divider"===c&&a.checked)){var k={block_divider_length:0,block_divider_thickness:4,block_divider_spacing:15};Object.keys(k).forEach((function(t){e.setFieldValue(t,k[t])}))}}document.addEventListener("change",t),document.addEventListener("keyup",t),document.querySelectorAll(".dxb-slider").forEach((function(e){e.addEventListener("input",(function(e){t(e)}))}))},setFieldValue:function(e,t){var r=document.querySelector('[name="'.concat(e,'"]'));if(r)if("range"===r.type||r.classList.contains("dxb-slider"))r.value=t,r.dispatchEvent(new Event("input"));else if("checkbox"===r.type)r.checked=t,r.dispatchEvent(new Event("change"));else if("radio"===r.type){var o=document.querySelector('[name="'.concat(e,'"][value="').concat(t,'"]'));o&&(o.checked=!0,o.dispatchEvent(new Event("change")))}else r.value=t,r.dispatchEvent(new Event("change"))}}}(Drupal,once);
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 781bdcc71..8e36a51fd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,6 +8,7 @@
"name": "dxpr_theme",
"version": "0.2.0",
"dependencies": {
+ "dxb_slider": "github:dxpr/DXB-Slider",
"postcss": "^8.4.41"
},
"devDependencies": {
@@ -24,7 +25,6 @@
"eslint-detailed-reporter": "^0",
"eslint-plugin-babel": "^5",
"eslint-plugin-import": "^2",
- "eslint-plugin-jquery": "^1.5.1",
"eslint-plugin-jsx-a11y": "^6",
"eslint-plugin-prettier": "^5",
"eslint-plugin-react": "^7",
@@ -2150,7 +2150,6 @@
"resolved": "https://registry.npmjs.org/@lodder/grunt-postcss/-/grunt-postcss-3.1.1.tgz",
"integrity": "sha512-dgkDAUgjtCCCk7jsIBkDMhcL78y2reQ9YxqBpVJGa/0tX1Eus7GRWEn0QWqfFiHqqc3yrMQN+GtH8PUIZOBmDQ==",
"dev": true,
- "license": "MIT",
"dependencies": {
"diff": "^5.0.0",
"maxmin": "^3.0.0",
@@ -2169,7 +2168,6 @@
"resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",
"integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==",
"dev": true,
- "license": "BSD-3-Clause",
"engines": {
"node": ">=0.3.1"
}
@@ -2235,7 +2233,6 @@
"resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz",
"integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">=18"
},
@@ -2246,7 +2243,7 @@
"node_modules/@types/json5": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
- "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=",
+ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
"dev": true
},
"node_modules/@ungap/structured-clone": {
@@ -2409,7 +2406,7 @@
"node_modules/array-each": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz",
- "integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=",
+ "integrity": "sha512-zHjL5SZa68hkKHBFBK6DJCTtr9sfTCPCaph/L7tMSLcTFgy+zX7E+6q5UArbtOtMBCtxdICpfTCspRse+ywyXA==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -2628,7 +2625,6 @@
"url": "https://github.com/sponsors/ai"
}
],
- "license": "MIT",
"dependencies": {
"browserslist": "^4.23.3",
"caniuse-lite": "^1.0.30001646",
@@ -2873,7 +2869,7 @@
"node_modules/body": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/body/-/body-5.1.0.tgz",
- "integrity": "sha1-5LoM5BCkaTYyM2dgnstOZVMSUGk=",
+ "integrity": "sha512-chUsBxGRtuElD6fmw1gHLpvnKdVLK302peeFa9ZqAEk8TyzZ3fygLyUEDDPTJvL9+Bor0dIwn6ePOsRM2y0zQQ==",
"dev": true,
"dependencies": {
"continuable-cache": "^0.3.1",
@@ -2945,7 +2941,7 @@
"node_modules/bytes": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/bytes/-/bytes-1.0.0.tgz",
- "integrity": "sha1-NWnt6Lo0MV+rmcPpLLBMciDeH6g=",
+ "integrity": "sha512-/x68VkHLeTl3/Ll8IvxdwzhrT+IyKc52e/oyHhA2RwqPqswSnjVbSddfPRwAsJtbilMAPSRWwAlpxdYsSWOTKQ==",
"dev": true
},
"node_modules/caching-transform": {
@@ -3115,7 +3111,7 @@
"node_modules/color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
"dev": true
},
"node_modules/color-support": {
@@ -3136,7 +3132,7 @@
"node_modules/colors": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz",
- "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=",
+ "integrity": "sha512-ENwblkFQpqqia6b++zLD/KUWafYlVY/UNnAp7oz7LY7E924wmpye416wBOmvv/HMWzl8gL1kJlfvId/1Dg176w==",
"dev": true,
"engines": {
"node": ">=0.1.90"
@@ -3157,7 +3153,7 @@
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
"dev": true
},
"node_modules/confusing-browser-globals": {
@@ -3178,7 +3174,7 @@
"node_modules/continuable-cache": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/continuable-cache/-/continuable-cache-0.3.1.tgz",
- "integrity": "sha1-vXJ6f67XfnH/OYWskzUakSczrQ8=",
+ "integrity": "sha512-TF30kpKhTH8AGCG3dut0rdd/19B7Z+qCnrMoBLpyQu/2drZdNrrpcjPEoJeSVsQM+8KmWG5O56oPDjSSUsuTyA==",
"dev": true
},
"node_modules/convert-source-map": {
@@ -3447,7 +3443,6 @@
"resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz",
"integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">= 0.6.0"
}
@@ -3464,7 +3459,7 @@
"node_modules/detect-file": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
- "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=",
+ "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -3563,8 +3558,13 @@
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
"integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==",
- "dev": true,
- "license": "MIT"
+ "dev": true
+ },
+ "node_modules/dxb_slider": {
+ "version": "1.0.1",
+ "resolved": "git+ssh://git@github.com/dxpr/DXB-Slider.git#37572f38221a6be71a68dd3864677dc8809dfb26",
+ "integrity": "sha512-hS0kxFZ8SWw/O1deV0EtNaWqdkk+O7SPr/n+SJDhZn7VAFWG7GX1RZLm7pBjq/octEj4jfrAnhdQNYu3wXeb8Q==",
+ "license": "GPL-2.0"
},
"node_modules/ejs": {
"version": "3.1.10",
@@ -3802,7 +3802,7 @@
"node_modules/escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true,
"engines": {
"node": ">=0.8.0"
@@ -3812,6 +3812,7 @@
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
"integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
+ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
@@ -4040,15 +4041,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/eslint-plugin-jquery": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-jquery/-/eslint-plugin-jquery-1.5.1.tgz",
- "integrity": "sha512-L7v1eaK5t80C0lvUXPFP9MKnBOqPSKhCOYyzy4LZ0+iK+TJwN8S9gAkzzP1AOhypRIwA88HF6phQ9C7jnOpW8w==",
- "dev": true,
- "peerDependencies": {
- "eslint": ">=5.4.0"
- }
- },
"node_modules/eslint-plugin-jsx-a11y": {
"version": "6.8.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz",
@@ -4492,7 +4484,7 @@
"node_modules/eventemitter2": {
"version": "0.4.14",
"resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz",
- "integrity": "sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=",
+ "integrity": "sha512-K7J4xq5xAD5jHsGM5ReWXRTFa3JRGofHiMcVgQ8PRwgWxzjHpMWCIzsmyf60+mh8KLsqYPcjUMa0AC4hd6lPyQ==",
"dev": true
},
"node_modules/events-to-array": {
@@ -4504,7 +4496,7 @@
"node_modules/exit": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
- "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=",
+ "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",
"dev": true,
"engines": {
"node": ">= 0.8.0"
@@ -4513,7 +4505,7 @@
"node_modules/expand-tilde": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz",
- "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=",
+ "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==",
"dev": true,
"dependencies": {
"homedir-polyfill": "^1.0.1"
@@ -4607,7 +4599,7 @@
"node_modules/faye-websocket": {
"version": "0.10.0",
"resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz",
- "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=",
+ "integrity": "sha512-Xhj93RXbMSq8urNCUq4p9l0P6hnySJ/7YNRhYNug0bLOuii7pKO7xQFb5mx9xZXWCar88pLPb805PvUkwrLZpQ==",
"dev": true,
"dependencies": {
"websocket-driver": ">=0.5.1"
@@ -4621,7 +4613,6 @@
"resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",
"integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==",
"dev": true,
- "license": "MIT",
"dependencies": {
"escape-string-regexp": "^1.0.5"
},
@@ -4797,7 +4788,7 @@
"node_modules/for-in": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
- "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",
+ "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -4806,7 +4797,7 @@
"node_modules/for-own": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz",
- "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=",
+ "integrity": "sha512-0OABksIGrxKK8K4kynWkQ7y1zounQxP+CWnyclVwj81KW3vlLlGUx57DKGcP/LH216GzqnstnPocF16Nxs0Ycg==",
"dev": true,
"dependencies": {
"for-in": "^1.0.1"
@@ -4872,7 +4863,6 @@
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
"integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
"dev": true,
- "license": "MIT",
"dependencies": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
@@ -4885,23 +4875,9 @@
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
"dev": true
},
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
"node_modules/function-bind": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
@@ -5019,7 +4995,6 @@
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-9.0.0.tgz",
"integrity": "sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">=12"
},
@@ -5103,7 +5078,7 @@
"node_modules/global-prefix": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz",
- "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=",
+ "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==",
"dev": true,
"dependencies": {
"expand-tilde": "^2.0.2",
@@ -5756,7 +5731,6 @@
"resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz",
"integrity": "sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA==",
"dev": true,
- "license": "MIT",
"dependencies": {
"duplexer": "^0.1.1",
"pify": "^4.0.1"
@@ -5765,16 +5739,6 @@
"node": ">=6"
}
},
- "node_modules/gzip-size/node_modules/pify": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/has-bigints": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
@@ -5787,7 +5751,7 @@
"node_modules/has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
"dev": true,
"engines": {
"node": ">=4"
@@ -5896,7 +5860,7 @@
"node_modules/hooker": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz",
- "integrity": "sha1-uDT3I8xKJCqmWWNFnfbZhMXT2Vk=",
+ "integrity": "sha512-t+UerCsQviSymAInD01Pw+Dn/usmz1sRO+3Zk1+lx8eg+WKpD2ulcwWqHHL0+aseRBr+3+vIhiG1K1JTwaIcTA==",
"dev": true,
"engines": {
"node": "*"
@@ -6012,7 +5976,7 @@
"node_modules/inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
"deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
"dev": true,
"dependencies": {
@@ -6049,7 +6013,7 @@
"node_modules/interpret": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz",
- "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=",
+ "integrity": "sha512-CLM8SNMDu7C5psFCn6Wg/tgpj/bKAg7hc2gWqcuR9OD5Ft9PhBpIu8PLicPeis+xDd6YX2ncI8MCA64I9tftIA==",
"dev": true
},
"node_modules/irregular-plurals": {
@@ -6208,7 +6172,7 @@
"node_modules/is-extglob": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -6531,13 +6495,13 @@
"node_modules/isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
"dev": true
},
"node_modules/isobject": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
- "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
+ "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -6911,7 +6875,6 @@
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dev": true,
- "license": "MIT",
"dependencies": {
"universalify": "^2.0.0"
},
@@ -7055,7 +7018,6 @@
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz",
"integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">=14"
},
@@ -7099,7 +7061,7 @@
"node_modules/lodash.debounce": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
- "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=",
+ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==",
"dev": true
},
"node_modules/lodash.flattendeep": {
@@ -7199,7 +7161,7 @@
"node_modules/map-cache": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
- "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",
+ "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -7220,7 +7182,6 @@
"resolved": "https://registry.npmjs.org/maxmin/-/maxmin-3.0.0.tgz",
"integrity": "sha512-wcahMInmGtg/7c6a75fr21Ch/Ks1Tb+Jtoan5Ft4bAI0ZvJqyOw8kkM7e7p8hDSzY805vmxwHT50KcjGwKyJ0g==",
"dev": true,
- "license": "MIT",
"dependencies": {
"chalk": "^4.1.0",
"figures": "^3.2.0",
@@ -7239,7 +7200,6 @@
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
- "license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
@@ -7255,7 +7215,6 @@
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
- "license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
@@ -7272,7 +7231,6 @@
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
- "license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
},
@@ -7284,15 +7242,13 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
+ "dev": true
},
"node_modules/maxmin/node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">=8"
}
@@ -7302,7 +7258,6 @@
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
- "license": "MIT",
"dependencies": {
"has-flag": "^4.0.0"
},
@@ -7338,11 +7293,10 @@
}
},
"node_modules/micromatch": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
- "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",
+ "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",
"dev": true,
- "license": "MIT",
"dependencies": {
"braces": "^3.0.3",
"picomatch": "^2.3.1"
@@ -7465,7 +7419,7 @@
"node_modules/nopt": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
- "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
+ "integrity": "sha512-4GUt3kSEYmk4ITxzB/b9vaIDfUVWN/Ml1Fwl11IlnIG2iaJ9O6WXZ9SrYM9NLI8OCBieN2Y8SWC2oJV0RQ7qYg==",
"dev": true,
"dependencies": {
"abbrev": "1"
@@ -7603,7 +7557,7 @@
"node_modules/object-assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -7648,7 +7602,7 @@
"node_modules/object.defaults": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz",
- "integrity": "sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=",
+ "integrity": "sha512-c/K0mw/F11k4dEUBMW8naXUuBuhxRCfG7W+yFy8EcijU/rSmazOUd1XAEEe6bC0OuXY4HUKjTJv7xbxIMqdxrA==",
"dev": true,
"dependencies": {
"array-each": "^1.0.1",
@@ -7726,7 +7680,7 @@
"node_modules/object.map": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz",
- "integrity": "sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=",
+ "integrity": "sha512-3+mAJu2PLfnSVGHwIWubpOFLscJANBKuB/6A4CxBstc4aqwQY0FWcsppuy4jU5GSB95yES5JHSI+33AWuS4k6w==",
"dev": true,
"dependencies": {
"for-own": "^1.0.0",
@@ -7739,7 +7693,7 @@
"node_modules/object.pick": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
- "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",
+ "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==",
"dev": true,
"dependencies": {
"isobject": "^3.0.1"
@@ -7768,7 +7722,7 @@
"node_modules/once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
"dev": true,
"dependencies": {
"wrappy": "1"
@@ -7803,7 +7757,7 @@
"node_modules/os-homedir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
- "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
+ "integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -7812,7 +7766,7 @@
"node_modules/os-tmpdir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
- "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
+ "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -7925,7 +7879,7 @@
"node_modules/parse-filepath": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz",
- "integrity": "sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=",
+ "integrity": "sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q==",
"dev": true,
"dependencies": {
"is-absolute": "^1.0.0",
@@ -7957,7 +7911,7 @@
"node_modules/parse-passwd": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
- "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=",
+ "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -7975,7 +7929,7 @@
"node_modules/path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -7999,7 +7953,7 @@
"node_modules/path-root": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz",
- "integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=",
+ "integrity": "sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg==",
"dev": true,
"dependencies": {
"path-root-regex": "^0.1.0"
@@ -8011,7 +7965,7 @@
"node_modules/path-root-regex": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz",
- "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=",
+ "integrity": "sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -8044,13 +7998,12 @@
}
},
"node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
"dev": true,
- "license": "MIT",
"engines": {
- "node": ">=0.10.0"
+ "node": ">=6"
}
},
"node_modules/pkg-dir": {
@@ -8173,7 +8126,6 @@
"resolved": "https://registry.npmjs.org/postcss-cli/-/postcss-cli-11.0.0.tgz",
"integrity": "sha512-xMITAI7M0u1yolVcXJ9XTZiO9aO49mcoKQy6pCDFdMh9kGqhzLVpWxeD/32M/QBmkhcGypZFFOLNLmIW4Pg4RA==",
"dev": true,
- "license": "MIT",
"dependencies": {
"chokidar": "^3.3.0",
"dependency-graph": "^0.11.0",
@@ -8203,7 +8155,6 @@
"resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
"integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
"dev": true,
- "license": "ISC",
"dependencies": {
"string-width": "^4.2.0",
"strip-ansi": "^6.0.1",
@@ -8218,7 +8169,6 @@
"resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz",
"integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==",
"dev": true,
- "license": "MIT",
"dependencies": {
"@sindresorhus/merge-streams": "^2.1.0",
"fast-glob": "^3.3.2",
@@ -8239,7 +8189,6 @@
"resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz",
"integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">=12"
},
@@ -8252,7 +8201,6 @@
"resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz",
"integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">=14.16"
},
@@ -8265,7 +8213,6 @@
"resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
"integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
"dev": true,
- "license": "ISC",
"engines": {
"node": ">=10"
}
@@ -8275,7 +8222,6 @@
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
"integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
"dev": true,
- "license": "MIT",
"dependencies": {
"cliui": "^8.0.1",
"escalade": "^3.1.1",
@@ -8294,7 +8240,6 @@
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
"integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
"dev": true,
- "license": "ISC",
"engines": {
"node": ">=12"
}
@@ -8314,7 +8259,6 @@
"url": "https://github.com/sponsors/ai"
}
],
- "license": "MIT",
"dependencies": {
"lilconfig": "^3.1.1",
"yaml": "^2.4.2"
@@ -8340,11 +8284,10 @@
}
},
"node_modules/postcss-load-config/node_modules/yaml": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz",
- "integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==",
+ "version": "2.5.1",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz",
+ "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==",
"dev": true,
- "license": "ISC",
"bin": {
"yaml": "bin.mjs"
},
@@ -8382,7 +8325,6 @@
"url": "https://github.com/sponsors/ai"
}
],
- "license": "MIT",
"dependencies": {
"picocolors": "^1.0.0",
"thenby": "^1.3.4"
@@ -8521,7 +8463,6 @@
"resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz",
"integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">=6"
},
@@ -8534,7 +8475,6 @@
"resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
"integrity": "sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">= 0.8"
}
@@ -8609,7 +8549,7 @@
"node_modules/raw-body": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-1.1.7.tgz",
- "integrity": "sha1-HQJ8K/oRasxmI7yo8AAWVyqH1CU=",
+ "integrity": "sha512-WmJJU2e9Y6M5UzTOkHaM7xJGAPQD8PNzx3bAd2+uhZAim6wDk6dAZxPVYLF67XhbR4hmKGh33Lpmh4XWrCH5Mg==",
"dev": true,
"dependencies": {
"bytes": "1",
@@ -8630,11 +8570,19 @@
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
"integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
"dev": true,
- "license": "MIT",
"dependencies": {
"pify": "^2.3.0"
}
},
+ "node_modules/read-cache/node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/readable-stream": {
"version": "1.1.14",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
@@ -8843,7 +8791,7 @@
"node_modules/resolve-dir": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",
- "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=",
+ "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==",
"dev": true,
"dependencies": {
"expand-tilde": "^2.0.0",
@@ -8952,7 +8900,7 @@
"node_modules/safe-json-parse": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/safe-json-parse/-/safe-json-parse-1.0.1.tgz",
- "integrity": "sha1-PnZyPjjf3aE8mx0poeB//uSzC1c=",
+ "integrity": "sha512-o0JmTu17WGUaUOHa1l0FPGXKBfijbxK6qoHzlkihsDXxzBHvJcA7zgviKR92Xs841rX9pK16unfphLq0/KqX7A==",
"dev": true
},
"node_modules/safe-regex-test": {
@@ -9220,13 +9168,13 @@
"node_modules/string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
- "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==",
"dev": true
},
"node_modules/string-template": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz",
- "integrity": "sha1-QpMuWYo1LQH8IuwzZ9nYTuxsmt0=",
+ "integrity": "sha512-Yptehjogou2xm4UJbxJ4CxgZx12HBfeystp0y3x7s4Dj32ltVVG1Gg8YhKjHZkHicuKpZX/ffilA8505VbUbpw==",
"dev": true
},
"node_modules/string-width": {
@@ -9339,7 +9287,7 @@
"node_modules/strip-bom": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
- "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
"dev": true,
"engines": {
"node": ">=4"
@@ -10041,6 +9989,8 @@
},
"node_modules/tap/node_modules/@ampproject/remapping": {
"version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
+ "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
"dev": true,
"inBundle": true,
"license": "Apache-2.0",
@@ -10054,6 +10004,8 @@
},
"node_modules/tap/node_modules/@babel/code-frame": {
"version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz",
+ "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10067,6 +10019,8 @@
},
"node_modules/tap/node_modules/@babel/compat-data": {
"version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz",
+ "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10076,6 +10030,8 @@
},
"node_modules/tap/node_modules/@babel/core": {
"version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz",
+ "integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10106,6 +10062,8 @@
},
"node_modules/tap/node_modules/@babel/generator": {
"version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz",
+ "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10121,6 +10079,8 @@
},
"node_modules/tap/node_modules/@babel/helper-annotate-as-pure": {
"version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz",
+ "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10133,6 +10093,8 @@
},
"node_modules/tap/node_modules/@babel/helper-compilation-targets": {
"version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz",
+ "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10149,6 +10111,8 @@
},
"node_modules/tap/node_modules/@babel/helper-environment-visitor": {
"version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
+ "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10158,6 +10122,8 @@
},
"node_modules/tap/node_modules/@babel/helper-function-name": {
"version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10171,6 +10137,8 @@
},
"node_modules/tap/node_modules/@babel/helper-hoist-variables": {
"version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
+ "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10183,6 +10151,8 @@
},
"node_modules/tap/node_modules/@babel/helper-module-imports": {
"version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz",
+ "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10195,6 +10165,8 @@
},
"node_modules/tap/node_modules/@babel/helper-module-transforms": {
"version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz",
+ "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10214,6 +10186,8 @@
},
"node_modules/tap/node_modules/@babel/helper-plugin-utils": {
"version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz",
+ "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10223,6 +10197,8 @@
},
"node_modules/tap/node_modules/@babel/helper-simple-access": {
"version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz",
+ "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10235,6 +10211,8 @@
},
"node_modules/tap/node_modules/@babel/helper-split-export-declaration": {
"version": "7.22.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
+ "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10247,6 +10225,8 @@
},
"node_modules/tap/node_modules/@babel/helper-string-parser": {
"version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
+ "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10256,6 +10236,8 @@
},
"node_modules/tap/node_modules/@babel/helper-validator-identifier": {
"version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
+ "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10265,6 +10247,8 @@
},
"node_modules/tap/node_modules/@babel/helper-validator-option": {
"version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz",
+ "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10274,6 +10258,8 @@
},
"node_modules/tap/node_modules/@babel/helpers": {
"version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz",
+ "integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10288,6 +10274,8 @@
},
"node_modules/tap/node_modules/@babel/highlight": {
"version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz",
+ "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10302,6 +10290,8 @@
},
"node_modules/tap/node_modules/@babel/parser": {
"version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz",
+ "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10314,6 +10304,9 @@
},
"node_modules/tap/node_modules/@babel/plugin-proposal-object-rest-spread": {
"version": "7.20.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz",
+ "integrity": "sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==",
+ "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10333,6 +10326,8 @@
},
"node_modules/tap/node_modules/@babel/plugin-syntax-jsx": {
"version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz",
+ "integrity": "sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10348,6 +10343,8 @@
},
"node_modules/tap/node_modules/@babel/plugin-syntax-object-rest-spread": {
"version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
+ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10360,6 +10357,8 @@
},
"node_modules/tap/node_modules/@babel/plugin-transform-destructuring": {
"version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz",
+ "integrity": "sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10375,6 +10374,8 @@
},
"node_modules/tap/node_modules/@babel/plugin-transform-parameters": {
"version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz",
+ "integrity": "sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10390,6 +10391,8 @@
},
"node_modules/tap/node_modules/@babel/plugin-transform-react-jsx": {
"version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.23.4.tgz",
+ "integrity": "sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10409,6 +10412,8 @@
},
"node_modules/tap/node_modules/@babel/template": {
"version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
+ "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10423,6 +10428,8 @@
},
"node_modules/tap/node_modules/@babel/traverse": {
"version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz",
+ "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10444,6 +10451,8 @@
},
"node_modules/tap/node_modules/@babel/types": {
"version": "7.23.6",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz",
+ "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10458,6 +10467,8 @@
},
"node_modules/tap/node_modules/@isaacs/import-jsx": {
"version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/import-jsx/-/import-jsx-4.0.1.tgz",
+ "integrity": "sha512-l34FEsEqpdYdGcQjRCxWy+7rHY6euUbOBz9FI+Mq6oQeVhNegHcXFSJxVxrJvOpO31NbnDjS74quKXDlPDearA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10478,6 +10489,8 @@
},
"node_modules/tap/node_modules/@jridgewell/gen-mapping": {
"version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
+ "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10492,6 +10505,8 @@
},
"node_modules/tap/node_modules/@jridgewell/resolve-uri": {
"version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
+ "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10501,6 +10516,8 @@
},
"node_modules/tap/node_modules/@jridgewell/set-array": {
"version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
+ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10510,12 +10527,16 @@
},
"node_modules/tap/node_modules/@jridgewell/sourcemap-codec": {
"version": "1.4.15",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/@jridgewell/trace-mapping": {
"version": "0.3.20",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
+ "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10526,12 +10547,16 @@
},
"node_modules/tap/node_modules/@types/prop-types": {
"version": "15.7.11",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz",
+ "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/@types/react": {
"version": "17.0.73",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.73.tgz",
+ "integrity": "sha512-6AcjgPIVsXTIsFDgsGW0iQhvg0xb2vt2qAWgXyncnVNRaW9ZXTTwAh7RQoh7PzK1AhjPoGDvUBkdAREih9n5oQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10543,18 +10568,24 @@
},
"node_modules/tap/node_modules/@types/scheduler": {
"version": "0.16.8",
+ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz",
+ "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/@types/yoga-layout": {
"version": "1.9.2",
+ "resolved": "https://registry.npmjs.org/@types/yoga-layout/-/yoga-layout-1.9.2.tgz",
+ "integrity": "sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/ansi-escapes": {
"version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10570,6 +10601,8 @@
},
"node_modules/tap/node_modules/ansi-escapes/node_modules/type-fest": {
"version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
"dev": true,
"inBundle": true,
"license": "(MIT OR CC0-1.0)",
@@ -10582,6 +10615,8 @@
},
"node_modules/tap/node_modules/ansi-regex": {
"version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10591,6 +10626,8 @@
},
"node_modules/tap/node_modules/ansi-styles": {
"version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10603,12 +10640,16 @@
},
"node_modules/tap/node_modules/ansicolors": {
"version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz",
+ "integrity": "sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/astral-regex": {
"version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
+ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10618,6 +10659,8 @@
},
"node_modules/tap/node_modules/auto-bind": {
"version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-4.0.0.tgz",
+ "integrity": "sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10630,12 +10673,16 @@
},
"node_modules/tap/node_modules/balanced-match": {
"version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/brace-expansion": {
"version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10646,6 +10693,8 @@
},
"node_modules/tap/node_modules/browserslist": {
"version": "4.22.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz",
+ "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==",
"dev": true,
"funding": [
{
@@ -10678,6 +10727,8 @@
},
"node_modules/tap/node_modules/caller-callsite": {
"version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-4.1.0.tgz",
+ "integrity": "sha512-99nnnGlJexTc41xwQTr+mWl15OI5PPczUJzM4YRE7QjkefMKCXGa5gfQjCOuVrD+1TjI/fevIDHg2nz3iYN5Ig==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10690,6 +10741,8 @@
},
"node_modules/tap/node_modules/caller-path": {
"version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-3.0.1.tgz",
+ "integrity": "sha512-fhmztL4wURO/BzwJUJ4aVRdnKEFskPBbrJ8fNgl7XdUiD1ygzzlt+nhPgUBSRq2ciEVubo6x+W8vJQzm55QLLQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10702,6 +10755,8 @@
},
"node_modules/tap/node_modules/callsites": {
"version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10711,6 +10766,8 @@
},
"node_modules/tap/node_modules/caniuse-lite": {
"version": "1.0.30001570",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001570.tgz",
+ "integrity": "sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==",
"dev": true,
"funding": [
{
@@ -10731,6 +10788,8 @@
},
"node_modules/tap/node_modules/cardinal": {
"version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz",
+ "integrity": "sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10744,6 +10803,8 @@
},
"node_modules/tap/node_modules/chalk": {
"version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10758,12 +10819,16 @@
},
"node_modules/tap/node_modules/ci-info": {
"version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
+ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/cli-boxes": {
"version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz",
+ "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10776,6 +10841,8 @@
},
"node_modules/tap/node_modules/cli-cursor": {
"version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10788,6 +10855,8 @@
},
"node_modules/tap/node_modules/cli-truncate": {
"version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz",
+ "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10804,6 +10873,8 @@
},
"node_modules/tap/node_modules/code-excerpt": {
"version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-3.0.0.tgz",
+ "integrity": "sha512-VHNTVhd7KsLGOqfX3SyeO8RyYPMp1GJOg194VITk04WMYCv4plV68YWe6TJZxd9MhobjtpMRnVky01gqZsalaw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10816,6 +10887,8 @@
},
"node_modules/tap/node_modules/color-convert": {
"version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10825,30 +10898,40 @@
},
"node_modules/tap/node_modules/color-name": {
"version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/commondir": {
"version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
+ "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/concat-map": {
"version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/convert-source-map": {
"version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/convert-to-spaces": {
"version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz",
+ "integrity": "sha512-cj09EBuObp9gZNQCzc7hByQyrs6jVGE+o9kSJmeUoj+GiPiJvi5LYqEH/Hmme4+MTLHM+Ejtq+FChpjjEnsPdQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10858,12 +10941,16 @@
},
"node_modules/tap/node_modules/csstype": {
"version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/debug": {
"version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10881,18 +10968,24 @@
},
"node_modules/tap/node_modules/electron-to-chromium": {
"version": "1.4.614",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.614.tgz",
+ "integrity": "sha512-X4ze/9Sc3QWs6h92yerwqv7aB/uU8vCjZcrMjA8N9R1pjMFRe44dLsck5FzLilOYvcXuDn93B+bpGYyufc70gQ==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/emoji-regex": {
"version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/escalade": {
"version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10902,6 +10995,8 @@
},
"node_modules/tap/node_modules/escape-string-regexp": {
"version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10911,6 +11006,8 @@
},
"node_modules/tap/node_modules/esprima": {
"version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
"dev": true,
"inBundle": true,
"license": "BSD-2-Clause",
@@ -10924,12 +11021,16 @@
},
"node_modules/tap/node_modules/events-to-array": {
"version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/events-to-array/-/events-to-array-1.1.2.tgz",
+ "integrity": "sha512-inRWzRY7nG+aXZxBzEqYKB3HPgwflZRopAjDCHv0whhRx+MTUr1ei0ICZUypdyE0HRm4L2d5VEcIqLD6yl+BFA==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/find-cache-dir": {
"version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz",
+ "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10947,6 +11048,8 @@
},
"node_modules/tap/node_modules/find-up": {
"version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10960,12 +11063,16 @@
},
"node_modules/tap/node_modules/fs.realpath": {
"version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/gensync": {
"version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -10975,6 +11082,9 @@
},
"node_modules/tap/node_modules/glob": {
"version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Glob versions prior to v9 are no longer supported",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -10995,6 +11105,8 @@
},
"node_modules/tap/node_modules/globals": {
"version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11004,6 +11116,8 @@
},
"node_modules/tap/node_modules/has-flag": {
"version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11013,6 +11127,8 @@
},
"node_modules/tap/node_modules/indent-string": {
"version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11022,6 +11138,9 @@
},
"node_modules/tap/node_modules/inflight": {
"version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11032,12 +11151,16 @@
},
"node_modules/tap/node_modules/inherits": {
"version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/ink": {
"version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/ink/-/ink-3.2.0.tgz",
+ "integrity": "sha512-firNp1q3xxTzoItj/eOOSZQnYSlyrWks5llCTVX37nJ59K3eXbQ8PtzCguqo8YI19EELo5QxaKnJd4VxzhU8tg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11081,6 +11204,8 @@
},
"node_modules/tap/node_modules/ink/node_modules/ansi-styles": {
"version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11096,6 +11221,8 @@
},
"node_modules/tap/node_modules/ink/node_modules/chalk": {
"version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11112,6 +11239,8 @@
},
"node_modules/tap/node_modules/ink/node_modules/color-convert": {
"version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11124,12 +11253,16 @@
},
"node_modules/tap/node_modules/ink/node_modules/color-name": {
"version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/ink/node_modules/has-flag": {
"version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11139,6 +11272,8 @@
},
"node_modules/tap/node_modules/ink/node_modules/supports-color": {
"version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11151,6 +11286,8 @@
},
"node_modules/tap/node_modules/is-ci": {
"version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz",
+ "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11163,6 +11300,8 @@
},
"node_modules/tap/node_modules/is-fullwidth-code-point": {
"version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11172,12 +11311,16 @@
},
"node_modules/tap/node_modules/js-tokens": {
"version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/jsesc": {
"version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11190,6 +11333,8 @@
},
"node_modules/tap/node_modules/json5": {
"version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11202,6 +11347,8 @@
},
"node_modules/tap/node_modules/locate-path": {
"version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11214,12 +11361,16 @@
},
"node_modules/tap/node_modules/lodash": {
"version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/loose-envify": {
"version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11232,6 +11383,8 @@
},
"node_modules/tap/node_modules/lru-cache": {
"version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11241,6 +11394,8 @@
},
"node_modules/tap/node_modules/make-dir": {
"version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
+ "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11256,6 +11411,8 @@
},
"node_modules/tap/node_modules/mimic-fn": {
"version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11265,6 +11422,8 @@
},
"node_modules/tap/node_modules/minimatch": {
"version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11277,6 +11436,8 @@
},
"node_modules/tap/node_modules/minipass": {
"version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11289,24 +11450,32 @@
},
"node_modules/tap/node_modules/minipass/node_modules/yallist": {
"version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/ms": {
"version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/node-releases": {
"version": "2.0.14",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",
+ "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/object-assign": {
"version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11316,6 +11485,8 @@
},
"node_modules/tap/node_modules/once": {
"version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11325,6 +11496,8 @@
},
"node_modules/tap/node_modules/onetime": {
"version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11340,6 +11513,8 @@
},
"node_modules/tap/node_modules/p-limit": {
"version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11355,6 +11530,8 @@
},
"node_modules/tap/node_modules/p-locate": {
"version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11367,6 +11544,8 @@
},
"node_modules/tap/node_modules/p-try": {
"version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11376,6 +11555,8 @@
},
"node_modules/tap/node_modules/patch-console": {
"version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/patch-console/-/patch-console-1.0.0.tgz",
+ "integrity": "sha512-nxl9nrnLQmh64iTzMfyylSlRozL7kAXIaxw1fVcLYdyhNkJCRUzirRZTikXGJsg+hc4fqpneTK6iU2H1Q8THSA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11385,6 +11566,8 @@
},
"node_modules/tap/node_modules/path-exists": {
"version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11394,6 +11577,8 @@
},
"node_modules/tap/node_modules/path-is-absolute": {
"version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11403,12 +11588,16 @@
},
"node_modules/tap/node_modules/picocolors": {
"version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/pkg-dir": {
"version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11421,6 +11610,8 @@
},
"node_modules/tap/node_modules/punycode": {
"version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11430,6 +11621,8 @@
},
"node_modules/tap/node_modules/react": {
"version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",
+ "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11443,6 +11636,8 @@
},
"node_modules/tap/node_modules/react-devtools-core": {
"version": "4.28.5",
+ "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.28.5.tgz",
+ "integrity": "sha512-cq/o30z9W2Wb4rzBefjv5fBalHU0rJGZCHAkf/RHSBWSSYwh8PlQTqqOJmgIIbBtpj27T6FIPXeomIjZtCNVqA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11453,6 +11648,8 @@
},
"node_modules/tap/node_modules/react-reconciler": {
"version": "0.26.2",
+ "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.26.2.tgz",
+ "integrity": "sha512-nK6kgY28HwrMNwDnMui3dvm3rCFjZrcGiuwLc5COUipBK5hWHLOxMJhSnSomirqWwjPBJKV1QcbkI0VJr7Gl1Q==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11470,6 +11667,8 @@
},
"node_modules/tap/node_modules/redeyed": {
"version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz",
+ "integrity": "sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11479,6 +11678,8 @@
},
"node_modules/tap/node_modules/resolve-from": {
"version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz",
+ "integrity": "sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11488,6 +11689,8 @@
},
"node_modules/tap/node_modules/restore-cursor": {
"version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11501,6 +11704,9 @@
},
"node_modules/tap/node_modules/rimraf": {
"version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "deprecated": "Rimraf versions prior to v4 are no longer supported",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11516,6 +11722,8 @@
},
"node_modules/tap/node_modules/scheduler": {
"version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",
+ "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11526,6 +11734,8 @@
},
"node_modules/tap/node_modules/semver": {
"version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11535,6 +11745,8 @@
},
"node_modules/tap/node_modules/shell-quote": {
"version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz",
+ "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11544,12 +11756,16 @@
},
"node_modules/tap/node_modules/signal-exit": {
"version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/slice-ansi": {
"version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz",
+ "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11564,6 +11780,8 @@
},
"node_modules/tap/node_modules/slice-ansi/node_modules/ansi-styles": {
"version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11579,6 +11797,8 @@
},
"node_modules/tap/node_modules/slice-ansi/node_modules/color-convert": {
"version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11591,12 +11811,16 @@
},
"node_modules/tap/node_modules/slice-ansi/node_modules/color-name": {
"version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/stack-utils": {
"version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
+ "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11609,6 +11833,8 @@
},
"node_modules/tap/node_modules/stack-utils/node_modules/escape-string-regexp": {
"version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11618,6 +11844,8 @@
},
"node_modules/tap/node_modules/string-width": {
"version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11632,6 +11860,8 @@
},
"node_modules/tap/node_modules/strip-ansi": {
"version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11644,6 +11874,8 @@
},
"node_modules/tap/node_modules/supports-color": {
"version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11656,6 +11888,8 @@
},
"node_modules/tap/node_modules/tap-parser": {
"version": "11.0.2",
+ "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-11.0.2.tgz",
+ "integrity": "sha512-6qGlC956rcORw+fg7Fv1iCRAY8/bU9UabUAhs3mXRH6eRmVZcNPLheSXCYaVaYeSwx5xa/1HXZb1537YSvwDZg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11673,6 +11907,8 @@
},
"node_modules/tap/node_modules/tap-yaml": {
"version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/tap-yaml/-/tap-yaml-1.0.2.tgz",
+ "integrity": "sha512-GegASpuqBnRNdT1U+yuUPZ8rEU64pL35WPBpCISWwff4dErS2/438barz7WFJl4Nzh3Y05tfPidZnH+GaV1wMg==",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11682,6 +11918,8 @@
},
"node_modules/tap/node_modules/to-fast-properties": {
"version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11691,6 +11929,8 @@
},
"node_modules/tap/node_modules/treport": {
"version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/treport/-/treport-3.0.4.tgz",
+ "integrity": "sha512-zUw1sfJypuoZi0I54woo6CNsfvMrv+OwLBD0/wc4LhMW8MA0MbSE+4fNObn22JSR8x9lOYccuAzfBfZ2IemzoQ==",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11710,6 +11950,8 @@
},
"node_modules/tap/node_modules/treport/node_modules/ansi-styles": {
"version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11725,6 +11967,8 @@
},
"node_modules/tap/node_modules/treport/node_modules/chalk": {
"version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11738,6 +11982,8 @@
},
"node_modules/tap/node_modules/treport/node_modules/color-convert": {
"version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11750,12 +11996,16 @@
},
"node_modules/tap/node_modules/treport/node_modules/color-name": {
"version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/treport/node_modules/has-flag": {
"version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11765,6 +12015,8 @@
},
"node_modules/tap/node_modules/treport/node_modules/supports-color": {
"version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11777,6 +12029,8 @@
},
"node_modules/tap/node_modules/type-fest": {
"version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.12.0.tgz",
+ "integrity": "sha512-53RyidyjvkGpnWPMF9bQgFtWp+Sl8O2Rp13VavmJgfAP9WWG6q6TkrKU8iyJdnwnfgHI6k2hTlgqH4aSdjoTbg==",
"dev": true,
"inBundle": true,
"license": "(MIT OR CC0-1.0)",
@@ -11789,6 +12043,8 @@
},
"node_modules/tap/node_modules/unicode-length": {
"version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/unicode-length/-/unicode-length-2.1.0.tgz",
+ "integrity": "sha512-4bV582zTV9Q02RXBxSUMiuN/KHo5w4aTojuKTNT96DIKps/SIawFp7cS5Mu25VuY1AioGXrmYyzKZUzh8OqoUw==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11798,6 +12054,8 @@
},
"node_modules/tap/node_modules/update-browserslist-db": {
"version": "1.0.13",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
+ "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==",
"dev": true,
"funding": [
{
@@ -11828,6 +12086,8 @@
},
"node_modules/tap/node_modules/widest-line": {
"version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz",
+ "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11840,6 +12100,8 @@
},
"node_modules/tap/node_modules/wrap-ansi": {
"version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11854,6 +12116,8 @@
},
"node_modules/tap/node_modules/wrap-ansi/node_modules/ansi-styles": {
"version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11869,6 +12133,8 @@
},
"node_modules/tap/node_modules/wrap-ansi/node_modules/color-convert": {
"version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11881,18 +12147,24 @@
},
"node_modules/tap/node_modules/wrap-ansi/node_modules/color-name": {
"version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"inBundle": true,
"license": "MIT"
},
"node_modules/tap/node_modules/wrappy": {
"version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/ws": {
"version": "7.5.9",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
+ "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11914,12 +12186,16 @@
},
"node_modules/tap/node_modules/yallist": {
"version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
"dev": true,
"inBundle": true,
"license": "ISC"
},
"node_modules/tap/node_modules/yaml": {
"version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
"dev": true,
"inBundle": true,
"license": "ISC",
@@ -11929,6 +12205,8 @@
},
"node_modules/tap/node_modules/yoga-layout-prebuilt": {
"version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/yoga-layout-prebuilt/-/yoga-layout-prebuilt-1.10.0.tgz",
+ "integrity": "sha512-YnOmtSbv4MTf7RGJMK0FvZ+KD8OEe/J5BNnR0GHhD8J/XcG/Qvxgszm0Un6FTHWW4uHlTgP0IztiXQnGyIR45g==",
"dev": true,
"inBundle": true,
"license": "MIT",
@@ -11993,8 +12271,7 @@
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/thenby/-/thenby-1.3.4.tgz",
"integrity": "sha512-89Gi5raiWA3QZ4b2ePcEwswC3me9JIg+ToSgtE0JWeCynLnLxNr/f9G+xfo9K+Oj4AFdom8YNJjibIARTJmapQ==",
- "dev": true,
- "license": "Apache-2.0"
+ "dev": true
},
"node_modules/tiny-lr": {
"version": "1.1.1",
@@ -12022,7 +12299,7 @@
"node_modules/to-fast-properties": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
- "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
"dev": true,
"engines": {
"node": ">=4"
@@ -12203,7 +12480,7 @@
"node_modules/unc-path-regex": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz",
- "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=",
+ "integrity": "sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==",
"dev": true,
"engines": {
"node": ">=0.10.0"
@@ -12276,7 +12553,6 @@
"resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz",
"integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">=18"
},
@@ -12289,7 +12565,6 @@
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
"integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
"dev": true,
- "license": "MIT",
"engines": {
"node": ">= 10.0.0"
}
@@ -12336,7 +12611,7 @@
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
"dev": true
},
"node_modules/uuid": {
@@ -12545,7 +12820,7 @@
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
"dev": true
},
"node_modules/write-file-atomic": {
diff --git a/package.json b/package.json
index a67a66b05..fd546fc78 100755
--- a/package.json
+++ b/package.json
@@ -18,7 +18,6 @@
"eslint-detailed-reporter": "^0",
"eslint-plugin-babel": "^5",
"eslint-plugin-import": "^2",
- "eslint-plugin-jquery": "^1.5.1",
"eslint-plugin-jsx-a11y": "^6",
"eslint-plugin-prettier": "^5",
"eslint-plugin-react": "^7",
@@ -51,6 +50,7 @@
"lint:scss:fix": "stylelint \"scss/**/*.scss\" --fix --custom-formatter=node_modules/stylelint-formatter-pretty/index.js --output-file stylelint-results.json"
},
"dependencies": {
+ "dxb_slider": "github:dxpr/DXB-Slider",
"postcss": "^8.4.41"
}
}
diff --git a/scripts/update-dxb-slider.sh b/scripts/update-dxb-slider.sh
new file mode 100755
index 000000000..8b8fd1274
--- /dev/null
+++ b/scripts/update-dxb-slider.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+# 1. Update DXB Slider using npm (ako želiš uključiti automatsko ažuriranje)
+echo "Updating DXB Slider package with npm..."
+npm update dxb_slider
+
+# 2. Define source and destination paths
+SLIDER_JS_SRC="./node_modules/dxb_slider/dxb-slider.min.js"
+SLIDER_CSS_SRC="./node_modules/dxb_slider/dxb-slider.min.css"
+VENDOR_JS_DEST="./vendor/dxb-slider/dxb-slider.min.js"
+VENDOR_CSS_DEST="./vendor/dxb-slider/dxb-slider.min.css"
+
+# 3. Create vendor directory if it does not exist
+echo "Creating vendor directory if not exists..."
+mkdir -p "$(dirname "$VENDOR_JS_DEST")"
+
+# 4. Move minified JS and CSS files to the vendor folder
+echo "Moving files to the vendor folder..."
+cp "$SLIDER_JS_SRC" "$VENDOR_JS_DEST"
+cp "$SLIDER_CSS_SRC" "$VENDOR_CSS_DEST"
+
+echo "DXB Slider package updated and files moved to vendor folder."
diff --git a/scss/animations-dxpr.scss b/scss/animations-dxpr.scss
new file mode 100644
index 000000000..245f9c200
--- /dev/null
+++ b/scss/animations-dxpr.scss
@@ -0,0 +1,151 @@
+// Bounce Animation
+@keyframes bounce-dxpr {
+ 0%, 20%, 50%, 80%, 100% {
+ transform: translateY(0);
+ }
+
+ 40% {
+ transform: translateY(-30px);
+ }
+
+ 60% {
+ transform: translateY(-15px);
+ }
+}
+
+.bounce-dxpr {
+ animation: bounce-dxpr 1s;
+}
+
+// Flash Animation
+@keyframes flash-dxpr {
+ 0%, 50%, 100% {
+ opacity: 1;
+ }
+
+ 25%, 75% {
+ opacity: 0;
+ }
+}
+
+.flash-dxpr {
+ animation: flash-dxpr 1s;
+}
+
+// Pulse Animation
+@keyframes pulse-dxpr {
+ 0% {
+ transform: scale(1);
+ }
+
+ 50% {
+ transform: scale(1.05);
+ }
+
+ 100% {
+ transform: scale(1);
+ }
+}
+
+.pulse-dxpr {
+ animation: pulse-dxpr 1s;
+}
+
+// Fade In Animation
+@keyframes fade-in-dxpr {
+ from {
+ opacity: 0;
+ }
+
+ to {
+ opacity: 1;
+ }
+}
+
+.fade-in-dxpr {
+ animation: fade-in-dxpr 1s;
+}
+
+// Bounce In Down Animation
+@keyframes bounce-in-down-dxpr {
+ 0% {
+ opacity: 0;
+ transform: translateY(-2000px);
+ }
+
+ 60% {
+ opacity: 1;
+ transform: translateY(30px);
+ }
+
+ 80% {
+ transform: translateY(-10px);
+ }
+
+ 100% {
+ transform: translateY(0);
+ }
+}
+
+.bounce-in-down-dxpr {
+ animation: bounce-in-down-dxpr 1s;
+}
+
+// Bounce In Up Animation
+@keyframes bounce-in-up-dxpr {
+ 0% {
+ opacity: 0;
+ transform: translateY(2000px);
+ }
+
+ 60% {
+ opacity: 1;
+ transform: translateY(-30px);
+ }
+
+ 80% {
+ transform: translateY(10px);
+ }
+
+ 100% {
+ transform: translateY(0);
+ }
+}
+
+.bounce-in-up-dxpr {
+ animation: bounce-in-up-dxpr 1s;
+}
+
+// Fade In Down Animation
+@keyframes fade-in-down-dxpr {
+ from {
+ opacity: 0;
+ transform: translateY(-100%);
+ }
+
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.fade-in-down-dxpr {
+ animation: fade-in-down-dxpr 1s;
+}
+
+// Fade In Up Animation
+@keyframes fade-in-up-dxpr {
+ from {
+ opacity: 0;
+ transform: translateY(100%);
+ }
+
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.fade-in-up-dxpr {
+ animation: fade-in-up-dxpr 1s;
+}
diff --git a/scss/base/layout.scss b/scss/base/layout.scss
index 886df62be..f21ad11d9 100755
--- a/scss/base/layout.scss
+++ b/scss/base/layout.scss
@@ -266,3 +266,10 @@ html.js .kenburnimg img {
.region-content {
padding: 0;
}
+
+body #edit-block-advanced #edit-block-divider-thickness-wrapper,
+body #edit-block-advanced #edit-block-divider-length-wrapper,
+body #edit-block-advanced #edit-block-divider-spacing-wrapper,
+body #edit-layout #edit-box-max-width-wrapper, {
+ border: none;
+}
diff --git a/scss/base/typography.scss b/scss/base/typography.scss
index 94e69b466..35f5e0e97 100755
--- a/scss/base/typography.scss
+++ b/scss/base/typography.scss
@@ -228,3 +228,21 @@ hr, .card hr {
font-size: var(--dxt-setting-blockquote-mobile-font-size);
}
}
+
+#system-theme-settings #edit-typography .details-wrapper {
+ display: flex;
+ flex-wrap: wrap;
+}
+
+#system-theme-settings #edit-typography .details-wrapper > details {
+ width: 100%;
+}
+
+#system-theme-settings #edit-typography .details-wrapper > .js-form-item.form-item.js-form-type-range.form-type-range {
+ width: auto;
+}
+
+#system-theme-settings #edit-typography .details-wrapper > .js-form-item.form-item.js-form-type-range.form-type-range > .dxb-slider-container > .dxb-slider-wrapper > .dxb-slider-track > .js-form-item {
+ max-width: 200px;
+ width: auto;
+}
diff --git a/scss/dxpr-theme.admin.themesettings.scss b/scss/dxpr-theme.admin.themesettings.scss
index 6c41c803a..1835f9a09 100755
--- a/scss/dxpr-theme.admin.themesettings.scss
+++ b/scss/dxpr-theme.admin.themesettings.scss
@@ -154,6 +154,10 @@ $border-color: #222330;
}
}
+ .form-radios .no-preview::after, .form-checkboxes .no-preview::after, .form-item-block-card .no-preview::after, .form-item-block-divider .no-preview::after {
+ display: none;
+ }
+
.form-item {
background-color: unset;
clear: both;
@@ -189,25 +193,8 @@ $border-color: #222330;
position: static;
}
- // Slider input wrapper
- .slider-input-wrapper {
- display: flex;
- height: 40px;
- padding: 0 10px;
- width: 100%;
-
- .slider {
- flex: 0 1 80%;
- }
-
- input {
- flex: 0 1 20%;
- }
- }
-
.form-text,
.fieldset-wrapper,
- .slider,
.select-wrapper {
float: left;
max-width: 100%;
@@ -230,46 +217,6 @@ $border-color: #222330;
clear: both;
}
- // BOOTSTRAP SLIDER
- .slider + input {
- background: transparent;
- border: none;
- bottom: 20px;
- display: block !important;
- font-size: 15px;
- height: 40px;
- margin-left: 15px;
- margin-top: 8px;
- padding: 0;
- position: relative;
- width: 120px;
- }
-
- .slider-track {
- box-shadow: none;
- height: 5px;
- }
-
- .slider-selection {
- background: var(--dxt-color-base);
- box-shadow: none;
- }
-
- .slider {
- display: block;
- position: relative;
- }
-
- .slider-handle {
- background: #fff;
- border-radius: 2px;
- box-shadow: 0 1px 2px rgb(16 24 40 / 9%), 0 1px 3px rgb(16 24 40 / 15%);
- cursor: pointer;
- height: 20px;
- margin-top: -3px;
- width: 20px;
- }
-
h2 {
margin-bottom: 0;
margin-top: 0;
@@ -338,7 +285,7 @@ $border-color: #222330;
}
.vertical-tabs__menu-item-title {
- font-weight: normal;
+ font-weight: normal;
}
}
}
@@ -387,36 +334,36 @@ $border-color: #222330;
}
// .form-radios {
- // label.option,
- input ~ label.option,
- input ~ span {
- cursor: pointer;
- font-weight: 300;
- line-height: 24px;
- margin: 0;
- width: auto;
-
- &::before {
- content: '__';
- display: inline-block;
- font-size: 18px;
- font-weight: normal;
- opacity: 0.3;
- width: 25px;
- }
- }
+ // label.option,
+ input ~ label.option,
+ input ~ span {
+ cursor: pointer;
+ font-weight: 300;
+ line-height: 24px;
+ margin: 0;
+ width: auto;
- input:checked ~ label.option,
- input:checked ~ span {
- font-style: italic;
+ &::before {
+ content: '__';
+ display: inline-block;
+ font-size: 18px;
font-weight: normal;
+ opacity: 0.3;
+ width: 25px;
+ }
+ }
- &::before {
- content: '✓';
- font-size: 24px;
- opacity: 1;
- }
+ input:checked ~ label.option,
+ input:checked ~ span {
+ font-style: italic;
+ font-weight: normal;
+
+ &::before {
+ content: '✓';
+ font-size: 24px;
+ opacity: 1;
}
+ }
// }
}
@@ -585,10 +532,6 @@ $border-color: #222330;
width: 27%;
}
- .slider {
- width: 73%;
- }
-
.form-item-scale-factor {
width: 66%;
}
@@ -600,15 +543,10 @@ $border-color: #222330;
}
#edit-block {
- .slider,
.form-type-select,
.form-text {
width: 80%;
}
-
- .slider + input {
- width: 20%;
- }
}
.block-design-settings {
@@ -646,9 +584,9 @@ $border-color: #222330;
}
.js-form-type-checkbox {
- position: relative;
+ position: relative;
- input[type="checkbox"] {
+ input[type="checkbox"] {
appearance: auto;
cursor: pointer;
height: 27px;
@@ -670,9 +608,9 @@ $border-color: #222330;
}
}
- &:focus {
- box-shadow: unset;
- }
+ &:focus {
+ box-shadow: unset;
+ }
}
.switcher {
@@ -707,6 +645,24 @@ $border-color: #222330;
right: 0;
}
}
+
+ .dxb-slider-wrapper {
+ input {
+ border: none;
+ }
+
+ .dxb-slider-value {
+ width: 100px;
+ }
+
+ .dxb-slider-track {
+ min-width: 150px;
+
+ .dxb-slider {
+ width: 100% !important;
+ }
+ }
+ }
}
.type-preview {
diff --git a/scss/vendor-extensions/jquery-ui.scss b/scss/vendor-extensions/jquery-ui.scss
deleted file mode 100644
index eb1edd62b..000000000
--- a/scss/vendor-extensions/jquery-ui.scss
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Author: Jurriaan Roelofs for DXPR. Copyright DXPR.
-//
-@import "../includes/variables";
-
-.html {
- .ui-widget {
- font-family: inherit;
- font-size: inherit;
- }
-
- .ui-dialog {
- padding: 0;
- }
-
- .ui-tabs .ui-tabs-panel {
- padding: 0 30px;
- }
-
- .ui-widget-content,
- .ui-widget-header,
- .ui-state-hover,
- .ui-widget-content .ui-state-hover,
- .ui-widget-header .ui-state-hover,
- .ui-state-focus,
- .ui-widget-content .ui-state-focus,
- .ui-widget-header .ui-state-focus,
- .ui-state-active,
- .ui-widget-content .ui-state-active,
- .ui-widget-header .ui-state-active,
- .ui-state-highlight,
- .ui-widget-content .ui-state-highlight,
- .ui-widget-header .ui-state-highlight,
- .ui-state-error,
- .ui-widget-content .ui-state-error,
- .ui-widget-header .ui-state-error, {
- background: #fff;
- background-image: none;
- border-radius: 0;
- color: $text;
- }
-
- .ui-widget input,
- .ui-widget select,
- .ui-widget textarea,
- .ui-widget button {
- font-family: inherit;
- font-size: 14px;
- }
-}
diff --git a/templates/page-title.html.twig b/templates/page-title.html.twig
index ff300a37f..860b0144a 100644
--- a/templates/page-title.html.twig
+++ b/templates/page-title.html.twig
@@ -21,7 +21,6 @@
{%
set page_title_classes = [
'page-title',
- theme.settings.page_title_animate ? 'animated',
theme.settings.page_title_animate ? theme.settings.page_title_animate,
]
%}
diff --git a/theme-settings.php b/theme-settings.php
index 4bbc66826..63c7b639a 100755
--- a/theme-settings.php
+++ b/theme-settings.php
@@ -299,7 +299,7 @@ function dxpr_theme_form_system_theme_settings_submit(&$form, &$form_state) {
* @return array
* Array containing requested data.
*/
-function _dxpr_theme_get_color_inc(string $key = NULL): array {
+function _dxpr_theme_get_color_inc(?string $key = NULL): array {
$path = \Drupal::service('extension.list.theme')->getPath('dxpr_theme');
$filepath = sprintf('%s/%s/features/sooper-colors/color-settings.json', DRUPAL_ROOT, $path);
diff --git a/translations/nl.po b/translations/nl.po
index 61ca5e8d7..c5fa0c6f3 100644
--- a/translations/nl.po
+++ b/translations/nl.po
@@ -895,7 +895,7 @@ msgstr ""
"gewijzigd, met behulp van het veld Koptekstafbeelding in het "
"knooppuntformulier."
#: features/sooper-page-title/page_title-theme-settings.inc:137,117
-msgid "Backound Image Opacity"
+msgid "Background Image Opacity"
msgstr "Dekking van de achtergrondafbeelding"
#: features/sooper-page-title/page_title-theme-settings.inc:141,121
msgid ""
diff --git a/vendor/animate.css/.editorconfig b/vendor/animate.css/.editorconfig
deleted file mode 100755
index 8951c3929..000000000
--- a/vendor/animate.css/.editorconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-# editorconfig.org
-root = true
-
-[*]
-indent_style = space
-indent_size = 2
-tab_width = 2
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
diff --git a/vendor/animate.css/.gitignore b/vendor/animate.css/.gitignore
deleted file mode 100755
index 9621ab88d..000000000
--- a/vendor/animate.css/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-.sass-cache
-node_modules/
-.DS_Store
-test/
diff --git a/vendor/animate.css/.travis.yml b/vendor/animate.css/.travis.yml
deleted file mode 100755
index 0d27250cf..000000000
--- a/vendor/animate.css/.travis.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-language: node_js
-node_js:
-- "6"
-- "6.1"
-- "5.11"
-before_script:
- - npm install -g gulp
-script: gulp
\ No newline at end of file
diff --git a/vendor/animate.css/LICENSE b/vendor/animate.css/LICENSE
deleted file mode 100755
index 7ae911ba1..000000000
--- a/vendor/animate.css/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016 Daniel Eden
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/vendor/animate.css/README.md b/vendor/animate.css/README.md
deleted file mode 100755
index 4638917c4..000000000
--- a/vendor/animate.css/README.md
+++ /dev/null
@@ -1,231 +0,0 @@
-# Animate.css [](https://github.com/daneden/animate.css/releases) [](https://travis-ci.org/WarenGonzaga/animate.css) [](https://david-dm.org/WarenGonzaga/animate.css?type=dev) [](https://gitter.im/animate-css/Lobby)
-*Just-add-water CSS animation*
-
-`animate.css` is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.
-
-## Installation
-
-To install via Bower, simply do the following:
-
-```bash
-$ bower install animate.css --save
-```
-or you can install via npm:
-
-```bash
-$ npm install animate.css --save
-```
-
-## Basic Usage
-1. Include the stylesheet on your document's ``
-
- ```html
-
-
-
- ```
- Instead of installing you may use the remote version (hosted by [CDNJS](https://cdnjs.com/libraries/animate.css)):
- ```html
-
-
-
- ```
- You may [generate a SRI hash](https://www.srihash.org/) of that particular version and then use it to ensure the file's integrity; also you can make anonymous requests to CDN by setting the corresponding [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute:
- ```html
-
-
-
- ```
-2. Add the class `animated` to the element you want to animate.
- You may also want to include the class `infinite` for an infinite loop.
-
-3. Finally you need to add one of the following classes:
-
-| Class Name |
-|--------------------|
-| `bounce` |
-| `flash` |
-| `pulse` |
-| `rubberBand` |
-| `shake` |
-| `headShake` |
-| `swing` |
-| `tada` |
-| `wobble` |
-| `jello` |
-| `bounceIn` |
-| `bounceInDown` |
-| `bounceInLeft` |
-| `bounceInRight` |
-| `bounceInUp` |
-| `bounceOut` |
-| `bounceOutDown` |
-| `bounceOutLeft` |
-| `bounceOutRight` |
-| `bounceOutUp` |
-| `fadeIn` |
-| `fadeInDown` |
-| `fadeInDownBig` |
-| `fadeInLeft` |
-| `fadeInLeftBig` |
-| `fadeInRight` |
-| `fadeInRightBig` |
-| `fadeInUp` |
-| `fadeInUpBig` |
-| `fadeOut` |
-| `fadeOutDown` |
-| `fadeOutDownBig` |
-| `fadeOutLeft` |
-| `fadeOutLeftBig` |
-| `fadeOutRight` |
-| `fadeOutRightBig` |
-| `fadeOutUp` |
-| `fadeOutUpBig` |
-| `flipInX` |
-| `flipInY` |
-| `flipOutX` |
-| `flipOutY` |
-| `lightSpeedIn` |
-| `lightSpeedOut` |
-| `rotateIn` |
-| `rotateInDownLeft` |
-| `rotateInDownRight` |
-| `rotateInUpLeft` |
-| `rotateInUpRight` |
-| `rotateOut` |
-| `rotateOutDownLeft` |
-| `rotateOutDownRight` |
-| `rotateOutUpLeft` |
-| `rotateOutUpRight` |
-| `hinge` |
-| `jackInTheBox` |
-| `rollIn` |
-| `rollOut` |
-| `zoomIn` |
-| `zoomInDown` |
-| `zoomInLeft` |
-| `zoomInRight` |
-| `zoomInUp` |
-| `zoomOut` |
-| `zoomOutDown` |
-| `zoomOutLeft` |
-| `zoomOutRight` |
-| `zoomOutUp` |
-| `slideInDown` |
-| `slideInLeft` |
-| `slideInRight` |
-| `slideInUp` |
-| `slideOutDown` |
-| `slideOutLeft` |
-| `slideOutRight` |
-| `slideOutUp` |
-
-Full example:
-```html
-Example
-```
-
-[Check out all the animations here!](https://daneden.github.io/animate.css/)
-
-## Usage
-To use animate.css in your website, simply drop the stylesheet into your document's ``, and add the class `animated` to an element, along with any of the animation names. That's it! You've got a CSS animated element. Super!
-
-```html
-
-
-
-```
-or use the version hosted by [CDNJS](https://cdnjs.com/libraries/animate.css)
-```html
-
-
-
-```
-
-You can do a whole bunch of other stuff with animate.css when you combine it with jQuery or add your own CSS rules. Dynamically add animations using jQuery with ease:
-
-```javascript
-$('#yourElement').addClass('animated bounceOutLeft');
-```
-
-You can also detect when an animation ends:
-
-
-
-```javascript
-$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething);
-```
-
-[View a video tutorial](https://www.youtube.com/watch?v=CBQGl6zokMs) on how to use Animate.css with jQuery here.
-
-**Note:** `jQuery.one()` is used when you want to execute the event handler at most *once*. More information [here](http://api.jquery.com/one/).
-
-You can also extend jQuery to add a function that does it all for you:
-
-```javascript
-$.fn.extend({
- animateCss: function (animationName) {
- var animationEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
- this.addClass('animated ' + animationName).one(animationEnd, function() {
- $(this).removeClass('animated ' + animationName);
- });
- return this;
- }
-});
-```
-
-And use it like this:
-
-```javascript
-$('#yourElement').animateCss('bounce');
-```
-
-You can change the duration of your animations, add a delay or change the number of times that it plays:
-
-```css
-#yourElement {
- -vendor-animation-duration: 3s;
- -vendor-animation-delay: 2s;
- -vendor-animation-iteration-count: infinite;
-}
-```
-
-*Note: be sure to replace "vendor" in the CSS with the applicable vendor prefixes (webkit, moz, etc)*
-
-## Custom Builds
-Animate.css is powered by [gulp.js](http://gulpjs.com/), and you can create custom builds pretty easily. First of all, you’ll need Gulp and all other dependencies:
-
-```sh
-$ cd path/to/animate.css/
-$ sudo npm install
-```
-
-Next, run `gulp` to compile your custom builds. For example, if you want only some of the “attention seekers”, simply edit the `animate-config.json` file to select only the animations you want to use.
-
-```javascript
-"attention_seekers": {
- "bounce": true,
- "flash": false,
- "pulse": false,
- "shake": true,
- "headShake": true,
- "swing": true,
- "tada": true,
- "wobble": true,
- "jello":true
-}
-```
-
-## License
-Animate.css is licensed under the MIT license. (http://opensource.org/licenses/MIT)
-
-## Contributing
-Pull requests are the way to go here. I apologise in advance for the slow action on pull requests and issues. I only have two rules for submitting a pull request: match the naming convention (camelCase, categorised [fades, bounces, etc]) and let us see a demo of submitted animations in a [pen](http://codepen.io). That last one is important.
diff --git a/vendor/animate.css/animate-config.json b/vendor/animate.css/animate-config.json
deleted file mode 100755
index e949b0da0..000000000
--- a/vendor/animate.css/animate-config.json
+++ /dev/null
@@ -1,121 +0,0 @@
-{
-
- "attention_seekers": [
- "bounce",
- "flash",
- "pulse",
- "rubberBand",
- "shake",
- "headShake",
- "swing",
- "tada",
- "wobble",
- "jello"
- ],
-
- "bouncing_entrances": [
- "bounceIn",
- "bounceInDown",
- "bounceInLeft",
- "bounceInRight",
- "bounceInUp"
- ],
-
- "bouncing_exits": [
- "bounceOut",
- "bounceOutDown",
- "bounceOutLeft",
- "bounceOutRight",
- "bounceOutUp"
- ],
-
- "fading_entrances": [
- "fadeIn",
- "fadeInDown",
- "fadeInDownBig",
- "fadeInLeft",
- "fadeInLeftBig",
- "fadeInRight",
- "fadeInRightBig",
- "fadeInUp",
- "fadeInUpBig"
- ],
-
- "fading_exits": [
- "fadeOut",
- "fadeOutDown",
- "fadeOutDownBig",
- "fadeOutLeft",
- "fadeOutLeftBig",
- "fadeOutRight",
- "fadeOutRightBig",
- "fadeOutUp",
- "fadeOutUpBig"
- ],
-
- "flippers": [
- "flip",
- "flipInX",
- "flipInY",
- "flipOutX",
- "flipOutY"
- ],
-
- "lightspeed": [
- "lightSpeedIn",
- "lightSpeedOut"
- ],
-
- "rotating_entrances": [
- "rotateIn",
- "rotateInDownLeft",
- "rotateInDownRight",
- "rotateInUpLeft",
- "rotateInUpRight"
- ],
-
- "rotating_exits": [
- "rotateOut",
- "rotateOutDownLeft",
- "rotateOutDownRight",
- "rotateOutUpLeft",
- "rotateOutUpRight"
- ],
-
- "specials": [
- "hinge",
- "jackInTheBox",
- "rollIn",
- "rollOut"
- ],
-
- "zooming_entrances": [
- "zoomIn",
- "zoomInDown",
- "zoomInLeft",
- "zoomInRight",
- "zoomInUp"
- ],
-
- "zooming_exits": [
- "zoomOut",
- "zoomOutDown",
- "zoomOutLeft",
- "zoomOutRight",
- "zoomOutUp"
- ],
-
- "sliding_entrances": [
- "slideInDown",
- "slideInLeft",
- "slideInRight",
- "slideInUp"
- ],
-
- "sliding_exits": [
- "slideOutDown",
- "slideOutLeft",
- "slideOutRight",
- "slideOutUp"
- ]
-}
diff --git a/vendor/animate.css/animate.css b/vendor/animate.css/animate.css
deleted file mode 100755
index 1e79e03ad..000000000
--- a/vendor/animate.css/animate.css
+++ /dev/null
@@ -1,1579 +0,0 @@
-@charset "UTF-8";
-
-/*!
- * animate.css -http://daneden.me/animate
- * Version - 3.5.2
- * Licensed under the MIT license - http://opensource.org/licenses/MIT
- *
- * Copyright (c) 2017 Daniel Eden
- */
-
-.animated {
- animation-duration: 1s;
- animation-fill-mode: both;
-}
-
-.animated.infinite {
- animation-iteration-count: infinite;
-}
-
-.animated.hinge {
- animation-duration: 2s;
-}
-
-.animated.flipOutX,
-.animated.flipOutY,
-.animated.bounceIn,
-.animated.bounceOut {
- animation-duration: .75s;
-}
-
-@keyframes bounce {
- from, 20%, 53%, 80%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- transform: translate3d(0,0,0);
- }
-
- 40%, 43% {
- animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
- transform: translate3d(0, -30px, 0);
- }
-
- 70% {
- animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
- transform: translate3d(0, -15px, 0);
- }
-
- 90% {
- transform: translate3d(0,-4px,0);
- }
-}
-
-.bounce {
- animation-name: bounce;
- transform-origin: center bottom;
-}
-
-@keyframes flash {
- from, 50%, to {
- opacity: 1;
- }
-
- 25%, 75% {
- opacity: 0;
- }
-}
-
-.flash {
- animation-name: flash;
-}
-
-/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
-
-@keyframes pulse {
- from {
- transform: scale3d(1, 1, 1);
- }
-
- 50% {
- transform: scale3d(1.05, 1.05, 1.05);
- }
-
- to {
- transform: scale3d(1, 1, 1);
- }
-}
-
-.pulse {
- animation-name: pulse;
-}
-
-@keyframes rubberBand {
- from {
- transform: scale3d(1, 1, 1);
- }
-
- 30% {
- transform: scale3d(1.25, 0.75, 1);
- }
-
- 40% {
- transform: scale3d(0.75, 1.25, 1);
- }
-
- 50% {
- transform: scale3d(1.15, 0.85, 1);
- }
-
- 65% {
- transform: scale3d(.95, 1.05, 1);
- }
-
- 75% {
- transform: scale3d(1.05, .95, 1);
- }
-
- to {
- transform: scale3d(1, 1, 1);
- }
-}
-
-.rubberBand {
- animation-name: rubberBand;
-}
-
-@keyframes shake {
- from, to {
- transform: translate3d(0, 0, 0);
- }
-
- 10%, 30%, 50%, 70%, 90% {
- transform: translate3d(-10px, 0, 0);
- }
-
- 20%, 40%, 60%, 80% {
- transform: translate3d(10px, 0, 0);
- }
-}
-
-.shake {
- animation-name: shake;
-}
-
-@keyframes headShake {
- 0% {
- transform: translateX(0);
- }
-
- 6.5% {
- transform: translateX(-6px) rotateY(-9deg);
- }
-
- 18.5% {
- transform: translateX(5px) rotateY(7deg);
- }
-
- 31.5% {
- transform: translateX(-3px) rotateY(-5deg);
- }
-
- 43.5% {
- transform: translateX(2px) rotateY(3deg);
- }
-
- 50% {
- transform: translateX(0);
- }
-}
-
-.headShake {
- animation-timing-function: ease-in-out;
- animation-name: headShake;
-}
-
-@keyframes swing {
- 20% {
- transform: rotate3d(0, 0, 1, 15deg);
- }
-
- 40% {
- transform: rotate3d(0, 0, 1, -10deg);
- }
-
- 60% {
- transform: rotate3d(0, 0, 1, 5deg);
- }
-
- 80% {
- transform: rotate3d(0, 0, 1, -5deg);
- }
-
- to {
- transform: rotate3d(0, 0, 1, 0deg);
- }
-}
-
-.swing {
- transform-origin: top center;
- animation-name: swing;
-}
-
-@keyframes tada {
- from {
- transform: scale3d(1, 1, 1);
- }
-
- 10%, 20% {
- transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
- }
-
- 30%, 50%, 70%, 90% {
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
- }
-
- 40%, 60%, 80% {
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
- }
-
- to {
- transform: scale3d(1, 1, 1);
- }
-}
-
-.tada {
- animation-name: tada;
-}
-
-/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
-
-@keyframes wobble {
- from {
- transform: none;
- }
-
- 15% {
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
- }
-
- 30% {
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
- }
-
- 45% {
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
- }
-
- 60% {
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
- }
-
- 75% {
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
- }
-
- to {
- transform: none;
- }
-}
-
-.wobble {
- animation-name: wobble;
-}
-
-@keyframes jello {
- from, 11.1%, to {
- transform: none;
- }
-
- 22.2% {
- transform: skewX(-12.5deg) skewY(-12.5deg);
- }
-
- 33.3% {
- transform: skewX(6.25deg) skewY(6.25deg);
- }
-
- 44.4% {
- transform: skewX(-3.125deg) skewY(-3.125deg);
- }
-
- 55.5% {
- transform: skewX(1.5625deg) skewY(1.5625deg);
- }
-
- 66.6% {
- transform: skewX(-0.78125deg) skewY(-0.78125deg);
- }
-
- 77.7% {
- transform: skewX(0.390625deg) skewY(0.390625deg);
- }
-
- 88.8% {
- transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
- }
-}
-
-.jello {
- animation-name: jello;
- transform-origin: center;
-}
-
-@keyframes bounceIn {
- from, 20%, 40%, 60%, 80%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- 0% {
- opacity: 0;
- transform: scale3d(.3, .3, .3);
- }
-
- 20% {
- transform: scale3d(1.1, 1.1, 1.1);
- }
-
- 40% {
- transform: scale3d(.9, .9, .9);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(1.03, 1.03, 1.03);
- }
-
- 80% {
- transform: scale3d(.97, .97, .97);
- }
-
- to {
- opacity: 1;
- transform: scale3d(1, 1, 1);
- }
-}
-
-.bounceIn {
- animation-name: bounceIn;
-}
-
-@keyframes bounceInDown {
- from, 60%, 75%, 90%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- 0% {
- opacity: 0;
- transform: translate3d(0, -3000px, 0);
- }
-
- 60% {
- opacity: 1;
- transform: translate3d(0, 25px, 0);
- }
-
- 75% {
- transform: translate3d(0, -10px, 0);
- }
-
- 90% {
- transform: translate3d(0, 5px, 0);
- }
-
- to {
- transform: none;
- }
-}
-
-.bounceInDown {
- animation-name: bounceInDown;
-}
-
-@keyframes bounceInLeft {
- from, 60%, 75%, 90%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- 0% {
- opacity: 0;
- transform: translate3d(-3000px, 0, 0);
- }
-
- 60% {
- opacity: 1;
- transform: translate3d(25px, 0, 0);
- }
-
- 75% {
- transform: translate3d(-10px, 0, 0);
- }
-
- 90% {
- transform: translate3d(5px, 0, 0);
- }
-
- to {
- transform: none;
- }
-}
-
-.bounceInLeft {
- animation-name: bounceInLeft;
-}
-
-@keyframes bounceInRight {
- from, 60%, 75%, 90%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- from {
- opacity: 0;
- transform: translate3d(3000px, 0, 0);
- }
-
- 60% {
- opacity: 1;
- transform: translate3d(-25px, 0, 0);
- }
-
- 75% {
- transform: translate3d(10px, 0, 0);
- }
-
- 90% {
- transform: translate3d(-5px, 0, 0);
- }
-
- to {
- transform: none;
- }
-}
-
-.bounceInRight {
- animation-name: bounceInRight;
-}
-
-@keyframes bounceInUp {
- from, 60%, 75%, 90%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- from {
- opacity: 0;
- transform: translate3d(0, 3000px, 0);
- }
-
- 60% {
- opacity: 1;
- transform: translate3d(0, -20px, 0);
- }
-
- 75% {
- transform: translate3d(0, 10px, 0);
- }
-
- 90% {
- transform: translate3d(0, -5px, 0);
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.bounceInUp {
- animation-name: bounceInUp;
-}
-
-@keyframes bounceOut {
- 20% {
- transform: scale3d(.9, .9, .9);
- }
-
- 50%, 55% {
- opacity: 1;
- transform: scale3d(1.1, 1.1, 1.1);
- }
-
- to {
- opacity: 0;
- transform: scale3d(.3, .3, .3);
- }
-}
-
-.bounceOut {
- animation-name: bounceOut;
-}
-
-@keyframes bounceOutDown {
- 20% {
- transform: translate3d(0, 10px, 0);
- }
-
- 40%, 45% {
- opacity: 1;
- transform: translate3d(0, -20px, 0);
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, 2000px, 0);
- }
-}
-
-.bounceOutDown {
- animation-name: bounceOutDown;
-}
-
-@keyframes bounceOutLeft {
- 20% {
- opacity: 1;
- transform: translate3d(20px, 0, 0);
- }
-
- to {
- opacity: 0;
- transform: translate3d(-2000px, 0, 0);
- }
-}
-
-.bounceOutLeft {
- animation-name: bounceOutLeft;
-}
-
-@keyframes bounceOutRight {
- 20% {
- opacity: 1;
- transform: translate3d(-20px, 0, 0);
- }
-
- to {
- opacity: 0;
- transform: translate3d(2000px, 0, 0);
- }
-}
-
-.bounceOutRight {
- animation-name: bounceOutRight;
-}
-
-@keyframes bounceOutUp {
- 20% {
- transform: translate3d(0, -10px, 0);
- }
-
- 40%, 45% {
- opacity: 1;
- transform: translate3d(0, 20px, 0);
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, -2000px, 0);
- }
-}
-
-.bounceOutUp {
- animation-name: bounceOutUp;
-}
-
-@keyframes fadeIn {
- from {
- opacity: 0;
- }
-
- to {
- opacity: 1;
- }
-}
-
-.fadeIn {
- animation-name: fadeIn;
-}
-
-@keyframes fadeInDown {
- from {
- opacity: 0;
- transform: translate3d(0, -100%, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInDown {
- animation-name: fadeInDown;
-}
-
-@keyframes fadeInDownBig {
- from {
- opacity: 0;
- transform: translate3d(0, -2000px, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInDownBig {
- animation-name: fadeInDownBig;
-}
-
-@keyframes fadeInLeft {
- from {
- opacity: 0;
- transform: translate3d(-100%, 0, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInLeft {
- animation-name: fadeInLeft;
-}
-
-@keyframes fadeInLeftBig {
- from {
- opacity: 0;
- transform: translate3d(-2000px, 0, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInLeftBig {
- animation-name: fadeInLeftBig;
-}
-
-@keyframes fadeInRight {
- from {
- opacity: 0;
- transform: translate3d(100%, 0, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInRight {
- animation-name: fadeInRight;
-}
-
-@keyframes fadeInRightBig {
- from {
- opacity: 0;
- transform: translate3d(2000px, 0, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInRightBig {
- animation-name: fadeInRightBig;
-}
-
-@keyframes fadeInUp {
- from {
- opacity: 0;
- transform: translate3d(0, 100%, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInUp {
- animation-name: fadeInUp;
-}
-
-@keyframes fadeInUpBig {
- from {
- opacity: 0;
- transform: translate3d(0, 2000px, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInUpBig {
- animation-name: fadeInUpBig;
-}
-
-@keyframes fadeOut {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- }
-}
-
-.fadeOut {
- animation-name: fadeOut;
-}
-
-@keyframes fadeOutDown {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, 100%, 0);
- }
-}
-
-.fadeOutDown {
- animation-name: fadeOutDown;
-}
-
-@keyframes fadeOutDownBig {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, 2000px, 0);
- }
-}
-
-.fadeOutDownBig {
- animation-name: fadeOutDownBig;
-}
-
-@keyframes fadeOutLeft {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(-100%, 0, 0);
- }
-}
-
-.fadeOutLeft {
- animation-name: fadeOutLeft;
-}
-
-@keyframes fadeOutLeftBig {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(-2000px, 0, 0);
- }
-}
-
-.fadeOutLeftBig {
- animation-name: fadeOutLeftBig;
-}
-
-@keyframes fadeOutRight {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(100%, 0, 0);
- }
-}
-
-.fadeOutRight {
- animation-name: fadeOutRight;
-}
-
-@keyframes fadeOutRightBig {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(2000px, 0, 0);
- }
-}
-
-.fadeOutRightBig {
- animation-name: fadeOutRightBig;
-}
-
-@keyframes fadeOutUp {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, -100%, 0);
- }
-}
-
-.fadeOutUp {
- animation-name: fadeOutUp;
-}
-
-@keyframes fadeOutUpBig {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, -2000px, 0);
- }
-}
-
-.fadeOutUpBig {
- animation-name: fadeOutUpBig;
-}
-
-@keyframes flip {
- from {
- transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
- animation-timing-function: ease-out;
- }
-
- 40% {
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
- animation-timing-function: ease-out;
- }
-
- 50% {
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
- animation-timing-function: ease-in;
- }
-
- 80% {
- transform: perspective(400px) scale3d(.95, .95, .95);
- animation-timing-function: ease-in;
- }
-
- to {
- transform: perspective(400px);
- animation-timing-function: ease-in;
- }
-}
-
-.animated.flip {
- -webkit-backface-visibility: visible;
- backface-visibility: visible;
- animation-name: flip;
-}
-
-@keyframes flipInX {
- from {
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
- animation-timing-function: ease-in;
- opacity: 0;
- }
-
- 40% {
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
- animation-timing-function: ease-in;
- }
-
- 60% {
- transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
- opacity: 1;
- }
-
- 80% {
- transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
- }
-
- to {
- transform: perspective(400px);
- }
-}
-
-.flipInX {
- -webkit-backface-visibility: visible !important;
- backface-visibility: visible !important;
- animation-name: flipInX;
-}
-
-@keyframes flipInY {
- from {
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
- animation-timing-function: ease-in;
- opacity: 0;
- }
-
- 40% {
- transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
- animation-timing-function: ease-in;
- }
-
- 60% {
- transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
- opacity: 1;
- }
-
- 80% {
- transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
- }
-
- to {
- transform: perspective(400px);
- }
-}
-
-.flipInY {
- -webkit-backface-visibility: visible !important;
- backface-visibility: visible !important;
- animation-name: flipInY;
-}
-
-@keyframes flipOutX {
- from {
- transform: perspective(400px);
- }
-
- 30% {
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
- opacity: 1;
- }
-
- to {
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
- opacity: 0;
- }
-}
-
-.flipOutX {
- animation-name: flipOutX;
- -webkit-backface-visibility: visible !important;
- backface-visibility: visible !important;
-}
-
-@keyframes flipOutY {
- from {
- transform: perspective(400px);
- }
-
- 30% {
- transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
- opacity: 1;
- }
-
- to {
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
- opacity: 0;
- }
-}
-
-.flipOutY {
- -webkit-backface-visibility: visible !important;
- backface-visibility: visible !important;
- animation-name: flipOutY;
-}
-
-@keyframes lightSpeedIn {
- from {
- transform: translate3d(100%, 0, 0) skewX(-30deg);
- opacity: 0;
- }
-
- 60% {
- transform: skewX(20deg);
- opacity: 1;
- }
-
- 80% {
- transform: skewX(-5deg);
- opacity: 1;
- }
-
- to {
- transform: none;
- opacity: 1;
- }
-}
-
-.lightSpeedIn {
- animation-name: lightSpeedIn;
- animation-timing-function: ease-out;
-}
-
-@keyframes lightSpeedOut {
- from {
- opacity: 1;
- }
-
- to {
- transform: translate3d(100%, 0, 0) skewX(30deg);
- opacity: 0;
- }
-}
-
-.lightSpeedOut {
- animation-name: lightSpeedOut;
- animation-timing-function: ease-in;
-}
-
-@keyframes rotateIn {
- from {
- transform-origin: center;
- transform: rotate3d(0, 0, 1, -200deg);
- opacity: 0;
- }
-
- to {
- transform-origin: center;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateIn {
- animation-name: rotateIn;
-}
-
-@keyframes rotateInDownLeft {
- from {
- transform-origin: left bottom;
- transform: rotate3d(0, 0, 1, -45deg);
- opacity: 0;
- }
-
- to {
- transform-origin: left bottom;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateInDownLeft {
- animation-name: rotateInDownLeft;
-}
-
-@keyframes rotateInDownRight {
- from {
- transform-origin: right bottom;
- transform: rotate3d(0, 0, 1, 45deg);
- opacity: 0;
- }
-
- to {
- transform-origin: right bottom;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateInDownRight {
- animation-name: rotateInDownRight;
-}
-
-@keyframes rotateInUpLeft {
- from {
- transform-origin: left bottom;
- transform: rotate3d(0, 0, 1, 45deg);
- opacity: 0;
- }
-
- to {
- transform-origin: left bottom;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateInUpLeft {
- animation-name: rotateInUpLeft;
-}
-
-@keyframes rotateInUpRight {
- from {
- transform-origin: right bottom;
- transform: rotate3d(0, 0, 1, -90deg);
- opacity: 0;
- }
-
- to {
- transform-origin: right bottom;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateInUpRight {
- animation-name: rotateInUpRight;
-}
-
-@keyframes rotateOut {
- from {
- transform-origin: center;
- opacity: 1;
- }
-
- to {
- transform-origin: center;
- transform: rotate3d(0, 0, 1, 200deg);
- opacity: 0;
- }
-}
-
-.rotateOut {
- animation-name: rotateOut;
-}
-
-@keyframes rotateOutDownLeft {
- from {
- transform-origin: left bottom;
- opacity: 1;
- }
-
- to {
- transform-origin: left bottom;
- transform: rotate3d(0, 0, 1, 45deg);
- opacity: 0;
- }
-}
-
-.rotateOutDownLeft {
- animation-name: rotateOutDownLeft;
-}
-
-@keyframes rotateOutDownRight {
- from {
- transform-origin: right bottom;
- opacity: 1;
- }
-
- to {
- transform-origin: right bottom;
- transform: rotate3d(0, 0, 1, -45deg);
- opacity: 0;
- }
-}
-
-.rotateOutDownRight {
- animation-name: rotateOutDownRight;
-}
-
-@keyframes rotateOutUpLeft {
- from {
- transform-origin: left bottom;
- opacity: 1;
- }
-
- to {
- transform-origin: left bottom;
- transform: rotate3d(0, 0, 1, -45deg);
- opacity: 0;
- }
-}
-
-.rotateOutUpLeft {
- animation-name: rotateOutUpLeft;
-}
-
-@keyframes rotateOutUpRight {
- from {
- transform-origin: right bottom;
- opacity: 1;
- }
-
- to {
- transform-origin: right bottom;
- transform: rotate3d(0, 0, 1, 90deg);
- opacity: 0;
- }
-}
-
-.rotateOutUpRight {
- animation-name: rotateOutUpRight;
-}
-
-@keyframes hinge {
- 0% {
- transform-origin: top left;
- animation-timing-function: ease-in-out;
- }
-
- 20%, 60% {
- transform: rotate3d(0, 0, 1, 80deg);
- transform-origin: top left;
- animation-timing-function: ease-in-out;
- }
-
- 40%, 80% {
- transform: rotate3d(0, 0, 1, 60deg);
- transform-origin: top left;
- animation-timing-function: ease-in-out;
- opacity: 1;
- }
-
- to {
- transform: translate3d(0, 700px, 0);
- opacity: 0;
- }
-}
-
-.hinge {
- animation-name: hinge;
-}
-
-@keyframes jackInTheBox {
- from {
- opacity: 0;
- transform: scale(0.1) rotate(30deg);
- transform-origin: center bottom;
- }
-
- 50% {
- transform: rotate(-10deg);
- }
-
- 70% {
- transform: rotate(3deg);
- }
-
- to {
- opacity: 1;
- transform: scale(1);
- }
-}
-
-.jackInTheBox {
- animation-name: jackInTheBox;
-}
-
-/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
-
-@keyframes rollIn {
- from {
- opacity: 0;
- transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.rollIn {
- animation-name: rollIn;
-}
-
-/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
-
-@keyframes rollOut {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
- }
-}
-
-.rollOut {
- animation-name: rollOut;
-}
-
-@keyframes zoomIn {
- from {
- opacity: 0;
- transform: scale3d(.3, .3, .3);
- }
-
- 50% {
- opacity: 1;
- }
-}
-
-.zoomIn {
- animation-name: zoomIn;
-}
-
-@keyframes zoomInDown {
- from {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomInDown {
- animation-name: zoomInDown;
-}
-
-@keyframes zoomInLeft {
- from {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomInLeft {
- animation-name: zoomInLeft;
-}
-
-@keyframes zoomInRight {
- from {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomInRight {
- animation-name: zoomInRight;
-}
-
-@keyframes zoomInUp {
- from {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomInUp {
- animation-name: zoomInUp;
-}
-
-@keyframes zoomOut {
- from {
- opacity: 1;
- }
-
- 50% {
- opacity: 0;
- transform: scale3d(.3, .3, .3);
- }
-
- to {
- opacity: 0;
- }
-}
-
-.zoomOut {
- animation-name: zoomOut;
-}
-
-@keyframes zoomOutDown {
- 40% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- to {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
- transform-origin: center bottom;
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomOutDown {
- animation-name: zoomOutDown;
-}
-
-@keyframes zoomOutLeft {
- 40% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
- }
-
- to {
- opacity: 0;
- transform: scale(.1) translate3d(-2000px, 0, 0);
- transform-origin: left center;
- }
-}
-
-.zoomOutLeft {
- animation-name: zoomOutLeft;
-}
-
-@keyframes zoomOutRight {
- 40% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
- }
-
- to {
- opacity: 0;
- transform: scale(.1) translate3d(2000px, 0, 0);
- transform-origin: right center;
- }
-}
-
-.zoomOutRight {
- animation-name: zoomOutRight;
-}
-
-@keyframes zoomOutUp {
- 40% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- to {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
- transform-origin: center bottom;
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomOutUp {
- animation-name: zoomOutUp;
-}
-
-@keyframes slideInDown {
- from {
- transform: translate3d(0, -100%, 0);
- visibility: visible;
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.slideInDown {
- animation-name: slideInDown;
-}
-
-@keyframes slideInLeft {
- from {
- transform: translate3d(-100%, 0, 0);
- visibility: visible;
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.slideInLeft {
- animation-name: slideInLeft;
-}
-
-@keyframes slideInRight {
- from {
- transform: translate3d(100%, 0, 0);
- visibility: visible;
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.slideInRight {
- animation-name: slideInRight;
-}
-
-@keyframes slideInUp {
- from {
- transform: translate3d(0, 100%, 0);
- visibility: visible;
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.slideInUp {
- animation-name: slideInUp;
-}
-
-@keyframes slideOutDown {
- from {
- transform: translate3d(0, 0, 0);
- }
-
- to {
- visibility: hidden;
- transform: translate3d(0, 100%, 0);
- }
-}
-
-.slideOutDown {
- animation-name: slideOutDown;
-}
-
-@keyframes slideOutLeft {
- from {
- transform: translate3d(0, 0, 0);
- }
-
- to {
- visibility: hidden;
- transform: translate3d(-100%, 0, 0);
- }
-}
-
-.slideOutLeft {
- animation-name: slideOutLeft;
-}
-
-@keyframes slideOutRight {
- from {
- transform: translate3d(0, 0, 0);
- }
-
- to {
- visibility: hidden;
- transform: translate3d(100%, 0, 0);
- }
-}
-
-.slideOutRight {
- animation-name: slideOutRight;
-}
-
-@keyframes slideOutUp {
- from {
- transform: translate3d(0, 0, 0);
- }
-
- to {
- visibility: hidden;
- transform: translate3d(0, -100%, 0);
- }
-}
-
-.slideOutUp {
- animation-name: slideOutUp;
-}
diff --git a/vendor/animate.css/animate.min.css b/vendor/animate.css/animate.min.css
deleted file mode 100755
index e7dd65500..000000000
--- a/vendor/animate.css/animate.min.css
+++ /dev/null
@@ -1,11 +0,0 @@
-@charset "UTF-8";
-
-/*!
- * animate.css -http://daneden.me/animate
- * Version - 3.5.2
- * Licensed under the MIT license - http://opensource.org/licenses/MIT
- *
- * Copyright (c) 2017 Daniel Eden
- */
-
-.animated{animation-duration:1s;animation-fill-mode:both}.animated.infinite{animation-iteration-count:infinite}.animated.hinge{animation-duration:2s}.animated.bounceIn,.animated.bounceOut,.animated.flipOutX,.animated.flipOutY{animation-duration:.75s}@keyframes bounce{0%,20%,53%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translateZ(0)}40%,43%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(.755,.05,.855,.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}.bounce{animation-name:bounce;transform-origin:center bottom}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.flash{animation-name:flash}@keyframes pulse{0%{transform:scaleX(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleX(1)}}.pulse{animation-name:pulse}@keyframes rubberBand{0%{transform:scaleX(1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scaleX(1)}}.rubberBand{animation-name:rubberBand}@keyframes shake{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}.shake{animation-name:shake}@keyframes headShake{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}.headShake{animation-timing-function:ease-in-out;animation-name:headShake}@keyframes swing{20%{transform:rotate(15deg)}40%{transform:rotate(-10deg)}60%{transform:rotate(5deg)}80%{transform:rotate(-5deg)}to{transform:rotate(0deg)}}.swing{transform-origin:top center;animation-name:swing}@keyframes tada{0%{transform:scaleX(1)}10%,20%{transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{transform:scaleX(1)}}.tada{animation-name:tada}@keyframes wobble{0%{transform:none}15%{transform:translate3d(-25%,0,0) rotate(-5deg)}30%{transform:translate3d(20%,0,0) rotate(3deg)}45%{transform:translate3d(-15%,0,0) rotate(-3deg)}60%{transform:translate3d(10%,0,0) rotate(2deg)}75%{transform:translate3d(-5%,0,0) rotate(-1deg)}to{transform:none}}.wobble{animation-name:wobble}@keyframes jello{0%,11.1%,to{transform:none}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg) skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-.78125deg) skewY(-.78125deg)}77.7%{transform:skewX(.390625deg) skewY(.390625deg)}88.8%{transform:skewX(-.1953125deg) skewY(-.1953125deg)}}.jello{animation-name:jello;transform-origin:center}@keyframes bounceIn{0%,20%,40%,60%,80%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:scale3d(.3,.3,.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(.9,.9,.9)}60%{opacity:1;transform:scale3d(1.03,1.03,1.03)}80%{transform:scale3d(.97,.97,.97)}to{opacity:1;transform:scaleX(1)}}.bounceIn{animation-name:bounceIn}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}.bounceInDown{animation-name:bounceInDown}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}.bounceInLeft{animation-name:bounceInLeft}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}.bounceInRight{animation-name:bounceInRight}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}.bounceInUp{animation-name:bounceInUp}@keyframes bounceOut{20%{transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(.3,.3,.3)}}.bounceOut{animation-name:bounceOut}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.bounceOutDown{animation-name:bounceOutDown}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}.bounceOutLeft{animation-name:bounceOutLeft}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}.bounceOutRight{animation-name:bounceOutRight}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}.bounceOutUp{animation-name:bounceOutUp}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fadeIn{animation-name:fadeIn}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}.fadeInDown{animation-name:fadeInDown}@keyframes fadeInDownBig{0%{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:none}}.fadeInDownBig{animation-name:fadeInDownBig}@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:none}}.fadeInLeft{animation-name:fadeInLeft}@keyframes fadeInLeftBig{0%{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:none}}.fadeInLeftBig{animation-name:fadeInLeftBig}@keyframes fadeInRight{0%{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:none}}.fadeInRight{animation-name:fadeInRight}@keyframes fadeInRightBig{0%{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:none}}.fadeInRightBig{animation-name:fadeInRightBig}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}.fadeInUp{animation-name:fadeInUp}@keyframes fadeInUpBig{0%{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:none}}.fadeInUpBig{animation-name:fadeInUpBig}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.fadeOut{animation-name:fadeOut}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}.fadeOutDown{animation-name:fadeOutDown}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}.fadeOutDownBig{animation-name:fadeOutDownBig}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}.fadeOutLeft{animation-name:fadeOutLeft}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{animation-name:fadeOutLeftBig}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}.fadeOutRight{animation-name:fadeOutRight}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}.fadeOutRightBig{animation-name:fadeOutRightBig}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}.fadeOutUp{animation-name:fadeOutUp}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{animation-name:fadeOutUpBig}@keyframes flip{0%{transform:perspective(400px) rotateY(-1turn);animation-timing-function:ease-out}40%{transform:perspective(400px) translateZ(150px) rotateY(-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) translateZ(150px) rotateY(-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(.95,.95,.95);animation-timing-function:ease-in}to{transform:perspective(400px);animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;animation-name:flip}@keyframes flipInX{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;animation-name:flipInX}@keyframes flipInY{0%{transform:perspective(400px) rotateY(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateY(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateY(10deg);opacity:1}80%{transform:perspective(400px) rotateY(-5deg)}to{transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;animation-name:flipInY}@keyframes flipOutX{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@keyframes flipOutY{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateY(-15deg);opacity:1}to{transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;animation-name:flipOutY}@keyframes lightSpeedIn{0%{transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{transform:skewX(20deg);opacity:1}80%{transform:skewX(-5deg);opacity:1}to{transform:none;opacity:1}}.lightSpeedIn{animation-name:lightSpeedIn;animation-timing-function:ease-out}@keyframes lightSpeedOut{0%{opacity:1}to{transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}.lightSpeedOut{animation-name:lightSpeedOut;animation-timing-function:ease-in}@keyframes rotateIn{0%{transform-origin:center;transform:rotate(-200deg);opacity:0}to{transform-origin:center;transform:none;opacity:1}}.rotateIn{animation-name:rotateIn}@keyframes rotateInDownLeft{0%{transform-origin:left bottom;transform:rotate(-45deg);opacity:0}to{transform-origin:left bottom;transform:none;opacity:1}}.rotateInDownLeft{animation-name:rotateInDownLeft}@keyframes rotateInDownRight{0%{transform-origin:right bottom;transform:rotate(45deg);opacity:0}to{transform-origin:right bottom;transform:none;opacity:1}}.rotateInDownRight{animation-name:rotateInDownRight}@keyframes rotateInUpLeft{0%{transform-origin:left bottom;transform:rotate(45deg);opacity:0}to{transform-origin:left bottom;transform:none;opacity:1}}.rotateInUpLeft{animation-name:rotateInUpLeft}@keyframes rotateInUpRight{0%{transform-origin:right bottom;transform:rotate(-90deg);opacity:0}to{transform-origin:right bottom;transform:none;opacity:1}}.rotateInUpRight{animation-name:rotateInUpRight}@keyframes rotateOut{0%{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate(200deg);opacity:0}}.rotateOut{animation-name:rotateOut}@keyframes rotateOutDownLeft{0%{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate(45deg);opacity:0}}.rotateOutDownLeft{animation-name:rotateOutDownLeft}@keyframes rotateOutDownRight{0%{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate(-45deg);opacity:0}}.rotateOutDownRight{animation-name:rotateOutDownRight}@keyframes rotateOutUpLeft{0%{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate(-45deg);opacity:0}}.rotateOutUpLeft{animation-name:rotateOutUpLeft}@keyframes rotateOutUpRight{0%{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate(90deg);opacity:0}}.rotateOutUpRight{animation-name:rotateOutUpRight}@keyframes hinge{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate(80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate(60deg);transform-origin:top left;animation-timing-function:ease-in-out;opacity:1}to{transform:translate3d(0,700px,0);opacity:0}}.hinge{animation-name:hinge}@keyframes jackInTheBox{0%{opacity:0;transform:scale(.1) rotate(30deg);transform-origin:center bottom}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{opacity:1;transform:scale(1)}}.jackInTheBox{animation-name:jackInTheBox}@keyframes rollIn{0%{opacity:0;transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;transform:none}}.rollIn{animation-name:rollIn}@keyframes rollOut{0%{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{animation-name:rollOut}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{animation-name:zoomIn}@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInDown{animation-name:zoomInDown}@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInLeft{animation-name:zoomInLeft}@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInRight{animation-name:zoomInRight}@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomInUp{animation-name:zoomInUp}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoomOut{animation-name:zoomOut}@keyframes zoomOutDown{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutDown{animation-name:zoomOutDown}@keyframes zoomOutLeft{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(-2000px,0,0);transform-origin:left center}}.zoomOutLeft{animation-name:zoomOutLeft}@keyframes zoomOutRight{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(.1) translate3d(2000px,0,0);transform-origin:right center}}.zoomOutRight{animation-name:zoomOutRight}@keyframes zoomOutUp{40%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.zoomOutUp{animation-name:zoomOutUp}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}.slideInDown{animation-name:slideInDown}@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}.slideInLeft{animation-name:slideInLeft}@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}.slideInRight{animation-name:slideInRight}@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}.slideInUp{animation-name:slideInUp}@keyframes slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}.slideOutDown{animation-name:slideOutDown}@keyframes slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}.slideOutLeft{animation-name:slideOutLeft}@keyframes slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}.slideOutRight{animation-name:slideOutRight}@keyframes slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}.slideOutUp{animation-name:slideOutUp}
\ No newline at end of file
diff --git a/vendor/animate.css/bower.json b/vendor/animate.css/bower.json
deleted file mode 100755
index 168b6b8bf..000000000
--- a/vendor/animate.css/bower.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "name": "animate.css",
- "main": "./animate.css",
- "ignore": [
- ".*",
- "*.yml",
- "Gemfile",
- "Gemfile.lock",
- "*.md"
- ]
-}
diff --git a/vendor/animate.css/gulpfile.js b/vendor/animate.css/gulpfile.js
deleted file mode 100755
index 784cda6a2..000000000
--- a/vendor/animate.css/gulpfile.js
+++ /dev/null
@@ -1,104 +0,0 @@
-// Utilities
-var autoprefixer = require('autoprefixer');
-var cssnano = require('cssnano');
-var fs = require('fs');
-
-// Gulp
-var gulp = require('gulp');
-
-// Gulp plugins
-var concat = require('gulp-concat');
-var gutil = require('gulp-util');
-var header = require('gulp-header');
-var postcss = require('gulp-postcss');
-var rename = require('gulp-rename');
-var runSequence = require('run-sequence');
-
-// Misc/global vars
-var pkg = JSON.parse(fs.readFileSync('package.json'));
-var activatedAnimations = activateAnimations();
-
-// Task options
-var opts = {
- destPath: './',
- concatName: 'animate.css',
-
- autoprefixer: {
- browsers: ['last 2 versions'],
- cascade: false
- },
-
- minRename: {
- suffix: '.min'
- },
-
- banner: [
- '@charset "UTF-8";\n',
- '/*!',
- ' * <%= name %> -<%= homepage %>',
- ' * Version - <%= version %>',
- ' * Licensed under the MIT license - http://opensource.org/licenses/MIT',
- ' *',
- ' * Copyright (c) <%= new Date().getFullYear() %> <%= author.name %>',
- ' */\n\n'
- ].join('\n')
-};
-
-// ----------------------------
-// Gulp task definitions
-// ----------------------------
-
-gulp.task('default', function() {
- runSequence('createCSS', 'addHeader');
-});
-
-gulp.task('createCSS', function() {
- return gulp.src(activatedAnimations)
- .pipe(concat(opts.concatName))
- .pipe(postcss([
- autoprefixer(opts.autoprefixer)
- ]))
- .pipe(gulp.dest(opts.destPath))
- .pipe(postcss([
- cssnano({reduceIdents: {keyframes: false}})
- ]))
- .pipe(rename(opts.minRename))
- .pipe(gulp.dest(opts.destPath));
-});
-
-gulp.task('addHeader', function() {
- return gulp.src('*.css')
- .pipe(header(opts.banner, pkg))
- .pipe(gulp.dest(opts.destPath));
-});
-
-// ----------------------------
-// Helpers/functions
-// ----------------------------
-
-// Read the config file and return an array of the animations to be activated
-function activateAnimations() {
- var categories = JSON.parse(fs.readFileSync('animate-config.json')),
- category, files, file,
- target = [ 'source/_base.css' ],
- count = 0;
-
- for (category in categories) {
- if (categories.hasOwnProperty(category)) {
- files = categories[category];
-
- for (var i = 0; i < files.length; ++i) {
- target.push('source/' + category + '/' + files[i] + '.css');
- count += 1;
- }
- }
- }
-
- if (!count) {
- gutil.log('No animations activated.');
- } else {
- gutil.log(count + (count > 1 ? ' animations' : ' animation') + ' activated.');
- }
-
- return target;
-}
diff --git a/vendor/animate.css/package.json b/vendor/animate.css/package.json
deleted file mode 100755
index dcb6f8f82..000000000
--- a/vendor/animate.css/package.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "name": "animate.css",
- "version": "3.5.2",
- "main": "animate.css",
- "repository": {
- "type": "git",
- "url": "https://github.com/daneden/animate.css.git"
- },
- "author": {
- "name": "Daniel Eden"
- },
- "homepage": "http://daneden.me/animate",
- "license": "MIT",
- "style": "./animate.css",
- "jspm": {
- "main": "animate.css!",
- "format": "global",
- "directories": {
- "lib": "./"
- }
- },
- "devDependencies": {
- "autoprefixer": "^6.3.2",
- "cssnano": "^3.5.1",
- "gulp": "^3.9.0",
- "gulp-concat": "^2.6.0",
- "gulp-header": "^1.7.1",
- "gulp-postcss": "^6.1.0",
- "gulp-rename": "^1.2.2",
- "gulp-util": "^3.0.7",
- "run-sequence": "^1.1.5"
- },
- "spm": {
- "main": "./animate.css"
- }
-}
diff --git a/vendor/animate.css/source/_base.css b/vendor/animate.css/source/_base.css
deleted file mode 100755
index 630dc797c..000000000
--- a/vendor/animate.css/source/_base.css
+++ /dev/null
@@ -1,19 +0,0 @@
-.animated {
- animation-duration: 1s;
- animation-fill-mode: both;
-}
-
-.animated.infinite {
- animation-iteration-count: infinite;
-}
-
-.animated.hinge {
- animation-duration: 2s;
-}
-
-.animated.flipOutX,
-.animated.flipOutY,
-.animated.bounceIn,
-.animated.bounceOut {
- animation-duration: .75s;
-}
diff --git a/vendor/animate.css/source/attention_seekers/bounce.css b/vendor/animate.css/source/attention_seekers/bounce.css
deleted file mode 100755
index 8f555f176..000000000
--- a/vendor/animate.css/source/attention_seekers/bounce.css
+++ /dev/null
@@ -1,25 +0,0 @@
-@keyframes bounce {
- from, 20%, 53%, 80%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- transform: translate3d(0,0,0);
- }
-
- 40%, 43% {
- animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
- transform: translate3d(0, -30px, 0);
- }
-
- 70% {
- animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
- transform: translate3d(0, -15px, 0);
- }
-
- 90% {
- transform: translate3d(0, -4px, 0);
- }
-}
-
-.bounce {
- animation-name: bounce;
- transform-origin: center bottom;
-}
diff --git a/vendor/animate.css/source/attention_seekers/flash.css b/vendor/animate.css/source/attention_seekers/flash.css
deleted file mode 100755
index 8ad72252d..000000000
--- a/vendor/animate.css/source/attention_seekers/flash.css
+++ /dev/null
@@ -1,13 +0,0 @@
-@keyframes flash {
- from, 50%, to {
- opacity: 1;
- }
-
- 25%, 75% {
- opacity: 0;
- }
-}
-
-.flash {
- animation-name: flash;
-}
diff --git a/vendor/animate.css/source/attention_seekers/headShake.css b/vendor/animate.css/source/attention_seekers/headShake.css
deleted file mode 100755
index 6298b27b8..000000000
--- a/vendor/animate.css/source/attention_seekers/headShake.css
+++ /dev/null
@@ -1,30 +0,0 @@
-@keyframes headShake {
- 0% {
- transform: translateX(0);
- }
-
- 6.5% {
- transform: translateX(-6px) rotateY(-9deg);
- }
-
- 18.5% {
- transform: translateX(5px) rotateY(7deg);
- }
-
- 31.5% {
- transform: translateX(-3px) rotateY(-5deg);
- }
-
- 43.5% {
- transform: translateX(2px) rotateY(3deg);
- }
-
- 50% {
- transform: translateX(0);
- }
-}
-
-.headShake {
- animation-timing-function: ease-in-out;
- animation-name: headShake;
-}
diff --git a/vendor/animate.css/source/attention_seekers/jello.css b/vendor/animate.css/source/attention_seekers/jello.css
deleted file mode 100755
index 4487249c8..000000000
--- a/vendor/animate.css/source/attention_seekers/jello.css
+++ /dev/null
@@ -1,38 +0,0 @@
-@keyframes jello {
- from, 11.1%, to {
- transform: none;
- }
-
- 22.2% {
- transform: skewX(-12.5deg) skewY(-12.5deg);
- }
-
- 33.3% {
- transform: skewX(6.25deg) skewY(6.25deg);
- }
-
- 44.4% {
- transform: skewX(-3.125deg) skewY(-3.125deg);
- }
-
- 55.5% {
- transform: skewX(1.5625deg) skewY(1.5625deg);
- }
-
- 66.6% {
- transform: skewX(-0.78125deg) skewY(-0.78125deg);
- }
-
- 77.7% {
- transform: skewX(0.390625deg) skewY(0.390625deg);
- }
-
- 88.8% {
- transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
- }
-}
-
-.jello {
- animation-name: jello;
- transform-origin: center;
-}
diff --git a/vendor/animate.css/source/attention_seekers/pulse.css b/vendor/animate.css/source/attention_seekers/pulse.css
deleted file mode 100755
index 3386a7b78..000000000
--- a/vendor/animate.css/source/attention_seekers/pulse.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
-
-@keyframes pulse {
- from {
- transform: scale3d(1, 1, 1);
- }
-
- 50% {
- transform: scale3d(1.05, 1.05, 1.05);
- }
-
- to {
- transform: scale3d(1, 1, 1);
- }
-}
-
-.pulse {
- animation-name: pulse;
-}
diff --git a/vendor/animate.css/source/attention_seekers/rubberBand.css b/vendor/animate.css/source/attention_seekers/rubberBand.css
deleted file mode 100755
index 2de846135..000000000
--- a/vendor/animate.css/source/attention_seekers/rubberBand.css
+++ /dev/null
@@ -1,33 +0,0 @@
-@keyframes rubberBand {
- from {
- transform: scale3d(1, 1, 1);
- }
-
- 30% {
- transform: scale3d(1.25, 0.75, 1);
- }
-
- 40% {
- transform: scale3d(0.75, 1.25, 1);
- }
-
- 50% {
- transform: scale3d(1.15, 0.85, 1);
- }
-
- 65% {
- transform: scale3d(.95, 1.05, 1);
- }
-
- 75% {
- transform: scale3d(1.05, .95, 1);
- }
-
- to {
- transform: scale3d(1, 1, 1);
- }
-}
-
-.rubberBand {
- animation-name: rubberBand;
-}
diff --git a/vendor/animate.css/source/attention_seekers/shake.css b/vendor/animate.css/source/attention_seekers/shake.css
deleted file mode 100755
index 76731c0e1..000000000
--- a/vendor/animate.css/source/attention_seekers/shake.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes shake {
- from, to {
- transform: translate3d(0, 0, 0);
- }
-
- 10%, 30%, 50%, 70%, 90% {
- transform: translate3d(-10px, 0, 0);
- }
-
- 20%, 40%, 60%, 80% {
- transform: translate3d(10px, 0, 0);
- }
-}
-
-.shake {
- animation-name: shake;
-}
diff --git a/vendor/animate.css/source/attention_seekers/swing.css b/vendor/animate.css/source/attention_seekers/swing.css
deleted file mode 100755
index 3390c24b7..000000000
--- a/vendor/animate.css/source/attention_seekers/swing.css
+++ /dev/null
@@ -1,26 +0,0 @@
-@keyframes swing {
- 20% {
- transform: rotate3d(0, 0, 1, 15deg);
- }
-
- 40% {
- transform: rotate3d(0, 0, 1, -10deg);
- }
-
- 60% {
- transform: rotate3d(0, 0, 1, 5deg);
- }
-
- 80% {
- transform: rotate3d(0, 0, 1, -5deg);
- }
-
- to {
- transform: rotate3d(0, 0, 1, 0deg);
- }
-}
-
-.swing {
- transform-origin: top center;
- animation-name: swing;
-}
diff --git a/vendor/animate.css/source/attention_seekers/tada.css b/vendor/animate.css/source/attention_seekers/tada.css
deleted file mode 100755
index 82dd903f3..000000000
--- a/vendor/animate.css/source/attention_seekers/tada.css
+++ /dev/null
@@ -1,25 +0,0 @@
-@keyframes tada {
- from {
- transform: scale3d(1, 1, 1);
- }
-
- 10%, 20% {
- transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
- }
-
- 30%, 50%, 70%, 90% {
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
- }
-
- 40%, 60%, 80% {
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
- }
-
- to {
- transform: scale3d(1, 1, 1);
- }
-}
-
-.tada {
- animation-name: tada;
-}
diff --git a/vendor/animate.css/source/attention_seekers/wobble.css b/vendor/animate.css/source/attention_seekers/wobble.css
deleted file mode 100755
index a80fe29bd..000000000
--- a/vendor/animate.css/source/attention_seekers/wobble.css
+++ /dev/null
@@ -1,35 +0,0 @@
-/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
-
-@keyframes wobble {
- from {
- transform: none;
- }
-
- 15% {
- transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
- }
-
- 30% {
- transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
- }
-
- 45% {
- transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
- }
-
- 60% {
- transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
- }
-
- 75% {
- transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
- }
-
- to {
- transform: none;
- }
-}
-
-.wobble {
- animation-name: wobble;
-}
diff --git a/vendor/animate.css/source/bouncing_entrances/bounceIn.css b/vendor/animate.css/source/bouncing_entrances/bounceIn.css
deleted file mode 100755
index 9f253a103..000000000
--- a/vendor/animate.css/source/bouncing_entrances/bounceIn.css
+++ /dev/null
@@ -1,36 +0,0 @@
-@keyframes bounceIn {
- from, 20%, 40%, 60%, 80%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- 0% {
- opacity: 0;
- transform: scale3d(.3, .3, .3);
- }
-
- 20% {
- transform: scale3d(1.1, 1.1, 1.1);
- }
-
- 40% {
- transform: scale3d(.9, .9, .9);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(1.03, 1.03, 1.03);
- }
-
- 80% {
- transform: scale3d(.97, .97, .97);
- }
-
- to {
- opacity: 1;
- transform: scale3d(1, 1, 1);
- }
-}
-
-.bounceIn {
- animation-name: bounceIn;
-}
diff --git a/vendor/animate.css/source/bouncing_entrances/bounceInDown.css b/vendor/animate.css/source/bouncing_entrances/bounceInDown.css
deleted file mode 100755
index 0d855a720..000000000
--- a/vendor/animate.css/source/bouncing_entrances/bounceInDown.css
+++ /dev/null
@@ -1,31 +0,0 @@
-@keyframes bounceInDown {
- from, 60%, 75%, 90%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- 0% {
- opacity: 0;
- transform: translate3d(0, -3000px, 0);
- }
-
- 60% {
- opacity: 1;
- transform: translate3d(0, 25px, 0);
- }
-
- 75% {
- transform: translate3d(0, -10px, 0);
- }
-
- 90% {
- transform: translate3d(0, 5px, 0);
- }
-
- to {
- transform: none;
- }
-}
-
-.bounceInDown {
- animation-name: bounceInDown;
-}
diff --git a/vendor/animate.css/source/bouncing_entrances/bounceInLeft.css b/vendor/animate.css/source/bouncing_entrances/bounceInLeft.css
deleted file mode 100755
index 4f1032afa..000000000
--- a/vendor/animate.css/source/bouncing_entrances/bounceInLeft.css
+++ /dev/null
@@ -1,31 +0,0 @@
-@keyframes bounceInLeft {
- from, 60%, 75%, 90%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- 0% {
- opacity: 0;
- transform: translate3d(-3000px, 0, 0);
- }
-
- 60% {
- opacity: 1;
- transform: translate3d(25px, 0, 0);
- }
-
- 75% {
- transform: translate3d(-10px, 0, 0);
- }
-
- 90% {
- transform: translate3d(5px, 0, 0);
- }
-
- to {
- transform: none;
- }
-}
-
-.bounceInLeft {
- animation-name: bounceInLeft;
-}
diff --git a/vendor/animate.css/source/bouncing_entrances/bounceInRight.css b/vendor/animate.css/source/bouncing_entrances/bounceInRight.css
deleted file mode 100755
index 6e06e02d8..000000000
--- a/vendor/animate.css/source/bouncing_entrances/bounceInRight.css
+++ /dev/null
@@ -1,31 +0,0 @@
-@keyframes bounceInRight {
- from, 60%, 75%, 90%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- from {
- opacity: 0;
- transform: translate3d(3000px, 0, 0);
- }
-
- 60% {
- opacity: 1;
- transform: translate3d(-25px, 0, 0);
- }
-
- 75% {
- transform: translate3d(10px, 0, 0);
- }
-
- 90% {
- transform: translate3d(-5px, 0, 0);
- }
-
- to {
- transform: none;
- }
-}
-
-.bounceInRight {
- animation-name: bounceInRight;
-}
diff --git a/vendor/animate.css/source/bouncing_entrances/bounceInUp.css b/vendor/animate.css/source/bouncing_entrances/bounceInUp.css
deleted file mode 100755
index fd0d47239..000000000
--- a/vendor/animate.css/source/bouncing_entrances/bounceInUp.css
+++ /dev/null
@@ -1,31 +0,0 @@
-@keyframes bounceInUp {
- from, 60%, 75%, 90%, to {
- animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
- }
-
- from {
- opacity: 0;
- transform: translate3d(0, 3000px, 0);
- }
-
- 60% {
- opacity: 1;
- transform: translate3d(0, -20px, 0);
- }
-
- 75% {
- transform: translate3d(0, 10px, 0);
- }
-
- 90% {
- transform: translate3d(0, -5px, 0);
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.bounceInUp {
- animation-name: bounceInUp;
-}
diff --git a/vendor/animate.css/source/bouncing_exits/bounceOut.css b/vendor/animate.css/source/bouncing_exits/bounceOut.css
deleted file mode 100755
index b170c28d6..000000000
--- a/vendor/animate.css/source/bouncing_exits/bounceOut.css
+++ /dev/null
@@ -1,19 +0,0 @@
-@keyframes bounceOut {
- 20% {
- transform: scale3d(.9, .9, .9);
- }
-
- 50%, 55% {
- opacity: 1;
- transform: scale3d(1.1, 1.1, 1.1);
- }
-
- to {
- opacity: 0;
- transform: scale3d(.3, .3, .3);
- }
-}
-
-.bounceOut {
- animation-name: bounceOut;
-}
diff --git a/vendor/animate.css/source/bouncing_exits/bounceOutDown.css b/vendor/animate.css/source/bouncing_exits/bounceOutDown.css
deleted file mode 100755
index 462cffce9..000000000
--- a/vendor/animate.css/source/bouncing_exits/bounceOutDown.css
+++ /dev/null
@@ -1,19 +0,0 @@
-@keyframes bounceOutDown {
- 20% {
- transform: translate3d(0, 10px, 0);
- }
-
- 40%, 45% {
- opacity: 1;
- transform: translate3d(0, -20px, 0);
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, 2000px, 0);
- }
-}
-
-.bounceOutDown {
- animation-name: bounceOutDown;
-}
diff --git a/vendor/animate.css/source/bouncing_exits/bounceOutLeft.css b/vendor/animate.css/source/bouncing_exits/bounceOutLeft.css
deleted file mode 100755
index 0c03a9e4a..000000000
--- a/vendor/animate.css/source/bouncing_exits/bounceOutLeft.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes bounceOutLeft {
- 20% {
- opacity: 1;
- transform: translate3d(20px, 0, 0);
- }
-
- to {
- opacity: 0;
- transform: translate3d(-2000px, 0, 0);
- }
-}
-
-.bounceOutLeft {
- animation-name: bounceOutLeft;
-}
diff --git a/vendor/animate.css/source/bouncing_exits/bounceOutRight.css b/vendor/animate.css/source/bouncing_exits/bounceOutRight.css
deleted file mode 100755
index 0f0bf9d07..000000000
--- a/vendor/animate.css/source/bouncing_exits/bounceOutRight.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes bounceOutRight {
- 20% {
- opacity: 1;
- transform: translate3d(-20px, 0, 0);
- }
-
- to {
- opacity: 0;
- transform: translate3d(2000px, 0, 0);
- }
-}
-
-.bounceOutRight {
- animation-name: bounceOutRight;
-}
diff --git a/vendor/animate.css/source/bouncing_exits/bounceOutUp.css b/vendor/animate.css/source/bouncing_exits/bounceOutUp.css
deleted file mode 100755
index 9b2589191..000000000
--- a/vendor/animate.css/source/bouncing_exits/bounceOutUp.css
+++ /dev/null
@@ -1,19 +0,0 @@
-@keyframes bounceOutUp {
- 20% {
- transform: translate3d(0, -10px, 0);
- }
-
- 40%, 45% {
- opacity: 1;
- transform: translate3d(0, 20px, 0);
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, -2000px, 0);
- }
-}
-
-.bounceOutUp {
- animation-name: bounceOutUp;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeIn.css b/vendor/animate.css/source/fading_entrances/fadeIn.css
deleted file mode 100755
index 2177964fa..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeIn.css
+++ /dev/null
@@ -1,13 +0,0 @@
-@keyframes fadeIn {
- from {
- opacity: 0;
- }
-
- to {
- opacity: 1;
- }
-}
-
-.fadeIn {
- animation-name: fadeIn;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeInDown.css b/vendor/animate.css/source/fading_entrances/fadeInDown.css
deleted file mode 100755
index 0ed62a944..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeInDown.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes fadeInDown {
- from {
- opacity: 0;
- transform: translate3d(0, -100%, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInDown {
- animation-name: fadeInDown;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeInDownBig.css b/vendor/animate.css/source/fading_entrances/fadeInDownBig.css
deleted file mode 100755
index 2fcf73a79..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeInDownBig.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes fadeInDownBig {
- from {
- opacity: 0;
- transform: translate3d(0, -2000px, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInDownBig {
- animation-name: fadeInDownBig;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeInLeft.css b/vendor/animate.css/source/fading_entrances/fadeInLeft.css
deleted file mode 100755
index 3c90f0b96..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeInLeft.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes fadeInLeft {
- from {
- opacity: 0;
- transform: translate3d(-100%, 0, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInLeft {
- animation-name: fadeInLeft;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeInLeftBig.css b/vendor/animate.css/source/fading_entrances/fadeInLeftBig.css
deleted file mode 100755
index 2d679fc78..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeInLeftBig.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes fadeInLeftBig {
- from {
- opacity: 0;
- transform: translate3d(-2000px, 0, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInLeftBig {
- animation-name: fadeInLeftBig;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeInRight.css b/vendor/animate.css/source/fading_entrances/fadeInRight.css
deleted file mode 100755
index ad94f25a4..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeInRight.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes fadeInRight {
- from {
- opacity: 0;
- transform: translate3d(100%, 0, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInRight {
- animation-name: fadeInRight;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeInRightBig.css b/vendor/animate.css/source/fading_entrances/fadeInRightBig.css
deleted file mode 100755
index be9182f73..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeInRightBig.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes fadeInRightBig {
- from {
- opacity: 0;
- transform: translate3d(2000px, 0, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInRightBig {
- animation-name: fadeInRightBig;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeInUp.css b/vendor/animate.css/source/fading_entrances/fadeInUp.css
deleted file mode 100755
index 920a1737a..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeInUp.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes fadeInUp {
- from {
- opacity: 0;
- transform: translate3d(0, 100%, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInUp {
- animation-name: fadeInUp;
-}
diff --git a/vendor/animate.css/source/fading_entrances/fadeInUpBig.css b/vendor/animate.css/source/fading_entrances/fadeInUpBig.css
deleted file mode 100755
index cf6bf7f98..000000000
--- a/vendor/animate.css/source/fading_entrances/fadeInUpBig.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes fadeInUpBig {
- from {
- opacity: 0;
- transform: translate3d(0, 2000px, 0);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.fadeInUpBig {
- animation-name: fadeInUpBig;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOut.css b/vendor/animate.css/source/fading_exits/fadeOut.css
deleted file mode 100755
index d19c396ad..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOut.css
+++ /dev/null
@@ -1,13 +0,0 @@
-@keyframes fadeOut {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- }
-}
-
-.fadeOut {
- animation-name: fadeOut;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOutDown.css b/vendor/animate.css/source/fading_exits/fadeOutDown.css
deleted file mode 100755
index 839b990c5..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOutDown.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes fadeOutDown {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, 100%, 0);
- }
-}
-
-.fadeOutDown {
- animation-name: fadeOutDown;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOutDownBig.css b/vendor/animate.css/source/fading_exits/fadeOutDownBig.css
deleted file mode 100755
index 5b58d1af7..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOutDownBig.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes fadeOutDownBig {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, 2000px, 0);
- }
-}
-
-.fadeOutDownBig {
- animation-name: fadeOutDownBig;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOutLeft.css b/vendor/animate.css/source/fading_exits/fadeOutLeft.css
deleted file mode 100755
index 16f2fc9c3..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOutLeft.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes fadeOutLeft {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(-100%, 0, 0);
- }
-}
-
-.fadeOutLeft {
- animation-name: fadeOutLeft;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOutLeftBig.css b/vendor/animate.css/source/fading_exits/fadeOutLeftBig.css
deleted file mode 100755
index e50b468f6..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOutLeftBig.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes fadeOutLeftBig {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(-2000px, 0, 0);
- }
-}
-
-.fadeOutLeftBig {
- animation-name: fadeOutLeftBig;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOutRight.css b/vendor/animate.css/source/fading_exits/fadeOutRight.css
deleted file mode 100755
index bf0cbb63f..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOutRight.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes fadeOutRight {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(100%, 0, 0);
- }
-}
-
-.fadeOutRight {
- animation-name: fadeOutRight;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOutRightBig.css b/vendor/animate.css/source/fading_exits/fadeOutRightBig.css
deleted file mode 100755
index f60617093..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOutRightBig.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes fadeOutRightBig {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(2000px, 0, 0);
- }
-}
-
-.fadeOutRightBig {
- animation-name: fadeOutRightBig;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOutUp.css b/vendor/animate.css/source/fading_exits/fadeOutUp.css
deleted file mode 100755
index fbafcac78..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOutUp.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes fadeOutUp {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, -100%, 0);
- }
-}
-
-.fadeOutUp {
- animation-name: fadeOutUp;
-}
diff --git a/vendor/animate.css/source/fading_exits/fadeOutUpBig.css b/vendor/animate.css/source/fading_exits/fadeOutUpBig.css
deleted file mode 100755
index 5583bd04e..000000000
--- a/vendor/animate.css/source/fading_exits/fadeOutUpBig.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes fadeOutUpBig {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(0, -2000px, 0);
- }
-}
-
-.fadeOutUpBig {
- animation-name: fadeOutUpBig;
-}
diff --git a/vendor/animate.css/source/flippers/flip.css b/vendor/animate.css/source/flippers/flip.css
deleted file mode 100755
index 579ddb824..000000000
--- a/vendor/animate.css/source/flippers/flip.css
+++ /dev/null
@@ -1,31 +0,0 @@
-@keyframes flip {
- from {
- transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
- animation-timing-function: ease-out;
- }
-
- 40% {
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
- animation-timing-function: ease-out;
- }
-
- 50% {
- transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
- animation-timing-function: ease-in;
- }
-
- 80% {
- transform: perspective(400px) scale3d(.95, .95, .95);
- animation-timing-function: ease-in;
- }
-
- to {
- transform: perspective(400px);
- animation-timing-function: ease-in;
- }
-}
-
-.animated.flip {
- backface-visibility: visible;
- animation-name: flip;
-}
diff --git a/vendor/animate.css/source/flippers/flipInX.css b/vendor/animate.css/source/flippers/flipInX.css
deleted file mode 100755
index 2135029f3..000000000
--- a/vendor/animate.css/source/flippers/flipInX.css
+++ /dev/null
@@ -1,30 +0,0 @@
-@keyframes flipInX {
- from {
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
- animation-timing-function: ease-in;
- opacity: 0;
- }
-
- 40% {
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
- animation-timing-function: ease-in;
- }
-
- 60% {
- transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
- opacity: 1;
- }
-
- 80% {
- transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
- }
-
- to {
- transform: perspective(400px);
- }
-}
-
-.flipInX {
- backface-visibility: visible !important;
- animation-name: flipInX;
-}
diff --git a/vendor/animate.css/source/flippers/flipInY.css b/vendor/animate.css/source/flippers/flipInY.css
deleted file mode 100755
index 950886292..000000000
--- a/vendor/animate.css/source/flippers/flipInY.css
+++ /dev/null
@@ -1,30 +0,0 @@
-@keyframes flipInY {
- from {
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
- animation-timing-function: ease-in;
- opacity: 0;
- }
-
- 40% {
- transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
- animation-timing-function: ease-in;
- }
-
- 60% {
- transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
- opacity: 1;
- }
-
- 80% {
- transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
- }
-
- to {
- transform: perspective(400px);
- }
-}
-
-.flipInY {
- backface-visibility: visible !important;
- animation-name: flipInY;
-}
diff --git a/vendor/animate.css/source/flippers/flipOutX.css b/vendor/animate.css/source/flippers/flipOutX.css
deleted file mode 100755
index ffa0fcf57..000000000
--- a/vendor/animate.css/source/flippers/flipOutX.css
+++ /dev/null
@@ -1,20 +0,0 @@
-@keyframes flipOutX {
- from {
- transform: perspective(400px);
- }
-
- 30% {
- transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
- opacity: 1;
- }
-
- to {
- transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
- opacity: 0;
- }
-}
-
-.flipOutX {
- animation-name: flipOutX;
- backface-visibility: visible !important;
-}
diff --git a/vendor/animate.css/source/flippers/flipOutY.css b/vendor/animate.css/source/flippers/flipOutY.css
deleted file mode 100755
index b004cae67..000000000
--- a/vendor/animate.css/source/flippers/flipOutY.css
+++ /dev/null
@@ -1,20 +0,0 @@
-@keyframes flipOutY {
- from {
- transform: perspective(400px);
- }
-
- 30% {
- transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
- opacity: 1;
- }
-
- to {
- transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
- opacity: 0;
- }
-}
-
-.flipOutY {
- backface-visibility: visible !important;
- animation-name: flipOutY;
-}
diff --git a/vendor/animate.css/source/lightspeed/lightSpeedIn.css b/vendor/animate.css/source/lightspeed/lightSpeedIn.css
deleted file mode 100755
index 06f4d8445..000000000
--- a/vendor/animate.css/source/lightspeed/lightSpeedIn.css
+++ /dev/null
@@ -1,26 +0,0 @@
-@keyframes lightSpeedIn {
- from {
- transform: translate3d(100%, 0, 0) skewX(-30deg);
- opacity: 0;
- }
-
- 60% {
- transform: skewX(20deg);
- opacity: 1;
- }
-
- 80% {
- transform: skewX(-5deg);
- opacity: 1;
- }
-
- to {
- transform: none;
- opacity: 1;
- }
-}
-
-.lightSpeedIn {
- animation-name: lightSpeedIn;
- animation-timing-function: ease-out;
-}
diff --git a/vendor/animate.css/source/lightspeed/lightSpeedOut.css b/vendor/animate.css/source/lightspeed/lightSpeedOut.css
deleted file mode 100755
index b328dcc28..000000000
--- a/vendor/animate.css/source/lightspeed/lightSpeedOut.css
+++ /dev/null
@@ -1,15 +0,0 @@
-@keyframes lightSpeedOut {
- from {
- opacity: 1;
- }
-
- to {
- transform: translate3d(100%, 0, 0) skewX(30deg);
- opacity: 0;
- }
-}
-
-.lightSpeedOut {
- animation-name: lightSpeedOut;
- animation-timing-function: ease-in;
-}
diff --git a/vendor/animate.css/source/rotating_entrances/rotateIn.css b/vendor/animate.css/source/rotating_entrances/rotateIn.css
deleted file mode 100755
index 6b591875a..000000000
--- a/vendor/animate.css/source/rotating_entrances/rotateIn.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes rotateIn {
- from {
- transform-origin: center;
- transform: rotate3d(0, 0, 1, -200deg);
- opacity: 0;
- }
-
- to {
- transform-origin: center;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateIn {
- animation-name: rotateIn;
-}
diff --git a/vendor/animate.css/source/rotating_entrances/rotateInDownLeft.css b/vendor/animate.css/source/rotating_entrances/rotateInDownLeft.css
deleted file mode 100755
index a5a0da527..000000000
--- a/vendor/animate.css/source/rotating_entrances/rotateInDownLeft.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes rotateInDownLeft {
- from {
- transform-origin: left bottom;
- transform: rotate3d(0, 0, 1, -45deg);
- opacity: 0;
- }
-
- to {
- transform-origin: left bottom;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateInDownLeft {
- animation-name: rotateInDownLeft;
-}
diff --git a/vendor/animate.css/source/rotating_entrances/rotateInDownRight.css b/vendor/animate.css/source/rotating_entrances/rotateInDownRight.css
deleted file mode 100755
index 3f8d766a0..000000000
--- a/vendor/animate.css/source/rotating_entrances/rotateInDownRight.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes rotateInDownRight {
- from {
- transform-origin: right bottom;
- transform: rotate3d(0, 0, 1, 45deg);
- opacity: 0;
- }
-
- to {
- transform-origin: right bottom;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateInDownRight {
- animation-name: rotateInDownRight;
-}
diff --git a/vendor/animate.css/source/rotating_entrances/rotateInUpLeft.css b/vendor/animate.css/source/rotating_entrances/rotateInUpLeft.css
deleted file mode 100755
index 7a04f75c3..000000000
--- a/vendor/animate.css/source/rotating_entrances/rotateInUpLeft.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes rotateInUpLeft {
- from {
- transform-origin: left bottom;
- transform: rotate3d(0, 0, 1, 45deg);
- opacity: 0;
- }
-
- to {
- transform-origin: left bottom;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateInUpLeft {
- animation-name: rotateInUpLeft;
-}
diff --git a/vendor/animate.css/source/rotating_entrances/rotateInUpRight.css b/vendor/animate.css/source/rotating_entrances/rotateInUpRight.css
deleted file mode 100755
index f3e4998d6..000000000
--- a/vendor/animate.css/source/rotating_entrances/rotateInUpRight.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes rotateInUpRight {
- from {
- transform-origin: right bottom;
- transform: rotate3d(0, 0, 1, -90deg);
- opacity: 0;
- }
-
- to {
- transform-origin: right bottom;
- transform: none;
- opacity: 1;
- }
-}
-
-.rotateInUpRight {
- animation-name: rotateInUpRight;
-}
diff --git a/vendor/animate.css/source/rotating_exits/rotateOut.css b/vendor/animate.css/source/rotating_exits/rotateOut.css
deleted file mode 100755
index 6325006b0..000000000
--- a/vendor/animate.css/source/rotating_exits/rotateOut.css
+++ /dev/null
@@ -1,16 +0,0 @@
-@keyframes rotateOut {
- from {
- transform-origin: center;
- opacity: 1;
- }
-
- to {
- transform-origin: center;
- transform: rotate3d(0, 0, 1, 200deg);
- opacity: 0;
- }
-}
-
-.rotateOut {
- animation-name: rotateOut;
-}
diff --git a/vendor/animate.css/source/rotating_exits/rotateOutDownLeft.css b/vendor/animate.css/source/rotating_exits/rotateOutDownLeft.css
deleted file mode 100755
index 11595b47d..000000000
--- a/vendor/animate.css/source/rotating_exits/rotateOutDownLeft.css
+++ /dev/null
@@ -1,16 +0,0 @@
-@keyframes rotateOutDownLeft {
- from {
- transform-origin: left bottom;
- opacity: 1;
- }
-
- to {
- transform-origin: left bottom;
- transform: rotate3d(0, 0, 1, 45deg);
- opacity: 0;
- }
-}
-
-.rotateOutDownLeft {
- animation-name: rotateOutDownLeft;
-}
diff --git a/vendor/animate.css/source/rotating_exits/rotateOutDownRight.css b/vendor/animate.css/source/rotating_exits/rotateOutDownRight.css
deleted file mode 100755
index 9bf03da0a..000000000
--- a/vendor/animate.css/source/rotating_exits/rotateOutDownRight.css
+++ /dev/null
@@ -1,16 +0,0 @@
-@keyframes rotateOutDownRight {
- from {
- transform-origin: right bottom;
- opacity: 1;
- }
-
- to {
- transform-origin: right bottom;
- transform: rotate3d(0, 0, 1, -45deg);
- opacity: 0;
- }
-}
-
-.rotateOutDownRight {
- animation-name: rotateOutDownRight;
-}
diff --git a/vendor/animate.css/source/rotating_exits/rotateOutUpLeft.css b/vendor/animate.css/source/rotating_exits/rotateOutUpLeft.css
deleted file mode 100755
index 6f6815d02..000000000
--- a/vendor/animate.css/source/rotating_exits/rotateOutUpLeft.css
+++ /dev/null
@@ -1,16 +0,0 @@
-@keyframes rotateOutUpLeft {
- from {
- transform-origin: left bottom;
- opacity: 1;
- }
-
- to {
- transform-origin: left bottom;
- transform: rotate3d(0, 0, 1, -45deg);
- opacity: 0;
- }
-}
-
-.rotateOutUpLeft {
- animation-name: rotateOutUpLeft;
-}
diff --git a/vendor/animate.css/source/rotating_exits/rotateOutUpRight.css b/vendor/animate.css/source/rotating_exits/rotateOutUpRight.css
deleted file mode 100755
index 2fdeb6b3d..000000000
--- a/vendor/animate.css/source/rotating_exits/rotateOutUpRight.css
+++ /dev/null
@@ -1,16 +0,0 @@
-@keyframes rotateOutUpRight {
- from {
- transform-origin: right bottom;
- opacity: 1;
- }
-
- to {
- transform-origin: right bottom;
- transform: rotate3d(0, 0, 1, 90deg);
- opacity: 0;
- }
-}
-
-.rotateOutUpRight {
- animation-name: rotateOutUpRight;
-}
diff --git a/vendor/animate.css/source/sliding_entrances/slideInDown.css b/vendor/animate.css/source/sliding_entrances/slideInDown.css
deleted file mode 100755
index d6373677d..000000000
--- a/vendor/animate.css/source/sliding_entrances/slideInDown.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes slideInDown {
- from {
- transform: translate3d(0, -100%, 0);
- visibility: visible;
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.slideInDown {
- animation-name: slideInDown;
-}
diff --git a/vendor/animate.css/source/sliding_entrances/slideInLeft.css b/vendor/animate.css/source/sliding_entrances/slideInLeft.css
deleted file mode 100755
index 93370a830..000000000
--- a/vendor/animate.css/source/sliding_entrances/slideInLeft.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes slideInLeft {
- from {
- transform: translate3d(-100%, 0, 0);
- visibility: visible;
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.slideInLeft {
- animation-name: slideInLeft;
-}
diff --git a/vendor/animate.css/source/sliding_entrances/slideInRight.css b/vendor/animate.css/source/sliding_entrances/slideInRight.css
deleted file mode 100755
index 209a99c71..000000000
--- a/vendor/animate.css/source/sliding_entrances/slideInRight.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes slideInRight {
- from {
- transform: translate3d(100%, 0, 0);
- visibility: visible;
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.slideInRight {
- animation-name: slideInRight;
-}
diff --git a/vendor/animate.css/source/sliding_entrances/slideInUp.css b/vendor/animate.css/source/sliding_entrances/slideInUp.css
deleted file mode 100755
index 37b6cde60..000000000
--- a/vendor/animate.css/source/sliding_entrances/slideInUp.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes slideInUp {
- from {
- transform: translate3d(0, 100%, 0);
- visibility: visible;
- }
-
- to {
- transform: translate3d(0, 0, 0);
- }
-}
-
-.slideInUp {
- animation-name: slideInUp;
-}
diff --git a/vendor/animate.css/source/sliding_exits/slideOutDown.css b/vendor/animate.css/source/sliding_exits/slideOutDown.css
deleted file mode 100755
index e8e0c7d47..000000000
--- a/vendor/animate.css/source/sliding_exits/slideOutDown.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes slideOutDown {
- from {
- transform: translate3d(0, 0, 0);
- }
-
- to {
- visibility: hidden;
- transform: translate3d(0, 100%, 0);
- }
-}
-
-.slideOutDown {
- animation-name: slideOutDown;
-}
diff --git a/vendor/animate.css/source/sliding_exits/slideOutLeft.css b/vendor/animate.css/source/sliding_exits/slideOutLeft.css
deleted file mode 100755
index cf444546b..000000000
--- a/vendor/animate.css/source/sliding_exits/slideOutLeft.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes slideOutLeft {
- from {
- transform: translate3d(0, 0, 0);
- }
-
- to {
- visibility: hidden;
- transform: translate3d(-100%, 0, 0);
- }
-}
-
-.slideOutLeft {
- animation-name: slideOutLeft;
-}
diff --git a/vendor/animate.css/source/sliding_exits/slideOutRight.css b/vendor/animate.css/source/sliding_exits/slideOutRight.css
deleted file mode 100755
index 95f7f22f1..000000000
--- a/vendor/animate.css/source/sliding_exits/slideOutRight.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes slideOutRight {
- from {
- transform: translate3d(0, 0, 0);
- }
-
- to {
- visibility: hidden;
- transform: translate3d(100%, 0, 0);
- }
-}
-
-.slideOutRight {
- animation-name: slideOutRight;
-}
diff --git a/vendor/animate.css/source/sliding_exits/slideOutUp.css b/vendor/animate.css/source/sliding_exits/slideOutUp.css
deleted file mode 100755
index 27541b534..000000000
--- a/vendor/animate.css/source/sliding_exits/slideOutUp.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes slideOutUp {
- from {
- transform: translate3d(0, 0, 0);
- }
-
- to {
- visibility: hidden;
- transform: translate3d(0, -100%, 0);
- }
-}
-
-.slideOutUp {
- animation-name: slideOutUp;
-}
diff --git a/vendor/animate.css/source/specials/hinge.css b/vendor/animate.css/source/specials/hinge.css
deleted file mode 100755
index 56ec58a3d..000000000
--- a/vendor/animate.css/source/specials/hinge.css
+++ /dev/null
@@ -1,28 +0,0 @@
-@keyframes hinge {
- 0% {
- transform-origin: top left;
- animation-timing-function: ease-in-out;
- }
-
- 20%, 60% {
- transform: rotate3d(0, 0, 1, 80deg);
- transform-origin: top left;
- animation-timing-function: ease-in-out;
- }
-
- 40%, 80% {
- transform: rotate3d(0, 0, 1, 60deg);
- transform-origin: top left;
- animation-timing-function: ease-in-out;
- opacity: 1;
- }
-
- to {
- transform: translate3d(0, 700px, 0);
- opacity: 0;
- }
-}
-
-.hinge {
- animation-name: hinge;
-}
diff --git a/vendor/animate.css/source/specials/jackInTheBox.css b/vendor/animate.css/source/specials/jackInTheBox.css
deleted file mode 100755
index 7c88f06c0..000000000
--- a/vendor/animate.css/source/specials/jackInTheBox.css
+++ /dev/null
@@ -1,24 +0,0 @@
-@keyframes jackInTheBox {
- from {
- opacity: 0;
- transform: scale(0.1) rotate(30deg);
- transform-origin: center bottom;
- }
-
- 50% {
- transform: rotate(-10deg);
- }
-
- 70% {
- transform: rotate(3deg);
- }
-
- to {
- opacity: 1;
- transform: scale(1);
- }
-}
-
-.jackInTheBox {
- animation-name: jackInTheBox;
-}
diff --git a/vendor/animate.css/source/specials/rollIn.css b/vendor/animate.css/source/specials/rollIn.css
deleted file mode 100755
index 9cda44cd2..000000000
--- a/vendor/animate.css/source/specials/rollIn.css
+++ /dev/null
@@ -1,17 +0,0 @@
-/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
-
-@keyframes rollIn {
- from {
- opacity: 0;
- transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
- }
-
- to {
- opacity: 1;
- transform: none;
- }
-}
-
-.rollIn {
- animation-name: rollIn;
-}
diff --git a/vendor/animate.css/source/specials/rollOut.css b/vendor/animate.css/source/specials/rollOut.css
deleted file mode 100755
index 52750f77a..000000000
--- a/vendor/animate.css/source/specials/rollOut.css
+++ /dev/null
@@ -1,16 +0,0 @@
-/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
-
-@keyframes rollOut {
- from {
- opacity: 1;
- }
-
- to {
- opacity: 0;
- transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
- }
-}
-
-.rollOut {
- animation-name: rollOut;
-}
diff --git a/vendor/animate.css/source/zooming_entrances/zoomIn.css b/vendor/animate.css/source/zooming_entrances/zoomIn.css
deleted file mode 100755
index fe4301341..000000000
--- a/vendor/animate.css/source/zooming_entrances/zoomIn.css
+++ /dev/null
@@ -1,14 +0,0 @@
-@keyframes zoomIn {
- from {
- opacity: 0;
- transform: scale3d(.3, .3, .3);
- }
-
- 50% {
- opacity: 1;
- }
-}
-
-.zoomIn {
- animation-name: zoomIn;
-}
diff --git a/vendor/animate.css/source/zooming_entrances/zoomInDown.css b/vendor/animate.css/source/zooming_entrances/zoomInDown.css
deleted file mode 100755
index f5d60a44a..000000000
--- a/vendor/animate.css/source/zooming_entrances/zoomInDown.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes zoomInDown {
- from {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomInDown {
- animation-name: zoomInDown;
-}
diff --git a/vendor/animate.css/source/zooming_entrances/zoomInLeft.css b/vendor/animate.css/source/zooming_entrances/zoomInLeft.css
deleted file mode 100755
index 1e3ddfe02..000000000
--- a/vendor/animate.css/source/zooming_entrances/zoomInLeft.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes zoomInLeft {
- from {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomInLeft {
- animation-name: zoomInLeft;
-}
diff --git a/vendor/animate.css/source/zooming_entrances/zoomInRight.css b/vendor/animate.css/source/zooming_entrances/zoomInRight.css
deleted file mode 100755
index 276da6618..000000000
--- a/vendor/animate.css/source/zooming_entrances/zoomInRight.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes zoomInRight {
- from {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomInRight {
- animation-name: zoomInRight;
-}
diff --git a/vendor/animate.css/source/zooming_entrances/zoomInUp.css b/vendor/animate.css/source/zooming_entrances/zoomInUp.css
deleted file mode 100755
index c3e23a415..000000000
--- a/vendor/animate.css/source/zooming_entrances/zoomInUp.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@keyframes zoomInUp {
- from {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- 60% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomInUp {
- animation-name: zoomInUp;
-}
diff --git a/vendor/animate.css/source/zooming_exits/zoomOut.css b/vendor/animate.css/source/zooming_exits/zoomOut.css
deleted file mode 100755
index 30fbae4da..000000000
--- a/vendor/animate.css/source/zooming_exits/zoomOut.css
+++ /dev/null
@@ -1,18 +0,0 @@
-@keyframes zoomOut {
- from {
- opacity: 1;
- }
-
- 50% {
- opacity: 0;
- transform: scale3d(.3, .3, .3);
- }
-
- to {
- opacity: 0;
- }
-}
-
-.zoomOut {
- animation-name: zoomOut;
-}
diff --git a/vendor/animate.css/source/zooming_exits/zoomOutDown.css b/vendor/animate.css/source/zooming_exits/zoomOutDown.css
deleted file mode 100755
index ea443b74b..000000000
--- a/vendor/animate.css/source/zooming_exits/zoomOutDown.css
+++ /dev/null
@@ -1,18 +0,0 @@
-@keyframes zoomOutDown {
- 40% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- to {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
- transform-origin: center bottom;
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomOutDown {
- animation-name: zoomOutDown;
-}
diff --git a/vendor/animate.css/source/zooming_exits/zoomOutLeft.css b/vendor/animate.css/source/zooming_exits/zoomOutLeft.css
deleted file mode 100755
index 79fbe9ab4..000000000
--- a/vendor/animate.css/source/zooming_exits/zoomOutLeft.css
+++ /dev/null
@@ -1,16 +0,0 @@
-@keyframes zoomOutLeft {
- 40% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
- }
-
- to {
- opacity: 0;
- transform: scale(.1) translate3d(-2000px, 0, 0);
- transform-origin: left center;
- }
-}
-
-.zoomOutLeft {
- animation-name: zoomOutLeft;
-}
diff --git a/vendor/animate.css/source/zooming_exits/zoomOutRight.css b/vendor/animate.css/source/zooming_exits/zoomOutRight.css
deleted file mode 100755
index 7262f891a..000000000
--- a/vendor/animate.css/source/zooming_exits/zoomOutRight.css
+++ /dev/null
@@ -1,16 +0,0 @@
-@keyframes zoomOutRight {
- 40% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
- }
-
- to {
- opacity: 0;
- transform: scale(.1) translate3d(2000px, 0, 0);
- transform-origin: right center;
- }
-}
-
-.zoomOutRight {
- animation-name: zoomOutRight;
-}
diff --git a/vendor/animate.css/source/zooming_exits/zoomOutUp.css b/vendor/animate.css/source/zooming_exits/zoomOutUp.css
deleted file mode 100755
index c06bae8fc..000000000
--- a/vendor/animate.css/source/zooming_exits/zoomOutUp.css
+++ /dev/null
@@ -1,18 +0,0 @@
-@keyframes zoomOutUp {
- 40% {
- opacity: 1;
- transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
- animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
- }
-
- to {
- opacity: 0;
- transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
- transform-origin: center bottom;
- animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
- }
-}
-
-.zoomOutUp {
- animation-name: zoomOutUp;
-}
diff --git a/vendor/bootstrap-slider/bootstrap-slider.css b/vendor/bootstrap-slider/bootstrap-slider.css
deleted file mode 100644
index 2e50a56a2..000000000
--- a/vendor/bootstrap-slider/bootstrap-slider.css
+++ /dev/null
@@ -1,418 +0,0 @@
-/*! =======================================================
- VERSION 11.0.2
-========================================================= */
-/*! =========================================================
- * bootstrap-slider.js
- *
- * Maintainers:
- * Kyle Kemp
- * - Twitter: @seiyria
- * - Github: seiyria
- * Rohit Kalkur
- * - Twitter: @Rovolutionary
- * - Github: rovolution
- *
- * =========================================================
- *
- * bootstrap-slider is released under the MIT License
- * Copyright (c) 2019 Kyle Kemp, Rohit Kalkur, and contributors
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *
- * ========================================================= */
-.slider {
- display: inline-block;
- vertical-align: middle;
- position: relative;
-}
-
-.slider.slider-horizontal {
- width: 210px;
- height: 20px;
-}
-
-.slider.slider-horizontal .slider-track {
- height: 10px;
- width: 100%;
- margin-top: -5px;
- top: 50%;
- left: 0;
-}
-
-.slider.slider-horizontal .slider-selection, .slider.slider-horizontal .slider-track-low, .slider.slider-horizontal .slider-track-high {
- height: 100%;
- top: 0;
- bottom: 0;
-}
-
-.slider.slider-horizontal .slider-tick,
-.slider.slider-horizontal .slider-handle {
- margin-left: -10px;
-}
-
-.slider.slider-horizontal .slider-tick.triangle,
-.slider.slider-horizontal .slider-handle.triangle {
- position: relative;
- top: 50%;
- transform: translateY(-50%);
- border-width: 0 10px 10px 10px;
- width: 0;
- height: 0;
- border-bottom-color: #036fa5;
- margin-top: 0;
-}
-
-.slider.slider-horizontal .slider-tick-container {
- white-space: nowrap;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
-}
-
-.slider.slider-horizontal .slider-tick-label-container {
- white-space: nowrap;
- margin-top: 20px;
-}
-
-.slider.slider-horizontal .slider-tick-label-container .slider-tick-label {
- display: inline-block;
- text-align: center;
-}
-
-.slider.slider-horizontal.slider-rtl .slider-track {
- left: initial;
- right: 0;
-}
-
-.slider.slider-horizontal.slider-rtl .slider-tick,
-.slider.slider-horizontal.slider-rtl .slider-handle {
- margin-left: initial;
- margin-right: -10px;
-}
-
-.slider.slider-horizontal.slider-rtl .slider-tick-container {
- left: initial;
- right: 0;
-}
-
-.slider.slider-vertical {
- height: 210px;
- width: 20px;
-}
-
-.slider.slider-vertical .slider-track {
- width: 10px;
- height: 100%;
- left: 25%;
- top: 0;
-}
-
-.slider.slider-vertical .slider-selection {
- width: 100%;
- left: 0;
- top: 0;
- bottom: 0;
-}
-
-.slider.slider-vertical .slider-track-low, .slider.slider-vertical .slider-track-high {
- width: 100%;
- left: 0;
- right: 0;
-}
-
-.slider.slider-vertical .slider-tick,
-.slider.slider-vertical .slider-handle {
- margin-top: -10px;
-}
-
-.slider.slider-vertical .slider-tick.triangle,
-.slider.slider-vertical .slider-handle.triangle {
- border-width: 10px 0 10px 10px;
- width: 1px;
- height: 1px;
- border-left-color: #036fa5;
- margin-left: 0;
-}
-
-.slider.slider-vertical .slider-tick-label-container {
- white-space: nowrap;
-}
-
-.slider.slider-vertical .slider-tick-label-container .slider-tick-label {
- padding-left: 4px;
-}
-
-.slider.slider-vertical.slider-rtl .slider-track {
- left: initial;
- right: 25%;
-}
-
-.slider.slider-vertical.slider-rtl .slider-selection {
- left: initial;
- right: 0;
-}
-
-.slider.slider-vertical.slider-rtl .slider-tick.triangle,
-.slider.slider-vertical.slider-rtl .slider-handle.triangle {
- border-width: 10px 10px 10px 0;
-}
-
-.slider.slider-vertical.slider-rtl .slider-tick-label-container .slider-tick-label {
- padding-left: initial;
- padding-right: 4px;
-}
-
-.slider.slider-disabled .slider-handle {
- background-color: #cfcfcf;
- background-image: -moz-linear-gradient(top, #DFDFDF, #BEBEBE);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#DFDFDF), to(#BEBEBE));
- background-image: -webkit-linear-gradient(top, #DFDFDF, #BEBEBE);
- background-image: -o-linear-gradient(top, #DFDFDF, #BEBEBE);
- background-image: linear-gradient(to bottom, #DFDFDF, #BEBEBE);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DFDFDF', endColorstr='#BEBEBE',GradientType=0);
-}
-
-.slider.slider-disabled .slider-track {
- background-color: #e7e7e7;
- background-image: -moz-linear-gradient(top, #E5E5E5, #E9E9E9);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#E5E5E5), to(#E9E9E9));
- background-image: -webkit-linear-gradient(top, #E5E5E5, #E9E9E9);
- background-image: -o-linear-gradient(top, #E5E5E5, #E9E9E9);
- background-image: linear-gradient(to bottom, #E5E5E5, #E9E9E9);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E5E5E5', endColorstr='#E9E9E9',GradientType=0);
- cursor: not-allowed;
-}
-
-.slider input {
- display: none;
-}
-
-.slider .tooltip-inner {
- white-space: nowrap;
- max-width: none;
-}
-
-.slider .bs-tooltip-top .tooltip-inner,
-.slider .bs-tooltip-bottom .tooltip-inner {
- position: relative;
- left: -50%;
-}
-
-.slider.bs-tooltip-left .tooltip-inner, .slider.bs-tooltip-right .tooltip-inner {
- position: relative;
- top: -100%;
-}
-
-.slider .tooltip {
- pointer-events: none;
-}
-
-.slider .tooltip.bs-tooltip-top .arrow, .slider .tooltip.bs-tooltip-bottom .arrow {
- left: -.4rem;
-}
-
-.slider .tooltip.bs-tooltip-top {
- margin-top: -44px;
-}
-
-.slider .tooltip.bs-tooltip-bottom {
- margin-top: 2px;
-}
-
-.slider .tooltip.bs-tooltip-left, .slider .tooltip.bs-tooltip-right {
- margin-top: -14px;
-}
-
-.slider .tooltip.bs-tooltip-left .arrow, .slider .tooltip.bs-tooltip-right .arrow {
- top: 8px;
-}
-
-.slider .hide {
- display: none;
-}
-
-.slider-track {
- background-color: #f7f7f7;
- background-image: -moz-linear-gradient(top, #F5F5F5, #F9F9F9);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F5F5F5), to(#F9F9F9));
- background-image: -webkit-linear-gradient(top, #F5F5F5, #F9F9F9);
- background-image: -o-linear-gradient(top, #F5F5F5, #F9F9F9);
- background-image: linear-gradient(to bottom, #F5F5F5, #F9F9F9);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F5F5F5', endColorstr='#F9F9F9',GradientType=0);
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- position: absolute;
- cursor: pointer;
-}
-
-.slider-selection {
- background-color: #f7f7f7;
- background-image: -moz-linear-gradient(top, #F9F9F9, #F5F5F5);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F9F9F9), to(#F5F5F5));
- background-image: -webkit-linear-gradient(top, #F9F9F9, #F5F5F5);
- background-image: -o-linear-gradient(top, #F9F9F9, #F5F5F5);
- background-image: linear-gradient(to bottom, #F9F9F9, #F5F5F5);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F9F9F9', endColorstr='#F5F5F5',GradientType=0);
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- position: absolute;
-}
-
-.slider-selection.tick-slider-selection {
- background-color: #46c1fe;
- background-image: -moz-linear-gradient(top, #52c5ff, #3abcfd);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52c5ff), to(#3abcfd));
- background-image: -webkit-linear-gradient(top, #52c5ff, #3abcfd);
- background-image: -o-linear-gradient(top, #52c5ff, #3abcfd);
- background-image: linear-gradient(to bottom, #52c5ff, #3abcfd);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#52c5ff', endColorstr='#3abcfd',GradientType=0);
-}
-
-.slider-track-low, .slider-track-high {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
- position: absolute;
- background: transparent;
-}
-
-.slider-handle {
- background-color: #0478b2;
- background-image: -moz-linear-gradient(top, #0480BE, #036fa5);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0480BE), to(#036fa5));
- background-image: -webkit-linear-gradient(top, #0480BE, #036fa5);
- background-image: -o-linear-gradient(top, #0480BE, #036fa5);
- background-image: linear-gradient(to bottom, #0480BE, #036fa5);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0480BE', endColorstr='#036fa5',GradientType=0);
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- position: absolute;
- top: 0;
- width: 20px;
- height: 20px;
- background-color: #0480BE;
- border: 0px solid transparent;
-}
-
-.slider-handle:hover {
- cursor: pointer;
-}
-
-.slider-handle.round {
- -webkit-border-radius: 20px;
- -moz-border-radius: 20px;
- border-radius: 20px;
-}
-
-.slider-handle.triangle {
- background: transparent none;
-}
-
-.slider-handle.custom {
- background: transparent none;
-}
-
-.slider-handle.custom::before {
- line-height: 20px;
- font-size: 20px;
- content: '\2605';
- color: #726204;
-}
-
-.slider-tick {
- background-color: #f7f7f7;
- background-image: -moz-linear-gradient(top, #F5F5F5, #F9F9F9);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F5F5F5), to(#F9F9F9));
- background-image: -webkit-linear-gradient(top, #F5F5F5, #F9F9F9);
- background-image: -o-linear-gradient(top, #F5F5F5, #F9F9F9);
- background-image: linear-gradient(to bottom, #F5F5F5, #F9F9F9);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F5F5F5', endColorstr='#F9F9F9',GradientType=0);
- -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- position: absolute;
- cursor: pointer;
- width: 20px;
- height: 20px;
- filter: none;
- opacity: 0.8;
- border: 0px solid transparent;
-}
-
-.slider-tick.round {
- border-radius: 50%;
-}
-
-.slider-tick.triangle {
- background: transparent none;
-}
-
-.slider-tick.custom {
- background: transparent none;
-}
-
-.slider-tick.custom::before {
- line-height: 20px;
- font-size: 20px;
- content: '\2605';
- color: #726204;
-}
-
-.slider-tick.in-selection {
- background-color: #46c1fe;
- background-image: -moz-linear-gradient(top, #52c5ff, #3abcfd);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52c5ff), to(#3abcfd));
- background-image: -webkit-linear-gradient(top, #52c5ff, #3abcfd);
- background-image: -o-linear-gradient(top, #52c5ff, #3abcfd);
- background-image: linear-gradient(to bottom, #52c5ff, #3abcfd);
- background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#52c5ff', endColorstr='#3abcfd',GradientType=0);
- opacity: 1;
-}
-
-/*# sourceMappingURL=bootstrap-slider.css.map */
\ No newline at end of file
diff --git a/vendor/bootstrap-slider/bootstrap-slider.js b/vendor/bootstrap-slider/bootstrap-slider.js
deleted file mode 100644
index de1959c9e..000000000
--- a/vendor/bootstrap-slider/bootstrap-slider.js
+++ /dev/null
@@ -1,2061 +0,0 @@
-/*! =======================================================
- VERSION 11.0.2
-========================================================= */
-"use strict";
-
-var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
-
-/*! =========================================================
- * bootstrap-slider.js
- *
- * Maintainers:
- * Kyle Kemp
- * - Twitter: @seiyria
- * - Github: seiyria
- * Rohit Kalkur
- * - Twitter: @Rovolutionary
- * - Github: rovolution
- *
- * =========================================================
- *
- * bootstrap-slider is released under the MIT License
- * Copyright (c) 2019 Kyle Kemp, Rohit Kalkur, and contributors
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *
- * ========================================================= */
-
-/**
- * Bridget makes jQuery widgets
- * v1.0.1
- * MIT license
- */
-var windowIsDefined = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object";
-
-(function (factory) {
- if (typeof define === "function" && define.amd) {
- define(["jquery"], factory);
- } else if ((typeof module === "undefined" ? "undefined" : _typeof(module)) === "object" && module.exports) {
- var jQuery;
- try {
- jQuery = require("jquery");
- } catch (err) {
- jQuery = null;
- }
- module.exports = factory(jQuery);
- } else if (window) {
- window.Slider = factory(window.jQuery);
- }
-})(function ($) {
- // Constants
- var NAMESPACE_MAIN = 'slider';
- var NAMESPACE_ALTERNATE = 'bootstrapSlider';
-
- // Polyfill console methods
- if (windowIsDefined && !window.console) {
- window.console = {};
- }
- if (windowIsDefined && !window.console.log) {
- window.console.log = function () {};
- }
- if (windowIsDefined && !window.console.warn) {
- window.console.warn = function () {};
- }
-
- // Reference to Slider constructor
- var Slider;
-
- (function ($) {
-
- 'use strict';
-
- // -------------------------- utils -------------------------- //
-
- var slice = Array.prototype.slice;
-
- function noop() {}
-
- // -------------------------- definition -------------------------- //
-
- function defineBridget($) {
-
- // bail if no jQuery
- if (!$) {
- return;
- }
-
- // -------------------------- addOptionMethod -------------------------- //
-
- /**
- * adds option method -> $().plugin('option', {...})
- * @param {Function} PluginClass - constructor class
- */
- function addOptionMethod(PluginClass) {
- // don't overwrite original option method
- if (PluginClass.prototype.option) {
- return;
- }
-
- // option setter
- PluginClass.prototype.option = function (opts) {
- // bail out if not an object
- if (!$.isPlainObject(opts)) {
- return;
- }
- this.options = $.extend(true, this.options, opts);
- };
- }
-
- // -------------------------- plugin bridge -------------------------- //
-
- // helper function for logging errors
- // $.error breaks jQuery chaining
- var logError = typeof console === 'undefined' ? noop : function (message) {
- console.error(message);
- };
-
- /**
- * jQuery plugin bridge, access methods like $elem.plugin('method')
- * @param {String} namespace - plugin name
- * @param {Function} PluginClass - constructor class
- */
- function bridge(namespace, PluginClass) {
- // add to jQuery fn namespace
- $.fn[namespace] = function (options) {
- if (typeof options === 'string') {
- // call plugin method when first argument is a string
- // get arguments for method
- var args = slice.call(arguments, 1);
-
- for (var i = 0, len = this.length; i < len; i++) {
- var elem = this[i];
- var instance = $.data(elem, namespace);
- if (!instance) {
- logError("cannot call methods on " + namespace + " prior to initialization; " + "attempted to call '" + options + "'");
- continue;
- }
- if (!$.isFunction(instance[options]) || options.charAt(0) === '_') {
- logError("no such method '" + options + "' for " + namespace + " instance");
- continue;
- }
-
- // trigger method with arguments
- var returnValue = instance[options].apply(instance, args);
-
- // break look and return first value if provided
- if (returnValue !== undefined && returnValue !== instance) {
- return returnValue;
- }
- }
- // return this if no return value
- return this;
- } else {
- var objects = this.map(function () {
- var instance = $.data(this, namespace);
- if (instance) {
- // apply options & init
- instance.option(options);
- instance._init();
- } else {
- // initialize new instance
- instance = new PluginClass(this, options);
- $.data(this, namespace, instance);
- }
- return $(this);
- });
-
- if (objects.length === 1) {
- return objects[0];
- }
- return objects;
- }
- };
- }
-
- // -------------------------- bridget -------------------------- //
-
- /**
- * converts a Prototypical class into a proper jQuery plugin
- * the class must have a ._init method
- * @param {String} namespace - plugin name, used in $().pluginName
- * @param {Function} PluginClass - constructor class
- */
- $.bridget = function (namespace, PluginClass) {
- addOptionMethod(PluginClass);
- bridge(namespace, PluginClass);
- };
-
- return $.bridget;
- }
-
- // get jquery from browser global
- defineBridget($);
- })($);
-
- /*************************************************
- BOOTSTRAP-SLIDER SOURCE CODE
- **************************************************/
-
- (function ($) {
- var autoRegisterNamespace = void 0;
-
- var ErrorMsgs = {
- formatInvalidInputErrorMsg: function formatInvalidInputErrorMsg(input) {
- return "Invalid input value '" + input + "' passed in";
- },
- callingContextNotSliderInstance: "Calling context element does not have instance of Slider bound to it. Check your code to make sure the JQuery object returned from the call to the slider() initializer is calling the method"
- };
-
- var SliderScale = {
- linear: {
- getValue: function getValue(value, options) {
- if (value < options.min) {
- return options.min;
- } else if (value > options.max) {
- return options.max;
- } else {
- return value;
- }
- },
- toValue: function toValue(percentage) {
- var rawValue = percentage / 100 * (this.options.max - this.options.min);
- var shouldAdjustWithBase = true;
- if (this.options.ticks_positions.length > 0) {
- var minv,
- maxv,
- minp,
- maxp = 0;
- for (var i = 1; i < this.options.ticks_positions.length; i++) {
- if (percentage <= this.options.ticks_positions[i]) {
- minv = this.options.ticks[i - 1];
- minp = this.options.ticks_positions[i - 1];
- maxv = this.options.ticks[i];
- maxp = this.options.ticks_positions[i];
-
- break;
- }
- }
- var partialPercentage = (percentage - minp) / (maxp - minp);
- rawValue = minv + partialPercentage * (maxv - minv);
- shouldAdjustWithBase = false;
- }
-
- var adjustment = shouldAdjustWithBase ? this.options.min : 0;
- var value = adjustment + Math.round(rawValue / this.options.step) * this.options.step;
- return SliderScale.linear.getValue(value, this.options);
- },
- toPercentage: function toPercentage(value) {
- if (this.options.max === this.options.min) {
- return 0;
- }
-
- if (this.options.ticks_positions.length > 0) {
- var minv,
- maxv,
- minp,
- maxp = 0;
- for (var i = 0; i < this.options.ticks.length; i++) {
- if (value <= this.options.ticks[i]) {
- minv = i > 0 ? this.options.ticks[i - 1] : 0;
- minp = i > 0 ? this.options.ticks_positions[i - 1] : 0;
- maxv = this.options.ticks[i];
- maxp = this.options.ticks_positions[i];
-
- break;
- }
- }
- if (i > 0) {
- var partialPercentage = (value - minv) / (maxv - minv);
- return minp + partialPercentage * (maxp - minp);
- }
- }
-
- return 100 * (value - this.options.min) / (this.options.max - this.options.min);
- }
- },
-
- logarithmic: {
- /* Based on http://stackoverflow.com/questions/846221/logarithmic-slider */
- toValue: function toValue(percentage) {
- var offset = 1 - this.options.min;
- var min = Math.log(this.options.min + offset);
- var max = Math.log(this.options.max + offset);
- var value = Math.exp(min + (max - min) * percentage / 100) - offset;
- if (Math.round(value) === max) {
- return max;
- }
- value = this.options.min + Math.round((value - this.options.min) / this.options.step) * this.options.step;
- /* Rounding to the nearest step could exceed the min or
- * max, so clip to those values. */
- return SliderScale.linear.getValue(value, this.options);
- },
- toPercentage: function toPercentage(value) {
- if (this.options.max === this.options.min) {
- return 0;
- } else {
- var offset = 1 - this.options.min;
- var max = Math.log(this.options.max + offset);
- var min = Math.log(this.options.min + offset);
- var v = Math.log(value + offset);
- return 100 * (v - min) / (max - min);
- }
- }
- }
- };
-
- /*************************************************
- CONSTRUCTOR
- **************************************************/
- Slider = function Slider(element, options) {
- createNewSlider.call(this, element, options);
- return this;
- };
-
- function createNewSlider(element, options) {
-
- /*
- The internal state object is used to store data about the current 'state' of slider.
- This includes values such as the `value`, `enabled`, etc...
- */
- this._state = {
- value: null,
- enabled: null,
- offset: null,
- size: null,
- percentage: null,
- inDrag: false,
- over: false,
- tickIndex: null
- };
-
- // The objects used to store the reference to the tick methods if ticks_tooltip is on
- this.ticksCallbackMap = {};
- this.handleCallbackMap = {};
-
- if (typeof element === "string") {
- this.element = document.querySelector(element);
- } else if (element instanceof HTMLElement) {
- this.element = element;
- }
-
- /*************************************************
- Process Options
- **************************************************/
- options = options ? options : {};
- var optionTypes = Object.keys(this.defaultOptions);
-
- var isMinSet = options.hasOwnProperty('min');
- var isMaxSet = options.hasOwnProperty('max');
-
- for (var i = 0; i < optionTypes.length; i++) {
- var optName = optionTypes[i];
-
- // First check if an option was passed in via the constructor
- var val = options[optName];
- // If no data attrib, then check data atrributes
- val = typeof val !== 'undefined' ? val : getDataAttrib(this.element, optName);
- // Finally, if nothing was specified, use the defaults
- val = val !== null ? val : this.defaultOptions[optName];
-
- // Set all options on the instance of the Slider
- if (!this.options) {
- this.options = {};
- }
- this.options[optName] = val;
- }
-
- this.ticksAreValid = Array.isArray(this.options.ticks) && this.options.ticks.length > 0;
-
- // Lock to ticks only when ticks[] is defined and set
- if (!this.ticksAreValid) {
- this.options.lock_to_ticks = false;
- }
-
- // Check options.rtl
- if (this.options.rtl === 'auto') {
- var computedStyle = window.getComputedStyle(this.element);
- if (computedStyle != null) {
- this.options.rtl = computedStyle.direction === 'rtl';
- } else {
- // Fix for Firefox bug in versions less than 62:
- // https://bugzilla.mozilla.org/show_bug.cgi?id=548397
- // https://bugzilla.mozilla.org/show_bug.cgi?id=1467722
- this.options.rtl = this.element.style.direction === 'rtl';
- }
- }
-
- /*
- Validate `tooltip_position` against 'orientation`
- - if `tooltip_position` is incompatible with orientation, switch it to a default compatible with specified `orientation`
- -- default for "vertical" -> "right", "left" if rtl
- -- default for "horizontal" -> "top"
- */
- if (this.options.orientation === "vertical" && (this.options.tooltip_position === "top" || this.options.tooltip_position === "bottom")) {
- if (this.options.rtl) {
- this.options.tooltip_position = "left";
- } else {
- this.options.tooltip_position = "right";
- }
- } else if (this.options.orientation === "horizontal" && (this.options.tooltip_position === "left" || this.options.tooltip_position === "right")) {
-
- this.options.tooltip_position = "top";
- }
-
- function getDataAttrib(element, optName) {
- var dataName = "data-slider-" + optName.replace(/_/g, '-');
- var dataValString = element.getAttribute(dataName);
-
- try {
- return JSON.parse(dataValString);
- } catch (err) {
- return dataValString;
- }
- }
-
- /*************************************************
- Create Markup
- **************************************************/
-
- var origWidth = this.element.style.width;
- var updateSlider = false;
- var parent = this.element.parentNode;
- var sliderTrackSelection;
- var sliderTrackLow, sliderTrackHigh;
- var sliderMinHandle;
- var sliderMaxHandle;
-
- if (this.sliderElem) {
- updateSlider = true;
- } else {
- /* Create elements needed for slider */
- this.sliderElem = document.createElement("div");
- this.sliderElem.className = "slider";
-
- /* Create slider track elements */
- var sliderTrack = document.createElement("div");
- sliderTrack.className = "slider-track";
-
- sliderTrackLow = document.createElement("div");
- sliderTrackLow.className = "slider-track-low";
-
- sliderTrackSelection = document.createElement("div");
- sliderTrackSelection.className = "slider-selection";
-
- sliderTrackHigh = document.createElement("div");
- sliderTrackHigh.className = "slider-track-high";
-
- sliderMinHandle = document.createElement("div");
- sliderMinHandle.className = "slider-handle min-slider-handle";
- sliderMinHandle.setAttribute('role', 'slider');
- sliderMinHandle.setAttribute('aria-valuemin', this.options.min);
- sliderMinHandle.setAttribute('aria-valuemax', this.options.max);
-
- sliderMaxHandle = document.createElement("div");
- sliderMaxHandle.className = "slider-handle max-slider-handle";
- sliderMaxHandle.setAttribute('role', 'slider');
- sliderMaxHandle.setAttribute('aria-valuemin', this.options.min);
- sliderMaxHandle.setAttribute('aria-valuemax', this.options.max);
-
- sliderTrack.appendChild(sliderTrackLow);
- sliderTrack.appendChild(sliderTrackSelection);
- sliderTrack.appendChild(sliderTrackHigh);
-
- /* Create highlight range elements */
- this.rangeHighlightElements = [];
- var rangeHighlightsOpts = this.options.rangeHighlights;
- if (Array.isArray(rangeHighlightsOpts) && rangeHighlightsOpts.length > 0) {
- for (var j = 0; j < rangeHighlightsOpts.length; j++) {
- var rangeHighlightElement = document.createElement("div");
- var customClassString = rangeHighlightsOpts[j].class || "";
- rangeHighlightElement.className = "slider-rangeHighlight slider-selection " + customClassString;
- this.rangeHighlightElements.push(rangeHighlightElement);
- sliderTrack.appendChild(rangeHighlightElement);
- }
- }
-
- /* Add aria-labelledby to handle's */
- var isLabelledbyArray = Array.isArray(this.options.labelledby);
- if (isLabelledbyArray && this.options.labelledby[0]) {
- sliderMinHandle.setAttribute('aria-labelledby', this.options.labelledby[0]);
- }
- if (isLabelledbyArray && this.options.labelledby[1]) {
- sliderMaxHandle.setAttribute('aria-labelledby', this.options.labelledby[1]);
- }
- if (!isLabelledbyArray && this.options.labelledby) {
- sliderMinHandle.setAttribute('aria-labelledby', this.options.labelledby);
- sliderMaxHandle.setAttribute('aria-labelledby', this.options.labelledby);
- }
-
- /* Create ticks */
- this.ticks = [];
- if (Array.isArray(this.options.ticks) && this.options.ticks.length > 0) {
- this.ticksContainer = document.createElement('div');
- this.ticksContainer.className = 'slider-tick-container';
-
- for (i = 0; i < this.options.ticks.length; i++) {
- var tick = document.createElement('div');
- tick.className = 'slider-tick';
- if (this.options.ticks_tooltip) {
- var tickListenerReference = this._addTickListener();
- var enterCallback = tickListenerReference.addMouseEnter(this, tick, i);
- var leaveCallback = tickListenerReference.addMouseLeave(this, tick);
-
- this.ticksCallbackMap[i] = {
- mouseEnter: enterCallback,
- mouseLeave: leaveCallback
- };
- }
- this.ticks.push(tick);
- this.ticksContainer.appendChild(tick);
- }
-
- sliderTrackSelection.className += " tick-slider-selection";
- }
-
- this.tickLabels = [];
- if (Array.isArray(this.options.ticks_labels) && this.options.ticks_labels.length > 0) {
- this.tickLabelContainer = document.createElement('div');
- this.tickLabelContainer.className = 'slider-tick-label-container';
-
- for (i = 0; i < this.options.ticks_labels.length; i++) {
- var label = document.createElement('div');
- var noTickPositionsSpecified = this.options.ticks_positions.length === 0;
- var tickLabelsIndex = this.options.reversed && noTickPositionsSpecified ? this.options.ticks_labels.length - (i + 1) : i;
- label.className = 'slider-tick-label';
- label.innerHTML = this.options.ticks_labels[tickLabelsIndex];
-
- this.tickLabels.push(label);
- this.tickLabelContainer.appendChild(label);
- }
- }
-
- var createAndAppendTooltipSubElements = function createAndAppendTooltipSubElements(tooltipElem) {
- var arrow = document.createElement("div");
- arrow.className = "arrow";
-
- var inner = document.createElement("div");
- inner.className = "tooltip-inner";
-
- tooltipElem.appendChild(arrow);
- tooltipElem.appendChild(inner);
- };
-
- /* Create tooltip elements */
- var sliderTooltip = document.createElement("div");
- sliderTooltip.className = "tooltip tooltip-main";
- sliderTooltip.setAttribute('role', 'presentation');
- createAndAppendTooltipSubElements(sliderTooltip);
-
- var sliderTooltipMin = document.createElement("div");
- sliderTooltipMin.className = "tooltip tooltip-min";
- sliderTooltipMin.setAttribute('role', 'presentation');
- createAndAppendTooltipSubElements(sliderTooltipMin);
-
- var sliderTooltipMax = document.createElement("div");
- sliderTooltipMax.className = "tooltip tooltip-max";
- sliderTooltipMax.setAttribute('role', 'presentation');
- createAndAppendTooltipSubElements(sliderTooltipMax);
-
- /* Append components to sliderElem */
- this.sliderElem.appendChild(sliderTrack);
- this.sliderElem.appendChild(sliderTooltip);
- this.sliderElem.appendChild(sliderTooltipMin);
- this.sliderElem.appendChild(sliderTooltipMax);
-
- if (this.tickLabelContainer) {
- this.sliderElem.appendChild(this.tickLabelContainer);
- }
- if (this.ticksContainer) {
- this.sliderElem.appendChild(this.ticksContainer);
- }
-
- this.sliderElem.appendChild(sliderMinHandle);
- this.sliderElem.appendChild(sliderMaxHandle);
-
- /* Append slider element to parent container, right before the original element */
- parent.insertBefore(this.sliderElem, this.element);
-
- /* Hide original element */
- this.element.style.display = "none";
- }
- /* If JQuery exists, cache JQ references */
- if ($) {
- this.$element = $(this.element);
- this.$sliderElem = $(this.sliderElem);
- }
-
- /*************************************************
- Setup
- **************************************************/
- this.eventToCallbackMap = {};
- this.sliderElem.id = this.options.id;
-
- this.touchCapable = 'ontouchstart' in window || window.DocumentTouch && document instanceof window.DocumentTouch;
-
- this.touchX = 0;
- this.touchY = 0;
-
- this.tooltip = this.sliderElem.querySelector('.tooltip-main');
- this.tooltipInner = this.tooltip.querySelector('.tooltip-inner');
-
- this.tooltip_min = this.sliderElem.querySelector('.tooltip-min');
- this.tooltipInner_min = this.tooltip_min.querySelector('.tooltip-inner');
-
- this.tooltip_max = this.sliderElem.querySelector('.tooltip-max');
- this.tooltipInner_max = this.tooltip_max.querySelector('.tooltip-inner');
-
- if (SliderScale[this.options.scale]) {
- this.options.scale = SliderScale[this.options.scale];
- }
-
- if (updateSlider === true) {
- // Reset classes
- this._removeClass(this.sliderElem, 'slider-horizontal');
- this._removeClass(this.sliderElem, 'slider-vertical');
- this._removeClass(this.sliderElem, 'slider-rtl');
- this._removeClass(this.tooltip, 'hide');
- this._removeClass(this.tooltip_min, 'hide');
- this._removeClass(this.tooltip_max, 'hide');
-
- // Undo existing inline styles for track
- ["left", "right", "top", "width", "height"].forEach(function (prop) {
- this._removeProperty(this.trackLow, prop);
- this._removeProperty(this.trackSelection, prop);
- this._removeProperty(this.trackHigh, prop);
- }, this);
-
- // Undo inline styles on handles
- [this.handle1, this.handle2].forEach(function (handle) {
- this._removeProperty(handle, 'left');
- this._removeProperty(handle, 'right');
- this._removeProperty(handle, 'top');
- }, this);
-
- // Undo inline styles and classes on tooltips
- [this.tooltip, this.tooltip_min, this.tooltip_max].forEach(function (tooltip) {
- this._removeProperty(tooltip, 'bs-tooltip-left');
- this._removeProperty(tooltip, 'bs-tooltip-right');
- this._removeProperty(tooltip, 'bs-tooltip-top');
-
- this._removeClass(tooltip, 'bs-tooltip-right');
- this._removeClass(tooltip, 'bs-tooltip-left');
- this._removeClass(tooltip, 'bs-tooltip-top');
- }, this);
- }
-
- if (this.options.orientation === 'vertical') {
- this._addClass(this.sliderElem, 'slider-vertical');
- this.stylePos = 'top';
- this.mousePos = 'pageY';
- this.sizePos = 'offsetHeight';
- } else {
- this._addClass(this.sliderElem, 'slider-horizontal');
- this.sliderElem.style.width = origWidth;
- this.options.orientation = 'horizontal';
- if (this.options.rtl) {
- this.stylePos = 'right';
- } else {
- this.stylePos = 'left';
- }
- this.mousePos = 'clientX';
- this.sizePos = 'offsetWidth';
- }
- // specific rtl class
- if (this.options.rtl) {
- this._addClass(this.sliderElem, 'slider-rtl');
- }
- this._setTooltipPosition();
- /* In case ticks are specified, overwrite the min and max bounds */
- if (Array.isArray(this.options.ticks) && this.options.ticks.length > 0) {
- if (!isMaxSet) {
- this.options.max = Math.max.apply(Math, this.options.ticks);
- }
- if (!isMinSet) {
- this.options.min = Math.min.apply(Math, this.options.ticks);
- }
- }
-
- if (Array.isArray(this.options.value)) {
- this.options.range = true;
- this._state.value = this.options.value;
- } else if (this.options.range) {
- // User wants a range, but value is not an array
- this._state.value = [this.options.value, this.options.max];
- } else {
- this._state.value = this.options.value;
- }
-
- this.trackLow = sliderTrackLow || this.trackLow;
- this.trackSelection = sliderTrackSelection || this.trackSelection;
- this.trackHigh = sliderTrackHigh || this.trackHigh;
-
- if (this.options.selection === 'none') {
- this._addClass(this.trackLow, 'hide');
- this._addClass(this.trackSelection, 'hide');
- this._addClass(this.trackHigh, 'hide');
- } else if (this.options.selection === 'after' || this.options.selection === 'before') {
- this._removeClass(this.trackLow, 'hide');
- this._removeClass(this.trackSelection, 'hide');
- this._removeClass(this.trackHigh, 'hide');
- }
-
- this.handle1 = sliderMinHandle || this.handle1;
- this.handle2 = sliderMaxHandle || this.handle2;
-
- if (updateSlider === true) {
- // Reset classes
- this._removeClass(this.handle1, 'round triangle');
- this._removeClass(this.handle2, 'round triangle hide');
-
- for (i = 0; i < this.ticks.length; i++) {
- this._removeClass(this.ticks[i], 'round triangle hide');
- }
- }
-
- var availableHandleModifiers = ['round', 'triangle', 'custom'];
- var isValidHandleType = availableHandleModifiers.indexOf(this.options.handle) !== -1;
- if (isValidHandleType) {
- this._addClass(this.handle1, this.options.handle);
- this._addClass(this.handle2, this.options.handle);
-
- for (i = 0; i < this.ticks.length; i++) {
- this._addClass(this.ticks[i], this.options.handle);
- }
- }
-
- this._state.offset = this._offset(this.sliderElem);
- this._state.size = this.sliderElem[this.sizePos];
- this.setValue(this._state.value);
-
- /******************************************
- Bind Event Listeners
- ******************************************/
-
- // Bind keyboard handlers
- this.handle1Keydown = this._keydown.bind(this, 0);
- this.handle1.addEventListener("keydown", this.handle1Keydown, false);
-
- this.handle2Keydown = this._keydown.bind(this, 1);
- this.handle2.addEventListener("keydown", this.handle2Keydown, false);
-
- this.mousedown = this._mousedown.bind(this);
- this.touchstart = this._touchstart.bind(this);
- this.touchmove = this._touchmove.bind(this);
-
- if (this.touchCapable) {
- this.sliderElem.addEventListener("touchstart", this.touchstart, false);
- this.sliderElem.addEventListener("touchmove", this.touchmove, false);
- }
-
- this.sliderElem.addEventListener("mousedown", this.mousedown, false);
-
- // Bind window handlers
- this.resize = this._resize.bind(this);
- window.addEventListener("resize", this.resize, false);
-
- // Bind tooltip-related handlers
- if (this.options.tooltip === 'hide') {
- this._addClass(this.tooltip, 'hide');
- this._addClass(this.tooltip_min, 'hide');
- this._addClass(this.tooltip_max, 'hide');
- } else if (this.options.tooltip === 'always') {
- this._showTooltip();
- this._alwaysShowTooltip = true;
- } else {
- this.showTooltip = this._showTooltip.bind(this);
- this.hideTooltip = this._hideTooltip.bind(this);
-
- if (this.options.ticks_tooltip) {
- var callbackHandle = this._addTickListener();
- //create handle1 listeners and store references in map
- var mouseEnter = callbackHandle.addMouseEnter(this, this.handle1);
- var mouseLeave = callbackHandle.addMouseLeave(this, this.handle1);
- this.handleCallbackMap.handle1 = {
- mouseEnter: mouseEnter,
- mouseLeave: mouseLeave
- };
- //create handle2 listeners and store references in map
- mouseEnter = callbackHandle.addMouseEnter(this, this.handle2);
- mouseLeave = callbackHandle.addMouseLeave(this, this.handle2);
- this.handleCallbackMap.handle2 = {
- mouseEnter: mouseEnter,
- mouseLeave: mouseLeave
- };
- } else {
- this.sliderElem.addEventListener("mouseenter", this.showTooltip, false);
- this.sliderElem.addEventListener("mouseleave", this.hideTooltip, false);
-
- if (this.touchCapable) {
- this.sliderElem.addEventListener("touchstart", this.showTooltip, false);
- this.sliderElem.addEventListener("touchmove", this.showTooltip, false);
- this.sliderElem.addEventListener("touchend", this.hideTooltip, false);
- }
- }
-
- this.handle1.addEventListener("focus", this.showTooltip, false);
- this.handle1.addEventListener("blur", this.hideTooltip, false);
-
- this.handle2.addEventListener("focus", this.showTooltip, false);
- this.handle2.addEventListener("blur", this.hideTooltip, false);
-
- if (this.touchCapable) {
- this.handle1.addEventListener("touchstart", this.showTooltip, false);
- this.handle1.addEventListener("touchmove", this.showTooltip, false);
- this.handle1.addEventListener("touchend", this.hideTooltip, false);
-
- this.handle2.addEventListener("touchstart", this.showTooltip, false);
- this.handle2.addEventListener("touchmove", this.showTooltip, false);
- this.handle2.addEventListener("touchend", this.hideTooltip, false);
- }
- }
-
- if (this.options.enabled) {
- this.enable();
- } else {
- this.disable();
- }
- }
-
- /*************************************************
- INSTANCE PROPERTIES/METHODS
- - Any methods bound to the prototype are considered
- part of the plugin's `public` interface
- **************************************************/
- Slider.prototype = {
- _init: function _init() {}, // NOTE: Must exist to support bridget
-
- constructor: Slider,
-
- defaultOptions: {
- id: "",
- min: 0,
- max: 10,
- step: 1,
- precision: 0,
- orientation: 'horizontal',
- value: 5,
- range: false,
- selection: 'before',
- tooltip: 'show',
- tooltip_split: false,
- lock_to_ticks: false,
- handle: 'round',
- reversed: false,
- rtl: 'auto',
- enabled: true,
- formatter: function formatter(val) {
- if (Array.isArray(val)) {
- return val[0] + " : " + val[1];
- } else {
- return val;
- }
- },
- natural_arrow_keys: false,
- ticks: [],
- ticks_positions: [],
- ticks_labels: [],
- ticks_snap_bounds: 0,
- ticks_tooltip: false,
- scale: 'linear',
- focus: false,
- tooltip_position: null,
- labelledby: null,
- rangeHighlights: []
- },
-
- getElement: function getElement() {
- return this.sliderElem;
- },
-
- getValue: function getValue() {
- if (this.options.range) {
- return this._state.value;
- } else {
- return this._state.value[0];
- }
- },
-
- setValue: function setValue(val, triggerSlideEvent, triggerChangeEvent) {
- if (!val) {
- val = 0;
- }
- var oldValue = this.getValue();
- this._state.value = this._validateInputValue(val);
- var applyPrecision = this._applyPrecision.bind(this);
-
- if (this.options.range) {
- this._state.value[0] = applyPrecision(this._state.value[0]);
- this._state.value[1] = applyPrecision(this._state.value[1]);
-
- if (this.ticksAreValid && this.options.lock_to_ticks) {
- this._state.value[0] = this.options.ticks[this._getClosestTickIndex(this._state.value[0])];
- this._state.value[1] = this.options.ticks[this._getClosestTickIndex(this._state.value[1])];
- }
-
- this._state.value[0] = Math.max(this.options.min, Math.min(this.options.max, this._state.value[0]));
- this._state.value[1] = Math.max(this.options.min, Math.min(this.options.max, this._state.value[1]));
- } else {
- this._state.value = applyPrecision(this._state.value);
-
- if (this.ticksAreValid && this.options.lock_to_ticks) {
- this._state.value = this.options.ticks[this._getClosestTickIndex(this._state.value)];
- }
-
- this._state.value = [Math.max(this.options.min, Math.min(this.options.max, this._state.value))];
- this._addClass(this.handle2, 'hide');
- if (this.options.selection === 'after') {
- this._state.value[1] = this.options.max;
- } else {
- this._state.value[1] = this.options.min;
- }
- }
-
- // Determine which ticks the handle(s) are set at (if applicable)
- this._setTickIndex();
-
- if (this.options.max > this.options.min) {
- this._state.percentage = [this._toPercentage(this._state.value[0]), this._toPercentage(this._state.value[1]), this.options.step * 100 / (this.options.max - this.options.min)];
- } else {
- this._state.percentage = [0, 0, 100];
- }
-
- this._layout();
- var newValue = this.options.range ? this._state.value : this._state.value[0];
-
- this._setDataVal(newValue);
- if (triggerSlideEvent === true) {
- this._trigger('slide', newValue);
- }
-
- var hasChanged = false;
- if (Array.isArray(newValue)) {
- hasChanged = oldValue[0] !== newValue[0] || oldValue[1] !== newValue[1];
- } else {
- hasChanged = oldValue !== newValue;
- }
-
- if (hasChanged && triggerChangeEvent === true) {
- this._trigger('change', {
- oldValue: oldValue,
- newValue: newValue
- });
- }
-
- return this;
- },
-
- destroy: function destroy() {
- // Remove event handlers on slider elements
- this._removeSliderEventHandlers();
-
- // Remove the slider from the DOM
- this.sliderElem.parentNode.removeChild(this.sliderElem);
- /* Show original element */
- this.element.style.display = "";
-
- // Clear out custom event bindings
- this._cleanUpEventCallbacksMap();
-
- // Remove data values
- this.element.removeAttribute("data");
-
- // Remove JQuery handlers/data
- if ($) {
- this._unbindJQueryEventHandlers();
- if (autoRegisterNamespace === NAMESPACE_MAIN) {
- this.$element.removeData(autoRegisterNamespace);
- }
- this.$element.removeData(NAMESPACE_ALTERNATE);
- }
- },
-
- disable: function disable() {
- this._state.enabled = false;
- this.handle1.removeAttribute("tabindex");
- this.handle2.removeAttribute("tabindex");
- this._addClass(this.sliderElem, 'slider-disabled');
- this._trigger('slideDisabled');
-
- return this;
- },
-
- enable: function enable() {
- this._state.enabled = true;
- this.handle1.setAttribute("tabindex", 0);
- this.handle2.setAttribute("tabindex", 0);
- this._removeClass(this.sliderElem, 'slider-disabled');
- this._trigger('slideEnabled');
-
- return this;
- },
-
- toggle: function toggle() {
- if (this._state.enabled) {
- this.disable();
- } else {
- this.enable();
- }
- return this;
- },
-
- isEnabled: function isEnabled() {
- return this._state.enabled;
- },
-
- on: function on(evt, callback) {
- this._bindNonQueryEventHandler(evt, callback);
- return this;
- },
-
- off: function off(evt, callback) {
- if ($) {
- this.$element.off(evt, callback);
- this.$sliderElem.off(evt, callback);
- } else {
- this._unbindNonQueryEventHandler(evt, callback);
- }
- },
-
- getAttribute: function getAttribute(attribute) {
- if (attribute) {
- return this.options[attribute];
- } else {
- return this.options;
- }
- },
-
- setAttribute: function setAttribute(attribute, value) {
- this.options[attribute] = value;
- return this;
- },
-
- refresh: function refresh(options) {
- var currentValue = this.getValue();
- this._removeSliderEventHandlers();
- createNewSlider.call(this, this.element, this.options);
- // Don't reset slider's value on refresh if `useCurrentValue` is true
- if (options && options.useCurrentValue === true) {
- this.setValue(currentValue);
- }
- if ($) {
- // Bind new instance of slider to the element
- if (autoRegisterNamespace === NAMESPACE_MAIN) {
- $.data(this.element, NAMESPACE_MAIN, this);
- $.data(this.element, NAMESPACE_ALTERNATE, this);
- } else {
- $.data(this.element, NAMESPACE_ALTERNATE, this);
- }
- }
- return this;
- },
-
- relayout: function relayout() {
- this._resize();
- return this;
- },
-
- /******************************+
- HELPERS
- - Any method that is not part of the public interface.
- - Place it underneath this comment block and write its signature like so:
- _fnName : function() {...}
- ********************************/
- _removeTooltipListener: function _removeTooltipListener(event, handler) {
- this.handle1.removeEventListener(event, handler, false);
- this.handle2.removeEventListener(event, handler, false);
- },
- _removeSliderEventHandlers: function _removeSliderEventHandlers() {
- // Remove keydown event listeners
- this.handle1.removeEventListener("keydown", this.handle1Keydown, false);
- this.handle2.removeEventListener("keydown", this.handle2Keydown, false);
-
- //remove the listeners from the ticks and handles if they had their own listeners
- if (this.options.ticks_tooltip) {
- var ticks = this.ticksContainer.getElementsByClassName('slider-tick');
- for (var i = 0; i < ticks.length; i++) {
- ticks[i].removeEventListener('mouseenter', this.ticksCallbackMap[i].mouseEnter, false);
- ticks[i].removeEventListener('mouseleave', this.ticksCallbackMap[i].mouseLeave, false);
- }
- if (this.handleCallbackMap.handle1 && this.handleCallbackMap.handle2) {
- this.handle1.removeEventListener('mouseenter', this.handleCallbackMap.handle1.mouseEnter, false);
- this.handle2.removeEventListener('mouseenter', this.handleCallbackMap.handle2.mouseEnter, false);
- this.handle1.removeEventListener('mouseleave', this.handleCallbackMap.handle1.mouseLeave, false);
- this.handle2.removeEventListener('mouseleave', this.handleCallbackMap.handle2.mouseLeave, false);
- }
- }
-
- this.handleCallbackMap = null;
- this.ticksCallbackMap = null;
-
- if (this.showTooltip) {
- this._removeTooltipListener("focus", this.showTooltip);
- }
- if (this.hideTooltip) {
- this._removeTooltipListener("blur", this.hideTooltip);
- }
-
- // Remove event listeners from sliderElem
- if (this.showTooltip) {
- this.sliderElem.removeEventListener("mouseenter", this.showTooltip, false);
- }
- if (this.hideTooltip) {
- this.sliderElem.removeEventListener("mouseleave", this.hideTooltip, false);
- }
-
- this.sliderElem.removeEventListener("mousedown", this.mousedown, false);
-
- if (this.touchCapable) {
- // Remove touch event listeners from handles
- if (this.showTooltip) {
- this.handle1.removeEventListener("touchstart", this.showTooltip, false);
- this.handle1.removeEventListener("touchmove", this.showTooltip, false);
- this.handle2.removeEventListener("touchstart", this.showTooltip, false);
- this.handle2.removeEventListener("touchmove", this.showTooltip, false);
- }
- if (this.hideTooltip) {
- this.handle1.removeEventListener("touchend", this.hideTooltip, false);
- this.handle2.removeEventListener("touchend", this.hideTooltip, false);
- }
-
- // Remove event listeners from sliderElem
- if (this.showTooltip) {
- this.sliderElem.removeEventListener("touchstart", this.showTooltip, false);
- this.sliderElem.removeEventListener("touchmove", this.showTooltip, false);
- }
- if (this.hideTooltip) {
- this.sliderElem.removeEventListener("touchend", this.hideTooltip, false);
- }
-
- this.sliderElem.removeEventListener("touchstart", this.touchstart, false);
- this.sliderElem.removeEventListener("touchmove", this.touchmove, false);
- }
-
- // Remove window event listener
- window.removeEventListener("resize", this.resize, false);
- },
- _bindNonQueryEventHandler: function _bindNonQueryEventHandler(evt, callback) {
- if (this.eventToCallbackMap[evt] === undefined) {
- this.eventToCallbackMap[evt] = [];
- }
- this.eventToCallbackMap[evt].push(callback);
- },
- _unbindNonQueryEventHandler: function _unbindNonQueryEventHandler(evt, callback) {
- var callbacks = this.eventToCallbackMap[evt];
- if (callbacks !== undefined) {
- for (var i = 0; i < callbacks.length; i++) {
- if (callbacks[i] === callback) {
- callbacks.splice(i, 1);
- break;
- }
- }
- }
- },
- _cleanUpEventCallbacksMap: function _cleanUpEventCallbacksMap() {
- var eventNames = Object.keys(this.eventToCallbackMap);
- for (var i = 0; i < eventNames.length; i++) {
- var eventName = eventNames[i];
- delete this.eventToCallbackMap[eventName];
- }
- },
- _showTooltip: function _showTooltip() {
- if (this.options.tooltip_split === false) {
- this._addClass(this.tooltip, 'show');
- this.tooltip_min.style.display = 'none';
- this.tooltip_max.style.display = 'none';
- } else {
- this._addClass(this.tooltip_min, 'show');
- this._addClass(this.tooltip_max, 'show');
- this.tooltip.style.display = 'none';
- }
- this._state.over = true;
- },
- _hideTooltip: function _hideTooltip() {
- if (this._state.inDrag === false && this._alwaysShowTooltip !== true) {
- this._removeClass(this.tooltip, 'show');
- this._removeClass(this.tooltip_min, 'show');
- this._removeClass(this.tooltip_max, 'show');
- }
- this._state.over = false;
- },
- _setToolTipOnMouseOver: function _setToolTipOnMouseOver(tempState) {
- var self = this;
- var formattedTooltipVal = this.options.formatter(!tempState ? this._state.value[0] : tempState.value[0]);
- var positionPercentages = !tempState ? getPositionPercentages(this._state, this.options.reversed) : getPositionPercentages(tempState, this.options.reversed);
- this._setText(this.tooltipInner, formattedTooltipVal);
-
- this.tooltip.style[this.stylePos] = positionPercentages[0] + "%";
-
- function getPositionPercentages(state, reversed) {
- if (reversed) {
- return [100 - state.percentage[0], self.options.range ? 100 - state.percentage[1] : state.percentage[1]];
- }
- return [state.percentage[0], state.percentage[1]];
- }
- },
- _copyState: function _copyState() {
- return {
- value: [this._state.value[0], this._state.value[1]],
- enabled: this._state.enabled,
- offset: this._state.offset,
- size: this._state.size,
- percentage: [this._state.percentage[0], this._state.percentage[1], this._state.percentage[2]],
- inDrag: this._state.inDrag,
- over: this._state.over,
- // deleted or null'd keys
- dragged: this._state.dragged,
- keyCtrl: this._state.keyCtrl
- };
- },
- _addTickListener: function _addTickListener() {
- return {
- addMouseEnter: function addMouseEnter(reference, element, index) {
- var enter = function enter() {
- var tempState = reference._copyState();
- // Which handle is being hovered over?
- var val = element === reference.handle1 ? tempState.value[0] : tempState.value[1];
- var per = void 0;
-
- // Setup value and percentage for tick's 'mouseenter'
- if (index !== undefined) {
- val = reference.options.ticks[index];
- per = reference.options.ticks_positions.length > 0 && reference.options.ticks_positions[index] || reference._toPercentage(reference.options.ticks[index]);
- } else {
- per = reference._toPercentage(val);
- }
-
- tempState.value[0] = val;
- tempState.percentage[0] = per;
- reference._setToolTipOnMouseOver(tempState);
- reference._showTooltip();
- };
- element.addEventListener("mouseenter", enter, false);
- return enter;
- },
- addMouseLeave: function addMouseLeave(reference, element) {
- var leave = function leave() {
- reference._hideTooltip();
- };
- element.addEventListener("mouseleave", leave, false);
- return leave;
- }
- };
- },
- _layout: function _layout() {
- var positionPercentages;
- var formattedValue;
-
- if (this.options.reversed) {
- positionPercentages = [100 - this._state.percentage[0], this.options.range ? 100 - this._state.percentage[1] : this._state.percentage[1]];
- } else {
- positionPercentages = [this._state.percentage[0], this._state.percentage[1]];
- }
-
- this.handle1.style[this.stylePos] = positionPercentages[0] + "%";
- this.handle1.setAttribute('aria-valuenow', this._state.value[0]);
- formattedValue = this.options.formatter(this._state.value[0]);
- if (isNaN(formattedValue)) {
- this.handle1.setAttribute('aria-valuetext', formattedValue);
- } else {
- this.handle1.removeAttribute('aria-valuetext');
- }
-
- this.handle2.style[this.stylePos] = positionPercentages[1] + "%";
- this.handle2.setAttribute('aria-valuenow', this._state.value[1]);
- formattedValue = this.options.formatter(this._state.value[1]);
- if (isNaN(formattedValue)) {
- this.handle2.setAttribute('aria-valuetext', formattedValue);
- } else {
- this.handle2.removeAttribute('aria-valuetext');
- }
-
- /* Position highlight range elements */
- if (this.rangeHighlightElements.length > 0 && Array.isArray(this.options.rangeHighlights) && this.options.rangeHighlights.length > 0) {
- for (var _i = 0; _i < this.options.rangeHighlights.length; _i++) {
- var startPercent = this._toPercentage(this.options.rangeHighlights[_i].start);
- var endPercent = this._toPercentage(this.options.rangeHighlights[_i].end);
-
- if (this.options.reversed) {
- var sp = 100 - endPercent;
- endPercent = 100 - startPercent;
- startPercent = sp;
- }
-
- var currentRange = this._createHighlightRange(startPercent, endPercent);
-
- if (currentRange) {
- if (this.options.orientation === 'vertical') {
- this.rangeHighlightElements[_i].style.top = currentRange.start + "%";
- this.rangeHighlightElements[_i].style.height = currentRange.size + "%";
- } else {
- if (this.options.rtl) {
- this.rangeHighlightElements[_i].style.right = currentRange.start + "%";
- } else {
- this.rangeHighlightElements[_i].style.left = currentRange.start + "%";
- }
- this.rangeHighlightElements[_i].style.width = currentRange.size + "%";
- }
- } else {
- this.rangeHighlightElements[_i].style.display = "none";
- }
- }
- }
-
- /* Position ticks and labels */
- if (Array.isArray(this.options.ticks) && this.options.ticks.length > 0) {
-
- var styleSize = this.options.orientation === 'vertical' ? 'height' : 'width';
- var styleMargin;
- if (this.options.orientation === 'vertical') {
- styleMargin = 'marginTop';
- } else {
- if (this.options.rtl) {
- styleMargin = 'marginRight';
- } else {
- styleMargin = 'marginLeft';
- }
- }
- var labelSize = this._state.size / (this.options.ticks.length - 1);
-
- if (this.tickLabelContainer) {
- var extraMargin = 0;
- if (this.options.ticks_positions.length === 0) {
- if (this.options.orientation !== 'vertical') {
- this.tickLabelContainer.style[styleMargin] = -labelSize / 2 + "px";
- }
-
- extraMargin = this.tickLabelContainer.offsetHeight;
- } else {
- /* Chidren are position absolute, calculate height by finding the max offsetHeight of a child */
- for (i = 0; i < this.tickLabelContainer.childNodes.length; i++) {
- if (this.tickLabelContainer.childNodes[i].offsetHeight > extraMargin) {
- extraMargin = this.tickLabelContainer.childNodes[i].offsetHeight;
- }
- }
- }
- if (this.options.orientation === 'horizontal') {
- this.sliderElem.style.marginBottom = extraMargin + "px";
- }
- }
- for (var i = 0; i < this.options.ticks.length; i++) {
-
- var percentage = this.options.ticks_positions[i] || this._toPercentage(this.options.ticks[i]);
-
- if (this.options.reversed) {
- percentage = 100 - percentage;
- }
-
- this.ticks[i].style[this.stylePos] = percentage + "%";
-
- /* Set class labels to denote whether ticks are in the selection */
- this._removeClass(this.ticks[i], 'in-selection');
- if (!this.options.range) {
- if (this.options.selection === 'after' && percentage >= positionPercentages[0]) {
- this._addClass(this.ticks[i], 'in-selection');
- } else if (this.options.selection === 'before' && percentage <= positionPercentages[0]) {
- this._addClass(this.ticks[i], 'in-selection');
- }
- } else if (percentage >= positionPercentages[0] && percentage <= positionPercentages[1]) {
- this._addClass(this.ticks[i], 'in-selection');
- }
-
- if (this.tickLabels[i]) {
- this.tickLabels[i].style[styleSize] = labelSize + "px";
-
- if (this.options.orientation !== 'vertical' && this.options.ticks_positions[i] !== undefined) {
- this.tickLabels[i].style.position = 'absolute';
- this.tickLabels[i].style[this.stylePos] = percentage + "%";
- this.tickLabels[i].style[styleMargin] = -labelSize / 2 + 'px';
- } else if (this.options.orientation === 'vertical') {
- if (this.options.rtl) {
- this.tickLabels[i].style['marginRight'] = this.sliderElem.offsetWidth + "px";
- } else {
- this.tickLabels[i].style['marginLeft'] = this.sliderElem.offsetWidth + "px";
- }
- this.tickLabelContainer.style[styleMargin] = this.sliderElem.offsetWidth / 2 * -1 + 'px';
- }
-
- /* Set class labels to indicate tick labels are in the selection or selected */
- this._removeClass(this.tickLabels[i], 'label-in-selection label-is-selection');
- if (!this.options.range) {
- if (this.options.selection === 'after' && percentage >= positionPercentages[0]) {
- this._addClass(this.tickLabels[i], 'label-in-selection');
- } else if (this.options.selection === 'before' && percentage <= positionPercentages[0]) {
- this._addClass(this.tickLabels[i], 'label-in-selection');
- }
- if (percentage === positionPercentages[0]) {
- this._addClass(this.tickLabels[i], 'label-is-selection');
- }
- } else if (percentage >= positionPercentages[0] && percentage <= positionPercentages[1]) {
- this._addClass(this.tickLabels[i], 'label-in-selection');
- if (percentage === positionPercentages[0] || positionPercentages[1]) {
- this._addClass(this.tickLabels[i], 'label-is-selection');
- }
- }
- }
- }
- }
-
- var formattedTooltipVal;
-
- if (this.options.range) {
- formattedTooltipVal = this.options.formatter(this._state.value);
- this._setText(this.tooltipInner, formattedTooltipVal);
- this.tooltip.style[this.stylePos] = (positionPercentages[1] + positionPercentages[0]) / 2 + "%";
-
- var innerTooltipMinText = this.options.formatter(this._state.value[0]);
- this._setText(this.tooltipInner_min, innerTooltipMinText);
-
- var innerTooltipMaxText = this.options.formatter(this._state.value[1]);
- this._setText(this.tooltipInner_max, innerTooltipMaxText);
-
- this.tooltip_min.style[this.stylePos] = positionPercentages[0] + "%";
-
- this.tooltip_max.style[this.stylePos] = positionPercentages[1] + "%";
- } else {
- formattedTooltipVal = this.options.formatter(this._state.value[0]);
- this._setText(this.tooltipInner, formattedTooltipVal);
-
- this.tooltip.style[this.stylePos] = positionPercentages[0] + "%";
- }
-
- if (this.options.orientation === 'vertical') {
- this.trackLow.style.top = '0';
- this.trackLow.style.height = Math.min(positionPercentages[0], positionPercentages[1]) + '%';
-
- this.trackSelection.style.top = Math.min(positionPercentages[0], positionPercentages[1]) + '%';
- this.trackSelection.style.height = Math.abs(positionPercentages[0] - positionPercentages[1]) + '%';
-
- this.trackHigh.style.bottom = '0';
- this.trackHigh.style.height = 100 - Math.min(positionPercentages[0], positionPercentages[1]) - Math.abs(positionPercentages[0] - positionPercentages[1]) + '%';
- } else {
- if (this.stylePos === 'right') {
- this.trackLow.style.right = '0';
- } else {
- this.trackLow.style.left = '0';
- }
- this.trackLow.style.width = Math.min(positionPercentages[0], positionPercentages[1]) + '%';
-
- if (this.stylePos === 'right') {
- this.trackSelection.style.right = Math.min(positionPercentages[0], positionPercentages[1]) + '%';
- } else {
- this.trackSelection.style.left = Math.min(positionPercentages[0], positionPercentages[1]) + '%';
- }
- this.trackSelection.style.width = Math.abs(positionPercentages[0] - positionPercentages[1]) + '%';
-
- if (this.stylePos === 'right') {
- this.trackHigh.style.left = '0';
- } else {
- this.trackHigh.style.right = '0';
- }
- this.trackHigh.style.width = 100 - Math.min(positionPercentages[0], positionPercentages[1]) - Math.abs(positionPercentages[0] - positionPercentages[1]) + '%';
-
- var offset_min = this.tooltip_min.getBoundingClientRect();
- var offset_max = this.tooltip_max.getBoundingClientRect();
-
- if (this.options.tooltip_position === 'bottom') {
- if (offset_min.right > offset_max.left) {
- this._removeClass(this.tooltip_max, 'bs-tooltip-bottom');
- this._addClass(this.tooltip_max, 'bs-tooltip-top');
- this.tooltip_max.style.top = '';
- this.tooltip_max.style.bottom = 22 + 'px';
- } else {
- this._removeClass(this.tooltip_max, 'bs-tooltip-top');
- this._addClass(this.tooltip_max, 'bs-tooltip-bottom');
- this.tooltip_max.style.top = this.tooltip_min.style.top;
- this.tooltip_max.style.bottom = '';
- }
- } else {
- if (offset_min.right > offset_max.left) {
- this._removeClass(this.tooltip_max, 'bs-tooltip-top');
- this._addClass(this.tooltip_max, 'bs-tooltip-bottom');
- this.tooltip_max.style.top = 18 + 'px';
- } else {
- this._removeClass(this.tooltip_max, 'bs-tooltip-bottom');
- this._addClass(this.tooltip_max, 'bs-tooltip-top');
- this.tooltip_max.style.top = this.tooltip_min.style.top;
- }
- }
- }
- },
- _createHighlightRange: function _createHighlightRange(start, end) {
- if (this._isHighlightRange(start, end)) {
- if (start > end) {
- return { 'start': end, 'size': start - end };
- }
- return { 'start': start, 'size': end - start };
- }
- return null;
- },
- _isHighlightRange: function _isHighlightRange(start, end) {
- if (0 <= start && start <= 100 && 0 <= end && end <= 100) {
- return true;
- } else {
- return false;
- }
- },
- _resize: function _resize(ev) {
- /*jshint unused:false*/
- this._state.offset = this._offset(this.sliderElem);
- this._state.size = this.sliderElem[this.sizePos];
- this._layout();
- },
- _removeProperty: function _removeProperty(element, prop) {
- if (element.style.removeProperty) {
- element.style.removeProperty(prop);
- } else {
- element.style.removeAttribute(prop);
- }
- },
- _mousedown: function _mousedown(ev) {
- if (!this._state.enabled) {
- return false;
- }
-
- if (ev.preventDefault) {
- ev.preventDefault();
- }
-
- this._state.offset = this._offset(this.sliderElem);
- this._state.size = this.sliderElem[this.sizePos];
-
- var percentage = this._getPercentage(ev);
-
- if (this.options.range) {
- var diff1 = Math.abs(this._state.percentage[0] - percentage);
- var diff2 = Math.abs(this._state.percentage[1] - percentage);
- this._state.dragged = diff1 < diff2 ? 0 : 1;
- this._adjustPercentageForRangeSliders(percentage);
- } else {
- this._state.dragged = 0;
- }
-
- this._state.percentage[this._state.dragged] = percentage;
-
- if (this.touchCapable) {
- document.removeEventListener("touchmove", this.mousemove, false);
- document.removeEventListener("touchend", this.mouseup, false);
- }
-
- if (this.mousemove) {
- document.removeEventListener("mousemove", this.mousemove, false);
- }
- if (this.mouseup) {
- document.removeEventListener("mouseup", this.mouseup, false);
- }
-
- this.mousemove = this._mousemove.bind(this);
- this.mouseup = this._mouseup.bind(this);
-
- if (this.touchCapable) {
- // Touch: Bind touch events:
- document.addEventListener("touchmove", this.mousemove, false);
- document.addEventListener("touchend", this.mouseup, false);
- }
- // Bind mouse events:
- document.addEventListener("mousemove", this.mousemove, false);
- document.addEventListener("mouseup", this.mouseup, false);
-
- this._state.inDrag = true;
- var newValue = this._calculateValue();
-
- this._trigger('slideStart', newValue);
-
- this.setValue(newValue, false, true);
-
- ev.returnValue = false;
-
- if (this.options.focus) {
- this._triggerFocusOnHandle(this._state.dragged);
- }
-
- return true;
- },
- _touchstart: function _touchstart(ev) {
- this._mousedown(ev);
- },
- _triggerFocusOnHandle: function _triggerFocusOnHandle(handleIdx) {
- if (handleIdx === 0) {
- this.handle1.focus();
- }
- if (handleIdx === 1) {
- this.handle2.focus();
- }
- },
- _keydown: function _keydown(handleIdx, ev) {
- if (!this._state.enabled) {
- return false;
- }
-
- var dir;
- switch (ev.keyCode) {
- case 37: // left
- case 40:
- // down
- dir = -1;
- break;
- case 39: // right
- case 38:
- // up
- dir = 1;
- break;
- }
- if (!dir) {
- return;
- }
-
- // use natural arrow keys instead of from min to max
- if (this.options.natural_arrow_keys) {
- var isHorizontal = this.options.orientation === 'horizontal';
- var isVertical = this.options.orientation === 'vertical';
- var isRTL = this.options.rtl;
- var isReversed = this.options.reversed;
-
- if (isHorizontal) {
- if (isRTL) {
- if (!isReversed) {
- dir = -dir;
- }
- } else {
- if (isReversed) {
- dir = -dir;
- }
- }
- } else if (isVertical) {
- if (!isReversed) {
- dir = -dir;
- }
- }
- }
-
- var val;
- if (this.ticksAreValid && this.options.lock_to_ticks) {
- var index = void 0;
- // Find tick index that handle 1/2 is currently on
- index = this.options.ticks.indexOf(this._state.value[handleIdx]);
- if (index === -1) {
- // Set default to first tick
- index = 0;
- window.console.warn('(lock_to_ticks) _keydown: index should not be -1');
- }
- index += dir;
- index = Math.max(0, Math.min(this.options.ticks.length - 1, index));
- val = this.options.ticks[index];
- } else {
- val = this._state.value[handleIdx] + dir * this.options.step;
- }
- var percentage = this._toPercentage(val);
- this._state.keyCtrl = handleIdx;
- if (this.options.range) {
- this._adjustPercentageForRangeSliders(percentage);
- var val1 = !this._state.keyCtrl ? val : this._state.value[0];
- var val2 = this._state.keyCtrl ? val : this._state.value[1];
- // Restrict values within limits
- val = [Math.max(this.options.min, Math.min(this.options.max, val1)), Math.max(this.options.min, Math.min(this.options.max, val2))];
- } else {
- val = Math.max(this.options.min, Math.min(this.options.max, val));
- }
-
- this._trigger('slideStart', val);
-
- this.setValue(val, true, true);
-
- this._trigger('slideStop', val);
-
- this._pauseEvent(ev);
- delete this._state.keyCtrl;
-
- return false;
- },
- _pauseEvent: function _pauseEvent(ev) {
- if (ev.stopPropagation) {
- ev.stopPropagation();
- }
- if (ev.preventDefault) {
- ev.preventDefault();
- }
- ev.cancelBubble = true;
- ev.returnValue = false;
- },
- _mousemove: function _mousemove(ev) {
- if (!this._state.enabled) {
- return false;
- }
-
- var percentage = this._getPercentage(ev);
- this._adjustPercentageForRangeSliders(percentage);
- this._state.percentage[this._state.dragged] = percentage;
-
- var val = this._calculateValue(true);
- this.setValue(val, true, true);
-
- return false;
- },
- _touchmove: function _touchmove(ev) {
- if (ev.changedTouches === undefined) {
- return;
- }
-
- // Prevent page from scrolling and only drag the slider
- if (ev.preventDefault) {
- ev.preventDefault();
- }
- },
- _adjustPercentageForRangeSliders: function _adjustPercentageForRangeSliders(percentage) {
- if (this.options.range) {
- var precision = this._getNumDigitsAfterDecimalPlace(percentage);
- precision = precision ? precision - 1 : 0;
- var percentageWithAdjustedPrecision = this._applyToFixedAndParseFloat(percentage, precision);
- if (this._state.dragged === 0 && this._applyToFixedAndParseFloat(this._state.percentage[1], precision) < percentageWithAdjustedPrecision) {
- this._state.percentage[0] = this._state.percentage[1];
- this._state.dragged = 1;
- } else if (this._state.dragged === 1 && this._applyToFixedAndParseFloat(this._state.percentage[0], precision) > percentageWithAdjustedPrecision) {
- this._state.percentage[1] = this._state.percentage[0];
- this._state.dragged = 0;
- } else if (this._state.keyCtrl === 0 && this._toPercentage(this._state.value[1]) < percentage) {
- this._state.percentage[0] = this._state.percentage[1];
- this._state.keyCtrl = 1;
- this.handle2.focus();
- } else if (this._state.keyCtrl === 1 && this._toPercentage(this._state.value[0]) > percentage) {
- this._state.percentage[1] = this._state.percentage[0];
- this._state.keyCtrl = 0;
- this.handle1.focus();
- }
- }
- },
- _mouseup: function _mouseup(ev) {
- if (!this._state.enabled) {
- return false;
- }
-
- var percentage = this._getPercentage(ev);
- this._adjustPercentageForRangeSliders(percentage);
- this._state.percentage[this._state.dragged] = percentage;
-
- if (this.touchCapable) {
- // Touch: Unbind touch event handlers:
- document.removeEventListener("touchmove", this.mousemove, false);
- document.removeEventListener("touchend", this.mouseup, false);
- }
- // Unbind mouse event handlers:
- document.removeEventListener("mousemove", this.mousemove, false);
- document.removeEventListener("mouseup", this.mouseup, false);
-
- this._state.inDrag = false;
- if (this._state.over === false) {
- this._hideTooltip();
- }
- var val = this._calculateValue(true);
-
- this.setValue(val, false, true);
- this._trigger('slideStop', val);
-
- // No longer need 'dragged' after mouse up
- this._state.dragged = null;
-
- return false;
- },
- _setValues: function _setValues(index, val) {
- var comp = 0 === index ? 0 : 100;
- if (this._state.percentage[index] !== comp) {
- val.data[index] = this._toValue(this._state.percentage[index]);
- val.data[index] = this._applyPrecision(val.data[index]);
- }
- },
- _calculateValue: function _calculateValue(snapToClosestTick) {
- var val = {};
- if (this.options.range) {
- val.data = [this.options.min, this.options.max];
- this._setValues(0, val);
- this._setValues(1, val);
- if (snapToClosestTick) {
- val.data[0] = this._snapToClosestTick(val.data[0]);
- val.data[1] = this._snapToClosestTick(val.data[1]);
- }
- } else {
- val.data = this._toValue(this._state.percentage[0]);
- val.data = parseFloat(val.data);
- val.data = this._applyPrecision(val.data);
- if (snapToClosestTick) {
- val.data = this._snapToClosestTick(val.data);
- }
- }
-
- return val.data;
- },
- _snapToClosestTick: function _snapToClosestTick(val) {
- var min = [val, Infinity];
- for (var i = 0; i < this.options.ticks.length; i++) {
- var diff = Math.abs(this.options.ticks[i] - val);
- if (diff <= min[1]) {
- min = [this.options.ticks[i], diff];
- }
- }
- if (min[1] <= this.options.ticks_snap_bounds) {
- return min[0];
- }
- return val;
- },
-
- _applyPrecision: function _applyPrecision(val) {
- var precision = this.options.precision || this._getNumDigitsAfterDecimalPlace(this.options.step);
- return this._applyToFixedAndParseFloat(val, precision);
- },
- _getNumDigitsAfterDecimalPlace: function _getNumDigitsAfterDecimalPlace(num) {
- var match = ('' + num).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
- if (!match) {
- return 0;
- }
- return Math.max(0, (match[1] ? match[1].length : 0) - (match[2] ? +match[2] : 0));
- },
- _applyToFixedAndParseFloat: function _applyToFixedAndParseFloat(num, toFixedInput) {
- var truncatedNum = num.toFixed(toFixedInput);
- return parseFloat(truncatedNum);
- },
- /*
- Credits to Mike Samuel for the following method!
- Source: http://stackoverflow.com/questions/10454518/javascript-how-to-retrieve-the-number-of-decimals-of-a-string-number
- */
- _getPercentage: function _getPercentage(ev) {
- if (this.touchCapable && (ev.type === 'touchstart' || ev.type === 'touchmove' || ev.type === 'touchend')) {
- ev = ev.changedTouches[0];
- }
-
- var eventPosition = ev[this.mousePos];
- var sliderOffset = this._state.offset[this.stylePos];
- var distanceToSlide = eventPosition - sliderOffset;
- if (this.stylePos === 'right') {
- distanceToSlide = -distanceToSlide;
- }
- // Calculate what percent of the length the slider handle has slid
- var percentage = distanceToSlide / this._state.size * 100;
- percentage = Math.round(percentage / this._state.percentage[2]) * this._state.percentage[2];
- if (this.options.reversed) {
- percentage = 100 - percentage;
- }
-
- // Make sure the percent is within the bounds of the slider.
- // 0% corresponds to the 'min' value of the slide
- // 100% corresponds to the 'max' value of the slide
- return Math.max(0, Math.min(100, percentage));
- },
- _validateInputValue: function _validateInputValue(val) {
- if (!isNaN(+val)) {
- return +val;
- } else if (Array.isArray(val)) {
- this._validateArray(val);
- return val;
- } else {
- throw new Error(ErrorMsgs.formatInvalidInputErrorMsg(val));
- }
- },
- _validateArray: function _validateArray(val) {
- for (var i = 0; i < val.length; i++) {
- var input = val[i];
- if (typeof input !== 'number') {
- throw new Error(ErrorMsgs.formatInvalidInputErrorMsg(input));
- }
- }
- },
- _setDataVal: function _setDataVal(val) {
- this.element.setAttribute('data-value', val);
- this.element.setAttribute('value', val);
- this.element.value = val;
- },
- _trigger: function _trigger(evt, val) {
- val = val || val === 0 ? val : undefined;
-
- var callbackFnArray = this.eventToCallbackMap[evt];
- if (callbackFnArray && callbackFnArray.length) {
- for (var i = 0; i < callbackFnArray.length; i++) {
- var callbackFn = callbackFnArray[i];
- callbackFn(val);
- }
- }
-
- /* If JQuery exists, trigger JQuery events */
- if ($) {
- this._triggerJQueryEvent(evt, val);
- }
- },
- _triggerJQueryEvent: function _triggerJQueryEvent(evt, val) {
- var eventData = {
- type: evt,
- value: val
- };
- this.$element.trigger(eventData);
- this.$sliderElem.trigger(eventData);
- },
- _unbindJQueryEventHandlers: function _unbindJQueryEventHandlers() {
- this.$element.off();
- this.$sliderElem.off();
- },
- _setText: function _setText(element, text) {
- if (typeof element.textContent !== "undefined") {
- element.textContent = text;
- } else if (typeof element.innerText !== "undefined") {
- element.innerText = text;
- }
- },
- _removeClass: function _removeClass(element, classString) {
- var classes = classString.split(" ");
- var newClasses = element.className;
-
- for (var i = 0; i < classes.length; i++) {
- var classTag = classes[i];
- var regex = new RegExp("(?:\\s|^)" + classTag + "(?:\\s|$)");
- newClasses = newClasses.replace(regex, " ");
- }
-
- element.className = newClasses.trim();
- },
- _addClass: function _addClass(element, classString) {
- var classes = classString.split(" ");
- var newClasses = element.className;
-
- for (var i = 0; i < classes.length; i++) {
- var classTag = classes[i];
- var regex = new RegExp("(?:\\s|^)" + classTag + "(?:\\s|$)");
- var ifClassExists = regex.test(newClasses);
-
- if (!ifClassExists) {
- newClasses += " " + classTag;
- }
- }
-
- element.className = newClasses.trim();
- },
- _offsetLeft: function _offsetLeft(obj) {
- return obj.getBoundingClientRect().left;
- },
- _offsetRight: function _offsetRight(obj) {
- return obj.getBoundingClientRect().right;
- },
- _offsetTop: function _offsetTop(obj) {
- var offsetTop = obj.offsetTop;
- while ((obj = obj.offsetParent) && !isNaN(obj.offsetTop)) {
- offsetTop += obj.offsetTop;
- if (obj.tagName !== 'BODY') {
- offsetTop -= obj.scrollTop;
- }
- }
- return offsetTop;
- },
- _offset: function _offset(obj) {
- return {
- left: this._offsetLeft(obj),
- right: this._offsetRight(obj),
- top: this._offsetTop(obj)
- };
- },
- _css: function _css(elementRef, styleName, value) {
- if ($) {
- $.style(elementRef, styleName, value);
- } else {
- var style = styleName.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function (all, letter) {
- return letter.toUpperCase();
- });
- elementRef.style[style] = value;
- }
- },
- _toValue: function _toValue(percentage) {
- return this.options.scale.toValue.apply(this, [percentage]);
- },
- _toPercentage: function _toPercentage(value) {
- return this.options.scale.toPercentage.apply(this, [value]);
- },
- _setTooltipPosition: function _setTooltipPosition() {
- var tooltips = [this.tooltip, this.tooltip_min, this.tooltip_max];
- if (this.options.orientation === 'vertical') {
- var tooltipPos;
- if (this.options.tooltip_position) {
- tooltipPos = this.options.tooltip_position;
- } else {
- if (this.options.rtl) {
- tooltipPos = 'left';
- } else {
- tooltipPos = 'right';
- }
- }
- var oppositeSide = tooltipPos === 'left' ? 'right' : 'left';
- tooltips.forEach(function (tooltip) {
- this._addClass(tooltip, 'bs-tooltip-' + tooltipPos);
- tooltip.style[oppositeSide] = '100%';
- }.bind(this));
- } else if (this.options.tooltip_position === 'bottom') {
- tooltips.forEach(function (tooltip) {
- this._addClass(tooltip, 'bs-tooltip-bottom');
- tooltip.style.top = 22 + 'px';
- }.bind(this));
- } else {
- tooltips.forEach(function (tooltip) {
- this._addClass(tooltip, 'bs-tooltip-top');
- tooltip.style.top = -this.tooltip.outerHeight - 14 + 'px';
- }.bind(this));
- }
- },
- _getClosestTickIndex: function _getClosestTickIndex(val) {
- var difference = Math.abs(val - this.options.ticks[0]);
- var index = 0;
- for (var i = 0; i < this.options.ticks.length; ++i) {
- var d = Math.abs(val - this.options.ticks[i]);
- if (d < difference) {
- difference = d;
- index = i;
- }
- }
- return index;
- },
- /**
- * Attempts to find the index in `ticks[]` the slider values are set at.
- * The indexes can be -1 to indicate the slider value is not set at a value in `ticks[]`.
- */
- _setTickIndex: function _setTickIndex() {
- if (this.ticksAreValid) {
- this._state.tickIndex = [this.options.ticks.indexOf(this._state.value[0]), this.options.ticks.indexOf(this._state.value[1])];
- }
- }
- };
-
- /*********************************
- Attach to global namespace
- *********************************/
- if ($ && $.fn) {
- if (!$.fn.slider) {
- $.bridget(NAMESPACE_MAIN, Slider);
- autoRegisterNamespace = NAMESPACE_MAIN;
- } else {
- if (windowIsDefined) {
- window.console.warn("bootstrap-slider.js - WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider namespace instead.");
- }
- autoRegisterNamespace = NAMESPACE_ALTERNATE;
- }
- $.bridget(NAMESPACE_ALTERNATE, Slider);
-
- // Auto-Register data-provide="slider" Elements
- $(function () {
- $("input[data-provide=slider]")[autoRegisterNamespace]();
- });
- }
- })($);
-
- return Slider;
-});
diff --git a/vendor/bootstrap-slider/bootstrap-slider.min.css b/vendor/bootstrap-slider/bootstrap-slider.min.css
deleted file mode 100644
index 503972f06..000000000
--- a/vendor/bootstrap-slider/bootstrap-slider.min.css
+++ /dev/null
@@ -1,43 +0,0 @@
-/*! =======================================================
- VERSION 11.0.2
-========================================================= */
-/*! =========================================================
- * bootstrap-slider.js
- *
- * Maintainers:
- * Kyle Kemp
- * - Twitter: @seiyria
- * - Github: seiyria
- * Rohit Kalkur
- * - Twitter: @Rovolutionary
- * - Github: rovolution
- *
- * =========================================================
- *
- * bootstrap-slider is released under the MIT License
- * Copyright (c) 2019 Kyle Kemp, Rohit Kalkur, and contributors
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *
- * ========================================================= */.slider{display:inline-block;vertical-align:middle;position:relative}.slider.slider-horizontal{width:210px;height:20px}.slider.slider-horizontal .slider-track{height:10px;width:100%;margin-top:-5px;top:50%;left:0}.slider.slider-horizontal .slider-selection,.slider.slider-horizontal .slider-track-low,.slider.slider-horizontal .slider-track-high{height:100%;top:0;bottom:0}.slider.slider-horizontal .slider-tick,.slider.slider-horizontal .slider-handle{margin-left:-10px}.slider.slider-horizontal .slider-tick.triangle,.slider.slider-horizontal .slider-handle.triangle{position:relative;top:50%;transform:translateY(-50%);border-width:0 10px 10px 10px;width:0;height:0;border-bottom-color:#036fa5;margin-top:0}.slider.slider-horizontal .slider-tick-container{white-space:nowrap;position:absolute;top:0;left:0;width:100%}.slider.slider-horizontal .slider-tick-label-container{white-space:nowrap;margin-top:20px}.slider.slider-horizontal .slider-tick-label-container .slider-tick-label{display:inline-block;text-align:center}.slider.slider-horizontal.slider-rtl .slider-track{left:initial;right:0}.slider.slider-horizontal.slider-rtl .slider-tick,.slider.slider-horizontal.slider-rtl .slider-handle{margin-left:initial;margin-right:-10px}.slider.slider-horizontal.slider-rtl .slider-tick-container{left:initial;right:0}.slider.slider-vertical{height:210px;width:20px}.slider.slider-vertical .slider-track{width:10px;height:100%;left:25%;top:0}.slider.slider-vertical .slider-selection{width:100%;left:0;top:0;bottom:0}.slider.slider-vertical .slider-track-low,.slider.slider-vertical .slider-track-high{width:100%;left:0;right:0}.slider.slider-vertical .slider-tick,.slider.slider-vertical .slider-handle{margin-top:-10px}.slider.slider-vertical .slider-tick.triangle,.slider.slider-vertical .slider-handle.triangle{border-width:10px 0 10px 10px;width:1px;height:1px;border-left-color:#036fa5;margin-left:0}.slider.slider-vertical .slider-tick-label-container{white-space:nowrap}.slider.slider-vertical .slider-tick-label-container .slider-tick-label{padding-left:4px}.slider.slider-vertical.slider-rtl .slider-track{left:initial;right:25%}.slider.slider-vertical.slider-rtl .slider-selection{left:initial;right:0}.slider.slider-vertical.slider-rtl .slider-tick.triangle,.slider.slider-vertical.slider-rtl .slider-handle.triangle{border-width:10px 10px 10px 0}.slider.slider-vertical.slider-rtl .slider-tick-label-container .slider-tick-label{padding-left:initial;padding-right:4px}.slider.slider-disabled .slider-handle{background-color:#cfcfcf;background-image:-moz-linear-gradient(top, #DFDFDF, #BEBEBE);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#DFDFDF), to(#BEBEBE));background-image:-webkit-linear-gradient(top, #DFDFDF, #BEBEBE);background-image:-o-linear-gradient(top, #DFDFDF, #BEBEBE);background-image:linear-gradient(to bottom, #DFDFDF, #BEBEBE);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#DFDFDF', endColorstr='#BEBEBE',GradientType=0)}.slider.slider-disabled .slider-track{background-color:#e7e7e7;background-image:-moz-linear-gradient(top, #E5E5E5, #E9E9E9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#E5E5E5), to(#E9E9E9));background-image:-webkit-linear-gradient(top, #E5E5E5, #E9E9E9);background-image:-o-linear-gradient(top, #E5E5E5, #E9E9E9);background-image:linear-gradient(to bottom, #E5E5E5, #E9E9E9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#E5E5E5', endColorstr='#E9E9E9',GradientType=0);cursor:not-allowed}.slider input{display:none}.slider .tooltip-inner{white-space:nowrap;max-width:none}.slider .bs-tooltip-top .tooltip-inner,.slider .bs-tooltip-bottom .tooltip-inner{position:relative;left:-50%}.slider.bs-tooltip-left .tooltip-inner,.slider.bs-tooltip-right .tooltip-inner{position:relative;top:-100%}.slider .tooltip{pointer-events:none}.slider .tooltip.bs-tooltip-top .arrow,.slider .tooltip.bs-tooltip-bottom .arrow{left:-.4rem}.slider .tooltip.bs-tooltip-top{margin-top:-44px}.slider .tooltip.bs-tooltip-bottom{margin-top:2px}.slider .tooltip.bs-tooltip-left,.slider .tooltip.bs-tooltip-right{margin-top:-14px}.slider .tooltip.bs-tooltip-left .arrow,.slider .tooltip.bs-tooltip-right .arrow{top:8px}.slider .hide{display:none}.slider-track{background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #f5f5f5, #F9F9F9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#F9F9F9));background-image:-webkit-linear-gradient(top, #f5f5f5, #F9F9F9);background-image:-o-linear-gradient(top, #f5f5f5, #F9F9F9);background-image:linear-gradient(to bottom, #f5f5f5, #F9F9F9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#F9F9F9',GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:absolute;cursor:pointer}.slider-selection{background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #F9F9F9, #f5f5f5);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#F9F9F9), to(#f5f5f5));background-image:-webkit-linear-gradient(top, #F9F9F9, #f5f5f5);background-image:-o-linear-gradient(top, #F9F9F9, #f5f5f5);background-image:linear-gradient(to bottom, #F9F9F9, #f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F9F9F9', endColorstr='#f5f5f5',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:absolute}.slider-selection.tick-slider-selection{background-color:#46c1fe;background-image:-moz-linear-gradient(top, #52c5ff, #3abcfd);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#52c5ff), to(#3abcfd));background-image:-webkit-linear-gradient(top, #52c5ff, #3abcfd);background-image:-o-linear-gradient(top, #52c5ff, #3abcfd);background-image:linear-gradient(to bottom, #52c5ff, #3abcfd);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#52c5ff', endColorstr='#3abcfd',GradientType=0)}.slider-track-low,.slider-track-high{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:absolute;background:transparent}.slider-handle{background-color:#0478b2;background-image:-moz-linear-gradient(top, #0480BE, #036fa5);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0480BE), to(#036fa5));background-image:-webkit-linear-gradient(top, #0480BE, #036fa5);background-image:-o-linear-gradient(top, #0480BE, #036fa5);background-image:linear-gradient(to bottom, #0480BE, #036fa5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0480BE', endColorstr='#036fa5',GradientType=0);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);position:absolute;top:0;width:20px;height:20px;background-color:#0480BE;border:0px solid transparent}.slider-handle:hover{cursor:pointer}.slider-handle.round{-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px}.slider-handle.triangle{background:transparent none}.slider-handle.custom{background:transparent none}.slider-handle.custom::before{line-height:20px;font-size:20px;content:'\2605';color:#726204}.slider-tick{background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #f5f5f5, #F9F9F9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#F9F9F9));background-image:-webkit-linear-gradient(top, #f5f5f5, #F9F9F9);background-image:-o-linear-gradient(top, #f5f5f5, #F9F9F9);background-image:linear-gradient(to bottom, #f5f5f5, #F9F9F9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#F9F9F9',GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;cursor:pointer;width:20px;height:20px;filter:none;opacity:0.8;border:0px solid transparent}.slider-tick.round{border-radius:50%}.slider-tick.triangle{background:transparent none}.slider-tick.custom{background:transparent none}.slider-tick.custom::before{line-height:20px;font-size:20px;content:'\2605';color:#726204}.slider-tick.in-selection{background-color:#46c1fe;background-image:-moz-linear-gradient(top, #52c5ff, #3abcfd);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#52c5ff), to(#3abcfd));background-image:-webkit-linear-gradient(top, #52c5ff, #3abcfd);background-image:-o-linear-gradient(top, #52c5ff, #3abcfd);background-image:linear-gradient(to bottom, #52c5ff, #3abcfd);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#52c5ff', endColorstr='#3abcfd',GradientType=0);opacity:1}
-
-/*# sourceMappingURL=bootstrap-slider.min.css.map */
\ No newline at end of file
diff --git a/vendor/bootstrap-slider/bootstrap-slider.min.js b/vendor/bootstrap-slider/bootstrap-slider.min.js
deleted file mode 100644
index 9d3b869a1..000000000
--- a/vendor/bootstrap-slider/bootstrap-slider.min.js
+++ /dev/null
@@ -1,5 +0,0 @@
-/*! =======================================================
- VERSION 11.0.2
-========================================================= */
-"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},windowIsDefined="object"===("undefined"==typeof window?"undefined":_typeof(window));!function(a){if("function"==typeof define&&define.amd)define(["jquery"],a);else if("object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports){var b;try{b=require("jquery")}catch(c){b=null}module.exports=a(b)}else window&&(window.Slider=a(window.jQuery))}(function(a){var b="slider",c="bootstrapSlider";windowIsDefined&&!window.console&&(window.console={}),windowIsDefined&&!window.console.log&&(window.console.log=function(){}),windowIsDefined&&!window.console.warn&&(window.console.warn=function(){});var d;return function(a){function b(){}function c(a){function c(b){b.prototype.option||(b.prototype.option=function(b){a.isPlainObject(b)&&(this.options=a.extend(!0,this.options,b))})}function e(b,c){a.fn[b]=function(e){if("string"==typeof e){for(var g=d.call(arguments,1),h=0,i=this.length;i>h;h++){var j=this[h],k=a.data(j,b);if(k)if(a.isFunction(k[e])&&"_"!==e.charAt(0)){var l=k[e].apply(k,g);if(void 0!==l&&l!==k)return l}else f("no such method '"+e+"' for "+b+" instance");else f("cannot call methods on "+b+" prior to initialization; attempted to call '"+e+"'")}return this}var m=this.map(function(){var d=a.data(this,b);return d?(d.option(e),d._init()):(d=new c(this,e),a.data(this,b,d)),a(this)});return 1===m.length?m[0]:m}}if(a){var f="undefined"==typeof console?b:function(a){console.error(a)};return a.bridget=function(a,b){c(b),e(a,b)},a.bridget}}var d=Array.prototype.slice;c(a)}(a),function(a){function e(b,c){function d(a,b){var c="data-slider-"+b.replace(/_/g,"-"),d=a.getAttribute(c);try{return JSON.parse(d)}catch(e){return d}}this._state={value:null,enabled:null,offset:null,size:null,percentage:null,inDrag:!1,over:!1,tickIndex:null},this.ticksCallbackMap={},this.handleCallbackMap={},"string"==typeof b?this.element=document.querySelector(b):b instanceof HTMLElement&&(this.element=b),c=c?c:{};for(var e=Object.keys(this.defaultOptions),f=c.hasOwnProperty("min"),g=c.hasOwnProperty("max"),i=0;i0,this.ticksAreValid||(this.options.lock_to_ticks=!1),"auto"===this.options.rtl){var l=window.getComputedStyle(this.element);null!=l?this.options.rtl="rtl"===l.direction:this.options.rtl="rtl"===this.element.style.direction}"vertical"!==this.options.orientation||"top"!==this.options.tooltip_position&&"bottom"!==this.options.tooltip_position?"horizontal"!==this.options.orientation||"left"!==this.options.tooltip_position&&"right"!==this.options.tooltip_position||(this.options.tooltip_position="top"):this.options.rtl?this.options.tooltip_position="left":this.options.tooltip_position="right";var m,n,o,p,q,r=this.element.style.width,s=!1,t=this.element.parentNode;if(this.sliderElem)s=!0;else{this.sliderElem=document.createElement("div"),this.sliderElem.className="slider";var u=document.createElement("div");u.className="slider-track",n=document.createElement("div"),n.className="slider-track-low",m=document.createElement("div"),m.className="slider-selection",o=document.createElement("div"),o.className="slider-track-high",p=document.createElement("div"),p.className="slider-handle min-slider-handle",p.setAttribute("role","slider"),p.setAttribute("aria-valuemin",this.options.min),p.setAttribute("aria-valuemax",this.options.max),q=document.createElement("div"),q.className="slider-handle max-slider-handle",q.setAttribute("role","slider"),q.setAttribute("aria-valuemin",this.options.min),q.setAttribute("aria-valuemax",this.options.max),u.appendChild(n),u.appendChild(m),u.appendChild(o),this.rangeHighlightElements=[];var v=this.options.rangeHighlights;if(Array.isArray(v)&&v.length>0)for(var w=0;w0){for(this.ticksContainer=document.createElement("div"),this.ticksContainer.className="slider-tick-container",i=0;i0)for(this.tickLabelContainer=document.createElement("div"),this.tickLabelContainer.className="slider-tick-label-container",i=0;i0&&(g||(this.options.max=Math.max.apply(Math,this.options.ticks)),f||(this.options.min=Math.min.apply(Math,this.options.ticks))),Array.isArray(this.options.value)?(this.options.range=!0,this._state.value=this.options.value):this.options.range?this._state.value=[this.options.value,this.options.max]:this._state.value=this.options.value,this.trackLow=n||this.trackLow,this.trackSelection=m||this.trackSelection,this.trackHigh=o||this.trackHigh,"none"===this.options.selection?(this._addClass(this.trackLow,"hide"),this._addClass(this.trackSelection,"hide"),this._addClass(this.trackHigh,"hide")):("after"===this.options.selection||"before"===this.options.selection)&&(this._removeClass(this.trackLow,"hide"),this._removeClass(this.trackSelection,"hide"),this._removeClass(this.trackHigh,"hide")),this.handle1=p||this.handle1,this.handle2=q||this.handle2,s===!0)for(this._removeClass(this.handle1,"round triangle"),this._removeClass(this.handle2,"round triangle hide"),i=0;ib.max?b.max:a},toValue:function(a){var b=a/100*(this.options.max-this.options.min),c=!0;if(this.options.ticks_positions.length>0){for(var d,e,f,g=0,i=1;i0){for(var b,c,d,e=0,f=0;f0?this.options.ticks[f-1]:0,d=f>0?this.options.ticks_positions[f-1]:0,c=this.options.ticks[f],e=this.options.ticks_positions[f];break}if(f>0){var g=(a-b)/(c-b);return d+g*(e-d)}}return 100*(a-this.options.min)/(this.options.max-this.options.min)}},logarithmic:{toValue:function(a){var b=1-this.options.min,c=Math.log(this.options.min+b),d=Math.log(this.options.max+b),e=Math.exp(c+(d-c)*a/100)-b;return Math.round(e)===d?d:(e=this.options.min+Math.round((e-this.options.min)/this.options.step)*this.options.step,h.linear.getValue(e,this.options))},toPercentage:function(a){if(this.options.max===this.options.min)return 0;var b=1-this.options.min,c=Math.log(this.options.max+b),d=Math.log(this.options.min+b),e=Math.log(a+b);return 100*(e-d)/(c-d)}}};d=function(a,b){return e.call(this,a,b),this},d.prototype={_init:function(){},constructor:d,defaultOptions:{id:"",min:0,max:10,step:1,precision:0,orientation:"horizontal",value:5,range:!1,selection:"before",tooltip:"show",tooltip_split:!1,lock_to_ticks:!1,handle:"round",reversed:!1,rtl:"auto",enabled:!0,formatter:function(a){return Array.isArray(a)?a[0]+" : "+a[1]:a},natural_arrow_keys:!1,ticks:[],ticks_positions:[],ticks_labels:[],ticks_snap_bounds:0,ticks_tooltip:!1,scale:"linear",focus:!1,tooltip_position:null,labelledby:null,rangeHighlights:[]},getElement:function(){return this.sliderElem},getValue:function(){return this.options.range?this._state.value:this._state.value[0]},setValue:function(a,b,c){a||(a=0);var d=this.getValue();this._state.value=this._validateInputValue(a);var e=this._applyPrecision.bind(this);this.options.range?(this._state.value[0]=e(this._state.value[0]),this._state.value[1]=e(this._state.value[1]),this.ticksAreValid&&this.options.lock_to_ticks&&(this._state.value[0]=this.options.ticks[this._getClosestTickIndex(this._state.value[0])],this._state.value[1]=this.options.ticks[this._getClosestTickIndex(this._state.value[1])]),this._state.value[0]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[0])),this._state.value[1]=Math.max(this.options.min,Math.min(this.options.max,this._state.value[1]))):(this._state.value=e(this._state.value),this.ticksAreValid&&this.options.lock_to_ticks&&(this._state.value=this.options.ticks[this._getClosestTickIndex(this._state.value)]),this._state.value=[Math.max(this.options.min,Math.min(this.options.max,this._state.value))],this._addClass(this.handle2,"hide"),"after"===this.options.selection?this._state.value[1]=this.options.max:this._state.value[1]=this.options.min),this._setTickIndex(),this.options.max>this.options.min?this._state.percentage=[this._toPercentage(this._state.value[0]),this._toPercentage(this._state.value[1]),100*this.options.step/(this.options.max-this.options.min)]:this._state.percentage=[0,0,100],this._layout();var f=this.options.range?this._state.value:this._state.value[0];this._setDataVal(f),b===!0&&this._trigger("slide",f);var g=!1;return g=Array.isArray(f)?d[0]!==f[0]||d[1]!==f[1]:d!==f,g&&c===!0&&this._trigger("change",{oldValue:d,newValue:f}),this},destroy:function(){this._removeSliderEventHandlers(),this.sliderElem.parentNode.removeChild(this.sliderElem),this.element.style.display="",this._cleanUpEventCallbacksMap(),this.element.removeAttribute("data"),a&&(this._unbindJQueryEventHandlers(),f===b&&this.$element.removeData(f),this.$element.removeData(c))},disable:function(){return this._state.enabled=!1,this.handle1.removeAttribute("tabindex"),this.handle2.removeAttribute("tabindex"),this._addClass(this.sliderElem,"slider-disabled"),this._trigger("slideDisabled"),this},enable:function(){return this._state.enabled=!0,this.handle1.setAttribute("tabindex",0),this.handle2.setAttribute("tabindex",0),this._removeClass(this.sliderElem,"slider-disabled"),this._trigger("slideEnabled"),this},toggle:function(){return this._state.enabled?this.disable():this.enable(),this},isEnabled:function(){return this._state.enabled},on:function(a,b){return this._bindNonQueryEventHandler(a,b),this},off:function(b,c){a?(this.$element.off(b,c),this.$sliderElem.off(b,c)):this._unbindNonQueryEventHandler(b,c)},getAttribute:function(a){return a?this.options[a]:this.options},setAttribute:function(a,b){return this.options[a]=b,this},refresh:function(d){var g=this.getValue();return this._removeSliderEventHandlers(),e.call(this,this.element,this.options),d&&d.useCurrentValue===!0&&this.setValue(g),a&&(f===b?(a.data(this.element,b,this),a.data(this.element,c,this)):a.data(this.element,c,this)),this},relayout:function(){return this._resize(),this},_removeTooltipListener:function(a,b){this.handle1.removeEventListener(a,b,!1),this.handle2.removeEventListener(a,b,!1)},_removeSliderEventHandlers:function(){if(this.handle1.removeEventListener("keydown",this.handle1Keydown,!1),this.handle2.removeEventListener("keydown",this.handle2Keydown,!1),this.options.ticks_tooltip){for(var a=this.ticksContainer.getElementsByClassName("slider-tick"),b=0;b0&&a.options.ticks_positions[c]||a._toPercentage(a.options.ticks[c])):f=a._toPercentage(e),d.value[0]=e,d.percentage[0]=f,a._setToolTipOnMouseOver(d),a._showTooltip()};return b.addEventListener("mouseenter",d,!1),d},addMouseLeave:function(a,b){var c=function(){a._hideTooltip()};return b.addEventListener("mouseleave",c,!1),c}}},_layout:function(){var a,b;if(a=this.options.reversed?[100-this._state.percentage[0],this.options.range?100-this._state.percentage[1]:this._state.percentage[1]]:[this._state.percentage[0],this._state.percentage[1]],this.handle1.style[this.stylePos]=a[0]+"%",this.handle1.setAttribute("aria-valuenow",this._state.value[0]),b=this.options.formatter(this._state.value[0]),isNaN(b)?this.handle1.setAttribute("aria-valuetext",b):this.handle1.removeAttribute("aria-valuetext"),this.handle2.style[this.stylePos]=a[1]+"%",this.handle2.setAttribute("aria-valuenow",this._state.value[1]),b=this.options.formatter(this._state.value[1]),isNaN(b)?this.handle2.setAttribute("aria-valuetext",b):this.handle2.removeAttribute("aria-valuetext"),this.rangeHighlightElements.length>0&&Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(var c=0;c0){var h,i="vertical"===this.options.orientation?"height":"width";h="vertical"===this.options.orientation?"marginTop":this.options.rtl?"marginRight":"marginLeft";var j=this._state.size/(this.options.ticks.length-1);if(this.tickLabelContainer){var k=0;if(0===this.options.ticks_positions.length)"vertical"!==this.options.orientation&&(this.tickLabelContainer.style[h]=-j/2+"px"),k=this.tickLabelContainer.offsetHeight;else for(l=0;lk&&(k=this.tickLabelContainer.childNodes[l].offsetHeight);"horizontal"===this.options.orientation&&(this.sliderElem.style.marginBottom=k+"px")}for(var l=0;l=a[0]&&m<=a[1]&&this._addClass(this.ticks[l],"in-selection"):"after"===this.options.selection&&m>=a[0]?this._addClass(this.ticks[l],"in-selection"):"before"===this.options.selection&&m<=a[0]&&this._addClass(this.ticks[l],"in-selection"),this.tickLabels[l]&&(this.tickLabels[l].style[i]=j+"px","vertical"!==this.options.orientation&&void 0!==this.options.ticks_positions[l]?(this.tickLabels[l].style.position="absolute",this.tickLabels[l].style[this.stylePos]=m+"%",this.tickLabels[l].style[h]=-j/2+"px"):"vertical"===this.options.orientation&&(this.options.rtl?this.tickLabels[l].style.marginRight=this.sliderElem.offsetWidth+"px":this.tickLabels[l].style.marginLeft=this.sliderElem.offsetWidth+"px",this.tickLabelContainer.style[h]=this.sliderElem.offsetWidth/2*-1+"px"),this._removeClass(this.tickLabels[l],"label-in-selection label-is-selection"),this.options.range?m>=a[0]&&m<=a[1]&&(this._addClass(this.tickLabels[l],"label-in-selection"),(m===a[0]||a[1])&&this._addClass(this.tickLabels[l],"label-is-selection")):("after"===this.options.selection&&m>=a[0]?this._addClass(this.tickLabels[l],"label-in-selection"):"before"===this.options.selection&&m<=a[0]&&this._addClass(this.tickLabels[l],"label-in-selection"),m===a[0]&&this._addClass(this.tickLabels[l],"label-is-selection")))}}var n;if(this.options.range){n=this.options.formatter(this._state.value),this._setText(this.tooltipInner,n),this.tooltip.style[this.stylePos]=(a[1]+a[0])/2+"%";var o=this.options.formatter(this._state.value[0]);this._setText(this.tooltipInner_min,o);var p=this.options.formatter(this._state.value[1]);this._setText(this.tooltipInner_max,p),this.tooltip_min.style[this.stylePos]=a[0]+"%",this.tooltip_max.style[this.stylePos]=a[1]+"%"}else n=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner,n),this.tooltip.style[this.stylePos]=a[0]+"%";if("vertical"===this.options.orientation)this.trackLow.style.top="0",this.trackLow.style.height=Math.min(a[0],a[1])+"%",this.trackSelection.style.top=Math.min(a[0],a[1])+"%",this.trackSelection.style.height=Math.abs(a[0]-a[1])+"%",this.trackHigh.style.bottom="0",this.trackHigh.style.height=100-Math.min(a[0],a[1])-Math.abs(a[0]-a[1])+"%";else{"right"===this.stylePos?this.trackLow.style.right="0":this.trackLow.style.left="0",this.trackLow.style.width=Math.min(a[0],a[1])+"%","right"===this.stylePos?this.trackSelection.style.right=Math.min(a[0],a[1])+"%":this.trackSelection.style.left=Math.min(a[0],a[1])+"%",this.trackSelection.style.width=Math.abs(a[0]-a[1])+"%","right"===this.stylePos?this.trackHigh.style.left="0":this.trackHigh.style.right="0",this.trackHigh.style.width=100-Math.min(a[0],a[1])-Math.abs(a[0]-a[1])+"%";var q=this.tooltip_min.getBoundingClientRect(),r=this.tooltip_max.getBoundingClientRect();"bottom"===this.options.tooltip_position?q.right>r.left?(this._removeClass(this.tooltip_max,"bs-tooltip-bottom"),this._addClass(this.tooltip_max,"bs-tooltip-top"),this.tooltip_max.style.top="",this.tooltip_max.style.bottom="22px"):(this._removeClass(this.tooltip_max,"bs-tooltip-top"),this._addClass(this.tooltip_max,"bs-tooltip-bottom"),this.tooltip_max.style.top=this.tooltip_min.style.top,this.tooltip_max.style.bottom=""):q.right>r.left?(this._removeClass(this.tooltip_max,"bs-tooltip-top"),this._addClass(this.tooltip_max,"bs-tooltip-bottom"),this.tooltip_max.style.top="18px"):(this._removeClass(this.tooltip_max,"bs-tooltip-bottom"),this._addClass(this.tooltip_max,"bs-tooltip-top"),this.tooltip_max.style.top=this.tooltip_min.style.top)}},_createHighlightRange:function(a,b){return this._isHighlightRange(a,b)?a>b?{start:b,size:a-b}:{start:a,size:b-a}:null},_isHighlightRange:function(a,b){return a>=0&&100>=a&&b>=0&&100>=b?!0:!1},_resize:function(a){this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this._layout()},_removeProperty:function(a,b){a.style.removeProperty?a.style.removeProperty(b):a.style.removeAttribute(b)},_mousedown:function(a){if(!this._state.enabled)return!1;a.preventDefault&&a.preventDefault(),this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos];var b=this._getPercentage(a);if(this.options.range){var c=Math.abs(this._state.percentage[0]-b),d=Math.abs(this._state.percentage[1]-b);this._state.dragged=d>c?0:1,this._adjustPercentageForRangeSliders(b)}else this._state.dragged=0;this._state.percentage[this._state.dragged]=b,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),this.mousemove&&document.removeEventListener("mousemove",this.mousemove,!1),this.mouseup&&document.removeEventListener("mouseup",this.mouseup,!1),this.mousemove=this._mousemove.bind(this),this.mouseup=this._mouseup.bind(this),this.touchCapable&&(document.addEventListener("touchmove",this.mousemove,!1),document.addEventListener("touchend",this.mouseup,!1)),document.addEventListener("mousemove",this.mousemove,!1),document.addEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!0;var e=this._calculateValue();return this._trigger("slideStart",e),this.setValue(e,!1,!0),a.returnValue=!1,this.options.focus&&this._triggerFocusOnHandle(this._state.dragged),!0},_touchstart:function(a){this._mousedown(a)},_triggerFocusOnHandle:function(a){0===a&&this.handle1.focus(),1===a&&this.handle2.focus()},_keydown:function(a,b){if(!this._state.enabled)return!1;var c;switch(b.keyCode){case 37:case 40:c=-1;break;case 39:case 38:c=1}if(c){if(this.options.natural_arrow_keys){var d="horizontal"===this.options.orientation,e="vertical"===this.options.orientation,f=this.options.rtl,g=this.options.reversed;d?f?g||(c=-c):g&&(c=-c):e&&(g||(c=-c))}var h;if(this.ticksAreValid&&this.options.lock_to_ticks){var i=void 0;i=this.options.ticks.indexOf(this._state.value[a]),-1===i&&(i=0,window.console.warn("(lock_to_ticks) _keydown: index should not be -1")),i+=c,i=Math.max(0,Math.min(this.options.ticks.length-1,i)),h=this.options.ticks[i]}else h=this._state.value[a]+c*this.options.step;var j=this._toPercentage(h);if(this._state.keyCtrl=a,this.options.range){this._adjustPercentageForRangeSliders(j);var k=this._state.keyCtrl?this._state.value[0]:h,l=this._state.keyCtrl?h:this._state.value[1];h=[Math.max(this.options.min,Math.min(this.options.max,k)),Math.max(this.options.min,Math.min(this.options.max,l))]}else h=Math.max(this.options.min,Math.min(this.options.max,h));return this._trigger("slideStart",h),this.setValue(h,!0,!0),this._trigger("slideStop",h),this._pauseEvent(b),delete this._state.keyCtrl,!1}},_pauseEvent:function(a){a.stopPropagation&&a.stopPropagation(),
-a.preventDefault&&a.preventDefault(),a.cancelBubble=!0,a.returnValue=!1},_mousemove:function(a){if(!this._state.enabled)return!1;var b=this._getPercentage(a);this._adjustPercentageForRangeSliders(b),this._state.percentage[this._state.dragged]=b;var c=this._calculateValue(!0);return this.setValue(c,!0,!0),!1},_touchmove:function(a){void 0!==a.changedTouches&&a.preventDefault&&a.preventDefault()},_adjustPercentageForRangeSliders:function(a){if(this.options.range){var b=this._getNumDigitsAfterDecimalPlace(a);b=b?b-1:0;var c=this._applyToFixedAndParseFloat(a,b);0===this._state.dragged&&this._applyToFixedAndParseFloat(this._state.percentage[1],b)c?(this._state.percentage[1]=this._state.percentage[0],this._state.dragged=0):0===this._state.keyCtrl&&this._toPercentage(this._state.value[1])a&&(this._state.percentage[1]=this._state.percentage[0],this._state.keyCtrl=0,this.handle1.focus())}},_mouseup:function(a){if(!this._state.enabled)return!1;var b=this._getPercentage(a);this._adjustPercentageForRangeSliders(b),this._state.percentage[this._state.dragged]=b,this.touchCapable&&(document.removeEventListener("touchmove",this.mousemove,!1),document.removeEventListener("touchend",this.mouseup,!1)),document.removeEventListener("mousemove",this.mousemove,!1),document.removeEventListener("mouseup",this.mouseup,!1),this._state.inDrag=!1,this._state.over===!1&&this._hideTooltip();var c=this._calculateValue(!0);return this.setValue(c,!1,!0),this._trigger("slideStop",c),this._state.dragged=null,!1},_setValues:function(a,b){var c=0===a?0:100;this._state.percentage[a]!==c&&(b.data[a]=this._toValue(this._state.percentage[a]),b.data[a]=this._applyPrecision(b.data[a]))},_calculateValue:function(a){var b={};return this.options.range?(b.data=[this.options.min,this.options.max],this._setValues(0,b),this._setValues(1,b),a&&(b.data[0]=this._snapToClosestTick(b.data[0]),b.data[1]=this._snapToClosestTick(b.data[1]))):(b.data=this._toValue(this._state.percentage[0]),b.data=parseFloat(b.data),b.data=this._applyPrecision(b.data),a&&(b.data=this._snapToClosestTick(b.data))),b.data},_snapToClosestTick:function(a){for(var b=[a,1/0],c=0;ce&&(b=e,c=d)}return c},_setTickIndex:function(){this.ticksAreValid&&(this._state.tickIndex=[this.options.ticks.indexOf(this._state.value[0]),this.options.ticks.indexOf(this._state.value[1])])}},a&&a.fn&&(a.fn.slider?(windowIsDefined&&window.console.warn("bootstrap-slider.js - WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider namespace instead."),f=c):(a.bridget(b,d),f=b),a.bridget(c,d),a(function(){a("input[data-provide=slider]")[f]()}))}(a),d});
\ No newline at end of file
diff --git a/vendor/bootstrap-switch/bootstrap-switch.css b/vendor/bootstrap-switch/bootstrap-switch.css
deleted file mode 100755
index 608fc698d..000000000
--- a/vendor/bootstrap-switch/bootstrap-switch.css
+++ /dev/null
@@ -1,187 +0,0 @@
-/**
- * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
- *
- * @version v3.3.4
- * @homepage https://bttstrp.github.io/bootstrap-switch
- * @author Mattia Larentis (http://larentis.eu)
- * @license Apache-2.0
- */
-
-.bootstrap-switch {
- display: inline-block;
- direction: ltr;
- cursor: pointer;
- border-radius: 4px;
- border: 1px solid;
- border-color: #ccc;
- position: relative;
- text-align: left;
- overflow: hidden;
- line-height: 8px;
- z-index: 0;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- vertical-align: middle;
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-}
-.bootstrap-switch .bootstrap-switch-container {
- display: inline-block;
- top: 0;
- border-radius: 4px;
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
-}
-.bootstrap-switch .bootstrap-switch-handle-on,
-.bootstrap-switch .bootstrap-switch-handle-off,
-.bootstrap-switch .bootstrap-switch-label {
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- cursor: pointer;
- display: table-cell;
- vertical-align: middle;
- padding: 6px 12px;
- font-size: 14px;
- line-height: 20px;
-}
-.bootstrap-switch .bootstrap-switch-handle-on,
-.bootstrap-switch .bootstrap-switch-handle-off {
- text-align: center;
- z-index: 1;
-}
-.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
-.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
- color: #fff;
- background: #337ab7;
-}
-.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,
-.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info {
- color: #fff;
- background: #5bc0de;
-}
-.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
-.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
- color: #fff;
- background: #5cb85c;
-}
-.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,
-.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning {
- background: #f0ad4e;
- color: #fff;
-}
-.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,
-.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger {
- color: #fff;
- background: #d9534f;
-}
-.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
-.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
- color: #000;
- background: #eeeeee;
-}
-.bootstrap-switch .bootstrap-switch-label {
- text-align: center;
- margin-top: -1px;
- margin-bottom: -1px;
- z-index: 100;
- color: #333;
- background: #fff;
-}
-.bootstrap-switch span::before {
- content: "\200b";
-}
-.bootstrap-switch .bootstrap-switch-handle-on {
- border-bottom-left-radius: 3px;
- border-top-left-radius: 3px;
-}
-.bootstrap-switch .bootstrap-switch-handle-off {
- border-bottom-right-radius: 3px;
- border-top-right-radius: 3px;
-}
-.bootstrap-switch input[type='radio'],
-.bootstrap-switch input[type='checkbox'] {
- position: absolute !important;
- top: 0;
- left: 0;
- margin: 0;
- z-index: -1;
- opacity: 0;
- filter: alpha(opacity=0);
- visibility: hidden;
-}
-.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,
-.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,
-.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
- padding: 1px 5px;
- font-size: 12px;
- line-height: 1.5;
-}
-.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,
-.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,
-.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label {
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
-}
-.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,
-.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,
-.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label {
- padding: 6px 16px;
- font-size: 18px;
- line-height: 1.3333333;
-}
-.bootstrap-switch.bootstrap-switch-disabled,
-.bootstrap-switch.bootstrap-switch-readonly,
-.bootstrap-switch.bootstrap-switch-indeterminate {
- cursor: default !important;
-}
-.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
-.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
-.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
-.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
-.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
-.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
-.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,
-.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,
-.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label {
- opacity: 0.5;
- filter: alpha(opacity=50);
- cursor: default !important;
-}
-.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
- -webkit-transition: margin-left 0.5s;
- -o-transition: margin-left 0.5s;
- transition: margin-left 0.5s;
-}
-.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on {
- border-bottom-left-radius: 0;
- border-top-left-radius: 0;
- border-bottom-right-radius: 3px;
- border-top-right-radius: 3px;
-}
-.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off {
- border-bottom-right-radius: 0;
- border-top-right-radius: 0;
- border-bottom-left-radius: 3px;
- border-top-left-radius: 3px;
-}
-.bootstrap-switch.bootstrap-switch-focused {
- border-color: #66afe9;
- outline: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
- box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
-}
-.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label,
-.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label {
- border-bottom-right-radius: 3px;
- border-top-right-radius: 3px;
-}
-.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label,
-.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label {
- border-bottom-left-radius: 3px;
- border-top-left-radius: 3px;
-}
diff --git a/vendor/bootstrap-switch/bootstrap-switch.js b/vendor/bootstrap-switch/bootstrap-switch.js
deleted file mode 100755
index 511f08fa8..000000000
--- a/vendor/bootstrap-switch/bootstrap-switch.js
+++ /dev/null
@@ -1,784 +0,0 @@
-/**
- * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
- *
- * @version v3.3.4
- * @homepage https://bttstrp.github.io/bootstrap-switch
- * @author Mattia Larentis (http://larentis.eu)
- * @license Apache-2.0
- */
-
-(function (global, factory) {
- if (typeof define === "function" && define.amd) {
- define(['jquery'], factory);
- } else if (typeof exports !== "undefined") {
- factory(require('jquery'));
- } else {
- var mod = {
- exports: {}
- };
- factory(global.jquery);
- global.bootstrapSwitch = mod.exports;
- }
-})(this, function (_jquery) {
- 'use strict';
-
- var _jquery2 = _interopRequireDefault(_jquery);
-
- function _interopRequireDefault(obj) {
- return obj && obj.__esModule ? obj : {
- default: obj
- };
- }
-
- var _extends = Object.assign || function (target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
-
- for (var key in source) {
- if (Object.prototype.hasOwnProperty.call(source, key)) {
- target[key] = source[key];
- }
- }
- }
-
- return target;
- };
-
- function _classCallCheck(instance, Constructor) {
- if (!(instance instanceof Constructor)) {
- throw new TypeError("Cannot call a class as a function");
- }
- }
-
- var _createClass = function () {
- function defineProperties(target, props) {
- for (var i = 0; i < props.length; i++) {
- var descriptor = props[i];
- descriptor.enumerable = descriptor.enumerable || false;
- descriptor.configurable = true;
- if ("value" in descriptor) descriptor.writable = true;
- Object.defineProperty(target, descriptor.key, descriptor);
- }
- }
-
- return function (Constructor, protoProps, staticProps) {
- if (protoProps) defineProperties(Constructor.prototype, protoProps);
- if (staticProps) defineProperties(Constructor, staticProps);
- return Constructor;
- };
- }();
-
- var $ = _jquery2.default || window.jQuery || window.$;
-
- var BootstrapSwitch = function () {
- function BootstrapSwitch(element) {
- var _this = this;
-
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
-
- _classCallCheck(this, BootstrapSwitch);
-
- this.$element = $(element);
- this.options = $.extend({}, $.fn.bootstrapSwitch.defaults, this._getElementOptions(), options);
- this.prevOptions = {};
- this.$wrapper = $('', {
- class: function _class() {
- var classes = [];
- classes.push(_this.options.state ? 'on' : 'off');
- if (_this.options.size) {
- classes.push(_this.options.size);
- }
- if (_this.options.disabled) {
- classes.push('disabled');
- }
- if (_this.options.readonly) {
- classes.push('readonly');
- }
- if (_this.options.indeterminate) {
- classes.push('indeterminate');
- }
- if (_this.options.inverse) {
- classes.push('inverse');
- }
- if (_this.$element.attr('id')) {
- classes.push('id-' + _this.$element.attr('id'));
- }
- return classes.map(_this._getClass.bind(_this)).concat([_this.options.baseClass], _this._getClasses(_this.options.wrapperClass)).join(' ');
- }
- });
- this.$container = $('
', { class: this._getClass('container') });
- this.$on = $('
', {
- html: this.options.onText,
- class: this._getClass('handle-on') + ' ' + this._getClass(this.options.onColor)
- });
- this.$off = $('', {
- html: this.options.offText,
- class: this._getClass('handle-off') + ' ' + this._getClass(this.options.offColor)
- });
- this.$label = $('', {
- html: this.options.labelText,
- class: this._getClass('label')
- });
-
- this.$element.on('init.bootstrapSwitch', this.options.onInit.bind(this, element));
- this.$element.on('switchChange.bootstrapSwitch', function () {
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
-
- if (_this.options.onSwitchChange.apply(element, args) === false) {
- if (_this.$element.is(':radio')) {
- $('[name="' + _this.$element.attr('name') + '"]').trigger('previousState.bootstrapSwitch', true);
- } else {
- _this.$element.trigger('previousState.bootstrapSwitch', true);
- }
- }
- });
-
- this.$container = this.$element.wrap(this.$container).parent();
- this.$wrapper = this.$container.wrap(this.$wrapper).parent();
- this.$element.before(this.options.inverse ? this.$off : this.$on).before(this.$label).before(this.options.inverse ? this.$on : this.$off);
-
- if (this.options.indeterminate) {
- this.$element.prop('indeterminate', true);
- }
-
- this._init();
- this._elementHandlers();
- this._handleHandlers();
- this._labelHandlers();
- this._formHandler();
- this._externalLabelHandler();
- this.$element.trigger('init.bootstrapSwitch', this.options.state);
- }
-
- _createClass(BootstrapSwitch, [{
- key: 'setPrevOptions',
- value: function setPrevOptions() {
- this.prevOptions = _extends({}, this.options);
- }
- }, {
- key: 'state',
- value: function state(value, skip) {
- if (typeof value === 'undefined') {
- return this.options.state;
- }
- if (this.options.disabled || this.options.readonly || this.options.state && !this.options.radioAllOff && this.$element.is(':radio')) {
- return this.$element;
- }
- if (this.$element.is(':radio')) {
- $('[name="' + this.$element.attr('name') + '"]').trigger('setPreviousOptions.bootstrapSwitch');
- } else {
- this.$element.trigger('setPreviousOptions.bootstrapSwitch');
- }
- if (this.options.indeterminate) {
- this.indeterminate(false);
- }
- this.$element.prop('checked', Boolean(value)).trigger('change.bootstrapSwitch', skip);
- return this.$element;
- }
- }, {
- key: 'toggleState',
- value: function toggleState(skip) {
- if (this.options.disabled || this.options.readonly) {
- return this.$element;
- }
- if (this.options.indeterminate) {
- this.indeterminate(false);
- return this.state(true);
- } else {
- return this.$element.prop('checked', !this.options.state).trigger('change.bootstrapSwitch', skip);
- }
- }
- }, {
- key: 'size',
- value: function size(value) {
- if (typeof value === 'undefined') {
- return this.options.size;
- }
- if (this.options.size != null) {
- this.$wrapper.removeClass(this._getClass(this.options.size));
- }
- if (value) {
- this.$wrapper.addClass(this._getClass(value));
- }
- this._width();
- this._containerPosition();
- this.options.size = value;
- return this.$element;
- }
- }, {
- key: 'animate',
- value: function animate(value) {
- if (typeof value === 'undefined') {
- return this.options.animate;
- }
- if (this.options.animate === Boolean(value)) {
- return this.$element;
- }
- return this.toggleAnimate();
- }
- }, {
- key: 'toggleAnimate',
- value: function toggleAnimate() {
- this.options.animate = !this.options.animate;
- this.$wrapper.toggleClass(this._getClass('animate'));
- return this.$element;
- }
- }, {
- key: 'disabled',
- value: function disabled(value) {
- if (typeof value === 'undefined') {
- return this.options.disabled;
- }
- if (this.options.disabled === Boolean(value)) {
- return this.$element;
- }
- return this.toggleDisabled();
- }
- }, {
- key: 'toggleDisabled',
- value: function toggleDisabled() {
- this.options.disabled = !this.options.disabled;
- this.$element.prop('disabled', this.options.disabled);
- this.$wrapper.toggleClass(this._getClass('disabled'));
- return this.$element;
- }
- }, {
- key: 'readonly',
- value: function readonly(value) {
- if (typeof value === 'undefined') {
- return this.options.readonly;
- }
- if (this.options.readonly === Boolean(value)) {
- return this.$element;
- }
- return this.toggleReadonly();
- }
- }, {
- key: 'toggleReadonly',
- value: function toggleReadonly() {
- this.options.readonly = !this.options.readonly;
- this.$element.prop('readonly', this.options.readonly);
- this.$wrapper.toggleClass(this._getClass('readonly'));
- return this.$element;
- }
- }, {
- key: 'indeterminate',
- value: function indeterminate(value) {
- if (typeof value === 'undefined') {
- return this.options.indeterminate;
- }
- if (this.options.indeterminate === Boolean(value)) {
- return this.$element;
- }
- return this.toggleIndeterminate();
- }
- }, {
- key: 'toggleIndeterminate',
- value: function toggleIndeterminate() {
- this.options.indeterminate = !this.options.indeterminate;
- this.$element.prop('indeterminate', this.options.indeterminate);
- this.$wrapper.toggleClass(this._getClass('indeterminate'));
- this._containerPosition();
- return this.$element;
- }
- }, {
- key: 'inverse',
- value: function inverse(value) {
- if (typeof value === 'undefined') {
- return this.options.inverse;
- }
- if (this.options.inverse === Boolean(value)) {
- return this.$element;
- }
- return this.toggleInverse();
- }
- }, {
- key: 'toggleInverse',
- value: function toggleInverse() {
- this.$wrapper.toggleClass(this._getClass('inverse'));
- var $on = this.$on.clone(true);
- var $off = this.$off.clone(true);
- this.$on.replaceWith($off);
- this.$off.replaceWith($on);
- this.$on = $off;
- this.$off = $on;
- this.options.inverse = !this.options.inverse;
- return this.$element;
- }
- }, {
- key: 'onColor',
- value: function onColor(value) {
- if (typeof value === 'undefined') {
- return this.options.onColor;
- }
- if (this.options.onColor) {
- this.$on.removeClass(this._getClass(this.options.onColor));
- }
- this.$on.addClass(this._getClass(value));
- this.options.onColor = value;
- return this.$element;
- }
- }, {
- key: 'offColor',
- value: function offColor(value) {
- if (typeof value === 'undefined') {
- return this.options.offColor;
- }
- if (this.options.offColor) {
- this.$off.removeClass(this._getClass(this.options.offColor));
- }
- this.$off.addClass(this._getClass(value));
- this.options.offColor = value;
- return this.$element;
- }
- }, {
- key: 'onText',
- value: function onText(value) {
- if (typeof value === 'undefined') {
- return this.options.onText;
- }
- this.$on.html(value);
- this._width();
- this._containerPosition();
- this.options.onText = value;
- return this.$element;
- }
- }, {
- key: 'offText',
- value: function offText(value) {
- if (typeof value === 'undefined') {
- return this.options.offText;
- }
- this.$off.html(value);
- this._width();
- this._containerPosition();
- this.options.offText = value;
- return this.$element;
- }
- }, {
- key: 'labelText',
- value: function labelText(value) {
- if (typeof value === 'undefined') {
- return this.options.labelText;
- }
- this.$label.html(value);
- this._width();
- this.options.labelText = value;
- return this.$element;
- }
- }, {
- key: 'handleWidth',
- value: function handleWidth(value) {
- if (typeof value === 'undefined') {
- return this.options.handleWidth;
- }
- this.options.handleWidth = value;
- this._width();
- this._containerPosition();
- return this.$element;
- }
- }, {
- key: 'labelWidth',
- value: function labelWidth(value) {
- if (typeof value === 'undefined') {
- return this.options.labelWidth;
- }
- this.options.labelWidth = value;
- this._width();
- this._containerPosition();
- return this.$element;
- }
- }, {
- key: 'baseClass',
- value: function baseClass(value) {
- return this.options.baseClass;
- }
- }, {
- key: 'wrapperClass',
- value: function wrapperClass(value) {
- if (typeof value === 'undefined') {
- return this.options.wrapperClass;
- }
- if (!value) {
- value = $.fn.bootstrapSwitch.defaults.wrapperClass;
- }
- this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(' '));
- this.$wrapper.addClass(this._getClasses(value).join(' '));
- this.options.wrapperClass = value;
- return this.$element;
- }
- }, {
- key: 'radioAllOff',
- value: function radioAllOff(value) {
- if (typeof value === 'undefined') {
- return this.options.radioAllOff;
- }
- var val = Boolean(value);
- if (this.options.radioAllOff === val) {
- return this.$element;
- }
- this.options.radioAllOff = val;
- return this.$element;
- }
- }, {
- key: 'onInit',
- value: function onInit(value) {
- if (typeof value === 'undefined') {
- return this.options.onInit;
- }
- if (!value) {
- value = $.fn.bootstrapSwitch.defaults.onInit;
- }
- this.options.onInit = value;
- return this.$element;
- }
- }, {
- key: 'onSwitchChange',
- value: function onSwitchChange(value) {
- if (typeof value === 'undefined') {
- return this.options.onSwitchChange;
- }
- if (!value) {
- value = $.fn.bootstrapSwitch.defaults.onSwitchChange;
- }
- this.options.onSwitchChange = value;
- return this.$element;
- }
- }, {
- key: 'destroy',
- value: function destroy() {
- var $form = this.$element.closest('form');
- if ($form.length) {
- $form.off('reset.bootstrapSwitch').removeData('bootstrap-switch');
- }
- this.$container.children().not(this.$element).remove();
- this.$element.unwrap().unwrap().off('.bootstrapSwitch').removeData('bootstrap-switch');
- return this.$element;
- }
- }, {
- key: '_getElementOptions',
- value: function _getElementOptions() {
- return {
- state: this.$element.is(':checked'),
- size: this.$element.data('size'),
- animate: this.$element.data('animate'),
- disabled: this.$element.is(':disabled'),
- readonly: this.$element.is('[readonly]'),
- indeterminate: this.$element.data('indeterminate'),
- inverse: this.$element.data('inverse'),
- radioAllOff: this.$element.data('radio-all-off'),
- onColor: this.$element.data('on-color'),
- offColor: this.$element.data('off-color'),
- onText: this.$element.data('on-text'),
- offText: this.$element.data('off-text'),
- labelText: this.$element.data('label-text'),
- handleWidth: this.$element.data('handle-width'),
- labelWidth: this.$element.data('label-width'),
- baseClass: this.$element.data('base-class'),
- wrapperClass: this.$element.data('wrapper-class')
- };
- }
- }, {
- key: '_width',
- value: function _width() {
- var _this2 = this;
-
- var $handles = this.$on.add(this.$off).add(this.$label).css('width', '');
- var handleWidth = this.options.handleWidth === 'auto' ? Math.round(Math.max(this.$on.width(), this.$off.width())) : this.options.handleWidth;
- $handles.width(handleWidth);
- this.$label.width(function (index, width) {
- if (_this2.options.labelWidth !== 'auto') {
- return _this2.options.labelWidth;
- }
- if (width < handleWidth) {
- return handleWidth;
- }
- return width;
- });
- this._handleWidth = this.$on.outerWidth();
- this._labelWidth = this.$label.outerWidth();
- this.$container.width(this._handleWidth * 2 + this._labelWidth);
- return this.$wrapper.width(this._handleWidth + this._labelWidth);
- }
- }, {
- key: '_containerPosition',
- value: function _containerPosition() {
- var _this3 = this;
-
- var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.options.state;
- var callback = arguments[1];
-
- this.$container.css('margin-left', function () {
- var values = [0, '-' + _this3._handleWidth + 'px'];
- if (_this3.options.indeterminate) {
- return '-' + _this3._handleWidth / 2 + 'px';
- }
- if (state) {
- if (_this3.options.inverse) {
- return values[1];
- } else {
- return values[0];
- }
- } else {
- if (_this3.options.inverse) {
- return values[0];
- } else {
- return values[1];
- }
- }
- });
- }
- }, {
- key: '_init',
- value: function _init() {
- var _this4 = this;
-
- var init = function init() {
- _this4.setPrevOptions();
- _this4._width();
- _this4._containerPosition();
- setTimeout(function () {
- if (_this4.options.animate) {
- return _this4.$wrapper.addClass(_this4._getClass('animate'));
- }
- }, 50);
- };
- if (this.$wrapper.is(':visible')) {
- init();
- return;
- }
- var initInterval = window.setInterval(function () {
- if (_this4.$wrapper.is(':visible')) {
- init();
- return window.clearInterval(initInterval);
- }
- }, 50);
- }
- }, {
- key: '_elementHandlers',
- value: function _elementHandlers() {
- var _this5 = this;
-
- return this.$element.on({
- 'setPreviousOptions.bootstrapSwitch': this.setPrevOptions.bind(this),
-
- 'previousState.bootstrapSwitch': function previousStateBootstrapSwitch() {
- _this5.options = _this5.prevOptions;
- if (_this5.options.indeterminate) {
- _this5.$wrapper.addClass(_this5._getClass('indeterminate'));
- }
- _this5.$element.prop('checked', _this5.options.state).trigger('change.bootstrapSwitch', true);
- },
-
- 'change.bootstrapSwitch': function changeBootstrapSwitch(event, skip) {
- event.preventDefault();
- event.stopImmediatePropagation();
- var state = _this5.$element.is(':checked');
- _this5._containerPosition(state);
- if (state === _this5.options.state) {
- return;
- }
- _this5.options.state = state;
- _this5.$wrapper.toggleClass(_this5._getClass('off')).toggleClass(_this5._getClass('on'));
- if (!skip) {
- if (_this5.$element.is(':radio')) {
- $('[name="' + _this5.$element.attr('name') + '"]').not(_this5.$element).prop('checked', false).trigger('change.bootstrapSwitch', true);
- }
- _this5.$element.trigger('switchChange.bootstrapSwitch', [state]);
- }
- },
-
- 'focus.bootstrapSwitch': function focusBootstrapSwitch(event) {
- event.preventDefault();
- _this5.$wrapper.addClass(_this5._getClass('focused'));
- },
-
- 'blur.bootstrapSwitch': function blurBootstrapSwitch(event) {
- event.preventDefault();
- _this5.$wrapper.removeClass(_this5._getClass('focused'));
- },
-
- 'keydown.bootstrapSwitch': function keydownBootstrapSwitch(event) {
- if (!event.which || _this5.options.disabled || _this5.options.readonly) {
- return;
- }
- if (event.which === 37 || event.which === 39) {
- event.preventDefault();
- event.stopImmediatePropagation();
- _this5.state(event.which === 39);
- }
- }
- });
- }
- }, {
- key: '_handleHandlers',
- value: function _handleHandlers() {
- var _this6 = this;
-
- this.$on.on('click.bootstrapSwitch', function (event) {
- event.preventDefault();
- event.stopPropagation();
- _this6.state(false);
- return _this6.$element.trigger('focus.bootstrapSwitch');
- });
- return this.$off.on('click.bootstrapSwitch', function (event) {
- event.preventDefault();
- event.stopPropagation();
- _this6.state(true);
- return _this6.$element.trigger('focus.bootstrapSwitch');
- });
- }
- }, {
- key: '_labelHandlers',
- value: function _labelHandlers() {
- var _this7 = this;
-
- var handlers = {
- click: function click(event) {
- event.stopPropagation();
- },
-
-
- 'mousedown.bootstrapSwitch touchstart.bootstrapSwitch': function mousedownBootstrapSwitchTouchstartBootstrapSwitch(event) {
- if (_this7._dragStart || _this7.options.disabled || _this7.options.readonly) {
- return;
- }
- event.preventDefault();
- event.stopPropagation();
- _this7._dragStart = (event.pageX || event.originalEvent.touches[0].pageX) - parseInt(_this7.$container.css('margin-left'), 10);
- if (_this7.options.animate) {
- _this7.$wrapper.removeClass(_this7._getClass('animate'));
- }
- _this7.$element.trigger('focus.bootstrapSwitch');
- },
-
- 'mousemove.bootstrapSwitch touchmove.bootstrapSwitch': function mousemoveBootstrapSwitchTouchmoveBootstrapSwitch(event) {
- if (_this7._dragStart == null) {
- return;
- }
- var difference = (event.pageX || event.originalEvent.touches[0].pageX) - _this7._dragStart;
- event.preventDefault();
- if (difference < -_this7._handleWidth || difference > 0) {
- return;
- }
- _this7._dragEnd = difference;
- _this7.$container.css('margin-left', _this7._dragEnd + 'px');
- },
-
- 'mouseup.bootstrapSwitch touchend.bootstrapSwitch': function mouseupBootstrapSwitchTouchendBootstrapSwitch(event) {
- if (!_this7._dragStart) {
- return;
- }
- event.preventDefault();
- if (_this7.options.animate) {
- _this7.$wrapper.addClass(_this7._getClass('animate'));
- }
- if (_this7._dragEnd) {
- var state = _this7._dragEnd > -(_this7._handleWidth / 2);
- _this7._dragEnd = false;
- _this7.state(_this7.options.inverse ? !state : state);
- } else {
- _this7.state(!_this7.options.state);
- }
- _this7._dragStart = false;
- },
-
- 'mouseleave.bootstrapSwitch': function mouseleaveBootstrapSwitch() {
- _this7.$label.trigger('mouseup.bootstrapSwitch');
- }
- };
- this.$label.on(handlers);
- }
- }, {
- key: '_externalLabelHandler',
- value: function _externalLabelHandler() {
- var _this8 = this;
-
- var $externalLabel = this.$element.closest('label');
- $externalLabel.on('click', function (event) {
- event.preventDefault();
- event.stopImmediatePropagation();
- if (event.target === $externalLabel[0]) {
- _this8.toggleState();
- }
- });
- }
- }, {
- key: '_formHandler',
- value: function _formHandler() {
- var $form = this.$element.closest('form');
- if ($form.data('bootstrap-switch')) {
- return;
- }
- $form.on('reset.bootstrapSwitch', function () {
- window.setTimeout(function () {
- $form.find('input').filter(function () {
- return $(this).data('bootstrap-switch');
- }).each(function () {
- return $(this).bootstrapSwitch('state', this.checked);
- });
- }, 1);
- }).data('bootstrap-switch', true);
- }
- }, {
- key: '_getClass',
- value: function _getClass(name) {
- return this.options.baseClass + '-' + name;
- }
- }, {
- key: '_getClasses',
- value: function _getClasses(classes) {
- if (!$.isArray(classes)) {
- return [this._getClass(classes)];
- }
- return classes.map(this._getClass.bind(this));
- }
- }]);
-
- return BootstrapSwitch;
- }();
-
- $.fn.bootstrapSwitch = function (option) {
- for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
- args[_key2 - 1] = arguments[_key2];
- }
-
- function reducer(ret, next) {
- var $this = $(next);
- var existingData = $this.data('bootstrap-switch');
- var data = existingData || new BootstrapSwitch(next, option);
- if (!existingData) {
- $this.data('bootstrap-switch', data);
- }
- if (typeof option === 'string') {
- return data[option].apply(data, args);
- }
- return ret;
- }
- return Array.prototype.reduce.call(this, reducer, this);
- };
- $.fn.bootstrapSwitch.Constructor = BootstrapSwitch;
- $.fn.bootstrapSwitch.defaults = {
- state: true,
- size: null,
- animate: true,
- disabled: false,
- readonly: false,
- indeterminate: false,
- inverse: false,
- radioAllOff: false,
- onColor: 'primary',
- offColor: 'default',
- onText: 'ON',
- offText: 'OFF',
- labelText: ' ',
- handleWidth: 'auto',
- labelWidth: 'auto',
- baseClass: 'bootstrap-switch',
- wrapperClass: 'wrapper',
- onInit: function onInit() {},
- onSwitchChange: function onSwitchChange() {}
- };
-});
diff --git a/vendor/bootstrap-switch/bootstrap-switch.min.css b/vendor/bootstrap-switch/bootstrap-switch.min.css
deleted file mode 100755
index 77006595e..000000000
--- a/vendor/bootstrap-switch/bootstrap-switch.min.css
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
- *
- * @version v3.3.4
- * @homepage https://bttstrp.github.io/bootstrap-switch
- * @author Mattia Larentis (http://larentis.eu)
- * @license Apache-2.0
- */
-
-.bootstrap-switch{display:inline-block;direction:ltr;cursor:pointer;border-radius:4px;border:1px solid #ccc;position:relative;text-align:left;overflow:hidden;line-height:8px;z-index:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bootstrap-switch .bootstrap-switch-container{display:inline-block;top:0;border-radius:4px;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on,.bootstrap-switch .bootstrap-switch-label{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:table-cell;vertical-align:middle;padding:6px 12px;font-size:14px;line-height:20px}.bootstrap-switch .bootstrap-switch-handle-off,.bootstrap-switch .bootstrap-switch-handle-on{text-align:center;z-index:1}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary{color:#fff;background:#337ab7}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info{color:#fff;background:#5bc0de}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success{color:#fff;background:#5cb85c}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning{background:#f0ad4e;color:#fff}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger{color:#fff;background:#d9534f}.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default,.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default{color:#000;background:#eee}.bootstrap-switch .bootstrap-switch-label{text-align:center;margin-top:-1px;margin-bottom:-1px;z-index:100;color:#333;background:#fff}.bootstrap-switch span::before{content:"\200b"}.bootstrap-switch .bootstrap-switch-handle-on{border-bottom-left-radius:3px;border-top-left-radius:3px}.bootstrap-switch .bootstrap-switch-handle-off{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch input[type=radio],.bootstrap-switch input[type=checkbox]{position:absolute!important;top:0;left:0;margin:0;z-index:-1;opacity:0;filter:alpha(opacity=0);visibility:hidden}.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label{padding:1px 5px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label{padding:5px 10px;font-size:12px;line-height:1.5}.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label{padding:6px 16px;font-size:18px;line-height:1.3333333}.bootstrap-switch.bootstrap-switch-disabled,.bootstrap-switch.bootstrap-switch-indeterminate,.bootstrap-switch.bootstrap-switch-readonly{cursor:default!important}.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label{opacity:.5;filter:alpha(opacity=50);cursor:default!important}.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container{-webkit-transition:margin-left .5s;-o-transition:margin-left .5s;transition:margin-left .5s}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on{border-radius:0 3px 3px 0}.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off{border-radius:3px 0 0 3px}.bootstrap-switch.bootstrap-switch-focused{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label{border-bottom-right-radius:3px;border-top-right-radius:3px}.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label,.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label{border-bottom-left-radius:3px;border-top-left-radius:3px}
\ No newline at end of file
diff --git a/vendor/bootstrap-switch/bootstrap-switch.min.js b/vendor/bootstrap-switch/bootstrap-switch.min.js
deleted file mode 100755
index 1381dc110..000000000
--- a/vendor/bootstrap-switch/bootstrap-switch.min.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
- *
- * @version v3.3.4
- * @homepage https://bttstrp.github.io/bootstrap-switch
- * @author Mattia Larentis (http://larentis.eu)
- * @license Apache-2.0
- */
-
-(function(a,b){if('function'==typeof define&&define.amd)define(['jquery'],b);else if('undefined'!=typeof exports)b(require('jquery'));else{b(a.jquery),a.bootstrapSwitch={exports:{}}.exports}})(this,function(a){'use strict';function c(j,k){if(!(j instanceof k))throw new TypeError('Cannot call a class as a function')}var d=function(j){return j&&j.__esModule?j:{default:j}}(a),e=Object.assign||function(j){for(var l,k=1;k',{class:function(){var o=[];return o.push(l.options.state?'on':'off'),l.options.size&&o.push(l.options.size),l.options.disabled&&o.push('disabled'),l.options.readonly&&o.push('readonly'),l.options.indeterminate&&o.push('indeterminate'),l.options.inverse&&o.push('inverse'),l.$element.attr('id')&&o.push('id-'+l.$element.attr('id')),o.map(l._getClass.bind(l)).concat([l.options.baseClass],l._getClasses(l.options.wrapperClass)).join(' ')}}),this.$container=g('',{class:this._getClass('container')}),this.$on=g('',{html:this.options.onText,class:this._getClass('handle-on')+' '+this._getClass(this.options.onColor)}),this.$off=g('',{html:this.options.offText,class:this._getClass('handle-off')+' '+this._getClass(this.options.offColor)}),this.$label=g('',{html:this.options.labelText,class:this._getClass('label')}),this.$element.on('init.bootstrapSwitch',this.options.onInit.bind(this,k)),this.$element.on('switchChange.bootstrapSwitch',function(){for(var n=arguments.length,o=Array(n),p=0;p-(l._handleWidth/2);l._dragEnd=!1,l.state(l.options.inverse?!p:p)}else l.state(!l.options.state);l._dragStart=!1}},'mouseleave.bootstrapSwitch':function(){l.$label.trigger('mouseup.bootstrapSwitch')}})}},{key:'_externalLabelHandler',value:function(){var l=this,m=this.$element.closest('label');m.on('click',function(n){n.preventDefault(),n.stopImmediatePropagation(),n.target===m[0]&&l.toggleState()})}},{key:'_formHandler',value:function(){var l=this.$element.closest('form');l.data('bootstrap-switch')||l.on('reset.bootstrapSwitch',function(){window.setTimeout(function(){l.find('input').filter(function(){return g(this).data('bootstrap-switch')}).each(function(){return g(this).bootstrapSwitch('state',this.checked)})},1)}).data('bootstrap-switch',!0)}},{key:'_getClass',value:function(l){return this.options.baseClass+'-'+l}},{key:'_getClasses',value:function(l){return g.isArray(l)?l.map(this._getClass.bind(this)):[this._getClass(l)]}}]),j}();g.fn.bootstrapSwitch=function(j){for(var l=arguments.length,m=Array(1{function r(){document.querySelectorAll("[data-dxb-slider]:not([data-dxb-initialized])").forEach(i=>{var e=i.closest(".dxb-slider-wrapper");let r=document.createElement("input");r.type="number",r.className="dxb-slider-value",r.setAttribute("tabindex","-1"),r.setAttribute("pattern","[0-9]*");var t=parseFloat(i.step);function a(){var e=i.value,t=i.min,a=i.max;i.style.setProperty("--value-percent",(e-t)/(a-t)*100+"%"),r.value=e,r.min=t,r.max=a,i.setAttribute("aria-valuenow",e)}t&&t%1!=0?r.setAttribute("inputmode","decimal"):r.setAttribute("inputmode","numeric"),e.appendChild(r),i.addEventListener("input",a),r.addEventListener("input",()=>{i.value=r.value,a(),i.dispatchEvent(new Event("input",{bubbles:!0}))}),r.addEventListener("change",()=>{i.dispatchEvent(new Event("change",{bubbles:!0}))}),i.setAttribute("aria-valuemin",i.min),i.setAttribute("aria-valuemax",i.max),a(),i.setAttribute("data-dxb-initialized","true")})}r(),new MutationObserver(e=>{let t=!1;for(var a of e)if("childList"===a.type){for(var i of a.addedNodes)if(i.nodeType===Node.ELEMENT_NODE&&(i.matches("[data-dxb-slider]")||i.querySelector("[data-dxb-slider]"))){t=!0;break}if(t)break}t&&r()}).observe(document.body,{childList:!0,subtree:!0})})();
\ No newline at end of file