(function(){var g={}; var _ = _ || {}
var f=function(window){var Nw='" event to NPAW',Ow='" event to Youbora',Pw='Reporting "',Qw="Unhandled state",Rw="accountCode key is missing in Youbora config",Sw="ad break start",Tw="ad buffering ended",Uw="ad buffering started",Vw="ad click through url: ",Ww="ad timeline changed",Xw="clpp.npaw.NpawPlugin",Yw="clpp.npaw.YouboraPlugin",Zw="content.isLive",$w="content.title",ax="is container visible",bx="youbora",cx=function(a){return a.startsWith(_.Gd)?"Widevine":a.startsWith(_.Cd)?"FairPlay":a.match(/^com\.(microsoft|chromecast)\.playready/)?
"PlayReady":a.startsWith(_.$e)?"ClearKey":a.startsWith(_.Bd)?"Primetime":a},dx=function(a){return(a=a.getConfiguration().youbora)&&a.errorFilter?a.errorFilter:function(b){return{code:""+b.code,message:b.message,severity:b.severity}}},ex=function(a,b,c,d){b=dx(b)(a);if(!b)return c.debug("Error not sent to Youbora",a.code,a.message),null;a=10003===a.code?"ad error":_.ie;b.severity===_.O?(d.fireFatalError(b.code,b.message,b.metadata),c.debug('Reporting "fatal '+a+'" to Youbora',b.code,b)):(d.fireError(b.code,
b.message,b.metadata),c.debug(Pw+a+'" to Youbora',b.code,b));return b},fx=function(a){function b(c){var d=youbora.Adapter.call(this,c)||this;d.m=c;d.a=new _.gi;d.g=new _.J("clpp.npaw.YouboraAdapter");d.o=!1;d.h=!1;d.B=!1;d.registerListeners();return d}_.w(b,youbora.Adapter);b.prototype.getPlayhead=function(){return this.getIsLive()?-1:this.m.getPosition()};b.prototype.getDuration=function(){return this.m.getDuration()};b.prototype.getRendition=function(){var c=this.m.getTrackManager();if(c&&(c=c.ma())){var d=
c.width;var e=c.height;var f=c.bandwidth}d&&e&&f||(c=this.j(),d=d||c.width,e=e||c.height,f=f||c.streamBandwidth);return youbora.Util.buildRenditionString(d,e,f)};b.prototype.getIsLive=function(){return this.m.isLive()};b.prototype.getResource=function(){var c=this.m.getLoadedSource();return c&&c.url};b.prototype.getBitrate=function(){return this.j().streamBandwidth};b.prototype.getThroughput=function(){return this.j().estimatedBandwidth};b.prototype.getPlayrate=function(){return this.m.getPlaybackRate()};
b.prototype.getFramesPerSecond=function(){var c=this.m.getTrackManager();return c&&(c=c.La())?c.frameRate:null};b.prototype.getPlayerName=function(){return _.xa};b.prototype.getVersion=function(){return"6.25.2-castlabsadapter-js"};b.prototype.getPlayerVersion=function(){return _.ia};b.prototype.registerListeners=function(){this.m&&this.a&&(this.g.debug("registering listeners"),youbora.Util.logAllEvents(this.m),this.a.on(this.m,_.bg,this.K.bind(this)),this.a.on(this.m,_.ie,this.H.bind(this)),this.a.on(this.m,
_.Cg,this.J.bind(this)),this.a.on(this.m,_.Bg,this.I.bind(this)),this.a.on(this.m,_.Cc,this.C.bind(this)),this.a.on(this.m,_.ed,this.G.bind(this)))};b.prototype.unregisterListeners=function(){this.g.debug(_.Rb);_.ki(this.a)};b.prototype.dispose=function(){youbora.Adapter.prototype.dispose.call(this);this.B=!0};b.prototype.j=function(){return this.m.getStats()||_.sq()};b.prototype.w=function(){return!!this.m.getConfiguration().autoplay};b.prototype.K=function(c){c=c.detail;this.l("state change",c);
if(c)switch(c.currentState){case _.Fq:this.w()&&this.f();break;case _.Hq:this.f();this.A();this.fireResume();this.fireBufferEnd();break;case _.Gq:this.w()&&this.f();this.A();this.fireBufferEnd();this.firePause();break;case _.tq:this.fireBufferEnd();this.fireStop();break;case _.Aq:this.fireBufferEnd();this.o&&this.plugin.getAdsAdapter()?this.firePause():this.fireStop();break;case _.yq:this.fireBufferBegin();break;default:this.g.debug(Qw,c)}};b.prototype.f=function(){this.plugin.isInitiated||(this.h=
!1,this.fireInit())};b.prototype.A=function(){var c=this.m.getDrmInfo();c&&(c=cx(c.keySystem))&&this.plugin.setOptions({"content.drm":c});this.fireJoin()};b.prototype.H=function(c){!(c=c.detail)||this.h||10003===c.code&&this.plugin.getAdsAdapter()||(c=ex(c,this.m,this.g,this))&&c.severity===_.O&&(this.h=!0)};b.prototype.J=function(){this.m.isEnded()||(this.l(_.Uf),this.f(),this.fireSeekBegin())};b.prototype.I=function(){this.l(_.Tf);this.fireSeekEnd()};b.prototype.C=function(c){this.g.debug("adsTimeline",
c);this.o=(c=c.adsTimeline)&&c.Qb()};b.prototype.G=function(c){this.g.debug("Casting",c);this.fireCasted()};b.prototype.l=function(c,d){for(var e=[],f=1;f<arguments.length;++f)e[f-1]=arguments[f];this.g.debug.apply(this.g,[Pw+c+Ow].concat(_.gh(e)))};return new b(a)},gx=function(a){function b(c){var d=youbora.Adapter.call(this,c)||this;d.m=c;d.a=null;d.j=null;d.f=new _.gi;d.g=new _.J("clpp.npaw.YouboraAdsAdapter");d.registerListeners();d.A=!1;d.l=!1;return d}_.w(b,youbora.Adapter);b.prototype.getDuration=
function(){return this.a&&this.a.getDuration()};b.prototype.getRendition=function(){var c=null;this.a&&(c=youbora.Util.buildRenditionString(this.a.ob(),this.a.nb(),this.a.Ua()));return c};b.prototype.getBitrate=function(){return this.a&&this.a.Ua()};b.prototype.getPlayhead=function(){var c=this.m.getAdsManager();return c&&c.getPosition()};b.prototype.getResource=function(){return this.a&&this.a.getMediaUrl()};b.prototype.getTitle=function(){return this.a&&this.a.getTitle()};b.prototype.getProvider=
function(){return this.a&&this.a.getAdvertiserName()};b.prototype.getCreativeId=function(){return this.a&&this.a.getCreativeId()};b.prototype.getPosition=function(){var c=youbora.Constants.AdPosition,d=null;if(this.a)switch(this.a.Va()){case 0:d=c.Preroll;break;case 2:d=c.Postroll;break;case 1:d=c.Midroll}this.g.debug("Ad position",d);return d};b.prototype.getIsSkippable=function(){return this.a&&-1!==this.a.getSkipTimeOffset()};b.prototype.getAudioEnabled=function(){var c=this.m.getAdsManager();
return c&&0<c.getVolume()};b.prototype.getExpectedBreaks=function(){return this.j&&this.j.getCuePoints().length};b.prototype.getGivenBreaks=function(){return this.getExpectedBreaks()};b.prototype.getExpectedAds=function(){return this.a&&this.a.pb()};b.prototype.getGivenAds=function(){return this.getExpectedAds()};b.prototype.getBreaksTime=function(){var c=this;return this.j&&this.j.getCuePoints().map(function(d){return-1===d?c.m.getDuration():d})};b.prototype.getIsFullscreen=function(){return this.m.getSurface().isFullscreen()};
b.prototype.getIsVisible=function(){var c=this.m.getSurface().getContainer();c=youbora.Util.calculateAdViewability(c);this.g.debug(ax,c);return c};b.prototype.getPlayerName=function(){return _.xa};b.prototype.getVersion=function(){return"6.25.2-castlabsadsadapter-js"};b.prototype.getPlayerVersion=function(){return _.ia};b.prototype.registerListeners=function(){this.m&&this.f&&(this.f.on(this.m,_.Cc,this.T.bind(this)),this.f.on(this.m,_.xc,this.P.bind(this)),this.f.on(this.m,_.tc,this.K.bind(this)),
this.f.on(this.m,_.vc,this.L.bind(this)),this.f.on(this.m,_.lc,this.I.bind(this)),this.f.on(this.m,_.mc,this.o.bind(this,1)),this.f.on(this.m,_.sc,this.o.bind(this,2)),this.f.on(this.m,_.Ac,this.o.bind(this,3)),this.f.on(this.m,_.kc,this.H.bind(this)),this.f.on(this.m,_.wc,this.N.bind(this)),this.f.on(this.m,_.ie,this.J.bind(this)),this.f.on(this.m,_.hc,this.B.bind(this)),this.f.on(this.m,_.ic,this.C.bind(this)),this.f.on(this.m,_.jc,this.G.bind(this)),this.f.on(this.m,_.uc,this.w.bind(this)))};b.prototype.unregisterListeners=
function(){_.ki(this.f)};b.prototype.dispose=function(){youbora.Adapter.prototype.dispose.call(this);this.A=!0};b.prototype.T=function(c){this.g.debug(Ww,c);this.j=c.adsTimeline};b.prototype.P=function(c){this.a=c.ad;this.h("ad start",this.a);this.fireStart();this.fireJoin()};b.prototype.I=function(){this.h("ad ended");this.fireStop()};b.prototype.K=function(){this.h("ad pause");this.w();this.firePause()};b.prototype.L=function(){this.h("ad resume");this.w();this.fireResume()};b.prototype.G=function(){this.l=
!0;this.h(Uw);this.fireBufferBegin()};b.prototype.w=function(){this.l&&(this.h(Tw),this.l=!1,this.fireBufferEnd())};b.prototype.o=function(c){this.h("ad quartile",c);this.fireQuartile(c)};b.prototype.H=function(){this.h("ad clicked");var c=this.a&&this.a.zb();this.g.debug(Vw,c);this.fireClick(c)};b.prototype.N=function(){this.h("ad skipped");this.fireSkip()};b.prototype.B=function(c){this.a=c.ad;this.h(Sw,this.a);this.fireBreakStart()};b.prototype.C=function(){this.h("ad break stop");this.fireBreakStop();
if(this.getPosition()===youbora.Constants.AdPosition.Postroll){var c=this.plugin.getAdapter();c&&c.fireStop()}};b.prototype.J=function(c){(c=c.detail)&&10003===c.code&&ex(c,this.m,this.g,this)};b.prototype.h=function(c,d){for(var e=[],f=1;f<arguments.length;++f)e[f-1]=arguments[f];this.g.debug.apply(this.g,[Pw+c+Ow].concat(_.gh(e)))};return new b(a)},ix=function(){function a(){var b=NpawPluginAdapters.video.Shaka.call(this)||this;b.h=!1;b.f=!1;b.a=null;b.B=!1;return b}_.w(a,NpawPluginAdapters.video.Shaka);
a.prototype.getPlayhead=function(){return this.getIsLive()?-1:this.player.getPosition()};a.prototype.getDuration=function(){return this.player.getDuration()};a.prototype.getRendition=function(){var b=null,c=null,d=null,e=this.player.getTrackManager();e&&(e=e.ma())&&(b=e.width,c=e.height,d=e.bandwidth);b&&c&&d||(e=this.j(),b=b||e.width,c=c||e.height,d=d||e.streamBandwidth);return this.getNpawUtils().buildRenditionString(b,c,d)};a.prototype.getIsLive=function(){return this.player.isLive()};a.prototype.getResource=
function(){var b=this.player.getLoadedSource();return b&&b.url};a.prototype.getBitrate=function(){return this.j().streamBandwidth};a.prototype.getThroughput=function(){return this.j().estimatedBandwidth};a.prototype.getPlayrate=function(){return this.player.getPlaybackRate()};a.prototype.getFramesPerSecond=function(){var b=this.player.getTrackManager();return b&&(b=b.La())?b.frameRate:null};a.prototype.getPlayerName=function(){return _.xa};a.prototype.getVersion=function(){return"castlabs-adapter-6.25.2-js"};
a.prototype.getPlayerVersion=function(){return _.ia};a.prototype.registerListeners=function(){var b=this.w();this.player&&b&&(b.on(this.player,_.bg,this.K.bind(this)),b.on(this.player,_.ie,this.H.bind(this)),b.on(this.player,_.Uf,this.J.bind(this)),b.on(this.player,_.Tf,this.I.bind(this)),b.on(this.player,_.Cc,this.C.bind(this)),b.on(this.player,_.ed,this.G.bind(this)))};a.prototype.unregisterListeners=function(){hx.debug(_.Rb);_.ki(this.w())};a.prototype.dispose=function(){this.unregisterListeners();
this.B=!0;this.f=this.h=!1;this.a=null};a.prototype.j=function(){return this.player.getStats()||_.sq()};a.prototype.o=function(){return!!this.player.getConfiguration().autoplay};a.prototype.K=function(b){b=b.detail;this.l("state change",b);if(b)switch(b.currentState){case _.Fq:this.o()&&this.fireStart();break;case _.Hq:this.fireStart();this.A();this.fireResume();this.fireBufferEnd();break;case _.Gq:this.o()&&this.fireStart();this.A();this.fireBufferEnd();this.firePause();break;case _.tq:this.fireBufferEnd();
this.fireStop();break;case _.Aq:this.fireBufferEnd();this.h&&this.plugin.getAdsAdapter()?this.firePause():this.fireStop();break;case _.yq:this.fireBufferBegin();break;default:hx.debug(Qw,b)}};a.prototype.A=function(){this.fireJoin()};a.prototype.H=function(b){(b=b.detail)&&!this.f&&this.player&&10003!==b.code&&(b=ex(b,this.player,hx,this))&&b.severity===_.O&&(this.f=!0)};a.prototype.J=function(){this.player.isEnded()||(this.l(_.Uf),this.fireSeekBegin())};a.prototype.w=function(){this.a||(this.a=new _.gi);
return this.a};a.prototype.I=function(){this.l(_.Tf);this.fireSeekEnd()};a.prototype.C=function(b){hx.debug("adsTimeline",b);this.h=(b=b.adsTimeline)&&b.Qb()};a.prototype.G=function(b){hx.debug("Casting",b);this.fireCasted()};a.prototype.l=function(b,c){for(var d=[],e=1;e<arguments.length;++e)d[e-1]=arguments[e];hx.debug.apply(hx,[Pw+b+Nw].concat(_.gh(d)))};return a},kx=function(){function a(){var b=NpawPluginAdapters.ads.Ima.call(this)||this;b.a=null;b.l=null;b.h=null;b.j=null;b.C=!1;b.o=!1;return b}
_.w(a,NpawPluginAdapters.ads.Ima);a.prototype.getDuration=function(){return this.a?this.a.getDuration():null};a.prototype.getRendition=function(){var b=null;this.a&&(b=this.getNpawUtils().buildRenditionString(this.a.ob(),this.a.nb(),this.a.Ua()));return b};a.prototype.getBitrate=function(){var b=null;this.a&&(b=this.a.Ua());return b};a.prototype.getPlayhead=function(){var b=null,c=this.player.getAdsManager();c&&(b=c.getPosition());return b};a.prototype.getResource=function(){var b=null;this.a&&(b=
this.a.getMediaUrl());return b};a.prototype.getTitle=function(){var b=null;this.a&&(b=this.a.getTitle());return b};a.prototype.getProvider=function(){var b=null;this.a&&(b=this.a.getAdvertiserName());return b};a.prototype.getCreativeId=function(){var b=null;this.a&&(b=this.a.getCreativeId());return b};a.prototype.dispose=function(){this.unregisterListeners();this.C=!0;this.j=this.h=this.a=null};a.prototype.getPosition=function(){var b=this.getNpawReference().Constants.AdPosition,c=null;if(this.a)switch(this.a.Va()){case 0:c=
b.Preroll;break;case 2:c=b.Postroll;break;case 1:c=b.Midroll}jx.debug("Ad position",c);return c};a.prototype.getIsSkippable=function(){return this.a&&-1!==this.a.getSkipTimeOffset()};a.prototype.getAudioEnabled=function(){var b=this.player.getAdsManager();return b&&0<b.getVolume()};a.prototype.getExpectedBreaks=function(){return this.h&&this.h.getCuePoints().length};a.prototype.getGivenBreaks=function(){return this.getExpectedBreaks()};a.prototype.getExpectedAds=function(){return this.a&&this.a.pb()};
a.prototype.getGivenAds=function(){return this.getExpectedAds()};a.prototype.getBreaksTime=function(){var b=this;return this.h&&this.h.getCuePoints().map(function(c){return-1===c?b.player.getDuration():c})};a.prototype.getIsFullscreen=function(){return this.player.getSurface().isFullscreen()};a.prototype.getIsVisible=function(){var b=this.player.getSurface().getContainer();b=this.getNpawUtils().calculateAdViewability(b);jx.debug(ax,b);return b};a.prototype.getPlayerName=function(){return _.xa};a.prototype.getVersion=
function(){return"castlabs-ads-adapter-6.25.2-js"};a.prototype.getPlayerVersion=function(){return _.ia};a.prototype.B=function(){this.j||(this.j=new _.gi);return this.j};a.prototype.registerListeners=function(){var b=this.B();this.player&&b&&(b.on(this.player,_.Cc,this.ca.bind(this)),b.on(this.player,_.xc,this.Y.bind(this)),b.on(this.player,_.tc,this.N.bind(this)),b.on(this.player,_.vc,this.P.bind(this)),b.on(this.player,_.lc,this.K.bind(this)),b.on(this.player,_.mc,this.w.bind(this,1)),b.on(this.player,
_.sc,this.w.bind(this,2)),b.on(this.player,_.Ac,this.w.bind(this,3)),b.on(this.player,_.kc,this.J.bind(this)),b.on(this.player,_.wc,this.T.bind(this)),b.on(this.player,_.ie,this.L.bind(this)),b.on(this.player,_.hc,this.G.bind(this)),b.on(this.player,_.ic,this.H.bind(this)),b.on(this.player,_.jc,this.I.bind(this)),b.on(this.player,_.uc,this.da.bind(this)))};a.prototype.unregisterListeners=function(){_.ki(this.B())};a.prototype.ca=function(b){jx.debug(Ww,b);this.h=b.adsTimeline};a.prototype.Y=function(b){this.a=
b.ad;this.f("ad start",this.a);this.fireStart();this.fireJoin()};a.prototype.K=function(){this.f("ad ended");this.fireStop({adPlayhead:this.l})};a.prototype.N=function(){this.f("ad pause");this.A();this.firePause()};a.prototype.P=function(){this.f("ad resume");this.A();this.fireResume()};a.prototype.I=function(){this.o=!0;this.f(Uw);this.fireBufferBegin()};a.prototype.da=function(){this.l=this.getPlayhead();this.A()};a.prototype.A=function(){this.o&&(this.f(Tw),this.o=!1,this.fireBufferEnd())};a.prototype.w=
function(b){this.f("ad quartile",b);this.fireQuartile(b)};a.prototype.J=function(){this.f("ad clicked");var b=this.a&&this.a.zb();jx.debug(Vw,b);this.fireClick(b)};a.prototype.T=function(){this.f("ad skipped");this.fireSkip()};a.prototype.G=function(b){this.a=b.ad;this.f(Sw,this.a);this.fireBreakStart()};a.prototype.H=function(){this.f("ad break stop");this.fireBreakStop({adPlayhead:this.l});this.getPosition()===this.getNpawReference().Constants.AdPosition.Postroll&&this.fireStop({adPlayhead:this.l})};
a.prototype.L=function(b){(b=b.detail)&&10003===b.code&&ex(b,this.player,jx,this)};a.prototype.f=function(b,c){for(var d=[],e=1;e<arguments.length;++e)d[e-1]=arguments[e];jx.debug.apply(jx,[Pw+b+Nw].concat(_.gh(d)))};return a},lx=function(){this.a=null;this.g=new _.J(Xw);this.m=null},mx=function(a,b){if(b.namespace()===_.sd)return a.g.info("NPAW does not report when casting."),!1;var c=b.getConfiguration().youbora;return _.L.mg(c)?c.accountCode?_.L.R(window.NpawPlugin)||_.L.R(window.NpawPluginAdapters)?
(a.g.warn("NPAW SDK not found."),b.onError(new _.N(1,9,9100)),!1):!0:(a.g.warn(Rw),b.onError(new _.N(1,9,9101)),!1):(a.g.warn("NPAW plugin is loaded but not configured. Will do nothing."),!1)},nx=function(a){a.a&&(a.g.info("Removing NPAW Plugins",a.a),a.a.removeAdsAdapter(),a.a.removeAdapter())},ox=function(){this.a=null;this.g=new _.J(Yw);this.m=null},px=function(a,b){if(b.namespace()===_.sd)return a.g.info("Youbora does not report when casting."),!1;var c=b.getConfiguration().youbora;if(!_.L.mg(c))return a.g.debug("Youbora plugin is loaded but not configured. Will do nothing."),
!1;if(!c.accountCode)return a.g.warn(Rw),b.onError(new _.N(1,9,9101)),!1;if(_.L.R(window.youbora))return a.g.warn("Youbora SDK not found."),b.onError(new _.N(1,9,9100)),!1;"6.8.59"!==youbora.VERSION&&(a.g.warn("Youbora SDK version is not supported. The supported version is 6.8.59, found version "+(youbora.VERSION+". Some or all features of YouboraPlugin may not work correctly.")),b.onError(new _.N(1,9,9102)));return!0},qx=function(){};var hx=new _.J("clpp.npaw.NpawAdapter");var jx=new _.J("clpp.npaw.NpawAdsAdapter");_.w(lx,_.bw);_.r=lx.prototype;_.r.Ng=function(a){nx(this);if(this.a=a)this.a.registerAdapterFromClass(this.m,ix()),this.a.registerAdsAdapterFromClass(this.m,kx())};_.r.Yl=function(){return this.a};_.r.getAdapter=function(){return this.a&&this.a.getAdapter()};_.r.getAdsAdapter=function(){return this.a&&this.a.getAdsAdapter()};_.r.onPlayerCreated=function(a){this.m=a;mx(this,a)&&(a=a.getConfiguration().youbora,this.Ng(new NpawPlugin(a.accountCode)))};
_.r.onContentWillLoad=function(a,b){if(mx(this,a)){var c=a.getConfiguration(),d=c.youbora;void 0===d[Zw]&&(d[Zw]=b.isLive);void 0===d[$w]&&(d[$w]=b.name);void 0===d.viewerId&&(d.viewerId=c.viewerId);this.a||this.Ng(new NpawPlugin(d.accountCode));this.a.setAnalyticsOptions(d)}};_.r.onContentLoaded=function(a){var b={};(a=a.getDrmInfo())&&(a=cx(a.keySystem))&&(b["content.drm"]=a);this.g.info(_.Te,b);this.a.setAnalyticsOptions(b)};_.r.onPlayerWillRelease=function(){};
_.r.onPlayerWillDestroy=function(){nx(this);this.a.destroy()};_.r.id=function(){return bx};_.I(Xw,lx);lx.prototype.getAdsAdapter=lx.prototype.getAdsAdapter;lx.prototype.getAdapter=lx.prototype.getAdapter;lx.prototype.getNpawPlugin=lx.prototype.Yl;lx.prototype.setNpawPlugin=lx.prototype.Ng;lx.Id=bx;new _.J(Xw);_.w(ox,_.bw);_.r=ox.prototype;_.r.Og=function(a){this.a&&(this.a.removeAdsAdapter(),this.a.removeAdapter());if(this.a=a)this.a.setAdapter(fx(this.m)),this.a.setAdsAdapter(gx(this.m))};_.r.getAdapter=function(){return this.a&&this.a.getAdapter()};_.r.getAdsAdapter=function(){return this.a&&this.a.getAdsAdapter()};_.r.onPlayerCreated=function(a){this.m=a;px(this,a)&&(a=a.getConfiguration().youbora,this.Og(new youbora.Plugin(a)))};
_.r.onContentWillLoad=function(a,b){if(px(this,a)){var c=a.getConfiguration(),d=c.youbora;void 0===d[Zw]&&(d[Zw]=b.isLive);void 0===d[$w]&&(d[$w]=b.name);void 0===d.viewerId&&(d.viewerId=c.viewerId);this.a||this.Og(new youbora.Plugin(d));this.a.setOptions(d)}};_.r.onPlayerWillRelease=function(){};_.r.onPlayerWillDestroy=function(){};_.r.id=function(){return bx};_.I(Yw,ox);ox.prototype.getAdsAdapter=ox.prototype.getAdsAdapter;ox.prototype.getAdapter=ox.prototype.getAdapter;
ox.prototype.setYouboraPlugin=ox.prototype.Og;ox.Id=bx;qx.prototype.create=function(a){return a.youbora&&a.youbora.v7?new lx:new ox};_.Yt(new qx);};
if(typeof(module)!="undefined"&&module.exports){var x=require("./cl.core.js");_ = x._;(f.call(g,this));module.exports=g;}
else if (typeof(define)!="undefined"&&define.amd) {define(["./cl.core"], function(c){_=c._;(f.call(g,this));return g;});}
else{_=this.clpp._;(f.call(g,this));}
})();