Tema online


SUBMITTED BY: anbach

DATE: Nov. 20, 2023, 2:32 a.m.

UPDATED: March 7, 2024, 1:59 a.m.

FORMAT: Text only

SIZE: 43.3 kB

HITS: 7111

  1. [
  2. {
  3. "id": 26680,
  4. "label": "Nome do app",
  5. "name": "APP_NAME",
  6. "value": "",
  7. "type": "STRING",
  8. "status": "ACTIVE",
  9. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  10. },
  11. {
  12. "id": 26681,
  13. "label": "Logo do app",
  14. "name": "APP_LOGO",
  15. "value": "",
  16. "type": "IMAGE",
  17. "status": "ACTIVE",
  18. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  19. },
  20. {
  21. "id": 26682,
  22. "label": "Imagem de fundo",
  23. "name": "APP_BACKGROUND_IMAGE",
  24. "value": "",
  25. "type": "IMAGE",
  26. "status": "ACTIVE",
  27. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  28. },
  29. {
  30. "id": 3810,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  49. },
  50. {
  51. "id": 3811,
  52. "label": "Cor de fundo",
  53. "name": "APP_BACKGROUND_COLOR",
  54. "value": "#080E16C7",
  55. "type": "COLOR",
  56. "status": "ACTIVE",
  57. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  58. },
  59. {
  60. "id": 3812,
  61. "label": "Cor do card inicial",
  62. "name": "APP_CARD_COLOR",
  63. "value": "#1D242E73",
  64. "type": "COLOR",
  65. "status": "ACTIVE",
  66. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  67. },
  68. {
  69. "id": 7979,
  70. "label": "Raio do card inicial",
  71. "name": "APP_CARD_RADIUS",
  72. "value": 30,
  73. "type": "INTEGER",
  74. "status": "ACTIVE",
  75. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  76. },
  77. {
  78. "id": 7980,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  85. },
  86. {
  87. "id": 7981,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  94. },
  95. {
  96. "id": 3813,
  97. "label": "Cor do card de configurações",
  98. "name": "APP_CARD_CONFIG_COLOR",
  99. "value": "#1D242E73",
  100. "type": "COLOR",
  101. "status": "ACTIVE",
  102. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  103. },
  104. {
  105. "id": 3814,
  106. "label": "Cor do fundo dos dialogs",
  107. "name": "APP_DIALOG_BACKGROUND_COLOR",
  108. "value": "#0E171EC9",
  109. "type": "COLOR",
  110. "status": "ACTIVE",
  111. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  112. },
  113. {
  114. "id": 11850,
  115. "label": "Cor do fundo do dialog de log",
  116. "name": "APP_DIALOG_LOGGER_COLOR",
  117. "value": "#1D242E73",
  118. "type": "COLOR",
  119. "status": "ACTIVE",
  120. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  121. },
  122. {
  123. "id": 3815,
  124. "label": "Cor das bordas",
  125. "name": "APP_BORDER_COLOR",
  126. "value": "#1D242E73",
  127. "type": "COLOR",
  128. "status": "ACTIVE",
  129. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  130. },
  131. {
  132. "id": 7982,
  133. "label": "Cor dos inputs",
  134. "name": "APP_INPUT_COLOR",
  135. "value": "#00000000",
  136. "type": "COLOR",
  137. "status": "ACTIVE",
  138. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  139. },
  140. {
  141. "id": 7983,
  142. "label": "Raio dos inputs",
  143. "name": "APP_INPUT_RADIUS",
  144. "value": 30,
  145. "type": "INTEGER",
  146. "status": "ACTIVE",
  147. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  148. },
  149. {
  150. "id": 3816,
  151. "label": "Cor dos textos",
  152. "name": "APP_TEXT_COLOR",
  153. "value": "#CBBFDFFF",
  154. "type": "COLOR",
  155. "status": "ACTIVE",
  156. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  157. },
  158. {
  159. "id": 3817,
  160. "label": "Cor dos botões",
  161. "name": "APP_BUTTON_COLOR",
  162. "value": "#1D242E73",
  163. "type": "COLOR",
  164. "status": "ACTIVE",
  165. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  166. },
  167. {
  168. "id": 7984,
  169. "label": "Raio dos botões",
  170. "name": "APP_BUTTON_RADIUS",
  171. "value": 30,
  172. "type": "INTEGER",
  173. "status": "ACTIVE",
  174. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  175. },
  176. {
  177. "id": 3818,
  178. "label": "Cor dos icones",
  179. "name": "APP_ICON_COLOR",
  180. "value": "#CBBFDFFF",
  181. "type": "COLOR",
  182. "status": "ACTIVE",
  183. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  184. },
  185. {
  186. "id": 3819,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  193. },
  194. {
  195. "id": 22784,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  202. },
  203. {
  204. "id": 4922,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  211. },
  212. {
  213. "id": 7985,
  214. "label": "Usar limiter de conexão",
  215. "name": "APP_CONNECTION_LIMITER",
  216. "value": false,
  217. "type": "BOOLEAN",
  218. "status": "ACTIVE",
  219. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  220. },
  221. {
  222. "id": 12836,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  229. },
  230. {
  231. "id": 12837,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  238. },
  239. {
  240. "id": 12838,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  247. },
  248. {
  249. "id": 14425,
  250. "label": "Ativar dialog de erros",
  251. "name": "APP_DIALOG_ERROR_ENABLED",
  252. "value": true,
  253. "type": "BOOLEAN",
  254. "status": "ACTIVE",
  255. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  256. },
  257. {
  258. "id": 14426,
  259. "label": "Ativar dialog de checkuser",
  260. "name": "APP_CHECKUSER_DIALOG_ENABLED",
  261. "value": "false",
  262. "type": "BOOLEAN",
  263. "status": "ACTIVE",
  264. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  265. },
  266. {
  267. "id": 14427,
  268. "label": "Ativar toast de sucesso",
  269. "name": "APP_SUCCESS_TOAST_ENABLED",
  270. "value": true,
  271. "type": "BOOLEAN",
  272. "status": "ACTIVE",
  273. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  274. },
  275. {
  276. "id": 14428,
  277. "label": "Ativar toast de erro",
  278. "name": "APP_ERROR_TOAST_ENABLED",
  279. "value": true,
  280. "type": "BOOLEAN",
  281. "status": "ACTIVE",
  282. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  283. },
  284. {
  285. "id": 14429,
  286. "label": "Usar layout webview",
  287. "name": "APP_LAYOUT_WEBVIEW_ENABLED",
  288. "value": "true",
  289. "type": "BOOLEAN",
  290. "status": "ACTIVE",
  291. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  292. },
  293. {
  294. "id": 3820,
  295. "label": "Mensagem",
  296. "name": "APP_MESSAGE",
  297. "value": "Bem vindo ao DTunnel Mod",
  298. "type": "TEXT",
  299. "status": "ACTIVE",
  300. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  301. },
  302. {
  303. "id": 3822,
  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": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  310. },
  311. {
  312. "id": 3821,
  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": "WELCOME"
  335. },
  336. "type": "SELECT",
  337. "status": "ACTIVE",
  338. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  339. },
  340. {
  341. "id": 14430,
  342. "label": "LAYOUT WEBVIEW (POR SUA CONTA E RISCO)",
  343. "name": "APP_LAYOUT_WEBVIEW",
  344. "value": "<!DOCTYPE html>\r\n<html lang=\"pt-BR\">\r\n\r\n<head>\r\n <meta charset=\"UTF-8\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\r\n\r\n <title>DTunnel</title>\r\n\r\n <link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css\">\r\n <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css\" rel=\"stylesheet\"\r\n integrity=\"sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ\" crossorigin=\"anonymous\">\r\n <script type=\"text/javascript\"\r\n src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js\"\r\n integrity=\"sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe\"\r\n crossorigin=\"anonymous\"></script>\r\n\r\n <style>\r\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');\r\n\r\n :root {\r\n --background-img-url: url(https://i.imgur.com/MDMyLjF.jpg);\r\n --logo-img-url: url();\r\n\r\n --input-border-radius: 35px;\r\n --input-background-color: #00000080;\r\n\r\n --card-border-radius: 35px;\r\n --card-background-color: #00000080;\r\n\r\n --btn-background-color: #00000080;\r\n --btn-border-radius: 35px;\r\n\r\n --modal-background-color: #00000080;\r\n\r\n --text-color: #ffffff;\r\n --icon-color: #FFFFFF;\r\n }\r\n\r\n * {\r\n margin: 0;\r\n padding: 0;\r\n box-sizing: border-box;\r\n font-family: 'Roboto', sans-serif;\r\n }\r\n\r\n body {\r\n height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n\r\n background: var(--background-img-url);\r\n background-repeat: no-repeat;\r\n background-size: cover;\r\n }\r\n\r\n .container {\r\n height: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n max-width: 350px;\r\n }\r\n\r\n .logo {\r\n width: 100px;\r\n height: 100px;\r\n margin-top: -5rem;\r\n margin-bottom: 2rem;\r\n background: var(--logo-img-url);\r\n background-repeat: no-repeat;\r\n background-size: cover;\r\n }\r\n\r\n .card {\r\n background-color: var(--card-background-color);\r\n border-radius: var(--card-border-radius);\r\n }\r\n\r\n .btn-dark {\r\n border: none;\r\n background-color: var(--btn-background-color) !important;\r\n border-radius: var(--btn-border-radius);\r\n }\r\n\r\n .modal-content {\r\n background-color: var(--modal-background-color);\r\n }\r\n\r\n .input-group,\r\n .form-control,\r\n .input-group-text {\r\n background-color: var(--input-background-color) !important;\r\n color: var(--icon-color);\r\n border: none;\r\n border-radius: 35px;\r\n outline: none;\r\n border-radius: var(--input-border-radius);\r\n }\r\n\r\n .form-control::placeholder {\r\n color: var(--text-color);\r\n }\r\n\r\n .form-control:focus {\r\n color: var(--text-color);\r\n outline: none;\r\n box-shadow: none;\r\n }\r\n\r\n .input-group-text {\r\n padding-right: 0;\r\n }\r\n </style>\r\n</head>\r\n\r\n<body>\r\n <div class=\"container\">\r\n <div class=\"logo\"></div>\r\n <div class=\"card border-0 p-2 shadow mb-3 w-100\">\r\n <div class=\"input-group mb-2 shadow\" id=\"config-area\">\r\n <span class=\"input-group-text\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" fill=\"currentColor\"\r\n class=\"bi bi-file-medical\" viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M8.5 4.5a.5.5 0 0 0-1 0v.634l-.549-.317a.5.5 0 1 0-.5.866L7 6l-.549.317a.5.5 0 1 0 .5.866l.549-.317V7.5a.5.5 0 1 0 1 0v-.634l.549.317a.5.5 0 1 0 .5-.866L9 6l.549-.317a.5.5 0 1 0-.5-.866l-.549.317V4.5zM5.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5z\" />\r\n <path\r\n d=\"M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm10-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1z\" />\r\n </svg>\r\n </span>\r\n <input class=\"form-control\" type=\"text\" placeholder=\"CONFIGURAÇÃO\" readonly title=\"configurações\"\r\n id=\"config\" />\r\n <span class=\"input-group-text me-2\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" fill=\"currentColor\"\r\n class=\"bi bi-arrow-bar-down\" viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M1 3.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5zM8 6a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 .708-.708L7.5 12.293V6.5A.5.5 0 0 1 8 6z\" />\r\n </svg>\r\n </span>\r\n </div>\r\n <div class=\"input-group input mb-2 shadow\">\r\n <span class=\"input-group-text\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" fill=\"currentColor\"\r\n class=\"bi bi-person\" viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z\" />\r\n </svg>\r\n </span>\r\n <input class=\"form-control\" type=\"text\" placeholder=\"usuario\" id=\"username\" />\r\n </div>\r\n <div class=\"input-group input mb-2 shadow\">\r\n <span class=\"input-group-text\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" fill=\"currentColor\" class=\"bi bi-key\"\r\n viewBox=\"0 0 16 16\">\r\n <path\r\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\" />\r\n <path d=\"M4 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\" />\r\n </svg>\r\n </span>\r\n <input class=\"form-control\" type=\"password\" placeholder=\"senha\" id=\"password\" />\r\n <span class=\"input-group-text me-2\"\r\n onclick=\"password.type==`text`?password.type = `password`:password.type = `text`\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-eye\"\r\n viewBox=\"0 0 16 16\">\r\n <path\r\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\" />\r\n <path\r\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\" />\r\n </svg>\r\n </span>\r\n </div>\r\n <button class=\"btn btn-dark w-100 shadow\" id=\"start-stop\">INICIAR</button>\r\n </div>\r\n <div class=\"card border-0 p-2 shadow w-100\">\r\n <div class=\"d-flex justify-content-between\">\r\n <button class=\"btn btn-dark shadow\" id=\"sync\" onclick=\"DtStartAppUpdate.execute()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\r\n class=\"bi bi-arrow-repeat\" viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z\" />\r\n <path fill-rule=\"evenodd\"\r\n d=\"M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z\" />\r\n </svg>\r\n </button>\r\n <button class=\"btn btn-dark shadow\" id=\"logger\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\r\n class=\"bi bi-file-earmark-text\" viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z\" />\r\n <path\r\n d=\"M9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.5L9.5 0zm0 1v2A1.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.5z\" />\r\n </svg>\r\n </button>\r\n <button class=\"btn btn-dark shadow d-none\" id=\"webview\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\r\n class=\"bi bi-globe\" viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4a9.267 9.267 0 0 1 .64-1.539 6.7 6.7 0 0 1 .597-.933A7.025 7.025 0 0 0 2.255 4H4.09zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a6.958 6.958 0 0 0-.656 2.5h2.49zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5H4.847zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5H4.51zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5zM5.145 12c.138.386.295.744.468 1.068.552 1.035 1.218 1.65 1.887 1.855V12H5.145zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11a13.652 13.652 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5H3.82zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855.173-.324.33-.682.468-1.068H8.5zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5a6.959 6.959 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5h2.49zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4a7.966 7.966 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4h2.355z\" />\r\n </svg>\r\n </button>\r\n <button class=\"btn btn-dark shadow\" id=\"checkUser\" onclick=\"DtStartCheckUser.execute()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\r\n class=\"bi bi-calendar2-day\" viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M4.684 12.523v-2.3h2.261v-.61H4.684V7.801h2.464v-.61H4v5.332h.684zm3.296 0h.676V9.98c0-.554.227-1.007.953-1.007.125 0 .258.004.329.015v-.613a1.806 1.806 0 0 0-.254-.02c-.582 0-.891.32-1.012.567h-.02v-.504H7.98v4.105zm2.805-5.093c0 .238.192.425.43.425a.428.428 0 1 0 0-.855.426.426 0 0 0-.43.43zm.094 5.093h.672V8.418h-.672v4.105z\" />\r\n <path\r\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\" />\r\n <path 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-.5V4z\" />\r\n </svg>\r\n </button>\r\n <button class=\"btn btn-dark shadow\" data-bs-target=\"#speedTestModal\" data-bs-toggle=\"modal\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\r\n class=\"bi bi-speedometer\" viewBox=\"0 0 16 16\">\r\n <path\r\n d=\"M8 2a.5.5 0 0 1 .5.5V4a.5.5 0 0 1-1 0V2.5A.5.5 0 0 1 8 2zM3.732 3.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 8a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 7.31A.91.91 0 1 0 8.85 8.569l3.434-4.297a.389.389 0 0 0-.029-.518z\" />\r\n <path fill-rule=\"evenodd\"\r\n d=\"M6.664 15.889A8 8 0 1 1 9.336.11a8 8 0 0 1-2.672 15.78zm-4.665-4.283A11.945 11.945 0 0 1 8 10c2.186 0 4.236.585 6.001 1.606a7 7 0 1 0-12.002 0z\" />\r\n </svg>\r\n </button>\r\n <button class=\"btn btn-dark shadow\" onclick=\"DtIgnoreBatteryOptimizations.execute()\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\r\n class=\"bi bi-battery-full\" viewBox=\"0 0 16 16\">\r\n <path d=\"M2 6h10v4H2V6z\" />\r\n <path\r\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\" />\r\n </svg>\r\n </button>\r\n </div>\r\n </div>\r\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\">\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal fade\" id=\"checkUserModal\">\r\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\r\n <div class=\"modal-content rounded-3 shadow\">\r\n <div class=\"modal-header border-bottom-0 pb-0\">\r\n <h1 class=\"modal-title fs-5 chk-title text-light\"></h1>\r\n <button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\"\r\n aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"modal-body text-center\">\r\n <p class=\"fs-5 mb-0 chk-message text-light\"></p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal fade\" id=\"errorModal\">\r\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\r\n <div class=\"modal-content rounded-3 shadow\">\r\n <div class=\"modal-header border-bottom-0 pb-0\">\r\n <h1 class=\"modal-title fs-5 err-title text-light\"></h1>\r\n <button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\"\r\n aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"modal-body text-center\">\r\n <p class=\"fs-5 mb-0 err-message text-light\"></p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal fade\" id=\"loggerModal\">\r\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\r\n <div class=\"modal-content rounded-3 shadow\">\r\n <div class=\"modal-body p-1 text-center\">\r\n <ul class=\"list-group bg-transparent overflow-y-auto logger-content\" style=\"max-height: 600px;\">\r\n </ul>\r\n </div>\r\n <div class=\"modal-footer flex-nowrap p-0\">\r\n <button type=\"button\" class=\"btn btn-lg btn-dark text-light w-100 clear-logger\">LIMPAR</button>\r\n <button type=\"button\" class=\"btn btn-lg btn-dark text-light w-100\"\r\n data-bs-dismiss=\"modal\">FECHAR</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal fade\" id=\"configModal\">\r\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\r\n <div class=\"modal-content rounded-3 shadow\">\r\n <div class=\"modal-header border-bottom-0 pb-0\">\r\n <h1 class=\"modal-title fs-5 text-white\">CONFIGURAÇÕES</h1>\r\n <button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\"\r\n aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"modal-body p-1 text-center\">\r\n <ul class=\"list-group bg-transparent overflow-y-auto config-body\" style=\"max-height: 600px;\">\r\n <li class=\"list-group-item bg-transparent text-white border-0\">\r\n <p>CATEGORIA</p>\r\n <ul class=\"list-group bg-transparent overflow-y-auto text-start\">\r\n <li\r\n class=\"list-group-item d-flex bg-transparent text-white border-0 border-bottom rounded-0\">\r\n <img src=\"https://cdn-icons-png.flaticon.com/512/3686/3686811.png\" width=\"40\"\r\n height=\"40\">\r\n <div class=\"d-flex flex-column ms-2 w-100\">\r\n <span>CONFIG 01</span>\r\n <span>DESC 01</span>\r\n </div>\r\n <div class=\"d-flex flex-column ms-2 w-100\">\r\n <span class=\"text-end\">CONFIG_MODE</span>\r\n </div>\r\n </li>\r\n </ul>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal fade\" id=\"speedTestModal\">\r\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\r\n <div class=\"modal-content rounded-3 shadow\">\r\n <div class=\"modal-header border-bottom-0 py-3\">\r\n <button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\"\r\n aria-label=\"Close\"></button>\r\n </div>\r\n <div class=\"modal-body ratio rounded-bottom-3\" style=\"height: 600px;\">\r\n <div class=\"spinner d-flex w-100 h-100 align-items-center justify-content-center\">\r\n <div class=\"spinner-border text-light p-5\" role=\"status\">\r\n <span class=\"visually-hidden\">Loading...</span>\r\n </div>\r\n </div>\r\n <iframe class=\"rounded-bottom-3\" id=\"speedFrame\"></iframe>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/npm/toastify-js\"></script>\r\n <script>\r\n const configArea = document.querySelector('#config-area')\r\n const config = document.querySelector('#config')\r\n const username = document.querySelector('#username')\r\n const password = document.querySelector('#password')\r\n const logger = document.querySelector('#logger')\r\n\r\n const startStopVpn = document.querySelector('#start-stop')\r\n const stateStatus = document.querySelector('#state')\r\n\r\n const loggerModal = new bootstrap.Modal(document.querySelector('#loggerModal'))\r\n const checkUserModal = new bootstrap.Modal(document.querySelector('#checkUserModal'))\r\n const errorModal = new bootstrap.Modal(document.querySelector('#errorModal'))\r\n const configModal = new bootstrap.Modal(document.querySelector('#configModal'))\r\n\r\n const clearLogger = document.querySelector('.clear-logger')\r\n\r\n const speedTestModal = new bootstrap.Modal(document.querySelector('#speedTestModal'))\r\n\r\n configArea.addEventListener('click', e => showConfigsModal())\r\n username.addEventListener('input', e => DtUsername.set(e.target.value))\r\n password.addEventListener('input', e => DtPassword.set(e.target.value))\r\n\r\n logger.addEventListener('click', e => loggerModal.show())\r\n\r\n startStopVpn.addEventListener('click', (e) => {\r\n if (DtGetVpnState.execute() != 'DISCONNECTED') {\r\n DtExecuteVpnStop.execute()\r\n } else {\r\n DtExecuteVpnStart.execute()\r\n }\r\n })\r\n clearLogger.addEventListener('click', () => DtClearLogs.execute())\r\n\r\n speedTestModal._element.addEventListener('shown.bs.modal', () => {\r\n const iframe = document.querySelector('#speedFrame');\r\n if (!iframe.src) {\r\n iframe.src = 'https://fast.com/pt/'\r\n iframe.addEventListener('load', () => {\r\n mp3Modal._element.querySelector('.spinner').classList.add('d-none')\r\n })\r\n }\r\n })\r\n speedTestModal._element.addEventListener('hide.bs.modal', () => {\r\n const iframe = document.querySelector('#speedFrame');\r\n iframe.src = '';\r\n })\r\n\r\n Object.defineProperty(String.prototype, 't', {\r\n value: function t() {\r\n return window?.DtTranslateText?.execute('' + this) ?? '' + this\r\n },\r\n writable: true,\r\n configurable: true,\r\n })\r\n\r\n const dtConfigClickListener = () => {\r\n const data = JSON.parse(window?.DtGetDefaultConfig?.execute() || `{ \"auth\": {} }`)\r\n\r\n config.placeholder = data.name ?? 'LBL_CHOOSE_CONFIG'.t()\r\n username.parentElement.style.display = !data.auth.username ? 'flex' : 'none';\r\n password.parentElement.style.display = !data.auth.password ? 'flex' : 'none';\r\n }\r\n\r\n const dtVpnStateListener = state => {\r\n const isRunning = state != 'DISCONNECTED';\r\n\r\n stateStatus.innerHTML = ('LBL_STATE_' + state).t()\r\n startStopVpn.innerHTML = isRunning ? 'LBL_BTN_STOP'.t() : 'LBL_BTN_START'.t()\r\n\r\n if (isRunning) {\r\n username.setAttribute('readonly', 'true')\r\n password.setAttribute('readonly', 'true')\r\n } else {\r\n username.removeAttribute('readonly')\r\n password.removeAttribute('readonly')\r\n }\r\n\r\n if (state == 'CONNECTING') dtShowSuccessToastListener('Conectado...')\r\n\r\n }\r\n\r\n const dtCheckUserStartedListener = () => {\r\n const html = `\r\n <div class=\"d-flex justify-content-center\">\r\n <div class=\"spinner-border p-5\" role=\"status\">\r\n <span class=\"visually-hidden\">Loading...</span>\r\n </div>\r\n </div>\r\n `\r\n\r\n checkUserModal._element.querySelector('.chk-title').textContent = 'CHECK USER'\r\n checkUserModal._element.querySelector('.chk-message').innerHTML = html;\r\n checkUserModal.show()\r\n }\r\n\r\n const dtCheckUserModelListener = model => {\r\n const data = JSON.parse(model ?? `{\"username\": \"test\"}`)\r\n const html = `\r\n <div class=\"d-flex flex-column text-white\">\r\n <span>👤Nome de usuario: ${data.username}</span>\r\n <span>📆Expira em: ${data.expiration_date}</span>\r\n <span>📆Dias restantes: ${data.expiration_days}</span>\r\n <span>🚫Conexoes: ${data.count_connections}|${data.limit_connections}</span>\r\n </div>\r\n `\r\n\r\n checkUserModal._element.querySelector('.chk-title').textContent = '📆 Olá, ' + data.username.toUpperCase() + '👤'\r\n checkUserModal._element.querySelector('.chk-message').innerHTML = html;\r\n checkUserModal.show()\r\n }\r\n\r\n const dtMessageErrorListener = message => {\r\n const data = JSON.parse(message)\r\n errorModal._element.querySelector('.err-title').textContent = data.title;\r\n errorModal._element.querySelector('.err-message').innerHTML = data.content;\r\n errorModal.show()\r\n }\r\n\r\n const dtOnNewLogListener = () => {\r\n const mock = [];\r\n for (let i = 0; i < 30; i++) {\r\n mock.push({ 'TIME': 'MESSAGE ' + i })\r\n }\r\n\r\n const log = window?.DtGetLogs?.execute() || JSON.stringify(mock)\r\n const data = JSON.parse(log)\r\n\r\n let content = '';\r\n data.forEach(item => {\r\n content += '<li class=\"list-group-item fs-6 bg-transparent text-white p-0 border-0 text-start ms-2 text-wrap\">';\r\n content += Object.keys(item)[0] + \" \" + item[Object.keys(item)]\r\n content += '</li>';\r\n })\r\n\r\n loggerModal._element.querySelector('.logger-content').innerHTML = content;\r\n const listGroup = loggerModal._element.querySelector('.list-group')\r\n listGroup.scrollTo(0, listGroup.scrollHeight)\r\n }\r\n\r\n const dtVpnStartedSuccessListener = () => dtShowSuccessToastListener('Conectado com sucesso')\r\n\r\n const dtVpnStoppedSuccessListener = () => dtShowSuccessToastListener('Desconectado com sucesso')\r\n\r\n const dtShowSuccessToastListener = text => {\r\n Toastify({\r\n text: text,\r\n close: true,\r\n style: {\r\n background: 'linear-gradient(to right, #00b09b, #96c93d)',\r\n marginTop: '35px',\r\n }\r\n }).showToast()\r\n }\r\n\r\n const dtShowErrorToastListener = text => {\r\n Toastify({\r\n text: text,\r\n close: true,\r\n style: {\r\n background: 'linear-gradient(to right, #ff5c33, #e69900)',\r\n marginTop: '35px',\r\n }\r\n }).showToast()\r\n }\r\n\r\n const showConfigsModal = () => {\r\n const mock = '[{\"sorter\":6,\"color\":\"#6D08041C\",\"name\":\"CONFIG\",\"id\":1393,\"items\":[{\"mode\":\"SSH_PROXY\",\"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\"}]}]'\r\n const data = JSON.parse(window?.DtGetConfigs?.execute() || mock)\r\n\r\n data.sort((a, b) => a.sorter - b.sorter)\r\n data.forEach(item => item.items.sort((a, b) => a.sorter - b.sorter))\r\n\r\n const body = configModal._element.querySelector('.config-body')\r\n body.innerHTML = ''\r\n\r\n data.forEach(category => {\r\n const categoryElement = document.createElement('li')\r\n categoryElement.classList.add('list-group-item', 'bg-transparent', 'text-white', 'border-0', 'mb-1', 'rounded-1', 'px-1')\r\n categoryElement.innerHTML = `<span class=\"fw-bold btn-dark w-100 d-block p-1 rounded-1 mb-1\">${category.name}</span>`\r\n\r\n const configUlElement = document.createElement('ul')\r\n configUlElement.classList.add('list-group', 'bg-transparent', 'overflow-y-auto')\r\n\r\n category.items.forEach(item => {\r\n const configElement = document.createElement('li')\r\n configElement.classList.add('list-group-item', 'd-flex', 'btn-dark', 'text-white', 'border-0', 'rounded-2', 'px-1', 'py-2', 'mb-1')\r\n configElement.innerHTML = `\r\n <img src=\"${item.icon}\" width=\"40\" height=\"40\">\r\n <div class=\"text-start d-flex flex-column ms-2 w-100 text-truncate\">\r\n <span class=\"fw-bold\" style=\"font-size: 0.8rem;\">${item.name}</span>\r\n <span class=\"fst-italic fw-bold\" style=\"font-size: 0.7rem;\">${item.description || ''}</span>\r\n </div>\r\n <div class=\"d-flex flex-column ms-2\">\r\n <span class=\"fst-italic fw-bold text-end\" style=\"font-size: 0.8rem;\">${item.mode}</span>\r\n </div>\r\n </li>\r\n `\r\n configElement.addEventListener('click', e => {\r\n window?.DtSetConfig?.execute(item.id)\r\n configModal.hide()\r\n })\r\n configUlElement.appendChild(configElement)\r\n })\r\n\r\n categoryElement.appendChild(configUlElement)\r\n body.appendChild(categoryElement)\r\n })\r\n\r\n configModal.show()\r\n }\r\n\r\n username.value = window?.DtUsername?.get() ?? ''\r\n password.value = window?.DtPassword?.get() ?? ''\r\n\r\n username.placeholder = 'LBL_USERNAME'.t()\r\n password.placeholder = 'LBL_PASSWORD'.t()\r\n\r\n dtOnNewLogListener()\r\n dtVpnStateListener(window?.DtGetVpnState?.execute() ?? 'DISCONNECTED')\r\n dtConfigClickListener()\r\n </script>\r\n</body>\r\n\r\n</html>",
  345. "type": "HTML",
  346. "status": "ACTIVE",
  347. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  348. },
  349. {
  350. "id": 3823,
  351. "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
  352. "name": "APP_SUPPORT_BUTTON",
  353. "value": "",
  354. "type": "HTML",
  355. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  356. },
  357. {
  358. "id": 3824,
  359. "label": "PAGINA WEBVIEW (POR SUA CONTA E RISCO)",
  360. "name": "APP_WEB_VIEW",
  361. "type": "HTML",
  362. "value": "",
  363. "user_id": "R3X0FCAV-EKRY-ANWR-QVGN-J4NDQZYABT5U"
  364. }
  365. ]

comments powered by Disqus