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