PageSourceSearch

https://www.guardianlife.com/_next/static/chunks/5946.d78b4d8be9bc1609.js

js guardianlife.com collected 2026-09-24 08:47:31 UTC 5,601 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5946],{5946:(e,t,a)=>{a.r(t),a.d(t,{default:()=>R});var l=a(12115);let r=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,n=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,i=/\.(m3u8)($|\?)/i,c=/\.(mpd)($|\?)/i,u=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,o=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,s=/vimeo\.com\/(?!progressive_redirect).+/,y=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,m=/open\.spotify\.com\/(\w+)\/(\w+)/i,d=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,p=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,h=(e,t)=>{if(Array.isArray(e)){for(let a of e)if("string"==typeof a&&h(a,t)||h(a.src,t))return!0;return!1}return t(e)},P={html:e=>h(e,e=>r.test(e)||n.test(e)),hls:e=>h(e,e=>i.test(e)),dash:e=>h(e,e=>c.test(e)),mux:e=>u.test(e),youtube:e=>o.test(e),vimeo:e=>s.test(e)&&!n.test(e)&&!i.test(e),wistia:e=>y.test(e),spotify:e=>m.test(e),twitch:e=>d.test(e),tiktok:e=>p.test(e)},f=l.forwardRef((e,t)=>{let a=r.test(`${e.src}`)?"audio":"video";return l.createElement(a,{...e,ref:t},e.children)}),b=[{key:"hls",name:"hls.js",canPlay:P.hls,canEnablePIP:()=>!0,player:(0,l.lazy)(()=>Promise.all([a.e(9910),a.e(8842),a.e(2262)]).then(a.bind(a,35136)))},{key:"dash",name:"dash.js",canPlay:P.dash,canEnablePIP:()=>!0,player:(0,l.lazy)(()=>Promise.all([a.e(8842),a.e(6395)]).then(a.bind(a,36521)))},{key:"mux",name:"Mux",canPlay:P.mux,canEnablePIP:()=>!0,player:(0,l.lazy)(()=>Promise.all([a.e(9910),a.e(8842),a.e(2723)]).then(a.bind(a,34946)))},{key:"youtube",name:"YouTube",canPlay:P.youtube,player:(0,l.lazy)(()=>a.e(8446).then(a.bind(a,6697)))},{key:"vimeo",name:"Vimeo",canPlay:P.vimeo,player:(0,l.lazy)(()=>a.e(6173).then(a.bind(a,81748)))},{key:"wistia",name:"Wistia",canPlay:P.wistia,canEnablePIP:()=>!0,player:(0,l.lazy)(()=>a.e(9340).then(a.bind(a,38554)))},{key:"spotify",name:"Spotify",canPlay:P.spotify,canEnablePIP:()=>!1,player:(0,l.lazy)(()=>a.e(2771).then(a.bind(a,65466)))},{key:"twitch",name:"Twitch",canPlay:P.twitch,canEnablePIP:()=>!1,player:(0,l.lazy)(()=>a.e(2042).then(a.bind(a,11846)))}
1,{key:"tiktok",name:"TikTok",canPlay:P.tiktok,canEnablePIP:()=>!1,player:(0,l.lazy)(()=>a.e(8085).then(a.bind(a,65500)))},{key:"html",name:"html",canPlay:P.html,canEnablePIP:()=>!0,player:f}],v={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},w=l.forwardRef((e,t)=>{let{playing:a,pip:r}=e,n=e.activePlayer,i=(0,l.useRef)(null),c=(0,l.useRef)(!0);if((0,l.useEffect)(()=>{var t,l;i.current&&(i.current.paused&&!0===a&&i.current.play(),i.current.paused||!1!==a||i.current.pause(),i.current.playbackRate=null!=(t=e.playbackRate)?t:1,i.current.volume=null!=(l=e.volume)?l:1)}),(0,l.useEffect)(()=>{var e,t,a,l,n;if(i.current&&globalThis.document){if(r&&!document.pictureInPictureElement)try{null==(t=(e=i.current).requestPictureInPicture)||t.call(e)}catch(e){}if(!r&&document.pictureInPictureElement)try{null==(l=(a=i.current).exitPictureInPicture)||l.call(a),null==(n=document.exitPictureInPicture)||n.call(document)}catch(e){}}},[r]),!n)return null;let u={},o=["onReady","onStart"];for(let t in e)t.startsWith("on")&&!o.includes(t)&&(u[t]=e[t]);return l.createElement(n,{...u,style:e.style,className:e.className,slot:e.slot,ref:(0,l.useCallback)(e=>{i.current=e,"function"==typeof t?t(e):null!==t&&(t.current=e)},[t]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:t=>{var a,l;c.current=!0,null==(a=e.onReady)||a.call(e),null==(l=e.onLoadStart)||l.call(e,t)},onPlay:t=>{var a,l;c.current&&(c.current=!1,null==(a=e.onStart)||a.call(e,t)),null==(l=e.onPlay)||l.call(e,t)}},e.children)});w.displayName="Player";let k=(0,l.lazy)(()=>a.e(6353).then(a.bind(a,84213))),E=[],g=({children:e})=>e,I=b[b.length-1];var R=((e,t)=>{let a=l.forwardRef((a,r)=>{let n={...v,...a},{src:i,slot:c,className:u,style:o,width:s,height:y,fallback:m,wrapper:d}=n,[p,h]=(0,l.useState)(!!n.light);(0,l.useEffect)(()=>{n.light?h(!0):h(!1)},[n.light]);let P=e=>{var t;h(!1),null==(t=n.onClickPreview)||t.call(n,e)},f=null==d?g:d,b=!1===m?g:l.Suspense;return l.createElement(f,{slot:c,className:u,style:{width:s,height:y,...o}},l.createElement(b,{fallback:m},p?(e=>{if(!e)return null;let{light:t,playIcon:a,previewTabIndex:r,oEmbedUrl:i,previewAriaLabel:c}=n;return l.createElement(k,{src:e,light:t,playIcon:a,previewTabIndex:r,previewAriaLabel:c,oEmbedUrl:i,onClickPreview:P})})(i):(a=>{var i,o;let s=(a=>{for(let t of[...E,...e])if(a&&t.canPlay(a))return t;return t||null})(a);if(!s)return null;let{style:y,width:m,height:d,wrapper:p}=n,h=null==(i=n.config)?void 0:i[s.key];return l.createElement(w,{...n,ref:r,activePlayer:null!=(o=s.player)?o:s,slot:p?void 0:c,className:p?void 0:u,style:p?{display:"block",width:"100%",height:"100%"}:{display:"block",width:m,height:d,...y},config:h})})(i)))});return a.displayName="ReactPlayer",a.addCustomPlayer=e=>{E.push(e)},a.removeCustomPlayers=()=>{E.length=0},a.canPlay=t=>{if(t){for(let a of[...E,...e])if(a.canPlay(t))return!0}return!1},a.canEnablePIP=t=>{var a;if(t){for(let l of[...E,...e])if(l.canPlay(t)&&(null==(a=l.canEnablePIP)?void 0:a.call(l)))return!0}return!1},a})(b,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.