# Keep all specific rules from the legacy Contentsquare Compose SDK to the SDK consumers
# Keep Jetpack Compose classes used in the tree view path
-keepnames class androidx.compose.foundation.lazy.layout.LazyLayoutSemanticState { *; }

# Keep Jetpack Compose fields resolved by reflection
-keepclassmembers class androidx.compose.ui.ZIndexElement {
    float zIndex;
}
-keepclassmembers class androidx.compose.ui.graphics.GraphicsLayerElement {
    float alpha;
}
-keepclassmembers class androidx.compose.foundation.BackgroundElement {
    float alpha;
}

# Keep the classes and all the members for the Heatmaps code instrumentation
-keep class com.contentsquare.android.compose.analytics.instrumentation.HeapInstrumentationKt {
    *;
}
-keep class com.contentsquare.android.compose.analytics.instrumentation.ExtensionsKt {
    *;
}