@ckeditor/ckeditor5-operations-compressor 45.2.1-alpha.9 → 45.2.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
|
-
var
|
|
23
|
+
var _0xdf9b4d=_0x5469;(function(_0x80f03c,_0x5849f4){var _0x5ca4c6=_0x5469,_0x40c01e=_0x80f03c();while(!![]){try{var _0x262c6e=parseInt(_0x5ca4c6(0x1ef))/0x1*(parseInt(_0x5ca4c6(0x1f2))/0x2)+-parseInt(_0x5ca4c6(0x1ec))/0x3+parseInt(_0x5ca4c6(0x1f3))/0x4+-parseInt(_0x5ca4c6(0x1f6))/0x5*(parseInt(_0x5ca4c6(0x1f1))/0x6)+-parseInt(_0x5ca4c6(0x1f7))/0x7+-parseInt(_0x5ca4c6(0x1f5))/0x8+parseInt(_0x5ca4c6(0x1ed))/0x9;if(_0x262c6e===_0x5849f4)break;else _0x40c01e['push'](_0x40c01e['shift']());}catch(_0x211a69){_0x40c01e['push'](_0x40c01e['shift']());}}}(_0x590e,0x3cfae));function _0x590e(){var _0x2b5e02=['1341ijNlRC','shift','7770ONgqGi','402xotlIe','628572YLMySS','_operationName','903464nBitDG','895hoNekE','2248344xlWRBP','_id','types','compress','decompress','247698mlZIRf','5144274ZrXGhv','push'];_0x590e=function(){return _0x2b5e02;};return _0x590e();}function _0x5469(_0x4f1526,_0x2afc4c){var _0x590e1d=_0x590e();return _0x5469=function(_0x5469a9,_0x4521a4){_0x5469a9=_0x5469a9-0x1ea;var _0x25320f=_0x590e1d[_0x5469a9];return _0x25320f;},_0x5469(_0x4f1526,_0x2afc4c);}import _0x596e2e from'./operationcompressor.js';export default class p extends _0x596e2e{[_0xdf9b4d(0x1ea)](_0x537da5,_0xceb5d0){var _0x6e1005=_0xdf9b4d;return _0xceb5d0[_0x6e1005(0x1f0)](),_0x537da5[_0x6e1005(0x1f9)][_0x6e1005(0x1ee)](this[_0x6e1005(0x1f8)]),!0x0;}[_0xdf9b4d(0x1eb)](_0x27dc63,_0x101085){var _0x5e552f=_0xdf9b4d;_0x101085[_0x5e552f(0x1f9)][_0x5e552f(0x1f0)](),_0x27dc63[_0x5e552f(0x1ee)]({'__className':this[_0x5e552f(0x1f4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32ade8=_0x2ed6;(function(_0x3dceb7,_0x6cf6b4){const _0x4843c0=_0x2ed6,_0x48b3c8=_0x3dceb7();while(!![]){try{const _0x5d01ac=-parseInt(_0x4843c0(0xea))/0x1+-parseInt(_0x4843c0(0xe3))/0x2+parseInt(_0x4843c0(0xe2))/0x3*(parseInt(_0x4843c0(0xf1))/0x4)+parseInt(_0x4843c0(0xe1))/0x5+parseInt(_0x4843c0(0xf2))/0x6+-parseInt(_0x4843c0(0xe7))/0x7+parseInt(_0x4843c0(0xee))/0x8;if(_0x5d01ac===_0x6cf6b4)break;else _0x48b3c8['push'](_0x48b3c8['shift']());}catch(_0x57a974){_0x48b3c8['push'](_0x48b3c8['shift']());}}}(_0x20b1,0xddc0f));function _0x2ed6(_0x3be6bd,_0x46ca5f){const _0x20b1a1=_0x20b1();return _0x2ed6=function(_0x2ed610,_0x2648cf){_0x2ed610=_0x2ed610-0xe1;let _0x50ffde=_0x20b1a1[_0x2ed610];return _0x50ffde;},_0x2ed6(_0x3be6bd,_0x46ca5f);}import{parsePositionBeforeCompression as _0x3179b0,parsePositionAfterCompression as _0x4f9ba4}from'../utils.js';export default class e{[_0x32ade8(0xeb)];[_0x32ade8(0xe4)];[_0x32ade8(0xe8)];constructor(_0x5c9f24,_0x321972,_0x65dece){const _0x5cb880=_0x32ade8;this[_0x5cb880(0xeb)]=_0x5c9f24,this[_0x5cb880(0xe4)]=_0x321972,this[_0x5cb880(0xe8)]=_0x65dece;}[_0x32ade8(0xef)](_0x1fe68f,_0x26c4a6){const _0x388281=_0x32ade8,_0x381184=_0x26c4a6[_0x388281(0xf0)]();return _0x3179b0(_0x381184),_0x1fe68f[_0x388281(0xed)][_0x388281(0xe6)](this[_0x388281(0xe8)][_0x388281(0xef)](_0x381184)),_0x1fe68f[_0x388281(0xe9)][_0x388281(0xe6)](this[_0x388281(0xeb)]),!0x0;}[_0x32ade8(0xec)](_0x51c044,_0x219d42){const _0x3c8fdb=_0x32ade8;_0x219d42[_0x3c8fdb(0xe9)][_0x3c8fdb(0xf0)]();const _0x4492e6=this[_0x3c8fdb(0xe8)][_0x3c8fdb(0xec)](_0x219d42[_0x3c8fdb(0xed)][_0x3c8fdb(0xf0)]());_0x4f9ba4(_0x4492e6),_0x4492e6[_0x3c8fdb(0xe5)]=this[_0x3c8fdb(0xe4)],_0x51c044[_0x3c8fdb(0xe6)](_0x4492e6);}}function _0x20b1(){const _0x224f8c=['8568768ARoohF','compress','shift','10852vMCqcd','6236820iUZyWQ','3492680sCucjk','453NtExZv','316024mFOGKt','_operationName','__className','push','2387910CqoqKI','_protobufDescriptor','types','1811320vwaWFt','_id','decompress','buffers'];_0x20b1=function(){return _0x224f8c;};return _0x20b1();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x558610=_0x2ed7;function _0x2ed7(_0x3da988,_0x28593f){const _0xf67ff0=_0xf67f();return _0x2ed7=function(_0x2ed7d0,_0x458ffb){_0x2ed7d0=_0x2ed7d0-0x1a4;let _0x4f3a3c=_0xf67ff0[_0x2ed7d0];return _0x4f3a3c;},_0x2ed7(_0x3da988,_0x28593f);}(function(_0x324e79,_0x14dacb){const _0x3166b4=_0x2ed7,_0x11784e=_0x324e79();while(!![]){try{const _0x5cbaeb=-parseInt(_0x3166b4(0x1a8))/0x1+parseInt(_0x3166b4(0x1b1))/0x2*(-parseInt(_0x3166b4(0x1ba))/0x3)+parseInt(_0x3166b4(0x1a5))/0x4+-parseInt(_0x3166b4(0x1b5))/0x5*(-parseInt(_0x3166b4(0x1b6))/0x6)+-parseInt(_0x3166b4(0x1a7))/0x7*(parseInt(_0x3166b4(0x1a6))/0x8)+parseInt(_0x3166b4(0x1b2))/0x9*(parseInt(_0x3166b4(0x1aa))/0xa)+-parseInt(_0x3166b4(0x1a9))/0xb*(-parseInt(_0x3166b4(0x1b7))/0xc);if(_0x5cbaeb===_0x14dacb)break;else _0x11784e['push'](_0x11784e['shift']());}catch(_0x5672d9){_0x11784e['push'](_0x11784e['shift']());}}}(_0xf67f,0xda13a));import{messages as _0x34a8d1}from'./lib/compiledmessages.js';export default class r{[_0x558610(0x1a4)];constructor(){const _0x41f301=_0x558610;this[_0x41f301(0x1a4)]=_0x34a8d1;}[_0x558610(0x1ae)](_0x26a86a){const _0x3287fe=_0x558610;return new ProtobufDescriptor(this[_0x3287fe(0x1a4)][_0x26a86a]);}}export class ProtobufDescriptor{[_0x558610(0x1ad)];constructor(_0x5f28ff){const _0x173fa9=_0x558610;this[_0x173fa9(0x1ad)]=_0x5f28ff;}[_0x558610(0x1ac)](_0x38fa49){const _0x31839e=_0x558610,_0x2db2a1=this[_0x31839e(0x1ad)][_0x31839e(0x1ab)](_0x38fa49);if(_0x2db2a1)throw Error(_0x2db2a1);return this[_0x31839e(0x1ad)][_0x31839e(0x1b0)](this[_0x31839e(0x1ad)][_0x31839e(0x1b9)](_0x38fa49))[_0x31839e(0x1b8)]();}[_0x558610(0x1af)](_0x5ea061){const _0x42049b=_0x558610;return this[_0x42049b(0x1ad)][_0x42049b(0x1b3)](this[_0x42049b(0x1ad)][_0x42049b(0x1b4)](_0x5ea061),{'oneofs':!0x0});}}function _0xf67f(){const _0x3a6d29=['_protobufRoot','5119048oCFNok','2680MXZecj','24108IfEprx','766994OaGIQl','4860438qTgBBN','290wOsLBn','verify','compress','_protobuf','getDescriptor','decompress','encode','12OqEiRr','68049eIUcpA','toObject','decode','345bTgAav','78606dfQCGU','36CXgIRq','finish','create','457299cJhAqu'];_0xf67f=function(){return _0x3a6d29;};return _0xf67f();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x48fbc3,_0x1911d2){const _0x5b0d50=_0x4d2b,_0x49db38=_0x48fbc3();while(!![]){try{const _0x5cdb62=-parseInt(_0x5b0d50(0x171))/0x1*(parseInt(_0x5b0d50(0x177))/0x2)+-parseInt(_0x5b0d50(0x17b))/0x3+parseInt(_0x5b0d50(0x170))/0x4+parseInt(_0x5b0d50(0x16f))/0x5*(-parseInt(_0x5b0d50(0x172))/0x6)+-parseInt(_0x5b0d50(0x16c))/0x7*(-parseInt(_0x5b0d50(0x17e))/0x8)+-parseInt(_0x5b0d50(0x173))/0x9*(-parseInt(_0x5b0d50(0x17a))/0xa)+parseInt(_0x5b0d50(0x175))/0xb;if(_0x5cdb62===_0x1911d2)break;else _0x49db38['push'](_0x49db38['shift']());}catch(_0x4b30f1){_0x49db38['push'](_0x49db38['shift']());}}}(_0x5d32,0x4b935));function _0x4d2b(_0x50929a,_0x3dd846){const _0x5d3227=_0x5d32();return _0x4d2b=function(_0x4d2bea,_0x5c76c3){_0x4d2bea=_0x4d2bea-0x16c;let _0x173b1f=_0x5d3227[_0x4d2bea];return _0x173b1f;},_0x4d2b(_0x50929a,_0x3dd846);}import{cloneDeep as _0x1a9126,isEqual as _0x3a0981,isObject as _0x3e2074}from'es-toolkit/compat';export function getPositionShiftedBy(_0x306de4,_0x46baf3){const _0x53199f=_0x4d2b,_0x4d1985=_0x1a9126(_0x306de4);return _0x4d1985[_0x53199f(0x179)][_0x4d1985[_0x53199f(0x179)][_0x53199f(0x176)]-0x1]+=_0x46baf3,_0x4d1985;}export function arePositionsEqual(_0x253647,_0x8e2f4c){const _0x24da72=_0x4d2b;return _0x253647[_0x24da72(0x17d)]===_0x8e2f4c[_0x24da72(0x17d)]&&_0x3a0981(_0x253647[_0x24da72(0x179)],_0x8e2f4c[_0x24da72(0x179)]);}function _0x5d32(){const _0x353895=['757755ZAiVth','rootGraveyard','root','8WmlnsE','200151GKnwUp','nodes','main','86700TLPGyd','1224572AGqwYT','9413DLcMFV','78BUwpCR','9sancpL','$graveyard','12287FMeEBD','length','10MmREkg','rootMain','path','4987740fqSzBM'];_0x5d32=function(){return _0x353895;};return _0x5d32();}export function parsePositionBeforeCompression(_0x199f54){const _0x5d37b6=_0x4d2b;P(_0x199f54,_0x57428d=>(_0x5d37b6(0x16e)==_0x57428d[_0x5d37b6(0x17d)]?(_0x57428d[_0x5d37b6(0x178)]=!0x0,delete _0x57428d[_0x5d37b6(0x17d)]):_0x5d37b6(0x174)==_0x57428d[_0x5d37b6(0x17d)]&&(_0x57428d[_0x5d37b6(0x17c)]=!0x0,delete _0x57428d[_0x5d37b6(0x17d)]),_0x57428d));}export function parsePositionAfterCompression(_0x987f3b){const _0x16c3e8=_0x4d2b;P(_0x987f3b,_0x4f4ac7=>(_0x4f4ac7[_0x16c3e8(0x178)]?(_0x4f4ac7[_0x16c3e8(0x17d)]=_0x16c3e8(0x16e),delete _0x4f4ac7[_0x16c3e8(0x178)]):_0x4f4ac7[_0x16c3e8(0x17c)]&&(_0x4f4ac7[_0x16c3e8(0x17d)]=_0x16c3e8(0x174),delete _0x4f4ac7[_0x16c3e8(0x17c)]),_0x4f4ac7));}function P(_0x3bf0e6,_0x39dea7){const _0x33e094=_0x4d2b;for(const _0x56ddab in _0x3bf0e6){const _0x35642b=_0x3bf0e6[_0x56ddab];_0x33e094(0x16d)!==_0x56ddab&&_0x3e2074(_0x35642b)&&(_0x35642b[_0x33e094(0x179)]&&(_0x35642b[_0x33e094(0x17d)]||_0x35642b[_0x33e094(0x178)]||_0x35642b[_0x33e094(0x17c)])?_0x3bf0e6[_0x56ddab]=_0x39dea7(_0x35642b):P(_0x35642b,_0x39dea7));}return _0x3bf0e6;}
|