e\":{\"x\":{\"value\":\"-12\"}}}},\"mobile\":{\"transform\":{\"translate\":{\"x\":{\"value\":\"0\"},\"y\":{\"value\":\"0\"}}}}},\"border\":{\"top\":{\"style\":\"solid\",\"color\":\"${theme.colors.0}\",\"width\":{\"value\":\"0\",\"unit\":\"px\"}},\"right\":{\"style\":\"solid\",\"color\":\"${theme.colors.0}\",\"width\":{\"value\":\"0\",\"unit\":\"px\"}},\"bottom\":{\"style\":\"solid\",\"color\":\"${theme.colors.0}\",\"width\":{\"value\":\"0\",\"unit\":\"px\"}},\"left\":{\"style\":\"solid\",\"color\":\"${theme.colors.0}\",\"width\":{\"value\":\"0\",\"unit\":\"px\"}}}},\"props\":{\"attrs\":{\"overflowOption\":\"visible\"}},\"v\":\"1.1\",\"nodes\":[\"7463-c38\"]},{\"id\":3175,\"type\":\"hop-column\",\"style\":{\"padding\":{\"left\":{\"unit\":\"px\",\"value\":\"\"},\"right\":{\"unit\":\"px\",\"value\":\"\"},\"top\":{\"unit\":\"px\",\"value\":\"\"},\"bottom\":{\"unit\":\"px\",\"value\":\"\"}},\"descendants\":{\"outer\":{\"padding\":{\"left\":{\"unit\":\"px\",\"value\":\"\"},\"right\":{\"unit\":\"px\",\"value\":\"\"},\"top\":{\"unit\":\"px\",\"value\":\"\"},\"bottom\":{\"unit\":\"px\",\"value\":\"\"}}}},\"textAlign\":\"left\",\"media\":{\"mobile\":{\"textAlign\":\"center\"}}},\"props\":{\"verticalAlign\":\"center\",\"layout\":{\"horizontalInnerGap\":2,\"verticalInnerGap\":2}},\"v\":\"1.1\",\"nodes\":[\"7463-c33\"]},{\"id\":3176,\"type\":\"hop-heading\",\"props\":{\"headerType\":\"2\"},\"v\":\"1.1\",\"nodes\":[\"7463-c34\"],\"style\":{\"typography\":{\"color\":\"${theme.colors.1}\"},\"media\":{\"mobile\":{\"typography\":{\"size\":{\"unit\":\"em\",\"value\":\"2.4\"}}}}}},{\"id\":3177,\"type\":\"hop-text\",\"props\":{\"type\":\"lead\"},\"v\":\"1.1\",\"nodes\":[\"7463-c35\"]},{\"id\":3178,\"type\":\"hop-button-group\",\"v\":\"1.1\",\"nodes\":[\"7463-c36\"]},{\"id\":3184,\"props\":{\"layout\":{\"equalWidth\":false}},\"type\":\"hop-row\",\"nodeId\":\"7463-c93\",\"nodes\":[\"7463-c74\"],\"v\":\"1.1\"},{\"id\":3185,\"type\":\"hop-column\",\"nodeId\":\"7463-c94\",\"nodes\":[\"7463-c75\"],\"v\":\"1.1\"},{\"id\":3186,\"type\":\"hop-content\",\"v\":\"1.1\",\"nodes\":[\"7465-c1\"]},{\"id\":3205,\"type\":\"hop-section\",\"style\":{\"padding\":{\"top\":{\"path\":\"value\",\"value\":\"90\"}},\"media\":{\"mobile\":{\"margin\":{\"top\":{\"value\":\"0\",\"unit\":\"px\"},\"right\":{\"unit\":\"px\"},\"bottom\":{\"unit\":\"px\"},\"left\":{\"unit\":\"px\"}}}}},\"v\":\"1.1\",\"nodes\":[\"7465-c2\"]},{\"id\":3206,\"props\":{\"layout\":{\"equalWidth\":false,\"verticalGap\":0,\"horizontalGap\":0,\"equalHeight\":true}},\"type\":\"hop-row\",\"style\":{\"boxShadow\":{\"enabled\":true,\"layers\":[{\"y\":\"4\",\"color\":\"rgba(74, 74, 74, 0.3)\"}]},\"media\":{\"mobile\":{\"margin\":{\"top\":{\"value\":\"15\",\"unit\":\"px\"},\"right\":{\"value\":\"15\",\"unit\":\"px\"},\"bottom\":{\"value\":\"15\",\"unit\":\"px\"},\"left\":{\"value\":\"15\",\"unit\":\"px\"}}}}},\"v\":\"1.1\",\"nodes\":[\"7465-c3\"]},{\"id\":3207,\"type\":\"hop-column\",\"style\":{\"background\":{\"type\":\"image\",\"image\":[{\"source\":{\"type\":\"image\",\"url\":\"https:\\\/\\\/polydus.de\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/cropped-IMG_5157.jpg\"}}],\"overlay\":{\"enabled\":true,\"color\":{\"value\":\"${theme.colors.4}\",\"opacity\":\"0.35\"}}},\"media\":{\"mobile\":{\"customHeight\":{\"min-height\":{\"unit\":\"px\",\"value\":\"250\"},\"type\":\"min-height\"}}}},\"props\":{\"layout\":{\"verticalInnerGap\":0,\"horizontalInnerGap\":0},\"hide\":{\"mobile\":false}},\"v\":\"1.1\",\"nodes\":[\"7465-c4\"]},{\"id\":3208,\"type\":\"hop-column\",\"style\":{\"background\":{\"color\":\"${theme.colors.4}\"},\"padding\":{\"top\":{\"value\":\"4\",\"unit\":\"rem\"},\"right\":{\"value\":\"4\",\"unit\":\"rem\"},\"bottom\":{\"value\":\"4\",\"unit\":\"rem\"},\"left\":{\"value\":\"4\",\"unit\":\"rem\"}},\"textAlign\":\"left\",\"media\":{\"mobile\":{\"textAlign\":\"center\",\"padding\":{\"top\":{\"value\":\"2\",\"unit\":\"rem\"},\"right\":{\"value\":\"2\",\"unit\":\"rem\"},\"bottom\":{\"value\":\"2\",\"unit\":\"rem\"},\"left\":{\"value\":\"2\",\"unit\":\"rem\"}}}},\"customHeight\":{\"min-height\":{\"unit\": ''; } // This is hardcoded on purpose. // We only support a fixed list of attributes. $attributes_to_merge = array( 'style', 'class' ); $attributes = array(); foreach ( $attributes_to_merge as $attribute_name ) { if ( empty( $new_attributes[ $attribute_name ] ) && empty( $extra_attributes[ $attribute_name ] ) ) { continue; } if ( empty( $new_attributes[ $attribute_name ] ) ) { $attributes[ $attribute_name ] = $extra_attributes[ $attribute_name ]; continue; } if ( empty( $extra_attributes[ $attribute_name ] ) ) { $attributes[ $attribute_name ] = $new_attributes[ $attribute_name ]; continue; } $attributes[ $attribute_name ] = $extra_attributes[ $attribute_name ] . ' ' . $new_attributes[ $attribute_name ]; } foreach ( $extra_attributes as $attribute_name => $value ) { if ( ! in_array( $attribute_name, $attributes_to_merge, true ) ) { $attributes[ $attribute_name ] = $value; } } if ( empty( $attributes ) ) { return ''; } $normalized_attributes = array(); foreach ( $attributes as $key => $value ) { $normalized_attributes[] = $key . '="' . esc_attr( $value ) . '"'; } return implode( ' ', $normalized_attributes ); }