@ckeditor/ckeditor5-operations-compressor 0.0.0-nightly-20240513.0 → 0.0.0-nightly-20240514.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
- 'use strict';var _0x17bf0b=_0x2b6f;function _0x2b6f(_0x4f6372,_0x3a8951){var _0x4caf56=_0x4caf();return _0x2b6f=function(_0x2b6fb,_0x21ec99){_0x2b6fb=_0x2b6fb-0xdc;var _0x300b54=_0x4caf56[_0x2b6fb];return _0x300b54;},_0x2b6f(_0x4f6372,_0x3a8951);}function _0x4caf(){var _0x582309=['Position','2YsqxIq','3481731qHnytO','exports','repeated','9399oBnugQ','385604LQaaDJ','162320gZbmvZ','Range','692676vMeHXg','611352tEJaZz','bool','uint32','Element','string','84NkWcDb','51272ZBsBMo'];_0x4caf=function(){return _0x582309;};return _0x4caf();}(function(_0x6f46c5,_0x430711){var _0x2abda3=_0x2b6f,_0x497825=_0x6f46c5();while(!![]){try{var _0x54592c=parseInt(_0x2abda3(0xe1))/0x1+parseInt(_0x2abda3(0xdd))/0x2*(-parseInt(_0x2abda3(0xe6))/0x3)+parseInt(_0x2abda3(0xe2))/0x4+parseInt(_0x2abda3(0xe3))/0x5+-parseInt(_0x2abda3(0xe5))/0x6+parseInt(_0x2abda3(0xeb))/0x7*(-parseInt(_0x2abda3(0xec))/0x8)+parseInt(_0x2abda3(0xde))/0x9;if(_0x54592c===_0x430711)break;else _0x497825['push'](_0x497825['shift']());}catch(_0x226e04){_0x497825['push'](_0x497825['shift']());}}}(_0x4caf,0x1f7d9));module[_0x17bf0b(0xdf)]={'AttributeOperation':{'fields':{'range':{'type':_0x17bf0b(0xe4),'id':0x1},'key':{'type':_0x17bf0b(0xea),'id':0x2},'oldValueBoolean':{'type':_0x17bf0b(0xe7),'id':0x3},'oldValueJson':{'type':_0x17bf0b(0xea),'id':0x4},'newValueBoolean':{'type':_0x17bf0b(0xe7),'id':0x5},'newValueJson':{'type':_0x17bf0b(0xea),'id':0x6},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x17bf0b(0xdc),'id':0x1},'nodes':{'rule':_0x17bf0b(0xe0),'type':_0x17bf0b(0xe9),'id':0x2},'shouldReceiveAttributes':{'type':_0x17bf0b(0xe7),'id':0x3},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x17bf0b(0xea),'id':0x1},'oldRange':{'type':_0x17bf0b(0xe4),'id':0x2},'newRange':{'type':_0x17bf0b(0xe4),'id':0x3},'affectsData':{'type':_0x17bf0b(0xe7),'id':0x4},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0x17bf0b(0xdc),'id':0x1},'targetPosition':{'type':_0x17bf0b(0xdc),'id':0x2},'graveyardPosition':{'type':_0x17bf0b(0xdc),'id':0x3},'howMany':{'type':_0x17bf0b(0xe8),'id':0x4},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x17bf0b(0xdc),'id':0x1},'howMany':{'type':_0x17bf0b(0xe8),'id':0x2},'targetPosition':{'type':_0x17bf0b(0xdc),'id':0x3},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x17bf0b(0xdc),'id':0x1},'oldName':{'type':_0x17bf0b(0xea),'id':0x2},'newName':{'type':_0x17bf0b(0xea),'id':0x3},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x17bf0b(0xea),'id':0x1},'key':{'type':_0x17bf0b(0xea),'id':0x2},'oldValueBoolean':{'type':_0x17bf0b(0xe7),'id':0x3},'oldValueJson':{'type':_0x17bf0b(0xea),'id':0x4},'newValueBoolean':{'type':_0x17bf0b(0xe7),'id':0x5},'newValueJson':{'type':_0x17bf0b(0xea),'id':0x6},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x17bf0b(0xea),'id':0x1},'elementName':{'type':_0x17bf0b(0xea),'id':0x2},'isAdd':{'type':_0x17bf0b(0xe7),'id':0x3},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x17bf0b(0xdc),'id':0x1},'graveyardPosition':{'type':_0x17bf0b(0xdc),'id':0x2},'howMany':{'type':_0x17bf0b(0xe8),'id':0x3},'insertionPosition':{'type':_0x17bf0b(0xdc),'id':0x4},'wasUndone':{'type':_0x17bf0b(0xe7),'id':0x5}}},'Position':{'fields':{'root':{'type':_0x17bf0b(0xea),'id':0x1},'rootMain':{'type':_0x17bf0b(0xe7),'id':0x2},'rootGraveyard':{'type':_0x17bf0b(0xe7),'id':0x3},'path':{'rule':_0x17bf0b(0xe0),'type':_0x17bf0b(0xe8),'id':0x4},'stickiness':{'type':_0x17bf0b(0xea),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x17bf0b(0xdc),'id':0x1},'end':{'type':_0x17bf0b(0xdc),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x17bf0b(0xea),'id':0x1},'children':{'rule':_0x17bf0b(0xe0),'type':_0x17bf0b(0xe9),'id':0x2},'data':{'type':_0x17bf0b(0xea),'id':0x3},'attributesBoolean':{'keyType':_0x17bf0b(0xea),'type':_0x17bf0b(0xe7),'id':0x4},'attributesJson':{'type':_0x17bf0b(0xea),'id':0x5}}}};
23
+ 'use strict';function _0x53d8(_0x1adad3,_0x2d4b97){var _0x54a24a=_0x54a2();return _0x53d8=function(_0x53d83c,_0x3254){_0x53d83c=_0x53d83c-0x175;var _0x5ea992=_0x54a24a[_0x53d83c];return _0x5ea992;},_0x53d8(_0x1adad3,_0x2d4b97);}var _0x2828d6=_0x53d8;(function(_0x23aaba,_0x53c219){var _0x4f5ade=_0x53d8,_0x49c2e7=_0x23aaba();while(!![]){try{var _0x76e5c9=parseInt(_0x4f5ade(0x186))/0x1*(parseInt(_0x4f5ade(0x184))/0x2)+-parseInt(_0x4f5ade(0x183))/0x3+parseInt(_0x4f5ade(0x178))/0x4+-parseInt(_0x4f5ade(0x176))/0x5+parseInt(_0x4f5ade(0x175))/0x6*(-parseInt(_0x4f5ade(0x17e))/0x7)+parseInt(_0x4f5ade(0x185))/0x8*(parseInt(_0x4f5ade(0x177))/0x9)+parseInt(_0x4f5ade(0x17d))/0xa;if(_0x76e5c9===_0x53c219)break;else _0x49c2e7['push'](_0x49c2e7['shift']());}catch(_0x30dd73){_0x49c2e7['push'](_0x49c2e7['shift']());}}}(_0x54a2,0x7f86c));function _0x54a2(){var _0x37ff58=['242IzOgjq','94816aeSoQh','7057tiJlid','2446860lFIMZX','3716215QSpQUu','792xyXTSV','473356QxvidC','repeated','Position','Element','string','1694310MuMTIc','14mrqVYB','Range','exports','bool','uint32','310296frkZtn'];_0x54a2=function(){return _0x37ff58;};return _0x54a2();}module[_0x2828d6(0x180)]={'AttributeOperation':{'fields':{'range':{'type':_0x2828d6(0x17f),'id':0x1},'key':{'type':_0x2828d6(0x17c),'id':0x2},'oldValueBoolean':{'type':_0x2828d6(0x181),'id':0x3},'oldValueJson':{'type':_0x2828d6(0x17c),'id':0x4},'newValueBoolean':{'type':_0x2828d6(0x181),'id':0x5},'newValueJson':{'type':_0x2828d6(0x17c),'id':0x6},'wasUndone':{'type':_0x2828d6(0x181),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x2828d6(0x17a),'id':0x1},'nodes':{'rule':_0x2828d6(0x179),'type':_0x2828d6(0x17b),'id':0x2},'shouldReceiveAttributes':{'type':_0x2828d6(0x181),'id':0x3},'wasUndone':{'type':_0x2828d6(0x181),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x2828d6(0x17c),'id':0x1},'oldRange':{'type':_0x2828d6(0x17f),'id':0x2},'newRange':{'type':_0x2828d6(0x17f),'id':0x3},'affectsData':{'type':_0x2828d6(0x181),'id':0x4},'wasUndone':{'type':_0x2828d6(0x181),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0x2828d6(0x17a),'id':0x1},'targetPosition':{'type':_0x2828d6(0x17a),'id':0x2},'graveyardPosition':{'type':_0x2828d6(0x17a),'id':0x3},'howMany':{'type':_0x2828d6(0x182),'id':0x4},'wasUndone':{'type':_0x2828d6(0x181),'id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x2828d6(0x17a),'id':0x1},'howMany':{'type':_0x2828d6(0x182),'id':0x2},'targetPosition':{'type':_0x2828d6(0x17a),'id':0x3},'wasUndone':{'type':_0x2828d6(0x181),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x2828d6(0x17a),'id':0x1},'oldName':{'type':_0x2828d6(0x17c),'id':0x2},'newName':{'type':_0x2828d6(0x17c),'id':0x3},'wasUndone':{'type':_0x2828d6(0x181),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x2828d6(0x17c),'id':0x1},'key':{'type':_0x2828d6(0x17c),'id':0x2},'oldValueBoolean':{'type':_0x2828d6(0x181),'id':0x3},'oldValueJson':{'type':_0x2828d6(0x17c),'id':0x4},'newValueBoolean':{'type':_0x2828d6(0x181),'id':0x5},'newValueJson':{'type':_0x2828d6(0x17c),'id':0x6},'wasUndone':{'type':_0x2828d6(0x181),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x2828d6(0x17c),'id':0x1},'elementName':{'type':_0x2828d6(0x17c),'id':0x2},'isAdd':{'type':_0x2828d6(0x181),'id':0x3},'wasUndone':{'type':_0x2828d6(0x181),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x2828d6(0x17a),'id':0x1},'graveyardPosition':{'type':_0x2828d6(0x17a),'id':0x2},'howMany':{'type':_0x2828d6(0x182),'id':0x3},'insertionPosition':{'type':_0x2828d6(0x17a),'id':0x4},'wasUndone':{'type':_0x2828d6(0x181),'id':0x5}}},'Position':{'fields':{'root':{'type':_0x2828d6(0x17c),'id':0x1},'rootMain':{'type':_0x2828d6(0x181),'id':0x2},'rootGraveyard':{'type':_0x2828d6(0x181),'id':0x3},'path':{'rule':_0x2828d6(0x179),'type':_0x2828d6(0x182),'id':0x4},'stickiness':{'type':_0x2828d6(0x17c),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x2828d6(0x17a),'id':0x1},'end':{'type':_0x2828d6(0x17a),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x2828d6(0x17c),'id':0x1},'children':{'rule':_0x2828d6(0x179),'type':_0x2828d6(0x17b),'id':0x2},'data':{'type':_0x2828d6(0x17c),'id':0x3},'attributesBoolean':{'keyType':_0x2828d6(0x17c),'type':_0x2828d6(0x181),'id':0x4},'attributesJson':{'type':_0x2828d6(0x17c),'id':0x5}}}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51ee0b=_0x2e18;(function(_0x105765,_0x1c0c41){const _0x513222=_0x2e18,_0x34f0bd=_0x105765();while(!![]){try{const _0x3ad05b=-parseInt(_0x513222(0x109))/0x1+parseInt(_0x513222(0x111))/0x2*(-parseInt(_0x513222(0x10f))/0x3)+parseInt(_0x513222(0x112))/0x4*(-parseInt(_0x513222(0x114))/0x5)+parseInt(_0x513222(0x11c))/0x6+-parseInt(_0x513222(0x11b))/0x7*(parseInt(_0x513222(0x113))/0x8)+parseInt(_0x513222(0x115))/0x9*(parseInt(_0x513222(0x10a))/0xa)+parseInt(_0x513222(0x116))/0xb;if(_0x3ad05b===_0x1c0c41)break;else _0x34f0bd['push'](_0x34f0bd['shift']());}catch(_0x5c566f){_0x34f0bd['push'](_0x34f0bd['shift']());}}}(_0x4ca2,0x70dd4));import*as _0x1a7299 from'./lib/compiledmessages.js';export default class r{constructor(){const _0x4789e1=_0x2e18;this[_0x4789e1(0x110)]=_0x1a7299;}[_0x51ee0b(0x11d)](_0x3ddf08){const _0x598c33=_0x51ee0b;return new ProtobufDescriptor(this[_0x598c33(0x110)][_0x3ddf08]);}}function _0x2e18(_0x4eaf92,_0x102916){const _0x4ca276=_0x4ca2();return _0x2e18=function(_0x2e184e,_0xd58e95){_0x2e184e=_0x2e184e-0x108;let _0x3d56a3=_0x4ca276[_0x2e184e];return _0x3d56a3;},_0x2e18(_0x4eaf92,_0x102916);}export class ProtobufDescriptor{constructor(_0x104f19){const _0x3d5496=_0x51ee0b;this[_0x3d5496(0x118)]=_0x104f19;}[_0x51ee0b(0x11a)](_0x40693f){const _0x59f0a9=_0x51ee0b,_0x38255e=this[_0x59f0a9(0x118)][_0x59f0a9(0x117)](_0x40693f);if(_0x38255e)throw Error(_0x38255e);return this[_0x59f0a9(0x118)][_0x59f0a9(0x119)](this[_0x59f0a9(0x118)][_0x59f0a9(0x10d)](_0x40693f))[_0x59f0a9(0x10b)]();}[_0x51ee0b(0x10e)](_0x44e985){const _0x23af9f=_0x51ee0b;return this[_0x23af9f(0x118)][_0x23af9f(0x108)](this[_0x23af9f(0x118)][_0x23af9f(0x10c)](_0x44e985),{'oneofs':!0x0});}}function _0x4ca2(){const _0x1bfc91=['228WKbuWX','64wsGbNi','79435SrQfkt','9MwAuDB','11005082wJsbiM','verify','_protobuf','encode','compress','170828SmPHkK','2909184GoAlQF','getDescriptor','toObject','541606vPjufc','7717210BYcgvK','finish','decode','create','decompress','457074BJJnlX','_protobufRoot','2ISADkI'];_0x4ca2=function(){return _0x1bfc91;};return _0x4ca2();}
23
+ const _0x21aef5=_0x425c;(function(_0x3e128b,_0x51e3c1){const _0x232d0d=_0x425c,_0x4a4069=_0x3e128b();while(!![]){try{const _0x16f4d9=parseInt(_0x232d0d(0x1c7))/0x1*(-parseInt(_0x232d0d(0x1c2))/0x2)+parseInt(_0x232d0d(0x1bd))/0x3*(-parseInt(_0x232d0d(0x1bf))/0x4)+parseInt(_0x232d0d(0x1cd))/0x5*(parseInt(_0x232d0d(0x1c3))/0x6)+parseInt(_0x232d0d(0x1bb))/0x7+parseInt(_0x232d0d(0x1ca))/0x8+-parseInt(_0x232d0d(0x1cc))/0x9*(parseInt(_0x232d0d(0x1ce))/0xa)+parseInt(_0x232d0d(0x1c4))/0xb;if(_0x16f4d9===_0x51e3c1)break;else _0x4a4069['push'](_0x4a4069['shift']());}catch(_0x271ddf){_0x4a4069['push'](_0x4a4069['shift']());}}}(_0x3cc1,0x39f1a));import*as _0x2b150c from'./lib/compiledmessages.js';function _0x425c(_0x19d3ee,_0x211362){const _0x3cc1f9=_0x3cc1();return _0x425c=function(_0x425c40,_0x29dc92){_0x425c40=_0x425c40-0x1ba;let _0x45bd34=_0x3cc1f9[_0x425c40];return _0x45bd34;},_0x425c(_0x19d3ee,_0x211362);}function _0x3cc1(){const _0x5138ac=['decompress','encode','2344853WkoXvG','toObject','6405YoSzFQ','decode','92LeKNsR','finish','_protobufRoot','29936xNFMOB','742704etTlUJ','621368baQmoe','_protobuf','create','17ipTFCe','getDescriptor','compress','924960HmIYzS','verify','18JpaaLs','5uIemOz','449860PgHadD'];_0x3cc1=function(){return _0x5138ac;};return _0x3cc1();}export default class r{constructor(){const _0x1089ac=_0x425c;this[_0x1089ac(0x1c1)]=_0x2b150c;}[_0x21aef5(0x1c8)](_0x3e1942){const _0x362c57=_0x21aef5;return new ProtobufDescriptor(this[_0x362c57(0x1c1)][_0x3e1942]);}}export class ProtobufDescriptor{constructor(_0x2c0335){const _0x206ab6=_0x21aef5;this[_0x206ab6(0x1c5)]=_0x2c0335;}[_0x21aef5(0x1c9)](_0x1e26fd){const _0x894fc=_0x21aef5,_0x49e6e5=this[_0x894fc(0x1c5)][_0x894fc(0x1cb)](_0x1e26fd);if(_0x49e6e5)throw Error(_0x49e6e5);return this[_0x894fc(0x1c5)][_0x894fc(0x1ba)](this[_0x894fc(0x1c5)][_0x894fc(0x1c6)](_0x1e26fd))[_0x894fc(0x1c0)]();}[_0x21aef5(0x1cf)](_0x58061b){const _0x521a51=_0x21aef5;return this[_0x521a51(0x1c5)][_0x521a51(0x1bc)](this[_0x521a51(0x1c5)][_0x521a51(0x1be)](_0x58061b),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2380c6,_0x2c1779){const _0x2781f1=_0x5d5a,_0x6f348a=_0x2380c6();while(!![]){try{const _0x33b8ce=-parseInt(_0x2781f1(0x156))/0x1*(-parseInt(_0x2781f1(0x15a))/0x2)+parseInt(_0x2781f1(0x157))/0x3+parseInt(_0x2781f1(0x155))/0x4+parseInt(_0x2781f1(0x15c))/0x5+-parseInt(_0x2781f1(0x15e))/0x6+parseInt(_0x2781f1(0x151))/0x7+-parseInt(_0x2781f1(0x154))/0x8;if(_0x33b8ce===_0x2c1779)break;else _0x6f348a['push'](_0x6f348a['shift']());}catch(_0x2e2bda){_0x6f348a['push'](_0x6f348a['shift']());}}}(_0x4d14,0x324aa));function _0x5d5a(_0x409175,_0x5bda9b){const _0x4d1478=_0x4d14();return _0x5d5a=function(_0x5d5a97,_0x22330a){_0x5d5a97=_0x5d5a97-0x151;let _0x1a3268=_0x4d1478[_0x5d5a97];return _0x1a3268;},_0x5d5a(_0x409175,_0x5bda9b);}import{cloneDeep as _0x42b671,isEqual as _0x50389e,isObject as _0x82f90e}from'lodash-es';export function getPositionShiftedBy(_0x5d67d1,_0x472db5){const _0x143de5=_0x5d5a,_0x73c489=_0x42b671(_0x5d67d1);return _0x73c489[_0x143de5(0x15d)][_0x73c489[_0x143de5(0x15d)][_0x143de5(0x159)]-0x1]+=_0x472db5,_0x73c489;}export function arePositionsEqual(_0x5e28e6,_0x4d1b9f){const _0x4cd069=_0x5d5a;return _0x5e28e6[_0x4cd069(0x158)]===_0x4d1b9f[_0x4cd069(0x158)]&&_0x50389e(_0x5e28e6[_0x4cd069(0x15d)],_0x4d1b9f[_0x4cd069(0x15d)]);}function _0x4d14(){const _0x3dcc0b=['1029066JhtKYb','root','length','16390yqsCrO','main','1454980FEuhmk','path','1920840TwViRt','$graveyard','nodes','2375702zWUNNO','rootGraveyard','rootMain','4946288MTtCrb','520164noNepz','5WkPumx'];_0x4d14=function(){return _0x3dcc0b;};return _0x4d14();}export function parsePositionBeforeCompression(_0x49984e){const _0x30cbf9=_0x5d5a;P(_0x49984e,_0x43474e=>(_0x30cbf9(0x15b)==_0x43474e[_0x30cbf9(0x158)]?(_0x43474e[_0x30cbf9(0x153)]=!0x0,delete _0x43474e[_0x30cbf9(0x158)]):_0x30cbf9(0x15f)==_0x43474e[_0x30cbf9(0x158)]&&(_0x43474e[_0x30cbf9(0x152)]=!0x0,delete _0x43474e[_0x30cbf9(0x158)]),_0x43474e));}export function parsePositionAfterCompression(_0x8c19dc){const _0x551248=_0x5d5a;P(_0x8c19dc,_0x4f22c2=>(_0x4f22c2[_0x551248(0x153)]?(_0x4f22c2[_0x551248(0x158)]=_0x551248(0x15b),delete _0x4f22c2[_0x551248(0x153)]):_0x4f22c2[_0x551248(0x152)]&&(_0x4f22c2[_0x551248(0x158)]=_0x551248(0x15f),delete _0x4f22c2[_0x551248(0x152)]),_0x4f22c2));}function P(_0x539b0c,_0x518a3e){const _0x37f5d=_0x5d5a;for(const _0x3d6c77 in _0x539b0c){const _0x58b99b=_0x539b0c[_0x3d6c77];_0x37f5d(0x160)!==_0x3d6c77&&_0x82f90e(_0x58b99b)&&(_0x58b99b[_0x37f5d(0x15d)]&&(_0x58b99b[_0x37f5d(0x158)]||_0x58b99b[_0x37f5d(0x153)]||_0x58b99b[_0x37f5d(0x152)])?_0x539b0c[_0x3d6c77]=_0x518a3e(_0x58b99b):P(_0x58b99b,_0x518a3e));}return _0x539b0c;}
23
+ (function(_0x4d11ab,_0x4a81ab){const _0x3f0394=_0x4131,_0x17cffa=_0x4d11ab();while(!![]){try{const _0x45f3d7=parseInt(_0x3f0394(0x16d))/0x1+parseInt(_0x3f0394(0x172))/0x2*(-parseInt(_0x3f0394(0x16a))/0x3)+-parseInt(_0x3f0394(0x175))/0x4*(-parseInt(_0x3f0394(0x16f))/0x5)+parseInt(_0x3f0394(0x170))/0x6+parseInt(_0x3f0394(0x16e))/0x7*(parseInt(_0x3f0394(0x16b))/0x8)+-parseInt(_0x3f0394(0x179))/0x9+parseInt(_0x3f0394(0x173))/0xa*(-parseInt(_0x3f0394(0x17a))/0xb);if(_0x45f3d7===_0x4a81ab)break;else _0x17cffa['push'](_0x17cffa['shift']());}catch(_0x457c53){_0x17cffa['push'](_0x17cffa['shift']());}}}(_0x1cce,0xbc0c1));import{cloneDeep as _0x383dc2,isEqual as _0x1faca6,isObject as _0x55d76f}from'lodash-es';export function getPositionShiftedBy(_0x25d6f4,_0x5a244c){const _0x436f9d=_0x4131,_0x307ed0=_0x383dc2(_0x25d6f4);return _0x307ed0[_0x436f9d(0x17b)][_0x307ed0[_0x436f9d(0x17b)][_0x436f9d(0x16c)]-0x1]+=_0x5a244c,_0x307ed0;}function _0x4131(_0x49bab3,_0x4c87a6){const _0x1cce6d=_0x1cce();return _0x4131=function(_0x4131ad,_0xabcc33){_0x4131ad=_0x4131ad-0x16a;let _0x137e5d=_0x1cce6d[_0x4131ad];return _0x137e5d;},_0x4131(_0x49bab3,_0x4c87a6);}export function arePositionsEqual(_0x19b8db,_0x18edf1){const _0x275a3d=_0x4131;return _0x19b8db[_0x275a3d(0x176)]===_0x18edf1[_0x275a3d(0x176)]&&_0x1faca6(_0x19b8db[_0x275a3d(0x17b)],_0x18edf1[_0x275a3d(0x17b)]);}export function parsePositionBeforeCompression(_0x2df49c){const _0x1c4975=_0x4131;P(_0x2df49c,_0x12fb5c=>(_0x1c4975(0x177)==_0x12fb5c[_0x1c4975(0x176)]?(_0x12fb5c[_0x1c4975(0x17c)]=!0x0,delete _0x12fb5c[_0x1c4975(0x176)]):_0x1c4975(0x174)==_0x12fb5c[_0x1c4975(0x176)]&&(_0x12fb5c[_0x1c4975(0x178)]=!0x0,delete _0x12fb5c[_0x1c4975(0x176)]),_0x12fb5c));}function _0x1cce(){const _0x125207=['16552kchzZA','root','main','rootGraveyard','6899463JIPFXC','47091PPFxIq','path','rootMain','410433SqTkSv','8192744BLyzzL','length','1039957PSvBLI','7eUnfFM','195ragVlK','4003356tIrkVU','nodes','14wdXawU','930lsJtHT','$graveyard'];_0x1cce=function(){return _0x125207;};return _0x1cce();}export function parsePositionAfterCompression(_0x53775c){const _0x63beed=_0x4131;P(_0x53775c,_0x42349f=>(_0x42349f[_0x63beed(0x17c)]?(_0x42349f[_0x63beed(0x176)]=_0x63beed(0x177),delete _0x42349f[_0x63beed(0x17c)]):_0x42349f[_0x63beed(0x178)]&&(_0x42349f[_0x63beed(0x176)]=_0x63beed(0x174),delete _0x42349f[_0x63beed(0x178)]),_0x42349f));}function P(_0x87c8bd,_0x5333f3){const _0x2eb235=_0x4131;for(const _0x37ac1d in _0x87c8bd){const _0x37deed=_0x87c8bd[_0x37ac1d];_0x2eb235(0x171)!==_0x37ac1d&&_0x55d76f(_0x37deed)&&(_0x37deed[_0x2eb235(0x17b)]&&(_0x37deed[_0x2eb235(0x176)]||_0x37deed[_0x2eb235(0x17c)]||_0x37deed[_0x2eb235(0x178)])?_0x87c8bd[_0x37ac1d]=_0x5333f3(_0x37deed):P(_0x37deed,_0x5333f3));}return _0x87c8bd;}