package com.ifpdos.sdk.config.loader;

import androidx.constraintlayout.core.motion.utils.TypedValues;
import com.github.mustachejava.DefaultMustacheFactory;
import com.seewo.vcommons.constants.SeewoIntent;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.io.StringReader;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.Filer;
import javax.annotation.processing.Messager;
import javax.annotation.processing.ProcessingEnvironment;
import javax.annotation.processing.RoundEnvironment;
import javax.annotation.processing.SupportedAnnotationTypes;
import javax.annotation.processing.SupportedSourceVersion;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.Element;
import javax.lang.model.element.ElementKind;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeMirror;
import javax.lang.model.util.Elements;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.io.CloseableKt;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.FunctionReferenceImpl;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;

/* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
/* JADX INFO: loaded from: classes.dex */
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@Metadata(d1 = {"\u0000\u0096\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010#\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0007\u0018\u0000 62\u00020\u0001:\u00046789B\u0005¢\u0006\u0002\u0010\u0002J4\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u00122\u0012\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020\u00150\u0014H\u0002J,\u0010\u0016\u001a\u00020\f2\u0006\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0017\u001a\u00020\u00122\u0012\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020\u00180\u0014H\u0002J\u0010\u0010\u0019\u001a\u00020\u00122\u0006\u0010\u001a\u001a\u00020\u001bH\u0002J4\u0010\u001c\u001a\u00020\f2\u0006\u0010\u001d\u001a\u00020\u00122\"\u0010\u001e\u001a\u001e\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020 0\u001fj\u000e\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020 `!H\u0002J\u0010\u0010\"\u001a\u00020\u00122\u0006\u0010\r\u001a\u00020\u000eH\u0002J\u0010\u0010#\u001a\u00020\f2\u0006\u0010$\u001a\u00020%H\u0016J\u0018\u0010&\u001a\u00020\u00102\u0006\u0010\u000f\u001a\u00020\u00122\u0006\u0010\r\u001a\u00020\u000eH\u0002J\u0018\u0010'\u001a\u00020\u00102\u0006\u0010\u000f\u001a\u00020\u00122\u0006\u0010\r\u001a\u00020\u000eH\u0002J\u0018\u0010(\u001a\u00020\u00102\u0006\u0010\u000f\u001a\u00020\u00122\u0006\u0010\r\u001a\u00020\u000eH\u0002J$\u0010)\u001a\u00020*2\u0010\u0010+\u001a\f\u0012\u0006\b\u0001\u0012\u00020-\u0018\u00010,2\b\u0010.\u001a\u0004\u0018\u00010/H\u0016Jp\u0010)\u001a\u00020\f2\f\u00100\u001a\b\u0012\u0004\u0012\u00020\u000e012\u0006\u00102\u001a\u00020\u00122\u0012\u00103\u001a\u000e\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020\u00180\u00142\"\u0010\u001e\u001a\u001e\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020 0\u001fj\u000e\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020 `!2\u0018\u00104\u001a\u0014\u0012\u0004\u0012\u00020\u0012\u0012\u0004\u0012\u00020\u000e\u0012\u0004\u0012\u00020\u001005H\u0002R\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082.¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\bX\u0082.¢\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\nX\u0082.¢\u0006\u0002\n\u0000¨\u0006:"}, d2 = {"Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor;", "Ljavax/annotation/processing/AbstractProcessor;", "()V", "elementUtils", "Ljavax/lang/model/util/Elements;", "filer", "Ljavax/annotation/processing/Filer;", "kotlinGenerated", "Ljava/io/File;", "messager", "Ljavax/annotation/processing/Messager;", "addToSelectConfigs", "", "element", "Ljavax/lang/model/element/Element;", "handler", "Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$ConfigHandler;", "funName", "", "selects", "", "Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectConfigInfo;", "addToSelectHandlers", "selectConfigFunName", "Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectHandlerInfo;", "covertType", SeewoIntent.KEY_FILE_TYPE, "Ljavax/lang/model/type/TypeMirror;", "generateCode", "className", "scopes", "Ljava/util/HashMap;", "", "Lkotlin/collections/HashMap;", "getTypeString", "init", "processingEnvironment", "Ljavax/annotation/processing/ProcessingEnvironment;", "parserBooleanConfigHandler", "parserIntConfigHandler", "parserStringConfigHandler", "process", "", "set", "", "Ljavax/lang/model/element/TypeElement;", "env", "Ljavax/annotation/processing/RoundEnvironment;", "elements", "", "selectConfigsKey", "selectHandlers", "parser", "Lkotlin/Function2;", "Companion", "ConfigHandler", "SelectConfigInfo", "SelectHandlerInfo", "app"}, k = 1, mv = {1, 5, 1}, xi = 48)
@SupportedAnnotationTypes({"com.ifpdos.sdk.config.loader.IntConfigHandler", "com.ifpdos.sdk.config.loader.StringConfigHandler", "com.ifpdos.sdk.config.loader.BooleanConfigHandler", "com.ifpdos.sdk.config.loader.EnableConfigLoader"})
public final class ConfigLoaderProcessor extends AbstractProcessor {
    private static final String KAPT_KOTLIN_GENERATED_OPTION = "kapt.kotlin.generated";
    private Elements elementUtils;
    private Filer filer;
    private File kotlinGenerated;
    private Messager messager;

