PageSourceSearch

https://qosmo.jp/_next/static/chunks/reactPlayerPreview.0051ede30e85e817.js

js qosmo.jp collected 2026-10-02 16:21:14 UTC 2,635 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7664],{3855:function(e,t,r){var a,n,i,l=Object.create,s=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,u=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,c=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of p(t))d.call(e,n)||n===r||s(e,n,{get:()=>t[n],enumerable:!(a=o(t,n))||a.enumerable});return e},m=(e,t,r)=>(h(e,"symbol"!=typeof t?t+"":t,r),r),f={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(f,{default:()=>b}),e.exports=(a=f,c(s({},"__esModule",{value:!0}),a));var g=(i=null!=(n=r(7294))?l(u(n)):{},c(n&&n.__esModule?i:s(i,"default",{value:n,enumerable:!0}),n));let y="64px",$={};class b extends g.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(!g.default.isValidElement(t)){if("string"==typeof t){this.setState({image:t});return}if($[e]){this.setState({image:$[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}),$[e]=r}})}}render(){let{light:e,onClick:t,playIcon:r,previewTabIndex:a,previewAriaLabel:n}=this.props,{image:i}=this.state,l=g.default.isValidElement(e),s={display:"flex",alignItems:"center",justifyContent:"center"},o={preview:{width:"100%",height:"100%",backgroundImage:i&&!l?`url(${i})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...s},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:y,width:y,height:y,position:l?"absolute":void 0,...s},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},p=g.default.createElement("div",{style:o.shadow,className:"react-player__shadow"},g.default.createElement("div",{style:o.playIcon,className:"react-player__play-icon"}));return g.default.createElement("div",{style:o.preview,className:"react-player__preview",onClick:t,tabIndex:a,onKeyPress:this.handleKeyPress,...n?{"aria-label":n}:{}},l?e:null,r||p)}}}}]);

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.