PageSourceSearch

https://www.leistonfc.co.uk/_next/static/chunks/359-73516c0bb9b1e425.js

js leistonfc.co.uk collected 2026-09-25 01:20:50 UTC 12,754 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9c33a609-1f47-53e1-bdf8-4231538d7573")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[359],{9681:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var o=n(14232);let r=function(t){var e=t.className,n=t.maxWidth,r=t.type,i=t.children;return o.createElement("div",{className:void 0===e?null:e,style:{maxWidth:n,textOverflow:void 0===r?"ellipsis":r,overflowX:"hidden",whiteSpace:"nowrap"}},i)}},26269:(t,e,n)=>{"use strict";var o=n(99680),r={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,i,a,s,c,u,l,p,h=!1;e||(e={}),a=e.debug||!1;try{if(c=o(),u=document.createRange(),l=document.getSelection(),(p=document.createElement("span")).textContent=t,p.ariaHidden="true",p.style.all="unset",p.style.position="fixed",p.style.top=0,p.style.clip="rect(0, 0, 0, 0)",p.style.whiteSpace="pre",p.style.webkitUserSelect="text",p.style.MozUserSelect="text",p.style.msUserSelect="text",p.style.userSelect="text",p.addEventListener("copy",function(n){if(n.stopPropagation(),e.format)if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=r[e.format]||r.default;window.clipboardData.setData(o,t)}else n.clipboardData.clearData(),n.clipboardData.setData(e.format,t);e.onCopy&&(n.preventDefault(),e.onCopy(n.clipboardData))}),document.body.appendChild(p),u.selectNodeContents(p),l.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");h=!0}catch(o){a&&console.error("unable to copy using execCommand: ",o),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),h=!0}catch(o){a&&console.error("unable to copy using clipboardData: ",o),a&&console.error("falling back to prompt"),n="message"in e?e.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=n.replace(/#{\s*key\s*}/g,i),window.prompt(s,t)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(u):l.removeAllRanges()),p&&document.body.removeChild(p),c()}return h}},45939:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var o=n(14232),r=n(94389),i=n(47753),a=n(60312),s=n(60178);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u=["radius"];function l(){return(l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(null,arguments)}function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}var h=function(t){var e=t.radius,n=function(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n={};for(var o in t)if(({}).hasOwnProperty.call(t,o)){if(-1!==e.indexOf(o))continue;n[o]=t[o]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],-1===e.indexOf(n)&&({}).propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(t,u),r=(0,s.Kn)(n),h=r.style;return o.createElement(a.A,l({},r,{hasLoaded:!1}),o.createElement(i.A,{height:"100%",width:"100%",radius:void 0===e?null:e,style:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach(function(e){var o,r,i;o=t,r=e,i=n[e],(r=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=c(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
3(t,"string");return"symbol"==c(e)?e:e+""}(r))in o?Object.defineProperty(o,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({position:"absolute",top:0,left:0},h)}))};h.displayName="ShimmerImage";let d=(0,r.A)(h)},50582:(t,e,n)=>{"use strict";n.d(e,{uh:()=>u});var o=n(14232);let r={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},i={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},a="mousemove",s="mouseup";function c(t,e){if(0===e)return t;let n=Math.PI/180*e;return[t[0]*Math.cos(n)+t[1]*Math.sin(n),t[1]*Math.cos(n)-t[0]*Math.sin(n)]}function u(t){var e,n,u;let l,{trackMouse:p}=t,h=o.useRef(Object.assign({},i)),d=o.useRef(Object.assign({},r)),f=o.useRef(Object.assign({},d.current));for(l in f.current=Object.assign({},d.current),d.current=Object.assign(Object.assign({},r),t),r)void 0===d.current[l]&&(d.current[l]=r[l]);let[g,v]=o.useMemo(()=>(function(t,e){let n=e=>{let n="touches"in e;n&&e.touches.length>1||t((t,r)=>{r.trackMouse&&!n&&(document.addEventListener(a,o),document.addEventListener(s,l));let{clientX:u,clientY:p}=n?e.touches[0]:e,h=c([u,p],r.rotationAngle);return r.onTouchStartOrOnMouseDown&&r.onTouchStartOrOnMouseDown({event:e}),Object.assign(Object.assign(Object.assign({},t),i),{initial:h.slice(),xy:h,start:e.timeStamp||0})})},o=e=>{t((t,n)=>{var o,i,a,s;let u="touches"in e;if(u&&e.touches.length>1)return t;if(e.timeStamp-t.start>n.swipeDuration)return t.swiping?Object.assign(Object.assign({},t),{swiping:!1}):t;let{clientX:l,clientY:p}=u?e.touches[0]:e,[h,d]=c([l,p],n.rotationAngle),f=h-t.xy[0],g=d-t.xy[1],v=Math.abs(f),b=Math.abs(g),m=(e.timeStamp||0)-t.start,y=Math.sqrt(v*v+b*b)/(m||1),w=[f/(m||1),g/(m||1)],O=(o=v,i=b,a=f,s=g,o>i?a>0?"Right":"Left":s>0?"Down":"Up"),S="number"==typeof n.delta?n.delta:n.delta[O.toLowerCase()]||r.delta;if(v<S&&b<S&&!t.swiping)return t;let j={absX:v,absY:b,deltaX:f,deltaY:g,dir:O,event:e,first:t.first,initial:t.initial,velocity:y,vxvy:w};j.first&&n.onSwipeStart&&n.onSwipeStart(j),n.onSwiping&&n.onSwiping(j);let D=!1;return(n.onSwiping||n.onSwiped||n[`onSwiped${O}`])&&(D=!0),D&&n.preventScrollOnSwipe&&n.trackTouch&&e.cancelable&&e.preventDefault(),Object.assign(Object.assign({},t),{first:!1,eventData:j,swiping:!0})})},u=e=>{t((t,n)=>{let o;if(t.swiping&&t.eventData){if(e.timeStamp-t.start<n.swipeDuration){o=Object.assign(Object.assign({},t.eventData),{event:e}),n.onSwiped&&n.onSwiped(o);let r=n[`onSwiped${o.dir}`];r&&r(o)}}else n.onTap&&n.onTap({event:e});return n.onTouchEndOrOnMouseUp&&n.onTouchEndOrOnMouseUp({event:e}),Object.assign(Object.assign(Object.assign({},t),i),{eventData:o})})},l=t=>{document.removeEventListener(a,o),document.removeEventListener(s,l),u(t)},p=(t,e)=>{let i=()=>{};if(t&&t.addEventListener){let a=Object.assign(Object.assign({},r.touchEventOptions),e.touchEventOptions),s=[["touchstart",n,a],["touchmove",o,Object.assign(Object.assign({},a),e.preventScrollOnSwipe?{passive:!1}:{})],["touchend",u,a]];s.forEach(([e,n,o])=>t.addEventListener(e,n,o)),i=()=>s.forEach(([e,n])=>t.removeEventListener(e,n))}return i},h={ref:e=>{null!==e&&t((t,n)=>{if(t.el===e)return t;let o={};return t.el&&t.el!==e&&t.cleanUpTouch&&(t.cleanUpTouch(),o.cleanUpTouch=void 0),n.trackTouch&&e&&(o.cleanUpTouch=p(e,n)),Object.assign(Object.assign(Object.assign({},t),{el:e}),o)})}};return e.trackMouse&&(h.onMouseDown=n),[h,p]})(t=>h.current=t(h.current,d.current),{trackMouse:p}),[p]);return e=h.current,n=d.current,u=f.current,h.current=n.trackTouch&&e.el?e.cleanUpTouch?n.preventScrollOnSwipe!==u.preventScrollOnSwipe||n.touchEventOptions.passive!==u.touchEventOptions.passive?(e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:v(e.el,n)})):e:Object.assign(Object.assign({},e),{cleanUpTouch:v(e.el,n)}):(e.cleanUpTouch&&e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:void 0})),g}},61572:(t,e,n)=>{"use strict";var o=function(t){return t&&"object"==typeof t&&"default"in t?t.default:t}(n(14232)),r=!1;"undefined"!=typeof window&&(r="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch);var i=r,a={borderRadius:"inherit",height:"100%",left:0,position:"absolute",top:0,width:"100%"};function s(t,e,n,o){return n*((t=t/o-1)*t*t*t*t+1)+e}var c=Math.sqrt(2),u=Math.cos,l=Math.max,p=Math.min;function h(t){return p(t.duration,Date.now()-t.mouseDown)}function d(t){return 0<t.mouseUp?Date.now()-t.mouseUp:0}function f(t){var e=t.duration,n=t.radius;return l(0,.85*s(h(t),0,n,e)+.15*s(d(t),0,n,e)+.02*n*u(Date.now()/e))}function g(t,e){return s(d(t),e,-e,t.duration)}var v=function(t){var e=t.mouseUp,n=t.duration;return!e||Date.now()-e<n};function b(){for(var t=arguments,e={},n=0;n<arguments.length;n++){var o=t[n];if(o)for(var r in o)e[r]=o[r]}return e}var m=2*Math.PI,y=function(t){function e(e){var n,o,r,i,a;t.apply(this,arguments),this.state={color:"transparent",density:1,height:0,store:(n=this.tick.bind(this),r=[],i=!1,a={each:function(t,e){for(var n=0,o=r.length;n<o;n++)t.call(e,r[n])},play:function(){i||(i=!0,a.update())},stop:function(){i=!1,cancelAnimationFrame(o)},getTotalOpacity:function(t){for(var e,n=0,o=0,i=r.length;o<i;o++)n+=p(g(e=r[o],t),s(h(e),0,.3,3*e.duration));return n},update:function(){(r=r.filter(v)).length?o=requestAnimationFrame(a.update):a.stop(),n()},add:function(t){r.push(t),a.play()},release:function(t){for(var e=r.length-1;0<=e;
3e--)if(!r[e].mouseUp)return r[e].mouseUp=t}}),width:0},this.touchEvents=this.touchEvents()}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.touchEvents=function(){return this.props.hasTouch?{onTouchStart:this.t.bind(this),onTouchEnd:this.n.bind(this),onTouchCancel:this.n.bind(this)}:{onMouseDown:this.t.bind(this),onMouseUp:this.n.bind(this),onMouseLeave:this.n.bind(this)}},e.prototype.tick=function(){var t=this.state,e=t.ctx,n=t.color,o=t.density,r=t.height,i=t.width,a=t.store;e.save(),e.scale(o,o),e.clearRect(0,0,i,r),e.fillStyle=n,this.props.background&&(e.globalAlpha=a.getTotalOpacity(this.props.opacity),e.fillRect(0,0,i,r)),a.each(this.makeBlot,this),e.restore()},e.prototype.makeBlot=function(t){var e=this.state,n=e.ctx,o=e.height,r=e.width,i=t.x,a=t.y,s=t.radius;if(n.globalAlpha=g(t,this.props.opacity),n.beginPath(),this.props.recenter){var u=Math.max(o,r);i+=p(1,f(t)/u*2/c)*(r/2-t.x),a+=p(1,f(t)/u*2/c)*(o/2-t.y)}n.arc(i,a,s*(f(t)/t.radius),0,m),n.closePath(),n.fill()},e.prototype.componentWillUnmount=function(){this.state.store.stop()},e.prototype.pushBlot=function(t,e,n){var o=this,r=this.canvas;r.getDOMNode&&"function"==typeof r.getDOMNode&&(r=r.getDOMNode());var i=r.getBoundingClientRect(),a=i.top,s=i.bottom,c=i.left,u=i.right,h=window.getComputedStyle(r).color,d=this.state.ctx||r.getContext("2d"),f=(window.devicePixelRatio||1)/(d.webkitBackingStorePixelRatio||d.mozBackingStorePixelRatio||d.msBackingStorePixelRatio||d.oBackingStorePixelRatio||d.backingStorePixelRatio||1),g=s-a,v=u-c,b=this.props.radius||p(.6*l(g,v));this.setState({color:h,ctx:d,density:f,height:g,width:v},function(){o.state.store.add({duration:o.props.duration,mouseDown:t,mouseUp:0,radius:b,x:e-c,y:n-a})})},e.prototype.setCanvas=function(t){this.canvas=t},e.prototype.render=function(){var t=this.state,e=t.density,n=t.height,r=t.width,i=this.props,s=i.className,c=i.style,u=b({"aria-hidden":!0,className:s,ref:this.setCanvas.bind(this),height:n*e,width:r*e,onDragOver:this.n.bind(this),style:b(a,c)},this.touchEvents);return o.createElement("canvas",u)},e.prototype.t=function(t){var e=t.button,n=t.ctrlKey,o=t.clientX,r=t.clientY,i=t.changedTouches,a=Date.now();if(i)for(var s=0;s<i.length;s++){var c=i[s],u=c.clientX,l=c.clientY;this.pushBlot(a,u,l)}else 0!==e||n||this.pushBlot(a,o,r)},e.prototype.n=function(){this.state.store.release(Date.now())},e}(o.PureComponent);y.defaultProps={background:!0,className:"ink",duration:1e3,opacity:.25,recenter:!0,hasTouch:i},t.exports=y},99680:t=>{t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],o=0;o<t.rangeCount;o++)n.push(t.getRangeAt(o));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach(function(e){t.addRange(e)}),e&&e.focus()}}}}]);
4//# debugId=9c33a609-1f47-53e1-bdf8-4231538d7573

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.