PageSourceSearch

https://canalrivertrust.org.uk/build/3891.3bc9a397.js

js canalrivertrust.org.uk collected 2026-10-01 10:14:36 UTC 3,890 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1859,2088,3891,5373,7325],{3891:function(n,t,e){e.d(t,{default:function(){return i}});var u=e(96540),r=e(49045),o=e(81859);function i(){return(0,r.A)("(min-width: 1180px)")?u.createElement(o.default,null):null}},81859:function(n,t,e){e.d(t,{default:function(){return c}});var u=e(96540),r=e(15373),o=e(72088),i=e(77325);function c(){return u.createElement(u.Fragment,null,u.createElement(r.default,null),u.createElement(o.default,null),u.createElement(i.default,null))}},15373:function(n,t,e){e.d(t,{default:function(){return i}});var u=e(60377),r=e(53346);function o(n){const t=document.activeElement;(0,r.m0)(n,"Escape")&&(0,r.l0)(t)&&(0,r.qB)(t)&&(n.preventDefault(),document.activeElement.blur())}function i(){return(0,u.A)("keydown",o),null}},72088:function(n,t,e){e.d(t,{default:function(){return i}});var u=e(60377),r=e(53346);function o(n){const t=document.activeElement;if(!(0,r.m0)(n,"ArrowLeft")||!(0,r.l0)(t)||!(0,r.qB)(t))return;n.preventDefault();const e=(0,r.jQ)((0,r.xc)(t)),u=e.indexOf(t);e[(0,r.ts)(e,u)].focus()}function i(){return(0,u.A)("keydown",o),null}},77325:function(n,t,e){e.d(t,{default:function(){return i}});var u=e(60377),r=e(53346);function o(n){const t=document.activeElement;if(!(0,r.m0)(n,"ArrowRight")||!(0,r.l0)(t)||!(0,r.qB)(t))return;n.preventDefault();const e=(0,r.jQ)((0,r.xc)(t)),u=e.indexOf(t);e[(0,r.D3)(e,u)].focus()}function i(){return(0,u.A)("keydown",o),null}},53346:function(n,t,e){e.d(t,{Cb:function(){return a},D3:function(){return f},jQ:function(){return c},l0:function(){return A},m0:function(){return p},nk:function(){return m},pC:function(){return v},qB:function(){return s},r9:function(){return i},ts:function(){return l},xc:function(){return o}});const u=["menu-main","menu-explorers"],r=["menu","menubar"];function o(n){return r.includes(n.getAttribute("role"))?n:o(n.parentNode)}function i(n){const t=n.getAttribute("class");return"menu_level_1"===t?1:"menu_level_2"===t?2:i(n.parentNode)}function c(n){const t=n.getAttribute("id");return Array.from(n.parentNode.querySelectorAll(`#${t} > li > [role=menuitem], #${t} > ul > li > div > [role=menuitem]`))}function f(n,t){const e=t+1;return e>n.length-1?0:e}function l(n,t){const e=t-1;return e<0?n.length-1:e}function d(n){return n&&"NAV"!==n.nodeName?d(n.parentNode):n}function a(n){return(n=d(n))?n.querySelector("ul"):null}function m(n){var t;return u.includes(null===(t=a(n))||void 0===t?void 0:t.getAttribute("id"))}function s(n){const t=a(n);return"menubar"===t.getAttribute("role")&&!u.includes(t.getAttribute("id"))}function v(n){var t;return"menu-footer"===(null===(t=a(n))||void 0===t?void 0:t.getAttribute("id"))}function A(n){return"menuitem"===n.getAttribute("role")}function p(n,t){return n.key===t}},2739:function(n,t,e){e.d(t,{AU:function(){return r},Bd:function(){return o},on:function(){return u}});function u(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];n&&n.addEventListener&&n.addEventListener.apply(n,t)}function r(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];n&&n.removeEventListener&&n.removeEventListener.apply(n,t)}var o="undefined"!=typeof window},60377:function(n,t,e){var u=e(96540),r=e(2739),o=r.Bd?window:null,i=function(n){return!!n.addEventListener},c=function(n){return!!n.on};t.A=function(n,t,e,f){void 0===e&&(e=o),(0,u.useEffect)((function(){if(t&&e)return i(e)?(0,r.on)(e,n,t,f):c(e)&&e.on(n,t,f),function(){i(e)?(0,r.AU)(e,n,t,f):c(e)&&e.off(n,t,f)}}),[n,t,e,JSON.stringify(f)])}},49045:function(n,t,e){var u=e(96540),r=e(2739);t.A=function(n,t){var e=(0,u.useState)(function(n,t){return void 0!==t?t:!!r.Bd&&window.matchMedia(n).matches}(n,t)),o=e[0],i=e[1];return(0,u.useEffect)((function(){var t=!0,e=window.matchMedia(n),u=function(){t&&i(!!e.matches)};return e.addListener(u),i(e.matches),function(){t=!1,e.removeListener(u)}}),[n]),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.