@ckeditor/ckeditor5-operations-compressor 47.1.0 → 47.2.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
|
-
const
|
|
23
|
+
function _0x1c1b(){const _0x3040fa=['_decompressSingleOperation','_combineNext','buffers','2211750uuItbt','targetPosition','11OIZfdk','131756DojMcw','root','__className','4029930PqvDcC','sourcePosition','wasUndone','3457032fQgXeF','16808028IZiPJA','howMany','_compressSingleOperation','_checkOperation','19748SBMfbm','MoveOperation','_compareOperations','_getCompressorByName','123vNVlpG','4ojWykX','compress','_context','_splitCurrent','322bjWMCd','$graveyard','decompress','34086prxcul','9QmfjKc'];_0x1c1b=function(){return _0x3040fa;};return _0x1c1b();}const _0x22ce33=_0x231d;(function(_0x245be8,_0x2837c0){const _0xc00688=_0x231d,_0x25a1fd=_0x245be8();while(!![]){try{const _0x28efd9=-parseInt(_0xc00688(0xa4))/0x1*(parseInt(_0xc00688(0x94))/0x2)+-parseInt(_0xc00688(0xa3))/0x3*(parseInt(_0xc00688(0x9f))/0x4)+-parseInt(_0xc00688(0x91))/0x5+-parseInt(_0xc00688(0x8c))/0x6*(parseInt(_0xc00688(0xa8))/0x7)+parseInt(_0xc00688(0x9a))/0x8+parseInt(_0xc00688(0x8d))/0x9*(-parseInt(_0xc00688(0x97))/0xa)+parseInt(_0xc00688(0x93))/0xb*(parseInt(_0xc00688(0x9b))/0xc);if(_0x28efd9===_0x2837c0)break;else _0x25a1fd['push'](_0x25a1fd['shift']());}catch(_0x3f89b5){_0x25a1fd['push'](_0x25a1fd['shift']());}}}(_0x1c1b,0x3f868));import{ActionCompressor as _0x4cee7e}from'./actioncompressor.js';import{arePositionsEqual as _0x58fdc4,getPositionShiftedBy as _0x3efad2}from'../utils.js';import{cloneDeep as _0x94bc1c}from'es-toolkit/compat';function _0x231d(_0x29008a,_0x102753){const _0x1c1b6a=_0x1c1b();return _0x231d=function(_0x231d1d,_0x12b26e){_0x231d1d=_0x231d1d-0x8b;let _0x2790f0=_0x1c1b6a[_0x231d1d];return _0x2790f0;},_0x231d(_0x29008a,_0x102753);}export class DeletingActionCompressor extends _0x4cee7e{[_0x22ce33(0x8f)](_0x83ee4,_0x59a555){const _0x1ea5fa=_0x22ce33;return _0x59a555[_0x1ea5fa(0x9c)]++,_0x59a555[_0x1ea5fa(0x98)]=_0x94bc1c(_0x83ee4[_0x1ea5fa(0x98)]),_0x59a555;}[_0x22ce33(0xa7)](_0x3b4078){const _0x4cb088=_0x22ce33,_0x960287=_0x94bc1c(_0x3b4078);return _0x3b4078[_0x4cb088(0x9c)]--,_0x960287[_0x4cb088(0x9c)]=0x1,_0x960287[_0x4cb088(0x98)]=_0x3efad2(_0x960287[_0x4cb088(0x98)],_0x3b4078[_0x4cb088(0x9c)]),_0x960287;}[_0x22ce33(0xa1)](_0x5c192b,_0x218453){const _0x27a875=_0x22ce33;return!(!this[_0x27a875(0x9e)](_0x5c192b)||!this[_0x27a875(0x9e)](_0x218453))&&(_0x58fdc4(_0x3efad2(_0x5c192b[_0x27a875(0x98)],-0x1),_0x218453[_0x27a875(0x98)])&&_0x58fdc4(_0x5c192b[_0x27a875(0x92)],_0x218453[_0x27a875(0x92)]));}[_0x22ce33(0x9d)](_0x2284bd){const _0x23beb3=_0x22ce33,_0x333be9={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x23beb3(0xa6)][_0x23beb3(0xa2)](_0x23beb3(0xa0))[_0x23beb3(0xa5)](_0x333be9,[_0x2284bd]),_0x333be9[_0x23beb3(0x90)][0x0];}[_0x22ce33(0x8e)](_0x1f34ee){const _0x1f5816=_0x22ce33,_0x7f8bd2=[];return this[_0x1f5816(0xa6)][_0x1f5816(0xa2)](_0x1f5816(0xa0))[_0x1f5816(0x8b)](_0x7f8bd2,_0x1f34ee),_0x7f8bd2[0x0];}[_0x22ce33(0x9e)](_0x510957){const _0x55e515=_0x22ce33;return _0x55e515(0xa0)==_0x510957[_0x55e515(0x96)]&&_0x55e515(0xa9)==_0x510957[_0x55e515(0x92)][_0x55e515(0x95)]&&0x1==_0x510957[_0x55e515(0x9c)]&&!_0x510957[_0x55e515(0x99)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4408(){const _0x28eb73=['_checkOperation','_compareOperations','1810251ujhNVr','18535sNZkKH','$graveyard','__className','compress','_context','_combineNext','root','MoveOperation','buffers','129532nRmmXk','156ofWNdh','_splitCurrent','15iWcdDt','5UQNbpL','_getCompressorByName','2152832WkpTdF','wasUndone','decompress','sourcePosition','targetPosition','_decompressSingleOperation','68408WMvApz','2243318fwJSRJ','howMany','6130qnrGQf','_compressSingleOperation','53195LYEBns'];_0x4408=function(){return _0x28eb73;};return _0x4408();}const _0x3727ed=_0x58cd;function _0x58cd(_0x58af00,_0x4f228f){const _0x440827=_0x4408();return _0x58cd=function(_0x58cd02,_0x4b343f){_0x58cd02=_0x58cd02-0x125;let _0x2cf1da=_0x440827[_0x58cd02];return _0x2cf1da;},_0x58cd(_0x58af00,_0x4f228f);}(function(_0x5799fd,_0x3b4d46){const _0x4ba60a=_0x58cd,_0x81dce7=_0x5799fd();while(!![]){try{const _0x438eb1=-parseInt(_0x4ba60a(0x140))/0x1*(parseInt(_0x4ba60a(0x13c))/0x2)+-parseInt(_0x4ba60a(0x13f))/0x3*(parseInt(_0x4ba60a(0x12a))/0x4)+parseInt(_0x4ba60a(0x12f))/0x5*(-parseInt(_0x4ba60a(0x13d))/0x6)+parseInt(_0x4ba60a(0x12b))/0x7+-parseInt(_0x4ba60a(0x142))/0x8+-parseInt(_0x4ba60a(0x132))/0x9+-parseInt(_0x4ba60a(0x12d))/0xa*(-parseInt(_0x4ba60a(0x133))/0xb);if(_0x438eb1===_0x3b4d46)break;else _0x81dce7['push'](_0x81dce7['shift']());}catch(_0x211747){_0x81dce7['push'](_0x81dce7['shift']());}}}(_0x4408,0x3023e));import{ActionCompressor as _0x4c5c9b}from'./actioncompressor.js';import{arePositionsEqual as _0x5699e1}from'../utils.js';import{cloneDeep as _0x4a5315}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x4c5c9b{[_0x3727ed(0x138)](_0x4bdc33,_0x522859){const _0x34ddd4=_0x3727ed;return _0x522859[_0x34ddd4(0x12c)]++,_0x522859;}[_0x3727ed(0x13e)](_0x3f74e3){const _0x55815e=_0x3727ed,_0x18593a=_0x4a5315(_0x3f74e3);return _0x18593a[_0x55815e(0x12c)]=0x1,_0x3f74e3[_0x55815e(0x12c)]--,_0x18593a;}[_0x3727ed(0x131)](_0x171847,_0x3da5c9){const _0x2307e3=_0x3727ed;return!(!this[_0x2307e3(0x130)](_0x171847)||!this[_0x2307e3(0x130)](_0x3da5c9))&&(_0x5699e1(_0x171847[_0x2307e3(0x127)],_0x3da5c9[_0x2307e3(0x127)])&&_0x5699e1(_0x171847[_0x2307e3(0x128)],_0x3da5c9[_0x2307e3(0x128)]));}[_0x3727ed(0x12e)](_0x2b1e92){const _0x2ea39c=_0x3727ed,_0x217f6f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2ea39c(0x137)][_0x2ea39c(0x141)](_0x2ea39c(0x13a))[_0x2ea39c(0x136)](_0x217f6f,[_0x2b1e92]),_0x217f6f[_0x2ea39c(0x13b)][0x0];}[_0x3727ed(0x129)](_0xed2b81){const _0x5e7fc8=_0x3727ed,_0x2d0676=[];return this[_0x5e7fc8(0x137)][_0x5e7fc8(0x141)](_0x5e7fc8(0x13a))[_0x5e7fc8(0x126)](_0x2d0676,_0xed2b81),_0x2d0676[0x0];}[_0x3727ed(0x130)](_0x3bd764){const _0x48b5d7=_0x3727ed;return _0x48b5d7(0x13a)==_0x3bd764[_0x48b5d7(0x135)]&&_0x48b5d7(0x134)==_0x3bd764[_0x48b5d7(0x128)][_0x48b5d7(0x139)]&&0x1==_0x3bd764[_0x48b5d7(0x12c)]&&!_0x3bd764[_0x48b5d7(0x125)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4835(_0x113504,_0x3a8296){const _0x17c686=_0x17c6();return _0x4835=function(_0x4835a1,_0x3325af){_0x4835a1=_0x4835a1-0xad;let _0x2cdc75=_0x17c686[_0x4835a1];return _0x2cdc75;},_0x4835(_0x113504,_0x3a8296);}const _0x4dc2b1=_0x4835;(function(_0x4012a3,_0x38b7a2){const _0x296d56=_0x4835,_0x1ed8ae=_0x4012a3();while(!![]){try{const _0x164803=-parseInt(_0x296d56(0xb3))/0x1+-parseInt(_0x296d56(0xc0))/0x2+parseInt(_0x296d56(0xb9))/0x3*(parseInt(_0x296d56(0xbc))/0x4)+-parseInt(_0x296d56(0xca))/0x5*(parseInt(_0x296d56(0xc9))/0x6)+-parseInt(_0x296d56(0xbd))/0x7+-parseInt(_0x296d56(0xb7))/0x8*(parseInt(_0x296d56(0xc2))/0x9)+parseInt(_0x296d56(0xcd))/0xa;if(_0x164803===_0x38b7a2)break;else _0x1ed8ae['push'](_0x1ed8ae['shift']());}catch(_0x57d75d){_0x1ed8ae['push'](_0x1ed8ae['shift']());}}}(_0x17c6,0xa99a4));import{ActionCompressor as _0x4a4a15}from'./actioncompressor.js';import{arePositionsEqual as _0x44e655,getPositionShiftedBy as _0x2adcdd}from'../utils.js';import{cloneDeep as _0x24b3f4}from'es-toolkit/compat';export class TypingActionCompressor extends _0x4a4a15{[_0x4dc2b1(0xae)](_0x3b69d7,_0x18859b){const _0x9e8c93=_0x4dc2b1;return _0x18859b[_0x9e8c93(0xb2)][0x0][_0x9e8c93(0xcc)]+=_0x3b69d7[_0x9e8c93(0xb2)][0x0][_0x9e8c93(0xcc)],_0x18859b;}[_0x4dc2b1(0xcb)](_0x4f845c){const _0x264e32=_0x4dc2b1,_0x419e0e=_0x24b3f4(_0x4f845c),_0x5e6d11=_0x419e0e[_0x264e32(0xb2)][0x0],_0xec6d2f=_0x4f845c[_0x264e32(0xb2)][0x0],_0x3a3a59=_0xec6d2f[_0x264e32(0xcc)][Symbol[_0x264e32(0xb8)]]()[_0x264e32(0xb5)]()[_0x264e32(0xd1)],_0x4cb361=_0x3a3a59[_0x264e32(0xba)];return _0x5e6d11[_0x264e32(0xcc)]=_0x3a3a59,_0xec6d2f[_0x264e32(0xcc)]=_0xec6d2f[_0x264e32(0xcc)][_0x264e32(0xb6)](_0x4cb361),_0x4f845c[_0x264e32(0xd0)]=_0x2adcdd(_0x4f845c[_0x264e32(0xd0)],_0x4cb361),_0x419e0e;}[_0x4dc2b1(0xc6)](_0x5eddad,_0x18cef3){const _0x207cc3=_0x4dc2b1;if(this[_0x207cc3(0xc8)](_0x5eddad)&&this[_0x207cc3(0xc8)](_0x18cef3)){const _0x157319=_0x5eddad[_0x207cc3(0xb2)][0x0][_0x207cc3(0xcc)][_0x207cc3(0xba)],_0x474889=_0x44e655(_0x2adcdd(_0x5eddad[_0x207cc3(0xd0)],_0x157319),_0x18cef3[_0x207cc3(0xd0)]),_0x5d1787=_0x5eddad[_0x207cc3(0xb2)][0x0],_0x542102=_0x18cef3[_0x207cc3(0xb2)][0x0];return _0x474889&&this[_0x207cc3(0xc7)](_0x5d1787,_0x542102);}return!0x1;}[_0x4dc2b1(0xc4)](_0x3290cb){const _0x32189a=_0x4dc2b1,_0x15e8d1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x32189a(0xbe)][_0x32189a(0xbf)](_0x32189a(0xb4))[_0x32189a(0xcf)](_0x15e8d1,[_0x3290cb]),_0x15e8d1[_0x32189a(0xb0)][0x0];}[_0x4dc2b1(0xaf)](_0xf24c9b){const _0x3121a7=_0x4dc2b1,_0x458854=[];return this[_0x3121a7(0xbe)][_0x3121a7(0xbf)](_0x3121a7(0xb4))[_0x3121a7(0xb1)](_0x458854,_0xf24c9b),_0x458854[0x0];}[_0x4dc2b1(0xc8)](_0x3e18bd){const _0x3a556e=_0x4dc2b1;return _0x3a556e(0xb4)==_0x3e18bd[_0x3a556e(0xad)]&&0x1==_0x3e18bd[_0x3a556e(0xb2)][_0x3a556e(0xba)]&&_0x3e18bd[_0x3a556e(0xb2)][0x0][_0x3a556e(0xcc)]&&!_0x3e18bd[_0x3a556e(0xce)]&&0x1==Array[_0x3a556e(0xbb)](_0x3e18bd[_0x3a556e(0xb2)][0x0][_0x3a556e(0xcc)])[_0x3a556e(0xba)];}[_0x4dc2b1(0xc7)](_0x22d845,_0x48bcff){const _0x4b81f9=_0x4dc2b1,_0x4ebcba=Object[_0x4b81f9(0xc5)](_0x22d845[_0x4b81f9(0xc3)]||{}),_0x1064a2=Object[_0x4b81f9(0xc5)](_0x48bcff[_0x4b81f9(0xc3)]||{});return _0x4ebcba[_0x4b81f9(0xba)]===_0x1064a2[_0x4b81f9(0xba)]&&_0x4ebcba[_0x4b81f9(0xc1)](_0x308771=>_0x48bcff[_0x4b81f9(0xc3)][_0x308771]&&_0x48bcff[_0x4b81f9(0xc3)][_0x308771]===_0x22d845[_0x4b81f9(0xc3)][_0x308771]);}}function _0x17c6(){const _0x3c982f=['39574210myrzGv','wasUndone','compress','position','value','__className','_combineNext','_decompressSingleOperation','buffers','decompress','nodes','1331392jGzVCL','InsertOperation','next','substr','152RRkpvb','iterator','2188911yJzYWL','length','from','4OiZkgk','9067919PJkIXG','_context','_getCompressorByName','118978CqcchM','every','8406YwuYgN','attributes','_compressSingleOperation','keys','_compareOperations','_compareAttributes','_checkOperation','7729932CoPTpm','5SUSFPs','_splitCurrent','data'];_0x17c6=function(){return _0x3c982f;};return _0x17c6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x242ad7=_0x4fa1;(function(_0x5e1f80,_0x31603b){const _0x2c0d11=_0x4fa1,_0x30eb2d=_0x5e1f80();while(!![]){try{const _0x1fd5fa=-parseInt(_0x2c0d11(0x87))/0x1*(-parseInt(_0x2c0d11(0x9a))/0x2)+parseInt(_0x2c0d11(0x9c))/0x3*(parseInt(_0x2c0d11(0x8a))/0x4)+-parseInt(_0x2c0d11(0x89))/0x5+-parseInt(_0x2c0d11(0x95))/0x6*(parseInt(_0x2c0d11(0x8f))/0x7)+parseInt(_0x2c0d11(0x81))/0x8+parseInt(_0x2c0d11(0xa1))/0x9+-parseInt(_0x2c0d11(0x8e))/0xa*(-parseInt(_0x2c0d11(0x97))/0xb);if(_0x1fd5fa===_0x31603b)break;else _0x30eb2d['push'](_0x30eb2d['shift']());}catch(_0x1b5db1){_0x30eb2d['push'](_0x30eb2d['shift']());}}}(_0x9173,0x795ae));import{ActionCompressor as _0x1b1ec9}from'./actioncompressor.js';import{arePositionsEqual as _0x509d16}from'../utils.js';function _0x9173(){const _0x539da4=['toNone','1579881IiXiCs','user:','__className','types','_compareOperations','3882969uYUtBC','MarkerOperation','buffers','_getCompressorByName','2006680GvMXfy','_id','user:position:','push','decompress','shift','12766vQySwY','_context','4840705atxYTg','4bZyizJ','_compressSingleOperation','stickiness','start','20CyYuPd','3528MLhEXW','name','split','end','_decompressSingleOperation','oldRange','10332dTCydv','newRange','1900085ANzcda','compress','startsWith','122vjcbjE'];_0x9173=function(){return _0x539da4;};return _0x9173();}import{cloneDeep as _0x4b3607}from'es-toolkit/compat';function _0x4fa1(_0x886ed2,_0x37139e){const _0x917307=_0x9173();return _0x4fa1=function(_0x4fa1a1,_0x44ed55){_0x4fa1a1=_0x4fa1a1-0x80;let _0x5b2fad=_0x917307[_0x4fa1a1];return _0x5b2fad;},_0x4fa1(_0x886ed2,_0x37139e);}export class UserSelectionActionCompressor extends _0x1b1ec9{[_0x242ad7(0x98)](_0x21bb32,_0x3cf144){const _0x184061=_0x242ad7;if(!this[_0x184061(0xa0)](_0x3cf144[0x0],_0x3cf144[0x1]))return!0x1;const _0x40b6fd=_0x3cf144[_0x184061(0x86)]();return _0x40b6fd[_0x184061(0x94)]=null,_0x40b6fd[_0x184061(0x96)]&&_0x509d16(_0x40b6fd[_0x184061(0x96)][_0x184061(0x8d)],_0x40b6fd[_0x184061(0x96)][_0x184061(0x92)])&&(_0x40b6fd[_0x184061(0x96)][_0x184061(0x92)]=null),_0x3cf144[_0x184061(0x86)](),_0x21bb32[_0x184061(0x9f)][_0x184061(0x84)](this[_0x184061(0x82)]),_0x21bb32[_0x184061(0x9f)][_0x184061(0x84)](0x0),_0x21bb32[_0x184061(0xa3)][_0x184061(0x84)](this[_0x184061(0x8b)](_0x40b6fd)),!0x0;}[_0x242ad7(0x85)](_0x233041,_0x3ce326){const _0x271726=_0x242ad7,_0x47a899=this[_0x271726(0x93)](_0x3ce326);_0x47a899[_0x271726(0x96)]&&!_0x47a899[_0x271726(0x96)][_0x271726(0x92)]&&(_0x47a899[_0x271726(0x96)][_0x271726(0x92)]=_0x4b3607(_0x47a899[_0x271726(0x96)][_0x271726(0x8d)]));const _0x3baa65=_0x4b3607(_0x47a899);_0x3baa65[_0x271726(0x96)]&&(_0x3baa65[_0x271726(0x96)][_0x271726(0x8d)][_0x271726(0x8c)]=_0x271726(0x9b),_0x3baa65[_0x271726(0x96)][_0x271726(0x92)]=_0x4b3607(_0x3baa65[_0x271726(0x96)][_0x271726(0x8d)])),_0x3baa65[_0x271726(0x90)]=_0x271726(0x83)+_0x3baa65[_0x271726(0x90)][_0x271726(0x91)](':')[0x2],_0x3ce326[_0x271726(0x9f)][_0x271726(0x86)](),_0x233041[_0x271726(0x84)](_0x47a899),_0x233041[_0x271726(0x84)](_0x3baa65);}[_0x242ad7(0x8b)](_0x37428b){const _0x4fdab3=_0x242ad7,_0x4416a2={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4fdab3(0x88)][_0x4fdab3(0x80)](_0x4fdab3(0xa2))[_0x4fdab3(0x98)](_0x4416a2,[_0x37428b]),_0x4416a2[_0x4fdab3(0xa3)][0x0];}[_0x242ad7(0x93)](_0x3c4325){const _0x8a4c90=_0x242ad7,_0x236770=[];return this[_0x8a4c90(0x88)][_0x8a4c90(0x80)](_0x8a4c90(0xa2))[_0x8a4c90(0x85)](_0x236770,_0x3c4325),_0x236770[0x0];}[_0x242ad7(0xa0)](_0x3cf747,_0x1d7674){const _0x21211a=_0x242ad7;return!(!_0x3cf747||!_0x1d7674)&&(_0x21211a(0xa2)==_0x3cf747[_0x21211a(0x9e)]&&_0x21211a(0xa2)==_0x1d7674[_0x21211a(0x9e)]&&!(!_0x3cf747[_0x21211a(0x90)][_0x21211a(0x99)](_0x21211a(0x9d))||!_0x1d7674[_0x21211a(0x90)][_0x21211a(0x99)](_0x21211a(0x9d))||_0x3cf747[_0x21211a(0x90)]==_0x1d7674[_0x21211a(0x90)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c3eef=_0x31b9;function _0x3833(){const _0x532b3a=['22bIrNUp','suggestion','7899EvnCZX','ForwardDeletingAction','CommentMarkerOperation','types','getDescriptor','comment','_compressorById','9wofNcj','baseVersion','RenameOperation','NoOperation','359544YNNdqK','6240dJAOVs','RootAttributeOperation','1670SvRayw','set','327bUHnov','_registerCompressor','MergeOperation','218022QFsAMl','AttributeOperation','91kjjmUC','72rmRhua','868488nPDhhq','forEach','361610GPaAIh','_registerOperationCompressor','85UvfsRp','SplitOperation','InsertOperation','TypingAction','_getCompressorByName','compress','no-operations-provided','MoveOperation','UserSelectionAction','decompress-compressor-not-found','DeletingAction','__className','_compressorByName','get','_protobufFactory','decompress','length','42LnCnFV','MarkerOperation','_registerActionCompressor','SuggestionMarkerOperation','RootOperation'];_0x3833=function(){return _0x532b3a;};return _0x3833();}(function(_0x5cbd94,_0x500552){const _0x3112ad=_0x31b9,_0x668231=_0x5cbd94();while(!![]){try{const _0x225929=-parseInt(_0x3112ad(0xc1))/0x1*(parseInt(_0x3112ad(0xbf))/0x2)+parseInt(_0x3112ad(0xb1))/0x3*(-parseInt(_0x3112ad(0x94))/0x4)+-parseInt(_0x3112ad(0x99))/0x5*(parseInt(_0x3112ad(0xbd))/0x6)+-parseInt(_0x3112ad(0xaa))/0x7*(-parseInt(_0x3112ad(0xbc))/0x8)+parseInt(_0x3112ad(0xb8))/0x9*(-parseInt(_0x3112ad(0x97))/0xa)+parseInt(_0x3112ad(0xaf))/0xb*(parseInt(_0x3112ad(0x95))/0xc)+-parseInt(_0x3112ad(0x93))/0xd*(-parseInt(_0x3112ad(0x91))/0xe);if(_0x225929===_0x500552)break;else _0x668231['push'](_0x668231['shift']());}catch(_0x4fd6da){_0x668231['push'](_0x668231['shift']());}}}(_0x3833,0x24691));import{CKEditorError as _0x2a4598}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x2cb4c8}from'./protobuffactory.js';import{OperationCompressor as _0x355970}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x3683de}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x487269}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x57b142}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0xd708c1}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x254d12}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x16c1e0}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x500ba1}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x1fa8b6}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x3a1646}from'./actioncompressor/userselectionactioncompressor.js';function _0x31b9(_0x30d274,_0x1997bb){const _0x3833de=_0x3833();return _0x31b9=function(_0x31b9af,_0x4d8344){_0x31b9af=_0x31b9af-0x90;let _0x2d8b96=_0x3833de[_0x31b9af];return _0x2d8b96;},_0x31b9(_0x30d274,_0x1997bb);}export class Compressor{[_0x4c3eef(0xb7)];[_0x4c3eef(0xa5)];[_0x4c3eef(0xa7)];constructor(){const _0x31d0b9=_0x4c3eef;this[_0x31d0b9(0xb7)]=new Map(),this[_0x31d0b9(0xa5)]=new Map(),this[_0x31d0b9(0xa7)]=new _0x2cb4c8();const _0x17023e=this[_0x31d0b9(0xa7)][_0x31d0b9(0xb5)](_0x31d0b9(0xab));this[_0x31d0b9(0xc2)](0x1,_0x31d0b9(0xbb),new _0xd708c1(0x1,_0x31d0b9(0xbb),void 0x0)),this[_0x31d0b9(0x98)](0xa,_0x31d0b9(0x92),_0x3683de),this[_0x31d0b9(0x98)](0xb,_0x31d0b9(0x9b),_0x487269),this[_0x31d0b9(0x98)](0xc,_0x31d0b9(0xab),_0x57b142),this[_0x31d0b9(0x98)](0xd,_0x31d0b9(0x90),_0x355970),this[_0x31d0b9(0x98)](0xe,_0x31d0b9(0xa0),_0x355970),this[_0x31d0b9(0x98)](0xf,_0x31d0b9(0xba),_0x355970),this[_0x31d0b9(0x98)](0x10,_0x31d0b9(0xbe),_0x3683de),this[_0x31d0b9(0x98)](0x11,_0x31d0b9(0x9a),_0x355970),this[_0x31d0b9(0xc2)](0x12,_0x31d0b9(0xb3),new _0x254d12(0x12,_0x31d0b9(0xab),_0x17023e,_0x31d0b9(0xb6))),this[_0x31d0b9(0xc2)](0x13,_0x31d0b9(0xad),new _0x254d12(0x13,_0x31d0b9(0xab),_0x17023e,_0x31d0b9(0xb0))),this[_0x31d0b9(0x98)](0x14,_0x31d0b9(0xae),_0x355970),this[_0x31d0b9(0xac)](0x64,_0x31d0b9(0x9c),_0x16c1e0),this[_0x31d0b9(0xac)](0x65,_0x31d0b9(0xa3),_0x500ba1),this[_0x31d0b9(0xac)](0x66,_0x31d0b9(0xb2),_0x1fa8b6),this[_0x31d0b9(0xac)](0x67,_0x31d0b9(0xa1),_0x3a1646);}[_0x4c3eef(0x9e)](_0x5f2c4d){const _0x5f0ef0=_0x4c3eef;if(!_0x5f2c4d||!_0x5f2c4d[0x0])throw new _0x2a4598(_0x5f0ef0(0x9f),this);const _0x28e40b={'types':[],'buffers':[],'baseVersion':_0x5f2c4d[0x0][_0x5f0ef0(0xb9)]};for(;_0x5f2c4d[_0x5f0ef0(0xa9)];)this[_0x5f0ef0(0x9d)](_0x5f0ef0(0xa1))[_0x5f0ef0(0x9e)](_0x28e40b,_0x5f2c4d)||this[_0x5f0ef0(0x9d)](_0x5f0ef0(0x9c))[_0x5f0ef0(0x9e)](_0x28e40b,_0x5f2c4d)||this[_0x5f0ef0(0x9d)](_0x5f0ef0(0xa3))[_0x5f0ef0(0x9e)](_0x28e40b,_0x5f2c4d)||this[_0x5f0ef0(0x9d)](_0x5f0ef0(0xb2))[_0x5f0ef0(0x9e)](_0x28e40b,_0x5f2c4d)||this[_0x5f0ef0(0x9d)](_0x5f0ef0(0xb3))[_0x5f0ef0(0x9e)](_0x28e40b,_0x5f2c4d)||this[_0x5f0ef0(0x9d)](_0x5f0ef0(0xad))[_0x5f0ef0(0x9e)](_0x28e40b,_0x5f2c4d)||this[_0x5f0ef0(0x9d)](_0x5f2c4d[0x0][_0x5f0ef0(0xa4)])[_0x5f0ef0(0x9e)](_0x28e40b,_0x5f2c4d);return _0x28e40b;}[_0x4c3eef(0xa8)](_0x33b524){const _0x3a3ff0=_0x4c3eef,_0x29f4f9=[];for(;_0x33b524[_0x3a3ff0(0xb4)][_0x3a3ff0(0xa9)];){const _0x35d9e3=this[_0x3a3ff0(0xb7)][_0x3a3ff0(0xa6)](_0x33b524[_0x3a3ff0(0xb4)][0x0]);if(!_0x35d9e3)throw new _0x2a4598(_0x3a3ff0(0xa2),this,{'type':_0x33b524[_0x3a3ff0(0xb4)][0x0]});_0x35d9e3[_0x3a3ff0(0xa8)](_0x29f4f9,_0x33b524);}return _0x29f4f9[_0x3a3ff0(0x96)]((_0x59e6f7,_0x4384ea)=>_0x59e6f7[_0x3a3ff0(0xb9)]=_0x33b524[_0x3a3ff0(0xb9)]+_0x4384ea),_0x29f4f9;}[_0x4c3eef(0x9d)](_0x15b9e1){const _0x7d7417=_0x4c3eef;return this[_0x7d7417(0xa5)][_0x7d7417(0xa6)](_0x15b9e1);}[_0x4c3eef(0x98)](_0x21e6b7,_0x480011,_0x502759){const _0x2b713a=_0x4c3eef,_0x1331a5=new _0x502759(_0x21e6b7,_0x480011,this[_0x2b713a(0xa7)][_0x2b713a(0xb5)](_0x480011));this[_0x2b713a(0xc2)](_0x21e6b7,_0x480011,_0x1331a5);}[_0x4c3eef(0xac)](_0x1873d0,_0x16b505,_0x2c33c2){const _0x1d3e72=_0x4c3eef,_0x5a66bf=new _0x2c33c2(_0x1873d0,this);this[_0x1d3e72(0xc2)](_0x1873d0,_0x16b505,_0x5a66bf);}[_0x4c3eef(0xc2)](_0x4f67ea,_0x402440,_0x12a207){const _0x34efe5=_0x4c3eef;this[_0x34efe5(0xb7)][_0x34efe5(0xc0)](_0x4f67ea,_0x12a207),this[_0x34efe5(0xa5)][_0x34efe5(0xc0)](_0x402440,_0x12a207);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x6806(){var _0x20a9c7=['535930jWcAlS','3236964gAEnpU','2721715jGboDB','4890qxawiL','289615QcoEOh','816oJnqGK','2023IGcVco','2680JgNShW','657496QqilnI','261HGKJhu'];_0x6806=function(){return _0x20a9c7;};return _0x6806();}(function(_0x1e2bc6,_0x21748e){var _0x19f4ce=_0x35a3,_0x2aee69=_0x1e2bc6();while(!![]){try{var _0x32ac82=-parseInt(_0x19f4ce(0x189))/0x1+parseInt(_0x19f4ce(0x18a))/0x2*(-parseInt(_0x19f4ce(0x188))/0x3)+-parseInt(_0x19f4ce(0x183))/0x4+-parseInt(_0x19f4ce(0x187))/0x5+parseInt(_0x19f4ce(0x186))/0x6+parseInt(_0x19f4ce(0x18b))/0x7*(-parseInt(_0x19f4ce(0x182))/0x8)+-parseInt(_0x19f4ce(0x184))/0x9*(-parseInt(_0x19f4ce(0x185))/0xa);if(_0x32ac82===_0x21748e)break;else _0x2aee69['push'](_0x2aee69['shift']());}catch(_0x58e653){_0x2aee69['push'](_0x2aee69['shift']());}}}(_0x6806,0x516c0));function _0x35a3(_0x436088,_0x526f85){var _0x68066b=_0x6806();return _0x35a3=function(_0x35a3fd,_0x57e309){_0x35a3fd=_0x35a3fd-0x182;var _0x54ec5f=_0x68066b[_0x35a3fd];return _0x54ec5f;},_0x35a3(_0x436088,_0x526f85);}export{Compressor}from'./compressor.js';
|