PageSourceSearch

https://www.ivybridge-today.co.uk/_next/static/chunks/2103.ab7eaf8b679a81e5.js

js ivybridge-today.co.uk collected 2026-09-25 04:57:44 UTC 8,284 bytes, 5 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2103],{9197:function(e,r,t){var i,n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,r,t,i){void 0===i&&(i=t);var n=Object.getOwnPropertyDescriptor(r,t);(!n||("get"in n?!r.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,i,n)}:function(e,r,t,i){void 0===i&&(i=t),e[i]=r[t]}),o=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),s=this&&this.__importStar||(i=function(e){return(i=Object.getOwnPropertyNames||function(e){var r=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[r.length]=t);return r})(e)},function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t=i(e),n=0;n<t.length;n++)"default"!==t[n]&&a(r,e,t[n]);return o(r,e),r}),l=this&&this.__rest||function(e,r){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>r.indexOf(i)&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>r.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(t[i[n]]=e[i[n]]);return t};Object.defineProperty(r,"__esModule",{value:!0});var c=s(t(95132)),d=t(22978),h=(0,t(69010).createAnimation)("BounceLoader","0% {transform: scale(0)} 50% {transform: scale(1.0)} 100% {transform: scale(0)}","bounce");r.default=function(e){var r=e.loading,t=e.color,i=void 0===t?"#000000":t,a=e.speedMultiplier,o=void 0===a?1:a,s=e.cssOverride,u=e.size,p=void 0===u?60:u,m=l(e,["loading","color","speedMultiplier","cssOverride","size"]),g=function(e){return{position:"absolute",height:(0,d.cssValue)(p),width:(0,d.cssValue)(p),backgroundColor:i,borderRadius:"100%",opacity:.6,top:0,left:0,animationFillMode:"both",animation:"".concat(h," ").concat(2.1/o,"s ").concat(1===e?"".concat(1/o,"s"):"0s"," infinite ease-in-out")}},f=n({display:"inherit",position:"relative",width:(0,d.cssValue)(p),height:(0,d.cssValue)(p)},void 0===s?{}:s);return void 0===r||r?c.createElement("span",n({style:f},m),c.createElement("span",{style:g(1)}),c.createElement("span",{style:g(2)})):null}},18298:(e,r,t)=>{t.d(r,{x:()=>i});let i=(e,r)=>{let t=e?.hero?.find(({type:e})=>"image"===e);return t?.data?.extra?.sizes?.[r]||""}},22978:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseLengthAndUnit=i,r.cssValue=function(e){var r=i(e);return"".concat(r.value).concat(r.unit)};var t={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function i(e){if("number"==typeof e)return{value:e,unit:"px"};var r,i=(e.match(/^[0-9.]*/)||"").toString();r=i.includes(".")?parseFloat(i):parseInt(i,10);var n=(e.match(/[^0-9]*$/)||"").toString();return t[n]?{value:r,unit:n}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(r,"px.")),{value:r,unit:"px"})}},42103:(e,r,t)=>{t.r(r),t.d(r,{default:()=>h});var i=t(66352);t(95132);var n=t(71924),a=t(44258);let o=n.Ay.div.withConfig({componentId:"sc-6d657b39-0"})(["display:grid;grid-template-columns:1fr 2fr;column-gap:12px;padding-bottom:31px;@media (max-width:","){grid-template-columns:1fr;padding-bottom:20px;.articles-wrapper{grid-template-columns:1fr 1fr;grid-gap:12px;column-gap:12px;padding-top:12px;}.image_wrapper{display:block;img{border-radius:16px 16px 0 0;width:100%;}}}"],a.KL.medium),s=n.Ay.div.withConfig({componentId:"sc-6d657b39-1"})(["display:grid;flex-direction:column;grid-template-columns:1fr 1fr;row-gap:12px;column-gap:12px;"]);n.Ay.div.withConfig({componentId:"sc-6d657b39-2"})(["display:flex;justify-content:flex-end;"]);var l=t(59955),c=t(16283),d=t(18298);let h=({data:e})=>{if(!e.articles||e.articles.every(e=>null===e))return null;let[r,...t]=e.articles;return(0,i.jsxs)(o,{className:"hero6-only",children:[(0,i.jsx)(l.A,{size:6,article:r,cropData:(0,d.x)(r,"threebytwo")}),(0,i.jsx)(s,{className:"articles-wrapper",children:t.map((e,r)=>(0,i.jsx)(c.A,{size:6,article:e,cropData:(0,d.x)(e,"fourbythree")},r))})]})}},59955:(e,r,t)=>{t.d(r,{A:()=>f});var i=t(66352),n=t(95132),a=t(36568),o=t(98445),s=t(57267),l=t(49360),c=t(59085),d=t(56542),h=t(62373),u=t
1(18706),p=t(9197),m=t.n(p),g=t(15769);let f=({article:e,size:r,cropData:t})=>{let{preview:p}=(0,n.useContext)(l.ok),{publication:f}=(0,n.useContext)(c.I);(0,n.useMemo)(()=>{try{return e?.hero?e?.hero[0].data.bundle:""}catch(e){return console.error("Error calculating heroType:",e),""}},[e]);let y=(0,n.useMemo)(()=>{let r=e?.hero?.filter(e=>"image"===e.type)[0];return r?r.data.url:(0,s.d)(e?.sections[0]?.name)},[e]),v=(0,n.useMemo)(()=>{try{return e?.hero?.some(e=>["video-youtube","dailymotion"].includes(e?.type))||!1}catch(e){return console.error("Error determining video type:",e),!1}},[e]),x=(0,n.useMemo)(()=>{try{return e?.hero?.some(e=>["gallery"].includes(e?.type))||!1}catch(e){return console.error("Error determining video type:",e),!1}},[e]),w=e?.hero&&e?.hero[1]&&e?.hero[1].data?e?.hero[1].data.url:(0,s.d)(e?.sections[0]?.name);e?.hero?.[0]?.data?.gallery?.[0]?.data?.url;let b=e?.titleShort,j=e?.lead,_=e?.path,O=e?.extra?.isBreakingNews,$=e?.hero?.[0]?.type==="dailymotion",N=(0,n.useMemo)(()=>{try{return e?.liveblog?.data?.status===1}catch(e){return console.error("Error determining if article is live:",e),!1}},[e]),M=(0,n.useMemo)(()=>{try{return e?.extra?.isShowSponsoredCapsule}catch(e){return console.error("Error determining if article is sponsored:",e),!1}},[e]),P=e?.hero?.[0]?.type==="video-youtube",A=(e,i)=>{let n=(0,u.ey)(t);switch(r){case 1:return i?`${e}?${n}width=380&height=285&crop=4:3`:`${e}?${n}width=950&height=713&crop=4:3`;case 2:case 3:return i?`${e}?${n}width=380&height=380&crop=1:1`:`${e}?${n}width=640&height=640&crop=1:1`;case 6:return i?`${e}?${n}width=380&height=253&crop=3:2`:`${e}?${n}width=640&height=427&crop=3:2`;default:return i?`${e}?${n}width=380&height=350&crop=380:350`:`${e}?${n}width=640&height=525&crop=640:525`}},E=1===r?{width:950,height:713}:2===r||3===r?{width:640,height:640}:6===r?{width:640,height:427}:{width:640,height:525};return e?(0,i.jsxs)(a.eI,{$size:r,children:[(0,i.jsxs)("a",{href:p?"#":_,children:[v&&(0,i.jsx)(a.hh,{children:(0,i.jsx)(h.gS,{})}),x&&(0,i.jsx)(a.hh,{children:(0,i.jsx)(g.A,{})}),N&&(0,i.jsxs)("span",{className:"live",children:[" ",(0,i.jsx)(m(),{size:"15px",color:"#C80015"})," ",(0,i.jsx)("p",{style:{marginLeft:6},children:"live"})]}),$||P?(0,i.jsx)("img",{alt:b||"image title",className:"hero_image",src:A(w,!1),width:E.width,height:E.height,loading:"eager",fetchPriority:"high"}):(0,i.jsx)("img",{alt:b||"image title",className:"hero_image",src:A(y,!1),srcSet:`
2          ${A(y,!0)}   540w,
3          ${A(y,!1)}   840w,
4
5      `,width:E.width,height:E.height,loading:"eager",fetchPriority:"high"})]}),(0,i.jsxs)("div",{className:"inner_wrapper",children:[(0,i.jsxs)("div",{className:"tab_wrapper",children:[O&&(0,i.jsx)("div",{className:"breaking_news",children:" Breaking news"}),M&&(0,i.jsx)("div",{className:"tab tab_sponsored",children:(0,i.jsx)("p",{children:"sponsored"})}),!M&&!O&&(0,i.jsx)(i.Fragment,{children:e.hierarchy.slice(-1).map((e,r)=>{let t=!!(0,d.Hh)(f,e.path);return(0,i.jsx)(n.Fragment,{children:(0,i.jsx)("a",{className:`tab${t?" tab_branded":""}`,href:p?"#":e.path,children:(0,i.jsx)("div",{children:e.name},r)})},r)})})]}),(0,i.jsx)("a",{style:{display:"flex"},href:p?"#":_,children:(0,i.jsx)("h1",{className:"title_wrapper",children:b})}),(0,i.jsx)("div",{className:"hero_body",children:(0,i.jsx)("a",{href:p?"#":_,children:(0,i.jsx)("div",{children:(0,o.Ay)(j)})})})]})]}):null}},69010:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.createAnimation=void 0,r.createAnimation=function(e,r,t){var i="react-spinners-".concat(e,"-").concat(t);if("u"<typeof window||!window.document)return i;var n=document.createElement("style");document.head.appendChild(n);var a=n.sheet,o="\n    @keyframes ".concat(i," {\n      ").concat(r,"\n    }\n  ");return a&&a.insertRule(o,0),i}}}]);

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.