    /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
    @Metadata(k = 3, mv = {1, 5, 1}, xi = 48)
    public /* synthetic */ class WhenMappings {
        public static final /* synthetic */ int[] $EnumSwitchMapping$0;

        static {
            int[] iArr = new int[ElementKind.values().length];
            iArr[ElementKind.FIELD.ordinal()] = 1;
            iArr[ElementKind.METHOD.ordinal()] = 2;
            $EnumSwitchMapping$0 = iArr;
        }
    }

    public synchronized void init(ProcessingEnvironment processingEnvironment) {
        Intrinsics.checkNotNullParameter(processingEnvironment, "processingEnvironment");
        super.init(processingEnvironment);
        String str = (String) this.processingEnv.getOptions().get(KAPT_KOTLIN_GENERATED_OPTION);
        Intrinsics.checkNotNull(str);
        this.kotlinGenerated = new File(str);
        this.elementUtils = this.processingEnv.getElementUtils();
        Filer filer = this.processingEnv.getFiler();
        Intrinsics.checkNotNullExpressionValue(filer, "processingEnv.filer");
        this.filer = filer;
        Messager messager = this.processingEnv.getMessager();
        Intrinsics.checkNotNullExpressionValue(messager, "processingEnv.messager");
        this.messager = messager;
    }

    public boolean process(Set<? extends TypeElement> set, RoundEnvironment env) throws Exception {
        if (env == null) {
            return true;
        }
        Intrinsics.checkNotNull(set);
        if (set.isEmpty()) {
            return true;
        }
        HashMap<String, Object> map = new HashMap<>();
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        Set<? extends Element> elementsAnnotatedWith = env.getElementsAnnotatedWith(BooleanConfigHandler.class);
        Intrinsics.checkNotNullExpressionValue(elementsAnnotatedWith, "env.getElementsAnnotatedWith(BooleanConfigHandler::class.java)");
        process(elementsAnnotatedWith, "booleanSelectForConfigs", linkedHashMap, map, new AnonymousClass1(this));
        Set<? extends Element> elementsAnnotatedWith2 = env.getElementsAnnotatedWith(IntConfigHandler.class);
        Intrinsics.checkNotNullExpressionValue(elementsAnnotatedWith2, "env.getElementsAnnotatedWith(IntConfigHandler::class.java)");
        process(elementsAnnotatedWith2, "intSelectForConfigs", linkedHashMap, map, new AnonymousClass2(this));
        Set<? extends Element> elementsAnnotatedWith3 = env.getElementsAnnotatedWith(StringConfigHandler.class);
        Intrinsics.checkNotNullExpressionValue(elementsAnnotatedWith3, "env.getElementsAnnotatedWith(StringConfigHandler::class.java)");
        process(elementsAnnotatedWith3, "stringSelectForConfigs", linkedHashMap, map, new AnonymousClass3(this));
        HashMap<String, Object> map2 = map;
        map2.put("selectForHandlers", linkedHashMap.values());
        map2.put("package", String.valueOf(this.processingEnv.getOptions().get("packageName")));
        map2.put("configStyleable", String.valueOf(this.processingEnv.getOptions().get("configStyleable")));
        generateCode("ConfigLoader", map);
        return false;
    }

    /* JADX INFO: renamed from: com.ifpdos.sdk.config.loader.ConfigLoaderProcessor$process$1, reason: invalid class name */
    /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
    @Metadata(k = 3, mv = {1, 5, 1}, xi = 48)
    /* synthetic */ class AnonymousClass1 extends FunctionReferenceImpl implements Function2<String, Element, ConfigHandler> {
        AnonymousClass1(ConfigLoaderProcessor configLoaderProcessor) {
            super(2, configLoaderProcessor, ConfigLoaderProcessor.class, "parserBooleanConfigHandler", "parserBooleanConfigHandler(Ljava/lang/String;Ljavax/lang/model/element/Element;)Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$ConfigHandler;", 0);
        }

        @Override // kotlin.jvm.functions.Function2
        public final ConfigHandler invoke(String p0, Element p1) {
            Intrinsics.checkNotNullParameter(p0, "p0");
            Intrinsics.checkNotNullParameter(p1, "p1");
            return ((ConfigLoaderProcessor) this.receiver).parserBooleanConfigHandler(p0, p1);
        }
    }

    /* JADX INFO: renamed from: com.ifpdos.sdk.config.loader.ConfigLoaderProcessor$process$2, reason: invalid class name */
    /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
    @Metadata(k = 3, mv = {1, 5, 1}, xi = 48)
    /* synthetic */ class AnonymousClass2 extends FunctionReferenceImpl implements Function2<String, Element, ConfigHandler> {
        AnonymousClass2(ConfigLoaderProcessor configLoaderProcessor) {
            super(2, configLoaderProcessor, ConfigLoaderProcessor.class, "parserIntConfigHandler", "parserIntConfigHandler(Ljava/lang/String;Ljavax/lang/model/element/Element;)Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$ConfigHandler;", 0);
        }

        @Override // kotlin.jvm.functions.Function2
        public final ConfigHandler invoke(String p0, Element p1) {
            Intrinsics.checkNotNullParameter(p0, "p0");
            Intrinsics.checkNotNullParameter(p1, "p1");
            return ((ConfigLoaderProcessor) this.receiver).parserIntConfigHandler(p0, p1);
        }
    }

