METODO LAYOT


SUBMITTED BY: terrorxdroid

DATE: Oct. 2, 2024, 9:52 p.m.

UPDATED: Oct. 4, 2024, 9:54 a.m.

FORMAT: Text only

SIZE: 33.9 kB

HITS: 296

  1. [
  2. {
  3. "id": 23759,
  4. "label": "Nome do app",
  5. "name": "APP_NAME",
  6. "value": "MV Tunnel ",
  7. "type": "STRING",
  8. "status": "ACTIVE",
  9. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  10. },
  11. {
  12. "id": 23760,
  13. "label": "Logo do app",
  14. "name": "APP_LOGO",
  15. "value": "https://i.ibb.co/Wn7mKxs/IMG-20241003-225957-254.png",
  16. "type": "IMAGE",
  17. "status": "ACTIVE",
  18. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  19. },
  20. {
  21. "id": 23761,
  22. "label": "Imagem de fundo",
  23. "name": "APP_BACKGROUND_IMAGE",
  24. "value": "https://i.imgur.com/Mzt3eEl.jpg",
  25. "type": "IMAGE",
  26. "status": "ACTIVE",
  27. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  28. },
  29. {
  30. "id": 23762,
  31. "label": "Tipo do fundo do app",
  32. "name": "APP_BACKGROUND_TYPE",
  33. "value": {
  34. "options": [
  35. {
  36. "label": "Imagem",
  37. "value": "IMAGE"
  38. },
  39. {
  40. "label": "Cor",
  41. "value": "COLOR"
  42. }
  43. ],
  44. "selected": "IMAGE"
  45. },
  46. "type": "SELECT",
  47. "status": "ACTIVE",
  48. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  49. },
  50. {
  51. "id": 23763,
  52. "label": "Cor de fundo",
  53. "name": "APP_BACKGROUND_COLOR",
  54. "value": "#080e16c7",
  55. "type": "COLOR",
  56. "status": "ACTIVE",
  57. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  58. },
  59. {
  60. "id": 23764,
  61. "label": "Cor do card inicial",
  62. "name": "APP_CARD_COLOR",
  63. "value": "#00000080",
  64. "type": "COLOR",
  65. "status": "ACTIVE",
  66. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  67. },
  68. {
  69. "id": 23765,
  70. "label": "Raio do card inicial",
  71. "name": "APP_CARD_RADIUS",
  72. "value": 30,
  73. "type": "INTEGER",
  74. "status": "ACTIVE",
  75. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  76. },
  77. {
  78. "id": 23766,
  79. "label": "Cor do card de status",
  80. "name": "APP_CARD_STATUS_COLOR",
  81. "value": "#00000080",
  82. "type": "COLOR",
  83. "status": "ACTIVE",
  84. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  85. },
  86. {
  87. "id": 23767,
  88. "label": "Raio do card de status",
  89. "name": "APP_CARD_STATUS_RADIUS",
  90. "value": 35,
  91. "type": "INTEGER",
  92. "status": "ACTIVE",
  93. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  94. },
  95. {
  96. "id": 23768,
  97. "label": "Cor do card de configurações",
  98. "name": "APP_CARD_CONFIG_COLOR",
  99. "value": "#00000080",
  100. "type": "COLOR",
  101. "status": "ACTIVE",
  102. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  103. },
  104. {
  105. "id": 23769,
  106. "label": "Cor do fundo dos dialogs",
  107. "name": "APP_DIALOG_BACKGROUND_COLOR",
  108. "value": "#24242463",
  109. "type": "COLOR",
  110. "status": "ACTIVE",
  111. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  112. },
  113. {
  114. "id": 23770,
  115. "label": "Cor do fundo do dialog de log",
  116. "name": "APP_DIALOG_LOGGER_COLOR",
  117. "value": "#24242463",
  118. "type": "COLOR",
  119. "status": "ACTIVE",
  120. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  121. },
  122. {
  123. "id": 23771,
  124. "label": "Cor das bordas",
  125. "name": "APP_BORDER_COLOR",
  126. "value": "#24242463",
  127. "type": "COLOR",
  128. "status": "ACTIVE",
  129. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  130. },
  131. {
  132. "id": 23772,
  133. "label": "Cor dos inputs",
  134. "name": "APP_INPUT_COLOR",
  135. "value": "#24242463",
  136. "type": "COLOR",
  137. "status": "ACTIVE",
  138. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  139. },
  140. {
  141. "id": 23773,
  142. "label": "Raio dos inputs",
  143. "name": "APP_INPUT_RADIUS",
  144. "value": 35,
  145. "type": "INTEGER",
  146. "status": "ACTIVE",
  147. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  148. },
  149. {
  150. "id": 23774,
  151. "label": "Cor dos textos",
  152. "name": "APP_TEXT_COLOR",
  153. "value": "#ffffff",
  154. "type": "COLOR",
  155. "status": "ACTIVE",
  156. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  157. },
  158. {
  159. "id": 23775,
  160. "label": "Cor dos botões",
  161. "name": "APP_BUTTON_COLOR",
  162. "value": "#24242463",
  163. "type": "COLOR",
  164. "status": "ACTIVE",
  165. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  166. },
  167. {
  168. "id": 23776,
  169. "label": "Raio dos botões",
  170. "name": "APP_BUTTON_RADIUS",
  171. "value": 35,
  172. "type": "INTEGER",
  173. "status": "ACTIVE",
  174. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  175. },
  176. {
  177. "id": 23777,
  178. "label": "Cor dos icones",
  179. "name": "APP_ICON_COLOR",
  180. "value": "#ffffffff",
  181. "type": "COLOR",
  182. "status": "ACTIVE",
  183. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  184. },
  185. {
  186. "id": 23778,
  187. "label": "Exibir modo de conexão",
  188. "name": "APP_SHOW_CONNECTION_MODE",
  189. "value": true,
  190. "type": "BOOLEAN",
  191. "status": "ACTIVE",
  192. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  193. },
  194. {
  195. "id": 23779,
  196. "label": "Atualizar automaticamente as configurações ao lançar uma atualização.",
  197. "name": "APP_CONFIG_AUTO_UPDATE",
  198. "value": false,
  199. "type": "BOOLEAN",
  200. "status": "ACTIVE",
  201. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  202. },
  203. {
  204. "id": 23780,
  205. "label": "Iniciar o app automaticamente ao reiniciar o dispositivo",
  206. "name": "APP_AUTO_START",
  207. "value": false,
  208. "type": "BOOLEAN",
  209. "status": "ACTIVE",
  210. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  211. },
  212. {
  213. "id": 23781,
  214. "label": "Usar limiter de conexão",
  215. "name": "APP_CONNECTION_LIMITER",
  216. "value": true,
  217. "type": "BOOLEAN",
  218. "status": "ACTIVE",
  219. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  220. },
  221. {
  222. "id": 23782,
  223. "label": "Usar botão de atualizações",
  224. "name": "APP_BTN_UPDATE_ENABLED",
  225. "value": true,
  226. "type": "BOOLEAN",
  227. "status": "ACTIVE",
  228. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  229. },
  230. {
  231. "id": 23783,
  232. "label": "Usar botão de registros",
  233. "name": "APP_BTN_LOGGER_ENABLED",
  234. "value": true,
  235. "type": "BOOLEAN",
  236. "status": "ACTIVE",
  237. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  238. },
  239. {
  240. "id": 23784,
  241. "label": "Usar botão de pagina webview",
  242. "name": "APP_BTN_PAGE_ENABLED",
  243. "value": false,
  244. "type": "BOOLEAN",
  245. "status": "ACTIVE",
  246. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  247. },
  248. {
  249. "id": 23785,
  250. "label": "Ativar dialog de erros",
  251. "name": "APP_DIALOG_ERROR_ENABLED",
  252. "value": true,
  253. "type": "BOOLEAN",
  254. "status": "ACTIVE",
  255. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  256. },
  257. {
  258. "id": 23786,
  259. "label": "Ativar dialog de checkuser",
  260. "name": "APP_CHECKUSER_DIALOG_ENABLED",
  261. "value": true,
  262. "type": "BOOLEAN",
  263. "status": "ACTIVE",
  264. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  265. },
  266. {
  267. "id": 23787,
  268. "label": "Ativar toast de sucesso",
  269. "name": "APP_SUCCESS_TOAST_ENABLED",
  270. "value": true,
  271. "type": "BOOLEAN",
  272. "status": "ACTIVE",
  273. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  274. },
  275. {
  276. "id": 23788,
  277. "label": "Ativar toast de erro",
  278. "name": "APP_ERROR_TOAST_ENABLED",
  279. "value": true,
  280. "type": "BOOLEAN",
  281. "status": "ACTIVE",
  282. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  283. },
  284. {
  285. "id": 23789,
  286. "label": "Usar layout webview",
  287. "name": "APP_LAYOUT_WEBVIEW_ENABLED",
  288. "value": false,
  289. "type": "BOOLEAN",
  290. "status": "ACTIVE",
  291. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  292. },
  293. {
  294. "id": 23790,
  295. "label": "Mensagem",
  296. "name": "APP_MESSAGE",
  297. "value": null,
  298. "type": "TEXT",
  299. "status": "ACTIVE",
  300. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  301. },
  302. {
  303. "id": 23791,
  304. "label": "URL de atualização do aplicativo",
  305. "name": "APP_UPDATE_URL",
  306. "value": null,
  307. "type": "URL",
  308. "status": "ACTIVE",
  309. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  310. },
  311. {
  312. "id": 23792,
  313. "label": "Tipo de mensagem",
  314. "name": "APP_MESSAGE_TYPE",
  315. "value": {
  316. "options": [
  317. {
  318. "label": "Alerta",
  319. "value": "ALERT"
  320. },
  321. {
  322. "label": "Informação",
  323. "value": "INFO"
  324. },
  325. {
  326. "label": "Boas vindas",
  327. "value": "WELCOME"
  328. },
  329. {
  330. "label": "Sem mensagem",
  331. "value": "NONE"
  332. }
  333. ],
  334. "selected": "NONE"
  335. },
  336. "type": "SELECT",
  337. "status": "ACTIVE",
  338. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  339. },
  340. {
  341. "id": 23793,
  342. "label": "LAYOUT WEBVIEW (POR SUA CONTA E RISCO)",
  343. "name": "APP_LAYOUT_WEBVIEW",
  344. "value": null,
  345. "type": "HTML",
  346. "status": "ACTIVE",
  347. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  348. },
  349. {
  350. "id": 23794,
  351. "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
  352. "name": "APP_SUPPORT_BUTTON",
  353. "value": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css\" rel=\"stylesheet\">\n <link href=\"https://cdn.jsdelivr.net/npm/bootstrap-icons@1.19.0/font/bootstrap-icons.css\" rel=\"stylesheet\">\n\n <title>302642871 - @MRSILENT1 </title>\n\n <style>\n :root {\n font-family: system-ui, Helvetica, Arial, sans-serif;\n line-height: 1.5;\n font-weight: 400;\n font-synthesis: none;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n /*background-color: red;*/\n --space-status-bar: 10px;\n --space-nav-bar: 33px;\n font-weight: bold;\n }\n\n :is(*, *::before, *::after) {\n margin: 0;\n padding: 0;\n\n box-sizing: border-box;\n }\n\n :is(html, body, main) {\n width: 100%;\n height: 100%;\n }\n\n :is(body) {\n background: transparent;\n }\n\n :is(main) {\n display: flex;\n flex-direction: column;\n padding: var(--space-status-bar) 10px var(--space-nav-bar) 10px;\n }\n\n :is(section.bottom) {\n width: 100%;\n height: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: auto !important;\n }\n\n :is(section.bottom) :where(div.container-local-ip) {\n width: auto;\n height: auto;\n display: flex;\n align-items: center;\n padding: 10px 15px;\n border-radius: 10px;\n box-shadow: 0px 0px 4px #24242463;\n background: linear-gradient(to top right, #24242463, #24242463);\n transition: all 0.3s ease 0.1s;\n }\n\n :is(section.bottom) :where(div.container-local-ip) :is(span) {\n width: 100%;\n height: auto;\n color: #ffffff;\n font-weight: 500;\n font-size: 0.8rem;\n }\n\n :is(section.bottom) :where(div.container-tools) {\n width: 100%;\n height: auto;\n display: flex;\n justify-content: center;\n position: relative;\n }\n\n @keyframes pulse {\n 0% {\n box-shadow: 0 0 0px 1px rgba(255, 255, 255, 1);\n }\n 70% {\n box-shadow: 0 0 12px 8px rgba(255, 255, 255, 0);\n }\n 100% {\n box-shadow: 0 0 0px 1px rgba(255, 255, 255, 1);\n }\n }\n \n :where(section.bottom div.container-tools) button {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n margin: 7% 0 0 0;\n padding: 10px 6%;\n border: 1px solid #ffffff;\n border-radius: 10px;\n box-shadow: 0px 0px 2px 0px #24242463;\n transition: all linear;\n background: linear-gradient(to top right, #9e9e9e0f, #9e9e9e0f);\n animation: pulse 3s infinite; \n }\n \n\n :where(section.bottom div.container-tools button) svg {\n color: #ffffff;\n }\n\n :where(section.bottom div.container-tools button) span {\n color: #ffffff;\n }\n\n :where(section.bottom div.container-tools) ul {\n width: auto;\n min-width: 90%;\n max-width: 300px;\n height: 55px;\n display: flex;\n align-items: center;\n justify-content: space-around;\n gap: 5px;\n position: absolute;\n bottom: 90%;\n padding: 0 5px;\n border-radius: 50px;\n box-shadow: 0px 0px 4px 0px rgb(0, 0, 0, 0);\n opacity: 0;\n transform: scale(0);\n transform-origin: bottom center;\n transition: all 0.3s ease 0.1s;\n background: linear-gradient(to top right,\n rgb(0, 0, 0),\n rgb(0, 0, 0, 0));\n }\n\n :where(section.bottom div.container-tools ul) li {\n width: 40px;\n height: 40px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #ffffff;\n border-radius: 50%;\n box-shadow: 0px 0px 10px 0px rgb(0, 0, 0);\n background: linear-gradient(to top right,\n rgb(0, 0, 0),\n rgb(0, 0, 0));\n }\n\n :where(section.bottom div.container-tools ul li) svg {\n color: #ffffff;\n }\n\n :where(section.bottom div.container-tools.active) button {\n -webkit-animation: onePulse 0.3s forwards linear;\n animation: onePulse 0.3s forwards linear;\n }\n\n :where(section.bottom div.container-tools.active) ul {\n opacity: 1;\n transform: scale(1);\n }\n\n .hidden {\n opacity: 0;\n visibility: hidden;\n }\n\n .display-none {\n display: none;\n }\n\n section.home span#localIpValue {\n position: absolute;\n right: 2%;\n transform: translate(50%, -50%);\n }\n\n\n .custom-section2 {\n padding: 4px;\n border: 1px solid rgba(255, 255, 255, 1);\n border-radius: 1px;\n margin: 5px auto;\n color: white;\n font-size: 14px;\n font-weight: bold;\n background: linear-gradient(to top right, #24242463, #24242463);\n position: absolute;\n border-radius: 10px;\n border: 1px solid #ffffff;\n animation: pulse 3s infinite; \n box-shadow: 0px 0px 4px 0px #24242463;\n transition: all linear;\n }\n\n .network-stats {\n display: flex;\n color: #ffffff;\n position: absolute;\n bottom: 13.5%;\n left: 50%;\n transform: translateX(-50%);\n width: 90%;\n max-width: 400px;\n gap: 20px;\n transition: all linear;\n justify-content: space-between;\n }\n\n .network-stats div svg {\n fill: #ffffff;\n width: 20px;\n height: 20px;\n }\n\n .network-stats-download,\n .network-stats-upload {\n gap: 5px;\n padding: 10px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n white-space: nowrap;\n background: linear-gradient(to top right, #24242463, #24242463);\n box-shadow: 10px 5px 5px var(--box-shadow-color);\n transition: all linear;\n border: 1px solid #ffffff;\n animation: pulse 3s infinite; \n }\n </style>\n</head>\n\n<body>\n <main>\n<span class=\"custom-section2 home\" id=\"localIpValue\">\n <svg width=\"24\" height=\"24\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"white\" fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n <path d=\"M12 0c6.623 0 12 5.377 12 12s-5.377 12-12 12-12-5.377-12-12 5.377-12 12-12zm2.085 14h-9v2h9v3l5-4-5-4v3zm-4-6v-3l-5 4 5 4v-3h9v-2h-9z\"/>\n </svg>\n IP Local:\n</span>\n\n<div class=\"network-stats\">\n <div class=\"network-stats-download\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\n class=\"bi bi-cloud-arrow-down\" viewBox=\"0 0 16 16\">\n <path\n d=\"M8.646 7.854a.5.5 0 0 0-.707 0L6 9.207V6a1 1 0 0 1 2 0v3.207l-1.646-1.853a.5.5 0 0 0-.707 0 .5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .707 0l2-2a.5.5 0 0 0 0-.708z\" />\n <path\n d=\"M3.5 9A4.5 4.5 0 0 1 8 4.5a.5.5 0 0 0 0 1A3.5 3.5 0 0 0 4.5 9a.5.5 0 0 0 0 1A4.5 4.5 0 0 1 8 14.5a.5.5 0 0 0 0-1A3.5 3.5 0 0 0 3.5 9z\" />\n <path\n d=\"M13 13.879V11a1 1 0 0 0-2 0v2.879l-.646-.647a.5.5 0 0 0-.707 0 .5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .707 0l2-2a.5.5 0 0 0 0-.708.5.5 0 0 0-.707 0z\" />\n </svg>\n <span id=\"networkDownload\">0B/s</span>\n </div>\n <div class=\"network-stats-upload\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-cloud-arrow-up\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"M8.646 8.354a.5.5 0 0 0-.707 0L6 10.207V7a1 1 0 0 1 2 0v3.207l-1.646-1.853a.5.5 0 0 0-.707 0 .5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .707 0l2-2a.5.5 0 0 0 0-.708z\" />\n <path\n d=\"M13.5 7A4.5 4.5 0 0 1 8 11.5a.5.5 0 0 0 0-1A3.5 3.5 0 0 0 12.5 7a.5.5 0 0 0 0-1A4.5 4.5 0 0 1 8 2.5a.5.5 0 0 0 0 1A3.5 3.5 0 0 0 13.5 7z\" />\n <path\n d=\"M3 2.121V5a1 1 0 0 0 2 0V2.121l.646.647a.5.5 0 0 0 .708 0 .5.5 0 0 0 0-.708l-2-2a.5.5 0 0 0-.707 0l-2 2a.5.5 0 0 0 0 .708.5.5 0 0 0 .707 0z\" />\n </svg>\n <span id=\"networkUpload\">0B/s</span>\n </div>\n </div>\n <section class=\"bottom\">\n <div class=\"container-tools\">\n <button type=\"button\" title=\"Ferramentas\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-nut\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"m11.42 2 3.428 6-3.428 6H4.58L1.152 8 4.58 2h6.84zM4.58 1a1 1 0 0 0-.868.504l-3.428 6a1 1 0 0 0 0 .992l3.428 6A1 1 0 0 0 4.58 15h6.84a1 1 0 0 0 .868-.504l3.429-6a1 1 0 0 0 0-.992l-3.429-6A1 1 0 0 0 11.42 1H4.58z\" />\n <path\n d=\"M6.848 5.933a2.5 2.5 0 1 0 2.5 4.33 2.5 2.5 0 0 0-2.5-4.33zm-1.78 3.915a3.5 3.5 0 1 1 6.061-3.5 3.5 3.5 0 0 1-6.062 3.5z\" />\n </svg>\n\n <span style=\"font-size: 14px; font-weight: bold; color: white;\">CONFIGURAÇÕES</span>\n </button>\n\n <ul>\n <li id=\"checkuser\" style=\"display: flex; flex-direction: column; align-items: center; list-style-type: none;\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\n class=\"bi bi-calendar2-week\" viewBox=\"0 0 16 16\">\n <path\n d=\"M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2z\" />\n <path\n d=\"M2.5 4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V4zM11 7.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm-5 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1z\" />\n </svg>\n <div style=\"font-size: 9px; color: white; margin-top: 4px;\">Data</div>\n </li>\n\n\n <li id=\"battery\" style=\"display: flex; flex-direction: column; align-items: center; list-style-type: none;\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\n class=\"bi bi-battery-half\" viewBox=\"0 0 16 16\">\n <path d=\"M2 6h5v4H2V6z\" />\n <path\n d=\"M2 4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2zm10 1a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h10zm4 3a1.5 1.5 0 0 1-1.5 1.5v-3A1.5 1.5 0 0 1 16 8z\" />\n </svg>\n <div style=\"font-size: 9px; color: white; margin-top: 4px;\">Bateria</div>\n </li>\n\n <li id=\"apn\" style=\"display: flex; flex-direction: column; align-items: center; list-style-type: none;\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\n class=\"bi bi-wrench-adjustable-circle\" viewBox=\"0 0 16 16\">\n <path d=\"M12.496 8a4.491 4.491 0 0 1-1.703 3.526L9.497 8.5l2.959-1.11c.027.2.04.403.04.61Z\" />\n <path\n d=\"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-1 0a7 7 0 1 0-13.202 3.249l1.988-1.657a4.5 4.5 0 0 1 7.537-4.623L7.497 6.5l1 2.5 1.333 3.11c-.56.251-1.18.39-1.833.39a4.49 4.49 0 0 1-1.592-.29L4.747 14.2A7 7 0 0 0 15 8Zm-8.295.139a.25.25 0 0 0-.288-.376l-1.5.5.159.474.808-.27-.595.894a.25.25 0 0 0 .287.376l.808-.27-.595.894a.25.25 0 0 0 .287.376l1.5-.5-.159-.474-.808.27.596-.894a.25.25 0 0 0-.288-.376l-.808.27.596-.894Z\" />\n </svg>\n <div style=\"font-size: 9px; color: white; margin-top: 4px;\">APN</div>\n </li>\n\n <li id=\"clean\" style=\"display: flex; flex-direction: column; align-items: center; list-style-type: none;\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-trash3\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5ZM11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3A1.5 1.5 0 0 0 5 1.5v1H2.506a.58.58 0 0 0-.01 0H1.5a.5.5 0 0 0 0 1h.538l.853 10.66A2 2 0 0 0 4.885 16h6.23a2 2 0 0 0 1.994-1.84l.853-10.66h.538a.5.5 0 0 0 0-1h-.995a.59.59 0 0 0-.01 0H11Zm1.958 1-.846 10.58a1 1 0 0 1-.997.92h-6.23a1 1 0 0 1-.997-.92L3.042 3.5h9.916Zm-7.487 1a.5.5 0 0 1 .528.47l.5 8.5a.5.5 0 0 1-.998.06L5 5.03a.5.5 0 0 1 .47-.53Zm5.058 0a.5.5 0 0 1 .47.53l-.5 8.5a.5.5 0 1 1-.998-.06l.5-8.5a.5.5 0 0 1 .528-.47ZM8 4.5a.5.5 0 0 1 .5.5v8.5a.5.5 0 0 1-1 0V5a.5.5 0 0 1 .5-.5Z\" />\n </svg>\n <div style=\"font-size: 9px; color: white; margin-top: 4px;\">Cache</div>\n </li>\n\n <li id=\"speedtest\" style=\"display: flex; flex-direction: column; align-items: center; list-style-type: none;\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"19\" height=\"19\" viewBox=\"0 0 24 24\"\n fill=\"currentColor\">\n <path\n d=\"M4.932,19.068l1.414-1.414C4.897,16.206,4,14.206,4,12c0-4.411,3.589-8,8-8s8,3.589,8,8c0,2.206-0.897,4.206-2.346,5.654\tl1.414,1.414C20.878,17.257,22,14.757,22,12c0-5.514-4.486-10-10-10S2,6.486,2,12C2,14.757,3.122,17.257,4.932,19.068z\">\n </path>\n <polygon points=\"12,14 10,12 15.293,7.293 16.707,8.707\"></polygon>\n </svg>\n <div style=\"font-size: 9px; color: white; margin-top: 4px;\">Renovar</div>\n </li>\n\n <li id=\"hotspot\" style=\"display: flex; flex-direction: column; align-items: center; list-style-type: none;\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" id=\"hotspot-on\"\n class=\"bi bi-wifi\" viewBox=\"0 0 16 16\">\n <path\n d=\"M15.384 6.115a.485.485 0 0 0-.047-.736A12.444 12.444 0 0 0 8 3C5.259 3 2.723 3.882.663 5.379a.485.485 0 0 0-.048.736.518.518 0 0 0 .668.05A11.448 11.448 0 0 1 8 4c2.507 0 4.827.802 6.716 2.164.205.148.49.13.668-.049z\" />\n <path\n d=\"M13.229 8.271a.482.482 0 0 0-.063-.745A9.455 9.455 0 0 0 8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065A8.46 8.46 0 0 1 8 7a8.46 8.46 0 0 1 4.576 1.336c.206.132.48.108.653-.065zm-2.183 2.183c.226-.226.185-.605-.1-.75A6.473 6.473 0 0 0 8 9c-1.06 0-2.062.254-2.946.704-.285.145-.326.524-.1.75l.015.015c.16.16.407.19.611.09A5.478 5.478 0 0 1 8 10c.868 0 1.69.201 2.42.56.203.1.45.07.61-.091l.016-.015zM9.06 12.44c.196-.196.198-.52-.04-.66A1.99 1.99 0 0 0 8 11.5a1.99 1.99 0 0 0-1.02.28c-.238.14-.236.464-.04.66l.706.706a.5.5 0 0 0 .707 0l.707-.707z\" />\n </svg>\n\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" id=\"hotspot-off\"\n class=\"bi bi-wifi-off display-none\" viewBox=\"0 0 16 16\">\n <path\n d=\"M10.706 3.294A12.545 12.545 0 0 0 8 3C5.259 3 2.723 3.882.663 5.379a.485.485 0 0 0-.048.736.518.518 0 0 0 .668.05A11.448 11.448 0 0 1 8 4c.63 0 1.249.05 1.852.148l.854-.854zM8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065 8.448 8.448 0 0 1 3.51-1.27L8 6zm2.596 1.404.785-.785c.63.24 1.227.545 1.785.907a.482.482 0 0 1 .063.745.525.525 0 0 1-.652.065 8.462 8.462 0 0 0-1.98-.932zM8 10l.933-.933a6.455 6.455 0 0 1 2.013.637c.285.145.326.524.1.75l-.015.015a.532.532 0 0 1-.611.09A5.478 5.478 0 0 0 8 10zm4.905-4.905.747-.747c.59.3 1.153.645 1.685 1.03a.485.485 0 0 1 .047.737.518.518 0 0 1-.668.05 11.493 11.493 0 0 0-1.811-1.07zM9.02 11.78c.238.14.236.464.04.66l-.707.706a.5.5 0 0 1-.707 0l-.707-.707c-.195-.195-.197-.518.04-.66A1.99 1.99 0 0 1 8 11.5c.374 0 .723.102 1.021.28zm4.355-9.905a.53.53 0 0 1 .75.75l-10.75 10.75a.53.53 0 0 1-.75-.75l10.75-10.75z\" />\n </svg>\n <div style=\"font-size: 9px; color: white; margin-top: 4px;\">Rotea</div>\n </li>\n </ul>\n </div>\n </section>\n </main>\n\n <!-- FUNÇÕES DO APP -->\n <script>\n const appStatusBar = () => DtGetStatusBarHeight.execute()\n const appNavBar = () => DtGetNavigationBarHeight.execute()\n\n const appBattery = () => DtIgnoreBatteryOptimizations.execute()\n const appApn = () => DtStartApnActivity.execute()\n const appLink = (value) => DtStartWebViewActivity.execute(value)\n const appClean = () => DtCleanApp.execute()\n const appCheckUser = () => DtStartCheckUser.execute()\n\n const appGetStatusHotspot = () => DtGetStatusHotSpotService.execute()\n const appStartHotspot = () => DtStartHotSpotService.execute()\n const appStopHotspot = () => DtStopHotSpotService.execute()\n\n const appGetLocalIp = () => Android.getLocalIP()\n </script>\n\n <!-- DOM WRAPPER -->\n <script>\n const Dom = (selector) => {\n const _elements = document.querySelectorAll(selector)\n\n const wrapper = {\n on(listeners) {\n for (const [event, listener] of Object.entries(listeners)) {\n _elements.forEach((element) => {\n element.addEventListener(event, listener)\n })\n }\n\n return wrapper\n },\n toggleClass: (token, force) => {\n _elements.forEach((element) => {\n element.classList.toggle(token, force)\n })\n\n return wrapper\n },\n addClass: (...tokens) => {\n _elements.forEach((element) => {\n element.classList.add(...tokens)\n })\n\n return wrapper\n },\n removeClass: (...tokens) => {\n _elements.forEach((element) => {\n element.classList.remove(...tokens)\n })\n\n return wrapper\n },\n html(value) {\n _elements.forEach((element) => (element.innerHTML = value))\n return wrapper\n },\n }\n\n return wrapper\n }\n </script>\n\n <!-- VÁRIAVEIS -->\n <script>\n const version = Dom(\"#version\")\n const containerLocalIp = Dom(\"section.bottom div.container-local-ip\")\n const localIp = Dom(\"#local-ip\")\n\n const containerTools = Dom(\"section.bottom div.container-tools\")\n const toolsButton = Dom(\"section.bottom div.container-tools button\")\n const tools = Dom(\"section.bottom div.container-tools ul\")\n\n const checkuser = Dom(\"#checkuser\")\n const battery = Dom(\"#battery\")\n const apn = Dom(\"#apn\")\n const CleanDataApp = Dom(\"#clean\")\n const speedtest = Dom(\"#speedtest\")\n const hotspot = Dom('#hotspot')\n\n const hotspotIconOn = Dom('#hotspot-on')\n const hotspotIconOff = Dom('#hotspot-off')\n const LocalIpValue = Dom(\"#localIpValue\")\n\n const networkDownloadElement = document.querySelector('#networkDownload');\n const networkUploadElement = document.querySelector('#networkUpload');\n\n function getValidNumber(value, fallback = 0) {\n const numberValue = parseFloat(value);\n return isNaN(numberValue) ? fallback : numberValue;\n }\n\n const currentNetworkDownload = getValidNumber(localStorage.getItem('networkDownload') || window?.DtGetNetworkDownloadBytes?.execute());\n const currentNetworkUpload = getValidNumber(localStorage.getItem('networkUpload') || window?.DtGetNetworkUploadBytes?.execute());\n\n if (!isNaN(currentNetworkDownload)) {\n localStorage.setItem('networkDownload', currentNetworkDownload.toString());\n }\n\n if (!isNaN(currentNetworkUpload)) {\n localStorage.setItem('networkUpload', currentNetworkUpload.toString());\n }\n\n const formatBytes = bytes => {\n if (isNaN(bytes)) return \"Error\"; // <-- Adicionado para verificar NaN\n const sizes = ['B/s', 'KB/s', 'MB/s', 'GB/s', 'TB/s'];\n if (bytes === 0) return '0 B/s';\n const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));\n return (bytes / Math.pow(1024, i)).toPrecision(3) + ' ' + sizes[i];\n };\n\n const updateNetworkStats = () => {\n const newNetworkDownload = getValidNumber(window?.DtGetNetworkDownloadBytes?.execute());\n const newNetworkUpload = getValidNumber(window?.DtGetNetworkUploadBytes?.execute());\n\n if (networkDownloadElement) {\n networkDownloadElement.innerHTML = formatBytes(newNetworkDownload - currentNetworkDownload);\n }\n\n if (networkUploadElement) {\n networkUploadElement.innerHTML = formatBytes(newNetworkUpload - currentNetworkUpload);\n }\n };\n\n </script>\n\n <!-- FUNÇÕES -->\n <script>\n document.documentElement.style.setProperty(\n \"--space-status-bar\",\n `${appStatusBar() + 10}px`\n )\n\n document.documentElement.style.setProperty(\n \"--space-nav-bar\",\n `${appNavBar() + 10}px`\n )\n\n const toggleTools = () => {\n containerLocalIp.toggleClass(\"hidden\")\n containerTools.toggleClass(\"active\")\n }\n\n const startHotspot = () => {\n appStartHotspot()\n\n hotspotIconOn.addClass('display-none')\n hotspotIconOff.removeClass('display-none')\n }\n\n const stopHotspot = () => {\n appStopHotspot()\n\n hotspotIconOn.removeClass('display-none')\n hotspotIconOff.addClass('display-none')\n }\n\n const toggleHotspot = () => {\n appGetStatusHotspot() === 'STOPPED' ? startHotspot() : stopHotspot()\n }\n\n const setStatusHotspot = () => {\n if (appGetStatusHotspot() === 'STOPPED') {\n hotspotIconOn.removeClass('display-none')\n hotspotIconOff.addClass('display-none')\n } else {\n hotspotIconOn.addClass('display-none')\n hotspotIconOff.removeClass('display-none')\n }\n }\n\n setStatusHotspot()\n </script>\n\n <!-- AÇÕES -->\n <script>\n toolsButton.on({ click: () => toggleTools() })\n\n checkuser.on({ click: () => appCheckUser() })\n battery.on({ click: () => appBattery() })\n apn.on({ click: () => appApn() })\n CleanDataApp.on({ click: () => appClean() })\n speedtest.on({\n click: () =>\n appLink(\"https://ssh.painelrev.cloud/\"),\n })\n hotspot.on({ click: () => toggleHotspot() })\n\n setInterval(() => {\n LocalIpValue.html(`\n <svg width=\"24\" height=\"24\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"white\" fill-rule=\"evenodd\" clip-rule=\"evenodd\">\n <path d=\"M12 0c6.623 0 12 5.377 12 12s-5.377 12-12 12-12-5.377-12-12 5.377-12 12-12zm2.085 14h-9v2h9v3l5-4-5-4v3zm-4-6v-3l-5 4 5 4v-3h9v-2h-9z\"/>\n </svg>\n IP Local: ${appGetLocalIp()}\n `);\n}, 1000);\n\n\n updateNetworkStats();\n setInterval(() => {\n updateNetworkStats();\n }, 1000);\n\n writeInputCarrierList();\n \n </script>\n</body>\n\n</html>",
  354. "type": "HTML",
  355. "status": "ACTIVE",
  356. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  357. },
  358. {
  359. "id": 23795,
  360. "label": "PAGINA WEBVIEW (POR SUA CONTA E RISCO)",
  361. "name": "APP_WEB_VIEW",
  362. "value": null,
  363. "type": "HTML",
  364. "status": "ACTIVE",
  365. "user_id": "073ef35f-e362-4c7a-8df7-e072d3ad6920"
  366. }
  367. ]

comments powered by Disqus