PageSourceSearch

https://nextgenamerica.org/_next/static/chunks/reactPlayerMixcloud.361b3e5d83819a66.js

js nextgenamerica.org collected 2026-10-02 03:52:29 UTC 2,239 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[570],{18980:(e,t,r)=>{let s,o,l;var a=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,u=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,d=(e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of p(t))h.call(e,o)||o===r||n(e,o,{get:()=>t[o],enumerable:!(s=i(t,o))||s.enumerable});return e},c=(e,t,r)=>{let s;return(s="symbol"!=typeof t?t+"":t)in e?n(e,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[s]=r,r},y={},m={default:()=>w};for(var f in m)n(y,f,{get:m[f],enumerable:!0});e.exports=d(n({},"__esModule",{value:!0}),y);var g=(l=null!=(s=r(14232))?a(u(s)):{},d(!o&&s&&s.__esModule?l:n(l,"default",{value:s,enumerable:!0}),s)),b=r(24657),P=r(73443);class w extends g.Component{constructor(){super(...arguments),c(this,"callPlayer",b.callPlayer),c(this,"duration",null),c(this,"currentTime",null),c(this,"secondsLoaded",null),c(this,"mute",()=>{}),c(this,"unmute",()=>{}),c(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,b.getSDK)("https://widget.mixcloud.com/media/js/widgetApi.js","Mixcloud").then(e=>{this.player=e.PlayerWidget(this.iframe),this.player.ready.then(()=>{this.player.events.play.on(this.props.onPlay),this.player.events.pause.on(this.props.onPause),this.player.events.ended.on(this.props.onEnded),this.player.events.error.on(this.props.error),this.player.events.progress.on((e,t)=>{this.currentTime=e,this.duration=t}),this.props.onReady()})},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,t=!0){this.callPlayer("seek",e),t||this.pause()}setVolume(e){}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return null}render(){let{url:e,config:t}=this.props,r=e.match(P.MATCH_URL_MIXCLOUD)[1],s=(0,b.queryString)({...t.options,feed:`/${r}/`});return g.default.createElement("iframe",{key:r,ref:this.ref,style:{width:"100%",height:"100%"},src:`https://player-widget.mixcloud.com/widget/iframe/?${s}`,frameBorder:"0",allow:"autoplay"})}}c(w,"displayName","Mixcloud"),c(w,"canPlay",P.canPlay.mixcloud),c(w,"loopOnEnded",!0)}}]);

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.