导航菜单

页面标题

页面副标题

BodyTech v7.6.4 - GetMessengerAiSnippet.java 源代码

正在查看: BodyTech v7.6.4 应用的 GetMessengerAiSnippet.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.fitnessmobileapps.fma.feature.messengerai.domain.interactor;

import androidx.compose.runtime.internal.StabilityInferred;
import com.fitnessmobileapps.fma.core.domain.WapLocationSettingsEntity;
import com.fitnessmobileapps.fma.core.domain.l;
import com.fitnessmobileapps.fma.feature.profile.domain.interactor.GetGymSettings;
import gf.a;
import java.util.Arrays;
import java.util.Locale;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.b;
import kotlin.f;
import kotlin.jvm.internal.r;
import kotlin.text.StringsKt__IndentKt;
import s4.a;

@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u0000 \u00062\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001:\u0001\tB\u000f\u0012\u0006\u0010\u000b\u001a\u00020\b¢\u0006\u0004\b\f\u0010\rJ\u001d\u0010\u0006\u001a\u00020\u00052\b\u0010\u0004\u001a\u0004\u0018\u00010\u0002H\u0096Bø\u0001\u0000¢\u0006\u0004\b\u0006\u0010\u0007R\u0014\u0010\u000b\u001a\u00020\b8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\t\u0010\n\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\u000e"}, d2 = {"Lcom/fitnessmobileapps/fma/feature/messengerai/domain/interactor/GetMessengerAiSnippet;", "Lcom/fitnessmobileapps/fma/core/domain/l;", "", "Ls4/a;", "param", "Ls4/a$d;", "b", "(Lkotlin/Unit;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Lcom/fitnessmobileapps/fma/feature/profile/domain/interactor/GetGymSettings;", a.A, "Lcom/fitnessmobileapps/fma/feature/profile/domain/interactor/GetGymSettings;", "getGymSettings", "<init>", "(Lcom/fitnessmobileapps/fma/feature/profile/domain/interactor/GetGymSettings;)V", "FMA_release"}, k = 1, mv = {1, 8, 0})
public final class GetMessengerAiSnippet implements l<Unit, s4.a> {

    private final GetGymSettings getGymSettings;

    public GetMessengerAiSnippet(GetGymSettings getGymSettings) {
        r.i(getGymSettings, "getGymSettings");
        this.getGymSettings = getGymSettings;
    }

    @Override
    public Object a(Unit unit, Continuation<? super a.Snippet> continuation) {
        GetMessengerAiSnippet$invoke$1 getMessengerAiSnippet$invoke$1;
        Object f10;
        int i10;
        Locale locale;
        Object[] objArr;
        Object[] objArr2;
        String str;
        int i11;
        String f11;
        if (continuation instanceof GetMessengerAiSnippet$invoke$1) {
            getMessengerAiSnippet$invoke$1 = (GetMessengerAiSnippet$invoke$1) continuation;
            int i12 = getMessengerAiSnippet$invoke$1.label;
            if ((i12 & Integer.MIN_VALUE) != 0) {
                getMessengerAiSnippet$invoke$1.label = i12 - Integer.MIN_VALUE;
                Object obj = getMessengerAiSnippet$invoke$1.result;
                f10 = b.f();
                i10 = getMessengerAiSnippet$invoke$1.label;
                if (i10 != 0) {
                    f.b(obj);
                    locale = Locale.getDefault();
                    objArr = new Object[1];
                    GetGymSettings getGymSettings = this.getGymSettings;
                    getMessengerAiSnippet$invoke$1.L$0 = "\n                <!DOCTYPE html>\n                <html lang=\"en\">\n                  <head>\n                    <meta charset=\"UTF-8\">\n                    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n                  </head>\n                  <body style=\"background-color: transparent\">\n                    <h1 id=\"header\"></h1>\n                    <script>(function(t,i,o,n,w,a,e){t[\"bowtieDataToken\"]=w;t[w]=t[w]||function(){(t[w].i=t[w].i||[]).push(arguments)};t[w].o=1*new Date;a=i.createElement(o);e=i.getElementsByTagName(o)[0];a.async=1;a.src=n;e.parentNode.insertBefore(a,e)})(window,document,\"script\",\"https://s3.amazonaws.com/bowtie.ai/bowtieJS/bowtie_widget.js\",\"%s\");</script>\n                  </body>\n                </html>\n            ";
                    getMessengerAiSnippet$invoke$1.L$1 = locale;
                    getMessengerAiSnippet$invoke$1.L$2 = objArr;
                    getMessengerAiSnippet$invoke$1.L$3 = objArr;
                    getMessengerAiSnippet$invoke$1.I$0 = 0;
                    getMessengerAiSnippet$invoke$1.label = 1;
                    obj = getGymSettings.a(getMessengerAiSnippet$invoke$1);
                    if (obj == f10) {
                        return f10;
                    }
                    objArr2 = objArr;
                    str = "\n                <!DOCTYPE html>\n                <html lang=\"en\">\n                  <head>\n                    <meta charset=\"UTF-8\">\n                    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n                  </head>\n                  <body style=\"background-color: transparent\">\n                    <h1 id=\"header\"></h1>\n                    <script>(function(t,i,o,n,w,a,e){t[\"bowtieDataToken\"]=w;t[w]=t[w]||function(){(t[w].i=t[w].i||[]).push(arguments)};t[w].o=1*new Date;a=i.createElement(o);e=i.getElementsByTagName(o)[0];a.async=1;a.src=n;e.parentNode.insertBefore(a,e)})(window,document,\"script\",\"https://s3.amazonaws.com/bowtie.ai/bowtieJS/bowtie_widget.js\",\"%s\");</script>\n                  </body>\n                </html>\n            ";
                    i11 = 0;
                } else {
                    if (i10 != 1) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    i11 = getMessengerAiSnippet$invoke$1.I$0;
                    objArr = (Object[]) getMessengerAiSnippet$invoke$1.L$3;
                    objArr2 = (Object[]) getMessengerAiSnippet$invoke$1.L$2;
                    locale = (Locale) getMessengerAiSnippet$invoke$1.L$1;
                    str = (String) getMessengerAiSnippet$invoke$1.L$0;
                    f.b(obj);
                }
                objArr[i11] = ((WapLocationSettingsEntity) obj).getMessengerAiToken();
                String format = String.format(locale, str, Arrays.copyOf(objArr2, objArr2.length));
                r.h(format, "format(...)");
                f11 = StringsKt__IndentKt.f(format);
                return new a.Snippet(f11, "https://messenger.mindbodyonline.com");
            }
        }
        getMessengerAiSnippet$invoke$1 = new GetMessengerAiSnippet$invoke$1(this, continuation);
        Object obj2 = getMessengerAiSnippet$invoke$1.result;
        f10 = b.f();
        i10 = getMessengerAiSnippet$invoke$1.label;
        if (i10 != 0) {
        }
        objArr[i11] = ((WapLocationSettingsEntity) obj2).getMessengerAiToken();
        String format2 = String.format(locale, str, Arrays.copyOf(objArr2, objArr2.length));
        r.h(format2, "format(...)");
        f11 = StringsKt__IndentKt.f(format2);
        return new a.Snippet(f11, "https://messenger.mindbodyonline.com");
    }
}