@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.4 → 47.3.0-alpha.6

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 _0x154074=_0x29ae;(function(_0x3bcd9b,_0x25dff5){var _0x5846f9=_0x29ae,_0x2a0866=_0x3bcd9b();while(!![]){try{var _0x2f39b0=-parseInt(_0x5846f9(0x189))/0x1*(parseInt(_0x5846f9(0x18c))/0x2)+parseInt(_0x5846f9(0x19a))/0x3*(-parseInt(_0x5846f9(0x18d))/0x4)+parseInt(_0x5846f9(0x18e))/0x5+parseInt(_0x5846f9(0x18a))/0x6+-parseInt(_0x5846f9(0x194))/0x7*(-parseInt(_0x5846f9(0x196))/0x8)+parseInt(_0x5846f9(0x193))/0x9*(-parseInt(_0x5846f9(0x190))/0xa)+-parseInt(_0x5846f9(0x198))/0xb*(-parseInt(_0x5846f9(0x199))/0xc);if(_0x2f39b0===_0x25dff5)break;else _0x2a0866['push'](_0x2a0866['shift']());}catch(_0x2ff694){_0x2a0866['push'](_0x2a0866['shift']());}}}(_0x5a58,0x85fdc));function _0x29ae(_0x102330,_0x337b0a){var _0x5a58f2=_0x5a58();return _0x29ae=function(_0x29ae22,_0x50b214){_0x29ae22=_0x29ae22-0x188;var _0x19c6ad=_0x5a58f2[_0x29ae22];return _0x19c6ad;},_0x29ae(_0x102330,_0x337b0a);}function _0x5a58(){var _0x5e5674=['decompress','shift','3016791pTRhPR','14UxKWul','_id','648512kkDRfy','types','66MKafHa','1544028NVfKLO','288270fQoUGh','compress','1858AyHlkj','5596146UCIgqX','push','386QJCpDS','8ZHrqvY','1191830zulKdR','_operationName','30HyXSsu'];_0x5a58=function(){return _0x5e5674;};return _0x5a58();}import{OperationCompressor as _0x62f29d}from'./operationcompressor.js';export class NoOperationCompressor extends _0x62f29d{[_0x154074(0x188)](_0x34e40a,_0x3d1bf9){var _0x3d16df=_0x154074;return _0x3d1bf9[_0x3d16df(0x192)](),_0x34e40a[_0x3d16df(0x197)][_0x3d16df(0x18b)](this[_0x3d16df(0x195)]),!0x0;}[_0x154074(0x191)](_0x234882,_0x56cabb){var _0x11d408=_0x154074;_0x56cabb[_0x11d408(0x197)][_0x11d408(0x192)](),_0x234882[_0x11d408(0x18b)]({'__className':this[_0x11d408(0x18f)]});}}
23
+ function _0x451f(){var _0xa70682=['309518XLAXoq','types','3100405yHxbQU','shift','481080VFCndC','1917368uyYgGK','968859kuRgkT','push','1263568DPsXRP','3lphYxe','90294FAvOYB','compress','_operationName','50RsAxvK','_id','decompress','15LgYRws'];_0x451f=function(){return _0xa70682;};return _0x451f();}var _0xe4c71f=_0x35c0;function _0x35c0(_0xa2ee2e,_0x4ccc62){var _0x451f16=_0x451f();return _0x35c0=function(_0x35c0e3,_0x30e758){_0x35c0e3=_0x35c0e3-0xad;var _0x4017e7=_0x451f16[_0x35c0e3];return _0x4017e7;},_0x35c0(_0xa2ee2e,_0x4ccc62);}(function(_0x1fcb3d,_0x1824a1){var _0x83f431=_0x35c0,_0x25f4e6=_0x1fcb3d();while(!![]){try{var _0xd9223a=-parseInt(_0x83f431(0xad))/0x1+-parseInt(_0x83f431(0xba))/0x2*(-parseInt(_0x83f431(0xb2))/0x3)+parseInt(_0x83f431(0xae))/0x4+parseInt(_0x83f431(0xb9))/0x5*(parseInt(_0x83f431(0xb3))/0x6)+parseInt(_0x83f431(0xbc))/0x7+parseInt(_0x83f431(0xb1))/0x8+-parseInt(_0x83f431(0xaf))/0x9*(parseInt(_0x83f431(0xb6))/0xa);if(_0xd9223a===_0x1824a1)break;else _0x25f4e6['push'](_0x25f4e6['shift']());}catch(_0x5b882b){_0x25f4e6['push'](_0x25f4e6['shift']());}}}(_0x451f,0x3faa6));import{OperationCompressor as _0x3b82aa}from'./operationcompressor.js';export class NoOperationCompressor extends _0x3b82aa{[_0xe4c71f(0xb4)](_0xf7d87d,_0x2e39c7){var _0x2304e7=_0xe4c71f;return _0x2e39c7[_0x2304e7(0xbd)](),_0xf7d87d[_0x2304e7(0xbb)][_0x2304e7(0xb0)](this[_0x2304e7(0xb7)]),!0x0;}[_0xe4c71f(0xb8)](_0x3cf374,_0x3008a8){var _0x5a892b=_0xe4c71f;_0x3008a8[_0x5a892b(0xbb)][_0x5a892b(0xbd)](),_0x3cf374[_0x5a892b(0xb0)]({'__className':this[_0x5a892b(0xb5)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1343(_0x586435,_0x200536){const _0x408a64=_0x408a();return _0x1343=function(_0x1343e1,_0xd9f2c3){_0x1343e1=_0x1343e1-0x74;let _0x3ebc50=_0x408a64[_0x1343e1];return _0x3ebc50;},_0x1343(_0x586435,_0x200536);}const _0x3b64cb=_0x1343;(function(_0x57341e,_0x3d2977){const _0x50d3e4=_0x1343,_0x2fc966=_0x57341e();while(!![]){try{const _0x70e8=parseInt(_0x50d3e4(0x7f))/0x1*(parseInt(_0x50d3e4(0x79))/0x2)+-parseInt(_0x50d3e4(0x7c))/0x3+parseInt(_0x50d3e4(0x83))/0x4+parseInt(_0x50d3e4(0x7b))/0x5*(parseInt(_0x50d3e4(0x85))/0x6)+parseInt(_0x50d3e4(0x87))/0x7+parseInt(_0x50d3e4(0x7e))/0x8*(-parseInt(_0x50d3e4(0x77))/0x9)+-parseInt(_0x50d3e4(0x86))/0xa;if(_0x70e8===_0x3d2977)break;else _0x2fc966['push'](_0x2fc966['shift']());}catch(_0x506535){_0x2fc966['push'](_0x2fc966['shift']());}}}(_0x408a,0x2ff86));import{parsePositionBeforeCompression as _0x43b980,parsePositionAfterCompression as _0x30a23b}from'../utils.js';function _0x408a(){const _0xc4bfbc=['475782YYcXWT','compress','145vGreGq','367581CUvovf','_operationName','1709896HFexTN','1mRPsyj','push','_id','_protobufDescriptor','963296cvAVSk','__className','528WnrPxZ','1583830mtgszg','1469062Wckyjg','decompress','shift','types','9vqikqf','buffers'];_0x408a=function(){return _0xc4bfbc;};return _0x408a();}export class OperationCompressor{[_0x3b64cb(0x81)];[_0x3b64cb(0x7d)];[_0x3b64cb(0x82)];constructor(_0x284ec4,_0x217389,_0x33cc7d){const _0x3dea3f=_0x3b64cb;this[_0x3dea3f(0x81)]=_0x284ec4,this[_0x3dea3f(0x7d)]=_0x217389,this[_0x3dea3f(0x82)]=_0x33cc7d;}[_0x3b64cb(0x7a)](_0x1f31d1,_0x1a4dd4){const _0x4e8df6=_0x3b64cb,_0x501f84=_0x1a4dd4[_0x4e8df6(0x75)]();return _0x43b980(_0x501f84),_0x1f31d1[_0x4e8df6(0x78)][_0x4e8df6(0x80)](this[_0x4e8df6(0x82)][_0x4e8df6(0x7a)](_0x501f84)),_0x1f31d1[_0x4e8df6(0x76)][_0x4e8df6(0x80)](this[_0x4e8df6(0x81)]),!0x0;}[_0x3b64cb(0x74)](_0x50b164,_0x153bc8){const _0x487e87=_0x3b64cb;_0x153bc8[_0x487e87(0x76)][_0x487e87(0x75)]();const _0x3f742a=this[_0x487e87(0x82)][_0x487e87(0x74)](_0x153bc8[_0x487e87(0x78)][_0x487e87(0x75)]());_0x30a23b(_0x3f742a),_0x3f742a[_0x487e87(0x84)]=this[_0x487e87(0x7d)],_0x50b164[_0x487e87(0x80)](_0x3f742a);}}
23
+ function _0x11cb(){const _0x30fe15=['7038696UChRHy','1058807gQxFrO','_operationName','24712330svmbbb','buffers','_id','18gzJIJt','decompress','__className','6631144vQzlWN','push','1798410tSZCUJ','compress','11618852zTPeic','853116iXZkJO','55vqoUnz','types','_protobufDescriptor','shift','2rVtAub'];_0x11cb=function(){return _0x30fe15;};return _0x11cb();}function _0x5d77(_0x46aa38,_0x5ced02){const _0x11cb6c=_0x11cb();return _0x5d77=function(_0x5d77f0,_0x958f1){_0x5d77f0=_0x5d77f0-0x1b6;let _0x21a5ff=_0x11cb6c[_0x5d77f0];return _0x21a5ff;},_0x5d77(_0x46aa38,_0x5ced02);}const _0x1b661e=_0x5d77;(function(_0x18aafa,_0x2015ea){const _0x83ea5c=_0x5d77,_0x3c41fc=_0x18aafa();while(!![]){try{const _0x2b5880=-parseInt(_0x83ea5c(0x1c7))/0x1*(parseInt(_0x83ea5c(0x1c5))/0x2)+-parseInt(_0x83ea5c(0x1bd))/0x3+parseInt(_0x83ea5c(0x1bb))/0x4+parseInt(_0x83ea5c(0x1c1))/0x5*(-parseInt(_0x83ea5c(0x1c0))/0x6)+-parseInt(_0x83ea5c(0x1bf))/0x7+-parseInt(_0x83ea5c(0x1c6))/0x8+-parseInt(_0x83ea5c(0x1b8))/0x9*(-parseInt(_0x83ea5c(0x1c9))/0xa);if(_0x2b5880===_0x2015ea)break;else _0x3c41fc['push'](_0x3c41fc['shift']());}catch(_0x53b6cb){_0x3c41fc['push'](_0x3c41fc['shift']());}}}(_0x11cb,0xcca70));import{parsePositionBeforeCompression as _0x4327d7,parsePositionAfterCompression as _0x5de042}from'../utils.js';export class OperationCompressor{[_0x1b661e(0x1b7)];[_0x1b661e(0x1c8)];[_0x1b661e(0x1c3)];constructor(_0x43d964,_0xb59252,_0x4d0ad2){const _0x486b85=_0x1b661e;this[_0x486b85(0x1b7)]=_0x43d964,this[_0x486b85(0x1c8)]=_0xb59252,this[_0x486b85(0x1c3)]=_0x4d0ad2;}[_0x1b661e(0x1be)](_0x131c27,_0x4423cb){const _0x5d9bd2=_0x1b661e,_0x228446=_0x4423cb[_0x5d9bd2(0x1c4)]();return _0x4327d7(_0x228446),_0x131c27[_0x5d9bd2(0x1b6)][_0x5d9bd2(0x1bc)](this[_0x5d9bd2(0x1c3)][_0x5d9bd2(0x1be)](_0x228446)),_0x131c27[_0x5d9bd2(0x1c2)][_0x5d9bd2(0x1bc)](this[_0x5d9bd2(0x1b7)]),!0x0;}[_0x1b661e(0x1b9)](_0x1b4bae,_0xaac2b8){const _0x40fa9f=_0x1b661e;_0xaac2b8[_0x40fa9f(0x1c2)][_0x40fa9f(0x1c4)]();const _0x54263c=this[_0x40fa9f(0x1c3)][_0x40fa9f(0x1b9)](_0xaac2b8[_0x40fa9f(0x1b6)][_0x40fa9f(0x1c4)]());_0x5de042(_0x54263c),_0x54263c[_0x40fa9f(0x1ba)]=this[_0x40fa9f(0x1c8)],_0x1b4bae[_0x40fa9f(0x1bc)](_0x54263c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc42a(_0x522f7d,_0x44795b){const _0x4ed5f3=_0x4ed5();return _0xc42a=function(_0xc42a56,_0x3eaaa4){_0xc42a56=_0xc42a56-0x114;let _0x4b5a47=_0x4ed5f3[_0xc42a56];return _0x4b5a47;},_0xc42a(_0x522f7d,_0x44795b);}const _0x1f177d=_0xc42a;function _0x4ed5(){const _0x56f5ff=['create','encode','decode','5412366BOjwOQ','verify','5bEbJXz','compress','4602808ILVuwh','_protobuf','1182954aCKAoV','2714646nPoVJh','2882776OErmvk','toObject','getDescriptor','5163856iRvPIx','3331EYqQrZ','decompress','_protobufRoot','190vuPlFZ','finish'];_0x4ed5=function(){return _0x56f5ff;};return _0x4ed5();}(function(_0x145848,_0x151067){const _0x181d4d=_0xc42a,_0x4d5d06=_0x145848();while(!![]){try{const _0x4d5d63=-parseInt(_0x181d4d(0x11d))/0x1*(-parseInt(_0x181d4d(0x120))/0x2)+-parseInt(_0x181d4d(0x118))/0x3+parseInt(_0x181d4d(0x119))/0x4+-parseInt(_0x181d4d(0x127))/0x5*(parseInt(_0x181d4d(0x117))/0x6)+-parseInt(_0x181d4d(0x115))/0x7+parseInt(_0x181d4d(0x11c))/0x8+parseInt(_0x181d4d(0x125))/0x9;if(_0x4d5d63===_0x151067)break;else _0x4d5d06['push'](_0x4d5d06['shift']());}catch(_0x405a95){_0x4d5d06['push'](_0x4d5d06['shift']());}}}(_0x4ed5,0x8007a));import{messages as _0x1a5ad8}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1f177d(0x11f)];constructor(){const _0x186470=_0x1f177d;this[_0x186470(0x11f)]=_0x1a5ad8;}[_0x1f177d(0x11b)](_0x3823b0){const _0x4b9443=_0x1f177d;return new ProtobufDescriptor(this[_0x4b9443(0x11f)][_0x3823b0]);}}export class ProtobufDescriptor{[_0x1f177d(0x116)];constructor(_0x5d3912){const _0x3dfc91=_0x1f177d;this[_0x3dfc91(0x116)]=_0x5d3912;}[_0x1f177d(0x114)](_0x4c2c00){const _0xdf7c75=_0x1f177d,_0x56a4e7=this[_0xdf7c75(0x116)][_0xdf7c75(0x126)](_0x4c2c00);if(_0x56a4e7)throw Error(_0x56a4e7);return this[_0xdf7c75(0x116)][_0xdf7c75(0x123)](this[_0xdf7c75(0x116)][_0xdf7c75(0x122)](_0x4c2c00))[_0xdf7c75(0x121)]();}[_0x1f177d(0x11e)](_0x1292a5){const _0x31f713=_0x1f177d;return this[_0x31f713(0x116)][_0x31f713(0x11a)](this[_0x31f713(0x116)][_0x31f713(0x124)](_0x1292a5),{'oneofs':!0x0});}}
23
+ const _0x1c9ca2=_0x38f4;function _0x38f4(_0x1fdc44,_0x5a1a99){const _0xb16b7c=_0xb16b();return _0x38f4=function(_0x38f42d,_0x299c87){_0x38f42d=_0x38f42d-0xd1;let _0x42795c=_0xb16b7c[_0x38f42d];return _0x42795c;},_0x38f4(_0x1fdc44,_0x5a1a99);}function _0xb16b(){const _0x52dcca=['verify','2qdsRQq','452652JKIDmu','getDescriptor','finish','2796294OlHNNG','decode','8261967obnYAv','encode','compress','_protobuf','1815459DQQnfi','23398740bHGRpv','toObject','decompress','547672vUbTBt','_protobufRoot','1056215vSKcij','create','12mcMDMP'];_0xb16b=function(){return _0x52dcca;};return _0xb16b();}(function(_0x48adaa,_0x1663de){const _0x252795=_0x38f4,_0x15d54f=_0x48adaa();while(!![]){try{const _0x352949=-parseInt(_0x252795(0xd9))/0x1+-parseInt(_0x252795(0xd8))/0x2*(parseInt(_0x252795(0xe2))/0x3)+parseInt(_0x252795(0xd6))/0x4*(parseInt(_0x252795(0xd4))/0x5)+-parseInt(_0x252795(0xdc))/0x6+-parseInt(_0x252795(0xde))/0x7+parseInt(_0x252795(0xd2))/0x8+parseInt(_0x252795(0xe3))/0x9;if(_0x352949===_0x1663de)break;else _0x15d54f['push'](_0x15d54f['shift']());}catch(_0x4562d7){_0x15d54f['push'](_0x15d54f['shift']());}}}(_0xb16b,0x91f99));import{messages as _0x14786c}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1c9ca2(0xd3)];constructor(){const _0xb50662=_0x1c9ca2;this[_0xb50662(0xd3)]=_0x14786c;}[_0x1c9ca2(0xda)](_0x537d2e){const _0x226782=_0x1c9ca2;return new ProtobufDescriptor(this[_0x226782(0xd3)][_0x537d2e]);}}export class ProtobufDescriptor{[_0x1c9ca2(0xe1)];constructor(_0x2123af){const _0x177c5f=_0x1c9ca2;this[_0x177c5f(0xe1)]=_0x2123af;}[_0x1c9ca2(0xe0)](_0x4b1c33){const _0x3d8341=_0x1c9ca2,_0x21d823=this[_0x3d8341(0xe1)][_0x3d8341(0xd7)](_0x4b1c33);if(_0x21d823)throw Error(_0x21d823);return this[_0x3d8341(0xe1)][_0x3d8341(0xdf)](this[_0x3d8341(0xe1)][_0x3d8341(0xd5)](_0x4b1c33))[_0x3d8341(0xdb)]();}[_0x1c9ca2(0xd1)](_0x9ff52e){const _0x194f83=_0x1c9ca2;return this[_0x194f83(0xe1)][_0x194f83(0xe4)](this[_0x194f83(0xe1)][_0x194f83(0xdd)](_0x9ff52e),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x543a(_0x55fc4e,_0x5607b2){const _0x12aefa=_0x12ae();return _0x543a=function(_0x543afc,_0x34f0f9){_0x543afc=_0x543afc-0x1cd;let _0x38663d=_0x12aefa[_0x543afc];return _0x38663d;},_0x543a(_0x55fc4e,_0x5607b2);}(function(_0x48bc7b,_0x5ea9ef){const _0xb269f0=_0x543a,_0x584f4f=_0x48bc7b();while(!![]){try{const _0xb43c68=-parseInt(_0xb269f0(0x1d2))/0x1*(parseInt(_0xb269f0(0x1df))/0x2)+parseInt(_0xb269f0(0x1ce))/0x3+parseInt(_0xb269f0(0x1d4))/0x4+parseInt(_0xb269f0(0x1cd))/0x5*(parseInt(_0xb269f0(0x1dc))/0x6)+parseInt(_0xb269f0(0x1d6))/0x7*(-parseInt(_0xb269f0(0x1dd))/0x8)+-parseInt(_0xb269f0(0x1de))/0x9+-parseInt(_0xb269f0(0x1d8))/0xa*(parseInt(_0xb269f0(0x1da))/0xb);if(_0xb43c68===_0x5ea9ef)break;else _0x584f4f['push'](_0x584f4f['shift']());}catch(_0x270e1d){_0x584f4f['push'](_0x584f4f['shift']());}}}(_0x12ae,0xa843b));import{cloneDeep as _0x1c0249,isEqual as _0xf385fb,isObject as _0x289ddd}from'es-toolkit/compat';export function getPositionShiftedBy(_0x36cf68,_0xb9a8e7){const _0x2fc200=_0x543a,_0x32fa80=_0x1c0249(_0x36cf68);return _0x32fa80[_0x2fc200(0x1d0)][_0x32fa80[_0x2fc200(0x1d0)][_0x2fc200(0x1d5)]-0x1]+=_0xb9a8e7,_0x32fa80;}export function arePositionsEqual(_0x59ba84,_0x1c52e4){const _0x2b9d80=_0x543a;return _0x59ba84[_0x2b9d80(0x1cf)]===_0x1c52e4[_0x2b9d80(0x1cf)]&&_0xf385fb(_0x59ba84[_0x2b9d80(0x1d0)],_0x1c52e4[_0x2b9d80(0x1d0)]);}export function parsePositionBeforeCompression(_0xfcf8da){const _0x20484b=_0x543a;P(_0xfcf8da,_0x55c23a=>(_0x20484b(0x1db)==_0x55c23a[_0x20484b(0x1cf)]?(_0x55c23a[_0x20484b(0x1d3)]=!0x0,delete _0x55c23a[_0x20484b(0x1cf)]):_0x20484b(0x1d7)==_0x55c23a[_0x20484b(0x1cf)]&&(_0x55c23a[_0x20484b(0x1d1)]=!0x0,delete _0x55c23a[_0x20484b(0x1cf)]),_0x55c23a));}export function parsePositionAfterCompression(_0x56aef9){const _0x417cdb=_0x543a;P(_0x56aef9,_0x36ec49=>(_0x36ec49[_0x417cdb(0x1d3)]?(_0x36ec49[_0x417cdb(0x1cf)]=_0x417cdb(0x1db),delete _0x36ec49[_0x417cdb(0x1d3)]):_0x36ec49[_0x417cdb(0x1d1)]&&(_0x36ec49[_0x417cdb(0x1cf)]=_0x417cdb(0x1d7),delete _0x36ec49[_0x417cdb(0x1d1)]),_0x36ec49));}function _0x12ae(){const _0x4a17ca=['length','297521qzfvKO','$graveyard','4649620XgoPIy','nodes','11YSwhjC','main','5550ZSANEX','200BBlHUJ','1687095kvaAZN','24eENuRy','6515DdxxJJ','3495138QNFlEi','root','path','rootGraveyard','73539GPiIWa','rootMain','3665400RhHsaV'];_0x12ae=function(){return _0x4a17ca;};return _0x12ae();}function P(_0x49cbf1,_0x5cefa6){const _0x106b97=_0x543a;for(const _0x148c0d in _0x49cbf1){const _0x5bacd0=_0x49cbf1[_0x148c0d];_0x106b97(0x1d9)!==_0x148c0d&&_0x289ddd(_0x5bacd0)&&(_0x5bacd0[_0x106b97(0x1d0)]&&(_0x5bacd0[_0x106b97(0x1cf)]||_0x5bacd0[_0x106b97(0x1d3)]||_0x5bacd0[_0x106b97(0x1d1)])?_0x49cbf1[_0x148c0d]=_0x5cefa6(_0x5bacd0):P(_0x5bacd0,_0x5cefa6));}return _0x49cbf1;}
23
+ function _0x145b(){const _0xca8bc3=['nodes','main','9590iFQgEt','27lWxDTY','1944536tvwued','rootMain','2736942JQNXFe','rootGraveyard','$graveyard','667630TRoXIX','2283KMgddf','380cnUpXT','path','length','21NKlYkR','579019nXHNIa','root','10452772QuvxhP','928TDueEq'];_0x145b=function(){return _0xca8bc3;};return _0x145b();}(function(_0xcf3731,_0x43d33){const _0x143f12=_0x5bc0,_0x925bf6=_0xcf3731();while(!![]){try{const _0x2253f7=-parseInt(_0x143f12(0x1c9))/0x1+-parseInt(_0x143f12(0x1c5))/0x2*(parseInt(_0x143f12(0x1c4))/0x3)+-parseInt(_0x143f12(0x1cc))/0x4*(parseInt(_0x143f12(0x1bc))/0x5)+-parseInt(_0x143f12(0x1c0))/0x6*(-parseInt(_0x143f12(0x1c8))/0x7)+-parseInt(_0x143f12(0x1be))/0x8+-parseInt(_0x143f12(0x1bd))/0x9*(parseInt(_0x143f12(0x1c3))/0xa)+parseInt(_0x143f12(0x1cb))/0xb;if(_0x2253f7===_0x43d33)break;else _0x925bf6['push'](_0x925bf6['shift']());}catch(_0x374bb9){_0x925bf6['push'](_0x925bf6['shift']());}}}(_0x145b,0xac8de));import{cloneDeep as _0x211967,isEqual as _0x128a0e,isObject as _0x64ef8}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1dfe6c,_0x45941a){const _0x5543e8=_0x5bc0,_0x8325b1=_0x211967(_0x1dfe6c);return _0x8325b1[_0x5543e8(0x1c6)][_0x8325b1[_0x5543e8(0x1c6)][_0x5543e8(0x1c7)]-0x1]+=_0x45941a,_0x8325b1;}function _0x5bc0(_0x2e7c4f,_0x1e2b77){const _0x145b5c=_0x145b();return _0x5bc0=function(_0x5bc07b,_0x3079d2){_0x5bc07b=_0x5bc07b-0x1bb;let _0x5621c5=_0x145b5c[_0x5bc07b];return _0x5621c5;},_0x5bc0(_0x2e7c4f,_0x1e2b77);}export function arePositionsEqual(_0xda4671,_0xd2b395){const _0x309a1c=_0x5bc0;return _0xda4671[_0x309a1c(0x1ca)]===_0xd2b395[_0x309a1c(0x1ca)]&&_0x128a0e(_0xda4671[_0x309a1c(0x1c6)],_0xd2b395[_0x309a1c(0x1c6)]);}export function parsePositionBeforeCompression(_0x179323){const _0x840aff=_0x5bc0;P(_0x179323,_0x363f99=>(_0x840aff(0x1bb)==_0x363f99[_0x840aff(0x1ca)]?(_0x363f99[_0x840aff(0x1bf)]=!0x0,delete _0x363f99[_0x840aff(0x1ca)]):_0x840aff(0x1c2)==_0x363f99[_0x840aff(0x1ca)]&&(_0x363f99[_0x840aff(0x1c1)]=!0x0,delete _0x363f99[_0x840aff(0x1ca)]),_0x363f99));}export function parsePositionAfterCompression(_0x8369df){const _0x1c94f6=_0x5bc0;P(_0x8369df,_0x3167ed=>(_0x3167ed[_0x1c94f6(0x1bf)]?(_0x3167ed[_0x1c94f6(0x1ca)]=_0x1c94f6(0x1bb),delete _0x3167ed[_0x1c94f6(0x1bf)]):_0x3167ed[_0x1c94f6(0x1c1)]&&(_0x3167ed[_0x1c94f6(0x1ca)]=_0x1c94f6(0x1c2),delete _0x3167ed[_0x1c94f6(0x1c1)]),_0x3167ed));}function P(_0x3603ba,_0x56fcc3){const _0x28ac78=_0x5bc0;for(const _0x1fef83 in _0x3603ba){const _0x2e7a83=_0x3603ba[_0x1fef83];_0x28ac78(0x1cd)!==_0x1fef83&&_0x64ef8(_0x2e7a83)&&(_0x2e7a83[_0x28ac78(0x1c6)]&&(_0x2e7a83[_0x28ac78(0x1ca)]||_0x2e7a83[_0x28ac78(0x1bf)]||_0x2e7a83[_0x28ac78(0x1c1)])?_0x3603ba[_0x1fef83]=_0x56fcc3(_0x2e7a83):P(_0x2e7a83,_0x56fcc3));}return _0x3603ba;}