const _0x391f0f=(function(){let _0x4abe7c=!![];return function(_0x18c36c,_0x46e3b1){const _0xd33b49=_0x4abe7c?function(){if(_0x46e3b1){const _0x1cbc72=_0x46e3b1.apply(_0x18c36c,arguments);return _0x46e3b1=null,_0x1cbc72;}}:function(){};return _0x4abe7c=![],_0xd33b49;};}()),_0x560dd6=_0x391f0f(this,function(){_0x29ab3a={_0x3a48ad:0x148},_0x2f3d08={_0x4c7ebe:0x1ce};return _0x560dd6.toString().search("(((.+)+)+)+$").toString().constructor(_0x560dd6).search("(((.+)+)+)+$");});
_0x560dd6();
const {
IndexEncoder,c,b4a}
=require('hyperdb/runtime'),{
version,getEncoding,setVersion}
=require('./messages.js'),versions={
'schema':version,'db':0x3},helpers0=require('../../../../../lib/hyperdb/local/local.js'),collection0_key=new IndexEncoder([],{'prefix':0x0});
function collection0_indexify(_0x459d53){
return[];
}
const collection0_enc=getEncoding("@local/stats");
function collection0_reconstruct(_0x1c6745,_0x22d254,_0x2c0453){
_0x42f6fa={
_0x36c2b7:0x193,_0x483ecf:0x440},_0x531e99={
_0x3133ec:0x4ea,_0x2bc209:0x51}
;
setVersion(_0x1c6745);
const _0xdfbdd7={
'start':0x0,'end':_0x2c0453.byteLength,'buffer':_0x2c0453},_0x5eb4c8=collection0_enc.decode(_0xdfbdd7);
return _0x5eb4c8;
}
function collection0_reconstruct_key(_0x90dac5){
return{
}
;
}
const collection0={
'name':"@local/stats",'id':0x0,'version':0x0,'encodeKey'(_0x5c5de8){
_0x5d6bd4={
_0x4925bc:0x161,_0x249807:0x67b,_0x170523:0x30},_0x593aa6=[];
return collection0_key.encode(_0x593aa6);
},'encodeKeyRange'({gt:_0x28cd29,lt:_0x211e4a,gte:_0x333ae8,lte:_0x25b572}={}){
_0x38c30a={
_0x56e46b:0x14,_0x103956:0x304,_0x241306:0x113}
;
return collection0_key.encodeRange({'gt':_0x28cd29?collection0_indexify(_0x28cd29):null,'lt':_0x211e4a?collection0_indexify(_0x211e4a):null,'gte':_0x333ae8?collection0_indexify(_0x333ae8):null,'lte':_0x25b572?collection0_indexify(_0x25b572):null});
},'encodeValue'(_0xbc61b3,_0x6d2ce3,_0x54f78e){
_0x46cd89={
_0x56e1ea:0x388,_0x7b7c63:0x1a7},_0x3f7c28={
_0x564c7f:0x97,_0x1b012c:0x407,_0x17c7fa:0x12b}
;
setVersion(_0xbc61b3);
const _0x4666f6={
'start':0x0,'end':0x0,'buffer':null}
;
return collection0_enc.preencode(_0x4666f6,_0x54f78e),_0x4666f6.buffer=b4a.allocUnsafe(_0x4666f6.end),collection0_enc.encode(_0x4666f6,_0x54f78e),_0x4666f6.buffer;
},'trigger':null,'reconstruct':collection0_reconstruct,'reconstructKey':collection0_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection1_key=new IndexEncoder([],{'prefix':0x1});
function collection1_indexify(_0x1765ed){
return[];
}
const collection1_enc=getEncoding("@local/migration-status");
function collection1_reconstruct(_0x52b9f8,_0x8cdbf6,_0x1bcdd7){
_0x4a8f61={
_0x5870f0:0x1bf,_0x51732a:0x1e1,_0x4bcaa5:0x185},_0x588804={
_0x40ea28:0xe0}
;
setVersion(_0x52b9f8);
const _0x556f02={
'start':0x0,'end':_0x1bcdd7.byteLength,'buffer':_0x1bcdd7},_0x6e0d20=collection1_enc.decode(_0x556f02);
return _0x6e0d20;
}
function collection1_reconstruct_key(_0x3baa62){
return{
}
;
}
const collection1={
'name':"@local/migrations",'id':0x1,'version':0x0,'encodeKey'(_0x37be34){
_0x47ec05={
_0x456248:0x107},_0x3a8828=[];
return collection1_key.encode(_0x3a8828);
},'encodeKeyRange'({gt:_0x115625,lt:_0xc90102,gte:_0x4e6505,lte:_0x5a8659}={}){
_0x8f9a22={
_0x4ae46d:0x1c3,_0x5f5088:0x55e,_0x2d480c:0x12}
;
return collection1_key.encodeRange({'gt':_0x115625?collection1_indexify(_0x115625):null,'lt':_0xc90102?collection1_indexify(_0xc90102):null,'gte':_0x4e6505?collection1_indexify(_0x4e6505):null,'lte':_0x5a8659?collection1_indexify(_0x5a8659):null});
},'encodeValue'(_0x3fb2cb,_0x2f0e7b,_0x129d90){
_0x475322={
_0x2fdd9f:0x20},_0x2e05e5={
_0xa262ff:0x33,_0xde64e0:0x115,_0xa8ff1f:0x13d}
;
setVersion(_0x3fb2cb);
const _0x117f04={
'start':0x0,'end':0x0,'buffer':null}
;
collection1_enc.preencode(_0x117f04,_0x129d90),_0x117f04.buffer=b4a.allocUnsafe(_0x117f04.end),collection1_enc.encode(_0x117f04,_0x129d90);
return _0x117f04.buffer;
},'trigger':null,'reconstruct':collection1_reconstruct,'reconstructKey':collection1_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection2_key=new IndexEncoder([],{'prefix':0x2});
function collection2_indexify(_0x328d8e){
return[];
}
const collection2_enc=getEncoding("@local/room-migration-stats");
function collection2_reconstruct(_0x342158,_0x293e83,_0x5d0a42){
_0x317b78={
_0x29f767:0xeb,_0x3b426b:0xc7,_0x254b13:0x1dc},_0x65e109={
_0x78bef8:0xfb,_0x76ccd8:0x616}
;
setVersion(_0x342158);
const _0x4899e2={
'start':0x0,'end':_0x5d0a42.byteLength,'buffer':_0x5d0a42},_0x25becf=collection2_enc.decode(_0x4899e2);
return _0x25becf;
}
function collection2_reconstruct_key(_0x241bb9){
return{
}
;
}
const collection2={
'name':"@local/room-migration-stats",'id':0x2,'version':0x0,'encodeKey'(_0x358291){
_0x53f6d8={
_0x2e9d0a:0x194},_0x56ce05=[];
return collection2_key.encode(_0x56ce05);
},'encodeKeyRange'({gt:_0x2ae964,lt:_0x186fad,gte:_0x5a1e70,lte:_0x3c8dd6}={}){
return collection2_key.encodeRange({'gt':_0x2ae964?collection2_indexify(_0x2ae964):null,'lt':_0x186fad?collection2_indexify(_0x186fad):null,'gte':_0x5a1e70?collection2_indexify(_0x5a1e70):null,'lte':_0x3c8dd6?collection2_indexify(_0x3c8dd6):null});
},'encodeValue'(_0x98d576,_0x510e1f,_0x5b2dac){
_0x491571={
_0x5137fc:0x103,_0x4eb20b:0x174},_0x474d0f={
_0x16a5d0:0xd2,_0x20ec45:0x224}
;
setVersion(_0x98d576);
const _0x4908fb={
'start':0x0,'end':0x0,'buffer':null}
;
collection2_enc.preencode(_0x4908fb,_0x5b2dac),_0x4908fb.buffer=b4a.allocUnsafe(_0x4908fb.end),collection2_enc.encode(_0x4908fb,_0x5b2dac);
return _0x4908fb.buffer;
},'trigger':null,'reconstruct':collection2_reconstruct,'reconstructKey':collection2_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection3_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x3});
function collection3_indexify(_0x26b5f5){
const _0x4b4ed1=_0x26b5f5.roomKey;
return _0x4b4ed1===undefined?[]:[_0x4b4ed1];
}
const collection3_enc=getEncoding("@local/room-migration/hyperdb#3"),collection3_trigger=helpers0.roomMigrationsTrigger;
function collection3_reconstruct(_0x27b779,_0x3ad65d,_0x2a68c3){
_0xe61955={
_0x1f2fe3:0x165,_0x2ca5cb:0x7f},_0x22b1f4={
_0x3a027b:0x8b,_0x19a0ec:0xad,_0x5589b2:0x16a},_0x115b2f=collection3_key.decode(_0x3ad65d);
setVersion(_0x27b779);
const _0x3bbd0a={
'start':0x0,'end':_0x2a68c3.byteLength,'buffer':_0x2a68c3}
;
const _0x2f5d52=collection3_enc.decode(_0x3bbd0a);
return _0x2f5d52.roomKey=_0x115b2f[0x0],_0x2f5d52;
}
function collection3_reconstruct_key(_0x5f0a70){
_0x500550={
_0x3d45a3:0x1d0,_0x12e2fa:0xe9,_0x39da79:0x165},_0x2bc626=collection3_key.decode(_0x5f0a70);
return{
'roomKey':_0x2bc626[0x0]}
;
}
const collection3={
'name':"@local/room-migrations",'id':0x3,'version':0x0,'encodeKey'(_0x282f5f){
_0x26f411={
_0x17e964:0x14d,_0x5b91d2:0x5ca,_0x51eff7:0x8f}
;
const _0x229bdb=[_0x282f5f.roomKey];
return collection3_key.encode(_0x229bdb);
},'encodeKeyRange'({gt:_0x24b94b,lt:_0x409005,gte:_0x416964,lte:_0x3fe395}={}){
return collection3_key.encodeRange({'gt':_0x24b94b?collection3_indexify(_0x24b94b):null,'lt':_0x409005?collection3_indexify(_0x409005):null,'gte':_0x416964?collection3_indexify(_0x416964):null,'lte':_0x3fe395?collection3_indexify(_0x3fe395):null});
},'encodeValue'(_0x204513,_0x2da16d,_0x5d0836){
_0x35c095={
_0x452fca:0x136,_0x41f4f0:0x1f},_0x5ba9f3={
_0x2d3c72:0x31a,_0x120b78:0x177}
;
setVersion(_0x204513);
const _0x43833e={
'start':0x0,'end':0x0,'buffer':null}
;
return collection3_enc.preencode(_0x43833e,_0x5d0836),_0x43833e.buffer=b4a.allocUnsafe(_0x43833e.end),collection3_enc.encode(_0x43833e,_0x5d0836),_0x43833e.buffer;
},'trigger':collection3_trigger,'reconstruct':collection3_reconstruct,'reconstructKey':collection3_reconstruct_key,'indexes':[],'decodedVersion':0x0},index4_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x4});
function index4_indexify(_0x182078){
_0x2c2221={
_0x19634d:0x1eb,_0xe0bf2a:0x100,_0x29d552:0x191},_0x27093e={
_0xf3b824:0xac,_0x4348f5:0xab,_0x4f7dac:0x19a},_0x4a4af9=[],_0x5e0802=_0x182078.priority;
if(_0x5e0802===undefined)return _0x4a4af9;
_0x4a4af9.push(_0x5e0802);
const _0x18ab7d=_0x182078.roomKey;
if(_0x18ab7d===undefined)return _0x4a4af9;
_0x4a4af9.push(_0x18ab7d);
return _0x4a4af9;
}
const index4={
'name':"@local/room-migrations-by-priority",'version':0x0,'id':0x4,'encodeKey'(_0x55ead2){
_0xee3675={
_0x43fc5a:0x2c,_0x1734d2:0x4ee,_0x27d0a1:0x78}
;
return index4_key.encode(index4_indexify(_0x55ead2));
},'encodeKeyRange'({gt:_0x3be3af,lt:_0x2c4a28,gte:_0x2bb7a9,lte:_0x40f9f1}={}){
_0x584c03={
_0x20d062:0x362,_0x30723c:0x116}
;
return index4_key.encodeRange({'gt':_0x3be3af?index4_indexify(_0x3be3af):null,'lt':_0x2c4a28?index4_indexify(_0x2c4a28):null,'gte':_0x2bb7a9?index4_indexify(_0x2bb7a9):null,'lte':_0x40f9f1?index4_indexify(_0x40f9f1):null});
},'encodeValue':_0x2b1193=>index4.collection.encodeKey(_0x2b1193),'encodeIndexKeys'(_0x15715c,_0x2580f1){
_0x4632e9={
_0x24043f:0x17b},_0x11b1ae={
_0xd3d1d4:0x122,_0x3382d9:0xa1}
;
return[index4_key.encode([_0x15715c.priority,_0x15715c.roomKey])];
},'reconstruct':(_0x589d0d,_0x551490)=>_0x551490,'offset':collection3.indexes.length,'collection':collection3}
;
collection3.indexes.push(index4);
const collection5_key=new IndexEncoder([],{'prefix':0x5});
function collection5_indexify(_0x1f805a){
return[];
}
const collection5_enc=getEncoding("@local/identity-record");
function collection5_reconstruct(_0x38ce26,_0x5de029,_0x327bb){
_0x50aa42={
_0x33ce14:0x6c,_0x57f99a:0x1e,_0x1dde3b:0x2e}
;
setVersion(_0x38ce26);
const _0x3f2767={
'start':0x0,'end':_0x327bb.byteLength,'buffer':_0x327bb}
;
const _0x41ed74=collection5_enc.decode(_0x3f2767);
return _0x41ed74;
}
function collection5_reconstruct_key(_0x1036d0){
return{
}
;
}
const collection5={
'name':"@local/identity",'id':0x5,'version':0x0,'encodeKey'(_0x2babee){
_0x3c1413={
_0xc4e7c0:0xbb,_0x365f99:0x11a}
;
const _0x56a485=[];
return collection5_key.encode(_0x56a485);
},'encodeKeyRange'({gt:_0x3f7a87,lt:_0x7df679,gte:_0x9d0e6a,lte:_0x3c72d2}={}){
_0x169fd6={
_0x1dcb02:0x45,_0x387137:0x38d,_0x7708de:0xb1}
;
return collection5_key.encodeRange({'gt':_0x3f7a87?collection5_indexify(_0x3f7a87):null,'lt':_0x7df679?collection5_indexify(_0x7df679):null,'gte':_0x9d0e6a?collection5_indexify(_0x9d0e6a):null,'lte':_0x3c72d2?collection5_indexify(_0x3c72d2):null});
},'encodeValue'(_0x3bc867,_0x55e1bb,_0x294181){
_0x132229={
_0x200c8e:0x64,_0x2a69fd:0x4b,_0x191afa:0x1b0},_0x213285={
_0x5d8d32:0x116,_0x13093c:0x11d,_0x199be5:0x1cc}
;
setVersion(_0x3bc867);
const _0x293f5d={
'start':0x0,'end':0x0,'buffer':null}
;
return collection5_enc.preencode(_0x293f5d,_0x294181),_0x293f5d.buffer=b4a.allocUnsafe(_0x293f5d.end),collection5_enc.encode(_0x293f5d,_0x294181),_0x293f5d.buffer;
},'trigger':null,'reconstruct':collection5_reconstruct,'reconstructKey':collection5_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection6_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x6});
function collection6_indexify(_0x4ced83){
_0x320235={
_0x21f0df:0x3af,_0x4ea2f2:0x134},_0x3f90f6=_0x4ced83.roomKey;
return _0x3f90f6===undefined?[]:[_0x3f90f6];
}
const collection6_enc=getEncoding("@local/room/hyperdb#6"),collection6_trigger=helpers0.roomsTrigger;
function collection6_reconstruct(_0x1b7f20,_0x596247,_0x1c6868){
_0x1a1e0b={
_0x10a837:0x1da,_0x4ea673:0x14b},_0xa139b4={
_0x54e4cc:0xd2},_0x5cf812=collection6_key.decode(_0x596247);
setVersion(_0x1b7f20);
const _0x1d9bd9={
'start':0x0,'end':_0x1c6868.byteLength,'buffer':_0x1c6868},_0x2e6fd3=collection6_enc.decode(_0x1d9bd9);
_0x2e6fd3.roomKey=_0x5cf812[0x0],collection6.decodedVersion=_0x2e6fd3.version;
return _0x2e6fd3;
}
function collection6_reconstruct_key(_0x4812f7){
const _0xe2f598=collection6_key.decode(_0x4812f7);
return{
'roomKey':_0xe2f598[-0x2b6]}
;
}
const collection6={
'name':"@local/rooms",'id':0x6,'version':0x3,'encodeKey'(_0x1e52b1){
const _0x190b33=[_0x1e52b1.roomKey];
return collection6_key.encode(_0x190b33);
},'encodeKeyRange'({gt:_0x2558bf,lt:_0xed8e26,gte:_0x31103c,lte:_0x25bb0d}={}){
return collection6_key.encodeRange({'gt':_0x2558bf?collection6_indexify(_0x2558bf):null,'lt':_0xed8e26?collection6_indexify(_0xed8e26):null,'gte':_0x31103c?collection6_indexify(_0x31103c):null,'lte':_0x25bb0d?collection6_indexify(_0x25bb0d):null});
},'encodeValue'(_0x53b65a,_0x4b60ae,_0x4f9355){
_0x48442e={
_0x329f50:0xe2,_0xf70325:0x11,_0x31916b:0x19c},_0x3cc733={
_0x4f679a:0x4,_0x74cd47:0x5f1,_0x450423:0x96}
;
setVersion(_0x53b65a);
const _0x5d97c1={
'start':0x0,'end':0x0,'buffer':null}
;
return _0x4f9355.version=_0x4b60ae,collection6_enc.preencode(_0x5d97c1,_0x4f9355),_0x5d97c1.buffer=b4a.allocUnsafe(_0x5d97c1.end),collection6_enc.encode(_0x5d97c1,_0x4f9355),_0x5d97c1.buffer;
},'trigger':collection6_trigger,'reconstruct':collection6_reconstruct,'reconstructKey':collection6_reconstruct_key,'indexes':[],'decodedVersion':0x0},index7_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x7});
function index7_indexify(_0xee276a){
_0x1f8e00={
_0x30687b:0x1b0,_0x57f6b8:0x15d,_0x9ac65:0x13},_0xaac7eb=_0xee276a.discoveryKey;
return _0xaac7eb===undefined?[]:[_0xaac7eb];
}
const index7={
'name':"@local/rooms-by-discovery-key",'version':0x0,'id':0x7,'encodeKey'(_0x230d24){
_0x48fb63={
_0x441271:0x1e5,_0x458d33:0xbc,_0x47f9d0:0x12}
;
return index7_key.encode(index7_indexify(_0x230d24));
},'encodeKeyRange'({gt:_0x2d6ac3,lt:_0x24dcf8,gte:_0x4482c4,lte:_0x3ef151}={}){
_0x3aacb2={
_0x11cc82:0x6f,_0x49f25f:0x15c,_0x35565c:0x1d4}
;
return index7_key.encodeRange({'gt':_0x2d6ac3?index7_indexify(_0x2d6ac3):null,'lt':_0x24dcf8?index7_indexify(_0x24dcf8):null,'gte':_0x4482c4?index7_indexify(_0x4482c4):null,'lte':_0x3ef151?index7_indexify(_0x3ef151):null});
},'encodeValue':_0x1b7b7d=>index7.collection.encodeKey(_0x1b7b7d),'encodeIndexKeys'(_0x21e325,_0x2bae39){
_0x4c7bf7={
_0x16785c:0xa3,_0x5f13a1:0x92,_0x2611b0:0xda}
;
return[index7_key.encode([_0x21e325.discoveryKey])];
},'reconstruct':(_0x56690b,_0x2d8489)=>_0x2d8489,'offset':collection6.indexes.length,'collection':collection6}
;
collection6.indexes.push(index7);
const index8_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x8}),index8_map=helpers0.roomsByTimestampMap;
function index8_indexify(_0x1354af){
_0x442e6b={
_0x55308b:0x60,_0x11a805:0x70,_0x53d9cf:0x14e},_0x4836f2=_0x1354af.timestamp;
return _0x4836f2===undefined?[]:[_0x4836f2];
}
const index8={
'name':"@local/rooms-by-timestamp",'version':0x0,'id':0x8,'encodeKey'(_0x318a8d){
_0x49419b={
_0x56713f:0x16d,_0x27ee9c:0x433}
;
return index8_key.encode(index8_indexify(_0x318a8d));
},'encodeKeyRange'({gt:_0x1483da,lt:_0x5eb544,gte:_0x25a3a0,lte:_0xc21edf}={}){
_0x428abb={
_0x3338ed:0x166,_0x3d91d8:0x132}
;
return index8_key.encodeRange({'gt':_0x1483da?index8_indexify(_0x1483da):null,'lt':_0x5eb544?index8_indexify(_0x5eb544):null,'gte':_0x25a3a0?index8_indexify(_0x25a3a0):null,'lte':_0xc21edf?index8_indexify(_0xc21edf):null});
},'encodeValue':_0x3d7db6=>index8.collection.encodeKey(_0x3d7db6),'encodeIndexKeys'(_0xdf3838,_0x3160de){
_0x2cfcf6={
_0x2a89c6:0x109,_0x5b379c:0x1dd},_0x930a00={
_0x23ef8c:0x259},_0x46d91a=index8_map(_0xdf3838,_0x3160de),_0x2e1125=new Array(_0x46d91a.length);
for(let _0x353b54=-0x1fc2;_0x353b54<_0x46d91a.length;_0x353b54++){
const _0x18da4f=_0x46d91a[_0x353b54];
_0x2e1125[_0x353b54]=index8_key.encode([_0x18da4f.timestamp,_0xdf3838.roomKey]);
}
return _0x2e1125;
},'reconstruct':(_0x443de9,_0x31290a)=>_0x31290a,'offset':collection6.indexes.length,'collection':collection6}
;
collection6.indexes.push(index8);
const index9_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x9}),index9_map=helpers0.roomsByTypeAndTimestampMap;
function index9_indexify(_0x1ffa7c){
_0x45a76c={
_0x127fc1:0x1a9,_0x545d04:0x2f0,_0x28c0a0:0x1db},_0xb59a96={
_0x55b4df:0x1ba,_0x1513f3:0x17c},_0x17228f=[],_0x7b0938=_0x1ffa7c.type;
if(_0x7b0938===undefined)return _0x17228f;
_0x17228f.push(_0x7b0938);
const _0x405b2b=_0x1ffa7c.timestamp;
if(_0x405b2b===undefined)return _0x17228f;
return _0x17228f.push(_0x405b2b),_0x17228f;
}
const index9={
'name':"@local/rooms-by-type-and-timestamp",'version':0x0,'id':0x9,'encodeKey'(_0x44c52b){
return index9_key.encode(index9_indexify(_0x44c52b));
},'encodeKeyRange'({gt:_0x20ec9a,lt:_0x29ce5c,gte:_0x298f1d,lte:_0x38f4e9}={}){
return index9_key.encodeRange({'gt':_0x20ec9a?index9_indexify(_0x20ec9a):null,'lt':_0x29ce5c?index9_indexify(_0x29ce5c):null,'gte':_0x298f1d?index9_indexify(_0x298f1d):null,'lte':_0x38f4e9?index9_indexify(_0x38f4e9):null});
},'encodeValue':_0x38dbbd=>index9.collection.encodeKey(_0x38dbbd),'encodeIndexKeys'(_0x15e3ab,_0x2af902){
_0x154f1c={
_0x13ab8f:0xb9,_0x259389:0x120,_0x1ec7e7:0x12b},_0x269fe8={
_0x13c00f:0x159,_0x3d7882:0xff,_0x3cb797:0x1cf},_0x1afb6d=index9_map(_0x15e3ab,_0x2af902),_0x523c82=new Array(_0x1afb6d.length);
for(let _0x1fad01=-0xa52;_0x1fad01<_0x1afb6d.length;_0x1fad01++){
const _0x122dba=_0x1afb6d[_0x1fad01];
_0x523c82[_0x1fad01]=index9_key.encode([_0x122dba.type,_0x122dba.timestamp,_0x15e3ab.roomKey]);
}
return _0x523c82;
},'reconstruct':(_0x1cf468,_0x343165)=>_0x343165,'offset':collection6.indexes.length,'collection':collection6}
;
collection6.indexes.push(index9);
const index10_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xa});
function index10_indexify(_0x2e2227){
_0x2cd627={
_0x34d920:0x31,_0x26bcbf:0x12a,_0x729fc:0x98},_0x22417a=_0x2e2227.capabilities?..wakeupTopic;
return _0x22417a===undefined?[]:[_0x22417a];
}
const index10={
'name':"@local/rooms-by-wakeup-topic",'version':0x0,'id':0xa,'encodeKey'(_0xfbefeb){
return index10_key.encode(index10_indexify(_0xfbefeb));
},'encodeKeyRange'({gt:_0xcc0d1a,lt:_0x449ce5,gte:_0x24f85d,lte:_0x58ca7c}={}){
_0x117e19={
_0x434845:0x180,_0x12a77d:0x6a8}
;
return index10_key.encodeRange({'gt':_0xcc0d1a?index10_indexify(_0xcc0d1a):null,'lt':_0x449ce5?index10_indexify(_0x449ce5):null,'gte':_0x24f85d?index10_indexify(_0x24f85d):null,'lte':_0x58ca7c?index10_indexify(_0x58ca7c):null});
},'encodeValue':_0x4c2237=>index10.collection.encodeKey(_0x4c2237),'encodeIndexKeys'(_0x16d681,_0x350919){
_0x233da7={
_0x19dae7:0x3bc},_0x52cf77={
_0x44bb57:0x197,_0x36681d:0x229}
;
return[index10_key.encode([_0x16d681.capabilities.wakeupTopic])];
},'reconstruct':(_0x5429d0,_0x392b8b)=>_0x392b8b,'offset':collection6.indexes.length,'collection':collection6}
;
collection6.indexes.push(index10);
const index11_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xb});
function index11_indexify(_0x17e77a){
_0x528e11={
_0x2a0078:0x3ad,_0x2baf08:0x15d},_0x1bc103={
_0x4f7f1b:0x1ac,_0x571d33:0x79},_0x441282=_0x17e77a.capabilities?..mailboxKeyPair?..publicKey;
return _0x441282===undefined?[]:[_0x441282];
}
const index11={
'name':"@local/rooms-by-mailbox",'version':0x0,'id':0xb,'encodeKey'(_0x547d0e){
_0x57e527={
_0x4d6c1c:0xdf,_0x558097:0x5e9}
;
return index11_key.encode(index11_indexify(_0x547d0e));
},'encodeKeyRange'({gt:_0x1d886,lt:_0x2b4218,gte:_0x42d5cf,lte:_0xff8d8c}={}){
return index11_key.encodeRange({'gt':_0x1d886?index11_indexify(_0x1d886):null,'lt':_0x2b4218?index11_indexify(_0x2b4218):null,'gte':_0x42d5cf?index11_indexify(_0x42d5cf):null,'lte':_0xff8d8c?index11_indexify(_0xff8d8c):null});
},'encodeValue':_0x248d98=>index11.collection.encodeKey(_0x248d98),'encodeIndexKeys'(_0xe882c3,_0x531947){
_0x22ef41={
_0x46dab3:0x18c,_0x1bd340:0x39d,_0x306ea7:0xeb},_0x5cf999={
_0x180d31:0x1a4,_0x2c9b22:0x85,_0x191d8a:0x144}
;
return[index11_key.encode([_0xe882c3.capabilities.mailboxKeyPair.publicKey])];
},'reconstruct':(_0xf6f8ac,_0x472b81)=>_0x472b81,'offset':collection6.indexes.length,'collection':collection6}
;
collection6.indexes.push(index11);
const index12_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xc});
function index12_indexify(_0x55da4d){
_0x16fc64={
_0x5a2b66:0x58d,_0x56fd64:0x8b},_0xe54b34={
_0x474608:0x26,_0xb25331:0x4de}
;
const _0x31f56b=_0x55da4d.capabilities?..discoveryKeyPair?..publicKey;
return _0x31f56b===undefined?[]:[_0x31f56b];
}
const index12={
'name':"@local/rooms-by-discovery",'version':0x0,'id':0xc,'encodeKey'(_0x53e530){
_0x3399b6={
_0x421f9e:0x17c,_0x362575:0x131,_0x367922:0x1ed}
;
return index12_key.encode(index12_indexify(_0x53e530));
},'encodeKeyRange'({gt:_0xcfa104,lt:_0x75cce1,gte:_0x4a3335,lte:_0x34a4ff}={}){
_0x4579e8={
_0x35bfd4:0x1ad,_0x39888a:0xf8,_0x4bb778:0x24}
;
return index12_key.encodeRange({'gt':_0xcfa104?index12_indexify(_0xcfa104):null,'lt':_0x75cce1?index12_indexify(_0x75cce1):null,'gte':_0x4a3335?index12_indexify(_0x4a3335):null,'lte':_0x34a4ff?index12_indexify(_0x34a4ff):null});
},'encodeValue':_0x1e0cae=>index12.collection.encodeKey(_0x1e0cae),'encodeIndexKeys'(_0x7af78e,_0x4b3145){
_0x378bab={
_0x4d50c7:0x184,_0x573e73:0x1bf},_0x47f0a4={
_0x2743d7:0x483,_0x3e8b02:0xcb}
;
return[index12_key.encode([_0x7af78e.capabilities.discoveryKeyPair.publicKey])];
},'reconstruct':(_0x52e478,_0x3c1bb6)=>_0x3c1bb6,'offset':collection6.indexes.length,'collection':collection6}
;
collection6.indexes.push(index12);
const collection13_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xd});
function collection13_indexify(_0x5a53b1){
_0x1d5c93={
_0x41a6f1:0x113,_0x242e5b:0xc},_0x47b28b=_0x5a53b1.roomKey;
return _0x47b28b===undefined?[]:[_0x47b28b];
}
const collection13_enc=getEncoding("@local/room-preferences/hyperdb#13");
function collection13_reconstruct(_0x4f5d28,_0x1e3c3a,_0x397c4d){
_0x1d5548={
_0x53f363:0x55,_0x45d225:0xef},_0x2f8e74={
_0x59ccf0:0x11f,_0x25f990:0x54},_0x198042=collection13_key.decode(_0x1e3c3a);
setVersion(_0x4f5d28);
const _0x464786={
'start':0x0,'end':_0x397c4d.byteLength,'buffer':_0x397c4d},_0x372908=collection13_enc.decode(_0x464786);
return _0x372908.roomKey=_0x198042[-0x3c72],_0x372908;
}
function collection13_reconstruct_key(_0x575b96){
_0x1f252f={
_0x5281b3:0x1d2}
;
const _0xdaaac5=collection13_key.decode(_0x575b96);
return{
'roomKey':_0xdaaac5[0x0]}
;
}
const collection13={
'name':"@local/room-preferences",'id':0xd,'version':0x0,'encodeKey'(_0x3bf91f){
_0x55db49={
_0x208d0e:0x37f,_0x3a03f8:0x12f}
;
const _0x34c6ac=[_0x3bf91f.roomKey];
return collection13_key.encode(_0x34c6ac);
},'encodeKeyRange'({gt:_0x4e5f42,lt:_0x406a00,gte:_0x3aac41,lte:_0x9c016a}={}){
_0xd7835e={
_0x2a6431:0x170,_0x242894:0x106}
;
return collection13_key.encodeRange({'gt':_0x4e5f42?collection13_indexify(_0x4e5f42):null,'lt':_0x406a00?collection13_indexify(_0x406a00):null,'gte':_0x3aac41?collection13_indexify(_0x3aac41):null,'lte':_0x9c016a?collection13_indexify(_0x9c016a):null});
},'encodeValue'(_0x38f16c,_0x7fee1b,_0x489e5c){
_0x1f168e={
_0x51cbd5:0x12a,_0x1e91f7:0xae},_0x3914cb={
_0xe5e18:0x56,_0x4c82dd:0x46e,_0x8f0054:0x1f0}
;
setVersion(_0x38f16c);
const _0x12b268={
'start':0x0,'end':0x0,'buffer':null}
;
collection13_enc.preencode(_0x12b268,_0x489e5c);
return _0x12b268.buffer=b4a.allocUnsafe(_0x12b268.end),collection13_enc.encode(_0x12b268,_0x489e5c),_0x12b268.buffer;
},'trigger':null,'reconstruct':collection13_reconstruct,'reconstructKey':collection13_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection14_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xe});
function collection14_indexify(_0x55f512){
_0x166e74={
_0x4e6b0f:0x11a,_0x584b8f:0x453,_0x351922:0x9b}
;
const _0x5e3705=_0x55f512.mailbox;
return _0x5e3705===undefined?[]:[_0x5e3705];
}
const collection14_enc=getEncoding("@local/writer/hyperdb#14");
function collection14_reconstruct(_0x585fb4,_0x338320,_0x9cf036){
_0x325075={
_0x2e875e:0x43,_0x5d1cca:0x10a,_0x3cee12:0x1de},_0x276253={
_0x2fc49e:0x492,_0x3a2322:0x95},_0x16cbc0=collection14_key.decode(_0x338320);
setVersion(_0x585fb4);
const _0x5e610c={
'start':0x0,'end':_0x9cf036.byteLength,'buffer':_0x9cf036},_0x25f35d=collection14_enc.decode(_0x5e610c);
return _0x25f35d.mailbox=_0x16cbc0[-0x39ae],_0x25f35d;
}
function collection14_reconstruct_key(_0xac97d3){
_0x4eb875={
_0x64a526:0x5e,_0x561e34:0x2d0},_0x3be8d1=collection14_key.decode(_0xac97d3);
return{
'mailbox':_0x3be8d1[--0x2b56]}
;
}
const collection14={
'name':"@local/writers",'id':0xe,'version':0x0,'encodeKey'(_0x18722c){
_0x5d2ac2={
_0xa4806b:0x164,_0x46ce3d:0x4d1,_0x4bc5f8:0xc},_0x40f101=[_0x18722c.mailbox];
return collection14_key.encode(_0x40f101);
},'encodeKeyRange'({gt:_0x4defa6,lt:_0x4b1641,gte:_0xb0ca5e,lte:_0x23c5cb}={}){
_0x3eee34={
_0x30d3c3:0x35,_0x30829a:0x654,_0x5295d8:0x4e}
;
return collection14_key.encodeRange({'gt':_0x4defa6?collection14_indexify(_0x4defa6):null,'lt':_0x4b1641?collection14_indexify(_0x4b1641):null,'gte':_0xb0ca5e?collection14_indexify(_0xb0ca5e):null,'lte':_0x23c5cb?collection14_indexify(_0x23c5cb):null});
},'encodeValue'(_0x28df55,_0x2b2466,_0x3f4cec){
_0x144917={
_0x3083e3:0x133,_0x3d4249:0xf3},_0x958714={
_0x14dfc8:0x89}
;
setVersion(_0x28df55);
const _0x4faae7={
'start':0x0,'end':0x0,'buffer':null}
;
collection14_enc.preencode(_0x4faae7,_0x3f4cec);
return _0x4faae7.buffer=b4a.allocUnsafe(_0x4faae7.end),collection14_enc.encode(_0x4faae7,_0x3f4cec),_0x4faae7.buffer;
},'trigger':null,'reconstruct':collection14_reconstruct,'reconstructKey':collection14_reconstruct_key,'indexes':[],'decodedVersion':0x0},index15_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0xf}),index15_map=helpers0.writersByWakeupTopicMap;
function index15_indexify(_0x501233){
_0x206583={
_0x38ac47:0x143}
;
const _0x3a99a2=_0x501233.wakeupTopic;
return _0x3a99a2===undefined?[]:[_0x3a99a2];
}
const index15={
'name':"@local/writers-by-wakeup-topic",'version':0x0,'id':0xf,'encodeKey'(_0x297022){
_0x27de2c={
_0x258bcf:0x119,_0x488732:0x414,_0xfd2da4:0x135}
;
return index15_key.encode(index15_indexify(_0x297022));
},'encodeKeyRange'({gt:_0x14bcd3,lt:_0x5122fd,gte:_0x44162e,lte:_0x2d6699}={}){
_0x1aca03={
_0x4d7e8b:0x9,_0x47aaed:0x140}
;
return index15_key.encodeRange({'gt':_0x14bcd3?index15_indexify(_0x14bcd3):null,'lt':_0x5122fd?index15_indexify(_0x5122fd):null,'gte':_0x44162e?index15_indexify(_0x44162e):null,'lte':_0x2d6699?index15_indexify(_0x2d6699):null});
},'encodeValue':_0x453d04=>index15.collection.encodeKey(_0x453d04),'encodeIndexKeys'(_0x1a91f4,_0x4797a7){
_0x407a72={
_0x3fe880:0x354},_0x21dc3e={
_0x132633:0x1f4,_0x43dab8:0x1d5,_0x42902d:0x193}
;
const _0x3cd523=index15_map(_0x1a91f4,_0x4797a7),_0x75a7a8=new Array(_0x3cd523.length);
for(let _0x5207e5=-0x18c0;_0x5207e5<_0x3cd523.length;_0x5207e5++){
const _0x5b8073=_0x3cd523[_0x5207e5];
_0x75a7a8[_0x5207e5]=index15_key.encode([_0x5b8073.wakeupTopic]);
}
return _0x75a7a8;
},'reconstruct':(_0x4d80b4,_0x43202d)=>_0x43202d,'offset':collection14.indexes.length,'collection':collection14}
;
collection14.indexes.push(index15);
const index16_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x10}),index16_map=helpers0.writersByRoomKeyMap;
function index16_indexify(_0x536f55){
_0x1540de=_0x536f55.roomKey;
return _0x1540de===undefined?[]:[_0x1540de];
}
const index16={
'name':"@local/writers-by-room-key",'version':0x0,'id':0x10,'encodeKey'(_0x9702ad){
_0xd9b25c={
_0x3c1dd2:0x1ba,_0x469f33:0x368,_0x497d37:0x1e7}
;
return index16_key.encode(index16_indexify(_0x9702ad));
},'encodeKeyRange'({gt:_0x2ea154,lt:_0x44729e,gte:_0x5bbddd,lte:_0x9a3f93}={}){
return index16_key.encodeRange({'gt':_0x2ea154?index16_indexify(_0x2ea154):null,'lt':_0x44729e?index16_indexify(_0x44729e):null,'gte':_0x5bbddd?index16_indexify(_0x5bbddd):null,'lte':_0x9a3f93?index16_indexify(_0x9a3f93):null});
},'encodeValue':_0x65b458=>index16.collection.encodeKey(_0x65b458),'encodeIndexKeys'(_0x31e1b2,_0x2756c5){
_0x39a230={
_0x3ae693:0x2e,_0x559f3b:0xc9,_0x4a3406:0x1ea},_0x4e345a={
_0x180c65:0x1be,_0x18f38b:0xad}
;
const _0xd23b69=index16_map(_0x31e1b2,_0x2756c5),_0x567580=new Array(_0xd23b69.length);
for(let _0x4d7397=-0x4810;_0x4d7397<_0xd23b69.length;_0x4d7397++){
const _0x45b759=_0xd23b69[_0x4d7397];
_0x567580[_0x4d7397]=index16_key.encode([_0x45b759.roomKey]);
}
return _0x567580;
},'reconstruct':(_0x2b5929,_0x529e63)=>_0x529e63,'offset':collection14.indexes.length,'collection':collection14}
;
collection14.indexes.push(index16);
const collection17_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x11});
function collection17_indexify(_0x30bff1){
const _0x41406d=_0x30bff1.key;
return _0x41406d===undefined?[]:[_0x41406d];
}
const collection17_enc=getEncoding("@local/member/hyperdb#17");
function collection17_reconstruct(_0x294793,_0x1df959,_0x5d8707){
_0x9e95e9={
_0x45d222:0x1a6,_0x30bf05:0x6a0},_0x2dc699={
_0x3515ad:0x107,_0x23a479:0x13b},_0x3a04ab=collection17_key.decode(_0x1df959);
setVersion(_0x294793);
const _0x55ebc5={
'start':0x0,'end':_0x5d8707.byteLength,'buffer':_0x5d8707},_0x549cd9=collection17_enc.decode(_0x55ebc5);
return _0x549cd9.key=_0x3a04ab[-0x489e],_0x549cd9;
}
function collection17_reconstruct_key(_0x219a71){
_0x263e19={
_0x5586d2:0x7d,_0x42c43a:0x5d6,_0x3946b6:0x190}
;
const _0x490cd9=collection17_key.decode(_0x219a71);
return{
'key':_0x490cd9[--0x21e2]}
;
}
const collection17={
'name':"@local/members",'id':0x11,'version':0x0,'encodeKey'(_0x7d5714){
_0x54c582={
_0xde44bb:0x18f,_0x16172c:0xdc},_0x8fd076={
_0x11de5b:0x1f3,_0x46d9f9:0x560}
;
const _0x3b040d=[_0x7d5714.key];
return collection17_key.encode(_0x3b040d);
},'encodeKeyRange'({gt:_0x39d5e9,lt:_0x122e18,gte:_0xccc29b,lte:_0x5c6900}={}){
_0xc8d0d0={
_0x53912b:0x3b,_0x26d40c:0x49}
;
return collection17_key.encodeRange({'gt':_0x39d5e9?collection17_indexify(_0x39d5e9):null,'lt':_0x122e18?collection17_indexify(_0x122e18):null,'gte':_0xccc29b?collection17_indexify(_0xccc29b):null,'lte':_0x5c6900?collection17_indexify(_0x5c6900):null});
},'encodeValue'(_0x96d6d,_0x226f85,_0x4fcdfb){
_0x556d8e={
_0x296faf:0x130,_0x591fb2:0x3bb},_0x4f5388={
_0x1da212:0x144,_0x1195e9:0xcf,_0x40ad73:0x45}
;
setVersion(_0x96d6d);
const _0x173b75={
'start':0x0,'end':0x0,'buffer':null}
;
collection17_enc.preencode(_0x173b75,_0x4fcdfb);
return _0x173b75.buffer=b4a.allocUnsafe(_0x173b75.end),collection17_enc.encode(_0x173b75,_0x4fcdfb),_0x173b75.buffer;
},'trigger':null,'reconstruct':collection17_reconstruct,'reconstructKey':collection17_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection18_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x12});
function collection18_indexify(_0x162528){
_0x3b33b5={
_0x42473a:0x3fa,_0xbe3b2b:0xd0},_0x1b0d70=_0x162528.device?..key;
return _0x1b0d70===undefined?[]:[_0x1b0d70];
}
const collection18_enc=getEncoding("@local/device/hyperdb#18");
function collection18_reconstruct(_0x57164e,_0xb9462e,_0x590a2f){
_0x929ab4={
_0x551807:0x6f,_0x539f8c:0x35c},_0x4fb6d8={
_0x3577c7:0x12e,_0xc7ec31:0x565,_0x38fcee:0x97},_0x29f005=collection18_key.decode(_0xb9462e);
setVersion(_0x57164e);
const _0x422c15={
'start':0x0,'end':_0x590a2f.byteLength,'buffer':_0x590a2f}
;
const _0x49d7e4=collection18_enc.decode(_0x422c15);
return _0x49d7e4.device.key=_0x29f005[0x0],_0x49d7e4;
}
function collection18_reconstruct_key(_0x327a91){
_0x1c889f={
_0x19e602:0x1ad,_0x55ca3e:0x243,_0x155cf5:0x34},_0x51b2e6=collection18_key.decode(_0x327a91);
return{
'device':{
'key':_0x51b2e6[0x0]}
}
;
}
const collection18={
'name':"@local/devices",'id':0x12,'version':0x0,'encodeKey'(_0x219168){
_0x4fba99={
_0x1d0fb9:0xe8,_0x497cb2:0x99,_0x603aef:0x2d}
;
const _0x331c75=[_0x219168.device.key];
return collection18_key.encode(_0x331c75);
},'encodeKeyRange'({gt:_0x4dcef0,lt:_0x56ebcb,gte:_0x32215c,lte:_0x53cb98}={}){
return collection18_key.encodeRange({'gt':_0x4dcef0?collection18_indexify(_0x4dcef0):null,'lt':_0x56ebcb?collection18_indexify(_0x56ebcb):null,'gte':_0x32215c?collection18_indexify(_0x32215c):null,'lte':_0x53cb98?collection18_indexify(_0x53cb98):null});
},'encodeValue'(_0x508162,_0xfef3b1,_0x49fd53){
_0x2b4416={
_0x1e0511:0x5b4,_0x15c575:0x16a},_0x44002b={
_0x5992f5:0xed,_0x538b5c:0xdf}
;
setVersion(_0x508162);
const _0x4bf102={
'start':0x0,'end':0x0,'buffer':null}
;
collection18_enc.preencode(_0x4bf102,_0x49fd53),_0x4bf102.buffer=b4a.allocUnsafe(_0x4bf102.end),collection18_enc.encode(_0x4bf102,_0x49fd53);
return _0x4bf102.buffer;
},'trigger':null,'reconstruct':collection18_reconstruct,'reconstructKey':collection18_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection19_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x13});
function collection19_indexify(_0x522fe4){
_0x4bea2a={
_0x44d736:0xc9,_0x3ebebe:0x479,_0x18e9e6:0x163}
;
const _0xac27c9=_0x522fe4.memberKey;
return _0xac27c9===undefined?[]:[_0xac27c9];
}
const collection19_enc=getEncoding("@keet-private-id/contact/hyperdb#19");
function collection19_reconstruct(_0x44f692,_0x1f8e36,_0x411284){
_0x4c6ec5={
_0x498e23:0xa7},_0x17eb2a={
_0x10a9c7:0x1dd,_0x57b6ff:0x356},_0x448d29=collection19_key.decode(_0x1f8e36);
setVersion(_0x44f692);
const _0x4ddba9={
'start':0x0,'end':_0x411284.byteLength,'buffer':_0x411284},_0x73fae0=collection19_enc.decode(_0x4ddba9);
return _0x73fae0.memberKey=_0x448d29[--0x2178],_0x73fae0;
}
function collection19_reconstruct_key(_0x5003d3){
_0x5b26dd={
_0x12d12e:0x18f},_0x368b56=collection19_key.decode(_0x5003d3);
return{
'memberKey':_0x368b56[0x0]}
;
}
const collection19={
'name':"@local/contacts",'id':0x13,'version':0x0,'encodeKey'(_0x282aad){
_0x587249={
_0x4283bd:0x144,_0x268b50:0x111,_0x2923b0:0x20},_0x359c19={
_0x2b58e5:0x1f1,_0x90c3c1:0x14},_0x300624=[_0x282aad.memberKey];
return collection19_key.encode(_0x300624);
},'encodeKeyRange'({gt:_0x4ed6e6,lt:_0x497202,gte:_0x5775c3,lte:_0x3f749c}={}){
_0x5e1c81={
_0x568956:0xec,_0x4168ca:0x16f}
;
return collection19_key.encodeRange({'gt':_0x4ed6e6?collection19_indexify(_0x4ed6e6):null,'lt':_0x497202?collection19_indexify(_0x497202):null,'gte':_0x5775c3?collection19_indexify(_0x5775c3):null,'lte':_0x3f749c?collection19_indexify(_0x3f749c):null});
},'encodeValue'(_0x427f75,_0x40bccd,_0x5d45bc){
_0x208315={
_0x3e6668:0x1f4},_0x2d03f0={
_0x2d3ee9:0x45,_0x480808:0x124}
;
setVersion(_0x427f75);
const _0x376993={
'start':0x0,'end':0x0,'buffer':null}
;
collection19_enc.preencode(_0x376993,_0x5d45bc),_0x376993.buffer=b4a.allocUnsafe(_0x376993.end);
return collection19_enc.encode(_0x376993,_0x5d45bc),_0x376993.buffer;
},'trigger':null,'reconstruct':collection19_reconstruct,'reconstructKey':collection19_reconstruct_key,'indexes':[],'decodedVersion':0x0},index20_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x14}),index20_map=helpers0.blockedContactsMap;
function index20_indexify(_0x4161ac){
_0x199d7e={
_0x303d70:0x8,_0x49f986:0x1a4,_0x5bfe00:0x112}
;
const _0x24c2ac=_0x4161ac.memberKey;
return _0x24c2ac===undefined?[]:[_0x24c2ac];
}
const index20={
'name':"@local/blocked-contacts",'version':0x0,'id':0x14,'encodeKey'(_0x3aa1f9){
_0x2c5102={
_0x577086:0x12e,_0xea65d5:0x95,_0x537fc:0x1a4}
;
return index20_key.encode(index20_indexify(_0x3aa1f9));
},'encodeKeyRange'({gt:_0x3f7ee3,lt:_0x3dbbbe,gte:_0x473d2b,lte:_0x4b27f0}={}){
_0x573c25={
_0x1404da:0x1a7,_0x5594b2:0x39,_0x3218fd:0xa6}
;
return index20_key.encodeRange({'gt':_0x3f7ee3?index20_indexify(_0x3f7ee3):null,'lt':_0x3dbbbe?index20_indexify(_0x3dbbbe):null,'gte':_0x473d2b?index20_indexify(_0x473d2b):null,'lte':_0x4b27f0?index20_indexify(_0x4b27f0):null});
},'encodeValue':_0x21fa5e=>index20.collection.encodeKey(_0x21fa5e),'encodeIndexKeys'(_0x37c227,_0x20a33c){
_0x24d13b={
_0x23d66a:0x81,_0x1ae1f:0x3cc,_0x579c43:0x15f},_0x227a27={
_0x419a1a:0x127,_0x42b911:0x538,_0x43f93b:0x16b}
;
const _0x4bd981=index20_map(_0x37c227,_0x20a33c),_0x27aa06=new Array(_0x4bd981.length);
for(let _0x4d71b8=-0x12c4;_0x4d71b8<_0x4bd981.length;_0x4d71b8++){
const _0x209a43=_0x4bd981[_0x4d71b8];
_0x27aa06[_0x4d71b8]=index20_key.encode([_0x209a43.memberKey]);
}
return _0x27aa06;
},'reconstruct':(_0x3d14b0,_0x5f22f6)=>_0x5f22f6,'offset':collection19.indexes.length,'collection':collection19}
;
collection19.indexes.push(index20);
const collection21_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x15});
function collection21_indexify(_0x4ce484){
_0x5efe5a={
_0x732262:0x10c,_0x3ca58d:0x197,_0x1e4194:0xf0},_0x5e732a={
_0x418b42:0x30,_0x4f5a7e:0x52,_0x4df93a:0x1a0},_0x1fcbe2=[],_0x18c12d=_0x4ce484.priority;
if(_0x18c12d===undefined)return _0x1fcbe2;
_0x1fcbe2.push(_0x18c12d);
const _0x4fa6cc=_0x4ce484.timestamp;
if(_0x4fa6cc===undefined)return _0x1fcbe2;
_0x1fcbe2.push(_0x4fa6cc);
const _0x51438a=_0x4ce484.type;
if(_0x51438a===undefined)return _0x1fcbe2;
_0x1fcbe2.push(_0x51438a);
const _0x596ff7=_0x4ce484.discoveryKey;
if(_0x596ff7===undefined)return _0x1fcbe2;
return _0x1fcbe2.push(_0x596ff7),_0x1fcbe2;
}
const collection21_enc=getEncoding("@local/task/hyperdb#21");
function collection21_reconstruct(_0x21cd6c,_0x26c067,_0x355939){
_0x1ce3b9={
_0x4ddda9:0x171},_0x1589dc={
_0xf051a9:0x1d,_0x2bcd51:0xae,_0x37cd61:0x51}
;
const _0x16bdbd=collection21_key.decode(_0x26c067);
setVersion(_0x21cd6c);
const _0x4739be={
'start':0x0,'end':_0x355939.byteLength,'buffer':_0x355939},_0x4acd9c=collection21_enc.decode(_0x4739be);
return _0x4acd9c.priority=_0x16bdbd[0x0],_0x4acd9c.timestamp=_0x16bdbd[-0x1bd1],_0x4acd9c.type=_0x16bdbd[-0x2aa4],_0x4acd9c.discoveryKey=_0x16bdbd[0x3],_0x4acd9c;
}
function collection21_reconstruct_key(_0x30f2d8){
const _0xd1f888=collection21_key.decode(_0x30f2d8);
return{
'priority':_0xd1f888[-0x3cf2],'timestamp':_0xd1f888[0x1],'type':_0xd1f888[-0x188a],'discoveryKey':_0xd1f888[-0x1d8f]}
;
}
const collection21={
'name':"@local/tasks",'id':0x15,'version':0x0,'encodeKey'(_0x15964e){
_0x5ee303={
_0x5f1727:0x107}
;
const _0x4c50c3=[_0x15964e.priority,_0x15964e.timestamp,_0x15964e.type,_0x15964e.discoveryKey];
return collection21_key.encode(_0x4c50c3);
},'encodeKeyRange'({gt:_0x442194,lt:_0x195200,gte:_0x51ff98,lte:_0x5481f1}={}){
_0x111324={
_0x3bc8bb:0x163,_0x3bcd44:0x66}
;
return collection21_key.encodeRange({'gt':_0x442194?collection21_indexify(_0x442194):null,'lt':_0x195200?collection21_indexify(_0x195200):null,'gte':_0x51ff98?collection21_indexify(_0x51ff98):null,'lte':_0x5481f1?collection21_indexify(_0x5481f1):null});
},'encodeValue'(_0x52199a,_0x5bd9af,_0x46bc80){
_0x32fc5a={
_0x5df0ed:0xb4,_0x3e4bb8:0x112,_0x58fd4a:0xab},_0x56b9b7={
_0x60ff6c:0x402,_0x1e6ba8:0x1cd}
;
setVersion(_0x52199a);
const _0x53db0c={
'start':0x0,'end':0x0,'buffer':null}
;
collection21_enc.preencode(_0x53db0c,_0x46bc80),_0x53db0c.buffer=b4a.allocUnsafe(_0x53db0c.end);
return collection21_enc.encode(_0x53db0c,_0x46bc80),_0x53db0c.buffer;
},'trigger':null,'reconstruct':collection21_reconstruct,'reconstructKey':collection21_reconstruct_key,'indexes':[],'decodedVersion':0x0},index22_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x16});
function index22_indexify(_0x258144){
_0x16b53e={
_0x5ac758:0x2a},_0x5b954a={
_0x595783:0x117,_0x51dff8:0x1e6},_0x7f2db0=[],_0x18060a=_0x258144.type;
if(_0x18060a===undefined)return _0x7f2db0;
_0x7f2db0.push(_0x18060a);
const _0x26296b=_0x258144.discoveryKey;
if(_0x26296b===undefined)return _0x7f2db0;
return _0x7f2db0.push(_0x26296b),_0x7f2db0;
}
const index22={
'name':"@local/tasks-by-type",'version':0x0,'id':0x16,'encodeKey'(_0x4bbd62){
_0x4d35ae={
_0x543626:0x105,_0x28442c:0x1d4}
;
return index22_key.encode(index22_indexify(_0x4bbd62));
},'encodeKeyRange'({gt:_0x1edbd9,lt:_0x1e0657,gte:_0x51927c,lte:_0x150931}={}){
_0x21197c={
_0x13ed8a:0x139,_0x29b938:0x378,_0x35d261:0x1f}
;
return index22_key.encodeRange({'gt':_0x1edbd9?index22_indexify(_0x1edbd9):null,'lt':_0x1e0657?index22_indexify(_0x1e0657):null,'gte':_0x51927c?index22_indexify(_0x51927c):null,'lte':_0x150931?index22_indexify(_0x150931):null});
},'encodeValue':_0x278ec0=>index22.collection.encodeKey(_0x278ec0),'encodeIndexKeys'(_0x5011d5,_0x23568e){
_0x1e0f27={
_0x1f9334:0xfb,_0x5bad71:0x36,_0x3d8061:0x4c},_0x2438d7={
_0x3b4f41:0x86,_0x797db5:0x4cd,_0x392d68:0xe9}
;
return[index22_key.encode([_0x5011d5.type,_0x5011d5.discoveryKey])];
},'reconstruct':(_0xb3b03b,_0x7f8cb6)=>_0x7f8cb6,'offset':collection21.indexes.length,'collection':collection21}
;
collection21.indexes.push(index22);
const collection23_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.UINT],{'prefix':0x17});
function collection23_indexify(_0x5d2d99){
_0x31ef5f={
_0x305707:0xb4,_0x3067b7:0x37,_0x1bd75d:0x9e},_0x5274e8={
_0x16f5c0:0x60e,_0xb74d7c:0x98},_0x5bd1c6=[],_0x4eb784=_0x5d2d99.file?..pointer?..externalBlob?..key;
if(_0x4eb784===undefined)return _0x5bd1c6;
_0x5bd1c6.push(_0x4eb784);
const _0x2533a5=_0x5d2d99.file?..pointer?..externalBlob?..blob?..blockOffset;
if(_0x2533a5===undefined)return _0x5bd1c6;
return _0x5bd1c6.push(_0x2533a5),_0x5bd1c6;
}
const collection23_enc=getEncoding("@local/file/hyperdb#23");
function collection23_reconstruct(_0x2dec8d,_0x453d27,_0x5f3537){
_0x587bdc={
_0x16670b:0xb6},_0x3cd4cb={
_0x1c02f6:0xa1,_0xf40206:0x3c3},_0x3069c6=collection23_key.decode(_0x453d27);
setVersion(_0x2dec8d);
const _0x45c567={
'start':0x0,'end':_0x5f3537.byteLength,'buffer':_0x5f3537},_0x45625a=collection23_enc.decode(_0x45c567);
_0x45625a.file.pointer.externalBlob.key=_0x3069c6[--0x2f06],_0x45625a.file.pointer.externalBlob.blob.blockOffset=_0x3069c6[-0x4413];
return _0x45625a;
}
function collection23_reconstruct_key(_0x33aeee){
const _0x13a130=collection23_key.decode(_0x33aeee);
return{
'file':{
'pointer':{
'externalBlob':{
'blob':{
'blockOffset':_0x13a130[0x1]}
}
}
}
}
;
}
const collection23={
'name':"@local/blob-files",'id':0x17,'version':0x0,'encodeKey'(_0x38d765){
_0x5b69f4={
_0x276c59:0x1e8,_0x17c7ef:0x5cc,_0x1c0c4f:0x46},_0x111565={
_0x8f3b25:0x34,_0x888c2:0x680,_0x48ba33:0x5f}
;
const _0xc76903=[_0x38d765.file.pointer.externalBlob.key,_0x38d765.file.pointer.externalBlob.blob.blockOffset];
return collection23_key.encode(_0xc76903);
},'encodeKeyRange'({gt:_0x2df416,lt:_0x52303d,gte:_0x189e0a,lte:_0x5dd4e3}={}){
_0x127192={
_0x226330:0xca,_0x4c39cb:0x53}
;
return collection23_key.encodeRange({'gt':_0x2df416?collection23_indexify(_0x2df416):null,'lt':_0x52303d?collection23_indexify(_0x52303d):null,'gte':_0x189e0a?collection23_indexify(_0x189e0a):null,'lte':_0x5dd4e3?collection23_indexify(_0x5dd4e3):null});
},'encodeValue'(_0x3cfdec,_0x5e5a97,_0x1faf1b){
_0x576655={
_0x300299:0x4d,_0x16fa23:0x75,_0x5d91ce:0x125},_0x38f5a4={
_0x2f93bc:0xe6,_0x247083:0x74,_0x5edea7:0x7a}
;
setVersion(_0x3cfdec);
const _0x388758={
'start':0x0,'end':0x0,'buffer':null}
;
collection23_enc.preencode(_0x388758,_0x1faf1b);
return _0x388758.buffer=b4a.allocUnsafe(_0x388758.end),collection23_enc.encode(_0x388758,_0x1faf1b),_0x388758.buffer;
},'trigger':null,'reconstruct':collection23_reconstruct,'reconstructKey':collection23_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection24_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.STRING,IndexEncoder.UINT],{'prefix':0x18});
function collection24_indexify(_0x2d0e5d){
_0x2368f0={
_0x4ea30e:0x1f1,_0x1813e1:0x655},_0x1af268={
_0x5bd272:0x12e,_0x398a6a:0x20,_0x13b7ec:0x8a},_0x3fd0dc=[],_0x5bebff=_0x2d0e5d.file?..pointer?..externalDrive?..key;
if(_0x5bebff===undefined)return _0x3fd0dc;
_0x3fd0dc.push(_0x5bebff);
const _0x5db41f=_0x2d0e5d.file?..pointer?..externalDrive?..path;
if(_0x5db41f===undefined)return _0x3fd0dc;
_0x3fd0dc.push(_0x5db41f);
const _0x3f854a=_0x2d0e5d.file?..pointer?..externalDrive?..version;
if(_0x3f854a===undefined)return _0x3fd0dc;
_0x3fd0dc.push(_0x3f854a);
return _0x3fd0dc;
}
const collection24_enc=getEncoding("@local/file/hyperdb#24");
function collection24_reconstruct(_0x48fc4a,_0x4ce8c4,_0x48b3ad){
_0x3ea1bc={
_0x5b1785:0x19},_0x509805={
_0x22e25f:0x36,_0x3c5d57:0x315,_0x709962:0xbb},_0x33eece=collection24_key.decode(_0x4ce8c4);
setVersion(_0x48fc4a);
const _0x671951={
'start':0x0,'end':_0x48b3ad.byteLength,'buffer':_0x48b3ad},_0x2e2324=collection24_enc.decode(_0x671951);
_0x2e2324.file.pointer.externalDrive.key=_0x33eece[0x0],_0x2e2324.file.pointer.externalDrive.path=_0x33eece[-0x4467];
_0x2e2324.file.pointer.externalDrive.version=_0x33eece[--0x2b52];
return _0x2e2324;
}
function collection24_reconstruct_key(_0x3828d7){
_0x3fe588={
_0x40c2d6:0x65d}
;
const _0x853d6c=collection24_key.decode(_0x3828d7);
return{
'file':{
'pointer':{
'externalDrive':{
'version':_0x853d6c[-0x3636]}
}
}
}
;
}
const collection24={
'name':"@local/drive-files",'id':0x18,'version':0x0,'encodeKey'(_0xe153b5){
_0x6fdbd1={
_0x334fd0:0x1e6,_0x2b1ae8:0x23b,_0x30ef87:0x5f},_0xef69f1={
_0x388372:0x28e,_0x34b57b:0x17}
;
const _0x3e9360=[_0xe153b5.file.pointer.externalDrive.key,_0xe153b5.file.pointer.externalDrive.path,_0xe153b5.file.pointer.externalDrive.version];
return collection24_key.encode(_0x3e9360);
},'encodeKeyRange'({gt:_0x33e48c,lt:_0x24eeda,gte:_0x5f4516,lte:_0x1a29c9}={}){
_0x220996={
_0x135a4e:0xe7,_0x22c02f:0x14d,_0x4d485b:0x11}
;
return collection24_key.encodeRange({'gt':_0x33e48c?collection24_indexify(_0x33e48c):null,'lt':_0x24eeda?collection24_indexify(_0x24eeda):null,'gte':_0x5f4516?collection24_indexify(_0x5f4516):null,'lte':_0x1a29c9?collection24_indexify(_0x1a29c9):null});
},'encodeValue'(_0x9f142a,_0x12806a,_0x16514c){
_0x1f6409={
_0x4f01f7:0x2,_0x984326:0x92,_0x280200:0x19f},_0x4ab347={
_0x15a560:0x4e5,_0xd856ae:0x1dd}
;
setVersion(_0x9f142a);
const _0x49487f={
'start':0x0,'end':0x0,'buffer':null}
;
collection24_enc.preencode(_0x49487f,_0x16514c),_0x49487f.buffer=b4a.allocUnsafe(_0x49487f.end);
return collection24_enc.encode(_0x49487f,_0x16514c),_0x49487f.buffer;
},'trigger':null,'reconstruct':collection24_reconstruct,'reconstructKey':collection24_reconstruct_key,'indexes':[],'decodedVersion':0x0},index25_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER,IndexEncoder.UINT],{'prefix':0x19});
function index25_indexify(_0x4600ab){
_0x406e1a={
_0x410388:0x1aa},_0x551bcd={
_0x531a29:0xbd},_0x5168b2=[],_0x84984e=_0x4600ab.roomKey;
if(_0x84984e===undefined)return _0x5168b2;
_0x5168b2.push(_0x84984e);
const _0xb3f7b9=_0x4600ab.file?..pointer?..externalBlob?..key;
if(_0xb3f7b9===undefined)return _0x5168b2;
_0x5168b2.push(_0xb3f7b9);
const _0x3d907d=_0x4600ab.file?..pointer?..externalBlob?..blob?..blockOffset;
if(_0x3d907d===undefined)return _0x5168b2;
return _0x5168b2.push(_0x3d907d),_0x5168b2;
}
const index25={
'name':"@local/blob-files-by-room",'version':0x0,'id':0x19,'encodeKey'(_0x5057e9){
return index25_key.encode(index25_indexify(_0x5057e9));
},'encodeKeyRange'({gt:_0x46ec52,lt:_0x550316,gte:_0x357efa,lte:_0x966b49}={}){
_0x1dbdec={
_0x26cb63:0x117,_0x4d5cad:0x97}
;
return index25_key.encodeRange({'gt':_0x46ec52?index25_indexify(_0x46ec52):null,'lt':_0x550316?index25_indexify(_0x550316):null,'gte':_0x357efa?index25_indexify(_0x357efa):null,'lte':_0x966b49?index25_indexify(_0x966b49):null});
},'encodeValue':_0x1764f8=>index25.collection.encodeKey(_0x1764f8),'encodeIndexKeys'(_0x1d256e,_0x29f01f){
_0x111319={
_0x5b722e:0x136},_0x3d2be2={
_0x25dfef:0x21,_0x5745aa:0x37f,_0x2fc9f2:0x18e}
;
return[index25_key.encode([_0x1d256e.roomKey,_0x1d256e.file.pointer.externalBlob.key,_0x1d256e.file.pointer.externalBlob.blob.blockOffset])];
},'reconstruct':(_0x21fd0e,_0x369034)=>_0x369034,'offset':collection23.indexes.length,'collection':collection23}
;
collection23.indexes.push(index25);
const index26_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER,IndexEncoder.STRING,IndexEncoder.UINT],{'prefix':0x1a});
function index26_indexify(_0x438d87){
_0x4c4a34={
_0x47a734:0x1e5,_0x52a5fd:0x230,_0x40054f:0x53},_0x8cc7d4={
_0x653ba2:0x23,_0x4971c2:0x278,_0x58416a:0x72},_0x20e0fd=[],_0x4c7d2c=_0x438d87.roomKey;
if(_0x4c7d2c===undefined)return _0x20e0fd;
_0x20e0fd.push(_0x4c7d2c);
const _0x4e2bd6=_0x438d87.file?..pointer?..externalDrive?..key;
if(_0x4e2bd6===undefined)return _0x20e0fd;
_0x20e0fd.push(_0x4e2bd6);
const _0x301f7b=_0x438d87.file?..pointer?..externalDrive?..path;
if(_0x301f7b===undefined)return _0x20e0fd;
_0x20e0fd.push(_0x301f7b);
const _0x34b3f7=_0x438d87.file?..pointer?..externalDrive?..version;
if(_0x34b3f7===undefined)return _0x20e0fd;
_0x20e0fd.push(_0x34b3f7);
return _0x20e0fd;
}
const index26={
'name':"@local/drive-files-by-room",'version':0x0,'id':0x1a,'encodeKey'(_0x273bf9){
_0x5869c6={
_0x9625a6:0x9,_0x7bc667:0x497}
;
return index26_key.encode(index26_indexify(_0x273bf9));
},'encodeKeyRange'({gt:_0x4280fc,lt:_0xff5b3c,gte:_0x563e80,lte:_0x3c6918}={}){
return index26_key.encodeRange({'gt':_0x4280fc?index26_indexify(_0x4280fc):null,'lt':_0xff5b3c?index26_indexify(_0xff5b3c):null,'gte':_0x563e80?index26_indexify(_0x563e80):null,'lte':_0x3c6918?index26_indexify(_0x3c6918):null});
},'encodeValue':_0x2224cb=>index26.collection.encodeKey(_0x2224cb),'encodeIndexKeys'(_0x51ffe3,_0x519e42){
_0x4746c3={
_0x409d3f:0x456,_0x3a7628:0x15e},_0x41b7e2={
_0x239b88:0xeb}
;
return[index26_key.encode([_0x51ffe3.roomKey,_0x51ffe3.file.pointer.externalDrive.key,_0x51ffe3.file.pointer.externalDrive.path,_0x51ffe3.file.pointer.externalDrive.version])];
},'reconstruct':(_0x332bf7,_0x242b24)=>_0x242b24,'offset':collection24.indexes.length,'collection':collection24}
;
collection24.indexes.push(index26);
const collection27_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x1b});
function collection27_indexify(_0x87cf38){
_0x39dece={
_0x45537b:0xb6,_0x1b232d:0xdd,_0x108ea7:0x1c5},_0x5f3177=_0x87cf38.discoveryPublicKey;
return _0x5f3177===undefined?[]:[_0x5f3177];
}
const collection27_enc=getEncoding("@local/background-sync-room/hyperdb#27");
function collection27_reconstruct(_0x4f686d,_0x267705,_0x389778){
_0x4f7689={
_0xdd88f3:0xf7,_0x2b82d3:0x2eb,_0x55b0a7:0x117},_0x83afb7={
_0x2fd2d2:0x1ab,_0x4a2980:0x4d1,_0xe1805e:0xc2},_0x57979=collection27_key.decode(_0x267705);
setVersion(_0x4f686d);
const _0x106f7e={
'start':0x0,'end':_0x389778.byteLength,'buffer':_0x389778},_0x37b903=collection27_enc.decode(_0x106f7e);
return _0x37b903.discoveryPublicKey=_0x57979[-0xad0],_0x37b903;
}
function collection27_reconstruct_key(_0x23ed3a){
_0xadb194={
_0x55a116:0x3f,_0x3c554c:0x2dc}
;
const _0x4b75ee=collection27_key.decode(_0x23ed3a);
return{
'discoveryPublicKey':_0x4b75ee[-0xbca]}
;
}
const collection27={
'name':"@local/background-sync",'id':0x1b,'version':0x0,'encodeKey'(_0x32ca78){
_0x1463ad={
_0x5eeef5:0x6b,_0x512735:0x8f,_0x18ebb7:0x1c5},_0x5a3c0e=[_0x32ca78.discoveryPublicKey];
return collection27_key.encode(_0x5a3c0e);
},'encodeKeyRange'({gt:_0x21d689,lt:_0x31f694,gte:_0x5ac8ba,lte:_0x347d65}={}){
_0x55b6e8={
_0x6e7e52:0x7f,_0x169191:0x18c}
;
return collection27_key.encodeRange({'gt':_0x21d689?collection27_indexify(_0x21d689):null,'lt':_0x31f694?collection27_indexify(_0x31f694):null,'gte':_0x5ac8ba?collection27_indexify(_0x5ac8ba):null,'lte':_0x347d65?collection27_indexify(_0x347d65):null});
},'encodeValue'(_0x23565f,_0x10e1cc,_0xe6c6be){
_0x55c916={
_0x53bd4c:0x2bd,_0x15d425:0xb4},_0x437aaa={
_0x1f2f8f:0x1ea}
;
setVersion(_0x23565f);
const _0x36d06f={
'start':0x0,'end':0x0,'buffer':null}
;
return collection27_enc.preencode(_0x36d06f,_0xe6c6be),_0x36d06f.buffer=b4a.allocUnsafe(_0x36d06f.end),collection27_enc.encode(_0x36d06f,_0xe6c6be),_0x36d06f.buffer;
},'trigger':null,'reconstruct':collection27_reconstruct,'reconstructKey':collection27_reconstruct_key,'indexes':[],'decodedVersion':0x0},index28_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x1c}),index28_map=helpers0.dirtyByTimestampMap;
function index28_indexify(_0xfebf3e){
_0x237da7={
_0xb1d7cd:0x78,_0x437161:0x1f3}
;
const _0x348740=_0xfebf3e.timestamp;
return _0x348740===undefined?[]:[_0x348740];
}
const index28={
'name':"@local/background-sync-by-dirty",'version':0x0,'id':0x1c,'encodeKey'(_0x15e13f){
_0x24cea4={
_0x1b1844:0x12,_0x476513:0x2ee,_0x5afc6d:0x1ef}
;
return index28_key.encode(index28_indexify(_0x15e13f));
},'encodeKeyRange'({gt:_0xc00800,lt:_0x543029,gte:_0x4a973f,lte:_0x568738}={}){
_0x17f307={
_0x117a3f:0x4fb}
;
return index28_key.encodeRange({'gt':_0xc00800?index28_indexify(_0xc00800):null,'lt':_0x543029?index28_indexify(_0x543029):null,'gte':_0x4a973f?index28_indexify(_0x4a973f):null,'lte':_0x568738?index28_indexify(_0x568738):null});
},'encodeValue':_0x4683f3=>index28.collection.encodeKey(_0x4683f3),'encodeIndexKeys'(_0x5f6f6,_0x3d4831){
_0x3419f0={
_0x298746:0x6a,_0x4a6edc:0xcd},_0x487b18={
_0x20e631:0xb5,_0x5a01c6:0xf9},_0x4b8b5f=index28_map(_0x5f6f6,_0x3d4831),_0x436082=new Array(_0x4b8b5f.length);
for(let _0x34a47a=0x0;_0x34a47a<_0x4b8b5f.length;_0x34a47a++){
const _0x59a058=_0x4b8b5f[_0x34a47a];
_0x436082[_0x34a47a]=index28_key.encode([_0x59a058.timestamp,_0x5f6f6.discoveryPublicKey]);
}
return _0x436082;
},'reconstruct':(_0x15f46a,_0x1acadd)=>_0x1acadd,'offset':collection27.indexes.length,'collection':collection27}
;
collection27.indexes.push(index28);
const collection29_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x1d});
function collection29_indexify(_0xf3fd9f){
_0x561106={
_0x15f711:0x7c,_0x5d8664:0x1ee,_0x1d85f1:0x9e},_0x6836cd={
_0x2d3d7d:0x14,_0x4ae704:0x77,_0x38cccb:0x55},_0x5d2bd0=[];
const _0x4bac9b=_0xf3fd9f.key;
if(_0x4bac9b===undefined)return _0x5d2bd0;
_0x5d2bd0.push(_0x4bac9b);
const _0x4c4342=_0xf3fd9f.responsePublicKey;
if(_0x4c4342===undefined)return _0x5d2bd0;
return _0x5d2bd0.push(_0x4c4342),_0x5d2bd0;
}
const collection29_enc=getEncoding("@local/writer-append/hyperdb#29");
function collection29_reconstruct(_0x497556,_0x45cf24,_0xf197fe){
_0x528534={
_0x3f5bee:0x68,_0x31c522:0x7e,_0x4e02ca:0xc2},_0x205dd6={
_0x54d633:0x180,_0x1f4174:0xdc,_0x2be1fa:0x13d},_0x33d2d1=collection29_key.decode(_0x45cf24);
setVersion(_0x497556);
const _0x35f6f9={
'start':0x0,'end':_0xf197fe.byteLength,'buffer':_0xf197fe},_0x201a27=collection29_enc.decode(_0x35f6f9);
return _0x201a27.key=_0x33d2d1[0x0],_0x201a27.responsePublicKey=_0x33d2d1[-0x4437],_0x201a27;
}
function collection29_reconstruct_key(_0x2db94a){
const _0x49fed3=collection29_key.decode(_0x2db94a);
return{
'key':_0x49fed3[0x0],'responsePublicKey':_0x49fed3[0x1]}
;
}
const collection29={
'name':"@local/writer-appends",'id':0x1d,'version':0x0,'encodeKey'(_0x15315e){
_0x3611f6={
_0x2e95b6:0xea,_0x35ac24:0x1a6,_0x7bb5a5:0x168},_0x505e6a={
_0x4337d9:0x289},_0x8b5efb=[_0x15315e.key,_0x15315e.responsePublicKey];
return collection29_key.encode(_0x8b5efb);
},'encodeKeyRange'({gt:_0xe1e8d1,lt:_0x38d363,gte:_0x161f65,lte:_0x16c526}={}){
return collection29_key.encodeRange({'gt':_0xe1e8d1?collection29_indexify(_0xe1e8d1):null,'lt':_0x38d363?collection29_indexify(_0x38d363):null,'gte':_0x161f65?collection29_indexify(_0x161f65):null,'lte':_0x16c526?collection29_indexify(_0x16c526):null});
},'encodeValue'(_0x2e6d27,_0x299d16,_0x5348d8){
_0x1cf00c={
_0x126bc7:0x1e1,_0x219ccb:0x1f2,_0x2ae835:0x14d},_0x572173={
_0x38f0c7:0x105,_0x4bac93:0x203,_0x5b94e7:0x115}
;
setVersion(_0x2e6d27);
const _0x3f221f={
'start':0x0,'end':0x0,'buffer':null}
;
collection29_enc.preencode(_0x3f221f,_0x5348d8),_0x3f221f.buffer=b4a.allocUnsafe(_0x3f221f.end);
return collection29_enc.encode(_0x3f221f,_0x5348d8),_0x3f221f.buffer;
},'trigger':null,'reconstruct':collection29_reconstruct,'reconstructKey':collection29_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection30_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x1e});
function collection30_indexify(_0x47c7a6){
_0x3e717d={
_0x13a57b:0xec,_0x3e99f9:0x5b7}
;
const _0x418a13=_0x47c7a6.roomKey;
return _0x418a13===undefined?[]:[_0x418a13];
}
const collection30_enc=getEncoding("@local/room-metadata/hyperdb#30");
function collection30_reconstruct(_0x36ab95,_0x4395d6,_0x5216d7){
_0x5d2f76={
_0x31d4fc:0x9,_0x1c2945:0x472,_0x1abf14:0x103},_0x56a54c={
_0x30975a:0x11c,_0x4990b9:0x195,_0x136b7c:0xdf},_0x14dca8=collection30_key.decode(_0x4395d6);
setVersion(_0x36ab95);
const _0x5efcf8={
'start':0x0,'end':_0x5216d7.byteLength,'buffer':_0x5216d7},_0x1ca919=collection30_enc.decode(_0x5efcf8);
_0x1ca919.roomKey=_0x14dca8[0x0];
return _0x1ca919;
}
function collection30_reconstruct_key(_0x4f98c0){
const _0x535ecf=collection30_key.decode(_0x4f98c0);
return{
'roomKey':_0x535ecf[-0x906]}
;
}
const collection30={
'name':"@local/room-metadata",'id':0x1e,'version':0x0,'encodeKey'(_0x379151){
_0x4c1d7e={
_0x2e10ba:0x95},_0x2c5e81={
_0x4c3fc7:0x12d,_0x3d27d7:0xc4,_0x421076:0xbc},_0x16d653=[_0x379151.roomKey];
return collection30_key.encode(_0x16d653);
},'encodeKeyRange'({gt:_0x245a0b,lt:_0x521bb4,gte:_0xd99b0f,lte:_0x485b83}={}){
_0x43d146={
_0x4b0aad:0x110,_0x55a6fa:0xc,_0x14934e:0xf2}
;
return collection30_key.encodeRange({'gt':_0x245a0b?collection30_indexify(_0x245a0b):null,'lt':_0x521bb4?collection30_indexify(_0x521bb4):null,'gte':_0xd99b0f?collection30_indexify(_0xd99b0f):null,'lte':_0x485b83?collection30_indexify(_0x485b83):null});
},'encodeValue'(_0x3ac2a5,_0x4f3e76,_0x1d829f){
_0x5a2b84={
_0x34379d:0x40a},_0x29f0fa={
_0x2196ad:0xc4,_0x28ca57:0x31f,_0x535d5a:0x71}
;
setVersion(_0x3ac2a5);
const _0x5a32c8={
'start':0x0,'end':0x0,'buffer':null}
;
collection30_enc.preencode(_0x5a32c8,_0x1d829f);
return _0x5a32c8.buffer=b4a.allocUnsafe(_0x5a32c8.end),collection30_enc.encode(_0x5a32c8,_0x1d829f),_0x5a32c8.buffer;
},'trigger':null,'reconstruct':collection30_reconstruct,'reconstructKey':collection30_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection31_key=new IndexEncoder([],{'prefix':0x1f});
function collection31_indexify(_0xa4fa86){
return[];
}
const collection31_enc=getEncoding("@local/debug");
function collection31_reconstruct(_0x230473,_0x3d4e74,_0x271cec){
_0x31da4e={
_0x48e2a9:0xb5,_0x35d50e:0x1b2,_0x91f2b3:0xf7}
;
setVersion(_0x230473);
const _0x2d7ca7={
'start':0x0,'end':_0x271cec.byteLength,'buffer':_0x271cec},_0x4fbf80=collection31_enc.decode(_0x2d7ca7);
return _0x4fbf80;
}
function collection31_reconstruct_key(_0x9d0246){
return{
}
;
}
const collection31={
'name':"@local/debug",'id':0x1f,'version':0x0,'encodeKey'(_0x5471ed){
_0x44302e={
_0x565290:0x10b,_0x63595d:0x472,_0x387906:0x1de}
;
const _0x4be551=[];
return collection31_key.encode(_0x4be551);
},'encodeKeyRange'({gt:_0x2bbe2a,lt:_0x1d01e7,gte:_0x34e211,lte:_0x50eb}={}){
return collection31_key.encodeRange({'gt':_0x2bbe2a?collection31_indexify(_0x2bbe2a):null,'lt':_0x1d01e7?collection31_indexify(_0x1d01e7):null,'gte':_0x34e211?collection31_indexify(_0x34e211):null,'lte':_0x50eb?collection31_indexify(_0x50eb):null});
},'encodeValue'(_0xc49fcc,_0x32d67f,_0x2958cd){
_0x5ea3b2={
_0x380c59:0x8b,_0x2bd833:0x124,_0x9ebe1c:0x2e},_0x217995={
_0x3b93ef:0xbc,_0x21f2a9:0x4da,_0x299173:0xdf}
;
setVersion(_0xc49fcc);
const _0x1271df={
'start':0x0,'end':0x0,'buffer':null}
;
collection31_enc.preencode(_0x1271df,_0x2958cd),_0x1271df.buffer=b4a.allocUnsafe(_0x1271df.end),collection31_enc.encode(_0x1271df,_0x2958cd);
return _0x1271df.buffer;
},'trigger':null,'reconstruct':collection31_reconstruct,'reconstructKey':collection31_reconstruct_key,'indexes':[],'decodedVersion':0x0},index32_key=new IndexEncoder([IndexEncoder.BUFFER,IndexEncoder.BUFFER],{'prefix':0x20}),index32_map=helpers0.roomsByContactMap;
function index32_indexify(_0x4ee3bb){
_0x1994c2={
_0x1432a9:0xe4}
;
const _0x1c10c7=_0x4ee3bb.contact;
return _0x1c10c7===undefined?[]:[_0x1c10c7];
}
const index32={
'name':"@local/rooms-by-contact",'version':0x1,'id':0x20,'encodeKey'(_0x22e663){
_0x5798e8={
_0x52ba6f:0x4e,_0x164ef7:0x314,_0xeef74a:0x53}
;
return index32_key.encode(index32_indexify(_0x22e663));
},'encodeKeyRange'({gt:_0x2c8aba,lt:_0x58c7a2,gte:_0x38570e,lte:_0x151371}={}){
_0x4eedf7={
_0x1bd8f0:0xb3,_0x592cdd:0x1a7,_0x27ca47:0x144}
;
return index32_key.encodeRange({'gt':_0x2c8aba?index32_indexify(_0x2c8aba):null,'lt':_0x58c7a2?index32_indexify(_0x58c7a2):null,'gte':_0x38570e?index32_indexify(_0x38570e):null,'lte':_0x151371?index32_indexify(_0x151371):null});
},'encodeValue':_0x41e8c0=>index32.collection.encodeKey(_0x41e8c0),'encodeIndexKeys'(_0x17ce4f,_0xab15b6){
_0x424656={
_0x22d21b:0x1d6,_0x248b6f:0x323,_0x14d0ad:0x5},_0x4ee449={
_0x30e809:0x527},_0xe2f5f6=index32_map(_0x17ce4f,_0xab15b6);
const _0x4263bc=new Array(_0xe2f5f6.length);
for(let _0x3999c8=0x0;_0x3999c8<_0xe2f5f6.length;_0x3999c8++){
const _0x3cb387=_0xe2f5f6[_0x3999c8];
_0x4263bc[_0x3999c8]=index32_key.encode([_0x3cb387.contact,_0x17ce4f.roomKey]);
}
return _0x4263bc;
},'reconstruct':(_0x30b287,_0x3be4c8)=>_0x3be4c8,'offset':collection6.indexes.length,'collection':collection6}
;
collection6.indexes.push(index32);
const collection33_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x21});
function collection33_indexify(_0x18c1a7){
_0x1f5263={
_0x421e74:0x1e2,_0x498b7a:0xa5},_0x19e466=_0x18c1a7.roomKey;
return _0x19e466===undefined?[]:[_0x19e466];
}
const collection33_enc=getEncoding("@local/unread/hyperdb#33");
function collection33_reconstruct(_0x27bf07,_0x4195e3,_0x5b5eda){
_0x3893eb={
_0x3959aa:0x1e7,_0x4263e0:0x4c3,_0x4d1013:0x57},_0x12add2={
_0x1302a6:0x14,_0x2d372d:0x5c6,_0x2d5048:0x5d}
;
const _0x49af06=collection33_key.decode(_0x4195e3);
setVersion(_0x27bf07);
const _0xfd73bb={
'start':0x0,'end':_0x5b5eda.byteLength,'buffer':_0x5b5eda},_0x369ef2=collection33_enc.decode(_0xfd73bb);
return _0x369ef2.roomKey=_0x49af06[-0x4434],_0x369ef2;
}
function collection33_reconstruct_key(_0x3721d9){
_0x19eef7={
_0x334992:0x411},_0xbe7363=collection33_key.decode(_0x3721d9);
return{
'roomKey':_0xbe7363[-0x4e4]}
;
}
const collection33={
'name':"@local/unreads",'id':0x21,'version':0x0,'encodeKey'(_0x4c01fe){
_0x12e503={
_0x159adb:0x1ac,_0x2b6ed6:0x1e5},_0x2b7807={
_0x55243d:0x1b4,_0x4b32be:0x33c}
;
const _0x4f747f=[_0x4c01fe.roomKey];
return collection33_key.encode(_0x4f747f);
},'encodeKeyRange'({gt:_0x167c59,lt:_0x4c32f2,gte:_0x57aeef,lte:_0x3a8498}={}){
_0x557b5a={
_0x30c165:0x98,_0x4ce5ca:0x32c,_0xed92c4:0xda}
;
return collection33_key.encodeRange({'gt':_0x167c59?collection33_indexify(_0x167c59):null,'lt':_0x4c32f2?collection33_indexify(_0x4c32f2):null,'gte':_0x57aeef?collection33_indexify(_0x57aeef):null,'lte':_0x3a8498?collection33_indexify(_0x3a8498):null});
},'encodeValue'(_0x396808,_0x31fb91,_0x328cbf){
_0x4c7598={
_0x37abfe:0x92,_0x270168:0x145},_0x4a2652={
_0xecbaac:0x3b,_0x1b56b5:0x24,_0x214d66:0x164}
;
setVersion(_0x396808);
const _0x42495b={
'start':0x0,'end':0x0,'buffer':null}
;
collection33_enc.preencode(_0x42495b,_0x328cbf);
_0x42495b.buffer=b4a.allocUnsafe(_0x42495b.end);
return collection33_enc.encode(_0x42495b,_0x328cbf),_0x42495b.buffer;
},'trigger':null,'reconstruct':collection33_reconstruct,'reconstructKey':collection33_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection34_key=new IndexEncoder([],{'prefix':0x22});
function collection34_indexify(_0x5d1daf){
return[];
}
const collection34_enc=getEncoding("@local/hyperdht-record");
function collection34_reconstruct(_0x110c59,_0x769c92,_0x91a857){
_0x10ef52={
_0x2671c3:0x8,_0x1bb09b:0x50c}
;
setVersion(_0x110c59);
const _0x4a0ae0={
'start':0x0,'end':_0x91a857.byteLength,'buffer':_0x91a857},_0x23efb6=collection34_enc.decode(_0x4a0ae0);
return _0x23efb6;
}
function collection34_reconstruct_key(_0x20b778){
return{
}
;
}
const collection34={
'name':"@local/hyperdht",'id':0x22,'version':0x0,'encodeKey'(_0x3b8544){
_0x2af453={
_0x322cc2:0x90,_0x5c0af6:0xde}
;
const _0x2f2f4c=[];
return collection34_key.encode(_0x2f2f4c);
},'encodeKeyRange'({gt:_0x22433c,lt:_0x3188c2,gte:_0xadd8b7,lte:_0x249c1e}={}){
_0x175d23={
_0x11bfad:0x68,_0x439d5f:0xaa}
;
return collection34_key.encodeRange({'gt':_0x22433c?collection34_indexify(_0x22433c):null,'lt':_0x3188c2?collection34_indexify(_0x3188c2):null,'gte':_0xadd8b7?collection34_indexify(_0xadd8b7):null,'lte':_0x249c1e?collection34_indexify(_0x249c1e):null});
},'encodeValue'(_0x5d68b4,_0x221059,_0x37b709){
_0x3b8440={
_0x232064:0x54e,_0x45497c:0x1de},_0x4fe411={
_0xdb94c:0x35,_0x342981:0x19a}
;
setVersion(_0x5d68b4);
const _0x55d691={
'start':0x0,'end':0x0,'buffer':null}
;
collection34_enc.preencode(_0x55d691,_0x37b709),_0x55d691.buffer=b4a.allocUnsafe(_0x55d691.end),collection34_enc.encode(_0x55d691,_0x37b709);
return _0x55d691.buffer;
},'trigger':null,'reconstruct':collection34_reconstruct,'reconstructKey':collection34_reconstruct_key,'indexes':[],'decodedVersion':0x0},collection35_key=new IndexEncoder([IndexEncoder.UINT],{'prefix':0x23});
function collection35_indexify(_0x3c926b){
_0x33824c={
_0x45d68d:0xf,_0x2831eb:0x155,_0x4b9864:0x11},_0x17836e=_0x3c926b.timestamp;
return _0x17836e===undefined?[]:[_0x17836e];
}
const collection35_enc=getEncoding("@local/error-record/hyperdb#35");
function collection35_reconstruct(_0x44aa7c,_0x464eab,_0x311021){
_0x4a55ed={
_0x45203c:0x1e6,_0xb71d2c:0x62e},_0x1e23fd={
_0x546436:0x358,_0x3d8335:0x44},_0x7a02d=collection35_key.decode(_0x464eab);
setVersion(_0x44aa7c);
const _0x5e05dd={
'start':0x0,'end':_0x311021.byteLength,'buffer':_0x311021}
;
const _0x4f959e=collection35_enc.decode(_0x5e05dd);
_0x4f959e.timestamp=_0x7a02d[0x0];
return _0x4f959e;
}
function collection35_reconstruct_key(_0x2e9438){
_0x59eddd={
_0x163236:0x72,_0x5e93e6:0x167},_0x44705c=collection35_key.decode(_0x2e9438);
return{
'timestamp':_0x44705c[-0x13bc]}
;
}
const collection35={
'name':"@local/errors",'id':0x23,'version':0x0,'encodeKey'(_0x3fd92b){
_0x2bb897={
_0x313837:0xc6,_0xb41434:0x6e,_0x8997de:0x182},_0xeb17e0={
_0x142bf8:0x180,_0x1d18d0:0x67e,_0x108810:0x61},_0x1469a3=[_0x3fd92b.timestamp];
return collection35_key.encode(_0x1469a3);
},'encodeKeyRange'({gt:_0x26c03b,lt:_0x38d6e8,gte:_0x4a1172,lte:_0x318bb3}={}){
_0x399a4c={
_0x439139:0x315,_0xdcb3c6:0x182}
;
return collection35_key.encodeRange({'gt':_0x26c03b?collection35_indexify(_0x26c03b):null,'lt':_0x38d6e8?collection35_indexify(_0x38d6e8):null,'gte':_0x4a1172?collection35_indexify(_0x4a1172):null,'lte':_0x318bb3?collection35_indexify(_0x318bb3):null});
},'encodeValue'(_0x9d01c6,_0x246163,_0x1ac708){
_0x4a4894={
_0x5e31e0:0x149,_0x23d954:0x4b9,_0x1f3c22:0x1c4}
;
setVersion(_0x9d01c6);
const _0x26ade3={
'start':0x0,'end':0x0,'buffer':null}
;
collection35_enc.preencode(_0x26ade3,_0x1ac708),_0x26ade3.buffer=b4a.allocUnsafe(_0x26ade3.end);
return collection35_enc.encode(_0x26ade3,_0x1ac708),_0x26ade3.buffer;
},'trigger':null,'reconstruct':collection35_reconstruct,'reconstructKey':collection35_reconstruct_key,'indexes':[],'decodedVersion':0x0},index36_key=new IndexEncoder([IndexEncoder.STRING,IndexEncoder.UINT],{'prefix':0x24});
function index36_indexify(_0x529097){
_0x5f16ea={
_0x183c71:0x91,_0x2fcd30:0x3},_0x231ac7={
_0x372caa:0xbc,_0x1b6f24:0x2b}
;
const _0x107639=[],_0x728879=_0x529097.code;
if(_0x728879===undefined)return _0x107639;
_0x107639.push(_0x728879);
const _0x45f50e=_0x529097.timestamp;
if(_0x45f50e===undefined)return _0x107639;
return _0x107639.push(_0x45f50e),_0x107639;
}
const index36={
'name':"@local/errors-by-code",'version':0x0,'id':0x24,'encodeKey'(_0x3bf54b){
_0x3101bf={
_0x34f314:0x512,_0x4fad29:0xbb}
;
return index36_key.encode(index36_indexify(_0x3bf54b));
},'encodeKeyRange'({gt:_0x496e43,lt:_0x568ab0,gte:_0x243d80,lte:_0x32a2f4}={}){
_0xa24af6={
_0x4052aa:0x1af,_0x590f8d:0x2e9,_0x44b12b:0x10d}
;
return index36_key.encodeRange({'gt':_0x496e43?index36_indexify(_0x496e43):null,'lt':_0x568ab0?index36_indexify(_0x568ab0):null,'gte':_0x243d80?index36_indexify(_0x243d80):null,'lte':_0x32a2f4?index36_indexify(_0x32a2f4):null});
},'encodeValue':_0x33dbaf=>index36.collection.encodeKey(_0x33dbaf),'encodeIndexKeys'(_0x53ecc4,_0x181e27){
_0x4993b3={
_0x44b9a0:0x34,_0x4c0cb3:0x49a},_0x53b5ff={
_0x501ccc:0x14e,_0x59d831:0x1b3}
;
return[index36_key.encode([_0x53ecc4.code,_0x53ecc4.timestamp])];
},'reconstruct':(_0x4454a4,_0x5eac8c)=>_0x5eac8c,'offset':collection35.indexes.length,'collection':collection35}
;
collection35.indexes.push(index36);
const collection37_key=new IndexEncoder([IndexEncoder.BUFFER],{'prefix':0x25});
function collection37_indexify(_0x58bbe2){
_0x23f814={
_0x1c4ce4:0xe9,_0x451ddb:0x1e6}
;
const _0x569ddc=_0x58bbe2.roomKey;
return _0x569ddc===undefined?[]:[_0x569ddc];
}
const collection37_enc=getEncoding("@local/file-stats/hyperdb#37");
function collection37_reconstruct(_0x30be19,_0x2f2000,_0xf924e6){
_0x31110f={
_0x273bae:0x1a6,_0x13d9ec:0x2f1,_0x4c2b86:0x176},_0x2b7f0d={
_0x24e0f8:0x184,_0x525807:0xd6,_0x24a53a:0x160},_0x5e1ae2=collection37_key.decode(_0x2f2000);
setVersion(_0x30be19);
const _0x195bea={
'start':0x0,'end':_0xf924e6.byteLength,'buffer':_0xf924e6}
;
const _0x4f0b6d=c.uint.decode(_0x195bea);
if(_0x4f0b6d!==-0x46a2)throw new Error("Unknown collection type:\x20"+_0x4f0b6d);
collection37.decodedVersion=c.uint.decode(_0x195bea);
const _0x2d3ce0=collection37_enc.decode(_0x195bea);
return _0x2d3ce0.roomKey=_0x5e1ae2[-0xb2a],_0x2d3ce0;
}
function collection37_reconstruct_key(_0x36c7a6){
const _0x3a29c8=collection37_key.decode(_0x36c7a6);
return{
'roomKey':_0x3a29c8[-0x249c]}
;
}
const collection37={
'name':"@local/file-stats",'id':0x25,'version':0x2,'encodeKey'(_0x59692c){
_0x20e6b7={
_0x47abe8:0x189,_0x213e3a:0x197},_0x1d6def={
_0x277275:0x10b}
;
const _0x43a278=[_0x59692c.roomKey];
return collection37_key.encode(_0x43a278);
},'encodeKeyRange'({gt:_0x5e4130,lt:_0x145532,gte:_0x1f170e,lte:_0x1659a1}={}){
_0x3a7bb1={
_0x5630c2:0x10e,_0xa8d72d:0x1d}
;
return collection37_key.encodeRange({'gt':_0x5e4130?collection37_indexify(_0x5e4130):null,'lt':_0x145532?collection37_indexify(_0x145532):null,'gte':_0x1f170e?collection37_indexify(_0x1f170e):null,'lte':_0x1659a1?collection37_indexify(_0x1659a1):null});
},'encodeValue'(_0x27f1a4,_0x3e2d62,_0x6c3067){
_0x4056ec={
_0x4a76e1:0xcf,_0xccfc43:0x5a2},_0x4b4231={
_0x22631f:0x2d,_0x3ceb03:0xcb,_0xe335dc:0x12c}
;
setVersion(_0x27f1a4);
const _0x5d6c24={
'start':0x0,'end':0x2,'buffer':null}
;
collection37_enc.preencode(_0x5d6c24,_0x6c3067),_0x5d6c24.buffer=b4a.allocUnsafe(_0x5d6c24.end),_0x5d6c24.buffer[_0x5d6c24.start++]=-0x3072;
_0x5d6c24.buffer[_0x5d6c24.start++]=_0x3e2d62,collection37_enc.encode(_0x5d6c24,_0x6c3067);
return _0x5d6c24.buffer;
},'trigger':null,'reconstruct':collection37_reconstruct,'reconstructKey':collection37_reconstruct_key,'indexes':[],'decodedVersion':0x0},index38_key=new IndexEncoder([IndexEncoder.UINT,IndexEncoder.BUFFER],{'prefix':0x26}),index38_map=helpers0.roomsByFavoriteAndTimestampMap;
function index38_indexify(_0x37675f){
_0x13c5a3={
_0x30c3d4:0x11a},_0x3b102f=_0x37675f.timestamp;
return _0x3b102f===undefined?[]:[_0x3b102f];
}
const index38={
'name':"@local/rooms-by-favorite-and-timestamp",'version':0x3,'id':0x26,'encodeKey'(_0x41ef95){
_0x8fdf98={
_0x1b6272:0x174,_0x3435f4:0x49}
;
return index38_key.encode(index38_indexify(_0x41ef95));
},'encodeKeyRange'({gt:_0xd955d8,lt:_0x107153,gte:_0x469117,lte:_0xaba799}={}){
_0x505241={
_0x2fe388:0x2,_0x96285:0xd4}
;
return index38_key.encodeRange({'gt':_0xd955d8?index38_indexify(_0xd955d8):null,'lt':_0x107153?index38_indexify(_0x107153):null,'gte':_0x469117?index38_indexify(_0x469117):null,'lte':_0xaba799?index38_indexify(_0xaba799):null});
},'encodeValue':_0x2b838f=>index38.collection.encodeKey(_0x2b838f),'encodeIndexKeys'(_0x27b664,_0x50790a){
_0x116e26={
_0x53b66d:0x6c,_0xfe41d8:0x3f},_0x415813={
_0x3f550a:0x43,_0x36f310:0x4da,_0x4fb163:0xd3},_0x1af6fd=index38_map(_0x27b664,_0x50790a);
const _0x12d878=new Array(_0x1af6fd.length);
for(let _0x556ad1=0x0;_0x556ad1<_0x1af6fd.length;_0x556ad1++){
const _0x3717c2=_0x1af6fd[_0x556ad1];
_0x12d878[_0x556ad1]=index38_key.encode([_0x3717c2.timestamp,_0x27b664.roomKey]);
}
return _0x12d878;
},'reconstruct':(_0x462345,_0x4375ce)=>_0x4375ce,'offset':collection6.indexes.length,'collection':collection6}
;
collection6.indexes.push(index38);
const collections=[collection0,collection1,collection2,collection3,collection5,collection6,collection13,collection14,collection17,collection18,collection19,collection21,collection23,collection24,collection27,collection29,collection30,collection31,collection33,collection34,collection35,collection37],indexes=[index4,index7,index8,index9,index10,index11,index12,index15,index16,index20,index22,index25,index26,index28,index32,index36,index38];
module.exports={
'versions':versions,'collections':collections,'indexes':indexes,'resolveCollection':resolveCollection,'resolveIndex':resolveIndex}
;
function resolveCollection(_0x79f0bf){
_0x20901c={
_0x53f57d:0x145,_0x4528f8:0x3e6,_0x5cdca6:0x19},_0x43f546={
_0x3eca24:0x149,_0x1d8049:0x97,_0x7f4c55:0x131}
;
switch(_0x79f0bf){
case"@local/stats":return collection0;
case"@local/migrations":return collection1;
case "@local/room-migration-stats":return collection2;
case "@local/room-migrations":return collection3;
case "@local/identity":return collection5;
case "@local/rooms":return collection6;
case "@local/room-preferences":return collection13;
case"@local/writers":return collection14;
case "@local/members":return collection17;
case"@local/devices":return collection18;
case "@local/contacts":return collection19;
case "@local/tasks":return collection21;
case"@local/blob-files":return collection23;
case"@local/drive-files":return collection24;
case "@local/background-sync":return collection27;
case"@local/writer-appends":return collection29;
case "@local/room-metadata":return collection30;
case"@local/debug":return collection31;
case "@local/unreads":return collection33;
case "@local/hyperdht":return collection34;
case "@local/errors":return collection35;
case "@local/file-stats":return collection37;
default:return null;
}
}
function resolveIndex(_0x323683){
_0x908cba={
_0x1f6783:0x183,_0x644510:0x112,_0x59931d:0x1e8},_0x319d95={
_0x321e11:0x2ad,_0x4bc1cb:0x12c}
;
switch(_0x323683){
case "@local/room-migrations-by-priority":return index4;
case "@local/rooms-by-discovery-key":return index7;
case "@local/rooms-by-timestamp":return index8;
case"@local/rooms-by-type-and-timestamp":return index9;
case "@local/rooms-by-wakeup-topic":return index10;
case "@local/rooms-by-mailbox":return index11;
case "@local/rooms-by-discovery":return index12;
case"@local/writers-by-wakeup-topic":return index15;
case"@local/writers-by-room-key":return index16;
case "@local/blocked-contacts":return index20;
case "@local/tasks-by-type":return index22;
case "@local/blob-files-by-room":return index25;
case"@local/drive-files-by-room":return index26;
case"@local/background-sync-by-dirty":return index28;
case "@local/rooms-by-contact":return index32;
case"@local/errors-by-code":return index36;
case "@local/rooms-by-favorite-and-timestamp":return index38;
default:return null;
}
}