1!function(e,t){if("function"==typeof define&&define.amd)define(["exports"],t);else if("undefined"!=typeof exports)t(exports);else{var o={};t(o),e.bodyScrollLock=o}}(this,function(exports){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}Object.defineProperty(exports,"__esModule",{value:!0});var i=!1;if("undefined"!=typeof window){var e={get passive(){i=!0}};window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}function l(t){return u.some(function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))})}function d(e){var t=e||window.event;return!!l(t.target)||(1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1))}function o(){setTimeout(function(){void 0!==f&&(document.body.style.paddingRight=f,f=void 0),void 0!==v&&(document.body.style.overflow=v,v=void 0)})}var c="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&1<window.navigator.maxTouchPoints),u=[],a=!1,s=-1,v=void 0,f=void 0;exports.disableBodyScroll=function(r,e){if(c){if(!r)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(r&&!u.some(function(e){return e.targetElement===r})){var t={targetElement:r,options:e||{}};u=[].concat(n(u),[t]),r.ontouchstart=function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},r.ontouchmove=function(e){var t,o,n,i;1===e.targetTouches.length&&(o=r,i=(t=e).targetTouches[0].clientY-s,l(t.target)||(o&&0===o.scrollTop&&0<i||(n=o)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&i<0?d(t):t.stopPropagation()))},a||(document.addEventListener("touchmove",d,i?{passive:!1}:void 0),a=!0)}}else{!function(e){if(void 0===f){var t=!!e&&!0===e.reserveScrollBarGap,o=window.innerWidth-document.documentElement.clientWidth;t&&0<o&&(f=document.body.style.paddingRight,document.body.style.paddingRight=o+"px")}void 0===v&&(v=document.body.style.overflow,setTimeout(function(){document.body.style.overflow="hidden"}))}(e);var o={targetElement:r,options:e||{}};u=[].concat(n(u),[o])}},exports.clearAllBodyScrollLocks=function(){c?(u.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),a&&(document.removeEventListener("touchmove",d,i?{passive:!1}:void 0),a=!1),u=[],s=-1):(o(),u=[])},exports.enableBodyScroll=function(t){if(c){if(!t)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");t.ontouchstart=null,t.ontouchmove=null,u=u.filter(function(e){return e.targetElement!==t}),a&&0===u.length&&(document.removeEventListener("touchmove",d,i?{passive:!1}:void 0),a=!1)}else(u=u.filter(function(e){return e.targetElement!==t})).length||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.