    /* JADX INFO: renamed from: com.ifpdos.sdk.config.loader.ConfigLoaderProcessor$process$3, reason: invalid class name */
    /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
    @Metadata(k = 3, mv = {1, 5, 1}, xi = 48)
    /* synthetic */ class AnonymousClass3 extends FunctionReferenceImpl implements Function2<String, Element, ConfigHandler> {
        AnonymousClass3(ConfigLoaderProcessor configLoaderProcessor) {
            super(2, configLoaderProcessor, ConfigLoaderProcessor.class, "parserStringConfigHandler", "parserStringConfigHandler(Ljava/lang/String;Ljavax/lang/model/element/Element;)Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$ConfigHandler;", 0);
        }

        @Override // kotlin.jvm.functions.Function2
        public final ConfigHandler invoke(String p0, Element p1) {
            Intrinsics.checkNotNullParameter(p0, "p0");
            Intrinsics.checkNotNullParameter(p1, "p1");
            return ((ConfigLoaderProcessor) this.receiver).parserStringConfigHandler(p0, p1);
        }
    }

    private final void addToSelectConfigs(Element element, ConfigHandler handler, String funName, Map<String, SelectConfigInfo> selects) throws Exception {
        String strStringPlus;
        String str = funName + '(' + handler.getHandler() + ')';
        ElementKind kind = element.getKind();
        int i = kind == null ? -1 : WhenMappings.$EnumSwitchMapping$0[kind.ordinal()];
        if (i == 1) {
            strStringPlus = Intrinsics.stringPlus("handler.", handler.getTargetValue());
        } else if (i == 2) {
            strStringPlus = Intrinsics.stringPlus("handler::", handler.getTargetValue());
        } else {
            throw new Exception(Intrinsics.stringPlus("Not support for ", element));
        }
        SelectConfigInfo.Config config = new SelectConfigInfo.Config(handler.getConfigValue(), strStringPlus);
        if (!selects.containsKey(str)) {
            selects.put(str, new SelectConfigInfo(handler.getHandler(), handler.getKey(), handler.getTargetType(), handler.getConfig(), funName, CollectionsKt.mutableListOf(config)));
            return;
        }
        SelectConfigInfo selectConfigInfo = selects.get(str);
        Intrinsics.checkNotNull(selectConfigInfo);
        selectConfigInfo.getValues().add(config);
    }

    private final void addToSelectHandlers(ConfigHandler handler, String selectConfigFunName, Map<String, SelectHandlerInfo> selects) {
        Object obj;
        Object next;
        SelectHandlerInfo.Fun fun = new SelectHandlerInfo.Fun(0, handler.getKey(), selectConfigFunName);
        SelectHandlerInfo.Config config = new SelectHandlerInfo.Config(handler.getConfig(), CollectionsKt.mutableListOf(fun));
        if (!selects.containsKey(handler.getHandler())) {
            selects.put(handler.getHandler(), new SelectHandlerInfo(handler.getHandler(), CollectionsKt.mutableListOf(config), null, 4, null));
            return;
        }
        SelectHandlerInfo selectHandlerInfo = selects.get(handler.getHandler());
        Intrinsics.checkNotNull(selectHandlerInfo);
        Iterator<T> it = selectHandlerInfo.getConfigs().iterator();
        while (true) {
            obj = null;
            if (!it.hasNext()) {
                next = null;
                break;
            } else {
                next = it.next();
                if (Intrinsics.areEqual(((SelectHandlerInfo.Config) next).getConfig(), handler.getConfig())) {
                    break;
                }
            }
        }
        SelectHandlerInfo.Config config2 = (SelectHandlerInfo.Config) next;
        if (config2 == null) {
            SelectHandlerInfo selectHandlerInfo2 = selects.get(handler.getHandler());
            Intrinsics.checkNotNull(selectHandlerInfo2);
            selectHandlerInfo2.getConfigs().add(config);
            return;
        }
        Iterator<T> it2 = config2.getFuns().iterator();
        while (true) {
            if (!it2.hasNext()) {
                break;
            }
            Object next2 = it2.next();
            if (Intrinsics.areEqual(((SelectHandlerInfo.Fun) next2).getKey(), fun.getKey())) {
                obj = next2;
                break;
            }
        }
        if (obj == null) {
            config2.getFuns().add(new SelectHandlerInfo.Fun(config2.getFuns().size(), fun.getKey(), fun.getSelectFun()));
        }
    }

    private final void process(Set<? extends Element> elements, String selectConfigsKey, Map<String, SelectHandlerInfo> selectHandlers, HashMap<String, Object> scopes, Function2<? super String, ? super Element, ConfigHandler> parser) throws Exception {
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        for (Element element : elements) {
            ConfigHandler configHandlerInvoke = parser.invoke(element.getEnclosingElement().toString(), element);
            String str = "select" + StringsKt.capitalize(configHandlerInvoke.getConfig()) + StringsKt.capitalize(configHandlerInvoke.getKey());
            addToSelectConfigs(element, configHandlerInvoke, str, linkedHashMap);
            addToSelectHandlers(configHandlerInvoke, str, selectHandlers);
        }
        scopes.put(selectConfigsKey, linkedHashMap.values());
    }

