@ckeditor/ckeditor5-operations-compressor 43.1.0-alpha.1 → 43.1.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
|
-
function
|
|
23
|
+
function _0x50de(){var _0x14a62d=['788940mMCZif','types','3160178wGgJYN','_id','9267kezIJG','644EmfOao','shift','320304kHqguy','378582eWIUnz','decompress','3017425RWyoeS','_operationName','compress','push','2243264sAbgjs'];_0x50de=function(){return _0x14a62d;};return _0x50de();}var _0x5dafd4=_0x4679;(function(_0x561c0d,_0x1c4095){var _0x50f590=_0x4679,_0x3529ac=_0x561c0d();while(!![]){try{var _0x3fc091=parseInt(_0x50f590(0x169))/0x1+parseInt(_0x50f590(0x161))/0x2+parseInt(_0x50f590(0x165))/0x3*(-parseInt(_0x50f590(0x166))/0x4)+parseInt(_0x50f590(0x15c))/0x5+parseInt(_0x50f590(0x168))/0x6+-parseInt(_0x50f590(0x163))/0x7+parseInt(_0x50f590(0x160))/0x8;if(_0x3fc091===_0x1c4095)break;else _0x3529ac['push'](_0x3529ac['shift']());}catch(_0x336d05){_0x3529ac['push'](_0x3529ac['shift']());}}}(_0x50de,0xb9eca));function _0x4679(_0x1d41a6,_0x175179){var _0x50de55=_0x50de();return _0x4679=function(_0x4679a4,_0x13450a){_0x4679a4=_0x4679a4-0x15b;var _0x4ae9fe=_0x50de55[_0x4679a4];return _0x4ae9fe;},_0x4679(_0x1d41a6,_0x175179);}import _0x34a9d4 from'./operationcompressor.js';export default class p extends _0x34a9d4{[_0x5dafd4(0x15e)](_0xd67163,_0x5772e5){var _0x481cc4=_0x5dafd4;return _0x5772e5[_0x481cc4(0x167)](),_0xd67163[_0x481cc4(0x162)][_0x481cc4(0x15f)](this[_0x481cc4(0x164)]),!0x0;}[_0x5dafd4(0x15b)](_0x1c7228,_0x558d63){var _0x3f15f2=_0x5dafd4;_0x558d63[_0x3f15f2(0x162)][_0x3f15f2(0x167)](),_0x1c7228[_0x3f15f2(0x15f)]({'__className':this[_0x3f15f2(0x15d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x363885=_0x965a;function _0x965a(_0x1dbb41,_0x1ccc54){const _0x312992=_0x3129();return _0x965a=function(_0x965afb,_0x511f55){_0x965afb=_0x965afb-0xf2;let _0x5ce31c=_0x312992[_0x965afb];return _0x5ce31c;},_0x965a(_0x1dbb41,_0x1ccc54);}function _0x3129(){const _0x1f10a6=['_id','_operationName','11259OlVnZe','8IuFrbA','_protobufDescriptor','compress','37440DOXxKa','decompress','963179qNGFyM','1654412yVZlmQ','3333981zwtJcE','shift','2610LaVocg','__className','buffers','344tWBEvZ','1473534TfEtlh','types','51427464QPSDxR','25xnKsGm','push'];_0x3129=function(){return _0x1f10a6;};return _0x3129();}(function(_0x32d05a,_0x12ea81){const _0x5c2552=_0x965a,_0x1c7e7e=_0x32d05a();while(!![]){try{const _0x7c2356=-parseInt(_0x5c2552(0x104))/0x1+-parseInt(_0x5c2552(0x105))/0x2+-parseInt(_0x5c2552(0xfe))/0x3*(parseInt(_0x5c2552(0xf6))/0x4)+-parseInt(_0x5c2552(0xfa))/0x5*(parseInt(_0x5c2552(0xf7))/0x6)+-parseInt(_0x5c2552(0x106))/0x7*(-parseInt(_0x5c2552(0xff))/0x8)+-parseInt(_0x5c2552(0x102))/0x9*(parseInt(_0x5c2552(0xf3))/0xa)+parseInt(_0x5c2552(0xf9))/0xb;if(_0x7c2356===_0x12ea81)break;else _0x1c7e7e['push'](_0x1c7e7e['shift']());}catch(_0x577995){_0x1c7e7e['push'](_0x1c7e7e['shift']());}}}(_0x3129,0xb0eb3));import{parsePositionBeforeCompression as _0x2b59eb,parsePositionAfterCompression as _0x20dd47}from'../utils.js';export default class e{constructor(_0x1b5a02,_0x577eb1,_0x3fdd86){const _0x58b589=_0x965a;this[_0x58b589(0xfc)]=_0x1b5a02,this[_0x58b589(0xfd)]=_0x577eb1,this[_0x58b589(0x100)]=_0x3fdd86;}[_0x363885(0x101)](_0x2fb172,_0x56d6b8){const _0x1585cc=_0x363885,_0x24f56d=_0x56d6b8[_0x1585cc(0xf2)]();return _0x2b59eb(_0x24f56d),_0x2fb172[_0x1585cc(0xf5)][_0x1585cc(0xfb)](this[_0x1585cc(0x100)][_0x1585cc(0x101)](_0x24f56d)),_0x2fb172[_0x1585cc(0xf8)][_0x1585cc(0xfb)](this[_0x1585cc(0xfc)]),!0x0;}[_0x363885(0x103)](_0xc4ef76,_0x5b2715){const _0x55cba2=_0x363885;_0x5b2715[_0x55cba2(0xf8)][_0x55cba2(0xf2)]();const _0x2dd070=this[_0x55cba2(0x100)][_0x55cba2(0x103)](_0x5b2715[_0x55cba2(0xf5)][_0x55cba2(0xf2)]());_0x20dd47(_0x2dd070),_0x2dd070[_0x55cba2(0xf4)]=this[_0x55cba2(0xfd)],_0xc4ef76[_0x55cba2(0xfb)](_0x2dd070);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x363f07=_0x245b;(function(_0x3cd496,_0x56c830){const _0x3a4284=_0x245b,_0x54c10b=_0x3cd496();while(!![]){try{const _0x3f6aad=-parseInt(_0x3a4284(0x1cd))/0x1*(-parseInt(_0x3a4284(0x1c3))/0x2)+-parseInt(_0x3a4284(0x1d0))/0x3*(-parseInt(_0x3a4284(0x1bd))/0x4)+parseInt(_0x3a4284(0x1c9))/0x5*(parseInt(_0x3a4284(0x1c1))/0x6)+parseInt(_0x3a4284(0x1cb))/0x7*(parseInt(_0x3a4284(0x1c2))/0x8)+parseInt(_0x3a4284(0x1bc))/0x9*(parseInt(_0x3a4284(0x1c5))/0xa)+-parseInt(_0x3a4284(0x1c6))/0xb+-parseInt(_0x3a4284(0x1cf))/0xc*(parseInt(_0x3a4284(0x1c8))/0xd);if(_0x3f6aad===_0x56c830)break;else _0x54c10b['push'](_0x54c10b['shift']());}catch(_0x19eec8){_0x54c10b['push'](_0x54c10b['shift']());}}}(_0x3036,0xde02e));import{messages as _0x17f3fa}from'./lib/compiledmessages.js';function _0x245b(_0x4d4a23,_0xacb6b8){const _0x30363d=_0x3036();return _0x245b=function(_0x245b62,_0x3ba585){_0x245b62=_0x245b62-0x1ba;let _0x18fbfb=_0x30363d[_0x245b62];return _0x18fbfb;},_0x245b(_0x4d4a23,_0xacb6b8);}export default class r{constructor(){const _0x22a8ec=_0x245b;this[_0x22a8ec(0x1be)]=_0x17f3fa;}[_0x363f07(0x1d1)](_0x3c8006){const _0x462b9c=_0x363f07;return new ProtobufDescriptor(this[_0x462b9c(0x1be)][_0x3c8006]);}}export class ProtobufDescriptor{constructor(_0x1762f0){const _0x4344f8=_0x363f07;this[_0x4344f8(0x1c7)]=_0x1762f0;}[_0x363f07(0x1cc)](_0x1ef8f0){const _0x2615ac=_0x363f07,_0x318c38=this[_0x2615ac(0x1c7)][_0x2615ac(0x1ce)](_0x1ef8f0);if(_0x318c38)throw Error(_0x318c38);return this[_0x2615ac(0x1c7)][_0x2615ac(0x1c0)](this[_0x2615ac(0x1c7)][_0x2615ac(0x1bf)](_0x1ef8f0))[_0x2615ac(0x1ba)]();}[_0x363f07(0x1bb)](_0x5ba23b){const _0x201fbd=_0x363f07;return this[_0x201fbd(0x1c7)][_0x201fbd(0x1c4)](this[_0x201fbd(0x1c7)][_0x201fbd(0x1ca)](_0x5ba23b),{'oneofs':!0x0});}}function _0x3036(){const _0x3f8bf3=['86229TkyNrH','360585xesvYI','decode','27937pWWXJI','compress','244201gjUlAS','verify','3576qLhEML','3Wnecxp','getDescriptor','finish','decompress','1461951lfHyJL','2896944PiQTDQ','_protobufRoot','create','encode','54ekktBj','2160vLezkd','10RKQBzh','toObject','30YZmTCV','14005079mGsmyv','_protobuf'];_0x3036=function(){return _0x3f8bf3;};return _0x3036();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x52ea5e,_0x2c4cc2){const _0x12dbfb=_0x2e3b,_0xb50cb4=_0x52ea5e();while(!![]){try{const _0xd7d4a4=parseInt(_0x12dbfb(0x159))/0x1+-parseInt(_0x12dbfb(0x150))/0x2+parseInt(_0x12dbfb(0x14b))/0x3+-parseInt(_0x12dbfb(0x14a))/0x4+-parseInt(_0x12dbfb(0x14e))/0x5+parseInt(_0x12dbfb(0x151))/0x6+-parseInt(_0x12dbfb(0x154))/0x7*(-parseInt(_0x12dbfb(0x156))/0x8);if(_0xd7d4a4===_0x2c4cc2)break;else _0xb50cb4['push'](_0xb50cb4['shift']());}catch(_0xa6049c){_0xb50cb4['push'](_0xb50cb4['shift']());}}}(_0x316c,0xe4bb2));function _0x2e3b(_0x4c53dd,_0x112009){const _0x316c04=_0x316c();return _0x2e3b=function(_0x2e3b39,_0x370b46){_0x2e3b39=_0x2e3b39-0x14a;let _0x4bbfb4=_0x316c04[_0x2e3b39];return _0x4bbfb4;},_0x2e3b(_0x4c53dd,_0x112009);}import{cloneDeep as _0xcf0652,isEqual as _0x3d3f12,isObject as _0x339a6a}from'lodash-es';export function getPositionShiftedBy(_0x26b431,_0x577a28){const _0x5e277b=_0x2e3b,_0x1b3c1f=_0xcf0652(_0x26b431);return _0x1b3c1f[_0x5e277b(0x14d)][_0x1b3c1f[_0x5e277b(0x14d)][_0x5e277b(0x155)]-0x1]+=_0x577a28,_0x1b3c1f;}export function arePositionsEqual(_0x508f47,_0x58126b){const _0xdda10a=_0x2e3b;return _0x508f47[_0xdda10a(0x14f)]===_0x58126b[_0xdda10a(0x14f)]&&_0x3d3f12(_0x508f47[_0xdda10a(0x14d)],_0x58126b[_0xdda10a(0x14d)]);}export function parsePositionBeforeCompression(_0x9ae5b7){const _0x335e20=_0x2e3b;P(_0x9ae5b7,_0x361b49=>(_0x335e20(0x153)==_0x361b49[_0x335e20(0x14f)]?(_0x361b49[_0x335e20(0x157)]=!0x0,delete _0x361b49[_0x335e20(0x14f)]):_0x335e20(0x152)==_0x361b49[_0x335e20(0x14f)]&&(_0x361b49[_0x335e20(0x158)]=!0x0,delete _0x361b49[_0x335e20(0x14f)]),_0x361b49));}export function parsePositionAfterCompression(_0x2e18a4){const _0x5236fe=_0x2e3b;P(_0x2e18a4,_0xb28520=>(_0xb28520[_0x5236fe(0x157)]?(_0xb28520[_0x5236fe(0x14f)]=_0x5236fe(0x153),delete _0xb28520[_0x5236fe(0x157)]):_0xb28520[_0x5236fe(0x158)]&&(_0xb28520[_0x5236fe(0x14f)]=_0x5236fe(0x152),delete _0xb28520[_0x5236fe(0x158)]),_0xb28520));}function _0x316c(){const _0x17e641=['3016132nPFdbQ','2470971MkUiYo','nodes','path','6857745RBSeiZ','root','2783308QWCUWL','3718890HwbElR','$graveyard','main','1393KXcMlG','length','87528DjOLHA','rootMain','rootGraveyard','833387ikDaGY'];_0x316c=function(){return _0x17e641;};return _0x316c();}function P(_0x11478d,_0xc5d280){const _0xbfa5e8=_0x2e3b;for(const _0x2c4998 in _0x11478d){const _0x3a82b0=_0x11478d[_0x2c4998];_0xbfa5e8(0x14c)!==_0x2c4998&&_0x339a6a(_0x3a82b0)&&(_0x3a82b0[_0xbfa5e8(0x14d)]&&(_0x3a82b0[_0xbfa5e8(0x14f)]||_0x3a82b0[_0xbfa5e8(0x157)]||_0x3a82b0[_0xbfa5e8(0x158)])?_0x11478d[_0x2c4998]=_0xc5d280(_0x3a82b0):P(_0x3a82b0,_0xc5d280));}return _0x11478d;}
|