(function(){var DEPS_GRAPH={'dcmenablermodule':[],'$weak$':['dcmenablermodule']};window.STUDIO_SDK_START=+new Date();var e,h=this,k=function(a){return"string"==typeof a},l=function(a,b,c){a=a.split(".");c=c||h;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},m=function(){},p=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"== c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},q=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},r=function(a,b){function c(){}c.prototype= b.prototype;a.fa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ma=function(a,c,g){for(var d=Array(arguments.length-2),f=2;fb?1:0};var y;a:{var ia=h.navigator;if(ia){var ja=ia.userAgent;if(ja){y=ja;break a}}y=""};var z=function(a){z[" "](a);return a};z[" "]=m;var ka=-1!=y.indexOf("Opera"),A=-1!=y.indexOf("Trident")||-1!=y.indexOf("MSIE"),la=-1!=y.indexOf("Edge"),ma=-1!=y.indexOf("Gecko")&&!(-1!=y.toLowerCase().indexOf("webkit")&&-1==y.indexOf("Edge"))&&!(-1!=y.indexOf("Trident")||-1!=y.indexOf("MSIE"))&&-1==y.indexOf("Edge"),na=-1!=y.toLowerCase().indexOf("webkit")&&-1==y.indexOf("Edge"),oa=function(){var a=h.document;return a?a.documentMode:void 0},B; a:{var C="",pa=function(){var a=y;if(ma)return/rv:([^\);]+)(\)|;)/.exec(a);if(la)return/Edge\/([\d\.]+)/.exec(a);if(A)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(na)return/WebKit\/(\S+)/.exec(a);if(ka)return/(?:Version)[ \/]?(\S+)/.exec(a)}();pa&&(C=pa?pa[1]:"");if(A){var qa=oa();if(null!=qa&&qa>parseFloat(C)){B=String(qa);break a}}B=C}var ra=B,sa={},ta;var ua=h.document;ta=ua&&A?oa()||("CSS1Compat"==ua.compatMode?parseInt(ra,10):5):void 0;var va={ia:"dcm",ja:"studio"};l("studio.sdk.ContainerState",{COLLAPSING:"collapsing",COLLAPSED:"collapsed",EXPANDING:"expanding",EXPANDED:"expanded",FS_COLLAPSING:"fs_collapsing",FS_EXPANDING:"fs_expanding",FS_EXPANDED:"fs_expanded"},void 0);l("studio.sdk.MraidMethod",{GET_CURRENT_POSITION:"getCurrentPosition",GET_DEFAULT_POSITION:"getDefaultPosition",GET_SCREEN_SIZE:"getScreenSize",CREATE_CALENDAR_EVENT:"createCalendarEvent",GET_MAX_SIZE:"getMaxSize",PLAY_VIDEO:"playVideo",STORE_PICTURE:"storePicture",SUPPORTS:"supports",USE_CUSTOM_CLOSE:"useCustomClose"},void 0);var D="closure_listenable_"+(1E6*Math.random()|0),wa=0;var xa=function(){};l("studio.sdk.IEnabler",xa,void 0);e=xa.prototype;e.$=function(){};e.V=function(){};e.U=function(){};e.ba=function(){};e.aa=function(){};e.P=function(){};e.O=function(){};e.N=function(){};e.M=function(){};e.v=function(){};e.getParameter=function(){};e.u=function(){};e.A=function(){};e.G=function(){};e.w=function(){};e.ca=function(){};e.da=function(){};e.H=function(){};e.I=function(){};e.X=function(){};e.C=function(){};e.W=function(){};e.B=function(){};e.close=function(){}; e.K=function(){};e.R=function(){};e.addEventListener=function(){};e.removeEventListener=function(){};e.T=function(){};e.S=function(){};e.Z=function(){};e.F=function(){};e.Y=function(){};e.D=function(){};e.J=function(){};e.L=function(){};l("studio.sdk.logger",{}.na,void 0);l("studio.module.ModuleId",{ENABLER:"enabler",DCM_ENABLER:"dcmenabler",VIDEO:"video",CONFIGURABLE:"configurable",CONFIGURABLE_FILLER:"configurablefiller",LAYOUTS:"layouts",FILLER:"layoutsfiller",RAD_VIDEO:"rad_ui_video",GDN:"gdn"},void 0);/* Portions of this code are from MochiKit, received by The Closure Authors under the MIT license. All other code is Copyright 2005-2009 The Closure Authors. All Rights Reserved. */ var E=function(a,b){this.b={};this.a=[];this.c=0;var c=arguments.length;if(1=a.keyCode)a.keyCode=-1}catch(b){}};var Ma=function(a,b,c,d,f){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.b=f;this.key=++wa;this.i=this.s=!1},Na=function(a){a.i=!0;a.listener=null;a.a=null;a.src=null;a.b=null};var M=function(a){this.src=a;this.a={};this.b=0};M.prototype.add=function(a,b,c,d,f){var g=a.toString();a=this.a[g];a||(a=this.a[g]=[],this.b++);var n=Oa(a,b,d,f);-1d.keyCode||void 0!=d.returnValue)){a:{var f=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(n){f=!0}if(f||void 0==d.returnValue)d.returnValue=!0}d=[];for(f=b.a;f;f=f.parentNode)d.push(f);a=a.type;for(f=d.length-1;0<=f;f--){b.a=d[f];var g=bb(d[f],a,!0,b);c=c&&g}for(f=0;f>>0),Ua=function(a){if("function"==p(a))return a;a[cb]||(a[cb]=function(b){return a.handleEvent(b)});return a[cb]};var P=function(){this.a=new M(this)};r(P,za);P.prototype[D]=!0;P.prototype.addEventListener=function(a,b,c,d){N(this,a,b,c,d)};P.prototype.removeEventListener=function(a,b,c,d){Za(this,a,b,c,d)};var Q=new E;Q.set("enabler","enabler");Q.set("dcmenabler","dcm");Q.set("video","vid");Q.set("configurable","cfg");Q.set("configurablefiller","cfg_fill");Q.set("layouts","lay");Q.set("layoutsfiller","lay_fill");Q.set("gdn","gdn");Q.set("rad_ui_video","rad");l("goog.exportSymbol",function(a,b,c){l(a,b,c)},this);var db=function(a){a+="goog.exportSymbol('studioLoader.context.evalInContext', "+db.toString()+");";eval(a)};l("studioLoader.context.evalInContext",db,void 0);var eb=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,fb=function(a,b){if(a){a=a.split("&");for(var c=0;cb)throw Error("Bad port number "+b);a.m=b}else a.m=null},jb=function(a,b,c){b instanceof R?(a.b=b,ob(a.b,a.a)):(c||(b=T(b,pb)),a.b=new R(b,a.a))},S=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},T=function(a,b,c){return k(a)?(a=encodeURI(a).replace(b,qb),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},qb=function(a){a=a.charCodeAt(0); return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},kb=/[#\/\?@]/g,mb=/[#\?:]/g,lb=/[#\?]/g,pb=/[#\?@]/g,nb=/#/g,R=function(a,b){this.b=this.a=null;this.c=a||null;this.f=!!b},V=function(a){a.a||(a.a=new E,a.b=0,a.c&&fb(a.c,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};R.prototype.add=function(a,b){V(this);this.c=null;a=W(this,a);var c=this.a.get(a);c||this.a.set(a,c=[]);c.push(b);this.b+=1;return this}; var rb=function(a,b){V(a);b=W(a,b);F(a.a.b,b)&&(a.c=null,a.b-=a.a.get(b).length,a=a.a,F(a.b,b)&&(delete a.b[b],a.c--,a.a.length>2*a.c&&ya(a)))},sb=function(a,b){V(a);b=W(a,b);return F(a.a.b,b)};e=R.prototype;e.forEach=function(a,b){V(this);this.a.forEach(function(c,d){ba(c,function(c){a.call(b,c,d,this)},this)},this)};e.g=function(){V(this);for(var a=this.a.h(),b=this.a.g(),c=[],d=0;d