Hello community,

here is the log from the commit of package velum for openSUSE:Factory checked 
in at 2018-06-08 23:14:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/velum (Old)
 and      /work/SRC/openSUSE:Factory/.velum.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "velum"

Fri Jun  8 23:14:40 2018 rev:32 rq:614309 
version:4.0.0+dev+git_r821_b85325010440e29c1c005ba296236091b000cd15

Changes:
--------
--- /work/SRC/openSUSE:Factory/velum/velum.changes      2018-06-05 
12:53:00.357430606 +0200
+++ /work/SRC/openSUSE:Factory/.velum.new/velum.changes 2018-06-08 
23:14:43.633663834 +0200
@@ -1,0 +2,23 @@
+Tue Jun  5 13:19:35 UTC 2018 - containers-bui...@suse.de
+
+- Commit 1116260 by James Mason jma...@suse.com
+ Change cloud cluster view based on cluster size
+ 
+ * If existing nodes are in progress/built; say so.
+ * If we've already met the 3-node-minimum, no need for the tip
+ 
+ Commit 0f48c32 by James Mason jma...@suse.com
+ Implement a decorator for cluster size slider
+ 
+ Slider range is dynamically adjusted by decorated class
+ 
+ Commit 18f4184 by James Mason jma...@suse.com
+ Make CloudCluster model aware of cluster size limits
+ 
+ Commit 8c1eeed by James Mason jma...@suse.com
+ Update assets for bootstrap-slider
+ 
+ Including https://github.com/seiyria/bootstrap-slider/pull/836
+
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ velum.spec ++++++
--- /var/tmp/diff_new_pack.ANWyFO/_old  2018-06-08 23:14:44.317639131 +0200
+++ /var/tmp/diff_new_pack.ANWyFO/_new  2018-06-08 23:14:44.321638988 +0200
@@ -23,7 +23,7 @@
 # Version:      1.0.0
 # %%define branch 1.0.0
 
-Version:        4.0.0+dev+git_r812_70ac7085850ee488a3bed38990076c820f6cd395
+Version:        4.0.0+dev+git_r821_b85325010440e29c1c005ba296236091b000cd15
 Release:        0
 %define branch master
 Summary:        Dashboard for CaasP
@@ -92,7 +92,7 @@
 %description
 velum is the dashboard for CaasP to manage and deploy kubernetes clusters on 
top of MicroOS
 
-This package has been built with commit 
70ac7085850ee488a3bed38990076c820f6cd395 from branch master on date Thu, 31 May 
2018 13:56:20 +0000
+This package has been built with commit 
b85325010440e29c1c005ba296236091b000cd15 from branch master on date Tue, 05 Jun 
2018 13:18:53 +0000
 
 %prep
 %setup -q -n velum-%{branch}

++++++ master.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/app/assets/javascripts/dashboard/dashboard.js 
new/velum-master/app/assets/javascripts/dashboard/dashboard.js
--- old/velum-master/app/assets/javascripts/dashboard/dashboard.js      
2018-05-31 15:57:40.000000000 +0200
+++ new/velum-master/app/assets/javascripts/dashboard/dashboard.js      
2018-06-05 15:19:54.000000000 +0200
@@ -467,8 +467,14 @@
 };
 
 function isTheLast(minion, role) {
+  var remainingValid = State.minions.filter(function (m) {
+    return m.role === role &&
+           m.highstate !== 'removal_failed';
+  });
+
   return minion.role === role &&
-         State.minions.filter(function (m) { return m.role === role }).length 
=== 1;
+         remainingValid.length === 1 &&
+         !(minion.highstate === 'removal_failed');
 }
 
 function hasPendingAcceptance(minionId) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/velum-master/app/controllers/setup_controller.rb 
new/velum-master/app/controllers/setup_controller.rb
--- old/velum-master/app/controllers/setup_controller.rb        2018-05-31 
15:57:40.000000000 +0200
+++ new/velum-master/app/controllers/setup_controller.rb        2018-06-05 
15:19:54.000000000 +0200
@@ -92,9 +92,11 @@
     return if cloud.empty? || cloud == "openstack"
 
     @instance_types = Velum::InstanceType.for(cloud)
-    @cloud_cluster = CloudCluster.new(
-      cloud_framework: cloud,
-      instance_type:   (Pillar.value(pillar: :cloud_worker_type) || 
@instance_types.first.key)
+    @cloud_cluster = ClusterSizeSliderDecorator.new(
+      CloudCluster.new(
+        cloud_framework: cloud,
+        instance_type:   (Pillar.value(pillar: :cloud_worker_type) || 
@instance_types.first.key)
+      )
     )
     case cloud
     when "ec2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/app/decorators/cluster_size_slider_decorator.rb 
new/velum-master/app/decorators/cluster_size_slider_decorator.rb
--- old/velum-master/app/decorators/cluster_size_slider_decorator.rb    
1970-01-01 01:00:00.000000000 +0100
+++ new/velum-master/app/decorators/cluster_size_slider_decorator.rb    
2018-06-05 15:19:54.000000000 +0200
@@ -0,0 +1,28 @@
+# frozen_string_literal: true
+
+# Provide decorations for simplifying vew code around cluster size slider
+class ClusterSizeSliderDecorator < SimpleDelegator
+  BASELINE_TICKS = [3, 5, 10, 20, 50, 100, 250].freeze
+
+  def slider_data
+    {
+      slider_ticks:             slider_ticks,
+      slider_value:             min_nodes_required,
+      slider_scale:             "logarithmic",
+      slider_tooltip:           "always",
+      slider_tooltip_position:  "bottom",
+      step:                     1,
+      slider_ticks_snap_bounds: 0.5
+    }
+  end
+
+  private
+
+  def slider_ticks
+    ticks = BASELINE_TICKS.dup
+    ticks.delete_if { |tick| tick > max_nodes_allowed }
+    ticks << min_nodes_required
+    ticks << max_nodes_allowed
+    ticks.uniq.sort
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/velum-master/app/models/cloud_cluster.rb 
new/velum-master/app/models/cloud_cluster.rb
--- old/velum-master/app/models/cloud_cluster.rb        2018-05-31 
15:57:40.000000000 +0200
+++ new/velum-master/app/models/cloud_cluster.rb        2018-06-05 
15:19:54.000000000 +0200
@@ -9,6 +9,9 @@
     :subscription_id, :tenant_id, :client_id, :secret, # Azure provider
     :storage_account, :resource_group, :network_id # Azure profile
 
+  MIN_CLUSTER_SIZE = 3
+  MAX_CLUSTER_SIZE = 250
+
   def initialize(*args)
     super
     if @instance_type.blank? || @instance_type == "CUSTOM"
@@ -17,6 +20,18 @@
     @instance_count = @instance_count.to_i
   end
 
+  def current_cluster_size
+    SaltJob.all_open.count + Minion.where.not(role: :admin).count
+  end
+
+  def min_nodes_required
+    [0, MIN_CLUSTER_SIZE - current_cluster_size].max
+  end
+
+  def max_nodes_allowed
+    MAX_CLUSTER_SIZE - current_cluster_size
+  end
+
   # attributes that will be described via to_s as a scoping description
   def string_scoping_attributes
     [:resource_group, :network_id, :subnet_id, :security_group_id]
@@ -54,7 +69,10 @@
 
   def build!
     SaltJob.failed.destroy_all
+
+    return if @instance_count.zero?
     return unless (responses = 
Velum::Salt.build_cloud_cluster(@instance_count))
+
     responses.each do |response|
       if response.code.to_i == 500
         errors.add(:base, response.body)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/app/views/settings/registry_mirrors/_form.html.slim 
new/velum-master/app/views/settings/registry_mirrors/_form.html.slim
--- old/velum-master/app/views/settings/registry_mirrors/_form.html.slim        
2018-05-31 15:57:40.000000000 +0200
+++ new/velum-master/app/views/settings/registry_mirrors/_form.html.slim        
2018-06-05 15:19:54.000000000 +0200
@@ -3,7 +3,7 @@
     = f.label :registry_id, "Mirror of"
     .row
       .col-xs-4
-        = f.select :registry_id, registries_options_for_select, { 
include_blank: true }, class: "form-control registry-select", required: true, 
disabled: !@certificate_holder.new_record?
+        = f.select :registry_id, registries_options_for_select, { prompt: 
"Select a registry" }, class: "form-control registry-select", required: true, 
disabled: !@certificate_holder.new_record?
       - if @certificate_holder.new_record?
         .col-xs-8
           = link_to "Create new registry", new_settings_registry_path, class: 
"btn btn-primary add-entry-btn hide"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/app/views/setup/_cluster_size_panel.html.slim 
new/velum-master/app/views/setup/_cluster_size_panel.html.slim
--- old/velum-master/app/views/setup/_cluster_size_panel.html.slim      
2018-05-31 15:57:40.000000000 +0200
+++ new/velum-master/app/views/setup/_cluster_size_panel.html.slim      
2018-06-05 15:19:54.000000000 +0200
@@ -3,14 +3,18 @@
     h3.panel-title Cluster size
   .panel-body.cluster-size-selector
     .col-md-8
-      label for="cloud_cluster_instance_count" Number of instances
-      = form.text_field :instance_count, data: {slider_min: 3, slider_value: 
5, slider_max: 50, slider_scale: "logarithmic", slider_tooltip: "always", 
slider_tooltip_position: "bottom", slider_ticks: [3, 5, 10, 20, 50], 
slider_ticks_snap_bounds: 0.5}, class: 'h3'
+      label for="cloud_cluster_instance_count"
+       | Number of instances
+       - if @cloud_cluster.current_cluster_size > 0
+         |  to add (current size: #{ 
pluralize(@cloud_cluster.current_cluster_size, 'node') })
+      = form.text_field :instance_count, data: @cloud_cluster.slider_data, 
class: 'h3'
     .col-md-2.text-right.cluster-cpu-count
       label Total vCPUs
       label.h3#cluster-cpu-count = 0
     .col-md-2.text-right.cluster-ram-size
       label Total RAM
       label.h3#cluster-ram-size data-bytes=0 = 0
