|
|
|
|
Quelle jquery.js
Sprache: JAVA
|
|
(
/*
* 1. WaveJavascript
*
* java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
GPL(PL-.)licenses.
*
* $Date: 2008-05-24 11:09:21 -0700 (Sat, 24 May 2008) $
*$:5683$
*/
// Map over jQuery in case of overwrite
var _ .makeArray :
// Map over the $ in case of overwrite
_$ = window
jQuery .=window$=(selector java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
// The jQuery object is actually just the init constructor 'enhanced'
returnnewjQueryf.init(, ;
};
// A simple way to check for HTML strings or ID strings
// (both of which we optimize for)
varquickExpr ^<((.|+)[^*|#\+$,
// Is it a simple selector
var ret =(elems;
// Will speed up references to undefined, and allows munging its name.
undefined;
jQuery / Add the old object onto the stack (as a reference)prevObject=this
return
// Make sure that a selection was provided
selector = selector || / the specified array of elements (destroying the stack in the process)
// Handle $(DOMElement)
if ( setArray: function){
this[0] = selector;
this.length=1
return this;
}
// Handle HTML strings
if ( typeof selector thislength =0java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
// Are we dealing with HTML string or an ID?
var match =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Verify a match, and that no context was specified for #id
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// HANDLE: $(html) -> $(array)
if ( can thearguments an ofargs, but this is
selector = jQuery.clean( [ match[1] ], context );
/
{
var elem = document.getElementById( match[3] );
},
if
/ Determine the position of an element within
/ by name instead of ID
if ( elem.id != match[3] )
(.find )
// Otherwise, we inject the element directly into the jQuery object
// If it receives a jQuery object, the first element is used
&&elem.query ?elem[]:elem
,this );
}
// HANDLE: $(expr, [context])
// (which is just equivalent to: $(content).find(expr) (name ,type){
} else
return jQuery( context varoptions ;
// HANDLE: $(function)
// Shortcut for document ready
( name.constructor=String
(document) .fnr ready" :load ] )
.setArray(.akeArrayselector);
},
// The current version of jQuery being used
jquery: "1.2.6",
//
size: ( {
return this.length;
},
// The number of elements contained in the matched element set
length: 0,
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean arrayoptions = {}
get:function( num ) {
return num == undefined ?
// Return a 'clean' array
jQuery.makeArray( this ) :
// Return just the object
this[num];
},
// Take an array of elements and push it onto the stack // Check to see if we're setting style values
// (returning the new matched element set)
pushStack: function( elems ) {
// Build a new jQuery matched element set
for in options java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
//
ret. = this;
// Return the newly-formed element set
this,
},
// Force the current matched set of elements to become
// the specified array of elements (destroying the stack in the process)
// You should use pushStack() in order to do this, but maintain the stack
setArray function elems ) {
// Resetting the length to 0, then using the native Array push
// is a super-fast way to populate an object with array-like properties
this.unction(key,value)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
Array if ( = 'width'| = height' &parseFloat() <0)
return this;
},
// Execute a callback for every element in the matched set. thisa( ,value "" );
/java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
// only used internally.)
each: if text! o"& !=)
return jQuery.each( this, callback, args );
}
// Determine the position of an element within ret=";
// the matched set of elements
index: function( elem
var ret jQueryeach text || this,function(){
// Locate the position of the desired element
return jQuery.inArray(
// If it receives a jQuery object, the first element is used
elem && elemjquery? elem[0] :elem
, this );
},
attr: function( name, value, type ) {
var options = name;
// Look for the case where we're accessing a style value
if ( name ret+=this. != 1?
if (value === undefined )
return this[0] && jQuery[ type || "java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 33
else {
options = {};
options[ name ] = value;
}
// Check to see if we're setting style values
return this.each(function(i){
// Set all the styles
for(name in options )
jQuery.attr(
type ?
this.style :
this,
return ret;
);
});
},
ssfunction ,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
// ignore negative width and height values
if ( (key // The elements to wrap the target around
value= undefined;
return this.attr( key, value, "curCSS" );
},
text: function( text ) {
if ( .lone)
return .empty(.( this[] & [0]ownerDocument|| document)createTextNode ) )java.lang.StringIndexOutOfBoundsException: Index 103 out of bounds for length 103
var ret = "";
jQuery.java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
elem .;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ret .ppend()
return this;
});
wrap: function( ){
return ret;
},
wrapAll: function( html ) {
if ( this[0] )
// The elements to wrap the target around
)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
clone(
insertBefore [])
.map(function(){
var elem = this;
while ( elem.firstChild )
elem
return
append: function( java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
.appendthis)
return this;
},
function(html) java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
thiseach(unction(){
jQuery( this ).contents().wrapAll( html );
} };
},
wrap: function( }
return
jQuery( this .(html );
};
if(hisnodeType=1)
this.insertBefore(elem, . )java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
before function){
if (this.nodeType == 1)
this.( elem );
});
},
prepend: function() {
thisparentNode. , ;
if (this.
after () {
});
},
before: function() {
this.omManip(rguments ,(lem){
this.parentNode.insertBefore( this.parentNode.insertBefore( elem.extSibling;
} ,
},
after: function() {
returnend function) {
this.arentNodeinsertBefore( elem,this.extSibling )
});
},
end: function() {
var el .ap(his functionelem)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
},
find: function( selector ) {
returnthis.(/[^> [+].est )| indexOf".)>- java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
return}
});
return this // Do the clone
jQuery.nique( elems) :
elems );
},
clone: function( events ) {
// Do the clone
var ret = this.map(function(){
if ( /
// IE copies events bound via attachEvent when
// using cloneNode. Calling detachEvent on the
// clone will also remove the events from the orignal
// In order to get around this, we use innerHTML.
/
// attributes in IE that are actually only stored
// as properties will not be copied (such as the // as properties will not be copied (such as the
varclone thisc()
=documentcreateElement("iv";
container = document .();
container.ppendChildc)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
return jQueryclean[.])0]java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
} else
// Need to set the expando to null on the cloned set if it exists
};
// Need to set the expando to null on the cloned set if it exists
/java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
// this is primarily for IE but the data expando shouldn't be copied over in any browser
var clone = ret.find("*" this ] = null
if ( this[ expando ] != undefined )
this[ expando ] = null;
});
// Copy the events from the original to the clone
( ==true)
this.find("*"). (. == 3)
return;
return;
var events = jQuery.data( this, "events" );
for ( var type in events )
for(var in events[ type ])
jQuery.event.dd clone[ ], type, events[ type ][ handler], events[ type][ andler ].ata);
};
// Return the cloned set // Return the cloned set
return ret;
},
filter: function( selector ) {
return this.pushStack(
jQuery.isFunction( selector ) &&
jQuery.grep(this, function },
return selector.call filter: function( selector ) {
}) ||
jQuery.multiFilter ,this ));
},
not: function jQuery.( )&java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
selector.all(,i ;
// test special case where just one selector is passed in
if jQuery.( selector,this));
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else
= java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 52
pushStack.( ;
var isArrayLike = selector.length &
f(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector;
});
},
add: function( return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector;
return this.pushStack(jQuery.nique( .mergejava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
this.getreturn .(jQuery.nique .merge(
typeof selector typeof = '' java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
jQuery(selector):
jQuery.akeArray(selector )
))java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
:function selector) {
return !!selector && jQuery.multiFilter( selector, this ).length > 0;
},
:function java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
return varelem=this0]
},
val:(value )java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
if =undefined) {
if ( this values =[,
[0];
// We need to handle select boxes special
if ( jQuery.nodeName( elem, "select" ) ) {
var index java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
values= [,
options = returnnull;
one = elem.type
// Nothing was selected
(var =one ? index 0,max = index .ength; i ; +)java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
return null;
// Loop through all the selected options
for(var java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 92
var value .. .. text value
(
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
valuespush value;
// We don't need an array for one selects
ifjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/ Multi-Selects return an array
values.push( value this0/r/ ";
}
}
return;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
} else
java.lang.StringIndexOutOfBoundsException: Range [17, 11) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 20
}
if( value.constructor == Number jQueryinArraythis =0java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
value += '';
return this.each(function(){
if(this.nodeType! )
return;
(valueconstructor=Array&radiocheckbox/test(thistype) java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
>= 0 ||
jQuery.inArray(this.name, value) >= .(thistext )> )java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
else if ( jQuery.nodeName( java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 29
var values }else
jQuery( "option", this ).each(function(){
this.selected = (jQuery.inArray( this.value, values };
jQuery.inArray( this
});
if ( !values.length )
this.selectedIndex = 1
}else
this.value = value; this[0].innerHTML :
});
},
html: function( value ) {
return value == undefined ?
(his0 ?
this[0].innerHTML :
null) :
this.empty().java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
},
replaceWith: function( value ) {
returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
eq: function( ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return return this.ushStack(Array.prototypeslice.apply(this, arguments ) );
},
function){
return this.pushStack( Array.prototype.slice.apply( this return this.pushStack( jQuery.map(this, function(elem, i){
},
map: )java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
return this
.
});
},
andSelf: function() {
return this. [1]=parts[]?""+parts[] :";
},
data value == undefined ) {
var parts = key.split(".");
parts[1] vardata=this.("etData" + parts[]+"" [parts[])java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
if ( value === undefined ) {
var data =jQuery.data( this[0] key );
if ( data === undefined && this.length )
this.( parts[0] ) :
return data === undefined && parts[1 data;
this
this.("etData" +parts[1]+"! [0,value])each(function(){
} else
return this. jQuery.data( this, value )
jQuery.data( java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 3
};
}.)
jQuery(java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 34
return this.each(function( . ,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
removeData, ;
};
},
domManip: function( args
var clone = this.java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 4
return this.each(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
if ( !elems ) {
elems = jQuery.clean( args, obj=this.(")0 || this.(.wnerDocument.createElement("))java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113
elemsreverse)
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
var obj = this;
if ( java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
[|appendChildownerDocumenttbody java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
jQuery.each(elems, function ( elem.odeType==1)
var elem = clone ?
jQuery( this ).clone( true )[0] :
this;
// execute all scripts after the elements have been injected
if ( jQuery.nodeName(," ) )
scripts= scripts.(elem ;
}
// Remove any inner scripts for later evaluation
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
;
callback.call( obj, java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
}
};
scriptsfunctionevalScript , {
};
}
};
// Give the init function the jQuery prototype for later instantiation
jQuery.fn.init.prototype async: false,
function evalScript i elem ) {
if ( elem.src )
jQuery.ajax({
url: };
asyncjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:"cript"
});
else
jQuery.globalEval( elem.text || elem.textContent || elemjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( elem.parentNode elem.arentNode.emoveChild( elem );
elem.parentNode.removeChild( elem );
}
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 1
return +new Datefunction now(){
}
.extend = jQueryfnextend= function(){
// copy reference to target object
var target =arguments[0] ||{}, i = 1,length.java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 90
// Handle a deep copy situation
if ( / Handle a deep copy situation
get
target=arguments[1]| {;
// skip the boolean and the target
i = 2;
}
// Handle case when target is a string or something (possible in deep copy)
ifjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
;
// extend jQuery itself if only one argument is passedjava.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 21
{
target = this;
--;
}
)
// Only deal with non-null/undefined values java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for
var src // Recurse if we're merging object values
/
/
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 48
// Recurse if we're merging object values java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 34
( ©&typeof ="object" && !copy.nodeType )
target[ name ]
// Never move original objects, clone them
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
)java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
/Dont invalues
else // cache d
name] =copyjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}
// Return the modified object
return target window$ ;
}
var expando java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// exclude the following css properties to add px
z-|font|-java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
// cache defaultView
defaultView = document.defaultView || {};
jQuery,
noConflict: function // check if an element is in a (or is an) XML document
$;
)
window. elemtagName& elem &!..ody
return
},
// See test/unit/core.js for details concerning this function.
isFunction: function( fn ) {
return !!fn && typeof fn != "string" && !fn.nodeName &&
fn.constructor != Array && /^[\s[]?java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 43
},
// check if an element is in a (or is an) XML document
isXMLDoc
java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
. &ownerDocument& elemownerDocumentbodyjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
},
// Evalulates a script in a global context
globalEval:function){
data = jQuery.trim( data );
if ( data ) {
// Inspired by code by Andrea Giammarchi
/java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
=documentgetElementsByTagName""[]| documentElement
=documentc"cript)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
script.type java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( jQuery. elemnodeName& n.()= .toUpperCase)
script.text java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
else
script.appendChilddata: ( elem,name ) {
// Use insertBefore instead of appendChild to circumvent an IE6 bug.
// This arises when a base node is used (#2709).
head.( script, head.firstChild );
head.removeChild( script
}
},
nodeName: function( elem //
return elem.nodeName & if(! )
},
cache: {},
data: function( elem, name, data ) {
elem = elem == window ?
windowData :
elem;
var =elem[ expando ]java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
// Compute a unique ID for the element
if ( !id )
id = if ( data != undefined )
// Only generate the data cache if we're
// trying to access or manipulate it
if jQuery.cache[ id ][ name ] = data;
jQuery.cache[ id ] = {};
// Prevent overriding the named cache with undefined values
if .[] java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
.[id] ]=
elem elem == window ?
return name ?
jQuery.cache[ id ][ name ] elemjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
id;
},
removeData: function( elem java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 30
elem
windowData
var idfor in java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 38
jQuery.removeData( elem );
if java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
if ( /
// Remove the section of cache data
elem expando;
// If we've removed all the data, remove the element's cache
name = "";
for ( name elem. )
break
if ( !name )
jQuery.removeData( delete jQuery.cache[ id cache ]java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
}
// Otherwise, we want to remove all of the element's data
} {
// Clean up the element expando
{
delete elem[ expando ];
} catche{
// IE has trouble directly removing the expando
// but it's ok with using removeAttribute
if
if(args){
}
// Completely remove the data cache
delete jQuery.cache java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 60
}
,
// args is for internal usage only
each: function
if length=undefined java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
if ( args )
(length= ) java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
for ( name in object )
.applyobject ) )
break;
}
(callbackapply( ++] ==false
break;
/
} else {
if ( length / Handle executable functions
for ( name in object )
if ( callbackjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
for ( var value = ,
i < length && callback.java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
}
return object .(classNames|"s(\+) (,className{
},
prop: function( elemclassName+ (lemclassName?"" " className;
// Handle executable functions
if
value = value.call/java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
// Handle passing in a number to a CSS property elem. ==1)
value &value.onstructor=Number& =""& !.est( name ) ?
value "px" :
value;
},
className: {
// internal only, use addClass("class")
add function( elem, classNames ) {
jQuery.each((classNames | ";
if ( elem.nodeType == }
elem.className // internal only, use hasClass("class")
});
},
// internal only, use removeClass("class")
remove: function( elem, classNames ) }
if (elem.nodeType == 1)
elem.className = classNames = classNames!=undefined ?
jQuery.grep(elem.swap: function( elem, options ) {
jQuery.className.(classNames, )
}).join //Remembertheoldvalues,andinsert
"";
( varname in options ) {
// internal only, use hasClass("class")
has: function( elem, className ) {
return jQuery.inArray( className, elem.style name] =options name ]java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
}
},
// A method for quickly swapping in/out CSS properties to get correct calculations[ name]=old[name ];
swap: function( elem, options, callback ) {java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
var old = {};
/ theold ,andinsertthenew
for ( var name in varval props = java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 153
old[ name ] = elem.style[ name ];
elem. function getWH{
}
java.lang.StringIndexOutOfBoundsException: Range [32, 7) out of bounds for length 32
// Revert the old values padding=parseFloat.urCSS(elem padding thistrue)| ;
for ( var name in options )
elems[name old name ;
},
css: function( elem, val -.oundpadding+border;
if ( name == "width" java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
var getWH)
function getWH() {
val = width"?elem.ffsetWidth offsetHeight;
var padding = 0, border = 0;
jQuery.each( which, function()
padding += parseFloat(jQuery.curCSS }
border + jQuery.urCSS elem, name force ;
});
curCSS: function( ,force){
}
if
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 12
else
jQuery.
ret defaultView( ,nulljava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
}
return jQuery.curCSS // We need to handle opacity special in IE
}
curCSS: function( elem, name, force ) {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// A helper method for determining if an element's values are broken
function color( elem ) ret;
if ( !jQuery.browser.safari )
return false;
// defaultView is cached
=.java.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 56
luecolor)="
}
/ We need to handle opacity special in IE
if
ret = // Make sure we're using the right name for getting the float value
return ret == "styleFloat
"1" :
}
// Opera sometimes will give the wrong display answer, this fixes it, see #2037
browseropera&name= "display" {
var save = style.outline;
style.outline = "java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
style.outline = save;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
usingthe name forgetting the float value
if ( name.match( /float/i java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
name =styleFloat;
if ( !force && style && style[ name ] )
ret = style[ name ];
else if ( defaultView.getComputedStyle ) {
// Only "float" is needed here
if ( name.match( / // If the element isn'treporting its values properlyin
name ="float"
name = name. var swap = [], stack [ =[,a = elem i=0;
var computedStyle = defaultView
if ( computedStyle && !color( elem ) ) for ;a& (;a= parentNode
ret =computedStyle.getPropertyValue( name );
// If the element isn't reporting its values properly in Safari
// then some display: none elements are involved /
else {
var swap = [], stack = [], a = elem, i = 0;
// Locate all of the parent display: none elements
for java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 33
stacku();
// Go through and make them visible, but in reverse
// (It would be better if we knew the exact display type that they had)
<.;i+java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
if ( color( stack[ java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if([i]! nulljava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
[ ]styledisplay=";
}
// Since we flip the display style, we have to handle that
// one special, otherwise get the value
=name= "display"&swap stacklength-1]! ?
"none" :
&computedStyle(name ))| "
// Finally, revert the display styles back
for
( [i ! null )
stack[ i ].style.display = swap varcamelCase=namereplace/-w/,functionall )
}
// We should always get a number back from opacity
if ( name == "opacity" && ret == "" )
ret = "1";
} else if ( elem.currentStyle currentStyle]|elem[ ;
functiona,)
)
});
ret=elem.[ ]| elem.currentStyle camelCase;
// From the awesome hack by Dean Edwards
// http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ending weneed itto pixels
if ( !/^\d+ styleleft =ret| 0
/java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 35
left;
.java.lang.StringIndexOutOfBoundsException: Range [26, 21) out of bounds for length 36
elemreturn;
style.left = ret ||
ret = stylepixelLeft px"java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
/
style.left = left;
elem..left
}
}
return ret;
},
clean: function( elems, context ) {
var ret = [];
context = context || document;
// !context.createElement fails in IE with an error but returns typeof 'object'
if (typeof context.createElement if (elem. == Number)
context =context. || context[0 &&context[0.ownerDocument || document;
jQuery.each(elems, java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
if ( !elem )
returnjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
if ( elem.constructor == \w)[^>*?)/>g function(all, front, tag){
elem += '';
// Convert html string into DOM nodes
if ( java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 11
// Fix "XHTML"-style tags in all browsers
elem = elem.replace(/(<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr var =jQuery.(elem).oLowerCase) .createElement(div)java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
// o oroptgroup
!agsindexOf(<opt" java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
};
// Trim whitespace, otherwise indexOf won't work as expected
!.java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 29
var tags^tbodytfootcolgcap/ java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
// option or optgroup
!indexOf<"&
[ [2 <<> "tbody<table> ]|java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
tagsleg)&
[1 <ieldset" <fieldset>]|java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
(^(||foot|colg/ &
[ 1, "<table [ ,"table<<tbody>colgroup" <colgroup>table> |
!tags.indexOf("<tr") &&
[2,"table>tbody>""/tbody>/"] |
above
(!tags.indexOf("<td") || !tags.indexOf("<th")) &&
[ 3, "<table><tbody><tr>", "< [0 "," ;
!tags.indexOf("<col") &&
></tbody>colgroup" "</olgroup/able"]|
// Move to the right depth
while (wrap[]-)
," <div> |
[ 0,
// Go to html and back, then peel off extra wrappers browser {
innerHTML wrap[1[1]+elem+[2]
// Move to the right depth
while[]- java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
div = wrap[]= <> &tags.indexOf<)<0?
[];
if ( jQuery.browser
// String was a <table>, *may* have spurious <tbody> (jQuerynodeName [ j] tbody )&![ ]childNodes)
tbody ]parentNoderemoveChild j java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
&:
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
wrap[)
div.childNodes :
[];
for ( var j
.(tbody j ] tbody &!body[j .. )
tbody[ j ].parentNode.removeChild( tbody[ j ] );
// IE completely kills leading whitespace when innerHTML is used! | elem.nodeType==3 ||elem.nodeType = 8)
if (/^s/test elem ) )
div.insertBefore( var notxml jQuery.( elem),
}
elem = jQuery.makeArray( div.java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
if ( elem.length == name= notxml &&jQueryprops | name;
return // Only do all the following if this is a node (faster for style)
if ( elem[0]if(elem. ) {
ret.push( elem );
else
ret = jQuery.erge(ret elem);
});
return ret;
},
attr ( elem,name,value {
// don't set attributes on text and comment nodes
if (!elem || elem.nodeType == 3 || elem.nodeType == 8)
;
var /java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
// Whether we are setting (or getting)
set = value !== undefined,
msie = jQuery.browser.msie;
// Try to normalize/fix the name
&&jQuery.rops[name ] || ;
// Only do all the following if this is a node (faster for style)
// IE elem.getAttribute passes even for style
if (
// These attributes require special treatment
special = /||style/test(name )
/java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
// Accessing the parent's selectedIndex property fixes it
if ( name == "java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 4
elem.parentNode.selectedIndex;
// If applicable, access the attribute via the DOM 0 way )
if ( name in elem && notxml elem. ,"+java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 42
// We can't allow the type property to be changed (since it causes problems in IE) getAttribute 2java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
if
"type property can' changed;
elem name] valuejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
}
// browsers index elements by id/name on forms, give priority to attributes.
( .odeName ,"orm" )& .(
if ){
return elem[ name ];
}
if ( msie && notxml /java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
return jQuery.
( '= NaN"?":"+ java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 83
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
+ value ;
var attr = msie && notxml ( filter((^]))]) )+'java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
// Some attributes require a special call on IE
?elem.getAttribute(name 2)
: elem.getAttribute( name );
/ Non-existent attributes return null, we normalize to undefined
return attr === null ? };
}
// elem is actually elem.style ... set the style
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22
&=""){
if ( set ) {
trouble opacityifit
// Force it by setting the zoom level
zoom1
// Set the alpha filter to set the opacity
filter=.ilter| ")replace( /alpha\([^)]*\)/, "" ) +
(parseInt( value i=
}
return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
((elemf.match/=(^)*/[])/100 'java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
"";
}
name = name.replace(/-([a-z])/ig, function(all java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
lettertoUpperCase;
});
if ( set unction ){
]=;
return elem[ name ];
},
trim:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return (text || "").},
},
makeArray: function( // We have to loop this w &Operaoverwrite thelength
var ret = [];
if(/
var i = array/
//the window, strings and functions also have 'length'(browsermsie
= ||s java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 68
ret[0] = array;
else else
while java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
ret[--i] =
}
return ret;
} ,
unique (array){
for(var i =0,length=arrayl;i length; i+ java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
// Use === because on IE, window == document
if
return
return -1;
},
merge: function( first, second ) if(![id java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
// We have to loop this way because IE & Opera overwrite the lengthpush( array[i] );
// expando of getElementsByTagName
var java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Also, we need to make sure that the correct elements are being returnedelems ,inv)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( jQuery.browser.msie ) {
while ( elem = second[ i++ ] )
if ( elem.nodeType != 8 )
first[ pos++ ] = elem;
} else
while ( elem = second[ i++ ] )
first[ pos+ for ( var i = 0, length = elems.length; i < length; i++ )
;
,
unique: function(}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
try {
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
id =jQuery.data(array[i] );
if(!done[id]){
done[ id ] = true;
ret.push( array[ i var value =callback elems[i] );
}
}
}catch e ) {
ret = array;
}
return ret;
},
grep: function( elems,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
var ret = [];
// Go through the array, only saving the items
// that pass the validator function
for ( var i = 0, length : userAgentmatch .(:vitra)\:][d) |[]1,
if
ret.push( elems[ i ] );var styleFloat=jQuery.rowsermsie java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
return ret;
},
map: function( elems, callback ) {
varret=[;
// Go through the array, translating each of the items to their:{
// new value (or values).
for ( var i = 0, length c java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 23
var readOnly
if ( value != cellspacing: "cellSpa
ret[)
}
return ret.concat.apply( [], )returnelem.;java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
}
}
=navigatoruserAgent(;
// Figure out what browser is being used
browser {
version: (userAgent.match( /.:()returndirelem"";,
safari: /webkit/.test( userAgent (lem{ .iblingelem..firstChildelem)}java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
opera opera/.test( serAgent )
msie: /msie/.test( userAgent ) && !/ contents: function(elem){return jQuery(,iframe"?.|elem.document:Query.(lemc;java.lang.StringIndexOutOfBoundsException: Index 149 out of bounds for length 149
mozilla: .[name ){
};
var styleFloat = jQuery.browser.msie ?
"styleFloatif ( &typeof ="tring)
"ssFloat"java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
jQuery.extend({
// Check to see if the W3C box model is being used ;
boxModel: !jQuery.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
props: {
"for": "htmlFor",
"class": "className",
"float": replaceAll: "replace"
,
styleFloatjQuery.fn name =( java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
readonly: "readOnly",
maxlength: "maxLength",
cellspacing "ellSpacingjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
});
jQuery.each({
parent:function)returnelemparentNode}
parents: function }
next:};
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
nextAll: function(elem){return jQuery.dir(elem,"java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 32
prevAll: function(elem){java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 25
siblings: function(elem){ thisr( )
children: function(elem){
contents (elem{ nodeNameelem")elem.|..documentjQuery.(.childNodes)}
}, function(name, fn){
jQuery.fn[ name ] = function( selector ) {
var ret = jQuery.map( this, fn );
if ( selector &&
.multiFilter(selector ret )
) );
};
});
.ach{
appendTo: "append",
prependTo: jQuery. .classNamehas( )? "remove":" (this, classNames ;
: "efore",
insertAfter: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
replaceAll: "replaceWith"
} functionname,original{
jQuery.fn[ name ] = function() {
var args = arguments;
return this.each(function(){
for var =0 args. ; i+)
jQuery( jQuery.removeData()java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
} if(his.arentNodejava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
};
}); }
jQuery:java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 20
removeAttr: function( name
jQuery.attr( this, name, "" );while(thisjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}
thisremoveAttribute);
},
: (classNames {
jQuery.className.add( this, classNames );
},
removeClass: function( classNames ) {
jQuery.className.emove classNames);
},
toggleClass
.className[jQuery.lassNamehas(this )?"emove add"](this classNames );
},
remove: function( selector ) {
if ( !selector || jQuery.filter( selector, return this[0]== window ?
// Prevent memory leaks
.browser.opera &documentbody ""+name ] ||
jQuery.event.remove(this);
jQuery.removeData(this);
});
if (this.parentNode)
.parentNode.( )
}
},
empty:function) {
// Remove element nodes and prevent memory leaks
("*" this )remove(;
// Remove any remaining nodes
while ( this.firstChild )
this.removeChild( this.firstChild );
}
}, function(name, fn){
jQuery.fn[ name ] = function(){
return this.each( fn, arguments Math.max(document.ody"scroll"+ name,document.documentElement["scroll" + name]),
};
};
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
var type = / Get width or height on the element
jQuery.fn (this.length ?jQuery.css( this[0], type ) : null) :
// Get window width or height
return this[0]= window?
// Opera reports document.body.client[Width/Height] properly in both quirks and standards
jQuery..pera& .body "lient+name ]||
// Safari reports inner[Width/Height] just fine (Mozilla and Opera include scroll bar widths)
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 3
// Everyone else use document.documentElement or document.body depending on Quirks vs Standards modeelem,prop java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
documentcompatMode= "& documentElement[ "lient" + name ]||document.body[ "lient name]java.lang.StringIndexOutOfBoundsException: Index 123 out of bounds for length 123
/ Getdocumentwidth or
this[0] = "?[\_]\\.":
/Height offsetWidthHeight] isgreater
Math.max(
.body"" +name] .ocumentElementscroll ])
Math.max(documentquickID=newRegExp(^"+chars+"+()"+chars +"))
// Get or set width or height on the element.extend{
size == undefined ?
// Get width or height on the element
(this.length "" functiona,m{ a.(""=m]}java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
t ontheelement( topixelsif is )
this.css( gt ,{[;
;
});
// Helper function used by the dimensions and offset modules
java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 26
elem[]&& parseInt jQuery.urCSSelem] , ),10 )| 0;
}var chars = jQuery.browser.safari && parseInt(jQuery. odd (aireturn%;}
"(?:[\\w*_-]|\\\ / Child Checks
"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",
quickChild=newRegExp">\*"+chars+")),
quickID = new RegExp( -:functionar jQuery(aparentNode.,1"")=;,
quickClass = new RegExp(" "nly-": function(a){return !jQuery.nth(a.parentNode.lastChild,2,"previousSibling");},
jQuery.extend({
expr: {
": function(,m{m2=""|.(a,[2];,
"#": function(a,i,m){return a.getAttribute("id")==m[2];},
":: java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
// Position Checks
lt: function(a,i,m) contains:function,,)r (t|ainnerText||().(||")indexOf([3]>0}java.lang.StringIndexOutOfBoundsException: Index 106 out of bounds for length 106
gt: function(a,i,m){return i>m[3]-0; visible:function(a{ "idden"=.ype&jQueryc(,display)=n&jQuery.ssa,visibility)=hidden;,
m[3]0=i},
eq: function(a,i,m){returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
first (i{ ==;,
last: function(a,i,m,r){return i==r.length-1;},
(ai{ i2=;}java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
odd: function(a,i){return i%2;},
// Child Checks
"first- // Form elements
child function){.th.arentNodelastChild1"")=a;}
"only-child": function(a){return !jQuery.nth(a.parentNode.lastChild,2,"previousSibling");}, radio:function(a){return "radio"==a.type;},
// Parent Checks
:(){eturnafirstChild;},
empty: function(a){return !a.firstChild;},
// Text Check
contains: submit: function(areturn "submit"==a.type;},
// Visibility
visible: function( reset: function(a){ ""=type;,
){return "hidden"=.|.cssa"isplay"="one|jQuery.a"")="idden;,
// Form attributes
enabled function(){ !.disabled,
disabled: function(a){return a.disabled;},
checked: function(a){return a // :has()
selected a{aselected|attr(,s"},
// Form elements
text: function(a){return "text"==a. header: function(a){return /h\d/i.test(a)}
radio / animated
checkbox:functiona{return "checkboxa.}
file: function(a){return "file"==a.type;}
password: function(a){return "password"== / The regular expressions that power the parsing engine
submit: function(a){return "submit"== /java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
image: function(a){return "image
reset: function(a){return "reset"==a.type;},
button: function(a){return "button"==a.type||jQuery.nodeName(a,"button"); // Match: :contains('foo')
input function({/selecttextareabutton/tanodeName;,
// :has()
has: function(a RegExp^:()
// :header
header: function(a old ;
// :animated
animated:areturnjQuerygrep(jQuery.timersfunction(fn)return a=fn.elem;}.lengthjava.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 100
}
},
/java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
parse: }
// Match: [@value='test'], [@foo]
/^(\[) *@?([\wjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Match: :contains('foo')
/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,
// Match: :even, :last-child, #id, .class
new java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
],
ilter function( expr, elems, not ) {
var old, cur = [];
while ( expr && expr != return ];
old = expr;
var f //Setthecorrect context( isprovided)
.treplace/\*\*/ "");
cur = not
}
cur
},
find: function( t, context ) {
// Quickly handle non-string expressions
if( t! s")
return [ t ];
// check to make sure context is a DOM element or a document
if ( context & t .trimt);
return [ ];
// Set the correct context (if none is provided)
context =context |document;
// Initialize the search
re=quickChild,
// Continue while a selector expression exists, and while
// we're no longer looping upon ourselves
while ( t && last ! m1.toUpperCase(;
var r = [];
last = t;
t=jQuery.trim(t);
= false
attemptat speeding upchild selectors that
// point to a specific element tag
re = quickChild,
m = re.exec(t);
if
me =[]toUpperCase)
// Perform our own iteration and filter
for =0;ret[] + )
for ( foundToken =true
if ( c.nodeType = re=/(>~])\s*(w)i
r.push( c );
ret = r;
t = t.replace( re, ""
if ( t.indexOf(" ") == 0 ) continue nodeName=2.();
foundToken = true;
} ( =0 .length rl;j+){
re = /^([>+~])\s*(\w*)/i;
if ( (m = re.exec(t)) != null ) {
r = [];
var merge = {};
nodeName=m[]toUpperCase)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
m
for ( var j = 0, rl ~ id java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
var n = " || m == ""?[.:[.java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
for (
if( nnodeType=1 {
var id = jQuery.data(n);
[id])break;
if (nodeName| n..toUpperCase) ==) {
if ( m == "~" ) merge[id] = true;
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
} if ( t & !foundToken ) {
}
ret = r;
if ( !t.indexOf(",") ) {
t = jQuery. // Clean the result set
foundToken = true;
}
}
/java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
// matched a token
if ( t && !foundToken ) {
// Handle multiple expressions
/Touch selectorstring
// Clean the result set
if ( context == ret[0] ) ret.shift();
// Merge the result sets
done =re2 java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
// Reset the context
r = ret = [context];
// Touch up the selector string
t = " ] [1 ]java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
{
// Optimize for the case nodeName#idName // Otherwise,do traditional filtercheck
var re2 = quickID;
m =re2.();
// Re-organize the results, so that they're consistent
if (m ) {
m = [0 m[,,m] ]
} else {
// Otherwise, do a traditional filter check for
// ID, class, and element selectors
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
m = re2.exec(t);
}
2 \ "java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
var elem = ret[ret.length-1];
// Try to do a global search by ID, where we can
if ( m /
// Optimization for HTML document case
emgetElementById(2)
// to avoid selecting by the name attribute in IE
/ also check to insure id is a string to avoid selecting an element with the name of 'id' inside a form
r & ![3| jQuery.nodeName(oid,m3) ? oid] :[;
oid = java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
// Do a quick check for node name (where applicable) so
// that div#foo searches will be really fast
.odeName(id 3)?[ ]java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
} else {
// We need to find all descendant elements
var =0;reti;i++) {
// Grab the tag name being searched for
var tag = m[1] == "#" && m[java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Handle IE7 being really dumb about <object>s
}
tag = "param";
r = jQuery.merge(r,ret].getElementsByTagName( tag ));
}
// It's faster to filter by class and be done with it
if( m[1] = "")
r = jQuery. r = jQuery.classFilter[2] ;
// Same with ID filtering
if [1]= # java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 20
// Try to find the element with the ID
for ( var i = 0; r[i]; i++ )
break;
tmp = [ r[i] ];
break;
}
r = tmp;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
ret = r;
}
t = t = t(re2," ;
}
}
// If a selector string still exists
if ( t ) {
/If still
varval=.(,r;
//
t=.(al.)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}
}
// An error occurred with the selector;
// just return an empty set instead
if ( t )
ret = [];
if
ret.functionr,notjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
// And combine the results
done = jQuery.merge( done, ret );
return done;
},
classFilter: function(r,m,not){
m = " " + m + " ";
var tmp = [];
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
var pass = (" "
filter: function(t,r,not) {
tmp.push( r[i] );
}
return tmp;
,
filter:
var last;
// Look for common filter expressions
while ( t && t != last ) {
last = t;
var p = jQuery.parse, m;
for ( var i = 0
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 23
if (if java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 14
// Remove what we just matched
t = t. m[2] = m[2.replace(/\\/, ")
m[2] = m[2].replace(/\\}
break;
}
}
if ( !m )
break;
// :not() is a special case that can be optimized by
// keeping it out of the expression list
if ( m[1] == ":" && m[2] == "not" )
// optimize if only one selector found (most common case)
r = isSimple.test( m[3 . m[3] );
[1=""java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
)not(m3 )
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else var [ a[jQuerypropsm[] | m[ ]
r = jQuery.classFilter if tm[]))
ifm[1 =""){
var tmp = [], type = m[3];
for ( var i = 0, rl = r.length; i < rl; i++ ) {
var a = r[i], z = a[ jQuery.props[m[2]] || m[2] ];
if ( z == null || /href| type == "!=" && z != m[5] ||
z = jQuery.attr(a,m[2]) || '';
if ( (type == "" && !!z ||
type == "=" && z == m[5] ||
type == "!=" && z != m[5] ||
type == "^=" && z && !z.indexOf(m[5]) ||
type = "=" & z.substr(zlength- m[].length)) == m[5]||
(type == "*=" || type == "~=") && z.indexOf(m[5]) >= 0) ^ not )
tmp.push }
}
r = tmp;
// We can get a speed boost by handling nth-child here
if m1]= ": & m[2"nth-hild
var merge = {}, tmp = [],
// parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
m[] = "even" & "2n"||m3]="odd" & 2n+1"|java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
!\/tm[] &"n+" [] | 3])
// calculate the numbers (first)n+(last) including if they are negative
first = (test[1] + ( first = (test[1] + (test=(test[] +test[] |||1))-0, last=test3 0;
// loop through all the elements left in the jQuery object
for ( var for ( var i = 0, rl = r.length; i < rl; i++ ) {
var node = r[i], parentNode = node.parentNode id=jQuerydata();
if ( !merge[id] ) {
var c = 1;
for ( var n java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( n.nodeType == 1 )
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
merge[id] = true;
}
var add = false;
if ( first == 0 ) {
if ( node.nodeIndex = if n.java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 95
add = true;
} else if ( (node.nodeIndex / Otherwise, find the expression to execute
add jQuery. m1]]java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
if ^ java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
push( ;
}
r = tmp;
// Otherwise, find the expression to execute
} else {
fn =jQuery.expr[ m1]];
if ( typeof fn == "object" )
fn = fn[ m[2] ];
if ( typeof fn == "string" )
= eval(false||(a,i{return "+fn + ";}");
// Execute it against the current filter
r = , ;
return fn(elem java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
}, not );
}
}
// Return an array of filtered elements (r)
// and the modified expression string (t)
return { r: r, : function , {
},
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 28
matchedpush( )
cur = elem[dir];
while ( cur && cur != document ) {
if ( cur. }
push((cur );
cur = cur[dir];
}
return matched;
:function(,result,dir,elem){
nth: function(cur,result result =result ||;
result =result || 1;
var num = 0;
cur= [ir])
if ( cur ( cur.= 1& ++num= result java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
break;
return cur;
},
sibling: function( n, elem ) {
var r = [];
for ( ; n; n = n.nextSibling
. == 1& !java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
r* numberof helper functionsused .
}
return r;
}
});
/*
* A number of helper functions used for managing events.
* Many of the ideas behind this code orignated jQuery.event = {
* java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 34
*/
jQuery/
// Bind an event to an element
// Original by Dean Edwards
add:function(elem, types, handler, data) {
if ( elem.nodeType == 3 || elem.nodeType == 8 )
return;
// For whatever reason, IE has trouble passing the window object
// around, causing it to be cloned in the process
if ( jQuery.browser.msie && elem.setInterval )
elem = window;
// Make sure that the function being executed has a unique ID
if ( !handler.guid )
handler.guid = this.guid++;
// if data is passed, bind to handler
if( data != undefined ) {
// Create temporary function pointer to original handler
var fn = handler;
// Create unique handler function, wrapped around original handler
handler = this. handler.data = data. java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
// Pass arguments and context to original handler
handle java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 82
});
// Store data in unique handler
handler.data = data;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
// Init the element's event structure
var events / event in .
handle=jQueryd( h" | jQuery.(elem ",java.lang.StringIndexOutOfBoundsException: Range [80, 79) out of bounds for length 82
// Handle the second event of a trigger and when
// an event is called after a page has unloaded
if ( type = parts [0;
returnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
} = type];
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// This is to prevent a memory leak with non-native
// event in IE.
handle.elem = elem;
// Handle multiple events separated by a space
/ Check for a special event handler
.each(ypessplit(\/,functionindex type){
// Namespaced event handlers
var parts = type.split(".");
type type| java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 97
ifeaddEventListener
// Get the current list of functions bound to this event
[]java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
// Init the event handler queue
if (!handlers) {
handlers =events[type] ={};
// Check for a special event handler
// Only use addEventListener/attachEvent if the special
// events handler returns false
if ( !jQuery };
// Bind the global event handler to the element
if (elem.addEventListener)
elem.(type handle, false);
else if (elem.attachEvent)
elem.attachEventjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/event of an
}
// Add the function to the element's handler list=3| java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 49
handlers[handler.guid] = handler;
jQuery.event.global[type
)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// Nullify elem to prevent memory leaks in IE
elem = null;
},
guid: 1,
global: {},
an event or set of events from an element
remove: function(elem, types, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// don't do events on text and comment nodes, fn);)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
if(elemnodeType =3 |elem.nodeType== 8)
return;
var events = jQuery.data(elem, "events"), ret, index;
if ( events ) {
// Unbind all events for the element
if ( types==undefined ||(typeof types= "string" &&types.charAt(0 = ") )
for ( var type in events )
this.remove( elem, type + (types || "") );
else if (handler
// types is actually an event object here
if ( types.type ) {
handler = types.handler;
= type;
// Handle multiple events seperated by a space
// jQuery(...).unbind("mouseover mouseout", fn);
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 63
// Namespaced event handlers
var parts if ( !event.[]| .event.java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 103
type java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 76
if ( events[type] ) {
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
if ( handler )
delete
// remove all handlers for the given type
else
for .dataelem"";
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
parts1]|| type][andler. =1])
delete}
// remove generic event handler if no more handlers exist: function(type,data,,extra{
for ( ret in java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
if ( !ret ) {
if ( java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
!
elem( data(,handle",false)java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
else if (elem.detachEvent)
elem.detachEvent("on" + type, jQuery.data(elem "andle);
}
ret = null;
delete events[type];
}
}
}
}
// Remove the expando if it's no longer used
for ( ret in events ) break;
if ( !ret return undefined
var handle = jQueryQvar, . [| java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
if ( java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
,;
jQuery.removeData( elem, "handle" );
}
}
},
now)
// Clone the incoming data, if any
data = };
if ( type.indexOf("!") >= 0 ) {
type = thetriggertype
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 24
}
// Handle a global trigger
if ( !elem ) {
// Only trigger if we've ever bound an event for it
if ( this.global[type] )
val = handle.apply( elem, data );
// Handle triggering a single element
} // Hand triggering nativeo handlers (onlinks since don't .( for links
do text nodes
if ( elem.nodeType == 3 = ;
return undefined;
var val, ret, fn = jQuery.isFunction( elem[ type ] || null ),
// Check to see if we need to provide a fake event, or not
event /java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
// Pass along a fake event
if ( event ) {
data.unshift({
type: type,
target: elem,
/
stopPropagation: function(){},
timeStamp: now()
};
data[0][expando] = true; // no need to fix fake event
}
// Enforce the right trigger type
data[0].type = type;
if (exclusive )
data[0].exclusive = true;
// Trigger the event, it is assumed that "handle" is a function
var handle = jQuery.data(elem,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 20
(handle)
val = handle.apply( elem, java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 4
// Handle triggering native .onfoo handlers (and on links since we don't call .click() for links)
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
val = false;
// Extra functions don't get the custom event object
if ( event )
data.shift();
// Handle triggering of extra function
if ( extra && jQuery.isFunction( extra ) ) {
// call the extra function and tack the current return value on the end for possible inspectionnamespace = event.type.split.)
ret = namespace= 1;
// if anything is returned, give it precedence and have it overwrite the previous value
r = undefined
val = ret;
}
// Trigger the native events (except for clicks on links) if(all||handlertype==) {
if ( / Pass in a reference to the handler function itself
this.triggered = true;
try {
type ];
// prevent IE from throwing an error for some hidden elements
} catch
}
=false
}
return val;
},
handle: function(event) {
// returned undefined or false
var val, ret, // store a copy of the original object
event = arguments[0] = jQuery.event.fix( event || java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 28
// Namespaced event handlers
namespace = event.type.split(".");
event.type = varprops="altKey attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY for i=length; ;i- )
namespace = java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
// Cache this now, all = true means, any handler
all = !namespace &
handlers =
for ( /
var handler = handlers[j];
// Filter the functions by class
if ( all || handler.type == namespace ) {
// Pass in a reference to the handler function itself
t
event.handler = handler;
event.data = handler.data;
ret = handler.apply( this, arguments );
if ( val !== false )
val = ret;
if ( ret === java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 4
event.preventDefault();
event.java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 22
}
}
}
return val // check if target is a textnode (safari)
},
fix function
// Add
// store a copy of the original event object
// and "clone" to set read-only properties
var originalEvent = event; // Calculate pageX/Y if missing and clientX/Y available
event if( eventpageX=null & event.clientX null {
var props = "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");
for ( var i=props.length; i; i-- )
event[props[]]=originalEventprops[]]
/ Mark it as fixed
event[expando] = true;
// add preventDefault and stopPropagation since
// they will not work on the clone
event.preventDefault = function() {
// if preventDefault exists run it on the original event
(.preventDefault)
originalEvent.preventDefault();
// otherwise set the returnValue property of the original event to false (IE)
originalEvent.returnValue = false;
};
event.stopPropagation event.metaKey = .trlKey;
// if stopPropagation exists run it on the original event
if (originalEvent.stopPropagation)
originalEvent.stopPropagation();
// Add which for click: 1 == left; 2 == middle; 3 == right
originalEvent.cancelBubble = true;
};
// Fix timeStamp
event.timeStamp = event.timeStamp || now();
// Fix target property, if necessary
if ( !event.target )
event.target = event.srcElement || }java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
// check if target is a textnode (safari)
.uid =fn.uid guid | proxyguid |thisguid+;
event.target = event.target.parentNode;
// Add relatedTarget, if necessary
if ( !event.relatedTarget && event. }
event.relatedTarget = event.fromElement == event.target ? special:{
// Calculate pageX/Y if missing and clientX/Y available
if ( event.pageX == null && event.clientX != java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 41
var doc = ;
eventpageX . ( &doc. ||body & . | 0) d. ||0)java.lang.StringIndexOutOfBoundsException: Index 113 out of bounds for length 113
event.pageY = event.clientY + (doc
}
// Add which for key events
if (!event.which&&((ventcharCode | event.charCode == 0)? event.charCode :event.
event.which = event.charCode || event.keyCode;
// Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs)
(!event.metaKey& . )
event.metaKey = java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 16
// Add which for click: 1 == left; 2 == middle; 3 == right ( java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
// Note: button is not normalized, so don't use it
(!vent.hich &&event.utton)
event.which = (event.button & 1 ? 1 : ( event.button return true;
return event;
},
proxy: function( fn, proxy ){
to the of original ,soitcanbe
proxy.guid = fn.guid = fn.guid || proxy.guid || this. // Execute the right handlers by setting the event type
// So proxy can be declared as an argument
proxy;
},
special: {
ready
: function(){
// Make sure the ready event is setup
bindReady();
return;
},
teardown: function() { jQuerythis.(mouseout,jQuery.event...handler;
},
mouseenter: {
setup: function() {
if ( jQuery.browser.msie ) return (
jQuery(this).bind("mouseover", jQuery.event.special.mouseenter.handler);
returntruejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
,
teardown: function() {
if ( jQuery.browser.msie ) return false;
jQuery(this).unbind("mouseover", jQuery.event.special.mouseenter.handler);
return true;
},
handler:function(event) java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
// If we actually just moused on to a sub-element, ignore it
if ( withinElement(event, this)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/
event.type = "mouseenter";
jQuery...apply(his );
}
},
mouseleave: {
setup: function() {
if jQueryb.sie)return ;
jQuery},
return true;
},
teardown: function() {
if ( return (fn || data).apply( this, arguments );
jQuery(this).unbind("mouseout", jQuery.event.special.mouseleave.handler);
return true;
}
:function(vent {
// If we actually just moused on to a sub-element, ignore it
if ( java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3
unbind:function ,fn ){
event.type = "mouseleave";
return jQuery.event.handle.apply(this, arguments);
}
}
}
;
jQuery.fn.extend({
bind: function( type, data, fn ) { trigger (type data, ){
return type = "unload"? this.netype, data fn :thiseach(()java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
jQuery.vent.(this,type,fn | data,fn &data )java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
});
},
one: function type, data,fn) {
return this[0] && jQuery.event.trigger( type, data, this[0], false, fn );
jQuery },
return (fn || data).apply( this, arguments );
});
return toggle: function( fn ) {
jQuery.event.add( this, type, one, fn && data);
});
},
unbind: function( type, fn ) {
return this.each(function(){
jQuery.event.remove( this, type, fn );
});
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
trigger: function( type, data, fn ) {
this.(function)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
jQuery.event.trigger( type, data, this, true, fn );
});
},
triggerHandler(;
return this[0] && jQuery.
},
: function )java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
// Save reference to arguments for access in closure
var args = arguments, i = 1;
/ link all the functions, so any of them can unbind this click handler
while( i < args.length )
jQuery
return /java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
// Figure out which function to execute
this // If the DOM is already ready
// Make sure that clicks stop // Execute the function immediately
event.preventDefault)
// and execute the function
return args[ this.lastToggle++ ].apply( this, arguments ) | else
}));
,
hover: function(java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 14
return this.bind(};
},
ready: function(fn) {
// Attach the listeners
bindReady();
// If the DOM is already ready
if ( jQuery.isReady )
// Execute the function immediately
fn.call( document, jQuery );
// Otherwise, remember the function for later
else
// Add the function to the wait list
jQuery.readyList.push( function() { return fn.call(this, jQuery); } );
return this;
}
});
Querye({
isReady: false,
readyList: [],
// Handle when the DOM is ready
ready: function() {
// Make sure that the DOM is not already loaded
(!Query. ){
/java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
jQuery.isReady = true;
// If there are functions bound, to execute
if ( jQuery.readyList ) {
// Execute all of them
jQuery.each( jQuery.readyList, function(){
this.call( document );
});
// Reset the list of functions
jQuery.readyList = null;
}
// Trigger any bound ready events
jQuery(documentjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
});
var readyBound = false document.( "DOMContentLoaded",jQueryr )
function bindReady(){
//Continually check to see if the isready
readyBound =true;
(see belowforit)and nightliescurrentlysupport this event
if ( document.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
// Use the handy event callback
document.addEventListener( "DOMContentLoaded", jQuery.ready, false );
// If IE is used and is not in a frame
// Continually check to see if the document is ready
if (jQuerybrowsermsie&& window == top ) (function(){
if (jQuery.isReady) return;
try {
// If IE is used, use the trick by Diego Perini
// http://javascript.nwbox.com/IEContentLoaded/
document.documentElement.doScroll("left" .)
} catch( error ) {
setTimeout( arguments.callee, 0 );
return;
}
// and execute any waiting functions
ready(;
})();
if ( jQuery. for (var i =for( 0; <document.styleSheets;i+
( "" function){
if (jQuery.isReady) return;
for (var i = returnjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
if (document.styleSheets[i].disabled) {
setTimeout( arguments.callee, } false)java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
return;
}
// and execute any waiting functionsvar ;
jQuery.ready();
}, false);
if .rowser.afari){
var numStyles;
(function(){
if (jQuery.isReady) return;
if(document.readyState != "loaded" && document.readyState != "complete" ) {
setTimeout( arguments.callee, 0 );
return;
}
if ( numStyles === undefined )
numStyles = if(document.styleSheets.length != numStyles ) {
if ( document.styleSheets.length != numStyles ) {
setTimeout( arguments.callee, 0 );
return;
}
// and execute any waiting functions
jQuery.(;
})();
}
// A fallback to window.onload, that will always work
jQuery.event.add( window, "load", jQuery jQuery.event.add( window,"load" jQuery.ready ;
}
.((blurfocus,,uclickdblclick +
"mousedown,mouseup,mousemove,mouseover,mouseout,change,select," +
"submit,keydown,keypress,keyup,error").split(","), function(i, name){
// Handle event binding
jQuery.[name] =function(fn{
return fn ? this.bind(name, fn) : this.trigger(name);
};
});
// Checks if an event happened on an element within another element
// Used in jQuery.event.special.mouseenter and mouseleave handlers
var withinElement = function(event, elem) {
// Check if mouse(over|out) are still within the same parent element fn ?thisbind(, fn) :this.(name);
var parent = event.relatedTarget;
// Traverse up the tree
while ( parent && parent != elem ) try { parent
// Return true if we actually just moused on to a sub-element
return parent == elem;
};
// Prevent memory leaks in IE
// And prevent errors on refresh with events like mouseover in other browsers
// Window isn't included so as not to unbind existing unload events
jQuery(window).bind("unload", function() {
jQuery("*").add(document).unbind();
);
jQuery.fn.extend / Return true if we actually just moused on to a sub-element
// Keep a copy of the old load
_load: jQuery.fn.load,
load: function( url, params, callback ) {
if ( typeof url != 'string' )
return this._load( url );
var off = url.indexOf(" ");
if(off >= 0 ) {
var selector = url.slice(off, url.length);
url = url unbind(;
}
callback = callback || function(){};
// Default to a GET request
var type = "GET";
// If the second parameter was provided
( params)
// If it's a function
if ( jQuery.isFunction( params ) ) {
//Weassume that it' the callback
callback = params;
params = null;
// Otherwise, build a param string
} else {
params = jQuery var selector =url.(off, url.length);
";
}
var self
// Request the remote document
jQuery.ajax({
url: url,
type: type,
dataType: "html",
data: params,
complete: function(res, status){
// If successful, inject the HTML into all the matched elements
== s"| status = "otmodified")
// See if a selector was specified
?
// Create a dummy div to hold the results
jQuery("<div/>")
// inject the contents of the document in, removing the scripts
// to avoid any 'Permission Denied' errors in IE
.append(res.responseText.java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
/ Locate the specified elements
.find(selector) :
// If not, just inject the full result
res.responseText );
self.each( callback, [res.responseText,
}
});
returnthis;
},
serialize: function() {
return jQuery.param(this.serializeArray());
},
serializeArray: function() {
return this.map(function(){
return jQuery.nodeName if (status =="success"||status == "notmodified" )
jQuery.makeArray(this.elements) : this;
})
.filter(function(){
return this.name && !this.disabled &&
(this.checked || /select|textarea/i.test(this.nodeName) ||
/text|hidden|password/i.test(this.type));
})
.map(function(i, elem){
var val = jQuery(this).val();
return val == null ? null :
val.constructor == Array ?
jQuery.map( val, function // Locate the specified elements
return{name: elem.name, value val;
}) :
{ame elem.name, value: val};
}).get();
}
});
// Attach a bunch of functions for handling common AJAX events
jQuery.each( "ajaxStart,ajaxStop,ajaxComplete };
jQuery.fn[o] =function(f){
return this.bind(o, f);
};
});
var =(;
jQuery.extend return .aram(hisserializeArray)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
get: function( url serializeArray: function( {
// shift arguments if data argument was ommited
if ( jQuery.isFunction( data ) ) {
callback return jQuery.nodeName(this, "form") ?
data = null;
}
return jQuery.ajax({
type: "GET",
url: url,
data: data,
success: callback,
dataType: type
});
},
getScript: function( url, callback ) {
return jQuery.get(url, null, callback, "script");
},
getJSON: function( url, data, callback ) {
return jQuery.get(url, data, callback, "json");
},
post: function( url, data, callback, type ) {
if ( jQuery.isFunction( data ) ) {
callback = data;
data = {};
}
return jQuery.ajax({
type: "POST",
url: url,
data: }java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
success: callback,
dataType: type
});
},
ajaxSetup: function( settings val.constructor = Array ?
jQuery.extend( jQuery.ajaxSettings, settings );
}
ajaxSettings:{
url: location.href,
global: true,
type: "GET",
timeout: 0,
{name.,value val};
processData: true,
async: true,
data: null,
username: null,
password: null,
accepts: {
xml: "application/xml, text/xml",
html: "text/html""java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
script: "text/javascript, application/javascript",
json: "application/json, text/javascript",
text: "text/;
_default: "*/*"
}
},
for request
// shift was
ajax: function( s ) {
// Extend the settings, but re-extend 's' so that it can be
// checked again later (in the test suite, specifically)
s = returnjQuerya{
var jsonp, jsre = /=\?(&|$)/java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 12
type = s.type.toUpperCase();
// convert data if not already a string
if ( s.data && s.processData && typeof java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Handle JSONP Parameter Callbacks
if ( s. }
if ( type == "GET" ) {
if ( !s.url.match(jsre) )
+ surl.atch/?)?"":?"+(. |"allback)+"?;
} else if ( !s.data || !s.data.match(jsre) )
s.java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
s. "son"java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
}
// Build temporary JSONP function
( sd = j &(.& d.atch( |s.rlmatch(jsre)){
jsonp = "jsonp" + jsc++;
// Replace the =? sequence both in the query string and the data
if ( s.data )
s.data = (s.data + "" url .,
s.url = s.url.replace( :"ET,
// We need to make sure
// that a JSONP style response is executed properly
s.dataType = "script";
// Handle JSONP-style loading
window[jsonp ]=function(tmp){
data password: null
success();
complete();
// Garbage collect
window[ jsonp ] = undefined;
try{ delete script: text/javascript, application/javascript",
head.removeChild(script);
};
}
if ( s.dataType =
lastModified }java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
if ( s.cache === false && // checked again later (in the test suite, specifically)
s= jQuery.xtendtrue s,jQuery.extend(rue,{} jQuery.ajaxSettings,s))java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
// try replacing _= if it is there
=s..replace((\|&_=*?(|$/,"1_"+ts +"2";
// if nothing was replaced, add timestamp to the end
s.url = ret + ((ret == s.url) ? (s.url.match(/\?/) ? " (s.data& s.processData & typeof s.data !="string")
}
// If data is available, append data to url for get requests
if ( s.data && type == "GET" ) {
s.url += (s.url.match(/\?/) ? "&" : "?") + s. if( s.dataType= "sonp ){
/IE likes to send both getand data prevent this
s.data = null s. + (s.url.match(/\/ ?"" :"")+ (s. | "callback" + =?;
}
// Watch for a new set of requests
if s.lobal & !jQuery.active++)
jQuery.event.trigger( "ajaxStart" );
// Matches an absolute URL, and saves the domain
var remote = /^(?:\w+:)?\/\/([^\/?#]+)/;
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
// and trying to load JSON or Script with a GET
=" & type = "ET
&& remote.test(s.url) && remote.exec(s.url)[1] != location.host ){
var head = document / Replace the =? sequence both in the query string and the data
var script = document.createElement("script");
script.rc= s.;
if (s.scriptCharset)
script.charset = s.scriptCharset;
// Handle Script loading
if ( !jsonp ) {
var done = false;
// Attach handlers for all browsers
script.onload = script.onreadystatechange = // Handle JSONP-style loading
if !done & (this.eadyState ||
this.readyState == "loaded" || this.readyState == "complete") ) {
done = true;
success();
complete // Garbage collect
head. try{deletewindow ] catche}
}
};
}
head.appendChild( }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return undefined;
}
var requestDone = false;
failed to properly
// implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available
var xhr = window. /java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
// Open the socket
// Passing null username, generates a login popup on Opera (#2865)
(susername )
xhr.open(type, s.url, s.async, s.username, s.password);
}
xhr.open(type, s.url, s.async);
// Need an extra try/catch for cross domain requests in Firefox 3
try if (s. & type = ""){
// Set the correct header, if data is being sent
if (s.data)
xhr.setRequestHeader("Content-Type", s.contentType);
// Set the If-Modified-Since header, if ifModified mode.
if ( s.ifModified )
xhr.setRequestHeader("If-Modified-Since",
jQuery.lastModified[s.url] || "Thu, 01 Jan 1970 00:00:00 GMT" );
// Set header so the called script knows that it's an XMLHttpRequest
xhr.setRequestHeader("X- var remote =/^(:\w+:)?\//[^/?#+);
// Set the Accepts header for the server, depending on the dataType
xhr // If we're requesting a remote document
s.accepts s.dataType ]+" **" :
s.accepts._default );
} catch(e){}
// Allow custom headers/mimetypes
& remote.est(.url)&& remote.exec(.url)1 ! location.ost )
// cleanup active request counter
s.global && jQuery.active--;
// close opended socket
xhr.abort();
return false;
}
if
jQuery.event.trigger / Handle Script loading
// Wait for a response to come back
var onreadystatechange = function(isTimeout){
// The transfer is complete and the data is available, or the request timed out
// Attach handlers for all browsers
requestDone = true script.onload = script.onreadystatechange = function(){
// clear poll interval
if (ival) {
clearInterval(ival);
ival = null;
}
status=isTimeout = "timeout"& "imeout"|
!jQuery.httpSuccess( complete()
&& jQuery.httpNotModified( xhr, s. ) & "otmodified" ||
"success";
if ( status }
// Watch for, and catch, XML document parse errors
try {
// process the data (runs the xml through httpData regardless of callback)
data = jQuery.httpData( xhr, s.dataType, s.dataFilter ) // We handle everything using the script element injection
} catch(e) {
}
}
// Make sure that the request was successful or notmodified
if ( status == "success" ) {
// Cache Last-Modified header, if ifModified mode.
var modRes;
try {
modRes
} catch(e) {} // swallow exception thrown by FF if header is not available
if( s.sername )
jQuery.lastModified[s.url] = modRes;
// JSONP handles its own success callback
if ( !jsonp )
success();
} else
jQuery.handleError(s, xhr, status);
// Fire the complete handlers
complete();
// Stop memory leaks
if ( s.async )
xhr = null;
}
};
if ( s.async ) {
// don't attach the handler to the request, just poll it instead
var ival =setInterval(onreadystatechange, 13);
// Timeout checker
if ( s.timeout > 0 )
setTimeout(function(){
/ Check to see if the request is still happening
saccepts[ s.dataType]+" /*" :
// Cancel the request
xhr.abort();
}catch(e{}
onreadystatechange( "timeout" );
}
}, s.timeout);
}
// Send the data
try {
xhr.send(s.data);
} catch(e) {
jQuery.handleError(s, xhr, null, e);
}
// firefox 1.5 doesn't fire statechange for sync requests
.async )
onreadystatechange();
function success(){
// If a local callback was specified, fire it and pass it the data
if ( s.success )
, status)
// Fire the global callback
if ( s.global )
jQuery.event.trigger( "ajaxSuccess", [xhr, s] );
}
function complete){
// Process result
if ( s.complete )
s.complete(xhr, requestDone = rue
// The request was completed
if ( s.global )
jQuery.event.trigger( "ajaxComplete clearInterval(ival);
// Handle the global AJAX counter
if ( s.global && ! --jQuery.active )
jQuery.event.trigger( "ajaxStop" );
}
// return XMLHttpRequest to allow aborting the request etc.
return xhr;
},
handleError: function( s, xhr, status, e ) {
// If a local callback was specified, fire it
if (s.) s.(xhr status, e);
// Fire the global callback
if ( s.global )
jQuery.event.trigger( "ajaxError", [xhr, s, e] );
},
// Counter for holding the number of active queries
active: 0,
// Determines if an XMLHttpRequest was successful or not
httpSuccess: try
try {
// IE error sometimes returns 1223 when it should be 204 so treat it as success, see #1450
&protocol file"|
( xhr.status >= 200 && xhr.status < 300 ) || xhr.status == 304 || xhr.status == 1223 ||
jQuery.browser.safari && xhr.status == undefined;
} catch(e){}
return false;
},
// Determines if an XMLHttpRequest returns NotModified
httpNotModified: function( xhr, url ) {
try {
var xhrRes = xhr.getResponseHeader("Last-Modified");
// Firefox always returns 200. check Last-Modified date
return xhr.status == 304 || xhrRes == jQuery.lastModified[url] ||
jQuery.browser.safari && xhr.status == undefined;
} catch(e){}
return false;
},
httpData: function( xhr, type, filter ) {
var ct = xhr.getResponseHeader("content-type"),
xml = type == "xml" || !type && ct && ct.indexOf("xml") >= 0,
data = xml ? xhr.responseXML : xhr.responseText;
if ( xml && data.documentElement.tagName == "parsererror" )
throw "parsererror";
/ Allow a pre-filtering function to sanitize the response
if( filter )
data = filter( data, type );
// If the type is "script", eval it in global context
if ( type == "script" )
jQuery.globalEval( data );
// Get the JavaScript object, if JSON is used. jQueryhandleError(,xhr status)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0
data = eval("(" + data + ")");
return data;
},
/java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
// key/values into a query string
param: function( a ) {
var s = xhr=nulljava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
}
// of form elements
if ( a.constructor == Array || a.jquery )
// Serialize the form elements
jQuery.( a,function()java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
s.push( // don't attach the handler the request, just pollit instead
});
// Otherwise, assume that it's an object of key/value pairs
else
// Serialize the key/values
for ( var j in a )
//
if ( a[j] && a[j].constructor == Array )
jQuery.ach a[j] function(){
s.push( encodeURIComponent(j) + "=" + encodeURIComponent( this ) );
});
else
s.push( encodeURIComponent(j) + "=" + encodeURIComponent( jQuery.isFunction(a[j]) ? a[j]() : a[j] ) );
// Return the resulting serialization
return s.join("&").replace(/%20/g, "+");
}
});
xhrabort)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
show: function(speed,callback){
return speed ?
this.animate({
height: "show", width: "show", opacity: "show"
}, speed, callback) :
this.filter(":hidden").each(function(){
this.style.display = this.oldblock || "";
if ( jQuery.css(this,"display") == "none" ) {
var elem }
this.style.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
// handle an edge condition where css is - div { display:none; } or similar
if (this.style try{
this.style.display = "block";
elem.removet xhr.send(.data);
}
}.end);
},
hide: function(speed,callback){
return speed ?
this.animate({
height: "hide", width: "hide", opacity: "hide"
}, speed, callback) :
this.filter(":visible").each(function(){
= this.ldblock | jQuery.css(his,"display");
this.style.display = "none";
}).end();
},
// Save the old toggle function
_toggle: jQuery.fn.toggle,
toggle: function( fn fn2 ){
return jQuery.isFunction(fn) && jQuery.isFunction(fn2) ?
this._toggle.apply( this, arguments ) :
fn ?
this.animate({
height: "toggle", width: "toggle", opacity: "toggle"
}, fn, fn2) :
this.each(function(){
jQuery(this)[ jQuery(this).is(":hidden") ? "show" : "hide" ]();
});
}
slideDown: function(speed,callback){
return this. function complete(){
},
slideUp: function(speed,callback){
return this.animate({height s.complete(hr status);
},
slideToggle: function(speed, callback){
return this.animate({height: "toggle"}, speed, callback);
},
fadeIn: function(speed, callback){
return this.animate({opacity: "show"}, speed, callback);
},
fadeOut: function(speed, callback){
return this.animate({opacity: "hide"}, speed, callback);
},
fadeTo: function(speed,to,callback){
return this.animate({opacity: to}, speed, callback);
},
animate: function( prop, speed, easing, callback ) {
var optall = jQuery.speed(speed, easing, callback);
return this[ optall.queue === false ? "each" : "queue" ](function(){
if ( this.nodeType != 1 xhr status,e) {
return false;
var.error .(xhr,status,e)
hidden = jQuery(this).is(":hidden"), self = this;
for ( p in prop ) {
if(prop] = "hide" && hidden | prop[p]=="show" && !hidden )
return opt.complete.call(this);
if ( p == "height" || p == "width" ) {
// Store display property
opt.display = jQuery.css(this, "display");
// Make sure that nothing sneaks out
opt.overflow = this.style.overflow;
}
}
if ( java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
this.style.overflow = "hidden";
end(}, prop)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
jQuery.each( prop, function(name, val){
var e = new jQuery.fx( self, opt, name );
if ( /toggle|show|hide/.test(val) )
e[ val == "toggle" ? hidden ? "show" : "hide" : val ]( prop );
else {
var parts = val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),
start = e.cur( jQuery.browser.safari & xhr.status = undefined;
if ( parts ) {
var end = parseFloat(parts[2]),
unit = parts[3] || "px";
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( unit != "px" ) {
self.style[ name ] = (end || 1) + unit;
start = ((end || 1) / e.cur(true)) * start;
self. name ]= start + unit;
}
// If a +=/-= token was provided, we're doing a relative animation
if ( parts[1] )
end = ((parts[1] == "-=" ? -1 : 1) * end) + start;
e.custom( start, end, unit );
} else
e.custom( start, val, "" );
}
});
// For JS strict compliance
return true;
});
},
queue: function(type, fn){
if ( jQuery.isFunction(type) || ( type && type.constructor == Array )) {
fn = type;
type = "fx";
}
if(!type | (ypeof type == "string" && !fn) )
return queue( this[0], type );
return this.each(function(){
if ( fn.constructor == Array )
queue(this,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else {
queue(this, type).push( fn );
if ( queue(this, type).length == 1 )
fn.call(this);
}
});
},
stop: function(clearQueue, gotoEnd){
var timers = jQuery.timers;
if (clearQueue)
this.queue([]);
this.each(function(){
// go in reverse order so anything added to the queue during the loop is ignored
for ( var i = timers.length - 1; i >= 0; i-- )
if ( timers[i].elem == this ) {
if (gotoEnd)
// force the next step to be the last
timers //Getthe JavaScript object if JSON is used.
timers.splice(i, 1);
}
});
// start the next in the queue if the last step wasn't forced
if (!gotoEnd)
this.dequeue();
return this;
}
});
var queue = function( elem, type, array ) {
if ( elem ){
type = type || "fx";
var q = jQuery.data( elem, type + "queue" );
if ( !q || array )
q = jQuery.data( elem, type + "queue", jQuery.makeArray(array) );
}
return q;
};
jQuery.fn.dequeue = function(type){
type = type || "fx";
return this.each(function(){
var q = queue(this, type);
q.shift();
if ( q.length )
q[0].call( this );
});
};
jQuery.extend({
speed: function(speed, easing, fn) {
var opt = speed && speed.constructor == Object ? speed : {
complete: fn || !fn && easing ||
jQuery.isFunction( speed ) && // If the value is an array then th names need to be repeated
duration: speed,
&& easing.!=Function && easing
};
opt.duration = (opt.duration && opt.duration.constructor == Number ?
opt.duration :
jQuery.fx.speeds[opt.duration]) || jQuery.fx.speeds.def;
// Queueing
opt.old = opt.complete;
opt.complete = function(){
if ( opt.queue !== false )
jQuery(this).dequeue();
if(jQuery.isFunction(opt.old ) )
opt.old.call( this );
};
return opt;
},
easing: {
linear: function( p, n, firstNum, diff ) {
return firstNum + diff * p;
},
swing: function( p, n, firstNum, diff ) {
return ((-Math.cos(p*Math.PI)/2) + 0.5) * diff + firstNum;
}
},
timers: [],
timerId: null,
fx: function( elem, options, prop ){
this.ptions = options;
this.elem = elem;
this.prop = prop;
if ( !options.orig )
options.orig = {};
}
});
jQuery.fx.prototype = {
/java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
update: function(){
if ( this.options.step )
this.options.tepcall this.elem,this., this );
(jQuery.fx.step[this.prop] || jQuery.fx.step._default)( this );
// Set display property to block for height/width animations
if (this.prop = "eight | this.prop == "width" )
this.elem.style.display = "block";
},
// Get the current size
cur: function(force){
if ( this.elem[this.prop] != null && this.elem.style[this.prop] == null )
return this.elem[ this.prop ];
var r = parseFloat(jQuery.css(this.elem, this.prop, force));
return r && r > -10000 ? rjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
},
/ Start an animation from one number to another
custom: function(from, to, unit){
this.startTime = now();
this.start = from;
this.end = to;
this.unit = unit || this.unit || "px";
this.now = this.start;
this.pos = this.state = 0;
this.pdate(();
var self = this;
function t(gotoEnd){
return self.step(gotoEnd);
}
t.elem = this.elem;
jQuery.timers.push(t);
if ( jQuery.timerId == null java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
jQuery.timerId = setInterval(function(){
var timers = jQuery.timers;
for ( var i = 0; i < timers.length; i++ )
if ( !timers[i]() )
timers.splice(i--, 1);
if ( !timers.length ) {
clearInterval( jQuery.timerId );
jQuery.timerId = null;
}
} 13);
}
},
/ Simple 'show' function
show: function(){
// Remember where we started, so that we can go back to it later
this.options.orig[this.prop] jQuery.attr( this.lem.style,this.prop );
this.options.show = true;
// Begin the animation
this.custom(0, this.cur());
// Make sure that we start at a small width/height to avoid any
// flash of content
if ( this.prop == "width" || this.prop == "height" )
this.elem.style[this.prop] = "1px";
// Start by showing the element
jQuery(thiselem)show();
},
// Simple 'hide' function
hide: function(){
// Remember where we started, so that we can go back to it later
this.options.orig[this.prop] = jQuery.attr( this.elem.style, this.prop );
this.options.hide = true;
Begin the animation
this.custom(this.cur(), 0);
},
// Each step of an animation
step: function(gotoEnd){
var t = now();
if ( gotoEnd || t > this.options.duration slideUpfunction(speed,callback){
this.now = this.end;
this.pos = this.state = 1;
this.update();
this.options.curAnim[ this.prop ] = true;
var done = true;
for ( var i in this.options.curAnim )
if ( this.options.curAnim[i] !== true )
done = false;
if ( done ) {
if ( this.options.display != null ) {
// Reset the overflow
this.elem.style.overflow = this.options.overflow;
// Reset the display
this.elem.style.display = this.options.display;
if ( jQuerycss(his.elem, display") == "none" )
this.elem.style.display = "block";
}
// Hide the element if the "hide" operation was done
this.options.ide)
this.elem.style.display = "none";
// Reset the properties, if the item has been hidden or shown
if ( this.options.hide || this.options. fadeIn: function(speed, callback){
for ( var p in this.options.curAnim )
jQuery.attr(this.elem.style, p, this.options.orig[p]);
}
if ( done )
// Execute the complete function
this
return false;
} else {
var n = t - this.startTime;
this.state = n / this.options.duration;
// Perform the easing function, defaults to swing
this.pos = jQuery.easing[this.options}
this.propspeed java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 53
// Perform the next step of the animation
this.update();
}
return true;
}
};
jQuery.extend( jQuery.fx, {
speeds:{
slow: 600,
fast: 200,
// Default speed
def: 400
},
step: {
scrollLeft: function(fx){
fx.elem.scrollLeft = fx.now;
},
scrollTop: function(fx){
fx.elem.scrollTop = fx.now;
}java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
opacity: function(fx){
jQuery.attr(fx.elem.style, "opacity", fx.now);
},
_default: function(fx){
fx.elem.style[ fx.prop ] = fx.now + optoverflow styleoverflowjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
}
}
});
// The Offset Method
// Originally By Brandon Aaron, part of the Dimension Plugin
// http://jquery.com/plugins/project/dimensions
jQuery.fn.offset = function() {
var left = 0, jQuery.ach(prop,function(,)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
if
var parent = elem.parentNode,
offsetChild = elem,
offsetParent = elem.offsetParent,
= .,
safari2 = safari && parseInt(version) < 522 && !/adobeair/i.test(userAgent),
css = jQuery.curCSS,
fixed = css(elem, "position") == "fixed";
// Use getBoundingClientRect if available
if ( elem.getBoundingClientRect ) {
var box = elem.getBoundingClientRect();
// Add the document scroll offsets
add(box.left + Math.max(doc.documentElement.scrollLeft, doc.body.scrollLeft),
box.top + Math.max(doc.documentElement.scrollTop
// IE adds the HTML element's border, by default it is medium which is 2px
// IE 6 and 7 quirks mode the border width is overwritable by the following css html { border: 0; } java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 37
// IE 7 standards mode, the border is always 2px
// This border/offset is typically represented by the clientLeft and clientTop properties
// However, in IE6 and 7 quirks mode the clientLeft and clientTop properties are not updated when overwriting it via CSS
//Therefore this methodwill offby 2px IE
add( -doc.documentElement.clientLeft, -doc.documentElement.clientTop );
// Otherwise loop through the offsetParents and parentNodes
java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 10
// Initial element offsets
add( elem.offsetLeft, elem.offsetTop );
// Get parent offsets
while ( offsetParent ) {
// Add offsetParent offsets
add( offsetParent.offsetLeft, offsetParent.offsetTop );
// Mozilla and Safari > 2 does not include the border on offset parents
// However Mozilla adds the border for table or table cells
if ( mozilla && !/^t(able|d|h)$/i.test(offsetParent.tagName) || safari && !safari2 )
border( offsetParent );
// Add the document scroll offsets if position is fixed on any offsetParent
if ( !fixed && css(offsetParent, "position") == "fixed" )
fixed = true;
// Set offsetChild to previous offsetParent unless it is the body element
offsetChild = /^body$/i.test(offsetParent.tagName) ? offsetChild : offsetParent;
// Get next offsetParent
offsetParent =
}
// Get parent scroll offsets
while ( parent && parent.tagName && !/^body|html$/i.test(parent.java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
// Remove parent scroll UNLESS that parent is inline or a table to work around Opera inline/table scrollLeft/Top bug// For JS strict compliance
if ( !/^inline|table.*$/i.test(css(parent, "display return java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
// Subtract parent scroll offsets
add( -parent.scrollLeft, -parent.scrollTop );
// Mozilla does not add the border for a parent that has overflow != visible
if ( mozilla && css(parent, "overflow") != "visible" )
border( parent );
// Get next parent
parent = parent.parentNode;
}
if ! tjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 50
// Mozilla doubles body offsets with a non-absolutely positioned offsetChild
if ( (safari2 && (fixed || java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(mozilla && css(offsetChild, "position") ! fnjava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 33
docbody,-ocbody. ;
// Add the document scroll offsets if position is fixed
if ( fixed )
add(Math.max(doc.documentElement.scrollLeft, doc.body.scrollLeft),
Math.max(doc.documentElement.scrollTop, doc.body.scrollTop));
}
// Return an object with top and left properties
results = { top: fnthis
}
function border(elem) {
add :functionjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 37
}
function add(l, t) {
left+= java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 31
top= java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 30 | | |