CrackMe.apk

Download file
    package expo.modules.kotlin.views;

import android.content.Context;
import android.view.View;
import androidx.autofill.HintConstants;
import expo.modules.kotlin.modules.DefinitionMarker;
import expo.modules.kotlin.types.AnyType;
import expo.modules.kotlin.types.AnyTypeKt;
import java.util.LinkedHashMap;
import java.util.Map;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.functions.Function3;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.reflect.KType;

@Metadata(d1 = {"\u0000ˆ\u0001\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0006\n\u0002\u0010%\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u0011\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\b\u0007\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u001f\u0010*\u001a\u00020\b2\u0012\u0010+\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00100,\"\u00020\u0010¢\u0006\u0002\u0010-J%\u0010.\u001a\u00020\b2\u0017\u0010/\u001a\u0013\u0012\u0004\u0012\u000200\u0012\u0004\u0012\u00020\b0\u0006¢\u0006\u0002\b1H†\bø\u0001\u0000J=\u00102\u001a\u00020\b\"\n\b\u0000\u00103\u0018\u0001*\u00020\u00072#\b\b\u0010/\u001a\u001d\u0012\u0013\u0012\u0011H3¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(6\u0012\u0004\u0012\u00020\b0\u0006H†\bø\u0001\u0000Jb\u00107\u001a\u00020\b\"\n\b\u0000\u00103\u0018\u0001*\u00020\u0007\"\u0006\b\u0001\u00108\u0018\u00012\u0006\u00105\u001a\u00020\u001028\b\b\u0010/\u001a2\u0012\u0013\u0012\u0011H3¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(6\u0012\u0013\u0012\u0011H8¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(:\u0012\u0004\u0012\u00020\b09H†\bø\u0001\u0000J¨\u0001\u0010;\u001a\u00020\b\"\n\b\u0000\u00103\u0018\u0001*\u00020\u0007\"\u0006\b\u0001\u00108\u0018\u0001\"\u0006\b\u0002\u0010<\u0018\u00012*\u0010=\u001a\u0016\u0012\u0012\b\u0001\u0012\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u0002H<0>0,\"\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u0002H<0>2M\b\b\u0010/\u001aG\u0012\u0013\u0012\u0011H3¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(6\u0012\u0013\u0012\u0011H<¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(@\u0012\u0013\u0012\u0011H8¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(:\u0012\u0004\u0012\u00020\b0?H†\bø\u0001\u0000¢\u0006\u0002\u0010AJˆ\u0001\u0010;\u001a\u00020\b\"\n\b\u0000\u00103\u0018\u0001*\u00020\u0007\"\u0006\b\u0001\u00108\u0018\u00012\u0012\u0010B\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00100,\"\u00020\u00102M\b\b\u0010/\u001aG\u0012\u0013\u0012\u0011H3¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(6\u0012\u0013\u0012\u00110\u0010¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(5\u0012\u0013\u0012\u0011H8¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(:\u0012\u0004\u0012\u00020\b0?H†\bø\u0001\u0000¢\u0006\u0002\u0010CJŠ\u0001\u0010;\u001a\u00020\b\"\n\b\u0000\u00103\u0018\u0001*\u00020\u0007\"\u0006\b\u0001\u00108\u0018\u00012\u0012\u0010B\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00100,\"\u00020\u00102M\b\b\u0010/\u001aG\u0012\u0013\u0012\u0011H3¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(6\u0012\u0013\u0012\u00110D¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(@\u0012\u0013\u0012\u0011H8¢\u0006\f\b4\u0012\b\b5\u0012\u0004\b\b(:\u0012\u0004\u0012\u00020\b0?H‡\bø\u0001\u0000¢\u0006\u0004\bE\u0010CJ.\u0010F\u001a\u00020\b\"\n\b\u0000\u00103\u0018\u0001*\u00020\u00072\u0014\b\b\u0010/\u001a\u000e\u0012\u0004\u0012\u00020\u0018\u0012\u0004\u0012\u0002H30\u0006H†\bø\u0001\u0000J\u0006\u0010G\u001a\u00020HR\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u0004X‚\u000e¢\u0006\u0002\n\u0000R2\u0010\u0005\u001a\u0010\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\b\u0018\u00010\u00068\u0000@\u0000X\u000e¢\u0006\u0014\n\u0000\u0012\u0004\b\t\u0010\u0002\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\rR0\u0010\u000e\u001a\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u00020\u00110\u000f8\u0000@\u0000X\u000e¢\u0006\u0014\n\u0000\u0012\u0004\b\u0012\u0010\u0002\u001a\u0004\b\u0013\u0010\u0014\"\u0004\b\u0015\u0010\u0016R2\u0010\u0017\u001a\u0010\u0012\u0004\u0012\u00020\u0018\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u00068\u0000@\u0000X\u000e¢\u0006\u0014\n\u0000\u0012\u0004\b\u0019\u0010\u0002\u001a\u0004\b\u001a\u0010\u000b\"\u0004\b\u001b\u0010\rR&\u0010\u001c\u001a\u0004\u0018\u00010\u001d8\u0000@\u0000X\u000e¢\u0006\u0014\n\u0000\u0012\u0004\b\u001e\u0010\u0002\u001a\u0004\b\u001f\u0010 \"\u0004\b!\u0010\"R.\u0010#\u001a\f\u0012\u0006\b\u0001\u0012\u00020\u0007\u0018\u00010$8\u0000@\u0000X\u000e¢\u0006\u0014\n\u0000\u0012\u0004\b%\u0010\u0002\u001a\u0004\b&\u0010'\"\u0004\b(\u0010)‚\u0002\u0007\n\u0005\b™20\u0001¨\u0006I"}, d2 = {"Lexpo/modules/kotlin/views/ViewManagerDefinitionBuilder;", "", "()V", "callbacksDefinition", "Lexpo/modules/kotlin/views/CallbacksDefinition;", "onViewDestroys", "Lkotlin/Function1;", "Landroid/view/View;", "", "getOnViewDestroys$annotations", "getOnViewDestroys", "()Lkotlin/jvm/functions/Function1;", "setOnViewDestroys", "(Lkotlin/jvm/functions/Function1;)V", "props", "", "", "Lexpo/modules/kotlin/views/AnyViewProp;", "getProps$annotations", "getProps", "()Ljava/util/Map;", "setProps", "(Ljava/util/Map;)V", "viewFactory", "Landroid/content/Context;", "getViewFactory$annotations", "getViewFactory", "setViewFactory", "viewGroupDefinition", "Lexpo/modules/kotlin/views/ViewGroupDefinition;", "getViewGroupDefinition$annotations", "getViewGroupDefinition", "()Lexpo/modules/kotlin/views/ViewGroupDefinition;", "setViewGroupDefinition", "(Lexpo/modules/kotlin/views/ViewGroupDefinition;)V", "viewType", "Ljava/lang/Class;", "getViewType$annotations", "getViewType", "()Ljava/lang/Class;", "setViewType", "(Ljava/lang/Class;)V", "Events", "callbacks", "", "([Ljava/lang/String;)V", "GroupView", "body", "Lexpo/modules/kotlin/views/ViewGroupDefinitionBuilder;", "Lkotlin/ExtensionFunctionType;", "OnViewDestroys", "ViewType", "Lkotlin/ParameterName;", "name", "view", "Prop", "PropType", "Lkotlin/Function2;", "prop", "PropGroup", "CustomValue", "propInfo", "Lkotlin/Pair;", "Lkotlin/Function3;", "value", "([Lkotlin/Pair;Lkotlin/jvm/functions/Function3;)V", "names", "([Ljava/lang/String;Lkotlin/jvm/functions/Function3;)V", "", "PropGroupIndexed", "View", "build", "Lexpo/modules/kotlin/views/ViewManagerDefinition;", "expo-modules-core_release"}, k = 1, mv = {1, 6, 0}, xi = 48)
@DefinitionMarker
/* compiled from: ViewManagerDefinitionBuilder.kt */
public final class ViewManagerDefinitionBuilder {
    private CallbacksDefinition callbacksDefinition;
    private Function1<? super View, Unit> onViewDestroys;
    private Map<String, AnyViewProp> props = new LinkedHashMap();
    private Function1<? super Context, ? extends View> viewFactory;
    private ViewGroupDefinition viewGroupDefinition;
    private Class<? extends View> viewType;

