2019-10-26 02:17:07 +02:00
/*! This file is auto-generated */
2021-06-01 10:10:04 +02:00
this . wp = this . wp || { } , this . wp . editPost = function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var o = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var o in e ) n . d ( r , o , function ( t ) { return e [ t ] } . bind ( null , o ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "" , n ( n . s = "dSQ2" ) } ( { "0dt7" : function ( e , t , n ) { "use strict" ; n . d ( t , "a" , ( function ( ) { return r } ) ) , n . d ( t , "b" , ( function ( ) { return o } ) ) , n . d ( t , "c" , ( function ( ) { return a } ) ) ; const r = "core/edit-post" , o = "#wp-admin-bar-view a" , a = "#wp-admin-bar-preview a" } , "1ZqX" : function ( e , t ) { e . exports = window . wp . data } , "4qRI" : function ( e , t , n ) { "use strict" ; t . a = function ( e ) { var t = { } ; return function ( n ) { return void 0 === t [ n ] && ( t [ n ] = e ( n ) ) , t [ n ] } } } , "51Zz" : function ( e , t ) { e . exports = window . wp . dataControls } , "6aBm" : function ( e , t ) { e . exports = window . wp . mediaUtils } , "8oxB" : function ( e , t ) { var n , r , o = e . exports = { } ; function a ( ) { throw new Error ( "setTimeout has not been defined" ) } function i ( ) { throw new Error ( "clearTimeout has not been defined" ) } function c ( e ) { if ( n === setTimeout ) return setTimeout ( e , 0 ) ; if ( ( n === a || ! n ) && setTimeout ) return n = setTimeout , setTimeout ( e , 0 ) ; try { return n ( e , 0 ) } catch ( t ) { try { return n . call ( null , e , 0 ) } catch ( t ) { return n . call ( this , e , 0 ) } } } ! function ( ) { try { n = "function" == typeof setTimeout ? setTimeout : a } catch ( e ) { n = a } try { r = "function" == typeof clearTimeout ? clearTimeout : i } catch ( e ) { r = i } } ( ) ; var s , l = [ ] , u = ! 1 , d = - 1 ; function p ( ) { u && s && ( u = ! 1 , s . length ? l = s . concat ( l ) : d = - 1 , l . length && m ( ) ) } function m ( ) { if ( ! u ) { var e = c ( p ) ; u = ! 0 ; for ( var t = l . length ; t ; ) { for ( s = l , l = [ ] ; ++ d < t ; ) s && s [ d ] . run ( ) ; d = - 1 , t = l . length } s = null , u = ! 1 , function ( e ) { if ( r === clearTimeout ) return clearTimeout ( e ) ; if ( ( r === i || ! r ) && clearTimeout ) return r = clearTimeout , clearTimeout ( e ) ; try { r ( e ) } catch ( t ) { try { return r . call ( null , e ) } catch ( t ) { return r . call ( this , e ) } } } ( e ) } } function b ( e , t ) { this . fun = e , this . array = t } function f ( ) { } o . nextTick = function ( e ) { var t = new Array ( arguments . length - 1 ) ; if ( arguments . length > 1 ) for ( var n = 1 ; n < arguments . length ; n ++ ) t [ n - 1 ] = arguments [ n ] ; l . push ( new b ( e , t ) ) , 1 !== l . length || u || c ( m ) } , b . prototype . run = function ( ) { this . fun . apply ( null , this . array ) } , o . title = "browser" , o . browser = ! 0 , o . env = { } , o . argv = [ ] , o . version = "" , o . versions = { } , o . on = f , o . addListener = f , o . once = f , o . off = f , o . removeListener = f , o . removeAllListeners = f , o . emit = f , o . prependListener = f , o . prependOnceListener = f , o . listeners = function ( e ) { return [ ] } , o . binding = function ( e ) { throw new Error ( "process.binding is not supported" ) } , o . cwd = function ( ) { return "/" } , o . chdir = function ( e ) { throw new Error ( "process.chdir is not supported" ) } , o . umask = function ( ) { return 0 } } , "9uj6" : function ( e , t , n ) { "use strict" ; n . r ( t ) ; var r = n ( "4qRI" ) , o = / ^ ( ( c h i l d r e n | d a n g e r o u s l y S e t I n n e r H T M L | k e y | r e f | a u t o F o c u s | d e f a u l t V a l u e | d e f a u l t C h e c k e d | i n n e r H T M L | s u p p r e s s C o n t e n t E d i t a b l e W a r n i n g | s u p p r e s s H y d r a t i o n W a r n i n g | v a l u e L i n k | a c c e p t | a c c e p t C h a r s e t | a c c e s s K e y | a c t i o n | a l l o w | a l l o w U s e r M e d i a | a l l o w P a y m e n t R e q u e s t | a l l o w F u l l S c r e e n | a l l o w T r a n s p a r e n c y | a l t | a s y n c | a u t o C o m p l e t e | a u t o P l a y | c a p t u r e | c e l l P a d d i n g | c e l l S p a c i n g | c h a l l e n g e | c h a r S e t | c h e c k e d | c i t e | c l a s s I D | c l a s s N a m e | c o l s | c o l S p a n | c o n t e n t | c o n t e n t E d i t a b l e | c o n t e x t M e n u | c o n t r o l s | c o n t r o l s L i s t | c o o r d s | c r o s s O r i g i n | d a t a | d a t e T i m e | d e c o d i n g | d e f a u l t | d e f e r | d i r | d i s a b l e d | d i s a b l e P i c t u r e I n P i c t u r e | d o w n l o a d | d r a g g a b l e | e n c T y p e | f o r m | f o r m A c t i o n | f o r m E n c T y p e | f o r m M e t h o d | f o r m N o V a l i d a t e | f o r m T a r g e t | f r a m e B o r d e r | h e a d e r s | h e i g h t | h i d d e n | h i g h | h r e f | h r e f L a n g | h t m l F o r | h t t p E q u i v | i d | i n p u t M o d e | i n t e g r i t y | i s | k e y P a r a m s | k e y T y p e | k i n d | l a b e l | l a n g | l i s t | l o a d i n g | l o o p | l o w | m a r g i n H e i g h t | m a r g i n W i d t h | m a x | m a x L e n g t h | m e d i a | m e d i a G r o u p | m e t h o d | m i n | m i n L e n g t h | m u l t i p l e | m u t e d | n a m e | n o n c e | n
2021-05-27 02:17:06 +02:00
/ * !
Copyright ( c ) 2018 Jed Watson .
Licensed under the MIT License ( MIT ) , see
http : //jedwatson.github.io/classnames
2021-06-01 10:10:04 +02:00
* / ! f u n c t i o n ( ) { " u s e s t r i c t " ; v a r n = { } . h a s O w n P r o p e r t y ; f u n c t i o n o ( ) { f o r ( v a r e = [ ] , t = 0 ; t < a r g u m e n t s . l e n g t h ; t + + ) { v a r r = a r g u m e n t s [ t ] ; i f ( r ) { v a r a = t y p e o f r ; i f ( " s t r i n g " = = = a | | " n u m b e r " = = = a ) e . p u s h ( r ) ; e l s e i f ( A r r a y . i s A r r a y ( r ) ) { i f ( r . l e n g t h ) { v a r i = o . a p p l y ( n u l l , r ) ; i & & e . p u s h ( i ) } } e l s e i f ( " o b j e c t " = = = a ) i f ( r . t o S t r i n g = = = O b j e c t . p r o t o t y p e . t o S t r i n g ) f o r ( v a r c i n r ) n . c a l l ( r , c ) & & r [ c ] & & e . p u s h ( c ) ; e l s e e . p u s h ( r . t o S t r i n g ( ) ) } } r e t u r n e . j o i n ( " " ) } e . e x p o r t s ? ( o . d e f a u l t = o , e . e x p o r t s = o ) : v o i d 0 = = = ( r = f u n c t i o n ( ) { r e t u r n o } . a p p l y ( t , [ ] ) ) | | ( e . e x p o r t s = r ) } ( ) } , T q x 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = w i n d o w . w p . p r i m i t i v e s } , T v N i : f u n c t i o n ( e , t ) { e . e x p o r t s = w i n d o w . w p . p l u g i n s } , U 6 0 i : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . d ( t , " g " , ( f u n c t i o n ( ) { r e t u r n h } ) ) , n . d ( t , " b " , ( f u n c t i o n ( ) { r e t u r n U } ) ) , n . d ( t , " c " , ( f u n c t i o n ( ) { r e t u r n N } ) ) , n . d ( t , " d " , ( f u n c t i o n ( ) { r e t u r n H } ) ) , n . d ( t , " e " , ( f u n c t i o n ( ) { r e t u r n q } ) ) , n . d ( t , " f " , ( f u n c t i o n ( ) { r e t u r n D } ) ) , n . d ( t , " a " , ( f u n c t i o n ( ) { r e t u r n L } ) ) ; v a r r = { } ; n . r ( r ) , n . d ( r , " e n a b l e C o m p l e m e n t a r y A r e a " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n . d ( r , " d i s a b l e C o m p l e m e n t a r y A r e a " , ( f u n c t i o n ( ) { r e t u r n d } ) ) , n . d ( r , " p i n I t e m " , ( f u n c t i o n ( ) { r e t u r n m } ) ) , n . d ( r , " u n p i n I t e m " , ( f u n c t i o n ( ) { r e t u r n b } ) ) ; v a r o = { } ; n . r ( o ) , n . d ( o , " g e t A c t i v e C o m p l e m e n t a r y A r e a " , ( f u n c t i o n ( ) { r e t u r n f } ) ) , n . d ( o , " i s I t e m P i n n e d " , ( f u n c t i o n ( ) { r e t u r n v } ) ) ; v a r a = n ( " 1 Z q X " ) , i = n ( " Y L t l " ) ; c o n s t c = O b j e c t ( a . c o m b i n e R e d u c e r s ) ( { s i n g l e E n a b l e I t e m s : f u n c t i o n ( e = { } , { t y p e : t , i t e m T y p e : n , s c o p e : r , i t e m : o } ) { r e t u r n " S E T _ S I N G L E _ E N A B L E _ I T E M " = = = t & & n & & r ? { . . . e , [ n ] : { . . . e [ n ] , [ r ] : o | | n u l l } } : e } , m u l t i p l e E n a b l e I t e m s : f u n c t i o n ( e = { } , { t y p e : t , i t e m T y p e : n , s c o p e : r , i t e m : o , i s E n a b l e : a } ) { i f ( " S E T _ M U L T I P L E _ E N A B L E _ I T E M " ! = = t | | ! n | | ! r | | ! o | | O b j e c t ( i . g e t ) ( e , [ n , r , o ] ) = = = a ) r e t u r n e ; c o n s t c = e [ n ] | | { } , s = c [ r ] | | { } ; r e t u r n { . . . e , [ n ] : { . . . c , [ r ] : { . . . s , [ o ] : a | | ! 1 } } } } } ) ; v a r s = O b j e c t ( a . c o m b i n e R e d u c e r s ) ( { e n a b l e I t e m s : c } ) ; f u n c t i o n l ( e , t , n ) { r e t u r n { t y p e : " S E T _ S I N G L E _ E N A B L E _ I T E M " , i t e m T y p e : e , s c o p e : t , i t e m : n } } f u n c t i o n u ( e , t ) { r e t u r n l ( " c o m p l e m e n t a r y A r e a " , e , t ) } f u n c t i o n d ( e ) { r e t u r n l ( " c o m p l e m e n t a r y A r e a " , e , v o i d 0 ) } f u n c t i o n p ( e , t , n , r ) { r e t u r n { t y p e : " S E T _ M U L T I P L E _ E N A B L E _ I T E M " , i t e m T y p e : e , s c o p e : t , i t e m : n , i s E n a b l e : r } } f u n c t i o n m ( e , t ) { r e t u r n p ( " p i n n e d I t e m s " , e , t , ! 0 ) } f u n c t i o n b ( e , t ) { r e t u r n p ( " p i n n e d I t e m s " , e , t , ! 1 ) } f u n c t i o n f ( e , t ) { r e t u r n f u n c t i o n ( e , t , n ) { r e t u r n O b j e c t ( i . g e t ) ( e . e n a b l e I t e m s . s i n g l e E n a b l e I t e m s , [ t , n ] ) } ( e , " c o m p l e m e n t a r y A r e a " , t ) } f u n c t i o n v ( e , t , n ) { r e t u r n ! 1 ! = = f u n c t i o n ( e , t , n , r ) { r e t u r n O b j e c t ( i . g e t ) ( e . e n a b l e I t e m s . m u l t i p l e E n a b l e I t e m s , [ t , n , r ] ) } ( e , " p i n n e d I t e m s " , t , n ) } c o n s t h = O b j e c t ( a . c r e a t e R e d u x S t o r e ) ( " c o r e / i n t e r f a c e " , { r e d u c e r : s , a c t i o n s : r , s e l e c t o r s : o , p e r s i s t : [ " e n a b l e I t e m s " ] } ) ; O b j e c t ( a . r e g i s t e r S t o r e ) ( " c o r e / i n t e r f a c e " , { r e d u c e r : s , a c t i o n s : r , s e l e c t o r s : o , p e r s i s t : [ " e n a b l e I t e m s " ] } ) ; v a r g = n ( " w x 1 4 " ) , O = n ( " G R I d " ) , y = n ( " T S Y Q " ) , j = n . n ( y ) , E = n ( " t I + e " ) , _ = n ( " l 3 S j " ) , w = n ( " R M J e " ) , S = n ( " U R o b " ) , x = n ( " X x w i " ) , P = n ( " K E f o " ) , T = n ( " b W c r " ) , k = n ( " T v N i " ) , C = O b j e c t ( k . w i t h P l u g i n C o n t e x t ) ( ( e , t ) = > ( { i c o n : t . i c o n | | e . i c o n , i d e n t i f i e r : t . i d e n t i f i e r | | ` $ { e . n a m e } / $ { t . n a m e } ` } ) ) ; v a r A = C ( ( f u n c t i o n ( { a s : e = E . B u t t o n , s c o p e : t , i d e n t i f i e r : n , i c o n : r , s e l e c t e d I c o n : o , . . . c } ) { c o n s t s = e , l = O b j e c t ( a . u s e S e l e c t ) ( e = > e ( h ) . g e t A c t i v e C o m p l e m e n t a r y A r e a ( t ) = = = n , [ n ] ) , { e n a b l e C o m p l e m e n t a r y A r e a : u , d i s a b l e C o m p l e m e n t a r y A r e a : d } = O b j e c t ( a . u s e D i s p a t c h ) ( h ) ; r e t u r n O b j e c t ( O . c r e a t e E l e m e n t ) ( s , O b j e c t ( g . a ) ( { i c o n : o & & l ? o : r , o n C l i c k : ( ) = > { l ? d ( t ) : u ( t , n ) } } , O b j e c t ( i . o m i t ) ( c , [ " n a m e " ] ) ) ) } ) ) ; v a r M = ( { s m a l l S c r e e n T i t l e : e , c h i l d r e n : t , c l a s s N a m e : n , t o g g l e B u t t o n P r o p s : r } ) = > { c o n s t o = O b j e c t ( O . c r e a t e E l e m e n t ) ( A , O b j e c t ( g . a ) ( { i c o n : T . a } , r ) ) ; r e t u r n O b j e c t ( O . c r e a t e E l e m e n t ) ( O . F r a g m e n t , n u l l , O b j e c t ( O . c r e a t e E l e m e n t ) ( " d i v " , { c l a s s N a m e : " c o m p o n e n t s - p a n e l _ _ h e a d e r i n t e r f a c e - c o m p l e m e n t a r y - a r e a - h e a d e r _ _ s m a l l " } , e & & O b j e c t ( O . c r e a t e E l e m e n t ) ( " s p a n " , { c l a s s N a m e : " i n t e r f a c e - c o m p l e m e n t a r y - a r e a - h e a d e r _ _ s m a l l - t i t l e " } , e ) , o ) , O b j e c t ( O . c r e a t e E l e m e n t ) ( " d i v " , { c l a s s N a m e : j ( ) ( " c o m p o n e n t s - p a n e l _ _ h e a d e r " , " i n t e r f a c e - c o m p l e m e n t a r y - a r e a - h e a d e r " , n ) , t a b I n d e x : - 1 } , t , o ) ) } ; f u n c t i o n I ( { n a m e : e , a s : t = E . B u t t o n , o n C l i c k : n , . . . r } ) { r e t u r n O b j e c t ( O . c r e a t e E l e m e n t ) ( E . F i l l , { n a m e : e } , ( { o n C l i c k : e } ) = > O b j e c t ( O . c r e a t e E l e m e n t ) ( t , O b j e c t ( g . a ) ( { o n C l i c k : n | | e ? ( . . . t ) = > { ( n | | i . n o o p ) ( . . . t ) , ( e | | i . n o o p ) ( . . . t ) } : v o i d 0 } , r ) ) ) } I . S l o t = f u n c t i o n ( { n a m e : e , a s : t = E . B u t t o n G r o u p , f i l l P r o p s : n = { } , b u b b l e s V i r t u a l l y : r , . . . o } ) { r e t u r n O b j e c t ( O . c r e a t e E l e m e n t ) ( E . S l o t , { n a m e : e , b u b b l e s V i r t u a l l y : r , f i l l P r o p s : n } , e = >
2021-05-19 17:09:27 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Copyright ( c ) Microsoft Corporation .
Permission to use , copy , modify , and / or distribute this software for any
purpose with or without fee is hereby granted .
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS . IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL , DIRECT ,
INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE , DATA OR PROFITS , WHETHER IN AN ACTION OF CONTRACT , NEGLIGENCE OR
OTHER TORTIOUS ACTION , ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE .
2021-06-01 10:10:04 +02:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / f u n c t i o n V ( e , t ) { i f ( " f u n c t i o n " ! = t y p e o f t & & n u l l ! = = t ) t h r o w n e w T y p e E r r o r ( " C l a s s e x t e n d s v a l u e " + S t r i n g ( t ) + " i s n o t a c o n s t r u c t o r o r n u l l " ) ; f u n c t i o n n ( ) { t h i s . c o n s t r u c t o r = e } D ( e , t ) , e . p r o t o t y p e = n u l l = = = t ? O b j e c t . c r e a t e ( t ) : ( n . p r o t o t y p e = t . p r o t o t y p e , n e w n ) } v a r F = f u n c t i o n ( ) { r e t u r n ( F = O b j e c t . a s s i g n | | f u n c t i o n ( e ) { f o r ( v a r t , n = 1 , r = a r g u m e n t s . l e n g t h ; n < r ; n + + ) f o r ( v a r o i n t = a r g u m e n t s [ n ] ) 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 . c a l l ( t , o ) & & ( e [ o ] = t [ o ] ) ; r e t u r n e } ) . a p p l y ( t h i s , a r g u m e n t s ) } ; f u n c t i o n U ( e , t ) { v a r n = { } ; f o r ( v a r r i n e ) 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 . c a l l ( e , r ) & & t . i n d e x O f ( r ) < 0 & & ( n [ r ] = e [ r ] ) ; i f ( n u l l ! = e & & " f u n c t i o n " = = t y p e o f O b j e c t . g e t O w n P r o p e r t y S y m b o l s ) { v a r o = 0 ; f o r ( r = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( e ) ; o < r . l e n g t h ; o + + ) t . i n d e x O f ( r [ o ] ) < 0 & & O b j e c t . p r o t o t y p e . p r o p e r t y I s E n u m e r a b l e . c a l l ( e , r [ o ] ) & & ( n [ r [ o ] ] = e [ r [ o ] ] ) } r e t u r n n } O b j e c t . c r e a t e ; f u n c t i o n G ( e , t ) { v a r n = " f u n c t i o n " = = t y p e o f S y m b o l & & e [ S y m b o l . i t e r a t o r ] ; i f ( ! n ) r e t u r n e ; v a r r , o , a = n . c a l l ( e ) , i = [ ] ; t r y { f o r ( ; ( v o i d 0 = = = t | | t - - > 0 ) & & ! ( r = a . n e x t ( ) ) . d o n e ; ) i . p u s h ( r . v a l u e ) } c a t c h ( e ) { o = { e r r o r : e } } f i n a l l y { t r y { r & & ! r . d o n e & & ( n = a . r e t u r n ) & & n . c a l l ( a ) } f i n a l l y { i f ( o ) t h r o w o . e r r o r } } r e t u r n i } f u n c t i o n H ( e , t ) { f o r ( v a r n = 0 , r = t . l e n g t h , o = e . l e n g t h ; n < r ; n + + , o + + ) e [ o ] = t [ n ] ; r e t u r n e } O b j e c t . c r e a t e ; v a r z = n ( " c D c d " ) , q = n . n ( z ) , W = f u n c t i o n ( e ) { r e t u r n { i s E n a b l e d : f u n c t i o n ( t ) { r e t u r n e . s o m e ( ( f u n c t i o n ( e ) { r e t u r n ! ! t [ e ] } ) ) } } } , Y = { m e a s u r e L a y o u t : W ( [ " l a y o u t " , " l a y o u t I d " , " d r a g " , " _ l a y o u t R e s e t T r a n s f o r m " ] ) , a n i m a t i o n : W ( [ " a n i m a t e " , " e x i t " , " v a r i a n t s " , " w h i l e H o v e r " , " w h i l e T a p " , " w h i l e F o c u s " , " w h i l e D r a g " ] ) , e x i t : W ( [ " e x i t " ] ) , d r a g : W ( [ " d r a g " , " d r a g C o n t r o l s " ] ) , f o c u s : W ( [ " w h i l e F o c u s " ] ) , h o v e r : W ( [ " w h i l e H o v e r " , " o n H o v e r S t a r t " , " o n H o v e r E n d " ] ) , t a p : W ( [ " w h i l e T a p " , " o n T a p " , " o n T a p S t a r t " , " o n T a p C a n c e l " ] ) , p a n : W ( [ " o n P a n " , " o n P a n S t a r t " , " o n P a n S e s s i o n S t a r t " , " o n P a n E n d " ] ) , l a y o u t A n i m a t i o n : W ( [ " l a y o u t " , " l a y o u t I d " ] ) } ; v a r X = O b j e c t ( z . c r e a t e C o n t e x t ) ( { s t r i c t : ! 1 } ) , K = O b j e c t . k e y s ( Y ) , Z = K . l e n g t h ; v a r Q = O b j e c t ( z . c r e a t e C o n t e x t ) ( { t r a n s f o r m P a g e P o i n t : f u n c t i o n ( e ) { r e t u r n e } , i s S t a t i c : ! 1 } ) , $ = O b j e c t ( z . c r e a t e C o n t e x t ) ( { } ) ; v a r J = O b j e c t ( z . c r e a t e C o n t e x t ) ( n u l l ) ; f u n c t i o n e e ( e ) { v a r t = O b j e c t ( z . u s e R e f ) ( n u l l ) ; r e t u r n n u l l = = = t . c u r r e n t & & ( t . c u r r e n t = e ( ) ) , t . c u r r e n t } f u n c t i o n t e ( ) { v a r e = O b j e c t ( z . u s e C o n t e x t ) ( J ) ; i f ( n u l l = = = e ) r e t u r n [ ! 0 , n u l l ] ; v a r t = e . i s P r e s e n t , n = e . o n E x i t C o m p l e t e , r = e . r e g i s t e r , o = a e ( ) ; O b j e c t ( z . u s e E f f e c t ) ( ( f u n c t i o n ( ) { r e t u r n r ( o ) } ) , [ ] ) ; r e t u r n ! t & & n ? [ ! 1 , f u n c t i o n ( ) { r e t u r n n u l l = = n ? v o i d 0 : n ( o ) } ] : [ ! 0 ] } f u n c t i o n n e ( e ) { r e t u r n n u l l = = = e | | e . i s P r e s e n t } v a r r e = 0 , o e = f u n c t i o n ( ) { r e t u r n r e + + } , a e = f u n c t i o n ( ) { r e t u r n e e ( o e ) } , i e = O b j e c t ( z . c r e a t e C o n t e x t ) ( n u l l ) , c e = " u n d e f i n e d " ! = t y p e o f w i n d o w , s e = c e ? z . u s e L a y o u t E f f e c t : z . u s e E f f e c t ; f u n c t i o n l e ( e , t , n , r ) { v a r o = O b j e c t ( z . u s e C o n t e x t ) ( Q ) , a = O b j e c t ( z . u s e C o n t e x t ) ( X ) , i = O b j e c t ( z . u s e C o n t e x t ) ( $ ) . v i s u a l E l e m e n t , c = O b j e c t ( z . u s e C o n t e x t ) ( J ) , s = f u n c t i o n ( e ) { v a r t = e . l a y o u t I d , n = O b j e c t ( z . u s e C o n t e x t ) ( i e ) ; r e t u r n n & & v o i d 0 ! = = t ? n + " - " + t : t } ( n ) , l = O b j e c t ( z . u s e R e f ) ( v o i d 0 ) ; r | | ( r = a . r e n d e r e r ) , ! l . c u r r e n t & & r & & ( l . c u r r e n t = r ( e , { v i s u a l S t a t e : t , p a r e n t : i , p r o p s : F ( F ( { } , n ) , { l a y o u t I d : s } ) , p r e s e n c e I d : n u l l = = c ? v o i d 0 : c . i d , b l o c k I n i t i a l A n i m a t i o n : ! 1 = = = ( n u l l = = c ? v o i d 0 : c . i n i t i a l ) } ) ) ; v a r u = l . c u r r e n t ; r e t u r n s e ( ( f u n c t i o n ( ) { u & & ( u . s e t P r o p s ( F ( F ( F ( { } , o ) , n ) , { l a y o u t I d : s } ) ) , u . i s P r e s e n t = n e ( c ) , u . i s P r e s e n c e R o o t = ! i | | i . p r e s e n c e I d ! = = ( n u l l = = c ? v o i d 0 : c . i d ) , u . s y n c R e n d e r ( ) ) } ) ) , O b j e c t ( z . u s e E f f e c t ) ( ( f u n c t i o n ( ) { v a r e ; u & & ( n u l l = = = ( e = u . a n i m a t i o n S t a t e ) | | v o i d 0 = = = e | | e . a n i m a t e C h a n g e s ( ) ) } ) ) , s e ( ( f u n c t i o n ( ) { r e t u r n f u n c t i o n ( ) { r e t u r n n u l l = = u ? v o i d 0 : u . n o t i f y U n m o u n t ( ) } } ) , [ ] ) , u } f u n c t i o n u e ( e ) { r e t u r n " o b j e c t " = = t y p e o f e & & 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 . c a l l ( e , " c u r r e n t " ) } f u n c t i o n d e ( e ) { r e t u r n A r r a y . i s A r r a y ( e ) } f u n c t i o n p e ( e ) { r e t u r n " s t r i n g " = = t y p e o f e | | d e ( e ) } f u n c t i o n m e ( e , t , n , r , o ) { v a r a ; r e t u r n v o i d 0 = = = r & & ( r = { } ) , v o i d 0 = = = o & & ( o = { } ) , " s t r i n g " = = t y p e o f t & & ( t = n u l l = = = ( a = e . v a r i a n t s ) | | v o i d 0 = = = a ? v o i d 0 : a [ t ] ) , " f u n c t i o n " = = t y p e o f t ? t ( n u l l ! = n ? n : e . c u s t o m , r , o ) : t } f u n c t i o n b e ( e , t , n ) { v a r r = e . g e t P r o p s ( ) ; r e t u r n m e ( r , t , n u l l ! = n ? n : r . c u s t o m , f u n c t i o n ( e ) { v a r t = { } ; r e t u r n e . f o r E a c h V a l u e ( ( f u n c t i o n ( e , n ) { r e t u r n t [ n ] = e . g e t ( ) } ) ) , t } ( e ) , f u n c t i o n ( e ) { v a r t = { } ; r e t u r n e . f o r E a c h V a l u e ( ( f u n c t i o n ( e , n ) { r e t u r n t [ n ] = e . g e t V e l o c i t y ( ) } ) ) , t } ( e ) ) } f u n c t i o n f e ( e ) { v a r t ; r e t u r n " f u n c t i o n " = = t y p e o f ( n u l l = = = ( t = e . a n i m a t e ) |
2021-05-07 13:48:27 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Copyright ( c ) Microsoft Corporation .
Permission to use , copy , modify , and / or distribute this software for any
purpose with or without fee is hereby granted .
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS . IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL , DIRECT ,
INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE , DATA OR PROFITS , WHETHER IN AN ACTION OF CONTRACT , NEGLIGENCE OR
OTHER TORTIOUS ACTION , ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE .
2021-06-01 10:10:04 +02:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /var Ne=function(){return(Ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;Object.create;var Re=function(e,t){return function(n){return Math.max(Math.min(n,t),e)}},De=function(e){return e%1?Number(e.toFixed(5)):e},Ve=/ ( - ) ? ( [ \ d ] * \ . ? [ \ d ] ) + /g,Fe=/ ( # [ 0 - 9 a - f ] { 6 } | # [ 0 - 9 a - f ] { 3 } | # ( ? : [ 0 - 9 a - f ] { 2 } ) { 2 , 4 } | ( rgb | hsl ) a ? \ ( ( - ? [ \ d \ . ] + % ? [ , \ s ] + ) { 2 , 3 } \ s * \ / * \ s * [ \ d \ . ] + % ? \ ) ) / gi , Ue = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i ; function Ge ( e ) { return "string" == typeof e } var He = function ( e ) { return { test : function ( t ) { return Ge ( t ) && t . endsWith ( e ) && 1 === t . split ( " " ) . length } , parse : parseFloat , transform : function ( t ) { return "" + t + e } } } , ze = He ( "deg" ) , qe = He ( "%" ) , We = He ( "px" ) , Ye = He ( "vh" ) , Xe = He ( "vw" ) , Ke = Ne ( Ne ( { } , qe ) , { parse : function ( e ) { return qe . parse ( e ) / 100 } , transform : function ( e ) { return qe . transform ( 100 * e ) } } ) , Ze = { test : function ( e ) { return "number" == typeof e } , parse : parseFloat , transform : function ( e ) { return e } } , Qe = Ne ( Ne ( { } , Ze ) , { transform : Re ( 0 , 1 ) } ) , $e = Ne ( Ne ( { } , Ze ) , { default : 1 } ) , Je = F ( F ( { } , Ze ) , { transform : Math . round } ) , et = { borderWidth : We , borderTopWidth : We , borderRightWidth : We , borderBottomWidth : We , borderLeftWidth : We , borderRadius : We , radius : We , borderTopLeftRadius : We , borderTopRightRadius : We , borderBottomRightRadius : We , borderBottomLeftRadius : We , width : We , maxWidth : We , height : We , maxHeight : We , size : We , top : We , right : We , bottom : We , left : We , padding : We , paddingTop : We , paddingRight : We , paddingBottom : We , paddingLeft : We , margin : We , marginTop : We , marginRight : We , marginBottom : We , marginLeft : We , rotate : ze , rotateX : ze , rotateY : ze , rotateZ : ze , scale : $e , scaleX : $e , scaleY : $e , scaleZ : $e , skew : ze , skewX : ze , skewY : ze , distance : We , translateX : We , translateY : We , translateZ : We , x : We , y : We , z : We , perspective : We , transformPerspective : We , opacity : Qe , originX : Ke , originY : Ke , originZ : We , zIndex : Je , fillOpacity : Qe , strokeOpacity : Qe , numOctaves : Je } ; function tt ( e , t , n , r , o , a , i , c ) { var s , l = e . style , u = e . vars , d = e . transform , p = e . transformKeys , m = e . transformOrigin ; p . length = 0 ; var b = ! 1 , f = ! 1 , v = ! 0 ; for ( var h in t ) { var g = t [ h ] ; if ( Le ( h ) ) u [ h ] = g ; else { var O = et [ h ] , y = Be ( g , O ) ; if ( Te ( h ) ) { if ( b = ! 0 , d [ h ] = y , p . push ( h ) , ! v ) continue ; g !== ( null !== ( s = O . default ) && void 0 !== s ? s : 0 ) && ( v = ! 1 ) } else if ( Ce ( h ) ) m [ h ] = y , f = ! 0 ; else if ( ( null == n ? void 0 : n . isHydrated ) && ( null == r ? void 0 : r . isHydrated ) && _e [ h ] ) { var j = _e [ h ] . process ( g , r , n ) , E = _e [ h ] . applyTo ; if ( E ) for ( var _ = E . length , w = 0 ; w < _ ; w ++ ) l [ E [ w ] ] = j ; else l [ h ] = j } else l [ h ] = y } } r && n && i && c ? ( l . transform = i ( r . deltaFinal , r . treeScale , b ? d : void 0 ) , a && ( l . transform = a ( d , l . transform ) ) , l . transformOrigin = c ( r ) ) : ( b && ( l . transform = function ( e , t , n , r ) { var o = e . transform , a = e . transformKeys , i = t . enableHardwareAcceleration , c = void 0 === i || i , s = t . allowTransformNone , l = void 0 === s || s , u = "" ; a . sort ( xe ) ; for ( var d = ! 1 , p = a . length , m = 0 ; m < p ; m ++ ) { var b = a [ m ] ; u += ( Ie [ b ] || b ) + "(" + o [ b ] + ") " , "z" === b && ( d = ! 0 ) } return ! d && c ? u += "translateZ(0)" : u = u . trim ( ) , r ? u = r ( o , n ? "" : u ) : l && n && ( u = "none" ) , u } ( e , o , v , a ) ) , f && ( l . transformOrigin = function ( e ) { var t = e . originX , n = void 0 === t ? "50%" : t , r = e . originY , o = void 0 === r ? "50%" : r , a = e . originZ ; return n + " " + o + " " + ( void 0 === a ? 0 : a ) } ( m ) ) ) } var nt = function ( ) { return { style : { } , transform : { } , transformKeys : [ ] , transformOrigin : { } , vars : { } } } ; function rt ( e , t , n ) { for ( var r in t ) Me ( t [ r ] ) || Ae ( r , n ) || ( e [ r ] = t [ r ] ) } function ot ( e , t , n ) { var r = { } ; return rt ( r , e . style || { } , e ) , Object . assign ( r , function ( e , t , n ) { var r = e . transformTemplate ; return Object ( z . useMemo ) ( ( function ( ) { var e = { style : { } , transform : { } , transformKeys : [ ] , transformOrigin : { } , vars : { } } ; tt ( e , t , void 0 , void 0 , { enableHardwareAcceleration : ! n } , r ) ; var o = e . style ; return F ( F ( { } , e . vars ) , o ) } ) , [ t ] ) } ( e , t , n ) ) , e . transformValues && ( r = e . transformValues ( r ) ) , r } function at ( e , t , n ) { var r = { } , o = ot ( e , t , n ) ; return Boolean ( e . drag ) && ( r . draggable = ! 1 , o . userSelect = o . WebkitUserSelect = o . WebkitTouchCallout = "none" , o . touchAction = ! 0 === e . drag ? "none" : "pan-" + ( "x" === e . drag ? "y" : "x" ) ) , r . style = o , r } var it = new Set ( [ "initial" , "animate" , "exit" , "style" , "variants" , "transition" , "transformTemplate" , "transformValues" , "custom" , "inherit" , "layout" , "layoutId" , " _layoutResetT
2021-05-19 17:09:27 +02:00
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Copyright ( c ) Microsoft Corporation .
Permission to use , copy , modify , and / or distribute this software for any
purpose with or without fee is hereby granted .
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS . IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL , DIRECT ,
INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE , DATA OR PROFITS , WHETHER IN AN ACTION OF CONTRACT , NEGLIGENCE OR
OTHER TORTIOUS ACTION , ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE .
2021-06-08 10:09:53 +02:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * / v a r l n = f u n c t i o n ( ) { r e t u r n ( l n = O b j e c t . a s s i g n | | f u n c t i o n ( e ) { f o r ( v a r t , n = 1 , r = a r g u m e n t s . l e n g t h ; n < r ; n + + ) f o r ( v a r o i n t = a r g u m e n t s [ n ] ) 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 . c a l l ( t , o ) & & ( e [ o ] = t [ o ] ) ; r e t u r n e } ) . a p p l y ( t h i s , a r g u m e n t s ) } ; f u n c t i o n u n ( e , t ) { v a r n = { } ; f o r ( v a r r i n e ) 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 . c a l l ( e , r ) & & t . i n d e x O f ( r ) < 0 & & ( n [ r ] = e [ r ] ) ; i f ( n u l l ! = e & & " f u n c t i o n " = = t y p e o f O b j e c t . g e t O w n P r o p e r t y S y m b o l s ) { v a r o = 0 ; f o r ( r = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( e ) ; o < r . l e n g t h ; o + + ) t . i n d e x O f ( r [ o ] ) < 0 & & O b j e c t . p r o t o t y p e . p r o p e r t y I s E n u m e r a b l e . c a l l ( e , r [ o ] ) & & ( n [ r [ o ] ] = e [ r [ o ] ] ) } r e t u r n n } O b j e c t . c r e a t e ; O b j e c t . c r e a t e ; v a r d n = f u n c t i o n ( e , t , n ) { r e t u r n M a t h . m i n ( M a t h . m a x ( n , e ) , t ) } ; f u n c t i o n p n ( e ) { v a r t , n , r = e . d u r a t i o n , o = v o i d 0 = = = r ? 8 0 0 : r , a = e . b o u n c e , i = v o i d 0 = = = a ? . 2 5 : a , c = e . v e l o c i t y , s = v o i d 0 = = = c ? 0 : c , l = e . m a s s , u = v o i d 0 = = = l ? 1 : l , d = 1 - i ; d = d n ( . 0 5 , 1 , d ) , o = d n ( . 0 1 , 1 0 , o / 1 e 3 ) , d < 1 ? ( t = f u n c t i o n ( e ) { v a r t = e * d , n = t * o ; r e t u r n . 0 0 1 - ( t - s ) / m n ( e , d ) * M a t h . e x p ( - n ) } , n = f u n c t i o n ( e ) { v a r n = e * d * o , r = n * s + s , a = M a t h . p o w ( d , 2 ) * M a t h . p o w ( e , 2 ) * o , i = M a t h . e x p ( - n ) , c = m n ( M a t h . p o w ( e , 2 ) , d ) ; r e t u r n ( . 0 0 1 - t ( e ) > 0 ? - 1 : 1 ) * ( ( r - a ) * i ) / c } ) : ( t = f u n c t i o n ( e ) { r e t u r n M a t h . e x p ( - e * o ) * ( ( e - s ) * o + 1 ) - . 0 0 1 } , n = f u n c t i o n ( e ) { r e t u r n M a t h . e x p ( - e * o ) * ( o * o * ( s - e ) ) } ) ; v a r p = f u n c t i o n ( e , t , n ) { f o r ( v a r r = n , o = 1 ; o < 1 2 ; o + + ) r - = e ( r ) / t ( r ) ; r e t u r n r } ( t , n , 5 / o ) ; i f ( o * = 1 e 3 , i s N a N ( p ) ) r e t u r n { s t i f f n e s s : 1 0 0 , d a m p i n g : 1 0 , d u r a t i o n : o } ; v a r m = M a t h . p o w ( p , 2 ) * u ; r e t u r n { s t i f f n e s s : m , d a m p i n g : 2 * d * M a t h . s q r t ( u * m ) , d u r a t i o n : o } } f u n c t i o n m n ( e , t ) { r e t u r n e * M a t h . s q r t ( 1 - t * t ) } v a r b n = [ " d u r a t i o n " , " b o u n c e " ] , f n = [ " s t i f f n e s s " , " d a m p i n g " , " m a s s " ] ; f u n c t i o n v n ( e , t ) { r e t u r n t . s o m e ( ( f u n c t i o n ( t ) { r e t u r n v o i d 0 ! = = e [ t ] } ) ) } f u n c t i o n h n ( e ) { v a r t = e . f r o m , n = v o i d 0 = = = t ? 0 : t , r = e . t o , o = v o i d 0 = = = r ? 1 : r , a = e . r e s t S p e e d , i = v o i d 0 = = = a ? 2 : a , c = e . r e s t D e l t a , s = u n ( e , [ " f r o m " , " t o " , " r e s t S p e e d " , " r e s t D e l t a " ] ) , l = { d o n e : ! 1 , v a l u e : n } , u = f u n c t i o n ( e ) { v a r t = l n ( { v e l o c i t y : 0 , s t i f f n e s s : 1 0 0 , d a m p i n g : 1 0 , m a s s : 1 , i s R e s o l v e d F r o m D u r a t i o n : ! 1 } , e ) ; i f ( ! v n ( e , f n ) & & v n ( e , b n ) ) { v a r n = p n ( e ) ; ( t = l n ( l n ( l n ( { } , t ) , n ) , { v e l o c i t y : 0 , m a s s : 1 } ) ) . i s R e s o l v e d F r o m D u r a t i o n = ! 0 } r e t u r n t } ( s ) , d = u . s t i f f n e s s , p = u . d a m p i n g , m = u . m a s s , b = u . v e l o c i t y , f = u . d u r a t i o n , v = u . i s R e s o l v e d F r o m D u r a t i o n , h = g n , g = g n ; f u n c t i o n O ( ) { v a r e = b ? - b / 1 e 3 : 0 , t = o - n , r = p / ( 2 * M a t h . s q r t ( d * m ) ) , a = M a t h . s q r t ( d / m ) / 1 e 3 ; i f ( n u l l ! = c | | ( c = M a t h . a b s ( o - n ) < = 1 ? . 0 1 : . 4 ) , r < 1 ) { v a r i = m n ( a , r ) ; h = f u n c t i o n ( n ) { v a r c = M a t h . e x p ( - r * a * n ) ; r e t u r n o - c * ( ( e + r * a * t ) / i * M a t h . s i n ( i * n ) + t * M a t h . c o s ( i * n ) ) } , g = f u n c t i o n ( n ) { v a r o = M a t h . e x p ( - r * a * n ) ; r e t u r n r * a * o * ( M a t h . s i n ( i * n ) * ( e + r * a * t ) / i + t * M a t h . c o s ( i * n ) ) - o * ( M a t h . c o s ( i * n ) * ( e + r * a * t ) - i * t * M a t h . s i n ( i * n ) ) } } e l s e i f ( 1 = = = r ) h = f u n c t i o n ( n ) { r e t u r n o - M a t h . e x p ( - a * n ) * ( t + ( e + a * t ) * n ) } ; e l s e { v a r s = a * M a t h . s q r t ( r * r - 1 ) ; h = f u n c t i o n ( n ) { v a r i = M a t h . e x p ( - r * a * n ) , c = M a t h . m i n ( s * n , 3 0 0 ) ; r e t u r n o - i * ( ( e + r * a * t ) * M a t h . s i n h ( c ) + s * t * M a t h . c o s h ( c ) ) / s } } } r e t u r n O ( ) , { n e x t : f u n c t i o n ( e ) { v a r t = h ( e ) ; i f ( v ) l . d o n e = e > = f ; e l s e { v a r n = 1 e 3 * g ( e ) , r = M a t h . a b s ( n ) < = i , a = M a t h . a b s ( o - t ) < = c ; l . d o n e = r & & a } r e t u r n l . v a l u e = l . d o n e ? o : t , l } , f l i p T a r g e t : f u n c t i o n ( ) { v a r e ; b = - b , n = ( e = [ o , n ] ) [ 0 ] , o = e [ 1 ] , O ( ) } } } h n . n e e d s I n t e r p o l a t i o n = f u n c t i o n ( e , t ) { r e t u r n " s t r i n g " = = t y p e o f e | | " s t r i n g " = = t y p e o f t } ; v a r g n = f u n c t i o n ( e ) { r e t u r n 0 } , O n = f u n c t i o n ( e , t , n ) { v a r r = t - e ; r e t u r n 0 = = = r ? 1 : ( n - e ) / r } , y n = f u n c t i o n ( e , t , n ) { r e t u r n - n * e + n * t + e } , j n = f u n c t i o n ( e , t ) { r e t u r n f u n c t i o n ( n ) { r e t u r n B o o l e a n ( G e ( n ) & & U e . t e s t ( n ) & & n . s t a r t s W i t h ( e ) | | t & & 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 . c a l l ( n , t ) ) } } , E n = f u n c t i o n ( e , t , n ) { r e t u r n f u n c t i o n ( r ) { v a r o ; i f ( ! G e ( r ) ) r e t u r n r ; v a r a = r . m a t c h ( V e ) , i = a [ 0 ] , c = a [ 1 ] , s = a [ 2 ] , l = a [ 3 ] ; r e t u r n ( o = { } ) [ e ] = p a r s e F l o a t ( i ) , o [ t ] = p a r s e F l o a t ( c ) , o [ n ] = p a r s e F l o a t ( s ) , o . a l p h a = v o i d 0 ! = = l ? p a r s e F l o a t ( l ) : 1 , o } } , _ n = R e ( 0 , 2 5 5 ) , w n = N e ( N e ( { } , Z e ) , { t r a n s f o r m : f u n c t i o n ( e ) { r e t u r n M a t h . r o u n d ( _ n ( e ) ) } } ) , S n = { t e s t : j n ( " r g b " , " r e d " ) , p a r s e : E n ( " r e d " , " g r e e n " , " b l u e " ) , t r a n s f o r m : f u n c t i o n ( e ) { v a r t = e . r e d , n = e . g r e e n , r = e . b l u e , o = e . a l p h a , a = v o i d 0 = = = o ? 1 : o ; r e t u r n " r g b a ( " + w n . t r a n s f o r m ( t ) + " , " + w n . t r a n s f o r m ( n ) + " , " + w n . t r a n s f o r m ( r ) + " , " + D e ( Q e . t r a n s f o r m ( a ) ) + " ) " } } ; v a r x n = { t e s t : j n ( " # " ) , p a r s e : f u n c t i o n ( e ) { v a r t = " " , n = " " , r = " " , o = " " ; r e t u r n e . l e n g t h > 5 ? ( t = e . s u b s t r ( 1 , 2 ) , n = e . s u b s t r ( 3 , 2 ) , r = e . s u b s t r ( 5 , 2 ) , o = e . s u b s t r ( 7 , 2 ) ) : ( t = e . s u b s t r ( 1 , 1 ) , n = e . s u b s t r ( 2 , 1 ) , r = e . s u b s t r ( 3 , 1 ) , o = e . s u b s t r ( 4 , 1 ) , t + = t , n + = n , r + = r , o + = o ) , { r e d : p a r s e I n t ( t , 1 6 ) , g r e e n : p a r s e I n t ( n , 1 6 ) , b l u e : p a r s e I n t ( r , 1 6 ) , a l p h a : o ? p a r s e I n t ( o , 1 6 ) / 2 5 5 : 1 } } ,