-  .panel-footer
-    h4 Tip
-    p At least three nodes are required for a reliable cluster.
+  - if @cloud_cluster.min_nodes_required > 0
+    .panel-footer
+      h4 Tip
+      p At least three nodes are required for a reliable cluster.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/spec/features/bootstrap_in_ec2_feature_spec.rb 
new/velum-master/spec/features/bootstrap_in_ec2_feature_spec.rb
--- old/velum-master/spec/features/bootstrap_in_ec2_feature_spec.rb     
2018-05-31 15:57:40.000000000 +0200
+++ new/velum-master/spec/features/bootstrap_in_ec2_feature_spec.rb     
2018-06-05 15:19:54.000000000 +0200
@@ -39,12 +39,14 @@
     expect(page).to 
have_css("input#cloud_cluster_instance_type_custom[type='text']")
   end
 
-  context "when sizing the cluster" do
+  context "when sizing the cluster", js: true do
     let(:cluster_size) do
-      page.find("#cloud_cluster_instance_count", visible: 
:any)["data-slider-value"].to_i
+      
page.evaluate_script("$('#cloud_cluster_instance_count').slider('getValue')")
     end
+    let(:too_small) { CloudCluster::MIN_CLUSTER_SIZE - 1 }
+    let(:too_big) { CloudCluster::MAX_CLUSTER_SIZE + 1 }
 
-    it "calculates the total cluster vCPU count", js: true do
+    it "calculates the total cluster vCPU count" do
       instance_types.each do |instance_type|
         total = instance_type.vcpu_count * cluster_size
         click_instance_type_radio(instance_type)
@@ -52,7 +54,7 @@
       end
     end
 
-    it "calculates the total cluster RAM size", js: true do
+    it "calculates the total cluster RAM size" do
       instance_types.each do |instance_type|
         total = instance_type.ram_bytes * cluster_size
         click_instance_type_radio(instance_type)
@@ -60,10 +62,46 @@
       end
     end
 
-    it "hides calculations for custom types", js: true do
+    it "hides calculations for custom types" do
       click_instance_type_radio(custom_instance_type)
       expect(page).not_to have_css("#cluster-cpu-count")
       expect(page).not_to have_css("#cluster-ram-count")
     end
+
+    it "enforces a minimum size" do
+      page.execute_script(
+        "$('#cloud_cluster_instance_count').slider('setValue', #{too_small}, 
true, true)"
+      )
+      expect(cluster_size).to eq(CloudCluster::MIN_CLUSTER_SIZE)
+    end
+
+    it "enforces a maximum size" do
+      page.execute_script(
+        "$('#cloud_cluster_instance_count').slider('setValue', #{too_big}, 
true, true)"
+      )
+      expect(cluster_size).to eq(CloudCluster::MAX_CLUSTER_SIZE)
+    end
+
+    context "when a cluster is already built" do
+      setup do
+        # rubocop:disable RSpec/AnyInstance
+        allow_any_instance_of(CloudCluster)
+          .to 
receive(:current_cluster_size).and_return(CloudCluster::MIN_CLUSTER_SIZE)
+        # rubocop:enable RSpec/AnyInstance
+        visit setup_worker_bootstrap_path
+      end
+
+      it "lowers the minimum size" do
+        expect(cluster_size).to eq(0)
+      end
+
+      it "lowers the maximum size" do
+        page.execute_script(
+          "$('#cloud_cluster_instance_count').slider('setValue', #{too_big}, 
true, true)"
+        )
+        expect(cluster_size)
+          .to eq(CloudCluster::MAX_CLUSTER_SIZE - 
CloudCluster::MIN_CLUSTER_SIZE)
+      end
+    end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/spec/features/node_force_removal_feature_spec.rb 
new/velum-master/spec/features/node_force_removal_feature_spec.rb
--- old/velum-master/spec/features/node_force_removal_feature_spec.rb   
2018-05-31 15:57:40.000000000 +0200
+++ new/velum-master/spec/features/node_force_removal_feature_spec.rb   
2018-06-05 15:19:54.000000000 +0200
@@ -29,13 +29,6 @@
     expect(page).to have_link("Force remove", count: 2)
   end
 
-  it "hides 'Force remove' link if only 1 master and 1 worker" do
-    Minion.destroy([minions[1].id, minions[2].id, minions[3].id])
-
-    visit authenticated_root_path
-    expect(page).not_to have_link("Force remove")
-  end
-
   context "with successful orchestration" do
     before do
       allow(Orchestration).to receive(:run).and_return(true)
@@ -83,7 +76,7 @@
       expect(page).to have_css(".force-remove-node-link.disabled",
         count: 2)
       expect(page).to have_css(".remove-node-link.disabled",
-        count: 2)
+        count: 1)
 
       # assign nodes
       expect(page).not_to have_link("(new)")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/spec/features/node_removal_feature_spec.rb 
new/velum-master/spec/features/node_removal_feature_spec.rb
--- old/velum-master/spec/features/node_removal_feature_spec.rb 2018-05-31 
15:57:40.000000000 +0200
+++ new/velum-master/spec/features/node_removal_feature_spec.rb 2018-06-05 
15:19:54.000000000 +0200
@@ -27,6 +27,13 @@
     expect(page).to have_link("Remove", count: Minion.cluster_role.count)
   end
 
+  it "hides 'Remove' link if 2 remaining and 1 is failed" do
+    [minions[1], minions[2], minions[3]].each { |m| m.update(highstate: 
:removal_failed) }
+
+    visit authenticated_root_path
+    expect(page).not_to have_link("Remove")
+  end
+
   it "hides 'Remove' link if only 1 master and 1 worker" do
     Minion.destroy([minions[1].id, minions[2].id, minions[3].id])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/velum-master/spec/models/cloud_cluster_spec.rb 
new/velum-master/spec/models/cloud_cluster_spec.rb
--- old/velum-master/spec/models/cloud_cluster_spec.rb  2018-05-31 
15:57:40.000000000 +0200
+++ new/velum-master/spec/models/cloud_cluster_spec.rb  2018-06-05 
15:19:54.000000000 +0200
@@ -27,6 +27,35 @@
     expect(cluster.instance_type).to be(custom_instance_type)
   end
 