    public static /* synthetic */ void getOnViewDestroys$annotations() {
    }

    public static /* synthetic */ void getProps$annotations() {
    }

    public static /* synthetic */ void getViewFactory$annotations() {
    }

    public static /* synthetic */ void getViewGroupDefinition$annotations() {
    }

    public static /* synthetic */ void getViewType$annotations() {
    }

    public final Function1<Context, View> getViewFactory() {
        return this.viewFactory;
    }

    public final void setViewFactory(Function1<? super Context, ? extends View> function1) {
        this.viewFactory = function1;
    }

    public final Class<? extends View> getViewType() {
        return this.viewType;
    }

    public final void setViewType(Class<? extends View> cls) {
        this.viewType = cls;
    }

    public final Map<String, AnyViewProp> getProps() {
        return this.props;
    }

    public final void setProps(Map<String, AnyViewProp> map) {
        Intrinsics.checkNotNullParameter(map, "<set-?>");
        this.props = map;
    }

    public final Function1<View, Unit> getOnViewDestroys() {
        return this.onViewDestroys;
    }

    public final void setOnViewDestroys(Function1<? super View, Unit> function1) {
        this.onViewDestroys = function1;
    }

    public final ViewGroupDefinition getViewGroupDefinition() {
        return this.viewGroupDefinition;
    }

