package com.bytedance.ies.nlemediajava;

import X.AnonymousClass2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.List;
import java.util.Objects;

public final class TextTemplate {
    public final List<Double> bounding_box;
    public final double duration;
    public final int order_in_layer;
    public final List<Float> position;
    public final double rotation;
    public final List<Double> scale;
    public final float start_time;
    public final List<TextContent> text_list;

    static {
        Covode.recordClassIndex(30056);
    }

    public TextTemplate() {
        this((List) null, 0.0d, (List) null, 0, 0.0f, 0.0d, (List) null, (List) null, 255, (AnonymousClass2HN) null);
    }

    public static /* synthetic */ TextTemplate copy$default(TextTemplate textTemplate, List<Float> list, double d, List<Double> list2, int i, float f, double d2, List<Double> list3, List<TextContent> list4, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            list = textTemplate.position;
        }
        if ((i2 & 2) != 0) {
            d = textTemplate.rotation;
        }
        if ((i2 & 4) != 0) {
            list2 = textTemplate.scale;
        }
        if ((i2 & 8) != 0) {
            i = textTemplate.order_in_layer;
        }
        if ((i2 & 16) != 0) {
            f = textTemplate.start_time;
        }
        if ((i2 & 32) != 0) {
            d2 = textTemplate.duration;
        }
        if ((i2 & 64) != 0) {
            list3 = textTemplate.bounding_box;
        }
        if ((i2 & 128) != 0) {
            list4 = textTemplate.text_list;
        }
        return textTemplate.copy(list, d, list2, i, f, d2, list3, list4);
    }

    private Object[] getObjects() {
        return new Object[]{this.position, Double.valueOf(this.rotation), this.scale, Integer.valueOf(this.order_in_layer), Float.valueOf(this.start_time), Double.valueOf(this.duration), this.bounding_box, this.text_list};
    }

    public final TextTemplate copy(List<Float> list, double d, List<Double> list2, int i, float f, double d2, List<Double> list3, List<TextContent> list4) {
        List<Double> list5 = list3;
        List<TextContent> list6 = list4;
        List<Float> list7 = list;
        List<Double> list8 = list2;
        M12.LIZ(list7, list8, list5, list6);
        return new TextTemplate(list7, d, list8, i, f, d2, list5, list6);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof TextTemplate)) {
            return false;
        }
        return M12.LIZ(((TextTemplate) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("TextTemplate:%s,%s,%s,%s,%s,%s,%s,%s", getObjects());
    }

    public final List<Double> getBounding_box() {
        return this.bounding_box;
    }

    public final double getDuration() {
        return this.duration;
    }

    public final int getOrder_in_layer() {
        return this.order_in_layer;
    }

    public final List<Float> getPosition() {
        return this.position;
    }

    public final double getRotation() {
        return this.rotation;
    }

    public final List<Double> getScale() {
        return this.scale;
    }

    public final float getStart_time() {
        return this.start_time;
    }

    public final List<TextContent> getText_list() {
        return this.text_list;
    }

    public TextTemplate(List<Float> list, double d, List<Double> list2, int i, float f, double d2, List<Double> list3, List<TextContent> list4) {
        M12.LIZ(list, list2, list3, list4);
        this.position = list;
        this.rotation = d;
        this.scale = list2;
        this.order_in_layer = i;
        this.start_time = f;
        this.duration = d2;
        this.bounding_box = list3;
        this.text_list = list4;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ TextTemplate(java.util.List r28, double r29, java.util.List r31, int r32, float r33, double r34, java.util.List r36, java.util.List r37, int r38, X.AnonymousClass2HN r39) {
        /*
            r27 = this;
            r3 = r38
            r18 = r37
            r10 = r29
            r17 = r36
            r9 = r28
            r12 = r31
            r13 = r32
            r15 = r34
            r0 = r3 & 1
            r14 = 0
            java.lang.Float r1 = java.lang.Float.valueOf(r14)
            r8 = 0
            r2 = 2
            r7 = 1
            if (r0 == 0) goto L_0x0026
            java.lang.Float[] r0 = new java.lang.Float[r2]
            r0[r8] = r1
            r0[r7] = r1
            java.util.List r9 = X.LeS.LIZIZ(r0)
        L_0x0026:
            r0 = r3 & 2
            r5 = 0
            if (r0 == 0) goto L_0x002e
            r10 = 0
        L_0x002e:
            r0 = r3 & 4
            if (r0 == 0) goto L_0x0044
            java.lang.Double[] r1 = new java.lang.Double[r2]
            java.lang.Double r0 = java.lang.Double.valueOf(r5)
            r1[r8] = r0
            java.lang.Double r0 = java.lang.Double.valueOf(r5)
            r1[r7] = r0
            java.util.List r12 = X.LeS.LIZIZ(r1)
        L_0x0044:
            r0 = r3 & 8
            if (r0 == 0) goto L_0x0049
            r13 = 0
        L_0x0049:
            r0 = r3 & 16
            if (r0 == 0) goto L_0x00bd
        L_0x004d:
            r0 = r3 & 32
            if (r0 == 0) goto L_0x0053
            r15 = 0
        L_0x0053:
            r0 = r3 & 64
            if (r0 == 0) goto L_0x0077
            r0 = 4
            java.lang.Double[] r4 = new java.lang.Double[r0]
            java.lang.Double r0 = java.lang.Double.valueOf(r5)
            r4[r8] = r0
            java.lang.Double r0 = java.lang.Double.valueOf(r5)
            r4[r7] = r0
            java.lang.Double r0 = java.lang.Double.valueOf(r5)
            r4[r2] = r0
            r1 = 3
            java.lang.Double r0 = java.lang.Double.valueOf(r5)
            r4[r1] = r0
            java.util.List r17 = X.LeS.LIZIZ(r4)
        L_0x0077:
            r0 = r3 & 128(0x80, float:1.794E-43)
            if (r0 == 0) goto L_0x00b7
            com.bytedance.ies.nlemediajava.TextContent[] r0 = new com.bytedance.ies.nlemediajava.TextContent[r2]
            com.bytedance.ies.nlemediajava.TextContent r18 = new com.bytedance.ies.nlemediajava.TextContent
            r1 = 0
            r20 = 0
            r1 = 0
            r1 = 0
            r24 = 0
            r1 = 31
            r26 = 0
            r19 = 0
            r21 = 0
            r22 = 0
            r25 = 31
            r18.<init>(r19, r20, r21, r22, r24, r25, r26)
            r0[r8] = r18
            com.bytedance.ies.nlemediajava.TextContent r18 = new com.bytedance.ies.nlemediajava.TextContent
            r1 = 0
            r20 = 0
            r1 = 0
            r1 = 0
            r24 = 0
            r1 = 31
            r26 = 0
            r19 = 0
            r21 = 0
            r22 = 0
            r25 = 31
            r18.<init>(r19, r20, r21, r22, r24, r25, r26)
            r0[r7] = r18
            java.util.List r18 = X.LeS.LIZIZ(r0)
        L_0x00b7:
            r8 = r27
            r8.<init>(r9, r10, r12, r13, r14, r15, r17, r18)
            return
        L_0x00bd:
            r14 = r33
            goto L_0x004d
        */
        throw new UnsupportedOperationException("Method not decompiled: com.bytedance.ies.nlemediajava.TextTemplate.<init>(java.util.List, double, java.util.List, int, float, double, java.util.List, java.util.List, int, X.2HN):void");
    }
}
