[r-cran-dt] 04/07: Create minimized versions by our own instead of downloading from upstream
Andreas Tille
tille at debian.org
Wed Jan 3 14:12:20 UTC 2018
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-cran-dt.
commit 9a1609f0c79a4414fa762e2ffc3c89e6ee76edd9
Author: Andreas Tille <tille at debian.org>
Date: Wed Jan 3 14:59:58 2018 +0100
Create minimized versions by our own instead of downloading from upstream
---
debian/JS/jquery.nouislider/get-jquery.nouislider | 7 ++--
debian/JS/jquery.nouislider/nouislider.min.css | 2 +-
debian/JS/jquery.nouislider/nouislider.min.js | 44 +++++++++++++++++++++--
3 files changed, 47 insertions(+), 6 deletions(-)
diff --git a/debian/JS/jquery.nouislider/get-jquery.nouislider b/debian/JS/jquery.nouislider/get-jquery.nouislider
index c1abf5a..c6369e4 100755
--- a/debian/JS/jquery.nouislider/get-jquery.nouislider
+++ b/debian/JS/jquery.nouislider/get-jquery.nouislider
@@ -1,6 +1,9 @@
#!/bin/sh
wget -q -N https://raw.githubusercontent.com/leongersen/noUiSlider/master/distribute/nouislider.css
-wget -q -N https://raw.githubusercontent.com/leongersen/noUiSlider/master/distribute/nouislider.min.css
+# wget -q -N https://raw.githubusercontent.com/leongersen/noUiSlider/master/distribute/nouislider.min.css
+sass --scss --stop-on-error --style compressed nouislider.css > nouislider.min.css
wget -q -N https://raw.githubusercontent.com/leongersen/noUiSlider/master/distribute/nouislider.js
-wget -q -N https://raw.githubusercontent.com/leongersen/noUiSlider/master/distribute/nouislider.min.js
+#wget -q -N https://raw.githubusercontent.com/leongersen/noUiSlider/master/distribute/nouislider.min.js
+closure-compiler --charset 'utf-8' --js nouislider.js --js_output_file nouislider.min.js
wget -q -N https://raw.githubusercontent.com/leongersen/noUiSlider/master/LICENSE
+rm -rf .sass-cache
\ No newline at end of file
diff --git a/debian/JS/jquery.nouislider/nouislider.min.css b/debian/JS/jquery.nouislider/nouislider.min.css
index 5e26604..8ebe937 100644
--- a/debian/JS/jquery.nouislider/nouislider.min.css
+++ b/debian/JS/jquery.nouislider/nouislider.min.css
@@ -1 +1 @@
-/*! nouislider - 10.1.0 - 2017-07-28 13:09:54 */.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative;direction:ltr}.noUi-base{width:100%;height:100%;position:relative;z-index:1}.noUi-connect{position:absolute;right:0;top:0;left:0;bottom:0}.noUi- [...]
\ No newline at end of file
+/*! nouislider - 10.1.0 - 2017-07-28 13:09:54 */.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative;direction:ltr}.noUi-base{width:100%;height:100%;position:relative;z-index:1}.noUi-connect{position:absolute;right:0;top:0;left:0;bottom:0}.noUi- [...]
diff --git a/debian/JS/jquery.nouislider/nouislider.min.js b/debian/JS/jquery.nouislider/nouislider.min.js
index d4c2825..f903d6a 100644
--- a/debian/JS/jquery.nouislider/nouislider.min.js
+++ b/debian/JS/jquery.nouislider/nouislider.min.js
@@ -1,3 +1,41 @@
-/*! nouislider - 10.1.0 - 2017-07-28 13:09:54 */
-
-!function(a){"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?module.exports=a():window.noUiSlider=a()}(function(){"use strict";function a(a){return"object"==typeof a&&"function"==typeof a.to&&"function"==typeof a.from}function b(a){a.parentElement.removeChild(a)}function c(a){a.preventDefault()}function d(a){return a.filter(function(a){return!this[a]&&(this[a]=!0)},{})}function e(a,b){return Math.round(a/b)*b}function f(a,b){var c=a.getBoundingClientRect(),d=a [...]
\ No newline at end of file
+(function(D){"function"===typeof define&&define.amd?define([],D):"object"===typeof exports?module.exports=D():window.noUiSlider=D()})(function(){function D(b){b.preventDefault()}function oa(b){return b.filter(function(a){return!this[a]?this[a]=!0:!1},{})}function y(b){return"number"===typeof b&&!isNaN(b)&&isFinite(b)}function ga(b,a,c){0<c&&(n(b,a),setTimeout(function(){N(b,a)},c))}function V(b){b=String(b);b=b.split(".");return 1<b.length?b[1].length:0}function n(b,a){b.classList?b.clas [...]
+b.className+=" "+a}function N(b,a){b.classList?b.classList.remove(a):b.className=b.className.replace(RegExp("(^|\\b)"+a.split(" ").join("|")+"(\\b|$)","gi")," ")}function ha(b){var a=void 0!==window.pageXOffset,c="CSS1Compat"===(b.compatMode||"");return{x:a?window.pageXOffset:c?b.documentElement.scrollLeft:b.body.scrollLeft,y:a?window.pageYOffset:c?b.documentElement.scrollTop:b.body.scrollTop}}function pa(){var b=!1;try{var a=Object.defineProperty({},"passive",{get:function(){b=!0}});win [...]
+null,a)}catch(c){}return b}function F(b,a){return 100*a/(b[1]-b[0])}function E(b,a){for(var c=1;b>=a[c];)c+=1;return c}function W(b,a,c){"number"===typeof a&&(a=[a]);if("[object Array]"!==Object.prototype.toString.call(a))throw Error("noUiSlider ("+f+"): 'range' contains invalid value.");b="min"===b?0:"max"===b?100:parseFloat(b);if(!y(b)||!y(a[0]))throw Error("noUiSlider ("+f+"): 'range' value isn't numeric.");c.xPct.push(b);c.xVal.push(a[0]);b?c.xSteps.push(isNaN(a[1])?!1:a[1]):isNaN(a[ [...]
+a[1]);c.xHighestCompleteStep.push(0)}function X(b,a,c){if(!a)return!0;c.xSteps[b]=F([c.xVal[b],c.xVal[b+1]],a)/(100/(c.xPct[b+1]-c.xPct[b]));a=Math.ceil(Number(((c.xVal[b+1]-c.xVal[b])/c.xNumSteps[b]).toFixed(3))-1);c.xHighestCompleteStep[b]=c.xVal[b]+c.xNumSteps[b]*a}function r(b,a,c){this.xPct=[];this.xVal=[];this.xSteps=[c||!1];this.xNumSteps=[!1];this.xHighestCompleteStep=[];this.snap=a;var h;a=[];for(h in b)b.hasOwnProperty(h)&&a.push([b[h],h]);a.length&&"object"===typeof a[0][0]?a. [...]
+b){return a[0][0]-b[0][0]}):a.sort(function(a,b){return a[0]-b[0]});for(h=0;h<a.length;h++)W(a[h][1],a[h][0],this);this.xNumSteps=this.xSteps.slice(0);for(h=0;h<this.xNumSteps.length;h++)X(h,this.xNumSteps[h],this)}function G(b){if("object"===typeof b&&"function"===typeof b.to&&"function"===typeof b.from)return!0;throw Error("noUiSlider ("+f+"): 'format' requires 'to' and 'from' methods.");}function Y(b,a){if(!y(a))throw Error("noUiSlider ("+f+"): 'step' is not numeric.");b.singleStep=a} [...]
+a){if("object"!==typeof a||Array.isArray(a))throw Error("noUiSlider ("+f+"): 'range' is not an object.");if(void 0===a.min||void 0===a.max)throw Error("noUiSlider ("+f+"): Missing 'min' or 'max' in 'range'.");if(a.min===a.max)throw Error("noUiSlider ("+f+"): 'range' 'min' and 'max' cannot be equal.");b.spectrum=new r(a,b.snap,b.singleStep)}function $(b,a){a=Array.isArray(a)?a:[a];if(!Array.isArray(a)||!a.length)throw Error("noUiSlider ("+f+"): 'start' option is incorrect.");b.handles=a.l [...]
+a}function aa(b,a){b.snap=a;if("boolean"!==typeof a)throw Error("noUiSlider ("+f+"): 'snap' option must be a boolean.");}function qa(b,a){b.animate=a;if("boolean"!==typeof a)throw Error("noUiSlider ("+f+"): 'animate' option must be a boolean.");}function ra(b,a){b.animationDuration=a;if("number"!==typeof a)throw Error("noUiSlider ("+f+"): 'animationDuration' option must be a number.");}function sa(b,a){var c=[!1],h;"lower"===a?a=[!0,!1]:"upper"===a&&(a=[!1,!0]);if(!0===a||!1===a){for(h=1 [...]
+c.push(!1)}else{if(!Array.isArray(a)||!a.length||a.length!==b.handles+1)throw Error("noUiSlider ("+f+"): 'connect' option doesn't match handle count.");c=a}b.connect=c}function ta(b,a){switch(a){case "horizontal":b.ort=0;break;case "vertical":b.ort=1;break;default:throw Error("noUiSlider ("+f+"): 'orientation' option is invalid.");}}function H(b,a){if(!y(a))throw Error("noUiSlider ("+f+"): 'margin' option must be numeric.");if(0!==a&&(b.margin=b.spectrum.getMargin(a),!b.margin))throw Err [...]
+f+"): 'margin' option is only supported on linear sliders.");}function ua(b,a){if(!y(a))throw Error("noUiSlider ("+f+"): 'limit' option must be numeric.");b.limit=b.spectrum.getMargin(a);if(!b.limit||2>b.handles)throw Error("noUiSlider ("+f+"): 'limit' option is only supported on linear sliders with 2 or more handles.");}function va(b,a){if(!y(a))throw Error("noUiSlider ("+f+"): 'padding' option must be numeric.");if(0!==a){b.padding=b.spectrum.getMargin(a);if(!b.padding)throw Error("noU [...]
+f+"): 'padding' option is only supported on linear sliders.");if(0>b.padding)throw Error("noUiSlider ("+f+"): 'padding' option must be a positive number.");if(50<=b.padding)throw Error("noUiSlider ("+f+"): 'padding' option must be less than half the range.");}}function wa(b,a){switch(a){case "ltr":b.dir=0;break;case "rtl":b.dir=1;break;default:throw Error("noUiSlider ("+f+"): 'direction' option was not recognized.");}}function xa(b,a){if("string"!==typeof a)throw Error("noUiSlider ("+f+" [...]
+var c=0<=a.indexOf("tap"),h=0<=a.indexOf("drag"),e=0<=a.indexOf("fixed"),A=0<=a.indexOf("snap"),n=0<=a.indexOf("hover");if(e){if(2!==b.handles)throw Error("noUiSlider ("+f+"): 'fixed' behaviour must be used with 2 handles");H(b,b.start[1]-b.start[0])}b.events={tap:c||A,drag:h,fixed:e,snap:A,hover:n}}function ya(b,a){b.multitouch=a;if("boolean"!==typeof a)throw Error("noUiSlider ("+f+"): 'multitouch' option must be a boolean.");}function za(b,a){if(!1!==a)if(!0===a){b.tooltips=[];for(var [...]
+Array.isArray(a)?a:[a];if(b.tooltips.length!==b.handles)throw Error("noUiSlider ("+f+"): must pass a formatter for all handles.");b.tooltips.forEach(function(a){if("boolean"!==typeof a&&("object"!==typeof a||"function"!==typeof a.to))throw Error("noUiSlider ("+f+"): 'tooltips' must be passed a formatter or 'false'.");})}}function Aa(b,a){b.ariaFormat=a;G(a)}function Ba(b,a){b.format=a;G(a)}function Ca(b,a){if(void 0!==a&&"string"!==typeof a&&!1!==a)throw Error("noUiSlider ("+f+"): 'cssPr [...]
+b.cssPrefix=a}function Da(b,a){if(void 0!==a&&"object"!==typeof a)throw Error("noUiSlider ("+f+"): 'cssClasses' must be an object.");if("string"===typeof b.cssPrefix){b.cssClasses={};for(var c in a)a.hasOwnProperty(c)&&(b.cssClasses[c]=b.cssPrefix+a[c])}else b.cssClasses=a}function Ea(b,a){if(!0===a||!1===a)b.useRequestAnimationFrame=a;else throw Error("noUiSlider ("+f+"): 'useRequestAnimationFrame' option should be true (default) or false.");}function ia(b){var a={margin:0,limit:0,paddi [...]
+animationDuration:300,ariaFormat:O,format:O},c={step:{r:!1,t:Y},start:{r:!0,t:$},connect:{r:!0,t:sa},direction:{r:!0,t:wa},snap:{r:!1,t:aa},animate:{r:!1,t:qa},animationDuration:{r:!1,t:ra},range:{r:!0,t:Z},orientation:{r:!1,t:ta},margin:{r:!1,t:H},limit:{r:!1,t:ua},padding:{r:!1,t:va},behaviour:{r:!0,t:xa},multitouch:{r:!0,t:ya},ariaFormat:{r:!1,t:Aa},format:{r:!1,t:Ba},tooltips:{r:!1,t:za},cssPrefix:{r:!1,t:Ca},cssClasses:{r:!1,t:Da},useRequestAnimationFrame:{r:!1,t:Ea}},h={connect:!1, [...]
+behaviour:"tap",multitouch:!1,orientation:"horizontal",cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",ltr:"ltr",rtl:"rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerH [...]
+markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},useRequestAnimationFrame:!0};b.format&&!b.ariaFormat&&(b.ariaFormat=b.format);Object.keys(c).forEach(function(e){if(void 0===b[e]&&void 0===h[e]){if(c[e].r)throw Error("noUiSlider ("+f+"): '"+e+"' is required.");return!0}c[e]. [...]
+b[e]?h[e]:b[e])});a.pips=b.pips;var e=[["left","top"],["right","bottom"]];a.style=e[a.dir][a.ort];a.styleOposite=e[a.dir?0:1][a.ort];return a}function Fa(b,a,c){function h(a,b){var d=I.createElement("div");b&&n(d,b);a.appendChild(d);return d}function e(b,k){var d=h(b,a.cssClasses.origin),t=h(d,a.cssClasses.handle);t.setAttribute("data-handle",k);t.setAttribute("tabindex","0");t.setAttribute("role","slider");t.setAttribute("aria-orientation",a.ort?"vertical":"horizontal");0===k?n(t,a.cssC [...]
+k===a.handles-1&&n(t,a.cssClasses.handleUpper);return d}function A(b,k){return!a.tooltips[k]?!1:h(b.firstChild,a.cssClasses.tooltip)}function r(){var b=m.map(A);ba("update",function(k,d,t){b[d]&&(k=k[d],!0!==a.tooltips[d]&&(k=a.tooltips[d].to(t[d])),b[d].innerHTML=k)})}function y(a,b,d){if("range"===a||"steps"===a)return s.xVal;if("count"===a){if(!b)throw Error("noUiSlider ("+f+"): 'values' required for mode 'count'.");a=100/(b-1);var t,c=0;for(b=[];100>=(t=c++*a);)b.push(t);a="positions [...]
+a)return b.map(function(a){return s.fromStepping(d?s.getStep(a):a)});if("values"===a)return d?b.map(function(a){return s.fromStepping(s.getStep(s.toStepping(a)))}):b}function E(a,b,d){var t={},c=s.xVal[0],g=s.xVal[s.xVal.length-1],h=!1,e=!1,f=0;d=oa(d.slice().sort(function(a,b){return a-b}));d[0]!==c&&(d.unshift(c),h=!0);d[d.length-1]!==g&&(d.push(g),e=!0);d.forEach(function(c,l){var g,m,p,n=d[l+1],q,u,r,A;"steps"===b&&(g=s.xNumSteps[l]);g||(g=n-c);if(!(!1===c||void 0===n)){g=Math.max(g, [...]
+c;m<=n;m=(m+g).toFixed(7)/1){q=s.toStepping(m);p=q-f;r=p/a;r=Math.round(r);A=p/r;for(p=1;p<=r;p+=1)u=f+p*A,t[u.toFixed(5)]=["x",0];r=-1<d.indexOf(m)?1:"steps"===b?2:0;!l&&h&&(r=0);m===n&&e||(t[q.toFixed(5)]=[m,r]);f=q}}});return t}function F(b,k,d){function t(b,v){var d=v===a.cssClasses.value;return v+" "+(d?f:m)[a.ort]+" "+(d?g:e)[b]}var c=I.createElement("div"),g=[a.cssClasses.valueNormal,a.cssClasses.valueLarge,a.cssClasses.valueSub],e=[a.cssClasses.markerNormal,a.cssClasses.markerLar [...]
+f=[a.cssClasses.valueHorizontal,a.cssClasses.valueVertical],m=[a.cssClasses.markerHorizontal,a.cssClasses.markerVertical];n(c,a.cssClasses.pips);n(c,0===a.ort?a.cssClasses.pipsHorizontal:a.cssClasses.pipsVertical);Object.keys(b).forEach(function(g){var e=b[g];e[1]=e[1]&&k?k(e[0],e[1]):e[1];var f=h(c,!1);f.className=t(e[1],a.cssClasses.marker);f.style[a.style]=g+"%";e[1]&&(f=h(c,!1),f.className=t(e[1],a.cssClasses.value),f.style[a.style]=g+"%",f.innerText=d.to(e[0]))});return c}function G [...]
+J=null)}function ca(a){G();var b=a.mode,d=a.density||1,c=a.filter||!1,l=y(b,a.values||!1,a.stepped||!1),b=E(d,b,l);return J=p.appendChild(F(b,c,a.format||{to:Math.round}))}function H(){var b=z.getBoundingClientRect(),k="offset"+["Width","Height"][a.ort];return 0===a.ort?b.width||z[k]:b.height||z[k]}function B(b,k,d,c){var l=function(g){if(p.hasAttribute("disabled")||(p.classList?p.classList.contains(a.cssClasses.tap):RegExp("\\b"+a.cssClasses.tap+"\\b").test(p.className)))return!1;g=O(g, [...]
+c.target||k);if(!g||b===C.start&&void 0!==g.buttons&&1<g.buttons||c.hover&&g.buttons)return!1;ja||g.preventDefault();g.calcPoint=g.points[a.ort];d(g,c)},g=[];b.split(" ").forEach(function(a){k.addEventListener(a,l,ja?{passive:!0}:!1);g.push([a,l])});return g}function O(b,k,d){var c=0===b.type.indexOf("touch"),l=0===b.type.indexOf("mouse"),g=0===b.type.indexOf("pointer"),e,f;0===b.type.indexOf("MSPointer")&&(g=!0);if(c&&a.multitouch)if(e=function(a){return a.target===d||d.contains(a.targe [...]
+b.type){c=Array.prototype.filter.call(b.touches,e);if(1<c.length)return!1;e=c[0].pageX;f=c[0].pageY}else{c=Array.prototype.find.call(b.changedTouches,e);if(!c)return!1;e=c.pageX;f=c.pageY}else if(c){if(1<b.touches.length)return!1;e=b.changedTouches[0].pageX;f=b.changedTouches[0].pageY}k=k||ha(I);if(l||g)e=b.clientX+k.x,f=b.clientY+k.y;b.pageOffset=k;b.points=[e,f];b.cursor=l||g;return b}function ka(b){var k=z,d=a.ort,c=k.getBoundingClientRect(),l=k.ownerDocument,k=l.documentElement,l=ha( [...]
+(l.x=0);b=100*(b-(d?c.top+l.y-k.clientTop:c.left+l.x-k.clientLeft))/H();return a.dir?100-b:b}function V(a){var b=100,d=!1;m.forEach(function(c,l){if(!c.hasAttribute("disabled")){var g=Math.abs(q[l]-a);g<b&&(d=l,b=g)}});return d}function la(a,b,d,c){var l=d.slice(),g=[!a,a],e=[a,!a];c=c.slice();a&&c.reverse();1<c.length?c.forEach(function(a,d){var v=P(l,a,l[a]+b,g[d],e[d],!1);!1===v?b=0:(b=v-l[a],l[a]=v)}):g=e=[!0];var f=!1;c.forEach(function(a,v){f=Q(a,d[a]+b,g[v],e[v])||f});f&&c.forEach [...]
+a);u("slide",a)})}function u(b,c,d){Object.keys(w).forEach(function(e){var l=e.split(".")[0];b===l&&w[e].forEach(function(b){b.call(R,K.map(a.format.to),c,K.slice(),d||!1,q.slice())})})}function W(a,b){"mouseout"===a.type&&("HTML"===a.target.nodeName&&null===a.relatedTarget)&&da(a,b)}function X(b,c){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===b.buttons&&0!==c.buttonsProperty)return da(b,c);var d=(a.dir?-1:1)*(b.calcPoint-c.startCalcPoint);la(0<d,100*d/c.baseSize,c.locations,c.han [...]
+function da(b,c){c.handle&&(N(c.handle,a.cssClasses.active),L-=1);c.listeners.forEach(function(a){S.removeEventListener(a[0],a[1])});0===L&&(N(p,a.cssClasses.drag),ea(),b.cursor&&(T.style.cursor="",T.removeEventListener("selectstart",D)));c.handleNumbers.forEach(function(a){u("change",a);u("set",a);u("end",a)})}function fa(b,c){var d;if(1===c.handleNumbers.length){var e=m[c.handleNumbers[0]];if(e.hasAttribute("disabled"))return!1;d=e.children[0];L+=1;n(d,a.cssClasses.active)}b.stopPropag [...]
+[],l=B(C.move,S,X,{target:b.target,handle:d,listeners:e,startCalcPoint:b.calcPoint,baseSize:H(),pageOffset:b.pageOffset,handleNumbers:c.handleNumbers,buttonsProperty:b.buttons,locations:q.slice()}),g=B(C.end,S,da,{target:b.target,handle:d,listeners:e,handleNumbers:c.handleNumbers});d=B("mouseout",S,W,{target:b.target,handle:d,listeners:e,handleNumbers:c.handleNumbers});e.push.apply(e,l.concat(g,d));b.cursor&&(T.style.cursor=getComputedStyle(b.target).cursor,1<m.length&&n(p,a.cssClasses.d [...]
+D,!1));c.handleNumbers.forEach(function(a){u("start",a)})}function Y(b){b.stopPropagation();var c=ka(b.calcPoint),d=V(c);if(!1===d)return!1;a.events.snap||ga(p,a.cssClasses.tap,a.animationDuration);Q(d,c,!0,!0);ea();u("slide",d,!0);u("update",d,!0);u("change",d,!0);u("set",d,!0);a.events.snap&&fa(b,{handleNumbers:[d]})}function Z(a){a=ka(a.calcPoint);a=s.getStep(a);var b=s.fromStepping(a);Object.keys(w).forEach(function(a){"hover"===a.split(".")[0]&&w[a].forEach(function(a){a.call(R,b)}) [...]
+c,d,e,l,g){1<m.length&&(e&&0<c&&(d=Math.max(d,b[c-1]+a.margin)),l&&c<m.length-1&&(d=Math.min(d,b[c+1]-a.margin)));1<m.length&&a.limit&&(e&&0<c&&(d=Math.min(d,b[c-1]+a.limit)),l&&c<m.length-1&&(d=Math.max(d,b[c+1]-a.limit)));a.padding&&(0===c&&(d=Math.max(d,a.padding)),c===m.length-1&&(d=Math.min(d,100-a.padding)));d=s.getStep(d);d=Math.max(Math.min(d,100),0);return d===b[c]&&!g?!1:d}function $(b,c){q[b]=c;K[b]=s.fromStepping(c);var d=function(){m[b].style[a.style]=c+"%";ma(b);ma(b+1)};wi [...]
+a.useRequestAnimationFrame?window.requestAnimationFrame(d):d()}function ea(){M.forEach(function(a){m[a].childNodes[0].style.zIndex=3+(m.length+(50<q[a]?-1:1)*a)})}function Q(a,b,c,e){b=P(q,a,b,c,e,!1);if(!1===b)return!1;$(a,b);return!0}function ma(b){if(x[b]){var c=0,d=100;0!==b&&(c=q[b-1]);b!==x.length-1&&(d=q[b]);x[b].style[a.style]=c+"%";x[b].style[a.styleOposite]=100-d+"%"}}function aa(b,c){null===b||!1===b||("number"===typeof b&&(b=String(b)),b=a.format.from(b),!1!==b&&!isNaN(b)&&Q( [...]
+!1,!1))}function U(b,c){var d=Array.isArray(b)?b:[b],e=void 0===q[0];c=void 0===c?!0:!!c;d.forEach(aa);a.animate&&!e&&ga(p,a.cssClasses.tap,a.animationDuration);M.forEach(function(a){Q(a,q[a],!0,!1)});ea();M.forEach(function(a){u("update",a);null!==d[a]&&c&&u("set",a)})}function na(){var b=K.map(a.format.to);return 1===b.length?b[0]:b}function ba(a,b){w[a]=w[a]||[];w[a].push(b);"update"===a.split(".")[0]&&m.forEach(function(a,b){u("update",b)})}var C=window.navigator.pointerEnabled?{star [...]
+move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},ja=window.CSS&&(CSS.supports&&CSS.supports("touch-action","none"))&&pa(),p=b,q=[],z,m,M=[],L=0,x,s=a.spectrum,K=[],w={},R,J,I=b.ownerDocument,S=I.documentElement,T=I.body;if(p.noUiSlider)throw Error("noUiSlider ("+f+"): Slider was already initialized.");(function(b){n(b,a.cssCl [...]
+0===a.dir?n(b,a.cssClasses.ltr):n(b,a.cssClasses.rtl);0===a.ort?n(b,a.cssClasses.horizontal):n(b,a.cssClasses.vertical);z=h(b,a.cssClasses.base)})(p);(function(b,c){m=[];x=[];x.push(!b[0]?!1:h(c,a.cssClasses.connect));for(var d=0;d<a.handles;d++)m.push(e(c,d)),M[d]=d,x.push(!b[d+1]?!1:h(c,a.cssClasses.connect))})(a.connect,z);R={destroy:function(){for(var b in a.cssClasses)a.cssClasses.hasOwnProperty(b)&&N(p,a.cssClasses[b]);for(;p.firstChild;)p.removeChild(p.firstChild);delete p.noUiSli [...]
+b){var c=s.getNearbySteps(a),e=K[b],f=c.thisStep.step,g=null;!1!==f&&e+f>c.stepAfter.startValue&&(f=c.stepAfter.startValue-e);g=e>c.thisStep.startValue?c.thisStep.step:!1===c.stepBefore.step?!1:e-c.stepBefore.highestStep;100===a?f=null:0===a&&(g=null);c=s.countStepDecimals();null!==f&&!1!==f&&(f=Number(f.toFixed(c)));null!==g&&!1!==g&&(g=Number(g.toFixed(c)));return[g,f]})},on:ba,off:function(a){var b=a&&a.split(".")[0],c=b&&a.substring(b.length);Object.keys(w).forEach(function(a){var e= [...]
+g=a.substring(e.length);(!b||b===e)&&(!c||c===g)&&delete w[a]})},get:na,set:U,reset:function(b){U(a.start,b)},__moveHandles:function(a,b,c){la(a,b,q,c)},options:c,updateOptions:function(b,e){var d=na(),f="margin limit padding range animate snap step format".split(" ");f.forEach(function(a){void 0!==b[a]&&(c[a]=b[a])});var h=ia(c);f.forEach(function(c){void 0!==b[c]&&(a[c]=h[c])});s=h.spectrum;a.margin=h.margin;a.limit=h.limit;a.padding=h.padding;a.pips&&ca(a.pips);q=[];U(b.start||d,e)},t [...]
+pips:ca};(function(b){b.fixed||m.forEach(function(a,b){B(C.start,a.children[0],fa,{handleNumbers:[b]})});b.tap&&B(C.start,z,Y,{});b.hover&&B(C.move,z,Z,{hover:!0});b.drag&&x.forEach(function(c,d){if(!(!1===c||0===d||d===x.length-1)){var e=m[d-1],f=m[d],g=[c];n(c,a.cssClasses.draggable);b.fixed&&(g.push(e.children[0]),g.push(f.children[0]));g.forEach(function(a){B(C.start,a,fa,{handles:[e,f],handleNumbers:[d-1,d]})})}})})(a.events);U(a.start);a.pips&&ca(a.pips);a.tooltips&&r();(function() [...]
+function(b,c,d,e,f){M.forEach(function(b){var c=m[b],e=P(q,b,0,!0,!0,!0),h=P(q,b,100,!0,!0,!0),k=f[b];b=a.ariaFormat.to(d[b]);c.children[0].setAttribute("aria-valuemin",e.toFixed(1));c.children[0].setAttribute("aria-valuemax",h.toFixed(1));c.children[0].setAttribute("aria-valuenow",k.toFixed(1));c.children[0].setAttribute("aria-valuetext",b)})})})();return R}var f="10.1.0";r.prototype.getMargin=function(b){var a=this.xNumSteps[0];if(a&&0!==b/a%1)throw Error("noUiSlider ("+f+"): 'limit', [...]
+return 2===this.xPct.length?F(this.xVal,b):!1};r.prototype.toStepping=function(b){var a=this.xVal,c=this.xPct;if(b>=a.slice(-1)[0])b=100;else{var f=E(b,a),e,n;e=a[f-1];n=a[f];a=c[f-1];c=c[f];e=[e,n];b=F(e,0>e[0]?b+Math.abs(e[0]):b-e[0]);b=a+b/(100/(c-a))}return b};r.prototype.fromStepping=function(b){var a=this.xVal,c=this.xPct;if(100<=b)b=a.slice(-1)[0];else{var f=E(b,c),e,n;e=a[f-1];n=a[f];a=c[f-1];e=[e,n];b=(b-a)*(100/(c[f]-a))*(e[1]-e[0])/100+e[0]}return b};r.prototype.getStep=functi [...]
+this.xPct,c=this.xSteps,f=this.snap;if(100!==b){var e=E(b,a);f?(c=a[e-1],a=a[e],b=b-c>(a-c)/2?a:c):b=c[e-1]?a[e-1]+Math.round((b-a[e-1])/c[e-1])*c[e-1]:b}return b};r.prototype.getNearbySteps=function(b){b=E(b,this.xPct);return{stepBefore:{startValue:this.xVal[b-2],step:this.xNumSteps[b-2],highestStep:this.xHighestCompleteStep[b-2]},thisStep:{startValue:this.xVal[b-1],step:this.xNumSteps[b-1],highestStep:this.xHighestCompleteStep[b-1]},stepAfter:{startValue:this.xVal[b-0],step:this.xNumSt [...]
+highestStep:this.xHighestCompleteStep[b-0]}}};r.prototype.countStepDecimals=function(){var b=this.xNumSteps.map(V);return Math.max.apply(null,b)};r.prototype.convert=function(b){return this.getStep(this.toStepping(b))};var O={to:function(b){return void 0!==b&&b.toFixed(2)},from:Number};return{version:f,create:function(b,a){if(!b||!b.nodeName)throw Error("noUiSlider ("+f+"): create requires a single element, got: "+b);var c=ia(a,b),c=Fa(b,c,a);return b.noUiSlider=c}}});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-dt.git
More information about the debian-science-commits
mailing list