    public final void setViewGroupDefinition(ViewGroupDefinition viewGroupDefinition2) {
        this.viewGroupDefinition = viewGroupDefinition2;
    }

    public final ViewManagerDefinition build() {
        Function2 viewManagerDefinitionBuilder$build$1 = new ViewManagerDefinitionBuilder$build$1(this);
        Class<? extends View> cls = this.viewType;
        if (cls != null) {
            return new ViewManagerDefinition(viewManagerDefinitionBuilder$build$1, cls, this.props, this.onViewDestroys, this.callbacksDefinition, this.viewGroupDefinition, (Function1) null, 64, (DefaultConstructorMarker) null);
        }
        throw new IllegalArgumentException("Required value was null.".toString());
    }

    public final /* synthetic */ <ViewType extends View> void View(Function1<? super Context, ? extends ViewType> function1) {
        Intrinsics.checkNotNullParameter(function1, TtmlNode.TAG_BODY);
        Intrinsics.reifiedOperationMarker(4, "ViewType");
        Class<View> cls = View.class;
        Class cls2 = cls;
        setViewType(cls);
        setViewFactory(function1);
    }

    public final /* synthetic */ <ViewType extends View> void OnViewDestroys(Function1<? super ViewType, Unit> function1) {
        Intrinsics.checkNotNullParameter(function1, TtmlNode.TAG_BODY);
        Intrinsics.needClassReification();
        setOnViewDestroys(new ViewManagerDefinitionBuilder$OnViewDestroys$1(function1));
    }

    public final /* synthetic */ <ViewType extends View, PropType> void Prop(String str, Function2<? super ViewType, ? super PropType, Unit> function2) {
        Intrinsics.checkNotNullParameter(str, HintConstants.AUTOFILL_HINT_NAME);
        Intrinsics.checkNotNullParameter(function2, TtmlNode.TAG_BODY);
        Map<String, AnyViewProp> props2 = getProps();
        Intrinsics.reifiedOperationMarker(6, "PropType");
        props2.put(str, new ConcreteViewProp(str, AnyTypeKt.toAnyType((KType) null), function2));
    }

