导航菜单

页面标题

页面副标题

95爱播免登录版 v3.1.9 - g.java 源代码

正在查看: 95爱播免登录版 v3.1.9 应用的 g.java JAVA 源代码文件

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


package com.opensource.svgaplayer;

import android.content.Context;
import android.content.res.AssetManager;
import android.net.http.HttpResponseCache;
import android.os.Handler;
import android.os.Looper;
import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting;
import com.mobile.auth.gatewayauth.Constant;
import com.opensource.svgaplayer.proto.MovieEntity;
import com.tencent.connect.common.Constants;
import com.zego.zegoliveroom.constants.ZegoConstants;
import h.o;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.zip.Inflater;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import org.apache.commons.httpclient.cookie.CookieSpec;
import org.json.JSONObject;

public final class g {

    private static ExecutorService f1439f;
    private Context a;
    private volatile int b;
    private volatile int c;
    private c d;

    public static final b f1440g = new b(null);

    private static final AtomicInteger f1438e = new AtomicInteger(0);

    static final class a implements ThreadFactory {
        public static final a a = new a();

        a() {
        }

        @Override
        public final Thread newThread(Runnable runnable) {
            return new Thread(runnable, "SVGAParser-Thread-" + g.f1438e.getAndIncrement());
        }
    }

    public static final class b {
        private b() {
        }

        public final ExecutorService a() {
            return g.f1439f;
        }

        public b(h.t.d.e eVar) {
            this();
        }
    }

    public static class c {
        private boolean a;

        static final class a implements Runnable {
            final URL b;
            final h.t.d.l c;
            final h.t.c.b d;

            final h.t.c.b f1441e;

            a(URL url, h.t.d.l lVar, h.t.c.b bVar, h.t.c.b bVar2) {
                this.b = url;
                this.c = lVar;
                this.d = bVar;
                this.f1441e = bVar2;
            }

            @Override
            public final void run() {
                try {
                    com.opensource.svgaplayer.m.g.c cVar = com.opensource.svgaplayer.m.g.c.a;
                    cVar.d("SVGAParser", "================ svga file download start ================");
                    if (HttpResponseCache.getInstalled() == null && !c.this.a()) {
                        cVar.b("SVGAParser", "SVGAParser can not handle cache before install HttpResponseCache. see https://github.com/yyued/SVGAPlayer-Android#cache");
                        cVar.b("SVGAParser", "在配置 HttpResponseCache 前 SVGAParser 无法缓存. 查看 https://github.com/yyued/SVGAPlayer-Android#cache ");
                    }
                    URLConnection openConnection = this.b.openConnection();
                    if (!(openConnection instanceof HttpURLConnection)) {
                        openConnection = null;
                    }
                    HttpURLConnection httpURLConnection = (HttpURLConnection) openConnection;
                    if (httpURLConnection == null) {
                        return;
                    }
                    httpURLConnection.setConnectTimeout(20000);
                    httpURLConnection.setRequestMethod(Constants.HTTP_GET);
                    httpURLConnection.connect();
                    InputStream inputStream = httpURLConnection.getInputStream();
                    try {
                        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
                        try {
                            byte[] bArr = new byte[ZegoConstants.ErrorMask.NerworkErrorMask];
                            while (true) {
                                if (this.c.a) {
                                    com.opensource.svgaplayer.m.g.c.a.e("SVGAParser", "================ svga file download canceled ================");
                                    break;
                                }
                                int read = inputStream.read(bArr, 0, ZegoConstants.ErrorMask.NerworkErrorMask);
                                if (read == -1) {
                                    break;
                                } else {
                                    byteArrayOutputStream.write(bArr, 0, read);
                                }
                            }
                            if (this.c.a) {
                                com.opensource.svgaplayer.m.g.c.a.e("SVGAParser", "================ svga file download canceled ================");
                                h.s.a.a(byteArrayOutputStream, null);
                                h.s.a.a(inputStream, null);
                                return;
                            }
                            ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
                            try {
                                com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "================ svga file download complete ================");
                                this.d.invoke(byteArrayInputStream);
                                o oVar = o.a;
                                h.s.a.a(byteArrayInputStream, null);
                                h.s.a.a(byteArrayOutputStream, null);
                                h.s.a.a(inputStream, null);
                            } finally {
                            }
                        } finally {
                        }
                    } finally {
                    }
                } catch (Exception e2) {
                    com.opensource.svgaplayer.m.g.c cVar2 = com.opensource.svgaplayer.m.g.c.a;
                    cVar2.b("SVGAParser", "================ svga file download fail ================");
                    cVar2.b("SVGAParser", "error: " + e2.getMessage());
                    e2.printStackTrace();
                    this.f1441e.invoke(e2);
                }
            }
        }

