PageSourceSearch

https://www.happiesthealth.com/main-site/_next/static/js/reactPlay…review.3fe12babd589a12d-2.2.0-21.09.2026.js

js happiesthealth.com collected 2026-09-24 11:13:54 UTC 5,597 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7664],{56166:function(e,t,r){"use strict";r.r(t),r.d(t,{P:function(){return j},default:function(){return O}});var a,n,i=r(82061),l=r(2265),o=Object.create,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,h=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of c(t))d.call(e,n)||n===r||s(e,n,{get:()=>t[n],enumerable:!(a=u(t,n))||a.enumerable});return e},m=(e,t,r)=>(h(e,"symbol"!=typeof t?t+"":t,r),r),b={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(b,{default:()=>v});var g=f(s({},"__esModule",{value:!0}),b),y=(a=null!=l?o(p(l)):{},f(l&&l.__esModule?a:s(a,"default",{value:l,enumerable:!0}),l));let _="64px",w={};class v extends y.Component{constructor(){super(...arguments),m(this,"mounted",!1),m(this,"state",{image:null}),m(this,"handleKeyPress",e=>{("Enter"===e.key||" "===e.key)&&this.props.onClick()})}componentDidMount(){this.mounted=!0,this.fetchImage(this.props)}componentDidUpdate(e){let{url:t,light:r}=this.props;(e.url!==t||e.light!==r)&&this.fetchImage(this.props)}componentWillUnmount(){this.mounted=!1}fetchImage({url:e,light:t,oEmbedUrl:r}){if(!y.default.isValidElement(t)){if("string"==typeof t){this.setState({image:t});return}if(w[e]){this.setState({image:w[e]});return}return this.setState({image:null}),window.fetch(r.replace("{url}",e)).then(e=>e.json()).then(t=>{if(t.thumbnail_url&&this.mounted){let r=t.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");this.setState({image:r}),w[e]=r}})}}render(){let{light:e,onClick:t,playIcon:r,previewTabIndex:a,previewAriaLabel:n}=this.props,{image:i}=this.state,l=y.default.isValidElement(e),o={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:{width:"100%",height:"100%",backgroundImage:i&&!l?`url(${i})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...o},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:_,width:_,height:_,position:l?"absolute":void 0,...o},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},u=y.default.createElement("div",{style:s.shadow,className:"react-player__shadow"},y.default.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return y.default.createElement("div",{style:s.preview,className:"react-player__preview",onClick:t,tabIndex:a,onKeyPress:this.handleKeyPress,...n?{"aria-label":n}:{}},l?e:null,r||u)}}var O=(0,i.fm)(g),j=(n={__proto__:null,default:O},[g].forEach(function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach(function(t){if("default"!==t&&!(t in n)){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}})}),Object.freeze(n))},15518:function(e,t,r){var a,n,i=Object.create,l=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,p=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of s(t))c.call(e,n)||n===r||l(e,n,{get:()=>t[n],enumerable:!(a=o(t,n))||a.enumerable});return e},h=(e,t,r)=>(p(e,"symbol"!=typeof t?t+"":t,r),r),f={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(f,{default:()=>y}),e.exports=d(l({},"__esModule",{value:!0}),f);var m=(n=null!=(a=r(2265))?i(u(a)):{},d(a&&a.__esModule?n:l(n,"default",{value:a,enumerable:!0}),a));let b="64px",g={};class y extends m.Component{constructor(){super(...arguments),h(this,"mounted",!1),h(this,"state",{image:null}),h(this,"handleKeyPress",e=>{("Enter"===e.key||" "===e.key)&&this.props.onClick()})}componentDidMount(){this.mounted=!0,this.fetchImage(this.props)}componentDidUpdate(e){let{url:t,light:r}=this.props;(e.url!==t||e.light!==r)&&this.fetchImage(this.props)}componentWillUnmount(){this.mounted=!1}fetchImage({url:e,light:t,oEmbedUrl:r}){if(!m.default.isValidElement(t)){if("string"==typeof t){this.setState({image:t});return}if(g[e]){this.setState({image:g[e]});return}return this.setState({image:null}),window.fetch(r.replace("{url}",e)).then(e=>e.json()).then(t=>{if(t.thumbnail_url&&this.mounted){let r=t.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");this.setState({image:r}),g[e]=r}})}}render(){let{light:e,onClick:t,playIcon:r,previewTabIndex:a,previewAriaLabel:n}=this.props,{image:i}=this.state,l=m.default.isValidElement(e),o={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:{width:"100%",height:"100%",backgroundImage:i&&!l?`url(${i})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...o},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:b,width:b,height:b,position:l?"absolute":void 0,...o},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},u=m.default.createElement("div",{style:s.shadow,className:"react-player__shadow"},m.default.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return m.default.createElement("div",{style:s.preview,className:"react-player__preview",onClick:t,tabIndex:a,onKeyPress:this.handleKeyPress,...n?{"aria-label":n}:{}},l?e:null,r||u)}}}}]);

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.