    public final /* synthetic */ <ViewType extends View, PropType> void PropGroup(String[] strArr, Function3<? super ViewType, ? super String, ? super PropType, Unit> function3) {
        Intrinsics.checkNotNullParameter(strArr, "names");
        Intrinsics.checkNotNullParameter(function3, TtmlNode.TAG_BODY);
        int length = strArr.length;
        int i = 0;
        while (i < length) {
            String str = strArr[i];
            i++;
            Map<String, AnyViewProp> props2 = getProps();
            Intrinsics.reifiedOperationMarker(6, "PropType");
            AnyType anyType = AnyTypeKt.toAnyType((KType) null);
            Intrinsics.needClassReification();
            props2.put(str, new ConcreteViewProp(str, anyType, new ViewManagerDefinitionBuilder$PropGroup$1(function3, str)));
        }
    }

    public final /* synthetic */ <ViewType extends View, PropType, CustomValue> void PropGroup(Pair<String, ? extends CustomValue>[] pairArr, Function3<? super ViewType, ? super CustomValue, ? super PropType, Unit> function3) {
        Intrinsics.checkNotNullParameter(pairArr, "propInfo");
        Intrinsics.checkNotNullParameter(function3, TtmlNode.TAG_BODY);
        int length = pairArr.length;
        int i = 0;
        while (i < length) {
            Pair<String, ? extends CustomValue> pair = pairArr[i];
            i++;
            String component1 = pair.component1();
            Object component2 = pair.component2();
            Map<String, AnyViewProp> props2 = getProps();
            Intrinsics.reifiedOperationMarker(6, "PropType");
            AnyType anyType = AnyTypeKt.toAnyType((KType) null);
            Intrinsics.needClassReification();
            props2.put(component1, new ConcreteViewProp(component1, anyType, new ViewManagerDefinitionBuilder$PropGroup$2(function3, component2)));
        }
    }

    public final void Events(String... strArr) {
        Intrinsics.checkNotNullParameter(strArr, "callbacks");
        this.callbacksDefinition = new CallbacksDefinition(strArr);
    }

    public final void GroupView(Function1<? super ViewGroupDefinitionBuilder, Unit> function1) {
        Intrinsics.checkNotNullParameter(function1, TtmlNode.TAG_BODY);
        if (getViewGroupDefinition() == null) {
            ViewGroupDefinitionBuilder viewGroupDefinitionBuilder = new ViewGroupDefinitionBuilder();
            function1.invoke(viewGroupDefinitionBuilder);
            setViewGroupDefinition(viewGroupDefinitionBuilder.build());
            return;
        }
        throw new IllegalArgumentException("The viewManager definition may have exported only one groupView definition.".toString());
    }

    public final /* synthetic */ <ViewType extends View, PropType> void PropGroupIndexed(String[] strArr, Function3<? super ViewType, ? super Integer, ? super PropType, Unit> function3) {
        Intrinsics.checkNotNullParameter(strArr, "names");
        Intrinsics.checkNotNullParameter(function3, TtmlNode.TAG_BODY);
        int length = strArr.length;
        int i = 0;
        int i2 = 0;
        while (i < length) {
            String str = strArr[i];
            i++;
            String str2 = str;
            Map<String, AnyViewProp> props2 = getProps();
            Intrinsics.reifiedOperationMarker(6, "PropType");
            AnyType anyType = AnyTypeKt.toAnyType((KType) null);
            Intrinsics.needClassReification();
            props2.put(str, new ConcreteViewProp(str, anyType, new ViewManagerDefinitionBuilder$PropGroup$3$1(function3, i2)));
            i2++;
        }
    }
}
    
Download file