@ckeditor/ckeditor5-operations-compressor 47.5.0 → 47.6.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 _0x3d2b13=_0x1e5f;(function(_0x13967d,_0x4c58f7){var _0x404b8d=_0x1e5f,_0x16e967=_0x13967d();while(!![]){try{var _0x5b22e0=parseInt(_0x404b8d(0x119))/0x1*(-parseInt(_0x404b8d(0x117))/0x2)+-parseInt(_0x404b8d(0x11f))/0x3+parseInt(_0x404b8d(0x116))/0x4*(-parseInt(_0x404b8d(0x11a))/0x5)+-parseInt(_0x404b8d(0x128))/0x6+-parseInt(_0x404b8d(0x124))/0x7+parseInt(_0x404b8d(0x120))/0x8*(parseInt(_0x404b8d(0x123))/0x9)+-parseInt(_0x404b8d(0x11b))/0xa*(-parseInt(_0x404b8d(0x126))/0xb);if(_0x5b22e0===_0x4c58f7)break;else _0x16e967['push'](_0x16e967['shift']());}catch(_0x30a72c){_0x16e967['push'](_0x16e967['shift']());}}}(_0x3004,0xe64ba));function _0x1e5f(_0x34ef8b,_0x578b43){var _0x30042d=_0x3004();return _0x1e5f=function(_0x1e5f01,_0x2abdd5){_0x1e5f01=_0x1e5f01-0x116;var _0x240a34=_0x30042d[_0x1e5f01];return _0x240a34;},_0x1e5f(_0x34ef8b,_0x578b43);}import{OperationCompressor as _0x27da51}from'./operationcompressor.js';export class NoOperationCompressor extends _0x27da51{[_0x3d2b13(0x127)](_0x570560,_0x2ca938){var _0x5da5a8=_0x3d2b13;return _0x2ca938[_0x5da5a8(0x11c)]++,_0x570560[_0x5da5a8(0x11d)][_0x5da5a8(0x11e)](this[_0x5da5a8(0x122)]),!0x0;}[_0x3d2b13(0x121)](_0x6ebce6,_0x26fe55){var _0x5ed5e6=_0x3d2b13;_0x26fe55[_0x5ed5e6(0x118)]++,_0x6ebce6[_0x5ed5e6(0x11e)]({'__className':this[_0x5ed5e6(0x125)]});}}function _0x3004(){var _0x2042d0=['156kXAWVH','1478Ksrssu','typeIndex','1372FLBewT','196285fOIPlx','610TNanmR','index','types','push','3109905HPmdxI','130904DRiYyx','decompress','_id','198EIVVgA','1115436SwJbPx','_operationName','837793MBfjAz','compress','1930350LDSIie'];_0x3004=function(){return _0x2042d0;};return _0x3004();}
23
+ function _0x11f3(_0x291eb7,_0x58d71c){var _0xb56375=_0xb563();return _0x11f3=function(_0x11f3cb,_0x10ec5c){_0x11f3cb=_0x11f3cb-0x89;var _0x4745e8=_0xb56375[_0x11f3cb];return _0x4745e8;},_0x11f3(_0x291eb7,_0x58d71c);}var _0x15f58c=_0x11f3;(function(_0x2af258,_0x2e212e){var _0xb326d1=_0x11f3,_0xa8a43a=_0x2af258();while(!![]){try{var _0x3181fd=parseInt(_0xb326d1(0x97))/0x1*(parseInt(_0xb326d1(0x8a))/0x2)+-parseInt(_0xb326d1(0x91))/0x3*(parseInt(_0xb326d1(0x96))/0x4)+parseInt(_0xb326d1(0x8f))/0x5*(parseInt(_0xb326d1(0x9d))/0x6)+parseInt(_0xb326d1(0x93))/0x7*(parseInt(_0xb326d1(0x99))/0x8)+parseInt(_0xb326d1(0x92))/0x9+parseInt(_0xb326d1(0x8c))/0xa*(parseInt(_0xb326d1(0x8d))/0xb)+-parseInt(_0xb326d1(0x98))/0xc*(parseInt(_0xb326d1(0x95))/0xd);if(_0x3181fd===_0x2e212e)break;else _0xa8a43a['push'](_0xa8a43a['shift']());}catch(_0x4cb47b){_0xa8a43a['push'](_0xa8a43a['shift']());}}}(_0xb563,0x95bdd));import{OperationCompressor as _0x22926b}from'./operationcompressor.js';export class NoOperationCompressor extends _0x22926b{[_0x15f58c(0x9b)](_0x5e981d,_0x4f4708){var _0x1e4768=_0x15f58c;return _0x4f4708[_0x1e4768(0x90)]++,_0x5e981d[_0x1e4768(0x89)][_0x1e4768(0x9a)](this[_0x1e4768(0x8b)]),!0x0;}[_0x15f58c(0x8e)](_0x18156d,_0x3cf088){var _0x1a26ee=_0x15f58c;_0x3cf088[_0x1a26ee(0x94)]++,_0x18156d[_0x1a26ee(0x9a)]({'__className':this[_0x1a26ee(0x9c)]});}}function _0xb563(){var _0x3e6513=['_operationName','18KzgvvA','types','2aPgFOr','_id','2325040eLwByT','11UkgjxA','decompress','1211085rZdbKE','index','18897NXbaKC','1414908oehJak','1160803sBBxHS','typeIndex','851279ILfCXK','148wVYxeO','219038HeoYLk','120xNRiIx','8ZVYjUL','push','compress'];_0xb563=function(){return _0x3e6513;};return _0xb563();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4669(_0x4afea7,_0x2faa52){const _0x1fd260=_0x1fd2();return _0x4669=function(_0x466965,_0x28d5fc){_0x466965=_0x466965-0x120;let _0x396266=_0x1fd260[_0x466965];return _0x396266;},_0x4669(_0x4afea7,_0x2faa52);}const _0x14cb16=_0x4669;function _0x1fd2(){const _0x5d6803=['1105690pGJIIE','compress','43263VWIDyt','24325245WgqQau','decompress','_id','push','_protobufDescriptor','333392oRWAmA','119VMjOcl','buffers','bufferIndex','2DOoAew','operations','__className','7978122QQJLyu','274808UGJBPq','6460830lUFSJg','types','index','_operationName','typeIndex'];_0x1fd2=function(){return _0x5d6803;};return _0x1fd2();}(function(_0x2abed1,_0x8b1f89){const _0x1df2f0=_0x4669,_0x1901ec=_0x2abed1();while(!![]){try{const _0x4bcb2d=parseInt(_0x1df2f0(0x132))/0x1+parseInt(_0x1df2f0(0x128))/0x2*(parseInt(_0x1df2f0(0x134))/0x3)+parseInt(_0x1df2f0(0x124))/0x4+-parseInt(_0x1df2f0(0x12d))/0x5+-parseInt(_0x1df2f0(0x12b))/0x6+parseInt(_0x1df2f0(0x125))/0x7*(-parseInt(_0x1df2f0(0x12c))/0x8)+parseInt(_0x1df2f0(0x135))/0x9;if(_0x4bcb2d===_0x8b1f89)break;else _0x1901ec['push'](_0x1901ec['shift']());}catch(_0x45a62a){_0x1901ec['push'](_0x1901ec['shift']());}}}(_0x1fd2,0xab01c));import{parsePositionBeforeCompression as _0xdf2afe,parsePositionAfterCompression as _0x5a4abd}from'../utils.js';export class OperationCompressor{[_0x14cb16(0x121)];[_0x14cb16(0x130)];[_0x14cb16(0x123)];constructor(_0x585ae0,_0x21ee25,_0x2f3fd7){const _0x44d432=_0x14cb16;this[_0x44d432(0x121)]=_0x585ae0,this[_0x44d432(0x130)]=_0x21ee25,this[_0x44d432(0x123)]=_0x2f3fd7;}[_0x14cb16(0x133)](_0x4b2fb0,_0x54867f){const _0x7448e9=_0x14cb16,_0x54087a=_0x54867f[_0x7448e9(0x129)][_0x54867f[_0x7448e9(0x12f)]++];return _0xdf2afe(_0x54087a),_0x4b2fb0[_0x7448e9(0x126)][_0x7448e9(0x122)](this[_0x7448e9(0x123)][_0x7448e9(0x133)](_0x54087a)),_0x4b2fb0[_0x7448e9(0x12e)][_0x7448e9(0x122)](this[_0x7448e9(0x121)]),!0x0;}[_0x14cb16(0x120)](_0x161746,_0x17b759){const _0x51e9c5=_0x14cb16;_0x17b759[_0x51e9c5(0x131)]++;const _0x325318=_0x17b759[_0x51e9c5(0x126)][_0x17b759[_0x51e9c5(0x127)]++],_0x13b091=this[_0x51e9c5(0x123)][_0x51e9c5(0x120)](_0x325318);_0x5a4abd(_0x13b091),_0x13b091[_0x51e9c5(0x12a)]=this[_0x51e9c5(0x130)],_0x161746[_0x51e9c5(0x122)](_0x13b091);}}
23
+ const _0x5d21ec=_0x1567;function _0x4eaa(){const _0x102f40=['359740gRYifY','decompress','_id','4wIAmcA','typeIndex','4BYJWMK','1962085hPgAUi','1942059gJRjVf','__className','types','compress','3674984TesaMJ','bufferIndex','22BEikhT','21292LxADxQ','_operationName','7418988PkjgPN','operations','index','3844547kdPeSd','18vCFuJZ','push','_protobufDescriptor','buffers','6yTRIgs'];_0x4eaa=function(){return _0x102f40;};return _0x4eaa();}function _0x1567(_0x4b1f8f,_0x427b31){const _0x4eaa3f=_0x4eaa();return _0x1567=function(_0x15672e,_0x22b5d8){_0x15672e=_0x15672e-0xe2;let _0x12934c=_0x4eaa3f[_0x15672e];return _0x12934c;},_0x1567(_0x4b1f8f,_0x427b31);}(function(_0x571e9d,_0x127fe1){const _0x49539f=_0x1567,_0x4496e8=_0x571e9d();while(!![]){try{const _0x4deab1=-parseInt(_0x49539f(0xee))/0x1*(parseInt(_0x49539f(0xf7))/0x2)+-parseInt(_0x49539f(0xf0))/0x3*(-parseInt(_0x49539f(0xec))/0x4)+-parseInt(_0x49539f(0xef))/0x5+parseInt(_0x49539f(0xe8))/0x6*(-parseInt(_0x49539f(0xe3))/0x7)+-parseInt(_0x49539f(0xf4))/0x8+-parseInt(_0x49539f(0xe4))/0x9*(parseInt(_0x49539f(0xe9))/0xa)+-parseInt(_0x49539f(0xf6))/0xb*(-parseInt(_0x49539f(0xf9))/0xc);if(_0x4deab1===_0x127fe1)break;else _0x4496e8['push'](_0x4496e8['shift']());}catch(_0x520f74){_0x4496e8['push'](_0x4496e8['shift']());}}}(_0x4eaa,0x59eb4));import{parsePositionBeforeCompression as _0x2e23ce,parsePositionAfterCompression as _0x56d0a2}from'../utils.js';export class OperationCompressor{[_0x5d21ec(0xeb)];[_0x5d21ec(0xf8)];[_0x5d21ec(0xe6)];constructor(_0x51c8c3,_0x1a6caa,_0x32fa0c){const _0x502d90=_0x5d21ec;this[_0x502d90(0xeb)]=_0x51c8c3,this[_0x502d90(0xf8)]=_0x1a6caa,this[_0x502d90(0xe6)]=_0x32fa0c;}[_0x5d21ec(0xf3)](_0x5311b2,_0xcabea3){const _0x4aa8fb=_0x5d21ec,_0x12a16a=_0xcabea3[_0x4aa8fb(0xfa)][_0xcabea3[_0x4aa8fb(0xe2)]++];return _0x2e23ce(_0x12a16a),_0x5311b2[_0x4aa8fb(0xe7)][_0x4aa8fb(0xe5)](this[_0x4aa8fb(0xe6)][_0x4aa8fb(0xf3)](_0x12a16a)),_0x5311b2[_0x4aa8fb(0xf2)][_0x4aa8fb(0xe5)](this[_0x4aa8fb(0xeb)]),!0x0;}[_0x5d21ec(0xea)](_0x48b76e,_0x5cd497){const _0xb248d9=_0x5d21ec;_0x5cd497[_0xb248d9(0xed)]++;const _0x30e968=_0x5cd497[_0xb248d9(0xe7)][_0x5cd497[_0xb248d9(0xf5)]++],_0xecf5d1=this[_0xb248d9(0xe6)][_0xb248d9(0xea)](_0x30e968);_0x56d0a2(_0xecf5d1),_0xecf5d1[_0xb248d9(0xf1)]=this[_0xb248d9(0xf8)],_0x48b76e[_0xb248d9(0xe5)](_0xecf5d1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5644b9=_0x5d7a;(function(_0x389e82,_0x501684){const _0x29773b=_0x5d7a,_0xb81417=_0x389e82();while(!![]){try{const _0x2d725a=parseInt(_0x29773b(0x17a))/0x1*(parseInt(_0x29773b(0x17f))/0x2)+-parseInt(_0x29773b(0x185))/0x3+-parseInt(_0x29773b(0x173))/0x4+parseInt(_0x29773b(0x174))/0x5+-parseInt(_0x29773b(0x181))/0x6+parseInt(_0x29773b(0x184))/0x7*(-parseInt(_0x29773b(0x17c))/0x8)+-parseInt(_0x29773b(0x17d))/0x9*(-parseInt(_0x29773b(0x187))/0xa);if(_0x2d725a===_0x501684)break;else _0xb81417['push'](_0xb81417['shift']());}catch(_0x248f23){_0xb81417['push'](_0xb81417['shift']());}}}(_0x5e0c,0x55c4c));function _0x5d7a(_0xbb9e62,_0xec5482){const _0x5e0cdc=_0x5e0c();return _0x5d7a=function(_0x5d7ad2,_0xbfda2){_0x5d7ad2=_0x5d7ad2-0x173;let _0x23bca1=_0x5e0cdc[_0x5d7ad2];return _0x23bca1;},_0x5d7a(_0xbb9e62,_0xec5482);}import{messages as _0x34b453}from'./lib/compiledmessages.js';function _0x5e0c(){const _0x1bf4dc=['1790112bKUlhl','decompress','12696920DLLDhH','1458448orfxKe','2118235FyOHym','_protobufRoot','finish','compress','toObject','_protobuf','1qkxUJZ','create','632EPlxBf','9Wvjtfu','verify','283706pdaQtg','decode','754506exXkFd','encode','getDescriptor','35161NRDzbE'];_0x5e0c=function(){return _0x1bf4dc;};return _0x5e0c();}export class ProtobufFactory{[_0x5644b9(0x175)];constructor(){const _0x56a193=_0x5644b9;this[_0x56a193(0x175)]=_0x34b453;}[_0x5644b9(0x183)](_0x1e2a37){const _0x296182=_0x5644b9;return new ProtobufDescriptor(this[_0x296182(0x175)][_0x1e2a37]);}}export class ProtobufDescriptor{[_0x5644b9(0x179)];constructor(_0x5538e3){const _0x40351c=_0x5644b9;this[_0x40351c(0x179)]=_0x5538e3;}[_0x5644b9(0x177)](_0x41a85d){const _0x44a1b7=_0x5644b9,_0x2284a3=this[_0x44a1b7(0x179)][_0x44a1b7(0x17e)](_0x41a85d);if(_0x2284a3)throw Error(_0x2284a3);return this[_0x44a1b7(0x179)][_0x44a1b7(0x182)](this[_0x44a1b7(0x179)][_0x44a1b7(0x17b)](_0x41a85d))[_0x44a1b7(0x176)]();}[_0x5644b9(0x186)](_0x3b0672){const _0x138b0e=_0x5644b9;return this[_0x138b0e(0x179)][_0x138b0e(0x178)](this[_0x138b0e(0x179)][_0x138b0e(0x180)](_0x3b0672),{'oneofs':!0x0});}}
23
+ function _0x1d6b(){const _0x2b364b=['verify','1279048vRjmpk','1314918MQnYgF','2184828ioPqQy','1583210HNKosV','getDescriptor','compress','617728iNrTJa','create','decompress','_protobuf','3564fZXqpl','_protobufRoot','1556660XwjOTd','456zTcVkh','decode','encode','finish','toObject'];_0x1d6b=function(){return _0x2b364b;};return _0x1d6b();}const _0x212065=_0x25a8;(function(_0x388b59,_0x2c4b8c){const _0x7f9180=_0x25a8,_0x9e0f6=_0x388b59();while(!![]){try{const _0x4e3a8f=parseInt(_0x7f9180(0x111))/0x1+parseInt(_0x7f9180(0x10c))/0x2+-parseInt(_0x7f9180(0x115))/0x3*(-parseInt(_0x7f9180(0x118))/0x4)+-parseInt(_0x7f9180(0x10e))/0x5+-parseInt(_0x7f9180(0x10d))/0x6+-parseInt(_0x7f9180(0x117))/0x7+-parseInt(_0x7f9180(0x10b))/0x8;if(_0x4e3a8f===_0x2c4b8c)break;else _0x9e0f6['push'](_0x9e0f6['shift']());}catch(_0x5c4de2){_0x9e0f6['push'](_0x9e0f6['shift']());}}}(_0x1d6b,0x54dba));function _0x25a8(_0x2684b6,_0x38b5ba){const _0x1d6b3e=_0x1d6b();return _0x25a8=function(_0x25a87e,_0x35bd00){_0x25a87e=_0x25a87e-0x10a;let _0x51f697=_0x1d6b3e[_0x25a87e];return _0x51f697;},_0x25a8(_0x2684b6,_0x38b5ba);}import{messages as _0x1d2cc0}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x212065(0x116)];constructor(){const _0x38b81f=_0x212065;this[_0x38b81f(0x116)]=_0x1d2cc0;}[_0x212065(0x10f)](_0x80dd48){const _0x5d4eeb=_0x212065;return new ProtobufDescriptor(this[_0x5d4eeb(0x116)][_0x80dd48]);}}export class ProtobufDescriptor{[_0x212065(0x114)];constructor(_0x440ea2){const _0x243e21=_0x212065;this[_0x243e21(0x114)]=_0x440ea2;}[_0x212065(0x110)](_0x3623f9){const _0x111c12=_0x212065,_0x5ead07=this[_0x111c12(0x114)][_0x111c12(0x10a)](_0x3623f9);if(_0x5ead07)throw Error(_0x5ead07);return this[_0x111c12(0x114)][_0x111c12(0x11a)](this[_0x111c12(0x114)][_0x111c12(0x112)](_0x3623f9))[_0x111c12(0x11b)]();}[_0x212065(0x113)](_0xcdacb9){const _0x5f1855=_0x212065;return this[_0x5f1855(0x114)][_0x5f1855(0x11c)](this[_0x5f1855(0x114)][_0x5f1855(0x119)](_0xcdacb9),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x608429,_0x1b4cc0){const _0x206e55=_0x392c,_0x397c44=_0x608429();while(!![]){try{const _0x2f15be=-parseInt(_0x206e55(0x111))/0x1*(parseInt(_0x206e55(0x121))/0x2)+-parseInt(_0x206e55(0x11b))/0x3*(-parseInt(_0x206e55(0x11f))/0x4)+parseInt(_0x206e55(0x112))/0x5*(-parseInt(_0x206e55(0x114))/0x6)+-parseInt(_0x206e55(0x11a))/0x7*(-parseInt(_0x206e55(0x119))/0x8)+parseInt(_0x206e55(0x120))/0x9+parseInt(_0x206e55(0x122))/0xa*(parseInt(_0x206e55(0x113))/0xb)+-parseInt(_0x206e55(0x118))/0xc;if(_0x2f15be===_0x1b4cc0)break;else _0x397c44['push'](_0x397c44['shift']());}catch(_0x3ff35d){_0x397c44['push'](_0x397c44['shift']());}}}(_0x1832,0x85e26));function _0x1832(){const _0xc92000=['994234ddFNWp','85070TGUIOr','rootGraveyard','path','1TbnzMN','5ngZRPg','671tHGOab','2200098PbnQkk','rootMain','length','root','19359324HgMOgA','40SYEiLn','850437xRVpnE','1656Tcuqtk','nodes','$graveyard','main','7888gIiEJW','7294869OTzFsY'];_0x1832=function(){return _0xc92000;};return _0x1832();}import{cloneDeep as _0x4b8df8,isEqual as _0x445be8,isObject as _0x5dc8c7}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1bc05f,_0x103463){const _0x20eef2=_0x392c,_0x2e6933=_0x4b8df8(_0x1bc05f);return _0x2e6933[_0x20eef2(0x110)][_0x2e6933[_0x20eef2(0x110)][_0x20eef2(0x116)]-0x1]+=_0x103463,_0x2e6933;}export function arePositionsEqual(_0x1e624c,_0x40421b){const _0x4ed943=_0x392c;return _0x1e624c[_0x4ed943(0x117)]===_0x40421b[_0x4ed943(0x117)]&&_0x445be8(_0x1e624c[_0x4ed943(0x110)],_0x40421b[_0x4ed943(0x110)]);}export function parsePositionBeforeCompression(_0x295608){const _0x3505b9=_0x392c;P(_0x295608,_0x538a16=>(_0x3505b9(0x11e)==_0x538a16[_0x3505b9(0x117)]?(_0x538a16[_0x3505b9(0x115)]=!0x0,delete _0x538a16[_0x3505b9(0x117)]):_0x3505b9(0x11d)==_0x538a16[_0x3505b9(0x117)]&&(_0x538a16[_0x3505b9(0x10f)]=!0x0,delete _0x538a16[_0x3505b9(0x117)]),_0x538a16));}function _0x392c(_0x307f58,_0x3615ea){const _0x183283=_0x1832();return _0x392c=function(_0x392c32,_0x3613b5){_0x392c32=_0x392c32-0x10f;let _0x1e3156=_0x183283[_0x392c32];return _0x1e3156;},_0x392c(_0x307f58,_0x3615ea);}export function parsePositionAfterCompression(_0xde2206){const _0x3f233e=_0x392c;P(_0xde2206,_0x2fb844=>(_0x2fb844[_0x3f233e(0x115)]?(_0x2fb844[_0x3f233e(0x117)]=_0x3f233e(0x11e),delete _0x2fb844[_0x3f233e(0x115)]):_0x2fb844[_0x3f233e(0x10f)]&&(_0x2fb844[_0x3f233e(0x117)]=_0x3f233e(0x11d),delete _0x2fb844[_0x3f233e(0x10f)]),_0x2fb844));}function P(_0x24f9ef,_0x49da6){const _0x2601e5=_0x392c;for(const _0x1361c1 in _0x24f9ef){const _0x593c27=_0x24f9ef[_0x1361c1];_0x2601e5(0x11c)!==_0x1361c1&&_0x5dc8c7(_0x593c27)&&(_0x593c27[_0x2601e5(0x110)]&&(_0x593c27[_0x2601e5(0x117)]||_0x593c27[_0x2601e5(0x115)]||_0x593c27[_0x2601e5(0x10f)])?_0x24f9ef[_0x1361c1]=_0x49da6(_0x593c27):P(_0x593c27,_0x49da6));}return _0x24f9ef;}
23
+ (function(_0xb89e9,_0x5433b7){const _0x52c2da=_0xa984,_0x4e0adf=_0xb89e9();while(!![]){try{const _0x1c2c74=-parseInt(_0x52c2da(0x144))/0x1+-parseInt(_0x52c2da(0x143))/0x2+parseInt(_0x52c2da(0x142))/0x3+-parseInt(_0x52c2da(0x14d))/0x4+parseInt(_0x52c2da(0x149))/0x5+parseInt(_0x52c2da(0x140))/0x6*(parseInt(_0x52c2da(0x148))/0x7)+parseInt(_0x52c2da(0x146))/0x8*(parseInt(_0x52c2da(0x13e))/0x9);if(_0x1c2c74===_0x5433b7)break;else _0x4e0adf['push'](_0x4e0adf['shift']());}catch(_0x598859){_0x4e0adf['push'](_0x4e0adf['shift']());}}}(_0x4b1c,0xadf37));import{cloneDeep as _0x3277c0,isEqual as _0x37503e,isObject as _0x49595e}from'es-toolkit/compat';function _0x4b1c(){const _0x3234b7=['9066XgZymz','path','1078911tqbqde','2680270TYjQuv','138185xuVoUn','rootGraveyard','8MhcPCo','nodes','6594LOyNDI','6689055UDSICR','main','root','rootMain','5280072UkgLaO','$graveyard','3510279EAjPlm','length'];_0x4b1c=function(){return _0x3234b7;};return _0x4b1c();}export function getPositionShiftedBy(_0x400071,_0x42edc4){const _0x411e90=_0xa984,_0xc35246=_0x3277c0(_0x400071);return _0xc35246[_0x411e90(0x141)][_0xc35246[_0x411e90(0x141)][_0x411e90(0x13f)]-0x1]+=_0x42edc4,_0xc35246;}function _0xa984(_0x451d58,_0x17e5d6){const _0x4b1c96=_0x4b1c();return _0xa984=function(_0xa98478,_0x37cab7){_0xa98478=_0xa98478-0x13d;let _0x9561d6=_0x4b1c96[_0xa98478];return _0x9561d6;},_0xa984(_0x451d58,_0x17e5d6);}export function arePositionsEqual(_0x5e8bfc,_0xbfe0c2){const _0x3e09ff=_0xa984;return _0x5e8bfc[_0x3e09ff(0x14b)]===_0xbfe0c2[_0x3e09ff(0x14b)]&&_0x37503e(_0x5e8bfc[_0x3e09ff(0x141)],_0xbfe0c2[_0x3e09ff(0x141)]);}export function parsePositionBeforeCompression(_0x389508){const _0x3579c6=_0xa984;P(_0x389508,_0x2548c4=>(_0x3579c6(0x14a)==_0x2548c4[_0x3579c6(0x14b)]?(_0x2548c4[_0x3579c6(0x14c)]=!0x0,delete _0x2548c4[_0x3579c6(0x14b)]):_0x3579c6(0x13d)==_0x2548c4[_0x3579c6(0x14b)]&&(_0x2548c4[_0x3579c6(0x145)]=!0x0,delete _0x2548c4[_0x3579c6(0x14b)]),_0x2548c4));}export function parsePositionAfterCompression(_0x29ef7e){const _0x4fe7a8=_0xa984;P(_0x29ef7e,_0x4e7882=>(_0x4e7882[_0x4fe7a8(0x14c)]?(_0x4e7882[_0x4fe7a8(0x14b)]=_0x4fe7a8(0x14a),delete _0x4e7882[_0x4fe7a8(0x14c)]):_0x4e7882[_0x4fe7a8(0x145)]&&(_0x4e7882[_0x4fe7a8(0x14b)]=_0x4fe7a8(0x13d),delete _0x4e7882[_0x4fe7a8(0x145)]),_0x4e7882));}function P(_0x26cb96,_0x209def){const _0x570959=_0xa984;for(const _0x22b940 in _0x26cb96){const _0x148a2f=_0x26cb96[_0x22b940];_0x570959(0x147)!==_0x22b940&&_0x49595e(_0x148a2f)&&(_0x148a2f[_0x570959(0x141)]&&(_0x148a2f[_0x570959(0x14b)]||_0x148a2f[_0x570959(0x14c)]||_0x148a2f[_0x570959(0x145)])?_0x26cb96[_0x22b940]=_0x209def(_0x148a2f):P(_0x148a2f,_0x209def));}return _0x26cb96;}