        static final class b extends h.t.d.h implements h.t.c.a<o> {
            final h.t.d.l a;

            b(h.t.d.l lVar) {
                super(0);
                this.a = lVar;
            }

            @Override
            public o invoke() {
                invoke2();
                return o.a;
            }

            public final void invoke2() {
                this.a.a = true;
            }
        }

        public final boolean a() {
            return this.a;
        }

        public h.t.c.a<o> b(URL url, h.t.c.b<? super InputStream, o> bVar, h.t.c.b<? super Exception, o> bVar2) {
            h.t.d.g.c(url, "url");
            h.t.d.g.c(bVar, "complete");
            h.t.d.g.c(bVar2, "failure");
            h.t.d.l lVar = new h.t.d.l();
            lVar.a = false;
            b bVar3 = new b(lVar);
            g.f1440g.a().execute(new a(url, lVar, bVar, bVar2));
            return bVar3;
        }
    }

    public interface d {
        void a(com.opensource.svgaplayer.i iVar);

        void onError();
    }

    static final class e extends h.t.d.h implements h.t.c.a<o> {
        final com.opensource.svgaplayer.i a;
        final g b;
        final d c;

        e(com.opensource.svgaplayer.i iVar, g gVar, String str, d dVar) {
            super(0);
            this.a = iVar;
            this.b = gVar;
            this.c = dVar;
        }

        @Override
        public o invoke() {
            invoke2();
            return o.a;
        }

        public final void invoke2() {
            com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "cache.prepare success");
            this.b.u(this.a, this.c);
        }
    }

    static final class f implements Runnable {
        final InputStream b;
        final String c;
        final d d;

        static final class a implements Runnable {
            final byte[] a;
            final f b;

            a(byte[] bArr, f fVar) {
                this.a = bArr;
                this.b = fVar;
            }

            @Override
            public final void run() {
                File e2 = com.opensource.svgaplayer.b.c.e(this.b.c);
                try {
                    File file = e2.exists() ^ true ? e2 : null;
                    if (file != null) {
                        file.createNewFile();
                    }
                    new FileOutputStream(e2).write(this.a);
                    o oVar = o.a;
                } catch (Exception e3) {
                    com.opensource.svgaplayer.m.g.c.a.c("SVGAParser", "create cache file fail.", e3);
                    e2.delete();
                }
            }
        }

        static final class b extends h.t.d.h implements h.t.c.a<o> {
            final com.opensource.svgaplayer.i a;
            final f b;

            b(com.opensource.svgaplayer.i iVar, f fVar) {
                super(0);
                this.a = iVar;
                this.b = fVar;
            }

            @Override
            public o invoke() {
                invoke2();
                return o.a;
            }

            public final void invoke2() {
                com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "Input.prepare success");
                f fVar = this.b;
                g.this.u(this.a, fVar.d);
            }
        }

        f(InputStream inputStream, String str, d dVar) {
            this.b = inputStream;
            this.c = str;
            this.d = dVar;
        }

        @Override
        public final void run() {
            try {
                try {
                    com.opensource.svgaplayer.m.g.c cVar = com.opensource.svgaplayer.m.g.c.a;
                    cVar.d("SVGAParser", "Input.binary change to entity");
                    byte[] w = g.this.w(this.b);
                    if (w != null) {
                        g.f1440g.a().execute(new a(w, this));
                        cVar.d("SVGAParser", "Input.inflate start");
                        byte[] t = g.this.t(w);
                        if (t != null) {
                            cVar.d("SVGAParser", "Input.inflate success");
                            MovieEntity decode = MovieEntity.ADAPTER.decode(t);
                            h.t.d.g.b(decode, "MovieEntity.ADAPTER.decode(inflateBytes)");
                            com.opensource.svgaplayer.i iVar = new com.opensource.svgaplayer.i(decode, new File(this.c), g.this.b, g.this.c);
                            iVar.t(new b(iVar, this));
                        } else {
                            g.this.s("Input.inflate(bytes) cause exception", this.d);
                        }
                    } else {
                        g.this.s("Input.readAsBytes(inputStream) cause exception", this.d);
                    }
                } catch (Exception e2) {
                    g.this.v(e2, this.d);
                }
            } finally {
                this.b.close();
            }
        }
    }

    static final class RunnableC0026g implements Runnable {
        final String b;
        final d c;

        RunnableC0026g(String str, d dVar) {
            this.b = str;
            this.c = dVar;
        }

        @Override
        public final void run() {
            AssetManager assets;
            InputStream open;
            Context context = g.this.a;
            if (context == null || (assets = context.getAssets()) == null || (open = assets.open(this.b)) == null) {
                return;
            }
            g.this.p(open, com.opensource.svgaplayer.b.c.c("file:///assets/" + this.b), this.c, true);
        }
    }

    static final class h implements Runnable {
        final InputStream b;
        final String c;
        final d d;

        final boolean f1442e;

        static final class a extends h.t.d.h implements h.t.c.a<o> {
            final com.opensource.svgaplayer.i a;
            final h b;

            a(com.opensource.svgaplayer.i iVar, h hVar) {
                super(0);
                this.a = iVar;
                this.b = hVar;
            }

            @Override
            public o invoke() {
                invoke2();
                return o.a;
            }

            public final void invoke2() {
                com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "decode from input stream, inflate end");
                h hVar = this.b;
                g.this.u(this.a, hVar.d);
            }
        }

        h(InputStream inputStream, String str, d dVar, boolean z) {
            this.b = inputStream;
            this.c = str;
            this.d = dVar;
            this.f1442e = z;
        }

        @Override
        public final void run() {
            throw new UnsupportedOperationException("Method not decompiled: com.opensource.svgaplayer.g.h.run():void");
        }
    }

    static final class i implements Runnable {
        final String b;
        final d c;

        i(String str, d dVar) {
            this.b = str;
            this.c = dVar;
        }

        @Override
        public final void run() {
            if (com.opensource.svgaplayer.b.c.h()) {
                g.this.o(this.b, this.c);
            } else {
                g.this.a(this.b, this.c);
            }
        }
    }

    static final class j extends h.t.d.h implements h.t.c.b<InputStream, o> {
        final String b;
        final d c;

        j(String str, d dVar) {
            super(1);
            this.b = str;
            this.c = dVar;
        }

        public final void c(InputStream inputStream) {
            h.t.d.g.c(inputStream, AdvanceSetting.NETWORK_TYPE);
            if (com.opensource.svgaplayer.b.c.h()) {
                g.q(g.this, inputStream, this.b, this.c, false, 8, null);
            } else {
                g.this.b(inputStream, this.b, this.c);
            }
        }

        @Override
        public o invoke(InputStream inputStream) {
            c(inputStream);
            return o.a;
        }
    }

    static final class k extends h.t.d.h implements h.t.c.b<Exception, o> {
        final d b;

        k(d dVar) {
            super(1);
            this.b = dVar;
        }

        public final void c(Exception exc) {
            h.t.d.g.c(exc, AdvanceSetting.NETWORK_TYPE);
            g.this.v(exc, this.b);
        }

        @Override
        public o invoke(Exception exc) {
            c(exc);
            return o.a;
        }
    }

    static final class l implements Runnable {
        final d a;
        final com.opensource.svgaplayer.i b;

        l(d dVar, com.opensource.svgaplayer.i iVar) {
            this.a = dVar;
            this.b = iVar;
        }

        @Override
        public final void run() {
            com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "================ parser complete ================");
            d dVar = this.a;
            if (dVar != null) {
                dVar.a(this.b);
            }
        }
    }

    static final class m implements Runnable {
        final d a;

        m(d dVar) {
            this.a = dVar;
        }

        @Override
        public final void run() {
            d dVar = this.a;
            if (dVar != null) {
                dVar.onError();
            }
        }
    }

    static {
        new g(null);
        f1439f = Executors.newCachedThreadPool(a.a);
    }

    public g(Context context) {
        this.a = context != null ? context.getApplicationContext() : null;
        com.opensource.svgaplayer.b.c.j(context);
        this.d = new c();
    }

    public final void o(String str, d dVar) {
        FileInputStream fileInputStream;
        com.opensource.svgaplayer.m.g.c cVar = com.opensource.svgaplayer.m.g.c.a;
        cVar.d("SVGAParser", "================ decode from cache ================");
        cVar.a("SVGAParser", "decodeFromCacheKey called with cacheKey : " + str);
        if (this.a == null) {
            cVar.b("SVGAParser", "在配置 SVGAParser context 前, 无法解析 SVGA 文件。");
            return;
        }
        try {
            File b2 = com.opensource.svgaplayer.b.c.b(str);
            File file = new File(b2, "movie.binary");
            if (!file.isFile()) {
                file = null;
            }
            if (file != null) {
                try {
                    cVar.d("SVGAParser", "binary change to entity");
                    fileInputStream = new FileInputStream(file);
                    try {
                        cVar.d("SVGAParser", "binary change to entity success");
                        MovieEntity decode = MovieEntity.ADAPTER.decode(fileInputStream);
                        h.t.d.g.b(decode, "MovieEntity.ADAPTER.decode(it)");
                        u(new com.opensource.svgaplayer.i(decode, b2, this.b, this.c), dVar);
                        o oVar = o.a;
                        h.s.a.a(fileInputStream, null);
                    } finally {
                    }
                } catch (Exception e2) {
                    com.opensource.svgaplayer.m.g.c.a.c("SVGAParser", "binary change to entity fail", e2);
                    b2.delete();
                    file.delete();
                    throw e2;
                }
            }
            File file2 = new File(b2, "movie.spec");
            if (!file2.isFile()) {
                file2 = null;
            }
            if (file2 == null) {
                return;
            }
            try {
                cVar.d("SVGAParser", "spec change to entity");
                fileInputStream = new FileInputStream(file2);
                try {
                    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
                    try {
                        byte[] bArr = new byte[2048];
                        while (true) {
                            int read = fileInputStream.read(bArr, 0, 2048);
                            if (read == -1) {
                                JSONObject jSONObject = new JSONObject(byteArrayOutputStream.toString());
                                com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "spec change to entity success");
                                u(new com.opensource.svgaplayer.i(jSONObject, b2, this.b, this.c), dVar);
                                o oVar2 = o.a;
                                h.s.a.a(byteArrayOutputStream, null);
                                h.s.a.a(fileInputStream, null);
                                return;
                            }
                            byteArrayOutputStream.write(bArr, 0, read);
                        }
                    } finally {
                    }
                } finally {
                    try {
                        throw th;
                    } finally {
                    }
                }
            } catch (Exception e3) {
                com.opensource.svgaplayer.m.g.c.a.c("SVGAParser", "spec change to entity fail", e3);
                b2.delete();
                file2.delete();
                throw e3;
            }
        } catch (Exception e4) {
            v(e4, dVar);
        }
    }

    public static void q(g gVar, InputStream inputStream, String str, d dVar, boolean z, int i2, Object obj) {
        if ((i2 & 8) != 0) {
            z = false;
        }
        gVar.p(inputStream, str, dVar, z);
    }

    public final byte[] t(byte[] bArr) {
        Inflater inflater = new Inflater();
        inflater.setInput(bArr, 0, bArr.length);
        byte[] bArr2 = new byte[2048];
        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
        while (true) {
            try {
                int inflate = inflater.inflate(bArr2, 0, 2048);
                if (inflate <= 0) {
                    inflater.end();
                    byte[] byteArray = byteArrayOutputStream.toByteArray();
                    h.s.a.a(byteArrayOutputStream, null);
                    return byteArray;
                }
                byteArrayOutputStream.write(bArr2, 0, inflate);
            } finally {
            }
        }
    }

    public final void u(com.opensource.svgaplayer.i iVar, d dVar) {
        new Handler(Looper.getMainLooper()).post(new l(dVar, iVar));
    }

    public final void v(Exception exc, d dVar) {
        exc.printStackTrace();
        com.opensource.svgaplayer.m.g.c cVar = com.opensource.svgaplayer.m.g.c.a;
        cVar.b("SVGAParser", "================ parser error ================");
        cVar.c("SVGAParser", "error", exc);
        new Handler(Looper.getMainLooper()).post(new m(dVar));
    }

    public final byte[] w(InputStream inputStream) {
        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
        try {
            byte[] bArr = new byte[2048];
            while (true) {
                int read = inputStream.read(bArr, 0, 2048);
                if (read <= 0) {
                    byte[] byteArray = byteArrayOutputStream.toByteArray();
                    h.s.a.a(byteArrayOutputStream, null);
                    return byteArray;
                }
                byteArrayOutputStream.write(bArr, 0, read);
            }
        } finally {
        }
    }

    public final void x(InputStream inputStream, String str) {
        boolean l2;
        boolean l3;
        com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "================ unzip prepare ================");
        File b2 = com.opensource.svgaplayer.b.c.b(str);
        b2.mkdirs();
        try {
            BufferedInputStream bufferedInputStream = new BufferedInputStream(inputStream);
            try {
                ZipInputStream zipInputStream = new ZipInputStream(bufferedInputStream);
                while (true) {
                    try {
                        ZipEntry nextEntry = zipInputStream.getNextEntry();
                        if (nextEntry == null) {
                            o oVar = o.a;
                            h.s.a.a(zipInputStream, null);
                            h.s.a.a(bufferedInputStream, null);
                            return;
                        }
                        String name = nextEntry.getName();
                        h.t.d.g.b(name, "zipItem.name");
                        l2 = h.x.m.l(name, "../", false, 2, null);
                        if (!l2) {
                            String name2 = nextEntry.getName();
                            h.t.d.g.b(name2, "zipItem.name");
                            l3 = h.x.m.l(name2, CookieSpec.PATH_DELIM, false, 2, null);
                            if (!l3) {
                                FileOutputStream fileOutputStream = new FileOutputStream(new File(b2, nextEntry.getName()));
                                try {
                                    byte[] bArr = new byte[2048];
                                    while (true) {
                                        int read = zipInputStream.read(bArr);
                                        if (read <= 0) {
                                            break;
                                        } else {
                                            fileOutputStream.write(bArr, 0, read);
                                        }
                                    }
                                    o oVar2 = o.a;
                                    h.s.a.a(fileOutputStream, null);
                                    com.opensource.svgaplayer.m.g.c.a.b("SVGAParser", "================ unzip complete ================");
                                    zipInputStream.closeEntry();
                                } finally {
                                }
                            }
                        }
                    } finally {
                    }
                }
            } finally {
            }
        } catch (Exception e2) {
            com.opensource.svgaplayer.m.g.c cVar = com.opensource.svgaplayer.m.g.c.a;
            cVar.b("SVGAParser", "================ unzip error ================");
            cVar.c("SVGAParser", "error", e2);
            b2.delete();
            throw e2;
        }
    }

    public final void a(String str, d dVar) {
        FileInputStream fileInputStream;
        h.t.d.g.c(str, "cacheKey");
        File e2 = com.opensource.svgaplayer.b.c.e(str);
        try {
            try {
                com.opensource.svgaplayer.m.g.c cVar = com.opensource.svgaplayer.m.g.c.a;
                cVar.d("SVGAParser", "cache.binary change to entity");
                fileInputStream = new FileInputStream(e2);
                try {
                    try {
                        byte[] w = w(fileInputStream);
                        if (w != null) {
                            cVar.d("SVGAParser", "cache.inflate start");
                            byte[] t = t(w);
                            if (t != null) {
                                cVar.d("SVGAParser", "cache.inflate success");
                                MovieEntity decode = MovieEntity.ADAPTER.decode(t);
                                h.t.d.g.b(decode, "MovieEntity.ADAPTER.decode(inflateBytes)");
                                com.opensource.svgaplayer.i iVar = new com.opensource.svgaplayer.i(decode, new File(str), this.b, this.c);
                                iVar.t(new e(iVar, this, str, dVar));
                            } else {
                                s("cache.inflate(bytes) cause exception", dVar);
                            }
                        } else {
                            s("cache.readAsBytes(inputStream) cause exception", dVar);
                        }
                    } finally {
                    }
                } catch (Exception e3) {
                    v(e3, dVar);
                }
                o oVar = o.a;
                h.s.a.a(fileInputStream, null);
            } finally {
                fileInputStream.close();
            }
        } catch (Exception e4) {
            com.opensource.svgaplayer.m.g.c.a.c("SVGAParser", "cache.binary change to entity fail", e4);
            if (!e2.exists()) {
                e2 = null;
            }
            if (e2 != null) {
                e2.delete();
            }
            v(e4, dVar);
        }
    }

    public final void b(InputStream inputStream, String str, d dVar) {
        h.t.d.g.c(inputStream, "inputStream");
        h.t.d.g.c(str, "cacheKey");
        f1439f.execute(new f(inputStream, str, dVar));
    }

    public final void n(String str, d dVar) {
        h.t.d.g.c(str, Constant.PROTOCOL_WEBVIEW_NAME);
        if (this.a == null) {
            com.opensource.svgaplayer.m.g.c.a.b("SVGAParser", "在配置 SVGAParser context 前, 无法解析 SVGA 文件。");
            return;
        }
        try {
            com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "================ decode from assets ================");
            f1439f.execute(new RunnableC0026g(str, dVar));
        } catch (Exception e2) {
            v(e2, dVar);
        }
    }

    public final void p(InputStream inputStream, String str, d dVar, boolean z) {
        h.t.d.g.c(inputStream, "inputStream");
        h.t.d.g.c(str, "cacheKey");
        if (this.a == null) {
            com.opensource.svgaplayer.m.g.c.a.b("SVGAParser", "在配置 SVGAParser context 前, 无法解析 SVGA 文件。");
        } else {
            com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", "================ decode from input stream ================");
            f1439f.execute(new h(inputStream, str, dVar, z));
        }
    }

    public final h.t.c.a<o> r(URL url, d dVar) {
        h.t.d.g.c(url, "url");
        if (this.a == null) {
            com.opensource.svgaplayer.m.g.c.a.b("SVGAParser", "在配置 SVGAParser context 前, 无法解析 SVGA 文件。");
            return null;
        }
        com.opensource.svgaplayer.m.g.c cVar = com.opensource.svgaplayer.m.g.c.a;
        cVar.d("SVGAParser", "================ decode from url ================");
        com.opensource.svgaplayer.b bVar = com.opensource.svgaplayer.b.c;
        String d2 = bVar.d(url);
        if (!bVar.g(d2)) {
            cVar.d("SVGAParser", "no cached, prepare to download");
            return this.d.b(url, new j(d2, dVar), new k(dVar));
        }
        cVar.d("SVGAParser", "this url cached");
        f1439f.execute(new i(d2, dVar));
        return null;
    }

    public final void s(String str, d dVar) {
        h.t.d.g.c(str, "error");
        com.opensource.svgaplayer.m.g.c.a.d("SVGAParser", str);
        v(new Exception(str), dVar);
    }
}