@ckeditor/ckeditor5-operations-compressor 47.2.0 → 47.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3524(){var _0x14086=['18iOHKgX','126jNylWH','_id','4672RmrNkR','types','shift','_operationName','43170thOIFt','25TgSofW','66828DjKcUs','169HMUvsG','compress','decompress','1072vVpVtA','138FJxIEC','492396hsGYga','755777sMRCRJ','3990790vLhxKV','5558ZaVtEC','push'];_0x3524=function(){return _0x14086;};return _0x3524();}var _0x3d777e=_0x17af;(function(_0x345448,_0x61db7f){var _0x332e31=_0x17af,_0x38f0d8=_0x345448();while(!![]){try{var _0x33cad9=-parseInt(_0x332e31(0x138))/0x1*(parseInt(_0x332e31(0x12d))/0x2)+-parseInt(_0x332e31(0x12b))/0x3*(-parseInt(_0x332e31(0x133))/0x4)+-parseInt(_0x332e31(0x132))/0x5*(parseInt(_0x332e31(0x131))/0x6)+parseInt(_0x332e31(0x128))/0x7*(-parseInt(_0x332e31(0x137))/0x8)+parseInt(_0x332e31(0x12a))/0x9*(parseInt(_0x332e31(0x13b))/0xa)+-parseInt(_0x332e31(0x13a))/0xb+-parseInt(_0x332e31(0x139))/0xc*(parseInt(_0x332e31(0x134))/0xd);if(_0x33cad9===_0x61db7f)break;else _0x38f0d8['push'](_0x38f0d8['shift']());}catch(_0xe1c254){_0x38f0d8['push'](_0x38f0d8['shift']());}}}(_0x3524,0x69b51));function _0x17af(_0x4d46bf,_0xa4fd16){var _0x352465=_0x3524();return _0x17af=function(_0x17afff,_0x3700a7){_0x17afff=_0x17afff-0x128;var _0xf7b57e=_0x352465[_0x17afff];return _0xf7b57e;},_0x17af(_0x4d46bf,_0xa4fd16);}import{OperationCompressor as _0x4ddad6}from'./operationcompressor.js';export class NoOperationCompressor extends _0x4ddad6{[_0x3d777e(0x135)](_0x8e063,_0x16a382){var _0x3c76dc=_0x3d777e;return _0x16a382[_0x3c76dc(0x12f)](),_0x8e063[_0x3c76dc(0x12e)][_0x3c76dc(0x129)](this[_0x3c76dc(0x12c)]),!0x0;}[_0x3d777e(0x136)](_0xe33c6b,_0xa52977){var _0x1a17c9=_0x3d777e;_0xa52977[_0x1a17c9(0x12e)][_0x1a17c9(0x12f)](),_0xe33c6b[_0x1a17c9(0x129)]({'__className':this[_0x1a17c9(0x130)]});}}
23
+ var _0x41085b=_0x30c4;function _0x30c4(_0x5eb01f,_0x1e858a){var _0x3a8442=_0x3a84();return _0x30c4=function(_0x30c487,_0xd5b26a){_0x30c487=_0x30c487-0x77;var _0x10700f=_0x3a8442[_0x30c487];return _0x10700f;},_0x30c4(_0x5eb01f,_0x1e858a);}function _0x3a84(){var _0x160403=['_id','compress','450EKkFUX','1405JdDbtj','decompress','30856MdftkQ','_operationName','types','988149hkrekN','shift','315124GmUkPq','200612IKdcOE','31734khpKjB','push','6673012aOGooi','6883135tmPtLO'];_0x3a84=function(){return _0x160403;};return _0x3a84();}(function(_0x4993e9,_0x2754e4){var _0x5dc37d=_0x30c4,_0x1a9014=_0x4993e9();while(!![]){try{var _0x159f5d=-parseInt(_0x5dc37d(0x83))/0x1+-parseInt(_0x5dc37d(0x82))/0x2+parseInt(_0x5dc37d(0x80))/0x3+-parseInt(_0x5dc37d(0x86))/0x4+parseInt(_0x5dc37d(0x7b))/0x5*(parseInt(_0x5dc37d(0x84))/0x6)+parseInt(_0x5dc37d(0x77))/0x7+-parseInt(_0x5dc37d(0x7d))/0x8*(-parseInt(_0x5dc37d(0x7a))/0x9);if(_0x159f5d===_0x2754e4)break;else _0x1a9014['push'](_0x1a9014['shift']());}catch(_0x52c512){_0x1a9014['push'](_0x1a9014['shift']());}}}(_0x3a84,0xebac8));import{OperationCompressor as _0x5d38e1}from'./operationcompressor.js';export class NoOperationCompressor extends _0x5d38e1{[_0x41085b(0x79)](_0x2916f7,_0x294416){var _0x522d0b=_0x41085b;return _0x294416[_0x522d0b(0x81)](),_0x2916f7[_0x522d0b(0x7f)][_0x522d0b(0x85)](this[_0x522d0b(0x78)]),!0x0;}[_0x41085b(0x7c)](_0x52e30e,_0x22aa6d){var _0x348943=_0x41085b;_0x22aa6d[_0x348943(0x7f)][_0x348943(0x81)](),_0x52e30e[_0x348943(0x85)]({'__className':this[_0x348943(0x7e)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x348598=_0x56b0;(function(_0x58adcd,_0x1e6ded){const _0x72f79e=_0x56b0,_0xebcfb3=_0x58adcd();while(!![]){try{const _0x18ab1b=parseInt(_0x72f79e(0x19e))/0x1+-parseInt(_0x72f79e(0x19a))/0x2+parseInt(_0x72f79e(0x198))/0x3*(parseInt(_0x72f79e(0x1a4))/0x4)+-parseInt(_0x72f79e(0x1a3))/0x5*(parseInt(_0x72f79e(0x1a1))/0x6)+-parseInt(_0x72f79e(0x1a7))/0x7+parseInt(_0x72f79e(0x1a8))/0x8+-parseInt(_0x72f79e(0x1a5))/0x9*(-parseInt(_0x72f79e(0x19b))/0xa);if(_0x18ab1b===_0x1e6ded)break;else _0xebcfb3['push'](_0xebcfb3['shift']());}catch(_0x1f0f68){_0xebcfb3['push'](_0xebcfb3['shift']());}}}(_0x18a7,0x61705));import{parsePositionBeforeCompression as _0x50c81f,parsePositionAfterCompression as _0x14084e}from'../utils.js';function _0x56b0(_0x1925d6,_0x1c2656){const _0x18a7c1=_0x18a7();return _0x56b0=function(_0x56b01a,_0x529730){_0x56b01a=_0x56b01a-0x196;let _0x24bd00=_0x18a7c1[_0x56b01a];return _0x24bd00;},_0x56b0(_0x1925d6,_0x1c2656);}function _0x18a7(){const _0x5e43d1=['569225TchnwO','22844fOXZdr','90sZLNFT','__className','3317272Heqjrm','4227744KRPzDL','_protobufDescriptor','decompress','types','303DglfeI','shift','1547582VkIEFb','565340PEybid','_id','buffers','317712JAUZIl','push','_operationName','18uYKHIG','compress'];_0x18a7=function(){return _0x5e43d1;};return _0x18a7();}export class OperationCompressor{[_0x348598(0x19c)];[_0x348598(0x1a0)];[_0x348598(0x1a9)];constructor(_0x3560e2,_0x5289dd,_0x187e2f){const _0xfef284=_0x348598;this[_0xfef284(0x19c)]=_0x3560e2,this[_0xfef284(0x1a0)]=_0x5289dd,this[_0xfef284(0x1a9)]=_0x187e2f;}[_0x348598(0x1a2)](_0x18d023,_0x2e6813){const _0x13bfe3=_0x348598,_0x3ab0d0=_0x2e6813[_0x13bfe3(0x199)]();return _0x50c81f(_0x3ab0d0),_0x18d023[_0x13bfe3(0x19d)][_0x13bfe3(0x19f)](this[_0x13bfe3(0x1a9)][_0x13bfe3(0x1a2)](_0x3ab0d0)),_0x18d023[_0x13bfe3(0x197)][_0x13bfe3(0x19f)](this[_0x13bfe3(0x19c)]),!0x0;}[_0x348598(0x196)](_0x29fe33,_0x47596e){const _0x1d36e5=_0x348598;_0x47596e[_0x1d36e5(0x197)][_0x1d36e5(0x199)]();const _0xed6e9f=this[_0x1d36e5(0x1a9)][_0x1d36e5(0x196)](_0x47596e[_0x1d36e5(0x19d)][_0x1d36e5(0x199)]());_0x14084e(_0xed6e9f),_0xed6e9f[_0x1d36e5(0x1a6)]=this[_0x1d36e5(0x1a0)],_0x29fe33[_0x1d36e5(0x19f)](_0xed6e9f);}}
23
+ const _0x39a6b3=_0x508b;function _0x508b(_0x409796,_0x2d030b){const _0x1c01e5=_0x1c01();return _0x508b=function(_0x508baf,_0x460fac){_0x508baf=_0x508baf-0x16e;let _0x11f6c1=_0x1c01e5[_0x508baf];return _0x11f6c1;},_0x508b(_0x409796,_0x2d030b);}(function(_0x3304fa,_0x593ff8){const _0x4476e0=_0x508b,_0x51304a=_0x3304fa();while(!![]){try{const _0x2be0ad=-parseInt(_0x4476e0(0x17a))/0x1+-parseInt(_0x4476e0(0x178))/0x2+-parseInt(_0x4476e0(0x17f))/0x3+parseInt(_0x4476e0(0x17c))/0x4+-parseInt(_0x4476e0(0x16e))/0x5*(parseInt(_0x4476e0(0x175))/0x6)+parseInt(_0x4476e0(0x180))/0x7*(parseInt(_0x4476e0(0x174))/0x8)+parseInt(_0x4476e0(0x171))/0x9;if(_0x2be0ad===_0x593ff8)break;else _0x51304a['push'](_0x51304a['shift']());}catch(_0x3857b4){_0x51304a['push'](_0x51304a['shift']());}}}(_0x1c01,0xc7cbf));import{parsePositionBeforeCompression as _0x591eff,parsePositionAfterCompression as _0x5ceafd}from'../utils.js';export class OperationCompressor{[_0x39a6b3(0x17e)];[_0x39a6b3(0x173)];[_0x39a6b3(0x17d)];constructor(_0xf4f558,_0x5763f8,_0x3dfcb7){const _0x205d6c=_0x39a6b3;this[_0x205d6c(0x17e)]=_0xf4f558,this[_0x205d6c(0x173)]=_0x5763f8,this[_0x205d6c(0x17d)]=_0x3dfcb7;}[_0x39a6b3(0x17b)](_0x35b3c4,_0x30c3ec){const _0x180c25=_0x39a6b3,_0x290d4f=_0x30c3ec[_0x180c25(0x179)]();return _0x591eff(_0x290d4f),_0x35b3c4[_0x180c25(0x170)][_0x180c25(0x16f)](this[_0x180c25(0x17d)][_0x180c25(0x17b)](_0x290d4f)),_0x35b3c4[_0x180c25(0x177)][_0x180c25(0x16f)](this[_0x180c25(0x17e)]),!0x0;}[_0x39a6b3(0x176)](_0x172f98,_0x4f0b21){const _0x2b0eaf=_0x39a6b3;_0x4f0b21[_0x2b0eaf(0x177)][_0x2b0eaf(0x179)]();const _0x9f0213=this[_0x2b0eaf(0x17d)][_0x2b0eaf(0x176)](_0x4f0b21[_0x2b0eaf(0x170)][_0x2b0eaf(0x179)]());_0x5ceafd(_0x9f0213),_0x9f0213[_0x2b0eaf(0x172)]=this[_0x2b0eaf(0x173)],_0x172f98[_0x2b0eaf(0x16f)](_0x9f0213);}}function _0x1c01(){const _0x1e3c88=['1279304gAroCp','210kndfAJ','decompress','types','1818740qGFpKy','shift','1489535WVGVxs','compress','6459876lxJDAx','_protobufDescriptor','_id','429840trUaJX','49OlnzUm','156105QvZdqF','push','buffers','15470343nGMxvf','__className','_operationName'];_0x1c01=function(){return _0x1e3c88;};return _0x1c01();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25af61=_0xe44f;function _0x40ef(){const _0x5c8494=['decode','939474wNoctQ','_protobufRoot','finish','compress','verify','getDescriptor','218895Poostn','32264odZlCJ','1519476TCNyRq','_protobuf','toObject','encode','create','39WDkSzQ','2005241CEVWhw','170074GdYgUo','decompress','2osaiNn','1530528TwjRBk'];_0x40ef=function(){return _0x5c8494;};return _0x40ef();}function _0xe44f(_0x50a687,_0x360614){const _0x40ef3b=_0x40ef();return _0xe44f=function(_0xe44fdb,_0x52f306){_0xe44fdb=_0xe44fdb-0x17f;let _0x4b9279=_0x40ef3b[_0xe44fdb];return _0x4b9279;},_0xe44f(_0x50a687,_0x360614);}(function(_0x445878,_0x155543){const _0x503bb3=_0xe44f,_0x2365fd=_0x445878();while(!![]){try{const _0x84d6eb=parseInt(_0x503bb3(0x185))/0x1*(parseInt(_0x503bb3(0x187))/0x2)+-parseInt(_0x503bb3(0x183))/0x3*(parseInt(_0x503bb3(0x191))/0x4)+parseInt(_0x503bb3(0x190))/0x5+parseInt(_0x503bb3(0x192))/0x6+-parseInt(_0x503bb3(0x184))/0x7+parseInt(_0x503bb3(0x188))/0x8+-parseInt(_0x503bb3(0x18a))/0x9;if(_0x84d6eb===_0x155543)break;else _0x2365fd['push'](_0x2365fd['shift']());}catch(_0x143b7a){_0x2365fd['push'](_0x2365fd['shift']());}}}(_0x40ef,0x27b94));import{messages as _0x44064a}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x25af61(0x18b)];constructor(){const _0x479f4e=_0x25af61;this[_0x479f4e(0x18b)]=_0x44064a;}[_0x25af61(0x18f)](_0x472c39){const _0x34afed=_0x25af61;return new ProtobufDescriptor(this[_0x34afed(0x18b)][_0x472c39]);}}export class ProtobufDescriptor{[_0x25af61(0x17f)];constructor(_0x55855c){const _0x3ed1d8=_0x25af61;this[_0x3ed1d8(0x17f)]=_0x55855c;}[_0x25af61(0x18d)](_0x4e7fab){const _0x3b4efe=_0x25af61,_0xae1060=this[_0x3b4efe(0x17f)][_0x3b4efe(0x18e)](_0x4e7fab);if(_0xae1060)throw Error(_0xae1060);return this[_0x3b4efe(0x17f)][_0x3b4efe(0x181)](this[_0x3b4efe(0x17f)][_0x3b4efe(0x182)](_0x4e7fab))[_0x3b4efe(0x18c)]();}[_0x25af61(0x186)](_0x1763c2){const _0x20d565=_0x25af61;return this[_0x20d565(0x17f)][_0x20d565(0x180)](this[_0x20d565(0x17f)][_0x20d565(0x189)](_0x1763c2),{'oneofs':!0x0});}}
23
+ function _0x4cd6(_0x3c743f,_0x2c0b4c){const _0x910591=_0x9105();return _0x4cd6=function(_0x4cd676,_0x1d28d2){_0x4cd676=_0x4cd676-0x104;let _0x14385c=_0x910591[_0x4cd676];return _0x14385c;},_0x4cd6(_0x3c743f,_0x2c0b4c);}function _0x9105(){const _0x13cbd9=['454068tHrmCT','decode','create','3766728RTszaT','_protobuf','182XoBnnm','70842EloxwZ','50FhmHVe','45DzTenx','93822LrhbpI','verify','28urFMgO','_protobufRoot','decompress','getDescriptor','1771264UanssO','encode','finish','toObject','136720bJrqXN','638597hPnNpq','compress'];_0x9105=function(){return _0x13cbd9;};return _0x9105();}const _0x529e2e=_0x4cd6;(function(_0x58075d,_0x136ebc){const _0x1f4b06=_0x4cd6,_0x4cffa8=_0x58075d();while(!![]){try{const _0x2ebaa8=parseInt(_0x1f4b06(0x110))/0x1+parseInt(_0x1f4b06(0x107))/0x2*(parseInt(_0x1f4b06(0x105))/0x3)+-parseInt(_0x1f4b06(0x10f))/0x4*(parseInt(_0x1f4b06(0x104))/0x5)+-parseInt(_0x1f4b06(0x118))/0x6*(parseInt(_0x1f4b06(0x117))/0x7)+-parseInt(_0x1f4b06(0x115))/0x8+parseInt(_0x1f4b06(0x112))/0x9*(parseInt(_0x1f4b06(0x119))/0xa)+parseInt(_0x1f4b06(0x10b))/0xb;if(_0x2ebaa8===_0x136ebc)break;else _0x4cffa8['push'](_0x4cffa8['shift']());}catch(_0xbb1f12){_0x4cffa8['push'](_0x4cffa8['shift']());}}}(_0x9105,0x62b32));import{messages as _0x2af40f}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x529e2e(0x108)];constructor(){const _0x18efa0=_0x529e2e;this[_0x18efa0(0x108)]=_0x2af40f;}[_0x529e2e(0x10a)](_0x1c5509){const _0xcca1c4=_0x529e2e;return new ProtobufDescriptor(this[_0xcca1c4(0x108)][_0x1c5509]);}}export class ProtobufDescriptor{[_0x529e2e(0x116)];constructor(_0x23c943){const _0x3488ee=_0x529e2e;this[_0x3488ee(0x116)]=_0x23c943;}[_0x529e2e(0x111)](_0xe1d43c){const _0x460b1f=_0x529e2e,_0x3c10aa=this[_0x460b1f(0x116)][_0x460b1f(0x106)](_0xe1d43c);if(_0x3c10aa)throw Error(_0x3c10aa);return this[_0x460b1f(0x116)][_0x460b1f(0x10c)](this[_0x460b1f(0x116)][_0x460b1f(0x114)](_0xe1d43c))[_0x460b1f(0x10d)]();}[_0x529e2e(0x109)](_0x2f5bc0){const _0x113546=_0x529e2e;return this[_0x113546(0x116)][_0x113546(0x10e)](this[_0x113546(0x116)][_0x113546(0x113)](_0x2f5bc0),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x27bc(){const _0x1b565d=['rootMain','$graveyard','103465ETgGsv','12tyqWQM','1324815UdWaIf','length','8648654hquoOE','8wtphbM','36hAHhPE','rootGraveyard','7585602IlklHy','11070851WJvsKF','root','84vsEflf','8131112PjZdNC','nodes','2781490UkMywd','path','main','5EKXWNF'];_0x27bc=function(){return _0x1b565d;};return _0x27bc();}(function(_0x1f34d6,_0x1551c9){const _0x10f5d7=_0x3d82,_0x747350=_0x1f34d6();while(!![]){try{const _0x1db888=parseInt(_0x10f5d7(0x159))/0x1*(-parseInt(_0x10f5d7(0x15e))/0x2)+-parseInt(_0x10f5d7(0x15b))/0x3*(parseInt(_0x10f5d7(0x15a))/0x4)+parseInt(_0x10f5d7(0x156))/0x5*(-parseInt(_0x10f5d7(0x161))/0x6)+-parseInt(_0x10f5d7(0x15d))/0x7+-parseInt(_0x10f5d7(0x165))/0x8+parseInt(_0x10f5d7(0x15f))/0x9*(-parseInt(_0x10f5d7(0x153))/0xa)+parseInt(_0x10f5d7(0x162))/0xb*(parseInt(_0x10f5d7(0x164))/0xc);if(_0x1db888===_0x1551c9)break;else _0x747350['push'](_0x747350['shift']());}catch(_0x1327dd){_0x747350['push'](_0x747350['shift']());}}}(_0x27bc,0xa5706));import{cloneDeep as _0x1b3e8a,isEqual as _0x3fdf20,isObject as _0x3f8aac}from'es-toolkit/compat';function _0x3d82(_0x41d6aa,_0x206c44){const _0x27bcfe=_0x27bc();return _0x3d82=function(_0x3d8201,_0x1ff38e){_0x3d8201=_0x3d8201-0x153;let _0x52e073=_0x27bcfe[_0x3d8201];return _0x52e073;},_0x3d82(_0x41d6aa,_0x206c44);}export function getPositionShiftedBy(_0x652077,_0x5827af){const _0x5bb4e9=_0x3d82,_0x545bbd=_0x1b3e8a(_0x652077);return _0x545bbd[_0x5bb4e9(0x154)][_0x545bbd[_0x5bb4e9(0x154)][_0x5bb4e9(0x15c)]-0x1]+=_0x5827af,_0x545bbd;}export function arePositionsEqual(_0x9704d7,_0xce01aa){const _0x4a5eb7=_0x3d82;return _0x9704d7[_0x4a5eb7(0x163)]===_0xce01aa[_0x4a5eb7(0x163)]&&_0x3fdf20(_0x9704d7[_0x4a5eb7(0x154)],_0xce01aa[_0x4a5eb7(0x154)]);}export function parsePositionBeforeCompression(_0x56de8c){const _0x1e120f=_0x3d82;P(_0x56de8c,_0xf87adf=>(_0x1e120f(0x155)==_0xf87adf[_0x1e120f(0x163)]?(_0xf87adf[_0x1e120f(0x157)]=!0x0,delete _0xf87adf[_0x1e120f(0x163)]):_0x1e120f(0x158)==_0xf87adf[_0x1e120f(0x163)]&&(_0xf87adf[_0x1e120f(0x160)]=!0x0,delete _0xf87adf[_0x1e120f(0x163)]),_0xf87adf));}export function parsePositionAfterCompression(_0x4be05c){const _0x224785=_0x3d82;P(_0x4be05c,_0x8bf1ad=>(_0x8bf1ad[_0x224785(0x157)]?(_0x8bf1ad[_0x224785(0x163)]=_0x224785(0x155),delete _0x8bf1ad[_0x224785(0x157)]):_0x8bf1ad[_0x224785(0x160)]&&(_0x8bf1ad[_0x224785(0x163)]=_0x224785(0x158),delete _0x8bf1ad[_0x224785(0x160)]),_0x8bf1ad));}function P(_0x461d77,_0x15d7e0){const _0x4e850d=_0x3d82;for(const _0x1d95b7 in _0x461d77){const _0x229600=_0x461d77[_0x1d95b7];_0x4e850d(0x166)!==_0x1d95b7&&_0x3f8aac(_0x229600)&&(_0x229600[_0x4e850d(0x154)]&&(_0x229600[_0x4e850d(0x163)]||_0x229600[_0x4e850d(0x157)]||_0x229600[_0x4e850d(0x160)])?_0x461d77[_0x1d95b7]=_0x15d7e0(_0x229600):P(_0x229600,_0x15d7e0));}return _0x461d77;}
23
+ function _0x3bec(_0x8d622,_0x9deaea){const _0x495d30=_0x495d();return _0x3bec=function(_0x3bec82,_0x5d2d75){_0x3bec82=_0x3bec82-0xf8;let _0x31026a=_0x495d30[_0x3bec82];return _0x31026a;},_0x3bec(_0x8d622,_0x9deaea);}(function(_0x229eb9,_0x2c87bb){const _0x3564ce=_0x3bec,_0x4d2616=_0x229eb9();while(!![]){try{const _0x46c4bd=-parseInt(_0x3564ce(0xf9))/0x1+parseInt(_0x3564ce(0x109))/0x2*(-parseInt(_0x3564ce(0x107))/0x3)+parseInt(_0x3564ce(0x101))/0x4*(-parseInt(_0x3564ce(0x108))/0x5)+-parseInt(_0x3564ce(0x106))/0x6+-parseInt(_0x3564ce(0xfb))/0x7*(-parseInt(_0x3564ce(0x10a))/0x8)+-parseInt(_0x3564ce(0xfc))/0x9*(-parseInt(_0x3564ce(0x105))/0xa)+-parseInt(_0x3564ce(0xff))/0xb*(-parseInt(_0x3564ce(0xfa))/0xc);if(_0x46c4bd===_0x2c87bb)break;else _0x4d2616['push'](_0x4d2616['shift']());}catch(_0x347696){_0x4d2616['push'](_0x4d2616['shift']());}}}(_0x495d,0xccf49));import{cloneDeep as _0x2a5b3e,isEqual as _0x21829f,isObject as _0x9dca25}from'es-toolkit/compat';export function getPositionShiftedBy(_0x292fdf,_0x3296c9){const _0x44682b=_0x3bec,_0x57685f=_0x2a5b3e(_0x292fdf);return _0x57685f[_0x44682b(0xfe)][_0x57685f[_0x44682b(0xfe)][_0x44682b(0x103)]-0x1]+=_0x3296c9,_0x57685f;}export function arePositionsEqual(_0x311fd8,_0x211dcd){const _0x2704d1=_0x3bec;return _0x311fd8[_0x2704d1(0x102)]===_0x211dcd[_0x2704d1(0x102)]&&_0x21829f(_0x311fd8[_0x2704d1(0xfe)],_0x211dcd[_0x2704d1(0xfe)]);}export function parsePositionBeforeCompression(_0x23fa4a){const _0x3a8b90=_0x3bec;P(_0x23fa4a,_0x2ca398=>(_0x3a8b90(0x104)==_0x2ca398[_0x3a8b90(0x102)]?(_0x2ca398[_0x3a8b90(0x10b)]=!0x0,delete _0x2ca398[_0x3a8b90(0x102)]):_0x3a8b90(0xfd)==_0x2ca398[_0x3a8b90(0x102)]&&(_0x2ca398[_0x3a8b90(0xf8)]=!0x0,delete _0x2ca398[_0x3a8b90(0x102)]),_0x2ca398));}function _0x495d(){const _0x191a17=['length','main','3079670rdiUsy','5373174QRBCKo','834189TtSZqx','5515QAdDpi','12IErVzZ','8xuzJnM','rootMain','rootGraveyard','409971SVXANo','11472VMyXyo','9557639wMNaSM','18vcjMNE','$graveyard','path','21131zfdepD','nodes','16nhZYcv','root'];_0x495d=function(){return _0x191a17;};return _0x495d();}export function parsePositionAfterCompression(_0x20993a){const _0x360720=_0x3bec;P(_0x20993a,_0x384a2d=>(_0x384a2d[_0x360720(0x10b)]?(_0x384a2d[_0x360720(0x102)]=_0x360720(0x104),delete _0x384a2d[_0x360720(0x10b)]):_0x384a2d[_0x360720(0xf8)]&&(_0x384a2d[_0x360720(0x102)]=_0x360720(0xfd),delete _0x384a2d[_0x360720(0xf8)]),_0x384a2d));}function P(_0x31dec4,_0x677b77){const _0x38e990=_0x3bec;for(const _0xdc653b in _0x31dec4){const _0x308395=_0x31dec4[_0xdc653b];_0x38e990(0x100)!==_0xdc653b&&_0x9dca25(_0x308395)&&(_0x308395[_0x38e990(0xfe)]&&(_0x308395[_0x38e990(0x102)]||_0x308395[_0x38e990(0x10b)]||_0x308395[_0x38e990(0xf8)])?_0x31dec4[_0xdc653b]=_0x677b77(_0x308395):P(_0x308395,_0x677b77));}return _0x31dec4;}