pause_player-8.x-1.3/player/pauseplayer.min.js

player/pauseplayer.min.js
if("undefined"==typeof pauseplayer)var pauseplayer=function(){function b(){for(var b=0;b<=q.length-1;b++){var d=q[b];if("toload"==d.status){d.status="loading";c(d.type,d.path);return}}m||(m=!0,b=new f.WKYMC("pauseplayerlibrary","ScriptsAndCssLoaded",{scriptsAndCssLoaded:m}),f.IBBJNC.addTransactionResult(b),f.jQuery=jQuery.noConflict(!0),b=URI.noConflict(!0),f.URI=b.URI,b=f.UIMBP.XGGPQO(),f.VJGTNOQ=b.animationBaseURL,f.JWQR=
b.PBBYVGRHE,f.UFVXW=b.OMTXVQKO,f.Functions.createPlayers(),f.RCNVUAJOI.loadXMLFile(f.mainScriptURL+"languages/"+f.BUMVXARZ+".xml"))}function r(b){if("mousedown"===b.type)f.MOUSE_DEVICE=!0;else if("touchstart"!==b.type)return;document.addEventListener?(document.body.removeEventListener("mousedown",r,!1),document.body.removeEventListener("touchstart",r,!1)):(document.body.detachEvent("onmousedown",r),document.body.detachEvent("ontouchstart",r))}function d(b){if(void 0==
b||("string"===typeof b||b instanceof String)&&"undefined"==b)return!1;isNaN(b)&&(b=String(b),b=b.replace(",","."));b=parseFloat(b);return isNaN(b)?!1:b|0}function g(b){return b===Object(b)}function e(b,c){for(var d=0;d<=c.length-1;d++)if(c[d]==b)return!0;return!1}function c(c,d){var a=document.getElementsByTagName("head")[0],e;"js"==c?(e=document.createElement("script"),e.type="text/javascript",e.src=d):(e=document.createElement("link"),e.type="text/css",e.rel="stylesheet",e.href=d);e.onreadystatechange=
b;e.onload=b;a.appendChild(e)}function a(){document.addEventListener?(document.removeEventListener("DOMContentLoaded",a),window.removeEventListener("load",a)):(document.detachEvent("onreadystatechange",a),window.detachEvent("onload",a));w=!0;f.LOG=new f.LogManager;f.ORWMDPHRC=new f.DPUBKS;f.IBBJNC=new f.LSQC;f.Functions.defineWorkflows();f.RCNVUAJOI=new f.BJSLK(f.BUMVXARZ);var c=new f.ZWBLZF("LoadingPausePlayerLibrary","pauseplayerlibrary");
f.IBBJNC.addTransaction(c);c=new f.WKYMC("pauseplayerlibrary","PageLoaded",{pageLoaded:w});f.IBBJNC.addTransactionResult(c);var d;for(d=0;d<=f.players.length-1;d++)if(c=f.players[d],null==c.container&&""!=c.containerID){var e=document.getElementById(c.containerID);e&&(c.container=e)}b();c=new f.WKYMC("pauseplayerlibrary","LoadScriptsAndCss",{scriptsAndCssLoaded:m});f.IBBJNC.addTransactionResult(c);document.body&&(document.addEventListener?
(document.body.addEventListener("mousedown",r,!1),document.body.addEventListener("touchstart",r,!1)):(document.body.attachEvent("onmousedown",r),document.body.attachEvent("ontouchstart",r)));for(d=0;d<=f.players.length-1;d++)for(c=f.players[d],e=c.WBZCOCL_FunctionsToCallWhenReady.length-1;0<=e;e--)c.WBZCOCL&&("function"===typeof c.WBZCOCL_FunctionsToCallWhenReady[e].functionCallback?c.WBZCOCL_FunctionsToCallWhenReady[e].functionCallback():
f.DEBUG&&(f.LOG.dev("Error : javascript communication is impossible. The function callback '"+c.WBZCOCL_FunctionsToCallWhenReady[e].functionCallback+"' doesn't exist."),f.LOG.errort("Javascript communication is impossible with player {0}.","",!0,c.id)),c.WBZCOCL_FunctionsToCallWhenReady.splice(e,1))}function k(){var b=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(c){var d=(b+16*Math.random())%16|0;b=Math.floor(b/16);return("x"==
c?d:d&7|8).toString(16)})}function n(b){switch(b.toLowerCase()){case "true":case "yes":case "1":return!0;case "false":case "no":case "0":case null:return!1;default:return Boolean(b)}}var h={},f=h,l=document.getElementsByTagName("script"),m=!1,q=[],w=!1;h.mainScriptURL="";h.players=[];h.VJGTNOQ="";h.JWQR="";h.UFVXW="";h.BUMVXARZ=navigator.language||navigator.userLanguage;h.RCNVUAJOI=null;h.DEBUG=!1;h.QBQEJHYPKM=1;h.AXLRAF=2;h.AZHHUWTAT=
4;h.MMXJR=256;h.SNEEWMOY=7;h.DEBUGCATEGORYFILTER="";h.LOG=null;h.ORWMDPHRC=null;h.IBBJNC=null;h.TMFYM=!0;h.LNJVQDNL="000000000000000000000000000000000000000000000000";h.UODJFKT="Free Version";h.BCGGIJLUGW=null;h.licenseValid=!1;h.LICENSES=[];h.PWZDNOBMT="2.0";h.GMAYUW="2018-01-04";h.MOUSE_DEVICE=!1;h.ZDAPR=!1;h.JGULINRD=!1;h.getVersion=function(){return f.PWZDNOBMT};h.setDebug=function(b){b=!0===b?
!0:!1;f.DEBUG!=b&&(f.DEBUG=b,!f.DEBUG||"undefined"!==typeof console&&"undefined"!==typeof console.log||("interactive"===document.readyState||"complete"===document.readyState?c("js","../js/firebug-lite.js"):q[q.length]={path:"../js/firebug-lite.js",status:"toload"}))};h.setDebugLevels=function(b){b=d(b);!1!==b&&f.SNEEWMOY!=b&&(f.SNEEWMOY=b)};h.setDebugCategoryFilter=function(b){void 0==b&&(b="");f.DEBUGCATEGORYFILTER!=b&&(f.DEBUGCATEGORYFILTER=b)};h.setLanguage=function(b){b=String(b);f.BUMVXARZ==
b||"fr"!=b&&"en"!=b&&"fr-fr"!=b&&"en-en"!=b||(f.BUMVXARZ=b,m&&f.RCNVUAJOI.loadXMLFile(f.mainScriptURL+"languages/"+f.BUMVXARZ+".xml"))};h.createPlayer=function(b,c){var a={containerID:"",container:null};g(b)&&void 0!=b.nodeName?(a.container=b,void 0!=b.id&&null!=b.id&&""!=String(b.id)&&(a.containerID=String(b.id))):(a.containerID=String(b),document.getElementById(a.containerID)&&(a.container=document.getElementById(a.containerID)));a.step="preload";"iOS"==f.BHDRCCDZN.getMobileOS()&&(a.step=
"playersuspended");a.MJOJICQSR=null;a.SWNHPG=null;a.ROHGWKOSI=null;a.DJBTNUJP=null;a.ATWMPY=null;a.UBFXTYOLNU=null;a.RAGB=!1;a.NKLNN=!1;a.CEVLOORTAM="none";a.BJFSRIQ=!1;a.QGAXGKPOEH=!1;a.WXOTFFWIT="none";a.config={};a.config.autoplay=!0===c.autoplay?!0:!1;a.config.backgroundcolor=""!=String(c.backgroundcolor)?String(c.backgroundcolor):
"transparent";e(String(c.controlsdisplaymode),["allthetime","disappear","never"])?a.config.controlsdisplaymode=String(c.controlsdisplaymode):a.config.controlsdisplaymode="disappear";!0!==c.debug&&!1!==c.debug||f.setDebug(c.debug);"undefined"!=typeof c.debuglevels&&f.setDebugLevels(c.debuglevels);e(String(c.disappearmode),["none","atend","onstop","onpause"])?a.config.disappearmode=String(c.disappearmode):a.config.disappearmode="none";g(c.endcontent)&&!f.TMFYM?(a.config.endcontent={},e(String(c.endcontent.mode),
["none","videoimage","webimage","html"])?a.config.endcontent.mode=String(c.endcontent.mode):a.config.endcontent.mode="none",a.config.endcontent.image=void 0!=c.endcontent.image?String(c.endcontent.image):void 0,e(String(c.endcontent.displaymode),["default","noresize","stretch","cover"])?a.config.endcontent.displaymode=String(c.endcontent.displaymode):a.config.endcontent.displaymode="default",a.config.endcontent.backgroundcolor=""!=String(c.endcontent.backgroundcolor)&&void 0!=String(c.endcontent.backgroundcolor)?
String(c.endcontent.backgroundcolor):"transparent"):a.config.endcontent={mode:"none",image:"",displaymode:"default",backgroundcolor:"transparent"};a.config.height="100%";if("undefined"!=typeof c.height){var h=document.createElement("div");h.style.width=String(c.height);""!=h.style.width?a.config.height=String(c.height):(h=d(c.height),!1!==h&&(a.config.height=h+"px"))}a.WBZCOCL=!1;a.WBZCOCL_FunctionsToCallWhenReady=[];"undefined"!=typeof c.jscommunication&&"function"==
typeof c.jscommunication.callback&&(h={},h.functionCallback=c.jscommunication.callback,h.waitDOMready=!0===c.jscommunication.waitdom?!0:!1,a.WBZCOCL_FunctionsToCallWhenReady[a.WBZCOCL_FunctionsToCallWhenReady.length]=h);a.config.looping="undefined"!=String(c.looping)?String(c.looping):"none";e(a.config.looping,["all","none"])||(a.config.looping=d(a.config.looping),!1===a.config.looping&&(a.config.looping="none"));a.config.mute=!0===c.mute?!0:!1;e(String(c.playbutton),
["none","start","end","both"])?a.config.playbutton=String(c.playbutton):a.config.playbutton="both";e(String(c.appearmode),["default","onpreload","onplay"])?a.config.appearmode=String(c.appearmode):a.config.appearmode="default";"onpreload"!=a.config.appearmode||"start"!=a.config.playbutton&&"both"!=a.config.playbutton||a.config.autoplay||(a.config.appearmode="onplay");a.config.playlist=[];if(h="undefined"!=typeof c.playlist)var h=c.playlist,l=typeof h,h="array"===l||"object"===l&&h&&h instanceof Array?
!0:!1;if(h)for(a.config.playlist=[],h=0;h<=c.playlist.length-1;h++){if(f.TMFYM&&1<=a.config.playlist.length){f.DEBUG&&(null!==f.LOG?f.LOG.errort("Impossible to add more of one media file to playlist with the free version of Pause Player.","",!0):"undefined"!==typeof console&&console.error("Pause Player : Impossible to add more of one media file to playlist with the free version of Pause Player."));break}l=c.playlist[h];g(l)&&(l.file=String(l.file),"undefined"!=l.file&&""!=l.file&&(l.title="undefined"!=
String(l.title)?String(l.title):"",l.description="undefined"!=String(l.description)?String(l.description):"",l.image="undefined"!=String(l.image)?String(l.image):"",e(String(l.ratio),"4:3 5:4 16:9 185:100 235:100 239:100".split(" "))?l.ratio=String(l.ratio):l.ratio="",l.state="new",l.id=k(),l.imagestate="",l.screenshotstate="",a.config.playlist.push(l)))}a.config.playnonstop=!0===c.playnonstop?!0:!1;h=d(c.preloadtime);a.config.preloadtime=!1===h?5:h;g(c.startcontent)&&!f.TMFYM?(a.config.startcontent=
{},e(String(c.startcontent.mode),["none","videoimage","webimage","html"])?a.config.startcontent.mode=String(c.startcontent.mode):a.config.startcontent.mode="none",a.config.startcontent.image=void 0!=c.startcontent.image?String(c.startcontent.image):void 0,e(String(c.startcontent.displaymode),["default","noresize","stretch","cover"])?a.config.startcontent.displaymode=String(c.startcontent.displaymode):a.config.startcontent.displaymode="default",a.config.startcontent.backgroundcolor=""!=String(c.startcontent.backgroundcolor)&&
void 0!=String(c.startcontent.backgroundcolor)?String(c.startcontent.backgroundcolor):"transparent"):a.config.startcontent={mode:"none",image:"",displaymode:"default",backgroundcolor:"transparent"};a.config.theme="default";a.config.themesize="normal";a.config.usersettings=!1===c.usersettings?!1:!0;e(String(c.videodisplaymode),["default","noresize","stretch","cover"])?a.config.videodisplaymode=String(c.videodisplaymode):a.config.videodisplaymode="default";h=d(c.volume);a.config.volume=!1===h?.75:Math.round(h/
100*100)/100;a.config.width="100%";"undefined"!=typeof c.width&&(h=document.createElement("div"),h.style.width=String(c.width),""!=h.style.width?a.config.width=String(c.width):(h=d(c.width),!1!==h&&(a.config.width=h+"px")));"none"==a.config.startcontent.mode||"onpreload"!=a.config.appearmode&&"onplay"!=a.config.appearmode||(a.NKLNN=!0,a.CEVLOORTAM="toload");"none"!=a.config.endcontent.mode&&(a.WXOTFFWIT="toload");a.launch=!1;a.id="pauseplayer_"+
(f.players.length+1);f.players[f.players.length]=a;m&&f.Functions.createPlayers();return a.id};h.getPlayer=function(b){for(var c=0;c<=f.players.length-1;c++){var a=f.players[c];if(a.id==b)return a}return null};h.getStep=function(b){for(var c=0;c<=f.players.length-1;c++){var a=f.players[c];if(a.id==b)return a.step}return""};h.setStep=function(b,c){for(var a=0;a<=f.players.length-1;a++){var d=f.players[a];d.id==b&&("suspended"==c&&(c="startcontent"==d.step||"startcontent_playersuspended"==d.step?"startcontent_playersuspended":
"playersuspended"),d.step!=c&&(d.step=c,f.Functions.setDIVVisibilities(d)))}};h.addToPlaylist=function(b,c){b=String(b);for(var a=!1,d=0;d<=f.players.length-1;d++){var h=f.players[d];if(h.id==b){if(f.TMFYM&&1<=h.config.playlist.length)return f.DEBUG&&f.LOG.errort("Impossible to add more of one media file to playlist with the free version of Pause Player.","",!0),!1;a=c;if(g(a)){a.file=String(a.file);if("undefined"==a.file||""==a.file)return f.DEBUG&&f.LOG.errort("Impossible to add the media file to playlist. The pathfile is not define.",
"",!0),!1;a.title="undefined"!=String(a.title)?String(a.title):"";a.description="undefined"!=String(a.description)?String(a.description):"";a.image="undefined"!=String(a.image)?String(a.image):"";e(String(a.ratio),"4:3 5:4 16:9 185:100 235:100 239:100".split(" "))?a.ratio=String(a.ratio):a.ratio="";a.state="new";a.id=k();a.imagestate="";a.screenshotstate="";h.config.playlist.push(a);h.WBZCOCL&&"playersuspended"!=h.step&&(h.SWNHPG.addByJavascript(a),h.config.playlist[h.config.playlist.length-
1].state="onload")}a=!0;break}}!a&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"addToPlaylist")};h.deleteAll=function(b){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to remove all medias to playlist with the free version of Pause Player.","",!0),!1;b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];if(d.id==b){d.WBZCOCL&&
(d.SWNHPG.deleteAllByJavascript(),d.config.playlist=[]);a=!0;break}}!a&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"deleteAll")};h.deleteVideo=function(b,a){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to remove a media to playlist with the free version of Pause Player.","",!0),!1;b=String(b);a=d(a);if(!1===a)return f.DEBUG&&f.LOG.errort("Impossible to remove the media to playlist. The video index parameter is not an integer.",
"",!0),!1;for(var c=!1,e=0;e<=f.players.length-1;e++){var g=f.players[e];if(g.id==b){g.WBZCOCL&&g.SWNHPG.deleteVideoByJavascript(a);c=!0;break}}!c&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"deleteVideo")};h.removePlayer=function(b){b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];if(d.id==b){a=!0;d.WBZCOCL&&
d.SWNHPG.stopByJavascript();f.Functions.removeContainer(d.id+"_container",d.container);for(b=0;b<f.Functions.containersOldValuesPosition.length;b++)if(f.Functions.containersOldValuesPosition[b].element==d.container){f.Functions.containersOldValuesPosition.splice(b,1);break}f.players.splice(c,1);break}}!a&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"removePlayer")};
h.activeJSCommunication=function(b,a,c){if(f.TMFYM)return f.DEBUG&&null!=f.LOG&&f.LOG.errort("Impossible to activate Javascript commands with the free version of Pause Player.","",!0),!1;b=String(b);c="undefined"!==typeof c?c:!0;for(var d=!1,e=0;e<=f.players.length-1;e++){var g=f.players[e];if(g.id==b){"function"===typeof a?g.WBZCOCL?w||!c?a():(b={},b.functionCallback=a,b.waitDOMready=c,g.WBZCOCL_FunctionsToCallWhenReady[g.WBZCOCL_FunctionsToCallWhenReady.length]=
b):(b={},b.functionCallback=a,b.waitDOMready=c,g.WBZCOCL_FunctionsToCallWhenReady[g.WBZCOCL_FunctionsToCallWhenReady.length]=b):f.DEBUG&&f.LOG.errort("Javascript commands of the player are not activated. The function callback '{0}' doesn't exist.","",!0,a);d=!0;break}}!d&&f.DEBUG&&f.LOG.errort("Javascript commands of the player are not activated. The ID of the player doesn't exist.","",!0)};h.activePlayerCommunication=function(b){for(var a=0;a<=f.players.length-1;a++){var c=
f.players[a];if(c.id==b){c.WBZCOCL=!0;var d="";"videoimage"==c.config.startcontent.mode||"webimage"==c.config.startcontent.mode?d="image":"html"==c.config.startcontent.mode&&(d="html");var e="";"videoimage"==c.config.endcontent.mode||"webimage"==c.config.endcontent.mode?e="image":"html"==c.config.endcontent.mode&&(e="html");c.SWNHPG.setStartContentConfigurationByJavascript(d,c.config.startcontent.displaymode,c.config.startcontent.image,c.config.startcontent.backgroundcolor);
c.SWNHPG.setEndContentConfigurationByJavascript(e,c.config.endcontent.displaymode,c.config.endcontent.image,c.config.endcontent.backgroundcolor);"preload"==c.step&&"none"!=c.config.startcontent.mode&&"default"!=c.config.appearmode&&("html"!=c.config.startcontent.mode&&(c.SWNHPG.showStartContentByJavascript(),f.setStep(c.id,"startcontent")),"html"==c.config.startcontent.mode&&f.setStep(c.id,"startcontent"));for(d=0;d<=c.config.playlist.length-1;d++)"new"==c.config.playlist[d].state&&
"playersuspended"!=c.step&&(c.SWNHPG.addByJavascript(c.config.playlist[d]),c.config.playlist[d].state="onload");for(d=c.WBZCOCL_FunctionsToCallWhenReady.length-1;0<=d;d--)if(w||!c.WBZCOCL_FunctionsToCallWhenReady[d].waitDOMready)"function"===typeof c.WBZCOCL_FunctionsToCallWhenReady[d].functionCallback?c.WBZCOCL_FunctionsToCallWhenReady[d].functionCallback():f.DEBUG&&f.LOG.errort("Impossible to active player communication with Javascript. The function callback '{0}' doesn't exist.",
"",!0,String(c.WBZCOCL_FunctionsToCallWhenReady[d].functionCallback)),c.WBZCOCL_FunctionsToCallWhenReady.splice(d,1)}}};h.onPictureComplete=function(b,c){f.LOG.dev("onPictureComplete, playerID : "+b+", videoid : "+c.videoid+", type : "+c.type+", imagepath : "+c.imagepath);for(var a=0;a<=f.players.length-1;a++){var d=f.players[a];if(d.id==b){for(var e=!1,g=0;g<=d.config.playlist.length-1;g++)if(d.config.playlist[g].id==c.videoid){"externimage"==c.type?c.error?d.config.playlist[g].imagestate=
"error":(d.config.playlist[g].imagestate="loaded",e=!0):c.error?(d.config.playlist[g].screenshotstate="error",d.config.playlist[g].imagestate="error"):(d.config.playlist[g].screenshotstate="loaded",d.config.playlist[g].imagestate=""==d.config.playlist[g].image?"":"error",e=!0);break}e&&f.loadVideoPictureInContent(b)}}};h.onLoadComplete=function(b,c){f.LOG.dev("onLoadComplete, playerID : "+b+", videoid : "+c.videoid);for(var a=0;a<=f.players.length-1;a++){var d=f.players[a];if(d.id==b)for(var e=0;e<=
d.config.playlist.length-1;e++)if(d.config.playlist[e].id==c.videoid){c.error?d.config.playlist[e].state="loaderror":(d.config.playlist[e].state="loaded",f.loadVideoPictureInContent(b));break}}};h.loadVideoPictureInContent=function(b){f.LOG.dev("loadVideoPictureInContent, playerID : "+b);for(var c=0;c<=f.players.length-1;c++){var a=f.players[c];if(a.id==b){if("toload"==a.CEVLOORTAM&&"videoimage"==a.config.startcontent.mode)for(var d=0;d<=a.config.playlist.length-1&&"new"!=a.config.playlist[d].state&&
"onload"!=a.config.playlist[d].state;d++)if("loaded"==a.config.playlist[d].state){if(""!=a.config.playlist[d].image&&""==a.config.playlist[d].imagestate)break;if("loaded"==a.config.playlist[d].imagestate){if("toload"==a.CEVLOORTAM&&a.WBZCOCL){for(var e=-1,g=0;g<=a.config.playlist.length-1&&("loaded"==a.config.playlist[g].state&&e++,g!=d);g++);a.SWNHPG.loadStartContentByJavascript(e,a.config.startcontent.displaymode);a.CEVLOORTAM="loaded"}break}if(""==
a.config.playlist[d].screenshotstate)break;if("loaded"==a.config.playlist[d].screenshotstate){e=-1;for(g=0;g<=a.config.playlist.length-1&&("loaded"==a.config.playlist[g].state&&e++,g!=d);g++);a.WBZCOCL&&(a.SWNHPG.loadStartContentByJavascript(e,a.config.startcontent.displaymode),a.CEVLOORTAM="loaded");break}}if((0<a.config.playlist.length&&"loaded"==a.config.playlist[a.config.playlist.length-1].state||"loaderror"==a.config.playlist[a.config.playlist.length-
1].state)&&"toload"==a.WXOTFFWIT&&"videoimage"==a.config.endcontent.mode&&document.getElementById(a.id+"_endcontent"))for(var k=a.config.playlist.length-1;0<=k;k--)if("loaded"==a.config.playlist[k].state){if(""!=a.config.playlist[k].image&&""==a.config.playlist[k].imagestate)break;if("loaded"==a.config.playlist[k].imagestate){f.LOG.dev("endcontent "+a.config.playlist[k].image);e=-1;for(g=0;g<=a.config.playlist.length-1&&("loaded"==a.config.playlist[g].state&&e++,g!=d);g++);a.SWNHPG.loadEndContentByJavascript(e,
a.config.endcontent.displaymode);a.WXOTFFWIT="loaded"}if(""==a.config.playlist[k].screenshotstate)break;if("loaded"==a.config.playlist[k].screenshotstate){e=-1;for(g=0;g<=a.config.playlist.length-1&&("loaded"==a.config.playlist[g].state&&e++,g!=k);g++);"videoimage"==a.config.endcontent.mode&&a.WBZCOCL&&(f.LOG.dev("endcontent : loadEndContentByJavascript "+e),a.SWNHPG.loadEndContentByJavascript(e,a.config.endcontent.displaymode));break}break}}}};h.onPlayStateChange=
function(b,a){for(var c=0;c<=f.players.length-1;c++){var d=f.players[c];d.id==b&&(f.LOG.dev("onPlayStateChange - playerID : "+b+", infos.state : "+a.state+", player.step : "+d.step),"preloadFinished"!=a.state||("preload"!=d.step&&"startcontent"!=d.step||"onpreload"!=d.config.appearmode)&&"endcontent"!=d.step||("preload"!=d.step&&"startcontent"!=d.step||"videoimage"!=d.config.startcontent.mode&&"webimage"!=d.config.startcontent.mode||d.WBZCOCL&&d.SWNHPG.hideStartContentByJavascript(),
"endcontent"!=d.step||"videoimage"!=d.config.endcontent.mode&&"webimage"!=d.config.endcontent.mode||d.WBZCOCL&&d.SWNHPG.hideEndContentByJavascript(),f.setStep(d.id,"player")),"play"!=a.state||"preload"!=d.step&&"startcontent"!=d.step&&"startcontent_playersuspended"!=d.step&&"endcontent"!=d.step||f.setStep(d.id,"player"),"play"==a.state&&"player"==d.step&&f.Functions.setDIVVisibilities(d),"atend"==d.config.disappearmode&&"end"==a.state||"onstop"==d.config.disappearmode&&
"stop"==a.state||"onpause"==d.config.disappearmode&&"pause"==a.state)&&("none"!=d.config.endcontent.mode?("html"!=d.config.endcontent.mode&&d.WBZCOCL&&(d.SWNHPG.showEndContentByJavascript(),f.setStep(d.id,"endcontent")),"html"==d.config.endcontent.mode&&(f.BHDRCCDZN.setDisplayToElementsByClassName(d.container,"endcontent","block"),f.setStep(d.id,"endcontent"))):f.setStep(d.id,"endcontent"))}};h.play=function(b,a){if(f.TMFYM&&(void 0==a||"ZSPHMRFrame"!=a))return f.DEBUG&&
f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.","",!0,"pause"),!1;b=String(b);for(var c=!1,d=0;d<=f.players.length-1;d++){var e=f.players[d];if(e.id==b){c=!0;if(e.WBZCOCL)return e.SWNHPG.playByJavascript(),e.SWNHPG.hideStartContentByJavascript(),e.SWNHPG.hideEndContentByJavascript(),!0;f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.",
"",!0,"play")}}!c&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"play");return!1};h.pause=function(b){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.","",!0,"pause"),!1;b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];d.id==b&&(a=!0,d.WBZCOCL?
d.SWNHPG.pauseByJavascript():f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.","",!0,"pause"))}!a&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"pause")};h.stop=function(b){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.",
"",!0,"stop"),!1;b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];d.id==b&&(a=!0,d.WBZCOCL?d.SWNHPG.stopByJavascript():f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.","",!0,"stop"))}!a&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"stop")};
h.previous=function(b){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.","",!0,"previous"),!1;b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];d.id==b&&(a=!0,d.WBZCOCL?d.SWNHPG.previousByJavascript():f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.","",!0,"previous"))}!a&&f.DEBUG&&
f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"previous")};h.next=function(b){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.","",!0,"next"),!1;b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];d.id==b&&(a=!0,d.WBZCOCL?d.SWNHPG.nextByJavascript():
f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.","",!0,"next"))}!a&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"next")};h.mute=function(b,a){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.","",!0,
"mute"),!1;b=String(b);a=!0===a?!0:!1;for(var c=!1,d=0;d<=f.players.length-1;d++){var e=f.players[d];e.id==b&&(c=!0,e.WBZCOCL?e.SWNHPG.muteByJavascript(n(a)):f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.","",!0,"mute"))}!c&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.",
"",!0,"mute")};h.toggleMute=function(b){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.","",!0,"toggleMute"),!1;b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];d.id==b&&(a=!0,d.WBZCOCL?d.SWNHPG.toggleMuteByJavascript():f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.","",!0,"toggleMute"))}!a&&
f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"toggleMute")};h.volumeUp=function(b){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.","",!0,"volumeUp"),!1;b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];d.id==b&&(a=!0,d.WBZCOCL?d.SWNHPG.volumeUpByJavascript():
f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.","",!0,"volumeUp"))}!a&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.","",!0,"volumeUp")};h.volumeDown=function(b){if(f.TMFYM)return f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}' with the free version of Pause Player.",
"",!0,"volumeDown"),!1;b=String(b);for(var a=!1,c=0;c<=f.players.length-1;c++){var d=f.players[c];d.id==b&&(a=!0,d.WBZCOCL?d.SWNHPG.volumeDownByJavascript():f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. Javascript commands of the player are not activated.","",!0,"volumeDown"))}!a&&f.DEBUG&&f.LOG.errort("Impossible to execute the Javascript command '{0}'. The ID of the player doesn't exist. Make sure you created the player before calling the command.",
"",!0,"volumeDown")};h.currentPageIsInIframe=function(){return window.location!=window.parent.location};h.mainScriptURL=document.getElementsByTagName("script")[l.length-1].src;0<=h.mainScriptURL.lastIndexOf("/")&&(h.mainScriptURL=h.mainScriptURL.substr(0,h.mainScriptURL.lastIndexOf("/")+1));q[q.length]={type:"css",path:h.mainScriptURL+"js/jquery-ui-1.11.4/jquery-ui.min.css",status:"toload"};q[q.length]={type:"js",path:h.mainScriptURL+"js/jquery-1.12.2.min.js",status:"toload"};q[q.length]={type:"js",
path:h.mainScriptURL+"js/jquery-ui-1.11.4/jquery-ui.min.js",status:"toload"};q[q.length]={type:"js",path:h.mainScriptURL+"js/jquery.i18n.min.js",status:"toload"};q[q.length]={type:"js",path:h.mainScriptURL+"js/jquery.ba-resize.min.js",status:"toload"};if("object"!==typeof JSON||"function"!==typeof JSON.stringify)q[q.length]={type:"js",path:h.mainScriptURL+"js/json2.js",status:"toload"};q[q.length]={type:"js",path:h.mainScriptURL+"js/URI.js",status:"toload"};q[q.length]={type:"css",path:h.mainScriptURL+
"pauseplayer.min.css",status:"toload"};h.LICENSES.push({domain_name:"*",validity_end:new Date(2019,0,6,10,15),customer_uid:"000000000000000000000000000000000000000000000000",customer_name:"Free Version"});"interactive"===document.readyState||"complete"===document.readyState?setTimeout(a):document.addEventListener?(document.addEventListener("DOMContentLoaded",a,!1),window.addEventListener("load",a,!1)):(document.attachEvent("onreadystatechange",a),window.attachEvent("onload",a));return h}();
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.HTML5Video&&(pauseplayer.HTML5Video=function(b){return function(r,d,g,e,c,a,k,n){var h="",f="",l="",m="",q="",w="",A="",y="",x=0,C=0,u=0,z=0,v=0,E=0,p="",O="",I=null,P=0,Q=0,N="",T=!0,R=!0,F=!1,D=!1,U=0,G=null,J={},B={},S=!1,ma=!1,H=!1,K=!1,t=null,M=[],L=[];this.getID=function(){return f};this.getCanSeek=function(){return-1};this.getDuration=function(){return v};this.getPath=function(){return l};this.getFilename=function(){return m};
this.getPicture=function(){return I};this.getPicturePath=function(){return p};this.getPictureWidth=function(){return P};this.getPictureHeight=function(){return Q};this.getRatio=function(){return A};this.getSize=function(){return E};this.getTitle=function(){return q};this.getDescription=function(){return w};this.getWidth=function(){return x};this.getHeight=function(){return C};this.getWidthCorrected=function(){return u};this.getHeightCorrected=function(){return z};this.getAudioExists=function(){return T};
this.getVideoContainer=function(a){b.jQuery(t).off();return a?t:t.cloneNode(!0)};this.getVideoExists=function(){return R};this.isVideoSuspended=function(){return D};this.isPictureLoaded=function(){return H};this.isMetadatasLoaded=function(){return K};this.setVideoSuspended=function(b){D=b};this.load=function(){b.LOG.infot("Loading of the video {0} for get informations","AddAndPrepareVideo",!0,m);if(""!=f)if(J={},B={},F)D&&(D=!1,a=new b.WKYMC(f,"LoadVideo",{video:this},{sourceChecked:F,
videoSuspended:D}),b.IBBJNC.addTransactionResult(a),null==t&&(t=document.createElement("video")),t.id=h,t.style.position="absolute",t.muted=!0,t.autoplay=!1,t.controls=!1,t.preload="metadata",qa(),t.src=l,t.play());else{var a=new b.WKYMC(f,"LoadVideo",{video:this},{sourceChecked:F,videoSuspended:D});b.IBBJNC.addTransactionResult(a);""!=p&&(b.LOG.infot("Loading of the picture {0}","AddAndPrepareVideo",!0,O),a=new Image,a.addEventListener?(a.addEventListener("load",
pa,!1),a.addEventListener("error",pa,!1)):(a.attachEvent("onload",pa),a.attachEvent("onerror",pa)),a.src=p,a=new b.WKYMC(f,"LoadExternalPicture",{video:this},{sourceChecked:F,pictureLoaded:H}),b.IBBJNC.addTransactionResult(a));null==t&&(t=document.createElement("video"));t.id=h;t.style.position="absolute";t.muted=!0;t.autoplay=!1;t.controls=!1;t.preload="metadata";qa();t.src=l}};this.setMetadatasFunctionCallback=function(b){"function"==typeof b&&(M[M.length]=b)};this.setPictureFunctionCallback=
function(b){"function"==typeof b&&(L[L.length]=b)};var X=function(a){a=a||window.event;b.LOG.errort("Loading of the video {0} has failed","AddAndPrepareVideo",!0,m);if(F){ja();if(b.DEBUG)if(a.target.error)switch(a.target.error.code){case a.target.error.MEDIA_ERR_ABORTED:b.LOG.errort("The playback of the video {0} is aborted by user","AddAndPrepareVideo",!0,m);break;case a.target.error.MEDIA_ERR_NETWORK:b.LOG.errort("A network error caused the video download of {0} to fail.","AddAndPrepareVideo",!0,
m);break;case a.target.error.MEDIA_ERR_DECODE:b.LOG.errort("The video playback of {0} was aborted due to a corruption problem or because the video used features the browser did not support.","AddAndPrepareVideo",!0,m);break;case a.target.error.MEDIA_ERR_SRC_NOT_SUPPORTED:b.LOG.errort("The video {0} could not be loaded, either because the server or network failed or because the format is not supported.","AddAndPrepareVideo",!0,m);break;default:b.LOG.errort("An unknown error occurred on the video {0}.",
"AddAndPrepareVideo",!0,m)}else t.networkState==t.NETWORK_NO_SOURCE?b.LOG.errort("No file to read","AddAndPrepareVideo"):b.LOG.errort("An unknown error occurred on the video {0}.","AddAndPrepareVideo",!0,m);t.pause();try{t.currentTime=0}catch(c){}t.removeAttribute("src");K=!0}else{F=!0;var d=new b.WKYMC(f,"SourceChecked",{video:this},{sourceChecked:F});b.IBBJNC.addTransactionResult(d);ja();K=!0;if(b.DEBUG)if(a.target.error)switch(a.target.error.code){case a.target.error.MEDIA_ERR_ABORTED:b.LOG.errort("The playback of the video {0} is aborted by user",
"AddAndPrepareVideo",!0,m);break;case a.target.error.MEDIA_ERR_NETWORK:b.LOG.errort("A network error caused the video download of {0} to fail.","AddAndPrepareVideo",!0,m);break;case a.target.error.MEDIA_ERR_DECODE:b.LOG.errort("The video playback of {0} was aborted due to a corruption problem or because the video used features the browser did not support.","AddAndPrepareVideo",!0,m);break;case a.target.error.MEDIA_ERR_SRC_NOT_SUPPORTED:b.LOG.errort("The video {0} could not be loaded, either because the server or network failed or because the format is not supported.",
"AddAndPrepareVideo",!0,m);break;default:b.LOG.errort("An unknown error occurred on the video {0}.","AddAndPrepareVideo",!0,m)}else t.networkState==t.NETWORK_NO_SOURCE?b.LOG.errort("No file to read","AddAndPrepareVideo"):b.LOG.errort("An unknown error occurred on the video {0}.","AddAndPrepareVideo",!0,m)}a={};a.videoid=f;a.playerid=h;a.videoSuspended=D;J=a;J.error=!0;""==p&&(H=!0,B=a,B.type="",B.imagepath=p,B.error=!0);if(H){a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},
{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}},Y=function(a){a=a||window.event;b.LOG.dev("["+a.type+" picture], idvideo : "+f+", path : "+l);oa();t.pause();try{t.currentTime=0}catch(c){}t.removeAttribute("src");b.LOG.errort("Loading of the picture of the video {0} has failed","AddAndPrepareVideo",!0,m);H=!0;a={};a.videoid=f;a.playerid=h;a.videoSuspended=D;B=a;B.type="screenshot";
B.imagepath=p;B.error=!0;if(K){a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}},Z=function(b){b=b||window.event;b=b.target||b.srcElement;null==t&&(t=b)},aa=function(a){a=a||window.event;b.LOG.dev("["+a.type+"], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");K=!0;a=new b.WKYMC(f,
"MetadatasLoaded",{video:this},{metadatasLoaded:K});b.IBBJNC.addTransactionResult(a);a=b.BHDRCCDZN.getFileExtension(l).toLowerCase();if("flv"==a||"mp4"==a||"3gp"==a||"rtmp"==a||"smil"==a||"mkv"==a||"f4v"==a||"webm"==a||"mov"==a||"m4a"==a||"m4p"==a||"mp4v"==a||"ogg"==a||"oga"==a||"ogv"==a)N=a;"3g2"==a&&(N="3gp");""==N&&(a=b.BHDRCCDZN.getURLProtocol(l).toLowerCase(),"rtmp"==a||"rtmps"==a||"rtmpt"==a||"smil"==a)&&(N=a);if("mp4v"==N||"ogv"==N)T=!1;if("m4a"==N||"oga"==N)R=!1;b.DEBUG&&(a=t.videoWidth+
"x"+t.videoHeight+" "+t.duration+"s",void 0!=t.bytesTotal&&(a+=" "+Math.round(t.bytesTotal/1024)+"Ko"),b.LOG.infot("Metadatas of the video {0} are loaded : {1}.","AddAndPrepareVideo",!0,m,a));U++;2==U&&ja();v=t.duration;x=t.videoWidth;C=t.videoHeight;void 0!=t.bytesTotal&&(E=t.bytesTotal);a=x;var c=C;a=("undefined"!==typeof a?a:0)/("undefined"!==typeof c?c:0);A=1.29>=a?"5:4":1.29<a&&1.55555>=a?"4:3":1.55555<a&&1.81388>=a?"16:9":1.81388<a&&2.1>=a?"185:100":2.1<a&&2.37>=a?"235:100":2.37<a?"239:100":
"";b.LOG.infot("Ratio (approximate) finded for the video {0} : {1}","AddAndPrepareVideo",!0,m,A);a:{var d=x,e=C;a=y;c={};if(0==d||0==e)c.width=0,c.height=0;else{e>d&&(d=e);switch(a){case "4:3":e=Math.round(d/(4/3));break;case "5:4":e=Math.round(d/1.25);break;case "16:9":e=Math.round(d/(16/9));break;case "185:100":e=Math.round(d/1.85);break;case "235:100":e=Math.round(d/2.35);break;case "239:100":e=Math.round(d/2.39);break;default:c.width=d;c.height=e;a=c;break a}c.width=d;c.height=e}a=c}u=a.width;
z=a.height;""!=y?b.LOG.infot("Corrected size of the video {0} : {1}","AddAndPrepareVideo",!0,m,y+" "+u+"x"+z):b.LOG.infot("Corrected size of the video {0} : no correction","AddAndPrepareVideo",!0,m);2==U&&(""==p||""!=p&&S&&null==I)&&!ma&&na();a={};a.videoid=f;a.playerid=h;a.videoSuspended=D;J=a;J.error=!1;if(H){t.pause();ja();a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);
for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}},ba=function(a){a=a||window.event;b.LOG.dev("["+a.type+"], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");b.LOG.errort("Loading of the video {0} has failed","AddAndPrepareVideo",!0,m);ja();t.pause();try{t.currentTime=0}catch(c){}t.removeAttribute("src");K=!0;a={};a.videoid=f;a.playerid=h;a.videoSuspended=D;J=a;J.error=!0;if(H){a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,
pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}},ca=function(a){a=a||window.event;b.LOG.dev("["+a.type+" picture], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");oa();t.pause();try{t.currentTime=0}catch(c){}t.removeAttribute("src");b.LOG.errort("Loading of the picture of the video {0} has failed","AddAndPrepareVideo",!0,m);H=!0;a={};a.videoid=f;a.playerid=h;a.videoSuspended=D;B=a;B.type="screenshot";B.imagepath=
p;B.error=!0;if(K){a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}},da=function(a){a=a||window.event;b.LOG.dev("["+a.type+"], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");F||(K=F=!0,a=new b.WKYMC(f,"SourceChecked",{video:this},{sourceChecked:F}),b.IBBJNC.addTransactionResult(a),
D=!1,t.play())},ea=function(a){a=a||window.event;b.LOG.dev("["+a.type+"], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");F||(F=!0,a=new b.WKYMC(f,"SourceChecked",{video:this},{sourceChecked:F}),b.IBBJNC.addTransactionResult(a),"iOS"==b.BHDRCCDZN.getMobileOS()?(K=D=!0,a=new b.WKYMC(f,"VideoSuspended",{video:this},{sourceChecked:F,videoSuspended:D}),b.IBBJNC.addTransactionResult(a),ja(),a={},a.videoid=f,a.playerid=h,a.videoSuspended=D,J=
a,J.error=!0,""==p&&(H=!0,B=a,B.type="",B.imagepath=p,B.error=!0)):(D=!1,t.play()))},ka=function(a){a=a||window.event;b.LOG.dev("["+a.type+" picture], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");oa();t.pause();try{t.currentTime=0}catch(c){}t.removeAttribute("src");b.LOG.errort("Loading of the picture of the video {0} has failed","AddAndPrepareVideo",!0,m);H=!0;a={};a.videoid=f;a.playerid=h;a.videoSuspended=D;B=a;B.type="screenshot";B.imagepath=p;B.error=!0;if(K){a=new b.WKYMC(f,
"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}},fa=function(a){a=a||window.event;b.LOG.dev("["+a.type+"], idvideo : "+f+", path : "+l,"AddAndPrepareVideo")},ga=function(a){a=a||window.event;b.LOG.dev("["+a.type+"], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");t.pause();t.currentTime=0;U++;2==U&&(ja(),(""==p||""!=p&&S&&null==I)&&!ma&&
na())},la=function(a){a=a||window.event;b.LOG.dev("["+a.type+" picture], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");a=1E3;1>=v&&(a=v/2*1E3);G=setTimeout(ra,a)},V=function(a){a=a||window.event;b.LOG.dev("["+a.type+"], idvideo : "+f+", path : "+l,"AddAndPrepareVideo")},ha=function(a){a=a||window.event;b.LOG.dev("["+a.type+" picture], idvideo : "+f+", path : "+l,"AddAndPrepareVideo")},W=function(a){a=a||window.event;b.LOG.dev("["+a.type+"], idvideo : "+f+", path : "+l,"AddAndPrepareVideo")},ia=
function(a){b.LOG.dev(t.videoWidth+" "+t.videoHeight,"AddAndPrepareVideo")},na=function(){ma=!0;if("iOS"==b.BHDRCCDZN.getMobileOS()){H=!0;oa();var a={};a.videoid=f;a.playerid=h;a.videoSuspended=D;B=a;B.type="screenshot";B.imagepath=p;B.error=!0;if(K){a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}}else t.setAttribute("width",
x),t.setAttribute("height",C),t.addEventListener?(t.addEventListener("error",Y,!1),t.addEventListener("stalled",ca,!1),t.addEventListener("suspend",ka,!1),t.addEventListener("playing",la,!1),t.addEventListener("pause",ha,!1)):t.attachEvent&&(t.attachEvent("onerror",Y),t.attachEvent("onstalled",ca),t.attachEvent("suspend",ka),t.attachEvent("onplaying",la),t.attachEvent("onpause",ha)),t.play()},ra=function(){b.LOG.dev("Make screenshot of video "+f+", path : "+l,"AddAndPrepareVideo");clearTimeout(G);
t.pause();b.LOG.dev("[pause], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");var a=!1;if(b.BHDRCCDZN.isCanvasSupported())try{canvasElement=document.createElement("canvas");canvasElement.width=u;canvasElement.height=z;canvasContext=canvasElement.getContext("2d");canvasContext.drawImage(t,0,0,u,z);oa();var c=new Image;c.src=canvasElement.toDataURL();I=c;P=u;Q=z}catch(d){a=!0}else a=!0;try{t.pause(),t.currentTime=0}catch(e){}a?b.LOG.errort("Loading of the picture of the video {0} has failed","AddAndPrepareVideo",
!0,m):b.LOG.infot("A screenshot of the video {0} has been created.","AddAndPrepareVideo",!0,m);H=!0;c=new b.WKYMC(f,"PictureLoaded",{video:this,pictureSource:"screenshot"},{sourceChecked:F,pictureLoaded:H});b.IBBJNC.addTransactionResult(c);c={};c.videoid=f;c.playerid=h;c.videoSuspended=D;B=c;B.type="screenshot";B.imagepath=p;B.error=a;if(K){a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});
b.IBBJNC.addTransactionResult(a);for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}},pa=function(a){b.LOG.dev("["+a.type+" external picture], idvideo : "+f+", path : "+l,"AddAndPrepareVideo");a=a||window.event;var c=a.target||a.srcElement;S=!0;if("load"==a.type||"onload"==a.type){I=c;P=I.width;Q=I.height;b.LOG.infot("The external image {0} of the video {1} has been loaded.","AddAndPrepareVideo",!0,O,m);H=!0;a=new b.WKYMC(f,"PictureLoaded",{video:this,pictureSource:"external"},
{sourceChecked:F,pictureLoaded:H});b.IBBJNC.addTransactionResult(a);a={};a.videoid=f;a.playerid=h;a.videoSuspended=D;B=a;B.type="externimage";B.imagepath=p;B.error=!1;if(K){ja();a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}b.LOG.dev("Video has an associated picture, idvideo : "+f+", path : "+
l,"AddAndPrepareVideo")}else if(b.DEBUG&&(b.LOG.errort("The external image {0} of the video {1} has not been loaded.","AddAndPrepareVideo",!0,O,m),b.LOG.dev("image loaded error, idvideo : "+f+", path : "+l,"AddAndPrepareVideo")),D){if(H=!0,a={},a.videoid=f,a.playerid=h,a.videoSuspended=D,B=a,B.type="externimage",B.imagepath=p,B.error=!0,K){a=new b.WKYMC(f,"SynchroVideoLoaded",{video:this},{sourceChecked:F,metadatasLoaded:K,pictureLoaded:H,videoSuspended:D});b.IBBJNC.addTransactionResult(a);
for(a=0;a<L.length;a++)L[a](B);for(a=0;a<M.length;a++)M[a](J)}}else 2!=U||ma||na()},qa=function(){t.addEventListener?(t.addEventListener("error",X,!1),t.addEventListener("loadstart",Z,!1),t.addEventListener("loadedmetadata",aa,!1),t.addEventListener("stalled",ba,!1),t.addEventListener("progress",da,!1),t.addEventListener("suspend",ea,!1),t.addEventListener("abort",fa,!1),t.addEventListener("playing",ga,!1),t.addEventListener("pause",V,!1),t.addEventListener("ended",W,!1),t.addEventListener("resize",
ia,!1)):t.attachEvent&&(t.attachEvent("onerror",X),t.attachEvent("onloadstart",Z),t.attachEvent("onloadedmetadata",aa),t.attachEvent("onstalled",ba),t.attachEvent("progress",da),t.attachEvent("suspend",ea),t.attachEvent("onabort",fa),t.attachEvent("onplaying",ga),t.attachEvent("onpause",V),t.attachEvent("onended",W),t.attachEvent("onresize",ia))},ja=function(){t.addEventListener?(t.removeEventListener("error",X,!1),t.removeEventListener("loadstart",Z,!1),t.removeEventListener("loadedmetadata",aa,
!1),t.removeEventListener("stalled",ba,!1),t.removeEventListener("progress",da,!1),t.removeEventListener("suspend",ea,!1),t.removeEventListener("abort",fa,!1),t.removeEventListener("playing",ga,!1),t.removeEventListener("pause",V,!1),t.removeEventListener("ended",W,!1),t.removeEventListener("resize",ia,!1)):t.attachEvent&&(t.detachEvent("onerror",X),t.detachEvent("onloadstart",Z),t.detachEvent("onloadedmetadata",aa),t.detachEvent("onstalled",ba),t.detachEvent("progress",da),t.detachEvent("suspend",
ea),t.detachEvent("onabort",fa),t.detachEvent("onplaying",ga),t.detachEvent("onpause",V),t.detachEvent("onended",W),t.detachEvent("onresize",ia))},oa=function(){t.addEventListener?(t.removeEventListener("error",Y,!1),t.removeEventListener("stalled",ca,!1),t.removeEventListener("suspend",ka,!1),t.removeEventListener("playing",la,!1),t.removeEventListener("pause",ha,!1)):t.attachEvent&&(t.detachEvent("onerror",Y),t.detachEvent("onstalled",ca),t.detachEvent("suspend",ka),t.detachEvent("onplaying",la),
t.detachEvent("onpause",ha))},t=r,h=d,f=void 0!=g?g:function(){var a=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(b){var c=(a+16*Math.random())%16|0;a=Math.floor(a/16);return("x"==b?c:c&7|8).toString(16)})}(),l=void 0!=e?e:"",m=b.BHDRCCDZN.getFileName(l);void 0!=c?q=c:""!=l&&(q=m.replace(/^.*(\\|\/|\:)/,""));w=void 0!=a?a:"";switch(k){case "1.33:1":case "4/3":case "4:3":y="4:3";break;case "5/4":case "5:4":y="5:4";break;case "1.77:1":case "16/9":case "16:9":y=
"16:9";break;case "1.85:1":case "185:100":case "185:100":y="185:100";break;case "2.35:1":case "235/100":case "235:100":y="235:100";break;case "2.39:1":case "239/100":case "239:100":y="239:100";break;default:y=""}p=void 0!=n?n:"";O=b.BHDRCCDZN.getFileName(p)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.KJCHZSLPX&&(pauseplayer.KJCHZSLPX=function(b){return function(r,d,g,e,c){var a=null,k="",n="image",h="default",f=null,l="transparent",m=null;this.getName=function(){return k};this.getType=function(){return n};this.getDisplayMode=function(){return h};this.getBackgroundColor=function(){return l};this.setName=function(a){k=void 0!=a?a:""};this.setDisplayMode=function(a){h=void 0!=a?a:"default"};this.setBackgroundColor=
function(a){l=void 0!=a?a:"transparent"};this.setType=function(a){n=void 0!=a?a:""};this.setPicture=function(a){f=a};this.setPicturePath=function(a){b.LOG.dev("Picture viewer HTML5 : load picture in "+k);""!=a&&(m=new Image,m.addEventListener?(m.addEventListener("load",y,!1),m.addEventListener("error",y,!1)):(m.attachEvent("onload",y),m.attachEvent("onerror",y)),m.src=a)};this.create=function(){q()};var q=function(){b.LOG.info("Picture viewer HTML5 : add video picture in "+k);var c=document.getElementById(a.getPlayerID()+
"_"+k);c&&(c.style.backgroundImage=null!=f?"url('"+f.src+"')":"",c.style.backgroundColor=l,c.style.backgroundRepeat="no-repeat",w(),a.setVideoPlayerResizeFunctionCallback(A))};this.show=function(){b.LOG.info("Picture viewer HTML5 : display viewer with video picture in "+k);b.BHDRCCDZN.setVisibility(a.getPlayerID()+"_"+k,"visible")};this.hide=function(){b.BHDRCCDZN.setVisibility(a.getPlayerID()+"_"+k,"hidden")};var w=function(){var c=document.getElementById(a.getPlayerID()+"_"+k);if(c&&0<b.jQuery(c).width()&&
""!=c.style.backgroundImage)switch(c.style.backgroundPosition="50% 50%",h){case "cover":c.style.backgroundSize="cover";break;case "stretch":c.style.backgroundSize="100%";break;case "default":c.style.backgroundSize="contain"}},A=function(a){w()},y=function(a){a=a||window.event;var c=a.target||a.srcElement;"load"==a.type||"onload"==a.type?(f=c,q(),b.LOG.infot("Picture viewer HTML5 : the image {0} has been loaded to {1}.","",!0,b.BHDRCCDZN.getFileName(m.src),k)):b.LOG.errort("Picture viewer HTML5 : the image {0} has not been loaded to {1}.",
"",!0,b.BHDRCCDZN.getFileName(m.src),k)},a=r,k=d,n=g,h=void 0!=e?e:"default",l=void 0!=c?c:"transparent";this.create()}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.QNNLUTD&&(pauseplayer.QNNLUTD=function(b){return function(r){var d="",g="",e=!1,c=!1,a=[],k=[],n=!1,h=-1,f=-1,l=-1,m=-1;this.getPlayerID=function(){return d};this.isFullscreenAvailable=function(){return c};this.isInFullscreen=function(){return n};this.isSVGSupported=function(){return e};this.getMobileOS=function(){return g};this.getPlayerWidth=function(){return h};this.getPlayerHeight=function(){return f};this.getPlayState=
function(){return"stop"};this.calculatePlayerSize=function(){q();w();A()};this.setVideoPlayerResizeFunctionCallback=function(b){"function"==typeof b&&(a[a.length]=b)};this.setFullscreenFunctionCallback=function(a){"function"==typeof a&&(k[k.length]=a)};this.removeFullscreenFunctionCallback=function(a){if("function"==typeof a)for(var b=0;b<k.length;b++)if(k[b]==a){k.splice(b,1);break}};this.activeResizeEvent=function(){var a=document.getElementById(d+"_container");b.jQuery(a).resize(A)};var q=function(){h=
n&&b.BHDRCCDZN.currentPageIsInIframe()&&(!document.documentMode&&window.StyleMedia||0<window.navigator.userAgent.indexOf("Trident/7.0"))?Math.round(screen.width):Math.round(null!=document.getElementById(d+"_container")?b.jQuery(document.getElementById(d+"_container")).width():0)},w=function(){f=n&&b.BHDRCCDZN.currentPageIsInIframe()&&(!document.documentMode&&window.StyleMedia||0<window.navigator.userAgent.indexOf("Trident/7.0"))?Math.round(screen.height):Math.round(null!=document.getElementById(d+"_container")?
b.jQuery(document.getElementById(d+"_container")).height():0)},A=function(b){q();w();if(-1!=l&&h==l&&f==m)return!1;l=h;m=f;b={};b.width=h;b.height=f;if(0<a.length)for(var c=0;c<a.length;c++)a[c](b)},y=function(c){n=b.BHDRCCDZN.isInFullScreen()?!0:!1;q();w();l=h;m=f;c={};c.width=h;c.height=f;if(0<a.length)for(var d=0;d<a.length;d++)a[d](c);c.fullscreen=n;if(0<k.length)for(d=0;d<k.length;d++)k[d](c)},d=r,g=b.BHDRCCDZN.getMobileOS(),e=b.BHDRCCDZN.isSVGSupported(),c=b.BHDRCCDZN.isFullscreenAvailable();document.addEventListener?
(document.addEventListener("fullscreenchange",y,!1),document.addEventListener("mozfullscreenchange",y,!1),document.addEventListener("webkitfullscreenchange",y,!1),document.addEventListener("MSFullscreenChange",y,!1)):document.attachEvent&&document.attachEvent("onfullscreenchange",y)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.OFVBV&&(pauseplayer.OFVBV=function(b){return function(r,d,g,e,c,a,k){var n="",h=null,f=!1,l=!1,m=!1,q=-1,w="",A=!1,y=!1,x=!1,C=!1,u=[],z=[],v=-1,E="stop",p=null,O=[],I=[],P=[],Q=[],N=[],T=.75,R=0,F=null,D=0;this.getID=function(){return n};this.getDOMelement=function(){return p};this.XRSADBC=function(){return v};this.getCurrentVideoID=function(){return-1!=v&&u.length>=v+1?u[v].getID():""};this.JGJTNYWVHE=
function(){return u.length};this.getPlayerWidth=function(){return h.getPlayerWidth()};this.getPlayerHeight=function(){return h.getPlayerHeight()};this.getPlayState=function(){return E};this.getDuration=function(a){if(void 0==a||-1==a)if(-1!=v)a=v;else return 0;return a>u.length-1||0>a?0:u[a].getDuration()};this.getTitle=function(a){if(void 0==a||-1==a)if(-1!=v)a=v;else return"";return a>u.length-1||0>a?"":u[a].getTitle()};this.getVideoDisplayMode=function(){return w};this.getVideos=function(){return u};
this.getVolume=function(){return T};this.setPlayFunctionCallback=function(a){"function"==typeof a&&(O[O.length]=a)};this.removePlayFunctionCallback=function(a){if("function"==typeof a)for(var b=0;b<O.length;b++)if(O[b]==a){O.splice(b,1);break}};this.setPlayUpdateFunctionCallback=function(a){"function"==typeof a&&(I[I.length]=a)};this.removePlayUpdateFunctionCallback=function(a){if("function"==typeof a)for(var b=0;b<I.length;b++)if(I[b]==a){I.splice(b,1);break}};this.setLoadFunctionCallback=function(a){"function"==
typeof a&&(P[P.length]=a)};this.setPictureFunctionCallback=function(a){"function"==typeof a&&(Q[Q.length]=a)};this.setVolumeFunctionCallback=function(a){"function"==typeof a&&(N[N.length]=a)};this.setVideoDisplayMode=function(a){var c=w;w=void 0!=a?a:"default";if(w!=c)for(a=0;a<=b.players.length-1;a++)if(c=b.players[a],c.id==n&&void 0!=c.ROHGWKOSI){c.ROHGWKOSI.positionAndResizeVideo();break}};this.setAutoPlay=function(a){(f=void 0!=a&&a?!0:!1)&&0<u.length&&S()};this.setPlayNonStop=
function(a){l=void 0!=a&&a?!0:!1};this.setLoopingAllVideos=function(a){m=void 0!=a?a:!1};this.setLoopingVideo=function(a){a=void 0!=a?a:-1;0<=a?q=a:0<=v&&(q=v)};this.setVolume=function(a){if(!x){a=void 0!=a?a:0;1<a&&(a=1);0>a&&(a=0);a=Math.round(100*a)/100;T=p.volume=a;for(a=0;a<N.length;a++)N[a](T);A&&saveUserSettings()}};this.setMute=function(a){x||(void 0!=a&&a?0!=p.volume&&(R=p.volume,0==R&&(R=.75),this.setVolume(0)):0==p.volume&&this.setVolume(R),A&&saveUserSettings())};this.setUserSettings=
function(a){A=void 0!=a&&a?!0:!1};this.toggleMute=function(){x||(0==p.volume?this.setMute(!0):this.setMute(!1))};this.volumeUp=function(){0==p.volume?(this.setMute(!0),this.setVolume(.1)):this.setVolume(T+.1)};this.volumeDown=function(){this.setVolume(T-.1)};this.setPreloadTime=function(a){D=a};this.loadUserSettings=function(){if(!0===b.BHDRCCDZN.isLocalStorageAvailable())try{var a=parseFloat(String(localStorage.getItem("pauseplayer_volume")));!1===a||isNaN(a)||this.setVolume(Math.round(100*a)/100);var c=
localStorage.getItem("pauseplayer_mute");null!=c&&("true"!=c&&!0!==c||this.setMute(!0),"false"!=c&&!1!==c||this.setMute(!1));return!0}catch(d){"QuotaExceededError"!==d.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==d.name||b.LOG.warnt("Local storage unavailable : user's settings are not loaded.","",!0)}return!1};this.saveUserSettings=function(){if(!0===b.BHDRCCDZN.isLocalStorageAvailable())try{return localStorage.setItem("pauseplayer_volume",T),localStorage.setItem("pauseplayer_mute",0==T?"true":"false"),!0}catch(a){return"QuotaExceededError"!==
a.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==a.name||b.LOG.warnt("Quota of local storage exceeded : user's settings are not saved.","",!0),!1}else return!1};this.add=function(a){U(a)};var U=function(a){b.LOG.infot("Add video {0} to the player","AddAndPrepareVideo",!0,a.file);var c=new b.HTML5Video(y?p:null,n,a.id,a.file,a.title,a.description,a.ratio,a.image);z[z.length]=c;var d=new b.ZWBLZF("AddAndPrepareVideo",a.id);b.IBBJNC.addTransaction(d);a=new b.WKYMC(a.id,
"AddVideoToThePlayer",{video:c});b.IBBJNC.addTransactionResult(a);if(1==z.length&&!y||1==z.length&&y&&!x&&"stop"==E)c.setMetadatasFunctionCallback(J),c.setPictureFunctionCallback(B),c.load(),x=!0},G=function(a){var b=a;"end"==b&&(b="stop");E=b;if(0<O.length)for(b={},b.playerid=n,b.state=a,b.videoindex=v,b.videoid=0<=v?u[v].getID():"",b.videofile=0<=v?u[v].getPath():"",b.videoimage=0<=v?u[v].getPicturePath():"",a=0;a<O.length;a++)O[a](b)},J=function(a){b.LOG.dev("onVideoLoaded, videosLoading.length : "+
z.length+", infos.videoid : "+a.videoid+", infos.error : "+a.error+", infos.videoSuspended : "+a.videoSuspended,"AddAndPrepareVideo");for(var c=null,d=0;d<z.length;d++)if(z[d].getID()==a.videoid){c=z[d];break}if(null==c)b.LOG.dev("Error : can't find the video in array this.videosLoading","AddAndPrepareVideo");else{d=x=!1;if(a.error)if(a.videoSuspended){var d=!0,e=new b.WKYMC(c.getID(),"VideoSuspendedInLoading",{video:c});b.IBBJNC.addTransactionResult(e);b.setStep(n,
"suspended")}else b.LOG.warnt("The video {0} can not be loaded, it is deleted from the playlist.","AddAndPrepareVideo",!0,c.getFilename()),z.shift(),e=new b.WKYMC(c.getID(),"VideoRemoved",{video:c}),b.IBBJNC.addTransactionResult(e);else(u.push(c),z.shift(),b.LOG.infot("The video {0} is loaded to the playlist","AddAndPrepareVideo",!0,c.getFilename()),e=new b.WKYMC(c.getID(),"VideoAdded",{video:c}),b.IBBJNC.addTransactionResult(e),f&&1==
u.length&&(!y||y&&0==z.length))?S():f||1!=u.length||y&&(!y||0!=z.length)?-1!=v&&"stop"==E&&y&&(q==v&&(S(v),playingFinish=!1),l&&(v+1<=u.length-1?(S(v+1),playingFinish=!1):m&&(S(0),playingFinish=!1))):(v=0,b.jQuery(p).off(),ia(),ha(),y||(p.src=u[0].getPath()),G("WXICC"),p.volume=0,p.play());for(e=0;e<P.length;e++)P[e](a,c);!d&&0<z.length&&(y&&(b.jQuery(p).off(),W()),z[0].setMetadatasFunctionCallback(J),z[0].setPictureFunctionCallback(B),z[0].load(),x=!0)}},B=function(a){b.LOG.infot("The picture {0} of the video {1} is loaded",
"AddAndPrepareVideo",!0,a.imagepath,a.videoid);for(var c=0;c<Q.length;c++)Q[c](a)},S=function(a,c){void 0!=c&&!0===c&&(l=!0);if(void 0==a||-1==a)a=-1!=v?v:0;if(a>u.length-1||0>a){if(0<z.length&&z[0].isVideoSuspended()){var d={};d.id=z[0].getID();d.file=z[0].getPath();d.title=z[0].getTitle();d.description=z[0].getDescription();d.image=z[0].getPicturePath();d.ratio=z[0].getRatio();z.shift();U(d);return!0}return!1}-1!=v&&a!=v&&V();if(a==v&&"preload"==E||a==v&&"play"==E)return!1;b.LOG.dev("play videoid : "+
a);ha();a==v?("WXICC"==E&&(p.pause(),p.currentTime=0,p.volume=T,p.play(),G("preloadFinished"),G("play")),"pause"==E&&(p.play(),G("play")),"stop"==E&&(0<D?(p.volume=0,G("preload")):G("preloadFinished"),b.jQuery(p).off(),ia(),ha(),y||(p.src=u[a].getPath()),p.play())):(-1!=v&&V(),b.jQuery(p).off(),W(),u[a].isVideoSuspended()?(b.jQuery(p).off(),W(),u[a].load(),x=!0):(v=a,0<D?(p.volume=0,G("preload")):G("preloadFinished"),ia(),ha(),p.src=u[a].getPath(),p.play()));return!0},ma=function(){if(x)return!1;
if(-1!=v&&0<p.currentTime){var a=p.currentTime-Math.round(u[v].getDuration()/15);0>a&&(a=0);M(a);return!0}return!1},H=function(){if(x)return!1;if(-1!=v&&p.currentTime<u[v].getDuration()){var a=p.currentTime+Math.round(u[v].getDuration()/15);a>u[v].getDuration()&&(a=u[v].getDuration());M(a);return!0}return!1},K=function(){if(x)return!1;if(0<v)S(v-1);else{if(q==v)return V(),S(),!0;if(m&&1<u.length)return S(u.length-1),!0}return!1},t=function(){if(v+1<=u.length-1)S(v+1);else{if(q==v)return V(),S(),!0;
if(m&&1<u.length)return S(0),!0}return!1},M=function(a){return x?!1:-1!=v&&a<=u[v].getDuration()?(p.currentTime=a,!0):!1},L=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v);W();if(a.target.error)switch(a.target.error.code){case a.target.error.MEDIA_ERR_ABORTED:b.LOG.errort("The playback of the video {0} is aborted by user","",!0,filename);break;case a.target.error.MEDIA_ERR_NETWORK:b.LOG.errort("A network error caused the video download of {0} to fail.","",!0,filename);break;
case a.target.error.MEDIA_ERR_DECODE:b.LOG.errort("The video playback of {0} was aborted due to a corruption problem or because the video used features the browser did not support.","",!0,filename);break;case a.target.error.MEDIA_ERR_SRC_NOT_SUPPORTED:b.LOG.errort("The video {0} could not be loaded, either because the server or network failed or because the format is not supported.","",!0,filename);break;default:b.LOG.errort("An unknown error occurred on the video {0}.","",!0,filename)}else if(p.networkState==
p.NETWORK_NO_SOURCE?b.LOG.errort("No file to read"):b.LOG.errort("An unknown error occurred on the video {0}.","",!0,filename),"WXICC"==E&&(G("preloadFinished"),G("stop"),p.pause(),p.currentTime=0),"play"==E)for(G("stop"),p.pause(),a=p.currentTime=0;a<=b.players.length-1;a++){var c=b.players[a];if(c.id==n){a=new b.ZLBFZOI(c.id,b.RCNVUAJOI.t("playback error"),!0,8);b.ORWMDPHRC.addMessage(a);break}}},X=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v)},
Y=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v)},Z=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v);na()},aa=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v)},ba=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v)},ca=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v)},da=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v)},ea=function(a){a=a||window.event;
b.LOG.dev("["+a.type+"] current video : "+v)},ka=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v)},fa=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v);a=1E3;5>D&&("preload"==E||"WXICC"==E)&&(a=100);F=setInterval(la,a);"preload"!=E&&"WXICC"!=E&&G("play")},ga=function(a){a=a||window.event;b.LOG.dev("["+a.type+"] current video : "+v);b.LOG.infot("playback of the video {0} is stopped","",!0,u[v].getFilename());G("stop");clearInterval(F);
W();la();playingFinish=!0;if(0<z.length&&y)z[0].setMetadatasFunctionCallback(J),z[0].setPictureFunctionCallback(B),z[0].load(),x=!0;else{if(q==v){S(v);playingFinish=!1;return}l&&(v+1<=u.length-1?(S(v+1),playingFinish=!1):m&&(S(0),playingFinish=!1))}playingFinish&&p.currentTime>=u[v].getDuration()&&G("end")},la=function(){var a=na();if("preload"==E||"WXICC"==E){var b=D>u[v].getDuration()?u[v].getDuration():D,c=!1;-1!=a.bytesLoaded&&-1!=a.bytesTotal?(b=a.bytesTotal*(b/u[v].getDuration()),
c=a.bytesLoaded>b&&("preload"==E||"WXICC"==E)):c=p.currentTime>b;c&&(p.volume=T,"WXICC"==E?(W(),clearInterval(F),p.pause(),p.currentTime=0,G("preloadFinished"),G("pause")):(clearInterval(F),p.pause(),p.currentTime=0,G("preloadFinished"),G("play"),p.play()))}if("pause"!=E&&"stop"!=E&&(b={},b.time=p.currentTime,b.bytesLoaded=-1!=a.bytesLoaded?a.bytesLoaded:0,b.bytesTotal=-1!=a.bytesTotal?a.bytesTotal:0,b.bufferLength=-1!=a.timeLoaded?a.timeLoaded:0,b.bufferTime=-1!=a.duration?
a.duration:0,b.state=E,"WXICC"==E&&(b.state="preload"),0<I.length))for(a=0;a<I.length;a++)I[a](b)},V=function(){-1!=v&&(b.LOG.dev("stop videoid : "+v),G("pause"),p.pause(),p.currentTime=0)},ha=function(){p.addEventListener?(p.addEventListener("error",L,!1),p.addEventListener("loadstart",X,!1),p.addEventListener("stalled",Y,!1),p.addEventListener("progress",Z,!1),p.addEventListener("canplay",aa,!1),p.addEventListener("canplaythrough",ba,!1),p.addEventListener("suspend",ca,!1),p.addEventListener("abort",
da,!1),p.addEventListener("playing",fa,!1),p.addEventListener("pause",ea,!1),p.addEventListener("ended",ga,!1),p.addEventListener("waiting",ka,!1)):p.attachEvent&&(p.attachEvent("onerror",L),p.attachEvent("onloadstart",X),p.attachEvent("onstalled",Y),p.attachEvent("onprogress",Z),p.attachEvent("oncanplay",aa),p.attachEvent("oncanplaythrough",ba),p.attachEvent("onsuspend",ca),p.attachEvent("onabort",da),p.attachEvent("onplaying",fa),p.attachEvent("onpause",ea),p.attachEvent("onended",ga))},W=function(){p.addEventListener?
(p.removeEventListener("error",L,!1),p.removeEventListener("loadstart",X,!1),p.removeEventListener("stalled",Y,!1),p.removeEventListener("progress",Z,!1),p.removeEventListener("canplay",aa,!1),p.removeEventListener("canplaythrough",ba,!1),p.removeEventListener("suspend",ca,!1),p.removeEventListener("abort",da,!1),p.removeEventListener("playing",fa,!1),p.removeEventListener("pause",ea,!1),p.removeEventListener("ended",ga,!1),p.removeEventListener("waiting",ka,!1)):p.attachEvent&&(p.detachEvent("onerror",
L),p.detachEvent("onloadstart",X),p.detachEvent("onstalled",Y),p.detachEvent("onprogress",Z),p.detachEvent("oncanplay",aa),p.detachEvent("oncanplaythrough",ba),p.detachEvent("onsuspend",ca),p.detachEvent("onabort",da),p.detachEvent("onplaying",fa),p.detachEvent("onpause",ea),p.detachEvent("onended",ga))},ia=function(){p.id=n;p.setAttribute("x-webkit-airplay","allow");p.setAttribute("webkit-playsinline","webkit-playsinline");p.autoplay=!1;p.controls=!1;p.preload="auto";p.volume=T},na=function(){var a=
{bytesLoaded:-1,bytesTotal:-1,timeLoaded:-1,duration:-1,percentLoaded:-1};if(null!=p&&0<=v){a.duration=u[v].getDuration();0<u[v].getSize()&&(a.bytesTotal=u[v].getSize());var b=null;p.buffered&&0<p.buffered.length&&p.buffered.end&&p.duration&&(b=p.buffered.end(0)/p.duration,a.timeLoaded=p.buffered.end(0),a.duration=p.duration);void 0!=p.bytesTotal&&0<p.bytesTotal&&void 0!=p.bufferedBytes&&(b=p.bufferedBytes/p.bytesTotal,a.bytesLoaded=p.bufferedBytes,a.bytesTotal=p.bytesTotal);null!==b&&(b=100*Math.min(1,
Math.max(0,b)),a.percentLoaded=b);-1!=a.percentLoaded&&-1==a.timeLoaded&&-1!=a.duration&&(a.timeLoaded=a.duration*a.percentLoaded/100);-1!=a.percentLoaded&&-1==a.bytesLoaded&&-1!=a.bytesTotal&&(a.bytesLoaded=a.bytesTotal*a.percentLoaded/100)}return a};this.playByJavascript=function(a,c){C=!0;for(var d=!1,e=null,g=0;g<=b.players.length-1;g++){var f=b.players[g];if(f.id==n&&"playersuspended"==f.step){d=!0;e=f;break}}if(d)for(d=new b.WKYMC("suspended_"+e.id,"UserInteractionWasMade",
{userInteractionWasMade:C}),b.IBBJNC.addTransactionResult(d),b.setStep(n,"player"),f=new b.WKYMC("suspended_"+f.id,"PlayerStepPlayer",{playerstep:e.step}),b.IBBJNC.addTransactionResult(f),this.setAutoPlay(!0),b.LOG.dev("Add videos after player suspended"),f=0;f<=e.config.playlist.length-1;f++)"new"==e.config.playlist[f].state&&(this.add(e.config.playlist[f]),e.config.playlist[f].state="onload");else S(a,c)};this.pauseByJavascript=function(){-1!=v&&(b.LOG.dev("pause videoid : "+
v),G("pause"),p.pause())};this.stopByJavascript=function(){V()};this.speedLeftByJavascript=function(){ma()};this.speedRightByJavascript=function(){H()};this.previousByJavascript=function(){K()};this.nextByJavascript=function(){t()};this.moveByJavascript=function(a){M(a)};this.muteByJavascript=function(a){this.setMute(void 0!=a?a:!1)};this.toggleMuteByJavascript=function(){this.toggleMute()};this.volumeUpByJavascript=function(){this.volumeUp()};this.volumeDownByJavascript=function(){this.volumeDown()};
this.addByJavascript=function(a){this.add(a)};this.deleteAllByJavascript=function(){V();v=-1;u=[];z=[]};this.deleteVideoByJavascript=function(a){v==a&&V();u.length>=a+1&&(u.splice(a,1),v==a&&(v=0<u.length?a+2<=u.length?a+1:0:-1))};this.setStartContentConfigurationByJavascript=function(a,c,d,e){a=void 0!=a?a:"";c=void 0!=c?c:"default";d=void 0!=d?d:"";e=void 0!=e?e:"transparent";for(var g=0;g<=b.players.length-1;g++){var f=b.players[g];if(f.id==n){f.ATWMPY.setType(a);f.ATWMPY.setDisplayMode(c);
f.ATWMPY.setPicturePath(d);f.ATWMPY.setBackgroundColor(e);break}}};this.loadStartContentByJavascript=function(a,c){var d=void 0!=a?a:-1,e=void 0!=c?c:"default";if(void 0==d||-1==d)d=v;if(u.length-1>=d&&null!=u[d]&&null!=u[d].getPicture())for(var g=0;g<=b.players.length-1;g++){var f=b.players[g];if(f.id==n){f.UBFXTYOLNU.setType("image");f.ATWMPY.setPicture(u[d].getPicture());f.ATWMPY.setDisplayMode(void 0!=e?e:"default");f.ATWMPY.create();
break}}};this.showStartContentByJavascript=function(){for(var a=0;a<=b.players.length-1;a++){var c=b.players[a];if(c.id==n){c.ATWMPY.show();c.RAGB=!0;break}}};this.hideStartContentByJavascript=function(){for(var a=0;a<=b.players.length-1;a++){var c=b.players[a];if(c.id==n){c.ATWMPY.hide();c.RAGB=!1;break}}};this.setEndContentConfigurationByJavascript=function(a,c,d,e){a=void 0!=a?a:"";c=void 0!=c?c:"default";d=void 0!=d?d:"";e=void 0!=
e?e:"transparent";for(var g=0;g<=b.players.length-1;g++){var f=b.players[g];if(f.id==n){f.UBFXTYOLNU.setType(a);f.UBFXTYOLNU.setDisplayMode(c);f.UBFXTYOLNU.setPicturePath(d);f.UBFXTYOLNU.setBackgroundColor(e);break}}};this.loadEndContentByJavascript=function(a,c){var d=void 0!=a?a:-1,e=void 0!=c?c:"default";if(void 0==d||-1==d)d=v;if(u.length-1>=d&&null!=u[d].getPicture())for(var f=0;f<=b.players.length-1;f++){var g=b.players[f];if(g.id==n){g.UBFXTYOLNU.setType("image");
g.UBFXTYOLNU.setPicture(u[d].getPicture());g.UBFXTYOLNU.setDisplayMode(void 0!=e?e:"default");g.UBFXTYOLNU.create();break}}};this.showEndContentByJavascript=function(){for(var a=0;a<=b.players.length-1;a++){var c=b.players[a];if(c.id==n){c.UBFXTYOLNU.show();c.BJFSRIQ=!0;break}}};this.hideEndContentByJavascript=function(){for(var a=0;a<=b.players.length-1;a++){var c=b.players[a];if(c.id==n){c.UBFXTYOLNU.hide();c.BJFSRIQ=!1;break}}};n=r;h=
d;f=void 0!=g&&g?!0:!1;l=void 0!=e&&e?!0:!1;m=void 0!=c?c:!1;q=void 0!=a?a:-1;w=void 0!=k?k:"default";p=document.createElement("video");ia();new b.KJCHZSLPX(h);"iOS"==b.BHDRCCDZN.getMobileOS()&&(y=!0)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.BMFW&&(pauseplayer.BMFW=function(b){return function(r,d,g,e,c){var a=null,k=null,n="",h="default",f="normal",l=!1,m=!1,q=-1,w=-1,A=null,y=null,x=null,C=null,u=null,z=null,v=null,E=null,p=null,O=null,I=null,P=null,Q=null,N=null,T=null,R=null,F=null,D=null;this.setControlsDisplayMode=function(c){var d=n;if(n==c)return!1;n=c;"never"==d&&"never"!=n&&a.setPlayUpdateFunctionCallback(J);"never"!=d&&"never"==
n&&a.removePlayUpdateFunctionCallback(J);for(c=0;c<=b.players.length-1;c++)if(d=b.players[c],d.id==a.getID()){d.DJBTNUJP.setControlsDisplayMode(n);break}G()};this.setTheme=function(a,b){if(h==a&&f==b)return!1;h=a;f=b;G()};this.getControlsDisplayMode=function(){return n};this.getTheme=function(){return h};this.getThemeSize=function(){return f};this.getVideoPlayer=function(){return a};var U=function(a,b){A.setSize(a-(null!=F?"normal"==f?50:115:0),"normal"==f?40:140);var c=A.x=0,d=0,e=0;
"normal"==f&&(282<=a?(c=195,d=a-195-87,e=87):c=195<=a?195:a);"big"==f&&(863<=a?(c=570,d=a-570-293,e=293):c=570<=a?570:a);0>c&&(c=0);0>d&&(d=0);0>e&&(e=0);y.setSize(c);y.getDOMelement().style.left="0px";x.setSize(d,"normal"==f?40:140);x.getDOMelement().style.left=Math.round(c)+"px";C.setSize(e);C.getDOMelement().style.left=Math.round(c+d)+"px"},G=function(){l&&(a.getDOMelement().setAttribute("width","100%"),a.getDOMelement().setAttribute("height","100%"),a.getDOMelement().style.top="-"+Math.round(2*
w)+"px",a.getDOMelement().style.left="0px");u.resize();z.resize();z.setVisible(!0);u.setVisible(!0);w<2*("normal"==f?40:140)&&z.setVisible(!1);w<("normal"==f?40:140)&&u.setVisible(!1);null!=F?R.setSize(q-30-b.jQuery(F.getDOMelement()).width()-("normal"==f?40:140)):R.setSize(q-30-("normal"==f?40:140));U(q,w);p.resize()},J=function(b){"preload"!=a.getPlayState()&&"WXICC"!=a.getPlayState()&&E.setTime(b.time)},B=function(){if(0<=a.XRSADBC()&&!l){var c=a.getVideos()[a.XRSADBC()].getWidth(),
d=a.getVideos()[a.XRSADBC()].getHeight(),e=a.getVideos()[a.XRSADBC()].getWidthCorrected(),g=a.getVideos()[a.XRSADBC()].getHeightCorrected();if("default"==a.getVideoDisplayMode()){var f=b.BHDRCCDZN.calculateResize(c,d,q,w),k=f.width,f=f.height;if(c!=e||d!=g){var h=b.BHDRCCDZN.calculateResize(e,g,q,w),m=b.BHDRCCDZN.calculateOutsideResize(c,d,h.width,h.height),k=m.width,f=m.height;a.getDOMelement().setAttribute("width",k+"px");a.getDOMelement().setAttribute("height",f+"px");
var m=h.width/h.height,n=k/f,p=b.jQuery(a.getDOMelement());m>n?(p.css("-webkit-transform","scaleY("+n/m+")"),p.css("-o-transform","scaleY("+n/m+")"),p.css("-moz-transform","scaleY("+n/m+")"),p.css("-ms-transform","scaleY("+n/m+")"),p.css("transform","scaleY("+n/m+")")):m<n&&(p.css("-webkit-transform","scaleX("+m/n+")"),p.css("-o-transform","scaleX("+m/n+")"),p.css("-moz-transform","scaleX("+m/n+")"),p.css("-ms-transform","scaleX("+m/n+")"),p.css("transform","scaleX("+m/n+")"))}else a.getDOMelement().setAttribute("width",
k+"px"),a.getDOMelement().setAttribute("height",f+"px");a.getDOMelement().style.top=Math.round((w-f)/2)+"px";a.getDOMelement().style.left=Math.round((q-k)/2)+"px"}if("noresize"==a.getVideoDisplayMode()){a.getDOMelement().setAttribute("width",c+"px");a.getDOMelement().setAttribute("height",d+"px");if(c!=e||d!=g)m=e/g,n=c/d,p=b.jQuery(a.getDOMelement()),m>n?(p.css("-webkit-transform","scaleY("+n/m+")"),p.css("-o-transform","scaleY("+n/m+")"),p.css("-moz-transform","scaleY("+n/m+")"),p.css("-ms-transform",
"scaleY("+n/m+")"),p.css("transform","scaleY("+n/m+")")):m<n&&(p.css("-webkit-transform","scaleX("+m/n+")"),p.css("-o-transform","scaleX("+m/n+")"),p.css("-moz-transform","scaleX("+m/n+")"),p.css("-ms-transform","scaleX("+m/n+")"),p.css("transform","scaleX("+m/n+")"));a.getDOMelement().style.top=Math.round((w-d)/2)+"px";a.getDOMelement().style.left=Math.round((q-c)/2)+"px"}"stretch"==a.getVideoDisplayMode()&&(f=b.BHDRCCDZN.calculateOutsideResize(c,d,q,w),a.getDOMelement().setAttribute("width",f.width+
"px"),a.getDOMelement().setAttribute("height",f.height+"px"),m=q/w,n=f.width/f.height,p=b.jQuery(a.getDOMelement()),m>n?(p.css("-webkit-transform","scaleY("+n/m+")"),p.css("-o-transform","scaleY("+n/m+")"),p.css("-moz-transform","scaleY("+n/m+")"),p.css("-ms-transform","scaleY("+n/m+")"),p.css("transform","scaleY("+n/m+")")):m<n&&(p.css("-webkit-transform","scaleX("+m/n+")"),p.css("-o-transform","scaleX("+m/n+")"),p.css("-moz-transform","scaleX("+m/n+")"),p.css("-ms-transform","scaleX("+m/n+")"),
p.css("transform","scaleX("+m/n+")")),a.getDOMelement().style.top=Math.round((w-f.height)/2)+"px",a.getDOMelement().style.left=Math.round((q-f.width)/2)+"px");"cover"==a.getVideoDisplayMode()&&(f=b.BHDRCCDZN.calculateOutsideResize(e,g,q,w),h=b.BHDRCCDZN.calculateOutsideResize(c,d,f.width,f.height),a.getDOMelement().setAttribute("width",h.width+"px"),a.getDOMelement().setAttribute("height",h.height+"px"),m=f.width/f.height,n=h.width/h.height,p=b.jQuery(a.getDOMelement()),m>n?(p.css("-webkit-transform","scaleY("+
n/m+")"),p.css("-o-transform","scaleY("+n/m+")"),p.css("-moz-transform","scaleY("+n/m+")"),p.css("-ms-transform","scaleY("+n/m+")"),p.css("transform","scaleY("+n/m+")")):m<n&&(p.css("-webkit-transform","scaleX("+m/n+")"),p.css("-o-transform","scaleX("+m/n+")"),p.css("-moz-transform","scaleX("+m/n+")"),p.css("-ms-transform","scaleX("+m/n+")"),p.css("transform","scaleX("+m/n+")")),a.getDOMelement().style.top=Math.round((w-h.height)/2)+"px",a.getDOMelement().style.left=Math.round((q-h.width)/2)+"px")}},
a=r,k=d,n=void 0!=g?g:"disappear",h=void 0!=e?e:"default",f=void 0!=c?c:"normal";a.getDOMelement().style.position="absolute";nbVideos=a.JGJTNYWVHE();r=document.getElementById(a.getID()+"_animation");(new b.Keyboard(r)).setKeypressFunctionCallback(function(c){if(c.keyCode==b.Keyboard.SPACE){var d=a.getPlayState();"pause"==d&&a.playByJavascript();"play"==d&&a.pauseByJavascript()}c.keyCode==b.Keyboard.ESCAPE&&k.isInFullscreen()&&null!=F&&F.exitFullscreen()});d=document.createElement("div");d.id=
a.getID()+"_controls";d.className+=" pauseplayerControls";d.style.width="100%";d.style.height="100%";d.style.position="absolute";d.style.top="0px";d.style.left="0px";"big"==f&&(d.className+=" bigsize");b.BHDRCCDZN.isSVGSupported()||(document.getElementById(a.getID()+"_container").className+=" nosvg",d.className+=" nosvg");r.appendChild(a.getDOMelement());r.appendChild(d);q=k.getPlayerWidth();w=k.getPlayerHeight();u=new b.IYLHEMF(k,"normal"==f?40:140,"down",n);d.appendChild(u.getDOMelement());z=new b.IYLHEMF(k,
"normal"==f?40:140,"up",n);d.appendChild(z.getDOMelement());A=new b.ISEMOCIRKI(q-("normal"==f?50:115),"normal"==f?40:140,5,0,0,5,5,"left","middle");z.getDOMelement().appendChild(A.getDOMelement());y=new b.ISEMOCIRKI(5*q/9,-1,10,0,0,5,0,"left","middle");u.getDOMelement().appendChild(y.getDOMelement());y.getDOMelement().style.top="normal"==f?"10px":"30px";x=new b.JAXZEMJM(2*q/9,"normal"==f?40:140,0,0,0,5,5,"center","middle");u.getDOMelement().appendChild(x.getDOMelement());
x.getDOMelement().style.top="5px";C=new b.ISEMOCIRKI(2*q/9,-1,10,0,0,0,5,"right","middle");u.getDOMelement().appendChild(C.getDOMelement());C.getDOMelement().style.top="normal"==f?"10px":"30px";U(q,w);E=new b.BYWKWUOZ(a);0==nbVideos&&E.setVisible(!1);x.add(E.getDOMelement());v=new b.MDXJPGKTQG(a);0==nbVideos&&v.setVisible(!1);x.add(v.getDOMelement());O=new b.COIKYCTR(a);0==nbVideos&&O.setVisible(!1);y.add(O.getDOMelement());I=new b.ZOCCJCG(a);0==nbVideos?I.setVisible(!1):
-1<a.XRSADBC()&&0==!a.getVideos()[a.XRSADBC()].getCanSeek()&&I.setVisible(!1);y.add(I.getDOMelement());P=new b.ZSPHMR(a);0==nbVideos&&P.setVisible(!1);y.add(P.getDOMelement());Q=new b.SNEBNAZBMT(a);0==nbVideos?Q.setVisible(!1):-1<a.XRSADBC()&&0==!a.getVideos()[a.XRSADBC()].getCanSeek()&&Q.setVisible(!1);y.add(Q.getDOMelement());N=new b.RTWXVNLMMT(a);0==nbVideos&&N.setVisible(!1);y.add(N.getDOMelement());p=new b.HHXAU(a);u.getDOMelement().appendChild(p.getDOMelement());
0==nbVideos&&p.setVisible(!1);"iOS"!=b.BHDRCCDZN.getMobileOS()&&(D=new b.RQXTBFREGV(a,f,a.getVolume(),0==a.getVolume()?!0:!1),0==nbVideos&&D.setVisible(!1),C.add(D.getDOMelement()));T=new b.UXIRPADZG(a,f);0==nbVideos&&T.setVisible(!1);A.add(T.getDOMelement());R=new b.TVCGPLS(a);0==nbVideos&&R.setVisible(!1);A.add(R.getDOMelement());k.isFullscreenAvailable()&&(F=new b.IZAEJW(k),z.getDOMelement().appendChild(F.getDOMelement()));k.setFullscreenFunctionCallback(function(c){c.fullscreen?(document.getElementById(a.getID()+
"_controls").style.position="fixed",b.jQuery(document.getElementById(a.getID()+"_controls")).addClass("pauseplayerControlsFullscreen"),document.getElementById(a.getID()+"_animation").style.overflow="visible",document.getElementById(a.getID()+"_container").style.overflow="visible",0<=a.XRSADBC()&&B(),G()):(document.getElementById(a.getID()+"_controls").style.position="absolute",b.jQuery(document.getElementById(a.getID()+"_controls")).removeClass("pauseplayerControlsFullscreen"),document.getElementById(a.getID()+
"_animation").style.overflow="hidden",document.getElementById(a.getID()+"_container").style.overflow="hidden",0<=a.XRSADBC()&&0<q&&B(),0<q&&0<w&&G())});if("iOS"==b.BHDRCCDZN.getMobileOS()){l=!0;for(r=0;r<=b.players.length-1;r++)if(d=b.players[r],d.id==a.getID()){d.DJBTNUJP.setAlwaysHideVideoElement(!0);break}m=!0}m&&(a.getDOMelement().style.display="none");G();k.setVideoPlayerResizeFunctionCallback(function(b){q=b.width;w=b.height;0<=a.XRSADBC()&&0<q&&B();0<q&&0<
w&&G()});a.setPlayFunctionCallback(function(b){"preload"==b.state&&(l||m||(a.getDOMelement().style.display="none"),"pause"!=a.getPlayState()&&B(),R.setVisible(!0),R.setText(a.getTitle()),v.setVisible(!0),v.setDuration(a.getDuration()),E.setVisible(!0),E.setTime(0),P.setState("play"),p.setVisible(!0),0<a.XRSADBC()||a.AFZS||0<=a.loopingVideo?O.setVisible(!0):O.setVisible(!1),1<a.JGJTNYWVHE()&&(a.XRSADBC()<a.JGJTNYWVHE()-1||a.AFZS||0<=a.loopingVideo)?
N.setVisible(!0):N.setVisible(!1),0!=a.getVideos()[a.XRSADBC()].getCanSeek()?(I.setVisible(!0),Q.setVisible(!0)):(I.setVisible(!1),Q.setVisible(!1)),null!=D&&(a.getVideos()[a.XRSADBC()].getAudioExists()?D.setVisible(!0):D.setVisible(!1)));"WXICC"==b.state&&(l||m||(a.getDOMelement().style.display="none"),R.setVisible(!0),R.setText(a.getTitle()),v.setVisible(!0),v.setDuration(a.getDuration()),E.setVisible(!0),E.setTime(0),P.setState("play"),p.setVisible(!0),0<
a.XRSADBC()||a.AFZS||0<=a.loopingVideo?O.setVisible(!0):O.setVisible(!1),1<a.JGJTNYWVHE()&&(a.XRSADBC()<a.JGJTNYWVHE()-1||a.AFZS||0<=a.loopingVideo)?N.setVisible(!0):N.setVisible(!1),0!=a.getVideos()[a.XRSADBC()].getCanSeek()?(I.setVisible(!0),Q.setVisible(!0)):(I.setVisible(!1),Q.setVisible(!1)),null!=D&&(a.getVideos()[a.XRSADBC()].getAudioExists()?D.setVisible(!0):D.setVisible(!1)));"play"==b.state&&("pause"!=
a.getPlayState()&&B(),a.getDOMelement().style.display="block",R.setVisible(!0),R.setText(a.getTitle()),v.setVisible(!0),v.setDuration(a.getDuration()),E.setVisible(!0),"play/pause"==P.getMode()?P.setState("pause"):P.setState("stop"),p.setVisible(!0),0<a.XRSADBC()||a.AFZS||0<=a.loopingVideo?O.setVisible(!0):O.setVisible(!1),1<a.JGJTNYWVHE()&&(a.XRSADBC()<a.JGJTNYWVHE()-1||a.AFZS||0<=a.loopingVideo)?N.setVisible(!0):N.setVisible(!1),0!=
a.getVideos()[a.XRSADBC()].getCanSeek()?(I.setVisible(!0),Q.setVisible(!0)):(I.setVisible(!1),Q.setVisible(!1)),null!=D&&(a.getVideos()[a.XRSADBC()].getAudioExists()?D.setVisible(!0):D.setVisible(!1)));"pause"==b.state&&(P.setState("play"),m&&(a.getDOMelement().style.display="none"));"stop"==b.state&&(P.setState("play"),l||m||(a.getDOMelement().style.display="block"),m&&(a.getDOMelement().style.display="none"))});"never"!=n&&a.setPlayUpdateFunctionCallback(J);a.setLoadFunctionCallback(function(c,
d){c.error&&!c.videoSuspended?b.LOG.dev("Impossible to load the video : "+d.getTitle()):"never"!=n&&(0<a.JGJTNYWVHE()?P.setVisible(!0):P.setVisible(!1),1<a.JGJTNYWVHE()&&(a.XRSADBC()<a.JGJTNYWVHE()-1||a.AFZS||0<=a.loopingVideo)?N.setVisible(!0):N.setVisible(!1))})}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.BHDRCCDZN&&(pauseplayer.BHDRCCDZN=function(b){var r=function(){};r.calculateResize=function(b,g,e,c){void 0==b&&(b=-1);void 0==g&&(g=-1);void 0==e&&(e=-1);void 0==c&&(c=-1);b=Math.round(b);g=Math.round(g);e=Math.round(e);c=Math.round(c);var a=[];if(0>=e&&-1!=e||0>=c&&-1!=c)return a=[],a.width=0,a.height=0,a;if(!(-1!=e&&0!=e||-1!=c&&0!=c)||0==g)return a=[],a.width=b,a.height=g,a;a=b/g;if(-1!=e&&-1!=c){var k=b,n=g;if(k>e)for(;b>e;)b--,g=Math.round(b/
a);if(n>c)for(;g>c;)g--,b=Math.round(g*a);if(k<e)for(;b<e;)b++,g=Math.round(b/a);if(n<c)for(;g<c;)g++,b=Math.round(g*a);n=g;if(b>e)for(;b>e;)b--,g=Math.round(b/a);if(n>c)for(;g>c;)g--,b=Math.round(g*a)}else{if(-1!=e&&-1==c){if(b>e)for(;b>e;)b--,g=Math.round(b/a);if(b<e)for(;b<e;)b++,g=Math.round(b/a)}if(-1==e&&-1!=c){if(g>c)for(;g>c;)g--,b=Math.round(g*a);if(g<c)for(;g<c;)g++,b=Math.round(g*a)}}b=Math.round(b);g=Math.round(g);e=[];e.width=b;e.height=g;return e};r.calculateOutsideResize=function(d,
g,e,c){void 0==d&&(d=0);void 0==g&&(g=0);void 0==e&&(e=0);void 0==c&&(c=0);d=Math.round(d);g=Math.round(g);e=Math.round(e);c=Math.round(c);e=b.BHDRCCDZN.calculateResize(d,g,e);d=b.BHDRCCDZN.calculateResize(d,g,-1,c);g=[];e.width>=d.width&&e.height>=d.height?(g.width=e.width,g.height=e.height):(g.width=d.width,g.height=d.height);return g};r.convertDurationToText=function(b,g){void 0==b&&(b=0);void 0==g&&(g="hour");var e=0,c=0,a=0,a=b-b%3600;0!=a&&(e=Math.round(a/3600));a=b%3600-b%3600%60;0!=a&&(c=Math.round(a/
60));a=Math.round(b%3600%60);60==a&&(a=0,c++);60==c&&(c=0,e++);switch(g){case "hour":return(10>e?"0":"")+e+"H"+(10>c?"0":"")+c+"m"+(10>a?"0":"")+a+"s";case "universal":return 0==e&&0==c?"0:"+(10>a?"0":"")+a:0==e?c+":"+(10>a?"0":"")+a:e+":"+(10>c?"0":"")+c+":"+(10>a?"0":"")+a}return""};r.formatDate=function(b){var g=String(b.getFullYear()),e=String(b.getMonth()+1);1==e.length&&(e="0"+e);b=String(b.getDate());1==b.length&&(b="0"+b);return g+"-"+e+"-"+b};r.formatDateTime=function(b){var g=String(b.getFullYear()),
e=String(b.getMonth()+1);1==e.length&&(e="0"+e);var c=String(b.getDate());1==c.length&&(c="0"+c);var a=String(b.getHours());1==a.length&&(a="0"+a);var k=String(b.getMinutes());1==k.length&&(k="0"+k);var n=String(b.getSeconds());1==n.length&&(n="0"+n);b=String(b.getMilliseconds());1==b.length&&(b="00"+b);2==b.length&&(b="0"+b);return g+"-"+e+"-"+c+" "+a+":"+k+":"+n+":"+b};r.formatString=function(b){var g=b;if(1<arguments.length)for(var e=1;e<arguments.length;e++)void 0==arguments[e]&&(arguments[e]=
"XXX"),g=g.replace("{"+(e-1)+"}",arguments[e].toString());return g};r.formatStringt=function(d){var g=b.RCNVUAJOI.translate(d);if(1<arguments.length)for(var e=1;e<arguments.length;e++)void 0==arguments[e]&&(arguments[e]="XXX"),g=g.replace("{"+(e-1)+"}",arguments[e].toString());return g};r.removeAccents=function(b){for(var g=[{base:"A",letters:"A\u24b6\uff21\u00c0\u00c1\u00c2\u1ea6\u1ea4\u1eaa\u1ea8\u00c3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\u00c4\u01de\u1ea2\u00c5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},
{base:"AA",letters:"\ua732"},{base:"AE",letters:"\u00c6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\u00c7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},
{base:"E",letters:"E\u24ba\uff25\u00c8\u00c9\u00ca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\u00cb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\u00cc\u00cd\u00ce\u0128\u012a\u012c\u0130\u00cf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},
{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\u00d1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},
{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\u00d2\u00d3\u00d4\u1ed2\u1ed0\u1ed6\u1ed4\u00d5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\u00d6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\u00d8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"OE",letters:"\u008c\u0152"},{base:"oe",letters:"\u009c\u0153"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},
{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\u00d9\u00da\u00db\u0168\u1e78\u016a\u1e7a\u016c\u00dc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},
{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\u00dd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\u00e0\u00e1\u00e2\u1ea7\u1ea5\u1eab\u1ea9\u00e3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\u00e4\u01df\u1ea3\u00e5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},
{base:"aa",letters:"\ua733"},{base:"ae",letters:"\u00e6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\u00e7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",
letters:"e\u24d4\uff45\u00e8\u00e9\u00ea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\u00eb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\u00ec\u00ed\u00ee\u0129\u012b\u012d\u00ef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},
{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\u00f1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",
letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\u00f2\u00f3\u00f4\u1ed3\u1ed1\u1ed7\u1ed5\u00f5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\u00f6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\u00f8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},
{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\u00df\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\u00f9\u00fa\u00fb\u0169\u1e79\u016b\u1e7b\u016d\u00fc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},
{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\u00fd\u0177\u1ef9\u0233\u1e8f\u00ff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],e={},c=0;c<g.length;c++)for(var a=g[c].letters,k=0;k<a.length;k++)e[a[k]]=
g[c].base;return b.replace(/[^\u0000-\u007E]/g,function(a){return e[a]||a})};r.getFileName=function(d){if(void 0==d||""==d)return"";if(void 0!=b.URI){if(d=(new b.URI(d)).filename(!0),null!=d&&void 0!=d)return d}else return d.split("\\").pop().split("/").pop()};r.getFileExtension=function(d){d=b.BHDRCCDZN.getFileName(d);if(void 0==d||""==d)return"";d=d.split(".");return 1===d.length||""===d[0]&&2===d.length?"":d.pop()};r.getURLProtocol=function(d){if(void 0==d||""==d)return"";if(void 0!=b.URI){if(d=b.URI.parse(d),
null!=d.protocol)return d.protocol}else{var g=document.createElement("a");g.setAttribute("href",d);if(void 0!=g.protocol&&null!=g.protocol)return d=g.protocol,0<d.length&&":"==d.substr(-1)?d.substr(0,d.length-1):d}return""};r.getInt=function(b){if(void 0==b||("string"===typeof b||b instanceof String)&&"undefined"==b)return!1;isNaN(b)&&(b=String(b),b=b.replace(",","."));b=parseFloat(b);return isNaN(b)?!1:b|0};r.generateUUID=function(){var b=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,
function(g){var e=(b+16*Math.random())%16|0;b=Math.floor(b/16);return("x"==g?e:e&7|8).toString(16)})};r.isInFullScreen=function(){return void 0!=document.fullscreen?document.fullscreen:void 0!=document.mozFullScreen?document.mozFullScreen:void 0!=document.webkitIsFullScreen?document.webkitIsFullScreen:document.fullscreenElement&&(!document.fullscreenElement||null!==document.fullscreenElement)||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement?!0:!1};r.isFullscreenAvailable=
function(){return!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)||b.BHDRCCDZN.currentPageIsInIframe()&&(!document.documentMode&&window.StyleMedia||0<window.navigator.userAgent.indexOf("Trident/7.0"))?!1:!0};r.getScreenSize=function(){var d=[];d.width=0;d.height=0;if(b.BHDRCCDZN.isInFullScreen())if(b.BHDRCCDZN.currentPageIsInIframe()&&(!document.documentMode&&window.StyleMedia||0<window.navigator.userAgent.indexOf("Trident/7.0")))d.width=
screen.width,d.height=screen.height;else{var g=(document.fullscreenElement&&null!==document.fullscreenElement?document.fullscreenElement:!1)||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement;d.width=b.jQuery(g).width();d.height=b.jQuery(g).height()}else{var g=screen.width,e=screen.height,c=window.innerWidth,a=document.documentElement.clientWidth,k=document.body.clientWidth,n=window.innerHeight,h=document.documentElement.clientHeight,f=document.body.clientHeight;
d.width=void 0!=g?g:0;d.width=void 0!=c&&c>d.width?c:d.width;d.width=void 0!=a&&a>d.width?a:d.width;d.width=void 0!=k&&k>d.width?k:d.width;d.height=void 0!=e?e:0;d.height=void 0!=n&&n>d.height?n:d.height;d.height=void 0!=h&&h>d.height?h:d.height;d.width=void 0!=f&&f>d.width?f:d.width}return d};r.getStyle=function(b,g){var e="";if(document.defaultView&&document.defaultView.getComputedStyle){var c=document.defaultView.getComputedStyle(b,"");null!=c&&(e=c.getPropertyValue(g))}else b.currentStyle&&(g=
g.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),e=b.currentStyle[g]);return e};r.setVisibility=function(d,g){var e=document.getElementById(d);e&&(10>d.length||"_animation"!=d.substr(d.length-10)?e.style.visibility=g:e.style.top="visible"==g?"0px":"-"+(b.jQuery(e).height()+1E3)+"px")};r.setDisplay=function(b,g){document.getElementById(b)&&(document.getElementById(b).style.display=g)};r.setDisplayToElementsByClassName=function(b,g,e){var c=null;b===Object(b)?c=b:null!=b&&(b=document.getElementById(String(b)))&&
(c=b);if(null!=c){c=c.getElementsByTagName("*");b=-1;for(var a;a=c[++b];)-1<(" "+(a["class"]||a.className)+" ").indexOf(" "+g+" ")&&(a.style.display=e)}};r.isLocalStorageAvailable=function(){try{return localStorage.setItem("pauseplayer_test","pauseplayer_test"),localStorage.removeItem("pauseplayer_test"),!0}catch(b){return!1}};r.getBrowser=function(){return(window.chrome&&window.chrome.webstore||window.opr&&opr.addons||window.opera||0<=navigator.userAgent.indexOf(" OPR/"))&&window.CSS?"Blink":window.opr&&
opr.addons||window.opera||0<=navigator.userAgent.indexOf(" OPR/")?"Opera":"undefined"!==typeof InstallTrigger?"Firefox":0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")?"Safari":document.documentMode||!document.documentMode&&window.StyleMedia?"IE":window.chrome&&window.chrome.webstore?"Chrome":""};r.getMobileOS=function(){if(b.ZDAPR)return"iOS";var d=navigator.userAgent||navigator.vendor||window.opera;return d.match(/iPad/i)||d.match(/iPhone/i)||d.match(/iPod/i)?
"iOS":d.match(/Android/i)?"Android":d.match(/BlackBerry/i)||d.match(/BB10/i)?"BlackBerry":d.match(/Windows Phone/i)||d.match(/iemobile/i)||d.match(/WPDesktop/i)?"WindowsPhone":d.match(/Opera Mini/i)?"Opera":""};r.isMobileDevice=function(){if(b.ZDAPR)return!0;if("undefined"!==typeof sessionStorage&&sessionStorage.desktop)return!1;if("undefined"!==typeof localStorage&&localStorage.mobile)return!0;var d=navigator.userAgent||navigator.vendor||window.opera;return d.match(/Android/i)||d.match(/webOS/i)||
d.match(/iPhone/i)||d.match(/iPod/i)||d.match(/BlackBerry/i)||d.match(/Windows Phone|iemobile|WPDesktop|Windows Mobile/i)||d.match(/Opera Mini/i)||d.match(/Fennec/i)||d.match(/Nokia/i)?!0:!1};r.isTabletDevice=function(){if(b.ZDAPR)return!0;var d=navigator.userAgent||navigator.vendor||window.opera;return d.match(/Tablet/i)||d.match(/iPad/i)||d.match(/Nexus 7/i)||d.match(/Nexus 10/i)||d.match(/KFAPWI/i)?!0:!1};r.isAppleSmallDevice=function(){return b.ZDAPR?!0:/(iPhone|iPod)/i.test(navigator.userAgent||
navigator.vendor||window.opera)?!0:!1};r.isTouchDevice=function(){return b.ZDAPR?!0:b.MOUSE_DEVICE?!1:"ontouchstart"in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints};r.isHTML5Supported=function(){return b.JGULINRD?!1:!!document.createElement("video").canPlayType};r.isCanvasSupported=function(){if(b.JGULINRD)return!1;var d=document.createElement("canvas");return!(!d.getContext||!d.getContext("2d"))};r.isSVGSupported=function(){return"IE"==b.BHDRCCDZN.getBrowser()?
!1:!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect};r.currentPageIsInIframe=function(){return window.location!=window.parent.location};r.getInt=function(b){if(isNaN(b)||"undefined"==b||void 0==b)return!1;b=parseFloat(b);return isNaN(b)?!1:b|0};r.isArray=function(b){var g=typeof b;return"array"===g||"object"===g&&b&&b instanceof Array?!0:!1};r.isObject=function(b){return b===Object(b)};return r}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.UIMBP&&(pauseplayer.UIMBP=function(b){var r=function(){};r.XGGPQO=function(){var d={JIUT:"",animationBaseURL:"",animationPageFullURL:"",PBBYVGRHE:"",EIHKXNIL:"",OMTXVQKO:""};d.JIUT=b.mainScriptURL;var g=b.URI.parse(d.JIUT);d.animationBaseURL=null!=g.hostname?g.hostname:"";d.animationBaseURL=d.animationBaseURL.toLowerCase();
d.animationBaseURL=b.BHDRCCDZN.removeAccents(d.animationBaseURL);4<d.animationBaseURL.length&&"www."==d.animationBaseURL.substr(0,4)&&(d.animationBaseURL=d.animationBaseURL.substr(4,d.animationBaseURL.length-4));g=window.document.location.href;""!=d.animationBaseURL&&(5<g.length&&"file:"==g.substr(0,5)?d.animationBaseURL="":(d.animationPageFullURL=window.document.location.href,d.PBBYVGRHE=window.document.location.hostname.toLowerCase(),d.PBBYVGRHE=d.PBBYVGRHE.toLowerCase(),d.PBBYVGRHE=
b.BHDRCCDZN.removeAccents(d.PBBYVGRHE),4<d.PBBYVGRHE.length&&"www."==d.PBBYVGRHE.substr(0,4)&&(d.PBBYVGRHE=d.PBBYVGRHE.substr(4,d.PBBYVGRHE.length-4)),d.EIHKXNIL=window.document.referrer,""!=d.EIHKXNIL&&(g=b.URI.parse(d.EIHKXNIL),d.OMTXVQKO=null!=g.hostname?g.hostname:"",d.OMTXVQKO=d.OMTXVQKO.toLowerCase(),d.OMTXVQKO=b.BHDRCCDZN.removeAccents(d.OMTXVQKO),
4<d.OMTXVQKO.length&&"www."==d.OMTXVQKO.substr(0,4)&&(d.OMTXVQKO=d.OMTXVQKO.substr(4,d.OMTXVQKO.length-4)))));b.LOG.dev("JIUT : "+d.JIUT);b.LOG.dev("animationBaseURL : "+d.animationBaseURL);b.LOG.dev("animationPageFullURL : "+d.animationPageFullURL);b.LOG.dev("PBBYVGRHE : "+d.PBBYVGRHE);b.LOG.dev("EIHKXNIL : "+d.EIHKXNIL);b.LOG.dev("OMTXVQKO : "+
d.OMTXVQKO);return d};r.GJHE=function(b,g){var e=b.split(".").length-1,c=g.split(".").length-1;if(e!=c)return!1;if(0==e)return b==g;e=b.lastIndexOf(".");c=g.lastIndexOf(".");return b.substr(0,e)==g.substr(0,c)?!0:!1};r.checkValidityOfUse=function(){if(""==b.VJGTNOQ){for(var d=0;d<=b.players.length-1;d++){var g=b.players[d];null!=!g.container&&(g=new b.ZLBFZOI(g.id,b.RCNVUAJOI.t("Animation can only be used online"),!0,0,"cross"),b.ORWMDPHRC.addMessage(g))}b.LOG.warnt("Animation can only be used online");
return!1}g=!1;""!=b.UFVXW&&b.JWQR!=b.UFVXW&&(g=b.currentPageIsInIframe())&&b.LOG.dev("The page who displays the animation is include to an iframe.");var e=!1,c=!1,a=!1,k=!1,n=new Date;if(b.TMFYM){for(d=0;d<b.LICENSES.length;d++)n.getTime()<=b.LICENSES[d].validity_end.getTime()&&(null==b.BCGGIJLUGW||b.BCGGIJLUGW.getTime()<b.LICENSES[d].validity_end.getTime())&&(b.BCGGIJLUGW=b.LICENSES[d].validity_end);
null!=b.BCGGIJLUGW&&(k=c=e=!0)}else for(d=0;d<b.LICENSES.length&&!(b.LICENSES[d].customer_uid==b.LNJVQDNL&&(k=!0,(b.LICENSES[d].domain_name==b.VJGTNOQ||b.UIMBP.GJHE(b.LICENSES[d].domain_name,b.VJGTNOQ))&&n.getTime()<=b.LICENSES[d].validity_end.getTime()&&(e=!0,null==b.BCGGIJLUGW||b.BCGGIJLUGW.getTime()<b.LICENSES[d].validity_end.getTime())&&(b.BCGGIJLUGW=b.LICENSES[d].validity_end),
(b.LICENSES[d].domain_name==b.JWQR||b.UIMBP.GJHE(b.LICENSES[d].domain_name,b.JWQR))&&n.getTime()<=b.LICENSES[d].validity_end.getTime()&&(c=!0,null==b.BCGGIJLUGW||b.BCGGIJLUGW.getTime()<b.LICENSES[d].validity_end.getTime())&&(b.BCGGIJLUGW=b.LICENSES[d].validity_end),""!=b.UFVXW&&(b.LICENSES[d].domain_name==b.UFVXW||b.UIMBP.GJHE(b.LICENSES[d].domain_name,
b.UFVXW))&&n.getTime()<=b.LICENSES[d].validity_end.getTime()&&(a=!0,null==b.BCGGIJLUGW||b.BCGGIJLUGW.getTime()<b.LICENSES[d].validity_end.getTime())&&(b.BCGGIJLUGW=b.LICENSES[d].validity_end)),e&&c&&a&&k);d++);if(b.TMFYM){if(!k){for(d=0;d<=b.players.length-1;d++)g=b.players[d],null!=!g.container&&(g=new b.ZLBFZOI(g.id,b.RCNVUAJOI.t("License has expired"),!0,0,"cross"),b.ORWMDPHRC.addMessage(g));b.LOG.warnt("License has expired");
return!1}}else{if(!e){for(d=0;d<=b.players.length-1;d++)g=b.players[d],null!=!g.container&&(g=new b.ZLBFZOI(g.id,b.RCNVUAJOI.t("License must be checked, animation can't be used at this domain name"),!0,0,"cross"),b.ORWMDPHRC.addMessage(g));b.LOG.warnt("License must be checked, animation can't be used at this domain name");return!1}if(!c&&""!=b.JWQR){for(d=0;d<=b.players.length-1;d++)g=b.players[d],document.getElementById(g.container)||(g=new b.ZLBFZOI(g.id,b.RCNVUAJOI.t("License must be checked, animation can't be used at this domain name"),
!0,0,"cross"),b.ORWMDPHRC.addMessage(g));b.LOG.warnt("License must be checked, animation can't be used at this domain name");return!1}if(!k){for(d=0;d<=b.players.length-1;d++)g=b.players[d],null!=!g.container&&(g=new b.ZLBFZOI(g.id,b.RCNVUAJOI.t("License must be checked, animation can't be used with an unrecognized license"),!0,0,"cross"),b.ORWMDPHRC.addMessage(g));b.LOG.warnt("License must be checked, animation can't be used with an unrecognized license");return!1}if(""!=b.UFVXW&&
b.JWQR!=b.UFVXW&&g){for(d=0;d<=b.players.length-1;d++)g=b.players[d],null!=!g.container&&(g=new b.ZLBFZOI(g.id,b.RCNVUAJOI.t("License must be checked, animation can't be used at this domain name"),!0,0,"cross"),b.ORWMDPHRC.addMessage(g));b.LOG.warnt("License must be checked, animation can't be used at this domain name");return!1}}return!0};return r}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.BJSLK&&(pauseplayer.BJSLK=function(b){return function(r){var d=null,g="";this.setCurrentLanguage=function(b){};this.translate=function(d){return b.jQuery.i18n._(d)};this.t=function(b){return this.translate(b)};this.loadXMLFile=function(e,c){void 0!=e&&""!=e||null==d||d("ok","");void 0==c&&(c=null);g=e;d=c;b.jQuery.ajax({url:e,success:function(a){var c={};b.jQuery(a).find("string").each(function(){var a=b.jQuery(this).attr("id"),
d=b.jQuery(this).text();c[a]=d});b.jQuery.i18n.load(c);null!=d&&d("ok","")},error:function(a,c,e){null!=d&&d("error",b.BHDRCCDZN.formatString(translate("This XML file can't be loaded : {0}"),b.BHDRCCDZN.getFileName(g)));b.LOG.dev("Error : "+c)}})};d=null;g=""}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.LogManager&&(pauseplayer.LogManager=function(b){return function(){var r=[];this.debug=function(d,g,e,c){void 0==d&&(d="");void 0==g&&(g="info");void 0==e&&(e="");void 0==c&&(c=!0);if(""!=b.DEBUGCATEGORYFILTER&&e!=b.DEBUGCATEGORYFILTER)return!1;var a=new Date,k={};k.date=a;if(4<arguments.length){var n=[];Array.prototype.push.apply(n,arguments);n.shift();n.shift();n.shift();n.shift();n.unshift(d);d=b.BHDRCCDZN.formatString.apply(this,n)}k.message=
d;k.type=g;k.isPublic=c;r.push(k);k="[INFO__]";switch(g){case "error":case "warn":k="[__WARN]";break;case "dev":k="[___DEV]"}a="["+b.BHDRCCDZN.formatDateTime(a)+"] "+k+" "+(""!=e?"["+e+"] ":"");k=" [DOMAIN:"+b.JWQR+"]";c&&"undefined"!==typeof console&&console.log(a+d+k)};this.debugt=function(d,g,e,c){var a=[];Array.prototype.push.apply(a,arguments);a[0]=b.RCNVUAJOI.translate(d);this.debug.apply(this,a)};this.info=function(d,g,e){if(b.DEBUG&&b.SNEEWMOY&b.QBQEJHYPKM&&(""==b.DEBUGCATEGORYFILTER||
""!=b.DEBUGCATEGORYFILTER&&b.DEBUGCATEGORYFILTER==g)){var c=[];Array.prototype.push.apply(c,arguments);c.shift();c.unshift("info");c.unshift(d);this.debug.apply(this,c)}};this.warn=function(d,g,e){if(b.DEBUG&&b.SNEEWMOY&b.AXLRAF&&(""==b.DEBUGCATEGORYFILTER||""!=b.DEBUGCATEGORYFILTER&&b.DEBUGCATEGORYFILTER==g)){var c=[];Array.prototype.push.apply(c,arguments);c.shift();c.unshift("warn");c.unshift(d);this.debug.apply(this,c)}};this.error=function(d,g,e){if(b.DEBUG&&b.SNEEWMOY&b.AZHHUWTAT&&
(""==b.DEBUGCATEGORYFILTER||""!=b.DEBUGCATEGORYFILTER&&b.DEBUGCATEGORYFILTER==g)){var c=[];Array.prototype.push.apply(c,arguments);c.shift();c.unshift("error");c.unshift(d);this.debug.apply(this,c)}};this.dev=function(d,g,e){if(b.DEBUG&&b.SNEEWMOY&b.MMXJR&&(""==b.DEBUGCATEGORYFILTER||""!=b.DEBUGCATEGORYFILTER&&b.DEBUGCATEGORYFILTER==g)){var c=[];Array.prototype.push.apply(c,arguments);c.shift();c.unshift("dev");c.unshift(d);this.debug.apply(this,c)}};this.infot=function(d,g,e){if(b.DEBUG&&
b.SNEEWMOY&b.QBQEJHYPKM&&(""==b.DEBUGCATEGORYFILTER||""!=b.DEBUGCATEGORYFILTER&&b.DEBUGCATEGORYFILTER==g)){var c=[];Array.prototype.push.apply(c,arguments);c.shift();c.unshift("info");c.unshift(d);this.debugt.apply(this,c)}};this.warnt=function(d,g,e){if(b.DEBUG&&b.SNEEWMOY&b.AXLRAF&&(""==b.DEBUGCATEGORYFILTER||""!=b.DEBUGCATEGORYFILTER&&b.DEBUGCATEGORYFILTER==g)){var c=[];Array.prototype.push.apply(c,arguments);c.shift();c.unshift("warn");c.unshift(d);this.debugt.apply(this,c)}};
this.errort=function(d,g,e){if(b.DEBUG&&b.SNEEWMOY&b.AZHHUWTAT&&(""==b.DEBUGCATEGORYFILTER||""!=b.DEBUGCATEGORYFILTER&&b.DEBUGCATEGORYFILTER==g)){var c=[];Array.prototype.push.apply(c,arguments);c.shift();c.unshift("error");c.unshift(d);this.debugt.apply(this,c)}};this.devt=function(d,g,e){if(b.DEBUG&&b.SNEEWMOY&b.MMXJR&&(""==b.DEBUGCATEGORYFILTER||""!=b.DEBUGCATEGORYFILTER&&b.DEBUGCATEGORYFILTER==g)){var c=[];Array.prototype.push.apply(c,arguments);c.shift();c.unshift("dev");
c.unshift(d);this.debugt.apply(this,c)}}}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.ZLBFZOI&&(pauseplayer.ZLBFZOI=function(b){return function(r,d,g,e,c){var a="",k="",n="",h=!1,f=0,l="",m=null,q,w=null,A=null,y=0,x=0,C=[];this.getID=function(){return k};this.getContainer=function(){return m};this.setHideFunctionCallback=function(a){"function"==typeof a&&(C[C.length]=a)};this.display=function(){if(""!=n){if(null!=m)try{m.parentNode.removeChild(m)}catch(c){}q=document.createElement("div");q.className+="infomessagepanel";
q.style.position="relative";q.style.top="0px";q.style.left="0px";q.style.fontSize="20px";q.style.textAlign="center";q.style.border="1px solid #000000";q.style.backgroundColor="#C1C1C1";q.innerHTML=n;h?(q.className+=" error",q.style.color="#FF0000"):(q.className+=" info",q.style.color="#009900");var d=document.getElementById("#"+a+"_container");if(!d)for(var e=0;e<=b.players.length-1;e++){var g=b.players[e];g.id==a&&(d=g.container)}if(d){e=b.jQuery(d).width();g=b.jQuery(d).height();q.style.width="cross"==
l?Math.round(e/1.2-15)+"px":Math.round(e/1.2)+"px";m.insertBefore(q,null);m.style.top=Math.round((g-b.jQuery(q).height())/2)+"px";m.style.left=Math.round((e-b.jQuery(q).width())/2)+"px";d.insertBefore(m,null);"buttonOK"==l&&(w=document.createElement("div"),w.className+="button",w.style.display="inline-block",w.style.textAlign="center",w.style.color="#FF0000",w.style.border="1px solid #000000",w.style.backgroundColor="#C1C1C1",w.style.cursor="pointer",w.innerHTML=b.RCNVUAJOI.translate("OK"),m.insertBefore(w,
null),w.style.position="relative",w.style.top="0px",w.style.left=Math.round(b.jQuery(m).width()/2-b.jQuery(w).width()/2)+"px",document.addEventListener?w.addEventListener("click",E,!1):w.attachEvent("onclick",E));"cross"==l&&(w=document.createElement("div"),w.style.width="11px",w.style.height="11px",w.style.backgroundImage="url('"+b.mainScriptURL+"images/cross.png')",w.style.cursor="pointer",q.insertBefore(w,null),w.style.position="absolute",w.style.top="5px",w.style.right="0px",document.addEventListener?
w.addEventListener("click",E,!1):w.attachEvent("onclick",E));b.jQuery(d).resize(p);if(4<=f||0>=f)x=0,q.style.opacity=x,q.style.filter="alpha(opacity="+100*x+")",null!=w&&(w.style.opacity=x,w.style.filter="alpha(opacity="+100*x+")"),y=0,A=setInterval(u,100);0<f&&null==A&&setTimeout(z,1E3*f)}}};var u=function(){y++;20>=y&&null!=q&&1>x&&(x=Math.round(100*(x+.1))/100,q.style.opacity=x,q.style.filter="alpha(opacity="+100*x+")",null!=w&&(w.style.opacity=x,w.style.filter="alpha(opacity="+100*x+")"));0<f&&
y>=10*f-20&&null!=q&&0<x&&(x-=.1,x=Math.round(100*(x-.1))/100,q.style.opacity=x,q.style.filter="alpha(opacity="+100*x+")",null!=w&&(w.style.opacity=x,w.style.filter="alpha(opacity="+100*x+")"));0==f&&10<=y&&(clearInterval(A),A=null,y=0);0<f&&y>=10*f&&(clearInterval(A),A=null,y=0,0<f&&v())},z=function(){v()},v=function(){null!=w&&(document.addEventListener?w.removeEventListener("click",E,!1):w.detachEvent("onclick",E));try{m.parentNode.removeChild(m)}catch(a){}if(0<C.length)for(var b=0;b<C.length;b++)C[b](k)},
E=function(a){v()},p=function(){var c=document.getElementById("#"+a+"_container");if(!c)for(var d=0;d<=b.players.length-1;d++){var e=b.players[d];e.id==a&&(c=e.container)}c&&0<b.jQuery(c).width()&&(q.style.width="cross"==l?Math.round(b.jQuery(c).width()/1.2-15)+"px":Math.round(b.jQuery(c).width()/1.2)+"px",m.width=q.style.width,m.height=q.style.height,m.style.left=Math.round((b.jQuery(c).width()-b.jQuery(m).width())/2)+"px","buttonOK"==l&&(w.style.top="0px",w.style.left=Math.round(b.jQuery(m).width()/
2-b.jQuery(w).width()/2)+"px"),"cross"==l&&(w.style.top="5px",w.style.right="0px"))},a=r,k=function(){var a=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(b){var c=(a+16*Math.random())%16|0;a=Math.floor(a/16);return("x"==b?c:c&7|8).toString(16)})}(),m=document.createElement("div");m.className+="infomessage";m.style.position="absolute";m.style.top="0px";m.style.left="0px";m.style.zIndex="10";n=void 0!=d?d:"";h=void 0!=d?g:!1;f=void 0!=e?e:0;l=void 0!=c?c:
""}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.DPUBKS&&(pauseplayer.DPUBKS=function(b){return function(){var r=[];this.addMessage=function(b){""!=b.message&&(b.setHideFunctionCallback(this.messageHidden),r[r.length]=b,this.displayMessage(r.length-1))};this.displayMessage=function(d){d=r[d];d.display();var g=0;1<r.length&&(g=r[r.length-2].getContainer().style.top,g=g.replace("px",""),g=parseFloat(g),g=isNaN(g)?0:g|0,g+=b.jQuery(r[r.length-2].getContainer()).height());
d.getContainer().style.top=Math.round(g)+"px"};this.messageHidden=function(d){for(var g=-1,e=0,e=0;e<r.length;e++)if(d==r[e].getID()){g=e;break}if(-1!=g)for(b.jQuery(r[g]).off(),r.splice(g,1),e=0;e<r.length;e++)0==e?r[e].getContainer().style.top="0px":(d=r[e-1].getContainer().style.top,d=d.replace("px",""),d=parseFloat(d),d=isNaN(d)?0:d|0,r[e].getContainer().style.top=Math.round(d+b.jQuery(r[e-1].getContainer()).height())+"px")}}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.GNCTI&&(pauseplayer.GNCTI=function(b){return function(b){var d="",g=[];this.getName=function(){return d};this.getSteps=function(){return g};this.addStep=function(b){g[b.getName()]=b};d=void 0!=b?b:""}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.LSQC&&(pauseplayer.LSQC=function(b){return function(){var b=[],d=[],g=[];this.addWorkflow=function(d){b[d.getName()]=d};this.addTransaction=function(e){void 0!=b[e.getWorkflowName()]&&(e.setSteps(b[e.getWorkflowName()].getSteps()),d[e.getID()]=e)};this.isTransactionExists=function(b){return void 0!=d[b]?!0:!1};this.setFunctionCallback=function(b,c,a){if("function"!=typeof b)return!1;void 0!=c&&null!=c&&""!=
c?(g.workflows[c]||(g.workflows[c]=[]),g.workflows[c][g.workflows[c].length]=b):void 0!=a&&null!=a&&""!=a?(g.transactions[a]||(g.transactions[a]=[]),g.transactions[a][g.transactions[a].length]=b):g.all[g.all.length]=b};this.addTransactionResult=function(b){var c=null,a=b.getTransactionID();void 0!=d[a]&&(c=d[a]);if(null==c)return!1;var k=c.getWorkflowName(),n=c.getCurrentStepsNames(),h=[],f=null,l=b.getGlobalContextElements();if(""==b.getStepName()&&0<l.length)d[a].addGlobalContextElements(l);else{var m=
c.getSteps();void 0!=m[b.getStepName()]&&(f=m[b.getStepName()]);if(0<n.length)for(l=0;l<n.length;l++)h.push(m[n[l]]);if(null!=f){m=!0;for(l=0;l<n.length;l++)if(n[l]==f.getName()){m=!1;break}m?d[a].addEndTransactionResult(b):d[a].addBeginTransactionResult(b);if(m){b="";if(0==n.length||c.currentStepExists(f.getName()))c.currentStepExists(f.getName())&&(b=f.getName());else{l=c.getNextStepsValidated();if(void 0==l[f.getName()])for(n=f.getPreviousStepName(),l=0;l<h.length;l++)if(""==n||h[l].getName()==
n)if(m=h[l].getEndRoutings(),null!=m&&(m=m(h[l].getEndTransactionsResults(),a,d[a].getGlobalContextElements()),void 0!==m&&""!==m&&(c.addNextStepsValidated(h[l].getName(),m),b=h[l].getName(),void 0!=c.getNextStepsValidated()[f.getName()])))break;l=c.getNextStepsValidated();if(void 0==l[f.getName()])return}h=f.getBeginVerifications();if(null!=h&&!0===h(f.getEndTransactionsResults(),a,d[a].getGlobalContextElements())){c.removeCurrentStep(b);c.addCurrentStepName(f.getName());c.removeNextStepValidated(f.getName());
c.removeBeginTransactionsResults(f.getName());h={};h.workflowname=k;h.transactionid=a;h.stepname=f.getName();h.error=!1;if(g.all)for(l=0;l<g.all.length;l++)g.all[l](h);if(g.workflows[k])for(l=0;l<g.workflows[k].length;l++)g.workflows[k][l](h);if(g.transactions[a])for(l=0;l<g.transactions[a].length;l++)g.transactions[a][l](h);m=f.getEndRoutings();null==m&&this.removeTransaction(c.getID())}}else m=f.getEndRoutings(),null!=m&&(m=m(f.getEndTransactionsResults(),a,d[a].getGlobalContextElements()),void 0!==
m&&""!==m&&(c.addNextStepsValidated(f.getName(),m),c.removeEndTransactionsResults(f.getName())))}}};this.removeTransaction=function(b){d[b]=void 0};g.all=[];g.workflows=[];g.transactions=[]}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.FHUCV&&(pauseplayer.FHUCV=function(b){return function(b,d){var g="",e="",c=[],a=[],k=null,n=null;this.getName=function(){return g};this.getPreviousStepName=function(){return e};this.getBeginTransactionsResults=function(){return c};this.getEndTransactionsResults=function(){return a};this.getBeginVerifications=function(){return k};this.getEndRoutings=function(){return n};this.addBeginTransactionResult=function(a){c.push(a)};
this.addEndTransactionResult=function(b){a.push(b)};this.setBeginVerifications=function(a){k=a};this.setEndRoutings=function(a){n=a};this.removeBeginTransactionsResults=function(){c=[]};this.removeEndTransactionsResults=function(){a=[]};g=void 0!=b?b:"";e=void 0!=d?d:""}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.ZWBLZF&&(pauseplayer.ZWBLZF=function(b){return function(b,d){var g="",e="",c=[],a=[],k=[],n={};this.getID=function(){return e};this.getSteps=function(){return c};this.getWorkflowName=function(){return g};this.getNextStepsValidated=function(){return k};this.getCurrentStepsNames=function(){return a};this.currentStepExists=function(b){for(var c=0;c<a.length;c++)if(a[c]==b)return!0;return!1};this.getGlobalContextElements=
function(){return n};this.addBeginTransactionResult=function(a){void 0!=c[a.getStepName()]&&(c[a.getStepName()].addBeginTransactionResult(a),this.addGlobalContextElements(a.getGlobalContextElements()))};this.addEndTransactionResult=function(a){void 0!=c[a.getStepName()]&&(c[a.getStepName()].addEndTransactionResult(a),this.addGlobalContextElements(a.getGlobalContextElements()))};this.addGlobalContextElements=function(a){for(var b in a)n[b]=a[b]};this.addStep=function(a){c[a.getName()]=a};this.setSteps=
function(a){c=a};this.addCurrentStepName=function(b){a.push(b)};this.addNextStepValidated=function(a,b){if(void 0!=k[b]){for(var c=!1,d=0;d<k[b].length;d++)if(k[b][d]==b){c=!0;break}c||k[b].push(a)}else k[b]=[a]};this.addNextStepsValidated=function(a,b){if("string"===typeof b)this.addNextStepValidated(a,b);else for(var c=0;c<b.length;c++)this.addNextStepValidated(a,b[c])};this.removeNextStepValidated=function(a,b){if(void 0!=k[a]&&1<k[a].length)for(var c=0;c<=k[a].length-1;c++){if(k[a][c]==b){k[a].splice(c,
1);break}}else k[a]=void 0};this.removeCurrentStep=function(b){for(var c=0;c<=a.length-1;c++)if(a[c]==b){a.splice(c,1);break}};this.removeCurrentSteps=function(){a=[]};this.removeBeginTransactionsResults=function(a){c[a].removeBeginTransactionsResults()};this.removeEndTransactionsResults=function(a){c[a].removeEndTransactionsResults()};g=b;e=d}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.WKYMC&&(pauseplayer.WKYMC=function(b){return function(b,d,g,e){var c="",a="",k={},n={};this.getTransactionID=function(){return c};this.getStepName=function(){return a};this.getContextElements=function(){return k};this.getGlobalContextElements=function(){return n};c=b;a=void 0!=d&&null!=d?d:"";k=void 0!=g?g:{};n=void 0!=e?e:{}}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.Keyboard&&(pauseplayer.Keyboard=function(b){var r=function(d){var g=null,e=[],c={},a=!1,k=!1;this.setKeypressFunctionCallback=function(a){"function"==typeof a&&(e[e.length]=a)};this.removeKeypressFunctionCallback=function(a){if("function"==typeof a)for(var b=0;b<e.length;b++)if(e[b]==a){e.splice(b,1);break}};this.removeKeypressFunctionsCallback=function(){e=[]};this.isDown=function(a){return c[a]};this.setFocus=function(a){w(a)};var n=
function(a){c[a.keyCode]=!0;if(0<e.length){var b={};b.keyCode=a.keyCode;for(a=0;a<e.length;a++)e[a](b)}},h=function(a){delete c[a.keyCode]},f=function(){a||(a=!0,document.addEventListener?(window.addEventListener("keyup",h,!1),window.addEventListener("keydown",n,!1)):(window.attachEvent("onkeyup",h),window.attachEvent("onkeydown",n)))},l=function(){a=!1;k||(document.addEventListener?(window.removeEventListener("keyup",h,!1),window.removeEventListener("keydown",n,!1)):(window.detachEvent("onkeyup",
h),window.detachEvent("onkeydown",n)))},m=function(){k=!0;document.addEventListener?(window.addEventListener("keyup",h,!1),window.addEventListener("keydown",n,!1)):(window.attachEvent("onkeyup",h),window.attachEvent("onkeydown",n))},q=function(){k=!1;a||(document.addEventListener?(window.removeEventListener("keyup",h,!1),window.removeEventListener("keydown",n,!1)):(window.detachEvent("onkeyup",h),window.detachEvent("onkeydown",n)))},w=function(b){b?(k=!0,document.addEventListener?(window.addEventListener("keyup",
h,!1),window.addEventListener("keydown",n,!1)):(window.attachEvent("onkeyup",h),window.attachEvent("onkeydown",n))):(k=!1,a||(document.addEventListener?(window.removeEventListener("keyup",h,!1),window.removeEventListener("keydown",n,!1)):(window.detachEvent("onkeyup",h),window.detachEvent("onkeydown",n))))},g=void 0!=d?d:null;if(void 0==g.tabIndex||0>g.tabIndex)g.tabIndex=1;null!=g&&(document.addEventListener?(g.addEventListener("mouseover",f,!1),g.addEventListener("mouseout",l,!1),g.addEventListener("focus",
m,!0),g.addEventListener("blur",q,!0)):(g.attachEvent("onmouseover",f),g.attachEvent("onmouseout",l),g.attachEvent("onfocus",m),g.attachEvent("onblur",q)));w(b.ANIMATION_FOCUS)};r.SPACE=32;r.ENTER=13;r.ESCAPE=27;r.LEFT=37;r.UP=38;r.RIGHT=39;r.DOWN=40;return r}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.ISEMOCIRKI&&(pauseplayer.ISEMOCIRKI=function(b){return function(r,d,g,e,c,a,k,n,h){var f=null,l=[],m=-1,q=-1,w=6,A=0,y=0,x=0,C=0,u="left",z="top",v=!1;this.getDOMelement=function(){return f};this.setSize=function(a,b){var c=m,d=q;void 0!=a&&(m=a);void 0!=b&&(q=b);if(m!=c||q!=d)-1!=m&&(f.style.width=Math.round(m)+"px"),-1!=q&&(f.style.height=Math.round(q)+"px"),p()};this.add=function(a){if(a){for(var c=!1,
d=0;d<l.length;d++)if(l[d]===a){c=!0;break}c||(a.style.position="absolute",a.style.top="0px",a.style.left="0px",l.push(a),p(),b.jQuery(a).bind("visibilityChange",E))}};this.remove=function(a){if(a)for(var b=0;b<l.length;b++)if(l[b]===a){l.splice(b,1);p();break}};this.refresh=function(){p()};var E=function(){p()},p=function(){for(;f.firstChild;)f.removeChild(f.firstChild);if("left"==u||"center"==u&&-1==m||"right"==u&&-1==m)for(var a=x,c=0;c<l.length;c++)if("none"!=l[c].style.display){f.appendChild(l[c]);
var d=b.jQuery(l[c]).width(),e=b.jQuery(l[c]).height();f.removeChild(l[c]);var g=a==x?0:w;if(-1==m||-1!=m&&a+g+d+C<=m)if(-1==q||-1!=q&&A+e+y<=q){f.appendChild(l[c]);if(v)for(var k=l[c].getElementsByTagName("svg"),h=0;h<k.length;h++)k[h].parentNode.innerHTML=k[h].parentNode.innerHTML;l[c].style.left=Math.round(a+g)+"px";"top"==z&&(l[c].style.top=Math.round(A)+"px");"middle"==z&&(l[c].style.top=-1!=q?Math.round(q/2-e/2)+"px":Math.round(A)+"px");"bottom"==z&&(l[c].style.top=-1!=q?Math.round(q-y-e)+"px":
Math.round(A)+"px");a+=g+d}}if("center"==u&&-1!=m){a=x;for(c=0;c<l.length;c++)if("none"!=l[c].style.display&&(f.appendChild(l[c]),d=b.jQuery(l[c]).width(),e=b.jQuery(l[c]).height(),f.removeChild(l[c]),g=a==x?0:w,-1==m||-1!=m&&a+g+d+C<=m)&&(-1==q||-1!=q&&A+e+y<=q)){f.appendChild(l[c]);if(v)for(k=l[c].getElementsByTagName("svg"),h=0;h<k.length;h++)k[h].parentNode.innerHTML=k[h].parentNode.innerHTML;l[c].style.left=Math.round(a+g)+"px";"top"==z&&(l[c].style.top=Math.round(A)+"px");"middle"==z&&(l[c].style.top=
-1!=q?Math.round(q/2-e/2)+"px":Math.round(A)+"px");"bottom"==z&&(l[c].style.top=-1!=q?Math.round(q-y-e)+"px":Math.round(A)+"px");a+=g+d}c=(m-x-C-(a-x))/2;for(d=0;d<l.length;d++)null!=l[d].parentNode&&l[d].parentNode==f&&(l[d].style.left=Math.round(c)+"px",c+=b.jQuery(l[d]).width()+w)}if("right"==u&&-1!=m)for(a=C,c=0;c<l.length;c++)if("none"!=l[c].style.display&&(f.appendChild(l[c]),d=b.jQuery(l[c]).width(),e=b.jQuery(l[c]).height(),f.removeChild(l[c]),g=a==C?0:w,a+g+d+x<=m&&(-1==q||-1!=q&&A+e+y<=
q))){f.appendChild(l[c]);if(v)for(k=l[c].getElementsByTagName("svg"),h=0;h<k.length;h++)k[h].parentNode.innerHTML=k[h].parentNode.innerHTML;l[c].style.left=Math.round(m-a-g-d)+"px";"top"==z&&(l[c].style.top=Math.round(A)+"px");"middle"==z&&(l[c].style.top=-1!=q?Math.round(q/2-e/2)+"px":Math.round(A)+"px");"bottom"==z&&(l[c].style.top=-1!=q?Math.round(q-y-e)+"px":Math.round(A)+"px");a+=g+d}},m=void 0!=r?r:-1,q=void 0!=d?d:-1,w=void 0!=g?g:6,A=void 0!=e?e:0,y=void 0!=c?c:0,x=void 0!=a?a:0,C=void 0!=
k?k:0,u=void 0!=n?n:"left",z=void 0!=h?h:"top",f=document.createElement("div");f.className+=" pauseplayerControl pauseplayerHorizontalLayout";-1!=m&&(f.style.width=Math.round(m)+"px");-1!=q&&(f.style.height=Math.round(q)+"px");v=b.BHDRCCDZN.isSVGSupported()&&"IE"==b.BHDRCCDZN.getBrowser()}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.JAXZEMJM&&(pauseplayer.JAXZEMJM=function(b){return function(r,d,g,e,c,a,k,n,h){var f=null,l=[],m=-1,q=-1,w=6,A=0,y=0,x=0,C=0,u="center",z="top",v=!1;this.getDOMelement=function(){return f};this.setSize=function(a,b){var c=m,d=q;void 0!=a&&(m=a);void 0!=b&&(q=b);if(m!=c||q!=d)-1!=m&&(f.style.width=Math.round(m)+"px"),-1!=q&&(f.style.height=Math.round(q)+"px"),p()};this.add=function(a){if(a){for(var c=!1,
d=0;d<l.length;d++)if(l[d]===a){c=!0;break}c||(a.style.position="absolute",a.style.top="0px",a.style.left="0px",l.push(a),p(),b.jQuery(a).bind("visibilityChange",E))}};this.remove=function(a){if(a)for(var b=0;b<l.length;b++)if(l[b]===a){l.splice(b,1);p();break}};this.refresh=function(){p()};var E=function(){p()},p=function(){for(;f.firstChild;)f.removeChild(f.firstChild);if("top"==z||"middle"==z&&-1==q||"bottom"==z&&-1==q)for(var a=A,c=0;c<l.length;c++)if("none"!=l[c].style.display){f.appendChild(l[c]);
var d=b.jQuery(l[c]).width(),e=b.jQuery(l[c]).height();f.removeChild(l[c]);var g=a==A?0:w;if(-1==q||-1!=q&&a+g+e+y<=q)if(-1==m||-1!=m&&x+d+C<=m){f.appendChild(l[c]);if(v)for(var k=l[c].getElementsByTagName("svg"),h=0;h<k.length;h++)k[h].parentNode.innerHTML=k[h].parentNode.innerHTML;l[c].style.top=Math.round(a+g)+"px";"left"==u&&(l[c].style.left=Math.round(x)+"px");"center"==u&&(l[c].style.left=-1!=q?Math.round(m/2-d/2)+"px":Math.round(x)+"px");"right"==u&&(l[c].style.left=-1!=q?Math.round(m-C-d)+
"px":Math.round(x)+"px");a+=g+e}}if("middle"==z&&-1!=q){a=A;for(c=0;c<l.length;c++)if("none"!=l[c].style.display&&(f.appendChild(l[c]),d=b.jQuery(l[c]).width(),e=b.jQuery(l[c]).height(),f.removeChild(l[c]),g=a==A?0:w,-1==q||-1!=q&&a+g+e+y<=q)&&(-1==m||-1!=m&&x+d+C<=m)){f.appendChild(l[c]);if(v)for(k=l[c].getElementsByTagName("svg"),h=0;h<k.length;h++)k[h].parentNode.innerHTML=k[h].parentNode.innerHTML;l[c].style.top=Math.round(a+g)+"px";"left"==u&&(l[c].style.left=Math.round(x)+"px");"center"==u&&
(l[c].style.left=-1!=q?Math.round(m/2-d/2)+"px":Math.round(x)+"px");"right"==u&&(l[c].style.left=-1!=q?Math.round(m-C-d)+"px":Math.round(x)+"px");a+=g+e}c=(q-A-y-(a-A))/2;for(d=0;d<l.length;d++)null!=l[d].parentNode&&l[d].parentNode==f&&(l[d].style.top=Math.round(c)+"px",c+=b.jQuery(l[d]).height()+w)}if("bottom"==z&&-1!=q)for(a=y,c=0;c<l.length;c++)if("none"!=l[c].style.display&&(f.appendChild(l[c]),d=b.jQuery(l[c]).width(),e=b.jQuery(l[c]).height(),f.removeChild(l[c]),g=a==y?0:w,a+g+e+A<=q&&(-1==
m||-1!=m&&x+d+C<=m))){f.appendChild(l[c]);if(v)for(k=l[c].getElementsByTagName("svg"),h=0;h<k.length;h++)k[h].parentNode.innerHTML=k[h].parentNode.innerHTML;l[c].style.top=Math.round(q-a-g-e)+"px";"left"==u&&(l[c].style.left=Math.round(x)+"px");"center"==u&&(l[c].style.left=-1!=m?Math.round(m/2-d/2)+"px":Math.round(x)+"px");"right"==u&&(l[c].style.left=-1!=m?Math.round(m-C-d)+"px":Math.round(x)+"px");a+=g+e}},m=void 0!=r?r:-1,q=void 0!=d?d:-1,w=void 0!=g?g:6,A=void 0!=e?e:0,y=void 0!=c?c:0,x=void 0!=
a?a:0,C=void 0!=k?k:0,u=void 0!=n?n:"left",z=void 0!=h?h:"top",f=document.createElement("div");f.className+=" pauseplayerControl pauseplayerVerticalLayout";-1!=m&&(f.style.width=Math.round(m)+"px");-1!=q&&(f.style.height=Math.round(q)+"px");v=b.BHDRCCDZN.isSVGSupported()&&"IE"==b.BHDRCCDZN.getBrowser()}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.IZAEJW&&(pauseplayer.IZAEJW=function(b){return function(r){var d=null,g=null;this.getDOMelement=function(){return d};this.requestFullscreen=function(){c()};this.exitFullscreen=function(){a()};this.setVisible=function(a){a=a?"block":"none";d.style.display!=a&&(d.style.display=a,b.jQuery(d).trigger("visibilityChange"))};var e=function(b){g.isInFullscreen()?a():c();return!1},c=function(){var a=document.getElementById(g.getPlayerID()+
"_container");a&&(a.requestFullscreen?a.requestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.msRequestFullscreen&&a.msRequestFullscreen())},a=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen()},
g=r,d=document.createElement("div");d.className+=" pauseplayerControl pauseplayerFullscreenButton";d.innerHTML='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 40 40" height="100%" width="100%">\r\n\t\t<defs>\r\n\t\t\t<g id="pauseplayer-fullscreen">\r\n\t\t\t\t<rect x="5" y="8" width="30" height="24" stroke="black" stroke-width="3px" fill="none" />\r\n\t\t\t\t<path d="M31,12 L26,16.5 M31.5,12 L28,12 M31,12 L31,15 Z" stroke="black" stroke-width="1px" fill="none" />\r\n\t\t\t\t<path d="M9,28 L14,23.5 M8.5,28 L12,28 M9,28 L9,25 Z" stroke="black" stroke-width="1px" fill="none" />\r\n\t\t\t</g>\r\n\t\t</defs>\r\n\t\t<use class="pauseplayer-fullscreen-back" xlink:href="#pauseplayer-fullscreen"/>\r\n\t\t<use class="pauseplayer-fullscreen-front" xlink:href="#pauseplayer-fullscreen"/>\r\n\t\t</svg>';
document.addEventListener?d.addEventListener("click",e,!1):d.attachEvent("onclick",e)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.MDXJPGKTQG&&(pauseplayer.MDXJPGKTQG=function(b){return function(r){var d=null;this.getDOMelement=function(){return d};this.setVisible=function(g){g=g?"block":"none";d.style.display!=g&&(d.style.display=g,b.jQuery(d).trigger("visibilityChange"))};this.setDuration=function(g){d.innerHTML=b.BHDRCCDZN.convertDurationToText(g)};d=document.createElement("div");d.className+=" pauseplayerControl pauseplayerDuration";d.innerHTML="00H00m00s"}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.IYLHEMF&&(pauseplayer.IYLHEMF=function(b){return function(r,d,g,e){var c=null,a=null,k=40,n="",h="",f,l=!0,m=!1,q=!1;this.getDOMelement=function(){return c};this.BMJWUA=function(){return"none"==c.style.display?!1:q};this.isVisible=function(){return l};this.setVisible=function(a){a=a?"block":"none";c.style.display!=a&&(c.style.display=a,b.jQuery(c).trigger("visibilityChange"))};this.setDisplayMode=function(a){var b=h;"never"==
a&&(l=!1,h="never");"disappear"==a&&(l=!0,h="disappear");"allthetime"==a&&(l=!0,h="allthetime");w();b!=a&&A()};this.resize=function(){A()};var w=function(){var b=document.getElementById(a.getPlayerID()+"_container");document.addEventListener?(null!=b&&(b.removeEventListener("mouseover",x,!1),b.removeEventListener("mousemove",x,!1),b.removeEventListener("mouseout",C,!1)),c.removeEventListener("mouseover",u,!1),c.removeEventListener("mousemove",u,!1),c.removeEventListener("mouseout",z,!1)):(null!=b&&
(b.detachEvent("onmouseover",x),b.detachEvent("onmousemove",x),b.detachEvent("onmouseout",C)),c.detachEvent("onmouseover",u),c.detachEvent("onmousemove",u),c.detachEvent("onmouseout",z));a.isFullscreenAvailable()&&(document.addEventListener?(null!=b&&(b.removeEventListener("mouseover",x,!1),b.removeEventListener("mousemove",x,!1),b.removeEventListener("mouseout",C,!1)),c.removeEventListener("mouseover",u,!1),c.removeEventListener("mousemove",u,!1),c.removeEventListener("mouseout",z,!1)):(null!=b&&
(b.detachEvent("onmouseover",x),b.detachEvent("onmousemove",x),b.detachEvent("onmouseout",C)),c.detachEvent("onmouseover",u),c.detachEvent("onmousemove",u),c.detachEvent("onmouseout",z)),a.removeFullscreenFunctionCallback(y));"allthetime"==h&&a.isInFullscreen()&&(document.addEventListener?(null!=b&&(b.addEventListener("mouseover",x,!1),b.addEventListener("mousemove",x,!1),b.addEventListener("mouseout",C,!1)),l&&(c.addEventListener("mouseover",u,!1),c.addEventListener("mousemove",u,!1),c.addEventListener("mouseout",
z,!1))):(null!=b&&(b.attachEvent("onmouseover",x),b.attachEvent("onmousemove",x),b.attachEvent("onmouseout",C)),l&&(c.attachEvent("onmouseover",u),c.attachEvent("onmousemove",u),c.attachEvent("onmouseout",z))));"allthetime"!=h||a.isInFullscreen()||(document.addEventListener?(c.addEventListener("mouseover",u,!1),c.addEventListener("mousemove",u,!1),c.addEventListener("mouseout",z,!1)):(c.attachEvent("onmouseover",u),c.attachEvent("onmousemove",u),c.attachEvent("onmouseout",z)));"disappear"==h&&(document.addEventListener?
(null!=b&&(b.addEventListener("mouseover",x,!1),b.addEventListener("mousemove",x,!1),b.addEventListener("mouseout",C,!1)),l&&(c.addEventListener("mouseover",u,!1),c.addEventListener("mousemove",u,!1),c.addEventListener("mouseout",z,!1))):(null!=b&&(b.attachEvent("onmouseover",x),b.attachEvent("onmousemove",x),b.attachEvent("onmouseout",C)),l&&(c.attachEvent("onmouseover",u),c.attachEvent("onmousemove",u),c.attachEvent("onmouseout",z))));a.isFullscreenAvailable()&&a.setFullscreenFunctionCallback(y)},
A=function(){var b=a.getPlayerWidth();if(0<b){var d=a.getPlayerHeight();c.style.width=Math.round(b)+"px";c.style.height=Math.round(k)+"px";switch(n){case "up":c.style.left="0px";c.style.top="0px";break;case "left":c.style.left="0px";c.style.top="0px";break;case "right":c.style.left=Math.round(b-k)+"px";c.style.top="0px";break;case "down":c.style.left="0px",c.style.top=Math.round(d-k)+"px"}if("never"==h){switch(n){case "up":c.style.left="0px";c.style.top="-"+Math.round(k)+"px";break;case "left":c.style.left=
"-"+Math.round(k)+"px";c.style.top="0px";break;case "right":c.style.left=b+"px";c.style.top="0px";break;case "down":c.style.left="0px",c.style.top=d+"px"}l=!1}if("disappear"==h){switch(n){case "up":c.style.left="0px";c.style.top="-"+Math.round(k)+"px";break;case "left":c.style.left="-"+Math.round(k)+"px";c.style.top="0px";break;case "right":c.style.left=b+"px";c.style.top="0px";break;case "down":c.style.left="0px",c.style.top=d+"px"}l=!1;if(m){switch(n){case "up":c.style.left="0px";c.style.top="0px";
break;case "left":c.style.left="0px";c.style.top="0px";break;case "right":c.style.left=Math.round(b-k)+"px";c.style.top="0px";break;case "down":c.style.left="0px",c.style.top=Math.round(d-k)+"px"}l=!0}}}w()},y=function(d){d.fullscreen?(b.jQuery(c).stop(!0,!0),"allthetime"==h&&(d=document.getElementById(a.getPlayerID()+"_container"),document.addEventListener?(d.addEventListener("mouseover",x,!1),d.addEventListener("mousemove",x,!1),d.addEventListener("mouseout",C,!1),c.addEventListener("mouseover",
u,!1),c.addEventListener("mousemove",u,!1),c.addEventListener("mouseout",z,!1)):(d.attachEvent("onmouseover",x),d.attachEvent("onmousemove",x),d.attachEvent("onmouseout",C),c.attachEvent("onmouseover",u),c.attachEvent("onmousemove",u),c.attachEvent("onmouseout",z)))):(b.jQuery(c).stop(!0,!0),"allthetime"==h&&(d=document.getElementById(a.getPlayerID()+"_container"),document.addEventListener?(d.removeEventListener("mouseover",x,!1),d.removeEventListener("mousemove",x,!1),d.removeEventListener("mouseout",
C,!1),c.removeEventListener("mouseover",u,!1),c.removeEventListener("mousemove",u,!1),c.removeEventListener("mouseout",z,!1)):(d.detachEvent("onmouseover",x),d.detachEvent("onmousemove",x),d.detachEvent("onmouseout",C),c.detachEvent("onmouseover",u),c.detachEvent("onmousemove",u),c.detachEvent("onmouseout",z)),l||(c.style.top=Math.round(a.getPlayerHeight()-k)+"px",l=!0)));w()},x=function(d){for(var e=a.getPlayerID(),g=0;g<=b.players.length-1;g++){var q=b.players[g];if(q.id==e&&("playersuspended"==
q.step||"startcontent_playersuspended"==q.step))return!1}m=!0;d=d||window.event;d=b.jQuery.event.fix(d);e=document.getElementById(a.getPlayerID()+"_container");g=b.jQuery(e).offset();e=d.pageX-g.left;d=d.pageY-g.top;g=a.getPlayerHeight();q=a.getPlayerWidth();if("disappear"==h){if(!l)switch(l=!0,b.jQuery(c).stop(!0,!0),n){case "up":b.jQuery(c).animate({top:"0px"},2E3);break;case "left":b.jQuery(c).animate({left:"0px"},2E3);break;case "right":b.jQuery(c).animate({left:Math.round(q-k)+"px"},2E3);break;
case "down":b.jQuery(c).animate({top:Math.round(g-k)+"px"},2E3)}clearTimeout(f);f=setTimeout(v,3E3);switch(n){case "up":0<=d&&d<=k&&clearTimeout(f);break;case "left":e<=k&&clearTimeout(f);break;case "right":e>=q-k&&clearTimeout(f);break;case "down":d>=g-k&&clearTimeout(f)}}if("allthetime"==h&&a.isInFullscreen()){if(!l)switch(l=!0,b.jQuery(c).stop(!0,!0),n){case "up":b.jQuery(c).animate({top:"0px"},2E3);break;case "left":b.jQuery(c).animate({left:"0px"},2E3);tweenEffect1=new Tween(this,"x",Strong.easeOut,
-k,0,2,!0);break;case "right":b.jQuery(c).animate({left:q-k+"px"},2E3);break;case "down":b.jQuery(c).animate({top:g-k+"px"},2E3)}clearTimeout(f);f=setTimeout(v,3E3)}w()},C=function(){q=m=!1;var d=a.getPlayerHeight(),e=a.getPlayerWidth();"disappear"==h&&l&&(clearTimeout(f),f=setTimeout(v,3E3));if("allthetime"==h&&a.isInFullscreen()){if(!l)switch(l=!0,b.jQuery(c).stop(!0,!0),n){case "up":b.jQuery(c).animate({top:"-"+Math.round(k)+"px"},2E3);break;case "left":b.jQuery(c).animate({left:"-"+Math.round(k)+
"px"},2E3);break;case "right":b.jQuery(c).animate({left:e+"px"},2E3);break;case "down":b.jQuery(c).animate({top:Math.round(d-k)+"px"},2E3)}clearTimeout(f);f=setTimeout(v,3E3)}w()},u=function(){q=!0},z=function(){q=!1},v=function(){clearTimeout(f);var d=a.getPlayerHeight(),e=a.getPlayerWidth();if("disappear"==h){b.jQuery(c).stop(!0,!0);switch(n){case "up":b.jQuery(c).animate({top:"-"+Math.round(k)+"px"},2E3);break;case "left":b.jQuery(c).animate({left:"-"+Math.round(k)+"px"},2E3);break;case "right":b.jQuery(c).animate({left:e+
"px"},2E3);break;case "down":b.jQuery(c).animate({top:d+"px"},2E3)}l=!1}if("allthetime"==h&&a.isInFullscreen()){b.jQuery(c).stop(!0,!0);switch(n){case "up":b.jQuery(c).animate({top:"-"+Math.round(k)+"px"},2E3);break;case "left":b.jQuery(c).animate({left:"-"+Math.round(k)+"px"},2E3);break;case "right":b.jQuery(c).animate({left:e+"px"},2E3);break;case "down":b.jQuery(c).animate({top:d+"px"},2E3)}l=!1}w()},a=r,k=void 0!=d?d:40,n=void 0!=g?g:"down",h=void 0!=e?e:"disappear",c=document.createElement("div");
c.className+=" pauseplayerControl pauseplayerPanel";w();"never"==h&&(l=!1);A()}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.HHXAU&&(pauseplayer.HHXAU=function(b){return function(r,d,g){var e=null,c=null,a,k,n,h=null,f=0,l=0;this.getDOMelement=function(){return e};this.setVisible=function(a){a=a?"block":"none";e.style.display!=a&&(e.style.display=a,b.jQuery(e).trigger("visibilityChange"))};this.resize=function(){var d=b.BHDRCCDZN.isInFullScreen(),g=c.getPlayerWidth();if(!d&&0<c.getPlayerWidth()||d&&0<c.getPlayerWidth())e.style.width=Math.round(g-
10)+"px",a.style.width=Math.round(g-10)+"px",n.style.width=Math.round(l*b.jQuery(a).width()/100)+"px",k.style.width=Math.round(f*b.jQuery(a).width()/100)+"px"};d=function(d){d=d||window.event;d=b.jQuery.event.fix(d);d=Math.round(d.offsetX*c.getDuration()/b.jQuery(a).width());0>d&&(d=0);d>c.getDuration()&&(d=c.getDuration());c.moveByJavascript(d);return!1};g=function(d){d=d||window.event;d=b.jQuery.event.fix(d);d=Math.round(d.offsetX*c.getDuration()/b.jQuery(a).width());0>d&&(d=0);d>c.getDuration()&&
(d=c.getDuration());h=new b.FKIQ(e,b.BHDRCCDZN.convertDurationToText(d,"universal"));document.addEventListener?(a.addEventListener("mousemove",m,!1),n.addEventListener("mousemove",m,!1),k.addEventListener("mousemove",m,!1)):(a.attachEvent("onmousemove",m),n.attachEvent("onmousemove",m),k.attachEvent("onmousemove",m))};var m=function(d){d=d||window.event;d=b.jQuery.event.fix(d);d=Math.round(d.offsetX*c.getDuration()/b.jQuery(a).width());0>d&&(d=0);d>c.getDuration()&&(d=c.getDuration());h=new b.FKIQ(e,
b.BHDRCCDZN.convertDurationToText(d,"universal"))},q=function(){document.addEventListener?(a.removeEventListener("mousemove",m,!1),n.removeEventListener("mousemove",m,!1),k.removeEventListener("mousemove",m,!1)):(a.detachEvent("onmousemove",m),n.detachEvent("onmousemove",m),k.detachEvent("onmousemove",m));null!=h&&h.destroy()},c=r,e=document.createElement("div");e.className+=" pauseplayerControl pauseplayerProgressBar";a=document.createElement("div");a.className+=" pauseplayerControl pauseplayerProgressBar_bar";
a.style.backgroundColor="#000000";e.appendChild(a);document.addEventListener?(a.addEventListener("click",d,!1),a.addEventListener("mouseover",g,!1),a.addEventListener("mouseout",q,!1)):(a.attachEvent("onclick",d),a.attachEvent("onmouseover",g),a.attachEvent("onmouseout",q));n=document.createElement("div");n.className+=" pauseplayerControl pauseplayerProgressBar_barbytes";n.style.backgroundColor="#808080";e.appendChild(n);document.addEventListener?(n.addEventListener("click",d,!1),n.addEventListener("mouseover",
g,!1),n.addEventListener("mouseout",q,!1)):(n.attachEvent("onclick",d),n.attachEvent("onmouseover",g),n.attachEvent("onmouseout",q));k=document.createElement("div");k.className+=" pauseplayerControl pauseplayerProgressBar_bartime";k.style.backgroundColor="#FFFFFF";e.appendChild(k);document.addEventListener?(k.addEventListener("click",d,!1),k.addEventListener("mouseover",g,!1),k.addEventListener("mouseout",q,!1)):(k.attachEvent("onclick",d),k.attachEvent("onmouseover",g),k.attachEvent("onmouseout",
q));this.resize();c.setPlayUpdateFunctionCallback(function(d){if("preload"!=d.state&&"WXICC"!=d.state){var e;e=c.getDuration();var g=d.time;void 0==e&&(e=0);void 0==g&&(g=0);e=Math.round(100*g/e);0>e&&(e=0);100<e&&(e=100);f=e;k.style.width=Math.round(e*b.jQuery(a).width()/100)+"px"}else k.style.width="0px",f=0;percentage2=100*d.bytesLoaded/d.bytesTotal;l=Math.round(percentage2);n.style.width=Math.round(percentage2*b.jQuery(a).width()/100)+"px"})}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.BYWKWUOZ&&(pauseplayer.BYWKWUOZ=function(b){return function(r){var d=!0,g=0,e=null,c=null;this.getDOMelement=function(){return e};this.setVisible=function(a){a=a?"block":"none";e.style.display!=a&&(e.style.display=a,b.jQuery(e).trigger("visibilityChange"))};this.setTime=function(a){if(d){var n=c.getDuration();a=0<n?n-a:0}e.innerHTML=b.BHDRCCDZN.convertDurationToText(a);g=a};var a=function(){d=!d;timeElapsed=g;if(d){var a=c.getDuration();timeElapsed=
0<a?a-timeElapsed:0}e.innerHTML=b.BHDRCCDZN.convertDurationToText(timeElapsed)},c=r,e=document.createElement("div");e.className+=" pauseplayerControl pauseplayerTime";e.innerHTML="00H00m00s";document.addEventListener?e.addEventListener("click",a,!1):e.attachEvent("onclick",a)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.TVCGPLS&&(pauseplayer.TVCGPLS=function(b){return function(r){var d=null;this.getDOMelement=function(){return d};this.setVisible=function(g){g=g?"block":"none";d.style.display!=g&&(d.style.display=g,b.jQuery(d).trigger("visibilityChange"))};this.setText=function(b){void 0!=b&&(d.innerHTML=b)};this.setSize=function(b,e){void 0!=b&&(d.style.width=Math.round(b)+"px");void 0!=e&&(d.style.height=Math.round(e)+"px")};d=document.createElement("div");
d.className+=" pauseplayerControl pauseplayerTitle";d.innerHTML="&nbsp;"}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.FKIQ&&(pauseplayer.FKIQ=function(b){return function(r,d){var g=null,e="",c;this.setText=function(a){e=void 0!=a?a:"";b.jQuery(g).tooltip("option","content",e)};this.destroy=function(){b.jQuery(g).tooltip("destroy")};g=r;e=void 0!=d?d:"";c=g.title;if(void 0==c||""==c)g.title="NOTHING";b.jQuery(g).tooltip({content:e,track:!0,open:function(a,c){b.jQuery(g).tooltip("option","content",e)}});g.title=c}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.RTWXVNLMMT&&(pauseplayer.RTWXVNLMMT=function(b){return function(r){var d=null,g=null;this.getDOMelement=function(){return d};this.setVisible=function(c){c=c?"block":"none";d.style.display!=c&&(d.style.display=c,b.jQuery(d).trigger("visibilityChange"))};var e=function(){g.nextByJavascript();return!1},g=r,d=document.createElement("div");d.className+=" pauseplayerControl pauseplayerNext";d.innerHTML='<svg width="100%" viewBox="0 0 36 36" version="1.1" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">\r\n\t\t<defs>\r\n\t\t\t<g id="pauseplayer-next">\r\n\t\t\t\t<path d="M8,10 L8,26 L18,18 L8,10 Z" />\r\n\t\t\t\t<rect x="18" y="10" width="10" height="16" />\r\n\t\t\t</g>\r\n\t\t</defs>\r\n\t\t<use class="pauseplayer-next-back" xlink:href="#pauseplayer-next"/>\r\n\t\t<use class="pauseplayer-next-front" xlink:href="#pauseplayer-next"/>\r\n\t\t</svg>';
document.addEventListener?d.addEventListener("click",e,!1):d.attachEvent("onclick",e)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.UXIRPADZG&&(pauseplayer.UXIRPADZG=function(b){return function(r,d){var g=null,e=null,c="normal";this.getDOMelement=function(){return g};this.setVisible=function(b){a(b)};var a=function(a){a=a?"block":"none";g.style.display!=a&&(g.style.display=a,b.jQuery(g).trigger("visibilityChange"))},e=r,c=void 0!=d?d:"normal",g=document.createElement("div");g.className+=" pauseplayerControl pauseplayerUXIRPADZG";e.setPlayFunctionCallback(function(d){"preload"==
d.state&&a(!0);"play"==d.state&&a(!0);if("play"==d.state||"pause"==d.state||"stop"==d.state){var n=e.getVideos()[e.XRSADBC()].getPicture();null!=n?(b.LOG.dev("show miniature of the video "+e.getCurrentVideoID()),b.LOG.infot("Picture of the video {0} is displayed","",!0,b.BHDRCCDZN.getFileName(e.getVideos()[e.XRSADBC()].getPath())),g.firstChild&&g.removeChild(g.firstChild),d=document.createElement("div"),d.style.backgroundImage="url('"+n.src+"')",d.style.backgroundRepeat="no-repeat",
d.style.backgroundPosition="50% 50%",d.style.backgroundSize="100%",n=b.BHDRCCDZN.calculateResize(e.getVideos()[e.XRSADBC()].getPictureWidth(),e.getVideos()[e.XRSADBC()].getPictureHeight(),"normal"==c?40:140,"normal"==c?40:140),d.style.width=n.width+"px",d.style.height=n.height+"px",d.style.position="absolute",d.style.top=Math.round((("normal"==c?40:140)-n.height)/2)+"px",d.style.left=Math.round((("normal"==c?40:140)-n.width)/2)+"px",g.appendChild(d)):b.LOG.dev("no picture, we wait")}});
e.setPictureFunctionCallback(function(a){if(-1!=e.XRSADBC()&&a.videoid==e.getCurrentVideoID()&&null!=e.getVideos()[e.XRSADBC()].getPicture()){var d=e.getVideos()[e.XRSADBC()].getPicture();b.LOG.dev("show picture of the video "+e.getCurrentVideoID());b.LOG.infot("Picture of the video {0} is displayed","",!0,b.BHDRCCDZN.getFileName(e.getVideos()[e.XRSADBC()].getPath()));g.firstChild&&g.removeChild(g.firstChild);a=document.createElement("div");a.style.backgroundImage=
"url('"+d.src+"')";a.style.backgroundRepeat="no-repeat";a.style.backgroundPosition="50% 50%";a.style.backgroundSize="100%";d=b.BHDRCCDZN.calculateResize(e.getVideos()[e.XRSADBC()].getPictureWidth(),e.getVideos()[e.XRSADBC()].getPictureHeight(),"normal"==c?40:140,"normal"==c?40:140);a.style.width=d.width+"px";a.style.height=d.height+"px";a.style.position="absolute";a.style.top=Math.round((("normal"==c?40:140)-d.height)/2)+"px";a.style.left=Math.round((("normal"==c?40:140)-d.width)/
2)+"px";g.appendChild(a)}})}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.ZSPHMR&&(pauseplayer.ZSPHMR=function(b){return function(r,d,g){var e=null,c=null,a="",k="";this.getDOMelement=function(){return e};this.getMode=function(){return a};this.getState=function(){return k};this.setState=function(a){a=k=a;b.jQuery(e).removeClass("pauseplayerPlay");b.jQuery(e).removeClass("pauseplayerPause");b.jQuery(e).removeClass("pauseplayerStop");b.jQuery(e).removeClass("pauseplayerRelaunch");var c="";"play"==a&&
(c="pauseplayerPlay");"pause"==a&&(c="pauseplayerPause");"stop"==a&&(c="pauseplayerStop");"relaunch"==a&&(c="pauseplayerRelaunch");b.jQuery(e).addClass(c);"play"==k&&(e.innerHTML='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 36" height="100%" width="100%">\r\n\t\t\t\t<defs>\r\n\t\t\t\t\t<path d="M11,10 L18,13.74 18,22.28 11,26 Z M18,13.74 L26,18 26,18 18,22.28 Z" id="pauseplayer-play"></path>\r\n\t\t\t\t</defs>\r\n\t\t\t\t<use class="pauseplayer-play-back" xlink:href="#pauseplayer-play"/>\r\n\t\t\t\t<use class="pauseplayer-play-front" xlink:href="#pauseplayer-play"/>\r\n\t\t\t\t</svg>');
"pause"==k&&(e.innerHTML='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 36" height="100%" width="100%">\r\n\t\t\t\t<defs>\r\n\t\t\t\t\t<path d="M11,10 L17,10 17,26 11,26 Z M20,10 L26,10 26,26 20,26 Z" id="pauseplayer-pause"></path>\r\n\t\t\t\t</defs>\r\n\t\t\t\t<use class="pauseplayer-pause-back" xlink:href="#pauseplayer-pause"/>\r\n\t\t\t\t<use class="pauseplayer-pause-front" xlink:href="#pauseplayer-pause"/>\r\n\t\t\t\t</svg>');
"stop"==k&&(e.innerHTML='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 36" height="100%" width="100%">\r\n\t\t\t\t<defs>\r\n\t\t\t\t\t<rect x="10" y="10" width="16" height="16" id="pauseplayer-stop" />\r\n\t\t\t\t</defs>\r\n\t\t\t\t<use class="pauseplayer-stop-back" xlink:href="#pauseplayer-stop"/>\r\n\t\t\t\t<use class="pauseplayer-stop-front" xlink:href="#pauseplayer-stop"/>\r\n\t\t\t\t</svg>');"relaunch"==k&&(e.innerHTML='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 36" height="100%" width="100%">\r\n\t\t\t\t<defs>\r\n\t\t\t\t\t<path d="M11,10 L18,13.74 18,22.28 11,26 Z M18,13.74 L26,18 26,18 18,22.28 Z" id="pauseplayer-relaunch"></path>\r\n\t\t\t\t</defs>\r\n\t\t\t\t<use class="pauseplayer-relaunch-back" xlink:href="#pauseplayer-relaunch"/>\r\n\t\t\t\t<use class="pauseplayer-relaunch-front" xlink:href="#pauseplayer-relaunch"/>\r\n\t\t\t\t</svg>')};
this.setVisible=function(a){a=a?"block":"none";e.style.display!=a&&(e.style.display=a,b.jQuery(e).trigger("visibilityChange"))};var n=function(){"play"==k||"relaunch"==k?c.playByJavascript():"play/pause"==a?c.pauseByJavascript():c.stopByJavascript();return!1},c=r,a=void 0!=d?d:"play/pause",k=void 0!=g?g:"play",e=document.createElement("div");this.setState(k);document.addEventListener?e.addEventListener("click",n,!1):e.attachEvent("onclick",n)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.ZSPHMRFrame&&(pauseplayer.ZSPHMRFrame=function(b){return function(r,d,g){var e=null,c=null,a=null,k="ontop",n="",h=!1,f="preload";this.getDOMelement=function(){return e};this.setAlwaysHideVideoElement=function(a){h=a;l(k)};this.setControlsDisplayMode=function(a){n=a;l(k)};this.show=function(){e.style.visibility="visible"};this.hide=function(){e.style.visibility="hidden"};this.move=function(a){l(a)};this.enableClick=function(){q()};
this.disableClick=function(){w()};var l=function(c){k=c;c=a.getPlayerID();"inside"==k?("never"!=n&&document.getElementById(c+"_controls")?(c=document.getElementById(c+"_controls"),c.insertBefore(e,c.firstChild)):document.getElementById(c+"_animation")&&(c=document.getElementById(c+"_animation"),c.insertBefore(e,c.firstChild)),e.style.zIndex="",y(),"disappear"==n&&b.BHDRCCDZN.isTouchDevice()?w():q()):(document.getElementById(c+"_container")&&document.getElementById(c+"_container").appendChild(e),e.style.zIndex=
"5",y(),q())},m=function(){b.LOG.dev("Play button frame clicked");if("ontop"==k){var d=b.getStep(a.getPlayerID());if("startcontent_playersuspended"==d||"playersuspended"==d)d=new b.WKYMC("suspended_"+a.getPlayerID(),"ZSPHMRFrameClicked",{}),b.IBBJNC.addTransactionResult(d);"play"!=f?c.playByJavascript():c.pauseByJavascript()}else"inside"==k&&(d=c.getPlayState(),"pause"!=d&&"stop"!=d||c.playByJavascript(),"play"==d&&c.pauseByJavascript());return!1},q=function(){document.addEventListener?
e.addEventListener("click",m,!1):e.attachEvent("onclick",m)},w=function(){document.addEventListener?e.removeEventListener("click",m,!1):e.detachEvent("onclick",m)},A=function(a){b.jQuery(e).find("svg").css("left",Math.round(a.width/2-40)+"px");b.jQuery(e).find("svg").css("top",Math.round(a.height/2-40)+"px")},y=function(){var a=!1,c=!1;"inside"==k&&(h?a=!0:c=!0);"ontop"==k&&("preload"==f&&(a=!0),"play"==f&&(c=!0),"pause"==f||"stop"==f)&&(a=!0);b.jQuery(e).removeClass("pauseplayerShowImage");b.jQuery(e).removeClass("pauseplayerHideImage");
a&&b.jQuery(e).addClass("pauseplayerShowImage");c&&b.jQuery(e).addClass("pauseplayerHideImage");a||c||b.jQuery(e).addClass("pauseplayerHideImage")},c=r,a=d,n=void 0!=g?g:"disappear",e=document.createElement("div");e.id=a.getPlayerID()+"_playbutton";e.className+=" pauseplayerPlaybutton";e.style.visibility="hidden";e.innerHTML='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 36" height="80" width="80">\r\n\t\t\t\t<defs>\r\n\t\t\t\t\t<path d="M9,7 L9,29 30,18 9,7 Z" id="pauseplayer-playbutton" />\r\n\t\t\t\t\t<rect x="0" y="0" width="36" height="36" id="pauseplayer-playbutton-rect" />\r\n\t\t\t\t</defs>\r\n\t\t\t\t<use class="pauseplayer-playbutton-rect" xlink:href="#pauseplayer-playbutton-rect"/>\r\n\t\t\t\t<use class="pauseplayer-playbutton-back" xlink:href="#pauseplayer-playbutton"/>\r\n\t\t\t\t<use class="pauseplayer-playbutton-front" xlink:href="#pauseplayer-playbutton"/>\r\n\t\t\t\t</svg>';
l();r={};r.width=a.getPlayerWidth();r.height=a.getPlayerHeight();A(r);a.setVideoPlayerResizeFunctionCallback(A);c.setPlayFunctionCallback(function(a){f=a.state;y()})}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.COIKYCTR&&(pauseplayer.COIKYCTR=function(b){return function(r){var d=null,g=null;this.getDOMelement=function(){return d};this.setVisible=function(c){c=c?"block":"none";d.style.display!=c&&(d.style.display=c,b.jQuery(d).trigger("visibilityChange"))};var e=function(){g.previousByJavascript();return!1},g=r,d=document.createElement("div");d.className+=" pauseplayerControl pauseplayerPrevious";d.innerHTML='<svg width="100%" viewBox="0 0 36 36" version="1.1" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">\r\n\t\t<defs>\r\n\t\t\t<g id="pauseplayer-previous">\r\n\t\t\t\t<rect x="8" y="10" width="10" height="16" />\r\n\t\t\t\t<path d="M28,10 L28,26 L18,18 L28,10 Z" />\r\n\t\t\t</g>\r\n\t\t</defs>\r\n\t\t<use class="pauseplayer-previous-back" xlink:href="#pauseplayer-previous"/>\r\n\t\t<use class="pauseplayer-previous-front" xlink:href="#pauseplayer-previous"/>\r\n\t\t</svg>';
document.addEventListener?d.addEventListener("click",e,!1):d.attachEvent("onclick",e)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.ZOCCJCG&&(pauseplayer.ZOCCJCG=function(b){return function(r){var d=null,g=null;this.getDOMelement=function(){return d};this.setVisible=function(c){c=c?"block":"none";d.style.display!=c&&(d.style.display=c,b.jQuery(d).trigger("visibilityChange"))};var e=function(){g.speedLeftByJavascript();return!1},g=r,d=document.createElement("div");d.className+=" pauseplayerControl pauseplayerSpeedLeft";d.innerHTML='<svg width="100%" viewBox="0 0 36 36" version="1.1" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">\r\n\t\t<defs>\r\n\t\t\t<g id="pauseplayer-speedleft">\r\n\t\t\t\t<path d="M18,10 L18,26 L8,18 L18,10 Z" />\r\n\t\t\t\t<path d="M28,10 L28,26 L18,18 L28,10 Z" />\r\n\t\t\t</g>\r\n\t\t</defs>\r\n\t\t<use class="pauseplayer-speedleft-back" xlink:href="#pauseplayer-speedleft"/>\r\n\t\t<use class="pauseplayer-speedleft-front" xlink:href="#pauseplayer-speedleft"/>\r\n\t\t</svg>';
document.addEventListener?d.addEventListener("click",e,!1):d.attachEvent("onclick",e)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.SNEBNAZBMT&&(pauseplayer.SNEBNAZBMT=function(b){return function(r){var d=null,g=null;this.getDOMelement=function(){return d};this.setVisible=function(c){c=c?"block":"none";d.style.display!=c&&(d.style.display=c,b.jQuery(d).trigger("visibilityChange"))};var e=function(){g.speedRightByJavascript();return!1},g=r,d=document.createElement("div");d.className+=" pauseplayerControl pauseplayerSpeedRight";d.innerHTML='<svg width="100%" viewBox="0 0 36 36" version="1.1" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">\r\n\t\t<defs>\r\n\t\t\t<g id="pauseplayer-speedright">\r\n\t\t\t\t<path d="M8,10 L8,26 L18,18 L8,10 Z" />\r\n\t\t\t\t<path d="M18,10 L18,26 L28,18 L18,10 Z" />\r\n\t\t\t</g>\r\n\t\t</defs>\r\n\t\t<use class="pauseplayer-speedright-back" xlink:href="#pauseplayer-speedright"/>\r\n\t\t<use class="pauseplayer-speedright-front" xlink:href="#pauseplayer-speedright"/>\r\n\t\t</svg>';
document.addEventListener?d.addEventListener("click",e,!1):d.attachEvent("onclick",e)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.RQXTBFREGV&&(pauseplayer.RQXTBFREGV=function(b){return function(r,d,g,e){var c=!1,a=null,k=null,n="normal",h,f;this.getDOMelement=function(){return a};this.setVisible=function(c){c=c?"block":"none";a.style.display!=c&&(a.style.display=c,b.jQuery(a).trigger("visibilityChange"))};var l=function(a){0==a?c||(f.style.width="0px",c=!0,m("pauseplayerMuteOn")):(f.style.width=Math.round(a*("normal"==n?42:147))+"px",c&&(c=!1,m("pauseplayerMuteOff")))},
m=function(a){b.jQuery(h).removeClass("pauseplayerMuteOn");b.jQuery(h).removeClass("pauseplayerMuteOff");b.jQuery(h).addClass(a);"pauseplayerMuteOn"==a&&(h.innerHTML='<svg width="100%" viewBox="0 0 32 32" version="1.1" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">\r\n\t\t\t\t<defs>\r\n\t\t\t\t\t<path id="pauseplayer-muteon" d="M5.5,9.5 L5.5,22.5 L14.5,22.5 L26,30 L26,2 L14.5,9.5 L12,9.5 Z" />\r\n\t\t\t\t\t<line id="pauseplayer-muteon-lineback" x1="2" y1="24" x2="30" y2="8" stroke="white" stroke-width="4" />\r\n\t\t\t\t\t<line id="pauseplayer-muteon-linefront" x1="2" y1="24" x2="30" y2="8" stroke="black" stroke-width="3" />\r\n\t\t\t\t</defs>\r\n\t\t\t\t<use class="pauseplayer-muteon-back" xlink:href="#pauseplayer-muteon"/>\r\n\t\t\t\t<use class="pauseplayer-muteon-front" xlink:href="#pauseplayer-muteon"/>\r\n\t\t\t\t<use class="pauseplayer-muteon-front-lineback" xlink:href="#pauseplayer-muteon-lineback"/>\r\n\t\t\t\t<use class="pauseplayer-muteon-front-linefront" xlink:href="#pauseplayer-muteon-linefront"/>\r\n\t\t\t\t</svg>');
"pauseplayerMuteOff"==a&&(h.innerHTML='<svg width="100%" viewBox="0 0 32 32" version="1.1" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">\r\n\t\t\t\t<defs>\r\n\t\t\t\t\t<g id="pauseplayer-muteoff">\r\n\t\t\t\t\t\t<path d="M5.5,9.5 L5.5,22.5 L14.5,22.5 L26,30 L26,2 L14.5,9.5 L12,9.5 Z" />\r\n\t\t\t\t\t</g>\r\n\t\t\t\t</defs>\r\n\t\t\t\t<use class="pauseplayer-muteoff-back" xlink:href="#pauseplayer-muteoff"/>\r\n\t\t\t\t<use class="pauseplayer-muteoff-front" xlink:href="#pauseplayer-muteoff"/>\r\n\t\t\t\t</svg>')},
q=function(a){a=a||window.event;a=b.jQuery.event.fix(a);a=Math.round(100*(a.pageX-b.jQuery(a.target).offset().left)/("normal"==n?42:147));0>a&&(a=0);100<a&&(a=100);k.setVolume(a/100);k.saveUserSettings();return!1},w=function(a){k.setMute(!c);return!1},k=r,n=void 0!=d?d:"normal";r=void 0!=g?g:.75;c=void 0!=e?e:!1;a=document.createElement("div");a.className+=" pauseplayerControl pauseplayerRQXTBFREGV";h=document.createElement("div");h.className+=" pauseplayerControl";h.style.top=("normal"==n?4:14)+
"px";h.style.left="0px";a.appendChild(h);document.addEventListener?h.addEventListener("click",w,!1):h.attachEvent("onclick",w);0==k.getDOMelement().volume?m("pauseplayerMuteOn"):m("pauseplayerMuteOff");e=document.createElement("div");e.className+=" pauseplayerControl pauseplayerRQXTBFREGV_bar";e.innerHTML='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 42 14" height="100%" width="100%">\r\n\t\t<path d="M0,14 L42,0 42,14 0,14 Z" id="pauseplayer-volumebar-mask" />\r\n\t</svg>';
a.appendChild(e);document.addEventListener?e.addEventListener("click",q,!1):e.attachEvent("onclick",q);f=document.createElement("div");f.className+=" pauseplayerControl pauseplayerRQXTBFREGV_volumebar";f.innerHTML='<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 42 14" height="100%" width="100%">\r\n\t\t<path d="M0,14 L42,0 42,14 0,14 Z" id="pauseplayer-volumebar-mask" />\r\n\t</svg>';a.appendChild(f);document.addEventListener?f.addEventListener("click",
q,!1):f.attachEvent("onclick",q);l(r);k.setVolumeFunctionCallback(l)}}(pauseplayer));
"undefined"!=typeof pauseplayer&&"undefined"==typeof pauseplayer.Functions&&(pauseplayer.Functions=function(b){function r(g){var e=document.createElement("div");e.id=g.id+"_container";e.allowfullscreen="allowfullscreen";e.className+=" pauseplayerContainer";e.style.width=g.config.width;e.style.height=g.config.height;e.style.overflow="hidden";var c=g.container,a=new b.WKYMC(g.id,"CreateElementsContainer",{});b.IBBJNC.addTransactionResult(a);if(null==c)return b.DEBUG&&
b.LOG.errort("The HTML element container '{0}' doesn't exist.","",!0,g.containerID),!1;a="child";"100%"==g.config.width&&"100%"==g.config.height&&(a="hidecontent");if("hidecontent"==a)c.insertBefore(e,c.firstChild),"static"==b.BHDRCCDZN.getStyle(c,"position")&&(a={},a.element=g.container,a.position=c.style.position,d.containersOldValuesPosition.push(a),c.style.position="relative"),e.style.position="absolute";else{c.appendChild(e);for(c=0;c<d.containersOldValuesPosition.length;c++)if(d.containersOldValuesPosition[c].element==
g.container){d.containersOldValuesPosition.splice(c,1);break}e.style.position="relative"}e.style.top="0px";e.style.left="0px";e.style.zIndex="1";e.style.display="inline-block";g.MJOJICQSR&&g.MJOJICQSR.activeResizeEvent()}var d={containersOldValuesPosition:[],defineWorkflows:function(){var d=new b.GNCTI("LoadingPausePlayerLibrary"),e=new b.FHUCV("PageLoaded");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return"LoadScriptsAndCss"});
d.addStep(e);e=new b.FHUCV("LoadScriptsAndCss");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return"ScriptsAndCssLoaded"});d.addStep(e);e=new b.FHUCV("ScriptsAndCssLoaded");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){});d.addStep(e);b.IBBJNC.addWorkflow(d);d=new b.GNCTI("VideoPlayerCreation");e=new b.FHUCV("CreatePlayer");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,
a,d){return["CreateDIVContainer","HTML5NotSupported","CreateElementsContainer"]});d.addStep(e);e=new b.FHUCV("CreateDIVContainer");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return["CreateElementsContainer","HTML5NotSupported"]});d.addStep(e);e=new b.FHUCV("HTML5NotSupported");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){});d.addStep(e);e=new b.FHUCV("CreateElementsContainer");e.setBeginVerifications(function(b,
a,d){return!0});e.setEndRoutings(function(b,a,d){return["CreateDIVStartContent","CreateAndConfigHTML5Player"]});d.addStep(e);e=new b.FHUCV("CreateDIVStartContent");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return"CreateAndConfigHTML5Player"});d.addStep(e);e=new b.FHUCV("CreateAndConfigHTML5Player");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return["LicenseInvalid","LicenseValid"]});d.addStep(e);e=new b.FHUCV("LicenseValid");
e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return"CreateDIVEndContent"});d.addStep(e);e=new b.FHUCV("LicenseInvalid");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return"CreateDIVEndContent"});d.addStep(e);e=new b.FHUCV("CreateDIVEndContent");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){});d.addStep(e);b.IBBJNC.addWorkflow(d);d=new b.GNCTI("JavascriptCommandsActivation");
b.IBBJNC.addWorkflow(d);d=new b.GNCTI("VideoPlayerSteps");b.IBBJNC.addWorkflow(d);d=new b.GNCTI("ContentDisplay");b.IBBJNC.addWorkflow(d);d=new b.GNCTI("VideoPlayerElementsDisplay");b.IBBJNC.addWorkflow(d);d=new b.GNCTI("ThemeDisplay");e=new b.FHUCV("DefineThemeSize");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){});d.addStep(e);b.IBBJNC.addWorkflow(d);d=new b.GNCTI("AddVideoToPlaylist");
b.IBBJNC.addWorkflow(d);d=new b.GNCTI("VideoPlayerSuspended");e=new b.FHUCV("PlayerStepSuspended");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return"ShowZSPHMRFrameOnTop"});d.addStep(e);e=new b.FHUCV("ShowZSPHMRFrameOnTop");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return"ZSPHMRFrameClicked"});d.addStep(e);e=new b.FHUCV("ZSPHMRFrameClicked");e.setBeginVerifications(function(b,
a,d){return!0});e.setEndRoutings(function(b,a,d){return"UserInteractionWasMade"});d.addStep(e);e=new b.FHUCV("UserInteractionWasMade");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){return"PlayerStepPlayer"});d.addStep(e);e=new b.FHUCV("PlayerStepPlayer");e.setBeginVerifications(function(b,a,d){return!0});e.setEndRoutings(function(b,a,d){});d.addStep(e);b.IBBJNC.addWorkflow(d);d=new b.GNCTI("AddAndPrepareVideo");e=new b.FHUCV("AddVideoToThePlayer");
e.setBeginVerifications(function(b,a,d){if(1!=b.length)return!1;b=b[0].getContextElements();return void 0==b.video||b.video.getID()!=a?!1:!0});e.setEndRoutings(function(b,a,d){return"LoadVideo"});d.addStep(e);e=new b.FHUCV("LoadVideo","AddVideoToThePlayer");e.setBeginVerifications(function(b,a,d){return void 0==d.sourceChecked||1==d.sourceChecked?!1:!0});e.setEndRoutings(function(b,a,d){return["SourceChecked","LoadExternalPicture"]});d.addStep(e);e=new b.FHUCV("LoadExternalPicture",
"LoadVideo");e.setBeginVerifications(function(b,a,d){return void 0==d.sourceChecked||1==d.sourceChecked?!1:!0});e.setEndRoutings(function(b,a,d){return"PictureLoaded"});d.addStep(e);e=new b.FHUCV("SourceChecked","LoadVideo");e.setBeginVerifications(function(b,a,d){return void 0==d.sourceChecked||0==d.sourceChecked?!1:!0});e.setEndRoutings(function(b,a,d){return["MetadatasLoaded","VideoSuspended"]});d.addStep(e);e=new b.FHUCV("VideoSuspended","SourceChecked");e.setBeginVerifications(function(b,
a,d){return void 0==d.videoSuspended||0==d.videoSuspended?!1:!0});e.setEndRoutings(function(b,a,d){return"LoadVideo"});d.addStep(e);e=new b.FHUCV("MetadatasLoaded","SourceChecked");e.setBeginVerifications(function(b,a,d){return void 0==d.metadatasLoaded||0==d.metadatasLoaded?!1:!0});e.setEndRoutings(function(b,a,d){return"SynchroVideoLoaded"});d.addStep(e);e=new b.FHUCV("PictureLoaded");e.setBeginVerifications(function(b,a,d){return void 0==d.pictureLoaded||0==d.pictureLoaded?!1:!0});
e.setEndRoutings(function(b,a,d){return"SynchroVideoLoaded"});d.addStep(e);e=new b.FHUCV("SynchroVideoLoaded");e.setBeginVerifications(function(b,a,d){return void 0==d.pictureLoaded||0==d.pictureLoaded||void 0==d.metadatasLoaded||0==d.metadatasLoaded?!1:!0});e.setEndRoutings(function(b,a,d){return["VideoAdded","VideoRemoved","VideoSuspendedInLoading"]});d.addStep(e);e=new b.FHUCV("VideoAdded","SynchroVideoLoaded");e.setBeginVerifications(function(b,a,d){return!0});d.addStep(e);e=new b.FHUCV("VideoRemoved",
"SynchroVideoLoaded");e.setBeginVerifications(function(b,a,d){return!0});d.addStep(e);e=new b.FHUCV("VideoSuspendedInLoading","SynchroVideoLoaded");e.setBeginVerifications(function(b,a,d){return!0});d.addStep(e);b.IBBJNC.addWorkflow(d);d=new b.GNCTI("VideoPlayhead");b.IBBJNC.addWorkflow(d);d=new b.GNCTI("VideoPlayerCommands");b.IBBJNC.addWorkflow(d)},createPlayers:function(){for(var d=b.BHDRCCDZN.isHTML5Supported(),e=0;e<=b.players.length-1;e++){var c=
b.players[e];if(!c.launch){c.launch=!0;if("playersuspended"==c.step){var a=new b.ZWBLZF("VideoPlayerSuspended","suspended_"+c.id);b.IBBJNC.addTransaction(a);a=new b.WKYMC("suspended_"+c.id,"PlayerStepSuspended",{playerstep:c.step,userInteractionWasMade:!1});b.IBBJNC.addTransactionResult(a)}a=new b.ZWBLZF("VideoPlayerCreation",c.id);b.IBBJNC.addTransaction(a);a=new b.WKYMC(c.id,"CreatePlayer",{launch:c.launch,
containerID:c.containerID});b.IBBJNC.addTransactionResult(a);c.MJOJICQSR=new b.QNNLUTD(c.id);c.ATWMPY=new b.KJCHZSLPX(c.MJOJICQSR,"startcontent","",c.config.startcontent.displaymode,c.config.startcontent.backgroundcolor);c.UBFXTYOLNU=new b.KJCHZSLPX(c.MJOJICQSR,"endcontent","",c.config.endcontent.displaymode,c.config.endcontent.backgroundcolor);b.BHDRCCDZN.setDisplayToElementsByClassName(c.container,"startcontent",
"none");b.BHDRCCDZN.setDisplayToElementsByClassName(c.container,"endcontent","none");null==c.container&&(b.LOG.errort("The HTML element container '{0}' doesn't exist.","",!0,c.containerID),a=document.createElement("div"),a.id=c.id+"_parentcontainer",a.style.width="100%",a.style.height="100%",a.className+=" pauseplayerParentContainer",a.innerHTML="",document.body&&document.body.appendChild(a),0==b.jQuery(a).height()&&(a.style.height="250px"),c.container=a,c.containerID=a.id,a=new b.WKYMC(c.id,
"CreateParentContainer",{launch:c.launch,containerID:c.containerID}),b.IBBJNC.addTransactionResult(a));if(d){r(c);if("videoimage"==c.config.startcontent.mode){a=document.createElement("div");a.id=c.id+"_startcontent";a.className+=" pauseplayerStartcontent";a.style.width="100%";a.style.height="100%";a.style.visibility="hidden";a.style.position="absolute";a.style.top="0px";a.style.left="0px";a.style.zIndex="3";if(document.getElementById(c.id+"_container")){var k=document.getElementById(c.id+
"_container");k.insertBefore(a,k.firstChild)}a=new b.WKYMC(c.id,"CreateDIVStartContent",{});b.IBBJNC.addTransactionResult(a)}"webimage"==c.config.startcontent.mode&&void 0!=c.config.startcontent.image&&""!=c.config.startcontent.image&&(a=document.createElement("div"),a.id=c.id+"_startcontent",a.className+=" pauseplayerStartcontent",a.style.width="100%",a.style.height="100%",a.style.visibility="hidden",a.style.position="absolute",a.style.top="0px",a.style.left="0px",
a.style.zIndex="3",document.getElementById(c.id+"_container")&&(k=document.getElementById(c.id+"_container"),k.insertBefore(a,k.firstChild)),a=new b.WKYMC(c.id,"CreateDIVStartContent",{}),b.IBBJNC.addTransactionResult(a))}else return b.DEBUG&&b.LOG.errort("HTML5 is not supported by your browser, media files can not be played","",!0),d=new b.WKYMC(c.id,"HTML5NotSupported",{}),b.IBBJNC.addTransactionResult(d),null!=c.container&&(d=document.createElement("span"),
d.innerHTML=b.RCNVUAJOI.translate("HTML5 is not supported by your browser, media files can not be played"),c.container.insertBefore(d,c.container.firstChild)),!1;c.config.themesize="normal";if(b.BHDRCCDZN.isMobileDevice()||b.BHDRCCDZN.isTabletDevice()||b.BHDRCCDZN.isTouchDevice())c.config.themesize="big";a=new b.ZWBLZF("ThemeDisplay","theme_"+c.id);b.IBBJNC.addTransaction(a);a=new b.WKYMC("theme_"+c.id,"DefineThemeSize",{themesize:c.config.themesize});b.IBBJNC.addTransactionResult(a);
c.MJOJICQSR.calculatePlayerSize();if(d){var n=document.createElement("div");n.id=c.id+"_animation";n.className+=" pauseplayerAnimation";n.style.width="100%";n.style.height="100%";n.style.visibility="visible";n.style.overflow="hidden";n.style.position="absolute";n.style.top="0px";n.style.left="0px";n.style.backgroundColor=c.config.backgroundcolor;n.style.zIndex="4";a=new b.OFVBV(c.id,c.MJOJICQSR,c.config.autoplay,c.config.playnonstop,"all"==c.config.looping?!0:
!1,"all"!=c.config.looping&&"none"!=c.config.looping?c.config.looping:-1,c.config.videodisplaymode);a.setVolume(c.config.volume);c.config.mute&&a.setMute(!0);c.config.usersettings&&a.loadUserSettings();c.config.preloadtime&&a.setPreloadTime(c.config.preloadtime);k=new b.WKYMC(c.id,"CreateAndConfigHTML5Player",{});b.IBBJNC.addTransactionResult(k);c.DJBTNUJP=new b.ZSPHMRFrame(a,c.MJOJICQSR,c.config.controlsdisplaymode);a.setLoadFunctionCallback(function(a,
c){b.onLoadComplete(a.playerid,a)});a.setPictureFunctionCallback(function(a){b.onPictureComplete(a.playerid,a)});a.setPlayFunctionCallback(function(a){b.onPlayStateChange(a.playerid,a)});!0!==b.licenseValid&&(b.UIMBP.checkValidityOfUse()?(b.licenseValid=!0,k=new b.WKYMC(c.id,"LicenseValid",{})):(b.licenseValid=!1,k=new b.WKYMC(c.id,"LicenseInvalid",{})),b.IBBJNC.addTransactionResult(k));if(!0===b.licenseValid&&"playersuspended"!=c.step)for(b.LOG.dev("Add videos"),
k=0;k<=c.config.playlist.length-1;k++)"new"==c.config.playlist[k].state&&(a.add(c.config.playlist[k]),c.config.playlist[k].state="onload");a.getDOMelement().setAttribute("width","100%");a.getDOMelement().setAttribute("height","100%");document.getElementById(c.id+"_container")&&(k=document.getElementById(c.id+"_container"),k.insertBefore(n,k.firstChild));n=new b.BMFW(a,c.MJOJICQSR,c.config.controlsdisplaymode,c.config.theme,c.config.themesize);c.SWNHPG=a;c.ROHGWKOSI=
n;!0===b.licenseValid&&b.activePlayerCommunication(c.id)}d&&("videoimage"==c.config.endcontent.mode&&(a=document.createElement("div"),a.id=c.id+"_endcontent",a.className+=" pauseplayerEndcontent",a.style.width="100%",a.style.height="100%",a.style.visibility="hidden",a.style.position="absolute",a.style.top="0px",a.style.left="0px",a.style.zIndex="3",document.getElementById(c.id+"_container")&&(k=document.getElementById(c.id+"_container"),k.insertBefore(a,k.firstChild)),a=new b.WKYMC(c.id,
"CreateDIVEndContent",{}),b.IBBJNC.addTransactionResult(a)),"webimage"==c.config.endcontent.mode&&void 0!=c.config.endcontent.image&&""!=c.config.endcontent.image&&(a=document.createElement("div"),a.id=c.id+"_endcontent",a.className+=" pauseplayerEndcontent",a.style.width="100%",a.style.height="100%",a.style.visibility="hidden",a.style.position="absolute",a.style.top="0px",a.style.left="0px",a.style.zIndex="3",document.getElementById(c.id+"_container")&&(k=document.getElementById(c.id+
"_container"),k.insertBefore(a,k.firstChild)),a=new b.WKYMC(c.id,"CreateDIVEndContent",{}),b.IBBJNC.addTransactionResult(a)));d&&(c.ATWMPY.create(),c.UBFXTYOLNU.create());b.Functions.setDIVVisibilities(c)}}},setDIVVisibilities:function(d){var e=d.step,c=d.config.startcontent.mode,a=d.config.endcontent.mode,k=d.config.playbutton,n=d.config.appearmode,h=d.config.disappearmode,f=d.config.autoplay,l=d.config.controlsdisplaymode;d.DJBTNUJP.hide();
b.BHDRCCDZN.setVisibility(d.id+"_startcontent","hidden");b.BHDRCCDZN.setVisibility(d.id+"_animation","hidden");b.BHDRCCDZN.setVisibility(d.id+"_endcontent","hidden");b.BHDRCCDZN.setDisplayToElementsByClassName(d.container,"startcontent","none");b.BHDRCCDZN.setDisplayToElementsByClassName(d.container,"endcontent","none");var m=!1,q="ontop",r=!1,A=!1,y=!1,x=!1,C=!1;if("preload"==e){if("start"==k||"both"==k)m=!0;"none"!=c&&(r=!0,"html"==c&&(r=!1,x=!0));"none"!=c||"default"!=n&&"onplay"!=n||(y=!0);f&&"default"==n&&(y=!0,
r=m=!1)}if("startcontent"==e||"startcontent_playersuspended"==e){r=!0;if("start"==k||"both"==k||"none"==k&&"startcontent_playersuspended"==e)m=!0;"html"==c&&(r=!1,x=!0)}if("player"==e||"playersuspended"==e)m=y=!0,"html"==c&&(x=!1),"html"==a&&(C=!1);if("endcontent"==e){A=!0;if("end"==k||"both"==k)m=!0;"html"==a&&(A=!1,C=!0);"none"!=h&&"none"==a&&(y=A=!1)}y&&"never"!=l&&"preload"!=e&&"playersuspended"!=e&&"startcontent_playersuspended"!=e&&(q="inside");m&&("startcontent_playersuspended"!=e&&"playersuspended"!=
e||"ontop"!=q||(e=new b.WKYMC("suspended_"+d.id,"ShowZSPHMRFrameOnTop",{}),b.IBBJNC.addTransactionResult(e)),d.DJBTNUJP.move(q),d.DJBTNUJP.show());r&&b.BHDRCCDZN.setVisibility(d.id+"_startcontent","visible");y&&b.BHDRCCDZN.setVisibility(d.id+"_animation","visible");A&&b.BHDRCCDZN.setVisibility(d.id+"_endcontent","visible");x&&b.BHDRCCDZN.setDisplayToElementsByClassName(d.container,"startcontent","block");C&&b.BHDRCCDZN.setDisplayToElementsByClassName(d.container,
"endcontent","block")},removeContainer:function(g,e){var c=document.getElementById(g);if(null==c||void 0==e||null==e)return b.DEBUG&&b.LOG.errort("Impossible to hide HTML container of player.","",!0),!1;c.style.display="none";try{c.parentNode.removeChild(c)}catch(a){}for(c=0;c<d.containersOldValuesPosition.length;c++)if(d.containersOldValuesPosition[c].element==e){e.style.position=d.containersOldValuesPosition[c].position;break}}};return d}(pauseplayer));

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc