@ckeditor/ckeditor5-operations-compressor 46.1.1 → 47.0.0-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/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
|
+
const _0x3edb3c=_0x5a30;(function(_0x42e243,_0x4c095e){const _0x434d7a=_0x5a30,_0x104a95=_0x42e243();while(!![]){try{const _0x5bcb96=-parseInt(_0x434d7a(0xb1))/0x1+parseInt(_0x434d7a(0xaf))/0x2*(-parseInt(_0x434d7a(0xad))/0x3)+parseInt(_0x434d7a(0xb9))/0x4*(-parseInt(_0x434d7a(0xb6))/0x5)+-parseInt(_0x434d7a(0xae))/0x6*(parseInt(_0x434d7a(0xb4))/0x7)+parseInt(_0x434d7a(0xb2))/0x8+-parseInt(_0x434d7a(0xb5))/0x9+-parseInt(_0x434d7a(0xb8))/0xa*(-parseInt(_0x434d7a(0xb3))/0xb);if(_0x5bcb96===_0x4c095e)break;else _0x104a95['push'](_0x104a95['shift']());}catch(_0x1696c8){_0x104a95['push'](_0x104a95['shift']());}}}(_0x486f,0xb3b21));function _0x5a30(_0x4f3b52,_0x416494){const _0x486f4f=_0x486f();return _0x5a30=function(_0x5a30bb,_0x3ee8a9){_0x5a30bb=_0x5a30bb-0xab;let _0x5e72b5=_0x486f4f[_0x5a30bb];return _0x5e72b5;},_0x5a30(_0x4f3b52,_0x416494);}import{OperationCompressor as _0x1e5ef4}from'./operationcompressor.js';function _0x486f(){const _0x5c3e89=['30688075yfnYfa','301819iIMfGo','1496628yyPxSb','150oKwSJt','newRange','10AkgNzr','147760ZZeftg','oldRange','decompress','3ndvSZw','6hnliRd','1286518SuANJK','length','809388XUtdik','5731712WJQjEZ'];_0x486f=function(){return _0x5c3e89;};return _0x486f();}export class MarkerOperationCompressor extends _0x1e5ef4{[_0x3edb3c(0xac)](_0x328aed,_0x43ad35){const _0x3f7b97=_0x3edb3c;super[_0x3f7b97(0xac)](_0x328aed,_0x43ad35);const _0xcee45a=_0x328aed[_0x328aed[_0x3f7b97(0xb0)]-0x1];_0xcee45a[_0x3f7b97(0xab)]||(_0xcee45a[_0x3f7b97(0xab)]=null),_0xcee45a[_0x3f7b97(0xb7)]||(_0xcee45a[_0x3f7b97(0xb7)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2dc4(_0x5c9537,_0x1916e8){var _0x2d5a7d=_0x2d5a();return _0x2dc4=function(_0x2dc4b1,_0x4eb9fa){_0x2dc4b1=_0x2dc4b1-0x8b;var _0x4e272e=_0x2d5a7d[_0x2dc4b1];return _0x4e272e;},_0x2dc4(_0x5c9537,_0x1916e8);}function _0x2d5a(){var _0x55a3ae=['8mDYVSn','compress','25759863aOjFaH','types','_operationName','decompress','shift','623805FGGYBb','_id','6397182mRYraU','48LzKorf','5214188DJCUKz','270217LPmxeh','push','3734130AKPTWZ','2501184SjFtYQ'];_0x2d5a=function(){return _0x55a3ae;};return _0x2d5a();}var _0x3779d2=_0x2dc4;(function(_0x1a3119,_0x2fdf17){var _0x3703e0=_0x2dc4,_0x177d7d=_0x1a3119();while(!![]){try{var _0x1a7ccd=-parseInt(_0x3703e0(0x98))/0x1*(parseInt(_0x3703e0(0x8c))/0x2)+parseInt(_0x3703e0(0x9a))/0x3+-parseInt(_0x3703e0(0x96))/0x4*(parseInt(_0x3703e0(0x93))/0x5)+-parseInt(_0x3703e0(0x95))/0x6+parseInt(_0x3703e0(0x97))/0x7+-parseInt(_0x3703e0(0x8b))/0x8+parseInt(_0x3703e0(0x8e))/0x9;if(_0x1a7ccd===_0x2fdf17)break;else _0x177d7d['push'](_0x177d7d['shift']());}catch(_0xe0292b){_0x177d7d['push'](_0x177d7d['shift']());}}}(_0x2d5a,0xda7ec));import{OperationCompressor as _0x31add4}from'./operationcompressor.js';export class NoOperationCompressor extends _0x31add4{[_0x3779d2(0x8d)](_0x2bf7ba,_0x26b31a){var _0x77bc80=_0x3779d2;return _0x26b31a[_0x77bc80(0x92)](),_0x2bf7ba[_0x77bc80(0x8f)][_0x77bc80(0x99)](this[_0x77bc80(0x94)]),!0x0;}[_0x3779d2(0x91)](_0x412249,_0x566267){var _0x15a702=_0x3779d2;_0x566267[_0x15a702(0x8f)][_0x15a702(0x92)](),_0x412249[_0x15a702(0x99)]({'__className':this[_0x15a702(0x90)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x349b8a=_0x173a;(function(_0x7ae608,_0x45dd3e){const _0x228e40=_0x173a,_0x4c12a4=_0x7ae608();while(!![]){try{const _0x12c33d=parseInt(_0x228e40(0xda))/0x1*(parseInt(_0x228e40(0xe2))/0x2)+parseInt(_0x228e40(0xd4))/0x3*(-parseInt(_0x228e40(0xe4))/0x4)+-parseInt(_0x228e40(0xd1))/0x5+-parseInt(_0x228e40(0xcf))/0x6*(parseInt(_0x228e40(0xe1))/0x7)+parseInt(_0x228e40(0xd3))/0x8+parseInt(_0x228e40(0xe3))/0x9*(-parseInt(_0x228e40(0xde))/0xa)+parseInt(_0x228e40(0xd6))/0xb*(parseInt(_0x228e40(0xe0))/0xc);if(_0x12c33d===_0x45dd3e)break;else _0x4c12a4['push'](_0x4c12a4['shift']());}catch(_0x3b279d){_0x4c12a4['push'](_0x4c12a4['shift']());}}}(_0x49f5,0x513ea));function _0x173a(_0x2cf945,_0x1ddb35){const _0x49f5a8=_0x49f5();return _0x173a=function(_0x173a01,_0x4337da){_0x173a01=_0x173a01-0xcf;let _0x46fbe4=_0x49f5a8[_0x173a01];return _0x46fbe4;},_0x173a(_0x2cf945,_0x1ddb35);}function _0x49f5(){const _0x7ccfbd=['7BEsQOb','28sMsQWh','39420YpefVk','8iUhyIg','1104702vlJtkd','compress','719685CKWEge','_id','4195200ruWwif','939810ltTZqp','_operationName','22hdaAGM','_protobufDescriptor','push','shift','40429UScEOH','__className','decompress','types','230NlxplK','buffers','1786236MHZlAy'];_0x49f5=function(){return _0x7ccfbd;};return _0x49f5();}import{parsePositionBeforeCompression as _0x531d2e,parsePositionAfterCompression as _0x1692f9}from'../utils.js';export class OperationCompressor{[_0x349b8a(0xd2)];[_0x349b8a(0xd5)];[_0x349b8a(0xd7)];constructor(_0x55bc02,_0x9242c6,_0x56ca3a){const _0x1c1fc8=_0x349b8a;this[_0x1c1fc8(0xd2)]=_0x55bc02,this[_0x1c1fc8(0xd5)]=_0x9242c6,this[_0x1c1fc8(0xd7)]=_0x56ca3a;}[_0x349b8a(0xd0)](_0x57203d,_0x1d2442){const _0x571f89=_0x349b8a,_0x24bbd8=_0x1d2442[_0x571f89(0xd9)]();return _0x531d2e(_0x24bbd8),_0x57203d[_0x571f89(0xdf)][_0x571f89(0xd8)](this[_0x571f89(0xd7)][_0x571f89(0xd0)](_0x24bbd8)),_0x57203d[_0x571f89(0xdd)][_0x571f89(0xd8)](this[_0x571f89(0xd2)]),!0x0;}[_0x349b8a(0xdc)](_0x559481,_0x2f7239){const _0x201dc5=_0x349b8a;_0x2f7239[_0x201dc5(0xdd)][_0x201dc5(0xd9)]();const _0x20ff9e=this[_0x201dc5(0xd7)][_0x201dc5(0xdc)](_0x2f7239[_0x201dc5(0xdf)][_0x201dc5(0xd9)]());_0x1692f9(_0x20ff9e),_0x20ff9e[_0x201dc5(0xdb)]=this[_0x201dc5(0xd5)],_0x559481[_0x201dc5(0xd8)](_0x20ff9e);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcbad7a=_0x3d18;(function(_0x3a940b,_0xc7c5d3){const _0x31fc10=_0x3d18,_0x6edb9=_0x3a940b();while(!![]){try{const _0x528810=-parseInt(_0x31fc10(0x19a))/0x1+-parseInt(_0x31fc10(0x1a8))/0x2*(-parseInt(_0x31fc10(0x198))/0x3)+parseInt(_0x31fc10(0x196))/0x4*(parseInt(_0x31fc10(0x19d))/0x5)+parseInt(_0x31fc10(0x1a2))/0x6*(parseInt(_0x31fc10(0x1a3))/0x7)+parseInt(_0x31fc10(0x197))/0x8*(-parseInt(_0x31fc10(0x1a4))/0x9)+parseInt(_0x31fc10(0x19e))/0xa+-parseInt(_0x31fc10(0x1a7))/0xb*(parseInt(_0x31fc10(0x19c))/0xc);if(_0x528810===_0xc7c5d3)break;else _0x6edb9['push'](_0x6edb9['shift']());}catch(_0x3e497d){_0x6edb9['push'](_0x6edb9['shift']());}}}(_0x48f7,0xa0d05));import{messages as _0xd412b9}from'./lib/compiledmessages.js';function _0x48f7(){const _0x39e275=['_protobuf','encode','getDescriptor','4iADorE','384HdYRJG','54ZbzTJi','_protobufRoot','1043574jirQem','toObject','24KJhVPq','4544765OVuIJD','4678430rntEaC','create','finish','decompress','606966jppDbl','77xHrMOX','63666nXOLIP','decode','verify','2807827ffCAsn','6974UjdKOi','compress'];_0x48f7=function(){return _0x39e275;};return _0x48f7();}function _0x3d18(_0x591786,_0x5c0b09){const _0x48f757=_0x48f7();return _0x3d18=function(_0x3d18a3,_0x2a8e6b){_0x3d18a3=_0x3d18a3-0x196;let _0x1e3062=_0x48f757[_0x3d18a3];return _0x1e3062;},_0x3d18(_0x591786,_0x5c0b09);}export class ProtobufFactory{[_0xcbad7a(0x199)];constructor(){const _0x435807=_0xcbad7a;this[_0x435807(0x199)]=_0xd412b9;}[_0xcbad7a(0x1ac)](_0x1680cf){const _0x450fd6=_0xcbad7a;return new ProtobufDescriptor(this[_0x450fd6(0x199)][_0x1680cf]);}}export class ProtobufDescriptor{[_0xcbad7a(0x1aa)];constructor(_0x53a5fc){const _0x1ea57d=_0xcbad7a;this[_0x1ea57d(0x1aa)]=_0x53a5fc;}[_0xcbad7a(0x1a9)](_0x5305fb){const _0x2a3b71=_0xcbad7a,_0x1b6c0e=this[_0x2a3b71(0x1aa)][_0x2a3b71(0x1a6)](_0x5305fb);if(_0x1b6c0e)throw Error(_0x1b6c0e);return this[_0x2a3b71(0x1aa)][_0x2a3b71(0x1ab)](this[_0x2a3b71(0x1aa)][_0x2a3b71(0x19f)](_0x5305fb))[_0x2a3b71(0x1a0)]();}[_0xcbad7a(0x1a1)](_0x552392){const _0x24f89e=_0xcbad7a;return this[_0x24f89e(0x1aa)][_0x24f89e(0x19b)](this[_0x24f89e(0x1aa)][_0x24f89e(0x1a5)](_0x552392),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x691aa4,_0x722108){const _0x559cb0=_0x3a6d,_0x4edff1=_0x691aa4();while(!![]){try{const _0x974144=-parseInt(_0x559cb0(0xbc))/0x1+parseInt(_0x559cb0(0xb1))/0x2+parseInt(_0x559cb0(0xb7))/0x3*(parseInt(_0x559cb0(0xb6))/0x4)+-parseInt(_0x559cb0(0xb8))/0x5*(-parseInt(_0x559cb0(0xb3))/0x6)+parseInt(_0x559cb0(0xac))/0x7*(-parseInt(_0x559cb0(0xab))/0x8)+parseInt(_0x559cb0(0xb9))/0x9+parseInt(_0x559cb0(0xaa))/0xa*(parseInt(_0x559cb0(0xb0))/0xb);if(_0x974144===_0x722108)break;else _0x4edff1['push'](_0x4edff1['shift']());}catch(_0x3df762){_0x4edff1['push'](_0x4edff1['shift']());}}}(_0x72ec,0xac5e3));import{cloneDeep as _0x27f206,isEqual as _0xa480a6,isObject as _0x4b8dc7}from'es-toolkit/compat';export function getPositionShiftedBy(_0x592021,_0x395422){const _0x520c0b=_0x3a6d,_0x1fa31f=_0x27f206(_0x592021);return _0x1fa31f[_0x520c0b(0xae)][_0x1fa31f[_0x520c0b(0xae)][_0x520c0b(0xad)]-0x1]+=_0x395422,_0x1fa31f;}export function arePositionsEqual(_0x4ae2a8,_0x26cddb){const _0x4f3813=_0x3a6d;return _0x4ae2a8[_0x4f3813(0xb2)]===_0x26cddb[_0x4f3813(0xb2)]&&_0xa480a6(_0x4ae2a8[_0x4f3813(0xae)],_0x26cddb[_0x4f3813(0xae)]);}export function parsePositionBeforeCompression(_0x4312e4){const _0x32836c=_0x3a6d;P(_0x4312e4,_0x5a9d1f=>(_0x32836c(0xba)==_0x5a9d1f[_0x32836c(0xb2)]?(_0x5a9d1f[_0x32836c(0xaf)]=!0x0,delete _0x5a9d1f[_0x32836c(0xb2)]):_0x32836c(0xb5)==_0x5a9d1f[_0x32836c(0xb2)]&&(_0x5a9d1f[_0x32836c(0xb4)]=!0x0,delete _0x5a9d1f[_0x32836c(0xb2)]),_0x5a9d1f));}export function parsePositionAfterCompression(_0xa9a6cb){const _0x4f45e8=_0x3a6d;P(_0xa9a6cb,_0xee1f79=>(_0xee1f79[_0x4f45e8(0xaf)]?(_0xee1f79[_0x4f45e8(0xb2)]=_0x4f45e8(0xba),delete _0xee1f79[_0x4f45e8(0xaf)]):_0xee1f79[_0x4f45e8(0xb4)]&&(_0xee1f79[_0x4f45e8(0xb2)]=_0x4f45e8(0xb5),delete _0xee1f79[_0x4f45e8(0xb4)]),_0xee1f79));}function _0x3a6d(_0x6fa5f4,_0x3c90af){const _0x72ec72=_0x72ec();return _0x3a6d=function(_0x3a6d8c,_0x485a9b){_0x3a6d8c=_0x3a6d8c-0xaa;let _0x3062fa=_0x72ec72[_0x3a6d8c];return _0x3062fa;},_0x3a6d(_0x6fa5f4,_0x3c90af);}function _0x72ec(){const _0x257068=['66786TwkyAo','rootGraveyard','$graveyard','4qhfIZW','396897ghUtPD','560JnXxdz','2380635GxHwWH','main','nodes','910239havrdm','7802990JKBZsU','8293696pkyTkT','7FLHyOA','length','path','rootMain','11vglXEa','458370XLUUfi','root'];_0x72ec=function(){return _0x257068;};return _0x72ec();}function P(_0x3d776d,_0x5ad882){const _0x1c5cf8=_0x3a6d;for(const _0x325467 in _0x3d776d){const _0x35851f=_0x3d776d[_0x325467];_0x1c5cf8(0xbb)!==_0x325467&&_0x4b8dc7(_0x35851f)&&(_0x35851f[_0x1c5cf8(0xae)]&&(_0x35851f[_0x1c5cf8(0xb2)]||_0x35851f[_0x1c5cf8(0xaf)]||_0x35851f[_0x1c5cf8(0xb4)])?_0x3d776d[_0x325467]=_0x5ad882(_0x35851f):P(_0x35851f,_0x5ad882));}return _0x3d776d;}
|