    /* JADX INFO: Access modifiers changed from: private */
    public final String getTypeString(Element element) {
        if (element.getKind() == ElementKind.METHOD) {
            ExecutableElement executableElement = (ExecutableElement) element;
            List parameters = executableElement.getParameters();
            Intrinsics.checkNotNullExpressionValue(parameters, "exec.parameters");
            String strJoinToString$default = CollectionsKt.joinToString$default(parameters, ",", null, null, 0, null, new Function1<VariableElement, CharSequence>() { // from class: com.ifpdos.sdk.config.loader.ConfigLoaderProcessor$getTypeString$params$1
                {
                    super(1);
                }

                @Override // kotlin.jvm.functions.Function1
                public final CharSequence invoke(VariableElement it) {
                    ConfigLoaderProcessor configLoaderProcessor = this.this$0;
                    Intrinsics.checkNotNullExpressionValue(it, "it");
                    return configLoaderProcessor.getTypeString((Element) it);
                }
            }, 30, null);
            TypeMirror returnType = executableElement.getReturnType();
            Intrinsics.checkNotNullExpressionValue(returnType, "exec.returnType");
            return "(" + strJoinToString$default + ")->" + covertType(returnType);
        }
        TypeMirror typeMirrorAsType = element.asType();
        Intrinsics.checkNotNullExpressionValue(typeMirrorAsType, "element.asType()");
        return covertType(typeMirrorAsType);
    }

