package com.revenuecat.purchases.paywalls.components;

import com.revenuecat.purchases.paywalls.components.ButtonComponent;
import com.revenuecat.purchases.paywalls.components.common.LocalizationKey;
import com.revenuecat.purchases.paywalls.components.common.LocalizationKey$$serializer;
import g5.a;
import i5.g;
import j5.b;
import k5.P;
import k5.a0;
import kotlin.jvm.internal.h;
import kotlin.jvm.internal.o;
import w4.InterfaceC3141c;

/* JADX INFO: loaded from: classes3.dex */
final class UrlSurrogate {
    public static final Companion Companion = new Companion(null);
    private final ButtonComponent.UrlMethod method;
    private final String url_lid;

    public static final class Companion {
        public /* synthetic */ Companion(h hVar) {
            this();
        }

        public final a serializer() {
            return UrlSurrogate$$serializer.INSTANCE;
        }

        private Companion() {
        }
    }

    @InterfaceC3141c
    public /* synthetic */ UrlSurrogate(int i6, String str, ButtonComponent.UrlMethod urlMethod, a0 a0Var, h hVar) {
        this(i6, str, urlMethod, a0Var);
    }

    public static final /* synthetic */ void write$Self$purchases_defaultsBc8Release(UrlSurrogate urlSurrogate, b bVar, g gVar) {
        bVar.z(gVar, 0, LocalizationKey$$serializer.INSTANCE, LocalizationKey.m607boximpl(urlSurrogate.url_lid));
        bVar.z(gVar, 1, UrlMethodDeserializer.INSTANCE, urlSurrogate.method);
    }

    public final ButtonComponent.UrlMethod getMethod() {
        return this.method;
    }

    /* JADX INFO: renamed from: getUrl_lid-z7Tp-4o, reason: not valid java name */
    public final String m568getUrl_lidz7Tp4o() {
        return this.url_lid;
    }

    public /* synthetic */ UrlSurrogate(String str, ButtonComponent.UrlMethod urlMethod, h hVar) {
        this(str, urlMethod);
    }

    private UrlSurrogate(int i6, String str, ButtonComponent.UrlMethod urlMethod, a0 a0Var) {
        if (3 != (i6 & 3)) {
            P.h(i6, 3, UrlSurrogate$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.url_lid = str;
        this.method = urlMethod;
    }

    private UrlSurrogate(String url_lid, ButtonComponent.UrlMethod method) {
        o.h(url_lid, "url_lid");
        o.h(method, "method");
        this.url_lid = url_lid;
        this.method = method;
    }
}
