@ckeditor/ckeditor5-operations-compressor 46.1.0 → 46.1.1-alpha.1
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 _0x15d8bf=_0xd473;function _0x153d(){var _0x47f0b7=['7685ykPtho','decompress','types','_operationName','1621532FEJXga','_id','243AtWFMT','492OzLHZQ','shift','15504AHDgpE','180793KFxtXI','3950580OcKdTp','3032274BZsqIE','push','1717464Gpczgs','compress'];_0x153d=function(){return _0x47f0b7;};return _0x153d();}(function(_0x1acc88,_0x1870b1){var _0x32a55f=_0xd473,_0x1708c4=_0x1acc88();while(!![]){try{var _0x3776f3=-parseInt(_0x32a55f(0xf6))/0x1+parseInt(_0x32a55f(0xf0))/0x2+parseInt(_0x32a55f(0xfa))/0x3+-parseInt(_0x32a55f(0xf3))/0x4*(parseInt(_0x32a55f(0xfc))/0x5)+-parseInt(_0x32a55f(0xf7))/0x6+parseInt(_0x32a55f(0xf8))/0x7+parseInt(_0x32a55f(0xf5))/0x8*(-parseInt(_0x32a55f(0xf2))/0x9);if(_0x3776f3===_0x1870b1)break;else _0x1708c4['push'](_0x1708c4['shift']());}catch(_0x2cf270){_0x1708c4['push'](_0x1708c4['shift']());}}}(_0x153d,0xb3a5c));function _0xd473(_0x5da9ef,_0x254202){var _0x153d95=_0x153d();return _0xd473=function(_0xd473c3,_0x208019){_0xd473c3=_0xd473c3-0xee;var _0x2f3ddb=_0x153d95[_0xd473c3];return _0x2f3ddb;},_0xd473(_0x5da9ef,_0x254202);}import{OperationCompressor as _0x488a01}from'./operationcompressor.js';export class NoOperationCompressor extends _0x488a01{[_0x15d8bf(0xfb)](_0x140d52,_0x5de0a9){var _0x4cb5b7=_0x15d8bf;return _0x5de0a9[_0x4cb5b7(0xf4)](),_0x140d52[_0x4cb5b7(0xee)][_0x4cb5b7(0xf9)](this[_0x4cb5b7(0xf1)]),!0x0;}[_0x15d8bf(0xfd)](_0xac887a,_0x3bc95d){var _0x3907c3=_0x15d8bf;_0x3bc95d[_0x3907c3(0xee)][_0x3907c3(0xf4)](),_0xac887a[_0x3907c3(0xf9)]({'__className':this[_0x3907c3(0xef)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x414a16=_0xc00e;(function(_0x105dd0,_0xd1b6f1){const _0x233f34=_0xc00e,_0x166f16=_0x105dd0();while(!![]){try{const _0x57af85=-parseInt(_0x233f34(0xab))/0x1+-parseInt(_0x233f34(0xb7))/0x2*(-parseInt(_0x233f34(0xb9))/0x3)+parseInt(_0x233f34(0xba))/0x4*(parseInt(_0x233f34(0xbc))/0x5)+parseInt(_0x233f34(0xaf))/0x6*(-parseInt(_0x233f34(0xb4))/0x7)+parseInt(_0x233f34(0xb2))/0x8+parseInt(_0x233f34(0xa9))/0x9+parseInt(_0x233f34(0xb3))/0xa*(-parseInt(_0x233f34(0xaa))/0xb);if(_0x57af85===_0xd1b6f1)break;else _0x166f16['push'](_0x166f16['shift']());}catch(_0x421cf3){_0x166f16['push'](_0x166f16['shift']());}}}(_0x5d4d,0x1d2fe));import{parsePositionBeforeCompression as _0x2a3f75,parsePositionAfterCompression as _0x3c747a}from'../utils.js';function _0xc00e(_0x4cf62d,_0x3863e1){const _0x5d4d95=_0x5d4d();return _0xc00e=function(_0xc00eed,_0x36d9a5){_0xc00eed=_0xc00eed-0xa8;let _0x45e776=_0x5d4d95[_0xc00eed];return _0x45e776;},_0xc00e(_0x4cf62d,_0x3863e1);}function _0x5d4d(){const _0x5bbcc7=['41632iomDmH','shift','45hGhNcK','buffers','1742076wGhiON','1494922hCezLq','75513xNNcKU','_id','push','decompress','908862ciWqLL','types','_operationName','371520MzyVMI','10EkjbGb','7ORNNET','compress','__className','2ueUTiX','_protobufDescriptor','446298yfEQno'];_0x5d4d=function(){return _0x5bbcc7;};return _0x5d4d();}export class OperationCompressor{[_0x414a16(0xac)];[_0x414a16(0xb1)];[_0x414a16(0xb8)];constructor(_0x4c27da,_0x4acc65,_0x1879f9){const _0x21b676=_0x414a16;this[_0x21b676(0xac)]=_0x4c27da,this[_0x21b676(0xb1)]=_0x4acc65,this[_0x21b676(0xb8)]=_0x1879f9;}[_0x414a16(0xb5)](_0x155763,_0x201120){const _0x2024fa=_0x414a16,_0x274db7=_0x201120[_0x2024fa(0xbb)]();return _0x2a3f75(_0x274db7),_0x155763[_0x2024fa(0xa8)][_0x2024fa(0xad)](this[_0x2024fa(0xb8)][_0x2024fa(0xb5)](_0x274db7)),_0x155763[_0x2024fa(0xb0)][_0x2024fa(0xad)](this[_0x2024fa(0xac)]),!0x0;}[_0x414a16(0xae)](_0x28e7e3,_0x3c5c15){const _0x143168=_0x414a16;_0x3c5c15[_0x143168(0xb0)][_0x143168(0xbb)]();const _0x3212ce=this[_0x143168(0xb8)][_0x143168(0xae)](_0x3c5c15[_0x143168(0xa8)][_0x143168(0xbb)]());_0x3c747a(_0x3212ce),_0x3212ce[_0x143168(0xb6)]=this[_0x143168(0xb1)],_0x28e7e3[_0x143168(0xad)](_0x3212ce);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x429912=_0x2bc0;(function(_0x2104a6,_0x2df9d3){const _0x1150e0=_0x2bc0,_0x3c6ed7=_0x2104a6();while(!![]){try{const _0x10b0d3=parseInt(_0x1150e0(0xaa))/0x1*(-parseInt(_0x1150e0(0xab))/0x2)+-parseInt(_0x1150e0(0xa9))/0x3*(-parseInt(_0x1150e0(0xaf))/0x4)+-parseInt(_0x1150e0(0xa0))/0x5+parseInt(_0x1150e0(0x9c))/0x6*(-parseInt(_0x1150e0(0xae))/0x7)+-parseInt(_0x1150e0(0x9f))/0x8*(-parseInt(_0x1150e0(0xa4))/0x9)+-parseInt(_0x1150e0(0xa6))/0xa+parseInt(_0x1150e0(0xa1))/0xb;if(_0x10b0d3===_0x2df9d3)break;else _0x3c6ed7['push'](_0x3c6ed7['shift']());}catch(_0x1b7127){_0x3c6ed7['push'](_0x3c6ed7['shift']());}}}(_0x3e63,0xadc81));function _0x3e63(){const _0x540d88=['6083109eiBisj','verify','8746970RNTRJN','decompress','compress','28998oqNlVN','1QEaxEu','1514542UkjILQ','getDescriptor','_protobuf','7QmCWPo','220ZUQpFo','_protobufRoot','decode','3458682vpKHJm','finish','encode','8JIwzqw','4086745oJIlrh','27830462BiTXCo','toObject','create'];_0x3e63=function(){return _0x540d88;};return _0x3e63();}import{messages as _0x5406f5}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x429912(0xb0)];constructor(){const _0x421028=_0x429912;this[_0x421028(0xb0)]=_0x5406f5;}[_0x429912(0xac)](_0x2f377e){const _0x1b5f7d=_0x429912;return new ProtobufDescriptor(this[_0x1b5f7d(0xb0)][_0x2f377e]);}}function _0x2bc0(_0x56ab66,_0x229ccb){const _0x3e63c2=_0x3e63();return _0x2bc0=function(_0x5ad674,_0x308c6b){_0x5ad674=_0x5ad674-0x9c;let _0x286f53=_0x3e63c2[_0x5ad674];return _0x286f53;},_0x2bc0(_0x56ab66,_0x229ccb);}export class ProtobufDescriptor{[_0x429912(0xad)];constructor(_0x30664d){const _0x2c578f=_0x429912;this[_0x2c578f(0xad)]=_0x30664d;}[_0x429912(0xa8)](_0x1438cb){const _0x1de195=_0x429912,_0x346f58=this[_0x1de195(0xad)][_0x1de195(0xa5)](_0x1438cb);if(_0x346f58)throw Error(_0x346f58);return this[_0x1de195(0xad)][_0x1de195(0x9e)](this[_0x1de195(0xad)][_0x1de195(0xa3)](_0x1438cb))[_0x1de195(0x9d)]();}[_0x429912(0xa7)](_0x7817e9){const _0x4115fa=_0x429912;return this[_0x4115fa(0xad)][_0x4115fa(0xa2)](this[_0x4115fa(0xad)][_0x4115fa(0xb1)](_0x7817e9),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1c03db,_0x45ba9f){const _0x402cb5=_0x404b,_0x2e548c=_0x1c03db();while(!![]){try{const _0x268211=-parseInt(_0x402cb5(0x19b))/0x1+parseInt(_0x402cb5(0x1a0))/0x2*(-parseInt(_0x402cb5(0x199))/0x3)+parseInt(_0x402cb5(0x195))/0x4+parseInt(_0x402cb5(0x19a))/0x5+-parseInt(_0x402cb5(0x196))/0x6+-parseInt(_0x402cb5(0x1a4))/0x7+parseInt(_0x402cb5(0x19d))/0x8*(parseInt(_0x402cb5(0x19f))/0x9);if(_0x268211===_0x45ba9f)break;else _0x2e548c['push'](_0x2e548c['shift']());}catch(_0x143319){_0x2e548c['push'](_0x2e548c['shift']());}}}(_0xb8e0,0x5a280));import{cloneDeep as _0x3bf03e,isEqual as _0x10fdb6,isObject as _0x38e649}from'es-toolkit/compat';export function getPositionShiftedBy(_0x301d6b,_0x46ecf4){const _0x1795c8=_0x404b,_0x2e8cf8=_0x3bf03e(_0x301d6b);return _0x2e8cf8[_0x1795c8(0x1a1)][_0x2e8cf8[_0x1795c8(0x1a1)][_0x1795c8(0x1a2)]-0x1]+=_0x46ecf4,_0x2e8cf8;}export function arePositionsEqual(_0x1dceb8,_0x29c2f5){const _0x230ab2=_0x404b;return _0x1dceb8[_0x230ab2(0x198)]===_0x29c2f5[_0x230ab2(0x198)]&&_0x10fdb6(_0x1dceb8[_0x230ab2(0x1a1)],_0x29c2f5[_0x230ab2(0x1a1)]);}function _0x404b(_0x22ce97,_0x3eec74){const _0xb8e060=_0xb8e0();return _0x404b=function(_0x404b3b,_0x1b2b75){_0x404b3b=_0x404b3b-0x194;let _0x128fc8=_0xb8e060[_0x404b3b];return _0x128fc8;},_0x404b(_0x22ce97,_0x3eec74);}function _0xb8e0(){const _0x586451=['nodes','143328kHZsQl','2824506BbeFwx','rootGraveyard','root','12EyOVHt','2222025KuKhRt','422358hOkPWA','rootMain','2321608tGSCFD','$graveyard','63EUgyWp','279138mLGxuZ','path','length','main','4836853zZIcLj'];_0xb8e0=function(){return _0x586451;};return _0xb8e0();}export function parsePositionBeforeCompression(_0x34273d){const _0x5b0040=_0x404b;P(_0x34273d,_0x524cbc=>(_0x5b0040(0x1a3)==_0x524cbc[_0x5b0040(0x198)]?(_0x524cbc[_0x5b0040(0x19c)]=!0x0,delete _0x524cbc[_0x5b0040(0x198)]):_0x5b0040(0x19e)==_0x524cbc[_0x5b0040(0x198)]&&(_0x524cbc[_0x5b0040(0x197)]=!0x0,delete _0x524cbc[_0x5b0040(0x198)]),_0x524cbc));}export function parsePositionAfterCompression(_0x365c7c){const _0x3de487=_0x404b;P(_0x365c7c,_0x58254d=>(_0x58254d[_0x3de487(0x19c)]?(_0x58254d[_0x3de487(0x198)]=_0x3de487(0x1a3),delete _0x58254d[_0x3de487(0x19c)]):_0x58254d[_0x3de487(0x197)]&&(_0x58254d[_0x3de487(0x198)]=_0x3de487(0x19e),delete _0x58254d[_0x3de487(0x197)]),_0x58254d));}function P(_0x1e61e2,_0x3dd2f3){const _0x29c793=_0x404b;for(const _0x3dacf9 in _0x1e61e2){const _0x286c8a=_0x1e61e2[_0x3dacf9];_0x29c793(0x194)!==_0x3dacf9&&_0x38e649(_0x286c8a)&&(_0x286c8a[_0x29c793(0x1a1)]&&(_0x286c8a[_0x29c793(0x198)]||_0x286c8a[_0x29c793(0x19c)]||_0x286c8a[_0x29c793(0x197)])?_0x1e61e2[_0x3dacf9]=_0x3dd2f3(_0x286c8a):P(_0x286c8a,_0x3dd2f3));}return _0x1e61e2;}
|