ÿþ/ / 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 9   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 . 2 " , b u i l d : " f 0 4 9 1 d 6 2 f b b 7 e 9 0 6 7 8 9 a a 3 7 3 3 d 6 a 6 7 d 4 3 e 5 a f 7 c 9 " } ; 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   h   i n   a ) { n e w   N a t i v e ( { n a m e : h , i n i t i a l i z e : a [ h ] , 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 ( b ) { i f ( b . i t e m ) { v a r   a = b . l e n g t h , c = n e w   A r r a y ( a ) ; w h i l e ( a - - ) { c [ a ] = b [ a ] ; } r e t u r n   c ; } 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 ( b ) ; } 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   a = A r r a y . s l i c e ( a r g u m e n t s ) ; 
 a . u n s h i f t ( { } ) ; r e t u r n   $ m i x i n . a p p l y ( n u l l , a ) ; } f u n c t i o n   $ m i x i n ( e ) { f o r ( v a r   d = 1 , 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 i x i n ( 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 ] , 1 0 ) | | 0 , b u i l d : p a r s e I n t ( a [ 2 ] , 1 0 ) | | 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 ( a , b ) { i f ( t h i s [ a ] = = u n d e f i n e d ) { t h i s [ a ] = b ; } 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 ; } } ) ; f u n c t i o n   C l a s s ( b ) { i f ( b   i n s t a n c e o f   F u n c t i o n ) { b = { i n i t i a l i z e : b } ; } v a r   a = f u n c t i o n ( ) { O b j e c t . r e s e t ( t h i s ) ; i f ( a . _ p r o t o t y p i n g ) { r e t u r n   t h i s ; 
 } t h i s . _ c u r r e n t = $ e m p t y ; v a r   c = ( 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 ; d e l e t e   t h i s . _ c u r r e n t ; d e l e t e   t h i s . c a l l e r ; r e t u r n   c ; } . e x t e n d ( t h i s ) ; 
 a . i m p l e m e n t ( b ) ; 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 . c o n s t r u c t o r = a ; r e t u r n   a ; } F u n c t i o n . p r o t o t y p e . p r o t e c t = f u n c t i o n ( ) { t h i s . _ p r o t e c t e d = t r u e ; r e t u r n   t h i s ; } ; O b j e c t . r e s e t = f u n c t i o n ( a , c ) { i f ( c = = n u l l ) { f o r ( v a r   e   i n   a ) { O b j e c t . r e s e t ( a , e ) ; 
 } r e t u r n   a ; } d e l e t e   a [ c ] ; s w i t c h ( $ t y p e ( a [ c ] ) ) { c a s e " o b j e c t " : v a r   d = f u n c t i o n ( ) { } ; d . p r o t o t y p e = a [ c ] ; v a r   b = n e w   d ; a [ c ] = O b j e c t . r e s e t ( b ) ; b r e a k ; c a s e " a r r a y " : a [ c ] = $ u n l i n k ( a [ c ] ) ; 
 b r e a k ; } r e t u r n   a ; } ; 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 : C l a s s } ) . e x t e n d ( { i n s t a n t i a t e : f u n c t i o n ( b ) { b . _ p r o t o t y p i n g = t r u e ; v a r   a = n e w   b ; d e l e t e   b . _ p r o t o t y p i n g ; r e t u r n   a ; 
 } , w r a p : f u n c t i o n ( a , b , c ) { i f ( c . _ o r i g i n ) { c = c . _ o r i g i n ; } r e t u r n   f u n c t i o n ( ) { i f ( c . _ p r o t e c t e d & & t h i s . _ c u r r e n t = = n u l l ) { t h r o w   n e w   E r r o r ( ' T h e   m e t h o d   " ' + b + ' "   c a n n o t   b e   c a l l e d . ' ) ; 
 } v a r   e = t h i s . c a l l e r , f = t h i s . _ c u r r e n t ; t h i s . c a l l e r = f ; t h i s . _ c u r r e n t = a r g u m e n t s . c a l l e e ; v a r   d = c . a p p l y ( t h i s , a r g u m e n t s ) ; t h i s . _ c u r r e n t = f ; t h i s . c a l l e r = e ; r e t u r n   d ; } . e x t e n d ( { _ o w n e r : a , _ o r i g i n : c , _ n a m e : b } ) ; 
 } } ) ; 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 ( a , d ) { i f ( $ t y p e ( a ) = = " o b j e c t " ) { f o r ( v a r   e   i n   a ) { t h i s . i m p l e m e n t ( e , a [ e ] ) ; } r e t u r n   t h i s ; } v a r   f = C l a s s . M u t a t o r s [ a ] ; i f ( f ) { d = f . c a l l ( t h i s , d ) ; 
 i f ( d = = n u l l ) { r e t u r n   t h i s ; } } v a r   c = t h i s . p r o t o t y p e ; s w i t c h ( $ t y p e ( d ) ) { c a s e " f u n c t i o n " : i f ( d . _ h i d d e n ) { r e t u r n   t h i s ; } c [ a ] = C l a s s . w r a p ( t h i s , a , d ) ; b r e a k ; c a s e " o b j e c t " : v a r   b = c [ a ] ; 
 i f ( $ t y p e ( b ) = = " o b j e c t " ) { $ m i x i n ( b , d ) ; } e l s e { c [ a ] = $ u n l i n k ( d ) ; } b r e a k ; c a s e " a r r a y " : c [ a ] = $ u n l i n k ( d ) ; b r e a k ; d e f a u l t : c [ a ] = d ; } r e t u r n   t h i s ; } } ) ; 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 ( a ) { t h i s . p a r e n t = a ; 
 t h i s . p r o t o t y p e = C l a s s . i n s t a n t i a t e ( a ) ; t h i s . i m p l e m e n t ( " p a r e n t " , f u n c t i o n ( ) { v a r   b = t h i s . c a l l e r . _ n a m e , c = t h i s . c a l l e r . _ o w n e r . p a r e n t . p r o t o t y p e [ b ] ; i f ( ! c ) { t h r o w   n e w   E r r o r ( ' T h e   m e t h o d   " ' + b + ' "   h a s   n o   p a r e n t . ' ) ; 
 } r e t u r n   c . a p p l y ( t h i s , a r g u m e n t s ) ; } . p r o t e c t ( ) ) ; } , I m p l e m e n t s : f u n c t i o n ( a ) { $ s p l a t ( a ) . e a c h ( f u n c t i o n ( b ) { i f ( b   i n s t a n c e o f   F u n c t i o n ) { b = C l a s s . i n s t a n t i a t e ( b ) ; } t h i s . i m p l e m e n t ( b ) ; 
 } , 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 ) { v a r   d ; i f ( $ t y p e ( c ) = = " o b j e c t " ) { f o 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 ( 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   q = 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 ( q ) { n . m e r g e A t t r i b u t e s ( q ) ; } } 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 " ] ; 
 b = b . a s s o c i a t e ( b ) ; H a s h . e x t e n d ( 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 S i b l i n g s : f u n c t i o n ( l , m ) { r e t u r n   t h i s . g e t P a r e n t ( ) . g e t C h i l d r e n ( l , m ) . e r a s e ( t h i s ) ; 
 } , 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 ) { v a r   c ; i f ( $ t y p e ( a ) = = " o b j e c t " ) { f o 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 ( 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 , 1 0 ) ) ) ) { 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 ; v a r   m = d ( t h i s , " p o s i t i o n " ) = = " f i x e d " ; 
 r e t u r n { x : l . l e f t + ( ( m ) ? 0 : 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 + ( ( m ) ? 0 : 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 ( ) { 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 ) { v a r   i = t h i s . g e t W i n d o w ( ) ; 
 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 ( ) , 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 ) , 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 ( h ) { i f ( S e l e c t o r s . C a c h e . n t h [ h ] ) { r e t u r n   S e l e c t o r s . C a c h e . n t h [ h ] ; 
 } v a r   e = h . m a t c h ( / ^ ( [ + - ] ? \ d * ) ? ( [ a - z ] + ) ? ( [ + - ] ? \ d * ) ? $ / ) ; i f ( ! e ) { r e t u r n   f a l s e ; } v a r   g = p a r s e I n t ( e [ 1 ] , 1 0 ) ; v a r   d = ( g | | g = = = 0 ) ? g : 1 ; v a r   f = e [ 2 ] | | f a l s e ; v a r   c = p a r s e I n t ( e [ 3 ] , 1 0 ) | | 0 ; 
 i f ( d ! = 0 ) { c - - ; w h i l e ( c < 1 ) { c + = d ; } w h i l e ( c > = d ) { c - = d ; } } e l s e { d = c ; f = " i n d e x " ; } s w i t c h ( f ) { c a s e " n " : e = { a : d , b : c , s p e c i a l : " n " } ; b r e a k ; c a s e " o d d " : e = { 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 " : e = { 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 " : e = { 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 " : e = { 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 " : e = { 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 : e = { a : ( d - 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 [ h ] = e ; } , 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 ( o , h , t ) { 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 ( k , j , i ) { b . p u s h ( j ) ; 
 r e t u r n " : ) " + i ; } ) . s p l i t ( " : ) " ) ; v a r   p , e , A ; f o r ( v a r   z = 0 , v = c . l e n g t h ; z < v ; z + + ) { v a r   y = c [ z ] ; i f ( z = = 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 ( y ) ) { p = o . g e t E l e m e n t s B y T a g N a m e ( y ) ; 
 c o n t i n u e ; } v a r   a = b [ z - 1 ] ; v a r   q = 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 ( y ) ; v a r   B = q [ 0 ] , r = q [ 1 ] ; i f ( z = = 0 ) { p = 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 ( o , B , r ) ; } e l s e { v a r   d = { } , g = [ ] ; f o r ( v a r   x = 0 , w = p . l e n g t h ; 
 x < w ; x + + ) { g = S e l e c t o r s . G e t t e r s [ a ] ( g , p [ x ] , B , r , d ) ; } p = 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 ( y ) ; i f ( f ) { e = [ ] ; f o r ( v a r   u = 0 , s = p . l e n g t h ; u < s ; u + + ) { A = p [ u ] ; i f ( S e l e c t o r s . U t i l s . f i l t e r ( A , f , t ) ) { e . p u s h ( A ) ; 
 } } p = e ; } } r e t u r n   p ; } } ; 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 , j , 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 , j , 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 , j , 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 , j , 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 ) ; } , s e l e c t e d : f u n c t i o n ( ) { r e t u r n   t h i s . s e l e c t e d ; } } ) ; 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 ( ) { 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 ( t h i s . c a l l e r . b i n d ( t h i s , a r g u m e n t s ) ) ; 
 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 ( 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 ( j , g ) { i f ( ! j . s t y l e ) { r e t u r n ; } v a r   h = ( j . s e l e c t o r T e x t ) ? j . 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 ( i ) { r e t u r n   i . 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 , i ) { i f ( ! j . s t y l e [ i ] | | E l e m e n t . S h o r t S t y l e s [ i ] ) { r e t u r n ; } k = S t r i n g ( j . s t y l e [ i ] ) ; b [ i ] = ( 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 ( 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 ( 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 ( f ) { v a r   e ; f o r ( v a r   d = 0 , c = 1 ; 1 ; d + = c , c / = 2 ) { i f ( f > = ( 7 - 4 * d ) / 1 1 ) { e = c * c - M a t h . p o w ( ( 1 1 - 6 * d - 1 1 * f ) / 4 , 2 ) ; 
 b r e a k ; } } r e t u r n   e ; } , 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 , n o C a c h 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 ( ) { 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 ( t h i s . c a l l e r . b i n d ( t h i s , a r g u m e n t s ) ) ; 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 ( j ) { i f ( ! t h i s . c h e c k ( j ) ) { 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   h = $ t y p e ( j ) ; i f ( h = = " s t r i n g " | | h = = " e l e m e n t " ) { j = { d a t a : j } ; } v a r   d = t h i s . o p t i o n s ; j = $ 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 } , j ) ; v a r   f = j . d a t a , b = j . u r l , a = j . m e t h o d ; 
 s w i t c h ( $ t y p e ( f ) ) { c a s e " e l e m e n t " : f = $ ( f ) . 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 " : f = H a s h . t o Q u e r y S t r i n g ( f ) ; } i f ( t h i s . o p t i o n s . f o r m a t ) { v a r   i = " f o r m a t = " + t h i s . o p t i o n s . f o r m a t ; 
 f = ( f ) ? i + " & " + f : i ; } 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   g = " _ m e t h o d = " + a ; f = ( f ) ? g + " & " + f : g ; 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 ( t h i s . o p t i o n s . n o C a c h e ) { v a r   e = " n o C a c h e = " + n e w   D a t e ( ) . g e t T i m e ( ) ; f = ( f ) ? e + " & " + f : e ; 
 } i f ( f & & a = = " g e t " ) { b = b + ( b . c o n t a i n s ( " ? " ) ? " & " : " ? " ) + f ; f = 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 ( l , k ) { 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 ( k , l ) ; } c a t c h ( m ) { t h i s . f i r e E v e n t ( " e x c e p t i o n " , [ k , l ] ) ; } } , 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 ( f ) ; 
 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 ) ; } ) ( ) ; 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 , a p p e n d : 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 ] ; i f ( ! d ) { r e t u r n   n u l l ; } 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 ) ; } e l s e { i f ( c . a p p e n d ) { $ ( c . a p p e n d ) . a d o p t ( a . g e t C h i l d r e n ( ) ) ; } } 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 . 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 . 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 ( { 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 ; } , 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 . 2 " } ; ( f u n c t i o n ( ) { v a r   a = { l a n g u a g e : " e n - U S " , l a n g u a g e s : { " e n - U S " : { } } , c a s c a d e s : [ " e n - U S " ] } ; v a r   b ; M o o T o o l s . l a n g = n e w   E v e n t s ( ) ; $ e x t e n d ( M o o T o o l s . l a n g , { s e t L a n g u a g e : f u n c t i o n ( c ) { i f ( ! a . l a n g u a g e s [ c ] ) { r e t u r n   t h i s ; 
 } a . l a n g u a g e = c ; t h i s . l o a d ( ) ; t h i s . f i r e E v e n t ( " l a n g C h a n g e " , c ) ; r e t u r n   t h i s ; } , l o a d : f u n c t i o n ( ) { v a r   c = t h i s . c a s c a d e ( t h i s . g e t C u r r e n t L a n g u a g e ( ) ) ; b = { } ; $ e a c h ( c , f u n c t i o n ( e , d ) { b [ d ] = t h i s . l a m b d a ( e ) ; 
 } , t h i s ) ; } , g e t C u r r e n t L a n g u a g e : f u n c t i o n ( ) { r e t u r n   a . l a n g u a g e ; } , a d d L a n g u a g e : f u n c t i o n ( c ) { a . l a n g u a g e s [ c ] = a . l a n g u a g e s [ c ] | | { } ; r e t u r n   t h i s ; } , c a s c a d e : f u n c t i o n ( e ) { v a r   c = ( a . l a n g u a g e s [ e ] | | { } ) . c a s c a d e s | | [ ] ; 
 c . c o m b i n e ( a . c a s c a d e s ) ; c . e r a s e ( e ) . p u s h ( e ) ; v a r   d = c . m a p ( f u n c t i o n ( f ) { r e t u r n   a . l a n g u a g e s [ f ] ; } , t h i s ) ; r e t u r n   $ m e r g e . a p p l y ( t h i s , d ) ; } , l a m b d a : f u n c t i o n ( c ) { ( c | | { } ) . g e t = f u n c t i o n ( e , d ) { r e t u r n   $ l a m b d a ( c [ e ] ) . a p p l y ( t h i s , $ s p l a t ( d ) ) ; 
 } ; r e t u r n   c ; } , g e t : f u n c t i o n ( e , d , c ) { i f ( b & & b [ e ] ) { r e t u r n ( d ? b [ e ] . g e t ( d , c ) : b [ e ] ) ; } } , s e t : f u n c t i o n ( d , e , c ) { t h i s . a d d L a n g u a g e ( d ) ; l a n g D a t a = a . l a n g u a g e s [ d ] ; i f ( ! l a n g D a t a [ e ] ) { l a n g D a t a [ e ] = { } ; 
 } $ e x t e n d ( l a n g D a t a [ e ] , c ) ; i f ( d = = t h i s . g e t C u r r e n t L a n g u a g e ( ) ) { t h i s . l o a d ( ) ; t h i s . f i r e E v e n t ( " l a n g C h a n g e " , d ) ; } r e t u r n   t h i s ; } , l i s t : f u n c t i o n ( ) { r e t u r n   H a s h . g e t K e y s ( a . l a n g u a g e s ) ; 
 } } ) ; } ) ( ) ; C l a s s . M u t a t o r s . B i n d s = f u n c t i o n ( a ) { r e t u r n   a ; } ; C l a s s . M u t a t o r s . i n i t i a l i z e = f u n c t i o n ( a ) { r e t u r n   f u n c t i o n ( ) { $ s p l a t ( t h i s . B i n d s ) . e a c h ( f u n c t i o n ( b ) { v a r   c = t h i s [ b ] ; 
 i f ( c ) { t h i s [ b ] = c . b i n d ( t h i s ) ; } } , t h i s ) ; r e t u r n   a . a p p l y ( t h i s , a r g u m e n t s ) ; } ; } ; C l a s s . O c c l u d e = n e w   C l a s s ( { o c c l u d e : f u n c t i o n ( c , b ) { b = $ ( b | | t h i s . e l e m e n t ) ; v a r   a = b . r e t r i e v e ( c | | t h i s . p r o p e r t y ) ; 
 i f ( a & & ! $ d e f i n e d ( t h i s . o c c l u d e d ) ) { t h i s . o c c l u d e d = a ; } e l s e { t h i s . o c c l u d e d = f a l s e ; b . s t o r e ( c | | t h i s . p r o p e r t y , t h i s ) ; } r e t u r n   t h i s . o c c l u d e d ; } } ) ; ( f u n c t i o n ( ) { n e w   N a t i v e ( { n a m e : " D a t e " , i n i t i a l i z e : D a t e , p r o t e c t : t r u e } ) ; 
 [ " n o w " , " p a r s e " , " U T C " ] . e a c h ( f u n c t i o n ( d ) { N a t i v e . g e n e r i c i z e ( D a t e , d , t r u e ) ; } ) ; D a t e . M e t h o d s = { } ; [ " D a t e " , " D a y " , " F u l l Y e a r " , " H o u r s " , " M i l l i s e c o n d s " , " M i n u t e s " , " M o n t h " , " S e c o n d s " , " T i m e " , " T i m e z o n e O f f s e t " , " W e e k " , " T i m e z o n e " , " G M T O f f s e t " , " D a y O f Y e a r " , " L a s t M o n t h " , " U T C D a t e " , " U T C D a y " , " U T C F u l l Y e a r " , " A M P M " , " U T C H o u r s " , " U T C M i l l i s e c o n d s " , " U T C M i n u t e s " , " U T C M o n t h " , " U T C S e c o n d s " ] . e a c h ( f u n c t i o n ( d ) { D a t e . M e t h o d s [ d . t o L o w e r C a s e ( ) ] = d ; 
 } ) ; $ e a c h ( { m s : " M i l l i s e c o n d s " , y e a r : " F u l l Y e a r " , m i n : " M i n u t e s " , m o : " M o n t h " , s e c : " S e c o n d s " , h r : " H o u r s " } , f u n c t i o n ( e , d ) { D a t e . M e t h o d s [ d ] = e ; } ) ; v a r   c = f u n c t i o n ( e , d ) { r e t u r n " 0 " . r e p e a t ( d - e . t o S t r i n g ( ) . l e n g t h ) + e ; 
 } ; D a t e . i m p l e m e n t ( { s e t : f u n c t i o n ( g , e ) { s w i t c h ( $ t y p e ( g ) ) { c a s e " o b j e c t " : f o r ( v a r   f   i n   g ) { t h i s . s e t ( f , g [ f ] ) ; } b r e a k ; c a s e " s t r i n g " : g = g . t o L o w e r C a s e ( ) ; v a r   d = D a t e . M e t h o d s ; 
 i f ( d [ g ] ) { t h i s [ " s e t " + d [ g ] ] ( e ) ; } } r e t u r n   t h i s ; } , g e t : f u n c t i o n ( e ) { e = e . t o L o w e r C a s e ( ) ; v a r   d = D a t e . M e t h o d s ; i f ( d [ e ] ) { r e t u r n   t h i s [ " g e t " + d [ e ] ] ( ) ; } r e t u r n   n u l l ; } , c l o n e : f u n c t i o n ( ) { r e t u r n   n e w   D a t e ( t h i s . g e t ( " t i m e " ) ) ; 
 } , i n c r e m e n t : f u n c t i o n ( d , e ) { r e t u r n   t h i s . m u l t i p l y ( d , e ) ; } , d e c r e m e n t : f u n c t i o n ( d , e ) { r e t u r n   t h i s . m u l t i p l y ( d , e , f a l s e ) ; } , m u l t i p l y : f u n c t i o n ( e , j , d ) { e = e | | " d a y " ; j = $ p i c k ( j , 1 ) ; 
 d = $ p i c k ( d , t r u e ) ; v a r   k = d ? 1 : - 1 ; v a r   h = t h i s . f o r m a t ( " % m " ) . t o I n t ( ) - 1 ; v a r   f = t h i s . f o r m a t ( " % Y " ) . t o I n t ( ) ; v a r   g = t h i s . g e t ( " t i m e " ) ; v a r   i = 0 ; s w i t c h ( e ) { c a s e " y e a r " : j . t i m e s ( f u n c t i o n ( l ) { i f ( D a t e . i s L e a p Y e a r ( f + l ) & & h > 1 & & k > 0 ) { l + + ; 
 } i f ( D a t e . i s L e a p Y e a r ( f + l ) & & h < = 1 & & k < 0 ) { l - - ; } i + = D a t e . u n i t s . y e a r ( f + l ) ; } ) ; b r e a k ; c a s e " m o n t h " : j . t i m e s ( f u n c t i o n ( n ) { i f ( k < 0 ) { n + + ; } v a r   m = h + ( n * k ) ; v a r   l = l ; i f ( m < 0 ) { l - - ; 
 m = 1 2 + m ; } i f ( m > 1 1 | | m < 0 ) { l + = ( m / 1 2 ) . t o I n t ( ) * k ; m = m % 1 2 ; } i + = D a t e . u n i t s . m o n t h ( m , l ) ; } ) ; b r e a k ; c a s e " d a y " : r e t u r n   t h i s . s e t ( " d a t e " , t h i s . g e t ( " d a t e " ) + ( k * j ) ) ; d e f a u l t : i = D a t e . u n i t s [ e ] ( ) * j ; 
 b r e a k ; } t h i s . s e t ( " t i m e " , g + ( i * k ) ) ; r e t u r n   t h i s ; } , i s L e a p Y e a r : f u n c t i o n ( ) { r e t u r n   D a t e . i s L e a p Y e a r ( t h i s . g e t ( " y e a r " ) ) ; } , c l e a r T i m e : f u n c t i o n ( ) { [ " h r " , " m i n " , " s e c " , " m s " ] . e a c h ( f u n c t i o n ( d ) { t h i s . s e t ( d , 0 ) ; 
 } , t h i s ) ; r e t u r n   t h i s ; } , d i f f : f u n c t i o n ( h , f ) { f = f | | " d a y " ; i f ( $ t y p e ( h ) = = " s t r i n g " ) { h = D a t e . p a r s e ( h ) ; } s w i t c h ( f ) { c a s e " y e a r " : r e t u r n   h . f o r m a t ( " % Y " ) . t o I n t ( ) - t h i s . f o r m a t ( " % Y " ) . t o I n t ( ) ; 
 b r e a k ; c a s e " m o n t h " : v a r   e = ( h . f o r m a t ( " % Y " ) . t o I n t ( ) - t h i s . f o r m a t ( " % Y " ) . t o I n t ( ) ) * 1 2 ; r e t u r n   e + h . f o r m a t ( " % m " ) . t o I n t ( ) - t h i s . f o r m a t ( " % m " ) . t o I n t ( ) ; b r e a k ; d e f a u l t : v a r   g = h . g e t ( " t i m e " ) - t h i s . g e t ( " t i m e " ) ; 
 i f ( g < 0 & & D a t e . u n i t s [ f ] ( ) > ( - 1 * ( g ) ) ) { r e t u r n   0 ; } e l s e { i f ( g > = 0 & & g < D a t e . u n i t s [ f ] ( ) ) { r e t u r n   0 ; } } r e t u r n ( ( h . g e t ( " t i m e " ) - t h i s . g e t ( " t i m e " ) ) / D a t e . u n i t s [ f ] ( ) ) . r o u n d ( ) ; 
 } r e t u r n   n u l l ; } , g e t W e e k : f u n c t i o n ( ) { v a r   d = ( n e w   D a t e ( t h i s . g e t ( " y e a r " ) , 0 , 1 ) ) . g e t ( " d a t e " ) ; r e t u r n   M a t h . r o u n d ( ( t h i s . g e t ( " d a y o f y e a r " ) + ( d > 3 ? d - 4 : d + 3 ) ) / 7 ) ; } , g e t T i m e z o n e : f u n c t i o n ( ) { r e t u r n   t h i s . t o S t r i n g ( ) . r e p l a c e ( / ^ . * ?   ( [ A - Z ] { 3 } ) . [ 0 - 9 ] { 4 } . * $ / , " $ 1 " ) . r e p l a c e ( / ^ . * ? \ ( ( [ A - Z ] ) [ a - z ] +   ( [ A - Z ] ) [ a - z ] +   ( [ A - Z ] ) [ a - z ] + \ ) $ / , " $ 1 $ 2 $ 3 " ) ; 
 } , g e t G M T O f f s e t : f u n c t i o n ( ) { v a r   d = t h i s . g e t ( " t i m e z o n e O f f s e t " ) ; r e t u r n ( ( d > 0 ) ? " - " : "   +   " ) + c ( M a t h . f l o o r ( M a t h . a b s ( d ) / 6 0 ) , 2 ) + c ( d % 6 0 , 2 ) ; } , p a r s e : f u n c t i o n ( d ) { t h i s . s e t ( " t i m e " , D a t e . p a r s e ( d ) ) ; 
 r e t u r n   t h i s ; } , i s V a l i d : f u n c t i o n ( d ) { r e t u r n   ! ! ( d | | t h i s ) . v a l u e O f ( ) ; } , f o r m a t : f u n c t i o n ( e ) { i f ( ! t h i s . i s V a l i d ( ) ) { r e t u r n " i n v a l i d   d a t e " ; } e = e | | " % x   % X " ; e = ( { d b : " % Y - % m - % d   % H : % M : % S " , c o m p a c t : " % Y % m % d T % H % M % S " , i s o 8 6 0 1 : " % Y - % m - % d T % H : % M : % S % T " , r f c 8 2 2 : " % a ,   % d   % b   % Y   % H : % M : % S   % Z " , " s h o r t " : " % d   % b   % H : % M " , " l o n g " : " % B   % d ,   % Y   % H : % M " } ) [ e . t o L o w e r C a s e ( ) ] | | e ; 
 v a r   g = t h i s ; r e t u r n   e . r e p l a c e ( / \ % ( [ a A b B c d H I j m M p S U W w x X y Y T Z \ % ] ) / g , f u n c t i o n ( d , f ) { s w i t c h ( f ) { c a s e " a " : r e t u r n   D a t e . g e t M s g ( " d a y s " ) [ g . g e t ( " d a y " ) ] . s u b s t r ( 0 , 3 ) ; c a s e " A " : r e t u r n   D a t e . g e t M s g ( " d a y s " ) [ g . g e t ( " d a y " ) ] ; 
 c a s e " b " : r e t u r n   D a t e . g e t M s g ( " m o n t h s " ) [ g . g e t ( " m o n t h " ) ] . s u b s t r ( 0 , 3 ) ; c a s e " B " : r e t u r n   D a t e . g e t M s g ( " m o n t h s " ) [ g . g e t ( " m o n t h " ) ] ; c a s e " c " : r e t u r n   g . t o S t r i n g ( ) ; c a s e " d " : r e t u r n   c ( g . g e t ( " d a t e " ) , 2 ) ; 
 c a s e " H " : r e t u r n   c ( g . g e t ( " h r " ) , 2 ) ; c a s e " I " : r e t u r n ( ( g . g e t ( " h r " ) % 1 2 ) | | 1 2 ) ; c a s e " j " : r e t u r n   c ( g . g e t ( " d a y o f y e a r " ) , 3 ) ; c a s e " m " : r e t u r n   c ( ( g . g e t ( " m o " ) + 1 ) , 2 ) ; c a s e " M " : r e t u r n   c ( g . g e t ( " m i n " ) , 2 ) ; 
 c a s e " p " : r e t u r n   D a t e . g e t M s g ( g . g e t ( " h r " ) < 1 2 ? " A M " : " P M " ) ; c a s e " S " : r e t u r n   c ( g . g e t ( " s e c o n d s " ) , 2 ) ; c a s e " U " : r e t u r n   c ( g . g e t ( " w e e k " ) , 2 ) ; c a s e " W " : t h r o w   n e w   E r r o r ( " % W   i s   n o t   s u p p o r t e d   y e t " ) ; 
 c a s e " w " : r e t u r n   g . g e t ( " d a y " ) ; c a s e " x " : r e t u r n   g . f o r m a t ( D a t e . g e t M s g ( " s h o r t D a t e " ) ) ; c a s e " X " : r e t u r n   g . f o r m a t ( D a t e . g e t M s g ( " s h o r t T i m e " ) ) ; c a s e " y " : r e t u r n   g . g e t ( " y e a r " ) . t o S t r i n g ( ) . s u b s t r ( 2 ) ; 
 c a s e " Y " : r e t u r n   g . g e t ( " y e a r " ) ; c a s e " T " : r e t u r n   g . g e t ( " G M T O f f s e t " ) ; c a s e " Z " : r e t u r n   g . g e t ( " T i m e z o n e " ) ; c a s e " % " : r e t u r n " % " ; } r e t u r n   f ; } ) ; } , s e t A M P M : f u n c t i o n ( d ) { d = d . t o U p p e r C a s e ( ) ; 
 i f ( t h i s . f o r m a t ( " % H " ) . t o I n t ( ) > 1 1 & & d = = " A M " ) { r e t u r n   t h i s . d e c r e m e n t ( " h o u r " , 1 2 ) ; } e l s e { i f ( t h i s . f o r m a t ( " % H " ) . t o I n t ( ) < 1 2 & & d = = " P M " ) { r e t u r n   t h i s . i n c r e m e n t ( " h o u r " , 1 2 ) ; 
 } } r e t u r n   t h i s ; } } ) ; D a t e . a l i a s ( " d i f f " , " c o m p a r e " ) ; D a t e . a l i a s ( " f o r m a t " , " s t r f t i m e " ) ; v a r   b = D a t e . p a r s e ; v a r   a = f u n c t i o n ( e , d ) { i f ( D a t e . i s L e a p Y e a r ( d . t o I n t ( ) ) & & e = = = 1 ) { r e t u r n   2 9 ; 
 } r e t u r n [ 3 1 , 2 8 , 3 1 , 3 0 , 3 1 , 3 0 , 3 1 , 3 1 , 3 0 , 3 1 , 3 0 , 3 1 ] [ e ] ; } ; $ e x t e n d ( D a t e , { g e t M s g : f u n c t i o n ( e , d ) { r e t u r n   M o o T o o l s . l a n g . g e t ( " D a t e " , e , d ) ; } , u n i t s : { m s : $ l a m b d a ( 1 ) , s e c o n d : $ l a m b d a ( 1 0 0 0 ) , m i n u t e : $ l a m b d a ( 6 0 0 0 0 ) , h o u r : $ l a m b d a ( 3 6 0 0 0 0 0 ) , d a y : $ l a m b d a ( 8 6 4 0 0 0 0 0 ) , w e e k : $ l a m b d a ( 6 0 8 4 0 0 0 0 0 ) , m o n t h : f u n c t i o n ( g , e ) { v a r   f = n e w   D a t e ( ) ; 
 r e t u r n   a ( $ p i c k ( g , f . f o r m a t ( " % m " ) . t o I n t ( ) ) , $ p i c k ( e , f . f o r m a t ( " % Y " ) . t o I n t ( ) ) ) * 8 6 4 0 0 0 0 0 ; } , y e a r : f u n c t i o n ( d ) { d = d | | n e w   D a t e ( ) . f o r m a t ( " % Y " ) . t o I n t ( ) ; r e t u r n   D a t e . i s L e a p Y e a r ( d . t o I n t ( ) ) ? 3 1 6 2 2 4 0 0 0 0 0 : 3 1 5 3 6 0 0 0 0 0 0 ; 
 } } , i s L e a p Y e a r : f u n c t i o n ( d ) { r e t u r n   n e w   D a t e ( d , 1 , 2 9 ) . g e t D a t e ( ) = = 2 9 ; } , f i x Y 2 K : f u n c t i o n ( f ) { i f ( ! i s N a N ( f ) ) { v a r   e = n e w   D a t e ( f ) ; i f ( e . g e t ( " y e a r " ) < 2 0 0 0 & & f . t o S t r i n g ( ) . i n d e x O f ( e . g e t ( " y e a r " ) ) < 0 ) { e . i n c r e m e n t ( " y e a r " , 1 0 0 ) ; 
 } r e t u r n   e ; } e l s e { r e t u r n   f ; } } , p a r s e : f u n c t i o n ( f ) { v a r   e = $ t y p e ( f ) ; i f ( e = = " n u m b e r " ) { r e t u r n   n e w   D a t e ( f ) ; } i f ( e ! = " s t r i n g " ) { r e t u r n   f ; } i f ( ! f . l e n g t h ) { r e t u r n   n u l l ; } v a r   d ; 
 D a t e . p a r s e P a t t e r n s . e a c h ( f u n c t i o n ( j , g ) { i f ( d ) { r e t u r n ; } v a r   h = j . r e . e x e c ( f ) ; i f ( h ) { d = j . h a n d l e r ( h ) ; } } ) ; r e t u r n   d | | n e w   D a t e ( b ( f ) ) ; } , p a r s e D a y : f u n c t i o n ( d , g ) { v a r   f = - 1 ; 
 s w i t c h ( $ t y p e ( d ) ) { c a s e " n u m b e r " : f = D a t e . g e t M s g ( " d a y s " ) [ d - 1 ] | | f a l s e ; i f ( ! f ) { t h r o w   n e w   E r r o r ( " I n v a l i d   d a y   i n d e x   v a l u e   m u s t   b e   b e t w e e n   1   a n d   7 " ) ; } b r e a k ; c a s e " s t r i n g " : v a r   e = D a t e . g e t M s g ( " d a y s " ) . f i l t e r ( f u n c t i o n ( h ) { r e t u r n   t h i s . t e s t ( h ) ; 
 } , n e w   R e g E x p ( " ^ " + d , " i " ) ) ; i f ( ! e . l e n g t h ) { t h r o w   n e w   E r r o r ( " I n v a l i d   d a y   s t r i n g " ) ; } i f ( e . l e n g t h > 1 ) { t h r o w   n e w   E r r o r ( " A m b i g u o u s   d a y " ) ; } f = e [ 0 ] ; } r e t u r n ( g ) ? D a t e . g e t M s g ( " d a y s " ) . i n d e x O f ( f ) : f ; 
 } , p a r s e M o n t h : f u n c t i o n ( g , f ) { v a r   e = - 1 ; s w i t c h ( $ t y p e ( g ) ) { c a s e " o b j e c t " : e = D a t e . g e t M s g ( " m o n t h s " ) [ g . g e t ( " m o " ) ] ; b r e a k ; c a s e " n u m b e r " : e = D a t e . g e t M s g ( " m o n t h s " ) [ g - 1 ] | | f a l s e ; 
 i f ( ! e ) { t h r o w   n e w   E r r o r ( " I n v a l i d   m o n t h   i n d e x   v a l u e   m u s t   b e   b e t w e e n   1   a n d   1 2 : " + i n d e x ) ; } b r e a k ; c a s e " s t r i n g " : v a r   d = D a t e . g e t M s g ( " m o n t h s " ) . f i l t e r ( f u n c t i o n ( h ) { r e t u r n   t h i s . t e s t ( h ) ; 
 } , n e w   R e g E x p ( " ^ " + g , " i " ) ) ; i f ( ! d . l e n g t h ) { t h r o w   n e w   E r r o r ( " I n v a l i d   m o n t h   s t r i n g " ) ; } i f ( d . l e n g t h > 1 ) { t h r o w   n e w   E r r o r ( " A m b i g u o u s   m o n t h " ) ; } e = d [ 0 ] ; } r e t u r n ( f ) ? D a t e . g e t M s g ( " m o n t h s " ) . i n d e x O f ( e ) : e ; 
 } , p a r s e U T C : f u n c t i o n ( e ) { v a r   d = n e w   D a t e ( e ) ; v a r   f = D a t e . U T C ( d . g e t ( " y e a r " ) , d . g e t ( " m o " ) , d . g e t ( " d a t e " ) , d . g e t ( " h r " ) , d . g e t ( " m i n " ) , d . g e t ( " s e c " ) ) ; r e t u r n   n e w   D a t e ( f ) ; 
 } , o r d e r I n d e x : f u n c t i o n ( d ) { r e t u r n   D a t e . g e t M s g ( " d a t e O r d e r " ) . i n d e x O f ( d ) + 1 ; } , p a r s e P a t t e r n s : [ { r e : / ^ ( \ d { 4 } ) [ \ . \ - \ / ] ( \ d { 1 , 2 } ) [ \ . \ - \ / ] ( \ d { 1 , 2 } ) $ / , h a n d l e r : f u n c t i o n ( d ) { r e t u r n   n e w   D a t e ( d [ 1 ] , d [ 2 ] - 1 , d [ 3 ] ) ; 
 } } , { r e : / ^ ( \ d { 4 } ) [ \ . \ - \ / ] ( \ d { 1 , 2 } ) [ \ . \ - \ / ] ( \ d { 1 , 2 } ) \ s ( \ d { 1 , 2 } ) : ( \ d { 1 , 2 } ) ( ? : \ : ( \ d { 1 , 2 } ) ) ? ( \ w { 2 } ) ? $ / , h a n d l e r : f u n c t i o n ( e ) { v a r   f = n e w   D a t e ( e [ 1 ] , e [ 2 ] - 1 , e [ 3 ] ) ; 
 f . s e t ( " h r " , e [ 4 ] ) ; f . s e t ( " m i n " , e [ 5 ] ) ; f . s e t ( " s e c " , e [ 6 ] | | 0 ) ; i f ( e [ 7 ] ) { f . s e t ( " a m p m " , e [ 7 ] ) ; } r e t u r n   f ; } } , { r e : / ^ ( \ d { 1 , 2 } ) [ \ . \ - \ / ] ( \ d { 1 , 2 } ) [ \ . \ - \ / ] ( \ d { 2 , 4 } ) $ / , h a n d l e r : f u n c t i o n ( e ) { v a r   f = n e w   D a t e ( e [ D a t e . o r d e r I n d e x ( " y e a r " ) ] , e [ D a t e . o r d e r I n d e x ( " m o n t h " ) ] - 1 , e [ D a t e . o r d e r I n d e x ( " d a t e " ) ] ) ; 
 r e t u r n   D a t e . f i x Y 2 K ( f ) ; } } , { r e : / ^ ( \ d { 1 , 2 } ) [ \ . \ - \ / ] ( \ d { 1 , 2 } ) [ \ . \ - \ / ] ( \ d { 2 , 4 } ) \ s ( \ d { 1 , 2 } ) [ : \ . ] ( \ d { 1 , 2 } ) ( ? : [ \ : \ . ] ( \ d { 1 , 2 } ) ) ? ( \ w { 2 } ) ? $ / , h a n d l e r : f u n c t i o n ( e ) { v a r   f = n e w   D a t e ( e [ D a t e . o r d e r I n d e x ( " y e a r " ) ] , e [ D a t e . o r d e r I n d e x ( " m o n t h " ) ] - 1 , e [ D a t e . o r d e r I n d e x ( " d a t e " ) ] ) ; 
 f . s e t ( " h r " , e [ 4 ] ) ; f . s e t ( " m i n " , e [ 5 ] ) ; f . s e t ( " s e c " , e [ 6 ] | | 0 ) ; i f ( e [ 7 ] ) { f . s e t ( " a m p m " , e [ 7 ] ) ; } r e t u r n   D a t e . f i x Y 2 K ( f ) ; } } ] } ) ; } ) ( ) ; 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 ; } } ) ; } ) ( ) ; E l e m e n t . i m p l e m e n t ( { m e a s u r e : f u n c t i o n ( e ) { v a r   g = f u n c t i o n ( h ) { r e t u r n   ! ! ( ! h | | h . o f f s e t H e i g h t | | h . o f f s e t W i d t h ) ; 
 } ; i f ( g ( t h i s ) ) { r e t u r n   e . a p p l y ( t h i s ) ; } v a r   d = t h i s . g e t P a r e n t ( ) , b = [ ] , f = [ ] ; w h i l e ( ! g ( d ) & & d ! = d o c u m e n t . b o d y ) { b . p u s h ( d . e x p o s e ( ) ) ; d = d . g e t P a r e n t ( ) ; } v a r   c = t h i s . e x p o s e ( ) ; 
 v a r   a = e . a p p l y ( t h i s ) ; c ( ) ; b . e a c h ( f u n c t i o n ( h ) { h ( ) ; } ) ; r e t u r n   a ; } , e x p o s e : f u n c t i o n ( ) { i f ( t h i s . g e t S t y l e ( " d i s p l a y " ) ! = " n o n e " ) { r e t u r n   $ e m p t y ; } v a r   a = t h i s . g e t S t y l e s ( " d i s p l a y " , " p o s i t i o n " , " v i s i b i l i t y " ) ; 
 r e t u r n   t h i s . s e t S t y l e s ( { d i s p l a y : " b l o c k " , p o s i t i o n : " a b s o l u t e " , v i s i b i l i t y : " h i d d e n " } ) . s e t S t y l e s . p a s s ( a , t h i s ) ; } , g e t D i m e n s i o n s : f u n c t i o n ( a ) { a = $ m e r g e ( { c o m p u t e S i z e : f a l s e } , a ) ; 
 v a r   d = { } ; v a r   c = f u n c t i o n ( f , e ) { r e t u r n ( e . c o m p u t e S i z e ) ? f . g e t C o m p u t e d S i z e ( e ) : f . g e t S i z e ( ) ; } ; i f ( t h i s . g e t S t y l e ( " d i s p l a y " ) = = " n o n e " ) { d = t h i s . m e a s u r e ( f u n c t i o n ( ) { r e t u r n   c ( t h i s , a ) ; 
 } ) ; } e l s e { t r y { d = c ( t h i s , a ) ; } c a t c h ( b ) { } } r e t u r n   $ c h k ( d . x ) ? $ e x t e n d ( d , { w i d t h : d . x , h e i g h t : d . y } ) : $ e x t e n d ( d , { x : d . w i d t h , y : d . h e i g h t } ) ; } , g e t C o m p u t e d S i z e : f u n c t i o n ( a ) { a = $ m e r g e ( { s t y l e s : [ " p a d d i n g " , " b o r d e r " ] , p l a i n s : { h e i g h t : [ " t o p " , " b o t t o m " ] , w i d t h : [ " l e f t " , " r i g h t " ] } , m o d e : " b o t h " } , a ) ; 
 v a r   c = { w i d t h : 0 , h e i g h t : 0 } ; s w i t c h ( a . m o d e ) { c a s e " v e r t i c a l " : d e l e t e   c . w i d t h ; d e l e t e   a . p l a i n s . w i d t h ; b r e a k ; c a s e " h o r i z o n t a l " : d e l e t e   c . h e i g h t ; d e l e t e   a . p l a i n s . h e i g h t ; 
 b r e a k ; } v a r   b = [ ] ; $ e a c h ( a . p l a i n s , f u n c t i o n ( g , f ) { g . e a c h ( f u n c t i o n ( h ) { a . s t y l e s . e a c h ( f u n c t i o n ( i ) { b . p u s h ( ( i = = " b o r d e r " ) ? i + " - " + h + " - w i d t h " : i + " - " + h ) ; } ) ; } ) ; } ) ; v a r   e = { } ; 
 b . e a c h ( f u n c t i o n ( f ) { e [ f ] = t h i s . g e t C o m p u t e d S t y l e ( f ) ; } , t h i s ) ; v a r   d = [ ] ; $ e a c h ( a . p l a i n s , f u n c t i o n ( g , f ) { v a r   h = f . c a p i t a l i z e ( ) ; c [ " t o t a l " + h ] = 0 ; c [ " c o m p u t e d " + h ] = 0 ; g . e a c h ( f u n c t i o n ( i ) { c [ " c o m p u t e d " + i . c a p i t a l i z e ( ) ] = 0 ; 
 b . e a c h ( f u n c t i o n ( k , j ) { i f ( k . t e s t ( i ) ) { e [ k ] = e [ k ] . t o I n t ( ) | | 0 ; c [ " t o t a l " + h ] = c [ " t o t a l " + h ] + e [ k ] ; c [ " c o m p u t e d " + i . c a p i t a l i z e ( ) ] = c [ " c o m p u t e d " + i . c a p i t a l i z e ( ) ] + e [ k ] ; } i f ( k . t e s t ( i ) & & f ! = k & & ( k . t e s t ( " b o r d e r " ) | | k . t e s t ( " p a d d i n g " ) ) & & ! d . c o n t a i n s ( k ) ) { d . p u s h ( k ) ; 
 c [ " c o m p u t e d " + h ] = c [ " c o m p u t e d " + h ] - e [ k ] ; } } ) ; } ) ; } ) ; [ " W i d t h " , " H e i g h t " ] . e a c h ( f u n c t i o n ( g ) { v a r   f = g . t o L o w e r C a s e ( ) ; i f ( ! $ c h k ( c [ f ] ) ) { r e t u r n ; } c [ f ] = c [ f ] + t h i s [ " o f f s e t " + g ] + c [ " c o m p u t e d " + g ] ; 
 c [ " t o t a l " + g ] = c [ f ] + c [ " t o t a l " + g ] ; d e l e t e   c [ " c o m p u t e d " + g ] ; } , t h i s ) ; r e t u r n   $ e x t e n d ( e , c ) ; } } ) ; ( f u n c t i o n ( ) { v a r   a = E l e m e n t . p r o t o t y p e . p o s i t i o n ; E l e m e n t . i m p l e m e n t ( { p o s i t i o n : f u n c t i o n ( r ) { i f ( r & & ( $ d e f i n e d ( r . x ) | | $ d e f i n e d ( r . y ) ) ) { r e t u r n   a ? a . a p p l y ( t h i s , a r g u m e n t s ) : t h i s ; 
 } $ e a c h ( r | | { } , f u n c t i o n ( t , s ) { i f ( ! $ d e f i n e d ( t ) ) { d e l e t e   r [ s ] ; } } ) ; r = $ m e r g e ( { r e l a t i v e T o : d o c u m e n t . b o d y , p o s i t i o n : { x : " c e n t e r " , y : " c e n t e r " } , e d g e : f a l s e , o f f s e t : { x : 0 , y : 0 } , r e t u r n P o s : f a l s e , r e l F i x e d P o s i t i o n : f a l s e , i g n o r e M a r g i n s : f a l s e , a l l o w N e g a t i v e : f a l s e } , r ) ; 
 v a r   b = { x : 0 , y : 0 } ; v a r   h = f a l s e ; v a r   c = t h i s . m e a s u r e ( f u n c t i o n ( ) { r e t u r n   $ ( t h i s . g e t O f f s e t P a r e n t ( ) ) ; } ) ; i f ( c & & c ! = t h i s . g e t D o c u m e n t ( ) . b o d y ) { b = c . m e a s u r e ( 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 ( ) ; 
 } ) ; h = t r u e ; r . o f f s e t . x = r . o f f s e t . x - b . x ; r . o f f s e t . y = r . o f f s e t . y - b . y ; } v a r   q = f u n c t i o n ( s ) { i f ( $ t y p e ( s ) ! = " s t r i n g " ) { r e t u r n   s ; } s = s . t o L o w e r C a s e ( ) ; v a r   t = { } ; i f ( s . t e s t ( " l e f t " ) ) { t . x = " l e f t " ; 
 } e l s e { i f ( s . t e s t ( " r i g h t " ) ) { t . x = " r i g h t " ; } e l s e { t . x = " c e n t e r " ; } } i f ( s . t e s t ( " u p p e r " ) | | s . t e s t ( " t o p " ) ) { t . y = " t o p " ; } e l s e { i f ( s . t e s t ( " b o t t o m " ) ) { t . y = " b o t t o m " ; } e l s e { t . y = " c e n t e r " ; 
 } } r e t u r n   t ; } ; r . e d g e = q ( r . e d g e ) ; r . p o s i t i o n = q ( r . p o s i t i o n ) ; i f ( ! r . e d g e ) { i f ( r . p o s i t i o n . x = = " c e n t e r " & & r . p o s i t i o n . y = = " c e n t e r " ) { r . e d g e = { x : " c e n t e r " , y : " c e n t e r " } ; } e l s e { r . e d g e = { x : " l e f t " , y : " t o p " } ; 
 } } t h i s . s e t S t y l e ( " p o s i t i o n " , " a b s o l u t e " ) ; v a r   p = $ ( r . r e l a t i v e T o ) | | d o c u m e n t . b o d y ; v a r   i = p = = d o c u m e n t . b o d y ? w i n d o w . g e t S c r o l l ( ) : p . g e t P o s i t i o n ( ) ; v a r   o = i . y ; v a r   g = i . x ; 
 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 = p . g e t S c r o l l s ( ) ; o + = l . y ; g + = l . x ; } v a r   j = t h i s . g e t D i m e n s i o n s ( { c o m p u t e S i z e : t r u e , s t y l e s : [ " p a d d i n g " , " b o r d e r " , " m a r g i n " ] } ) ; i f ( r . i g n o r e M a r g i n s ) { r . o f f s e t . x = r . o f f s e t . x - j [ " m a r g i n - l e f t " ] ; 
 r . o f f s e t . y = r . o f f s e t . y - j [ " m a r g i n - t o p " ] ; } v a r   n = { } ; v a r   d = r . o f f s e t . y ; v a r   e = r . o f f s e t . x ; v a r   k = w i n d o w . g e t S i z e ( ) ; s w i t c h ( r . p o s i t i o n . x ) { c a s e " l e f t " : n . x = g + e ; b r e a k ; 
 c a s e " r i g h t " : n . x = g + e + p . o f f s e t W i d t h ; b r e a k ; d e f a u l t : n . x = g + ( ( p = = d o c u m e n t . b o d y ? k . x : p . o f f s e t W i d t h ) / 2 ) + e ; b r e a k ; } s w i t c h ( r . p o s i t i o n . y ) { c a s e " t o p " : n . y = o + d ; b r e a k ; c a s e " b o t t o m " : n . y = o + d + p . o f f s e t H e i g h t ; 
 b r e a k ; d e f a u l t : n . y = o + ( ( p = = d o c u m e n t . b o d y ? k . y : p . o f f s e t H e i g h t ) / 2 ) + d ; b r e a k ; } i f ( r . e d g e ) { v a r   m = { } ; s w i t c h ( r . e d g e . x ) { c a s e " l e f t " : m . x = 0 ; b r e a k ; c a s e " r i g h t " : m . x = - j . x - j . c o m p u t e d R i g h t - j . c o m p u t e d L e f t ; 
 b r e a k ; d e f a u l t : m . x = - ( j . x / 2 ) ; b r e a k ; } s w i t c h ( r . e d g e . y ) { c a s e " t o p " : m . y = 0 ; b r e a k ; c a s e " b o t t o m " : m . y = - j . y - j . c o m p u t e d T o p - j . c o m p u t e d B o t t o m ; b r e a k ; d e f a u l t : m . y = - ( j . y / 2 ) ; 
 b r e a k ; } n . x = n . x + m . x ; n . y = n . y + m . y ; } n = { l e f t : ( ( n . x > = 0 | | h | | r . a l l o w N e g a t i v e ) ? n . x : 0 ) . t o I n t ( ) , t o p : ( ( n . y > = 0 | | h | | r . a l l o w N e g a t i v e ) ? n . y : 0 ) . t o I n t ( ) } ; i f ( p . g e t S t y l e ( " p o s i t i o n " ) = = " f i x e d " | | r . r e l F i x e d P o s i t i o n ) { v a r   f = w i n d o w . g e t S c r o l l ( ) ; 
 n . t o p = n . t o p . t o I n t ( ) + f . y ; n . l e f t = n . l e f t . t o I n t ( ) + f . x ; } i f ( r . r e t u r n P o s ) { r e t u r n   n ; } e l s e { t h i s . s e t S t y l e s ( n ) ; } 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 ( { i s D i s p l a y e d : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S t y l e ( " d i s p l a y " ) ! = " n o n e " ; 
 } , t o g g l e : f u n c t i o n ( ) { r e t u r n   t h i s [ t h i s . i s D i s p l a y e d ( ) ? " h i d e " : " s h o w " ] ( ) ; } , h i d e : f u n c t i o n ( ) { v a r   b ; t r y { i f ( " n o n e " ! = t h i s . g e t S t y l e ( " d i s p l a y " ) ) { b = t h i s . g e t S t y l e ( " d i s p l a y " ) ; 
 } } c a t c h ( a ) { } r e t u r n   t h i s . s t o r e ( " o r i g i n a l D i s p l a y " , b | | " b l o c k " ) . s e t S t y l e ( " d i s p l a y " , " n o n e " ) ; } , s h o w : f u n c t i o n ( a ) { r e t u r n   t h i s . s e t S t y l e ( " d i s p l a y " , a | | t h i s . r e t r i e v e ( " o r i g i n a l D i s p l a y " ) | | " b l o c k " ) ; 
 } , s w a p C l a s s : f u n c t i o n ( a , b ) { r e t u r n   t h i s . r e m o v e C l a s s ( a ) . a d d C l a s s ( b ) ; } } ) ; F x . E l e m e n t s = 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 s = t h i s . s u b j e c t = $ $ ( b ) ; 
 t h i s . p a r e n t ( a ) ; } , c o m p u t e : f u n c t i o n ( g , h , j ) { v a r   c = { } ; f o r ( v a r   d   i n   g ) { v a r   a = g [ d ] , e = h [ d ] , f = c [ d ] = { } ; f o r ( v a r   b   i n   a ) { f [ b ] = t h i s . p a r e n t ( a [ b ] , e [ b ] , j ) ; } } r e t u r n   c ; 
 } , s e t : f u n c t i o n ( b ) { f o r ( v a r   c   i n   b ) { v a r   a = b [ c ] ; f o r ( v a r   d   i n   a ) { t h i s . r e n d e r ( t h i s . e l e m e n t s [ c ] , d , a [ d ] , 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 ) { i f ( ! t h i s . c h e c k ( c ) ) { r e t u r n   t h i s ; 
 } v a r   h = { } , j = { } ; f o r ( v a r   d   i n   c ) { v a r   f = c [ d ] , a = h [ d ] = { } , g = j [ d ] = { } ; f o r ( v a r   b   i n   f ) { v a r   e = t h i s . p r e p a r e ( t h i s . e l e m e n t s [ d ] , b , f [ b ] ) ; a [ b ] = e . f r o m ; g [ b ] = e . t o ; } } r e t u r n   t h i s . p a r e n t ( h , j ) ; 
 } } ) ; v a r   A c c o r d i o n = F x . A c c o r d i o n = n e w   C l a s s ( { E x t e n d s : F x . E l e m e n t s , o p t i o n s : { d i s p l a y : 0 , s h o w : f a l s e , h e i g h t : t r u e , w i d t h : f a l s e , o p a c i t y : t r u e , f i x e d H e i g h t : f a l s e , f i x e d W i d t h : f a l s e , w a i t : f a l s e , a l w a y s H i d e : f a l s e , t r i g g e r : " c l i c k " , i n i t i a l D i s p l a y F x : t r u e } , i n i t i a l i z e : 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 , { c o n t a i n e r : E l e m e n t . t y p e , o p t i o n s : O b j e c t . t y p e , t o g g l e r s : $ d e f i n e d , e l e m e n t s : $ d e f i n e d } ) ; 
 t h i s . p a r e n t ( c . e l e m e n t s , c . o p t i o n s ) ; t h i s . t o g g l e r s = $ $ ( c . t o g g l e r s ) ; t h i s . c o n t a i n e r = $ ( c . c o n t a i n e r ) ; t h i s . p r e v i o u s = - 1 ; i f ( t h i s . o p t i o n s . a l w a y s H i d e ) { t h i s . o p t i o n s . w a i t = t r u e ; 
 } i f ( $ c h k ( t h i s . o p t i o n s . s h o w ) ) { t h i s . o p t i o n s . d i s p l a y = f a l s e ; t h i s . p r e v i o u s = t h i s . o p t i o n s . s h o w ; } i f ( t h i s . o p t i o n s . s t a r t ) { t h i s . o p t i o n s . d i s p l a y = f a l s e ; t h i s . o p t i o n s . s h o w = f a l s e ; 
 } t h i s . e f f e c t s = { } ; i f ( t h i s . o p t i o n s . o p a c i t y ) { t h i s . e f f e c t s . o p a c i t y = " f u l l O p a c i t y " ; } i f ( t h i s . o p t i o n s . w i d t h ) { t h i s . e f f e c t s . w i d t h = t h i s . o p t i o n s . f i x e d W i d t h ? " f u l l W i d t h " : " o f f s e t W i d t h " ; 
 } i f ( t h i s . o p t i o n s . h e i g h t ) { t h i s . e f f e c t s . h e i g h t = t h i s . o p t i o n s . f i x e d H e i g h t ? " f u l l H e i g h t " : " s c r o l l H e i g h t " ; } f o r ( v a r   b = 0 , a = t h i s . t o g g l e r s . l e n g t h ; b < a ; b + + ) { t h i s . a d d S e c t i o n ( t h i s . t o g g l e r s [ b ] , t h i s . e l e m e n t s [ b ] ) ; 
 } t h i s . e l e m e n t s . e a c h ( f u n c t i o n ( e , d ) { i f ( t h i s . o p t i o n s . s h o w = = = d ) { t h i s . f i r e E v e n t ( " a c t i v e " , [ t h i s . t o g g l e r s [ d ] , e ] ) ; } e l s e { f o r ( v a r   f   i n   t h i s . e f f e c t s ) { e . s e t S t y l e ( f , 0 ) ; 
 } } } , t h i s ) ; i f ( $ c h k ( t h i s . o p t i o n s . d i s p l a y ) ) { t h i s . d i s p l a y ( t h i s . o p t i o n s . d i s p l a y , t h i s . o p t i o n s . i n i t i a l D i s p l a y F x ) ; } } , a d d S e c t i o n : f u n c t i o n ( d , b ) { d = $ ( d ) ; b = $ ( b ) ; v a r   e = t h i s . t o g g l e r s . c o n t a i n s ( d ) ; 
 t h i s . t o g g l e r s . i n c l u d e ( d ) ; t h i s . e l e m e n t s . i n c l u d e ( b ) ; v a r   a = t h i s . t o g g l e r s . i n d e x O f ( d ) ; d . a d d E v e n t ( t h i s . o p t i o n s . t r i g g e r , t h i s . d i s p l a y . b i n d ( t h i s , a ) ) ; i f ( t h i s . o p t i o n s . h e i g h t ) { b . s e t S t y l e s ( { " p a d d i n g - t o p " : 0 , " b o r d e r - t o p " : " n o n e " , " p a d d i n g - b o t t o m " : 0 , " b o r d e r - b o t t o m " : " n o n e " } ) ; 
 } i f ( t h i s . o p t i o n s . w i d t h ) { b . s e t S t y l e s ( { " p a d d i n g - l e f t " : 0 , " b o r d e r - l e f t " : " n o n e " , " p a d d i n g - r i g h t " : 0 , " b o r d e r - r i g h t " : " n o n e " } ) ; } b . f u l l O p a c i t y = 1 ; i f ( t h i s . o p t i o n s . f i x e d W i d t h ) { b . f u l l W i d t h = t h i s . o p t i o n s . f i x e d W i d t h ; 
 } i f ( t h i s . o p t i o n s . f i x e d H e i g h t ) { b . f u l l H e i g h t = t h i s . o p t i o n s . f i x e d H e i g h t ; } b . s e t S t y l e ( " o v e r f l o w " , " h i d d e n " ) ; i f ( ! e ) { f o r ( v a r   c   i n   t h i s . e f f e c t s ) { b . s e t S t y l e ( c , 0 ) ; 
 } } r e t u r n   t h i s ; } , d i s p l a y : f u n c t i o n ( a , b ) { b = $ p i c k ( b , t r u e ) ; a = ( $ t y p e ( a ) = = " e l e m e n t " ) ? t h i s . e l e m e n t s . i n d e x O f ( a ) : a ; i f ( ( t h i s . t i m e r & & t h i s . o p t i o n s . w a i t ) | | ( a = = = t h i s . p r e v i o u s & & ! t h i s . o p t i o n s . a l w a y s H i d e ) ) { r e t u r n   t h i s ; 
 } t h i s . p r e v i o u s = a ; v a r   c = { } ; t h i s . e l e m e n t s . e a c h ( f u n c t i o n ( f , e ) { c [ e ] = { } ; v a r   d = ( e ! = a ) | | ( t h i s . o p t i o n s . a l w a y s H i d e & & ( f . o f f s e t H e i g h t > 0 ) ) ; t h i s . f i r e E v e n t ( d ? " b a c k g r o u n d " : " a c t i v e " , [ t h i s . t o g g l e r s [ e ] , f ] ) ; 
 f o r ( v a r   g   i n   t h i s . e f f e c t s ) { c [ e ] [ g ] = d ? 0 : f [ t h i s . e f f e c t s [ g ] ] ; } } , t h i s ) ; r e t u r n   b ? t h i s . s t a r t ( c ) : t h i s . s e t ( c ) ; } } ) ; F x . M o v e = n e w   C l a s s ( { E x t e n d s : F x . M o r p h , o p t i o n s : { r e l a t i v e T o : d o c u m e n t . b o d y , p o s i t i o n : " c e n t e r " , e d g e : f a l s e , o f f s e t : { x : 0 , y : 0 } } , s t a r t : f u n c t i o n ( a ) { r e t u r n   t h i s . p a r e n t ( t h i s . e l e m e n t . p o s i t i o n ( $ m e r g e ( t h i s . o p t i o n s , a , { r e t u r n P o s : t r u e } ) ) ) ; 
 } } ) ; E l e m e n t . P r o p e r t i e s . m o v e = { 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 v e " ) ; 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 v e " ) . s t o r e ( " m o v e : 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 v e " ) ) { i f ( a | | ! t h i s . r e t r i e v e ( " m o v e : o p t i o n s " ) ) { t h i s . s e t ( " m o v e " , a ) ; } t h i s . s t o r e ( " m o v e " , n e w   F x . M o v e ( t h i s , t h i s . r e t r i e v e ( " m o v e : 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 v e " ) ; } } ; E l e m e n t . i m p l e m e n t ( { m o v e : f u n c t i o n ( a ) { t h i s . g e t ( " m o v e " ) . s t a r t ( a ) ; r e t u r n   t h i s ; } } ) ; F x . R e v e a l = n e w   C l a s s ( { E x t e n d s : F x . M o r p h , o p t i o n s : { s t y l e s : [ " p a d d i n g " , " b o r d e r " , " m a r g i n " ] , t r a n s i t i o n O p a c i t y : ! B r o w s e r . E n g i n e . t r i d e n t 4 , m o d e : " v e r t i c a l " , d i s p l a y : " b l o c k " , h i d e I n p u t s : B r o w s e r . E n g i n e . t r i d e n t ? " s e l e c t ,   i n p u t ,   t e x t a r e a ,   o b j e c t ,   e m b e d " : f a l s e } , d i s s o l v e : f u n c t i o n ( ) { t r y { i f ( ! t h i s . h i d i n g & & ! t h i s . s h o w i n g ) { i f ( t h i s . e l e m e n t . g e t S t y l e ( " d i s p l a y " ) ! = " n o n e " ) { t h i s . h i d i n g = t r u e ; 
 t h i s . s h o w i n g = f a l s e ; t h i s . h i d d e n = t r u e ; v a r   d = t h i s . e l e m e n t . g e t C o m p u t e d S i z e ( { s t y l e s : t h i s . o p t i o n s . s t y l e s , m o d e : t h i s . o p t i o n s . m o d e } ) ; v a r   g = ( t h i s . e l e m e n t . s t y l e . h e i g h t = = = " " | | t h i s . e l e m e n t . s t y l e . h e i g h t = = " a u t o " ) ; 
 t h i s . e l e m e n t . s e t S t y l e ( " d i s p l a y " , " b l o c k " ) ; i f ( t h i s . o p t i o n s . t r a n s i t i o n O p a c i t y ) { d . o p a c i t y = 1 ; } v a r   b = { } ; $ e a c h ( d , f u n c t i o n ( h , e ) { b [ e ] = [ h , 0 ] ; } , t h i s ) ; v a r   f = t h i s . e l e m e n t . g e t S t y l e ( " o v e r f l o w " ) ; 
 t h i s . e l e m 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 " ) ; v a r   a = t h i s . o p t i o n s . h i d e I n p u t s ? t h i s . e l e m e n t . g e t E l e m e n t s ( t h i s . o p t i o n s . h i d e I n p u t s ) : n u l l ; t h i s . $ c h a i n . u n s h i f t ( f u n c t i o n ( ) { i f ( t h i s . h i d d e n ) { t h i s . h i d i n g = f a l s e ; 
 $ e a c h ( d , f u n c t i o n ( h , e ) { d [ e ] = h ; } , t h i s ) ; t h i s . e l e m e n t . s e t S t y l e s ( $ m e r g e ( { d i s p l a y : " n o n e " , o v e r f l o w : f } , d ) ) ; i f ( g ) { i f ( [ " v e r t i c a l " , " b o t h " ] . c o n t a i n s ( t h i s . o p t i o n s . m o d e ) ) { t h i s . e l e m e n t . s t y l e . h e i g h t = " " ; 
 } i f ( [ " w i d t h " , " b o t h " ] . c o n t a i n s ( t h i s . o p t i o n s . m o d e ) ) { t h i s . e l e m e n t . s t y l e . w i d t h = " " ; } } i f ( a ) { a . s e t 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 . f i r e E v e n t ( " h i d e " , t h i s . e l e m e n t ) ; 
 t h i s . c a l l C h a i n ( ) ; } . b i n d ( t h i s ) ) ; i f ( a ) { a . s e t 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 a r t ( b ) ; } e l s e { t h i s . c a l l C h a i n . d e l a y ( 1 0 , t h i s ) ; 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 . e l e m e n t ) ; 
 t h i s . f i r e E v e n t ( " h i d e " , t h i s . e l e m e n t ) ; } } e l s e { i f ( t h i s . o p t i o n s . l i n k = = " c h a i n " ) { t h i s . c h a i n ( t h i s . d i s s o l v e . b i n d ( t h i s ) ) ; } e l s e { i f ( t h i s . o p t i o n s . l i n k = = " c a n c e l " & & ! t h i s . h i d i n g ) { t h i s . c a n c e l ( ) ; 
 t h i s . d i s s o l v e ( ) ; } } } } c a t c h ( c ) { t h i s . h i d i n g = f a l s e ; t h i s . e l e m e n t . s e t S t y l e ( " d i s p l a y " , " n o n e " ) ; t h i s . c a l l C h a i n . d e l a y ( 1 0 , t h i s ) ; 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 . e l e m e n t ) ; 
 t h i s . f i r e E v e n t ( " h i d e " , t h i s . e l e m e n t ) ; } r e t u r n   t h i s ; } , r e v e a l : f u n c t i o n ( ) { t r y { i f ( ! t h i s . s h o w i n g & & ! t h i s . h i d i n g ) { i f ( t h i s . e l e m e n t . g e t S t y l e ( " d i s p l a y " ) = = " n o n e " | | t h i s . e l e m e n t . g e t S t y l e ( " v i s i b l i t y " ) = = " h i d d e n " | | t h i s . e l e m e n t . g e t S t y l e ( " o p a c i t y " ) = = 0 ) { t h i s . s h o w i n g = t r u e ; 
 t h i s . h i d i n g = f a l s e ; t h i s . h i d d e n = f a l s e ; v a r   g , d ; t h i s . e l e m e n t . m e a s u r e ( f u n c t i o n ( ) { g = ( t h i s . e l e m e n t . s t y l e . h e i g h t = = = " " | | t h i s . e l e m e n t . s t y l e . h e i g h t = = " a u t o " ) ; d = t h i s . e l e m e n t . g e t C o m p u t e d S i z e ( { s t y l e s : t h i s . o p t i o n s . s t y l e s , m o d e : t h i s . o p t i o n s . m o d e } ) ; 
 } . b i n d ( t h i s ) ) ; $ e a c h ( d , f u n c t i o n ( h , e ) { d [ e ] = h ; } ) ; i f ( $ c h k ( t h i s . o p t i o n s . h e i g h t O v e r r i d e ) ) { d . h e i g h t = t h i s . o p t i o n s . h e i g h t O v e r r i d e . t o I n t ( ) ; } i f ( $ c h k ( t h i s . o p t i o n s . w i d t h O v e r r i d e ) ) { d . w i d t h = t h i s . o p t i o n s . w i d t h O v e r r i d e . t o I n t ( ) ; 
 } i f ( t h i s . o p t i o n s . t r a n s i t i o n O p a c i t y ) { t h i s . e l e m e n t . s e t S t y l e ( " o p a c i t y " , 0 ) ; d . o p a c i t y = 1 ; } v a r   b = { h e i g h t : 0 , d i s p l a y : t h i s . o p t i o n s . d i s p l a y } ; $ e a c h ( d , f u n c t i o n ( h , e ) { b [ e ] = 0 ; 
 } ) ; v a r   f = t h i s . e l e m e n t . g e t S t y l e ( " o v e r f l o w " ) ; t h i s . e l e m e n t . s e t S t y l e s ( $ m e r g e ( b , { o v e r f l o w : " h i d d e n " } ) ) ; v a r   a = t h i s . o p t i o n s . h i d e I n p u t s ? t h i s . e l e m e n t . g e t E l e m e n t s ( t h i s . o p t i o n s . h i d e I n p u t s ) : n u l l ; 
 i f ( a ) { a . s e t 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 a r t ( d ) ; t h i s . $ c h a i n . u n s h i f t ( f u n c t i o n ( ) { t h i s . e l e m e n t . s e t S t y l e ( " o v e r f l o w " , f ) ; i f ( ! t h i s . o p t i o n s . h e i g h t O v e r r i d e & & g ) { i f ( [ " v e r t i c a l " , " b o t h " ] . c o n t a i n s ( t h i s . o p t i o n s . m o d e ) ) { t h i s . e l e m e n t . s t y l e . h e i g h t = " " ; 
 } i f ( [ " w i d t h " , " b o t h " ] . c o n t a i n s ( t h i s . o p t i o n s . m o d e ) ) { t h i s . e l e m e n t . s t y l e . w i d t h = " " ; } } i f ( ! t h i s . h i d d e n ) { t h i s . s h o w i n g = f a l s e ; } i f ( a ) { a . s e t 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 . c a l l C h a i n ( ) ; t h i s . f i r e E v e n t ( " s h o w " , t h i s . e l e m e n t ) ; } . b i n d ( t h i s ) ) ; } e l s e { 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 o m p l e t e " , t h i s . e l e m e n t ) ; t h i s . f i r e E v e n t ( " s h o w " , t h i s . e l e m e n t ) ; 
 } } e l s e { i f ( t h i s . o p t i o n s . l i n k = = " c h a i n " ) { t h i s . c h a i n ( t h i s . r e v e a l . b i n d ( t h i s ) ) ; } e l s e { i f ( t h i s . o p t i o n s . l i n k = = " c a n c e l " & & ! t h i s . s h o w i n g ) { t h i s . c a n c e l ( ) ; t h i s . r e v e a l ( ) ; 
 } } } } c a t c h ( c ) { t h i s . e l e m e n t . s e t S t y l e s ( { d i s p l a y : t h i s . o p t i o n s . d i s p l a y , v i s i b l i t y : " v i s i b l e " , o p a c i t y : 1 } ) ; t h i s . s h o w i n g = f a l s e ; t h i s . c a l l C h a i n . d e l a y ( 1 0 , t h i s ) ; 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 . e l e m e n t ) ; 
 t h i s . f i r e E v e n t ( " s h o w " , t h i s . e l e m e n t ) ; } r e t u r n   t h i s ; } , t o g g l e : f u n c t i o n ( ) { i f ( t h i s . e l e m e n t . g e t S t y l e ( " d i s p l a y " ) = = " n o n e " | | t h i s . e l e m e n t . g e t S t y l e ( " v i s i b l i t y " ) = = " h i d d e n " | | t h i s . e l e m e n t . g e t S t y l e ( " o p a c i t y " ) = = 0 ) { t h i s . r e v e a l ( ) ; 
 } e l s e { t h i s . d i s s o l v e ( ) ; } r e t u r n   t h i s ; } } ) ; E l e m e n t . P r o p e r t i e s . r e v e a l = { 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 ( " r e v e a l " ) ; 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 ( " r e v e a l " ) . s t o r e ( " r e v e a l : 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 ( " r e v e a l " ) ) { i f ( a | | ! t h i s . r e t r i e v e ( " r e v e a l : o p t i o n s " ) ) { t h i s . s e t ( " r e v e a l " , a ) ; } t h i s . s t o r e ( " r e v e a l " , n e w   F x . R e v e a l ( t h i s , t h i s . r e t r i e v e ( " r e v e a l : 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 ( " r e v e a l " ) ; } } ; E l e m e n t . P r o p e r t i e s . d i s s o l v e = E l e m e n t . P r o p e r t i e s . r e v e a l ; E l e m e n t . i m p l e m e n t ( { r e v e a l : f u n c t i o n ( a ) { t h i s . g e t ( " r e v e a l " , a ) . r e v e a l ( ) ; 
 r e t u r n   t h i s ; } , d i s s o l v e : f u n c t i o n ( a ) { t h i s . g e t ( " r e v e a l " , a ) . d i s s o l v e ( ) ; r e t u r n   t h i s ; } , n i x : f u n c t i o n ( ) { v a r   a = A r r a y . l i n k ( a r g u m e n t s , { d e s t r o y : B o o l e a n . t y p e , o p t i o n s : O b j e c t . t y p e } ) ; 
 t h i s . g e t ( " r e v e a l " , a . o p t i o n s ) . d i s s o l v e ( ) . c h a i n ( f u n c t i o n ( ) { t h i s [ a . d e s t r o y ? " d e s t r o y " : " d i s p o s e " ] ( ) ; } . b i n d ( t h i s ) ) ; r e t u r n   t h i s ; } , w i n k : f u n c t i o n ( ) { v a r   b = A r r a y . l i n k ( a r g u m e n t s , { d u r a t i o n : N u m b e r . t y p e , o p t i o n s : O b j e c t . t y p e } ) ; 
 v a r   a = t h i s . g e t ( " r e v e a l " , b . o p t i o n s ) ; a . r e v e a l ( ) . c h a i n ( f u n c t i o n ( ) { ( f u n c t i o n ( ) { a . d i s s o l v e ( ) ; } ) . d e l a y ( b . d u r a t i o n | | 2 0 0 0 ) ; } ) ; } } ) ; F x . S c r o l l = n e w   C l a s s ( { E x t e n d s : F x , o p t i o n s : { o f f s e t : { x : 0 , y : 0 } , w h e e l S t o p s : t r u e } , 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 ) ; v a r   d = t h i s . c a n c e l . b i n d ( t h i s , f a l s e ) ; i f ( $ t y p e ( t h i s . e l e m e n t ) ! = " e l e m e n t " ) { t h i s . e l e m e n t = $ ( t h i s . e l e m e n t . g e t D o c u m e n t ( ) . b o d y ) ; } v a r   c = t h i s . e l e m e n t ; 
 i f ( t h i s . o p t i o n s . w h e e l S t o p s ) { t h i s . a d d E v e n t ( " s t a r t " , f u n c t i o n ( ) { c . a d d E v e n t ( " m o u s e w h e e l " , d ) ; } , t r u e ) ; t h i s . a d d E v e n t ( " c o m p l e t e " , f u n c t i o n ( ) { c . r e m o v e E v e n t ( " m o u s e w h e e l " , d ) ; 
 } , t r u e ) ; } } , s e t : f u n c t i o n ( ) { v a r   a = 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 . e l e m e n t . s c r o l l T o ( a [ 0 ] , a [ 1 ] ) ; } , c o m p u t e : f u n c t i o n ( c , b , a ) { r e t u r n [ 0 , 1 ] . m a p ( f u n c t i o n ( d ) { r e t u r n   F x . c o m p u t e ( c [ d ] , b [ d ] , a ) ; 
 } ) ; } , s t a r t : f u n c t i o n ( c , h ) { i f ( ! t h i s . c h e c k ( c , h ) ) { r e t u r n   t h i s ; } v a r   e = t h i s . e l e m e n t . g e t S i z e ( ) , f = t h i s . e l e m e n t . g e t S c r o l l S i z e ( ) ; v a r   b = t h i s . e l e m e n t . g e t S c r o l l ( ) , d = { x : c , y : h } ; 
 f o r ( v a r   g   i n   d ) { v a r   a = f [ g ] - e [ g ] ; i f ( $ c h k ( d [ g ] ) ) { d [ g ] = ( $ t y p e ( d [ g ] ) = = " n u m b e r " ) ? d [ g ] . l i m i t ( 0 , a ) : a ; } e l s e { d [ g ] = b [ g ] ; } d [ g ] + = t h i s . o p t i o n s . o f f s e t [ g ] ; } r e t u r n   t h i s . p a r e n t ( [ b . x , b . y ] , [ d . x , d . y ] ) ; 
 } , t o T o p : f u n c t i o n ( ) { r e t u r n   t h i s . s t a r t ( f a l s e , 0 ) ; } , t o L e f t : f u n c t i o n ( ) { r e t u r n   t h i s . s t a r t ( 0 , f a l s e ) ; } , t o R i g h t : f u n c t i o n ( ) { r e t u r n   t h i s . s t a r t ( " r i g h t " , f a l s e ) ; } , t o B o t t o m : f u n c t i o n ( ) { r e t u r n   t h i s . s t a r t ( f a l s e , " b o t t o m " ) ; 
 } , t o E l e m e n t : f u n c t i o n ( b ) { v a r   a = $ ( b ) . g e t P o s i t i o n ( t h i s . e l e m e n t ) ; r e t u r n   t h i s . s t a r t ( a . x , a . y ) ; } } ) ; F x . S l i d e = n e w   C l a s s ( { E x t e n d s : F x , o p t i o n s : { m o d e : " v e r t i c a l " } , i n i t i a l i z e : f u n c t i o n ( b , a ) { t h i s . a d d E v e n t ( " c o m p l e t e " , f u n c t i o n ( ) { t h i s . o p e n = ( t h i s . w r a p p e r [ " o f f s e t " + t h i s . l a y o u t . c a p i t a l i z e ( ) ] ! = 0 ) ; 
 i f ( t h i s . o p e n & & B r o w s e r . E n g i n e . w e b k i t 4 1 9 ) { t h i s . e l e m e n t . d i s p o s e ( ) . i n j e c t ( t h i s . w r a p p e r ) ; } } , t r u e ) ; 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 ) ; v a r   c = t h i s . e l e m e n t . r e t r i e v e ( " w r a p p e r " ) ; 
 t h i s . w r a p p e r = c | | n e w   E l e m e n t ( " d i v " , { s t y l e s : $ e x t e n d ( t h i s . e l e m e n t . g e t S t y l e s ( " m a r g i n " , " p o s i t i o n " ) , { o v e r f l o w : " h i d d e n " } ) } ) . w r a p s ( t h i s . e l e m e n t ) ; t h i s . e l e m e n t . s t o r e ( " w r a p p e r " , t h i s . w r a p p e r ) . s e t S t y l e ( " m a r g i n " , 0 ) ; 
 t h i s . n o w = [ ] ; t h i s . o p e n = t r u e ; } , v e r t i c a l : f u n c t i o n ( ) { t h i s . m a r g i n = " m a r g i n - t o p " ; t h i s . l a y o u t = " h e i g h t " ; t h i s . o f f s e t = t h i s . e l e m e n t . o f f s e t H e i g h t ; } , h o r i z o n t a l : f u n c t i o n ( ) { t h i s . m a r g i n = " m a r g i n - l e f t " ; 
 t h i s . l a y o u t = " w i d t h " ; t h i s . o f f s e t = t h i s . e l e m e n t . o f f s e t W i d t h ; } , s e t : f u n c t i o n ( a ) { t h i s . e l e m e n t . s e t S t y l e ( t h i s . m a r g i n , a [ 0 ] ) ; t h i s . w r a p p e r . s e t S t y l e ( t h i s . l a y o u t , a [ 1 ] ) ; 
 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 ( c , b , a ) { r e t u r n [ 0 , 1 ] . m a p ( f u n c t i o n ( d ) { r e t u r n   F x . c o m p u t e ( c [ d ] , b [ d ] , a ) ; } ) ; } , s t a r t : f u n c t i o n ( b , e ) { i f ( ! t h i s . c h e c k ( b , e ) ) { r e t u r n   t h i s ; 
 } t h i s [ e | | t h i s . o p t i o n s . m o d e ] ( ) ; v a r   d = t h i s . e l e m e n t . g e t S t y l e ( t h i s . m a r g i n ) . t o I n t ( ) ; v a r   c = t h i s . w r a p p e r . g e t S t y l e ( t h i s . l a y o u t ) . t o I n t ( ) ; v a r   a = [ [ d , c ] , [ 0 , t h i s . o f f s e t ] ] ; 
 v a r   g = [ [ d , c ] , [ - t h i s . o f f s e t , 0 ] ] ; v a r   f ; s w i t c h ( b ) { c a s e " i n " : f = a ; b r e a k ; c a s e " o u t " : f = g ; b r e a k ; c a s e " t o g g l e " : f = ( c = = 0 ) ? a : g ; } r e t u r n   t h i s . p a r e n t ( f [ 0 ] , f [ 1 ] ) ; } , s l i d e I n : f u n c t i o n ( a ) { r e t u r n   t h i s . s t a r t ( " i n " , a ) ; 
 } , s l i d e O u t : f u n c t i o n ( a ) { r e t u r n   t h i s . s t a r t ( " o u t " , a ) ; } , h i d e : f u n c t i o n ( a ) { t h i s [ a | | t h i s . o p t i o n s . m o d e ] ( ) ; t h i s . o p e n = f a l s e ; r e t u r n   t h i s . s e t ( [ - t h i s . o f f s e t , 0 ] ) ; } , s h o w : f u n c t i o n ( a ) { t h i s [ a | | t h i s . o p t i o n s . m o d e ] ( ) ; 
 t h i s . o p e n = t r u e ; r e t u r n   t h i s . s e t ( [ 0 , t h i s . o f f s e t ] ) ; } , t o g g l e : f u n c t i o n ( a ) { r e t u r n   t h i s . s t a r t ( " t o g g l e " , a ) ; } } ) ; E l e m e n t . P r o p e r t i e s . s l i d e = { s e t : f u n c t i o n ( b ) { v a r   a = t h i s . r e t r i e v e ( " s l i d e " ) ; 
 i f ( a ) { a . 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 l i d e " ) . s t o r e ( " s l i d e : o p t i o n s " , $ e x t e n d ( { l i n k : " c a n c e l " } , b ) ) ; } , 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 l i d e " ) ) { i f ( a | | ! t h i s . r e t r i e v e ( " s l i d e : o p t i o n s " ) ) { t h i s . s e t ( " s l i d e " , a ) ; 
 } t h i s . s t o r e ( " s l i d e " , n e w   F x . S l i d e ( t h i s , t h i s . r e t r i e v e ( " s l i d e : 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 l i d e " ) ; } } ; E l e m e n t . i m p l e m e n t ( { s l i d e : f u n c t i o n ( d , e ) { d = d | | " t o g g l e " ; 
 v a r   b = t h i s . g e t ( " s l i d e " ) , a ; s w i t c h ( d ) { c a s e " h i d e " : b . h i d e ( e ) ; b r e a k ; c a s e " s h o w " : b . s h o w ( e ) ; b r e a k ; c a s e " t o g g l e " : v a r   c = t h i s . r e t r i e v e ( " s l i d e : f l a g " , b . o p e n ) ; b [ c ? " s l i d e O u t " : " s l i d e I n " ] ( e ) ; 
 t h i s . s t o r e ( " s l i d e : f l a g " , ! c ) ; a = t r u e ; b r e a k ; d e f a u l t : b . s t a r t ( d , e ) ; } i f ( ! a ) { t h i s . e l i m i n a t e ( " s l i d e : f l a g " ) ; } r e t u r n   t h i s ; } } ) ; v a r   S m o o t h S c r o l l = F x . S m o o t h S c r o l l = n e w   C l a s s ( { E x t e n d s : F x . S c r o l l , i n i t i a l i z e : f u n c t i o n ( b , c ) { c = c | | d o c u m e n t ; 
 t h i s . d o c = c . g e t D o c u m e n t ( ) ; v a r   d = c . g e t W i n d o w ( ) ; t h i s . p a r e n t ( t h i s . d o c , b ) ; t h i s . l i n k s = t h i s . o p t i o n s . l i n k s ? $ $ ( t h i s . o p t i o n s . l i n k s ) : $ $ ( t h i s . d o c . l i n k s ) ; v a r   a = d . l o c a t i o n . h r e f . m a t c h ( / ^ [ ^ # ] * / ) [ 0 ] + " # " ; 
 t h i s . l i n k s . e a c h ( f u n c t i o n ( f ) { i f ( f . h r e f . i n d e x O f ( a ) ! = 0 ) { r e t u r n ; } v a r   e = f . h r e f . s u b s t r ( a . l e n g t h ) ; i f ( e ) { t h i s . u s e L i n k ( f , e ) ; } } , t h i s ) ; i f ( ! B r o w s e r . E n g i n e . w e b k i t 4 1 9 ) { t h i s . a d d E v e n t ( " c o m p l e t e " , f u n c t i o n ( ) { d . l o c a t i o n . h a s h = t h i s . a n c h o r ; 
 } , t r u e ) ; } } , u s e L i n k : f u n c t i o n ( c , a ) { v a r   b ; c . a d d E v e n t ( " c l i c k " , f u n c t i o n ( d ) { i f ( b ! = = f a l s e & & ! b ) { b = $ ( a ) | | t h i s . d o c . g e t E l e m e n t ( " a [ n a m e = " + a + " ] " ) ; } i f ( b ) { d . p r e v e n t D e f a u l t ( ) ; 
 t h i s . a n c h o r = a ; t h i s . t o E l e m e n t ( b ) ; c . b l u r ( ) ; } } . b i n d ( t h i s ) ) ; } } ) ; F x . S o r t = n e w   C l a s s ( { E x t e n d s : F x . E l e m e n t s , o p t i o n s : { m o d e : " v e r t i c a l " } , i n i t i a l i z e : f u n c t i o n ( b , a ) { t h i s . p a r e n t ( b , a ) ; 
 t h i s . e l e m e n t s . e a c h ( f u n c t i o n ( c ) { i f ( c . g e t S t y l e ( " p o s i t i o n " ) = = " s t a t i c " ) { c . s e t S t y l e ( " p o s i t i o n " , " r e l a t i v e " ) ; } } ) ; t h i s . s e t D e f a u l t O r d e r ( ) ; } , s e t D e f a u l t O r d e r : f u n c t i o n ( ) { t h i s . c u r r e n t O r d e r = t h i s . e l e m e n t s . m a p ( f u n c t i o n ( b , a ) { r e t u r n   a ; 
 } ) ; } , s o r t : f u n c t i o n ( e ) { i f ( $ t y p e ( e ) ! = " a r r a y " ) { r e t u r n   f a l s e ; } v a r   i = 0 ; v a r   a = 0 ; v a r   h = { } ; v a r   d = t h i s . o p t i o n s . m o d e = = " v e r t i c a l " ; v a r   f = t h i s . e l e m e n t s . m a p ( f u n c t i o n ( m , j ) { v a r   l = m . g e t C o m p u t e d S i z e ( { s t y l e s : [ " b o r d e r " , " p a d d i n g " , " m a r g i n " ] } ) ; 
 v a r   n ; i f ( d ) { n = { t o p : i , m a r g i n : l [ " m a r g i n - t o p " ] , h e i g h t : l . t o t a l H e i g h t } ; i + = n . h e i g h t - l [ " m a r g i n - t o p " ] ; } e l s e { n = { l e f t : a , m a r g i n : l [ " m a r g i n - l e f t " ] , w i d t h : l . t o t a l W i d t h } ; 
 a + = n . w i d t h ; } v a r   k = d ? " t o p " : " l e f t " ; h [ j ] = { } ; v a r   o = m . g e t S t y l e ( k ) . t o I n t ( ) ; h [ j ] [ k ] = o | | 0 ; r e t u r n   n ; } , t h i s ) ; t h i s . s e t ( h ) ; e = e . m a p ( f u n c t i o n ( j ) { r e t u r n   j . t o I n t ( ) ; } ) ; 
 i f ( e . l e n g t h ! = t h i s . e l e m e n t s . l e n g t h ) { t h i s . c u r r e n t O r d e r . e a c h ( f u n c t i o n ( j ) { i f ( ! e . c o n t a i n s ( j ) ) { e . p u s h ( j ) ; } } ) ; i f ( e . l e n g t h > t h i s . e l e m e n t s . l e n g t h ) { e . s p l i c e ( t h i s . e l e m e n t s . l e n g t h - 1 , e . l e n g t h - t h i s . e l e m e n t s . l e n g t h ) ; 
 } } i = 0 ; a = 0 ; v a r   b = 0 ; v a r   c = { } ; e . e a c h ( f u n c t i o n ( l , j ) { v a r   k = { } ; i f ( d ) { k . t o p = i - f [ l ] . t o p - b ; i + = f [ l ] . h e i g h t ; } e l s e { k . l e f t = a - f [ l ] . l e f t ; a + = f [ l ] . w i d t h ; } b = b + f [ l ] . m a r g i n ; 
 c [ l ] = k ; } , t h i s ) ; v a r   g = { } ; $ A ( e ) . s o r t ( ) . e a c h ( f u n c t i o n ( j ) { g [ j ] = c [ j ] ; } ) ; t h i s . s t a r t ( g ) ; t h i s . c u r r e n t O r d e r = e ; r e t u r n   t h i s ; } , r e a r r a n g e D O M : f u n c t i o n ( a ) { a = a | | t h i s . c u r r e n t O r d e r ; 
 v a r   b = t h i s . e l e m e n t s [ 0 ] . g e t P a r e n t ( ) ; v a r   c = [ ] ; t h i s . e l e m e n t s . s e t S t y l e ( " o p a c i t y " , 0 ) ; a . e a c h ( f u n c t i o n ( d ) { c . p u s h ( t h i s . e l e m e n t s [ d ] . i n j e c t ( b ) . s e t S t y l e s ( { t o p : 0 , l e f t : 0 } ) ) ; 
 } , t h i s ) ; t h i s . e l e m e n t s . s e t S t y l e ( " o p a c i t y " , 1 ) ; t h i s . e l e m e n t s = $ $ ( c ) ; t h i s . s e t D e f a u l t O r d e r ( ) ; r e t u r n   t h i s ; } , g e t D e f a u l t O r d e r : f u n c t i o n ( ) { r e t u r n   t h i s . e l e m e n t s . m a p ( f u n c t i o n ( b , a ) { r e t u r n   a ; 
 } ) ; } , f o r w a r d : f u n c t i o n ( ) { r e t u r n   t h i s . s o r t ( t h i s . g e t D e f a u l t O r d e r ( ) ) ; } , b a c k w a r d : f u n c t i o n ( ) { r e t u r n   t h i s . s o r t ( t h i s . g e t D e f a u l t O r d e r ( ) . r e v e r s e ( ) ) ; } , r e v e r s e : f u n c t i o n ( ) { r e t u r n   t h i s . s o r t ( t h i s . c u r r e n t O r d e r . r e v e r s e ( ) ) ; 
 } , s o r t B y E l e m e n t s : f u n c t i o n ( a ) { r e t u r n   t h i s . s o r t ( a . m a p ( f u n c t i o n ( b ) { r e t u r n   t h i s . e l e m e n t s . i n d e x O f ( b ) ; } , t h i s ) ) ; } , s w a p : f u n c t i o n ( c , b ) { i f ( $ t y p e ( c ) = = " e l e m e n t " ) { c = t h i s . e l e m e n t s . i n d e x O f ( c ) ; 
 } i f ( $ t y p e ( b ) = = " e l e m e n t " ) { b = t h i s . e l e m e n t s . i n d e x O f ( b ) ; } v a r   a = $ A ( t h i s . c u r r e n t O r d e r ) ; a [ t h i s . c u r r e n t O r d e r . i n d e x O f ( c ) ] = b ; a [ t h i s . c u r r e n t O r d e r . i n d e x O f ( b ) ] = c ; t h i s . s o r t ( a ) ; 
 } } ) ; v a r   D r a g = n e w   C l a s s ( { I m p l e m e n t s : [ E v e n t s , O p t i o n s ] , o p t i o n s : { s n a p : 6 , u n i t : " p x " , g r i d : f a l s e , s t y l e : t r u e , l i m i t : f a l s e , h a n d l e : f a l s e , i n v e r t : f a l s e , p r e v e n t D e f a u l t : f a l s e , m o d i f i e r s : { x : " l e f t " , y : " t o p " } } , i n i t i a l i z e : f u n c t i o n ( ) { v a r   b = A r r a y . l i n k ( a r g u m e n t s , { o p t i o n s : O b j e c t . t y p e , e l e m e n t : $ d e f i n e d } ) ; 
 t h i s . e l e m e n t = $ ( b . e l e m e n t ) ; t h i s . d o c u m e n t = t h i s . e l e m e n t . g e t D o c u m e n t ( ) ; t h i s . s e t O p t i o n s ( b . o p t i o n s | | { } ) ; v a r   a = $ t y p e ( t h i s . o p t i o n s . h a n d l e ) ; t h i s . h a n d l e s = ( ( a = = " a r r a y " | | a = = " c o l l e c t i o n " ) ? $ $ ( t h i s . o p t i o n s . h a n d l e ) : $ ( t h i s . o p t i o n s . h a n d l e ) ) | | t h i s . e l e m e n t ; 
 t h i s . m o u s e = { n o w : { } , p o s : { } } ; t h i s . v a l u e = { s t a r t : { } , n o w : { } } ; t h i s . s e l e c t i o n = ( B r o w s e r . E n g i n e . t r i d e n t ) ? " s e l e c t s t a r t " : " m o u s e d o w n " ; 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 ) , c h e c k : t h i s . c h e c k . 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 ) , s t o p : t h i s . s t o p . b i n d ( t h i s ) , c a n c e l : t h i s . c a n c e l . b i n d ( t h i s ) , e v e n t S t o p : $ l a m b d a ( f a l s e ) } ; 
 t h i s . a t t a c h ( ) ; } , a t t a c h : f u n c t i o n ( ) { t h i s . h a n d l e s . 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 ) ; r e t u r n   t h i s ; } , d e t a c h : f u n c t i o n ( ) { t h i s . h a n d l e s . r e m o v e 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 ) ; 
 r e t u r n   t h i s ; } , s t a r t : f u n c t i o n ( c ) { i f ( t h i s . o p t i o n s . p r e v e n t D e f a u l t ) { c . p r e v e n t D e f a u l t ( ) ; } t h i s . m o u s e . s t a r t = c . p a g e ; t h i s . f i r e E v e n t ( " b e f o r e S t a r t " , t h i s . e l e m e n t ) ; 
 v a r   a = t h i s . o p t i o n s . l i m i t ; t h i s . l i m i t = { x : [ ] , y : [ ] } ; f o r ( v a r   d   i n   t h i s . o p t i o n s . m o d i f i e r s ) { i f ( ! t h i s . o p t i o n s . m o d i f i e r s [ d ] ) { c o n t i n u e ; } i f ( t h i s . o p t i o n s . s t y l e ) { t h i s . v a l u e . n o w [ d ] = t h i s . e l e m e n t . g e t S t y l e ( t h i s . o p t i o n s . m o d i f i e r s [ d ] ) . t o I n t ( ) ; 
 } e l s e { t h i s . v a l u e . n o w [ d ] = t h i s . e l e m e n t [ t h i s . o p t i o n s . m o d i f i e r s [ d ] ] ; } i f ( t h i s . o p t i o n s . i n v e r t ) { t h i s . v a l u e . n o w [ d ] * = - 1 ; } t h i s . m o u s e . p o s [ d ] = c . p a g e [ d ] - t h i s . v a l u e . n o w [ d ] ; 
 i f ( a & & a [ d ] ) { f o r ( v a r   b = 2 ; b - - ; b ) { i f ( $ c h k ( a [ d ] [ b ] ) ) { t h i s . l i m i t [ d ] [ b ] = $ l a m b d a ( a [ d ] [ b ] ) ( ) ; } } } } i f ( $ t y p e ( t h i s . o p t i o n s . g r i d ) = = " n u m b e r " ) { t h i s . o p t i o n s . g r i d = { x : t h i s . o p t i o n s . g r i d , y : t h i s . o p t i o n s . g r i d } ; 
 } t h i s . d o c u m e n t . a d d E v e n t s ( { m o u s e m o v e : t h i s . b o u n d . c h e c k , m o u s e u p : t h i s . b o u n d . c a n c e l } ) ; t h i s . d o c u m e n t . a d d E v e n t ( t h i s . s e l e c t i o n , t h i s . b o u n d . e v e n t S t o p ) ; } , c h e c k : f u n c t i o n ( a ) { i f ( t h i s . o p t i o n s . p r e v e n t D e f a u l t ) { a . p r e v e n t D e f a u l t ( ) ; 
 } v a r   b = M a t h . r o u n d ( M a t h . s q r t ( M a t h . p o w ( a . p a g e . x - t h i s . m o u s e . s t a r t . x , 2 ) + M a t h . p o w ( a . p a g e . y - t h i s . m o u s e . s t a r t . y , 2 ) ) ) ; i f ( b > t h i s . o p t i o n s . s n a p ) { t h i s . c a n c e l ( ) ; t h i s . d o c u m e n t . a d d E v e n t s ( { m o u s e m o v e : t h i s . b o u n d . d r a g , m o u s e u p : t h i s . b o u n d . s t o p } ) ; 
 t h i s . f i r e E v e n t ( " s t a r t " , [ t h i s . e l e m e n t , a ] ) . f i r e E v e n t ( " s n a p " , t h i s . e l e m e n t ) ; } } , d r a g : f u n c t i o n ( a ) { i f ( t h i s . o p t i o n s . p r e v e n t D e f a u l t ) { a . p r e v e n t D e f a u l t ( ) ; } t h i s . m o u s e . n o w = a . p a g e ; 
 f o r ( v a r   b   i n   t h i s . o p t i o n s . m o d i f i e r s ) { i f ( ! t h i s . o p t i o n s . m o d i f i e r s [ b ] ) { c o n t i n u e ; } t h i s . v a l u e . n o w [ b ] = t h i s . m o u s e . n o w [ b ] - t h i s . m o u s e . p o s [ b ] ; i f ( t h i s . o p t i o n s . i n v e r t ) { t h i s . v a l u e . n o w [ b ] * = - 1 ; 
 } i f ( t h i s . o p t i o n s . l i m i t & & t h i s . l i m i t [ b ] ) { i f ( $ c h k ( t h i s . l i m i t [ b ] [ 1 ] ) & & ( t h i s . v a l u e . n o w [ b ] > t h i s . l i m i t [ b ] [ 1 ] ) ) { t h i s . v a l u e . n o w [ b ] = t h i s . l i m i t [ b ] [ 1 ] ; } e l s e { i f ( $ c h k ( t h i s . l i m i t [ b ] [ 0 ] ) & & ( t h i s . v a l u e . n o w [ b ] < t h i s . l i m i t [ b ] [ 0 ] ) ) { t h i s . v a l u e . n o w [ b ] = t h i s . l i m i t [ b ] [ 0 ] ; 
 } } } i f ( t h i s . o p t i o n s . g r i d [ b ] ) { t h i s . v a l u e . n o w [ b ] - = ( ( t h i s . v a l u e . n o w [ b ] - t h i s . l i m i t [ b ] [ 0 ] ) % t h i s . o p t i o n s . g r i d [ b ] ) ; } i f ( t h i s . o p t i o n s . s t y l e ) { t h i s . e l e m e n t . s e t S t y l e ( t h i s . o p t i o n s . m o d i f i e r s [ b ] , t h i s . v a l u e . n o w [ b ] + t h i s . o p t i o n s . u n i t ) ; 
 } e l s e { t h i s . e l e m e n t [ t h i s . o p t i o n s . m o d i f i e r s [ b ] ] = t h i s . v a l u e . n o w [ b ] ; } } t h i s . f i r e E v e n t ( " d r a g " , [ t h i s . e l e m e n t , a ] ) ; } , c a n c e l : f u n c t i o n ( a ) { t h i s . 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 . c h e c k ) ; 
 t h i s . 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 . c a n c e l ) ; i f ( a ) { t h i s . d o c u m e n t . r e m o v e E v e n t ( t h i s . s e l e c t i o n , t h i s . b o u n d . e v e n t S t o p ) ; t h i s . f i r e E v e n t ( " c a n c e l " , t h i s . e l e m e n t ) ; 
 } } , s t o p : f u n c t i o n ( a ) { t h i s . d o c u m e n t . r e m o v e E v e n t ( t h i s . s e l e c t i o n , t h i s . b o u n d . e v e n t S t o p ) ; t h i s . 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 ) ; t h i s . 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 . s t o p ) ; 
 i f ( a ) { 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 . e l e m e n t , a ] ) ; } } } ) ; E l e m e n t . i m p l e m e n t ( { m a k e R e s i z a b l e : f u n c t i o n ( a ) { v a r   b = n e w   D r a g ( t h i s , $ m e r g e ( { m o d i f i e r s : { x : " w i d t h " , y : " h e i g h t " } } , a ) ) ; 
 t h i s . s t o r e ( " r e s i z e r " , b ) ; r e t u r n   b . a d d E v e n t ( " d r a g " , f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " r e s i z e " , b ) ; } . b i n d ( t h i s ) ) ; } } ) ; D r a g . M o v e = n e w   C l a s s ( { E x t e n d s : D r a g , o p t i o n s : { d r o p p a b l e s : [ ] , c o n t a i n e r : f a l s e , p r e c a l c u l a t e : f a l s e , i n c l u d e M a r g i n s : t r u e , c h e c k D r o p p a b l e s : t r u e } , i n i t i a l i z e : f u n c t i o n ( c , b ) { t h i s . p a r e n t ( c , b ) ; 
 t h i s . d r o p p a b l e s = $ $ ( t h i s . o p t i o n s . d r o p p a b l e s ) ; t h i s . c o n t a i n e r = $ ( t h i s . o p t i o n s . c o n t a i n e r ) ; i f ( t h i s . c o n t a i n e r & & $ t y p e ( t h i s . c o n t a i n e r ) ! = " e l e m e n t " ) { t h i s . c o n t a i n e r = $ ( t h i s . c o n t a i n e r . g e t D o c u m e n t ( ) . b o d y ) ; 
 } v a r   a = t h i s . e l e m e n t . g e t S t y l e ( " p o s i t i o n " ) ; i f ( a = = " s t a t i c " ) { a = " a b s o l u t e " ; } i f ( [ t h i s . e l e m e n t . g e t S t y l e ( " l e f t " ) , t h i s . e l e m e n t . g e t S t y l e ( " t o p " ) ] . c o n t a i n s ( " a u t o " ) ) { t h i s . e l e m e n t . p o s i t i o n ( t h i s . e l e m e n t . g e t P o s i t i o n ( t h i s . e l e m e n t . o f f s e t P a r e n t ) ) ; 
 } t h i s . e l e m e n t . s e t S t y l e ( " p o s i t i o n " , a ) ; t h i s . a d d E v e n t ( " s t a r t " , t h i s . c h e c k D r o p p a b l e s , t r u e ) ; t h i s . o v e r e d = n u l l ; } , s t a r t : f u n c t i o n ( f ) { i f ( t h i s . c o n t a i n e r ) { v a r   b = t h i s . c o n t a i n e r . g e t C o o r d i n a t e s ( t h i s . e l e m e n t . g e t O f f s e t P a r e n t ( ) ) , c = { } , e = { } ; 
 [ " 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 ) { c [ g ] = t h i s . c o n t a i n e r . g e t S t y l e ( " b o r d e r - " + g ) . t o I n t ( ) ; e [ g ] = t h i s . e l e m e n t . g e t S t y l e ( " m a r g i n - " + g ) . t o I n t ( ) ; } , t h i s ) ; 
 v a r   d = t h i s . e l e m e n t . o f f s e t W i d t h + e . l e f t + e . r i g h t ; v a r   a = t h i s . e l e m e n t . o f f s e t H e i g h t + e . t o p + e . b o t t o m ; i f ( t h i s . o p t i o n s . i n c l u d e M a r g i n s ) { $ e a c h ( e , f u n c t i o n ( h , g ) { e [ g ] = 0 ; 
 } ) ; } i f ( t h i s . c o n t a i n e r = = t h i s . e l e m e n t . g e t O f f s e t P a r e n t ( ) ) { t h i s . o p t i o n s . l i m i t = { x : [ 0 - e . l e f t , b . r i g h t - c . l e f t - c . r i g h t - d + e . r i g h t ] , y : [ 0 - e . t o p , b . b o t t o m - c . t o p - c . b o t t o m - a + e . b o t t o m ] } ; 
 } e l s e { t h i s . o p t i o n s . l i m i t = { x : [ b . l e f t + c . l e f t - e . l e f t , b . r i g h t - c . r i g h t - d + e . r i g h t ] , y : [ b . t o p + c . t o p - e . t o p , b . b o t t o m - c . b o t t o m - a + e . b o t t o m ] } ; } } i f ( t h i s . o p t i o n s . p r e c a l c u l a t e ) { t h i s . p o s i t i o n s = t h i s . d r o p p a b l e s . m a p ( f u n c t i o n ( g ) { r e t u r n   g . g e t C o o r d i n a t e s ( ) ; 
 } ) ; } t h i s . p a r e n t ( f ) ; } , c h e c k A g a i n s t : f u n c t i o n ( c , b ) { c = ( t h i s . p o s i t i o n s ) ? t h i s . p o s i t i o n s [ b ] : c . g e t C o o r d i n a t e s ( ) ; v a r   a = t h i s . m o u s e . n o w ; r e t u r n ( a . x > c . l e f t & & a . x < c . r i g h t & & a . y < c . b o t t o m & & a . y > c . t o p ) ; 
 } , c h e c k D r o p p a b l e s : f u n c t i o n ( ) { v a r   a = t h i s . d r o p p a b l e s . f i l t e r ( t h i s . c h e c k A g a i n s t , t h i s ) . g e t L a s t ( ) ; i f ( t h i s . o v e r e d ! = a ) { i f ( t h i s . o v e r e d ) { t h i s . f i r e E v e n t ( " l e a v e " , [ t h i s . e l e m e n t , t h i s . o v e r e d ] ) ; 
 } i f ( a ) { t h i s . f i r e E v e n t ( " e n t e r " , [ t h i s . e l e m e n t , a ] ) ; } t h i s . o v e r e d = a ; } } , d r a g : f u n c t i o n ( a ) { t h i s . p a r e n t ( a ) ; i f ( t h i s . o p t i o n s . c h e c k D r o p p a b l e s & & t h i s . d r o p p a b l e s . l e n g t h ) { t h i s . c h e c k D r o p p a b l e s ( ) ; 
 } } , s t o p : f u n c t i o n ( a ) { t h i s . c h e c k D r o p p a b l e s ( ) ; t h i s . f i r e E v e n t ( " d r o p " , [ t h i s . e l e m e n t , t h i s . o v e r e d , a ] ) ; t h i s . o v e r e d = n u l l ; r e t u r n   t h i s . p a r e n t ( a ) ; } } ) ; E l e m e n t . i m p l e m e n t ( { m a k e D r a g g a b l e : f u n c t i o n ( a ) { v a r   b = n e w   D r a g . M o v e ( t h i s , a ) ; 
 t h i s . s t o r e ( " d r a g g e r " , b ) ; r e t u r n   b ; } } ) ; v a r   S l i d e r = n e w   C l a s s ( { I m p l e m e n t s : [ E v e n t s , O p t i o n s ] , B i n d s : [ " c l i c k e d E l e m e n t " , " d r a g g e d K n o b " , " s c r o l l e d E l e m e n t " ] , o p t i o n s : { o n T i c k : f u n c t i o n ( a ) { i f ( t h i s . o p t i o n s . s n a p ) { a = t h i s . t o P o s i t i o n ( t h i s . s t e p ) ; 
 } t h i s . k n o b . s e t S t y l e ( t h i s . p r o p e r t y , a ) ; } , s n a p : f a l s e , o f f s e t : 0 , r a n g e : f a l s e , w h e e l : f a l s e , s t e p s : 1 0 0 , m o d e : " h o r i z o n t a l " } , i n i t i a l i z e : f u n c t i o n ( f , a , e ) { t h i s . s e t O p t i o n s ( e ) ; 
 t h i s . e l e m e n t = $ ( f ) ; t h i s . k n o b = $ ( a ) ; t h i s . p r e v i o u s C h a n g e = t h i s . p r e v i o u s E n d = t h i s . s t e p = - 1 ; v a r   g , b = { } , d = { x : f a l s e , y : f a l s e } ; s w i t c h ( t h i s . o p t i o n s . m o d e ) { c a s e " v e r t i c a l " : t h i s . a x i s = " y " ; 
 t h i s . p r o p e r t y = " t o p " ; g = " o f f s e t H e i g h t " ; b r e a k ; c a s e " h o r i z o n t a l " : t h i s . a x i s = " x " ; t h i s . p r o p e r t y = " l e f t " ; g = " o f f s e t W i d t h " ; } t h i s . h a l f = t h i s . k n o b [ g ] / 2 ; t h i s . f u l l = t h i s . e l e m e n t [ g ] - t h i s . k n o b [ g ] + ( t h i s . o p t i o n s . o f f s e t * 2 ) ; 
 t h i s . m i n = $ c h k ( t h i s . o p t i o n s . r a n g e [ 0 ] ) ? t h i s . o p t i o n s . r a n g e [ 0 ] : 0 ; t h i s . m a x = $ c h k ( t h i s . o p t i o n s . r a n g e [ 1 ] ) ? t h i s . o p t i o n s . r a n g e [ 1 ] : t h i s . o p t i o n s . s t e p s ; t h i s . r a n g e = t h i s . m a x - t h i s . m i n ; 
 t h i s . s t e p s = t h i s . o p t i o n s . s t e p s | | t h i s . f u l l ; t h i s . s t e p S i z e = M a t h . a b s ( t h i s . r a n g e ) / t h i s . s t e p s ; t h i s . s t e p W i d t h = t h i s . s t e p S i z e * t h i s . f u l l / M a t h . a b s ( t h i s . r a n g e ) ; t h i s . k n o b . s e t S t y l e ( " p o s i t i o n " , " r e l a t i v e " ) . s e t S t y l e ( t h i s . p r o p e r t y , - t h i s . o p t i o n s . o f f s e t ) ; 
 d [ t h i s . a x i s ] = t h i s . p r o p e r t y ; b [ t h i s . a x i s ] = [ - t h i s . o p t i o n s . o f f s e t , t h i s . f u l l - t h i s . o p t i o n s . o f f s e t ] ; t h i s . b o u n d = { c l i c k e d E l e m e n t : t h i s . c l i c k e d E l e m e n t . b i n d ( t h i s ) , s c r o l l e d E l e m e n t : t h i s . s c r o l l e d E l e m e n t . b i n d W i t h E v e n t ( t h i s ) , d r a g g e d K n o b : t h i s . d r a g g e d K n o b . b i n d ( t h i s ) } ; 
 v a r   c = { s n a p : 0 , l i m i t : b , m o d i f i e r s : d , o n D r a g : t h i s . b o u n d . d r a g g e d K n o b , o n S t a r t : t h i s . b o u n d . d r a g g e d K n o b , o n B e f o r e S t a r t : ( f u n c t i o n ( ) { t h i s . i s D r a g g i n g = t r u e ; } ) . b i n d ( t h i s ) , o n C o m p l e t e : f u n c t i o n ( ) { t h i s . i s D r a g g i n g = f a l s e ; 
 t h i s . d r a g g e d K n o b ( ) ; t h i s . e n d ( ) ; } . b i n d ( t h i s ) } ; i f ( t h i s . o p t i o n s . s n a p ) { c . g r i d = M a t h . c e i l ( t h i s . s t e p W i d t h ) ; c . l i m i t [ t h i s . a x i s ] [ 1 ] = t h i s . f u l l ; } t h i s . d r a g = n e w   D r a g ( t h i s . k n o b , c ) ; 
 t h i s . a t t a c h ( ) ; } , a t t a c h : f u n c t i o n ( ) { t h i s . e l e m e n t . 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 . c l i c k e d E l e m e n t ) ; i f ( t h i s . o p t i o n s . w h e e l ) { t h i s . e l e m 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 . s c r o l l e d E l e m e n t ) ; 
 } t h i s . d r a g . a t t a c h ( ) ; r e t u r n   t h i s ; } , d e t a c h : f u n c t i o n ( ) { t h i s . e l e m e n t . r e m o v e E v e n t ( " m o u s e d o w n " , t h i s . b o u n d . c l i c k e d E l e m e n t ) ; t h i s . e l e m e n t . r e m o v e E v e n t ( " m o u s e w h e e l " , t h i s . b o u n d . s c r o l l e d E l e m e n t ) ; 
 t h i s . d r a g . d e t a c h ( ) ; r e t u r n   t h i s ; } , s e t : f u n c t i o n ( a ) { i f ( ! ( ( t h i s . r a n g e > 0 ) ^ ( a < t h i s . m i n ) ) ) { a = t h i s . m i n ; } i f ( ! ( ( t h i s . r a n g e > 0 ) ^ ( a > t h i s . m a x ) ) ) { a = t h i s . m a x ; } t h i s . s t e p = M a t h . r o u n d ( a ) ; 
 t h i s . c h e c k S t e p ( ) ; t h i s . f i r e E v e n t ( " t i c k " , t h i s . t o P o s i t i o n ( t h i s . s t e p ) ) ; t h i s . e n d ( ) ; r e t u r n   t h i s ; } , c l i c k e d E l e m e n t : f u n c t i o n ( c ) { i f ( t h i s . i s D r a g g i n g | | c . t a r g e t = = t h i s . k n o b ) { r e t u r n ; 
 } v a r   b = t h i s . r a n g e < 0 ? - 1 : 1 ; v a r   a = c . p a g e [ t h i s . a x i s ] - t h i s . e l e m e n t . g e t P o s i t i o n ( ) [ t h i s . a x i s ] - t h i s . h a l f ; a = a . l i m i t ( - t h i s . o p t i o n s . o f f s e t , t h i s . f u l l - t h i s . o p t i o n s . o f f s e t ) ; 
 t h i s . s t e p = M a t h . r o u n d ( t h i s . m i n + b * t h i s . t o S t e p ( a ) ) ; t h i s . c h e c k S t e p ( ) ; t h i s . f i r e E v e n t ( " t i c k " , a ) ; t h i s . e n d ( ) ; } , s c r o l l e d E l e m e n t : f u n c t i o n ( a ) { v a r   b = ( 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 " ) ? ( a . w h e e l < 0 ) : ( a . w h e e l > 0 ) ; 
 t h i s . s e t ( b ? t h i s . s t e p - t h i s . s t e p S i z e : t h i s . s t e p + t h i s . s t e p S i z e ) ; a . s t o p ( ) ; } , d r a g g e d K n o b : f u n c t i o n ( ) { v a r   b = t h i s . r a n g e < 0 ? - 1 : 1 ; v a r   a = t h i s . d r a g . v a l u e . n o w [ t h i s . a x i s ] ; 
 a = a . l i m i t ( - t h i s . o p t i o n s . o f f s e t , t h i s . f u l l - t h i s . o p t i o n s . o f f s e t ) ; t h i s . s t e p = M a t h . r o u n d ( t h i s . m i n + b * t h i s . t o S t e p ( a ) ) ; t h i s . c h e c k S t e p ( ) ; } , c h e c k S t e p : f u n c t i o n ( ) { i f ( t h i s . p r e v i o u s C h a n g e ! = t h i s . s t e p ) { t h i s . p r e v i o u s C h a n g e = t h i s . s t e p ; 
 t h i s . f i r e E v e n t ( " c h a n g e " , t h i s . s t e p ) ; } } , e n d : f u n c t i o n ( ) { i f ( t h i s . p r e v i o u s E n d ! = = t h i s . s t e p ) { t h i s . p r e v i o u s E n d = t h i s . s t e p ; 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 t e p + " " ) ; 
 } } , t o S t e p : f u n c t i o n ( a ) { v a r   b = ( a + t h i s . o p t i o n s . o f f s e t ) * t h i s . s t e p S i z e / t h i s . f u l l * t h i s . s t e p s ; r e t u r n   t h i s . o p t i o n s . s t e p s ? M a t h . r o u n d ( b - = b % t h i s . s t e p S i z e ) : b ; } , t o P o s i t i o n : f u n c t i o n ( a ) { r e t u r n ( t h i s . f u l l * M a t h . a b s ( t h i s . m i n - a ) ) / ( t h i s . s t e p s * t h i s . s t e p S i z e ) - t h i s . o p t i o n s . o f f s e t ; 
 } } ) ; v a r   S o r t a b l e s = n e w   C l a s s ( { I m p l e m e n t s : [ E v e n t s , O p t i o n s ] , o p t i o n s : { s n a p : 4 , o p a c i t y : 1 , c l o n e : f a l s e , r e v e r t : f a l s e , h a n d l e : f a l s e , c o n s t r a i n : f a l s e } , i n i t i a l i z e : f u n c t i o n ( a , b ) { t h i s . s e t O p t i o n s ( b ) ; 
 t h i s . e l e m e n t s = [ ] ; t h i s . l i s t s = [ ] ; t h i s . i d l e = t r u e ; t h i s . a d d L i s t s ( $ $ ( $ ( a ) | | a ) ) ; i f ( ! t h i s . o p t i o n s . c l o n e ) { t h i s . o p t i o n s . r e v e r t = f a l s e ; } i f ( t h i s . o p t i o n s . r e v e r t ) { t h i s . e f f e c t = n e w   F x . M o r p h ( n u l l , $ m e r g e ( { d u r a t i o n : 2 5 0 , l i n k : " c a n c e l " } , t h i s . o p t i o n s . r e v e r t ) ) ; 
 } } , a t t a c h : f u n c t i o n ( ) { t h i s . a d d L i s t s ( t h i s . l i s t s ) ; r e t u r n   t h i s ; } , d e t a c h : f u n c t i o n ( ) { t h i s . l i s t s = t h i s . r e m o v e L i s t s ( t h i s . l i s t s ) ; r e t u r n   t h i s ; } , a d d I t e m s : 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 ( a ) { t h i s . e l e m e n t s . p u s h ( a ) ; 
 v a r   b = a . r e t r i e v e ( " s o r t a b l e s : s t a r t " , t h i s . s t a r t . b i n d W i t h E v e n t ( t h i s , a ) ) ; ( t h i s . o p t i o n s . h a n d l e ? a . g e t E l e m e n t ( t h i s . o p t i o n s . h a n d l e ) | | a : a ) . a d d E v e n t ( " m o u s e d o w n " , b ) ; 
 } , t h i s ) ; r e t u r n   t h i s ; } , a d d L i s t s : 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 ( a ) { t h i s . l i s t s . p u s h ( a ) ; t h i s . a d d I t e m s ( a . g e t C h i l d r e n ( ) ) ; } , t h i s ) ; r e t u r n   t h i s ; 
 } , r e m o v e I t e m s : f u n c t i o n ( ) { r e t u r n   $ $ ( A r r a y . f l a t t e n ( a r g u m e n t s ) . m a p ( f u n c t i o n ( a ) { t h i s . e l e m e n t s . e r a s e ( a ) ; v a r   b = a . r e t r i e v e ( " s o r t a b l e s : s t a r t " ) ; ( t h i s . o p t i o n s . h a n d l e ? a . g e t E l e m e n t ( t h i s . o p t i o n s . h a n d l e ) | | a : a ) . r e m o v e E v e n t ( " m o u s e d o w n " , b ) ; 
 r e t u r n   a ; } , t h i s ) ) ; } , r e m o v e L i s t s : f u n c t i o n ( ) { r e t u r n   $ $ ( A r r a y . f l a t t e n ( a r g u m e n t s ) . m a p ( f u n c t i o n ( a ) { t h i s . l i s t s . e r a s e ( a ) ; t h i s . r e m o v e I t e m s ( a . g e t C h i l d r e n ( ) ) ; r e t u r n   a ; 
 } , t h i s ) ) ; } , g e t C l o n e : f u n c t i o n ( b , a ) { i f ( ! t h i s . o p t i o n s . c l o n e ) { r e t u r n   n e w   E l e m e n t ( " d i v " ) . i n j e c t ( d o c u m e n t . b o d y ) ; } i f ( $ t y p e ( t h i s . o p t i o n s . c l o n e ) = = " f u n c t i o n " ) { r e t u r n   t h i s . o p t i o n s . c l o n e . c a l l ( t h i s , b , a , t h i s . l i s t ) ; 
 } r e t u r n   a . c l o n e ( t r u e ) . s e t S t y l e s ( { m a r g i n : " 0 p x " , p o s i t i o n : " a b s o l u t e " , v i s i b i l i t y : " h i d d e n " , w i d t h : a . g e t S t y l e ( " w i d t h " ) } ) . i n j e c t ( t h i s . l i s t ) . p o s i t i o n ( a . g e t P o s i t i o n ( a . g e t O f f s e t P a r e n t ( ) ) ) ; 
 } , g e t D r o p p a b l e s : f u n c t i o n ( ) { v a r   a = t h i s . l i s t . g e t C h i l d r e n ( ) ; i f ( ! t h i s . o p t i o n s . c o n s t r a i n ) { a = t h i s . l i s t s . c o n c a t ( a ) . e r a s e ( t h i s . l i s t ) ; } r e t u r n   a . e r a s e ( t h i s . c l o n e ) . e r a s e ( t h i s . e l e m e n t ) ; 
 } , i n s e r t : f u n c t i o n ( c , b ) { v a r   a = " i n s i d e " ; i f ( t h i s . l i s t s . c o n t a i n s ( b ) ) { t h i s . l i s t = b ; t h i s . d r a g . d r o p p a b l e s = t h i s . g e t D r o p p a b l e s ( ) ; } e l s e { a = t h i s . e l e m e n t . g e t A l l P r e v i o u s ( ) . c o n t a i n s ( b ) ? " b e f o r e " : " a f t e r " ; 
 } t h i s . e l e m e n t . i n j e c t ( b , a ) ; t h i s . f i r e E v e n t ( " s o r t " , [ t h i s . e l e m e n t , t h i s . c l o n e ] ) ; } , s t a r t : f u n c t i o n ( b , a ) { i f ( ! t h i s . i d l e ) { r e t u r n ; } t h i s . i d l e = f a l s e ; t h i s . e l e m e n t = a ; 
 t h i s . o p a c i t y = a . g e t ( " o p a c i t y " ) ; t h i s . l i s t = a . g e t P a r e n t ( ) ; t h i s . c l o n e = t h i s . g e t C l o n e ( b , a ) ; t h i s . d r a g = n e w   D r a g . M o v e ( t h i s . c l o n e , { s n a p : t h i s . o p t i o n s . s n a p , c o n t a i n e r : t h i s . o p t i o n s . c o n s t r a i n & & t h i s . e l e m e n t . g e t P a r e n t ( ) , d r o p p a b l e s : t h i s . g e t D r o p p a b l e s ( ) , o n S n a p : f u n c t i o n ( ) { b . s t o p ( ) ; 
 t h i s . c l o n e . s e t 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 . e l e m e n t . s e t ( " o p a c i t y " , t h i s . o p t i o n s . o p a c i t y | | 0 ) ; t h i s . f i r e E v e n t ( " s t a r t " , [ t h i s . e l e m e n t , t h i s . c l o n e ] ) ; } . b i n d ( t h i s ) , o n E n t e r : t h i s . i n s e r t . b i n d ( t h i s ) , o n C a n c e l : t h i s . r e s e t . b i n d ( t h i s ) , o n C o m p l e t e : t h i s . e n d . b i n d ( t h i s ) } ) ; 
 t h i s . c l o n e . i n j e c t ( t h i s . e l e m e n t , " b e f o r e " ) ; t h i s . d r a g . s t a r t ( b ) ; } , e n d : f u n c t i o n ( ) { t h i s . d r a g . d e t a c h ( ) ; t h i s . e l e m e n t . s e t ( " o p a c i t y " , t h i s . o p a c i t y ) ; i f ( t h i s . e f f e c t ) { v a r   a = t h i s . e l e m e n t . g e t S t y l e s ( " w i d t h " , " h e i g h t " ) ; 
 v a r   b = t h i s . c l o n e . c o m p u t e P o s i t i o n ( t h i s . e l e m e n t . g e t P o s i t i o n ( t h i s . c l o n e . o f f s e t P a r e n t ) ) ; t h i s . e f f e c t . e l e m e n t = t h i s . c l o n e ; t h i s . e f f e c t . s t a r t ( { t o p : b . t o p , l e f t : b . l e f t , w i d t h : a . w i d t h , h e i g h t : a . h e i g h t , o p a c i t y : 0 . 2 5 } ) . c h a i n ( t h i s . r e s e t . b i n d ( t h i s ) ) ; 
 } e l s e { t h i s . r e s e t ( ) ; } } , r e s e t : f u n c t i o n ( ) { t h i s . i d l e = t r u e ; t h i s . c l o n e . d e s t r o y ( ) ; 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 . e l e m e n t ) ; } , s e r i a l i z e : 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 , { m o d i f i e r : F u n c t i o n . t y p e , i n d e x : $ d e f i n e d } ) ; 
 v a r   b = t h i s . l i s t s . m a p ( f u n c t i o n ( d ) { r e t u r n   d . g e t C h i l d r e n ( ) . m a p ( c . m o d i f i e r | | f u n c t i o n ( e ) { r e t u r n   e . g e t ( " i d " ) ; } , t h i s ) ; } , t h i s ) ; v a r   a = c . i n d e x ; i f ( t h i s . l i s t s . l e n g t h = = 1 ) { a = 0 ; 
 } r e t u r n   $ c h k ( a ) & & a > = 0 & & a < t h i s . l i s t s . l e n g t h ? b [ a ] : b ; } } ) ; v a r   I f r a m e S h i m = 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 , E v e n t s , C l a s s . O c c l u d e ] , o p t i o n s : { c l a s s N a m e : " i f r a m e S h i m " , d i s p l a y : f a l s e , z I n d e x : n u l l , m a r g i n : 0 , o f f s e t : { x : 0 , y : 0 } , b r o w s e r s : ( B r o w s e r . E n g i n e . t r i d e n t 4 | | ( B r o w s e r . E n g i n e . g e c k o & & ! B r o w s e r . E n g i n e . g e c k o 1 9 & & B r o w s e r . P l a t f o r m . m a c ) ) } , p r o p e r t y : " I f r a m e S h i m " , 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 = $ ( b ) ; 
 i f ( t h i s . o c c l u d e ( ) ) { r e t u r n   t h i s . o c c l u d e d ; } t h i s . s e t O p t i o n s ( a ) ; t h i s . m a k e S h i m ( ) ; r e t u r n   t h i s ; } , m a k e S h i m : f u n c t i o n ( ) { i f ( t h i s . o p t i o n s . b r o w s e r s ) { v a r   c = t h i s . e l e m e n t . g e t S t y l e ( " z I n d e x " ) . t o I n t ( ) ; 
 i f ( ! c ) { v a r   b = t h i s . e l e m e n t . g e t S t y l e ( " p o s i t i o n " ) ; i f ( b = = " s t a t i c " | | ! b ) { t h i s . e l e m e n t . s e t S t y l e ( " p o s i t i o n " , " r e l a t i v e " ) ; } t h i s . e l e m e n t . s e t S t y l e ( " z I n d e x " , c | | 1 ) ; } c = ( $ c h k ( t h i s . o p t i o n s . z I n d e x ) & & c > t h i s . o p t i o n s . z I n d e x ) ? t h i s . o p t i o n s . z I n d e x : c - 1 ; 
 i f ( c < 0 ) { c = 1 ; } t h i s . s h i m = n e w   E l e m e n t ( " i f r a m e " , { s r c : ( w i n d o w . l o c a t i o n . p r o t o c o l = = " h t t p s " ) ? " : / / 0 " : " j a v a s c r i p t : v o i d ( 0 ) " , s c r o l l i n g : " n o " , f r a m e b o r d e r : 0 , s t y l e s : { z I n d e x : c , p o s i t i o n : " a b s o l u t e " , b o r d e r : " n o n e " , f i l t e r : " p r o g i d : D X I m a g e T r a n s f o r m . M i c r o s o f t . A l p h a ( s t y l e = 0 , o p a c i t y = 0 ) " } , " c l a s s " : t h i s . o p t i o n s . c l a s s N a m e } ) . s t o r e ( " I f r a m e S h i m " , t h i s ) ; 
 v a r   a = ( f u n c t i o n ( ) { t h i s . s h i m . i n j e c t ( t h i s . e l e m e n t , " a f t e r " ) ; t h i s [ t h i s . o p t i o n s . d i s p l a y ? " s h o w " : " h i d e " ] ( ) ; t h i s . f i r e E v e n t ( " i n j e c t " ) ; } ) . b i n d ( t h i s ) ; i f ( B r o w s e r . E n g i n e . t r i d e n t & & ! I f r a m e S h i m . r e a d y ) { w i n d o w . a d d E v e n t ( " l o a d " , a ) ; 
 } e l s e { a ( ) ; } } e l s e { t h i s . p o s i t i o n = t h i s . h i d e = t h i s . s h o w = t h i s . d i s p o s e = $ l a m b d a ( t h i s ) ; } } , p o s i t i o n : f u n c t i o n ( ) { i f ( ! I f r a m e S h i m . r e a d y ) { r e t u r n   t h i s ; } v a r   a = t h i s . e l e m e n t . m e a s u r e ( 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 ( ) ; 
 } ) ; i f ( $ t y p e ( t h i s . o p t i o n s . m a r g i n ) ) { a . x = a . x - ( t h i s . o p t i o n s . m a r g i n * 2 ) ; a . y = a . y - ( t h i s . o p t i o n s . m a r g i n * 2 ) ; t h i s . o p t i o n s . o f f s e t . x + = t h i s . o p t i o n s . m a r g i n ; t h i s . o p t i o n s . o f f s e t . y + = t h i s . o p t i o n s . m a r g i n ; 
 } i f ( t h i s . s h i m ) { t h i s . s h i m . s e t ( { w i d t h : a . x , h e i g h t : a . y } ) . p o s i t i o n ( { r e l a t i v e T o : t h i s . e l e m e n t , o f f s e t : t h i s . o p t i o n s . o f f s e t } ) ; } r e t u r n   t h i s ; } , h i d e : f u n c t i o n ( ) { i f ( t h i s . s h i m ) { t h i s . s h i m . s e t S t y l e ( " d i s p l a y " , " n o n e " ) ; 
 } r e t u r n   t h i s ; } , s h o w : f u n c t i o n ( ) { i f ( t h i s . s h i m ) { t h i s . s h i m . s e t S t y l e ( " d i s p l a y " , " b l o c k " ) ; } r e t u r n   t h i s . p o s i t i o n ( ) ; } , d i s p o s e : f u n c t i o n ( ) { i f ( t h i s . s h i m ) { t h i s . s h i m . d i s p o s e ( ) ; 
 } r e t u r n   t h i s ; } , d e s t r o y : f u n c t i o n ( ) { i f ( t h i s . s h i m ) { t h i s . s h i m . d e s t r o y ( ) ; } r e t u r n   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 ( ) { I f r a m e S h i m . r e a d y = t r u e ; } ) ; v a r   S c r o l l e r = n e w   C l a s s ( { I m p l e m e n t s : [ E v e n t s , O p t i o n s ] , o p t i o n s : { a r e a : 2 0 , v e l o c i t y : 1 , o n C h a n g e : f u n c t i o n ( a , b ) { t h i s . e l e m e n t . s c r o l l T o ( a , b ) ; 
 } , f p s : 5 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 ) ; t h i s . e l e m e n t = $ ( b ) ; t h i s . l i s t e n e r = ( $ t y p e ( t h i s . e l e m e n t ) ! = " e l e m e n t " ) ? $ ( t h i s . e l e m e n t . g e t D o c u m e n t ( ) . b o d y ) : t h i s . e l e m e n t ; 
 t h i s . t i m e r = n u l l ; t h i s . b o u n d = { a t t a c h : t h i s . a t t a c h . b i n d ( t h i s ) , d e t a c h : t h i s . d e t a c h . b i n d ( t h i s ) , g e t C o o r d s : t h i s . g e t C o o r d s . b i n d ( t h i s ) } ; } , s t a r t : f u n c t i o n ( ) { t h i s . l i s t e n e r . a d d E v e n t s ( { m o u s e e n t e r : t h i s . b o u n d . a t t a c h , m o u s e l e a v e : t h i s . b o u n d . d e t a c h } ) ; 
 } , s t o p : f u n c t i o n ( ) { t h i s . l i s t e n e r . r e m o v e E v e n t s ( { m o u s e e n t e r : t h i s . b o u n d . a t t a c h , m o u s e l e a v e : t h i s . b o u n d . d e t a c h } ) ; t h i s . t i m e r = $ c l e a r ( t h i s . t i m e r ) ; } , a t t a c h : f u n c t i o n ( ) { t h i s . l i s t e n e r . 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 . g e t C o o r d s ) ; 
 } , d e t a c h : f u n c t i o n ( ) { t h i s . l i s t e n e r . 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 . g e t C o o r d s ) ; t h i s . t i m e r = $ c l e a r ( t h i s . t i m e r ) ; } , g e t C o o r d s : f u n c t i o n ( a ) { t h i s . p a g e = ( t h i s . l i s t e n e r . g e t ( " t a g " ) = = " b o d y " ) ? a . c l i e n t : a . p a g e ; 
 i f ( ! t h i s . t i m e r ) { t h i s . t i m e r = t h i s . s c r o l l . 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 ) ; } } , s c r o l l : f u n c t i o n ( ) { v a r   b = t h i s . e l e m e n t . g e t S i z e ( ) , a = t h i s . e l e m e n t . g e t S c r o l l ( ) , f = t h i s . e l e m e n t . g e t O f f s e t s ( ) , c = t h i s . e l e m e n t . g e t S c r o l l S i z e ( ) , e = { x : 0 , y : 0 } ; 
 f o r ( v a r   d   i n   t h i s . p a g e ) { i f ( t h i s . p a g e [ d ] < ( t h i s . o p t i o n s . a r e a + f [ d ] ) & & a [ d ] ! = 0 ) { e [ d ] = ( t h i s . p a g e [ d ] - t h i s . o p t i o n s . a r e a - f [ d ] ) * t h i s . o p t i o n s . v e l o c i t y ; } e l s e { i f ( t h i s . p a g e [ d ] + t h i s . o p t i o n s . a r e a > ( b [ d ] + f [ d ] ) & & a [ d ] + b [ d ] ! = c [ d ] ) { e [ d ] = ( t h i s . p a g e [ d ] - b [ d ] + t h i s . o p t i o n s . a r e a - f [ d ] ) * t h i s . o p t i o n s . v e l o c i t y ; 
 } } } i f ( e . y | | e . x ) { t h i s . f i r e E v e n t ( " c h a n g e " , [ a . x + e . x , a . y + e . y ] ) ; } } } ) ; v a r   T i p s = n e w   C l a s s ( { I m p l e m e n t s : [ E v e n t s , O p t i o n s ] , o p t i o n s : { o n S h o w : f u n c t i o n ( a ) { a . s e t S t y l e ( " v i s i b i l i t y " , " v i s i b l e " ) ; 
 } , o n H i d e : f u n c t i o n ( a ) { a . s e t S t y l e ( " v i s i b i l i t y " , " h i d d e n " ) ; } , t i t l e : " t i t l e " , t e x t : f u n c t i o n ( a ) { r e t u r n   a . g e t ( " r e l " ) | | a . g e t ( " h r e f " ) ; } , s h o w D e l a y : 1 0 0 , h i d e D e l a y : 1 0 0 , c l a s s N a m e : n u l l , o f f s e t : { x : 1 6 , y : 1 6 } , f i x e d : 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   a = A r r a y . l i n k ( a r g u m e n t s , { o p t i o n s : O b j e c t . t y p e , e l e m e n t s : $ d e f i n e d } ) ; 
 i f ( a . o p t i o n s & & a . o p t i o n s . o f f s e t s ) { a . o p t i o n s . o f f s e t = a . o p t i o n s . o f f s e t s ; } t h i s . s e t O p t i o n s ( a . o p t i o n s ) ; t h i s . c o n t a i n e r = n e w   E l e m e n t ( " d i v " , { " c l a s s " : " t i p " } ) ; t h i s . t i p = t h i s . g e t T i p ( ) ; 
 i f ( a . e l e m e n t s ) { t h i s . a t t a c h ( a . e l e m e n t s ) ; } } , g e t T i p : f u n c t i o n ( ) { r e t u r n   n e w   E l e m e n t ( " d i v " , { " c l a s s " : t h i s . o p t i o n s . c l a s s N a m e , s t y l e s : { v i s i b i l i t y : " h i d d e n " , d i s p l a y : " n o n e " , p o s i t i o n : " a b s o l u t e " , t o p : 0 , l e f t : 0 } } ) . a d o p t ( n e w   E l e m e n t ( " d i v " , { " c l a s s " : " t i p - t o p " } ) , t h i s . c o n t a i n e r , n e w   E l e m e n t ( " d i v " , { " c l a s s " : " t i p - b o t t o m " } ) ) . i n j e c t ( d o c u m e n t . b o d y ) ; 
 } , a t t a c h : f u n c t i o n ( b ) { v a r   a = f u n c t i o n ( d , c ) { i f ( d = = n u l l ) { r e t u r n " " ; } r e t u r n   $ t y p e ( d ) = = " f u n c t i o n " ? d ( c ) : c . g e t ( d ) ; } ; $ $ ( b ) . e a c h ( f u n c t i o n ( d ) { v a r   e = a ( t h i s . o p t i o n s . t i t l e , d ) ; 
 d . e r a s e ( " t i t l e " ) . s t o r e ( " t i p : n a t i v e " , e ) . r e t r i e v e ( " t i p : t i t l e " , e ) ; d . r e t r i e v e ( " t i p : t e x t " , a ( t h i s . o p t i o n s . t e x t , d ) ) ; v a r   c = [ " e n t e r " , " l e a v e " ] ; i f ( ! t h i s . o p t i o n s . f i x e d ) { c . p u s h ( " m o v e " ) ; 
 } c . e a c h ( f u n c t i o n ( f ) { d . a d d E v e n t ( " m o u s e " + f , d . r e t r i e v e ( " t i p : " + f , t h i s [ " e l e m e n t " + f . c a p i t a l i z e ( ) ] . b i n d W i t h E v e n t ( t h i s , d ) ) ) ; } , t h i s ) ; } , t h i s ) ; r e t u r n   t h i s ; } , d e t a c h : f u n c t i o n ( a ) { $ $ ( a ) . e a c h ( f u n c t i o n ( c ) { [ " e n t e r " , " l e a v e " , " m o v e " ] . e a c h ( f u n c t i o n ( d ) { c . r e m o v e E v e n t ( " m o u s e " + d , c . r e t r i e v e ( " t i p : " + d ) | | $ e m p t y ) ; 
 } ) ; c . e l i m i n a t e ( " t i p : e n t e r " ) . e l i m i n a t e ( " t i p : l e a v e " ) . e l i m i n a t e ( " t i p : m o v e " ) ; i f ( $ t y p e ( t h i s . o p t i o n s . t i t l e ) = = " s t r i n g " & & t h i s . o p t i o n s . t i t l e = = " t i t l e " ) { v a r   b = c . r e t r i e v e ( " t i p : n a t i v e " ) ; 
 i f ( b ) { c . s e t ( " t i t l e " , b ) ; } } } , t h i s ) ; r e t u r n   t h i s ; } , e l e m e n t E n t e r : f u n c t i o n ( b , a ) { $ A ( t h i s . c o n t a i n e r . c h i l d N o d e s ) . e a c h ( E l e m e n t . d i s p o s e ) ; [ " t i t l e " , " t e x t " ] . e a c h ( f u n c t i o n ( d ) { v a r   c = a . r e t r i e v e ( " t i p : " + d ) ; 
 i f ( ! c ) { r e t u r n ; } t h i s [ d + " E l e m e n t " ] = n e w   E l e m e n t ( " d i v " , { " c l a s s " : " t i p - " + d } ) . i n j e c t ( t h i s . c o n t a i n e r ) ; t h i s . f i l l ( t h i s [ d + " E l e m e n t " ] , c ) ; } , t h i s ) ; t h i s . t i m e r = $ c l e a r ( t h i s . t i m e r ) ; 
 t h i s . t i m e r = t h i s . s h o w . d e l a y ( t h i s . o p t i o n s . s h o w D e l a y , t h i s , a ) ; t h i s . t i p . s e t S t y l e ( " d i s p l a y " , " b l o c k " ) ; t h i s . p o s i t i o n ( ( ! t h i s . o p t i o n s . f i x e d ) ? b : { p a g e : a . g e t P o s i t i o n ( ) } ) ; 
 } , e l e m e n t L e a v e : f u n c t i o n ( b , a ) { $ c l e a r ( t h i s . t i m e r ) ; t h i s . t i p . s e t S t y l e ( " d i s p l a y " , " n o n e " ) ; t h i s . t i m e r = t h i s . h i d e . d e l a y ( t h i s . o p t i o n s . h i d e D e l a y , t h i s , a ) ; } , e l e m e n t M o v e : f u n c t i o n ( a ) { t h i s . p o s i t i o n ( a ) ; 
 } , p o s i t i o n : f u n c t i o n ( d ) { v a r   b = w i n d o w . g e t S i z e ( ) , a = w i n d o w . g e t S c r o l l ( ) , e = { x : t h i s . t i p . o f f s e t W i d t h , y : t h i s . t i p . o f f s e t H e i g h t } , c = { x : " l e f t " , y : " t o p " } , f = { } ; f o r ( v a r   g   i n   c ) { f [ c [ g ] ] = d . p a g e [ g ] + t h i s . o p t i o n s . o f f s e t [ g ] ; 
 i f ( ( f [ c [ g ] ] + e [ g ] - a [ g ] ) > b [ g ] ) { f [ c [ g ] ] = d . p a g e [ g ] - t h i s . o p t i o n s . o f f s e t [ g ] - e [ g ] ; } } t h i s . t i p . s e t S t y l e s ( f ) ; } , f i l l : f u n c t i o n ( a , b ) { i f ( t y p e o f   b = = " s t r i n g " ) { a . s e t ( " h t m l " , b ) ; 
 } e l s e { a . a d o p t ( b ) ; } } , s h o w : f u n c t i o n ( a ) { t h i s . f i r e E v e n t ( " s h o w " , [ t h i s . t i p , a ] ) ; } , h i d e : f u n c t i o n ( a ) { t h i s . f i r e E v e n t ( " h i d e " , [ t h i s . t i p , a ] ) ; } } ) ; M o o T o o l s . l a n g . s e t ( " e n - U S " , " D a t e " , { m o n t h s : [ " J a n u a r y " , " F e b r u a r y " , " M a r c h " , " A p r i l " , " M a y " , " J u n e " , " J u l y " , " A u g u s t " , " S e p t e m b e r " , " O c t o b e r " , " N o v e m b e r " , " D e c e m b e r " ] , d a y s : [ " S u n d a y " , " M o n d a y " , " T u e s d a y " , " W e d n e s d a y " , " T h u r s d a y " , " F r i d a y " , " S a t u r d a y " ] , d a t e O r d e r : [ " m o n t h " , " d a t e " , " y e a r " ] , s h o r t D a t e : " % m / % d / % Y " , s h o r t T i m e : " % I : % M % p " , A M : " A M " , P M : " P M " , o r d i n a l : f u n c t i o n ( a ) { r e t u r n ( a > 3 & & a < 2 1 ) ? " t h " : [ " t h " , " s t " , " n d " , " r d " , " t h " ] [ M a t h . m i n ( a % 1 0 , 4 ) ] ; 
 } , l e s s T h a n M i n u t e A g o : " l e s s   t h a n   a   m i n u t e   a g o " , m i n u t e A g o : " a b o u t   a   m i n u t e   a g o " , m i n u t e s A g o : " { d e l t a }   m i n u t e s   a g o " , h o u r A g o : " a b o u t   a n   h o u r   a g o " , h o u r s A g o : " a b o u t   { d e l t a }   h o u r s   a g o " , d a y A g o : " 1   d a y   a g o " , d a y s A g o : " { d e l t a }   d a y s   a g o " , l e s s T h a n M i n u t e U n t i l : " l e s s   t h a n   a   m i n u t e   f r o m   n o w " , m i n u t e U n t i l : " a b o u t   a   m i n u t e   f r o m   n o w " , m i n u t e s U n t i l : " { d e l t a }   m i n u t e s   f r o m   n o w " , h o u r U n t i l : " a b o u t   a n   h o u r   f r o m   n o w " , h o u r s U n t i l : " a b o u t   { d e l t a }   h o u r s   f r o m   n o w " , d a y U n t i l : " 1   d a y   f r o m   n o w " , d a y s U n t i l : " { d e l t a }   d a y s   f r o m   n o w " } ) ; 
 
