nl_tokens: eslint - disable - next - line max - statements
pl_tokens: function getCalculatedProps ( props , childComponents ) { const role = "group" ; props = Helpers . modifyProps ( props , fallbackProps , role ) ; const style = Wrapper . getStyle ( props . theme , props . style , role ) ; const { offset , colorScale , color , polar , horizontal } = props ; const categories = Wrapper . getCategories ( props , childComponents ) ; const datasets = Wrapper . getDataFromChildren ( props ) ; const domain = { x : Wrapper . getDomain ( assign ( { } , props , { categories } ) , "x" , childComponents ) , y : Wrapper . getDomain ( assign ( { } , props , { categories } ) , "y" , childComponents ) } ; const range = { x : Helpers . getRange ( props , "x" ) , y : Helpers . getRange ( props , "y" ) } ; const baseScale = { x : Scale . getScaleFromProps ( props , "x" ) || Wrapper . getScale ( props , "x" ) , y : Scale . getScaleFromProps ( props , "y" ) || Wrapper . getScale ( props , "y" ) } ; const scale = { x : baseScale . x . <mask> ( domain . x ) . range ( props . horizontal ? range . y : range . x ) , y : baseScale . y . domain ( domain . y ) . range ( props . horizontal ? range . x : range . y ) } ; const origin = polar ? props . origin : Helpers . getPolarOrigin ( props ) ; const padding = Helpers . getPadding ( props ) ; return { datasets , categories , range , domain , horizontal , scale , style , colorScale , color , offset , origin , padding } ; }