PageSourceSearch

https://qparents.qld.edu.au/chunk-I67WDF7J.js

js qparents.qld.edu.au collected 2026-09-24 13:55:06 UTC 708 bytes, 1 lines download raw bytes

1import{a}from"./chunk-4WFVMWDK.js";import{c as p}from"./chunk-M2X7KQLB.js";import{m}from"./chunk-L7HKPRYE.js";import"./chunk-C5RQ2IC2.js";import"./chunk-24IZEI4V.js";var x=(n,g,f,X,w)=>{let c=n.ownerDocument.defaultView,o=a(n),v=t=>{let{startX:e}=t;return o?e>=c.innerWidth-50:e<=50},l=t=>o?-t.deltaX:t.deltaX,y=t=>o?-t.velocityX:t.velocityX;return p({el:n,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:t=>(o=a(n),v(t)&&g()),onStart:f,onMove:t=>{let e=l(t)/c.innerWidth;X(e)},onEnd:t=>{let s=l(t),e=c.innerWidth,r=s/e,i=y(t),D=e/2,u=i>=0&&(i>.2||s>D),d=(u?1-r:r)*e,h=0;if(d>5){let M=d/Math.abs(i);h=Math.min(M,540)}w(u,r<=0?.01:m(0,r,.9999),h)}})};export{x as createSwipeBackGesture};

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.