import { ConfigUiParamsCategories } from "@24tools/ads_common";

export const installBanner: ConfigUiParamsCategories[] = [
  {
    name: "Install Banner Settings",
    id: "install_button",
    params: [
      {
        id: "install_button_text",
        name: "Install Button Text",
        type: "string",
        values: ["INSTALL"],
      },
      {
        id: "install_button_active",
        name: "Install Banner Active",
        type: "bool",
        values: [true],
      },
      {
        id: "install_icon_image",
        name: "Icon image",
        type: "upload_file",
        file_type: "picture",
        values: [
          "data:image/webp;base64,[encoded data, 55748 characters]",
        ],
      },
      {
        id: "install_button_image",
        name: "Button image",
        type: "upload_file",
        file_type: "picture",
        values: [
          "data:image/webp;base64,UklGRiYDAABXRUJQVlA4WAoAAAAQAAAAGwEAWQAAQUxQSK8AAAARZ2AgksykT2Ab0ICIiNqJzj0Abm3bqqqNS0TuBWgBmlOC3jKw3HO3Alyjl+Fwu+KlbPz/iP5PAAAEG1d595WsDuriIikcGVRsZ0niSHOzkTTGAcQkkQZgzoQduDDRhZBUGoZcWLdchI5cFE9cdK9cKPLf///+/wC+cqGcuagfuShuufAOubAKLgw4MzEC5kzYAcGEHsCKhwQA2C4sdDU3EBcORgaoe0rX+6fktAAAAFZQOCBQAgAAEBQAnQEqHAFaAD6BPpxJJSOjISE4CxCgEAlN26/bYsZ6ssczzXPx6YBvNxERAGuGs/lCKCvLVkBOEgwkGEgwkGEgwkGEgwZPpfI4b08Wvc3cT6E8zDoD9cSyp4mNv4bvSPcKnMQEE8zCE9X/cXEaqdODUAunBo2ANLzv5r0iwFTGKwuJdHCfB/AtnLGsfDN34YhUP4HYbYvJF5I9ZF5IvOHrIuSLjyRXIAD+/BV47FjYbqfCVSXkEOemBponzxRpALgvZrkB9P5/9e4uYih5LinbP1ai4HCCgU/txn+e55T2aA7gr7wZxOv+C9g6Eg/sR6AOrv78RKdlJEQjyCntBYixyHn4t6hzOZtaCDIPymwEDctbIENghpLmE36ChPAtQ3Om2yz88jua+6bvRvEB0/ULqHD+GelRcBl2QTRliAa+ZGmWyrr9tOZWtC9rL+VzR+i03lfQwcZHjJLfdkoaQoS8IMOj5TBgJXzfchXFCaNEy66UuxP2CLAVZLQNyxgXFjYkc13hfhgLchmd7gMtXAKvoEHutEUyAAAADUT0OS2hRk3Abkw4oBkGAdwmfPVI6AI0AZASBido6Lab7MQPT5SxLVnZKoawf/yN+ByXsbJEw/THEBDMyseY4+Xx/E7+bDFcT4+33D1ANq87Sqi3c+v0i/HlU7RXMpLVL44Clz2in//SVMmLR41pZEdIWhqyhTIwxaNaKoZIHXPg0WqWvzXrkhp6MdCMzchM2zsk7LOJdUXZJ2zf/5ROnyMYXTAk0Wd87zKX4+nHAlYkyaYAAA==",
        ],
      },
      {
        id: "portret_style",
        name: "Portrait style setting",
        type: "group",
        params: [
          {
            id: "install_button_p",
            name: "Install button setting",
            type: "group",
            params: [
              {
                id: "install_button_x_p",
                name: "Install button portrait X (%)",
                type: "int",
                values: [0, 100, 100],
              },
              {
                id: "install_button_y_p",
                name: "Install button portrait Y (%)",
                type: "int",
                values: [0, 100, 100],
              },
              {
                id: "install_button_sc_p",
                name: "Install button portrait scale (%)",
                type: "float",
                values: [0.5, 2, 1],
              },
              {
                id: "text_top_offset_y_p",
                name: "Text Offset Y portrait",
                type: "float",
                values: [-5, 5, 0],
              },
              {
                id: "button_text_size_p",
                name: "Button Text Size portrait",
                type: "float",
                values: [1, 10, 5],
              },
            ],
          },
          {
            id: "install_icon_p",
            name: "Icon Banner setting",
            type: "group",
            params: [
              {
                id: "install_b_icon_x_p",
                name: "Icon Banner portrait X (%)",
                type: "int",
                values: [0, 100, 0],
              },
              {
                id: "install_b_icon_y_p",
                name: "Icon Banner portrait Y (%)",
                type: "int",
                values: [0, 100, 100],
              },
              {
                id: "install_b_icon_sc_p",
                name: "Icon Banner portrait scale (%)",
                type: "float",
                values: [0.5, 2, 1],
              },
            ],
          },
        ],
      },
      {
        id: "install_button_l",
        name: "Landscape style setting",
        type: "group",
        params: [
          {
            id: "install_button_l",
            name: "Install button setting",
            type: "group",
            params: [
              {
                id: "install_button_x_l",
                name: "Install button landscape X (%)",
                type: "int",
                values: [0, 100, 100],
              },
              {
                id: "install_button_y_l",
                name: "Install button landscape Y (%)",
                type: "int",
                values: [0, 100, 100],
              },
              {
                id: "install_button_sc_l",
                name: "Install button landscape scale (%)",
                type: "float",
                values: [0.5, 2, 1],
              },
              {
                id: "text_top_offset_y_l",
                name: "Text Offset Y landscape",
                type: "float",
                values: [-5, 5, 0],
              },
              {
                id: "button_text_size_l",
                name: "Button Text Size landscape",
                type: "float",
                values: [1, 10, 4],
              },
            ],
          },
          {
            id: "install_icon_l",
            name: "Icon Banner setting",
            type: "group",
            params: [
              {
                id: "install_b_icon_x_l",
                name: "Icon Banner landscape X (%)",
                type: "int",
                values: [0, 100, 0],
              },
              {
                id: "install_b_icon_y_l",
                name: "Icon Banner landscape Y (%)",
                type: "int",
                values: [0, 100, 100],
              },
              {
                id: "install_b_icon_sc_l",
                name: "Icon Banner landscape scale (%)",
                type: "float",
                values: [0.5, 2, 1],
              },
            ],
          },
        ],
      },
    ],
  },
];
