@ckeditor/ckeditor5-operations-compressor 42.0.1-alpha.3 → 42.0.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 _0x4808c2=_0x3076;function _0x1f93(){var _0xcf7141=['compress','types','407477AeAskm','99729NSNcOP','_id','_operationName','10421360nCHKYs','shift','7210889TrSTrS','932766VnjRZJ','push','316915qqeLUx','28oaMjrX','1497684bJljtg','decompress'];_0x1f93=function(){return _0xcf7141;};return _0x1f93();}function _0x3076(_0x5b23ac,_0xe3f2a8){var _0x1f93b4=_0x1f93();return _0x3076=function(_0x30767e,_0x3b30f5){_0x30767e=_0x30767e-0x1c3;var _0x3586cb=_0x1f93b4[_0x30767e];return _0x3586cb;},_0x3076(_0x5b23ac,_0xe3f2a8);}(function(_0x49b8b5,_0x325b67){var _0x5a4752=_0x3076,_0x433699=_0x49b8b5();while(!![]){try{var _0x51a086=parseInt(_0x5a4752(0x1c4))/0x1+parseInt(_0x5a4752(0x1cb))/0x2+parseInt(_0x5a4752(0x1c5))/0x3*(parseInt(_0x5a4752(0x1ce))/0x4)+-parseInt(_0x5a4752(0x1cd))/0x5+-parseInt(_0x5a4752(0x1cf))/0x6+parseInt(_0x5a4752(0x1ca))/0x7+-parseInt(_0x5a4752(0x1c8))/0x8;if(_0x51a086===_0x325b67)break;else _0x433699['push'](_0x433699['shift']());}catch(_0x3fc155){_0x433699['push'](_0x433699['shift']());}}}(_0x1f93,0x7f33d));import _0x5cc523 from'./operationcompressor.js';export default class p extends _0x5cc523{[_0x4808c2(0x1d1)](_0x1d0465,_0x5e4175){var _0x4903d7=_0x4808c2;return _0x5e4175[_0x4903d7(0x1c9)](),_0x1d0465[_0x4903d7(0x1c3)][_0x4903d7(0x1cc)](this[_0x4903d7(0x1c6)]),!0x0;}[_0x4808c2(0x1d0)](_0x3965aa,_0x3860cd){var _0x5d2b9a=_0x4808c2;_0x3860cd[_0x5d2b9a(0x1c3)][_0x5d2b9a(0x1c9)](),_0x3965aa[_0x5d2b9a(0x1cc)]({'__className':this[_0x5d2b9a(0x1c7)]});}}
23
+ function _0x57db(){var _0x54d560=['2506UHNucM','97581gCILxe','9bWrYKA','_id','_operationName','1491008CUSjUf','744186jGLYnc','compress','2887255ubGooO','shift','3228IqsUWo','push','14952584onCWhv','decompress','930474nSmWen','types'];_0x57db=function(){return _0x54d560;};return _0x57db();}var _0x35a26d=_0x5f55;(function(_0x2f8274,_0x21a94b){var _0x34e7d9=_0x5f55,_0x3ba99e=_0x2f8274();while(!![]){try{var _0xb27bda=-parseInt(_0x34e7d9(0x152))/0x1+-parseInt(_0x34e7d9(0x15f))/0x2+-parseInt(_0x34e7d9(0x157))/0x3+-parseInt(_0x34e7d9(0x156))/0x4+-parseInt(_0x34e7d9(0x159))/0x5+parseInt(_0x34e7d9(0x15b))/0x6*(parseInt(_0x34e7d9(0x151))/0x7)+parseInt(_0x34e7d9(0x15d))/0x8*(parseInt(_0x34e7d9(0x153))/0x9);if(_0xb27bda===_0x21a94b)break;else _0x3ba99e['push'](_0x3ba99e['shift']());}catch(_0x5510c4){_0x3ba99e['push'](_0x3ba99e['shift']());}}}(_0x57db,0x49632));import _0x4d7ea5 from'./operationcompressor.js';function _0x5f55(_0x58b238,_0x3a539f){var _0x57dbca=_0x57db();return _0x5f55=function(_0x5f5522,_0xdbd681){_0x5f5522=_0x5f5522-0x151;var _0x25f28e=_0x57dbca[_0x5f5522];return _0x25f28e;},_0x5f55(_0x58b238,_0x3a539f);}export default class p extends _0x4d7ea5{[_0x35a26d(0x158)](_0x4938e7,_0x5ba935){var _0x3ee8bc=_0x35a26d;return _0x5ba935[_0x3ee8bc(0x15a)](),_0x4938e7[_0x3ee8bc(0x160)][_0x3ee8bc(0x15c)](this[_0x3ee8bc(0x154)]),!0x0;}[_0x35a26d(0x15e)](_0x4747ba,_0x1ecfb7){var _0x34efc7=_0x35a26d;_0x1ecfb7[_0x34efc7(0x160)][_0x34efc7(0x15a)](),_0x4747ba[_0x34efc7(0x15c)]({'__className':this[_0x34efc7(0x155)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fa9(_0x37050f,_0x593ede){const _0x3ea3a8=_0x3ea3();return _0x1fa9=function(_0x1fa986,_0x207ec6){_0x1fa986=_0x1fa986-0xb7;let _0x5050f6=_0x3ea3a8[_0x1fa986];return _0x5050f6;},_0x1fa9(_0x37050f,_0x593ede);}const _0x385812=_0x1fa9;(function(_0x24c00a,_0xeccef){const _0x2d4ae9=_0x1fa9,_0x57279e=_0x24c00a();while(!![]){try{const _0x2b1f98=parseInt(_0x2d4ae9(0xbc))/0x1*(parseInt(_0x2d4ae9(0xb8))/0x2)+-parseInt(_0x2d4ae9(0xc6))/0x3+-parseInt(_0x2d4ae9(0xc0))/0x4*(-parseInt(_0x2d4ae9(0xc7))/0x5)+-parseInt(_0x2d4ae9(0xc4))/0x6*(-parseInt(_0x2d4ae9(0xc2))/0x7)+-parseInt(_0x2d4ae9(0xc8))/0x8*(parseInt(_0x2d4ae9(0xb7))/0x9)+parseInt(_0x2d4ae9(0xbb))/0xa*(parseInt(_0x2d4ae9(0xc5))/0xb)+-parseInt(_0x2d4ae9(0xbd))/0xc;if(_0x2b1f98===_0xeccef)break;else _0x57279e['push'](_0x57279e['shift']());}catch(_0x446c77){_0x57279e['push'](_0x57279e['shift']());}}}(_0x3ea3,0x6ee9f));import{parsePositionBeforeCompression as _0x2fe79b,parsePositionAfterCompression as _0x2bf705}from'../utils.js';function _0x3ea3(){const _0x3bc7cb=['6746688sHFECX','types','__className','4sJWewE','_id','2673881mHHlNK','_protobufDescriptor','6aXhCXV','11xZRqJv','93570InzxRn','2658715yrvGij','400KCtIIU','shift','push','decompress','compress','109602NiLUEe','98dbNCrZ','_operationName','buffers','4068980GmRhfI','6857SBRYKm'];_0x3ea3=function(){return _0x3bc7cb;};return _0x3ea3();}export default class e{constructor(_0x4cb19a,_0x13fa2b,_0x11c7cb){const _0x2d944a=_0x1fa9;this[_0x2d944a(0xc1)]=_0x4cb19a,this[_0x2d944a(0xb9)]=_0x13fa2b,this[_0x2d944a(0xc3)]=_0x11c7cb;}[_0x385812(0xcc)](_0x48402f,_0x1d98a4){const _0x522b10=_0x385812,_0x4b1033=_0x1d98a4[_0x522b10(0xc9)]();return _0x2fe79b(_0x4b1033),_0x48402f[_0x522b10(0xba)][_0x522b10(0xca)](this[_0x522b10(0xc3)][_0x522b10(0xcc)](_0x4b1033)),_0x48402f[_0x522b10(0xbe)][_0x522b10(0xca)](this[_0x522b10(0xc1)]),!0x0;}[_0x385812(0xcb)](_0x520633,_0x13544a){const _0x19fce4=_0x385812;_0x13544a[_0x19fce4(0xbe)][_0x19fce4(0xc9)]();const _0x2ed279=this[_0x19fce4(0xc3)][_0x19fce4(0xcb)](_0x13544a[_0x19fce4(0xba)][_0x19fce4(0xc9)]());_0x2bf705(_0x2ed279),_0x2ed279[_0x19fce4(0xbf)]=this[_0x19fce4(0xb9)],_0x520633[_0x19fce4(0xca)](_0x2ed279);}}
23
+ function _0x4aba(_0x583764,_0x243668){const _0xdc49ae=_0xdc49();return _0x4aba=function(_0x4abaed,_0x270464){_0x4abaed=_0x4abaed-0x1e5;let _0x2af185=_0xdc49ae[_0x4abaed];return _0x2af185;},_0x4aba(_0x583764,_0x243668);}const _0x45aac9=_0x4aba;(function(_0x169ed3,_0x5c82f4){const _0x3b2161=_0x4aba,_0x354765=_0x169ed3();while(!![]){try{const _0x320d35=parseInt(_0x3b2161(0x1e6))/0x1*(-parseInt(_0x3b2161(0x1e8))/0x2)+-parseInt(_0x3b2161(0x1ec))/0x3*(parseInt(_0x3b2161(0x1f4))/0x4)+-parseInt(_0x3b2161(0x1ee))/0x5+parseInt(_0x3b2161(0x1eb))/0x6*(-parseInt(_0x3b2161(0x1e5))/0x7)+-parseInt(_0x3b2161(0x1ed))/0x8*(parseInt(_0x3b2161(0x1ef))/0x9)+-parseInt(_0x3b2161(0x1f5))/0xa+parseInt(_0x3b2161(0x1f8))/0xb;if(_0x320d35===_0x5c82f4)break;else _0x354765['push'](_0x354765['shift']());}catch(_0x1aa91a){_0x354765['push'](_0x354765['shift']());}}}(_0xdc49,0x2f220));import{parsePositionBeforeCompression as _0x1374e7,parsePositionAfterCompression as _0x1e0af8}from'../utils.js';function _0xdc49(){const _0x20ca2e=['buffers','push','types','_protobufDescriptor','316CTZson','1135800yMbBYx','shift','_id','18492771cDSjmw','compress','1346772KLzLTV','341950fdUUPb','_operationName','2ltyWTB','decompress','__className','6ZPPPwS','5112WGxKdf','232swOrUC','1784045lcJmdz','108234dTjUCh'];_0xdc49=function(){return _0x20ca2e;};return _0xdc49();}export default class e{constructor(_0xe6fb76,_0x5e6bd0,_0x4b18bb){const _0x9c6073=_0x4aba;this[_0x9c6073(0x1f7)]=_0xe6fb76,this[_0x9c6073(0x1e7)]=_0x5e6bd0,this[_0x9c6073(0x1f3)]=_0x4b18bb;}[_0x45aac9(0x1f9)](_0x3a524e,_0x4fe0b1){const _0x3d494d=_0x45aac9,_0x3a3687=_0x4fe0b1[_0x3d494d(0x1f6)]();return _0x1374e7(_0x3a3687),_0x3a524e[_0x3d494d(0x1f0)][_0x3d494d(0x1f1)](this[_0x3d494d(0x1f3)][_0x3d494d(0x1f9)](_0x3a3687)),_0x3a524e[_0x3d494d(0x1f2)][_0x3d494d(0x1f1)](this[_0x3d494d(0x1f7)]),!0x0;}[_0x45aac9(0x1e9)](_0x4383d0,_0x329fcf){const _0x25c84c=_0x45aac9;_0x329fcf[_0x25c84c(0x1f2)][_0x25c84c(0x1f6)]();const _0x3acd8f=this[_0x25c84c(0x1f3)][_0x25c84c(0x1e9)](_0x329fcf[_0x25c84c(0x1f0)][_0x25c84c(0x1f6)]());_0x1e0af8(_0x3acd8f),_0x3acd8f[_0x25c84c(0x1ea)]=this[_0x25c84c(0x1e7)],_0x4383d0[_0x25c84c(0x1f1)](_0x3acd8f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3af760=_0x430d;function _0x4805(){const _0xa9a2bc=['14KSmCox','2276nhaiyg','_protobufRoot','4813560uovOKa','toObject','15311608ylxyfL','92779ahObxb','verify','11oAZxcj','create','_protobuf','36enJYBA','534hXETYg','36omBIsh','encode','2024872ouqBVA','35zAcrnT','decode','compress','1473096cDBNDT','finish','4184370bIUoZb','decompress','getDescriptor'];_0x4805=function(){return _0xa9a2bc;};return _0x4805();}function _0x430d(_0x41cec8,_0x29f4ed){const _0x48054c=_0x4805();return _0x430d=function(_0x430dbd,_0x3e101c){_0x430dbd=_0x430dbd-0xf3;let _0x86e73e=_0x48054c[_0x430dbd];return _0x86e73e;},_0x430d(_0x41cec8,_0x29f4ed);}(function(_0x3e6db2,_0x3560af){const _0x19f2fc=_0x430d,_0x140b74=_0x3e6db2();while(!![]){try{const _0x1805ba=-parseInt(_0x19f2fc(0xf6))/0x1*(-parseInt(_0x19f2fc(0x108))/0x2)+-parseInt(_0x19f2fc(0xfc))/0x3*(-parseInt(_0x19f2fc(0x109))/0x4)+parseInt(_0x19f2fc(0x105))/0x5+parseInt(_0x19f2fc(0x103))/0x6*(parseInt(_0x19f2fc(0x100))/0x7)+parseInt(_0x19f2fc(0xff))/0x8*(parseInt(_0x19f2fc(0xfd))/0x9)+-parseInt(_0x19f2fc(0xf3))/0xa*(-parseInt(_0x19f2fc(0xf8))/0xb)+parseInt(_0x19f2fc(0xfb))/0xc*(-parseInt(_0x19f2fc(0xf5))/0xd);if(_0x1805ba===_0x3560af)break;else _0x140b74['push'](_0x140b74['shift']());}catch(_0x26bea2){_0x140b74['push'](_0x140b74['shift']());}}}(_0x4805,0xbd56d));import{messages as _0x284b72}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x393d09=_0x430d;this[_0x393d09(0x10a)]=_0x284b72;}[_0x3af760(0x107)](_0xdf2994){const _0x4c2aeb=_0x3af760;return new ProtobufDescriptor(this[_0x4c2aeb(0x10a)][_0xdf2994]);}}export class ProtobufDescriptor{constructor(_0x302d07){const _0x4ffc77=_0x3af760;this[_0x4ffc77(0xfa)]=_0x302d07;}[_0x3af760(0x102)](_0x3c155a){const _0x30697f=_0x3af760,_0x27e62e=this[_0x30697f(0xfa)][_0x30697f(0xf7)](_0x3c155a);if(_0x27e62e)throw Error(_0x27e62e);return this[_0x30697f(0xfa)][_0x30697f(0xfe)](this[_0x30697f(0xfa)][_0x30697f(0xf9)](_0x3c155a))[_0x30697f(0x104)]();}[_0x3af760(0x106)](_0x57fb4e){const _0x498f2f=_0x3af760;return this[_0x498f2f(0xfa)][_0x498f2f(0xf4)](this[_0x498f2f(0xfa)][_0x498f2f(0x101)](_0x57fb4e),{'oneofs':!0x0});}}
23
+ function _0x4b1f(){const _0x13a289=['getDescriptor','_protobufRoot','4lmUmRY','_protobuf','28663SUQzoQ','2220753wDdNgr','encode','verify','finish','570104oBClBV','4582802ftnfyj','4PQRTqU','decode','6PRjRVh','toObject','compress','2769107eNtuhD','50yfvbHL','create','9031383tnpZpf','decompress','3006305tGkmbQ'];_0x4b1f=function(){return _0x13a289;};return _0x4b1f();}const _0x1bfbfb=_0x4b80;(function(_0x3ca170,_0x54aad1){const _0x1542a0=_0x4b80,_0xd22c59=_0x3ca170();while(!![]){try{const _0x4e3ef5=-parseInt(_0x1542a0(0x1e0))/0x1*(-parseInt(_0x1542a0(0x1de))/0x2)+parseInt(_0x1542a0(0x1e1))/0x3*(parseInt(_0x1542a0(0x1d1))/0x4)+parseInt(_0x1542a0(0x1db))/0x5*(parseInt(_0x1542a0(0x1d3))/0x6)+-parseInt(_0x1542a0(0x1d0))/0x7+parseInt(_0x1542a0(0x1cf))/0x8+parseInt(_0x1542a0(0x1d9))/0x9+parseInt(_0x1542a0(0x1d7))/0xa*(-parseInt(_0x1542a0(0x1d6))/0xb);if(_0x4e3ef5===_0x54aad1)break;else _0xd22c59['push'](_0xd22c59['shift']());}catch(_0x481a87){_0xd22c59['push'](_0xd22c59['shift']());}}}(_0x4b1f,0x88c59));import{messages as _0x4ae9b8}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x2bd7be=_0x4b80;this[_0x2bd7be(0x1dd)]=_0x4ae9b8;}[_0x1bfbfb(0x1dc)](_0x34ec31){const _0x51a326=_0x1bfbfb;return new ProtobufDescriptor(this[_0x51a326(0x1dd)][_0x34ec31]);}}function _0x4b80(_0x2049c3,_0x595454){const _0x4b1fff=_0x4b1f();return _0x4b80=function(_0x4b80b3,_0x7d8138){_0x4b80b3=_0x4b80b3-0x1ce;let _0x2f5fa8=_0x4b1fff[_0x4b80b3];return _0x2f5fa8;},_0x4b80(_0x2049c3,_0x595454);}export class ProtobufDescriptor{constructor(_0xb82694){const _0x4a06ee=_0x1bfbfb;this[_0x4a06ee(0x1df)]=_0xb82694;}[_0x1bfbfb(0x1d5)](_0x1bf034){const _0x17f412=_0x1bfbfb,_0x438de4=this[_0x17f412(0x1df)][_0x17f412(0x1e3)](_0x1bf034);if(_0x438de4)throw Error(_0x438de4);return this[_0x17f412(0x1df)][_0x17f412(0x1e2)](this[_0x17f412(0x1df)][_0x17f412(0x1d8)](_0x1bf034))[_0x17f412(0x1ce)]();}[_0x1bfbfb(0x1da)](_0x2b4dfa){const _0x24a9a0=_0x1bfbfb;return this[_0x24a9a0(0x1df)][_0x24a9a0(0x1d4)](this[_0x24a9a0(0x1df)][_0x24a9a0(0x1d2)](_0x2b4dfa),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3954(){const _0x3149c2=['733689XUfRGO','rootMain','rootGraveyard','root','nodes','27gZCXIF','1045168cZWvpU','$graveyard','16843LSoMGh','185432eOvTec','path','141659QiDfsq','532990xxFaWk','2uKUITI','main','length','126015gPwAak','90HEIhTx'];_0x3954=function(){return _0x3149c2;};return _0x3954();}(function(_0x55ebe9,_0x2a7cb4){const _0x342cd1=_0x181c,_0x40ca59=_0x55ebe9();while(!![]){try{const _0x122cea=parseInt(_0x342cd1(0x1c9))/0x1*(parseInt(_0x342cd1(0x1ce))/0x2)+parseInt(_0x342cd1(0x1d3))/0x3+-parseInt(_0x342cd1(0x1ca))/0x4+parseInt(_0x342cd1(0x1d1))/0x5+parseInt(_0x342cd1(0x1d2))/0x6*(parseInt(_0x342cd1(0x1cc))/0x7)+-parseInt(_0x342cd1(0x1c7))/0x8+parseInt(_0x342cd1(0x1c6))/0x9*(-parseInt(_0x342cd1(0x1cd))/0xa);if(_0x122cea===_0x2a7cb4)break;else _0x40ca59['push'](_0x40ca59['shift']());}catch(_0x5b62fe){_0x40ca59['push'](_0x40ca59['shift']());}}}(_0x3954,0x3dd4f));import{cloneDeep as _0x1a352f,isEqual as _0x2564df,isObject as _0x8ec8be}from'lodash-es';export function getPositionShiftedBy(_0x2b5946,_0x467d9d){const _0x2afc9c=_0x181c,_0x12beb7=_0x1a352f(_0x2b5946);return _0x12beb7[_0x2afc9c(0x1cb)][_0x12beb7[_0x2afc9c(0x1cb)][_0x2afc9c(0x1d0)]-0x1]+=_0x467d9d,_0x12beb7;}export function arePositionsEqual(_0x2feb03,_0x19b6b5){const _0x37d94a=_0x181c;return _0x2feb03[_0x37d94a(0x1c4)]===_0x19b6b5[_0x37d94a(0x1c4)]&&_0x2564df(_0x2feb03[_0x37d94a(0x1cb)],_0x19b6b5[_0x37d94a(0x1cb)]);}export function parsePositionBeforeCompression(_0x4d22e2){const _0x5c17e6=_0x181c;P(_0x4d22e2,_0xa321c3=>(_0x5c17e6(0x1cf)==_0xa321c3[_0x5c17e6(0x1c4)]?(_0xa321c3[_0x5c17e6(0x1c2)]=!0x0,delete _0xa321c3[_0x5c17e6(0x1c4)]):_0x5c17e6(0x1c8)==_0xa321c3[_0x5c17e6(0x1c4)]&&(_0xa321c3[_0x5c17e6(0x1c3)]=!0x0,delete _0xa321c3[_0x5c17e6(0x1c4)]),_0xa321c3));}function _0x181c(_0x59c937,_0x7154cd){const _0x3954bb=_0x3954();return _0x181c=function(_0x181ccd,_0x291de9){_0x181ccd=_0x181ccd-0x1c2;let _0x3c6e94=_0x3954bb[_0x181ccd];return _0x3c6e94;},_0x181c(_0x59c937,_0x7154cd);}export function parsePositionAfterCompression(_0x6a4228){const _0x286835=_0x181c;P(_0x6a4228,_0x4619ed=>(_0x4619ed[_0x286835(0x1c2)]?(_0x4619ed[_0x286835(0x1c4)]=_0x286835(0x1cf),delete _0x4619ed[_0x286835(0x1c2)]):_0x4619ed[_0x286835(0x1c3)]&&(_0x4619ed[_0x286835(0x1c4)]=_0x286835(0x1c8),delete _0x4619ed[_0x286835(0x1c3)]),_0x4619ed));}function P(_0x1638fe,_0x3a269b){const _0x5496f7=_0x181c;for(const _0x3acc5d in _0x1638fe){const _0x1c48ad=_0x1638fe[_0x3acc5d];_0x5496f7(0x1c5)!==_0x3acc5d&&_0x8ec8be(_0x1c48ad)&&(_0x1c48ad[_0x5496f7(0x1cb)]&&(_0x1c48ad[_0x5496f7(0x1c4)]||_0x1c48ad[_0x5496f7(0x1c2)]||_0x1c48ad[_0x5496f7(0x1c3)])?_0x1638fe[_0x3acc5d]=_0x3a269b(_0x1c48ad):P(_0x1c48ad,_0x3a269b));}return _0x1638fe;}
23
+ (function(_0x1fe72e,_0x27d9cb){const _0x8d584=_0x3449,_0x44396b=_0x1fe72e();while(!![]){try{const _0x52947a=parseInt(_0x8d584(0x138))/0x1*(-parseInt(_0x8d584(0x13b))/0x2)+parseInt(_0x8d584(0x139))/0x3+-parseInt(_0x8d584(0x132))/0x4+parseInt(_0x8d584(0x133))/0x5*(parseInt(_0x8d584(0x140))/0x6)+-parseInt(_0x8d584(0x137))/0x7*(parseInt(_0x8d584(0x131))/0x8)+parseInt(_0x8d584(0x142))/0x9*(parseInt(_0x8d584(0x13e))/0xa)+parseInt(_0x8d584(0x13d))/0xb;if(_0x52947a===_0x27d9cb)break;else _0x44396b['push'](_0x44396b['shift']());}catch(_0x5fd470){_0x44396b['push'](_0x44396b['shift']());}}}(_0x12d5,0x917c4));import{cloneDeep as _0x32cef0,isEqual as _0x207e40,isObject as _0x3d461b}from'lodash-es';export function getPositionShiftedBy(_0xedc214,_0x3fd40c){const _0x53e2b8=_0x3449,_0x6c9cd9=_0x32cef0(_0xedc214);return _0x6c9cd9[_0x53e2b8(0x13f)][_0x6c9cd9[_0x53e2b8(0x13f)][_0x53e2b8(0x13a)]-0x1]+=_0x3fd40c,_0x6c9cd9;}export function arePositionsEqual(_0x3cff8a,_0x228752){const _0x502dfa=_0x3449;return _0x3cff8a[_0x502dfa(0x136)]===_0x228752[_0x502dfa(0x136)]&&_0x207e40(_0x3cff8a[_0x502dfa(0x13f)],_0x228752[_0x502dfa(0x13f)]);}export function parsePositionBeforeCompression(_0x244214){const _0x229b80=_0x3449;P(_0x244214,_0x56938c=>(_0x229b80(0x130)==_0x56938c[_0x229b80(0x136)]?(_0x56938c[_0x229b80(0x135)]=!0x0,delete _0x56938c[_0x229b80(0x136)]):_0x229b80(0x134)==_0x56938c[_0x229b80(0x136)]&&(_0x56938c[_0x229b80(0x13c)]=!0x0,delete _0x56938c[_0x229b80(0x136)]),_0x56938c));}function _0x3449(_0x183236,_0x2cfa6c){const _0x12d5ab=_0x12d5();return _0x3449=function(_0x3449b9,_0x255682){_0x3449b9=_0x3449b9-0x130;let _0x28d0c9=_0x12d5ab[_0x3449b9];return _0x28d0c9;},_0x3449(_0x183236,_0x2cfa6c);}function _0x12d5(){const _0x18086b=['7146Defnwa','main','9358072BYrPbO','586364hsCaWk','5kOBEDT','$graveyard','rootMain','root','7ZPlxSY','491FqNhXk','1568412wVhHLn','length','3946rfIjmS','rootGraveyard','7521382pUFaCm','6710AuZtbh','path','6849966mWEXsa','nodes'];_0x12d5=function(){return _0x18086b;};return _0x12d5();}export function parsePositionAfterCompression(_0x578507){const _0x368975=_0x3449;P(_0x578507,_0x495b16=>(_0x495b16[_0x368975(0x135)]?(_0x495b16[_0x368975(0x136)]=_0x368975(0x130),delete _0x495b16[_0x368975(0x135)]):_0x495b16[_0x368975(0x13c)]&&(_0x495b16[_0x368975(0x136)]=_0x368975(0x134),delete _0x495b16[_0x368975(0x13c)]),_0x495b16));}function P(_0x521b00,_0x4c7e01){const _0x40df70=_0x3449;for(const _0x2f57aa in _0x521b00){const _0x4f6bd4=_0x521b00[_0x2f57aa];_0x40df70(0x141)!==_0x2f57aa&&_0x3d461b(_0x4f6bd4)&&(_0x4f6bd4[_0x40df70(0x13f)]&&(_0x4f6bd4[_0x40df70(0x136)]||_0x4f6bd4[_0x40df70(0x135)]||_0x4f6bd4[_0x40df70(0x13c)])?_0x521b00[_0x2f57aa]=_0x4c7e01(_0x4f6bd4):P(_0x4f6bd4,_0x4c7e01));}return _0x521b00;}