hfs-bluetooth-adapter
Version:
海富思科技对外提供的蓝牙设备LLSyncSDK
10,924 lines • 513 kB
JavaScript
var __typeError = (msg) => {
throw TypeError(msg);
};
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
var _isOpenBlue, _blueToothDeviceInfo, _interVal, _isConnectStatus, _isauthenticateStatus, _authToken, _resendInterval, _bleConnectionListener, _DeviceFound, _changeCharacteristicFn, __0x169082_instances, writeUnixTs_fn, bindDevice_fn, writeTokenToLock_fn, authenticateConnection_fn, unbindDevice_fn, changeBleDeviceConnectStatus_fn, disconnectDevice_fn, createPropertyLLData_fn, controlProperty_fn, createActionLLData_fn, controlAction_fn, syncTime_fn, getCurrentId_fn, openLock_fn, closeLock_fn, addPwd_fn, deletePwd_fn, addFingerprint_fn, deleteFingerprint_fn, addNfc_fn, deleteNfc_fn, lockReset_fn, getUserList_fn, getLockHistory_fn, getBattery_fn;
const _0x379d39 = _0xbc3c, _0x5cb069 = _0xbc3c, _0x11d3d6 = _0xbc3c, _0x1c53a7 = _0xbc3c, _0xf1194e = _0xbc3c;
(function(_0x208cd1, _0xc88384) {
const _0x75fa4d = _0xbc3c, _0x296bdf = _0xbc3c, _0x262860 = _0xbc3c, _0x54b083 = _0x208cd1();
while (!![]) {
try {
const _0x527fc4 = parseInt(_0x75fa4d(729)) / 1 + parseInt(_0x75fa4d(629)) / 2 + -parseInt(_0x296bdf(664)) / 3 + parseInt(_0x75fa4d(705)) / 4 + parseInt(_0x262860(618)) / 5 * (parseInt(_0x75fa4d(724)) / 6) + -parseInt(_0x296bdf(717)) / 7 * (parseInt(_0x75fa4d(633)) / 8) + -parseInt(_0x296bdf(685)) / 9;
if (_0x527fc4 === _0xc88384) break;
else _0x54b083["push"](_0x54b083["shift"]());
} catch (_0x4706ee) {
_0x54b083["push"](_0x54b083["shift"]());
}
}
})(_0x1367, 396307);
const _0x3f7fa8 = /* @__PURE__ */ function() {
let _0x5d558e = !![];
return function(_0x7ead8a, _0x32d500) {
const _0x29d82e = _0x5d558e ? function() {
const _0x560a44 = _0xbc3c;
if (_0x32d500) {
const _0x148543 = _0x32d500[_0x560a44(714)](_0x7ead8a, arguments);
return _0x32d500 = null, _0x148543;
}
} : function() {
};
return _0x5d558e = ![], _0x29d82e;
};
}(), _0x206c3a = _0x3f7fa8(void 0, function() {
const _0x173808 = _0xbc3c, _0x3067b6 = _0xbc3c, _0x119983 = _0xbc3c, _0x4871d4 = _0xbc3c, _0x22412e = _0xbc3c, _0x4c0d0d = {};
_0x4c0d0d[_0x173808(604)] = "(((.+)+)+)+$";
const _0x3a7a67 = _0x4c0d0d;
return _0x206c3a[_0x3067b6(532)]()[_0x3067b6(467)](_0x4871d4(648))[_0x3067b6(532)]()[_0x119983(590)](_0x206c3a)[_0x22412e(467)](_0x3a7a67[_0x173808(604)]);
});
_0x206c3a();
const _0x240a11 = {};
_0x240a11["0"] = _0x379d39(725), _0x240a11["1"] = "开启";
const _0xe19c39 = {};
_0xe19c39[_0x379d39(509)] = _0x5cb069(552), _0xe19c39["mapping"] = _0x240a11;
const _0x26f611 = {};
_0x26f611["id"] = _0x5cb069(632), _0x26f611[_0x1c53a7(478)] = _0x5cb069(547), _0x26f611[_0x1c53a7(545)] = "", _0x26f611[_0x5cb069(516)] = "rw", _0x26f611[_0xf1194e(496)] = _0xe19c39, _0x26f611[_0x1c53a7(487)] = ![];
const _0x2e29ba = {};
_0x2e29ba["0"] = "低", _0x2e29ba["1"] = "中", _0x2e29ba["2"] = "高";
const _0x54126f = {};
_0x54126f[_0xf1194e(509)] = _0x379d39(531), _0x54126f["mapping"] = _0x2e29ba;
const _0x141d2d = {};
_0x141d2d["id"] = "clarity", _0x141d2d[_0x1c53a7(478)] = "清晰度", _0x141d2d[_0x11d3d6(545)] = _0xf1194e(609), _0x141d2d[_0xf1194e(516)] = "rw", _0x141d2d[_0x5cb069(496)] = _0x54126f, _0x141d2d[_0x11d3d6(487)] = ![];
const _0x346ab4 = {};
_0x346ab4["0"] = "低", _0x346ab4["1"] = "中", _0x346ab4["2"] = "高";
const _0x2f01c7 = {};
_0x2f01c7[_0x379d39(509)] = "enum", _0x2f01c7[_0x1c53a7(680)] = _0x346ab4;
const _0x4c1248 = {};
_0x4c1248["id"] = _0x5cb069(554), _0x4c1248["name"] = "灵敏度", _0x4c1248[_0x1c53a7(545)] = _0x11d3d6(581), _0x4c1248["mode"] = "rw", _0x4c1248[_0x11d3d6(496)] = _0x2f01c7, _0x4c1248[_0x11d3d6(487)] = ![];
const _0x497452 = {};
_0x497452["1"] = "远", _0x497452["2"] = "中", _0x497452["3"] = "近";
const _0x34f1b0 = {};
_0x34f1b0["type"] = "enum", _0x34f1b0[_0x5cb069(680)] = _0x497452;
const _0x559cd4 = {};
_0x559cd4["id"] = _0xf1194e(502), _0x559cd4["name"] = _0x5cb069(659), _0x559cd4[_0x11d3d6(545)] = "", _0x559cd4["mode"] = "rw", _0x559cd4[_0x5cb069(496)] = _0x34f1b0, _0x559cd4[_0x379d39(487)] = ![];
const _0x5057d8 = {};
_0x5057d8[_0x11d3d6(509)] = "int", _0x5057d8[_0x1c53a7(667)] = "5", _0x5057d8[_0x11d3d6(485)] = "20", _0x5057d8[_0x379d39(607)] = "5", _0x5057d8[_0x379d39(679)] = "5", _0x5057d8[_0x11d3d6(643)] = "秒";
const _0x95ad6e = {};
_0x95ad6e["id"] = "stay_hold_time", _0x95ad6e[_0x379d39(478)] = _0x379d39(473), _0x95ad6e[_0x11d3d6(545)] = "", _0x95ad6e[_0x1c53a7(516)] = "rw", _0x95ad6e[_0x379d39(496)] = _0x5057d8, _0x95ad6e["required"] = ![];
const _0x3fec66 = {};
_0x3fec66[_0x5cb069(509)] = "int", _0x3fec66[_0xf1194e(667)] = "-1", _0x3fec66[_0x1c53a7(485)] = _0x5cb069(568), _0x3fec66[_0xf1194e(607)] = "0", _0x3fec66[_0x11d3d6(679)] = "1", _0x3fec66[_0x11d3d6(643)] = _0x11d3d6(537);
const _0x1bb6d1 = {};
_0x1bb6d1["id"] = _0x11d3d6(512), _0x1bb6d1[_0x1c53a7(478)] = _0x379d39(501), _0x1bb6d1["desc"] = _0x379d39(661), _0x1bb6d1[_0x1c53a7(516)] = "rw", _0x1bb6d1[_0x5cb069(496)] = _0x3fec66, _0x1bb6d1["required"] = ![];
const _0xbbef26 = {};
_0xbbef26[_0x5cb069(509)] = _0x5cb069(658), _0xbbef26[_0x5cb069(667)] = "0", _0xbbef26[_0x1c53a7(485)] = "6";
const _0xc5095f = {};
_0xc5095f["id"] = "start_time", _0xc5095f[_0x11d3d6(478)] = _0x379d39(530), _0xc5095f["dataType"] = _0xbbef26;
const _0x112664 = {};
_0x112664[_0x1c53a7(509)] = _0x5cb069(658), _0x112664[_0x379d39(667)] = "0", _0x112664[_0x11d3d6(485)] = "6";
const _0x40ddb3 = {};
_0x40ddb3["id"] = _0x1c53a7(575), _0x40ddb3["name"] = "截止时间", _0x40ddb3[_0x379d39(588)] = _0x112664;
const _0x33b906 = {};
_0x33b906["type"] = _0xf1194e(511), _0x33b906["specs"] = [_0xc5095f, _0x40ddb3];
const _0x50d6b7 = {};
_0x50d6b7["id"] = _0x11d3d6(510), _0x50d6b7[_0x1c53a7(478)] = _0x11d3d6(696), _0x50d6b7[_0x5cb069(545)] = _0x1c53a7(593), _0x50d6b7[_0x1c53a7(516)] = "rw", _0x50d6b7[_0xf1194e(496)] = _0x33b906, _0x50d6b7["required"] = ![];
const _0x244e8f = {};
_0x244e8f["0"] = "单一开锁", _0x244e8f["1"] = "指纹和密码", _0x244e8f["2"] = _0x11d3d6(582), _0x244e8f["3"] = "指纹和人脸", _0x244e8f["4"] = _0x11d3d6(716), _0x244e8f["5"] = _0x11d3d6(589), _0x244e8f["6"] = _0x11d3d6(594);
const _0x30b081 = {};
_0x30b081[_0xf1194e(509)] = _0x11d3d6(531), _0x30b081["mapping"] = _0x244e8f;
const _0xd0eeaa = {};
_0xd0eeaa["id"] = _0x5cb069(486), _0xd0eeaa["name"] = _0x11d3d6(704), _0xd0eeaa[_0x379d39(545)] = "", _0xd0eeaa[_0x11d3d6(516)] = "rw", _0xd0eeaa[_0x379d39(496)] = _0x30b081, _0xd0eeaa[_0x11d3d6(487)] = ![];
const _0x428ea6 = {};
_0x428ea6["0"] = "铃声0", _0x428ea6["1"] = _0x5cb069(576), _0x428ea6["2"] = _0xf1194e(731), _0x428ea6["3"] = _0x11d3d6(495);
const _0xce25ef = {};
_0xce25ef[_0x379d39(509)] = _0x379d39(531), _0xce25ef["mapping"] = _0x428ea6;
const _0x3f3b62 = {};
_0x3f3b62["id"] = "doorbell_song", _0x3f3b62[_0xf1194e(478)] = "门铃铃声", _0x3f3b62[_0xf1194e(545)] = "", _0x3f3b62[_0x11d3d6(516)] = "rw", _0x3f3b62["define"] = _0xce25ef, _0x3f3b62[_0x5cb069(487)] = ![];
const _0x828756 = {};
_0x828756["0"] = "关闭", _0x828756["1"] = "开启";
const _0x555303 = {};
_0x555303[_0x5cb069(509)] = _0x5cb069(552), _0x555303[_0x5cb069(680)] = _0x828756;
const _0xf67d01 = {};
_0xf67d01["id"] = _0x5cb069(572), _0xf67d01["name"] = "离家布防", _0xf67d01["desc"] = "开启后,门从内侧打开触发报警", _0xf67d01["mode"] = "rw", _0xf67d01["define"] = _0x555303, _0xf67d01[_0x1c53a7(487)] = ![];
const _0x1e1dcb = {};
_0x1e1dcb["0"] = "关闭", _0x1e1dcb["1"] = "开启";
const _0x3f7a65 = {};
_0x3f7a65[_0x1c53a7(509)] = _0x11d3d6(552), _0x3f7a65[_0x1c53a7(680)] = _0x1e1dcb;
const _0x6fd126 = {};
_0x6fd126["id"] = "stay_alarm_mode", _0x6fd126["name"] = "逗留侦测", _0x6fd126["desc"] = _0x11d3d6(706), _0x6fd126[_0x379d39(516)] = "rw", _0x6fd126[_0xf1194e(496)] = _0x3f7a65, _0x6fd126[_0xf1194e(487)] = ![];
const _0x27834d = {};
_0x27834d["0"] = "关闭", _0x27834d["1"] = "开启";
const _0x49dcfd = {};
_0x49dcfd[_0x379d39(509)] = _0x11d3d6(552), _0x49dcfd[_0x379d39(680)] = _0x27834d;
const _0x39d781 = {};
_0x39d781["id"] = _0xf1194e(505), _0x39d781["name"] = _0xf1194e(497), _0x39d781[_0xf1194e(545)] = "摄像头侦测人员逗留消息是否上报", _0x39d781["mode"] = "rw", _0x39d781["define"] = _0x49dcfd, _0x39d781[_0x11d3d6(487)] = ![];
const _0x2bd0d2 = {};
_0x2bd0d2["0"] = "静音", _0x2bd0d2["1"] = "1", _0x2bd0d2["2"] = "2", _0x2bd0d2["3"] = "3", _0x2bd0d2["4"] = "4", _0x2bd0d2["5"] = "5", _0x2bd0d2["6"] = "6", _0x2bd0d2["7"] = "7";
const _0x3c959f = {};
_0x3c959f["type"] = "enum", _0x3c959f[_0xf1194e(680)] = _0x2bd0d2;
const _0x31ce76 = {};
_0x31ce76["id"] = "volume", _0x31ce76["name"] = "音量", _0x31ce76[_0x1c53a7(545)] = "", _0x31ce76[_0x379d39(516)] = "rw", _0x31ce76[_0x1c53a7(496)] = _0x3c959f, _0x31ce76[_0xf1194e(487)] = ![];
const _0x3e12b1 = {};
_0x3e12b1["0"] = _0xf1194e(718), _0x3e12b1["1"] = _0x1c53a7(647);
const _0x5377eb = {};
_0x5377eb[_0x379d39(509)] = "bool", _0x5377eb[_0xf1194e(680)] = _0x3e12b1;
const _0x1d27d9 = {};
_0x1d27d9["id"] = _0x1c53a7(500), _0x1d27d9[_0xf1194e(478)] = "落锁状态", _0x1d27d9[_0x1c53a7(545)] = "", _0x1d27d9[_0x379d39(516)] = "r", _0x1d27d9[_0x11d3d6(496)] = _0x5377eb, _0x1d27d9[_0x379d39(487)] = ![];
const _0x31e758 = {};
_0x31e758["0"] = "休眠状态", _0x31e758["1"] = _0x1c53a7(611);
const _0x78264b = {};
_0x78264b["type"] = _0x379d39(552), _0x78264b[_0xf1194e(680)] = _0x31e758;
const _0x1f1791 = {};
_0x1f1791["id"] = _0x11d3d6(513), _0x1f1791[_0x5cb069(478)] = _0x5cb069(611), _0x1f1791["desc"] = _0x1c53a7(601), _0x1f1791[_0x5cb069(516)] = "r", _0x1f1791[_0x379d39(496)] = _0x78264b, _0x1f1791[_0xf1194e(487)] = ![];
const _0x46d60b = {};
_0x46d60b[_0x1c53a7(509)] = "string", _0x46d60b["min"] = "0", _0x46d60b[_0x379d39(485)] = "20";
const _0x4ceb04 = {};
_0x4ceb04["id"] = _0xf1194e(610), _0x4ceb04["name"] = "用户id", _0x4ceb04[_0x5cb069(588)] = _0x46d60b;
const _0x5a81eb = {};
_0x5a81eb[_0x5cb069(509)] = _0x379d39(658), _0x5a81eb[_0x5cb069(667)] = "0", _0x5a81eb["max"] = "10";
const _0x54e8dc = {};
_0x54e8dc["id"] = _0x379d39(478), _0x54e8dc["name"] = _0xf1194e(698), _0x54e8dc[_0x1c53a7(588)] = _0x5a81eb;
const _0x272eb2 = {};
_0x272eb2[_0x379d39(509)] = _0x5cb069(658), _0x272eb2[_0x5cb069(667)] = "0", _0x272eb2[_0x379d39(485)] = "1024";
const _0x5a8ce8 = {};
_0x5a8ce8["id"] = "effectiveTime", _0x5a8ce8["name"] = _0xf1194e(597), _0x5a8ce8[_0x11d3d6(588)] = _0x272eb2;
const _0x49e584 = {};
_0x49e584[_0x11d3d6(509)] = _0x1c53a7(511), _0x49e584[_0x1c53a7(503)] = [_0x4ceb04, _0x54e8dc, _0x5a8ce8];
const _0xbe6d6f = {};
_0xbe6d6f["arrayInfo"] = _0x49e584, _0xbe6d6f[_0x11d3d6(509)] = _0xf1194e(528);
const _0x3684ef = {};
_0x3684ef["id"] = _0x379d39(687), _0x3684ef[_0x379d39(478)] = "用户", _0x3684ef[_0x11d3d6(545)] = _0x379d39(474), _0x3684ef["mode"] = "rw", _0x3684ef[_0x5cb069(496)] = _0xbe6d6f, _0x3684ef[_0x379d39(487)] = ![];
const _0x482f3c = {};
_0x482f3c[_0x5cb069(509)] = _0x5cb069(658), _0x482f3c[_0xf1194e(667)] = "0", _0x482f3c[_0x5cb069(485)] = _0x379d39(568);
const _0xb5609b = {};
_0xb5609b["id"] = "id", _0xb5609b["name"] = "id", _0xb5609b[_0x11d3d6(588)] = _0x482f3c;
const _0x34e66d = {};
_0x34e66d[_0x379d39(509)] = "string", _0x34e66d["min"] = "0", _0x34e66d["max"] = "20";
const _0x512096 = {};
_0x512096["id"] = _0x11d3d6(610), _0x512096["name"] = _0x11d3d6(610), _0x512096[_0xf1194e(588)] = _0x34e66d;
const _0x46f56a = {};
_0x46f56a[_0x1c53a7(509)] = "struct", _0x46f56a[_0x1c53a7(503)] = [_0xb5609b, _0x512096];
const _0x500568 = {};
_0x500568[_0x1c53a7(693)] = _0x46f56a, _0x500568["type"] = _0xf1194e(528);
const _0x498b7f = {};
_0x498b7f["id"] = "fingerprints", _0x498b7f["name"] = "指纹", _0x498b7f[_0x11d3d6(545)] = "", _0x498b7f["mode"] = "rw", _0x498b7f["define"] = _0x500568, _0x498b7f[_0x5cb069(487)] = ![];
const _0x378e1c = {};
_0x378e1c[_0x11d3d6(509)] = _0xf1194e(658), _0x378e1c[_0xf1194e(667)] = "0", _0x378e1c[_0x5cb069(485)] = "100";
const _0xce864e = {};
_0xce864e["id"] = "id", _0xce864e[_0x5cb069(478)] = "id", _0xce864e["dataType"] = _0x378e1c;
const _0x1b9436 = {};
_0x1b9436["type"] = _0x1c53a7(658), _0x1b9436[_0x11d3d6(667)] = "0", _0x1b9436[_0xf1194e(485)] = "20";
const _0x393927 = {};
_0x393927["id"] = _0x1c53a7(610), _0x393927[_0x5cb069(478)] = _0xf1194e(610), _0x393927["dataType"] = _0x1b9436;
const _0x4594fc = {};
_0x4594fc["type"] = "struct", _0x4594fc[_0xf1194e(503)] = [_0xce864e, _0x393927];
const _0x42a64c = {};
_0x42a64c[_0x5cb069(693)] = _0x4594fc, _0x42a64c["type"] = _0xf1194e(528);
const _0x52c977 = {};
function _0x1367() {
const _0x519ffe = ["重启成功", "添加用户", "restore_factory", "删除卡片", "锁被撬", "30TVRVow", "未开启", "add_password_result", "remind", "get_property_value", "280186BicWbv", "timestamp", "铃声2", "指纹id", "已上锁", "search", "add_card_result", "远程解锁回复", "unlock_remote", "门锁告警", "添加成功状态", "逗留保持时间", "有权限解锁用户", "失效时间", "当前时间", "add_nfc", "name", "未打开", "get_all_user", "门已上锁", "info", "close_lock", "删除遥控", "max", "unlock_switch", "required", "add_fingerprint", "添加卡片", "username", "start_time", "添加密码", "上报卡片添加成功状态", "CategoryId", "铃声3", "define", "侦测消息推送", "open_inside", "usertype", "lock_motor_state", "电池电量", "stay_trigger_distance", "specs", "有效结束时间", "detect_message", "门从内侧打开", "有效起始时间", "有人按门铃上报", "type", "no_disturb_time_set", "struct", "battery_percentage", "wakeup_state", "未唤醒", "常开日", "mode", "outtime", "开锁记录", "delete_remote_control", "卡片解锁", "关锁失败", "错误密码", "magnet_delayed", "end_effective_time", "int", "开锁时间", "编辑失败", "array", "time", "开始时间", "enum", "toString", "result", "解锁失败", "invalid_time", "获取所有用户", "百分比", "已成功唤醒", "用户类型", "delete_user", "设备重启", "没人按门铃", "state", "unlock_card", "desc", "普通密码", "勿扰开关", "常开时间段", "actions", "profile", "属性id", "bool", "1000", "sensitivity", "alarm_tip", "用户id", "错误指纹", "取消添加密码", "invalid_date", "add_finger_num", "openlock_history", "添加用户密码", "门铃呼叫提醒", "解锁成功", "开锁成功状态", "cycle_password_list", "普通用户", "100", "cards", "delete_card", "布防模式被打破", "arming_switch", "添加指纹状态", "add_remote_control", "end_time", "铃声1", "结束时间", "delete_password", "管理员", "passwords", "人体移动监测灵敏度", "指纹和门卡", "0未刷卡 1已刷卡", "cancel_add_password", "device_restart", "from", "nfc", "dataType", "密码和人脸", "constructor", "input", "添加周期密码", "设置每天休眠时间段,格式为23:59", "门卡和人脸", "删除失败", "查询当前用户编号", "生效时间", "currentId", "add_fingerprint_result", "pwdtype", "设备主动上报是否处于唤醒状态", "密码id", "蓝牙广播", "HaRkr", "add_User", "unlock_temporary_password", "start", "take_effect_time", "video录像的清晰度", "userid", "唤醒状态", "指纹数", "编辑一个用户", "111", "生效星期", "output", "添加成功", "9050ehhpUS", "check_code", "lock_delayed", "ordinary", "opened", "卡片id", "上报指纹添加成功状态", "添加失败", "del_cycle_password", "locked", "删除成功", "1169638VwpstY", "1024", "unlock_fingerprint", "no_disturb_switch", "124024YwwADG", "获取开锁记录", "fingerprint", "设置时间", "取消添加指纹", "钥匙解锁", "alarm_lock", "180", "重启失败", "start_effective_time", "unit", "APP", "删除用户", "删除指纹", "已落锁", "(((.+)+)+)+$", "修改成功状态", "唤醒门锁", "编辑用户", "上锁状态", "用户名称", "取消添加卡片", "添加卡片状态", "门未关", "password", "string", "逗留感应距离", "验证失败锁定", "-1表示未获取到电量", "doorbell", "0失败1-6指纹次数A登记成功B请离开手指C指纹模板错误D指纹已满E退出", "636960oiowNs", "unlock_remote_result", "未上锁", "min", "解锁结果", "timestr", "512", "错误卡", "ProductId", "custom", "删除周期密码", "密码解锁", "开锁类型", "时区值", "门铃呼叫", "step", "mapping", "开锁状态", "生效日期", "远程解锁", "周期密码列表", "1793250FCPlUP", "远程关锁", "users", "2048", "effectiveTime", "编辑成功", "week", "低电量", "arrayInfo", "set_user", "128", "勿扰时间设置", "add_user_pwd", "用户名", "删除状态", "门锁处于休眠状态,需通过此指令唤醒门锁", "blue_tooth_broadcast", "失败日期", "编辑结果", "多重验证", "1099552zvQbKi", "开启后,可以进行逗留侦测", "open_day", "已打开", "add_user_finger", "用户编号", "take_effect_date", "params", "errorcount", "apply", "删除密码", "密码和门卡", "154xhIUIl", "未落锁"];
_0x1367 = function() {
return _0x519ffe;
};
return _0x1367();
}
_0x52c977["id"] = _0x379d39(569), _0x52c977[_0x379d39(478)] = "卡片", _0x52c977[_0xf1194e(545)] = "", _0x52c977[_0xf1194e(516)] = "rw", _0x52c977[_0x11d3d6(496)] = _0x42a64c, _0x52c977["required"] = ![];
const _0x17fdab = {};
_0x17fdab["type"] = _0x379d39(658), _0x17fdab[_0xf1194e(667)] = "0", _0x17fdab["max"] = _0x379d39(568);
const _0x26ba3c = {};
_0x26ba3c["id"] = "id", _0x26ba3c[_0x5cb069(478)] = "id", _0x26ba3c[_0x379d39(588)] = _0x17fdab;
const _0x551490 = {};
_0x551490["type"] = _0xf1194e(658), _0x551490["min"] = "0", _0x551490[_0x5cb069(485)] = "20";
const _0x5c19bd = {};
_0x5c19bd["id"] = _0xf1194e(610), _0x5c19bd["name"] = _0x379d39(610), _0x5c19bd[_0x1c53a7(588)] = _0x551490;
const _0x250144 = {};
_0x250144[_0x5cb069(509)] = _0x1c53a7(511), _0x250144[_0x11d3d6(503)] = [_0x26ba3c, _0x5c19bd];
const _0x34d184 = {};
_0x34d184[_0x5cb069(693)] = _0x250144, _0x34d184[_0x5cb069(509)] = "array";
const _0x44404d = {};
_0x44404d["id"] = _0x5cb069(580), _0x44404d[_0x11d3d6(478)] = "密码", _0x44404d[_0x11d3d6(545)] = "", _0x44404d[_0x1c53a7(516)] = "rw", _0x44404d[_0x1c53a7(496)] = _0x34d184, _0x44404d["required"] = ![];
const _0x59298f = {};
_0x59298f[_0x1c53a7(509)] = _0x1c53a7(658), _0x59298f[_0x379d39(667)] = "0", _0x59298f[_0x5cb069(485)] = _0x5cb069(688);
const _0x3545f3 = {};
_0x3545f3["id"] = "id", _0x3545f3[_0x379d39(478)] = _0xf1194e(602), _0x3545f3[_0x379d39(588)] = _0x59298f;
const _0x2f889c = {};
_0x2f889c["type"] = _0xf1194e(658), _0x2f889c[_0x379d39(667)] = "0", _0x2f889c[_0x379d39(485)] = "6";
const _0x4382e7 = {};
_0x4382e7["id"] = _0xf1194e(608), _0x4382e7[_0x5cb069(478)] = _0xf1194e(597), _0x4382e7[_0x379d39(588)] = _0x2f889c;
const _0x1bf42e = {};
_0x1bf42e["type"] = _0x11d3d6(658), _0x1bf42e[_0x11d3d6(667)] = "0", _0x1bf42e[_0x11d3d6(485)] = "6";
const _0x47248d = {};
_0x47248d["id"] = _0x11d3d6(535), _0x47248d["name"] = _0x379d39(475), _0x47248d["dataType"] = _0x1bf42e;
const _0x2cf5b4 = {};
_0x2cf5b4["type"] = "string", _0x2cf5b4[_0x11d3d6(667)] = "0", _0x2cf5b4[_0x1c53a7(485)] = "7";
const _0xa51a73 = {};
_0xa51a73["id"] = _0x5cb069(691), _0xa51a73[_0x11d3d6(478)] = _0x11d3d6(615), _0xa51a73[_0x1c53a7(588)] = _0x2cf5b4;
const _0x2fc3c2 = {};
_0x2fc3c2[_0x1c53a7(509)] = _0x11d3d6(658), _0x2fc3c2[_0x379d39(667)] = "0", _0x2fc3c2[_0x11d3d6(485)] = "10";
const _0x28b9fd = {};
_0x28b9fd["id"] = _0xf1194e(711), _0x28b9fd["name"] = _0x379d39(682), _0x28b9fd[_0x1c53a7(588)] = _0x2fc3c2;
const _0x4e984d = {};
_0x4e984d[_0x11d3d6(509)] = _0xf1194e(658), _0x4e984d[_0x379d39(667)] = "0", _0x4e984d["max"] = "10";
const _0x385114 = {};
_0x385114["id"] = _0xf1194e(559), _0x385114["name"] = "失败日期", _0x385114[_0x379d39(588)] = _0x4e984d;
const _0x427242 = {};
_0x427242[_0x1c53a7(509)] = "struct", _0x427242[_0x5cb069(503)] = [_0x3545f3, _0x4382e7, _0x47248d, _0xa51a73, _0x28b9fd, _0x385114];
const _0x5e4886 = {};
_0x5e4886[_0x5cb069(693)] = _0x427242, _0x5e4886["type"] = "array";
const _0x488d2b = {};
_0x488d2b["id"] = _0x1c53a7(566), _0x488d2b[_0x5cb069(478)] = _0x11d3d6(684), _0x488d2b["desc"] = "", _0x488d2b["mode"] = "rw", _0x488d2b[_0x5cb069(496)] = _0x5e4886, _0x488d2b[_0x379d39(487)] = ![];
const _0x3523dd = {};
_0x3523dd[_0x379d39(509)] = _0xf1194e(525), _0x3523dd[_0x5cb069(667)] = "1", _0x3523dd["max"] = _0x379d39(553), _0x3523dd["start"] = "1", _0x3523dd["step"] = "1", _0x3523dd["unit"] = "";
const _0x2ede54 = {};
_0x2ede54["arrayInfo"] = _0x3523dd, _0x2ede54[_0x1c53a7(509)] = _0xf1194e(528);
const _0x3e7071 = {};
_0x3e7071["id"] = _0xf1194e(540), _0x3e7071["name"] = _0x1c53a7(645), _0x3e7071[_0x5cb069(545)] = "", _0x3e7071[_0xf1194e(516)] = "rw", _0x3e7071[_0x5cb069(496)] = _0x2ede54, _0x3e7071[_0x379d39(487)] = ![], _0x3e7071[_0x1c53a7(586)] = _0xf1194e(673);
const _0x1f53a8 = {};
_0x1f53a8[_0x1c53a7(509)] = "int", _0x1f53a8[_0x11d3d6(667)] = "0", _0x1f53a8[_0xf1194e(485)] = "1000", _0x1f53a8[_0xf1194e(607)] = "0", _0x1f53a8[_0x5cb069(679)] = "1", _0x1f53a8["unit"] = "";
const _0x559eee = {};
_0x559eee["id"] = _0x5cb069(610), _0x559eee[_0x1c53a7(478)] = _0x379d39(710), _0x559eee[_0x1c53a7(588)] = _0x1f53a8;
const _0x5bfa69 = {};
_0x5bfa69[_0x11d3d6(509)] = _0x11d3d6(658), _0x5bfa69[_0x1c53a7(667)] = "0", _0x5bfa69[_0x5cb069(485)] = _0x379d39(695);
const _0x2e2921 = {};
_0x2e2921["id"] = _0x379d39(490), _0x2e2921[_0x1c53a7(478)] = _0x379d39(653), _0x2e2921[_0x1c53a7(588)] = _0x5bfa69;
const _0xb32016 = {};
_0xb32016[_0x1c53a7(509)] = _0x5cb069(730);
const _0x1531f0 = {};
_0x1531f0["id"] = _0x11d3d6(669), _0x1531f0[_0x379d39(478)] = _0x1c53a7(526), _0x1531f0[_0x5cb069(588)] = _0xb32016;
const _0x206014 = {};
_0x206014["0"] = "指纹", _0x206014["1"] = "密码", _0x206014["2"] = "卡片", _0x206014["3"] = _0x1c53a7(644), _0x206014["4"] = "遥控";
const _0x4f3466 = {};
_0x4f3466[_0xf1194e(509)] = _0xf1194e(531), _0x4f3466[_0x379d39(680)] = _0x206014;
const _0x522893 = {};
_0x522893["id"] = _0x1c53a7(509), _0x522893["name"] = _0x5cb069(676), _0x522893[_0x11d3d6(588)] = _0x4f3466;
const _0xecff9c = {};
_0xecff9c[_0x1c53a7(509)] = "struct", _0xecff9c[_0x1c53a7(503)] = [_0x559eee, _0x2e2921, _0x1531f0, _0x522893];
const _0x104eaa = {};
_0x104eaa["arrayInfo"] = _0xecff9c, _0x104eaa[_0x1c53a7(509)] = "array";
const _0x24be1d = {};
_0x24be1d["id"] = _0xf1194e(561), _0x24be1d[_0x1c53a7(478)] = _0x11d3d6(518), _0x24be1d[_0xf1194e(545)] = "", _0x24be1d[_0x1c53a7(516)] = "rw", _0x24be1d[_0xf1194e(496)] = _0x104eaa, _0x24be1d[_0x11d3d6(487)] = ![], _0x24be1d[_0x1c53a7(586)] = _0x1c53a7(673);
const _0x71c159 = {};
_0x71c159["type"] = _0x1c53a7(525), _0x71c159[_0xf1194e(667)] = "1", _0x71c159[_0x379d39(485)] = _0x1c53a7(553), _0x71c159[_0x11d3d6(607)] = "1", _0x71c159[_0x5cb069(679)] = "1", _0x71c159[_0x1c53a7(643)] = "";
const _0x37bf38 = {};
_0x37bf38["id"] = "userid", _0x37bf38["name"] = "用户编号", _0x37bf38["dataType"] = _0x71c159;
const _0xaa1541 = {};
_0xaa1541[_0xf1194e(509)] = _0xf1194e(658), _0xaa1541["min"] = "0", _0xaa1541[_0x11d3d6(485)] = _0x11d3d6(670);
const _0x4e8d82 = {};
_0x4e8d82["id"] = "username", _0x4e8d82["name"] = _0x5cb069(653), _0x4e8d82["dataType"] = _0xaa1541;
const _0x16e20d = {};
_0x16e20d[_0xf1194e(509)] = _0xf1194e(525), _0x16e20d[_0xf1194e(667)] = "0", _0x16e20d[_0x1c53a7(485)] = "4", _0x16e20d[_0xf1194e(607)] = "0", _0x16e20d[_0x1c53a7(679)] = "1", _0x16e20d[_0x379d39(643)] = "";
const _0x1b550f = {};
_0x1b550f["id"] = _0x1c53a7(635), _0x1b550f[_0xf1194e(478)] = _0xf1194e(612), _0x1b550f[_0x379d39(588)] = _0x16e20d;
const _0x3ef0df = {};
_0x3ef0df["0"] = "无", _0x3ef0df["1"] = "有";
const _0x4b79d0 = {};
_0x4b79d0[_0x1c53a7(509)] = _0x11d3d6(531), _0x4b79d0[_0xf1194e(680)] = _0x3ef0df;
const _0x38cc77 = {};
_0x38cc77["id"] = _0xf1194e(621), _0x38cc77[_0x11d3d6(478)] = _0xf1194e(546), _0x38cc77[_0x1c53a7(588)] = _0x4b79d0;
const _0xe5803c = {};
_0xe5803c["0"] = "无", _0xe5803c["1"] = "有";
const _0x2f746d = {};
_0x2f746d["type"] = _0x5cb069(531), _0x2f746d[_0x379d39(680)] = _0xe5803c;
const _0x3bf3ae = {};
_0x3bf3ae["id"] = _0x1c53a7(587), _0x3bf3ae["name"] = "卡片", _0x3bf3ae[_0xf1194e(588)] = _0x2f746d;
const _0x595b1f = {};
_0x595b1f[_0x11d3d6(509)] = _0x5cb069(730);
const _0x11b35e = {};
_0x11b35e["id"] = "start_effective_time", _0x11b35e["name"] = _0x11d3d6(507), _0x11b35e[_0x5cb069(588)] = _0x595b1f;
const _0x4f6d5d = {};
_0x4f6d5d["type"] = _0x379d39(730);
const _0x485cd6 = {};
_0x485cd6["id"] = _0x11d3d6(524), _0x485cd6[_0x11d3d6(478)] = _0x1c53a7(504), _0x485cd6[_0x11d3d6(588)] = _0x4f6d5d;
const _0x4ff96e = {};
_0x4ff96e["0"] = "普通用户", _0x4ff96e["1"] = _0x379d39(579);
const _0x518986 = {};
_0x518986["type"] = _0x5cb069(531), _0x518986[_0x5cb069(680)] = _0x4ff96e;
const _0x1941ed = {};
_0x1941ed["id"] = _0x1c53a7(499), _0x1941ed[_0x1c53a7(478)] = _0x5cb069(539), _0x1941ed[_0xf1194e(588)] = _0x518986;
const _0x3c688d = {};
_0x3c688d["type"] = _0x1c53a7(511), _0x3c688d[_0x11d3d6(503)] = [_0x37bf38, _0x4e8d82, _0x1b550f, _0x38cc77, _0x3bf3ae, _0x11b35e, _0x485cd6, _0x1941ed];
const _0x5e4047 = {};
_0x5e4047[_0x1c53a7(693)] = _0x3c688d, _0x5e4047[_0xf1194e(509)] = _0x1c53a7(528);
const _0x306acc = {};
_0x306acc["id"] = _0x11d3d6(480), _0x306acc[_0x5cb069(478)] = _0x5cb069(536), _0x306acc["desc"] = "", _0x306acc[_0xf1194e(516)] = "rw", _0x306acc[_0x11d3d6(496)] = _0x5e4047, _0x306acc[_0x5cb069(487)] = ![], _0x306acc[_0x11d3d6(586)] = "custom";
const _0x1cafc7 = {};
_0x1cafc7[_0x5cb069(509)] = "int", _0x1cafc7[_0x1c53a7(667)] = "0", _0x1cafc7["max"] = "5", _0x1cafc7[_0x379d39(607)] = "0", _0x1cafc7[_0xf1194e(679)] = "1", _0x1cafc7[_0x1c53a7(643)] = "";
const _0x44037f = {};
_0x44037f["id"] = _0x11d3d6(523), _0x44037f[_0x1c53a7(478)] = "门磁延时", _0x44037f[_0x379d39(545)] = "", _0x44037f[_0x11d3d6(516)] = "rw", _0x44037f[_0xf1194e(496)] = _0x1cafc7, _0x44037f[_0x11d3d6(487)] = ![], _0x44037f[_0xf1194e(586)] = _0xf1194e(673);
const _0x4af9ba = {};
_0x4af9ba[_0x11d3d6(509)] = "int", _0x4af9ba["min"] = "3", _0x4af9ba[_0x379d39(485)] = "15", _0x4af9ba["start"] = "3", _0x4af9ba[_0x1c53a7(679)] = "1", _0x4af9ba[_0xf1194e(643)] = "";
const _0x235e2f = {};
_0x235e2f["id"] = _0x5cb069(620), _0x235e2f[_0x11d3d6(478)] = "上锁延时", _0x235e2f[_0x5cb069(545)] = "", _0x235e2f[_0x11d3d6(516)] = "rw", _0x235e2f[_0x5cb069(496)] = _0x4af9ba, _0x235e2f["required"] = ![], _0x235e2f[_0x5cb069(586)] = _0x11d3d6(673);
const _0x4ed2e4 = {};
_0x4ed2e4[_0x11d3d6(509)] = _0x379d39(525), _0x4ed2e4["min"] = "1", _0x4ed2e4[_0x379d39(485)] = "50", _0x4ed2e4[_0x379d39(607)] = "1", _0x4ed2e4[_0x379d39(679)] = "1", _0x4ed2e4["unit"] = "";
const _0x3dd10c = {};
_0x3dd10c["id"] = _0x1c53a7(713), _0x3dd10c["name"] = "失败次数", _0x3dd10c["dataType"] = _0x4ed2e4;
const _0x16b819 = {};
_0x16b819["type"] = "int", _0x16b819[_0x1c53a7(667)] = "0", _0x16b819[_0x1c53a7(485)] = _0x1c53a7(640), _0x16b819[_0x5cb069(607)] = "0", _0x16b819[_0xf1194e(679)] = "1", _0x16b819[_0x1c53a7(643)] = "";
const _0x4c0527 = {};
_0x4c0527["id"] = _0x5cb069(517), _0x4c0527[_0x1c53a7(478)] = "锁定时间", _0x4c0527[_0xf1194e(588)] = _0x16b819;
const _0x41a8ee = {};
_0x41a8ee[_0x1c53a7(509)] = _0x5cb069(511), _0x41a8ee[_0xf1194e(503)] = [_0x3dd10c, _0x4c0527];
const _0x352425 = {};
_0x352425["id"] = "error_lockout", _0x352425["name"] = _0x379d39(660), _0x352425[_0x5cb069(545)] = "", _0x352425[_0x379d39(516)] = "rw", _0x352425[_0x379d39(496)] = _0x41a8ee, _0x352425[_0x5cb069(487)] = ![], _0x352425[_0x379d39(586)] = "custom";
const _0x12690c = {};
_0x12690c[_0xf1194e(509)] = _0x11d3d6(525), _0x12690c[_0x379d39(667)] = "0", _0x12690c["max"] = "255", _0x12690c[_0x379d39(607)] = "0", _0x12690c[_0x379d39(679)] = "1", _0x12690c["unit"] = "";
const _0x5adfae = {};
_0x5adfae["id"] = _0x11d3d6(707), _0x5adfae[_0x379d39(478)] = _0x379d39(515), _0x5adfae[_0xf1194e(588)] = _0x12690c;
const _0x5c6f0d = {};
_0x5c6f0d[_0x1c53a7(509)] = _0x379d39(658), _0x5c6f0d[_0x379d39(667)] = "0", _0x5c6f0d[_0x1c53a7(485)] = "8";
const _0x50ce4e = {};
_0x50ce4e["id"] = _0xf1194e(491), _0x50ce4e[_0x11d3d6(478)] = _0x11d3d6(530), _0x50ce4e["dataType"] = _0x5c6f0d;
const _0x2a6455 = {};
_0x2a6455[_0x379d39(509)] = _0xf1194e(658), _0x2a6455["min"] = "0", _0x2a6455[_0x11d3d6(485)] = "8";
const _0x51e98b = {};
_0x51e98b["id"] = _0x1c53a7(575), _0x51e98b[_0xf1194e(478)] = _0x11d3d6(577), _0x51e98b[_0x5cb069(588)] = _0x2a6455;
const _0x38be41 = {};
_0x38be41[_0x5cb069(509)] = _0x5cb069(511), _0x38be41[_0x1c53a7(503)] = [_0x5adfae, _0x50ce4e, _0x51e98b];
const _0x4982ef = {};
_0x4982ef["id"] = "normally_open", _0x4982ef["name"] = _0x1c53a7(548), _0x4982ef[_0xf1194e(545)] = "", _0x4982ef[_0x1c53a7(516)] = "rw", _0x4982ef[_0x1c53a7(496)] = _0x38be41, _0x4982ef[_0xf1194e(487)] = ![], _0x4982ef["from"] = "custom";
const _0x261583 = {};
_0x261583["0"] = "关", _0x261583["1"] = "开";
const _0x1ef7c9 = {};
_0x1ef7c9[_0x11d3d6(509)] = _0x379d39(552), _0x1ef7c9["mapping"] = _0x261583;
const _0x2beea5 = {};
_0x2beea5["id"] = _0x1c53a7(701), _0x2beea5[_0xf1194e(478)] = _0x5cb069(603), _0x2beea5["desc"] = "开启后,锁需要先唤醒才开启蓝牙", _0x2beea5["mode"] = "rw", _0x2beea5[_0x11d3d6(496)] = _0x1ef7c9, _0x2beea5[_0x379d39(487)] = ![], _0x2beea5["from"] = _0x379d39(673);
const _0x2c5411 = {};
_0x2c5411[_0x379d39(509)] = _0x1c53a7(658), _0x2c5411[_0xf1194e(667)] = "0", _0x2c5411["max"] = "1";
const _0x2aa208 = {};
_0x2aa208["id"] = "add_nfc_num", _0x2aa208[_0x379d39(478)] = _0x379d39(655), _0x2aa208[_0x5cb069(545)] = _0x11d3d6(583), _0x2aa208[_0x5cb069(516)] = "rw", _0x2aa208[_0x5cb069(496)] = _0x2c5411, _0x2aa208["required"] = ![], _0x2aa208[_0xf1194e(586)] = _0xf1194e(673);
const _0x2340dc = {};
_0x2340dc[_0xf1194e(509)] = _0xf1194e(658), _0x2340dc["min"] = "0", _0x2340dc["max"] = "1";
const _0x1e683d = {};
_0x1e683d["id"] = _0x5cb069(560), _0x1e683d[_0xf1194e(478)] = _0x11d3d6(573), _0x1e683d[_0x11d3d6(545)] = _0x1c53a7(663), _0x1e683d[_0x1c53a7(516)] = "rw", _0x1e683d[_0x1c53a7(496)] = _0x2340dc, _0x1e683d[_0xf1194e(487)] = ![], _0x1e683d["from"] = _0xf1194e(673);
const _0x1b06cc = {};
_0x1b06cc[_0x11d3d6(509)] = _0x379d39(658), _0x1b06cc[_0xf1194e(667)] = "0", _0x1b06cc[_0x1c53a7(485)] = _0x11d3d6(688);
const _0x1d99c5 = {};
_0x1d99c5["id"] = "id", _0x1d99c5[_0x5cb069(478)] = _0x379d39(732), _0x1d99c5[_0x11d3d6(496)] = _0x1b06cc;
const _0x1d0d1e = {};
_0x1d0d1e["0"] = "解锁失败", _0x1d0d1e["1"] = _0x1c53a7(564);
const _0x4cb896 = {};
_0x4cb896[_0x5cb069(509)] = _0x5cb069(552), _0x4cb896[_0x1c53a7(680)] = _0x1d0d1e;
const _0x14c7da = {};
_0x14c7da["id"] = _0x1c53a7(543), _0x14c7da[_0xf1194e(478)] = _0x379d39(681), _0x14c7da[_0xf1194e(496)] = _0x4cb896;
const _0x56928c = {};
_0x56928c["id"] = _0x5cb069(631), _0x56928c[_0x379d39(478)] = "指纹解锁", _0x56928c[_0x11d3d6(545)] = "", _0x56928c[_0xf1194e(509)] = _0xf1194e(482), _0x56928c[_0x1c53a7(712)] = [_0x1d99c5, _0x14c7da], _0x56928c[_0x1c53a7(487)] = ![];
const _0x343f13 = {};
_0x343f13[_0x379d39(509)] = "string", _0x343f13["min"] = "0", _0x343f13[_0x5cb069(485)] = _0x11d3d6(688);
const _0x203ce4 = {};
_0x203ce4["id"] = "id", _0x203ce4[_0x379d39(478)] = _0x379d39(623), _0x203ce4[_0xf1194e(496)] = _0x343f13;
const _0x1fd080 = {};
_0x1fd080["0"] = _0xf1194e(534), _0x1fd080["1"] = _0x1c53a7(564);
const _0x25af3d = {};
_0x25af3d[_0xf1194e(509)] = _0x379d39(552), _0x25af3d[_0xf1194e(680)] = _0x1fd080;
const _0x4a4ec6 = {};
_0x4a4ec6["id"] = "state", _0x4a4ec6["name"] = _0x5cb069(681), _0x4a4ec6[_0x379d39(496)] = _0x25af3d;
const _0x3eddeb = {};
_0x3eddeb["id"] = _0x5cb069(544), _0x3eddeb["name"] = _0x11d3d6(520), _0x3eddeb[_0x11d3d6(545)] = "", _0x3eddeb[_0xf1194e(509)] = _0x5cb069(482), _0x3eddeb[_0xf1194e(712)] = [_0x203ce4, _0x4a4ec6], _0x3eddeb[_0x1c53a7(487)] = ![];
const _0x41dac3 = {};
_0x41dac3["0"] = _0x11d3d6(534), _0x41dac3["1"] = _0x11d3d6(564);
const _0x3ba752 = {};
_0x3ba752["type"] = _0x1c53a7(552), _0x3ba752["mapping"] = _0x41dac3;
const _0xd52047 = {};
_0xd52047["id"] = _0x11d3d6(543), _0xd52047[_0x379d39(478)] = _0x1c53a7(681), _0xd52047[_0x11d3d6(496)] = _0x3ba752;
const _0x5dde02 = {};
_0x5dde02[_0x5cb069(509)] = _0x11d3d6(658), _0x5dde02["min"] = "0", _0x5dde02["max"] = _0x5cb069(688);
const _0x11a133 = {};
_0x11a133["id"] = "id", _0x11a133["name"] = _0x11d3d6(602), _0x11a133[_0x379d39(496)] = _0x5dde02;
const _0x55388a = {};
_0x55388a["id"] = "unlock_password", _0x55388a[_0x1c53a7(478)] = _0x11d3d6(675), _0x55388a[_0x11d3d6(545)] = "", _0x55388a[_0x1c53a7(509)] = _0x379d39(482), _0x55388a[_0xf1194e(712)] = [_0xd52047, _0x11a133], _0x55388a["required"] = ![];
const _0x57225a = {};
_0x57225a["0"] = _0x11d3d6(534), _0x57225a["1"] = _0x1c53a7(564);
const _0xfee510 = {};
_0xfee510[_0x379d39(509)] = "bool", _0xfee510[_0xf1194e(680)] = _0x57225a;
const _0x5843a3 = {};
_0x5843a3["id"] = "state", _0x5843a3[_0x11d3d6(478)] = _0x5cb069(681), _0x5843a3[_0x1c53a7(496)] = _0xfee510;
const _0x2c96c7 = {};
_0x2c96c7["id"] = "unlock_key", _0x2c96c7["name"] = _0x11d3d6(638), _0x2c96c7[_0x379d39(545)] = "", _0x2c96c7[_0x379d39(509)] = _0x11d3d6(482), _0x2c96c7["params"] = [_0x5843a3], _0x2c96c7["required"] = ![];
const _0x15d99d = {};
_0x15d99d["0"] = _0x1c53a7(534), _0x15d99d["1"] = "解锁成功";
const _0x2007d5 = {};
_0x2007d5[_0x11d3d6(509)] = _0x5cb069(552), _0x2007d5[_0xf1194e(680)] = _0x15d99d;
const _0x86572a = {};
_0x86572a["id"] = _0x1c53a7(543), _0x86572a["name"] = _0x5cb069(681), _0x86572a[_0x379d39(496)] = _0x2007d5;
const _0x3011e0 = {};
_0x3011e0[_0x11d3d6(509)] = _0xf1194e(658), _0x3011e0["min"] = "0", _0x3011e0[_0x5cb069(485)] = "2048";
const _0x2fcca6 = {};
_0x2fcca6["id"] = "id", _0x2fcca6[_0xf1194e(478)] = "密码id", _0x2fcca6[_0x379d39(496)] = _0x3011e0;
const _0x1cf3e2 = {};
_0x1cf3e2["id"] = _0x1c53a7(606), _0x1cf3e2["name"] = "临时密码解锁", _0x1cf3e2[_0x5cb069(545)] = "", _0x1cf3e2["type"] = _0x11d3d6(482), _0x1cf3e2[_0x379d39(712)] = [_0x86572a, _0x2fcca6], _0x1cf3e2[_0x379d39(487)] = ![];
const _0x428107 = {};
_0x428107[_0x1c53a7(509)] = _0x11d3d6(658), _0x428107[_0x11d3d6(667)] = "0", _0x428107["max"] = _0xf1194e(688);
const _0x5dbac3 = {};
_0x5dbac3["id"] = "id", _0x5dbac3[_0x1c53a7(478)] = "指纹id", _0x5dbac3[_0x379d39(496)] = _0x428107;
const _0x58e270 = {};
_0x58e270["0"] = _0x1c53a7(625), _0x58e270["1"] = _0x379d39(617);
const _0x321285 = {};
_0x321285[_0x5cb069(509)] = _0x5cb069(552), _0x321285[_0x5cb069(680)] = _0x58e270;
const _0x498330 = {};
_0x498330["id"] = _0x5cb069(533), _0x498330["name"] = "添加成功状态", _0x498330[_0x5cb069(496)] = _0x321285;
const _0x24dbfe = {};
_0x24dbfe[_0x379d39(509)] = _0xf1194e(658), _0x24dbfe["min"] = "0", _0x24dbfe[_0x11d3d6(485)] = "20";
const _0x1966ba = {};
_0x1966ba["id"] = _0x5cb069(610), _0x1966ba[_0x5cb069(478)] = _0xf1194e(556), _0x1966ba[_0xf1194e(496)] = _0x24dbfe;
const _0x323520 = {};
_0x323520["id"] = _0x11d3d6(599), _0x323520[_0x379d39(478)] = _0x11d3d6(624), _0x323520[_0x11d3d6(545)] = "", _0x323520[_0x1c53a7(509)] = _0xf1194e(482), _0x323520[_0x379d39(712)] = [_0x5dbac3, _0x498330, _0x1966ba], _0x323520[_0xf1194e(487)] = ![];
const _0x381f49 = {};
_0x381f49[_0x11d3d6(509)] = _0x1c53a7(658), _0x381f49[_0x5cb069(667)] = "0", _0x381f49[_0x5cb069(485)] = "2048";
const _0x5656a6 = {};
_0x5656a6["id"] = "id", _0x5656a6["name"] = _0xf1194e(602), _0x5656a6["define"] = _0x381f49;
const _0x3bb553 = {};
_0x3bb553["0"] = _0x379d39(625), _0x3bb553["1"] = _0x11d3d6(617);
const _0x19ce19 = {};
_0x19ce19[_0x1c53a7(509)] = _0x11d3d6(552), _0x19ce19["mapping"] = _0x3bb553;
const _0x242ec2 = {};
_0x242ec2["id"] = _0x5cb069(533), _0x242ec2[_0xf1194e(478)] = _0x11d3d6(472), _0x242ec2[_0x5cb069(496)] = _0x19ce19;
const _0x45f36c = {};
_0x45f36c[_0x11d3d6(509)] = "string", _0x45f36c["min"] = "0", _0x45f36c["max"] = "20";
const _0x5b3e23 = {};
_0x5b3e23["id"] = _0x379d39(610), _0x5b3e23[_0x379d39(478)] = "用户id", _0x5b3e23[_0x1c53a7(496)] = _0x45f36c;
const _0xa394bd = {};
_0xa394bd["id"] = _0x11d3d6(726), _0xa394bd[_0x1c53a7(478)] = "上报密码添加成功状态", _0xa394bd[_0xf1194e(545)] = "", _0xa394bd[_0x379d39(509)] = "alert", _0xa394bd[_0x5cb069(712)] = [_0x5656a6, _0x242ec2, _0x5b3e23], _0xa394bd[_0x5cb069(487)] = ![];
const _0x301789 = {};
_0x301789[_0x379d39(509)] = _0x5cb069(658), _0x301789[_0x5cb069(667)] = "0", _0x301789[_0xf1194e(485)] = _0x1c53a7(688);
const _0x598c0b = {};
_0x598c0b["id"] = "id", _0x598c0b[_0x5cb069(478)] = _0x11d3d6(623), _0x598c0b[_0xf1194e(496)] = _0x301789;
const _0x14a642 = {};
_0x14a642["0"] = _0x1c53a7(625), _0x14a642["1"] = _0xf1194e(617);
const _0x42ebd8 = {};
_0x42ebd8[_0x379d39(509)] = _0x379d39(552), _0x42ebd8[_0x1c53a7(680)] = _0x14a642;
const _0x35d3b9 = {};
_0x35d3b9["id"] = "result", _0x35d3b9[_0xf1194e(478)] = _0x11d3d6(472), _0x35d3b9[_0x5cb069(496)] = _0x42ebd8;
const _0x38eb30 = {};
_0x38eb30[_0xf1194e(509)] = "string", _0x38eb30["min"] = "0", _0x38eb30[_0x1c53a7(485)] = "20";
const _0x33f570 = {};
_0x33f570["id"] = "userid", _0x33f570[_0x1c53a7(478)] = _0x379d39(556), _0x33f570["define"] = _0x38eb30;
const _0x450dc7 = {};
_0x450dc7["id"] = _0x5cb069(468), _0x450dc7[_0xf1194e(478)] = _0x5cb069(493), _0x450dc7[_0x379d39(545)] = "", _0x450dc7["type"] = "info", _0x450dc7[_0x1c53a7(712)] = [_0x598c0b, _0x35d3b9, _0x33f570], _0x450dc7[_0x1c53a7(487)] = ![];
const _0xfb5c5a = {};
_0xfb5c5a["0"] = _0xf1194e(666), _0xfb5c5a["1"] = _0x379d39(733);
const _0x2192ef = {};
_0x2192ef[_0x1c53a7(509)] = "bool", _0x2192ef["mapping"] = _0xfb5c5a;
const _0x1add3d = {};
_0x1add3d["id"] = _0x1c53a7(627), _0x1add3d[_0x5cb069(478)] = _0x379d39(652), _0x1add3d[_0x1c53a7(496)] = _0x2192ef;
const _0xcfa57b = {};
_0xcfa57b["id"] = "door_locked", _0xcfa57b[_0x11d3d6(478)] = _0x11d3d6(481), _0xcfa57b["desc"] = "", _0xcfa57b[_0x11d3d6(509)] = _0x1c53a7(482), _0xcfa57b["params"] = [_0x1add3d], _0xcfa57b[_0x5cb069(487)] = ![];
const _0xca03c8 = {};
_0xca03c8["0"] = _0x1c53a7(479), _0xca03c8["1"] = _0x11d3d6(708);
const _0x20fca2 = {};
_0x20fca2[_0x1c53a7(509)] = _0x1c53a7(552), _0x20fca2["mapping"] = _0xca03c8;
const _0x4717f8 = {};
_0x4717f8["id"] = _0x1c53a7(622), _0x4717f8["name"] = "打开状态", _0x4717f8[_0xf1194e(496)] = _0x20fca2;
const _0x2e7d03 = {};
_0x2e7d03["id"] = _0x379d39(498), _0x2e7d03[_0xf1194e(478)] = _0xf1194e(506), _0x2e7d03["desc"] = "", _0x2e7d03[_0x1c53a7(509)] = _0x1c53a7(482), _0x2e7d03["params"] = [_0x4717f8], _0x2e7d03[_0x379d39(487)] = ![];
const _0x1267ac = {};
_0x1267ac["0"] = _0x11d3d6(534), _0x1267ac["1"] = _0x11d3d6(564);
const _0x27414a = {};
_0x27414a[_0x1c53a7(509)] = _0x11d3d6(552), _0x27414a[_0x1c53a7(680)] = _0x1267ac;
const _0x49dce8 = {};
_0x49dce8["id"] = _0x1c53a7(533), _0x49dce8[_0xf1194e(478)] = _0x379d39(668), _0x49dce8["define"] = _0x27414a;
const _0x34b141 = {};
_0x34b141["id"] = _0x1c53a7(665), _0x34b141[_0xf1194e(478)] = _0x5cb069(469), _0x34b141[_0x5cb069(545)] = "", _0x34b141[_0x379d39(509)] = _0xf1194e(482), _0x34b141[_0xf1194e(712)] = [_0x49dce8], _0x34b141[_0x11d3d6(487)] = ![];
const _0x63002c = {};
_0x63002c["0"] = _0x379d39(557), _0x63002c["1"] = _0xf1194e(522), _0x63002c["2"] = _0x1c53a7(671), _0x63002c["3"] = _0x1c53a7(692), _0x63002c["4"] = "门未锁好", _0x63002c["5"] = _0x11d3d6(656), _0x63002c["6"] = _0x11d3d6(723), _0x63002c["7"] = _0x379d39(571), _0x63002c["8"] = "错误人脸", _0x63002c["9"] = "门前有人逗留";
const _0x440905 = {};
_0x440905[_0x11d3d6(509)] = _0x379d39(531), _0x440905[_0xf1194e(680)] = _0x63002c;
const _0x1f4929 = {};
_0x1f4929["id"] = _0xf1194e(555), _0x1f4929[_0x379d39(478)] = "告警提示", _0x1f4929["define"] = _0x440905;
const _0xef056 = {};
_0xef056["id"] = _0xf1194e(639), _0xef056[_0x1c53a7(478)] = _0x11d3d6(471), _0xef056[_0x11d3d6(545)] = "", _0xef056[_0x5cb069(509)] = "alert", _0xef056[_0x11d3d6(712)] = [_0x1f4929], _0xef056[_0x1c53a7(487)] = ![];
const _0x7e3dc = {};
_0x7e3dc["0"] = _0x11d3d6(542), _0x7e3dc["1"] = "有人按门铃";
const _0x5e0a8f = {};
_0x5e0a8f[_0x1c53a7(509)] = _0x11d3d6(552), _0x5e0a8f[_0x1c53a7(680)] = _0x7e3dc;
const _0x30fe8d = {};
_0x30fe8d["id"] = _0x379d39(727), _0x30fe8d[_0x1c53a7(478)] = _0x11d3d6(563), _0x30fe8d[_0x5cb069(496)] = _0x5e0a8f;
const _0x52312e = {};
_0x52312e["id"] = _0x1c53a7(662), _0x52312e[_0x379d39(478)] = _0x5cb069(678), _0x52312e[_0x379d39(545)] = _0x1c53a7(508), _0x52312e["type"] = _0x379d39(482), _0x52312e[_0x11d3d6(712)] = [_0x30fe8d], _0x52312e[_0x5cb069(487)] = ![];
const _0x54ad8a = {};
_0x54ad8a["0"] = "开锁失败", _0x54ad8a["1"] = "开锁成功";
const _0x26d400 = {};
_0x26d400[_0x379d39(509)] = _0xf1194e(552), _0x26d400[_0x11d3d6(680)] = _0x54ad8a;
const _0x42f201 = {};
_0x42f201["id"] = "result", _0x42f201[_0x379d39(478)] = _0x11d3d6(565), _0x42f201["define"] = _0x26d400;
const _0x255e7e = {};
_0x255e7e["id"] = _0xf1194e(470), _0x255e7e[_0x1c53a7(478)] = _0x5cb069(683), _0x255e7e[_0x379d39(545)] = "", _0x255e7e["input"] = [], _0x255e7e[_0x11d3d6(616)] = [_0x42f201], _0x255e7e[_0x379d39(487)] = ![];
const _0x2fcd92 = {};
_0x2fcd92["id"] = "cancel_add_fingerprint", _0x2fcd92[_0x11d3d6(478)] = _0xf1194e(637), _0x2fcd92["desc"] = "", _0x2fcd92["input"] = [], _0x2fcd92[_0x11d3d6(616)] = [], _0x2fcd92[_0x11d3d6(487)] = ![];
const _0x4e4117 = {};
_0x4e4117["id"] = _0xf1194e(584), _0x4e4117[_0x379d39(478)] = _0x5cb069(558), _0x4e4117["desc"] = "", _0x4e4117[_0x11d3d6(591)] = [], _0x4e4117[_0xf1194e(616)] = [], _0x4e4117["required"] = ![];
const _0x2e559a = {};
_0x2e559a["id"] = "cancel_add_card", _0x2e559a[_0x379d39(478)] = _0x1c53a7(654), _0x2e559a[_0xf1194e(545)] = "", _0x2e559a[_0x11d3d6(591)] = [], _0x2e559a[_0x1c53a7(616)] = [], _0x2e559a[_0x5cb069(487)] = ![];
const _0x273985 = {};
_0x273985["id"] = _0xf1194e(721), _0x273985[_0x1c53a7(478)] = "恢复出厂", _0x273985[_0x379d39(545)] = "", _0x273985[_0x1c53a7(591)] = [], _0x273985[_0x379d39(616)] = [], _0x273985[_0x5cb069(487)] = ![];
const _0x1cba2b = {};
_0x1cba2b["type"] = _0x5cb069(658), _0x1cba2b[_0x5cb069(667)] = "0", _0x1cba2b[_0x5cb069(485)] = "100";
const _0x313e28 = {};
_0x313e28["id"] = "id", _0x313e28["name"] = "指纹id", _0x313e28[_0x379d39(496)] = _0x1cba2b;
const _0x2c5cc7 = {};
_0x2c5cc7["0"] = _0x379d39(595), _0x2c5cc7["1"] = _0x379d39(628);
const _0x2d2179 = {};
_0x2d2179[_0x1c53a7(509)] = _0xf1194e(552), _0x2d2179[_0x379d39(680)] = _0x2c5cc7;
const _0x4a6af2 = {};
_0x4a6af2["id"] = "result", _0x4a6af2[_0x1c53a7(478)] = "删除状态", _0x4a6af2["define"] = _0x2d2179;
const _0x2264df = {};
_0x2264df["id"] = "delete_fingerprint", _0x2264df[_0x1c53a7(478)] = _0x1c53a7(646), _0x2264df[_0xf1194e(545)] = "", _0x2264df["input"] = [_0x313e28], _0x2264df[_0x1c53a7(616)] = [_0x4a6af2], _0x2264df[_0xf1194e(487)] = ![];
const _0x207798 = {};
_0x207798["type"] = "string", _0x207798[_0x379d39(667)] = "0", _0x207798[_0x379d39(485)] = _0x5cb069(688);
const _0x31b067 = {};
_0x31b067["id"] = "id", _0x31b067[_0x1c53a7(478)] = "卡id", _0x31b067[_0x379d39(496)] = _0x207798;
const _0x5ce310 = {};
_0x5ce310["0"] = "删除失败", _0x5ce310["1"] = _0x5cb069(628);
const _0x5c719b = {};
_0x5c719b[_0x379d39(509)] = _0x5cb069(552), _0x5c719b["mapping"] = _0x5ce310;
const _0x599a01 = {};
_0x599a01["id"] = "result", _0x599a01[_0x379d39(478)] = _0x5cb069(699), _0x599a01[_0x379d39(496)] = _0x5c719b;
const _0xe5bd43 = {};
_0xe5bd43["id"] = _0xf1194e(570), _0xe5bd43[_0x11d3d6(478)] = _0x5cb069(722), _0xe5bd43[_0xf1194e(545)] = "", _0xe5bd43[_0xf1194e(591)] = [_0x31b067], _0xe5bd43[_0xf1194e(616)] = [_0x599a01], _0xe5bd43["required"] = ![];
const _0x34ed4c = {};
_0x34ed4c[_0x5cb069(509)] = "string", _0x34ed4c["min"] = "0", _0x34ed4c[_0x379d39(485)] = _0x379d39(688);
const _0x48cb92 = {};
_0x48cb92["id"] = "id", _0x48cb92[_0xf1194e(478)] = _0x379d39(602), _0x48cb92[_0x11d3d6(496)] = _0x34ed4c;
const _0x55fc2c = {};
_0x55fc2c["0"] = _0xf1194e(595), _0x55fc2c["1"] = "删除成功";
const _0x15e5d4 = {};
_0x15e5d4[_0x5cb069(509)] = _0x379d39(552), _0x15e5d4["mapping"] = _0x55fc2c;
const _0x235827 = {};
_0x235827["id"] = _0x11d3d6(533), _0x235827["name"] = _0xf1194e(699), _0x235827[_0x379d39(496)] = _0x15e5d4;
const _0x1f4035 = {};
_0x1f4035["id"] = _0x379d39(578), _0x1f4035[_0x5cb069(478)] = _0x379d39(715), _0x1f4035[_0x5cb069(545)] = "", _0x1f4035[_0x5cb069(591)] = [_0x48cb92], _0x1f4035[_0x5cb069(616)] = [_0x235827], _0x1f4035["required"] = ![];
const _0x5f581e = {};
_0x5f581e[_0x379d39(509)] = _0xf1194e(658), _0x5f581e[_0x5cb069(667)] = "0", _0x5f581e[_0x11d3d6(485)] = _0x379d39(688);
const _0x1e7556 = {};
_0x1e7556["id"] = "id", _0x1e7556[_0x5cb069(478)] = "密码id", _0x1e7556[_0x5cb069(496)] = _0x5f581e;
const _0x5b8c5e = {};
_0x5b8c5e["0"] = _0x1c53a7(595), _0x5b8c5e["1"] = _0x1c53a7(628);
const _0x2e7014 = {};
_0x2e7014[_0xf1194e(509)] = _0x11d3d6(552), _0x2e7014[_0x11d3d6(680)] = _0x5b8c5e;
const _0x59cbd2 = {};
_0x59cbd2["id"] = "result", _0x59cbd2["name"] = _0x1c53a7(699), _0x59cbd2[_0xf1194e(496)] = _0x2e7014;
const _0x51448d = {};
_0x51448d["id"] = _0xf1194e(626), _0x51448d[_0x1c53a7(478)] = _0x5cb069(674), _0x51448d[_0x11d3d6(545)] = "", _0x51448d[_0x11d3d6(591)] = [_0x1e7556], _0x51448d[_0x11d3d6(616)] = [_0x59cbd2], _0x51448d[_0x5cb069(487)] = ![];
const _0x30d11b = {};
_0x30d11b[_0x11d3d6(509)] = _0x5cb069(658), _0x30d11b["min"] = "0", _0x30d11b[_0x11d3d6(485)] = "20";
const _0x17eec0 = {};
_0x17eec0["id"] = "userid", _0x17eec0[_0x379d39(478)] = "用户id", _0x17eec0[_0x1c53a7(496)] = _0x30d11b;
const _0x14c2c5 = {};
_0x14c2c5["id"] = _0x379d39(488), _0x14c2c5[_0x379d39(478)] = "添加指纹", _0x14c2c5[_0x379d39(545)] = "", _0x14c2c5[_0xf1194e(591)] = [_0x17eec0], _0x14c2c5[_0x5cb069(616)] = [], _0x14c2c5[_0xf1194e(487)] = ![];
const _0x36bfbd = {};
_0x36bfbd[_0x5cb069(509)] = _0x11d3d6(658), _0x36bfbd[_0x11d3d6(667)] = "0", _0x36bfbd[_0xf1194e(485)] = "20";
const _0x4dfb76 = {};
_0x4dfb76["id"] = "userid", _0x4dfb76["name"] = _0x11d3d6(556), _0x4dfb76["define"] = _0x36bfbd;
const _0x126a56 = {};
_0x126a56["id"] = "add_password", _0x126a56["name"] = _0x11d3d6(492), _0x126a56["desc"] = "", _0x126a56[_0x5cb069(591)] = [_0x4dfb76], _0x126a56["output"] = [], _0x126a56[_0x5cb069(487)] = ![];
const _0x27e05c = {};
_0x27e05c[_0x11d3d6(509)] = _0x1c53a7(658), _0x27e05c["min"] = "0", _0x27e05c[_0x379d39(485)] = "20";
const _0x5d58a1 = {};
_0x5d58a1["id"] = _0xf1194e(610), _0x5d58a1["name"] = _0x11d3d6(556), _0x5d58a1["define"] = _0x27e05c;
const _0x545432 = {};
_0x545432["id"] = "add_card", _0x545432[_0xf1194e(478)] = _0x5cb069(489), _0x545432[_0x1c53a7(545)] = "", _0x545432[_0x379d39(591)] = [_0x5d58a1], _0x545432[_0x11d3d6(616)] = [], _0x545432[_0x5cb069(487)] = ![];
const _0x2b2e27 = {};
_0x2b2e27["0"] = _0x379d39(514), _0x2b2e27["1"] = _0x379d39(538);
const _0x4ffba5 = {};
_0x4ffba5[_0x379d39(509)] = "bool", _0x4ffba5["mapping"] = _0x2b2e27;
const _0x5a625c = {};
_0x5a625c["id"] = "wakeup_state", _0x5a625c[_0x1c53a7(478)] = _0x5cb069(611), _0x5a625c["define"] = _0x4ffba5;
const _0xaae4e1 = {};
_0xaae4e1["id"] = "wake_up", _0xaae4e1[_0x11d3d6(478)] = _0x1c53a7(650), _0xaae4e1[_0xf1194e(545)] = _0x11d3d6(700), _0xaae4e1[_0x1c53a7(591)] = [], _0xaae4e1[_0x11d3d6(616)] = [_0x5a625c], _0xaae4e1[_0x1c53a7(487)] = ![];
const _0x2e51be = {};
_0x2e51be[_0x11d3d6(509)] = "string", _0x2e51be[_0x11d3d6(667)] = "0", _0x2e51be[_0x11d3d6(485)] = "20";
const _0x12218b = {};
_0x12218b["id"] = "userid", _0x12218b[_0x379d39(478)] = _0x379d39(556), _0x12218b[_0x1c53a7(496)] = _0x2e51be;
const _0x48ced6 = {};
_0x48ced6[_0x11d3d6(509)] = "string", _0x48ced6["min"] = "0", _0x48ced6[_0x11d3d6(485)] = "10";
const _0x56b7a3 = {};
_0x56b7a3["id"] = _0x1c53a7(478), _0x56b7a3[_0x379d39(478)] = "用户昵称", _0x56b7a3[_0xf1194e(496)] = _0x48ced6;
const _0x39120f = {};
_0x39120f[_0x379d39(509)] = _0x379d39(658), _0x39120f[_0x1c53a7(667)] = "0", _0x39120f["max"] = _0xf1194e(630);
const _0x25b98c = {};
_0x25b98c["id"] = _0x5cb069(689), _0x25b98c[_0x1c53a7(478)] = _0x5cb069(597), _0x25b98c[_0x5cb069(496)] = _0x39120f;
const _0x3ad116 = {};
_0x3ad116["0"] = _0x5cb069(690), _0x3ad116["1"] = _0x379d39(527);
const _0x50135b = {};
_0x50135b[_0x379d39(509)] = _0x5cb069(552), _0x50135b[_0x1c53a7(680)] = _0x3ad116;
const _0x56f0cf = {};
_0x56f0cf["id"] = _0x5cb069(533), _0x56f0cf[_0x11d3d6(478)] = _0x1c53a7(703), _0x56f0cf[_0x1c53a7(496)] = _0x50135b;
const _0x11b73f = {};
_0x11b73f["id"] = "edit_user", _0x11b73f[_0xf1194e(478)] = _0x379d39(651), _0x11b73f[_0x379d39(545)] = _0xf1194e(613), _0x11b73f[_0x379d39(591)] = [_0x12218b, _0x56b7a3, _0x25b98c], _0x11b73f[_0x5cb069(616)] = [_0x56f0cf], _0x11b73f[_0x5cb069(487)] = ![];
const _0x3d6480 = {};
_0x3d6480[_0x379d39(509)] = _0x1c53a7(658), _0x3d6480[_0xf1194e(667)] = "0", _0x3d6480[_0x5cb069(485)] = "6";
const _0x3e831a = {};
_0x3e831a["id"] = _0x379d39(608), _0x3e831a[_0x379d39(478)] = _0x379d39(597), _0x3e831a[_0xf1194e(496)] = _0x3d6480;
const _0x11381d = {};
_0x11381d[_0x379d39(509)] = _0xf1194e(658), _0x11381d[_0x11d3d6(667)] = "0", _0x11381d[_0x1c53a7(485)] = "6";
const _0x529edb = {};
_0x529edb["id"] = _0xf1194e(535), _0x529edb[_0xf1194e(478)] = _0x5cb069(475), _0x529edb["define"] = _0x11381d;
const _0xd5c62d = {};
_0xd5c62d["type"] = _0x11d3d6(658), _0xd5c62d["min"] = "0", _0xd5c62d[_0x5cb069(485)] = "100";
const _0x48fca8 = {};
_0x48fca8["id"] = _0xf1194e(619), _0x48fca8[_0x1c53a7(478)] = "校验码", _0x48fca8[_0x379d39(496)] = _0xd5c62d;
const _0x5e1a53 = {};
_0x5e1a53[_0x11d3d6(509)] = _0x11d3d6(658), _0x5e1a53[_0x1c53a7(667)] = "0", _0x5e1a53[_0x11d3d6(485)] = "7";
const _0x15fd97 = {};
_0x15fd97["id"] = "week", _0x15fd97[_0x11d3d6(478)] = "生效星期", _0x15fd97[_0x379d39(496)] = _0x5e1a53;
const _0x1f8b31 = {};
_0x1f8b31["type"] = _0x11d3d6(658), _0x1f8b31[_0x5cb069(667)] = "0", _0x1f8b31[_0x5cb069(485)] = "10";
const _0x51a775 = {};
_0x51a775["id"] = _0x11d3d6(711), _0x51a775["name"] = _0x11d3d6(682), _0x51a775["define"] = _0x1f8b31;
const _0x5d3773 = {};
_0x5d3773["type"] = _0x379d39(658), _0x5d3773["min"] = "0", _0x5d3773[_0x379d39(485)] = "10";
const _0x329957 = {};
_0x329957["id"] = _0x5cb069(559), _0x329957[_0xf1194e(478)] = _0x379d39(702), _0x329957[_0x5cb069(496)] = _0x5d3773;
const _0x16c942 = {};
_0x16c942[_0x11d3d6(509)] = _0x379d39(658), _0x16c942["min"] = "0", _0x16c942["max"] = _0x5cb069(688);
const _0x531b9b = {};
_0x531b9b["id"] = "id", _0x531b9b[_0xf1194e(478)] = _0x11d3d6(602), _0x531b9b[_0xf1194e(496)] = _0x16c942;
const _0x366836 = {};
_0x366836["0"] = _0xf1194e(625), _0x366836["1"] = _0x379d39(617);
const _0x2140f4 = {};
_0x2140f4[_0x5cb069(509)] = _0x379d39(552), _0x2140f4["mapping"] = _0x366836;
const _0x22465f = {};
_0x22465f["id"] = _0x11d3d6(533), _0x22465f[_0xf1194e(478)] = _0x11d3d6(649), _0x22465f[_0x379d39(496)] = _0x2140f4;
const _0x350f01 = {};
function _0xbc3c(_0x2d97ec, _0x2ec15b) {
const _0x5a152d = _0x1367();
return _0xbc3c = function(_0x45d77b, _0x40410d) {
_0x45d77b = _0x45d77b - 467;
let _0x136725 = _0x5a152d[_0x45d77b];
return _0x136725;
}, _0xbc3c(_0x2d97ec, _0x2ec15b);
}
_0x350f01["id"] = "add_cycle_password", _0x350f01[_0x11d3d6(478)] = _0x1c53a7(592), _0x350f01[_0x11d3d6(545)] = "", _0x350f01["input"] = [_0x3e831a, _0x529edb, _0x48fca8, _0x15fd97, _0x51a775, _0x329957], _0x350f01[_0x1c53a7(616)] = [_0x531b9b, _0x22465f], _0x350f01[_0x5cb069(487)] = ![];
const _0x3e2c78 = {};
_0x3e2c78[_0x379d39(509)] = _0x11d3d6(525), _0x3e2c78[_0x1c53a7(667)] = "0", _0x3e2c78[_0x379d39(485)] = "1000", _0x3e2c78[_0x11d3d6(607)] = "0", _0x3e2c78[_0x11d3d6(679)] = "1", _0x3e2c78[_0x379d39(643)] = "";
const _0x4bbf3c = {};
_0x4bbf3c["id"] = _0x11d3d6(610), _0x4bbf3c[_0x5cb069(478)] = _0x379d39(710), _0x4bbf3c["define"] = _0x3e2c78;
const _0x585a9b = {};
_0x585a9b["id"] = _0xf1194e(598), _0x585a9b[_0x11d3d6(478)] = _0x1c53a7(596), _0x585a9b[_0x1c53a7(545)] = "", _0x585a9b[_0x379d39(591)] = [], _0x585a9b[_0x379d39(616)] = [_0x4bbf3c], _0x585a9b[_0x1c53a7(487)] = ![], _0x585a9b["from"] = _0x11d3d6(673);
const _0x1a6db4 = {};
_0x1a6db4["0"] = _0x5cb069(521), _0x1a6db4["1"] = "关锁成功";
const _0x173bfb = {};
_0x173bfb[_0x11d3d6(509)] = "bool", _0x173bfb[_0x379d39(680)] = _0x1a6db4;
const _0x4a63a4 = {};
_0x4a63a4["id"] = "result", _0x4a63a4[_0x5cb069(478)] = "结果", _0x4a63a4["define"] = _0x173bfb;
const _0x2e14b0 = {};
_0x2e14b0["id"] = _0x1c53a7(483), _0x2e14b0[_0x1c53a7(478)] = _0xf1194e(686), _0x2e14b0["desc"] = "", _0x2e14b0["input"] = [], _0x2e14b0[_0x11d3d6(616)] = [_0x4a63a4], _0x2e14b0[_0xf1194e(487)] = ![], _0x2e14b0[_0xf1194e(586)] = _0x5cb069(673);
const _0x4ebba9 = {};
_0x4ebba9["0"] = _0x379d39(641), _0x4ebba9["1"] = _0xf1194e(719);
const _0xdbe7ad = {};
_0xdbe7ad[_0x379d39(509)] = "bool", _0xdbe7ad[_0x5cb069(680)] = _0x4ebba9;
const _0xa04d48 = {};
_0xa04d48["id"] = "result", _0xa04d48["name"] = "结果", _0xa04d48[_0xf1194e(496)] = _0xdbe7ad;
const _0x367e96 = {};
_0x367e96["id"] = _0xf1194e(585), _0x367e96[_0xf1194e(478)] = _0x5cb069(541), _0x367e96[_0x11d3d6(545)] = "", _0x367e96[_0x1c53a7(591)] = [], _0x367e96[_0xf1194e(616)] = [_0xa04d48], _0x367e96[_0xf1194e(487)] = ![], _0x367e96["from"] = _0x379d39(673);
const _0x57bf04 = {};
_0x57bf04[_0x5cb069(509)] = "int", _0x57bf04[_0x379d39(667)] = "0", _0x57bf04[_0xf1194e(485)] = _0x11d3d6(553), _0x57bf04["start"] = "0", _0x57bf04["step"] = "1", _0x57bf04[_0x5cb069(643)] = "";
const _0x39d7d9 = {};
_0x39d7d9["id"] = _0x379d39(610), _0x39d7d9[_0x1c53a7(478)] = _0x379d39(710), _0x39d7d9[_0x379d39(496)] = _0x57bf04;
const _0xf9871 = {};
_0xf9871[_0xf1194e(509)] = _0x379d39(658), _0xf9871[_0x11d3d6(667)] = "0", _0xf9871["max"] = "20";
const _0x216c14 = {};
_0x216c14["id"] = "password", _0x216c14[_0x5cb069(478)] = "密码", _0x216c14["define"] = _0xf9871;
const _0x54904d = {};
_0x54904d["0"] = _0x379d39(625), _0x54904d["1"] = _0xf1194e(617);
const _0x5afb59 = {};
_0x5afb59[_0x5cb069(509)] = _0xf1194e(552), _0x5afb59[_0x1c53a7(680)] = _0x54904d;
const _0x16a842 = {};
_0x16a842["id"] = _0x1c53a7(533), _0x16a842["name"] = "结果", _0x16a842[_0x379d39(496)] = _0x5afb59;
const _0x2c4523 = {};
_0x2c4523["id"] = _0x11d3d6(697), _0x2c4523["name"] = _0x1c53a7(562), _0x2c4523["desc"] = "", _0x2c4523[_0x5cb069(591)] = [_0x39d7d9, _0x216c14], _0x2c4523[_0x1c53a7(616)] = [_0x16a842], _0x2c4523["required"] = ![], _0x2c4523["from"] = _0x5cb069(673);
const _0x26db81 = {};
_0x26db81[_0x5cb069(509)] = _0x379d39(525), _0x26db81["min"] = "1", _0x26db81["max"] = _0x1c53a7(553), _0x26db81[_0xf1194e(607)] = "1", _0x26db81[_0x5cb069(679)] = "1", _0x26db81[_0xf1194e(643)] = "";
const _0x47976c = {};
_0x47976c["id"] = _0x11d3d6(610), _0x47976c[_0xf1194e(478)] = _0x5cb069(710), _0x47976c["define"] = _0x26db81;
const _0x15375e = {};
_0x15375e[_0x5cb069(509)] = _0x379d39(658), _0x15375e[_0x5cb069(667)] = "0", _0x15375e[_0x379d39(485)] = _0xf1194e(688);
const _0xdf9afe = {};
_0xdf9afe["id"] = _0x1c53a7(490), _0xdf9afe[_0x1c53a7(478)] = _0xf1194e(653), _0xdf9afe[_0x5cb069(496)] = _0x15375e;
const _0x333d89 = {};
_0x333d89["0"] = _0x11d3d6(567), _0x333d89["1"] = _0x5cb069(579);
const _0x4d794f = {};
_0x4d794f[_0xf1194e(509)] = _0xf1194e(531), _0x4d794f["mapping"] = _0x333d89;
const _0x5db458 = {};
_0x5db458["id"] = _0x379d39(499), _0x5db458[_0x379d39(478)] = _0x5cb069(539), _0x5db458[_0x5cb069(496)] = _0x4d794f;
const _0x1ac19a = {};
_0x1ac19a["0"] = "指纹", _0x1ac19a["1"] = "密码", _0x1ac19a["2"] = "卡片";
const _0x3a03bd = {};
_0x3a03bd[_0x5cb069(509)] = _0x11d3d6(531), _0x3a03bd[_0xf1194e(680)] = _0x1ac19a;
const _0x4eace5 = {};
_0x4eace5["id"] = _0x1c53a7(600), _0x4eace5[_0x1c53a7(478)] = "密码类型", _0x4eace5[_0x379d39(496)] = _0x3a03bd;
const _0x1926aa = {};
_0x1926aa[_0x11d3d6(509)] = _0xf1194e(658), _0x1926aa["min"] = "0", _0x1926aa[_0x379d39(485)] = "20";
const _0x37b5a0 = {};
_0x37b5a0["id"] = _0x5cb069(657), _0x37b5a0[_0x11d3d6(478)] = "密码", _0x37b5a0[_0x1c53a7(496)] = _0x1926aa;
const _0xd7176a = {};
_0xd7176a[_0x1c53a7(509)] = _0xf1194e(730);
const _0x127971 = {};
_0x127971["id"] = "start_effective_time", _0x127971[_0x1c53a7(478)] = _0x5cb069(507), _0x127971[_0x379d39(496)] = _0xd7176a;
const _0x51bdba = {};
_0x51bdba[_0x379d39(509)] = _0x379d39(730);
const _0x5e8a16 = {};
_0x5e8a16["id"] = _0x5cb069(524), _0x5e8a16["name"] = _0x379d39(504), _0x5e8a16["define"] = _0x51bdba;
const _0x234285 = {};
_0x234285["0"] = _0x1c53a7(625), _0x234285["1"] = _0x5cb069(617);
const _0x3e2f4f = {};
_0x3e2f4f[_0x1c53a7(509)] = _0x5cb069(552), _0x3e2f4f[_0x379d39(680)] = _0x234285;
const _0x512e8a = {};
_0x512e8a["id"] = _0x1c53a7(533), _0x512e8a[_0x379d39(478)] = "结果", _0x512e8a["define"] = _0x3e2f4f;
const _0x3fd6af = {};
_0x3fd6af["id"] = _0x5cb069(605), _0x3fd6af[_0x379d39(478)] = _0x1c53a7(720), _0x3fd6af["desc"] = "", _0x3fd6af["input"] = [_0x47976c, _0xdf9afe, _0x5db458, _0x4eace5, _0x37b5a0, _0x127971, _0x5e8a16], _0x3fd6af[_0x5cb069(616)] = [_0x512e8a], _0x3fd6af[_0x379d39(487)] = ![], _0x3fd6af["from"] = _0x1c53a7(673);
const _0x3bfafe = {};
_0x3bfafe[_0x379d39(509)] = _0x5cb069(525), _0x3bfafe[_0x379d39(667)] = "0", _0x3bfafe[_0x1c53a7(485)] = _0x11d3d6(553), _0x3bfafe["start"] = "0", _0x3bfafe[_0x1c53a7(679)] = "1", _0x3bfafe[_0x11d3d6(643)] = "";
const _0x4aec7c = {};
_0x4aec7c["id"] = _0x5cb069(610), _0x4aec7c[_0x5cb069(478)] = _0x11d3d6(710), _0x4aec7c[_0x379d39(496)] = _0x3bfafe;
const _0x139698 = {};
_0x139698[_0x5cb069(509)] = "string", _0x139698[_0x1c53a7(667)] = "0", _0x139698[_0x379d39(485)] = _0x379d39(688);
const _0x4426fc = {};
_0x4426fc["id"] = "username", _0x4426fc["name"] = _0x1c53a7(653), _0x4426fc[_0x5cb069(496)] = _0x139698;
const _0x17af8d = {};
_0x17af8d[_0x5cb069(509)] = "timestamp";
const _0x426964 = {};
_0x426964["id"] = _0x11d3d6(642), _0x426964[_0x11d3d6(478)] = _0x1c53a7(507), _0x426964["define"] = _0x17af8d;
const _0x29270a = {};
_0x29270a["type"] = _0x11d3d6(730);
const _0x56ced4 = {};
_0x56ced4["id"] = "end_effective_time", _0x56ced4["name"] = "有效结束时间", _0x56ced4[_0xf1194e(496)] = _0x29270a;
const _0x1f8127 = {};
_0x1f8127["0"] = _0x11d3d6(567), _0x1f8127["1"] = _0x11d3d6(579);
const _0x2c3f2f = {};
_0x2c3f2f[_0x5cb069(509)] = "enum", _0x2c3f2f[_0x1c53a7(680)] = _0x1f8127;
const _0x43d5de = {};
_0x43d5de["id"] = _0xf1194e(499), _0x43d5de[_0xf1194e(478)] = _0x11d3d6(539), _0x43d5de[_0x379d39(496)] = _0x2c3f2f;
const _0x2c8b78 = {};
_0x2c8b78["0"] = "失败", _0x2c8b78["1"] = "成功";
const _0x405704 = {};
_0x405704["type"] = _0x11d3d6(552), _0x405704[_0x1c53a7(680)] = _0x2c8b78;
const _0x5699d6 = {};
_0x5699d6["id"] = "result", _0x5699d6["name"] = "结果", _0x5699d6["define"] = _0x405704;
const _0x14f4a2 = {};
_0x14f4a2["id"] = _0xf1194e(694), _0x14f4a2[_0x1c53a7(478)] = _0xf1194e(651), _0x14f4a2["desc"] = "", _0x14f4a2["input"] = [_0x4aec7c, _0x4426fc, _0x426964, _0x56ced4, _0x43d5de], _0x14f4a2[_0x11d3d6(616)] = [_0x5699d6], _0x14f4a2[_0x5cb069(487)] = ![], _0x14f4a2[_0x5cb069(586)] = "custom";
const _0x2a1131 = {};
_0x2a1131["0"] = "添加失败", _0x2a1131["1"] = _0x1c53a7(617);
const _0x2f3f12 = {};
_0x2f3f12[_0x5cb069(509)] = _0x379d39(552), _0x2f3f12[_0x1c53a7(680)] = _0x2a1131;
const _0x196bd2 = {};
_0x196bd2["id"] = _0x11d3d6(533), _0x196bd2[_0x5cb069(478)] = "结果", _0x196bd2["define"] = _0x2f3f12;
const _0x5719ad = {};
_0x5719ad["id"] = _0x1c53a7(574), _0x5719ad["name"] = "添加遥控", _0x5719ad[_0x379d39(545)] = "", _0x5719ad[_0x1c53a7(591)] = [], _0x5719ad[_0xf1194e(616)] = [_0x196bd2], _0x5719ad[_0x11d3d6(487)] = ![], _0x5719ad["from"] = _0x11d3d6(673);
const _0x59df17 = {};
_0x59df17["0"] = _0x379d39(595), _0x59df17["1"] = _0xf1194e(628);
const _0x2566cd = {};
_0x2566cd["type"] = _0x1c53a7(552), _0x2566cd["mapping"] = _0x59df17;
const _0x2dbc16 = {};
_0x2dbc16["id"] = "result", _0x2dbc16[_0x5cb069(478)] = "结果", _0x2dbc16[_0x379d39(496)] = _0x2566cd;
const _0xd28db9 = {};
_0xd28db9["id"] = _0xf1194e(519), _0xd28db9[_0xf1194e(478)] = _0x5cb069(484), _0xd28db9[_0xf1194e(545)] = "", _0xd28db9["input"] = [], _0xd28db9["output"] = [_0x2dbc16], _0xd28db9["required"] = ![], _0xd28db9[_0xf1194e(586)] = _0x5cb069(673);
const _0x170b9a = {};
_0x170b9a["type"] = _0x5cb069(730);
const _0x22aaf6 = {};
_0x22aaf6["id"] = _0x11d3d6(491), _0x22aaf6[_0x11d3d6(478)] = "开始时间", _0x22aaf6[_0xf1194e(496)] = _0x170b9a;
const _0x168953 = {};
_0x168953[_0x11d3d6(509)] = _0x5cb069(730);
const _0x3e003d = {};
_0x3e003d["id"] = _0x5cb069(575), _0x3e003d[_0x1c53a7(478)] = _0x5cb069(577), _0x3e003d[_0x379d39(496)] = _0x168953;
const _0x12a473 = {};
_0x12a473["0"] = "失败", _0x12a473["1"] = "成功";
const _0x34d6e4 = {};
_0x34d6e4["type"] = _0x5cb069(552), _0x34d6e4[_0xf1194e(680)] = _0x12a473;
const _0x383b74 = {};
_0x383b74["id"] = _0x11d3d6(533), _0x383b74[_0x1c53a7(478)] = "结果", _0x383b74[_0x5cb069(496)] = _0x34d6e4;
const _0x2acb7 = {};
_0x2acb7["id"] = "get_open_history", _0x2acb7[_0xf1194e(478)] = _0x379d39(634), _0x2acb7[_0x11d3d6(545)] = "", _0x2acb7[_0xf1194e(591)] = [_0x22aaf6, _0x3e003d], _0x2acb7[_0x11d3d6(616)] = [_0x383b74], _0x2acb7[_0xf1194e(487)] = ![], _0x2acb7[_0x11d3d6(586)] = _0xf1194e(673);
const _0x507c9f = {};
_0x507c9f[_0xf1194e(509)] = _0x1c53a7(658), _0x507c9f[_0x379d39(667)] = "0", _0x507c9f["max"] = _0x11d3d6(695);
const _0x483e4a = {};
_0x483e4a["id"] = "property_id", _0x483e4a[_0x11d3d6(478)] = _0x379d39(551), _0x483e4a["define"] = _0x507c9f;
const _0x4c3f29 = {};
_0x4c3f29["0"] = "失败", _0x4c3f29["1"] = "成功";
const _0x28166b = {};
_0x28166b[_0x379d39(509)] = _0x11d3d6(552), _0x28166b[_0x5cb069(680)] = _0x4c3f29;
const _0x2e172e = {};
_0x2e172e["id"] = _0x1c53a7(533), _0x2e172e[_0x11d3d6(478)] = "结果", _0x2e172e[_0xf1194e(496)] = _0x28166b;
const _0x5bf3c1 = {};
_0x5bf3c1["id"] = _0xf1194e(728), _0x5bf3c1[_0x5cb069(478)] = "获取设备属性值", _0x5bf3c1[_0x5cb069(545)] = "", _0x5bf3c1["input"] = [_0x483e4a], _0x5bf3c1["output"] = [_0x2e172e], _0x5bf3c1[_0x379d39(487)] = ![], _0x5bf3c1[_0x1c53a7(586)] = "custom";
const _0x3f259c = {};
_0x3f259c[_0x379d39(509)] = "string", _0x3f259c["min"] = "0", _0x3f259c[_0xf1194e(485)] = "2048";
const _0x1753cc = {};
_0x1753cc["id"] = "address", _0x1753cc[_0x1c53a7(478)] = _0xf1194e(677), _0x1753cc[_0x379d39(496)] = _0x3f259c;
const _0x591787 = {};
_0x591787[_0x11d3d6(509)] = _0x5cb069(730);
const _0x5660ae = {};
_0x5660ae["id"] = _0xf1194e(529), _0x5660ae["name"] = _0x5cb069(476), _0x5660ae[_0x11d3d6(496)] = _0x591787;
const _0x338c3b = {};
_0x338c3b["0"] = "失败", _0x338c3b["1"] = "成功";
const _0x1743d = {};
_0x1743d[_0xf1194e(509)] = _0x11d3d6(552), _0x1743d[_0x11d3d6(680)] = _0x338c3b;
const _0x5a736e = {};
_0x5a736e["id"] = _0x11d3d6(533), _0x5a736e[_0xf1194e(478)] = "结果", _0x5a736e[_0x11d3d6(496)] = _0x1743d;
const _0x5151df = {};
_0x5151df["id"] = "update_time", _0x5151df[_0x11d3d6(478)] = _0x1c53a7(636), _0x5151df[_0x379d39(545)] = "", _0x5151df[_0x11d3d6(591)] = [_0x1753cc, _0x5660ae], _0x5151df[_0x5cb069(616)] = [_0x5a736e], _0x5151df[_0x11d3d6(487)] = ![], _0x5151df["from"] = "custom";
const _0x46f7a7 = {};
_0x46f7a7[_0x1c53a7(509)] = _0x379d39(525), _0x46f7a7[_0x5cb069(667)] = "1", _0x46f7a7["max"] = _0x379d39(553), _0x46f7a7[_0x11d3d6(607)] = "1", _0x46f7a7[_0xf1194e(679)] = "1", _0x46f7a7[_0xf1194e(643)] = "";
const _0x1bbc27 = {};
_0x1bbc27["id"] = _0x11d3d6(610), _0x1bbc27[_0x5cb069(478)] = _0x5cb069(710), _0x1bbc27[_0x379d39(496)] = _0x46f7a7;
const _0x545ecd = {};
_0x545ecd["0"] = "失败", _0x545ecd["1"] = "成功";
const _0x9934e = {};
_0x9934e[_0x379d39(509)] = "bool", _0x9934e["mapping"] = _0x545ecd;
const _0x398d19 = {};
_0x398d19["id"] = _0x379d39(533), _0x398d19["name"] = "结果", _0x398d19[_0x1c53a7(496)] = _0x9934e;
const _0x2db415 = {};
_0x2db415["id"] = _0x1c53a7(477), _0x2db415[_0xf1194e(478)] = _0x1c53a7(489), _0x2db415["desc"] = "", _0x2db415[_0x11d3d6(591)] = [_0x1bbc27], _0x2db415["output"] = [_0x398d19], _0x2db415[_0x5cb069(487)] = ![], _0x2db415[_0x1c53a7(586)] = _0x5cb069(673);
const _0x182dab = {};
_0x182dab[_0x5cb069(509)] = "int", _0x182dab[_0x11d3d6(667)] = "1", _0x182dab["max"] = _0x11d3d6(553), _0x182dab["start"] = "1", _0x182dab["step"] = "1", _0x182dab["unit"] = "";
const _0x18a69a = {};
_0x18a69a["id"] = _0xf1194e(610), _0x18a69a[_0xf1194e(478)] = _0x5cb069(710), _0x18a69a[_0x5cb069(496)] = _0x182dab;
const _0x145273 = {};
_0x145273["0"] = "失败", _0x145273["1"] = "成功";
const _0x35ca74 = {};
_0x35ca74[_0xf1194e(509)] = _0x5cb069(552), _0x35ca74[_0x1c53a7(680)] = _0x145273;
const _0x27de0e = {};
_0x27de0e["id"] = "result", _0x27de0e[_0x379d39(478)] = "结果", _0x27de0e[_0x1c53a7(496)] = _0x35ca74;
const _0x36c1f9 = {};
_0x36c1f9["id"] = _0x379d39(709), _0x36c1f9[_0x11d3d6(478)] = "添加指纹", _0x36c1f9["desc"] = "", _0x36c1f9[_0x5cb069(591)] = [_0x18a69a], _0x36c1f9[_0x379d39(616)] = [_0x27de0e], _0x36c1f9[_0x11d3d6(487)] = ![], _0x36c1f9[_0x379d39(586)] = _0x5cb069(673);
const _0xde662c = {};
_0xde662c[_0x379d39(672)] = "EZRBB55EWH", _0xde662c[_0x5cb069(494)] = _0xf1194e(614);
const _0x46b61f = {};
_0x46b61f["version"] = "1.0", _0x46b61f["properties"] = [_0x26f611, _0x141d2d, _0x4c1248, _0x559cd4, _0x95ad6e, _0x1bb6d1, _0x50d6b7, _0xd0eeaa, _0x3f3b62, _0xf67d01, _0x6fd126, _0x39d781, _0x31ce76, _0x1d27d9, _0x1f1791, _0x3684ef, _0x498b7f, _0x52c977, _0x44404d, _0x488d2b, _0x3e7071, _0x24be1d, _0x306acc, _0x44037f, _0x235e2f, _0x352425, _0x4982ef, _0x2beea5, _0x2aa208, _0x1e683d], _0x46b61f["events"] = [_0x56928c, _0x3eddeb, _0x55388a, _0x2c96c7, _0x1cf3e2, _0x323520, _0xa394bd, _0x450dc7, _0xcfa57b, _0x2e7d03, _0x34b141, _0xef056, _0x52312e], _0x46b61f[_0x5cb069(549)] = [_0x255e7e, _0x2fcd92, _0x4e4117, _0x2e559a, _0x273985, _0x2264df, _0xe5bd43, _0x1f4035, _0x51448d, _0x14c2c5, _0x126a56, _0x545432, _0xaae4e1, _0x11b73f, _0x350f01, _0x585a9b, _0x2e14b0, _0x367e96, _0x2c4523, _0x3fd6af, _0x14f4a2, _0x5719ad, _0xd28db9, _0x2acb7, _0x5bf3c1, _0x5151df, _0x2db415, _0x36c1f9], _0x46b61f[_0xf1194e(550)] = _0xde662c;
const _0x22d3cb = _0x46b61f;
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
function getDefaultExportFromCjs(x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
}
function getAugmentedNamespace(n) {
if (Object.prototype.hasOwnProperty.call(n, "__esModule")) return n;
var f = n.default;
if (typeof f == "function") {
var a = function a2() {
var isInstance = false;
try {
isInstance = this instanceof a2;
} catch (e) {
}
if (isInstance) {
return Reflect.construct(f, arguments, this.constructor);
}
return f.apply(this, arguments);
};
a.prototype = f.prototype;
} else a = {};
Object.defineProperty(a, "__esModule", { value: true });
Object.keys(n).forEach(function(k) {
var d = Object.getOwnPropertyDescriptor(n, k);
Object.defineProperty(a, k, d.get ? d : {
enumerable: true,
get: function() {
return n[k];
}
});
});
return a;
}
var md5$3 = { exports: {} };
var md5$2 = md5$3.exports;
var hasRequiredMd5$1;
function requireMd5$1() {
if (hasRequiredMd5$1) return md5$3.exports;
hasRequiredMd5$1 = 1;
(function(module) {
(function($) {
function safeAdd(x, y) {
var lsw = (x & 65535) + (y & 65535);
var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
return msw << 16 | lsw & 65535;
}
function bitRotateLeft(num, cnt) {
return num << cnt | num >>> 32 - cnt;
}
function md5cmn(q, a, b, x, s, t) {
return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);
}
function md5ff(a, b, c, d, x, s, t) {
return md5cmn(b & c | ~b & d, a, b, x, s, t);
}
function md5gg(a, b, c, d, x, s, t) {
return md5cmn(b & d | c & ~d, a, b, x, s, t);
}
function md5hh(a, b, c, d, x, s, t) {
return md5cmn(b ^ c ^ d, a, b, x, s, t);
}
function md5ii(a, b, c, d, x, s, t) {
return md5cmn(c ^ (b | ~d), a, b, x, s, t);
}
function binlMD5(x, len) {
x[len >> 5] |= 128 << len % 32;
x[(len + 64 >>> 9 << 4) + 14] = len;
var i;
var olda;
var oldb;
var oldc;
var oldd;
var a = 1732584193;
var b = -271733879;
var c = -1732584194;
var d = 271733878;
for (i = 0; i < x.length; i += 16) {
olda = a;
oldb = b;
oldc = c;
oldd = d;
a = md5ff(a, b, c, d, x[i], 7, -680876936);
d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);
c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);
b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330);
a = md5ff(a, b, c, d, x[i + 4], 7, -176418897);
d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426);
c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341);
b = md5ff(b, c, d, a, x[i + 7], 22, -45705983);
a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416);
d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417);
c = md5ff(c, d, a, b, x[i + 10], 17, -42063);
b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162);
a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682);
d = md5ff(d, a, b, c, x[i + 13], 12, -40341101);
c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290);
b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329);
a = md5gg(a, b, c, d, x[i + 1], 5, -165796510);
d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632);
c = md5gg(c, d, a, b, x[i + 11], 14, 643717713);
b = md5gg(b, c, d, a, x[i], 20, -373897302);
a = md5gg(a, b, c, d, x[i + 5], 5, -701558691);
d = md5gg(d, a, b, c, x[i + 10], 9, 38016083);
c = md5gg(c, d, a, b, x[i + 15], 14, -660478335);
b = md5gg(b, c, d, a, x[i + 4], 20, -405537848);
a = md5gg(a, b, c, d, x[i + 9], 5, 568446438);
d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690);
c = md5gg(c, d, a, b, x[i + 3], 14, -187363961);
b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501);
a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467);
d = md5gg(d, a, b, c, x[i + 2], 9, -51403784);
c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473);
b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734);
a = md5hh(a, b, c, d, x[i + 5], 4, -378558);
d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463);
c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562);
b = md5hh(b, c, d, a, x[i + 14], 23, -35309556);
a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060);
d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353);
c = md5hh(c, d, a, b, x[i + 7], 16, -155497632);
b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640);
a = md5hh(a, b, c, d, x[i + 13], 4, 681279174);
d = md5hh(d, a, b, c, x[i], 11, -358537222);
c = md5hh(c, d, a, b, x[i + 3], 16, -722521979);
b = md5hh(b, c, d, a, x[i + 6], 23, 76029189);
a = md5hh(a, b, c, d, x[i + 9], 4, -640364487);
d = md5hh(d, a, b, c, x[i + 12], 11, -421815835);
c = md5hh(c, d, a, b, x[i + 15], 16, 530742520);
b = md5hh(b, c, d, a, x[i + 2], 23, -995338651);
a = md5ii(a, b, c, d, x[i], 6, -198630844);
d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415);
c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905);
b = md5ii(b, c, d, a, x[i + 5], 21, -57434055);
a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571);
d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606);
c = md5ii(c, d, a, b, x[i + 10], 15, -1051523);
b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799);
a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359);
d = md5ii(d, a, b, c, x[i + 15], 10, -30611744);
c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380);
b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649);
a = md5ii(a, b, c, d, x[i + 4], 6, -145523070);
d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379);
c = md5ii(c, d, a, b, x[i + 2], 15, 718787259);
b = md5ii(b, c, d, a, x[i + 9], 21, -343485551);
a = safeAdd(a, olda);
b = safeAdd(b, oldb);
c = safeAdd(c, oldc);
d = safeAdd(d, oldd);
}
return [a, b, c, d];
}
function binl2rstr(input) {
var i;
var output = "";
var length32 = input.length * 32;
for (i = 0; i < length32; i += 8) {
output += String.fromCharCode(input[i >> 5] >>> i % 32 & 255);
}
return output;
}
function rstr2binl(input) {
var i;
var output = [];
output[(input.length >> 2) - 1] = void 0;
for (i = 0; i < output.length; i += 1) {
output[i] = 0;
}
var length8 = input.length * 8;
for (i = 0; i < length8; i += 8) {
output[i >> 5] |= (input.charCodeAt(i / 8) & 255) << i % 32;
}
return output;
}
function rstrMD5(s) {
return binl2rstr(binlMD5(rstr2binl(s), s.length * 8));
}
function rstrHMACMD5(key, data) {
var i;
var bkey = rstr2binl(key);
var ipad = [];
var opad = [];
var hash;
ipad[15] = opad[15] = void 0;
if (bkey.length > 16) {
bkey = binlMD5(bkey, key.length * 8);
}
for (i = 0; i < 16; i += 1) {
ipad[i] = bkey[i] ^ 909522486;
opad[i] = bkey[i] ^ 1549556828;
}
hash = binlMD5(ipad.concat(rstr2binl(data)), 512 + data.length * 8);
return binl2rstr(binlMD5(opad.concat(hash), 512 + 128));
}
function rstr2hex(input) {
var hexTab = "0123456789abcdef";
var output = "";
var x;
var i;
for (i = 0; i < input.length; i += 1) {
x = input.charCodeAt(i);
output += hexTab.charAt(x >>> 4 & 15) + hexTab.charAt(x & 15);
}
return output;
}
function str2rstrUTF8(input) {
return unescape(encodeURIComponent(input));
}
function rawMD5(s) {
return rstrMD5(str2rstrUTF8(s));
}
function hexMD5(s) {
return rstr2hex(rawMD5(s));
}
function rawHMACMD5(k, d) {
return rstrHMACMD5(str2rstrUTF8(k), str2rstrUTF8(d));
}
function hexHMACMD5(k, d) {
return rstr2hex(rawHMACMD5(k, d));
}
function md52(string, key, raw) {
if (!key) {
if (!raw) {
return hexMD5(string);
}
return rawMD5(string);
}
if (!raw) {
return hexHMACMD5(key, string);
}
return rawHMACMD5(key, string);
}
if (module.exports) {
module.exports = md52;
} else {
$.md5 = md52;
}
})(md5$2);
})(md5$3);
return md5$3.exports;
}
var md5Exports = requireMd5$1();
const _0x526cd0 = /* @__PURE__ */ getDefaultExportFromCjs(md5Exports);
(function(_0x4e2362, _0x4e5d08) {
const _0xf6128b = _0x56af, _0x82ee88 = _0x56af, _0x32a718 = _0x56af, _0x4f3e6c = _0x56af, _0x56c37d = _0x4e2362();
while (!![]) {
try {
const _0x558e35 = parseInt(_0xf6128b(351)) / 1 + parseInt(_0x82ee88(406)) / 2 + parseInt(_0x82ee88(429)) / 3 + -parseInt(_0x4f3e6c(416)) / 4 * (parseInt(_0x32a718(411)) / 5) + -parseInt(_0xf6128b(457)) / 6 + parseInt(_0x4f3e6c(314)) / 7 + -parseInt(_0x82ee88(293)) / 8;
if (_0x558e35 === _0x4e5d08) break;
else _0x56c37d["push"](_0x56c37d["shift"]());
} catch (_0x5a9805) {
_0x56c37d["push"](_0x56c37d["shift"]());
}
}
})(_0x49bc, 898645);
const _0x18d940 = function() {
const _0x594ab0 = _0x56af, _0x21a0f0 = _0x56af, _0x372253 = _0x56af, _0x298384 = _0x56af, _0x3223e5 = _0x56af, _0x39ad03 = {};
_0x39ad03["SUAym"] = _0x594ab0(402), _0x39ad03[_0x594ab0(359)] = function(_0x12992e, _0x1b23c3) {
return _0x12992e != _0x1b23c3;
}, _0x39ad03[_0x594ab0(444)] = function(_0x3a9f97, _0x5eb92f) {
return _0x3a9f97 !== _0x5eb92f;
}, _0x39ad03[_0x594ab0(469)] = _0x21a0f0(372), _0x39ad03[_0x3223e5(308)] = function(_0x410ecb, _0x199755) {
return _0x410ecb === _0x199755;
}, _0x39ad03[_0x372253(443)] = "PPJwc", _0x39ad03[_0x21a0f0(287)] = _0x298384(407);
const _0xe24d79 = _0x39ad03;
let _0x51d860 = !![];
return function(_0x5c5807, _0x2c8f0d) {
const _0x33c381 = _0x21a0f0, _0x452b9f = _0x21a0f0, _0x153d1c = _0x372253, _0x1b75c1 = _0x3223e5, _0x5af323 = { "JAajK": _0xe24d79[_0x33c381(325)], "KUEoP": function(_0x5531a8, _0x503ce8) {
const _0x344407 = _0x33c381;
return _0xe24d79[_0x344407(359)](_0x5531a8, _0x503ce8);
}, "Filxu": function(_0x3e7b81, _0x2d51f6) {
const _0x1d9067 = _0x33c381;
return _0xe24d79[_0x1d9067(444)](_0x3e7b81, _0x2d51f6);
}, "Dotna": _0xe24d79[_0x33c381(469)] };
if (_0xe24d79[_0x452b9f(308)](_0xe24d79["Ysvra"], _0xe24d79[_0x153d1c(287)])) _0x247d39[_0x33c381(316)] = _0x5af323["JAajK"];
else {
const _0x2f2d64 = _0x51d860 ? function() {
const _0x536436 = _0x33c381, _0x309b08 = _0x1b75c1, _0x410bba = _0x452b9f, _0x53ef2e = { "dUQTe": function(_0x5b799f, _0x1668bc) {
const _0x4e6ef7 = _0x56af;
return _0x5af323[_0x4e6ef7(311)](_0x5b799f, _0x1668bc);
} };
if (_0x5af323[_0x536436(224)](_0x5af323["Dotna"], _0x5af323[_0x536436(377)])) {
const _0x1f4d9d = _0x18e802[_0x536436(435)][_0x410bba(459)]((_0x543ceb) => _0x543ceb["id"] === _0x4f6a89);
if (_0x53ef2e[_0x309b08(418)](_0x1f4d9d, -1)) return _0x1f4d9d;
return null;
} else {
if (_0x2c8f0d) {
const _0x41f6c0 = _0x2c8f0d[_0x309b08(427)](_0x5c5807, arguments);
return _0x2c8f0d = null, _0x41f6c0;
}
}
} : function() {
};
return _0x51d860 = ![], _0x2f2d64;
}
};
}(), _0x1d5be4 = _0x18d940(void 0, function() {
const _0x53aec2 = _0x56af, _0x383121 = _0x56af, _0x119e8c = _0x56af, _0x1d6b17 = _0x56af, _0x67db11 = {};
_0x67db11[_0x53aec2(300)] = "(((.+)+)+)+$";
const _0x43ec44 = _0x67db11;
return _0x1d5be4[_0x383121(401)]()["search"](_0x43ec44[_0x53aec2(300)])[_0x1d6b17(401)]()[_0x53aec2(279)](_0x1d5be4)[_0x383121(471)](_0x119e8c(336));
});
function _0x56af(_0x447fd5, _0x16d9d8) {
const _0x128324 = _0x49bc();
return _0x56af = function(_0x1c7f0, _0x9421d7) {
_0x1c7f0 = _0x1c7f0 - 218;
let _0x49bc17 = _0x128324[_0x1c7f0];
return _0x49bc17;
}, _0x56af(_0x447fd5, _0x16d9d8);
}
_0x1d5be4();
const _0x88aac5 = (_0x49557f) => {
const _0x20995a = _0x56af, _0x4af333 = _0x56af, _0xb04712 = _0x56af, _0x61f0 = _0x56af, _0x46b993 = { "HJqDN": _0x20995a(341), "JPZsU": function(_0x3917a0, _0x5efd96) {
return _0x3917a0 / _0x5efd96;
}, "qMjJG": function(_0x58b7de, _0x49ccb8) {
return _0x58b7de === _0x49ccb8;
}, "MrtwY": _0x20995a(379), "TnuqZ": function(_0xbfa200, _0x110f23, _0x1483a1) {
return _0xbfa200(_0x110f23, _0x1483a1);
}, "GnWBj": function(_0x1ff7ab, _0x115179) {
return _0x1ff7ab * _0x115179;
} };
_0x49557f = _0x49557f[_0x4af333(258)](/^0x/, "");
if (_0x49557f[_0x20995a(228)] % 2 !== 0) throw new Error(_0x46b993[_0x4af333(422)]);
const _0x134420 = new Uint8Array(_0x46b993[_0x61f0(218)](_0x49557f[_0xb04712(228)], 2));
for (let _0x34168d = 0; _0x34168d < _0x134420[_0xb04712(228)]; _0x34168d++) {
if (_0x46b993[_0x4af333(348)]("SMPYC", _0x46b993[_0x4af333(326)])) _0x134420[_0x34168d] = _0x46b993["TnuqZ"](parseInt, _0x49557f[_0x20995a(234)](_0x46b993[_0x20995a(392)](_0x34168d, 2), 2), 16);
else {
const _0x39b63f = _0xd5b02 ? function() {
const _0x47daab = _0x20995a;
if (_0x590764) {
const _0x15d26a = _0x24878c[_0x47daab(427)](_0xfb893b, arguments);
return _0x45bdc4 = null, _0x15d26a;
}
} : function() {
};
return _0x50bcf3 = ![], _0x39b63f;
}
}
return _0x134420;
}, _0x3bf68d = (_0x261574) => {
const _0x3079fe = _0x56af, _0x37da57 = _0x56af, _0x198d2f = _0x56af, _0x3b3b1f = _0x56af, _0x4e6b96 = _0x56af, _0x219fb7 = {};
_0x219fb7[_0x3079fe(243)] = function(_0x3e08cd, _0x1dd22d) {
return _0x3e08cd > _0x1dd22d;
}, _0x219fb7[_0x3079fe(253)] = function(_0x5c6a61, _0x3ecf8b) {
return _0x5c6a61 !== _0x3ecf8b;
}, _0x219fb7["IqdXB"] = function(_0x3eddbf, _0x24a411) {
return _0x3eddbf === _0x24a411;
}, _0x219fb7[_0x37da57(387)] = _0x3b3b1f(295), _0x219fb7[_0x198d2f(307)] = function(_0x38d590, _0x274f9f) {
return _0x38d590 < _0x274f9f;
}, _0x219fb7[_0x3b3b1f(374)] = function(_0x3f511f, _0x20520c) {
return _0x3f511f ^ _0x20520c;
};
const _0x18ca3a = _0x219fb7;
if (_0x18ca3a[_0x3079fe(253)](_0x261574["length"], 16)) {
if (_0x18ca3a[_0x37da57(337)](_0x4e6b96(464), _0x18ca3a[_0x4e6b96(387)])) {
let _0xd1682d = [];
const _0x3da038 = _0x77ecb7["actions"]["find"]((_0x29d6c2) => _0x29d6c2["id"] === _0x227ce5);
if (_0x3da038 && _0x18ca3a[_0x4e6b96(243)](_0x3da038["output"][_0x3b3b1f(228)], 0)) {
for (let _0x5301de of _0x3da038[_0x198d2f(226)]) {
const _0x550354 = {};
_0x550354["id"] = _0x5301de["id"], _0x550354[_0x4e6b96(410)] = _0x5301de["define"]["type"], _0xd1682d[_0x198d2f(376)](_0x550354);
}
const _0x3d25a1 = {};
return _0x3d25a1[_0x37da57(226)] = _0xd1682d, _0x3d25a1;
} else {
if (_0x3da038) return null;
}
} else throw new Error(_0x37da57(275) + _0x261574[_0x198d2f(228)] + _0x37da57(366));
}
const _0x1dd52a = _0x261574[_0x198d2f(222)](0, 8), _0x4298c2 = _0x261574["slice"](8, 16), _0x4ea261 = new Uint8Array(8);
for (let _0x3df580 = 0; _0x18ca3a[_0x198d2f(307)](_0x3df580, 8); _0x3df580++) {
_0x4ea261[_0x3df580] = _0x18ca3a[_0x3079fe(374)](_0x1dd52a[_0x3df580], _0x4298c2[_0x3df580]);
}
return _0x4ea261;
};
const stringToUtf8Bytes = (_0x3f6cf7) => {
const _0x483d76 = _0x56af, _0x3c895d = _0x56af, _0x437074 = _0x56af, _0x2ba01f = _0x56af, _0x20d9a0 = _0x56af, _0xe5cfca = { "hQgjp": function(_0x5b9c46, _0x4e845a) {
return _0x5b9c46(_0x4e845a);
}, "Xefzh": function(_0xc05af6, _0x4c21fc) {
return _0xc05af6 | _0x4c21fc;
}, "WHoGw": function(_0x403603, _0x4d5667) {
return _0x403603 << _0x4d5667;
}, "gzurw": function(_0x3b0b27, _0x402990, _0x3533bb) {
return _0x3b0b27(_0x402990, _0x3533bb);
}, "LQdNR": function(_0x164f4c, _0x243400, _0x33d7dd) {
return _0x164f4c(_0x243400, _0x33d7dd);
}, "YRBJR": _0x483d76(433), "ySEHe": function(_0x57dbc3, _0x2d3d88) {
return _0x57dbc3 < _0x2d3d88;
}, "mhuFG": function(_0x46694b, _0x1f3e1f) {
return _0x46694b <= _0x1f3e1f;
}, "UGYuP": function(_0x195553, _0x28bf23) {
return _0x195553 >>> _0x28bf23;
}, "spiRa": function(_0x108f2e, _0x553277) {
return _0x108f2e & _0x553277;
}, "FhUsC": function(_0x4ff8f8, _0x3babfc) {
return _0x4ff8f8 <= _0x3babfc;
}, "aCLjm": function(_0x20ff45, _0xf91682) {
return _0x20ff45 & _0xf91682;
}, "DMuYG": function(_0x6ec07b, _0x2f1bfb) {
return _0x6ec07b | _0x2f1bfb;
}, "nKdwV": function(_0x2dba70, _0x297381) {
return _0x2dba70 & _0x297381;
}, "VrMEJ": function(_0x9ee83e, _0x52c2ae) {
return _0x9ee83e === _0x52c2ae;
}, "UufTU": "NaskE", "rnbIE": _0x483d76(278), "WBDgW": function(_0xce108b, _0x249ac3) {
return _0xce108b | _0x249ac3;
}, "uIJYP": function(_0x5a3943, _0x22d3ef) {
return _0x5a3943 >>> _0x22d3ef;
}, "UHCws": function(_0x11213d, _0x5dcc5b) {
return _0x11213d | _0x5dcc5b;
}, "DqPkr": function(_0x43a564, _0x3097fd) {
return _0x43a564 | _0x3097fd;
}, "nePrR": function(_0x332d2c, _0x28ce4c) {
return _0x332d2c & _0x28ce4c;
}, "aMslC": function(_0x4630ad, _0x49fa9c) {
return _0x4630ad | _0x49fa9c;
}, "GZGrN": function(_0x187a81, _0x19c812) {
return _0x187a81 & _0x19c812;
} };
let _0x13e339 = [];
for (let _0x4ba205 = 0; _0xe5cfca[_0x437074(272)](_0x4ba205, _0x3f6cf7[_0x3c895d(228)]); _0x4ba205++) {
let _0x2636ea = _0x3f6cf7[_0x3c895d(412)](_0x4ba205);
if (_0x2636ea <= 127) _0x13e339[_0x20d9a0(376)](_0x2636ea);
else {
if (_0xe5cfca[_0x483d76(463)](_0x2636ea, 2047)) _0x13e339[_0x483d76(376)](_0xe5cfca[_0x20d9a0(364)](192, _0xe5cfca["UGYuP"](_0x2636ea, 6)), _0xe5cfca["Xefzh"](128, _0xe5cfca[_0x437074(369)](_0x2636ea, 63)));
else {
if (_0xe5cfca[_0x3c895d(414)](_0x2636ea, 65535)) _0x13e339[_0x3c895d(376)](224 | _0x2636ea >>> 12, 128 | _0xe5cfca["aCLjm"](_0x2636ea >>> 6, 63), _0xe5cfca["DMuYG"](128, _0xe5cfca[_0x437074(274)](_0x2636ea, 63)));
else {
if (_0xe5cfca[_0x3c895d(362)](_0xe5cfca[_0x437074(304)], _0xe5cfca[_0x2ba01f(462)])) {
const _0xc2ae35 = _0x2cd77f["get"](_0x31547a), _0x1ca177 = _0x39de9f[_0x483d76(415)][_0xc2ae35], _0x132789 = _0xe5cfca[_0x20d9a0(358)](_0x2cf8ee, _0x1ca177[_0x3c895d(410)]), _0x1feff0 = _0xe5cfca[_0x483d76(364)](_0xe5cfca[_0x3c895d(252)](_0x132789, 5), _0xc2ae35);
if (_0x39f43a[_0x483d76(363)](_0x1ca177[_0x3c895d(410)])) {
const _0x37dd26 = _0xe5cfca[_0x20d9a0(368)](_0x524f2b, _0x445c07, _0x1ca177["type"]);
_0x2a16b5[_0x3c895d(376)](_0x1feff0, ..._0x37dd26);
} else {
const _0x4d6f18 = _0x1a08bc(_0x34b0f6), _0x5dcb61 = _0xe5cfca[_0x437074(454)](_0x37e779, _0x4d6f18[_0x483d76(228)], _0xe5cfca[_0x483d76(333)]);
_0x474b69[_0x20d9a0(376)](_0x1feff0, ..._0x5dcb61, ..._0x4d6f18);
}
} else _0x13e339["push"](_0xe5cfca[_0x483d76(248)](240, _0xe5cfca[_0x483d76(439)](_0x2636ea, 18)), _0xe5cfca[_0x437074(472)](128, _0xe5cfca[_0x20d9a0(453)](_0x2636ea, 12) & 63), _0xe5cfca[_0x20d9a0(440)](128, _0xe5cfca[_0x3c895d(383)](_0x2636ea >>> 6, 63)), _0xe5cfca["aMslC"](128, _0xe5cfca[_0x2ba01f(445)](_0x2636ea, 63)));
}
}
}
}
return new Uint8Array(_0x13e339);
};
const numberToBytes = (_0x206463, _0x164053) => {
const _0xfb7f39 = _0x56af, _0x405fa5 = _0x56af, _0x1fefee = _0x56af, _0x3ce38c = _0x56af, _0x4ece06 = { "pkvcd": function(_0x4f539a, _0x1afeda, _0x3e0f63) {
return _0x4f539a(_0x1afeda, _0x3e0f63);
}, "sldVX": function(_0x4365e7, _0x358ecb) {
return _0x4365e7 & _0x358ecb;
}, "Nofij": _0xfb7f39(433), "XKfFy": _0xfb7f39(310), "ckWMy": function(_0x375321, _0x5a132a) {
return _0x375321 === _0x5a132a;
}, "pqtcV": _0x405fa5(420), "TIoSS": "PyuoN", "fElbo": _0xfb7f39(450) };
let _0x55fa9c;
switch (_0x164053) {
case _0x405fa5(373):
_0x55fa9c = 4;
break;
case _0x4ece06[_0x405fa5(329)]:
_0x55fa9c = 2;
break;
case _0x4ece06[_0x1fefee(297)]:
_0x55fa9c = 1;
break;
case _0x3ce38c(280):
_0x55fa9c = 4;
}
const _0x4864a7 = new ArrayBuffer(_0x55fa9c), _0x299978 = new DataView(_0x4864a7);
if (_0x4ece06[_0xfb7f39(320)](_0x55fa9c, 4)) _0x405fa5(420) === _0x4ece06[_0xfb7f39(262)] ? _0x299978[_0x405fa5(421)](0, _0x206463, ![]) : _0x2cacc7[_0x1fefee(316)] = _0x405fa5(246);
else {
if (_0x4ece06["ckWMy"](_0x55fa9c, 2)) _0x299978[_0x405fa5(357)](0, _0x206463, ![]);
else {
if (_0x4ece06[_0x3ce38c(384)] !== _0x4ece06[_0x405fa5(419)]) _0x299978[_0x405fa5(342)](0, _0x206463);
else {
for (let _0x25e807 of _0x16af49 == null ? void 0 : _0x16af49[_0x405fa5(415)]) {
_0x133170["includes"](_0x25e807[_0xfb7f39(410)]) ? _0x46b444[_0x405fa5(376)](..._0x4ece06[_0xfb7f39(451)](_0x3d6c21, _0x396ce1[_0x25e807["id"]], _0x25e807[_0x405fa5(410)])) : _0x1aaecc[_0x1fefee(376)](..._0x19af15(_0x1fec37[_0x25e807["id"]]));
}
return new _0x2654f3([_0xf159a[_0xfb7f39(228)] >> 8 & 255, _0x4ece06[_0x405fa5(396)](_0x308dea[_0x1fefee(228)], 255), ..._0x557cf0]);
}
}
}
return new Uint8Array(_0x4864a7);
};
const uint8ArrayToHex = (_0x223635) => {
const _0x253299 = _0x56af, _0x5f049a = _0x56af, _0x13e99f = _0x56af, _0x7252a6 = _0x56af, _0x10f8f1 = {};
_0x10f8f1[_0x253299(257)] = _0x5f049a(336), _0x10f8f1["JAAjE"] = function(_0x371a53, _0x4a37c3) {
return _0x371a53 === _0x4a37c3;
}, _0x10f8f1[_0x5f049a(405)] = _0x253299(255);
const _0x5a5b4d = _0x10f8f1;
return Array["from"](_0x223635)["map"]((_0x174c61) => {
const _0xd64521 = _0x13e99f, _0x2177c7 = _0x5f049a, _0x370f46 = _0x5f049a, _0x50de75 = _0x7252a6, _0x410ffe = {};
_0x410ffe[_0xd64521(340)] = _0x5a5b4d[_0x2177c7(257)];
return _0x5a5b4d["JAAjE"](_0x5a5b4d[_0x2177c7(405)], _0x2177c7(312)) ? _0x200fa6[_0xd64521(401)]()[_0x2177c7(471)](GmlLtj[_0x2177c7(340)])[_0x370f46(401)]()[_0x50de75(279)](_0x92a88f)[_0x2177c7(471)](GmlLtj["DMcrV"]) : _0x174c61[_0x2177c7(401)](16)[_0xd64521(428)](2, "0");
})["join"]("");
};
const utf8ArrayToString = (_0x11afc8) => {
const _0x353fa7 = _0x56af, _0x773659 = _0x56af, _0x1e77a5 = _0x56af, _0x277c22 = _0x56af, _0x12990e = _0x56af, _0x4ecc76 = {};
_0x4ecc76["OBQIn"] = function(_0x4d069c, _0x4cd4f2) {
return _0x4d069c != _0x4cd4f2;
}, _0x4ecc76[_0x353fa7(227)] = function(_0x374fcd, _0x4cddcc) {
return _0x374fcd * _0x4cddcc;
}, _0x4ecc76[_0x353fa7(328)] = function(_0x59098a, _0x236428) {
return _0x59098a >= _0x236428;
}, _0x4ecc76["IVkAx"] = function(_0xa57a35, _0xce749e) {
return _0xa57a35 <= _0xce749e;
}, _0x4ecc76[_0x353fa7(381)] = function(_0x19c857, _0x1af47d) {
return _0x19c857 !== _0x1af47d;
}, _0x4ecc76[_0x277c22(434)] = "aTSgZ", _0x4ecc76["aoQOs"] = _0x1e77a5(473), _0x4ecc76[_0x1e77a5(233)] = function(_0x17fb42, _0x52d3d7) {
return _0x17fb42 + _0x52d3d7;
}, _0x4ecc76["QpQvw"] = function(_0x4f1abc, _0x117209) {
return _0x4f1abc + _0x117209;
}, _0x4ecc76[_0x1e77a5(467)] = function(_0x5ecc95, _0x1653c5) {
return _0x5ecc95 | _0x1653c5;
}, _0x4ecc76[_0x1e77a5(394)] = function(_0xc96e30, _0x3aea27) {
return _0xc96e30 >= _0x3aea27;
}, _0x4ecc76["DyeyI"] = function(_0x5ad603, _0x470e52) {
return _0x5ad603 <= _0x470e52;
}, _0x4ecc76[_0x277c22(388)] = function(_0x188d9c, _0x57fc07) {
return _0x188d9c + _0x57fc07;
}, _0x4ecc76[_0x1e77a5(236)] = function(_0x1851ac, _0x14dd40) {
return _0x1851ac + _0x14dd40;
}, _0x4ecc76[_0x1e77a5(424)] = function(_0x22b609, _0x477aa3) {
return _0x22b609 | _0x477aa3;
}, _0x4ecc76["TGstA"] = function(_0x356bca, _0x406d1d) {
return _0x356bca << _0x406d1d;
}, _0x4ecc76["pEECV"] = function(_0x1bcc26, _0x352932) {
return _0x1bcc26 << _0x352932;
}, _0x4ecc76[_0x353fa7(389)] = function(_0x322303, _0x153936) {
return _0x322303 & _0x153936;
}, _0x4ecc76["sNCnV"] = function(_0x449ba0, _0x38bbda) {
return _0x449ba0 >= _0x38bbda;
}, _0x4ecc76["TkeKQ"] = function(_0x5a6182, _0x266e3c) {
return _0x5a6182 >= _0x266e3c;
}, _0x4ecc76[_0x353fa7(242)] = function(_0x4c2cba, _0x51572e) {
return _0x4c2cba | _0x51572e;
}, _0x4ecc76[_0x277c22(247)] = function(_0x57434f, _0x1f04be) {
return _0x57434f === _0x1f04be;
}, _0x4ecc76[_0x12990e(289)] = _0x353fa7(273);
const _0x54a3ea = _0x4ecc76;
let _0x28e335 = "", _0x1c5a2c = 0;
const _0x10811e = _0x11afc8[_0x12990e(228)];
while (_0x1c5a2c < _0x10811e) {
const _0x3c2c10 = _0x11afc8[_0x1c5a2c];
if (_0x54a3ea[_0x353fa7(328)](_0x3c2c10, 0) && _0x54a3ea[_0x277c22(461)](_0x3c2c10, 127)) {
if (_0x54a3ea[_0x1e77a5(381)](_0x54a3ea[_0x353fa7(434)], _0x54a3ea[_0x1e77a5(244)])) _0x28e335 += String[_0x1e77a5(229)](_0x3c2c10), _0x1c5a2c++;
else {
const _0x48be33 = _0x2aa9c6[_0x277c22(356)][_0x12990e(459)]((_0x1c31e3) => _0x1c31e3["id"] === _0xc25bd7);
if (_0x54a3ea["OBQIn"](_0x48be33, -1)) return _0x48be33;
return null;
}
} else {
if (_0x54a3ea[_0x773659(328)](_0x3c2c10, 192) && _0x3c2c10 <= 223) {
if (_0x54a3ea[_0x12990e(328)](_0x54a3ea[_0x773659(233)](_0x1c5a2c, 1), _0x10811e)) break;
const _0x1cfa6c = _0x11afc8[_0x54a3ea[_0x773659(409)](_0x1c5a2c, 1)], _0x49ec6a = _0x54a3ea[_0x353fa7(467)]((_0x3c2c10 & 31) << 6, _0x1cfa6c & 63);
_0x28e335 += String[_0x1e77a5(229)](_0x49ec6a), _0x1c5a2c += 2;
} else {
if (_0x54a3ea[_0x277c22(394)](_0x3c2c10, 224) && _0x54a3ea["DyeyI"](_0x3c2c10, 239)) {
if (_0x54a3ea[_0x353fa7(394)](_0x54a3ea["XBwsz"](_0x1c5a2c, 2), _0x10811e)) break;
const _0xa4d2e6 = _0x11afc8[_0x54a3ea["IyAlI"](_0x1c5a2c, 1)], _0xd778bc = _0x11afc8[_0x54a3ea[_0x1e77a5(236)](_0x1c5a2c, 2)], _0xf11ed8 = _0x54a3ea[_0x353fa7(467)](_0x54a3ea[_0x12990e(424)](_0x54a3ea[_0x1e77a5(378)](_0x3c2c10 & 15, 12), _0x54a3ea["pEECV"](_0xa4d2e6 & 63, 6)), _0x54a3ea[_0x12990e(389)](_0xd778bc, 63));
_0x28e335 += String["fromCharCode"](_0xf11ed8), _0x1c5a2c += 3;
} else {
if (_0x54a3ea["sNCnV"](_0x3c2c10, 240) && _0x3c2c10 <= 247) {
if (_0x54a3ea[_0x773659(381)](_0x1e77a5(302), _0x1e77a5(302))) _0x3074b7[_0x115420] = _0x5ca3f3(_0x3e1cb6[_0x353fa7(234)](_0x54a3ea[_0x277c22(227)](_0x4f2011, 2), 2), 16);
else {
if (_0x54a3ea["TkeKQ"](_0x54a3ea[_0x12990e(236)](_0x1c5a2c, 3), _0x10811e)) break;
const _0x532414 = _0x11afc8[_0x1c5a2c + 1], _0x59368c = _0x11afc8[_0x1c5a2c + 2], _0x36a5a5 = _0x11afc8[_0x1c5a2c + 3], _0x34aa21 = _0x54a3ea[_0x773659(424)](_0x54a3ea[_0x773659(242)](_0x54a3ea["pEECV"](_0x54a3ea["qeXKm"](_0x3c2c10, 7), 18) | (_0x532414 & 63) << 12, _0x54a3ea["pEECV"](_0x59368c & 63, 6)), _0x54a3ea[_0x773659(389)](_0x36a5a5, 63));
_0x28e335 += String[_0x1e77a5(447)](_0x34aa21), _0x1c5a2c += 4;
}
} else {
if (_0x54a3ea["BeorK"](_0x54a3ea[_0x353fa7(289)], _0x54a3ea[_0x353fa7(289)])) _0x1c5a2c++;
else return ![];
}
}
}
}
}
return _0x28e335;
};
const _0x23a7fc = (_0x3b83e6) => {
const _0x595e3e = _0x56af, _0x164113 = _0x56af, _0x5cfe65 = _0x56af, _0x4bcf11 = _0x56af, _0x4c6e3e = {};
_0x4c6e3e[_0x595e3e(268)] = function(_0x5aaac6, _0x5b9beb) {
return _0x5aaac6 | _0x5b9beb;
}, _0x4c6e3e[_0x164113(334)] = function(_0x4a778f, _0x2f4254) {
return _0x4a778f << _0x2f4254;
}, _0x4c6e3e["xMsUE"] = function(_0x405b29, _0x31a819) {
return _0x405b29 << _0x31a819;
};
const _0x369f84 = _0x4c6e3e, _0x5404fd = _0x369f84[_0x164113(268)](_0x369f84[_0x164113(268)](_0x369f84["AcElV"](_0x3b83e6[0], 24) | _0x3b83e6[1] << 16, _0x369f84[_0x5cfe65(270)](_0x3b83e6[2], 8)), _0x369f84[_0x4bcf11(270)](_0x3b83e6[3], 0));
return _0x5404fd;
};
const mergeUserPackages = (_0x379999) => {
const _0x3200bf = _0x56af, _0xd0614e = _0x56af, _0x41277b = _0x56af, _0x2de9da = _0x56af, _0x160741 = _0x56af, _0x21fdf9 = { "yXxMd": "object", "IlKcT": _0x3200bf(466), "vnnMe": _0xd0614e(310), "jafnE": function(_0x3b4501, _0x419659) {
return _0x3b4501 < _0x419659;
}, "xaOSW": _0x41277b(448), "VOOgN": _0x41277b(349), "cfqyP": function(_0x2b0338, _0x62c3dc) {
return _0x2b0338 + _0x62c3dc;
}, "lnNRc": function(_0x28cd24, _0x2f98db) {
return _0x28cd24 + _0x2f98db;
}, "WCRev": function(_0x47bbae, _0x246965) {
return _0x47bbae + _0x246965;
}, "XtfbH": function(_0x24f6ce, _0x335858) {
return _0x24f6ce(_0x335858);
}, "indaG": function(_0xa6f1c6, _0x36fe3f) {
return _0xa6f1c6 + _0x36fe3f;
}, "LNnZf": function(_0x18064b, _0x1517a0) {
return _0x18064b == _0x1517a0;
}, "DJIQw": function(_0xed1134, _0x25b2d9) {
return _0xed1134 + _0x25b2d9;
}, "KCdve": _0x2de9da(246), "LynrB": function(_0x2e5e05, _0x454212) {
return _0x2e5e05 !== _0x454212;
}, "YMogs": _0x41277b(254), "VZGOh": _0x2de9da(402), "WaBhm": function(_0xb0332f, _0x390668) {
return _0xb0332f + _0x390668;
}, "qqyKN": function(_0x58bd9d, _0x5bafc3) {
return _0x58bd9d !== _0x5bafc3;
}, "UhbPx": "qMPFt", "aPteN": "aDZzw", "zrAoQ": "rfCard", "ADNKx": function(_0xa9bf76, _0x575a1f) {
return _0xa9bf76 + _0x575a1f;
}, "WqxyR": function(_0x46baaa, _0x2bec5b) {
return _0x46baaa + _0x2bec5b;
}, "wvmOi": function(_0x526193, _0x56f6fa) {
return _0x526193(_0x56f6fa);
} };
let _0x1b823d = [], _0x398c09 = {};
for (let _0x39e95e = 0; _0x21fdf9[_0x41277b(395)](_0x39e95e, _0x379999["length"]); ) {
if (_0x21fdf9[_0x2de9da(249)] === _0x21fdf9[_0x3200bf(474)]) _0x189f48[_0x2de9da(421)](0, _0x3b093a, ![]);
else switch (_0x379999[_0x39e95e]) {
case 32:
_0x398c09[_0xd0614e(397)] = _0x379999[_0x21fdf9[_0xd0614e(296)](_0x39e95e, 4)], _0x39e95e += 5;
break;
case 65:
let _0x5d90dc = _0x379999[_0x21fdf9[_0x2de9da(455)](_0x39e95e, 2)], _0x494707 = _0x379999[_0x41277b(222)](_0x21fdf9["WCRev"](_0x39e95e, 3), _0x21fdf9[_0x160741(455)](_0x21fdf9["cfqyP"](_0x39e95e, 3), _0x5d90dc));
_0x398c09["name"] = _0x21fdf9[_0x160741(319)](utf8ArrayToString, new Uint8Array(_0x494707)), _0x39e95e += _0x21fdf9[_0xd0614e(324)](3, _0x494707[_0x41277b(228)]);
break;
case 34:
_0x21fdf9["LNnZf"](_0x379999[_0x21fdf9["DJIQw"](_0x39e95e, 4)], 1) && (_0x398c09[_0x3200bf(316)] = _0x21fdf9[_0x160741(400)]);
_0x39e95e += 5;
break;
case 131:
if (_0x21fdf9[_0x41277b(335)](_0x379999[_0x39e95e + 2], 1)) {
if (_0x21fdf9[_0x41277b(327)]("urulU", _0x21fdf9[_0x3200bf(323)])) _0x398c09[_0x3200bf(316)] = _0x21fdf9[_0x41277b(291)];
else {
let _0xd9df16 = [];
const _0x26aa07 = _0x4ed714["actions"]["find"]((_0xa78f84) => _0xa78f84["id"] === _0x9ac309);
if (_0x26aa07 && _0x26aa07[_0x2de9da(380)][_0x2de9da(228)] > 0) {
for (let _0x35c907 of _0x26aa07["input"]) {
const _0x464322 = {};
_0x464322["id"] = _0x35c907["id"], _0x464322["type"] = _0x35c907[_0x160741(265)][_0x160741(410)], _0xd9df16[_0x160741(376)](_0x464322);
}
const _0x669607 = {};
return _0x669607[_0x2de9da(410)] = _0x21fdf9[_0xd0614e(345)], _0x669607[_0x41277b(415)] = _0xd9df16, _0x669607;
} else {
if (_0x26aa07) {
const _0x2300f6 = {};
return _0x2300f6[_0xd0614e(410)] = _0x21fdf9["IlKcT"], _0x2300f6["data"] = _0x21fdf9[_0x2de9da(263)], _0x2300f6;
}
}
return null;
}
}
_0x39e95e += 3;
break;
case 132:
if (_0x21fdf9[_0x41277b(335)](_0x379999[_0x21fdf9[_0x3200bf(269)](_0x39e95e, 2)], 1)) {
if (_0x21fdf9[_0x160741(284)](_0x21fdf9[_0x3200bf(361)], _0x21fdf9[_0x2de9da(267)])) _0x398c09[_0x2de9da(316)] = _0x21fdf9[_0x41277b(286)];
else throw new _0x442465("Temp 长度异常!预期 16 字节,实际 " + _0x585eb5[_0x41277b(228)] + _0x160741(366));
}
_0x39e95e += 3;
break;
case 165:
let _0x26c61e = _0x379999[_0x3200bf(222)](_0x21fdf9["ADNKx"](_0x39e95e, 1), _0x21fdf9[_0xd0614e(404)](_0x39e95e, 5));
_0x398c09[_0x3200bf(468)] = _0x21fdf9[_0x160741(319)](_0x23a7fc, new Uint8Array(_0x26c61e)), _0x39e95e += 1 + _0x26c61e["length"];
break;
case 166:
let _0x346db5 = _0x379999[_0x160741(222)](_0x21fdf9[_0x160741(269)](_0x39e95e, 1), _0x21fdf9[_0x160741(343)](_0x39e95e, 5));
_0x398c09[_0x41277b(370)] = _0x21fdf9["wvmOi"](_0x23a7fc, new Uint8Array(_0x346db5)), _0x1b823d[_0x160741(376)](_0x398c09), _0x398c09 = {}, _0x39e95e += _0x21fdf9[_0x41277b(324)](1, _0x346db5[_0x3200bf(228)]);
break;
default:
_0x39e95e++;
break;
}
}
return _0x1b823d;
};
const mergeHistoryPackages = (_0x493196) => {
const _0x9be4c9 = _0x56af, _0x345aab = _0x56af, _0x110773 = _0x56af, _0x5992dc = _0x56af, _0x51a6ea = { "HmOxl": function(_0x265b38, _0x3ece01) {
return _0x265b38 === _0x3ece01;
}, "YROUh": _0x9be4c9(283), "GuQIH": function(_0x19eb58, _0x260836) {
return _0x19eb58 + _0x260836;
}, "FAZOW": function(_0x132788, _0x2b7a3b) {
return _0x132788 + _0x2b7a3b;
}, "yqYZN": function(_0xb8ff51, _0x49848b) {
return _0xb8ff51(_0x49848b);
}, "mSfhK": function(_0x218867, _0x4cfc7b) {
return _0x218867 + _0x4cfc7b;
}, "uQrvx": _0x9be4c9(402), "jnKOR": "rfCard", "EpHbz": _0x345aab(315) };
let _0x3cb601 = [], _0x11a598 = {};
for (let _0x3aa338 = 0; _0x3aa338 < _0x493196["length"]; ) {
if (_0x51a6ea[_0x9be4c9(221)]("Zbvct", _0x51a6ea[_0x345aab(423)])) switch (_0x493196[_0x3aa338]) {
case 32:
_0x11a598[_0x5992dc(397)] = _0x493196[_0x51a6ea[_0x9be4c9(259)](_0x3aa338, 4)], _0x3aa338 += 5;
break;
case 65:
let _0x219768 = _0x493196[_0x51a6ea[_0x9be4c9(413)](_0x3aa338, 2)], _0x8055dc = _0x493196["slice"](_0x3aa338 + 3, _0x51a6ea[_0x9be4c9(413)](_0x51a6ea["FAZOW"](_0x3aa338, 3), _0x219768));
_0x11a598[_0x5992dc(371)] = _0x51a6ea["yqYZN"](utf8ArrayToString, new Uint8Array(_0x8055dc)), _0x3aa338 += 3 + _0x8055dc[_0x345aab(228)];
break;
case 162:
let _0x24bcd8 = _0x493196[_0x5992dc(222)](_0x3aa338 + 1, _0x51a6ea[_0x345aab(259)](_0x3aa338, 5));
_0x11a598[_0x5992dc(430)] = _0x51a6ea[_0x345aab(393)](_0x23a7fc, new Uint8Array(_0x24bcd8)), _0x3aa338 += _0x51a6ea["GuQIH"](1, _0x24bcd8[_0x110773(228)]);
break;
case 131:
switch (_0x493196[_0x51a6ea[_0x345aab(306)](_0x3aa338, 2)]) {
case 0:
_0x11a598[_0x5992dc(316)] = "fingerprint";
break;
case 1:
_0x11a598[_0x9be4c9(316)] = _0x51a6ea["uQrvx"];
break;
case 2:
_0x11a598[_0x9be4c9(316)] = _0x51a6ea[_0x345aab(431)];
break;
case 3:
_0x11a598[_0x9be4c9(316)] = _0x51a6ea[_0x110773(271)];
}
_0x3cb601[_0x5992dc(376)](_0x11a598), _0x11a598 = {}, _0x3aa338 += 3;
break;
default:
_0x3aa338++;
break;
}
else return _0x9c8430(_0x4840a5, _0x2f9b21 == null ? void 0 : _0x2f9b21[_0x110773(415)]);
}
return _0x3cb601;
};
const _0x3c5be9 = (_0x556983, _0x258f94) => {
const _0x54ed16 = _0x56af, _0xee0e5c = _0x56af, _0x1e3cd2 = new Uint8Array(_0x556983, _0x258f94);
return String[_0x54ed16(229)][_0xee0e5c(427)](null, _0x1e3cd2);
};
const getBleProductId = (_0xcedf3e) => {
const _0x4a9283 = { "xZVeo": function(_0x5821d6, _0x56a726, _0xd63f2) {
return _0x5821d6(_0x56a726, _0xd63f2);
} };
return _0x4a9283["xZVeo"](_0x3c5be9, _0xcedf3e, 9);
};
const matchDevcie = (_0x1986a6, _0xf5f06e) => {
const _0x591555 = _0x56af, _0x2f7426 = _0x56af, _0xb913a0 = { "YftMv": function(_0x444238, _0x17e30d) {
return _0x444238(_0x17e30d);
} }, _0x576001 = _0x3bf68d(_0x88aac5(_0xb913a0[_0x591555(355)](_0x526cd0, _0x1986a6))), _0x15651c = new Uint8Array(_0xf5f06e, 3, 8);
return JSON[_0x591555(235)](_0x576001) == JSON[_0x2f7426(235)](_0x15651c) ? !![] : ![];
};
const paramsTlvHeaderType = (_0x8beee0) => {
const _0x1bcc9 = _0x56af, _0x306b76 = _0x56af, _0x376f11 = _0x56af, _0x413fe1 = _0x56af, _0x17d237 = _0x56af, _0x15391a = {};
_0x15391a[_0x1bcc9(292)] = _0x1bcc9(290), _0x15391a[_0x1bcc9(223)] = _0x376f11(373), _0x15391a[_0x376f11(276)] = _0x306b76(310), _0x15391a[_0x17d237(390)] = _0x1bcc9(433), _0x15391a[_0x413fe1(475)] = _0x376f11(353), _0x15391a[_0x1bcc9(350)] = "object", _0x15391a["rLxfU"] = "timestamp";
const _0x244bdb = _0x15391a;
switch (_0x8beee0) {
case _0x244bdb["FXURQ"]:
return 2;
case _0x244bdb[_0x17d237(223)]:
return 1;
case _0x244bdb[_0x1bcc9(276)]:
return 0;
case _0x244bdb[_0x17d237(390)]:
return 4;
case _0x244bdb["gYzoC"]:
return 7;
case _0x244bdb["ToAxJ"]:
return 6;
case _0x244bdb[_0x17d237(261)]:
return 5;
default:
return 0;
}
};
const transformPropertyData = (_0x57cec1, _0x176935) => {
const _0x55130b = _0x56af, _0x5e1028 = _0x56af, _0x55dc4e = _0x56af, _0x5899b6 = _0x56af, _0x491b8a = _0x56af, _0x5eae7b = { "kgrye": _0x55130b(373), "cmBys": "bool", "DPprS": "enum", "FzBbt": _0x5e1028(280), "GVHHE": function(_0x3ecaeb, _0x325fb4) {
return _0x3ecaeb(_0x325fb4);
}, "FwNJf": function(_0x11b8e5, _0x3f0e53) {
return _0x11b8e5 == _0x3f0e53;
}, "iemNK": _0x55130b(466), "SzYeL": "array", "JopBT": function(_0x4b0e0c, _0x50fa95, _0x2fb5cd) {
return _0x4b0e0c(_0x50fa95, _0x2fb5cd);
}, "HxMhI": function(_0x5956d1, _0x228621) {
return _0x5956d1 & _0x228621;
}, "TNkMj": function(_0x3349df, _0xe057c3) {
return _0x3349df >> _0xe057c3;
} };
let _0x3b98ee = [_0x5eae7b["kgrye"], _0x5eae7b[_0x55130b(237)], _0x5eae7b[_0x5899b6(367)], _0x5eae7b[_0x491b8a(398)]];
const _0x3ea1f0 = _0x5eae7b[_0x5e1028(330)](findByPropertyType, _0x57cec1);
let _0x3625a6 = [];
if (_0x5eae7b[_0x5899b6(231)](_0x3ea1f0 == null ? void 0 : _0x3ea1f0[_0x5899b6(410)], _0x5eae7b[_0x491b8a(426)])) return numberToBytes(_0x176935[_0x57cec1], _0x3ea1f0 == null ? void 0 : _0x3ea1f0[_0x55130b(415)]);
else {
if (_0x5eae7b[_0x55dc4e(231)](_0x3ea1f0 == null ? void 0 : _0x3ea1f0[_0x55130b(410)], _0x5eae7b[_0x5899b6(313)])) {
for (let _0x132d3d of _0x176935[_0x57cec1]) {
_0x3625a6[_0x55130b(376)](..._0x5eae7b["JopBT"](numberToBytes, _0x132d3d, _0x3ea1f0 == null ? void 0 : _0x3ea1f0[_0x491b8a(415)]));
}
return new Uint8Array([_0x5eae7b[_0x491b8a(470)](_0x5eae7b[_0x55130b(456)](_0x3625a6["length"], 8), 255), _0x3625a6["length"] & 255, ..._0x3625a6]);
} else {
for (let _0x35fe37 of _0x3ea1f0 == null ? void 0 : _0x3ea1f0[_0x491b8a(415)]) {
_0x3b98ee[_0x5899b6(363)](_0x35fe37[_0x491b8a(410)]) ? _0x3625a6[_0x491b8a(376)](..._0x5eae7b[_0x55dc4e(332)](numberToBytes, _0x176935[_0x35fe37["id"]], _0x35fe37[_0x55dc4e(410)])) : _0x3625a6[_0x5e1028(376)](...stringToUtf8Bytes(_0x176935[_0x35fe37["id"]]));
}
return new Uint8Array([_0x5eae7b[_0x5e1028(456)](_0x3625a6[_0x55dc4e(228)], 8) & 255, _0x5eae7b[_0x491b8a(470)](_0x3625a6[_0x5899b6(228)], 255), ..._0x3625a6]);
}
}
};
const transformActionData = (_0x33e976, _0x3bea90) => {
const _0x51fc2d = _0x56af, _0x896ac1 = _0x56af, _0x18e46e = _0x56af, _0x3d26b6 = _0x56af, _0x1a7393 = _0x56af, _0x12f579 = { "lIqTd": function(_0xc9865c, _0xc9cd3f) {
return _0xc9865c ^ _0xc9cd3f;
}, "sZhZF": _0x51fc2d(373), "KWgWZ": _0x51fc2d(310), "rMDWn": "timestamp", "XaGYw": function(_0x2265df, _0x1535ef) {
return _0x2265df(_0x1535ef);
}, "dTCbC": function(_0xda0657, _0x2c622c) {
return _0xda0657 == _0x2c622c;
}, "bwzst": _0x51fc2d(466), "BbRYh": function(_0x145490, _0x4827df) {
return _0x145490 !== _0x4827df;
}, "gxzdl": "xNWsv", "UDzxC": _0x51fc2d(432), "FaAjB": function(_0x2ceae4, _0x5a73b7, _0x31bbcb) {
return _0x2ceae4(_0x5a73b7, _0x31bbcb);
}, "jshLt": function(_0x51f182, _0x13ec7a) {
return _0x51f182 === _0x13ec7a;
}, "yhWbz": _0x18e46e(301), "sWRuK": function(_0x2da3a7, _0x1a1dfc) {
return _0x2da3a7(_0x1a1dfc);
}, "pEffu": function(_0x3a5ddf, _0x4ef8d8) {
return _0x3a5ddf | _0x4ef8d8;
}, "vAFCB": function(_0x16dd1a, _0x56e8b0) {
return _0x16dd1a << _0x56e8b0;
}, "UdrYw": function(_0x3408f6, _0x12a730, _0x2c3a87) {
return _0x3408f6(_0x12a730, _0x2c3a87);
}, "GhKeR": _0x51fc2d(433) };
let _0x26261b = [_0x12f579["sZhZF"], _0x12f579[_0x1a7393(408)], _0x18e46e(433), _0x12f579[_0x18e46e(288)]];
const _0x574e0f = _0x12f579[_0x1a7393(245)](findByActionType, _0x33e976);
if (_0x12f579[_0x1a7393(375)](_0x574e0f == null ? void 0 : _0x574e0f["type"], _0x12f579["bwzst"])) {
if (_0x12f579[_0x896ac1(365)](_0x12f579[_0x896ac1(339)], _0x12f579["UDzxC"])) return _0x12f579[_0x18e46e(344)](numberToBytes, _0x3bea90, _0x574e0f == null ? void 0 : _0x574e0f[_0x1a7393(415)]);
else _0x320e51[_0x2b6909] = _0x12f579["lIqTd"](_0x2892ef[_0x581867], _0x3e813a[_0x18047a]);
} else {
if (_0x12f579["jshLt"](_0x12f579[_0x18e46e(417)], _0x12f579["yhWbz"])) {
const _0x3a8eba = [], _0x56d62b = /* @__PURE__ */ new Map();
_0x574e0f["data"][_0x3d26b6(282)]((_0x14d8b3, _0x390895) => {
_0x56d62b["set"](_0x14d8b3["id"], _0x390895);
});
for (let [_0x396045, _0x1f8d0d] of Object["entries"](_0x3bea90)) {
const _0x513992 = _0x56d62b[_0x3d26b6(277)](_0x396045), _0x2c9580 = _0x574e0f[_0x3d26b6(415)][_0x513992], _0x5da1fb = _0x12f579["sWRuK"](paramsTlvHeaderType, _0x2c9580[_0x18e46e(410)]), _0x113af9 = _0x12f579["pEffu"](_0x12f579["vAFCB"](_0x5da1fb, 5), _0x513992);
if (_0x26261b[_0x1a7393(363)](_0x2c9580[_0x3d26b6(410)])) {
const _0x17a81d = _0x12f579[_0x51fc2d(344)](numberToBytes, _0x1f8d0d, _0x2c9580[_0x18e46e(410)]);
_0x3a8eba[_0x3d26b6(376)](_0x113af9, ..._0x17a81d);
} else {
const _0x2cd6bf = _0x12f579["XaGYw"](stringToUtf8Bytes, _0x1f8d0d), _0x3b3811 = _0x12f579[_0x3d26b6(460)](numberToBytes, _0x2cd6bf[_0x51fc2d(228)], _0x12f579[_0x3d26b6(285)]);
_0x3a8eba["push"](_0x113af9, ..._0x3b3811, ..._0x2cd6bf);
}
}
return new Uint8Array([..._0x3a8eba]);
} else {
const _0x3afe76 = {};
_0x3afe76["id"] = _0x436f67["id"], _0x3afe76["type"] = _0x5f67f4[_0x896ac1(265)]["type"], _0x1391ec[_0x51fc2d(376)](_0x3afe76);
}
}
};
const findByActionType = (_0x4f1869) => {
const _0x388836 = _0x56af, _0x553bbf = _0x56af, _0x3a9cb4 = _0x56af, _0x1c8e19 = _0x56af, _0x10873c = _0x56af, _0x2c37fa = {};
_0x2c37fa[_0x388836(241)] = _0x553bbf(353), _0x2c37fa[_0x388836(225)] = function(_0x2e9490, _0x3c4513) {
return _0x2e9490 > _0x3c4513;
}, _0x2c37fa["HxXWi"] = function(_0x1f2004, _0x5583ff) {
return _0x1f2004 !== _0x5583ff;
}, _0x2c37fa[_0x553bbf(322)] = "nDEoz", _0x2c37fa["drZBJ"] = _0x10873c(386), _0x2c37fa[_0x3a9cb4(382)] = _0x3a9cb4(399), _0x2c37fa[_0x10873c(264)] = "ordinary", _0x2c37fa[_0x10873c(309)] = _0x10873c(310);
const _0xe2dfbf = _0x2c37fa;
let _0x56a05a = [];
const _0x545e20 = _0x22d3cb[_0x10873c(356)][_0x1c8e19(346)]((_0x436950) => _0x436950["id"] === _0x4f1869);
if (_0x545e20 && _0xe2dfbf[_0x388836(225)](_0x545e20[_0x3a9cb4(380)][_0x1c8e19(228)], 0)) {
for (let _0x4f964b of _0x545e20["input"]) {
if (_0xe2dfbf["HxXWi"](_0xe2dfbf[_0x388836(322)], _0xe2dfbf[_0x1c8e19(303)])) {
const _0x30594e = {};
_0x30594e["id"] = _0x4f964b["id"], _0x30594e[_0x553bbf(410)] = _0x4f964b[_0x388836(265)]["type"], _0x56a05a["push"](_0x30594e);
} else {
for (let _0x45e2f6 of _0x259db1[_0x10873c(265)]["arrayInfo"][_0x553bbf(239)]) {
const _0x32e485 = {};
_0x32e485["id"] = _0x45e2f6["id"], _0x32e485[_0x553bbf(410)] = _0x45e2f6[_0x3a9cb4(385)][_0x3a9cb4(410)], _0x176f10[_0x10873c(376)](_0x32e485);
}
const _0x28efff = {};
return _0x28efff[_0x1c8e19(410)] = _0xe2dfbf[_0x3a9cb4(241)], _0x28efff["data"] = _0x4e7328, _0x28efff;
}
}
const _0xf421c4 = {};
return _0xf421c4[_0x388836(410)] = _0xe2dfbf["xYpad"], _0xf421c4[_0x10873c(415)] = _0x56a05a, _0xf421c4;
} else {
if (_0x545e20) {
const _0x10745e = {};
return _0x10745e[_0x388836(410)] = _0xe2dfbf[_0x3a9cb4(264)], _0x10745e["data"] = _0xe2dfbf[_0x3a9cb4(309)], _0x10745e;
}
}
return null;
};
const findByActionId = (_0x4fc783) => {
const _0x7e1043 = _0x56af, _0x340408 = _0x56af, _0x48d5ff = _0x56af, _0x55eed2 = {};
_0x55eed2[_0x7e1043(352)] = function(_0x26d3d7, _0x27f5f5) {
return _0x26d3d7 != _0x27f5f5;
};
const _0x47bacc = _0x55eed2, _0x65ad48 = _0x22d3cb[_0x340408(356)][_0x48d5ff(459)]((_0x12d1cd) => _0x12d1cd["id"] === _0x4fc783);
if (_0x47bacc[_0x7e1043(352)](_0x65ad48, -1)) return _0x65ad48;
return null;
};
const findByActionOutput = (_0x37569f) => {
const _0x26125f = _0x56af, _0xe1f3a3 = _0x56af, _0x505d36 = _0x56af, _0x1e747f = _0x56af, _0x44bc19 = _0x56af, _0xb98a00 = {};
_0xb98a00[_0x26125f(321)] = function(_0x15b5ff, _0xc3f065) {
return _0x15b5ff > _0xc3f065;
}, _0xb98a00[_0x26125f(232)] = function(_0x5c40ca, _0x238e5f) {
return _0x5c40ca !== _0x238e5f;
}, _0xb98a00[_0xe1f3a3(219)] = _0xe1f3a3(449), _0xb98a00[_0x505d36(317)] = _0x1e747f(403);
const _0x5b5141 = _0xb98a00;
let _0x1fa7c5 = [];
const _0x482876 = _0x22d3cb[_0x1e747f(356)][_0x1e747f(346)]((_0x4a6288) => _0x4a6288["id"] === _0x37569f);
if (_0x482876 && _0x5b5141[_0x505d36(321)](_0x482876[_0x26125f(226)][_0xe1f3a3(228)], 0)) {
for (let _0x163ea3 of _0x482876[_0x505d36(226)]) {
if (_0x5b5141[_0xe1f3a3(232)](_0x5b5141[_0x44bc19(219)], _0x5b5141["emzUo"])) {
const _0x1dc459 = {};
_0x1dc459["id"] = _0x163ea3["id"], _0x1dc459["type"] = _0x163ea3[_0xe1f3a3(265)][_0x505d36(410)], _0x1fa7c5[_0xe1f3a3(376)](_0x1dc459);
} else {
const _0x4a6999 = {};
_0x4a6999["id"] = _0x1f505a["id"], _0x4a6999[_0x1e747f(410)] = _0xd6e0d1[_0x44bc19(265)]["type"], _0xea9bf9[_0x505d36(376)](_0x4a6999);
}
}
const _0x1fdabb = {};
return _0x1fdabb[_0x1e747f(226)] = _0x1fa7c5, _0x1fdabb;
} else {
if (_0x482876) return null;
}
};
const findByPropertyType = (_0x555b4d) => {
var _a;
const _0x3c36e5 = _0x56af, _0x487b8f = _0x56af, _0x28953e = _0x56af, _0x3abc38 = _0x56af, _0x33aef9 = _0x56af, _0x55d920 = {};
_0x55d920["AMUke"] = function(_0x48eb92, _0x8cfb6e) {
return _0x48eb92 !== _0x8cfb6e;
}, _0x55d920[_0x3c36e5(347)] = function(_0x8b0922, _0x347b33) {
return _0x8b0922 % _0x347b33;
}, _0x55d920[_0x3c36e5(442)] = "十六进制长度必须是偶数", _0x55d920[_0x3c36e5(294)] = function(_0x28d264, _0xd1baba) {
return _0x28d264 / _0xd1baba;
}, _0x55d920[_0x28953e(299)] = function(_0x18d285, _0x530101) {
return _0x18d285 < _0x530101;
}, _0x55d920["EvOOA"] = function(_0x506d56, _0x279963) {
return _0x506d56 | _0x279963;
}, _0x55d920[_0x28953e(298)] = function(_0x5c655c, _0x24aa88) {
return _0x5c655c >>> _0x24aa88;
}, _0x55d920[_0x3c36e5(441)] = function(_0x3d760f, _0x42c08a) {
return _0x3d760f & _0x42c08a;
}, _0x55d920["OEMfA"] = function(_0xc04d33, _0x2b31a4) {
return _0xc04d33 >>> _0x2b31a4;
}, _0x55d920[_0x3c36e5(318)] = function(_0x4276ef, _0x2489e8) {
return _0x4276ef | _0x2489e8;
}, _0x55d920["BCsPX"] = function(_0x25363c, _0x21751b) {
return _0x25363c & _0x21751b;
}, _0x55d920["lDCKv"] = "int", _0x55d920[_0x487b8f(338)] = _0x487b8f(433), _0x55d920[_0x3abc38(331)] = _0x28953e(280), _0x55d920[_0x487b8f(437)] = _0x487b8f(305), _0x55d920["BIRoz"] = _0x33aef9(438), _0x55d920[_0x3c36e5(354)] = _0x28953e(466), _0x55d920[_0x28953e(452)] = function(_0x19c5a5, _0x41f918) {
return _0x19c5a5 === _0x41f918;
}, _0x55d920[_0x3c36e5(465)] = _0x33aef9(220), _0x55d920[_0x487b8f(425)] = function(_0xef0279, _0x5eb139) {
return _0xef0279 === _0x5eb139;
}, _0x55d920[_0x33aef9(256)] = "nTpQV", _0x55d920["ILzSw"] = _0x33aef9(353), _0x55d920[_0x3abc38(230)] = _0x3c36e5(436), _0x55d920["geZNv"] = "wJBtQ";
const _0x98364 = _0x55d920;
let _0x3cc8ad = [], _0x56a823 = [_0x98364[_0x487b8f(391)], _0x33aef9(310), _0x98364["RrhHF"], _0x98364[_0x487b8f(331)]];
const _0x33fb72 = _0x22d3cb[_0x3abc38(435)][_0x3c36e5(346)]((_0x524186) => _0x524186["id"] === _0x555b4d);
if (_0x33fb72) {
if (_0x98364[_0x487b8f(437)] !== _0x98364[_0x3abc38(240)]) {
if (_0x56a823[_0x3c36e5(363)](_0x33fb72[_0x28953e(265)][_0x3abc38(410)])) {
const _0x2ea44a = {};
return _0x2ea44a["type"] = _0x98364[_0x487b8f(354)], _0x2ea44a["data"] = _0x33fb72[_0x487b8f(265)]["type"], _0x2ea44a;
} else {
if (_0x98364[_0x33aef9(452)](_0x33fb72[_0x3abc38(265)]["type"], _0x98364[_0x3abc38(465)])) {
for (let _0x228b25 of _0x33fb72[_0x33aef9(265)][_0x28953e(239)]) {
if (_0x98364[_0x3c36e5(425)](_0x98364["ffjbe"], _0x98364[_0x3abc38(256)])) {
const _0x5c8149 = {};
_0x5c8149["id"] = _0x228b25["id"], _0x5c8149[_0x487b8f(410)] = _0x228b25[_0x3c36e5(385)][_0x33aef9(410)], _0x3cc8ad[_0x3c36e5(376)](_0x5c8149);
} else {
_0x5d6752 = _0x4ac6dd[_0x487b8f(258)](/^0x/, "");
if (_0x98364[_0x3abc38(250)](_0x98364["smmqc"](_0x1cd228[_0x3abc38(228)], 2), 0)) throw new _0x5478a3(_0x98364[_0x3abc38(442)]);
const _0x3619bb = new _0x5afd93(_0x98364["AwUjz"](_0x2eac36[_0x3abc38(228)], 2));
for (let _0x39052f = 0; _0x98364[_0x487b8f(299)](_0x39052f, _0x3619bb["length"]); _0x39052f++) {
_0x3619bb[_0x39052f] = _0x1a3395(_0x341c80[_0x3abc38(234)](_0x39052f * 2, 2), 16);
}
return _0x3619bb;
}
}
const _0xff9bad = {};
return _0xff9bad[_0x33aef9(410)] = _0x3abc38(399), _0xff9bad[_0x487b8f(415)] = _0x3cc8ad, _0xff9bad;
} else {
if (_0x33fb72[_0x3abc38(265)][_0x3abc38(410)] === _0x98364[_0x3abc38(360)] && _0x33fb72[_0x33aef9(265)]["arrayInfo"]) {
if (_0x56a823["includes"](_0x33fb72["define"][_0x3c36e5(260)][_0x33aef9(410)])) {
if (_0x33aef9(281) === _0x98364[_0x3c36e5(230)]) _0x4095d6[_0x487b8f(376)](_0x98364[_0x487b8f(251)](224, _0x98364[_0x3abc38(298)](_0x10140a, 12)), _0x98364[_0x487b8f(251)](128, _0x98364[_0x3abc38(441)](_0x98364[_0x33aef9(446)](_0x57ace8, 6), 63)), _0x98364[_0x487b8f(318)](128, _0x98364[_0x3abc38(266)](_0x3f9516, 63)));
else {
const _0x3a9880 = {};
return _0x3a9880[_0x3abc38(410)] = _0x98364["ILzSw"], _0x3a9880[_0x33aef9(415)] = _0x33fb72[_0x487b8f(265)]["arrayInfo"][_0x3abc38(410)], _0x3a9880;
}
} else {
if (((_a = _0x33fb72[_0x3c36e5(265)][_0x3abc38(260)]) == null ? void 0 : _a[_0x3c36e5(410)]) === _0x98364[_0x487b8f(465)] && _0x33fb72[_0x33aef9(265)][_0x487b8f(260)][_0x28953e(239)]) {
for (let _0x1936d8 of _0x33fb72["define"][_0x33aef9(260)]["specs"]) {
if (_0x98364[_0x487b8f(458)] === "xwxdS") return _0x4f821c(_0x195256[_0x11ed0f], _0x1ec669 == null ? void 0 : _0x1ec669[_0x3abc38(415)]);
else {
const _0x144ec9 = {};
_0x144ec9["id"] = _0x1936d8["id"], _0x144ec9[_0x3c36e5(410)] = _0x1936d8[_0x3c36e5(385)][_0x28953e(410)], _0x3cc8ad[_0x3c36e5(376)](_0x144ec9);
}
}
const _0xaeb4ff = {};
return _0xaeb4ff["type"] = _0x98364[_0x28953e(360)], _0xaeb4ff[_0x3c36e5(415)] = _0x3cc8ad, _0xaeb4ff;
}
}
}
}
}
} else return null;
}
return null;
};
function _0x49bc() {
const _0x7ff32 = ["mpKoX", "uFukt", "uIJYP", "DqPkr", "snAHj", "usJId", "Ysvra", "FONfm", "GZGrN", "OEMfA", "fromCodePoint", "AsSyj", "Lkioj", "YDruk", "pkvcd", "CfMwC", "UGYuP", "LQdNR", "lnNRc", "TNkMj", "6056568UxUHkA", "geZNv", "findIndex", "UdrYw", "IVkAx", "rnbIE", "mhuFG", "jAmQC", "GHPAa", "ordinary", "XEtYv", "start_effective_time", "fkuJO", "HxMhI", "search", "UHCws", "IakDi", "VOOgN", "gYzoC", "JPZsU", "XSEKu", "struct", "HmOxl", "slice", "aBXAL", "Filxu", "tGGic", "output", "sfrGj", "length", "fromCharCode", "XvPav", "FwNJf", "jjZUA", "XBwsz", "substr", "stringify", "iAGlk", "cmBys", "mPUvp", "specs", "BIRoz", "tBLPc", "XBNyi", "dJCBb", "aoQOs", "XaGYw", "fingerprint", "BeorK", "WBDgW", "xaOSW", "AMUke", "EvOOA", "WHoGw", "dfxcn", "yqVzd", "VJoNj", "ffjbe", "MNHmz", "replace", "GuQIH", "arrayInfo", "rLxfU", "pqtcV", "vnnMe", "nqDCA", "define", "BCsPX", "aPteN", "sRjOO", "WaBhm", "xMsUE", "EpHbz", "ySEHe", "Ktmbc", "nKdwV", "Temp 长度异常!预期 16 字节,实际 ", "cGLQA", "get", "NCADE", "constructor", "timestamp", "viyua", "forEach", "Zbvct", "qqyKN", "GhKeR", "zrAoQ", "fHeMM", "rMDWn", "WwFFx", "string", "VZGOh", "FXURQ", "8281896FlqMLa", "AwUjz", "hoBWz", "cfqyP", "XKfFy", "PeYLD", "PbfrR", "kJRqE", "GJOan", "XZzcS", "drZBJ", "UufTU", "YUgcJ", "mSfhK", "IrJWf", "IJhlG", "snbDc", "bool", "KUEoP", "lshaU", "SzYeL", "9473170IKrCXm", "ble", "pwdtype", "emzUo", "DaULk", "XtfbH", "ckWMy", "WnheQ", "rNTnO", "YMogs", "indaG", "SUAym", "MrtwY", "LynrB", "YYAfG", "Nofij", "GVHHE", "AToRV", "JopBT", "YRBJR", "AcElV", "LNnZf", "(((.+)+)+)+$", "IqdXB", "RrhHF", "gxzdl", "DMcrV", "十六进制长度必须是偶数", "setUint8", "WqxyR", "FaAjB", "yXxMd", "find", "smmqc", "qMjJG", "YEvwG", "ToAxJ", "328581GmSUIu", "aVZzl", "array", "HYLdB", "YftMv", "actions", "setUint16", "hQgjp", "PVeHA", "ILzSw", "UhbPx", "VrMEJ", "includes", "Xefzh", "BbRYh", " 字节", "DPprS", "gzurw", "spiRa", "end_effective_time", "name", "axShJ", "int", "vDkWr", "dTCbC", "push", "Dotna", "TGstA", "SMPYC", "input", "WgUVl", "xYpad", "nePrR", "TIoSS", "dataType", "Edufy", "AmHzT", "IyAlI", "qeXKm", "AbnTu", "lDCKv", "GnWBj", "yqYZN", "RgGKs", "jafnE", "sldVX", "pwdId", "FzBbt", "object", "KCdve", "toString", "password", "iDsOB", "DJIQw", "eqraF", "1766234rpgoqH", "oqtFW", "KWgWZ", "QpQvw", "type", "125IFALAb", "charCodeAt", "FAZOW", "FhUsC", "data", "60980atLwjh", "yhWbz", "dUQTe", "fElbo", "agmJJ", "setUint32", "HJqDN", "YROUh", "lRrLO", "xFucT", "iemNK", "apply", "padStart", "2278281XpPfaR", "open_lock_time", "jnKOR", "ucZDy", "enum", "TGPQk", "properties", "VssZm"];
_0x49bc = function() {
return _0x7ff32;
};
return _0x49bc();
}
const findByPropertyId = (_0x2eb7fc) => {
const _0x128544 = _0x56af, _0x5463f9 = {};
_0x5463f9[_0x128544(238)] = function(_0x4bc405, _0x43c30e) {
return _0x4bc405 != _0x43c30e;
};
const _0x53dbbe = _0x5463f9, _0x15cba3 = _0x22d3cb["properties"][_0x128544(459)]((_0x959e5d) => _0x959e5d["id"] === _0x2eb7fc);
if (_0x53dbbe["mPUvp"](_0x15cba3, -1)) return _0x15cba3;
return null;
};
var cryptoJs$1 = { exports: {} };
function commonjsRequire(path) {
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
}
var core$1 = { exports: {} };
const __viteBrowserExternal = {};
const __viteBrowserExternal$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
__proto__: null,
default: __viteBrowserExternal
}, Symbol.toStringTag, { value: "Module" }));
const require$$0 = /* @__PURE__ */ getAugmentedNamespace(__viteBrowserExternal$1);
var core = core$1.exports;
var hasRequiredCore;
function requireCore() {
if (hasRequiredCore) return core$1.exports;
hasRequiredCore = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory();
}
})(core, function() {
var CryptoJS = CryptoJS || function(Math2, undefined$1) {
var crypto;
if (typeof window !== "undefined" && window.crypto) {
crypto = window.crypto;
}
if (typeof self !== "undefined" && self.crypto) {
crypto = self.crypto;
}
if (typeof globalThis !== "undefined" && globalThis.crypto) {
crypto = globalThis.crypto;
}
if (!crypto && typeof window !== "undefined" && window.msCrypto) {
crypto = window.msCrypto;
}
if (!crypto && typeof commonjsGlobal !== "undefined" && commonjsGlobal.crypto) {
crypto = commonjsGlobal.crypto;
}
if (!crypto && typeof commonjsRequire === "function") {
try {
crypto = require$$0;
} catch (err) {
}
}
var cryptoSecureRandomInt = function() {
if (crypto) {
if (typeof crypto.getRandomValues === "function") {
try {
return crypto.getRandomValues(new Uint32Array(1))[0];
} catch (err) {
}
}
if (typeof crypto.randomBytes === "function") {
try {
return crypto.randomBytes(4).readInt32LE();
} catch (err) {
}
}
}
throw new Error("Native crypto module could not be used to get secure random number.");
};
var create = Object.create || /* @__PURE__ */ function() {
function F() {
}
return function(obj) {
var subtype;
F.prototype = obj;
subtype = new F();
F.prototype = null;
return subtype;
};
}();
var C = {};
var C_lib = C.lib = {};
var Base = C_lib.Base = /* @__PURE__ */ function() {
return {
/**
* Creates a new object that inherits from this object.
*
* @param {Object} overrides Properties to copy into the new object.
*
* @return {Object} The new object.
*
* @static
*
* @example
*
* var MyType = CryptoJS.lib.Base.extend({
* field: 'value',
*
* method: function () {
* }
* });
*/
extend: function(overrides) {
var subtype = create(this);
if (overrides) {
subtype.mixIn(overrides);
}
if (!subtype.hasOwnProperty("init") || this.init === subtype.init) {
subtype.init = function() {
subtype.$super.init.apply(this, arguments);
};
}
subtype.init.prototype = subtype;
subtype.$super = this;
return subtype;
},
/**
* Extends this object and runs the init method.
* Arguments to create() will be passed to init().
*
* @return {Object} The new object.
*
* @static
*
* @example
*
* var instance = MyType.create();
*/
create: function() {
var instance = this.extend();
instance.init.apply(instance, arguments);
return instance;
},
/**
* Initializes a newly created object.
* Override this method to add some logic when your objects are created.
*
* @example
*
* var MyType = CryptoJS.lib.Base.extend({
* init: function () {
* // ...
* }
* });
*/
init: function() {
},
/**
* Copies properties into this object.
*
* @param {Object} properties The properties to mix in.
*
* @example
*
* MyType.mixIn({
* field: 'value'
* });
*/
mixIn: function(properties) {
for (var propertyName in properties) {
if (properties.hasOwnProperty(propertyName)) {
this[propertyName] = properties[propertyName];
}
}
if (properties.hasOwnProperty("toString")) {
this.toString = properties.toString;
}
},
/**
* Creates a copy of this object.
*
* @return {Object} The clone.
*
* @example
*
* var clone = instance.clone();
*/
clone: function() {
return this.init.prototype.extend(this);
}
};
}();
var WordArray = C_lib.WordArray = Base.extend({
/**
* Initializes a newly created word array.
*
* @param {Array} words (Optional) An array of 32-bit words.
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
*
* @example
*
* var wordArray = CryptoJS.lib.WordArray.create();
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
*/
init: function(words, sigBytes) {
words = this.words = words || [];
if (sigBytes != undefined$1) {
this.sigBytes = sigBytes;
} else {
this.sigBytes = words.length * 4;
}
},
/**
* Converts this word array to a string.
*
* @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
*
* @return {string} The stringified word array.
*
* @example
*
* var string = wordArray + '';
* var string = wordArray.toString();
* var string = wordArray.toString(CryptoJS.enc.Utf8);
*/
toString: function(encoder) {
return (encoder || Hex).stringify(this);
},
/**
* Concatenates a word array to this word array.
*
* @param {WordArray} wordArray The word array to append.
*
* @return {WordArray} This word array.
*
* @example
*
* wordArray1.concat(wordArray2);
*/
concat: function(wordArray) {
var thisWords = this.words;
var thatWords = wordArray.words;
var thisSigBytes = this.sigBytes;
var thatSigBytes = wordArray.sigBytes;
this.clamp();
if (thisSigBytes % 4) {
for (var i = 0; i < thatSigBytes; i++) {
var thatByte = thatWords[i >>> 2] >>> 24 - i % 4 * 8 & 255;
thisWords[thisSigBytes + i >>> 2] |= thatByte << 24 - (thisSigBytes + i) % 4 * 8;
}
} else {
for (var j = 0; j < thatSigBytes; j += 4) {
thisWords[thisSigBytes + j >>> 2] = thatWords[j >>> 2];
}
}
this.sigBytes += thatSigBytes;
return this;
},
/**
* Removes insignificant bits.
*
* @example
*
* wordArray.clamp();
*/
clamp: function() {
var words = this.words;
var sigBytes = this.sigBytes;
words[sigBytes >>> 2] &= 4294967295 << 32 - sigBytes % 4 * 8;
words.length = Math2.ceil(sigBytes / 4);
},
/**
* Creates a copy of this word array.
*
* @return {WordArray} The clone.
*
* @example
*
* var clone = wordArray.clone();
*/
clone: function() {
var clone = Base.clone.call(this);
clone.words = this.words.slice(0);
return clone;
},
/**
* Creates a word array filled with random bytes.
*
* @param {number} nBytes The number of random bytes to generate.
*
* @return {WordArray} The random word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.lib.WordArray.random(16);
*/
random: function(nBytes) {
var words = [];
for (var i = 0; i < nBytes; i += 4) {
words.push(cryptoSecureRandomInt());
}
return new WordArray.init(words, nBytes);
}
});
var C_enc = C.enc = {};
var Hex = C_enc.Hex = {
/**
* Converts a word array to a hex string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The hex string.
*
* @static
*
* @example
*
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
*/
stringify: function(wordArray) {
var words = wordArray.words;
var sigBytes = wordArray.sigBytes;
var hexChars = [];
for (var i = 0; i < sigBytes; i++) {
var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
hexChars.push((bite >>> 4).toString(16));
hexChars.push((bite & 15).toString(16));
}
return hexChars.join("");
},
/**
* Converts a hex string to a word array.
*
* @param {string} hexStr The hex string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
*/
parse: function(hexStr) {
var hexStrLength = hexStr.length;
var words = [];
for (var i = 0; i < hexStrLength; i += 2) {
words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << 24 - i % 8 * 4;
}
return new WordArray.init(words, hexStrLength / 2);
}
};
var Latin1 = C_enc.Latin1 = {
/**
* Converts a word array to a Latin1 string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The Latin1 string.
*
* @static
*
* @example
*
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
*/
stringify: function(wordArray) {
var words = wordArray.words;
var sigBytes = wordArray.sigBytes;
var latin1Chars = [];
for (var i = 0; i < sigBytes; i++) {
var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
latin1Chars.push(String.fromCharCode(bite));
}
return latin1Chars.join("");
},
/**
* Converts a Latin1 string to a word array.
*
* @param {string} latin1Str The Latin1 string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
*/
parse: function(latin1Str) {
var latin1StrLength = latin1Str.length;
var words = [];
for (var i = 0; i < latin1StrLength; i++) {
words[i >>> 2] |= (latin1Str.charCodeAt(i) & 255) << 24 - i % 4 * 8;
}
return new WordArray.init(words, latin1StrLength);
}
};
var Utf8 = C_enc.Utf8 = {
/**
* Converts a word array to a UTF-8 string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The UTF-8 string.
*
* @static
*
* @example
*
* var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
*/
stringify: function(wordArray) {
try {
return decodeURIComponent(escape(Latin1.stringify(wordArray)));
} catch (e) {
throw new Error("Malformed UTF-8 data");
}
},
/**
* Converts a UTF-8 string to a word array.
*
* @param {string} utf8Str The UTF-8 string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
*/
parse: function(utf8Str) {
return Latin1.parse(unescape(encodeURIComponent(utf8Str)));
}
};
var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({
/**
* Resets this block algorithm's data buffer to its initial state.
*
* @example
*
* bufferedBlockAlgorithm.reset();
*/
reset: function() {
this._data = new WordArray.init();
this._nDataBytes = 0;
},
/**
* Adds new data to this block algorithm's buffer.
*
* @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
*
* @example
*
* bufferedBlockAlgorithm._append('data');
* bufferedBlockAlgorithm._append(wordArray);
*/
_append: function(data) {
if (typeof data == "string") {
data = Utf8.parse(data);
}
this._data.concat(data);
this._nDataBytes += data.sigBytes;
},
/**
* Processes available data blocks.
*
* This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
*
* @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
*
* @return {WordArray} The processed data.
*
* @example
*
* var processedData = bufferedBlockAlgorithm._process();
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
*/
_process: function(doFlush) {
var processedWords;
var data = this._data;
var dataWords = data.words;
var dataSigBytes = data.sigBytes;
var blockSize = this.blockSize;
var blockSizeBytes = blockSize * 4;
var nBlocksReady = dataSigBytes / blockSizeBytes;
if (doFlush) {
nBlocksReady = Math2.ceil(nBlocksReady);
} else {
nBlocksReady = Math2.max((nBlocksReady | 0) - this._minBufferSize, 0);
}
var nWordsReady = nBlocksReady * blockSize;
var nBytesReady = Math2.min(nWordsReady * 4, dataSigBytes);
if (nWordsReady) {
for (var offset = 0; offset < nWordsReady; offset += blockSize) {
this._doProcessBlock(dataWords, offset);
}
processedWords = dataWords.splice(0, nWordsReady);
data.sigBytes -= nBytesReady;
}
return new WordArray.init(processedWords, nBytesReady);
},
/**
* Creates a copy of this object.
*
* @return {Object} The clone.
*
* @example
*
* var clone = bufferedBlockAlgorithm.clone();
*/
clone: function() {
var clone = Base.clone.call(this);
clone._data = this._data.clone();
return clone;
},
_minBufferSize: 0
});
C_lib.Hasher = BufferedBlockAlgorithm.extend({
/**
* Configuration options.
*/
cfg: Base.extend(),
/**
* Initializes a newly created hasher.
*
* @param {Object} cfg (Optional) The configuration options to use for this hash computation.
*
* @example
*
* var hasher = CryptoJS.algo.SHA256.create();
*/
init: function(cfg) {
this.cfg = this.cfg.extend(cfg);
this.reset();
},
/**
* Resets this hasher to its initial state.
*
* @example
*
* hasher.reset();
*/
reset: function() {
BufferedBlockAlgorithm.reset.call(this);
this._doReset();
},
/**
* Updates this hasher with a message.
*
* @param {WordArray|string} messageUpdate The message to append.
*
* @return {Hasher} This hasher.
*
* @example
*
* hasher.update('message');
* hasher.update(wordArray);
*/
update: function(messageUpdate) {
this._append(messageUpdate);
this._process();
return this;
},
/**
* Finalizes the hash computation.
* Note that the finalize operation is effectively a destructive, read-once operation.
*
* @param {WordArray|string} messageUpdate (Optional) A final message update.
*
* @return {WordArray} The hash.
*
* @example
*
* var hash = hasher.finalize();
* var hash = hasher.finalize('message');
* var hash = hasher.finalize(wordArray);
*/
finalize: function(messageUpdate) {
if (messageUpdate) {
this._append(messageUpdate);
}
var hash = this._doFinalize();
return hash;
},
blockSize: 512 / 32,
/**
* Creates a shortcut function to a hasher's object interface.
*
* @param {Hasher} hasher The hasher to create a helper for.
*
* @return {Function} The shortcut function.
*
* @static
*
* @example
*
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
*/
_createHelper: function(hasher) {
return function(message, cfg) {
return new hasher.init(cfg).finalize(message);
};
},
/**
* Creates a shortcut function to the HMAC's object interface.
*
* @param {Hasher} hasher The hasher to use in this HMAC helper.
*
* @return {Function} The shortcut function.
*
* @static
*
* @example
*
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
*/
_createHmacHelper: function(hasher) {
return function(message, key) {
return new C_algo.HMAC.init(hasher, key).finalize(message);
};
}
});
var C_algo = C.algo = {};
return C;
}(Math);
return CryptoJS;
});
})(core$1);
return core$1.exports;
}
var x64Core$1 = { exports: {} };
var x64Core = x64Core$1.exports;
var hasRequiredX64Core;
function requireX64Core() {
if (hasRequiredX64Core) return x64Core$1.exports;
hasRequiredX64Core = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(x64Core, function(CryptoJS) {
(function(undefined$1) {
var C = CryptoJS;
var C_lib = C.lib;
var Base = C_lib.Base;
var X32WordArray = C_lib.WordArray;
var C_x64 = C.x64 = {};
C_x64.Word = Base.extend({
/**
* Initializes a newly created 64-bit word.
*
* @param {number} high The high 32 bits.
* @param {number} low The low 32 bits.
*
* @example
*
* var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
*/
init: function(high, low) {
this.high = high;
this.low = low;
}
/**
* Bitwise NOTs this word.
*
* @return {X64Word} A new x64-Word object after negating.
*
* @example
*
* var negated = x64Word.not();
*/
// not: function () {
// var high = ~this.high;
// var low = ~this.low;
// return X64Word.create(high, low);
// },
/**
* Bitwise ANDs this word with the passed word.
*
* @param {X64Word} word The x64-Word to AND with this word.
*
* @return {X64Word} A new x64-Word object after ANDing.
*
* @example
*
* var anded = x64Word.and(anotherX64Word);
*/
// and: function (word) {
// var high = this.high & word.high;
// var low = this.low & word.low;
// return X64Word.create(high, low);
// },
/**
* Bitwise ORs this word with the passed word.
*
* @param {X64Word} word The x64-Word to OR with this word.
*
* @return {X64Word} A new x64-Word object after ORing.
*
* @example
*
* var ored = x64Word.or(anotherX64Word);
*/
// or: function (word) {
// var high = this.high | word.high;
// var low = this.low | word.low;
// return X64Word.create(high, low);
// },
/**
* Bitwise XORs this word with the passed word.
*
* @param {X64Word} word The x64-Word to XOR with this word.
*
* @return {X64Word} A new x64-Word object after XORing.
*
* @example
*
* var xored = x64Word.xor(anotherX64Word);
*/
// xor: function (word) {
// var high = this.high ^ word.high;
// var low = this.low ^ word.low;
// return X64Word.create(high, low);
// },
/**
* Shifts this word n bits to the left.
*
* @param {number} n The number of bits to shift.
*
* @return {X64Word} A new x64-Word object after shifting.
*
* @example
*
* var shifted = x64Word.shiftL(25);
*/
// shiftL: function (n) {
// if (n < 32) {
// var high = (this.high << n) | (this.low >>> (32 - n));
// var low = this.low << n;
// } else {
// var high = this.low << (n - 32);
// var low = 0;
// }
// return X64Word.create(high, low);
// },
/**
* Shifts this word n bits to the right.
*
* @param {number} n The number of bits to shift.
*
* @return {X64Word} A new x64-Word object after shifting.
*
* @example
*
* var shifted = x64Word.shiftR(7);
*/
// shiftR: function (n) {
// if (n < 32) {
// var low = (this.low >>> n) | (this.high << (32 - n));
// var high = this.high >>> n;
// } else {
// var low = this.high >>> (n - 32);
// var high = 0;
// }
// return X64Word.create(high, low);
// },
/**
* Rotates this word n bits to the left.
*
* @param {number} n The number of bits to rotate.
*
* @return {X64Word} A new x64-Word object after rotating.
*
* @example
*
* var rotated = x64Word.rotL(25);
*/
// rotL: function (n) {
// return this.shiftL(n).or(this.shiftR(64 - n));
// },
/**
* Rotates this word n bits to the right.
*
* @param {number} n The number of bits to rotate.
*
* @return {X64Word} A new x64-Word object after rotating.
*
* @example
*
* var rotated = x64Word.rotR(7);
*/
// rotR: function (n) {
// return this.shiftR(n).or(this.shiftL(64 - n));
// },
/**
* Adds this word with the passed word.
*
* @param {X64Word} word The x64-Word to add with this word.
*
* @return {X64Word} A new x64-Word object after adding.
*
* @example
*
* var added = x64Word.add(anotherX64Word);
*/
// add: function (word) {
// var low = (this.low + word.low) | 0;
// var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
// var high = (this.high + word.high + carry) | 0;
// return X64Word.create(high, low);
// }
});
C_x64.WordArray = Base.extend({
/**
* Initializes a newly created word array.
*
* @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
*
* @example
*
* var wordArray = CryptoJS.x64.WordArray.create();
*
* var wordArray = CryptoJS.x64.WordArray.create([
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
* ]);
*
* var wordArray = CryptoJS.x64.WordArray.create([
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
* ], 10);
*/
init: function(words, sigBytes) {
words = this.words = words || [];
if (sigBytes != undefined$1) {
this.sigBytes = sigBytes;
} else {
this.sigBytes = words.length * 8;
}
},
/**
* Converts this 64-bit word array to a 32-bit word array.
*
* @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
*
* @example
*
* var x32WordArray = x64WordArray.toX32();
*/
toX32: function() {
var x64Words = this.words;
var x64WordsLength = x64Words.length;
var x32Words = [];
for (var i = 0; i < x64WordsLength; i++) {
var x64Word = x64Words[i];
x32Words.push(x64Word.high);
x32Words.push(x64Word.low);
}
return X32WordArray.create(x32Words, this.sigBytes);
},
/**
* Creates a copy of this word array.
*
* @return {X64WordArray} The clone.
*
* @example
*
* var clone = x64WordArray.clone();
*/
clone: function() {
var clone = Base.clone.call(this);
var words = clone.words = this.words.slice(0);
var wordsLength = words.length;
for (var i = 0; i < wordsLength; i++) {
words[i] = words[i].clone();
}
return clone;
}
});
})();
return CryptoJS;
});
})(x64Core$1);
return x64Core$1.exports;
}
var libTypedarrays$1 = { exports: {} };
var libTypedarrays = libTypedarrays$1.exports;
var hasRequiredLibTypedarrays;
function requireLibTypedarrays() {
if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
hasRequiredLibTypedarrays = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(libTypedarrays, function(CryptoJS) {
(function() {
if (typeof ArrayBuffer != "function") {
return;
}
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var superInit = WordArray.init;
var subInit = WordArray.init = function(typedArray) {
if (typedArray instanceof ArrayBuffer) {
typedArray = new Uint8Array(typedArray);
}
if (typedArray instanceof Int8Array || typeof Uint8ClampedArray !== "undefined" && typedArray instanceof Uint8ClampedArray || typedArray instanceof Int16Array || typedArray instanceof Uint16Array || typedArray instanceof Int32Array || typedArray instanceof Uint32Array || typedArray instanceof Float32Array || typedArray instanceof Float64Array) {
typedArray = new Uint8Array(typedArray.buffer, typedArray.byteOffset, typedArray.byteLength);
}
if (typedArray instanceof Uint8Array) {
var typedArrayByteLength = typedArray.byteLength;
var words = [];
for (var i = 0; i < typedArrayByteLength; i++) {
words[i >>> 2] |= typedArray[i] << 24 - i % 4 * 8;
}
superInit.call(this, words, typedArrayByteLength);
} else {
superInit.apply(this, arguments);
}
};
subInit.prototype = WordArray;
})();
return CryptoJS.lib.WordArray;
});
})(libTypedarrays$1);
return libTypedarrays$1.exports;
}
var encUtf16$1 = { exports: {} };
var encUtf16 = encUtf16$1.exports;
var hasRequiredEncUtf16;
function requireEncUtf16() {
if (hasRequiredEncUtf16) return encUtf16$1.exports;
hasRequiredEncUtf16 = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(encUtf16, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var C_enc = C.enc;
C_enc.Utf16 = C_enc.Utf16BE = {
/**
* Converts a word array to a UTF-16 BE string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The UTF-16 BE string.
*
* @static
*
* @example
*
* var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
*/
stringify: function(wordArray) {
var words = wordArray.words;
var sigBytes = wordArray.sigBytes;
var utf16Chars = [];
for (var i = 0; i < sigBytes; i += 2) {
var codePoint = words[i >>> 2] >>> 16 - i % 4 * 8 & 65535;
utf16Chars.push(String.fromCharCode(codePoint));
}
return utf16Chars.join("");
},
/**
* Converts a UTF-16 BE string to a word array.
*
* @param {string} utf16Str The UTF-16 BE string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
*/
parse: function(utf16Str) {
var utf16StrLength = utf16Str.length;
var words = [];
for (var i = 0; i < utf16StrLength; i++) {
words[i >>> 1] |= utf16Str.charCodeAt(i) << 16 - i % 2 * 16;
}
return WordArray.create(words, utf16StrLength * 2);
}
};
C_enc.Utf16LE = {
/**
* Converts a word array to a UTF-16 LE string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The UTF-16 LE string.
*
* @static
*
* @example
*
* var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
*/
stringify: function(wordArray) {
var words = wordArray.words;
var sigBytes = wordArray.sigBytes;
var utf16Chars = [];
for (var i = 0; i < sigBytes; i += 2) {
var codePoint = swapEndian(words[i >>> 2] >>> 16 - i % 4 * 8 & 65535);
utf16Chars.push(String.fromCharCode(codePoint));
}
return utf16Chars.join("");
},
/**
* Converts a UTF-16 LE string to a word array.
*
* @param {string} utf16Str The UTF-16 LE string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
*/
parse: function(utf16Str) {
var utf16StrLength = utf16Str.length;
var words = [];
for (var i = 0; i < utf16StrLength; i++) {
words[i >>> 1] |= swapEndian(utf16Str.charCodeAt(i) << 16 - i % 2 * 16);
}
return WordArray.create(words, utf16StrLength * 2);
}
};
function swapEndian(word) {
return word << 8 & 4278255360 | word >>> 8 & 16711935;
}
})();
return CryptoJS.enc.Utf16;
});
})(encUtf16$1);
return encUtf16$1.exports;
}
var encBase64$1 = { exports: {} };
var encBase64 = encBase64$1.exports;
var hasRequiredEncBase64;
function requireEncBase64() {
if (hasRequiredEncBase64) return encBase64$1.exports;
hasRequiredEncBase64 = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(encBase64, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var C_enc = C.enc;
C_enc.Base64 = {
/**
* Converts a word array to a Base64 string.
*
* @param {WordArray} wordArray The word array.
*
* @return {string} The Base64 string.
*
* @static
*
* @example
*
* var base64String = CryptoJS.enc.Base64.stringify(wordArray);
*/
stringify: function(wordArray) {
var words = wordArray.words;
var sigBytes = wordArray.sigBytes;
var map = this._map;
wordArray.clamp();
var base64Chars = [];
for (var i = 0; i < sigBytes; i += 3) {
var byte1 = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
var byte2 = words[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255;
var byte3 = words[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255;
var triplet = byte1 << 16 | byte2 << 8 | byte3;
for (var j = 0; j < 4 && i + j * 0.75 < sigBytes; j++) {
base64Chars.push(map.charAt(triplet >>> 6 * (3 - j) & 63));
}
}
var paddingChar = map.charAt(64);
if (paddingChar) {
while (base64Chars.length % 4) {
base64Chars.push(paddingChar);
}
}
return base64Chars.join("");
},
/**
* Converts a Base64 string to a word array.
*
* @param {string} base64Str The Base64 string.
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Base64.parse(base64String);
*/
parse: function(base64Str) {
var base64StrLength = base64Str.length;
var map = this._map;
var reverseMap = this._reverseMap;
if (!reverseMap) {
reverseMap = this._reverseMap = [];
for (var j = 0; j < map.length; j++) {
reverseMap[map.charCodeAt(j)] = j;
}
}
var paddingChar = map.charAt(64);
if (paddingChar) {
var paddingIndex = base64Str.indexOf(paddingChar);
if (paddingIndex !== -1) {
base64StrLength = paddingIndex;
}
}
return parseLoop(base64Str, base64StrLength, reverseMap);
},
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
};
function parseLoop(base64Str, base64StrLength, reverseMap) {
var words = [];
var nBytes = 0;
for (var i = 0; i < base64StrLength; i++) {
if (i % 4) {
var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << i % 4 * 2;
var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> 6 - i % 4 * 2;
var bitsCombined = bits1 | bits2;
words[nBytes >>> 2] |= bitsCombined << 24 - nBytes % 4 * 8;
nBytes++;
}
}
return WordArray.create(words, nBytes);
}
})();
return CryptoJS.enc.Base64;
});
})(encBase64$1);
return encBase64$1.exports;
}
var encBase64url$1 = { exports: {} };
var encBase64url = encBase64url$1.exports;
var hasRequiredEncBase64url;
function requireEncBase64url() {
if (hasRequiredEncBase64url) return encBase64url$1.exports;
hasRequiredEncBase64url = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(encBase64url, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var C_enc = C.enc;
C_enc.Base64url = {
/**
* Converts a word array to a Base64url string.
*
* @param {WordArray} wordArray The word array.
*
* @param {boolean} urlSafe Whether to use url safe
*
* @return {string} The Base64url string.
*
* @static
*
* @example
*
* var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
*/
stringify: function(wordArray, urlSafe) {
if (urlSafe === void 0) {
urlSafe = true;
}
var words = wordArray.words;
var sigBytes = wordArray.sigBytes;
var map = urlSafe ? this._safe_map : this._map;
wordArray.clamp();
var base64Chars = [];
for (var i = 0; i < sigBytes; i += 3) {
var byte1 = words[i >>> 2] >>> 24 - i % 4 * 8 & 255;
var byte2 = words[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255;
var byte3 = words[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255;
var triplet = byte1 << 16 | byte2 << 8 | byte3;
for (var j = 0; j < 4 && i + j * 0.75 < sigBytes; j++) {
base64Chars.push(map.charAt(triplet >>> 6 * (3 - j) & 63));
}
}
var paddingChar = map.charAt(64);
if (paddingChar) {
while (base64Chars.length % 4) {
base64Chars.push(paddingChar);
}
}
return base64Chars.join("");
},
/**
* Converts a Base64url string to a word array.
*
* @param {string} base64Str The Base64url string.
*
* @param {boolean} urlSafe Whether to use url safe
*
* @return {WordArray} The word array.
*
* @static
*
* @example
*
* var wordArray = CryptoJS.enc.Base64url.parse(base64String);
*/
parse: function(base64Str, urlSafe) {
if (urlSafe === void 0) {
urlSafe = true;
}
var base64StrLength = base64Str.length;
var map = urlSafe ? this._safe_map : this._map;
var reverseMap = this._reverseMap;
if (!reverseMap) {
reverseMap = this._reverseMap = [];
for (var j = 0; j < map.length; j++) {
reverseMap[map.charCodeAt(j)] = j;
}
}
var paddingChar = map.charAt(64);
if (paddingChar) {
var paddingIndex = base64Str.indexOf(paddingChar);
if (paddingIndex !== -1) {
base64StrLength = paddingIndex;
}
}
return parseLoop(base64Str, base64StrLength, reverseMap);
},
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
_safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
};
function parseLoop(base64Str, base64StrLength, reverseMap) {
var words = [];
var nBytes = 0;
for (var i = 0; i < base64StrLength; i++) {
if (i % 4) {
var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << i % 4 * 2;
var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> 6 - i % 4 * 2;
var bitsCombined = bits1 | bits2;
words[nBytes >>> 2] |= bitsCombined << 24 - nBytes % 4 * 8;
nBytes++;
}
}
return WordArray.create(words, nBytes);
}
})();
return CryptoJS.enc.Base64url;
});
})(encBase64url$1);
return encBase64url$1.exports;
}
var md5$1 = { exports: {} };
var md5 = md5$1.exports;
var hasRequiredMd5;
function requireMd5() {
if (hasRequiredMd5) return md5$1.exports;
hasRequiredMd5 = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(md5, function(CryptoJS) {
(function(Math2) {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var Hasher = C_lib.Hasher;
var C_algo = C.algo;
var T = [];
(function() {
for (var i = 0; i < 64; i++) {
T[i] = Math2.abs(Math2.sin(i + 1)) * 4294967296 | 0;
}
})();
var MD5 = C_algo.MD5 = Hasher.extend({
_doReset: function() {
this._hash = new WordArray.init([
1732584193,
4023233417,
2562383102,
271733878
]);
},
_doProcessBlock: function(M, offset) {
for (var i = 0; i < 16; i++) {
var offset_i = offset + i;
var M_offset_i = M[offset_i];
M[offset_i] = (M_offset_i << 8 | M_offset_i >>> 24) & 16711935 | (M_offset_i << 24 | M_offset_i >>> 8) & 4278255360;
}
var H = this._hash.words;
var M_offset_0 = M[offset + 0];
var M_offset_1 = M[offset + 1];
var M_offset_2 = M[offset + 2];
var M_offset_3 = M[offset + 3];
var M_offset_4 = M[offset + 4];
var M_offset_5 = M[offset + 5];
var M_offset_6 = M[offset + 6];
var M_offset_7 = M[offset + 7];
var M_offset_8 = M[offset + 8];
var M_offset_9 = M[offset + 9];
var M_offset_10 = M[offset + 10];
var M_offset_11 = M[offset + 11];
var M_offset_12 = M[offset + 12];
var M_offset_13 = M[offset + 13];
var M_offset_14 = M[offset + 14];
var M_offset_15 = M[offset + 15];
var a = H[0];
var b = H[1];
var c = H[2];
var d = H[3];
a = FF(a, b, c, d, M_offset_0, 7, T[0]);
d = FF(d, a, b, c, M_offset_1, 12, T[1]);
c = FF(c, d, a, b, M_offset_2, 17, T[2]);
b = FF(b, c, d, a, M_offset_3, 22, T[3]);
a = FF(a, b, c, d, M_offset_4, 7, T[4]);
d = FF(d, a, b, c, M_offset_5, 12, T[5]);
c = FF(c, d, a, b, M_offset_6, 17, T[6]);
b = FF(b, c, d, a, M_offset_7, 22, T[7]);
a = FF(a, b, c, d, M_offset_8, 7, T[8]);
d = FF(d, a, b, c, M_offset_9, 12, T[9]);
c = FF(c, d, a, b, M_offset_10, 17, T[10]);
b = FF(b, c, d, a, M_offset_11, 22, T[11]);
a = FF(a, b, c, d, M_offset_12, 7, T[12]);
d = FF(d, a, b, c, M_offset_13, 12, T[13]);
c = FF(c, d, a, b, M_offset_14, 17, T[14]);
b = FF(b, c, d, a, M_offset_15, 22, T[15]);
a = GG(a, b, c, d, M_offset_1, 5, T[16]);
d = GG(d, a, b, c, M_offset_6, 9, T[17]);
c = GG(c, d, a, b, M_offset_11, 14, T[18]);
b = GG(b, c, d, a, M_offset_0, 20, T[19]);
a = GG(a, b, c, d, M_offset_5, 5, T[20]);
d = GG(d, a, b, c, M_offset_10, 9, T[21]);
c = GG(c, d, a, b, M_offset_15, 14, T[22]);
b = GG(b, c, d, a, M_offset_4, 20, T[23]);
a = GG(a, b, c, d, M_offset_9, 5, T[24]);
d = GG(d, a, b, c, M_offset_14, 9, T[25]);
c = GG(c, d, a, b, M_offset_3, 14, T[26]);
b = GG(b, c, d, a, M_offset_8, 20, T[27]);
a = GG(a, b, c, d, M_offset_13, 5, T[28]);
d = GG(d, a, b, c, M_offset_2, 9, T[29]);
c = GG(c, d, a, b, M_offset_7, 14, T[30]);
b = GG(b, c, d, a, M_offset_12, 20, T[31]);
a = HH(a, b, c, d, M_offset_5, 4, T[32]);
d = HH(d, a, b, c, M_offset_8, 11, T[33]);
c = HH(c, d, a, b, M_offset_11, 16, T[34]);
b = HH(b, c, d, a, M_offset_14, 23, T[35]);
a = HH(a, b, c, d, M_offset_1, 4, T[36]);
d = HH(d, a, b, c, M_offset_4, 11, T[37]);
c = HH(c, d, a, b, M_offset_7, 16, T[38]);
b = HH(b, c, d, a, M_offset_10, 23, T[39]);
a = HH(a, b, c, d, M_offset_13, 4, T[40]);
d = HH(d, a, b, c, M_offset_0, 11, T[41]);
c = HH(c, d, a, b, M_offset_3, 16, T[42]);
b = HH(b, c, d, a, M_offset_6, 23, T[43]);
a = HH(a, b, c, d, M_offset_9, 4, T[44]);
d = HH(d, a, b, c, M_offset_12, 11, T[45]);
c = HH(c, d, a, b, M_offset_15, 16, T[46]);
b = HH(b, c, d, a, M_offset_2, 23, T[47]);
a = II(a, b, c, d, M_offset_0, 6, T[48]);
d = II(d, a, b, c, M_offset_7, 10, T[49]);
c = II(c, d, a, b, M_offset_14, 15, T[50]);
b = II(b, c, d, a, M_offset_5, 21, T[51]);
a = II(a, b, c, d, M_offset_12, 6, T[52]);
d = II(d, a, b, c, M_offset_3, 10, T[53]);
c = II(c, d, a, b, M_offset_10, 15, T[54]);
b = II(b, c, d, a, M_offset_1, 21, T[55]);
a = II(a, b, c, d, M_offset_8, 6, T[56]);
d = II(d, a, b, c, M_offset_15, 10, T[57]);
c = II(c, d, a, b, M_offset_6, 15, T[58]);
b = II(b, c, d, a, M_offset_13, 21, T[59]);
a = II(a, b, c, d, M_offset_4, 6, T[60]);
d = II(d, a, b, c, M_offset_11, 10, T[61]);
c = II(c, d, a, b, M_offset_2, 15, T[62]);
b = II(b, c, d, a, M_offset_9, 21, T[63]);
H[0] = H[0] + a | 0;
H[1] = H[1] + b | 0;
H[2] = H[2] + c | 0;
H[3] = H[3] + d | 0;
},
_doFinalize: function() {
var data = this._data;
var dataWords = data.words;
var nBitsTotal = this._nDataBytes * 8;
var nBitsLeft = data.sigBytes * 8;
dataWords[nBitsLeft >>> 5] |= 128 << 24 - nBitsLeft % 32;
var nBitsTotalH = Math2.floor(nBitsTotal / 4294967296);
var nBitsTotalL = nBitsTotal;
dataWords[(nBitsLeft + 64 >>> 9 << 4) + 15] = (nBitsTotalH << 8 | nBitsTotalH >>> 24) & 16711935 | (nBitsTotalH << 24 | nBitsTotalH >>> 8) & 4278255360;
dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] = (nBitsTotalL << 8 | nBitsTotalL >>> 24) & 16711935 | (nBitsTotalL << 24 | nBitsTotalL >>> 8) & 4278255360;
data.sigBytes = (dataWords.length + 1) * 4;
this._process();
var hash = this._hash;
var H = hash.words;
for (var i = 0; i < 4; i++) {
var H_i = H[i];
H[i] = (H_i << 8 | H_i >>> 24) & 16711935 | (H_i << 24 | H_i >>> 8) & 4278255360;
}
return hash;
},
clone: function() {
var clone = Hasher.clone.call(this);
clone._hash = this._hash.clone();
return clone;
}
});
function FF(a, b, c, d, x, s, t) {
var n = a + (b & c | ~b & d) + x + t;
return (n << s | n >>> 32 - s) + b;
}
function GG(a, b, c, d, x, s, t) {
var n = a + (b & d | c & ~d) + x + t;
return (n << s | n >>> 32 - s) + b;
}
function HH(a, b, c, d, x, s, t) {
var n = a + (b ^ c ^ d) + x + t;
return (n << s | n >>> 32 - s) + b;
}
function II(a, b, c, d, x, s, t) {
var n = a + (c ^ (b | ~d)) + x + t;
return (n << s | n >>> 32 - s) + b;
}
C.MD5 = Hasher._createHelper(MD5);
C.HmacMD5 = Hasher._createHmacHelper(MD5);
})(Math);
return CryptoJS.MD5;
});
})(md5$1);
return md5$1.exports;
}
var sha1$1 = { exports: {} };
var sha1 = sha1$1.exports;
var hasRequiredSha1;
function requireSha1() {
if (hasRequiredSha1) return sha1$1.exports;
hasRequiredSha1 = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(sha1, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var Hasher = C_lib.Hasher;
var C_algo = C.algo;
var W = [];
var SHA1 = C_algo.SHA1 = Hasher.extend({
_doReset: function() {
this._hash = new WordArray.init([
1732584193,
4023233417,
2562383102,
271733878,
3285377520
]);
},
_doProcessBlock: function(M, offset) {
var H = this._hash.words;
var a = H[0];
var b = H[1];
var c = H[2];
var d = H[3];
var e = H[4];
for (var i = 0; i < 80; i++) {
if (i < 16) {
W[i] = M[offset + i] | 0;
} else {
var n = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];
W[i] = n << 1 | n >>> 31;
}
var t = (a << 5 | a >>> 27) + e + W[i];
if (i < 20) {
t += (b & c | ~b & d) + 1518500249;
} else if (i < 40) {
t += (b ^ c ^ d) + 1859775393;
} else if (i < 60) {
t += (b & c | b & d | c & d) - 1894007588;
} else {
t += (b ^ c ^ d) - 899497514;
}
e = d;
d = c;
c = b << 30 | b >>> 2;
b = a;
a = t;
}
H[0] = H[0] + a | 0;
H[1] = H[1] + b | 0;
H[2] = H[2] + c | 0;
H[3] = H[3] + d | 0;
H[4] = H[4] + e | 0;
},
_doFinalize: function() {
var data = this._data;
var dataWords = data.words;
var nBitsTotal = this._nDataBytes * 8;
var nBitsLeft = data.sigBytes * 8;
dataWords[nBitsLeft >>> 5] |= 128 << 24 - nBitsLeft % 32;
dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] = Math.floor(nBitsTotal / 4294967296);
dataWords[(nBitsLeft + 64 >>> 9 << 4) + 15] = nBitsTotal;
data.sigBytes = dataWords.length * 4;
this._process();
return this._hash;
},
clone: function() {
var clone = Hasher.clone.call(this);
clone._hash = this._hash.clone();
return clone;
}
});
C.SHA1 = Hasher._createHelper(SHA1);
C.HmacSHA1 = Hasher._createHmacHelper(SHA1);
})();
return CryptoJS.SHA1;
});
})(sha1$1);
return sha1$1.exports;
}
var sha256$1 = { exports: {} };
var sha256 = sha256$1.exports;
var hasRequiredSha256;
function requireSha256() {
if (hasRequiredSha256) return sha256$1.exports;
hasRequiredSha256 = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(sha256, function(CryptoJS) {
(function(Math2) {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var Hasher = C_lib.Hasher;
var C_algo = C.algo;
var H = [];
var K = [];
(function() {
function isPrime(n2) {
var sqrtN = Math2.sqrt(n2);
for (var factor = 2; factor <= sqrtN; factor++) {
if (!(n2 % factor)) {
return false;
}
}
return true;
}
function getFractionalBits(n2) {
return (n2 - (n2 | 0)) * 4294967296 | 0;
}
var n = 2;
var nPrime = 0;
while (nPrime < 64) {
if (isPrime(n)) {
if (nPrime < 8) {
H[nPrime] = getFractionalBits(Math2.pow(n, 1 / 2));
}
K[nPrime] = getFractionalBits(Math2.pow(n, 1 / 3));
nPrime++;
}
n++;
}
})();
var W = [];
var SHA256 = C_algo.SHA256 = Hasher.extend({
_doReset: function() {
this._hash = new WordArray.init(H.slice(0));
},
_doProcessBlock: function(M, offset) {
var H2 = this._hash.words;
var a = H2[0];
var b = H2[1];
var c = H2[2];
var d = H2[3];
var e = H2[4];
var f = H2[5];
var g = H2[6];
var h = H2[7];
for (var i = 0; i < 64; i++) {
if (i < 16) {
W[i] = M[offset + i] | 0;
} else {
var gamma0x = W[i - 15];
var gamma0 = (gamma0x << 25 | gamma0x >>> 7) ^ (gamma0x << 14 | gamma0x >>> 18) ^ gamma0x >>> 3;
var gamma1x = W[i - 2];
var gamma1 = (gamma1x << 15 | gamma1x >>> 17) ^ (gamma1x << 13 | gamma1x >>> 19) ^ gamma1x >>> 10;
W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];
}
var ch = e & f ^ ~e & g;
var maj = a & b ^ a & c ^ b & c;
var sigma0 = (a << 30 | a >>> 2) ^ (a << 19 | a >>> 13) ^ (a << 10 | a >>> 22);
var sigma1 = (e << 26 | e >>> 6) ^ (e << 21 | e >>> 11) ^ (e << 7 | e >>> 25);
var t1 = h + sigma1 + ch + K[i] + W[i];
var t2 = sigma0 + maj;
h = g;
g = f;
f = e;
e = d + t1 | 0;
d = c;
c = b;
b = a;
a = t1 + t2 | 0;
}
H2[0] = H2[0] + a | 0;
H2[1] = H2[1] + b | 0;
H2[2] = H2[2] + c | 0;
H2[3] = H2[3] + d | 0;
H2[4] = H2[4] + e | 0;
H2[5] = H2[5] + f | 0;
H2[6] = H2[6] + g | 0;
H2[7] = H2[7] + h | 0;
},
_doFinalize: function() {
var data = this._data;
var dataWords = data.words;
var nBitsTotal = this._nDataBytes * 8;
var nBitsLeft = data.sigBytes * 8;
dataWords[nBitsLeft >>> 5] |= 128 << 24 - nBitsLeft % 32;
dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] = Math2.floor(nBitsTotal / 4294967296);
dataWords[(nBitsLeft + 64 >>> 9 << 4) + 15] = nBitsTotal;
data.sigBytes = dataWords.length * 4;
this._process();
return this._hash;
},
clone: function() {
var clone = Hasher.clone.call(this);
clone._hash = this._hash.clone();
return clone;
}
});
C.SHA256 = Hasher._createHelper(SHA256);
C.HmacSHA256 = Hasher._createHmacHelper(SHA256);
})(Math);
return CryptoJS.SHA256;
});
})(sha256$1);
return sha256$1.exports;
}
var sha224$1 = { exports: {} };
var sha224 = sha224$1.exports;
var hasRequiredSha224;
function requireSha224() {
if (hasRequiredSha224) return sha224$1.exports;
hasRequiredSha224 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireSha256());
}
})(sha224, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var C_algo = C.algo;
var SHA256 = C_algo.SHA256;
var SHA224 = C_algo.SHA224 = SHA256.extend({
_doReset: function() {
this._hash = new WordArray.init([
3238371032,
914150663,
812702999,
4144912697,
4290775857,
1750603025,
1694076839,
3204075428
]);
},
_doFinalize: function() {
var hash = SHA256._doFinalize.call(this);
hash.sigBytes -= 4;
return hash;
}
});
C.SHA224 = SHA256._createHelper(SHA224);
C.HmacSHA224 = SHA256._createHmacHelper(SHA224);
})();
return CryptoJS.SHA224;
});
})(sha224$1);
return sha224$1.exports;
}
var sha512$1 = { exports: {} };
var sha512 = sha512$1.exports;
var hasRequiredSha512;
function requireSha512() {
if (hasRequiredSha512) return sha512$1.exports;
hasRequiredSha512 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireX64Core());
}
})(sha512, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var Hasher = C_lib.Hasher;
var C_x64 = C.x64;
var X64Word = C_x64.Word;
var X64WordArray = C_x64.WordArray;
var C_algo = C.algo;
function X64Word_create() {
return X64Word.create.apply(X64Word, arguments);
}
var K = [
X64Word_create(1116352408, 3609767458),
X64Word_create(1899447441, 602891725),
X64Word_create(3049323471, 3964484399),
X64Word_create(3921009573, 2173295548),
X64Word_create(961987163, 4081628472),
X64Word_create(1508970993, 3053834265),
X64Word_create(2453635748, 2937671579),
X64Word_create(2870763221, 3664609560),
X64Word_create(3624381080, 2734883394),
X64Word_create(310598401, 1164996542),
X64Word_create(607225278, 1323610764),
X64Word_create(1426881987, 3590304994),
X64Word_create(1925078388, 4068182383),
X64Word_create(2162078206, 991336113),
X64Word_create(2614888103, 633803317),
X64Word_create(3248222580, 3479774868),
X64Word_create(3835390401, 2666613458),
X64Word_create(4022224774, 944711139),
X64Word_create(264347078, 2341262773),
X64Word_create(604807628, 2007800933),
X64Word_create(770255983, 1495990901),
X64Word_create(1249150122, 1856431235),
X64Word_create(1555081692, 3175218132),
X64Word_create(1996064986, 2198950837),
X64Word_create(2554220882, 3999719339),
X64Word_create(2821834349, 766784016),
X64Word_create(2952996808, 2566594879),
X64Word_create(3210313671, 3203337956),
X64Word_create(3336571891, 1034457026),
X64Word_create(3584528711, 2466948901),
X64Word_create(113926993, 3758326383),
X64Word_create(338241895, 168717936),
X64Word_create(666307205, 1188179964),
X64Word_create(773529912, 1546045734),
X64Word_create(1294757372, 1522805485),
X64Word_create(1396182291, 2643833823),
X64Word_create(1695183700, 2343527390),
X64Word_create(1986661051, 1014477480),
X64Word_create(2177026350, 1206759142),
X64Word_create(2456956037, 344077627),
X64Word_create(2730485921, 1290863460),
X64Word_create(2820302411, 3158454273),
X64Word_create(3259730800, 3505952657),
X64Word_create(3345764771, 106217008),
X64Word_create(3516065817, 3606008344),
X64Word_create(3600352804, 1432725776),
X64Word_create(4094571909, 1467031594),
X64Word_create(275423344, 851169720),
X64Word_create(430227734, 3100823752),
X64Word_create(506948616, 1363258195),
X64Word_create(659060556, 3750685593),
X64Word_create(883997877, 3785050280),
X64Word_create(958139571, 3318307427),
X64Word_create(1322822218, 3812723403),
X64Word_create(1537002063, 2003034995),
X64Word_create(1747873779, 3602036899),
X64Word_create(1955562222, 1575990012),
X64Word_create(2024104815, 1125592928),
X64Word_create(2227730452, 2716904306),
X64Word_create(2361852424, 442776044),
X64Word_create(2428436474, 593698344),
X64Word_create(2756734187, 3733110249),
X64Word_create(3204031479, 2999351573),
X64Word_create(3329325298, 3815920427),
X64Word_create(3391569614, 3928383900),
X64Word_create(3515267271, 566280711),
X64Word_create(3940187606, 3454069534),
X64Word_create(4118630271, 4000239992),
X64Word_create(116418474, 1914138554),
X64Word_create(174292421, 2731055270),
X64Word_create(289380356, 3203993006),
X64Word_create(460393269, 320620315),
X64Word_create(685471733, 587496836),
X64Word_create(852142971, 1086792851),
X64Word_create(1017036298, 365543100),
X64Word_create(1126000580, 2618297676),
X64Word_create(1288033470, 3409855158),
X64Word_create(1501505948, 4234509866),
X64Word_create(1607167915, 987167468),
X64Word_create(1816402316, 1246189591)
];
var W = [];
(function() {
for (var i = 0; i < 80; i++) {
W[i] = X64Word_create();
}
})();
var SHA512 = C_algo.SHA512 = Hasher.extend({
_doReset: function() {
this._hash = new X64WordArray.init([
new X64Word.init(1779033703, 4089235720),
new X64Word.init(3144134277, 2227873595),
new X64Word.init(1013904242, 4271175723),
new X64Word.init(2773480762, 1595750129),
new X64Word.init(1359893119, 2917565137),
new X64Word.init(2600822924, 725511199),
new X64Word.init(528734635, 4215389547),
new X64Word.init(1541459225, 327033209)
]);
},
_doProcessBlock: function(M, offset) {
var H = this._hash.words;
var H0 = H[0];
var H1 = H[1];
var H2 = H[2];
var H3 = H[3];
var H4 = H[4];
var H5 = H[5];
var H6 = H[6];
var H7 = H[7];
var H0h = H0.high;
var H0l = H0.low;
var H1h = H1.high;
var H1l = H1.low;
var H2h = H2.high;
var H2l = H2.low;
var H3h = H3.high;
var H3l = H3.low;
var H4h = H4.high;
var H4l = H4.low;
var H5h = H5.high;
var H5l = H5.low;
var H6h = H6.high;
var H6l = H6.low;
var H7h = H7.high;
var H7l = H7.low;
var ah = H0h;
var al = H0l;
var bh = H1h;
var bl = H1l;
var ch = H2h;
var cl = H2l;
var dh = H3h;
var dl = H3l;
var eh = H4h;
var el = H4l;
var fh = H5h;
var fl = H5l;
var gh = H6h;
var gl = H6l;
var hh = H7h;
var hl = H7l;
for (var i = 0; i < 80; i++) {
var Wil;
var Wih;
var Wi = W[i];
if (i < 16) {
Wih = Wi.high = M[offset + i * 2] | 0;
Wil = Wi.low = M[offset + i * 2 + 1] | 0;
} else {
var gamma0x = W[i - 15];
var gamma0xh = gamma0x.high;
var gamma0xl = gamma0x.low;
var gamma0h = (gamma0xh >>> 1 | gamma0xl << 31) ^ (gamma0xh >>> 8 | gamma0xl << 24) ^ gamma0xh >>> 7;
var gamma0l = (gamma0xl >>> 1 | gamma0xh << 31) ^ (gamma0xl >>> 8 | gamma0xh << 24) ^ (gamma0xl >>> 7 | gamma0xh << 25);
var gamma1x = W[i - 2];
var gamma1xh = gamma1x.high;
var gamma1xl = gamma1x.low;
var gamma1h = (gamma1xh >>> 19 | gamma1xl << 13) ^ (gamma1xh << 3 | gamma1xl >>> 29) ^ gamma1xh >>> 6;
var gamma1l = (gamma1xl >>> 19 | gamma1xh << 13) ^ (gamma1xl << 3 | gamma1xh >>> 29) ^ (gamma1xl >>> 6 | gamma1xh << 26);
var Wi7 = W[i - 7];
var Wi7h = Wi7.high;
var Wi7l = Wi7.low;
var Wi16 = W[i - 16];
var Wi16h = Wi16.high;
var Wi16l = Wi16.low;
Wil = gamma0l + Wi7l;
Wih = gamma0h + Wi7h + (Wil >>> 0 < gamma0l >>> 0 ? 1 : 0);
Wil = Wil + gamma1l;
Wih = Wih + gamma1h + (Wil >>> 0 < gamma1l >>> 0 ? 1 : 0);
Wil = Wil + Wi16l;
Wih = Wih + Wi16h + (Wil >>> 0 < Wi16l >>> 0 ? 1 : 0);
Wi.high = Wih;
Wi.low = Wil;
}
var chh = eh & fh ^ ~eh & gh;
var chl = el & fl ^ ~el & gl;
var majh = ah & bh ^ ah & ch ^ bh & ch;
var majl = al & bl ^ al & cl ^ bl & cl;
var sigma0h = (ah >>> 28 | al << 4) ^ (ah << 30 | al >>> 2) ^ (ah << 25 | al >>> 7);
var sigma0l = (al >>> 28 | ah << 4) ^ (al << 30 | ah >>> 2) ^ (al << 25 | ah >>> 7);
var sigma1h = (eh >>> 14 | el << 18) ^ (eh >>> 18 | el << 14) ^ (eh << 23 | el >>> 9);
var sigma1l = (el >>> 14 | eh << 18) ^ (el >>> 18 | eh << 14) ^ (el << 23 | eh >>> 9);
var Ki = K[i];
var Kih = Ki.high;
var Kil = Ki.low;
var t1l = hl + sigma1l;
var t1h = hh + sigma1h + (t1l >>> 0 < hl >>> 0 ? 1 : 0);
var t1l = t1l + chl;
var t1h = t1h + chh + (t1l >>> 0 < chl >>> 0 ? 1 : 0);
var t1l = t1l + Kil;
var t1h = t1h + Kih + (t1l >>> 0 < Kil >>> 0 ? 1 : 0);
var t1l = t1l + Wil;
var t1h = t1h + Wih + (t1l >>> 0 < Wil >>> 0 ? 1 : 0);
var t2l = sigma0l + majl;
var t2h = sigma0h + majh + (t2l >>> 0 < sigma0l >>> 0 ? 1 : 0);
hh = gh;
hl = gl;
gh = fh;
gl = fl;
fh = eh;
fl = el;
el = dl + t1l | 0;
eh = dh + t1h + (el >>> 0 < dl >>> 0 ? 1 : 0) | 0;
dh = ch;
dl = cl;
ch = bh;
cl = bl;
bh = ah;
bl = al;
al = t1l + t2l | 0;
ah = t1h + t2h + (al >>> 0 < t1l >>> 0 ? 1 : 0) | 0;
}
H0l = H0.low = H0l + al;
H0.high = H0h + ah + (H0l >>> 0 < al >>> 0 ? 1 : 0);
H1l = H1.low = H1l + bl;
H1.high = H1h + bh + (H1l >>> 0 < bl >>> 0 ? 1 : 0);
H2l = H2.low = H2l + cl;
H2.high = H2h + ch + (H2l >>> 0 < cl >>> 0 ? 1 : 0);
H3l = H3.low = H3l + dl;
H3.high = H3h + dh + (H3l >>> 0 < dl >>> 0 ? 1 : 0);
H4l = H4.low = H4l + el;
H4.high = H4h + eh + (H4l >>> 0 < el >>> 0 ? 1 : 0);
H5l = H5.low = H5l + fl;
H5.high = H5h + fh + (H5l >>> 0 < fl >>> 0 ? 1 : 0);
H6l = H6.low = H6l + gl;
H6.high = H6h + gh + (H6l >>> 0 < gl >>> 0 ? 1 : 0);
H7l = H7.low = H7l + hl;
H7.high = H7h + hh + (H7l >>> 0 < hl >>> 0 ? 1 : 0);
},
_doFinalize: function() {
var data = this._data;
var dataWords = data.words;
var nBitsTotal = this._nDataBytes * 8;
var nBitsLeft = data.sigBytes * 8;
dataWords[nBitsLeft >>> 5] |= 128 << 24 - nBitsLeft % 32;
dataWords[(nBitsLeft + 128 >>> 10 << 5) + 30] = Math.floor(nBitsTotal / 4294967296);
dataWords[(nBitsLeft + 128 >>> 10 << 5) + 31] = nBitsTotal;
data.sigBytes = dataWords.length * 4;
this._process();
var hash = this._hash.toX32();
return hash;
},
clone: function() {
var clone = Hasher.clone.call(this);
clone._hash = this._hash.clone();
return clone;
},
blockSize: 1024 / 32
});
C.SHA512 = Hasher._createHelper(SHA512);
C.HmacSHA512 = Hasher._createHmacHelper(SHA512);
})();
return CryptoJS.SHA512;
});
})(sha512$1);
return sha512$1.exports;
}
var sha384$1 = { exports: {} };
var sha384 = sha384$1.exports;
var hasRequiredSha384;
function requireSha384() {
if (hasRequiredSha384) return sha384$1.exports;
hasRequiredSha384 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireX64Core(), requireSha512());
}
})(sha384, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_x64 = C.x64;
var X64Word = C_x64.Word;
var X64WordArray = C_x64.WordArray;
var C_algo = C.algo;
var SHA512 = C_algo.SHA512;
var SHA384 = C_algo.SHA384 = SHA512.extend({
_doReset: function() {
this._hash = new X64WordArray.init([
new X64Word.init(3418070365, 3238371032),
new X64Word.init(1654270250, 914150663),
new X64Word.init(2438529370, 812702999),
new X64Word.init(355462360, 4144912697),
new X64Word.init(1731405415, 4290775857),
new X64Word.init(2394180231, 1750603025),
new X64Word.init(3675008525, 1694076839),
new X64Word.init(1203062813, 3204075428)
]);
},
_doFinalize: function() {
var hash = SHA512._doFinalize.call(this);
hash.sigBytes -= 16;
return hash;
}
});
C.SHA384 = SHA512._createHelper(SHA384);
C.HmacSHA384 = SHA512._createHmacHelper(SHA384);
})();
return CryptoJS.SHA384;
});
})(sha384$1);
return sha384$1.exports;
}
var sha3$1 = { exports: {} };
var sha3 = sha3$1.exports;
var hasRequiredSha3;
function requireSha3() {
if (hasRequiredSha3) return sha3$1.exports;
hasRequiredSha3 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireX64Core());
}
})(sha3, function(CryptoJS) {
(function(Math2) {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var Hasher = C_lib.Hasher;
var C_x64 = C.x64;
var X64Word = C_x64.Word;
var C_algo = C.algo;
var RHO_OFFSETS = [];
var PI_INDEXES = [];
var ROUND_CONSTANTS = [];
(function() {
var x = 1, y = 0;
for (var t = 0; t < 24; t++) {
RHO_OFFSETS[x + 5 * y] = (t + 1) * (t + 2) / 2 % 64;
var newX = y % 5;
var newY = (2 * x + 3 * y) % 5;
x = newX;
y = newY;
}
for (var x = 0; x < 5; x++) {
for (var y = 0; y < 5; y++) {
PI_INDEXES[x + 5 * y] = y + (2 * x + 3 * y) % 5 * 5;
}
}
var LFSR = 1;
for (var i = 0; i < 24; i++) {
var roundConstantMsw = 0;
var roundConstantLsw = 0;
for (var j = 0; j < 7; j++) {
if (LFSR & 1) {
var bitPosition = (1 << j) - 1;
if (bitPosition < 32) {
roundConstantLsw ^= 1 << bitPosition;
} else {
roundConstantMsw ^= 1 << bitPosition - 32;
}
}
if (LFSR & 128) {
LFSR = LFSR << 1 ^ 113;
} else {
LFSR <<= 1;
}
}
ROUND_CONSTANTS[i] = X64Word.create(roundConstantMsw, roundConstantLsw);
}
})();
var T = [];
(function() {
for (var i = 0; i < 25; i++) {
T[i] = X64Word.create();
}
})();
var SHA3 = C_algo.SHA3 = Hasher.extend({
/**
* Configuration options.
*
* @property {number} outputLength
* The desired number of bits in the output hash.
* Only values permitted are: 224, 256, 384, 512.
* Default: 512
*/
cfg: Hasher.cfg.extend({
outputLength: 512
}),
_doReset: function() {
var state = this._state = [];
for (var i = 0; i < 25; i++) {
state[i] = new X64Word.init();
}
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
},
_doProcessBlock: function(M, offset) {
var state = this._state;
var nBlockSizeLanes = this.blockSize / 2;
for (var i = 0; i < nBlockSizeLanes; i++) {
var M2i = M[offset + 2 * i];
var M2i1 = M[offset + 2 * i + 1];
M2i = (M2i << 8 | M2i >>> 24) & 16711935 | (M2i << 24 | M2i >>> 8) & 4278255360;
M2i1 = (M2i1 << 8 | M2i1 >>> 24) & 16711935 | (M2i1 << 24 | M2i1 >>> 8) & 4278255360;
var lane = state[i];
lane.high ^= M2i1;
lane.low ^= M2i;
}
for (var round = 0; round < 24; round++) {
for (var x = 0; x < 5; x++) {
var tMsw = 0, tLsw = 0;
for (var y = 0; y < 5; y++) {
var lane = state[x + 5 * y];
tMsw ^= lane.high;
tLsw ^= lane.low;
}
var Tx = T[x];
Tx.high = tMsw;
Tx.low = tLsw;
}
for (var x = 0; x < 5; x++) {
var Tx4 = T[(x + 4) % 5];
var Tx1 = T[(x + 1) % 5];
var Tx1Msw = Tx1.high;
var Tx1Lsw = Tx1.low;
var tMsw = Tx4.high ^ (Tx1Msw << 1 | Tx1Lsw >>> 31);
var tLsw = Tx4.low ^ (Tx1Lsw << 1 | Tx1Msw >>> 31);
for (var y = 0; y < 5; y++) {
var lane = state[x + 5 * y];
lane.high ^= tMsw;
lane.low ^= tLsw;
}
}
for (var laneIndex = 1; laneIndex < 25; laneIndex++) {
var tMsw;
var tLsw;
var lane = state[laneIndex];
var laneMsw = lane.high;
var laneLsw = lane.low;
var rhoOffset = RHO_OFFSETS[laneIndex];
if (rhoOffset < 32) {
tMsw = laneMsw << rhoOffset | laneLsw >>> 32 - rhoOffset;
tLsw = laneLsw << rhoOffset | laneMsw >>> 32 - rhoOffset;
} else {
tMsw = laneLsw << rhoOffset - 32 | laneMsw >>> 64 - rhoOffset;
tLsw = laneMsw << rhoOffset - 32 | laneLsw >>> 64 - rhoOffset;
}
var TPiLane = T[PI_INDEXES[laneIndex]];
TPiLane.high = tMsw;
TPiLane.low = tLsw;
}
var T0 = T[0];
var state0 = state[0];
T0.high = state0.high;
T0.low = state0.low;
for (var x = 0; x < 5; x++) {
for (var y = 0; y < 5; y++) {
var laneIndex = x + 5 * y;
var lane = state[laneIndex];
var TLane = T[laneIndex];
var Tx1Lane = T[(x + 1) % 5 + 5 * y];
var Tx2Lane = T[(x + 2) % 5 + 5 * y];
lane.high = TLane.high ^ ~Tx1Lane.high & Tx2Lane.high;
lane.low = TLane.low ^ ~Tx1Lane.low & Tx2Lane.low;
}
}
var lane = state[0];
var roundConstant = ROUND_CONSTANTS[round];
lane.high ^= roundConstant.high;
lane.low ^= roundConstant.low;
}
},
_doFinalize: function() {
var data = this._data;
var dataWords = data.words;
this._nDataBytes * 8;
var nBitsLeft = data.sigBytes * 8;
var blockSizeBits = this.blockSize * 32;
dataWords[nBitsLeft >>> 5] |= 1 << 24 - nBitsLeft % 32;
dataWords[(Math2.ceil((nBitsLeft + 1) / blockSizeBits) * blockSizeBits >>> 5) - 1] |= 128;
data.sigBytes = dataWords.length * 4;
this._process();
var state = this._state;
var outputLengthBytes = this.cfg.outputLength / 8;
var outputLengthLanes = outputLengthBytes / 8;
var hashWords = [];
for (var i = 0; i < outputLengthLanes; i++) {
var lane = state[i];
var laneMsw = lane.high;
var laneLsw = lane.low;
laneMsw = (laneMsw << 8 | laneMsw >>> 24) & 16711935 | (laneMsw << 24 | laneMsw >>> 8) & 4278255360;
laneLsw = (laneLsw << 8 | laneLsw >>> 24) & 16711935 | (laneLsw << 24 | laneLsw >>> 8) & 4278255360;
hashWords.push(laneLsw);
hashWords.push(laneMsw);
}
return new WordArray.init(hashWords, outputLengthBytes);
},
clone: function() {
var clone = Hasher.clone.call(this);
var state = clone._state = this._state.slice(0);
for (var i = 0; i < 25; i++) {
state[i] = state[i].clone();
}
return clone;
}
});
C.SHA3 = Hasher._createHelper(SHA3);
C.HmacSHA3 = Hasher._createHmacHelper(SHA3);
})(Math);
return CryptoJS.SHA3;
});
})(sha3$1);
return sha3$1.exports;
}
var ripemd160$1 = { exports: {} };
var ripemd160 = ripemd160$1.exports;
var hasRequiredRipemd160;
function requireRipemd160() {
if (hasRequiredRipemd160) return ripemd160$1.exports;
hasRequiredRipemd160 = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(ripemd160, function(CryptoJS) {
/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
(function(Math2) {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var Hasher = C_lib.Hasher;
var C_algo = C.algo;
var _zl = WordArray.create([
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
7,
4,
13,
1,
10,
6,
15,
3,
12,
0,
9,
5,
2,
14,
11,
8,
3,
10,
14,
4,
9,
15,
8,
1,
2,
7,
0,
6,
13,
11,
5,
12,
1,
9,
11,
10,
0,
8,
12,
4,
13,
3,
7,
15,
14,
5,
6,
2,
4,
0,
5,
9,
7,
12,
2,
10,
14,
1,
3,
8,
11,
6,
15,
13
]);
var _zr = WordArray.create([
5,
14,
7,
0,
9,
2,
11,
4,
13,
6,
15,
8,
1,
10,
3,
12,
6,
11,
3,
7,
0,
13,
5,
10,
14,
15,
8,
12,
4,
9,
1,
2,
15,
5,
1,
3,
7,
14,
6,
9,
11,
8,
12,
2,
10,
0,
4,
13,
8,
6,
4,
1,
3,
11,
15,
0,
5,
12,
2,
13,
9,
7,
10,
14,
12,
15,
10,
4,
1,
5,
8,
7,
6,
2,
13,
14,
0,
3,
9,
11
]);
var _sl = WordArray.create([
11,
14,
15,
12,
5,
8,
7,
9,
11,
13,
14,
15,
6,
7,
9,
8,
7,
6,
8,
13,
11,
9,
7,
15,
7,
12,
15,
9,
11,
7,
13,
12,
11,
13,
6,
7,
14,
9,
13,
15,
14,
8,
13,
6,
5,
12,
7,
5,
11,
12,
14,
15,
14,
15,
9,
8,
9,
14,
5,
6,
8,
6,
5,
12,
9,
15,
5,
11,
6,
8,
13,
12,
5,
12,
13,
14,
11,
8,
5,
6
]);
var _sr = WordArray.create([
8,
9,
9,
11,
13,
15,
15,
5,
7,
7,
8,
11,
14,
14,
12,
6,
9,
13,
15,
7,
12,
8,
9,
11,
7,
7,
12,
7,
6,
15,
13,
11,
9,
7,
15,
11,
8,
6,
6,
14,
12,
13,
5,
14,
13,
13,
7,
5,
15,
5,
8,
11,
14,
14,
6,
14,
6,
9,
12,
9,
12,
5,
15,
8,
8,
5,
12,
9,
12,
5,
14,
6,
8,
13,
6,
5,
15,
13,
11,
11
]);
var _hl = WordArray.create([0, 1518500249, 1859775393, 2400959708, 2840853838]);
var _hr = WordArray.create([1352829926, 1548603684, 1836072691, 2053994217, 0]);
var RIPEMD160 = C_algo.RIPEMD160 = Hasher.extend({
_doReset: function() {
this._hash = WordArray.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
},
_doProcessBlock: function(M, offset) {
for (var i = 0; i < 16; i++) {
var offset_i = offset + i;
var M_offset_i = M[offset_i];
M[offset_i] = (M_offset_i << 8 | M_offset_i >>> 24) & 16711935 | (M_offset_i << 24 | M_offset_i >>> 8) & 4278255360;
}
var H = this._hash.words;
var hl = _hl.words;
var hr = _hr.words;
var zl = _zl.words;
var zr = _zr.words;
var sl = _sl.words;
var sr = _sr.words;
var al, bl, cl, dl, el;
var ar, br, cr, dr, er;
ar = al = H[0];
br = bl = H[1];
cr = cl = H[2];
dr = dl = H[3];
er = el = H[4];
var t;
for (var i = 0; i < 80; i += 1) {
t = al + M[offset + zl[i]] | 0;
if (i < 16) {
t += f1(bl, cl, dl) + hl[0];
} else if (i < 32) {
t += f2(bl, cl, dl) + hl[1];
} else if (i < 48) {
t += f3(bl, cl, dl) + hl[2];
} else if (i < 64) {
t += f4(bl, cl, dl) + hl[3];
} else {
t += f5(bl, cl, dl) + hl[4];
}
t = t | 0;
t = rotl(t, sl[i]);
t = t + el | 0;
al = el;
el = dl;
dl = rotl(cl, 10);
cl = bl;
bl = t;
t = ar + M[offset + zr[i]] | 0;
if (i < 16) {
t += f5(br, cr, dr) + hr[0];
} else if (i < 32) {
t += f4(br, cr, dr) + hr[1];
} else if (i < 48) {
t += f3(br, cr, dr) + hr[2];
} else if (i < 64) {
t += f2(br, cr, dr) + hr[3];
} else {
t += f1(br, cr, dr) + hr[4];
}
t = t | 0;
t = rotl(t, sr[i]);
t = t + er | 0;
ar = er;
er = dr;
dr = rotl(cr, 10);
cr = br;
br = t;
}
t = H[1] + cl + dr | 0;
H[1] = H[2] + dl + er | 0;
H[2] = H[3] + el + ar | 0;
H[3] = H[4] + al + br | 0;
H[4] = H[0] + bl + cr | 0;
H[0] = t;
},
_doFinalize: function() {
var data = this._data;
var dataWords = data.words;
var nBitsTotal = this._nDataBytes * 8;
var nBitsLeft = data.sigBytes * 8;
dataWords[nBitsLeft >>> 5] |= 128 << 24 - nBitsLeft % 32;
dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] = (nBitsTotal << 8 | nBitsTotal >>> 24) & 16711935 | (nBitsTotal << 24 | nBitsTotal >>> 8) & 4278255360;
data.sigBytes = (dataWords.length + 1) * 4;
this._process();
var hash = this._hash;
var H = hash.words;
for (var i = 0; i < 5; i++) {
var H_i = H[i];
H[i] = (H_i << 8 | H_i >>> 24) & 16711935 | (H_i << 24 | H_i >>> 8) & 4278255360;
}
return hash;
},
clone: function() {
var clone = Hasher.clone.call(this);
clone._hash = this._hash.clone();
return clone;
}
});
function f1(x, y, z) {
return x ^ y ^ z;
}
function f2(x, y, z) {
return x & y | ~x & z;
}
function f3(x, y, z) {
return (x | ~y) ^ z;
}
function f4(x, y, z) {
return x & z | y & ~z;
}
function f5(x, y, z) {
return x ^ (y | ~z);
}
function rotl(x, n) {
return x << n | x >>> 32 - n;
}
C.RIPEMD160 = Hasher._createHelper(RIPEMD160);
C.HmacRIPEMD160 = Hasher._createHmacHelper(RIPEMD160);
})();
return CryptoJS.RIPEMD160;
});
})(ripemd160$1);
return ripemd160$1.exports;
}
var hmac$1 = { exports: {} };
var hmac = hmac$1.exports;
var hasRequiredHmac;
function requireHmac() {
if (hasRequiredHmac) return hmac$1.exports;
hasRequiredHmac = 1;
(function(module, exports) {
(function(root, factory) {
{
module.exports = factory(requireCore());
}
})(hmac, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var Base = C_lib.Base;
var C_enc = C.enc;
var Utf8 = C_enc.Utf8;
var C_algo = C.algo;
C_algo.HMAC = Base.extend({
/**
* Initializes a newly created HMAC.
*
* @param {Hasher} hasher The hash algorithm to use.
* @param {WordArray|string} key The secret key.
*
* @example
*
* var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
*/
init: function(hasher, key) {
hasher = this._hasher = new hasher.init();
if (typeof key == "string") {
key = Utf8.parse(key);
}
var hasherBlockSize = hasher.blockSize;
var hasherBlockSizeBytes = hasherBlockSize * 4;
if (key.sigBytes > hasherBlockSizeBytes) {
key = hasher.finalize(key);
}
key.clamp();
var oKey = this._oKey = key.clone();
var iKey = this._iKey = key.clone();
var oKeyWords = oKey.words;
var iKeyWords = iKey.words;
for (var i = 0; i < hasherBlockSize; i++) {
oKeyWords[i] ^= 1549556828;
iKeyWords[i] ^= 909522486;
}
oKey.sigBytes = iKey.sigBytes = hasherBlockSizeBytes;
this.reset();
},
/**
* Resets this HMAC to its initial state.
*
* @example
*
* hmacHasher.reset();
*/
reset: function() {
var hasher = this._hasher;
hasher.reset();
hasher.update(this._iKey);
},
/**
* Updates this HMAC with a message.
*
* @param {WordArray|string} messageUpdate The message to append.
*
* @return {HMAC} This HMAC instance.
*
* @example
*
* hmacHasher.update('message');
* hmacHasher.update(wordArray);
*/
update: function(messageUpdate) {
this._hasher.update(messageUpdate);
return this;
},
/**
* Finalizes the HMAC computation.
* Note that the finalize operation is effectively a destructive, read-once operation.
*
* @param {WordArray|string} messageUpdate (Optional) A final message update.
*
* @return {WordArray} The HMAC.
*
* @example
*
* var hmac = hmacHasher.finalize();
* var hmac = hmacHasher.finalize('message');
* var hmac = hmacHasher.finalize(wordArray);
*/
finalize: function(messageUpdate) {
var hasher = this._hasher;
var innerHash = hasher.finalize(messageUpdate);
hasher.reset();
var hmac2 = hasher.finalize(this._oKey.clone().concat(innerHash));
return hmac2;
}
});
})();
});
})(hmac$1);
return hmac$1.exports;
}
var pbkdf2$1 = { exports: {} };
var pbkdf2 = pbkdf2$1.exports;
var hasRequiredPbkdf2;
function requirePbkdf2() {
if (hasRequiredPbkdf2) return pbkdf2$1.exports;
hasRequiredPbkdf2 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireSha256(), requireHmac());
}
})(pbkdf2, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var Base = C_lib.Base;
var WordArray = C_lib.WordArray;
var C_algo = C.algo;
var SHA256 = C_algo.SHA256;
var HMAC = C_algo.HMAC;
var PBKDF2 = C_algo.PBKDF2 = Base.extend({
/**
* Configuration options.
*
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
* @property {Hasher} hasher The hasher to use. Default: SHA256
* @property {number} iterations The number of iterations to perform. Default: 250000
*/
cfg: Base.extend({
keySize: 128 / 32,
hasher: SHA256,
iterations: 25e4
}),
/**
* Initializes a newly created key derivation function.
*
* @param {Object} cfg (Optional) The configuration options to use for the derivation.
*
* @example
*
* var kdf = CryptoJS.algo.PBKDF2.create();
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
*/
init: function(cfg) {
this.cfg = this.cfg.extend(cfg);
},
/**
* Computes the Password-Based Key Derivation Function 2.
*
* @param {WordArray|string} password The password.
* @param {WordArray|string} salt A salt.
*
* @return {WordArray} The derived key.
*
* @example
*
* var key = kdf.compute(password, salt);
*/
compute: function(password, salt) {
var cfg = this.cfg;
var hmac2 = HMAC.create(cfg.hasher, password);
var derivedKey = WordArray.create();
var blockIndex = WordArray.create([1]);
var derivedKeyWords = derivedKey.words;
var blockIndexWords = blockIndex.words;
var keySize = cfg.keySize;
var iterations = cfg.iterations;
while (derivedKeyWords.length < keySize) {
var block = hmac2.update(salt).finalize(blockIndex);
hmac2.reset();
var blockWords = block.words;
var blockWordsLength = blockWords.length;
var intermediate = block;
for (var i = 1; i < iterations; i++) {
intermediate = hmac2.finalize(intermediate);
hmac2.reset();
var intermediateWords = intermediate.words;
for (var j = 0; j < blockWordsLength; j++) {
blockWords[j] ^= intermediateWords[j];
}
}
derivedKey.concat(block);
blockIndexWords[0]++;
}
derivedKey.sigBytes = keySize * 4;
return derivedKey;
}
});
C.PBKDF2 = function(password, salt, cfg) {
return PBKDF2.create(cfg).compute(password, salt);
};
})();
return CryptoJS.PBKDF2;
});
})(pbkdf2$1);
return pbkdf2$1.exports;
}
var evpkdf$1 = { exports: {} };
var evpkdf = evpkdf$1.exports;
var hasRequiredEvpkdf;
function requireEvpkdf() {
if (hasRequiredEvpkdf) return evpkdf$1.exports;
hasRequiredEvpkdf = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireSha1(), requireHmac());
}
})(evpkdf, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var Base = C_lib.Base;
var WordArray = C_lib.WordArray;
var C_algo = C.algo;
var MD5 = C_algo.MD5;
var EvpKDF = C_algo.EvpKDF = Base.extend({
/**
* Configuration options.
*
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
* @property {Hasher} hasher The hash algorithm to use. Default: MD5
* @property {number} iterations The number of iterations to perform. Default: 1
*/
cfg: Base.extend({
keySize: 128 / 32,
hasher: MD5,
iterations: 1
}),
/**
* Initializes a newly created key derivation function.
*
* @param {Object} cfg (Optional) The configuration options to use for the derivation.
*
* @example
*
* var kdf = CryptoJS.algo.EvpKDF.create();
* var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
* var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
*/
init: function(cfg) {
this.cfg = this.cfg.extend(cfg);
},
/**
* Derives a key from a password.
*
* @param {WordArray|string} password The password.
* @param {WordArray|string} salt A salt.
*
* @return {WordArray} The derived key.
*
* @example
*
* var key = kdf.compute(password, salt);
*/
compute: function(password, salt) {
var block;
var cfg = this.cfg;
var hasher = cfg.hasher.create();
var derivedKey = WordArray.create();
var derivedKeyWords = derivedKey.words;
var keySize = cfg.keySize;
var iterations = cfg.iterations;
while (derivedKeyWords.length < keySize) {
if (block) {
hasher.update(block);
}
block = hasher.update(password).finalize(salt);
hasher.reset();
for (var i = 1; i < iterations; i++) {
block = hasher.finalize(block);
hasher.reset();
}
derivedKey.concat(block);
}
derivedKey.sigBytes = keySize * 4;
return derivedKey;
}
});
C.EvpKDF = function(password, salt, cfg) {
return EvpKDF.create(cfg).compute(password, salt);
};
})();
return CryptoJS.EvpKDF;
});
})(evpkdf$1);
return evpkdf$1.exports;
}
var cipherCore$1 = { exports: {} };
var cipherCore = cipherCore$1.exports;
var hasRequiredCipherCore;
function requireCipherCore() {
if (hasRequiredCipherCore) return cipherCore$1.exports;
hasRequiredCipherCore = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireEvpkdf());
}
})(cipherCore, function(CryptoJS) {
CryptoJS.lib.Cipher || function(undefined$1) {
var C = CryptoJS;
var C_lib = C.lib;
var Base = C_lib.Base;
var WordArray = C_lib.WordArray;
var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm;
var C_enc = C.enc;
C_enc.Utf8;
var Base64 = C_enc.Base64;
var C_algo = C.algo;
var EvpKDF = C_algo.EvpKDF;
var Cipher = C_lib.Cipher = BufferedBlockAlgorithm.extend({
/**
* Configuration options.
*
* @property {WordArray} iv The IV to use for this operation.
*/
cfg: Base.extend(),
/**
* Creates this cipher in encryption mode.
*
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {Cipher} A cipher instance.
*
* @static
*
* @example
*
* var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
*/
createEncryptor: function(key, cfg) {
return this.create(this._ENC_XFORM_MODE, key, cfg);
},
/**
* Creates this cipher in decryption mode.
*
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {Cipher} A cipher instance.
*
* @static
*
* @example
*
* var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
*/
createDecryptor: function(key, cfg) {
return this.create(this._DEC_XFORM_MODE, key, cfg);
},
/**
* Initializes a newly created cipher.
*
* @param {number} xformMode Either the encryption or decryption transormation mode constant.
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @example
*
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
*/
init: function(xformMode, key, cfg) {
this.cfg = this.cfg.extend(cfg);
this._xformMode = xformMode;
this._key = key;
this.reset();
},
/**
* Resets this cipher to its initial state.
*
* @example
*
* cipher.reset();
*/
reset: function() {
BufferedBlockAlgorithm.reset.call(this);
this._doReset();
},
/**
* Adds data to be encrypted or decrypted.
*
* @param {WordArray|string} dataUpdate The data to encrypt or decrypt.
*
* @return {WordArray} The data after processing.
*
* @example
*
* var encrypted = cipher.process('data');
* var encrypted = cipher.process(wordArray);
*/
process: function(dataUpdate) {
this._append(dataUpdate);
return this._process();
},
/**
* Finalizes the encryption or decryption process.
* Note that the finalize operation is effectively a destructive, read-once operation.
*
* @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.
*
* @return {WordArray} The data after final processing.
*
* @example
*
* var encrypted = cipher.finalize();
* var encrypted = cipher.finalize('data');
* var encrypted = cipher.finalize(wordArray);
*/
finalize: function(dataUpdate) {
if (dataUpdate) {
this._append(dataUpdate);
}
var finalProcessedData = this._doFinalize();
return finalProcessedData;
},
keySize: 128 / 32,
ivSize: 128 / 32,
_ENC_XFORM_MODE: 1,
_DEC_XFORM_MODE: 2,
/**
* Creates shortcut functions to a cipher's object interface.
*
* @param {Cipher} cipher The cipher to create a helper for.
*
* @return {Object} An object with encrypt and decrypt shortcut functions.
*
* @static
*
* @example
*
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
*/
_createHelper: /* @__PURE__ */ function() {
function selectCipherStrategy(key) {
if (typeof key == "string") {
return PasswordBasedCipher;
} else {
return SerializableCipher;
}
}
return function(cipher) {
return {
encrypt: function(message, key, cfg) {
return selectCipherStrategy(key).encrypt(cipher, message, key, cfg);
},
decrypt: function(ciphertext, key, cfg) {
return selectCipherStrategy(key).decrypt(cipher, ciphertext, key, cfg);
}
};
};
}()
});
C_lib.StreamCipher = Cipher.extend({
_doFinalize: function() {
var finalProcessedBlocks = this._process(true);
return finalProcessedBlocks;
},
blockSize: 1
});
var C_mode = C.mode = {};
var BlockCipherMode = C_lib.BlockCipherMode = Base.extend({
/**
* Creates this mode for encryption.
*
* @param {Cipher} cipher A block cipher instance.
* @param {Array} iv The IV words.
*
* @static
*
* @example
*
* var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
*/
createEncryptor: function(cipher, iv) {
return this.Encryptor.create(cipher, iv);
},
/**
* Creates this mode for decryption.
*
* @param {Cipher} cipher A block cipher instance.
* @param {Array} iv The IV words.
*
* @static
*
* @example
*
* var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
*/
createDecryptor: function(cipher, iv) {
return this.Decryptor.create(cipher, iv);
},
/**
* Initializes a newly created mode.
*
* @param {Cipher} cipher A block cipher instance.
* @param {Array} iv The IV words.
*
* @example
*
* var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
*/
init: function(cipher, iv) {
this._cipher = cipher;
this._iv = iv;
}
});
var CBC = C_mode.CBC = function() {
var CBC2 = BlockCipherMode.extend();
CBC2.Encryptor = CBC2.extend({
/**
* Processes the data block at offset.
*
* @param {Array} words The data words to operate on.
* @param {number} offset The offset where the block starts.
*
* @example
*
* mode.processBlock(data.words, offset);
*/
processBlock: function(words, offset) {
var cipher = this._cipher;
var blockSize = cipher.blockSize;
xorBlock.call(this, words, offset, blockSize);
cipher.encryptBlock(words, offset);
this._prevBlock = words.slice(offset, offset + blockSize);
}
});
CBC2.Decryptor = CBC2.extend({
/**
* Processes the data block at offset.
*
* @param {Array} words The data words to operate on.
* @param {number} offset The offset where the block starts.
*
* @example
*
* mode.processBlock(data.words, offset);
*/
processBlock: function(words, offset) {
var cipher = this._cipher;
var blockSize = cipher.blockSize;
var thisBlock = words.slice(offset, offset + blockSize);
cipher.decryptBlock(words, offset);
xorBlock.call(this, words, offset, blockSize);
this._prevBlock = thisBlock;
}
});
function xorBlock(words, offset, blockSize) {
var block;
var iv = this._iv;
if (iv) {
block = iv;
this._iv = undefined$1;
} else {
block = this._prevBlock;
}
for (var i = 0; i < blockSize; i++) {
words[offset + i] ^= block[i];
}
}
return CBC2;
}();
var C_pad = C.pad = {};
var Pkcs7 = C_pad.Pkcs7 = {
/**
* Pads data using the algorithm defined in PKCS #5/7.
*
* @param {WordArray} data The data to pad.
* @param {number} blockSize The multiple that the data should be padded to.
*
* @static
*
* @example
*
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
*/
pad: function(data, blockSize) {
var blockSizeBytes = blockSize * 4;
var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;
var paddingWord = nPaddingBytes << 24 | nPaddingBytes << 16 | nPaddingBytes << 8 | nPaddingBytes;
var paddingWords = [];
for (var i = 0; i < nPaddingBytes; i += 4) {
paddingWords.push(paddingWord);
}
var padding = WordArray.create(paddingWords, nPaddingBytes);
data.concat(padding);
},
/**
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
*
* @param {WordArray} data The data to unpad.
*
* @static
*
* @example
*
* CryptoJS.pad.Pkcs7.unpad(wordArray);
*/
unpad: function(data) {
var nPaddingBytes = data.words[data.sigBytes - 1 >>> 2] & 255;
data.sigBytes -= nPaddingBytes;
}
};
C_lib.BlockCipher = Cipher.extend({
/**
* Configuration options.
*
* @property {Mode} mode The block mode to use. Default: CBC
* @property {Padding} padding The padding strategy to use. Default: Pkcs7
*/
cfg: Cipher.cfg.extend({
mode: CBC,
padding: Pkcs7
}),
reset: function() {
var modeCreator;
Cipher.reset.call(this);
var cfg = this.cfg;
var iv = cfg.iv;
var mode = cfg.mode;
if (this._xformMode == this._ENC_XFORM_MODE) {
modeCreator = mode.createEncryptor;
} else {
modeCreator = mode.createDecryptor;
this._minBufferSize = 1;
}
if (this._mode && this._mode.__creator == modeCreator) {
this._mode.init(this, iv && iv.words);
} else {
this._mode = modeCreator.call(mode, this, iv && iv.words);
this._mode.__creator = modeCreator;
}
},
_doProcessBlock: function(words, offset) {
this._mode.processBlock(words, offset);
},
_doFinalize: function() {
var finalProcessedBlocks;
var padding = this.cfg.padding;
if (this._xformMode == this._ENC_XFORM_MODE) {
padding.pad(this._data, this.blockSize);
finalProcessedBlocks = this._process(true);
} else {
finalProcessedBlocks = this._process(true);
padding.unpad(finalProcessedBlocks);
}
return finalProcessedBlocks;
},
blockSize: 128 / 32
});
var CipherParams = C_lib.CipherParams = Base.extend({
/**
* Initializes a newly created cipher params object.
*
* @param {Object} cipherParams An object with any of the possible cipher parameters.
*
* @example
*
* var cipherParams = CryptoJS.lib.CipherParams.create({
* ciphertext: ciphertextWordArray,
* key: keyWordArray,
* iv: ivWordArray,
* salt: saltWordArray,
* algorithm: CryptoJS.algo.AES,
* mode: CryptoJS.mode.CBC,
* padding: CryptoJS.pad.PKCS7,
* blockSize: 4,
* formatter: CryptoJS.format.OpenSSL
* });
*/
init: function(cipherParams) {
this.mixIn(cipherParams);
},
/**
* Converts this cipher params object to a string.
*
* @param {Format} formatter (Optional) The formatting strategy to use.
*
* @return {string} The stringified cipher params.
*
* @throws Error If neither the formatter nor the default formatter is set.
*
* @example
*
* var string = cipherParams + '';
* var string = cipherParams.toString();
* var string = cipherParams.toString(CryptoJS.format.OpenSSL);
*/
toString: function(formatter) {
return (formatter || this.formatter).stringify(this);
}
});
var C_format = C.format = {};
var OpenSSLFormatter = C_format.OpenSSL = {
/**
* Converts a cipher params object to an OpenSSL-compatible string.
*
* @param {CipherParams} cipherParams The cipher params object.
*
* @return {string} The OpenSSL-compatible string.
*
* @static
*
* @example
*
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
*/
stringify: function(cipherParams) {
var wordArray;
var ciphertext = cipherParams.ciphertext;
var salt = cipherParams.salt;
if (salt) {
wordArray = WordArray.create([1398893684, 1701076831]).concat(salt).concat(ciphertext);
} else {
wordArray = ciphertext;
}
return wordArray.toString(Base64);
},
/**
* Converts an OpenSSL-compatible string to a cipher params object.
*
* @param {string} openSSLStr The OpenSSL-compatible string.
*
* @return {CipherParams} The cipher params object.
*
* @static
*
* @example
*
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
*/
parse: function(openSSLStr) {
var salt;
var ciphertext = Base64.parse(openSSLStr);
var ciphertextWords = ciphertext.words;
if (ciphertextWords[0] == 1398893684 && ciphertextWords[1] == 1701076831) {
salt = WordArray.create(ciphertextWords.slice(2, 4));
ciphertextWords.splice(0, 4);
ciphertext.sigBytes -= 16;
}
return CipherParams.create({ ciphertext, salt });
}
};
var SerializableCipher = C_lib.SerializableCipher = Base.extend({
/**
* Configuration options.
*
* @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
*/
cfg: Base.extend({
format: OpenSSLFormatter
}),
/**
* Encrypts a message.
*
* @param {Cipher} cipher The cipher algorithm to use.
* @param {WordArray|string} message The message to encrypt.
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {CipherParams} A cipher params object.
*
* @static
*
* @example
*
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
*/
encrypt: function(cipher, message, key, cfg) {
cfg = this.cfg.extend(cfg);
var encryptor = cipher.createEncryptor(key, cfg);
var ciphertext = encryptor.finalize(message);
var cipherCfg = encryptor.cfg;
return CipherParams.create({
ciphertext,
key,
iv: cipherCfg.iv,
algorithm: cipher,
mode: cipherCfg.mode,
padding: cipherCfg.padding,
blockSize: cipher.blockSize,
formatter: cfg.format
});
},
/**
* Decrypts serialized ciphertext.
*
* @param {Cipher} cipher The cipher algorithm to use.
* @param {CipherParams|string} ciphertext The ciphertext to decrypt.
* @param {WordArray} key The key.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {WordArray} The plaintext.
*
* @static
*
* @example
*
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
*/
decrypt: function(cipher, ciphertext, key, cfg) {
cfg = this.cfg.extend(cfg);
ciphertext = this._parse(ciphertext, cfg.format);
var plaintext = cipher.createDecryptor(key, cfg).finalize(ciphertext.ciphertext);
return plaintext;
},
/**
* Converts serialized ciphertext to CipherParams,
* else assumed CipherParams already and returns ciphertext unchanged.
*
* @param {CipherParams|string} ciphertext The ciphertext.
* @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.
*
* @return {CipherParams} The unserialized ciphertext.
*
* @static
*
* @example
*
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
*/
_parse: function(ciphertext, format) {
if (typeof ciphertext == "string") {
return format.parse(ciphertext, this);
} else {
return ciphertext;
}
}
});
var C_kdf = C.kdf = {};
var OpenSSLKdf = C_kdf.OpenSSL = {
/**
* Derives a key and IV from a password.
*
* @param {string} password The password to derive from.
* @param {number} keySize The size in words of the key to generate.
* @param {number} ivSize The size in words of the IV to generate.
* @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.
*
* @return {CipherParams} A cipher params object with the key, IV, and salt.
*
* @static
*
* @example
*
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
*/
execute: function(password, keySize, ivSize, salt, hasher) {
if (!salt) {
salt = WordArray.random(64 / 8);
}
if (!hasher) {
var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
} else {
var key = EvpKDF.create({ keySize: keySize + ivSize, hasher }).compute(password, salt);
}
var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
key.sigBytes = keySize * 4;
return CipherParams.create({ key, iv, salt });
}
};
var PasswordBasedCipher = C_lib.PasswordBasedCipher = SerializableCipher.extend({
/**
* Configuration options.
*
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
*/
cfg: SerializableCipher.cfg.extend({
kdf: OpenSSLKdf
}),
/**
* Encrypts a message using a password.
*
* @param {Cipher} cipher The cipher algorithm to use.
* @param {WordArray|string} message The message to encrypt.
* @param {string} password The password.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {CipherParams} A cipher params object.
*
* @static
*
* @example
*
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
*/
encrypt: function(cipher, message, password, cfg) {
cfg = this.cfg.extend(cfg);
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, cfg.salt, cfg.hasher);
cfg.iv = derivedParams.iv;
var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
ciphertext.mixIn(derivedParams);
return ciphertext;
},
/**
* Decrypts serialized ciphertext using a password.
*
* @param {Cipher} cipher The cipher algorithm to use.
* @param {CipherParams|string} ciphertext The ciphertext to decrypt.
* @param {string} password The password.
* @param {Object} cfg (Optional) The configuration options to use for this operation.
*
* @return {WordArray} The plaintext.
*
* @static
*
* @example
*
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
*/
decrypt: function(cipher, ciphertext, password, cfg) {
cfg = this.cfg.extend(cfg);
ciphertext = this._parse(ciphertext, cfg.format);
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt, cfg.hasher);
cfg.iv = derivedParams.iv;
var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
return plaintext;
}
});
}();
});
})(cipherCore$1);
return cipherCore$1.exports;
}
var modeCfb$1 = { exports: {} };
var modeCfb = modeCfb$1.exports;
var hasRequiredModeCfb;
function requireModeCfb() {
if (hasRequiredModeCfb) return modeCfb$1.exports;
hasRequiredModeCfb = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(modeCfb, function(CryptoJS) {
CryptoJS.mode.CFB = function() {
var CFB = CryptoJS.lib.BlockCipherMode.extend();
CFB.Encryptor = CFB.extend({
processBlock: function(words, offset) {
var cipher = this._cipher;
var blockSize = cipher.blockSize;
generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);
this._prevBlock = words.slice(offset, offset + blockSize);
}
});
CFB.Decryptor = CFB.extend({
processBlock: function(words, offset) {
var cipher = this._cipher;
var blockSize = cipher.blockSize;
var thisBlock = words.slice(offset, offset + blockSize);
generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);
this._prevBlock = thisBlock;
}
});
function generateKeystreamAndEncrypt(words, offset, blockSize, cipher) {
var keystream;
var iv = this._iv;
if (iv) {
keystream = iv.slice(0);
this._iv = void 0;
} else {
keystream = this._prevBlock;
}
cipher.encryptBlock(keystream, 0);
for (var i = 0; i < blockSize; i++) {
words[offset + i] ^= keystream[i];
}
}
return CFB;
}();
return CryptoJS.mode.CFB;
});
})(modeCfb$1);
return modeCfb$1.exports;
}
var modeCtr$1 = { exports: {} };
var modeCtr = modeCtr$1.exports;
var hasRequiredModeCtr;
function requireModeCtr() {
if (hasRequiredModeCtr) return modeCtr$1.exports;
hasRequiredModeCtr = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(modeCtr, function(CryptoJS) {
CryptoJS.mode.CTR = function() {
var CTR = CryptoJS.lib.BlockCipherMode.extend();
var Encryptor = CTR.Encryptor = CTR.extend({
processBlock: function(words, offset) {
var cipher = this._cipher;
var blockSize = cipher.blockSize;
var iv = this._iv;
var counter = this._counter;
if (iv) {
counter = this._counter = iv.slice(0);
this._iv = void 0;
}
var keystream = counter.slice(0);
cipher.encryptBlock(keystream, 0);
counter[blockSize - 1] = counter[blockSize - 1] + 1 | 0;
for (var i = 0; i < blockSize; i++) {
words[offset + i] ^= keystream[i];
}
}
});
CTR.Decryptor = Encryptor;
return CTR;
}();
return CryptoJS.mode.CTR;
});
})(modeCtr$1);
return modeCtr$1.exports;
}
var modeCtrGladman$1 = { exports: {} };
var modeCtrGladman = modeCtrGladman$1.exports;
var hasRequiredModeCtrGladman;
function requireModeCtrGladman() {
if (hasRequiredModeCtrGladman) return modeCtrGladman$1.exports;
hasRequiredModeCtrGladman = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(modeCtrGladman, function(CryptoJS) {
/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/
CryptoJS.mode.CTRGladman = function() {
var CTRGladman = CryptoJS.lib.BlockCipherMode.extend();
function incWord(word) {
if ((word >> 24 & 255) === 255) {
var b1 = word >> 16 & 255;
var b2 = word >> 8 & 255;
var b3 = word & 255;
if (b1 === 255) {
b1 = 0;
if (b2 === 255) {
b2 = 0;
if (b3 === 255) {
b3 = 0;
} else {
++b3;
}
} else {
++b2;
}
} else {
++b1;
}
word = 0;
word += b1 << 16;
word += b2 << 8;
word += b3;
} else {
word += 1 << 24;
}
return word;
}
function incCounter(counter) {
if ((counter[0] = incWord(counter[0])) === 0) {
counter[1] = incWord(counter[1]);
}
return counter;
}
var Encryptor = CTRGladman.Encryptor = CTRGladman.extend({
processBlock: function(words, offset) {
var cipher = this._cipher;
var blockSize = cipher.blockSize;
var iv = this._iv;
var counter = this._counter;
if (iv) {
counter = this._counter = iv.slice(0);
this._iv = void 0;
}
incCounter(counter);
var keystream = counter.slice(0);
cipher.encryptBlock(keystream, 0);
for (var i = 0; i < blockSize; i++) {
words[offset + i] ^= keystream[i];
}
}
});
CTRGladman.Decryptor = Encryptor;
return CTRGladman;
}();
return CryptoJS.mode.CTRGladman;
});
})(modeCtrGladman$1);
return modeCtrGladman$1.exports;
}
var modeOfb$1 = { exports: {} };
var modeOfb = modeOfb$1.exports;
var hasRequiredModeOfb;
function requireModeOfb() {
if (hasRequiredModeOfb) return modeOfb$1.exports;
hasRequiredModeOfb = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(modeOfb, function(CryptoJS) {
CryptoJS.mode.OFB = function() {
var OFB = CryptoJS.lib.BlockCipherMode.extend();
var Encryptor = OFB.Encryptor = OFB.extend({
processBlock: function(words, offset) {
var cipher = this._cipher;
var blockSize = cipher.blockSize;
var iv = this._iv;
var keystream = this._keystream;
if (iv) {
keystream = this._keystream = iv.slice(0);
this._iv = void 0;
}
cipher.encryptBlock(keystream, 0);
for (var i = 0; i < blockSize; i++) {
words[offset + i] ^= keystream[i];
}
}
});
OFB.Decryptor = Encryptor;
return OFB;
}();
return CryptoJS.mode.OFB;
});
})(modeOfb$1);
return modeOfb$1.exports;
}
var modeEcb$1 = { exports: {} };
var modeEcb = modeEcb$1.exports;
var hasRequiredModeEcb;
function requireModeEcb() {
if (hasRequiredModeEcb) return modeEcb$1.exports;
hasRequiredModeEcb = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(modeEcb, function(CryptoJS) {
CryptoJS.mode.ECB = function() {
var ECB = CryptoJS.lib.BlockCipherMode.extend();
ECB.Encryptor = ECB.extend({
processBlock: function(words, offset) {
this._cipher.encryptBlock(words, offset);
}
});
ECB.Decryptor = ECB.extend({
processBlock: function(words, offset) {
this._cipher.decryptBlock(words, offset);
}
});
return ECB;
}();
return CryptoJS.mode.ECB;
});
})(modeEcb$1);
return modeEcb$1.exports;
}
var padAnsix923$1 = { exports: {} };
var padAnsix923 = padAnsix923$1.exports;
var hasRequiredPadAnsix923;
function requirePadAnsix923() {
if (hasRequiredPadAnsix923) return padAnsix923$1.exports;
hasRequiredPadAnsix923 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(padAnsix923, function(CryptoJS) {
CryptoJS.pad.AnsiX923 = {
pad: function(data, blockSize) {
var dataSigBytes = data.sigBytes;
var blockSizeBytes = blockSize * 4;
var nPaddingBytes = blockSizeBytes - dataSigBytes % blockSizeBytes;
var lastBytePos = dataSigBytes + nPaddingBytes - 1;
data.clamp();
data.words[lastBytePos >>> 2] |= nPaddingBytes << 24 - lastBytePos % 4 * 8;
data.sigBytes += nPaddingBytes;
},
unpad: function(data) {
var nPaddingBytes = data.words[data.sigBytes - 1 >>> 2] & 255;
data.sigBytes -= nPaddingBytes;
}
};
return CryptoJS.pad.Ansix923;
});
})(padAnsix923$1);
return padAnsix923$1.exports;
}
var padIso10126$1 = { exports: {} };
var padIso10126 = padIso10126$1.exports;
var hasRequiredPadIso10126;
function requirePadIso10126() {
if (hasRequiredPadIso10126) return padIso10126$1.exports;
hasRequiredPadIso10126 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(padIso10126, function(CryptoJS) {
CryptoJS.pad.Iso10126 = {
pad: function(data, blockSize) {
var blockSizeBytes = blockSize * 4;
var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;
data.concat(CryptoJS.lib.WordArray.random(nPaddingBytes - 1)).concat(CryptoJS.lib.WordArray.create([nPaddingBytes << 24], 1));
},
unpad: function(data) {
var nPaddingBytes = data.words[data.sigBytes - 1 >>> 2] & 255;
data.sigBytes -= nPaddingBytes;
}
};
return CryptoJS.pad.Iso10126;
});
})(padIso10126$1);
return padIso10126$1.exports;
}
var padIso97971$1 = { exports: {} };
var padIso97971 = padIso97971$1.exports;
var hasRequiredPadIso97971;
function requirePadIso97971() {
if (hasRequiredPadIso97971) return padIso97971$1.exports;
hasRequiredPadIso97971 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(padIso97971, function(CryptoJS) {
CryptoJS.pad.Iso97971 = {
pad: function(data, blockSize) {
data.concat(CryptoJS.lib.WordArray.create([2147483648], 1));
CryptoJS.pad.ZeroPadding.pad(data, blockSize);
},
unpad: function(data) {
CryptoJS.pad.ZeroPadding.unpad(data);
data.sigBytes--;
}
};
return CryptoJS.pad.Iso97971;
});
})(padIso97971$1);
return padIso97971$1.exports;
}
var padZeropadding$1 = { exports: {} };
var padZeropadding = padZeropadding$1.exports;
var hasRequiredPadZeropadding;
function requirePadZeropadding() {
if (hasRequiredPadZeropadding) return padZeropadding$1.exports;
hasRequiredPadZeropadding = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(padZeropadding, function(CryptoJS) {
CryptoJS.pad.ZeroPadding = {
pad: function(data, blockSize) {
var blockSizeBytes = blockSize * 4;
data.clamp();
data.sigBytes += blockSizeBytes - (data.sigBytes % blockSizeBytes || blockSizeBytes);
},
unpad: function(data) {
var dataWords = data.words;
var i = data.sigBytes - 1;
for (var i = data.sigBytes - 1; i >= 0; i--) {
if (dataWords[i >>> 2] >>> 24 - i % 4 * 8 & 255) {
data.sigBytes = i + 1;
break;
}
}
}
};
return CryptoJS.pad.ZeroPadding;
});
})(padZeropadding$1);
return padZeropadding$1.exports;
}
var padNopadding$1 = { exports: {} };
var padNopadding = padNopadding$1.exports;
var hasRequiredPadNopadding;
function requirePadNopadding() {
if (hasRequiredPadNopadding) return padNopadding$1.exports;
hasRequiredPadNopadding = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(padNopadding, function(CryptoJS) {
CryptoJS.pad.NoPadding = {
pad: function() {
},
unpad: function() {
}
};
return CryptoJS.pad.NoPadding;
});
})(padNopadding$1);
return padNopadding$1.exports;
}
var formatHex$1 = { exports: {} };
var formatHex = formatHex$1.exports;
var hasRequiredFormatHex;
function requireFormatHex() {
if (hasRequiredFormatHex) return formatHex$1.exports;
hasRequiredFormatHex = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireCipherCore());
}
})(formatHex, function(CryptoJS) {
(function(undefined$1) {
var C = CryptoJS;
var C_lib = C.lib;
var CipherParams = C_lib.CipherParams;
var C_enc = C.enc;
var Hex = C_enc.Hex;
var C_format = C.format;
C_format.Hex = {
/**
* Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
*
* @param {CipherParams} cipherParams The cipher params object.
*
* @return {string} The hexadecimally encoded string.
*
* @static
*
* @example
*
* var hexString = CryptoJS.format.Hex.stringify(cipherParams);
*/
stringify: function(cipherParams) {
return cipherParams.ciphertext.toString(Hex);
},
/**
* Converts a hexadecimally encoded ciphertext string to a cipher params object.
*
* @param {string} input The hexadecimally encoded string.
*
* @return {CipherParams} The cipher params object.
*
* @static
*
* @example
*
* var cipherParams = CryptoJS.format.Hex.parse(hexString);
*/
parse: function(input) {
var ciphertext = Hex.parse(input);
return CipherParams.create({ ciphertext });
}
};
})();
return CryptoJS.format.Hex;
});
})(formatHex$1);
return formatHex$1.exports;
}
var aes$1 = { exports: {} };
var aes = aes$1.exports;
var hasRequiredAes;
function requireAes() {
if (hasRequiredAes) return aes$1.exports;
hasRequiredAes = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
}
})(aes, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var BlockCipher = C_lib.BlockCipher;
var C_algo = C.algo;
var SBOX = [];
var INV_SBOX = [];
var SUB_MIX_0 = [];
var SUB_MIX_1 = [];
var SUB_MIX_2 = [];
var SUB_MIX_3 = [];
var INV_SUB_MIX_0 = [];
var INV_SUB_MIX_1 = [];
var INV_SUB_MIX_2 = [];
var INV_SUB_MIX_3 = [];
(function() {
var d = [];
for (var i = 0; i < 256; i++) {
if (i < 128) {
d[i] = i << 1;
} else {
d[i] = i << 1 ^ 283;
}
}
var x = 0;
var xi = 0;
for (var i = 0; i < 256; i++) {
var sx = xi ^ xi << 1 ^ xi << 2 ^ xi << 3 ^ xi << 4;
sx = sx >>> 8 ^ sx & 255 ^ 99;
SBOX[x] = sx;
INV_SBOX[sx] = x;
var x2 = d[x];
var x4 = d[x2];
var x8 = d[x4];
var t = d[sx] * 257 ^ sx * 16843008;
SUB_MIX_0[x] = t << 24 | t >>> 8;
SUB_MIX_1[x] = t << 16 | t >>> 16;
SUB_MIX_2[x] = t << 8 | t >>> 24;
SUB_MIX_3[x] = t;
var t = x8 * 16843009 ^ x4 * 65537 ^ x2 * 257 ^ x * 16843008;
INV_SUB_MIX_0[sx] = t << 24 | t >>> 8;
INV_SUB_MIX_1[sx] = t << 16 | t >>> 16;
INV_SUB_MIX_2[sx] = t << 8 | t >>> 24;
INV_SUB_MIX_3[sx] = t;
if (!x) {
x = xi = 1;
} else {
x = x2 ^ d[d[d[x8 ^ x2]]];
xi ^= d[d[xi]];
}
}
})();
var RCON = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54];
var AES = C_algo.AES = BlockCipher.extend({
_doReset: function() {
var t;
if (this._nRounds && this._keyPriorReset === this._key) {
return;
}
var key = this._keyPriorReset = this._key;
var keyWords = key.words;
var keySize = key.sigBytes / 4;
var nRounds = this._nRounds = keySize + 6;
var ksRows = (nRounds + 1) * 4;
var keySchedule = this._keySchedule = [];
for (var ksRow = 0; ksRow < ksRows; ksRow++) {
if (ksRow < keySize) {
keySchedule[ksRow] = keyWords[ksRow];
} else {
t = keySchedule[ksRow - 1];
if (!(ksRow % keySize)) {
t = t << 8 | t >>> 24;
t = SBOX[t >>> 24] << 24 | SBOX[t >>> 16 & 255] << 16 | SBOX[t >>> 8 & 255] << 8 | SBOX[t & 255];
t ^= RCON[ksRow / keySize | 0] << 24;
} else if (keySize > 6 && ksRow % keySize == 4) {
t = SBOX[t >>> 24] << 24 | SBOX[t >>> 16 & 255] << 16 | SBOX[t >>> 8 & 255] << 8 | SBOX[t & 255];
}
keySchedule[ksRow] = keySchedule[ksRow - keySize] ^ t;
}
}
var invKeySchedule = this._invKeySchedule = [];
for (var invKsRow = 0; invKsRow < ksRows; invKsRow++) {
var ksRow = ksRows - invKsRow;
if (invKsRow % 4) {
var t = keySchedule[ksRow];
} else {
var t = keySchedule[ksRow - 4];
}
if (invKsRow < 4 || ksRow <= 4) {
invKeySchedule[invKsRow] = t;
} else {
invKeySchedule[invKsRow] = INV_SUB_MIX_0[SBOX[t >>> 24]] ^ INV_SUB_MIX_1[SBOX[t >>> 16 & 255]] ^ INV_SUB_MIX_2[SBOX[t >>> 8 & 255]] ^ INV_SUB_MIX_3[SBOX[t & 255]];
}
}
},
encryptBlock: function(M, offset) {
this._doCryptBlock(M, offset, this._keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX);
},
decryptBlock: function(M, offset) {
var t = M[offset + 1];
M[offset + 1] = M[offset + 3];
M[offset + 3] = t;
this._doCryptBlock(M, offset, this._invKeySchedule, INV_SUB_MIX_0, INV_SUB_MIX_1, INV_SUB_MIX_2, INV_SUB_MIX_3, INV_SBOX);
var t = M[offset + 1];
M[offset + 1] = M[offset + 3];
M[offset + 3] = t;
},
_doCryptBlock: function(M, offset, keySchedule, SUB_MIX_02, SUB_MIX_12, SUB_MIX_22, SUB_MIX_32, SBOX2) {
var nRounds = this._nRounds;
var s0 = M[offset] ^ keySchedule[0];
var s1 = M[offset + 1] ^ keySchedule[1];
var s2 = M[offset + 2] ^ keySchedule[2];
var s3 = M[offset + 3] ^ keySchedule[3];
var ksRow = 4;
for (var round = 1; round < nRounds; round++) {
var t0 = SUB_MIX_02[s0 >>> 24] ^ SUB_MIX_12[s1 >>> 16 & 255] ^ SUB_MIX_22[s2 >>> 8 & 255] ^ SUB_MIX_32[s3 & 255] ^ keySchedule[ksRow++];
var t1 = SUB_MIX_02[s1 >>> 24] ^ SUB_MIX_12[s2 >>> 16 & 255] ^ SUB_MIX_22[s3 >>> 8 & 255] ^ SUB_MIX_32[s0 & 255] ^ keySchedule[ksRow++];
var t2 = SUB_MIX_02[s2 >>> 24] ^ SUB_MIX_12[s3 >>> 16 & 255] ^ SUB_MIX_22[s0 >>> 8 & 255] ^ SUB_MIX_32[s1 & 255] ^ keySchedule[ksRow++];
var t3 = SUB_MIX_02[s3 >>> 24] ^ SUB_MIX_12[s0 >>> 16 & 255] ^ SUB_MIX_22[s1 >>> 8 & 255] ^ SUB_MIX_32[s2 & 255] ^ keySchedule[ksRow++];
s0 = t0;
s1 = t1;
s2 = t2;
s3 = t3;
}
var t0 = (SBOX2[s0 >>> 24] << 24 | SBOX2[s1 >>> 16 & 255] << 16 | SBOX2[s2 >>> 8 & 255] << 8 | SBOX2[s3 & 255]) ^ keySchedule[ksRow++];
var t1 = (SBOX2[s1 >>> 24] << 24 | SBOX2[s2 >>> 16 & 255] << 16 | SBOX2[s3 >>> 8 & 255] << 8 | SBOX2[s0 & 255]) ^ keySchedule[ksRow++];
var t2 = (SBOX2[s2 >>> 24] << 24 | SBOX2[s3 >>> 16 & 255] << 16 | SBOX2[s0 >>> 8 & 255] << 8 | SBOX2[s1 & 255]) ^ keySchedule[ksRow++];
var t3 = (SBOX2[s3 >>> 24] << 24 | SBOX2[s0 >>> 16 & 255] << 16 | SBOX2[s1 >>> 8 & 255] << 8 | SBOX2[s2 & 255]) ^ keySchedule[ksRow++];
M[offset] = t0;
M[offset + 1] = t1;
M[offset + 2] = t2;
M[offset + 3] = t3;
},
keySize: 256 / 32
});
C.AES = BlockCipher._createHelper(AES);
})();
return CryptoJS.AES;
});
})(aes$1);
return aes$1.exports;
}
var tripledes$1 = { exports: {} };
var tripledes = tripledes$1.exports;
var hasRequiredTripledes;
function requireTripledes() {
if (hasRequiredTripledes) return tripledes$1.exports;
hasRequiredTripledes = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
}
})(tripledes, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var WordArray = C_lib.WordArray;
var BlockCipher = C_lib.BlockCipher;
var C_algo = C.algo;
var PC1 = [
57,
49,
41,
33,
25,
17,
9,
1,
58,
50,
42,
34,
26,
18,
10,
2,
59,
51,
43,
35,
27,
19,
11,
3,
60,
52,
44,
36,
63,
55,
47,
39,
31,
23,
15,
7,
62,
54,
46,
38,
30,
22,
14,
6,
61,
53,
45,
37,
29,
21,
13,
5,
28,
20,
12,
4
];
var PC2 = [
14,
17,
11,
24,
1,
5,
3,
28,
15,
6,
21,
10,
23,
19,
12,
4,
26,
8,
16,
7,
27,
20,
13,
2,
41,
52,
31,
37,
47,
55,
30,
40,
51,
45,
33,
48,
44,
49,
39,
56,
34,
53,
46,
42,
50,
36,
29,
32
];
var BIT_SHIFTS = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28];
var SBOX_P = [
{
0: 8421888,
268435456: 32768,
536870912: 8421378,
805306368: 2,
1073741824: 512,
1342177280: 8421890,
1610612736: 8389122,
1879048192: 8388608,
2147483648: 514,
2415919104: 8389120,
2684354560: 33280,
2952790016: 8421376,
3221225472: 32770,
3489660928: 8388610,
3758096384: 0,
4026531840: 33282,
134217728: 0,
402653184: 8421890,
671088640: 33282,
939524096: 32768,
1207959552: 8421888,
1476395008: 512,
1744830464: 8421378,
2013265920: 2,
2281701376: 8389120,
2550136832: 33280,
2818572288: 8421376,
3087007744: 8389122,
3355443200: 8388610,
3623878656: 32770,
3892314112: 514,
4160749568: 8388608,
1: 32768,
268435457: 2,
536870913: 8421888,
805306369: 8388608,
1073741825: 8421378,
1342177281: 33280,
1610612737: 512,
1879048193: 8389122,
2147483649: 8421890,
2415919105: 8421376,
2684354561: 8388610,
2952790017: 33282,
3221225473: 514,
3489660929: 8389120,
3758096385: 32770,
4026531841: 0,
134217729: 8421890,
402653185: 8421376,
671088641: 8388608,
939524097: 512,
1207959553: 32768,
1476395009: 8388610,
1744830465: 2,
2013265921: 33282,
2281701377: 32770,
2550136833: 8389122,
2818572289: 514,
3087007745: 8421888,
3355443201: 8389120,
3623878657: 0,
3892314113: 33280,
4160749569: 8421378
},
{
0: 1074282512,
16777216: 16384,
33554432: 524288,
50331648: 1074266128,
67108864: 1073741840,
83886080: 1074282496,
100663296: 1073758208,
117440512: 16,
134217728: 540672,
150994944: 1073758224,
167772160: 1073741824,
184549376: 540688,
201326592: 524304,
218103808: 0,
234881024: 16400,
251658240: 1074266112,
8388608: 1073758208,
25165824: 540688,
41943040: 16,
58720256: 1073758224,
75497472: 1074282512,
92274688: 1073741824,
109051904: 524288,
125829120: 1074266128,
142606336: 524304,
159383552: 0,
176160768: 16384,
192937984: 1074266112,
209715200: 1073741840,
226492416: 540672,
243269632: 1074282496,
260046848: 16400,
268435456: 0,
285212672: 1074266128,
301989888: 1073758224,
318767104: 1074282496,
335544320: 1074266112,
352321536: 16,
369098752: 540688,
385875968: 16384,
402653184: 16400,
419430400: 524288,
436207616: 524304,
452984832: 1073741840,
469762048: 540672,
486539264: 1073758208,
503316480: 1073741824,
520093696: 1074282512,
276824064: 540688,
293601280: 524288,
310378496: 1074266112,
327155712: 16384,
343932928: 1073758208,
360710144: 1074282512,
377487360: 16,
394264576: 1073741824,
411041792: 1074282496,
427819008: 1073741840,
444596224: 1073758224,
461373440: 524304,
478150656: 0,
494927872: 16400,
511705088: 1074266128,
528482304: 540672
},
{
0: 260,
1048576: 0,
2097152: 67109120,
3145728: 65796,
4194304: 65540,
5242880: 67108868,
6291456: 67174660,
7340032: 67174400,
8388608: 67108864,
9437184: 67174656,
10485760: 65792,
11534336: 67174404,
12582912: 67109124,
13631488: 65536,
14680064: 4,
15728640: 256,
524288: 67174656,
1572864: 67174404,
2621440: 0,
3670016: 67109120,
4718592: 67108868,
5767168: 65536,
6815744: 65540,
7864320: 260,
8912896: 4,
9961472: 256,
11010048: 67174400,
12058624: 65796,
13107200: 65792,
14155776: 67109124,
15204352: 67174660,
16252928: 67108864,
16777216: 67174656,
17825792: 65540,
18874368: 65536,
19922944: 67109120,
20971520: 256,
22020096: 67174660,
23068672: 67108868,
24117248: 0,
25165824: 67109124,
26214400: 67108864,
27262976: 4,
28311552: 65792,
29360128: 67174400,
30408704: 260,
31457280: 65796,
32505856: 67174404,
17301504: 67108864,
18350080: 260,
19398656: 67174656,
20447232: 0,
21495808: 65540,
22544384: 67109120,
23592960: 256,
24641536: 67174404,
25690112: 65536,
26738688: 67174660,
27787264: 65796,
28835840: 67108868,
29884416: 67109124,
30932992: 67174400,
31981568: 4,
33030144: 65792
},
{
0: 2151682048,
65536: 2147487808,
131072: 4198464,
196608: 2151677952,
262144: 0,
327680: 4198400,
393216: 2147483712,
458752: 4194368,
524288: 2147483648,
589824: 4194304,
655360: 64,
720896: 2147487744,
786432: 2151678016,
851968: 4160,
917504: 4096,
983040: 2151682112,
32768: 2147487808,
98304: 64,
163840: 2151678016,
229376: 2147487744,
294912: 4198400,
360448: 2151682112,
425984: 0,
491520: 2151677952,
557056: 4096,
622592: 2151682048,
688128: 4194304,
753664: 4160,
819200: 2147483648,
884736: 4194368,
950272: 4198464,
1015808: 2147483712,
1048576: 4194368,
1114112: 4198400,
1179648: 2147483712,
1245184: 0,
1310720: 4160,
1376256: 2151678016,
1441792: 2151682048,
1507328: 2147487808,
1572864: 2151682112,
1638400: 2147483648,
1703936: 2151677952,
1769472: 4198464,
1835008: 2147487744,
1900544: 4194304,
1966080: 64,
2031616: 4096,
1081344: 2151677952,
1146880: 2151682112,
1212416: 0,
1277952: 4198400,
1343488: 4194368,
1409024: 2147483648,
1474560: 2147487808,
1540096: 64,
1605632: 2147483712,
1671168: 4096,
1736704: 2147487744,
1802240: 2151678016,
1867776: 4160,
1933312: 2151682048,
1998848: 4194304,
2064384: 4198464
},
{
0: 128,
4096: 17039360,
8192: 262144,
12288: 536870912,
16384: 537133184,
20480: 16777344,
24576: 553648256,
28672: 262272,
32768: 16777216,
36864: 537133056,
40960: 536871040,
45056: 553910400,
49152: 553910272,
53248: 0,
57344: 17039488,
61440: 553648128,
2048: 17039488,
6144: 553648256,
10240: 128,
14336: 17039360,
18432: 262144,
22528: 537133184,
26624: 553910272,
30720: 536870912,
34816: 537133056,
38912: 0,
43008: 553910400,
47104: 16777344,
51200: 536871040,
55296: 553648128,
59392: 16777216,
63488: 262272,
65536: 262144,
69632: 128,
73728: 536870912,
77824: 553648256,
81920: 16777344,
86016: 553910272,
90112: 537133184,
94208: 16777216,
98304: 553910400,
102400: 553648128,
106496: 17039360,
110592: 537133056,
114688: 262272,
118784: 536871040,
122880: 0,
126976: 17039488,
67584: 553648256,
71680: 16777216,
75776: 17039360,
79872: 537133184,
83968: 536870912,
88064: 17039488,
92160: 128,
96256: 553910272,
100352: 262272,
104448: 553910400,
108544: 0,
112640: 553648128,
116736: 16777344,
120832: 262144,
124928: 537133056,
129024: 536871040
},
{
0: 268435464,
256: 8192,
512: 270532608,
768: 270540808,
1024: 268443648,
1280: 2097152,
1536: 2097160,
1792: 268435456,
2048: 0,
2304: 268443656,
2560: 2105344,
2816: 8,
3072: 270532616,
3328: 2105352,
3584: 8200,
3840: 270540800,
128: 270532608,
384: 270540808,
640: 8,
896: 2097152,
1152: 2105352,
1408: 268435464,
1664: 268443648,
1920: 8200,
2176: 2097160,
2432: 8192,
2688: 268443656,
2944: 270532616,
3200: 0,
3456: 270540800,
3712: 2105344,
3968: 268435456,
4096: 268443648,
4352: 270532616,
4608: 270540808,
4864: 8200,
5120: 2097152,
5376: 268435456,
5632: 268435464,
5888: 2105344,
6144: 2105352,
6400: 0,
6656: 8,
6912: 270532608,
7168: 8192,
7424: 268443656,
7680: 270540800,
7936: 2097160,
4224: 8,
4480: 2105344,
4736: 2097152,
4992: 268435464,
5248: 268443648,
5504: 8200,
5760: 270540808,
6016: 270532608,
6272: 270540800,
6528: 270532616,
6784: 8192,
7040: 2105352,
7296: 2097160,
7552: 0,
7808: 268435456,
8064: 268443656
},
{
0: 1048576,
16: 33555457,
32: 1024,
48: 1049601,
64: 34604033,
80: 0,
96: 1,
112: 34603009,
128: 33555456,
144: 1048577,
160: 33554433,
176: 34604032,
192: 34603008,
208: 1025,
224: 1049600,
240: 33554432,
8: 34603009,
24: 0,
40: 33555457,
56: 34604032,
72: 1048576,
88: 33554433,
104: 33554432,
120: 1025,
136: 1049601,
152: 33555456,
168: 34603008,
184: 1048577,
200: 1024,
216: 34604033,
232: 1,
248: 1049600,
256: 33554432,
272: 1048576,
288: 33555457,
304: 34603009,
320: 1048577,
336: 33555456,
352: 34604032,
368: 1049601,
384: 1025,
400: 34604033,
416: 1049600,
432: 1,
448: 0,
464: 34603008,
480: 33554433,
496: 1024,
264: 1049600,
280: 33555457,
296: 34603009,
312: 1,
328: 33554432,
344: 1048576,
360: 1025,
376: 34604032,
392: 33554433,
408: 34603008,
424: 0,
440: 34604033,
456: 1049601,
472: 1024,
488: 33555456,
504: 1048577
},
{
0: 134219808,
1: 131072,
2: 134217728,
3: 32,
4: 131104,
5: 134350880,
6: 134350848,
7: 2048,
8: 134348800,
9: 134219776,
10: 133120,
11: 134348832,
12: 2080,
13: 0,
14: 134217760,
15: 133152,
2147483648: 2048,
2147483649: 134350880,
2147483650: 134219808,
2147483651: 134217728,
2147483652: 134348800,
2147483653: 133120,
2147483654: 133152,
2147483655: 32,
2147483656: 134217760,
2147483657: 2080,
2147483658: 131104,
2147483659: 134350848,
2147483660: 0,
2147483661: 134348832,
2147483662: 134219776,
2147483663: 131072,
16: 133152,
17: 134350848,
18: 32,
19: 2048,
20: 134219776,
21: 134217760,
22: 134348832,
23: 131072,
24: 0,
25: 131104,
26: 134348800,
27: 134219808,
28: 134350880,
29: 133120,
30: 2080,
31: 134217728,
2147483664: 131072,
2147483665: 2048,
2147483666: 134348832,
2147483667: 133152,
2147483668: 32,
2147483669: 134348800,
2147483670: 134217728,
2147483671: 134219808,
2147483672: 134350880,
2147483673: 134217760,
2147483674: 134219776,
2147483675: 0,
2147483676: 133120,
2147483677: 2080,
2147483678: 131104,
2147483679: 134350848
}
];
var SBOX_MASK = [
4160749569,
528482304,
33030144,
2064384,
129024,
8064,
504,
2147483679
];
var DES = C_algo.DES = BlockCipher.extend({
_doReset: function() {
var key = this._key;
var keyWords = key.words;
var keyBits = [];
for (var i = 0; i < 56; i++) {
var keyBitPos = PC1[i] - 1;
keyBits[i] = keyWords[keyBitPos >>> 5] >>> 31 - keyBitPos % 32 & 1;
}
var subKeys = this._subKeys = [];
for (var nSubKey = 0; nSubKey < 16; nSubKey++) {
var subKey = subKeys[nSubKey] = [];
var bitShift = BIT_SHIFTS[nSubKey];
for (var i = 0; i < 24; i++) {
subKey[i / 6 | 0] |= keyBits[(PC2[i] - 1 + bitShift) % 28] << 31 - i % 6;
subKey[4 + (i / 6 | 0)] |= keyBits[28 + (PC2[i + 24] - 1 + bitShift) % 28] << 31 - i % 6;
}
subKey[0] = subKey[0] << 1 | subKey[0] >>> 31;
for (var i = 1; i < 7; i++) {
subKey[i] = subKey[i] >>> (i - 1) * 4 + 3;
}
subKey[7] = subKey[7] << 5 | subKey[7] >>> 27;
}
var invSubKeys = this._invSubKeys = [];
for (var i = 0; i < 16; i++) {
invSubKeys[i] = subKeys[15 - i];
}
},
encryptBlock: function(M, offset) {
this._doCryptBlock(M, offset, this._subKeys);
},
decryptBlock: function(M, offset) {
this._doCryptBlock(M, offset, this._invSubKeys);
},
_doCryptBlock: function(M, offset, subKeys) {
this._lBlock = M[offset];
this._rBlock = M[offset + 1];
exchangeLR.call(this, 4, 252645135);
exchangeLR.call(this, 16, 65535);
exchangeRL.call(this, 2, 858993459);
exchangeRL.call(this, 8, 16711935);
exchangeLR.call(this, 1, 1431655765);
for (var round = 0; round < 16; round++) {
var subKey = subKeys[round];
var lBlock = this._lBlock;
var rBlock = this._rBlock;
var f = 0;
for (var i = 0; i < 8; i++) {
f |= SBOX_P[i][((rBlock ^ subKey[i]) & SBOX_MASK[i]) >>> 0];
}
this._lBlock = rBlock;
this._rBlock = lBlock ^ f;
}
var t = this._lBlock;
this._lBlock = this._rBlock;
this._rBlock = t;
exchangeLR.call(this, 1, 1431655765);
exchangeRL.call(this, 8, 16711935);
exchangeRL.call(this, 2, 858993459);
exchangeLR.call(this, 16, 65535);
exchangeLR.call(this, 4, 252645135);
M[offset] = this._lBlock;
M[offset + 1] = this._rBlock;
},
keySize: 64 / 32,
ivSize: 64 / 32,
blockSize: 64 / 32
});
function exchangeLR(offset, mask) {
var t = (this._lBlock >>> offset ^ this._rBlock) & mask;
this._rBlock ^= t;
this._lBlock ^= t << offset;
}
function exchangeRL(offset, mask) {
var t = (this._rBlock >>> offset ^ this._lBlock) & mask;
this._lBlock ^= t;
this._rBlock ^= t << offset;
}
C.DES = BlockCipher._createHelper(DES);
var TripleDES = C_algo.TripleDES = BlockCipher.extend({
_doReset: function() {
var key = this._key;
var keyWords = key.words;
if (keyWords.length !== 2 && keyWords.length !== 4 && keyWords.length < 6) {
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
}
var key1 = keyWords.slice(0, 2);
var key2 = keyWords.length < 4 ? keyWords.slice(0, 2) : keyWords.slice(2, 4);
var key3 = keyWords.length < 6 ? keyWords.slice(0, 2) : keyWords.slice(4, 6);
this._des1 = DES.createEncryptor(WordArray.create(key1));
this._des2 = DES.createEncryptor(WordArray.create(key2));
this._des3 = DES.createEncryptor(WordArray.create(key3));
},
encryptBlock: function(M, offset) {
this._des1.encryptBlock(M, offset);
this._des2.decryptBlock(M, offset);
this._des3.encryptBlock(M, offset);
},
decryptBlock: function(M, offset) {
this._des3.decryptBlock(M, offset);
this._des2.encryptBlock(M, offset);
this._des1.decryptBlock(M, offset);
},
keySize: 192 / 32,
ivSize: 64 / 32,
blockSize: 64 / 32
});
C.TripleDES = BlockCipher._createHelper(TripleDES);
})();
return CryptoJS.TripleDES;
});
})(tripledes$1);
return tripledes$1.exports;
}
var rc4$1 = { exports: {} };
var rc4 = rc4$1.exports;
var hasRequiredRc4;
function requireRc4() {
if (hasRequiredRc4) return rc4$1.exports;
hasRequiredRc4 = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
}
})(rc4, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var StreamCipher = C_lib.StreamCipher;
var C_algo = C.algo;
var RC4 = C_algo.RC4 = StreamCipher.extend({
_doReset: function() {
var key = this._key;
var keyWords = key.words;
var keySigBytes = key.sigBytes;
var S = this._S = [];
for (var i = 0; i < 256; i++) {
S[i] = i;
}
for (var i = 0, j = 0; i < 256; i++) {
var keyByteIndex = i % keySigBytes;
var keyByte = keyWords[keyByteIndex >>> 2] >>> 24 - keyByteIndex % 4 * 8 & 255;
j = (j + S[i] + keyByte) % 256;
var t = S[i];
S[i] = S[j];
S[j] = t;
}
this._i = this._j = 0;
},
_doProcessBlock: function(M, offset) {
M[offset] ^= generateKeystreamWord.call(this);
},
keySize: 256 / 32,
ivSize: 0
});
function generateKeystreamWord() {
var S = this._S;
var i = this._i;
var j = this._j;
var keystreamWord = 0;
for (var n = 0; n < 4; n++) {
i = (i + 1) % 256;
j = (j + S[i]) % 256;
var t = S[i];
S[i] = S[j];
S[j] = t;
keystreamWord |= S[(S[i] + S[j]) % 256] << 24 - n * 8;
}
this._i = i;
this._j = j;
return keystreamWord;
}
C.RC4 = StreamCipher._createHelper(RC4);
var RC4Drop = C_algo.RC4Drop = RC4.extend({
/**
* Configuration options.
*
* @property {number} drop The number of keystream words to drop. Default 192
*/
cfg: RC4.cfg.extend({
drop: 192
}),
_doReset: function() {
RC4._doReset.call(this);
for (var i = this.cfg.drop; i > 0; i--) {
generateKeystreamWord.call(this);
}
}
});
C.RC4Drop = StreamCipher._createHelper(RC4Drop);
})();
return CryptoJS.RC4;
});
})(rc4$1);
return rc4$1.exports;
}
var rabbit$1 = { exports: {} };
var rabbit = rabbit$1.exports;
var hasRequiredRabbit;
function requireRabbit() {
if (hasRequiredRabbit) return rabbit$1.exports;
hasRequiredRabbit = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
}
})(rabbit, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var StreamCipher = C_lib.StreamCipher;
var C_algo = C.algo;
var S = [];
var C_ = [];
var G = [];
var Rabbit = C_algo.Rabbit = StreamCipher.extend({
_doReset: function() {
var K = this._key.words;
var iv = this.cfg.iv;
for (var i = 0; i < 4; i++) {
K[i] = (K[i] << 8 | K[i] >>> 24) & 16711935 | (K[i] << 24 | K[i] >>> 8) & 4278255360;
}
var X = this._X = [
K[0],
K[3] << 16 | K[2] >>> 16,
K[1],
K[0] << 16 | K[3] >>> 16,
K[2],
K[1] << 16 | K[0] >>> 16,
K[3],
K[2] << 16 | K[1] >>> 16
];
var C2 = this._C = [
K[2] << 16 | K[2] >>> 16,
K[0] & 4294901760 | K[1] & 65535,
K[3] << 16 | K[3] >>> 16,
K[1] & 4294901760 | K[2] & 65535,
K[0] << 16 | K[0] >>> 16,
K[2] & 4294901760 | K[3] & 65535,
K[1] << 16 | K[1] >>> 16,
K[3] & 4294901760 | K[0] & 65535
];
this._b = 0;
for (var i = 0; i < 4; i++) {
nextState.call(this);
}
for (var i = 0; i < 8; i++) {
C2[i] ^= X[i + 4 & 7];
}
if (iv) {
var IV = iv.words;
var IV_0 = IV[0];
var IV_1 = IV[1];
var i0 = (IV_0 << 8 | IV_0 >>> 24) & 16711935 | (IV_0 << 24 | IV_0 >>> 8) & 4278255360;
var i2 = (IV_1 << 8 | IV_1 >>> 24) & 16711935 | (IV_1 << 24 | IV_1 >>> 8) & 4278255360;
var i1 = i0 >>> 16 | i2 & 4294901760;
var i3 = i2 << 16 | i0 & 65535;
C2[0] ^= i0;
C2[1] ^= i1;
C2[2] ^= i2;
C2[3] ^= i3;
C2[4] ^= i0;
C2[5] ^= i1;
C2[6] ^= i2;
C2[7] ^= i3;
for (var i = 0; i < 4; i++) {
nextState.call(this);
}
}
},
_doProcessBlock: function(M, offset) {
var X = this._X;
nextState.call(this);
S[0] = X[0] ^ X[5] >>> 16 ^ X[3] << 16;
S[1] = X[2] ^ X[7] >>> 16 ^ X[5] << 16;
S[2] = X[4] ^ X[1] >>> 16 ^ X[7] << 16;
S[3] = X[6] ^ X[3] >>> 16 ^ X[1] << 16;
for (var i = 0; i < 4; i++) {
S[i] = (S[i] << 8 | S[i] >>> 24) & 16711935 | (S[i] << 24 | S[i] >>> 8) & 4278255360;
M[offset + i] ^= S[i];
}
},
blockSize: 128 / 32,
ivSize: 64 / 32
});
function nextState() {
var X = this._X;
var C2 = this._C;
for (var i = 0; i < 8; i++) {
C_[i] = C2[i];
}
C2[0] = C2[0] + 1295307597 + this._b | 0;
C2[1] = C2[1] + 3545052371 + (C2[0] >>> 0 < C_[0] >>> 0 ? 1 : 0) | 0;
C2[2] = C2[2] + 886263092 + (C2[1] >>> 0 < C_[1] >>> 0 ? 1 : 0) | 0;
C2[3] = C2[3] + 1295307597 + (C2[2] >>> 0 < C_[2] >>> 0 ? 1 : 0) | 0;
C2[4] = C2[4] + 3545052371 + (C2[3] >>> 0 < C_[3] >>> 0 ? 1 : 0) | 0;
C2[5] = C2[5] + 886263092 + (C2[4] >>> 0 < C_[4] >>> 0 ? 1 : 0) | 0;
C2[6] = C2[6] + 1295307597 + (C2[5] >>> 0 < C_[5] >>> 0 ? 1 : 0) | 0;
C2[7] = C2[7] + 3545052371 + (C2[6] >>> 0 < C_[6] >>> 0 ? 1 : 0) | 0;
this._b = C2[7] >>> 0 < C_[7] >>> 0 ? 1 : 0;
for (var i = 0; i < 8; i++) {
var gx = X[i] + C2[i];
var ga = gx & 65535;
var gb = gx >>> 16;
var gh = ((ga * ga >>> 17) + ga * gb >>> 15) + gb * gb;
var gl = ((gx & 4294901760) * gx | 0) + ((gx & 65535) * gx | 0);
G[i] = gh ^ gl;
}
X[0] = G[0] + (G[7] << 16 | G[7] >>> 16) + (G[6] << 16 | G[6] >>> 16) | 0;
X[1] = G[1] + (G[0] << 8 | G[0] >>> 24) + G[7] | 0;
X[2] = G[2] + (G[1] << 16 | G[1] >>> 16) + (G[0] << 16 | G[0] >>> 16) | 0;
X[3] = G[3] + (G[2] << 8 | G[2] >>> 24) + G[1] | 0;
X[4] = G[4] + (G[3] << 16 | G[3] >>> 16) + (G[2] << 16 | G[2] >>> 16) | 0;
X[5] = G[5] + (G[4] << 8 | G[4] >>> 24) + G[3] | 0;
X[6] = G[6] + (G[5] << 16 | G[5] >>> 16) + (G[4] << 16 | G[4] >>> 16) | 0;
X[7] = G[7] + (G[6] << 8 | G[6] >>> 24) + G[5] | 0;
}
C.Rabbit = StreamCipher._createHelper(Rabbit);
})();
return CryptoJS.Rabbit;
});
})(rabbit$1);
return rabbit$1.exports;
}
var rabbitLegacy$1 = { exports: {} };
var rabbitLegacy = rabbitLegacy$1.exports;
var hasRequiredRabbitLegacy;
function requireRabbitLegacy() {
if (hasRequiredRabbitLegacy) return rabbitLegacy$1.exports;
hasRequiredRabbitLegacy = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
}
})(rabbitLegacy, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var StreamCipher = C_lib.StreamCipher;
var C_algo = C.algo;
var S = [];
var C_ = [];
var G = [];
var RabbitLegacy = C_algo.RabbitLegacy = StreamCipher.extend({
_doReset: function() {
var K = this._key.words;
var iv = this.cfg.iv;
var X = this._X = [
K[0],
K[3] << 16 | K[2] >>> 16,
K[1],
K[0] << 16 | K[3] >>> 16,
K[2],
K[1] << 16 | K[0] >>> 16,
K[3],
K[2] << 16 | K[1] >>> 16
];
var C2 = this._C = [
K[2] << 16 | K[2] >>> 16,
K[0] & 4294901760 | K[1] & 65535,
K[3] << 16 | K[3] >>> 16,
K[1] & 4294901760 | K[2] & 65535,
K[0] << 16 | K[0] >>> 16,
K[2] & 4294901760 | K[3] & 65535,
K[1] << 16 | K[1] >>> 16,
K[3] & 4294901760 | K[0] & 65535
];
this._b = 0;
for (var i = 0; i < 4; i++) {
nextState.call(this);
}
for (var i = 0; i < 8; i++) {
C2[i] ^= X[i + 4 & 7];
}
if (iv) {
var IV = iv.words;
var IV_0 = IV[0];
var IV_1 = IV[1];
var i0 = (IV_0 << 8 | IV_0 >>> 24) & 16711935 | (IV_0 << 24 | IV_0 >>> 8) & 4278255360;
var i2 = (IV_1 << 8 | IV_1 >>> 24) & 16711935 | (IV_1 << 24 | IV_1 >>> 8) & 4278255360;
var i1 = i0 >>> 16 | i2 & 4294901760;
var i3 = i2 << 16 | i0 & 65535;
C2[0] ^= i0;
C2[1] ^= i1;
C2[2] ^= i2;
C2[3] ^= i3;
C2[4] ^= i0;
C2[5] ^= i1;
C2[6] ^= i2;
C2[7] ^= i3;
for (var i = 0; i < 4; i++) {
nextState.call(this);
}
}
},
_doProcessBlock: function(M, offset) {
var X = this._X;
nextState.call(this);
S[0] = X[0] ^ X[5] >>> 16 ^ X[3] << 16;
S[1] = X[2] ^ X[7] >>> 16 ^ X[5] << 16;
S[2] = X[4] ^ X[1] >>> 16 ^ X[7] << 16;
S[3] = X[6] ^ X[3] >>> 16 ^ X[1] << 16;
for (var i = 0; i < 4; i++) {
S[i] = (S[i] << 8 | S[i] >>> 24) & 16711935 | (S[i] << 24 | S[i] >>> 8) & 4278255360;
M[offset + i] ^= S[i];
}
},
blockSize: 128 / 32,
ivSize: 64 / 32
});
function nextState() {
var X = this._X;
var C2 = this._C;
for (var i = 0; i < 8; i++) {
C_[i] = C2[i];
}
C2[0] = C2[0] + 1295307597 + this._b | 0;
C2[1] = C2[1] + 3545052371 + (C2[0] >>> 0 < C_[0] >>> 0 ? 1 : 0) | 0;
C2[2] = C2[2] + 886263092 + (C2[1] >>> 0 < C_[1] >>> 0 ? 1 : 0) | 0;
C2[3] = C2[3] + 1295307597 + (C2[2] >>> 0 < C_[2] >>> 0 ? 1 : 0) | 0;
C2[4] = C2[4] + 3545052371 + (C2[3] >>> 0 < C_[3] >>> 0 ? 1 : 0) | 0;
C2[5] = C2[5] + 886263092 + (C2[4] >>> 0 < C_[4] >>> 0 ? 1 : 0) | 0;
C2[6] = C2[6] + 1295307597 + (C2[5] >>> 0 < C_[5] >>> 0 ? 1 : 0) | 0;
C2[7] = C2[7] + 3545052371 + (C2[6] >>> 0 < C_[6] >>> 0 ? 1 : 0) | 0;
this._b = C2[7] >>> 0 < C_[7] >>> 0 ? 1 : 0;
for (var i = 0; i < 8; i++) {
var gx = X[i] + C2[i];
var ga = gx & 65535;
var gb = gx >>> 16;
var gh = ((ga * ga >>> 17) + ga * gb >>> 15) + gb * gb;
var gl = ((gx & 4294901760) * gx | 0) + ((gx & 65535) * gx | 0);
G[i] = gh ^ gl;
}
X[0] = G[0] + (G[7] << 16 | G[7] >>> 16) + (G[6] << 16 | G[6] >>> 16) | 0;
X[1] = G[1] + (G[0] << 8 | G[0] >>> 24) + G[7] | 0;
X[2] = G[2] + (G[1] << 16 | G[1] >>> 16) + (G[0] << 16 | G[0] >>> 16) | 0;
X[3] = G[3] + (G[2] << 8 | G[2] >>> 24) + G[1] | 0;
X[4] = G[4] + (G[3] << 16 | G[3] >>> 16) + (G[2] << 16 | G[2] >>> 16) | 0;
X[5] = G[5] + (G[4] << 8 | G[4] >>> 24) + G[3] | 0;
X[6] = G[6] + (G[5] << 16 | G[5] >>> 16) + (G[4] << 16 | G[4] >>> 16) | 0;
X[7] = G[7] + (G[6] << 8 | G[6] >>> 24) + G[5] | 0;
}
C.RabbitLegacy = StreamCipher._createHelper(RabbitLegacy);
})();
return CryptoJS.RabbitLegacy;
});
})(rabbitLegacy$1);
return rabbitLegacy$1.exports;
}
var blowfish$1 = { exports: {} };
var blowfish = blowfish$1.exports;
var hasRequiredBlowfish;
function requireBlowfish() {
if (hasRequiredBlowfish) return blowfish$1.exports;
hasRequiredBlowfish = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
}
})(blowfish, function(CryptoJS) {
(function() {
var C = CryptoJS;
var C_lib = C.lib;
var BlockCipher = C_lib.BlockCipher;
var C_algo = C.algo;
const N = 16;
const ORIG_P = [
608135816,
2242054355,
320440878,
57701188,
2752067618,
698298832,
137296536,
3964562569,
1160258022,
953160567,
3193202383,
887688300,
3232508343,
3380367581,
1065670069,
3041331479,
2450970073,
2306472731
];
const ORIG_S = [
[
3509652390,
2564797868,
805139163,
3491422135,
3101798381,
1780907670,
3128725573,
4046225305,
614570311,
3012652279,
134345442,
2240740374,
1667834072,
1901547113,
2757295779,
4103290238,
227898511,
1921955416,
1904987480,
2182433518,
2069144605,
3260701109,
2620446009,
720527379,
3318853667,
677414384,
3393288472,
3101374703,
2390351024,
1614419982,
1822297739,
2954791486,
3608508353,
3174124327,
2024746970,
1432378464,
3864339955,
2857741204,
1464375394,
1676153920,
1439316330,
715854006,
3033291828,
289532110,
2706671279,
2087905683,
3018724369,
1668267050,
732546397,
1947742710,
3462151702,
2609353502,
2950085171,
1814351708,
2050118529,
680887927,
999245976,
1800124847,
3300911131,
1713906067,
1641548236,
4213287313,
1216130144,
1575780402,
4018429277,
3917837745,
3693486850,
3949271944,
596196993,
3549867205,
258830323,
2213823033,
772490370,
2760122372,
1774776394,
2652871518,
566650946,
4142492826,
1728879713,
2882767088,
1783734482,
3629395816,
2517608232,
2874225571,
1861159788,
326777828,
3124490320,
2130389656,
2716951837,
967770486,
1724537150,
2185432712,
2364442137,
1164943284,
2105845187,
998989502,
3765401048,
2244026483,
1075463327,
1455516326,
1322494562,
910128902,
469688178,
1117454909,
936433444,
3490320968,
3675253459,
1240580251,
122909385,
2157517691,
634681816,
4142456567,
3825094682,
3061402683,
2540495037,
79693498,
3249098678,
1084186820,
1583128258,
426386531,
1761308591,
1047286709,
322548459,
995290223,
1845252383,
2603652396,
3431023940,
2942221577,
3202600964,
3727903485,
1712269319,
422464435,
3234572375,
1170764815,
3523960633,
3117677531,
1434042557,
442511882,
3600875718,
1076654713,
1738483198,
4213154764,
2393238008,
3677496056,
1014306527,
4251020053,
793779912,
2902807211,
842905082,
4246964064,
1395751752,
1040244610,
2656851899,
3396308128,
445077038,
3742853595,
3577915638,
679411651,
2892444358,
2354009459,
1767581616,
3150600392,
3791627101,
3102740896,
284835224,
4246832056,
1258075500,
768725851,
2589189241,
3069724005,
3532540348,
1274779536,
3789419226,
2764799539,
1660621633,
3471099624,
4011903706,
913787905,
3497959166,
737222580,
2514213453,
2928710040,
3937242737,
1804850592,
3499020752,
2949064160,
2386320175,
2390070455,
2415321851,
4061277028,
2290661394,
2416832540,
1336762016,
1754252060,
3520065937,
3014181293,
791618072,
3188594551,
3933548030,
2332172193,
3852520463,
3043980520,
413987798,
3465142937,
3030929376,
4245938359,
2093235073,
3534596313,
375366246,
2157278981,
2479649556,
555357303,
3870105701,
2008414854,
3344188149,
4221384143,
3956125452,
2067696032,
3594591187,
2921233993,
2428461,
544322398,
577241275,
1471733935,
610547355,
4027169054,
1432588573,
1507829418,
2025931657,
3646575487,
545086370,
48609733,
2200306550,
1653985193,
298326376,
1316178497,
3007786442,
2064951626,
458293330,
2589141269,
3591329599,
3164325604,
727753846,
2179363840,
146436021,
1461446943,
4069977195,
705550613,
3059967265,
3887724982,
4281599278,
3313849956,
1404054877,
2845806497,
146425753,
1854211946
],
[
1266315497,
3048417604,
3681880366,
3289982499,
290971e4,
1235738493,
2632868024,
2414719590,
3970600049,
1771706367,
1449415276,
3266420449,
422970021,
1963543593,
2690192192,
3826793022,
1062508698,
1531092325,
1804592342,
2583117782,
2714934279,
4024971509,
1294809318,
4028980673,
1289560198,
2221992742,
1669523910,
35572830,
157838143,
1052438473,
1016535060,
1802137761,
1753167236,
1386275462,
3080475397,
2857371447,
1040679964,
2145300060,
2390574316,
1461121720,
2956646967,
4031777805,
4028374788,
33600511,
2920084762,
1018524850,
629373528,
3691585981,
3515945977,
2091462646,
2486323059,
586499841,
988145025,
935516892,
3367335476,
2599673255,
2839830854,
265290510,
3972581182,
2759138881,
3795373465,
1005194799,
847297441,
406762289,
1314163512,
1332590856,
1866599683,
4127851711,
750260880,
613907577,
1450815602,
3165620655,
3734664991,
3650291728,
3012275730,
3704569646,
1427272223,
778793252,
1343938022,
2676280711,
2052605720,
1946737175,
3164576444,
3914038668,
3967478842,
3682934266,
1661551462,
3294938066,
4011595847,
840292616,
3712170807,
616741398,
312560963,
711312465,
1351876610,
322626781,
1910503582,
271666773,
2175563734,
1594956187,
70604529,
3617834859,
1007753275,
1495573769,
4069517037,
2549218298,
2663038764,
504708206,
2263041392,
3941167025,
2249088522,
1514023603,
1998579484,
1312622330,
694541497,
2582060303,
2151582166,
1382467621,
776784248,
2618340202,
3323268794,
2497899128,
2784771155,
503983604,
4076293799,
907881277,
423175695,
432175456,
1378068232,
4145222326,
3954048622,
3938656102,
3820766613,
2793130115,
2977904593,
26017576,
3274890735,
3194772133,
1700274565,
1756076034,
4006520079,
3677328699,
720338349,
1533947780,
354530856,
688349552,
3973924725,
1637815568,
332179504,
3949051286,
53804574,
2852348879,
3044236432,
1282449977,
3583942155,
3416972820,
4006381244,
1617046695,
2628476075,
3002303598,
1686838959,
431878346,
2686675385,
1700445008,
1080580658,
1009431731,
832498133,
3223435511,
2605976345,
2271191193,
2516031870,
1648197032,
4164389018,
2548247927,
300782431,
375919233,
238389289,
3353747414,
2531188641,
2019080857,
1475708069,
455242339,
2609103871,
448939670,
3451063019,
1395535956,
2413381860,
1841049896,
1491858159,
885456874,
4264095073,
4001119347,
1565136089,
3898914787,
1108368660,
540939232,
1173283510,
2745871338,
3681308437,
4207628240,
3343053890,
4016749493,
1699691293,
1103962373,
3625875870,
2256883143,
3830138730,
1031889488,
3479347698,
1535977030,
4236805024,
3251091107,
2132092099,
1774941330,
1199868427,
1452454533,
157007616,
2904115357,
342012276,
595725824,
1480756522,
206960106,
497939518,
591360097,
863170706,
2375253569,
3596610801,
1814182875,
2094937945,
3421402208,
1082520231,
3463918190,
2785509508,
435703966,
3908032597,
1641649973,
2842273706,
3305899714,
1510255612,
2148256476,
2655287854,
3276092548,
4258621189,
236887753,
3681803219,
274041037,
1734335097,
3815195456,
3317970021,
1899903192,
1026095262,
4050517792,
356393447,
2410691914,
3873677099,
3682840055
],
[
3913112168,
2491498743,
4132185628,
2489919796,
1091903735,
1979897079,
3170134830,
3567386728,
3557303409,
857797738,
1136121015,
1342202287,
507115054,
2535736646,
337727348,
3213592640,
1301675037,
2528481711,
1895095763,
1721773893,
3216771564,
62756741,
2142006736,
835421444,
2531993523,
1442658625,
3659876326,
2882144922,
676362277,
1392781812,
170690266,
3921047035,
1759253602,
3611846912,
1745797284,
664899054,
1329594018,
3901205900,
3045908486,
2062866102,
2865634940,
3543621612,
3464012697,
1080764994,
553557557,
3656615353,
3996768171,
991055499,
499776247,
1265440854,
648242737,
3940784050,
980351604,
3713745714,
1749149687,
3396870395,
4211799374,
3640570775,
1161844396,
3125318951,
1431517754,
545492359,
4268468663,
3499529547,
1437099964,
2702547544,
3433638243,
2581715763,
2787789398,
1060185593,
1593081372,
2418618748,
4260947970,
69676912,
2159744348,
86519011,
2512459080,
3838209314,
1220612927,
3339683548,
133810670,
1090789135,
1078426020,
1569222167,
845107691,
3583754449,
4072456591,
1091646820,
628848692,
1613405280,
3757631651,
526609435,
236106946,
48312990,
2942717905,
3402727701,
1797494240,
859738849,
992217954,
4005476642,
2243076622,
3870952857,
3732016268,
765654824,
3490871365,
2511836413,
1685915746,
3888969200,
1414112111,
2273134842,
3281911079,
4080962846,
172450625,
2569994100,
980381355,
4109958455,
2819808352,
2716589560,
2568741196,
3681446669,
3329971472,
1835478071,
660984891,
3704678404,
4045999559,
3422617507,
3040415634,
1762651403,
1719377915,
3470491036,
2693910283,
3642056355,
3138596744,
1364962596,
2073328063,
1983633131,
926494387,
3423689081,
2150032023,
4096667949,
1749200295,
3328846651,
309677260,
2016342300,
1779581495,
3079819751,
111262694,
1274766160,
443224088,
298511866,
1025883608,
3806446537,
1145181785,
168956806,
3641502830,
3584813610,
1689216846,
3666258015,
3200248200,
1692713982,
2646376535,
4042768518,
1618508792,
1610833997,
3523052358,
4130873264,
2001055236,
3610705100,
2202168115,
4028541809,
2961195399,
1006657119,
2006996926,
3186142756,
1430667929,
3210227297,
1314452623,
4074634658,
4101304120,
2273951170,
1399257539,
3367210612,
3027628629,
1190975929,
2062231137,
2333990788,
2221543033,
2438960610,
1181637006,
548689776,
2362791313,
3372408396,
3104550113,
3145860560,
296247880,
1970579870,
3078560182,
3769228297,
1714227617,
3291629107,
3898220290,
166772364,
1251581989,
493813264,
448347421,
195405023,
2709975567,
677966185,
3703036547,
1463355134,
2715995803,
1338867538,
1343315457,
2802222074,
2684532164,
233230375,
2599980071,
2000651841,
3277868038,
1638401717,
4028070440,
3237316320,
6314154,
819756386,
300326615,
590932579,
1405279636,
3267499572,
3150704214,
2428286686,
3959192993,
3461946742,
1862657033,
1266418056,
963775037,
2089974820,
2263052895,
1917689273,
448879540,
3550394620,
3981727096,
150775221,
3627908307,
1303187396,
508620638,
2975983352,
2726630617,
1817252668,
1876281319,
1457606340,
908771278,
3720792119,
3617206836,
2455994898,
1729034894,
1080033504
],
[
976866871,
3556439503,
2881648439,
1522871579,
1555064734,
1336096578,
3548522304,
2579274686,
3574697629,
3205460757,
3593280638,
3338716283,
3079412587,
564236357,
2993598910,
1781952180,
1464380207,
3163844217,
3332601554,
1699332808,
1393555694,
1183702653,
3581086237,
1288719814,
691649499,
2847557200,
2895455976,
3193889540,
2717570544,
1781354906,
1676643554,
2592534050,
3230253752,
1126444790,
2770207658,
2633158820,
2210423226,
2615765581,
2414155088,
3127139286,
673620729,
2805611233,
1269405062,
4015350505,
3341807571,
4149409754,
1057255273,
2012875353,
2162469141,
2276492801,
2601117357,
993977747,
3918593370,
2654263191,
753973209,
36408145,
2530585658,
25011837,
3520020182,
2088578344,
530523599,
2918365339,
1524020338,
1518925132,
3760827505,
3759777254,
1202760957,
3985898139,
3906192525,
674977740,
4174734889,
2031300136,
2019492241,
3983892565,
4153806404,
3822280332,
352677332,
2297720250,
60907813,
90501309,
3286998549,
1016092578,
2535922412,
2839152426,
457141659,
509813237,
4120667899,
652014361,
1966332200,
2975202805,
55981186,
2327461051,
676427537,
3255491064,
2882294119,
3433927263,
1307055953,
942726286,
933058658,
2468411793,
3933900994,
4215176142,
1361170020,
2001714738,
2830558078,
3274259782,
1222529897,
1679025792,
2729314320,
3714953764,
1770335741,
151462246,
3013232138,
1682292957,
1483529935,
471910574,
1539241949,
458788160,
3436315007,
1807016891,
3718408830,
978976581,
1043663428,
3165965781,
1927990952,
4200891579,
2372276910,
3208408903,
3533431907,
1412390302,
2931980059,
4132332400,
1947078029,
3881505623,
4168226417,
2941484381,
1077988104,
1320477388,
886195818,
18198404,
3786409e3,
2509781533,
112762804,
3463356488,
1866414978,
891333506,
18488651,
661792760,
1628790961,
3885187036,
3141171499,
876946877,
2693282273,
1372485963,
791857591,
2686433993,
3759982718,
3167212022,
3472953795,
2716379847,
445679433,
3561995674,
3504004811,
3574258232,
54117162,
3331405415,
2381918588,
3769707343,
4154350007,
1140177722,
4074052095,
668550556,
3214352940,
367459370,
261225585,
2610173221,
4209349473,
3468074219,
3265815641,
314222801,
3066103646,
3808782860,
282218597,
3406013506,
3773591054,
379116347,
1285071038,
846784868,
2669647154,
3771962079,
3550491691,
2305946142,
453669953,
1268987020,
3317592352,
3279303384,
3744833421,
2610507566,
3859509063,
266596637,
3847019092,
517658769,
3462560207,
3443424879,
370717030,
4247526661,
2224018117,
4143653529,
4112773975,
2788324899,
2477274417,
1456262402,
2901442914,
1517677493,
1846949527,
2295493580,
3734397586,
2176403920,
1280348187,
1908823572,
3871786941,
846861322,
1172426758,
3287448474,
3383383037,
1655181056,
3139813346,
901632758,
1897031941,
2986607138,
3066810236,
3447102507,
1393639104,
373351379,
950779232,
625454576,
3124240540,
4148612726,
2007998917,
544563296,
2244738638,
2330496472,
2058025392,
1291430526,
424198748,
50039436,
29584100,
3605783033,
2429876329,
2791104160,
1057563949,
3255363231,
3075367218,
3463963227,
1469046755,
985887462
]
];
var BLOWFISH_CTX = {
pbox: [],
sbox: []
};
function F(ctx, x) {
let a = x >> 24 & 255;
let b = x >> 16 & 255;
let c = x >> 8 & 255;
let d = x & 255;
let y = ctx.sbox[0][a] + ctx.sbox[1][b];
y = y ^ ctx.sbox[2][c];
y = y + ctx.sbox[3][d];
return y;
}
function BlowFish_Encrypt(ctx, left, right) {
let Xl = left;
let Xr = right;
let temp;
for (let i = 0; i < N; ++i) {
Xl = Xl ^ ctx.pbox[i];
Xr = F(ctx, Xl) ^ Xr;
temp = Xl;
Xl = Xr;
Xr = temp;
}
temp = Xl;
Xl = Xr;
Xr = temp;
Xr = Xr ^ ctx.pbox[N];
Xl = Xl ^ ctx.pbox[N + 1];
return { left: Xl, right: Xr };
}
function BlowFish_Decrypt(ctx, left, right) {
let Xl = left;
let Xr = right;
let temp;
for (let i = N + 1; i > 1; --i) {
Xl = Xl ^ ctx.pbox[i];
Xr = F(ctx, Xl) ^ Xr;
temp = Xl;
Xl = Xr;
Xr = temp;
}
temp = Xl;
Xl = Xr;
Xr = temp;
Xr = Xr ^ ctx.pbox[1];
Xl = Xl ^ ctx.pbox[0];
return { left: Xl, right: Xr };
}
function BlowFishInit(ctx, key, keysize) {
for (let Row = 0; Row < 4; Row++) {
ctx.sbox[Row] = [];
for (let Col = 0; Col < 256; Col++) {
ctx.sbox[Row][Col] = ORIG_S[Row][Col];
}
}
let keyIndex = 0;
for (let index = 0; index < N + 2; index++) {
ctx.pbox[index] = ORIG_P[index] ^ key[keyIndex];
keyIndex++;
if (keyIndex >= keysize) {
keyIndex = 0;
}
}
let Data1 = 0;
let Data2 = 0;
let res = 0;
for (let i = 0; i < N + 2; i += 2) {
res = BlowFish_Encrypt(ctx, Data1, Data2);
Data1 = res.left;
Data2 = res.right;
ctx.pbox[i] = Data1;
ctx.pbox[i + 1] = Data2;
}
for (let i = 0; i < 4; i++) {
for (let j = 0; j < 256; j += 2) {
res = BlowFish_Encrypt(ctx, Data1, Data2);
Data1 = res.left;
Data2 = res.right;
ctx.sbox[i][j] = Data1;
ctx.sbox[i][j + 1] = Data2;
}
}
return true;
}
var Blowfish = C_algo.Blowfish = BlockCipher.extend({
_doReset: function() {
if (this._keyPriorReset === this._key) {
return;
}
var key = this._keyPriorReset = this._key;
var keyWords = key.words;
var keySize = key.sigBytes / 4;
BlowFishInit(BLOWFISH_CTX, keyWords, keySize);
},
encryptBlock: function(M, offset) {
var res = BlowFish_Encrypt(BLOWFISH_CTX, M[offset], M[offset + 1]);
M[offset] = res.left;
M[offset + 1] = res.right;
},
decryptBlock: function(M, offset) {
var res = BlowFish_Decrypt(BLOWFISH_CTX, M[offset], M[offset + 1]);
M[offset] = res.left;
M[offset + 1] = res.right;
},
blockSize: 64 / 32,
keySize: 128 / 32,
ivSize: 64 / 32
});
C.Blowfish = BlockCipher._createHelper(Blowfish);
})();
return CryptoJS.Blowfish;
});
})(blowfish$1);
return blowfish$1.exports;
}
var cryptoJs = cryptoJs$1.exports;
var hasRequiredCryptoJs;
function requireCryptoJs() {
if (hasRequiredCryptoJs) return cryptoJs$1.exports;
hasRequiredCryptoJs = 1;
(function(module, exports) {
(function(root, factory, undef) {
{
module.exports = factory(requireCore(), requireX64Core(), requireLibTypedarrays(), requireEncUtf16(), requireEncBase64(), requireEncBase64url(), requireMd5(), requireSha1(), requireSha256(), requireSha224(), requireSha512(), requireSha384(), requireSha3(), requireRipemd160(), requireHmac(), requirePbkdf2(), requireEvpkdf(), requireCipherCore(), requireModeCfb(), requireModeCtr(), requireModeCtrGladman(), requireModeOfb(), requireModeEcb(), requirePadAnsix923(), requirePadIso10126(), requirePadIso97971(), requirePadZeropadding(), requirePadNopadding(), requireFormatHex(), requireAes(), requireTripledes(), requireRc4(), requireRabbit(), requireRabbitLegacy(), requireBlowfish());
}
})(cryptoJs, function(CryptoJS) {
return CryptoJS;
});
})(cryptoJs$1);
return cryptoJs$1.exports;
}
var cryptoJsExports = requireCryptoJs();
const _0x4e0586 = /* @__PURE__ */ getDefaultExportFromCjs(cryptoJsExports);
const _0x132596 = _0x3d13, _0x339c7d = _0x3d13, _0x5b82df = _0x3d13;
(function(_0x263cc9, _0x3d63ed) {
const _0xabfa7f = _0x3d13, _0x4e60b8 = _0x3d13, _0x1a0b04 = _0x3d13, _0x3781f9 = _0x3d13, _0x467b9a = _0x263cc9();
while (!![]) {
try {
const _0x568b76 = -parseInt(_0xabfa7f(1010)) / 1 * (-parseInt(_0xabfa7f(998)) / 2) + parseInt(_0xabfa7f(509)) / 3 + -parseInt(_0x1a0b04(600)) / 4 + -parseInt(_0xabfa7f(344)) / 5 * (-parseInt(_0xabfa7f(577)) / 6) + parseInt(_0x1a0b04(1096)) / 7 + -parseInt(_0x4e60b8(731)) / 8 + -parseInt(_0x3781f9(567)) / 9;
if (_0x568b76 === _0x3d63ed) break;
else _0x467b9a["push"](_0x467b9a["shift"]());
} catch (_0x453d3f) {
_0x467b9a["push"](_0x467b9a["shift"]());
}
}
})(_0x5f28, 251783);
function _0x5f28() {
const _0x4a43b4 = ["spXfT", "BTeKT", "deletePwd动作已下发", "aVprF", "4RWfsBR", "EYXJH", "IoUWM", "WstZi", "writeUnixTs写入失败", "指纹成功采集两次", "KuVee", "fPdcc", "属性下发失败", "eRDIO", "Pyqyw", "0000FFE3-65D0-4E20-B56A-E493541BA4E2", "24977hjCfXG", "(((.+)+)+)+$", "获取服务失败", "plZeq", "CsVhU", "dpcht", "password", "sQWkG", "rNQRy", "zYYrF", "ChJZk", "DrLcB", "VKtzp", "NuAIl", "qAMpo", "sQvKa", "zfKcj", "NWGbm", "TNQNW", "QmOIi", "bpBAk", "GPreE", "HJGqD", "aofmB", "oNeYL", "qoLNZ", "QOoPm", "uugjO", "rKQBM", "DjNhw", "yuoci", "klonK", "请先连接蓝牙设备", "vysVc", "yZZoX", "OaqQC", "EieCD", "teerw", "KglMJ", "err", "token长度不为12", "YaVea", "HLSlP", "DRobV", "LtJvk", "vqYEy", "HYUGs", "nNkGv", "EPkmF", "GCHjl", "NlKiV", "hasOwnProperty", "params", "Kjuph", "JdMum", "Bsjpx", "JRRtv", "tvcIV", "VbQrM", "GVQoM", "waHXr", "NmHVr", "xTaNc", "RTyJp", "BAiHw", "未找到该属性", "HmacSHA1", "TuzcH", "FqlXb", "raEke", "MikvW", "GGynN", "createBLEConnection", "GtqMd", "ufJUz", "XcysL", "BKpws", "doNIQ", "TwQOM", "PXULH", "txlJE", "gBnQW", "OMids", "startSearch", "apTpH", "onBLECharacteristicValueChange", "2603244eNUOay", "YZUZB", "CpGCF", "knDoI", "BhMGC", "FFTnd", "kqJCl", "iKTGd", "zMkpO", "DKETl", "addRfCard动作已下发", "xARoM", "OIIpw", "nbmsF", "vldSp", "aXyCJ", "lockReset动作已下发", "HjJtM", "available", "addPwd动作已下发", "QUmwJ", "KRTkg", "battery_percentage", "JKMir", "NyWgp", "jUDUI", "jihAj", "PRbLj", "xjEwf", "CZqph", "dIdqs", "TLLyp", "zDaZQ", "byBCi", "error", "bLZNL", "已停止搜索设备", "DImqr", "ymlpn", "onBluetoothDeviceFound", "Vuyug", "mbuKJ", "kJIMw", "mdVad", "qBnrE", "getAllPwd动作已下发", "RsmWt", "ByxyN", "KqjWo", "sHBtI", "WMPXa", "LHiYC", "miGAr", "timestamp", "XymcS", "HeTmh", "pGpLD", "YYqCj", "hxHUn", "搜索设备超时,未搜索到设备", "FFhxZ", "未刷卡", "WBUVZ", "hDghQ", "lQqyn", "bHhSZ", "yWDxq", "XMbrV", "tcwwW", "ggTVx", "XYZwL", "sknMI", "log", "YAKFP", "aBmUl", "GRgAK", "btyoG", "keys", "ceErR", "XrOsU", " --> ", "RZOyq", "atZaQ", "SGZlV", "RyKfC", "oCLTJ", "TgJMB", "动作已下发", "teRqC", "bGehp", "XzWhC", "RDRDn", "ErKMh", "指纹成功采集一次", "KMVEc", "CBVFm", "oBCKn", "bind", "LJeaf", "OslrT", "JwBuR", "MWIls", "unlock_remote", "MnZrD", "HjosK", "getTime", "oXKSx", "HDwXy", "wnawY", "Hhwgw", "gcqWN", "tELjP", "NQayI", "LWTVz", "TZAxm", "hlKxa", "DChin", "sHnpG", "nbSKo", "plbgy", "EqPyj", "JDuBB", "lrWMv", "rHdgq", "kcgJM", "NZPgL", "ZsNtc", "name", "sKkcX", " 开始", "data", "NwhWo", "ZODzv", "卡重复", "aODCh", "UncUP", "Qikgq", "sRgrv", "biRwl", "unorB", "initBluetooth", "delete_user", "pIXlL", "wihhl", "dDQZI", "vZRaC", "pwRjJ", "osRbk", "wEYBj", "ySzPO", "同步时间成功", "yNtHC", "qbEYU", "绑定超时", "upVKj", "IIBrn", "Znqdq", "QGbzy", "uxHfx", "WfwMG", "JiKEg", "IIIaq", "OQgaO", "RQwDr", "byteLength", "UsKtm", "OcMtX", "wYZbI", "restore_factory", "gjtJE", "jUWqP", "XJqCD", "xiVpm", "hGwQw", "zBdUj", "YMPrC", "vmtQN", "YaSTX", "KYGzd", "WhwjG", "Cdneh", "LyIpD", "ddOiO", "AjsUs", "KjmOx", "bUjKA", "start_time", "wcHVm", "eiMfV", "eSTOk", "BLKso", "weolf", "FFE0", "username", "fAooO", "iyiAN", "eApdT", "TuBwn", "qfeQv", " 开始鉴权", "Irmzb", "IiERh", "productId", "Gksgf", "0000FFE2-65D0-4E20-B56A-E493541BA4E2", "XiZkp", "zNhYe", "PcyRZ", "mKZHq", "values", " 通信建立失败", "kDLkd", "vmrTh", "dsPoG", "TxJvj", "NJKXs", "zladE", "uuxwZ", "vZAmN", "UHKUl", "SFNsa", "bRTnw", "value", "设备绑定成功", "kddeX", "ArSiQ", "EqVyG", "iFDbN", " 同步时间成功", "yhbbm", "iqbge", "eoDCa", "onSearch", "deviceName不能为空", "pJUnx", "JvmTE", "暂无数据", "cYfII", "ONBgL", "dklRi", "NqgLv", "TVaxV", "yxyHV", "VZZyS", "vXpXj", "uziWJ", "NeGVC", "未连接蓝牙设备", "DmJrT", "sDMkk", "nQatA", "kJxst", "eMlWq", "GEEXc", "writeBLECharacteristicValue", "BTXnh", "NlLFC", "lblbY", "pEwbA", "pNOTx", "mRZGE", "hrpUC", "slCrb", "noFwB", "GHDqs", "vGwSV", "KyFPj", "searchDevice", "RWEWp", "connected", "NEDWn", "UivJq", "MRKvt", "IAseP", "fknxe", "PBAoH", "OcfUK", "VjrJk", "eifWd", "HodWp", "Rpwrn", "TyGrC", "223985bnHoOx", "Offew", "bLwIb", "KBuPf", "XGvnw", "EZRBB55EWH", "未找到该动作", "mChLL", "jXaqw", "MCqjk", "设备token写入失败", "RuQzG", "TGign", "xykoz", "Rtfka", "HBZyG", "WiylU", "tvSHR", "MWoRl", "KGRUd", "WIMLG", "HGAoK", "mWGJk", "qZeJE", "cAfTW", "YzuWg", "CzWGI", "gNJmP", "xIYkr", "get_open_history", "GoVmA", "iUftD", "KAzeS", "UkrtI", "deviceId不能为空", "开始搜索蓝牙设备 ", "nRSGf", "ARlsM", "nLaQu", "nuHOz", "cKUdy", "蓝牙设备 ", "hcVCo", "lfvMA", "QuqYK", "EbjKz", "IBLpz", "LqXey", "DPHjT", "assign", "NJlAN", "IwIJo", "pJnwV", "ordinary", "指纹成功采集四次", "oUSDZ", "YqPjC", "vixEv", "ACFJv", "OtjcF", "ovmin", "GYpbC", "rCwXd", "sAWPT", "gtEAc", "hsVJC", "hxPBV", "请移开手指", "PzzZV", "stSPw", "BSnTC", "fVIRe", "EmaXI", "offBluetoothDeviceFound", "dEmND", "动作下发失败", "bXkXW", "pxUFO", "搜到蓝牙设备 ", "getHistory动作已下发", "WyfxB", "HGJFI", "gFFSd", "hRyoa", "Ntwhx", "EUPVY", "指纹模板错误", "stopSearch", "KZwzu", "lpbVq", "HaCQe", "pJLka", "Iqfba", "duvgj", "IhwIC", "xjFMG", "vfYuH", "jWbmn", "VmpRh", "vZsFj", "ZEIFN", "EpRNf", "BUCRf", "bTHDk", "jiwQY", "awHkz", "getBattery动作已下发", "wOtOl", "yWLGK", "advertisData", "UQEYn", "vYrZT", "dEwtk", "未进行设备鉴权", "qetcs", "map", "kXpfk", "rNKBh", "KyXdW", "lRwje", "mMoQP", "fEfsj", "mZZfb", "actionData", "MlRSh", " 发生异常", "QCHEg", "gtZKq", "rgWEq", "vBDOA", "sETeW", "nMuzz", "XedWk", "ScwMz", "dtpnv", "pwdId", "LsGYZ", "uTNwH", "FMgvZ", "写入失败", "获取特征值失败", "SIyyx", "KuoPg", "jylAc", "qtVIR", "WLVBW", "zRllZ", "npDnT", "rnfWx", "已超出最大搜索时间", "iXdYT", "KOEZp", "fSDnB", "wZLSF", "Pinma", "match", "连接蓝牙设备 ", "JZmNa", "JBMFx", "XHgpy", "sXnyy", "DqiDn", "JdgfY", "PDUGf", "蓝牙设备解绑指令下发失败", "249666vOwNrm", "TYhmU", "lzlHL", "deleteRfCard动作已下发", "inEtN", "DxitQ", "GRaif", "NiMBp", "WMUeI", "iVkFh", "IEeLG", "WkmXS", "TrZBH", "dwPaY", "pexdi", "bAXRw", "XdxNi", "qpfvd", "NAZlw", "mUWZp", "qxgJZ", " 成功", "wITSV", "DYiaB", "vMOSB", "hhoac", "dPKGJ", "rLWql", "jDJlp", "IMxDx", "add_User", "SWEyY", "eEETB", "ttPPZ", " 解绑成功", "ECkZK", "userid", "qdOEh", "usertype", "ZglTQ", "pRCIi", "Hjkbe", "closeBLEConnection", "kvfDF", "ebaTN", "devices", "ysrGQ", "NrDVF", "DTAmg", "设备token写入成功", "LtjSN", "LggIr", "notification", "mXunh", "EJYHe", "RfSiy", "vtxeW", "WpRRg", "2845332vDZMPJ", "oFCoI", "DKYts", "eSSaV", "UovHX", "KJixI", "FncYl", "dqEVj", "sJWdU", "moOPv", "66pJzrEg", "RfZWE", "指纹采集失败", "已刷卡", "属性已下发", "IFUfX", "参数不完整", "XmHJF", "IJixE", "NPwRY", "snpSs", "cDWVo", "vEIuL", "ycYsW", "mKBGr", "kfByB", "kcdax", "cjMrG", "wKkmF", "get_all_user", "VRydJ", "AMCKF", "KVwiI", "1117152KQeagY", "uoXro", "EzTrF", "KYrYS", "slice", "oJnnz", "JLyCv", "BjnIn", "AisKd", "SIEYy", "yLicv", "bCfGo", "fKTvc", "sURwS", "数据解析错误", "GHzpA", "FOElE", "onError", "jnwxZ", "ywQre", "wRCwk", "CAFCW", "RPeej", "xrcZQ", "pBRLi", "vdTwB", "length", "xcLLn", "CWBPb", "PbkTm", "dcVWh", "jNlbs", "hUPEb", "RybtB", "Puknf", "rtuXu", "igXOV", "hloMf", "yvcwt", "kQkbC", "DSuHb", "FTdsE", "ZBvnB", "uXFjY", "同步时间失败", "uASaB", "YmWJv", "sOXpm", "ChYrL", "JTwKb", "getBLEDeviceCharacteristics", "nqprc", "Wcmlg", "toString", "pfBaP", "oNyAU", "addFP动作已下发", "akKyj", "JhKYA", "OwwKg", "qOiDs", "lEcbo", "wqjcw", "aTxZR", "qWqmh", "KoAHD", "UwcNS", "oCsmT", "getBLEDeviceServices", "ixMLr", "YXQOX", "wnCLe", "鉴权失败,禁止连接", "yZEOC", "cgoIO", "vNwVH", "cYLOP", "jLhVD", "kaRhF", "oRwvA", "zKhsa", "LaHit", "JLMzY", "FMciE", "CNYxj", "ECNlf", "QVWMn", "bGfqB", "KnXkD", "ftnNy", "sYaMi", "then", "owEgC", "getTimezoneOffset", "LEbkx", "search", "XTjFC", "Knglc", "koGmO", "catch", "qkqGH", "cMuCh", "bVObu", "ljWoM", "ddKpl", "yjxnA", "ytnaN", "KiJVW", "qEZlE", "kSqmg", "deviceData", "IemSm", "Dipxt", "SgCtM", "mcvjp", "vMApI", "AOxxu", "PEYwT", "nXlbu", "NwGYz", "rCVZS", "KzkCJ", "DjaHE", "NHfVA", "UgJMJ", "deviceName", "waEXs", "mSVUN", "quHeY", "RBNEn", "LxKKC", "1204928kSbSMh", "qlXDS", "PEsAr", "pwdtype", "NuJjg", "lWznU", "Xcblp", "JBToi", "hanor", "YFjjt", "DtIPu", "every", "ApqAi", "NbQUW", "zIDOE", "OAoYo", "oWmsl", "zULXD", "type", "start_effective_time", "wenap", "AtLpr", "zSiFC", "kxRfs", "SiVkx", "JwfCr", "kfgVh", "XAAFn", " 解绑失败", "ItIOp", "cdyoK", "sQRRV", "CRSPh", "now", "dqknl", "ciefr", "NAVit", "QuNUp", "onBLEConnectionStateChange", "nTJTt", "GJTMA", "MTDlv", "IMojb", "PijqK", "UnbindRequest", "UDbgY", "EizXx", "ZGebD", "msg", "offBLEConnectionStateChange", "RZNrD", "指纹成功采集成功", "qlSey", "Hex", "OJCFF", "XzPUD", "fPOcI", "KnOuW", "qrMCQ", "CLfdM", "NiiNY", "ptHaX", "FbxgQ", "seunp", "mIDVa", "Vrucb", "YtyNd", "CTXHI", "iubrl", "GrHzq", "paJHC", "RsTwP", "vQeQD", "DqNyL", "YaoXz", "LDYog", "kNCva", "dInab", "vkvFS", "constructor", "Cnerc", "iAkdB", "result", "cpfMW", "IxCJd", "MDDFl", "aKWED", "AuWvM", "CGArF", "RPjqL", "wazpz", "YxeUX", "eRfBH", "BkNBW", "hLUgX", "ZCOzT", "deviceId", "kYMkX", "jAttw", "vliDe", "exIxJ", "KPOUN", "gFKFJ", "0000FFE0-65D0-4E20-B56A-E493541BA4E2", "errMsg", "GXpFb", "OLHpV", "HRaHZ", "rNfsg", "xUYiM", "COMNa", "jMjwk", "OGblx", "fbpuB", "hrrVJ", "QlYxH", "rEyYn", "dljxg", "eoADm", "cOMon", "WkRtK", "SGYak", "push", "pOLan", "LnNhe", "PzZtE", "UFnPX", "lqjVo", "pizsp", "BIpPR", "dXAQd", "raRPh", "VZhAw", "IhgGl", "FkzPI", "nAXts", "yRSls", "ZXVhh", "设备名称或token为空", "jsIew", "warn", "thEXE", "apply", "CHTrX", "RoWsr", "设备端取消绑定", "vGtQI", "CasdL", "IuOBA", "tsktP", "WHdSn", "pcxJj", "Yaiuw", "HeVaR", "YQCEo", "Xdqad", "xNHND", "opyJK", "hrmUQ", "jfqfo", "qHurC", "vZKvp", "MNHgV", "output", "DSXGj", "鉴权失败,蓝牙设备 ", "nwxfI", "lvIco", "pYZyK", "qvPJE", "ceaaF", "tvlFW", "WgyQt", "XiHlH", "0000FFE1-65D0-4E20-B56A-E493541BA4E2", "wJKNx", "foswi", "FcpdN", "get_property_value", "cAfRz", "aeCAl", "kQweH", "Holmz", "zVFgk", "iKTIR", "stopBluetoothDevicesDiscovery", "ULwfk", "CYkqw", "KlNFp", "startSearch缺少必要参数", "jhbhn", "ESnqp", "buffer", "CCxYp", "cvPlo", "EmQfB", "mAmwJ", "saKwa", "openBluetoothAdapter", "Uwxbb", "szIGu", "Sdckw", "BiLnM", "mYdtE", "MIqmB", "KEnWJ", "DdzZG", "蓝牙模块已初始化", "停止搜索设备失败", "zQEiP", "qrlmZ", "rbxgS", "指纹成功采集三次", "MHJZg", "WyfZf", "JyvdN", "WikrT", "closeBluetoothAdapter", "MyakS", "property_id", "lYIes", "XpEeD", "jsWLM", "FEnyp", "kIzNP", "QClBE", "AYVLb", "HBBSv", "PLocL", "uFiRh", "ZxNNw", "vZRDS", "bwVft", "hfruk", "offBLECharacteristicValueChange", "floor", "QcQIO", "end_effective_time", "kwszR", "HXcnu", "ODzuK", "WBNAA", "WlLys", "bkVcV", "zvlqo", "OJXma", "VgsaO", "Iygng", "MKaAM", "LEHQb", " 同步时间失败", "thJlZ", "okMOr", "ncHAq", "ODYBO", "actionId", "tSfGB", "GHSEO", "IkpWv", "xpbMu", "kaHSs", "pwdIdGroup", "LePoj"];
_0x5f28 = function() {
return _0x4a43b4;
};
return _0x5f28();
}
const _0x2f2912 = function() {
const _0x387a66 = _0x3d13, _0x5be154 = _0x3d13, _0x20a396 = _0x3d13, _0x3e970d = { "vITII": function(_0x400f29, _0x647733) {
return _0x400f29(_0x647733);
}, "RPjqL": _0x387a66(1249), "Xdqad": function(_0x5e4aae, _0x190e74) {
return _0x5e4aae !== _0x190e74;
}, "WLVBW": _0x5be154(884), "dInab": _0x387a66(337) };
let _0x6065d6 = !![];
return function(_0x52da20, _0x5d4c07) {
const _0x269b89 = _0x20a396, _0x159ca6 = _0x387a66, _0x462a45 = _0x5be154, _0x33e5c8 = { "SNNEy": function(_0x5a141a, _0x211063) {
return _0x3e970d["vITII"](_0x5a141a, _0x211063);
}, "NwhWo": _0x3e970d[_0x269b89(820)], "NAZlw": function(_0x370370, _0x272668) {
const _0x4f9a93 = _0x269b89;
return _0x3e970d[_0x4f9a93(886)](_0x370370, _0x272668);
}, "pJLka": _0x3e970d[_0x159ca6(489)], "mbuKJ": _0x3e970d[_0x269b89(808)] }, _0x1ac20a = _0x6065d6 ? function() {
const _0x9ce8b8 = _0x269b89, _0x842232 = _0x462a45, _0x2b1660 = _0x462a45;
if (_0x5d4c07) {
if (_0x33e5c8[_0x9ce8b8(527)](_0x33e5c8[_0x9ce8b8(435)], _0x33e5c8[_0x842232(1137)])) {
const _0xc6380c = _0x5d4c07[_0x9ce8b8(873)](_0x52da20, arguments);
return _0x5d4c07 = null, _0xc6380c;
} else _0x33e5c8["SNNEy"](_0x249819, _0x33e5c8[_0x2b1660(1227)]), _0x92dcf0[_0x9ce8b8(965)](_0xf8003);
}
} : function() {
};
return _0x6065d6 = ![], _0x1ac20a;
};
}(), _0x1f7ce2 = _0x2f2912(void 0, function() {
const _0x18d014 = _0x3d13, _0x565b45 = _0x3d13, _0x3aed6c = _0x3d13, _0x3f67a3 = {};
_0x3f67a3[_0x18d014(696)] = "(((.+)+)+)+$";
const _0x55de8c = _0x3f67a3;
return _0x1f7ce2["toString"]()["search"](_0x565b45(1011))[_0x18d014(653)]()["constructor"](_0x1f7ce2)[_0x3aed6c(695)](_0x55de8c[_0x565b45(696)]);
});
_0x1f7ce2();
const _0x5f4da8 = () => {
const _0x439b34 = _0x3d13, _0xf2f687 = _0x3d13, _0x3206f6 = _0x3d13, _0x4cd17c = { "ddOiO": function(_0x456c43, _0x25cf32) {
return _0x456c43(_0x25cf32);
}, "NfKKy": function(_0x56dcbd, _0x32d765) {
return _0x56dcbd === _0x32d765;
}, "sYaMi": _0x439b34(1036), "JKMir": _0x439b34(457), "SWEyY": function(_0x2ee39f, _0x3ec896) {
return _0x2ee39f !== _0x3ec896;
}, "nQatA": _0xf2f687(1268), "HRaHZ": _0xf2f687(405) };
return new Promise((_0x2cd665, _0x24e2cf) => {
const _0x1bc909 = _0x439b34, _0x3b69e1 = _0x439b34, _0x243672 = _0x3206f6, _0x905f45 = _0x439b34, _0x5b3be3 = _0xf2f687, _0xd594d6 = {};
_0xd594d6["nAyKa"] = _0x4cd17c[_0x1bc909(1119)];
const _0x50bb58 = _0xd594d6;
if (_0x4cd17c[_0x1bc909(540)](_0x4cd17c[_0x1bc909(312)], _0x4cd17c[_0x905f45(838)])) wx[_0x3b69e1(929)]({ "success"(_0x36c864) {
const _0x19657c = _0x243672;
_0x4cd17c[_0x19657c(1278)](_0x2cd665, _0x36c864);
}, "fail"(_0x458f3d) {
const _0x47c678 = _0x243672, _0x2b7b52 = _0x3b69e1, _0x2f449c = _0x3b69e1, _0x10351a = { "SKtqk": function(_0x1a46cf, _0x1a9a0f) {
return _0x1a46cf(_0x1a9a0f);
} };
if (_0x4cd17c["NfKKy"](_0x4cd17c[_0x47c678(690)], _0x4cd17c[_0x47c678(690)])) _0x4cd17c[_0x2b7b52(1278)](_0x24e2cf, _0x458f3d);
else {
const _0x526888 = {};
_0x526888[_0x2b7b52(835)] = "未连接蓝牙设备", _0x526888[_0x2f449c(813)] = 0, _0x10351a["SKtqk"](_0x37cc6b, _0x526888);
return;
}
} });
else {
const _0x1f22a2 = {};
_0x1f22a2[_0x1bc909(835)] = _0x50bb58["nAyKa"], _0x1f22a2[_0x5b3be3(813)] = 0, _0x3af3c6(_0x1f22a2);
return;
}
});
};
class _0x169082 {
constructor() {
__privateAdd(this, __0x169082_instances);
__privateAdd(this, _isOpenBlue, ![]);
__privateAdd(this, _blueToothDeviceInfo);
__privateAdd(this, _interVal, null);
__privateAdd(this, _isConnectStatus, ![]);
__privateAdd(this, _isauthenticateStatus, ![]);
__privateAdd(this, _authToken, "");
__privateAdd(this, _resendInterval, null);
__privateAdd(this, _bleConnectionListener, null);
__privateAdd(this, _DeviceFound);
__privateAdd(this, _changeCharacteristicFn);
const _0x33847b = _0x3d13, _0x4e3263 = _0x3d13, _0x3b5344 = _0x3d13, _0x52431c = _0x3d13, _0x4e057a = _0x3d13;
__privateSet(this, _DeviceFound, () => {
}), __privateSet(this, _changeCharacteristicFn, () => {
}), __privateSet(this, _blueToothDeviceInfo, { "bindDevice": __privateMethod(this, __0x169082_instances, bindDevice_fn)[_0x33847b(1193)](this), "writeTokenToLock": __privateMethod(this, __0x169082_instances, writeTokenToLock_fn)[_0x33847b(1193)](this), "disconnectDevice": __privateMethod(this, __0x169082_instances, disconnectDevice_fn)[_0x4e3263(1193)](this), "authenticateConnection": __privateMethod(this, __0x169082_instances, authenticateConnection_fn)[_0x33847b(1193)](this), "unbindDevice": __privateMethod(this, __0x169082_instances, unbindDevice_fn)[_0x33847b(1193)](this), "openLock": __privateMethod(this, __0x169082_instances, openLock_fn)[_0x52431c(1193)](this), "closeLock": __privateMethod(this, __0x169082_instances, closeLock_fn)["bind"](this), "addPwd": __privateMethod(this, __0x169082_instances, addPwd_fn)[_0x4e3263(1193)](this), "deletePwd": __privateMethod(this, __0x169082_instances, deletePwd_fn)[_0x4e057a(1193)](this), "addFP": __privateMethod(this, __0x169082_instances, addFingerprint_fn)[_0x4e057a(1193)](this), "addRfCard": __privateMethod(this, __0x169082_instances, addNfc_fn)["bind"](this), "lockReset": __privateMethod(this, __0x169082_instances, lockReset_fn)[_0x4e057a(1193)](this), "getAllPwd": __privateMethod(this, __0x169082_instances, getUserList_fn)["bind"](this), "getHistory": __privateMethod(this, __0x169082_instances, getLockHistory_fn)[_0x33847b(1193)](this), "getBattery": __privateMethod(this, __0x169082_instances, getBattery_fn)[_0x3b5344(1193)](this), "on": __privateMethod(this, __0x169082_instances, changeBleDeviceConnectStatus_fn)["bind"](this), "controlDevice": __privateMethod(this, __0x169082_instances, controlProperty_fn)["bind"](this), "controlAction": __privateMethod(this, __0x169082_instances, controlAction_fn)[_0x52431c(1193)](this) });
}
["initBluetooth"]() {
const _0x167e76 = _0x3d13, _0x285f60 = _0x3d13, _0x480014 = _0x3d13, _0x1cf392 = _0x3d13, _0xa8d81e = _0x3d13, _0x31da98 = { "LQVFh": _0x167e76(423), "ZGoyO": function(_0x55b6ae, _0x138320) {
return _0x55b6ae === _0x138320;
}, "owEgC": function(_0x4cc34b, _0x43656d) {
return _0x4cc34b(_0x43656d);
}, "BFibC": _0x167e76(644), "IwIJo": function(_0xdf66f0, _0x2c527e) {
return _0xdf66f0 === _0x2c527e;
}, "YxeUX": _0x480014(1330), "Cnerc": function(_0x493a0f, _0x16e2f1) {
return _0x493a0f !== _0x16e2f1;
}, "ECkZK": "dJLMm", "lfSFT": function(_0x48fd0a) {
return _0x48fd0a();
}, "iiBwb": _0x1cf392(346), "kcgJM": function(_0x3a23e8, _0x42a4da) {
return _0x3a23e8(_0x42a4da);
}, "zNhYe": _0xa8d81e(938) };
return new Promise((_0x293ce0, _0x567cc0) => {
const _0x109d09 = _0xa8d81e, _0x390d1b = _0xa8d81e, _0x1e78ca = _0x285f60, _0x593a3a = _0x1cf392, _0x4f038a = _0x285f60, _0x29fe2d = { "RwDGY": function(_0x3f8d07, _0x2d07f1) {
return _0x31da98["ZGoyO"](_0x3f8d07, _0x2d07f1);
}, "bjdtK": "XiHlH", "nEjsD": function(_0x1d9308, _0x3ab9ea) {
const _0x2d339f = _0x3d13;
return _0x31da98[_0x2d339f(692)](_0x1d9308, _0x3ab9ea);
}, "lRwje": _0x31da98["BFibC"], "VgsaO": function(_0x4e2b33, _0x4be8c2) {
const _0x173a1f = _0x3d13;
return _0x31da98[_0x173a1f(395)](_0x4e2b33, _0x4be8c2);
}, "bUjYr": _0x31da98[_0x109d09(822)], "dXAQd": _0x109d09(1287), "ZYfKQ": function(_0x4f19da, _0x233c1f) {
return _0x4f19da(_0x233c1f);
} };
if (_0x31da98[_0x390d1b(811)](_0x31da98[_0x593a3a(544)], _0x31da98[_0x593a3a(544)])) {
const _0x41ee36 = {};
_0x41ee36["msg"] = _0x31da98["LQVFh"], _0x41ee36["result"] = _0x27068d["result"], _0x5c2f37(_0x41ee36);
} else {
if (!__privateGet(this, _isOpenBlue)) _0x31da98["lfSFT"](_0x5f4da8)[_0x4f038a(691)]((_0x1e870d) => {
const _0x1903a9 = { "JBgqc": function(_0x5965ca, _0x5d7662) {
return _0x5965ca(_0x5d7662);
}, "WhwjG": function(_0x4ee892, _0x4035dd) {
return _0x29fe2d["RwDGY"](_0x4ee892, _0x4035dd);
}, "VvhoZ": _0x29fe2d["bjdtK"] };
__privateSet(this, _isOpenBlue, !![]), wx["onBluetoothAdapterStateChange"]((_0x2b35d0) => {
const _0x4b7065 = _0x3d13, _0x274fa6 = _0x3d13, _0x5b0db7 = _0x3d13, _0x4c20d7 = _0x3d13, _0xaf7b69 = { "dDQZI": function(_0x46cb29, _0x382f97) {
return _0x1903a9["JBgqc"](_0x46cb29, _0x382f97);
}, "wnawY": function(_0x192fb6, _0x301c12) {
return _0x1903a9["JBgqc"](_0x192fb6, _0x301c12);
} };
_0x1903a9[_0x4b7065(1275)](_0x274fa6(951), _0x5b0db7(951)) ? !_0x2b35d0[_0x5b0db7(1114)] && (_0x4c20d7(904) !== _0x1903a9["VvhoZ"] ? _0xaf7b69[_0x274fa6(1240)](_0x1d5c1d, _0x15940c) : __privateSet(this, _isOpenBlue, ![])) : _0xaf7b69[_0x4b7065(1204)](_0x35fb4c, _0x7dbe3e);
}), _0x29fe2d["nEjsD"](_0x293ce0, _0x1e870d);
})[_0x593a3a(699)]((_0xa91fbb) => {
const _0x2571a8 = _0x109d09, _0x3886f9 = _0x1e78ca, _0x593bed = _0x1e78ca;
if (_0x29fe2d[_0x2571a8(977)](_0x29fe2d["bUjYr"], _0x29fe2d[_0x2571a8(861)])) {
const _0x482633 = {};
_0x482633["errMsg"] = _0x29fe2d[_0x3886f9(463)], _0x482633["result"] = 0, _0x482633[_0x593bed(1130)] = _0x3bd159, _0x37dd71(_0x482633);
} else _0x29fe2d["ZYfKQ"](_0x567cc0, _0xa91fbb);
});
else {
if (_0x31da98["Cnerc"](_0x31da98["iiBwb"], _0x390d1b(1120))) _0x31da98[_0x390d1b(1220)](_0x293ce0, _0x31da98[_0x390d1b(1302)]);
else {
const _0x17e973 = _0x31927c[_0x109d09(873)](_0x2995e1, arguments);
return _0x602918 = null, _0x17e973;
}
}
}
});
}
[_0x132596(1093)](_0x3482b6, _0x12068a = 20) {
const _0x793215 = _0x132596, _0x3c552b = _0x132596, _0x2e6537 = _0x132596, _0x591376 = _0x132596, _0x3459d7 = _0x132596, _0x3b2d81 = { "klonK": function(_0x2c6687, _0x3834de) {
return _0x2c6687(_0x3834de);
}, "qoLNZ": _0x793215(354), "XpEeD": function(_0x374ae9, _0x46729f) {
return _0x374ae9 === _0x46729f;
}, "ODzuK": _0x793215(628), "tNwik": _0x793215(700), "MnZrD": function(_0x4a0e94, _0x4f6416) {
return _0x4a0e94 == _0x4f6416;
}, "fbpuB": _0x591376(856), "aYMsJ": _0x793215(1285), "lfvMA": function(_0x2738f0, _0x585d66) {
return _0x2738f0 !== _0x585d66;
}, "plZeq": _0x793215(1251), "Irmzb": _0x2e6537(493), "TxQaY": _0x3459d7(1259), "XrOsU": _0x793215(1288), "OwwKg": _0x2e6537(425), "KnXkD": _0x3c552b(920) };
if (!_0x3482b6) throw new Error(_0x3b2d81[_0x591376(688)]);
this[_0x3c552b(1236)]()[_0x793215(691)](() => {
const _0x35ace2 = _0x3c552b, _0x22e8b6 = _0x3c552b, _0x53164f = _0x591376, _0x5b1870 = _0x591376, _0x3301c6 = _0x2e6537, _0x284cc2 = { "kDLkd": function(_0x4659e0, _0xa6fa13) {
return _0x3b2d81["XpEeD"](_0x4659e0, _0xa6fa13);
}, "NuAIl": _0x3b2d81[_0x35ace2(971)], "MmYjZ": _0x3b2d81["tNwik"], "UncUP": function(_0x15e6bc, _0x3a5b7d) {
const _0x3cf00c = _0x35ace2;
return _0x3b2d81[_0x3cf00c(1199)](_0x15e6bc, _0x3a5b7d);
}, "DwTte": _0x3b2d81[_0x22e8b6(844)], "slCrb": function(_0x8d9db7, _0x24b346) {
return _0x3b2d81["MnZrD"](_0x8d9db7, _0x24b346);
}, "xUYiM": "EZRBB55EWH", "ceaaF": _0x3b2d81["aYMsJ"], "zIDOE": function(_0x17c43c, _0x2cbabe) {
const _0x1a4470 = _0x35ace2;
return _0x3b2d81[_0x1a4470(387)](_0x17c43c, _0x2cbabe);
}, "eEETB": _0x35ace2(458), "dBZOW": function(_0x172ca6, _0x38ca6a) {
const _0x238783 = _0x53164f;
return _0x3b2d81[_0x238783(1199)](_0x172ca6, _0x38ca6a);
}, "ApgMA": _0x3b2d81[_0x22e8b6(1013)], "jUDUI": _0x3b2d81[_0x3301c6(1296)], "IAseP": _0x3b2d81["TxQaY"], "yhbbm": _0x3b2d81[_0x5b1870(1175)] };
_0x3b2d81[_0x35ace2(952)](_0x3b2d81[_0x3301c6(659)], _0x3b2d81[_0x22e8b6(659)]) ? wx[_0x22e8b6(948)]()[_0x22e8b6(691)](() => {
const _0x141d5c = _0x3301c6, _0x589274 = _0x22e8b6, _0x2e64d3 = _0x35ace2, _0x3fd647 = _0x3301c6, _0x13c343 = _0x3301c6, _0x2efa94 = { "nIAyx": function(_0x3aa9d7, _0x277eba) {
const _0x2d9a35 = _0x3d13;
return _0x284cc2[_0x2d9a35(1307)](_0x3aa9d7, _0x277eba);
}, "qlSey": _0x284cc2[_0x141d5c(1023)], "PNMRp": _0x284cc2["MmYjZ"], "KGRUd": function(_0x9bd4b6, _0x2f169) {
const _0x5ad144 = _0x141d5c;
return _0x284cc2[_0x5ad144(1231)](_0x9bd4b6, _0x2f169);
}, "PRbLj": function(_0x361054) {
return _0x361054();
}, "zqsTH": _0x284cc2["DwTte"], "dxQdD": function(_0x4916ff, _0x2973fa) {
const _0xdd56ea = _0x141d5c;
return _0x284cc2[_0xdd56ea(324)](_0x4916ff, _0x2973fa);
}, "bCfGo": _0x284cc2[_0x589274(840)], "wqjcw": function(_0xd8150b, _0x1eda9f) {
return _0xd8150b(_0x1eda9f);
}, "JhKYA": "搜索设备超时,未搜索到设备", "apTpH": _0x284cc2[_0x589274(901)], "qrMCQ": function(_0xa32b8c, _0x16cec9) {
const _0x54b6e6 = _0x141d5c;
return _0x284cc2[_0x54b6e6(745)](_0xa32b8c, _0x16cec9);
}, "KYrYS": _0x284cc2[_0x3fd647(541)], "wjRyO": _0x2e64d3(703), "cugWc": function(_0x9ec44e, _0x513420) {
return _0x284cc2["dBZOW"](_0x9ec44e, _0x513420);
}, "bRTnw": _0x284cc2["ApgMA"], "IemSm": _0x284cc2[_0x589274(1121)], "EpRNf": _0x284cc2[_0x141d5c(335)], "RZNrD": _0x284cc2[_0x589274(1325)] };
wx[_0x141d5c(929)]()[_0x2e64d3(691)](() => {
const _0x5e43e1 = _0x2e64d3, _0x1fa239 = _0x13c343, _0x2a0bf1 = _0x2e64d3, _0x382b86 = _0x141d5c, _0x36011c = _0x141d5c, _0x81f6e7 = { "qAMpo": function(_0x403508, _0x171b5c) {
return _0x2efa94["KGRUd"](_0x403508, _0x171b5c);
}, "kwcjs": function(_0x2c1995) {
const _0x59052b = _0x3d13;
return _0x2efa94[_0x59052b(1123)](_0x2c1995);
}, "QzAWB": _0x2efa94["zqsTH"], "OJCFF": function(_0x2ee3ed, _0xc1e2d5) {
const _0x1138b1 = _0x3d13;
return _0x2efa94[_0x1138b1(363)](_0x2ee3ed, _0xc1e2d5);
}, "BLKso": function(_0x53e747, _0x11c638) {
return _0x2efa94["dxQdD"](_0x53e747, _0x11c638);
}, "HaCQe": _0x2efa94[_0x5e43e1(611)], "nMuzz": function(_0x1cfea4, _0x13c5c5) {
const _0x503cd4 = _0x5e43e1;
return _0x2efa94[_0x503cd4(662)](_0x1cfea4, _0x13c5c5);
}, "TuBwn": function(_0x3dab01, _0x3ca3e6) {
return _0x2efa94["wqjcw"](_0x3dab01, _0x3ca3e6);
}, "rnfWx": _0x2efa94[_0x1fa239(658)], "onkfw": function(_0x91361, _0x14a573) {
return _0x2efa94["wqjcw"](_0x91361, _0x14a573);
}, "bXkXW": function(_0x39c462, _0x12d5be) {
return _0x39c462(_0x12d5be);
}, "cOMon": _0x2efa94[_0x5e43e1(1094)], "ZEIFN": function(_0x90cd1a, _0x5849fc) {
const _0x4ed74d = _0x5e43e1;
return _0x2efa94[_0x4ed74d(789)](_0x90cd1a, _0x5849fc);
}, "mcvjp": _0x2efa94[_0x382b86(603)], "NQbMR": _0x2efa94["wjRyO"], "Eekmi": function(_0x5d782c, _0x4b6d7e) {
return _0x2efa94["cugWc"](_0x5d782c, _0x4b6d7e);
}, "uXFjY": _0x2efa94[_0x5e43e1(1317)], "TVaxV": _0x2efa94[_0x2a0bf1(711)], "XAAFn": function(_0x5da676, _0xea7ee9) {
return _0x5da676 === _0xea7ee9;
}, "JLyCv": _0x1fa239(1115) };
_0x2efa94[_0x36011c(445)] === _0x5e43e1(1259) ? wx["startBluetoothDevicesDiscovery"]({ "services": [_0x2efa94[_0x382b86(781)]], "allowDuplicatesKey": !![], "success": () => {
const _0x43720c = _0x5e43e1, _0x3724ec = _0x36011c, _0xe26763 = _0x1fa239, _0x3371b1 = _0x36011c, _0x43664c = _0x2a0bf1, _0x2aa8a9 = { "Cdneh": function(_0x3e92e7, _0x37aa7a) {
return _0x81f6e7["onkfw"](_0x3e92e7, _0x37aa7a);
}, "WHdSn": function(_0x52fcc9, _0x10d4a1) {
const _0xb72fbb = _0x3d13;
return _0x81f6e7[_0xb72fbb(420)](_0x52fcc9, _0x10d4a1);
}, "MYAUC": _0x81f6e7[_0x43720c(850)], "Xcblp": function(_0x2214e6, _0x74542d) {
const _0x879679 = _0x43720c;
return _0x81f6e7[_0x879679(444)](_0x2214e6, _0x74542d);
}, "gcqWN": _0x81f6e7[_0x43720c(714)], "bpJES": _0x81f6e7["NQbMR"], "zMkpO": function(_0x55f114, _0x220eba) {
return _0x81f6e7["Eekmi"](_0x55f114, _0x220eba);
}, "xcLLn": function(_0x4c3c7d, _0x55c7f0) {
return _0x4c3c7d === _0x55c7f0;
}, "aKWED": _0x43720c(934), "eRDIO": _0x81f6e7[_0x3371b1(643)], "ELZqt": _0x81f6e7[_0x43664c(1337)] };
if (_0x81f6e7[_0x43664c(758)](_0x3724ec(1063), _0x3371b1(1063))) {
let _0x5ec32a = {};
__privateSet(this, _DeviceFound, (_0x4dbcc8) => {
const _0xa18ecf = _0x43664c, _0x24319e = _0x43720c, _0x1cf789 = _0x3371b1, _0x46aa1e = _0x43720c, _0x33a662 = { "MIqmB": function(_0x5711f9, _0x574e7) {
const _0x3172a0 = _0x3d13;
return _0x81f6e7[_0x3172a0(1024)](_0x5711f9, _0x574e7);
}, "UivJq": function(_0x46de68) {
return _0x81f6e7["kwcjs"](_0x46de68);
} };
if (_0xa18ecf(856) !== _0x81f6e7["QzAWB"]) _0x6ede93++, _0x33a662[_0x24319e(935)](_0x45b69d, 2) && (_0x1fcaf6 = 0, _0x33a662[_0x1cf789(333)](_0x33c020));
else {
const _0xe982d6 = new Uint8Array(_0x4dbcc8[_0xa18ecf(554)][0][_0x1cf789(453)])[2];
if (_0x81f6e7[_0x46aa1e(785)](_0xe982d6, 32) || _0x81f6e7[_0x1cf789(1286)](_0xe982d6, 33)) {
let _0x58ea8d = getBleProductId(_0x4dbcc8["devices"][0][_0x1cf789(453)]);
_0x58ea8d == _0x81f6e7[_0x24319e(434)] && (_0x5ec32a[_0x4dbcc8["devices"][0][_0x1cf789(827)]] = Object[_0x46aa1e(393)](_0x4dbcc8[_0xa18ecf(554)][0], { "productId": _0x81f6e7[_0x1cf789(475)](getBleProductId, _0x4dbcc8[_0x24319e(554)][0]["advertisData"]) }));
}
}
}), wx[_0xe26763(1135)](__privateGet(this, _DeviceFound));
let _0x5c316c = 0;
__privateSet(this, _interVal, setInterval(() => {
const _0x2b6adc = _0x3371b1, _0x1a95c9 = _0x43720c, _0x48a445 = _0x3371b1, _0x305474 = _0xe26763, _0x52f41c = _0x43720c, _0x1e2a74 = { "qWqmh": function(_0x5d7b51, _0x5a2972) {
return _0x5d7b51(_0x5a2972);
}, "MyakS": function(_0x2b572c, _0x24131e) {
const _0x5d194e = _0x3d13;
return _0x2aa8a9[_0x5d194e(881)](_0x2b572c, _0x24131e);
}, "VZZyS": function(_0x554573, _0x1e87b8) {
return _0x2aa8a9["Cdneh"](_0x554573, _0x1e87b8);
} };
if (_0x2aa8a9["MYAUC"] !== _0x2aa8a9["MYAUC"]) _0x58ff98["openBluetoothAdapter"]({ "success"(_0x46a84f) {
const _0x25e615 = _0x3d13;
_0x1e2a74[_0x25e615(664)](_0x367110, _0x46a84f);
}, "fail"(_0x4f23df) {
const _0x2eabb7 = _0x3d13;
_0x1e2a74[_0x2eabb7(949)](_0x32a267, _0x4f23df);
} });
else {
Object["values"](_0x5ec32a)[_0x2b6adc(626)] > 0 && (_0x2aa8a9[_0x2b6adc(737)](_0x2aa8a9[_0x2b6adc(1206)], _0x2aa8a9["bpJES"]) ? _0x3482b6[_0x48a445(1328)](Object[_0x52f41c(1305)](_0x5ec32a)) : _0x1e2a74[_0x1a95c9(1339)](_0x2706a5, _0x383aae));
_0x5c316c++;
if (_0x2aa8a9[_0x305474(1104)](_0x5c316c, _0x12068a)) {
if (_0x2aa8a9[_0x1a95c9(627)](_0x2aa8a9[_0x48a445(817)], _0x2aa8a9[_0x52f41c(1007)])) _0x2aa8a9[_0x1a95c9(1276)](_0x370b7a, _0x23f39d);
else {
_0x2aa8a9[_0x52f41c(1276)](clearInterval, __privateGet(this, _interVal));
const _0x174b72 = {};
_0x174b72[_0x2b6adc(835)] = _0x2aa8a9["ELZqt"], _0x3482b6[_0x48a445(617)](_0x174b72), this[_0x305474(431)]();
}
}
}
}, 1e3));
} else _0x39649f = 0, _0x81f6e7[_0xe26763(475)](_0xc01b1b, _0x4831f1), _0x81f6e7[_0x43720c(1293)](_0x50f655, { "errMsg": _0x81f6e7[_0x43720c(492)] });
}, "fail": (_0x49652d) => {
const _0x5af6cc = _0x2a0bf1, _0x581053 = _0x1fa239, _0x3f646b = _0x5e43e1, _0x3b9f3c = _0x382b86;
if (_0x2efa94["nIAyx"](_0x2efa94[_0x5af6cc(783)], _0x2efa94["PNMRp"])) {
const _0x38cf5d = {};
_0x38cf5d[_0x5af6cc(779)] = _0x81f6e7[_0x581053(606)], _0x38cf5d[_0x3f646b(813)] = _0x5bc7c9["result"], _0x38cf5d[_0x3f646b(479)] = _0x424b33["result"], _0x2cf1b2(_0x38cf5d);
} else _0x3482b6[_0x3b9f3c(617)](_0x49652d);
} }) : (_0xb05180 = 0, _0x88fce8());
});
}) : _0x3b2d81[_0x5b1870(1041)](_0x4203a4, { "errMsg": _0x3b2d81[_0x3301c6(1035)], "result": 0 });
})[_0x2e6537(699)]((_0x55db73) => {
const _0x16699e = _0x3c552b;
_0x3482b6[_0x16699e(617)](_0x55db73);
});
}
[_0x132596(329)]({ productId = _0x132596(349), deviceName: _0x202e4c }) {
const _0x31260e = _0x339c7d, _0x4897ad = _0x5b82df, _0x46d83e = _0x5b82df, _0x36cc71 = _0x339c7d, _0x585548 = _0x339c7d, _0x3c4404 = { "moOPv": function(_0x306b9b, _0x2a291e) {
return _0x306b9b(_0x2a291e);
}, "MTDlv": function(_0x265b4f, _0x75d9cd) {
return _0x265b4f(_0x75d9cd);
}, "mZZfb": function(_0x4a8160, _0x51becf, _0x5f1981) {
return _0x4a8160(_0x51becf, _0x5f1981);
}, "eQBkN": function(_0x3fab4d, _0x2c4e6f) {
return _0x3fab4d(_0x2c4e6f);
}, "VRydJ": _0x31260e(907), "DtIPu": _0x4897ad(1243), "fSDnB": _0x31260e(1058), "QVWMn": function(_0x5d17b8, _0x938f7a) {
return _0x5d17b8 == _0x938f7a;
}, "cDWVo": "搜索设备超时,未搜索到设备", "IhiYQ": function(_0x1ccefc, _0x332873) {
return _0x1ccefc !== _0x332873;
}, "hGwQw": _0x36cc71(774), "wcHVm": _0x46d83e(1031) };
return new Promise((_0x24e209, _0x1808ab) => {
const _0xfad74e = _0x4897ad, _0x306f7f = _0x4897ad, _0x195856 = _0x46d83e, _0x33e3e0 = _0x585548, _0x4badff = _0x46d83e, _0x2e7853 = { "KyFPj": function(_0x5907a1, _0x4735a6, _0x2cc460) {
const _0x1e74f2 = _0x3d13;
return _0x3c4404[_0x1e74f2(466)](_0x5907a1, _0x4735a6, _0x2cc460);
}, "jXTRO": function(_0x485112, _0x4a8d51) {
return _0x3c4404["eQBkN"](_0x485112, _0x4a8d51);
}, "FIJQi": _0x3c4404[_0xfad74e(597)], "vqYEy": function(_0x466fd5, _0x295c31) {
return _0x466fd5 !== _0x295c31;
}, "bIKMI": _0x3c4404[_0x306f7f(741)], "OSPXf": _0x3c4404[_0xfad74e(496)], "pizsp": function(_0xeedd6a, _0x4915a9) {
const _0x27a4c1 = _0x306f7f;
return _0x3c4404[_0x27a4c1(686)](_0xeedd6a, _0x4915a9);
}, "NmHVr": _0x3c4404[_0x195856(588)] };
if (_0x3c4404["IhiYQ"](_0x3c4404[_0x306f7f(1269)], _0x3c4404[_0x195856(1283)])) {
if (!_0x202e4c) {
const _0x581f33 = {};
_0x581f33["errMsg"] = _0x33e3e0(1329), _0x581f33["result"] = 0, _0x1808ab(_0x581f33);
return;
}
this[_0x195856(1236)]()[_0x4badff(691)](() => {
const _0x2d06b5 = _0x195856, _0x2d6ed6 = _0x195856, _0x412367 = _0x33e3e0, _0xdc7446 = _0xfad74e, _0x7b9125 = { "ttPPZ": function(_0x3b5550, _0x55f3d5) {
return _0x3b5550(_0x55f3d5);
}, "NqgLv": function(_0x8298d8, _0xe1b9d) {
const _0x1113d3 = _0x3d13;
return _0x2e7853[_0x1113d3(859)](_0x8298d8, _0xe1b9d);
}, "XMbrV": function(_0x1d1f03, _0x794a1f) {
return _0x2e7853["vqYEy"](_0x1d1f03, _0x794a1f);
}, "IEeLG": _0x2e7853[_0x2d06b5(1071)], "kYnxP": _0x2d6ed6(1288) };
wx[_0x2d06b5(948)]()[_0x412367(691)](() => {
const _0x5cd059 = _0x412367, _0x3d36af = _0x2d6ed6, _0x54bbb6 = _0xdc7446, _0x1fcf76 = { "uxHfx": function(_0x2a60d6, _0x33a045) {
return _0x2a60d6 === _0x33a045;
}, "dcVWh": "aEQKp", "TYhmU": function(_0x5e4bb1, _0x1daf57, _0x5cb4a3) {
const _0x23f16a = _0x3d13;
return _0x2e7853[_0x23f16a(328)](_0x5e4bb1, _0x1daf57, _0x5cb4a3);
}, "pwRjJ": function(_0x208143, _0x39ce5c) {
return _0x2e7853["jXTRO"](_0x208143, _0x39ce5c);
}, "fknxe": function(_0x428335, _0x58c734) {
return _0x428335 !== _0x58c734;
}, "FOElE": _0x2e7853["FIJQi"], "oRwvA": _0x5cd059(484), "thJlZ": function(_0x522a60, _0x1eb371) {
return _0x522a60(_0x1eb371);
} };
_0x2e7853[_0x5cd059(1055)](_0x2e7853["bIKMI"], _0x2e7853["OSPXf"]) ? wx["openBluetoothAdapter"]()[_0x5cd059(691)](() => {
const _0x51ed44 = _0x54bbb6, _0x148fc6 = _0x54bbb6, _0x440628 = _0x54bbb6, _0x2a8913 = _0x5cd059, _0x1b1a1e = _0x3d36af, _0x1be326 = { "KAzeS": function(_0x492a45, _0x2f5d33) {
return _0x7b9125["ttPPZ"](_0x492a45, _0x2f5d33);
}, "oCsmT": _0x51ed44(583), "KuVee": function(_0xac80ee, _0x7743b7) {
const _0xfd0d98 = _0x51ed44;
return _0x7b9125[_0xfd0d98(1336)](_0xac80ee, _0x7743b7);
}, "bwhfl": function(_0x1a2c5f, _0x333059) {
const _0x3592e6 = _0x51ed44;
return _0x7b9125[_0x3592e6(1163)](_0x1a2c5f, _0x333059);
}, "GJTMA": _0x148fc6(1279), "WstZi": _0x7b9125[_0x440628(519)], "saKwa": function(_0x2343e6, _0x1102c6) {
return _0x2343e6(_0x1102c6);
}, "FncYl": function(_0x5869dd, _0x1b3219) {
const _0x459ef0 = _0x440628;
return _0x7b9125[_0x459ef0(542)](_0x5869dd, _0x1b3219);
} };
if (_0x440628(671) === "wnCLe") {
console[_0x2a8913(1168)](_0x2a8913(379) + _0x202e4c);
let _0x1ee347 = null, _0x3a83d9 = 0;
wx["startBluetoothDevicesDiscovery"]({ "services": [_0x7b9125["kYnxP"]], "success": () => {
const _0x5d4a8e = _0x440628, _0x571c6c = _0x440628, _0x52af3a = _0x440628, _0xcb3fcb = _0x440628;
_0x1fcf76[_0x5d4a8e(1254)](_0x1fcf76[_0x5d4a8e(630)], _0x1fcf76[_0x52af3a(630)]) ? (_0x1ee347 = _0x1fcf76[_0x52af3a(510)](setInterval, () => {
const _0x587bfc = _0x52af3a, _0x4cdcf0 = _0x571c6c, _0x2fd632 = _0x571c6c, _0x44f62e = _0x571c6c, _0x5c83f9 = { "uoXro": function(_0x2becbc, _0xd34833) {
const _0x5cebfa = _0x3d13;
return _0x1be326[_0x5cebfa(376)](_0x2becbc, _0xd34833);
}, "dtKRW": _0x1be326[_0x587bfc(667)] };
_0x3a83d9++;
if (_0x1be326[_0x4cdcf0(1004)](_0x3a83d9, 60)) {
if (_0x1be326["bwhfl"](_0x2fd632(1279), _0x1be326[_0x2fd632(771)])) {
_0x5c83f9[_0x4cdcf0(601)](_0x36d20f, { "errMsg": _0x5c83f9["dtKRW"], "result": 0 });
return;
} else _0x3a83d9 = 0, clearInterval(_0x1ee347), _0x1be326["KAzeS"](_0x1808ab, { "errMsg": _0x1be326[_0x44f62e(1001)] });
}
}, 1e3), __privateSet(this, _DeviceFound, (_0x45f25c) => {
const _0x1b9c4b = _0xcb3fcb, _0x51c245 = _0x571c6c, _0x2daa63 = _0x5d4a8e, _0x301041 = _0xcb3fcb, _0x798b00 = _0x52af3a, _0x3d32b9 = new Uint8Array(_0x45f25c[_0x1b9c4b(554)][0][_0x1b9c4b(453)])[2];
if (_0x1be326[_0x1b9c4b(1004)](_0x3d32b9, 34) && matchDevcie("" + productId + _0x202e4c, _0x45f25c["devices"][0][_0x2daa63(453)])) {
_0x3a83d9 = 0, _0x1be326[_0x1b9c4b(928)](clearInterval, _0x1ee347), console[_0x1b9c4b(1168)](_0x798b00(422) + _0x202e4c + _0x798b00(1176) + _0x45f25c["devices"][0][_0x2daa63(827)]);
const _0xbe9e36 = {};
_0xbe9e36[_0x1b9c4b(1298)] = productId, _0xbe9e36[_0x51c245(725)] = _0x202e4c;
let _0x4f12f0 = Object[_0x798b00(393)](_0x45f25c[_0x301041(554)][0], _0xbe9e36);
_0x1be326[_0x1b9c4b(573)](_0x24e209, _0x4f12f0), wx[_0x798b00(417)](__privateGet(this, _DeviceFound)), __privateSet(this, _DeviceFound, () => {
}), wx[_0x2daa63(916)]();
}
}), wx[_0x5d4a8e(1135)](__privateGet(this, _DeviceFound))) : _0x311cb9(_0x67aff);
}, "fail": (_0x3953ad) => {
const _0x2d9143 = _0x440628, _0x9e2d0b = _0x1b1a1e, _0x5d6561 = { "fPOcI": function(_0x53a208, _0x2fd3c9) {
const _0x57b68c = _0x3d13;
return _0x1fcf76[_0x57b68c(1242)](_0x53a208, _0x2fd3c9);
} };
_0x1fcf76[_0x2d9143(336)](_0x1fcf76[_0x2d9143(616)], _0x1fcf76[_0x2d9143(616)]) ? (_0x25b945[_0x9e2d0b(1168)](_0x2d9143(1012), _0x3aaebd), _0x5d6561[_0x2d9143(787)](_0x347ec4, _0x4c5d69)) : _0x1fcf76["pwRjJ"](_0x1808ab, _0x3953ad);
} });
} else _0x36d98f[_0x440628(1168)](_0x1fcf76[_0x2a8913(679)], _0x2d57c3), _0x1fcf76[_0x51ed44(982)](_0x31519a, _0x3cd0e8);
}) : _0x7b9125["ttPPZ"](_0x11cd88, _0x16fab1);
});
})[_0x33e3e0(699)]((_0x14393e) => {
const _0x14431b = _0x306f7f;
_0x3c4404[_0x14431b(576)](_0x1808ab, _0x14393e);
});
} else _0x3c4404[_0x33e3e0(772)](_0x26fd9f, _0x4ae30d);
});
}
["stopSearch"]() {
const _0xad1873 = _0x339c7d, _0x271406 = _0x339c7d, _0x263812 = _0x5b82df, _0x299446 = _0x339c7d, _0x482850 = _0x5b82df, _0x1b5541 = { "rLWql": function(_0x3f6c91, _0x3d9dfb) {
return _0x3f6c91 === _0x3d9dfb;
}, "JTwKb": _0xad1873(1208), "vqAHd": _0x271406(674), "HODER": _0x263812(1132), "zSiFC": "停止搜索设备失败", "DChin": function(_0x4a9b52, _0x28ee5b) {
return _0x4a9b52(_0x28ee5b);
} };
_0x1b5541[_0xad1873(1212)](clearInterval, __privateGet(this, _interVal)), wx[_0x271406(417)](__privateGet(this, _DeviceFound)), __privateSet(this, _DeviceFound, () => {
}), wx[_0x263812(916)]()[_0x299446(691)]((_0x1e2848) => {
const _0x1c134d = _0x482850, _0x22934e = _0x299446, _0x516c99 = _0x299446, _0x1c8108 = _0x263812, _0x2dc143 = { "EqPyj": function(_0x485e7d, _0x404119) {
return _0x485e7d(_0x404119);
}, "FcpdN": _0x1c134d(1050) };
if (_0x1b5541[_0x22934e(536)](_0x1b5541[_0x516c99(649)], _0x1b5541["vqAHd"])) {
_0x2dc143[_0x1c8108(1216)](_0x36b31d, { "errMsg": _0x2dc143[_0x1c8108(908)], "result": 0 });
return;
} else console[_0x22934e(871)](_0x1b5541["HODER"]);
})[_0x271406(699)]((_0x4b8993) => {
const _0x1d6b9f = _0x299446, _0x59ea08 = _0x299446;
console[_0x1d6b9f(1130)](_0x1b5541[_0x59ea08(753)], _0x4b8993);
});
}
["connectDevice"](_0x32ca50) {
const _0x3ebe34 = _0x132596, _0x247825 = _0x339c7d, _0x3f2327 = _0x5b82df, _0x34e092 = _0x339c7d, _0x4a28ca = _0x339c7d, _0x40317a = { "dIdqs": function(_0x424968, _0x4b4eca) {
return _0x424968(_0x4b4eca);
}, "SGZlV": function(_0x5a363a, _0x32f9b8) {
return _0x5a363a(_0x32f9b8);
}, "icnMR": _0x3ebe34(457), "SiVkx": _0x3ebe34(486), "Fmpjf": _0x3f2327(834), "paJHC": _0x3ebe34(561), "vkvFS": _0x4a28ca(761), "TFCGp": _0x34e092(313), "BiLnM": _0x4a28ca(583), "DlNNb": "KJixI", "zOvae": function(_0x3aa221, _0x22624e) {
return _0x3aa221 !== _0x22624e;
}, "LggIr": "oWmsl", "tMZBS": function(_0x1fdef9, _0x400395) {
return _0x1fdef9(_0x400395);
} };
return new Promise((_0x2097eb, _0x54b343) => {
const _0x483815 = _0x34e092, _0x34c53a = _0x247825, _0x5f06f7 = _0x3ebe34, _0x4130d5 = _0x4a28ca, _0x4e2284 = { "KEnWJ": function(_0x32efe5, _0x4e9945) {
const _0x56226a = _0x3d13;
return _0x40317a[_0x56226a(1179)](_0x32efe5, _0x4e9945);
}, "sETeW": _0x40317a["icnMR"], "TwQOM": _0x40317a[_0x483815(755)], "ebaTN": "tlEPv", "SczRh": function(_0x4adf5, _0x52e7c7) {
return _0x4adf5(_0x52e7c7);
}, "iAkdB": function(_0x8111ff, _0x141e2a) {
return _0x8111ff - _0x141e2a;
}, "SIyyx": "未找到该动作", "jAttw": _0x40317a["Fmpjf"], "vNwVH": _0x40317a[_0x483815(801)], "wEYBj": _0x40317a[_0x34c53a(809)], "KjmOx": _0x40317a["TFCGp"], "PEsAr": _0x40317a[_0x483815(933)], "gFKFJ": function(_0x53076d, _0x4b929d) {
return _0x53076d !== _0x4b929d;
}, "MlRSh": _0x5f06f7(1015), "vZRaC": _0x40317a["DlNNb"] };
if (_0x40317a["zOvae"](_0x5f06f7(747), _0x40317a[_0x34c53a(560)])) {
_0x4e2284["KEnWJ"](_0xa5599b, { "errMsg": _0x4e2284[_0x34c53a(474)], "result": 0 });
return;
} else {
if (!_0x32ca50[_0x34c53a(827)]) {
const _0x1e7abd = {};
_0x1e7abd[_0x5f06f7(835)] = _0x483815(378), _0x1e7abd[_0x483815(813)] = 0, _0x40317a["tMZBS"](_0x54b343, _0x1e7abd);
return;
}
this["initBluetooth"]()[_0x34c53a(691)]((_0x5cba57) => {
const _0xd040c2 = _0x34c53a, _0xb2163c = _0x4130d5, _0xceaac9 = _0x5f06f7, _0x4aa206 = _0x5f06f7, _0x253648 = _0x5f06f7, _0x437a61 = { "rCVZS": _0x4e2284[_0xd040c2(553)], "dEwtk": function(_0x3f4599, _0x5866bf) {
return _0x4e2284["SczRh"](_0x3f4599, _0x5866bf);
}, "GXpFb": function(_0x23ba8e, _0x491b04) {
const _0x50ee9b = _0xd040c2;
return _0x4e2284[_0x50ee9b(812)](_0x23ba8e, _0x491b04);
}, "DhhxZ": _0x4e2284[_0xb2163c(485)], "bHhSZ": function(_0x54a974, _0x4776d8) {
return _0x54a974 === _0x4776d8;
}, "ARlsM": _0xb2163c(1009), "zYYrF": _0x4e2284[_0x4aa206(829)], "HDwXy": _0x4e2284[_0xd040c2(675)], "ZCOzT": _0x4e2284[_0xceaac9(1244)], "hcFRA": _0x4e2284[_0x4aa206(1280)], "xARoM": _0x4e2284[_0x4aa206(733)], "XHgpy": function(_0x5691ed, _0x25c6f0) {
const _0x1a3e04 = _0x253648;
return _0x4e2284[_0x1a3e04(833)](_0x5691ed, _0x25c6f0);
}, "bpBAk": _0x4e2284[_0xb2163c(468)], "HXklR": function(_0x4bb42d, _0x956e1f) {
const _0x182677 = _0x4aa206;
return _0x4e2284[_0x182677(936)](_0x4bb42d, _0x956e1f);
} };
_0x253648(572) !== _0x4e2284[_0xd040c2(1241)] ? _0x4e2284[_0xb2163c(936)](_0x191e99, _0x24209e) : (console[_0xd040c2(1168)]("连接蓝牙设备 " + (__privateGet(this, _blueToothDeviceInfo)["deviceName"] || _0x32ca50["deviceId"]) + _0x4aa206(1225)), wx[_0x253648(1082)]({ "deviceId": _0x32ca50[_0x4aa206(827)], "success": () => {
const _0x24472f = _0x253648, _0x37ad48 = _0x253648, _0x5eb1e1 = _0xd040c2, _0x1ac075 = _0xd040c2, _0x3c7d32 = _0x253648, _0x158323 = { "wKkmF": function(_0x6886f, _0x37c0ce) {
const _0x45abe5 = _0x3d13;
return _0x437a61[_0x45abe5(836)](_0x6886f, _0x37c0ce);
}, "NbQUW": function(_0x4e7db5, _0x1f40ed) {
return _0x4e7db5(_0x1f40ed);
}, "SgCtM": _0x437a61["DhhxZ"], "dqEVj": function(_0x29e5a3, _0xc6a553) {
const _0x1c6120 = _0x3d13;
return _0x437a61[_0x1c6120(1161)](_0x29e5a3, _0xc6a553);
}, "GGynN": _0x437a61[_0x24472f(381)], "eApdT": _0x437a61[_0x37ad48(1019)], "gNJmP": _0x437a61[_0x5eb1e1(1203)], "aofmB": _0x437a61[_0x5eb1e1(826)], "bGfqB": _0x437a61["hcFRA"], "IuOBA": function(_0x525ee5, _0x539f0a) {
return _0x525ee5(_0x539f0a);
}, "zfKcj": _0x437a61[_0x1ac075(1107)] };
if (_0x437a61[_0x1ac075(503)](_0x3c7d32(877), _0x437a61[_0x5eb1e1(1030)])) console[_0x3c7d32(1168)](_0x1ac075(500) + (__privateGet(this, _blueToothDeviceInfo)["deviceName"] || _0x32ca50[_0x1ac075(827)]) + _0x37ad48(530)), __privateSet(this, _blueToothDeviceInfo, Object["assign"](__privateGet(this, _blueToothDeviceInfo), _0x32ca50)), wx[_0x1ac075(668)]({ "deviceId": _0x32ca50[_0x37ad48(827)], "success": (_0x1e4f50) => {
const _0x9146be = _0x1ac075, _0x535515 = _0x24472f, _0x1b074f = _0x1ac075, _0x4a16df = _0x37ad48, _0x1222c6 = _0x5eb1e1, _0x20078a = { "vBDOA": function(_0x4b50b0, _0x14c2fb) {
const _0x2ef7b1 = _0x3d13;
return _0x158323[_0x2ef7b1(744)](_0x4b50b0, _0x14c2fb);
}, "Sdckw": _0x158323[_0x9146be(713)], "qZeJE": function(_0x3b7418, _0x50b1b2) {
const _0x45b580 = _0x9146be;
return _0x158323[_0x45b580(574)](_0x3b7418, _0x50b1b2);
}, "yxyHV": "IKevH", "mRZGE": _0x158323[_0x535515(1081)], "mUWZp": _0x158323[_0x1b074f(1292)], "kNCva": _0x158323[_0x535515(371)] };
if (_0x158323[_0x1b074f(574)](_0x158323[_0x4a16df(1033)], _0x158323[_0x4a16df(687)])) {
_0x2e20f6({ "data": _0xae0c5f[_0x158323[_0x9146be(595)](_0xf549e8[_0x1b074f(1260)], 1)], "type": "电量" });
return;
} else wx[_0x9146be(650)]({ "deviceId": _0x32ca50[_0x1222c6(827)], "serviceId": _0x158323[_0x4a16df(1292)], "success": (_0x58f3c7) => {
const _0x112fff = _0x9146be, _0x3b906e = _0x9146be, _0xd6330a = _0x4a16df, _0x13b0fd = _0x1222c6, _0x27ce55 = _0x4a16df, _0xff3e21 = { "tSkMV": function(_0x284980, _0x5b31ae) {
const _0x587e10 = _0x3d13;
return _0x20078a[_0x587e10(473)](_0x284980, _0x5b31ae);
} };
_0x20078a[_0x112fff(367)](_0x20078a[_0x3b906e(1338)], _0x20078a[_0x3b906e(1338)]) ? (__privateSet(this, _isConnectStatus, !![]), wx["notifyBLECharacteristicValueChange"]({ "characteristicId": _0x20078a[_0x13b0fd(322)], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0xd6330a(827)], "serviceId": _0x20078a[_0xd6330a(528)], "type": _0x20078a[_0x27ce55(807)], "state": !![], "success": (_0x184c62) => {
_0xff3e21["tSkMV"](_0x2097eb, __privateGet(this, _blueToothDeviceInfo));
} })) : _0x20078a[_0x3b906e(473)](_0x26d8e2, { "errMsg": _0x20078a[_0x3b906e(932)], "result": 0 });
}, "fail": (_0x450a97) => {
const _0x4e92f1 = _0x535515;
console["log"](_0x4e92f1(484), _0x450a97), _0x158323[_0x4e92f1(744)](_0x54b343, _0x450a97);
} });
}, "fail": (_0x248ba2) => {
const _0x1ab850 = _0x3c7d32, _0x2c3899 = _0x5eb1e1, _0x1f5571 = _0x5eb1e1;
_0x437a61[_0x1ab850(720)] === _0x437a61[_0x1ab850(720)] ? (console["log"](_0x1ab850(1012), _0x248ba2), _0x437a61[_0x2c3899(456)](_0x54b343, _0x248ba2)) : _0x412749[_0x1ab850(1130)](_0x1f5571(939), _0x2a53b1);
} });
else {
_0x158323[_0x5eb1e1(879)](_0x2cb5b4, { "errMsg": _0x158323[_0x5eb1e1(1026)], "result": 0 });
return;
}
}, "fail": (_0x1e9caf) => {
const _0x264cb6 = _0x253648, _0x1f8fd6 = _0xb2163c, _0x2f4297 = _0xb2163c;
_0x4e2284[_0x264cb6(1088)] === _0x4e2284[_0x1f8fd6(1088)] ? (console[_0x264cb6(1130)]("连接蓝牙设备 " + (__privateGet(this, _blueToothDeviceInfo)[_0x2f4297(725)] || _0x32ca50[_0x1f8fd6(827)]) + _0x1f8fd6(469), _0x1e9caf), _0x4e2284["KEnWJ"](_0x54b343, _0x1e9caf)) : (_0x437a61["HXklR"](_0x598a58, _0x264cb6(1249)), _0x148109["offBLECharacteristicValueChange"](_0x5b96fe));
} }));
})[_0x4130d5(699)]((_0xbda8c5) => {
const _0x3dc07e = _0x34c53a;
_0x40317a[_0x3dc07e(1126)](_0x54b343, _0xbda8c5);
});
}
});
}
}
_isOpenBlue = new WeakMap();
_blueToothDeviceInfo = new WeakMap();
_interVal = new WeakMap();
_isConnectStatus = new WeakMap();
_isauthenticateStatus = new WeakMap();
_authToken = new WeakMap();
_resendInterval = new WeakMap();
_bleConnectionListener = new WeakMap();
_DeviceFound = new WeakMap();
_changeCharacteristicFn = new WeakMap();
__0x169082_instances = new WeakSet();
writeUnixTs_fn = function() {
const _0x42ab0d = _0x132596, _0x4201d8 = _0x132596, _0x1b2261 = _0x132596, _0x60bd8f = _0x132596, _0x7ddd77 = _0x132596, _0x25f74f = { "RoWsr": function(_0x11f3f4, _0x537bfc) {
return _0x11f3f4(_0x537bfc);
}, "qrVhM": _0x42ab0d(938), "vixEv": _0x42ab0d(1183), "lqjVo": function(_0xa90016, _0x3ecb0a) {
return _0xa90016 === _0x3ecb0a;
}, "hsVJC": _0x42ab0d(898), "AOxxu": _0x1b2261(905), "fPdcc": _0x1b2261(834), "xqLMP": function(_0x4eab7f) {
return _0x4eab7f();
}, "DYiaB": _0x4201d8(457), "oXKSx": "XvLGh", "BTeKT": _0x60bd8f(516), "KPOUN": _0x4201d8(805), "HLSlP": _0x42ab0d(1078), "YtyNd": _0x7ddd77(1221), "KnOuW": function(_0x5152dd, _0xb18874) {
return _0x5152dd(_0xb18874);
}, "TNQNW": function(_0x89968b, _0x5049fd) {
return _0x89968b !== _0x5049fd;
}, "yWDxq": "KglMJ", "MlCLW": function(_0x291a59, _0x12a002) {
return _0x291a59(_0x12a002);
}, "yqZFO": "同步时间成功", "iKTGd": _0x42ab0d(396), "gBnQW": _0x42ab0d(1002), "Dipxt": _0x4201d8(570), "AtLpr": _0x4201d8(647), "yWLGK": function(_0x5139a4, _0x87bbda, _0x55adea) {
return _0x5139a4(_0x87bbda, _0x55adea);
}, "BAiHw": function(_0xdd76dc, _0x351af3) {
return _0xdd76dc / _0x351af3;
}, "BppXg": _0x7ddd77(1149), "JiKEg": function(_0x57dd4c, _0x13d495) {
return _0x57dd4c & _0x13d495;
}, "SHchx": function(_0x411473, _0x56c274) {
return _0x411473 >> _0x56c274;
}, "EmQfB": function(_0x47cb35, _0x462bd4) {
return _0x47cb35 & _0x462bd4;
} };
return new Promise((_0x385118, _0x4f4cfb) => {
const _0x225a31 = _0x60bd8f, _0x188172 = _0x4201d8, _0x291ca4 = _0x7ddd77, _0x28c6a0 = _0x1b2261, _0x5c4769 = _0x4201d8, _0x4f2ac5 = { "exIxJ": function(_0x1afd94, _0x430d62) {
const _0x5da1b3 = _0x3d13;
return _0x25f74f[_0x5da1b3(875)](_0x1afd94, _0x430d62);
}, "zQEiP": _0x25f74f["yqZFO"], "UwcNS": _0x25f74f[_0x225a31(1103)], "WBNAA": function(_0x271de6, _0x29ef40) {
return _0x271de6(_0x29ef40);
}, "IxCJd": _0x25f74f[_0x225a31(1091)] };
if (_0x25f74f[_0x225a31(1028)](_0x25f74f[_0x188172(712)], _0x25f74f[_0x188172(752)])) {
let _0xa27398 = _0x25f74f[_0x291ca4(452)](numberToBytes, Math["floor"](_0x25f74f[_0x225a31(1074)](Date[_0x5c4769(764)](), 1e3)), _0x25f74f["BppXg"]), _0x231b96 = new Uint8Array([72, 70, 83, 48, ..._0xa27398]);
const _0x20997f = new Uint8Array([0, _0x25f74f[_0x5c4769(1256)](_0x25f74f["SHchx"](_0x231b96[_0x28c6a0(1260)], 8), 255), _0x25f74f[_0x291ca4(926)](_0x231b96[_0x5c4769(1260)], 255), ..._0x231b96])[_0x225a31(923)], _0x563d63 = () => {
const _0x1bdc0b = _0x291ca4, _0x1fbdea = _0x5c4769, _0x5609d4 = _0x5c4769, _0x57b6b0 = _0x225a31, _0x2f1133 = _0x5c4769, _0x42fcbc = { "UsKtm": function(_0x386899, _0x318a28) {
const _0x26be72 = _0x3d13;
return _0x25f74f[_0x26be72(875)](_0x386899, _0x318a28);
}, "ZWaGr": _0x25f74f["qrVhM"], "ThafH": _0x25f74f[_0x1bdc0b(401)], "tjduq": function(_0x3d6f0e, _0x1d7544) {
const _0x5c4210 = _0x1bdc0b;
return _0x25f74f[_0x5c4210(858)](_0x3d6f0e, _0x1d7544);
}, "rtuXu": _0x25f74f[_0x1bdc0b(409)], "ZvwHq": "绑定超时", "AYVLb": _0x25f74f[_0x1fbdea(716)], "HBBSv": _0x25f74f[_0x5609d4(1005)], "wITSV": function(_0x403a82, _0x18c2d2) {
return _0x403a82 == _0x18c2d2;
}, "QeoHg": function(_0x31675b) {
return _0x25f74f["xqLMP"](_0x31675b);
}, "OJXma": function(_0x2fe687, _0xb0eb33) {
return _0x2fe687(_0xb0eb33);
}, "hDghQ": _0x25f74f[_0x57b6b0(532)], "KoAHD": _0x25f74f[_0x5609d4(1202)], "dsPoG": _0x25f74f[_0x2f1133(995)], "vQeQD": "设备端取消绑定", "YXQOX": _0x25f74f[_0x1fbdea(832)], "VaIRe": function(_0x1865da, _0x51af58) {
const _0x4d57e8 = _0x1fbdea;
return _0x25f74f[_0x4d57e8(858)](_0x1865da, _0x51af58);
}, "CTXHI": _0x25f74f[_0x5609d4(1052)], "nbmsF": _0x25f74f[_0x5609d4(797)], "Iqfba": function(_0xc0a309, _0x2b7efe) {
return _0x25f74f["KnOuW"](_0xc0a309, _0x2b7efe);
} };
_0x25f74f[_0x57b6b0(1028)](_0x25f74f[_0x1bdc0b(1162)], _0x1bdc0b(1048)) ? _0x4f2ac5[_0x1fbdea(831)](_0x3e964e, _0x5be461) : (__privateGet(this, _resendInterval) && (_0x25f74f["MlCLW"](clearInterval, __privateGet(this, _resendInterval)), __privateSet(this, _resendInterval, null)), wx[_0x5609d4(316)]({ "characteristicId": "0000FFE1-65D0-4E20-B56A-E493541BA4E2", "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x57b6b0(827)], "serviceId": _0x25f74f["fPdcc"], "value": _0x20997f, "success": (_0x2e9011) => {
const _0x15dec5 = _0x5609d4, _0x358e28 = _0x57b6b0, _0x1b09eb = _0x1fbdea, _0x2355b5 = _0x57b6b0, _0x5ccd0d = _0x5609d4, _0x2c5863 = { "gjtJE": function(_0x212910, _0x501fc1) {
const _0x4dafe9 = _0x3d13;
return _0x42fcbc[_0x4dafe9(1261)](_0x212910, _0x501fc1);
}, "DqiDn": _0x42fcbc["ZWaGr"], "yZZoX": _0x42fcbc["ThafH"], "sQRRV": function(_0x4ce0e5, _0x3d8671) {
return _0x42fcbc["tjduq"](_0x4ce0e5, _0x3d8671);
}, "kwszR": _0x42fcbc[_0x15dec5(635)], "vmtQN": _0x42fcbc["ZvwHq"], "BkNBW": "ZzykG", "wOtOl": _0x42fcbc[_0x358e28(957)], "byBCi": _0x42fcbc[_0x1b09eb(958)], "yRSls": function(_0x577439, _0x4d41eb) {
const _0x25d2e6 = _0x1b09eb;
return _0x42fcbc[_0x25d2e6(531)](_0x577439, _0x4d41eb);
}, "rNKBh": function(_0x20c6a6) {
return _0x42fcbc["QeoHg"](_0x20c6a6);
}, "BKpws": function(_0x14eed3, _0x194a03) {
const _0x26acb4 = _0x15dec5;
return _0x42fcbc[_0x26acb4(976)](_0x14eed3, _0x194a03);
}, "HYUGs": function(_0x1811b9, _0x362630) {
return _0x1811b9(_0x362630);
}, "YIXEg": _0x42fcbc[_0x358e28(1159)], "hcVCo": function(_0x55dfbc, _0x4b7b52) {
return _0x42fcbc["wITSV"](_0x55dfbc, _0x4b7b52);
}, "kQweH": function(_0x337e8f, _0x5f34d3) {
return _0x337e8f !== _0x5f34d3;
}, "oUSDZ": _0x42fcbc[_0x5ccd0d(665)], "ptHaX": _0x42fcbc[_0x15dec5(1309)], "IhgGl": _0x42fcbc[_0x358e28(803)], "XJqCD": _0x42fcbc[_0x5ccd0d(670)], "gCPny": function(_0xda9e61, _0x264fa5) {
return _0xda9e61 == _0x264fa5;
}, "LtjSN": function(_0xde99ae, _0x573c2d) {
return _0x42fcbc["VaIRe"](_0xde99ae, _0x573c2d);
}, "LDYog": _0x42fcbc[_0x2355b5(798)], "waEXs": _0x42fcbc[_0x15dec5(1109)], "WikrT": function(_0xdacbe9, _0x1d00c5) {
const _0x116a47 = _0x1b09eb;
return _0x42fcbc[_0x116a47(436)](_0xdacbe9, _0x1d00c5);
} };
let _0x18e3cc = 0, _0x261f45 = setInterval(() => {
const _0x178b03 = _0x5ccd0d, _0x4489cb = _0x358e28, _0x38c30e = _0x2355b5, _0x28b2d9 = _0x1b09eb, _0x7bf3f = { "BBfer": function(_0x32c2bb, _0x39990c) {
const _0x3e06b4 = _0x3d13;
return _0x2c5863[_0x3e06b4(1265)](_0x32c2bb, _0x39990c);
}, "VZjyG": _0x2c5863["vmtQN"] };
_0x18e3cc++, _0x18e3cc == 60 && (_0x2c5863[_0x178b03(824)] !== _0x2c5863["BkNBW"] ? _0x2c5863[_0x178b03(1265)](_0x1a55cb, _0x2c5863[_0x178b03(505)]) : (_0x2c5863[_0x38c30e(1265)](clearInterval, _0x261f45), wx[_0x28b2d9(316)]({ "characteristicId": _0x2c5863[_0x4489cb(451)], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x4489cb(827)], "serviceId": _0x2c5863[_0x178b03(1129)], "value": new Uint8Array([10, 1])[_0x178b03(923)], "success": (_0x3daa69) => {
const _0x279fbb = _0x38c30e;
_0x7bf3f["BBfer"](_0x4f4cfb, _0x7bf3f["VZjyG"]), wx[_0x279fbb(965)](_0x25a18a);
}, "fail": (_0x5cef57) => {
const _0x34b697 = _0x28b2d9, _0x3191bd = _0x28b2d9, _0xbdcfc9 = _0x4489cb, _0x25d3d4 = { "tCnJu": function(_0x2c01d0, _0x56a380) {
const _0x42090a = _0x3d13;
return _0x2c5863[_0x42090a(1265)](_0x2c01d0, _0x56a380);
}, "Moibd": _0x2c5863[_0x34b697(1044)] };
if (_0x2c5863[_0x34b697(762)](_0x3191bd(898), _0x2c5863[_0x34b697(969)])) _0x4f4cfb(_0x2c5863[_0xbdcfc9(1272)]), wx[_0xbdcfc9(965)](_0x25a18a);
else {
const _0x2a72da = _0x204e14([...new _0x5e0ff0(_0x415972[_0xbdcfc9(1226)])]);
_0x25d3d4["tCnJu"](_0xca4d63, { "msg": _0x25d3d4["Moibd"], "result": _0x2a72da });
}
} })));
}, 1e3), _0x280ba7 = 0;
__privateSet(this, _resendInterval, setInterval(() => {
const _0x793104 = _0x358e28, _0x46690f = _0x15dec5;
_0x280ba7++, _0x2c5863[_0x793104(867)](_0x280ba7, 2) && (_0x280ba7 = 0, _0x2c5863[_0x46690f(461)](_0x563d63));
}, 1e3));
let _0x25a18a = (_0x1716f5) => {
const _0x2555c3 = _0x15dec5, _0x2dfd00 = _0x1b09eb, _0x22d0a1 = _0x5ccd0d, _0x107b7d = _0x358e28, _0x304f21 = _0x2355b5, _0x12b1a3 = { "YmWJv": function(_0x354368, _0x3aed49) {
const _0x294988 = _0x3d13;
return _0x2c5863[_0x294988(1056)](_0x354368, _0x3aed49);
}, "JDuBB": _0x2c5863["YIXEg"] };
clearInterval(__privateGet(this, _resendInterval));
const _0x48c812 = new Uint8Array(_0x1716f5["value"]);
if (_0x2c5863[_0x2555c3(386)](_0x48c812[_0x2dfd00(1260)], 3)) {
if (_0x2c5863[_0x2dfd00(912)](_0x2c5863[_0x2dfd00(399)], _0x2c5863[_0x22d0a1(792)])) clearInterval(_0x261f45), _0x2c5863["BKpws"](_0x4f4cfb, _0x2c5863[_0x2dfd00(864)]);
else {
const _0x478e6e = {};
_0x478e6e[_0x107b7d(835)] = "未连接蓝牙设备", _0x478e6e[_0x107b7d(813)] = 0, _0x21c4af(_0x478e6e);
return;
}
} else {
if (_0x2c5863[_0x304f21(912)](_0x2c5863["XJqCD"], _0x2c5863[_0x2dfd00(1267)])) {
const _0x12a2ca = {};
_0x12a2ca["errMsg"] = _0x304f21(1343), _0x12a2ca[_0x2555c3(813)] = 0, _0x2c5863["BKpws"](_0x1dbe88, _0x12a2ca);
return;
} else {
const _0x30491b = _0x48c812["slice"](23);
if (_0x2c5863["gCPny"](_0x48c812[0], 5)) {
if (_0x2c5863[_0x304f21(559)](_0x2c5863["LDYog"], _0x2c5863[_0x2dfd00(806)])) {
let _0x1d9519 = _0x2c5863[_0x2555c3(1056)](utf8ArrayToString, _0x30491b);
if (_0x1d9519) {
if (_0x2c5863["waEXs"] === _0x2c5863[_0x107b7d(726)]) wx[_0x304f21(965)](_0x25a18a), _0x2c5863[_0x304f21(1086)](clearInterval, _0x261f45), _0x2c5863[_0x22d0a1(947)](_0x385118, _0x1d9519);
else {
_0x12b1a3[_0x2dfd00(646)](_0x54cf05, { "errMsg": _0x12b1a3[_0x2555c3(1217)], "result": 0 });
return;
}
}
} else {
const _0x28af3a = {};
_0x28af3a[_0x304f21(779)] = "getAllPwd动作已下发", _0x28af3a["result"] = _0xd940ee[_0x2555c3(813)], _0x1c9c1a(_0x28af3a);
}
}
}
}
};
wx[_0x2355b5(1095)](_0x25a18a);
}, "fail": (_0x217a47) => {
const _0xf32474 = _0x57b6b0, _0x2ce2b3 = _0x1fbdea, _0x27c178 = _0x5609d4, _0x119eb8 = _0x57b6b0, _0x4e6dc2 = { "JdgfY": function(_0x3f4b33, _0x1cca9d) {
const _0x3f84c2 = _0x3d13;
return _0x4f2ac5[_0x3f84c2(831)](_0x3f4b33, _0x1cca9d);
}, "gtZKq": _0x4f2ac5[_0xf32474(940)] };
_0x4f2ac5[_0x2ce2b3(666)] !== _0x4f2ac5[_0xf32474(666)] ? _0x4e6dc2[_0x27c178(506)](_0x35154d, { "msg": _0x4e6dc2[_0xf32474(471)], "result": 1 }) : _0x4f2ac5[_0x27c178(972)](_0x4f4cfb, _0x4f2ac5[_0x119eb8(815)]);
} }));
};
_0x563d63();
} else {
_0x25f74f[_0x291ca4(788)](_0x134cbe, { "errMsg": _0x25f74f[_0x5c4769(532)], "result": 0 });
return;
}
});
};
bindDevice_fn = function() {
const _0xd244fc = _0x132596, _0x2268ab = _0x132596, _0x28b157 = _0x132596, _0x263dd8 = _0x132596, _0x1e1a10 = { "OcfUK": function(_0x36528e) {
return _0x36528e();
}, "sknMI": function(_0xdece43, _0x472e39) {
return _0xdece43(_0x472e39);
}, "uaBvf": "鉴权写入失败", "mvNtT": function(_0x3ca835, _0x18b4f2) {
return _0x3ca835 === _0x18b4f2;
}, "Knglc": "WyfZf", "XedWk": function(_0x2b311e, _0x427f92) {
return _0x2b311e == _0x427f92;
}, "hlKxa": _0xd244fc(1249), "ZiaTN": function(_0x18796e, _0x2d31b3) {
return _0x18796e === _0x2d31b3;
}, "WiylU": _0x2268ab(520), "DrLcB": _0x28b157(905), "JwBuR": _0x28b157(834), "qvPJE": function(_0x266ce0, _0x4c9da5) {
return _0x266ce0(_0x4c9da5);
}, "upVKj": _0x28b157(1311) };
return new Promise((_0x296c88, _0x512b26) => {
const _0x469071 = _0x263dd8, _0x225d3b = _0xd244fc, _0x564928 = _0x2268ab, _0x53c991 = _0x263dd8, _0x138e31 = { "RybtB": function(_0x2f4e03, _0x125ba5) {
return _0x2f4e03(_0x125ba5);
}, "RsTwP": function(_0x113250, _0x5b9b7d) {
const _0xa7f3c1 = _0x3d13;
return _0x1e1a10[_0xa7f3c1(900)](_0x113250, _0x5b9b7d);
}, "ggTVx": function(_0x2fe181, _0x25d8be) {
const _0x44a912 = _0x3d13;
return _0x1e1a10[_0x44a912(1167)](_0x2fe181, _0x25d8be);
} };
_0x1e1a10["upVKj"] === _0x1e1a10[_0x469071(1250)] ? __privateMethod(this, __0x169082_instances, writeUnixTs_fn).call(this)[_0x225d3b(691)]((_0xf6869c) => {
const _0x35ea4b = _0x469071, _0x3412a4 = _0x469071, _0x49c671 = {};
_0x49c671["msg"] = _0x35ea4b(1319), _0x49c671[_0x3412a4(813)] = 1, _0x49c671[_0x35ea4b(725)] = _0xf6869c, _0x138e31[_0x3412a4(633)](_0x296c88, _0x49c671);
})[_0x225d3b(699)]((_0x5d827d) => {
const _0x14df74 = _0x469071, _0x4ee9ed = _0x564928, _0x326b46 = _0x564928, _0x40659b = _0x225d3b, _0x4b51d5 = _0x469071, _0x46e5b8 = { "aeCAl": function(_0x5740f2) {
const _0x12bcb0 = _0x3d13;
return _0x1e1a10[_0x12bcb0(338)](_0x5740f2);
}, "yLicv": function(_0x47be45, _0x71d143) {
return _0x47be45 === _0x71d143;
}, "jMjwk": function(_0x45c272, _0x48bab3) {
const _0x30f9b8 = _0x3d13;
return _0x1e1a10[_0x30f9b8(1167)](_0x45c272, _0x48bab3);
}, "oNyAU": "写入失败", "KwQQG": _0x1e1a10["uaBvf"], "dduTT": function(_0x4a6a88, _0xd27c35) {
return _0x1e1a10["mvNtT"](_0x4a6a88, _0xd27c35);
}, "oBlQi": _0x1e1a10[_0x14df74(697)] };
if (_0x1e1a10[_0x14df74(476)](_0x5d827d, _0x1e1a10[_0x14df74(1211)])) _0x1e1a10["ZiaTN"](_0x40659b(678), _0x1e1a10[_0x326b46(360)]) ? _0x138e31[_0x4b51d5(802)](_0xa20f75, _0x72ae96) : wx[_0x326b46(316)]({ "characteristicId": _0x1e1a10["DrLcB"], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x326b46(827)], "serviceId": _0x1e1a10[_0x14df74(1196)], "value": new Uint8Array([3, 1])[_0x4b51d5(923)], "success": (_0x5ba42e) => {
const _0x5c632d = _0x14df74, _0x3ee3c4 = _0x40659b, _0x2cc49e = _0x40659b;
if (_0x46e5b8[_0x5c632d(610)](_0x5c632d(1186), _0x5c632d(1186))) {
const _0x4d80fa = {};
_0x4d80fa[_0x2cc49e(835)] = _0x5d827d, _0x4d80fa[_0x3ee3c4(813)] = 0, _0x46e5b8[_0x2cc49e(842)](_0x512b26, _0x4d80fa);
} else _0x368ffd++, _0x194331 == 2 && (_0x22d150 = 0, _0x46e5b8[_0x2cc49e(911)](_0x4d2bd2));
} });
else {
if (_0x1e1a10[_0x4ee9ed(476)](_0x5d827d, _0x14df74(876))) wx[_0x4ee9ed(316)]({ "characteristicId": _0x1e1a10[_0x326b46(1021)], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x14df74(827)], "serviceId": _0x1e1a10["JwBuR"], "value": new Uint8Array([3, 1])[_0x4b51d5(923)], "success": (_0x473edf) => {
const _0x22d09c = _0x326b46, _0x572d78 = _0x326b46, _0x4610c8 = _0x14df74;
if (_0x46e5b8["dduTT"](_0x22d09c(945), _0x46e5b8["oBlQi"])) {
const _0x4dd2a5 = {};
_0x4dd2a5[_0x22d09c(835)] = _0x5d827d, _0x4dd2a5["result"] = 0, _0x46e5b8[_0x572d78(842)](_0x512b26, _0x4dd2a5);
} else _0x5039cd[_0x4610c8(1168)](_0x46e5b8[_0x4610c8(655)], _0x4c4dcf), _0x46e5b8["jMjwk"](_0xfec3e9, { "errMsg": _0x46e5b8["KwQQG"], "result": 0 });
} });
else {
const _0x38a153 = {};
_0x38a153[_0x40659b(835)] = _0x5d827d, _0x38a153["result"] = 0, _0x1e1a10["qvPJE"](_0x512b26, _0x38a153);
}
}
}) : _0x138e31[_0x53c991(1165)](_0x224923, _0x348508);
});
};
writeTokenToLock_fn = function({ token: _0x123cbc }) {
const _0xb94be1 = _0x132596, _0x4e0676 = _0x132596, _0x4f99c7 = _0x132596, _0x24fc4a = _0x132596, _0x1c1d84 = { "npDnT": _0xb94be1(705), "PEYwT": function(_0x51cd67, _0x5a9e25) {
return _0x51cd67(_0x5a9e25);
}, "kJIMw": _0xb94be1(354), "qYFJq": function(_0x128800, _0x1f9a8e) {
return _0x128800 !== _0x1f9a8e;
}, "MWIls": _0xb94be1(548), "TcRDQ": _0x4e0676(1050), "zkTQX": function(_0x116852, _0x3f682a) {
return _0x116852 >> _0x3f682a;
}, "wJKNx": _0x4f99c7(905), "COPMI": _0x4e0676(834) };
return new Promise((_0x855099, _0x1f47b3) => {
const _0x35a496 = _0x24fc4a, _0x118362 = _0x4e0676, _0x248a7c = _0xb94be1, _0x3c8348 = _0xb94be1, _0x258b71 = { "tvcIV": _0x1c1d84[_0x35a496(491)], "mKBGr": function(_0x420991, _0x1b9bf5) {
const _0x1b4333 = _0x35a496;
return _0x1c1d84[_0x1b4333(717)](_0x420991, _0x1b9bf5);
}, "UgJMJ": function(_0x20ef93, _0x4a6ab6) {
const _0x181af2 = _0x35a496;
return _0x1c1d84[_0x181af2(717)](_0x20ef93, _0x4a6ab6);
}, "Wqqxn": _0x1c1d84[_0x35a496(1138)] };
if (_0x123cbc[_0x248a7c(626)] != 12) {
if (_0x1c1d84["qYFJq"](_0x1c1d84[_0x3c8348(1197)], _0x1c1d84["MWIls"])) _0x2a31bf[_0x35a496(1328)](_0x3b424d[_0x118362(1305)](_0x5bd7c3));
else {
_0x1c1d84[_0x118362(717)](_0x1f47b3, { "errMsg": _0x1c1d84["TcRDQ"], "result": 0 });
return;
}
}
const _0x2f0e38 = _0x1c1d84[_0x3c8348(717)](stringToUtf8Bytes, _0x123cbc), _0x120a77 = new Uint8Array([2, _0x1c1d84["zkTQX"](_0x2f0e38[_0x118362(1260)], 8) & 255, _0x2f0e38[_0x35a496(1260)] & 255, 2, ..._0x2f0e38])["buffer"];
wx[_0x35a496(316)]({ "characteristicId": _0x1c1d84[_0x118362(906)], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x248a7c(827)], "serviceId": _0x1c1d84["COPMI"], "value": _0x120a77, "success": (_0x27e5f0) => {
const _0x311736 = _0x35a496, _0x38edd6 = _0x3c8348, _0x2b9d8f = _0x35a496;
if (_0x258b71["tvcIV"] === _0x258b71[_0x311736(1067)]) {
const _0x3adefd = {};
_0x3adefd[_0x38edd6(779)] = "设备token写入成功", _0x3adefd[_0x311736(813)] = 1, _0x258b71[_0x2b9d8f(591)](_0x855099, _0x3adefd);
} else _0x46caaf[_0x2b9d8f(617)](_0x20c8b8);
}, "fail": (_0x18593e) => {
const _0xd46e75 = _0x248a7c;
_0x258b71[_0xd46e75(724)](_0x1f47b3, { "errMsg": _0x258b71["Wqqxn"], "result": 0 });
} });
});
};
authenticateConnection_fn = function({ deviceName: _0x3143c1, token: _0x1fff97 }) {
const _0x19f331 = _0x5b82df, _0x5d8311 = _0x5b82df, _0x4a9220 = _0x5b82df, _0x4a86f8 = _0x132596, _0x287069 = _0x5b82df, _0x3592eb = { "RyKfC": _0x19f331(1247), "YqPjC": _0x19f331(1148), "KNbwy": function(_0x2c9983, _0x26fb00) {
return _0x2c9983 == _0x26fb00;
}, "ddKpl": function(_0x1f1553, _0xb1ec56) {
return _0x1f1553(_0xb1ec56);
}, "HjosK": function(_0x1bf072, _0x296f76) {
return _0x1bf072 !== _0x296f76;
}, "ChYrL": _0x5d8311(1038), "kcdax": _0x4a86f8(973), "sHnpG": function(_0x24d299, _0x4febd9) {
return _0x24d299 !== _0x4febd9;
}, "fxvlx": "BCFWy", "zDaZQ": function(_0x460308, _0x1a5e8c) {
return _0x460308(_0x1a5e8c);
}, "plbgy": function(_0x52eb9a, _0x4c7029) {
return _0x52eb9a + _0x4c7029;
}, "FWLqM": function(_0x2fa487, _0x2fde4a) {
return _0x2fa487 == _0x2fde4a;
}, "BhMGC": _0x4a9220(905), "ySzPO": _0x4a9220(834), "KtgOr": function(_0x602a0, _0x62458a) {
return _0x602a0(_0x62458a);
}, "HJGqD": _0x5d8311(672), "swaGj": "GDXMn", "fwkZV": function(_0x536942, _0xb0d290, _0x509de5) {
return _0x536942(_0xb0d290, _0x509de5);
}, "pRCIi": function(_0x31c811, _0x10c03e) {
return _0x31c811 === _0x10c03e;
}, "GRFDk": "ZkzhJ", "sCzEq": _0x5d8311(357), "zVFgk": "ssozm", "FODBv": function(_0x5e4d32, _0x68bf79) {
return _0x5e4d32 && _0x68bf79;
}, "ezLfW": _0x287069(1183), "TgJMB": _0x4a9220(558), "wZLSF": function(_0x4e5627, _0x4ea4d6) {
return _0x4e5627 === _0x4ea4d6;
}, "RWEWp": _0x5d8311(890), "MNwMU": _0x4a86f8(415), "bwVft": function(_0x586368, _0x99ff72) {
return _0x586368 || _0x99ff72;
}, "TuzcH": _0x4a86f8(315), "hanor": function(_0x2cb691, _0x41cab2) {
return _0x2cb691(_0x41cab2);
}, "KBuPf": _0x19f331(869), "wRCwk": function(_0x558146, _0x37d105) {
return _0x558146 / _0x37d105;
}, "BIpPR": function(_0x15e45c, _0xc4ce97, _0x3e4f94) {
return _0x15e45c(_0xc4ce97, _0x3e4f94);
}, "kmkzS": _0x4a9220(1149), "TZAxm": function(_0x1d1769, _0x5fef16) {
return _0x1d1769 & _0x5fef16;
}, "IbDSN": function(_0x25c63c, _0x501fce) {
return _0x25c63c >> _0x501fce;
}, "DSXGj": function(_0x1323e3, _0x2c461e) {
return _0x1323e3 & _0x2c461e;
}, "iXdYT": function(_0x25631c) {
return _0x25631c();
} };
return console[_0x19f331(1168)](_0x287069(385) + _0x3143c1 + _0x4a86f8(1295)), new Promise((_0x10aaff, _0x505a70) => {
const _0x4d6842 = _0x4a9220, _0x38df33 = _0x4a9220, _0x3ae47a = _0x19f331, _0x93bfae = _0x4a86f8, _0x5106aa = _0x4a9220, _0x556823 = { "ZNxjc": function(_0x2b165c, _0x1955e4) {
return _0x2b165c(_0x1955e4);
}, "KSABa": function(_0x32a889, _0x24bdd9) {
return _0x3592eb["FODBv"](_0x32a889, _0x24bdd9);
}, "fjaWg": _0x3592eb["ezLfW"], "kxRfs": _0x3592eb[_0x4d6842(1182)] };
if (_0x3592eb[_0x38df33(497)](_0x3592eb[_0x4d6842(330)], _0x3592eb["MNwMU"])) {
const _0x578601 = _0x556823["ZNxjc"](_0x3689b0, [...new _0x11e91c(_0x1eb71f[_0x38df33(1226)])]), _0xd5b716 = _0x578601[_0x93bfae(742)]((_0x579591) => _0x579591[_0x93bfae(479)] == 0), _0x6cdd1b = _0x578601["some"]((_0x187f7a) => !_0x187f7a[_0x93bfae(1061)](_0x38df33(1223)));
_0x556823["KSABa"](_0xd5b716, _0x6cdd1b) && _0x556823["ZNxjc"](_0x2f5eff, { "msg": _0x556823["fjaWg"], "result": [] }), _0x556823["ZNxjc"](_0x56eeae, { "msg": _0x556823["fjaWg"], "result": _0x578601 });
} else {
if (_0x3592eb[_0x38df33(963)](!_0x3143c1, !_0x1fff97)) {
if (_0x3592eb[_0x5106aa(1077)] === "UHaEB") _0x51a453[_0x38df33(617)](_0x4d5e98);
else {
_0x3592eb[_0x4d6842(739)](_0x505a70, { "errMsg": _0x3592eb[_0x3ae47a(347)], "result": 0 });
return;
}
}
let _0x44fc51 = Math[_0x4d6842(966)](_0x3592eb[_0x93bfae(620)](Date[_0x3ae47a(764)](), 1e3));
const _0x1100dc = _0x4e0586[_0x93bfae(1076)](_0x44fc51["toString"](), _0x1fff97), _0x58b5ec = _0x1100dc[_0x93bfae(653)](_0x4e0586["enc"][_0x3ae47a(784)]), _0x4a434b = new Uint8Array(_0x58b5ec[_0x38df33(499)](/.{2}/g)["map"]((_0x237b09) => parseInt(_0x237b09, 16))), _0x4a56fe = _0x3592eb[_0x38df33(860)](numberToBytes, _0x44fc51["toString"](), _0x3592eb["kmkzS"]), _0x54cd93 = new Uint8Array([..._0x4a56fe, ..._0x4a434b]), _0x3f7ea9 = new Uint8Array([1, _0x3592eb[_0x4d6842(1210)](_0x3592eb["IbDSN"](_0x54cd93[_0x3ae47a(1260)], 8), 255), _0x3592eb[_0x3ae47a(895)](_0x54cd93["byteLength"], 255), ..._0x54cd93])["buffer"], _0x27712f = () => {
const _0x2e3066 = _0x3ae47a, _0x28dd68 = _0x4d6842, _0x24b68e = _0x93bfae, _0x12dd6a = _0x3ae47a, _0x2ff739 = _0x4d6842, _0x20c8ae = { "jDJlp": _0x3592eb[_0x2e3066(1180)], "mKZHq": _0x3592eb[_0x28dd68(400)], "viwGF": function(_0x33514c, _0x35c243) {
return _0x3592eb["KNbwy"](_0x33514c, _0x35c243);
}, "LJeaf": function(_0xb18435, _0x302e82) {
const _0x11d13e = _0x2e3066;
return _0x3592eb[_0x11d13e(704)](_0xb18435, _0x302e82);
}, "pxUFO": "同步时间失败", "EizXx": function(_0x3cfaa0, _0x3a2caa) {
const _0x4ae5e2 = _0x2e3066;
return _0x3592eb[_0x4ae5e2(1200)](_0x3cfaa0, _0x3a2caa);
}, "QCHEg": _0x3592eb[_0x28dd68(648)], "DTAmg": _0x3592eb[_0x12dd6a(593)], "ONBgL": function(_0x1f3e0a, _0x3d93c6) {
const _0x1ebd77 = _0x24b68e;
return _0x3592eb[_0x1ebd77(1213)](_0x1f3e0a, _0x3d93c6);
}, "oBCKn": _0x3592eb["fxvlx"], "knDoI": _0x28dd68(1027), "aBmUl": function(_0x2b3e60, _0x285e37) {
const _0x47e284 = _0x12dd6a;
return _0x3592eb[_0x47e284(1128)](_0x2b3e60, _0x285e37);
}, "XcFFY": function(_0x35285a, _0x4452be) {
const _0xbe21ab = _0x2ff739;
return _0x3592eb[_0xbe21ab(1215)](_0x35285a, _0x4452be);
}, "qPuzF": function(_0x33b18b, _0x580df7) {
return _0x3592eb["FWLqM"](_0x33b18b, _0x580df7);
}, "UovHX": _0x3592eb["BhMGC"], "HodWp": _0x3592eb[_0x2ff739(1245)], "GoVmA": _0x2e3066(897), "VCQau": function(_0x121218, _0x117f99) {
return _0x3592eb["KtgOr"](_0x121218, _0x117f99);
}, "CGArF": _0x3592eb[_0x2e3066(1032)], "kSqmg": function(_0x172960, _0x52912e) {
return _0x172960(_0x52912e);
}, "kQJkz": function(_0x2e7986, _0x504de1) {
return _0x3592eb["FWLqM"](_0x2e7986, _0x504de1);
}, "ixMLr": _0x3592eb["swaGj"], "spXfT": function(_0x22a140, _0x50ebe5, _0x380611) {
return _0x3592eb["fwkZV"](_0x22a140, _0x50ebe5, _0x380611);
}, "BnilL": function(_0x3f0d79, _0x1f11a7) {
const _0x417128 = _0x28dd68;
return _0x3592eb[_0x417128(549)](_0x3f0d79, _0x1f11a7);
}, "IBLpz": _0x3592eb["GRFDk"] };
if (__privateGet(this, _resendInterval)) {
if (_0x3592eb["sCzEq"] !== _0x3592eb[_0x28dd68(914)]) _0x3592eb["zDaZQ"](clearInterval, __privateGet(this, _resendInterval)), __privateSet(this, _resendInterval, null);
else {
const _0x520abc = {};
_0x520abc[_0x28dd68(779)] = _0x556823[_0x28dd68(754)], _0x520abc[_0x28dd68(813)] = 1, _0x122ed1(_0x520abc);
}
}
wx[_0x24b68e(316)]({ "characteristicId": _0x3592eb[_0x24b68e(1100)], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x12dd6a(827)], "serviceId": _0x3592eb["ySzPO"], "value": _0x3f7ea9, "success": (_0x5248a5) => {
const _0x503ab7 = _0x2ff739, _0x418269 = _0x28dd68, _0x534e5b = _0x24b68e, _0x40f1b2 = _0x2e3066, _0x2d22ba = _0x28dd68, _0x2d25a2 = { "IFUfX": function(_0x45c2a1, _0x1a4830) {
const _0x186ca3 = _0x3d13;
return _0x20c8ae[_0x186ca3(709)](_0x45c2a1, _0x1a4830);
}, "oCLTJ": function(_0x52f038, _0x38b584) {
return _0x20c8ae["kQJkz"](_0x52f038, _0x38b584);
}, "FFTnd": function(_0x3d3f67) {
return _0x3d3f67();
} };
if (_0x20c8ae[_0x503ab7(777)](_0x418269(358), _0x20c8ae[_0x534e5b(669)])) {
let _0x57cd0e = 0;
__privateSet(this, _resendInterval, _0x20c8ae[_0x534e5b(994)](setInterval, () => {
const _0x33cd74 = _0x40f1b2, _0x175560 = _0x534e5b, _0x10f6ce = _0x418269;
_0x20c8ae[_0x33cd74(537)] !== _0x20c8ae[_0x33cd74(1304)] ? (_0x57cd0e++, _0x20c8ae["viwGF"](_0x57cd0e, 2) && (_0x57cd0e = 0, _0x27712f())) : _0x3fcfe9[_0x27bf60[_0x175560(554)][0][_0x175560(827)]] = _0xe361a8[_0x175560(393)](_0x1c57dc[_0x10f6ce(554)][0], { "productId": _0x2d25a2["IFUfX"](_0x40404b, _0x5ef7ec[_0x33cd74(554)][0]["advertisData"]) });
}, 1e3));
let _0x54e144 = (_0x42fd06) => {
const _0x413891 = _0x40f1b2, _0x47f4c1 = _0x534e5b, _0x403803 = _0x40f1b2, _0x19cc96 = _0x534e5b, _0x530cb5 = _0x503ab7, _0x4e42dd = { "xjvfD": function(_0x4365f4, _0x330d58) {
const _0x1eb787 = _0x3d13;
return _0x20c8ae[_0x1eb787(1194)](_0x4365f4, _0x330d58);
}, "RuQzG": _0x413891(1246), "JZmNa": _0x47f4c1(1329), "nXlbu": _0x20c8ae[_0x403803(421)], "bHPGg": function(_0x15d035, _0xa6b4f4) {
const _0x5b1159 = _0x403803;
return _0x20c8ae[_0x5b1159(777)](_0x15d035, _0xa6b4f4);
}, "bGehp": _0x20c8ae[_0x403803(470)] };
if (_0x20c8ae[_0x47f4c1(557)] === _0x20c8ae["DTAmg"]) {
const _0x53d38e = new Uint8Array(_0x42fd06[_0x19cc96(1318)]);
if (_0x53d38e[0] == 6) {
if (_0x20c8ae[_0x403803(1334)](_0x20c8ae[_0x530cb5(1192)], _0x20c8ae[_0x19cc96(1099)])) {
_0x20c8ae["LJeaf"](clearInterval, __privateGet(this, _resendInterval));
const _0xe865e = _0x53d38e[_0x403803(604)](3, 23), _0x5d271f = _0x20c8ae[_0x47f4c1(1170)](uint8ArrayToHex, _0xe865e), _0x54ad10 = _0x4e0586[_0x19cc96(1076)](_0x20c8ae["XcFFY"](_0x44fc51, 60)[_0x530cb5(653)]() + _0x47f4c1(349) + _0x3143c1, _0x1fff97), _0x5c9de9 = _0x54ad10[_0x19cc96(653)](_0x4e0586["enc"][_0x403803(784)]);
_0x20c8ae["qPuzF"](_0x5d271f, _0x5c9de9) ? (__privateSet(this, _authToken, _0x1fff97), console[_0x530cb5(1168)](_0x19cc96(385) + _0x3143c1 + " 鉴权成功,等待时间同步", { "authenticateInfo": { "deviceName": _0x3143c1, "token": _0x1fff97 } }), __privateMethod(this, __0x169082_instances, changeBleDeviceConnectStatus_fn).call(this), wx["offBLECharacteristicValueChange"](_0x54e144), wx["writeBLECharacteristicValue"]({ "characteristicId": _0x20c8ae[_0x19cc96(571)], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x530cb5(827)], "serviceId": _0x20c8ae[_0x47f4c1(341)], "value": new Uint8Array([5])["buffer"], "success": (_0x4355e2) => {
const _0x178ebe = _0x530cb5, _0xd6ee71 = _0x530cb5, _0x50dd7f = _0x19cc96, _0x269b08 = _0x19cc96, _0x41ced4 = _0x530cb5, _0x472ecb = { "hxPBV": function(_0x1af25f, _0x41134e) {
return _0x1af25f == _0x41134e;
}, "CzWGI": function(_0x54e4b5, _0x1303f3) {
return _0x4e42dd["xjvfD"](_0x54e4b5, _0x1303f3);
}, "Vuyug": function(_0x2c5200, _0x42d815) {
return _0x4e42dd["xjvfD"](_0x2c5200, _0x42d815);
}, "IoUWM": _0x4e42dd[_0x178ebe(355)], "OIIpw": _0x4e42dd[_0xd6ee71(501)], "CRSPh": _0xd6ee71(487), "akKyj": _0x4e42dd[_0x50dd7f(718)] };
if (_0x4e42dd["bHPGg"](_0x4e42dd[_0x41ced4(1185)], "rKQBM")) {
_0x2f3514++;
if (_0x472ecb[_0xd6ee71(410)](_0x51af38, 60)) {
_0x18ee33 = 0, _0x472ecb[_0xd6ee71(370)](_0x351cc4, _0x5f33dd);
const _0x43e4a2 = {};
_0x43e4a2[_0x50dd7f(835)] = _0x41ced4(1155), _0x310783(_0x43e4a2);
}
} else console[_0x50dd7f(1168)]("与蓝牙设备 " + _0x3143c1 + " 通信建立成功,等待时间同步"), __privateSet(this, _isauthenticateStatus, !![]), __privateMethod(this, __0x169082_instances, syncTime_fn).call(this)[_0x269b08(691)]((_0x82203b) => {
const _0x2ca1f7 = _0x269b08;
_0x472ecb[_0x2ca1f7(1136)](_0x10aaff, { "msg": _0x472ecb[_0x2ca1f7(1e3)], "result": 1 });
})[_0xd6ee71(699)]((_0xb0b7aa) => {
const _0x4a5738 = _0xd6ee71, _0x481e4f = _0x50dd7f;
if ("jylAc" !== _0x472ecb[_0x4a5738(763)]) {
_0x472ecb[_0x4a5738(370)](_0x4868c0, { "errMsg": _0x472ecb[_0x4a5738(1108)], "result": 0 });
return;
} else _0x472ecb["Vuyug"](_0x505a70, { "errMsg": _0x472ecb[_0x481e4f(657)], "result": 0, "error": _0xb0b7aa });
});
}, "fail": (_0x53ed9f) => {
const _0x484ce6 = _0x19cc96, _0x369c97 = {};
_0x369c97["errMsg"] = "与蓝牙设备 " + _0x3143c1 + _0x484ce6(1306), _0x369c97["result"] = 0, _0x369c97[_0x484ce6(1130)] = _0x53ed9f, _0x2d25a2["IFUfX"](_0x505a70, _0x369c97);
} })) : _0x20c8ae[_0x413891(1334)](_0x20c8ae[_0x47f4c1(374)], _0x20c8ae["GoVmA"]) ? (_0x39a34c++, _0x2d25a2[_0x530cb5(1181)](_0x1c8761, 2) && (_0x505b9d = 0, _0x2d25a2[_0x19cc96(1101)](_0x194d7d))) : (clearInterval(__privateGet(this, _resendInterval)), wx[_0x47f4c1(965)](_0x54e144), _0x20c8ae["VCQau"](_0x505a70, { "errMsg": _0x20c8ae[_0x19cc96(819)], "result": 0 }));
} else _0x23e768(_0x413891(1042));
}
} else _0x31e8f5(_0x23cb92);
};
wx[_0x503ab7(1095)](_0x54e144);
} else {
const _0x30aa5f = { "WpRRg": function(_0x1d1b55, _0x5615b3) {
const _0x2ba1aa = _0x2d22ba;
return _0x2d25a2[_0x2ba1aa(582)](_0x1d1b55, _0x5615b3);
} };
return new _0x8dc34d((_0x327a5b, _0x2e7833) => {
const _0x41abc7 = _0x2d22ba, _0xeacf9e = { "TyGrC": function(_0xbcf581, _0x4be359) {
return _0xbcf581(_0x4be359);
} };
_0x48fe62[_0x41abc7(929)]({ "success"(_0x25ae86) {
const _0x4344a8 = _0x41abc7;
_0x30aa5f[_0x4344a8(566)](_0x327a5b, _0x25ae86);
}, "fail"(_0x460959) {
const _0x6a3a9a = _0x41abc7;
_0xeacf9e[_0x6a3a9a(343)](_0x2e7833, _0x460959);
} });
});
}
}, "fail": (_0x18d5ef) => {
const _0x3bba8f = _0x2ff739, _0x518e75 = _0x2ff739, _0x1d56ba = _0x2e3066, _0x4875cb = _0x24b68e;
if (_0x20c8ae["BnilL"](_0x3bba8f(1284), _0x20c8ae[_0x518e75(390)])) {
const _0x2207e6 = {};
_0x2207e6[_0x3bba8f(835)] = _0x518e75(457), _0x2207e6[_0x3bba8f(813)] = 0, _0x20c8ae[_0x1d56ba(709)](_0x45f6d2, _0x2207e6);
return;
} else {
console[_0x3bba8f(1168)](_0x1d56ba(483), _0x18d5ef);
const _0x5dcfdd = {};
_0x5dcfdd[_0x4875cb(835)] = "鉴权写入失败", _0x5dcfdd["result"] = 0, _0x505a70(_0x5dcfdd);
}
} });
};
_0x3592eb[_0x38df33(494)](_0x27712f);
}
});
};
unbindDevice_fn = function() {
const _0x443ef4 = _0x5b82df, _0x5f1f60 = _0x132596, _0x4d9230 = _0x132596, _0x2c0400 = _0x5b82df, _0x2569e6 = _0x132596, _0x25e81c = { "uugjO": function(_0x395068, _0x2ac53b) {
return _0x395068 == _0x2ac53b;
}, "RBNEn": _0x443ef4(834), "ufJUz": function(_0x56b86d, _0x38dc8c) {
return _0x56b86d === _0x38dc8c;
}, "IkpWv": _0x443ef4(1092), "wihhl": _0x443ef4(857), "Bsjpx": _0x5f1f60(1075), "iyiAN": function(_0x8366d, _0x543614) {
return _0x8366d !== _0x543614;
}, "saRsS": _0x2c0400(1046), "FFhxZ": function(_0x170a84, _0x590d9b) {
return _0x170a84(_0x590d9b);
}, "kvfDF": _0x5f1f60(508), "jsWLM": _0x443ef4(457), "TxJvj": _0x4d9230(905), "Rpwrn": function(_0x136979, _0x5b8538) {
return _0x136979 & _0x5b8538;
}, "DRobV": function(_0x1c440c, _0x3013c5) {
return _0x1c440c >> _0x3013c5;
}, "JBToi": function(_0x893c57, _0xb5c57e) {
return _0x893c57 & _0xb5c57e;
} };
return new Promise((_0xaa0a15, _0x223a3a) => {
const _0x4a9c0e = _0x4d9230, _0x1fb253 = _0x443ef4, _0x1b17d3 = _0x443ef4, _0x5190b4 = _0x2569e6, _0x1abe7d = _0x2569e6, _0x3a254f = { "TqfFf": _0x25e81c[_0x4a9c0e(1065)], "vZAmN": function(_0x69008a, _0x46e0e8) {
const _0x25f156 = _0x4a9c0e;
return _0x25e81c[_0x25f156(1291)](_0x69008a, _0x46e0e8);
}, "QcQIO": _0x25e81c["saRsS"], "GRaif": function(_0x41d945, _0x287ec4) {
const _0x139771 = _0x4a9c0e;
return _0x25e81c[_0x139771(1156)](_0x41d945, _0x287ec4);
}, "LesFG": _0x25e81c[_0x1fb253(552)] };
if (!__privateGet(this, _isauthenticateStatus)) {
_0x25e81c["FFhxZ"](_0x223a3a, { "errMsg": _0x25e81c[_0x1b17d3(953)], "result": 0 });
return;
}
const _0x21d4a6 = _0x4e0586[_0x5190b4(1076)](_0x5190b4(775), __privateGet(this, _authToken)), _0x3a65ca = _0x21d4a6[_0x1b17d3(653)](_0x4e0586["enc"]["Hex"]), _0x6dc075 = new Uint8Array(_0x3a65ca[_0x5190b4(499)](/.{2}/g)[_0x1fb253(459)]((_0x1cba77) => parseInt(_0x1cba77, 16)));
wx[_0x4a9c0e(316)]({ "characteristicId": _0x25e81c[_0x1fb253(1310)], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x5190b4(827)], "serviceId": _0x25e81c[_0x5190b4(729)], "value": new Uint8Array([4, _0x25e81c[_0x1abe7d(342)](_0x25e81c[_0x5190b4(1053)](_0x6dc075["byteLength"], 8), 255), _0x25e81c[_0x4a9c0e(738)](_0x6dc075[_0x1abe7d(1260)], 255), ..._0x6dc075])[_0x1fb253(923)], "success": (_0x1446cb) => {
const _0x13f98f = _0x1fb253, _0x2f9047 = _0x4a9c0e, _0x81d247 = _0x1fb253, _0x168b7c = _0x1fb253, _0x4f9994 = { "sHBtI": function(_0x1b5088, _0x31f1d2) {
return _0x1b5088(_0x31f1d2);
}, "DKETl": _0x13f98f(583), "xjFMG": function(_0x4265dc, _0x598d1a) {
const _0x440be0 = _0x13f98f;
return _0x25e81c[_0x440be0(1037)](_0x4265dc, _0x598d1a);
}, "xTrRE": _0x25e81c[_0x2f9047(729)] };
if (_0x25e81c[_0x2f9047(1084)](_0x25e81c[_0x168b7c(989)], _0x25e81c[_0x81d247(1239)])) {
_0x4f9994[_0x13f98f(1145)](_0x4dffb2, { "errMsg": _0x4f9994[_0x2f9047(1105)], "result": 0 });
return;
} else {
let _0xd8664a = (_0x5d124b) => {
const _0x3b3c62 = _0x2f9047, _0x147aa0 = _0x81d247, _0x4837b3 = _0x168b7c, _0x58bc23 = _0x13f98f, _0x491d74 = { "oXkoP": function(_0x188cbb, _0x1036f7) {
return _0x188cbb(_0x1036f7);
} }, _0x1f53f3 = new Uint8Array(_0x5d124b[_0x3b3c62(1318)]);
_0x4f9994[_0x147aa0(439)](_0x1f53f3[0], 7) && (wx["offBLECharacteristicValueChange"](_0xd8664a), wx[_0x147aa0(316)]({ "characteristicId": "0000FFE1-65D0-4E20-B56A-E493541BA4E2", "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x147aa0(827)], "serviceId": _0x4f9994["xTrRE"], "value": new Uint8Array([7])[_0x3b3c62(923)], "success": (_0x5e2e96) => {
const _0x217463 = _0x4837b3, _0x1d7c92 = _0x3b3c62, _0x28d286 = _0x58bc23;
wx[_0x217463(965)](_0xd8664a);
const _0x17cb1e = {};
_0x17cb1e[_0x1d7c92(779)] = _0x217463(385) + __privateGet(this, _blueToothDeviceInfo)[_0x1d7c92(725)] + _0x28d286(543), _0x17cb1e[_0x28d286(813)] = 1, _0x4f9994["sHBtI"](_0xaa0a15, _0x17cb1e);
}, "fail": (_0x5826ba) => {
const _0x5a172f = _0x4837b3, _0x2f5364 = _0x147aa0, _0x4fef2d = _0x4837b3, _0xf82701 = _0x147aa0;
wx[_0x5a172f(965)](_0xd8664a);
const _0x45d67b = {};
_0x45d67b[_0x5a172f(835)] = _0x5a172f(896) + __privateGet(this, _blueToothDeviceInfo)[_0x2f5364(725)] + _0xf82701(759), _0x45d67b[_0x4fef2d(1049)] = _0x5826ba, _0x45d67b[_0x5a172f(813)] = 0, _0x491d74["oXkoP"](_0x223a3a, _0x45d67b);
} }));
};
wx[_0x2f9047(1095)](_0xd8664a);
}
}, "fail": (_0x2ecd0c) => {
const _0x1a9827 = _0x5190b4, _0x240426 = _0x4a9c0e, _0x4b5064 = {};
_0x4b5064["MbFjb"] = _0x3a254f["TqfFf"];
const _0x270554 = _0x4b5064;
if (_0x3a254f[_0x1a9827(1314)]("EieCD", _0x3a254f[_0x240426(967)])) {
const _0x56481a = {};
_0x56481a[_0x1a9827(835)] = _0x270554["MbFjb"], _0x56481a["result"] = 0, _0x35a4b(_0x56481a);
} else _0x3a254f[_0x1a9827(515)](_0x223a3a, { "errMsg": _0x3a254f["LesFG"], "err": _0x2ecd0c, "result": 0 });
} });
});
};
changeBleDeviceConnectStatus_fn = function(_0x2cd159, _0x53f463) {
const _0x16e142 = _0x339c7d, _0x199b7f = _0x5b82df, _0x3c385a = _0x5b82df, _0x5e6f16 = _0x5b82df, _0x170db2 = _0x5b82df, _0x29dd96 = { "ErKMh": function(_0x382e54, _0x288892) {
return _0x382e54 !== _0x288892;
}, "FMgvZ": _0x16e142(1098), "WfwMG": function(_0x1b69cf, _0x448b2d) {
return _0x1b69cf == _0x448b2d;
}, "GHSEO": "disconnect", "lyLWu": function(_0x10a507, _0x5188dd) {
return _0x10a507(_0x5188dd);
}, "ijruI": function(_0x1e1824, _0x157a84) {
return _0x1e1824(_0x157a84);
}, "ovmin": function(_0xa38200, _0x4d4275) {
return _0xa38200 !== _0x4d4275;
}, "naxNN": _0x199b7f(427) };
__privateGet(this, _bleConnectionListener) && (_0x29dd96[_0x199b7f(404)](_0x29dd96["naxNN"], _0x16e142(706)) ? wx[_0x170db2(780)](__privateGet(this, _bleConnectionListener)) : _0x28896d(_0x11ee42));
let _0x52cad1 = (_0x5ed1ec) => {
const _0x36892e = _0x16e142, _0x3366be = _0x5e6f16, _0x36a780 = _0x3c385a, _0x47e5c0 = _0x3c385a, _0x5ce448 = _0x3c385a;
if (_0x29dd96[_0x36892e(1188)](_0x29dd96[_0x36892e(482)], _0x36892e(1098))) _0x286040 = 0, _0x2b78b8();
else {
if (!_0x5ed1ec["connected"]) {
__privateSet(this, _isauthenticateStatus, ![]);
const _0x28ac1a = {};
_0x28ac1a["deviceId"] = __privateGet(this, _blueToothDeviceInfo)[_0x3366be(827)], _0x28ac1a[_0x36892e(331)] = ![], console[_0x5ce448(1168)]("蓝牙设备 " + _0x5ed1ec["deviceId"] + " 已断开连接", _0x28ac1a), wx[_0x47e5c0(780)](_0x52cad1), __privateSet(this, _isConnectStatus, ![]), _0x29dd96[_0x36a780(1255)](_0x2cd159, _0x29dd96[_0x5ce448(988)]) && _0x53f463 && _0x29dd96["lyLWu"](_0x53f463, _0x5ed1ec);
} else __privateSet(this, _isConnectStatus, !![]), _0x29dd96[_0x47e5c0(1255)](_0x2cd159, "connect") && _0x53f463 && _0x29dd96["ijruI"](_0x53f463, _0x5ed1ec);
}
};
__privateSet(this, _bleConnectionListener, _0x52cad1), wx[_0x5e6f16(769)](_0x52cad1);
};
disconnectDevice_fn = function() {
const _0x3997e9 = _0x339c7d, _0x429e02 = { "Vrucb": function(_0x2a6348, _0x459f63) {
return _0x2a6348(_0x459f63);
}, "BjXXM": function(_0x4d29f3, _0x3c9d27) {
return _0x4d29f3 === _0x3c9d27;
}, "sJWdU": "KMjaL", "ScwMz": _0x3997e9(1042) };
return new Promise((_0x58186f, _0x3e3ca0) => {
const _0x210993 = _0x3997e9, _0x2a1b3c = { "jhbhn": function(_0x5b9154, _0xcf4e37) {
return _0x5b9154(_0xcf4e37);
}, "cMuCh": function(_0x7f4177, _0xebd2ec) {
return _0x429e02["BjXXM"](_0x7f4177, _0xebd2ec);
}, "xIYkr": _0x429e02[_0x210993(575)] };
__privateGet(this, _blueToothDeviceInfo)["deviceId"] ? wx[_0x210993(551)]({ "deviceId": __privateGet(this, _blueToothDeviceInfo)["deviceId"], "success": (_0x25d0fd) => {
_0x429e02["Vrucb"](_0x58186f, _0x25d0fd);
}, "fail": (_0x5066ae) => {
const _0x13d857 = _0x210993, _0x1ad136 = _0x210993;
if (_0x2a1b3c[_0x13d857(701)](_0x2a1b3c[_0x13d857(372)], _0x2a1b3c[_0x1ad136(372)])) _0x2a1b3c[_0x1ad136(921)](_0x3e3ca0, _0x5066ae);
else {
const _0x2888bd = {};
_0x2888bd[_0x13d857(835)] = _0x29ae6a, _0x2888bd[_0x1ad136(813)] = 0, _0x2a1b3c[_0x1ad136(921)](_0x3b4f24, _0x2888bd);
}
} }) : _0x429e02[_0x210993(796)](_0x3e3ca0, _0x429e02[_0x210993(477)]);
});
};
createPropertyLLData_fn = function(_0x3da50, _0xa59875, _0x28addb, _0x538f79, _0x56a06d, _0x96c967) {
const _0x3e8ea2 = _0x132596, _0x22851f = _0x339c7d, _0xeb368a = _0x5b82df, _0x366646 = _0x5b82df, _0x1be315 = _0x339c7d, _0x3326f9 = { "NeGVC": function(_0x5029fc, _0x274bdb) {
return _0x5029fc(_0x274bdb);
}, "NEDWn": _0x3e8ea2(413), "BSnTC": function(_0x3629c5, _0x341168) {
return _0x3629c5 === _0x341168;
}, "qpfvd": _0x22851f(1069), "tLSeB": _0x22851f(490), "dVHfn": _0xeb368a(388), "vfYuH": _0x366646(1300), "NPwRY": "0000FFE0-65D0-4E20-B56A-E493541BA4E2", "ymlpn": function(_0x2cf61c, _0x36d095) {
return _0x2cf61c == _0x36d095;
}, "DjNhw": _0xeb368a(1066), "tcwwW": function(_0x28b1ea, _0x346d7e) {
return _0x28b1ea | _0x346d7e;
}, "LePoj": function(_0x374108, _0x38fda5) {
return _0x374108 << _0x38fda5;
}, "yPxwO": function(_0x180310, _0x376566) {
return _0x180310(_0x376566);
}, "noLsb": function(_0x874b8e, _0x177631) {
return _0x874b8e(_0x177631);
}, "CAFCW": _0xeb368a(397), "IIIaq": function(_0x570b7f, _0x73d11c) {
return _0x570b7f & _0x73d11c;
}, "cAskM": function(_0x4afc74) {
return _0x4afc74();
} };
return new Promise((_0x45d763, _0x1a3d29) => {
var _a, _b;
const _0x51b433 = _0x366646, _0x3325db = _0x22851f, _0x11c47a = _0x3e8ea2, _0x4ec5c8 = _0x1be315, _0x1092e8 = _0x1be315, _0x263746 = { "bUjKA": function(_0x159c95, _0x150034) {
const _0x38c2ec = _0x3d13;
return _0x3326f9[_0x38c2ec(1134)](_0x159c95, _0x150034);
}, "HOTTd": _0x51b433(1315), "duvgj": function(_0x1b87cd, _0x463147) {
return _0x1b87cd == _0x463147;
}, "TGsZp": function(_0x21770d) {
return _0x21770d();
}, "AisKd": function(_0x36912f, _0x445076) {
return _0x36912f !== _0x445076;
}, "sXxOE": _0x3326f9[_0x51b433(1039)] }, _0x2db1e9 = _0x3326f9["tcwwW"](_0x3da50 << 6 | _0x3326f9[_0x3325db(993)](_0xa59875, 5), _0x28addb);
let _0x520130 = (_a = _0x3326f9["yPxwO"](findByPropertyType, _0x56a06d)) == null ? void 0 : _a[_0x4ec5c8(749)];
const _0x10504b = _0x3326f9["noLsb"](paramsTlvHeaderType, _0x3326f9[_0x4ec5c8(1134)](_0x520130, _0x3326f9[_0x3325db(621)]) ? (_b = _0x3326f9[_0x1092e8(1342)](findByPropertyType, _0x56a06d)) == null ? void 0 : _b[_0x51b433(1226)] : _0x520130), _0x48feb9 = _0x3326f9[_0x51b433(1164)](_0x10504b << 5, _0x538f79), _0x14022d = transformPropertyData(_0x56a06d, _0x96c967), _0x58a2ad = new Uint8Array([_0x48feb9, ..._0x14022d]), _0xae14ef = new Uint8Array([_0x2db1e9, _0x3326f9[_0x1092e8(1257)](_0x58a2ad[_0x4ec5c8(1260)] >> 8, 255), _0x3326f9[_0x1092e8(1257)](_0x58a2ad[_0x11c47a(1260)], 255), ..._0x58a2ad])[_0x3325db(923)], _0x1283e2 = () => {
const _0x1266fc = _0x4ec5c8, _0x2ebfd7 = _0x1092e8, _0xd44870 = _0x11c47a, _0x3819a1 = _0x11c47a, _0x2f1ca8 = _0x3325db, _0x1c4234 = { "wYZbI": function(_0x54aee8, _0x48e92a) {
const _0x2cb294 = _0x3d13;
return _0x3326f9[_0x2cb294(1342)](_0x54aee8, _0x48e92a);
}, "Jtodf": function(_0x2f4a55, _0x2bfb80) {
return _0x2f4a55 !== _0x2bfb80;
}, "DkYiI": _0x1266fc(1018), "iubrl": _0x3326f9[_0x2ebfd7(332)], "eMlWq": function(_0x4f592f, _0x1e8342) {
const _0x559e7d = _0x2ebfd7;
return _0x3326f9[_0x559e7d(414)](_0x4f592f, _0x1e8342);
}, "KyXdW": _0x3326f9[_0xd44870(526)] };
__privateGet(this, _resendInterval) && (_0x3326f9["tLSeB"] !== _0x3326f9["dVHfn"] ? (clearInterval(__privateGet(this, _resendInterval)), __privateSet(this, _resendInterval, null)) : _0x305d13(_0xfb111e[_0x2ebfd7(1318)])), wx[_0x2f1ca8(316)]({ "characteristicId": _0x3326f9[_0xd44870(440)], "deviceId": __privateGet(this, _blueToothDeviceInfo)["deviceId"], "serviceId": _0x3326f9[_0x1266fc(586)], "value": _0xae14ef, "success": (_0x2b9bcf) => {
const _0x4f316e = _0x3819a1, _0x567259 = _0x1266fc, _0x2881ba = _0xd44870, _0x2f9fc8 = { "nRSGf": function(_0x151e00, _0x58a6f0) {
const _0x15fabd = _0x3d13;
return _0x263746[_0x15fabd(1281)](_0x151e00, _0x58a6f0);
}, "awHkz": function(_0x1ec710, _0x43c46d) {
return _0x1ec710 !== _0x43c46d;
}, "OcMtX": _0x263746["HOTTd"], "MHJZg": function(_0x1a840c, _0x3ef974) {
const _0x431fd7 = _0x3d13;
return _0x263746[_0x431fd7(437)](_0x1a840c, _0x3ef974);
}, "LWTVz": function(_0xc86aa5) {
return _0x263746["TGsZp"](_0xc86aa5);
} };
if (_0x263746[_0x4f316e(608)](_0x4f316e(1066), _0x263746["sXxOE"])) {
const _0x347b8d = _0x55aca8 ? function() {
const _0x15f426 = _0x567259;
if (_0x150b6e) {
const _0x3b7306 = _0x157d3c[_0x15f426(873)](_0x205253, arguments);
return _0x45f442 = null, _0x3b7306;
}
} : function() {
};
return _0x43db30 = ![], _0x347b8d;
} else {
let _0x4d6d25 = 0;
__privateSet(this, _resendInterval, setInterval(() => {
const _0x44528f = _0x567259, _0x483d5a = _0x4f316e, _0x5030d4 = _0x4f316e, _0xabd32a = _0x4f316e, _0x33ad72 = _0x4f316e, _0x34bcdf = { "jWbmn": function(_0x18911b, _0x389dad) {
const _0x574513 = _0x3d13;
return _0x2f9fc8[_0x574513(380)](_0x18911b, _0x389dad);
} };
if (_0x2f9fc8[_0x44528f(449)](_0x2f9fc8[_0x483d5a(1262)], _0x2f9fc8[_0x44528f(1262)])) {
const _0x5841c6 = new _0x186010(_0x2ccdcc[_0x5030d4(1318)]);
_0xde8cc0[_0x483d5a(1168)](_0x5841c6);
const _0x1f5cd1 = _0x5841c6[0];
if (_0x34bcdf[_0x33ad72(441)](_0x1f5cd1, 0)) ;
} else _0x4d6d25++, _0x2f9fc8[_0x44528f(944)](_0x4d6d25, 2) && (_0x4d6d25 = 0, _0x2f9fc8[_0xabd32a(1209)](_0x1283e2));
}, 1e3)), __privateSet(this, _changeCharacteristicFn, (_0x495dbc) => {
const _0x49b011 = _0x4f316e, _0x103c27 = _0x567259, _0x52a255 = _0x567259, _0x1b92c4 = _0x567259, _0x1c0660 = _0x567259, _0x14e88e = { "UkrtI": function(_0x246fc0, _0x145148) {
const _0x105956 = _0x3d13;
return _0x1c4234[_0x105956(1263)](_0x246fc0, _0x145148);
}, "HBZyG": "未连接蓝牙设备" };
if (_0x1c4234["Jtodf"](_0x1c4234["DkYiI"], _0x1c4234[_0x49b011(799)])) {
_0x1c4234[_0x49b011(1263)](clearInterval, __privateGet(this, _resendInterval));
const _0x64892a = new Uint8Array(_0x495dbc[_0x52a255(1318)]), _0x586c4 = _0x64892a[0];
if (_0x586c4 == 1) {
if (_0x1c4234[_0x49b011(314)](_0x103c27(1069), _0x1c4234[_0x52a255(462)])) _0x1c4234[_0x103c27(1263)](_0x45d763, _0x495dbc["value"]);
else {
const _0x247fe9 = {};
_0x247fe9[_0x1c0660(835)] = _0x1b92c4(869), _0x247fe9[_0x52a255(813)] = 0, _0x22dc2b(_0x247fe9);
return;
}
}
wx["offBLECharacteristicValueChange"](__privateGet(this, _changeCharacteristicFn));
} else {
_0x14e88e[_0x103c27(377)](_0x14cac3, { "errMsg": _0x14e88e[_0x49b011(359)], "result": 0 });
return;
}
}), wx[_0x2881ba(1095)](__privateGet(this, _changeCharacteristicFn));
}
}, "fail": (_0x31ba2c) => {
_0x1c4234["wYZbI"](_0x1a3d29, _0x31ba2c);
} });
};
_0x3326f9["cAskM"](_0x1283e2);
});
};
controlProperty_fn = function(_0xc0ee3a) {
const _0x13098e = _0x132596, _0x2992c1 = _0x132596, _0x704102 = _0x339c7d, _0x4bcb9e = { "dtpnv": function(_0x46d602, _0x3cff04) {
return _0x46d602(_0x3cff04);
}, "nLaQu": _0x13098e(581), "hUPEb": _0x2992c1(1006), "Xwspx": function(_0x1cf916, _0x21af73) {
return _0x1cf916 == _0x21af73;
}, "Yaiuw": function(_0x49bf12, _0x5743b6) {
return _0x49bf12(_0x5743b6);
}, "EJYHe": function(_0x4dc04d, _0x2dda95) {
return _0x4dc04d != _0x2dda95;
}, "Iubgt": _0x2992c1(513), "kYMkX": function(_0x356bc5, _0x3abc99) {
return _0x356bc5(_0x3abc99);
}, "PzzZV": function(_0x2ca6e7, _0x51ac60) {
return _0x2ca6e7 === _0x51ac60;
} };
return new Promise((_0x4772d9, _0x3c1439) => {
const _0x4345f9 = _0x2992c1, _0x55034d = _0x704102, _0x52d2d2 = _0x2992c1, _0x1f9270 = _0x704102, _0x366d97 = _0x13098e, _0x1cec5f = { "CodXk": function(_0x4b2b35, _0x21d1bc) {
return _0x4bcb9e["Xwspx"](_0x4b2b35, _0x21d1bc);
}, "KRTkg": function(_0x28113d, _0x5cfdc7) {
return _0x4bcb9e["dtpnv"](_0x28113d, _0x5cfdc7);
}, "hrrVJ": function(_0x11e271, _0x41e4db) {
const _0x9451d6 = _0x3d13;
return _0x4bcb9e[_0x9451d6(883)](_0x11e271, _0x41e4db);
} };
if (_0x4bcb9e[_0x4345f9(563)](findByPropertyId(Object[_0x4345f9(1173)](_0xc0ee3a[_0x52d2d2(710)])[0]), null)) "inEtN" !== _0x4bcb9e["Iubgt"] ? _0x2ac17c(_0x8414b8) : __privateMethod(this, __0x169082_instances, createPropertyLLData_fn).call(this, 0, 0, 0, _0x4bcb9e[_0x52d2d2(828)](findByPropertyId, Object[_0x4345f9(1173)](_0xc0ee3a["deviceData"])[0]), Object["keys"](_0xc0ee3a[_0x366d97(710)])[0], _0xc0ee3a[_0x52d2d2(710)])[_0x366d97(691)]((_0x24dc7e) => {
const _0x18994b = _0x366d97, _0x4dbc6a = _0x366d97, _0x302b79 = _0x366d97, _0x4d7586 = _0x1f9270, _0x5248af = _0x4345f9, _0x288aba = new Uint8Array(_0x24dc7e);
switch (_0x288aba[3]) {
case 0:
_0x4bcb9e[_0x18994b(478)](_0x4772d9, { "msg": _0x4bcb9e[_0x18994b(382)], "result": 1 });
break;
case 1:
_0x4bcb9e[_0x302b79(478)](_0x3c1439, { "errMsg": _0x4bcb9e[_0x4d7586(632)], "result": 0 });
break;
case 2:
const _0x331959 = {};
_0x331959[_0x5248af(835)] = _0x4d7586(614), _0x331959[_0x4dbc6a(813)] = 0, _0x4bcb9e[_0x5248af(478)](_0x3c1439, _0x331959);
break;
}
});
else {
if (_0x4bcb9e[_0x366d97(412)](_0x55034d(1160), _0x1f9270(1160))) {
const _0x5b39ba = {};
_0x5b39ba[_0x52d2d2(835)] = _0x52d2d2(1075), _0x5b39ba["result"] = 0, _0x4bcb9e[_0x52d2d2(828)](_0x3c1439, _0x5b39ba);
} else {
const _0x2c4378 = _0xdb9c24[_0x55034d(604)](23);
if (_0x1cec5f["CodXk"](_0xf61468[0], 5)) {
let _0x922701 = _0x1cec5f[_0x55034d(1117)](_0x2afbbe, _0x2c4378);
_0x922701 && (_0xdc51a4["offBLECharacteristicValueChange"](_0x48ef23), _0x4c0618(_0x5bd3f7), _0x1cec5f[_0x55034d(845)](_0x3d4564, _0x922701));
}
}
}
});
};
createActionLLData_fn = function(_0x2047a3, _0x4eb59f, _0x2deacd, _0x1016a8, _0x16dfbc) {
const _0x39bf88 = _0x132596, _0x134221 = _0x5b82df, _0xc68775 = _0x339c7d, _0x1067c2 = _0x5b82df, _0x40d065 = _0x132596, _0x16d34b = { "BTXnh": function(_0x1c7b76, _0x203dee) {
return _0x1c7b76(_0x203dee);
}, "OPOeC": _0x39bf88(378), "kQkbC": _0x39bf88(1271), "VqJJI": function(_0x3ac0b4, _0x45f252) {
return _0x3ac0b4 !== _0x45f252;
}, "veVBA": "cWVTV", "pIXlL": function(_0x28c8bc, _0x559aa7) {
return _0x28c8bc == _0x559aa7;
}, "FbxgQ": function(_0x161348, _0xacbd7c) {
return _0x161348 !== _0xacbd7c;
}, "eifWd": _0x39bf88(1150), "NiiNY": _0x39bf88(402), "hrpUC": function(_0x5512b7, _0xf24dc5) {
return _0x5512b7 == _0xf24dc5;
}, "vMApI": function(_0x4baff5, _0x582747) {
return _0x4baff5 == _0x582747;
}, "MRKvt": function(_0x472bfc, _0x51c5d8) {
return _0x472bfc === _0x51c5d8;
}, "Offew": _0x39bf88(507), "yfPeA": "暂无数据", "rgWEq": "设备端取消绑定", "lWznU": function(_0x5500da, _0x472b1c) {
return _0x5500da(_0x472b1c);
}, "vtxeW": function(_0x1fe694, _0x165e7b) {
return _0x1fe694 === _0x165e7b;
}, "zULXD": function(_0x3cf602, _0x1c527f, _0x3faa61) {
return _0x3cf602(_0x1c527f, _0x3faa61);
}, "oJnnz": "hPEwj", "zladE": "QFeDP", "ZsNtc": "sRgrv", "IiERh": _0xc68775(1300), "ESnqp": _0x1067c2(834), "jLhVD": function(_0x596847, _0x23e65b) {
return _0x596847 | _0x23e65b;
}, "aXyCJ": function(_0x56c7ff, _0x17b31e) {
return _0x56c7ff << _0x17b31e;
}, "XzPUD": function(_0xbc169d, _0x3d81bd) {
return _0xbc169d(_0x3d81bd);
}, "Gksgf": function(_0x1c3b69, _0x3e8e50) {
return _0x1c3b69 | _0x3e8e50;
}, "Pvtpk": function(_0x418711, _0x22d89e) {
return _0x418711 << _0x22d89e;
}, "vdTwB": function(_0xf7c212, _0x47023a, _0x481a24) {
return _0xf7c212(_0x47023a, _0x481a24);
}, "YaSTX": function(_0x43178e, _0x3e4549) {
return _0x43178e != _0x3e4549;
}, "OELeB": function(_0x162041, _0x39ee9e) {
return _0x162041 != _0x39ee9e;
}, "qBnrE": function(_0x564d7a, _0x4f1042) {
return _0x564d7a & _0x4f1042;
}, "KlNFp": function(_0xcb6cc, _0x4e63df) {
return _0xcb6cc >> _0x4e63df;
}, "lpbVq": function(_0x5dfca2, _0x54809d) {
return _0x5dfca2 & _0x54809d;
}, "risXk": function(_0xf3ae0e) {
return _0xf3ae0e();
} };
return new Promise((_0x1f8377, _0x44af68) => {
var _a;
const _0x2a7b52 = _0xc68775, _0x1882e3 = _0x1067c2, _0x5d2753 = _0x134221, _0x4e1457 = _0x40d065, _0x5e0ea1 = _0x40d065, _0x390151 = _0x16d34b[_0x2a7b52(677)](_0x16d34b["aXyCJ"](_0x2047a3, 6) | _0x16d34b[_0x2a7b52(1111)](_0x4eb59f, 5), _0x2deacd), _0x3af199 = paramsTlvHeaderType((_a = _0x16d34b[_0x5d2753(786)](findByActionType, _0x1016a8)) == null ? void 0 : _a[_0x1882e3(749)]), _0x324271 = _0x16d34b[_0x5e0ea1(1299)](_0x16d34b["Pvtpk"](_0x3af199, 5), _0x2deacd), _0xd755ed = _0x16d34b[_0x4e1457(625)](transformActionData, _0x1016a8, _0x16dfbc);
let _0x4e9722 = _0x16d34b[_0x1882e3(1273)](_0x3af199, 2) && _0x16d34b[_0x2a7b52(1273)](_0x3af199, 6) && _0x16d34b["OELeB"](_0x3af199, 7);
const _0x7c243e = new Uint8Array(_0x4e9722 ? [_0x324271, _0x16d34b[_0x2a7b52(1140)](_0x16d34b["KlNFp"](_0xd755ed[_0x5e0ea1(1260)], 8), 255), _0x16d34b[_0x1882e3(1140)](_0xd755ed[_0x4e1457(1260)], 255), ..._0xd755ed] : [..._0xd755ed]), _0x68c2ee = new Uint8Array([_0x390151, _0x16d34b[_0x4e1457(433)](_0x16d34b[_0x2a7b52(919)](_0x7c243e["byteLength"], 8), 255), _0x7c243e[_0x4e1457(1260)] & 255, ..._0x7c243e])["buffer"], _0x35e1fc = () => {
const _0x202008 = _0x5e0ea1, _0x5d59a6 = _0x5e0ea1, _0x59d0e5 = _0x4e1457, _0x528781 = _0x5d2753, _0xb539b9 = _0x2a7b52, _0x11f769 = { "kXpfk": function(_0x459dd2, _0x506710) {
const _0x55f588 = _0x3d13;
return _0x16d34b[_0x55f588(317)](_0x459dd2, _0x506710);
}, "RfSiy": _0x16d34b["OPOeC"], "WMUeI": _0x16d34b[_0x202008(639)], "LDLlO": function(_0x507ec7, _0x30fc74) {
return _0x16d34b["VqJJI"](_0x507ec7, _0x30fc74);
}, "MikvW": _0x16d34b["veVBA"], "eRfBH": function(_0x3beded, _0x5ac9cd) {
const _0x310622 = _0x202008;
return _0x16d34b[_0x310622(1238)](_0x3beded, _0x5ac9cd);
}, "CdenI": function(_0x3ef869, _0x43d022) {
const _0x240fee = _0x202008;
return _0x16d34b[_0x240fee(793)](_0x3ef869, _0x43d022);
}, "VZhAw": _0x16d34b[_0x202008(340)], "hfruk": _0x16d34b[_0x202008(791)], "Wcmlg": function(_0x3905e5, _0x4feb0d) {
const _0x3aa1b2 = _0x202008;
return _0x16d34b[_0x3aa1b2(323)](_0x3905e5, _0x4feb0d);
}, "fAooO": function(_0xb31183, _0x4d4884) {
const _0x4631b2 = _0x5d59a6;
return _0x16d34b[_0x4631b2(1238)](_0xb31183, _0x4d4884);
}, "CHTrX": function(_0x3f6246, _0x47dfa3) {
const _0x2b16fd = _0x59d0e5;
return _0x16d34b[_0x2b16fd(715)](_0x3f6246, _0x47dfa3);
}, "pYZyK": function(_0x2354cc, _0x25a508) {
const _0x57040c = _0x5d59a6;
return _0x16d34b[_0x57040c(334)](_0x2354cc, _0x25a508);
}, "iqbge": _0x16d34b[_0x5d59a6(345)], "qlXDS": function(_0xd8a814, _0x4deaa3) {
return _0xd8a814 - _0x4deaa3;
}, "hhoac": function(_0x17a997, _0x4a6473) {
return _0x17a997 === _0x4a6473;
}, "ciefr": _0x528781(735), "ccTec": function(_0x192667, _0x46dc75) {
const _0x5b535c = _0x202008;
return _0x16d34b[_0x5b535c(323)](_0x192667, _0x46dc75);
}, "dwPaY": function(_0x11040d, _0x39fea7) {
return _0x11040d - _0x39fea7;
}, "jXaqw": _0x16d34b["yfPeA"], "lShSH": _0x16d34b[_0x528781(472)], "kTUtm": function(_0x33b0c8, _0x278f2a) {
const _0x362f85 = _0x59d0e5;
return _0x16d34b[_0x362f85(317)](_0x33b0c8, _0x278f2a);
}, "vZRDS": function(_0x218b1e, _0x422383) {
const _0x295874 = _0x528781;
return _0x16d34b[_0x295874(736)](_0x218b1e, _0x422383);
}, "YGUje": function(_0x56863f, _0x5e5dd6) {
const _0x2268b5 = _0x59d0e5;
return _0x16d34b[_0x2268b5(565)](_0x56863f, _0x5e5dd6);
}, "LtJvk": function(_0x2d71f7, _0x1c819c, _0x331d7e) {
const _0x5c49e8 = _0x59d0e5;
return _0x16d34b[_0x5c49e8(748)](_0x2d71f7, _0x1c819c, _0x331d7e);
} };
if (_0x16d34b[_0xb539b9(565)](_0x16d34b[_0x528781(605)], _0x16d34b[_0x528781(1312)])) {
const _0x315d17 = {};
_0x315d17["errMsg"] = _0x4df6bb, _0x315d17[_0x202008(813)] = 0, _0x11f769[_0x528781(460)](_0x5b8fbc, _0x315d17);
} else __privateGet(this, _resendInterval) && (_0xb539b9(1233) === _0x16d34b[_0x528781(1222)] ? (clearInterval(__privateGet(this, _resendInterval)), __privateSet(this, _resendInterval, null)) : _0x11f769[_0x202008(460)](_0x32e3cb, _0x10f750)), wx[_0xb539b9(316)]({ "characteristicId": _0x16d34b[_0xb539b9(1297)], "deviceId": __privateGet(this, _blueToothDeviceInfo)[_0x528781(827)], "serviceId": _0x16d34b[_0xb539b9(922)], "value": _0x68c2ee, "success": (_0x5b3fed) => {
const _0x3aa0e2 = _0xb539b9, _0x56be56 = _0x59d0e5, _0x522751 = _0xb539b9, _0x4a0097 = _0x528781, _0x4c1cdb = _0x5d59a6, _0x41976d = { "rHdgq": function(_0x123a0d, _0x25be3e) {
const _0x5950e3 = _0x3d13;
return _0x11f769[_0x5950e3(460)](_0x123a0d, _0x25be3e);
}, "quHeY": _0x11f769["lShSH"], "SGYak": function(_0x2ecc71, _0x3d00aa) {
return _0x11f769["kTUtm"](_0x2ecc71, _0x3d00aa);
}, "nNkGv": function(_0x8a0afb, _0x285a9d) {
const _0x1eb1ec = _0x3d13;
return _0x11f769[_0x1eb1ec(962)](_0x8a0afb, _0x285a9d);
}, "BUCRf": function(_0x12fdd8, _0x4306a0) {
return _0x12fdd8(_0x4306a0);
}, "nAXts": _0x3aa0e2(1332) };
if (_0x11f769["YGUje"](_0x3aa0e2(1152), "SoCoz")) _0x204ba2(_0x41d487), _0x41976d[_0x3aa0e2(1219)](_0x44b3b2, _0x41976d[_0x56be56(728)]);
else {
let _0x199c94 = 0;
__privateSet(this, _resendInterval, _0x11f769[_0x4c1cdb(1054)](setInterval, () => {
const _0x58fe5a = _0x522751, _0x42e3b2 = _0x522751, _0x1f73fb = _0x3aa0e2, _0x46aa4e = _0x4a0097, _0x34108e = {};
_0x34108e[_0x58fe5a(681)] = _0x11f769[_0x42e3b2(564)];
const _0x3e7ad = _0x34108e;
if (_0x11f769[_0x58fe5a(517)] === _0x1f73fb(1258)) {
const _0x56e1b1 = {};
_0x56e1b1[_0x46aa4e(835)] = _0x3e7ad[_0x42e3b2(681)], _0x56e1b1[_0x1f73fb(813)] = 0, _0x2d5d3b(_0x56e1b1);
return;
} else _0x199c94++, _0x199c94 == 2 && (_0x199c94 = 0, _0x35e1fc());
}, 1e3));
let _0x429c96 = [];
__privateSet(this, _changeCharacteristicFn, (_0x1cd6e0) => {
const _0x1257f5 = _0x56be56, _0x4fe253 = _0x56be56, _0x57bab1 = _0x56be56, _0x5af79b = _0x56be56, _0x2d82c7 = _0x56be56, _0x153c68 = { "nTJTt": function(_0x2ebf2b, _0xc7015d) {
return _0x2ebf2b(_0xc7015d);
}, "sQvKa": _0x1257f5(583) };
if (_0x11f769["LDLlO"](_0x11f769[_0x1257f5(1080)], _0x11f769[_0x57bab1(1080)])) {
_0x153c68[_0x57bab1(770)](_0x3e4649, { "errMsg": _0x153c68[_0x5af79b(1025)], "result": 0 });
return;
} else {
_0x11f769[_0x2d82c7(460)](clearInterval, __privateGet(this, _resendInterval));
const _0x444dba = new Uint8Array(_0x1cd6e0[_0x57bab1(1318)]), _0x476cb6 = _0x444dba[0];
if (_0x11f769["eRfBH"](_0x476cb6, 4)) {
if (_0x11f769["CdenI"](_0x11f769[_0x4fe253(863)], _0x11f769[_0x5af79b(964)])) _0x1f8377(_0x1cd6e0[_0x1257f5(1318)]), wx[_0x2d82c7(965)](__privateGet(this, _changeCharacteristicFn));
else {
const _0x1dd261 = {};
_0x1dd261[_0x5af79b(1226)] = [], _0x1dd261[_0x57bab1(749)] = _0x1257f5(1332), _0x41976d[_0x2d82c7(852)](_0xcb5524, _0x1dd261);
}
} else {
if (_0x11f769[_0x57bab1(823)](_0x476cb6, 0)) {
if (_0x11f769[_0x2d82c7(652)](_0x444dba[1], 0) || _0x11f769[_0x1257f5(1290)](_0x444dba[1], 64)) {
if (_0x11f769[_0x2d82c7(874)](_0x444dba[3], 37)) {
if (_0x11f769[_0x5af79b(899)](_0x2d82c7(814), _0x11f769[_0x2d82c7(1326)])) {
const _0x365394 = {};
_0x365394[_0x5af79b(779)] = "动作已下发", _0x365394[_0x57bab1(813)] = 1, _0x41976d[_0x4fe253(1057)](_0xfeac6f, _0x365394);
} else {
const _0x452571 = {};
_0x452571[_0x2d82c7(1226)] = _0x444dba[_0x444dba[_0x2d82c7(1260)] - 1], _0x452571[_0x4fe253(749)] = "电量", _0x11f769[_0x2d82c7(460)](_0x1f8377, _0x452571);
return;
}
}
if (_0x11f769[_0x5af79b(874)](_0x444dba[_0x57bab1(604)](8)[_0x4fe253(626)], 0)) {
const _0x427fcf = {};
_0x427fcf[_0x2d82c7(1226)] = [], _0x427fcf[_0x1257f5(749)] = _0x57bab1(1332), _0x11f769[_0x2d82c7(460)](_0x1f8377, _0x427fcf);
}
_0x429c96[_0x4fe253(853)](..._0x444dba[_0x5af79b(604)](8));
} else _0x429c96[_0x4fe253(853)](..._0x444dba[_0x1257f5(604)](3));
if (_0x11f769["eRfBH"](_0x444dba[_0x11f769[_0x5af79b(732)](_0x444dba["byteLength"], 3)], 135)) _0x11f769[_0x4fe253(534)](_0x4fe253(735), _0x11f769[_0x5af79b(766)]) ? (_0x1f8377({ "data": new Uint8Array(_0x429c96)["buffer"], "type": "用户" }), wx[_0x57bab1(965)](__privateGet(this, _changeCharacteristicFn))) : _0x41976d[_0x5af79b(446)](_0x5e339e, { "data": [], "type": _0x41976d[_0x2d82c7(866)] });
else {
if (_0x444dba[_0x444dba[_0x2d82c7(1260)] - 3] == 131) _0x1f8377({ "data": new Uint8Array(_0x429c96)[_0x57bab1(923)], "type": "日志" }), wx["offBLECharacteristicValueChange"](__privateGet(this, _changeCharacteristicFn));
else {
if (_0x11f769["Wcmlg"](_0x444dba[_0x444dba["byteLength"] - 1], 3) && _0x11f769["ccTec"](_0x444dba[_0x11f769["qlXDS"](_0x444dba["byteLength"], 2)], 0) && _0x11f769[_0x57bab1(823)](_0x444dba[_0x11f769[_0x5af79b(522)](_0x444dba[_0x2d82c7(1260)], 3)], 1)) {
const _0x491586 = {};
_0x491586[_0x1257f5(1226)] = [], _0x491586[_0x1257f5(749)] = _0x11f769[_0x57bab1(352)], _0x1f8377(_0x491586);
}
}
}
}
}
}
}), wx[_0x4c1cdb(1095)](__privateGet(this, _changeCharacteristicFn));
}
}, "fail": (_0x817aa0) => {
_0x44af68(_0x817aa0);
} });
};
_0x16d34b["risXk"](_0x35e1fc);
});
};
controlAction_fn = function(_0x5a5be7) {
const _0x1f2640 = _0x5b82df, _0x559496 = _0x339c7d, _0x1d20ab = _0x5b82df, _0x120f3c = _0x132596, _0x2080cd = _0x5b82df, _0x4ed132 = { "LnNhe": function(_0x369b01, _0x108637) {
return _0x369b01(_0x108637);
}, "DPHjT": function(_0x2bfaa5, _0x4575aa) {
return _0x2bfaa5(_0x4575aa);
}, "vliDe": "未进行设备鉴权", "qfeQv": "设备绑定成功", "ynNSo": function(_0x123900, _0x543f53) {
return _0x123900 == _0x543f53;
}, "lhnDJ": _0x1f2640(1002), "zvlqo": function(_0x46663b, _0x2b53b7) {
return _0x46663b == _0x2b53b7;
}, "uFiRh": function(_0x5064a3, _0x351564) {
return _0x5064a3 === _0x351564;
}, "fkCfY": _0x1f2640(909), "SHgri": _0x559496(1118), "CsVhU": function(_0x51296d, _0x3c3f77) {
return _0x51296d !== _0x3c3f77;
}, "qrlmZ": "VoIZQ", "AUutY": _0x1f2640(1043), "LVZFh": "动作已下发", "mIDVa": _0x2080cd(1332), "AuWvM": function(_0x3e63d4, _0x2c963a) {
return _0x3e63d4 !== _0x2c963a;
}, "lblbY": _0x2080cd(555), "dPKGJ": function(_0x53980b, _0x3fb90) {
return _0x53980b(_0x3fb90);
}, "UQEYn": _0x120f3c(889), "ftnNy": function(_0x55fafb, _0xa242c7) {
return _0x55fafb(_0xa242c7);
}, "TcZUg": "oBizE", "xpbMu": function(_0x11c3a9, _0x3655d8) {
return _0x11c3a9(_0x3655d8);
}, "GRgAK": function(_0x26707a, _0x1251aa) {
return _0x26707a === _0x1251aa;
}, "mpPhu": function(_0x902b20, _0x279856) {
return _0x902b20 - _0x279856;
}, "LHiYC": function(_0x291b4a, _0x1b7dda) {
return _0x291b4a != _0x1b7dda;
}, "KiJVW": _0x1d20ab(1301), "rEyYn": function(_0x125dc3, _0x1e186c) {
return _0x125dc3(_0x1e186c);
}, "qEZlE": _0x1f2640(1274), "Hjkbe": "tteku" };
return new Promise((_0x46b114, _0x11550d) => {
const _0x55bc18 = _0x2080cd, _0x2a7aef = _0x120f3c, _0x511ae4 = _0x1d20ab, _0x267ef3 = _0x2080cd, _0xbe213e = _0x2080cd, _0x51c1d8 = { "ApqAi": function(_0x5a8f0f, _0x1b34f0) {
return _0x4ed132["ynNSo"](_0x5a8f0f, _0x1b34f0);
}, "oNeYL": function(_0x2c2318, _0x586dff) {
const _0x3aee69 = _0x3d13;
return _0x4ed132[_0x3aee69(855)](_0x2c2318, _0x586dff);
}, "Ntwhx": function(_0x3275e8, _0xb601b1) {
const _0x4f7d98 = _0x3d13;
return _0x4ed132[_0x4f7d98(392)](_0x3275e8, _0xb601b1);
}, "tvlFW": _0x4ed132["lhnDJ"], "Holmz": function(_0x52ec59, _0x90e2a7) {
const _0x28b6b4 = _0x3d13;
return _0x4ed132[_0x28b6b4(975)](_0x52ec59, _0x90e2a7);
}, "KMVEc": function(_0x3eeac9, _0xde8dbf) {
return _0x4ed132["LnNhe"](_0x3eeac9, _0xde8dbf);
}, "QlYxH": function(_0x30b73c, _0x446f66) {
const _0x2f5e14 = _0x3d13;
return _0x4ed132[_0x2f5e14(960)](_0x30b73c, _0x446f66);
}, "COMNa": "xTaNc", "ftSbE": _0x4ed132["fkCfY"], "WIMLG": _0x4ed132["SHgri"], "TGign": function(_0x3336b9, _0x1e9072) {
return _0x4ed132["zvlqo"](_0x3336b9, _0x1e9072);
}, "dljxg": function(_0x313e8a, _0x5b9ba9) {
const _0x34dec5 = _0x3d13;
return _0x4ed132[_0x34dec5(1014)](_0x313e8a, _0x5b9ba9);
}, "KqjWo": _0x4ed132[_0x55bc18(941)], "Puknf": _0x4ed132["AUutY"], "nqprc": _0x4ed132["LVZFh"], "qNTEv": _0x4ed132[_0x2a7aef(795)], "mAmwJ": function(_0x1168ec, _0x517035) {
return _0x4ed132["AuWvM"](_0x1168ec, _0x517035);
}, "qbEYU": "GLGqY", "YQCEo": _0x4ed132[_0x2a7aef(319)], "MKaAM": function(_0x24173c, _0x315a09) {
const _0x47d772 = _0x55bc18;
return _0x4ed132[_0x47d772(535)](_0x24173c, _0x315a09);
}, "uTNwH": _0x2a7aef(740), "ZBvnB": function(_0x4631a5, _0x565028) {
return _0x4631a5 && _0x565028;
}, "btyoG": _0x4ed132[_0xbe213e(454)], "gtEAc": function(_0x48d898, _0x493b70) {
const _0xd6a45a = _0x55bc18;
return _0x4ed132[_0xd6a45a(392)](_0x48d898, _0x493b70);
}, "IMojb": function(_0x1478b9, _0xf93f7b) {
const _0x430e72 = _0x267ef3;
return _0x4ed132[_0x430e72(689)](_0x1478b9, _0xf93f7b);
}, "nbSKo": function(_0x2337ec, _0x2465a0) {
const _0xea02b5 = _0x511ae4;
return _0x4ed132[_0xea02b5(818)](_0x2337ec, _0x2465a0);
}, "KZwzu": _0x4ed132["TcZUg"], "noFwB": function(_0x3e69b2, _0x14f51c) {
const _0x4faa44 = _0xbe213e;
return _0x4ed132[_0x4faa44(990)](_0x3e69b2, _0x14f51c);
}, "rCwXd": function(_0x2318bd, _0x1c5cce) {
return _0x2318bd(_0x1c5cce);
}, "YYqCj": function(_0xc60b80, _0x409ba) {
return _0xc60b80 == _0x409ba;
}, "PbkTm": "wRHOs", "fOqmb": function(_0x2d6ba3, _0x46e6a4) {
return _0x4ed132["GRgAK"](_0x2d6ba3, _0x46e6a4);
}, "lEcbo": _0x55bc18(394), "xBFKP": function(_0x4ff6b4, _0x47ba66) {
return _0x4ed132["mpPhu"](_0x4ff6b4, _0x47ba66);
}, "VKtzp": _0x2a7aef(419), "uOJzj": "数据解析错误" };
if (_0x4ed132[_0x55bc18(1147)](_0x4ed132["xpbMu"](findByActionId, _0x5a5be7["actionData"][_0x511ae4(986)]), null)) {
if (_0x4ed132[_0x511ae4(1171)](_0x4ed132[_0x2a7aef(707)], _0x4ed132[_0x2a7aef(707)])) __privateMethod(this, __0x169082_instances, createActionLLData_fn).call(this, 2, 0, _0x4ed132[_0x2a7aef(847)](findByActionId, _0x5a5be7[_0xbe213e(467)][_0x2a7aef(986)]), _0x5a5be7[_0x511ae4(467)][_0x2a7aef(986)], _0x5a5be7[_0x2a7aef(467)][_0x55bc18(1062)])[_0x2a7aef(691)]((_0x322e14) => {
const _0x18880c = _0x267ef3, _0x18e521 = _0x2a7aef, _0xc33383 = _0x2a7aef, _0x274942 = _0x2a7aef, _0x43d706 = _0xbe213e, _0x3eaa1e = { "WkRtK": function(_0x492a65, _0x36f1ec) {
return _0x51c1d8["oNeYL"](_0x492a65, _0x36f1ec);
} };
if (_0x51c1d8[_0x18880c(846)](_0x18880c(1072), _0x51c1d8[_0x18e521(841)])) {
if (_0x51c1d8["Holmz"](_0x5a5be7[_0x18e521(467)]["actionId"], _0x51c1d8["ftSbE"]) || _0x51c1d8[_0xc33383(743)](_0x5a5be7[_0x18880c(467)][_0xc33383(986)], _0x18e521(373)) || _0x5a5be7["actionData"][_0x18880c(986)] == _0x51c1d8[_0x18880c(364)]) {
let _0x22d80e = _0x322e14;
if (_0x51c1d8[_0x43d706(356)](_0x22d80e[_0xc33383(749)], "电量")) {
if (_0x51c1d8[_0x43d706(848)](_0x51c1d8[_0x18e521(1144)], _0x51c1d8[_0x43d706(634)])) {
const _0x489bd8 = {};
_0x489bd8[_0x18e521(779)] = _0x51c1d8["nqprc"], _0x489bd8[_0x43d706(813)] = _0x22d80e[_0x43d706(1226)], _0x46b114(_0x489bd8);
} else {
const _0x50ef85 = {};
_0x50ef85[_0x18880c(835)] = "未进行设备鉴权", _0x50ef85[_0x18e521(813)] = 0, _0x48c6be(_0x50ef85);
return;
}
}
_0x51c1d8[_0x274942(743)](_0x22d80e[_0x18e521(749)], _0x51c1d8["qNTEv"]) && (_0x51c1d8[_0xc33383(927)](_0x51c1d8[_0x18880c(1248)], _0x51c1d8[_0x43d706(885)]) ? _0x51c1d8[_0x274942(979)](_0x46b114, { "msg": _0x51c1d8[_0x18880c(651)], "result": [] }) : _0x3eaa1e[_0x18880c(851)](_0x1e161d, _0x517e24));
if (_0x22d80e[_0x18e521(749)] == "日志") {
if (_0x51c1d8[_0x43d706(846)](_0x18e521(502), _0x51c1d8[_0x18880c(481)])) _0x3eaa1e[_0xc33383(851)](_0x3cbd09, _0x58c173);
else {
const _0xde0a41 = mergeHistoryPackages([...new Uint8Array(_0x22d80e[_0xc33383(1226)])]), _0x3097b1 = _0xde0a41[_0x43d706(742)]((_0x4c7809) => _0x4c7809["pwdId"] == 0), _0x36abb1 = _0xde0a41["some"]((_0x381d93) => !_0x381d93[_0x18880c(1061)](_0x43d706(1223)));
if (_0x51c1d8[_0x18e521(642)](_0x3097b1, _0x36abb1)) {
if (_0x51c1d8["QlYxH"](_0x51c1d8[_0x274942(1172)], _0x51c1d8["btyoG"])) {
const _0x6fb041 = {};
_0x6fb041[_0x18e521(779)] = _0xc33383(1183), _0x6fb041[_0x18880c(813)] = [], _0x51c1d8[_0x18e521(408)](_0x46b114, _0x6fb041);
} else {
const _0x4493a2 = new _0xa52645(_0x1e6f72[_0x274942(1318)]);
_0x5a939b[_0x18e521(1168)](_0x4493a2);
const _0x44ef4a = _0x4493a2[0];
if (_0x51c1d8[_0x274942(743)](_0x44ef4a, 0)) ;
}
}
_0x51c1d8[_0x18e521(773)](_0x46b114, { "msg": _0x51c1d8["nqprc"], "result": _0xde0a41 });
}
} else {
if (_0x51c1d8[_0x18880c(743)](_0x22d80e[_0x43d706(749)], "用户")) {
if (_0x51c1d8[_0x18e521(1214)]("oBizE", _0x51c1d8[_0x18880c(432)])) _0x51c1d8[_0x43d706(1034)](_0x23fc04, _0x3b24e8);
else {
const _0x2f9f8d = _0x51c1d8[_0x43d706(325)](mergeUserPackages, [...new Uint8Array(_0x22d80e[_0x18e521(1226)])]);
_0x51c1d8[_0xc33383(325)](_0x46b114, { "msg": _0x51c1d8["nqprc"], "result": _0x2f9f8d });
}
}
}
} else {
const _0x13296a = new Uint8Array(_0x322e14);
let _0x1ca55e = _0x51c1d8[_0x18e521(406)](findByActionOutput, _0x5a5be7[_0xc33383(467)][_0x18e521(986)]);
switch (_0x13296a[3]) {
case 0:
if (_0x51c1d8[_0x18e521(1153)](_0x1ca55e, null)) {
const _0x1b4b3f = {};
_0x1b4b3f[_0x18880c(779)] = _0x51c1d8[_0xc33383(651)], _0x1b4b3f[_0x274942(813)] = 1, _0x46b114(_0x1b4b3f);
} else {
if (_0x51c1d8[_0x18e521(629)] === _0x51c1d8[_0x43d706(629)]) {
let _0x30c0a1 = {};
for (let _0x2815e7 of _0x1ca55e[_0x18e521(894)]) {
_0x51c1d8["fOqmb"](_0x51c1d8[_0x18880c(661)], _0x51c1d8[_0x274942(661)]) ? _0x30c0a1 = { "msg": _0x18e521(1183), "result": _0x13296a[_0x51c1d8["xBFKP"](_0x13296a[_0x274942(1260)], 1)] } : _0x51c1d8[_0x43d706(428)](_0x9db765, _0x51c1d8[_0xc33383(902)]);
}
_0x46b114(_0x30c0a1);
} else _0x3eaa1e[_0x18880c(851)](_0xb7c72e, _0x4b58bd);
}
break;
case 1:
const _0x4670e6 = {};
_0x4670e6[_0x274942(835)] = _0x51c1d8[_0xc33383(1022)], _0x4670e6[_0x18e521(813)] = 0, _0x11550d(_0x4670e6);
break;
case 2:
_0x51c1d8["MKaAM"](_0x11550d, { "errMsg": _0x51c1d8["uOJzj"], "result": 0 });
break;
}
}
} else {
let _0x3f1fa1 = _0x51c1d8[_0x43d706(428)](_0x55860a, _0xf1250d[_0x18880c(554)][0]["advertisData"]);
_0x51c1d8[_0xc33383(913)](_0x3f1fa1, "EZRBB55EWH") && (_0x52ce4d[_0x4e5887[_0x18880c(554)][0][_0x18880c(827)]] = _0x3b1969[_0x43d706(393)](_0x2c5227[_0x18e521(554)][0], { "productId": _0x51c1d8[_0x274942(1190)](_0x4ef951, _0x5a3c46[_0x18e521(554)][0][_0x274942(453)]) }));
}
})[_0xbe213e(699)]((_0x3730f7) => {
const _0x59c1d6 = _0x267ef3;
_0x4ed132[_0x59c1d6(855)](_0x11550d, _0x3730f7);
});
else {
_0x4ed132[_0x511ae4(392)](_0x1dae3c, { "errMsg": _0x4ed132[_0x55bc18(830)], "result": 0 });
return;
}
} else {
if (_0x4ed132[_0x511ae4(818)](_0x4ed132[_0x267ef3(708)], _0x4ed132[_0xbe213e(550)])) {
const _0x4a3039 = {};
_0x4a3039[_0xbe213e(835)] = _0x55bc18(350), _0x4a3039[_0x511ae4(813)] = 0, _0x4ed132[_0x511ae4(535)](_0x11550d, _0x4a3039);
} else _0x4ed132[_0x2a7aef(855)](_0x94764b, { "msg": _0x4ed132[_0xbe213e(1294)], "result": 1, "deviceName": _0x37d7fb });
}
});
};
syncTime_fn = function() {
const _0xa4402b = _0x132596, _0x5e8bc9 = _0x339c7d, _0x489127 = _0x5b82df, _0x457e34 = { "snpSs": _0xa4402b(1133), "GHDqs": function(_0x3f964a, _0xaac9df) {
return _0x3f964a(_0xaac9df);
}, "jnwxZ": _0x5e8bc9(1132), "sQuWO": _0xa4402b(955), "sXnyy": "update_time", "koGmO": function(_0x502aca, _0x383cb7) {
return _0x502aca / _0x383cb7;
}, "pexdi": function(_0x29ccad, _0x1f75f5) {
return _0x29ccad / _0x1f75f5;
} };
return new Promise((_0x1f22c5, _0x2534ce) => {
const _0x35b867 = _0x5e8bc9, _0x38c91a = _0x489127, _0x23eb05 = _0xa4402b, _0x293178 = _0x489127, _0x984a02 = {};
_0x984a02["MzyKk"] = _0x457e34[_0x35b867(618)];
const _0x454d75 = _0x984a02;
_0x457e34["sQuWO"] === _0x35b867(562) ? _0x442cdc["warn"](_0x454d75["MzyKk"]) : __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, { "actionData": { "actionId": _0x457e34[_0x35b867(504)], "params": { "address": _0x457e34[_0x35b867(698)]((/* @__PURE__ */ new Date())[_0x35b867(693)](), -1)["toString"](), "time": _0x457e34[_0x35b867(523)]((/* @__PURE__ */ new Date())[_0x23eb05(1201)](), 1e3) } } })["then"]((_0x49d8e1) => {
const _0x9ef8dc = _0x23eb05, _0x553635 = _0x38c91a, _0x1bcc1d = _0x35b867, _0x5190f1 = _0x35b867, _0x289c3f = { "CjAAt": function(_0x42b4f7, _0x359bef) {
return _0x42b4f7(_0x359bef);
}, "ncHAq": _0x9ef8dc(1112) };
_0x457e34[_0x9ef8dc(587)] === _0x457e34[_0x9ef8dc(587)] ? (console[_0x1bcc1d(1168)](_0x5190f1(385) + __privateGet(this, _blueToothDeviceInfo)["deviceName"] + _0x553635(1324)), _0x457e34[_0x1bcc1d(326)](_0x1f22c5, _0x49d8e1)) : _0x289c3f["CjAAt"](_0x2ee471, { "msg": _0x289c3f[_0x9ef8dc(984)], "result": _0x32310d[_0x9ef8dc(813)] });
})["catch"]((_0x3cbc26) => {
const _0x4a9b5a = _0x293178;
console[_0x4a9b5a(1168)]("蓝牙设备 " + __privateGet(this, _blueToothDeviceInfo)["deviceName"] + _0x4a9b5a(981)), _0x457e34[_0x4a9b5a(326)](_0x2534ce, _0x3cbc26);
});
});
};
getCurrentId_fn = function() {
const _0x2f5942 = { "ZODzv": function(_0x5e38b6, _0x7f395f) {
return _0x5e38b6(_0x7f395f);
}, "ECNlf": function(_0x28ad06, _0x52f646) {
return _0x28ad06 !== _0x52f646;
} };
return new Promise((_0x3c2715, _0x5b0109) => {
const _0x1b76ac = _0x3d13, _0x17d742 = _0x3d13, _0x3acb26 = _0x3d13, _0x6a13a1 = { "vZsFj": function(_0x41789c, _0x4cfa44) {
const _0x3cfe7e = _0x3d13;
return _0x2f5942[_0x3cfe7e(1228)](_0x41789c, _0x4cfa44);
} };
if (_0x2f5942[_0x1b76ac(685)](_0x1b76ac(418), _0x17d742(442))) {
const _0x2ef581 = {};
_0x2ef581["actionId"] = "currentId", _0x2ef581[_0x3acb26(1062)] = "";
const _0x6768ff = {};
_0x6768ff[_0x17d742(467)] = _0x2ef581, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0x6768ff)["then"]((_0xbb138a) => {
_0x2f5942["ZODzv"](_0x3c2715, _0xbb138a);
})[_0x1b76ac(699)]((_0x132b57) => {
const _0x41c2dd = _0x17d742;
_0x2f5942[_0x41c2dd(1228)](_0x5b0109, _0x132b57);
});
} else _0x6a13a1[_0x3acb26(443)](_0x58d450, _0x4bbfd7);
});
};
openLock_fn = function() {
const _0x3e3c8a = _0x339c7d, _0x3263ab = _0x132596, _0x12e693 = _0x5b82df, _0x1179ae = _0x339c7d, _0x355b2 = { "WMPXa": function(_0x4c95c5, _0x38d8e3) {
return _0x4c95c5(_0x38d8e3);
}, "DjaHE": _0x3e3c8a(1343), "doNIQ": function(_0xb108c, _0x10b86a) {
return _0xb108c(_0x10b86a);
}, "GrHzq": function(_0x4f8eae, _0x2f177f) {
return _0x4f8eae !== _0x2f177f;
}, "aODCh": _0x3263ab(1270), "OGblx": function(_0x57bba9, _0x4b1b31) {
return _0x57bba9(_0x4b1b31);
}, "LAkwO": _0x3e3c8a(450), "EUPVY": _0x1179ae(1313), "igXOV": _0x1179ae(375), "wenap": _0x3e3c8a(1198) };
return new Promise((_0x19ab39, _0x35e43b) => {
const _0x2938d7 = _0x3263ab, _0x28d151 = _0x12e693, _0x4b39de = _0x3263ab, _0x15a541 = _0x3e3c8a, _0x139050 = _0x3263ab, _0x43abc4 = { "XmHJF": function(_0x5f29c7, _0x28f80b) {
return _0x5f29c7(_0x28f80b);
}, "Znqdq": _0x355b2["LAkwO"] };
if (!__privateGet(this, _isConnectStatus)) {
if (_0x355b2[_0x2938d7(800)](_0x355b2[_0x2938d7(429)], _0x355b2[_0x4b39de(636)])) {
const _0x546f9 = {};
_0x546f9[_0x28d151(835)] = _0x15a541(1343), _0x546f9[_0x4b39de(813)] = 0, _0x35e43b(_0x546f9);
return;
} else {
_0x355b2[_0x28d151(1146)](_0x2dd2a2, { "errMsg": _0x355b2[_0x2938d7(722)], "result": 0 });
return;
}
}
if (!__privateGet(this, _isauthenticateStatus)) {
const _0x3a92b2 = {};
_0x3a92b2["errMsg"] = "未进行设备鉴权", _0x3a92b2[_0x28d151(813)] = 0, _0x355b2[_0x2938d7(843)](_0x35e43b, _0x3a92b2);
return;
}
const _0x387302 = {};
_0x387302["actionId"] = _0x355b2[_0x28d151(751)], _0x387302[_0x28d151(1062)] = "";
const _0x279434 = {};
_0x279434["actionData"] = _0x387302, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0x279434)[_0x139050(691)]((_0x464ea9) => {
const _0x58b1ca = _0x4b39de;
_0x355b2[_0x58b1ca(1087)](_0x19ab39, _0x464ea9);
})[_0x139050(699)]((_0x335102) => {
const _0x317e87 = _0x28d151, _0x4be578 = _0x2938d7, _0x917800 = _0x139050;
_0x355b2["GrHzq"](_0x355b2[_0x317e87(1230)], _0x355b2[_0x4be578(1230)]) ? _0x43abc4[_0x917800(584)](_0x10bb2e, { "msg": _0x43abc4[_0x917800(1252)], "result": _0x3b50f9[_0x317e87(813)] }) : _0x355b2[_0x317e87(843)](_0x35e43b, _0x335102);
});
});
};
closeLock_fn = function() {
const _0x2ebfa5 = _0x5b82df, _0x20bf39 = _0x132596, _0x1c1f82 = _0x132596, _0x39abba = _0x132596, _0xcab96 = { "jtSgb": function(_0x371589, _0x21a068) {
return _0x371589(_0x21a068);
}, "LqgQG": function(_0x3825e2, _0x56526e) {
return _0x3825e2(_0x56526e);
}, "raEke": "未连接蓝牙设备", "JvmTE": _0x2ebfa5(1232), "sAWPT": function(_0x4d60ae, _0x5de2ab) {
return _0x4d60ae(_0x5de2ab);
}, "vXpXj": function(_0x4a5b30, _0xb705f5) {
return _0x4a5b30 === _0xb705f5;
}, "RTyJp": "JAIVy", "jUWqP": _0x20bf39(1045), "nuHOz": function(_0x5ea606, _0x488437) {
return _0x5ea606 !== _0x488437;
}, "ORINo": _0x1c1f82(1131), "MNHgV": function(_0x5a5d6f, _0x286ede) {
return _0x5a5d6f(_0x286ede);
}, "atZaQ": _0x39abba(457), "dklRi": "close_lock" };
return new Promise((_0x3b5a37, _0x5b88d4) => {
const _0x1b7671 = _0x20bf39, _0x3a0ea7 = _0x20bf39, _0x31f31a = _0x20bf39, _0x4046e8 = _0x39abba, _0x9f879a = _0x39abba, _0x334196 = { "LjrwZ": function(_0x41dce7, _0x4ac552) {
return _0xcab96["jtSgb"](_0x41dce7, _0x4ac552);
}, "DmJrT": function(_0x561841, _0xa80560) {
return _0xcab96["LqgQG"](_0x561841, _0xa80560);
}, "RLyKt": _0xcab96[_0x1b7671(1079)], "zKhsa": _0xcab96[_0x1b7671(1331)], "bVObu": function(_0x151eed, _0x296624) {
const _0x400c9f = _0x1b7671;
return _0xcab96[_0x400c9f(407)](_0x151eed, _0x296624);
} };
if (_0xcab96[_0x31f31a(1340)](_0xcab96[_0x1b7671(1073)], _0xcab96[_0x31f31a(1266)])) _0x5c7d43[_0x3a0ea7(965)](_0x2a1ecf), _0x334196["LjrwZ"](_0x17a143, _0x5ddbab), _0x334196["DmJrT"](_0x366c1b, _0x10e057);
else {
if (!__privateGet(this, _isConnectStatus)) {
_0xcab96["sAWPT"](_0x5b88d4, { "errMsg": _0xcab96[_0x9f879a(1079)], "result": 0 });
return;
}
if (!__privateGet(this, _isauthenticateStatus)) {
if (_0xcab96[_0x31f31a(383)](_0xcab96["ORINo"], _0x9f879a(684))) {
_0xcab96[_0x1b7671(893)](_0x5b88d4, { "errMsg": _0xcab96[_0x9f879a(1178)], "result": 0 });
return;
} else {
if (_0x10f8c6) {
const _0x2deafe = _0x587d55[_0x9f879a(873)](_0xbeb6b3, arguments);
return _0x3a4f9a = null, _0x2deafe;
}
}
}
const _0x305f02 = {};
_0x305f02[_0x4046e8(986)] = _0xcab96[_0x1b7671(1335)], _0x305f02[_0x31f31a(1062)] = "";
const _0xc036f = {};
_0xc036f[_0x1b7671(467)] = _0x305f02, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0xc036f)[_0x4046e8(691)]((_0x2b23c5) => {
const _0x10b84a = _0x1b7671;
_0x334196[_0x10b84a(1344)](_0x3b5a37, _0x2b23c5);
})[_0x3a0ea7(699)]((_0x2da975) => {
const _0x269409 = _0x31f31a, _0x5e1259 = _0x3a0ea7, _0x552358 = _0x1b7671, _0x130c29 = {};
_0x130c29[_0x269409(351)] = _0x334196["RLyKt"];
const _0x200388 = _0x130c29;
if (_0x334196[_0x269409(680)] !== "RwGAH") _0x334196[_0x5e1259(702)](_0x5b88d4, _0x2da975);
else {
const _0x19f8ad = {};
_0x19f8ad["errMsg"] = _0x200388[_0x552358(351)], _0x19f8ad["result"] = 0, _0x46d74e(_0x19f8ad);
return;
}
});
}
});
};
addPwd_fn = function(_0x2ee8b7) {
const _0x46b309 = _0x132596, _0x60a321 = _0x5b82df, _0x38e865 = _0x339c7d, _0x65c2db = _0x5b82df, _0xc30cf4 = _0x5b82df, _0x460e4d = { "PcyRZ": function(_0x3bc49f, _0x53c739) {
return _0x3bc49f(_0x53c739);
}, "gFFSd": _0x46b309(457), "TLLyp": function(_0x5a915a, _0x1418d8) {
return _0x5a915a === _0x1418d8;
}, "NAVit": _0x60a321(511), "aTvAb": _0x60a321(1115), "xrcZQ": _0x38e865(539), "XdxNi": function(_0x14161a, _0x1e0145) {
return _0x14161a !== _0x1e0145;
}, "unorB": _0x65c2db(369), "sQWkG": "未连接蓝牙设备", "QuNUp": function(_0x5d63c2, _0x114230) {
return _0x5d63c2(_0x114230);
}, "ItIOp": function(_0x7de79b, _0x180e23) {
return _0x7de79b !== _0x180e23;
}, "MDDFl": _0x38e865(613), "pfBaP": function(_0x30be12, _0x4f0902) {
return _0x30be12(_0x4f0902);
}, "rJoNK": "参数不完整" };
return new Promise((_0x42cf90, _0x1e8ac5) => {
const _0x414d6d = _0x38e865, _0x5023ad = _0x38e865, _0x2d473d = _0xc30cf4, _0xafd403 = _0x60a321, _0x262a20 = _0xc30cf4;
if (!__privateGet(this, _isConnectStatus)) {
if (_0x460e4d[_0x414d6d(525)](_0x414d6d(607), _0x460e4d[_0x5023ad(1235)])) {
const _0x53cb93 = {};
_0x53cb93["errMsg"] = _0x460e4d[_0x414d6d(1017)], _0x53cb93[_0x414d6d(813)] = 0, _0x1e8ac5(_0x53cb93);
return;
} else {
_0x460e4d["PcyRZ"](_0x58fc2f, { "errMsg": _0x460e4d[_0x5023ad(426)], "result": 0 });
return;
}
}
if (!__privateGet(this, _isauthenticateStatus)) {
_0x460e4d[_0x5023ad(768)](_0x1e8ac5, { "errMsg": _0x460e4d[_0x414d6d(426)], "result": 0 });
return;
}
if (!_0x2ee8b7["name"] || !_0x2ee8b7[_0x2d473d(1016)]) {
if (_0x460e4d[_0x414d6d(760)](_0x460e4d[_0x414d6d(816)], _0x460e4d[_0x5023ad(816)])) _0x460e4d[_0x262a20(1303)](_0x20f78b, _0xd0f019);
else {
_0x460e4d[_0x414d6d(654)](_0x1e8ac5, { "errMsg": _0x460e4d["rJoNK"], "result": 0 });
return;
}
}
__privateMethod(this, __0x169082_instances, getCurrentId_fn).call(this)[_0xafd403(691)]((_0x118f25) => {
const _0x5beda0 = _0x2d473d, _0x3e6174 = _0x262a20, _0x533040 = _0x5023ad, _0x4574e8 = _0x262a20, _0x12b5eb = _0x2d473d, _0x3ef6e7 = { "NlLFC": function(_0x5f589a, _0x180605) {
return _0x460e4d["PcyRZ"](_0x5f589a, _0x180605);
}, "FYyyX": function(_0x2a2dbd, _0x3c6c3f) {
const _0x56f187 = _0x3d13;
return _0x460e4d[_0x56f187(1127)](_0x2a2dbd, _0x3c6c3f);
}, "seunp": _0x460e4d[_0x5beda0(767)], "KOEZp": _0x460e4d["aTvAb"] }, _0xd11a8b = {};
_0xd11a8b[_0x5beda0(545)] = _0x118f25[_0x533040(813)], _0xd11a8b[_0x4574e8(1289)] = _0x2ee8b7[_0x12b5eb(1223)], _0xd11a8b[_0x12b5eb(547)] = 1, _0xd11a8b[_0x3e6174(734)] = 1, _0xd11a8b[_0x12b5eb(1016)] = _0x2ee8b7["password"], _0xd11a8b[_0x4574e8(750)] = _0x2ee8b7[_0x5beda0(750)], _0xd11a8b["end_effective_time"] = _0x2ee8b7[_0x12b5eb(968)];
const _0x1f9782 = {};
_0x1f9782[_0x12b5eb(986)] = _0x460e4d[_0x12b5eb(623)], _0x1f9782[_0x533040(1062)] = _0xd11a8b;
const _0x3d36c2 = {};
_0x3d36c2[_0x533040(467)] = _0x1f9782, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0x3d36c2)[_0x4574e8(691)]((_0x332cf0) => {
const _0xe591c3 = _0x3e6174, _0x2bb5eb = _0x3e6174, _0x333841 = _0x12b5eb, _0x3aba3d = _0x533040;
_0x3ef6e7["FYyyX"](_0x3ef6e7[_0xe591c3(794)], _0x3ef6e7[_0x2bb5eb(794)]) ? _0x3ef6e7[_0xe591c3(318)](_0x42cf90, { "msg": _0x3ef6e7[_0x333841(495)], "result": _0x332cf0[_0xe591c3(813)], "pwdId": _0x118f25[_0x3aba3d(813)] }) : _0x3ef6e7[_0xe591c3(318)](_0x32fd50, _0x1c0265);
})["catch"]((_0x1a353b) => {
_0x1e8ac5(_0x1a353b);
});
})[_0x262a20(699)]((_0x423969) => {
_0x1e8ac5(_0x423969);
});
});
};
deletePwd_fn = function(_0x4c4a69) {
const _0x38b688 = _0x5b82df, _0x3b26ec = _0x132596, _0x119052 = _0x339c7d, _0x2da2f8 = _0x339c7d, _0x1ed714 = _0x339c7d, _0x48cee3 = { "NrDVF": function(_0x4953c5, _0x37f917) {
return _0x4953c5(_0x37f917);
}, "KVwiI": function(_0x31d630, _0x3ff9aa) {
return _0x31d630 !== _0x3ff9aa;
}, "EYXJH": "deletePwd动作已下发", "VuiOZ": function(_0x1cecd2, _0x10e2f4) {
return _0x1cecd2(_0x10e2f4);
}, "qdOEh": function(_0x47cc2f) {
return _0x47cc2f();
}, "waHXr": _0x38b688(985), "RPeej": _0x3b26ec(1343), "IJixE": _0x3b26ec(682), "YAKFP": _0x38b688(361), "HjJtM": function(_0x4868dc, _0x5b668c) {
return _0x4868dc(_0x5b668c);
}, "agVKR": _0x2da2f8(457), "iVkFh": function(_0x360896, _0x3b8900) {
return _0x360896(_0x3b8900);
} };
return new Promise((_0x30e52a, _0x455ddf) => {
const _0x6302d4 = _0x119052, _0x21fe13 = _0x1ed714, _0x54f661 = _0x119052, _0x4319ff = _0x2da2f8, _0x132df6 = _0x3b26ec, _0x44a17c = { "yZEOC": function(_0x3db628, _0x3d4039) {
return _0x48cee3["VuiOZ"](_0x3db628, _0x3d4039);
}, "vmrTh": function(_0x10a07c) {
const _0x177c3e = _0x3d13;
return _0x48cee3[_0x177c3e(546)](_0x10a07c);
} };
if (_0x48cee3["KVwiI"](_0x48cee3[_0x6302d4(1070)], _0x48cee3["waHXr"])) {
const _0x5e55ad = {};
_0x5e55ad[_0x6302d4(835)] = "未进行设备鉴权", _0x5e55ad["result"] = 0, _0x44a17c["yZEOC"](_0xf90d86, _0x5e55ad);
return;
} else {
if (!__privateGet(this, _isConnectStatus)) {
const _0x95cecb = {};
_0x95cecb["errMsg"] = _0x48cee3[_0x21fe13(622)], _0x95cecb[_0x6302d4(813)] = 0, _0x455ddf(_0x95cecb);
return;
}
if (!__privateGet(this, _isauthenticateStatus)) {
if (_0x48cee3[_0x54f661(585)] === _0x48cee3[_0x4319ff(1169)]) _0x48cee3[_0x4319ff(556)](_0x46b5fd, _0x3c7253);
else {
_0x48cee3[_0x6302d4(1113)](_0x455ddf, { "errMsg": _0x48cee3["agVKR"], "result": 0 });
return;
}
}
if (!_0x4c4a69[_0x54f661(992)]) {
const _0x5f2aa9 = {};
_0x5f2aa9[_0x21fe13(835)] = _0x132df6(583), _0x5f2aa9["result"] = 0, _0x48cee3[_0x132df6(518)](_0x455ddf, _0x5f2aa9);
return;
}
const _0x410250 = {};
_0x410250[_0x4319ff(1237)] = _0x4c4a69[_0x4319ff(992)];
const _0x2281ef = {};
_0x2281ef[_0x132df6(710)] = _0x410250, __privateMethod(this, __0x169082_instances, controlProperty_fn).call(this, _0x2281ef)[_0x6302d4(691)]((_0x3d2590) => {
const _0x357c15 = _0x132df6;
_0x48cee3[_0x357c15(599)]("BYAZU", "fdqTQ") ? _0x48cee3["NrDVF"](_0x30e52a, { "msg": _0x48cee3[_0x357c15(999)], "result": _0x3d2590["result"] }) : (_0x55f440 = 0, _0x44a17c[_0x357c15(1308)](_0x78d2b9));
})[_0x6302d4(699)]((_0x3e91a2) => {
const _0x4dd403 = _0x54f661;
_0x44a17c[_0x4dd403(673)](_0x455ddf, _0x3e91a2);
});
}
});
};
addFingerprint_fn = function(_0x4e7c15, _0x34ed95) {
const _0x5b6007 = _0x339c7d, _0x17c8fe = _0x5b82df, _0x49e674 = _0x5b82df, _0x56d06d = _0x132596, _0x4443c7 = _0x5b82df, _0x1a6caf = { "hloMf": _0x5b6007(920), "LxKKC": function(_0x28392f, _0x34db15) {
return _0x28392f(_0x34db15);
}, "XVZyL": function(_0x31738e, _0x1dfc66) {
return _0x31738e(_0x1dfc66);
}, "HXcnu": function(_0x47b5a0, _0x114bf1) {
return _0x47b5a0 === _0x114bf1;
}, "NHfVA": _0x5b6007(903), "ycCTi": "aRNfA", "FEnyp": function(_0x8062c1, _0x1cecd7) {
return _0x8062c1(_0x1cecd7);
}, "GFKtY": function(_0x2ea518, _0x219c18) {
return _0x2ea518 !== _0x219c18;
}, "xjEwf": function(_0x63ae28, _0x2ce89b) {
return _0x63ae28 == _0x2ce89b;
}, "ZHosc": _0x5b6007(1003), "cKUdy": _0x49e674(398), "NwGYz": function(_0x1a4414, _0x1d5988) {
return _0x1a4414(_0x1d5988);
}, "tMVvi": _0x4443c7(411), "KroaA": "添加指纹功能退出", "ejrQj": function(_0x1bfd0b, _0x44fcaf) {
return _0x1bfd0b - _0x44fcaf;
}, "CYkqw": function(_0x1fea75, _0x35db46) {
return _0x1fea75 - _0x35db46;
}, "QmOIi": _0x5b6007(656), "iKTIR": _0x4443c7(339), "sKkcX": "add_User", "CLfdM": function(_0x2a59ac, _0x85b6c4) {
return _0x2a59ac(_0x85b6c4);
}, "AMCKF": _0x4443c7(624), "vEIuL": _0x49e674(368), "RSFEW": _0x56d06d(1343), "XGvnw": function(_0x54505d, _0x25fa13) {
return _0x54505d !== _0x25fa13;
}, "vGwSV": "MHwyr", "cvPlo": function(_0x3b568b, _0x1b8140) {
return _0x3b568b === _0x1b8140;
}, "SIEYy": _0x5b6007(1253), "rNfsg": function(_0x349e94, _0x3cfe9a) {
return _0x349e94(_0x3cfe9a);
}, "TGTWS": _0x4443c7(583) };
if (!__privateGet(this, _isConnectStatus)) {
if (_0x1a6caf[_0x4443c7(970)](_0x1a6caf[_0x17c8fe(589)], _0x1a6caf["vEIuL"])) {
_0x1a6caf["XVZyL"](_0x34ed95, { "errMsg": _0x1a6caf["RSFEW"], "result": 0 });
return;
} else _0x2d7332(_0x22da3e);
}
if (!__privateGet(this, _isauthenticateStatus)) {
if (_0x1a6caf[_0x49e674(348)](_0x5b6007(1008), _0x1a6caf[_0x4443c7(327)])) {
const _0x23957a = {};
_0x23957a["errMsg"] = _0x5b6007(457), _0x23957a[_0x4443c7(813)] = 0, _0x1a6caf["FEnyp"](_0x34ed95, _0x23957a);
return;
} else throw new _0x862479(_0x1a6caf[_0x17c8fe(637)]);
}
if (!_0x4e7c15[_0x17c8fe(1223)]) {
if (_0x1a6caf[_0x4443c7(925)](_0x1a6caf[_0x56d06d(609)], _0x49e674(533))) {
const _0x197647 = {};
_0x197647[_0x56d06d(835)] = "未连接蓝牙设备", _0x197647["result"] = 0, _0x1a6caf[_0x17c8fe(730)](_0x5e2cdf, _0x197647);
return;
} else {
_0x1a6caf[_0x4443c7(839)](_0x34ed95, { "errMsg": _0x1a6caf["TGTWS"], "result": 0 });
return;
}
}
__privateMethod(this, __0x169082_instances, getCurrentId_fn).call(this)[_0x5b6007(691)]((_0x933a81) => {
const _0x39e955 = _0x5b6007, _0x1c35b5 = _0x49e674, _0x1f4b63 = _0x4443c7, _0x141855 = _0x49e674, _0x1e4339 = _0x49e674, _0x4eb3dc = { "GCHjl": "(((.+)+)+)+$", "RDRDn": function(_0xcb2c0d, _0x13e6de) {
return _0x1a6caf["GFKtY"](_0xcb2c0d, _0x13e6de);
}, "FMciE": function(_0x429989, _0x53bd83) {
const _0x1bd837 = _0x3d13;
return _0x1a6caf[_0x1bd837(1124)](_0x429989, _0x53bd83);
}, "CBVFm": _0x1a6caf["ZHosc"], "opyJK": _0x39e955(943), "DSuHb": _0x1a6caf[_0x39e955(384)], "ywQre": function(_0xd88eba, _0x13ab3b) {
const _0x375637 = _0x39e955;
return _0x1a6caf[_0x375637(719)](_0xd88eba, _0x13ab3b);
}, "bTHDk": _0x1a6caf["tMVvi"], "hUqJs": _0x39e955(430), "OnvUU": _0x1a6caf["KroaA"], "QfUPQ": function(_0x4ba40d, _0x2094a6) {
return _0x1a6caf["ejrQj"](_0x4ba40d, _0x2094a6);
}, "ZxNNw": function(_0x4da884, _0x3b7240) {
const _0x1cdcd5 = _0x1f4b63;
return _0x1a6caf[_0x1cdcd5(918)](_0x4da884, _0x3b7240);
}, "EmaXI": _0x1a6caf[_0x1c35b5(1029)] };
if (_0x1a6caf[_0x1e4339(915)] === _0x1c35b5(930)) return _0x32526b[_0x1f4b63(653)]()[_0x39e955(695)](amsTWw[_0x1c35b5(1059)])[_0x141855(653)]()[_0x1c35b5(810)](_0x43d467)[_0x1c35b5(695)](amsTWw[_0x1e4339(1059)]);
else {
const _0x4c935e = {};
_0x4c935e[_0x1c35b5(545)] = _0x933a81[_0x141855(813)], _0x4c935e[_0x141855(1289)] = _0x4e7c15[_0x1e4339(1223)], _0x4c935e[_0x141855(547)] = 1, _0x4c935e[_0x1f4b63(734)] = 0, _0x4c935e[_0x1e4339(1016)] = 123456, _0x4c935e["start_effective_time"] = _0x4e7c15["start_effective_time"], _0x4c935e[_0x39e955(968)] = _0x4e7c15[_0x1e4339(968)];
const _0x166daa = {};
_0x166daa["actionId"] = _0x1a6caf[_0x141855(1224)], _0x166daa[_0x141855(1062)] = _0x4c935e;
const _0xe0cf9d = {};
_0xe0cf9d[_0x39e955(467)] = _0x166daa, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0xe0cf9d)[_0x1c35b5(691)]((_0x1114d8) => {
const _0x583967 = _0x1f4b63, _0x7037d0 = _0x39e955, _0x10806a = _0x39e955, _0x22845a = _0x1e4339, _0x2aa054 = _0x1e4339, _0xee3e13 = { "RsmWt": _0x583967(457), "IcIHd": function(_0x46eb1d, _0x32c42c) {
const _0x5e43b7 = _0x583967;
return _0x4eb3dc[_0x5e43b7(1187)](_0x46eb1d, _0x32c42c);
}, "qNyBh": function(_0x4a2648, _0x4de6a7) {
const _0xfff307 = _0x583967;
return _0x4eb3dc[_0xfff307(683)](_0x4a2648, _0x4de6a7);
}, "teerw": function(_0x28d740, _0x4c55f4) {
return _0x28d740(_0x4c55f4);
}, "UpOzR": _0x4eb3dc[_0x583967(1191)], "kfgVh": _0x4eb3dc[_0x583967(888)], "SFNsa": _0x4eb3dc[_0x583967(640)], "CCxYp": function(_0x5c9f36, _0x417a16) {
const _0x5c4e4f = _0x583967;
return _0x4eb3dc[_0x5c4e4f(619)](_0x5c9f36, _0x417a16);
}, "gYHZf": _0x4eb3dc[_0x10806a(447)], "kaHSs": function(_0x4a689c, _0x5c1ff5) {
return _0x4a689c(_0x5c1ff5);
}, "fEfsj": _0x4eb3dc["hUqJs"], "cjMrG": _0x4eb3dc["OnvUU"], "DPHpf": function(_0x524827, _0x3befae) {
return _0x4eb3dc["QfUPQ"](_0x524827, _0x3befae);
}, "mSVUN": function(_0x389c07, _0xe6bf47) {
const _0x1bda43 = _0x583967;
return _0x4eb3dc[_0x1bda43(683)](_0x389c07, _0xe6bf47);
}, "HZoUS": function(_0x59f3b7, _0x326750) {
const _0x566067 = _0x10806a;
return _0x4eb3dc[_0x566067(961)](_0x59f3b7, _0x326750);
} };
__privateSet(this, _changeCharacteristicFn, (_0x3c5a18) => {
const _0x22f6aa = _0x2aa054, _0xcb8ec7 = _0x22845a, _0x4d207a = _0x7037d0, _0x3ef627 = _0x583967, _0x5e3695 = _0x10806a;
if (_0xee3e13["IcIHd"]("MlSoA", _0x22f6aa(660))) {
const _0x26d4e7 = new Uint8Array(_0x3c5a18[_0x22f6aa(1318)]), _0x52697c = _0x26d4e7[0];
if (_0xee3e13["qNyBh"](_0x52697c, 0)) {
switch (_0x26d4e7[_0x26d4e7["byteLength"] - 1]) {
case 0:
const _0x3da739 = {};
_0x3da739[_0xcb8ec7(813)] = 0, _0x3da739[_0x3ef627(779)] = _0x22f6aa(579), _0xee3e13[_0x4d207a(1047)](_0x34ed95, _0x3da739);
break;
case 50:
const _0x660a24 = {};
_0x660a24["result"] = 1, _0x660a24[_0x5e3695(779)] = _0x3ef627(1189), _0x34ed95(_0x660a24);
break;
case 51:
_0xee3e13[_0x5e3695(1047)](_0x34ed95, { "result": 2, "msg": _0xee3e13["UpOzR"] });
break;
case 52:
_0xee3e13[_0x22f6aa(1047)](_0x34ed95, { "result": 3, "msg": _0xee3e13[_0x22f6aa(757)] });
break;
case 53:
const _0x40b0fc = {};
_0x40b0fc["result"] = 4, _0x40b0fc[_0x3ef627(779)] = _0xee3e13[_0xcb8ec7(1316)], _0x34ed95(_0x40b0fc);
break;
case 65:
const _0x5afeec = {};
_0x5afeec[_0x5e3695(813)] = 5, _0x5afeec["msg"] = _0x22f6aa(782), _0x5afeec[_0x4d207a(479)] = _0x933a81["result"], _0xee3e13["teerw"](_0x34ed95, _0x5afeec);
break;
case 66:
_0xee3e13[_0x5e3695(924)](_0x34ed95, { "result": "B", "msg": _0xee3e13["gYHZf"] });
break;
case 67:
_0xee3e13[_0x22f6aa(991)](_0x34ed95, { "result": "C", "msg": _0xee3e13[_0xcb8ec7(465)] });
break;
case 68:
const _0x4fb4e7 = {};
_0x4fb4e7[_0x5e3695(813)] = "D", _0x4fb4e7["msg"] = "指纹已满", _0x34ed95(_0x4fb4e7);
break;
case 69:
_0xee3e13["kaHSs"](_0x34ed95, { "result": "E", "msg": _0xee3e13[_0xcb8ec7(594)] });
break;
}
(_0x26d4e7[_0xee3e13["DPHpf"](_0x26d4e7[_0x5e3695(1260)], 1)] == 0 || _0xee3e13[_0x4d207a(727)](_0x26d4e7[_0xee3e13["HZoUS"](_0x26d4e7["byteLength"], 1)], 65)) && wx[_0x3ef627(965)](__privateGet(this, _changeCharacteristicFn));
}
} else {
const _0x47e1ce = {};
_0x47e1ce[_0x5e3695(835)] = _0xee3e13[_0x5e3695(1142)], _0x47e1ce[_0x5e3695(813)] = 0, _0xcbf320(_0x47e1ce);
return;
}
}), wx[_0x22845a(1095)](__privateGet(this, _changeCharacteristicFn)), console[_0x7037d0(1168)](_0x4eb3dc[_0x2aa054(416)]);
})[_0x1c35b5(699)]((_0x2e0295) => {
const _0x45594f = _0x141855, _0x1f6fbc = _0x1e4339, _0x1b68b3 = { "PLocL": function(_0x2e4229, _0x4aba9a) {
return _0x1a6caf["XVZyL"](_0x2e4229, _0x4aba9a);
} };
_0x1a6caf["HXcnu"](_0x1a6caf[_0x45594f(723)], _0x1a6caf["ycCTi"]) ? _0x1b68b3[_0x45594f(959)](_0x3106c9, _0x3687fd) : _0x1a6caf[_0x1f6fbc(954)](_0x34ed95, _0x2e0295);
});
}
})["catch"]((_0x1f98b6) => {
const _0x2796a9 = _0x4443c7, _0x1307f3 = _0x56d06d, _0x24e775 = _0x17c8fe;
if (_0x1a6caf[_0x2796a9(970)](_0x1a6caf["AMCKF"], _0x1a6caf[_0x1307f3(598)])) _0x1a6caf["CLfdM"](_0x34ed95, _0x1f98b6);
else {
let _0x374b50 = _0x1a6caf[_0x2796a9(954)](_0x4c918c, _0x471308);
_0x374b50 && (_0x46bae6[_0x24e775(965)](_0x4030d0), _0x1a6caf[_0x24e775(790)](_0x3378bd, _0x4481ea), _0x1a6caf[_0x24e775(954)](_0x2cff85, _0x374b50));
}
});
};
deleteFingerprint_fn = function(_0x151d0f) {
const _0x2d6bc6 = _0x132596, _0x242040 = { "FslUT": function(_0x4f42a1, _0x14f90b) {
return _0x4f42a1(_0x14f90b);
}, "PXULH": _0x2d6bc6(1343) };
return new Promise((_0x3fc6da, _0x347ea2) => {
const _0x645cb3 = _0x2d6bc6, _0x36b91e = _0x2d6bc6, _0x194034 = _0x2d6bc6, _0x10d599 = { "tHaep": function(_0x4df3fc, _0x1456b6) {
return _0x4df3fc !== _0x1456b6;
}, "sDMkk": function(_0x28a676, _0x400335) {
return _0x28a676 == _0x400335;
}, "VbQrM": "deleteFP动作已下发", "HMChr": function(_0x223ede, _0x42f57e) {
return _0x242040["FslUT"](_0x223ede, _0x42f57e);
} }, _0x17e0c9 = {};
_0x17e0c9[_0x645cb3(779)] = _0x242040[_0x645cb3(1089)], _0x17e0c9[_0x36b91e(813)] = 0;
if (!__privateGet(this, _isConnectStatus)) _0x347ea2(_0x17e0c9);
const _0x5ed88f = {};
_0x5ed88f[_0x36b91e(1237)] = _0x151d0f;
const _0x5bc8d0 = {};
_0x5bc8d0[_0x36b91e(710)] = _0x5ed88f, __privateMethod(this, __0x169082_instances, controlProperty_fn).call(this, _0x5bc8d0)["then"]((_0x449828) => {
const _0x378b8e = _0x36b91e, _0x5dc195 = _0x645cb3, _0x4640c5 = _0x645cb3, _0x321432 = _0x194034, _0x3dcca5 = { "XcysL": function(_0x4037d1, _0x341b05) {
return _0x10d599["tHaep"](_0x4037d1, _0x341b05);
}, "wEjfu": _0x378b8e(529), "DdzZG": _0x378b8e(568), "fMbed": function(_0x4c0f86, _0x58c5ac) {
const _0x250370 = _0x5dc195;
return _0x10d599[_0x250370(1345)](_0x4c0f86, _0x58c5ac);
} };
__privateSet(this, _changeCharacteristicFn, (_0x28545c) => {
const _0x14284d = _0x378b8e, _0x580edb = _0x378b8e;
if (_0x3dcca5[_0x14284d(1085)](_0x3dcca5["wEjfu"], _0x3dcca5[_0x580edb(937)])) {
const _0x4c27c4 = new Uint8Array(_0x28545c[_0x580edb(1318)]);
console["log"](_0x4c27c4);
const _0x18a0db = _0x4c27c4[0];
if (_0x3dcca5["fMbed"](_0x18a0db, 0)) ;
} else _0x45056d = 0, _0x1b4e96();
}), wx[_0x4640c5(1095)](__privateGet(this, _changeCharacteristicFn)), console[_0x5dc195(1168)](_0x10d599[_0x321432(1068)]), _0x10d599["HMChr"](_0x3fc6da, _0x449828);
})[_0x36b91e(699)]((_0x309486) => {
_0x10d599["HMChr"](_0x347ea2, _0x309486);
});
});
};
addNfc_fn = function(_0x4928c7, _0x3c8f36) {
const _0x167a07 = _0x339c7d, _0x221e02 = _0x5b82df, _0x331905 = _0x132596, _0x33be80 = _0x339c7d, _0x32068a = _0x339c7d, _0x3bd4e4 = { "GtqMd": function(_0x124440, _0x3f3614) {
return _0x124440(_0x3f3614);
}, "Jbgvu": _0x167a07(1106), "tSfGB": function(_0x3e27c7, _0x1abb27) {
return _0x3e27c7 === _0x1abb27;
}, "jNlbs": _0x167a07(612), "pcxJj": function(_0x4a2c9e, _0x6aa946) {
return _0x4a2c9e == _0x6aa946;
}, "JyvdN": function(_0x5f28e0, _0xe6aa60) {
return _0x5f28e0(_0xe6aa60);
}, "hsXKU": _0x221e02(1229), "YZUZB": _0x33be80(645), "HGAoK": _0x33be80(539), "tsktP": function(_0x378c35, _0x445d7a) {
return _0x378c35(_0x445d7a);
}, "hLUgX": _0x32068a(1343), "ycYsW": _0x32068a(997), "cYLOP": "参数不完整" };
if (!__privateGet(this, _isConnectStatus)) {
const _0x3e92b5 = {};
_0x3e92b5[_0x167a07(835)] = _0x3bd4e4[_0x32068a(825)], _0x3e92b5["result"] = 0, _0x3c8f36(_0x3e92b5);
return;
}
if (!__privateGet(this, _isauthenticateStatus)) {
const _0x3befcb = {};
_0x3befcb["errMsg"] = _0x221e02(457), _0x3befcb[_0x331905(813)] = 0, _0x3bd4e4["JyvdN"](_0x3c8f36, _0x3befcb);
return;
}
if (!_0x4928c7[_0x167a07(1223)]) {
if (_0x3bd4e4[_0x33be80(590)] !== "aVprF") {
const _0xd6ccfb = {};
_0xd6ccfb[_0x32068a(835)] = "未进行设备鉴权", _0xd6ccfb[_0x33be80(813)] = 0, _0xc7b0df(_0xd6ccfb);
return;
} else {
_0x3bd4e4[_0x32068a(1083)](_0x3c8f36, { "errMsg": _0x3bd4e4[_0x33be80(676)], "result": 0 });
return;
}
}
__privateMethod(this, __0x169082_instances, getCurrentId_fn).call(this)[_0x33be80(691)]((_0x2d14b7) => {
const _0x2f7d11 = _0x167a07, _0x33db60 = _0x32068a, _0x77c204 = _0x33be80, _0xdb5a90 = _0x167a07, _0x33b975 = _0x32068a, _0x56da13 = { "JwfCr": function(_0x5f41f2, _0x4a1839) {
const _0x256304 = _0x3d13;
return _0x3bd4e4[_0x256304(1083)](_0x5f41f2, _0x4a1839);
}, "JdMum": function(_0x56d37c, _0x2aaccc) {
const _0x4a53d6 = _0x3d13;
return _0x3bd4e4[_0x4a53d6(987)](_0x56d37c, _0x2aaccc);
}, "vZKvp": _0x3bd4e4[_0x2f7d11(631)], "Hhwgw": function(_0x6df83e, _0x5b66e4) {
const _0x573c3d = _0x2f7d11;
return _0x3bd4e4[_0x573c3d(882)](_0x6df83e, _0x5b66e4);
}, "OLHpV": function(_0x327f19, _0x7354dc) {
return _0x327f19 - _0x7354dc;
}, "HeTmh": function(_0xa45eb6, _0x26e4a9) {
const _0x345905 = _0x2f7d11;
return _0x3bd4e4[_0x345905(946)](_0xa45eb6, _0x26e4a9);
}, "ChJZk": _0x33db60(580), "xYUWk": _0x33db60(1157), "teRqC": _0x3bd4e4["hsXKU"], "wlQHX": function(_0x755be7, _0x5cd061) {
return _0x755be7 == _0x5cd061;
}, "aTxZR": function(_0xb2f050, _0x4c49af) {
return _0xb2f050 !== _0x4c49af;
} };
if (_0x3bd4e4[_0x33db60(1097)] === _0x3bd4e4[_0x33db60(1097)]) {
const _0x40fb05 = {};
_0x40fb05[_0xdb5a90(545)] = _0x2d14b7[_0x2f7d11(813)], _0x40fb05[_0x33b975(1289)] = _0x4928c7[_0x77c204(1223)], _0x40fb05[_0x33db60(547)] = 1, _0x40fb05[_0xdb5a90(734)] = 2, _0x40fb05[_0x33b975(1016)] = 123456, _0x40fb05[_0x33b975(750)] = _0x4928c7[_0x77c204(750)], _0x40fb05[_0x77c204(968)] = _0x4928c7[_0xdb5a90(968)];
const _0x5d4766 = {};
_0x5d4766["actionId"] = _0x3bd4e4[_0xdb5a90(365)], _0x5d4766["params"] = _0x40fb05;
const _0x17fff1 = {};
_0x17fff1[_0x77c204(467)] = _0x5d4766, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0x17fff1)[_0xdb5a90(691)]((_0x52181d) => {
const _0x446890 = _0x33b975, _0x4bc3b8 = { "mMoQP": function(_0x370c63, _0x2f6305) {
const _0xe7ded8 = _0x3d13;
return _0x3bd4e4[_0xe7ded8(1083)](_0x370c63, _0x2f6305);
} };
__privateSet(this, _changeCharacteristicFn, (_0x26dfbd) => {
const _0x9779d7 = _0x3d13, _0x57ecb2 = _0x3d13, _0x356cb5 = _0x3d13, _0x151372 = _0x3d13, _0x344e8f = _0x3d13, _0x485920 = { "ArSiQ": function(_0x307e4b, _0x20ae72) {
const _0x54568d = _0x3d13;
return _0x56da13[_0x54568d(756)](_0x307e4b, _0x20ae72);
} };
if (_0x56da13[_0x9779d7(1064)](_0x57ecb2(612), _0x56da13[_0x9779d7(892)])) {
const _0x6a456f = new Uint8Array(_0x26dfbd[_0x9779d7(1318)]), _0x277270 = _0x6a456f[0];
if (_0x56da13[_0x9779d7(1205)](_0x277270, 0)) {
switch (_0x6a456f[_0x56da13["OLHpV"](_0x6a456f["byteLength"], 1)]) {
case 49:
_0x56da13[_0x151372(1151)](_0x3c8f36, { "result": 1, "msg": _0x56da13[_0x151372(1020)], "pwdId": _0x2d14b7[_0x356cb5(813)] });
break;
case 50:
_0x56da13[_0x151372(756)](_0x3c8f36, { "result": 0, "msg": _0x56da13["xYUWk"] });
break;
case 51:
_0x56da13[_0x9779d7(756)](_0x3c8f36, { "result": 2, "msg": _0x56da13[_0x344e8f(1184)] });
break;
}
(_0x56da13["wlQHX"](_0x6a456f[_0x56da13[_0x151372(837)](_0x6a456f["byteLength"], 1)], 49) || _0x56da13[_0x356cb5(1205)](_0x6a456f[_0x6a456f[_0x344e8f(1260)] - 1], 50)) && (_0x56da13[_0x151372(663)](_0x151372(974), _0x344e8f(1143)) ? wx["offBLECharacteristicValueChange"](__privateGet(this, _changeCharacteristicFn)) : _0x485920[_0x151372(1321)](_0x22b5fb, _0x53c2b2));
}
} else _0x4bc3b8[_0x9779d7(464)](_0x5d8838, _0x5c305d);
}), wx[_0x446890(1095)](__privateGet(this, _changeCharacteristicFn)), console[_0x446890(1168)](_0x3bd4e4["Jbgvu"]);
});
} else _0x3bd4e4["GtqMd"](_0x1c70ed, _0x8b17dd);
})[_0x32068a(699)]((_0xe920d) => {
const _0x462ce8 = _0x221e02;
_0x3bd4e4[_0x462ce8(880)](_0x3c8f36, _0xe920d);
});
};
deleteNfc_fn = function(_0x4e27b0) {
const _0x4bebfb = _0x5b82df, _0x3ebdd1 = _0x339c7d, _0x9d9e2f = _0x339c7d, _0x2c8f69 = _0x5b82df, _0x4aeb6f = { "raRPh": function(_0x10d160, _0x3d58bf) {
return _0x10d160(_0x3d58bf);
}, "mdVad": _0x4bebfb(1207), "yvvQi": function(_0x1ead7c, _0x21852d) {
return _0x1ead7c == _0x21852d;
}, "LEbkx": function(_0x59d01f, _0x3e29b4) {
return _0x59d01f === _0x3e29b4;
}, "cYfII": _0x3ebdd1(1060), "kmHhc": _0x3ebdd1(592), "GHzpA": _0x4bebfb(512), "QClBE": function(_0x4d15d7, _0x246187) {
return _0x4d15d7(_0x246187);
}, "qAAeG": _0x4bebfb(1195), "PqIhO": _0x2c8f69(776), "LsGYZ": function(_0x446b05, _0x200bd6) {
return _0x446b05(_0x200bd6);
}, "AXEws": _0x2c8f69(1343) };
return new Promise((_0x11b158, _0x1645ed) => {
const _0xf59c19 = _0x3ebdd1, _0x2b00f1 = _0x2c8f69, _0x41f077 = _0x9d9e2f, _0x567a6c = _0x2c8f69, _0x45a705 = { "FkzPI": function(_0x1b064d, _0x1c9a62) {
return _0x4aeb6f["LsGYZ"](_0x1b064d, _0x1c9a62);
} };
if (!__privateGet(this, _isConnectStatus)) _0x4aeb6f[_0xf59c19(480)](_0x1645ed, { "msg": _0x4aeb6f["AXEws"], "result": 0 });
const _0x55c0a3 = {};
_0x55c0a3["delete_user"] = _0x4e27b0;
const _0x292ea4 = {};
_0x292ea4[_0xf59c19(710)] = _0x55c0a3, __privateMethod(this, __0x169082_instances, controlProperty_fn).call(this, _0x292ea4)[_0x2b00f1(691)]((_0x5379a5) => {
const _0x529580 = _0x2b00f1, _0x20ac93 = _0x41f077, _0x1ccd9a = _0x41f077, _0x26f704 = _0xf59c19, _0x5b2c91 = _0x41f077, _0x1c7eef = { "YaVea": function(_0x87d8cc, _0x454d55) {
const _0x3a241f = _0x3d13;
return _0x4aeb6f[_0x3a241f(862)](_0x87d8cc, _0x454d55);
}, "AuNqL": _0x529580(996), "jihAj": function(_0x4034d0, _0x4cce7c) {
return _0x4034d0 !== _0x4cce7c;
}, "RfZWE": _0x4aeb6f[_0x20ac93(1139)], "yxleq": function(_0x194d78, _0x177d52) {
return _0x4aeb6f["yvvQi"](_0x194d78, _0x177d52);
} };
_0x4aeb6f[_0x20ac93(694)](_0x4aeb6f[_0x1ccd9a(1333)], _0x4aeb6f["kmHhc"]) ? _0x1da407[_0x5b2c91(853)](..._0x460ac2["slice"](3)) : (__privateSet(this, _changeCharacteristicFn, (_0x149ce0) => {
const _0x3eafbc = _0x1ccd9a, _0x5ae68a = _0x1ccd9a, _0x467d30 = _0x1ccd9a, _0x59ab76 = { "LyIpD": function(_0x5b76cd, _0x1afd5d) {
const _0x170f7d = _0x3d13;
return _0x1c7eef[_0x170f7d(1051)](_0x5b76cd, _0x1afd5d);
}, "qtVIR": _0x1c7eef["AuNqL"] };
if (_0x1c7eef[_0x3eafbc(1122)](_0x1c7eef["RfZWE"], _0x1c7eef[_0x3eafbc(578)])) _0x59ab76[_0x3eafbc(1277)](_0x5a7f06, { "msg": _0x59ab76[_0x3eafbc(488)], "result": _0xcd1a70[_0x5ae68a(813)] });
else {
const _0x289fd0 = new Uint8Array(_0x149ce0[_0x5ae68a(1318)]);
console[_0x467d30(1168)](_0x289fd0);
const _0x4d232c = _0x289fd0[0];
if (_0x1c7eef["yxleq"](_0x4d232c, 0)) ;
}
}), wx["onBLECharacteristicValueChange"](__privateGet(this, _changeCharacteristicFn)), console[_0x26f704(1168)](_0x4aeb6f[_0x5b2c91(615)]), _0x4aeb6f[_0x1ccd9a(956)](_0x11b158, _0x5379a5));
})[_0xf59c19(699)]((_0x560c5d) => {
const _0x562e88 = _0x41f077, _0x3efc80 = _0x567a6c, _0x381270 = _0x2b00f1;
if (_0x4aeb6f[_0x562e88(694)](_0x4aeb6f["qAAeG"], _0x4aeb6f["PqIhO"])) {
const _0x3aaeba = {};
_0x3aaeba[_0x562e88(779)] = "动作已下发", _0x3aaeba[_0x3efc80(813)] = [], _0x45a705[_0x3efc80(865)](_0x3397b9, _0x3aaeba);
} else _0x4aeb6f[_0x381270(862)](_0x1645ed, _0x560c5d);
});
});
};
lockReset_fn = function() {
const _0x57f670 = _0x132596, _0x433882 = _0x5b82df, _0x372c01 = _0x5b82df, _0x53e28f = _0x5b82df, _0x27eb92 = { "RZOyq": function(_0x5302f7, _0x4d40dc) {
return _0x5302f7(_0x4d40dc);
}, "CasdL": "未连接蓝牙设备", "UULsR": function(_0x115b9e, _0x5aeeb4) {
return _0x115b9e === _0x5aeeb4;
}, "FoMpq": _0x57f670(765), "ZXVhh": _0x57f670(1112), "KzkCJ": function(_0x5a9ba0, _0x372c02) {
return _0x5a9ba0(_0x372c02);
}, "Iygng": function(_0x57b7b6, _0x25545a) {
return _0x57b7b6(_0x25545a);
}, "txlJE": _0x372c01(508), "wazpz": function(_0x1a5cf9, _0x8d2741) {
return _0x1a5cf9 == _0x8d2741;
}, "nJghC": _0x372c01(1332), "mWGJk": function(_0x26c844, _0x9a066a) {
return _0x26c844 === _0x9a066a;
}, "yuoci": _0x53e28f(321), "eoDCa": function(_0x353c10, _0x44bec6) {
return _0x353c10 === _0x44bec6;
}, "jiwQY": _0x433882(931), "nNFhe": "未进行设备鉴权", "ceErR": _0x53e28f(1264) };
return new Promise((_0x30d306, _0x1ca6be) => {
const _0x8f450b = _0x372c01, _0x42711b = _0x372c01, _0x6cd192 = _0x53e28f, _0x198c27 = _0x57f670, _0x25191b = _0x57f670, _0x3614ad = { "EqVyG": function(_0x432705, _0x36e4f4) {
const _0x4aef88 = _0x3d13;
return _0x27eb92[_0x4aef88(978)](_0x432705, _0x36e4f4);
}, "KJUrA": _0x27eb92[_0x8f450b(1090)], "fJIWU": function(_0x3066f8, _0x25b8b5) {
return _0x3066f8 == _0x25b8b5;
}, "pEwbA": function(_0xacc4f3, _0x11718e) {
const _0x4a03d2 = _0x8f450b;
return _0x27eb92[_0x4a03d2(821)](_0xacc4f3, _0x11718e);
}, "xNHND": _0x27eb92["nJghC"] };
if (!__privateGet(this, _isConnectStatus)) {
if (_0x27eb92[_0x42711b(366)](_0x8f450b(321), _0x27eb92[_0x8f450b(1040)])) {
const _0x5aeab0 = {};
_0x5aeab0[_0x198c27(835)] = _0x25191b(1343), _0x5aeab0["result"] = 0, _0x1ca6be(_0x5aeab0);
return;
} else {
_0x27eb92[_0x8f450b(1177)](_0x35294b, { "errMsg": _0x27eb92[_0x198c27(878)], "result": 0 });
return;
}
}
if (!__privateGet(this, _isauthenticateStatus)) {
if (_0x27eb92[_0x198c27(1327)](_0x27eb92["jiwQY"], _0x27eb92[_0x25191b(448)])) {
const _0x25203c = {};
_0x25203c[_0x6cd192(835)] = _0x27eb92["nNFhe"], _0x25203c[_0x42711b(813)] = 0, _0x1ca6be(_0x25203c);
return;
} else _0x3614ad[_0x25191b(1322)](_0x392850, { "errMsg": _0x3614ad["KJUrA"], "err": _0x3af733, "result": 0 });
}
const _0x43ca30 = {};
_0x43ca30[_0x8f450b(986)] = _0x27eb92[_0x198c27(1174)], _0x43ca30[_0x25191b(1062)] = "";
const _0x300186 = {};
_0x300186[_0x25191b(467)] = _0x43ca30, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0x300186)["then"]((_0x568136) => {
const _0x23a5c7 = _0x6cd192, _0x1c25d2 = _0x6cd192, _0x552887 = _0x6cd192, _0x29d04b = _0x25191b, _0x47dcde = _0x8f450b;
if (_0x27eb92["UULsR"](_0x27eb92["FoMpq"], _0x27eb92["FoMpq"])) _0x27eb92[_0x23a5c7(1177)](_0x30d306, { "msg": _0x27eb92[_0x1c25d2(868)], "result": _0x568136[_0x552887(813)] });
else {
if (_0x3614ad["fJIWU"](_0x77d2f2[3], 37)) {
const _0xe91fbb = {};
_0xe91fbb["data"] = _0x31d71d[_0x16142f[_0x1c25d2(1260)] - 1], _0xe91fbb[_0x47dcde(749)] = "电量", _0x3ec103(_0xe91fbb);
return;
}
if (_0x3614ad[_0x552887(320)](_0x5b03a3[_0x29d04b(604)](8)[_0x23a5c7(626)], 0)) {
const _0x3fe2cd = {};
_0x3fe2cd["data"] = [], _0x3fe2cd[_0x23a5c7(749)] = _0x3614ad[_0x552887(887)], _0x22c732(_0x3fe2cd);
}
_0x14f01a[_0x47dcde(853)](..._0x25c468[_0x47dcde(604)](8));
}
})[_0x25191b(699)]((_0x2c8f5b) => {
const _0x1417d7 = _0x42711b;
_0x27eb92[_0x1417d7(721)](_0x1ca6be, _0x2c8f5b);
});
});
};
getUserList_fn = function() {
const _0x416f0f = _0x339c7d, _0x2d7ce9 = _0x5b82df, _0xa4f4aa = _0x339c7d, _0x72635f = _0x5b82df, _0xbcc17 = { "MCqjk": function(_0x2b32a8, _0x317636) {
return _0x2b32a8(_0x317636);
}, "jsIew": _0x416f0f(1183), "QUmwJ": function(_0x5ef753, _0x603308) {
return _0x5ef753 !== _0x603308;
}, "bAXRw": "PacbY", "LqXey": _0x2d7ce9(891), "DxitQ": _0x2d7ce9(1141), "rbxgS": "未连接蓝牙设备", "bbyJB": function(_0x48499d, _0x5abdaf) {
return _0x48499d === _0x5abdaf;
}, "ULwfk": "ZwycO", "CPvKh": function(_0x404d68, _0x539111) {
return _0x404d68(_0x539111);
}, "pQaLH": _0x2d7ce9(457), "AMARv": _0xa4f4aa(909), "EbjKz": _0x72635f(596) };
return new Promise((_0x59cdac, _0x2269e1) => {
const _0x54ce55 = _0xa4f4aa, _0x574e26 = _0x72635f, _0x2bcd3a = _0xa4f4aa, _0x4df046 = _0x416f0f, _0x3069ec = _0x72635f, _0x3cb2ae = { "IMxDx": function(_0x19ebf6, _0x2f3a8e) {
const _0x7938f0 = _0x3d13;
return _0xbcc17[_0x7938f0(353)](_0x19ebf6, _0x2f3a8e);
}, "uziWJ": _0xbcc17[_0x54ce55(870)], "oQcuo": function(_0x5edbdd, _0x524c0c) {
const _0x4c3c61 = _0x54ce55;
return _0xbcc17[_0x4c3c61(1116)](_0x5edbdd, _0x524c0c);
}, "IhwIC": _0xbcc17[_0x54ce55(524)], "UuknP": _0xbcc17[_0x54ce55(391)], "yvcwt": _0xbcc17[_0x54ce55(514)], "liVCt": _0xbcc17[_0x3069ec(942)] };
if (_0xbcc17["bbyJB"](_0xbcc17[_0x3069ec(917)], "ZwycO")) {
if (!__privateGet(this, _isConnectStatus)) {
const _0x482200 = {};
_0x482200[_0x4df046(835)] = _0xbcc17[_0x4df046(942)], _0x482200[_0x574e26(813)] = 0, _0x2269e1(_0x482200);
return;
}
if (!__privateGet(this, _isauthenticateStatus)) {
_0xbcc17["CPvKh"](_0x2269e1, { "errMsg": _0xbcc17["pQaLH"], "result": 0 });
return;
}
const _0x295caf = {};
_0x295caf[_0x4df046(986)] = _0xbcc17["AMARv"], _0x295caf[_0x54ce55(1062)] = {}, _0x295caf[_0x54ce55(1062)][_0x4df046(950)] = _0xbcc17[_0x2bcd3a(389)];
const _0x13925e = {};
_0x13925e[_0x574e26(467)] = _0x295caf, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0x13925e)[_0x3069ec(691)]((_0x2cb290) => {
const _0x181efd = _0x3069ec, _0x3865ca = _0x3069ec, _0x1c6477 = _0x2bcd3a, _0x463cf2 = _0x54ce55;
if (_0x3cb2ae["oQcuo"](_0x3cb2ae[_0x181efd(438)], _0x3cb2ae["UuknP"])) {
const _0x324faa = {};
_0x324faa[_0x3865ca(779)] = _0x3cb2ae[_0x1c6477(638)], _0x324faa[_0x181efd(813)] = _0x2cb290[_0x1c6477(813)], _0x59cdac(_0x324faa);
} else _0x3cb2ae[_0x463cf2(538)](_0x533b6b, { "msg": _0x3cb2ae[_0x463cf2(1341)], "result": _0x15f7e4["data"] });
})["catch"]((_0x4de914) => {
_0x2269e1(_0x4de914);
});
} else {
_0x3cb2ae[_0x4df046(538)](_0x38d222, { "errMsg": _0x3cb2ae["liVCt"], "result": 0 });
return;
}
});
};
getLockHistory_fn = function(_0x291a6d) {
const _0x3f9282 = { "vYrZT": "getHistory动作已下发", "kddeX": function(_0x48b1f9, _0x20f70c) {
return _0x48b1f9 === _0x20f70c;
}, "cAfRz": function(_0x153a1e, _0x2460fa) {
return _0x153a1e(_0x2460fa);
} };
return new Promise((_0x55db05, _0xcd7f80) => {
const _0xd90fe0 = _0x3d13, _0xeff705 = _0x3d13, _0x2390d4 = _0x3d13, _0x2a34c9 = _0x3d13, _0x2d8edf = _0x3d13, _0x2e65ca = { "OAoYo": function(_0xdaccfe, _0x3eaec4) {
return _0xdaccfe(_0x3eaec4);
}, "vldSp": _0x3f9282[_0xd90fe0(455)], "bLoYw": function(_0x2933e8, _0x1dfbc2) {
const _0x395dbe = _0xd90fe0;
return _0x3f9282[_0x395dbe(1320)](_0x2933e8, _0x1dfbc2);
}, "XYZwL": "rjwRT" };
if (!__privateGet(this, _isConnectStatus)) {
const _0x54c46a = {};
_0x54c46a[_0xd90fe0(835)] = _0x2390d4(1343), _0x54c46a[_0xd90fe0(813)] = 0, _0x3f9282["cAfRz"](_0xcd7f80, _0x54c46a);
return;
}
if (!__privateGet(this, _isauthenticateStatus)) {
const _0x4455e8 = {};
_0x4455e8[_0xd90fe0(835)] = _0xeff705(457), _0x4455e8[_0x2390d4(813)] = 0, _0x3f9282[_0x2a34c9(910)](_0xcd7f80, _0x4455e8);
return;
}
if (!_0x291a6d[_0x2390d4(750)] || !_0x291a6d[_0xd90fe0(968)]) {
const _0x53f57a = {};
_0x53f57a["errMsg"] = "参数不完整", _0x53f57a[_0xd90fe0(813)] = 0, _0xcd7f80(_0x53f57a);
return;
}
const _0x21f9a7 = {};
_0x21f9a7[_0x2a34c9(1282)] = _0x291a6d[_0x2d8edf(750)], _0x21f9a7["end_time"] = _0x291a6d[_0xeff705(968)];
const _0x2e3d84 = {};
_0x2e3d84[_0x2d8edf(986)] = _0x2d8edf(373), _0x2e3d84[_0xeff705(1062)] = _0x21f9a7;
const _0x3bdc09 = {};
_0x3bdc09[_0x2390d4(467)] = _0x2e3d84, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0x3bdc09)[_0x2d8edf(691)]((_0x1161c8) => {
const _0x5f56d8 = _0xeff705, _0x34b680 = _0x2390d4;
_0x2e65ca[_0x5f56d8(746)](_0x55db05, { "msg": _0x2e65ca[_0x34b680(1110)], "result": _0x1161c8[_0x34b680(813)] });
})[_0xeff705(699)]((_0x52d0e8) => {
const _0x1e8a28 = _0x2390d4, _0x31c869 = _0x2a34c9;
_0x2e65ca["bLoYw"]("rjwRT", _0x2e65ca[_0x1e8a28(1166)]) ? _0x2e65ca[_0x31c869(746)](_0xcd7f80, _0x52d0e8) : _0x41f499(_0x32f87e);
});
});
};
getBattery_fn = function() {
const _0x139b30 = _0x132596, _0x4768d2 = _0x132596, _0x32ffc1 = _0x5b82df, _0x120b8e = { "OtjcF": "动作已下发", "thEXE": function(_0x57565d, _0x7ab599) {
return _0x57565d(_0x7ab599);
}, "iFDbN": _0x139b30(1343), "lrWMv": function(_0x3d09f6, _0x5107e8) {
return _0x3d09f6 == _0x5107e8;
}, "FezNC": function(_0x2f44e0, _0x4fdafc) {
return _0x2f44e0(_0x4fdafc);
}, "opRJE": _0x139b30(778), "DqNyL": _0x139b30(849), "biRwl": _0x139b30(1154), "FTdsE": function(_0x1b058d, _0xa820a7) {
return _0x1b058d(_0xa820a7);
}, "WBUVZ": function(_0x351db0, _0x795332) {
return _0x351db0 === _0x795332;
}, "DKYts": _0x139b30(521), "Pinma": _0x32ffc1(457), "CZqph": _0x4768d2(909), "EzTrF": _0x32ffc1(1118) };
return new Promise((_0x2acb4c, _0x21c1c8) => {
const _0x1de621 = _0x139b30, _0x114f61 = _0x32ffc1, _0x51f44b = _0x32ffc1, _0x294067 = _0x139b30, _0x269369 = _0x139b30, _0x2f3fb5 = { "MWoRl": function(_0x3bf602, _0x35b34b) {
return _0x3bf602(_0x35b34b);
}, "LEHQb": _0x120b8e[_0x1de621(1323)], "pOLan": function(_0x21c1fe, _0xccad66) {
const _0x46e813 = _0x1de621;
return _0x120b8e[_0x46e813(1218)](_0x21c1fe, _0xccad66);
}, "WyfxB": function(_0x1ee19d, _0x67c397) {
return _0x120b8e["FezNC"](_0x1ee19d, _0x67c397);
}, "okMOr": _0x120b8e["opRJE"], "kqJCl": function(_0x181f58, _0xa9c41e) {
return _0x181f58(_0xa9c41e);
} };
if (!__privateGet(this, _isConnectStatus)) {
if (_0x120b8e[_0x1de621(804)] !== _0x120b8e[_0x114f61(1234)]) {
_0x120b8e[_0x1de621(641)](_0x21c1c8, { "errMsg": _0x120b8e[_0x51f44b(1323)], "result": 0 });
return;
} else {
const _0x235d61 = {};
_0x235d61[_0x51f44b(779)] = _0x120b8e[_0x269369(403)], _0x235d61[_0x1de621(813)] = [], _0x4d2a2c(_0x235d61);
}
}
if (!__privateGet(this, _isauthenticateStatus)) {
if (_0x120b8e[_0x1de621(1158)](_0x120b8e[_0x51f44b(569)], _0x120b8e["DKYts"])) {
_0x120b8e[_0x1de621(872)](_0x21c1c8, { "errMsg": _0x120b8e[_0x114f61(498)], "result": 0 });
return;
} else {
_0x2f3fb5[_0x294067(362)](_0x4cd2b8, { "errMsg": _0x2f3fb5[_0x294067(980)], "result": 0 });
return;
}
}
const _0x1ce8ce = {};
_0x1ce8ce["actionId"] = _0x120b8e[_0x294067(1125)], _0x1ce8ce[_0x1de621(1062)] = {}, _0x1ce8ce[_0x1de621(1062)][_0x1de621(950)] = _0x120b8e[_0x51f44b(602)];
const _0x25e334 = {};
_0x25e334[_0x51f44b(467)] = _0x1ce8ce, __privateMethod(this, __0x169082_instances, controlAction_fn).call(this, _0x25e334)[_0x269369(691)]((_0x27cfde) => {
const _0x497efe = _0x269369, _0x419e57 = _0x1de621, _0x20f21b = _0x114f61, _0x214644 = {};
_0x214644[_0x497efe(779)] = _0x497efe(450), _0x214644["result"] = _0x27cfde[_0x419e57(813)], _0x120b8e[_0x20f21b(872)](_0x2acb4c, _0x214644);
})[_0x294067(699)]((_0x59f6ac) => {
const _0x46254c = _0x1de621, _0x294d62 = _0x269369, _0x92174 = _0x114f61, _0x2d132e = _0x114f61;
if (_0x46254c(778) === _0x2f3fb5[_0x294d62(983)]) _0x2f3fb5[_0x294d62(1102)](_0x21c1c8, _0x59f6ac);
else {
const _0xa69abb = new _0x146e76(_0xe667c9["devices"][0][_0x92174(453)])[2];
if (_0x2f3fb5[_0x294d62(854)](_0xa69abb, 32) || _0xa69abb == 33) {
let _0x50b987 = _0x2f3fb5[_0x294d62(424)](_0x193f37, _0x3f8a99["devices"][0][_0x92174(453)]);
_0x2f3fb5["pOLan"](_0x50b987, _0x294d62(349)) && (_0x5344c1[_0x55f203[_0x294d62(554)][0][_0x2d132e(827)]] = _0x24193c[_0x2d132e(393)](_0x1fd5dd[_0x92174(554)][0], { "productId": _0x2f3fb5[_0x92174(424)](_0x37ad32, _0x438fb6[_0x2d132e(554)][0][_0x2d132e(453)]) }));
}
}
});
});
};
function _0x3d13(_0x3ad29d, _0x157df5) {
const _0x165283 = _0x5f28();
return _0x3d13 = function(_0x3c0b46, _0x293f87) {
_0x3c0b46 = _0x3c0b46 - 312;
let _0x5f2816 = _0x165283[_0x3c0b46];
return _0x5f2816;
}, _0x3d13(_0x3ad29d, _0x157df5);
}
export {
_0x169082 as default
};