Layout DT


SUBMITTED BY: terrorxdroid

DATE: March 27, 2024, 5:31 p.m.

UPDATED: Oct. 2, 2024, 8:18 p.m.

FORMAT: Text only

SIZE: 63.9 kB

HITS: 597

  1. [
  2. {
  3. "id": 8739,
  4. "label": "Nome do app",
  5. "name": "APP_NAME",
  6. "value": "PICAPAUTEMAS",
  7. "type": "STRING",
  8. "status": "ACTIVE",
  9. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  10. },
  11. {
  12. "id": 8740,
  13. "label": "Logo do app",
  14. "name": "APP_LOGO",
  15. "value": "https://i.ibb.co/h2z1xZW/1699837053384.gif",
  16. "type": "IMAGE",
  17. "status": "ACTIVE",
  18. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  19. },
  20. {
  21. "id": 8741,
  22. "label": "Imagem de fundo",
  23. "name": "APP_BACKGROUND_IMAGE",
  24. "value": "https://i.ibb.co/WBcZNmM/1006194-adapted-1080x2340.jpg",
  25. "type": "IMAGE",
  26. "status": "ACTIVE",
  27. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  28. },
  29. {
  30. "id": 8742,
  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": "COLOR"
  45. },
  46. "type": "SELECT",
  47. "status": "ACTIVE",
  48. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  49. },
  50. {
  51. "id": 8743,
  52. "label": "Cor de fundo",
  53. "name": "APP_BACKGROUND_COLOR",
  54. "value": "#080e16c7",
  55. "type": "COLOR",
  56. "status": "ACTIVE",
  57. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  58. },
  59. {
  60. "id": 8744,
  61. "label": "Cor do card inicial",
  62. "name": "APP_CARD_COLOR",
  63. "value": "#1d242e73",
  64. "type": "COLOR",
  65. "status": "ACTIVE",
  66. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  67. },
  68. {
  69. "id": 8745,
  70. "label": "Raio do card inicial",
  71. "name": "APP_CARD_RADIUS",
  72. "value": 20,
  73. "type": "INTEGER",
  74. "status": "ACTIVE",
  75. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  76. },
  77. {
  78. "id": 8746,
  79. "label": "Cor do card de status",
  80. "name": "APP_CARD_STATUS_COLOR",
  81. "value": "#1d242e73",
  82. "type": "COLOR",
  83. "status": "ACTIVE",
  84. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  85. },
  86. {
  87. "id": 8747,
  88. "label": "Raio do card de status",
  89. "name": "APP_CARD_STATUS_RADIUS",
  90. "value": 25,
  91. "type": "INTEGER",
  92. "status": "ACTIVE",
  93. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  94. },
  95. {
  96. "id": 8748,
  97. "label": "Cor do card de configurações",
  98. "name": "APP_CARD_CONFIG_COLOR",
  99. "value": "#0E171EC9",
  100. "type": "COLOR",
  101. "status": "ACTIVE",
  102. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  103. },
  104. {
  105. "id": 8749,
  106. "label": "Cor do fundo dos dialogs",
  107. "name": "APP_DIALOG_BACKGROUND_COLOR",
  108. "value": "#050C5AE4",
  109. "type": "COLOR",
  110. "status": "ACTIVE",
  111. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  112. },
  113. {
  114. "id": 11633,
  115. "label": "Cor do fundo do dialog de log",
  116. "name": "APP_DIALOG_LOGGER_COLOR",
  117. "value": "#080e16c7",
  118. "type": "COLOR",
  119. "status": "ACTIVE",
  120. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  121. },
  122. {
  123. "id": 8750,
  124. "label": "Cor das bordas",
  125. "name": "APP_BORDER_COLOR",
  126. "value": "#1d242e73",
  127. "type": "COLOR",
  128. "status": "ACTIVE",
  129. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  130. },
  131. {
  132. "id": 8751,
  133. "label": "Cor dos inputs",
  134. "name": "APP_INPUT_COLOR",
  135. "value": "#1d242e73",
  136. "type": "COLOR",
  137. "status": "ACTIVE",
  138. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  139. },
  140. {
  141. "id": 8752,
  142. "label": "Raio dos inputs",
  143. "name": "APP_INPUT_RADIUS",
  144. "value": 25,
  145. "type": "INTEGER",
  146. "status": "ACTIVE",
  147. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  148. },
  149. {
  150. "id": 8753,
  151. "label": "Cor dos textos",
  152. "name": "APP_TEXT_COLOR",
  153. "value": "#FFFFFFFF",
  154. "type": "COLOR",
  155. "status": "ACTIVE",
  156. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  157. },
  158. {
  159. "id": 8754,
  160. "label": "Cor dos botões",
  161. "name": "APP_BUTTON_COLOR",
  162. "value": "#1d242e73",
  163. "type": "COLOR",
  164. "status": "ACTIVE",
  165. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  166. },
  167. {
  168. "id": 8755,
  169. "label": "Raio dos botões",
  170. "name": "APP_BUTTON_RADIUS",
  171. "value": 25,
  172. "type": "INTEGER",
  173. "status": "ACTIVE",
  174. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  175. },
  176. {
  177. "id": 8756,
  178. "label": "Cor dos icones",
  179. "name": "APP_ICON_COLOR",
  180. "value": "#FFFFFFFF",
  181. "type": "COLOR",
  182. "status": "ACTIVE",
  183. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  184. },
  185. {
  186. "id": 8757,
  187. "label": "Exibir modo de conexão",
  188. "name": "APP_SHOW_CONNECTION_MODE",
  189. "value": false,
  190. "type": "BOOLEAN",
  191. "status": "ACTIVE",
  192. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  193. },
  194. {
  195. "id": 22651,
  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": "acff48c5-0c40-4493-847a-a48a2807318d"
  202. },
  203. {
  204. "id": 8758,
  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": "acff48c5-0c40-4493-847a-a48a2807318d"
  211. },
  212. {
  213. "id": 8759,
  214. "label": "Usar limiter de conexão",
  215. "name": "APP_CONNECTION_LIMITER",
  216. "value": true,
  217. "type": "BOOLEAN",
  218. "status": "ACTIVE",
  219. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  220. },
  221. {
  222. "id": 12404,
  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": "acff48c5-0c40-4493-847a-a48a2807318d"
  229. },
  230. {
  231. "id": 12405,
  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": "acff48c5-0c40-4493-847a-a48a2807318d"
  238. },
  239. {
  240. "id": 12406,
  241. "label": "Usar botão de pagina webview",
  242. "name": "APP_BTN_PAGE_ENABLED",
  243. "value": true,
  244. "type": "BOOLEAN",
  245. "status": "ACTIVE",
  246. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  247. },
  248. {
  249. "id": 13825,
  250. "label": "Ativar dialog de erros",
  251. "name": "APP_DIALOG_ERROR_ENABLED",
  252. "value": true,
  253. "type": "BOOLEAN",
  254. "status": "ACTIVE",
  255. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  256. },
  257. {
  258. "id": 13826,
  259. "label": "Ativar dialog de checkuser",
  260. "name": "APP_CHECKUSER_DIALOG_ENABLED",
  261. "value": false,
  262. "type": "BOOLEAN",
  263. "status": "ACTIVE",
  264. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  265. },
  266. {
  267. "id": 13827,
  268. "label": "Ativar toast de sucesso",
  269. "name": "APP_SUCCESS_TOAST_ENABLED",
  270. "value": true,
  271. "type": "BOOLEAN",
  272. "status": "ACTIVE",
  273. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  274. },
  275. {
  276. "id": 13828,
  277. "label": "Ativar toast de erro",
  278. "name": "APP_ERROR_TOAST_ENABLED",
  279. "value": true,
  280. "type": "BOOLEAN",
  281. "status": "ACTIVE",
  282. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  283. },
  284. {
  285. "id": 18285,
  286. "label": "Usar layout webview",
  287. "name": "APP_LAYOUT_WEBVIEW_ENABLED",
  288. "value": true,
  289. "type": "BOOLEAN",
  290. "status": "ACTIVE",
  291. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  292. },
  293. {
  294. "id": 8760,
  295. "label": "Mensagem",
  296. "name": "APP_MESSAGE",
  297. "value": "BOM APROVEITO IRUUUUUULLLLLLLLL!",
  298. "type": "TEXT",
  299. "status": "ACTIVE",
  300. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  301. },
  302. {
  303. "id": 8761,
  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": "acff48c5-0c40-4493-847a-a48a2807318d"
  310. },
  311. {
  312. "id": 8762,
  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": "INFO"
  335. },
  336. "type": "SELECT",
  337. "status": "ACTIVE",
  338. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  339. },
  340. {
  341. "id": 18286,
  342. "label": "LAYOUT WEBVIEW (POR SUA CONTA E RISCO)",
  343. "name": "APP_LAYOUT_WEBVIEW",
  344. "value": "\n<!DOCTYPE html>\n<html lang=\"pt-BR\">\n\n<head>\n <meta charset=\"UTF-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n\n <title>PicaPau</title>\n\n <link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css\">\n <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css\" rel=\"stylesheet\"\n integrity=\"sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ\" crossorigin=\"anonymous\">\n <script type=\"text/javascript\"\n src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js\"\n integrity=\"sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe\"\n crossorigin=\"anonymous\"></script>\n <link rel='stylesheet'\n href='https://cdn-uicons.flaticon.com/2.0.0/uicons-regular-rounded/css/uicons-regular-rounded.css'>\n\n <style>\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');\n\n :root {\n /*------------------------------------------------------------------------EDITE SOMENTE AQUI INICIAL-----------------------------------------------------------------------------*/\n\n\n\n\n\n /* -------------- LOGO -----------------------------------*/\n\n --logo-img-url: url(https://i.ibb.co/TmY8kj2/5a1cede541bb76-5518196215118453492692.png);\n\n\n /* Cria uma sombra na LOGO */\n /*\n --shadow1-offset-x: -5px;\n --shadow1-offset-y: 8px;\n --shadow1-blur: 3px;\n --shadow1-color: black;\n /*\n\n /*------------------------------------------------------------------------*/\n\n\n /*-------------------fundo-----------------------------*/\n\n\n \n --background-img: url(https://i.ibb.co/K9vFWrG/547255-adapted-1080x2340.jpg);\n \n\n\n /*Quadrados Coloridos*/\n\n /*\n \n --cor1: #009c3b;\n --cor2: #ffdf00 ;\n --cor3: #002776 ;\n --cor4: #ffffff00;\n \n /*\n \n /* Valor padrão para o desfoque dos quadrados */\n --blur-amount: 15px;\n /*------------------------------------------------------------------------*/\n\n\n /*Ondas Coloridas*/\n \n --onda1:#009c3b ;\n --onda2: #ffdf00;\n --onda3: #002776;\n /*--cor-background: #000000;*/\n\n /*------------------------------------------------------------------------*/\n\n \n\n\n\n\n /* Valor padrão para o desfoque do vidro */\n --blur-amount2: 5px;\n --vidro-color: rgba(0, 0, 0, 0.158);\n\n /* Cria uma sombra no Vidro */\n\n /*\n --shadow-offset-x: -5px;\n --shadow-offset-y: 8px;\n --shadow-blur: 3px;\n --shadow-color: black;\n \n */\n\n /*------------------------------------------------------------------------*/\n\n\n /*Cores Dos Botao de iniciar*/\n --cor-gradiente-nav-inicial: #009c3c44;\n --cor-gradiente-nav-final: #ffdd0050;\n --cor-icon-config: #ffffff;\n\n /*------------------------------------------------------------------------*/\n /*Cores Dos Botao de conectar*/\n --cor-gradiente-btstart-incial: #009c3c44;\n --cor-gradiente-btstart-final: #ffdd0050;\n\n /*------------------------------------------------------------------------*/\n /*Cores Dos icones e TexTo*/\n --text-color: #ffffff;\n --icon-color: #ffffff;\n /*------------------------------------------------------------------------*/\n /*Cores Dos config*/\n --cor-text-config: #ffffff;\n --cor-gradiente-config-incial: #009c3c44;\n --cor-gradiente-config-final: #ffdd0050;\n\n /*------------------------------------------------------------------------EDITE SOMENTE AQUI FINALLLL-----------------------------------------------------------------------------*/\n\n\n --input-border-radius: 5px;\n --input-background-color: #0a091a55;\n\n --card-border-radius: 5px;\n --card-background-color: #0b092868;\n\n --btn-background-color: #0a091a55;\n --btn-border-radius: 15px;\n\n --modal-background-color: #0b092868;\n\n\n }\n\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n font-family: 'Roboto', sans-serif;\n }\n\n body {\n height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background-repeat: no-repeat;\n background-size: cover;\n background-color: var(--cor-background);\n }\n\n\n .circles {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n }\n\n .circles li {\n position: absolute;\n display: block;\n list-style: none;\n width: 20px;\n height: 20px;\n background-color: var(--cor1);\n background-image: linear-gradient(225deg, var(--cor2) 10%, var(--cor3) 50%, var(--cor4) 100%);\n backdrop-filter: blur(15px);\n animation: animate 5s linear infinite;\n bottom: -150px;\n }\n\n .circles li:nth-child(1) {\n left: 25%;\n width: 80px;\n height: 80px;\n animation-delay: 0s;\n }\n\n .circles li:nth-child(2) {\n left: 10%;\n width: 20px;\n height: 20px;\n animation-delay: 2s;\n animation-duration: 12s;\n }\n\n .circles li:nth-child(3) {\n left: 70%;\n width: 20px;\n height: 20px;\n animation-delay: 4s;\n }\n\n .circles li:nth-child(4) {\n left: 40%;\n width: 60px;\n height: 60px;\n animation-delay: 0s;\n animation-duration: 18s;\n }\n\n .circles li:nth-child(5) {\n left: 65%;\n width: 20px;\n height: 20px;\n animation-delay: 0s;\n }\n\n .circles li:nth-child(6) {\n left: 75%;\n width: 110px;\n height: 110px;\n animation-delay: 3s;\n }\n\n .circles li:nth-child(7) {\n left: 35%;\n width: 150px;\n height: 150px;\n animation-delay: 7s;\n }\n\n .circles li:nth-child(8) {\n left: 50%;\n width: 25px;\n height: 25px;\n animation-delay: 15s;\n animation-duration: 45s;\n }\n\n .circles li:nth-child(9) {\n left: 20%;\n width: 15px;\n height: 15px;\n animation-delay: 2s;\n animation-duration: 35s;\n }\n\n .circles li:nth-child(10) {\n left: 85%;\n width: 150px;\n height: 150px;\n animation-delay: 0s;\n animation-duration: 11s;\n }\n\n @keyframes animate {\n\n 0% {\n transform: translateY(0) rotate(0deg);\n opacity: 1;\n border-radius: 0;\n }\n\n 100% {\n transform: translateY(-1000px) rotate(720deg);\n opacity: 0;\n border-radius: 50%;\n }\n\n }\n\n /*waves****************************/\n\n\n .box {\n position: fixed;\n top: 0;\n transform: rotate(80deg);\n left: 0;\n }\n\n .wave {\n position: fixed;\n top: 0;\n left: 0;\n opacity: 0.9;\n position: absolute;\n top: 3%;\n left: 10%;\n background: var(--onda3);\n width: 1000px;\n height: 1000px;\n margin-left: -50px;\n margin-top: -200px;\n transform-origin: 50% 48%;\n border-radius: 43%;\n animation: drift 7000ms infinite linear;\n }\n\n .wave.-three {\n animation: drift 7500ms infinite linear;\n position: fixed;\n opacity: 0.9;\n background-color: var(--onda1);\n }\n\n .wave.-two {\n animation: drift 5500ms infinite linear;\n opacity: 0.9;\n background: var(--onda2);\n position: fixed;\n }\n\n .box:after {\n content: '';\n display: block;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: 11;\n transform: translate3d(0, 0, 0);\n }\n\n @keyframes drift {\n from {\n transform: rotate(0deg);\n }\n\n from {\n transform: rotate(360deg);\n }\n }\n\n /*LOADING SPACE*/\n\n .contain {\n animation-delay: 4s;\n z-index: 1000;\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-flow: row nowrap;\n flex-flow: row nowrap;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n\n background: #25a7d7;\n background: -webkit-linear-gradient(#25a7d7, #2962FF);\n background: linear-gradient(#25a7d7, #25a7d7);\n }\n\n .icon {\n width: 100px;\n height: 100px;\n margin: 0 5px;\n }\n\n /*Animation*/\n .icon:nth-child(2) img {\n -webkit-animation-delay: 0.2s;\n animation-delay: 0.2s\n }\n\n .icon:nth-child(3) img {\n -webkit-animation-delay: 0.3s;\n animation-delay: 0.3s\n }\n\n .icon:nth-child(4) img {\n -webkit-animation-delay: 0.4s;\n animation-delay: 0.4s\n }\n\n .icon img {\n -webkit-animation: anim 2s ease infinite;\n animation: anim 2s ease infinite;\n -webkit-transform: scale(0, 0) rotateZ(180deg);\n transform: scale(0, 0) rotateZ(180deg);\n }\n\n @-webkit-keyframes anim {\n 0% {\n -webkit-transform: scale(0, 0) rotateZ(-90deg);\n transform: scale(0, 0) rotateZ(-90deg);\n opacity: 0\n }\n\n 30% {\n -webkit-transform: scale(1, 1) rotateZ(0deg);\n transform: scale(1, 1) rotateZ(0deg);\n opacity: 1\n }\n\n 50% {\n -webkit-transform: scale(1, 1) rotateZ(0deg);\n transform: scale(1, 1) rotateZ(0deg);\n opacity: 1\n }\n\n 80% {\n -webkit-transform: scale(0, 0) rotateZ(90deg);\n transform: scale(0, 0) rotateZ(90deg);\n opacity: 0\n }\n }\n\n @keyframes anim {\n 0% {\n -webkit-transform: scale(0, 0) rotateZ(-90deg);\n transform: scale(0, 0) rotateZ(-90deg);\n opacity: 0\n }\n\n 30% {\n -webkit-transform: scale(1, 1) rotateZ(0deg);\n transform: scale(1, 1) rotateZ(0deg);\n opacity: 1\n }\n\n 50% {\n -webkit-transform: scale(1, 1) rotateZ(0deg);\n transform: scale(1, 1) rotateZ(0deg);\n opacity: 1\n }\n\n 80% {\n -webkit-transform: scale(0, 0) rotateZ(90deg);\n transform: scale(0, 0) rotateZ(90deg);\n opacity: 0\n }\n }\n\n .container {\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n max-width: 465px;\n background: var(--background-img);\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n\n .text_config {\n color: var(--cor-text-config) !important;\n }\n\n .logo {\n width: 100%;\n display: block;\n margin-top: 0px;\n margin-bottom: 15px;\n margin-left: auto;\n margin-right: auto;\n content: var(--logo-img-url);\n filter: drop-shadow(var(--shadow1-offset-x) var(--shadow1-offset-y) var(--shadow1-blur) var(--shadow1-color));\n }\n\n\n .card {\n backdrop-filter: blur(var(--blur-amount2));\n background: var(--vidro-color);\n border-radius: 20px;\n border: 1px solid #1e1e1e !important;\n box-shadow: -8px 12px 20px 0 rgb(13 15 18 / 63%) !important;\n padding: 15px !important;\n max-width: 450px;\n height: auto;\n position: relative;\n filter: drop-shadow(var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur) var(--shadow-color));\n }\n\n .btn-dark {\n border: none;\n background: linear-gradient(var(--cor-gradiente-btstart-incial), var(--cor-gradiente-btstart-final));\n border-radius: 15px;\n --bs-btn-hover-bg: #4b8d4b18 !important;\n --bs-btn-hover-border-color: #47593f2f !important;\n }\n\n .modal-content {\n background-color: transparent;\n backdrop-filter: blur(25px);\n }\n\n .tool {\n align-items: center;\n justify-content: center;\n text-align: center;\n }\n\n .tool-bt {\n background: linear-gradient(var(--cor-gradiente-config-incial), var(--cor-gradiente-config-final));\n border-radius: 20px;\n color: var(--cor-text-config) !important;\n height: 35px;\n width: 100%;\n border: var(--btn-border);\n }\n\n .input-group,\n .form-control,\n .input-group-text {\n background: #0808083f;\n color: var(--icon-color);\n border: none;\n border-radius: 15px;\n outline: none;\n }\n\n .form-control::placeholder {\n color: var(--text-color);\n }\n\n .form-control:focus {\n color: var(--text-color);\n outline: none;\n box-shadow: none;\n }\n\n .input-group-text {\n padding-right: 0;\n }\n\n\n .fs-5 {\n font-size: 1rem !important;\n }\n\n nav {\n\n background: linear-gradient(var(--cor-gradiente-nav-inicial), var(--cor-gradiente-nav-final));\n border-radius: 20px;\n font-size: 0;\n width: 100%;\n max-width: 450px;\n height: auto;\n position: sticky;\n margin-top: 20px;\n margin-bottom: 10px;\n display: flex;\n justify-content: space-around;\n align-items: center;\n }\n\n nav span {\n line-height: 45px;\n height: 100%;\n position: relative;\n z-index: 1;\n text-decoration: none;\n text-align: center;\n color: white !important;\n cursor: alias;\n }\n\n nav span svg {\n fill: var(--cor-icon-config);\n\n }\n\n nav .animation {\n position: absolute;\n height: 100%;\n top: 0;\n z-index: 0;\n transition: all .5s ease 0s;\n border-radius: 8px;\n }\n\n a:nth-child(1) {\n width: 30%;\n }\n\n a:nth-child(2) {\n width: 30%;\n }\n\n a:nth-child(3) {\n width: 40%;\n }\n\n nav .start-home,\n a:nth-child(1):hover~.animation {\n width: 30%;\n left: 0;\n background-color: #1212123f;\n border-radius: 20px;\n }\n\n nav .start-about,\n a:nth-child(2):hover~.animation {\n width: 30%;\n ;\n left: 30%;\n background-color: #1212123f;\n border-radius: 20px;\n }\n\n nav .start-blog,\n a:nth-child(3):hover~.animation {\n width: 40%;\n left: 60%;\n background-color: #1212123f;\n border-radius: 20px;\n }\n\n body {\n font-size: 12px;\n font-family: sans-serif;\n background: color #1212123f;\n }\n\n @media (min-width: 768px) {\n\n .container,\n .container-md,\n .container-sm {\n max-width: 100%;\n }\n }\n\n .rede {\n color: #ff0000;\n }\n\n .iplocal {\n color: #ffffff;\n }\n\n .containerlocal {\n background: #0808083f;\n border-radius: 20px;\n border: 1px solid #1e1e1e !important;\n padding: 15px !important;\n width: 95%;\n max-width: 450px;\n height: initial;\n position: absolute;\n margin-top: 700px;\n margin-bottom: -66px;\n }\n\n\n .hidden {\n display: none;\n }\n </style>\n</head>\n\n<body>\n <ul class=\"circles\">\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n <li></li>\n </ul>\n <div class='box'>\n <div class='wave -one'></div>\n <div class='wave -two'></div>\n <div class='wave -three'></div>\n </div>\n\n <div class=\"containerlocal\">\n <span class=\"font-semibold text-xs mr-2\"\n style=\"color: #ffffff;\"\">📢\tIP Local da sua operadora:</span><span class=\" rede font-semibold text-xs mr-2\"\n id=\"name\">REDE</span> <span class=\"iplocal font-semibold text-xs\" id=\"ip\">127.0.0.1</span>\n </div>\n\n <div class=\"container\">\n <div class=\"card border-0 p-2 shadow mb-3 w-100\">\n\n <img class=\"logo\">\n <script>\n document.documentElement.style.setProperty('--logo-img-url',);\n </script>\n\n\n <div class=\"input-group mb-2 shadow\" id=\"config-area\">\n <input class=\"form-control\" type=\"text\" placeholder=\"CONFIGURAÇÃO\" readonly title=\"configurações\"\n id=\"config\" style=\"background-color: #0808083f;\" />\n <span class=\"input-group-text me-2\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" fill=\"currentColor\"\n class=\"bi bi:bar-chart\" viewBox=\"0 0 16 16\">\n <path\n d=\"M4 11H2v3h2v-3zm5-4H7v7h2V7zm5-5v12h-2V2h2zm-2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1h-2zM6 7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7zm-5 4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-3z\" />\n </svg>\n </span>\n </div>\n <div class=\"input-group input mb-2 shadow\">\n <span class=\"input-group-text\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" fill=\"currentColor\"\n class=\"bi bi:file-person\" viewBox=\"0 0 16 16\">\n <path\n d=\"M12 1a1 1 0 0 1 1 1v10.755S12 11 8 11s-5 1.755-5 1.755V2a1 1 0 0 1 1-1h8zM4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H4z\" />\n <path d=\"M8 10a3 3 0 1 0 0-6a3 3 0 0 0 0 6z\" />\n </g>\n </svg>\n </span>\n <input class=\"form-control\" type=\"text\" placeholder=\"usuario\" id=\"username\"\n style=\"background-color: #0808083f;\" />\n </div>\n <div class=\"input-group input mb-2 shadow\">\n <span class=\"input-group-text\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" fill=\"currentColor\"\n class=\"bi bi:file-earmark-lock\" viewBox=\"0 0 16 16\">\n <path\n d=\"M10 7v1.076c.54.166 1 .597 1 1.224v2.4c0 .816-.781 1.3-1.5 1.3h-3c-.719 0-1.5-.484-1.5-1.3V9.3c0-.627.46-1.058 1-1.224V7a2 2 0 1 1 4 0zM7 7v1h2V7a1 1 0 0 0-2 0zM6 9.3v2.4c0 .042.02.107.105.175A.637.637 0 0 0 6.5 12h3a.64.64 0 0 0 .395-.125c.085-.068.105-.133.105-.175V9.3c0-.042-.02-.107-.105-.175A.637.637 0 0 0 9.5 9h-3a.637.637 0 0 0-.395.125C6.02 9.193 6 9.258 6 9.3z\" />\n <path\n d=\"M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z\" />\n </g>\n </svg>\n </span>\n <input class=\"form-control\" type=\"password\" placeholder=\"senha\" id=\"password\"\n style=\"background-color: #0808083f;\" />\n <span class=\"input-group-text me-2\"\n onclick=\"password.type==`text`?password.type = `password`:password.type = `text`\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-eye\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z\" />\n <path\n d=\"M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z\" />\n </svg>\n </span>\n </div>\n <div class=\"input-group input mb-2 shadow\">\n <span class=\"input-group-text\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" fill=\"currentColor\" class=\"bi bi-key\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"M0 8a4 4 0 0 1 7.465-2H14a.5.5 0 0 1 .354.146l1.5 1.5a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0L13 9.207l-.646.647a.5.5 0 0 1-.708 0L11 9.207l-.646.647a.5.5 0 0 1-.708 0L9 9.207l-.646.647A.5.5 0 0 1 8 10h-.535A4 4 0 0 1 0 8zm4-3a3 3 0 1 0 2.712 4.285A.5.5 0 0 1 7.163 9h.63l.853-.854a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.646-.647a.5.5 0 0 1 .708 0l.646.647.793-.793-1-1h-6.63a.5.5 0 0 1-.451-.285A3 3 0 0 0 4 5z\" />\n <path d=\"M4 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\" />\n </svg>\n </span>\n <input class=\"form-control\" type=\"text\" placeholder=\"V2ray UUID\" id=\"uuid\"\n style=\"background: #0808083f;\" />\n <span class=\"input-group-text me-2\"\n onclick=\"uuid.type==`text`?uuid.type = `password`:uuid.type = `text`\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-eye\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z\" />\n <path\n d=\"M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z\" />\n </svg>\n </span>\n </div>\n <button class=\"btn btn-dark w-100 shadow\" id=\"start-stop\">INICIAR</button>\n <nav>\n\n <span id=\"sync\" onclick=\"DtStartAppUpdate.execute()\" class=\"fi fi-rr-refresh\">\n <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n <svg xmlns=\"http://www.w3.org/2000/svg\" id=\"Outline\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\">\n <path\n d=\"M12,2a10.032,10.032,0,0,1,7.122,3H16a1,1,0,0,0-1,1h0a1,1,0,0,0,1,1h4.143A1.858,1.858,0,0,0,22,5.143V1a1,1,0,0,0-1-1h0a1,1,0,0,0-1,1V3.078A11.981,11.981,0,0,0,.05,10.9a1.007,1.007,0,0,0,1,1.1h0a.982.982,0,0,0,.989-.878A10.014,10.014,0,0,1,12,2Z\" />\n <path\n d=\"M22.951,12a.982.982,0,0,0-.989.878A9.986,9.986,0,0,1,4.878,19H8a1,1,0,0,0,1-1H9a1,1,0,0,0-1-1H3.857A1.856,1.856,0,0,0,2,18.857V23a1,1,0,0,0,1,1H3a1,1,0,0,0,1-1V20.922A11.981,11.981,0,0,0,23.95,13.1a1.007,1.007,0,0,0-1-1.1Z\" />\n </svg>\n </span>\n\n\n\n <span id=\"logger\" class=\"fi fi-rs-clipboard-list\">\n <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n <svg xmlns=\"http://www.w3.org/2000/svg\" id=\"Outline\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\">\n\n <path\n d=\"M11,12h6v2h-6v-2ZM21,2V21c0,1.654-1.346,3-3,3H6c-1.654,0-3-1.346-3-3V2h5.171c.413-1.164,1.525-2,2.829-2h2c1.304,0,2.416,.836,2.829,2h5.171Zm-2,2h-5v-1c0-.552-.449-1-1-1h-2c-.551,0-1,.448-1,1v1H5V21c0,.552,.449,1,1,1h12c.551,0,1-.448,1-1V4Zm-8,6h6v-2h-6v2Zm0,8h6v-2h-6v2ZM7,10h2v-2h-2v2Zm0,4h2v-2h-2v2Zm0,4h2v-2h-2v2Z\" />\n </svg>\n </span>\n\n <span aria-hidden=\"true\" onclick=\"ToolsModal.show()\" class=\"fi fi-rr-settings\">\n <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n <svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" id=\"Outline\" viewBox=\"0 0 24 24\"\n width=\"24\" height=\"24\">\n <path d=\"M12,8a4,4,0,1,0,4,4A4,4,0,0,0,12,8Zm0,6a2,2,0,1,1,2-2A2,2,0,0,1,12,14Z\" />\n <path\n d=\"M21.294,13.9l-.444-.256a9.1,9.1,0,0,0,0-3.29l.444-.256a3,3,0,1,0-3-5.2l-.445.257A8.977,8.977,0,0,0,15,3.513V3A3,3,0,0,0,9,3v.513A8.977,8.977,0,0,0,6.152,5.159L5.705,4.9a3,3,0,0,0-3,5.2l.444.256a9.1,9.1,0,0,0,0,3.29l-.444.256a3,3,0,1,0,3,5.2l.445-.257A8.977,8.977,0,0,0,9,20.487V21a3,3,0,0,0,6,0v-.513a8.977,8.977,0,0,0,2.848-1.646l.447.258a3,3,0,0,0,3-5.2Zm-2.548-3.776a7.048,7.048,0,0,1,0,3.75,1,1,0,0,0,.464,1.133l1.084.626a1,1,0,0,1-1,1.733l-1.086-.628a1,1,0,0,0-1.215.165,6.984,6.984,0,0,1-3.243,1.875,1,1,0,0,0-.751.969V21a1,1,0,0,1-2,0V19.748a1,1,0,0,0-.751-.969A6.984,6.984,0,0,1,7.006,16.9a1,1,0,0,0-1.215-.165l-1.084.627a1,1,0,1,1-1-1.732l1.084-.626a1,1,0,0,0,.464-1.133,7.048,7.048,0,0,1,0-3.75A1,1,0,0,0,4.79,8.992L3.706,8.366a1,1,0,0,1,1-1.733l1.086.628A1,1,0,0,0,7.006,7.1a6.984,6.984,0,0,1,3.243-1.875A1,1,0,0,0,11,4.252V3a1,1,0,0,1,2,0V4.252a1,1,0,0,0,.751.969A6.984,6.984,0,0,1,16.994,7.1a1,1,0,0,0,1.215.165l1.084-.627a1,1,0,1,1,1,1.732l-1.084.626A1,1,0,0,0,18.746,10.125Z\" />\n </svg>\n </span>\n\n </nav>\n </div>\n\n <div class=\"card my-3 w-100 text-center border-0 p-2 shadow text-light fs-5 text-uppercase fw-bold\" id=\"state\"\n style=\"padding: 5px !important; font-size: 15px !important;\">\n </div>\n <div class=\"modal fade\" id=\"checkUserModal\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content rounded-3 shadow\">\n <div class=\"modal-header border-bottom-0 pb-0\">\n <h1 class=\"modal-title fs-5 chk-title text-light\"></h1>\n <button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\"\n aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body text-center\">\n <p class=\"fs-5 mb-0 chk-message text-light\"></p>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal fade\" id=\"errorModal\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content rounded-3 shadow\">\n <div class=\"modal-header border-bottom-0 pb-0\">\n <h1 class=\"modal-title fs-5 err-title text-light\"></h1>\n <button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\"\n aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body text-center\">\n <p class=\"fs-5 mb-0 err-message text-light\"></p>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal fade\" id=\"loggerModal\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content rounded-3 shadow\">\n <div class=\"modal-body p-1 text-center\">\n <ul class=\"list-group bg-transparent overflow-y-auto logger-content\" style=\"max-height: 600px;\">\n </ul>\n </div>\n <div class=\"modal-footer flex-nowrap p-0\">\n <button type=\"button\" class=\"btn btn-lg btn-dark text-light w-100 clear-logger\">LIMPAR</button>\n <button type=\"button\" class=\"btn btn-lg btn-dark text-light w-100\"\n data-bs-dismiss=\"modal\">FECHAR</button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"tool webm modal fade\" index=\"-1\" id=\"ToolsModal\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"tool modal-header\">\n <h5 class=\"modal-title text_config\">Configurações do aplicativo</h5>\n </div>\n <div class=\"modal-body\">\n <button class=\"tool-bt rounded-2xl text-white\" onclick=\"DtStartApnActivity.execute()\"><i\n class=\"info2 bi bi-wifi mr-2\"></i>Alterar protocolo de APN</button>\n </div>\n <div class=\"modal-body\">\n <button class=\"tool-bt rounded-2xl text-white\"\n onclick=\"DtIgnoreBatteryOptimizations.execute()\"><i\n class=\"info2 bi bi-battery-full mr-2\"></i>Otimizar Bateria</button>\n </div>\n\n\n <div class=\"modal-body\">\n <button class=\"tool-bt rounded-2xl text-white\" id=\"btnHotSpot\"><i\n class=\"info2 bi bi-trash3 mr-2\"></i>Compartilhar Internet</button>\n </div>\n\n <div class=\"modal-body\">\n <button class=\"tool-bt rounded-2xl text-white\" onclick=\"DtCleanApp.execute()\"><i\n class=\"info2 bi bi-trash3 mr-2\"></i>Limpar cachê e dados</button>\n </div>\n\n <div class=\"tool modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\"\n style=\"background-color: var(--btn-modal);\">FECHAR</button>\n\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal fade\" id=\"configModal\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content rounded-3 shadow\">\n <div class=\"modal-header border-bottom-0 pb-0\">\n <h1 class=\"modal-title fs-5 text-white\">CONFIGURAÇÕES</h1>\n <button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\"\n aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body p-1 text-center\">\n <ul class=\"list-group bg-transparent overflow-y-auto config-body\" style=\"max-height: 600px;\">\n <li class=\"list-group-item bg-transparent text-white border-0\">\n <p>CATEGORIA</p>\n <ul class=\"list-group bg-transparent overflow-y-auto text-start\">\n <li\n class=\"list-group-item d-flex bg-transparent text-white border-0 border-bottom rounded-0\">\n <img src=\"https://cdn-icons-png.flaticon.com/512/3686/3686811.png\" width=\"40\"\n height=\"40\">\n <div class=\"d-flex flex-column ms-2 w-100\">\n <span>CONFIG 01</span>\n <span>DESC 01</span>\n </div>\n <div class=\"d-flex flex-column ms-2 w-100\">\n <span class=\"text-end\">CONFIG_MODE</span>\n </div>\n </li>\n </ul>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal fade\" id=\"RenovarModal\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content rounded-3 shadow\">\n <div class=\"modal-header border-bottom-0 py-3\">\n <button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\"\n aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body ratio rounded-bottom-3\" style=\"height: 600px;\">\n <div class=\"spinner d-flex w-100 h-100 align-items-center justify-content-center\">\n <div class=\"spinner-border text-light p-5\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n </div>\n </div>\n <iframe class=\"rounded-bottom-3\" id=\"RenovarFrame\"></iframe>\n </div>\n </div>\n </div>\n </div>\n <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/npm/toastify-js\"></script>\n <script>\n const startHotSpot = () => {\n DtStartHotSpotService.execute();\n txtbtn.textContent = 'HOTSPOT';\n }\n\n const stopHotSpot = () => {\n DtStopHotSpotService.execute();\n txtbtn.textContent = 'HOTSPOT';\n }\n\n const toggleHotSpot = () => {\n const hotSpotStatus = window?.DtGetStatusHotSpotService?.execute() ?? 'STOPPED';\n hotSpotStatus == 'RUNNING' ? stopHotSpot() : startHotSpot();\n }\n\n const btnHotSpot = document.querySelector(\"#btnHotSpot\");\n btnHotSpot.addEventListener('click', toggleHotSpot);\n\n const hotSpotStatus = window?.DtGetStatusHotSpotService?.execute() ?? 'STOPPED';\n if (hotSpotStatus == 'RUNNING') {\n txtbtn.textContent = 'HOTSPOT';\n }\n\n </script>\n\n <script>\n class AndroidMock {\n static getLocalIP() {\n return '192.168.0.1';\n }\n\n static getConfig() {\n return JSON.stringify({\n urlCheckUser: 'URLAQUI'\n });\n }\n\n static getNetworkName() {\n return 'REDE';\n }\n\n static openRadioInfo() {\n console.log('openRadioInfo');\n }\n }\n </script>\n\n <script>\n function showLocalIP(android) {\n console.log(android.getNetworkName());\n document.getElementById('name').innerHTML = ' ' + android.getNetworkName() + ':';\n document.getElementById('ip').innerHTML = android.getLocalIP();\n\n setInterval(() => {\n document.getElementById('name').innerHTML =\n ' ' + android.getNetworkName() + ':';\n document.getElementById('ip').innerHTML = android.getLocalIP();\n }, 2000)\n }\n\n window.onload = function () {\n const android = window.Android || AndroidMock;\n showLocalIP(android);\n }\n\n function mostrar(id) {\n if (document.getElementById(id).style.display !== \"none\") {\n document.getElementById(id).style.display = \"none\";\n return;\n }\n Array.from(document.getElementsByClassName(\"hidden\")).forEach(\n div => (div.style.display = \"none\")\n );\n document.getElementById(id).style.display = \"block\";\n }\n\n </script>\n\n <script>\n const configArea = document.querySelector('#config-area')\n const config = document.querySelector('#config')\n const username = document.querySelector('#username')\n const password = document.querySelector('#password')\n const uuid = document.querySelector('#uuid')\n const logger = document.querySelector('#logger')\n\n const networkStatus = document.querySelector('#section.local-ip')\n\n const startStopVpn = document.querySelector('#start-stop')\n const stateStatus = document.querySelector('#state')\n\n const loggerModal = new bootstrap.Modal(document.querySelector('#loggerModal'))\n const checkUserModal = new bootstrap.Modal(document.querySelector('#checkUserModal'))\n const errorModal = new bootstrap.Modal(document.querySelector('#errorModal'))\n const configModal = new bootstrap.Modal(document.querySelector('#configModal'))\n\n const ToolsModal = new bootstrap.Modal(document.querySelector('#ToolsModal'))\n\n const clearLogger = document.querySelector('.clear-logger')\n\n const RenovarModal = new bootstrap.Modal(document.querySelector('#RenovarModal'))\n\n configArea.addEventListener('click', e => showConfigsModal())\n username.addEventListener('input', e => DtUsername.set(e.target.value))\n password.addEventListener('input', e => DtPassword.set(e.target.value))\n uuid.addEventListener('input', e => DtUuid.set(e.target.value))\n logger.addEventListener('click', e => loggerModal.show())\n\n startStopVpn.addEventListener('click', (e) => {\n if (DtGetVpnState.execute() != 'DISCONNECTED') {\n DtExecuteVpnStop.execute()\n } else {\n DtExecuteVpnStart.execute()\n }\n })\n clearLogger.addEventListener('click', () => DtClearLogs.execute())\n\n RenovarModal._element.addEventListener('shown.bs.modal', () => {\n const iframe = document.querySelector('#RenovarFrame');\n if (!iframe.src) {\n iframe.src = 'https://painel.plenonet.com.br/renovar.php'\n iframe.addEventListener('load', () => {\n mp3Modal._element.querySelector('.spinner').classList.add('d-none')\n })\n }\n })\n RenovarModal._element.addEventListener('hide.bs.modal', () => {\n const iframe = document.querySelector('#RenovarFrame');\n iframe.src = '';\n })\n\n Object.defineProperty(String.prototype, 't', {\n value: function t() {\n return window?.DtTranslateText?.execute('' + this) ?? '' + this\n },\n writable: true,\n configurable: true,\n })\n\n const dtConfigClickListener = () => {\n const data = JSON.parse(window?.DtGetDefaultConfig?.execute() || `{ \"auth\": {}, \"mode\": \"v2ray\" }`)\n const isV2ray = data?.mode?.toLowerCase()?.startsWith('v2ray');\n config.placeholder = data.name ?? 'LBL_CHOOSE_CONFIG'.t()\n username.parentElement.style.display = !data?.auth?.username && !isV2ray ? 'flex' : 'none';\n password.parentElement.style.display = !data?.auth?.password && !isV2ray ? 'flex' : 'none';\n uuid.parentElement.style.display = !data?.auth?.v2ray_uuid && isV2ray ? 'flex' : 'none';\n }\n\n const dtVpnStateListener = state => {\n const isRunning = state != 'DISCONNECTED';\n\n stateStatus.innerHTML = ('LBL_STATE_' + state).t()\n startStopVpn.innerHTML = isRunning ? 'LBL_BTN_STOP'.t() : 'LBL_BTN_START'.t()\n\n if (isRunning) {\n username.setAttribute('readonly', 'true')\n password.setAttribute('readonly', 'true')\n } else {\n username.removeAttribute('readonly')\n password.removeAttribute('readonly')\n }\n\n if (state == 'CONNECTING') dtShowSuccessToastListener('Conectando...')\n }\n\n const dtCheckUserStartedListener = () => {\n const data = JSON.parse(window?.DtGetDefaultConfig?.execute() || `{}`)\n const isV2ray = data?.mode?.toLowerCase()?.startsWith('v2ray');\n if (isV2ray) return;\n const html = `\n <div class=\"d-flex justify-content-center\">\n <div class=\"spinner-border p-5\" role=\"status\">\n <span class=\"visually-hidden\">Loading...</span>\n </div>\n </div>\n `\n\n checkUserModal._element.querySelector('.chk-title').textContent = 'CHECK USER'\n checkUserModal._element.querySelector('.chk-message').innerHTML = html;\n checkUserModal.show()\n }\n\n function isBeforeExpiration(expirationDays, daysBefore) {\n return expirationDays <= daysBefore;\n }\n\n const dtCheckUserModelListener = model => {\n const data = JSON.parse(model ?? `{\"username\": \"test\"}`);\n\n const html = `\n <div class=\"d-flex flex-column text-white\">\n <span>👤Nome de usuario: ${data.username}</span>\n <span>📆Expira em: ${data.expiration_date}</span>\n <span>📆Dias restantes: ${data.expiration_days}</span>\n <span>🚫Conexoes: ${data.count_connections}|${data.limit_connections}</span>\n ${isBeforeExpiration(data.expiration_days, 3) ? '<span><center>🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨</center><span><span><center>⚠️Faltando 3 dias para o expirar o usuário⚠️</center></span>🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨</span></span>' : ''}\n ${isBeforeExpiration(data.expiration_days, 2) ? '<span><span><span><center>⚠️Faltando 2 dias para o expirar o usuário⚠️</center></span><center>🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨</center></span></span>' : ''}\n ${isBeforeExpiration(data.expiration_days, 1) ? '<span><span><span><center>⚠️Faltando 1 dias para o expirar o usuário⚠️</center></span><center>🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨</center></span></span>' : ''}\n </div>\n `;\n\n checkUserModal._element.querySelector('.chk-title').textContent = '📆 Olá, ' + data.username.toUpperCase() + '👤';\n checkUserModal._element.querySelector('.chk-message').innerHTML = html;\n checkUserModal.show();\n }\n\n\n\n\n\n\n const dtMessageErrorListener = message => {\n const data = JSON.parse(message)\n errorModal._element.querySelector('.err-title').textContent = data.title;\n errorModal._element.querySelector('.err-message').innerHTML = data.content;\n errorModal.show()\n }\n\n const dtOnNewLogListener = () => {\n const mock = [];\n for (let i = 0; i < 30; i++) {\n mock.push({ 'TIME': 'MESSAGE ' + i })\n }\n\n const log = window?.DtGetLogs?.execute() || JSON.stringify(mock)\n const data = JSON.parse(log)\n\n let content = '';\n data.forEach(item => {\n content += '<li class=\"list-group-item fs-6 bg-transparent text-white p-0 border-0 text-start ms-2 text-wrap\">';\n content += Object.keys(item)[0] + \" \" + item[Object.keys(item)]\n content += '</li>';\n })\n\n loggerModal._element.querySelector('.logger-content').innerHTML = content;\n const listGroup = loggerModal._element.querySelector('.list-group')\n listGroup.scrollTo(0, listGroup.scrollHeight)\n }\n\n const dtVpnStartedSuccessListener = () => dtShowSuccessToastListener('Conectado com sucesso')\n\n const dtVpnStoppedSuccessListener = () => dtShowSuccessToastListener('Desconectado com sucesso')\n\n const dtShowSuccessToastListener = text => {\n Toastify({\n text: text,\n close: true,\n style: {\n background: 'linear-gradient(to right, #00b09b, #96c93d)',\n marginTop: '35px',\n }\n }).showToast()\n }\n\n const dtShowErrorToastListener = text => {\n Toastify({\n text: text,\n close: true,\n style: {\n background: 'linear-gradient(to right, #ff5c33, #e69900)',\n marginTop: '35px',\n }\n }).showToast()\n }\n\n const showConfigsModal = () => {\n const mock = '[{\"sorter\":6,\"color\":\"#6D08041C\",\"name\":\"CONFIG\",\"id\":1393,\"items\":[{\"mode\":\"V2RAY - VLESS\",\"sorter\":4,\"tlsVersion\":\"TLSv1.2\",\"name\":\"CONFIG 01\",\"icon\":\"https://cdn-icons-png.flaticon.com/512/8187/8187143.png\",\"id\":11803,\"status\":\"ACTIVE\"},{\"mode\":\"SSH_DIRECT\",\"sorter\":2,\"tlsVersion\":\"TLSv1.2\",\"name\":\"CONFIG 02\",\"icon\":\"https://cdn-icons-png.flaticon.com/512/8187/8187143.png\",\"id\":28627,\"status\":\"ACTIVE\"},{\"mode\":\"OVPN_PROXY\",\"sorter\":23,\"tlsVersion\":\"TLSv1.2\",\"name\":\"CONFIG 03\",\"icon\":\"https://cdn-icons-png.flaticon.com/512/8187/8187143.png\",\"id\":30001,\"status\":\"ACTIVE\"}]},{\"sorter\":2,\"color\":\"#6D08041C\",\"name\":\"CONFIG 2\",\"id\":1846,\"items\":[{\"mode\":\"SSH_PROXY\",\"sorter\":1,\"tlsVersion\":\"TLSv1.2\",\"name\":\"CONFIG 01\",\"icon\":\"https://cdn-icons-png.flaticon.com/512/8187/8187143.png\",\"id\":26295,\"status\":\"ACTIVE\"}]},{\"sorter\":4,\"color\":\"#80000000\",\"name\":\"CONFIG 3\",\"id\":3310,\"items\":[{\"mode\":\"SSH_PROXY\",\"sorter\":1,\"tlsVersion\":\"TLSv1.2\",\"name\":\"CONFIG. TEST\",\"icon\":\"https://cdn-icons-png.flaticon.com/512/8187/8187143.png\",\"id\":29997,\"status\":\"ACTIVE\"},{\"mode\":\"OVPN_PROXY\",\"sorter\":1,\"tlsVersion\":\"TLSv1.2\",\"name\":\"CONFIG. TEST 2\",\"icon\":\"https://cdn-icons-png.flaticon.com/512/8187/8187143.png\",\"id\":29998,\"status\":\"ACTIVE\"}]}]'\n const data = JSON.parse(window?.DtGetConfigs?.execute() || mock)\n\n data.sort((a, b) => a.sorter - b.sorter)\n data.forEach(item => item.items.sort((a, b) => a.sorter - b.sorter))\n\n const body = configModal._element.querySelector('.config-body')\n body.innerHTML = ''\n\n data.forEach(category => {\n const categoryElement = document.createElement('li')\n categoryElement.classList.add('list-group-item', 'bg-transparent', 'text-white', 'border-0', 'mb-1', 'rounded-1', 'px-1')\n categoryElement.innerHTML = `<span class=\"fw-bold btn-dark w-100 d-block p-1 rounded-1 mb-1\">${category.name}</span>`\n\n const configUlElement = document.createElement('ul')\n configUlElement.classList.add('list-group', 'bg-transparent', 'overflow-y-auto')\n\n category.items.forEach(item => {\n const configElement = document.createElement('li')\n configElement.classList.add('list-group-item', 'd-flex', 'btn-dark', 'text-white', 'border-0', 'rounded-2', 'px-1', 'py-2', 'mb-1')\n configElement.innerHTML = `\n <img src=\"${item.icon}\" width=\"40\" height=\"40\">\n <div class=\"text-start d-flex flex-column ms-2 w-100 text-truncate\">\n <span class=\"fw-bold text-uppercase\" style=\"font-size: 0.8rem;\">${item.name}</span>\n\t\t\t\t\t\t<span class=\"fst-italic fw-bold\" style=\"font-size: 0.7rem;\">${item.description || ''}</span> \n </div>\n <div class=\"d-flex flex-column ms-2\">\n <span class=\"fst-italic fw-bold text-end text-uppercase text-nowrap\" style=\"font-size: 0.8rem;\">${item.mode}</span>\n </div>\n </li>\n `\n configElement.addEventListener('click', e => {\n window?.DtSetConfig?.execute(item.id)\n configModal.hide()\n })\n configUlElement.appendChild(configElement)\n })\n\n categoryElement.appendChild(configUlElement)\n body.appendChild(categoryElement)\n })\n\n configModal.show()\n }\n\n username.value = window?.DtUsername?.get() ?? ''\n password.value = window?.DtPassword?.get() ?? ''\n uuid.value = window?.DtUuid?.get() ?? ''\n\n username.placeholder = 'LBL_USERNAME'.t()\n password.placeholder = 'LBL_PASSWORD'.t()\n uuid.placeholder = 'LBL_UUID'.t()\n\n dtOnNewLogListener()\n dtVpnStateListener(window?.DtGetVpnState?.execute() ?? 'DISCONNECTED')\n dtConfigClickListener()\n\n console.log('ODAIR.Dev!🚀')\n </script>\n\n</body>\n\n</html>",
  345. "type": "HTML",
  346. "status": "ACTIVE",
  347. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  348. },
  349. {
  350. "id": 8763,
  351. "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
  352. "name": "APP_SUPPORT_BUTTON",
  353. "value": null,
  354. "type": "HTML",
  355. "status": "ACTIVE",
  356. "user_id": "acff48c5-0c40-4493-847a-a48a2807318d"
  357. },
  358. {
  359. "id": 8764,
  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": "acff48c5-0c40-4493-847a-a48a2807318d"
  366. }
  367. ]

comments powered by Disqus