@ckeditor/ckeditor5-operations-compressor 44.2.0-alpha.6 → 44.2.0-alpha.8
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
|
+
var _0x4f5f26=_0x391a;function _0x391a(_0x37369,_0xc5cc85){var _0xbd9904=_0xbd99();return _0x391a=function(_0x391af5,_0x25348e){_0x391af5=_0x391af5-0xb8;var _0x47d138=_0xbd9904[_0x391af5];return _0x47d138;},_0x391a(_0x37369,_0xc5cc85);}(function(_0x118320,_0x3f9921){var _0x5a7b4f=_0x391a,_0x3d43cd=_0x118320();while(!![]){try{var _0x5d8307=parseInt(_0x5a7b4f(0xbc))/0x1+-parseInt(_0x5a7b4f(0xbd))/0x2+-parseInt(_0x5a7b4f(0xc0))/0x3*(-parseInt(_0x5a7b4f(0xc4))/0x4)+-parseInt(_0x5a7b4f(0xc7))/0x5*(-parseInt(_0x5a7b4f(0xb9))/0x6)+parseInt(_0x5a7b4f(0xc5))/0x7+-parseInt(_0x5a7b4f(0xbb))/0x8+parseInt(_0x5a7b4f(0xba))/0x9;if(_0x5d8307===_0x3f9921)break;else _0x3d43cd['push'](_0x3d43cd['shift']());}catch(_0x1bb1ef){_0x3d43cd['push'](_0x3d43cd['shift']());}}}(_0xbd99,0xaba3d));function _0xbd99(){var _0x50a097=['push','944844MzLgFJ','5464854lFEKYB','10886728UsKPfI','966008WPqpoh','1993466dMvNar','shift','_operationName','99993SCMbJu','types','_id','compress','4XDfOmx','7973826fOsIOL','decompress','10QRdAhN'];_0xbd99=function(){return _0x50a097;};return _0xbd99();}import _0x62b169 from'./operationcompressor.js';export default class p extends _0x62b169{[_0x4f5f26(0xc3)](_0x237f04,_0x16e6a3){var _0x17193a=_0x4f5f26;return _0x16e6a3[_0x17193a(0xbe)](),_0x237f04[_0x17193a(0xc1)][_0x17193a(0xb8)](this[_0x17193a(0xc2)]),!0x0;}[_0x4f5f26(0xc6)](_0x30e163,_0x55fe4a){var _0x573424=_0x4f5f26;_0x55fe4a[_0x573424(0xc1)][_0x573424(0xbe)](),_0x30e163[_0x573424(0xb8)]({'__className':this[_0x573424(0xbf)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a63a9=_0x19ab;function _0x52f9(){const _0x19fd99=['7277652JqlQTH','__className','506KjGuxK','push','_id','4642908pMMKlA','9942bmXruU','shift','1539040ZHQwvY','532340JPPURV','14308173wQLvRQ','10pzyAhR','buffers','_protobufDescriptor','types','49flVubQ','5tfQfiq','1909504hVXocb','_operationName','decompress','compress'];_0x52f9=function(){return _0x19fd99;};return _0x52f9();}(function(_0x332c2c,_0x2510d6){const _0x5490a9=_0x19ab,_0x5cc36c=_0x332c2c();while(!![]){try{const _0xd97bad=-parseInt(_0x5490a9(0x1b5))/0x1+-parseInt(_0x5490a9(0x1ae))/0x2*(-parseInt(_0x5490a9(0x1b2))/0x3)+parseInt(_0x5490a9(0x1a8))/0x4+-parseInt(_0x5490a9(0x1a7))/0x5*(-parseInt(_0x5490a9(0x1b1))/0x6)+-parseInt(_0x5490a9(0x1a6))/0x7*(-parseInt(_0x5490a9(0x1b4))/0x8)+parseInt(_0x5490a9(0x1ac))/0x9*(-parseInt(_0x5490a9(0x1a2))/0xa)+-parseInt(_0x5490a9(0x1a1))/0xb;if(_0xd97bad===_0x2510d6)break;else _0x5cc36c['push'](_0x5cc36c['shift']());}catch(_0x2ba30f){_0x5cc36c['push'](_0x5cc36c['shift']());}}}(_0x52f9,0xc1fd9));function _0x19ab(_0x2506f0,_0x59b697){const _0x52f938=_0x52f9();return _0x19ab=function(_0x19abbd,_0x4511f4){_0x19abbd=_0x19abbd-0x1a1;let _0x385733=_0x52f938[_0x19abbd];return _0x385733;},_0x19ab(_0x2506f0,_0x59b697);}import{parsePositionBeforeCompression as _0x2f0db1,parsePositionAfterCompression as _0x5ef890}from'../utils.js';export default class e{constructor(_0x51d8b8,_0x452d22,_0x6e2792){const _0x4f6e59=_0x19ab;this[_0x4f6e59(0x1b0)]=_0x51d8b8,this[_0x4f6e59(0x1a9)]=_0x452d22,this[_0x4f6e59(0x1a4)]=_0x6e2792;}[_0x1a63a9(0x1ab)](_0x500061,_0xe0a160){const _0xb3d2fd=_0x1a63a9,_0x2366dd=_0xe0a160[_0xb3d2fd(0x1b3)]();return _0x2f0db1(_0x2366dd),_0x500061[_0xb3d2fd(0x1a3)][_0xb3d2fd(0x1af)](this[_0xb3d2fd(0x1a4)][_0xb3d2fd(0x1ab)](_0x2366dd)),_0x500061[_0xb3d2fd(0x1a5)][_0xb3d2fd(0x1af)](this[_0xb3d2fd(0x1b0)]),!0x0;}[_0x1a63a9(0x1aa)](_0x3f6324,_0x12405d){const _0x498201=_0x1a63a9;_0x12405d[_0x498201(0x1a5)][_0x498201(0x1b3)]();const _0x24d048=this[_0x498201(0x1a4)][_0x498201(0x1aa)](_0x12405d[_0x498201(0x1a3)][_0x498201(0x1b3)]());_0x5ef890(_0x24d048),_0x24d048[_0x498201(0x1ad)]=this[_0x498201(0x1a9)],_0x3f6324[_0x498201(0x1af)](_0x24d048);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x41c3(){const _0x3a0034=['394479rDDCKl','49OSyqqf','2267888eOnIeH','toObject','encode','3634384kepZGI','decode','2685180sKoTDM','_protobufRoot','2366376ztIndf','compress','4289484bHvGBt','verify','getDescriptor','_protobuf','create','finish','decompress','4941155kGaOsc'];_0x41c3=function(){return _0x3a0034;};return _0x41c3();}const _0x195ee4=_0x383d;function _0x383d(_0x46b2c1,_0x194a2c){const _0x41c3e5=_0x41c3();return _0x383d=function(_0x383de7,_0x4fd2c7){_0x383de7=_0x383de7-0xf5;let _0x4c9cf2=_0x41c3e5[_0x383de7];return _0x4c9cf2;},_0x383d(_0x46b2c1,_0x194a2c);}(function(_0x3e53be,_0x48b798){const _0x23462b=_0x383d,_0x566bae=_0x3e53be();while(!![]){try{const _0x2eae9b=parseInt(_0x23462b(0x106))/0x1+parseInt(_0x23462b(0xf5))/0x2+-parseInt(_0x23462b(0xfe))/0x3+-parseInt(_0x23462b(0xf8))/0x4+-parseInt(_0x23462b(0x105))/0x5+parseInt(_0x23462b(0xfa))/0x6+-parseInt(_0x23462b(0x107))/0x7*(-parseInt(_0x23462b(0xfc))/0x8);if(_0x2eae9b===_0x48b798)break;else _0x566bae['push'](_0x566bae['shift']());}catch(_0x2c1dbd){_0x566bae['push'](_0x566bae['shift']());}}}(_0x41c3,0xafc05));import{messages as _0x57bfa0}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x1f596f=_0x383d;this[_0x1f596f(0xfb)]=_0x57bfa0;}[_0x195ee4(0x100)](_0x967bd4){const _0x51e2b6=_0x195ee4;return new ProtobufDescriptor(this[_0x51e2b6(0xfb)][_0x967bd4]);}}export class ProtobufDescriptor{constructor(_0x1dd610){const _0x2c7f0d=_0x195ee4;this[_0x2c7f0d(0x101)]=_0x1dd610;}[_0x195ee4(0xfd)](_0x7fc8cb){const _0x5b4f97=_0x195ee4,_0x30c4ce=this[_0x5b4f97(0x101)][_0x5b4f97(0xff)](_0x7fc8cb);if(_0x30c4ce)throw Error(_0x30c4ce);return this[_0x5b4f97(0x101)][_0x5b4f97(0xf7)](this[_0x5b4f97(0x101)][_0x5b4f97(0x102)](_0x7fc8cb))[_0x5b4f97(0x103)]();}[_0x195ee4(0x104)](_0x4f0a74){const _0x53c2d8=_0x195ee4;return this[_0x53c2d8(0x101)][_0x53c2d8(0xf6)](this[_0x53c2d8(0x101)][_0x53c2d8(0xf9)](_0x4f0a74),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x25887c,_0x376dc4){const _0x41145b=_0x2339,_0x51dcf8=_0x25887c();while(!![]){try{const _0x12365a=-parseInt(_0x41145b(0xa3))/0x1+parseInt(_0x41145b(0x9a))/0x2*(-parseInt(_0x41145b(0x9c))/0x3)+parseInt(_0x41145b(0x9b))/0x4+parseInt(_0x41145b(0x9d))/0x5+parseInt(_0x41145b(0x97))/0x6+-parseInt(_0x41145b(0x9f))/0x7+parseInt(_0x41145b(0xa1))/0x8*(parseInt(_0x41145b(0xa2))/0x9);if(_0x12365a===_0x376dc4)break;else _0x51dcf8['push'](_0x51dcf8['shift']());}catch(_0x5f2c20){_0x51dcf8['push'](_0x51dcf8['shift']());}}}(_0x17a2,0x87df7));import{cloneDeep as _0x5d8d5c,isEqual as _0xdd289b,isObject as _0x13c3f1}from'lodash-es';function _0x17a2(){const _0xda09d0=['445048JkCqXT','351tgNLnf','845688tlPDGa','nodes','$graveyard','length','path','1568160kORbTI','root','main','38efnYIb','636712CWzXnZ','163137NcIISJ','446110bOKBGy','rootMain','1707615DKrlnc','rootGraveyard'];_0x17a2=function(){return _0xda09d0;};return _0x17a2();}export function getPositionShiftedBy(_0x4256fc,_0x5c49af){const _0x2ff9d6=_0x2339,_0x540e2=_0x5d8d5c(_0x4256fc);return _0x540e2[_0x2ff9d6(0x96)][_0x540e2[_0x2ff9d6(0x96)][_0x2ff9d6(0x95)]-0x1]+=_0x5c49af,_0x540e2;}export function arePositionsEqual(_0x245d9e,_0x2a01f5){const _0x462b31=_0x2339;return _0x245d9e[_0x462b31(0x98)]===_0x2a01f5[_0x462b31(0x98)]&&_0xdd289b(_0x245d9e[_0x462b31(0x96)],_0x2a01f5[_0x462b31(0x96)]);}function _0x2339(_0x5c340a,_0x2006ce){const _0x17a2b1=_0x17a2();return _0x2339=function(_0x233988,_0x4d1e05){_0x233988=_0x233988-0x93;let _0xc1d852=_0x17a2b1[_0x233988];return _0xc1d852;},_0x2339(_0x5c340a,_0x2006ce);}export function parsePositionBeforeCompression(_0x3a3bfb){const _0x311ce4=_0x2339;P(_0x3a3bfb,_0x47e09a=>(_0x311ce4(0x99)==_0x47e09a[_0x311ce4(0x98)]?(_0x47e09a[_0x311ce4(0x9e)]=!0x0,delete _0x47e09a[_0x311ce4(0x98)]):_0x311ce4(0x94)==_0x47e09a[_0x311ce4(0x98)]&&(_0x47e09a[_0x311ce4(0xa0)]=!0x0,delete _0x47e09a[_0x311ce4(0x98)]),_0x47e09a));}export function parsePositionAfterCompression(_0x229600){const _0x20ae7c=_0x2339;P(_0x229600,_0x18fa35=>(_0x18fa35[_0x20ae7c(0x9e)]?(_0x18fa35[_0x20ae7c(0x98)]=_0x20ae7c(0x99),delete _0x18fa35[_0x20ae7c(0x9e)]):_0x18fa35[_0x20ae7c(0xa0)]&&(_0x18fa35[_0x20ae7c(0x98)]=_0x20ae7c(0x94),delete _0x18fa35[_0x20ae7c(0xa0)]),_0x18fa35));}function P(_0x4c9105,_0x4eecd5){const _0x498a21=_0x2339;for(const _0xea73bd in _0x4c9105){const _0xc54d14=_0x4c9105[_0xea73bd];_0x498a21(0x93)!==_0xea73bd&&_0x13c3f1(_0xc54d14)&&(_0xc54d14[_0x498a21(0x96)]&&(_0xc54d14[_0x498a21(0x98)]||_0xc54d14[_0x498a21(0x9e)]||_0xc54d14[_0x498a21(0xa0)])?_0x4c9105[_0xea73bd]=_0x4eecd5(_0xc54d14):P(_0xc54d14,_0x4eecd5));}return _0x4c9105;}
|