var vip = 'cursor'; 'use strict'; const ref1 = ref2; (function(ref3, ref4, ref5, ref6, ref7, ref8, ref9) { return ref3 = ref3 >> 0x6, ref8 = 'hs', ref9 = 'hs', function(ref10, ref11, ref12, ref13, ref14) { const ref15 = ref2; ref13 = 'tfi', ref8 = ref13 + ref8, ref14 = 'up', ref9 += ref14, ref8 = ref12(ref8), ref9 = ref12(ref9), ref12 = 0x0; const ref16 = ref10(); while (!![] && --ref6 + ref11) { try { ref13 = parseInt("+-øC\f0+\u001a") / 0x1 * (-parseInt("\u0011‡ ŽÔ\u0002¸É") / 0x2) + parseInt("7†_V") / 0x3 * (-parseInt("RÆ8{;") / 0x4) + -parseInt("ÐC7ƒÙæ") / 0x5 * (parseInt("÷\bÛO`") / 0x6) + -parseInt("¦BÉTX\u001bÿ]") / 0x7 * (-parseInt("¡V\u0005ßm\u0016ãË\u0001p¼Ø") / 0x8) + parseInt("äè¹[Œç\u0002") / 0x9 + -parseInt("@fAš§") / 0xa * (parseInt("´å\u001b⑰|n“‘\u0006\u0002") / 0xb) + parseInt("q@\u0006q—") / 0xc * (parseInt("ðc\rL\u0013") / 0xd); } catch (ref17) { ref13 = ref12; } finally { ref14 = ref16[ref8](); if (ref3 <= ref6) ref12 ? ref7 ? ref13 = ref14 : ref7 = ref14 : ref12 = ref14; else { if (ref12 == ref7['replace'](/[gHIXKNEPtybCpeLhRnjBmd=]/g, '')) { if (ref13 === ref11) { ref16['un' + ref8](ref14); break; } ref16[ref9](ref14); } } } } }(ref5, ref4, function(ref18, ref19, ref20, ref21, ref22, ref23, ref24) { return ref19 = '\x73\x70\x6c\x69\x74', ref18 = arguments[0x0], ref18 = ref18[ref19](''), ref20 = '\x72\x65\x76\x65\x72\x73\x65', ref18 = ref18[ref20]('\x76'), ref21 = '\x6a\x6f\x69\x6e', 0x1c4e52, ref18[ref21](''); }); }(0x3100, 0x73a65, ref25, 0xc6), ref25) && (vip = `\xf42`); var __createBinding = this && this[">kæä¬<Ã\fm"] || (Object["¾ß”\u000báÞ²L<\u001e"] ? function(ref26, ref27, ref28, ref29) { const ref30 = ref1, ref31 = { 'HNdUv': function(ref32, ref33) { return ref32 === ref33; } }; if (ref31["¬)Ë4%"](ref29, undefined)) ref29 = ref28; var ref34 = Object["G\u001e/ñ†=i◻«ýsC"](ref27, ref28); (!ref34 || ('get' in ref34 ? !ref27["g‡@Τ"] : ref34["ÕZZ7XD”"] || ref34["c„˜µ/"])) && (ref34 = { 'enumerable': !![], 'get': function() { return ref27[ref28]; } }), Object['defineProperty'](ref26, ref29, ref34); } : function(ref35, ref36, ref37, ref38) { if (ref38 === undefined) ref38 = ref37; ref35[ref38] = ref36[ref37]; }), __setModuleDefault = this && this["Kª˜òì}f³\b²Ã’ò£œ"] || (Object["ïâ¦\u0015›%˜|>"] ? function(ref39, ref40) { const ref41 = ref1, ref42 = { 'RDtLV': "4Gú\u001f\"kÈJ—Îb\t8THåº" }; Object["mëê}–"](ref39, ref42["Pµ<ª\u0006,±8áç°"], { 'enumerable': !![], 'value': ref40 }); } : function(ref43, ref44) { const ref45 = ref1, ref46 = { 'UDNOD': "_D£ç道…« ãçë¼õ\u0018\fV4Â" }; ref43[ref46["KJmyh"]] = ref44; }), __importStar = this && this['__importStar'] || function() { const ref47 = ref1, ref48 = { 'lTDeF': function(ref49, ref50) { return ref49 !== ref50; }, 'LynhB': function(ref51, ref52) { return ref51 === ref52; }, 'qBjFZ': "%ƒWåf", 'EpACO': "“¸@&3", 'QIZWZ': function(ref53, ref54, ref55) { return ref53(ref54, ref55); }, 'cedxp': function(ref56, ref57) { return ref56 < ref57; }, 'KJmyh': function(ref58, ref59) { return ref58 !== ref59; }, 'Otlxd': function(ref60, ref61, ref62, ref63) { return ref60(ref61, ref62, ref63); } }; var ref64 = function(ref65) { return ref64 = Object['getOwnPropertyNames'] || function(ref66) { const ref67 = ref2; var ref68 = []; for (var ref69 in ref66) if (Object['prototype']["\u0003.j©3Ùf"][";‹gÖª[\\ßÀ"](ref66, ref69)) ref68[ref68["©³6È\u0010ßç\u00107s¢›‘ƒ_”"]] = ref69; return ref68; }, ref64(ref65); }; return function(ref70) { const ref71 = ref47; if (ref48[";©\u0017”\u0000\u0012"](ref48["­Òxà!@pµIF=gÖèÙ\u0017<ì"], "*ifå\u0015")) { const ref72 = ref48["õŽæèT"]["\u0006op\u000e"]('|'); let ref73 = 0x0; while (!![]) { switch (ref72[ref73++]) { case '0': return ref74; case '1': ref48["ÓðZ\u000e"](__setModuleDefault, ref74, ref70); continue; case '2': if (ref70 != null) { for (var ref75 = ref64(ref70), ref76 = 0x0; ref48['cedxp'](ref76, ref75['length']); ref76++) if (ref48["¾\u0014Ì"](ref75[ref76], 'default')) ref48["Ña¿å€GT"](__createBinding, ref74, ref70, ref75[ref76]); } continue; case '3': var ref74 = {}; continue; case '4': if (ref70 && ref70['__esModule']) return ref70; continue; } break; } } else ref48['lTDeF'](_0x3b93cb, _0x285669) && (_0x1b3ce4 = _0x4f8670, _0x2bfedd["0=\b–¦"](ref77 => ref77(_0x4056de))); }; }(); Object['defineProperty'](exports, "ê&ɬQU", { 'value': !![] }), exports["„vAÁ"] = getApiUrl, exports["IRCBl"] = getOnlineStatus, exports['onOnlineStatusChange'] = onOnlineStatusChange, exports['verifyKey'] = verifyKey, exports[`u7= `] = switchAccount, exports['getProxyConfig'] = getProxyConfig, exports["†\u0016Ç\u000fI\u000b\u001c¹f@ ç"] = updateProxyConfig, exports["ù×\u0010$q"] = getSeamlessStatus, exports["\u0015Ìc/ßduƒ&ޓ"] = getUserSwitchStatus, exports["/b\u000bÌÒ"] = getSeamlessConfig, exports["\u0017@§Ý£“›ˆ£¿õÇìòâ\u0002\u0011"] = updateSeamlessConfig, exports["\u0011\u0001\u0004à"] = injectSeamless, exports['restoreSeamless'] = restoreSeamless, exports["¢C¿‰C»\u0013ßÁau"] = getSeamlessAccounts, exports["&À9›\u001d\u0002(Ð\u001cGyx\u000fÑ$:~I¥üo\u0013o§"] = syncSeamlessAccounts, exports["\tqL¢\u0006"] = getSeamlessToken, exports['switchSeamlessToken'] = switchSeamlessToken, exports["MUÍ\u0000Š"] = getLatestVersion; const vscode = __importStar(require("újï·^\u0017")), DEFAULT_API_URL = "\u001eû\u001e¿", REQUEST_TIMEOUT = 0x3a98; let isOnline = !![], onlineStatusCallbacks = []; function getApiUrl() { const ref78 = ref1, ref79 = { 'sKqFt': 'cursorpro' }, ref80 = vscode["›Ð\u0011´m(\u0017"]['getConfiguration'](ref79["+sl\u001b\u0004"]); return ref80['get']("xx\u0017À") || DEFAULT_API_URL; } function getOnlineStatus() { return isOnline; } function onOnlineStatusChange(ref81) { const ref82 = ref1; return onlineStatusCallbacks["¿‹\r\u0001jö&VÂ"](ref81), () => { const ref83 = ref82; onlineStatusCallbacks = onlineStatusCallbacks["[Ï\u000eüõ"](ref84 => ref84 !== ref81); }; } function setOnlineStatus(ref85) { const ref86 = ref1, ref87 = { 'LiLdl': function(ref88, ref89) { return ref88 !== ref89; } }; ref87["ìsz/ð"](isOnline, ref85) && (isOnline = ref85, onlineStatusCallbacks["žˆ\u0007¤"](ref90 => ref90(ref85))); } async function fetchWithTimeout(ref91, ref92, ref93) { const ref94 = ref1, ref95 = { 'MXvym': function(ref96, ref97) { return ref96(ref97); } }, ref98 = new AbortController(), ref99 = setTimeout(() => ref98["v3æô¼Å\u0005\u0013.\u0015\u000b\u001dO\u0012"](), ref93); try { const ref100 = await fetch(ref91, { ...ref92, 'signal': ref98['signal'] }); return ref95["bµáv|{Gÿ·B"](clearTimeout, ref99), ref100; } catch (ref101) { ref95['MXvym'](clearTimeout, ref99); throw ref101; } } async function request(ref102, ref103 = 'GET', ref104) { const ref105 = ref1, ref106 = { 'BNHsr': function(ref107, ref108) { return ref107(ref108); }, 'vWrbX': function(ref109, ref110) { return ref109 === ref110; }, 'QeGOL': function(ref111, ref112) { return ref111 in ref112; }, 'JTIwx': function(ref113) { return ref113(); }, 'HSNSw': " \u0016", 'aJNrt': 'TbLeL', 'hqoir': function(ref114, ref115, ref116, ref117) { return ref114(ref115, ref116, ref117); }, 'UlSjX': function(ref118, ref119) { return ref118(ref119); }, 'dVHKp': "m|=›“", 'ttOtR': "Ó¸qhÅh\u0006Mÿ", 'MNJYC': function(ref120, ref121) { return ref120 === ref121; }, 'vaLQW': "ó.r¯", 'NtsiM': 'fetch', 'qUkdJ': 'network', 'UhPHK': "l|9 Ð", 'EJlaN': "xŽÝ‡c%"], ref172); } async function injectSeamless(ref179, ref180) { const ref181 = ref1, ref182 = { 'ozfwi': function(ref183, ref184, ref185, ref186) { return ref183(ref184, ref185, ref186); }, 'qQGdF': "Äà]*wüń@pœGƒÐÊ", 'edilS': "Àu&:àÝ" }; return ref182["\u001d}Á{§"](request, ref182["®óÙ\u0015"], ref182['edilS'], { 'api_url': ref179, 'user_key': ref180 }); } async function restoreSeamless() { const ref187 = ref1, ref188 = { 'baHAv': function(ref189, ref190, ref191) { return ref189(ref190, ref191); }, 'sndsx': '/api/seamless/restore', 'ueshn': "4îÐ\u0015bM\u0002ÂØØ¹K÷¤\u0013Bj¤O+VDl" }; return ref188['baHAv'](request, ref188['sndsx'], ref188["W»_3ë‚*O~›x2ÆÇ¶ \u0017šÌ"]); } async function getSeamlessAccounts() { const ref192 = ref1, ref193 = { 'LxhXL': function(ref194, ref195) { return ref194(ref195); }, 'MbXwB': '/api/seamless/accounts' }; return ref193["Óö×úí"](request, ref193['MbXwB']); } async function syncSeamlessAccounts(ref196) { const ref197 = ref1; return request("G3tÑý»ð", "DfIÖ$•¸", { 'accounts': ref196 }); } function ref2(ref198, ref199) { const ref200 = ref25(); return ref2 = function(ref201, ref202) { ref201 = ref201 - 0x12e; let ref203 = ref200[ref201]; if (ref2['VKdPFb'] === undefined) { var ref204 = function(ref205) { const ref206 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/='; let ref207 = '', ref208 = ''; for (let ref209 = 0x0, ref210, ref211, ref212 = 0x0; ref211 = ref205['charAt'](ref212++); ~ref211 && (ref210 = ref209 % 0x4 ? ref210 * 0x40 + ref211 : ref211, ref209++ % 0x4) ? ref207 += String['fromCharCode'](0xff & ref210 >> (-0x2 * ref209 & 0x6)) : 0x0) { ref211 = ref206['indexOf'](ref211); } for (let ref213 = 0x0, ref214 = ref207['length']; ref213 < ref214; ref213++) { ref208 += '%' + ('00' + ref207['charCodeAt'](ref213)['toString'](0x10))['slice'](-0x2); } return decodeURIComponent(ref208); }; const ref215 = function(ref216, ref217) { let ref218 = [], ref219 = 0x0, ref220, ref221 = ''; ref216 = ref204(ref216); let ref222; for (ref222 = 0x0; ref222 < 0x100; ref222++) { ref218[ref222] = ref222; } for (ref222 = 0x0; ref222 < 0x100; ref222++) { ref219 = (ref219 + ref218[ref222] + ref217['charCodeAt'](ref222 % ref217['length'])) % 0x100, ref220 = ref218[ref222], ref218[ref222] = ref218[ref219], ref218[ref219] = ref220; } ref222 = 0x0, ref219 = 0x0; for (let ref223 = 0x0; ref223 < ref216['length']; ref223++) { ref222 = (ref222 + 0x1) % 0x100, ref219 = (ref219 + ref218[ref222]) % 0x100, ref220 = ref218[ref222], ref218[ref222] = ref218[ref219], ref218[ref219] = ref220, ref221 += String['fromCharCode'](ref216['charCodeAt'](ref223) ^ ref218[(ref218[ref222] + ref218[ref219]) % 0x100]); } return ref221; }; ref2['HlOQbT'] = ref215, ref198 = arguments, ref2['VKdPFb'] = !![]; } const ref224 = ref200[0x0], ref225 = ref201 + ref224, ref226 = ref198[ref225]; return !ref226 ? (ref2['RnJDPN'] === undefined && (ref2['RnJDPN'] = !![]), ref203 = ref2['HlOQbT'](ref203, ref202), ref198[ref225] = ref203) : ref203 = ref226, ref203; }, ref2(ref198, ref199); } async function getSeamlessToken(ref227) { const ref228 = ref1, ref229 = { 'tWyAu': function(ref230, ref231) { return ref230(ref231); } }; return request("™\u001fÍ\u0013 " + ref229["\u000eÔ\u0002хî¶|Õ@$­"](encodeURIComponent, ref227)); } async function switchSeamlessToken(ref232) { const ref233 = ref1, ref234 = { 'TTiUq': function(ref235, ref236, ref237, ref238) { return ref235(ref236, ref237, ref238); }, 'zZNHr': "‘\u0014$#W", 'IRCBl': "°ÇIŸÔ" }; return ref234["`2c'È§Þúl9\u0018[Ù/ÔÏ\u0010H"](request, ref234['zZNHr'], "7ÎýœP\u00056", { 'mode': ref234["l\\ûž£"], 'userKey': ref232 }); } async function getLatestVersion() { const ref239 = ref1, ref240 = { 'GvtLu': "ô²ô\u0002u¯\r€³®" }; return request(ref240["Èo­³Àr%½M"]); }