vendor: 7,891 bytes, line 1
1(self.webpackChunkcariera=self.webpackChunkcariera||[]).push([[903],{437:function(t,i,e){var n,s,o;/*! rangeslider.js - v2.3.2 | (c) 2018 @andreruffert | MIT license | https://github.com/andreruffert/rangeslider.js */!function(r){"use strict";s=[e(311)],n=function(t){function i(){var t=document.createElement("input");return t.setAttribute("type","range"),"text"!==t.type}Number.isNaN=Number.isNaN||function(t){return"number"==typeof t&&t!=t};var e="rangeslider",n=0,s=i(),o={polyfill:!0,orientation:"horizontal",rangeClass:"rangeslider",disabledClass:"rangeslider--disabled",activeClass:"rangeslider--active",horizontalClass:"rangeslider--horizontal",verticalClass:"rangeslider--vertical",fillClass:"rangeslider__fill",handleClass:"rangeslider__handle",startEvent:["mousedown","touchstart","pointerdown"],moveEvent:["mousemove","touchmove","pointermove"],endEvent:["mouseup","touchend","pointerup"]},r={orientation:{horizontal:{dimension:"width",direction:"left",directionStyle:"left",coordinate:"x"},vertical:{dimension:"height",direction:"top",directionStyle:"bottom",coordinate:"y"}}};function a(t,i){var e=Array.prototype.slice.call(arguments,2);return setTimeout((function(){return t.apply(null,e)}),i)}function h(t,i){return i=i||100,function(){if(!t.debouncing){var e=Array.prototype.slice.apply(arguments);t.lastReturnVal=t.apply(window,e),t.debouncing=!0}return clearTimeout(t.debounceTimeout),t.debounceTimeout=setTimeout((function(){t.debouncing=!1}),i),t.lastReturnVal}}function l(t){return t&&(0===t.offsetWidth||0===t.offsetHeight||!1===t.open)}function d(t){for(var i=[],e=t.parentNode;l(e);)i.push(e),e=e.parentNode;return i}function u(t,i){var e=d(t),n=e.length,s=[],o=t[i];function r(t){void 0!==t.open&&(t.open=!t.open)}if(n){for(var a=0;a<n;a++)s[a]=e[a].style.cssText,e[a].style.setProperty?e[a].style.setProperty("display","block","important"):e[a].style.cssText+=";display: block !important",e[a].style.height="0",e[a].style.overflow="hidden",e[a].style.visibility="hidden",r(e[a]);o=t[i];for(var h=0;h<n;h++)e[h].style.cssText=s[h],r(e[h])}return o}function p(t,i){var e=parseFloat(t);return Number.isNaN(e)?i:e}function c(t){return t.charAt(0).toUpperCase()+t.substr(1)}function f(i,l){if(this.$window=t(window),this.$document=t(document),this.$element=t(i),this.options=t.extend({},o,l),this.polyfill=this.options.polyfill,this.orientation=this.$element[0].getAttribute("data-orientation")||this.options.orientation,this.onInit=this.options.onInit,this.onSlide=this.options.onSlide,this.onSlideEnd=this.options.onSlideEnd,this.DIMENSION=r.orientation[this.orientation].dimension,this.DIRECTION=r.orientation[this.orientation].direction,this.DIRECTION_STYLE=r.orientation[this.orientation].directionStyle,this.COORDINATE=r.orientation[this.orientation].coordinate,this.polyfill&&s)return!1;this.identifier="js-"+e+"-"+n++,this.startEvent=this.options.startEvent.join("."+this.identifier+" ")+"."+this.identifier,this.moveEvent=this.options.moveEvent.join("."+this.identifier+" ")+"."+this.identifier,this.endEvent=this.options.endEvent.join("."+this.identifier+" ")+"."+this.identifier,this.toFixed=(this.step+"").replace(".","").length-1,this.$fill=t('<div class="'+this.options.fillClass+'" />'),this.$handle=t('<div class="'+this.options.handleClass+'" />'),this.$range=t('<div class="'+this.options.rangeClass+" "+this.options[this.orientation+"Class"]+'" id="'+this.identifier+'" />').insertAfter(this.$element).prepend(this.$fill,this.$handle),this.$element.css({position:"absolute",width:"1px",height:"1px",overflow:"hidden",opacity:"0"}),this.handleDown=t.proxy(this.handleDown,this),this.handleMove=t.proxy(this.handleMove,this),this.handleEnd=t.proxy(this.handleEnd,this),this.init();var d=this;this.$window.on("resize."+this.identifier,h((function(){a((function(){d.update(!1,!1)}),300)}),20)),this.$document.on(this.startEvent,"#"+this.identifier+":not(."+this.options.disabledClass+")",this.handleDown),this.$element.on("change."+this.identifier,(function(t,i){if(!i||i.origin!==d.identifier){var e=t.target.value,n=d.getPositionFromValue(e);d.setPosition(n)}}))}return f.prototype.init=function(){this.update(!0,!1),this.onInit&&"function"==typeof this.onInit&&this.onInit()},f.prototype.update=function(t,i){(t=t||!1)&&(this.min=p(this.$element[0].getAttribute("min"),0),this.max=p(this.$element[0].getAttribute("max"),100),this.value=p(this.$element[0].value,Math.round(this.min+(this.max-this.min)/2)),this.step=p(this.$element[0].getAttribute("step"),1)),this.handleDimension=u(this.$handle[0],"offset"+c(this.DIMENSION)),this.rangeDimension=u(this.$range[0],"offset"+c(this.DIMENSION)),this.maxHandlePos=this.rangeDimension-this.handleDimension,this.grabPos=this.handleDimension/2,this.position=this.getPositionFromValue(this.value),this.$element[0].disabled?this.$range.addClass(this.options.disabledClass):this.$range.removeClass(this.options.disabledClass),this.setPosition(this.position,i)},f.prototype.handleDown=function(t){if(t.preventDefault(),!(t.button&&0!==t.button||(this.$document.on(this.moveEvent,this.handleMove),this.$document.on(this.endEvent,this.handleEnd),this.$range.addClass(this.options.activeClass),(" "+t.target.className+" ").replace(/[\n\t]/g," ").indexOf(this.options.handleClass)>-1))){var i=this.getRelativePosition(t),e=this.$range[0].getBoundingClientRect()[this.DIRECTION],n=this.getPositionFromNode(this.$handle[0])-e,s="vertical"===this.orientation?this.maxHandlePos-(i-this.grabPos):i-this.grabPos;this.setPosition(s),i>=n&&i<n+this.handleDimension&&(this.grabPos=i-n)}},f.prototype.handleMove=function(t){t.preventDefault();var i=this.getRelativePosition(t),e="vertical"===this.orientation?this.maxHandlePos-(i-this.grabPos):i-this.grabPos;this.setPosition(e)},f.prototype.handleEnd=function(t){t.preventDefault(),this.$document.off(this.moveEvent,this.handleMove),this.$document.off(this.endEvent,this.handleEnd),this.$range.removeClass(this.options.activeClass),this.$element.trigger("change",{origin:this.identifier}),this.onSlideEnd&&"function"==typeof this.onSlideEnd&&this.onSlideEnd(this.position,this.value)},f.prototype.cap=function(t,i,e){return t<i?i:t>e?e:t},f.prototype.setPosition=function(t,i){var e,n;void 0===i&&(i=!0),e=this.getValueFromPosition(this.cap(t,0,this.maxHandlePos)),n=this.getPositionFromValue(e),this.$fill[0].style[this.DIMENSION]=n+this.grabPos+"px",this.$handle[0].style[this.DIRECTION_STYLE]=n+"px",this.setValue(e),this.position=n,this.value=e,i&&this.onSlide&&"function"==typeof this.onSlide&&this.onSlide(n,e)},f.prototype.getPositionFromNode=function(t){for(var i=0;null!==t;)i+=t.offsetLeft,t=t.offsetParent;return i},f.prototype.getRelativePosition=function(t){var i=c(this.COORDINATE),e=this.$range[0].getBoundingClientRect()[this.DIRECTION],n=0;return void 0!==t.originalEvent["client"+i]?n=t.originalEvent["client"+i]:t.originalEvent.touches&&t.originalEvent.touches[0]&&void 0!==t.originalEvent.touches[0]["client"+i]?n=t.originalEvent.touches[0]["client"+i]:t.currentPoint&&void 0!==t.currentPoint[this.COORDINATE]&&(n=t.currentPoint[this.COORDINATE]),n-e},f.prototype.getPositionFromValue=function(t){var i;return i=(t-this.min)/(this.max-this.min),Number.isNaN(i)?0:i*this.maxHandlePos},f.prototype.getValueFromPosition=function(t){var i,e;return i=t/(this.maxHandlePos||1),e=this.step*Math.round(i*(this.max-this.min)/this.step)+this.min,Number(e.toFixed(this.toFixed))},f.prototype.setValue=function(t){t===this.value&&""!==this.$element[0].value||this.$element.val(t).trigger("input",{origin:this.identifier})},f.prototype.destroy=function(){this.$document.off("."+this.identifier),this.$window.off("."+this.identifier),this.$element.off("."+this.identifier).removeAttr("style").removeData("plugin_"+e),this.$range&&this.$range.length&&this.$range[0].parentNode.removeChild(this.$range[0])},t.fn[e]=function(i){var n=Array.prototype.slice.call(arguments,1
1);return this.each((function(){var s=t(this),o=s.data("plugin_"+e);o||s.data("plugin_"+e,o=new f(this,i)),"string"==typeof i&&o[i].apply(o,n)}))},"rangeslider.js is available in jQuery context e.g $(selector).rangeslider(options);"},void 0===(o="function"==typeof n?n.apply(i,s):n)||(t.exports=o)}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.