@ckeditor/ckeditor5-operations-compressor 47.2.0-alpha.2 → 47.2.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
- function _0x8ebc(_0x9f6206,_0x5c80fd){var _0x2d76e9=_0x2d76();return _0x8ebc=function(_0x8ebcfe,_0x356214){_0x8ebcfe=_0x8ebcfe-0x122;var _0x5776ef=_0x2d76e9[_0x8ebcfe];return _0x5776ef;},_0x8ebc(_0x9f6206,_0x5c80fd);}var _0x1795c3=_0x8ebc;(function(_0x41dcb1,_0x144199){var _0x27a012=_0x8ebc,_0x1d29a2=_0x41dcb1();while(!![]){try{var _0x193d36=-parseInt(_0x27a012(0x132))/0x1+parseInt(_0x27a012(0x131))/0x2*(-parseInt(_0x27a012(0x12c))/0x3)+parseInt(_0x27a012(0x12f))/0x4*(-parseInt(_0x27a012(0x12a))/0x5)+-parseInt(_0x27a012(0x129))/0x6+-parseInt(_0x27a012(0x12d))/0x7*(-parseInt(_0x27a012(0x124))/0x8)+-parseInt(_0x27a012(0x12b))/0x9+parseInt(_0x27a012(0x133))/0xa*(parseInt(_0x27a012(0x125))/0xb);if(_0x193d36===_0x144199)break;else _0x1d29a2['push'](_0x1d29a2['shift']());}catch(_0x568868){_0x1d29a2['push'](_0x1d29a2['shift']());}}}(_0x2d76,0x51bd4));import{OperationCompressor as _0x25caf7}from'./operationcompressor.js';function _0x2d76(){var _0x54c5b8=['compress','2392428ccywcE','35hvqLzl','600795XWngIi','6753eqSLuW','91ooeeWR','decompress','119420assdnp','_operationName','470ExnWFN','598490eZIoBY','2830guODas','_id','types','296824sQUpTP','64306rqSJPE','shift','push'];_0x2d76=function(){return _0x54c5b8;};return _0x2d76();}export class NoOperationCompressor extends _0x25caf7{[_0x1795c3(0x128)](_0x17b80f,_0x19b5a8){var _0x5d49f1=_0x1795c3;return _0x19b5a8[_0x5d49f1(0x126)](),_0x17b80f[_0x5d49f1(0x123)][_0x5d49f1(0x127)](this[_0x5d49f1(0x122)]),!0x0;}[_0x1795c3(0x12e)](_0x59d0d8,_0x5ac48b){var _0x4af608=_0x1795c3;_0x5ac48b[_0x4af608(0x123)][_0x4af608(0x126)](),_0x59d0d8[_0x4af608(0x127)]({'__className':this[_0x4af608(0x130)]});}}
23
+ var _0x3b4ba2=_0x491e;function _0x5eb6(){var _0x320fba=['_id','3262645RaQLlR','9414YHKATg','483CQzyRf','2474346EIytmR','shift','11851592dshWnE','decompress','push','1368189BwijTL','7888QUWEbc','types','compress','19681321DcYXnJ','4smDvoo','10morJdS','_operationName','218csbpRY'];_0x5eb6=function(){return _0x320fba;};return _0x5eb6();}(function(_0x562ae6,_0x26521b){var _0x215c65=_0x491e,_0x5bccd9=_0x562ae6();while(!![]){try{var _0x22dd44=parseInt(_0x215c65(0x19a))/0x1*(-parseInt(_0x215c65(0x193))/0x2)+parseInt(_0x215c65(0x19f))/0x3+parseInt(_0x215c65(0x197))/0x4*(parseInt(_0x215c65(0x19c))/0x5)+parseInt(_0x215c65(0x19d))/0x6*(parseInt(_0x215c65(0x19e))/0x7)+-parseInt(_0x215c65(0x1a1))/0x8+-parseInt(_0x215c65(0x192))/0x9+-parseInt(_0x215c65(0x198))/0xa*(-parseInt(_0x215c65(0x196))/0xb);if(_0x22dd44===_0x26521b)break;else _0x5bccd9['push'](_0x5bccd9['shift']());}catch(_0x803e4b){_0x5bccd9['push'](_0x5bccd9['shift']());}}}(_0x5eb6,0xd7371));function _0x491e(_0x31726e,_0x2e1d42){var _0x5eb6fb=_0x5eb6();return _0x491e=function(_0x491ea1,_0x1167ce){_0x491ea1=_0x491ea1-0x191;var _0x429190=_0x5eb6fb[_0x491ea1];return _0x429190;},_0x491e(_0x31726e,_0x2e1d42);}import{OperationCompressor as _0x469207}from'./operationcompressor.js';export class NoOperationCompressor extends _0x469207{[_0x3b4ba2(0x195)](_0x15aebf,_0x218ae7){var _0xc88cdc=_0x3b4ba2;return _0x218ae7[_0xc88cdc(0x1a0)](),_0x15aebf[_0xc88cdc(0x194)][_0xc88cdc(0x191)](this[_0xc88cdc(0x19b)]),!0x0;}[_0x3b4ba2(0x1a2)](_0x5cdf47,_0x24b703){var _0x705e45=_0x3b4ba2;_0x24b703[_0x705e45(0x194)][_0x705e45(0x1a0)](),_0x5cdf47[_0x705e45(0x191)]({'__className':this[_0x705e45(0x199)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x545e96=_0x1dff;function _0x1dff(_0x321b57,_0x27c60a){const _0x2c79e6=_0x2c79();return _0x1dff=function(_0x1dff45,_0x287590){_0x1dff45=_0x1dff45-0xe6;let _0x3e7495=_0x2c79e6[_0x1dff45];return _0x3e7495;},_0x1dff(_0x321b57,_0x27c60a);}(function(_0x49eb2c,_0x2b8f1c){const _0x220b5=_0x1dff,_0x307c0a=_0x49eb2c();while(!![]){try{const _0x3a4f90=parseInt(_0x220b5(0xee))/0x1*(-parseInt(_0x220b5(0xf9))/0x2)+parseInt(_0x220b5(0xe9))/0x3+-parseInt(_0x220b5(0xed))/0x4+-parseInt(_0x220b5(0xf0))/0x5+-parseInt(_0x220b5(0xf1))/0x6+parseInt(_0x220b5(0xeb))/0x7*(-parseInt(_0x220b5(0xe6))/0x8)+parseInt(_0x220b5(0xe7))/0x9*(parseInt(_0x220b5(0xf3))/0xa);if(_0x3a4f90===_0x2b8f1c)break;else _0x307c0a['push'](_0x307c0a['shift']());}catch(_0x4a23cc){_0x307c0a['push'](_0x307c0a['shift']());}}}(_0x2c79,0xcc539));import{parsePositionBeforeCompression as _0x5222e7,parsePositionAfterCompression as _0x19010d}from'../utils.js';function _0x2c79(){const _0xbea2df=['_operationName','7MQuXDE','buffers','3080928wmKJSz','90sxTeUv','__className','1522785TGFZOv','3582246ZWKZQu','_id','50XiCFAf','shift','compress','decompress','_protobufDescriptor','types','9330MjfihT','11528456bGMyIO','6951627LhAqUY','push','1522929ELcoHc'];_0x2c79=function(){return _0xbea2df;};return _0x2c79();}export class OperationCompressor{[_0x545e96(0xf2)];[_0x545e96(0xea)];[_0x545e96(0xf7)];constructor(_0x449d49,_0x2f17d7,_0x16d254){const _0x35302c=_0x545e96;this[_0x35302c(0xf2)]=_0x449d49,this[_0x35302c(0xea)]=_0x2f17d7,this[_0x35302c(0xf7)]=_0x16d254;}[_0x545e96(0xf5)](_0x462397,_0x2ab59f){const _0x40026e=_0x545e96,_0x5b412a=_0x2ab59f[_0x40026e(0xf4)]();return _0x5222e7(_0x5b412a),_0x462397[_0x40026e(0xec)][_0x40026e(0xe8)](this[_0x40026e(0xf7)][_0x40026e(0xf5)](_0x5b412a)),_0x462397[_0x40026e(0xf8)][_0x40026e(0xe8)](this[_0x40026e(0xf2)]),!0x0;}[_0x545e96(0xf6)](_0x21f593,_0x162998){const _0x427b29=_0x545e96;_0x162998[_0x427b29(0xf8)][_0x427b29(0xf4)]();const _0x29cbb8=this[_0x427b29(0xf7)][_0x427b29(0xf6)](_0x162998[_0x427b29(0xec)][_0x427b29(0xf4)]());_0x19010d(_0x29cbb8),_0x29cbb8[_0x427b29(0xef)]=this[_0x427b29(0xea)],_0x21f593[_0x427b29(0xe8)](_0x29cbb8);}}
23
+ const _0x2dc117=_0x2463;(function(_0x22fba2,_0x4a14a1){const _0x3c5c3c=_0x2463,_0x56413a=_0x22fba2();while(!![]){try{const _0x46ab7a=parseInt(_0x3c5c3c(0x116))/0x1*(parseInt(_0x3c5c3c(0x122))/0x2)+parseInt(_0x3c5c3c(0x11e))/0x3+-parseInt(_0x3c5c3c(0x121))/0x4+parseInt(_0x3c5c3c(0x114))/0x5+parseInt(_0x3c5c3c(0x123))/0x6+-parseInt(_0x3c5c3c(0x11b))/0x7*(-parseInt(_0x3c5c3c(0x124))/0x8)+-parseInt(_0x3c5c3c(0x117))/0x9*(parseInt(_0x3c5c3c(0x119))/0xa);if(_0x46ab7a===_0x4a14a1)break;else _0x56413a['push'](_0x56413a['shift']());}catch(_0x4757ad){_0x56413a['push'](_0x56413a['shift']());}}}(_0x5772,0xe8018));function _0x5772(){const _0x1d7664=['push','2773050kxOrsD','compress','_operationName','272416nPLwsF','2keVfYJ','3684144yUFOiC','2698504ytORYq','shift','__className','buffers','5765435dasHDc','types','962257UtGtbu','27UHGWNc','_id','9908770qzjfAJ','decompress','7MRKbCr','_protobufDescriptor'];_0x5772=function(){return _0x1d7664;};return _0x5772();}function _0x2463(_0x17d0d8,_0x194b25){const _0x57721b=_0x5772();return _0x2463=function(_0x2463da,_0x152e18){_0x2463da=_0x2463da-0x113;let _0xb52f4d=_0x57721b[_0x2463da];return _0xb52f4d;},_0x2463(_0x17d0d8,_0x194b25);}import{parsePositionBeforeCompression as _0x1f7ebb,parsePositionAfterCompression as _0x806e01}from'../utils.js';export class OperationCompressor{[_0x2dc117(0x118)];[_0x2dc117(0x120)];[_0x2dc117(0x11c)];constructor(_0x43842d,_0x3b7532,_0x3be72b){const _0x498379=_0x2dc117;this[_0x498379(0x118)]=_0x43842d,this[_0x498379(0x120)]=_0x3b7532,this[_0x498379(0x11c)]=_0x3be72b;}[_0x2dc117(0x11f)](_0xa1dc9c,_0x19743d){const _0x426604=_0x2dc117,_0x247ead=_0x19743d[_0x426604(0x125)]();return _0x1f7ebb(_0x247ead),_0xa1dc9c[_0x426604(0x113)][_0x426604(0x11d)](this[_0x426604(0x11c)][_0x426604(0x11f)](_0x247ead)),_0xa1dc9c[_0x426604(0x115)][_0x426604(0x11d)](this[_0x426604(0x118)]),!0x0;}[_0x2dc117(0x11a)](_0x4f5d84,_0x49d733){const _0x12c15f=_0x2dc117;_0x49d733[_0x12c15f(0x115)][_0x12c15f(0x125)]();const _0x2bdfa1=this[_0x12c15f(0x11c)][_0x12c15f(0x11a)](_0x49d733[_0x12c15f(0x113)][_0x12c15f(0x125)]());_0x806e01(_0x2bdfa1),_0x2bdfa1[_0x12c15f(0x126)]=this[_0x12c15f(0x120)],_0x4f5d84[_0x12c15f(0x11d)](_0x2bdfa1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c80fe=_0xd6b7;function _0xd6b7(_0xefcec1,_0x43cc0d){const _0xd6ec6=_0xd6ec();return _0xd6b7=function(_0xd6b785,_0x8f7957){_0xd6b785=_0xd6b785-0xe8;let _0x194712=_0xd6ec6[_0xd6b785];return _0x194712;},_0xd6b7(_0xefcec1,_0x43cc0d);}(function(_0x2bbaae,_0x47b972){const _0x299120=_0xd6b7,_0x35df2d=_0x2bbaae();while(!![]){try{const _0x148cc7=parseInt(_0x299120(0xf9))/0x1*(-parseInt(_0x299120(0xf7))/0x2)+parseInt(_0x299120(0xee))/0x3*(-parseInt(_0x299120(0xfa))/0x4)+-parseInt(_0x299120(0xf4))/0x5*(parseInt(_0x299120(0xe9))/0x6)+parseInt(_0x299120(0xf6))/0x7*(-parseInt(_0x299120(0xfc))/0x8)+-parseInt(_0x299120(0xf8))/0x9+parseInt(_0x299120(0xea))/0xa*(-parseInt(_0x299120(0xf5))/0xb)+parseInt(_0x299120(0xff))/0xc*(parseInt(_0x299120(0xeb))/0xd);if(_0x148cc7===_0x47b972)break;else _0x35df2d['push'](_0x35df2d['shift']());}catch(_0x339746){_0x35df2d['push'](_0x35df2d['shift']());}}}(_0xd6ec,0x25c0c));import{messages as _0x57f0ba}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x3c80fe(0xf3)];constructor(){const _0x45edb3=_0x3c80fe;this[_0x45edb3(0xf3)]=_0x57f0ba;}[_0x3c80fe(0xe8)](_0x544568){const _0x5c40cf=_0x3c80fe;return new ProtobufDescriptor(this[_0x5c40cf(0xf3)][_0x544568]);}}export class ProtobufDescriptor{[_0x3c80fe(0xfd)];constructor(_0x2e0efd){const _0x15a1f1=_0x3c80fe;this[_0x15a1f1(0xfd)]=_0x2e0efd;}[_0x3c80fe(0xf0)](_0x8785cc){const _0x37ee7a=_0x3c80fe,_0x538a43=this[_0x37ee7a(0xfd)][_0x37ee7a(0xf1)](_0x8785cc);if(_0x538a43)throw Error(_0x538a43);return this[_0x37ee7a(0xfd)][_0x37ee7a(0xec)](this[_0x37ee7a(0xfd)][_0x37ee7a(0xf2)](_0x8785cc))[_0x37ee7a(0xfb)]();}[_0x3c80fe(0xed)](_0x307771){const _0x384326=_0x3c80fe;return this[_0x384326(0xfd)][_0x384326(0xef)](this[_0x384326(0xfd)][_0x384326(0xfe)](_0x307771),{'oneofs':!0x0});}}function _0xd6ec(){const _0x277b23=['4ESJFCh','2490831lptUYg','116706mEWCXY','1105004qAfxSv','finish','88SnSORZ','_protobuf','decode','7788wtmrze','getDescriptor','6ZVEhAf','3075690czERvc','29159adzMEd','encode','decompress','3vnnTJo','toObject','compress','verify','create','_protobufRoot','655845BWjaBm','11akBUVD','48307XVzPPP'];_0xd6ec=function(){return _0x277b23;};return _0xd6ec();}
23
+ const _0x120e64=_0x2b3c;(function(_0x24c877,_0x1d5d82){const _0x425912=_0x2b3c,_0x40a4a0=_0x24c877();while(!![]){try{const _0x413079=-parseInt(_0x425912(0xdd))/0x1+-parseInt(_0x425912(0xe0))/0x2+-parseInt(_0x425912(0xea))/0x3+parseInt(_0x425912(0xe4))/0x4*(-parseInt(_0x425912(0xde))/0x5)+-parseInt(_0x425912(0xdf))/0x6+parseInt(_0x425912(0xe7))/0x7*(parseInt(_0x425912(0xe9))/0x8)+parseInt(_0x425912(0xe1))/0x9*(parseInt(_0x425912(0xed))/0xa);if(_0x413079===_0x1d5d82)break;else _0x40a4a0['push'](_0x40a4a0['shift']());}catch(_0x126efc){_0x40a4a0['push'](_0x40a4a0['shift']());}}}(_0x2919,0x43ae9));function _0x2919(){const _0x1ba75f=['create','68392sTHrVS','1429293nZZtzQ','finish','encode','1321660yxlHsB','decode','toObject','_protobufRoot','getDescriptor','28364SylRPZ','33445NDkxjn','163212tikBTw','109624VPFrRJ','54HBeOIH','decompress','compress','116EqAdzQ','verify','_protobuf','217LGEXgJ'];_0x2919=function(){return _0x1ba75f;};return _0x2919();}function _0x2b3c(_0x5ebe31,_0x24950f){const _0x2919d2=_0x2919();return _0x2b3c=function(_0x2b3c68,_0x4396e6){_0x2b3c68=_0x2b3c68-0xdd;let _0x260894=_0x2919d2[_0x2b3c68];return _0x260894;},_0x2b3c(_0x5ebe31,_0x24950f);}import{messages as _0x3980f8}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x120e64(0xf0)];constructor(){const _0x45a82=_0x120e64;this[_0x45a82(0xf0)]=_0x3980f8;}[_0x120e64(0xf1)](_0x279fca){const _0x109e9e=_0x120e64;return new ProtobufDescriptor(this[_0x109e9e(0xf0)][_0x279fca]);}}export class ProtobufDescriptor{[_0x120e64(0xe6)];constructor(_0x362397){const _0x1ef1b9=_0x120e64;this[_0x1ef1b9(0xe6)]=_0x362397;}[_0x120e64(0xe3)](_0x192c4d){const _0x5cfbfb=_0x120e64,_0x4c6e46=this[_0x5cfbfb(0xe6)][_0x5cfbfb(0xe5)](_0x192c4d);if(_0x4c6e46)throw Error(_0x4c6e46);return this[_0x5cfbfb(0xe6)][_0x5cfbfb(0xec)](this[_0x5cfbfb(0xe6)][_0x5cfbfb(0xe8)](_0x192c4d))[_0x5cfbfb(0xeb)]();}[_0x120e64(0xe2)](_0x4cdffb){const _0x4d2956=_0x120e64;return this[_0x4d2956(0xe6)][_0x4d2956(0xef)](this[_0x4d2956(0xe6)][_0x4d2956(0xee)](_0x4cdffb),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1dc2(_0x169cec,_0x2dd098){const _0x41f854=_0x41f8();return _0x1dc2=function(_0x1dc2a2,_0x363224){_0x1dc2a2=_0x1dc2a2-0x9e;let _0x26e19f=_0x41f854[_0x1dc2a2];return _0x26e19f;},_0x1dc2(_0x169cec,_0x2dd098);}(function(_0x201386,_0x181459){const _0x3a7886=_0x1dc2,_0x147dee=_0x201386();while(!![]){try{const _0x47c2ce=parseInt(_0x3a7886(0xb1))/0x1*(-parseInt(_0x3a7886(0x9e))/0x2)+parseInt(_0x3a7886(0xad))/0x3*(parseInt(_0x3a7886(0xa9))/0x4)+parseInt(_0x3a7886(0xa7))/0x5*(-parseInt(_0x3a7886(0x9f))/0x6)+parseInt(_0x3a7886(0xa5))/0x7*(-parseInt(_0x3a7886(0xa1))/0x8)+-parseInt(_0x3a7886(0xa4))/0x9*(parseInt(_0x3a7886(0xa2))/0xa)+parseInt(_0x3a7886(0xab))/0xb+parseInt(_0x3a7886(0xa0))/0xc;if(_0x47c2ce===_0x181459)break;else _0x147dee['push'](_0x147dee['shift']());}catch(_0x27ab90){_0x147dee['push'](_0x147dee['shift']());}}}(_0x41f8,0xd3dfe));import{cloneDeep as _0xb26174,isEqual as _0x3aad69,isObject as _0x5e7820}from'es-toolkit/compat';export function getPositionShiftedBy(_0x2e5bc0,_0x28b7fa){const _0x66a71=_0x1dc2,_0x1a6351=_0xb26174(_0x2e5bc0);return _0x1a6351[_0x66a71(0xae)][_0x1a6351[_0x66a71(0xae)][_0x66a71(0xb0)]-0x1]+=_0x28b7fa,_0x1a6351;}export function arePositionsEqual(_0x1a6b82,_0x54b329){const _0x4f47b5=_0x1dc2;return _0x1a6b82[_0x4f47b5(0xa6)]===_0x54b329[_0x4f47b5(0xa6)]&&_0x3aad69(_0x1a6b82[_0x4f47b5(0xae)],_0x54b329[_0x4f47b5(0xae)]);}export function parsePositionBeforeCompression(_0x5b34d8){const _0x18fc17=_0x1dc2;P(_0x5b34d8,_0x40353b=>(_0x18fc17(0xaf)==_0x40353b[_0x18fc17(0xa6)]?(_0x40353b[_0x18fc17(0xac)]=!0x0,delete _0x40353b[_0x18fc17(0xa6)]):_0x18fc17(0xa8)==_0x40353b[_0x18fc17(0xa6)]&&(_0x40353b[_0x18fc17(0xaa)]=!0x0,delete _0x40353b[_0x18fc17(0xa6)]),_0x40353b));}export function parsePositionAfterCompression(_0x595f2b){const _0x2f58aa=_0x1dc2;P(_0x595f2b,_0x5e1886=>(_0x5e1886[_0x2f58aa(0xac)]?(_0x5e1886[_0x2f58aa(0xa6)]=_0x2f58aa(0xaf),delete _0x5e1886[_0x2f58aa(0xac)]):_0x5e1886[_0x2f58aa(0xaa)]&&(_0x5e1886[_0x2f58aa(0xa6)]=_0x2f58aa(0xa8),delete _0x5e1886[_0x2f58aa(0xaa)]),_0x5e1886));}function P(_0xad2223,_0x332138){const _0x44c825=_0x1dc2;for(const _0x291ed4 in _0xad2223){const _0xc285eb=_0xad2223[_0x291ed4];_0x44c825(0xa3)!==_0x291ed4&&_0x5e7820(_0xc285eb)&&(_0xc285eb[_0x44c825(0xae)]&&(_0xc285eb[_0x44c825(0xa6)]||_0xc285eb[_0x44c825(0xac)]||_0xc285eb[_0x44c825(0xaa)])?_0xad2223[_0x291ed4]=_0x332138(_0xc285eb):P(_0xc285eb,_0x332138));}return _0xad2223;}function _0x41f8(){const _0x35046f=['length','280073UTyVwF','2zOmPjf','7426710bpxGxw','26440764aNwjDR','16ICDWBv','4265480JIsdBb','nodes','36ykOtrF','3504935vgroac','root','5YVhQBQ','$graveyard','4hwfTdn','rootGraveyard','16505324RvaruY','rootMain','4168251XpkEwb','path','main'];_0x41f8=function(){return _0x35046f;};return _0x41f8();}
23
+ (function(_0x57a337,_0x4da771){const _0x5e9cf1=_0x405d,_0x531691=_0x57a337();while(!![]){try{const _0x436d0f=-parseInt(_0x5e9cf1(0xd1))/0x1+-parseInt(_0x5e9cf1(0xde))/0x2*(-parseInt(_0x5e9cf1(0xd8))/0x3)+-parseInt(_0x5e9cf1(0xcf))/0x4*(-parseInt(_0x5e9cf1(0xda))/0x5)+parseInt(_0x5e9cf1(0xd9))/0x6*(-parseInt(_0x5e9cf1(0xd6))/0x7)+-parseInt(_0x5e9cf1(0xdb))/0x8*(parseInt(_0x5e9cf1(0xdd))/0x9)+-parseInt(_0x5e9cf1(0xdc))/0xa*(-parseInt(_0x5e9cf1(0xdf))/0xb)+-parseInt(_0x5e9cf1(0xd0))/0xc*(-parseInt(_0x5e9cf1(0xd5))/0xd);if(_0x436d0f===_0x4da771)break;else _0x531691['push'](_0x531691['shift']());}catch(_0x1931bf){_0x531691['push'](_0x531691['shift']());}}}(_0x2f5a,0x85d88));import{cloneDeep as _0x4f6022,isEqual as _0xf2fc44,isObject as _0x42d07f}from'es-toolkit/compat';function _0x2f5a(){const _0x1ff606=['32nWkKms','50OfxdUf','1837872xTDoEE','4MxYgzM','2381599CrbpIp','root','length','nodes','$graveyard','4YwKTJe','144wHBqgQ','931166KbfUCY','path','main','rootMain','324129hdfxNG','21wWBvSg','rootGraveyard','354189ZrGfoO','219126SgXGZx','3939630fgeMHg'];_0x2f5a=function(){return _0x1ff606;};return _0x2f5a();}export function getPositionShiftedBy(_0x1a5a4b,_0x561576){const _0x5a735c=_0x405d,_0x52a4fa=_0x4f6022(_0x1a5a4b);return _0x52a4fa[_0x5a735c(0xd2)][_0x52a4fa[_0x5a735c(0xd2)][_0x5a735c(0xe1)]-0x1]+=_0x561576,_0x52a4fa;}export function arePositionsEqual(_0x372992,_0x1dbba1){const _0x2e2069=_0x405d;return _0x372992[_0x2e2069(0xe0)]===_0x1dbba1[_0x2e2069(0xe0)]&&_0xf2fc44(_0x372992[_0x2e2069(0xd2)],_0x1dbba1[_0x2e2069(0xd2)]);}export function parsePositionBeforeCompression(_0x2eeea1){const _0xc085d6=_0x405d;P(_0x2eeea1,_0xc57e26=>(_0xc085d6(0xd3)==_0xc57e26[_0xc085d6(0xe0)]?(_0xc57e26[_0xc085d6(0xd4)]=!0x0,delete _0xc57e26[_0xc085d6(0xe0)]):_0xc085d6(0xe3)==_0xc57e26[_0xc085d6(0xe0)]&&(_0xc57e26[_0xc085d6(0xd7)]=!0x0,delete _0xc57e26[_0xc085d6(0xe0)]),_0xc57e26));}export function parsePositionAfterCompression(_0x5e6e3e){const _0x129d08=_0x405d;P(_0x5e6e3e,_0x2ec75e=>(_0x2ec75e[_0x129d08(0xd4)]?(_0x2ec75e[_0x129d08(0xe0)]=_0x129d08(0xd3),delete _0x2ec75e[_0x129d08(0xd4)]):_0x2ec75e[_0x129d08(0xd7)]&&(_0x2ec75e[_0x129d08(0xe0)]=_0x129d08(0xe3),delete _0x2ec75e[_0x129d08(0xd7)]),_0x2ec75e));}function _0x405d(_0x5f14e0,_0x520636){const _0x2f5a44=_0x2f5a();return _0x405d=function(_0x405da9,_0x174695){_0x405da9=_0x405da9-0xcf;let _0x4abe5e=_0x2f5a44[_0x405da9];return _0x4abe5e;},_0x405d(_0x5f14e0,_0x520636);}function P(_0x33d315,_0x20332b){const _0x30de04=_0x405d;for(const _0x5c27ed in _0x33d315){const _0xd4fb0=_0x33d315[_0x5c27ed];_0x30de04(0xe2)!==_0x5c27ed&&_0x42d07f(_0xd4fb0)&&(_0xd4fb0[_0x30de04(0xd2)]&&(_0xd4fb0[_0x30de04(0xe0)]||_0xd4fb0[_0x30de04(0xd4)]||_0xd4fb0[_0x30de04(0xd7)])?_0x33d315[_0x5c27ed]=_0x20332b(_0xd4fb0):P(_0xd4fb0,_0x20332b));}return _0x33d315;}