PageSourceSearch

https://francedigitale.org/_next/static/chunks/reactPlayerKaltura.7ac539c171971afd.js

js francedigitale.org collected 2026-10-02 04:12:27 UTC 4,417 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[261],{9289:function(a,b,c){function d(a){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}Object.defineProperty(b,"__esModule",{value:!0}),b.default=void 0;var e=function(a){if(a&&a.__esModule)return a;if(null===a||"object"!==d(a)&&"function"!=typeof a)return{default:a};var b=h();if(b&&b.has(a))return b.get(a);var c={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if(Object.prototype.hasOwnProperty.call(a,f)){var g=e?Object.getOwnPropertyDescriptor(a,f):null;g&&(g.get||g.set)?Object.defineProperty(c,f,g):c[f]=a[f]}return c.default=a,b&&b.set(a,c),c}(c(7294)),f=c(6281),g=c(9790);function h(){if("function"!=typeof WeakMap)return null;var a=new WeakMap;return h=function(){return a},a}function i(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}function j(a,b){return(j=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a})(a,b)}function k(a){if(void 0===a)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function l(a){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)})(a)}function m(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}var n=function(a){!function(a,b){if("function"!=typeof b&&null!==b)throw TypeError("Super expression must either be null or a function");a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),b&&j(a,b)}(p,a);var b,c,g,h,n,o=(b=p,c=function a(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(b){return!1}}(),function(){var a,e,f,g=l(b);if(c){var h=l(this).constructor;f=Reflect.construct(g,arguments,h)}else f=g.apply(this,arguments);return a=this,e=f,e&&("object"===d(e)||"function"==typeof e)?e:k(a)});function p(){var a;!function(a,b){if(!(a instanceof b))throw TypeError("Cannot call a class as a function")}(this,p);for(var b=arguments.length,c=Array(b),d=0;d<b;d++)c[d]=arguments[d];return a=o.call.apply(o,[this].concat(c)),m(k(a),"callPlayer",f.callPlayer),m(k(a),"duration",null),m(k(a),"currentTime",null),m(k(a),"secondsLoaded",null),m(k(a),"mute",function(){a.callPlayer("mute")}),m(k(a),"unmute",function(){a.callPlayer("unmute")}),m(k(a),"ref",function(b){a.iframe=b}),a}return g=p,h=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(a){var b=this;(0,f.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then(function(a){b.iframe&&(b.player=new a.Player(b.iframe),b.player.on("ready",function(){setTimeout(function(){b.player.isReady=!0,b.player.setLoop(b.props.loop),b.props.muted&&b.player.mute(),b.addListeners(b.player,b.props),b.props.onReady()},500)}))},this.props.onError)}},{key:"addListeners",value:function(a,b){var c=this;a.on("play",b.onPlay),a.on("pause",b.onPause),a.on("ended",b.onEnded),a.on("error",b.onError),a.on("timeupdate",function(a){var b=a.duration,d=a.seconds;c.duration=b,c.currentTime=d})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(a){this.callPlayer("setCurrentTime",a)}},{key:"setVolume",value:function(a){this.callPlayer("setVolume",a)}},{key:"setLoop",value:function(a){this.callPlayer("setLoop",a)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){return e.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}],i(g.prototype,h),n&&i(g,n),p}(e.Component);b.default=n,m(n,"displayName","Kaltura"),m(n,"canPlay",g.canPlay.kaltura)}}])

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.