@mooncompany/uplink-chat 0.5.2 → 0.32.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/LICENSE +14 -1
  2. package/README.md +105 -3
  3. package/bin/uplink.js +3 -0
  4. package/middleware/error-handler.js +1 -0
  5. package/package.json +89 -5
  6. package/public/css/agents.1fd7567a.css +1499 -0
  7. package/public/css/app.bc7e7484.css +2819 -0
  8. package/public/css/artifacts.css +488 -0
  9. package/public/css/commands.css +77 -0
  10. package/public/css/connection.css +131 -0
  11. package/public/css/cron-panel.css +364 -0
  12. package/public/css/dashboard.css +233 -0
  13. package/public/css/developer.css +342 -0
  14. package/public/css/files.css +123 -0
  15. package/public/css/markdown.css +156 -0
  16. package/public/css/message-actions.css +285 -0
  17. package/public/css/mobile.css +614 -0
  18. package/public/css/panels-unified.css +485 -0
  19. package/public/css/premium.css +415 -0
  20. package/public/css/realtime.css +189 -0
  21. package/public/css/satellites.7fa72088.css +632 -0
  22. package/public/css/settings-redesign.css +1322 -0
  23. package/public/css/shortcuts.css +185 -0
  24. package/public/css/split-view.4bc23474.css +858 -0
  25. package/public/css/themes.css +387 -0
  26. package/public/css/timestamps.css +54 -0
  27. package/public/css/variables.css +81 -0
  28. package/public/dist/bundle.493af136.js +1 -0
  29. package/public/favicon-256.png +0 -0
  30. package/public/icon-192.png +0 -0
  31. package/public/icon-512.png +0 -0
  32. package/public/img/icons/icon-alert-triangle.svg +17 -0
  33. package/public/img/icons/icon-brain.svg +20 -0
  34. package/public/img/icons/icon-brand-python.svg +19 -0
  35. package/public/img/icons/icon-camera.svg +16 -0
  36. package/public/img/icons/icon-chart-bar.svg +18 -0
  37. package/public/img/icons/icon-check.svg +15 -0
  38. package/public/img/icons/icon-circle-check.svg +16 -0
  39. package/public/img/icons/icon-clipboard.svg +16 -0
  40. package/public/img/icons/icon-cloud.svg +15 -0
  41. package/public/img/icons/icon-confetti.svg +24 -0
  42. package/public/img/icons/icon-device-mobile.svg +17 -0
  43. package/public/img/icons/icon-diamond.svg +16 -0
  44. package/public/img/icons/icon-file-text.svg +19 -0
  45. package/public/img/icons/icon-file-type-css.svg +19 -0
  46. package/public/img/icons/icon-file-type-csv.svg +19 -0
  47. package/public/img/icons/icon-file-type-doc.svg +19 -0
  48. package/public/img/icons/icon-file-type-html.svg +23 -0
  49. package/public/img/icons/icon-file-type-js.svg +18 -0
  50. package/public/img/icons/icon-file-type-pdf.svg +20 -0
  51. package/public/img/icons/icon-file-zip.svg +22 -0
  52. package/public/img/icons/icon-file.svg +16 -0
  53. package/public/img/icons/icon-folder.svg +15 -0
  54. package/public/img/icons/icon-headphones.svg +17 -0
  55. package/public/img/icons/icon-hourglass.svg +18 -0
  56. package/public/img/icons/icon-keyboard.svg +22 -0
  57. package/public/img/icons/icon-link.svg +17 -0
  58. package/public/img/icons/icon-lock-open.svg +17 -0
  59. package/public/img/icons/icon-lock.svg +17 -0
  60. package/public/img/icons/icon-mail.svg +16 -0
  61. package/public/img/icons/icon-message-dots.svg +18 -0
  62. package/public/img/icons/icon-microphone-2.svg +16 -0
  63. package/public/img/icons/icon-microphone.svg +18 -0
  64. package/public/img/icons/icon-movie.svg +22 -0
  65. package/public/img/icons/icon-music.svg +18 -0
  66. package/public/img/icons/icon-palette.svg +18 -0
  67. package/public/img/icons/icon-paperclip.svg +15 -0
  68. package/public/img/icons/icon-pencil.svg +16 -0
  69. package/public/img/icons/icon-photo.svg +18 -0
  70. package/public/img/icons/icon-presentation.svg +19 -0
  71. package/public/img/icons/icon-robot.svg +23 -0
  72. package/public/img/icons/icon-rocket.svg +17 -0
  73. package/public/img/icons/icon-satellite.svg +20 -0
  74. package/public/img/icons/icon-settings.svg +16 -0
  75. package/public/img/icons/icon-shield-lock.svg +17 -0
  76. package/public/img/icons/icon-sparkles.svg +15 -0
  77. package/public/img/icons/icon-star-filled.svg +11 -0
  78. package/public/img/icons/icon-tool.svg +15 -0
  79. package/public/img/icons/icon-trash.svg +19 -0
  80. package/public/img/icons/icon-volume.svg +17 -0
  81. package/public/img/icons/icon-world.svg +19 -0
  82. package/public/img/icons/icon-x.svg +16 -0
  83. package/public/img/logo.svg +13 -0
  84. package/public/img/wordmark.svg +35 -0
  85. package/public/index.html +1195 -0
  86. package/public/js/agents-data.js +1 -0
  87. package/public/js/agents-ui.js +1 -0
  88. package/public/js/agents.js +1 -0
  89. package/public/js/app.js +1 -0
  90. package/public/js/appearance-settings.js +1 -0
  91. package/public/js/artifacts.js +1 -0
  92. package/public/js/audio-pcm-processor.js +1 -0
  93. package/public/js/audio-queue.js +1 -0
  94. package/public/js/bootstrap.js +1 -0
  95. package/public/js/chat.js +1 -0
  96. package/public/js/commands.js +1 -0
  97. package/public/js/connection-api.js +1 -0
  98. package/public/js/connection.js +1 -0
  99. package/public/js/context-tracker.js +1 -0
  100. package/public/js/core.js +1 -0
  101. package/public/js/cron-panel.js +1 -0
  102. package/public/js/dashboard.js +1 -0
  103. package/public/js/developer.js +1 -0
  104. package/public/js/encryption.js +1 -0
  105. package/public/js/errors.js +1 -0
  106. package/public/js/event-bus.js +1 -0
  107. package/public/js/fetch-utils.js +1 -0
  108. package/public/js/file-handler.js +1 -0
  109. package/public/js/files.js +1 -0
  110. package/public/js/gateway-chat.js +1 -0
  111. package/public/js/logger.js +1 -0
  112. package/public/js/markdown.js +1 -0
  113. package/public/js/message-actions.js +1 -0
  114. package/public/js/message-renderer.js +1 -0
  115. package/public/js/missed-messages.js +1 -0
  116. package/public/js/mobile-debug.js +1 -0
  117. package/public/js/notifications.js +1 -0
  118. package/public/js/offline-queue.js +1 -0
  119. package/public/js/onboarding.js +1 -0
  120. package/public/js/panels.js +1 -0
  121. package/public/js/premium.js +1 -0
  122. package/public/js/primary-header.js +1 -0
  123. package/public/js/realtime-voice.js +1 -0
  124. package/public/js/satellite-sync.js +1 -0
  125. package/public/js/satellite-ui.js +1 -0
  126. package/public/js/satellites.js +1 -0
  127. package/public/js/settings.js +1 -0
  128. package/public/js/shortcuts.js +1 -0
  129. package/public/js/split-chat.js +1 -0
  130. package/public/js/split-resize.js +1 -0
  131. package/public/js/splitview.js +1 -0
  132. package/public/js/storage.js +1 -0
  133. package/public/js/streaming-handler.js +1 -0
  134. package/public/js/stt-settings.js +1 -0
  135. package/public/js/themes.js +1 -0
  136. package/public/js/timestamps.js +1 -0
  137. package/public/js/tts-settings.js +1 -0
  138. package/public/js/ui.js +1 -0
  139. package/public/js/update-notifier.js +1 -0
  140. package/public/js/utils/constants.js +1 -0
  141. package/public/js/utils/icons.js +1 -0
  142. package/public/js/utils/sanitize.js +1 -0
  143. package/public/js/utils/sse-parser.js +1 -0
  144. package/public/js/vad.js +1 -0
  145. package/public/js/vendor/dompurify.min.js +2 -0
  146. package/public/js/voice-settings-v2.js +1 -0
  147. package/public/js/voice.js +1 -0
  148. package/public/manifest.json +66 -0
  149. package/public/moon_texture.jpg +0 -0
  150. package/public/sw.js +1 -0
  151. package/public/three.min.js +6 -0
  152. package/public/u-icon.png +0 -0
  153. package/server/channel.js +1 -0
  154. package/server/chat.js +1 -0
  155. package/server/config-store.js +1 -0
  156. package/server/config.js +1 -0
  157. package/server/context.js +1 -0
  158. package/server/gateway-api-proxy.js +1 -0
  159. package/server/gateway-commands.js +1 -0
  160. package/server/gateway-proxy.js +1 -0
  161. package/server/index.js +1 -0
  162. package/server/logger.js +1 -0
  163. package/server/message-store.js +1 -0
  164. package/server/middleware/auth.js +1 -0
  165. package/server/middleware.js +1 -0
  166. package/server/openclaw-discover.js +1 -0
  167. package/server/premium/index.js +1 -0
  168. package/server/premium/license.js +1 -0
  169. package/server/realtime/bridge.js +1 -0
  170. package/server/realtime/index.js +1 -0
  171. package/server/realtime/tts-stream.js +1 -0
  172. package/server/routes/agents.js +1 -0
  173. package/server/routes/artifacts.js +1 -0
  174. package/server/routes/chat.js +1 -0
  175. package/server/routes/config-settings.js +1 -0
  176. package/server/routes/config.js +1 -0
  177. package/server/routes/cron.js +1 -0
  178. package/server/routes/files.js +1 -0
  179. package/server/routes/index.js +1 -0
  180. package/server/routes/media.js +1 -0
  181. package/server/routes/missed-messages.js +1 -0
  182. package/server/routes/premium.js +1 -0
  183. package/server/routes/push.js +1 -0
  184. package/server/routes/satellite.js +1 -0
  185. package/server/routes/status.js +1 -0
  186. package/server/routes/stt.js +1 -0
  187. package/server/routes/voice.js +1 -0
  188. package/server/routes/webhooks.js +1 -0
  189. package/server/routes.js +1 -0
  190. package/server/runtime-config.js +1 -0
  191. package/server/share.js +1 -0
  192. package/server/stt/faster-whisper.js +1 -0
  193. package/server/stt/groq.js +1 -0
  194. package/server/stt/index.js +1 -0
  195. package/server/stt/openai.js +1 -0
  196. package/server/sync.js +1 -0
  197. package/server/tailscale-https.js +1 -0
  198. package/server/tts.js +1 -0
  199. package/server/update-checker.js +1 -0
  200. package/server/utils/filename.js +1 -0
  201. package/server/utils.js +1 -0
  202. package/server/watchdog.js +3 -0
  203. package/server/websocket/broadcast.js +1 -0
  204. package/server/websocket/connections.js +1 -0
  205. package/server/websocket/index.js +1 -0
  206. package/server/websocket/routing.js +1 -0
  207. package/server/websocket/sync.js +1 -0
  208. package/server.js +1 -0
  209. package/utils/detect-tool-usage.js +1 -0
  210. package/utils/errors.js +1 -0
  211. package/utils/html-escape.js +1 -0
  212. package/utils/id-sanitize.js +1 -0
  213. package/utils/response.js +1 -0
  214. package/utils/with-retry.js +1 -0
  215. package/index.js +0 -2
