@ckeditor/ckeditor5-operations-compressor 47.6.0 → 47.6.1-alpha.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
- var _0x1b895a=_0x1a0a;(function(_0x395bd9,_0x2d891f){var _0x357fca=_0x1a0a,_0x53c626=_0x395bd9();while(!![]){try{var _0x4f5e4f=parseInt(_0x357fca(0x1a9))/0x1+-parseInt(_0x357fca(0x1a2))/0x2+parseInt(_0x357fca(0x19f))/0x3+-parseInt(_0x357fca(0x1ad))/0x4*(parseInt(_0x357fca(0x1a8))/0x5)+parseInt(_0x357fca(0x1ab))/0x6+-parseInt(_0x357fca(0x19e))/0x7+parseInt(_0x357fca(0x1ac))/0x8;if(_0x4f5e4f===_0x2d891f)break;else _0x53c626['push'](_0x53c626['shift']());}catch(_0x2bc101){_0x53c626['push'](_0x53c626['shift']());}}}(_0x5afe,0x5910d));function _0x1a0a(_0x31e0e4,_0x3e21fb){var _0x5afeac=_0x5afe();return _0x1a0a=function(_0x1a0ab8,_0x5b7931){_0x1a0ab8=_0x1a0ab8-0x19e;var _0x2b671f=_0x5afeac[_0x1a0ab8];return _0x2b671f;},_0x1a0a(_0x31e0e4,_0x3e21fb);}import{OperationCompressor as _0x350826}from'./operationcompressor.js';function _0x5afe(){var _0x1c0966=['push','typeIndex','150gCqkTD','495283KLFbiX','compress','190434hdDuFG','6663112DHNLEy','72684anEkep','1428294qNVrkT','789894QpZTIS','index','_id','1018448ApOrEJ','decompress','types','_operationName'];_0x5afe=function(){return _0x1c0966;};return _0x5afe();}export class NoOperationCompressor extends _0x350826{[_0x1b895a(0x1aa)](_0x5ad420,_0x5923d9){var _0x42ef65=_0x1b895a;return _0x5923d9[_0x42ef65(0x1a0)]++,_0x5ad420[_0x42ef65(0x1a4)][_0x42ef65(0x1a6)](this[_0x42ef65(0x1a1)]),!0x0;}[_0x1b895a(0x1a3)](_0x550763,_0x4145f7){var _0x1371e6=_0x1b895a;_0x4145f7[_0x1371e6(0x1a7)]++,_0x550763[_0x1371e6(0x1a6)]({'__className':this[_0x1371e6(0x1a5)]});}}
23
+ function _0x4277(){var _0xf76cff=['14664YFiTeo','92676hZIRZQ','315BoWXcf','10RKtHUp','8409105KMzMuL','push','index','8909091QYqAjM','74058tlloAN','typeIndex','compress','100rynHcu','111432TvTbRC','_operationName','41SwQYQk','99168nGsaey','decompress','759jCWbaI','_id','types'];_0x4277=function(){return _0xf76cff;};return _0x4277();}var _0x129203=_0x4b68;function _0x4b68(_0x1e42a1,_0x3680c0){var _0x427798=_0x4277();return _0x4b68=function(_0x4b6858,_0x4dfab5){_0x4b6858=_0x4b6858-0x145;var _0x261d9f=_0x427798[_0x4b6858];return _0x261d9f;},_0x4b68(_0x1e42a1,_0x3680c0);}(function(_0x441770,_0x2ebaa0){var _0x11459c=_0x4b68,_0x24e5bc=_0x441770();while(!![]){try{var _0x241bb1=parseInt(_0x11459c(0x14d))/0x1*(parseInt(_0x11459c(0x147))/0x2)+-parseInt(_0x11459c(0x154))/0x3*(-parseInt(_0x11459c(0x14a))/0x4)+-parseInt(_0x11459c(0x157))/0x5+parseInt(_0x11459c(0x14b))/0x6*(-parseInt(_0x11459c(0x155))/0x7)+parseInt(_0x11459c(0x14e))/0x8+parseInt(_0x11459c(0x146))/0x9*(parseInt(_0x11459c(0x156))/0xa)+parseInt(_0x11459c(0x150))/0xb*(parseInt(_0x11459c(0x153))/0xc);if(_0x241bb1===_0x2ebaa0)break;else _0x24e5bc['push'](_0x24e5bc['shift']());}catch(_0xfd1f0f){_0x24e5bc['push'](_0x24e5bc['shift']());}}}(_0x4277,0xd1d95));import{OperationCompressor as _0x2d8c0f}from'./operationcompressor.js';export class NoOperationCompressor extends _0x2d8c0f{[_0x129203(0x149)](_0x2cfbb3,_0x316a11){var _0xf2cc00=_0x129203;return _0x316a11[_0xf2cc00(0x145)]++,_0x2cfbb3[_0xf2cc00(0x152)][_0xf2cc00(0x158)](this[_0xf2cc00(0x151)]),!0x0;}[_0x129203(0x14f)](_0x583a7e,_0x32b33b){var _0xbb486c=_0x129203;_0x32b33b[_0xbb486c(0x148)]++,_0x583a7e[_0xbb486c(0x158)]({'__className':this[_0xbb486c(0x14c)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x416035=_0x5624;function _0xac8e(){const _0x35554a=['bufferIndex','8cGkVSn','3375392YOOLDI','buffers','18BDnOzT','index','types','3203886QZvyCp','decompress','9122560PJVVIs','typeIndex','push','compress','220755LIVjJJ','_id','_operationName','operations','__className','6cNwTDM','_protobufDescriptor','4120784JDIjbV','9693929BCINYn','6913465JnROay'];_0xac8e=function(){return _0x35554a;};return _0xac8e();}(function(_0x41fc09,_0xab87f3){const _0x4fee31=_0x5624,_0x94f3b2=_0x41fc09();while(!![]){try{const _0x5189ed=-parseInt(_0x4fee31(0xf9))/0x1*(parseInt(_0x4fee31(0x104))/0x2)+parseInt(_0x4fee31(0xf3))/0x3+-parseInt(_0x4fee31(0x100))/0x4+-parseInt(_0x4fee31(0x102))/0x5+parseInt(_0x4fee31(0xfe))/0x6*(parseInt(_0x4fee31(0x101))/0x7)+-parseInt(_0x4fee31(0x105))/0x8*(-parseInt(_0x4fee31(0xf0))/0x9)+parseInt(_0x4fee31(0xf5))/0xa;if(_0x5189ed===_0xab87f3)break;else _0x94f3b2['push'](_0x94f3b2['shift']());}catch(_0x34f891){_0x94f3b2['push'](_0x94f3b2['shift']());}}}(_0xac8e,0xdee6c));import{parsePositionBeforeCompression as _0x2f8340,parsePositionAfterCompression as _0x36bf20}from'../utils.js';function _0x5624(_0x5461c7,_0x48a388){const _0xac8ed3=_0xac8e();return _0x5624=function(_0x562486,_0x9160e9){_0x562486=_0x562486-0xf0;let _0x19696e=_0xac8ed3[_0x562486];return _0x19696e;},_0x5624(_0x5461c7,_0x48a388);}export class OperationCompressor{[_0x416035(0xfa)];[_0x416035(0xfb)];[_0x416035(0xff)];constructor(_0x874087,_0xb884e6,_0x291578){const _0x5ee26b=_0x416035;this[_0x5ee26b(0xfa)]=_0x874087,this[_0x5ee26b(0xfb)]=_0xb884e6,this[_0x5ee26b(0xff)]=_0x291578;}[_0x416035(0xf8)](_0x4b9fc3,_0x5b57f4){const _0xdffa19=_0x416035,_0x814fa7=_0x5b57f4[_0xdffa19(0xfc)][_0x5b57f4[_0xdffa19(0xf1)]++];return _0x2f8340(_0x814fa7),_0x4b9fc3[_0xdffa19(0x106)][_0xdffa19(0xf7)](this[_0xdffa19(0xff)][_0xdffa19(0xf8)](_0x814fa7)),_0x4b9fc3[_0xdffa19(0xf2)][_0xdffa19(0xf7)](this[_0xdffa19(0xfa)]),!0x0;}[_0x416035(0xf4)](_0x3b0a66,_0x342574){const _0x41bb1d=_0x416035;_0x342574[_0x41bb1d(0xf6)]++;const _0x362d55=_0x342574[_0x41bb1d(0x106)][_0x342574[_0x41bb1d(0x103)]++],_0x588120=this[_0x41bb1d(0xff)][_0x41bb1d(0xf4)](_0x362d55);_0x36bf20(_0x588120),_0x588120[_0x41bb1d(0xfd)]=this[_0x41bb1d(0xfb)],_0x3b0a66[_0x41bb1d(0xf7)](_0x588120);}}
23
+ function _0x54d8(_0x4d42ce,_0x4846d5){const _0x27cfdc=_0x27cf();return _0x54d8=function(_0x54d8d1,_0x3e5354){_0x54d8d1=_0x54d8d1-0x1ba;let _0x5868c4=_0x27cfdc[_0x54d8d1];return _0x5868c4;},_0x54d8(_0x4d42ce,_0x4846d5);}const _0xce5ace=_0x54d8;(function(_0x5a516d,_0x2ab8aa){const _0x20fa97=_0x54d8,_0x45070c=_0x5a516d();while(!![]){try{const _0x33f42a=-parseInt(_0x20fa97(0x1d1))/0x1+parseInt(_0x20fa97(0x1c6))/0x2*(parseInt(_0x20fa97(0x1c9))/0x3)+parseInt(_0x20fa97(0x1cb))/0x4*(-parseInt(_0x20fa97(0x1cd))/0x5)+-parseInt(_0x20fa97(0x1ca))/0x6*(parseInt(_0x20fa97(0x1c4))/0x7)+-parseInt(_0x20fa97(0x1d0))/0x8*(parseInt(_0x20fa97(0x1c3))/0x9)+parseInt(_0x20fa97(0x1c0))/0xa+parseInt(_0x20fa97(0x1cc))/0xb;if(_0x33f42a===_0x2ab8aa)break;else _0x45070c['push'](_0x45070c['shift']());}catch(_0x32029e){_0x45070c['push'](_0x45070c['shift']());}}}(_0x27cf,0x365da));function _0x27cf(){const _0x448275=['_id','compress','1526680HRgRgj','216308tvvRxQ','typeIndex','_operationName','_protobufDescriptor','bufferIndex','operations','types','4203340vsZFFj','decompress','index','9fhQVFi','126651goEYbd','push','2122bismJp','buffers','__className','375OCHEgA','78cLFIrT','364HoUynd','8160548KJVlwi','23615mqamto'];_0x27cf=function(){return _0x448275;};return _0x27cf();}import{parsePositionBeforeCompression as _0x4d8a62,parsePositionAfterCompression as _0x1a84dc}from'../utils.js';export class OperationCompressor{[_0xce5ace(0x1ce)];[_0xce5ace(0x1bb)];[_0xce5ace(0x1bc)];constructor(_0x5df123,_0x133a32,_0x4c460e){const _0x231340=_0xce5ace;this[_0x231340(0x1ce)]=_0x5df123,this[_0x231340(0x1bb)]=_0x133a32,this[_0x231340(0x1bc)]=_0x4c460e;}[_0xce5ace(0x1cf)](_0x132315,_0x354e0b){const _0x5aba82=_0xce5ace,_0x3e9b74=_0x354e0b[_0x5aba82(0x1be)][_0x354e0b[_0x5aba82(0x1c2)]++];return _0x4d8a62(_0x3e9b74),_0x132315[_0x5aba82(0x1c7)][_0x5aba82(0x1c5)](this[_0x5aba82(0x1bc)][_0x5aba82(0x1cf)](_0x3e9b74)),_0x132315[_0x5aba82(0x1bf)][_0x5aba82(0x1c5)](this[_0x5aba82(0x1ce)]),!0x0;}[_0xce5ace(0x1c1)](_0x25b4b7,_0x532e04){const _0x8e8660=_0xce5ace;_0x532e04[_0x8e8660(0x1ba)]++;const _0x4826b7=_0x532e04[_0x8e8660(0x1c7)][_0x532e04[_0x8e8660(0x1bd)]++],_0x4d4b50=this[_0x8e8660(0x1bc)][_0x8e8660(0x1c1)](_0x4826b7);_0x1a84dc(_0x4d4b50),_0x4d4b50[_0x8e8660(0x1c8)]=this[_0x8e8660(0x1bb)],_0x25b4b7[_0x8e8660(0x1c5)](_0x4d4b50);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x27f7(){const _0x48c448=['2mQCfRi','getDescriptor','create','decompress','325851NFkEcF','429549WWaIYR','68BCWBUC','253990ZGPiJp','verify','1967896reTfpI','945240MtCfHH','decode','112715jNHYue','7SIoKEf','finish','_protobufRoot','22CFluix','18ldXejZ','encode','_protobuf','toObject','1190562xoyils','compress'];_0x27f7=function(){return _0x48c448;};return _0x27f7();}function _0x4fe9(_0xb84078,_0x3aaebf){const _0x27f7e9=_0x27f7();return _0x4fe9=function(_0x4fe9c1,_0x501442){_0x4fe9c1=_0x4fe9c1-0x1b7;let _0xcb2b26=_0x27f7e9[_0x4fe9c1];return _0xcb2b26;},_0x4fe9(_0xb84078,_0x3aaebf);}const _0x25540d=_0x4fe9;(function(_0x1df119,_0x54ccb1){const _0x2bdb7e=_0x4fe9,_0xb4230f=_0x1df119();while(!![]){try{const _0x488844=-parseInt(_0x2bdb7e(0x1b7))/0x1*(parseInt(_0x2bdb7e(0x1ca))/0x2)+parseInt(_0x2bdb7e(0x1b8))/0x3+-parseInt(_0x2bdb7e(0x1b9))/0x4*(parseInt(_0x2bdb7e(0x1bf))/0x5)+parseInt(_0x2bdb7e(0x1c8))/0x6*(parseInt(_0x2bdb7e(0x1c0))/0x7)+parseInt(_0x2bdb7e(0x1bc))/0x8*(parseInt(_0x2bdb7e(0x1c4))/0x9)+-parseInt(_0x2bdb7e(0x1ba))/0xa*(-parseInt(_0x2bdb7e(0x1c3))/0xb)+parseInt(_0x2bdb7e(0x1bd))/0xc;if(_0x488844===_0x54ccb1)break;else _0xb4230f['push'](_0xb4230f['shift']());}catch(_0x5e5e85){_0xb4230f['push'](_0xb4230f['shift']());}}}(_0x27f7,0x3e076));import{messages as _0x43377e}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x25540d(0x1c2)];constructor(){const _0x5c2138=_0x25540d;this[_0x5c2138(0x1c2)]=_0x43377e;}[_0x25540d(0x1cb)](_0xacc59b){const _0x5ac239=_0x25540d;return new ProtobufDescriptor(this[_0x5ac239(0x1c2)][_0xacc59b]);}}export class ProtobufDescriptor{[_0x25540d(0x1c6)];constructor(_0x37a625){const _0x5db5d8=_0x25540d;this[_0x5db5d8(0x1c6)]=_0x37a625;}[_0x25540d(0x1c9)](_0x5c9358){const _0x320167=_0x25540d,_0x765e91=this[_0x320167(0x1c6)][_0x320167(0x1bb)](_0x5c9358);if(_0x765e91)throw Error(_0x765e91);return this[_0x320167(0x1c6)][_0x320167(0x1c5)](this[_0x320167(0x1c6)][_0x320167(0x1cc)](_0x5c9358))[_0x320167(0x1c1)]();}[_0x25540d(0x1cd)](_0x2c7e39){const _0x239c6b=_0x25540d;return this[_0x239c6b(0x1c6)][_0x239c6b(0x1c7)](this[_0x239c6b(0x1c6)][_0x239c6b(0x1be)](_0x2c7e39),{'oneofs':!0x0});}}
23
+ const _0xa399f0=_0x3963;function _0x3963(_0x43eb73,_0x20617c){const _0x3e3b43=_0x3e3b();return _0x3963=function(_0x3963d0,_0x5d0f2d){_0x3963d0=_0x3963d0-0x18f;let _0x5c6e28=_0x3e3b43[_0x3963d0];return _0x5c6e28;},_0x3963(_0x43eb73,_0x20617c);}(function(_0x479d30,_0x3908ec){const _0x2a71e9=_0x3963,_0x1c17c3=_0x479d30();while(!![]){try{const _0x4ba79c=parseInt(_0x2a71e9(0x197))/0x1*(-parseInt(_0x2a71e9(0x19d))/0x2)+-parseInt(_0x2a71e9(0x196))/0x3+parseInt(_0x2a71e9(0x19e))/0x4+-parseInt(_0x2a71e9(0x1a3))/0x5*(parseInt(_0x2a71e9(0x1a0))/0x6)+parseInt(_0x2a71e9(0x194))/0x7*(-parseInt(_0x2a71e9(0x19c))/0x8)+-parseInt(_0x2a71e9(0x19b))/0x9*(-parseInt(_0x2a71e9(0x18f))/0xa)+-parseInt(_0x2a71e9(0x1a2))/0xb*(-parseInt(_0x2a71e9(0x192))/0xc);if(_0x4ba79c===_0x3908ec)break;else _0x1c17c3['push'](_0x1c17c3['shift']());}catch(_0x370939){_0x1c17c3['push'](_0x1c17c3['shift']());}}}(_0x3e3b,0x92047));import{messages as _0x4faab1}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0xa399f0(0x195)];constructor(){const _0x1a65a7=_0xa399f0;this[_0x1a65a7(0x195)]=_0x4faab1;}[_0xa399f0(0x1a1)](_0x28ee07){const _0x23d2a7=_0xa399f0;return new ProtobufDescriptor(this[_0x23d2a7(0x195)][_0x28ee07]);}}function _0x3e3b(){const _0xfffc98=['_protobuf','12339TzXuJB','136UIZGAR','1233278ykhvnx','2938844SeSysm','encode','6EAGwxQ','getDescriptor','660SgFIik','2840095JqmvuT','finish','compress','7690roofUN','create','decompress','299688baKMWN','toObject','300986mdleTy','_protobufRoot','2321217rlQCmz','1NBsWbl','decode','verify'];_0x3e3b=function(){return _0xfffc98;};return _0x3e3b();}export class ProtobufDescriptor{[_0xa399f0(0x19a)];constructor(_0x14add2){const _0x248f7b=_0xa399f0;this[_0x248f7b(0x19a)]=_0x14add2;}[_0xa399f0(0x1a5)](_0x3b1bde){const _0x3c597a=_0xa399f0,_0x19b785=this[_0x3c597a(0x19a)][_0x3c597a(0x199)](_0x3b1bde);if(_0x19b785)throw Error(_0x19b785);return this[_0x3c597a(0x19a)][_0x3c597a(0x19f)](this[_0x3c597a(0x19a)][_0x3c597a(0x190)](_0x3b1bde))[_0x3c597a(0x1a4)]();}[_0xa399f0(0x191)](_0x568c07){const _0x38eebe=_0xa399f0;return this[_0x38eebe(0x19a)][_0x38eebe(0x193)](this[_0x38eebe(0x19a)][_0x38eebe(0x198)](_0x568c07),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x143c(_0x2cf37c,_0x2c3f69){const _0x4352be=_0x4352();return _0x143c=function(_0x143c48,_0x4a73b5){_0x143c48=_0x143c48-0x107;let _0x3fe15c=_0x4352be[_0x143c48];return _0x3fe15c;},_0x143c(_0x2cf37c,_0x2c3f69);}(function(_0xf1c987,_0x1bcaf9){const _0x541229=_0x143c,_0x37d4cd=_0xf1c987();while(!![]){try{const _0x3ac700=parseInt(_0x541229(0x10b))/0x1+parseInt(_0x541229(0x108))/0x2*(parseInt(_0x541229(0x111))/0x3)+parseInt(_0x541229(0x10e))/0x4*(-parseInt(_0x541229(0x10f))/0x5)+parseInt(_0x541229(0x116))/0x6+parseInt(_0x541229(0x110))/0x7+parseInt(_0x541229(0x10d))/0x8*(parseInt(_0x541229(0x113))/0x9)+parseInt(_0x541229(0x109))/0xa*(-parseInt(_0x541229(0x118))/0xb);if(_0x3ac700===_0x1bcaf9)break;else _0x37d4cd['push'](_0x37d4cd['shift']());}catch(_0x440dd2){_0x37d4cd['push'](_0x37d4cd['shift']());}}}(_0x4352,0x64190));import{cloneDeep as _0x1af57d,isEqual as _0x5824e6,isObject as _0x5556b1}from'es-toolkit/compat';export function getPositionShiftedBy(_0x4ed38a,_0xaa8a7){const _0x306afe=_0x143c,_0x382119=_0x1af57d(_0x4ed38a);return _0x382119[_0x306afe(0x117)][_0x382119[_0x306afe(0x117)][_0x306afe(0x119)]-0x1]+=_0xaa8a7,_0x382119;}export function arePositionsEqual(_0x244040,_0x50a09d){const _0x32068d=_0x143c;return _0x244040[_0x32068d(0x10a)]===_0x50a09d[_0x32068d(0x10a)]&&_0x5824e6(_0x244040[_0x32068d(0x117)],_0x50a09d[_0x32068d(0x117)]);}export function parsePositionBeforeCompression(_0x470387){const _0x259a6d=_0x143c;P(_0x470387,_0x28b895=>(_0x259a6d(0x112)==_0x28b895[_0x259a6d(0x10a)]?(_0x28b895[_0x259a6d(0x107)]=!0x0,delete _0x28b895[_0x259a6d(0x10a)]):_0x259a6d(0x10c)==_0x28b895[_0x259a6d(0x10a)]&&(_0x28b895[_0x259a6d(0x114)]=!0x0,delete _0x28b895[_0x259a6d(0x10a)]),_0x28b895));}export function parsePositionAfterCompression(_0x240df2){const _0x35c401=_0x143c;P(_0x240df2,_0x5de628=>(_0x5de628[_0x35c401(0x107)]?(_0x5de628[_0x35c401(0x10a)]=_0x35c401(0x112),delete _0x5de628[_0x35c401(0x107)]):_0x5de628[_0x35c401(0x114)]&&(_0x5de628[_0x35c401(0x10a)]=_0x35c401(0x10c),delete _0x5de628[_0x35c401(0x114)]),_0x5de628));}function P(_0x2d5114,_0x11c2ee){const _0x55cf99=_0x143c;for(const _0x22446a in _0x2d5114){const _0x1fdf3c=_0x2d5114[_0x22446a];_0x55cf99(0x115)!==_0x22446a&&_0x5556b1(_0x1fdf3c)&&(_0x1fdf3c[_0x55cf99(0x117)]&&(_0x1fdf3c[_0x55cf99(0x10a)]||_0x1fdf3c[_0x55cf99(0x107)]||_0x1fdf3c[_0x55cf99(0x114)])?_0x2d5114[_0x22446a]=_0x11c2ee(_0x1fdf3c):P(_0x1fdf3c,_0x11c2ee));}return _0x2d5114;}function _0x4352(){const _0x1044ed=['length','rootMain','169836RKpfiI','10McEWyO','root','330029joNycn','$graveyard','1352424mlkgTh','125944PDmOtN','65KOkBeu','4675083udEowV','24caLkRT','main','27ljUPUN','rootGraveyard','nodes','1507656jEVEYk','path','17779949yIYalx'];_0x4352=function(){return _0x1044ed;};return _0x4352();}
23
+ (function(_0xf162e2,_0x4ce4a4){const _0xd23faf=_0x389c,_0x5ed945=_0xf162e2();while(!![]){try{const _0x311407=parseInt(_0xd23faf(0x170))/0x1+parseInt(_0xd23faf(0x16d))/0x2+parseInt(_0xd23faf(0x17f))/0x3*(parseInt(_0xd23faf(0x17b))/0x4)+parseInt(_0xd23faf(0x17c))/0x5*(-parseInt(_0xd23faf(0x176))/0x6)+-parseInt(_0xd23faf(0x179))/0x7*(-parseInt(_0xd23faf(0x16f))/0x8)+-parseInt(_0xd23faf(0x17a))/0x9*(parseInt(_0xd23faf(0x175))/0xa)+-parseInt(_0xd23faf(0x17d))/0xb*(-parseInt(_0xd23faf(0x178))/0xc);if(_0x311407===_0x4ce4a4)break;else _0x5ed945['push'](_0x5ed945['shift']());}catch(_0x3038b4){_0x5ed945['push'](_0x5ed945['shift']());}}}(_0x370a,0x3980b));import{cloneDeep as _0x23f6fb,isEqual as _0x2aa381,isObject as _0x15f82a}from'es-toolkit/compat';export function getPositionShiftedBy(_0x452427,_0x4af6f0){const _0x300e8f=_0x389c,_0x3945ed=_0x23f6fb(_0x452427);return _0x3945ed[_0x300e8f(0x17e)][_0x3945ed[_0x300e8f(0x17e)][_0x300e8f(0x173)]-0x1]+=_0x4af6f0,_0x3945ed;}export function arePositionsEqual(_0x24141c,_0x5f4485){const _0x264b2b=_0x389c;return _0x24141c[_0x264b2b(0x171)]===_0x5f4485[_0x264b2b(0x171)]&&_0x2aa381(_0x24141c[_0x264b2b(0x17e)],_0x5f4485[_0x264b2b(0x17e)]);}function _0x389c(_0x58ba03,_0x5459cf){const _0x370acd=_0x370a();return _0x389c=function(_0x389cd5,_0x54cc14){_0x389cd5=_0x389cd5-0x16c;let _0x1514fe=_0x370acd[_0x389cd5];return _0x1514fe;},_0x389c(_0x58ba03,_0x5459cf);}function _0x370a(){const _0x21c39f=['54694VnEfob','rootMain','22656bsVEOT','166865ZXRvKe','root','rootGraveyard','length','nodes','10KyAAwI','42RNGmHC','$graveyard','480nAaqpp','266SNDLev','3407544FWpbtR','32rGUPKr','305635lWdvIq','81433aNEdMm','path','166533IJvDJr','main'];_0x370a=function(){return _0x21c39f;};return _0x370a();}export function parsePositionBeforeCompression(_0x12897d){const _0x4aeb52=_0x389c;P(_0x12897d,_0x2edaf1=>(_0x4aeb52(0x16c)==_0x2edaf1[_0x4aeb52(0x171)]?(_0x2edaf1[_0x4aeb52(0x16e)]=!0x0,delete _0x2edaf1[_0x4aeb52(0x171)]):_0x4aeb52(0x177)==_0x2edaf1[_0x4aeb52(0x171)]&&(_0x2edaf1[_0x4aeb52(0x172)]=!0x0,delete _0x2edaf1[_0x4aeb52(0x171)]),_0x2edaf1));}export function parsePositionAfterCompression(_0x12c938){const _0x535a9e=_0x389c;P(_0x12c938,_0x13ed87=>(_0x13ed87[_0x535a9e(0x16e)]?(_0x13ed87[_0x535a9e(0x171)]=_0x535a9e(0x16c),delete _0x13ed87[_0x535a9e(0x16e)]):_0x13ed87[_0x535a9e(0x172)]&&(_0x13ed87[_0x535a9e(0x171)]=_0x535a9e(0x177),delete _0x13ed87[_0x535a9e(0x172)]),_0x13ed87));}function P(_0x5bb3c8,_0x659721){const _0x5ebc08=_0x389c;for(const _0x32f851 in _0x5bb3c8){const _0x4008c0=_0x5bb3c8[_0x32f851];_0x5ebc08(0x174)!==_0x32f851&&_0x15f82a(_0x4008c0)&&(_0x4008c0[_0x5ebc08(0x17e)]&&(_0x4008c0[_0x5ebc08(0x171)]||_0x4008c0[_0x5ebc08(0x16e)]||_0x4008c0[_0x5ebc08(0x172)])?_0x5bb3c8[_0x32f851]=_0x659721(_0x4008c0):P(_0x4008c0,_0x659721));}return _0x5bb3c8;}