+  it "has a constant for minimum cluster size" do
+    expect(described_class).to be_const_defined(:MIN_CLUSTER_SIZE)
+  end
+
+  it "has a constant for maximum cluster size" do
+    expect(described_class).to be_const_defined(:MAX_CLUSTER_SIZE)
+  end
+
+  it "represents the current cluster size" do
+    expect(described_class.new.current_cluster_size).to eq(0)
+
+    3.times { create(:salt_job) }
+    expect(described_class.new.current_cluster_size).to eq(3)
+  end
+
+  it "calculates the minimum number of nodes required for a cluster" do
+    expect(described_class.new.min_nodes_required).to 
eq(described_class::MIN_CLUSTER_SIZE)
+
+    described_class::MIN_CLUSTER_SIZE.times { create(:salt_job) }
+    expect(described_class.new.min_nodes_required).to eq(0)
+  end
+
+  it "calculates maximum cluster growth" do
+    expect(described_class.new.max_nodes_allowed).to 
eq(described_class::MAX_CLUSTER_SIZE)
+
+    50.times { create(:salt_job) }
+    expect(described_class.new.max_nodes_allowed).to 
eq(described_class::MAX_CLUSTER_SIZE - 50)
+  end
+
   context "when represented as a string" do
     let(:cluster) do
       described_class.new(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/vendor/assets/javascript/bootstrap-slider.min.js 
new/velum-master/vendor/assets/javascript/bootstrap-slider.min.js
--- old/velum-master/vendor/assets/javascript/bootstrap-slider.min.js   
2018-05-31 15:57:40.000000000 +0200
+++ new/velum-master/vendor/assets/javascript/bootstrap-slider.min.js   
2018-06-05 15:19:54.000000000 +0200
@@ -1,5 +1,5 @@
 /*! =======================================================
-                      VERSION  9.9.0              
+                      VERSION  10.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!m||m.length>1?m:m[0]}}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},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=0;f<e.length;f++){var 
h=e[f],i=c[h];i="undefined"!=typeof 
i?i:d(this.element,h),i=null!==i?i:this.defaultOptions[h],this.options||(this.options={}),this.options[h]=i}"auto"===this.options.rtl&&(this.options.rtl="rtl"===window.getComputedStyle(this.element).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
 
j,k,l,m,n,o=this.element.style.width,p=!1,q=this.element.parentNode;if(this.sliderElem)p=!0;else{this.sliderElem=document.createElement("div"),this.sliderElem.className="slider";var
 
r=document.createElement("div");r.className="slider-track",k=document.createElement("div"),k.className="slider-track-low",j=document.createElement("div"),j.className="slider-selection",l=document.createElement("div"),l.className="slider-track-high",m=document.createElement("div"),m.className="slider-handle
 
min-slider-handle",m.setAttribute("role","slider"),m.setAttribute("aria-valuemin",this.options.min),m.setAttribute("aria-valuemax",this.options.max),n=document.createElement("div"),n.className="slider-handle
 
max-slider-handle",n.setAttribute("role","slider"),n.setAttribute("aria-valuemin",this.options.min),n.setAttribute("aria-valuemax",this.options.max),r.appendChild(k),r.appendChild(j),r.appendChild(l),this.rangeHighlightElements=[];var
 s=this.options.rangeHighlights;if(Array.isArray(s)&&s.length>0)for(var 
t=0;t<s.length;t++){var 
u=document.createElement("div"),v=s[t]["class"]||"";u.className="slider-rangeHighlight
 slider-selection "+v,this.rangeHighlightElements.push(u),r.appendChild(u)}var 
w=Array.isArray(this.options.labelledby);if(w&&this.options.labelledby[0]&&m.setAttribute("aria-labelledby",this.options.labelledby[0]),w&&this.options.labelledby[1]&&n.setAttribute("aria-labelledby",this.options.labelledby[1]),!w&&this.options.labelledby&&(m.setAttribute("aria-labelledby",this.options.labelledby),n.setAttribute("aria-labelledby",this.options.labelledby)),this.ticks=[],Array.isArray(this.options.ticks)&&this.options.ticks.length>0){for(this.ticksContainer=document.createElement("div"),this.ticksContainer.className="slider-tick-container",f=0;f<this.options.ticks.length;f++){var
 
x=document.createElement("div");if(x.className="slider-tick",this.options.ticks_tooltip){var
 
y=this._addTickListener(),z=y.addMouseEnter(this,x,f),A=y.addMouseLeave(this,x);this.ticksCallbackMap[f]={mouseEnter:z,mouseLeave:A}}this.ticks.push(x),this.ticksContainer.appendChild(x)}j.className+="
 
tick-slider-selection"}if(this.tickLabels=[],Array.isArray(this.options.ticks_labels)&&this.options.ticks_labels.length>0)for(this.tickLabelContainer=document.createElement("div"),this.tickLabelContainer.className="slider-tick-label-container",f=0;f<this.options.ticks_labels.length;f++){var
 
B=document.createElement("div"),C=0===this.options.ticks_positions.length,D=this.options.reversed&&C?this.options.ticks_labels.length-(f+1):f;B.className="slider-tick-label",B.innerHTML=this.options.ticks_labels[D],this.tickLabels.push(B),this.tickLabelContainer.appendChild(B)}var
 E=function(a){var 
b=document.createElement("div");b.className="tooltip-arrow";var 
c=document.createElement("div");c.className="tooltip-inner",a.appendChild(b),a.appendChild(c)},F=document.createElement("div");F.className="tooltip
 tooltip-main",F.setAttribute("role","presentation"),E(F);var 
G=document.createElement("div");G.className="tooltip 
tooltip-min",G.setAttribute("role","presentation"),E(G);var 
H=document.createElement("div");H.className="tooltip 
tooltip-max",H.setAttribute("role","presentation"),E(H),this.sliderElem.appendChild(r),this.sliderElem.appendChild(F),this.sliderElem.appendChild(G),this.sliderElem.appendChild(H),this.tickLabelContainer&&this.sliderElem.appendChild(this.tickLabelContainer),this.ticksContainer&&this.sliderElem.appendChild(this.ticksContainer),this.sliderElem.appendChild(m),this.sliderElem.appendChild(n),q.insertBefore(this.sliderElem,this.element),this.element.style.display="none"}if(a&&(this.$element=a(this.element),this.$sliderElem=a(this.sliderElem)),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"),g[this.options.scale]&&(this.options.scale=g[this.options.scale]),p===!0&&(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"),["left","right","top","width","height"].forEach(function(a){this._removeProperty(this.trackLow,a),this._removeProperty(this.trackSelection,a),this._removeProperty(this.trackHigh,a)},this),[this.handle1,this.handle2].forEach(function(a){this._removeProperty(a,"left"),this._removeProperty(a,"right"),this._removeProperty(a,"top")},this),[this.tooltip,this.tooltip_min,this.tooltip_max].forEach(function(a){this._removeProperty(a,"left"),this._removeProperty(a,"right"),this._removeProperty(a,"top"),this._removeProperty(a,"margin-left"),this._removeProperty(a,"margin-right"),this._removeProperty(a,"margin-top"),this._removeClass(a,"right"),this._removeClass(a,"left"),this._removeClass(a,"top")},this)),"vertical"===this.options.orientation?(this._addClass(this.sliderElem,"slider-vertical"),this.stylePos="top",this.mousePos="pageY",this.sizePos="offsetHeight"):(this._addClass(this.sliderElem,"slider-horizontal"),this.sliderElem.style.width=o,this.options.orientation="horizontal",this.options.rtl?this.stylePos="right":this.stylePos="left",this.mousePos="pageX",this.sizePos="offsetWidth"),this.options.rtl&&this._addClass(this.sliderElem,"slider-rtl"),this._setTooltipPosition(),Array.isArray(this.options.ticks)&&this.options.ticks.length>0&&(this.options.max=Math.max.apply(Math,this.options.ticks),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=k||this.trackLow,this.trackSelection=j||this.trackSelection,this.trackHigh=l||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=m||this.handle1,this.handle2=n||this.handle2,p===!0)for(this._removeClass(this.handle1,"round
 triangle"),this._removeClass(this.handle2,"round triangle 
hide"),f=0;f<this.ticks.length;f++)this._removeClass(this.ticks[f],"round 
triangle hide");var 
I=["round","triangle","custom"],J=-1!==I.indexOf(this.options.handle);if(J)for(this._addClass(this.handle1,this.options.handle),this._addClass(this.handle2,this.options.handle),f=0;f<this.ticks.length;f++)this._addClass(this.ticks[f],this.options.handle);if(this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this.setValue(this._state.value),this.handle1Keydown=this._keydown.bind(this,0),this.handle1.addEventListener("keydown",this.handle1Keydown,!1),this.handle2Keydown=this._keydown.bind(this,1),this.handle2.addEventListener("keydown",this.handle2Keydown,!1),this.mousedown=this._mousedown.bind(this),this.touchstart=this._touchstart.bind(this),this.touchmove=this._touchmove.bind(this),this.touchCapable){var
 K=!1;try{var 
L=Object.defineProperty({},"passive",{get:function(){K=!0}});window.addEventListener("test",null,L)}catch(M){}var
 
N=K?{passive:!0}:!1;this.sliderElem.addEventListener("touchstart",this.touchstart,N),this.sliderElem.addEventListener("touchmove",this.touchmove,N)}if(this.sliderElem.addEventListener("mousedown",this.mousedown,!1),this.resize=this._resize.bind(this),window.addEventListener("resize",this.resize,!1),"hide"===this.options.tooltip)this._addClass(this.tooltip,"hide"),this._addClass(this.tooltip_min,"hide"),this._addClass(this.tooltip_max,"hide");else
 
if("always"===this.options.tooltip)this._showTooltip(),this._alwaysShowTooltip=!0;else{if(this.showTooltip=this._showTooltip.bind(this),this.hideTooltip=this._hideTooltip.bind(this),this.options.ticks_tooltip){var
 
O=this._addTickListener(),P=O.addMouseEnter(this,this.handle1),Q=O.addMouseLeave(this,this.handle1);this.handleCallbackMap.handle1={mouseEnter:P,mouseLeave:Q},P=O.addMouseEnter(this,this.handle2),Q=O.addMouseLeave(this,this.handle2),this.handleCallbackMap.handle2={mouseEnter:P,mouseLeave:Q}}else
 
this.sliderElem.addEventListener("mouseenter",this.showTooltip,!1),this.sliderElem.addEventListener("mouseleave",this.hideTooltip,!1);this.handle1.addEventListener("focus",this.showTooltip,!1),this.handle1.addEventListener("blur",this.hideTooltip,!1),this.handle2.addEventListener("focus",this.showTooltip,!1),this.handle2.addEventListener("blur",this.hideTooltip,!1)}this.options.enabled?this.enable():this.disable()}var
 f={formatInvalidInputErrorMsg:function(a){return"Invalid input value '"+a+"' 
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"},g={linear:{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,h=1;h<this.options.ticks_positions.length;h++)if(a<=this.options.ticks_positions[h]){d=this.options.ticks[h-1],f=this.options.ticks_positions[h-1],e=this.options.ticks[h],g=this.options.ticks_positions[h];break}var
 i=(a-f)/(g-f);b=d+i*(e-d),c=!1}var 
j=c?this.options.min:0,k=j+Math.round(b/this.options.step)*this.options.step;return
 
k<this.options.min?this.options.min:k>this.options.max?this.options.max:k},toPercentage:function(a){if(this.options.max===this.options.min)return
 0;if(this.options.ticks_positions.length>0){for(var 
b,c,d,e=0,f=0;f<this.options.ticks.length;f++)if(a<=this.options.ticks[f]){b=f>0?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=0===this.options.min?0:Math.log(this.options.min),c=Math.log(this.options.max),d=Math.exp(b+(c-b)*a/100);return
 
Math.round(d)===this.options.max?this.options.max:(d=this.options.min+Math.round((d-this.options.min)/this.options.step)*this.options.step,d<this.options.min?this.options.min:d>this.options.max?this.options.max:d)},toPercentage:function(a){if(this.options.max===this.options.min)return
 0;var 
b=Math.log(this.options.max),c=0===this.options.min?0:Math.log(this.options.min),d=0===a?0:Math.log(a);return
 100*(d-c)/(b-c)}}};if(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,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._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._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.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];return 
this._setDataVal(f),b===!0&&this._trigger("slide",f),d!==f&&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(),this.$element.removeData("slider"))},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(){return 
this._removeSliderEventHandlers(),e.call(this,this.element,this.options),a&&a.data(this.element,"slider",this),this},relayout:function(){return
 
this._resize(),this._layout(),this},_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;b<a.length;b++)a[b].removeEventListener("mouseenter",this.ticksCallbackMap[b].mouseEnter,!1),a[b].removeEventListener("mouseleave",this.ticksCallbackMap[b].mouseLeave,!1);this.handle1.removeEventListener("mouseenter",this.handleCallbackMap.handle1.mouseEnter,!1),this.handle2.removeEventListener("mouseenter",this.handleCallbackMap.handle2.mouseEnter,!1),this.handle1.removeEventListener("mouseleave",this.handleCallbackMap.handle1.mouseLeave,!1),this.handle2.removeEventListener("mouseleave",this.handleCallbackMap.handle2.mouseLeave,!1)}this.handleCallbackMap=null,this.ticksCallbackMap=null,this.showTooltip&&(this.handle1.removeEventListener("focus",this.showTooltip,!1),this.handle2.removeEventListener("focus",this.showTooltip,!1)),this.hideTooltip&&(this.handle1.removeEventListener("blur",this.hideTooltip,!1),this.handle2.removeEventListener("blur",this.hideTooltip,!1)),this.showTooltip&&this.sliderElem.removeEventListener("mouseenter",this.showTooltip,!1),this.hideTooltip&&this.sliderElem.removeEventListener("mouseleave",this.hideTooltip,!1),this.sliderElem.removeEventListener("touchstart",this.touchstart,!1),this.sliderElem.removeEventListener("touchmove",this.touchmove,!1),this.sliderElem.removeEventListener("mousedown",this.mousedown,!1),window.removeEventListener("resize",this.resize,!1)},_bindNonQueryEventHandler:function(a,b){void
 
0===this.eventToCallbackMap[a]&&(this.eventToCallbackMap[a]=[]),this.eventToCallbackMap[a].push(b)},_unbindNonQueryEventHandler:function(a,b){var
 c=this.eventToCallbackMap[a];if(void 0!==c)for(var 
d=0;d<c.length;d++)if(c[d]===b){c.splice(d,1);break}},_cleanUpEventCallbacksMap:function(){for(var
 a=Object.keys(this.eventToCallbackMap),b=0;b<a.length;b++){var c=a[b];delete 
this.eventToCallbackMap[c]}},_showTooltip:function(){this.options.tooltip_split===!1?(this._addClass(this.tooltip,"in"),this.tooltip_min.style.display="none",this.tooltip_max.style.display="none"):(this._addClass(this.tooltip_min,"in"),this._addClass(this.tooltip_max,"in"),this.tooltip.style.display="none"),this._state.over=!0},_hideTooltip:function(){this._state.inDrag===!1&&this.alwaysShowTooltip!==!0&&(this._removeClass(this.tooltip,"in"),this._removeClass(this.tooltip_min,"in"),this._removeClass(this.tooltip_max,"in")),this._state.over=!1},_setToolTipOnMouseOver:function(a){function
 b(a,b){return 
b?[100-a.percentage[0],this.options.range?100-a.percentage[1]:a.percentage[1]]:[a.percentage[0],a.percentage[1]]}var
 
c=this.options.formatter(a?a.value[0]:this._state.value[0]),d=a?b(a,this.options.reversed):b(this._state,this.options.reversed);this._setText(this.tooltipInner,c),this.tooltip.style[this.stylePos]=d[0]+"%","vertical"===this.options.orientation?this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetHeight/2+"px"):this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetWidth/2+"px")},_addTickListener:function(){return{addMouseEnter:function(a,b,c){var
 d=function(){var 
b=a._state,d=c>=0?c:this.attributes["aria-valuenow"].value,e=parseInt(d,10);b.value[0]=e,b.percentage[0]=a.options.ticks_positions[e],a._setToolTipOnMouseOver(b),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;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]),isNaN(this.options.formatter(this._state.value[0]))&&this.handle1.setAttribute("aria-valuetext",this.options.formatter(this._state.value[0])),this.handle2.style[this.stylePos]=a[1]+"%",this.handle2.setAttribute("aria-valuenow",this._state.value[1]),isNaN(this.options.formatter(this._state.value[1]))&&this.handle2.setAttribute("aria-valuetext",this.options.formatter(this._state.value[1])),this.rangeHighlightElements.length>0&&Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(var
 b=0;b<this.options.rangeHighlights.length;b++){var 
c=this._toPercentage(this.options.rangeHighlights[b].start),d=this._toPercentage(this.options.rangeHighlights[b].end);if(this.options.reversed){var
 e=100-d;d=100-c,c=e}var 
f=this._createHighlightRange(c,d);f?"vertical"===this.options.orientation?(this.rangeHighlightElements[b].style.top=f.start+"%",this.rangeHighlightElements[b].style.height=f.size+"%"):(this.options.rtl?this.rangeHighlightElements[b].style.right=f.start+"%":this.rangeHighlightElements[b].style.left=f.start+"%",this.rangeHighlightElements[b].style.width=f.size+"%"):this.rangeHighlightElements[b].style.display="none"}if(Array.isArray(this.options.ticks)&&this.options.ticks.length>0){var
 
g,h="vertical"===this.options.orientation?"height":"width";g="vertical"===this.options.orientation?"marginTop":this.options.rtl?"marginRight":"marginLeft";var
 
i=this._state.size/(this.options.ticks.length-1);if(this.tickLabelContainer){var
 
j=0;if(0===this.options.ticks_positions.length)"vertical"!==this.options.orientation&&(this.tickLabelContainer.style[g]=-i/2+"px"),j=this.tickLabelContainer.offsetHeight;else
 
for(k=0;k<this.tickLabelContainer.childNodes.length;k++)this.tickLabelContainer.childNodes[k].offsetHeight>j&&(j=this.tickLabelContainer.childNodes[k].offsetHeight);"horizontal"===this.options.orientation&&(this.sliderElem.style.marginBottom=j+"px")}for(var
 k=0;k<this.options.ticks.length;k++){var 
l=this.options.ticks_positions[k]||this._toPercentage(this.options.ticks[k]);this.options.reversed&&(l=100-l),this.ticks[k].style[this.stylePos]=l+"%",this._removeClass(this.ticks[k],"in-selection"),this.options.range?l>=a[0]&&l<=a[1]&&this._addClass(this.ticks[k],"in-selection"):"after"===this.options.selection&&l>=a[0]?this._addClass(this.ticks[k],"in-selection"):"before"===this.options.selection&&l<=a[0]&&this._addClass(this.ticks[k],"in-selection"),this.tickLabels[k]&&(this.tickLabels[k].style[h]=i+"px","vertical"!==this.options.orientation&&void
 
0!==this.options.ticks_positions[k]?(this.tickLabels[k].style.position="absolute",this.tickLabels[k].style[this.stylePos]=l+"%",this.tickLabels[k].style[g]=-i/2+"px"):"vertical"===this.options.orientation&&(this.options.rtl?this.tickLabels[k].style.marginRight=this.sliderElem.offsetWidth+"px":this.tickLabels[k].style.marginLeft=this.sliderElem.offsetWidth+"px",this.tickLabelContainer.style[g]=this.sliderElem.offsetWidth/2*-1+"px"))}}var
 
m;if(this.options.range){m=this.options.formatter(this._state.value),this._setText(this.tooltipInner,m),this.tooltip.style[this.stylePos]=(a[1]+a[0])/2+"%","vertical"===this.options.orientation?this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetHeight/2+"px"):this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetWidth/2+"px");var
 
n=this.options.formatter(this._state.value[0]);this._setText(this.tooltipInner_min,n);var
 
o=this.options.formatter(this._state.value[1]);this._setText(this.tooltipInner_max,o),this.tooltip_min.style[this.stylePos]=a[0]+"%","vertical"===this.options.orientation?this._css(this.tooltip_min,"margin-"+this.stylePos,-this.tooltip_min.offsetHeight/2+"px"):this._css(this.tooltip_min,"margin-"+this.stylePos,-this.tooltip_min.offsetWidth/2+"px"),this.tooltip_max.style[this.stylePos]=a[1]+"%","vertical"===this.options.orientation?this._css(this.tooltip_max,"margin-"+this.stylePos,-this.tooltip_max.offsetHeight/2+"px"):this._css(this.tooltip_max,"margin-"+this.stylePos,-this.tooltip_max.offsetWidth/2+"px")}else
 
m=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner,m),this.tooltip.style[this.stylePos]=a[0]+"%","vertical"===this.options.orientation?this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetHeight/2+"px"):this._css(this.tooltip,"margin-"+this.stylePos,-this.tooltip.offsetWidth/2+"px");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
 
p=this.tooltip_min.getBoundingClientRect(),q=this.tooltip_max.getBoundingClientRect();"bottom"===this.options.tooltip_position?p.right>q.left?(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top="",this.tooltip_max.style.bottom="22px"):(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top=this.tooltip_min.style.top,this.tooltip_max.style.bottom=""):p.right>q.left?(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top="18px"):(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"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;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._layout(),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._setDataVal(e),this.setValue(e,!1,!0),a.returnValue=!1,this.options.focus&&this._triggerFocusOnHandle(this._state.dragged),!0},_touchstart:function(a){if(void
 0===a.changedTouches)return void this._mousedown(a);var 
b=a.changedTouches[0];this.touchX=b.pageX,this.touchY=b.pageY},_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="vertical"===this.options.orientation&&!this.options.reversed,e="horizontal"===this.options.orientation&&this.options.reversed;(d||e)&&(c=-c)}var
 
f=this._state.value[a]+c*this.options.step,g=f/this.options.max*100;if(this._state.keyCtrl=a,this.options.range){this._adjustPercentageForRangeSliders(g);var
 
h=this._state.keyCtrl?this._state.value[0]:f,i=this._state.keyCtrl?f:this._state.value[1];f=[h,i]}return
 
this._trigger("slideStart",f),this._setDataVal(f),this.setValue(f,!0,!0),this._setDataVal(f),this._trigger("slideStop",f),this._layout(),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,this._layout();var
 c=this._calculateValue(!0);return 
this.setValue(c,!0,!0),!1},_touchmove:function(a){if(void 
0!==a.changedTouches){var 
b=a.changedTouches[0],c=b.pageX-this.touchX,d=b.pageY-this.touchY;this._state.inDrag||("vertical"===this.options.orientation&&5>=c&&c>=-5&&(d>=15||-15>=d)?this._mousedown(a):5>=d&&d>=-5&&(c>=15||-15>=c)&&this._mousedown(a))}},_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[0]=this._state.percentage[1],this._state.dragged=1):1===this._state.dragged&&this._applyToFixedAndParseFloat(this._state.percentage[0],b)>c?(this._state.percentage[1]=this._state.percentage[0],this._state.dragged=0):0===this._state.keyCtrl&&this._state.value[1]/this.options.max*100<a?(this._state.percentage[0]=this._state.percentage[1],this._state.keyCtrl=1,this.handle2.focus()):1===this._state.keyCtrl&&this._state.value[0]/this.options.max*100>a&&(this._state.percentage[1]=this._state.percentage[0],this._state.keyCtrl=0,this.handle1.focus())}},_mouseup:function(){if(!this._state.enabled)return!1;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
 a=this._calculateValue(!0);return 
this._layout(),this._setDataVal(a),this._trigger("slideStop",a),!1},_calculateValue:function(a){var
 
b;if(this.options.range?(b=[this.options.min,this.options.max],0!==this._state.percentage[0]&&(b[0]=this._toValue(this._state.percentage[0]),b[0]=this._applyPrecision(b[0])),100!==this._state.percentage[1]&&(b[1]=this._toValue(this._state.percentage[1]),b[1]=this._applyPrecision(b[1]))):(b=this._toValue(this._state.percentage[0]),b=parseFloat(b),b=this._applyPrecision(b)),a){for(var
 c=[b,1/0],d=0;d<this.options.ticks.length;d++){
-var 
e=Math.abs(this.options.ticks[d]-b);e<=c[1]&&(c=[this.options.ticks[d],e])}if(c[1]<=this.options.ticks_snap_bounds)return
 c[0]}return b},_applyPrecision:function(a){var 
b=this.options.precision||this._getNumDigitsAfterDecimalPlace(this.options.step);return
 
this._applyToFixedAndParseFloat(a,b)},_getNumDigitsAfterDecimalPlace:function(a){var
 b=(""+a).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return 
b?Math.max(0,(b[1]?b[1].length:0)-(b[2]?+b[2]:0)):0},_applyToFixedAndParseFloat:function(a,b){var
 c=a.toFixed(b);return 
parseFloat(c)},_getPercentage:function(a){!this.touchCapable||"touchstart"!==a.type&&"touchmove"!==a.type||(a=a.touches[0]);var
 
b=a[this.mousePos],c=this._state.offset[this.stylePos],d=b-c;"right"===this.stylePos&&(d=-d);var
 e=d/this._state.size*100;return 
e=Math.round(e/this._state.percentage[2])*this._state.percentage[2],this.options.reversed&&(e=100-e),Math.max(0,Math.min(100,e))},_validateInputValue:function(a){if(isNaN(+a)){if(Array.isArray(a))return
 this._validateArray(a),a;throw new 
Error(f.formatInvalidInputErrorMsg(a))}return+a},_validateArray:function(a){for(var
 b=0;b<a.length;b++){var c=a[b];if("number"!=typeof c)throw new 
Error(f.formatInvalidInputErrorMsg(c))}},_setDataVal:function(a){this.element.setAttribute("data-value",a),this.element.setAttribute("value",a),this.element.value=a},_trigger:function(b,c){c=c||0===c?c:void
 0;var d=this.eventToCallbackMap[b];if(d&&d.length)for(var 
e=0;e<d.length;e++){var 
f=d[e];f(c)}a&&this._triggerJQueryEvent(b,c)},_triggerJQueryEvent:function(a,b){var
 
c={type:a,value:b};this.$element.trigger(c),this.$sliderElem.trigger(c)},_unbindJQueryEventHandlers:function(){this.$element.off(),this.$sliderElem.off()},_setText:function(a,b){"undefined"!=typeof
 a.textContent?a.textContent=b:"undefined"!=typeof 
a.innerText&&(a.innerText=b)},_removeClass:function(a,b){for(var c=b.split(" 
"),d=a.className,e=0;e<c.length;e++){var f=c[e],g=new 
RegExp("(?:\\s|^)"+f+"(?:\\s|$)");d=d.replace(g," 
")}a.className=d.trim()},_addClass:function(a,b){for(var c=b.split(" 
"),d=a.className,e=0;e<c.length;e++){var f=c[e],g=new 
RegExp("(?:\\s|^)"+f+"(?:\\s|$)"),h=g.test(d);h||(d+=" 
"+f)}a.className=d.trim()},_offsetLeft:function(a){return 
a.getBoundingClientRect().left},_offsetRight:function(a){return 
a.getBoundingClientRect().right},_offsetTop:function(a){for(var 
b=a.offsetTop;(a=a.offsetParent)&&!isNaN(a.offsetTop);)b+=a.offsetTop,"BODY"!==a.tagName&&(b-=a.scrollTop);return
 
b},_offset:function(a){return{left:this._offsetLeft(a),right:this._offsetRight(a),top:this._offsetTop(a)}},_css:function(b,c,d){if(a)a.style(b,c,d);else{var
 e=c.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,b){return 
b.toUpperCase()});b.style[e]=d}},_toValue:function(a){return 
this.options.scale.toValue.apply(this,[a])},_toPercentage:function(a){return 
this.options.scale.toPercentage.apply(this,[a])},_setTooltipPosition:function(){var
 
a=[this.tooltip,this.tooltip_min,this.tooltip_max];if("vertical"===this.options.orientation){var
 
b;b=this.options.tooltip_position?this.options.tooltip_position:this.options.rtl?"left":"right";var
 
c="left"===b?"right":"left";a.forEach(function(a){this._addClass(a,b),a.style[c]="100%"}.bind(this))}else"bottom"===this.options.tooltip_position?a.forEach(function(a){this._addClass(a,"bottom"),a.style.top="22px"}.bind(this)):a.forEach(function(a){this._addClass(a,"top"),a.style.top=-this.tooltip.outerHeight-14+"px"}.bind(this))}},a&&a.fn){var
 h=void 
0;a.fn.slider?(windowIsDefined&&window.console.warn("bootstrap-slider.js - 
WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider 
namespace 
instead."),h=c):(a.bridget(b,d),h=b),a.bridget(c,d),a(function(){a("input[data-provide=slider]")[h]()})}}(a),d});
\ No newline at end of file
+"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!m||m.length>1?m:m[0]}}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},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=0;f<e.length;f++){var 
h=e[f],i=c[h];i="undefined"!=typeof 
i?i:d(this.element,h),i=null!==i?i:this.defaultOptions[h],this.options||(this.options={}),this.options[h]=i}"auto"===this.options.rtl&&(this.options.rtl="rtl"===window.getComputedStyle(this.element).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
 
j,k,l,m,n,o=this.element.style.width,p=!1,q=this.element.parentNode;if(this.sliderElem)p=!0;else{this.sliderElem=document.createElement("div"),this.sliderElem.className="slider";var
 
r=document.createElement("div");r.className="slider-track",k=document.createElement("div"),k.className="slider-track-low",j=document.createElement("div"),j.className="slider-selection",l=document.createElement("div"),l.className="slider-track-high",m=document.createElement("div"),m.className="slider-handle
 
min-slider-handle",m.setAttribute("role","slider"),m.setAttribute("aria-valuemin",this.options.min),m.setAttribute("aria-valuemax",this.options.max),n=document.createElement("div"),n.className="slider-handle
 
max-slider-handle",n.setAttribute("role","slider"),n.setAttribute("aria-valuemin",this.options.min),n.setAttribute("aria-valuemax",this.options.max),r.appendChild(k),r.appendChild(j),r.appendChild(l),this.rangeHighlightElements=[];var
 s=this.options.rangeHighlights;if(Array.isArray(s)&&s.length>0)for(var 
t=0;t<s.length;t++){var 
u=document.createElement("div"),v=s[t]["class"]||"";u.className="slider-rangeHighlight
 slider-selection "+v,this.rangeHighlightElements.push(u),r.appendChild(u)}var 
w=Array.isArray(this.options.labelledby);if(w&&this.options.labelledby[0]&&m.setAttribute("aria-labelledby",this.options.labelledby[0]),w&&this.options.labelledby[1]&&n.setAttribute("aria-labelledby",this.options.labelledby[1]),!w&&this.options.labelledby&&(m.setAttribute("aria-labelledby",this.options.labelledby),n.setAttribute("aria-labelledby",this.options.labelledby)),this.ticks=[],Array.isArray(this.options.ticks)&&this.options.ticks.length>0){for(this.ticksContainer=document.createElement("div"),this.ticksContainer.className="slider-tick-container",f=0;f<this.options.ticks.length;f++){var
 
x=document.createElement("div");if(x.className="slider-tick",this.options.ticks_tooltip){var
 
y=this._addTickListener(),z=y.addMouseEnter(this,x,f),A=y.addMouseLeave(this,x);this.ticksCallbackMap[f]={mouseEnter:z,mouseLeave:A}}this.ticks.push(x),this.ticksContainer.appendChild(x)}j.className+="
 
tick-slider-selection"}if(this.tickLabels=[],Array.isArray(this.options.ticks_labels)&&this.options.ticks_labels.length>0)for(this.tickLabelContainer=document.createElement("div"),this.tickLabelContainer.className="slider-tick-label-container",f=0;f<this.options.ticks_labels.length;f++){var
 
B=document.createElement("div"),C=0===this.options.ticks_positions.length,D=this.options.reversed&&C?this.options.ticks_labels.length-(f+1):f;B.className="slider-tick-label",B.innerHTML=this.options.ticks_labels[D],this.tickLabels.push(B),this.tickLabelContainer.appendChild(B)}var
 E=function(a){var 
b=document.createElement("div");b.className="tooltip-arrow";var 
c=document.createElement("div");c.className="tooltip-inner",a.appendChild(b),a.appendChild(c)},F=document.createElement("div");F.className="tooltip
 tooltip-main",F.setAttribute("role","presentation"),E(F);var 
G=document.createElement("div");G.className="tooltip 
tooltip-min",G.setAttribute("role","presentation"),E(G);var 
H=document.createElement("div");H.className="tooltip 
tooltip-max",H.setAttribute("role","presentation"),E(H),this.sliderElem.appendChild(r),this.sliderElem.appendChild(F),this.sliderElem.appendChild(G),this.sliderElem.appendChild(H),this.tickLabelContainer&&this.sliderElem.appendChild(this.tickLabelContainer),this.ticksContainer&&this.sliderElem.appendChild(this.ticksContainer),this.sliderElem.appendChild(m),this.sliderElem.appendChild(n),q.insertBefore(this.sliderElem,this.element),this.element.style.display="none"}if(a&&(this.$element=a(this.element),this.$sliderElem=a(this.sliderElem)),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"),g[this.options.scale]&&(this.options.scale=g[this.options.scale]),p===!0&&(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"),["left","right","top","width","height"].forEach(function(a){this._removeProperty(this.trackLow,a),this._removeProperty(this.trackSelection,a),this._removeProperty(this.trackHigh,a)},this),[this.handle1,this.handle2].forEach(function(a){this._removeProperty(a,"left"),this._removeProperty(a,"right"),this._removeProperty(a,"top")},this),[this.tooltip,this.tooltip_min,this.tooltip_max].forEach(function(a){this._removeProperty(a,"left"),this._removeProperty(a,"right"),this._removeProperty(a,"top"),this._removeClass(a,"right"),this._removeClass(a,"left"),this._removeClass(a,"top")},this)),"vertical"===this.options.orientation?(this._addClass(this.sliderElem,"slider-vertical"),this.stylePos="top",this.mousePos="pageY",this.sizePos="offsetHeight"):(this._addClass(this.sliderElem,"slider-horizontal"),this.sliderElem.style.width=o,this.options.orientation="horizontal",this.options.rtl?this.stylePos="right":this.stylePos="left",this.mousePos="clientX",this.sizePos="offsetWidth"),this.options.rtl&&this._addClass(this.sliderElem,"slider-rtl"),this._setTooltipPosition(),Array.isArray(this.options.ticks)&&this.options.ticks.length>0&&(this.options.max=Math.max.apply(Math,this.options.ticks),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=k||this.trackLow,this.trackSelection=j||this.trackSelection,this.trackHigh=l||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=m||this.handle1,this.handle2=n||this.handle2,p===!0)for(this._removeClass(this.handle1,"round
 triangle"),this._removeClass(this.handle2,"round triangle 
hide"),f=0;f<this.ticks.length;f++)this._removeClass(this.ticks[f],"round 
triangle hide");var 
I=["round","triangle","custom"],J=-1!==I.indexOf(this.options.handle);if(J)for(this._addClass(this.handle1,this.options.handle),this._addClass(this.handle2,this.options.handle),f=0;f<this.ticks.length;f++)this._addClass(this.ticks[f],this.options.handle);if(this._state.offset=this._offset(this.sliderElem),this._state.size=this.sliderElem[this.sizePos],this.setValue(this._state.value),this.handle1Keydown=this._keydown.bind(this,0),this.handle1.addEventListener("keydown",this.handle1Keydown,!1),this.handle2Keydown=this._keydown.bind(this,1),this.handle2.addEventListener("keydown",this.handle2Keydown,!1),this.mousedown=this._mousedown.bind(this),this.touchstart=this._touchstart.bind(this),this.touchmove=this._touchmove.bind(this),this.touchCapable){var
 K=!1;try{var 
L=Object.defineProperty({},"passive",{get:function(){K=!0}});window.addEventListener("test",null,L)}catch(M){}var
 
N=K?{passive:!0}:!1;this.sliderElem.addEventListener("touchstart",this.touchstart,N),this.sliderElem.addEventListener("touchmove",this.touchmove,N)}if(this.sliderElem.addEventListener("mousedown",this.mousedown,!1),this.resize=this._resize.bind(this),window.addEventListener("resize",this.resize,!1),"hide"===this.options.tooltip)this._addClass(this.tooltip,"hide"),this._addClass(this.tooltip_min,"hide"),this._addClass(this.tooltip_max,"hide");else
 
if("always"===this.options.tooltip)this._showTooltip(),this._alwaysShowTooltip=!0;else{if(this.showTooltip=this._showTooltip.bind(this),this.hideTooltip=this._hideTooltip.bind(this),this.options.ticks_tooltip){var
 
O=this._addTickListener(),P=O.addMouseEnter(this,this.handle1),Q=O.addMouseLeave(this,this.handle1);this.handleCallbackMap.handle1={mouseEnter:P,mouseLeave:Q},P=O.addMouseEnter(this,this.handle2),Q=O.addMouseLeave(this,this.handle2),this.handleCallbackMap.handle2={mouseEnter:P,mouseLeave:Q}}else
 
this.sliderElem.addEventListener("mouseenter",this.showTooltip,!1),this.sliderElem.addEventListener("mouseleave",this.hideTooltip,!1);this.handle1.addEventListener("focus",this.showTooltip,!1),this.handle1.addEventListener("blur",this.hideTooltip,!1),this.handle2.addEventListener("focus",this.showTooltip,!1),this.handle2.addEventListener("blur",this.hideTooltip,!1)}this.options.enabled?this.enable():this.disable()}var
 f={formatInvalidInputErrorMsg:function(a){return"Invalid input value '"+a+"' 
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"},g={linear:{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,h=1;h<this.options.ticks_positions.length;h++)if(a<=this.options.ticks_positions[h]){d=this.options.ticks[h-1],f=this.options.ticks_positions[h-1],e=this.options.ticks[h],g=this.options.ticks_positions[h];break}var
 i=(a-f)/(g-f);b=d+i*(e-d),c=!1}var 
j=c?this.options.min:0,k=j+Math.round(b/this.options.step)*this.options.step;return
 
k<this.options.min?this.options.min:k>this.options.max?this.options.max:k},toPercentage:function(a){if(this.options.max===this.options.min)return
 0;if(this.options.ticks_positions.length>0){for(var 
b,c,d,e=0,f=0;f<this.options.ticks.length;f++)if(a<=this.options.ticks[f]){b=f>0?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,e<this.options.min?this.options.min:e>this.options.max?this.options.max:e)},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)}}};if(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,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._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._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.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];return 
this._setDataVal(f),b===!0&&this._trigger("slide",f),d!==f&&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(),this.$element.removeData("slider"))},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(){return 
this._removeSliderEventHandlers(),e.call(this,this.element,this.options),a&&a.data(this.element,"slider",this),this},relayout:function(){return
 
this._resize(),this._layout(),this},_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;b<a.length;b++)a[b].removeEventListener("mouseenter",this.ticksCallbackMap[b].mouseEnter,!1),a[b].removeEventListener("mouseleave",this.ticksCallbackMap[b].mouseLeave,!1);this.handle1.removeEventListener("mouseenter",this.handleCallbackMap.handle1.mouseEnter,!1),this.handle2.removeEventListener("mouseenter",this.handleCallbackMap.handle2.mouseEnter,!1),this.handle1.removeEventListener("mouseleave",this.handleCallbackMap.handle1.mouseLeave,!1),this.handle2.removeEventListener("mouseleave",this.handleCallbackMap.handle2.mouseLeave,!1)}this.handleCallbackMap=null,this.ticksCallbackMap=null,this.showTooltip&&(this.handle1.removeEventListener("focus",this.showTooltip,!1),this.handle2.removeEventListener("focus",this.showTooltip,!1)),this.hideTooltip&&(this.handle1.removeEventListener("blur",this.hideTooltip,!1),this.handle2.removeEventListener("blur",this.hideTooltip,!1)),this.showTooltip&&this.sliderElem.removeEventListener("mouseenter",this.showTooltip,!1),this.hideTooltip&&this.sliderElem.removeEventListener("mouseleave",this.hideTooltip,!1),this.sliderElem.removeEventListener("touchstart",this.touchstart,!1),this.sliderElem.removeEventListener("touchmove",this.touchmove,!1),this.sliderElem.removeEventListener("mousedown",this.mousedown,!1),window.removeEventListener("resize",this.resize,!1)},_bindNonQueryEventHandler:function(a,b){void
 
0===this.eventToCallbackMap[a]&&(this.eventToCallbackMap[a]=[]),this.eventToCallbackMap[a].push(b)},_unbindNonQueryEventHandler:function(a,b){var
 c=this.eventToCallbackMap[a];if(void 0!==c)for(var 
d=0;d<c.length;d++)if(c[d]===b){c.splice(d,1);break}},_cleanUpEventCallbacksMap:function(){for(var
 a=Object.keys(this.eventToCallbackMap),b=0;b<a.length;b++){var c=a[b];delete 
this.eventToCallbackMap[c]}},_showTooltip:function(){this.options.tooltip_split===!1?(this._addClass(this.tooltip,"in"),this.tooltip_min.style.display="none",this.tooltip_max.style.display="none"):(this._addClass(this.tooltip_min,"in"),this._addClass(this.tooltip_max,"in"),this.tooltip.style.display="none"),this._state.over=!0},_hideTooltip:function(){this._state.inDrag===!1&&this.alwaysShowTooltip!==!0&&(this._removeClass(this.tooltip,"in"),this._removeClass(this.tooltip_min,"in"),this._removeClass(this.tooltip_max,"in")),this._state.over=!1},_setToolTipOnMouseOver:function(a){function
 b(a,b){return 
b?[100-a.percentage[0],this.options.range?100-a.percentage[1]:a.percentage[1]]:[a.percentage[0],a.percentage[1]]}var
 
c=this.options.formatter(a?a.value[0]:this._state.value[0]),d=a?b(a,this.options.reversed):b(this._state,this.options.reversed);this._setText(this.tooltipInner,c),this.tooltip.style[this.stylePos]=d[0]+"%"},_addTickListener:function(){return{addMouseEnter:function(a,b,c){var
 d=function(){var 
b=a._state,d=c>=0?c:this.attributes["aria-valuenow"].value,e=parseInt(d,10);b.value[0]=e,b.percentage[0]=a.options.ticks_positions[e],a._setToolTipOnMouseOver(b),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;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]),isNaN(this.options.formatter(this._state.value[0]))&&this.handle1.setAttribute("aria-valuetext",this.options.formatter(this._state.value[0])),this.handle2.style[this.stylePos]=a[1]+"%",this.handle2.setAttribute("aria-valuenow",this._state.value[1]),isNaN(this.options.formatter(this._state.value[1]))&&this.handle2.setAttribute("aria-valuetext",this.options.formatter(this._state.value[1])),this.rangeHighlightElements.length>0&&Array.isArray(this.options.rangeHighlights)&&this.options.rangeHighlights.length>0)for(var
 b=0;b<this.options.rangeHighlights.length;b++){var 
c=this._toPercentage(this.options.rangeHighlights[b].start),d=this._toPercentage(this.options.rangeHighlights[b].end);if(this.options.reversed){var
 e=100-d;d=100-c,c=e}var 
f=this._createHighlightRange(c,d);f?"vertical"===this.options.orientation?(this.rangeHighlightElements[b].style.top=f.start+"%",this.rangeHighlightElements[b].style.height=f.size+"%"):(this.options.rtl?this.rangeHighlightElements[b].style.right=f.start+"%":this.rangeHighlightElements[b].style.left=f.start+"%",this.rangeHighlightElements[b].style.width=f.size+"%"):this.rangeHighlightElements[b].style.display="none"}if(Array.isArray(this.options.ticks)&&this.options.ticks.length>0){var
 
g,h="vertical"===this.options.orientation?"height":"width";g="vertical"===this.options.orientation?"marginTop":this.options.rtl?"marginRight":"marginLeft";var
 
i=this._state.size/(this.options.ticks.length-1);if(this.tickLabelContainer){var
 
j=0;if(0===this.options.ticks_positions.length)"vertical"!==this.options.orientation&&(this.tickLabelContainer.style[g]=-i/2+"px"),j=this.tickLabelContainer.offsetHeight;else
 
for(k=0;k<this.tickLabelContainer.childNodes.length;k++)this.tickLabelContainer.childNodes[k].offsetHeight>j&&(j=this.tickLabelContainer.childNodes[k].offsetHeight);"horizontal"===this.options.orientation&&(this.sliderElem.style.marginBottom=j+"px")}for(var
 k=0;k<this.options.ticks.length;k++){var 
l=this.options.ticks_positions[k]||this._toPercentage(this.options.ticks[k]);this.options.reversed&&(l=100-l),this.ticks[k].style[this.stylePos]=l+"%",this._removeClass(this.ticks[k],"in-selection"),this.options.range?l>=a[0]&&l<=a[1]&&this._addClass(this.ticks[k],"in-selection"):"after"===this.options.selection&&l>=a[0]?this._addClass(this.ticks[k],"in-selection"):"before"===this.options.selection&&l<=a[0]&&this._addClass(this.ticks[k],"in-selection"),this.tickLabels[k]&&(this.tickLabels[k].style[h]=i+"px","vertical"!==this.options.orientation&&void
 
0!==this.options.ticks_positions[k]?(this.tickLabels[k].style.position="absolute",this.tickLabels[k].style[this.stylePos]=l+"%",this.tickLabels[k].style[g]=-i/2+"px"):"vertical"===this.options.orientation&&(this.options.rtl?this.tickLabels[k].style.marginRight=this.sliderElem.offsetWidth+"px":this.tickLabels[k].style.marginLeft=this.sliderElem.offsetWidth+"px",this.tickLabelContainer.style[g]=this.sliderElem.offsetWidth/2*-1+"px"))}}var
 
m;if(this.options.range){m=this.options.formatter(this._state.value),this._setText(this.tooltipInner,m),this.tooltip.style[this.stylePos]=(a[1]+a[0])/2+"%";var
 
n=this.options.formatter(this._state.value[0]);this._setText(this.tooltipInner_min,n);var
 
o=this.options.formatter(this._state.value[1]);this._setText(this.tooltipInner_max,o),this.tooltip_min.style[this.stylePos]=a[0]+"%",this.tooltip_max.style[this.stylePos]=a[1]+"%"}else
 
m=this.options.formatter(this._state.value[0]),this._setText(this.tooltipInner,m),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
 
p=this.tooltip_min.getBoundingClientRect(),q=this.tooltip_max.getBoundingClientRect();"bottom"===this.options.tooltip_position?p.right>q.left?(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"top"),this.tooltip_max.style.top="",this.tooltip_max.style.bottom="22px"):(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top=this.tooltip_min.style.top,this.tooltip_max.style.bottom=""):p.right>q.left?(this._removeClass(this.tooltip_max,"top"),this._addClass(this.tooltip_max,"bottom"),this.tooltip_max.style.top="18px"):(this._removeClass(this.tooltip_max,"bottom"),this._addClass(this.tooltip_max,"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._layout(),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._setDataVal(e),this.setValue(e,!1,!0),a.returnValue=!1,this.options.focus&&this._triggerFocusOnHandle(this._state.dragged),!0},_touchstart:function(a){if(void
 0===a.changedTouches)return void this._mousedown(a);var 
b=a.changedTouches[0];this.touchX=b.pageX,this.touchY=b.pageY},_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="vertical"===this.options.orientation&&!this.options.reversed,e="horizontal"===this.options.orientation&&this.options.reversed;(d||e)&&(c=-c)}var
 
f=this._state.value[a]+c*this.options.step,g=f/this.options.max*100;if(this._state.keyCtrl=a,this.options.range){this._adjustPercentageForRangeSliders(g);var
 
h=this._state.keyCtrl?this._state.value[0]:f,i=this._state.keyCtrl?f:this._state.value[1];f=[h,i]}return
 
this._trigger("slideStart",f),this._setDataVal(f),this.setValue(f,!0,!0),this._setDataVal(f),this._trigger("slideStop",f),this._layout(),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,this._layout();var
 c=this._calculateValue(!0);return 
this.setValue(c,!0,!0),!1},_touchmove:function(a){if(void 
0!==a.changedTouches){var 
b=a.changedTouches[0],c=b.pageX-this.touchX,d=b.pageY-this.touchY;this._state.inDrag||("vertical"===this.options.orientation&&5>=c&&c>=-5&&(d>=15||-15>=d)?this._mousedown(a):5>=d&&d>=-5&&(c>=15||-15>=c)&&this._mousedown(a))}},_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[0]=this._state.percentage[1],this._state.dragged=1):1===this._state.dragged&&this._applyToFixedAndParseFloat(this._state.percentage[0],b)>c?(this._state.percentage[1]=this._state.percentage[0],this._state.dragged=0):0===this._state.keyCtrl&&this._state.value[1]/this.options.max*100<a?(this._state.percentage[0]=this._state.percentage[1],this._state.keyCtrl=1,this.handle2.focus()):1===this._state.keyCtrl&&this._state.value[0]/this.options.max*100>a&&(this._state.percentage[1]=this._state.percentage[0],this._state.keyCtrl=0,this.handle1.focus())}},_mouseup:function(){if(!this._state.enabled)return!1;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
 a=this._calculateValue(!0);return 
this._layout(),this._setDataVal(a),this._trigger("slideStop",a),!1},_calculateValue:function(a){var
 
b;if(this.options.range?(b=[this.options.min,this.options.max],0!==this._state.percentage[0]&&(b[0]=this._toValue(this._state.percentage[0]),b[0]=this._applyPrecision(b[0])),100!==this._state.percentage[1]&&(b[1]=this._toValue(this._state.percentage[1]),b[1]=this._applyPrecision(b[1]))):(b=this._toValue(this._state.percentage[0]),b=parseFloat(b),b=this._applyPrecision(b)),a){for(var
 c=[b,1/0],d=0;d<this.options.ticks.length;d++){var 
e=Math.abs(this.options.ticks[d]-b);e<=c[1]&&(c=[this.options.ticks[d],e])}if(c[1]<=this.options.ticks_snap_bounds)return
 c[0]}return b},_applyPrecision:function(a){var 
b=this.options.precision||this._getNumDigitsAfterDecimalPlace(this.options.step);return
 
this._applyToFixedAndParseFloat(a,b)},_getNumDigitsAfterDecimalPlace:function(a){var
 b=(""+a).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return 
b?Math.max(0,(b[1]?b[1].length:0)-(b[2]?+b[2]:0)):0},_applyToFixedAndParseFloat:function(a,b){var
 c=a.toFixed(b);return 
parseFloat(c)},_getPercentage:function(a){!this.touchCapable||"touchstart"!==a.type&&"touchmove"!==a.type||(a=a.touches[0]);var
 
b=a[this.mousePos],c=this._state.offset[this.stylePos],d=b-c;"right"===this.stylePos&&(d=-d);var
 e=d/this._state.size*100;return 
e=Math.round(e/this._state.percentage[2])*this._state.percentage[2],this.options.reversed&&(e=100-e),Math.max(0,Math.min(100,e))},_validateInputValue:function(a){if(isNaN(+a)){if(Array.isArray(a))return
 this._validateArray(a),a;throw new 
Error(f.formatInvalidInputErrorMsg(a))}return+a},_validateArray:function(a){for(var
 b=0;b<a.length;b++){
+var c=a[b];if("number"!=typeof c)throw new 
Error(f.formatInvalidInputErrorMsg(c))}},_setDataVal:function(a){this.element.setAttribute("data-value",a),this.element.setAttribute("value",a),this.element.value=a},_trigger:function(b,c){c=c||0===c?c:void
 0;var d=this.eventToCallbackMap[b];if(d&&d.length)for(var 
e=0;e<d.length;e++){var 
f=d[e];f(c)}a&&this._triggerJQueryEvent(b,c)},_triggerJQueryEvent:function(a,b){var
 
c={type:a,value:b};this.$element.trigger(c),this.$sliderElem.trigger(c)},_unbindJQueryEventHandlers:function(){this.$element.off(),this.$sliderElem.off()},_setText:function(a,b){"undefined"!=typeof
 a.textContent?a.textContent=b:"undefined"!=typeof 
a.innerText&&(a.innerText=b)},_removeClass:function(a,b){for(var c=b.split(" 
"),d=a.className,e=0;e<c.length;e++){var f=c[e],g=new 
RegExp("(?:\\s|^)"+f+"(?:\\s|$)");d=d.replace(g," 
")}a.className=d.trim()},_addClass:function(a,b){for(var c=b.split(" 
"),d=a.className,e=0;e<c.length;e++){var f=c[e],g=new 
RegExp("(?:\\s|^)"+f+"(?:\\s|$)"),h=g.test(d);h||(d+=" 
"+f)}a.className=d.trim()},_offsetLeft:function(a){return 
a.getBoundingClientRect().left},_offsetRight:function(a){return 
a.getBoundingClientRect().right},_offsetTop:function(a){for(var 
b=a.offsetTop;(a=a.offsetParent)&&!isNaN(a.offsetTop);)b+=a.offsetTop,"BODY"!==a.tagName&&(b-=a.scrollTop);return
 
b},_offset:function(a){return{left:this._offsetLeft(a),right:this._offsetRight(a),top:this._offsetTop(a)}},_css:function(b,c,d){if(a)a.style(b,c,d);else{var
 e=c.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,b){return 
b.toUpperCase()});b.style[e]=d}},_toValue:function(a){return 
this.options.scale.toValue.apply(this,[a])},_toPercentage:function(a){return 
this.options.scale.toPercentage.apply(this,[a])},_setTooltipPosition:function(){var
 
a=[this.tooltip,this.tooltip_min,this.tooltip_max];if("vertical"===this.options.orientation){var
 
b;b=this.options.tooltip_position?this.options.tooltip_position:this.options.rtl?"left":"right";var
 
c="left"===b?"right":"left";a.forEach(function(a){this._addClass(a,b),a.style[c]="100%"}.bind(this))}else"bottom"===this.options.tooltip_position?a.forEach(function(a){this._addClass(a,"bottom"),a.style.top="22px"}.bind(this)):a.forEach(function(a){this._addClass(a,"top"),a.style.top=-this.tooltip.outerHeight-14+"px"}.bind(this))}},a&&a.fn){var
 h=void 
0;a.fn.slider?(windowIsDefined&&window.console.warn("bootstrap-slider.js - 
WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider 
namespace 
instead."),h=c):(a.bridget(b,d),h=b),a.bridget(c,d),a(function(){a("input[data-provide=slider]")[h]()})}}(a),d});
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/velum-master/vendor/assets/stylesheets/bootstrap-slider.min.css 
new/velum-master/vendor/assets/stylesheets/bootstrap-slider.min.css
--- old/velum-master/vendor/assets/stylesheets/bootstrap-slider.min.css 
2018-05-31 15:57:40.000000000 +0200
+++ new/velum-master/vendor/assets/stylesheets/bootstrap-slider.min.css 
2018-06-05 15:19:54.000000000 +0200
@@ -1,5 +1,5 @@
 /*! =======================================================
-                      VERSION  9.9.0              
+                      VERSION  10.0.2              
 ========================================================= */
 /*! =========================================================
  * bootstrap-slider.js
@@ -38,4 +38,4 @@
  * 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:#2e6da4;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{padding-top:4px;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:#2e6da4;border-right-color:#2e6da4;margin-left:0;margin-right: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-image:-webkit-linear-gradient(top,#dfdfdf 0,#bebebe 
100%);background-image:-o-linear-gradient(top,#dfdfdf 0,#bebebe 
100%);background-image:linear-gradient(to bottom,#dfdfdf 0,#bebebe 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdfdfdf',endColorstr='#ffbebebe',GradientType=0)}.slider.slider-disabled
 .slider-track{background-image:-webkit-linear-gradient(top,#e5e5e5 0,#e9e9e9 
100%);background-image:-o-linear-gradient(top,#e5e5e5 0,#e9e9e9 
100%);background-image:linear-gradient(to bottom,#e5e5e5 0,#e9e9e9 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe5e5e5',endColorstr='#ffe9e9e9',GradientType=0);cursor:not-allowed}.slider
 input{display:none}.slider .tooltip.top{margin-top:-36px}.slider 
.tooltip-inner{white-space:nowrap;max-width:none}.slider 
.hide{display:none}.slider-track{position:absolute;cursor:pointer;background-image:-webkit-linear-gradient(top,#f5f5f5
 0,#f9f9f9 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#f9f9f9 
100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#f9f9f9 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);-webkit-box-shadow:inset
 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px 
rgba(0,0,0,0.1);border-radius:4px}.slider-selection{position:absolute;background-image:-webkit-linear-gradient(top,#f9f9f9
 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#f9f9f9 0,#f5f5f5 
100%);background-image:linear-gradient(to bottom,#f9f9f9 0,#f5f5f5 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9',endColorstr='#fff5f5f5',GradientType=0);-webkit-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;border-radius:4px}.slider-selection.tick-slider-selection{background-image:-webkit-linear-gradient(top,#8ac1ef
 0,#82b3de 100%);background-image:-o-linear-gradient(top,#8ac1ef 0,#82b3de 
100%);background-image:linear-gradient(to bottom,#8ac1ef 0,#82b3de 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8ac1ef',endColorstr='#ff82b3de',GradientType=0)}.slider-track-low,.slider-track-high{position:absolute;background:transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:4px}.slider-handle{position:absolute;top:0;width:20px;height:20px;background-color:#337ab7;background-image:-webkit-linear-gradient(top,#337ab7
 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 
100%);background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7',endColorstr='#ff2e6da4',GradientType=0);filter:none;-webkit-box-shadow:inset
 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 
0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);border:0 solid 
transparent}.slider-handle.round{border-radius:50%}.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{position:absolute;width:20px;height:20px;background-image:-webkit-linear-gradient(top,#f9f9f9
 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#f9f9f9 0,#f5f5f5 
100%);background-image:linear-gradient(to bottom,#f9f9f9 0,#f5f5f5 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9',endColorstr='#fff5f5f5',GradientType=0);-webkit-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;filter:none;opacity:.8;border:0
 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-image:-webkit-linear-gradient(top,#8ac1ef
 0,#82b3de 100%);background-image:-o-linear-gradient(top,#8ac1ef 0,#82b3de 
100%);background-image:linear-gradient(to bottom,#8ac1ef 0,#82b3de 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8ac1ef',endColorstr='#ff82b3de',GradientType=0);opacity:1}
\ No newline at end of file
+ * ========================================================= 
*/.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%;-ms-transform:translateY(-50%);transform:translateY(-50%);border-width:0
 10px 10px 
10px;width:0;height:0;border-bottom-color:#2e6da4;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{padding-top:4px;display:inline-block;text-align:center}.slider.slider-horizontal
 
.tooltip{-ms-transform:translateX(-50%);transform:translateX(-50%)}.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-horizontal.slider-rtl
 
.tooltip{-ms-transform:translateX(50%);transform:translateX(50%)}.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:#2e6da4;border-right-color:#2e6da4;margin-left:0;margin-right: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 
.tooltip{-ms-transform:translateY(-50%);transform:translateY(-50%)}.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-image:-webkit-linear-gradient(top,#dfdfdf 0,#bebebe 
100%);background-image:-o-linear-gradient(top,#dfdfdf 0,#bebebe 
100%);background-image:linear-gradient(to bottom,#dfdfdf 0,#bebebe 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdfdfdf',endColorstr='#ffbebebe',GradientType=0)}.slider.slider-disabled
 .slider-track{background-image:-webkit-linear-gradient(top,#e5e5e5 0,#e9e9e9 
100%);background-image:-o-linear-gradient(top,#e5e5e5 0,#e9e9e9 
100%);background-image:linear-gradient(to bottom,#e5e5e5 0,#e9e9e9 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe5e5e5',endColorstr='#ffe9e9e9',GradientType=0);cursor:not-allowed}.slider
 input{display:none}.slider .tooltip.top{margin-top:-36px}.slider 
.tooltip-inner{white-space:nowrap;max-width:none}.slider 
.hide{display:none}.slider-track{position:absolute;cursor:pointer;background-image:-webkit-linear-gradient(top,#f5f5f5
 0,#f9f9f9 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#f9f9f9 
100%);background-image:linear-gradient(to bottom,#f5f5f5 0,#f9f9f9 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);-webkit-box-shadow:inset
 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px 
rgba(0,0,0,0.1);border-radius:4px}.slider-selection{position:absolute;background-image:-webkit-linear-gradient(top,#f9f9f9
 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#f9f9f9 0,#f5f5f5 
100%);background-image:linear-gradient(to bottom,#f9f9f9 0,#f5f5f5 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9',endColorstr='#fff5f5f5',GradientType=0);-webkit-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;border-radius:4px}.slider-selection.tick-slider-selection{background-image:-webkit-linear-gradient(top,#8ac1ef
 0,#82b3de 100%);background-image:-o-linear-gradient(top,#8ac1ef 0,#82b3de 
100%);background-image:linear-gradient(to bottom,#8ac1ef 0,#82b3de 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8ac1ef',endColorstr='#ff82b3de',GradientType=0)}.slider-track-low,.slider-track-high{position:absolute;background:transparent;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:4px}.slider-handle{position:absolute;top:0;width:20px;height:20px;background-color:#337ab7;background-image:-webkit-linear-gradient(top,#337ab7
 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 
100%);background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7',endColorstr='#ff2e6da4',GradientType=0);filter:none;-webkit-box-shadow:inset
 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 
0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);border:0 solid 
transparent}.slider-handle.round{border-radius:50%}.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{position:absolute;width:20px;height:20px;background-image:-webkit-linear-gradient(top,#f9f9f9
 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#f9f9f9 0,#f5f5f5 
100%);background-image:linear-gradient(to bottom,#f9f9f9 0,#f5f5f5 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9',endColorstr='#fff5f5f5',GradientType=0);-webkit-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;filter:none;opacity:.8;border:0
 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-image:-webkit-linear-gradient(top,#8ac1ef
 0,#82b3de 100%);background-image:-o-linear-gradient(top,#8ac1ef 0,#82b3de 
100%);background-image:linear-gradient(to bottom,#8ac1ef 0,#82b3de 
100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8ac1ef',endColorstr='#ff82b3de',GradientType=0);opacity:1}
\ No newline at end of file


Reply via email to