@@ -0,0 +1 @@
1
+ (function(_0x457b74,_0x2521e6){function _0x7fe298(_0x1e43cf,_0x80e086){return _0x587c(_0x1e43cf-0x13a,_0x80e086);}function _0x153d7d(_0x19d62b,_0x39c8d8){return _0x587c(_0x19d62b- -0x338,_0x39c8d8);}const _0x535256=_0x457b74();while(!![]){try{const _0x51950c=-parseInt(_0x153d7d(-0x5b,-0xd0))/(0x1792+-0x165b+0xa*-0x1f)+parseInt(_0x153d7d(-0xa7,0x57))/(0x156+-0x700+0x16*0x42)*(-parseInt(_0x153d7d(-0x150,-0x119))/(-0x1a59+0xaa*-0x14+-0xac*-0x3b))+-parseInt(_0x7fe298(0x283,0x39c))/(-0x1dc+-0x1f*0xd+0x373*0x1)*(-parseInt(_0x7fe298(0x4a6,0x5ba))/(-0x6d7*0x1+-0x27*-0x1e+0x24a))+parseInt(_0x7fe298(0x4d4,0x568))/(0x65+-0x6c1+-0x331*-0x2)*(parseInt(_0x153d7d(-0x1dd,-0xf2))/(0x1*0xcc1+0x94d*0x2+-0x1f54))+parseInt(_0x153d7d(-0x107,-0x24b))/(0x1*-0xa84+0x2c1*-0x8+0x1a1*0x14)*(parseInt(_0x7fe298(0x2e6,0x329))/(0x1709+-0x1*0x1d39+0x639))+-parseInt(_0x7fe298(0x40b,0x43a))/(0x11*0x83+-0x1*-0x1c12+-0x24bb)+parseInt(_0x153d7d(-0xb7,-0x1f3))/(0x1f5e+-0x93*0x28+0x45*-0x1f);if(_0x51950c===_0x2521e6)break;else _0x535256['push'](_0x535256['shift']());}catch(_0x22c55a){_0x535256['push'](_0x535256['shift']());}}}(_0x2fd8,-0x1*0xdbac3+-0x67*0x3f21+-0x14*-0x29d13));const _0x2f7c38=(function(){function _0x4fe0e0(_0x2cf576,_0x3641ee){return _0x587c(_0x2cf576- -0xca,_0x3641ee);}const _0x2e0880={'sWxFC':function(_0x5d7c7c,_0x4aa56f){return _0x5d7c7c===_0x4aa56f;},'mchQL':'HGpES','wnYgK':function(_0x1fcd8b,_0x254924){return _0x1fcd8b===_0x254924;},'TYzGC':_0x4fe0e0(0x1e8,0x27b),'MTEhE':function(_0x6e1bfd,_0x4385d4,_0x3f98e4,_0x43777c){return _0x6e1bfd(_0x4385d4,_0x3f98e4,_0x43777c);},'ZJjME':_0x4fe0e0(0x85,0x198)+_0x3dc7fb(0x289,0x339)+_0x4fe0e0(0x2dc,0x3bc)+_0x4fe0e0(0x1f7,0x2b0),'EbrLB':'ZiRuH','vQTAI':_0x4fe0e0(0x2ab,0x193)};function _0x3dc7fb(_0x817f32,_0x47c06d){return _0x587c(_0x47c06d-0xb,_0x817f32);}let _0x2f3059=!![];return function(_0x2041df,_0x15a80f){const _0x191063={'gDBfH':function(_0x3403fe,_0x14de5a,_0x1709a4,_0x47e147){function _0x51ce18(_0x293a62,_0x13173e){return _0x587c(_0x13173e-0x117,_0x293a62);}return _0x2e0880[_0x51ce18(0x3b4,0x2cb)](_0x3403fe,_0x14de5a,_0x1709a4,_0x47e147);},'DmFyY':_0x358d48(0x348,0x2a7),'YcNUt':_0x2e0880['ZJjME']};function _0x358d48(_0x509019,_0x57ba13){return _0x3dc7fb(_0x509019,_0x57ba13-0xa7);}function _0x24a3e6(_0x2c2724,_0x3ad81a){return _0x3dc7fb(_0x3ad81a,_0x2c2724-0x16b);}if(_0x2e0880[_0x24a3e6(0x468,0x412)](_0x2e0880[_0x358d48(0x189,0x2ab)],_0x2e0880['vQTAI']))return _0x738e9f[_0x24a3e6(0x434,0x35d)+'quest'](_0x3ef039,_0x24a3e6(0x479,0x502)+_0x24a3e6(0x31a,0x1fe)+'rray\x20'+_0x24a3e6(0x2f4,0x2bd)+_0x24a3e6(0x494,0x35f));else{const _0x585bc8=_0x2f3059?function(){function _0x3b682a(_0x106b72,_0xab5f16){return _0x358d48(_0xab5f16,_0x106b72- -0x1d5);}function _0x5a51f1(_0x1ab637,_0x5f4e05){return _0x358d48(_0x1ab637,_0x5f4e05- -0x1a);}if(_0x2e0880[_0x5a51f1(0x2ca,0x38a)](_0x2e0880[_0x3b682a(0x8e,0x142)],_0x2e0880[_0x5a51f1(0x124,0x249)])){if(_0x15a80f){if(_0x2e0880[_0x3b682a(0x134,0x1e3)](_0x2e0880[_0x5a51f1(0x233,0x21a)],_0x2e0880[_0x5a51f1(0x2aa,0x21a)])){const _0x5220b7=_0x15a80f[_0x3b682a(0x2a6,0x3a7)](_0x2041df,arguments);return _0x15a80f=null,_0x5220b7;}else return _0xb486a5[_0x5a51f1(0x421,0x356)+_0x3b682a(0x202,0x269)](_0x4e814a,'Too\x20m'+'any\x20m'+'essag'+_0x5a51f1(0x28b,0x354)+_0x5a51f1(0x3a2,0x434)+_0x550861+')');}}else return _0x191063[_0x5a51f1(0x1d6,0x2e8)](_0x5c3229,_0x191063[_0x3b682a(0x1af,0x128)],_0x191063[_0x3b682a(0x13c,0xfa)],_0x7ebb7e['messa'+'ge']),_0x1868e1[_0x5a51f1(0x3ea,0x3e8)+_0x3b682a(0x14a,0x287)+'r'](_0x58a0b9,_0x3b682a(0x256,0x2e6)+'d\x20to\x20'+_0x3b682a(0x205,0xcb)+'hare');}:function(){};return _0x2f3059=![],_0x585bc8;}};}());function _0x32d0ef(_0x4a05e8,_0x49d368){return _0x587c(_0x4a05e8-0x11,_0x49d368);}const _0x2fc43f=_0x2f7c38(this,function(){const _0x5a325f={};function _0x29982e(_0x6ff694,_0x2c5479){return _0x587c(_0x2c5479-0x218,_0x6ff694);}function _0x154253(_0x2f7174,_0x1bc5bd){return _0x587c(_0x2f7174-0x2e1,_0x1bc5bd);}_0x5a325f['SJlIX']=_0x154253(0x4ee,0x5f9)+_0x154253(0x499,0x486)+'+$';const _0x1f9519=_0x5a325f;return _0x2fc43f[_0x154253(0x533,0x61f)+'ing']()[_0x29982e(0x4e2,0x53c)+'h'](_0x1f9519[_0x29982e(0x344,0x3bb)])['toStr'+_0x154253(0x59c,0x5d0)]()[_0x29982e(0x461,0x363)+_0x29982e(0x3a8,0x410)+'r'](_0x2fc43f)[_0x29982e(0x452,0x53c)+'h'](_0x29982e(0x30d,0x425)+_0x29982e(0x505,0x3d0)+'+$');});_0x2fc43f();import{randomUUID}from'crypto';function _0x2fd8(){const _0xd54dad=['rgKxO','sans-','clczi','ound:','n(\x27\x27)','\x20\x20tex','umn;\x20','ktWZT','-deco','iwguR','ument','th,\x20i','reId','subst','83362arxguJ','iv>\x27)','\x20\x20\x20\x20<','ocume','t-siz','\x20\x20.ca','YvFfV','g:\x2040','nitia','6px;\x20','m\x27)\x0a\x20','ized','\x27mess','lace(','n;\x0a\x20\x20','ight-','nown\x20','\x20\x20\x20do','20px;','notFo','or\x20||','extCo','type\x20','top:\x20','v>\x27;\x0a','ame=\x22','heade','parse',')\x20{\x20v','ia\x20<a','\x0a<!DO','\x204px;','emFon','hDDbz','FcQHM','g...<','get','12px;','\x20=\x20da',':\x20100','!==\x20\x27','\x20\x20\x20.t','ing','es\x20(m','now','badRe','ptHaY','div\x20c','or:','borde','ages\x0a','mkdir','e>\x0a</','r\x20=>\x20','\x20\x20<st','r-bot','MOBRM','body','max-w','map(m','JyNak','0\x22>\x0a\x20','Uplin','v>\x0a\x20\x20','1974310bcQjyt','DmFyY','r)\x20{\x0a','eTitl','om-le','.crea',').tex','eader','mentB','Title','rsati','s\x22\x20id','1657174rCXXDC','444;\x20','FItXp',',\x20\x27<b','x;\x0a\x20\x20','(m.te',':\x202em','IWGkq','esc(s','tch(e','data.','\x20\x20\x20.h','idth=','NTYaY','\x20.joi','#0f0f','onten','value','getEl','ml\x20la','ta.ti','sWxFC','66f1;','istan','0px;\x0a','llILs','versa','/\x5cn/g','\x27)\x20+\x20','>\x0a</h','mYwIZ','{\x20\x0a\x20\x20','tml>\x0a','<div\x20','.type','ntent','zpswa','or:\x20#','messa','font-','essag','addin','info','\x20colo','lign:','e:\x20','hiCxH','rMwQw','ng\x20co','join','\x20not\x20','lemen','ng=\x22e','t\x20=\x20s','00px;','ZnmvP','gmKqX','\x20#ef4','/styl','olid\x20','ne;\x20}','.erro','\x20\x27Unk','=\x22mes','t\x20=\x20t','red','\x0a\x20\x20\x20\x20','der-r','BBFQm','s\x27).i','30px;','searc','quest','n\x22>\x0a<','>\x0a\x20\x20<','get\x20s','taine','x-siz','\x20\x20ali','MJFem','radiu','e]\x20Ge','}\x0a\x20\x20\x20','ext-a','=\x22/\x22>','yACtc','}\x0a\x20\x20<','>\x0a<ht','\x20\x20\x20ma','expir','gify','2px\x201','\x22>\x0a\x20\x20','.json','size:','zABoA','UUThS','yAIeN','esAt','QxaNL','ort\x22\x20','\x0a\x20\x20<s','t,\x20\x27S','t;\x0a\x20\x20','nt.cr','areId','eated','tSMzt','Loadi','ar\x20d\x20','{\x0a\x20\x20\x20','ement','olor:','nt.ge','l-sca','serve','CYHsx','y>\x0a\x20\x20','qxZHY','ZZLKU','pple-','min-h','der-t','op:\x201',';\x20mar','File','8;\x20}\x0a','ogo\x20{','v.inn',';\x20}\x0a\x20','tom:\x20','api/s','=\x22sha','viewC',':\x20cen','v\x20cla','ter\x20{','lf:\x20f','tom-r','\x20\x20\x20\x20a','sive','F-8\x22>','m,\x20Bl','1371785WGpSTX','docum','cript',':\x20#63','sage\x20','\x20cent','groun','isArr','MkqGz','WttEa','\x20\x20fet','=\x22log','div>\x0a','Faile','lengt','readF','teEle','1px\x20s','a\x20=>\x20','nzcMt','DOTbm','\x20\x20\x20\x20\x20','\x20=>\x20\x27','gap:\x20','ZZZPa','s:\x204p','er(m\x20','t-ali','head>','then(','tElem','uINUo','\x20{\x20ma','ss=\x22e','\x20a\x20{\x20','\x0a<bod','\x27;\x0a\x20\x20','\x20\x20\x20<d','egoe\x20','or\x22>\x27','on\x20-\x20','\x200.9e','CQfiJ','rgin-','escap','xt)\x20{','1212IiRhcC','gin-b','ax\x20','});\x0a\x20','ff;\x0a\x20','ding-','\x20shar','sSzyV','nNQOk','>Fail','strin','px\x20so','t\x20err','\x20retu','ft-ra','/div>','0;\x20pa','\x20.mes','rHTML','888;\x20','v\x20=\x20d','ding\x20','sages','/:sha','gfuuI','\x20.foo','reTit','n(dat',':\x208px','YluBD','ing:\x20','enter','textC','sJSya','biuZX','pt>\x0a<','t(\x27di','\x20}\x0a\x20\x20','MgNzk','setup','\x22load','ass=\x22','\x20data','ation','bmoiX','k</a>','utf8','apply','if\x20(!','d\x20Con','\x20\x20mar','e\x22\x20id','d\x20=\x20\x27','vh;\x0a\x20','r>\x27);','erHTM','\x20marg','gn-se','\x20div.','-dire',':\x200;\x20','=\x22err','famil','st\x20di','harse','user','\x20=>\x20{','4Vgabye','DDrKd','const','ment.',').inn','des','[Shar','dCZVk','k</di','v\x27);\x0a','write','.filt','\x20docu','r\x20{\x20t','ges\x20{','y:\x20-a','r\x22>\x0a\x20','ulwLA','52199pHAVSF','YcpAr','adius','eight',';\x0a\x20\x20\x20','ding:','rrsId','ById(','66;\x0a\x20','ratio','px;\x0a\x20',');\x20d.','WtEAq','-star','itle\x20','ssage','tent\x20','333;\x0a','\x20\x20con','viewp','\x20<div','=>\x20m.','etEle','{\x20tex','SDRAW','\x27\x20+\x20m','e\x27).t','repla','\x20\x27<di','d\x20to\x20','d(\x27me','or\x27;\x0a','/api/','param','devic','requi','ooter','n())\x0a','\x20\x20\x20.f','TYzGC','cumen','user\x20','gn:\x20c','dius:','d)\x0a\x20\x20','eYZyP','nnerH','\x20\x20pad','idth:','e]\x20Cr',':\x20#88','\x20+\x20es','\x20link','\x20\x20}\x0a\x20','\x2085%;','le\x22>L','tle;\x0a','ction','ng:\x201','er;\x20p','text','ng:\x202','flex;','ter;\x20','amvSI','>\x27\x20+\x20','e1e2e','px;\x20c','.tmp-','c(dat','ent\x20=','rn\x20di','SJlIX','ges\x20a',';\x20pad','\x20\x20\x20.m','.cont','uLWhQ','tamp','yle>\x0a','\x20.the','9PtziHB','\x20+\x20\x27\x22','CfbnW','/scri','t\x20{\x20\x0a','mchQL','Conve','nvers','MTEhE','PXnEA','e.ass','MgHSe',')+)+)','-size','JeMQy','\x27shar','...</','\x20clas','Route','tion\x20','>\x0a\x20\x20\x20','L\x20=\x20\x27','valid','Id(\x27s','=\x20\x27Er','tant','hare/','self:','\x20\x20\x20\x20}','ages\x27','gin:\x20','oIBYc','ours','paddi','ottom','assis','renam','cAZVa','t.get','dding','\x20{\x20bo','urn\x20d','eta\x20n','\x27</di','=\x20doc','xtCon','\x22titl','cSyst','lid\x20#','entBy','apeHt','e/:sh','CTYPE','conte','/body','hareI','ment(','eHtml','hareT','-bott','57ZyIGBZ','d:\x20#1','lay:\x20','=\x22con','ml(te','ing\x22>','Eleme','color','o\x22>🛰️\x20','r:\x20#f','QPbIj','EQchS','fhVot','error','ror\x27;','th:\x207','ructo','EbrLB','order','ckgro','r.jso','share','\x20#636','serif','\x20font','iv\x20cl','und:\x20','r-box','\x20\x20\x20fu','\x20disp','ainer','nt=\x22w','any\x20m','\x20<tit','ch(\x27/','nd;\x0a\x20','lass=','(((.+','found','e-wid','\x2020px','\x20\x20\x20\x20*','oadin','type','</div','in:\x200','s=\x22me','\x27).te','t=\x22UT',';\x20\x0a\x20\x20','tle>\x0a','align','und','2em;\x20',':\x2012p','ed\x20to','GDeeu','ok\x20||','n:\x20no','WPtOp','hare','\x20{\x20\x0a\x20','\x20\x20\x20\x20b','ring','\x20\x20\x20})','e\x20sha','eta\x20c','ared\x20','\x20\x20\x20ba','vZeMv','ntByI','ext;\x0a','text-','13692424yBNtwv','eateE','\x27div\x27','>\x27;\x0a\x20','\x0a\x20\x20<m','a.err','\x2040px','UZufI','\x20auto','red\x20v','YPdgT','kicnJ','creat','IKAQC','nctio','r:\x20#6','\x20back','xt)\x20+','\x20\x27Err','eate\x20','inkMa','sage.','\x20\x20\x20\x20d','nst\x20s','#333;','lign-','6f1;\x20','\x20text','pietL','\x20href','retur','gDBfH','/crea','toStr','le=1.','yId(\x27','\x20has\x20','n\x20esc','wnYgK','BECPD',';\x20ret',':\x20col','TML\x20=','\x20flex','/shar','\x20body','YcNUt','\x20load','=\x22foo','\x20\x20\x20.l','{\x20fon','ter\x22>','times','\x20\x20bor','itle\x27','ile','syste','\x20\x20\x20\x20.','ount','.mess','rErro','le>Sh','\x20\x20Sha','\x20func','inclu','\x200\x2030','UI\x27,\x20','m;\x0a\x20\x20','ent.g','recur','\x20\x20.me','send','x-wid',':\x2020p','tCont','unlin','lex-e','.inne',';\x20col','Share','171798MagJPD','class'];_0x2fd8=function(){return _0xd54dad;};return _0x2fd8();}import _0x3c165a from'fs/promises';import _0x12b772 from'path';import{log}from'./utils.js';function _0x587c(_0x1e6196,_0x286ffd){_0x1e6196=_0x1e6196-(0x1d3e+-0x1*0x485+0x35a*-0x7);const _0x5690ff=_0x2fd8();let _0x23c53e=_0x5690ff[_0x1e6196];return _0x23c53e;}import{escapeHtml,escapeForJS}from'../utils/html-escape.js';import{sanitizeShareId,parseNumericParam}from'../utils/id-sanitize.js';import{sendSuccess,sendError}from'../utils/response.js';import{errors}from'../utils/errors.js';import{strictLimiter}from'./middleware.js';const DEFAULT_EXPIRY_HOURS=-0x1038+0x1de2+-0xd02;function _0x1c4abc(_0x4ae15f,_0x2c3589){return _0x587c(_0x2c3589- -0x289,_0x4ae15f);}const MIN_EXPIRY_HOURS=0x2d*-0x70+-0x32a+0x16db,MAX_EXPIRY_HOURS=0x7*-0x218+0x851*0x1+0x288f,MAX_MESSAGE_TEXT_LENGTH=-0x1*-0x47ec+0x3ab1+-0x5b8d,MAX_MESSAGES_PER_SHARE=-0x3*-0x806+-0x216b+-0xb*-0x107;function sanitizeMessageText(_0x2f2a42){const _0x346d58={'JyNak':function(_0x3560a5,_0xcb3cba){return _0x3560a5(_0xcb3cba);},'amvSI':function(_0x414920,_0x5d3b0c){return _0x414920!==_0x5d3b0c;},'ZZZPa':_0x33b0df(0x1f0,0x1c1)+'g','uLWhQ':function(_0x402905,_0xde2d77){return _0x402905===_0xde2d77;},'PXnEA':_0x5395d(0x584,0x4e0),'zBMaQ':_0x33b0df(-0x41,-0x14f)};if(!_0x2f2a42||_0x346d58[_0x5395d(0x3a0,0x461)](typeof _0x2f2a42,_0x346d58[_0x5395d(0x589,0x4a8)])){if(_0x346d58[_0x5395d(0x3ad,0x414)](_0x346d58[_0x5395d(0x3ba,0x2bb)],_0x346d58['zBMaQ'])){const _0x310bb9=_0x346d58[_0x5395d(0x4d2,0x4d7)](_0x18a04b,_0x40fdfa[_0x33b0df(-0x3e,-0x129)+'ce'](/[^a-zA-Z0-9]/g,'')[_0x5395d(0x495,0x4bf)+_0x5395d(0x42c,0x509)](-0x152+-0x1609+-0x175b*-0x1,-0x9ae+0x43e+-0xea*-0x6));return _0x5395d(0x4b4,0x5cc)+_0x33b0df(0x2c,0x8e)+'\x20html'+_0x33b0df(0x180,0x53)+_0x5395d(0x4f5,0x5a1)+_0x5395d(0x516,0x575)+_0x33b0df(0x172,0x89)+_0x33b0df(0x1d4,0x174)+'\x0a\x20\x20<m'+_0x5395d(0x42f,0x49f)+_0x5395d(0x34b,0x2ce)+_0x33b0df(0x64,0x2e)+_0x5395d(0x56f,0x493)+_0x33b0df(0x81,-0xab)+_0x5395d(0x3db,0x3d7)+_0x5395d(0x4af,0x3fc)+_0x33b0df(-0x46,0x9b)+_0x33b0df(0x18d,0x1c0)+_0x33b0df(0x2d,0x100)+'nt=\x22w'+'idth='+_0x5395d(0x382,0x2a4)+_0x5395d(0x414,0x338)+_0x5395d(0x493,0x48e)+_0x5395d(0x49e,0x418)+_0x33b0df(0x19b,0x85)+_0x5395d(0x458,0x3b8)+_0x33b0df(0x11a,0x6b)+_0x33b0df(0x55,-0xd1)+_0x33b0df(0xba,0x63)+_0x33b0df(0x77,0x17)+_0x33b0df(-0x2,-0xba)+_0x33b0df(0x127,0x259)+_0x33b0df(0x1e0,0x169)+_0x33b0df(0x11b,0x238)+'k</ti'+_0x33b0df(0x66,0x15e)+_0x5395d(0x4cc,0x56c)+_0x33b0df(-0xa,-0x59)+_0x33b0df(0x5d,-0xba)+_0x33b0df(0x20,0x7c)+'x-siz'+_0x33b0df(0x204,0x326)+'borde'+_0x33b0df(0x4f,-0x1e)+_0x33b0df(0x1a5,0x112)+'gin:\x20'+'0;\x20pa'+_0x33b0df(0x1f,-0xdb)+_0x5395d(0x5db,0x4f9)+_0x33b0df(0x17b,0x2af)+'\x20body'+_0x5395d(0x42a,0x4c1)+_0x5395d(0x586,0x67b)+_0x5395d(0x509,0x4a1)+_0x33b0df(-0x70,-0x180)+'y:\x20-a'+_0x5395d(0x55a,0x687)+'syste'+_0x5395d(0x570,0x53c)+_0x33b0df(0x91,0x10c)+_0x5395d(0x3e0,0x3e6)+_0x5395d(0x4b6,0x4ce)+_0x5395d(0x548,0x62e)+_0x5395d(0x597,0x4f3)+_0x5395d(0x478,0x5aa)+_0x33b0df(0xd0,0xac)+'serif'+_0x33b0df(-0x55,0xd3)+_0x5395d(0x431,0x37d)+_0x5395d(0x400,0x470)+_0x5395d(0x407,0x389)+_0x33b0df(0x138,0x189)+'1a;\x20\x0a'+_0x5395d(0x586,0x471)+_0x33b0df(0x154,0x1e1)+_0x33b0df(0x3d,-0xfd)+_0x33b0df(0x1ea,0x13e)+_0x5395d(0x586,0x5d2)+_0x5395d(0x55b,0x4ee)+_0x5395d(0x363,0x251)+_0x5395d(0x4bd,0x5a3)+_0x5395d(0x5d4,0x645)+'\x20\x20\x20\x20\x20'+_0x33b0df(0x19,0x97)+_0x5395d(0x39d,0x49b)+_0x33b0df(0x141,0x1d3)+_0x33b0df(0x14,0x113)+_0x33b0df(0x16b,0x1ed)+_0x5395d(0x3ac,0x485)+_0x5395d(0x40b,0x405)+_0x5395d(0x591,0x489)+_0x5395d(0x47e,0x381)+_0x33b0df(0x43,0x171)+'00px;'+'\x20marg'+_0x33b0df(0x61,0x136)+'\x20auto'+_0x33b0df(0x1aa,0x22c)+_0x5395d(0x4ed,0x452)+'eader'+_0x33b0df(0x71,0x19d)+'\x20\x20\x20\x20\x20'+_0x33b0df(0x7c,-0x63)+_0x33b0df(0x67,0xed)+':\x20cen'+_0x33b0df(-0x1a,0x5b)+_0x33b0df(0x16b,0x37)+_0x5395d(0x38f,0x343)+_0x33b0df(-0x54,0x9a)+_0x5395d(0x415,0x37e)+_0x5395d(0x477,0x494)+_0x5395d(0x36a,0x337)+'\x20\x20\x20\x20\x20'+_0x33b0df(0x10e,0x19c)+_0x33b0df(0x114,0x8f)+_0x33b0df(0x1ab,0xa8)+'1px\x20s'+_0x5395d(0x51d,0x417)+_0x5395d(0x44e,0x3f1)+_0x33b0df(0x16b,0x19b)+_0x5395d(0x5d1,0x6b7)+_0x33b0df(0x1e7,0x255)+'ottom'+_0x5395d(0x47f,0x4a1)+_0x5395d(0x4e6,0x4dd)+_0x5395d(0x395,0x429)+_0x33b0df(0xae,0x84)+'ogo\x20{'+'\x20font'+_0x5395d(0x3be,0x2dd)+_0x33b0df(0x12f,0x199)+_0x33b0df(0x1a5,0x20a)+_0x5395d(0x5a0,0x669)+_0x5395d(0x3d3,0x3e9)+_0x33b0df(0x202,0x131)+_0x5395d(0x563,0x565)+_0x5395d(0x4bf,0x4c4)+'itle\x20'+_0x5395d(0x468,0x406)+_0x33b0df(0xe1,0x174)+'e:\x201.'+_0x5395d(0x422,0x3ae)+_0x33b0df(0x3b,0x10)+':\x20#88'+_0x33b0df(0x1a7,0x281)+_0x33b0df(0xb6,0x92)+_0x5395d(0x508,0x51d)+_0x5395d(0x35c,0x2fd)+_0x33b0df(0x51,-0x1d)+'lay:\x20'+_0x5395d(0x39e,0x4e4)+_0x5395d(0x461,0x35b)+_0x5395d(0x5da,0x575)+'ction'+':\x20col'+_0x5395d(0x48e,0x457)+'gap:\x20'+_0x5395d(0x4bb,0x575)+'\x20}\x0a\x20\x20'+_0x33b0df(0xc3,0x1d0)+'ssage'+_0x5395d(0x42a,0x4f6)+_0x33b0df(0x1cd,0x213)+_0x5395d(0x3d2,0x47f)+_0x5395d(0x39a,0x2af)+_0x33b0df(0x184,0x21b)+_0x33b0df(0xe6,0x70)+_0x33b0df(0x16b,0xdf)+_0x5395d(0x46b,0x3be)+_0x5395d(0x525,0x5b0)+'adius'+_0x33b0df(0x6a,0x99)+'x;\x20\x0a\x20'+_0x33b0df(0x1cd,0x120)+'max-w'+_0x5395d(0x390,0x320)+_0x5395d(0x396,0x495)+_0x33b0df(0x16b,0x2c)+_0x5395d(0x534,0x65b)+_0x33b0df(0x1f7,0x222)+_0x5395d(0x44b,0x3e3)+_0x5395d(0x389,0x4c2)+_0x5395d(0x501,0x5ce)+'\x20\x20\x20\x20b'+'ackgr'+_0x5395d(0x48b,0x3c5)+'\x20#636'+'6f1;\x20'+_0x5395d(0x524,0x496)+_0x5395d(0x530,0x458)+_0x5395d(0x5d8,0x48e)+_0x5395d(0x56b,0x45e)+'lex-e'+'nd;\x0a\x20'+_0x5395d(0x586,0x641)+'borde'+_0x33b0df(0x114,0x96)+_0x33b0df(0x1b3,0xaa)+_0x5395d(0x4a5,0x43f)+(_0x33b0df(0x179,0x11f)+'s:\x204p'+_0x5395d(0x4e6,0x3fa)+_0x33b0df(-0x24,0xfc)+_0x5395d(0x3ab,0x459)+_0x33b0df(0x151,0x1d3)+'e.ass'+_0x5395d(0x4f9,0x406)+_0x5395d(0x3b5,0x351)+_0x33b0df(0x1cd,0xf9)+_0x33b0df(0x8d,0x1a9)+_0x5395d(0x577,0x541)+_0x5395d(0x3ee,0x396)+_0x33b0df(-0x17,-0x74)+_0x33b0df(0x65,0x179)+'\x20\x20\x20\x20a'+'lign-'+_0x5395d(0x3cc,0x4f9)+_0x33b0df(0xa8,0x77)+'-star'+_0x33b0df(0x190,0x28e)+'\x20\x20\x20\x20b'+_0x33b0df(0x46,0xb0)+'-bott'+'om-le'+_0x5395d(0x5ad,0x6c6)+_0x33b0df(-0x2e,0x9f)+'\x204px;'+_0x5395d(0x524,0x47c)+'}\x0a\x20\x20\x20'+_0x5395d(0x5b8,0x519)+'ter\x20{'+'\x0a\x20\x20\x20\x20'+_0x33b0df(0xd4,0x20f)+_0x5395d(0x58c,0x5db)+'gn:\x20c'+_0x33b0df(0x205,0x34e)+_0x5395d(0x364,0x2bd)+_0x33b0df(0x181,0x1af)+_0x33b0df(0x1e3,0x2a7)+'top:\x20'+_0x33b0df(0x16f,0x41)+_0x33b0df(0x16b,0x25d)+_0x33b0df(-0x2a,-0xb4)+_0x5395d(0x5a4,0x5cb)+_0x5395d(0x4ad,0x5c2)+_0x33b0df(0xef,0x10)+'\x0a\x20\x20\x20\x20'+'\x20\x20bor'+_0x33b0df(0x1a3,0x13f)+_0x33b0df(0x1a4,0x17b)+_0x33b0df(0x1f1,0xd2)+_0x5395d(0x3e1,0x343)+_0x5395d(0x371,0x405)+_0x33b0df(0x1cd,0x229)+_0x33b0df(0x154,0x291)+_0x5395d(0x445,0x533)+_0x33b0df(-0x51,0xd0)+_0x33b0df(0x1cd,0x2c5)+_0x33b0df(0x150,0x1d6)+_0x33b0df(0x187,0x2b7)+_0x33b0df(0x1e1,0x150)+_0x33b0df(0xc0,-0x61)+_0x5395d(0x395,0x462)+'\x20\x20\x20.f'+'ooter'+_0x33b0df(0x1da,0xe6)+_0x5395d(0x3f4,0x518)+_0x33b0df(0x1bb,0x224)+'66f1;'+_0x5395d(0x451,0x3fd)+_0x5395d(0x490,0x540)+'ratio'+_0x33b0df(0x6e,0x17d)+_0x5395d(0x51e,0x609)+_0x5395d(0x524,0x5fd)+_0x5395d(0x51f,0x564)+_0x33b0df(-0x5e,-0x13a)+_0x5395d(0x535,0x550)+_0x33b0df(0x155,0x161)+_0x5395d(0x576,0x4e1)+_0x33b0df(-0x1e,0x65)+_0x5395d(0x50b,0x638)+_0x33b0df(0xe4,0x175)+'px;\x20c'+_0x5395d(0x552,0x5c6)+'\x20#ef4'+_0x5395d(0x4e3,0x4b7)+_0x33b0df(0x17b,0xea)+'\x20.loa'+_0x5395d(0x5b4,0x4d3)+_0x5395d(0x377,0x2f3)+'t-ali'+_0x33b0df(-0x2f,-0x134)+_0x33b0df(0x205,0x1a9)+_0x5395d(0x3aa,0x403)+_0x33b0df(-0x54,0x96)+_0x33b0df(0x83,-0x50)+_0x5395d(0x484,0x4ca)+_0x33b0df(0x14e,0x25a)+_0x33b0df(0x1f9,0x1ed)+_0x5395d(0x538,0x52f)+_0x33b0df(0x163,0x22b)+'e>\x0a</'+_0x5395d(0x58d,0x6d4)+_0x33b0df(0x1db,0x141)+_0x5395d(0x557,0x5e8)+_0x33b0df(0x14a,0x242)+_0x33b0df(0xce,0x11f)+_0x33b0df(0x37,0x47)+_0x5395d(0x52e,0x626)+'r\x22>\x0a\x20'+_0x33b0df(0x1dd,0x215)+_0x33b0df(0x4d,0x167)+_0x5395d(0x5c8,0x6f1)+'heade'+_0x5395d(0x35e,0x284)+_0x5395d(0x586,0x668)+_0x33b0df(0x14a,0x2a)+'class'+'=\x22log'+'o\x22>🛰️\x20'+'Uplin'+_0x33b0df(-0x63,0x3f)+'v>\x0a\x20\x20'+_0x33b0df(0xdf,0xca)+_0x5395d(0x4c5,0x3aa)+_0x33b0df(0x58,0x7a)+_0x5395d(0x3df,0x478)+_0x5395d(0x5d2,0x69b)+_0x5395d(0x566,0x4af)+_0x5395d(0x5b9,0x499)+_0x5395d(0x397,0x4ca)+_0x33b0df(0x5e,-0xca)+_0x33b0df(0x100,0x20d)+_0x33b0df(0x1f5,0x222)+_0x33b0df(0x16b,0xa7)+_0x33b0df(0x60,-0xdc)+_0x33b0df(0xc,0x125)+_0x5395d(0x374,0x434)+_0x33b0df(0x9,-0x2e)+_0x33b0df(0x62,0x18a)+_0x33b0df(-0x4a,-0x12f)+_0x33b0df(0x128,0x1ed)+_0x33b0df(0x168,0x218)+_0x33b0df(0x1fc,0x33f)+_0x5395d(0x53e,0x46a)+'\x20\x20\x20\x20<'+'div\x20c'+_0x5395d(0x411,0x432)+_0x33b0df(0x20e,0x14d)+_0x5395d(0x3f2,0x4e2)+_0x5395d(0x54e,0x614)+_0x33b0df(0x159,0x1a3)+_0x5395d(0x3b8,0x3f1)+_0x33b0df(0x211,0x27d)+_0x33b0df(0x8,0x43)+_0x33b0df(0x1c4,0xcf)+'\x20\x20\x20\x20<'+_0x5395d(0x5ae,0x5c1)+_0x5395d(0x524,0x48d)+'<div\x20'+_0x5395d(0x487,0x45c)+_0x5395d(0x466,0x3c7)+_0x5395d(0x469,0x536)+'\x0a\x20\x20\x20\x20'+_0x5395d(0x474,0x3d8)+'red\x20v'+_0x5395d(0x4b3,0x483)+_0x33b0df(0x9a,0x12d)+_0x5395d(0x536,0x5cb)+_0x33b0df(0x11b,0x1a4)+'k</a>'+_0x33b0df(0x16b,0xba)+_0x33b0df(0x60,-0x6)+_0x33b0df(0x173,0x149)+'/div>'+_0x5395d(0x547,0x5b1)+_0x5395d(0x573,0x67c)+_0x33b0df(0xc,-0x30)+_0x33b0df(0xbc,0xc6)+_0x5395d(0x3c4,0x473)+_0x5395d(0x4ea,0x4d4)+_0x5395d(0x4b2,0x5cc)+_0x33b0df(0x196,0x132)+_0x5395d(0x3dd,0x2a5)+_0x33b0df(0xd9,0x156)+_0x5395d(0x4db,0x471)+_0x33b0df(0x1c8,0x27f)+'ment('+_0x5395d(0x438,0x530)+_0x5395d(0x36b,0x2c8)+_0x5395d(0x5bf,0x590)+_0x5395d(0x4f2,0x545)+_0x33b0df(0x15e,0x116)+_0x33b0df(0xa5,-0x81)+_0x33b0df(0x21,0x138)+_0x5395d(0x483,0x468)+_0x5395d(0x5b1,0x48d)+_0x33b0df(0x1aa,0x15e))+('\x20\x20\x20co'+_0x33b0df(0x94,-0xb6)+'hareI'+_0x33b0df(0x21a,0x351))+_0x310bb9+(_0x5395d(0x595,0x62b)+_0x33b0df(0x1c2,0x2eb)+_0x5395d(0x40f,0x369)+_0x5395d(0x565,0x46b)+_0x5395d(0x3cb,0x421)+'\x27\x20+\x20s'+_0x5395d(0x3e8,0x3a0)+_0x33b0df(-0x2d,-0x3c)+_0x33b0df(0xb6,-0x94)+_0x33b0df(0x1d5,0x19d)+_0x5395d(0x4cb,0x441)+_0x33b0df(0x48,0xf4)+_0x5395d(0x385,0x317)+'\x20\x20\x20\x20\x20'+_0x33b0df(-0x9,-0xee)+_0x5395d(0x5ba,0x58b)+_0x5395d(0x583,0x5a3)+'{\x0a\x20\x20\x20'+'\x20\x20\x20\x20\x20'+'if\x20(!'+_0x5395d(0x4ec,0x4b9)+_0x5395d(0x426,0x3b8)+_0x5395d(0x5c9,0x5a5)+_0x5395d(0x51f,0x631)+_0x5395d(0x4d8,0x40f)+_0x5395d(0x586,0x4e8)+'\x20\x20\x20\x20\x20'+_0x33b0df(0x1b9,0x1f3)+_0x33b0df(0xc1,0x11)+_0x33b0df(-0x43,0x6d)+_0x33b0df(0x125,0xe9)+_0x33b0df(0xa0,0x157)+'share'+'Title'+_0x33b0df(0x63,-0x83)+_0x33b0df(0x25,0x1c)+'tent\x20'+_0x33b0df(0x10,0x9b)+_0x5395d(0x3fb,0x495)+_0x33b0df(0x16b,0x26e)+_0x33b0df(0x1cd,0x2a8)+_0x5395d(0x35a,0x2f5)+'ment.'+_0x33b0df(0x13b,0x13)+_0x33b0df(0x198,0x2c1)+_0x5395d(0x367,0x322)+_0x5395d(0x4a2,0x4bf)+_0x33b0df(0x15,0x106)+_0x5395d(0x352,0x49c)+'erHTM'+_0x5395d(0x3c6,0x487)+'<div\x20'+_0x5395d(0x487,0x3fa)+_0x33b0df(-0x71,-0xce)+_0x5395d(0x598,0x508)+'\x20+\x20es'+_0x33b0df(-0x14,-0xd5)+_0x33b0df(0x82,0xbf)+'or\x20||'+_0x5395d(0x520,0x5a7)+_0x5395d(0x4a6,0x564)+_0x33b0df(0x41,0x14e)+_0x5395d(0x4fe,0x3f8)+_0x5395d(0x3dc,0x520)+_0x5395d(0x4ae,0x5be)+_0x5395d(0x586,0x5e9)+'\x20\x20\x20\x20\x20'+'retur'+_0x5395d(0x4a4,0x458)+_0x33b0df(0x1cd,0x300)+_0x33b0df(0x20b,0x1f1)+_0x33b0df(0x1cd,0x224)+_0x33b0df(-0x5f,0xba)+_0x5395d(0x351,0x3df)+_0x33b0df(0x13b,0x190)+_0x33b0df(0x198,0x1e3)+_0x33b0df(-0x52,0x50)+_0x5395d(0x3c0,0x380)+_0x5395d(0x4d9,0x57e)+'e\x27).t'+_0x33b0df(0xf2,0x1e0)+_0x33b0df(0x14c,0x27f)+_0x33b0df(0x103,0x238)+_0x33b0df(0x13d,0x12c)+_0x33b0df(-0x21,-0x52)+_0x33b0df(0x1cd,0x2d0)+_0x5395d(0x4a7,0x50e)+'cumen'+_0x5395d(0x3d7,0x37b)+_0x33b0df(0x3a,0x10a)+_0x5395d(0x433,0x537)+_0x5395d(0x37e,0x3a8)+_0x5395d(0x36f,0x2f1)+_0x5395d(0x527,0x55e)+_0x5395d(0x38e,0x2cf)+'TML\x20='+'\x20data'+_0x5395d(0x471,0x445)+'ages\x0a'+_0x33b0df(0x1cd,0x18e)+'\x20\x20\x20\x20\x20'+_0x33b0df(-0x60,-0x145)+_0x5395d(0x58b,0x66a)+_0x5395d(0x375,0x3a2)+_0x5395d(0x4ac,0x3b1)+_0x33b0df(0x105,0x21a)+_0x33b0df(0xb5,0x1a3)+'m\x27)\x0a\x20'+_0x33b0df(0x1cd,0x293)+'\x20\x20\x20\x20.'+_0x33b0df(0x118,0x43)+_0x5395d(0x587,0x6aa)+_0x5395d(0x503,0x490)+_0x5395d(0x487,0x3d6)+_0x5395d(0x521,0x50f)+_0x5395d(0x575,0x67f)+_0x33b0df(-0x40,-0x7)+'.type'+_0x5395d(0x3b2,0x3b5)+_0x5395d(0x3a1,0x2be)+'escap'+'eHtml'+_0x5395d(0x4e7,0x405)+'xt)\x20+'+'\x20\x27</d'+_0x33b0df(0xde,0x154)+'\x0a\x20\x20\x20\x20'+_0x33b0df(0x1cd,0x155)+_0x5395d(0x4f0,0x61b)+_0x33b0df(0xd3,0x7a)+_0x5395d(0x364,0x344)+_0x5395d(0x42d,0x507)+'\x0a\x20\x20\x20\x20'+_0x5395d(0x49b,0x5c1)+_0x33b0df(0x132,0x228)+_0x33b0df(-0x6c,0xc8)+_0x33b0df(0x16b,0x26d)+_0x33b0df(0x93,0x1da)+_0x33b0df(0xe0,0xe4)+_0x33b0df(0x19a,0x74)+_0x5395d(0x58f,0x642)+'entBy'+_0x5395d(0x3c8,0x38a)+_0x33b0df(0x32,-0x3e)+_0x33b0df(0xb3,0x3)+_0x33b0df(0x123,0xe)+'tCont'+_0x5395d(0x3a6,0x2d2)+_0x5395d(0x448,0x501)+_0x5395d(0x37f,0x435)+_0x5395d(0x586,0x579)+_0x5395d(0x4a7,0x4ff)+'cumen'+_0x33b0df(0x1e,0x9c)+_0x33b0df(0x3a,0x8e)+_0x33b0df(0x7a,0xa1)+'d(\x27me'+_0x33b0df(-0x4a,0x3)+_0x33b0df(0x16e,0x21b)+'nnerH'+_0x33b0df(0xa7,-0x39)+_0x5395d(0x37c,0x3bb)+_0x5395d(0x569,0x510)+_0x5395d(0x592,0x4d9)+'rror\x22'+_0x33b0df(0x1ef,0x302)+_0x5395d(0x424,0x537)+_0x33b0df(0xac,0x1b7)+_0x33b0df(0x60,0x67)+_0x5395d(0x439,0x3b7)+'\x20\x20\x20\x20\x20'+_0x33b0df(0x1e9,0x2c4)+_0x33b0df(0x50,-0x4)+_0x33b0df(0x8b,0xa0)+'n\x20esc'+'apeHt'+'ml(te'+_0x5395d(0x59e,0x67c)+_0x5395d(0x524,0x48b)+_0x33b0df(-0x47,0xb7)+_0x5395d(0x34a,0x33c)+_0x5395d(0x5b3,0x568)+_0x5395d(0x499,0x35d)+_0x33b0df(0x191,0x76)+_0x5395d(0x437,0x509)+_0x33b0df(0x15c,0x1b6)+_0x5395d(0x5c3,0x5d4)+_0x33b0df(-0x62,-0x71)+_0x33b0df(0x1cd,0x1de)+'\x20div.'+'textC'+_0x33b0df(0x139,0x282)+_0x33b0df(0x169,0x13d)+_0x33b0df(0x7b,-0x9c)+_0x33b0df(0x1cd,0x19c)+_0x33b0df(0x1f3,0x1bd)+_0x33b0df(-0x12,0x8f)+_0x5395d(0x562,0x595)+_0x33b0df(0x21d,0x207)+'L.rep'+(_0x33b0df(0xea,0xf0)+_0x33b0df(0x144,0xde)+_0x5395d(0x4e5,0x508)+_0x5395d(0x5d5,0x61f)+_0x33b0df(0x16b,0x188)+_0x5395d(0x538,0x669)+_0x5395d(0x3b4,0x4f0)+_0x33b0df(0x209,0x1a7)+_0x33b0df(0x2e,0xc7)+_0x5395d(0x4ff,0x4b3)+_0x33b0df(0x149,0x283)+'\x20\x20'));}else return'';}let _0x5c3426=_0x2f2a42['subst'+_0x5395d(0x42c,0x4ac)](0x535+-0x135*0x8+0x473,MAX_MESSAGE_TEXT_LENGTH);function _0x33b0df(_0x3526e6,_0x5d740e){return _0x587c(_0x3526e6- -0x1b4,_0x5d740e);}_0x5c3426=_0x5c3426[_0x5395d(0x37b,0x25e)+'ce'](/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/g,'');function _0x5395d(_0x228a2a,_0x5ae2e8){return _0x587c(_0x228a2a-0x205,_0x5ae2e8);}return _0x5c3426;}function sanitizeMessageType(_0x4e25f7){const _0x582c24={};_0x582c24['rrsId']=_0x15a097(0x1cf,0x251),_0x582c24[_0x15a097(0x41e,0x38b)]=_0x271816(-0x45,-0x38)+_0x15a097(0x24d,0x325);function _0x15a097(_0x2bdf97,_0x4a650e){return _0x587c(_0x2bdf97-0x88,_0x4a650e);}_0x582c24[_0x15a097(0x372,0x4ba)]=_0x15a097(0x2f1,0x2e3)+'m';function _0x271816(_0x3fdc0b,_0x2e2ab8){return _0x587c(_0x2e2ab8- -0x207,_0x3fdc0b);}_0x582c24['WtEAq']=function(_0xecfd59,_0x19b633){return _0xecfd59===_0x19b633;},_0x582c24[_0x271816(0x16a,0x1b0)]=_0x15a097(0x42c,0x46a)+'g';const _0x249cea=_0x582c24,_0x440430=[_0x249cea[_0x15a097(0x1e9,0x1e3)],_0x249cea[_0x271816(0x19f,0x18f)],_0x249cea['NTYaY']];if(_0x249cea[_0x15a097(0x1ef,0x2e3)](typeof _0x4e25f7,_0x249cea[_0x15a097(0x43f,0x573)])&&_0x440430[_0x271816(0xc9,0x6a)+'des'](_0x4e25f7))return _0x4e25f7;return _0x249cea['rrsId'];}export function setupShareRoutes(_0x8605fb,_0x45f15f){function _0x7da624(_0x46cada,_0x39d11d){return _0x587c(_0x46cada-0x39d,_0x39d11d);}const _0x7d2e2={'biuZX':'assis'+_0x7da624(0x562,0x5e6),'zABoA':_0x7da624(0x606,0x654)+'m','gmKqX':function(_0x84f4ce,_0x366c62){return _0x84f4ce===_0x366c62;},'nNQOk':_0x7da624(0x4e4,0x46c),'lqCeH':function(_0x3cc6bf,_0x19621f){return _0x3cc6bf===_0x19621f;},'bmoiX':function(_0x23e328,_0x2ddb71){return _0x23e328!==_0x2ddb71;},'clczi':_0x1e1fc4(0x286,0x3bf),'kicnJ':function(_0x45c0bd,_0x59886f,_0x374b3f){return _0x45c0bd(_0x59886f,_0x374b3f);},'fhVot':_0x7da624(0x6d3,0x7df)+'esInH'+_0x1e1fc4(0x1c8,0x83),'aYQuO':function(_0x51e59c,_0x4b2f1b){return _0x51e59c===_0x4b2f1b;},'axbeP':_0x1e1fc4(0x2ff,0x3b2)+_0x7da624(0x541,0x40c)+'rray\x20'+_0x1e1fc4(0x17a,0xc6)+_0x1e1fc4(0x31a,0x324),'mYwIZ':function(_0x2775c9,_0x47e04e){return _0x2775c9>_0x47e04e;},'oIBYc':_0x1e1fc4(0x249,0x364),'IKAQC':function(_0x3313cb){return _0x3313cb();},'ZZLKU':_0x1e1fc4(0x3a0,0x301)+'g','MkqGz':_0x7da624(0x61d,0x5a4)+_0x7da624(0x768,0x879)+_0x1e1fc4(0x2f3,0x39d)+'tion','CYHsx':function(_0xa86460,_0x15d3d4){return _0xa86460*_0x15d3d4;},'Sxoet':function(_0x5c5092,_0x2f9a0c){return _0x5c5092*_0x2f9a0c;},'ahbxW':function(_0x1adb7f){return _0x1adb7f();},'zpswa':function(_0x3f7141,_0xf10b15,_0x3d1d00){return _0x3f7141(_0xf10b15,_0x3d1d00);},'YcpAr':_0x7da624(0x6a4,0x58c),'cAZVa':function(_0x229e35,_0x4ce51e){return _0x229e35!==_0x4ce51e;},'DOTbm':_0x1e1fc4(0x3bc,0x292),'uINUo':function(_0x25d81b,_0x459402,_0x1e1f0b,_0x22838b){return _0x25d81b(_0x459402,_0x1e1f0b,_0x22838b);},'tSMzt':_0x1e1fc4(0x1f1,0x261),'YPdgT':_0x1e1fc4(0x375,0x29d)+_0x7da624(0x515,0x406)+_0x7da624(0x5da,0x64f)+_0x1e1fc4(0x225,0x10a)+'re','qxZHY':function(_0x58ab0c,_0x4d0b3c){return _0x58ab0c!==_0x4d0b3c;},'VKSMZ':function(_0x336178,_0x59dc5d){return _0x336178!==_0x59dc5d;},'FItXp':_0x1e1fc4(0x184,0x102),'VeCDW':function(_0xe45f1a,_0x5e2c82){return _0xe45f1a!==_0x5e2c82;},'UZufI':function(_0x3cabcd,_0x564060){return _0x3cabcd(_0x564060);},'yAIeN':_0x1e1fc4(0x3c4,0x3b3),'ulwLA':function(_0x594d3a,_0x1bb7e9){return _0x594d3a===_0x1bb7e9;},'rMwQw':'mbuFd','CfbnW':_0x7da624(0x6cf,0x5d2),'qTMNz':function(_0x31f3c1,_0xb483f3){return _0x31f3c1===_0xb483f3;},'dCZVk':_0x7da624(0x666,0x725),'QPbIj':_0x1e1fc4(0x3ae,0x362),'UUThS':_0x1e1fc4(0x27c,0x229)+_0x7da624(0x6ac,0x7ae)+_0x7da624(0x5ab,0x47b),'ptHaY':function(_0x483eb8,_0x430b8b){return _0x483eb8===_0x430b8b;},'QKRry':_0x1e1fc4(0x1ef,0xb8),'IWGkq':_0x1e1fc4(0x375,0x37f)+_0x7da624(0x515,0x4c3)+'get\x20s'+_0x7da624(0x5c1,0x4c0),'DDrKd':_0x1e1fc4(0x14b,0xad)+'e]\x20Cr'+'eate\x20'+'error'+':','JeMQy':_0x1e1fc4(0x33c,0x2b1),'FcQHM':_0x1e1fc4(0x2f2,0x417),'zjJET':_0x1e1fc4(0x209,0x10a)+')+)+)'+'+$','ZGOFV':'XzGqo','zgviK':function(_0x417f91,_0x4863d2){return _0x417f91(_0x4863d2);},'YvFfV':'/api/'+_0x1e1fc4(0x1f9,0x2ae)+_0x1e1fc4(0x24d,0x259)+'te','MgHSe':_0x7da624(0x518,0x4ac)+'share'+_0x7da624(0x74e,0x6b4)+'reId'},_0x3501cf={};function _0x1e1fc4(_0x5970d2,_0x2bbd1d){return _0x587c(_0x5970d2- -0x4,_0x2bbd1d);}_0x3501cf[_0x7da624(0x613,0x65c)+_0x1e1fc4(0x365,0x247)]=!![],_0x3c165a[_0x7da624(0x661,0x58e)](_0x45f15f,_0x3501cf)['catch'](()=>{}),_0x8605fb['post'](_0x7d2e2[_0x7da624(0x634,0x63f)],strictLimiter,async(_0x1c3ec5,_0x82a5a5)=>{function _0x43d5d2(_0x15705d,_0x1d6b05){return _0x7da624(_0x15705d- -0x450,_0x1d6b05);}function _0xd41012(_0x2af974,_0xe909f4){return _0x7da624(_0xe909f4- -0x24a,_0x2af974);}const _0x400ddf={'BECPD':_0x7d2e2[_0x43d5d2(0x309,0x2d8)],'sSzyV':_0x7d2e2[_0x43d5d2(0x289,0x152)],'sJSya':function(_0x77f709,_0x2e4691){function _0xece155(_0x1189c1,_0x30bad9){return _0x43d5d2(_0x30bad9-0x9d,_0x1189c1);}return _0x7d2e2[_0xece155(0x3a3,0x2ff)](_0x77f709,_0x2e4691);},'BBFQm':_0x7d2e2[_0xd41012(0x4de,0x4f5)]};if(_0x7d2e2['lqCeH'](_0xd41012(0x52b,0x467),_0xd41012(0x44a,0x47f))){const _0x2f8901=[_0x43d5d2(0x94,0x16c),yxkKis[_0x43d5d2(0x1a5,0x120)],yxkKis[_0xd41012(0x3cf,0x4f4)]];if(yxkKis[_0x43d5d2(0x308,0x2a1)](typeof _0x2aa463,'strin'+'g')&&_0x2f8901[_0xd41012(0x505,0x3c4)+_0x43d5d2(0x9b,0x1b4)](_0x361002))return _0x32a311;return yxkKis[_0x43d5d2(0x26e,0x3b8)];}else try{if(_0x7d2e2[_0xd41012(0x627,0x519)](_0x7d2e2[_0xd41012(0x4bf,0x3d8)],_0x7d2e2[_0xd41012(0x458,0x3d8)]))return _0x2c1ed5['badRe'+'quest'](_0x2be602,_0x2bf65f[_0x43d5d2(0x142,0x41)]);else{const {title:_0x51318b,messages:_0x5b009,expiresInHours:_0x562e5e}=_0x1c3ec5[_0xd41012(0x30c,0x41d)],_0x203a7e=_0x7d2e2[_0xd41012(0x487,0x38f)](parseNumericParam,_0x562e5e,{'min':MIN_EXPIRY_HOURS,'max':MAX_EXPIRY_HOURS,'defaultValue':DEFAULT_EXPIRY_HOURS,'paramName':_0x7d2e2[_0xd41012(0x31b,0x347)]});if(!_0x203a7e['valid'])return errors[_0xd41012(0x4ff,0x411)+_0xd41012(0x3b9,0x478)](_0x82a5a5,_0x203a7e[_0x43d5d2(0x142,0x236)]);const _0x16e445=_0x203a7e[_0x43d5d2(0x23b,0x20e)];if(!_0x5b009||!Array[_0xd41012(0x603,0x4c6)+'ay'](_0x5b009)||_0x7d2e2['aYQuO'](_0x5b009[_0xd41012(0x3cc,0x4cd)+'h'],-0xd5*-0x7+-0x209a+0x5*0x55b))return errors[_0xd41012(0x537,0x411)+_0xd41012(0x47e,0x478)](_0x82a5a5,_0x7d2e2['axbeP']);if(_0x7d2e2[_0xd41012(0x39a,0x44e)](_0x5b009[_0x43d5d2(0x2c7,0x405)+'h'],MAX_MESSAGES_PER_SHARE))return _0x7d2e2[_0x43d5d2(0x313,0x3b4)](_0x7d2e2[_0xd41012(0x21d,0x31e)],_0x7d2e2[_0x43d5d2(0x118,0x19b)])?_0x34ccd1:errors[_0x43d5d2(0x20b,0x33d)+_0x43d5d2(0x272,0x19c)](_0x82a5a5,'Too\x20m'+_0xd41012(0x265,0x35b)+_0xd41012(0x468,0x458)+_0xd41012(0x350,0x40f)+_0x43d5d2(0x2e9,0x245)+MAX_MESSAGES_PER_SHARE+')');const _0x31528b=_0x7d2e2[_0x43d5d2(0x18b,0x16f)](randomUUID)['repla'+'ce'](/-/g,'')[_0xd41012(0x331,0x3e3)+_0xd41012(0x25a,0x37a)](0xdd5+0x4ed+-0x12c2,0x1813+-0x6d7*-0x1+0x3*-0xa4a),_0x3e5af6=_0x12b772['join'](_0x45f15f,_0x31528b+_0x43d5d2(0x287,0x3ac)),_0xa9074f=_0x7d2e2['aYQuO'](typeof _0x51318b,_0x7d2e2['ZZLKU'])?_0x51318b['subst'+_0x43d5d2(0x174,0x14c)](-0x4c*-0x43+-0x8f3+-0xaf1*0x1,-0x1342+-0x136+0x1540)[_0xd41012(0x30d,0x2c9)+'ce'](/[\x00-\x1F\x7F]/g,''):_0x7d2e2[_0xd41012(0x5a3,0x4c7)],_0x1bd7de=_0x5b009['map'](_0x300176=>({'type':sanitizeMessageType(_0x300176[_0xd41012(0x2d4,0x366)]),'text':sanitizeMessageText(_0x300176[_0xd41012(0x26b,0x2ea)]),'timestamp':typeof _0x300176[_0x43d5d2(0x1b2,0x1f8)+_0x43d5d2(0xf6,0x22a)]==='numbe'+'r'?_0x300176[_0xd41012(0x3c7,0x3b8)+_0x43d5d2(0xf6,0x16b)]:Date[_0xd41012(0x368,0x410)]()})),_0x3caa4f={'id':_0x31528b,'title':_0xa9074f,'messages':_0x1bd7de,'createdAt':Date[_0xd41012(0x48b,0x410)](),'expiresAt':Date['now']()+_0x7d2e2[_0x43d5d2(0x29e,0x2b4)](_0x7d2e2['Sxoet'](_0x16e445,-0x574+0x19ab+-0x13fb)*(0x305+-0xa57*-0x2+-0x1777*0x1),0x247d+-0x10*0x8e+-0x15*0x121),'viewCount':0x0},_0x4487ba=_0x12b772[_0xd41012(0x518,0x461)](_0x45f15f,_0x43d5d2(0xec,0x134)+_0x31528b+'-'+_0x7d2e2['ahbxW'](randomUUID)+'.json');await _0x3c165a[_0x43d5d2(0xa0,0x12d)+_0xd41012(0x4f3,0x4ad)](_0x4487ba,JSON['strin'+_0x43d5d2(0x284,0x21e)](_0x3caa4f,null,-0x1*-0x179e+-0x2cd+-0x14cf)),await _0x3c165a[_0xd41012(0x3ca,0x323)+'e'](_0x4487ba,_0x3e5af6),_0x7d2e2[_0xd41012(0x443,0x454)](log,_0x7d2e2[_0x43d5d2(0xa9,-0xf)],_0xd41012(0x3c0,0x2a2)+'e]\x20Cr'+_0x43d5d2(0x294,0x350)+_0x43d5d2(0x2ed,0x2d9)+_0xd41012(0x333,0x45d)+_0x31528b);const _0x56ec9e={};return _0x56ec9e[_0x43d5d2(0x14a,0x180)+'Id']=_0x31528b,_0x56ec9e[_0xd41012(0x25a,0x350)+'Url']=_0xd41012(0x41e,0x3b0)+'e/'+_0x31528b,_0x56ec9e['expir'+'esAt']=_0x3caa4f[_0xd41012(0x45d,0x489)+_0x43d5d2(0x28c,0x1c2)],sendSuccess(_0x82a5a5,_0x56ec9e);}}catch(_0x5aff1c){return _0x7d2e2[_0x43d5d2(0x11e,0xf9)](_0x7d2e2[_0x43d5d2(0x2cd,0x1cf)],_0x7d2e2[_0xd41012(0x511,0x4d3)])?_0x40ef4e[_0xd41012(0x32b,0x411)+'quest'](_0xd488a,_0x5b6e66['error']):(_0x7d2e2[_0xd41012(0x550,0x4de)](log,_0x7d2e2[_0x43d5d2(0x295,0x226)],_0x43d5d2(0x9c,-0x47)+_0x43d5d2(0xd9,0x15a)+_0x43d5d2(0x191,0x96)+_0x43d5d2(0x142,0x18c)+':',_0x5aff1c[_0xd41012(0x55e,0x456)+'ge']),errors[_0xd41012(0x525,0x4a3)+_0x43d5d2(0x1ba,0xb6)+'r'](_0x82a5a5,_0x7d2e2['YPdgT']));}}),_0x8605fb[_0x1e1fc4(0x2b1,0x36c)](_0x7d2e2[_0x1e1fc4(0x1b3,0x222)],async(_0x4c25d1,_0x4afdaa)=>{function _0x971e18(_0x51d850,_0x1f9475){return _0x7da624(_0x1f9475- -0x27c,_0x51d850);}function _0x54fea7(_0x2881db,_0x2ba291){return _0x7da624(_0x2ba291- -0x29f,_0x2881db);}const _0x299b53={};_0x299b53[_0x54fea7(0x213,0x32b)]=_0x971e18(0x2f8,0x3a1)+_0x54fea7(0x375,0x40d)+_0x54fea7(0x29f,0x30c);const _0x49451e=_0x299b53;if(_0x7d2e2['VKSMZ'](_0x7d2e2[_0x971e18(0x44c,0x400)],_0x7d2e2[_0x971e18(0x2e5,0x400)]))return _0x55733c[_0x971e18(0x327,0x3c5)+_0x971e18(0x22e,0x33d)](_0x7dea37,_0x971e18(0x4d3,0x3a1)+_0x54fea7(0x42c,0x40d)+_0x54fea7(0x2b0,0x30c));else try{if(_0x7d2e2['VeCDW'](_0x971e18(0x394,0x341),_0x54fea7(0x337,0x31e)))_0x366a3c[_0x54fea7(0x23d,0x376)](_0x4c7e71(_0x36564c['param'+'s'][_0x971e18(0x454,0x31e)+'Id']));else{const {shareId:_0x41579e}=_0x4c25d1[_0x54fea7(0x341,0x27a)+'s'],_0x4e46e9=_0x7d2e2[_0x54fea7(0x366,0x336)](sanitizeShareId,_0x41579e);if(!_0x4e46e9[_0x54fea7(0x22a,0x2c0)])return errors['badRe'+'quest'](_0x4afdaa,_0x4e46e9['error']);const _0x59cb17=_0x4e46e9['sanit'+_0x971e18(0x499,0x3bd)],_0xd10fc9=_0x12b772[_0x971e18(0x563,0x42f)](_0x45f15f,_0x59cb17+_0x54fea7(0x3f8,0x438));try{const _0x449664=await _0x3c165a[_0x971e18(0x4cb,0x49c)+_0x971e18(0x347,0x389)](_0xd10fc9,_0x7d2e2[_0x971e18(0x478,0x45f)]),_0x13922e=JSON[_0x54fea7(0x45d,0x3aa)](_0x449664);if(_0x7d2e2['mYwIZ'](Date[_0x54fea7(0x3b4,0x3bb)](),_0x13922e['expir'+_0x971e18(0x580,0x460)]))return _0x7d2e2[_0x971e18(0x1bb,0x27b)](_0x7d2e2[_0x54fea7(0x366,0x40a)],_0x7d2e2[_0x971e18(0x23b,0x2cf)])?_0x2ae9bd['badRe'+_0x54fea7(0x468,0x423)](_0x211ddc,_0x170b3c['error']):(await _0x3c165a[_0x54fea7(0x29a,0x37a)+'k'](_0xd10fc9)['catch'](()=>{}),errors['notFo'+_0x54fea7(0x2e2,0x31a)](_0x4afdaa,_0x971e18(0x48e,0x3a1)+_0x971e18(0x1d1,0x2b0)+_0x971e18(0x283,0x376)+_0x971e18(0x3d2,0x457)+'ed'));return _0x13922e[_0x971e18(0x347,0x483)+_0x971e18(0x47b,0x38c)]++,await _0x3c165a[_0x54fea7(0x179,0x251)+'File'](_0xd10fc9,JSON['strin'+_0x54fea7(0x301,0x435)](_0x13922e,null,-0x25*-0x4e+-0x1acc+0xf88)),_0x7d2e2['zpswa'](sendSuccess,_0x4afdaa,_0x13922e);}catch(_0x101912){if(_0x7d2e2['qTMNz'](_0x7d2e2[_0x971e18(0x312,0x271)],_0x7d2e2[_0x54fea7(0x3f2,0x2f0)])){if(!_0x2b4d54||DXEomy[_0x971e18(0x42a,0x474)](typeof _0x4ed568,DXEomy[_0x54fea7(0x33d,0x452)]))return'';let _0x3d47ac=_0x58bfc2[_0x971e18(0x427,0x3b1)+_0x971e18(0x317,0x348)](0x1*-0x1e63+-0x1dd+-0x81*-0x40,_0x13b40f);return _0x3d47ac=_0x3d47ac[_0x54fea7(0x31c,0x274)+'ce'](/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/g,''),_0x3d47ac;}else return errors[_0x54fea7(0x276,0x3a2)+_0x971e18(0x487,0x33d)](_0x4afdaa,_0x7d2e2[_0x971e18(0x3c5,0x45e)]);}}}catch(_0x1948de){return _0x7d2e2[_0x54fea7(0x3ec,0x3bd)](_0x7d2e2['QKRry'],'EQchS')?(log(_0x971e18(0x3d7,0x316),_0x54fea7(0x2c2,0x24d)+_0x971e18(0x41e,0x44f)+'t\x20err'+'or:',_0x1948de[_0x54fea7(0x367,0x401)+'ge']),errors['serve'+_0x54fea7(0x366,0x36b)+'r'](_0x4afdaa,_0x7d2e2[_0x54fea7(0x350,0x3e2)])):_0x32324a[_0x971e18(0x431,0x3c5)+_0x971e18(0x298,0x33d)](_0x5b84f3,_0x49451e[_0x54fea7(0x3aa,0x32b)]);}}),_0x8605fb['delet'+'e'](_0x1e1fc4(0x177,0x206)+_0x1e1fc4(0x1f9,0x325)+'/:sha'+_0x7da624(0x62c,0x6c6),strictLimiter,async(_0x5c71f6,_0x231da5)=>{function _0x2f70d1(_0x4cfefa,_0x5b6e51){return _0x1e1fc4(_0x4cfefa- -0x5,_0x5b6e51);}const _0x50f214={'lLrJD':function(_0x3923b5,_0x30a66b,_0x28d363,_0x2256ad){function _0x29178c(_0x1f5811,_0x2b55d5){return _0x587c(_0x2b55d5- -0x77,_0x1f5811);}return _0x7d2e2[_0x29178c(0x2e8,0x314)](_0x3923b5,_0x30a66b,_0x28d363,_0x2256ad);},'hiCxH':_0x7d2e2[_0x30d17(0x4a3,0x46c)],'iwguR':_0x7d2e2[_0x30d17(0x469,0x55d)]};function _0x30d17(_0x667116,_0x491059){return _0x1e1fc4(_0x491059-0x326,_0x667116);}try{const {shareId:_0x280a51}=_0x5c71f6[_0x2f70d1(0x173,0x1f7)+'s'],_0x5690e8=sanitizeShareId(_0x280a51);if(!_0x5690e8[_0x30d17(0x4a2,0x4e4)])return _0x7d2e2['VeCDW'](_0x7d2e2['JeMQy'],_0x7d2e2[_0x30d17(0x609,0x4dc)])?'':errors[_0x30d17(0x562,0x5e0)+_0x30d17(0x609,0x647)](_0x231da5,_0x5690e8['error']);const _0x33ae40=_0x5690e8['sanit'+_0x30d17(0x5cd,0x5be)],_0x37d0d9=_0x12b772['join'](_0x45f15f,_0x33ae40+_0x2f70d1(0x331,0x24e));return await _0x3c165a[_0x30d17(0x644,0x59e)+'k'](_0x37d0d9),sendSuccess(_0x231da5);}catch(_0x4df93b){return _0x7d2e2['ulwLA'](_0x7d2e2[_0x2f70d1(0x2aa,0x3bc)],_0x7d2e2[_0x30d17(0x4e9,0x5d5)])?errors[_0x30d17(0x668,0x5c6)+_0x30d17(0x5ce,0x53e)](_0x231da5,_0x2f70d1(0x277,0x32f)+_0x30d17(0x5dd,0x631)+'found'):(UgOeye['lLrJD'](_0x2972aa,_0x2f70d1(0x1ec,0x273),UgOeye[_0x30d17(0x514,0x62d)],_0x1c1617['messa'+'ge']),_0x1fb2cc[_0x2f70d1(0x347,0x369)+'rErro'+'r'](_0x82efdf,UgOeye[_0x30d17(0x695,0x5ae)]));}}),_0x8605fb[_0x7da624(0x652,0x5ff)]('/shar'+_0x7da624(0x57c,0x681)+_0x1e1fc4(0x342,0x2c3),async(_0x135c7c,_0x4ddaa4)=>{const _0x17066e={};function _0x4bcde9(_0x4254df,_0xe064ea){return _0x7da624(_0x4254df- -0x3b3,_0xe064ea);}_0x17066e[_0x4bcde9(0x26d,0x2cb)]=_0x7d2e2['zjJET'];function _0x848814(_0x514018,_0x5cf290){return _0x7da624(_0x5cf290- -0x280,_0x514018);}const _0x4db3e1=_0x17066e;if(_0x7d2e2['ZGOFV']!==_0x7d2e2['ZGOFV'])return _0xcbc13[_0x848814(0x3a7,0x36f)+_0x848814(0x4df,0x3d8)]()[_0x4bcde9(0x30e,0x430)+'h'](SqmZwP[_0x4bcde9(0x26d,0x362)])[_0x848814(0x3de,0x36f)+'ing']()[_0x848814(0x1a2,0x268)+_0x848814(0x45a,0x315)+'r'](_0x490a38)[_0x4bcde9(0x30e,0x265)+'h'](SqmZwP[_0x4bcde9(0x26d,0x2ae)]);else _0x4ddaa4['send'](_0x7d2e2['zgviK'](getSharePageHTML,_0x135c7c[_0x4bcde9(0x166,0x186)+'s'][_0x4bcde9(0x1e7,0x22a)+'Id']));});}function getSharePageHTML(_0x480c1d){function _0x597bff(_0x284df3,_0x4a3b95){return _0x587c(_0x284df3- -0xe4,_0x4a3b95);}const _0x295cc1={'WPtOp':function(_0x57ef5e,_0x56f27e){return _0x57ef5e(_0x56f27e);}};function _0x1f9c82(_0x4e610f,_0x4279b8){return _0x587c(_0x4279b8- -0xdc,_0x4e610f);}const _0x21e2cb=_0x295cc1[_0x1f9c82(0x179,0x147)](escapeForJS,_0x480c1d['repla'+'ce'](/[^a-zA-Z0-9]/g,'')[_0x1f9c82(0x2ed,0x1b4)+_0x597bff(0x143,0x74)](0xcc0+0x7*0x443+0x2a95*-0x1,0x218c+0x1*-0x12db+-0xa3*0x17));return _0x1f9c82(0x263,0x1d3)+_0x1f9c82(0x8c,0x104)+'\x20html'+_0x597bff(0x250,0x2aa)+_0x1f9c82(0x263,0x214)+_0x597bff(0x22d,0x166)+'n\x22>\x0a<'+_0x597bff(0x2a4,0x322)+_0x1f9c82(0x4e,0x159)+_0x597bff(0x146,0xa2)+_0x1f9c82(-0x34,0x6a)+_0x1f9c82(0x3c,0x13c)+_0x1f9c82(0x305,0x28e)+_0x597bff(0x151,0x16)+_0x597bff(0xf2,-0x47)+_0x597bff(0x1c6,0x266)+'viewp'+'ort\x22\x20'+_0x597bff(0xfd,0xdd)+_0x597bff(0x123,0x13b)+_0x1f9c82(0x2e9,0x20d)+_0x1f9c82(0x1b9,0xa1)+_0x597bff(0x12b,0xae)+'th,\x20i'+_0x1f9c82(0x155,0x1bd)+_0x597bff(0x26b,0x1ed)+'le=1.'+'0\x22>\x0a\x20'+_0x1f9c82(0x6b,0x12d)+_0x597bff(0x18a,0xd4)+_0x597bff(0x147,0x6c)+'Conve'+_0x1f9c82(0x273,0x1ff)+_0x1f9c82(0x1ac,0x2b8)+_0x1f9c82(0x1ca,0x1f3)+'k</ti'+_0x597bff(0x136,0xf7)+_0x597bff(0x1e3,0x15b)+_0x1f9c82(0x18f,0xce)+_0x597bff(0x12d,0x1e5)+_0x1f9c82(-0x4d,0xf8)+_0x597bff(0x246,0x19b)+'ing:\x20'+_0x1f9c82(0x23a,0x1e6)+_0x597bff(0x11f,0x176)+_0x597bff(0x275,0x1c8)+_0x1f9c82(0x181,0xee)+_0x597bff(0x2c6,0x36c)+_0x597bff(0xef,0x48)+':\x200;\x20'+_0x597bff(0x24b,0x17e)+_0x1f9c82(0x1f5,0x182)+'\x20{\x20\x0a\x20'+_0x1f9c82(0x32a,0x2a5)+'font-'+_0x597bff(0x60,0x97)+_0x1f9c82(-0xc9,0x7c)+_0x597bff(0x271,0x376)+'syste'+_0x1f9c82(0x333,0x28f)+'inkMa'+'cSyst'+_0x597bff(0x1cd,0x90)+_0x1f9c82(0x1c4,0x267)+'egoe\x20'+_0x1f9c82(0x274,0x197)+'sans-'+_0x1f9c82(0x10b,0x123)+_0x1f9c82(0x1bf,0x83)+_0x1f9c82(0x188,0x150)+'ckgro'+_0x597bff(0x11e,0x246)+_0x597bff(0x208,0xf1)+'1a;\x20\x0a'+_0x1f9c82(0x3e2,0x2a5)+'\x20colo'+_0x1f9c82(0x41,0x115)+_0x1f9c82(0x21f,0x2c2)+_0x597bff(0x29d,0x155)+_0x1f9c82(0x319,0x27a)+'eight'+_0x597bff(0x1d4,0x280)+_0x597bff(0x2eb,0x2ee)+_0x1f9c82(0x34b,0x2a5)+_0x597bff(0xe9,0x1a8)+_0x1f9c82(0x39,0xbc)+_0x1f9c82(0x19f,0x219)+_0x1f9c82(0x134,0xec)+'\x0a\x20\x20\x20\x20'+'.cont'+'ainer'+'\x20{\x20ma'+_0x597bff(0x195,0x10c)+_0x1f9c82(0xe8,0x11b)+_0x1f9c82(0x22c,0x237)+_0x1f9c82(0x320,0x2f6)+'in:\x200'+_0x597bff(0x155,0xcc)+';\x20}\x0a\x20'+_0x597bff(0x204,0x190)+_0x597bff(0x1f4,0xfa)+_0x1f9c82(0x1ba,0x149)+'\x20\x20\x20\x20\x20'+_0x1f9c82(0xad,0x154)+_0x597bff(0x137,0x73)+_0x597bff(0x27f,0x1bf)+_0x597bff(0xb6,0xee)+_0x597bff(0x23b,0x1b9)+'\x20\x20pad'+_0x597bff(0x7c,-0xba)+_0x597bff(0x12c,0x238)+'\x200\x2030'+_0x1f9c82(-0x67,0x89)+_0x1f9c82(0x1c5,0x2a5)+_0x1f9c82(0x1df,0x1e6)+'r-bot'+_0x1f9c82(0x3a6,0x283)+_0x1f9c82(0x3ce,0x2a1)+_0x1f9c82(0x125,0x23c)+_0x597bff(0x165,0x6c)+_0x597bff(0x23b,0x1e5)+'\x20\x20mar'+_0x597bff(0x2b7,0x292)+_0x597bff(0xea,0x1e2)+_0x597bff(0x196,0x233)+'x;\x0a\x20\x20'+_0x597bff(0xac,-0xf)+_0x1f9c82(0x52,0x186)+_0x597bff(0x278,0x3c2)+_0x597bff(0x11c,0x138)+_0x597bff(0xd5,-0x1f)+_0x597bff(0x1ff,0x244)+';\x20mar'+_0x1f9c82(0x2e8,0x2bf)+_0x1f9c82(0x49,0xf2)+_0x597bff(0x2d2,0x3d6)+';\x20}\x0a\x20'+_0x597bff(0x1d6,0x264)+_0x1f9c82(0x1bc,0x8d)+_0x1f9c82(0x21f,0x187)+_0x597bff(0x1b1,0x138)+'e:\x201.'+_0x1f9c82(0x129,0x141)+_0x1f9c82(0xca,0x113)+_0x1f9c82(0xba,0xb1)+_0x597bff(0x277,0x20b)+_0x1f9c82(0x228,0x18e)+_0x597bff(0x21f,0x358)+'ges\x20{'+_0x597bff(0x121,0x230)+_0x597bff(0x106,0x1f6)+_0x597bff(0xb5,0x1d8)+_0x1f9c82(0x10a,0x180)+_0x1f9c82(0x236,0x2f9)+_0x1f9c82(0x17c,0xb8)+_0x597bff(0x176,0x76)+_0x597bff(0x1a5,0xdf)+_0x597bff(0x29f,0x3a6)+_0x597bff(0x1d2,0x22e)+_0x597bff(0x2db,0x21e)+_0x597bff(0x193,0x2a8)+_0x597bff(0x86,0x12d)+_0x597bff(0x141,0xb9)+_0x1f9c82(0x303,0x2a5)+_0x1f9c82(0x1bf,0xf1)+'ng:\x201'+'2px\x201'+_0x1f9c82(0x1fd,0x1be)+_0x1f9c82(0x299,0x243)+_0x1f9c82(0x13d,0x18a)+_0x597bff(0x23c,0x1f0)+_0x1f9c82(0x18d,0x81)+_0x597bff(0x13a,0xf7)+'x;\x20\x0a\x20'+'\x20\x20\x20\x20\x20'+_0x1f9c82(0x200,0x1ef)+_0x1f9c82(0x52,0xaf)+_0x1f9c82(-0x46,0xb5)+_0x597bff(0x23b,0x2f3)+_0x597bff(0x24b,0x19c)+'\x20.mes'+'sage.'+_0x597bff(0xa0,0x19d)+_0x1f9c82(0x1d4,0x220)+_0x1f9c82(0x24f,0x14a)+'ackgr'+'ound:'+_0x1f9c82(0x9c,0x122)+_0x597bff(0x167,0x261)+_0x1f9c82(0x1fd,0x243)+'\x20\x20ali'+_0x597bff(0x2ef,0x1f2)+_0x1f9c82(0x39f,0x28a)+_0x1f9c82(0xb1,0x1a1)+_0x597bff(0x127,0x7b)+_0x597bff(0x29d,0x35d)+_0x597bff(0x1de,0x249)+'r-bot'+_0x597bff(0x283,0x2f6)+_0x1f9c82(0x8a,0x1c4)+(_0x1f9c82(0x159,0x251)+_0x597bff(0x2a1,0x1d9)+_0x597bff(0x1fd,0x138)+_0x597bff(0xac,0x166)+_0x1f9c82(0x112,0xca)+'essag'+_0x1f9c82(0x11,0xda)+_0x597bff(0x210,0x17e)+'t\x20{\x20\x0a'+'\x20\x20\x20\x20\x20'+_0x597bff(0x15d,0x277)+_0x597bff(0x28e,0x1c3)+_0x597bff(0x105,0x137)+_0x597bff(0xb9,0x1b2)+_0x597bff(0x135,0x10e)+_0x1f9c82(0x216,0x28c)+_0x597bff(0x166,0x197)+_0x597bff(0xe3,0x186)+'\x20flex'+_0x597bff(0x84,0xf3)+_0x597bff(0x260,0x326)+_0x1f9c82(0x20c,0x14a)+_0x597bff(0x116,0x199)+_0x1f9c82(0x15,0x10b)+_0x1f9c82(0xd1,0x1f9)+_0x1f9c82(0x3c3,0x2cc)+_0x1f9c82(0x98,0xaa)+_0x1f9c82(0x151,0x1d4)+_0x1f9c82(0x360,0x243)+_0x1f9c82(0x1aa,0x253)+_0x1f9c82(0x30c,0x2d7)+_0x597bff(0x281,0x290)+_0x1f9c82(0x2dc,0x243)+_0x597bff(0x1a4,0x200)+_0x1f9c82(0x1fb,0x2ab)+_0x1f9c82(0x8c,0xa9)+'enter'+';\x0a\x20\x20\x20'+_0x1f9c82(0x2c4,0x259)+_0x597bff(0x2b3,0x3d6)+'top:\x20'+_0x597bff(0x23f,0x155)+_0x597bff(0x23b,0x1a5)+_0x597bff(0xa6,0x1af)+_0x597bff(0x2bb,0x3af)+_0x597bff(0x1c4,0x205)+'20px;'+_0x1f9c82(0x22b,0x243)+_0x597bff(0x182,0xc7)+_0x1f9c82(0x2df,0x27b)+'op:\x201'+_0x597bff(0x2c1,0x25a)+_0x597bff(0xf8,0x70)+'333;\x0a'+_0x1f9c82(0x28b,0x2a5)+_0x597bff(0x224,0x25c)+_0x597bff(0x15c,0x1c0)+_0x597bff(0x7f,0xb1)+_0x597bff(0x29d,0x1d8)+_0x597bff(0x220,0x25b)+_0x1f9c82(0x2ec,0x25f)+'\x200.9e'+_0x597bff(0x190,0x2b9)+_0x1f9c82(0x1c9,0xb4)+_0x597bff(0x9d,0x9c)+_0x1f9c82(0xd6,0xa3)+'\x20a\x20{\x20'+_0x1f9c82(0x151,0x113)+_0x597bff(0x28b,0x361)+_0x597bff(0x20f,0x2a9)+_0x1f9c82(0x13d,0x170)+_0x597bff(0x1a7,0x7b)+_0x597bff(0x80,0x83)+_0x597bff(0x13e,0x5a)+_0x597bff(0x235,0x176)+'\x0a\x20\x20\x20\x20'+_0x1f9c82(0x211,0x23e)+_0x1f9c82(-0x98,0x7a)+_0x597bff(0x24c,0x26e)+_0x597bff(0x225,0x2ba)+_0x597bff(0x28d,0x397)+'er;\x20p'+_0x1f9c82(0x1fa,0x22a)+_0x1f9c82(0x2fe,0x1bc)+_0x597bff(0xba,0x13)+_0x1f9c82(0x2f3,0x271)+_0x597bff(0x232,0x25a)+_0x1f9c82(0x125,0x202)+_0x1f9c82(0x275,0x253)+'\x20.loa'+'ding\x20'+_0x597bff(0x8e,-0x3c)+_0x597bff(0x2a3,0x1f7)+_0x597bff(0xa1,0x14a)+_0x597bff(0x2d5,0x333)+_0x597bff(0xc1,0x1e8)+_0x597bff(0x7c,0xf4)+_0x597bff(0x153,0x1f1)+_0x597bff(0x19b,0x134)+_0x1f9c82(0x1b2,0x226)+'888;\x20'+'}\x0a\x20\x20<'+_0x597bff(0x233,0x32c)+_0x1f9c82(0x157,0x1e9)+_0x1f9c82(0x3c6,0x2ac)+_0x1f9c82(0x3d4,0x2b3)+_0x1f9c82(0x2f1,0x276)+'<div\x20'+_0x1f9c82(0xbc,0x1a6)+'=\x22con'+'taine'+'r\x22>\x0a\x20'+_0x597bff(0x2ad,0x26a)+_0x1f9c82(0x139,0x125)+_0x597bff(0x2df,0x2d0)+_0x597bff(0x1c7,0x114)+_0x1f9c82(0x90,0x7d)+_0x597bff(0x29d,0x19b)+_0x597bff(0x21a,0x26e)+_0x597bff(0x19e,0x1bf)+_0x1f9c82(0x3c8,0x29b)+_0x597bff(0x10c,-0xa)+_0x597bff(0x1eb,0x147)+_0x597bff(0x6d,0xa7)+_0x597bff(0x1ec,0xbe)+_0x597bff(0x1af,0x16c)+'div\x20c'+'lass='+_0x1f9c82(0x6e,0xfe)+_0x597bff(0x2e9,0x285)+_0x597bff(0x27d,0x219)+'reTit'+_0x597bff(0xae,-0x68)+_0x1f9c82(0x14e,0x136)+_0x1f9c82(0x2db,0x1d8)+_0x1f9c82(0x2c6,0x2cd)+'\x0a\x20\x20\x20\x20'+'</div'+_0x1f9c82(0x140,0xe4)+_0x597bff(0x8b,0xf7)+'\x20clas'+_0x597bff(0x132,0x3d)+_0x597bff(0x86,0x183)+_0x597bff(0x1f8,0xce)+_0x1f9c82(0x221,0x240)+_0x597bff(0x2cc,0x347)+_0x597bff(0x255,0x1b0)+_0x1f9c82(0x2d2,0x1b7)+_0x597bff(0x1dc,0x9e)+_0x597bff(0x128,0xce)+'\x22load'+_0x1f9c82(0x25,0x111)+_0x1f9c82(0x378,0x26d)+_0x597bff(0x229,0x134)+_0x597bff(0xcf,-0x27)+_0x597bff(0x2e1,0x40f)+'...</'+_0x1f9c82(0x202,0x29c)+_0x597bff(0x1af,0x278)+'/div>'+_0x597bff(0x23b,0x2f3)+_0x597bff(0x21a,0x283)+'class'+'=\x22foo'+_0x597bff(0x180,0x39)+_0x597bff(0x23b,0x26a)+'\x20\x20Sha'+_0x597bff(0x156,0xe6)+_0x1f9c82(0x247,0x1d2)+_0x597bff(0x16a,0x21e)+'=\x22/\x22>'+_0x597bff(0x1eb,0x1d4)+_0x597bff(0x2e3,0x1af)+_0x597bff(0x23b,0x33b)+_0x1f9c82(0x144,0x138)+_0x1f9c82(0x330,0x24b)+_0x597bff(0x2c5,0x1c6)+_0x597bff(0x25e,0x379)+'cript'+_0x1f9c82(-0x5f,0xe4)+_0x1f9c82(0x1e2,0x194)+'tion\x20'+'esc(s'+_0x1f9c82(0x194,0x1d1)+_0x597bff(0x266,0x368)+_0x597bff(0xf4,0x1a2)+'ument'+_0x597bff(0x1f2,0x24d)+_0x1f9c82(0x365,0x2a0)+_0x597bff(0x100,0x155)+_0x1f9c82(0x267,0x157)+');\x20d.'+_0x597bff(0x2d6,0x2f1)+'onten'+_0x597bff(0x22e,0x281)+_0x1f9c82(0x1fa,0x17d)+_0x1f9c82(0x1e3,0xf9)+'.inne'+_0x597bff(0x2c8,0x197)+_0x1f9c82(0x33d,0x282))+('\x20\x20\x20co'+_0x597bff(0x164,0x93)+_0x597bff(0xff,0xaf)+'d\x20=\x20\x27')+_0x21e2cb+(_0x597bff(0x2ac,0x2df)+'\x20\x20fet'+_0x597bff(0x126,0xdb)+'api/s'+_0x597bff(0xe2,0xd2)+'\x27\x20+\x20s'+_0x597bff(0xff,0x10a)+_0x1f9c82(0x70,0xab)+_0x597bff(0x186,0x185)+_0x1f9c82(0x389,0x2ad)+_0x597bff(0x1e2,0x12d)+_0x597bff(0x118,0xf2)+_0x1f9c82(0x119,0xa4)+_0x597bff(0x29d,0x291)+_0x1f9c82(0x71,0xcf)+'n(dat'+_0x1f9c82(0x25a,0x2a2)+_0x597bff(0x267,0x1c7)+'\x20\x20\x20\x20\x20'+_0x1f9c82(0x3b2,0x2ee)+_0x1f9c82(0x1af,0x20b)+_0x1f9c82(0xc2,0x145)+_0x1f9c82(0x268,0x2e8)+_0x1f9c82(0x11b,0x23e)+'r)\x20{\x0a'+_0x597bff(0x29d,0x339)+'\x20\x20\x20\x20\x20'+_0x1f9c82(0x2ed,0x291)+_0x1f9c82(0x105,0x199)+_0x597bff(0x8d,0x177)+_0x597bff(0x1f5,0x2a7)+_0x1f9c82(0x1a1,0x178)+_0x597bff(0x119,0x173)+_0x1f9c82(0x308,0x1fe)+_0x597bff(0x133,0x37)+_0x597bff(0xf5,-0x31)+_0x597bff(0x87,0x3a)+'=\x20\x27Er'+_0x1f9c82(0x1a,0x11a)+_0x597bff(0x23b,0x2b1)+'\x20\x20\x20\x20\x20'+_0x1f9c82(0x137,0x79)+_0x597bff(0x68,-0x90)+_0x597bff(0x20b,0x30d)+_0x597bff(0x268,0x1fb)+_0x1f9c82(-0x21,0x86)+'\x27mess'+_0x1f9c82(0x2d,0xed)+_0x597bff(0x69,-0xc8)+_0x597bff(0x2ed,0x22f)+_0x597bff(0xdd,0x5e)+'<div\x20'+_0x1f9c82(0xab,0x1a6)+_0x1f9c82(0xdb,0x67)+_0x1f9c82(0x20f,0x2b7)+_0x597bff(0xaa,-0x6c)+_0x597bff(0xbc,0x1b2)+_0x597bff(0x152,0x6f)+_0x1f9c82(0x15a,0x1c9)+_0x1f9c82(0x157,0x23f)+_0x1f9c82(0x119,0x1c5)+_0x1f9c82(0x178,0x119)+_0x1f9c82(0x152,0x21d)+_0x1f9c82(0x1b2,0xfb)+'v>\x27;\x0a'+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20'+_0x1f9c82(0x2a9,0x173)+_0x597bff(0x1bb,0x10d)+_0x597bff(0x29d,0x205)+_0x597bff(0x2db,0x358)+_0x597bff(0x29d,0x285)+'\x20docu'+_0x597bff(0x68,0x174)+'getEl'+_0x1f9c82(0x39c,0x270)+_0x1f9c82(0xa8,0x86)+_0x597bff(0xd7,0x2e)+_0x597bff(0x1f0,0xf8)+_0x597bff(0x91,0xac)+_0x1f9c82(0x253,0x1ca)+_0x1f9c82(0x1e8,0x224)+_0x597bff(0x1d3,0x1fa)+_0x597bff(0x20d,0x15d)+'tle;\x0a'+_0x1f9c82(0x37f,0x2a5)+_0x597bff(0x1be,0xad)+'cumen'+_0x597bff(0xee,0x22d)+_0x1f9c82(0x146,0x112)+'ntByI'+_0x1f9c82(0xdd,0x9d)+'ssage'+_0x597bff(0x23e,0x2e2)+'nnerH'+_0x1f9c82(0xd9,0x17f)+_0x1f9c82(0x2d3,0x2e8)+_0x1f9c82(0x106,0x190)+_0x597bff(0x1df,0x317)+_0x597bff(0x29d,0x2df)+_0x597bff(0x29d,0x203)+'.filt'+_0x1f9c82(0x2c8,0x2aa)+_0x597bff(0x8c,-0x8d)+_0x1f9c82(0x155,0x1cb)+'!==\x20\x27'+_0x1f9c82(0x163,0x18d)+_0x597bff(0x1b7,0x6f)+_0x597bff(0x29d,0x3b8)+_0x1f9c82(0xb9,0x18e)+'map(m'+_0x597bff(0x29e,0x1ae)+_0x597bff(0x21a,0x29d)+'class'+_0x1f9c82(0x2cb,0x240)+'sage\x20'+_0x1f9c82(-0x39,0x98)+_0x597bff(0x21b,0xd7)+_0x597bff(0xc9,0x3c)+'>\x27\x20+\x20'+_0x1f9c82(0x36c,0x2bc)+_0x1f9c82(0xca,0x109)+_0x597bff(0x1fe,0x136)+_0x1f9c82(0x15d,0x166)+'\x20\x27</d'+'iv>\x27)'+_0x597bff(0x23b,0x1df)+_0x1f9c82(0x3d2,0x2a5)+_0x597bff(0x207,0x2a5)+_0x1f9c82(0xe9,0x1ab)+_0x1f9c82(-0xbe,0x83)+_0x1f9c82(0x1d8,0x14c)+_0x1f9c82(0x1d1,0x243)+'\x20\x20.ca'+_0x597bff(0x202,0x10e)+_0x597bff(0x64,-0xb)+'\x0a\x20\x20\x20\x20'+_0x1f9c82(0x104,0x16b)+'ocume'+_0x1f9c82(0x358,0x272)+_0x597bff(0x2a6,0x2fd)+_0x597bff(0xf9,0x132)+_0x1f9c82(0x1e6,0xe7)+'hareT'+'itle\x27'+_0x1f9c82(0x212,0x1fb)+_0x1f9c82(0x7e,0x19f)+_0x1f9c82(0x129,0xc5)+_0x1f9c82(0x24c,0x167)+_0x1f9c82(0xb9,0x9e)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20do'+_0x1f9c82(-0x89,0xa7)+'t.get'+_0x1f9c82(0xf1,0x112)+_0x1f9c82(0x29b,0x152)+_0x1f9c82(0xd6,0x9d)+_0x597bff(0x86,0xcd)+'s\x27).i'+'nnerH'+_0x597bff(0x177,0x1b8)+_0x597bff(0x93,-0xa6)+_0x597bff(0x280,0x147)+_0x597bff(0x2a9,0x24f)+'rror\x22'+'>Fail'+'ed\x20to'+_0x1f9c82(0x1e1,0x184)+'</div'+'>\x27;\x0a\x20'+_0x1f9c82(0x3e0,0x2a5)+_0x597bff(0x2b9,0x1c5)+_0x597bff(0x120,0x109)+'nctio'+_0x597bff(0x172,0x1da)+_0x597bff(0xfa,0x183)+_0x597bff(0x108,-0xd)+_0x1f9c82(0x3c1,0x2bd)+_0x597bff(0x23b,0x214)+_0x597bff(0x89,-0x30)+_0x1f9c82(-0xe0,0x69)+_0x1f9c82(0x326,0x2d2)+_0x1f9c82(0x120,0x1b8)+_0x597bff(0x261,0x346)+_0x1f9c82(0x1f2,0x156)+_0x597bff(0x22c,0x31f)+'t(\x27di'+_0x597bff(0x6e,-0xbd)+_0x597bff(0x29d,0x2c6)+_0x1f9c82(0x3d9,0x2f8)+'textC'+_0x1f9c82(0x309,0x211)+'t\x20=\x20t'+_0x597bff(0x14b,0x239)+_0x597bff(0x29d,0x287)+'\x20retu'+'rn\x20di'+_0x1f9c82(0x29d,0x281)+'erHTM'+'L.rep'+(_0x597bff(0x1ba,0x1be)+_0x597bff(0x214,0x142)+_0x1f9c82(0x322,0x204)+_0x597bff(0x2ec,0x295)+_0x597bff(0x23b,0x238)+_0x1f9c82(0x2fc,0x257)+_0x1f9c82(0x104,0xd3)+_0x1f9c82(0x403,0x2e1)+'/body'+'>\x0a</h'+_0x597bff(0x219,0x195)+'\x20\x20'));}const _0x4e7dd7={};_0x4e7dd7[_0x1c4abc(0x23d,0x138)+_0x1c4abc(-0xe6,-0x9)+_0x32d0ef(0x1cf,0x2f4)+'s']=setupShareRoutes;export default _0x4e7dd7;
@@ -0,0 +1 @@
1
+ (function(_0x5545a6,_0x41cd72){function _0x2de9b0(_0x4c6650,_0x3282f4){return _0x56ac(_0x3282f4-0x1fb,_0x4c6650);}function _0x1bdc2d(_0x42b711,_0x21ac12){return _0x56ac(_0x42b711-0x91,_0x21ac12);}const _0x4db530=_0x5545a6();while(!![]){try{const _0x59e69b=-parseInt(_0x1bdc2d(0x18c,0x1a1))/(0x1fb5+-0x317+-0x1c9d)*(-parseInt(_0x2de9b0(0x288,0x2b6))/(-0xf55+-0x473*-0x5+-0x6e8))+parseInt(_0x2de9b0(0x2bc,0x2bc))/(0x1*0x8d7+0x1*-0x12c1+0x9ed)*(parseInt(_0x2de9b0(0x30d,0x300))/(0xe8c*0x1+-0x668+-0x820))+parseInt(_0x2de9b0(0x28e,0x2b9))/(0x4*-0x157+0x16f6*-0x1+0x1c57)*(parseInt(_0x2de9b0(0x2cd,0x2fa))/(-0xaf4+0x493+0x667))+parseInt(_0x1bdc2d(0x148,0x139))/(-0x155*-0x5+-0xd0d*0x1+0x35*0x1f)+parseInt(_0x1bdc2d(0x193,0x1a4))/(0x80e*-0x2+0x8f*0x1+0xf95)*(parseInt(_0x1bdc2d(0x133,0x103))/(-0x42*-0x6d+-0x2*-0xa49+-0x30a3))+-parseInt(_0x1bdc2d(0x17b,0x18e))/(-0x10fe+0x12eb*0x1+-0x1e3)*(parseInt(_0x1bdc2d(0x17e,0x176))/(-0x1cf4+0x1f*-0x67+-0x1*-0x2978))+-parseInt(_0x2de9b0(0x2db,0x2cd))/(-0x185*0xb+0x6b*0x35+-0x17*0x3c);if(_0x59e69b===_0x41cd72)break;else _0x4db530['push'](_0x4db530['shift']());}catch(_0x382a77){_0x4db530['push'](_0x4db530['shift']());}}}(_0x2c31,0x37b35+-0x5ac04+0x1*0x6c734));const _0x56c347=(function(){function _0x10436a(_0x2cfb15,_0x362e62){return _0x56ac(_0x2cfb15- -0x3bb,_0x362e62);}const _0x29dbf6={};_0x29dbf6[_0x232c39(0x463,0x48a)]='Faste'+_0x10436a(-0x2e4,-0x2ce)+'sper\x20'+_0x232c39(0x43e,0x419)+'st\x20ti'+'med\x20o'+_0x232c39(0x430,0x41a)+'0s).\x20'+_0x232c39(0x441,0x452)+_0x232c39(0x42d,0x409)+_0x10436a(-0x2ca,-0x2c1)+_0x10436a(-0x2bb,-0x2c2)+'g?',_0x29dbf6['KOHyd']=_0x232c39(0x47e,0x46e)+_0x232c39(0x42c,0x40f)+'+$',_0x29dbf6['SOTKS']=function(_0x2fa9af,_0x3437ac){return _0x2fa9af!==_0x3437ac;},_0x29dbf6[_0x10436a(-0x2d2,-0x2ff)]=_0x10436a(-0x2f1,-0x2f1);function _0x232c39(_0x3808e8,_0x51f046){return _0x56ac(_0x3808e8-0x384,_0x51f046);}_0x29dbf6[_0x232c39(0x478,0x450)]=_0x10436a(-0x2d8,-0x306),_0x29dbf6[_0x10436a(-0x2c8,-0x2ef)]=function(_0x414b9d,_0x2bbc2e){return _0x414b9d===_0x2bbc2e;},_0x29dbf6[_0x10436a(-0x2c4,-0x2da)]=_0x232c39(0x453,0x435);const _0xb9ab17=_0x29dbf6;let _0xaa2a46=!![];return function(_0x271976,_0x6a4524){function _0x3c2e1d(_0x16deed,_0x55d372){return _0x10436a(_0x55d372-0x21d,_0x16deed);}function _0x2fdec6(_0x531cd8,_0xeb9fb1){return _0x10436a(_0x531cd8-0x35e,_0xeb9fb1);}if(_0xb9ab17[_0x3c2e1d(-0xa2,-0xab)](_0x3c2e1d(-0xc2,-0xb6),_0xb9ab17['yxNke']))throw new _0x36ef21(_0xb9ab17['ZkeYT']);else{const _0x335f7e=_0xaa2a46?function(){const _0x38b261={};function _0x248237(_0x18efac,_0x4b70f3){return _0x3c2e1d(_0x4b70f3,_0x18efac-0x25e);}_0x38b261[_0x2ab52d(-0x88,-0x80)]=_0xb9ab17['KOHyd'];function _0x2ab52d(_0x46db2d,_0x5730e8){return _0x3c2e1d(_0x46db2d,_0x5730e8-0x2c);}const _0x22fc60=_0x38b261;if(_0x6a4524){if(_0xb9ab17[_0x2ab52d(-0xaf,-0x9a)](_0xb9ab17['vLyXd'],_0xb9ab17[_0x2ab52d(-0x81,-0x7e)])){const _0x24d679=_0x6a4524[_0x2ab52d(-0x92,-0x8b)](_0x271976,arguments);return _0x6a4524=null,_0x24d679;}else return _0x19a471[_0x2ab52d(-0x83,-0x75)+_0x248237(0x179,0x18b)]()[_0x2ab52d(-0xb1,-0xba)+'h'](_0x22fc60[_0x2ab52d(-0x91,-0x80)])[_0x248237(0x1bd,0x18c)+_0x248237(0x179,0x192)]()[_0x2ab52d(-0x90,-0x8d)+_0x2ab52d(-0x68,-0x90)+'r'](_0x5f54f7)[_0x2ab52d(-0x8f,-0xba)+'h'](_0x22fc60[_0x2ab52d(-0x9f,-0x80)]);}}:function(){};return _0xaa2a46=![],_0x335f7e;}};}()),_0x34ab44=_0x56c347(this,function(){const _0x68de44={};_0x68de44['XTfHC']=_0x5e6d24(0x1ae,0x1b3)+_0x211211(0x2de,0x2b6)+'+$';const _0xdbe284=_0x68de44;function _0x211211(_0x56c530,_0x55549c){return _0x56ac(_0x55549c-0x20e,_0x56c530);}function _0x5e6d24(_0x357eda,_0x3b4d65){return _0x56ac(_0x3b4d65-0xb9,_0x357eda);}return _0x34ab44[_0x211211(0x2e7,0x30b)+_0x5e6d24(0x19d,0x172)]()[_0x211211(0x2b6,0x2c6)+'h'](_0xdbe284[_0x5e6d24(0x189,0x1a4)])[_0x211211(0x2ee,0x30b)+_0x5e6d24(0x191,0x172)]()[_0x211211(0x2db,0x2f3)+_0x211211(0x2f4,0x2f0)+'r'](_0x34ab44)[_0x211211(0x2a4,0x2c6)+'h'](_0x211211(0x336,0x308)+')+)+)'+'+$');});_0x34ab44();function _0x2c31(){const _0x2c91a8=['slice','12606252GfLYHy','ions','PcvPp','appen','r\x20not','r-Whi','SOTKS','.\x20Is\x20','/v1/a','cript','Abort','WaXPO','r\x20URL','ZkeYT','signa','ECONN','ructo','AzSWw','code','const','qMejk','apply','iAFKB','vLyXd','1130xkEEpj','XTfHC','mYiHn','40381sJlsrZ','nning','gured','\x20not\x20','ver\x20r','VcLTP','kxElp','TOEUq','ANLFA','med\x20o','yxNke','udio/','yaJtS','(((.+','19PtMXPJ','trans','toStr','gRBif','234WfmjbN','unnin','sper\x20','96552MGTSPa','rcsHx','age','4jCvjsy','333ColNmQ','fGydk','it\x20ru','3-tur','name','audio',')+)+)','e\x20ser','\x20at\x20','eIaCl','ut\x20(3','langu','0s).\x20','file','tyapO','or:\x20','ile','json','serve','\x20reac','confi','559573uDJhws','searc','ing','reque','32602TtsZCm','st\x20ti','Is\x20th','72045wugVob','repla','hable','1103481BqStFG','POST','r\x20err','Faste','text','bnhwO','OAdch','webm','VxWRv','GRHta','IfhyC','rWhis','lYleA','clJYP','AvaqZ','REFUS'];_0x2c31=function(){return _0x2c91a8;};return _0x2c31();}import _0xf10d32 from'fs/promises';import _0x2140b7 from'path';function _0x56ac(_0x56ac61,_0x4dfdec){_0x56ac61=_0x56ac61-(-0x2c1+0x133+-0x2*-0x118);const _0x396705=_0x2c31();let _0x3cc039=_0x396705[_0x56ac61];return _0x3cc039;}export async function transcribe(_0x308f24,_0x5c1973){const _0x12a508={'yaJtS':function(_0x4b0e3c,_0x414c83){return _0x4b0e3c(_0x414c83);},'lYleA':function(_0x1bc565,_0x29cb13){return _0x1bc565===_0x29cb13;},'gRBif':_0x4ea1a1(0x1f4,0x1d6)+'Error','owuEa':'Faste'+'r-Whi'+_0x2ac822(0x497,0x47d)+'reque'+_0x2ac822(0x45c,0x438)+_0x2ac822(0x45e,0x472)+_0x2ac822(0x3f7,0x428)+_0x2ac822(0x403,0x42a)+_0x4ea1a1(0x190,0x1b7)+_0x2ac822(0x419,0x425)+_0x2ac822(0x494,0x46d)+_0x4ea1a1(0x1db,0x1fa)+'g?','clJYP':_0x2ac822(0x484,0x45d)+'REFUS'+'ED','eIaCl':_0x4ea1a1(0x1d8,0x1d7),'IfhyC':_0x2ac822(0x415,0x440)+_0x4ea1a1(0x1ea,0x1d1)+_0x2ac822(0x454,0x47d)+'serve'+_0x2ac822(0x488,0x45a)+_0x4ea1a1(0x1fb,0x1ea)+_0x4ea1a1(0x195,0x1b0)+'gured','mYiHn':_0x2ac822(0x45a,0x444),'fGydk':'whisp'+'er-la'+'rge-v'+_0x2ac822(0x414,0x421)+'bo','rcsHx':_0x4ea1a1(0x1ac,0x1a7)+_0x4ea1a1(0x22c,0x1fe),'bnhwO':function(_0x5930d5,_0x37162a,_0x2c26b0){return _0x5930d5(_0x37162a,_0x2c26b0);},'GGmtt':function(_0x56f3fb,_0x277c6e,_0x2797f0){return _0x56f3fb(_0x277c6e,_0x2797f0);},'tyapO':_0x4ea1a1(0x1d3,0x1bc),'ANLFA':_0x2ac822(0x477,0x445),'OAdch':function(_0x5445b5,_0x33407c){return _0x5445b5===_0x33407c;},'qMejk':'hYsKL','qMCCP':_0x2ac822(0x464,0x450)},_0x480caa=_0x5c1973['faste'+_0x4ea1a1(0x1ef,0x1c6)+'perUr'+'l']||process.env.FASTER_WHISPER_URL;if(!_0x480caa){if(_0x12a508[_0x2ac822(0x3fc,0x427)]===_0x12a508[_0x4ea1a1(0x1b9,0x1a5)])throw new Error(_0x12a508[_0x4ea1a1(0x1a5,0x1c5)]);else throw new _0x374229('Faste'+_0x4ea1a1(0x1e9,0x1d1)+_0x2ac822(0x464,0x47d)+_0x2ac822(0x43d,0x430)+_0x2ac822(0x463,0x452)+_0x4ea1a1(0x1a7,0x1af)+_0x2ac822(0x45c,0x43c)+_0x2ac822(0x429,0x426)+_0x7fb15e+(_0x4ea1a1(0x1f7,0x1d3)+'it\x20ru'+_0x2ac822(0x490,0x46a)+'?'));}const _0x568357=_0x480caa[_0x4ea1a1(0x1bf,0x1b9)+'ce'](/\/+$/,'')+(_0x4ea1a1(0x200,0x1d4)+_0x4ea1a1(0x1d4,0x1f2)+_0x4ea1a1(0x1f5,0x1f6)+_0x2ac822(0x43c,0x457)+_0x2ac822(0x443,0x44f)),_0x358200=await _0xf10d32['readF'+_0x2ac822(0x454,0x42e)](_0x308f24),_0x1ac414=_0x2140b7['extna'+'me'](_0x308f24)[_0x4ea1a1(0x1b1,0x1cb)](-0x5d5*0x4+-0x2*-0x131e+-0x1*0xee7)||_0x12a508[_0x4ea1a1(0x1e1,0x1e6)],_0x578ee0={};_0x578ee0['type']=_0x4ea1a1(0x199,0x1a1)+'/'+_0x1ac414;const _0x5d0d52=new Blob([_0x358200],_0x578ee0),_0x381e8a=new FormData();function _0x2ac822(_0x1ed295,_0x4f6719){return _0x56ac(_0x4f6719-0x37c,_0x1ed295);}_0x381e8a[_0x2ac822(0x42e,0x451)+'d'](_0x4ea1a1(0x192,0x1a9),_0x5d0d52,'audio'+'.'+_0x1ac414),_0x381e8a[_0x4ea1a1(0x1ac,0x1cf)+'d']('model',_0x12a508[_0x2ac822(0x42f,0x41f)]),_0x381e8a[_0x4ea1a1(0x1d0,0x1cf)+'d'](_0x12a508[_0x4ea1a1(0x1d0,0x1fd)],'en');const _0x2ac8fe=new AbortController(),_0x401129=_0x12a508[_0x2ac822(0x43d,0x442)](setTimeout,()=>_0x2ac8fe['abort'](),0x5ba8+0x1*0xbb9b+-0x1*0xa213);function _0x4ea1a1(_0x7e6a0b,_0x4a2542){return _0x56ac(_0x4a2542-0xfa,_0x7e6a0b);}try{const _0x2af9f7=await _0x12a508['GGmtt'](fetch,_0x568357,{'method':_0x12a508[_0x4ea1a1(0x1b1,0x1aa)],'body':_0x381e8a,'signal':_0x2ac8fe[_0x4ea1a1(0x1c3,0x1da)+'l']});_0x12a508['yaJtS'](clearTimeout,_0x401129);if(!_0x2af9f7['ok']){if(_0x12a508['ANLFA']===_0x12a508[_0x2ac822(0x444,0x471)]){const _0xfa330b=await _0x2af9f7[_0x4ea1a1(0x1b1,0x1bf)]();throw new Error(_0x4ea1a1(0x1cc,0x1be)+_0x4ea1a1(0x1b1,0x1d1)+_0x2ac822(0x47d,0x47d)+_0x4ea1a1(0x18c,0x1ae)+_0x4ea1a1(0x197,0x1bd)+_0x2ac822(0x400,0x42d)+_0x2af9f7['statu'+'s']+'\x20-\x20'+_0xfa330b);}else throw new _0x38f676('Faste'+_0x4ea1a1(0x1d6,0x1d1)+_0x4ea1a1(0x201,0x1fb)+_0x4ea1a1(0x1c3,0x1ae)+_0x4ea1a1(0x1d0,0x1d8)+_0x2ac822(0x478,0x46c)+_0x2ac822(0x45f,0x432)+_0x2ac822(0x44e,0x46b));}const _0x51186a=await _0x2af9f7[_0x4ea1a1(0x1a2,0x1ad)]();return _0x51186a[_0x4ea1a1(0x1d0,0x1bf)]||'';}catch(_0x5b548b){_0x12a508[_0x4ea1a1(0x1f8,0x1f3)](clearTimeout,_0x401129);if(_0x12a508['OAdch'](_0x5b548b[_0x2ac822(0x403,0x422)],_0x12a508[_0x2ac822(0x480,0x47a)]))throw new Error(_0x12a508['owuEa']);if(_0x5b548b[_0x2ac822(0x46f,0x460)]===_0x4ea1a1(0x1ad,0x1db)+_0x4ea1a1(0x19a,0x1ca)+'ED'){if(_0x12a508[_0x2ac822(0x463,0x443)](_0x12a508[_0x2ac822(0x47f,0x462)],_0x12a508['qMCCP'])){_0x12a508[_0x4ea1a1(0x222,0x1f3)](_0x3fbcc9,_0x3280a4);if(_0x12a508[_0x2ac822(0x425,0x449)](_0x2d057a[_0x2ac822(0x433,0x422)],_0x12a508[_0x2ac822(0x47f,0x47a)]))throw new _0x10299a(_0x12a508['owuEa']);if(_0x524ff9['code']===_0x12a508[_0x2ac822(0x47a,0x44a)])throw new _0xf350f0(_0x4ea1a1(0x1ac,0x1be)+_0x2ac822(0x45e,0x453)+_0x2ac822(0x473,0x47d)+_0x4ea1a1(0x19c,0x1ae)+_0x4ea1a1(0x1ae,0x1d0)+'\x20reac'+'hable'+_0x2ac822(0x436,0x426)+_0x518409+(_0x2ac822(0x46a,0x455)+'it\x20ru'+_0x2ac822(0x499,0x46a)+'?'));throw _0x1a82a3;}else throw new Error(_0x2ac822(0x41a,0x440)+_0x4ea1a1(0x1b7,0x1d1)+_0x2ac822(0x489,0x47d)+_0x4ea1a1(0x1da,0x1ae)+_0x4ea1a1(0x1c3,0x1d0)+'\x20reac'+_0x2ac822(0x42e,0x43c)+_0x4ea1a1(0x19a,0x1a4)+_0x480caa+(_0x2ac822(0x42f,0x455)+_0x4ea1a1(0x170,0x19e)+_0x4ea1a1(0x1e6,0x1e8)+'?'));}throw _0x5b548b;}}
@@ -0,0 +1 @@
1
+ (function(_0x47bdbb,_0x1cf039){const _0x5a736d=_0x47bdbb();function _0x332719(_0x5181cc,_0x2dd136){return _0x3747(_0x2dd136- -0x318,_0x5181cc);}function _0x37bbb6(_0x5e1972,_0xec4619){return _0x3747(_0xec4619- -0x7d,_0x5e1972);}while(!![]){try{const _0x429c33=parseInt(_0x332719(-0x185,-0x16c))/(-0x2*-0x6e6+0x679+-0x1444)+parseInt(_0x37bbb6(0x14f,0x15a))/(0x22bb+0x1830+-0x3ae9*0x1)+-parseInt(_0x37bbb6(0x157,0x13a))/(-0x2606+-0x1*-0x22ee+0x31b)+parseInt(_0x37bbb6(0x132,0x14b))/(0xa*0x7+-0xc3e*0x1+0xbfc)*(parseInt(_0x37bbb6(0x115,0x132))/(0xb46+0xa7*-0x1+-0xa9a))+-parseInt(_0x37bbb6(0x150,0x153))/(0x1f*0x52+0x1*0x6f7+-0x10df)+parseInt(_0x332719(-0x17a,-0x15e))/(-0x93c+-0x4f*-0x4f+-0xf1e)*(-parseInt(_0x37bbb6(0x15d,0x140))/(-0x1*0xa31+-0x1*-0x383+0x6b6))+-parseInt(_0x37bbb6(0x133,0x13f))/(0x2f8*-0x6+-0x1f2a*0x1+0x3103)*(-parseInt(_0x332719(-0x13b,-0x140))/(-0x2e*0x25+-0x1*0x21ea+0x289a));if(_0x429c33===_0x1cf039)break;else _0x5a736d['push'](_0x5a736d['shift']());}catch(_0x2c3b50){_0x5a736d['push'](_0x5a736d['shift']());}}}(_0x5045,-0x1dda1*-0x8+0x4782b+-0x7b778));function _0x1104ec(_0x3ae92e,_0x2cb2df){return _0x3747(_0x2cb2df-0x167,_0x3ae92e);}const _0xa4a767=(function(){let _0x28f145=!![];return function(_0x1d72b8,_0x3047b0){const _0x3374f5=_0x28f145?function(){function _0x25a1bc(_0x30e55b,_0x359684){return _0x3747(_0x359684- -0x1f8,_0x30e55b);}if(_0x3047b0){const _0x55459c=_0x3047b0[_0x25a1bc(-0x19,-0x33)](_0x1d72b8,arguments);return _0x3047b0=null,_0x55459c;}}:function(){};return _0x28f145=![],_0x3374f5;};}());function _0x432f69(_0x143600,_0x1db94c){return _0x3747(_0x1db94c-0x27e,_0x143600);}const _0x1ff69f=_0xa4a767(this,function(){const _0x589b7c={};function _0x460f36(_0x48f26e,_0x5a7881){return _0x3747(_0x5a7881- -0x3ce,_0x48f26e);}function _0x9f72dd(_0x1e21bc,_0x1880e9){return _0x3747(_0x1880e9-0x32e,_0x1e21bc);}_0x589b7c[_0x460f36(-0x215,-0x1ff)]=_0x9f72dd(0x4ea,0x4de)+')+)+)'+'+$';const _0x3312eb=_0x589b7c;return _0x1ff69f[_0x9f72dd(0x516,0x500)+_0x460f36(-0x1f4,-0x207)]()[_0x460f36(-0x20a,-0x1f2)+'h'](_0x3312eb[_0x460f36(-0x204,-0x1ff)])[_0x9f72dd(0x4ef,0x500)+_0x460f36(-0x1ef,-0x207)]()[_0x9f72dd(0x4ea,0x4d4)+_0x460f36(-0x21a,-0x20b)+'r'](_0x1ff69f)[_0x460f36(-0x205,-0x1f2)+'h'](_0x3312eb['Whjdp']);});_0x1ff69f();import _0x12ec52 from'fs/promises';function _0x5045(){const _0x3f8613=['apply','piKey','ing','1458664cZlrkO','rge-v','NCTkL','json','Autho','3-tur','webm','Whjdp','6476910ncImZh','file','toStr','Groq\x20','POST','TwrZZ','EaSDI','552048YvRdRv','32170OvrqXp','audio','ile','rizat','searc','/open','groqA','er-la','whisp','Beare','const','appen','rror:','figur','slice','age','801289UCRtnf','ion','://ap','5SdxpFA','(((.+','langu','nscri','RjATD','https','t\x20con','Szpwi','1042611OGMIjl','IXzeG','\x20-\x20','434455STCwpS','model','6093uzCNAi','184xfBKvH','i.gro','statu','extna','text','o/tra','ructo','ey\x20no'];_0x5045=function(){return _0x3f8613;};return _0x5045();}import _0x545dd4 from'path';function _0x3747(_0x5045d2,_0x3747db){_0x5045d2=_0x5045d2-(0x1c5+0x1903+-0x1925);const _0x3009ec=_0x5045();let _0xc864f5=_0x3009ec[_0x5045d2];return _0xc864f5;}const GROQ_BASE_URL=_0x1104ec(0x323,0x31b)+_0x1104ec(0x325,0x315)+_0x432f69(0x459,0x43c)+'q.com'+_0x1104ec(0x35c,0x344)+'ai/v1'+'/audi'+_0x432f69(0x43d,0x440)+_0x432f69(0x428,0x430)+'ption'+'s';export async function transcribe(_0x3a0479,_0x9b99c7){function _0x213c16(_0x1284ea,_0x2ba894){return _0x432f69(_0x2ba894,_0x1284ea- -0x375);}const _0x57c7fc={'RjATD':_0x213c16(0xdc,0xe5)+'API\x20k'+_0x213c16(0xcd,0xb5)+_0x213c16(0xbe,0xa2)+_0x5eac10(0x3cc,0x3ae)+'ed','IXzeG':_0x213c16(0xad,0xa3)+_0x213c16(0xac,0x9c)+_0x213c16(0xd2,0xea)+_0x213c16(0xd6,0xd3)+'bo','EaSDI':_0x213c16(0xda,0xda),'Szpwi':_0x5eac10(0x3de,0x3cb),'TwrZZ':function(_0x51fa0d,_0x4287c4,_0x2195ba){return _0x51fa0d(_0x4287c4,_0x2195ba);},'NCTkL':_0x213c16(0xdd,0xe6)},_0xcfdaa9=_0x9b99c7[_0x5eac10(0x401,0x403)+_0x213c16(0xcf,0xc4)]||process.env.GROQ_API_KEY;if(!_0xcfdaa9)throw new Error(_0x57c7fc[_0x213c16(0xbc,0xc3)]);const _0x1310a5=_0x9b99c7['groqS'+'ttMod'+'el']||_0x57c7fc[_0x213c16(0xc1,0xd7)],_0x4cae84=await _0x12ec52['readF'+_0x5eac10(0x3fd,0x3f9)](_0x3a0479),_0x226bf0=_0x545dd4[_0x5eac10(0x3e3,0x3e3)+'me'](_0x3a0479)[_0x5eac10(0x3cd,0x3c8)](0xd29*-0x1+-0x137d+0x20a7*0x1)||_0x5eac10(0x3f1,0x3f7),_0x3550a0={};_0x3550a0['type']=_0x213c16(0xe2,0xcc)+'/'+_0x226bf0;const _0x32d14e=new Blob([_0x4cae84],_0x3550a0),_0x2d224a=new FormData();_0x2d224a[_0x5eac10(0x3ca,0x3b4)+'d'](_0x57c7fc[_0x5eac10(0x3f9,0x3f9)],_0x32d14e,'audio'+'.'+_0x226bf0),_0x2d224a[_0x213c16(0xb0,0xcc)+'d'](_0x57c7fc[_0x213c16(0xbf,0xcd)],_0x1310a5),_0x2d224a['appen'+'d'](_0x5eac10(0x3d4,0x3eb)+_0x5eac10(0x3ce,0x3cc),'en');const _0x14603e={};_0x14603e[_0x5eac10(0x3ef,0x404)+_0x213c16(0xe4,0xed)+_0x5eac10(0x3d0,0x3b2)]=_0x5eac10(0x3c8,0x3d3)+'r\x20'+_0xcfdaa9;const _0x452c20=await _0x57c7fc[_0x213c16(0xde,0xd7)](fetch,GROQ_BASE_URL,{'method':_0x57c7fc[_0x213c16(0xd3,0xda)],'headers':_0x14603e,'body':_0x2d224a});if(!_0x452c20['ok']){const _0x25545f=await _0x452c20[_0x213c16(0xca,0xd7)]();throw new Error('Groq\x20'+'API\x20e'+_0x5eac10(0x3cb,0x3bf)+'\x20'+_0x452c20[_0x5eac10(0x3e2,0x3fa)+'s']+_0x213c16(0xc2,0xb7)+_0x25545f);}function _0x5eac10(_0x306c2d,_0x4fad16){return _0x432f69(_0x4fad16,_0x306c2d- -0x5b);}const _0x2e9f98=await _0x452c20[_0x5eac10(0x3ee,0x3d2)]();return _0x2e9f98[_0x5eac10(0x3e4,0x3e2)]||'';}
@@ -0,0 +1 @@
1
+ function _0x5d3c(){const _0x512566=['CwBrM','uFvAT','Unkno','cnflQ','piKey','is\x20co','messa','gs\x20→\x20','GOmav','ey\x20no','ailab','red','none','\x20in\x20S','12770GvfJYj','I\x20API','r-Whi','\x20conf','T\x20pro','NokSc','XSTqA','utAWP','repla','SvHyp','http:','Sgoka','sper\x20','opena','132EFnbMg','viKti','VJqRD','toStr','JupLs','nscri','sttPr','wOSMa','zSRRc','0/hea','apply','groqA','\x20&\x20ST','nkqwM','ption',']\x20Tra','r\x20URL','ApRMK','jBoid','groq','r\x20rea','abort','t\x20rea','STT','succe','buzUw','EJRmV','//loc','perAv','qbVww','serve','VzPAz','No\x20ST','EhfIT','Whisp','307937WNOsXv','ettin','r-whi','3hdkDFv','aJBCj','yJTMb','ABHcX','bed:\x20','API\x20k','e\x20at\x20','7196835gfseAJ','alhos','\x20erro','ster-','er\x20se','der','VdDkB','fBUSX','MfkLU','warn',')+)+)','t:800','ovide','2862450akLqRd','cFJRm','at\x20','qAqzR','pslvp','error','uypoO','Groq\x20','MfszM','igure','/heal','nlHll','r:\x20','LBoba','pbVjG','signa','cript','\x20not\x20','odqcj','rver\x20','const','Canno','vider','\x20key\x20','qBCyI','OpenA','GqEwj','XJzXi','trans','1578533fFpwdK','DeAKg','nfigu','provi','chabl','ing','(((.+','YLlvW','XCjDv','UNUCI','jFYDJ','2QDgqiF','faste','Voice','not\x20s','sper','mJsrF','177328ycjphU','mSGNJ','ion','BqXZE','wn\x20pr','rWhis','ddnFU','t\x20one','catch','XkRFb','358602FdrqMl','ch\x20Fa','t\x20set','wiBMm','Faste','iApiK','hMZhQ','5049yzYgvr','8XCZDNL','d.\x20Se','searc'];_0x5d3c=function(){return _0x512566;};return _0x5d3c();}(function(_0x3afe05,_0xf6ccf){function _0x4d8313(_0x123118,_0x2d919d){return _0x37fa(_0x2d919d- -0x273,_0x123118);}const _0x3f0514=_0x3afe05();function _0x31bdfd(_0x16b76a,_0x4093a2){return _0x37fa(_0x16b76a- -0x1b9,_0x4093a2);}while(!![]){try{const _0x1e116c=parseInt(_0x31bdfd(-0x5e,-0x42))/(0x87e*0x2+0x14dc*-0x1+-0x14b*-0x3)*(parseInt(_0x31bdfd(0x2b,-0x17))/(0x1*-0xb8d+-0x4*0x1c4+0x129f))+-parseInt(_0x31bdfd(-0x11,-0x6))/(0xa*-0x164+0x118c+0x3a1*-0x1)*(-parseInt(_0x31bdfd(0x31,0x7d))/(0xa13*0x1+-0x1*0x1ef5+0x6b*0x32))+-parseInt(_0x4d8313(-0x9b,-0xc4))/(0x194b+0x2b5*0x6+-0x2*0x14c2)+-parseInt(_0x31bdfd(0x3,0x14))/(0x4*-0x868+0x3fc+0x1daa)+parseInt(_0x31bdfd(-0x14,0x23))/(0x2278+-0x3*-0x3ac+0x1af*-0x1b)*(parseInt(_0x4d8313(-0xe5,-0x110))/(0x93+-0x319*0x5+0x1*0xef2))+-parseInt(_0x31bdfd(-0x57,-0x2c))/(-0x1*0x1cdd+0x24ef+0xbb*-0xb)*(-parseInt(_0x4d8313(-0x115,-0xff))/(0x2052+0x8*-0x309+-0x800))+parseInt(_0x4d8313(-0xa1,-0x9a))/(0x22d*0xc+0x951+-0x2362)*(parseInt(_0x31bdfd(-0x37,-0x6a))/(0x5*0x78d+-0x236a+-0x24b*0x1));if(_0x1e116c===_0xf6ccf)break;else _0x3f0514['push'](_0x3f0514['shift']());}catch(_0x5ced97){_0x3f0514['push'](_0x3f0514['shift']());}}}(_0x5d3c,0x1*0xd2487+0x10169f+0x1*-0x10a2e1));const _0xc33ea8=(function(){let _0x4ac72a=!![];return function(_0x1953f5,_0xd62215){const _0x358e12=_0x4ac72a?function(){function _0x3f58e2(_0x391a00,_0x223cd8){return _0x37fa(_0x391a00-0x335,_0x223cd8);}if(_0xd62215){const _0x43394c=_0xd62215[_0x3f58e2(0x4c1,0x4da)](_0x1953f5,arguments);return _0xd62215=null,_0x43394c;}}:function(){};return _0x4ac72a=![],_0x358e12;};}()),_0x5b321b=_0xc33ea8(this,function(){function _0x33c866(_0x471121,_0x56cda1){return _0x37fa(_0x56cda1-0x209,_0x471121);}const _0x412276={};function _0x4650bf(_0x308b13,_0x55f8bc){return _0x37fa(_0x308b13- -0x2d,_0x55f8bc);}_0x412276[_0x33c866(0x3d1,0x3a8)]=_0x33c866(0x3bd,0x3e8)+_0x33c866(0x386,0x3c2)+'+$';const _0x31c1f9=_0x412276;return _0x5b321b['toStr'+_0x4650bf(0x1b1,0x1fe)]()[_0x33c866(0x3b1,0x36e)+'h'](_0x31c1f9[_0x33c866(0x367,0x3a8)])[_0x4650bf(0x158,0x17e)+_0x4650bf(0x1b1,0x16d)]()[_0x33c866(0x3b5,0x3d9)+'ructo'+'r'](_0x5b321b)[_0x4650bf(0x138,0x152)+'h'](_0x31c1f9[_0x4650bf(0x172,0x18c)]);});_0x5b321b();import{loadConfig}from'../runtime-config.js';import{transcribe as _0x31593a}from'./openai.js';import{transcribe as _0x4c32c2}from'./groq.js';import{transcribe as _0x5010fe}from'./faster-whisper.js';import{createLogger}from'../logger.js';function _0x4f8f55(_0x19f3cc,_0xdbcfaa){return _0x37fa(_0xdbcfaa- -0x282,_0x19f3cc);}const log=createLogger(_0x4f8f55(-0x11a,-0xe9));function resolveProvider(_0x37f956){const _0x3f7ad5={};_0x3f7ad5['qTLdm']=function(_0x3c06e6,_0x7df426){return _0x3c06e6!==_0x7df426;},_0x3f7ad5['XJzXi']=_0xb2b981(0x380,0x38b);function _0x4750e7(_0x5bcc61,_0x405085){return _0x4f8f55(_0x405085,_0x5bcc61-0x1fe);}_0x3f7ad5[_0x4750e7(0x140,0x151)]=function(_0x31f58e,_0x1e6021){return _0x31f58e===_0x1e6021;},_0x3f7ad5[_0xb2b981(0x392,0x370)]=_0x4750e7(0x15e,0x179);function _0xb2b981(_0x1c8ce8,_0x10a23f){return _0x4f8f55(_0x10a23f,_0x1c8ce8-0x490);}_0x3f7ad5['uypoO']=_0x4750e7(0x102,0x149),_0x3f7ad5[_0x4750e7(0x127,0x125)]=_0xb2b981(0x38f,0x367)+'i';const _0x332158=_0x3f7ad5,_0x4195a0=_0x37f956[_0xb2b981(0x396,0x38b)+_0x4750e7(0x137,0x127)+'r'];if(_0x4195a0&&_0x332158['qTLdm'](_0x4195a0,_0x332158[_0xb2b981(0x3e5,0x3a8)])){if(_0x332158[_0x4750e7(0x140,0xf9)](_0x332158['VJqRD'],_0x332158[_0x4750e7(0x13e,0x16f)])){const _0x210713={};return _0x210713['succe'+'ss']=!![],_0x210713['provi'+'der']=_0xf6b4ed,_0x210713[_0x4750e7(0xe8,0xad)+'ge']=_0x4750e7(0xdb,0xde)+_0xb2b981(0x384,0x3d0)+'sper\x20'+_0xb2b981(0x3ae,0x391)+_0xb2b981(0x3a4,0x359)+'chabl'+_0xb2b981(0x3bc,0x3b3)+_0xd29d6d,_0x210713;}else return _0x4195a0;}if(_0x37f956[_0xb2b981(0x38f,0x373)+_0x4750e7(0xdc,0x122)+'ey']||process.env.OPENAI_API_KEY)return _0x332158[_0x4750e7(0x127,0x108)];return _0x332158[_0xb2b981(0x3e5,0x423)];}export async function transcribe(_0x5f2f47){const _0x4729a1={'jFYDJ':'none','XSTqA':_0x2c4ca3(0xbe,0xbf)+'i','XkRFb':_0x38a8ed(0x4c0,0x4af)+_0x38a8ed(0x478,0x489)+'+$','mSGNJ':function(_0x2ef8a5,_0x3803e3){return _0x2ef8a5(_0x3803e3);},'DeAKg':function(_0x4db958,_0x145b22){return _0x4db958!==_0x145b22;},'EojMi':'fofgT','uFvAT':_0x2c4ca3(0x102,0xdf),'ApRMK':_0x2c4ca3(0xb1,0xe0)+_0x2c4ca3(0x78,0xb6)+_0x2c4ca3(0x121,0x110)+_0x2c4ca3(0x75,0xb5)+_0x38a8ed(0x4d0,0x495)+_0x2c4ca3(0xdb,0xa2)+_0x38a8ed(0x424,0x428)+_0x2c4ca3(0x85,0xb1)+_0x38a8ed(0x4a9,0x476)+_0x2c4ca3(0xc3,0xab)+_0x2c4ca3(0xdc,0x124)+_0x38a8ed(0x42e,0x45e)+'T.','MfkLU':_0x2c4ca3(0xf7,0xac),'EhfIT':function(_0x23bf91,_0x5f4090,_0xf323a8){return _0x23bf91(_0x5f4090,_0xf323a8);},'NokSc':_0x2c4ca3(0xde,0xd3)},_0x15c415=await loadConfig();function _0x38a8ed(_0x5b1e81,_0x138ad8){return _0x4f8f55(_0x5b1e81,_0x138ad8-0x552);}function _0x2c4ca3(_0x585a35,_0x25fe4d){return _0x4f8f55(_0x585a35,_0x25fe4d-0x1c0);}const _0x33509e=_0x4729a1[_0x2c4ca3(0x162,0x129)](resolveProvider,_0x15c415);if(_0x33509e===_0x4729a1[_0x38a8ed(0x4dc,0x4b3)]){if(_0x4729a1[_0x2c4ca3(0x133,0x118)](_0x4729a1['EojMi'],_0x4729a1[_0x38a8ed(0x44b,0x437)]))return log[_0x38a8ed(0x46d,0x488)](_0x4729a1[_0x2c4ca3(0xaa,0xd1)]),'';else{const _0x4a60a6=_0x1c8300['sttPr'+_0x2c4ca3(0x119,0xf9)+'r'];if(_0x4a60a6&&_0x4a60a6!==ypVRAH['jFYDJ'])return _0x4a60a6;if(_0x4be990[_0x38a8ed(0x484,0x451)+_0x2c4ca3(0xbb,0x9e)+'ey']||_0x34aa21.env.OPENAI_API_KEY)return ypVRAH[_0x2c4ca3(0xfe,0xb8)];return'none';}}try{if(_0x4729a1['MfkLU']===_0x4729a1[_0x38a8ed(0x44d,0x487)]){let _0x1206e7='';switch(_0x33509e){case _0x4729a1[_0x38a8ed(0x45c,0x44a)]:_0x1206e7=await _0x4729a1[_0x38a8ed(0x494,0x473)](_0x31593a,_0x5f2f47,_0x15c415);break;case _0x4729a1[_0x38a8ed(0x448,0x449)]:_0x1206e7=await _0x4c32c2(_0x5f2f47,_0x15c415);break;case _0x38a8ed(0x4d0,0x4b5)+_0x38a8ed(0x444,0x477)+_0x38a8ed(0x4fd,0x4b8):_0x1206e7=await _0x5010fe(_0x5f2f47,_0x15c415);break;default:log[_0x38a8ed(0x4db,0x491)](_0x2c4ca3(0xcc,0xa6)+_0x2c4ca3(0xfe,0x12c)+_0x38a8ed(0x4d0,0x48b)+_0x2c4ca3(0xc5,0x106)+_0x33509e);return'';}return log['debug']('['+_0x33509e+(_0x38a8ed(0x4a6,0x461)+_0x2c4ca3(0xa9,0xc5)+_0x38a8ed(0x462,0x47c)+'\x22')+_0x1206e7+'\x22'),_0x1206e7;}else return _0x74c074[_0x38a8ed(0x46b,0x455)+_0x2c4ca3(0x125,0x11c)]()[_0x2c4ca3(0xaf,0xa3)+'h']('(((.+'+_0x38a8ed(0x44d,0x489)+'+$')[_0x2c4ca3(0xab,0xc3)+_0x2c4ca3(0x154,0x11c)]()['const'+'ructo'+'r'](_0x3489fb)[_0x38a8ed(0x44f,0x435)+'h'](ypVRAH[_0x2c4ca3(0x98,0x98)]);}catch(_0x2f0c07){return log[_0x2c4ca3(0xe1,0xff)]('['+_0x33509e+(']\x20Tra'+_0x38a8ed(0x428,0x457)+_0x2c4ca3(0x117,0xce)+_0x2c4ca3(0xcd,0xef)+'r:'),_0x2f0c07[_0x38a8ed(0x45f,0x43c)+'ge']),'';}}export async function detectLocalSTT(){const _0x5491e5={'EJRmV':_0x1fc6fe(0x559,0x51a)+_0x1fc6fe(0x504,0x504)+_0x5b8473(0x148,0x194)+_0x1fc6fe(0x46c,0x4b4),'cnpKN':'Groq\x20'+_0x5b8473(0x186,0x1a8)+'ey\x20is'+_0x5b8473(0x150,0x171)+_0x5b8473(0x19e,0x1a4)+'d','QjXOW':function(_0x4127c5,_0x4b1e8e){return _0x4127c5!==_0x4b1e8e;},'cFJRm':_0x1fc6fe(0x4c6,0x4d4),'hMZhQ':function(_0xcfbbbf,_0xb3e789,_0x4d1439){return _0xcfbbbf(_0xb3e789,_0x4d1439);},'LBoba':_0x5b8473(0x157,0x121)+_0x1fc6fe(0x50d,0x4f4)+_0x5b8473(0x189,0x1d2)+_0x5b8473(0x193,0x15e)+_0x5b8473(0x164,0x135)+'lth','YAcfj':function(_0xbbaffc,_0x46f37b){return _0xbbaffc(_0x46f37b);},'YLlvW':_0x1fc6fe(0x4f4,0x4d5)+'//loc'+_0x5b8473(0x189,0x180)+_0x5b8473(0x193,0x167)+'0','VdDkB':function(_0x309323,_0x439c6a){return _0x309323(_0x439c6a);},'GqEwj':function(_0x476410,_0x508774){return _0x476410!==_0x508774;},'wiBMm':_0x5b8473(0x13f,0x149)};function _0x5b8473(_0x1c83b3,_0x55c855){return _0x4f8f55(_0x55c855,_0x1c83b3-0x25b);}function _0x1fc6fe(_0x481a17,_0x3b295f){return _0x4f8f55(_0x481a17,_0x3b295f-0x5d9);}try{if(_0x5491e5['QjXOW'](_0x5491e5[_0x5b8473(0x196,0x1b7)],_0x5491e5[_0x1fc6fe(0x4cd,0x514)])){const _0x1e2f8b=_0x36095d['groqA'+_0x5b8473(0x143,0x128)]||_0x543538.env.GROQ_API_KEY,_0x1221f0={};_0x1221f0[_0x1fc6fe(0x530,0x4f1)+'ss']=![],_0x1221f0[_0x5b8473(0x1b5,0x1ed)+_0x5b8473(0x18d,0x1cd)]=_0x48f5f8,_0x1221f0['error']=_0x5491e5[_0x5b8473(0x175,0x12e)];if(!_0x1e2f8b)return _0x1221f0;const _0xe2e391={};return _0xe2e391[_0x5b8473(0x173,0x168)+'ss']=!![],_0xe2e391['provi'+_0x5b8473(0x18d,0x18a)]=_0x3709df,_0xe2e391['messa'+'ge']=_0x5491e5['cnpKN'],_0xe2e391;}else{const _0x136b7a=new AbortController(),_0x4d339e=setTimeout(()=>_0x136b7a[_0x1fc6fe(0x4ba,0x4ee)](),-0xb*0x11b+0x1385+-0x1d*-0x4),_0x3f650c={};_0x3f650c[_0x5b8473(0x1a4,0x1d0)+'l']=_0x136b7a[_0x5b8473(0x1a4,0x1df)+'l'];const _0x5da7d9=await _0x5491e5[_0x5b8473(0x13a,0x112)](fetch,_0x5491e5[_0x1fc6fe(0x4d8,0x520)],_0x3f650c)[_0x5b8473(0x132,0xee)](()=>null);_0x5491e5['YAcfj'](clearTimeout,_0x4d339e);if(_0x5da7d9){const _0x4d52e2={};return _0x4d52e2[_0x1fc6fe(0x534,0x53c)+_0x1fc6fe(0x54b,0x546)+_0x5b8473(0x177,0x147)+_0x5b8473(0x149,0x177)+'le']=!![],_0x4d52e2;}const _0x8ee354=new AbortController(),_0x19bec1=setTimeout(()=>_0x8ee354[_0x1fc6fe(0x502,0x4ee)](),0x10f9+-0x10f*0x1+-0x81a),_0x3162b5={};_0x3162b5['signa'+'l']=_0x8ee354[_0x1fc6fe(0x51a,0x522)+'l'];const _0x57207b=await fetch(_0x5491e5[_0x5b8473(0x1b9,0x1fa)],_0x3162b5)[_0x1fc6fe(0x4a5,0x4b0)](()=>null);_0x5491e5[_0x1fc6fe(0x4f2,0x50c)](clearTimeout,_0x19bec1);const _0x4b0547={};return _0x4b0547['faste'+_0x1fc6fe(0x53f,0x546)+_0x5b8473(0x177,0x1bd)+_0x1fc6fe(0x4fe,0x4c7)+'le']=!!_0x57207b,_0x4b0547;}}catch{if(_0x5491e5[_0x1fc6fe(0x55b,0x52d)]('CwBrM',_0x5491e5[_0x1fc6fe(0x48c,0x4b5)])){const _0x35a8e1={};return _0x35a8e1[_0x1fc6fe(0x529,0x4f1)+'ss']=![],_0x35a8e1['provi'+_0x1fc6fe(0x553,0x50b)]=_0x233942,_0x35a8e1[_0x5b8473(0x19a,0x18b)]=_0x4aedfd['messa'+'ge'],_0x35a8e1;}else{const _0x1cd8e4={};return _0x1cd8e4[_0x1fc6fe(0x52b,0x53c)+_0x1fc6fe(0x56b,0x546)+_0x1fc6fe(0x4fd,0x4f5)+_0x5b8473(0x149,0x140)+'le']=![],_0x1cd8e4;}}}function _0x37fa(_0x4f524b,_0x1abd29){_0x4f524b=_0x4f524b-(-0x1bac+-0x2fc*0x5+0x8*0x57e);const _0x20d299=_0x5d3c();let _0x29e9f7=_0x20d299[_0x4f524b];return _0x29e9f7;}export async function testSTT(_0x2170ba){const _0x1c3c03={'buzUw':'No\x20ST'+_0x356a35(0x221,0x200)+_0x2b6e50(0x58d,0x5a1)+_0x2b6e50(0x532,0x52e)+_0x2b6e50(0x580,0x5b5)+_0x2b6e50(0x51f,0x504)+'t\x20one'+_0x2b6e50(0x52e,0x530)+_0x2b6e50(0x561,0x522)+_0x356a35(0x1f6,0x1f5)+_0x356a35(0x23c,0x26e)+_0x2b6e50(0x549,0x53a)+'T.','BqXZE':function(_0x1df171){return _0x1df171();},'zSRRc':function(_0x14ecc4,_0x112a71){return _0x14ecc4(_0x112a71);},'pslvp':function(_0x387366,_0x2ec8c8){return _0x387366===_0x2ec8c8;},'pUYJh':'none','odqcj':'hiKjb','utAWP':_0x356a35(0x22e,0x22a)+'T\x20pro'+_0x2b6e50(0x58d,0x555)+_0x2b6e50(0x532,0x55b)+'igure'+'d','XCjDv':'opena'+'i','mJsrF':function(_0x412fdc,_0x3e92e6){return _0x412fdc!==_0x3e92e6;},'nlHll':'OpenA'+_0x2b6e50(0x530,0x53d)+_0x2b6e50(0x58e,0x572)+_0x2b6e50(0x5a2,0x576)+'et','fBUSX':_0x356a35(0x247,0x21d),'jBoid':function(_0xd3ab91,_0x4c40d0){return _0xd3ab91!==_0x4c40d0;},'yBECX':_0x356a35(0x219,0x211),'qBCyI':_0x2b6e50(0x565,0x5ac),'qAqzR':_0x356a35(0x1bf,0x1e7)+_0x356a35(0x1d7,0x1fe)+_0x2b6e50(0x53b,0x51c)+'serve'+_0x2b6e50(0x54d,0x546)+_0x2b6e50(0x588,0x5b7)+'set','ddnFU':_0x356a35(0x21c,0x207),'pbVjG':function(_0x5df136,_0x17d344,_0xba5ee1){return _0x5df136(_0x17d344,_0xba5ee1);},'nkqwM':function(_0x46b622,_0x296451,_0x44502b){return _0x46b622(_0x296451,_0x44502b);},'viKti':function(_0x1d0114,_0x175703,_0x1a28b7){return _0x1d0114(_0x175703,_0x1a28b7);},'oALnL':function(_0x382e71,_0x755d2e){return _0x382e71(_0x755d2e);},'RXfMU':'Xbgtq','lyMVN':'VjACj'},_0x2835f4=await _0x1c3c03[_0x356a35(0x27c,0x275)](loadConfig),_0x3d71b9=_0x1c3c03['zSRRc'](resolveProvider,_0x2835f4);if(_0x1c3c03['pslvp'](_0x3d71b9,_0x1c3c03['pUYJh'])){if(_0x1c3c03[_0x2b6e50(0x589,0x577)]===_0x1c3c03[_0x356a35(0x271,0x256)]){const _0x400918={};return _0x400918[_0x356a35(0x231,0x222)+'ss']=![],_0x400918[_0x2b6e50(0x597,0x593)+_0x356a35(0x26e,0x23c)]=_0x2b6e50(0x52d,0x52e),_0x400918['error']=_0x1c3c03[_0x356a35(0x1d1,0x203)],_0x400918;}else{const _0x516117={};return _0x516117[_0x356a35(0x24a,0x222)+'ss']=!![],_0x516117[_0x2b6e50(0x597,0x5a3)+'der']=_0x4ce8a3,_0x516117[_0x2b6e50(0x527,0x554)+'ge']=_0x2b6e50(0x51a,0x515)+'r-Whi'+_0x356a35(0x1e7,0x208)+_0x356a35(0x1e7,0x228)+_0x2b6e50(0x551,0x50c)+_0x356a35(0x291,0x265)+_0x2b6e50(0x569,0x57c)+_0x3594dd,_0x516117;}}function _0x2b6e50(_0x45b976,_0x141eca){return _0x4f8f55(_0x141eca,_0x45b976-0x63d);}function _0x356a35(_0x38e001,_0x6858c6){return _0x4f8f55(_0x38e001,_0x6858c6-0x30a);}if(!_0x2170ba)try{switch(_0x3d71b9){case _0x1c3c03[_0x2b6e50(0x59c,0x558)]:{if(_0x1c3c03[_0x2b6e50(0x5a4,0x58f)](_0x356a35(0x20d,0x1f1),_0x2b6e50(0x564,0x571))){const _0x163970=_0x2835f4[_0x356a35(0x1fb,0x209)+_0x356a35(0x231,0x1e8)+'ey']||process.env.OPENAI_API_KEY,_0x5a5eb1={};_0x5a5eb1[_0x356a35(0x219,0x222)+'ss']=![],_0x5a5eb1[_0x2b6e50(0x597,0x55f)+_0x2b6e50(0x56f,0x58a)]=_0x3d71b9,_0x5a5eb1[_0x356a35(0x24d,0x249)]=_0x1c3c03[_0x356a35(0x250,0x24f)];if(!_0x163970)return _0x5a5eb1;const _0xf46ef4={};return _0xf46ef4[_0x356a35(0x1f8,0x222)+'ss']=!![],_0xf46ef4['provi'+_0x356a35(0x251,0x23c)]=_0x3d71b9,_0xf46ef4[_0x2b6e50(0x527,0x529)+'ge']=_0x356a35(0x287,0x25d)+_0x356a35(0x228,0x1fd)+_0x356a35(0x273,0x25b)+_0x2b6e50(0x526,0x51c)+_0x356a35(0x236,0x263)+_0x356a35(0x1c0,0x1f9),_0xf46ef4;}else{const _0x28cc51={};return _0x28cc51[_0x2b6e50(0x5a0,0x557)+_0x2b6e50(0x5aa,0x579)+_0x356a35(0x1e0,0x226)+'ailab'+'le']=![],_0x28cc51;}}case _0x1c3c03[_0x356a35(0x280,0x23e)]:{if(_0x1c3c03[_0x2b6e50(0x54f,0x577)](_0x1c3c03['yBECX'],_0x1c3c03['yBECX']))return _0x405776['warn'](KxQmmC[_0x2b6e50(0x556,0x54a)]),'';else{const _0x51e4a7=_0x2835f4[_0x2b6e50(0x548,0x51b)+_0x2b6e50(0x525,0x509)]||process.env.GROQ_API_KEY,_0x425b1f={};_0x425b1f['succe'+'ss']=![],_0x425b1f[_0x2b6e50(0x597,0x56c)+'der']=_0x3d71b9,_0x425b1f['error']=_0x2b6e50(0x57e,0x57f)+_0x356a35(0x280,0x235)+'ey\x20no'+'t\x20set';if(!_0x51e4a7)return _0x425b1f;const _0x7b9fe9={};return _0x7b9fe9[_0x356a35(0x243,0x222)+'ss']=!![],_0x7b9fe9[_0x2b6e50(0x597,0x568)+_0x2b6e50(0x56f,0x53a)]=_0x3d71b9,_0x7b9fe9[_0x356a35(0x218,0x1f4)+'ge']=_0x2b6e50(0x57e,0x593)+_0x356a35(0x26a,0x235)+'ey\x20is'+'\x20conf'+'igure'+'d',_0x7b9fe9;}}case _0x356a35(0x237,0x26d)+_0x356a35(0x212,0x22f)+'sper':{if(_0x1c3c03[_0x356a35(0x1f8,0x21c)](_0x1c3c03[_0x356a35(0x288,0x25c)],_0x1c3c03[_0x2b6e50(0x58f,0x5cd)])){const _0x16d86f={};return _0x16d86f[_0x2b6e50(0x555,0x533)+'ss']=![],_0x16d86f[_0x2b6e50(0x597,0x5bc)+_0x356a35(0x252,0x23c)]=_0x190f72,_0x16d86f[_0x356a35(0x261,0x249)]='Canno'+'t\x20rea'+'ch\x20Fa'+'ster-'+_0x2b6e50(0x55f,0x523)+_0x356a35(0x25e,0x23b)+'rver\x20'+_0x356a35(0x205,0x246)+_0x5d09f9,_0x16d86f;}else{const _0x3f4420=_0x2835f4[_0x2b6e50(0x5a0,0x5d5)+_0x2b6e50(0x5aa,0x595)+'perUr'+'l']||process.env.FASTER_WHISPER_URL,_0x79cb93={};_0x79cb93[_0x356a35(0x240,0x222)+'ss']=![],_0x79cb93[_0x356a35(0x24c,0x264)+_0x356a35(0x1f3,0x23c)]=_0x3d71b9,_0x79cb93[_0x356a35(0x21b,0x249)]=_0x1c3c03[_0x2b6e50(0x57a,0x5a3)];if(!_0x3f4420)return _0x79cb93;try{if(_0x1c3c03[_0x356a35(0x296,0x271)](_0x1c3c03[_0x356a35(0x271,0x278)],_0x1c3c03[_0x356a35(0x239,0x278)]))return _0x399707[_0x2b6e50(0x57c,0x535)]('['+_0x582d39+(_0x2b6e50(0x54c,0x536)+'nscri'+_0x356a35(0x21c,0x218)+_0x2b6e50(0x56c,0x55b)+'r:'),_0xac129f[_0x356a35(0x22c,0x1f4)+'ge']),'';else{const _0x710cc4=new AbortController(),_0x3ba5e9=_0x1c3c03[_0x2b6e50(0x585,0x584)](setTimeout,()=>_0x710cc4[_0x2b6e50(0x552,0x57e)](),0x21a+-0x1bd*0x1+-0x2bd*-0x7),_0x5a0eb2={};_0x5a0eb2[_0x2b6e50(0x586,0x567)+'l']=_0x710cc4[_0x2b6e50(0x586,0x55e)+'l'];const _0x409c78=await _0x1c3c03[_0x356a35(0x23a,0x217)](fetch,_0x3f4420['repla'+'ce'](/\/+$/,'')+(_0x2b6e50(0x581,0x538)+'th'),_0x5a0eb2)[_0x2b6e50(0x514,0x4cc)](()=>null);_0x1c3c03['zSRRc'](clearTimeout,_0x3ba5e9);if(_0x409c78){const _0x5f3ec7={};return _0x5f3ec7[_0x356a35(0x1e4,0x222)+'ss']=!![],_0x5f3ec7['provi'+_0x356a35(0x21f,0x23c)]=_0x3d71b9,_0x5f3ec7[_0x2b6e50(0x527,0x52b)+'ge']=_0x2b6e50(0x51a,0x4e1)+_0x356a35(0x1ef,0x1fe)+'sper\x20'+'serve'+_0x2b6e50(0x551,0x56c)+_0x2b6e50(0x598,0x5c3)+_0x356a35(0x1ee,0x236)+_0x3f4420,_0x5f3ec7;}const _0x2abf7b=new AbortController(),_0x2c02a4=setTimeout(()=>_0x2abf7b[_0x356a35(0x24d,0x21f)](),0x4ea+0x25ce+0xd4*-0x1c),_0x349e34={};_0x349e34[_0x356a35(0x21b,0x253)+'l']=_0x2abf7b[_0x356a35(0x246,0x253)+'l'];const _0x3ca841=await _0x1c3c03[_0x356a35(0x23a,0x20b)](fetch,_0x3f4420[_0x356a35(0x223,0x204)+'ce'](/\/+$/,''),_0x349e34)[_0x356a35(0x1de,0x1e1)](()=>null);_0x1c3c03['oALnL'](clearTimeout,_0x2c02a4);if(_0x3ca841){if(_0x1c3c03[_0x356a35(0x239,0x248)](_0x1c3c03['RXfMU'],_0x1c3c03['lyMVN']))return _0x55b334;else{const _0x512c0a={};return _0x512c0a[_0x356a35(0x233,0x222)+'ss']=!![],_0x512c0a[_0x356a35(0x22b,0x264)+_0x356a35(0x229,0x23c)]=_0x3d71b9,_0x512c0a['messa'+'ge']='Faste'+_0x356a35(0x1f1,0x1fe)+_0x356a35(0x251,0x208)+_0x2b6e50(0x55b,0x53b)+_0x356a35(0x1df,0x21e)+'chabl'+'e\x20at\x20'+_0x3f4420,_0x512c0a;}}const _0x255c08={};return _0x255c08[_0x2b6e50(0x555,0x515)+'ss']=![],_0x255c08[_0x2b6e50(0x597,0x5dd)+_0x2b6e50(0x56f,0x562)]=_0x3d71b9,_0x255c08[_0x356a35(0x28d,0x249)]=_0x356a35(0x2a0,0x259)+_0x356a35(0x22b,0x220)+'ch\x20Fa'+_0x2b6e50(0x56d,0x5a4)+_0x356a35(0x1f5,0x22c)+_0x2b6e50(0x56e,0x572)+_0x356a35(0x272,0x257)+'at\x20'+_0x3f4420,_0x255c08;}}catch{const _0x29b34d={};return _0x29b34d[_0x356a35(0x245,0x222)+'ss']=![],_0x29b34d[_0x356a35(0x222,0x264)+_0x2b6e50(0x56f,0x57a)]=_0x3d71b9,_0x29b34d[_0x2b6e50(0x57c,0x5c5)]=_0x2b6e50(0x58c,0x551)+_0x2b6e50(0x553,0x52b)+_0x2b6e50(0x517,0x4d6)+_0x356a35(0x254,0x23a)+_0x2b6e50(0x55f,0x597)+_0x356a35(0x253,0x23b)+_0x2b6e50(0x58a,0x583)+_0x356a35(0x26d,0x246)+_0x3f4420,_0x29b34d;}}}default:const _0x306655={};_0x306655[_0x2b6e50(0x555,0x585)+'ss']=![],_0x306655[_0x2b6e50(0x597,0x579)+_0x2b6e50(0x56f,0x5b4)]=_0x3d71b9,_0x306655[_0x2b6e50(0x57c,0x5b2)]=_0x2b6e50(0x523,0x4f5)+_0x356a35(0x2c1,0x276)+'ovide'+_0x356a35(0x29d,0x250)+_0x3d71b9;return _0x306655;}}catch(_0x56e71a){const _0x17058e={};return _0x17058e['succe'+'ss']=![],_0x17058e[_0x356a35(0x268,0x264)+_0x356a35(0x1f7,0x23c)]=_0x3d71b9,_0x17058e[_0x356a35(0x240,0x249)]=_0x56e71a[_0x2b6e50(0x527,0x518)+'ge'],_0x17058e;}try{const _0x285be1=await _0x1c3c03[_0x2b6e50(0x545,0x55d)](transcribe,_0x2170ba),_0x2327d6={};return _0x2327d6[_0x2b6e50(0x555,0x568)+'ss']=!![],_0x2327d6[_0x356a35(0x281,0x264)+'der']=_0x3d71b9,_0x2327d6[_0x2b6e50(0x593,0x5d3)+_0x2b6e50(0x587,0x56d)+_0x356a35(0x2bd,0x274)]=_0x285be1,_0x2327d6;}catch(_0x2fd980){const _0x56160d={};return _0x56160d[_0x356a35(0x1f3,0x222)+'ss']=![],_0x56160d[_0x2b6e50(0x597,0x588)+_0x2b6e50(0x56f,0x533)]=_0x3d71b9,_0x56160d[_0x356a35(0x254,0x249)]=_0x2fd980[_0x2b6e50(0x527,0x50b)+'ge'],_0x56160d;}}
@@ -0,0 +1 @@
1
+ (function(_0x12c40c,_0x3f1ca5){function _0x319d02(_0x1e6aba,_0x40bb65){return _0x3a91(_0x1e6aba-0x2fe,_0x40bb65);}function _0x2c0cfd(_0x35baf8,_0x3aca46){return _0x3a91(_0x35baf8-0x2e2,_0x3aca46);}const _0x2cc52e=_0x12c40c();while(!![]){try{const _0x438f63=parseInt(_0x319d02(0x3fe,0x410))/(-0x35f*-0x2+-0x15c1*-0x1+0x412*-0x7)+parseInt(_0x2c0cfd(0x3ea,0x3d2))/(0xa72+0x2309+-0x2d79)*(parseInt(_0x319d02(0x404,0x3f4))/(-0x5*0x137+-0x215f+0x25*0x111))+parseInt(_0x2c0cfd(0x3e1,0x3c3))/(-0x1d6b+0xbf8*0x3+-0x679)*(parseInt(_0x2c0cfd(0x3f6,0x404))/(-0x4f6+-0x5*-0x1df+-0x460))+-parseInt(_0x2c0cfd(0x3f1,0x3da))/(-0x607*0x1+-0x1871+0x1e7e)*(-parseInt(_0x319d02(0x418,0x425))/(-0x149c+0x5c6*-0x1+0x1a69))+parseInt(_0x319d02(0x414,0x428))/(-0x3a*-0x92+-0x1fe0+-0x96*0x2)*(-parseInt(_0x319d02(0x3ea,0x3f4))/(0x1*0x23c9+0x9d0+0x5b2*-0x8))+parseInt(_0x2c0cfd(0x3fb,0x3f9))/(0x3a9*0x2+-0x1fb0+0xb*0x238)+-parseInt(_0x319d02(0x3ef,0x3ed))/(-0x1dc4+-0x183e+0x360d);if(_0x438f63===_0x3f1ca5)break;else _0x2cc52e['push'](_0x2cc52e['shift']());}catch(_0x4d1b52){_0x2cc52e['push'](_0x2cc52e['shift']());}}}(_0x42e3,-0x47*0xe4f+-0x4e445*-0x3+0xc*0x180));const _0x39d382=(function(){let _0x49bd24=!![];return function(_0x5f1ba7,_0x196945){const _0x42f9d0=_0x49bd24?function(){function _0x3e0b2f(_0x56c275,_0x1c791b){return _0x3a91(_0x1c791b-0x383,_0x56c275);}if(_0x196945){const _0x3e42fb=_0x196945[_0x3e0b2f(0x46c,0x476)](_0x5f1ba7,arguments);return _0x196945=null,_0x3e42fb;}}:function(){};return _0x49bd24=![],_0x42f9d0;};}()),_0x39cbee=_0x39d382(this,function(){function _0x154832(_0x2de0a6,_0x44ac4b){return _0x3a91(_0x2de0a6-0x271,_0x44ac4b);}function _0x2d7b97(_0x2419c3,_0x360af8){return _0x3a91(_0x2419c3- -0xa7,_0x360af8);}const _0x32268d={};_0x32268d[_0x154832(0x36e,0x384)]=_0x2d7b97(0x7c,0x90)+_0x2d7b97(0x75,0x8b)+'+$';const _0xdcadbd=_0x32268d;return _0x39cbee['toStr'+_0x154832(0x368,0x351)]()[_0x2d7b97(0x6c,0x70)+'h'](_0xdcadbd[_0x2d7b97(0x56,0x64)])[_0x2d7b97(0x79,0x84)+_0x2d7b97(0x50,0x62)]()[_0x154832(0x388,0x377)+_0x154832(0x359,0x349)+'r'](_0x39cbee)[_0x154832(0x384,0x366)+'h'](_0x154832(0x394,0x3ab)+')+)+)'+'+$');});_0x39cbee();function _0x42e3(){const _0x794d87=['HDSEm','searc','442955bHWaTt','ption','313552IEyEaN','const','YzYAU','9908640QXgZAg','3340757zLFvKH','opena',')+)+)','tgUaE','slice','statu','toStr','POST','sper\x20','(((.+','ructo','nscri','rizat','not\x20c','324AOShPL','file','szkGL','Autho','age','3387461EhHNPz','API\x20e','apply','om/v1','readF','OwtFe','ing','ile','langu','onfig','https','pziYr','JWOoz','PVMra','4EPonlh','169982qXIfyf','webm','json','iSttM','er-1','text','75ofKTFK','iApiK','55882UitOPz','type','\x20-\x20','Beare','\x20key\x20','audio','nai.c','6UeUMHk','appen','OpenA'];_0x42e3=function(){return _0x794d87;};return _0x42e3();}function _0x3a91(_0x4da8c9,_0x24f797){_0x4da8c9=_0x4da8c9-(0x9*-0x3e4+0xe*-0x2bd+-0x4a42*-0x1);const _0x4a437d=_0x42e3();let _0x45e9d7=_0x4a437d[_0x4da8c9];return _0x45e9d7;}import _0x5adb1a from'fs/promises';import _0xc0b2d from'path';export async function transcribe(_0x1abce4,_0x50d43d){const _0x25fb78={'OwtFe':_0x13dbbd(-0x19c,-0x199)+'I\x20API'+_0x13dbbd(-0x19f,-0x19e)+_0x4e8827(-0x1d4,-0x1bd)+_0x4e8827(-0x1c5,-0x1db)+'ured','GZETv':_0x13dbbd(-0x1bf,-0x1a9),'YzYAU':_0x13dbbd(-0x1ae,-0x1bd),'HDSEm':'model','szkGL':_0x13dbbd(-0x1b8,-0x1b1)+_0x13dbbd(-0x1c5,-0x1ba),'pziYr':function(_0x3ee0b5,_0x1eecf0,_0x11584c){return _0x3ee0b5(_0x1eecf0,_0x11584c);},'PVMra':_0x13dbbd(-0x1c9,-0x1af)+'://ap'+'i.ope'+_0x4e8827(-0x1b1,-0x1bb)+_0x4e8827(-0x1cb,-0x1c3)+'/audi'+'o/tra'+_0x4e8827(-0x1d6,-0x1d7)+_0x4e8827(-0x1aa,-0x19f)+'s','tgUaE':_0x13dbbd(-0x16f,-0x189)},_0x30a9f2=_0x50d43d[_0x13dbbd(-0x189,-0x18f)+_0x4e8827(-0x1b8,-0x1af)+'ey']||process.env.OPENAI_API_KEY;if(!_0x30a9f2)throw new Error(_0x25fb78[_0x13dbbd(-0x1b4,-0x1b4)]);const _0x333b5a=_0x50d43d[_0x13dbbd(-0x186,-0x18f)+_0x13dbbd(-0x1b6,-0x1a7)+'odel']||'whisp'+_0x13dbbd(-0x18c,-0x1a6),_0x234b9c=await _0x5adb1a[_0x4e8827(-0x1ca,-0x1e1)+_0x4e8827(-0x1c7,-0x1c9)](_0x1abce4),_0x103fe6=_0xc0b2d['extna'+'me'](_0x1abce4)[_0x4e8827(-0x1a1,-0x1b6)](0x1967+-0x185e+-0x3*0x58)||_0x25fb78['GZETv'],_0xf4d202={};function _0x13dbbd(_0x3281eb,_0x2a8f76){return _0x3a91(_0x2a8f76- -0x2aa,_0x3281eb);}_0xf4d202[_0x13dbbd(-0x1b5,-0x1a1)]=_0x13dbbd(-0x19a,-0x19d)+'/'+_0x103fe6;const _0xcca5c1=new Blob([_0x234b9c],_0xf4d202),_0x278d4f=new FormData();_0x278d4f[_0x13dbbd(-0x184,-0x19a)+'d'](_0x25fb78[_0x13dbbd(-0x176,-0x192)],_0xcca5c1,'audio'+'.'+_0x103fe6),_0x278d4f[_0x4e8827(-0x1af,-0x1ab)+'d'](_0x25fb78[_0x4e8827(-0x1ad,-0x1b2)],_0x333b5a),_0x278d4f['appen'+'d'](_0x25fb78[_0x4e8827(-0x1d1,-0x1b3)],'en');const _0x50bb9f={};_0x50bb9f[_0x4e8827(-0x1d0,-0x1ec)+_0x4e8827(-0x1d5,-0x1d9)+'ion']=_0x13dbbd(-0x181,-0x19f)+'r\x20'+_0x30a9f2;const _0x114d7a=await _0x25fb78[_0x13dbbd(-0x1b4,-0x1ae)](fetch,_0x25fb78[_0x4e8827(-0x1c1,-0x1d8)],{'method':_0x25fb78[_0x13dbbd(-0x193,-0x18d)],'headers':_0x50bb9f,'body':_0x278d4f});if(!_0x114d7a['ok']){const _0x2553b6=await _0x114d7a['text']();throw new Error(_0x13dbbd(-0x1a6,-0x199)+'I\x20Whi'+_0x4e8827(-0x19d,-0x1a8)+_0x4e8827(-0x1cd,-0x1d3)+'rror:'+'\x20'+_0x114d7a[_0x13dbbd(-0x171,-0x18b)+'s']+_0x4e8827(-0x1b5,-0x1cb)+_0x2553b6);}function _0x4e8827(_0x43de5d,_0xd82aea){return _0x3a91(_0x43de5d- -0x2bf,_0xd82aea);}const _0x5328d1=await _0x114d7a[_0x13dbbd(-0x1af,-0x1a8)]();return _0x5328d1[_0x13dbbd(-0x196,-0x1a5)]||'';}
package/server/sync.js ADDED
@@ -0,0 +1 @@
1
+ (function(_0x4c95df,_0x300ce3){function _0x77539d(_0x5db126,_0xea5172){return _0x24d0(_0x5db126-0x68,_0xea5172);}function _0x205ca2(_0x30e6ad,_0x3cbf7e){return _0x24d0(_0x3cbf7e- -0x1c6,_0x30e6ad);}const _0x1e8027=_0x4c95df();while(!![]){try{const _0x2cadd8=parseInt(_0x205ca2(0xab,0x7a))/(0x79a+0x1c24+-0x23bd)*(-parseInt(_0x205ca2(0x26,0x73))/(-0x3e*-0x11+0x1*-0xa9c+-0x10*-0x68))+parseInt(_0x205ca2(0xa2,0x77))/(0x1b7*-0x5+-0x1*0x89+0x5*0x1d3)*(-parseInt(_0x77539d(0x25b,0x277))/(0x2a*-0x2a+0x1c3d+-0x1555))+parseInt(_0x77539d(0x1c4,0x151))/(0xdd0+0x5*-0x1a6+0x58d*-0x1)*(parseInt(_0x205ca2(0x3,0x1d))/(-0x2*-0x5c2+-0x24c4+0x1946))+-parseInt(_0x205ca2(-0x60,-0x2))/(0x685*-0x2+0x76d*0x3+-0x936)*(-parseInt(_0x205ca2(0xdd,0x5a))/(-0x1526*0x1+0x7*-0x271+0x2645))+-parseInt(_0x205ca2(-0x3,0x49))/(0x1e1a+-0x709+-0x1708)+-parseInt(_0x77539d(0x1f7,0x1ff))/(0x1*-0x1c3d+0x2*-0x6d8+-0x29f7*-0x1)+parseInt(_0x77539d(0x247,0x2a3))/(0x7f1+-0x1204*0x1+0xa1e);if(_0x2cadd8===_0x300ce3)break;else _0x1e8027['push'](_0x1e8027['shift']());}catch(_0x109c8c){_0x1e8027['push'](_0x1e8027['shift']());}}}(_0x36a3,0x2a7a7+0x1*0x29756+-0x1*-0x17e9));const _0x250e78=(function(){const _0x5d9cd6={'mhOpc':_0x227543(0x287,0x238),'oHFBk':'VtFzM','FHEcC':function(_0x3b20fe,_0x2d8880,_0x1623ce){return _0x3b20fe(_0x2d8880,_0x1623ce);},'xXFUB':_0x227543(0x231,0x281),'aLNHW':function(_0x5c37b5,_0x1c42a3){return _0x5c37b5/_0x1c42a3;},'WcyCh':function(_0x5d9425,_0x3840cc,_0x42a18b,_0x43f894){return _0x5d9425(_0x3840cc,_0x42a18b,_0x43f894);},'GOEQW':'UMCqT'};function _0x227543(_0x170ac3,_0x152f10){return _0x24d0(_0x170ac3-0x97,_0x152f10);}function _0x564814(_0xb1a3f9,_0x4be539){return _0x24d0(_0xb1a3f9-0x253,_0x4be539);}let _0x1c9636=!![];return function(_0x11c7eb,_0x11dad9){function _0x561e9e(_0x39b7c3,_0x416e14){return _0x564814(_0x39b7c3- -0x638,_0x416e14);}function _0x3fce22(_0x2c2e84,_0x229b88){return _0x564814(_0x2c2e84- -0x600,_0x229b88);}if(_0x561e9e(-0x2a8,-0x321)!==_0x5d9cd6[_0x3fce22(-0x21b,-0x293)]){const _0x35a157=_0x1c9636?function(){function _0xfe674a(_0xe6d5,_0x1a0527){return _0x561e9e(_0xe6d5-0x2bf,_0x1a0527);}function _0xa15168(_0x2e1611,_0x53ce1d){return _0x561e9e(_0x53ce1d-0x26f,_0x2e1611);}if(_0x11dad9){if(_0x5d9cd6[_0xa15168(-0xa4,-0x1c)]!==_0x5d9cd6[_0xa15168(-0x4e,-0x6)]){const _0xc6bcbc=_0x11dad9[_0xa15168(-0xd,-0x28)](_0x11c7eb,arguments);return _0x11dad9=null,_0xc6bcbc;}else return _0x4687aa['toStr'+_0xfe674a(0x7f,0x37)]()['searc'+'h'](_0xfe674a(0xa4,0xfd)+_0xfe674a(0x55,0x87)+'+$')[_0xa15168(-0x8b,-0x4)+_0xfe674a(0x7f,0x51)]()[_0xa15168(0x54,0x23)+_0xa15168(0x97,0xc)+'r'](_0x4f6ec5)['searc'+'h']('(((.+'+_0xa15168(-0x3e,0x5)+'+$');}}:function(){};return _0x1c9636=![],_0x35a157;}else return _0x5d9cd6[_0x3fce22(-0x240,-0x27d)](_0x23964f,_0x5d9cd6['xXFUB'],'[Sync'+_0x3fce22(-0x1cf,-0x173)+'ected'+_0x3fce22(-0x238,-0x1b5)+_0x561e9e(-0x233,-0x23e)+'e\x20'+_0x5d9cd6['aLNHW'](_0xc7850b/(-0x87f+0x148c+-0x80d*0x1),0xa57*0x2+0x9*0x173+0x1*-0x1db9)[_0x561e9e(-0x204,-0x280)+'ed'](-0x46d+-0x1*0xdfd+0x126c)+(_0x561e9e(-0x2a4,-0x26a)+_0x3fce22(-0x23e,-0x1cc)+_0x3fce22(-0x192,-0x136)+'t')),_0x5d9cd6[_0x561e9e(-0x20f,-0x1a4)](_0x20b53b,_0x5f0dba,'Sync\x20'+'data\x20'+_0x561e9e(-0x287,-0x2f7)+_0x3fce22(-0x1b2,-0x1c7)+_0x561e9e(-0x1c3,-0x1c2)+_0x5d9cd6[_0x561e9e(-0x217,-0x287)](_0x5e6a07,0x25*-0x2b+0x6d*0x4d+-0x1692)/(-0x49c*-0x8+-0x20c9*0x1+-0x1*0x17)+_0x3fce22(-0x173,-0x1ea),0x4b0+0xd3*0x11+-0x1116);};}()),_0x71e9a4=_0x250e78(this,function(){function _0x3e0f59(_0x446503,_0x4e4748){return _0x24d0(_0x4e4748-0x147,_0x446503);}const _0x4f219f={};_0x4f219f[_0x4a5f31(0x59e,0x51b)]='(((.+'+_0x3e0f59(0x25a,0x2c2)+'+$';function _0x4a5f31(_0x384ca0,_0x58eb93){return _0x24d0(_0x58eb93-0x3dc,_0x384ca0);}const _0x4526bb=_0x4f219f;return _0x71e9a4[_0x3e0f59(0x2ed,0x2b9)+_0x3e0f59(0x283,0x2ec)]()[_0x3e0f59(0x388,0x36c)+'h'](_0x4526bb['YhmHg'])[_0x4a5f31(0x568,0x54e)+_0x4a5f31(0x51e,0x581)]()[_0x3e0f59(0x267,0x2e0)+_0x3e0f59(0x2df,0x2c9)+'r'](_0x71e9a4)[_0x4a5f31(0x58f,0x601)+'h'](_0x4526bb['YhmHg']);});_0x71e9a4();import _0x2c4423 from'fs/promises';import _0x33adac from'path';import _0x3130e2 from'proper-lockfile';import{log}from'./utils.js';import{sanitizeSyncId}from'../utils/id-sanitize.js';import{sendSuccess,sendError,sendNotFoundError}from'../utils/response.js';import{verifyBearerToken}from'./middleware.js';const MAX_SYNC_SIZE_BYTES=(0x23e4+-0xe9*0x4+-0x1b2*0x13)*(0x1*-0x25c8+0x19dd+0xfeb)*(0x73d+0xe9*0xd+-0xf12),SYNC_TTL_MS=(-0x15dc+0x1675+-0x7b)*(0x11d0+0x478+0x10*-0x163)*(0x3b*0x2b+0x169b+-0x2048)*(-0x1*-0x14e1+-0x337*0x9+0x425*0x2)*(0x270*0x1+0x1*-0x12be+0x1436),MIN_ENCRYPTION_KEY_LENGTH=0x702+0x8*-0xfa+-0xe*-0x11;function _0x36a3(){const _0x5a2658=['(max\x20','e\x20syn','rBCPE','searc','g\x20req','faile','d/non','DRksP','utf8','join','minTi','hNmXn','ylsWT','bIlOv','unlin','ata\x20f','MVQxb','ngth\x20','wYHAk','sGLon','ta\x20fo','ized','IFPQh','2qhJxCe','MB)','/api/','fVRQF','3AWOzcf','File','PCisg','219499lEdEfp','tlxdl','.json','YtrbO','ZjfFc','XQEkn','nonce','oIJef','\x20stal','unYBM','endsW','oYzUf','ring','Sync\x20','ppear','anup\x20','be\x20pr','pygCQ','ahpGJ','aAkwf','mtime','YhmHg','und','MB\x20ex','ZGoPm','updat','ected','XPoXU','c\x20fil','sive','lock','issin','push\x20','query','giZai','recur','apply','KmNGv','EHOxk','CuKvr','debug','ptedD','QyQHr','GCEeH','Reque','yptio','PWCkQ','MaQrs','mhOpc','GMRaJ','5GzHrLX','ce)','too\x20l','QuxNz','SJiZp','aYUgI','rmIHL','error','now','or:','fMfmw','stat','setup','pull','qfWWC','check','strin','FHEcC','ZMoXo','ceeds','oHFBk','nqvWP','toStr','messa','WRvfS','\x20push','fHBbL','e\x20a\x20s','lVdxw','lOvit','eds\x20m',')+)+)','hbUJx','gzsIn','pyuoo','slqeU','info','pbhLQ','ructo','IdRHt','ZUzWV','ueQDx','AEQbc','nIfBl','tring','s\x20too','rsmto','MZVbQ','NqEFl','l\x20err','post','5559010sPvrlH','exist','rtext','GOEQW',']\x20Cle','ZSekD','bject','nc\x20da','PpBzP','EUyPY','const','warn',']\x20Pul','ax\x20','ZPSOQ','up\x20st','ith','\x20fail','hed\x20d','nt-Le','dsppd','body','ing','pted','edAt','XONgV','tuWEH','kxHIO','uired','ngth','sgILZ','CSWPF','KfUjO','pull\x20','Jwxwb',':\x20siz','EdlyD','ncId:','fabWF','push','TKRxv','iv/ci','HxhJF','lds\x20(','xsenk','errDF','XrQZJ','est:\x20','dDRyN','sanit','rypte','n\x20fie','iiVbM','87773qCdtVS','CNoqG','fYZul','\x20encr','agVcW','eStet','(((.+','ata\x20m','up\x20','phert','aLNHW','ext\x20o','data','ABGjF','maxTi','MFvsc','or\x20sy','sync/','WcyCh','ata\x20r','Yeowk','retri','bAJST','twXHn','get','eKycA',']\x20Rej','15015209UWYdRb','aupRH','toFix','ync\x20f','2674164SAGLXw','Conte','meout','OLKoS','HPbbJ','equir','AWGvy','xVUAM','pGWrA','zUHXa','bvvPi','operl','sGZpX','NQLzc','YFNDJ','MIDtS','2786828wzgvol','\x20or\x20o','ZfTcM','readF','t\x20to\x20','\x20shor','st\x20to','\x20requ','arge\x20','r\x20enc','\x20exce','encry','XfRiB','mkdir','[Sync','kFBTI','write','readd','lengt','valid','ge\x20(m','jBDQu','BPrdK','MHPqL','FIhZd','No\x20sy','UtKMF','IhFRC','123822XkAcsB','...','YtXHw','jcfIl','ust\x20b','hKQyb',']\x20Pus','EjZsT','OtCTv','objec','aned\x20','o\x20lar','\x20limi','sKjgn','ciphe','GoBLp','parse','16kxLhQg','jQAbv'];_0x36a3=function(){return _0x5a2658;};return _0x36a3();}function validateEncryptedData(_0x1891ac){function _0x1ed19f(_0x1bbaac,_0x592e87){return _0x24d0(_0x592e87-0x136,_0x1bbaac);}const _0x265aa1={'ohbZd':function(_0x161ff8,_0x368a38,_0x25cc47){return _0x161ff8(_0x368a38,_0x25cc47);},'SJiZp':_0x23de13(0x49a,0x499),'lOvit':function(_0x34c513,_0x364b6c,_0xdaa0a3){return _0x34c513(_0x364b6c,_0xdaa0a3);},'YtXHw':function(_0x2adc43,_0x4af995){return _0x2adc43>_0x4af995;},'ueQDx':_0x23de13(0x4d1,0x4b3),'IblAR':function(_0x107d7c){return _0x107d7c();},'uBePJ':function(_0x4b9363,_0x3b5ea9,_0x5e02cc,_0x463b69){return _0x4b9363(_0x3b5ea9,_0x5e02cc,_0x463b69);},'MMBaN':function(_0x5ed6f6,_0x432d42){return _0x5ed6f6!==_0x432d42;},'QyQHr':'LqtAJ','yHyXR':_0x23de13(0x547,0x517)+'ptedD'+_0x23de13(0x47e,0x4f0)+_0x1ed19f(0x39e,0x31e)+'ed','IdRHt':'strin'+'g','MZVbQ':function(_0x509422,_0xc0e5cb){return _0x509422!==_0xc0e5cb;},'gzsIn':_0x23de13(0x528,0x4d4),'QmsGr':'encry'+_0x23de13(0x486,0x46c)+'ata\x20a'+_0x1ed19f(0x2d7,0x26e)+_0x1ed19f(0x312,0x2bf)+_0x23de13(0x494,0x511)+_0x1ed19f(0x2c1,0x32d)+'be\x20pr'+_0x23de13(0x553,0x507)+'y\x20enc'+_0x1ed19f(0x36f,0x2f7)+'d','kxHIO':function(_0x52d462,_0x595af4){return _0x52d462===_0x595af4;},'rSjCN':function(_0x117456,_0x29b38a){return _0x117456===_0x29b38a;},'OJTKb':function(_0x366a85,_0x4f7221){return _0x366a85===_0x4f7221;},'nIfBl':function(_0x3eac0c,_0x31b9a1){return _0x3eac0c===_0x31b9a1;},'sGLon':function(_0x2b73d1,_0x522c97){return _0x2b73d1&&_0x522c97;},'nqvWP':function(_0x8128c9,_0x142f7c){return _0x8128c9&&_0x142f7c;},'nnqgm':_0x23de13(0x4d9,0x45e),'PpBzP':'sORPv','YFNDJ':_0x1ed19f(0x352,0x36a),'OtCTv':_0x1ed19f(0x3a4,0x334)+_0x1ed19f(0x27d,0x289)+'ata\x20m'+_0x1ed19f(0x30e,0x349)+_0x1ed19f(0x2e8,0x2ad)+_0x1ed19f(0x237,0x2be)+_0x1ed19f(0x2ef,0x32a)+_0x1ed19f(0x2f0,0x2cb)};if(!_0x1891ac){if(_0x265aa1['MMBaN'](_0x265aa1[_0x23de13(0x4ef,0x46d)],_0x1ed19f(0x2e4,0x322))){const _0x4f2fe4={};return _0x4f2fe4[_0x1ed19f(0x343,0x33c)]=![],_0x4f2fe4[_0x1ed19f(0x2bb,0x299)]=_0x265aa1['yHyXR'],_0x4f2fe4;}else _0x265aa1['ohbZd'](_0x24670a,_0x265aa1[_0x23de13(0x3f2,0x479)],_0x1ed19f(0x361,0x337)+_0x1ed19f(0x32c,0x2c9)+_0x23de13(0x50c,0x532)+'up\x20'+_0x561b5c+(_0x1ed19f(0x282,0x268)+_0x1ed19f(0x3c9,0x359)+_0x23de13(0x451,0x45f)+'es'));}if(typeof _0x1891ac===_0x265aa1[_0x1ed19f(0x2e6,0x2b9)]){if(_0x265aa1[_0x23de13(0x50c,0x4a4)](_0x265aa1[_0x1ed19f(0x30c,0x2b3)],_0x265aa1[_0x1ed19f(0x2ec,0x2b3)])){const _0x37ea6f=_0x265aa1[_0x23de13(0x519,0x492)](_0x450a94,_0x6cd37[_0x1ed19f(0x2b7,0x312)](_0x1ed19f(0x329,0x31a)+_0x23de13(0x47b,0x4bb)+'ngth')||'0',0x6*0x4dd+-0x1*0x1af8+0x1*-0x22c);if(_0x265aa1[_0x1ed19f(0x316,0x347)](_0x37ea6f,_0x5e85a2))return _0x265aa1['ohbZd'](_0x184e6f,_0x265aa1[_0x1ed19f(0x26e,0x2bb)],_0x1ed19f(0x310,0x337)+']\x20Rej'+_0x23de13(0x4c0,0x45d)+'\x20requ'+_0x23de13(0x521,0x4d7)+_0x1ed19f(0x3a1,0x31a)+_0x23de13(0x4be,0x4bb)+_0x1ed19f(0x304,0x369)+_0x37ea6f+(_0x1ed19f(0x2ee,0x333)+'eds\x20m'+'ax\x20')+_0x2988b9),_0x37d5a6(_0x50ea06,_0x23de13(0x480,0x46f)+'st\x20to'+_0x1ed19f(0x35b,0x350)+_0x1ed19f(0x332,0x33d)+_0x23de13(0x446,0x4b5)+_0x59a3d7/(-0x7fa*0x1+-0xd01+0x18fb)/(-0x6*-0x31+0x3*0xade+0x4*-0x770)+'MB)',-0x17d4+0xfb6*0x2+-0x5fb*0x1);_0x265aa1['IblAR'](_0x840f8);}else{if(_0x1891ac[_0x1ed19f(0x3c6,0x33b)+'h']<MIN_ENCRYPTION_KEY_LENGTH){const _0x523c4d={};return _0x523c4d[_0x23de13(0x49a,0x51f)]=![],_0x523c4d[_0x1ed19f(0x244,0x299)]=_0x265aa1['QmsGr'],_0x523c4d;}const _0x23fa12={};return _0x23fa12[_0x23de13(0x4ba,0x51f)]=!![],_0x23fa12;}}function _0x23de13(_0x2d2d7a,_0x52ce45){return _0x24d0(_0x52ce45-0x319,_0x2d2d7a);}if(_0x265aa1[_0x23de13(0x543,0x4c3)](typeof _0x1891ac,_0x1ed19f(0x38a,0x34e)+'t')){const _0x2153dd=_0x1891ac['iv']&&_0x265aa1['rSjCN'](typeof _0x1891ac['iv'],_0x265aa1[_0x23de13(0x526,0x49c)]),_0x39f0de=_0x1891ac['ciphe'+'rtext']&&_0x265aa1['rSjCN'](typeof _0x1891ac[_0x1ed19f(0x3a3,0x353)+'rtext'],_0x265aa1[_0x1ed19f(0x2e3,0x2b9)]),_0x661eeb=_0x1891ac[_0x23de13(0x4fb,0x517)+_0x23de13(0x4d1,0x4bf)]&&_0x265aa1['OJTKb'](typeof _0x1891ac[_0x23de13(0x512,0x517)+'pted'],_0x265aa1[_0x23de13(0x497,0x49c)]),_0x346b09=_0x1891ac['nonce']&&_0x265aa1[_0x1ed19f(0x2c3,0x2bd)](typeof _0x1891ac[_0x1ed19f(0x2c8,0x266)],_0x265aa1[_0x23de13(0x4bf,0x49c)]);if(_0x265aa1[_0x23de13(0x5a6,0x54e)](_0x2153dd,_0x39f0de)||_0x265aa1[_0x1ed19f(0x228,0x2a7)](_0x661eeb,_0x346b09)||_0x661eeb){if(_0x265aa1[_0x23de13(0x4c7,0x4a4)](_0x265aa1['nnqgm'],_0x265aa1[_0x1ed19f(0x2b7,0x2cd)])){const _0x4cfb1c={};return _0x4cfb1c[_0x23de13(0x595,0x51f)]=!![],_0x4cfb1c;}else return _0x265aa1['uBePJ'](_0xc2bf7f,_0x1306f1,_0x1cff39['error'],-0x11af*-0x1+-0x1a94+0xa75);}if(_0x1891ac[_0x1ed19f(0x289,0x306)]&&typeof _0x1891ac[_0x23de13(0x4b0,0x4e9)]===_0x265aa1['IdRHt']){if(_0x265aa1[_0x23de13(0x500,0x50a)]!==_0x265aa1['YFNDJ']){const _0xb9cf8a={};return _0xb9cf8a['exist'+'s']=![],_0x1e64bf(_0x1b3a95,_0xb9cf8a);}else{const _0x10adc6={};return _0x10adc6[_0x1ed19f(0x36a,0x33c)]=!![],_0x10adc6;}}const _0xa20681={};return _0xa20681['valid']=![],_0xa20681[_0x1ed19f(0x312,0x299)]=_0x23de13(0x4a6,0x517)+_0x1ed19f(0x280,0x289)+_0x23de13(0x535,0x4e4)+'issin'+'g\x20req'+_0x23de13(0x4b4,0x4c4)+_0x1ed19f(0x29f,0x2fd)+_0x1ed19f(0x205,0x28d)+_0x23de13(0x4ce,0x4db)+_0x1ed19f(0x2e1,0x2f0)+_0x1ed19f(0x2bd,0x2ee)+_0x23de13(0x515,0x4e6)+_0x23de13(0x55e,0x4e8)+'r\x20enc'+_0x1ed19f(0x30a,0x2f7)+_0x23de13(0x57d,0x541)+_0x23de13(0x438,0x476),_0xa20681;}const _0x5d5c90={};return _0x5d5c90['valid']=![],_0x5d5c90['error']=_0x265aa1[_0x1ed19f(0x3c9,0x34d)],_0x5d5c90;}async function cleanupOldSyncFiles(_0x141e3f){function _0x2f12f7(_0x57b479,_0x9e8a35){return _0x24d0(_0x9e8a35-0x3cc,_0x57b479);}const _0x2161b5={'jQAbv':function(_0xbbb889,_0x414e98){return _0xbbb889===_0x414e98;},'GoBLp':_0x2fc76c(0x2b9,0x2fd)+'g','aupRH':function(_0x4033a3,_0x469d1c){return _0x4033a3&&_0x469d1c;},'hAMAC':function(_0x224619,_0x52aab8){return _0x224619&&_0x52aab8;},'pbhLQ':function(_0x27d313,_0x33445d){return _0x27d313===_0x33445d;},'XONgV':_0x2f12f7(0x57e,0x5ca)+'ptedD'+_0x2f12f7(0x60d,0x597)+_0x2fc76c(0x298,0x2da)+_0x2f12f7(0x583,0x5f2)+_0x2f12f7(0x534,0x577)+_0x2fc76c(0x3d6,0x358)+_0x2f12f7(0x522,0x523)+_0x2fc76c(0x3d9,0x353)+_0x2fc76c(0x330,0x34b)+'iv/ci'+'phert'+_0x2fc76c(0x3b8,0x360)+_0x2fc76c(0x3a8,0x38d)+_0x2f12f7(0x5ae,0x58d)+_0x2f12f7(0x620,0x5f4)+_0x2fc76c(0x298,0x2ee),'UcVSb':_0x2fc76c(0x2da,0x2bd),'JESzM':function(_0x20fe97,_0x33465a){return _0x20fe97!==_0x33465a;},'ZfTcM':'vdyav','cHOmw':_0x2fc76c(0x33d,0x378),'wWoSu':function(_0x46431e,_0x3529fb){return _0x46431e-_0x3529fb;},'HyLft':_0x2f12f7(0x5f6,0x5a9),'ahpGJ':_0x2f12f7(0x4de,0x550),'PWCkQ':function(_0x3d8626,_0x101c73,_0x58fbd3){return _0x3d8626(_0x101c73,_0x58fbd3);},'ylsWT':_0x2f12f7(0x4bf,0x51e),'ZGoPm':function(_0x52cea1,_0x188e4d){return _0x52cea1>_0x188e4d;},'TKRxv':'sccCe','sGZpX':function(_0x58db60,_0x1a5fde,_0x54bc54,_0x314934){return _0x58db60(_0x1a5fde,_0x54bc54,_0x314934);},'IhFRC':_0x2fc76c(0x2b6,0x2f4),'EjZsT':_0x2f12f7(0x615,0x5cd)+_0x2fc76c(0x329,0x324)+_0x2fc76c(0x312,0x2ca)+_0x2f12f7(0x53f,0x52f)+':'};function _0x2fc76c(_0x5ab157,_0x2f6fd9){return _0x24d0(_0x2f6fd9-0x191,_0x5ab157);}try{const _0x19cb87=await _0x2c4423[_0x2fc76c(0x3fc,0x395)+'ir'](_0x141e3f),_0x48478e=Date[_0x2f12f7(0x599,0x530)]();let _0x24d375=-0x928*0x1+0xc60+0x2*-0x19c;for(const _0x1beea0 of _0x19cb87){if(!_0x1beea0[_0x2f12f7(0x550,0x500)+_0x2fc76c(0x2d1,0x330)](_0x2161b5['UcVSb']))continue;const _0x24ef63=_0x33adac[_0x2f12f7(0x655,0x5f7)](_0x141e3f,_0x1beea0);try{if(_0x2161b5['JESzM'](_0x2161b5[_0x2f12f7(0x58f,0x5c1)],_0x2161b5['cHOmw'])){const _0x35a599=await _0x2c4423[_0x2fc76c(0x361,0x2f8)](_0x24ef63),_0x261f92=_0x2161b5['wWoSu'](_0x48478e,_0x35a599[_0x2fc76c(0x35a,0x2cf)+'Ms']);if(_0x261f92>SYNC_TTL_MS){if(_0x2161b5['HyLft']===_0x2161b5[_0x2fc76c(0x2d9,0x2cd)]){const _0x5635b9=_0x35ee5b['iv']&&gkoWsa[_0x2f12f7(0x5de,0x5ed)](typeof _0x29d894['iv'],gkoWsa[_0x2f12f7(0x5a8,0x5ea)]),_0x54c4bd=_0x34bec3[_0x2f12f7(0x662,0x5e9)+'rtext']&&typeof _0x4b7c6f['ciphe'+_0x2f12f7(0x5af,0x55d)]===_0x2fc76c(0x2a8,0x2fd)+'g',_0x329a9f=_0x273ac9[_0x2fc76c(0x40d,0x38f)+_0x2fc76c(0x3a5,0x337)]&&gkoWsa[_0x2fc76c(0x3ad,0x3b2)](typeof _0x3ad4d5[_0x2f12f7(0x54b,0x5ca)+_0x2f12f7(0x517,0x572)],gkoWsa[_0x2f12f7(0x637,0x5ea)]),_0x3f37ba=_0x2a8e47[_0x2fc76c(0x297,0x2c1)]&&gkoWsa[_0x2f12f7(0x60d,0x5ed)](typeof _0x2079c7[_0x2f12f7(0x4df,0x4fc)],gkoWsa[_0x2fc76c(0x35b,0x3af)]);if(gkoWsa[_0x2f12f7(0x5a7,0x5ac)](_0x5635b9,_0x54c4bd)||gkoWsa['hAMAC'](_0x329a9f,_0x3f37ba)||_0x329a9f){const _0x5502f8={};return _0x5502f8[_0x2f12f7(0x573,0x5d2)]=!![],_0x5502f8;}if(_0x427015[_0x2fc76c(0x35b,0x361)]&&gkoWsa[_0x2f12f7(0x5b7,0x54d)](typeof _0x4941ab[_0x2f12f7(0x5e0,0x59c)],gkoWsa['GoBLp'])){const _0x306e55={};return _0x306e55[_0x2fc76c(0x3ae,0x397)]=!![],_0x306e55;}const _0x4b4ba2={};return _0x4b4ba2['valid']=![],_0x4b4ba2[_0x2f12f7(0x5a3,0x52f)]=gkoWsa[_0x2f12f7(0x55f,0x574)],_0x4b4ba2;}else await _0x2c4423[_0x2f12f7(0x5bb,0x5fc)+'k'](_0x24ef63),_0x24d375++,_0x2161b5[_0x2fc76c(0x32f,0x2e9)](log,_0x2161b5[_0x2fc76c(0x33f,0x3bf)],'[Sync'+']\x20Cle'+_0x2f12f7(0x66c,0x5e5)+_0x2fc76c(0x367,0x32f)+'ale\x20s'+_0x2fc76c(0x3a1,0x373)+'ile:\x20'+_0x1beea0);}}else{const _0x3f5cbe={};return _0x3f5cbe[_0x2fc76c(0x40d,0x397)]=![],_0x3f5cbe[_0x2fc76c(0x295,0x2f4)]='encry'+'ptedD'+'ata\x20a'+_0x2fc76c(0x27c,0x2c9)+_0x2f12f7(0x5be,0x555)+_0x2f12f7(0x548,0x5c4)+'t\x20to\x20'+_0x2f12f7(0x587,0x506)+'operl'+'y\x20enc'+_0x2fc76c(0x3a2,0x352)+'d',_0x3f5cbe;}}catch(_0x4b64aa){}}if(_0x2161b5[_0x2f12f7(0x55e,0x50e)](_0x24d375,0x1155+0x20b*-0x6+0x1*-0x513)){if(_0x2161b5[_0x2f12f7(0x4fa,0x583)]!==_0x2161b5[_0x2fc76c(0x327,0x348)]){const _0x3285f0={};return _0x3285f0['valid']=!![],_0x3285f0;}else log(_0x2f12f7(0x52d,0x54c),_0x2f12f7(0x5c4,0x5cd)+_0x2fc76c(0x3a4,0x324)+_0x2fc76c(0x34a,0x3aa)+_0x2fc76c(0x39b,0x35d)+_0x24d375+(_0x2fc76c(0x238,0x2c3)+_0x2f12f7(0x640,0x5ef)+'c\x20fil'+'es'));}}catch(_0x3f1657){_0x2161b5[_0x2f12f7(0x5b2,0x5bb)](log,_0x2161b5[_0x2f12f7(0x5f3,0x5da)],_0x2161b5[_0x2f12f7(0x61e,0x5e2)],_0x3f1657['messa'+'ge']);}}function validateContentLength(_0x2e8412){const _0x45186f={'hbUJx':function(_0x1dd466,_0x43cb40,_0x4cfdba){return _0x1dd466(_0x43cb40,_0x4cfdba);},'slqeU':_0x541f83(0x2a1,0x309),'xyVVt':_0x541f83(0x323,0x2db)+_0x541f83(0x2e1,0x256)+_0x541f83(0x2eb,0x276),'nyELj':function(_0x3c928c,_0x35223f){return _0x3c928c>_0x35223f;},'EPJSK':function(_0x47970a,_0x5adb8f,_0x254a78){return _0x47970a(_0x5adb8f,_0x254a78);},'PCisg':_0x541f83(0x2d9,0x347),'XfRiB':function(_0x48f3a8,_0x41f495,_0x19ad18,_0x220eb8){return _0x48f3a8(_0x41f495,_0x19ad18,_0x220eb8);},'fYZul':function(_0x235639,_0x8df64f){return _0x235639/_0x8df64f;},'BIYqY':function(_0x149bd9){return _0x149bd9();}};function _0x3358a9(_0x554026,_0x263269){return _0x24d0(_0x554026- -0x263,_0x263269);}function _0x541f83(_0xf7099f,_0x193da1){return _0x24d0(_0xf7099f-0x13f,_0x193da1);}return(_0x2ca5ba,_0x1cfedb,_0x3040b1)=>{const _0x4a1cd8={'errDF':function(_0x3e22b9,_0x31f957,_0x418eed){return _0x45186f['hbUJx'](_0x3e22b9,_0x31f957,_0x418eed);}};function _0x27230c(_0x1e7b23,_0xda540c){return _0x3358a9(_0x1e7b23-0x649,_0xda540c);}function _0x3322a9(_0x53781b,_0x5b531b){return _0x3358a9(_0x53781b-0x2ea,_0x5b531b);}if(_0x45186f[_0x27230c(0x565,0x595)]===_0x45186f[_0x27230c(0x565,0x528)]){const _0x31d7aa=_0x45186f[_0x27230c(0x562,0x5b2)](parseInt,_0x2ca5ba[_0x3322a9(0x263,0x2a6)](_0x45186f['xyVVt'])||'0',0xcd1*0x1+-0x14*0x44+-0x27*0x31);if(_0x45186f['nyELj'](_0x31d7aa,_0x2e8412))return _0x45186f['EPJSK'](log,_0x45186f[_0x27230c(0x625,0x6ae)],_0x27230c(0x5e7,0x612)+_0x3322a9(0x265,0x27a)+'ected'+_0x3322a9(0x281,0x24e)+'est:\x20'+'Conte'+'nt-Le'+'ngth\x20'+_0x31d7aa+(_0x27230c(0x5e3,0x5a1)+_0x3322a9(0x201,0x271)+_0x3322a9(0x223,0x27b))+_0x2e8412),_0x45186f[_0x27230c(0x5e5,0x5b3)](sendError,_0x1cfedb,_0x3322a9(0x1dd,0x1be)+_0x27230c(0x5df,0x5a7)+_0x27230c(0x600,0x636)+_0x3322a9(0x28e,0x26e)+_0x27230c(0x582,0x503)+_0x45186f[_0x27230c(0x5ac,0x526)](_0x2e8412/(-0x905*0x4+0x2*-0x1085+0x491e),0x12f2+0xdad+0x1*-0x1c9f)+_0x27230c(0x620,0x689),0x1*0xe1a+0x22b1+0x6*-0x7dd);_0x45186f['BIYqY'](_0x3040b1);}else return _0x4a1cd8[_0x27230c(0x5a2,0x522)](_0x3f6c52,_0x316406,_0x3322a9(0x293,0x215)+_0x3322a9(0x21d,0x286)+_0x27230c(0x61c,0x62e)+_0x3322a9(0x1c7,0x148));};}function _0x24d0(_0x36a329,_0x24d086){_0x36a329=_0x36a329-(0x1f32+0x1eb1+-0x3cb8);const _0x3e0e29=_0x36a3();let _0x14c33e=_0x3e0e29[_0x36a329];return _0x14c33e;}function _0x595e94(_0x12039e,_0x2e4fff){return _0x24d0(_0x12039e- -0x14a,_0x2e4fff);}export function setupSyncRoutes(_0x4b7e16,_0x268ab8){const _0x3c8600={'rBCPE':_0x168e31(0xc9,0x110),'HxhJF':function(_0x571dc0,_0x3cb594,_0x21b53d,_0x422e62){return _0x571dc0(_0x3cb594,_0x21b53d,_0x422e62);},'MVQxb':function(_0x17da8c,_0x166412){return _0x17da8c/_0x166412;},'bggPM':function(_0x3fae5e,_0x15b4d1){return _0x3fae5e/_0x15b4d1;},'fHBbL':function(_0x119207,_0xa56b5d,_0x8f5db2,_0x156ac6){return _0x119207(_0xa56b5d,_0x8f5db2,_0x156ac6);},'rsmto':'[Sync'+_0x9058cc(-0x1be,-0x176)+_0x168e31(0xe9,0xaf)+'error'+':','MFvsc':_0x168e31(0x12b,0xd9),'GCEeH':_0x9058cc(-0x165,-0x108)+_0x9058cc(-0x158,-0xf4)+'h\x20err'+'or:','jcfIl':function(_0x4379f6,_0x15cc6f,_0x32cf2e,_0x2cd306){return _0x4379f6(_0x15cc6f,_0x32cf2e,_0x2cd306);},'xVUAM':_0x168e31(0x86,0xad)+_0x168e31(0xb6,0xc0)+'faile'+'d','XQEkn':function(_0x56375f,_0x98f8f3){return _0x56375f(_0x98f8f3);},'KmNGv':function(_0x5dccd8,_0x12036e){return _0x5dccd8!==_0x12036e;},'WEIFM':'ZSekD','AEQbc':function(_0x248289,_0x9d4079,_0x997ba,_0x1c62e8){return _0x248289(_0x9d4079,_0x997ba,_0x1c62e8);},'IFPQh':function(_0x12c0a3,_0x52c50d){return _0x12c0a3===_0x52c50d;},'fMfmw':_0x168e31(0x57,0xe2)+'g','PPHEc':function(_0x444fc1,_0x5b7d23){return _0x444fc1>_0x5b7d23;},'bvvPi':function(_0x44c397,_0x544a7c,_0x49a930){return _0x44c397(_0x544a7c,_0x49a930);},'FIhZd':function(_0x3fc1eb,_0x5468ca){return _0x3fc1eb/_0x5468ca;},'QuxNz':'CqPyp','GMRaJ':function(_0x467b19,_0x286a6d){return _0x467b19!==_0x286a6d;},'dDRyN':_0x168e31(0x12e,0xa7),'pygCQ':_0x9058cc(-0x140,-0x1b7),'vMGeg':function(_0x4fe256){return _0x4fe256();},'oPUuQ':function(_0x1a86b3,_0x14161c){return _0x1a86b3===_0x14161c;},'fabWF':_0x9058cc(-0x1c2,-0x18b),'XrQZJ':_0x9058cc(-0x142,-0x15b),'agVcW':function(_0x552b1d,_0x262d98,_0x141ec2,_0x2bf702){return _0x552b1d(_0x262d98,_0x141ec2,_0x2bf702);},'Yeowk':'Conte'+'nt-Le'+_0x168e31(0x184,0x122),'Jrzan':function(_0x3411b6,_0x49cc74){return _0x3411b6>_0x49cc74;},'kFBTI':function(_0x54f76d,_0x4fa36f,_0x46ee39,_0x594d33){return _0x54f76d(_0x4fa36f,_0x46ee39,_0x594d33);},'YtrbO':function(_0x5b6616){return _0x5b6616();},'DRksP':_0x168e31(0x130,0x177)+']\x20Pul'+_0x9058cc(-0x1ed,-0x17c)+_0x9058cc(-0x1c8,-0x1a4),'MIDtS':_0x9058cc(-0x214,-0x1d2)+_0x168e31(0xe2,0x126)+_0x168e31(0x17e,0x19d)+'d','AWGvy':_0x168e31(0x122,0xad)+'check'+_0x9058cc(-0x1ba,-0x169)+'ed','eStet':function(_0x43f368,_0x3f3c46){return _0x43f368===_0x3f3c46;},'tuWEH':_0x9058cc(-0x146,-0x166),'Xowbr':_0x9058cc(-0x22d,-0x1d4),'hKQyb':_0x9058cc(-0x1ab,-0x12e),'tlxdl':_0x9058cc(-0xd3,-0x101),'ZjfFc':_0x9058cc(-0x6f,-0xdf),'ABGjF':function(_0x2d8c3a,_0x458dc3){return _0x2d8c3a===_0x458dc3;},'iiVbM':_0x9058cc(-0xde,-0x15a),'EdlyD':_0x168e31(0x126,0xee),'CuKvr':'No\x20sy'+_0x9058cc(-0x15f,-0x173)+_0x9058cc(-0x7e,-0xd3)+_0x9058cc(-0x19b,-0x1c9),'aYUgI':_0x9058cc(-0x190,-0x1b9),'qfWWC':_0x168e31(0xee,0x150),'pGWrA':_0x168e31(0x1d2,0x192),'WRvfS':function(_0x4cf60a,_0x420c04){return _0x4cf60a(_0x420c04);},'mhxmh':function(_0x571062,_0x276659){return _0x571062*_0x276659;},'iAHUo':function(_0x4c7304,_0x1e85d3){return _0x4c7304(_0x1e85d3);},'EFYVw':_0x9058cc(-0xdd,-0xce)+_0x168e31(0x171,0x14b)+_0x168e31(0x79,0xdf),'NqEFl':'/api/'+_0x9058cc(-0x147,-0x134)+_0x9058cc(-0x115,-0x19e)};function _0x9058cc(_0x54c5d6,_0x2e8eb5){return _0x24d0(_0x2e8eb5- -0x309,_0x54c5d6);}const _0x79548={};_0x79548[_0x168e31(0xc4,0xc3)+_0x9058cc(-0x247,-0x1c2)]=!![],_0x2c4423[_0x9058cc(-0x99,-0x109)](_0x268ab8,_0x79548)['catch'](()=>{}),_0x3c8600[_0x9058cc(-0x13a,-0x195)](cleanupOldSyncFiles,_0x268ab8);function _0x168e31(_0xca7ed1,_0x175ad3){return _0x24d0(_0x175ad3- -0x8a,_0xca7ed1);}setInterval(()=>cleanupOldSyncFiles(_0x268ab8),_0x3c8600['mhxmh']((-0xb51*0x1+0x20b*0x4+-0x1*-0x33d)*(0x5*0x523+0x2*0x10bb+-0x3ae9),-0x3b*-0x71+-0x104b+-0x984)*(0xb96+-0x8e6+0x34*0x6)),_0x4b7e16[_0x9058cc(-0x1a5,-0x17b)]('/api/'+'sync/'+_0x9058cc(-0x190,-0x153),verifyBearerToken,_0x3c8600['iAHUo'](validateContentLength,MAX_SYNC_SIZE_BYTES),async(_0x3068e6,_0x329860)=>{function _0x4964ef(_0x4a2fc0,_0x761151){return _0x168e31(_0x4a2fc0,_0x761151- -0x63);}function _0x11a4d5(_0x5f17fc,_0x2f8755){return _0x168e31(_0x5f17fc,_0x2f8755-0x1ff);}const _0x377c0a={'eaJOz':function(_0x51a6a3,_0x211590,_0x18eefc,_0x5296ae){return _0x51a6a3(_0x211590,_0x18eefc,_0x5296ae);},'bIlOv':_0x3c8600[_0x4964ef(0xac,0x9d)],'unYBM':_0x3c8600[_0x11a4d5(0x310,0x348)],'giZai':_0x3c8600[_0x4964ef(0xb9,0x68)],'MHPqL':function(_0x35a8f0,_0xff1c0c,_0x1d292d,_0x370eb6){function _0x4e77df(_0x1395a5,_0xb3d31f){return _0x11a4d5(_0x1395a5,_0xb3d31f- -0x1bb);}return _0x3c8600[_0x4e77df(0x1db,0x1cc)](_0x35a8f0,_0xff1c0c,_0x1d292d,_0x370eb6);},'CNoqG':_0x3c8600[_0x11a4d5(0x3b5,0x35f)]};try{const {syncId:_0x40bbd7,encryptedData:_0x47a34b,timestamp:_0x10ac9f}=_0x3068e6[_0x4964ef(0x43,0xb7)],_0x1c1bb7=_0x3c8600[_0x4964ef(0x73,0x42)](sanitizeSyncId,_0x40bbd7);if(!_0x1c1bb7[_0x11a4d5(0x39d,0x37b)])return _0x3c8600[_0x11a4d5(0x2e6,0x2c4)](_0x3c8600['WEIFM'],_0x11a4d5(0x344,0x309))?(_0x2bf806(XuIzEi[_0x4964ef(0x19a,0x137)],_0x4964ef(0x176,0x114)+_0x4964ef(0x89,0xf1)+_0x4964ef(0x37,0x57)+'\x20requ'+_0x4964ef(0x146,0xd1)+_0x11a4d5(0x3b5,0x359)+_0x4964ef(0x50,0xb5)+_0x4964ef(0x15c,0x146)+_0x3ec156+(_0x11a4d5(0x308,0x372)+_0x11a4d5(0x35b,0x2ef)+_0x4964ef(0x11c,0xaf))+_0x5d66aa),XuIzEi[_0x11a4d5(0x2c5,0x32e)](_0x2080b3,_0x42861c,'Reque'+'st\x20to'+_0x4964ef(0x190,0x12d)+_0x11a4d5(0x31d,0x37c)+_0x11a4d5(0x2d9,0x311)+XuIzEi[_0x11a4d5(0x415,0x3a7)](XuIzEi['bggPM'](_0xeb4f09,0x2b*0x4+-0x121a*-0x1+0x3d*-0x3e),-0x881+0x2*0x29d+0x17*0x51)+_0x11a4d5(0x3b2,0x3af),-0x6e*0x4a+0x1*0x182f+0x93a)):_0x3c8600[_0x11a4d5(0x33a,0x2fb)](sendError,_0x329860,_0x1c1bb7['error'],-0x78a*0x4+0x7*0x4ee+-0x2ca);const _0x2b1cd5=_0x1c1bb7[_0x11a4d5(0x2f2,0x335)+_0x4964ef(0xd8,0x14a)],_0x346996=validateEncryptedData(_0x47a34b);if(!_0x346996[_0x4964ef(0x107,0x119)])return _0x3c8600['jcfIl'](sendError,_0x329860,_0x346996['error'],-0x19db*0x1+0x61*0x5d+-0x7d2);const _0x6ba9d6=_0x3c8600[_0x11a4d5(0x3c3,0x3ad)](typeof _0x47a34b,_0x3c8600[_0x4964ef(0x7c,0x79)])?_0x47a34b['lengt'+'h']:JSON[_0x11a4d5(0x2d1,0x2e1)+'gify'](_0x47a34b)[_0x4964ef(0x9a,0x118)+'h'];if(_0x3c8600['PPHEc'](_0x6ba9d6,MAX_SYNC_SIZE_BYTES))return _0x3c8600[_0x11a4d5(0x3d8,0x362)](log,_0x3c8600[_0x4964ef(0x199,0x137)],_0x4964ef(0xdd,0x114)+_0x4964ef(0x92,0xf1)+_0x11a4d5(0x23c,0x2b9)+_0x4964ef(0xfa,0x88)+_0x4964ef(0xaf,0xc5)+'e\x20'+_0x3c8600[_0x4964ef(0xcd,0x145)](_0x3c8600['MVQxb'](_0x6ba9d6,-0x17a8+-0x2471+0x4019),0x4d*0x31+-0x14bb+0x9fe)[_0x4964ef(0x8c,0xf4)+'ed'](0x1*0x1dda+-0x5*-0x516+0xb0e*-0x5)+('MB\x20ex'+_0x4964ef(0x51,0x82)+_0x4964ef(0x125,0x12e)+'t')),_0x3c8600['AEQbc'](sendError,_0x329860,_0x11a4d5(0x2db,0x2ac)+'data\x20'+'too\x20l'+_0x11a4d5(0x2e8,0x370)+'(max\x20'+_0x3c8600[_0x11a4d5(0x302,0x380)](_0x3c8600[_0x11a4d5(0x3e6,0x380)](MAX_SYNC_SIZE_BYTES,0x941*-0x2+-0x5*-0x676+0x72*-0x16),0x12a1+0x1e1*0x1+-0x841*0x2)+'MB)',0x16e7+-0x21b4+-0x635*-0x2);const _0x1dfb22=_0x33adac['join'](_0x268ab8,_0x2b1cd5+_0x11a4d5(0x2c1,0x2a1));let _0x3b886e;try{if(_0x3c8600[_0x11a4d5(0x333,0x3ad)](_0x11a4d5(0x3ab,0x37e),_0x4964ef(0xbf,0xc4)))return _0x3c8600[_0x4964ef(0xda,0x89)](_0x548843,_0x55141f,_0x470ada[_0x4964ef(0x39,0x76)],0x5f8+0x569*-0x1+0x101*0x1);else{try{_0x3c8600['IFPQh']('CqPyp',_0x3c8600[_0x4964ef(0xf,0x72)])?await _0x2c4423['acces'+'s'](_0x1dfb22):ScIRts['eaJOz'](_0x29213b,_0x4964ef(-0x11,0x76),ScIRts[_0x4964ef(0x1be,0x142)],_0x36a4c4[_0x11a4d5(0x30e,0x2e8)+'ge']);}catch{if(_0x3c8600['GMRaJ'](_0x3c8600[_0x11a4d5(0x2ea,0x334)],'oIJef'))return _0x377c0a['eaJOz'](_0x3ec940,_0x377c0a[_0x4964ef(0x2e,0x46)],_0x377c0a[_0x4964ef(0x3d,0x5f)],_0x3b7e7c[_0x4964ef(0xdb,0x86)+'ge']),_0x377c0a[_0x11a4d5(0x3da,0x37f)](_0x51eb03,_0x5066c3,_0x377c0a[_0x4964ef(0x11c,0xd8)],0xb*-0x2f9+-0xdc1*-0x2+0x725);else await _0x2c4423[_0x4964ef(0xb1,0x116)+_0x4964ef(0x115,0x151)](_0x1dfb22,JSON['strin'+'gify']({'encryptedData':null,'timestamp':0x0,'updatedAt':Date[_0x4964ef(-0x1,0x77)]()}));}const _0x3171a0={};_0x3171a0[_0x11a4d5(0x3b6,0x34e)+'es']=0x5,_0x3171a0[_0x11a4d5(0x3b3,0x3a1)+_0x11a4d5(0x3d8,0x35a)]=0x32,_0x3171a0[_0x4964ef(0xcb,0xe5)+_0x11a4d5(0x34c,0x35a)]=0x1f4;const _0x451172={};return _0x451172['retri'+'es']=_0x3171a0,_0x3b886e=await _0x3130e2[_0x4964ef(0x2b,0x5b)](_0x1dfb22,_0x451172),await _0x2c4423['write'+_0x11a4d5(0x3e3,0x3b3)](_0x1dfb22,JSON[_0x4964ef(0xf3,0x7f)+'gify']({'encryptedData':_0x47a34b,'timestamp':_0x10ac9f||Date[_0x4964ef(0xa8,0x77)](),'updatedAt':Date[_0x4964ef(0x85,0x77)]()},null,0x2*-0x4bc+-0x3e8*0x4+-0xc8d*-0x2)),log(_0x3c8600[_0x4964ef(0xb1,0x4e)],_0x11a4d5(0x3f0,0x376)+_0x4964ef(0x189,0x128)+_0x11a4d5(0x299,0x316)+_0x4964ef(0x1bb,0x144)+_0x11a4d5(0x2dd,0x349)+_0x4964ef(0x87,0xc7)+'\x20'+_0x2b1cd5['subst'+_0x11a4d5(0x24c,0x2ab)](-0x77c*0x2+0x10f*0xb+-0x17*-0x25,0x564+0x1dd3+-0x232f)+_0x4964ef(0xd5,0x123)),sendSuccess(_0x329860,{'timestamp':Date['now']()});}}finally{_0x3b886e&&await _0x3c8600['vMGeg'](_0x3b886e);}}catch(_0x5cc78e){return _0x3c8600['oPUuQ'](_0x3c8600[_0x11a4d5(0x39b,0x32a)],_0x3c8600[_0x4964ef(0xfa,0xd0)])?_0x3c8600[_0x11a4d5(0x2c4,0x32e)](_0x1abac4,_0x2534c1,_0x4e87ab[_0x4964ef(0x2e,0x76)],0x992+-0x190e+0x110c):(_0x3c8600[_0x4964ef(0xc9,0xdb)](log,_0x3c8600[_0x4964ef(0xe8,0xe6)],_0x3c8600[_0x11a4d5(0x24f,0x2ca)],_0x5cc78e['messa'+'ge']),_0x3c8600[_0x11a4d5(0x2aa,0x2eb)](sendError,_0x329860,_0x3c8600[_0x4964ef(0x92,0xfd)],-0x265c+0x170+-0x137*-0x20));}}),_0x4b7e16[_0x168e31(0x18e,0x152)](_0x3c8600['EFYVw'],verifyBearerToken,async(_0x16540f,_0x422ac4)=>{function _0x41ce17(_0x3f21f7,_0x185e76){return _0x9058cc(_0x3f21f7,_0x185e76-0x5cc);}const _0x9ded68={'fVRQF':function(_0x6d88fc,_0x2f1f68,_0x4e64a0,_0x317932){function _0x1bd991(_0x51f18d,_0x1887cf){return _0x24d0(_0x1887cf- -0x181,_0x51f18d);}return _0x3c8600[_0x1bd991(-0x33,0x5)](_0x6d88fc,_0x2f1f68,_0x4e64a0,_0x317932);},'puBXM':_0x3c8600[_0x41ce17(0x47f,0x496)],'ZPSOQ':_0x3c8600[_0x2663b2(0x5e3,0x656)],'OLKoS':_0x3c8600[_0x41ce17(0x523,0x4b5)],'hNmXn':_0x3c8600[_0x41ce17(0x44f,0x4ac)]};function _0x2663b2(_0x397fe7,_0x19f8a8){return _0x9058cc(_0x19f8a8,_0x397fe7-0x6c3);}if(_0x3c8600[_0x41ce17(0x4ee,0x48c)](_0x3c8600[_0x2663b2(0x563,0x523)],_0x3c8600['tuWEH']))try{const {syncId:_0x510329}=_0x16540f[_0x41ce17(0x39b,0x40e)],_0x2a9915=_0x3c8600['XQEkn'](sanitizeSyncId,_0x510329);if(!_0x2a9915['valid'])return _0x3c8600['Xowbr']!=='oYzUf'?(_0x9ded68['fVRQF'](_0x1edcce,_0x9ded68['puBXM'],_0x9ded68[_0x41ce17(0x47b,0x460)],_0xf38ed5[_0x41ce17(0x43e,0x436)+'ge']),_0x9ded68[_0x41ce17(0x479,0x4ff)](_0x5e4002,_0x594306,_0x9ded68[_0x2663b2(0x5a0,0x51d)],0x819*0x1+-0x18a1+0x127c)):_0x3c8600['kFBTI'](sendError,_0x422ac4,_0x2a9915[_0x2663b2(0x51d,0x4b4)],0x1d9e+0xcf5+-0x2903*0x1);const _0x2d268f=_0x2a9915['sanit'+_0x2663b2(0x5f1,0x5a4)],_0x8978ea=_0x33adac[_0x2663b2(0x5e5,0x5f3)](_0x268ab8,_0x2d268f+_0x2663b2(0x4e6,0x522));try{if(_0x3c8600[_0x41ce17(0x3c9,0x41e)](_0x3c8600[_0x2663b2(0x5ce,0x58a)],_0x3c8600[_0x41ce17(0x429,0x3ee)])){const _0x458787=await _0x2c4423[_0x41ce17(0x46b,0x4b9)+'ile'](_0x8978ea,_0x3c8600[_0x2663b2(0x4e8,0x50d)]),_0x17fa8a=JSON[_0x2663b2(0x5d9,0x5bb)](_0x458787);return _0x3c8600[_0x2663b2(0x5a7,0x520)](sendSuccess,_0x422ac4,_0x17fa8a);}else{const _0xaf3e1={};return _0xaf3e1[_0x41ce17(0x4e4,0x4c9)]=!![],_0xaf3e1;}}catch(_0x1e3151){return _0x3c8600[_0x2663b2(0x58b,0x5b4)](_0x3c8600[_0x2663b2(0x57d,0x586)],_0x3c8600[_0x41ce17(0x47e,0x476)])?_0x9ded68[_0x2663b2(0x5f6,0x65a)](_0x342af9,_0x4e5ef6,_0x9ded68[_0x2663b2(0x5e7,0x63f)],0x148d+-0x2*0x1281+0x1269):_0x3c8600[_0x41ce17(0x43f,0x4b0)](sendNotFoundError,_0x422ac4,_0x3c8600[_0x2663b2(0x50b,0x561)]);}}catch(_0x5c37d8){if(_0x3c8600[_0x2663b2(0x509,0x4e0)](_0x3c8600[_0x2663b2(0x51b,0x56c)],_0x3c8600[_0x41ce17(0x412,0x424)])){const _0x4a04f0={'sgILZ':function(_0x1aa6fe,_0x11c1c2,_0x475b68){return XuIzEi['bvvPi'](_0x1aa6fe,_0x11c1c2,_0x475b68);},'EUyPY':XuIzEi[_0x2663b2(0x592,0x56b)],'YjZtC':function(_0x1ae8d1,_0x323ff0){return XuIzEi['Jrzan'](_0x1ae8d1,_0x323ff0);},'MaQrs':XuIzEi[_0x41ce17(0x461,0x4e7)],'UtKMF':function(_0x34620f,_0x154a86,_0x369e20,_0x10df89){function _0x542885(_0x563c4c,_0x4597d1){return _0x2663b2(_0x4597d1- -0xd8,_0x563c4c);}return XuIzEi[_0x542885(0x4ac,0x4e4)](_0x34620f,_0x154a86,_0x369e20,_0x10df89);},'aISPv':function(_0x3abd5f){function _0x3cbd25(_0x3821d5,_0x3a0e43){return _0x41ce17(_0x3a0e43,_0x3821d5- -0xc2);}return XuIzEi[_0x3cbd25(0x32e,0x2a4)](_0x3abd5f);}};return(_0x20d1a8,_0xb6080c,_0x572c03)=>{const _0x5f5a10=_0x4a04f0[_0x2441b2(0x42a,0x447)](_0x3316de,_0x20d1a8['get'](_0x4a04f0[_0x50b958(-0x6b,-0x63)])||'0',0x1*-0x12dd+-0x1*-0x28b+0x2*0x82e);if(_0x4a04f0['YjZtC'](_0x5f5a10,_0x2da728))return _0x4a04f0[_0x2441b2(0x42a,0x43f)](_0x2247db,_0x4a04f0[_0x50b958(-0xb7,-0xa2)],'[Sync'+']\x20Rej'+_0x50b958(-0x5c,-0xb7)+_0x50b958(0x34,-0x1)+_0x50b958(0x38,-0x3d)+_0x50b958(-0x2b,-0x17)+_0x50b958(-0x1e,-0x59)+'ngth\x20'+_0x5f5a10+(_0x2441b2(0x47a,0x4d3)+_0x2441b2(0x3f7,0x385)+'ax\x20')+_0x3765d1),_0x4a04f0[_0x50b958(0x60,0x12)](_0x8ac95b,_0xb6080c,_0x50b958(-0x82,-0xa5)+_0x2441b2(0x476,0x43e)+_0x2441b2(0x497,0x496)+'ge\x20(m'+'ax\x20'+_0x161609/(-0x1d03+0x12e*-0x18+0x3d53)/(-0x2*-0x667+-0x7c3*-0x3+-0x1*0x2017)+_0x2441b2(0x4b7,0x4e5),0xb45+0x1*-0x257e+0x1*0x1bd6);function _0x50b958(_0x33e6c4,_0x3e0cc){return _0x41ce17(_0x33e6c4,_0x3e0cc- -0x4be);}function _0x2441b2(_0x571368,_0x49d746){return _0x41ce17(_0x49d746,_0x571368- -0x46);}_0x4a04f0['aISPv'](_0x572c03);};}else return _0x3c8600[_0x2663b2(0x5cc,0x5e7)](log,_0x3c8600['MFvsc'],_0x41ce17(0x44c,0x4c4)+_0x2663b2(0x555,0x556)+'l\x20err'+'or:',_0x5c37d8['messa'+'ge']),_0x3c8600[_0x41ce17(0x4b8,0x48b)](sendError,_0x422ac4,_0x3c8600['MIDtS'],-0x238*-0xd+0x8*0x28e+-0x17aa*0x2);}else return gUhtuD[_0x2663b2(0x5f6,0x5b3)](_0xd0c7a6,_0x42c1f6,_0x357de0[_0x2663b2(0x51d,0x50e)],0x269a+-0x24bb+-0x4f);}),_0x4b7e16[_0x168e31(0x1be,0x152)](_0x3c8600[_0x168e31(0x88,0x102)],verifyBearerToken,async(_0x33d1b6,_0x380b13)=>{const _0x411cd0={};_0x411cd0[_0xb5c46a(0xa7,0x117)]='encry'+_0xb5c46a(0x111,0xfc)+'ata\x20a'+_0x1b225f(-0x28d,-0x231)+'s\x20too'+_0x1b225f(-0x1cd,-0x185)+_0x1b225f(-0x1ce,-0x1a8)+_0xb5c46a(0x84,0xe3)+_0xb5c46a(0x1e5,0x197)+'y\x20enc'+_0x1b225f(-0x204,-0x181)+'d';const _0x235f98=_0x411cd0;function _0xb5c46a(_0x3a532f,_0x309de0){return _0x9058cc(_0x3a532f,_0x309de0-0x2b2);}function _0x1b225f(_0x585848,_0xe364de){return _0x9058cc(_0xe364de,_0x585848- -0xbc);}try{const {syncId:_0x45939b}=_0x33d1b6[_0x1b225f(-0x27a,-0x202)],_0x3df888=sanitizeSyncId(_0x45939b);if(!_0x3df888['valid']){if(_0x3c8600[_0x1b225f(-0x18d,-0x102)](_0x3c8600[_0xb5c46a(0x154,0x113)],_0x3c8600[_0xb5c46a(0x16f,0x113)]))return sendError(_0x380b13,_0x3df888['error'],0x15f*-0xb+0x428+0xc7d);else{const _0x474666={};return _0x474666[_0xb5c46a(0x14e,0x1af)]=![],_0x474666['error']='encry'+_0x1b225f(-0x272,-0x29f)+'ata\x20r'+_0x1b225f(-0x1dd,-0x153)+'ed',_0x474666;}}const _0xfaf4a=_0x3df888[_0xb5c46a(0x1c1,0x169)+_0xb5c46a(0x19d,0x1e0)],_0x334293=_0x33adac[_0x1b225f(-0x19a,-0x130)](_0x268ab8,_0xfaf4a+'.json');try{if(_0x3c8600[_0xb5c46a(0x1b5,0x194)]===_0x3c8600[_0xb5c46a(0x182,0x194)]){const _0x204d91=await _0x2c4423['stat'](_0x334293),_0xf1fd4f={};return _0xf1fd4f['exist'+'s']=!![],_0xf1fd4f[_0xb5c46a(0x15f,0xec)+_0xb5c46a(0x1b0,0x150)]=_0x204d91[_0xb5c46a(0x119,0xe7)+'Ms'],_0x3c8600[_0xb5c46a(0x1c3,0x196)](sendSuccess,_0x380b13,_0xf1fd4f);}else{if(_0x26a6d6[_0xb5c46a(0x20e,0x1ae)+'h']<_0x4bac85){const _0x5ebbcc={};return _0x5ebbcc[_0xb5c46a(0x232,0x1af)]=![],_0x5ebbcc[_0xb5c46a(0x16f,0x10c)]=LkmruA['ZMoXo'],_0x5ebbcc;}const _0x5795b7={};return _0x5795b7[_0xb5c46a(0x214,0x1af)]=!![],_0x5795b7;}}catch(_0xb29819){const _0x374a2a={};return _0x374a2a[_0x1b225f(-0x235,-0x263)+'s']=![],sendSuccess(_0x380b13,_0x374a2a);}}catch(_0x5a569e){return sendError(_0x380b13,_0x3c8600[_0x1b225f(-0x1dc,-0x1bb)],-0x1e15*0x1+-0x1927+0x131*0x30);}});}const _0x23f2d3={};_0x23f2d3[_0x595e94(0x1e,0x28)+'SyncR'+'outes']=setupSyncRoutes;export default _0x23f2d3;
@@ -0,0 +1 @@
1
+ (function(_0x14e55f,_0x102e2d){function _0xe0b197(_0x2c705b,_0x367a8b){return _0x22a8(_0x367a8b- -0x133,_0x2c705b);}const _0x2c0867=_0x14e55f();function _0x3f95db(_0x573b0a,_0x5d404a){return _0x22a8(_0x573b0a- -0x201,_0x5d404a);}while(!![]){try{const _0x4ea650=-parseInt(_0x3f95db(0x60,0xc1))/(-0xcb*-0x11+-0x22f5+0x157b*0x1)*(-parseInt(_0x3f95db(-0x2d,-0x1b))/(-0x8b3+0x62f*-0x1+0xee4))+-parseInt(_0xe0b197(0x6f,0xb2))/(0x1e*0x47+-0x1fdf+0x1790)*(-parseInt(_0xe0b197(0x14,0x6a))/(-0x1*-0x2339+-0x1*0x2267+0x67*-0x2))+parseInt(_0x3f95db(0xd,0x61))/(-0xbb0+-0x17b5+0x2*0x11b5)+-parseInt(_0xe0b197(0x23,0x81))/(-0x3*-0xb3f+0x1b59+0x3d10*-0x1)*(-parseInt(_0x3f95db(0x59,0x5c))/(-0x1*-0x941+0x100c*0x2+0x7b*-0x56))+parseInt(_0x3f95db(0x1f,-0x22))/(0x21*-0x8b+0x25*-0x4a+0x1*0x1ca5)*(parseInt(_0xe0b197(0x81,0xd2))/(-0x24cd*-0x1+0x3*-0xcd+-0x1*0x225d))+parseInt(_0xe0b197(0x107,0xfe))/(0xd*-0x281+0x1d*0x36+0x1a79)*(parseInt(_0x3f95db(-0x23,-0x53))/(-0x1*-0x11b7+0x3*0xc5f+0x1a9*-0x21))+parseInt(_0x3f95db(-0x28,0x44))/(0x7d*0x3+-0x2016*-0x1+0x2181*-0x1)*(-parseInt(_0xe0b197(0x33,0x76))/(-0xf5a+-0x1a0e+0x2975));if(_0x4ea650===_0x102e2d)break;else _0x2c0867['push'](_0x2c0867['shift']());}catch(_0x488ee9){_0x2c0867['push'](_0x2c0867['shift']());}}}(_0x332f,-0x1*-0x4c435+-0x8a2d+0x151*0x7d8));const _0x3fa6cc=(function(){let _0x26b75c=!![];return function(_0x4310c3,_0x578a2c){const _0x371f4d=_0x26b75c?function(){function _0x37b05d(_0xd177e8,_0x583edd){return _0x22a8(_0xd177e8-0x12b,_0x583edd);}if(_0x578a2c){const _0x345a49=_0x578a2c[_0x37b05d(0x320,0x378)](_0x4310c3,arguments);return _0x578a2c=null,_0x345a49;}}:function(){};return _0x26b75c=![],_0x371f4d;};}()),_0xe9a56c=_0x3fa6cc(this,function(){function _0x98fccb(_0x56ec16,_0x59bd13){return _0x22a8(_0x59bd13- -0x132,_0x56ec16);}function _0xf0ae08(_0xeb6984,_0x5f46ec){return _0x22a8(_0xeb6984- -0x2c,_0x5f46ec);}return _0xe9a56c[_0xf0ae08(0x1b7,0x21d)+'ing']()[_0x98fccb(0x27,0x5b)+'h'](_0x98fccb(0xd3,0xf7)+_0xf0ae08(0x1a0,0x16f)+'+$')['toStr'+_0xf0ae08(0x1d1,0x211)]()[_0xf0ae08(0x195,0x144)+_0xf0ae08(0x165,0x11d)+'r'](_0xe9a56c)[_0xf0ae08(0x161,0x168)+'h'](_0xf0ae08(0x1fd,0x23f)+_0x98fccb(0x86,0x9a)+'+$');});_0xe9a56c();import _0x376f2f from'https';import{execSync,exec}from'child_process';function _0x22a8(_0x29fe76,_0x17e0ff){_0x29fe76=_0x29fe76-(-0x6d9*-0x2+0x1*0xae8+-0x1713);const _0x19f57d=_0x332f();let _0x2aa1b2=_0x19f57d[_0x29fe76];return _0x2aa1b2;}import _0x407e09 from'fs';import _0x574f1b from'path';import{log}from'./utils.js';const CERT_DIR=_0x574f1b[_0x5e1de6(-0x1e5,-0x219)](process.env.APPDATA||process.env.HOME||'.',_0x1c12a4(0x504,0x50c)+_0x1c12a4(0x488,0x4f0)+'ts');function _0x5e1de6(_0x197147,_0x8c3692){return _0x22a8(_0x197147- -0x36c,_0x8c3692);}const CERT_REFRESH_MS=(-0x1547*-0x1+0x3*0x3c3+0x2*-0x1042)*(0x295*0xc+-0x26c3+0x803)*(0x1c15+-0x1e43+-0x1*-0x26a)*(-0x20*0xae+0x1d91*0x1+-0x3e9);function getTailscaleDomain(){const _0x468dac={'QbRqi':function(_0xf00dea,_0x3f9b8d,_0xae4afb){return _0xf00dea(_0x3f9b8d,_0xae4afb);},'eVYob':_0x2e482f(-0x1c6,-0x197),'yWbBG':_0x1d5b83(0x38c,0x3f2)+_0x1d5b83(0x35b,0x311)+_0x1d5b83(0x3dd,0x3b7)+_0x2e482f(-0x163,-0x102)+_0x2e482f(-0x224,-0x1c2)+_0x1d5b83(0x361,0x39c)+_0x1d5b83(0x3cb,0x3be)+_0x1d5b83(0x3f0,0x42b)+_0x2e482f(-0x1be,-0x1f7)+_0x2e482f(-0x1b1,-0x1bc)+'ra\x20re'+_0x1d5b83(0x391,0x348)+_0x2e482f(-0x1c5,-0x22b)+_0x1d5b83(0x3ae,0x364)+'t\x20or\x20'+'HTTPS'+'.','yMzWj':_0x2e482f(-0x18a,-0x1f1),'oRfjr':_0x2e482f(-0x197,-0x14d)+_0x2e482f(-0x1f4,-0x1eb)+'+$','dKxtz':_0x1d5b83(0x32d,0x31c),'mvVQH':_0x1d5b83(0x338,0x33c),'OVAmo':function(_0x554ae3,_0x198945){return _0x554ae3>_0x198945;},'GyWHb':function(_0x4e903,_0x195412){return _0x4e903===_0x195412;},'YgTUG':_0x2e482f(-0x234,-0x29f),'uAdFf':function(_0x12ae8f,_0x16b6f4){return _0x12ae8f===_0x16b6f4;},'rkTtT':_0x2e482f(-0x19f,-0x18e),'qWYnM':function(_0x3c1755,_0x1fc122,_0x4dc837){return _0x3c1755(_0x1fc122,_0x4dc837);},'IcwKn':'debug'};function _0x2e482f(_0x5ae778,_0x540b96){return _0x1c12a4(_0x5ae778- -0x668,_0x540b96);}function _0x1d5b83(_0x130505,_0xe143e0){return _0x1c12a4(_0x130505- -0x104,_0xe143e0);}try{if(_0x1d5b83(0x3b9,0x363)==='whOcX')return _0x468dac[_0x2e482f(-0x16a,-0x11e)](_0x502417,_0x468dac[_0x1d5b83(0x351,0x39e)],_0x468dac[_0x1d5b83(0x35c,0x37e)]),null;else{const _0x139402=_0x468dac[_0x1d5b83(0x3fa,0x3d6)](execSync,_0x2e482f(-0x1e3,-0x242)+'cale\x20'+'statu'+_0x1d5b83(0x34e,0x3a8)+_0x1d5b83(0x39d,0x34e),{'timeout':0x1388,'encoding':_0x468dac[_0x2e482f(-0x182,-0x1c9)],'stdio':[_0x2e482f(-0x22c,-0x29a),_0x468dac[_0x1d5b83(0x383,0x343)],_0x1d5b83(0x338,0x2de)]}),_0x1941a7=JSON[_0x1d5b83(0x3f1,0x395)](_0x139402);if(_0x1941a7[_0x1d5b83(0x3d6,0x36b)+_0x2e482f(-0x20d,-0x25a)+'s']&&_0x468dac[_0x1d5b83(0x3c6,0x3ba)](_0x1941a7[_0x2e482f(-0x18e,-0x121)+'omain'+'s'][_0x1d5b83(0x32f,0x2f6)+'h'],-0x48a*0x2+0x13ee+-0x3*0x39e))return _0x1941a7[_0x2e482f(-0x18e,-0x19b)+_0x2e482f(-0x20d,-0x227)+'s'][-0x1c9a+-0x92a+0x25c4];if(_0x1941a7['Self']&&_0x1941a7[_0x2e482f(-0x1b9,-0x18f)][_0x2e482f(-0x15e,-0xf1)+'me'])return _0x468dac[_0x2e482f(-0x229,-0x203)](_0x1d5b83(0x330,0x398),_0x468dac[_0x2e482f(-0x16f,-0x15a)])?_0x1941a7[_0x1d5b83(0x3ab,0x408)]['DNSNa'+'me'][_0x2e482f(-0x1d0,-0x1e6)+'ce'](/\.$/,''):(_0x468dac[_0x1d5b83(0x3fa,0x401)](_0x1ff784,_0x468dac['yMzWj'],_0x2e482f(-0x1d8,-0x22b)+'scale'+_0x2e482f(-0x1f9,-0x1ff)+_0x2e482f(-0x1e4,-0x20a)+'t\x20pro'+_0x2e482f(-0x1cd,-0x1f9)+'n\x20cer'+_0x2e482f(-0x17e,-0x140)+_0x1d5b83(0x3dc,0x36f)+_0x1d5b83(0x3aa,0x386)+_0x2e482f(-0x176,-0x13b)),null);return null;}}catch(_0x41cdfe){return _0x468dac[_0x1d5b83(0x3c7,0x3c0)](_0x1d5b83(0x3c5,0x3e0),_0x468dac[_0x1d5b83(0x38e,0x347)])?(_0x468dac['qWYnM'](log,_0x468dac[_0x2e482f(-0x20e,-0x208)],_0x1d5b83(0x38c,0x3f5)+_0x1d5b83(0x35b,0x33c)+_0x1d5b83(0x3dd,0x3aa)+_0x1d5b83(0x388,0x382)+_0x1d5b83(0x3bf,0x3ec)+':\x20'+_0x41cdfe[_0x2e482f(-0x1f2,-0x21a)+'ge']),null):_0x2e739e[_0x2e482f(-0x1dd,-0x249)+_0x1d5b83(0x3a1,0x382)]()[_0x2e482f(-0x233,-0x27c)+'h'](_0x2e482f(-0x197,-0x1e9)+_0x2e482f(-0x1f4,-0x1fc)+'+$')[_0x1d5b83(0x387,0x39b)+_0x2e482f(-0x1c3,-0x1a1)]()[_0x1d5b83(0x365,0x372)+'ructo'+'r'](_0x5d0535)['searc'+'h'](dEreFp[_0x2e482f(-0x1f5,-0x25f)]);}}function _0x332f(){const _0x4412f3=['fully','bpxfH','qIVRa','ontex','debug','ygHyi','FQPyp','led.','FVhhp','abled','parse','n\x20cer','cHuEO','NoGbx','YgTUG','gtCgm','oned\x20','domai','Sync','QbRqi','uXCUl','runni','liste','14Ciskgp',']\x20Det','uplin','\x20dete','SbfMy','aLxTN','cale\x20','8pPhsaa','DNSNa','join','se,\x20H','utf-8','t-fil','lengt','vTpnX','searc','PqUpI','t\x20pro','HzJnq','ructo','szSrS','aUnmN','pipe','qynxa','YKdFm','GyWHb',']\x20Cer','\x22\x20\x22','ver','OGRgW','cted,','8KFMeBC','url','creat','bIpMF','HEHan','knrXw','fzZSB','YXyVy','PS\x20se','IsJDc','mwmLc','egJyi','153829SHktFw','s\x20--j','IOqXh','\x20in\x20u','eVYob','mJtxZ','mkdir','error','le\x20\x22','IcwKn','omain','4770108fzzWzT','PakOE',']\x20HTT','scale','yWbBG','fDHnX',']\x20Fai','BUQpR','sSync','\x20HTTP','EujjC','ra\x20re','vcmvB','const','for\x20','://','EADDR','cDzbN','ccess',']\x20Cou','recur','ts\x20re','ZopkU','oRfjr',')+)+)','led\x20t','messa','NUmYu','key','KxBrc','rts..','BeEQC','366676sNkokE','ts\x20pr','cureC','ovisi','trim','3972WnJPKI','OfkcT','HDNpO','ld\x20no','tails','2111747fqIdEx','mvVQH','k-cer','oCdAO','hxXeC','toStr','\x20avai','16677vRKIql','Awnym','t\x20or\x20','[Tail','ip\x20-4','rkTtT','https','lBVaF','quire','unref','fresh','repla','Ktajw','yUxNA','visio','Qxbfj','apply','cert\x20','sXPha','BFpsj','son','info','s\x20loc','3456','ing','BaDXe','DZBFF','WKWpD','czOuT','.\x20Mic','serve','ileSy','1444347GdZNDk','disab','Self','--cer','o\x20pro','alhos','.crt','e\x20\x22','YGWSV','4370850mrNANa','/came','reshi','SSZfW','QnzkD','jLKoh','jWpnf','akcGz','bCeiq','onSer','ng\x20at','rver\x20','tJOhC','lable','HTTPS','RBzWu','ected','EfzME','8IRqPdH','ZuHhs','OVAmo','uAdFf','.key','DuZwz','FGrkW','S\x20dis','readF','(((.+','exist','EhGpq',']\x20Por','zRZJp','GGSOy','setSe','eServ','40ifrLTL','CertD','nTnFu','hFgRf','sive','warn','hIalP','TTPS\x20',']\x20Not','ng\x20ce','ihGIu','oaiAb','ed\x20su','dKxtz','ts:\x20','ziZZP','cert','ts.\x20H'];_0x332f=function(){return _0x4412f3;};return _0x332f();}function _0x1c12a4(_0x81e35b,_0xda1408){return _0x22a8(_0x81e35b-0x2a8,_0xda1408);}function getTailscaleIP(){function _0x4a16ae(_0x2f6bfe,_0x474df5){return _0x1c12a4(_0x2f6bfe-0x54,_0x474df5);}const _0x188243={'ziZZP':function(_0x13be63,_0x40d017,_0x5a7bd5){return _0x13be63(_0x40d017,_0x5a7bd5);},'ySHGB':_0x730fd1(-0x1ff,-0x1b6),'nTnFu':_0x730fd1(-0x20e,-0x227),'dBxRV':function(_0x5693a9,_0x848e93){return _0x5693a9!==_0x848e93;},'ltUyc':_0x4a16ae(0x4cd,0x501),'FQPyp':function(_0x14187c,_0x5f3fa7,_0x5b23f2){return _0x14187c(_0x5f3fa7,_0x5b23f2);},'BFpsj':_0x730fd1(-0x1c6,-0x1d3)+_0x730fd1(-0x128,-0x150)+_0x730fd1(-0x1e0,-0x1c7),'mJtxZ':_0x730fd1(-0x270,-0x21c)};function _0x730fd1(_0x82ab71,_0x2234d3){return _0x1c12a4(_0x2234d3- -0x658,_0x82ab71);}try{if(_0x188243['dBxRV']('KxBrc',_0x188243['ltUyc']))return _0x188243[_0x730fd1(-0x132,-0x170)](_0x4a562d,_0x188243['ySHGB'],'[Tail'+_0x4a16ae(0x4b3,0x4ca)+_0x730fd1(-0x1e8,-0x218)+_0x4a16ae(0x4d1,0x498)+_0x4a16ae(0x4d3,0x46f)+_0x4a16ae(0x54f,0x551)+_0x730fd1(-0x1a2,-0x1ee)+_0x169293),{'cert':_0x53d192[_0x4a16ae(0x524,0x4ef)+_0x4a16ae(0x500,0x55d)+'nc'](_0x5365e0,_0x188243[_0x4a16ae(0x52f,0x4c7)]),'key':_0x43b2b5[_0x730fd1(-0x1ce,-0x188)+_0x730fd1(-0x17c,-0x1ac)+'nc'](_0x5dfa5d,_0x188243[_0x4a16ae(0x52f,0x4cc)])};else{const _0x452b31=_0x188243[_0x4a16ae(0x545,0x5a9)](execSync,_0x188243[_0x4a16ae(0x4f4,0x4b1)],{'timeout':0x1388,'encoding':_0x188243[_0x730fd1(-0x137,-0x17d)],'stdio':[_0x188243[_0x4a16ae(0x4aa,0x4bc)],'pipe',_0x188243['mJtxZ']]})['trim']();return _0x452b31||null;}}catch{return null;}}function provisionCerts(_0x56f2ea){const _0x9a14a4={'fzZSB':function(_0x1dfefe,_0x2c53fb,_0x4e4a93){return _0x1dfefe(_0x2c53fb,_0x4e4a93);},'HEHan':'pipe','YXyVy':function(_0x22791d,_0x3aca0b){return _0x22791d!==_0x3aca0b;},'czOuT':'fDHnX','gtCgm':function(_0x497a33,_0x3f86d5){return _0x497a33!==_0x3f86d5;},'EfzME':_0x5db9a2(-0x89,-0x69),'oaiAb':function(_0x43c78b,_0x466297,_0x2f73af){return _0x43c78b(_0x466297,_0x2f73af);},'PakOE':_0x26b9cf(-0xa7,-0xee),'pBxYg':_0x26b9cf(-0x80,-0x70)};function _0x26b9cf(_0x32178c,_0x4dcb87){return _0x5e1de6(_0x32178c-0x13c,_0x4dcb87);}function _0x5db9a2(_0x35f3ef,_0x3724a1){return _0x5e1de6(_0x35f3ef-0xec,_0x3724a1);}try{if(_0x9a14a4[_0x5db9a2(-0xdc,-0x94)](_0x9a14a4[_0x5db9a2(-0x7f,-0x16)],_0x5db9a2(-0xc7,-0x6c))){const _0x2601c8={};_0x2601c8[_0x26b9cf(-0x68,-0x57)+_0x26b9cf(0x5,-0x4c)]=!![],_0x42f9be[_0x5db9a2(-0xd1,-0x99)+'Sync'](_0xd96556,_0x2601c8);}else{if(!_0x407e09[_0x26b9cf(-0x6,-0xa)+'sSync'](CERT_DIR)){if(_0x9a14a4[_0x26b9cf(0x22,0x36)](_0x9a14a4['EfzME'],_0x9a14a4[_0x5db9a2(-0x61,-0x42)]))try{const _0xf92188=tzotPx[_0x26b9cf(-0x8d,-0xf4)](_0x2a57b9,_0x26b9cf(-0x53,-0x92)+_0x26b9cf(0x30,0x76)+_0x26b9cf(-0x47,-0x6c),{'timeout':0x1388,'encoding':_0x5db9a2(-0xf7,-0x13d),'stdio':[tzotPx[_0x26b9cf(-0x8f,-0x6c)],tzotPx[_0x5db9a2(-0xdf,-0xe0)],tzotPx[_0x26b9cf(-0x8f,-0x94)]]})[_0x5db9a2(-0xa8,-0x9d)]();return _0xf92188||null;}catch{return null;}else{const _0x1a4405={};_0x1a4405['recur'+_0x26b9cf(0x5,-0x12)]=!![],_0x407e09['mkdir'+_0x5db9a2(-0x2b,0x6)](CERT_DIR,_0x1a4405);}}const _0x58efc2=_0x574f1b[_0x5db9a2(-0xf9,-0xc9)](CERT_DIR,_0x56f2ea+_0x5db9a2(-0x75,-0x88)),_0x273341=_0x574f1b[_0x5db9a2(-0xf9,-0x10e)](CERT_DIR,_0x56f2ea+_0x5db9a2(-0x5c,-0x3));_0x9a14a4[_0x26b9cf(0xc,0x4f)](execSync,_0x26b9cf(-0x53,0x14)+_0x26b9cf(0x30,0x78)+_0x5db9a2(-0x8a,-0x32)+_0x5db9a2(-0x78,-0x57)+_0x26b9cf(-0xa6,-0xf9)+_0x5db9a2(-0x74,-0x9e)+_0x58efc2+('\x22\x20--k'+'ey-fi'+_0x5db9a2(-0xcf,-0xc6))+_0x273341+_0x5db9a2(-0xe7,-0x102)+_0x56f2ea+'\x22',{'timeout':0x7530,'encoding':_0x9a14a4[_0x26b9cf(-0x7b,-0xc2)],'stdio':[_0x9a14a4[_0x5db9a2(-0xdf,-0xc3)],'pipe',_0x9a14a4['HEHan']]});if(_0x407e09[_0x26b9cf(-0x6,-0x55)+_0x26b9cf(-0x74,-0x92)](_0x58efc2)&&_0x407e09[_0x26b9cf(-0x6,-0x52)+_0x5db9a2(-0xc4,-0xfc)](_0x273341))return _0x9a14a4['oaiAb'](log,'info',_0x26b9cf(-0x48,0x13)+_0x26b9cf(-0x79,-0x69)+_0x5db9a2(-0xe8,-0x129)+_0x26b9cf(-0x5b,-0xc7)+'ovisi'+_0x5db9a2(-0x2d,-0x32)+_0x5db9a2(-0xbe,-0xfe)+_0x56f2ea),{'cert':_0x407e09[_0x5db9a2(-0x58,-0x5d)+_0x26b9cf(-0x2c,-0x1c)+'nc'](_0x58efc2,_0x9a14a4['PakOE']),'key':_0x407e09[_0x26b9cf(-0x8,0x11)+_0x26b9cf(-0x2c,-0x3)+'nc'](_0x273341,_0x9a14a4[_0x26b9cf(-0x7b,-0xa8)])};return null;}}catch(_0x459aaa){return _0x9a14a4[_0x5db9a2(-0xdd,-0xf6)](log,_0x9a14a4['pBxYg'],_0x5db9a2(-0x98,-0x4a)+_0x26b9cf(-0x79,-0x90)+_0x5db9a2(-0xc6,-0xc0)+_0x26b9cf(-0x63,-0x68)+_0x26b9cf(-0x27,-0x64)+_0x26b9cf(-0x3d,-0x2f)+_0x26b9cf(0x1e,-0x4f)+_0x26b9cf(0xf,-0x20)+_0x459aaa[_0x5db9a2(-0xb2,-0x107)+'ge']),null;}}export async function setupTailscaleHTTPS(_0x15310b,_0x5f2de7={}){const _0x38f63c={'qIVRa':function(_0x444bb0,_0x14ce1a,_0x4c0042){return _0x444bb0(_0x14ce1a,_0x4c0042);},'RBzWu':_0x3daf60(0x46b,0x4c7)+_0x3daf60(0x4d2,0x496)+']\x20Ref'+_0x3daf60(0x558,0x4ef)+_0x47cd8e(0x33a,0x375)+_0x47cd8e(0x35d,0x30d)+'.','EujjC':function(_0x17f933,_0x2685b1,_0x310fb5){return _0x17f933(_0x2685b1,_0x310fb5);},'HDNpO':_0x47cd8e(0x350,0x335),'HzJnq':function(_0x158cc3,_0x5cf25e){return _0x158cc3(_0x5cf25e);},'hxXeC':'warn','oCdAO':function(_0x708b19,_0x1a4527){return _0x708b19!==_0x1a4527;},'egJyi':'MWXNl','SbfMy':function(_0x3d1e06,_0x362428){return _0x3d1e06===_0x362428;},'zAbxk':_0x47cd8e(0x3a2,0x392),'YGWSV':_0x3daf60(0x517,0x51a),'bCeiq':_0x47cd8e(0x2ad,0x2eb),'AFPuX':_0x3daf60(0x4c3,0x50d),'RCGdT':_0x47cd8e(0x36a,0x38a),'tJOhC':_0x47cd8e(0x323,0x323)+'scale'+_0x3daf60(0x466,0x477)+_0x47cd8e(0x2b2,0x304)+_0x47cd8e(0x2d3,0x32a)+_0x3daf60(0x579,0x51c)+_0x3daf60(0x4b4,0x4a5)+_0x47cd8e(0x3db,0x37e),'yUxNA':function(_0x1699c6,_0x31fc0e,_0xec2d60){return _0x1699c6(_0x31fc0e,_0xec2d60);},'aLxTN':_0x3daf60(0x4c4,0x526),'DZBFF':'PqUpI','WKWpD':'0.0.0'+'.0','cDzbN':function(_0x481c70){return _0x481c70();},'vcmvB':function(_0x1b564b,_0x466323){return _0x1b564b===_0x466323;},'Ktajw':_0x3daf60(0x4dd,0x486),'KMYTx':_0x3daf60(0x51e,0x505),'BaDXe':function(_0x36d997,_0x120cd6,_0x5076c9){return _0x36d997(_0x120cd6,_0x5076c9);},'SSZfW':_0x47cd8e(0x321,0x323)+_0x3daf60(0x46a,0x496)+_0x47cd8e(0x3af,0x374)+'\x20dete'+_0x47cd8e(0x30d,0x2d7)+_0x47cd8e(0x2a7,0x2f8)+_0x47cd8e(0x32f,0x362)+_0x3daf60(0x54e,0x52b)+_0x3daf60(0x519,0x4e1)+'/came'+_0x47cd8e(0x329,0x2fa)+_0x3daf60(0x4e5,0x4cc)+_0x47cd8e(0x2e5,0x336)+_0x47cd8e(0x307,0x345)+_0x3daf60(0x4e2,0x4c6)+_0x3daf60(0x544,0x4fb)+'.','YYXTr':function(_0x1c07d4){return _0x1c07d4();},'gFrzL':function(_0x3a158a,_0x3de082,_0x238694){return _0x3a158a(_0x3de082,_0x238694);},'EhGpq':_0x3daf60(0x478,0x4c7)+_0x3daf60(0x4b1,0x496)+_0x47cd8e(0x351,0x302)+'ld\x20no'+_0x3daf60(0x47c,0x46e)+_0x3daf60(0x536,0x4d2)+_0x47cd8e(0x3ae,0x389)+_0x3daf60(0x54b,0x521)+'TTPS\x20'+_0x47cd8e(0x399,0x341)+_0x3daf60(0x4dc,0x529),'IOqXh':function(_0x2880dc,_0xed82cb){return _0x2880dc+_0xed82cb;},'NUmYu':function(_0x435521,_0x544481){return _0x435521(_0x544481);},'YKdFm':_0x47cd8e(0x312,0x337),'bfvhf':function(_0x1ea277,_0x545f48){return _0x1ea277===_0x545f48;},'Qxbfj':_0x3daf60(0x449,0x485),'cDaFU':_0x3daf60(0x526,0x4f1)},_0x24c260=_0x38f63c[_0x47cd8e(0x359,0x300)](getTailscaleDomain);if(!_0x24c260)return _0x38f63c[_0x3daf60(0x4ba,0x49f)](_0x38f63c[_0x47cd8e(0x379,0x32c)],_0x38f63c['KMYTx'])?null:(_0x38f63c[_0x47cd8e(0x32a,0x339)](log,_0x3daf60(0x4ca,0x4d9),_0x38f63c[_0x3daf60(0x4d0,0x4f0)]),null);const _0x42e3aa=_0x38f63c['YYXTr'](getTailscaleIP);_0x38f63c['gFrzL'](log,_0x38f63c[_0x47cd8e(0x338,0x316)],_0x47cd8e(0x31d,0x323)+'scale'+_0x47cd8e(0x3d3,0x396)+_0x47cd8e(0x376,0x359)+':\x20'+_0x24c260+'\x20('+_0x42e3aa+')');const _0x1fa659=_0x38f63c[_0x47cd8e(0x2f5,0x2cb)](provisionCerts,_0x24c260);if(!_0x1fa659)return _0x38f63c['gFrzL'](log,_0x47cd8e(0x3ae,0x371),_0x38f63c[_0x47cd8e(0x35f,0x366)]),null;const _0x743dca=_0x5f2de7['https'+'Port']||_0x38f63c[_0x3daf60(0x485,0x48a)](_0x38f63c[_0x3daf60(0x456,0x4ae)](parseInt,process.env.PORT||_0x38f63c[_0x47cd8e(0x303,0x2d1)]),0x1635+-0x2*-0x5fd+-0x222e),_0x2a5c8d={};_0x2a5c8d[_0x47cd8e(0x330,0x37c)]=_0x1fa659['cert'];function _0x3daf60(_0x19e7d2,_0x67104){return _0x1c12a4(_0x67104-0x37,_0x19e7d2);}_0x2a5c8d[_0x3daf60(0x4e6,0x4af)]=_0x1fa659[_0x47cd8e(0x2f1,0x30b)];const _0x3fa0d4=_0x376f2f[_0x3daf60(0x42b,0x47e)+_0x3daf60(0x4f4,0x50f)+'er'](_0x2a5c8d,_0x15310b);if(_0x5f2de7[_0x47cd8e(0x356,0x352)+_0x47cd8e(0x274,0x2d5)]){if(_0x38f63c['bfvhf'](_0x38f63c[_0x3daf60(0x4eb,0x4d3)],_0x38f63c['cDaFU'])){const _0x38f5de={'Awnym':function(_0xc09cc6,_0x188520,_0x530d5d){function _0x4391aa(_0x586c9e,_0x39589d){return _0x47cd8e(_0x39589d,_0x586c9e- -0x223);}return _0x38f63c[_0x4391aa(0x15d,0x10d)](_0xc09cc6,_0x188520,_0x530d5d);},'ZopkU':_0x47cd8e(0x395,0x335),'GWLfR':_0x38f63c[_0x3daf60(0x55f,0x4fc)],'ygHyi':function(_0x45c2dd,_0x139a42,_0x26fcb2){return _0x45c2dd(_0x139a42,_0x26fcb2);}},_0x170eed=_0x3daf60(0x47e,0x4ca)+_0x47cd8e(0x2d8,0x2fe)+_0x25586a+':'+_0x19ca2a;_0x38f63c[_0x47cd8e(0x2d5,0x2f9)](_0x431ba1,_0x38f63c['HDNpO'],_0x3daf60(0x4aa,0x4c7)+_0x47cd8e(0x2f3,0x2f2)+_0x3daf60(0x48e,0x495)+_0x3daf60(0x4da,0x484)+_0x47cd8e(0x367,0x354)+_0x47cd8e(0x370,0x393)+_0x3daf60(0x522,0x4f7)+'\x20'+_0x170eed);const _0x585152=_0x3e3400(()=>{function _0x1b2b9d(_0xb99795,_0x4f214c){return _0x3daf60(_0x4f214c,_0xb99795- -0x279);}_0x38f5de[_0x1b2b9d(0x24c,0x2b8)](_0x4bccc3,_0x38f5de['ZopkU'],_0x38f5de['GWLfR']);function _0x1e4fe2(_0x2744c7,_0x23d821){return _0x3daf60(_0x23d821,_0x2744c7- -0x226);}const _0x591f67=_0x47502c(_0x29e4ec);if(_0x591f67){const _0x133efb={};_0x133efb['cert']=_0x591f67[_0x1e4fe2(0x2fa,0x34d)],_0x133efb[_0x1e4fe2(0x289,0x2f1)]=_0x591f67[_0x1b2b9d(0x236,0x1ef)],_0x1ccab4[_0x1b2b9d(0x295,0x25c)+_0x1e4fe2(0x28f,0x226)+_0x1b2b9d(0x2ac,0x2c8)+'t'](_0x133efb),_0x38f5de[_0x1b2b9d(0x2ae,0x2ba)](_0x509e3a,_0x38f5de[_0x1e4fe2(0x283,0x2cf)],_0x1e4fe2(0x2a1,0x284)+'scale'+_0x1b2b9d(0x1fe,0x236)+_0x1b2b9d(0x22f,0x28a)+_0x1b2b9d(0x255,0x240)+_0x1e4fe2(0x2f6,0x325)+_0x1b2b9d(0x22c,0x25c)+_0x1b2b9d(0x2a9,0x245));}},_0x205cae);_0x585152[_0x3daf60(0x516,0x4cd)]();const _0x9e9ca0={};_0x9e9ca0[_0x47cd8e(0x393,0x33e)+'r']=_0x3f5323,_0x9e9ca0[_0x3daf60(0x59a,0x533)+'n']=_0x35e004,_0x9e9ca0[_0x3daf60(0x4e1,0x47d)]=_0x170eed,_0x9e9ca0['ip']=_0x170e4a,_0x38f63c[_0x3daf60(0x414,0x46f)](_0x3dd821,_0x9e9ca0);}else _0x5f2de7['onSer'+_0x3daf60(0x4a0,0x479)](_0x3fa0d4,_0x24c260);}function _0x47cd8e(_0x1a50d1,_0x4427ef){return _0x1c12a4(_0x4427ef- -0x16d,_0x1a50d1);}return new Promise(_0x4e13d5=>{function _0x4ec9b7(_0x15164f,_0x51487b){return _0x3daf60(_0x51487b,_0x15164f- -0x4f4);}const _0x42de10={'qynxa':function(_0x3fe39e,_0x1739be,_0x34dadf){function _0x1f5abe(_0x1e45d2,_0x1f457c){return _0x22a8(_0x1e45d2- -0x376,_0x1f457c);}return _0x38f63c[_0x1f5abe(-0x131,-0x15b)](_0x3fe39e,_0x1739be,_0x34dadf);},'gUErV':function(_0x1cd06c,_0x520d0f){return _0x38f63c['SbfMy'](_0x1cd06c,_0x520d0f);},'FVhhp':_0x38f63c['AFPuX'],'bpxfH':_0x38f63c['RBzWu'],'CaGCr':function(_0x2e10ce,_0x11b31a){function _0x376e02(_0x1cc0e4,_0x113b6d){return _0x22a8(_0x1cc0e4-0x245,_0x113b6d);}return _0x38f63c[_0x376e02(0x3d5,0x424)](_0x2e10ce,_0x11b31a);},'DuZwz':_0x38f63c['RCGdT'],'bIpMF':_0x38f63c['HDNpO'],'szSrS':_0x38f63c[_0x3dfcbd(0x2b6,0x2ba)],'ZxThJ':function(_0x4ba653,_0xe2e2f7){return _0x4ba653(_0xe2e2f7);},'AslrG':function(_0x574efe,_0x1fd5ce,_0x2d82ee){function _0x3dc72c(_0x1ae3e3,_0x2dae02){return _0x3dfcbd(_0x1ae3e3-0x39,_0x2dae02);}return _0x38f63c[_0x3dc72c(0x2c7,0x269)](_0x574efe,_0x1fd5ce,_0x2d82ee);},'aUnmN':_0x38f63c[_0x3dfcbd(0x2fb,0x2ab)]};function _0x3dfcbd(_0x1198ff,_0xe1802b){return _0x3daf60(_0xe1802b,_0x1198ff- -0x243);}if(_0x38f63c[_0x4ec9b7(-0x16,0x1f)]!==_0x4ec9b7(-0x87,-0xb1))return _0xdb6649[_0x3dfcbd(0x2a3,0x253)][_0x4ec9b7(0x4d,-0x15)+'me'][_0x4ec9b7(-0x25,-0x12)+'ce'](/\.$/,'');else _0x3fa0d4[_0x4ec9b7(0x44,-0x14)+'n'](_0x743dca,_0x38f63c[_0x3dfcbd(0x29c,0x240)],()=>{const _0x40a243={'OfkcT':function(_0x5c01d0,_0x41dff0,_0x21a30c){function _0x28bcd3(_0x24fc3f,_0x2a8e17){return _0x22a8(_0x24fc3f-0x1d8,_0x2a8e17);}return _0x42de10[_0x28bcd3(0x36d,0x3c7)](_0x5c01d0,_0x41dff0,_0x21a30c);},'jLKoh':function(_0x31258e,_0xfe11d7){return _0x42de10['gUErV'](_0x31258e,_0xfe11d7);},'knrXw':_0x42de10[_0x78439(0x46f,0x438)],'NoGbx':_0x42de10[_0x12a341(0x21b,0x271)],'BUQpR':function(_0x1a94f6,_0x2f87a1){return _0x42de10['CaGCr'](_0x1a94f6,_0x2f87a1);},'zRZJp':function(_0x1e838f,_0x3912da){return _0x1e838f!==_0x3912da;},'BeEQC':_0x42de10[_0x78439(0x3ee,0x412)],'lBVaF':_0x42de10[_0x12a341(0x1fc,0x1cd)],'OGRgW':_0x42de10[_0x78439(0x3d6,0x37f)]};function _0x78439(_0x97ec28,_0xdf3671){return _0x4ec9b7(_0xdf3671-0x402,_0x97ec28);}function _0x12a341(_0x328459,_0x4b6314){return _0x4ec9b7(_0x4b6314-0x242,_0x328459);}const _0x2998d3=_0x12a341(0x1d1,0x218)+'://'+_0x24c260+':'+_0x743dca;_0x42de10[_0x12a341(0x1fb,0x1c2)](log,'info',_0x78439(0x3f7,0x3d5)+_0x12a341(0x1bc,0x1e4)+_0x78439(0x392,0x3a3)+_0x78439(0x3a7,0x392)+_0x78439(0x3df,0x406)+_0x78439(0x497,0x445)+_0x78439(0x3b6,0x405)+'\x20'+_0x2998d3);const _0xa35933=_0x42de10[_0x12a341(0x18b,0x1c2)](setInterval,()=>{const _0x35bdd6={'bxUsJ':function(_0x1e3a95,_0x448f5d,_0x5047f9){function _0x4d7119(_0x14ef90,_0x401a3c){return _0x22a8(_0x14ef90-0x2f1,_0x401a3c);}return _0x40a243[_0x4d7119(0x4cb,0x498)](_0x1e3a95,_0x448f5d,_0x5047f9);},'hFgRf':_0x2208f8(0x564,0x58c)};function _0x2010c1(_0x248d4c,_0x4d9be6){return _0x12a341(_0x4d9be6,_0x248d4c- -0x3af);}function _0x2208f8(_0x2f16dc,_0x5df23c){return _0x12a341(_0x5df23c,_0x2f16dc-0x387);}if(_0x40a243[_0x2208f8(0x5c7,0x621)](_0x40a243[_0x2208f8(0x556,0x5a9)],_0x40a243['knrXw'])){_0x40a243[_0x2208f8(0x58e,0x5bb)](log,_0x2010c1(-0x188,-0x11f),_0x40a243[_0x2208f8(0x604,0x667)]);const _0x815bf6=_0x40a243[_0x2010c1(-0x1c7,-0x224)](provisionCerts,_0x24c260);if(_0x815bf6){if(_0x40a243[_0x2208f8(0x5e1,0x5eb)](_0x2010c1(-0x133,-0x184),_0x40a243[_0x2010c1(-0x1af,-0x201)]))_0x35bdd6['bxUsJ'](_0x5e9d11,_0x35bdd6[_0x2208f8(0x5e8,0x61a)],'[Tail'+_0x2208f8(0x56b,0x542)+_0x2208f8(0x56a,0x5b2)+_0x2010c1(-0x1dd,-0x231)+_0x2010c1(-0x169,-0x128)+_0x2208f8(0x564,0x565)+':\x20'+_0x1c36f6['messa'+'ge']);else{const _0x27dcca={};_0x27dcca[_0x2208f8(0x5f5,0x609)]=_0x815bf6[_0x2010c1(-0x141,-0x158)],_0x27dcca[_0x2208f8(0x584,0x5b4)]=_0x815bf6[_0x2208f8(0x584,0x51a)],_0x3fa0d4[_0x2010c1(-0x153,-0x193)+_0x2208f8(0x58a,0x562)+_0x2010c1(-0x13c,-0x12c)+'t'](_0x27dcca),_0x40a243[_0x2208f8(0x58e,0x5ef)](log,_0x40a243[_0x2208f8(0x5a0,0x5ad)],_0x40a243[_0x2010c1(-0x1e7,-0x1c3)]);}}}else _0x4667eb['onSer'+'ver'](_0x27f815,_0x5dff19);},CERT_REFRESH_MS);_0xa35933[_0x78439(0x3a0,0x3db)]();const _0x46c572={};_0x46c572[_0x12a341(0x284,0x230)+'r']=_0x3fa0d4,_0x46c572[_0x78439(0x46f,0x441)+'n']=_0x24c260,_0x46c572['url']=_0x2998d3,_0x46c572['ip']=_0x42e3aa,_0x42de10['ZxThJ'](_0x4e13d5,_0x46c572);}),_0x3fa0d4['on'](_0x38f63c[_0x3dfcbd(0x2b2,0x2b8)],_0x58639e=>{function _0x3745a4(_0xeda174,_0x2e2cca){return _0x3dfcbd(_0x2e2cca-0x18f,_0xeda174);}const _0x1e60d1={'jWpnf':function(_0x2625d3,_0x55b7aa,_0x46e7be){function _0x4ba98a(_0x4d53eb,_0x5d5c8e){return _0x22a8(_0x4d53eb- -0x180,_0x5d5c8e);}return _0x38f63c[_0x4ba98a(0xc5,0x96)](_0x2625d3,_0x55b7aa,_0x46e7be);},'hIalP':_0x38f63c['hxXeC']};if(_0x58639e['code']===_0x3745a4(0x3ee,0x3ef)+'INUSE')_0x38f63c[_0x4271ac(-0x143,-0xf0)]('kfUZV',_0x38f63c[_0x3745a4(0x400,0x3d3)])?_0x38f63c[_0x3745a4(0x451,0x470)](log,_0x38f63c[_0x3745a4(0x42e,0x40d)],_0x4271ac(-0x138,-0xe9)+_0x4271ac(-0x140,-0x11a)+']\x20Por'+'t\x20'+_0x743dca+('\x20in\x20u'+_0x3745a4(0x366,0x3b3)+_0x3745a4(0x411,0x463)+_0x4271ac(-0x10e,-0xcb)+'led.')):_0x1e60d1[_0x4271ac(-0xed,-0xbd)](_0x6aef3e,_0x1e60d1[_0x4271ac(-0xf9,-0x9a)],_0x4271ac(-0x96,-0xe9)+_0x3745a4(0x388,0x3e2)+_0x3745a4(0x47c,0x457)+'t\x20'+_0x3bc366+(_0x4271ac(-0x187,-0x125)+_0x3745a4(0x376,0x3b3)+_0x3745a4(0x452,0x463)+_0x4271ac(-0x99,-0xcb)+'led.'));else{if(_0x38f63c[_0x3745a4(0x4da,0x489)](_0x38f63c['zAbxk'],_0x38f63c[_0x4271ac(-0x106,-0xc4)]))return hLvkdi['AslrG'](_0x448d93,hLvkdi[_0x3745a4(0x3d5,0x3be)],'[Tail'+_0x4271ac(-0x147,-0x11a)+']\x20Not'+_0x4271ac(-0x107,-0xed)+_0x3745a4(0x45e,0x446)+':\x20'+_0x32e679[_0x4271ac(-0x140,-0x103)+'ge']),null;else _0x38f63c[_0x3745a4(0x3d3,0x3e9)](log,_0x38f63c[_0x4271ac(-0xaa,-0xbb)],_0x4271ac(-0xd9,-0xe9)+_0x3745a4(0x3b7,0x3e2)+_0x3745a4(0x39a,0x3e1)+'PS\x20se'+'rver\x20'+_0x4271ac(-0xe6,-0x121)+':\x20'+_0x58639e[_0x4271ac(-0x137,-0x103)+'ge']);}function _0x4271ac(_0x3936c1,_0x469a35){return _0x3dfcbd(_0x469a35- -0x36d,_0x3936c1);}_0x38f63c[_0x4271ac(-0xe4,-0x141)](_0x4e13d5,null);});});}export{getTailscaleDomain,getTailscaleIP};