@ckeditor/ckeditor5-operations-compressor 44.3.0-alpha.2 → 44.3.0-alpha.4
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
|
+
var _0x32020e=_0x516c;(function(_0x5d46fe,_0x249dd4){var _0x498456=_0x516c,_0x4a7fe6=_0x5d46fe();while(!![]){try{var _0x427db6=-parseInt(_0x498456(0x13b))/0x1*(parseInt(_0x498456(0x13e))/0x2)+-parseInt(_0x498456(0x144))/0x3+-parseInt(_0x498456(0x148))/0x4*(parseInt(_0x498456(0x13f))/0x5)+parseInt(_0x498456(0x140))/0x6+-parseInt(_0x498456(0x142))/0x7*(-parseInt(_0x498456(0x13d))/0x8)+parseInt(_0x498456(0x146))/0x9+-parseInt(_0x498456(0x141))/0xa;if(_0x427db6===_0x249dd4)break;else _0x4a7fe6['push'](_0x4a7fe6['shift']());}catch(_0x215e03){_0x4a7fe6['push'](_0x4a7fe6['shift']());}}}(_0x1c04,0x40aa4));function _0x516c(_0x4f38c9,_0x4ca1ef){var _0x1c04a2=_0x1c04();return _0x516c=function(_0x516cbd,_0x27eff4){_0x516cbd=_0x516cbd-0x138;var _0x9afcc6=_0x1c04a2[_0x516cbd];return _0x9afcc6;},_0x516c(_0x4f38c9,_0x4ca1ef);}import _0x47d75c from'./operationcompressor.js';function _0x1c04(){var _0x801478=['20741yfuhxf','push','976173sRIWsV','_id','2304009pxSLBj','shift','12haXFSB','types','compress','_operationName','10410lcAYlS','decompress','824skMDPH','34ZontWH','20135YZBPgW','2402424zMtgEy','1822840LMWwRd'];_0x1c04=function(){return _0x801478;};return _0x1c04();}export default class p extends _0x47d75c{[_0x32020e(0x139)](_0xb718a9,_0x5a414f){var _0x36852a=_0x32020e;return _0x5a414f[_0x36852a(0x147)](),_0xb718a9[_0x36852a(0x138)][_0x36852a(0x143)](this[_0x36852a(0x145)]),!0x0;}[_0x32020e(0x13c)](_0x1fb6f6,_0x4ce917){var _0x175672=_0x32020e;_0x4ce917[_0x175672(0x138)][_0x175672(0x147)](),_0x1fb6f6[_0x175672(0x143)]({'__className':this[_0x175672(0x13a)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48b956=_0x2931;(function(_0x2607cb,_0x5631e9){const _0x32116b=_0x2931,_0x3352ca=_0x2607cb();while(!![]){try{const _0x3cc505=parseInt(_0x32116b(0x104))/0x1*(parseInt(_0x32116b(0x102))/0x2)+-parseInt(_0x32116b(0x115))/0x3*(parseInt(_0x32116b(0x10e))/0x4)+-parseInt(_0x32116b(0x110))/0x5*(-parseInt(_0x32116b(0x10a))/0x6)+parseInt(_0x32116b(0x112))/0x7+-parseInt(_0x32116b(0x10f))/0x8*(-parseInt(_0x32116b(0x109))/0x9)+parseInt(_0x32116b(0x10b))/0xa*(parseInt(_0x32116b(0x108))/0xb)+-parseInt(_0x32116b(0x111))/0xc*(parseInt(_0x32116b(0x106))/0xd);if(_0x3cc505===_0x5631e9)break;else _0x3352ca['push'](_0x3352ca['shift']());}catch(_0x12995a){_0x3352ca['push'](_0x3352ca['shift']());}}}(_0x2f68,0x9c317));function _0x2f68(){const _0x47ebc8=['139734YkiyaP','4217814hFYTkC','3370aQYLcL','_operationName','push','1114852mWRlYq','456iBDYiI','5BiOzec','13812mDWOIx','8892373yziTFY','decompress','compress','9WsuKYE','_id','_protobufDescriptor','shift','896390gDBVGd','types','1qchEbq','buffers','26442VZaxOm','__className','16665wfpEKP'];_0x2f68=function(){return _0x47ebc8;};return _0x2f68();}import{parsePositionBeforeCompression as _0x4825d8,parsePositionAfterCompression as _0x1f9650}from'../utils.js';function _0x2931(_0x5566ba,_0x447b43){const _0x2f6892=_0x2f68();return _0x2931=function(_0x2931a7,_0x7e2ba6){_0x2931a7=_0x2931a7-0x100;let _0x4585f7=_0x2f6892[_0x2931a7];return _0x4585f7;},_0x2931(_0x5566ba,_0x447b43);}export default class e{constructor(_0x34cfb3,_0x20c2a4,_0x1d84ca){const _0x2873ad=_0x2931;this[_0x2873ad(0x116)]=_0x34cfb3,this[_0x2873ad(0x10c)]=_0x20c2a4,this[_0x2873ad(0x100)]=_0x1d84ca;}[_0x48b956(0x114)](_0x4bb41d,_0x22fee2){const _0x2f16d1=_0x48b956,_0x737e15=_0x22fee2[_0x2f16d1(0x101)]();return _0x4825d8(_0x737e15),_0x4bb41d[_0x2f16d1(0x105)][_0x2f16d1(0x10d)](this[_0x2f16d1(0x100)][_0x2f16d1(0x114)](_0x737e15)),_0x4bb41d[_0x2f16d1(0x103)][_0x2f16d1(0x10d)](this[_0x2f16d1(0x116)]),!0x0;}[_0x48b956(0x113)](_0x10ca9a,_0x50ed79){const _0x4693ae=_0x48b956;_0x50ed79[_0x4693ae(0x103)][_0x4693ae(0x101)]();const _0x4af5bb=this[_0x4693ae(0x100)][_0x4693ae(0x113)](_0x50ed79[_0x4693ae(0x105)][_0x4693ae(0x101)]());_0x1f9650(_0x4af5bb),_0x4af5bb[_0x4693ae(0x107)]=this[_0x4693ae(0x10c)],_0x10ca9a[_0x4693ae(0x10d)](_0x4af5bb);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x872e(){const _0x42c53c=['compress','decode','21815pEXfyr','verify','467882XSRJmG','718695HNDOpp','342MIWaBu','create','decompress','getDescriptor','3262768igzepu','toObject','_protobuf','3hwXiKq','495LiAeJK','_protobufRoot','205830XgkPze','2McGfVu','1055156wXohMf','finish','encode','6849934rUaUuf'];_0x872e=function(){return _0x42c53c;};return _0x872e();}const _0x61547c=_0x4132;(function(_0x50da93,_0x1dac2e){const _0x2755a4=_0x4132,_0x5848c7=_0x50da93();while(!![]){try{const _0x2fa677=-parseInt(_0x2755a4(0xab))/0x1*(parseInt(_0x2755a4(0xa2))/0x2)+-parseInt(_0x2755a4(0xb4))/0x3*(-parseInt(_0x2755a4(0xa3))/0x4)+-parseInt(_0x2755a4(0xa9))/0x5*(-parseInt(_0x2755a4(0xad))/0x6)+parseInt(_0x2755a4(0xa6))/0x7+parseInt(_0x2755a4(0xb1))/0x8+parseInt(_0x2755a4(0xac))/0x9+-parseInt(_0x2755a4(0xa1))/0xa*(parseInt(_0x2755a4(0x9f))/0xb);if(_0x2fa677===_0x1dac2e)break;else _0x5848c7['push'](_0x5848c7['shift']());}catch(_0x530321){_0x5848c7['push'](_0x5848c7['shift']());}}}(_0x872e,0x8ebb2));function _0x4132(_0x414eb3,_0xc3b9c){const _0x872e94=_0x872e();return _0x4132=function(_0x41329a,_0x5a5a14){_0x41329a=_0x41329a-0x9f;let _0x185304=_0x872e94[_0x41329a];return _0x185304;},_0x4132(_0x414eb3,_0xc3b9c);}import{messages as _0x46d22d}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x6747f1=_0x4132;this[_0x6747f1(0xa0)]=_0x46d22d;}[_0x61547c(0xb0)](_0x47b25a){const _0x3bcc75=_0x61547c;return new ProtobufDescriptor(this[_0x3bcc75(0xa0)][_0x47b25a]);}}export class ProtobufDescriptor{constructor(_0x344046){const _0xfb561d=_0x61547c;this[_0xfb561d(0xb3)]=_0x344046;}[_0x61547c(0xa7)](_0x1915f5){const _0x1639b0=_0x61547c,_0x31ba47=this[_0x1639b0(0xb3)][_0x1639b0(0xaa)](_0x1915f5);if(_0x31ba47)throw Error(_0x31ba47);return this[_0x1639b0(0xb3)][_0x1639b0(0xa5)](this[_0x1639b0(0xb3)][_0x1639b0(0xae)](_0x1915f5))[_0x1639b0(0xa4)]();}[_0x61547c(0xaf)](_0x23af00){const _0x98908e=_0x61547c;return this[_0x98908e(0xb3)][_0x98908e(0xb2)](this[_0x98908e(0xb3)][_0x98908e(0xa8)](_0x23af00),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x113f(_0x3b830f,_0x1d31ca){const _0x3bf3d7=_0x3bf3();return _0x113f=function(_0x113f0c,_0x221446){_0x113f0c=_0x113f0c-0x1d2;let _0x514fa0=_0x3bf3d7[_0x113f0c];return _0x514fa0;},_0x113f(_0x3b830f,_0x1d31ca);}(function(_0x48c376,_0x3851a6){const _0x383de6=_0x113f,_0x2e8697=_0x48c376();while(!![]){try{const _0x59023a=parseInt(_0x383de6(0x1df))/0x1+parseInt(_0x383de6(0x1de))/0x2+parseInt(_0x383de6(0x1d3))/0x3+parseInt(_0x383de6(0x1d6))/0x4+-parseInt(_0x383de6(0x1d9))/0x5*(-parseInt(_0x383de6(0x1d8))/0x6)+-parseInt(_0x383de6(0x1da))/0x7+parseInt(_0x383de6(0x1d4))/0x8*(-parseInt(_0x383de6(0x1d7))/0x9);if(_0x59023a===_0x3851a6)break;else _0x2e8697['push'](_0x2e8697['shift']());}catch(_0x14458a){_0x2e8697['push'](_0x2e8697['shift']());}}}(_0x3bf3,0xc589a));import{cloneDeep as _0x39ccc2,isEqual as _0x36807c,isObject as _0x47a70f}from'lodash-es';export function getPositionShiftedBy(_0x297924,_0x1e4944){const _0x4fc77f=_0x113f,_0x3fd4e5=_0x39ccc2(_0x297924);return _0x3fd4e5[_0x4fc77f(0x1dd)][_0x3fd4e5[_0x4fc77f(0x1dd)][_0x4fc77f(0x1d5)]-0x1]+=_0x1e4944,_0x3fd4e5;}export function arePositionsEqual(_0x332b56,_0x1fcdf8){const _0x14c98e=_0x113f;return _0x332b56[_0x14c98e(0x1d2)]===_0x1fcdf8[_0x14c98e(0x1d2)]&&_0x36807c(_0x332b56[_0x14c98e(0x1dd)],_0x1fcdf8[_0x14c98e(0x1dd)]);}export function parsePositionBeforeCompression(_0x50d6a1){const _0x24309e=_0x113f;P(_0x50d6a1,_0x2aeb6c=>(_0x24309e(0x1db)==_0x2aeb6c[_0x24309e(0x1d2)]?(_0x2aeb6c[_0x24309e(0x1e1)]=!0x0,delete _0x2aeb6c[_0x24309e(0x1d2)]):_0x24309e(0x1e2)==_0x2aeb6c[_0x24309e(0x1d2)]&&(_0x2aeb6c[_0x24309e(0x1dc)]=!0x0,delete _0x2aeb6c[_0x24309e(0x1d2)]),_0x2aeb6c));}function _0x3bf3(){const _0x33dd0f=['nodes','rootMain','$graveyard','root','1378629SEWFNi','9406552yEjeiC','length','3677452jIavxm','9pyRMLi','16002AkoOvj','655MZPmhd','6605515YYPKlF','main','rootGraveyard','path','1621596qwNbrW','389497EjqfLc'];_0x3bf3=function(){return _0x33dd0f;};return _0x3bf3();}export function parsePositionAfterCompression(_0x5e8935){const _0x158002=_0x113f;P(_0x5e8935,_0x267ee5=>(_0x267ee5[_0x158002(0x1e1)]?(_0x267ee5[_0x158002(0x1d2)]=_0x158002(0x1db),delete _0x267ee5[_0x158002(0x1e1)]):_0x267ee5[_0x158002(0x1dc)]&&(_0x267ee5[_0x158002(0x1d2)]=_0x158002(0x1e2),delete _0x267ee5[_0x158002(0x1dc)]),_0x267ee5));}function P(_0x384f25,_0x2516e8){const _0x5b9838=_0x113f;for(const _0x1319c7 in _0x384f25){const _0x31503f=_0x384f25[_0x1319c7];_0x5b9838(0x1e0)!==_0x1319c7&&_0x47a70f(_0x31503f)&&(_0x31503f[_0x5b9838(0x1dd)]&&(_0x31503f[_0x5b9838(0x1d2)]||_0x31503f[_0x5b9838(0x1e1)]||_0x31503f[_0x5b9838(0x1dc)])?_0x384f25[_0x1319c7]=_0x2516e8(_0x31503f):P(_0x31503f,_0x2516e8));}return _0x384f25;}
|