PageSourceSearch

https://www.rspcaassured.org.uk/_next/static/chunks/1664-9a3521134…?dpl=dpl_41V69iVqDFrW7zcJwFEhKgE1DwL8

js rspcaassured.org.uk collected 2026-10-02 11:07:10 UTC 10,000 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1664],{7086:(t,i,e)=>{"use strict";e.d(i,{G:()=>a});var r=e(39781),n=e(33670);let o=(t,i)=>{let e=t.quality(i.quality||75).fit("clip");return null!==i.width?e.width(i.width):e};function a(t,i,e){let a=(null==e?void 0:e.imageBuilder)||o;return(0,n.useMemo)(()=>{if(!i)return null;let e=i?"string"==typeof i?i:i.asset?i.asset._ref||i.asset._id:i._ref||i._id||"":null;if(!e)return null;let n=function(t){let[i,e]=t.split("-")[2].split("x").map(t=>parseInt(t,10));return{width:i,height:e,aspectRatio:i/e}}(e),o=function(t,i){let e=t.crop;if(!e)return i;let{width:r,height:n}=i,o=r*(1-(e.left+e.right)),a=n*(1-(e.top+e.bottom));return{width:o,height:a,aspectRatio:o/a}}(i,n),h=a(r(t).image(i).auto("format"),{width:null,originalImageDimensions:n,croppedImageDimensions:o,quality:null}),s=h.options.width||(h.options.maxWidth?Math.min(h.options.maxWidth,o.width):o.width),u=h.options.height||(h.options.maxHeight?Math.min(h.options.maxHeight,o.height):Math.round(s/o.aspectRatio));return{loader:e=>{let{width:h,quality:s}=e;return a(r(t).image(i).auto("format"),{width:h,originalImageDimensions:n,croppedImageDimensions:o,quality:s||null}).url()||""},src:h.url(),width:s,height:u}},[a,i,t])}},15239:(t,i,e)=>{"use strict";e.d(i,{default:()=>n.a});var r=e(54652),n=e.n(r)},39781:function(t){t.exports=function(){function t(t,i){(null==i||i>t.length)&&(i=t.length);for(var e=0,r=Array(i);e<i;e++)r[e]=t[e];return r}function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var i=1;i<arguments.length;i++){var e=arguments[i];for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(null,arguments)}var e="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function r(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var n=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],o=["clip","crop","fill","fillmax","max","scale","min"],a=["top","bottom","left","right","center","focalpoint","entropy"],h=["format"],s=function(){function s(t,e){this.options=void 0,this.options=t?i({},t.options||{},e||{}):i({},e||{})}var u=s.prototype;return u.withOptions=function(e){var r=e.baseUrl||this.options.baseUrl,o={baseUrl:r};for(var a in e)e.hasOwnProperty(a)&&(o[function(i){for(var e,r=function(i,e){var r="undefined"!=typeof Symbol&&i[Symbol.iterator]||i["@@iterator"];if(r)return(r=r.call(i)).next.bind(r);if(Array.isArray(i)||(r=function(i,e){if(i){if("string"==typeof i)return t(i,void 0);var r=({}).toString.call(i).slice(8,-1);return"Object"===r&&i.constructor&&(r=i.constructor.name),"Map"===r||"Set"===r?Array.from(i):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(i,e):void 0}}(i))){r&&(i=r);var n=0;return function(){return n>=i.length?{done:!0}:{done:!1,value:i[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(e=r()).done;){var o=e.value,a=o[0],h=o[1];if(i===a||i===h)return a}return i}(a)]=e[a]);return new s(this,i({baseUrl:r},o))},u.image=function(t){return this.withOptions({source:t})},u.dataset=function(t){return this.withOptions({dataset:t})},u.projectId=function(t){return this.withOptions({projectId:t})},u.bg=function(t){return this.withOptions({bg:t})},u.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},u.width=function(t){return this.withOptions({width:t})},u.height=function(t){return this.withOptions({height:t})},u.focalPoint=function(t,i){return this.withOptions({focalPoint:{x:t,y:i}})},u.maxWidth=function(t){return this.withOptions({maxWidth:t})},u.minWidth=function(t){return this.withOptions({minWidth:t})},u.maxHeight=function(t){return this.withOptions({maxHeight:t})},u.minHeight=function(t){return this.withOptions({minHeight:t})},u.size=function(t,i){return this.withOptions({width:t,height:i})},u.blur=function(t){return this.withOptions({blur:t})},u.sharpen=function(t){return this.withOptions({sharpen:t})},u.rect=function(t,i,e,r){return this.withOptions({rect:{left:t,top:i,width:e,height:r}})},u.format=function(t){return this.withOptions({format:t})},u.invert=function(t){return this.withOptions({invert:t})},u.orientation=function(t){return this.withOptions({orientation:t})},u.quality=function(t){return this.withOptions({quality:t})},u.forceDownload=function(t){return this.withOptions({download:t})},u.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},u.flipVertical=function(){return this.withOptions({flipVertical:!0})},u.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},u.fit=function(t){if(-1===o.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},u.crop=function(t){if(-1===a.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},u.saturation=function(t){return this.withOptions({saturation:t})},u.auto=function(t){if(-1===h.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},u.pad=function(t){return this.withOptions({pad:t})},u.vanityName=function(t){return this.withOptions({vanityName:t})},u.frame=function(t){if(1!==t)throw Error('Invalid frame value "'+t+'"');return this.withOptions({frame:t})},u.url=function(){return function(t){var o=i({},t||{}),a=o.source;delete o.source;var h=function(t){var e,n;if(!t)return null;if("string"==typeof t&&(n=t,/^https?:\/\//.test(""+n)))e={asset:{_ref:r(t)}};else if("string"==typeof t)e={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)e={asset:t};else if(t&&"string"==typeof t._id)e={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)e={asset:{_ref:r(t.asset.url)}};else{if("object"!=typeof t.asset)return null;e=i({},t)}return t.crop&&(e.crop=t.crop),t.hotspot&&(e.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var e=i({},t);return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}(e)}(a);if(!h){if(a&&"object"==typeof a&&null!==a&&a._upload&&(!a.asset||!a.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error("Unable to resolve image URL from source ("+JSON.stringify(a)+")")}var s=function(t){var i=t.split("-"),r=i[1],n=i[2],o=i[3];if(!r||!n||!o)throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+e+'".');
1var a=n.split("x"),h=a[0],s=a[1],u=+h,f=+s;if(!(isFinite(u)&&isFinite(f)))throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+e+'".');return{id:r,width:u,height:f,format:o}}(h.asset._ref||h.asset._id||""),u=Math.round(h.crop.left*s.width),f=Math.round(h.crop.top*s.height),p={left:u,top:f,width:Math.round(s.width-h.crop.right*s.width-u),height:Math.round(s.height-h.crop.bottom*s.height-f)},l=h.hotspot.height*s.height/2,c=h.hotspot.width*s.width/2,d=h.hotspot.x*s.width,g=h.hotspot.y*s.height;return o.rect||o.focalPoint||o.ignoreImageParams||o.crop||(o=i({},o,function(t,i){var e,r=i.width,n=i.height;if(!(r&&n))return{width:r,height:n,rect:t.crop};var o=t.crop,a=t.hotspot,h=r/n;if(o.width/o.height>h){var s=Math.round(o.height),u=Math.round(s*h),f=Math.max(0,Math.round(o.top)),p=Math.max(0,Math.round(Math.round((a.right-a.left)/2+a.left)-u/2));p<o.left?p=o.left:p+u>o.left+o.width&&(p=o.left+o.width-u),e={left:p,top:f,width:u,height:s}}else{var l=o.width,c=Math.round(l/h),d=Math.max(0,Math.round(o.left)),g=Math.max(0,Math.round(Math.round((a.bottom-a.top)/2+a.top)-c/2));g<o.top?g=o.top:g+c>o.top+o.height&&(g=o.top+o.height-c),e={left:d,top:g,width:l,height:c}}return{width:r,height:n,rect:e}}({crop:p,hotspot:{left:d-c,top:g-l,right:d+c,bottom:g+l}},o))),function(t){var i=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),e=t.vanityName?"/"+t.vanityName:"",r=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format+e,o=i+"/images/"+t.projectId+"/"+t.dataset+"/"+r,a=[];if(t.rect){var h=t.rect,s=h.left,u=h.top,f=h.width,p=h.height;(0!==s||0!==u||p!==t.asset.height||f!==t.asset.width)&&a.push("rect="+s+","+u+","+f+","+p)}t.bg&&a.push("bg="+t.bg),t.focalPoint&&(a.push("fp-x="+t.focalPoint.x),a.push("fp-y="+t.focalPoint.y));var l=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(l&&a.push("flip="+l),n.forEach(function(i){var e=i[0],r=i[1];void 0!==t[e]?a.push(r+"="+encodeURIComponent(t[e])):void 0!==t[r]&&a.push(r+"="+encodeURIComponent(t[r]))}),0===a.length)?o:o+"?"+a.join("&")}(i({},o,{asset:s}))}(this.options)},u.toString=function(){return this.url()},s}();return function(t){if(t&&"config"in t&&"function"==typeof t.config){var i=t.config(),e=i.apiHost,r=i.projectId,n=i.dataset;return new s(null,{baseUrl:(e||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:n})}if(t&&"clientConfig"in t&&"object"==typeof t.clientConfig){var o=t.clientConfig,a=o.apiHost,h=o.projectId,u=o.dataset;return new s(null,{baseUrl:(a||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:h,dataset:u})}return new s(null,t||{})}}()},54652:(t,i,e)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),!function(t,i){for(var e in i)Object.defineProperty(t,e,{enumerable:!0,get:i[e]})}(i,{default:function(){return s},getImageProps:function(){return h}});let r=e(28140),n=e(75040),o=e(81356),a=r._(e(71124));function h(t){let{props:i}=(0,n.getImgProps)(t,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,e]of Object.entries(i))void 0===e&&delete i[t];return{props:i}}let s=o.Image}}]);

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.