@ -1,5 +1,5 @@
/ * !
* jQuery JavaScript Library v3 . 6. 1 - ajax , - ajax / jsonp , - ajax / load , - ajax / script , - ajax / var / l o c a t i o n , - a j a x / v a r / n o n c e , - a j a x / v a r / r q u e r y , - a j a x / x h r , - m a n i p u l a t i o n / _ e v a l U r l , - d e p r e c a t e d / a j a x - e v e n t - a l i a s , - e f f e c t s , - e f f e c t s / T w e e n , - e f f e c t s / a n i m a t e d S e l e c t o r
* jQuery JavaScript Library v3 . 6. 2 - ajax , - ajax / jsonp , - ajax / load , - ajax / script , - ajax / var / l o c a t i o n , - a j a x / v a r / n o n c e , - a j a x / v a r / r q u e r y , - a j a x / x h r , - m a n i p u l a t i o n / _ e v a l U r l , - d e p r e c a t e d / a j a x - e v e n t - a l i a s , - e f f e c t s , - e f f e c t s / T w e e n , - e f f e c t s / a n i m a t e d S e l e c t o r
* https : //jquery.com/
*
* Includes Sizzle . js
@ -9,7 +9,7 @@
* Released under the MIT license
* https : //jquery.org/license
*
* Date : 2022 - 08- 26 T17 : 52 Z
* Date : 2022 - 12- 13 T14 : 56 Z
* /
( function ( global , factory ) {
@ -151,7 +151,7 @@ function toType( obj ) {
var
version = "3.6. 1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector",
version = "3.6. 2 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector",
// Define a local copy of jQuery
jQuery = function ( selector , context ) {
@ -522,14 +522,14 @@ function isArrayLike( obj ) {
}
var Sizzle =
/ * !
* Sizzle CSS Selector Engine v2 . 3. 6
* Sizzle CSS Selector Engine v2 . 3. 8
* https : //sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https : //js.foundation/
*
* Date : 202 1- 02 - 16
* Date : 202 2- 11 - 16
* /
( function ( window ) {
var i ,
@ -879,6 +879,27 @@ function Sizzle( selector, context, results, seed ) {
}
try {
// `qSA` may not throw for unrecognized parts using forgiving parsing:
// https://drafts.csswg.org/selectors/#forgiving-selector
// like the `:has()` pseudo-class:
// https://drafts.csswg.org/selectors/#relational
// `CSS.supports` is still expected to return `false` then:
// https://drafts.csswg.org/css-conditional-4/#typedef-supports-selector-fn
// https://drafts.csswg.org/css-conditional-4/#dfn-support-selector
if ( support . cssSupportsSelector &&
// eslint-disable-next-line no-undef
! CSS . supports ( "selector(" + newSelector + ")" ) ) {
// Support: IE 11+
// Throw to get to the same code path as an error directly in qSA.
// Note: once we only support browser supporting
// `CSS.supports('selector(...)')`, we can most likely drop
// the `try-catch`. IE doesn't implement the API.
throw new Error ( ) ;
}
push . apply ( results ,
newContext . querySelectorAll ( newSelector )
) ;
@ -1174,6 +1195,31 @@ setDocument = Sizzle.setDocument = function( node ) {
! el . querySelectorAll ( ":scope fieldset div" ) . length ;
} ) ;
// Support: Chrome 105+, Firefox 104+, Safari 15.4+
// Make sure forgiving mode is not used in `CSS.supports( "selector(...)" )`.
//
// `:is()` uses a forgiving selector list as an argument and is widely
// implemented, so it's a good one to test against.
support . cssSupportsSelector = assert ( function ( ) {
/* eslint-disable no-undef */
return CSS . supports ( "selector(*)" ) &&
// Support: Firefox 78-81 only
// In old Firefox, `:is()` didn't use forgiving parsing. In that case,
// fail this test as there's no selector to test against that.
// `CSS.supports` uses unforgiving parsing
document . querySelectorAll ( ":is(:jqfake)" ) &&
// `*` is needed as Safari & newer Chrome implemented something in between
// for `:has()` - it throws in `qSA` if it only contains an unsupported
// argument but multiple ones, one of which is supported, are fine.
// We want to play safe in case `:is()` gets the same treatment.
! CSS . supports ( "selector(:is(*,:jqfake))" ) ;
/* eslint-enable */
} ) ;
/ * A t t r i b u t e s
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- * /
@ -1440,6 +1486,18 @@ setDocument = Sizzle.setDocument = function( node ) {
} ) ;
}
if ( ! support . cssSupportsSelector ) {
// Support: Chrome 105+, Safari 15.4+
// `:has()` uses a forgiving selector list as an argument so our regular
// `try-catch` mechanism fails to catch `:has()` with arguments not supported
// natively like `:has(:contains("Foo"))`. Where supported & spec-compliant,
// we now use `CSS.supports("selector(SELECTOR_TO_BE_TESTED)")` but outside
// that, let's mark `:has` as buggy to always use jQuery traversal for
// `:has()`.
rbuggyQSA . push ( ":has" ) ;
}
rbuggyQSA = rbuggyQSA . length && new RegExp ( rbuggyQSA . join ( "|" ) ) ;
rbuggyMatches = rbuggyMatches . length && new RegExp ( rbuggyMatches . join ( "|" ) ) ;
@ -1452,7 +1510,14 @@ setDocument = Sizzle.setDocument = function( node ) {
// As in, an element does not contain itself
contains = hasCompare || rnative . test ( docElem . contains ) ?
function ( a , b ) {
var adown = a . nodeType === 9 ? a . documentElement : a ,
// Support: IE <9 only
// IE doesn't have `contains` on `document` so we need to check for
// `documentElement` presence.
// We need to fall back to `a` when `documentElement` is missing
// as `ownerDocument` of elements within `<template/>` may have
// a null one - a default behavior of all modern browsers.
var adown = a . nodeType === 9 && a . documentElement || a ,
bup = b && b . parentNode ;
return a === bup || ! ! ( bup && bup . nodeType === 1 && (
adown . contains ?
@ -2242,7 +2307,7 @@ Expr = Sizzle.selectors = {
return elem . nodeName . toLowerCase ( ) === "input" &&
elem . type === "text" &&
// Support: IE <8
// Support: IE <10 only
// New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
( ( attr = elem . getAttribute ( "type" ) ) == null ||
attr . toLowerCase ( ) === "text" ) ;
@ -6608,17 +6673,37 @@ function curCSS( elem, name, computed ) {
// .css('filter') (IE 9 only, trac-12537)
// .css('--customProperty) (gh-3144)
if ( computed ) {
// Support: IE <=9 - 11+
// IE only supports `"float"` in `getPropertyValue`; in computed styles
// it's only available as `"cssFloat"`. We no longer modify properties
// sent to `.css()` apart from camelCasing, so we need to check both.
// Normally, this would create difference in behavior: if
// `getPropertyValue` returns an empty string, the value returned
// by `.css()` would be `undefined`. This is usually the case for
// disconnected elements. However, in IE even disconnected elements
// with no styles return `"none"` for `getPropertyValue( "float" )`
ret = computed . getPropertyValue ( name ) || computed [ name ] ;
// trim whitespace for custom property (issue gh-4926)
if ( isCustomProp ) {
if ( isCustomProp && ret ) {
// rtrim treats U+000D CARRIAGE RETURN and U+000C FORM FEED
// Support: Firefox 105+, Chrome <=105+
// Spec requires trimming whitespace for custom properties (gh-4926).
// Firefox only trims leading whitespace. Chrome just collapses
// both leading & trailing whitespace to a single space.
//
// Fall back to `undefined` if empty string returned.
// This collapses a missing definition with property defined
// and set to an empty string but there's no standard API
// allowing us to differentiate them without a performance penalty
// and returning `undefined` aligns with older jQuery.
//
// rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED
// as whitespace while CSS does not, but this is not a problem
// because CSS preprocessing replaces them with U+000A LINE FEED
// (which *is* CSS whitespace)
// https://www.w3.org/TR/css-syntax-3/#input-preprocessing
ret = ret . replace ( rtrimCSS , "$1" ) ;
ret = ret . replace ( rtrimCSS , "$1" ) || undefined ;
}
if ( ret === "" && ! isAttached ( elem ) ) {