@ckeditor/ckeditor5-operations-compressor 46.0.0-alpha.1 → 46.0.0-alpha.3
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/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
|
-
const
|
|
23
|
+
const _0x1badd4=_0xd74e;function _0xd74e(_0x4af8df,_0x340cee){const _0x2bc891=_0x2bc8();return _0xd74e=function(_0xd74efc,_0x3000b5){_0xd74efc=_0xd74efc-0xf9;let _0x556507=_0x2bc891[_0xd74efc];return _0x556507;},_0xd74e(_0x4af8df,_0x340cee);}(function(_0x2d343c,_0xfd2183){const _0x35fa7e=_0xd74e,_0x5aea45=_0x2d343c();while(!![]){try{const _0x24cf3c=-parseInt(_0x35fa7e(0xff))/0x1+-parseInt(_0x35fa7e(0xfd))/0x2+parseInt(_0x35fa7e(0xfa))/0x3+-parseInt(_0x35fa7e(0x101))/0x4+-parseInt(_0x35fa7e(0x104))/0x5+parseInt(_0x35fa7e(0x103))/0x6*(parseInt(_0x35fa7e(0xfb))/0x7)+parseInt(_0x35fa7e(0xfe))/0x8;if(_0x24cf3c===_0xfd2183)break;else _0x5aea45['push'](_0x5aea45['shift']());}catch(_0x23a8b8){_0x5aea45['push'](_0x5aea45['shift']());}}}(_0x2bc8,0x8be53));import{OperationCompressor as _0x5bfd98}from'./operationcompressor.js';export class MarkerOperationCompressor extends _0x5bfd98{[_0x1badd4(0xf9)](_0x1f9bf6,_0x11b72c){const _0x3fb551=_0x1badd4;super[_0x3fb551(0xf9)](_0x1f9bf6,_0x11b72c);const _0x2fb154=_0x1f9bf6[_0x1f9bf6[_0x3fb551(0xfc)]-0x1];_0x2fb154[_0x3fb551(0x100)]||(_0x2fb154[_0x3fb551(0x100)]=null),_0x2fb154[_0x3fb551(0x102)]||(_0x2fb154[_0x3fb551(0x102)]=null);}}function _0x2bc8(){const _0x2327d0=['1066174gqtGQJ','3980688YhTVfQ','361050boRPLj','oldRange','1902848oUbUHN','newRange','3223950oMVwKK','851990LHrtdY','decompress','3235041xXHyZR','7OITkSD','length'];_0x2bc8=function(){return _0x2327d0;};return _0x2bc8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x947176=_0xd3ec;(function(_0x6fb636,_0x5a48ef){var _0x181259=_0xd3ec,_0x21204e=_0x6fb636();while(!![]){try{var _0x37b18a=parseInt(_0x181259(0xeb))/0x1*(parseInt(_0x181259(0xed))/0x2)+parseInt(_0x181259(0xf2))/0x3+parseInt(_0x181259(0xe8))/0x4*(-parseInt(_0x181259(0xec))/0x5)+parseInt(_0x181259(0xe7))/0x6*(-parseInt(_0x181259(0xe5))/0x7)+parseInt(_0x181259(0xea))/0x8*(-parseInt(_0x181259(0xe4))/0x9)+-parseInt(_0x181259(0xef))/0xa*(parseInt(_0x181259(0xf1))/0xb)+parseInt(_0x181259(0xe6))/0xc;if(_0x37b18a===_0x5a48ef)break;else _0x21204e['push'](_0x21204e['shift']());}catch(_0x3267e2){_0x21204e['push'](_0x21204e['shift']());}}}(_0xda12,0x92f76));function _0xd3ec(_0x2cae86,_0x4d4fc0){var _0xda12f6=_0xda12();return _0xd3ec=function(_0xd3ec46,_0x31aa87){_0xd3ec46=_0xd3ec46-0xe2;var _0x3ed033=_0xda12f6[_0xd3ec46];return _0x3ed033;},_0xd3ec(_0x2cae86,_0x4d4fc0);}import{OperationCompressor as _0x1f81f0}from'./operationcompressor.js';function _0xda12(){var _0x1a7e8c=['shift','8460216DvNVks','1ektnOS','125680NIcKmn','2229038GvPmIG','types','10VDMyFI','decompress','944614wllIUr','558231tMZcoz','push','compress','_id','_operationName','9VYLdfo','3642149iPWQsJ','17613672OhwQxA','6MyQdWX','80HsHpKD'];_0xda12=function(){return _0x1a7e8c;};return _0xda12();}export class NoOperationCompressor extends _0x1f81f0{[_0x947176(0xf4)](_0x12d494,_0x2e3031){var _0x270794=_0x947176;return _0x2e3031[_0x270794(0xe9)](),_0x12d494[_0x270794(0xee)][_0x270794(0xf3)](this[_0x270794(0xe2)]),!0x0;}[_0x947176(0xf0)](_0x54b449,_0x6963d9){var _0xb6f186=_0x947176;_0x6963d9[_0xb6f186(0xee)][_0xb6f186(0xe9)](),_0x54b449[_0xb6f186(0xf3)]({'__className':this[_0xb6f186(0xe3)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1dca(){const _0x47f6ac=['types','20SlhrHV','96sMtCVW','decompress','7113aKFyQy','777969XegUve','_operationName','push','3361758cZoazH','2896817XkvMIO','_id','5RKCHBc','22ggGYJR','868373vgjqGf','3027712kapcmd','__className','182034JDOVyr','_protobufDescriptor','shift','4ctFCMm','compress','buffers'];_0x1dca=function(){return _0x47f6ac;};return _0x1dca();}const _0x323cce=_0x71c3;function _0x71c3(_0xc4e3bd,_0x27b334){const _0x1dca39=_0x1dca();return _0x71c3=function(_0x71c37b,_0x5b30b0){_0x71c37b=_0x71c37b-0x88;let _0xa8e0a6=_0x1dca39[_0x71c37b];return _0xa8e0a6;},_0x71c3(_0xc4e3bd,_0x27b334);}(function(_0x35fac7,_0x2c0ba0){const _0x1be961=_0x71c3,_0x56f9a8=_0x35fac7();while(!![]){try{const _0x1f48ef=parseInt(_0x1be961(0x9a))/0x1*(-parseInt(_0x1be961(0x8c))/0x2)+parseInt(_0x1be961(0x9b))/0x3*(parseInt(_0x1be961(0x93))/0x4)+parseInt(_0x1be961(0x8b))/0x5*(-parseInt(_0x1be961(0x88))/0x6)+parseInt(_0x1be961(0x89))/0x7+-parseInt(_0x1be961(0x8e))/0x8+parseInt(_0x1be961(0x90))/0x9*(parseInt(_0x1be961(0x97))/0xa)+-parseInt(_0x1be961(0x8d))/0xb*(-parseInt(_0x1be961(0x98))/0xc);if(_0x1f48ef===_0x2c0ba0)break;else _0x56f9a8['push'](_0x56f9a8['shift']());}catch(_0x37402f){_0x56f9a8['push'](_0x56f9a8['shift']());}}}(_0x1dca,0x501d6));import{parsePositionBeforeCompression as _0x4564c5,parsePositionAfterCompression as _0x445369}from'../utils.js';export class OperationCompressor{[_0x323cce(0x8a)];[_0x323cce(0x9c)];[_0x323cce(0x91)];constructor(_0x248c38,_0x574176,_0x247c43){const _0x59e62b=_0x323cce;this[_0x59e62b(0x8a)]=_0x248c38,this[_0x59e62b(0x9c)]=_0x574176,this[_0x59e62b(0x91)]=_0x247c43;}[_0x323cce(0x94)](_0xe69687,_0x190633){const _0x3d4ff9=_0x323cce,_0x1534a7=_0x190633[_0x3d4ff9(0x92)]();return _0x4564c5(_0x1534a7),_0xe69687[_0x3d4ff9(0x95)][_0x3d4ff9(0x9d)](this[_0x3d4ff9(0x91)][_0x3d4ff9(0x94)](_0x1534a7)),_0xe69687[_0x3d4ff9(0x96)][_0x3d4ff9(0x9d)](this[_0x3d4ff9(0x8a)]),!0x0;}[_0x323cce(0x99)](_0x5e041d,_0x4909f9){const _0x168cd3=_0x323cce;_0x4909f9[_0x168cd3(0x96)][_0x168cd3(0x92)]();const _0xf6d636=this[_0x168cd3(0x91)][_0x168cd3(0x99)](_0x4909f9[_0x168cd3(0x95)][_0x168cd3(0x92)]());_0x445369(_0xf6d636),_0xf6d636[_0x168cd3(0x8f)]=this[_0x168cd3(0x9c)],_0x5e041d[_0x168cd3(0x9d)](_0xf6d636);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x266743=_0x405a;(function(_0x482765,_0x10dbb3){const _0x3cfff8=_0x405a,_0x17065e=_0x482765();while(!![]){try{const _0x3fd1ac=parseInt(_0x3cfff8(0x110))/0x1*(-parseInt(_0x3cfff8(0x119))/0x2)+-parseInt(_0x3cfff8(0x11b))/0x3*(parseInt(_0x3cfff8(0x11a))/0x4)+parseInt(_0x3cfff8(0x114))/0x5+parseInt(_0x3cfff8(0x111))/0x6+-parseInt(_0x3cfff8(0x11f))/0x7+parseInt(_0x3cfff8(0x11e))/0x8+-parseInt(_0x3cfff8(0x122))/0x9*(-parseInt(_0x3cfff8(0x11d))/0xa);if(_0x3fd1ac===_0x10dbb3)break;else _0x17065e['push'](_0x17065e['shift']());}catch(_0x4e7430){_0x17065e['push'](_0x17065e['shift']());}}}(_0x5836,0x3417e));import{messages as _0x5798e9}from'./lib/compiledmessages.js';function _0x5836(){const _0x134eca=['create','toObject','decompress','compress','627026TqZXNd','2536kWoMCe','1461SEIADh','_protobufRoot','432830hKRMnX','3193032ryKpdo','1588818zYLkrN','encode','verify','99hYhOeo','decode','getDescriptor','1dnAqAc','529872PvgPAe','_protobuf','finish','495325kzSIHW'];_0x5836=function(){return _0x134eca;};return _0x5836();}export class ProtobufFactory{[_0x266743(0x11c)];constructor(){const _0x240ab5=_0x266743;this[_0x240ab5(0x11c)]=_0x5798e9;}[_0x266743(0x124)](_0x624fd9){const _0x50c058=_0x266743;return new ProtobufDescriptor(this[_0x50c058(0x11c)][_0x624fd9]);}}function _0x405a(_0x82d7e2,_0x306af3){const _0x583618=_0x5836();return _0x405a=function(_0x405abb,_0x46c523){_0x405abb=_0x405abb-0x110;let _0xda3ba5=_0x583618[_0x405abb];return _0xda3ba5;},_0x405a(_0x82d7e2,_0x306af3);}export class ProtobufDescriptor{[_0x266743(0x112)];constructor(_0x172951){const _0x2f69ff=_0x266743;this[_0x2f69ff(0x112)]=_0x172951;}[_0x266743(0x118)](_0x305951){const _0x2d4011=_0x266743,_0x39858a=this[_0x2d4011(0x112)][_0x2d4011(0x121)](_0x305951);if(_0x39858a)throw Error(_0x39858a);return this[_0x2d4011(0x112)][_0x2d4011(0x120)](this[_0x2d4011(0x112)][_0x2d4011(0x115)](_0x305951))[_0x2d4011(0x113)]();}[_0x266743(0x117)](_0x42ecaf){const _0x3d3582=_0x266743;return this[_0x3d3582(0x112)][_0x3d3582(0x116)](this[_0x3d3582(0x112)][_0x3d3582(0x123)](_0x42ecaf),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x338fd8,_0x11f4f1){const _0x57b66e=_0x191c,_0x512186=_0x338fd8();while(!![]){try{const _0x2b96d3=-parseInt(_0x57b66e(0x119))/0x1*(-parseInt(_0x57b66e(0x10f))/0x2)+parseInt(_0x57b66e(0x112))/0x3*(-parseInt(_0x57b66e(0x10d))/0x4)+-parseInt(_0x57b66e(0x117))/0x5*(parseInt(_0x57b66e(0x110))/0x6)+parseInt(_0x57b66e(0x10a))/0x7+parseInt(_0x57b66e(0x11a))/0x8+-parseInt(_0x57b66e(0x118))/0x9+parseInt(_0x57b66e(0x10b))/0xa*(-parseInt(_0x57b66e(0x116))/0xb);if(_0x2b96d3===_0x11f4f1)break;else _0x512186['push'](_0x512186['shift']());}catch(_0x4cdbb1){_0x512186['push'](_0x512186['shift']());}}}(_0x12bc,0x21d3f));function _0x12bc(){const _0x281278=['784773ozLZcM','1pbMLZw','1223416NdMxgC','nodes','path','1779743oovxBu','2486830TzxVuv','$graveyard','4wfqaeC','rootGraveyard','524978LdERZT','1956ItfKOu','root','363672vjLnzz','rootMain','main','length','11tcmAtP','1135UeVcfo'];_0x12bc=function(){return _0x281278;};return _0x12bc();}import{cloneDeep as _0x227ea5,isEqual as _0x26f68f,isObject as _0x1076ed}from'es-toolkit/compat';function _0x191c(_0x317d05,_0x5dcf41){const _0x12bcc8=_0x12bc();return _0x191c=function(_0x191c76,_0xb7e50d){_0x191c76=_0x191c76-0x109;let _0x4f9941=_0x12bcc8[_0x191c76];return _0x4f9941;},_0x191c(_0x317d05,_0x5dcf41);}export function getPositionShiftedBy(_0x5cc92a,_0x7513d1){const _0xfa981e=_0x191c,_0x47f277=_0x227ea5(_0x5cc92a);return _0x47f277[_0xfa981e(0x109)][_0x47f277[_0xfa981e(0x109)][_0xfa981e(0x115)]-0x1]+=_0x7513d1,_0x47f277;}export function arePositionsEqual(_0x598ce4,_0x434f3e){const _0x3f9851=_0x191c;return _0x598ce4[_0x3f9851(0x111)]===_0x434f3e[_0x3f9851(0x111)]&&_0x26f68f(_0x598ce4[_0x3f9851(0x109)],_0x434f3e[_0x3f9851(0x109)]);}export function parsePositionBeforeCompression(_0x41a8b6){const _0x517dea=_0x191c;P(_0x41a8b6,_0x17f4eb=>(_0x517dea(0x114)==_0x17f4eb[_0x517dea(0x111)]?(_0x17f4eb[_0x517dea(0x113)]=!0x0,delete _0x17f4eb[_0x517dea(0x111)]):_0x517dea(0x10c)==_0x17f4eb[_0x517dea(0x111)]&&(_0x17f4eb[_0x517dea(0x10e)]=!0x0,delete _0x17f4eb[_0x517dea(0x111)]),_0x17f4eb));}export function parsePositionAfterCompression(_0xbe0cba){const _0x260206=_0x191c;P(_0xbe0cba,_0x6ca8f8=>(_0x6ca8f8[_0x260206(0x113)]?(_0x6ca8f8[_0x260206(0x111)]=_0x260206(0x114),delete _0x6ca8f8[_0x260206(0x113)]):_0x6ca8f8[_0x260206(0x10e)]&&(_0x6ca8f8[_0x260206(0x111)]=_0x260206(0x10c),delete _0x6ca8f8[_0x260206(0x10e)]),_0x6ca8f8));}function P(_0x3a2085,_0x4548e8){const _0x35c2d6=_0x191c;for(const _0x5167c2 in _0x3a2085){const _0x1ede76=_0x3a2085[_0x5167c2];_0x35c2d6(0x11b)!==_0x5167c2&&_0x1076ed(_0x1ede76)&&(_0x1ede76[_0x35c2d6(0x109)]&&(_0x1ede76[_0x35c2d6(0x111)]||_0x1ede76[_0x35c2d6(0x113)]||_0x1ede76[_0x35c2d6(0x10e)])?_0x3a2085[_0x5167c2]=_0x4548e8(_0x1ede76):P(_0x1ede76,_0x4548e8));}return _0x3a2085;}
|