@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.1 → 47.0.0-alpha.3

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 _0x1349d6=_0xd469;function _0xd469(_0x4e80ed,_0x5707cc){var _0x15d9f6=_0x15d9();return _0xd469=function(_0xd46906,_0x138f8b){_0xd46906=_0xd46906-0xf6;var _0x325ade=_0x15d9f6[_0xd46906];return _0x325ade;},_0xd469(_0x4e80ed,_0x5707cc);}(function(_0x47c9b2,_0x1a4588){var _0x16a40d=_0xd469,_0x2fd851=_0x47c9b2();while(!![]){try{var _0x47c866=-parseInt(_0x16a40d(0xfc))/0x1+parseInt(_0x16a40d(0x103))/0x2+parseInt(_0x16a40d(0xf9))/0x3*(-parseInt(_0x16a40d(0xfd))/0x4)+parseInt(_0x16a40d(0xf8))/0x5*(-parseInt(_0x16a40d(0xf7))/0x6)+parseInt(_0x16a40d(0x101))/0x7+parseInt(_0x16a40d(0x106))/0x8*(parseInt(_0x16a40d(0x104))/0x9)+parseInt(_0x16a40d(0x102))/0xa;if(_0x47c866===_0x1a4588)break;else _0x2fd851['push'](_0x2fd851['shift']());}catch(_0x4eb430){_0x2fd851['push'](_0x2fd851['shift']());}}}(_0x15d9,0x628b7));import{OperationCompressor as _0x89292f}from'./operationcompressor.js';export class NoOperationCompressor extends _0x89292f{[_0x1349d6(0xfa)](_0x441017,_0x8280c1){var _0x1e5f63=_0x1349d6;return _0x8280c1[_0x1e5f63(0xfe)](),_0x441017[_0x1e5f63(0xf6)][_0x1e5f63(0x105)](this[_0x1e5f63(0x100)]),!0x0;}[_0x1349d6(0xff)](_0x6d1698,_0x4ae298){var _0x2896ee=_0x1349d6;_0x4ae298[_0x2896ee(0xf6)][_0x2896ee(0xfe)](),_0x6d1698[_0x2896ee(0x105)]({'__className':this[_0x2896ee(0xfb)]});}}function _0x15d9(){var _0x1ef365=['8oMwTnL','types','20466ZJwMcM','405JNjzcz','606468IOtjiL','compress','_operationName','206742zCgzTk','8KpmYYO','shift','decompress','_id','2371467ulfzoc','5393960OUmUaA','321292BnMrdQ','2269449PzMlnp','push'];_0x15d9=function(){return _0x1ef365;};return _0x15d9();}
23
+ function _0x34d5(_0x27b13c,_0x457ae0){var _0x5614d9=_0x5614();return _0x34d5=function(_0x34d599,_0x5861ab){_0x34d599=_0x34d599-0x16c;var _0x570883=_0x5614d9[_0x34d599];return _0x570883;},_0x34d5(_0x27b13c,_0x457ae0);}var _0x12574c=_0x34d5;(function(_0x2fa5cb,_0x25a3e8){var _0xe981a=_0x34d5,_0x3cab17=_0x2fa5cb();while(!![]){try{var _0x3f06e2=parseInt(_0xe981a(0x16f))/0x1+-parseInt(_0xe981a(0x16c))/0x2*(-parseInt(_0xe981a(0x173))/0x3)+parseInt(_0xe981a(0x170))/0x4+parseInt(_0xe981a(0x17b))/0x5*(-parseInt(_0xe981a(0x177))/0x6)+parseInt(_0xe981a(0x17a))/0x7*(parseInt(_0xe981a(0x171))/0x8)+parseInt(_0xe981a(0x17c))/0x9*(parseInt(_0xe981a(0x176))/0xa)+-parseInt(_0xe981a(0x179))/0xb;if(_0x3f06e2===_0x25a3e8)break;else _0x3cab17['push'](_0x3cab17['shift']());}catch(_0x3c21ec){_0x3cab17['push'](_0x3cab17['shift']());}}}(_0x5614,0x2e686));function _0x5614(){var _0x3c47f2=['298270IdaMlK','1483036fZzTbZ','487304WQJUCL','_id','22164JxaCFz','push','_operationName','10cjuwUD','258666LgUxqg','decompress','13047738PBhAkI','21vyoSff','15LvCBMr','3091617IiUsgA','compress','84bOBjsd','types','shift'];_0x5614=function(){return _0x3c47f2;};return _0x5614();}import{OperationCompressor as _0x57c621}from'./operationcompressor.js';export class NoOperationCompressor extends _0x57c621{[_0x12574c(0x17d)](_0x1b022c,_0x342402){var _0x5a0a67=_0x12574c;return _0x342402[_0x5a0a67(0x16e)](),_0x1b022c[_0x5a0a67(0x16d)][_0x5a0a67(0x174)](this[_0x5a0a67(0x172)]),!0x0;}[_0x12574c(0x178)](_0x4af8a9,_0x437d58){var _0x558349=_0x12574c;_0x437d58[_0x558349(0x16d)][_0x558349(0x16e)](),_0x4af8a9[_0x558349(0x174)]({'__className':this[_0x558349(0x175)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f9f05=_0x3120;function _0x3120(_0x5d9bc6,_0x586bcf){const _0x5b8176=_0x5b81();return _0x3120=function(_0x3120a5,_0x1c57fa){_0x3120a5=_0x3120a5-0xbf;let _0x4d467b=_0x5b8176[_0x3120a5];return _0x4d467b;},_0x3120(_0x5d9bc6,_0x586bcf);}(function(_0x5e1c54,_0x404937){const _0x3c88a2=_0x3120,_0x2cd347=_0x5e1c54();while(!![]){try{const _0x1c36c9=-parseInt(_0x3c88a2(0xc2))/0x1+parseInt(_0x3c88a2(0xc6))/0x2+parseInt(_0x3c88a2(0xc3))/0x3+-parseInt(_0x3c88a2(0xcd))/0x4+parseInt(_0x3c88a2(0xd0))/0x5*(parseInt(_0x3c88a2(0xcf))/0x6)+-parseInt(_0x3c88a2(0xc4))/0x7+parseInt(_0x3c88a2(0xc0))/0x8;if(_0x1c36c9===_0x404937)break;else _0x2cd347['push'](_0x2cd347['shift']());}catch(_0x4ab9d0){_0x2cd347['push'](_0x2cd347['shift']());}}}(_0x5b81,0x5cd54));import{parsePositionBeforeCompression as _0x50162c,parsePositionAfterCompression as _0x351e94}from'../utils.js';export class OperationCompressor{[_0x2f9f05(0xc5)];[_0x2f9f05(0xbf)];[_0x2f9f05(0xce)];constructor(_0x61f810,_0x4576e2,_0x507150){const _0x589f43=_0x2f9f05;this[_0x589f43(0xc5)]=_0x61f810,this[_0x589f43(0xbf)]=_0x4576e2,this[_0x589f43(0xce)]=_0x507150;}[_0x2f9f05(0xcb)](_0xd1cced,_0x1b4d97){const _0x2b3b98=_0x2f9f05,_0x23761e=_0x1b4d97[_0x2b3b98(0xc1)]();return _0x50162c(_0x23761e),_0xd1cced[_0x2b3b98(0xc9)][_0x2b3b98(0xc7)](this[_0x2b3b98(0xce)][_0x2b3b98(0xcb)](_0x23761e)),_0xd1cced[_0x2b3b98(0xca)][_0x2b3b98(0xc7)](this[_0x2b3b98(0xc5)]),!0x0;}[_0x2f9f05(0xc8)](_0x1c63e4,_0x5a8de2){const _0x2dab2e=_0x2f9f05;_0x5a8de2[_0x2dab2e(0xca)][_0x2dab2e(0xc1)]();const _0x5465d1=this[_0x2dab2e(0xce)][_0x2dab2e(0xc8)](_0x5a8de2[_0x2dab2e(0xc9)][_0x2dab2e(0xc1)]());_0x351e94(_0x5465d1),_0x5465d1[_0x2dab2e(0xcc)]=this[_0x2dab2e(0xbf)],_0x1c63e4[_0x2dab2e(0xc7)](_0x5465d1);}}function _0x5b81(){const _0x5d31ab=['372ayfFlk','25455PqBhOv','_operationName','7545288WDtZMF','shift','463916sMDdZr','1065450BouBBk','5257014oGCoYU','_id','1103058ICgPMj','push','decompress','buffers','types','compress','__className','2281280wyJOcx','_protobufDescriptor'];_0x5b81=function(){return _0x5d31ab;};return _0x5b81();}
23
+ function _0xf00f(_0x288dac,_0x1910d0){const _0x23bcc4=_0x23bc();return _0xf00f=function(_0xf00fc2,_0x5778bd){_0xf00fc2=_0xf00fc2-0x1da;let _0x363c54=_0x23bcc4[_0xf00fc2];return _0x363c54;},_0xf00f(_0x288dac,_0x1910d0);}const _0x54705f=_0xf00f;function _0x23bc(){const _0x29b89b=['buffers','697266waYnXM','811053OoGskK','_operationName','1200510VXgYot','4048TElitr','compress','52ohIFIG','__className','540736MFFetF','2807lTFDCJ','push','1013ORtLRe','types','decompress','_protobufDescriptor','1430040XRDYfb','_id','shift'];_0x23bc=function(){return _0x29b89b;};return _0x23bc();}(function(_0x32e33b,_0x5b90c7){const _0x55392c=_0xf00f,_0x3b3f33=_0x32e33b();while(!![]){try{const _0x18eb69=parseInt(_0x55392c(0x1e1))/0x1*(-parseInt(_0x55392c(0x1dc))/0x2)+parseInt(_0x55392c(0x1ea))/0x3+parseInt(_0x55392c(0x1de))/0x4+parseInt(_0x55392c(0x1e5))/0x5+-parseInt(_0x55392c(0x1ec))/0x6+parseInt(_0x55392c(0x1df))/0x7*(-parseInt(_0x55392c(0x1da))/0x8)+-parseInt(_0x55392c(0x1e9))/0x9;if(_0x18eb69===_0x5b90c7)break;else _0x3b3f33['push'](_0x3b3f33['shift']());}catch(_0x146e8b){_0x3b3f33['push'](_0x3b3f33['shift']());}}}(_0x23bc,0x2d1a4));import{parsePositionBeforeCompression as _0x5b2c43,parsePositionAfterCompression as _0x234251}from'../utils.js';export class OperationCompressor{[_0x54705f(0x1e6)];[_0x54705f(0x1eb)];[_0x54705f(0x1e4)];constructor(_0x406efc,_0x494c16,_0x2e6795){const _0x130bcc=_0x54705f;this[_0x130bcc(0x1e6)]=_0x406efc,this[_0x130bcc(0x1eb)]=_0x494c16,this[_0x130bcc(0x1e4)]=_0x2e6795;}[_0x54705f(0x1db)](_0xbed3b6,_0x5345f5){const _0x1fe2f4=_0x54705f,_0x2733f9=_0x5345f5[_0x1fe2f4(0x1e7)]();return _0x5b2c43(_0x2733f9),_0xbed3b6[_0x1fe2f4(0x1e8)][_0x1fe2f4(0x1e0)](this[_0x1fe2f4(0x1e4)][_0x1fe2f4(0x1db)](_0x2733f9)),_0xbed3b6[_0x1fe2f4(0x1e2)][_0x1fe2f4(0x1e0)](this[_0x1fe2f4(0x1e6)]),!0x0;}[_0x54705f(0x1e3)](_0x10bf13,_0x47b8b9){const _0x1e2bc9=_0x54705f;_0x47b8b9[_0x1e2bc9(0x1e2)][_0x1e2bc9(0x1e7)]();const _0x4c959f=this[_0x1e2bc9(0x1e4)][_0x1e2bc9(0x1e3)](_0x47b8b9[_0x1e2bc9(0x1e8)][_0x1e2bc9(0x1e7)]());_0x234251(_0x4c959f),_0x4c959f[_0x1e2bc9(0x1dd)]=this[_0x1e2bc9(0x1eb)],_0x10bf13[_0x1e2bc9(0x1e0)](_0x4c959f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ce275=_0x29e4;function _0x29e4(_0x3ef061,_0x2bfe58){const _0x13fe66=_0x13fe();return _0x29e4=function(_0x29e415,_0xfdcf1){_0x29e415=_0x29e415-0x1e4;let _0x5e3f54=_0x13fe66[_0x29e415];return _0x5e3f54;},_0x29e4(_0x3ef061,_0x2bfe58);}(function(_0x4b5290,_0x53e70f){const _0x1a51fa=_0x29e4,_0x1c81f8=_0x4b5290();while(!![]){try{const _0x50ee3a=-parseInt(_0x1a51fa(0x1f0))/0x1+parseInt(_0x1a51fa(0x1e5))/0x2*(-parseInt(_0x1a51fa(0x1eb))/0x3)+parseInt(_0x1a51fa(0x1f2))/0x4*(-parseInt(_0x1a51fa(0x1ee))/0x5)+-parseInt(_0x1a51fa(0x1f8))/0x6+-parseInt(_0x1a51fa(0x1ed))/0x7+parseInt(_0x1a51fa(0x1e9))/0x8*(-parseInt(_0x1a51fa(0x1f7))/0x9)+parseInt(_0x1a51fa(0x1e8))/0xa;if(_0x50ee3a===_0x53e70f)break;else _0x1c81f8['push'](_0x1c81f8['shift']());}catch(_0x587d86){_0x1c81f8['push'](_0x1c81f8['shift']());}}}(_0x13fe,0x53422));import{messages as _0x437705}from'./lib/compiledmessages.js';function _0x13fe(){const _0x3c9331=['_protobuf','decompress','59121kmIaMu','2198454odupZD','compress','2amcuUC','encode','_protobufRoot','25934740oBzuhj','488ieUJVw','getDescriptor','563547EkpCGB','create','4430846zqzgEX','15BELnmY','toObject','318501mdiKvw','decode','461336aHgUOW','verify','finish'];_0x13fe=function(){return _0x3c9331;};return _0x13fe();}export class ProtobufFactory{[_0x4ce275(0x1e7)];constructor(){const _0x270e94=_0x4ce275;this[_0x270e94(0x1e7)]=_0x437705;}[_0x4ce275(0x1ea)](_0x878678){const _0x386ecf=_0x4ce275;return new ProtobufDescriptor(this[_0x386ecf(0x1e7)][_0x878678]);}}export class ProtobufDescriptor{[_0x4ce275(0x1f5)];constructor(_0x12e9e3){const _0x116aa6=_0x4ce275;this[_0x116aa6(0x1f5)]=_0x12e9e3;}[_0x4ce275(0x1e4)](_0x24f062){const _0x58d32e=_0x4ce275,_0x7770=this[_0x58d32e(0x1f5)][_0x58d32e(0x1f3)](_0x24f062);if(_0x7770)throw Error(_0x7770);return this[_0x58d32e(0x1f5)][_0x58d32e(0x1e6)](this[_0x58d32e(0x1f5)][_0x58d32e(0x1ec)](_0x24f062))[_0x58d32e(0x1f4)]();}[_0x4ce275(0x1f6)](_0x328cd5){const _0x5de525=_0x4ce275;return this[_0x5de525(0x1f5)][_0x5de525(0x1ef)](this[_0x5de525(0x1f5)][_0x5de525(0x1f1)](_0x328cd5),{'oneofs':!0x0});}}
23
+ function _0x5d94(){const _0x2ca421=['28EgMzrx','_protobuf','92qpSYpE','verify','decompress','decode','3049520RAhMNJ','getDescriptor','toObject','26442dJNCqE','_protobufRoot','14295VqqOMI','315qusiYv','134994EVTqlV','384816Iqxivt','3372cLstpe','1091088ZKgYpS','encode','finish','compress','create'];_0x5d94=function(){return _0x2ca421;};return _0x5d94();}const _0x3b0fad=_0x1c03;function _0x1c03(_0x197cc5,_0x584d5a){const _0x5d9417=_0x5d94();return _0x1c03=function(_0x1c0352,_0x51f5d7){_0x1c0352=_0x1c0352-0x186;let _0x3844dd=_0x5d9417[_0x1c0352];return _0x3844dd;},_0x1c03(_0x197cc5,_0x584d5a);}(function(_0x5af9a5,_0x485365){const _0x198fba=_0x1c03,_0x5a2eda=_0x5af9a5();while(!![]){try{const _0x35e252=-parseInt(_0x198fba(0x18d))/0x1+-parseInt(_0x198fba(0x195))/0x2*(parseInt(_0x198fba(0x18f))/0x3)+-parseInt(_0x198fba(0x197))/0x4*(parseInt(_0x198fba(0x18b))/0x5)+-parseInt(_0x198fba(0x189))/0x6*(-parseInt(_0x198fba(0x18c))/0x7)+-parseInt(_0x198fba(0x18e))/0x8+-parseInt(_0x198fba(0x190))/0x9+parseInt(_0x198fba(0x186))/0xa;if(_0x35e252===_0x485365)break;else _0x5a2eda['push'](_0x5a2eda['shift']());}catch(_0x4e332a){_0x5a2eda['push'](_0x5a2eda['shift']());}}}(_0x5d94,0x1cac6));import{messages as _0x413c04}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x3b0fad(0x18a)];constructor(){const _0x2162b8=_0x3b0fad;this[_0x2162b8(0x18a)]=_0x413c04;}[_0x3b0fad(0x187)](_0x1268be){const _0x8e9762=_0x3b0fad;return new ProtobufDescriptor(this[_0x8e9762(0x18a)][_0x1268be]);}}export class ProtobufDescriptor{[_0x3b0fad(0x196)];constructor(_0x5afae1){const _0x14fc78=_0x3b0fad;this[_0x14fc78(0x196)]=_0x5afae1;}[_0x3b0fad(0x193)](_0x248c6a){const _0x46b4a7=_0x3b0fad,_0x3511a8=this[_0x46b4a7(0x196)][_0x46b4a7(0x198)](_0x248c6a);if(_0x3511a8)throw Error(_0x3511a8);return this[_0x46b4a7(0x196)][_0x46b4a7(0x191)](this[_0x46b4a7(0x196)][_0x46b4a7(0x194)](_0x248c6a))[_0x46b4a7(0x192)]();}[_0x3b0fad(0x199)](_0x2f33fb){const _0xca2f2e=_0x3b0fad;return this[_0xca2f2e(0x196)][_0xca2f2e(0x188)](this[_0xca2f2e(0x196)][_0xca2f2e(0x19a)](_0x2f33fb),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4d798d,_0x43d965){const _0x394dd4=_0x2a43,_0x6a1f55=_0x4d798d();while(!![]){try{const _0x15c02d=parseInt(_0x394dd4(0x126))/0x1+parseInt(_0x394dd4(0x12a))/0x2+parseInt(_0x394dd4(0x122))/0x3*(parseInt(_0x394dd4(0x121))/0x4)+parseInt(_0x394dd4(0x129))/0x5+parseInt(_0x394dd4(0x127))/0x6*(parseInt(_0x394dd4(0x12e))/0x7)+parseInt(_0x394dd4(0x130))/0x8*(-parseInt(_0x394dd4(0x12f))/0x9)+-parseInt(_0x394dd4(0x11f))/0xa*(parseInt(_0x394dd4(0x125))/0xb);if(_0x15c02d===_0x43d965)break;else _0x6a1f55['push'](_0x6a1f55['shift']());}catch(_0x319126){_0x6a1f55['push'](_0x6a1f55['shift']());}}}(_0x1fc8,0x52ea0));import{cloneDeep as _0x5b2367,isEqual as _0x3e96a7,isObject as _0x3c3ea0}from'es-toolkit/compat';export function getPositionShiftedBy(_0xc26d21,_0x7f13d3){const _0x16fc44=_0x2a43,_0x383ab8=_0x5b2367(_0xc26d21);return _0x383ab8[_0x16fc44(0x123)][_0x383ab8[_0x16fc44(0x123)][_0x16fc44(0x131)]-0x1]+=_0x7f13d3,_0x383ab8;}export function arePositionsEqual(_0x44fc24,_0x51c9e0){const _0x55e924=_0x2a43;return _0x44fc24[_0x55e924(0x120)]===_0x51c9e0[_0x55e924(0x120)]&&_0x3e96a7(_0x44fc24[_0x55e924(0x123)],_0x51c9e0[_0x55e924(0x123)]);}function _0x2a43(_0x5dd6bd,_0x36de69){const _0x1fc8af=_0x1fc8();return _0x2a43=function(_0x2a436a,_0x3fbc44){_0x2a436a=_0x2a436a-0x11f;let _0x12cdd1=_0x1fc8af[_0x2a436a];return _0x12cdd1;},_0x2a43(_0x5dd6bd,_0x36de69);}export function parsePositionBeforeCompression(_0x20c4d7){const _0x1171d1=_0x2a43;P(_0x20c4d7,_0x58b151=>(_0x1171d1(0x12c)==_0x58b151[_0x1171d1(0x120)]?(_0x58b151[_0x1171d1(0x128)]=!0x0,delete _0x58b151[_0x1171d1(0x120)]):_0x1171d1(0x124)==_0x58b151[_0x1171d1(0x120)]&&(_0x58b151[_0x1171d1(0x12d)]=!0x0,delete _0x58b151[_0x1171d1(0x120)]),_0x58b151));}function _0x1fc8(){const _0x10e986=['176kundLU','433045gWMmkj','1728708Nsuqld','rootMain','590940fBCxgM','918930ZbtCUQ','nodes','main','rootGraveyard','7ZxOVFz','621TLCtaS','38320cDUowd','length','715660BUYoFi','root','2065464PJRUrd','3VxEMYA','path','$graveyard'];_0x1fc8=function(){return _0x10e986;};return _0x1fc8();}export function parsePositionAfterCompression(_0x186fef){const _0x460e10=_0x2a43;P(_0x186fef,_0x3db4e3=>(_0x3db4e3[_0x460e10(0x128)]?(_0x3db4e3[_0x460e10(0x120)]=_0x460e10(0x12c),delete _0x3db4e3[_0x460e10(0x128)]):_0x3db4e3[_0x460e10(0x12d)]&&(_0x3db4e3[_0x460e10(0x120)]=_0x460e10(0x124),delete _0x3db4e3[_0x460e10(0x12d)]),_0x3db4e3));}function P(_0x21d94c,_0x46817b){const _0x17a1fd=_0x2a43;for(const _0x8a5960 in _0x21d94c){const _0x212ccf=_0x21d94c[_0x8a5960];_0x17a1fd(0x12b)!==_0x8a5960&&_0x3c3ea0(_0x212ccf)&&(_0x212ccf[_0x17a1fd(0x123)]&&(_0x212ccf[_0x17a1fd(0x120)]||_0x212ccf[_0x17a1fd(0x128)]||_0x212ccf[_0x17a1fd(0x12d)])?_0x21d94c[_0x8a5960]=_0x46817b(_0x212ccf):P(_0x212ccf,_0x46817b));}return _0x21d94c;}
23
+ (function(_0x37a0be,_0x494eb3){const _0x13a25b=_0x5a61,_0x37af94=_0x37a0be();while(!![]){try{const _0x3d5dda=parseInt(_0x13a25b(0x77))/0x1*(-parseInt(_0x13a25b(0x72))/0x2)+parseInt(_0x13a25b(0x74))/0x3+parseInt(_0x13a25b(0x6c))/0x4*(parseInt(_0x13a25b(0x6f))/0x5)+-parseInt(_0x13a25b(0x7c))/0x6+parseInt(_0x13a25b(0x7d))/0x7+parseInt(_0x13a25b(0x76))/0x8*(-parseInt(_0x13a25b(0x71))/0x9)+-parseInt(_0x13a25b(0x6e))/0xa*(-parseInt(_0x13a25b(0x70))/0xb);if(_0x3d5dda===_0x494eb3)break;else _0x37af94['push'](_0x37af94['shift']());}catch(_0x2f2ed1){_0x37af94['push'](_0x37af94['shift']());}}}(_0x2e36,0xbc8f5));function _0x5a61(_0x3906cd,_0x2f894e){const _0x2e3687=_0x2e36();return _0x5a61=function(_0x5a61b6,_0x49ca33){_0x5a61b6=_0x5a61b6-0x6b;let _0x16c888=_0x2e3687[_0x5a61b6];return _0x16c888;},_0x5a61(_0x3906cd,_0x2f894e);}import{cloneDeep as _0x524c0d,isEqual as _0x3571d1,isObject as _0x287273}from'es-toolkit/compat';function _0x2e36(){const _0x1e4951=['18305270WuCBUr','95095RblcKx','11YYDEWi','72dRgKJK','1564324kWjwrL','main','626982xTmemD','root','479080xdxPGn','1nUUgiO','nodes','rootMain','rootGraveyard','$graveyard','4228476zKAGaF','2362129zinydG','length','76zYyBgl','path'];_0x2e36=function(){return _0x1e4951;};return _0x2e36();}export function getPositionShiftedBy(_0x33c90f,_0x1f3ab7){const _0x43f5d8=_0x5a61,_0x24e898=_0x524c0d(_0x33c90f);return _0x24e898[_0x43f5d8(0x6d)][_0x24e898[_0x43f5d8(0x6d)][_0x43f5d8(0x6b)]-0x1]+=_0x1f3ab7,_0x24e898;}export function arePositionsEqual(_0x1926c5,_0x55d7e6){const _0x670a97=_0x5a61;return _0x1926c5[_0x670a97(0x75)]===_0x55d7e6[_0x670a97(0x75)]&&_0x3571d1(_0x1926c5[_0x670a97(0x6d)],_0x55d7e6[_0x670a97(0x6d)]);}export function parsePositionBeforeCompression(_0x1358cf){const _0x2b2659=_0x5a61;P(_0x1358cf,_0x406b7c=>(_0x2b2659(0x73)==_0x406b7c[_0x2b2659(0x75)]?(_0x406b7c[_0x2b2659(0x79)]=!0x0,delete _0x406b7c[_0x2b2659(0x75)]):_0x2b2659(0x7b)==_0x406b7c[_0x2b2659(0x75)]&&(_0x406b7c[_0x2b2659(0x7a)]=!0x0,delete _0x406b7c[_0x2b2659(0x75)]),_0x406b7c));}export function parsePositionAfterCompression(_0x183b33){const _0x58205e=_0x5a61;P(_0x183b33,_0x12b43f=>(_0x12b43f[_0x58205e(0x79)]?(_0x12b43f[_0x58205e(0x75)]=_0x58205e(0x73),delete _0x12b43f[_0x58205e(0x79)]):_0x12b43f[_0x58205e(0x7a)]&&(_0x12b43f[_0x58205e(0x75)]=_0x58205e(0x7b),delete _0x12b43f[_0x58205e(0x7a)]),_0x12b43f));}function P(_0x58720d,_0x3d4091){const _0x5461e0=_0x5a61;for(const _0x3a19c5 in _0x58720d){const _0x53c3c6=_0x58720d[_0x3a19c5];_0x5461e0(0x78)!==_0x3a19c5&&_0x287273(_0x53c3c6)&&(_0x53c3c6[_0x5461e0(0x6d)]&&(_0x53c3c6[_0x5461e0(0x75)]||_0x53c3c6[_0x5461e0(0x79)]||_0x53c3c6[_0x5461e0(0x7a)])?_0x58720d[_0x3a19c5]=_0x3d4091(_0x53c3c6):P(_0x53c3c6,_0x3d4091));}return _0x58720d;}