@ckeditor/ckeditor5-operations-compressor 46.1.1-alpha.0 → 46.1.1-alpha.1

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 _0xdedb6e=_0x59c6;function _0x37e4(){var _0x3448c5=['shift','_operationName','91zmYgeN','1159892dVyLMc','15clQyBN','7CGWcBu','7131195snRZZh','8hDlvdS','push','24JbFoGn','177094ikPNGW','2765292xjthXO','types','4361160xJixva','compress','_id','7161581wbmcZa','1368995smMZML','11HXYzyY','decompress'];_0x37e4=function(){return _0x3448c5;};return _0x37e4();}function _0x59c6(_0x4cf5e3,_0x296041){var _0x37e4de=_0x37e4();return _0x59c6=function(_0x59c654,_0x1c273c){_0x59c654=_0x59c654-0xa0;var _0x10adef=_0x37e4de[_0x59c654];return _0x10adef;},_0x59c6(_0x4cf5e3,_0x296041);}(function(_0x31f229,_0x4ee301){var _0x5b2c41=_0x59c6,_0x5b6451=_0x31f229();while(!![]){try{var _0x2d7e8e=parseInt(_0x5b2c41(0xb1))/0x1*(-parseInt(_0x5b2c41(0xa2))/0x2)+-parseInt(_0x5b2c41(0xb0))/0x3*(parseInt(_0x5b2c41(0xaf))/0x4)+parseInt(_0x5b2c41(0xa9))/0x5*(parseInt(_0x5b2c41(0xa1))/0x6)+-parseInt(_0x5b2c41(0xa8))/0x7*(parseInt(_0x5b2c41(0xb3))/0x8)+parseInt(_0x5b2c41(0xb2))/0x9+parseInt(_0x5b2c41(0xa5))/0xa*(parseInt(_0x5b2c41(0xaa))/0xb)+-parseInt(_0x5b2c41(0xa3))/0xc*(-parseInt(_0x5b2c41(0xae))/0xd);if(_0x2d7e8e===_0x4ee301)break;else _0x5b6451['push'](_0x5b6451['shift']());}catch(_0x18481b){_0x5b6451['push'](_0x5b6451['shift']());}}}(_0x37e4,0xce0c9));import{OperationCompressor as _0x1a292c}from'./operationcompressor.js';export class NoOperationCompressor extends _0x1a292c{[_0xdedb6e(0xa6)](_0x8279a8,_0x1a8f4f){var _0xb1026a=_0xdedb6e;return _0x1a8f4f[_0xb1026a(0xac)](),_0x8279a8[_0xb1026a(0xa4)][_0xb1026a(0xa0)](this[_0xb1026a(0xa7)]),!0x0;}[_0xdedb6e(0xab)](_0x376744,_0x3f353a){var _0x24e898=_0xdedb6e;_0x3f353a[_0x24e898(0xa4)][_0x24e898(0xac)](),_0x376744[_0x24e898(0xa0)]({'__className':this[_0x24e898(0xad)]});}}
23
+ var _0x15d8bf=_0xd473;function _0x153d(){var _0x47f0b7=['7685ykPtho','decompress','types','_operationName','1621532FEJXga','_id','243AtWFMT','492OzLHZQ','shift','15504AHDgpE','180793KFxtXI','3950580OcKdTp','3032274BZsqIE','push','1717464Gpczgs','compress'];_0x153d=function(){return _0x47f0b7;};return _0x153d();}(function(_0x1acc88,_0x1870b1){var _0x32a55f=_0xd473,_0x1708c4=_0x1acc88();while(!![]){try{var _0x3776f3=-parseInt(_0x32a55f(0xf6))/0x1+parseInt(_0x32a55f(0xf0))/0x2+parseInt(_0x32a55f(0xfa))/0x3+-parseInt(_0x32a55f(0xf3))/0x4*(parseInt(_0x32a55f(0xfc))/0x5)+-parseInt(_0x32a55f(0xf7))/0x6+parseInt(_0x32a55f(0xf8))/0x7+parseInt(_0x32a55f(0xf5))/0x8*(-parseInt(_0x32a55f(0xf2))/0x9);if(_0x3776f3===_0x1870b1)break;else _0x1708c4['push'](_0x1708c4['shift']());}catch(_0x2cf270){_0x1708c4['push'](_0x1708c4['shift']());}}}(_0x153d,0xb3a5c));function _0xd473(_0x5da9ef,_0x254202){var _0x153d95=_0x153d();return _0xd473=function(_0xd473c3,_0x208019){_0xd473c3=_0xd473c3-0xee;var _0x2f3ddb=_0x153d95[_0xd473c3];return _0x2f3ddb;},_0xd473(_0x5da9ef,_0x254202);}import{OperationCompressor as _0x488a01}from'./operationcompressor.js';export class NoOperationCompressor extends _0x488a01{[_0x15d8bf(0xfb)](_0x140d52,_0x5de0a9){var _0x4cb5b7=_0x15d8bf;return _0x5de0a9[_0x4cb5b7(0xf4)](),_0x140d52[_0x4cb5b7(0xee)][_0x4cb5b7(0xf9)](this[_0x4cb5b7(0xf1)]),!0x0;}[_0x15d8bf(0xfd)](_0xac887a,_0x3bc95d){var _0x3907c3=_0x15d8bf;_0x3bc95d[_0x3907c3(0xee)][_0x3907c3(0xf4)](),_0xac887a[_0x3907c3(0xf9)]({'__className':this[_0x3907c3(0xef)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b0b(){const _0x40b8e9=['shift','__className','push','decompress','350700synlhm','2100290HeMoDo','127561OKHeBq','530157xSDcOa','12fgFCRB','buffers','_id','types','329504OoZeeD','4RZqHRM','116718NQFywv','_operationName','compress','_protobufDescriptor','182808puTzwe'];_0x4b0b=function(){return _0x40b8e9;};return _0x4b0b();}function _0x4166(_0x55e5ff,_0x270923){const _0x4b0b21=_0x4b0b();return _0x4166=function(_0x416602,_0x203525){_0x416602=_0x416602-0x1a1;let _0x19d2be=_0x4b0b21[_0x416602];return _0x19d2be;},_0x4166(_0x55e5ff,_0x270923);}const _0x25bd5b=_0x4166;(function(_0xc1d835,_0x58301c){const _0x18abfa=_0x4166,_0x230678=_0xc1d835();while(!![]){try{const _0x2150fe=-parseInt(_0x18abfa(0x1a6))/0x1+-parseInt(_0x18abfa(0x1af))/0x2+parseInt(_0x18abfa(0x1b2))/0x3+-parseInt(_0x18abfa(0x1a5))/0x4*(-parseInt(_0x18abfa(0x1b0))/0x5)+-parseInt(_0x18abfa(0x1b3))/0x6*(parseInt(_0x18abfa(0x1b1))/0x7)+-parseInt(_0x18abfa(0x1a4))/0x8+parseInt(_0x18abfa(0x1aa))/0x9;if(_0x2150fe===_0x58301c)break;else _0x230678['push'](_0x230678['shift']());}catch(_0x484686){_0x230678['push'](_0x230678['shift']());}}}(_0x4b0b,0x3c65b));import{parsePositionBeforeCompression as _0x35c138,parsePositionAfterCompression as _0x36c087}from'../utils.js';export class OperationCompressor{[_0x25bd5b(0x1a2)];[_0x25bd5b(0x1a7)];[_0x25bd5b(0x1a9)];constructor(_0x19af26,_0x41fe7e,_0x253f74){const _0x3ba02a=_0x25bd5b;this[_0x3ba02a(0x1a2)]=_0x19af26,this[_0x3ba02a(0x1a7)]=_0x41fe7e,this[_0x3ba02a(0x1a9)]=_0x253f74;}[_0x25bd5b(0x1a8)](_0x51ecba,_0x1f15b1){const _0x1286bf=_0x25bd5b,_0x5a72d0=_0x1f15b1[_0x1286bf(0x1ab)]();return _0x35c138(_0x5a72d0),_0x51ecba[_0x1286bf(0x1a1)][_0x1286bf(0x1ad)](this[_0x1286bf(0x1a9)][_0x1286bf(0x1a8)](_0x5a72d0)),_0x51ecba[_0x1286bf(0x1a3)][_0x1286bf(0x1ad)](this[_0x1286bf(0x1a2)]),!0x0;}[_0x25bd5b(0x1ae)](_0x158ea0,_0x4fe89){const _0xbecd7b=_0x25bd5b;_0x4fe89[_0xbecd7b(0x1a3)][_0xbecd7b(0x1ab)]();const _0x236d7d=this[_0xbecd7b(0x1a9)][_0xbecd7b(0x1ae)](_0x4fe89[_0xbecd7b(0x1a1)][_0xbecd7b(0x1ab)]());_0x36c087(_0x236d7d),_0x236d7d[_0xbecd7b(0x1ac)]=this[_0xbecd7b(0x1a7)],_0x158ea0[_0xbecd7b(0x1ad)](_0x236d7d);}}
23
+ const _0x414a16=_0xc00e;(function(_0x105dd0,_0xd1b6f1){const _0x233f34=_0xc00e,_0x166f16=_0x105dd0();while(!![]){try{const _0x57af85=-parseInt(_0x233f34(0xab))/0x1+-parseInt(_0x233f34(0xb7))/0x2*(-parseInt(_0x233f34(0xb9))/0x3)+parseInt(_0x233f34(0xba))/0x4*(parseInt(_0x233f34(0xbc))/0x5)+parseInt(_0x233f34(0xaf))/0x6*(-parseInt(_0x233f34(0xb4))/0x7)+parseInt(_0x233f34(0xb2))/0x8+parseInt(_0x233f34(0xa9))/0x9+parseInt(_0x233f34(0xb3))/0xa*(-parseInt(_0x233f34(0xaa))/0xb);if(_0x57af85===_0xd1b6f1)break;else _0x166f16['push'](_0x166f16['shift']());}catch(_0x421cf3){_0x166f16['push'](_0x166f16['shift']());}}}(_0x5d4d,0x1d2fe));import{parsePositionBeforeCompression as _0x2a3f75,parsePositionAfterCompression as _0x3c747a}from'../utils.js';function _0xc00e(_0x4cf62d,_0x3863e1){const _0x5d4d95=_0x5d4d();return _0xc00e=function(_0xc00eed,_0x36d9a5){_0xc00eed=_0xc00eed-0xa8;let _0x45e776=_0x5d4d95[_0xc00eed];return _0x45e776;},_0xc00e(_0x4cf62d,_0x3863e1);}function _0x5d4d(){const _0x5bbcc7=['41632iomDmH','shift','45hGhNcK','buffers','1742076wGhiON','1494922hCezLq','75513xNNcKU','_id','push','decompress','908862ciWqLL','types','_operationName','371520MzyVMI','10EkjbGb','7ORNNET','compress','__className','2ueUTiX','_protobufDescriptor','446298yfEQno'];_0x5d4d=function(){return _0x5bbcc7;};return _0x5d4d();}export class OperationCompressor{[_0x414a16(0xac)];[_0x414a16(0xb1)];[_0x414a16(0xb8)];constructor(_0x4c27da,_0x4acc65,_0x1879f9){const _0x21b676=_0x414a16;this[_0x21b676(0xac)]=_0x4c27da,this[_0x21b676(0xb1)]=_0x4acc65,this[_0x21b676(0xb8)]=_0x1879f9;}[_0x414a16(0xb5)](_0x155763,_0x201120){const _0x2024fa=_0x414a16,_0x274db7=_0x201120[_0x2024fa(0xbb)]();return _0x2a3f75(_0x274db7),_0x155763[_0x2024fa(0xa8)][_0x2024fa(0xad)](this[_0x2024fa(0xb8)][_0x2024fa(0xb5)](_0x274db7)),_0x155763[_0x2024fa(0xb0)][_0x2024fa(0xad)](this[_0x2024fa(0xac)]),!0x0;}[_0x414a16(0xae)](_0x28e7e3,_0x3c5c15){const _0x143168=_0x414a16;_0x3c5c15[_0x143168(0xb0)][_0x143168(0xbb)]();const _0x3212ce=this[_0x143168(0xb8)][_0x143168(0xae)](_0x3c5c15[_0x143168(0xa8)][_0x143168(0xbb)]());_0x3c747a(_0x3212ce),_0x3212ce[_0x143168(0xb6)]=this[_0x143168(0xb1)],_0x28e7e3[_0x143168(0xad)](_0x3212ce);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b45a9=_0x449e;(function(_0x5e091f,_0x47bf74){const _0x4b304a=_0x449e,_0x561296=_0x5e091f();while(!![]){try{const _0x34c908=parseInt(_0x4b304a(0x118))/0x1+-parseInt(_0x4b304a(0x123))/0x2+parseInt(_0x4b304a(0x11f))/0x3*(parseInt(_0x4b304a(0x128))/0x4)+-parseInt(_0x4b304a(0x112))/0x5*(parseInt(_0x4b304a(0x125))/0x6)+-parseInt(_0x4b304a(0x113))/0x7*(parseInt(_0x4b304a(0x11c))/0x8)+-parseInt(_0x4b304a(0x11b))/0x9*(-parseInt(_0x4b304a(0x120))/0xa)+-parseInt(_0x4b304a(0x122))/0xb*(-parseInt(_0x4b304a(0x116))/0xc);if(_0x34c908===_0x47bf74)break;else _0x561296['push'](_0x561296['shift']());}catch(_0x5d4d7e){_0x561296['push'](_0x561296['shift']());}}}(_0x5610,0x80c35));function _0x449e(_0x411946,_0x46c96c){const _0x56107a=_0x5610();return _0x449e=function(_0x449e32,_0xdd4118){_0x449e32=_0x449e32-0x112;let _0x40f47d=_0x56107a[_0x449e32];return _0x40f47d;},_0x449e(_0x411946,_0x46c96c);}import{messages as _0x402911}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x2b45a9(0x114)];constructor(){const _0x1b89c0=_0x2b45a9;this[_0x1b89c0(0x114)]=_0x402911;}[_0x2b45a9(0x115)](_0xa70de0){const _0x3b3100=_0x2b45a9;return new ProtobufDescriptor(this[_0x3b3100(0x114)][_0xa70de0]);}}function _0x5610(){const _0x27fcb3=['1094698ZJHLke','encode','1326MITQjh','decompress','toObject','47316xruAbC','22715oBXhrP','7WarGRB','_protobufRoot','getDescriptor','38172GmkhcD','compress','968883QdoyOk','create','verify','3923919oUtCtV','3845544XrKLjg','finish','decode','171Kypgom','10sKVBmI','_protobuf','1661RRAlkZ'];_0x5610=function(){return _0x27fcb3;};return _0x5610();}export class ProtobufDescriptor{[_0x2b45a9(0x121)];constructor(_0x6e4129){const _0x1a6017=_0x2b45a9;this[_0x1a6017(0x121)]=_0x6e4129;}[_0x2b45a9(0x117)](_0x291611){const _0x21dc17=_0x2b45a9,_0xf381a1=this[_0x21dc17(0x121)][_0x21dc17(0x11a)](_0x291611);if(_0xf381a1)throw Error(_0xf381a1);return this[_0x21dc17(0x121)][_0x21dc17(0x124)](this[_0x21dc17(0x121)][_0x21dc17(0x119)](_0x291611))[_0x21dc17(0x11d)]();}[_0x2b45a9(0x126)](_0x1f00ed){const _0xb24baa=_0x2b45a9;return this[_0xb24baa(0x121)][_0xb24baa(0x127)](this[_0xb24baa(0x121)][_0xb24baa(0x11e)](_0x1f00ed),{'oneofs':!0x0});}}
23
+ const _0x429912=_0x2bc0;(function(_0x2104a6,_0x2df9d3){const _0x1150e0=_0x2bc0,_0x3c6ed7=_0x2104a6();while(!![]){try{const _0x10b0d3=parseInt(_0x1150e0(0xaa))/0x1*(-parseInt(_0x1150e0(0xab))/0x2)+-parseInt(_0x1150e0(0xa9))/0x3*(-parseInt(_0x1150e0(0xaf))/0x4)+-parseInt(_0x1150e0(0xa0))/0x5+parseInt(_0x1150e0(0x9c))/0x6*(-parseInt(_0x1150e0(0xae))/0x7)+-parseInt(_0x1150e0(0x9f))/0x8*(-parseInt(_0x1150e0(0xa4))/0x9)+-parseInt(_0x1150e0(0xa6))/0xa+parseInt(_0x1150e0(0xa1))/0xb;if(_0x10b0d3===_0x2df9d3)break;else _0x3c6ed7['push'](_0x3c6ed7['shift']());}catch(_0x1b7127){_0x3c6ed7['push'](_0x3c6ed7['shift']());}}}(_0x3e63,0xadc81));function _0x3e63(){const _0x540d88=['6083109eiBisj','verify','8746970RNTRJN','decompress','compress','28998oqNlVN','1QEaxEu','1514542UkjILQ','getDescriptor','_protobuf','7QmCWPo','220ZUQpFo','_protobufRoot','decode','3458682vpKHJm','finish','encode','8JIwzqw','4086745oJIlrh','27830462BiTXCo','toObject','create'];_0x3e63=function(){return _0x540d88;};return _0x3e63();}import{messages as _0x5406f5}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x429912(0xb0)];constructor(){const _0x421028=_0x429912;this[_0x421028(0xb0)]=_0x5406f5;}[_0x429912(0xac)](_0x2f377e){const _0x1b5f7d=_0x429912;return new ProtobufDescriptor(this[_0x1b5f7d(0xb0)][_0x2f377e]);}}function _0x2bc0(_0x56ab66,_0x229ccb){const _0x3e63c2=_0x3e63();return _0x2bc0=function(_0x5ad674,_0x308c6b){_0x5ad674=_0x5ad674-0x9c;let _0x286f53=_0x3e63c2[_0x5ad674];return _0x286f53;},_0x2bc0(_0x56ab66,_0x229ccb);}export class ProtobufDescriptor{[_0x429912(0xad)];constructor(_0x30664d){const _0x2c578f=_0x429912;this[_0x2c578f(0xad)]=_0x30664d;}[_0x429912(0xa8)](_0x1438cb){const _0x1de195=_0x429912,_0x346f58=this[_0x1de195(0xad)][_0x1de195(0xa5)](_0x1438cb);if(_0x346f58)throw Error(_0x346f58);return this[_0x1de195(0xad)][_0x1de195(0x9e)](this[_0x1de195(0xad)][_0x1de195(0xa3)](_0x1438cb))[_0x1de195(0x9d)]();}[_0x429912(0xa7)](_0x7817e9){const _0x4115fa=_0x429912;return this[_0x4115fa(0xad)][_0x4115fa(0xa2)](this[_0x4115fa(0xad)][_0x4115fa(0xb1)](_0x7817e9),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x209582,_0x30366a){const _0x36da99=_0xf834,_0x56fb6b=_0x209582();while(!![]){try{const _0x48ed64=-parseInt(_0x36da99(0x15f))/0x1+-parseInt(_0x36da99(0x156))/0x2+-parseInt(_0x36da99(0x163))/0x3+parseInt(_0x36da99(0x15d))/0x4*(-parseInt(_0x36da99(0x154))/0x5)+parseInt(_0x36da99(0x15a))/0x6*(-parseInt(_0x36da99(0x15e))/0x7)+parseInt(_0x36da99(0x165))/0x8*(-parseInt(_0x36da99(0x15b))/0x9)+parseInt(_0x36da99(0x158))/0xa;if(_0x48ed64===_0x30366a)break;else _0x56fb6b['push'](_0x56fb6b['shift']());}catch(_0x2e731e){_0x56fb6b['push'](_0x56fb6b['shift']());}}}(_0x5c1f,0xe0263));function _0xf834(_0x177e63,_0x16754d){const _0x5c1fad=_0x5c1f();return _0xf834=function(_0xf8341c,_0x3508f5){_0xf8341c=_0xf8341c-0x154;let _0x13097e=_0x5c1fad[_0xf8341c];return _0x13097e;},_0xf834(_0x177e63,_0x16754d);}function _0x5c1f(){const _0x856bc7=['path','2034706RvuTYm','rootGraveyard','73051760Mddzze','$graveyard','2034XvLOYd','8361gdqYmA','main','2732rIYJkm','31185hCwtXy','1498341MdAdZp','root','rootMain','nodes','29712aWtiaU','length','9384iJmpdw','9235RyTesl'];_0x5c1f=function(){return _0x856bc7;};return _0x5c1f();}import{cloneDeep as _0x188d36,isEqual as _0x55d1ef,isObject as _0x2ead21}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1e0a82,_0x532925){const _0x1f1779=_0xf834,_0x2a07b9=_0x188d36(_0x1e0a82);return _0x2a07b9[_0x1f1779(0x155)][_0x2a07b9[_0x1f1779(0x155)][_0x1f1779(0x164)]-0x1]+=_0x532925,_0x2a07b9;}export function arePositionsEqual(_0x2f7c2b,_0x16b5c4){const _0x2556da=_0xf834;return _0x2f7c2b[_0x2556da(0x160)]===_0x16b5c4[_0x2556da(0x160)]&&_0x55d1ef(_0x2f7c2b[_0x2556da(0x155)],_0x16b5c4[_0x2556da(0x155)]);}export function parsePositionBeforeCompression(_0x5150f3){const _0xa96f9b=_0xf834;P(_0x5150f3,_0x41dd06=>(_0xa96f9b(0x15c)==_0x41dd06[_0xa96f9b(0x160)]?(_0x41dd06[_0xa96f9b(0x161)]=!0x0,delete _0x41dd06[_0xa96f9b(0x160)]):_0xa96f9b(0x159)==_0x41dd06[_0xa96f9b(0x160)]&&(_0x41dd06[_0xa96f9b(0x157)]=!0x0,delete _0x41dd06[_0xa96f9b(0x160)]),_0x41dd06));}export function parsePositionAfterCompression(_0x1eaa8a){const _0x2b9b59=_0xf834;P(_0x1eaa8a,_0x41e12a=>(_0x41e12a[_0x2b9b59(0x161)]?(_0x41e12a[_0x2b9b59(0x160)]=_0x2b9b59(0x15c),delete _0x41e12a[_0x2b9b59(0x161)]):_0x41e12a[_0x2b9b59(0x157)]&&(_0x41e12a[_0x2b9b59(0x160)]=_0x2b9b59(0x159),delete _0x41e12a[_0x2b9b59(0x157)]),_0x41e12a));}function P(_0x4f3a51,_0x21229e){const _0x17cbf2=_0xf834;for(const _0x40ed4c in _0x4f3a51){const _0x2d0251=_0x4f3a51[_0x40ed4c];_0x17cbf2(0x162)!==_0x40ed4c&&_0x2ead21(_0x2d0251)&&(_0x2d0251[_0x17cbf2(0x155)]&&(_0x2d0251[_0x17cbf2(0x160)]||_0x2d0251[_0x17cbf2(0x161)]||_0x2d0251[_0x17cbf2(0x157)])?_0x4f3a51[_0x40ed4c]=_0x21229e(_0x2d0251):P(_0x2d0251,_0x21229e));}return _0x4f3a51;}
23
+ (function(_0x1c03db,_0x45ba9f){const _0x402cb5=_0x404b,_0x2e548c=_0x1c03db();while(!![]){try{const _0x268211=-parseInt(_0x402cb5(0x19b))/0x1+parseInt(_0x402cb5(0x1a0))/0x2*(-parseInt(_0x402cb5(0x199))/0x3)+parseInt(_0x402cb5(0x195))/0x4+parseInt(_0x402cb5(0x19a))/0x5+-parseInt(_0x402cb5(0x196))/0x6+-parseInt(_0x402cb5(0x1a4))/0x7+parseInt(_0x402cb5(0x19d))/0x8*(parseInt(_0x402cb5(0x19f))/0x9);if(_0x268211===_0x45ba9f)break;else _0x2e548c['push'](_0x2e548c['shift']());}catch(_0x143319){_0x2e548c['push'](_0x2e548c['shift']());}}}(_0xb8e0,0x5a280));import{cloneDeep as _0x3bf03e,isEqual as _0x10fdb6,isObject as _0x38e649}from'es-toolkit/compat';export function getPositionShiftedBy(_0x301d6b,_0x46ecf4){const _0x1795c8=_0x404b,_0x2e8cf8=_0x3bf03e(_0x301d6b);return _0x2e8cf8[_0x1795c8(0x1a1)][_0x2e8cf8[_0x1795c8(0x1a1)][_0x1795c8(0x1a2)]-0x1]+=_0x46ecf4,_0x2e8cf8;}export function arePositionsEqual(_0x1dceb8,_0x29c2f5){const _0x230ab2=_0x404b;return _0x1dceb8[_0x230ab2(0x198)]===_0x29c2f5[_0x230ab2(0x198)]&&_0x10fdb6(_0x1dceb8[_0x230ab2(0x1a1)],_0x29c2f5[_0x230ab2(0x1a1)]);}function _0x404b(_0x22ce97,_0x3eec74){const _0xb8e060=_0xb8e0();return _0x404b=function(_0x404b3b,_0x1b2b75){_0x404b3b=_0x404b3b-0x194;let _0x128fc8=_0xb8e060[_0x404b3b];return _0x128fc8;},_0x404b(_0x22ce97,_0x3eec74);}function _0xb8e0(){const _0x586451=['nodes','143328kHZsQl','2824506BbeFwx','rootGraveyard','root','12EyOVHt','2222025KuKhRt','422358hOkPWA','rootMain','2321608tGSCFD','$graveyard','63EUgyWp','279138mLGxuZ','path','length','main','4836853zZIcLj'];_0xb8e0=function(){return _0x586451;};return _0xb8e0();}export function parsePositionBeforeCompression(_0x34273d){const _0x5b0040=_0x404b;P(_0x34273d,_0x524cbc=>(_0x5b0040(0x1a3)==_0x524cbc[_0x5b0040(0x198)]?(_0x524cbc[_0x5b0040(0x19c)]=!0x0,delete _0x524cbc[_0x5b0040(0x198)]):_0x5b0040(0x19e)==_0x524cbc[_0x5b0040(0x198)]&&(_0x524cbc[_0x5b0040(0x197)]=!0x0,delete _0x524cbc[_0x5b0040(0x198)]),_0x524cbc));}export function parsePositionAfterCompression(_0x365c7c){const _0x3de487=_0x404b;P(_0x365c7c,_0x58254d=>(_0x58254d[_0x3de487(0x19c)]?(_0x58254d[_0x3de487(0x198)]=_0x3de487(0x1a3),delete _0x58254d[_0x3de487(0x19c)]):_0x58254d[_0x3de487(0x197)]&&(_0x58254d[_0x3de487(0x198)]=_0x3de487(0x19e),delete _0x58254d[_0x3de487(0x197)]),_0x58254d));}function P(_0x1e61e2,_0x3dd2f3){const _0x29c793=_0x404b;for(const _0x3dacf9 in _0x1e61e2){const _0x286c8a=_0x1e61e2[_0x3dacf9];_0x29c793(0x194)!==_0x3dacf9&&_0x38e649(_0x286c8a)&&(_0x286c8a[_0x29c793(0x1a1)]&&(_0x286c8a[_0x29c793(0x198)]||_0x286c8a[_0x29c793(0x19c)]||_0x286c8a[_0x29c793(0x197)])?_0x1e61e2[_0x3dacf9]=_0x3dd2f3(_0x286c8a):P(_0x286c8a,_0x3dd2f3));}return _0x1e61e2;}