@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.
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
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
|
-
|
|
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);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
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
|
-
|
|
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;}
|