    /* JADX WARN: Failed to restore switch over string. Please report as a decompilation issue */
    private final String covertType(TypeMirror type) {
        String string = type.toString();
        switch (string.hashCode()) {
            case -1325958191:
                if (string.equals("double")) {
                    return "Double";
                }
                break;
            case 104431:
                if (string.equals("int")) {
                    return "Int";
                }
                break;
            case 3327612:
                if (string.equals("long")) {
                    return "Long";
                }
                break;
            case 3625364:
                if (string.equals("void")) {
                    return "Unit";
                }
                break;
            case 64711720:
                if (string.equals(TypedValues.Custom.S_BOOLEAN)) {
                    return "Boolean";
                }
                break;
            case 97526364:
                if (string.equals(TypedValues.Custom.S_FLOAT)) {
                    return "Float";
                }
                break;
            case 1195259493:
                if (string.equals("java.lang.String")) {
                    return "String";
                }
                break;
        }
        return type.toString();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public final ConfigHandler parserBooleanConfigHandler(String handler, Element element) {
        BooleanConfigHandler booleanConfigHandler = (BooleanConfigHandler) element.getAnnotation(BooleanConfigHandler.class);
        return new ConfigHandler(handler, booleanConfigHandler.key(), booleanConfigHandler.config(), String.valueOf(booleanConfigHandler.value()), getTypeString(element), element.getSimpleName().toString());
    }

    /* JADX INFO: Access modifiers changed from: private */
    public final ConfigHandler parserIntConfigHandler(String handler, Element element) {
        IntConfigHandler intConfigHandler = (IntConfigHandler) element.getAnnotation(IntConfigHandler.class);
        return new ConfigHandler(handler, intConfigHandler.key(), intConfigHandler.config(), String.valueOf(intConfigHandler.value()), getTypeString(element), element.getSimpleName().toString());
    }

    /* JADX INFO: Access modifiers changed from: private */
    public final ConfigHandler parserStringConfigHandler(String handler, Element element) {
        StringConfigHandler stringConfigHandler = (StringConfigHandler) element.getAnnotation(StringConfigHandler.class);
        return new ConfigHandler(handler, stringConfigHandler.key(), stringConfigHandler.config(), stringConfigHandler.value(), getTypeString(element), element.getSimpleName().toString());
    }

    private final void generateCode(String className, HashMap<String, Object> scopes) {
        File file = this.kotlinGenerated;
        if (file != null) {
            File file2 = new File(file, Intrinsics.stringPlus(className, ".kt"));
            scopes.put("class", className);
            FileOutputStream fileOutputStream = new FileOutputStream(file2);
            try {
                OutputStreamWriter outputStreamWriter = new OutputStreamWriter(fileOutputStream, "utf-8");
                new DefaultMustacheFactory().compile(new StringReader(ConfigLoaderTemplateKt.getCONFIG_LOADER_TEMPLATE()), "doc").execute(outputStreamWriter, scopes);
                outputStreamWriter.flush();
                Unit unit = Unit.INSTANCE;
                CloseableKt.closeFinally(fileOutputStream, null);
            } finally {
            }
        } else {
            Intrinsics.throwUninitializedPropertyAccessException("kotlinGenerated");
            throw null;
        }
    }

    /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
    @Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0015\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0082\b\u0018\u00002\u00020\u0001B5\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\b\u001a\u00020\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0013\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003JE\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u00032\b\b\u0002\u0010\b\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001b\u001a\u00020\u001cHÖ\u0001J\t\u0010\u001d\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000bR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u000bR\u0011\u0010\b\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000b¨\u0006\u001e"}, d2 = {"Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$ConfigHandler;", "", "handler", "", "key", "config", "configValue", "targetType", "targetValue", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getConfig", "()Ljava/lang/String;", "getConfigValue", "getHandler", "getKey", "getTargetType", "getTargetValue", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "equals", "", "other", "hashCode", "", "toString", "app"}, k = 1, mv = {1, 5, 1}, xi = 48)
    private static final /* data */ class ConfigHandler {
        private final String config;
        private final String configValue;
        private final String handler;
        private final String key;
        private final String targetType;
        private final String targetValue;

        public static /* synthetic */ ConfigHandler copy$default(ConfigHandler configHandler, String str, String str2, String str3, String str4, String str5, String str6, int i, Object obj) {
            if ((i & 1) != 0) {
                str = configHandler.handler;
            }
            if ((i & 2) != 0) {
                str2 = configHandler.key;
            }
            String str7 = str2;
            if ((i & 4) != 0) {
                str3 = configHandler.config;
            }
            String str8 = str3;
            if ((i & 8) != 0) {
                str4 = configHandler.configValue;
            }
            String str9 = str4;
            if ((i & 16) != 0) {
                str5 = configHandler.targetType;
            }
            String str10 = str5;
            if ((i & 32) != 0) {
                str6 = configHandler.targetValue;
            }
            return configHandler.copy(str, str7, str8, str9, str10, str6);
        }

        /* JADX INFO: renamed from: component1, reason: from getter */
        public final String getHandler() {
            return this.handler;
        }

        /* JADX INFO: renamed from: component2, reason: from getter */
        public final String getKey() {
            return this.key;
        }

        /* JADX INFO: renamed from: component3, reason: from getter */
        public final String getConfig() {
            return this.config;
        }

        /* JADX INFO: renamed from: component4, reason: from getter */
        public final String getConfigValue() {
            return this.configValue;
        }

        /* JADX INFO: renamed from: component5, reason: from getter */
        public final String getTargetType() {
            return this.targetType;
        }

        /* JADX INFO: renamed from: component6, reason: from getter */
        public final String getTargetValue() {
            return this.targetValue;
        }

        public final ConfigHandler copy(String handler, String key, String config, String configValue, String targetType, String targetValue) {
            Intrinsics.checkNotNullParameter(handler, "handler");
            Intrinsics.checkNotNullParameter(key, "key");
            Intrinsics.checkNotNullParameter(config, "config");
            Intrinsics.checkNotNullParameter(configValue, "configValue");
            Intrinsics.checkNotNullParameter(targetType, "targetType");
            Intrinsics.checkNotNullParameter(targetValue, "targetValue");
            return new ConfigHandler(handler, key, config, configValue, targetType, targetValue);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof ConfigHandler)) {
                return false;
            }
            ConfigHandler configHandler = (ConfigHandler) other;
            return Intrinsics.areEqual(this.handler, configHandler.handler) && Intrinsics.areEqual(this.key, configHandler.key) && Intrinsics.areEqual(this.config, configHandler.config) && Intrinsics.areEqual(this.configValue, configHandler.configValue) && Intrinsics.areEqual(this.targetType, configHandler.targetType) && Intrinsics.areEqual(this.targetValue, configHandler.targetValue);
        }

        public int hashCode() {
            return (((((((((this.handler.hashCode() * 31) + this.key.hashCode()) * 31) + this.config.hashCode()) * 31) + this.configValue.hashCode()) * 31) + this.targetType.hashCode()) * 31) + this.targetValue.hashCode();
        }

        public String toString() {
            return "ConfigHandler(handler=" + this.handler + ", key=" + this.key + ", config=" + this.config + ", configValue=" + this.configValue + ", targetType=" + this.targetType + ", targetValue=" + this.targetValue + ')';
        }

        public ConfigHandler(String handler, String key, String config, String configValue, String targetType, String targetValue) {
            Intrinsics.checkNotNullParameter(handler, "handler");
            Intrinsics.checkNotNullParameter(key, "key");
            Intrinsics.checkNotNullParameter(config, "config");
            Intrinsics.checkNotNullParameter(configValue, "configValue");
            Intrinsics.checkNotNullParameter(targetType, "targetType");
            Intrinsics.checkNotNullParameter(targetValue, "targetValue");
            this.handler = handler;
            this.key = key;
            this.config = config;
            this.configValue = configValue;
            this.targetType = targetType;
            this.targetValue = targetValue;
        }

        public final String getHandler() {
            return this.handler;
        }

        public final String getKey() {
            return this.key;
        }

        public final String getConfig() {
            return this.config;
        }

        public final String getConfigValue() {
            return this.configValue;
        }

        public final String getTargetType() {
            return this.targetType;
        }

        public final String getTargetValue() {
            return this.targetValue;
        }
    }

    /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
    @Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0082\b\u0018\u00002\u00020\u0001:\u0001!B;\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\n0\t¢\u0006\u0002\u0010\u000bJ\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0015\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0016\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0017\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0018\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\u0019\u001a\b\u0012\u0004\u0012\u00020\n0\tHÆ\u0003JK\u0010\u001a\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u00032\u000e\b\u0002\u0010\b\u001a\b\u0012\u0004\u0012\u00020\n0\tHÆ\u0001J\u0013\u0010\u001b\u001a\u00020\u001c2\b\u0010\u001d\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001e\u001a\u00020\u001fHÖ\u0001J\t\u0010 \u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\rR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\rR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\rR\u0017\u0010\b\u001a\b\u0012\u0004\u0012\u00020\n0\t¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013¨\u0006\""}, d2 = {"Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectConfigInfo;", "", "handler", "", "key", "targetType", "config", "selectFun", "values", "", "Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectConfigInfo$Config;", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V", "getConfig", "()Ljava/lang/String;", "getHandler", "getKey", "getSelectFun", "getTargetType", "getValues", "()Ljava/util/List;", "component1", "component2", "component3", "component4", "component5", "component6", "copy", "equals", "", "other", "hashCode", "", "toString", "Config", "app"}, k = 1, mv = {1, 5, 1}, xi = 48)
    private static final /* data */ class SelectConfigInfo {
        private final String config;
        private final String handler;
        private final String key;
        private final String selectFun;
        private final String targetType;
        private final List<Config> values;

        /* JADX WARN: Multi-variable type inference failed */
        public static /* synthetic */ SelectConfigInfo copy$default(SelectConfigInfo selectConfigInfo, String str, String str2, String str3, String str4, String str5, List list, int i, Object obj) {
            if ((i & 1) != 0) {
                str = selectConfigInfo.handler;
            }
            if ((i & 2) != 0) {
                str2 = selectConfigInfo.key;
            }
            String str6 = str2;
            if ((i & 4) != 0) {
                str3 = selectConfigInfo.targetType;
            }
            String str7 = str3;
            if ((i & 8) != 0) {
                str4 = selectConfigInfo.config;
            }
            String str8 = str4;
            if ((i & 16) != 0) {
                str5 = selectConfigInfo.selectFun;
            }
            String str9 = str5;
            if ((i & 32) != 0) {
                list = selectConfigInfo.values;
            }
            return selectConfigInfo.copy(str, str6, str7, str8, str9, list);
        }

        /* JADX INFO: renamed from: component1, reason: from getter */
        public final String getHandler() {
            return this.handler;
        }

        /* JADX INFO: renamed from: component2, reason: from getter */
        public final String getKey() {
            return this.key;
        }

        /* JADX INFO: renamed from: component3, reason: from getter */
        public final String getTargetType() {
            return this.targetType;
        }

        /* JADX INFO: renamed from: component4, reason: from getter */
        public final String getConfig() {
            return this.config;
        }

        /* JADX INFO: renamed from: component5, reason: from getter */
        public final String getSelectFun() {
            return this.selectFun;
        }

        public final List<Config> component6() {
            return this.values;
        }

        public final SelectConfigInfo copy(String handler, String key, String targetType, String config, String selectFun, List<Config> values) {
            Intrinsics.checkNotNullParameter(handler, "handler");
            Intrinsics.checkNotNullParameter(key, "key");
            Intrinsics.checkNotNullParameter(targetType, "targetType");
            Intrinsics.checkNotNullParameter(config, "config");
            Intrinsics.checkNotNullParameter(selectFun, "selectFun");
            Intrinsics.checkNotNullParameter(values, "values");
            return new SelectConfigInfo(handler, key, targetType, config, selectFun, values);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof SelectConfigInfo)) {
                return false;
            }
            SelectConfigInfo selectConfigInfo = (SelectConfigInfo) other;
            return Intrinsics.areEqual(this.handler, selectConfigInfo.handler) && Intrinsics.areEqual(this.key, selectConfigInfo.key) && Intrinsics.areEqual(this.targetType, selectConfigInfo.targetType) && Intrinsics.areEqual(this.config, selectConfigInfo.config) && Intrinsics.areEqual(this.selectFun, selectConfigInfo.selectFun) && Intrinsics.areEqual(this.values, selectConfigInfo.values);
        }

        public int hashCode() {
            return (((((((((this.handler.hashCode() * 31) + this.key.hashCode()) * 31) + this.targetType.hashCode()) * 31) + this.config.hashCode()) * 31) + this.selectFun.hashCode()) * 31) + this.values.hashCode();
        }

        public String toString() {
            return "SelectConfigInfo(handler=" + this.handler + ", key=" + this.key + ", targetType=" + this.targetType + ", config=" + this.config + ", selectFun=" + this.selectFun + ", values=" + this.values + ')';
        }

        public SelectConfigInfo(String handler, String key, String targetType, String config, String selectFun, List<Config> values) {
            Intrinsics.checkNotNullParameter(handler, "handler");
            Intrinsics.checkNotNullParameter(key, "key");
            Intrinsics.checkNotNullParameter(targetType, "targetType");
            Intrinsics.checkNotNullParameter(config, "config");
            Intrinsics.checkNotNullParameter(selectFun, "selectFun");
            Intrinsics.checkNotNullParameter(values, "values");
            this.handler = handler;
            this.key = key;
            this.targetType = targetType;
            this.config = config;
            this.selectFun = selectFun;
            this.values = values;
        }

        public final String getHandler() {
            return this.handler;
        }

        public final String getKey() {
            return this.key;
        }

        public final String getTargetType() {
            return this.targetType;
        }

        public final String getConfig() {
            return this.config;
        }

        public final String getSelectFun() {
            return this.selectFun;
        }

        public final List<Config> getValues() {
            return this.values;
        }

        /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
        @Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\t\u0010\t\u001a\u00020\u0003HÆ\u0003J\t\u0010\n\u001a\u00020\u0003HÆ\u0003J\u001d\u0010\u000b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001J\t\u0010\u0011\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectConfigInfo$Config;", "", "configValue", "", "targetValue", "(Ljava/lang/String;Ljava/lang/String;)V", "getConfigValue", "()Ljava/lang/String;", "getTargetValue", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "app"}, k = 1, mv = {1, 5, 1}, xi = 48)
        public static final /* data */ class Config {
            private final String configValue;
            private final String targetValue;

            public static /* synthetic */ Config copy$default(Config config, String str, String str2, int i, Object obj) {
                if ((i & 1) != 0) {
                    str = config.configValue;
                }
                if ((i & 2) != 0) {
                    str2 = config.targetValue;
                }
                return config.copy(str, str2);
            }

            /* JADX INFO: renamed from: component1, reason: from getter */
            public final String getConfigValue() {
                return this.configValue;
            }

            /* JADX INFO: renamed from: component2, reason: from getter */
            public final String getTargetValue() {
                return this.targetValue;
            }

            public final Config copy(String configValue, String targetValue) {
                Intrinsics.checkNotNullParameter(configValue, "configValue");
                Intrinsics.checkNotNullParameter(targetValue, "targetValue");
                return new Config(configValue, targetValue);
            }

            public boolean equals(Object other) {
                if (this == other) {
                    return true;
                }
                if (!(other instanceof Config)) {
                    return false;
                }
                Config config = (Config) other;
                return Intrinsics.areEqual(this.configValue, config.configValue) && Intrinsics.areEqual(this.targetValue, config.targetValue);
            }

            public int hashCode() {
                return (this.configValue.hashCode() * 31) + this.targetValue.hashCode();
            }

            public String toString() {
                return "Config(configValue=" + this.configValue + ", targetValue=" + this.targetValue + ')';
            }

            public Config(String configValue, String targetValue) {
                Intrinsics.checkNotNullParameter(configValue, "configValue");
                Intrinsics.checkNotNullParameter(targetValue, "targetValue");
                this.configValue = configValue;
                this.targetValue = targetValue;
            }

            public final String getConfigValue() {
                return this.configValue;
            }

            public final String getTargetValue() {
                return this.targetValue;
            }
        }
    }

    /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
    @Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\b\u0082\b\u0018\u00002\u00020\u0001:\u0002\u0018\u0019B%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005\u0012\b\b\u0002\u0010\u0007\u001a\u00020\u0003¢\u0006\u0002\u0010\bJ\t\u0010\u000e\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\u000f\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J-\u0010\u0011\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u00052\b\b\u0002\u0010\u0007\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0012\u001a\u00020\u00132\b\u0010\u0014\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0015\u001a\u00020\u0016HÖ\u0001J\t\u0010\u0017\u001a\u00020\u0003HÖ\u0001R\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\f¨\u0006\u001a"}, d2 = {"Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectHandlerInfo;", "", "handler", "", "configs", "", "Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectHandlerInfo$Config;", "handlerSampleName", "(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)V", "getConfigs", "()Ljava/util/List;", "getHandler", "()Ljava/lang/String;", "getHandlerSampleName", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "Config", "Fun", "app"}, k = 1, mv = {1, 5, 1}, xi = 48)
    private static final /* data */ class SelectHandlerInfo {
        private final List<Config> configs;
        private final String handler;
        private final String handlerSampleName;

        /* JADX WARN: Multi-variable type inference failed */
        public static /* synthetic */ SelectHandlerInfo copy$default(SelectHandlerInfo selectHandlerInfo, String str, List list, String str2, int i, Object obj) {
            if ((i & 1) != 0) {
                str = selectHandlerInfo.handler;
            }
            if ((i & 2) != 0) {
                list = selectHandlerInfo.configs;
            }
            if ((i & 4) != 0) {
                str2 = selectHandlerInfo.handlerSampleName;
            }
            return selectHandlerInfo.copy(str, list, str2);
        }

        /* JADX INFO: renamed from: component1, reason: from getter */
        public final String getHandler() {
            return this.handler;
        }

        public final List<Config> component2() {
            return this.configs;
        }

        /* JADX INFO: renamed from: component3, reason: from getter */
        public final String getHandlerSampleName() {
            return this.handlerSampleName;
        }

        public final SelectHandlerInfo copy(String handler, List<Config> configs, String handlerSampleName) {
            Intrinsics.checkNotNullParameter(handler, "handler");
            Intrinsics.checkNotNullParameter(configs, "configs");
            Intrinsics.checkNotNullParameter(handlerSampleName, "handlerSampleName");
            return new SelectHandlerInfo(handler, configs, handlerSampleName);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof SelectHandlerInfo)) {
                return false;
            }
            SelectHandlerInfo selectHandlerInfo = (SelectHandlerInfo) other;
            return Intrinsics.areEqual(this.handler, selectHandlerInfo.handler) && Intrinsics.areEqual(this.configs, selectHandlerInfo.configs) && Intrinsics.areEqual(this.handlerSampleName, selectHandlerInfo.handlerSampleName);
        }

        public int hashCode() {
            return (((this.handler.hashCode() * 31) + this.configs.hashCode()) * 31) + this.handlerSampleName.hashCode();
        }

        public String toString() {
            return "SelectHandlerInfo(handler=" + this.handler + ", configs=" + this.configs + ", handlerSampleName=" + this.handlerSampleName + ')';
        }

        public SelectHandlerInfo(String handler, List<Config> configs, String handlerSampleName) {
            Intrinsics.checkNotNullParameter(handler, "handler");
            Intrinsics.checkNotNullParameter(configs, "configs");
            Intrinsics.checkNotNullParameter(handlerSampleName, "handlerSampleName");
            this.handler = handler;
            this.configs = configs;
            this.handlerSampleName = handlerSampleName;
        }

        public /* synthetic */ SelectHandlerInfo(String str, List list, String str2, int i, DefaultConstructorMarker defaultConstructorMarker) {
            this(str, list, (i & 4) != 0 ? (String) CollectionsKt.last(StringsKt.split$default((CharSequence) str, new String[]{"."}, false, 0, 6, (Object) null)) : str2);
        }

        public final String getHandler() {
            return this.handler;
        }

        public final List<Config> getConfigs() {
            return this.configs;
        }

        public final String getHandlerSampleName() {
            return this.handlerSampleName;
        }

        /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
        @Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u001b\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\u000f\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0003J#\u0010\u000e\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\u000e\b\u0002\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005HÆ\u0001J\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0012\u001a\u00020\u0013HÖ\u0001J\t\u0010\u0014\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006\u0015"}, d2 = {"Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectHandlerInfo$Config;", "", "config", "", "funs", "", "Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectHandlerInfo$Fun;", "(Ljava/lang/String;Ljava/util/List;)V", "getConfig", "()Ljava/lang/String;", "getFuns", "()Ljava/util/List;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "app"}, k = 1, mv = {1, 5, 1}, xi = 48)
        public static final /* data */ class Config {
            private final String config;
            private final List<Fun> funs;

            /* JADX WARN: Multi-variable type inference failed */
            public static /* synthetic */ Config copy$default(Config config, String str, List list, int i, Object obj) {
                if ((i & 1) != 0) {
                    str = config.config;
                }
                if ((i & 2) != 0) {
                    list = config.funs;
                }
                return config.copy(str, list);
            }

            /* JADX INFO: renamed from: component1, reason: from getter */
            public final String getConfig() {
                return this.config;
            }

            public final List<Fun> component2() {
                return this.funs;
            }

            public final Config copy(String config, List<Fun> funs) {
                Intrinsics.checkNotNullParameter(config, "config");
                Intrinsics.checkNotNullParameter(funs, "funs");
                return new Config(config, funs);
            }

            public boolean equals(Object other) {
                if (this == other) {
                    return true;
                }
                if (!(other instanceof Config)) {
                    return false;
                }
                Config config = (Config) other;
                return Intrinsics.areEqual(this.config, config.config) && Intrinsics.areEqual(this.funs, config.funs);
            }

            public int hashCode() {
                return (this.config.hashCode() * 31) + this.funs.hashCode();
            }

            public String toString() {
                return "Config(config=" + this.config + ", funs=" + this.funs + ')';
            }

            public Config(String config, List<Fun> funs) {
                Intrinsics.checkNotNullParameter(config, "config");
                Intrinsics.checkNotNullParameter(funs, "funs");
                this.config = config;
                this.funs = funs;
            }

            public final String getConfig() {
                return this.config;
            }

            public final List<Fun> getFuns() {
                return this.funs;
            }
        }

        /* JADX INFO: compiled from: ConfigLoaderProcessor.kt */
        @Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\f\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\b\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000e\u001a\u00020\u0005HÆ\u0003J\t\u0010\u000f\u001a\u00020\u0005HÆ\u0003J'\u0010\u0010\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0014\u001a\u00020\u0003HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\u000b¨\u0006\u0016"}, d2 = {"Lcom/ifpdos/sdk/config/loader/ConfigLoaderProcessor$SelectHandlerInfo$Fun;", "", "id", "", "key", "", "selectFun", "(ILjava/lang/String;Ljava/lang/String;)V", "getId", "()I", "getKey", "()Ljava/lang/String;", "getSelectFun", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "toString", "app"}, k = 1, mv = {1, 5, 1}, xi = 48)
        public static final /* data */ class Fun {
            private final int id;
            private final String key;
            private final String selectFun;

            public static /* synthetic */ Fun copy$default(Fun fun, int i, String str, String str2, int i2, Object obj) {
                if ((i2 & 1) != 0) {
                    i = fun.id;
                }
                if ((i2 & 2) != 0) {
                    str = fun.key;
                }
                if ((i2 & 4) != 0) {
                    str2 = fun.selectFun;
                }
                return fun.copy(i, str, str2);
            }

            /* JADX INFO: renamed from: component1, reason: from getter */
            public final int getId() {
                return this.id;
            }

            /* JADX INFO: renamed from: component2, reason: from getter */
            public final String getKey() {
                return this.key;
            }

            /* JADX INFO: renamed from: component3, reason: from getter */
            public final String getSelectFun() {
                return this.selectFun;
            }

            public final Fun copy(int id, String key, String selectFun) {
                Intrinsics.checkNotNullParameter(key, "key");
                Intrinsics.checkNotNullParameter(selectFun, "selectFun");
                return new Fun(id, key, selectFun);
            }

            public boolean equals(Object other) {
                if (this == other) {
                    return true;
                }
                if (!(other instanceof Fun)) {
                    return false;
                }
                Fun fun = (Fun) other;
                return this.id == fun.id && Intrinsics.areEqual(this.key, fun.key) && Intrinsics.areEqual(this.selectFun, fun.selectFun);
            }

            public int hashCode() {
                return (((Integer.hashCode(this.id) * 31) + this.key.hashCode()) * 31) + this.selectFun.hashCode();
            }

            public String toString() {
                return "Fun(id=" + this.id + ", key=" + this.key + ", selectFun=" + this.selectFun + ')';
            }

            public Fun(int i, String key, String selectFun) {
                Intrinsics.checkNotNullParameter(key, "key");
                Intrinsics.checkNotNullParameter(selectFun, "selectFun");
                this.id = i;
                this.key = key;
                this.selectFun = selectFun;
            }

            public final int getId() {
                return this.id;
            }

            public final String getKey() {
                return this.key;
            }

            public final String getSelectFun() {
                return this.selectFun;
            }
        }
    }
}
