11/*!
2- * jQuery JavaScript Library v1.8.3
2+ * jQuery JavaScript Library v1.8.4-sec
33 * http://jquery.com/
44 *
55 * Includes Sizzle.js
99 * Released under the MIT license
1010 * http://jquery.org/license
1111 *
12- * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time)
12+ * Date: Sat Feb 17 2024 00:41:53 GMT-0600 (Central Standard Time)
1313 */
1414( function ( window , undefined ) {
1515var
5555 rtrim = / ^ [ \s \uFEFF \xA0 ] + | [ \s \uFEFF \xA0 ] + $ / g,
5656
5757 // A simple way to check for HTML strings
58- // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
59- rquickExpr = / ^ (?: [ ^ # < ] * ( < [ \w \W ] + > ) [ ^ > ] * $ | # ( [ \w \- ] * ) $ ) / ,
58+ // Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521)
59+ // Strict HTML recognition (trac-11290: must start with <)
60+ // Shortcut simple #id case for speed
61+ rquickExpr = / ^ (?: \s * ( < [ \w \W ] + > ) [ ^ > ] * | # ( [ \w \- ] + ) ) $ / ,
6062
6163 // Match a standalone tag
6264 rsingleTag = / ^ < ( \w + ) \s * \/ ? > (?: < \/ \1> | ) $ / ,
@@ -322,8 +324,9 @@ jQuery.extend = jQuery.fn.extend = function() {
322324 src = target [ name ] ;
323325 copy = options [ name ] ;
324326
327+ // Prevent Object.prototype pollution
325328 // Prevent never-ending loop
326- if ( target === copy ) {
329+ if ( name === "__proto__" || target === copy ) {
327330 continue ;
328331 }
329332
@@ -5664,7 +5667,6 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
56645667 "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video" ,
56655668 rinlinejQuery = / j Q u e r y \d + = " (?: n u l l | \d + ) " / g,
56665669 rleadingWhitespace = / ^ \s + / ,
5667- rxhtmlTag = / < (? ! a r e a | b r | c o l | e m b e d | h r | i m g | i n p u t | l i n k | m e t a | p a r a m ) ( ( [ \w : ] + ) [ ^ > ] * ) \/ > / gi,
56685670 rtagName = / < ( [ \w : ] + ) / ,
56695671 rtbody = / < t b o d y / i,
56705672 rhtml = / < | & # ? \w + ; / ,
@@ -5677,7 +5679,6 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
56775679 rscriptType = / \/ ( j a v a | e c m a ) s c r i p t / i,
56785680 rcleanScript = / ^ \s * < ! (?: \[ C D A T A \[ | \- \- ) | [ \] \- ] { 2 } > \s * $ / g,
56795681 wrapMap = {
5680- option : [ 1 , "<select multiple='multiple'>" , "</select>" ] ,
56815682 legend : [ 1 , "<fieldset>" , "</fieldset>" ] ,
56825683 thead : [ 1 , "<table>" , "</table>" ] ,
56835684 tr : [ 2 , "<table><tbody>" , "</tbody></table>" ] ,
@@ -5689,7 +5690,6 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
56895690 safeFragment = createSafeFragment ( document ) ,
56905691 fragmentDiv = safeFragment . appendChild ( document . createElement ( "div" ) ) ;
56915692
5692- wrapMap . optgroup = wrapMap . option ;
56935693wrapMap . tbody = wrapMap . tfoot = wrapMap . colgroup = wrapMap . caption = wrapMap . thead ;
56945694wrapMap . th = wrapMap . td ;
56955695
@@ -5882,8 +5882,6 @@ jQuery.fn.extend({
58825882 ( jQuery . support . leadingWhitespace || ! rleadingWhitespace . test ( value ) ) &&
58835883 ! wrapMap [ ( rtagName . exec ( value ) || [ "" , "" ] ) [ 1 ] . toLowerCase ( ) ] ) {
58845884
5885- value = value . replace ( rxhtmlTag , "<$1></$2>" ) ;
5886-
58875885 try {
58885886 for ( ; i < l ; i ++ ) {
58895887 // Remove element nodes and prevent memory leaks
@@ -6315,9 +6313,6 @@ jQuery.extend({
63156313 div = context . createElement ( "div" ) ;
63166314 safe . appendChild ( div ) ;
63176315
6318- // Fix "XHTML"-style tags in all browsers
6319- elem = elem . replace ( rxhtmlTag , "<$1></$2>" ) ;
6320-
63216316 // Go to html and back, then peel off extra wrappers
63226317 tag = ( rtagName . exec ( elem ) || [ "" , "" ] ) [ 1 ] . toLowerCase ( ) ;
63236318 wrap = wrapMap [ tag ] || wrapMap . _default ;
@@ -7288,7 +7283,7 @@ var
72887283 rnoContent = / ^ (?: G E T | H E A D ) $ / ,
72897284 rprotocol = / ^ \/ \/ / ,
72907285 rquery = / \? / ,
7291- rscript = / < s c r i p t \b [ ^ < ] * (?: (? ! < \/ s c r i p t > ) < [ ^ < ] * ) * < \/ s c r i p t > / gi,
7286+ rscript = / < s c r i p t \b [ ^ < ] * (?: (? ! < \/ s c r i p t > ) < [ ^ < ] * ) * < * \/ * s c r i p t * > ? / gi,
72927287 rts = / ( [ ? & ] ) _ = [ ^ & ] * / ,
72937288 rurl = / ^ ( [ \w \+ \. \- ] + : ) (?: \/ \/ ( [ ^ \/ ? # : ] * ) (?: : ( \d + ) | ) | ) / ,
72947289
@@ -8245,6 +8240,13 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
82458240 return "script" ;
82468241 }
82478242} ) ;
8243+ // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
8244+ jQuery . ajaxPrefilter ( function ( s ) {
8245+ if ( s . crossDomain ) {
8246+ s . contents . script = false ;
8247+ }
8248+ } ) ;
8249+
82488250// Install script dataType
82498251jQuery . ajaxSetup ( {
82508252 accepts : {
0 commit comments