PageSourceSearch

http://www.museicivicitreviso.it/wp-content/themes/design-musei-wo…/js/perfect-scrollbar.jquery.js?ver=7.1

js museicivicitreviso.it collected 2026-10-02 06:23:26 UTC 24,658 bytes, 1 lines download raw bytes

1!function r(o,l,i){function s(e,t){if(!l[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(a)return a(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=l[e]={exports:{}},o[e][0].call(n.exports,function(t){return s(o[e][1][t]||t)},n,n.exports,r,o,l,i)}return l[e].exports}for(var a="function"==typeof require&&require,t=0;t<i.length;t++)s(i[t]);return s}({1:[function(t,e,n){"use strict";var r=t("../main"),o=t("../plugin/instances");function l(t){t.fn.perfectScrollbar=function(e){return this.each(function(){var t;"object"==typeof e||void 0===e?(t=e,o.get(this)||r.initialize(this,t)):"update"===(t=e)?r.update(this):"destroy"===t&&r.destroy(this)})}}"function"==typeof define&&define.amd?define(["jquery"],l):void 0!==(t=window.jQuery||window.$)&&l(t),e.exports=l},{"../main":7,"../plugin/instances":18}],2:[function(t,e,n){"use strict";n.add=function(t,e){var n;t.classList?t.classList.add(e):((n=t.className.split(" ")).indexOf(e)<0&&n.push(e),t.className=n.join(" "))},n.remove=function(t,e){var n;t.classList?t.classList.remove(e):(0<=(e=(n=t.className.split(" ")).indexOf(e))&&n.splice(e,1),t.className=n.join(" "))},n.list=function(t){return t.classList?Array.prototype.slice.apply(t.classList):t.className.split(" ")}},{}],3:[function(t,e,n){"use strict";var r={e:function(t,e){return(t=document.createElement(t)).className=e,t},appendTo:function(t,e){return e.appendChild(t),t},css:function(t,e,n){if("object"!=typeof e)return void 0===n?(l=e,window.getComputedStyle(t)[l]):(l=t,o=e,"number"==typeof n&&(n=n.toString()+"px"),l.style[o]=n,l);var r,o,l,i=t,s=e;for(r in s){var a=s[r];"number"==typeof a&&(a=a.toString()+"px"),i.style[r]=a}return i},matches:function(t,e){return void 0!==t.matches?t.matches(e):void 0!==t.matchesSelector?t.matchesSelector(e):void 0!==t.webkitMatchesSelector?t.webkitMatchesSelector(e):void 0!==t.mozMatchesSelector?t.mozMatchesSelector(e):void 0!==t.msMatchesSelector?t.msMatchesSelector(e):void 0},remove:function(t){void 0!==t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)},queryChildren:function(t,e){return Array.prototype.filter.call(t.childNodes,function(t){return r.matches(t,e)})}};e.exports=r},{}],4:[function(t,e,n){"use strict";function r(t){this.element=t,this.events={}}function o(){this.eventElements=[]}r.prototype.bind=function(t,e){void 0===this.events[t]&&(this.events[t]=[]),this.events[t].push(e),this.element.addEventListener(t,e,!1)},r.prototype.unbind=function(e,n){var r=void 0!==n;this.events[e]=this.events[e].filter(function(t){return r&&t!==n||(this.element.removeEventListener(e,t,!1),!1)},this)},r.prototype.unbindAll=function(){for(var t in this.events)this.unbind(t)},o.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return void 0===t&&(t=new r(e),this.eventElements.push(t)),t},o.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},o.prototype.unbind=function(t,e,n){this.eventElement(t).unbind(e,n)},o.prototype.unbindAll=function(){for(var t=0;t<this.eventElements.length;t++)this.eventElements[t].unbindAll()},o.prototype.once=function(t,e,n){var r=this.eventElement(t),o=function(t){r.unbind(e,o),n(t)};r.bind(e,o)},e.exports=o},{}],5:[function(t,e,n){"use strict";function r(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}e.exports=function(){return r()+r()+"-"+r()+"-"+r()+"-"+r()+"-"+r()+r()+r()}},{}],6:[function(t,e,n){"use strict";var o=t("./class"),r=t("./dom"),l=n.toInt=function(t){return parseInt(t,10)||0},i=n.clone=function(t){if(null===t)return null;if(t.constructor===Array)return t.map(i);if("object"!=typeof t)return t;var e,n={};for(e in t)n[e]=i(t[e]);return n};n.extend=function(t,e){var n,r=i(t);for(n in e)r[n]=i(e[n]);return r},n.isEditable=function(t){return r.matches(t,"input,[contenteditable]")||r.matches(t,"select,[contenteditable]")||r.matches(t,"textarea,[contenteditable]")||r.matches(t,"button,[contenteditable]")},n.removePsClasses=function(t){for(var e=o.list(t),n=0;n<e.length;n++){var r=e[n];0===r.indexOf("ps-")&&o.remove(t,r)}},n.outerWidth=function(t){return l(r.css(t,"width"))+l(r.css(t,"paddingLeft"))+l(r.css(t,"paddingRight"))+l(r.css(t,"borderLeftWidth"))+l(r.css(t,"borderRightWidth"))},n.startScrolling=function(t,e){o.add(t,"ps-in-scrolling"),void 0!==e?o.add(t,"ps-"+e):(o.add(t,"ps-x"),o.add(t,"ps-y"))},n.stopScrolling=function(t,e){o.remove(t,"ps-in-scrolling"),void 0!==e?o.remove(t,"ps-"+e):(o.remove(t,"ps-x"),o.remove(t,"ps-y"))},n.env={isWebKit:"WebkitAppearance"in document.documentElement.style,supportsTouch:"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,supportsIePointer:null!==window.navigator.msMaxTouchPoints}},{"./class":2,"./dom":3}],7:[function(t,e,n){"use strict";var r=t("./plugin/destroy"),o=t("./plugin/initialize"),t=t("./plugin/update");e.exports={initialize:o,update:t,destroy:r}},{"./plugin/destroy":9,"./plugin/initialize":17,"./plugin/update":2
11}],8:[function(t,e,n){"use strict";e.exports={handlers:["click-rail","drag-scrollbar","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollXMarginOffset:0,scrollYMarginOffset:0,stopPropagationOnClick:!0,suppressScrollX:!1,suppressScrollY:!1,swipePropagation:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1,theme:"default"}},{}],9:[function(t,e,n){"use strict";var r=t("../lib/helper"),o=t("../lib/dom"),l=t("./instances");e.exports=function(t){var e=l.get(t);e&&(e.event.unbindAll(),o.remove(e.scrollbarX),o.remove(e.scrollbarY),o.remove(e.scrollbarXRail),o.remove(e.scrollbarYRail),r.removePsClasses(t),l.remove(t))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18}],10:[function(t,e,n){"use strict";var l=t("../../lib/helper"),i=t("../instances"),s=t("../update-geometry"),a=t("../update-scroll");e.exports=function(t){function n(t){return t.getBoundingClientRect()}function e(t){t.stopPropagation()}var r,o;r=t,(o=i.get(t)).settings.stopPropagationOnClick&&o.event.bind(o.scrollbarY,"click",e),o.event.bind(o.scrollbarYRail,"click",function(t){var e=l.toInt(o.scrollbarYHeight/2);(e=o.railYRatio*(t.pageY-window.pageYOffset-n(o.scrollbarYRail).top-e)/(o.railYRatio*(o.railYHeight-o.scrollbarYHeight)))<0?e=0:1<e&&(e=1),a(r,"top",(o.contentHeight-o.containerHeight)*e),s(r),t.stopPropagation()}),o.settings.stopPropagationOnClick&&o.event.bind(o.scrollbarX,"click",e),o.event.bind(o.scrollbarXRail,"click",function(t){var e=l.toInt(o.scrollbarXWidth/2);(e=o.railXRatio*(t.pageX-window.pageXOffset-n(o.scrollbarXRail).left-e)/(o.railXRatio*(o.railXWidth-o.scrollbarXWidth)))<0?e=0:1<e&&(e=1),a(r,"left",(o.contentWidth-o.containerWidth)*e-o.negativeScrollAdjustment),s(r),t.stopPropagation()})}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],11:[function(t,e,n){"use strict";var f=t("../../lib/helper"),b=t("../../lib/dom"),g=t("../instances"),v=t("../update-geometry"),m=t
1("../update-scroll");e.exports=function(t){var r,o,l,i,s,a,c,d,e=g.get(t);function n(t){var e,n=t.pageY-l;n=i+n*o.railYRatio,e=Math.max(0,o.scrollbarYRail.getBoundingClientRect().top)+o.railYRatio*(o.railYHeight-o.scrollbarYHeight),o.scrollbarYTop=n<0?0:e<n?e:n,e=f.toInt(o.scrollbarYTop*(o.contentHeight-o.containerHeight)/(o.containerHeight-o.railYRatio*o.scrollbarYHeight)),m(r,"top",e),v(r),t.stopPropagation(),t.preventDefault()}function u(){f.stopScrolling(r,"y"),o.event.unbind(o.ownerDocument,"mousemove",n)}function p(t){var e,n=t.pageX-c;n=d+n*a.railXRatio,e=Math.max(0,a.scrollbarXRail.getBoundingClientRect().left)+a.railXRatio*(a.railXWidth-a.scrollbarXWidth),a.scrollbarXLeft=n<0?0:e<n?e:n,e=f.toInt(a.scrollbarXLeft*(a.contentWidth-a.containerWidth)/(a.containerWidth-a.railXRatio*a.scrollbarXWidth))-a.negativeScrollAdjustment,m(s,"left",e),v(s),t.stopPropagation(),t.preventDefault()}function h(){f.stopScrolling(s,"x"),a.event.unbind(a.ownerDocument,"mousemove",p)}s=t,(a=e).event.bind(a.scrollbarX,"mousedown",function(t){c=t.pageX,d=f.toInt(b.css(a.scrollbarX,"left"))*a.railXRatio,f.startScrolling(s,"x"),a.event.bind(a.ownerDocument,"mousemove",p),a.event.once(a.ownerDocument,"mouseup",h),t.stopPropagation(),t.preventDefault()}),r=t,(o=e).event.bind(o.scrollbarY,"mousedown",function(t){l=t.pageY,i=f.toInt(b.css(o.scrollbarY,"top"))*o.railYRatio,f.startScrolling(r,"y"),o.event.bind(o.ownerDocument,"mousemove",n),o.event.once(o.ownerDocument,"mouseup",u),t.stopPropagation(),t.preventDefault()})}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],12:[function(t,e,n){"use strict";var a=t("../../lib/helper"),c=t("../../lib/dom"),r=t("../instances"),d=t("../update-geometry"),u=t("../update-scroll");e.exports=function(t){var l,i,s;l=t,i=r.get(t),s=!1,i.event.bind(l,"mouseenter",function(){s=!0}),i.event.bind(l,"mouseleave",function(){s=!1}),i.event.bind(i.ownerDocument,"keydown",function(t){if(!t.isDefaultPrevented||!t.isDefaultPrevented()){var e=c.matches(i.scrollbarX,":focus")||c.matches(i.scrollbarY,":focus");if(s||e){var n=document.activeElement||i.ownerDocument.activeElement;if(n){if("IFRAME"===n.tagName)n=n.contentDocument.activeElement;else for(;n.shadowRoot;)n=n.shadowRoot.activeElement;if(a.isEditable(n))return}var r=0,o=0;switch(t.which){case 37:r=-30;break;case 38:o=30;break;case 39:r=30;break;case 40:o=-30;break;case 33:o=90;break;case 32:o=t.shiftKey?90:-90;break;case 34:o=-90;break;case 35:o=t.ctrlKey?-i.contentHeight:-i.containerHeight;break;case 36:o=t.ctrlKey?l.scrollTop:i.containerHeight;break;default:return}u(l,"top",l.scrollTop-o),u(l,"left",l.scrollLeft+r),d(l),function(t,e){var n=l.scrollTop;if(0===t){if(!i.scrollbarYActive)return;if(0===n&&0<e||n>=i.contentHeight-i.containerHeight&&e<0)return!i.settings.wheelPropagation}if(n=l.scrollLeft,0===e){if(!i.scrollbarXActive)return;if(0===n&&t<0||n>=i.contentWidth-i.containerWidth&&0<t)return!i.settings.wheelPropagation}return 1}(r,o)&&t.preventDefault()}}})}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],13:[function(t,e,n){"use strict";var r=t("../instances"),s=t("../update-geometry"),a=t("../update-scroll");e.exports=function(t){function e(t){n=t.deltaX,r=-1*(e=t).deltaY,void 0!==n&&void 0!==r||(n=-1*e.wheelDeltaX/6,r=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(n*=10,r*=10),n!=n&&r!=r&&(n=0,r=e.wheelDelta);var e=[n,r],n=e[0],r=e[1];!function(t,e){var n,r=o.querySelector("textarea:hover, .ps-child:hover");if(r&&("TEXTAREA"===r.tagName||window.getComputedStyle(r).overflow.match(/(scroll|auto)/)))return 0<(n=r.scrollHeight-r.clientHeight)&&!(0===r.scrollTop&&0<e||r.scrollTop===n&&e<0)?1:0<(n=r.scrollLeft-r.clientWidth)&&!(0===r.scrollLeft&&t<0||r.scrollLeft===n&&0<t)}(n,r)&&(i=!1,l.settings.useBothWheelAxes?l.scrollbarYActive&&!l.scrollbarXActive?(a(o,"top",r?o.scrollTop-r*l.settings.wheelSpeed:o.scrollTop+n*l.settings.wheelSpeed),i=!0):l.scrollbarXActive&&!l.scrollbarYActive&&(a(o,"left",n?o.scrollLeft+n*l.settings.wheelSpeed:o.scrollLeft-r*l.settings.wheelSpeed),i=!0):(a(o,"top",o.scrollTop-r*l.settings.wheelSpeed),a(o,"left",o.scrollLeft+n*l.settings.wheelSpeed)),s(o),i=i||function(t,e){var n=o.scrollTop;if(0===t){if(!l.scrollbarYActive)return!1;if(0===n&&0<e||n>=l.contentHeight-l.containerHeight&&e<0)return!l.settings.wheelPropagation}if(n=o.scrollLeft,0===e){if(!l.scrollbarXActive)return!1;if(0===n&&t<0||n>=l.contentWidth-l.containerWidth&&0<t)return!l.settings.wheelPropagation}return!0}(n,r))&&(t.stopPropagation(),t.preventDefault())}var o,l,i;o=t,l=r.get(t),i=!1,void 0!==window.onwheel?l.event.bind(o,"wheel",e):void 0!==window.onmousewheel&&l.event.bind(o,"mousewheel",e)}},{"../instances":18,"../update-geometry":19,"../update-scroll":20}],14:[function(t,e,n){"use strict";var r=t("../instances"),o=t("../update-geometry");e.exports=function(t){var e=r.get(t),n=t;e.event.bind(n,"scroll",function(){o(n)})}},{"../instances":18,"../update-geometry":19}],15:[function(t,e,n){"use strict";var u=t("../../lib/helper"),p=t("../instances"),h=t("../update-geometry"),f=t("../update-scroll");e.exports=function(t){function i(){a&&(clearInterval(a),a=null),u.stopScrolling(s)}var s,a,c,d;s=t,t=p.get(t),a=null,d=!(c={top:0,left:0}),t.event.bind(t.ownerDocument,"selectionchange",function(){var t;s.contains(0===(t=window.getSelection?window.getSelection():document.getSelection?document.getSelection():"").toString().length?null:t.getRangeAt(0).commonAncestorContainer)?d=!0:(d=!1,i())}),t.event.bind(window,"mouseup",function(){d&&(d=!1,i())}),t.event.bind(window,"mousemove",function(t){var e,n,r,o,l;d&&(e=t.pageX,t=t.pageY,n=s.offsetLeft,r=s.offsetLeft+s.offsetWidth,o=s.offsetTop,l=s.offsetTop+s.offsetHeight,e<n+3?(c.left=-5,u.startScrolling(s,"x")):r-3<e?(c.left=5,u.startScrolling(s,"x")):c.left
1=0,t<o+3?(c.top=o+3-t<5?-5:-20,u.startScrolling(s,"y")):l-3<t?(c.top=t-l+3<5?5:20,u.startScrolling(s,"y")):c.top=0,0===c.top&&0===c.left?i():a=a||setInterval(function(){p.get(s)?(f(s,"top",s.scrollTop+c.top),f(s,"left",s.scrollLeft+c.left),h(s)):clearInterval(a)},50))})}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],16:[function(t,e,n){"use strict";var m=t("../../lib/helper"),Y=t("../instances"),w=t("../update-geometry"),X=t("../update-scroll");e.exports=function(t){function l(t,e){X(c,"top",c.scrollTop-e),X(c,"left",c.scrollLeft-t),w(c)}function e(){g=!0}function n(){g=!1}function i(t){return t.targetTouches?t.targetTouches[0]:t}function s(t){return t.targetTouches&&1===t.targetTouches.length||t.pointerType&&"mouse"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE}function a(t){var e;s(t)&&(v=!0,e=i(t),p.pageX=e.pageX,p.pageY=e.pageY,h=(new Date).getTime(),null!==b&&clearInterval(b),t.stopPropagation())}function r(t){var e,n,r,o;!v&&d.settings.swipePropagation&&a(t),!g&&v&&s(t)&&(l(e=(r={pageX:(r=i(t)).pageX,pageY:r.pageY}).pageX-p.pageX,n=r.pageY-p.pageY),p=r,0<(o=(r=(new Date).getTime())-h)&&(f.x=e/o,f.y=n/o,h=r),function(t,e){var n=c.scrollTop,r=c.scrollLeft,o=Math.abs(t),l=Math.abs(e);if(o<l){if(e<0&&n===d.contentHeight-d.containerHeight||0<e&&0===n)return!d.settings.swipePropagation}else if(l<o&&(t<0&&r===d.contentWidth-d.containerWidth||0<t&&0===r))return!d.settings.swipePropagation;return 1}(e,n))&&(t.stopPropagation(),t.preventDefault())}function o(){!g&&v&&(v=!1,clearInterval(b),b=setInterval(function(){!Y.get(c)||Math.abs(f.x)<.01&&Math.abs(f.y)<.01?clearInterval(b):(l(30*f.x,30*f.y),f.x*=.8,f.y*=.8)},10))}var c,d,u,p,h,f,b,g,v;(m.env.supportsTouch||m.env.supportsIePointer)&&(c=t,d=Y.get(t),t=m.env.supportsTouch,u=m.env.supportsIePointer,p={},h=0,b=null,v=g=!(f={}),t&&(d.event.bind(window,"touchstart",e),d.event.bind(window,"touchend",n),d.event.bind(c,"touchstart",a),d.event.bind(c,"touchmove",r),d.event.bind(c,"touchend",o)),u)&&(window.PointerEvent?(d.event.bind(window,"pointerdown",e),d.event.bind(window,"pointerup",n),d.event.bind(c,"pointerdown",a),d.event.bind(c,"pointermove",r),d.event.bind(c,"pointerup",o)):window.MSPointerEvent&&(d.event.bind(window,"MSPointerDown",e),d.event.bind(window,"MSPointerUp",n),d.event.bind(c,"MSPointerDown",a),d.event.bind(c,"MSPointerMove",r),d.event.bind(c,"MSPointerUp",o)))}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],17:[function(t,e,n){"use strict";var r=t("../lib/helper"),o=t("../lib/class"),l=t("./instances"),i=t("./update-geometry"),s={"click-rail":t("./handler/click-rail"),"drag-scrollbar":t("./handler/drag-scrollbar"),keyboard:t("./handler/keyboard"),wheel:t("./handler/mouse-wheel"),touch:t("./handler/touch"),selection:t("./handler/selection")},a=t("./handler/native-scroll");e.exports=function(e,t){t="object"==typeof t?t:{},o.add(e,"ps-container");var n=l.add(e);n.settings=r.extend(n.settings,t),o.add(e,"ps-theme-"+n.settings.theme),n.settings.handlers.forEach(function(t){s[t](e)}),a(e),i(e)}},{"../lib/class":2,"../lib/helper":6,"./handler/click-rail":10,"./handler/drag-scrollbar":11,"./handler/keyboard":12,"./handler/mouse-wheel":13,"./handler/native-scroll":14,"./handler/selection":15,"./handler/touch":16,"./instances":18,"./update-geometry":19}],18:[function(t,e,n){"use strict";var i=t("../lib/helper"),s=t("../lib/class"),a=t("./default-setting"),c=t("../lib/dom"),d=t("../lib/event-manager"),r=t("../lib/guid"),o={};function l(t){var e,n,r=this;function o(){s.add(t,"ps-focus")}function l(){s.remove(t,"ps-focus")}r.settings=i.clone(a),r.containerWidth=null,r.containerHeight=null,r.contentWidth=null,r.contentHeight=null,r.isRtl="rtl"===c.css(t,"direction"),r.isNegativeScroll=(n=t.scrollLeft,t.scrollLeft=-1,e=t.scrollLeft<0,t.scrollLeft=n,e),r.negativeScrollAdjustment=r.isNegativeScroll?t.scrollWidth-t.clientWidth:0,r.event=new d,r.ownerDocument=t.ownerDocument||document,r.scrollbarXRail=c.appendTo(c.e("div","ps-scrollbar-x-rail"),t),r.scrollbarX=c.appendTo(c.e("div","ps-scrollbar-x"),r.scrollbarXRail),r.scrollbarX.setAttribute("tabindex",0),r.event.bind(r.scrollbarX,"focus",o),r.event.bind(r.scrollbarX,"blur",l),r.scrollbarXActive=null,r.scrollbarXWidth=null,r.scrollbarXLeft=null,r.scrollbarXBottom=i.toInt(c.css(r.scrollbarXRail,"bottom")),r.isScrollbarXUsingBottom=r.scrollbarXBottom==r.scrollbarXBottom,r.scrollbarXTop=r.isScrollbarXUsingBottom?null:i.toInt(c.css(r.scrollbarXRail,"top")),r.railBorderXWidth=i.toInt(c.css(r.scrollbarXRail,"borderLeftWidth"))+i.toInt(c.css(r.scrollbarXRail,"borderRightWidth")),c.css(r.scrollbarXRail,"display","block"),r.railXMarginWidth=i.toInt(c.css(r.scrollbarXRail,"marginLeft"))+i.toInt(c.css(r.scrollbarXRail,"marginRight")),c.css(r.scrollbarXRail,"display",""),r.railXWidth=null,r.railXRatio=null,r.scrollbarYRail=c.appendTo(c.e("div","ps-scrollbar-y-rail"),t),r.scrollbarY=c.appendTo(c.e("div","ps-scrollbar-y"),r.scrollbarYRail),r.scrollbarY.setAttribute("tabindex",0),r.event.bind(r.scrollbarY,"focus",o),r.event.bind(r.scrollbarY,"blur",l),r.scrollbarYActive=null,r.scrollbarYHeight=null,r.scrollbarYTop=null,r.scrollbarYRight=i.toInt(c.css(r.scrollbarYRail,"right")),r.isScrollbarYUsingRight=r.scrollbarYRight==r.scrollbarYRight,r.scrollbarYLeft=r.isScrollbarYUsingRight?null:i.toInt(c.css(r.scrollbarYRail,"left")),r.scrollbarYOuterWidth=r.isRtl?i.outerWidth(r.scrollbarY):null,r.railBorderYWidth=i.toInt(c.css(r.scrollbarYRail,"borderTopWidth"))+i.toInt(c.css(r.scrollbarYRail,"borderBottomWidth")),c.css(r.scrollbarYRail,"display","block"),r.railYMarginHeight=i.toInt(c.css(r.scrollbarYRail,"marginTop"))+i.toInt(c.css(r.scrollbarYRail,"marginBottom")),c.css(r.scrollbarYRail,"display",""),r.railYHeight=null,r.railYRatio=null}function u(t){return t.getAttribute("data-ps-id")}n.add=function(t){var e=r();return t.setAttribute("data-ps-id",e),o[e]=new l(t),o[e]},n.remove=function(t){delete o[u(t)],t.removeAttribute("data-ps-id")},n.get=function(t){return o[u(t)]}}
1,{"../lib/class":2,"../lib/dom":3,"../lib/event-manager":4,"../lib/guid":5,"../lib/helper":6,"./default-setting":8}],19:[function(t,e,n){"use strict";var l=t("../lib/helper"),i=t("../lib/class"),s=t("../lib/dom"),a=t("./instances"),c=t("./update-scroll");function d(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength?Math.min(e,t.settings.maxScrollbarLength):e}e.exports=function(t){var e,n,r,o=a.get(t);o.containerWidth=t.clientWidth,o.containerHeight=t.clientHeight,o.contentWidth=t.scrollWidth,o.contentHeight=t.scrollHeight,t.contains(o.scrollbarXRail)||(0<(e=s.queryChildren(t,".ps-scrollbar-x-rail")).length&&e.forEach(function(t){s.remove(t)}),s.appendTo(o.scrollbarXRail,t)),t.contains(o.scrollbarYRail)||(0<(e=s.queryChildren(t,".ps-scrollbar-y-rail")).length&&e.forEach(function(t){s.remove(t)}),s.appendTo(o.scrollbarYRail,t)),!o.settings.suppressScrollX&&o.containerWidth+o.settings.scrollXMarginOffset<o.contentWidth?(o.scrollbarXActive=!0,o.railXWidth=o.containerWidth-o.railXMarginWidth,o.railXRatio=o.containerWidth/o.railXWidth,o.scrollbarXWidth=d(o,l.toInt(o.railXWidth*o.containerWidth/o.contentWidth)),o.scrollbarXLeft=l.toInt((o.negativeScrollAdjustment+t.scrollLeft)*(o.railXWidth-o.scrollbarXWidth)/(o.contentWidth-o.containerWidth))):o.scrollbarXActive=!1,!o.settings.suppressScrollY&&o.containerHeight+o.settings.scrollYMarginOffset<o.contentHeight?(o.scrollbarYActive=!0,o.railYHeight=o.containerHeight-o.railYMarginHeight,o.railYRatio=o.containerHeight/o.railYHeight,o.scrollbarYHeight=d(o,l.toInt(o.railYHeight*o.containerHeight/o.contentHeight)),o.scrollbarYTop=l.toInt(t.scrollTop*(o.railYHeight-o.scrollbarYHeight)/(o.contentHeight-o.containerHeight))):o.scrollbarYActive=!1,o.scrollbarXLeft>=o.railXWidth-o.scrollbarXWidth&&(o.scrollbarXLeft=o.railXWidth-o.scrollbarXWidth),o.scrollbarYTop>=o.railYHeight-o.scrollbarYHeight&&(o.scrollbarYTop=o.railYHeight-o.scrollbarYHeight),e=t,r={width:(n=o).railXWidth},n.isRtl?r.left=n.negativeScrollAdjustment+e.scrollLeft+n.containerWidth-n.contentWidth:r.left=e.scrollLeft,n.isScrollbarXUsingBottom?r.bottom=n.scrollbarXBottom-e.scrollTop:r.top=n.scrollbarXTop+e.scrollTop,s.css(n.scrollbarXRail,r),r={top:e.scrollTop,height:n.railYHeight},n.isScrollbarYUsingRight?n.isRtl?r.right=n.contentWidth-(n.negativeScrollAdjustment+e.scrollLeft)-n.scrollbarYRight-n.scrollbarYOuterWidth:r.right=n.scrollbarYRight-e.scrollLeft:n.isRtl?r.left=n.negativeScrollAdjustment+e.scrollLeft+2*n.containerWidth-n.contentWidth-n.scrollbarYLeft-n.scrollbarYOuterWidth:r.left=n.scrollbarYLeft+e.scrollLeft,s.css(n.scrollbarYRail,r),s.css(n.scrollbarX,{left:n.scrollbarXLeft,width:n.scrollbarXWidth-n.railBorderXWidth}),s.css(n.scrollbarY,{top:n.scrollbarYTop,height:n.scrollbarYHeight-n.railBorderYWidth}),o.scrollbarXActive?i.add(t,"ps-active-x"):(i.remove(t,"ps-active-x"),o.scrollbarXWidth=0,o.scrollbarXLeft=0,c(t,"left",0)),o.scrollbarYActive?i.add(t,"ps-active-y"):(i.remove(t,"ps-active-y"),o.scrollbarYHeight=0,o.scrollbarYTop=0,c(t,"top",0))}},{"../lib/class":2,"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-scroll":20}],20:[function(t,e,n){"use strict";var o,l,i=t("./instances"),s=document.createEvent("Event"),a=document.createEvent("Event"),c=document.createEvent("Event"),d=document.createEvent("Event"),u=document.createEvent("Event"),p=document.createEvent("Event"),h=document.createEvent("Event"),f=document.createEvent("Event"),b=document.createEvent("Event"),g=document.createEvent("Event");s.initEvent("ps-scroll-up",!0,!0),a.initEvent("ps-scroll-down",!0,!0),c.initEvent("ps-scroll-left",!0,!0),d.initEvent("ps-scroll-right",!0,!0),u.initEvent("ps-scroll-y",!0,!0),p.initEvent("ps-scroll-x",!0,!0),h.initEvent("ps-x-reach-start",!0,!0),f.initEvent("ps-x-reach-end",!0,!0),b.initEvent("ps-y-reach-start",!0,!0),g.initEvent("ps-y-reach-end",!0,!0),e.exports=function(t,e,n){if(void 0===t)throw"You must provide an element to the update-scroll function";if(void 0===e)throw"You must provide an axis to the update-scroll function";if(void 0===n)throw"You must provide a value to the update-scroll function";"top"===e&&n<=0&&(t.scrollTop=n=0,t.dispatchEvent(b)),"left"===e&&n<=0&&(t.scrollLeft=n=0,t.dispatchEvent(h));var r=i.get(t);"top"===e&&n>=r.contentHeight-r.containerHeight&&((n=r.contentHeight-r.containerHeight)-t.scrollTop<=1?n=t.scrollTop:t.scrollTop=n,t.dispatchEvent(g)),"left"===e&&n>=r.contentWidth-r.containerWidth&&((n=r.contentWidth-r.containerWidth)-t.scrollLeft<=1?n=t.scrollLeft:t.scrollLeft=n,t.dispatchEvent(f)),o=o||t.scrollTop,l=l||t.scrollLeft,"to
1p"===e&&n<o&&t.dispatchEvent(s),"top"===e&&o<n&&t.dispatchEvent(a),"left"===e&&n<l&&t.dispatchEvent(c),"left"===e&&l<n&&t.dispatchEvent(d),"top"===e&&(t.scrollTop=o=n,t.dispatchEvent(u)),"left"===e&&(t.scrollLeft=l=n,t.dispatchEvent(p))}},{"./instances":18}],21:[function(t,e,n){"use strict";var r=t("../lib/helper"),o=t("../lib/dom"),l=t("./instances"),i=t("./update-geometry"),s=t("./update-scroll");e.exports=function(t){var e=l.get(t);e&&(e.negativeScrollAdjustment=e.isNegativeScroll?t.scrollWidth-t.clientWidth:0,o.css(e.scrollbarXRail,"display","block"),o.css(e.scrollbarYRail,"display","block"),e.railXMarginWidth=r.toInt(o.css(e.scrollbarXRail,"marginLeft"))+r.toInt(o.css(e.scrollbarXRail,"marginRight")),e.railYMarginHeight=r.toInt(o.css(e.scrollbarYRail,"marginTop"))+r.toInt(o.css(e.scrollbarYRail,"marginBottom")),o.css(e.scrollbarXRail,"display","none"),o.css(e.scrollbarYRail,"display","none"),i(t),s(t,"top",t.scrollTop),s(t,"left",t.scrollLeft),o.css(e.scrollbarXRail,"display",""),o.css(e.scrollbarYRail,"display",""))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-geometry":19,"./update-scroll":20}]},{},[1]);

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.