var __extends=this&&this.__extends||function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},__decorate=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(s=(a<3?i(s):a>3?i(t,r,s):i(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s},am6625;!function(e){var IOC;!function(IOC){var e=function(){function e(e){this._name=e}return e.prototype.getName=function(){return this._name},e.prototype.setStructuralProperty=function(e){this._runtimeStructuralProperty=e},e}();IOC.RuntimeIdentifier=e}(IOC=e.IOC||(e.IOC={}))}(am6625||(am6625={}));var am6625;!function(e){!function(e){e[e.ArrayOfNumbers=0]="ArrayOfNumbers",e[e.ArrayOfStrings=1]="ArrayOfStrings",e[e.Number=2]="Number",e[e.String=3]="String"}(e.ParameterType||(e.ParameterType={}));e.ParameterType}(am6625||(am6625={}));var am6625;!function(e){e.ISettings=new e.IOC.RuntimeIdentifier("ISettings"),e.IInitManager=new e.IOC.RuntimeIdentifier("IInitManager"),e.IParamsManager=new e.IOC.RuntimeIdentifier("IParamsManager"),e.IUrlManager=new e.IOC.RuntimeIdentifier("IUrlManager"),e.IFormat=new e.IOC.RuntimeIdentifier("IFormat")}(am6625||(am6625={}));var am6625;!function(e){var IOC;!function(IOC){!function(e){e[e.Transient=0]="Transient",e[e.Singleton=1]="Singleton"}(IOC.TypeBindingScope||(IOC.TypeBindingScope={}));IOC.TypeBindingScope}(IOC=e.IOC||(e.IOC={}))}(am6625||(am6625={}));var am6625;!function(e){var IOC;!function(IOC){var e=function(){function e(){this._binding={},this._storageId=0,this._storageId=e._getStorageId()}return e.prototype.bind=function(e){var t=e.runtimeIdentifier.getName();this._binding[t]=e},e.prototype.resolve=function(t){var r,n,i=t.getName();if(r=this._binding[i],!r)throw new Error("You must set correct resolve interface for `resolve()` method of `Kernel` class object");return r.scope===IOC.TypeBindingScope.Singleton&&null!==r.cache?r.cache:(n=this._injectDependencies(r),r.cache=n,jqncfm.isEmptyObject(e.publicStorage[this._storageId])&&(e.publicStorage[this._storageId]={}),e.publicStorage[this._storageId][i]=n,n)},e.prototype._construct=function(e,t){function r(){e.apply(this,t)}return r.prototype=e.prototype,new r},e.prototype._injectDependencies=function(t){var r,n,i=t.constructorArgs,a=t.implementationType,s=[],o=null,c=e._getConstructorArguments(a);if(c){for(var l=0;l tag");for(var i in this._urlParams)if(this._urlParams.hasOwnProperty(i)){if(this._urlParams[i]instanceof Array)for(var a=0,s=this._urlParams[i];a -1&&navigator.userAgent&&!navigator.userAgent.match("CriOS")},e.isMobileBrowser=function(t){var r=/iphone|ipad|ipod|webos|android|ucbrowser|blackberry|Windows Phone|iemobile/.test(e.getUserAgent());return t&&r?void t():r},e.isMobileBrowserIosAndroid=function(){return/iphone|ipad|ipod|android/.test(e.getUserAgent())},e.isMobileSafari=function(){return!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/)},e.isWebkit=function(){return/webkit/.test(e.getUserAgent())},e.isAndroidOS=function(){return"android"===e.getPlatform()},e.isAndroidNativeBrowser=function(){var t=e.getUserAgent();return t.indexOf("Mozilla/5.0")>-1&&t.indexOf("Android ")>-1&&t.indexOf("AppleWebKit")>-1&&!(t.indexOf("Chrome")>-1)},e.isOldIE=function(){return e.isIE()&&e.getBrowserVersion()<=9},e.isLinuxOS=function(){return"linux"===e.getPlatform()},e.isMacOS=function(){return"macos"===e.getPlatform()},e.getBrowserInfo=function(){var t;return t=e.isChrome()?"chrome":e.isSafari()||e.isMobileSafari()?"safari":e.isWebkit()?"webkit":e.isIE()?"ie":e.isFirefox()?"firefox":e.isOperaPresto()?"presto":"unknown",{name:t,version:e.getBrowserVersion(),isMobileBrowser:e.isMobileBrowser()}},e.getBrowserVersion=function(){var t,r=e.getUserAgent().match(/(?:[^\s]+(?:ri|ox|me|ra|sie)(\/| )|trident\/.*?rv:)([\d]+)/i);return null!==r&&(t=parseInt(r[2],10)),t},e.getPlatform=function(){var t="unknown";return/windows/.test(e.getUserAgent())?t="windows":/mac os/.test(e.getUserAgent())?t="macos":/android/i.test(e.getUserAgent())?t="android":/linux/.test(e.getUserAgent())&&(t="linux"),t},e.getUserAgent=function(){return navigator.userAgent.toLowerCase()},e.isPositionFixedSupported=function(){var t=e.getUserAgent(),r=!0;return(/OS [2-4]_\d(_\d)? like Mac OS X/i.test(t)||/Android ([0-9]+)/i.test(t)&&RegExp.$1<"3"||/Windows Phone OS ([0-9])+/i.test(t)&&RegExp.$1<"8"||/Fennec\/([0-9]+)/i.test(t)&&RegExp.$1<"6")&&(r=!1),r},e}();e.BrowserDetector=t}(t=e.Helpers||(e.Helpers={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(e){var t=function(){function e(){}return e.pageXOffset=function(){return e._supportPageOffsetCheck()?window.pageXOffset:e._isCSS1CompatCheck()?document.documentElement.scrollLeft:document.body.scrollLeft},e.pageYOffset=function(){return e._supportPageOffsetCheck()?window.pageYOffset:e._isCSS1CompatCheck()?document.documentElement.scrollTop:document.body.scrollTop},e._supportPageOffsetCheck=function(){return void 0!==window.pageXOffset},e._isCSS1CompatCheck=function(){return"CSS1Compat"===(document.compatMode||"")},e}();e.PageOffset=t}(t=e.Helpers||(e.Helpers={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(e){var t=function(){function t(){}return t.getEventTargets=function(t){var r;if(!t.length)return r=jqncfm(window),e.BrowserDetector.isMobileSafari()?r=jqncfm(document):e.BrowserDetector.isOldIE()&&(r=jqncfm(document)),r;for(var n=0,i=t;n ");if(a.attr({id:n,type:"application/x-shockwave-flash"}),a.css({width:"1px!important",height:"1px!important",opacity:"0!important",position:"absolute!important",top:"-9999px!important",left:"-9999px!important"}),i.append(a),r=jqncfm("#"+n),t=typeof r[0].GetVariable,r.remove(),"function"!==t)return!1;try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)return e=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",")[0],"0"!==e}catch(s){}return!1}e.flashDetector=t}(t=e.Helpers||(e.Helpers={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(e){var t=function(){function e(){}return e.init=function(t,r){e._counter=0,e._interval=0,e._returnTimeout=0,e._flashID="fc",e._flashName=t,e._isFlashEnabled(r)},e._isFlashEnabled=function(t){e._appendTempFlash(),e._interval=setInterval(function(){e._flashVersionIterator(t)},20)},e._appendTempFlash=function(){var t,r,n=navigator.userAgent.toLowerCase(),i="fc-temp-div",a=jqncfm(" "),s=jqncfm(" "),o=jqncfm("
");o.attr("id",i),o.html(" "),t=/msie|trident\//.test(n)&&!/opera/.test(n),r=t?jqncfm("#"+i+":first-child"):jqncfm(" "),t||r.attr({data:e._flashName,height:1,id:e._flashID,type:"application/x-shockwave-flash",width:1}),a.attr("allowScriptAccess","allowScriptAccess"),s.attr("movie",e._flashName),r.append(a).append(s),jqncfm("body").append(r)},e._getFlashTempObject=function(e){return document.embeds[e]?document.embeds[e]:window.document[e]?window.document[e]:window[e]?window[e]:document[e]?document[e]:null},e._flashVersionIterator=function(t){var r,n,i,a=jqncfm("#"+e._flashID);20===++e._counter&&clearInterval(e._interval),n=e._getFlashTempObject(e._flashID),n&&"undefined"==typeof n.isLoaded&&(e._returnTimeout&&clearTimeout(e._returnTimeout),e._returnTimeout=setTimeout(function(){t(!1)},25)),a.remove(),clearInterval(e._interval),clearTimeout(e._returnTimeout);try{try{r=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");try{r.AllowScriptAccess="always"}catch(s){t(!0)}}catch(s){}return i=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",")[0],t("0"!==i)}catch(s){}t(!1)},e}();e.FlashDetectorIE=t}(t=e.Helpers||(e.Helpers={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(e){function t(e,t){var r=jqncfm(" ").attr({id:e+"-tempLink",href:t});return jqncfm("body").append(r),r}e.getRedirectLink=t}(t=e.Helpers||(e.Helpers={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(t){var r=function(t){function r(ISettings){t.call(this,ISettings),this._aRedirectUrl=null,this._browserInfo={name:null,version:0,isMobileBrowser:!1},this._connectionType="",this._eventType="mousedown",this._eventTargets={},this._fullOptions={},this._lastTouchMoveEvent=null}return __extends(r,t),r.prototype.init=function(){var t=this;new e.Helpers.AdblockDetector(this._params.adblockEnabled.value).detect(function(r){t._flags.isAdblockEnabledFlag=r,t._browserInfo=e.Helpers.BrowserDetector.getBrowserInfo(),t._connectionType=e.Helpers.ConnectionDetector.getConnectionType(),t._eventTargets=e.Helpers.EventTarget.getEventTargets(t._params.targets.value.split("|").filter(function(e){return e})),t._detectFlashSupport(function(){t._eventType=t._getEventType(),t._buildOptions(),1===t._params.frameLayers.value&&t._appendFrameLayers(),t._canUseFlashLayer()&&t._appendFlashLayer(),t._registerEvents(t._eventTargets),window[t._prefix]=t})})},r.prototype._appendFlashLayer=function(){var e=this,t=this._createFlashObject();setTimeout(function(){jqncfm(e._selectors.body).prepend(t),t.focus()},10)},r.prototype._appendFrameLayers=function(){var e=this;this._flags.frameLayersUpdateFlag&&(jqncfm("iframe, embed, object").not("."+this._selectors.frameAppended).each(function(t,r){var n=jqncfm("
"),i=jqncfm("."+e._selectors.frameLayersWrapper);if(r.nodeType&&1===r.nodeType){jqncfm(r).addClass(e._selectors.frameAppended);var a="fixed"!==jqncfm(r).css("position")?["offset","absolute"]:["position","fixed"],s=a[0],o=a[1];n.addClass(e._selectors.frameLayer).css({position:o,top:jqncfm(r)[s]().top+"px",left:jqncfm(r)[s]().left+"px",width:jqncfm(r).css("width"),height:jqncfm(r).css("height"),"z-index":"2147483638"}),e._registerEvents(n),i.length||(i=jqncfm("
").addClass(e._selectors.frameLayersWrapper).css({position:"absolute",top:"0px",left:"0px"}),jqncfm(e._selectors.body).append(i)),i.append(n)}}),setTimeout(function(){e._appendFrameLayers()},400))},r.prototype._blur=function(e){var t=this._browserInfo.name;if(!this._browserInfo.isMobileBrowser)switch(t){case"firefox":this._blurHackFirefox();break;case"safari":this._blurHackSafari();break;case"chrome":case"webkit":"webkit"===t&&this._blurHack();break;case"ie":this._blurHackIE(e)}},r.prototype._blurHack=function(){var t=e.Helpers.getRedirectLink(this._prefix,this._getUrl()),r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!0,!1,!1,!0,0,null),t[0].dispatchEvent(r),t.remove()},r.prototype._blurHackIE=function(e){var t=function(){e&&(e.blur(),e.opener.window.focus()),window.self.window.focus(),window.focus()};t(),setTimeout(function(){t()},1e3)},r.prototype._blurHackFirefox=function(){var e=window.open("about:blank");e.focus(),e.close(),setTimeout(function(){try{e=window.open("about:blank"),e.focus(),e.close()}catch(t){}},1e3)},r.prototype._blurHackSafari=function(){var e=window.open("about:blank");e.focus(),e.close()},r.prototype._buildOptions=function(){this._fullOptions=jqncfm.extend(!0,this._defaultOptions,this._ppParams),this._fullOptions.newTab&&!this._flags.flashEnabledFlag||(this._fullOptions=jqncfm.extend(!0,this._fullOptions,this._flashppOptions))},r.prototype._canUseFlashLayer=function(){return 1===this._params.useFlash.value&&this._fullOptions.blur&&!this._fullOptions.newTab&&this._flags.isFlashEnabledFlag},r.prototype._cluController=function(){this._unregisterEvents(this._eventTargets),this._determineWindowWithAdvertisement(),1===this._params.frameLayers.value&&this._removeFrameLayers(),this._flags.isFlashEnabledFlag&&this._removeFlashLayer();try{delete window[this._prefix]}catch(e){}},r.prototype._createFlashObject=function(){var e,t;t=jqncfm(" "),t.attr({type:"application/x-shockwave-flash",data:this._flashOptions.fileName,name:this._flashOptions.objectId,id:this._flashOptions.objectId}),t.css({position:"fixed",visibility:"visible",left:"0",top:"0",width:"1px",height:"1px","z-index":"2147483647"}),e={flashvars:"cluController=window."+this._prefix+"._cluController"+("&name="+this._prefix+"&f=1&version="+this._browserInfo.version),wmode:"transparent",menu:"false",allowscriptaccess:"always",allowfullscreen:"true"};for(var r in e)e.hasOwnProperty(r)&&t.append(jqncfm(" ").attr({name:r,value:e[r]}));return t},r.prototype._createppParamsString=function(){var e="";for(var t in this._fullOptions)(this._fullOptions.hasOwnProperty(t)||"undefined"!=typeof this._ppParams[t])&&(e+=(e?",":"")+t+"="+this._fullOptions[t]);return e},r.prototype._detectFlashSupport=function(t){var r=this;return this._flags.isAdblockEnabledFlag?void t():"ie"===this._browserInfo.name&&this._browserInfo.version>10?void e.Helpers.FlashDetectorIE.init(this._flashOptions.fileName,function(e){r._flags.isFlashEnabledFlag=e,t()}):1===this._params.popunder.value||"firefox"===this._browserInfo.name||"ie"===this._browserInfo.name||"presto"===this._browserInfo.name||e.Helpers.BrowserDetector.isMacOS()?void t():(this._flags.isFlashEnabledFlag=e.Helpers.flashDetector(),void t())},r.prototype._determineWindowWithAdvertisement=function(){var t;t=this._fullOptions.blur&&(this._browserInfo.isMobileBrowser&&(!e.Helpers.BrowserDetector.isAndroidOS()||"chrome"!==this._browserInfo.name)||this._fullOptions.newTab)||this._flags.isAdblockEnabledFlag?this._openAdvertisementInCurrentTab():this._fullOptions.newTab?this._openAdvertisementInNewTab():this._openAdvertisementInppWindow(),this._fullOptions.blur&&1!==this._params.popunder.value&&this._blur(t)},r.prototype._getEventCoordinates=function(e){try{return{x:e.pageX||this._lastTouchMoveEvent.originalEvent.touches[0].pageX,y:e.pageY||this._lastTouchMoveEvent.originalEvent.touches[0].pageY}}catch(t){return null}},r.prototype._getEventType=function(){var e="click";return this._browserInfo.isMobileBrowser?"firefox"===this._browserInfo.name?e:e="touchend":"chrome"===this._browserInfo.name||"ie"===this._browserInfo.name&&this._browserInfo.version>10&&this._flags.isFlashEnabledFlag?e="mousedown":e},r.prototype._getUrl=function(){var e,t=this._data.url.split("?"),r=t[0],n=t[1],i=[],a=[];return this._connectionType&&i.push("ctype="+this._connectionType),i.push("ab="+Number(this._flags.isAdblockEnabledFlag)),i&&a.push(i.join("&")),n&&a.push(n),e=a.join("&"),e=e?"?"+e:e,""+r+e},r.prototype._handlerElementObserver=function(t){var r,n=this._getEventCoordinates(t);n&&(r=jqncfm(document.elementFromPoint(n.x-e.Helpers.PageOffset.pageXOffset(),n.y-e.Helpers.PageOffset.pageYOffset())),r&&"A"===r.prop("tagName")&&(this._browserInfo.isMobileBrowser&&r.bind("click",function(e){e.preventDefault()}),this._flags.clickOnLinkFlag=!0,this._aRedirectUrl=r.attr("href")))},r.prototype._handlerFlashDisabled=function(t){var r=this._getEventCoordinates(t);r&&e.Helpers.EventTarget.isEventTargetFromPoint(r.x,r.y,this._params.restrictedTargets.value.split("|").filter(function(e){return e}))&&(this._browserInfo.isMobileBrowser||"firefox"!==this._browserInfo.name||1===t.which)&&this._cluController()},r.prototype._handlerFlashEnabled=function(t){var r=this._getEventCoordinates(t),n=jqncfm(document.elementFromPoint(t.clientX,t.clientY)),i=jqncfm("#"+this._flashOptions.objectId);r&&e.Helpers.EventTarget.isEventTargetFromPoint(r.x,r.y,this._params.restrictedTargets.value.split("|").filter(function(e){return e}))&&("ie"===this._browserInfo.name&&this._browserInfo.version>"10"&&1!==t.which||(i.css({width:"100%",height:"100%"}),1!==t.which&&(t.stopPropagation(),t.preventDefault(),this._cluController()),setTimeout(function(){i.length>0&&i.css({width:"1px",height:"1px"})},1050),n&&"A"===n.prop("tagName")&&setTimeout(function(){n[0].click()},300)))},r.prototype._openAdvertisementInCurrentTab=function(){var e,t=this,r=top!==self?top:self,n=window.location.href;return this._flags.clickOnLinkFlag&&(n=this._aRedirectUrl),e=r.window.open(n,"_blank"),setTimeout(function(){window.location.href=t._getUrl()},10),e},r.prototype._openAdvertisementInNewTab=function(){var e=top!==self?top:self;return e.window.open(this._getUrl(),"_blank")},r.prototype._openAdvertisementInppWindow=function(){var e;return e=window.open(this._getUrl(),"",this._createppParamsString()),"ie"!==this._browserInfo.name&&setTimeout(function(){e.resizeTo(screen.availWidth,screen.availHeight)},1),e},r.prototype._registerEvents=function(t){var r=this;return jqncfm(t).bind("touchstart touchmove",function(t){if(r._lastTouchMoveEvent=t,e.Helpers.BrowserDetector.isMobileSafari()&&"touchmove"===t.type)return void(r._lastTouchMoveEvent=null)}),jqncfm(t).bind(this._eventType,jqncfm.proxy(this._handlerElementObserver,this)),this._canUseFlashLayer()?void jqncfm(t).bind(this._eventType+"."+this._prefix,jqncfm.proxy(this._handlerFlashEnabled,this)):void jqncfm(t).bind(this._eventType,jqncfm.proxy(this._handlerFlashDisabled,this))},r.prototype._removeFlashLayer=function(){var e=jqncfm("#"+this._flashOptions.objectId);setTimeout(function(){e.remove()},1e3)},r.prototype._removeFrameLayers=function(){this._flags.frameLayersUpdateFlag=!1,jqncfm("."+this._selectors.frameLayer+", ."+this._selectors.frameLayersWrapper).remove()},r.prototype._setAutocloseTimeout=function(){var e=this;0!==this._params.autoclose.value&&(this._timeouts.autocloseTimeout=setTimeout(function(){e._unregisterEvents(e._eventTargets),e._flags.isFlashEnabledFlag&&e._removeFlashLayer()},1e3*this._params.autoclose.value))},r.prototype._unregisterEvents=function(e){jqncfm(e).unbind(this._eventType,jqncfm.proxy(this._handlerElementObserver,this)),jqncfm(e).unbind(this._eventType,jqncfm.proxy(this._handlerFlashDisabled,this)),this._flags.isFlashEnabledFlag&&jqncfm(e).unbind(this._eventType+"."+this._prefix,jqncfm.proxy(this._handlerFlashEnabled,this))},__decorate([e.AssignSetting],r.prototype,"_data"),__decorate([e.AssignSetting],r.prototype,"_defaultOptions"),__decorate([e.AssignSetting],r.prototype,"_flags"),__decorate([e.AssignSetting],r.prototype,"_flashOptions"),__decorate([e.AssignSetting],r.prototype,"_flashppOptions"),__decorate([e.AssignSetting],r.prototype,"_params"),__decorate([e.AssignSetting],r.prototype,"_ppParams"),__decorate([e.AssignSetting],r.prototype,"_prefix"),__decorate([e.AssignSetting],r.prototype,"_selectors"),__decorate([e.AssignSetting],r.prototype,"_timeouts"),r}(e.BaseClass);t.clu=r}(t=e.clu||(e.clu={}))}(am6625||(am6625={}));var am6625;!function(e){var t=function(e){function t(){e.call(this),this.setSetting("scriptClassRequired",!0),this.setSetting("cookies",{defaultValue:"1"}),this.setSetting("selectors",{body:"body",head:"head",html:"html"}),this.setSetting("timeouts",{autocloseTimeout:0}),this.setSetting("urlParams",{siteId:"s",initTimeout:"to",autoclose:"acl",scrollPercentage:"scr",okAutoCookieHours:"tok",showPosition:"n",debug:"dbg"})}return __extends(t,e),t.prototype.getSetting=function(e){return this["_"+e]},t.prototype.setSetting=function(e,t,r){"object"==typeof t?this["_"+e]=jqncfm.extend(!0,this["_"+e],t):this["_"+e]=t,r&&r(this["_"+e])},t}(e.BaseClass);e.Settings=t}(am6625||(am6625={}));var am6625;!function(e){var t;!function(e){function t(e){return void 0===e&&(e=6),Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,e)}e.generateRandomString=t}(t=e.Helpers||(e.Helpers={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(t){var r=function(t){function r(){t.call(this),this.setSetting("scriptClassRequired",!1),this.setSetting("prefix","amcu"),this.setSetting("format","cu"),this.setSetting("data",{url:"/9079cb38ac52156451209a7a6381f086/c1.php?s=4769&f=1"}),this.setSetting("defaultOptions",{newTab:!1,blur:!0}),this.setSetting("flags",{clickOnLinkFlag:!1,frameLayersUpdateFlag:!0,isAdblockEnabledFlag:!1,isLoadFlag:!1,isFlashEnabledFlag:!1}),this.setSetting("flashOptions",{fileName:"/9079cb38ac52156451209a7a6381f086/s/752.swf?version=8",objectId:this._prefix+"-flash"}),this.setSetting("flashppOptions",{menubar:0,toolbar:0}),this.setSetting("ppParams",{width:screen.availWidth,height:screen.availHeight,left:0,top:0,location:1,toolbar:1,status:1,menubar:1,scrollbars:1}),this.setSetting("selectors",{frameLayer:e.Helpers.generateRandomString(),frameLayersWrapper:e.Helpers.generateRandomString(),frameAppended:e.Helpers.generateRandomString()}),this.setSetting("urlParams",{mobile:"mob",frameLayers:"frml",useFlash:"fl",popunder:"pp",targets:"trg",restrictedTargets:"rtrg"})}return __extends(r,t),r}(e.Settings);t.Settings=r}(t=e.clu||(e.clu={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(e){var t=function(){function e(ISettings,e){this._settings=ISettings,this._flags=this._settings.getSetting("flags"),this._params=this._settings.getSetting("params"),this._prefix=this._settings.getSetting("prefix"),this._selectors=this._settings.getSetting("selectors"),this.check(e)}return e.prototype.check=function(e){var t=this;this._flags.isLoadFlag||setTimeout(function(){if(t._params.scrollPercentage.value>0){if(t._scrollPositionCondition()&&t._showConditions())return void e();jqncfm(window).bind("scroll."+t._prefix,function(){if(t._scrollPositionCondition()&&t._showConditions())return void e()})}else if(t._showConditions())return void e()},1e3*this._params.initTimeout.value)},e.prototype._scrollPositionCondition=function(){var e,t=jqncfm(top.document).height(),r=jqncfm(window).scrollTop();return e=Math.round(r/(t-window.innerHeight)*100),e>=this._params.scrollPercentage.value},e.prototype._showConditions=function(){return!this._flags.isLoadFlag},e}();e.TimeoutAndScrollConditionsHelper=t}(t=e.Helpers||(e.Helpers={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(t){var r=function(t){function r(ISettings){t.call(this,ISettings)}return __extends(r,t),r.prototype.conditionsCheck=function(t){var r=this;(1!==this._params.mobile.value||e.Helpers.BrowserDetector.isMobileBrowserIosAndroid())&&(window[this._prefix+"Instance"]=!0,new e.Helpers.TimeoutAndScrollConditionsHelper(this._settings,function(){jqncfm(window).unbind("scroll."+r._prefix),r._flags.isLoadFlag=!0,t()}))},__decorate([e.AssignSetting],r.prototype,"_flags"),__decorate([e.AssignSetting],r.prototype,"_params"),__decorate([e.AssignSetting],r.prototype,"_prefix"),__decorate([e.AssignSetting],r.prototype,"_selectors"),r}(e.BaseClass);t.InitManager=r}(t=e.clu||(e.clu={}))}(am6625||(am6625={}));var am6625;!function(e){var t=function(t){function r(ISettings){t.call(this,ISettings)}return __extends(r,t),r.prototype.getParams=function(){return this._processParams(),this._params},r.prototype.setParams=function(e){this._params=e},r.prototype.setUrlParams=function(e){this._urlParams=e},r.prototype._applyUrlParams=function(){jqncfm.extend(!0,this._params,this._urlParams)},r.prototype._correctParamsValues=function(){for(var t in this._params)if(this._params.hasOwnProperty(t)){var r=this._params[t];if(r.value=this._isParamInsideTemplate(r,t),this._ruleIsRequired(r,t),!this._ruleIsNullValue(r))switch(r.type){case e.ParameterType.ArrayOfNumbers:r.value=this._ruleCorrectArrayOfNumbers(r.value,r);break;case e.ParameterType.ArrayOfStrings:r.value=this._ruleCorrectArrayOfStrings(r.value,r);break;case e.ParameterType.Number:r.value=this._ruleCorrectNumberValue(r.value,r);break;case e.ParameterType.String:r.value=this._ruleCorrectStringValue(r.value,r)}}},r.prototype._isParamInsideTemplate=function(e,t){return!e.template||e.template.indexOf(t)>=0?e.value:e.template},r.prototype._processParams=function(){if(void 0===this._params)throw new Error("You must set object with main parameters to `ParamsManager` by using `setParams()` method");void 0!==this._urlParams&&this._applyUrlParams(),this._correctParamsValues()},r.prototype._ruleCorrectArrayOfNumbers=function(e,t){if("string"!=typeof e)return e;for(var r=e,n=r.split("|"),i=[],a=0,s=n;a ` tag with `"+this._prefix+"` class")},__decorate([e.AssignSetting],r.prototype,"_prefix"),r}(e.BaseClass);e.ParamsManager=t}(am6625||(am6625={}));var am6625;!function(e){var t;!function(t){var r=function(t){function r(ISettings){t.call(this,ISettings),this._params={adblockEnabled:{type:e.ParameterType.Number,value:null,template:"{adblockEnabled}",defaultValue:0,min:0,max:1},mobile:{type:e.ParameterType.Number,value:null,template:"0",defaultValue:0,min:0,max:1},frameLayers:{type:e.ParameterType.Number,value:null,template:"1",defaultValue:1,min:0,max:1},useFlash:{type:e.ParameterType.Number,value:null,template:"1",defaultValue:1,min:0,max:1},initTimeout:{type:e.ParameterType.Number,value:null,template:"0",defaultValue:0,min:0,max:60},autoclose:{type:e.ParameterType.Number,value:null,template:"60",defaultValue:9999,min:0,max:9999},popunder:{type:e.ParameterType.Number,value:null,template:"{popunder}",defaultValue:0,min:0,max:1},scrollPercentage:{type:e.ParameterType.Number,value:null,template:"0",defaultValue:0,min:0,max:100},targets:{type:e.ParameterType.String,value:null,template:"",defaultValue:""},restrictedTargets:{type:e.ParameterType.String,value:null,template:"",defaultValue:""}}}return __extends(r,t),r}(e.ParamsManager);t.ParamsManager=r}(t=e.clu||(e.clu={}))}(am6625||(am6625={}));var am6625;!function(e){var t;!function(e){var t=function(){function e(e,t){this._scriptSrc="/9079cb38ac52156451209a7a6381f086/s/jquery.min.js",this._callback=e,t&&(this._scriptSrc=t)}return e.prototype.check=function(){if(!window.jQuery)return void this._appendJQueryScript();var e=parseInt(jQuery(window).jquery.split(".")[0],10),t=parseInt(jQuery(window).jquery.split(".")[1],10),r=1,n=7;e<=r&&t