@ckeditor/ckeditor5-operations-compressor 43.1.0-alpha.6 → 43.1.0-alpha.7
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
|
-
|
|
23
|
+
function _0xaec3(_0x1a9c08,_0x156f55){var _0x4e507e=_0x4e50();return _0xaec3=function(_0xaec3f6,_0x2bfa33){_0xaec3f6=_0xaec3f6-0x99;var _0x1409c1=_0x4e507e[_0xaec3f6];return _0x1409c1;},_0xaec3(_0x1a9c08,_0x156f55);}var _0x245b1b=_0xaec3;(function(_0x3ebde1,_0x54b29f){var _0x55c4a6=_0xaec3,_0x27a49e=_0x3ebde1();while(!![]){try{var _0x4caa79=-parseInt(_0x55c4a6(0x9c))/0x1*(-parseInt(_0x55c4a6(0x9f))/0x2)+-parseInt(_0x55c4a6(0xa1))/0x3*(parseInt(_0x55c4a6(0x99))/0x4)+-parseInt(_0x55c4a6(0x9b))/0x5*(parseInt(_0x55c4a6(0xa8))/0x6)+-parseInt(_0x55c4a6(0xa5))/0x7+parseInt(_0x55c4a6(0xa9))/0x8+-parseInt(_0x55c4a6(0x9d))/0x9+parseInt(_0x55c4a6(0xa3))/0xa;if(_0x4caa79===_0x54b29f)break;else _0x27a49e['push'](_0x27a49e['shift']());}catch(_0x5bf5fc){_0x27a49e['push'](_0x27a49e['shift']());}}}(_0x4e50,0x549db));function _0x4e50(){var _0x2ee1f3=['18860810NkCJkD','push','2316125JiDaVh','shift','compress','48vvzWtu','196664MHtzVT','4seFlVN','types','396985kgNIAw','90198XEUnyZ','3679569dwJMzD','_operationName','2AGnwBU','decompress','838149vlaeKo','_id'];_0x4e50=function(){return _0x2ee1f3;};return _0x4e50();}import _0x55aafd from'./operationcompressor.js';export default class p extends _0x55aafd{[_0x245b1b(0xa7)](_0x9b1be5,_0x498b28){var _0x1c29e9=_0x245b1b;return _0x498b28[_0x1c29e9(0xa6)](),_0x9b1be5[_0x1c29e9(0x9a)][_0x1c29e9(0xa4)](this[_0x1c29e9(0xa2)]),!0x0;}[_0x245b1b(0xa0)](_0x4886e5,_0xb45db0){var _0x264c35=_0x245b1b;_0xb45db0[_0x264c35(0x9a)][_0x264c35(0xa6)](),_0x4886e5[_0x264c35(0xa4)]({'__className':this[_0x264c35(0x9e)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x512689=_0x30c4;(function(_0xb8bf4d,_0x4699fa){const _0x2353ea=_0x30c4,_0x3fa198=_0xb8bf4d();while(!![]){try{const _0x41734d=parseInt(_0x2353ea(0x134))/0x1*(parseInt(_0x2353ea(0x130))/0x2)+-parseInt(_0x2353ea(0x136))/0x3+-parseInt(_0x2353ea(0x132))/0x4+-parseInt(_0x2353ea(0x13f))/0x5+-parseInt(_0x2353ea(0x137))/0x6+parseInt(_0x2353ea(0x13c))/0x7+parseInt(_0x2353ea(0x141))/0x8;if(_0x41734d===_0x4699fa)break;else _0x3fa198['push'](_0x3fa198['shift']());}catch(_0x31e923){_0x3fa198['push'](_0x3fa198['shift']());}}}(_0x1281,0xbbfbc));function _0x30c4(_0x5170fd,_0x5c6f0f){const _0x128118=_0x1281();return _0x30c4=function(_0x30c486,_0x52dcdb){_0x30c486=_0x30c486-0x130;let _0x240f27=_0x128118[_0x30c486];return _0x240f27;},_0x30c4(_0x5170fd,_0x5c6f0f);}import{parsePositionBeforeCompression as _0x93d1fa,parsePositionAfterCompression as _0x13073d}from'../utils.js';export default class e{constructor(_0x3a3d24,_0x72fca,_0x563f1e){const _0x2ef921=_0x30c4;this[_0x2ef921(0x13b)]=_0x3a3d24,this[_0x2ef921(0x13d)]=_0x72fca,this[_0x2ef921(0x135)]=_0x563f1e;}[_0x512689(0x131)](_0x243338,_0x3e9411){const _0x235a22=_0x512689,_0x2c32e9=_0x3e9411[_0x235a22(0x133)]();return _0x93d1fa(_0x2c32e9),_0x243338[_0x235a22(0x140)][_0x235a22(0x13a)](this[_0x235a22(0x135)][_0x235a22(0x131)](_0x2c32e9)),_0x243338[_0x235a22(0x139)][_0x235a22(0x13a)](this[_0x235a22(0x13b)]),!0x0;}[_0x512689(0x138)](_0x1e78b1,_0x2514f1){const _0x1a3f3d=_0x512689;_0x2514f1[_0x1a3f3d(0x139)][_0x1a3f3d(0x133)]();const _0x493634=this[_0x1a3f3d(0x135)][_0x1a3f3d(0x138)](_0x2514f1[_0x1a3f3d(0x140)][_0x1a3f3d(0x133)]());_0x13073d(_0x493634),_0x493634[_0x1a3f3d(0x13e)]=this[_0x1a3f3d(0x13d)],_0x1e78b1[_0x1a3f3d(0x13a)](_0x493634);}}function _0x1281(){const _0x2c2db3=['_protobufDescriptor','1147815GEaXsI','1273890WCmHxw','decompress','types','push','_id','5729129SDAseV','_operationName','__className','4107305vcmsqS','buffers','12989080sMFcfM','114568nJRwhW','compress','3543380QbbJpH','shift','11gJVwAG'];_0x1281=function(){return _0x2c2db3;};return _0x1281();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x50d0(){const _0x11e0d0=['verify','getDescriptor','finish','decompress','315296lxraku','63kRLVsw','1975952atSxua','toObject','105237PkyPGh','decode','create','9221712HIDZXW','_protobuf','compress','4UNgdoq','3npDlbe','7511470WvTGic','2257868nJvDur','encode','_protobufRoot','270MkhPpv','8951068fXcysn'];_0x50d0=function(){return _0x11e0d0;};return _0x50d0();}const _0x52342c=_0x3270;(function(_0x4f236e,_0x52290a){const _0x1f7d0f=_0x3270,_0x4a8e00=_0x4f236e();while(!![]){try{const _0x27b4e3=parseInt(_0x1f7d0f(0x1eb))/0x1*(parseInt(_0x1f7d0f(0x1e1))/0x2)+parseInt(_0x1f7d0f(0x1ec))/0x3*(parseInt(_0x1f7d0f(0x1ee))/0x4)+parseInt(_0x1f7d0f(0x1ed))/0x5+parseInt(_0x1f7d0f(0x1e8))/0x6+-parseInt(_0x1f7d0f(0x1f2))/0x7+-parseInt(_0x1f7d0f(0x1e3))/0x8*(parseInt(_0x1f7d0f(0x1e2))/0x9)+-parseInt(_0x1f7d0f(0x1f1))/0xa*(parseInt(_0x1f7d0f(0x1e5))/0xb);if(_0x27b4e3===_0x52290a)break;else _0x4a8e00['push'](_0x4a8e00['shift']());}catch(_0x3b84de){_0x4a8e00['push'](_0x4a8e00['shift']());}}}(_0x50d0,0xec67a));function _0x3270(_0x2cc77a,_0x599603){const _0x50d0d2=_0x50d0();return _0x3270=function(_0x327013,_0x257df6){_0x327013=_0x327013-0x1e0;let _0xadcfe2=_0x50d0d2[_0x327013];return _0xadcfe2;},_0x3270(_0x2cc77a,_0x599603);}import{messages as _0x671478}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x492740=_0x3270;this[_0x492740(0x1f0)]=_0x671478;}[_0x52342c(0x1f4)](_0x2c00a8){const _0x240513=_0x52342c;return new ProtobufDescriptor(this[_0x240513(0x1f0)][_0x2c00a8]);}}export class ProtobufDescriptor{constructor(_0x3bfd33){const _0x36572d=_0x52342c;this[_0x36572d(0x1e9)]=_0x3bfd33;}[_0x52342c(0x1ea)](_0x378b91){const _0x1ef196=_0x52342c,_0x17168c=this[_0x1ef196(0x1e9)][_0x1ef196(0x1f3)](_0x378b91);if(_0x17168c)throw Error(_0x17168c);return this[_0x1ef196(0x1e9)][_0x1ef196(0x1ef)](this[_0x1ef196(0x1e9)][_0x1ef196(0x1e7)](_0x378b91))[_0x1ef196(0x1f5)]();}[_0x52342c(0x1e0)](_0xcddae3){const _0x3aa921=_0x52342c;return this[_0x3aa921(0x1e9)][_0x3aa921(0x1e4)](this[_0x3aa921(0x1e9)][_0x3aa921(0x1e6)](_0xcddae3),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x290eaf,_0x50df0f){const _0x1762eb=_0x37ba,_0x591052=_0x290eaf();while(!![]){try{const _0x25e8a2=parseInt(_0x1762eb(0x69))/0x1+-parseInt(_0x1762eb(0x6e))/0x2*(-parseInt(_0x1762eb(0x6a))/0x3)+parseInt(_0x1762eb(0x6f))/0x4+-parseInt(_0x1762eb(0x72))/0x5+parseInt(_0x1762eb(0x79))/0x6*(parseInt(_0x1762eb(0x6b))/0x7)+parseInt(_0x1762eb(0x68))/0x8+parseInt(_0x1762eb(0x6d))/0x9*(-parseInt(_0x1762eb(0x78))/0xa);if(_0x25e8a2===_0x50df0f)break;else _0x591052['push'](_0x591052['shift']());}catch(_0xb27cf7){_0x591052['push'](_0x591052['shift']());}}}(_0x5f3d,0x61681));import{cloneDeep as _0x538e4e,isEqual as _0x2f93be,isObject as _0x146207}from'lodash-es';export function getPositionShiftedBy(_0x58e78c,_0x4c2e6e){const _0x133f93=_0x37ba,_0x49071a=_0x538e4e(_0x58e78c);return _0x49071a[_0x133f93(0x73)][_0x49071a[_0x133f93(0x73)][_0x133f93(0x74)]-0x1]+=_0x4c2e6e,_0x49071a;}export function arePositionsEqual(_0x3c1d21,_0x426a52){const _0x9e7046=_0x37ba;return _0x3c1d21[_0x9e7046(0x77)]===_0x426a52[_0x9e7046(0x77)]&&_0x2f93be(_0x3c1d21[_0x9e7046(0x73)],_0x426a52[_0x9e7046(0x73)]);}function _0x37ba(_0x5cecb0,_0x2d716b){const _0x5f3d70=_0x5f3d();return _0x37ba=function(_0x37ba87,_0xd67dff){_0x37ba87=_0x37ba87-0x68;let _0x299726=_0x5f3d70[_0x37ba87];return _0x299726;},_0x37ba(_0x5cecb0,_0x2d716b);}function _0x5f3d(){const _0x2e3605=['rootMain','main','root','10YbUjhc','102knIXIf','358784FtJQOF','787983EOAUMU','942243DunpFI','156506fQXUlA','nodes','6284979CwoEAk','2bhirbl','189984HvVGVi','$graveyard','rootGraveyard','2385930HguSgd','path','length'];_0x5f3d=function(){return _0x2e3605;};return _0x5f3d();}export function parsePositionBeforeCompression(_0x344e97){const _0x1a70f6=_0x37ba;P(_0x344e97,_0x1027ea=>(_0x1a70f6(0x76)==_0x1027ea[_0x1a70f6(0x77)]?(_0x1027ea[_0x1a70f6(0x75)]=!0x0,delete _0x1027ea[_0x1a70f6(0x77)]):_0x1a70f6(0x70)==_0x1027ea[_0x1a70f6(0x77)]&&(_0x1027ea[_0x1a70f6(0x71)]=!0x0,delete _0x1027ea[_0x1a70f6(0x77)]),_0x1027ea));}export function parsePositionAfterCompression(_0x197fe4){const _0x1f8b73=_0x37ba;P(_0x197fe4,_0x571913=>(_0x571913[_0x1f8b73(0x75)]?(_0x571913[_0x1f8b73(0x77)]=_0x1f8b73(0x76),delete _0x571913[_0x1f8b73(0x75)]):_0x571913[_0x1f8b73(0x71)]&&(_0x571913[_0x1f8b73(0x77)]=_0x1f8b73(0x70),delete _0x571913[_0x1f8b73(0x71)]),_0x571913));}function P(_0x4a944e,_0x5274a1){const _0xcf4819=_0x37ba;for(const _0x397896 in _0x4a944e){const _0x55c484=_0x4a944e[_0x397896];_0xcf4819(0x6c)!==_0x397896&&_0x146207(_0x55c484)&&(_0x55c484[_0xcf4819(0x73)]&&(_0x55c484[_0xcf4819(0x77)]||_0x55c484[_0xcf4819(0x75)]||_0x55c484[_0xcf4819(0x71)])?_0x4a944e[_0x397896]=_0x5274a1(_0x55c484):P(_0x55c484,_0x5274a1));}return _0x4a944e;}
|