PageSourceSearch

https://www.sown.co.uk/_next/static/chunks/vendor.8ecee1bb448b5f22.js

js sown.co.uk collected 2026-10-01 03:21:50 UTC 11,959 bytes, 1 lines download raw bytes

1(self["webpackChunk_N_E"]=self["webpackChunk_N_E"]||[]).push([[9610],{664:(t,e,n)=>{var i=n(78379);t.exports=new i},2129:(t,e,n)=>{var i=n(2221);var r=n(2525).each;function s(t,e){this.query=t;this.isUnconditional=e;this.handlers=[];this.mql=window.matchMedia(t);var n=this;this.listener=function(t){n.mql=t.currentTarget||t;n.assess()};this.mql.addListener(this.listener)}s.prototype={constuctor:s,addHandler:function(t){var e=new i(t);this.handlers.push(e);this.matches()&&e.on()},removeHandler:function(t){var e=this.handlers;r(e,function(n,i){if(n.equals(t)){n.destroy();return!e.splice(i,1)}})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,function(t){t.destroy()});this.mql.removeListener(this.listener);this.handlers.length=0},assess:function(){var t=this.matches()?"on":"off";r(this.handlers,function(e){e[t]()})}};t.exports=s},2221:t=>{function e(t){this.options=t;!t.deferSetup&&this.setup()}e.prototype={constructor:e,setup:function(){if(this.options.setup){this.options.setup()}this.initialised=true},on:function(){!this.initialised&&this.setup();this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}};t.exports=e},2525:t=>{function e(t,e){var n=0,i=t.length,r;for(n;n<i;n++){r=e(t[n],n);if(r===false){break}}}function n(t){return Object.prototype.toString.apply(t)==="[object Array]"}function i(t){return typeof t==="function"}t.exports={isFunction:i,isArray:n,each:e}},6603:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>a});var i=n(70317);var r=false;var s=false;try{var o={get passive(){return r=true},get once(){return s=r=true}};if(i.A){window.addEventListener("test",o,o);window.removeEventListener("test",o,true)}}catch(t){}function c(t,e,n,i){if(i&&typeof i!=="boolean"&&!s){var o=i.once,c=i.capture;var a=n;if(!s&&o){a=n.__once||function t(i){this.removeEventListener(e,t,c);n.call(this,i)};n.__once=a}t.addEventListener(e,a,r?i:c)}t.addEventListener(e,n,i)}const a=c},9172:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(73666);var r=n(22405);function s(t,e,n,i){if(n===void 0){n=false}if(i===void 0){i=true}if(t){var r=document.createEvent("HTMLEvents");r.initEvent(e,n,i);t.dispatchEvent(r)}};function o(t){var e=(0,i.A)(t,"transitionDuration")||"";var n=e.indexOf("ms")===-1?1e3:1;return parseFloat(e)*n}function c(t,e,n){if(n===void 0){n=5}var i=false;var o=setTimeout(function(){if(!i)s(t,"transitionend",true)},e+n);var c=(0,r.A)(t,"transitionend",function(){i=true},{once:true});return function(){clearTimeout(o);c()}}function a(t,e,n,i){if(n==null)n=o(t)||0;var s=c(t,n,i);var a=(0,r.A)(t,"transitionend",e);return function(){s();a()}}},15352:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});function i(t){return t&&t.ownerDocument||document}},22405:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6603);var r=n(72906);function s(t,e,n,s){(0,i.Ay)(t,e,n,s);return function(){(0,r.A)(t,e,n,s)}}const o=s},23718:t=>{"use strict";var e=function(t,e,n,i,r,s,o,c){if(false){}if(!t){var a;if(e===undefined){a=new Error("Minified exception occurred; use the non-minified dev environment "+"for the full error message and additional helpful warnings.")}else{var u=[n,i,r,s,o,c];var f=0;a=new Error(e.replace(/%s/g,function(){return u[f++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a}};t.exports=e},31357:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(42222);function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,i.A)(t,e)}},34563:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(43514);function r(t,e){if(t.classList)t.classList.add(e);else if(!(0,i.A)(t,e))if(typeof t.className==="string")t.className=t.className+" "+e;else t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e)}},34857:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(70317);var r;function s(t){if(!r&&r!==0||t){if(i.A){var e=document.createElement("div");e.style.position="absolute";e.style.top="-9999px";e.style.width="50px";e.style.height="50px";e.style.overflow="scroll";document.body.appendChild(e);r=e.offsetWidth-e.clientWidth;document.body.removeChild(e)}}return r}},42222:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});
1function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}},43514:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});function i(t,e){if(t.classList)return!!e&&t.classList.contains(e);return(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")!==-1}},46218:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});function i(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function r(t,e){if(t.classList){t.classList.remove(e)}else if(typeof t.className==="string"){t.className=i(t.className,e)}else{t.setAttribute("class",i(t.className&&t.className.baseVal||"",e))}}},46320:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(15352);function r(t){if(t===void 0){t=(0,i.A)()}try{var e=t.activeElement;if(!e||!e.nodeName)return null;return e}catch(e){return t.body}}},51703:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});function i(t,e){if(t.contains)return t.contains(e);if(t.compareDocumentPosition)return t===e||!!(t.compareDocumentPosition(e)&16)}},70317:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=!!(typeof window!=="undefined"&&window.document&&window.document.createElement)},72906:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});function i(t,e,n,i){var r=i&&typeof i!=="boolean"?i.capture:i;t.removeEventListener(e,n,r);if(n.__once){t.removeEventListener(e,n.__once,r)}}const r=i},73666:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});var i=n(15352);function r(t){var e=(0,i.A)(t);return e&&e.defaultView||window};function s(t,e){return r(t).getComputedStyle(t,e)};var o=/([A-Z])/g;function c(t){return t.replace(o,"-$1").toLowerCase()};var a=/^ms-/;function u(t){return c(t).replace(a,"-ms-")};var f=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function l(t){return!!(t&&f.test(t))};function d(t,e){var n="";var i="";if(typeof e==="string"){return t.style.getPropertyValue(u(e))||s(t).getPropertyValue(u(e))}Object.keys(e).forEach(function(r){var s=e[r];if(!s&&s!==0){t.style.removeProperty(u(r))}else if(l(r)){i+=r+"("+s+") "}else{n+=u(r)+": "+s+";"}});if(i){n+="transform: "+i+";"}t.style.cssText+=";"+n}const p=d},78379:(t,e,n)=>{var i=n(2129);var r=n(2525);var s=r.each;var o=r.isFunction;var c=r.isArray;function a(){if(!window.matchMedia){throw new Error("matchMedia n
1ot present, legacy browsers require a polyfill")}this.queries={};this.browserIsIncapable=!window.matchMedia("only all").matches}a.prototype={constructor:a,register:function(t,e,n){var r=this.queries,a=n&&this.browserIsIncapable;if(!r[t]){r[t]=new i(t,a)}if(o(e)){e={match:e}}if(!c(e)){e=[e]}s(e,function(e){if(o(e)){e={match:e}}r[t].addHandler(e)});return this},unregister:function(t,e){var n=this.queries[t];if(n){if(e){n.removeHandler(e)}else{n.clear();delete this.queries[t]}}return this}};t.exports=a},79630:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},i.apply(null,arguments)}},90578:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});function i(t){if(t.includes("?")){t=t.split("?")[0]}if(t.includes("/")){t=t.split("/")[0]}if(t.includes("&")){t=t.split("&")[0]}return t}function r(t){let e=t;e=e.replace("-nocookie","");e=e.replace(/#t=.*$/,"");e=e.replace(/^https?:\/\//,"");const n=/youtube:\/\/|youtu\.be\/|y2u\.be\//g;if(n.test(e)){const t=e.split(n)[1];return i(t)}const r=/\/shorts\//g;if(r.test(e)){return i(e.split(r)[1])}const s=/v=|vi=/g;if(s.test(e)){const t=e.split(s);return i(t[1].split("&")[0])}const o=/\/v\/|\/vi\/|\/watch\//g;if(o.test(e)){const t=e.split(o)[1];return i(t)}const c=/\/an_webp\//g;if(c.test(e)){const t=e.split(c)[1];return i(t)}const a=/\/e\//g;if(a.test(e)){const t=e.split(a)[1];return i(t)}const u=/\/embed\//g;if(u.test(e)){const t=e.split(u)[1];return i(t)}const f=/\/user\/([a-zA-Z\d]*)$/g;if(f.test(e)){return undefined}const l=/\/user\/(?!.*videos)/g;if(l.test(e)){const t=e.split("/");return i(t.pop())}const d=/\/attribution_link\?.*v%3D([^%&]*)(%26|&|$)/;if(d.test(e)){return i(e.match(d)[1])}const p=/\/live\//g;if(p.test(e)){const t=e.split(p)[1];return i(t)}return undefined}function s(t){let e=t;if(e.includes("#")){[e]=e.split("#")}if(e.includes("?")&&!e.includes("clip_id=")){[e]=e.split("?")}let n;let i;const r=/https?:\/\/vimeo\.com\/event\/(\d+)$/;const s=r.exec(e);if(s&&s[1]){return s[1]}const o=/https?:\/\/vimeo\.com\/(\d+)/;const c=o.exec(e);if(c&&c[1]){return c[1]}const a=["https?://player.vimeo.com/video/[0-9]+$","https?://vimeo.com/channels","groups","album"].join("|");const u=new RegExp(a,"gim");if(u.test(e)){i=e.split("/");if(i&&i.length>0){n=i.pop()}}else if(/clip_id=/gim.test(e)){i=e.split("clip_id=");if(i&&i.length>0){[n]=i[1].split("&")}}return n}function o(t){const e=/https:\/\/vine\.co\/v\/([a-zA-Z\d]*)\/?/;const n=e.exec(t);if(n&&n.length>1){return n[1]}return undefined}function c(t){let e;if(t.includes("embed")){e=/embed\/(\w{8})/;return t.match(e)[1]}e=/\/v\/(\w{8})/;const n=t.match(e);if(n&&n.length>0){return n[1]}return undefined}function a(t){const e=t.includes("embed")?/https:\/\/web\.microsoftstream\.com\/embed\/video\/([a-zA-Z\d-]*)\/?/:/https:\/\/web\.microsoftstream\.com\/video\/([a-zA-Z\d-]*)\/?/;const n=e.exec(t);if(n&&n.length>1){return n[1]}return undefined}function u(t){const e=/tiktok\.com(.*)\/video\/(\d+)/gm;const n=e.exec(t);if(n&&n.length>2){return n[2]}return undefined}function f(t){const e=/dailymotion\.com(.*)(video)\/([a-zA-Z\d]+)/gm;const n=e.exec(t);if(n){return n[3]}const i=/dai\.ly\/([a-zA-Z\d]+)/gm;const r=i.exec(t);if(r&&r.length>1){return r[1]}const s=/dailymotion\.com(.*)video=([a-zA-Z\d]+)/gm;const o=s.exec(t);if(o&&o.length>2){return o[2]}return undefined}function l(t){const e=/^https?:\/\/(?:www\.)?loom\.com\/(?:share|embed)\/([\da-zA-Z]+)\/?/;const n=e.exec(t);if(n&&n.length>1){return n[1]}return undefined}function d(t){if(typeof t!=="string"){throw new TypeError("getSrc expected a string")}const e=/src="(.*?)"/gm;const n=e.exec(t);if(n&&n.length>=2){return n[1]}return undefined}function p(t){if(typeof t!=="string"){throw new TypeError(`sanitizeUrl expected a string, got ${typeof t}`)}let e=t;if(/<iframe/gi.test(e)){e=d(e)||""}e=e.trim();e=e.replace("/www.","/");return e}function m(t){if(typeof t!=="string"){throw new TypeError(`extractGoogleRedirectionUrl expected a string, got ${typeof t}`)}const e=t.trim();if(/\/\/google|www\.google/.test(e)){try{const e=new URL(t);const n=new URLSearchParams(e.search);const i=n.get("url");
1if(i){return decodeURIComponent(i)}}catch{return e}}return e}function v(t){if(typeof t!=="string"){throw new TypeError("get-video-id expects a string")}const e=p(t);const n=m(e);let i={id:undefined,service:undefined};if(/youtube|youtu\.be|y2u\.be|i.ytimg\./.test(n)){i={id:r(n),service:"youtube"}}else if(/vimeo/.test(n)){i={id:s(n),service:"vimeo"}}else if(/vine/.test(n)){i={id:o(n),service:"vine"}}else if(/videopress/.test(n)){i={id:c(n),service:"videopress"}}else if(/microsoftstream/.test(n)){i={id:a(n),service:"microsoftstream"}}else if(/tiktok\.com/.test(n)){i={id:u(n),service:"tiktok"}}else if(/(dailymotion\.com|dai\.ly)/.test(n)){i={id:f(n),service:"dailymotion"}}else if(/loom\.com/.test(n)){i={id:l(n),service:"loom"}}return i}},90610:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=Function.prototype.bind.call(Function.prototype.call,[].slice);function r(t,e){return i(t.querySelectorAll(e))}},93495:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});function i(t,e){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==e.indexOf(i))continue;n[i]=t[i]}return n}}}]);

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.