ÿþ/ / M o o T o o l s ,   < h t t p : / / m o o t o o l s . n e t > ,   M y   O b j e c t   O r i e n t e d   ( J a v a S c r i p t )   T o o l s .   C o p y r i g h t   ( c )   2 0 0 6 - 2 0 0 8   V a l e r i o   P r o i e t t i ,   < h t t p : / / m a d 4 m i l k . n e t > ,   M I T   S t y l e   L i c e n s e .  
  
 v a r   M o o T o o l s = { v e r s i o n : " 1 . 2 . 1 " , b u i l d : " 0 d 4 8 4 5 a a b 3 d 9 a 4 f d e e 2 f 0 d 4 a 6 d d 5 9 2 1 0 e 4 b 6 9 7 c f " } ; v a r   N a t i v e = f u n c t i o n ( K ) { K = K | | { } ; v a r   A = K . n a m e ; v a r   I = K . l e g a c y ; v a r   B = K . p r o t e c t ;  
 v a r   C = K . i m p l e m e n t ; v a r   H = K . g e n e r i c s ; v a r   F = K . i n i t i a l i z e ; v a r   G = K . a f t e r I m p l e m e n t | | f u n c t i o n ( ) { } ; v a r   D = F | | I ; H = H ! = = f a l s e ; D . c o n s t r u c t o r = N a t i v e ; D . $ f a m i l y = { n a m e : " n a t i v e " } ;  
 i f ( I & & F ) { D . p r o t o t y p e = I . p r o t o t y p e ; } D . p r o t o t y p e . c o n s t r u c t o r = D ; i f ( A ) { v a r   E = A . t o L o w e r C a s e ( ) ; D . p r o t o t y p e . $ f a m i l y = { n a m e : E } ; N a t i v e . t y p i z e ( D , E ) ; } v a r   J = f u n c t i o n ( N , L , O , M ) { i f ( ! B | | M | | ! N . p r o t o t y p e [ L ] ) { N . p r o t o t y p e [ L ] = O ;  
 } i f ( H ) { N a t i v e . g e n e r i c i z e ( N , L , B ) ; } G . c a l l ( N , L , O ) ; r e t u r n   N ; } ; D . a l i a s = f u n c t i o n ( N , L , O ) { i f ( t y p e o f   N = = " s t r i n g " ) { i f ( ( N = t h i s . p r o t o t y p e [ N ] ) ) { r e t u r n   J ( t h i s , L , N , O ) ;  
 } } f o r ( v a r   M   i n   N ) { t h i s . a l i a s ( M , N [ M ] , L ) ; } r e t u r n   t h i s ; } ; D . i m p l e m e n t = f u n c t i o n ( M , L , O ) { i f ( t y p e o f   M = = " s t r i n g " ) { r e t u r n   J ( t h i s , M , L , O ) ; } f o r ( v a r   N   i n   M ) { J ( t h i s , N , M [ N ] , L ) ;  
 } r e t u r n   t h i s ; } ; i f ( C ) { D . i m p l e m e n t ( C ) ; } r e t u r n   D ; } ; N a t i v e . g e n e r i c i z e = f u n c t i o n ( B , C , A ) { i f ( ( ! A | | ! B [ C ] ) & & t y p e o f   B . p r o t o t y p e [ C ] = = " f u n c t i o n " ) { B [ C ] = f u n c t i o n ( ) { v a r   D = A r r a y . p r o t o t y p e . s l i c e . c a l l ( a r g u m e n t s ) ;  
 r e t u r n   B . p r o t o t y p e [ C ] . a p p l y ( D . s h i f t ( ) , D ) ; } ; } } ; N a t i v e . i m p l e m e n t = f u n c t i o n ( D , C ) { f o r ( v a r   B = 0 , A = D . l e n g t h ; B < A ; B + + ) { D [ B ] . i m p l e m e n t ( C ) ; } } ; N a t i v e . t y p i z e = f u n c t i o n ( A , B ) { i f ( ! A . t y p e ) { A . t y p e = f u n c t i o n ( C ) { r e t u r n ( $ t y p e ( C ) = = = B ) ;  
 } ; } } ; ( f u n c t i o n ( ) { v a r   A = { A r r a y : A r r a y , D a t e : D a t e , F u n c t i o n : F u n c t i o n , N u m b e r : N u m b e r , R e g E x p : R e g E x p , S t r i n g : S t r i n g } ; f o r ( v a r   G   i n   A ) { n e w   N a t i v e ( { n a m e : G , i n i t i a l i z e : A [ G ] , p r o t e c t : t r u e } ) ;  
 } v a r   D = { " b o o l e a n " : B o o l e a n , " n a t i v e " : N a t i v e , o b j e c t : O b j e c t } ; f o r ( v a r   C   i n   D ) { N a t i v e . t y p i z e ( D [ C ] , C ) ; } v a r   F = { A r r a y : [ " c o n c a t " , " i n d e x O f " , " j o i n " , " l a s t I n d e x O f " , " p o p " , " p u s h " , " r e v e r s e " , " s h i f t " , " s l i c e " , " s o r t " , " s p l i c e " , " t o S t r i n g " , " u n s h i f t " , " v a l u e O f " ] , S t r i n g : [ " c h a r A t " , " c h a r C o d e A t " , " c o n c a t " , " i n d e x O f " , " l a s t I n d e x O f " , " m a t c h " , " r e p l a c e " , " s e a r c h " , " s l i c e " , " s p l i t " , " s u b s t r " , " s u b s t r i n g " , " t o L o w e r C a s e " , " t o U p p e r C a s e " , " v a l u e O f " ] } ;  
 f o r ( v a r   E   i n   F ) { f o r ( v a r   B = F [ E ] . l e n g t h ; B - - ; ) { N a t i v e . g e n e r i c i z e ( w i n d o w [ E ] , F [ E ] [ B ] , t r u e ) ; } } } ) ( ) ; v a r   H a s h = n e w   N a t i v e ( { n a m e : " H a s h " , i n i t i a l i z e : f u n c t i o n ( A ) { i f ( $ t y p e ( A ) = = " h a s h " ) { A = $ u n l i n k ( A . g e t C l e a n ( ) ) ;  
 } f o r ( v a r   B   i n   A ) { t h i s [ B ] = A [ B ] ; } r e t u r n   t h i s ; } } ) ; H a s h . i m p l e m e n t ( { f o r E a c h : f u n c t i o n ( B , C ) { f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) ) { B . c a l l ( C , t h i s [ A ] , A , t h i s ) ;  
 } } } , g e t C l e a n : f u n c t i o n ( ) { v a r   B = { } ; f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) ) { B [ A ] = t h i s [ A ] ; } } r e t u r n   B ; } , g e t L e n g t h : f u n c t i o n ( ) { v a r   B = 0 ; f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) ) { B + + ;  
 } } r e t u r n   B ; } } ) ; H a s h . a l i a s ( " f o r E a c h " , " e a c h " ) ; A r r a y . i m p l e m e n t ( { f o r E a c h : f u n c t i o n ( C , D ) { f o r ( v a r   B = 0 , A = t h i s . l e n g t h ; B < A ; B + + ) { C . c a l l ( D , t h i s [ B ] , B , t h i s ) ; } } } ) ; A r r a y . a l i a s ( " f o r E a c h " , " e a c h " ) ;  
 f u n c t i o n   $ A ( C ) { i f ( C . i t e m ) { v a r   D = [ ] ; f o r ( v a r   B = 0 , A = C . l e n g t h ; B < A ; B + + ) { D [ B ] = C [ B ] ; } r e t u r n   D ; } r e t u r n   A r r a y . p r o t o t y p e . s l i c e . c a l l ( C ) ; } f u n c t i o n   $ a r g u m e n t s ( A ) { r e t u r n   f u n c t i o n ( ) { r e t u r n   a r g u m e n t s [ A ] ;  
 } ; } f u n c t i o n   $ c h k ( A ) { r e t u r n   ! ! ( A | | A = = = 0 ) ; } f u n c t i o n   $ c l e a r ( A ) { c l e a r T i m e o u t ( A ) ; c l e a r I n t e r v a l ( A ) ; r e t u r n   n u l l ; } f u n c t i o n   $ d e f i n e d ( A ) { r e t u r n ( A ! = u n d e f i n e d ) ; } f u n c t i o n   $ e a c h ( C , B , D ) { v a r   A = $ t y p e ( C ) ;  
 ( ( A = = " a r g u m e n t s " | | A = = " c o l l e c t i o n " | | A = = " a r r a y " ) ? A r r a y : H a s h ) . e a c h ( C , B , D ) ; } f u n c t i o n   $ e m p t y ( ) { } f u n c t i o n   $ e x t e n d ( C , A ) { f o r ( v a r   B   i n   ( A | | { } ) ) { C [ B ] = A [ B ] ; } r e t u r n   C ;  
 } f u n c t i o n   $ H ( A ) { r e t u r n   n e w   H a s h ( A ) ; } f u n c t i o n   $ l a m b d a ( A ) { r e t u r n ( t y p e o f   A = = " f u n c t i o n " ) ? A : f u n c t i o n ( ) { r e t u r n   A ; } ; } f u n c t i o n   $ m e r g e ( ) { v a r   E = { } ; f o r ( v a r   D = 0 , A = a r g u m e n t s . l e n g t h ;  
 D < A ; D + + ) { v a r   B = a r g u m e n t s [ D ] ; i f ( $ t y p e ( B ) ! = " o b j e c t " ) { c o n t i n u e ; } f o r ( v a r   C   i n   B ) { v a r   G = B [ C ] , F = E [ C ] ; E [ C ] = ( F & & $ t y p e ( G ) = = " o b j e c t " & & $ t y p e ( F ) = = " o b j e c t " ) ? $ m e r g e ( F , G ) : $ u n l i n k ( G ) ;  
 } } r e t u r n   E ; } f u n c t i o n   $ p i c k ( ) { f o r ( v a r   B = 0 , A = a r g u m e n t s . l e n g t h ; B < A ; B + + ) { i f ( a r g u m e n t s [ B ] ! = u n d e f i n e d ) { r e t u r n   a r g u m e n t s [ B ] ; } } r e t u r n   n u l l ; } f u n c t i o n   $ r a n d o m ( B , A ) { r e t u r n   M a t h . f l o o r ( M a t h . r a n d o m ( ) * ( A - B + 1 ) + B ) ;  
 } f u n c t i o n   $ s p l a t ( B ) { v a r   A = $ t y p e ( B ) ; r e t u r n ( A ) ? ( ( A ! = " a r r a y " & & A ! = " a r g u m e n t s " ) ? [ B ] : B ) : [ ] ; } v a r   $ t i m e = D a t e . n o w | | f u n c t i o n ( ) { r e t u r n   + n e w   D a t e ; } ; f u n c t i o n   $ t r y ( ) { f o r ( v a r   B = 0 , A = a r g u m e n t s . l e n g t h ;  
 B < A ; B + + ) { t r y { r e t u r n   a r g u m e n t s [ B ] ( ) ; } c a t c h ( C ) { } } r e t u r n   n u l l ; } f u n c t i o n   $ t y p e ( A ) { i f ( A = = u n d e f i n e d ) { r e t u r n   f a l s e ; } i f ( A . $ f a m i l y ) { r e t u r n ( A . $ f a m i l y . n a m e = = " n u m b e r " & & ! i s F i n i t e ( A ) ) ? f a l s e : A . $ f a m i l y . n a m e ;  
 } i f ( A . n o d e N a m e ) { s w i t c h ( A . n o d e T y p e ) { c a s e   1 : r e t u r n " e l e m e n t " ; c a s e   3 : r e t u r n ( / \ S / ) . t e s t ( A . n o d e V a l u e ) ? " t e x t n o d e " : " w h i t e s p a c e " ; } } e l s e { i f ( t y p e o f   A . l e n g t h = = " n u m b e r " ) { i f ( A . c a l l e e ) { r e t u r n " a r g u m e n t s " ;  
 } e l s e { i f ( A . i t e m ) { r e t u r n " c o l l e c t i o n " ; } } } } r e t u r n   t y p e o f   A ; } f u n c t i o n   $ u n l i n k ( C ) { v a r   B ; s w i t c h ( $ t y p e ( C ) ) { c a s e " o b j e c t " : B = { } ; f o r ( v a r   E   i n   C ) { B [ E ] = $ u n l i n k ( C [ E ] ) ;  
 } b r e a k ; c a s e " h a s h " : B = n e w   H a s h ( C ) ; b r e a k ; c a s e " a r r a y " : B = [ ] ; f o r ( v a r   D = 0 , A = C . l e n g t h ; D < A ; D + + ) { B [ D ] = $ u n l i n k ( C [ D ] ) ; } b r e a k ; d e f a u l t : r e t u r n   C ; } r e t u r n   B ; } v a r   B r o w s e r = $ m e r g e ( { E n g i n e : { n a m e : " u n k n o w n " , v e r s i o n : 0 } , P l a t f o r m : { n a m e : ( w i n d o w . o r i e n t a t i o n ! = u n d e f i n e d ) ? " i p o d " : ( n a v i g a t o r . p l a t f o r m . m a t c h ( / m a c | w i n | l i n u x / i ) | | [ " o t h e r " ] ) [ 0 ] . t o L o w e r C a s e ( ) } , F e a t u r e s : { x p a t h : ! ! ( d o c u m e n t . e v a l u a t e ) , a i r : ! ! ( w i n d o w . r u n t i m e ) , q u e r y : ! ! ( d o c u m e n t . q u e r y S e l e c t o r ) } , P l u g i n s : { } , E n g i n e s : { p r e s t o : f u n c t i o n ( ) { r e t u r n ( ! w i n d o w . o p e r a ) ? f a l s e : ( ( a r g u m e n t s . c a l l e e . c a l l e r ) ? 9 6 0 : ( ( d o c u m e n t . g e t E l e m e n t s B y C l a s s N a m e ) ? 9 5 0 : 9 2 5 ) ) ;  
 } , t r i d e n t : f u n c t i o n ( ) { r e t u r n ( ! w i n d o w . A c t i v e X O b j e c t ) ? f a l s e : ( ( w i n d o w . X M L H t t p R e q u e s t ) ? 5 : 4 ) ; } , w e b k i t : f u n c t i o n ( ) { r e t u r n ( n a v i g a t o r . t a i n t E n a b l e d ) ? f a l s e : ( ( B r o w s e r . F e a t u r e s . x p a t h ) ? ( ( B r o w s e r . F e a t u r e s . q u e r y ) ? 5 2 5 : 4 2 0 ) : 4 1 9 ) ;  
 } , g e c k o : f u n c t i o n ( ) { r e t u r n ( d o c u m e n t . g e t B o x O b j e c t F o r = = u n d e f i n e d ) ? f a l s e : ( ( d o c u m e n t . g e t E l e m e n t s B y C l a s s N a m e ) ? 1 9 : 1 8 ) ; } } } , B r o w s e r | | { } ) ; B r o w s e r . P l a t f o r m [ B r o w s e r . P l a t f o r m . n a m e ] = t r u e ;  
 B r o w s e r . d e t e c t = f u n c t i o n ( ) { f o r ( v a r   B   i n   t h i s . E n g i n e s ) { v a r   A = t h i s . E n g i n e s [ B ] ( ) ; i f ( A ) { t h i s . E n g i n e = { n a m e : B , v e r s i o n : A } ; t h i s . E n g i n e [ B ] = t h i s . E n g i n e [ B + A ] = t r u e ;  
 b r e a k ; } } r e t u r n { n a m e : B , v e r s i o n : A } ; } ; B r o w s e r . d e t e c t ( ) ; B r o w s e r . R e q u e s t = f u n c t i o n ( ) { r e t u r n   $ t r y ( f u n c t i o n ( ) { r e t u r n   n e w   X M L H t t p R e q u e s t ( ) ; } , f u n c t i o n ( ) { r e t u r n   n e w   A c t i v e X O b j e c t ( " M S X M L 2 . X M L H T T P " ) ;  
 } ) ; } ; B r o w s e r . F e a t u r e s . x h r = ! ! ( B r o w s e r . R e q u e s t ( ) ) ; B r o w s e r . P l u g i n s . F l a s h = ( f u n c t i o n ( ) { v a r   A = ( $ t r y ( f u n c t i o n ( ) { r e t u r n   n a v i g a t o r . p l u g i n s [ " S h o c k w a v e   F l a s h " ] . d e s c r i p t i o n ;  
 } , f u n c t i o n ( ) { r e t u r n   n e w   A c t i v e X O b j e c t ( " S h o c k w a v e F l a s h . S h o c k w a v e F l a s h " ) . G e t V a r i a b l e ( " $ v e r s i o n " ) ; } ) | | " 0   r 0 " ) . m a t c h ( / \ d + / g ) ; r e t u r n { v e r s i o n : p a r s e I n t ( A [ 0 ] | | 0 + " . " + A [ 1 ] | | 0 ) , b u i l d : p a r s e I n t ( A [ 2 ] | | 0 ) } ;  
 } ) ( ) ; f u n c t i o n   $ e x e c ( B ) { i f ( ! B ) { r e t u r n   B ; } i f ( w i n d o w . e x e c S c r i p t ) { w i n d o w . e x e c S c r i p t ( B ) ; } e l s e { v a r   A = d o c u m e n t . c r e a t e E l e m e n t ( " s c r i p t " ) ; A . s e t A t t r i b u t e ( " t y p e " , " t e x t / j a v a s c r i p t " ) ;  
 A [ ( B r o w s e r . E n g i n e . w e b k i t & & B r o w s e r . E n g i n e . v e r s i o n < 4 2 0 ) ? " i n n e r T e x t " : " t e x t " ] = B ; d o c u m e n t . h e a d . a p p e n d C h i l d ( A ) ; d o c u m e n t . h e a d . r e m o v e C h i l d ( A ) ; } r e t u r n   B ; } N a t i v e . U I D = 1 ;  
 v a r   $ u i d = ( B r o w s e r . E n g i n e . t r i d e n t ) ? f u n c t i o n ( A ) { r e t u r n ( A . u i d | | ( A . u i d = [ N a t i v e . U I D + + ] ) ) [ 0 ] ; } : f u n c t i o n ( A ) { r e t u r n   A . u i d | | ( A . u i d = N a t i v e . U I D + + ) ; } ; v a r   W i n d o w = n e w   N a t i v e ( { n a m e : " W i n d o w " , l e g a c y : ( B r o w s e r . E n g i n e . t r i d e n t ) ? n u l l : w i n d o w . W i n d o w , i n i t i a l i z e : f u n c t i o n ( A ) { $ u i d ( A ) ;  
 i f ( ! A . E l e m e n t ) { A . E l e m e n t = $ e m p t y ; i f ( B r o w s e r . E n g i n e . w e b k i t ) { A . d o c u m e n t . c r e a t e E l e m e n t ( " i f r a m e " ) ; } A . E l e m e n t . p r o t o t y p e = ( B r o w s e r . E n g i n e . w e b k i t ) ? w i n d o w [ " [ [ D O M E l e m e n t . p r o t o t y p e ] ] " ] : { } ;  
 } A . d o c u m e n t . w i n d o w = A ; r e t u r n   $ e x t e n d ( A , W i n d o w . P r o t o t y p e ) ; } , a f t e r I m p l e m e n t : f u n c t i o n ( B , A ) { w i n d o w [ B ] = W i n d o w . P r o t o t y p e [ B ] = A ; } } ) ; W i n d o w . P r o t o t y p e = { $ f a m i l y : { n a m e : " w i n d o w " } } ;  
 n e w   W i n d o w ( w i n d o w ) ; v a r   D o c u m e n t = n e w   N a t i v e ( { n a m e : " D o c u m e n t " , l e g a c y : ( B r o w s e r . E n g i n e . t r i d e n t ) ? n u l l : w i n d o w . D o c u m e n t , i n i t i a l i z e : f u n c t i o n ( A ) { $ u i d ( A ) ; A . h e a d = A . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ;  
 A . h t m l = A . g e t E l e m e n t s B y T a g N a m e ( " h t m l " ) [ 0 ] ; i f ( B r o w s e r . E n g i n e . t r i d e n t & & B r o w s e r . E n g i n e . v e r s i o n < = 4 ) { $ t r y ( f u n c t i o n ( ) { A . e x e c C o m m a n d ( " B a c k g r o u n d I m a g e C a c h e " , f a l s e , t r u e ) ;  
 } ) ; } i f ( B r o w s e r . E n g i n e . t r i d e n t ) { A . w i n d o w . a t t a c h E v e n t ( " o n u n l o a d " , f u n c t i o n ( ) { A . w i n d o w . d e t a c h E v e n t ( " o n u n l o a d " , a r g u m e n t s . c a l l e e ) ; A . h e a d = A . h t m l = A . w i n d o w = n u l l ;  
 } ) ; } r e t u r n   $ e x t e n d ( A , D o c u m e n t . P r o t o t y p e ) ; } , a f t e r I m p l e m e n t : f u n c t i o n ( B , A ) { d o c u m e n t [ B ] = D o c u m e n t . P r o t o t y p e [ B ] = A ; } } ) ; D o c u m e n t . P r o t o t y p e = { $ f a m i l y : { n a m e : " d o c u m e n t " } } ;  
 n e w   D o c u m e n t ( d o c u m e n t ) ; A r r a y . i m p l e m e n t ( { e v e r y : f u n c t i o n ( C , D ) { f o r ( v a r   B = 0 , A = t h i s . l e n g t h ; B < A ; B + + ) { i f ( ! C . c a l l ( D , t h i s [ B ] , B , t h i s ) ) { r e t u r n   f a l s e ; } } r e t u r n   t r u e ;  
 } , f i l t e r : f u n c t i o n ( D , E ) { v a r   C = [ ] ; f o r ( v a r   B = 0 , A = t h i s . l e n g t h ; B < A ; B + + ) { i f ( D . c a l l ( E , t h i s [ B ] , B , t h i s ) ) { C . p u s h ( t h i s [ B ] ) ; } } r e t u r n   C ; } , c l e a n : f u n c t i o n ( ) { r e t u r n   t h i s . f i l t e r ( $ d e f i n e d ) ;  
 } , i n d e x O f : f u n c t i o n ( C , D ) { v a r   A = t h i s . l e n g t h ; f o r ( v a r   B = ( D < 0 ) ? M a t h . m a x ( 0 , A + D ) : D | | 0 ; B < A ; B + + ) { i f ( t h i s [ B ] = = = C ) { r e t u r n   B ; } } r e t u r n   - 1 ; } , m a p : f u n c t i o n ( D , E ) { v a r   C = [ ] ;  
 f o r ( v a r   B = 0 , A = t h i s . l e n g t h ; B < A ; B + + ) { C [ B ] = D . c a l l ( E , t h i s [ B ] , B , t h i s ) ; } r e t u r n   C ; } , s o m e : f u n c t i o n ( C , D ) { f o r ( v a r   B = 0 , A = t h i s . l e n g t h ; B < A ; B + + ) { i f ( C . c a l l ( D , t h i s [ B ] , B , t h i s ) ) { r e t u r n   t r u e ;  
 } } r e t u r n   f a l s e ; } , a s s o c i a t e : f u n c t i o n ( C ) { v a r   D = { } , B = M a t h . m i n ( t h i s . l e n g t h , C . l e n g t h ) ; f o r ( v a r   A = 0 ; A < B ; A + + ) { D [ C [ A ] ] = t h i s [ A ] ; } r e t u r n   D ; } , l i n k : f u n c t i o n ( C ) { v a r   A = { } ;  
 f o r ( v a r   E = 0 , B = t h i s . l e n g t h ; E < B ; E + + ) { f o r ( v a r   D   i n   C ) { i f ( C [ D ] ( t h i s [ E ] ) ) { A [ D ] = t h i s [ E ] ; d e l e t e   C [ D ] ; b r e a k ; } } } r e t u r n   A ; } , c o n t a i n s : f u n c t i o n ( A , B ) { r e t u r n   t h i s . i n d e x O f ( A , B ) ! = - 1 ;  
 } , e x t e n d : f u n c t i o n ( C ) { f o r ( v a r   B = 0 , A = C . l e n g t h ; B < A ; B + + ) { t h i s . p u s h ( C [ B ] ) ; } r e t u r n   t h i s ; } , g e t L a s t : f u n c t i o n ( ) { r e t u r n ( t h i s . l e n g t h ) ? t h i s [ t h i s . l e n g t h - 1 ] : n u l l ; } , g e t R a n d o m : f u n c t i o n ( ) { r e t u r n ( t h i s . l e n g t h ) ? t h i s [ $ r a n d o m ( 0 , t h i s . l e n g t h - 1 ) ] : n u l l ;  
 } , i n c l u d e : f u n c t i o n ( A ) { i f ( ! t h i s . c o n t a i n s ( A ) ) { t h i s . p u s h ( A ) ; } r e t u r n   t h i s ; } , c o m b i n e : f u n c t i o n ( C ) { f o r ( v a r   B = 0 , A = C . l e n g t h ; B < A ; B + + ) { t h i s . i n c l u d e ( C [ B ] ) ; } r e t u r n   t h i s ;  
 } , e r a s e : f u n c t i o n ( B ) { f o r ( v a r   A = t h i s . l e n g t h ; A - - ; A ) { i f ( t h i s [ A ] = = = B ) { t h i s . s p l i c e ( A , 1 ) ; } } r e t u r n   t h i s ; } , e m p t y : f u n c t i o n ( ) { t h i s . l e n g t h = 0 ; r e t u r n   t h i s ; } , f l a t t e n : f u n c t i o n ( ) { v a r   D = [ ] ;  
 f o r ( v a r   B = 0 , A = t h i s . l e n g t h ; B < A ; B + + ) { v a r   C = $ t y p e ( t h i s [ B ] ) ; i f ( ! C ) { c o n t i n u e ; } D = D . c o n c a t ( ( C = = " a r r a y " | | C = = " c o l l e c t i o n " | | C = = " a r g u m e n t s " ) ? A r r a y . f l a t t e n ( t h i s [ B ] ) : t h i s [ B ] ) ;  
 } r e t u r n   D ; } , h e x T o R g b : f u n c t i o n ( B ) { i f ( t h i s . l e n g t h ! = 3 ) { r e t u r n   n u l l ; } v a r   A = t h i s . m a p ( f u n c t i o n ( C ) { i f ( C . l e n g t h = = 1 ) { C + = C ; } r e t u r n   C . t o I n t ( 1 6 ) ; } ) ; r e t u r n ( B ) ? A : " r g b ( " + A + " ) " ;  
 } , r g b T o H e x : f u n c t i o n ( D ) { i f ( t h i s . l e n g t h < 3 ) { r e t u r n   n u l l ; } i f ( t h i s . l e n g t h = = 4 & & t h i s [ 3 ] = = 0 & & ! D ) { r e t u r n " t r a n s p a r e n t " ; } v a r   B = [ ] ; f o r ( v a r   A = 0 ; A < 3 ; A + + ) { v a r   C = ( t h i s [ A ] - 0 ) . t o S t r i n g ( 1 6 ) ;  
 B . p u s h ( ( C . l e n g t h = = 1 ) ? " 0 " + C : C ) ; } r e t u r n ( D ) ? B : " # " + B . j o i n ( " " ) ; } } ) ; F u n c t i o n . i m p l e m e n t ( { e x t e n d : f u n c t i o n ( A ) { f o r ( v a r   B   i n   A ) { t h i s [ B ] = A [ B ] ; } r e t u r n   t h i s ; } , c r e a t e : f u n c t i o n ( B ) { v a r   A = t h i s ;  
 B = B | | { } ; r e t u r n   f u n c t i o n ( D ) { v a r   C = B . a r g u m e n t s ; C = ( C ! = u n d e f i n e d ) ? $ s p l a t ( C ) : A r r a y . s l i c e ( a r g u m e n t s , ( B . e v e n t ) ? 1 : 0 ) ; i f ( B . e v e n t ) { C = [ D | | w i n d o w . e v e n t ] . e x t e n d ( C ) ;  
 } v a r   E = f u n c t i o n ( ) { r e t u r n   A . a p p l y ( B . b i n d | | n u l l , C ) ; } ; i f ( B . d e l a y ) { r e t u r n   s e t T i m e o u t ( E , B . d e l a y ) ; } i f ( B . p e r i o d i c a l ) { r e t u r n   s e t I n t e r v a l ( E , B . p e r i o d i c a l ) ; } i f ( B . a t t e m p t ) { r e t u r n   $ t r y ( E ) ;  
 } r e t u r n   E ( ) ; } ; } , r u n : f u n c t i o n ( A , B ) { r e t u r n   t h i s . a p p l y ( B , $ s p l a t ( A ) ) ; } , p a s s : f u n c t i o n ( A , B ) { r e t u r n   t h i s . c r e a t e ( { b i n d : B , a r g u m e n t s : A } ) ; } , b i n d : f u n c t i o n ( B , A ) { r e t u r n   t h i s . c r e a t e ( { b i n d : B , a r g u m e n t s : A } ) ;  
 } , b i n d W i t h E v e n t : f u n c t i o n ( B , A ) { r e t u r n   t h i s . c r e a t e ( { b i n d : B , a r g u m e n t s : A , e v e n t : t r u e } ) ; } , a t t e m p t : f u n c t i o n ( A , B ) { r e t u r n   t h i s . c r e a t e ( { b i n d : B , a r g u m e n t s : A , a t t e m p t : t r u e } ) ( ) ;  
 } , d e l a y : f u n c t i o n ( B , C , A ) { r e t u r n   t h i s . c r e a t e ( { b i n d : C , a r g u m e n t s : A , d e l a y : B } ) ( ) ; } , p e r i o d i c a l : f u n c t i o n ( C , B , A ) { r e t u r n   t h i s . c r e a t e ( { b i n d : B , a r g u m e n t s : A , p e r i o d i c a l : C } ) ( ) ;  
 } } ) ; N u m b e r . i m p l e m e n t ( { l i m i t : f u n c t i o n ( B , A ) { r e t u r n   M a t h . m i n ( A , M a t h . m a x ( B , t h i s ) ) ; } , r o u n d : f u n c t i o n ( A ) { A = M a t h . p o w ( 1 0 , A | | 0 ) ; r e t u r n   M a t h . r o u n d ( t h i s * A ) / A ; } , t i m e s : f u n c t i o n ( B , C ) { f o r ( v a r   A = 0 ;  
 A < t h i s ; A + + ) { B . c a l l ( C , A , t h i s ) ; } } , t o F l o a t : f u n c t i o n ( ) { r e t u r n   p a r s e F l o a t ( t h i s ) ; } , t o I n t : f u n c t i o n ( A ) { r e t u r n   p a r s e I n t ( t h i s , A | | 1 0 ) ; } } ) ; N u m b e r . a l i a s ( " t i m e s " , " e a c h " ) ;  
 ( f u n c t i o n ( B ) { v a r   A = { } ; B . e a c h ( f u n c t i o n ( C ) { i f ( ! N u m b e r [ C ] ) { A [ C ] = f u n c t i o n ( ) { r e t u r n   M a t h [ C ] . a p p l y ( n u l l , [ t h i s ] . c o n c a t ( $ A ( a r g u m e n t s ) ) ) ; } ; } } ) ; N u m b e r . i m p l e m e n t ( A ) ;  
 } ) ( [ " a b s " , " a c o s " , " a s i n " , " a t a n " , " a t a n 2 " , " c e i l " , " c o s " , " e x p " , " f l o o r " , " l o g " , " m a x " , " m i n " , " p o w " , " s i n " , " s q r t " , " t a n " ] ) ; S t r i n g . i m p l e m e n t ( { t e s t : f u n c t i o n ( A , B ) { r e t u r n ( ( t y p e o f   A = = " s t r i n g " ) ? n e w   R e g E x p ( A , B ) : A ) . t e s t ( t h i s ) ;  
 } , c o n t a i n s : f u n c t i o n ( A , B ) { r e t u r n ( B ) ? ( B + t h i s + B ) . i n d e x O f ( B + A + B ) > - 1 : t h i s . i n d e x O f ( A ) > - 1 ; } , t r i m : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / ^ \ s + | \ s + $ / g , " " ) ; } , c l e a n : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / \ s + / g , "   " ) . t r i m ( ) ;  
 } , c a m e l C a s e : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / - \ D / g , f u n c t i o n ( A ) { r e t u r n   A . c h a r A t ( 1 ) . t o U p p e r C a s e ( ) ; } ) ; } , h y p h e n a t e : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / [ A - Z ] / g , f u n c t i o n ( A ) { r e t u r n ( " - " + A . c h a r A t ( 0 ) . t o L o w e r C a s e ( ) ) ;  
 } ) ; } , c a p i t a l i z e : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / \ b [ a - z ] / g , f u n c t i o n ( A ) { r e t u r n   A . t o U p p e r C a s e ( ) ; } ) ; } , e s c a p e R e g E x p : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / ( [ - . * + ? ^ $ { } ( ) | [ \ ] \ / \ \ ] ) / g , " \ \ $ 1 " ) ;  
 } , t o I n t : f u n c t i o n ( A ) { r e t u r n   p a r s e I n t ( t h i s , A | | 1 0 ) ; } , t o F l o a t : f u n c t i o n ( ) { r e t u r n   p a r s e F l o a t ( t h i s ) ; } , h e x T o R g b : f u n c t i o n ( B ) { v a r   A = t h i s . m a t c h ( / ^ # ? ( \ w { 1 , 2 } ) ( \ w { 1 , 2 } ) ( \ w { 1 , 2 } ) $ / ) ;  
 r e t u r n ( A ) ? A . s l i c e ( 1 ) . h e x T o R g b ( B ) : n u l l ; } , r g b T o H e x : f u n c t i o n ( B ) { v a r   A = t h i s . m a t c h ( / \ d { 1 , 3 } / g ) ; r e t u r n ( A ) ? A . r g b T o H e x ( B ) : n u l l ; } , s t r i p S c r i p t s : f u n c t i o n ( B ) { v a r   A = " " ;  
 v a r   C = t h i s . r e p l a c e ( / < s c r i p t [ ^ > ] * > ( [ \ s \ S ] * ? ) < \ / s c r i p t > / g i , f u n c t i o n ( ) { A + = a r g u m e n t s [ 1 ] + " \ n " ; r e t u r n " " ; } ) ; i f ( B = = = t r u e ) { $ e x e c ( A ) ; } e l s e { i f ( $ t y p e ( B ) = = " f u n c t i o n " ) { B ( A , C ) ;  
 } } r e t u r n   C ; } , s u b s t i t u t e : f u n c t i o n ( A , B ) { r e t u r n   t h i s . r e p l a c e ( B | | ( / \ \ ? \ { ( [ ^ { } ] + ) \ } / g ) , f u n c t i o n ( D , C ) { i f ( D . c h a r A t ( 0 ) = = " \ \ " ) { r e t u r n   D . s l i c e ( 1 ) ; } r e t u r n ( A [ C ] ! = u n d e f i n e d ) ? A [ C ] : " " ;  
 } ) ; } } ) ; H a s h . i m p l e m e n t ( { h a s : O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y , k e y O f : f u n c t i o n ( B ) { f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) & & t h i s [ A ] = = = B ) { r e t u r n   A ; } } r e t u r n   n u l l ;  
 } , h a s V a l u e : f u n c t i o n ( A ) { r e t u r n ( H a s h . k e y O f ( t h i s , A ) ! = = n u l l ) ; } , e x t e n d : f u n c t i o n ( A ) { H a s h . e a c h ( A , f u n c t i o n ( C , B ) { H a s h . s e t ( t h i s , B , C ) ; } , t h i s ) ; r e t u r n   t h i s ; } , c o m b i n e : f u n c t i o n ( A ) { H a s h . e a c h ( A , f u n c t i o n ( C , B ) { H a s h . i n c l u d e ( t h i s , B , C ) ;  
 } , t h i s ) ; r e t u r n   t h i s ; } , e r a s e : f u n c t i o n ( A ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) ) { d e l e t e   t h i s [ A ] ; } r e t u r n   t h i s ; } , g e t : f u n c t i o n ( A ) { r e t u r n ( t h i s . h a s O w n P r o p e r t y ( A ) ) ? t h i s [ A ] : n u l l ;  
 } , s e t : f u n c t i o n ( A , B ) { i f ( ! t h i s [ A ] | | t h i s . h a s O w n P r o p e r t y ( A ) ) { t h i s [ A ] = B ; } r e t u r n   t h i s ; } , e m p t y : f u n c t i o n ( ) { H a s h . e a c h ( t h i s , f u n c t i o n ( B , A ) { d e l e t e   t h i s [ A ] ; } , t h i s ) ;  
 r e t u r n   t h i s ; } , i n c l u d e : f u n c t i o n ( B , C ) { v a r   A = t h i s [ B ] ; i f ( A = = u n d e f i n e d ) { t h i s [ B ] = C ; } r e t u r n   t h i s ; } , m a p : f u n c t i o n ( B , C ) { v a r   A = n e w   H a s h ; H a s h . e a c h ( t h i s , f u n c t i o n ( E , D ) { A . s e t ( D , B . c a l l ( C , E , D , t h i s ) ) ;  
 } , t h i s ) ; r e t u r n   A ; } , f i l t e r : f u n c t i o n ( B , C ) { v a r   A = n e w   H a s h ; H a s h . e a c h ( t h i s , f u n c t i o n ( E , D ) { i f ( B . c a l l ( C , E , D , t h i s ) ) { A . s e t ( D , E ) ; } } , t h i s ) ; r e t u r n   A ; } , e v e r y : f u n c t i o n ( B , C ) { f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) & & ! B . c a l l ( C , t h i s [ A ] , A ) ) { r e t u r n   f a l s e ;  
 } } r e t u r n   t r u e ; } , s o m e : f u n c t i o n ( B , C ) { f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) & & B . c a l l ( C , t h i s [ A ] , A ) ) { r e t u r n   t r u e ; } } r e t u r n   f a l s e ; } , g e t K e y s : f u n c t i o n ( ) { v a r   A = [ ] ;  
 H a s h . e a c h ( t h i s , f u n c t i o n ( C , B ) { A . p u s h ( B ) ; } ) ; r e t u r n   A ; } , g e t V a l u e s : f u n c t i o n ( ) { v a r   A = [ ] ; H a s h . e a c h ( t h i s , f u n c t i o n ( B ) { A . p u s h ( B ) ; } ) ; r e t u r n   A ; } , t o Q u e r y S t r i n g : f u n c t i o n ( A ) { v a r   B = [ ] ;  
 H a s h . e a c h ( t h i s , f u n c t i o n ( F , E ) { i f ( A ) { E = A + " [ " + E + " ] " ; } v a r   D ; s w i t c h ( $ t y p e ( F ) ) { c a s e " o b j e c t " : D = H a s h . t o Q u e r y S t r i n g ( F , E ) ; b r e a k ; c a s e " a r r a y " : v a r   C = { } ; F . e a c h ( f u n c t i o n ( H , G ) { C [ G ] = H ;  
 } ) ; D = H a s h . t o Q u e r y S t r i n g ( C , E ) ; b r e a k ; d e f a u l t : D = E + " = " + e n c o d e U R I C o m p o n e n t ( F ) ; } i f ( F ! = u n d e f i n e d ) { B . p u s h ( D ) ; } } ) ; r e t u r n   B . j o i n ( " & " ) ; } } ) ; H a s h . a l i a s ( { k e y O f : " i n d e x O f " , h a s V a l u e : " c o n t a i n s " } ) ;  
 v a r   E v e n t = n e w   N a t i v e ( { n a m e : " E v e n t " , i n i t i a l i z e : f u n c t i o n ( A , F ) { F = F | | w i n d o w ; v a r   K = F . d o c u m e n t ; A = A | | F . e v e n t ; i f ( A . $ e x t e n d e d ) { r e t u r n   A ; } t h i s . $ e x t e n d e d = t r u e ; v a r   J = A . t y p e ;  
 v a r   G = A . t a r g e t | | A . s r c E l e m e n t ; w h i l e ( G & & G . n o d e T y p e = = 3 ) { G = G . p a r e n t N o d e ; } i f ( J . t e s t ( / k e y / ) ) { v a r   B = A . w h i c h | | A . k e y C o d e ; v a r   M = E v e n t . K e y s . k e y O f ( B ) ; i f ( J = = " k e y d o w n " ) { v a r   D = B - 1 1 1 ;  
 i f ( D > 0 & & D < 1 3 ) { M = " f " + D ; } } M = M | | S t r i n g . f r o m C h a r C o d e ( B ) . t o L o w e r C a s e ( ) ; } e l s e { i f ( J . m a t c h ( / ( c l i c k | m o u s e | m e n u ) / i ) ) { K = ( ! K . c o m p a t M o d e | | K . c o m p a t M o d e = = " C S S 1 C o m p a t " ) ? K . h t m l : K . b o d y ;  
 v a r   I = { x : A . p a g e X | | A . c l i e n t X + K . s c r o l l L e f t , y : A . p a g e Y | | A . c l i e n t Y + K . s c r o l l T o p } ; v a r   C = { x : ( A . p a g e X ) ? A . p a g e X - F . p a g e X O f f s e t : A . c l i e n t X , y : ( A . p a g e Y ) ? A . p a g e Y - F . p a g e Y O f f s e t : A . c l i e n t Y } ;  
 i f ( J . m a t c h ( / D O M M o u s e S c r o l l | m o u s e w h e e l / ) ) { v a r   H = ( A . w h e e l D e l t a ) ? A . w h e e l D e l t a / 1 2 0 : - ( A . d e t a i l | | 0 ) / 3 ; } v a r   E = ( A . w h i c h = = 3 ) | | ( A . b u t t o n = = 2 ) ; v a r   L = n u l l ; i f ( J . m a t c h ( / o v e r | o u t / ) ) { s w i t c h ( J ) { c a s e " m o u s e o v e r " : L = A . r e l a t e d T a r g e t | | A . f r o m E l e m e n t ;  
 b r e a k ; c a s e " m o u s e o u t " : L = A . r e l a t e d T a r g e t | | A . t o E l e m e n t ; } i f ( ! ( f u n c t i o n ( ) { w h i l e ( L & & L . n o d e T y p e = = 3 ) { L = L . p a r e n t N o d e ; } r e t u r n   t r u e ; } ) . c r e a t e ( { a t t e m p t : B r o w s e r . E n g i n e . g e c k o } ) ( ) ) { L = f a l s e ;  
 } } } } r e t u r n   $ e x t e n d ( t h i s , { e v e n t : A , t y p e : J , p a g e : I , c l i e n t : C , r i g h t C l i c k : E , w h e e l : H , r e l a t e d T a r g e t : L , t a r g e t : G , c o d e : B , k e y : M , s h i f t : A . s h i f t K e y , c o n t r o l : A . c t r l K e y , a l t : A . a l t K e y , m e t a : A . m e t a K e y } ) ;  
 } } ) ; E v e n t . K e y s = n e w   H a s h ( { e n t e r : 1 3 , u p : 3 8 , d o w n : 4 0 , l e f t : 3 7 , r i g h t : 3 9 , e s c : 2 7 , s p a c e : 3 2 , b a c k s p a c e : 8 , t a b : 9 , " d e l e t e " : 4 6 } ) ; E v e n t . i m p l e m e n t ( { s t o p : f u n c t i o n ( ) { r e t u r n   t h i s . s t o p P r o p a g a t i o n ( ) . p r e v e n t D e f a u l t ( ) ;  
 } , s t o p P r o p a g a t i o n : f u n c t i o n ( ) { i f ( t h i s . e v e n t . s t o p P r o p a g a t i o n ) { t h i s . e v e n t . s t o p P r o p a g a t i o n ( ) ; } e l s e { t h i s . e v e n t . c a n c e l B u b b l e = t r u e ; } r e t u r n   t h i s ; } , p r e v e n t D e f a u l t : f u n c t i o n ( ) { i f ( t h i s . e v e n t . p r e v e n t D e f a u l t ) { t h i s . e v e n t . p r e v e n t D e f a u l t ( ) ;  
 } e l s e { t h i s . e v e n t . r e t u r n V a l u e = f a l s e ; } r e t u r n   t h i s ; } } ) ; v a r   C l a s s = n e w   N a t i v e ( { n a m e : " C l a s s " , i n i t i a l i z e : f u n c t i o n ( B ) { B = B | | { } ; v a r   A = f u n c t i o n ( ) { f o r ( v a r   E   i n   t h i s ) { i f ( $ t y p e ( t h i s [ E ] ) ! = " f u n c t i o n " ) { t h i s [ E ] = $ u n l i n k ( t h i s [ E ] ) ;  
 } } t h i s . c o n s t r u c t o r = A ; i f ( C l a s s . p r o t o t y p i n g ) { r e t u r n   t h i s ; } v a r   D = ( t h i s . i n i t i a l i z e ) ? t h i s . i n i t i a l i z e . a p p l y ( t h i s , a r g u m e n t s ) : t h i s ; i f ( t h i s . o p t i o n s & & t h i s . o p t i o n s . i n i t i a l i z e ) { t h i s . o p t i o n s . i n i t i a l i z e . c a l l ( t h i s ) ;  
 } r e t u r n   D ; } ; f o r ( v a r   C   i n   C l a s s . M u t a t o r s ) { i f ( ! B [ C ] ) { c o n t i n u e ; } B = C l a s s . M u t a t o r s [ C ] ( B , B [ C ] ) ; d e l e t e   B [ C ] ; } $ e x t e n d ( A , t h i s ) ; A . c o n s t r u c t o r = C l a s s ; A . p r o t o t y p e = B ;  
 r e t u r n   A ; } } ) ; C l a s s . M u t a t o r s = { E x t e n d s : f u n c t i o n ( C , A ) { C l a s s . p r o t o t y p i n g = A . p r o t o t y p e ; v a r   B = n e w   A ; d e l e t e   B . p a r e n t ; B = C l a s s . i n h e r i t ( B , C ) ; d e l e t e   C l a s s . p r o t o t y p i n g ;  
 r e t u r n   B ; } , I m p l e m e n t s : f u n c t i o n ( A , B ) { $ s p l a t ( B ) . e a c h ( f u n c t i o n ( C ) { C l a s s . p r o t o t y i n g = C ; $ e x t e n d ( A , ( $ t y p e ( C ) = = " c l a s s " ) ? n e w   C : C ) ; d e l e t e   C l a s s . p r o t o t y p i n g ; } ) ; r e t u r n   A ;  
 } } ; C l a s s . e x t e n d ( { i n h e r i t : f u n c t i o n ( B , E ) { v a r   A = a r g u m e n t s . c a l l e e . c a l l e r ; f o r ( v a r   D   i n   E ) { v a r   C = E [ D ] ; v a r   G = B [ D ] ; v a r   F = $ t y p e ( C ) ; i f ( G & & F = = " f u n c t i o n " ) { i f ( C ! = G ) { i f ( A ) { C . _ _ p a r e n t = G ;  
 B [ D ] = C ; } e l s e { C l a s s . o v e r r i d e ( B , D , C ) ; } } } e l s e { i f ( F = = " o b j e c t " ) { B [ D ] = $ m e r g e ( G , C ) ; } e l s e { B [ D ] = C ; } } } i f ( A ) { B . p a r e n t = f u n c t i o n ( ) { r e t u r n   a r g u m e n t s . c a l l e e . c a l l e r . _ _ p a r e n t . a p p l y ( t h i s , a r g u m e n t s ) ;  
 } ; } r e t u r n   B ; } , o v e r r i d e : f u n c t i o n ( B , A , E ) { v a r   D = C l a s s . p r o t o t y p i n g ; i f ( D & & B [ A ] ! = D [ A ] ) { D = n u l l ; } v a r   C = f u n c t i o n ( ) { v a r   F = t h i s . p a r e n t ; t h i s . p a r e n t = D ? D [ A ] : B [ A ] ; v a r   G = E . a p p l y ( t h i s , a r g u m e n t s ) ;  
 t h i s . p a r e n t = F ; r e t u r n   G ; } ; B [ A ] = C ; } } ) ; C l a s s . i m p l e m e n t ( { i m p l e m e n t : f u n c t i o n ( ) { v a r   A = t h i s . p r o t o t y p e ; $ e a c h ( a r g u m e n t s , f u n c t i o n ( B ) { C l a s s . i n h e r i t ( A , B ) ; } ) ; r e t u r n   t h i s ;  
 } } ) ; v a r   C h a i n = n e w   C l a s s ( { $ c h a i n : [ ] , c h a i n : f u n c t i o n ( ) { t h i s . $ c h a i n . e x t e n d ( A r r a y . f l a t t e n ( a r g u m e n t s ) ) ; r e t u r n   t h i s ; } , c a l l C h a i n : f u n c t i o n ( ) { r e t u r n ( t h i s . $ c h a i n . l e n g t h ) ? t h i s . $ c h a i n . s h i f t ( ) . a p p l y ( t h i s , a r g u m e n t s ) : f a l s e ;  
 } , c l e a r C h a i n : f u n c t i o n ( ) { t h i s . $ c h a i n . e m p t y ( ) ; r e t u r n   t h i s ; } } ) ; v a r   E v e n t s = n e w   C l a s s ( { $ e v e n t s : { } , a d d E v e n t : f u n c t i o n ( C , B , A ) { C = E v e n t s . r e m o v e O n ( C ) ; i f ( B ! = $ e m p t y ) { t h i s . $ e v e n t s [ C ] = t h i s . $ e v e n t s [ C ] | | [ ] ;  
 t h i s . $ e v e n t s [ C ] . i n c l u d e ( B ) ; i f ( A ) { B . i n t e r n a l = t r u e ; } } r e t u r n   t h i s ; } , a d d E v e n t s : f u n c t i o n ( A ) { f o r ( v a r   B   i n   A ) { t h i s . a d d E v e n t ( B , A [ B ] ) ; } r e t u r n   t h i s ; } , f i r e E v e n t : f u n c t i o n ( C , B , A ) { C = E v e n t s . r e m o v e O n ( C ) ;  
 i f ( ! t h i s . $ e v e n t s | | ! t h i s . $ e v e n t s [ C ] ) { r e t u r n   t h i s ; } t h i s . $ e v e n t s [ C ] . e a c h ( f u n c t i o n ( D ) { D . c r e a t e ( { b i n d : t h i s , d e l a y : A , " a r g u m e n t s " : B } ) ( ) ; } , t h i s ) ; r e t u r n   t h i s ; } , r e m o v e E v e n t : f u n c t i o n ( B , A ) { B = E v e n t s . r e m o v e O n ( B ) ;  
 i f ( ! t h i s . $ e v e n t s [ B ] ) { r e t u r n   t h i s ; } i f ( ! A . i n t e r n a l ) { t h i s . $ e v e n t s [ B ] . e r a s e ( A ) ; } r e t u r n   t h i s ; } , r e m o v e E v e n t s : f u n c t i o n ( C ) { i f ( $ t y p e ( C ) = = " o b j e c t " ) { f o r ( v a r   D   i n   C ) { t h i s . r e m o v e E v e n t ( D , C [ D ] ) ;  
 } r e t u r n   t h i s ; } i f ( C ) { C = E v e n t s . r e m o v e O n ( C ) ; } f o r ( v a r   D   i n   t h i s . $ e v e n t s ) { i f ( C & & C ! = D ) { c o n t i n u e ; } v a r   B = t h i s . $ e v e n t s [ D ] ; f o r ( v a r   A = B . l e n g t h ; A - - ; A ) { t h i s . r e m o v e E v e n t ( D , B [ A ] ) ;  
 } } r e t u r n   t h i s ; } } ) ; E v e n t s . r e m o v e O n = f u n c t i o n ( A ) { r e t u r n   A . r e p l a c e ( / ^ o n ( [ A - Z ] ) / , f u n c t i o n ( B , C ) { r e t u r n   C . t o L o w e r C a s e ( ) ; } ) ; } ; v a r   O p t i o n s = n e w   C l a s s ( { s e t O p t i o n s : f u n c t i o n ( ) { t h i s . o p t i o n s = $ m e r g e . r u n ( [ t h i s . o p t i o n s ] . e x t e n d ( a r g u m e n t s ) ) ;  
 i f ( ! t h i s . a d d E v e n t ) { r e t u r n   t h i s ; } f o r ( v a r   A   i n   t h i s . o p t i o n s ) { i f ( $ t y p e ( t h i s . o p t i o n s [ A ] ) ! = " f u n c t i o n " | | ! ( / ^ o n [ A - Z ] / ) . t e s t ( A ) ) { c o n t i n u e ; } t h i s . a d d E v e n t ( A , t h i s . o p t i o n s [ A ] ) ;  
 d e l e t e   t h i s . o p t i o n s [ A ] ; } r e t u r n   t h i s ; } } ) ; v a r   E l e m e n t = n e w   N a t i v e ( { n a m e : " E l e m e n t " , l e g a c y : w i n d o w . E l e m e n t , i n i t i a l i z e : f u n c t i o n ( A , B ) { v a r   C = E l e m e n t . C o n s t r u c t o r s . g e t ( A ) ;  
 i f ( C ) { r e t u r n   C ( B ) ; } i f ( t y p e o f   A = = " s t r i n g " ) { r e t u r n   d o c u m e n t . n e w E l e m e n t ( A , B ) ; } r e t u r n   $ ( A ) . s e t ( B ) ; } , a f t e r I m p l e m e n t : f u n c t i o n ( A , B ) { E l e m e n t . P r o t o t y p e [ A ] = B ; i f ( A r r a y [ A ] ) { r e t u r n   ;  
 } E l e m e n t s . i m p l e m e n t ( A , f u n c t i o n ( ) { v a r   C = [ ] , G = t r u e ; f o r ( v a r   E = 0 , D = t h i s . l e n g t h ; E < D ; E + + ) { v a r   F = t h i s [ E ] [ A ] . a p p l y ( t h i s [ E ] , a r g u m e n t s ) ; C . p u s h ( F ) ; i f ( G ) { G = ( $ t y p e ( F ) = = " e l e m e n t " ) ;  
 } } r e t u r n ( G ) ? n e w   E l e m e n t s ( C ) : C ; } ) ; } } ) ; E l e m e n t . P r o t o t y p e = { $ f a m i l y : { n a m e : " e l e m e n t " } } ; E l e m e n t . C o n s t r u c t o r s = n e w   H a s h ; v a r   I F r a m e = n e w   N a t i v e ( { n a m e : " I F r a m e " , g e n e r i c s : f a l s e , i n i t i a l i z e : f u n c t i o n ( ) { v a r   E = A r r a y . l i n k ( a r g u m e n t s , { p r o p e r t i e s : O b j e c t . t y p e , i f r a m e : $ d e f i n e d } ) ;  
 v a r   C = E . p r o p e r t i e s | | { } ; v a r   B = $ ( E . i f r a m e ) | | f a l s e ; v a r   D = C . o n l o a d | | $ e m p t y ; d e l e t e   C . o n l o a d ; C . i d = C . n a m e = $ p i c k ( C . i d , C . n a m e , B . i d , B . n a m e , " I F r a m e _ " + $ t i m e ( ) ) ; B = n e w   E l e m e n t ( B | | " i f r a m e " , C ) ;  
 v a r   A = f u n c t i o n ( ) { v a r   F = $ t r y ( f u n c t i o n ( ) { r e t u r n   B . c o n t e n t W i n d o w . l o c a t i o n . h o s t ; } ) ; i f ( F & & F = = w i n d o w . l o c a t i o n . h o s t ) { v a r   G = n e w   W i n d o w ( B . c o n t e n t W i n d o w ) ; n e w   D o c u m e n t ( B . c o n t e n t W i n d o w . d o c u m e n t ) ;  
 $ e x t e n d ( G . E l e m e n t . p r o t o t y p e , E l e m e n t . P r o t o t y p e ) ; } D . c a l l ( B . c o n t e n t W i n d o w , B . c o n t e n t W i n d o w . d o c u m e n t ) ; } ; ( w i n d o w . f r a m e s [ C . i d ] ) ? A ( ) : B . a d d L i s t e n e r ( " l o a d " , A ) ; r e t u r n   B ;  
 } } ) ; v a r   E l e m e n t s = n e w   N a t i v e ( { i n i t i a l i z e : f u n c t i o n ( F , B ) { B = $ e x t e n d ( { d d u p : t r u e , c a s h : t r u e } , B ) ; F = F | | [ ] ; i f ( B . d d u p | | B . c a s h ) { v a r   G = { } , E = [ ] ; f o r ( v a r   C = 0 , A = F . l e n g t h ;  
 C < A ; C + + ) { v a r   D = $ . e l e m e n t ( F [ C ] , ! B . c a s h ) ; i f ( B . d d u p ) { i f ( G [ D . u i d ] ) { c o n t i n u e ; } G [ D . u i d ] = t r u e ; } E . p u s h ( D ) ; } F = E ; } r e t u r n ( B . c a s h ) ? $ e x t e n d ( F , t h i s ) : F ; } } ) ; E l e m e n t s . i m p l e m e n t ( { f i l t e r : f u n c t i o n ( A , B ) { i f ( ! A ) { r e t u r n   t h i s ;  
 } r e t u r n   n e w   E l e m e n t s ( A r r a y . f i l t e r ( t h i s , ( t y p e o f   A = = " s t r i n g " ) ? f u n c t i o n ( C ) { r e t u r n   C . m a t c h ( A ) ; } : A , B ) ) ; } } ) ; D o c u m e n t . i m p l e m e n t ( { n e w E l e m e n t : f u n c t i o n ( A , B ) { i f ( B r o w s e r . E n g i n e . t r i d e n t & & B ) { [ " n a m e " , " t y p e " , " c h e c k e d " ] . e a c h ( f u n c t i o n ( C ) { i f ( ! B [ C ] ) { r e t u r n   ;  
 } A + = "   " + C + ' = " ' + B [ C ] + ' " ' ; i f ( C ! = " c h e c k e d " ) { d e l e t e   B [ C ] ; } } ) ; A = " < " + A + " > " ; } r e t u r n   $ . e l e m e n t ( t h i s . c r e a t e E l e m e n t ( A ) ) . s e t ( B ) ; } , n e w T e x t N o d e : f u n c t i o n ( A ) { r e t u r n   t h i s . c r e a t e T e x t N o d e ( A ) ;  
 } , g e t D o c u m e n t : f u n c t i o n ( ) { r e t u r n   t h i s ; } , g e t W i n d o w : f u n c t i o n ( ) { r e t u r n   t h i s . w i n d o w ; } } ) ; W i n d o w . i m p l e m e n t ( { $ : f u n c t i o n ( B , C ) { i f ( B & & B . $ f a m i l y & & B . u i d ) { r e t u r n   B ; } v a r   A = $ t y p e ( B ) ;  
 r e t u r n ( $ [ A ] ) ? $ [ A ] ( B , C , t h i s . d o c u m e n t ) : n u l l ; } , $ $ : f u n c t i o n ( A ) { i f ( a r g u m e n t s . l e n g t h = = 1 & & t y p e o f   A = = " s t r i n g " ) { r e t u r n   t h i s . d o c u m e n t . g e t E l e m e n t s ( A ) ; } v a r   F = [ ] ; v a r   C = A r r a y . f l a t t e n ( a r g u m e n t s ) ;  
 f o r ( v a r   D = 0 , B = C . l e n g t h ; D < B ; D + + ) { v a r   E = C [ D ] ; s w i t c h ( $ t y p e ( E ) ) { c a s e " e l e m e n t " : F . p u s h ( E ) ; b r e a k ; c a s e " s t r i n g " : F . e x t e n d ( t h i s . d o c u m e n t . g e t E l e m e n t s ( E , t r u e ) ) ; } } r e t u r n   n e w   E l e m e n t s ( F ) ;  
 } , g e t D o c u m e n t : f u n c t i o n ( ) { r e t u r n   t h i s . d o c u m e n t ; } , g e t W i n d o w : f u n c t i o n ( ) { r e t u r n   t h i s ; } } ) ; $ . s t r i n g = f u n c t i o n ( C , B , A ) { C = A . g e t E l e m e n t B y I d ( C ) ; r e t u r n ( C ) ? $ . e l e m e n t ( C , B ) : n u l l ;  
 } ; $ . e l e m e n t = f u n c t i o n ( A , D ) { $ u i d ( A ) ; i f ( ! D & & ! A . $ f a m i l y & & ! ( / ^ o b j e c t | e m b e d $ / i ) . t e s t ( A . t a g N a m e ) ) { v a r   B = E l e m e n t . P r o t o t y p e ; f o r ( v a r   C   i n   B ) { A [ C ] = B [ C ] ; } } r e t u r n   A ;  
 } ; $ . o b j e c t = f u n c t i o n ( B , C , A ) { i f ( B . t o E l e m e n t ) { r e t u r n   $ . e l e m e n t ( B . t o E l e m e n t ( A ) , C ) ; } r e t u r n   n u l l ; } ; $ . t e x t n o d e = $ . w h i t e s p a c e = $ . w i n d o w = $ . d o c u m e n t = $ a r g u m e n t s ( 0 ) ;  
 N a t i v e . i m p l e m e n t ( [ E l e m e n t , D o c u m e n t ] , { g e t E l e m e n t : f u n c t i o n ( A , B ) { r e t u r n   $ ( t h i s . g e t E l e m e n t s ( A , t r u e ) [ 0 ] | | n u l l , B ) ; } , g e t E l e m e n t s : f u n c t i o n ( A , D ) { A = A . s p l i t ( " , " ) ;  
 v a r   C = [ ] ; v a r   B = ( A . l e n g t h > 1 ) ; A . e a c h ( f u n c t i o n ( E ) { v a r   F = t h i s . g e t E l e m e n t s B y T a g N a m e ( E . t r i m ( ) ) ; ( B ) ? C . e x t e n d ( F ) : C = F ; } , t h i s ) ; r e t u r n   n e w   E l e m e n t s ( C , { d d u p : B , c a s h : ! D } ) ;  
 } } ) ; ( f u n c t i o n ( ) { v a r   H = { } , F = { } ; v a r   I = { i n p u t : " c h e c k e d " , o p t i o n : " s e l e c t e d " , t e x t a r e a : ( B r o w s e r . E n g i n e . w e b k i t & & B r o w s e r . E n g i n e . v e r s i o n < 4 2 0 ) ? " i n n e r H T M L " : " v a l u e " } ;  
 v a r   C = f u n c t i o n ( L ) { r e t u r n ( F [ L ] | | ( F [ L ] = { } ) ) ; } ; v a r   G = f u n c t i o n ( N , L ) { i f ( ! N ) { r e t u r n   ; } v a r   M = N . u i d ; i f ( B r o w s e r . E n g i n e . t r i d e n t ) { i f ( N . c l e a r A t t r i b u t e s ) { v a r   P = L & & N . c l o n e N o d e ( f a l s e ) ;  
 N . c l e a r A t t r i b u t e s ( ) ; i f ( P ) { N . m e r g e A t t r i b u t e s ( P ) ; } } e l s e { i f ( N . r e m o v e E v e n t s ) { N . r e m o v e E v e n t s ( ) ; } } i f ( ( / o b j e c t / i ) . t e s t ( N . t a g N a m e ) ) { f o r ( v a r   O   i n   N ) { i f ( t y p e o f   N [ O ] = = " f u n c t i o n " ) { N [ O ] = $ e m p t y ;  
 } } E l e m e n t . d i s p o s e ( N ) ; } } i f ( ! M ) { r e t u r n   ; } H [ M ] = F [ M ] = n u l l ; } ; v a r   D = f u n c t i o n ( ) { H a s h . e a c h ( H , G ) ; i f ( B r o w s e r . E n g i n e . t r i d e n t ) { $ A ( d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " o b j e c t " ) ) . e a c h ( G ) ;  
 } i f ( w i n d o w . C o l l e c t G a r b a g e ) { C o l l e c t G a r b a g e ( ) ; } H = F = n u l l ; } ; v a r   J = f u n c t i o n ( N , L , S , M , P , R ) { v a r   O = N [ S | | L ] ; v a r   Q = [ ] ; w h i l e ( O ) { i f ( O . n o d e T y p e = = 1 & & ( ! M | | E l e m e n t . m a t c h ( O , M ) ) ) { i f ( ! P ) { r e t u r n   $ ( O , R ) ;  
 } Q . p u s h ( O ) ; } O = O [ L ] ; } r e t u r n ( P ) ? n e w   E l e m e n t s ( Q , { d d u p : f a l s e , c a s h : ! R } ) : n u l l ; } ; v a r   E = { h t m l : " i n n e r H T M L " , " c l a s s " : " c l a s s N a m e " , " f o r " : " h t m l F o r " , t e x t : ( B r o w s e r . E n g i n e . t r i d e n t | | ( B r o w s e r . E n g i n e . w e b k i t & & B r o w s e r . E n g i n e . v e r s i o n < 4 2 0 ) ) ? " i n n e r T e x t " : " t e x t C o n t e n t " } ;  
 v a r   B = [ " c o m p a c t " , " n o w r a p " , " i s m a p " , " d e c l a r e " , " n o s h a d e " , " c h e c k e d " , " d i s a b l e d " , " r e a d o n l y " , " m u l t i p l e " , " s e l e c t e d " , " n o r e s i z e " , " d e f e r " ] ; v a r   K = [ " v a l u e " , " a c c e s s K e y " , " c e l l P a d d i n g " , " c e l l S p a c i n g " , " c o l S p a n " , " f r a m e B o r d e r " , " m a x L e n g t h " , " r e a d O n l y " , " r o w S p a n " , " t a b I n d e x " , " u s e M a p " ] ;  
 H a s h . e x t e n d ( E , B . a s s o c i a t e ( B ) ) ; H a s h . e x t e n d ( E , K . a s s o c i a t e ( K . m a p ( S t r i n g . t o L o w e r C a s e ) ) ) ; v a r   A = { b e f o r e : f u n c t i o n ( M , L ) { i f ( L . p a r e n t N o d e ) { L . p a r e n t N o d e . i n s e r t B e f o r e ( M , L ) ;  
 } } , a f t e r : f u n c t i o n ( M , L ) { i f ( ! L . p a r e n t N o d e ) { r e t u r n   ; } v a r   N = L . n e x t S i b l i n g ; ( N ) ? L . p a r e n t N o d e . i n s e r t B e f o r e ( M , N ) : L . p a r e n t N o d e . a p p e n d C h i l d ( M ) ; } , b o t t o m : f u n c t i o n ( M , L ) { L . a p p e n d C h i l d ( M ) ;  
 } , t o p : f u n c t i o n ( M , L ) { v a r   N = L . f i r s t C h i l d ; ( N ) ? L . i n s e r t B e f o r e ( M , N ) : L . a p p e n d C h i l d ( M ) ; } } ; A . i n s i d e = A . b o t t o m ; H a s h . e a c h ( A , f u n c t i o n ( L , M ) { M = M . c a p i t a l i z e ( ) ; E l e m e n t . i m p l e m e n t ( " i n j e c t " + M , f u n c t i o n ( N ) { L ( t h i s , $ ( N , t r u e ) ) ;  
 r e t u r n   t h i s ; } ) ; E l e m e n t . i m p l e m e n t ( " g r a b " + M , f u n c t i o n ( N ) { L ( $ ( N , t r u e ) , t h i s ) ; r e t u r n   t h i s ; } ) ; } ) ; E l e m e n t . i m p l e m e n t ( { s e t : f u n c t i o n ( O , M ) { s w i t c h ( $ t y p e ( O ) ) { c a s e " o b j e c t " : f o r ( v a r   N   i n   O ) { t h i s . s e t ( N , O [ N ] ) ;  
 } b r e a k ; c a s e " s t r i n g " : v a r   L = E l e m e n t . P r o p e r t i e s . g e t ( O ) ; ( L & & L . s e t ) ? L . s e t . a p p l y ( t h i s , A r r a y . s l i c e ( a r g u m e n t s , 1 ) ) : t h i s . s e t P r o p e r t y ( O , M ) ; } r e t u r n   t h i s ; } , g e t : f u n c t i o n ( M ) { v a r   L = E l e m e n t . P r o p e r t i e s . g e t ( M ) ;  
 r e t u r n ( L & & L . g e t ) ? L . g e t . a p p l y ( t h i s , A r r a y . s l i c e ( a r g u m e n t s , 1 ) ) : t h i s . g e t P r o p e r t y ( M ) ; } , e r a s e : f u n c t i o n ( M ) { v a r   L = E l e m e n t . P r o p e r t i e s . g e t ( M ) ; ( L & & L . e r a s e ) ? L . e r a s e . a p p l y ( t h i s ) : t h i s . r e m o v e P r o p e r t y ( M ) ;  
 r e t u r n   t h i s ; } , s e t P r o p e r t y : f u n c t i o n ( M , N ) { v a r   L = E [ M ] ; i f ( N = = u n d e f i n e d ) { r e t u r n   t h i s . r e m o v e P r o p e r t y ( M ) ; } i f ( L & & B [ M ] ) { N = ! ! N ; } ( L ) ? t h i s [ L ] = N : t h i s . s e t A t t r i b u t e ( M , " " + N ) ;  
 r e t u r n   t h i s ; } , s e t P r o p e r t i e s : f u n c t i o n ( L ) { f o r ( v a r   M   i n   L ) { t h i s . s e t P r o p e r t y ( M , L [ M ] ) ; } r e t u r n   t h i s ; } , g e t P r o p e r t y : f u n c t i o n ( M ) { v a r   L = E [ M ] ; v a r   N = ( L ) ? t h i s [ L ] : t h i s . g e t A t t r i b u t e ( M , 2 ) ;  
 r e t u r n ( B [ M ] ) ? ! ! N : ( L ) ? N : N | | n u l l ; } , g e t P r o p e r t i e s : f u n c t i o n ( ) { v a r   L = $ A ( a r g u m e n t s ) ; r e t u r n   L . m a p ( t h i s . g e t P r o p e r t y , t h i s ) . a s s o c i a t e ( L ) ; } , r e m o v e P r o p e r t y : f u n c t i o n ( M ) { v a r   L = E [ M ] ;  
 ( L ) ? t h i s [ L ] = ( L & & B [ M ] ) ? f a l s e : " " : t h i s . r e m o v e A t t r i b u t e ( M ) ; r e t u r n   t h i s ; } , r e m o v e P r o p e r t i e s : f u n c t i o n ( ) { A r r a y . e a c h ( a r g u m e n t s , t h i s . r e m o v e P r o p e r t y , t h i s ) ; r e t u r n   t h i s ;  
 } , h a s C l a s s : f u n c t i o n ( L ) { r e t u r n   t h i s . c l a s s N a m e . c o n t a i n s ( L , "   " ) ; } , a d d C l a s s : f u n c t i o n ( L ) { i f ( ! t h i s . h a s C l a s s ( L ) ) { t h i s . c l a s s N a m e = ( t h i s . c l a s s N a m e + "   " + L ) . c l e a n ( ) ;  
 } r e t u r n   t h i s ; } , r e m o v e C l a s s : f u n c t i o n ( L ) { t h i s . c l a s s N a m e = t h i s . c l a s s N a m e . r e p l a c e ( n e w   R e g E x p ( " ( ^ | \ \ s ) " + L + " ( ? : \ \ s | $ ) " ) , " $ 1 " ) ; r e t u r n   t h i s ; } , t o g g l e C l a s s : f u n c t i o n ( L ) { r e t u r n   t h i s . h a s C l a s s ( L ) ? t h i s . r e m o v e C l a s s ( L ) : t h i s . a d d C l a s s ( L ) ;  
 } , a d o p t : f u n c t i o n ( ) { A r r a y . f l a t t e n ( a r g u m e n t s ) . e a c h ( f u n c t i o n ( L ) { L = $ ( L , t r u e ) ; i f ( L ) { t h i s . a p p e n d C h i l d ( L ) ; } } , t h i s ) ; r e t u r n   t h i s ; } , a p p e n d T e x t : f u n c t i o n ( M , L ) { r e t u r n   t h i s . g r a b ( t h i s . g e t D o c u m e n t ( ) . n e w T e x t N o d e ( M ) , L ) ;  
 } , g r a b : f u n c t i o n ( M , L ) { A [ L | | " b o t t o m " ] ( $ ( M , t r u e ) , t h i s ) ; r e t u r n   t h i s ; } , i n j e c t : f u n c t i o n ( M , L ) { A [ L | | " b o t t o m " ] ( t h i s , $ ( M , t r u e ) ) ; r e t u r n   t h i s ; } , r e p l a c e s : f u n c t i o n ( L ) { L = $ ( L , t r u e ) ;  
 L . p a r e n t N o d e . r e p l a c e C h i l d ( t h i s , L ) ; r e t u r n   t h i s ; } , w r a p s : f u n c t i o n ( M , L ) { M = $ ( M , t r u e ) ; r e t u r n   t h i s . r e p l a c e s ( M ) . g r a b ( M , L ) ; } , g e t P r e v i o u s : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " p r e v i o u s S i b l i n g " , n u l l , L , f a l s e , M ) ;  
 } , g e t A l l P r e v i o u s : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " p r e v i o u s S i b l i n g " , n u l l , L , t r u e , M ) ; } , g e t N e x t : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " n e x t S i b l i n g " , n u l l , L , f a l s e , M ) ; } , g e t A l l N e x t : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " n e x t S i b l i n g " , n u l l , L , t r u e , M ) ;  
 } , g e t F i r s t : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " n e x t S i b l i n g " , " f i r s t C h i l d " , L , f a l s e , M ) ; } , g e t L a s t : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " p r e v i o u s S i b l i n g " , " l a s t C h i l d " , L , f a l s e , M ) ;  
 } , g e t P a r e n t : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " p a r e n t N o d e " , n u l l , L , f a l s e , M ) ; } , g e t P a r e n t s : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " p a r e n t N o d e " , n u l l , L , t r u e , M ) ; } , g e t C h i l d r e n : f u n c t i o n ( L , M ) { r e t u r n   J ( t h i s , " n e x t S i b l i n g " , " f i r s t C h i l d " , L , t r u e , M ) ;  
 } , g e t W i n d o w : f u n c t i o n ( ) { r e t u r n   t h i s . o w n e r D o c u m e n t . w i n d o w ; } , g e t D o c u m e n t : f u n c t i o n ( ) { r e t u r n   t h i s . o w n e r D o c u m e n t ; } , g e t E l e m e n t B y I d : f u n c t i o n ( O , N ) { v a r   M = t h i s . o w n e r D o c u m e n t . g e t E l e m e n t B y I d ( O ) ;  
 i f ( ! M ) { r e t u r n   n u l l ; } f o r ( v a r   L = M . p a r e n t N o d e ; L ! = t h i s ; L = L . p a r e n t N o d e ) { i f ( ! L ) { r e t u r n   n u l l ; } } r e t u r n   $ . e l e m e n t ( M , N ) ; } , g e t S e l e c t e d : f u n c t i o n ( ) { r e t u r n   n e w   E l e m e n t s ( $ A ( t h i s . o p t i o n s ) . f i l t e r ( f u n c t i o n ( L ) { r e t u r n   L . s e l e c t e d ;  
 } ) ) ; } , g e t C o m p u t e d S t y l e : f u n c t i o n ( M ) { i f ( t h i s . c u r r e n t S t y l e ) { r e t u r n   t h i s . c u r r e n t S t y l e [ M . c a m e l C a s e ( ) ] ; } v a r   L = t h i s . g e t D o c u m e n t ( ) . d e f a u l t V i e w . g e t C o m p u t e d S t y l e ( t h i s , n u l l ) ;  
 r e t u r n ( L ) ? L . g e t P r o p e r t y V a l u e ( [ M . h y p h e n a t e ( ) ] ) : n u l l ; } , t o Q u e r y S t r i n g : f u n c t i o n ( ) { v a r   L = [ ] ; t h i s . g e t E l e m e n t s ( " i n p u t ,   s e l e c t ,   t e x t a r e a " , t r u e ) . e a c h ( f u n c t i o n ( M ) { i f ( ! M . n a m e | | M . d i s a b l e d ) { r e t u r n   ;  
 } v a r   N = ( M . t a g N a m e . t o L o w e r C a s e ( ) = = " s e l e c t " ) ? E l e m e n t . g e t S e l e c t e d ( M ) . m a p ( f u n c t i o n ( O ) { r e t u r n   O . v a l u e ; } ) : ( ( M . t y p e = = " r a d i o " | | M . t y p e = = " c h e c k b o x " ) & & ! M . c h e c k e d ) ? n u l l : M . v a l u e ;  
 $ s p l a t ( N ) . e a c h ( f u n c t i o n ( O ) { i f ( t y p e o f   O ! = " u n d e f i n e d " ) { L . p u s h ( M . n a m e + " = " + e n c o d e U R I C o m p o n e n t ( O ) ) ; } } ) ; } ) ; r e t u r n   L . j o i n ( " & " ) ; } , c l o n e : f u n c t i o n ( O , L ) { O = O ! = = f a l s e ;  
 v a r   R = t h i s . c l o n e N o d e ( O ) ; v a r   N = f u n c t i o n ( V , U ) { i f ( ! L ) { V . r e m o v e A t t r i b u t e ( " i d " ) ; } i f ( B r o w s e r . E n g i n e . t r i d e n t ) { V . c l e a r A t t r i b u t e s ( ) ; V . m e r g e A t t r i b u t e s ( U ) ; V . r e m o v e A t t r i b u t e ( " u i d " ) ;  
 i f ( V . o p t i o n s ) { v a r   W = V . o p t i o n s , S = U . o p t i o n s ; f o r ( v a r   T = W . l e n g t h ; T - - ; ) { W [ T ] . s e l e c t e d = S [ T ] . s e l e c t e d ; } } } v a r   X = I [ U . t a g N a m e . t o L o w e r C a s e ( ) ] ; i f ( X & & U [ X ] ) { V [ X ] = U [ X ] ;  
 } } ; i f ( O ) { v a r   P = R . g e t E l e m e n t s B y T a g N a m e ( " * " ) , Q = t h i s . g e t E l e m e n t s B y T a g N a m e ( " * " ) ; f o r ( v a r   M = P . l e n g t h ; M - - ; ) { N ( P [ M ] , Q [ M ] ) ; } } N ( R , t h i s ) ; r e t u r n   $ ( R ) ; } , d e s t r o y : f u n c t i o n ( ) { E l e m e n t . e m p t y ( t h i s ) ;  
 E l e m e n t . d i s p o s e ( t h i s ) ; G ( t h i s , t r u e ) ; r e t u r n   n u l l ; } , e m p t y : f u n c t i o n ( ) { $ A ( t h i s . c h i l d N o d e s ) . e a c h ( f u n c t i o n ( L ) { E l e m e n t . d e s t r o y ( L ) ; } ) ; r e t u r n   t h i s ; } , d i s p o s e : f u n c t i o n ( ) { r e t u r n ( t h i s . p a r e n t N o d e ) ? t h i s . p a r e n t N o d e . r e m o v e C h i l d ( t h i s ) : t h i s ;  
 } , h a s C h i l d : f u n c t i o n ( L ) { L = $ ( L , t r u e ) ; i f ( ! L ) { r e t u r n   f a l s e ; } i f ( B r o w s e r . E n g i n e . w e b k i t & & B r o w s e r . E n g i n e . v e r s i o n < 4 2 0 ) { r e t u r n   $ A ( t h i s . g e t E l e m e n t s B y T a g N a m e ( L . t a g N a m e ) ) . c o n t a i n s ( L ) ;  
 } r e t u r n ( t h i s . c o n t a i n s ) ? ( t h i s ! = L & & t h i s . c o n t a i n s ( L ) ) : ! ! ( t h i s . c o m p a r e D o c u m e n t P o s i t i o n ( L ) & 1 6 ) ; } , m a t c h : f u n c t i o n ( L ) { r e t u r n ( ! L | | ( L = = t h i s ) | | ( E l e m e n t . g e t ( t h i s , " t a g " ) = = L ) ) ;  
 } } ) ; N a t i v e . i m p l e m e n t ( [ E l e m e n t , W i n d o w , D o c u m e n t ] , { a d d L i s t e n e r : f u n c t i o n ( O , N ) { i f ( O = = " u n l o a d " ) { v a r   L = N , M = t h i s ; N = f u n c t i o n ( ) { M . r e m o v e L i s t e n e r ( " u n l o a d " , N ) ; L ( ) ;  
 } ; } e l s e { H [ t h i s . u i d ] = t h i s ; } i f ( t h i s . a d d E v e n t L i s t e n e r ) { t h i s . a d d E v e n t L i s t e n e r ( O , N , f a l s e ) ; } e l s e { t h i s . a t t a c h E v e n t ( " o n " + O , N ) ; } r e t u r n   t h i s ; } , r e m o v e L i s t e n e r : f u n c t i o n ( M , L ) { i f ( t h i s . r e m o v e E v e n t L i s t e n e r ) { t h i s . r e m o v e E v e n t L i s t e n e r ( M , L , f a l s e ) ;  
 } e l s e { t h i s . d e t a c h E v e n t ( " o n " + M , L ) ; } r e t u r n   t h i s ; } , r e t r i e v e : f u n c t i o n ( M , L ) { v a r   O = C ( t h i s . u i d ) , N = O [ M ] ; i f ( L ! = u n d e f i n e d & & N = = u n d e f i n e d ) { N = O [ M ] = L ; } r e t u r n   $ p i c k ( N ) ;  
 } , s t o r e : f u n c t i o n ( M , L ) { v a r   N = C ( t h i s . u i d ) ; N [ M ] = L ; r e t u r n   t h i s ; } , e l i m i n a t e : f u n c t i o n ( L ) { v a r   M = C ( t h i s . u i d ) ; d e l e t e   M [ L ] ; r e t u r n   t h i s ; } } ) ; w i n d o w . a d d L i s t e n e r ( " u n l o a d " , D ) ;  
 } ) ( ) ; E l e m e n t . P r o p e r t i e s = n e w   H a s h ; E l e m e n t . P r o p e r t i e s . s t y l e = { s e t : f u n c t i o n ( A ) { t h i s . s t y l e . c s s T e x t = A ; } , g e t : f u n c t i o n ( ) { r e t u r n   t h i s . s t y l e . c s s T e x t ; } , e r a s e : f u n c t i o n ( ) { t h i s . s t y l e . c s s T e x t = " " ;  
 } } ; E l e m e n t . P r o p e r t i e s . t a g = { g e t : f u n c t i o n ( ) { r e t u r n   t h i s . t a g N a m e . t o L o w e r C a s e ( ) ; } } ; E l e m e n t . P r o p e r t i e s . h t m l = ( f u n c t i o n ( ) { v a r   C = d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ;  
 v a r   A = { t a b l e : [ 1 , " < t a b l e > " , " < / t a b l e > " ] , s e l e c t : [ 1 , " < s e l e c t > " , " < / s e l e c t > " ] , t b o d y : [ 2 , " < t a b l e > < t b o d y > " , " < / t b o d y > < / t a b l e > " ] , t r : [ 3 , " < t a b l e > < t b o d y > < t r > " , " < / t r > < / t b o d y > < / t a b l e > " ] } ;  
 A . t h e a d = A . t f o o t = A . t b o d y ; v a r   B = { s e t : f u n c t i o n ( ) { v a r   E = A r r a y . f l a t t e n ( a r g u m e n t s ) . j o i n ( " " ) ; v a r   F = B r o w s e r . E n g i n e . t r i d e n t & & A [ t h i s . g e t ( " t a g " ) ] ; i f ( F ) { v a r   G = C ; G . i n n e r H T M L = F [ 1 ] + E + F [ 2 ] ;  
 f o r ( v a r   D = F [ 0 ] ; D - - ; ) { G = G . f i r s t C h i l d ; } t h i s . e m p t y ( ) . a d o p t ( G . c h i l d N o d e s ) ; } e l s e { t h i s . i n n e r H T M L = E ; } } } ; B . e r a s e = B . s e t ; r e t u r n   B ; } ) ( ) ; i f ( B r o w s e r . E n g i n e . w e b k i t & & B r o w s e r . E n g i n e . v e r s i o n < 4 2 0 ) { E l e m e n t . P r o p e r t i e s . t e x t = { g e t : f u n c t i o n ( ) { i f ( t h i s . i n n e r T e x t ) { r e t u r n   t h i s . i n n e r T e x t ;  
 } v a r   A = t h i s . o w n e r D o c u m e n t . n e w E l e m e n t ( " d i v " , { h t m l : t h i s . i n n e r H T M L } ) . i n j e c t ( t h i s . o w n e r D o c u m e n t . b o d y ) ; v a r   B = A . i n n e r T e x t ; A . d e s t r o y ( ) ; r e t u r n   B ; } } ; } E l e m e n t . P r o p e r t i e s . e v e n t s = { s e t : f u n c t i o n ( A ) { t h i s . a d d E v e n t s ( A ) ;  
 } } ; N a t i v e . i m p l e m e n t ( [ E l e m e n t , W i n d o w , D o c u m e n t ] , { a d d E v e n t : f u n c t i o n ( E , G ) { v a r   H = t h i s . r e t r i e v e ( " e v e n t s " , { } ) ; H [ E ] = H [ E ] | | { k e y s : [ ] , v a l u e s : [ ] } ; i f ( H [ E ] . k e y s . c o n t a i n s ( G ) ) { r e t u r n   t h i s ;  
 } H [ E ] . k e y s . p u s h ( G ) ; v a r   F = E , A = E l e m e n t . E v e n t s . g e t ( E ) , C = G , I = t h i s ; i f ( A ) { i f ( A . o n A d d ) { A . o n A d d . c a l l ( t h i s , G ) ; } i f ( A . c o n d i t i o n ) { C = f u n c t i o n ( J ) { i f ( A . c o n d i t i o n . c a l l ( t h i s , J ) ) { r e t u r n   G . c a l l ( t h i s , J ) ;  
 } r e t u r n   t r u e ; } ; } F = A . b a s e | | F ; } v a r   D = f u n c t i o n ( ) { r e t u r n   G . c a l l ( I ) ; } ; v a r   B = E l e m e n t . N a t i v e E v e n t s [ F ] ; i f ( B ) { i f ( B = = 2 ) { D = f u n c t i o n ( J ) { J = n e w   E v e n t ( J , I . g e t W i n d o w ( ) ) ;  
 i f ( C . c a l l ( I , J ) = = = f a l s e ) { J . s t o p ( ) ; } } ; } t h i s . a d d L i s t e n e r ( F , D ) ; } H [ E ] . v a l u e s . p u s h ( D ) ; r e t u r n   t h i s ; } , r e m o v e E v e n t : f u n c t i o n ( C , B ) { v a r   A = t h i s . r e t r i e v e ( " e v e n t s " ) ; i f ( ! A | | ! A [ C ] ) { r e t u r n   t h i s ;  
 } v a r   F = A [ C ] . k e y s . i n d e x O f ( B ) ; i f ( F = = - 1 ) { r e t u r n   t h i s ; } A [ C ] . k e y s . s p l i c e ( F , 1 ) ; v a r   E = A [ C ] . v a l u e s . s p l i c e ( F , 1 ) [ 0 ] ; v a r   D = E l e m e n t . E v e n t s . g e t ( C ) ; i f ( D ) { i f ( D . o n R e m o v e ) { D . o n R e m o v e . c a l l ( t h i s , B ) ;  
 } C = D . b a s e | | C ; } r e t u r n ( E l e m e n t . N a t i v e E v e n t s [ C ] ) ? t h i s . r e m o v e L i s t e n e r ( C , E ) : t h i s ; } , a d d E v e n t s : f u n c t i o n ( A ) { f o r ( v a r   B   i n   A ) { t h i s . a d d E v e n t ( B , A [ B ] ) ; } r e t u r n   t h i s ;  
 } , r e m o v e E v e n t s : f u n c t i o n ( A ) { i f ( $ t y p e ( A ) = = " o b j e c t " ) { f o r ( v a r   C   i n   A ) { t h i s . r e m o v e E v e n t ( C , A [ C ] ) ; } r e t u r n   t h i s ; } v a r   B = t h i s . r e t r i e v e ( " e v e n t s " ) ; i f ( ! B ) { r e t u r n   t h i s ;  
 } i f ( ! A ) { f o r ( v a r   C   i n   B ) { t h i s . r e m o v e E v e n t s ( C ) ; } t h i s . e l i m i n a t e ( " e v e n t s " ) ; } e l s e { i f ( B [ A ] ) { w h i l e ( B [ A ] . k e y s [ 0 ] ) { t h i s . r e m o v e E v e n t ( A , B [ A ] . k e y s [ 0 ] ) ; } B [ A ] = n u l l ; } } r e t u r n   t h i s ;  
 } , f i r e E v e n t : f u n c t i o n ( D , B , A ) { v a r   C = t h i s . r e t r i e v e ( " e v e n t s " ) ; i f ( ! C | | ! C [ D ] ) { r e t u r n   t h i s ; } C [ D ] . k e y s . e a c h ( f u n c t i o n ( E ) { E . c r e a t e ( { b i n d : t h i s , d e l a y : A , " a r g u m e n t s " : B } ) ( ) ;  
 } , t h i s ) ; r e t u r n   t h i s ; } , c l o n e E v e n t s : f u n c t i o n ( D , A ) { D = $ ( D ) ; v a r   C = D . r e t r i e v e ( " e v e n t s " ) ; i f ( ! C ) { r e t u r n   t h i s ; } i f ( ! A ) { f o r ( v a r   B   i n   C ) { t h i s . c l o n e E v e n t s ( D , B ) ; } } e l s e { i f ( C [ A ] ) { C [ A ] . k e y s . e a c h ( f u n c t i o n ( E ) { t h i s . a d d E v e n t ( A , E ) ;  
 } , t h i s ) ; } } r e t u r n   t h i s ; } } ) ; E l e m e n t . N a t i v e E v e n t s = { c l i c k : 2 , d b l c l i c k : 2 , m o u s e u p : 2 , m o u s e d o w n : 2 , c o n t e x t m e n u : 2 , m o u s e w h e e l : 2 , D O M M o u s e S c r o l l : 2 , m o u s e o v e r : 2 , m o u s e o u t : 2 , m o u s e m o v e : 2 , s e l e c t s t a r t : 2 , s e l e c t e n d : 2 , k e y d o w n : 2 , k e y p r e s s : 2 , k e y u p : 2 , f o c u s : 2 , b l u r : 2 , c h a n g e : 2 , r e s e t : 2 , s e l e c t : 2 , s u b m i t : 2 , l o a d : 1 , u n l o a d : 1 , b e f o r e u n l o a d : 2 , r e s i z e : 1 , m o v e : 1 , D O M C o n t e n t L o a d e d : 1 , r e a d y s t a t e c h a n g e : 1 , e r r o r : 1 , a b o r t : 1 , s c r o l l : 1 } ;  
 ( f u n c t i o n ( ) { v a r   A = f u n c t i o n ( B ) { v a r   C = B . r e l a t e d T a r g e t ; i f ( C = = u n d e f i n e d ) { r e t u r n   t r u e ; } i f ( C = = = f a l s e ) { r e t u r n   f a l s e ; } r e t u r n ( $ t y p e ( t h i s ) ! = " d o c u m e n t " & & C ! = t h i s & & C . p r e f i x ! = " x u l " & & ! t h i s . h a s C h i l d ( C ) ) ;  
 } ; E l e m e n t . E v e n t s = n e w   H a s h ( { m o u s e e n t e r : { b a s e : " m o u s e o v e r " , c o n d i t i o n : A } , m o u s e l e a v e : { b a s e : " m o u s e o u t " , c o n d i t i o n : A } , m o u s e w h e e l : { b a s e : ( B r o w s e r . E n g i n e . g e c k o ) ? " D O M M o u s e S c r o l l " : " m o u s e w h e e l " } } ) ;  
 } ) ( ) ; E l e m e n t . P r o p e r t i e s . s t y l e s = { s e t : f u n c t i o n ( A ) { t h i s . s e t S t y l e s ( A ) ; } } ; E l e m e n t . P r o p e r t i e s . o p a c i t y = { s e t : f u n c t i o n ( A , B ) { i f ( ! B ) { i f ( A = = 0 ) { i f ( t h i s . s t y l e . v i s i b i l i t y ! = " h i d d e n " ) { t h i s . s t y l e . v i s i b i l i t y = " h i d d e n " ;  
 } } e l s e { i f ( t h i s . s t y l e . v i s i b i l i t y ! = " v i s i b l e " ) { t h i s . s t y l e . v i s i b i l i t y = " v i s i b l e " ; } } } i f ( ! t h i s . c u r r e n t S t y l e | | ! t h i s . c u r r e n t S t y l e . h a s L a y o u t ) { t h i s . s t y l e . z o o m = 1 ; } i f ( B r o w s e r . E n g i n e . t r i d e n t ) { t h i s . s t y l e . f i l t e r = ( A = = 1 ) ? " " : " a l p h a ( o p a c i t y = " + A * 1 0 0 + " ) " ;  
 } t h i s . s t y l e . o p a c i t y = A ; t h i s . s t o r e ( " o p a c i t y " , A ) ; } , g e t : f u n c t i o n ( ) { r e t u r n   t h i s . r e t r i e v e ( " o p a c i t y " , 1 ) ; } } ; E l e m e n t . i m p l e m e n t ( { s e t O p a c i t y : f u n c t i o n ( A ) { r e t u r n   t h i s . s e t ( " o p a c i t y " , A , t r u e ) ;  
 } , g e t O p a c i t y : f u n c t i o n ( ) { r e t u r n   t h i s . g e t ( " o p a c i t y " ) ; } , s e t S t y l e : f u n c t i o n ( B , A ) { s w i t c h ( B ) { c a s e " o p a c i t y " : r e t u r n   t h i s . s e t ( " o p a c i t y " , p a r s e F l o a t ( A ) ) ; c a s e " f l o a t " : B = ( B r o w s e r . E n g i n e . t r i d e n t ) ? " s t y l e F l o a t " : " c s s F l o a t " ;  
 } B = B . c a m e l C a s e ( ) ; i f ( $ t y p e ( A ) ! = " s t r i n g " ) { v a r   C = ( E l e m e n t . S t y l e s . g e t ( B ) | | " @ " ) . s p l i t ( "   " ) ; A = $ s p l a t ( A ) . m a p ( f u n c t i o n ( E , D ) { i f ( ! C [ D ] ) { r e t u r n " " ; } r e t u r n ( $ t y p e ( E ) = = " n u m b e r " ) ? C [ D ] . r e p l a c e ( " @ " , M a t h . r o u n d ( E ) ) : E ;  
 } ) . j o i n ( "   " ) ; } e l s e { i f ( A = = S t r i n g ( N u m b e r ( A ) ) ) { A = M a t h . r o u n d ( A ) ; } } t h i s . s t y l e [ B ] = A ; r e t u r n   t h i s ; } , g e t S t y l e : f u n c t i o n ( G ) { s w i t c h ( G ) { c a s e " o p a c i t y " : r e t u r n   t h i s . g e t ( " o p a c i t y " ) ;  
 c a s e " f l o a t " : G = ( B r o w s e r . E n g i n e . t r i d e n t ) ? " s t y l e F l o a t " : " c s s F l o a t " ; } G = G . c a m e l C a s e ( ) ; v a r   A = t h i s . s t y l e [ G ] ; i f ( ! $ c h k ( A ) ) { A = [ ] ; f o r ( v a r   F   i n   E l e m e n t . S h o r t S t y l e s ) { i f ( G ! = F ) { c o n t i n u e ;  
 } f o r ( v a r   E   i n   E l e m e n t . S h o r t S t y l e s [ F ] ) { A . p u s h ( t h i s . g e t S t y l e ( E ) ) ; } r e t u r n   A . j o i n ( "   " ) ; } A = t h i s . g e t C o m p u t e d S t y l e ( G ) ; } i f ( A ) { A = S t r i n g ( A ) ; v a r   C = A . m a t c h ( / r g b a ? \ ( [ \ d \ s , ] + \ ) / ) ;  
 i f ( C ) { A = A . r e p l a c e ( C [ 0 ] , C [ 0 ] . r g b T o H e x ( ) ) ; } } i f ( B r o w s e r . E n g i n e . p r e s t o | | ( B r o w s e r . E n g i n e . t r i d e n t & & ! $ c h k ( p a r s e I n t ( A ) ) ) ) { i f ( G . t e s t ( / ^ ( h e i g h t | w i d t h ) $ / ) ) { v a r   B = ( G = = " w i d t h " ) ? [ " l e f t " , " r i g h t " ] : [ " t o p " , " b o t t o m " ] , D = 0 ;  
 B . e a c h ( f u n c t i o n ( H ) { D + = t h i s . g e t S t y l e ( " b o r d e r - " + H + " - w i d t h " ) . t o I n t ( ) + t h i s . g e t S t y l e ( " p a d d i n g - " + H ) . t o I n t ( ) ; } , t h i s ) ; r e t u r n   t h i s [ " o f f s e t " + G . c a p i t a l i z e ( ) ] - D + " p x " ;  
 } i f ( ( B r o w s e r . E n g i n e . p r e s t o ) & & S t r i n g ( A ) . t e s t ( " p x " ) ) { r e t u r n   A ; } i f ( G . t e s t ( / ( b o r d e r ( . + ) W i d t h | m a r g i n | p a d d i n g ) / ) ) { r e t u r n " 0 p x " ; } } r e t u r n   A ; } , s e t S t y l e s : f u n c t i o n ( B ) { f o r ( v a r   A   i n   B ) { t h i s . s e t S t y l e ( A , B [ A ] ) ;  
 } r e t u r n   t h i s ; } , g e t S t y l e s : f u n c t i o n ( ) { v a r   A = { } ; A r r a y . e a c h ( a r g u m e n t s , f u n c t i o n ( B ) { A [ B ] = t h i s . g e t S t y l e ( B ) ; } , t h i s ) ; r e t u r n   A ; } } ) ; E l e m e n t . S t y l e s = n e w   H a s h ( { l e f t : " @ p x " , t o p : " @ p x " , b o t t o m : " @ p x " , r i g h t : " @ p x " , w i d t h : " @ p x " , h e i g h t : " @ p x " , m a x W i d t h : " @ p x " , m a x H e i g h t : " @ p x " , m i n W i d t h : " @ p x " , m i n H e i g h t : " @ p x " , b a c k g r o u n d C o l o r : " r g b ( @ ,   @ ,   @ ) " , b a c k g r o u n d P o s i t i o n : " @ p x   @ p x " , c o l o r : " r g b ( @ ,   @ ,   @ ) " , f o n t S i z e : " @ p x " , l e t t e r S p a c i n g : " @ p x " , l i n e H e i g h t : " @ p x " , c l i p : " r e c t ( @ p x   @ p x   @ p x   @ p x ) " , m a r g i n : " @ p x   @ p x   @ p x   @ p x " , p a d d i n g : " @ p x   @ p x   @ p x   @ p x " , b o r d e r : " @ p x   @   r g b ( @ ,   @ ,   @ )   @ p x   @   r g b ( @ ,   @ ,   @ )   @ p x   @   r g b ( @ ,   @ ,   @ ) " , b o r d e r W i d t h : " @ p x   @ p x   @ p x   @ p x " , b o r d e r S t y l e : " @   @   @   @ " , b o r d e r C o l o r : " r g b ( @ ,   @ ,   @ )   r g b ( @ ,   @ ,   @ )   r g b ( @ ,   @ ,   @ )   r g b ( @ ,   @ ,   @ ) " , z I n d e x : " @ " , z o o m : " @ " , f o n t W e i g h t : " @ " , t e x t I n d e n t : " @ p x " , o p a c i t y : " @ " } ) ;  
 E l e m e n t . S h o r t S t y l e s = { m a r g i n : { } , p a d d i n g : { } , b o r d e r : { } , b o r d e r W i d t h : { } , b o r d e r S t y l e : { } , b o r d e r C o l o r : { } } ; [ " T o p " , " R i g h t " , " B o t t o m " , " L e f t " ] . e a c h ( f u n c t i o n ( G ) { v a r   F = E l e m e n t . S h o r t S t y l e s ;  
 v a r   B = E l e m e n t . S t y l e s ; [ " m a r g i n " , " p a d d i n g " ] . e a c h ( f u n c t i o n ( H ) { v a r   I = H + G ; F [ H ] [ I ] = B [ I ] = " @ p x " ; } ) ; v a r   E = " b o r d e r " + G ; F . b o r d e r [ E ] = B [ E ] = " @ p x   @   r g b ( @ ,   @ ,   @ ) " ; v a r   D = E + " W i d t h " , A = E + " S t y l e " , C = E + " C o l o r " ;  
 F [ E ] = { } ; F . b o r d e r W i d t h [ D ] = F [ E ] [ D ] = B [ D ] = " @ p x " ; F . b o r d e r S t y l e [ A ] = F [ E ] [ A ] = B [ A ] = " @ " ; F . b o r d e r C o l o r [ C ] = F [ E ] [ C ] = B [ C ] = " r g b ( @ ,   @ ,   @ ) " ; } ) ; ( f u n c t i o n ( ) { E l e m e n t . i m p l e m e n t ( { s c r o l l T o : f u n c t i o n ( H , I ) { i f ( B ( t h i s ) ) { t h i s . g e t W i n d o w ( ) . s c r o l l T o ( H , I ) ;  
 } e l s e { t h i s . s c r o l l L e f t = H ; t h i s . s c r o l l T o p = I ; } r e t u r n   t h i s ; } , g e t S i z e : f u n c t i o n ( ) { i f ( B ( t h i s ) ) { r e t u r n   t h i s . g e t W i n d o w ( ) . g e t S i z e ( ) ; } r e t u r n { x : t h i s . o f f s e t W i d t h , y : t h i s . o f f s e t H e i g h t } ;  
 } , g e t S c r o l l S i z e : f u n c t i o n ( ) { i f ( B ( t h i s ) ) { r e t u r n   t h i s . g e t W i n d o w ( ) . g e t S c r o l l S i z e ( ) ; } r e t u r n { x : t h i s . s c r o l l W i d t h , y : t h i s . s c r o l l H e i g h t } ; } , g e t S c r o l l : f u n c t i o n ( ) { i f ( B ( t h i s ) ) { r e t u r n   t h i s . g e t W i n d o w ( ) . g e t S c r o l l ( ) ;  
 } r e t u r n { x : t h i s . s c r o l l L e f t , y : t h i s . s c r o l l T o p } ; } , g e t S c r o l l s : f u n c t i o n ( ) { v a r   I = t h i s , H = { x : 0 , y : 0 } ; w h i l e ( I & & ! B ( I ) ) { H . x + = I . s c r o l l L e f t ; H . y + = I . s c r o l l T o p ; I = I . p a r e n t N o d e ;  
 } r e t u r n   H ; } , g e t O f f s e t P a r e n t : f u n c t i o n ( ) { v a r   H = t h i s ; i f ( B ( H ) ) { r e t u r n   n u l l ; } i f ( ! B r o w s e r . E n g i n e . t r i d e n t ) { r e t u r n   H . o f f s e t P a r e n t ; } w h i l e ( ( H = H . p a r e n t N o d e ) & & ! B ( H ) ) { i f ( D ( H , " p o s i t i o n " ) ! = " s t a t i c " ) { r e t u r n   H ;  
 } } r e t u r n   n u l l ; } , g e t O f f s e t s : f u n c t i o n ( ) { i f ( B r o w s e r . E n g i n e . t r i d e n t ) { v a r   L = t h i s . g e t B o u n d i n g C l i e n t R e c t ( ) , J = t h i s . g e t D o c u m e n t ( ) . d o c u m e n t E l e m e n t ; r e t u r n { x : L . l e f t + J . s c r o l l L e f t - J . c l i e n t L e f t , y : L . t o p + J . s c r o l l T o p - J . c l i e n t T o p } ;  
 } v a r   I = t h i s , H = { x : 0 , y : 0 } ; i f ( B ( t h i s ) ) { r e t u r n   H ; } w h i l e ( I & & ! B ( I ) ) { H . x + = I . o f f s e t L e f t ; H . y + = I . o f f s e t T o p ; i f ( B r o w s e r . E n g i n e . g e c k o ) { i f ( ! F ( I ) ) { H . x + = C ( I ) ; H . y + = G ( I ) ;  
 } v a r   K = I . p a r e n t N o d e ; i f ( K & & D ( K , " o v e r f l o w " ) ! = " v i s i b l e " ) { H . x + = C ( K ) ; H . y + = G ( K ) ; } } e l s e { i f ( I ! = t h i s & & B r o w s e r . E n g i n e . w e b k i t ) { H . x + = C ( I ) ; H . y + = G ( I ) ; } } I = I . o f f s e t P a r e n t ;  
 } i f ( B r o w s e r . E n g i n e . g e c k o & & ! F ( t h i s ) ) { H . x - = C ( t h i s ) ; H . y - = G ( t h i s ) ; } r e t u r n   H ; } , g e t P o s i t i o n : f u n c t i o n ( K ) { i f ( B ( t h i s ) ) { r e t u r n { x : 0 , y : 0 } ; } v a r   L = t h i s . g e t O f f s e t s ( ) , I = t h i s . g e t S c r o l l s ( ) ;  
 v a r   H = { x : L . x - I . x , y : L . y - I . y } ; v a r   J = ( K & & ( K = $ ( K ) ) ) ? K . g e t P o s i t i o n ( ) : { x : 0 , y : 0 } ; r e t u r n { x : H . x - J . x , y : H . y - J . y } ; } , g e t C o o r d i n a t e s : f u n c t i o n ( J ) { i f ( B ( t h i s ) ) { r e t u r n   t h i s . g e t W i n d o w ( ) . g e t C o o r d i n a t e s ( ) ;  
 } v a r   H = t h i s . g e t P o s i t i o n ( J ) , I = t h i s . g e t S i z e ( ) ; v a r   K = { l e f t : H . x , t o p : H . y , w i d t h : I . x , h e i g h t : I . y } ; K . r i g h t = K . l e f t + K . w i d t h ; K . b o t t o m = K . t o p + K . h e i g h t ; r e t u r n   K ; } , c o m p u t e P o s i t i o n : f u n c t i o n ( H ) { r e t u r n { l e f t : H . x - E ( t h i s , " m a r g i n - l e f t " ) , t o p : H . y - E ( t h i s , " m a r g i n - t o p " ) } ;  
 } , p o s i t i o n : f u n c t i o n ( H ) { r e t u r n   t h i s . s e t S t y l e s ( t h i s . c o m p u t e P o s i t i o n ( H ) ) ; } } ) ; N a t i v e . i m p l e m e n t ( [ D o c u m e n t , W i n d o w ] , { g e t S i z e : f u n c t i o n ( ) { v a r   I = t h i s . g e t W i n d o w ( ) ;  
 i f ( B r o w s e r . E n g i n e . p r e s t o | | B r o w s e r . E n g i n e . w e b k i t ) { r e t u r n { x : I . i n n e r W i d t h , y : I . i n n e r H e i g h t } ; } v a r   H = A ( t h i s ) ; r e t u r n { x : H . c l i e n t W i d t h , y : H . c l i e n t H e i g h t } ; } , g e t S c r o l l : f u n c t i o n ( ) { v a r   I = t h i s . g e t W i n d o w ( ) ;  
 v a r   H = A ( t h i s ) ; r e t u r n { x : I . p a g e X O f f s e t | | H . s c r o l l L e f t , y : I . p a g e Y O f f s e t | | H . s c r o l l T o p } ; } , g e t S c r o l l S i z e : f u n c t i o n ( ) { v a r   I = A ( t h i s ) ; v a r   H = t h i s . g e t S i z e ( ) ; r e t u r n { x : M a t h . m a x ( I . s c r o l l W i d t h , H . x ) , y : M a t h . m a x ( I . s c r o l l H e i g h t , H . y ) } ;  
 } , g e t P o s i t i o n : f u n c t i o n ( ) { r e t u r n { x : 0 , y : 0 } ; } , g e t C o o r d i n a t e s : f u n c t i o n ( ) { v a r   H = t h i s . g e t S i z e ( ) ; r e t u r n { t o p : 0 , l e f t : 0 , b o t t o m : H . y , r i g h t : H . x , h e i g h t : H . y , w i d t h : H . x } ;  
 } } ) ; v a r   D = E l e m e n t . g e t C o m p u t e d S t y l e ; f u n c t i o n   E ( H , I ) { r e t u r n   D ( H , I ) . t o I n t ( ) | | 0 ; } f u n c t i o n   F ( H ) { r e t u r n   D ( H , " - m o z - b o x - s i z i n g " ) = = " b o r d e r - b o x " ; } f u n c t i o n   G ( H ) { r e t u r n   E ( H , " b o r d e r - t o p - w i d t h " ) ;  
 } f u n c t i o n   C ( H ) { r e t u r n   E ( H , " b o r d e r - l e f t - w i d t h " ) ; } f u n c t i o n   B ( H ) { r e t u r n ( / ^ ( ? : b o d y | h t m l ) $ / i ) . t e s t ( H . t a g N a m e ) ; } f u n c t i o n   A ( H ) { v a r   I = H . g e t D o c u m e n t ( ) ; r e t u r n ( ! I . c o m p a t M o d e | | I . c o m p a t M o d e = = " C S S 1 C o m p a t " ) ? I . h t m l : I . b o d y ;  
 } } ) ( ) ; N a t i v e . i m p l e m e n t ( [ W i n d o w , D o c u m e n t , E l e m e n t ] , { g e t H e i g h t : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S i z e ( ) . y ; } , g e t W i d t h : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S i z e ( ) . x ; } , g e t S c r o l l T o p : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S c r o l l ( ) . y ;  
 } , g e t S c r o l l L e f t : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S c r o l l ( ) . x ; } , g e t S c r o l l H e i g h t : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S c r o l l S i z e ( ) . y ; } , g e t S c r o l l W i d t h : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S c r o l l S i z e ( ) . x ;  
 } , g e t T o p : f u n c t i o n ( ) { r e t u r n   t h i s . g e t P o s i t i o n ( ) . y ; } , g e t L e f t : f u n c t i o n ( ) { r e t u r n   t h i s . g e t P o s i t i o n ( ) . x ; } } ) ; N a t i v e . i m p l e m e n t ( [ D o c u m e n t , E l e m e n t ] , { g e t E l e m e n t s : f u n c t i o n ( H , G ) { H = H . s p l i t ( " , " ) ;  
 v a r   C , E = { } ; f o r ( v a r   D = 0 , B = H . l e n g t h ; D < B ; D + + ) { v a r   A = H [ D ] , F = S e l e c t o r s . U t i l s . s e a r c h ( t h i s , A , E ) ; i f ( D ! = 0 & & F . i t e m ) { F = $ A ( F ) ; } C = ( D = = 0 ) ? F : ( C . i t e m ) ? $ A ( C ) . c o n c a t ( F ) : C . c o n c a t ( F ) ;  
 } r e t u r n   n e w   E l e m e n t s ( C , { d d u p : ( H . l e n g t h > 1 ) , c a s h : ! G } ) ; } } ) ; E l e m e n t . i m p l e m e n t ( { m a t c h : f u n c t i o n ( B ) { i f ( ! B | | ( B = = t h i s ) ) { r e t u r n   t r u e ; } v a r   D = S e l e c t o r s . U t i l s . p a r s e T a g A n d I D ( B ) ;  
 v a r   A = D [ 0 ] , E = D [ 1 ] ; i f ( ! S e l e c t o r s . F i l t e r s . b y I D ( t h i s , E ) | | ! S e l e c t o r s . F i l t e r s . b y T a g ( t h i s , A ) ) { r e t u r n   f a l s e ; } v a r   C = S e l e c t o r s . U t i l s . p a r s e S e l e c t o r ( B ) ; r e t u r n ( C ) ? S e l e c t o r s . U t i l s . f i l t e r ( t h i s , C , { } ) : t r u e ;  
 } } ) ; v a r   S e l e c t o r s = { C a c h e : { n t h : { } , p a r s e d : { } } } ; S e l e c t o r s . R e g E x p s = { i d : ( / # ( [ \ w - ] + ) / ) , t a g : ( / ^ ( \ w + | \ * ) / ) , q u i c k : ( / ^ ( \ w + | \ * ) $ / ) , s p l i t t e r : ( / \ s * ( [ + > ~ \ s ] ) \ s * ( [ a - z A - Z # . * : \ [ ] ) / g ) , c o m b i n e d : ( / \ . ( [ \ w - ] + ) | \ [ ( \ w + ) ( ? : ( [ ! * ^ $ ~ | ] ? = ) ( [ " ' ] ? ) ( [ ^ \ 4 ] * ? ) \ 4 ) ? \ ] | : ( [ \ w - ] + ) ( ? : \ ( [ " ' ] ? ( . * ? ) ? [ " ' ] ? \ ) | $ ) / g ) } ;  
 S e l e c t o r s . U t i l s = { c h k : f u n c t i o n ( B , C ) { i f ( ! C ) { r e t u r n   t r u e ; } v a r   A = $ u i d ( B ) ; i f ( ! C [ A ] ) { r e t u r n   C [ A ] = t r u e ; } r e t u r n   f a l s e ; } , p a r s e N t h A r g u m e n t : f u n c t i o n ( F ) { i f ( S e l e c t o r s . C a c h e . n t h [ F ] ) { r e t u r n   S e l e c t o r s . C a c h e . n t h [ F ] ;  
 } v a r   C = F . m a t c h ( / ^ ( [ + - ] ? \ d * ) ? ( [ a - z ] + ) ? ( [ + - ] ? \ d * ) ? $ / ) ; i f ( ! C ) { r e t u r n   f a l s e ; } v a r   E = p a r s e I n t ( C [ 1 ] ) ; v a r   B = ( E | | E = = = 0 ) ? E : 1 ; v a r   D = C [ 2 ] | | f a l s e ; v a r   A = p a r s e I n t ( C [ 3 ] ) | | 0 ;  
 i f ( B ! = 0 ) { A - - ; w h i l e ( A < 1 ) { A + = B ; } w h i l e ( A > = B ) { A - = B ; } } e l s e { B = A ; D = " i n d e x " ; } s w i t c h ( D ) { c a s e " n " : C = { a : B , b : A , s p e c i a l : " n " } ; b r e a k ; c a s e " o d d " : C = { a : 2 , b : 0 , s p e c i a l : " n " } ;  
 b r e a k ; c a s e " e v e n " : C = { a : 2 , b : 1 , s p e c i a l : " n " } ; b r e a k ; c a s e " f i r s t " : C = { a : 0 , s p e c i a l : " i n d e x " } ; b r e a k ; c a s e " l a s t " : C = { s p e c i a l : " l a s t - c h i l d " } ; b r e a k ; c a s e " o n l y " : C = { s p e c i a l : " o n l y - c h i l d " } ;  
 b r e a k ; d e f a u l t : C = { a : ( B - 1 ) , s p e c i a l : " i n d e x " } ; } r e t u r n   S e l e c t o r s . C a c h e . n t h [ F ] = C ; } , p a r s e S e l e c t o r : f u n c t i o n ( E ) { i f ( S e l e c t o r s . C a c h e . p a r s e d [ E ] ) { r e t u r n   S e l e c t o r s . C a c h e . p a r s e d [ E ] ;  
 } v a r   D , H = { c l a s s e s : [ ] , p s e u d o s : [ ] , a t t r i b u t e s : [ ] } ; w h i l e ( ( D = S e l e c t o r s . R e g E x p s . c o m b i n e d . e x e c ( E ) ) ) { v a r   I = D [ 1 ] , G = D [ 2 ] , F = D [ 3 ] , B = D [ 5 ] , C = D [ 6 ] , J = D [ 7 ] ; i f ( I ) { H . c l a s s e s . p u s h ( I ) ;  
 } e l s e { i f ( C ) { v a r   A = S e l e c t o r s . P s e u d o . g e t ( C ) ; i f ( A ) { H . p s e u d o s . p u s h ( { p a r s e r : A , a r g u m e n t : J } ) ; } e l s e { H . a t t r i b u t e s . p u s h ( { n a m e : C , o p e r a t o r : " = " , v a l u e : J } ) ; } } e l s e { i f ( G ) { H . a t t r i b u t e s . p u s h ( { n a m e : G , o p e r a t o r : F , v a l u e : B } ) ;  
 } } } } i f ( ! H . c l a s s e s . l e n g t h ) { d e l e t e   H . c l a s s e s ; } i f ( ! H . a t t r i b u t e s . l e n g t h ) { d e l e t e   H . a t t r i b u t e s ; } i f ( ! H . p s e u d o s . l e n g t h ) { d e l e t e   H . p s e u d o s ; } i f ( ! H . c l a s s e s & & ! H . a t t r i b u t e s & & ! H . p s e u d o s ) { H = n u l l ;  
 } r e t u r n   S e l e c t o r s . C a c h e . p a r s e d [ E ] = H ; } , p a r s e T a g A n d I D : f u n c t i o n ( B ) { v a r   A = B . m a t c h ( S e l e c t o r s . R e g E x p s . t a g ) ; v a r   C = B . m a t c h ( S e l e c t o r s . R e g E x p s . i d ) ; r e t u r n [ ( A ) ? A [ 1 ] : " * " , ( C ) ? C [ 1 ] : f a l s e ] ;  
 } , f i l t e r : f u n c t i o n ( F , C , E ) { v a r   D ; i f ( C . c l a s s e s ) { f o r ( D = C . c l a s s e s . l e n g t h ; D - - ; D ) { v a r   G = C . c l a s s e s [ D ] ; i f ( ! S e l e c t o r s . F i l t e r s . b y C l a s s ( F , G ) ) { r e t u r n   f a l s e ; } } } i f ( C . a t t r i b u t e s ) { f o r ( D = C . a t t r i b u t e s . l e n g t h ;  
 D - - ; D ) { v a r   B = C . a t t r i b u t e s [ D ] ; i f ( ! S e l e c t o r s . F i l t e r s . b y A t t r i b u t e ( F , B . n a m e , B . o p e r a t o r , B . v a l u e ) ) { r e t u r n   f a l s e ; } } } i f ( C . p s e u d o s ) { f o r ( D = C . p s e u d o s . l e n g t h ; D - - ; D ) { v a r   A = C . p s e u d o s [ D ] ;  
 i f ( ! S e l e c t o r s . F i l t e r s . b y P s e u d o ( F , A . p a r s e r , A . a r g u m e n t , E ) ) { r e t u r n   f a l s e ; } } } r e t u r n   t r u e ; } , g e t B y T a g A n d I D : f u n c t i o n ( B , A , D ) { i f ( D ) { v a r   C = ( B . g e t E l e m e n t B y I d ) ? B . g e t E l e m e n t B y I d ( D , t r u e ) : E l e m e n t . g e t E l e m e n t B y I d ( B , D , t r u e ) ;  
 r e t u r n ( C & & S e l e c t o r s . F i l t e r s . b y T a g ( C , A ) ) ? [ C ] : [ ] ; } e l s e { r e t u r n   B . g e t E l e m e n t s B y T a g N a m e ( A ) ; } } , s e a r c h : f u n c t i o n ( I , H , N ) { v a r   B = [ ] ; v a r   C = H . t r i m ( ) . r e p l a c e ( S e l e c t o r s . R e g E x p s . s p l i t t e r , f u n c t i o n ( Y , X , W ) { B . p u s h ( X ) ;  
 r e t u r n " : ) " + W ; } ) . s p l i t ( " : ) " ) ; v a r   J , E , U ; f o r ( v a r   T = 0 , P = C . l e n g t h ; T < P ; T + + ) { v a r   S = C [ T ] ; i f ( T = = 0 & & S e l e c t o r s . R e g E x p s . q u i c k . t e s t ( S ) ) { J = I . g e t E l e m e n t s B y T a g N a m e ( S ) ;  
 c o n t i n u e ; } v a r   A = B [ T - 1 ] ; v a r   K = S e l e c t o r s . U t i l s . p a r s e T a g A n d I D ( S ) ; v a r   V = K [ 0 ] , L = K [ 1 ] ; i f ( T = = 0 ) { J = S e l e c t o r s . U t i l s . g e t B y T a g A n d I D ( I , V , L ) ; } e l s e { v a r   D = { } , G = [ ] ; f o r ( v a r   R = 0 , Q = J . l e n g t h ;  
 R < Q ; R + + ) { G = S e l e c t o r s . G e t t e r s [ A ] ( G , J [ R ] , V , L , D ) ; } J = G ; } v a r   F = S e l e c t o r s . U t i l s . p a r s e S e l e c t o r ( S ) ; i f ( F ) { E = [ ] ; f o r ( v a r   O = 0 , M = J . l e n g t h ; O < M ; O + + ) { U = J [ O ] ; i f ( S e l e c t o r s . U t i l s . f i l t e r ( U , F , N ) ) { E . p u s h ( U ) ;  
 } } J = E ; } } r e t u r n   J ; } } ; S e l e c t o r s . G e t t e r s = { "   " : f u n c t i o n ( H , G , I , A , E ) { v a r   D = S e l e c t o r s . U t i l s . g e t B y T a g A n d I D ( G , I , A ) ; f o r ( v a r   C = 0 , B = D . l e n g t h ; C < B ; C + + ) { v a r   F = D [ C ] ; i f ( S e l e c t o r s . U t i l s . c h k ( F , E ) ) { H . p u s h ( F ) ;  
 } } r e t u r n   H ; } , " > " : f u n c t i o n ( H , G , I , A , F ) { v a r   C = S e l e c t o r s . U t i l s . g e t B y T a g A n d I D ( G , I , A ) ; f o r ( v a r   E = 0 , D = C . l e n g t h ; E < D ; E + + ) { v a r   B = C [ E ] ; i f ( B . p a r e n t N o d e = = G & & S e l e c t o r s . U t i l s . c h k ( B , F ) ) { H . p u s h ( B ) ;  
 } } r e t u r n   H ; } , " + " : f u n c t i o n ( C , B , A , E , D ) { w h i l e ( ( B = B . n e x t S i b l i n g ) ) { i f ( B . n o d e T y p e = = 1 ) { i f ( S e l e c t o r s . U t i l s . c h k ( B , D ) & & S e l e c t o r s . F i l t e r s . b y T a g ( B , A ) & & S e l e c t o r s . F i l t e r s . b y I D ( B , E ) ) { C . p u s h ( B ) ;  
 } b r e a k ; } } r e t u r n   C ; } , " ~ " : f u n c t i o n ( C , B , A , E , D ) { w h i l e ( ( B = B . n e x t S i b l i n g ) ) { i f ( B . n o d e T y p e = = 1 ) { i f ( ! S e l e c t o r s . U t i l s . c h k ( B , D ) ) { b r e a k ; } i f ( S e l e c t o r s . F i l t e r s . b y T a g ( B , A ) & & S e l e c t o r s . F i l t e r s . b y I D ( B , E ) ) { C . p u s h ( B ) ;  
 } } } r e t u r n   C ; } } ; S e l e c t o r s . F i l t e r s = { b y T a g : f u n c t i o n ( B , A ) { r e t u r n ( A = = " * " | | ( B . t a g N a m e & & B . t a g N a m e . t o L o w e r C a s e ( ) = = A ) ) ; } , b y I D : f u n c t i o n ( A , B ) { r e t u r n ( ! B | | ( A . i d & & A . i d = = B ) ) ;  
 } , b y C l a s s : f u n c t i o n ( B , A ) { r e t u r n ( B . c l a s s N a m e & & B . c l a s s N a m e . c o n t a i n s ( A , "   " ) ) ; } , b y P s e u d o : f u n c t i o n ( A , D , C , B ) { r e t u r n   D . c a l l ( A , C , B ) ; } , b y A t t r i b u t e : f u n c t i o n ( C , D , B , E ) { v a r   A = E l e m e n t . p r o t o t y p e . g e t P r o p e r t y . c a l l ( C , D ) ;  
 i f ( ! A ) { r e t u r n ( B = = " ! = " ) ; } i f ( ! B | | E = = u n d e f i n e d ) { r e t u r n   t r u e ; } s w i t c h ( B ) { c a s e " = " : r e t u r n ( A = = E ) ; c a s e " * = " : r e t u r n ( A . c o n t a i n s ( E ) ) ; c a s e " ^ = " : r e t u r n ( A . s u b s t r ( 0 , E . l e n g t h ) = = E ) ;  
 c a s e " $ = " : r e t u r n ( A . s u b s t r ( A . l e n g t h - E . l e n g t h ) = = E ) ; c a s e " ! = " : r e t u r n ( A ! = E ) ; c a s e " ~ = " : r e t u r n   A . c o n t a i n s ( E , "   " ) ; c a s e " | = " : r e t u r n   A . c o n t a i n s ( E , " - " ) ; } r e t u r n   f a l s e ;  
 } } ; S e l e c t o r s . P s e u d o = n e w   H a s h ( { c h e c k e d : f u n c t i o n ( ) { r e t u r n   t h i s . c h e c k e d ; } , e m p t y : f u n c t i o n ( ) { r e t u r n   ! ( t h i s . i n n e r T e x t | | t h i s . t e x t C o n t e n t | | " " ) . l e n g t h ; } , n o t : f u n c t i o n ( A ) { r e t u r n   ! E l e m e n t . m a t c h ( t h i s , A ) ;  
 } , c o n t a i n s : f u n c t i o n ( A ) { r e t u r n ( t h i s . i n n e r T e x t | | t h i s . t e x t C o n t e n t | | " " ) . c o n t a i n s ( A ) ; } , " f i r s t - c h i l d " : f u n c t i o n ( ) { r e t u r n   S e l e c t o r s . P s e u d o . i n d e x . c a l l ( t h i s , 0 ) ; } , " l a s t - c h i l d " : f u n c t i o n ( ) { v a r   A = t h i s ;  
 w h i l e ( ( A = A . n e x t S i b l i n g ) ) { i f ( A . n o d e T y p e = = 1 ) { r e t u r n   f a l s e ; } } r e t u r n   t r u e ; } , " o n l y - c h i l d " : f u n c t i o n ( ) { v a r   B = t h i s ; w h i l e ( ( B = B . p r e v i o u s S i b l i n g ) ) { i f ( B . n o d e T y p e = = 1 ) { r e t u r n   f a l s e ;  
 } } v a r   A = t h i s ; w h i l e ( ( A = A . n e x t S i b l i n g ) ) { i f ( A . n o d e T y p e = = 1 ) { r e t u r n   f a l s e ; } } r e t u r n   t r u e ; } , " n t h - c h i l d " : f u n c t i o n ( G , E ) { G = ( G = = u n d e f i n e d ) ? " n " : G ; v a r   C = S e l e c t o r s . U t i l s . p a r s e N t h A r g u m e n t ( G ) ;  
 i f ( C . s p e c i a l ! = " n " ) { r e t u r n   S e l e c t o r s . P s e u d o [ C . s p e c i a l ] . c a l l ( t h i s , C . a , E ) ; } v a r   F = 0 ; E . p o s i t i o n s = E . p o s i t i o n s | | { } ; v a r   D = $ u i d ( t h i s ) ; i f ( ! E . p o s i t i o n s [ D ] ) { v a r   B = t h i s ;  
 w h i l e ( ( B = B . p r e v i o u s S i b l i n g ) ) { i f ( B . n o d e T y p e ! = 1 ) { c o n t i n u e ; } F + + ; v a r   A = E . p o s i t i o n s [ $ u i d ( B ) ] ; i f ( A ! = u n d e f i n e d ) { F = A + F ; b r e a k ; } } E . p o s i t i o n s [ D ] = F ; } r e t u r n ( E . p o s i t i o n s [ D ] % C . a = = C . b ) ;  
 } , i n d e x : f u n c t i o n ( A ) { v a r   B = t h i s , C = 0 ; w h i l e ( ( B = B . p r e v i o u s S i b l i n g ) ) { i f ( B . n o d e T y p e = = 1 & & + + C > A ) { r e t u r n   f a l s e ; } } r e t u r n ( C = = A ) ; } , e v e n : f u n c t i o n ( B , A ) { r e t u r n   S e l e c t o r s . P s e u d o [ " n t h - c h i l d " ] . c a l l ( t h i s , " 2 n + 1 " , A ) ;  
 } , o d d : f u n c t i o n ( B , A ) { r e t u r n   S e l e c t o r s . P s e u d o [ " n t h - c h i l d " ] . c a l l ( t h i s , " 2 n " , A ) ; } } ) ; E l e m e n t . E v e n t s . d o m r e a d y = { o n A d d : f u n c t i o n ( A ) { i f ( B r o w s e r . l o a d e d ) { A . c a l l ( t h i s ) ;  
 } } } ; ( f u n c t i o n ( ) { v a r   B = f u n c t i o n ( ) { i f ( B r o w s e r . l o a d e d ) { r e t u r n   ; } B r o w s e r . l o a d e d = t r u e ; w i n d o w . f i r e E v e n t ( " d o m r e a d y " ) ; d o c u m e n t . f i r e E v e n t ( " d o m r e a d y " ) ; } ; i f ( B r o w s e r . E n g i n e . t r i d e n t ) { v a r   A = d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ;  
 ( f u n c t i o n ( ) { ( $ t r y ( f u n c t i o n ( ) { A . d o S c r o l l ( " l e f t " ) ; r e t u r n   $ ( A ) . i n j e c t ( d o c u m e n t . b o d y ) . s e t ( " h t m l " , " t e m p " ) . d i s p o s e ( ) ; } ) ) ? B ( ) : a r g u m e n t s . c a l l e e . d e l a y ( 5 0 ) ; } ) ( ) ;  
 } e l s e { i f ( B r o w s e r . E n g i n e . w e b k i t & & B r o w s e r . E n g i n e . v e r s i o n < 5 2 5 ) { ( f u n c t i o n ( ) { ( [ " l o a d e d " , " c o m p l e t e " ] . c o n t a i n s ( d o c u m e n t . r e a d y S t a t e ) ) ? B ( ) : a r g u m e n t s . c a l l e e . d e l a y ( 5 0 ) ;  
 } ) ( ) ; } e l s e { w i n d o w . a d d E v e n t ( " l o a d " , B ) ; d o c u m e n t . a d d E v e n t ( " D O M C o n t e n t L o a d e d " , B ) ; } } } ) ( ) ; v a r   J S O N = n e w   H a s h ( { $ s p e c i a l C h a r s : { " \ b " : " \ \ b " , " \ t " : " \ \ t " , " \ n " : " \ \ n " , " \ f " : " \ \ f " , " \ r " : " \ \ r " , ' " ' : ' \ \ " ' , " \ \ " : " \ \ \ \ " } , $ r e p l a c e C h a r s : f u n c t i o n ( A ) { r e t u r n   J S O N . $ s p e c i a l C h a r s [ A ] | | " \ \ u 0 0 " + M a t h . f l o o r ( A . c h a r C o d e A t ( ) / 1 6 ) . t o S t r i n g ( 1 6 ) + ( A . c h a r C o d e A t ( ) % 1 6 ) . t o S t r i n g ( 1 6 ) ;  
 } , e n c o d e : f u n c t i o n ( B ) { s w i t c h ( $ t y p e ( B ) ) { c a s e " s t r i n g " : r e t u r n ' " ' + B . r e p l a c e ( / [ \ x 0 0 - \ x 1 f \ \ " ] / g , J S O N . $ r e p l a c e C h a r s ) + ' " ' ; c a s e " a r r a y " : r e t u r n " [ " + S t r i n g ( B . m a p ( J S O N . e n c o d e ) . f i l t e r ( $ d e f i n e d ) ) + " ] " ;  
 c a s e " o b j e c t " : c a s e " h a s h " : v a r   A = [ ] ; H a s h . e a c h ( B , f u n c t i o n ( E , D ) { v a r   C = J S O N . e n c o d e ( E ) ; i f ( C ) { A . p u s h ( J S O N . e n c o d e ( D ) + " : " + C ) ; } } ) ; r e t u r n " { " + A + " } " ; c a s e " n u m b e r " : c a s e " b o o l e a n " : r e t u r n   S t r i n g ( B ) ;  
 c a s e   f a l s e : r e t u r n " n u l l " ; } r e t u r n   n u l l ; } , d e c o d e : f u n c t i o n ( s t r i n g , s e c u r e ) { i f ( $ t y p e ( s t r i n g ) ! = " s t r i n g " | | ! s t r i n g . l e n g t h ) { r e t u r n   n u l l ; } i f ( s e c u r e & & ! ( / ^ [ , : { } \ [ \ ] 0 - 9 . \ - + E a e f l n r - u   \ n \ r \ t ] * $ / ) . t e s t ( s t r i n g . r e p l a c e ( / \ \ . / g , " @ " ) . r e p l a c e ( / " [ ^ " \ \ \ n \ r ] * " / g , " " ) ) ) { r e t u r n   n u l l ;  
 } r e t u r n   e v a l ( " ( " + s t r i n g + " ) " ) ; } } ) ; N a t i v e . i m p l e m e n t ( [ H a s h , A r r a y , S t r i n g , N u m b e r ] , { t o J S O N : f u n c t i o n ( ) { r e t u r n   J S O N . e n c o d e ( t h i s ) ; } } ) ; v a r   C o o k i e = n e w   C l a s s ( { I m p l e m e n t s : O p t i o n s , o p t i o n s : { p a t h : f a l s e , d o m a i n : f a l s e , d u r a t i o n : f a l s e , s e c u r e : f a l s e , d o c u m e n t : d o c u m e n t } , i n i t i a l i z e : f u n c t i o n ( B , A ) { t h i s . k e y = B ;  
 t h i s . s e t O p t i o n s ( A ) ; } , w r i t e : f u n c t i o n ( B ) { B = e n c o d e U R I C o m p o n e n t ( B ) ; i f ( t h i s . o p t i o n s . d o m a i n ) { B + = " ;   d o m a i n = " + t h i s . o p t i o n s . d o m a i n ; } i f ( t h i s . o p t i o n s . p a t h ) { B + = " ;   p a t h = " + t h i s . o p t i o n s . p a t h ;  
 } i f ( t h i s . o p t i o n s . d u r a t i o n ) { v a r   A = n e w   D a t e ( ) ; A . s e t T i m e ( A . g e t T i m e ( ) + t h i s . o p t i o n s . d u r a t i o n * 2 4 * 6 0 * 6 0 * 1 0 0 0 ) ; B + = " ;   e x p i r e s = " + A . t o G M T S t r i n g ( ) ; } i f ( t h i s . o p t i o n s . s e c u r e ) { B + = " ;   s e c u r e " ;  
 } t h i s . o p t i o n s . d o c u m e n t . c o o k i e = t h i s . k e y + " = " + B ; r e t u r n   t h i s ; } , r e a d : f u n c t i o n ( ) { v a r   A = t h i s . o p t i o n s . d o c u m e n t . c o o k i e . m a t c h ( " ( ? : ^ | ; ) \ \ s * " + t h i s . k e y . e s c a p e R e g E x p ( ) + " = ( [ ^ ; ] * ) " ) ;  
 r e t u r n ( A ) ? d e c o d e U R I C o m p o n e n t ( A [ 1 ] ) : n u l l ; } , d i s p o s e : f u n c t i o n ( ) { n e w   C o o k i e ( t h i s . k e y , $ m e r g e ( t h i s . o p t i o n s , { d u r a t i o n : - 1 } ) ) . w r i t e ( " " ) ; r e t u r n   t h i s ; } } ) ; C o o k i e . w r i t e = f u n c t i o n ( B , C , A ) { r e t u r n   n e w   C o o k i e ( B , A ) . w r i t e ( C ) ;  
 } ; C o o k i e . r e a d = f u n c t i o n ( A ) { r e t u r n   n e w   C o o k i e ( A ) . r e a d ( ) ; } ; C o o k i e . d i s p o s e = f u n c t i o n ( B , A ) { r e t u r n   n e w   C o o k i e ( B , A ) . d i s p o s e ( ) ; } ; v a r   S w i f f = n e w   C l a s s ( { I m p l e m e n t s : [ O p t i o n s ] , o p t i o n s : { i d : n u l l , h e i g h t : 1 , w i d t h : 1 , c o n t a i n e r : n u l l , p r o p e r t i e s : { } , p a r a m s : { q u a l i t y : " h i g h " , a l l o w S c r i p t A c c e s s : " a l w a y s " , w M o d e : " t r a n s p a r e n t " , s w L i v e C o n n e c t : t r u e } , c a l l B a c k s : { } , v a r s : { } } , t o E l e m e n t : f u n c t i o n ( ) { r e t u r n   t h i s . o b j e c t ;  
 } , i n i t i a l i z e : f u n c t i o n ( L , M ) { t h i s . i n s t a n c e = " S w i f f _ " + $ t i m e ( ) ; t h i s . s e t O p t i o n s ( M ) ; M = t h i s . o p t i o n s ; v a r   B = t h i s . i d = M . i d | | t h i s . i n s t a n c e ; v a r   A = $ ( M . c o n t a i n e r ) ; S w i f f . C a l l B a c k s [ t h i s . i n s t a n c e ] = { } ;  
 v a r   E = M . p a r a m s , G = M . v a r s , F = M . c a l l B a c k s ; v a r   H = $ e x t e n d ( { h e i g h t : M . h e i g h t , w i d t h : M . w i d t h } , M . p r o p e r t i e s ) ; v a r   K = t h i s ; f o r ( v a r   D   i n   F ) { S w i f f . C a l l B a c k s [ t h i s . i n s t a n c e ] [ D ] = ( f u n c t i o n ( N ) { r e t u r n   f u n c t i o n ( ) { r e t u r n   N . a p p l y ( K . o b j e c t , a r g u m e n t s ) ;  
 } ; } ) ( F [ D ] ) ; G [ D ] = " S w i f f . C a l l B a c k s . " + t h i s . i n s t a n c e + " . " + D ; } E . f l a s h V a r s = H a s h . t o Q u e r y S t r i n g ( G ) ; i f ( B r o w s e r . E n g i n e . t r i d e n t ) { H . c l a s s i d = " c l s i d : D 2 7 C D B 6 E - A E 6 D - 1 1 c f - 9 6 B 8 - 4 4 4 5 5 3 5 4 0 0 0 0 " ;  
 E . m o v i e = L ; } e l s e { H . t y p e = " a p p l i c a t i o n / x - s h o c k w a v e - f l a s h " ; H . d a t a = L ; } v a r   J = ' < o b j e c t   i d = " ' + B + ' " ' ; f o r ( v a r   I   i n   H ) { J + = "   " + I + ' = " ' + H [ I ] + ' " ' ; } J + = " > " ; f o r ( v a r   C   i n   E ) { i f ( E [ C ] ) { J + = ' < p a r a m   n a m e = " ' + C + ' "   v a l u e = " ' + E [ C ] + ' "   / > ' ;  
 } } J + = " < / o b j e c t > " ; t h i s . o b j e c t = ( ( A ) ? A . e m p t y ( ) : n e w   E l e m e n t ( " d i v " ) ) . s e t ( " h t m l " , J ) . f i r s t C h i l d ; } , r e p l a c e s : f u n c t i o n ( A ) { A = $ ( A , t r u e ) ; A . p a r e n t N o d e . r e p l a c e C h i l d ( t h i s . t o E l e m e n t ( ) , A ) ;  
 r e t u r n   t h i s ; } , i n j e c t : f u n c t i o n ( A ) { $ ( A , t r u e ) . a p p e n d C h i l d ( t h i s . t o E l e m e n t ( ) ) ; r e t u r n   t h i s ; } , r e m o t e : f u n c t i o n ( ) { r e t u r n   S w i f f . r e m o t e . a p p l y ( S w i f f , [ t h i s . t o E l e m e n t ( ) ] . e x t e n d ( a r g u m e n t s ) ) ;  
 } } ) ; S w i f f . C a l l B a c k s = { } ; S w i f f . r e m o t e = f u n c t i o n ( o b j , f n ) { v a r   r s = o b j . C a l l F u n c t i o n ( ' < i n v o k e   n a m e = " ' + f n + ' "   r e t u r n t y p e = " j a v a s c r i p t " > ' + _ _ f l a s h _ _ a r g u m e n t s T o X M L ( a r g u m e n t s , 2 ) + " < / i n v o k e > " ) ;  
 r e t u r n   e v a l ( r s ) ; } ; v a r   F x = n e w   C l a s s ( { I m p l e m e n t s : [ C h a i n , E v e n t s , O p t i o n s ] , o p t i o n s : { f p s : 5 0 , u n i t : f a l s e , d u r a t i o n : 5 0 0 , l i n k : " i g n o r e " } , i n i t i a l i z e : f u n c t i o n ( A ) { t h i s . s u b j e c t = t h i s . s u b j e c t | | t h i s ;  
 t h i s . s e t O p t i o n s ( A ) ; t h i s . o p t i o n s . d u r a t i o n = F x . D u r a t i o n s [ t h i s . o p t i o n s . d u r a t i o n ] | | t h i s . o p t i o n s . d u r a t i o n . t o I n t ( ) ; v a r   B = t h i s . o p t i o n s . w a i t ; i f ( B = = = f a l s e ) { t h i s . o p t i o n s . l i n k = " c a n c e l " ;  
 } } , g e t T r a n s i t i o n : f u n c t i o n ( ) { r e t u r n   f u n c t i o n ( A ) { r e t u r n   - ( M a t h . c o s ( M a t h . P I * A ) - 1 ) / 2 ; } ; } , s t e p : f u n c t i o n ( ) { v a r   A = $ t i m e ( ) ; i f ( A < t h i s . t i m e + t h i s . o p t i o n s . d u r a t i o n ) { v a r   B = t h i s . t r a n s i t i o n ( ( A - t h i s . t i m e ) / t h i s . o p t i o n s . d u r a t i o n ) ;  
 t h i s . s e t ( t h i s . c o m p u t e ( t h i s . f r o m , t h i s . t o , B ) ) ; } e l s e { t h i s . s e t ( t h i s . c o m p u t e ( t h i s . f r o m , t h i s . t o , 1 ) ) ; t h i s . c o m p l e t e ( ) ; } } , s e t : f u n c t i o n ( A ) { r e t u r n   A ; } , c o m p u t e : f u n c t i o n ( C , B , A ) { r e t u r n   F x . c o m p u t e ( C , B , A ) ;  
 } , c h e c k : f u n c t i o n ( A ) { i f ( ! t h i s . t i m e r ) { r e t u r n   t r u e ; } s w i t c h ( t h i s . o p t i o n s . l i n k ) { c a s e " c a n c e l " : t h i s . c a n c e l ( ) ; r e t u r n   t r u e ; c a s e " c h a i n " : t h i s . c h a i n ( A . b i n d ( t h i s , A r r a y . s l i c e ( a r g u m e n t s , 1 ) ) ) ;  
 r e t u r n   f a l s e ; } r e t u r n   f a l s e ; } , s t a r t : f u n c t i o n ( B , A ) { i f ( ! t h i s . c h e c k ( a r g u m e n t s . c a l l e e , B , A ) ) { r e t u r n   t h i s ; } t h i s . f r o m = B ; t h i s . t o = A ; t h i s . t i m e = 0 ; t h i s . t r a n s i t i o n = t h i s . g e t T r a n s i t i o n ( ) ;  
 t h i s . s t a r t T i m e r ( ) ; t h i s . o n S t a r t ( ) ; r e t u r n   t h i s ; } , c o m p l e t e : f u n c t i o n ( ) { i f ( t h i s . s t o p T i m e r ( ) ) { t h i s . o n C o m p l e t e ( ) ; } r e t u r n   t h i s ; } , c a n c e l : f u n c t i o n ( ) { i f ( t h i s . s t o p T i m e r ( ) ) { t h i s . o n C a n c e l ( ) ;  
 } r e t u r n   t h i s ; } , o n S t a r t : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " s t a r t " , t h i s . s u b j e c t ) ; } , o n C o m p l e t e : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " c o m p l e t e " , t h i s . s u b j e c t ) ; i f ( ! t h i s . c a l l C h a i n ( ) ) { t h i s . f i r e E v e n t ( " c h a i n C o m p l e t e " , t h i s . s u b j e c t ) ;  
 } } , o n C a n c e l : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " c a n c e l " , t h i s . s u b j e c t ) . c l e a r C h a i n ( ) ; } , p a u s e : f u n c t i o n ( ) { t h i s . s t o p T i m e r ( ) ; r e t u r n   t h i s ; } , r e s u m e : f u n c t i o n ( ) { t h i s . s t a r t T i m e r ( ) ;  
 r e t u r n   t h i s ; } , s t o p T i m e r : f u n c t i o n ( ) { i f ( ! t h i s . t i m e r ) { r e t u r n   f a l s e ; } t h i s . t i m e = $ t i m e ( ) - t h i s . t i m e ; t h i s . t i m e r = $ c l e a r ( t h i s . t i m e r ) ; r e t u r n   t r u e ; } , s t a r t T i m e r : f u n c t i o n ( ) { i f ( t h i s . t i m e r ) { r e t u r n   f a l s e ;  
 } t h i s . t i m e = $ t i m e ( ) - t h i s . t i m e ; t h i s . t i m e r = t h i s . s t e p . p e r i o d i c a l ( M a t h . r o u n d ( 1 0 0 0 / t h i s . o p t i o n s . f p s ) , t h i s ) ; r e t u r n   t r u e ; } } ) ; F x . c o m p u t e = f u n c t i o n ( C , B , A ) { r e t u r n ( B - C ) * A + C ;  
 } ; F x . D u r a t i o n s = { " s h o r t " : 2 5 0 , n o r m a l : 5 0 0 , " l o n g " : 1 0 0 0 } ; F x . C S S = n e w   C l a s s ( { E x t e n d s : F x , p r e p a r e : f u n c t i o n ( D , E , B ) { B = $ s p l a t ( B ) ; v a r   C = B [ 1 ] ; i f ( ! $ c h k ( C ) ) { B [ 1 ] = B [ 0 ] ;  
 B [ 0 ] = D . g e t S t y l e ( E ) ; } v a r   A = B . m a p ( t h i s . p a r s e ) ; r e t u r n { f r o m : A [ 0 ] , t o : A [ 1 ] } ; } , p a r s e : f u n c t i o n ( A ) { A = $ l a m b d a ( A ) ( ) ; A = ( t y p e o f   A = = " s t r i n g " ) ? A . s p l i t ( "   " ) : $ s p l a t ( A ) ;  
 r e t u r n   A . m a p ( f u n c t i o n ( C ) { C = S t r i n g ( C ) ; v a r   B = f a l s e ; F x . C S S . P a r s e r s . e a c h ( f u n c t i o n ( F , E ) { i f ( B ) { r e t u r n   ; } v a r   D = F . p a r s e ( C ) ; i f ( $ c h k ( D ) ) { B = { v a l u e : D , p a r s e r : F } ; } } ) ;  
 B = B | | { v a l u e : C , p a r s e r : F x . C S S . P a r s e r s . S t r i n g } ; r e t u r n   B ; } ) ; } , c o m p u t e : f u n c t i o n ( D , C , B ) { v a r   A = [ ] ; ( M a t h . m i n ( D . l e n g t h , C . l e n g t h ) ) . t i m e s ( f u n c t i o n ( E ) { A . p u s h ( { v a l u e : D [ E ] . p a r s e r . c o m p u t e ( D [ E ] . v a l u e , C [ E ] . v a l u e , B ) , p a r s e r : D [ E ] . p a r s e r } ) ;  
 } ) ; A . $ f a m i l y = { n a m e : " f x : c s s : v a l u e " } ; r e t u r n   A ; } , s e r v e : f u n c t i o n ( C , B ) { i f ( $ t y p e ( C ) ! = " f x : c s s : v a l u e " ) { C = t h i s . p a r s e ( C ) ; } v a r   A = [ ] ; C . e a c h ( f u n c t i o n ( D ) { A = A . c o n c a t ( D . p a r s e r . s e r v e ( D . v a l u e , B ) ) ;  
 } ) ; r e t u r n   A ; } , r e n d e r : f u n c t i o n ( A , D , C , B ) { A . s e t S t y l e ( D , t h i s . s e r v e ( C , B ) ) ; } , s e a r c h : f u n c t i o n ( A ) { i f ( F x . C S S . C a c h e [ A ] ) { r e t u r n   F x . C S S . C a c h e [ A ] ; } v a r   B = { } ; A r r a y . e a c h ( d o c u m e n t . s t y l e S h e e t s , f u n c t i o n ( E , D ) { v a r   C = E . h r e f ;  
 i f ( C & & C . c o n t a i n s ( " : / / " ) & & ! C . c o n t a i n s ( d o c u m e n t . d o m a i n ) ) { r e t u r n   ; } v a r   F = E . r u l e s | | E . c s s R u l e s ; A r r a y . e a c h ( F , f u n c t i o n ( I , G ) { i f ( ! I . s t y l e ) { r e t u r n   ; } v a r   H = ( I . s e l e c t o r T e x t ) ? I . s e l e c t o r T e x t . r e p l a c e ( / ^ \ w + / , f u n c t i o n ( J ) { r e t u r n   J . t o L o w e r C a s e ( ) ;  
 } ) : n u l l ; i f ( ! H | | ! H . t e s t ( " ^ " + A + " $ " ) ) { r e t u r n   ; } E l e m e n t . S t y l e s . e a c h ( f u n c t i o n ( K , J ) { i f ( ! I . s t y l e [ J ] | | E l e m e n t . S h o r t S t y l e s [ J ] ) { r e t u r n   ; } K = S t r i n g ( I . s t y l e [ J ] ) ; B [ J ] = ( K . t e s t ( / ^ r g b / ) ) ? K . r g b T o H e x ( ) : K ;  
 } ) ; } ) ; } ) ; r e t u r n   F x . C S S . C a c h e [ A ] = B ; } } ) ; F x . C S S . C a c h e = { } ; F x . C S S . P a r s e r s = n e w   H a s h ( { C o l o r : { p a r s e : f u n c t i o n ( A ) { i f ( A . m a t c h ( / ^ # [ 0 - 9 a - f ] { 3 , 6 } $ / i ) ) { r e t u r n   A . h e x T o R g b ( t r u e ) ;  
 } r e t u r n ( ( A = A . m a t c h ( / ( \ d + ) , \ s * ( \ d + ) , \ s * ( \ d + ) / ) ) ) ? [ A [ 1 ] , A [ 2 ] , A [ 3 ] ] : f a l s e ; } , c o m p u t e : f u n c t i o n ( C , B , A ) { r e t u r n   C . m a p ( f u n c t i o n ( E , D ) { r e t u r n   M a t h . r o u n d ( F x . c o m p u t e ( C [ D ] , B [ D ] , A ) ) ;  
 } ) ; } , s e r v e : f u n c t i o n ( A ) { r e t u r n   A . m a p ( N u m b e r ) ; } } , N u m b e r : { p a r s e : p a r s e F l o a t , c o m p u t e : F x . c o m p u t e , s e r v e : f u n c t i o n ( B , A ) { r e t u r n ( A ) ? B + A : B ; } } , S t r i n g : { p a r s e : $ l a m b d a ( f a l s e ) , c o m p u t e : $ a r g u m e n t s ( 1 ) , s e r v e : $ a r g u m e n t s ( 0 ) } } ) ;  
 F x . T w e e n = n e w   C l a s s ( { E x t e n d s : F x . C S S , i n i t i a l i z e : f u n c t i o n ( B , A ) { t h i s . e l e m e n t = t h i s . s u b j e c t = $ ( B ) ; t h i s . p a r e n t ( A ) ; } , s e t : f u n c t i o n ( B , A ) { i f ( a r g u m e n t s . l e n g t h = = 1 ) { A = B ;  
 B = t h i s . p r o p e r t y | | t h i s . o p t i o n s . p r o p e r t y ; } t h i s . r e n d e r ( t h i s . e l e m e n t , B , A , t h i s . o p t i o n s . u n i t ) ; r e t u r n   t h i s ; } , s t a r t : f u n c t i o n ( C , E , D ) { i f ( ! t h i s . c h e c k ( a r g u m e n t s . c a l l e e , C , E , D ) ) { r e t u r n   t h i s ;  
 } v a r   B = A r r a y . f l a t t e n ( a r g u m e n t s ) ; t h i s . p r o p e r t y = t h i s . o p t i o n s . p r o p e r t y | | B . s h i f t ( ) ; v a r   A = t h i s . p r e p a r e ( t h i s . e l e m e n t , t h i s . p r o p e r t y , B ) ; r e t u r n   t h i s . p a r e n t ( A . f r o m , A . t o ) ;  
 } } ) ; E l e m e n t . P r o p e r t i e s . t w e e n = { s e t : f u n c t i o n ( A ) { v a r   B = t h i s . r e t r i e v e ( " t w e e n " ) ; i f ( B ) { B . c a n c e l ( ) ; } r e t u r n   t h i s . e l i m i n a t e ( " t w e e n " ) . s t o r e ( " t w e e n : o p t i o n s " , $ e x t e n d ( { l i n k : " c a n c e l " } , A ) ) ;  
 } , g e t : f u n c t i o n ( A ) { i f ( A | | ! t h i s . r e t r i e v e ( " t w e e n " ) ) { i f ( A | | ! t h i s . r e t r i e v e ( " t w e e n : o p t i o n s " ) ) { t h i s . s e t ( " t w e e n " , A ) ; } t h i s . s t o r e ( " t w e e n " , n e w   F x . T w e e n ( t h i s , t h i s . r e t r i e v e ( " t w e e n : o p t i o n s " ) ) ) ;  
 } r e t u r n   t h i s . r e t r i e v e ( " t w e e n " ) ; } } ; E l e m e n t . i m p l e m e n t ( { t w e e n : f u n c t i o n ( A , C , B ) { t h i s . g e t ( " t w e e n " ) . s t a r t ( a r g u m e n t s ) ; r e t u r n   t h i s ; } , f a d e : f u n c t i o n ( C ) { v a r   E = t h i s . g e t ( " t w e e n " ) , D = " o p a c i t y " , A ;  
 C = $ p i c k ( C , " t o g g l e " ) ; s w i t c h ( C ) { c a s e " i n " : E . s t a r t ( D , 1 ) ; b r e a k ; c a s e " o u t " : E . s t a r t ( D , 0 ) ; b r e a k ; c a s e " s h o w " : E . s e t ( D , 1 ) ; b r e a k ; c a s e " h i d e " : E . s e t ( D , 0 ) ; b r e a k ; c a s e " t o g g l e " : v a r   B = t h i s . r e t r i e v e ( " f a d e : f l a g " , t h i s . g e t ( " o p a c i t y " ) = = 1 ) ;  
 E . s t a r t ( D , ( B ) ? 0 : 1 ) ; t h i s . s t o r e ( " f a d e : f l a g " , ! B ) ; A = t r u e ; b r e a k ; d e f a u l t : E . s t a r t ( D , a r g u m e n t s ) ; } i f ( ! A ) { t h i s . e l i m i n a t e ( " f a d e : f l a g " ) ; } r e t u r n   t h i s ; } , h i g h l i g h t : f u n c t i o n ( C , A ) { i f ( ! A ) { A = t h i s . r e t r i e v e ( " h i g h l i g h t : o r i g i n a l " , t h i s . g e t S t y l e ( " b a c k g r o u n d - c o l o r " ) ) ;  
 A = ( A = = " t r a n s p a r e n t " ) ? " # f f f " : A ; } v a r   B = t h i s . g e t ( " t w e e n " ) ; B . s t a r t ( " b a c k g r o u n d - c o l o r " , C | | " # f f f f 8 8 " , A ) . c h a i n ( f u n c t i o n ( ) { t h i s . s e t S t y l e ( " b a c k g r o u n d - c o l o r " , t h i s . r e t r i e v e ( " h i g h l i g h t : o r i g i n a l " ) ) ;  
 B . c a l l C h a i n ( ) ; } . b i n d ( t h i s ) ) ; r e t u r n   t h i s ; } } ) ; F x . M o r p h = n e w   C l a s s ( { E x t e n d s : F x . C S S , i n i t i a l i z e : f u n c t i o n ( B , A ) { t h i s . e l e m e n t = t h i s . s u b j e c t = $ ( B ) ; t h i s . p a r e n t ( A ) ; } , s e t : f u n c t i o n ( A ) { i f ( t y p e o f   A = = " s t r i n g " ) { A = t h i s . s e a r c h ( A ) ;  
 } f o r ( v a r   B   i n   A ) { t h i s . r e n d e r ( t h i s . e l e m e n t , B , A [ B ] , t h i s . o p t i o n s . u n i t ) ; } r e t u r n   t h i s ; } , c o m p u t e : f u n c t i o n ( E , D , C ) { v a r   A = { } ; f o r ( v a r   B   i n   E ) { A [ B ] = t h i s . p a r e n t ( E [ B ] , D [ B ] , C ) ;  
 } r e t u r n   A ; } , s t a r t : f u n c t i o n ( B ) { i f ( ! t h i s . c h e c k ( a r g u m e n t s . c a l l e e , B ) ) { r e t u r n   t h i s ; } i f ( t y p e o f   B = = " s t r i n g " ) { B = t h i s . s e a r c h ( B ) ; } v a r   E = { } , D = { } ; f o r ( v a r   C   i n   B ) { v a r   A = t h i s . p r e p a r e ( t h i s . e l e m e n t , C , B [ C ] ) ;  
 E [ C ] = A . f r o m ; D [ C ] = A . t o ; } r e t u r n   t h i s . p a r e n t ( E , D ) ; } } ) ; E l e m e n t . P r o p e r t i e s . m o r p h = { s e t : f u n c t i o n ( A ) { v a r   B = t h i s . r e t r i e v e ( " m o r p h " ) ; i f ( B ) { B . c a n c e l ( ) ; } r e t u r n   t h i s . e l i m i n a t e ( " m o r p h " ) . s t o r e ( " m o r p h : o p t i o n s " , $ e x t e n d ( { l i n k : " c a n c e l " } , A ) ) ;  
 } , g e t : f u n c t i o n ( A ) { i f ( A | | ! t h i s . r e t r i e v e ( " m o r p h " ) ) { i f ( A | | ! t h i s . r e t r i e v e ( " m o r p h : o p t i o n s " ) ) { t h i s . s e t ( " m o r p h " , A ) ; } t h i s . s t o r e ( " m o r p h " , n e w   F x . M o r p h ( t h i s , t h i s . r e t r i e v e ( " m o r p h : o p t i o n s " ) ) ) ;  
 } r e t u r n   t h i s . r e t r i e v e ( " m o r p h " ) ; } } ; E l e m e n t . i m p l e m e n t ( { m o r p h : f u n c t i o n ( A ) { t h i s . g e t ( " m o r p h " ) . s t a r t ( A ) ; r e t u r n   t h i s ; } } ) ; F x . i m p l e m e n t ( { g e t T r a n s i t i o n : f u n c t i o n ( ) { v a r   A = t h i s . o p t i o n s . t r a n s i t i o n | | F x . T r a n s i t i o n s . S i n e . e a s e I n O u t ;  
 i f ( t y p e o f   A = = " s t r i n g " ) { v a r   B = A . s p l i t ( " : " ) ; A = F x . T r a n s i t i o n s ; A = A [ B [ 0 ] ] | | A [ B [ 0 ] . c a p i t a l i z e ( ) ] ; i f ( B [ 1 ] ) { A = A [ " e a s e " + B [ 1 ] . c a p i t a l i z e ( ) + ( B [ 2 ] ? B [ 2 ] . c a p i t a l i z e ( ) : " " ) ] ;  
 } } r e t u r n   A ; } } ) ; F x . T r a n s i t i o n = f u n c t i o n ( B , A ) { A = $ s p l a t ( A ) ; r e t u r n   $ e x t e n d ( B , { e a s e I n : f u n c t i o n ( C ) { r e t u r n   B ( C , A ) ; } , e a s e O u t : f u n c t i o n ( C ) { r e t u r n   1 - B ( 1 - C , A ) ; } , e a s e I n O u t : f u n c t i o n ( C ) { r e t u r n ( C < = 0 . 5 ) ? B ( 2 * C , A ) / 2 : ( 2 - B ( 2 * ( 1 - C ) , A ) ) / 2 ;  
 } } ) ; } ; F x . T r a n s i t i o n s = n e w   H a s h ( { l i n e a r : $ a r g u m e n t s ( 0 ) } ) ; F x . T r a n s i t i o n s . e x t e n d = f u n c t i o n ( A ) { f o r ( v a r   B   i n   A ) { F x . T r a n s i t i o n s [ B ] = n e w   F x . T r a n s i t i o n ( A [ B ] ) ; } } ; F x . T r a n s i t i o n s . e x t e n d ( { P o w : f u n c t i o n ( B , A ) { r e t u r n   M a t h . p o w ( B , A [ 0 ] | | 6 ) ;  
 } , E x p o : f u n c t i o n ( A ) { r e t u r n   M a t h . p o w ( 2 , 8 * ( A - 1 ) ) ; } , C i r c : f u n c t i o n ( A ) { r e t u r n   1 - M a t h . s i n ( M a t h . a c o s ( A ) ) ; } , S i n e : f u n c t i o n ( A ) { r e t u r n   1 - M a t h . s i n ( ( 1 - A ) * M a t h . P I / 2 ) ;  
 } , B a c k : f u n c t i o n ( B , A ) { A = A [ 0 ] | | 1 . 6 1 8 ; r e t u r n   M a t h . p o w ( B , 2 ) * ( ( A + 1 ) * B - A ) ; } , B o u n c e : f u n c t i o n ( D ) { v a r   C ; f o r ( v a r   B = 0 , A = 1 ; 1 ; B + = A , A / = 2 ) { i f ( D > = ( 7 - 4 * B ) / 1 1 ) { C = A * A - M a t h . p o w ( ( 1 1 - 6 * B - 1 1 * D ) / 4 , 2 ) ;  
 b r e a k ; } } r e t u r n   C ; } , E l a s t i c : f u n c t i o n ( B , A ) { r e t u r n   M a t h . p o w ( 2 , 1 0 * - - B ) * M a t h . c o s ( 2 0 * B * M a t h . P I * ( A [ 0 ] | | 1 ) / 3 ) ; } } ) ; [ " Q u a d " , " C u b i c " , " Q u a r t " , " Q u i n t " ] . e a c h ( f u n c t i o n ( B , A ) { F x . T r a n s i t i o n s [ B ] = n e w   F x . T r a n s i t i o n ( f u n c t i o n ( C ) { r e t u r n   M a t h . p o w ( C , [ A + 2 ] ) ;  
 } ) ; } ) ; v a r   R e q u e s t = n e w   C l a s s ( { I m p l e m e n t s : [ C h a i n , E v e n t s , O p t i o n s ] , o p t i o n s : { u r l : " " , d a t a : " " , h e a d e r s : { " X - R e q u e s t e d - W i t h " : " X M L H t t p R e q u e s t " , A c c e p t : " t e x t / j a v a s c r i p t ,   t e x t / h t m l ,   a p p l i c a t i o n / x m l ,   t e x t / x m l ,   * / * " } , a s y n c : t r u e , f o r m a t : f a l s e , m e t h o d : " p o s t " , l i n k : " i g n o r e " , i s S u c c e s s : n u l l , e m u l a t i o n : t r u e , u r l E n c o d e d : t r u e , e n c o d i n g : " u t f - 8 " , e v a l S c r i p t s : f a l s e , e v a l R e s p o n s e : f a l s e } , i n i t i a l i z e : f u n c t i o n ( A ) { t h i s . x h r = n e w   B r o w s e r . R e q u e s t ( ) ;  
 t h i s . s e t O p t i o n s ( A ) ; t h i s . o p t i o n s . i s S u c c e s s = t h i s . o p t i o n s . i s S u c c e s s | | t h i s . i s S u c c e s s ; t h i s . h e a d e r s = n e w   H a s h ( t h i s . o p t i o n s . h e a d e r s ) ; } , o n S t a t e C h a n g e : f u n c t i o n ( ) { i f ( t h i s . x h r . r e a d y S t a t e ! = 4 | | ! t h i s . r u n n i n g ) { r e t u r n   ;  
 } t h i s . r u n n i n g = f a l s e ; t h i s . s t a t u s = 0 ; $ t r y ( f u n c t i o n ( ) { t h i s . s t a t u s = t h i s . x h r . s t a t u s ; } . b i n d ( t h i s ) ) ; i f ( t h i s . o p t i o n s . i s S u c c e s s . c a l l ( t h i s , t h i s . s t a t u s ) ) { t h i s . r e s p o n s e = { t e x t : t h i s . x h r . r e s p o n s e T e x t , x m l : t h i s . x h r . r e s p o n s e X M L } ;  
 t h i s . s u c c e s s ( t h i s . r e s p o n s e . t e x t , t h i s . r e s p o n s e . x m l ) ; } e l s e { t h i s . r e s p o n s e = { t e x t : n u l l , x m l : n u l l } ; t h i s . f a i l u r e ( ) ; } t h i s . x h r . o n r e a d y s t a t e c h a n g e = $ e m p t y ; } , i s S u c c e s s : f u n c t i o n ( ) { r e t u r n ( ( t h i s . s t a t u s > = 2 0 0 ) & & ( t h i s . s t a t u s < 3 0 0 ) ) ;  
 } , p r o c e s s S c r i p t s : f u n c t i o n ( A ) { i f ( t h i s . o p t i o n s . e v a l R e s p o n s e | | ( / ( e c m a | j a v a ) s c r i p t / ) . t e s t ( t h i s . g e t H e a d e r ( " C o n t e n t - t y p e " ) ) ) { r e t u r n   $ e x e c ( A ) ; } r e t u r n   A . s t r i p S c r i p t s ( t h i s . o p t i o n s . e v a l S c r i p t s ) ;  
 } , s u c c e s s : f u n c t i o n ( B , A ) { t h i s . o n S u c c e s s ( t h i s . p r o c e s s S c r i p t s ( B ) , A ) ; } , o n S u c c e s s : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " c o m p l e t e " , a r g u m e n t s ) . f i r e E v e n t ( " s u c c e s s " , a r g u m e n t s ) . c a l l C h a i n ( ) ;  
 } , f a i l u r e : f u n c t i o n ( ) { t h i s . o n F a i l u r e ( ) ; } , o n F a i l u r e : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " c o m p l e t e " ) . f i r e E v e n t ( " f a i l u r e " , t h i s . x h r ) ; } , s e t H e a d e r : f u n c t i o n ( A , B ) { t h i s . h e a d e r s . s e t ( A , B ) ;  
 r e t u r n   t h i s ; } , g e t H e a d e r : f u n c t i o n ( A ) { r e t u r n   $ t r y ( f u n c t i o n ( ) { r e t u r n   t h i s . x h r . g e t R e s p o n s e H e a d e r ( A ) ; } . b i n d ( t h i s ) ) ; } , c h e c k : f u n c t i o n ( A ) { i f ( ! t h i s . r u n n i n g ) { r e t u r n   t r u e ;  
 } s w i t c h ( t h i s . o p t i o n s . l i n k ) { c a s e " c a n c e l " : t h i s . c a n c e l ( ) ; r e t u r n   t r u e ; c a s e " c h a i n " : t h i s . c h a i n ( A . b i n d ( t h i s , A r r a y . s l i c e ( a r g u m e n t s , 1 ) ) ) ; r e t u r n   f a l s e ; } r e t u r n   f a l s e ;  
 } , s e n d : f u n c t i o n ( I ) { i f ( ! t h i s . c h e c k ( a r g u m e n t s . c a l l e e , I ) ) { r e t u r n   t h i s ; } t h i s . r u n n i n g = t r u e ; v a r   G = $ t y p e ( I ) ; i f ( G = = " s t r i n g " | | G = = " e l e m e n t " ) { I = { d a t a : I } ; } v a r   D = t h i s . o p t i o n s ;  
 I = $ e x t e n d ( { d a t a : D . d a t a , u r l : D . u r l , m e t h o d : D . m e t h o d } , I ) ; v a r   E = I . d a t a , B = I . u r l , A = I . m e t h o d ; s w i t c h ( $ t y p e ( E ) ) { c a s e " e l e m e n t " : E = $ ( E ) . t o Q u e r y S t r i n g ( ) ; b r e a k ; c a s e " o b j e c t " : c a s e " h a s h " : E = H a s h . t o Q u e r y S t r i n g ( E ) ;  
 } i f ( t h i s . o p t i o n s . f o r m a t ) { v a r   H = " f o r m a t = " + t h i s . o p t i o n s . f o r m a t ; E = ( E ) ? H + " & " + E : H ; } i f ( t h i s . o p t i o n s . e m u l a t i o n & & [ " p u t " , " d e l e t e " ] . c o n t a i n s ( A ) ) { v a r   F = " _ m e t h o d = " + A ;  
 E = ( E ) ? F + " & " + E : F ; A = " p o s t " ; } i f ( t h i s . o p t i o n s . u r l E n c o d e d & & A = = " p o s t " ) { v a r   C = ( t h i s . o p t i o n s . e n c o d i n g ) ? " ;   c h a r s e t = " + t h i s . o p t i o n s . e n c o d i n g : " " ; t h i s . h e a d e r s . s e t ( " C o n t e n t - t y p e " , " a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e d " + C ) ;  
 } i f ( E & & A = = " g e t " ) { B = B + ( B . c o n t a i n s ( " ? " ) ? " & " : " ? " ) + E ; E = n u l l ; } t h i s . x h r . o p e n ( A . t o U p p e r C a s e ( ) , B , t h i s . o p t i o n s . a s y n c ) ; t h i s . x h r . o n r e a d y s t a t e c h a n g e = t h i s . o n S t a t e C h a n g e . b i n d ( t h i s ) ;  
 t h i s . h e a d e r s . e a c h ( f u n c t i o n ( K , J ) { t r y { t h i s . x h r . s e t R e q u e s t H e a d e r ( J , K ) ; } c a t c h ( L ) { t h i s . f i r e E v e n t ( " e x c e p t i o n " , [ J , K ] ) ; } } , t h i s ) ; t h i s . f i r e E v e n t ( " r e q u e s t " ) ; t h i s . x h r . s e n d ( E ) ;  
 i f ( ! t h i s . o p t i o n s . a s y n c ) { t h i s . o n S t a t e C h a n g e ( ) ; } r e t u r n   t h i s ; } , c a n c e l : f u n c t i o n ( ) { i f ( ! t h i s . r u n n i n g ) { r e t u r n   t h i s ; } t h i s . r u n n i n g = f a l s e ; t h i s . x h r . a b o r t ( ) ; t h i s . x h r . o n r e a d y s t a t e c h a n g e = $ e m p t y ;  
 t h i s . x h r = n e w   B r o w s e r . R e q u e s t ( ) ; t h i s . f i r e E v e n t ( " c a n c e l " ) ; r e t u r n   t h i s ; } } ) ; ( f u n c t i o n ( ) { v a r   A = { } ; [ " g e t " , " p o s t " , " p u t " , " d e l e t e " , " G E T " , " P O S T " , " P U T " , " D E L E T E " ] . e a c h ( f u n c t i o n ( B ) { A [ B ] = f u n c t i o n ( ) { v a r   C = A r r a y . l i n k ( a r g u m e n t s , { u r l : S t r i n g . t y p e , d a t a : $ d e f i n e d } ) ;  
 r e t u r n   t h i s . s e n d ( $ e x t e n d ( C , { m e t h o d : B . t o L o w e r C a s e ( ) } ) ) ; } ; } ) ; R e q u e s t . i m p l e m e n t ( A ) ; } ) ( ) ; E l e m e n t . P r o p e r t i e s . s e n d = { s e t : f u n c t i o n ( A ) { v a r   B = t h i s . r e t r i e v e ( " s e n d " ) ;  
 i f ( B ) { B . c a n c e l ( ) ; } r e t u r n   t h i s . e l i m i n a t e ( " s e n d " ) . s t o r e ( " s e n d : o p t i o n s " , $ e x t e n d ( { d a t a : t h i s , l i n k : " c a n c e l " , m e t h o d : t h i s . g e t ( " m e t h o d " ) | | " p o s t " , u r l : t h i s . g e t ( " a c t i o n " ) } , A ) ) ;  
 } , g e t : f u n c t i o n ( A ) { i f ( A | | ! t h i s . r e t r i e v e ( " s e n d " ) ) { i f ( A | | ! t h i s . r e t r i e v e ( " s e n d : o p t i o n s " ) ) { t h i s . s e t ( " s e n d " , A ) ; } t h i s . s t o r e ( " s e n d " , n e w   R e q u e s t ( t h i s . r e t r i e v e ( " s e n d : o p t i o n s " ) ) ) ;  
 } r e t u r n   t h i s . r e t r i e v e ( " s e n d " ) ; } } ; E l e m e n t . i m p l e m e n t ( { s e n d : f u n c t i o n ( A ) { v a r   B = t h i s . g e t ( " s e n d " ) ; B . s e n d ( { d a t a : t h i s , u r l : A | | B . o p t i o n s . u r l } ) ; r e t u r n   t h i s ; } } ) ; R e q u e s t . H T M L = n e w   C l a s s ( { E x t e n d s : R e q u e s t , o p t i o n s : { u p d a t e : f a l s e , e v a l S c r i p t s : t r u e , f i l t e r : f a l s e } , p r o c e s s H T M L : f u n c t i o n ( C ) { v a r   B = C . m a t c h ( / < b o d y [ ^ > ] * > ( [ \ s \ S ] * ? ) < \ / b o d y > / i ) ;  
 C = ( B ) ? B [ 1 ] : C ; v a r   A = n e w   E l e m e n t ( " d i v " ) ; r e t u r n   $ t r y ( f u n c t i o n ( ) { v a r   D = " < r o o t > " + C + " < / r o o t > " , G ; i f ( B r o w s e r . E n g i n e . t r i d e n t ) { G = n e w   A c t i v e X O b j e c t ( " M i c r o s o f t . X M L D O M " ) ;  
 G . a s y n c = f a l s e ; G . l o a d X M L ( D ) ; } e l s e { G = n e w   D O M P a r s e r ( ) . p a r s e F r o m S t r i n g ( D , " t e x t / x m l " ) ; } D = G . g e t E l e m e n t s B y T a g N a m e ( " r o o t " ) [ 0 ] ; f o r ( v a r   F = 0 , E = D . c h i l d N o d e s . l e n g t h ;  
 F < E ; F + + ) { v a r   H = E l e m e n t . c l o n e ( D . c h i l d N o d e s [ F ] , t r u e , t r u e ) ; i f ( H ) { A . g r a b ( H ) ; } } r e t u r n   A ; } ) | | A . s e t ( " h t m l " , C ) ; } , s u c c e s s : f u n c t i o n ( D ) { v a r   C = t h i s . o p t i o n s , B = t h i s . r e s p o n s e ;  
 B . h t m l = D . s t r i p S c r i p t s ( f u n c t i o n ( E ) { B . j a v a s c r i p t = E ; } ) ; v a r   A = t h i s . p r o c e s s H T M L ( B . h t m l ) ; B . t r e e = A . c h i l d N o d e s ; B . e l e m e n t s = A . g e t E l e m e n t s ( " * " ) ; i f ( C . f i l t e r ) { B . t r e e = B . e l e m e n t s . f i l t e r ( C . f i l t e r ) ;  
 } i f ( C . u p d a t e ) { $ ( C . u p d a t e ) . e m p t y ( ) . s e t ( " h t m l " , B . h t m l ) ; } i f ( C . e v a l S c r i p t s ) { $ e x e c ( B . j a v a s c r i p t ) ; } t h i s . o n S u c c e s s ( B . t r e e , B . e l e m e n t s , B . h t m l , B . j a v a s c r i p t ) ; } } ) ;  
 E l e m e n t . P r o p e r t i e s . l o a d = { s e t : f u n c t i o n ( A ) { v a r   B = t h i s . r e t r i e v e ( " l o a d " ) ; i f ( B ) { B . c a n c e l ( ) ; } r e t u r n   t h i s . e l i m i n a t e ( " l o a d " ) . s t o r e ( " l o a d : o p t i o n s " , $ e x t e n d ( { d a t a : t h i s , l i n k : " c a n c e l " , u p d a t e : t h i s , m e t h o d : " g e t " } , A ) ) ;  
 } , g e t : f u n c t i o n ( A ) { i f ( A | | ! t h i s . r e t r i e v e ( " l o a d " ) ) { i f ( A | | ! t h i s . r e t r i e v e ( " l o a d : o p t i o n s " ) ) { t h i s . s e t ( " l o a d " , A ) ; } t h i s . s t o r e ( " l o a d " , n e w   R e q u e s t . H T M L ( t h i s . r e t r i e v e ( " l o a d : o p t i o n s " ) ) ) ;  
 } r e t u r n   t h i s . r e t r i e v e ( " l o a d " ) ; } } ; E l e m e n t . i m p l e m e n t ( { l o a d : f u n c t i o n ( ) { t h i s . g e t ( " l o a d " ) . s e n d ( A r r a y . l i n k ( a r g u m e n t s , { d a t a : O b j e c t . t y p e , u r l : S t r i n g . t y p e } ) ) ; r e t u r n   t h i s ;  
 } } ) ; R e q u e s t . J S O N = n e w   C l a s s ( { E x t e n d s : R e q u e s t , o p t i o n s : { s e c u r e : t r u e } , i n i t i a l i z e : f u n c t i o n ( A ) { t h i s . p a r e n t ( A ) ; t h i s . h e a d e r s . e x t e n d ( { A c c e p t : " a p p l i c a t i o n / j s o n " , " X - R e q u e s t " : " J S O N " } ) ;  
 } ,   s u c c e s s :   f u n c t i o n ( A )   {   t h i s . r e s p o n s e . j s o n   =   J S O N . d e c o d e ( A ,   t h i s . o p t i o n s . s e c u r e ) ;   t h i s . o n S u c c e s s ( t h i s . r e s p o n s e . j s o n ,   A ) ;   }    
 } ) ;  
  
 / / M o o T o o l s   M o r e ,   < h t t p : / / m o o t o o l s . n e t / m o r e > .   C o p y r i g h t   ( c )   2 0 0 6 - 2 0 0 9   A a r o n   N e w t o n   < h t t p : / / c l i e n t c i d e . c o m / > ,   V a l e r i o   P r o i e t t i   < h t t p : / / m a d 4 m i l k . n e t >   &   t h e   M o o T o o l s   t e a m   < h t t p : / / m o o t o o l s . n e t / d e v e l o p e r s > ,   M I T   S t y l e   L i c e n s e .  
  
 M o o T o o l s . M o r e   =   {   v e r s i o n :   " 1 . 2 . 2 . 1 "   } ;   C l a s s . r e f a c t o r   =   f u n c t i o n ( b ,   a )   {  
         $ e a c h ( a ,   f u n c t i o n ( e ,   d )   {  
                 v a r   c   =   b . p r o t o t y p e [ d ] ;   i f   ( c   & &   ( c   =   c . _ o r i g i n )   & &   t y p e o f   e   = =   " f u n c t i o n " )   {  
                         b . i m p l e m e n t ( d ,   f u n c t i o n ( )   {  
                                 v a r   f   =   t h i s . p r e v i o u s ;  
                                 t h i s . p r e v i o u s   =   c ;   v a r   g   =   e . a p p l y ( t h i s ,   a r g u m e n t s ) ;   t h i s . p r e v i o u s   =   f ;   r e t u r n   g ;  
                         } ) ;  
                 }   e l s e   {   b . i m p l e m e n t ( d ,   e ) ;   }  
         } ) ;   r e t u r n   b ;  
 } ;   H a s h . i m p l e m e n t ( {   g e t F r o m P a t h :   f u n c t i o n ( a )   {  
         v a r   b   =   t h i s . g e t C l e a n ( ) ;  
         a . r e p l a c e ( / \ [ ( [ ^ \ ] ] + ) \ ] | \ . ( [ ^ . [ ] + ) | [ ^ [ . ] + / g ,   f u n c t i o n ( c )   {  
                 i f   ( ! b )   {   r e t u r n   n u l l ;   }   v a r   d   =   a r g u m e n t s [ 2 ]   | |   a r g u m e n t s [ 1 ]   | |   a r g u m e n t s [ 0 ] ;   b   =   ( d   i n   b )   ?   b [ d ]   :   n u l l ;   r e t u r n   c ;  
         } ) ;   r e t u r n   b ;  
 } ,   c l e a n V a l u e s :   f u n c t i o n ( a )   {   a   =   a   | |   $ d e f i n e d ;   t h i s . e a c h ( f u n c t i o n ( c ,   b )   {   i f   ( ! a ( c ) )   {   t h i s . e r a s e ( b ) ;   }   } ,   t h i s ) ;   r e t u r n   t h i s ;   } ,   r u n :   f u n c t i o n ( )   {  
         v a r   a   =   a r g u m e n t s ;  
         t h i s . e a c h ( f u n c t i o n ( c ,   b )   {   i f   ( $ t y p e ( c )   = =   " f u n c t i o n " )   {   c . r u n ( a ) ;   }   } ) ;  
 }  
 } ) ;   ( f u n c t i o n ( )   {  
         v a r   b   =   [ " À " ,   " à " ,   " Á " ,   " á " ,   " Â " ,   " â " ,   " Ã " ,   " ã " ,   " Ä " ,   " ä " ,   " Å " ,   " å " ,   " " ,   " " ,   " " ,   " " ,   " " ,   " " ,   " " ,   " " ,   " Ç " ,   " ç " ,   " " ,   " " ,   " " ,   " " ,   " È " ,   " è " ,   " É " ,   " é " ,   " Ê " ,   " ê " ,   " Ë " ,   " ë " ,   " " ,   " " ,   " " ,   " " ,   " " ,   " " ,   " Ì " ,   " ì " ,   " Í " ,   " í " ,   " Î " ,   " î " ,   " Ï " ,   " ï " ,   " 9" ,   " :" ,   " =" ,   " >" ,   " A" ,   " B" ,   " Ñ " ,   " ñ " ,   " G" ,   " H" ,   " C" ,   " D" ,   " Ò " ,   " ò " ,   " Ó " ,   " ó " ,   " Ô " ,   " ô " ,   " Õ " ,   " õ " ,   " Ö " ,   " ö " ,   " Ø " ,   " ø " ,   " Q" ,   " X" ,   " Y" ,   " T" ,   " U" ,   " `" ,   " a" ,   " ^" ,   " _" ,   " Z" ,   " [" ,   " d" ,   " e" ,   " d" ,   " e" ,   " b" ,   " c" ,   " Ù " ,   " ù " ,   " Ú " ,   " ú " ,   " Û " ,   " û " ,   " Ü " ,   " ü " ,   " n" ,   " o" ,   " x" ,   " ÿ " ,   " ý " ,   " Ý " ,   " }" ,   " ~" ,   " y" ,   " z" ,   " {" ,   " |" ,   " Þ " ,   " þ " ,   " Ð " ,   " ð " ,   " ß " ,   " R" ,   " S" ,   " Æ " ,   " æ " ,   " µ " ] ;  
         v a r   a   =   [ " A " ,   " a " ,   " A " ,   " a " ,   " A " ,   " a " ,   " A " ,   " a " ,   " A e " ,   " a e " ,   " A " ,   " a " ,   " A " ,   " a " ,   " A " ,   " a " ,   " C " ,   " c " ,   " C " ,   " c " ,   " C " ,   " c " ,   " D " ,   " d " ,   " D " ,   " d " ,   " E " ,   " e " ,   " E " ,   " e " ,   " E " ,   " e " ,   " E " ,   " e " ,   " E " ,   " e " ,   " E " ,   " e " ,   " G " ,   " g " ,   " I " ,   " i " ,   " I " ,   " i " ,   " I " ,   " i " ,   " I " ,   " i " ,   " L " ,   " l " ,   " L " ,   " l " ,   " L " ,   " l " ,   " N " ,   " n " ,   " N " ,   " n " ,   " N " ,   " n " ,   " O " ,   " o " ,   " O " ,   " o " ,   " O " ,   " o " ,   " O " ,   " o " ,   " O e " ,   " o e " ,   " O " ,   " o " ,   " o " ,   " R " ,   " r " ,   " R " ,   " r " ,   " S " ,   " s " ,   " S " ,   " s " ,   " S " ,   " s " ,   " T " ,   " t " ,   " T " ,   " t " ,   " T " ,   " t " ,   " U " ,   " u " ,   " U " ,   " u " ,   " U " ,   " u " ,   " U e " ,   " u e " ,   " U " ,   " u " ,   " Y " ,   " y " ,   " Y " ,   " y " ,   " Z " ,   " z " ,   " Z " ,   " z " ,   " Z " ,   " z " ,   " T H " ,   " t h " ,   " D H " ,   " d h " ,   " s s " ,   " O E " ,   " o e " ,   " A E " ,   " a e " ,   " u " ] ;  
         v a r   c   =   {   " [ \ x a 0 \ u 2 0 0 2 \ u 2 0 0 3 \ u 2 0 0 9 ] " :   "   " ,   " \ x b 7 " :   " * " ,   " [ \ u 2 0 1 8 \ u 2 0 1 9 ] " :   " ' " ,   " [ \ u 2 0 1 c \ u 2 0 1 d ] " :   ' " ' ,   " \ u 2 0 2 6 " :   " . . . " ,   " \ u 2 0 1 3 " :   " - " ,   " \ u 2 0 1 4 " :   " - - " ,   " \ u F F F D " :   " & r a q u o ; "   } ;  
         S t r i n g . i m p l e m e n t ( {   s t a n d a r d i z e :   f u n c t i o n ( )   {   v a r   d   =   t h i s ;   b . e a c h ( f u n c t i o n ( f ,   e )   {   d   =   d . r e p l a c e ( n e w   R e g E x p ( f ,   " g " ) ,   a [ e ] ) ;   } ) ;   r e t u r n   d ;   } ,   r e p e a t :   f u n c t i o n ( d )   {  
                 r e t u r n   n e w   A r r a y ( d   +   1 ) . j o i n ( t h i s ) ;  
         } ,   p a d :   f u n c t i o n ( e ,   g ,   d )   {  
                 i f   ( t h i s . l e n g t h   > =   e )   {   r e t u r n   t h i s ;   }   g   =   g   | |   "   " ;   v a r   f   =   g . r e p e a t ( e   -   t h i s . l e n g t h ) . s u b s t r ( 0 ,   e   -   t h i s . l e n g t h ) ;   i f   ( ! d   | |   d   = =   " r i g h t " )   {   r e t u r n   t h i s   +   f ;   }   i f   ( d   = =   " l e f t " )   {  
                         r e t u r n   f   +   t h i s ;  
                 }   r e t u r n   f . s u b s t r ( 0 ,   ( f . l e n g t h   /   2 ) . f l o o r ( ) )   +   t h i s   +   f . s u b s t r ( 0 ,   ( f . l e n g t h   /   2 ) . c e i l ( ) ) ;  
         } ,   s t r i p T a g s :   f u n c t i o n ( )   {   r e t u r n   t h i s . r e p l a c e ( / < \ / ? [ ^ > ] + > / g i ,   " " ) ;   } ,   t i d y :   f u n c t i o n ( )   {  
                 v a r   d   =   t h i s . t o S t r i n g ( ) ;  
                 $ e a c h ( c ,   f u n c t i o n ( f ,   e )   {   d   =   d . r e p l a c e ( n e w   R e g E x p ( e ,   " g " ) ,   f ) ;   } ) ;   r e t u r n   d ;  
         }  
         } ) ;  
 } ) ( ) ;   S t r i n g . i m p l e m e n t ( {   p a r s e Q u e r y S t r i n g :   f u n c t i o n ( )   {  
         v a r   b   =   t h i s . s p l i t ( / [ & ; ] / ) ,   a   =   { } ;  
         i f   ( b . l e n g t h )   {  
                 b . e a c h ( f u n c t i o n ( g )   {  
                         v a r   c   =   g . i n d e x O f ( " = " ) ,   d   =   c   <   0   ?   [ " " ]   :   g . s u b s t r ( 0 ,   c ) . m a t c h ( / [ ^ \ ] \ [ ] + / g ) ,   e   =   d e c o d e U R I C o m p o n e n t ( g . s u b s t r ( c   +   1 ) ) ,   f   =   a ;   d . e a c h ( f u n c t i o n ( j ,   h )   {  
                                 v a r   k   =   f [ j ] ;  
                                 i f   ( h   <   d . l e n g t h   -   1 )   {   f   =   f [ j ]   =   k   | |   { } ;   }   e l s e   {   i f   ( $ t y p e ( k )   = =   " a r r a y " )   {   k . p u s h ( e ) ;   }   e l s e   {   f [ j ]   =   $ d e f i n e d ( k )   ?   [ k ,   e ]   :   e ;   }   }  
                         } ) ;  
                 } ) ;  
         }   r e t u r n   a ;  
 } ,   c l e a n Q u e r y S t r i n g :   f u n c t i o n ( a )   {  
         r e t u r n   t h i s . s p l i t ( " & " ) . f i l t e r ( f u n c t i o n ( e )   {  
                 v a r   b   =   e . i n d e x O f ( " = " ) ,   c   =   b   <   0   ?   " "   :   e . s u b s t r ( 0 ,   b ) ,   d   =   e . s u b s t r ( b   +   1 ) ;  
                 r e t u r n   a   ?   a . r u n ( [ c ,   d ] )   :   $ c h k ( d ) ;  
         } ) . j o i n ( " & " ) ;  
 }  
 } ) ;   v a r   U R I   =   n e w   C l a s s ( {   I m p l e m e n t s :   O p t i o n s ,   r e g e x :   / ^ ( ? : ( \ w + ) : ) ? ( ? : \ / \ / ( ? : ( ? : ( [ ^ : @ ] * ) : ? ( [ ^ : @ ] * ) ) ? @ ) ? ( [ ^ : \ / ? # ] * ) ( ? : : ( \ d * ) ) ? ) ? ( \ . \ . ? $ | ( ? : [ ^ ? # \ / ] * \ / ) * ) ( [ ^ ? # ] * ) ( ? : \ ? ( [ ^ # ] * ) ) ? ( ? : # ( . * ) ) ? / ,   p a r t s :   [ " s c h e m e " ,   " u s e r " ,   " p a s s w o r d " ,   " h o s t " ,   " p o r t " ,   " d i r e c t o r y " ,   " f i l e " ,   " q u e r y " ,   " f r a g m e n t " ] ,   s c h e m e s :   {   h t t p :   8 0 ,   h t t p s :   4 4 3 ,   f t p :   2 1 ,   r t s p :   5 5 4 ,   m m s :   1 7 5 5 ,   f i l e :   0   } ,   i n i t i a l i z e :   f u n c t i o n ( b ,   a )   {  
         t h i s . s e t O p t i o n s ( a ) ;  
         v a r   c   =   t h i s . o p t i o n s . b a s e   | |   U R I . b a s e ;   b   =   b   | |   c ;   i f   ( b   & &   b . p a r s e d )   {   t h i s . p a r s e d   =   $ u n l i n k ( b . p a r s e d ) ;   }   e l s e   {  
                 t h i s . s e t ( " v a l u e " ,   b . h r e f   | |   b . t o S t r i n g ( ) ,   c   ?   n e w   U R I ( c )   :   f a l s e ) ;  
         }  
 } ,   p a r s e :   f u n c t i o n ( c ,   b )   {   v a r   a   =   c . m a t c h ( t h i s . r e g e x ) ;   i f   ( ! a )   {   r e t u r n   f a l s e ;   }   a . s h i f t ( ) ;   r e t u r n   t h i s . m e r g e ( a . a s s o c i a t e ( t h i s . p a r t s ) ,   b ) ;   } ,   m e r g e :   f u n c t i o n ( b ,   a )   {  
         i f   ( ! b . s c h e m e   & &   ! a . s c h e m e )   {  
                 r e t u r n   f a l s e ;  
         }   i f   ( a )   {   t h i s . p a r t s . e v e r y ( f u n c t i o n ( c )   {   i f   ( b [ c ] )   {   r e t u r n   f a l s e ;   }   b [ c ]   =   a [ c ]   | |   " " ;   r e t u r n   t r u e ;   } ) ;   }   b . p o r t   =   b . p o r t   | |   t h i s . s c h e m e s [ b . s c h e m e . t o L o w e r C a s e ( ) ] ;   b . d i r e c t o r y   =   b . d i r e c t o r y   ?   t h i s . p a r s e D i r e c t o r y ( b . d i r e c t o r y ,   a   ?   a . d i r e c t o r y   :   " " )   :   " / " ;  
         r e t u r n   b ;  
 } ,   p a r s e D i r e c t o r y :   f u n c t i o n ( b ,   c )   {  
         b   =   ( b . s u b s t r ( 0 ,   1 )   = =   " / "   ?   " "   :   ( c   | |   " / " ) )   +   b ;   i f   ( ! b . t e s t ( U R I . r e g s . d i r e c t o r y D o t ) )   {   r e t u r n   b ;   }   v a r   a   =   [ ] ;   b . r e p l a c e ( U R I . r e g s . e n d S l a s h ,   " " ) . s p l i t ( " / " ) . e a c h ( f u n c t i o n ( d )   {  
                 i f   ( d   = =   " . . "   & &   a . l e n g t h   >   0 )   {  
                         a . p o p ( ) ;  
                 }   e l s e   {   i f   ( d   ! =   " . " )   {   a . p u s h ( d ) ;   }   }  
         } ) ;   r e t u r n   a . j o i n ( " / " )   +   " / " ;  
 } ,   c o m b i n e :   f u n c t i o n ( a )   {  
         r e t u r n   a . v a l u e   | |   a . s c h e m e   +   " : / / "   +   ( a . u s e r   ?   a . u s e r   +   ( a . p a s s w o r d   ?   " : "   +   a . p a s s w o r d   :   " " )   +   " @ "   :   " " )   +   ( a . h o s t   | |   " " )   +   ( a . p o r t   & &   a . p o r t   ! =   t h i s . s c h e m e s [ a . s c h e m e ]   ?   " : "   +   a . p o r t   :   " " )   +   ( a . d i r e c t o r y   | |   " / " )   +   ( a . f i l e   | |   " " )   +   ( a . q u e r y   ?   " ? "   +   a . q u e r y   :   " " )   +   ( a . f r a g m e n t   ?   " # "   +   a . f r a g m e n t   :   " " ) ;  
 } ,   s e t :   f u n c t i o n ( b ,   d ,   c )   {  
         i f   ( b   = =   " v a l u e " )   {  
                 v a r   a   =   d . m a t c h ( U R I . r e g s . s c h e m e ) ;   i f   ( a )   {   a   =   a [ 1 ] ;   }   i f   ( a   & &   ! $ d e f i n e d ( t h i s . s c h e m e s [ a . t o L o w e r C a s e ( ) ] ) )   {  
                         t h i s . p a r s e d   =   {   s c h e m e :   a ,   v a l u e :   d   } ;  
                 }   e l s e   {   t h i s . p a r s e d   =   t h i s . p a r s e ( d ,   ( c   | |   t h i s ) . p a r s e d )   | |   ( a   ?   {   s c h e m e :   a ,   v a l u e :   d }   :   {   v a l u e :   d   } ) ;   }  
         }   e l s e   {   t h i s . p a r s e d [ b ]   =   d ;   }   r e t u r n   t h i s ;  
 } ,   g e t :   f u n c t i o n ( a ,   b )   {  
         s w i t c h   ( a )   {  
                 c a s e   " v a l u e " :   r e t u r n   t h i s . c o m b i n e ( t h i s . p a r s e d ,   b   ?   b . p a r s e d   :   f a l s e ) ;  
                 c a s e   " d a t a " :   r e t u r n   t h i s . g e t D a t a ( ) ;  
         }   r e t u r n   t h i s . p a r s e d [ a ]   | |   u n d e f i n e d ;  
 } ,   g o :   f u n c t i o n ( )   {   d o c u m e n t . l o c a t i o n . h r e f   =   t h i s . t o S t r i n g ( ) ;   } ,   t o U R I :   f u n c t i o n ( )   {  
         r e t u r n   t h i s ;  
 } ,   g e t D a t a :   f u n c t i o n ( c ,   b )   {   v a r   a   =   t h i s . g e t ( b   | |   " q u e r y " ) ;   i f   ( ! $ c h k ( a ) )   {   r e t u r n   c   ?   n u l l   :   { } ;   }   v a r   d   =   a . p a r s e Q u e r y S t r i n g ( ) ;   r e t u r n   c   ?   d [ c ]   :   d ;   } ,   s e t D a t a :   f u n c t i o n ( a ,   c ,   b )   {  
         i f   ( $ t y p e ( a r g u m e n t s [ 0 ] )   = =   " s t r i n g " )   {  
                 a   =   t h i s . g e t D a t a ( ) ;  
                 a [ a r g u m e n t s [ 0 ] ]   =   a r g u m e n t s [ 1 ] ;  
         }   e l s e   {   i f   ( c )   {   a   =   $ m e r g e ( t h i s . g e t D a t a ( ) ,   a ) ;   }   }   r e t u r n   t h i s . s e t ( b   | |   " q u e r y " ,   H a s h . t o Q u e r y S t r i n g ( a ) ) ;  
 } ,   c l e a r D a t a :   f u n c t i o n ( a )   {  
         r e t u r n   t h i s . s e t ( a   | |   " q u e r y " ,   " " ) ;  
 }  
 } ) ;   [ " t o S t r i n g " ,   " v a l u e O f " ] . e a c h ( f u n c t i o n ( a )   {   U R I . p r o t o t y p e [ a ]   =   f u n c t i o n ( )   {   r e t u r n   t h i s . g e t ( " v a l u e " ) ;   } ;   } ) ;   U R I . r e g s   =   {   e n d S l a s h :   / \ / $ / ,   s c h e m e :   / ^ ( \ w + ) : / ,   d i r e c t o r y D o t :   / \ . \ / | \ . $ /   } ;  
 U R I . b a s e   =   n e w   U R I ( $ $ ( " b a s e [ h r e f ] " ) . g e t L a s t ( ) ,   {   b a s e :   d o c u m e n t . l o c a t i o n   } ) ;   S t r i n g . i m p l e m e n t ( {   t o U R I :   f u n c t i o n ( a )   {   r e t u r n   n e w   U R I ( t h i s ,   a ) ;   }   } ) ;   U R I   =   C l a s s . r e f a c t o r ( U R I ,   {   c o m b i n e :   f u n c t i o n ( f ,   e )   {  
         i f   ( ! e   | |   f . s c h e m e   ! =   e . s c h e m e   | |   f . h o s t   ! =   e . h o s t   | |   f . p o r t   ! =   e . p o r t )   {  
                 r e t u r n   t h i s . p r e v i o u s . a p p l y ( t h i s ,   a r g u m e n t s ) ;  
         }   v a r   a   =   f . f i l e   +   ( f . q u e r y   ?   " ? "   +   f . q u e r y   :   " " )   +   ( f . f r a g m e n t   ?   " # "   +   f . f r a g m e n t   :   " " ) ;   i f   ( ! e . d i r e c t o r y )   {   r e t u r n   ( f . d i r e c t o r y   | |   ( f . f i l e   ?   " "   :   " . / " ) )   +   a ;   }   v a r   d   =   e . d i r e c t o r y . s p l i t ( " / " ) ,   c   =   f . d i r e c t o r y . s p l i t ( " / " ) ,   g   =   " " ,   h ;  
         v a r   b   =   0 ;   f o r   ( h   =   0 ;   h   <   d . l e n g t h   & &   h   <   c . l e n g t h   & &   d [ h ]   = =   c [ h ] ;   h + + )   {   }   f o r   ( b   =   0 ;   b   <   d . l e n g t h   -   h   -   1 ;   b + + )   {   g   + =   " . . / " ;   }   f o r   ( b   =   h ;   b   <   c . l e n g t h   -   1 ;   b + + )   {   g   + =   c [ b ]   +   " / " ;   }   r e t u r n   ( g   | |   ( f . f i l e   ?   " "   :   " . / " ) )   +   a ;  
 } ,   t o A b s o l u t e :   f u n c t i o n ( a )   {   a   =   n e w   U R I ( a ) ;   i f   ( a )   {   a . s e t ( " d i r e c t o r y " ,   " " ) . s e t ( " f i l e " ,   " " ) ;   }   r e t u r n   t h i s . t o R e l a t i v e ( a ) ;   } ,   t o R e l a t i v e :   f u n c t i o n ( a )   {  
         r e t u r n   t h i s . g e t ( " v a l u e " ,   n e w   U R I ( a ) ) ;  
 }  
 } ) ;  
  
 / * 	 S c r i p t :   M o o S c r o l l e r . j s  
 B a s i c a l l y   r e c r e a t e s   t h e   s t a n d a r d   s c r o l l b a r   b e h a v i o r   f o r   e l e m e n t s   w i t h   o v e r f l o w   b u t   u s i n g   D O M   e l e m e n t s   s o   t h a t   t h e   s c r o l l   b a r   e l e m e n t s   a r e   c o m p l e t e l y   s t y l e a b l e   b y   c s s .  
  
 A u t h o r :  
 A a r o n   N e w t o n   < a a r o n   [ d o t ]   n e w t o n   [ a t ]   c n e t   [ d o t ]   c o m >  
 	 	  
 D e p e n d e n c i e s :  
 M o o t o o l s   1 . 1   -   < C o r e . j s > ,   < C l a s s . j s > ,   < C l a s s . E x t r a s . j s > ,   < F u n c t i o n . j s > ,   < N u m b e r . j s > ,   < S t r i n g . j s > ,   < E l e m e n t . j s > ,   < E l e m e n t . D i m e n s i o n s . j s > ,   < E l e m e n t . E v e n t . j s > ,   < E l e m e n t . S e l e c t o r s . j s >  
 	 	  
 A r g u m e n t s :  
 c o n t e n t   -   ( D O M   e l e m e n t   o r   i d )   e l e m e n t   t h a t   c o n t a i n s   t h e   o v e r f l o w n   c o n t e n t  
 k n o b   -   ( D O M   e l e m e n t   o r   i d )   e l e m e n t   t h a t   a c t s   a s   t h e   s c r o l l   b a r  
 o p t i o n s   -   ( o b j e c t )   a   k e y / v a l u e   s e t   o f   o p t i o n s  
 	 	  
 O p t i o n s :  
 m o d e   -   ( s t r i n g )   ' v e r t i c a l '   o r   ' h o r i z o n t a l ' ;   d e f a u l t s   t o   ' v e r t i c a l '  
 s c r o l l S t e p s   -   ( i n t e g e r )   h o w   m a n y   s t e p s   t o   m o v e   w h e n   t h e   u s e r   m o v e s   t h e i r   m o u s e   w h e e l   o r   c l i c k s   t h e   u p / d o w n   s c r o l l   b u t t o n s  
 w h e e l   -   ( b o o l e a n )   t r u e   ( d e f a u l t )   w i l l   e n a b l e   m o u s e   w h e e l   s c r o l l i n g  
 s c r o l l L i n k s   -   o b j e c t   w i t h   e l e m e n t s   f o r   u p   a n d   d o w n   s c r o l l i n g  
 m a x T h u m b S i z e   -   ( i n t e g e r )   t h e   m a x i m u m   s i z e   t o   a l l o w   t h e   s c r o l l   k n o b   t o   b e ;   d e f a u l t s   t o   t h e   h e i g h t   o f   t h e   c o n t a i n e r   i t   i s   i n .  
 	 	  
 O p t i o n s . s c r o l l L i n k s :  
 f o r w a r d   -   ( D O M   e l e m e n t   o r   i d )   e l e m e n t   t h a t ,   w h e n   c l i c k e d ,   w i l l   s c r o l l   t h e   a r e a   f o r w a r d    
 ( r i g h t   i n   h o r i z o n t a l   m o d e ,   d o w n   i n   v e r t i c a l   m o d e ) ;   d e f a u l t s   t o   $ ( ' s c r o l l F o r w a r d ' ) ;    
 ( i f   n o t   f o u n d ,   n o t h i n g   b a d   h a p p e n s )  
 b a c k   -   ( D O M   e l e m e n t   o r   i d )   e l e m e n t   t h a t ,   w h e n   c l i c k e d ,   w i l l   s c r o l l   t h e   a r e a   b a c k    
 ( l e f t   i n   h o r i z o n t a l   m o d e ,   u p   i n   v e r t i c a l   m o d e ) ;   d e f a u l t s   t o   $ ( ' s c r o l l B a c k ' ) ;  
 	 	 	  
 E v e n t s :  
 o n S c r o l l   -   ( f u n c t i o n )   c a l l b a c k   f o r   w h e n   t h e   u s e r   s c r o l l s  
 o n P a g e   -   ( f u n c t i o n )   c a l l b a c k   f o r   w h e n   t h e   u s e r   p a g i n a t e s   u p   o r   d o w n ;   p a s s e d   a   b o o l e a n   -   t r u e   i f   p a g i n g   f o r w a r d .  
  
 	 	  
 E x a m p l e :  
 ( s t a r t   c o d e )  
 < d i v   i d = " s c r o l l e r " >  
 < d i v   i d = " c o n t e n t " >  
 < o l   i d = " s c r o l l e r O L " >  
 < l i > o n e < / l i >  
 < l i > t w o < / l i >  
 < l i > t h r e e < / l i >  
 < l i > f o u r < / l i >  
 < l i > f i v e < / l i >  
 < l i > s i x < / l i >  
 < l i > s e v e n < / l i >  
 < l i > e i g h t < / l i >  
 < l i > n i n e < / l i >  
 < l i > t e n < / l i >  
 < / o l >  
 < p > a   p a r a g r a p h < / p >  
 < o l >  
 < l i > b l a h < / l i >  
 < l i > b l a h < / l i >  
 < / o l >  
 < / d i v >  
 < d i v   i d = " s c r o l l a r e a " >  
 < d i v   i d = " s c r o l l B a c k " > < / d i v >  
 < d i v   i d = " s c r o l l B a r C o n t a i n e r " >  
 < d i v   i d = " s c r o l l K n o b " > < / d i v >  
 < / d i v >  
 < d i v   i d = " s c r o l l F o r w a r d " > < / d i v >  
 < / d i v >  
 < / d i v >  
 < s c r i p t >  
 n e w   M o o S c r o l l e r ( ' c o n t e n t ' ,   ' s c r o l l K n o b ' ) ;  
 < / s c r i p t >  
 ( e n d )  
 * /  
 v a r   M o o S c r o l l e r   =   n e w   C l a s s ( {  
  
         o p t i o n s :   {  
                 m a x T h u m b S i z e :   1 0 ,  
                 m o d e :   ' v e r t i c a l ' ,  
                 w i d t h :   0 ,   / / r e q u i r e d   o n l y   f o r   m o d e :   h o r i z o n t a l  
                 s c r o l l S t e p s :   1 0 ,  
                 w h e e l :   t r u e ,  
                 s c r o l l L i n k s :   {  
                         f o r w a r d :   ' s c r o l l F o r w a r d ' ,  
                         b a c k :   ' s c r o l l B a c k '  
                 } ,  
                 o n S c r o l l :   C l a s s . e m p t y ,  
                 o n P a g e :   C l a s s . e m p t y  
         } ,  
  
         i n i t i a l i z e :   f u n c t i o n ( c o n t e n t ,   k n o b ,   o p t i o n s )   {  
                 t h i s . s e t O p t i o n s ( o p t i o n s ) ;  
                 t h i s . h o r z   =   ( t h i s . o p t i o n s . m o d e   = =   " h o r i z o n t a l " ) ;  
  
                 t h i s . c o n t e n t   =   $ ( c o n t e n t ) . s e t S t y l e ( ' o v e r f l o w ' ,   ' h i d d e n ' ) ;  
                 t h i s . k n o b   =   $ ( k n o b ) ;  
                 t h i s . t r a c k   =   t h i s . k n o b . g e t P a r e n t ( ) ;  
                 t h i s . s e t P o s i t i o n s ( ) ;  
  
                 i f   ( t h i s . h o r z   & &   t h i s . o p t i o n s . w i d t h )   {  
                         t h i s . w r a p p e r   =   n e w   E l e m e n t ( ' d i v ' ) ;  
                         t h i s . c o n t e n t . g e t C h i l d r e n ( ) . e a c h ( f u n c t i o n ( c h i l d )   {  
                                 t h i s . w r a p p e r . a d o p t ( c h i l d ) ;  
                         } ) ;  
                         t h i s . w r a p p e r . i n j e c t I n s i d e ( t h i s . c o n t e n t ) . s e t S t y l e ( ' w i d t h ' ,   t h i s . o p t i o n s . w i d t h ) ;  
                 }  
  
  
                 t h i s . b o u n d   =   {  
                         ' s t a r t ' :   t h i s . s t a r t . b i n d ( t h i s ) ,  
                         ' e n d ' :   t h i s . e n d . b i n d ( t h i s ) ,  
                         ' d r a g ' :   t h i s . d r a g . b i n d ( t h i s ) ,  
                         ' w h e e l ' :   t h i s . w h e e l . b i n d ( t h i s ) ,  
                         ' p a g e ' :   t h i s . p a g e . b i n d ( t h i s )  
                 } ;  
  
                 t h i s . p o s i t i o n   =   { } ;  
                 t h i s . m o u s e   =   { } ;  
                 t h i s . u p d a t e ( ) ;  
                 t h i s . a t t a c h ( ) ;  
  
                 v a r   c l e a r S c r o l l   =   f u n c t i o n ( )   {  
                         $ c l e a r ( t h i s . s c r o l l i n g ) ;  
                 }   . b i n d ( t h i s ) ;  
                 [ ' f o r w a r d ' ,   ' b a c k ' ] . e a c h ( f u n c t i o n ( d i r e c t i o n )   {  
                         v a r   l n k   =   $ ( t h i s . o p t i o n s . s c r o l l L i n k s [ d i r e c t i o n ] ) ;  
                         i f   ( l n k )   {  
                                 l n k . a d d E v e n t s ( {  
                                         m o u s e d o w n :   f u n c t i o n ( )   {  
                                                 t h i s . s c r o l l i n g   =   t h i s [ d i r e c t i o n ] . p e r i o d i c a l ( 5 0 ,   t h i s ) ;  
                                         }   . b i n d ( t h i s ) ,  
                                         m o u s e u p :   c l e a r S c r o l l . b i n d ( t h i s ) ,  
                                         c l i c k :   c l e a r S c r o l l . b i n d ( t h i s )  
                                 } ) ;  
                         }  
                 } ,   t h i s ) ;  
                 t h i s . k n o b . a d d E v e n t ( ' c l i c k ' ,   c l e a r S c r o l l . b i n d ( t h i s ) ) ;  
                 w i n d o w . a d d E v e n t ( ' l o a d ' ,   f u n c t i o n ( )   {  
                         t r y   {  
                                 $ ( d o c u m e n t . b o d y ) . a d d E v e n t ( ' m o u s e u p ' ,   c l e a r S c r o l l . b i n d ( t h i s ) ) ;  
                         }   c a t c h   ( e )   {   }  
                 }   . b i n d ( t h i s ) ) ;  
         } ,  
         s e t P o s i t i o n s :   f u n c t i o n ( )   {  
                 [ t h i s . t r a c k ,   t h i s . k n o b ] . e a c h ( f u n c t i o n ( e l )   {  
                         i f   ( e l . g e t S t y l e ( ' p o s i t i o n ' )   = =   ' s t a t i c ' )   e l . s e t S t y l e ( ' p o s i t i o n ' ,   ' r e l a t i v e ' ) ;  
                 } ) ;  
  
         } ,  
         / * 	 P r o p e r t y :   u p d a t e  
         U p d a t e s   t h e   s i z e   o f   t h e   s c r o l l   k n o b ;   e x e c u t e   t h i s   m e t h o d   w h e n   t h e   c o n t e n t   c h a n g e s   o r   t h e   c o n t a i n e r ' s   s i z e   i s   a l t e r e d .  
         * /  
         u p d a t e :   f u n c t i o n ( )   {  
                 v a r   p l a i n   =   t h i s . h o r z   ?   ' W i d t h '   :   ' H e i g h t ' ;  
                 t h i s . c o n t e n t S i z e   =   t h i s . c o n t e n t [ ' o f f s e t '   +   p l a i n ] ;  
                 t h i s . c o n t e n t S c r o l l S i z e   =   t h i s . c o n t e n t [ ' s c r o l l '   +   p l a i n ] ;  
                 t h i s . t r a c k S i z e   =   t h i s . t r a c k [ ' o f f s e t '   +   p l a i n ] ;  
  
                 t h i s . c o n t e n t R a t i o   =   t h i s . c o n t e n t S i z e   /   t h i s . c o n t e n t S c r o l l S i z e ;  
  
                 t h i s . k n o b S i z e   =   ( t h i s . t r a c k S i z e   *   t h i s . c o n t e n t R a t i o ) . l i m i t ( t h i s . o p t i o n s . m a x T h u m b S i z e ,   t h i s . t r a c k S i z e ) ;  
  
                 t h i s . s c r o l l R a t i o   =   t h i s . c o n t e n t S c r o l l S i z e   /   t h i s . t r a c k S i z e ;  
                 t h i s . k n o b . s e t S t y l e ( p l a i n . t o L o w e r C a s e ( ) ,   t h i s . k n o b S i z e   +   ' p x ' ) ;  
  
                 t h i s . u p d a t e T h u m b F r o m C o n t e n t S c r o l l ( ) ;  
                 t h i s . u p d a t e C o n t e n t F r o m T h u m b P o s i t i o n ( ) ;  
         } ,  
  
         u p d a t e C o n t e n t F r o m T h u m b P o s i t i o n :   f u n c t i o n ( )   {  
                 t h i s . c o n t e n t [ t h i s . h o r z   ?   ' s c r o l l L e f t '   :   ' s c r o l l T o p ' ]   =   t h i s . p o s i t i o n . n o w   *   t h i s . s c r o l l R a t i o ;  
         } ,  
  
         u p d a t e T h u m b F r o m C o n t e n t S c r o l l :   f u n c t i o n ( )   {  
                 / * t h i s . p o s i t i o n . n o w   =   ( t h i s . c o n t e n t [ t h i s . h o r z ? ' s c r o l l L e f t ' : ' s c r o l l T o p ' ]   /   t h i s . s c r o l l R a t i o ) . l i m i t ( 0 ,   ( t h i s . t r a c k S i z e   -   t h i s . k n o b S i z e ) ) ; * /  
                 t h i s . p o s i t i o n . n o w   =   ( t h i s . c o n t e n t [ t h i s . h o r z   ?   ' s c r o l l L e f t '   :   ' s c r o l l T o p ' ]   /   t h i s . s c r o l l R a t i o ) . l i m i t ( 0 ,   ( t h i s . t r a c k S i z e   -   ( t h i s . k n o b S i z e   +   2 ) ) ) ;   / *   m o d i f i e d   b y   m a v r i c k d e s i g n . c o m . a u   -   1 3 / 1 2 / 2 0 0 7   -   ( c s s   d i s p l a y   i s s u e )   * /  
                 t h i s . k n o b . s e t S t y l e ( t h i s . h o r z   ?   ' l e f t '   :   ' t o p ' ,   t h i s . p o s i t i o n . n o w   +   ' p x ' ) ;  
         } ,  
  
         a t t a c h :   f u n c t i o n ( )   {  
                 t h i s . k n o b . a d d E v e n t ( ' m o u s e d o w n ' ,   t h i s . b o u n d . s t a r t ) ;  
                 i f   ( t h i s . o p t i o n s . w h e e l )   t h i s . c o n t e n t . a d d E v e n t ( ' m o u s e w h e e l ' ,   t h i s . b o u n d . w h e e l ) ;  
                 t h i s . t r a c k . a d d E v e n t ( ' m o u s e u p ' ,   t h i s . b o u n d . p a g e ) ;  
         } ,  
  
         w h e e l :   f u n c t i o n ( e v e n t )   {  
                 e v e n t   =   n e w   E v e n t ( e v e n t ) ;  
                 t h i s . s c r o l l ( - ( e v e n t . w h e e l   *   t h i s . o p t i o n s . s c r o l l S t e p s ) ) ;  
                 t h i s . u p d a t e T h u m b F r o m C o n t e n t S c r o l l ( ) ;  
                 e v e n t . s t o p ( ) ;  
         } ,  
  
         s c r o l l :   f u n c t i o n ( s t e p s )   {  
                 s t e p s   =   s t e p s   | |   t h i s . o p t i o n s . s c r o l l S t e p s ;  
                 t h i s . c o n t e n t [ t h i s . h o r z   ?   ' s c r o l l L e f t '   :   ' s c r o l l T o p ' ]   + =   s t e p s ;  
                 t h i s . u p d a t e T h u m b F r o m C o n t e n t S c r o l l ( ) ;  
         } ,  
         f o r w a r d :   f u n c t i o n ( s t e p s )   {  
                 t h i s . s c r o l l ( s t e p s ) ;  
         } ,  
         b a c k :   f u n c t i o n ( s t e p s )   {  
                 s t e p s   =   s t e p s   | |   t h i s . o p t i o n s . s c r o l l S t e p s ;  
                 t h i s . s c r o l l ( - s t e p s ) ;  
         } ,  
  
         p a g e :   f u n c t i o n ( e v e n t )   {  
                 v a r   a x i s   =   t h i s . h o r z   ?   ' x '   :   ' y ' ;  
                 e v e n t   =   n e w   E v e n t ( e v e n t ) ;  
                 v a r   f o r w a r d   =   ( e v e n t . p a g e [ a x i s ]   >   t h i s . k n o b . g e t P o s i t i o n ( ) [ a x i s ] ) ;  
                 t h i s . s c r o l l ( ( f o r w a r d   ?   1   :   - 1 )   *   t h i s . c o n t e n t [ ' o f f s e t '   +   ( t h i s . h o r z   ?   ' W i d t h '   :   ' H e i g h t ' ) ] ) ;  
                 t h i s . u p d a t e T h u m b F r o m C o n t e n t S c r o l l ( ) ;  
                 t h i s . f i r e E v e n t ( ' o n P a g e ' ,   f o r w a r d ) ;  
                 e v e n t . s t o p ( ) ;  
         } ,  
  
  
         s t a r t :   f u n c t i o n ( e v e n t )   {  
                 e v e n t   =   n e w   E v e n t ( e v e n t ) ;  
                 v a r   a x i s   =   t h i s . h o r z   ?   ' x '   :   ' y ' ;  
                 t h i s . m o u s e . s t a r t   =   e v e n t . p a g e [ a x i s ] ;  
                 t h i s . p o s i t i o n . s t a r t   =   t h i s . k n o b . g e t S t y l e ( t h i s . h o r z   ?   ' l e f t '   :   ' t o p ' ) . t o I n t ( ) ;  
                 d o c u m e n t . a d d E v e n t ( ' m o u s e m o v e ' ,   t h i s . b o u n d . d r a g ) ;  
                 d o c u m e n t . a d d E v e n t ( ' m o u s e u p ' ,   t h i s . b o u n d . e n d ) ;  
                 t h i s . k n o b . a d d E v e n t ( ' m o u s e u p ' ,   t h i s . b o u n d . e n d ) ;  
                 e v e n t . s t o p ( ) ;  
         } ,  
  
         e n d :   f u n c t i o n ( e v e n t )   {  
                 e v e n t   =   n e w   E v e n t ( e v e n t ) ;  
                 d o c u m e n t . r e m o v e E v e n t ( ' m o u s e m o v e ' ,   t h i s . b o u n d . d r a g ) ;  
                 d o c u m e n t . r e m o v e E v e n t ( ' m o u s e u p ' ,   t h i s . b o u n d . e n d ) ;  
                 t h i s . k n o b . r e m o v e E v e n t ( ' m o u s e u p ' ,   t h i s . b o u n d . e n d ) ;  
                 e v e n t . s t o p ( ) ;  
         } ,  
  
         d r a g :   f u n c t i o n ( e v e n t )   {  
                 e v e n t   =   n e w   E v e n t ( e v e n t ) ;  
                 v a r   a x i s   =   t h i s . h o r z   ?   ' x '   :   ' y ' ;  
                 t h i s . m o u s e . n o w   =   e v e n t . p a g e [ a x i s ] ;  
                 t h i s . p o s i t i o n . n o w   =   ( t h i s . p o s i t i o n . s t a r t   +   ( t h i s . m o u s e . n o w   -   t h i s . m o u s e . s t a r t ) ) . l i m i t ( 0 ,   ( t h i s . t r a c k S i z e   -   t h i s . k n o b S i z e ) ) ;  
                 t h i s . u p d a t e C o n t e n t F r o m T h u m b P o s i t i o n ( ) ;  
                 t h i s . u p d a t e T h u m b F r o m C o n t e n t S c r o l l ( ) ;  
                 e v e n t . s t o p ( ) ;  
         }  
  
 } ) ;  
 M o o S c r o l l e r . i m p l e m e n t ( n e w   E v e n t s ) ;  
 M o o S c r o l l e r . i m p l e m e n t ( n e w   O p t i o n s ) ;  
 / *   d o   n o t   e d i t   b e l o w   t h i s   l i n e   * /  
 / *   S e c t i o n :   C h a n g e   L o g    
  
 $ S o u r c e :   / c v s / m a i n / f l a t f i l e / h t m l / r b / j s / g l o b a l / c n e t . g l o b a l . f r a m e w o r k / c o m m o n / l a y o u t . w i d g e t s / M o o S c r o l l e r . j s , v   $  
 $ L o g :   M o o S c r o l l e r . j s , v   $  
 R e v i s i o n   1 . 8     2 0 0 7 / 0 9 / 2 4   2 0 : 5 5 : 4 9     n e w t o n a  
 n e w   f i l e :   S t i c k y W i n . A j a x   -   a d d s   a j a x   s u p p o r t   t o   a l l   s t i c k y w i n   c l a s s e s   ( c r e a t e s   n e w   c l a s s e s ,   j u s t   a p p e n d   . A j a x   t o   a n y   o f   t h e   e x i s t i n g   o n e s )  
 u p d a t e d   r e d b a l l   c o m m o n   f u l l   t o   i n c l u d e   S t i c k y W i n . A j a x  
 d a t e . p i c k e r ,   p r o d u c t . p i c k e r   -   u p d a t e d   s y n t a x   t o   u s e   E l e m e n t . e m p t y  
 f o r m . v a l i d a t o r   -   n o w   p a s s e s   a l o n g   t h e   e v e n t   o b j e c t   t o   t h e   o n F o r m V a l i d a t e   e v e n t   s o   t h a t   t h e   f o r m   s u b m i t   e v e n t   c a n   b e   s t o p p e d   i f   y o u   l i k e  
 p o p u p d e t a i l s   -   a d d e d   h t m l   r e s p o n s e   s u p p o r t ;   y o u   c a n   n o w   r e t u r n   t h e   h t m l   y o u   w i s h   t o   d i s p l a y   r a t h e r   t h a n   a   j s o n   o b j e c t ;   o n l y   a p p l i e s   t o   a j a x .   A l s o   a d d e d   a   c a c h e   s o   t h a t   m u l t i p l e   r e q u e s t s   a r e   n o t   m a d e   f o r   t h e   s a m e   u r l .  
 s t i c k y W i n H T M L   -   r a c t o r e d   s o   t h a t   o p t i o n s   a r e   n o w ,   y o u   k n o w ,   * o p t i o n a l *  
 M o o S c r o l l e r   -   a d d e d   s u p p o r t   f o r   w i d t h   o p t i o n   f o r   h o r i z o n t a l   s c r o l l i n g  
  
 R e v i s i o n   1 . 7     2 0 0 7 / 0 9 / 1 3   2 3 : 2 1 : 2 2     n e w t o n a  
 s l i g h t   d o c s   t w e a k  
  
 R e v i s i o n   1 . 6     2 0 0 7 / 0 9 / 1 3   2 3 : 1 8 : 5 4     n e w t o n a  
 r e m o v i n g   a   d b u g   l i n e  
  
 R e v i s i o n   1 . 5     2 0 0 7 / 0 9 / 1 3   2 3 : 1 5 : 3 7     n e w t o n a  
 w o o p s .   d i d n ' t   a c t u a l l y   c h e c k   i n   m y   m o o s c r o l l e r   c h a n g e s . . .  
  
 R e v i s i o n   1 . 1     2 0 0 7 / 0 8 / 2 5   0 0 : 5 2 : 0 6     n e w t o n a  
 g o t   l a z y   w i t h   m y   s e m i - c o l o n s . . .  
  
  
 * /  
  
 / / M o o T o o l s   M o r e ,   < h t t p : / / m o o t o o l s . n e t / m o r e > .   C o p y r i g h t   ( c )   2 0 0 6 - 2 0 0 9   A a r o n   N e w t o n   < h t t p : / / c l i e n t c i d e . c o m / > ,   V a l e r i o   P r o i e t t i   < h t t p : / / m a d 4 m i l k . n e t >   &   t h e   M o o T o o l s   t e a m   < h t t p : / / m o o t o o l s . n e t / d e v e l o p e r s > ,   M I T   S t y l e   L i c e n s e .  
  
 M o o T o o l s . M o r e   =   {   v e r s i o n :   " 1 . 2 . 3 . 1 "   } ;   v a r   A s s e t   =   {   j a v a s c r i p t :   f u n c t i o n ( f ,   d )   {  
         d   =   $ e x t e n d ( {   o n l o a d :   $ e m p t y ,   d o c u m e n t :   d o c u m e n t ,   c h e c k :   $ l a m b d a ( t r u e )   } ,   d ) ;   v a r   b   =   n e w   E l e m e n t ( " s c r i p t " ,   {   s r c :   f ,   t y p e :   " t e x t / j a v a s c r i p t "   } ) ;  
         v a r   e   =   d . o n l o a d . b i n d ( b ) ,   a   =   d . c h e c k ,   g   =   d . d o c u m e n t ;   d e l e t e   d . o n l o a d ;   d e l e t e   d . c h e c k ;   d e l e t e   d . d o c u m e n t ;   b . a d d E v e n t s ( {   l o a d :   e ,   r e a d y s t a t e c h a n g e :   f u n c t i o n ( )   {  
                 i f   ( [ " l o a d e d " ,   " c o m p l e t e " ] . c o n t a i n s ( t h i s . r e a d y S t a t e ) )   {  
                         e ( ) ;  
                 }  
         }  
         } ) . s e t ( d ) ;   i f   ( B r o w s e r . E n g i n e . w e b k i t 4 1 9 )   {   v a r   c   =   ( f u n c t i o n ( )   {   i f   ( ! $ t r y ( a ) )   {   r e t u r n ;   }   $ c l e a r ( c ) ;   e ( ) ;   } ) . p e r i o d i c a l ( 5 0 ) ;   }   r e t u r n   b . i n j e c t ( g . h e a d ) ;  
 } ,   c s s :   f u n c t i o n ( b ,   a )   {  
         r e t u r n   n e w   E l e m e n t ( " l i n k " ,   $ m e r g e ( {   r e l :   " s t y l e s h e e t " ,   m e d i a :   " s c r e e n " ,   t y p e :   " t e x t / c s s " ,   h r e f :   b   } ,   a ) ) . i n j e c t ( d o c u m e n t . h e a d ) ;  
 } ,   i m a g e :   f u n c t i o n ( c ,   b )   {  
         b   =   $ m e r g e ( {   o n l o a d :   $ e m p t y ,   o n a b o r t :   $ e m p t y ,   o n e r r o r :   $ e m p t y   } ,   b ) ;   v a r   d   =   n e w   I m a g e ( ) ;   v a r   a   =   $ ( d )   | |   n e w   E l e m e n t ( " i m g " ) ;   [ " l o a d " ,   " a b o r t " ,   " e r r o r " ] . e a c h ( f u n c t i o n ( e )   {  
                 v a r   f   =   " o n "   +   e ;  
                 v a r   g   =   b [ f ] ;   d e l e t e   b [ f ] ;   d [ f ]   =   f u n c t i o n ( )   {  
                         i f   ( ! d )   {   r e t u r n ;   }   i f   ( ! a . p a r e n t N o d e )   {   a . w i d t h   =   d . w i d t h ;   a . h e i g h t   =   d . h e i g h t ;   }   d   =   d . o n l o a d   =   d . o n a b o r t   =   d . o n e r r o r   =   n u l l ;   g . d e l a y ( 1 ,   a ,   a ) ;  
                         a . f i r e E v e n t ( e ,   a ,   1 ) ;  
                 } ;  
         } ) ;   d . s r c   =   a . s r c   =   c ;   i f   ( d   & &   d . c o m p l e t e )   {   d . o n l o a d . d e l a y ( 1 ) ;   }   r e t u r n   a . s e t ( b ) ;  
 } ,   i m a g e s :   f u n c t i o n ( d ,   c )   {  
         c   =   $ m e r g e ( {   o n C o m p l e t e :   $ e m p t y ,   o n P r o g r e s s :   $ e m p t y ,   o n E r r o r :   $ e m p t y ,   p r o p e r t i e s :   { }   } ,   c ) ;  
         d   =   $ s p l a t ( d ) ;   v a r   a   =   [ ] ;   v a r   b   =   0 ;   r e t u r n   n e w   E l e m e n t s ( d . m a p ( f u n c t i o n ( e )   {  
                 r e t u r n   A s s e t . i m a g e ( e ,   $ e x t e n d ( c . p r o p e r t i e s ,   {   o n l o a d :   f u n c t i o n ( )   {  
                         c . o n P r o g r e s s . c a l l ( t h i s ,   b ,   d . i n d e x O f ( e ) ) ;  
                         b + + ;   i f   ( b   = =   d . l e n g t h )   {   c . o n C o m p l e t e ( ) ;   }  
                 } ,   o n e r r o r :   f u n c t i o n ( )   {   c . o n E r r o r . c a l l ( t h i s ,   b ,   d . i n d e x O f ( e ) ) ;   b + + ;   i f   ( b   = =   d . l e n g t h )   {   c . o n C o m p l e t e ( ) ;   }   }  
                 } ) ) ;  
         } ) ) ;  
 }  
 } ;  
 
