@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.9 → 47.1.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
- var _0x3ef431=_0x4ae5;function _0x4ae5(_0x4e4a87,_0x41b28a){var _0x11f703=_0x11f7();return _0x4ae5=function(_0x4ae524,_0xb68f2b){_0x4ae524=_0x4ae524-0x19b;var _0x5439ff=_0x11f703[_0x4ae524];return _0x5439ff;},_0x4ae5(_0x4e4a87,_0x41b28a);}(function(_0x2c08de,_0x34362d){var _0x351ee8=_0x4ae5,_0x108f9a=_0x2c08de();while(!![]){try{var _0x13dd0e=parseInt(_0x351ee8(0x19b))/0x1*(parseInt(_0x351ee8(0x1a7))/0x2)+parseInt(_0x351ee8(0x1a8))/0x3+parseInt(_0x351ee8(0x1ab))/0x4+parseInt(_0x351ee8(0x1aa))/0x5+-parseInt(_0x351ee8(0x19d))/0x6*(-parseInt(_0x351ee8(0x1a9))/0x7)+-parseInt(_0x351ee8(0x1a3))/0x8*(-parseInt(_0x351ee8(0x1a1))/0x9)+parseInt(_0x351ee8(0x19f))/0xa*(-parseInt(_0x351ee8(0x1a2))/0xb);if(_0x13dd0e===_0x34362d)break;else _0x108f9a['push'](_0x108f9a['shift']());}catch(_0x6babbb){_0x108f9a['push'](_0x108f9a['shift']());}}}(_0x11f7,0xe736b));import{OperationCompressor as _0x261fc1}from'./operationcompressor.js';function _0x11f7(){var _0x1ad9cd=['compress','6Uxtyxo','_operationName','10iXzKkb','types','13926231ftFwoc','63855814ZReuxZ','8iJTkfW','decompress','push','shift','43942aHUDtb','2420049jDxFIe','9695546fUBAFG','3122915bUTuct','3313924aJxUKl','_id','71fGPdBZ'];_0x11f7=function(){return _0x1ad9cd;};return _0x11f7();}export class NoOperationCompressor extends _0x261fc1{[_0x3ef431(0x19c)](_0x3bd6b7,_0x4444c6){var _0x31770f=_0x3ef431;return _0x4444c6[_0x31770f(0x1a6)](),_0x3bd6b7[_0x31770f(0x1a0)][_0x31770f(0x1a5)](this[_0x31770f(0x1ac)]),!0x0;}[_0x3ef431(0x1a4)](_0x34aac3,_0x1716ec){var _0x98946c=_0x3ef431;_0x1716ec[_0x98946c(0x1a0)][_0x98946c(0x1a6)](),_0x34aac3[_0x98946c(0x1a5)]({'__className':this[_0x98946c(0x19e)]});}}
23
+ function _0x3709(_0x1afee0,_0x437b94){var _0x5ccb3b=_0x5ccb();return _0x3709=function(_0x370927,_0x3010d3){_0x370927=_0x370927-0xcf;var _0x3a951c=_0x5ccb3b[_0x370927];return _0x3a951c;},_0x3709(_0x1afee0,_0x437b94);}var _0x1a0704=_0x3709;(function(_0x1cf6af,_0x191c67){var _0x2da6e3=_0x3709,_0x1e7d72=_0x1cf6af();while(!![]){try{var _0x32d73d=-parseInt(_0x2da6e3(0xd0))/0x1*(parseInt(_0x2da6e3(0xd9))/0x2)+-parseInt(_0x2da6e3(0xd6))/0x3*(-parseInt(_0x2da6e3(0xdf))/0x4)+parseInt(_0x2da6e3(0xd2))/0x5*(-parseInt(_0x2da6e3(0xd8))/0x6)+parseInt(_0x2da6e3(0xcf))/0x7+-parseInt(_0x2da6e3(0xd5))/0x8*(-parseInt(_0x2da6e3(0xde))/0x9)+-parseInt(_0x2da6e3(0xdb))/0xa+parseInt(_0x2da6e3(0xd3))/0xb;if(_0x32d73d===_0x191c67)break;else _0x1e7d72['push'](_0x1e7d72['shift']());}catch(_0x526981){_0x1e7d72['push'](_0x1e7d72['shift']());}}}(_0x5ccb,0x278f5));function _0x5ccb(){var _0x4a7933=['types','compress','657BlCPXV','48VARNEd','_id','451374CXdgvN','9khOQWi','decompress','240hPyKMk','2093696OPWECe','_operationName','20456fXCbWM','50733wFeTjU','push','4584uIdHWb','54018ResGRf','shift','2026210BeFOYG'];_0x5ccb=function(){return _0x4a7933;};return _0x5ccb();}import{OperationCompressor as _0x3b3b91}from'./operationcompressor.js';export class NoOperationCompressor extends _0x3b3b91{[_0x1a0704(0xdd)](_0x46679a,_0x683618){var _0x3e2532=_0x1a0704;return _0x683618[_0x3e2532(0xda)](),_0x46679a[_0x3e2532(0xdc)][_0x3e2532(0xd7)](this[_0x3e2532(0xe0)]),!0x0;}[_0x1a0704(0xd1)](_0x27e457,_0x908b25){var _0x3139cb=_0x1a0704;_0x908b25[_0x3139cb(0xdc)][_0x3139cb(0xda)](),_0x27e457[_0x3139cb(0xd7)]({'__className':this[_0x3139cb(0xd4)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x27f7(_0x11e174,_0x3b3fa4){const _0x54d4a8=_0x54d4();return _0x27f7=function(_0x27f799,_0x3469d3){_0x27f799=_0x27f799-0x1a5;let _0x1e1bc4=_0x54d4a8[_0x27f799];return _0x1e1bc4;},_0x27f7(_0x11e174,_0x3b3fa4);}const _0xf06b77=_0x27f7;(function(_0x32db44,_0x3654f3){const _0x41218b=_0x27f7,_0x390194=_0x32db44();while(!![]){try{const _0x46d5ed=parseInt(_0x41218b(0x1b7))/0x1*(parseInt(_0x41218b(0x1b8))/0x2)+-parseInt(_0x41218b(0x1a8))/0x3+-parseInt(_0x41218b(0x1a9))/0x4+-parseInt(_0x41218b(0x1b4))/0x5*(parseInt(_0x41218b(0x1b6))/0x6)+-parseInt(_0x41218b(0x1ab))/0x7+parseInt(_0x41218b(0x1af))/0x8+-parseInt(_0x41218b(0x1ad))/0x9*(-parseInt(_0x41218b(0x1b3))/0xa);if(_0x46d5ed===_0x3654f3)break;else _0x390194['push'](_0x390194['shift']());}catch(_0x153421){_0x390194['push'](_0x390194['shift']());}}}(_0x54d4,0xf3dbf));function _0x54d4(){const _0x55fc0e=['2GgeZlk','1422506luyHvh','decompress','compress','__className','585144iHspgS','6320688DSLcqf','_operationName','7083265KMihTR','types','17614683rWYHjt','_protobufDescriptor','10600976FKiTAN','shift','buffers','_id','10iPODUk','27185KqEbuI','push','1014HgSECs'];_0x54d4=function(){return _0x55fc0e;};return _0x54d4();}import{parsePositionBeforeCompression as _0x57343b,parsePositionAfterCompression as _0xce89f6}from'../utils.js';export class OperationCompressor{[_0xf06b77(0x1b2)];[_0xf06b77(0x1aa)];[_0xf06b77(0x1ae)];constructor(_0x34c619,_0x488f89,_0x564d24){const _0x2d9dea=_0xf06b77;this[_0x2d9dea(0x1b2)]=_0x34c619,this[_0x2d9dea(0x1aa)]=_0x488f89,this[_0x2d9dea(0x1ae)]=_0x564d24;}[_0xf06b77(0x1a6)](_0x50e98a,_0xaea5aa){const _0x48200c=_0xf06b77,_0xacfa1b=_0xaea5aa[_0x48200c(0x1b0)]();return _0x57343b(_0xacfa1b),_0x50e98a[_0x48200c(0x1b1)][_0x48200c(0x1b5)](this[_0x48200c(0x1ae)][_0x48200c(0x1a6)](_0xacfa1b)),_0x50e98a[_0x48200c(0x1ac)][_0x48200c(0x1b5)](this[_0x48200c(0x1b2)]),!0x0;}[_0xf06b77(0x1a5)](_0x574ea0,_0x33d413){const _0x532e86=_0xf06b77;_0x33d413[_0x532e86(0x1ac)][_0x532e86(0x1b0)]();const _0x3b7f69=this[_0x532e86(0x1ae)][_0x532e86(0x1a5)](_0x33d413[_0x532e86(0x1b1)][_0x532e86(0x1b0)]());_0xce89f6(_0x3b7f69),_0x3b7f69[_0x532e86(0x1a7)]=this[_0x532e86(0x1aa)],_0x574ea0[_0x532e86(0x1b5)](_0x3b7f69);}}
23
+ const _0x553221=_0x26bc;function _0x3779(){const _0x3afd76=['1595151qkLuud','7HZxeDN','787980utbOVy','_id','349637exHJlB','35736EmLlpy','compress','shift','buffers','__className','2XAnwDo','decompress','1630986ZctiMp','push','_operationName','195ZXCAmK','types','17065390YCxGpe','_protobufDescriptor','4752632gZeHxf'];_0x3779=function(){return _0x3afd76;};return _0x3779();}(function(_0x2590d6,_0x249c0c){const _0x29a35f=_0x26bc,_0x525e2e=_0x2590d6();while(!![]){try{const _0x3ef4fb=parseInt(_0x29a35f(0x12d))/0x1*(-parseInt(_0x29a35f(0x133))/0x2)+-parseInt(_0x29a35f(0x121))/0x3+parseInt(_0x29a35f(0x12b))/0x4+-parseInt(_0x29a35f(0x124))/0x5*(parseInt(_0x29a35f(0x12e))/0x6)+-parseInt(_0x29a35f(0x12a))/0x7*(parseInt(_0x29a35f(0x128))/0x8)+parseInt(_0x29a35f(0x129))/0x9+parseInt(_0x29a35f(0x126))/0xa;if(_0x3ef4fb===_0x249c0c)break;else _0x525e2e['push'](_0x525e2e['shift']());}catch(_0x3eceb8){_0x525e2e['push'](_0x525e2e['shift']());}}}(_0x3779,0x58297));function _0x26bc(_0x192d4b,_0x3f1989){const _0x37794d=_0x3779();return _0x26bc=function(_0x26bc65,_0x3f65f4){_0x26bc65=_0x26bc65-0x121;let _0x417a52=_0x37794d[_0x26bc65];return _0x417a52;},_0x26bc(_0x192d4b,_0x3f1989);}import{parsePositionBeforeCompression as _0x2aea67,parsePositionAfterCompression as _0x2224b1}from'../utils.js';export class OperationCompressor{[_0x553221(0x12c)];[_0x553221(0x123)];[_0x553221(0x127)];constructor(_0x3625ca,_0x265096,_0x5e242d){const _0x3bf29b=_0x553221;this[_0x3bf29b(0x12c)]=_0x3625ca,this[_0x3bf29b(0x123)]=_0x265096,this[_0x3bf29b(0x127)]=_0x5e242d;}[_0x553221(0x12f)](_0x45a27a,_0x3c77a2){const _0x457017=_0x553221,_0x226b12=_0x3c77a2[_0x457017(0x130)]();return _0x2aea67(_0x226b12),_0x45a27a[_0x457017(0x131)][_0x457017(0x122)](this[_0x457017(0x127)][_0x457017(0x12f)](_0x226b12)),_0x45a27a[_0x457017(0x125)][_0x457017(0x122)](this[_0x457017(0x12c)]),!0x0;}[_0x553221(0x134)](_0xfca191,_0x2691d4){const _0x12668a=_0x553221;_0x2691d4[_0x12668a(0x125)][_0x12668a(0x130)]();const _0x157872=this[_0x12668a(0x127)][_0x12668a(0x134)](_0x2691d4[_0x12668a(0x131)][_0x12668a(0x130)]());_0x2224b1(_0x157872),_0x157872[_0x12668a(0x132)]=this[_0x12668a(0x123)],_0xfca191[_0x12668a(0x122)](_0x157872);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x322a(){const _0x3790c9=['verify','_protobufRoot','decode','_protobuf','4002lBuuEX','compress','2978czqceU','187617rphigg','13540VJNmok','6534oQNGhg','getDescriptor','toObject','9IEzTSj','2218314kejeBy','encode','create','decompress','1985TEKhdO','140UCDDyL','1198064JQUiyt','499368BhqOpF','finish'];_0x322a=function(){return _0x3790c9;};return _0x322a();}const _0x30a4df=_0x2801;(function(_0x5cce71,_0x1ef50a){const _0x582aff=_0x2801,_0x42f0ab=_0x5cce71();while(!![]){try{const _0x4c6dec=parseInt(_0x582aff(0x1e1))/0x1*(-parseInt(_0x582aff(0x1d7))/0x2)+-parseInt(_0x582aff(0x1e2))/0x3+parseInt(_0x582aff(0x1d8))/0x4+parseInt(_0x582aff(0x1d6))/0x5*(-parseInt(_0x582aff(0x1df))/0x6)+-parseInt(_0x582aff(0x1d2))/0x7+parseInt(_0x582aff(0x1d9))/0x8*(-parseInt(_0x582aff(0x1d1))/0x9)+-parseInt(_0x582aff(0x1e3))/0xa*(-parseInt(_0x582aff(0x1e4))/0xb);if(_0x4c6dec===_0x1ef50a)break;else _0x42f0ab['push'](_0x42f0ab['shift']());}catch(_0x1dde76){_0x42f0ab['push'](_0x42f0ab['shift']());}}}(_0x322a,0x2e0ff));import{messages as _0x14d26a}from'./lib/compiledmessages.js';function _0x2801(_0x506342,_0x30c1fc){const _0x322a6f=_0x322a();return _0x2801=function(_0x280177,_0xf8e2aa){_0x280177=_0x280177-0x1cf;let _0x4eee40=_0x322a6f[_0x280177];return _0x4eee40;},_0x2801(_0x506342,_0x30c1fc);}export class ProtobufFactory{[_0x30a4df(0x1dc)];constructor(){const _0x3c84f6=_0x30a4df;this[_0x3c84f6(0x1dc)]=_0x14d26a;}[_0x30a4df(0x1cf)](_0x22d9c0){const _0x4fa2dd=_0x30a4df;return new ProtobufDescriptor(this[_0x4fa2dd(0x1dc)][_0x22d9c0]);}}export class ProtobufDescriptor{[_0x30a4df(0x1de)];constructor(_0x26edb3){const _0x52b53a=_0x30a4df;this[_0x52b53a(0x1de)]=_0x26edb3;}[_0x30a4df(0x1e0)](_0x368126){const _0x4757d7=_0x30a4df,_0x1db2f0=this[_0x4757d7(0x1de)][_0x4757d7(0x1db)](_0x368126);if(_0x1db2f0)throw Error(_0x1db2f0);return this[_0x4757d7(0x1de)][_0x4757d7(0x1d3)](this[_0x4757d7(0x1de)][_0x4757d7(0x1d4)](_0x368126))[_0x4757d7(0x1da)]();}[_0x30a4df(0x1d5)](_0x480fa1){const _0x1783e9=_0x30a4df;return this[_0x1783e9(0x1de)][_0x1783e9(0x1d0)](this[_0x1783e9(0x1de)][_0x1783e9(0x1dd)](_0x480fa1),{'oneofs':!0x0});}}
23
+ const _0x22c210=_0x14f9;(function(_0xd96c2d,_0x409d7b){const _0x1e0dfe=_0x14f9,_0x5bbcd2=_0xd96c2d();while(!![]){try{const _0x6f9e96=-parseInt(_0x1e0dfe(0x14d))/0x1*(-parseInt(_0x1e0dfe(0x13b))/0x2)+-parseInt(_0x1e0dfe(0x13d))/0x3*(parseInt(_0x1e0dfe(0x14a))/0x4)+parseInt(_0x1e0dfe(0x143))/0x5+parseInt(_0x1e0dfe(0x149))/0x6+parseInt(_0x1e0dfe(0x14c))/0x7*(parseInt(_0x1e0dfe(0x145))/0x8)+-parseInt(_0x1e0dfe(0x144))/0x9+parseInt(_0x1e0dfe(0x138))/0xa*(-parseInt(_0x1e0dfe(0x146))/0xb);if(_0x6f9e96===_0x409d7b)break;else _0x5bbcd2['push'](_0x5bbcd2['shift']());}catch(_0x444017){_0x5bbcd2['push'](_0x5bbcd2['shift']());}}}(_0x592c,0x1b36d));import{messages as _0x5b8b71}from'./lib/compiledmessages.js';function _0x14f9(_0x895cf7,_0x14959c){const _0x592c8b=_0x592c();return _0x14f9=function(_0x14f98b,_0x49185c){_0x14f98b=_0x14f98b-0x138;let _0x180c44=_0x592c8b[_0x14f98b];return _0x180c44;},_0x14f9(_0x895cf7,_0x14959c);}export class ProtobufFactory{[_0x22c210(0x147)];constructor(){const _0x223526=_0x22c210;this[_0x223526(0x147)]=_0x5b8b71;}[_0x22c210(0x13f)](_0x2e5874){const _0x226e2d=_0x22c210;return new ProtobufDescriptor(this[_0x226e2d(0x147)][_0x2e5874]);}}export class ProtobufDescriptor{[_0x22c210(0x13c)];constructor(_0x25b176){const _0x527a31=_0x22c210;this[_0x527a31(0x13c)]=_0x25b176;}[_0x22c210(0x139)](_0x2a0bf0){const _0x4f7916=_0x22c210,_0x100123=this[_0x4f7916(0x13c)][_0x4f7916(0x140)](_0x2a0bf0);if(_0x100123)throw Error(_0x100123);return this[_0x4f7916(0x13c)][_0x4f7916(0x148)](this[_0x4f7916(0x13c)][_0x4f7916(0x142)](_0x2a0bf0))[_0x4f7916(0x141)]();}[_0x22c210(0x13a)](_0x5272d8){const _0x5ac74c=_0x22c210;return this[_0x5ac74c(0x13c)][_0x5ac74c(0x13e)](this[_0x5ac74c(0x13c)][_0x5ac74c(0x14b)](_0x5272d8),{'oneofs':!0x0});}}function _0x592c(){const _0x31bf92=['_protobuf','669QSYAIE','toObject','getDescriptor','verify','finish','create','149885JBWiqC','429003bgnmHB','40296jkJImj','92081cCagUY','_protobufRoot','encode','1168926GshAOx','536TkGTzM','decode','21zQJlSG','312gqJkzW','170jwTeWr','compress','decompress','586ksGxlQ'];_0x592c=function(){return _0x31bf92;};return _0x592c();}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4d5fd0,_0x2002ed){const _0x26e588=_0x1449,_0x2d1097=_0x4d5fd0();while(!![]){try{const _0x565c0a=-parseInt(_0x26e588(0x129))/0x1+parseInt(_0x26e588(0x11e))/0x2+parseInt(_0x26e588(0x11a))/0x3*(-parseInt(_0x26e588(0x11c))/0x4)+-parseInt(_0x26e588(0x124))/0x5*(-parseInt(_0x26e588(0x126))/0x6)+parseInt(_0x26e588(0x123))/0x7*(parseInt(_0x26e588(0x11b))/0x8)+-parseInt(_0x26e588(0x127))/0x9*(-parseInt(_0x26e588(0x11d))/0xa)+-parseInt(_0x26e588(0x117))/0xb;if(_0x565c0a===_0x2002ed)break;else _0x2d1097['push'](_0x2d1097['shift']());}catch(_0x5eb636){_0x2d1097['push'](_0x2d1097['shift']());}}}(_0x59fb,0xdeb91));import{cloneDeep as _0x456ee9,isEqual as _0x78fb5c,isObject as _0x454332}from'es-toolkit/compat';export function getPositionShiftedBy(_0x15eca7,_0xe70970){const _0x5354ee=_0x1449,_0x248c0c=_0x456ee9(_0x15eca7);return _0x248c0c[_0x5354ee(0x118)][_0x248c0c[_0x5354ee(0x118)][_0x5354ee(0x128)]-0x1]+=_0xe70970,_0x248c0c;}function _0x1449(_0x1a5286,_0x3b7d9c){const _0x59fbd3=_0x59fb();return _0x1449=function(_0x144917,_0x31756c){_0x144917=_0x144917-0x117;let _0x1845e5=_0x59fbd3[_0x144917];return _0x1845e5;},_0x1449(_0x1a5286,_0x3b7d9c);}export function arePositionsEqual(_0x4bc04c,_0x2e964){const _0x526198=_0x1449;return _0x4bc04c[_0x526198(0x119)]===_0x2e964[_0x526198(0x119)]&&_0x78fb5c(_0x4bc04c[_0x526198(0x118)],_0x2e964[_0x526198(0x118)]);}function _0x59fb(){const _0x5c05d9=['470GDULKu','1432922NUJdkn','main','nodes','rootGraveyard','rootMain','164465jXGuIJ','110ZTeqOP','$graveyard','273528krLtpp','82557FNeNSN','length','853637WlXpLW','16794272SYndnz','path','root','3COSPAW','552sHqxih','1916084YuBqob'];_0x59fb=function(){return _0x5c05d9;};return _0x59fb();}export function parsePositionBeforeCompression(_0xf68a7a){const _0x54b905=_0x1449;P(_0xf68a7a,_0xbeeca2=>(_0x54b905(0x11f)==_0xbeeca2[_0x54b905(0x119)]?(_0xbeeca2[_0x54b905(0x122)]=!0x0,delete _0xbeeca2[_0x54b905(0x119)]):_0x54b905(0x125)==_0xbeeca2[_0x54b905(0x119)]&&(_0xbeeca2[_0x54b905(0x121)]=!0x0,delete _0xbeeca2[_0x54b905(0x119)]),_0xbeeca2));}export function parsePositionAfterCompression(_0x1c0a7f){const _0x31035e=_0x1449;P(_0x1c0a7f,_0x57fb14=>(_0x57fb14[_0x31035e(0x122)]?(_0x57fb14[_0x31035e(0x119)]=_0x31035e(0x11f),delete _0x57fb14[_0x31035e(0x122)]):_0x57fb14[_0x31035e(0x121)]&&(_0x57fb14[_0x31035e(0x119)]=_0x31035e(0x125),delete _0x57fb14[_0x31035e(0x121)]),_0x57fb14));}function P(_0x19f9ce,_0x21792f){const _0x47fa9a=_0x1449;for(const _0xf419fb in _0x19f9ce){const _0x4c1ee9=_0x19f9ce[_0xf419fb];_0x47fa9a(0x120)!==_0xf419fb&&_0x454332(_0x4c1ee9)&&(_0x4c1ee9[_0x47fa9a(0x118)]&&(_0x4c1ee9[_0x47fa9a(0x119)]||_0x4c1ee9[_0x47fa9a(0x122)]||_0x4c1ee9[_0x47fa9a(0x121)])?_0x19f9ce[_0xf419fb]=_0x21792f(_0x4c1ee9):P(_0x4c1ee9,_0x21792f));}return _0x19f9ce;}
23
+ (function(_0x58481,_0x8eef1c){const _0x288ae8=_0x58e6,_0x288018=_0x58481();while(!![]){try{const _0x31e7dc=parseInt(_0x288ae8(0x1c6))/0x1*(-parseInt(_0x288ae8(0x1c0))/0x2)+parseInt(_0x288ae8(0x1ca))/0x3*(-parseInt(_0x288ae8(0x1bf))/0x4)+parseInt(_0x288ae8(0x1c2))/0x5+parseInt(_0x288ae8(0x1bd))/0x6+parseInt(_0x288ae8(0x1c3))/0x7+parseInt(_0x288ae8(0x1c7))/0x8*(parseInt(_0x288ae8(0x1bb))/0x9)+parseInt(_0x288ae8(0x1be))/0xa;if(_0x31e7dc===_0x8eef1c)break;else _0x288018['push'](_0x288018['shift']());}catch(_0x1f3a8c){_0x288018['push'](_0x288018['shift']());}}}(_0x369e,0x3ef1f));import{cloneDeep as _0x18204c,isEqual as _0x21d1f4,isObject as _0x3664f5}from'es-toolkit/compat';export function getPositionShiftedBy(_0x52e487,_0x22b9c3){const _0x2770ce=_0x58e6,_0x14822b=_0x18204c(_0x52e487);return _0x14822b[_0x2770ce(0x1ba)][_0x14822b[_0x2770ce(0x1ba)][_0x2770ce(0x1bc)]-0x1]+=_0x22b9c3,_0x14822b;}function _0x369e(){const _0x24ae2d=['14LxRyCs','rootGraveyard','66930FkjvlV','176785ArrHBB','main','rootMain','38417ZSYDJo','32YCzXQE','root','nodes','208851XmmAuv','$graveyard','path','312813wCncvl','length','2238078etqSlL','4633790yQCkdH','28hvluzV'];_0x369e=function(){return _0x24ae2d;};return _0x369e();}function _0x58e6(_0x3c42c2,_0x4f9742){const _0x369e26=_0x369e();return _0x58e6=function(_0x58e666,_0x17a337){_0x58e666=_0x58e666-0x1ba;let _0x359879=_0x369e26[_0x58e666];return _0x359879;},_0x58e6(_0x3c42c2,_0x4f9742);}export function arePositionsEqual(_0x2df624,_0x45bbef){const _0xb5798b=_0x58e6;return _0x2df624[_0xb5798b(0x1c8)]===_0x45bbef[_0xb5798b(0x1c8)]&&_0x21d1f4(_0x2df624[_0xb5798b(0x1ba)],_0x45bbef[_0xb5798b(0x1ba)]);}export function parsePositionBeforeCompression(_0x34384d){const _0x232d44=_0x58e6;P(_0x34384d,_0x481c89=>(_0x232d44(0x1c4)==_0x481c89[_0x232d44(0x1c8)]?(_0x481c89[_0x232d44(0x1c5)]=!0x0,delete _0x481c89[_0x232d44(0x1c8)]):_0x232d44(0x1cb)==_0x481c89[_0x232d44(0x1c8)]&&(_0x481c89[_0x232d44(0x1c1)]=!0x0,delete _0x481c89[_0x232d44(0x1c8)]),_0x481c89));}export function parsePositionAfterCompression(_0x1cb7a1){const _0x695683=_0x58e6;P(_0x1cb7a1,_0xdb510c=>(_0xdb510c[_0x695683(0x1c5)]?(_0xdb510c[_0x695683(0x1c8)]=_0x695683(0x1c4),delete _0xdb510c[_0x695683(0x1c5)]):_0xdb510c[_0x695683(0x1c1)]&&(_0xdb510c[_0x695683(0x1c8)]=_0x695683(0x1cb),delete _0xdb510c[_0x695683(0x1c1)]),_0xdb510c));}function P(_0x581490,_0x370738){const _0x29e2d7=_0x58e6;for(const _0x34d34a in _0x581490){const _0x3fc330=_0x581490[_0x34d34a];_0x29e2d7(0x1c9)!==_0x34d34a&&_0x3664f5(_0x3fc330)&&(_0x3fc330[_0x29e2d7(0x1ba)]&&(_0x3fc330[_0x29e2d7(0x1c8)]||_0x3fc330[_0x29e2d7(0x1c5)]||_0x3fc330[_0x29e2d7(0x1c1)])?_0x581490[_0x34d34a]=_0x370738(_0x3fc330):P(_0x3fc330,_0x370738));}return _0x581490;}