ÿþ/ / M o o T o o l s ,   < h t t p : / / m o o t o o l s . n e t > ,   M y   O b j e c t   O r i e n t e d   ( J a v a S c r i p t )   T o o l s .   C o p y r i g h t   ( c )   2 0 0 6 - 2 0 0 8   V a l e r i o   P r o i e t t i ,   < h t t p : / / m a d 4 m i l k . n e t > ,   M I T   S t y l e   L i c e n s e . 
 
 v a r   M o o T o o l s = { v e r s i o n : " 1 . 2 . 0 " , b u i l d : " " } ; v a r   N a t i v e = f u n c t i o n ( J ) { J = J | | { } ; v a r   F = J . 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   G = J . g e n e r i c s ; G = ( G ! = = f a l s e ) ; v a r   H = J . l e g a c y ; 
 v a r   E = J . i n i t i a l i z e ; v a r   B = J . p r o t e c t ; v a r   A = J . n a m e ; v a r   C = E | | H ; C . c o n s t r u c t o r = N a t i v e ; C . $ f a m i l y = { n a m e : " n a t i v e " } ; i f ( H & & E ) { C . p r o t o t y p e = H . p r o t o t y p e ; } C . p r o t o t y p e . c o n s t r u c t o r = C ; 
 i f ( A ) { v a r   D = A . t o L o w e r C a s e ( ) ; C . p r o t o t y p e . $ f a m i l y = { n a m e : D } ; N a t i v e . t y p i z e ( C , D ) ; } v a r   I = f u n c t i o n ( M , K , N , L ) { i f ( ! B | | L | | ! M . p r o t o t y p e [ K ] ) { M . p r o t o t y p e [ K ] = N ; } i f ( G ) { N a t i v e . g e n e r i c i z e ( M , K , B ) ; 
 } F . c a l l ( M , K , N ) ; r e t u r n   M ; } ; C . i m p l e m e n t = f u n c t i o n ( L , K , N ) { i f ( t y p e o f   L = = " s t r i n g " ) { r e t u r n   I ( t h i s , L , K , N ) ; } f o r ( v a r   M   i n   L ) { I ( t h i s , M , L [ M ] , K ) ; } r e t u r n   t h i s ; } ; C . a l i a s = f u n c t i o n ( M , K , N ) { i f ( t y p e o f   M = = " s t r i n g " ) { M = t h i s . p r o t o t y p e [ M ] ; 
 i f ( M ) { I ( t h i s , K , M , N ) ; } } e l s e { f o r ( v a r   L   i n   M ) { t h i s . a l i a s ( L , M [ L ] , K ) ; } } r e t u r n   t h i s ; } ; r e t u r n   C ; } ; 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 . 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 . 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 ) ; } ; } } ; N a t i v e . a l i a s = f u n c t i o n ( E , B , A , F ) { f o r ( v a r   D = 0 , C = E . l e n g t h ; D < C ; D + + ) { E [ D ] . a l i a s ( B , A , F ) ; 
 } } ; ( f u n c t i o n ( B ) { f o r ( v a r   A   i n   B ) { N a t i v e . t y p i z e ( B [ A ] , A ) ; } } ) ( { " 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 u n c t i o n ( B ) { f o r ( v a r   A   i n   B ) { n e w   N a t i v e ( { n a m e : A , i n i t i a l i z e : B [ A ] , p r o t e c t : t r u e } ) ; 
 } } ) ( { S t r i n g : S t r i n g , 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 , A r r a y : A r r a y , R e g E x p : R e g E x p , D a t e : D a t e } ) ; ( f u n c t i o n ( B , A ) { f o r ( v a r   C = A . l e n g t h ; C - - ; C ) { N a t i v e . g e n e r i c i z e ( B , A [ C ] , t r u e ) ; 
 } r e t u r n   a r g u m e n t s . c a l l e e ; } ) ( A r r a y , [ " p o p " , " p u s h " , " r e v e r s e " , " s h i f t " , " s o r t " , " s p l i c e " , " u n s h i f t " , " c o n c a t " , " j o i n " , " s l i c e " , " t o S t r i n g " , " v a l u e O f " , " i n d e x O f " , " l a s t I n d e x 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 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 m p t y ( ) { } 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   $ 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   $ 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   $ 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 = $ u n l i n k ( C . g e t C l e a n ( ) ) ; 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 ; } f u n c t i o n   $ m e r g e ( ) { v a r   E = { } ; f o r ( v a r   D = 0 , A = a r g u m e n t s . l e n g t h ; D < A ; D + + ) { v a r   B = a r g u m e n t s [ D ] ; i f ( $ t y p e ( B ) ! = " o b j e c t " ) { c o n t i n u e ; 
 } f o r ( v a r   C   i n   B ) { v a r   G = B [ C ] , F = E [ C ] ; E [ C ] = ( F & & $ t y p e ( G ) = = " o b j e c t " & & $ t y p e ( F ) = = " o b j e c t " ) ? $ m e r g e ( F , G ) : $ u n l i n k ( G ) ; } } r e t u r n   E ; } f u n c t i o n   $ p i c k ( ) { f o r ( v a r   B = 0 , A = a r g u m e n t s . l e n g t h ; 
 B < A ; B + + ) { i f ( a r g u m e n t s [ B ] ! = u n d e f i n e d ) { r e t u r n   a r g u m e n t s [ B ] ; } } r e t u r n   n u l l ; } f u n c t i o n   $ r a n d o m ( B , A ) { r e t u r n   M a t h . f l o o r ( M a t h . r a n d o m ( ) * ( A - B + 1 ) + B ) ; } f u n c t i o n   $ s p l a t ( B ) { v a r   A = $ t y p e ( B ) ; 
 r e t u r n ( A ) ? ( ( A ! = " a r r a y " & & A ! = " a r g u m e n t s " ) ? [ B ] : B ) : [ ] ; } v a r   $ t i m e = D a t e . n o w | | f u n c t i o n ( ) { r e t u r n   n e w   D a t e ( ) . g e t T i m 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 ; } 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 ( { 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 ; 
 } , 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 ; } } ) ; H a s h . a l i a s ( " f o r E a c h " , " e a c h " ) ; f u n c t i o n   $ H ( A ) { r e t u r n   n e w   H a s h ( A ) ; } A r r a y . i m p l e m e n t ( { f o r E a c h : f u n c t i o n ( C , D ) { f o r ( v a r   B = 0 , A = t h i s . l e n g t h ; B < A ; B + + ) { C . c a l l ( D , t h i s [ B ] , B , t h i s ) ; 
 } } } ) ; A r r a y . a l i a s ( " f o r E a c h " , " e a c h " ) ; f u n c t i o n   $ A ( C ) { i f ( C . i t e m ) { v a r   D = [ ] ; f o r ( v a r   B = 0 , A = C . l e n g t h ; B < A ; B + + ) { D [ B ] = C [ B ] ; } r e t u r n   D ; } r e t u r n   A r r a y . p r o t o t y p e . s l i c e . c a l l ( C ) ; 
 } f u n c t i o n   $ 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 ) ; } v a r   B r o w s e r = n e w   H a s h ( { E n g i n e : { n a m e : " u n k n o w n " , v e r s i o n : " " } , P l a t f o r m : { n a m e : ( 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 ) } , P l u g i n s : { } } ) ; 
 i f ( w i n d o w . o p e r a ) { B r o w s e r . E n g i n e = { n a m e : " p r e s t o " , v e r s i o n : ( 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 } ; } e l s e { i f ( w i n d o w . A c t i v e X O b j e c t ) { B r o w s e r . E n g i n e = { n a m e : " t r i d e n t " , v e r s i o n : ( w i n d o w . X M L H t t p R e q u e s t ) ? 5 : 4 } ; 
 } e l s e { i f ( ! n a v i g a t o r . t a i n t E n a b l e d ) { B r o w s e r . E n g i n e = { n a m e : " w e b k i t " , v e r s i o n : ( B r o w s e r . F e a t u r e s . x p a t h ) ? 4 2 0 : 4 1 9 } ; } e l s e { i f ( d o c u m e n t . g e t B o x O b j e c t F o r ! = n u l l ) { B r o w s e r . E n g i n e = { n a m e : " g e c k o " , v e r s i o n : ( 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 . E n g i n e [ B r o w s e r . E n g i n e . n a m e ] = B r o w s e r . E n g i n e [ B r o w s e r . E n g i n e . n a m e + B r o w s e r . E n g i n e . v e r s i o n ] = t r u e ; i f ( 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 ) { B r o w s e r . P l a t f o r m . n a m e = " i p o d " ; 
 } 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 . R e q u e s t = f u n c t i o n ( ) { r e t u r n   $ t r y ( f u n c t i o n ( ) { r e t u r n   n e w   X M L H t t p R e q u e s t ( ) ; } , f u n c t i o n ( ) { r e t u r n   n e w   A c t i v e X O b j e c t ( " M S X M L 2 . X M L H T T P " ) ; 
 } ) ; } ; B r o w s e r . F e a t u r e s . x h r = ! ! ( B r o w s e r . R e q u e s t ( ) ) ; B r o w s e r . P l u g i n s . F l a s h = ( f u n c t i o n ( ) { v a r   A = ( $ t r y ( f u n c t i o n ( ) { r e t u r n   n a v i g a t o r . p l u g i n s [ " S h o c k w a v e   F l a s h " ] . d e s c r i p t i o n ; 
 } , f u n c t i o n ( ) { r e t u r n   n e w   A c t i v e X O b j e c t ( " S h o c k w a v e F l a s h . S h o c k w a v e F l a s h " ) . G e t V a r i a b l e ( " $ v e r s i o n " ) ; } ) | | " 0   r 0 " ) . m a t c h ( / \ d + / g ) ; r e t u r n { v e r s i o n : p a r s e I n t ( A [ 0 ] | | 0 + " . " + A [ 1 ] | | 0 ) , b u i l d : p a r s e I n t ( A [ 2 ] | | 0 ) } ; 
 } ) ( ) ; f u n c t i o n   $ e x e c ( B ) { i f ( ! B ) { r e t u r n   B ; } i f ( w i n d o w . e x e c S c r i p t ) { w i n d o w . e x e c S c r i p t ( B ) ; } e l s e { v a r   A = d o c u m e n t . c r e a t e E l e m e n t ( " s c r i p t " ) ; A . s e t A t t r i b u t e ( " t y p e " , " t e x t / j a v a s c r i p t " ) ; 
 A . 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 ] ] " ] : { } ; 
 } 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 ] ; A . w i n d o w = A . d e f a u l t V i e w | | A . p a r e n t W i n d o w ; i f ( B r o w s e r . E n g i n e . t r i d e n t 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 ) ; 
 } ) ; } 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 ( ) ; } ; } , 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 ( { a r g u m e n t s : A , b i n d : B } ) ; } , 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 ( { a r g u m e n t s : A , b i n d : B , a t t e m p t : t r u e } ) ( ) ; 
 } , 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 , e v e n t : t r u e , a r g u m e n t s : A } ) ; } , 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 ( { d e l a y : B , b i n d : C , a r g u m e n t s : A } ) ( ) ; 
 } , p e r i o d i c a l : f u n c t i o n ( A , C , B ) { r e t u r n   t h i s . c r e a t e ( { p e r i o d i c a l : A , b i n d : C , a r g u m e n t s : B } ) ( ) ; } , 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 ) ) ; } } ) ; N u m b e r . i m p l e m e n t ( { l i m i t : f u n c t i o n ( B , A ) { r e t u r n   M a t h . m i n ( A , M a t h . m a x ( B , t h i s ) ) ; 
 } , r o u n d : f u n c t i o n ( A ) { A = M a t h . p o w ( 1 0 , A | | 0 ) ; r e t u r n   M a t h . r o u n d ( t h i s * A ) / A ; } , t i m e s : f u n c t i o n ( B , C ) { f o r ( v a r   A = 0 ; A < t h i s ; A + + ) { B . c a l l ( C , A , t h i s ) ; } } , t o F l o a t : f u n c t i o n ( ) { r e t u r n   p a r s e F l o a t ( t h i s ) ; 
 } , t o I n t : f u n c t i o n ( A ) { r e t u r n   p a r s e I n t ( t h i s , A | | 1 0 ) ; } } ) ; N u m b e r . a l i a s ( " t i m e s " , " e a c h " ) ; ( f u n c t i o n ( B ) { v a r   A = { } ; B . e a c h ( f u n c t i o n ( C ) { i f ( ! N u m b e r [ C ] ) { A [ C ] = f u n c t i o n ( ) { r e t u r n   M a t h [ C ] . a p p l y ( n u l l , [ t h i s ] . c o n c a t ( $ A ( a r g u m e n t s ) ) ) ; 
 } ; } } ) ; N u m b e r . i m p l e m e n t ( A ) ; } ) ( [ " a b s " , " a c o s " , " a s i n " , " a t a n " , " a t a n 2 " , " c e i l " , " c o s " , " e x p " , " f l o o r " , " l o g " , " m a x " , " m i n " , " p o w " , " s i n " , " s q r t " , " t a n " ] ) ; S t r i n g . i m p l e m e n t ( { t e s t : f u n c t i o n ( A , B ) { r e t u r n ( ( t y p e o f   A = = " s t r i n g " ) ? n e w   R e g E x p ( A , B ) : A ) . t e s t ( t h i s ) ; 
 } , c o n t a i n s : f u n c t i o n ( A , B ) { r e t u r n ( B ) ? ( B + t h i s + B ) . i n d e x O f ( B + A + B ) > - 1 : t h i s . i n d e x O f ( A ) > - 1 ; } , t r i m : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / ^ \ s + | \ s + $ / g , " " ) ; } , c l e a n : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / \ s + / g , "   " ) . t r i m ( ) ; 
 } , c a m e l C a s e : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / - \ D / g , f u n c t i o n ( A ) { r e t u r n   A . c h a r A t ( 1 ) . t o U p p e r C a s e ( ) ; } ) ; } , h y p h e n a t e : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / [ A - Z ] / g , f u n c t i o n ( A ) { r e t u r n ( " - " + A . c h a r A t ( 0 ) . t o L o w e r C a s e ( ) ) ; 
 } ) ; } , c a p i t a l i z e : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / \ b [ a - z ] / g , f u n c t i o n ( A ) { r e t u r n   A . t o U p p e r C a s e ( ) ; } ) ; } , e s c a p e R e g E x p : f u n c t i o n ( ) { r e t u r n   t h i s . r e p l a c e ( / ( [ - . * + ? ^ $ { } ( ) | [ \ ] \ / \ \ ] ) / g , " \ \ $ 1 " ) ; 
 } , t o I n t : f u n c t i o n ( A ) { r e t u r n   p a r s e I n t ( t h i s , A | | 1 0 ) ; } , t o F l o a t : f u n c t i o n ( ) { r e t u r n   p a r s e F l o a t ( t h i s ) ; } , h e x T o R g b : f u n c t i o n ( B ) { v a r   A = t h i s . m a t c h ( / ^ # ? ( \ w { 1 , 2 } ) ( \ w { 1 , 2 } ) ( \ w { 1 , 2 } ) $ / ) ; 
 r e t u r n ( A ) ? A . s l i c e ( 1 ) . h e x T o R g b ( B ) : n u l l ; } , r g b T o H e x : f u n c t i o n ( B ) { v a r   A = t h i s . m a t c h ( / \ d { 1 , 3 } / g ) ; r e t u r n ( A ) ? A . r g b T o H e x ( B ) : n u l l ; } , s t r i p S c r i p t s : f u n c t i o n ( B ) { v a r   A = " " ; 
 v a r   C = t h i s . r e p l a c e ( / < s c r i p t [ ^ > ] * > ( [ \ s \ S ] * ? ) < \ / s c r i p t > / g i , f u n c t i o n ( ) { A + = a r g u m e n t s [ 1 ] + " \ n " ; r e t u r n " " ; } ) ; i f ( B = = = t r u e ) { $ e x e c ( A ) ; } e l s e { i f ( $ t y p e ( B ) = = " f u n c t i o n " ) { B ( A , C ) ; 
 } } r e t u r n   C ; } , s u b s t i t u t e : f u n c t i o n ( A , B ) { r e t u r n   t h i s . r e p l a c e ( B | | ( / \ \ ? \ { ( [ ^ } ] + ) \ } / g ) , f u n c t i o n ( D , C ) { i f ( D . c h a r A t ( 0 ) = = " \ \ " ) { r e t u r n   D . s l i c e ( 1 ) ; } r e t u r n ( A [ C ] ! = u n d e f i n e d ) ? A [ C ] : " " ; 
 } ) ; } } ) ; H a s h . i m p l e m e n t ( { h a s : O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y , k e y O f : f u n c t i o n ( B ) { f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) & & t h i s [ A ] = = = B ) { r e t u r n   A ; } } r e t u r n   n u l l ; 
 } , h a s V a l u e : f u n c t i o n ( A ) { r e t u r n ( H a s h . k e y O f ( t h i s , A ) ! = = n u l l ) ; } , e x t e n d : f u n c t i o n ( A ) { H a s h . e a c h ( A , f u n c t i o n ( C , B ) { H a s h . s e t ( t h i s , B , C ) ; } , t h i s ) ; r e t u r n   t h i s ; } , c o m b i n e : f u n c t i o n ( A ) { H a s h . e a c h ( A , f u n c t i o n ( C , B ) { H a s h . i n c l u d e ( t h i s , B , C ) ; 
 } , t h i s ) ; r e t u r n   t h i s ; } , e r a s e : f u n c t i o n ( A ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) ) { d e l e t e   t h i s [ A ] ; } r e t u r n   t h i s ; } , g e t : f u n c t i o n ( A ) { r e t u r n ( t h i s . h a s O w n P r o p e r t y ( A ) ) ? t h i s [ A ] : n u l l ; 
 } , s e t : f u n c t i o n ( A , B ) { i f ( ! t h i s [ A ] | | t h i s . h a s O w n P r o p e r t y ( A ) ) { t h i s [ A ] = B ; } r e t u r n   t h i s ; } , e m p t y : f u n c t i o n ( ) { H a s h . e a c h ( t h i s , f u n c t i o n ( B , A ) { d e l e t e   t h i s [ A ] ; } , t h i s ) ; 
 r e t u r n   t h i s ; } , i n c l u d e : f u n c t i o n ( B , C ) { v a r   A = t h i s [ B ] ; i f ( A = = u n d e f i n e d ) { t h i s [ B ] = C ; } r e t u r n   t h i s ; } , m a p : f u n c t i o n ( B , C ) { v a r   A = n e w   H a s h ; H a s h . e a c h ( t h i s , f u n c t i o n ( E , D ) { A . s e t ( D , B . c a l l ( C , E , D , t h i s ) ) ; 
 } , t h i s ) ; r e t u r n   A ; } , f i l t e r : f u n c t i o n ( B , C ) { v a r   A = n e w   H a s h ; H a s h . e a c h ( t h i s , f u n c t i o n ( E , D ) { i f ( B . c a l l ( C , E , D , t h i s ) ) { A . s e t ( D , E ) ; } } , t h i s ) ; r e t u r n   A ; } , e v e r y : f u n c t i o n ( B , C ) { f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) & & ! B . c a l l ( C , t h i s [ A ] , A ) ) { r e t u r n   f a l s e ; 
 } } r e t u r n   t r u e ; } , s o m e : f u n c t i o n ( B , C ) { f o r ( v a r   A   i n   t h i s ) { i f ( t h i s . h a s O w n P r o p e r t y ( A ) & & B . c a l l ( C , t h i s [ A ] , A ) ) { r e t u r n   t r u e ; } } r e t u r n   f a l s e ; } , g e t K e y s : f u n c t i o n ( ) { v a r   A = [ ] ; 
 H a s h . e a c h ( t h i s , f u n c t i o n ( C , B ) { A . p u s h ( B ) ; } ) ; r e t u r n   A ; } , g e t V a l u e s : f u n c t i o n ( ) { v a r   A = [ ] ; H a s h . e a c h ( t h i s , f u n c t i o n ( B ) { A . p u s h ( B ) ; } ) ; r e t u r n   A ; } , t o Q u e r y S t r i n g : f u n c t i o n ( A ) { v a r   B = [ ] ; 
 H a s h . e a c h ( t h i s , f u n c t i o n ( F , E ) { i f ( A ) { E = A + " [ " + E + " ] " ; } v a r   D ; s w i t c h ( $ t y p e ( F ) ) { c a s e " o b j e c t " : D = H a s h . t o Q u e r y S t r i n g ( F , E ) ; b r e a k ; c a s e " a r r a y " : v a r   C = { } ; F . e a c h ( f u n c t i o n ( H , G ) { C [ G ] = H ; 
 } ) ; D = H a s h . t o Q u e r y S t r i n g ( C , E ) ; b r e a k ; d e f a u l t : D = E + " = " + e n c o d e U R I C o m p o n e n t ( F ) ; } i f ( F ! = u n d e f i n e d ) { B . p u s h ( D ) ; } } ) ; r e t u r n   B . j o i n ( " & " ) ; } } ) ; H a s h . a l i a s ( { k e y O f : " i n d e x O f " , h a s V a l u e : " c o n t a i n s " } ) ; 
 v a r   E v e n t = n e w   N a t i v e ( { n a m e : " E v e n t " , i n i t i a l i z e : f u n c t i o n ( A , F ) { F = F | | w i n d o w ; v a r   K = F . d o c u m e n t ; A = A | | F . e v e n t ; i f ( A . $ e x t e n d e d ) { r e t u r n   A ; } t h i s . $ e x t e n d e d = t r u e ; v a r   J = A . t y p e ; 
 v a r   G = A . t a r g e t | | A . s r c E l e m e n t ; w h i l e ( G & & G . n o d e T y p e = = 3 ) { G = G . p a r e n t N o d e ; } i f ( J . t e s t ( / k e y / ) ) { v a r   B = A . w h i c h | | A . k e y C o d e ; v a r   M = E v e n t . K e y s . k e y O f ( B ) ; i f ( J = = " k e y d o w n " ) { v a r   D = B - 1 1 1 ; 
 i f ( D > 0 & & D < 1 3 ) { M = " f " + D ; } } M = M | | S t r i n g . f r o m C h a r C o d e ( B ) . t o L o w e r C a s e ( ) ; } e l s e { i f ( J . m a t c h ( / ( c l i c k | m o u s e | m e n u ) / i ) ) { K = ( ! K . c o m p a t M o d e | | K . c o m p a t M o d e = = " C S S 1 C o m p a t " ) ? K . h t m l : K . b o d y ; 
 v a r   I = { x : A . p a g e X | | A . c l i e n t X + K . s c r o l l L e f t , y : A . p a g e Y | | A . c l i e n t Y + K . s c r o l l T o p } ; v a r   C = { x : ( A . p a g e X ) ? A . p a g e X - F . p a g e X O f f s e t : A . c l i e n t X , y : ( A . p a g e Y ) ? A . p a g e Y - F . p a g e Y O f f s e t : A . c l i e n t Y } ; 
 i f ( J . m a t c h ( / D O M M o u s e S c r o l l | m o u s e w h e e l / ) ) { v a r   H = ( A . w h e e l D e l t a ) ? A . w h e e l D e l t a / 1 2 0 : - ( A . d e t a i l | | 0 ) / 3 ; } v a r   E = ( A . w h i c h = = 3 ) | | ( A . b u t t o n = = 2 ) ; v a r   L = n u l l ; i f ( J . m a t c h ( / o v e r | o u t / ) ) { s w i t c h ( J ) { c a s e " m o u s e o v e r " : L = A . r e l a t e d T a r g e t | | A . f r o m E l e m e n t ; 
 b r e a k ; c a s e " m o u s e o u t " : L = A . r e l a t e d T a r g e t | | A . t o E l e m e n t ; } i f ( ! ( f u n c t i o n ( ) { w h i l e ( L & & L . n o d e T y p e = = 3 ) { L = L . p a r e n t N o d e ; } r e t u r n   t r u e ; } ) . c r e a t e ( { a t t e m p t : B r o w s e r . E n g i n e . g e c k o } ) ( ) ) { L = f a l s e ; 
 } } } } r e t u r n   $ e x t e n d ( t h i s , { e v e n t : A , t y p e : J , p a g e : I , c l i e n t : C , r i g h t C l i c k : E , w h e e l : H , r e l a t e d T a r g e t : L , t a r g e t : G , c o d e : B , k e y : M , s h i f t : A . s h i f t K e y , c o n t r o l : A . c t r l K e y , a l t : A . a l t K e y , m e t a : A . m e t a K e y } ) ; 
 } } ) ; E v e n t . K e y s = n e w   H a s h ( { e n t e r : 1 3 , u p : 3 8 , d o w n : 4 0 , l e f t : 3 7 , r i g h t : 3 9 , e s c : 2 7 , s p a c e : 3 2 , b a c k s p a c e : 8 , t a b : 9 , " d e l e t e " : 4 6 } ) ; E v e n t . i m p l e m e n t ( { s t o p : f u n c t i o n ( ) { r e t u r n   t h i s . s t o p P r o p a g a t i o n ( ) . p r e v e n t D e f a u l t ( ) ; 
 } , s t o p P r o p a g a t i o n : f u n c t i o n ( ) { i f ( t h i s . e v e n t . s t o p P r o p a g a t i o n ) { t h i s . e v e n t . s t o p P r o p a g a t i o n ( ) ; } e l s e { t h i s . e v e n t . c a n c e l B u b b l e = t r u e ; } r e t u r n   t h i s ; } , p r e v e n t D e f a u l t : f u n c t i o n ( ) { i f ( t h i s . e v e n t . p r e v e n t D e f a u l t ) { t h i s . e v e n t . p r e v e n t D e f a u l t ( ) ; 
 } e l s e { t h i s . e v e n t . r e t u r n V a l u e = f a l s e ; } r e t u r n   t h i s ; } } ) ; v a r   C l a s s = n e w   N a t i v e ( { n a m e : " C l a s s " , i n i t i a l i z e : f u n c t i o n ( B ) { B = B | | { } ; v a r   A = f u n c t i o n ( E ) { f o r ( v a r   D   i n   t h i s ) { t h i s [ D ] = $ u n l i n k ( t h i s [ D ] ) ; 
 } f o r ( v a r   F   i n   C l a s s . M u t a t o r s ) { i f ( ! t h i s [ F ] ) { c o n t i n u e ; } C l a s s . M u t a t o r s [ F ] ( t h i s , t h i s [ F ] ) ; d e l e t e   t h i s [ F ] ; } t h i s . c o n s t r u c t o r = A ; i f ( E = = = $ e m p t y ) { r e t u r n   t h i s ; } 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 ; 
 i f ( t h i s . o p t i o n s & & t h i s . o p t i o n s . i n i t i a l i z e ) { t h i s . o p t i o n s . i n i t i a l i z e . c a l l ( t h i s ) ; } r e t u r n   C ; } ; $ e x t e n d ( A , t h i s ) ; A . c o n s t r u c t o r = C l a s s ; A . p r o t o t y p e = B ; r e t u r n   A ; } } ) ; 
 C l a s s . 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 ( ) { C l a s s . M u t a t o r s . I m p l e m e n t s ( t h i s . p r o t o t y p e , A r r a y . s l i c e ( a r g u m e n t s ) ) ; r e t u r n   t h i s ; } } ) ; C l a s s . M u t a t o r s = { I m p l e m e n t s : f u n c t i o n ( A , B ) { $ s p l a t ( B ) . e a c h ( f u n c t i o n ( C ) { $ e x t e n d ( A , ( $ t y p e ( C ) = = " c l a s s " ) ? n e w   C ( $ e m p t y ) : C ) ; 
 } ) ; } , E x t e n d s : f u n c t i o n ( s e l f , k l a s s ) { v a r   i n s t a n c e = n e w   k l a s s ( $ e m p t y ) ; d e l e t e   i n s t a n c e . p a r e n t ; d e l e t e   i n s t a n c e . p a r e n t O f ; f o r ( v a r   k e y   i n   i n s t a n c e ) { v a r   c u r r e n t = s e l f [ k e y ] , p r e v i o u s = i n s t a n c e [ k e y ] ; 
 i f ( c u r r e n t = = u n d e f i n e d ) { s e l f [ k e y ] = p r e v i o u s ; c o n t i n u e ; } v a r   c t y p e = $ t y p e ( c u r r e n t ) , p t y p e = $ t y p e ( p r e v i o u s ) ; i f ( c t y p e ! = p t y p e ) { c o n t i n u e ; } s w i t c h ( c t y p e ) { c a s e " f u n c t i o n " : i f ( ! a r g u m e n t s . c a l l e e . c a l l e r ) { s e l f [ k e y ] = e v a l ( " ( " + S t r i n g ( c u r r e n t ) . r e p l a c e ( / \ b t h i s \ . p a r e n t \ ( \ s * ( \ ) ) ? / g , f u n c t i o n ( f u l l , c l o s e ) { r e t u r n " a r g u m e n t s . c a l l e e . _ p a r e n t _ . c a l l ( t h i s " + ( c l o s e | | " ,   " ) ; 
 } ) + " ) " ) ; } s e l f [ k e y ] . _ p a r e n t _ = p r e v i o u s ; b r e a k ; c a s e " o b j e c t " : s e l f [ k e y ] = $ m e r g e ( p r e v i o u s , c u r r e n t ) ; } } s e l f . p a r e n t = f u n c t i o n ( ) { r e t u r n   a r g u m e n t s . c a l l e e . c a l l e r . _ p a r e n t _ . a p p l y ( t h i s , a r g u m e n t s ) ; 
 } ; s e l f . p a r e n t O f = f u n c t i o n ( d e s c e n d a n t ) { r e t u r n   d e s c e n d a n t . _ p a r e n 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 ) ) ; } ; } } ; v a r   C h a i n = n e w   C l a s s ( { c h a i n : f u n c t i o n ( ) { t h i s . $ c h a i n = ( t h i s . $ c h a i n | | [ ] ) . e x t e n d ( 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 & & 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 ( ) { i f ( t h i s . $ c h a i 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 ( { 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 = t h i s . $ e v e n t s | | { } ; 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 | | ! 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 ) { f o r ( v a r   D   i n   t h i s . $ e v e n t s ) { i f ( C & & C ! = D ) { c o n t i n u e ; 
 } v a r   B = t h i s . $ e v e n t s [ D ] ; f o r ( v a r   A = B . l e n g t h ; A - - ; A ) { t h i s . r e m o v e E v e n t ( D , B [ A ] ) ; } } r e t u r n   t h i s ; } } ) ; E v e n t s . r e m o v e O n = f u n c t i o n ( A ) { r e t u r n   A . r e p l a c e ( / ^ o n ( [ A - Z ] ) / , f u n c t i o n ( B , C ) { r e t u r n   C . t o L o w e r C a s e ( ) ; 
 } ) ; } ; v a r   O p t i o n s = n e w   C l a s s ( { s e t O p t i o n s : f u n c t i o n ( ) { t h i s . o p t i o n s = $ m e r g e . r u n ( [ t h i s . o p t i o n s ] . e x t e n d ( a r g u m e n t s ) ) ; i f ( ! t h i s . a d d E v e n t ) { r e t u r n   t h i s ; } f o r ( v a r   A   i n   t h i s . o p t i o n s ) { i f ( $ t y p e ( t h i s . o p t i o n s [ A ] ) ! = " f u n c t i o n " | | ! ( / ^ o n [ A - Z ] / ) . t e s t ( A ) ) { c o n t i n u e ; 
 } t h i s . a d d E v e n t ( A , t h i s . o p t i o n s [ A ] ) ; d e l e t e   t h i s . o p t i o n s [ A ] ; } r e t u r n   t h i s ; } } ) ; 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 . d e f a u l t V i e w | | t h i s . p a r e n t W i n d o w ; } , p u r g e : f u n c t i o n ( ) { v a r   C = 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   B = 0 , A = C . l e n g t h ; B < A ; B + + ) { B r o w s e r . f r e e M e m ( C [ B ] ) ; } } } ) ; 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 ) { i f ( ! A r r a y [ A ] ) { E l e m e n t s . i m p l e m e n t ( A , E l e m e n t s . m u l t i ( A ) ) ; 
 } E l e m e n t . P r o t o t y p e [ A ] = B ; } } ) ; 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   H = n e w   W i n d o w ( B . c o n t e n t W i n d o w ) ; v a r   G = 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 ( H . 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 ] ) ? B . a d d L i s t e n e r ( " l o a d " , A ) : 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 ) ) ; } } ) ; E l e m e n t s . m u l t i = f u n c t i o n ( A ) { r e t u r n   f u n c t i o n ( ) { v a r   B = [ ] ; 
 v a r   F = t r u e ; f o r ( v a r   D = 0 , C = t h i s . l e n g t h ; D < C ; D + + ) { v a r   E = t h i s [ D ] [ A ] . a p p l y ( t h i s [ D ] , a r g u m e n t s ) ; B . p u s h ( E ) ; i f ( F ) { F = ( $ t y p e ( E ) = = " e l e m e n t " ) ; } } r e t u r n ( F ) ? n e w   E l e m e n t s ( B ) : B ; 
 } ; } ; 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 " : E = [ E ] ; b r e a k ; c a s e " s t r i n g " : E = 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 ) ; 
 b r e a k ; d e f a u l t : E = f a l s e ; } i f ( E ) { F . e x t e n d ( 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 } ) ; 
 } } ) ; E l e m e n t . S t o r a g e = { g e t : f u n c t i o n ( A ) { r e t u r n ( t h i s [ A ] | | ( t h i s [ A ] = { } ) ) ; } } ; E l e m e n t . I n s e r t e r s = n e w   H a s h ( { b e f o r e : f u n c t i o n ( B , A ) { i f ( A . p a r e n t N o d e ) { A . p a r e n t N o d e . i n s e r t B e f o r e ( B , A ) ; 
 } } , a f t e r : f u n c t i o n ( B , A ) { i f ( ! A . p a r e n t N o d e ) { r e t u r n   ; } v a r   C = A . n e x t S i b l i n g ; ( C ) ? A . p a r e n t N o d e . i n s e r t B e f o r e ( B , C ) : A . p a r e n t N o d e . a p p e n d C h i l d ( B ) ; } , b o t t o m : f u n c t i o n ( B , A ) { A . a p p e n d C h i l d ( B ) ; 
 } , t o p : f u n c t i o n ( B , A ) { v a r   C = A . f i r s t C h i l d ; ( C ) ? A . i n s e r t B e f o r e ( B , C ) : A . a p p e n d C h i l d ( B ) ; } } ) ; E l e m e n t . I n s e r t e r s . i n s i d e = E l e m e n t . I n s e r t e r s . b o t t o m ; E l e m e n t . I n s e r t e r s . e a c h ( f u n c t i o n ( C , B ) { v a r   A = B . 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 " + A , f u n c t i o n ( D ) { C ( t h i s , $ ( D , 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 " + A , f u n c t i o n ( D ) { C ( $ ( D , 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 ( { 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 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 . g e t W i n d o w ( ) ; } , g e t E l e m e n t B y I d : f u n c t i o n ( D , C ) { v a r   B = 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 ( D ) ; i f ( ! B ) { r e t u r n   n u l l ; 
 } f o r ( v a r   A = B . p a r e n t N o d e ; A ! = t h i s ; A = A . p a r e n t N o d e ) { i f ( ! A ) { r e t u r n   n u l l ; } } r e t u r n   $ . e l e m e n t ( B , C ) ; } , s e t : f u n c t i o n ( D , B ) { s w i t c h ( $ t y p e ( D ) ) { c a s e " o b j e c t " : f o r ( v a r   C   i n   D ) { t h i s . s e t ( C , D [ C ] ) ; 
 } b r e a k ; c a s e " s t r i n g " : v a r   A = E l e m e n t . P r o p e r t i e s . g e t ( D ) ; ( A & & A . s e t ) ? A . 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 ( D , B ) ; } r e t u r n   t h i s ; } , g e t : f u n c t i o n ( B ) { v a r   A = E l e m e n t . P r o p e r t i e s . g e t ( B ) ; 
 r e t u r n ( A & & A . g e t ) ? A . 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 ( B ) ; } , e r a s e : f u n c t i o n ( B ) { v a r   A = E l e m e n t . P r o p e r t i e s . g e t ( B ) ; ( A & & A . e r a s e ) ? A . e r a s e . 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 . r e m o v e P r o p e r t y ( B ) ; 
 r e t u r n   t h i s ; } , m a t c h : f u n c t i o n ( A ) { r e t u r n ( ! A | | E l e m e n t . g e t ( t h i s , " t a g " ) = = A ) ; } , i n j e c t : f u n c t i o n ( B , A ) { E l e m e n t . I n s e r t e r s . g e t ( A | | " b o t t o m " ) ( t h i s , $ ( B , t r u e ) ) ; r e t u r n   t h i s ; 
 } , w r a p s : f u n c t i o n ( B , A ) { B = $ ( B , t r u e ) ; r e t u r n   t h i s . r e p l a c e s ( B ) . g r a b ( B , A ) ; } , g r a b : f u n c t i o n ( B , A ) { E l e m e n t . I n s e r t e r s . g e t ( A | | " b o t t o m " ) ( $ ( B , t r u e ) , 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 ( B , A ) { 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 ( B ) , A ) ; } , 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 ( A ) { A = $ ( A , t r u e ) ; 
 i f ( A ) { t h i s . a p p e n d C h i l d ( A ) ; } } , t h i s ) ; 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 ; } , c l o n e : f u n c t i o n ( D , C ) { s w i t c h ( $ t y p e ( t h i s ) ) { c a s e " e l e m e n t " : v a r   H = { } ; 
 f o r ( v a r   G = 0 , E = t h i s . a t t r i b u t e s . l e n g t h ; G < E ; G + + ) { v a r   B = t h i s . a t t r i b u t e s [ G ] , L = B . n o d e N a m e . t o L o w e r C a s e ( ) ; i f ( B r o w s e r . E n g i n e . t r i d e n t & & ( / i n p u t / i ) . t e s t ( t h i s . t a g N a m e ) & & ( / w i d t h | h e i g h t / ) . t e s t ( L ) ) { c o n t i n u e ; 
 } v a r   K = ( L = = " s t y l e " & & t h i s . s t y l e ) ? t h i s . s t y l e . c s s T e x t : B . n o d e V a l u e ; i f ( ! $ c h k ( K ) | | L = = " u i d " | | ( L = = " i d " & & ! C ) ) { c o n t i n u e ; } i f ( K ! = " i n h e r i t " & & [ " s t r i n g " , " n u m b e r " ] . c o n t a i n s ( $ t y p e ( K ) ) ) { H [ L ] = K ; 
 } } v a r   J = n e w   E l e m e n t ( t h i s . n o d e N a m e . t o L o w e r C a s e ( ) , H ) ; i f ( D ! = = f a l s e ) { f o r ( v a r   I = 0 , F = t h i s . c h i l d N o d e s . l e n g t h ; I < F ; I + + ) { v a r   A = E l e m e n t . c l o n e ( t h i s . c h i l d N o d e s [ I ] , t r u e , C ) ; 
 i f ( A ) { J . g r a b ( A ) ; } } } r e t u r n   J ; c a s e " t e x t n o d e " : r e t u r n   d o c u m e n t . n e w T e x t N o d e ( t h i s . n o d e V a l u e ) ; } r e t u r n   n u l l ; } , 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 , A ) ; 
 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 ( A ) { 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 ( A , "   " ) ; } , a d d C l a s s : f u n c t i o n ( A ) { i f ( ! t h i s . h a s C l a s s ( A ) ) { 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 + "   " + A ) . 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 ( A ) { 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 ) " + A + " ( ? : \ \ s | $ ) " ) , " $ 1 " ) . c l e a n ( ) ; 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 ( A ) { r e t u r n   t h i s . h a s C l a s s ( A ) ? t h i s . r e m o v e C l a s s ( A ) : t h i s . a d d C l a s s ( A ) ; 
 } , g e t C o m p u t e d S t y l e : f u n c t i o n ( B ) { 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 [ B . c a m e l C a s e ( ) ] ; } v a r   A = t h i s . g e t W i n d o 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 ( A ) ? A . g e t P r o p e r t y V a l u e ( [ B . h y p h e n a t e ( ) ] ) : 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 ( A ) { B r o w s e r . f r e e M e m ( A ) ; E l e m e n t . e m p t y ( A ) ; E l e m e n t . d i s p o s e ( A ) ; } , t h i s ) ; 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 ( ) { B r o w s e r . f r e e M e m ( t h i s . e m p t y ( ) . d i s p o s e ( ) ) ; 
 r e t u r n   n u l l ; } , 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 ( A ) { r e t u r n   A . s e l e c t e d ; } ) ) ; } , t o Q u e r y S t r i n g : f u n c t i o n ( ) { v a r   A = [ ] ; 
 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 " ) . e a c h ( f u n c t i o n ( B ) { i f ( ! B . n a m e | | B . d i s a b l e d ) { r e t u r n   ; } v a r   C = ( B . 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 ( B ) . m a p ( f u n c t i o n ( D ) { r e t u r n   D . v a l u e ; 
 } ) : ( ( B . t y p e = = " r a d i o " | | B . t y p e = = " c h e c k b o x " ) & & ! B . c h e c k e d ) ? n u l l : B . v a l u e ; $ s p l a t ( C ) . e a c h ( f u n c t i o n ( D ) { i f ( D ) { A . p u s h ( B . n a m e + " = " + e n c o d e U R I C o m p o n e n t ( D ) ) ; } } ) ; } ) ; r e t u r n   A . j o i n ( " & " ) ; 
 } , g e t P r o p e r t y : f u n c t i o n ( C ) { v a r   B = E l e m e n t . A t t r i b u t e s , A = B . P r o p s [ C ] ; v a r   D = ( A ) ? t h i s [ A ] : t h i s . g e t A t t r i b u t e ( C , 2 ) ; r e t u r n ( B . B o o l s [ C ] ) ? ! ! D : ( A ) ? D : D | | 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   A = $ A ( a r g u m e n t s ) ; 
 r e t u r n   A . m a p ( f u n c t i o n ( B ) { r e t u r n   t h i s . g e t P r o p e r t y ( B ) ; } , t h i s ) . a s s o c i a t e ( A ) ; } , s e t P r o p e r t y : f u n c t i o n ( D , E ) { v a r   C = E l e m e n t . A t t r i b u t e s , B = C . P r o p s [ D ] , A = $ d e f i n e d ( E ) ; 
 i f ( B & & C . B o o l s [ D ] ) { E = ( E | | ! A ) ? t r u e : f a l s e ; } e l s e { i f ( ! A ) { r e t u r n   t h i s . r e m o v e P r o p e r t y ( D ) ; } } ( B ) ? t h i s [ B ] = E : t h i s . s e t A t t r i b u t e ( D , E ) ; 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 ( A ) { f o r ( v a r   B   i n   A ) { t h i s . s e t P r o p e r t y ( B , A [ B ] ) ; 
 } r e t u r n   t h i s ; } , r e m o v e P r o p e r t y : f u n c t i o n ( D ) { v a r   C = E l e m e n t . A t t r i b u t e s , B = C . P r o p s [ D ] , A = ( B & & C . B o o l s [ D ] ) ; ( B ) ? t h i s [ B ] = ( A ) ? f a l s e : " " : t h i s . r e m o v e A t t r i b u t 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 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 ; } } ) ; ( f u n c t i o n ( ) { v a r   A = f u n c t i o n ( D , B , I , C , F , H ) { v a r   E = D [ I | | B ] ; v a r   G = [ ] ; 
 w h i l e ( E ) { i f ( E . n o d e T y p e = = 1 & & ( ! C | | E l e m e n t . m a t c h ( E , C ) ) ) { G . p u s h ( E ) ; i f ( ! F ) { b r e a k ; } } E = E [ B ] ; } r e t u r n ( F ) ? n e w   E l e m e n t s ( G , { d d u p : f a l s e , c a s h : ! H } ) : $ ( G [ 0 ] , H ) ; } ; E l e m e n t . i m p l e m e n t ( { g e t P r e v i o u s : f u n c t i o n ( B , C ) { r e t u r n   A ( t h i s , " p r e v i o u s S i b l i n g " , n u l l , B , f a l s e , C ) ; 
 } , g e t A l l P r e v i o u s : f u n c t i o n ( B , C ) { r e t u r n   A ( t h i s , " p r e v i o u s S i b l i n g " , n u l l , B , t r u e , C ) ; } , g e t N e x t : f u n c t i o n ( B , C ) { r e t u r n   A ( t h i s , " n e x t S i b l i n g " , n u l l , B , f a l s e , C ) ; } , g e t A l l N e x t : f u n c t i o n ( B , C ) { r e t u r n   A ( t h i s , " n e x t S i b l i n g " , n u l l , B , t r u e , C ) ; 
 } , g e t F i r s t : f u n c t i o n ( B , C ) { r e t u r n   A ( 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 " , B , f a l s e , C ) ; } , g e t L a s t : f u n c t i o n ( B , C ) { r e t u r n   A ( 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 " , B , f a l s e , C ) ; 
 } , g e t P a r e n t : f u n c t i o n ( B , C ) { r e t u r n   A ( t h i s , " p a r e n t N o d e " , n u l l , B , f a l s e , C ) ; } , g e t P a r e n t s : f u n c t i o n ( B , C ) { r e t u r n   A ( t h i s , " p a r e n t N o d e " , n u l l , B , t r u e , C ) ; } , g e t C h i l d r e n : f u n c t i o n ( B , C ) { r e t u r n   A ( 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 " , B , t r u e , C ) ; 
 } , h a s C h i l d : f u n c t i o n ( B ) { B = $ ( B , t r u e ) ; r e t u r n ( ! ! B & & $ 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 ( B . t a g N a m e ) ) . c o n t a i n s ( B ) ) ; } } ) ; } ) ( ) ; 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 r e f = { g e t : f u n c t i o n ( ) { r e t u r n ( ! t h i s . h r e f ) ? n u l l : t h i s . h r e f . r e p l a c e ( n e w   R e g E x p ( " ^ " + d o c u m e n t . l o c a t i o n . p r o t o c o l + " / / " + d o c u m e n t . l o c a t i o n . h o s t ) , " " ) ; 
 } } ; E l e m e n t . P r o p e r t i e s . h t m l = { s e t : f u n c t i o n ( ) { r e t u r n   t h i s . i n n e r H T M L = 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 ( " " ) ; } } ; 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 ( B , A ) { 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 ( B , A , 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 " + B , A ) ; } 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 ( B , A ) { 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 ( B , A , 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 " + B , A ) ; 
 } 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 ( B , A ) { v a r   D = E l e m e n t . S t o r a g e . g e t ( t h i s . u i d ) ; v a r   C = D [ B ] ; i f ( $ d e f i n e d ( A ) & & ! $ d e f i n e d ( C ) ) { C = D [ B ] = A ; } r e t u r n   $ p i c k ( C ) ; } , s t o r e : f u n c t i o n ( B , A ) { v a r   C = E l e m e n t . S t o r a g e . g e t ( t h i s . u i d ) ; 
 C [ B ] = A ; 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 ( A ) { v a r   B = E l e m e n t . S t o r a g e . g e t ( t h i s . u i d ) ; d e l e t e   B [ A ] ; r e t u r n   t h i s ; } } ) ; E l e m e n t . A t t r i b u t e s = n e w   H a s h ( { P r o p s : { 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 ) ? " i n n e r T e x t " : " t e x t C o n t e n t " } , B o o l s : [ " 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 " ] , C a m e l s : [ " 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 r o w s e r . f r e e M e m = f u n c t i o n ( A ) { i f ( ! A ) { r e t u r n   ; } i f ( B r o w s e r . E n g i n e . t r i d e n t & & ( / o b j e c t / i ) . t e s t ( A . t a g N a m e ) ) { f o r ( v a r   B   i n   A ) { i f ( t y p e o f   A [ B ] = = " f u n c t i o n " ) { A [ B ] = $ e m p t y ; 
 } } E l e m e n t . d i s p o s e ( A ) ; } i f ( A . u i d & & A . r e m o v e E v e n t s ) { A . r e m o v e E v e n t s ( ) ; } } ; ( f u n c t i o n ( B ) { v a r   C = B . B o o l s , A = B . C a m e l s ; B . B o o l s = C = C . a s s o c i a t e ( C ) ; H a s h . e x t e n d ( H a s h . c o m b i n e ( B . P r o p s , C ) , A . a s s o c i a t e ( A . m a p ( f u n c t i o n ( D ) { r e t u r n   D . t o L o w e r C a s e ( ) ; 
 } ) ) ) ; B . e r a s e ( " C a m e l s " ) ; } ) ( E l e m e n t . A t t r i b u t e s ) ; w i n d o w . a d d L i s t e n e r ( " u n l o a d " , f u n c t i o n ( ) { w i n d o w . r e m o v e L i s t e n e r ( " u n l o a d " , a r g u m e n t s . c a l l e e ) ; d o c u m e n t . p u r g e ( ) ; 
 i f ( B r o w s e r . E n g i n e . t r i d e n t ) { C o l l e c t G a r b a g e ( ) ; } } ) ; 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   f a l s 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 ] | | 0 ; 
 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 ( D , C ) { 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 | | ! B [ D ] ) { r e t u r n   t h i s ; } v a r   G = B [ D ] . k e y s . i n d e x O f ( C ) ; i f ( G = = - 1 ) { r e t u r n   t h i s ; } v a r   A = B [ D ] . k e y s . s p l i c e ( G , 1 ) [ 0 ] ; v a r   F = B [ D ] . v a l u e s . s p l i c e ( G , 1 ) [ 0 ] ; v a r   E = E l e m e n t . E v e n t s . g e t ( D ) ; 
 i f ( E ) { i f ( E . o n R e m o v e ) { E . o n R e m o v e . c a l l ( t h i s , C ) ; } D = E . b a s e | | D ; } 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 [ D ] ) ? t h i s . r e m o v e L i s t e n e r ( D , F ) : 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 ( 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 ) { r e t u r n   t h i s ; } i f ( ! B ) { f o r ( v a r   C   i n   A ) { t h i s . r e m o v e E v e n t s ( C ) ; } A = n u l l ; } e l s e { i f ( A [ B ] ) { w h i l e ( A [ B ] . k e y s [ 0 ] ) { t h i s . r e m o v e E v e n t ( B , A [ B ] . k e y s [ 0 ] ) ; 
 } A [ B ] = n u l l ; } } r e t u r n   t h i s ; } , f i r e E v e n t : f u n c t i o n ( D , B , A ) { v a r   C = t h i s . r e t r i e v e ( " e v e n t s " ) ; i f ( ! C | | ! C [ D ] ) { r e t u r n   t h i s ; } C [ D ] . k e y s . e a c h ( f u n c t i o n ( E ) { E . c r e a t e ( { b i n d : t h i s , d e l a y : A , " a r g u m e n t s " : B } ) ( ) ; 
 } , t h i s ) ; r e t u r n   t h i s ; } , c l o n e E v e n t s : f u n c t i o n ( D , A ) { D = $ ( D ) ; v a r   C = D . r e t r i e v e ( " e v e n t s " ) ; i f ( ! C ) { r e t u r n   t h i s ; } i f ( ! A ) { f o r ( v a r   B   i n   C ) { t h i s . c l o n e E v e n t s ( D , B ) ; } } e l s e { i f ( C [ A ] ) { C [ A ] . k e y s . e a c h ( f u n c t i o n ( E ) { t h i s . a d d E v e n t ( A , E ) ; 
 } , t h i s ) ; } } r e t u r n   t h i s ; } } ) ; E l e m e n t . N a t i v e E v e n t s = { c l i c k : 2 , d b l c l i c k : 2 , m o u s e u p : 2 , m o u s e d o w n : 2 , c o n t e x t m e n u : 2 , m o u s e w h e e l : 2 , D O M M o u s e S c r o l l : 2 , m o u s e o v e r : 2 , m o u s e o u t : 2 , m o u s e m o v e : 2 , s e l e c t s t a r t : 2 , s e l e c t e n d : 2 , k e y d o w n : 2 , k e y p r e s s : 2 , k e y u p : 2 , f o c u s : 2 , b l u r : 2 , c h a n g e : 2 , r e s e t : 2 , s e l e c t : 2 , s u b m i t : 2 , l o a d : 1 , u n l o a d : 1 , b e f o r e u n l o a d : 2 , r e s i z e : 1 , m o v e : 1 , D O M C o n t e n t L o a d e d : 1 , r e a d y s t a t e c h a n g e : 1 , e r r o r : 1 , a b o r t : 1 , s c r o l l : 1 } ; 
 ( f u n c t i o n ( ) { v a r   A = f u n c t i o n ( B ) { v a r   C = B . r e l a t e d T a r g e t ; i f ( C = = u n d e f i n e d ) { r e t u r n   t r u e ; } i f ( C = = = f a l s e ) { r e t u r n   f a l s e ; } r e t u r n ( $ t y p e ( t h i s ) ! = " d o c u m e n t " & & C ! = t h i s & & C . p r e f i x ! = " x u l " & & ! t h i s . h a s C h i l d ( C ) ) ; 
 } ; E l e m e n t . E v e n t s = n e w   H a s h ( { m o u s e e n t e r : { b a s e : " m o u s e o v e r " , c o n d i t i o n : A } , m o u s e l e a v e : { b a s e : " m o u s e o u t " , c o n d i t i o n : A } , m o u s e w h e e l : { b a s e : ( B r o w s e r . E n g i n e . g e c k o ) ? " D O M M o u s e S c r o l l " : " m o u s e w h e e l " } } ) ; 
 } ) ( ) ; E l e m e n t . P r o p e r t i e s . s t y l e s = { s e t : f u n c t i o n ( A ) { t h i s . s e t S t y l e s ( A ) ; } } ; E l e m e n t . P r o p e r t i e s . o p a c i t y = { s e t : f u n c t i o n ( A , B ) { i f ( ! B ) { i f ( A = = 0 ) { i f ( t h i s . s t y l e . v i s i b i l i t y ! = " h i d d e n " ) { t h i s . s t y l e . v i s i b i l i t y = " h i d d e n " ; 
 } } e l s e { i f ( t h i s . s t y l e . v i s i b i l i t y ! = " v i s i b l e " ) { t h i s . s t y l e . v i s i b i l i t y = " v i s i b l e " ; } } } i f ( ! t h i s . c u r r e n t S t y l e | | ! t h i s . c u r r e n t S t y l e . h a s L a y o u t ) { t h i s . s t y l e . z o o m = 1 ; } i f ( B r o w s e r . E n g i n e . t r i d e n t ) { t h i s . s t y l e . f i l t e r = ( A = = 1 ) ? " " : " a l p h a ( o p a c i t y = " + A * 1 0 0 + " ) " ; 
 } t h i s . s t y l e . o p a c i t y = A ; t h i s . s t o r e ( " o p a c i t y " , A ) ; } , g e t : f u n c t i o n ( ) { r e t u r n   t h i s . r e t r i e v e ( " o p a c i t y " , 1 ) ; } } ; E l e m e n t . i m p l e m e n t ( { s e t O p a c i t y : f u n c t i o n ( A ) { r e t u r n   t h i s . s e t ( " o p a c i t y " , A , t r u e ) ; 
 } , g e t O p a c i t y : f u n c t i o n ( ) { r e t u r n   t h i s . g e t ( " o p a c i t y " ) ; } , s e t S t y l e : f u n c t i o n ( B , A ) { s w i t c h ( B ) { c a s e " o p a c i t y " : r e t u r n   t h i s . s e t ( " o p a c i t y " , p a r s e F l o a t ( A ) ) ; c a s e " f l o a t " : B = ( B r o w s e r . E n g i n e . t r i d e n t ) ? " s t y l e F l o a t " : " c s s F l o a t " ; 
 } B = B . c a m e l C a s e ( ) ; i f ( $ t y p e ( A ) ! = " s t r i n g " ) { v a r   C = ( E l e m e n t . S t y l e s . g e t ( B ) | | " @ " ) . s p l i t ( "   " ) ; A = $ s p l a t ( A ) . m a p ( f u n c t i o n ( E , D ) { i f ( ! C [ D ] ) { r e t u r n " " ; } r e t u r n ( $ t y p e ( E ) = = " n u m b e r " ) ? C [ D ] . r e p l a c e ( " @ " , M a t h . r o u n d ( E ) ) : E ; 
 } ) . j o i n ( "   " ) ; } e l s e { i f ( A = = S t r i n g ( N u m b e r ( A ) ) ) { A = M a t h . r o u n d ( A ) ; } } t h i s . s t y l e [ B ] = A ; r e t u r n   t h i s ; } , g e t S t y l e : f u n c t i o n ( G ) { s w i t c h ( G ) { c a s e " o p a c i t y " : r e t u r n   t h i s . g e t ( " o p a c i t y " ) ; 
 c a s e " f l o a t " : G = ( B r o w s e r . E n g i n e . t r i d e n t ) ? " s t y l e F l o a t " : " c s s F l o a t " ; } G = G . c a m e l C a s e ( ) ; v a r   A = t h i s . s t y l e [ G ] ; i f ( ! $ c h k ( A ) ) { A = [ ] ; f o r ( v a r   F   i n   E l e m e n t . S h o r t S t y l e s ) { i f ( G ! = F ) { c o n t i n u e ; 
 } f o r ( v a r   E   i n   E l e m e n t . S h o r t S t y l e s [ F ] ) { A . p u s h ( t h i s . g e t S t y l e ( E ) ) ; } r e t u r n   A . j o i n ( "   " ) ; } A = t h i s . g e t C o m p u t e d S t y l e ( G ) ; } i f ( A ) { A = S t r i n g ( A ) ; v a r   C = A . m a t c h ( / r g b a ? \ ( [ \ d \ s , ] + \ ) / ) ; 
 i f ( C ) { A = A . r e p l a c e ( C [ 0 ] , C [ 0 ] . r g b T o H e x ( ) ) ; } } i f ( B r o w s e r . E n g i n e . p r e s t o | | ( B r o w s e r . E n g i n e . t r i d e n t & & ! $ c h k ( p a r s e I n t ( A ) ) ) ) { i f ( G . t e s t ( / ^ ( h e i g h t | w i d t h ) $ / ) ) { v a r   B = ( G = = " w i d t h " ) ? [ " l e f t " , " r i g h t " ] : [ " t o p " , " b o t t o m " ] , D = 0 ; 
 B . e a c h ( f u n c t i o n ( H ) { D + = t h i s . g e t S t y l e ( " b o r d e r - " + H + " - w i d t h " ) . t o I n t ( ) + t h i s . g e t S t y l e ( " p a d d i n g - " + H ) . t o I n t ( ) ; } , t h i s ) ; r e t u r n   t h i s [ " o f f s e t " + G . c a p i t a l i z e ( ) ] - D + " p x " ; 
 } i f ( B r o w s e r . E n g i n e . p r e s t o & & S t r i n g ( A ) . t e s t ( " p x " ) ) { r e t u r n   A ; } i f ( G . t e s t ( / ( b o r d e r ( . + ) W i d t h | m a r g i n | p a d d i n g ) / ) ) { r e t u r n " 0 p x " ; } } r e t u r n   A ; } , s e t S t y l e s : f u n c t i o n ( B ) { f o r ( v a r   A   i n   B ) { t h i s . s e t S t y l e ( A , B [ A ] ) ; 
 } r e t u r n   t h i s ; } , g e t S t y l e s : f u n c t i o n ( ) { v a r   A = { } ; A r r a y . e a c h ( a r g u m e n t s , f u n c t i o n ( B ) { A [ B ] = t h i s . g e t S t y l e ( B ) ; } , t h i s ) ; r e t u r n   A ; } } ) ; E l e m e n t . S t y l e s = n e w   H a s h ( { l e f t : " @ p x " , t o p : " @ p x " , b o t t o m : " @ p x " , r i g h t : " @ p x " , w i d t h : " @ p x " , h e i g h t : " @ p x " , m a x W i d t h : " @ p x " , m a x H e i g h t : " @ p x " , m i n W i d t h : " @ p x " , m i n H e i g h t : " @ p x " , b a c k g r o u n d C o l o r : " r g b ( @ ,   @ ,   @ ) " , b a c k g r o u n d P o s i t i o n : " @ p x   @ p x " , c o l o r : " r g b ( @ ,   @ ,   @ ) " , f o n t S i z e : " @ p x " , l e t t e r S p a c i n g : " @ p x " , l i n e H e i g h t : " @ p x " , c l i p : " r e c t ( @ p x   @ p x   @ p x   @ p x ) " , m a r g i n : " @ p x   @ p x   @ p x   @ p x " , p a d d i n g : " @ p x   @ p x   @ p x   @ p x " , b o r d e r : " @ p x   @   r g b ( @ ,   @ ,   @ )   @ p x   @   r g b ( @ ,   @ ,   @ )   @ p x   @   r g b ( @ ,   @ ,   @ ) " , b o r d e r W i d t h : " @ p x   @ p x   @ p x   @ p x " , b o r d e r S t y l e : " @   @   @   @ " , b o r d e r C o l o r : " r g b ( @ ,   @ ,   @ )   r g b ( @ ,   @ ,   @ )   r g b ( @ ,   @ ,   @ )   r g b ( @ ,   @ ,   @ ) " , z I n d e x : " @ " , z o o m : " @ " , f o n t W e i g h t : " @ " , t e x t I n d e n t : " @ p x " , o p a c i t y : " @ " } ) ; 
 E l e m e n t . S h o r t S t y l e s = { m a r g i n : { } , p a d d i n g : { } , b o r d e r : { } , b o r d e r W i d t h : { } , b o r d e r S t y l e : { } , b o r d e r C o l o r : { } } ; [ " T o p " , " R i g h t " , " B o t t o m " , " L e f t " ] . e a c h ( f u n c t i o n ( G ) { v a r   F = E l e m e n t . S h o r t S t y l e s ; 
 v a r   B = E l e m e n t . S t y l e s ; [ " m a r g i n " , " p a d d i n g " ] . e a c h ( f u n c t i o n ( H ) { v a r   I = H + G ; F [ H ] [ I ] = B [ I ] = " @ p x " ; } ) ; v a r   E = " b o r d e r " + G ; F . b o r d e r [ E ] = B [ E ] = " @ p x   @   r g b ( @ ,   @ ,   @ ) " ; v a r   D = E + " W i d t h " , A = E + " S t y l e " , C = E + " C o l o r " ; 
 F [ E ] = { } ; F . b o r d e r W i d t h [ D ] = F [ E ] [ D ] = B [ D ] = " @ p x " ; F . b o r d e r S t y l e [ A ] = F [ E ] [ A ] = B [ A ] = " @ " ; F . b o r d e r C o l o r [ C ] = F [ E ] [ C ] = B [ C ] = " r g b ( @ ,   @ ,   @ ) " ; } ) ; ( f u n c t i o n ( ) { E l e m e n t . i m p l e m e n t ( { s c r o l l T o : f u n c t i o n ( H , I ) { i f ( B ( t h i s ) ) { t h i s . g e t W i n d o w ( ) . s c r o l l T o ( H , I ) ; 
 } e l s e { t h i s . s c r o l l L e f t = H ; t h i s . s c r o l l T o p = I ; } r e t u r n   t h i s ; } , g e t S i z e : f u n c t i o n ( ) { i f ( B ( t h i s ) ) { r e t u r n   t h i s . g e t W i n d o w ( ) . g e t S i z e ( ) ; } r e t u r n { x : t h i s . o f f s e t W i d t h , y : t h i s . o f f s e t H e i g h t } ; 
 } , g e t S c r o l l S i z e : f u n c t i o n ( ) { i f ( B ( t h i s ) ) { r e t u r n   t h i s . g e t W i n d o w ( ) . g e t S c r o l l S i z e ( ) ; } r e t u r n { x : t h i s . s c r o l l W i d t h , y : t h i s . s c r o l l H e i g h t } ; } , g e t S c r o l l : f u n c t i o n ( ) { i f ( B ( t h i s ) ) { r e t u r n   t h i s . g e t W i n d o w ( ) . g e t S c r o l l ( ) ; 
 } r e t u r n { x : t h i s . s c r o l l L e f t , y : t h i s . s c r o l l T o p } ; } , g e t S c r o l l s : f u n c t i o n ( ) { v a r   I = t h i s , H = { x : 0 , y : 0 } ; w h i l e ( I & & ! B ( I ) ) { H . x + = I . s c r o l l L e f t ; H . y + = I . s c r o l l T o p ; I = I . p a r e n t N o d e ; 
 } r e t u r n   H ; } , g e t O f f s e t P a r e n t : f u n c t i o n ( ) { v a r   H = t h i s ; i f ( B ( H ) ) { r e t u r n   n u l l ; } i f ( ! B r o w s e r . E n g i n e . t r i d e n t ) { r e t u r n   H . o f f s e t P a r e n t ; } w h i l e ( ( H = H . p a r e n t N o d e ) & & ! B ( H ) ) { i f ( D ( H , " p o s i t i o n " ) ! = " s t a t i c " ) { r e t u r n   H ; 
 } } r e t u r n   n u l l ; } , g e t O f f s e t s : f u n c t i o n ( ) { 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   J = I . p a r e n t N o d e ; i f ( J & & D ( J , " o v e r f l o w " ) ! = " v i s i b l e " ) { H . x + = C ( J ) ; H . y + = G ( J ) ; } } e l s e { i f ( I ! = t h i s & & ( 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 ) ) { 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 . t r i d e n t ) { w h i l e ( I & & ! I . c u r r e n t S t y l e . h a s L a y o u t ) { I = I . o f f s e t P a r e n t ; } } } i f ( B r o w s e r . E n g i n e . g e c k o & & ! F ( t h i s ) ) { H . x - = C ( t h i s ) ; 
 H . y - = G ( t h i s ) ; } r e t u r n   H ; } , g e t P o s i t i o n : f u n c t i o n ( K ) { i f ( B ( t h i s ) ) { r e t u r n { x : 0 , y : 0 } ; } v a r   L = t h i s . g e t O f f s e t s ( ) , I = t h i s . g e t S c r o l l s ( ) ; v a r   H = { x : L . x - I . x , y : L . y - I . y } ; v a r   J = ( K & & ( K = $ ( K ) ) ) ? K . g e t P o s i t i o n ( ) : { x : 0 , y : 0 } ; 
 r e t u r n { x : H . x - J . x , y : H . y - J . y } ; } , g e t C o o r d i n a t e s : f u n c t i o n ( J ) { i f ( B ( t h i s ) ) { r e t u r n   t h i s . g e t W i n d o w ( ) . g e t C o o r d i n a t e s ( ) ; } v a r   H = t h i s . g e t P o s i t i o n ( J ) , I = t h i s . g e t S i z e ( ) ; 
 v a r   K = { l e f t : H . x , t o p : H . y , w i d t h : I . x , h e i g h t : I . y } ; K . r i g h t = K . l e f t + K . w i d t h ; K . b o t t o m = K . t o p + K . h e i g h t ; r e t u r n   K ; } , c o m p u t e P o s i t i o n : f u n c t i o n ( H ) { r e t u r n { l e f t : H . x - E ( t h i s , " m a r g i n - l e f t " ) , t o p : H . y - E ( t h i s , " m a r g i n - t o p " ) } ; 
 } , p o s i t i o n : f u n c t i o n ( H ) { r e t u r n   t h i s . s e t S t y l e s ( t h i s . c o m p u t e P o s i t i o n ( H ) ) ; } } ) ; N a t i v e . i m p l e m e n t ( [ D o c u m e n t , W i n d o w ] , { g e t S i z e : f u n c t i o n ( ) { v a r   I = t h i s . g e t W i n d o w ( ) ; 
 i f ( B r o w s e r . E n g i n e . p r e s t o | | B r o w s e r . E n g i n e . w e b k i t ) { r e t u r n { x : I . i n n e r W i d t h , y : I . i n n e r H e i g h t } ; } v a r   H = A ( t h i s ) ; r e t u r n { x : H . c l i e n t W i d t h , y : H . c l i e n t H e i g h t } ; } , g e t S c r o l l : f u n c t i o n ( ) { v a r   I = t h i s . g e t W i n d o w ( ) ; 
 v a r   H = A ( t h i s ) ; r e t u r n { x : I . p a g e X O f f s e t | | H . s c r o l l L e f t , y : I . p a g e Y O f f s e t | | H . s c r o l l T o p } ; } , g e t S c r o l l S i z e : f u n c t i o n ( ) { v a r   I = A ( t h i s ) ; v a r   H = t h i s . g e t S i z e ( ) ; r e t u r n { x : M a t h . m a x ( I . s c r o l l W i d t h , H . x ) , y : M a t h . m a x ( I . s c r o l l H e i g h t , H . y ) } ; 
 } , g e t P o s i t i o n : f u n c t i o n ( ) { r e t u r n { x : 0 , y : 0 } ; } , g e t C o o r d i n a t e s : f u n c t i o n ( ) { v a r   H = t h i s . g e t S i z e ( ) ; r e t u r n { t o p : 0 , l e f t : 0 , b o t t o m : H . y , r i g h t : H . x , h e i g h t : H . y , w i d t h : H . x } ; 
 } } ) ; v a r   D = E l e m e n t . g e t C o m p u t e d S t y l e ; f u n c t i o n   E ( H , I ) { r e t u r n   D ( H , I ) . t o I n t ( ) | | 0 ; } f u n c t i o n   F ( H ) { r e t u r n   D ( H , " - m o z - b o x - s i z i n g " ) = = " b o r d e r - b o x " ; } f u n c t i o n   G ( H ) { r e t u r n   E ( H , " b o r d e r - t o p - w i d t h " ) ; 
 } f u n c t i o n   C ( H ) { r e t u r n   E ( H , " b o r d e r - l e f t - w i d t h " ) ; } f u n c t i o n   B ( H ) { r e t u r n ( / ^ ( ? : b o d y | h t m l ) $ / i ) . t e s t ( H . t a g N a m e ) ; } f u n c t i o n   A ( H ) { v a r   I = H . g e t D o c u m e n t ( ) ; r e t u r n ( ! I . c o m p a t M o d e | | I . c o m p a t M o d e = = " C S S 1 C o m p a t " ) ? I . h t m l : I . b o d y ; 
 } } ) ( ) ; N a t i v e . i m p l e m e n t ( [ W i n d o w , D o c u m e n t , E l e m e n t ] , { g e t H e i g h t : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S i z e ( ) . y ; } , g e t W i d t h : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S i z e ( ) . x ; } , g e t S c r o l l T o p : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S c r o l l ( ) . y ; 
 } , g e t S c r o l l L e f t : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S c r o l l ( ) . x ; } , g e t S c r o l l H e i g h t : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S c r o l l S i z e ( ) . y ; } , g e t S c r o l l W i d t h : f u n c t i o n ( ) { r e t u r n   t h i s . g e t S c r o l l S i z e ( ) . x ; 
 } , g e t T o p : f u n c t i o n ( ) { r e t u r n   t h i s . g e t P o s i t i o n ( ) . y ; } , g e t L e f t : f u n c t i o n ( ) { r e t u r n   t h i s . g e t P o s i t i o n ( ) . x ; } } ) ; N a t i v e . i m p l e m e n t ( [ D o c u m e n t , E l e m e n t ] , { g e t E l e m e n t s : f u n c t i o n ( H , G ) { H = H . s p l i t ( " , " ) ; 
 v a r   C , E = { } ; f o r ( v a r   D = 0 , B = H . l e n g t h ; D < B ; D + + ) { v a r   A = H [ D ] , F = S e l e c t o r s . U t i l s . s e a r c h ( t h i s , A , E ) ; i f ( D ! = 0 & & F . i t e m ) { F = $ A ( F ) ; } C = ( D = = 0 ) ? F : ( C . i t e m ) ? $ A ( C ) . c o n c a t ( F ) : C . c o n c a t ( F ) ; 
 } r e t u r n   n e w   E l e m e n t s ( C , { d d u p : ( H . l e n g t h > 1 ) , c a s h : ! G } ) ; } } ) ; E l e m e n t . i m p l e m e n t ( { m a t c h : f u n c t i o n ( B ) { i f ( ! B ) { 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 + ) ( ? : ( [ ! * ^ $ ~ | ] ? = ) [ " ' ] ? ( . * ? ) [ " ' ] ? ) ? \ ] | : ( [ \ w - ] + ) ( ? : \ ( [ " ' ] ? ( . * ? ) ? [ " ' ] ? \ ) | $ ) / g ) } ; 
 S e l e c t o r s . U t i l s = { c h k : f u n c t i o n ( B , C ) { i f ( ! C ) { r e t u r n   t r u e ; } v a r   A = $ u i d ( B ) ; i f ( ! C [ A ] ) { r e t u r n   C [ A ] = t r u e ; } r e t u r n   f a l s e ; } , p a r s e N t h A r g u m e n t : f u n c t i o n ( F ) { i f ( S e l e c t o r s . C a c h e . n t h [ F ] ) { r e t u r n   S e l e c t o r s . C a c h e . n t h [ F ] ; 
 } v a r   C = F . m a t c h ( / ^ ( [ + - ] ? \ d * ) ? ( [ a - z ] + ) ? ( [ + - ] ? \ d * ) ? $ / ) ; i f ( ! C ) { r e t u r n   f a l s e ; } v a r   E = p a r s e I n t ( C [ 1 ] ) ; v a r   B = ( E | | E = = = 0 ) ? E : 1 ; v a r   D = C [ 2 ] | | f a l s e ; v a r   A = p a r s e I n t ( C [ 3 ] ) | | 0 ; 
 i f ( B ! = 0 ) { A - - ; w h i l e ( A < 1 ) { A + = B ; } w h i l e ( A > = B ) { A - = B ; } } e l s e { B = A ; D = " i n d e x " ; } s w i t c h ( D ) { c a s e " n " : C = { a : B , b : A , s p e c i a l : " n " } ; b r e a k ; c a s e " o d d " : C = { a : 2 , b : 0 , s p e c i a l : " n " } ; 
 b r e a k ; c a s e " e v e n " : C = { a : 2 , b : 1 , s p e c i a l : " n " } ; b r e a k ; c a s e " f i r s t " : C = { a : 0 , s p e c i a l : " i n d e x " } ; b r e a k ; c a s e " l a s t " : C = { s p e c i a l : " l a s t - c h i l d " } ; b r e a k ; c a s e " o n l y " : C = { s p e c i a l : " o n l y - c h i l d " } ; 
 b r e a k ; d e f a u l t : C = { a : ( B - 1 ) , s p e c i a l : " i n d e x " } ; } r e t u r n   S e l e c t o r s . C a c h e . n t h [ F ] = C ; } , p a r s e S e l e c t o r : f u n c t i o n ( E ) { i f ( S e l e c t o r s . C a c h e . p a r s e d [ E ] ) { r e t u r n   S e l e c t o r s . C a c h e . p a r s e d [ E ] ; 
 } v a r   D , H = { c l a s s e s : [ ] , p s e u d o s : [ ] , a t t r i b u t e s : [ ] } ; w h i l e ( ( D = S e l e c t o r s . R e g E x p s . c o m b i n e d . e x e c ( E ) ) ) { v a r   I = D [ 1 ] , G = D [ 2 ] , F = D [ 3 ] , B = D [ 4 ] , C = D [ 5 ] , J = D [ 6 ] ; 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 ( J , I , O ) { v a r   B = [ ] ; v a r   C = I . 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 ( Z , Y , X ) { B . p u s h ( Y ) ; 
 r e t u r n " : ) " + X ; } ) . s p l i t ( " : ) " ) ; v a r   K , F , E , V ; f o r ( v a r   U = 0 , Q = C . l e n g t h ; U < Q ; U + + ) { v a r   T = C [ U ] ; i f ( U = = 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 ( T ) ) { K = J . g e t E l e m e n t s B y T a g N a m e ( T ) ; 
 c o n t i n u e ; } v a r   A = B [ U - 1 ] ; v a r   L = 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 ( T ) ; v a r   W = L [ 0 ] , M = L [ 1 ] ; i f ( U = = 0 ) { K = 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 ( J , W , M ) ; } e l s e { v a r   D = { } , H = [ ] ; f o r ( v a r   S = 0 , R = K . l e n g t h ; 
 S < R ; S + + ) { H = S e l e c t o r s . G e t t e r s [ A ] ( H , K [ S ] , W , M , D ) ; } K = H ; } v a r   G = 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 ( T ) ; i f ( G ) { E = [ ] ; f o r ( v a r   P = 0 , N = K . l e n g t h ; P < N ; P + + ) { V = K [ P ] ; i f ( S e l e c t o r s . U t i l s . f i l t e r ( V , G , O ) ) { E . p u s h ( V ) ; 
 } } K = E ; } } r e t u r n   K ; } } ; S e l e c t o r s . G e t t e r s = { "   " : f u n c t i o n ( H , G , I , A , E ) { v a r   D = S e l e c t o r s . U t i l s . g e t B y T a g A n d I D ( G , I , A ) ; f o r ( v a r   C = 0 , B = D . l e n g t h ; C < B ; C + + ) { v a r   F = D [ C ] ; i f ( S e l e c t o r s . U t i l s . c h k ( F , E ) ) { H . p u s h ( F ) ; 
 } } r e t u r n   H ; } , " > " : f u n c t i o n ( H , G , I , A , F ) { v a r   C = S e l e c t o r s . U t i l s . g e t B y T a g A n d I D ( G , I , A ) ; f o r ( v a r   E = 0 , D = C . l e n g t h ; E < D ; E + + ) { v a r   B = C [ E ] ; i f ( B . p a r e n t N o d e = = G & & S e l e c t o r s . U t i l s . c h k ( B , F ) ) { H . p u s h ( B ) ; 
 } } r e t u r n   H ; } , " + " : f u n c t i o n ( C , B , A , E , D ) { w h i l e ( ( B = B . n e x t S i b l i n g ) ) { i f ( B . n o d e T y p e = = 1 ) { i f ( S e l e c t o r s . U t i l s . c h k ( B , D ) & & S e l e c t o r s . F i l t e r s . b y T a g ( B , A ) & & S e l e c t o r s . F i l t e r s . b y I D ( B , E ) ) { C . p u s h ( B ) ; 
 } b r e a k ; } } r e t u r n   C ; } , " ~ " : f u n c t i o n ( C , B , A , E , D ) { w h i l e ( ( B = B . n e x t S i b l i n g ) ) { i f ( B . n o d e T y p e = = 1 ) { i f ( ! S e l e c t o r s . U t i l s . c h k ( B , D ) ) { b r e a k ; } i f ( S e l e c t o r s . F i l t e r s . b y T a g ( B , A ) & & S e l e c t o r s . F i l t e r s . b y I D ( B , E ) ) { C . p u s h ( B ) ; 
 } } } r e t u r n   C ; } } ; S e l e c t o r s . F i l t e r s = { b y T a g : f u n c t i o n ( B , A ) { r e t u r n ( A = = " * " | | ( B . t a g N a m e & & B . t a g N a m e . t o L o w e r C a s e ( ) = = A ) ) ; } , b y I D : f u n c t i o n ( A , B ) { r e t u r n ( ! B | | ( A . i d & & A . i d = = B ) ) ; 
 } , b y C l a s s : f u n c t i o n ( B , A ) { r e t u r n ( B . c l a s s N a m e & & B . c l a s s N a m e . c o n t a i n s ( A , "   " ) ) ; } , b y P s e u d o : f u n c t i o n ( A , D , C , B ) { r e t u r n   D . c a l l ( A , C , B ) ; } , b y A t t r i b u t e : f u n c t i o n ( C , D , B , E ) { v a r   A = E l e m e n t . p r o t o t y p e . g e t P r o p e r t y . c a l l ( C , D ) ; 
 i f ( ! A ) { r e t u r n   f a l s e ; } 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 ( { e m p t y : f u n c t i o n ( ) { r e t u r n   ! ( t h i s . i n n e r T e x t | | t h i s . t e x t C o n t e n t | | " " ) . l e n g t h ; } , n o t : f u n c t i o n ( A ) { r e t u r n   ! E l e m e n t . m a t c h ( t h i s , A ) ; } , c o n t a i n s : f u n c t i o n ( A ) { r e t u r n ( t h i s . i n n e r T e x t | | t h i s . t e x t C o n t e n t | | " " ) . c o n t a i n s ( A ) ; 
 } , " f i r s t - c h i l d " : f u n c t i o n ( ) { r e t u r n   S e l e c t o r s . P s e u d o . i n d e x . c a l l ( t h i s , 0 ) ; } , " l a s t - c h i l d " : f u n c t i o n ( ) { v a r   A = t h i s ; w h i l e ( ( A = A . n e x t S i b l i n g ) ) { i f ( A . n o d e T y p e = = 1 ) { r e t u r n   f a l s e ; 
 } } r e t u r n   t r u e ; } , " o n l y - c h i l d " : f u n c t i o n ( ) { v a r   B = t h i s ; w h i l e ( ( B = B . p r e v i o u s S i b l i n g ) ) { i f ( B . n o d e T y p e = = 1 ) { r e t u r n   f a l s e ; } } v a r   A = t h i s ; w h i l e ( ( A = A . n e x t S i b l i n g ) ) { i f ( A . n o d e T y p e = = 1 ) { r e t u r n   f a l s e ; 
 } } r e t u r n   t r u e ; } , " n t h - c h i l d " : f u n c t i o n ( G , E ) { G = ( G = = u n d e f i n e d ) ? " n " : G ; v a r   C = S e l e c t o r s . U t i l s . p a r s e N t h A r g u m e n t ( G ) ; i f ( C . s p e c i a l ! = " n " ) { r e t u r n   S e l e c t o r s . P s e u d o [ C . s p e c i a l ] . c a l l ( t h i s , C . a , E ) ; 
 } v a r   F = 0 ; E . p o s i t i o n s = E . p o s i t i o n s | | { } ; v a r   D = $ u i d ( t h i s ) ; i f ( ! E . p o s i t i o n s [ D ] ) { v a r   B = t h i s ; w h i l e ( ( B = B . p r e v i o u s S i b l i n g ) ) { i f ( B . n o d e T y p e ! = 1 ) { c o n t i n u e ; } F + + ; v a r   A = E . p o s i t i o n s [ $ u i d ( B ) ] ; 
 i f ( A ! = u n d e f i n e d ) { F = A + F ; b r e a k ; } } E . p o s i t i o n s [ D ] = F ; } r e t u r n ( E . p o s i t i o n s [ D ] % C . a = = C . b ) ; } , i n d e x : f u n c t i o n ( A ) { v a r   B = t h i s , C = 0 ; w h i l e ( ( B = B . p r e v i o u s S i b l i n g ) ) { i f ( B . n o d e T y p e = = 1 & & + + C > A ) { r e t u r n   f a l s e ; 
 } } r e t u r n ( C = = A ) ; } , e v e n : f u n c t i o n ( B , A ) { r e t u r n   S e l e c t o r s . P s e u d o [ " n t h - c h i l d " ] . c a l l ( t h i s , " 2 n + 1 " , A ) ; } , o d d : f u n c t i o n ( B , A ) { r e t u r n   S e l e c t o r s . P s e u d o [ " n t h - c h i l d " ] . c a l l ( t h i s , " 2 n " , A ) ; 
 } } ) ; E l e m e n t . E v e n t s . d o m r e a d y = { o n A d d : f u n c t i o n ( A ) { i f ( B r o w s e r . l o a d e d ) { A . c a l l ( t h i s ) ; } } } ; ( f u n c t i o n ( ) { v a r   B = f u n c t i o n ( ) { i f ( B r o w s e r . l o a d e d ) { r e t u r n   ; } B r o w s e r . l o a d e d = t r u e ; 
 w i n d o w . f i r e E v e n t ( " d o m r e a d y " ) ; d o c u m e n t . f i r e E v e n t ( " d o m r e a d y " ) ; } ; s w i t c h ( B r o w s e r . E n g i n e . n a m e ) { c a s e " w e b k i t " : ( 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 ) ; 
 } ) ( ) ; b r e a k ; c a s 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 ) ; } ) ( ) ; b r e a k ; d e f a u l t : 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 ( { 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 ; } , $ 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 ) ; 
 } , 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 " , t r a n s i t i o 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 ; 
 } } , 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 " ; } } , 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 . o p t i o n s . t r a n s i t i o n ( ( A - t h i s . t i m e ) / t h i s . o p t i o n s . d u r a t i o n ) ; 
 t h i s . s e t ( t h i s . c o m p u t e ( t h i s . f r o m , t h i s . t o , B ) ) ; } e l s e { t h i s . s e t ( t h i s . c o m p u t e ( t h i s . f r o m , t h i s . t o , 1 ) ) ; t h i s . c o m p l e t e ( ) ; } } , s e t : f u n c t i o n ( A ) { r e t u r n   A ; } , c o m p u t e : f u n c t i o n ( C , B , A ) { r e t u r n   F x . c o m p u t e ( C , B , A ) ; 
 } , c h e c k : f u n c t i o n ( A ) { i f ( ! t h i s . t i m e r ) { r e t u r n   t r u e ; } s w i t c h ( t h i s . o p t i o n s . l i n k ) { c a s e " c a n c e l " : t h i s . c a n c e l ( ) ; r e t u r n   t r u e ; c a s e " c h a i n " : t h i s . c h a i n ( A . b i n d ( t h i s , A r r a y . s l i c e ( a r g u m e n t s , 1 ) ) ) ; 
 r e t u r n   f a l s e ; } r e t u r n   f a l s e ; } , s t a r t : f u n c t i o n ( B , A ) { i f ( ! t h i s . c h e c k ( a r g u m e n t s . c a l l e e , B , A ) ) { r e t u r n   t h i s ; } t h i s . f r o m = B ; t h i s . t o = A ; t h i s . t i m e = 0 ; t h i s . s t a r t T i m e r ( ) ; 
 t h i s . o n S t a r t ( ) ; r e t u r n   t h i s ; } , c o m p l e t e : f u n c t i o n ( ) { i f ( t h i s . s t o p T i m e r ( ) ) { t h i s . o n C o m p l e t e ( ) ; } r e t u r n   t h i s ; } , c a n c e l : f u n c t i o n ( ) { i f ( t h i s . s t o p T i m e r ( ) ) { t h i s . o n C a n c e l ( ) ; 
 } r e t u r n   t h i s ; } , o n S t a r t : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " s t a r t " , t h i s . s u b j e c t ) ; } , o n C o m p l e t e : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " c o m p l e t e " , t h i s . s u b j e c t ) ; i f ( ! t h i s . c a l l C h a i n ( ) ) { t h i s . f i r e E v e n t ( " c h a i n C o m p l e t e " , t h i s . s u b j e c t ) ; 
 } } , o n C a n c e l : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " c a n c e l " , t h i s . s u b j e c t ) . c l e a r C h a i n ( ) ; } , p a u s e : f u n c t i o n ( ) { t h i s . s t o p T i m e r ( ) ; r e t u r n   t h i s ; } , r e s u m e : f u n c t i o n ( ) { t h i s . s t a r t T i m e r ( ) ; 
 r e t u r n   t h i s ; } , s t o p T i m e r : f u n c t i o n ( ) { i f ( ! t h i s . t i m e r ) { r e t u r n   f a l s e ; } t h i s . t i m e = $ t i m e ( ) - t h i s . t i m e ; t h i s . t i m e r = $ c l e a r ( t h i s . t i m e r ) ; r e t u r n   t r u e ; } , s t a r t T i m e r : f u n c t i o n ( ) { i f ( t h i s . t i m e r ) { r e t u r n   f a l s e ; 
 } t h i s . t i m e = $ t i m e ( ) - t h i s . t i m e ; t h i s . t i m e r = t h i s . s t e p . p e r i o d i c a l ( M a t h . r o u n d ( 1 0 0 0 / t h i s . o p t i o n s . f p s ) , t h i s ) ; r e t u r n   t r u e ; } } ) ; F x . c o m p u t e = f u n c t i o n ( C , B , A ) { r e t u r n ( B - C ) * A + C ; 
 } ; F x . D u r a t i o n s = { " s h o r t " : 2 5 0 , n o r m a l : 5 0 0 , " l o n g " : 1 0 0 0 } ; F x . C S S = n e w   C l a s s ( { E x t e n d s : F x , p r e p a r e : f u n c t i o n ( D , E , B ) { B = $ s p l a t ( B ) ; v a r   C = B [ 1 ] ; i f ( ! $ c h k ( C ) ) { B [ 1 ] = B [ 0 ] ; 
 B [ 0 ] = D . g e t S t y l e ( E ) ; } v a r   A = B . m a p ( t h i s . p a r s e ) ; r e t u r n { f r o m : A [ 0 ] , t o : A [ 1 ] } ; } , p a r s e : f u n c t i o n ( A ) { A = $ l a m b d a ( A ) ( ) ; A = ( t y p e o f   A = = " s t r i n g " ) ? A . s p l i t ( "   " ) : $ s p l a t ( A ) ; 
 r e t u r n   A . m a p ( f u n c t i o n ( C ) { C = S t r i n g ( C ) ; v a r   B = f a l s e ; F x . C S S . P a r s e r s . e a c h ( f u n c t i o n ( F , E ) { i f ( B ) { r e t u r n   ; } v a r   D = F . p a r s e ( C ) ; i f ( $ c h k ( D ) ) { B = { v a l u e : D , p a r s e r : F } ; } } ) ; 
 B = B | | { v a l u e : C , p a r s e r : F x . C S S . P a r s e r s . S t r i n g } ; r e t u r n   B ; } ) ; } , c o m p u t e : f u n c t i o n ( D , C , B ) { v a r   A = [ ] ; ( M a t h . m i n ( D . l e n g t h , C . l e n g t h ) ) . t i m e s ( f u n c t i o n ( E ) { A . p u s h ( { v a l u e : D [ E ] . p a r s e r . c o m p u t e ( D [ E ] . v a l u e , C [ E ] . v a l u e , B ) , p a r s e r : D [ E ] . p a r s e r } ) ; 
 } ) ; A . $ f a m i l y = { n a m e : " f x : c s s : v a l u e " } ; r e t u r n   A ; } , s e r v e : f u n c t i o n ( C , B ) { i f ( $ t y p e ( C ) ! = " f x : c s s : v a l u e " ) { C = t h i s . p a r s e ( C ) ; } v a r   A = [ ] ; C . e a c h ( f u n c t i o n ( D ) { A = A . c o n c a t ( D . p a r s e r . s e r v e ( D . v a l u e , B ) ) ; 
 } ) ; r e t u r n   A ; } , r e n d e r : f u n c t i o n ( A , D , C , B ) { A . s e t S t y l e ( D , t h i s . s e r v e ( C , B ) ) ; } , s e a r c h : f u n c t i o n ( A ) { i f ( F x . C S S . C a c h e [ A ] ) { r e t u r n   F x . C S S . C a c h e [ A ] ; } v a r   B = { } ; A r r a y . e a c h ( d o c u m e n t . s t y l e S h e e t s , f u n c t i o n ( E , D ) { v a r   C = E . h r e f ; 
 i f ( C & & C . c o n t a i n s ( " : / / " ) & & ! C . c o n t a i n s ( d o c u m e n t . d o m a i n ) ) { r e t u r n   ; } v a r   F = E . r u l e s | | E . c s s R u l e s ; A r r a y . e a c h ( F , f u n c t i o n ( I , G ) { i f ( ! I . s t y l e ) { r e t u r n   ; } v a r   H = ( I . s e l e c t o r T e x t ) ? I . s e l e c t o r T e x t . r e p l a c e ( / ^ \ w + / , f u n c t i o n ( J ) { r e t u r n   J . t o L o w e r C a s e ( ) ; 
 } ) : n u l l ; i f ( ! H | | ! H . t e s t ( " ^ " + A + " $ " ) ) { r e t u r n   ; } E l e m e n t . S t y l e s . e a c h ( f u n c t i o n ( K , J ) { i f ( ! I . s t y l e [ J ] | | E l e m e n t . S h o r t S t y l e s [ J ] ) { r e t u r n   ; } K = S t r i n g ( I . s t y l e [ J ] ) ; B [ J ] = ( K . t e s t ( / ^ r g b / ) ) ? K . r g b T o H e x ( ) : K ; 
 } ) ; } ) ; } ) ; r e t u r n   F x . C S S . C a c h e [ A ] = B ; } } ) ; F x . C S S . C a c h e = { } ; F x . C S S . P a r s e r s = n e w   H a s h ( { C o l o r : { p a r s e : f u n c t i o n ( A ) { i f ( A . m a t c h ( / ^ # [ 0 - 9 a - f ] { 3 , 6 } $ / i ) ) { r e t u r n   A . h e x T o R g b ( t r u e ) ; 
 } r e t u r n ( ( A = A . m a t c h ( / ( \ d + ) , \ s * ( \ d + ) , \ s * ( \ d + ) / ) ) ) ? [ A [ 1 ] , A [ 2 ] , A [ 3 ] ] : f a l s e ; } , c o m p u t e : f u n c t i o n ( C , B , A ) { r e t u r n   C . m a p ( f u n c t i o n ( E , D ) { r e t u r n   M a t h . r o u n d ( F x . c o m p u t e ( C [ D ] , B [ D ] , A ) ) ; 
 } ) ; } , s e r v e : f u n c t i o n ( A ) { r e t u r n   A . m a p ( N u m b e r ) ; } } , N u m b e r : { p a r s e : p a r s e F l o a t , c o m p u t e : F x . c o m p u t e , s e r v e : f u n c t i o n ( B , A ) { r e t u r n ( A ) ? B + A : B ; } } , S t r i n g : { p a r s e : $ l a m b d a ( f a l s e ) , c o m p u t e : $ a r g u m e n t s ( 1 ) , s e r v e : $ a r g u m e n t s ( 0 ) } } ) ; 
 F x . T w e e n = n e w   C l a s s ( { E x t e n d s : F x . C S S , i n i t i a l i z e : f u n c t i o n ( B , A ) { t h i s . e l e m e n t = t h i s . s u b j e c t = $ ( B ) ; t h i s . p a r e n t ( A ) ; } , s e t : f u n c t i o n ( B , A ) { i f ( a r g u m e n t s . l e n g t h = = 1 ) { A = B ; 
 B = t h i s . p r o p e r t y | | t h i s . o p t i o n s . p r o p e r t y ; } t h i s . r e n d e r ( t h i s . e l e m e n t , B , A , t h i s . o p t i o n s . u n i t ) ; r e t u r n   t h i s ; } , s t a r t : f u n c t i o n ( C , E , D ) { i f ( ! t h i s . c h e c k ( a r g u m e n t s . c a l l e e , C , E , D ) ) { r e t u r n   t h i s ; 
 } v a r   B = A r r a y . f l a t t e n ( a r g u m e n t s ) ; t h i s . p r o p e r t y = t h i s . o p t i o n s . p r o p e r t y | | B . s h i f t ( ) ; v a r   A = t h i s . p r e p a r e ( t h i s . e l e m e n t , t h i s . p r o p e r t y , B ) ; r e t u r n   t h i s . p a r e n t ( A . f r o m , A . t o ) ; 
 } } ) ; E l e m e n t . P r o p e r t i e s . t w e e n = { s e t : f u n c t i o n ( A ) { v a r   B = t h i s . r e t r i e v e ( " t w e e n " ) ; i f ( B ) { B . c a n c e l ( ) ; } r e t u r n   t h i s . e l i m i n a t e ( " t w e e n " ) . s t o r e ( " t w e e n : o p t i o n s " , $ e x t e n d ( { l i n k : " c a n c e l " } , A ) ) ; 
 } , g e t : f u n c t i o n ( A ) { i f ( A | | ! t h i s . r e t r i e v e ( " t w e e n " ) ) { i f ( A | | ! t h i s . r e t r i e v e ( " t w e e n : o p t i o n s " ) ) { t h i s . s e t ( " t w e e n " , A ) ; } t h i s . s t o r e ( " t w e e n " , n e w   F x . T w e e n ( t h i s , t h i s . r e t r i e v e ( " t w e e n : o p t i o n s " ) ) ) ; 
 } r e t u r n   t h i s . r e t r i e v e ( " t w e e n " ) ; } } ; E l e m e n t . i m p l e m e n t ( { t w e e n : f u n c t i o n ( A , C , B ) { t h i s . g e t ( " t w e e n " ) . s t a r t ( a r g u m e n t s ) ; r e t u r n   t h i s ; } , f a d e : f u n c t i o n ( C ) { v a r   E = t h i s . g e t ( " t w e e n " ) , D = " o p a c i t y " , A ; 
 C = $ p i c k ( C , " t o g g l e " ) ; s w i t c h ( C ) { c a s e " i n " : E . s t a r t ( D , 1 ) ; b r e a k ; c a s e " o u t " : E . s t a r t ( D , 0 ) ; b r e a k ; c a s e " s h o w " : E . s e t ( D , 1 ) ; b r e a k ; c a s e " h i d e " : E . s e t ( D , 0 ) ; b r e a k ; c a s e " t o g g l e " : v a r   B = t h i s . r e t r i e v e ( " f a d e : f l a g " , t h i s . g e t ( " o p a c i t y " ) = = 1 ) ; 
 E . s t a r t ( D , ( B ) ? 0 : 1 ) ; t h i s . s t o r e ( " f a d e : f l a g " , ! B ) ; A = t r u e ; b r e a k ; d e f a u l t : E . s t a r t ( D , a r g u m e n t s ) ; } i f ( ! A ) { t h i s . e l i m i n a t e ( " f a d e : f l a g " ) ; } r e t u r n   t h i s ; } , h i g h l i g h t : f u n c t i o n ( C , A ) { i f ( ! A ) { A = t h i s . r e t r i e v e ( " h i g h l i g h t : o r i g i n a l " , t h i s . g e t S t y l e ( " b a c k g r o u n d - c o l o r " ) ) ; 
 A = ( A = = " t r a n s p a r e n t " ) ? " # f f f " : A ; } v a r   B = t h i s . g e t ( " t w e e n " ) ; B . s t a r t ( " b a c k g r o u n d - c o l o r " , C | | " # f f f f 8 8 " , A ) . c h a i n ( f u n c t i o n ( ) { t h i s . s e t S t y l e ( " b a c k g r o u n d - c o l o r " , t h i s . r e t r i e v e ( " h i g h l i g h t : o r i g i n a l " ) ) ; 
 B . c a l l C h a i n ( ) ; } . b i n d ( t h i s ) ) ; r e t u r n   t h i s ; } } ) ; F x . M o r p h = n e w   C l a s s ( { E x t e n d s : F x . C S S , i n i t i a l i z e : f u n c t i o n ( B , A ) { t h i s . e l e m e n t = t h i s . s u b j e c t = $ ( B ) ; t h i s . p a r e n t ( A ) ; } , s e t : f u n c t i o n ( A ) { i f ( t y p e o f   A = = " s t r i n g " ) { A = t h i s . s e a r c h ( A ) ; 
 } f o r ( v a r   B   i n   A ) { t h i s . r e n d e r ( t h i s . e l e m e n t , B , A [ B ] , t h i s . o p t i o n s . u n i t ) ; } r e t u r n   t h i s ; } , c o m p u t e : f u n c t i o n ( E , D , C ) { v a r   A = { } ; f o r ( v a r   B   i n   E ) { A [ B ] = t h i s . p a r e n t ( E [ B ] , D [ B ] , C ) ; 
 } r e t u r n   A ; } , s t a r t : f u n c t i o n ( B ) { i f ( ! t h i s . c h e c k ( a r g u m e n t s . c a l l e e , B ) ) { r e t u r n   t h i s ; } i f ( t y p e o f   B = = " s t r i n g " ) { B = t h i s . s e a r c h ( B ) ; } v a r   E = { } , D = { } ; f o r ( v a r   C   i n   B ) { v a r   A = t h i s . p r e p a r e ( t h i s . e l e m e n t , C , B [ C ] ) ; 
 E [ C ] = A . f r o m ; D [ C ] = A . t o ; } r e t u r n   t h i s . p a r e n t ( E , D ) ; } } ) ; E l e m e n t . P r o p e r t i e s . m o r p h = { s e t : f u n c t i o n ( A ) { v a r   B = t h i s . r e t r i e v e ( " m o r p h " ) ; i f ( B ) { B . c a n c e l ( ) ; } r e t u r n   t h i s . e l i m i n a t e ( " m o r p h " ) . s t o r e ( " m o r p h : o p t i o n s " , $ e x t e n d ( { l i n k : " c a n c e l " } , A ) ) ; 
 } , g e t : f u n c t i o n ( A ) { i f ( A | | ! t h i s . r e t r i e v e ( " m o r p h " ) ) { i f ( A | | ! t h i s . r e t r i e v e ( " m o r p h : o p t i o n s " ) ) { t h i s . s e t ( " m o r p h " , A ) ; } t h i s . s t o r e ( " m o r p h " , n e w   F x . M o r p h ( t h i s , t h i s . r e t r i e v e ( " m o r p h : o p t i o n s " ) ) ) ; 
 } r e t u r n   t h i s . r e t r i e v e ( " m o r p h " ) ; } } ; E l e m e n t . i m p l e m e n t ( { m o r p h : f u n c t i o n ( A ) { t h i s . g e t ( " m o r p h " ) . s t a r t ( A ) ; r e t u r n   t h i s ; } } ) ; ( f u n c t i o n ( ) { v a r   A = F x . p r o t o t y p e . i n i t i a l i z e ; 
 F x . p r o t o t y p e . i n i t i a l i z e = f u n c t i o n ( B ) { A . c a l l ( t h i s , B ) ; v a r   C = t h i s . o p t i o n s . t r a n s i t i o n ; i f ( t y p e o f   C = = " s t r i n g " & & ( C = C . s p l i t ( " : " ) ) ) { v a r   D = F x . T r a n s i t i o n s ; D = D [ C [ 0 ] ] | | D [ C [ 0 ] . c a p i t a l i z e ( ) ] ; 
 i f ( C [ 1 ] ) { D = D [ " e a s e " + C [ 1 ] . c a p i t a l i z e ( ) + ( C [ 2 ] ? C [ 2 ] . c a p i t a l i z e ( ) : " " ) ] ; } t h i s . o p t i o n s . t r a n s i t i o n = D ; } } ; } ) ( ) ; F x . T r a n s i t i o n = f u n c t i o n ( B , A ) { A = $ s p l a t ( A ) ; r e t u r n   $ e x t e n d ( B , { e a s e I n : f u n c t i o n ( C ) { r e t u r n   B ( C , A ) ; 
 } , e a s e O u t : f u n c t i o n ( C ) { r e t u r n   1 - B ( 1 - C , A ) ; } , e a s e I n O u t : f u n c t i o n ( C ) { r e t u r n ( C < = 0 . 5 ) ? B ( 2 * C , A ) / 2 : ( 2 - B ( 2 * ( 1 - C ) , A ) ) / 2 ; } } ) ; } ; F x . T r a n s i t i o n s = n e w   H a s h ( { l i n e a r : $ a r g u m e n t s ( 0 ) } ) ; 
 F x . T r a n s i t i o n s . e x t e n d = f u n c t i o n ( A ) { f o r ( v a r   B   i n   A ) { F x . T r a n s i t i o n s [ B ] = n e w   F x . T r a n s i t i o n ( A [ B ] ) ; } } ; F x . T r a n s i t i o n s . e x t e n d ( { P o w : f u n c t i o n ( B , A ) { r e t u r n   M a t h . p o w ( B , A [ 0 ] | | 6 ) ; 
 } , E x p o : f u n c t i o n ( A ) { r e t u r n   M a t h . p o w ( 2 , 8 * ( A - 1 ) ) ; } , C i r c : f u n c t i o n ( A ) { r e t u r n   1 - M a t h . s i n ( M a t h . a c o s ( A ) ) ; } , S i n e : f u n c t i o n ( A ) { r e t u r n   1 - M a t h . s i n ( ( 1 - A ) * M a t h . P I / 2 ) ; 
 } , B a c k : f u n c t i o n ( B , A ) { A = A [ 0 ] | | 1 . 6 1 8 ; r e t u r n   M a t h . p o w ( B , 2 ) * ( ( A + 1 ) * B - A ) ; } , B o u n c e : f u n c t i o n ( D ) { v a r   C ; f o r ( v a r   B = 0 , A = 1 ; 1 ; B + = A , A / = 2 ) { i f ( D > = ( 7 - 4 * B ) / 1 1 ) { C = - M a t h . p o w ( ( 1 1 - 6 * B - 1 1 * D ) / 4 , 2 ) + A * A ; 
 b r e a k ; } } r e t u r n   C ; } , E l a s t i c : f u n c t i o n ( B , A ) { r e t u r n   M a t h . p o w ( 2 , 1 0 * - - B ) * M a t h . c o s ( 2 0 * B * M a t h . P I * ( A [ 0 ] | | 1 ) / 3 ) ; } } ) ; [ " Q u a d " , " C u b i c " , " Q u a r t " , " Q u i n t " ] . e a c h ( f u n c t i o n ( B , A ) { F x . T r a n s i t i o n s [ B ] = n e w   F x . T r a n s i t i o n ( f u n c t i o n ( C ) { r e t u r n   M a t h . p o w ( C , [ A + 2 ] ) ; 
 } ) ; } ) ; v a r   R e q u e s t = n e w   C l a s s ( { I m p l e m e n t s : [ C h a i n , E v e n t s , O p t i o n s ] , o p t i o n s : { u r l : " " , d a t a : " " , h e a d e r s : { " X - R e q u e s t e d - W i t h " : " X M L H t t p R e q u e s t " , A c c e p t : " t e x t / j a v a s c r i p t ,   t e x t / h t m l ,   a p p l i c a t i o n / x m l ,   t e x t / x m l ,   * / * " } , a s y n c : t r u e , f o r m a t : f a l s e , m e t h o d : " p o s t " , l i n k : " i g n o r e " , i s S u c c e s s : n u l l , e m u l a t i o n : t r u e , u r l E n c o d e d : t r u e , e n c o d i n g : " u t f - 8 " , e v a l S c r i p t s : f a l s e , e v a l R e s p o n s e : f a l s e } , i n i t i a l i z e : f u n c t i o n ( A ) { t h i s . x h r = n e w   B r o w s e r . R e q u e s t ( ) ; 
 t h i s . s e t O p t i o n s ( A ) ; t h i s . o p t i o n s . i s S u c c e s s = t h i s . o p t i o n s . i s S u c c e s s | | t h i s . i s S u c c e s s ; t h i s . h e a d e r s = n e w   H a s h ( t h i s . o p t i o n s . h e a d e r s ) ; } , o n S t a t e C h a n g e : f u n c t i o n ( ) { i f ( t h i s . x h r . r e a d y S t a t e ! = 4 | | ! t h i s . r u n n i n g ) { r e t u r n   ; 
 } t h i s . r u n n i n g = f a l s e ; t h i s . s t a t u s = 0 ; $ t r y ( f u n c t i o n ( ) { t h i s . s t a t u s = t h i s . x h r . s t a t u s ; } . b i n d ( t h i s ) ) ; i f ( t h i s . o p t i o n s . i s S u c c e s s . c a l l ( t h i s , t h i s . s t a t u s ) ) { t h i s . r e s p o n s e = { t e x t : t h i s . x h r . r e s p o n s e T e x t , x m l : t h i s . x h r . r e s p o n s e X M L } ; 
 t h i s . s u c c e s s ( t h i s . r e s p o n s e . t e x t , t h i s . r e s p o n s e . x m l ) ; } e l s e { t h i s . r e s p o n s e = { t e x t : n u l l , x m l : n u l l } ; t h i s . f a i l u r e ( ) ; } t h i s . x h r . o n r e a d y s t a t e c h a n g e = $ e m p t y ; } , i s S u c c e s s : f u n c t i o n ( ) { r e t u r n ( ( t h i s . s t a t u s > = 2 0 0 ) & & ( t h i s . s t a t u s < 3 0 0 ) ) ; 
 } , p r o c e s s S c r i p t s : f u n c t i o n ( A ) { i f ( t h i s . o p t i o n s . e v a l R e s p o n s e | | ( / ( e c m a | j a v a ) s c r i p t / ) . t e s t ( t h i s . g e t H e a d e r ( " C o n t e n t - t y p e " ) ) ) { r e t u r n   $ e x e c ( A ) ; } r e t u r n   A . s t r i p S c r i p t s ( t h i s . o p t i o n s . e v a l S c r i p t s ) ; 
 } , s u c c e s s : f u n c t i o n ( B , A ) { t h i s . o n S u c c e s s ( t h i s . p r o c e s s S c r i p t s ( B ) , A ) ; } , o n S u c c e s s : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " c o m p l e t e " , a r g u m e n t s ) . f i r e E v e n t ( " s u c c e s s " , a r g u m e n t s ) . c a l l C h a i n ( ) ; 
 } , f a i l u r e : f u n c t i o n ( ) { t h i s . o n F a i l u r e ( ) ; } , o n F a i l u r e : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " c o m p l e t e " ) . f i r e E v e n t ( " f a i l u r e " , t h i s . x h r ) ; } , s e t H e a d e r : f u n c t i o n ( A , B ) { t h i s . h e a d e r s . s e t ( A , B ) ; 
 r e t u r n   t h i s ; } , g e t H e a d e r : f u n c t i o n ( A ) { r e t u r n   $ t r y ( f u n c t i o n ( ) { r e t u r n   t h i s . x h r . g e t R e s p o n s e H e a d e r ( A ) ; } . b i n d ( t h i s ) ) ; } , c h e c k : f u n c t i o n ( A ) { i f ( ! t h i s . r u n n i n g ) { r e t u r n   t r u e ; 
 } s w i t c h ( t h i s . o p t i o n s . l i n k ) { c a s e " c a n c e l " : t h i s . c a n c e l ( ) ; r e t u r n   t r u e ; c a s e " c h a i n " : t h i s . c h a i n ( A . b i n d ( t h i s , A r r a y . s l i c e ( a r g u m e n t s , 1 ) ) ) ; r e t u r n   f a l s e ; } r e t u r n   f a l s e ; 
 } , s e n d : f u n c t i o n ( I ) { i f ( ! t h i s . c h e c k ( a r g u m e n t s . c a l l e e , I ) ) { r e t u r n   t h i s ; } t h i s . r u n n i n g = t r u e ; v a r   G = $ t y p e ( I ) ; i f ( G = = " s t r i n g " | | G = = " e l e m e n t " ) { I = { d a t a : I } ; } v a r   D = t h i s . o p t i o n s ; 
 I = $ e x t e n d ( { d a t a : D . d a t a , u r l : D . u r l , m e t h o d : D . m e t h o d } , I ) ; v a r   E = I . d a t a , B = I . u r l , A = I . m e t h o d ; s w i t c h ( $ t y p e ( E ) ) { c a s e " e l e m e n t " : E = $ ( E ) . t o Q u e r y S t r i n g ( ) ; b r e a k ; c a s e " o b j e c t " : c a s e " h a s h " : E = H a s h . t o Q u e r y S t r i n g ( E ) ; 
 } i f ( t h i s . o p t i o n s . f o r m a t ) { v a r   H = " f o r m a t = " + t h i s . o p t i o n s . f o r m a t ; E = ( E ) ? H + " & " + E : H ; } i f ( t h i s . o p t i o n s . e m u l a t i o n & & [ " p u t " , " d e l e t e " ] . c o n t a i n s ( A ) ) { v a r   F = " _ m e t h o d = " + A ; 
 E = ( E ) ? F + " & " + E : F ; A = " p o s t " ; } i f ( t h i s . o p t i o n s . u r l E n c o d e d & & A = = " p o s t " ) { v a r   C = ( t h i s . o p t i o n s . e n c o d i n g ) ? " ;   c h a r s e t = " + t h i s . o p t i o n s . e n c o d i n g : " " ; t h i s . h e a d e r s . s e t ( " C o n t e n t - t y p e " , " a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e d " + C ) ; 
 } i f ( E & & A = = " g e t " ) { B = B + ( B . c o n t a i n s ( " ? " ) ? " & " : " ? " ) + E ; E = n u l l ; } t h i s . x h r . o p e n ( A . t o U p p e r C a s e ( ) , B , t h i s . o p t i o n s . a s y n c ) ; t h i s . x h r . o n r e a d y s t a t e c h a n g e = t h i s . o n S t a t e C h a n g e . b i n d ( t h i s ) ; 
 t h i s . h e a d e r s . e a c h ( f u n c t i o n ( K , J ) { i f ( ! $ t r y ( f u n c t i o n ( ) { t h i s . x h r . s e t R e q u e s t H e a d e r ( J , K ) ; r e t u r n   t r u e ; } . b i n d ( t h i s ) ) ) { t h i s . f i r e E v e n t ( " e x c e p t i o n " , [ J , K ] ) ; } } , t h i s ) ; 
 t h i s . f i r e E v e n t ( " r e q u e s t " ) ; t h i s . x h r . s e n d ( E ) ; i f ( ! t h i s . o p t i o n s . a s y n c ) { t h i s . o n S t a t e C h a n g e ( ) ; } r e t u r n   t h i s ; } , c a n c e l : f u n c t i o n ( ) { i f ( ! t h i s . r u n n i n g ) { r e t u r n   t h i s ; 
 } t h i s . r u n n i n g = f a l s e ; t h i s . x h r . a b o r t ( ) ; t h i s . x h r . o n r e a d y s t a t e c h a n g e = $ e m p t y ; t h i s . x h r = n e w   B r o w s e r . R e q u e s t ( ) ; t h i s . f i r e E v e n t ( " c a n c e l " ) ; r e t u r n   t h i s ; } } ) ; ( f u n c t i o n ( ) { v a r   A = { } ; 
 [ " g e t " , " p o s t " , " p u t " , " d e l e t e " , " G E T " , " P O S T " , " P U T " , " D E L E T E " ] . e a c h ( f u n c t i o n ( B ) { A [ B ] = f u n c t i o n ( ) { v a r   C = A r r a y . l i n k ( a r g u m e n t s , { u r l : S t r i n g . t y p e , d a t a : $ d e f i n e d } ) ; 
 r e t u r n   t h i s . s e n d ( $ e x t e n d ( C , { m e t h o d : B . t o L o w e r C a s e ( ) } ) ) ; } ; } ) ; R e q u e s t . i m p l e m e n t ( A ) ; } ) ( ) ; E l e m e n t . P r o p e r t i e s . s e n d = { s e t : f u n c t i o n ( A ) { v a r   B = t h i s . r e t r i e v e ( " s e n d " ) ; 
 i f ( B ) { B . c a n c e l ( ) ; } r e t u r n   t h i s . e l i m i n a t e ( " s e n d " ) . s t o r e ( " s e n d : o p t i o n s " , $ e x t e n d ( { d a t a : t h i s , l i n k : " c a n c e l " , m e t h o d : t h i s . g e t ( " m e t h o d " ) | | " p o s t " , u r l : t h i s . g e t ( " a c t i o n " ) } , A ) ) ; 
 } , g e t : f u n c t i o n ( A ) { i f ( A | | ! t h i s . r e t r i e v e ( " s e n d " ) ) { i f ( A | | ! t h i s . r e t r i e v e ( " s e n d : o p t i o n s " ) ) { t h i s . s e t ( " s e n d " , A ) ; } t h i s . s t o r e ( " s e n d " , n e w   R e q u e s t ( t h i s . r e t r i e v e ( " s e n d : o p t i o n s " ) ) ) ; 
 } r e t u r n   t h i s . r e t r i e v e ( " s e n d " ) ; } } ; E l e m e n t . i m p l e m e n t ( { s e n d : f u n c t i o n ( A ) { v a r   B = t h i s . g e t ( " s e n d " ) ; B . s e n d ( { d a t a : t h i s , u r l : A | | B . o p t i o n s . u r l } ) ; r e t u r n   t h i s ; } } ) ; R e q u e s t . H T M L = n e w   C l a s s ( { E x t e n d s : R e q u e s t , o p t i o n s : { u p d a t e : f a l s e , e v a l S c r i p t s : t r u e , f i l t e r : f a l s e } , p r o c e s s H T M L : f u n c t i o n ( C ) { v a r   B = C . m a t c h ( / < b o d y [ ^ > ] * > ( [ \ s \ S ] * ? ) < \ / b o d y > / i ) ; 
 C = ( B ) ? B [ 1 ] : C ; v a r   A = n e w   E l e m e n t ( " d i v " ) ; r e t u r n   $ t r y ( f u n c t i o n ( ) { v a r   D = " < r o o t > " + C + " < / r o o t > " , G ; i f ( B r o w s e r . E n g i n e . t r i d e n t ) { G = n e w   A c t i v e X O b j e c t ( " M i c r o s o f t . X M L D O M " ) ; 
 G . a s y n c = f a l s e ; G . l o a d X M L ( D ) ; } e l s e { G = n e w   D O M P a r s e r ( ) . p a r s e F r o m S t r i n g ( D , " t e x t / x m l " ) ; } D = G . g e t E l e m e n t s B y T a g N a m e ( " r o o t " ) [ 0 ] ; f o r ( v a r   F = 0 , E = D . c h i l d N o d e s . l e n g t h ; 
 F < E ; F + + ) { v a r   H = E l e m e n t . c l o n e ( D . c h i l d N o d e s [ F ] , t r u e , t r u e ) ; i f ( H ) { A . g r a b ( H ) ; } } r e t u r n   A ; } ) | | A . s e t ( " h t m l " , C ) ; } , s u c c e s s : f u n c t i o n ( D ) { v a r   C = t h i s . o p t i o n s , B = t h i s . r e s p o n s e ; 
 B . h t m l = D . s t r i p S c r i p t s ( f u n c t i o n ( E ) { B . j a v a s c r i p t = E ; } ) ; v a r   A = t h i s . p r o c e s s H T M L ( B . h t m l ) ; B . t r e e = A . c h i l d N o d e s ; B . e l e m e n t s = A . g e t E l e m e n t s ( " * " ) ; i f ( C . f i l t e r ) { B . t r e e = B . e l e m e n t s . f i l t e r ( C . f i l t e r ) ; 
 } i f ( C . u p d a t e ) { $ ( C . u p d a t e ) . e m p t y ( ) . a d o p t ( B . t r e e ) ; } i f ( C . e v a l S c r i p t s ) { $ e x e c ( B . j a v a s c r i p t ) ; } t h i s . o n S u c c e s s ( B . t r e e , B . e l e m e n t s , B . h t m l , B . j a v a s c r i p t ) ; } } ) ; E l e m e n t . P r o p e r t i e s . l o a d = { s e t : f u n c t i o n ( A ) { v a r   B = t h i s . r e t r i e v e ( " l o a d " ) ; 
 i f ( B ) { s e n d . c a n c e l ( ) ; } r e t u r n   t h i s . e l i m i n a t e ( " l o a d " ) . s t o r e ( " l o a d : o p t i o n s " , $ e x t e n d ( { d a t a : t h i s , l i n k : " c a n c e l " , u p d a t e : t h i s , m e t h o d : " g e t " } , A ) ) ; } , g e t : f u n c t i o n ( A ) { i f ( A | | ! t h i s . r e t r i e v e ( " l o a d " ) ) { i f ( A | | ! t h i s . r e t r i e v e ( " l o a d : o p t i o n s " ) ) { t h i s . s e t ( " l o a d " , A ) ; 
 } t h i s . s t o r e ( " l o a d " , n e w   R e q u e s t . H T M L ( t h i s . r e t r i e v e ( " l o a d : o p t i o n s " ) ) ) ; } r e t u r n   t h i s . r e t r i e v e ( " l o a d " ) ; } } ; E l e m e n t . i m p l e m e n t ( { l o a d : f u n c t i o n ( ) { t h i s . g e t ( " l o a d " ) . s e n d ( A r r a y . l i n k ( a r g u m e n t s , { d a t a : O b j e c t . t y p e , u r l : S t r i n g . t y p e } ) ) ; 
 r e t u r n   t h i s ; } } ) ; R e q u e s t . J S O N = n e w   C l a s s ( { E x t e n d s : R e q u e s t , o p t i o n s : { s e c u r e : t r u e } , i n i t i a l i z e : f u n c t i o n ( A ) { t h i s . p a r e n t ( A ) ; t h i s . h e a d e r s . e x t e n d ( { A c c e p t : " a p p l i c a t i o n / j s o n " , " X - R e q u e s t " : " J S O N " } ) ; 
 } , s u c c e s s : f u n c t i o n ( A ) { t h i s . r e s p o n s e . j s o n = J S O N . d e c o d e ( A , t h i s . o p t i o n s . s e c u r e ) ; t h i s . o n S u c c e s s ( t h i s . r e s p o n s e . j s o n , A ) ; } } ) ; 
 
 
 / / M o o T o o l s   M o r e ,   < h t t p : / / m o o t o o l s . n e t / m o r e > .   C o p y r i g h t   ( c )   2 0 0 6 - 2 0 0 8   V a l e r i o   P r o i e t t i ,   < h t t p : / / m a d 4 m i l k . n e t > ,   M I T   S t y l e   L i c e n s e . 
 
 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 ( E , D , C ) { v a r   B = [ ] ; v a r   A = 2 ; A . t i m e s ( f u n c t i o n ( F ) { B [ F ] = F x . c o m p u t e ( E [ F ] , D [ F ] , C ) ; } ) ; r e t u r n   B ; } , 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 ( a r g u m e n t s . c a l l e e , 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 = ( 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 ) ? 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 ; } } ) ; 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 ( E , D , C ) { v a r   B = [ ] ; v a r   A = 2 ; A . t i m e s ( f u n c t i o n ( F ) { B . p u s h ( F x . c o m p u t e ( E [ F ] , D [ F ] , C ) ) ; 
 } ) ; r e t u r n   B ; } , 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 ( a r g u m e n t s . c a l l e e , 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 . 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 , I ) { 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 ] , I ) ; } } 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 ( a r g u m e n t s . c a l l e e , C ) ) { r e t u r n   t h i s ; 
 } v a r   H = { } , I = { } ; f o r ( v a r   D   i n   C ) { v a r   F = C [ D ] , A = H [ D ] = { } , G = I [ 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 , I ) ; 
 } } ) ; 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 . 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 ) ; t h i s . m o u s e . s t a r t = C . p a g e ; 
 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 ) . 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 . 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 ) ; } , 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 ) ; } } } ) ; 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 ) { r e t u r n   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 ) ) ; 
 } } ) ; 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 } , 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 ) ; } C = t h i s . e l e m e n t ; 
 v a r   D = C . g e t S t y l e ( " p o s i t i o n " ) ; v a r   A = ( D ! = " s t a t i c " ) ? D : " a b s o l u t e " ; i f ( C . g e t S t y l e ( " l e f t " ) = = " a u t o " | | C . g e t S t y l e ( " t o p " ) = = " a u t o " ) { C . p o s i t i o n ( C . g e t P o s i t i o n ( C . o f f s e t P a r e n t ) ) ; 
 } C . 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 " , f u n c t i o n ( ) { t h i s . c h e c k D r o p p a b l e s ( ) ; } , t r u e ) ; } , s t a r t : f u n c t i o n ( B ) { i f ( t h i s . c o n t a i n e r ) { v a r   D = t h i s . e l e m e n t , J = t h i s . c o n t a i n e r , E = J . g e t C o o r d i n a t e s ( D . o f f s e t P a r e n t ) , F = { } , A = { } ; 
 [ " 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 ( K ) { F [ K ] = J . g e t S t y l e ( " p a d d i n g - " + K ) . t o I n t ( ) ; A [ K ] = D . g e t S t y l e ( " m a r g i n - " + K ) . t o I n t ( ) ; } , t h i s ) ; v a r   C = D . o f f s e t W i d t h + A . l e f t + A . r i g h t , I = D . o f f s e t H e i g h t + A . t o p + A . b o t t o m ; 
 v a r   H = [ E . l e f t + F . l e f t , E . r i g h t - F . r i g h t - C ] ; v a r   G = [ E . t o p + F . t o p , E . b o t t o m - F . b o t t o m - I ] ; t h i s . o p t i o n s . l i m i t = { x : H , y : G } ; } t h i s . p a r e n t ( B ) ; } , c h e c k A g a i n s t : f u n c t i o n ( B ) { B = B . 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 > B . l e f t & & A . x < B . r i g h t & & A . y < B . b o t t o m & & A . y > B . 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 . o v e r e d = 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 ] ) ; } e l s e { t h i s . o v e r e d = n u l l ; 
 } } } , 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 . 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 ] ) ; 
 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 ) { r e t u r n   n e w   D r a g . M o v e ( t h i s , A ) ; } } ) ; H a s h . C o o k i e = n e w   C l a s s ( { E x t e n d s : C o o k i e , o p t i o n s : { a u t o S a v e : 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 . p a r e n t ( B , A ) ; 
 t h i s . l o a d ( ) ; } , s a v e : f u n c t i o n ( ) { v a r   A = J S O N . e n c o d e ( t h i s . h a s h ) ; i f ( ! A | | A . l e n g t h > 4 0 9 6 ) { r e t u r n   f a l s e ; } i f ( A = = " { } " ) { t h i s . d i s p o s e ( ) ; } e l s e { t h i s . w r i t e ( A ) ; } r e t u r n   t r u e ; 
 } , l o a d : f u n c t i o n ( ) { t h i s . h a s h = n e w   H a s h ( J S O N . d e c o d e ( t h i s . r e a d ( ) , t r u e ) ) ; r e t u r n   t h i s ; } } ) ; H a s h . C o o k i e . i m p l e m e n t ( ( f u n c t i o n ( ) { v a r   A = { } ; H a s h . e a c h ( H a s h . p r o t o t y p e , f u n c t i o n ( C , B ) { A [ B ] = f u n c t i o n ( ) { v a r   D = C . a p p l y ( t h i s . h a s h , a r g u m e n t s ) ; 
 i f ( t h i s . o p t i o n s . a u t o S a v e ) { t h i s . s a v e ( ) ; } r e t u r n   D ; } ; } ) ; r e t u r n   A ; } ) ( ) ) ; v a r   C o l o r = 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 ( B , C ) { i f ( a r g u m e n t s . l e n g t h > = 3 ) { C = " r g b " ; B = A r r a y . s l i c e ( a r g u m e n t s , 0 , 3 ) ; 
 } e l s e { i f ( t y p e o f   B = = " s t r i n g " ) { i f ( B . m a t c h ( / r g b / ) ) { B = B . r g b T o H e x ( ) . h e x T o R g b ( t r u e ) ; } e l s e { i f ( B . m a t c h ( / h s b / ) ) { B = B . h s b T o R g b ( ) ; } e l s e { B = B . h e x T o R g b ( t r u e ) ; } } } } C = C | | " r g b " ; 
 s w i t c h ( C ) { c a s e " h s b " : v a r   A = B ; B = B . h s b T o R g b ( ) ; B . h s b = A ; b r e a k ; c a s e " h e x " : B = B . h e x T o R g b ( t r u e ) ; b r e a k ; } B . r g b = B . s l i c e ( 0 , 3 ) ; B . h s b = B . h s b | | B . r g b T o H s b ( ) ; B . h e x = B . r g b T o H e x ( ) ; 
 r e t u r n   $ e x t e n d ( B , t h i s ) ; } } ) ; C o l o r . i m p l e m e n t ( { m i x : f u n c t i o n ( ) { v a r   A = A r r a y . s l i c e ( a r g u m e n t s ) ; v a r   C = ( $ t y p e ( A . g e t L a s t ( ) ) = = " n u m b e r " ) ? A . p o p ( ) : 5 0 ; v a r   B = t h i s . s l i c e ( ) ; 
 A . e a c h ( f u n c t i o n ( D ) { D = n e w   C o l o r ( D ) ; f o r ( v a r   E = 0 ; E < 3 ; E + + ) { B [ E ] = M a t h . r o u n d ( ( B [ E ] / 1 0 0 * ( 1 0 0 - C ) ) + ( D [ E ] / 1 0 0 * C ) ) ; } } ) ; r e t u r n   n e w   C o l o r ( B , " r g b " ) ; } , i n v e r t : f u n c t i o n ( ) { r e t u r n   n e w   C o l o r ( t h i s . m a p ( f u n c t i o n ( A ) { r e t u r n   2 5 5 - A ; 
 } ) ) ; } , s e t H u e : f u n c t i o n ( A ) { r e t u r n   n e w   C o l o r ( [ A , t h i s . h s b [ 1 ] , t h i s . h s b [ 2 ] ] , " h s b " ) ; } , s e t S a t u r a t i o n : f u n c t i o n ( A ) { r e t u r n   n e w   C o l o r ( [ t h i s . h s b [ 0 ] , A , t h i s . h s b [ 2 ] ] , " h s b " ) ; 
 } , s e t B r i g h t n e s s : f u n c t i o n ( A ) { r e t u r n   n e w   C o l o r ( [ t h i s . h s b [ 0 ] , t h i s . h s b [ 1 ] , A ] , " h s b " ) ; } } ) ; f u n c t i o n   $ R G B ( C , B , A ) { r e t u r n   n e w   C o l o r ( [ C , B , A ] , " r g b " ) ; } f u n c t i o n   $ H S B ( C , B , A ) { r e t u r n   n e w   C o l o r ( [ C , B , A ] , " h s b " ) ; 
 } f u n c t i o n   $ H E X ( A ) { r e t u r n   n e w   C o l o r ( A , " h e x " ) ; } A r r a y . i m p l e m e n t ( { r g b T o H s b : f u n c t i o n ( ) { v a r   B = t h i s [ 0 ] , C = t h i s [ 1 ] , J = t h i s [ 2 ] ; v a r   G , F , H ; v a r   I = M a t h . m a x ( B , C , J ) , E = M a t h . m i n ( B , C , J ) ; 
 v a r   K = I - E ; H = I / 2 5 5 ; F = ( I ! = 0 ) ? K / I : 0 ; i f ( F = = 0 ) { G = 0 ; } e l s e { v a r   D = ( I - B ) / K ; v a r   A = ( I - C ) / K ; v a r   L = ( I - J ) / K ; i f ( B = = I ) { G = L - A ; } e l s e { i f ( C = = I ) { G = 2 + D - L ; } e l s e { G = 4 + A - D ; } } G / = 6 ; 
 i f ( G < 0 ) { G + + ; } } r e t u r n [ M a t h . r o u n d ( G * 3 6 0 ) , M a t h . r o u n d ( F * 1 0 0 ) , M a t h . r o u n d ( H * 1 0 0 ) ] ; } , h s b T o R g b : f u n c t i o n ( ) { v a r   C = M a t h . r o u n d ( t h i s [ 2 ] / 1 0 0 * 2 5 5 ) ; i f ( t h i s [ 1 ] = = 0 ) { r e t u r n [ C , C , C ] ; 
 } e l s e { v a r   A = t h i s [ 0 ] % 3 6 0 ; v a r   E = A % 6 0 ; v a r   F = M a t h . r o u n d ( ( t h i s [ 2 ] * ( 1 0 0 - t h i s [ 1 ] ) ) / 1 0 0 0 0 * 2 5 5 ) ; v a r   D = M a t h . r o u n d ( ( t h i s [ 2 ] * ( 6 0 0 0 - t h i s [ 1 ] * E ) ) / 6 0 0 0 0 0 * 2 5 5 ) ; v a r   B = M a t h . r o u n d ( ( t h i s [ 2 ] * ( 6 0 0 0 - t h i s [ 1 ] * ( 6 0 - E ) ) ) / 6 0 0 0 0 0 * 2 5 5 ) ; 
 s w i t c h ( M a t h . f l o o r ( A / 6 0 ) ) { c a s e   0 : r e t u r n [ C , B , F ] ; c a s e   1 : r e t u r n [ D , C , F ] ; c a s e   2 : r e t u r n [ F , C , B ] ; c a s e   3 : r e t u r n [ F , D , C ] ; c a s e   4 : r e t u r n [ B , F , C ] ; c a s e   5 : r e t u r n [ C , F , D ] ; 
 } } r e t u r n   f a l s e ; } } ) ; S t r i n g . i m p l e m e n t ( { r g b T o H s b : f u n c t i o n ( ) { v a r   A = t h i s . m a t c h ( / \ d { 1 , 3 } / g ) ; r e t u r n ( A ) ? h s b . r g b T o H s b ( ) : n u l l ; } , h s b T o R g b : f u n c t i o n ( ) { 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 . h s b T o R g b ( ) : n u l l ; } } ) ; v a r   G r o u p = n e w   C l a s s ( { i n i t i a l i z e : f u n c t i o n ( ) { t h i s . i n s t a n c e s = 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 v e n t s = { } ; t h i s . c h e c k e r = { } ; } , a d d E v e n t : f u n c t i o n ( B , A ) { t h i s . c h e c k e r [ B ] = t h i s . c h e c k e r [ B ] | | { } ; 
 t h i s . e v e n t s [ B ] = t h i s . e v e n t s [ B ] | | [ ] ; i f ( t h i s . e v e n t s [ B ] . c o n t a i n s ( A ) ) { r e t u r n   f a l s e ; } e l s e { t h i s . e v e n t s [ B ] . p u s h ( A ) ; } t h i s . i n s t a n c e s . e a c h ( f u n c t i o n ( C , D ) { C . a d d E v e n t ( B , t h i s . c h e c k . b i n d ( t h i s , [ B , C , D ] ) ) ; 
 } , t h i s ) ; r e t u r n   t h i s ; } , c h e c k : f u n c t i o n ( C , A , B ) { t h i s . c h e c k e r [ C ] [ B ] = t r u e ; v a r   D = t h i s . i n s t a n c e s . e v e r y ( f u n c t i o n ( F , E ) { r e t u r n   t h i s . c h e c k e r [ C ] [ E ] | | f a l s e ; } , t h i s ) ; i f ( ! D ) { r e t u r n   ; 
 } t h i s . c h e c k e r [ C ] = { } ; t h i s . e v e n t s [ C ] . e a c h ( f u n c t i o n ( E ) { E . c a l l ( t h i s , t h i s . i n s t a n c e s , A ) ; } , t h i s ) ; } } ) ; v a r   A s s e t = n e w   H a s h ( { j a v a s c r i p t : f u n c t i o n ( F , D ) { D = $ e x t e n d ( { o n l o a d : $ e m p t y , d o c u m e n t : d o c u m e n t , c h e c k : $ l a m b d a ( t r u e ) } , D ) ; 
 v a r   B = n e w   E l e m e n t ( " s c r i p t " , { s r c : F , t y p e : " t e x t / j a v a s c r i p t " } ) ; v a r   E = D . o n l o a d . b i n d ( B ) , A = D . c h e c k , G = D . d o c u m e n t ; d e l e t e   D . o n l o a d ; d e l e t e   D . c h e c k ; d e l e t e   D . d o c u m e n t ; 
 B . a d d E v e n t s ( { l o a d : E , r e a d y s t a t e c h a n g e : f u n c t i o n ( ) { i f ( [ " l o a d e d " , " c o m p l e t e " ] . c o n t a i n s ( t h i s . r e a d y S t a t e ) ) { E ( ) ; } } } ) . s e t P r o p e r t i e s ( D ) ; i f ( B r o w s e r . E n g i n e . w e b k i t 4 1 9 ) { v a r   C = ( f u n c t i o n ( ) { i f ( ! $ t r y ( A ) ) { r e t u r n   ; 
 } $ c l e a r ( C ) ; E ( ) ; } ) . p e r i o d i c a l ( 5 0 ) ; } r e t u r n   B . i n j e c t ( G . h e a d ) ; } , c s s : f u n c t i o n ( B , A ) { r e t u r n   n e w   E l e m e n t ( " l i n k " , $ m e r g e ( { r e l : " s t y l e s h e e t " , m e d i a : " s c r e e n " , t y p e : " t e x t / c s s " , h r e f : B } , A ) ) . i n j e c t ( d o c u m e n t . h e a d ) ; 
 } , i m a g e : f u n c t i o n ( C , B ) { B = $ m e r g e ( { o n l o a d : $ e m p t y , o n a b o r t : $ e m p t y , o n e r r o r : $ e m p t y } , B ) ; v a r   D = n e w   I m a g e ( ) ; v a r   A = $ ( D ) | | n e w   E l e m e n t ( " i m g " ) ; [ " l o a d " , " a b o r t " , " e r r o r " ] . e a c h ( f u n c t i o n ( E ) { v a r   F = " o n " + E ; 
 v a r   G = B [ F ] ; d e l e t e   B [ F ] ; D [ F ] = f u n c t i o n ( ) { i f ( ! D ) { r e t u r n   ; } i f ( ! A . p a r e n t N o d e ) { A . w i d t h = D . w i d t h ; A . h e i g h t = D . h e i g h t ; } D = D . o n l o a d = D . o n a b o r t = D . o n e r r o r = n u l l ; G . d e l a y ( 1 , A , A ) ; 
 A . f i r e E v e n t ( E , A , 1 ) ; } ; } ) ; D . s r c = A . s r c = C ; i f ( D & & D . c o m p l e t e ) { D . o n l o a d . d e l a y ( 1 ) ; } r e t u r n   A . s e t P r o p e r t i e s ( B ) ; } , i m a g e s : f u n c t i o n ( D , C ) { C = $ m e r g e ( { o n C o m p l e t e : $ e m p t y , o n P r o g r e s s : $ e m p t y } , C ) ; 
 i f ( ! D . p u s h ) { D = [ D ] ; } v a r   A = [ ] ; v a r   B = 0 ; D . e a c h ( f u n c t i o n ( F ) { v a r   E = n e w   A s s e t . i m a g e ( F , { o n l o a d : f u n c t i o n ( ) { C . o n P r o g r e s s . c a l l ( t h i s , B , D . i n d e x O f ( F ) ) ; B + + ; i f ( B = = D . l e n g t h ) { C . o n C o m p l e t e ( ) ; 
 } } } ) ; A . p u s h ( E ) ; } ) ; r e t u r n   n e w   E l e m e n t s ( A ) ; } } ) ; 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 ( ) { 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 ) . e a c h ( f u n c t i o n ( B ) { A . p u s h ( B ) ; t h i s . e l e m e n t s . e r a s e ( B ) ; v a r   C = B . 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 ? B . 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 ) | | B : B ) . r e m o v e E v e n t ( " m o u s e d o w n " , C ) ; 
 } , t h i s ) ; r e t u r n   $ $ ( A ) ; } , r e m o v e L i s t s : 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 ) . e a c h ( f u n c t i o n ( B ) { A . p u s h ( B ) ; t h i s . l i s t s . e r a s e ( B ) ; t h i s . r e m o v e I t e m s ( B . g e t C h i l d r e n ( ) ) ; 
 } , t h i s ) ; r e t u r n   $ $ ( A ) ; } , 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   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 " ) ; } , 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 s : { 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   C = 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 } ) ; 
 t h i s . s e t O p t i o n s ( C . o p t i o n s | | n u l l ) ; t h i s . t i p = 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 h i s . o p t i o n s . c l a s s N a m e ) { t h i s . t i p . a d d 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 ) ; 
 } v a r   B = n e w   E l e m e n t ( " d i v " , { " c l a s s " : " t i p - t o p " } ) . i n j e c t ( t h i s . t i 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 " } ) . i n j e c t ( t h i s . t i p ) ; v a r   A = 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 ( t h i s . t i p ) ; 
 t h i s . t i p . s e t S t y l e s ( { 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 , v i s i b i l i t y : " h i d d e n " } ) ; i f ( C . e l e m e n t s ) { t h i s . a t t a c h ( C . e l e m e n t s ) ; } } , a t 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 ( D ) { v a r   G = D . r e t r i e v e ( " t i p : t i t l e " , D . g e t ( " t i t l e " ) ) ; 
 v a r   F = D . r e t r i e v e ( " t i p : t e x t " , D . g e t ( " r e l " ) | | D . g e t ( " h r e f " ) ) ; v a r   E = D . r e t r i e v e ( " t i p : e n t e r " , t h i s . e l e m e n t E n t e r . b i n d W i t h E v e n t ( t h i s , D ) ) ; v a r   C = D . r e t r i e v e ( " t i p : l e a v e " , t h i s . e l e m e n t L e a v e . b i n d W i t h E v e n t ( t h i s , D ) ) ; 
 D . a d d E v e n t s ( { m o u s e e n t e r : E , m o u s e l e a v e : C } ) ; i f ( ! t h i s . o p t i o n s . f i x e d ) { v a r   B = D . r e t r i e v e ( " t i p : m o v e " , t h i s . e l e m e n t M o v e . b i n d W i t h E v e n t ( t h i s , D ) ) ; D . a d d E v e n t ( " m o u s e m o v e " , B ) ; 
 } D . s t o r e ( " t i p : n a t i v e " , D . g e t ( " t i t l e " ) ) ; D . e r a s e ( " t i t l e " ) ; } , 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 ) { C . r e m o v e E v e n t ( " m o u s e e n t e r " , C . r e t r i e v e ( " t i p : e n t e r " ) | | $ e m p t y ) ; 
 C . r e m o v e E v e n t ( " m o u s e l e a v e " , C . r e t r i e v e ( " t i p : l e a v e " ) | | $ e m p t y ) ; C . r e m o v e E v e n t ( " m o u s e m o v e " , C . r e t r i e v e ( " t i p : m o v e " ) | | $ 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 " ) ; 
 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 ) ; } } ) ; 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 ) ; 
 v a r   D = A . r e t r i e v e ( " t i p : t i t l e " ) ; i f ( D ) { t h i s . t i t l e 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 - t i t l e " } ) . 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 . t i t l e E l e m e n t , D ) ; } v a r   C = A . r e t r i e v e ( " t i p : t e x t " ) ; 
 i f ( C ) { t h i s . t e x t 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 - t e x t " } ) . 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 . t e x t E l e m e n t , C ) ; } 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 ) ; 
 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 ( A ) { $ 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 . 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 ) ; 
 } , 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 ( ) ; v a r   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 } ; 
 v a r   C = { x : " l e f t " , y : " t o p " } ; f o r ( v a r   F   i n   C ) { v a r   G = D . p a g e [ F ] + t h i s . o p t i o n s . o f f s e t s [ F ] ; i f ( ( G + E [ F ] - A [ F ] ) > B [ F ] ) { G = D . p a g e [ F ] - t h i s . o p t i o n s . o f f s e t s [ F ] - E [ F ] ; } t h i s . t i p . s e t S t y l e ( C [ F ] , G ) ; 
 } } , f i l l : f u n c t i o n ( A , B ) { ( t y p e o f   B = = " s t r i n g " ) ? A . s e t ( " h t m l " , B ) : A . a d o p t ( B ) ; } , s h o w : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " s h o w " , t h i s . t i p ) ; } , h i d e : f u n c t i o n ( ) { t h i s . f i r e E v e n t ( " h i d e " , t h i s . t i p ) ; 
 } } ) ; v a r   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 ; v a r   E = C . g e t D o c u m e n t ( ) , D = C . g e t W i n d o w ( ) ; t h i s . p a r e n t ( E , 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 ) : $ $ ( E . 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 ( G ) { i f ( G . h r e f . i n d e x O f ( A ) ! = 0 ) { r e t u r n   ; } v a r   F = G . h r e f . s u b s t r ( A . l e n g t h ) ; i f ( F & & $ ( F ) ) { t h i s . u s e L i n k ( G , F ) ; 
 } } , 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 ( B , A ) { B . a d d E v e n t ( " c l i c k " , f u n c t i o n ( C ) { t h i s . a n c h o r = A ; 
 t h i s . t o E l e m e n t ( A ) ; C . s t o p ( ) ; } . b i n d ( t h i s ) ) ; } } ) ; 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 ] , 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 ( E , A , D ) { t h i s . s e t O p t i o n s ( D ) ; 
 t h i s . e l e m e n t = $ ( E ) ; 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 ; 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 . c l i c k e d E l e m e n t . b i n d ( t h i s ) ) ; 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 . 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 ) ) ; 
 } v a r   F , B = { } , C = { 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 " ; F = " 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 " ; F = " 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 [ F ] / 2 ; t h i s . f u l l = t h i s . e l e m e n t [ F ] - t h i s . k n o b [ F ] + ( 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 ) ; C [ 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 . d r a g = n e w   D r a g ( t h i s . k n o b , { s n a p : 0 , l i m i t : B , m o d i f i e r s : C , o n D r a g : t h i s . d r a g g e d K n o b . b i n d ( t h i s ) , o n S t a r t : t h i s . d r a g g e d K n o b . 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 . 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 ) { t h i s . d r a g . o p t i o n s . 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 ) ; t h i s . d r a g . o p t i o n s . l i m i t [ t h i s . a x i s ] [ 1 ] = t h i s . f u l l ; } } , 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 . e n d ( ) ; 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 ) ) ; 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 ) { 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 . e n d ( ) ; t h i s . f i r e E v e n t ( " t i c k " , A ) ; } , 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 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 ) ; } } , 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 . c o o r d = 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 ( " m o u s e m o v e " , t h i s . c o o r d ) ; } , 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 ( " m o u s e m o v e " , t h i s . c o o r d ) ; 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 ( 5 0 , 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 ( ) , E = t h i s . e l e m e n t . g e t P o s i t i o n ( ) , D = { x : 0 , y : 0 } ; 
 f o r ( v a r   C   i n   t h i s . p a g e ) { i f ( t h i s . p a g e [ C ] < ( t h i s . o p t i o n s . a r e a + E [ C ] ) & & A [ C ] ! = 0 ) { D [ C ] = ( t h i s . p a g e [ C ] - t h i s . o p t i o n s . a r e a - E [ C ] ) * 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 [ C ] + t h i s . o p t i o n s . a r e a > ( B [ C ] + E [ C ] ) & & B [ C ] + B [ C ] ! = A [ C ] ) { D [ C ] = ( t h i s . p a g e [ C ] - B [ C ] + t h i s . o p t i o n s . a r e a - E [ C ] ) * t h i s . o p t i o n s . v e l o c i t y ; 
 } } } i f ( D . y | | D . x ) { t h i s . f i r e E v e n t ( " c h a n g e " , [ A . x + D . x , A . y + D . y ] ) ; } } } ) ; v a r   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 : 2 0 0 , 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 : 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 ) ; } } , a d d S e c t i o n : f u n c t i o n ( E , C , G ) { E = $ ( E ) ; C = $ ( C ) ; v a r   F = t h i s . t o g g l e r s . c o n t a i n s ( E ) ; 
 v a r   B = t h i s . t o g g l e r s . l e n g t h ; t h i s . t o g g l e r s . i n c l u d e ( E ) ; t h i s . e l e m e n t s . i n c l u d e ( C ) ; i f ( B & & ( ! F | | G ) ) { G = $ p i c k ( G , B - 1 ) ; E . i n j e c t ( t h i s . t o g g l e r s [ G ] , " b e f o r e " ) ; C . i n j e c t ( E , " a f t e r " ) ; 
 } e l s e { i f ( t h i s . c o n t a i n e r & & ! F ) { E . i n j e c t ( t h i s . c o n t a i n e r ) ; C . i n j e c t ( t h i s . c o n t a i n e r ) ; } } v a r   A = t h i s . t o g g l e r s . i n d e x O f ( E ) ; E . a d d E v e n t ( " c l i c k " , 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 ) { C . 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 ) { C . 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 " } ) ; 
 } C . 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 ) { C . 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 ) { C . 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 ; } C . s e t S t y l e ( " o v e r f l o w " , " h i d d e n " ) ; 
 i f ( ! F ) { f o r ( v a r   D   i n   t h i s . e f f e c t s ) { C . s e t S t y l e ( D , 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 ) { 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   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 ) { B [ D ] = { } ; v a r   C = ( D ! = A ) | | ( t h i s . o p t i o n s . a l w a y s H i d e & & ( E . 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 ( C ? " 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 [ D ] , E ] ) ; 
 f o r ( v a r   F   i n   t h i s . e f f e c t s ) { B [ D ] [ F ] = C ? 0 : E [ t h i s . e f f e c t s [ F ] ] ; } } , t h i s ) ; r e t u r n   t h i s . s t a r t ( B ) ; } } ) ; 
