1import{bA as i}from"./B7YjapCH.js";const f=t=>{const{touchstartX:o,touchendX:n,touchstartY:c,touchendY:u}=t,e=.5,s=16;t.offsetX=n-o,t.offsetY=u-c,Math.abs(t.offsetY)<e*Math.abs(t.offsetX)&&(t.left&&n<o-s&&t.left(t),t.right&&n>o+s&&t.right(t)),Math.abs(t.offsetX)<e*Math.abs(t.offsetY)&&(t.up&&u<c-s&&t.up(t),t.down&&u>c+s&&t.down(t))};function l(t,o){var c;const n=t.changedTouches[0];o.touchstartX=n.clientX,o.touchstartY=n.clientY,(c=o.start)==null||c.call(o,{originalEvent:t,...o})}function m(t,o){var c;const n=t.changedTouches[0];o.touchendX=n.clientX,o.touchendY=n.clientY,(c=o.end)==null||c.call(o,{originalEvent:t,...o}),f(o)}function X(t,o){var c;const n=t.changedTouches[0];o.touchmoveX=n.clientX,o.touchmoveY=n.clientY,(c=o.move)==null||c.call(o,{originalEvent:t,...o})}function Y(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:n=>l(n,o),touchend:n=>m(n,o),touchmove:n=>X(n,o)}}function a(t,o){var h;const n=o.value,c=n!=null&&n.parent?t.parentElement:t,u=(n==null?void 0:n.options)??{passive:!0},e=(h=o.instance)==null?void 0:h.$.uid;if(!c||e===void 0)return;const s=Y(o.value);c._touchHandlers=c._touchHandlers??Object.create(null),c._touchHandlers[e]=s,i(s).forEach(d=>{c.addEventListener(d,s[d],u)})}function v(t,o){var e,s;const n=(e=o.value)!=null&&e.parent?t.parentElement:t,c=(s=o.instance)==null?void 0:s.$.uid;if(!(n!=null&&n._touchHandlers)||c===void 0)return;const u=n._touchHandlers[c];i(u).forEach(h=>{n.removeEventListener(h,u[h])}),delete n._touchHandlers[c]}const E={mounted:a,unmounted:v};export{E as T};
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.