PageSourceSearch

https://thespinoff.co.nz/_next/static/chunks/7607-f4f002e43af549f3.js

js thespinoff.co.nz collected 2026-10-01 08:49:35 UTC 37,639 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7607],{38501:function(e,t,a){a.d(t,{RT:function(){return l}});const r=({fontSizePx:e,minFontSizePx:t,fontSizePrecisionPx:a,updateFontSizePx:r,breakPredicate:n})=>{const s=Math.ceil(1/a);let i=0;for(;e>t&&i<s&&!n();)e=r(e-a),i++},n=e=>{const t=getComputedStyle(e);return e.clientWidth-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)},s=e=>{const t=getComputedStyle(e);return e.clientHeight-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom)},i=({innerEl:e,containerEl:t,fontSizePx:a,minFontSizePx:s,maxFontSizePx:i,fontSizePrecisionPx:o,updateFontSizePx:l})=>{let c=0,u=1;for(;c<10;){const r=e.scrollWidth,d=n(t),m=a<i&&r<d,h=a>s&&r>d,g=r/d;if(u===g)break;if(!m&&!h)break;const f=a;if(a=l(a+(a/g-a)),Math.abs(a-f)<=o)break;u=g,c++}r({fontSizePx:a,minFontSizePx:s,updateFontSizePx:l,fontSizePrecisionPx:o,breakPredicate:()=>e.scrollWidth<=n(t)})};function o({innerEl:e,containerEl:t,mode:a="multiline",minFontSizePx:o=8,maxFontSizePx:l=160,fontSizePrecisionPx:c=.1}){const u=performance.now();if(!isFinite(o))throw new Error(`Invalid minFontSizePx (${o})`);if(!isFinite(o))throw new Error(`Invalid maxFontSizePx (${l})`);if(!isFinite(c)||0===c)throw new Error(`Invalid fontSizePrecisionPx (${c})`);t.children.length>1&&console.warn(`AutoTextSize has ${t.children.length-1} siblings. This may interfere with the algorithm.`);const d={display:"block"};"oneline"===a?d.whiteSpace="nowrap":"multiline"===a?d.wordBreak="break-word":"box"===a&&(d.whiteSpace="pre-wrap",d.wordBreak="break-word"),Object.assign(t.style,{display:"flex",alignItems:"start"}),Object.assign(e.style,d);const m=window.getComputedStyle(e,null).getPropertyValue("font-size");let h=parseFloat(m),g=0;const f=t=>(t=Math.min(Math.max(t,o),l),h=t,e.style.fontSize=`${h}px`,g++,h);(h>l||h<o)&&f(h);const p={innerEl:e,containerEl:t,fontSizePx:h,minFontSizePx:o,maxFontSizePx:l,fontSizePrecisionPx:c,updateFontSizePx:f};var x;"oneline"===a?i(p):"multiline"===a?((x=p).innerEl.style.whiteSpace="nowrap",i(x),x.innerEl.scrollWidth>n(x.containerEl)&&(x.innerEl.style.whiteSpace="normal")):"box"===a&&(({innerEl:e,containerEl:t,fontSizePx:a,minFontSizePx:i,maxFontSizePx:o,fontSizePrecisionPx:l,updateFontSizePx:c})=>{a=c(.5*(o-i));let u=.25*(o-i),d=0;for(;u>l&&d<100;){const r=e.scrollWidth,l=n(t),m=e.scrollHeight,h=s(t);if(r===l&&m===h)break;a<o&&r<=l&&m<=h?a=c(a+u):a>i&&(r>l||m>h)&&(a=c(a-u)),u*=.5,d++}r({fontSizePx:a,minFontSizePx:i,updateFontSizePx:c,fontSizePrecisionPx:l,breakPredicate:()=>e.scrollWidth<=n(t)&&e.scrollHeight<=s(t)})})(p);const b=performance.now(),v=Math.round(b-u);console.debug(`AutoTextSize ${a} ran ${g} iterations in ${v}ms`)}function l({innerEl:e,containerEl:t,mode:a,minFontSizePx:r,maxFontSizePx:i,fontSizePrecisionPx:l}){let c;const u=function(e){let t=!1;return()=>{t||(t=!0,requestAnimationFrame((()=>{e(),t=!1})))}}((()=>{o({innerEl:e,containerEl:t,mode:a,maxFontSizePx:i,minFontSizePx:r,fontSizePrecisionPx:l}),c=[n(t),s(t)]})),d=new ResizeObserver((()=>{const e=c;c=[n(t),s(t)],e?.[0]===c[0]&&e?.[1]===c[1]||u()}));return d.observe(t),u.disconnect=()=>d.disconnect(),u}a(67294)},5330:function(e,t,a){a.d(t,{Z:function(){return l}});var r=a(85893),n=a(38501),s=a(23279),i=a.n(s),o=a(67294);function l(e){var t,a=e.title,s=e.slug,l=e.sponsor,c=e.classNames,u=e.customScale,d=e.id,m=e.isTagPage,h=l&&(null===(t=l.logo)||void 0===t?void 0:t.replace("image://","https://")),g={min:u?u.min:20,max:u?u.max:60};return(0,o.useEffect)((function(){var e={innerEl:document.querySelector("#".concat(d||s,"-inner")),containerEl:document.querySelector("#".concat(d||s,"-header")),minFontSizePx:g.min,maxFontSizePx:g.max},t=function(){return(0,n.RT)(e)},a=i()((function(){t()}),100);return window.addEventListener("resize",a),t(),function(){window.removeEventListener("resize",a)}}),[d,s,g]),(0,r.jsxs)("header",{className:"headerTextOuter ".concat(c," ").concat(!l&&"nosponsor"),children:[(0,r.jsx)("a",{target:"_blank",href:"".concat(m?"/tags":"","/").concat(s),"aria-label":a,id:"".concat(d||s,"-header"),className:"categLink",children:(0,r.jsx)("h1",{id:"".concat(d||s,"-inner"),className:"headerText",children:a})}),l&&(0,r.jsx)("aside",{className:"headerSponsor",children:(0,r.jsxs)("a",{target:"_blank",href:l.url,children:[l.tagline?(0,r.jsx)("h4",{style:{minHeight:"10px"},children:"none"!==l.tagline&&l.tagline}):(0,r.jsx)("h4",{children:"Made Possible by"}),(0,r.jsx)("img",{src:h+"?w=300",alt:l.name})]})})]})}},67607:function(e,t,a){a.d(t,{X:function(){return q}});var r=a(85893),n=a(11163),s=a(24679),i=a(29815),o=a(94184),l=a.n(o),c=a(25231),u=a(39175),d=a(19357),m=a(5330),h=a(85784),g=a(30824),f=a(57321),p=a(96486),x=a.n(p),b=a(10646),v=a(41664),w=a.n(v),y=a(67294),j=a(76965),S=a(87728),_=a(24397),k=a(47568),N=a(14924),F=a(26042),P=a(69396),E=a(70655),T=a(90873),z=a(35384),C=a(26671),M=a(96309),Z=a(13e3);function O(e){switch(e){case"the-bulletin":default:return"the bulletin";case"the-daily":return"the daily";case"the-weekend":return"the weekend";case"rec-room":return"rec room";case"the-boil-up":return"the boil up";case"two-ticks":return"two ticks"}}function B(e){var t=_.L[O(e)];return(null===t||void 0===t?void 0:t["ac-id"])||e}function I(e){var t=_.L[O(e)];
1return(null===t||void 0===t?void 0:t.title)||e}function R(e){var t=e.slugs,a=(0,y.useContext)(h.w0),n=a.email,s=a.firstName,i=a.setEmail,o=(0,f.K)(),c=o.member,u=o.signIn,d=o.refreshMember,m=(0,z.n)().trackConversion,p=(0,g.u)().refreshSubscriptions,x=(0,y.useId)(),b=(0,y.useState)({}),v=b[0],w=b[1],j=(0,y.useState)(!1),S=j[0],_=j[1],R=(0,y.useState)(""),L=R[0],W=R[1],A=(0,y.useState)(""),H=A[0],q=A[1],$=(0,y.useState)(!1),U=$[0],V=$[1],J=(0,y.useState)(""),D=J[0],G=J[1],K=(0,y.useState)(""),Y=K[0],Q=K[1],X=(0,y.useMemo)((function(){return t.filter((function(e,t,a){return a.indexOf(e)===t}))}),[t]),ee=X.join("|");if((0,y.useEffect)((function(){var e=ee?ee.split("|"):[],t={},a=!0,r=!1,n=void 0;try{for(var s,i=e[Symbol.iterator]();!(a=(s=i.next()).done);a=!0){t[s.value]=!0}}catch(o){r=!0,n=o}finally{try{a||null==i.return||i.return()}finally{if(r)throw n}}w(t)}),[ee]),c)return null;function te(){return(te=(0,k.Z)((function(){var e,t,a,r,i,o,l,c,h,g,f,x,b,w,y,j,S,k,N,F;return(0,E.__generator)(this,(function(P){switch(P.label){case 0:if(0===(e=X.filter((function(e){return v[e]}))).length)return W("Please choose at least one newsletter."),[2];if(!n)return W("Please enter your email address."),[2];if(!/\S+@\S+\.\S+/.test(n))return W("Please enter a valid email address."),[2];if(U){if(!D||D.length<8)return W("Please choose a password of at least 8 characters."),[2];if(D!==Y)return W("Passwords do not match."),[2]}_(!0),W(""),t="",P.label=1;case 1:return P.trys.push([1,30,31,32]),a=(0,M.SD)(),r=a.utm_source||"matrix_bundle",[4,fetch("/api/tsom/members/check-user-exists-public",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n})})];case 2:return[4,P.sent().json()];case 3:return P.sent().exists?[3,8]:(i={email:n,firstName:s||n.split("@")[0],source:r},[4,fetch("/api/tsom/members/simple-registration-public",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})]);case 4:if(!(o=P.sent()).ok)throw new Error("Failed to create user");return[4,o.json()];case 5:return P.sent(),[4,fetch("/api/tsom/members/check-user-exists-public",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n})})];case 6:return[4,P.sent().json()];case 7:if(!P.sent().exists)return W("There was an error adding you to our system. Please try again later."),[2];P.label=8;case 8:return U?[4,fetch("/api/tsom/members/newsletter-signup-password-public",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n,password:D})})]:[3,17];case 9:return[4,(l=P.sent()).json()];case 10:if(c=P.sent(),!l.ok||!c.ok)return[3,16];P.label=11;case 11:return P.trys.push([11,14,,15]),[4,u(n,D)];case 12:return P.sent(),[4,d()];case 13:return P.sent(),G(""),Q(""),[3,15];case 14:return P.sent(),t="Your password was saved but we couldn't sign you in on this device\u2014please use Sign in.",[3,15];case 15:return[3,17];case 16:"oauth_account"===c.reason?t="This email uses Google, Apple, or Facebook sign-in\u2014use Sign in with that method.":"password_account_exists"===c.reason?t="This email already has a password. Sign in to access your account.":"account_link_mismatch"===c.reason?t="We couldn't link this email for a new password\u2014use Sign in or contact support.":l.ok&&c.ok||(t="We couldn't finish account setup\u2014try Sign in or reset password."),P.label=17;case 17:return(h=(0,C.getFirebaseAuth)().currentUser)?[4,h.getIdToken()]:[3,19];case 18:return f=P.sent(),[3,20];case 19:f=void 0,P.label=20;case 20:g=f,x=!0,b=!1,w=void 0,P.label=21;case 21:P.trys.push([21,26,27,28]),y=e[Symbol.iterator](),P.label=22;case 22:return(x=(j=y.next()).done)?[3,25]:(S=j.value,k=B(S),[4,T.default.newsletters().subscribeNewsletter(n,k,g,r)]);case 23:P.sent(),m({type:"newsletter_signup",label:O(S),newsletter_signup_location:"matrix_sidebar_bundle",email:n}),P.label=24;case 24:return x=!0,[3,22];case 25:return[3,28];case 26:return N=P.sent(),b=!0,w=N,[3,28];case 27:try{x||null==y.return||y.return()}finally{if(b)throw w}return[7];case 28:return[4,p()];case 29:return P.sent(),F=e.map((function(e){return I(e)})).join(" and "),q(t.trim()?"Thank you for subscribing to ".concat(F,"! ").concat(t.trim()):"Thank y
1ou for subscribing to ".concat(F,"!")),[3,32];case 30:return P.sent(),W("There was an error processing your request. Please try again."),[3,32];case 31:return _(!1),[7];case 32:return[2]}}))}))).apply(this,arguments)}return H?(0,r.jsx)("div",{className:"native-newsletter-signup card-layout matrix-bundle inline categ matrix",children:(0,r.jsx)("p",{className:"newsletter-info",children:H})}):(0,r.jsxs)(r.Fragment,{children:[L?(0,r.jsx)("p",{className:"newsletter-signup-error",children:L}):null,(0,r.jsxs)("div",{className:"native-newsletter-signup card-layout matrix-bundle inline categ matrix",children:[(0,r.jsxs)("div",{className:"newsletter-matrix-bundle-picks",children:[(0,r.jsx)("p",{className:"newsletter-matrix-bundle-label",children:"Subscribe"}),(0,r.jsx)("ul",{className:"newsletter-matrix-bundle-list",children:X.map((function(e){var t="".concat(x,"-matrix-bundle-pick-").concat(e),a=Boolean(v[e]);return(0,r.jsx)("li",{className:l()("newsletter-matrix-bundle-row",a&&"is-selected"),children:(0,r.jsxs)("label",{className:"newsletter-matrix-bundle-pick",htmlFor:t,children:[(0,r.jsx)("input",{id:t,type:"checkbox",checked:a,disabled:S,onChange:function(t){w((function(a){return(0,P.Z)((0,F.Z)({},a),(0,N.Z)({},e,t.target.checked))}))}}),(0,r.jsx)("span",{className:"newsletter-matrix-bundle-title",children:I(e)})]})},e)}))})]}),(0,r.jsxs)("div",{className:"newsletter-signup-fields",children:[(0,r.jsx)("input",{placeholder:"Enter your email",onChange:function(e){i(e.target.value)},required:!0,type:"email",name:"email",id:"".concat(x,"-email-newsletter-matrix-bundle"),className:"email-newsletter",value:n||"",disabled:S}),(0,r.jsxs)("div",{className:"newsletter-signup-account-block",children:[(0,r.jsxs)("label",{className:"newsletter-signup-account-option ".concat(S?"is-disabled":""),children:[(0,r.jsx)("input",{type:"checkbox",checked:U,disabled:S,onChange:function(e){var t=e.target.checked;V(t),t||(G(""),Q(""))}}),(0,r.jsx)("span",{className:"newsletter-signup-account-option-text",children:"Create a free account to manage my subscriptions."})]}),U?(0,r.jsxs)("div",{className:"newsletter-signup-account-passwords",children:[(0,r.jsx)("input",{type:"password",name:"new-password",autoComplete:"new-password",value:D,onChange:function(e){return G(e.target.value)},placeholder:"Password (8+ characters)","aria-label":"Password",disabled:S}),(0,r.jsx)("input",{type:"password",name:"confirm-password",autoComplete:"new-password",value:Y,onChange:function(e){return Q(e.target.value)},placeholder:"Confirm password","aria-label":"Confirm password",disabled:S})]}):null]})]}),(0,r.jsxs)(Z.Z,{className:"newsletter-cta primary",type:"button",onClick:function(){return function(){return te.apply(this,arguments)}()},loading:S,children:[(0,r.jsx)("span",{className:"plus-icon",children:"+"}),"Subscribe"]})]})]})}var L=["the-bulletin","the-daily","the-weekend","rec-room"];function W(e){switch(e){case"the-bulletin":default:return"the bulletin";case"the-daily":return"the daily";case"the-weekend":return"the weekend";case"rec-room":return"rec room";case"the-boil-up":return"the boil up";case"two-ticks":return"two ticks"}}var A=function(e){var t,a=e.category,s=e.posts,o=e.newsletterPosts,p=e.colourRow,v=e.isTagPage,k=(0,b.Vb)(),N=k.showBoilUp,F=k.showTwoTicks,P=(0,y.useMemo)((function(){var e=(0,i.Z)(L);return N&&e.push("the-boil-up"),F&&e.push("two-ticks"),e}),[N,F]),E=(0,n.useRouter)(),T=(0,f.K)().member,z=(0,g.u)(),C=z.subscriptions,M=z.isSubscribed,Z=C.map((function(e){return e.id})),O=function(e){if(!T)return!1;var t=_.L[W(e)],a=null===t||void 0===t?void 0:t["ac-id"];return!("string"!==typeof a||!a.trim())&&M(a)},B=a.sponsor,I=a.slug===E.query.category,A=[[{bgcolor:"#F5E0F7",textcolor:"#000000"},{bgcolor:"#FFFFFF",textcolor:"#000000"},{bgcolor:"#ECDB64",textcolor:"#000000"},{bgcolor:"#FF4E4B",textcolor:"#ffffff"}],[{bgcolor:"#325F3C",textcolor:"#ffffff"},{bgcolor:"#BDEAF2",textcolor:"#000000"},{bgcolor:"#FFFFFF",textcolor:"#000000"},{bgcolor:"#BAE2BE",textcolor:"#000000"}],[{bgcolor:"#0433FF",textcolor:"#ffffff"},{bgcolor:"#FFFFFF",textcolor:"#000000"},{bgcolor:"#FF4E4B",textcolor:"#ffffff"},{bgcolor:"#00FA82",textcolor:"#000000"}]],H=(0,y.useState)(""),q=H[0],$=H[1],U=(0,y.useState)([]),V=U[0],J=U[1],D=function(){var e=P.map((function(e){return{slug:e}}));if(!T||!(null===Z||void 0===Z?void 0:Z.length))return e;
1var t=e.filter((function(e){return!O(e.slug)}));return t.length>0?t:e},G=function(e){var t=new Set,a=[],r=!0,n=!1,s=void 0;try{for(var i,o=(null!==e&&void 0!==e?e:[])[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var l=i.value;(null===l||void 0===l?void 0:l.slug)&&!t.has(l.slug)&&(t.add(l.slug),a.push(l))}}catch(c){n=!0,s=c}finally{try{r||null==o.return||o.return()}finally{if(n)throw s}}return a},K=(0,y.useState)(0),Y=K[0],Q=K[1],X=(0,y.useRef)(x().debounce((function(e){return Q(e)}),300)),ee=X.current,te=(0,y.useState)(!1),ae=te[0],re=te[1],ne=(0,y.useState)(!1),se=ne[0],ie=ne[1],oe=(0,y.useState)(!1),le=oe[0],ce=oe[1];(0,y.useEffect)((function(){a&&$("matrix-".concat(a.slug))}),[null===a||void 0===a?void 0:a.slug]),(0,y.useEffect)((function(){return window.innerWidth>768&&ce(!0),function(){X.current.cancel()}}),[]),(0,y.useEffect)((function(){if(!T){var e=G(D());if(null===e||void 0===e?void 0:e.length)if(1!==e.length){for(var t=Math.floor(Math.random()*e.length),a=Math.floor(Math.random()*e.length),r=0;a===t&&r<50;)a=Math.floor(Math.random()*e.length),r+=1;a===t&&(a=(t+1)%e.length),J([e[t].slug,e[a].slug])}else J([e[0].slug]);else J([])}}),[T,P]);var ue,de,me=(0,y.useMemo)((function(){if(!T)return[];var e=[],t=[],a=!0,r=!1,n=void 0;try{for(var s,o=P[Symbol.iterator]();!(a=(s=o.next()).done);a=!0){var l=s.value,c=_.L[W(l)],u=null===c||void 0===c?void 0:c["ac-id"];("string"===typeof u&&""!==u.trim()&&M(u)?t:e).push(l)}}catch(d){r=!0,n=d}finally{try{a||null==o.return||o.return()}finally{if(r)throw n}}return(0,i.Z)(e).concat((0,i.Z)(t)).slice(0,3)}),[T,M,C,P]),he=T?me:V,ge=G(D()),fe=null!==(de=null!==(ue=he[0])&&void 0!==ue?ue:null===(t=ge[0])||void 0===t?void 0:t.slug)&&void 0!==de?de:"the-bulletin",pe=he.length>=2?he[1]:null,xe=(0,y.useMemo)((function(){return pe?[fe,pe]:[]}),[fe,pe]),be=he.length>=2;if(!s||!a)return null;var ve=s[0],we=s.slice(1,5),ye=s.slice(5,9),je=o&&o[fe]?o[fe]:"",Se=pe&&o&&o[pe]?o[pe]:"";return(0,r.jsxs)("div",{className:"outerWrap",children:[(0,r.jsxs)("section",{className:"matrixWrapper",id:q,children:[(0,r.jsx)(m.Z,{isTagPage:v,title:a.name,slug:a.slug,sponsor:B,classNames:"matrixHeader ".concat(I&&"self")}),(0,r.jsx)("section",{className:"col1 flexFeature",children:(0,r.jsx)(d.z,{active:ae,hover:se,setActive:re,setHover:ie,i:0,scale:1.02,orderCount:0,categSlug:null===a||void 0===a?void 0:a.slug,isMatrix:!1,post:ve,priorityImage:!0})}),(0,r.jsx)("section",{className:"col2 concertinaList",children:we.map((function(e,t){return le?(0,r.jsx)(c.v,{presetColours:A[p||0],i:t,expanded:Y,dbExp:ee,orderCount:t+2,categSlug:null===a||void 0===a?void 0:a.slug,isMatrix:!1,post:we[t]},"".concat(t,"-").concat(we[t].id)):(0,r.jsx)(u.y,{i:t,expanded:Y,dbExp:ee,orderCount:t+2,categSlug:null===a||void 0===a?void 0:a.slug,isMatrix:!1,post:we[t]},"".concat(t,"-").concat(we[t].id))}))}),(0,r.jsx)("aside",{className:"col3",children:(0,r.jsx)("section",{className:"newsletterSection",children:(0,r.jsx)("div",{className:"newsletter-surround newsletter-surround-matrix-pair",children:be?(0,r.jsx)(h.ir,{children:(0,r.jsxs)("div",{className:"multimedia-surround newsletter-multimedia newsletter-matrix-dual-host",children:[(0,r.jsx)(w(),{href:"/newsletters",children:(0,r.jsx)("a",{className:"multimediaTitle nl",children:"NEWSLETTERS"})}),T?(0,r.jsx)("div",{className:l()("newsletter-matrix-dual-cards",he.length>2&&"newsletter-matrix-dual-cards--quad-member"),children:he.map((function(e){return(0,r.jsx)(S.U,{matrix:!0,matrixPairChild:!0,wrapNewslettersProvider:!1,type:e,post:o&&o[e]?o[e]:"",isSubscribed:O(e)},e)}))}):(0,r.jsxs)("div",{className:"newsletter-matrix-guest-bundle",children:[(0,r.jsxs)("div",{className:"newsletter-matrix-dual-cards newsletter-matrix-dual-cards--visual",children:[(0,r.jsx)(S.U,{matrix:!0,matrixPairChild:!0,matrixVisualOnly:!0,wrapNewslettersProvider:!1,type:fe,post:je}),(0,r.jsx)(S.U,{matrix:!0,matrixPairChild:!0,matrixVisualOnly:!0,wrapNewslettersProvider:!1,type:he[1],post:Se})]}),(0,r.jsx)(R,{slugs:xe})]})]})}):(0,r.jsx)(S.U,{matrix:!0,type:fe,post:je,isSubscribed:O(fe)})})})})]}),(0,r.jsx)(j.L,{colourRow:p,posts:ye})]},q)},H=[{id:"matrix-business",name:"Business",slug:"business",lightOpinion:!1,titleImg:"business",newsletters:[{slug:"the-bulletin"}],pinnedPod:!1,podcasts:[{slug:"the-fold"},{slug:"business-is-boring"},{slug:"when-the-facts-change"}]}
1,{id:"matrix-kai",name:"Kai",slug:"kai",titleImg:"kai",lightOpinion:!0,newsletters:[{slug:"the-bulletin"}],pinnedPod:!1,podcasts:[{slug:"gone-by-lunchtime"},{slug:"business-is-boring"},{slug:"when-the-facts-change"},{slug:"ne"},{slug:"the-fold"},{slug:"the-real-pod"},{slug:"conversations-that-count"},{slug:"remember-when"}]},{id:"matrix-politics",name:"Politics",slug:"politics",titleImg:"politics",lightOpinion:!1,newsletters:[{slug:"the-bulletin"}],pinnedPod:!0,podcasts:[{slug:"juggernaut"},{slug:"gone-by-lunchtime"},{slug:"business-is-boring"},{slug:"when-the-facts-change"}]},{id:"matrix-books",name:"Books",slug:"books",titleImg:"books",lightOpinion:!0,newsletters:[{slug:"the-weekend"}],pinnedPod:!1,podcasts:[{slug:"gone-by-lunchtime"},{slug:"business-is-boring"},{slug:"when-the-facts-change"},{slug:"ne"},{slug:"the-fold"},{slug:"the-real-pod"},{slug:"conversations-that-count"},{slug:"remember-when"}]},{id:"matrix-pop-culture",name:"Pop Culture",slug:"pop-culture",titleImg:"popculture",lightOpinion:!0,newsletters:[{slug:"rec-room"}],pinnedPod:!1,podcasts:[{slug:"the-real-pod"},{slug:"first"}]},{id:"matrix-atea",name:"\u0100tea",slug:"atea",titleImg:"atea",lightOpinion:!0,newsletters:[{slug:"the-bulletin"},{slug:"rec-room"},{slug:"the-weekend"}],pinnedPod:!1,podcasts:[{slug:"ne"},{slug:"conversations-that-count"}]},{id:"matrix-society",name:"Social Issues",slug:"society",titleImg:"society",lightOpinion:!0,newsletters:[{slug:"the-weekend"}],pinnedPod:!0,podcasts:[{slug:"dearjane"},{slug:"when-the-facts-change"},{slug:"the-fold"}]},{id:"matrix-essays",name:"Essays",slug:"essays",titleImg:"essays",lightOpinion:!0,newsletters:[{slug:"the-bulletin"}],pinnedPod:!1,podcasts:[{slug:"gone-by-lunchtime"},{slug:"business-is-boring"},{slug:"when-the-facts-change"},{slug:"ne"},{slug:"the-fold"},{slug:"the-real-pod"},{slug:"conversations-that-count"},{slug:"remember-when"}]},{id:"matrix-news",name:"News",slug:"news",titleImg:"news",lightOpinion:!0,newsletters:[{slug:"the-bulletin"}],pinnedPod:!1,podcasts:[{slug:"gone-by-lunchtime"},{slug:"business-is-boring"},{slug:"when-the-facts-change"},{slug:"ne"},{slug:"the-fold"},{slug:"the-real-pod"},{slug:"conversations-that-count"},{slug:"remember-when"}]},{id:"matrix-internet",name:"Internet",slug:"internet",titleImg:"internet",lightOpinion:!0,newsletters:[{slug:"rec-room"}],pinnedPod:!1,podcasts:[{slug:"gone-by-lunchtime"},{slug:"business-is-boring"},{slug:"when-the-facts-change"},{slug:"ne"},{slug:"the-fold"},{slug:"the-real-pod"},{slug:"conversations-that-count"},{slug:"remember-when"}]}],q=function(e){var t=e.category,a=e.posts,i=e.colourRow,o=e.newsletterPosts,l=(0,n.useRouter)(),c=t.slug===l.query.category,u=H.find((function(e){return e.slug===t.slug}));return u?(0,r.jsx)(A,{colourRow:i,isSelf:c,category:t,matrixInfo:u,posts:a,newsletterPosts:o}):t&&a?(0,r.jsx)(s.Q,{colourRow:i,isSelf:c,category:t,posts:a}):(0,r.jsx)(r.Fragment,{})}},24679:function(e,t,a){a.d(t,{Q:function(){return u}});var r=a(85893),n=a(18330),s=a(5330),i=a(11163),o=a(67294),l=a(76965),c=a(19357),u=function(e){var t=e.category,a=e.posts,u=e.colourRow,d=e.isTagPage,m=(0,i.useRouter)(),h=(0,o.useState)(!1),g=h[0],f=h[1],p=(0,o.useState)(!1),x=p[0],b=p[1],v=t.sponsor,w=t.slug===m.query.category;if(!a||!t)return null;var y=a[0],j=a.slice(5,9);j="the-best-of"===t.slug?a.slice(4,8):a.slice(5,9);for(var S=[],_=1;_<a.length;_++)S.push(a[_]);return(0,r.jsxs)("div",{className:"outerWrap",children:[(0,r.jsx)("div",{id:t.slug,className:"flexCategoryWrapper ".concat(w&&"self"," ").concat(S.length<=2&&"short"),children:(0,r.jsxs)("section",{className:"flexCategory ".concat(t.slug),children:[(0,r.jsx)(s.Z,{isTagPage:d,title:t.name,slug:t.slug,sponsor:v,classNames:"".concat(w&&"self")}),(0,r.jsx)("section",{className:"col1 flexFeature ".concat(S.length<=2&&"short"),children:y&&(0,r.jsx)(c.z,{active:g,hover:x,setActive:f,setHover:b,i:0,categSlug:null===t||void 0===t?void 0:t.slug,isMatrix:!1,scale:1.02,post:y},y.id)}),(0,r.jsxs)("section",{className:"row1 ".concat(S.length<=2&&"short"),children:[S[0]&&(0,r.jsx)("div",{className:"miniblock",children:(0,r.jsx)(c.z,{active:g,hover:x,setActive:f,setHover:b,i:1,categSlug:null===t||void 0===t?void 0:t.slug,isMatrix:!1,scale:1.03,post:S[0],width:600},S[0].id)}),S[1]&&(0,r.jsx)("div",{className:"miniblock",children:(0,r.jsx)(c.z,{active:g,hover:x,setActive:f,setHover:b,i:2,categSlug:null===t||void 0===t?void 0:t.slug,isMatrix:!1,scale:1.03,post:S[1],width:600},S[1].id)})]}),(0,r.jsx)("section",{className:"row2 ".concat(S.length<=2&&"short"),children:S.length>2&&(0,r.jsx)(r.Fragment,{children:"the-best-of"===t.slug?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(n.Ad,{adLocation:"sidebar",categories:["the-best-of"],pagetype:"homepage"})}):(0,r.jsxs)(r.Fragment,{children:[S[2]&&(0,r.jsx)("div",{className:"miniblock",children:(0,r.jsx)(c.z,{active:g,hover:x,setActive:f,setHover:b,i:3,categSlug:null===t||void 0===t?void 0:t.slug,isMatrix:!1,scale:1.03,post:S[2],width:600},S[2].id)}),S[3]&&(0,r.jsx)("div",{className:"miniblock",children:(0,r.jsx)(c.z,{active:g,hover:x,setActive:f,setHover:b,i:4,categSlug:null===t||void 0===t?void 0:t.slug,isMatrix:!1,scale:1.03,post:S[3],width:600},S[3].id)})]})})})]})}),(0,r.jsx)(l.L,{colourRow:u,posts:j})]})}},76965:function(e,t,a){a.d(t,{L:function(){return u}});var r=a(85893),n=a(94184),s=a.n(n),i=a(67294),o=a(96144),l=a(19357),c=a(61230),u=function(e){var t=e.posts,a=e.colourRow,n=(0,i.useState)(!1),u=n[0],d=n[1],m=(0,i.useState)(!1),h=m[0],g=m[1],f=[["pink","white","yellow","red"],["green","lightblue","white","lightgreen"],["brightblue","white","red","acidgreen"],["wfw-blue-mono","wfw-blue-mono","wfw-blue-mono","wfw-blue-mono"],["ateared","ateared","ateared","ateared"]];return(0,r.jsx)(o.g,{className:s()("newsletter-alternate"),children:(0,r.jsx)("div",{className:"layout-newsletter-alternate",children:t.map((function(e,t){return(0,r.jsx)(l.z,{i:t,active:u,hover:h,setA
1ctive:d,width:600,setHover:g,cNames:f[null!=a?a:2][t],post:e,utm:e.layouts.includes(c.tl)?"card-".concat(t+1):void 0,parselySlot:"newsletter-alternate-".concat(t+1)},e.id)}))})})}},87728:function(e,t,a){a.d(t,{U:function(){return y}});var r=a(85893),n=a(94184),s=a.n(n),i=a(85784),o=a(67294),l=a(96144),c=a(25675),u=a.n(c),d=a(41664),m=a.n(d),h=a(23533),g=a(33687),f=a(48490),p=a(20996),x=a(25437),b=a(32485),v=a(95870);function w(e){var t,a,n,i,l,c=e.type,d=e.post,w=e.isSubscribed,y=e.matrixPairChild,j=e.visualOnly,S=(0,o.useState)(!1),_=S[0],k=S[1];switch((0,o.useEffect)((function(){k(!0)}),[]),c){case"the-bulletin":default:t="The Bulletin",n="The Spinoff's morning wrap of NZ news.",l="bulletin",i=d?d.title:"The Spinoff's morning wrap of NZ news.",a=f.Z;break;case"the-weekend":t="The Weekend",n="The best of The Spinoff each Saturday.",l="weekend",i=d?d.title:"The best of The Spinoff each Saturday.",a=b.Z;break;case"rec-room":t="Rec Room",n="Culture, books and entertainment recommendations.",l="rec",i=d?d.title:"Culture, books and entertainment recommendations.",a=x.Z;break;case"the-daily":t="The Daily",n="Everything published on the Spinoff that day",l="daily",i=d?d.title:"Everything published on the Spinoff that day",a=p.Z;break;case"the-boil-up":t="The Boil Up",n="Our best kai stories of the month",l="boilup",i=d?d.title:"Our best kai stories of the month",a=g.Z;break;case"two-ticks":t="Two Ticks",n="All the big and batshit news from the campaign trail, straight to your inbox every Friday.",l="twoticks",i=d?d.title:"All the big and batshit news from the campaign trail, straight to your inbox every Friday.",a=v.Z}if(!_||!t||!i||!a)return(0,r.jsx)("div",{className:"newsletter-sign-up-opaque"});var N=(0,r.jsxs)("div",{className:s()("newsletter-card",l),children:[(0,r.jsx)("div",{className:"newsletter-image",children:(0,r.jsx)("div",{className:"matrix-newsletter-image-container",children:(0,r.jsx)(u(),{src:a,alt:t,layout:"fill",objectFit:"contain",quality:85})})}),(0,r.jsx)("p",{className:"description",children:n}),j?null:(0,r.jsx)("div",{className:"checkbox-wrapper",children:(0,r.jsx)("div",{className:"sub-cta",children:(0,r.jsx)(h.Z,{isCateg:!0,newsletterName:t.toLowerCase(),inline:!0,isMatrix:!0,description:n,isSubscribed:w})})})]});return y?(0,r.jsx)("div",{className:"inner newsletter-matrix-pair-card",children:N}):(0,r.jsxs)("div",{className:"multimedia-surround newsletter-multimedia",children:[(0,r.jsx)(m(),{href:"/newsletters",children:(0,r.jsx)("a",{className:"multimediaTitle nl",children:"NEWSLETTERS"})}),(0,r.jsx)("div",{className:"inner",children:N})]})}var y=function(e){var t=e.type,a=e.post,n=e.matrix,c=e.isSubscribed,u=e.matrixPairChild,d=e.matrixVisualOnly,m=e.wrapNewslettersProvider,h=(0,o.useState)(!1),g=h[0],f=h[1];if((0,o.useEffect)((function(){f(!0)}),[]),!g)return null;if(n){var p=(0,r.jsx)(w,{type:t,post:a,isSubscribed:c,matrixPairChild:u,visualOnly:d}),x=!d&&!1!==m;return(0,r.jsx)(l.g,{className:s()("newsletter matrix",t),children:x?(0,r.jsx)(i.ir,{children:p}):p})}return(0,r.jsx)(r.Fragment,{})}},25231:function(e,t,a){a.d(t,{v:function(){return F}});var r=a(47568),n=a(26042),s=a(69396),i=a(70655),o=a(85893),l=a(94184),c=a.n(l),u=a(80483),d=a(68713),m=a(48156),h=a(20320),g=a(78420),f=a(98147),p=a(11808),x=a(21190),b=a(57321),v=a(10646),w=a(41664),y=a.n(w),j=a(67294),S=a(94971),_=a(5377),k=a(25395),N=a(57753),F=function(e){var t,a,l=e.post,w=e.utm,F=e.priorityImage,P=e.isMatrix,E=e.lightOpinion,T=e.orderCount,z=e.cNames,C=e.i,M=e.expanded,Z=e.dbExp,O=e.parselySlot,B=e.presetColours,I=(0,v.Vb)(),R=I.enableCommentsFeature,L=I.showReadingList,W=(0,b.K)().member,A=(0,h.t)(),H=A.isBookmarked,q=A.addBookmark,$=A.removeBookmark,U=String(l.id),V=H(U),J=(0,j.useRef)(null),D=(0,j.useState)(!1),G=D[0],K=D[1],Y=w?"?itm_source=spinoff-homepage-layouts&itm_medium=".concat(w):"",Q=e.label;if((0,j.useEffect)((function(){var e=function(){K(window.innerWidth>=1024)};return window.innerWidth>=1024&&K(!0),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),!l)return null;var X=l.categories.length&&l.categories[0].slug,ee=(0,g.Z)(l.date),te="/".concat(X,"/").concat((0,f.Z)(ee,d.xm),"/").concat(l.slug).concat(Y),ae=l.categories.map((function(e){return e.slug})).concat(l.tags.map((function(e){return e.slug})));ae.includes(m.ek)?Q="Opinion":ae.includes(m.GM)&&(Q=ae.includes("juggernaut")?"Juggernaut":"Cover Story");var re=ae.filter((function(e){return e===m.ek||"juggernaut"===e||e===m.GM})).join(" "),ne={};if(re&&0!=T&&(ne["data-tags"]=re),!X)return null;var se="";l.feature_image_frame&&l.feature_image_frame.startsWith("overlay-",0)?se="overlayframe="+l.feature_image_frame.replace("overlay-",""):l.feature_image_frame&&(se="frame="+l.feature_image_frame);var ie=[l.feature_image_frame&&se];l.feature_image_sticker&&(ie.push("sticker=".concat(l.feature_image_sticker)),l.feature_image_colour&&ie.push("colour=".concat(l.feature_image_colour)),l.feature_image_placement&&ie.push(l.feature_image_placement),l.feature_image_rotate&&ie.push("rotate=true"),l.feature_image_scale&&ie.push("scale=".concat(l.feature_image_scale)),l.feature_image_mirror&&ie.push("mirror=true"),l.feature_image_padding&&ie.push("padding=".concat(l.feature_image_padding)));var oe=ie.reduce((function(e,t){var a=t?"&"+t:"";return a&&e+a}
1)),le=oe&&oe.length?"?"+oe:"",ce=C===M,ue=B||[{bgcolor:"#FF4E4B",textcolor:"#ffffff"},{bgcolor:"#00FA82",textcolor:"#000000"},{bgcolor:"#0433FF",textcolor:"#FFFFFF"},{bgcolor:"#ECDB64",textcolor:"#000000"}],de=le;de.includes("w=")?de=de.replace(/w=\d+/,"w=600"):de.length>0?de+="&w=600":de="?w=600";var me=(0,_.cs)(l.layouts,l.date),he={backgroundColor:ce?ue[C].bgcolor:"#ffffff",color:ce?ue[C].textcolor:"#000000"},ge="Opinion"!==Q&&"Cover Story"!==Q&&"Juggernaut"!==Q;return(0,o.jsxs)(p.E.article,(0,s.Z)((0,n.Z)({ref:J,animate:ge&&he,transition:{duration:.6,ease:[.04,.62,.23,.98]},className:c()(z,"card","post",E?"invert":"")},ne),{onMouseEnter:function(){G&&Z(C)},"data-parsely-slot":O,children:[W&&L&&(0,o.jsxs)("div",{className:c()("bookmark-postcard",!ce&&"collapsed",V&&"active"),onClick:(0,r.Z)((function(){var e;return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,5,,6]),V?[4,$(U)]:[3,2];case 1:return t.sent(),(0,S.removeFromBookmarksEvent)(window.location.href,"card"),[3,4];case 2:return[4,q(U)];case 3:t.sent(),(0,S.addToBookmarksEvent)(window.location.href,"card"),t.label=4;case 4:return[3,6];case 5:return e=t.sent(),console.error("Error toggling bookmark:",e),[3,6];case 6:return[2]}}
1))})),children:[V&&(0,o.jsx)("a",{children:(0,o.jsx)("i",{className:"mini-solid mini-bookmark"})}),!V&&(0,o.jsx)("a",{children:(0,o.jsx)("i",{className:"mini-regular mini-bookmark"})})]}),l.feature_image?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(x.M,{exitBeforeEnter:!0,initial:ce,children:ce&&(0,o.jsx)(p.E.div,{className:"image",initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:1,height:"0px"}},style:{overflow:"hidden"},transition:{duration:.3,ease:"circOut"},children:(0,o.jsx)(y(),{href:te,children:(0,o.jsx)("a",{tabIndex:l.feature_image.caption?0:-1,"aria-label":"Feature image description : ".concat(l.feature_image.alt?l.feature_image.alt:"",","),children:(0,o.jsx)(N.$s,{src:"".concat(l.feature_image.source.replace("image://","https://")).concat(de),isFrame:void 0!=oe,alt:l.feature_image.alt||l.feature_image.caption||"",priorityImage:F})})})})})}):(0,o.jsx)("div",{className:"image","aria-hidden":"true"}),(0,o.jsxs)("div",{className:"body",style:{position:"relative"},children:[R&&me&&(0,o.jsx)(u.Z,{color:ce?ue[C].textcolor:"#000000"}),(0,o.jsx)(y(),{href:te,children:(0,o.jsxs)("a",{children:[Q&&(0,o.jsx)("div",{className:"label",children:Q}),(0,o.jsx)("h4",{className:"title","aria-label":"".concat(l.title_alt?l.title_alt:l.title,","),children:l.title_alt?l.title_alt:l.title}),(0,o.jsx)("div",{className:"summary","aria-label":"summary: ".concat(null===(t=l.summary)||void 0===t?void 0:t.replace(/(<([^>]+)>)/gi,""),","),children:null===(a=l.summary)||void 0===a?void 0:a.replace(/(<([^>]+)>)/gi,"")}),(0,o.jsxs)("div",{className:c()("bylines-container",l.additional_authors&&"multiple-authors"),children:[(0,o.jsx)(k.Y,{orderCount:T,isMatrix:P,author:l.author,preText:!0,index:0,date:l.additional_authors?"":(0,o.jsxs)("time",{className:"date",dateTime:l.date,children:["\xa0|\xa0",(0,f.Z)(ee,d.wf)]}),total:l.additional_authors?l.additional_authors.length+1:1}),l.additional_authors&&l.additional_authors.map((function(e,t){return(0,o.jsx)(k.Y,{author:e,isMatrix:P,orderCount:T,index:t+1,total:l.additional_authors.length+1,date:t===l.additional_authors.length-1?(0,o.jsxs)("time",{className:"date",dateTime:l.date,children:["\xa0|\xa0",(0,f.Z)(ee,d.wf)]}):"",preText:!0},e.id)}))]})]})})]})]}))}},39175:function(e,t,a){a.d(t,{y:function(){return k}});var r=a(47568),n=a(26042),s=a(69396),i=a(70655),o=a(85893),l=a(94184),c=a.n(l),u=a(80483),d=a(68713),m=a(48156),h=a(20320),g=a(78420),f=a(98147),p=a(57321),x=a(10646),b=a(41664),v=a.n(b),w=a(67294),y=a(94971),j=a(5377),S=a(25395),_=a(57753),k=function(e){var t,a,l=e.post,b=e.utm,k=e.priorityImage,N=e.isMatrix,F=e.orderCount,P=e.cNames,E=e.i,T=e.expanded,z=e.parselySlot,C=(0,x.Vb)(),M=C.enableCommentsFeature,Z=C.showReadingList,O=(0,p.K)().member,B=(0,h.t)(),I=B.isBookmarked,R=B.addBookmark,L=B.removeBookmark,W=String(l.id),A=I(W),H=(0,w.useRef)(null),q=b?"?itm_source=spinoff-homepage-layouts&itm_medium=".concat(b):"",$=e.label;if(!l)return null;var U=l.categories.length&&l.categories[0].slug,V=(0,g.Z)(l.date),J="/".concat(U,"/").concat((0,f.Z)(V,d.xm),"/").concat(l.slug).concat(q),D=l.categories.map((function(e){return e.slug})).concat(l.tags.map((function(e){return e.slug})));D.includes(m.ek)?$="Opinion":D.includes(m.GM)&&($="Cover Story");var G=D.filter((function(e){return e===m.ek||e===m.GM})).join(" "),K={};if(G&&0!=F&&(K["data-tags"]=G),!U)return null;var Y="";l.feature_image_frame&&l.feature_image_frame.startsWith("overlay-",0)?Y="overlayframe="+l.feature_image_frame.replace("overlay-",""):l.feature_image_frame&&(Y="frame="+l.feature_image_frame);var Q=[l.feature_image_frame&&Y];l.feature_image_sticker&&(Q.push("sticker=".concat(l.feature_image_sticker)),l.feature_image_colour&&Q.push("colour=".concat(l.feature_image_colour)),l.feature_image_placement&&Q.push(l.feature_image_placement),l.feature_image_rotate&&Q.push("rotate=true"),l.feature_image_scale&&Q.push("scale=".concat(l.feature_image_scale)),l.feature_image_mirror&&Q.push("mirror=true"),l.feature_image_padding&&Q.push("padding=".concat(l.feature_image_padding)));var X=Q.reduce((function(e,t){var a=t?"&"+t:"";return a&&e+a}
1)),ee=E===T,te=X&&X.length?"?"+X:"";te&&te.includes("w=")?te=te.replace(/w=\d+/,"w=600"):te.length>0?te+="&w=600":te="?w=600";var ae=(0,j.cs)(l.layouts,l.date);return(0,o.jsxs)("article",(0,s.Z)((0,n.Z)({ref:H,className:c()(P&&P,"card","post")},K),{"data-parsely-slot":z,children:[O&&Z&&(0,o.jsxs)("div",{className:c()("bookmark-postcard",!ee&&"collapsed",A&&"active"),onClick:(0,r.Z)((function(){var e;return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,5,,6]),A?[4,L(W)]:[3,2];case 1:return t.sent(),(0,y.removeFromBookmarksEvent)(window.location.href,"card"),[3,4];case 2:return[4,R(W)];case 3:t.sent(),(0,y.addToBookmarksEvent)(window.location.href,"card"),t.label=4;case 4:return[3,6];case 5:return e=t.sent(),console.error("Error toggling bookmark:",e),[3,6];case 6:return[2]}}))})),children:[A&&(0,o.jsx)("a",{children:(0,o.jsx)("i",{className:"mini-solid mini-bookmark"})}),!A&&(0,o.jsx)("a",{children:(0,o.jsx)("i",{className:"mini-regular mini-bookmark"})})]}),l.feature_image?(0,o.jsx)(o.Fragment,{children:ee&&(0,o.jsx)("div",{className:"image",style:{overflow:"hidden"},children:(0,o.jsx)(v(),{href:J,children:(0,o.jsx)("a",{tabIndex:l.feature_image.caption?0:-1,"aria-label":"Feature image description : ".concat(l.feature_image.alt?l.feature_image.alt:"",","),children:(0,o.jsx)(_.$s,{src:"".concat(l.feature_image.source.replace("image://","https://")).concat(te),isFrame:void 0!=X,alt:l.feature_image.alt||l.feature_image.caption||"",priorityImage:k})})})})}):(0,o.jsx)("div",{className:"image","aria-hidden":"true"}),(0,o.jsx)("div",{className:"body",children:(0,o.jsx)(v(),{href:J,children:(0,o.jsxs)("a",{children:[$&&(0,o.jsx)("div",{className:"label",children:$}),(0,o.jsx)("h4",{className:"title","aria-label":"".concat(l.title_alt?l.title_alt:l.title,","),children:l.title_alt?l.title_alt:l.title}),(0,o.jsx)("div",{className:"summary","aria-label":"summary: ".concat(null===(t=l.summary)||void 0===t?void 0:t.replace(/(<([^>]+)>)/gi,""),","),children:null===(a=l.summary)||void 0===a?void 0:a.replace(/(<([^>]+)>)/gi,"")}),(0,o.jsxs)("div",{className:c()("bylines-container",l.additional_authors&&"multiple-authors"),children:[M&&ae&&(0,o.jsx)(u.Z,{}),(0,o.jsx)(S.Y,{orderCount:F,isMatrix:N,author:l.author,preText:!0,index:0,date:l.additional_authors?"":(0,o.jsxs)("time",{className:"date",dateTime:l.date,children:["\xa0|\xa0",(0,f.Z)(V,d.wf)]}),total:l.additional_authors?l.additional_authors.length+1:1}),l.additional_authors&&l.additional_authors.map((function(e,t){return(0,o.jsx)(S.Y,{author:e,isMatrix:N,orderCount:F,index:t+1,total:l.additional_authors.length+1,date:t===l.additional_authors.length-1?(0,o.jsxs)("time",{className:"date",dateTime:l.date,children:["\xa0|\xa0",(0,f.Z)(V,d.wf)]}):"",preText:!0},e.id)}))]})]})})})]}))}}}]);

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.