@ckeditor/ckeditor5-operations-compressor 41.4.0-alpha.0 → 41.4.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 +1 -1
- package/package.json +2 -2
- 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 +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/protobufdescriptions.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
|
-
'use strict';var
|
|
23
|
+
'use strict';function _0x405a(_0x2823d2,_0x126a2c){var _0x209138=_0x2091();return _0x405a=function(_0x405aff,_0x36f2fa){_0x405aff=_0x405aff-0x8e;var _0x32b2b8=_0x209138[_0x405aff];return _0x32b2b8;},_0x405a(_0x2823d2,_0x126a2c);}var _0x393486=_0x405a;function _0x2091(){var _0x210b4a=['3253666rdjgIb','string','168372NRKCOv','1649664YEJcjH','repeated','Element','7CHhEjH','5750312NssSAu','1KHGhtI','1357346kRpGMS','bool','11zSQxvS','30fEBJhW','Position','Range','28pPLwRx','uint32','8CDXXVc','exports','9VYTBtT','9326436tHaslx','7564170Yrmqxi'];_0x2091=function(){return _0x210b4a;};return _0x2091();}(function(_0x7f8d0c,_0x13093f){var _0x149006=_0x405a,_0x4388c0=_0x7f8d0c();while(!![]){try{var _0x154092=-parseInt(_0x149006(0x96))/0x1*(parseInt(_0x149006(0x97))/0x2)+-parseInt(_0x149006(0x91))/0x3*(-parseInt(_0x149006(0x9f))/0x4)+parseInt(_0x149006(0x9a))/0x5*(parseInt(_0x149006(0x90))/0x6)+-parseInt(_0x149006(0x94))/0x7*(-parseInt(_0x149006(0x95))/0x8)+parseInt(_0x149006(0xa1))/0x9*(parseInt(_0x149006(0xa3))/0xa)+parseInt(_0x149006(0x99))/0xb*(-parseInt(_0x149006(0xa2))/0xc)+parseInt(_0x149006(0x8e))/0xd*(-parseInt(_0x149006(0x9d))/0xe);if(_0x154092===_0x13093f)break;else _0x4388c0['push'](_0x4388c0['shift']());}catch(_0x1b3753){_0x4388c0['push'](_0x4388c0['shift']());}}}(_0x2091,0xc01e2));module[_0x393486(0xa0)]={'AttributeOperation':{'fields':{'range':{'type':_0x393486(0x9c),'id':0x1},'key':{'type':_0x393486(0x8f),'id':0x2},'oldValueBoolean':{'type':_0x393486(0x98),'id':0x3},'oldValueJson':{'type':_0x393486(0x8f),'id':0x4},'newValueBoolean':{'type':_0x393486(0x98),'id':0x5},'newValueJson':{'type':_0x393486(0x8f),'id':0x6},'wasUndone':{'type':_0x393486(0x98),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x393486(0x9b),'id':0x1},'nodes':{'rule':_0x393486(0x92),'type':_0x393486(0x93),'id':0x2},'shouldReceiveAttributes':{'type':_0x393486(0x98),'id':0x3},'wasUndone':{'type':_0x393486(0x98),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x393486(0x8f),'id':0x1},'oldRange':{'type':_0x393486(0x9c),'id':0x2},'newRange':{'type':_0x393486(0x9c),'id':0x3},'affectsData':{'type':_0x393486(0x98),'id':0x4},'wasUndone':{'type':_0x393486(0x98),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0x393486(0x9b),'id':0x1},'targetPosition':{'type':_0x393486(0x9b),'id':0x2},'graveyardPosition':{'type':_0x393486(0x9b),'id':0x3},'howMany':{'type':_0x393486(0x9e),'id':0x4},'wasUndone':{'type':_0x393486(0x98),'id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x393486(0x9b),'id':0x1},'howMany':{'type':_0x393486(0x9e),'id':0x2},'targetPosition':{'type':_0x393486(0x9b),'id':0x3},'wasUndone':{'type':_0x393486(0x98),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x393486(0x9b),'id':0x1},'oldName':{'type':_0x393486(0x8f),'id':0x2},'newName':{'type':_0x393486(0x8f),'id':0x3},'wasUndone':{'type':_0x393486(0x98),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x393486(0x8f),'id':0x1},'key':{'type':_0x393486(0x8f),'id':0x2},'oldValueBoolean':{'type':_0x393486(0x98),'id':0x3},'oldValueJson':{'type':_0x393486(0x8f),'id':0x4},'newValueBoolean':{'type':_0x393486(0x98),'id':0x5},'newValueJson':{'type':_0x393486(0x8f),'id':0x6},'wasUndone':{'type':_0x393486(0x98),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x393486(0x8f),'id':0x1},'elementName':{'type':_0x393486(0x8f),'id':0x2},'isAdd':{'type':_0x393486(0x98),'id':0x3},'wasUndone':{'type':_0x393486(0x98),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x393486(0x9b),'id':0x1},'graveyardPosition':{'type':_0x393486(0x9b),'id':0x2},'howMany':{'type':_0x393486(0x9e),'id':0x3},'insertionPosition':{'type':_0x393486(0x9b),'id':0x4},'wasUndone':{'type':_0x393486(0x98),'id':0x5}}},'Position':{'fields':{'root':{'type':_0x393486(0x8f),'id':0x1},'rootMain':{'type':_0x393486(0x98),'id':0x2},'rootGraveyard':{'type':_0x393486(0x98),'id':0x3},'path':{'rule':_0x393486(0x92),'type':_0x393486(0x9e),'id':0x4},'stickiness':{'type':_0x393486(0x8f),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x393486(0x9b),'id':0x1},'end':{'type':_0x393486(0x9b),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x393486(0x8f),'id':0x1},'children':{'rule':_0x393486(0x92),'type':_0x393486(0x93),'id':0x2},'data':{'type':_0x393486(0x8f),'id':0x3},'attributesBoolean':{'keyType':_0x393486(0x8f),'type':_0x393486(0x98),'id':0x4},'attributesJson':{'type':_0x393486(0x8f),'id':0x5}}}};
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3df56a=_0x2ed0;function _0x2ed0(_0x39257a,_0x59cd9a){const _0x50294d=_0x5029();return _0x2ed0=function(_0x2ed028,_0x17afbc){_0x2ed028=_0x2ed028-0x1ea;let _0x4d00b2=_0x50294d[_0x2ed028];return _0x4d00b2;},_0x2ed0(_0x39257a,_0x59cd9a);}(function(_0x5d6cb5,_0x4157ed){const _0x14298d=_0x2ed0,_0x361afb=_0x5d6cb5();while(!![]){try{const _0x42e34b=-parseInt(_0x14298d(0x1f4))/0x1*(parseInt(_0x14298d(0x1f0))/0x2)+-parseInt(_0x14298d(0x1f6))/0x3*(-parseInt(_0x14298d(0x1f9))/0x4)+parseInt(_0x14298d(0x1fa))/0x5+parseInt(_0x14298d(0x1f3))/0x6+-parseInt(_0x14298d(0x1fe))/0x7*(-parseInt(_0x14298d(0x1ee))/0x8)+-parseInt(_0x14298d(0x1ff))/0x9*(-parseInt(_0x14298d(0x1fd))/0xa)+parseInt(_0x14298d(0x1ed))/0xb*(-parseInt(_0x14298d(0x1f2))/0xc);if(_0x42e34b===_0x4157ed)break;else _0x361afb['push'](_0x361afb['shift']());}catch(_0x2e6bd1){_0x361afb['push'](_0x361afb['shift']());}}}(_0x5029,0x23f21));function _0x5029(){const _0x25e2ab=['decode','351387jGpclO','toObject','_protobuf','8iQtDQs','739530IylMME','verify','_protobufRoot','10rkmONA','7kYCbLl','128637dbEKmT','create','finish','getDescriptor','encode','55ZHSjdM','754856NQbCKl','compress','4Tfedac','decompress','545064nCYLdr','468978TxzMUy','97317fUckiP'];_0x5029=function(){return _0x25e2ab;};return _0x5029();}import*as _0xd8282f from'./lib/compiledmessages.js';export default class r{constructor(){const _0x52430d=_0x2ed0;this[_0x52430d(0x1fc)]=_0xd8282f;}[_0x3df56a(0x1eb)](_0x3a2cc0){const _0x1545cb=_0x3df56a;return new ProtobufDescriptor(this[_0x1545cb(0x1fc)][_0x3a2cc0]);}}export class ProtobufDescriptor{constructor(_0x4e5b14){const _0x2cc93d=_0x3df56a;this[_0x2cc93d(0x1f8)]=_0x4e5b14;}[_0x3df56a(0x1ef)](_0x5549a6){const _0x13252b=_0x3df56a,_0x5deb16=this[_0x13252b(0x1f8)][_0x13252b(0x1fb)](_0x5549a6);if(_0x5deb16)throw Error(_0x5deb16);return this[_0x13252b(0x1f8)][_0x13252b(0x1ec)](this[_0x13252b(0x1f8)][_0x13252b(0x200)](_0x5549a6))[_0x13252b(0x1ea)]();}[_0x3df56a(0x1f1)](_0x52f93a){const _0x2c92e8=_0x3df56a;return this[_0x2c92e8(0x1f8)][_0x2c92e8(0x1f7)](this[_0x2c92e8(0x1f8)][_0x2c92e8(0x1f5)](_0x52f93a),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x23fa05,_0x535dfc){const _0x2935f1=_0x540e,_0x430fa7=_0x23fa05();while(!![]){try{const _0x48dae7=parseInt(_0x2935f1(0x117))/0x1*(parseInt(_0x2935f1(0x126))/0x2)+-parseInt(_0x2935f1(0x123))/0x3+parseInt(_0x2935f1(0x11e))/0x4+parseInt(_0x2935f1(0x11d))/0x5+-parseInt(_0x2935f1(0x11c))/0x6+-parseInt(_0x2935f1(0x120))/0x7*(parseInt(_0x2935f1(0x121))/0x8)+parseInt(_0x2935f1(0x118))/0x9;if(_0x48dae7===_0x535dfc)break;else _0x430fa7['push'](_0x430fa7['shift']());}catch(_0xfae1b1){_0x430fa7['push'](_0x430fa7['shift']());}}}(_0x3708,0xe0ee2));function _0x540e(_0x204f93,_0x41130c){const _0x3708dc=_0x3708();return _0x540e=function(_0x540e01,_0x342a6c){_0x540e01=_0x540e01-0x117;let _0x1627cd=_0x3708dc[_0x540e01];return _0x1627cd;},_0x540e(_0x204f93,_0x41130c);}import{cloneDeep as _0x309a3f,isEqual as _0x5cdb73,isObject as _0x1ba204}from'lodash-es';export function getPositionShiftedBy(_0x488f72,_0x47cb28){const _0x2bbfa6=_0x540e,_0x82e3de=_0x309a3f(_0x488f72);return _0x82e3de[_0x2bbfa6(0x11a)][_0x82e3de[_0x2bbfa6(0x11a)][_0x2bbfa6(0x11f)]-0x1]+=_0x47cb28,_0x82e3de;}export function arePositionsEqual(_0x5f0b81,_0x810e91){const _0x917b32=_0x540e;return _0x5f0b81[_0x917b32(0x122)]===_0x810e91[_0x917b32(0x122)]&&_0x5cdb73(_0x5f0b81[_0x917b32(0x11a)],_0x810e91[_0x917b32(0x11a)]);}export function parsePositionBeforeCompression(_0x67152b){const _0x5515fb=_0x540e;P(_0x67152b,_0x516761=>(_0x5515fb(0x119)==_0x516761[_0x5515fb(0x122)]?(_0x516761[_0x5515fb(0x127)]=!0x0,delete _0x516761[_0x5515fb(0x122)]):_0x5515fb(0x11b)==_0x516761[_0x5515fb(0x122)]&&(_0x516761[_0x5515fb(0x124)]=!0x0,delete _0x516761[_0x5515fb(0x122)]),_0x516761));}export function parsePositionAfterCompression(_0x29974d){const _0x2803c3=_0x540e;P(_0x29974d,_0x2bede1=>(_0x2bede1[_0x2803c3(0x127)]?(_0x2bede1[_0x2803c3(0x122)]=_0x2803c3(0x119),delete _0x2bede1[_0x2803c3(0x127)]):_0x2bede1[_0x2803c3(0x124)]&&(_0x2bede1[_0x2803c3(0x122)]=_0x2803c3(0x11b),delete _0x2bede1[_0x2803c3(0x124)]),_0x2bede1));}function P(_0x5637e8,_0x2f1fba){const _0x45426c=_0x540e;for(const _0x45e9d1 in _0x5637e8){const _0x3aa2a0=_0x5637e8[_0x45e9d1];_0x45426c(0x125)!==_0x45e9d1&&_0x1ba204(_0x3aa2a0)&&(_0x3aa2a0[_0x45426c(0x11a)]&&(_0x3aa2a0[_0x45426c(0x122)]||_0x3aa2a0[_0x45426c(0x127)]||_0x3aa2a0[_0x45426c(0x124)])?_0x5637e8[_0x45e9d1]=_0x2f1fba(_0x3aa2a0):P(_0x3aa2a0,_0x2f1fba));}return _0x5637e8;}function _0x3708(){const _0x57c504=['$graveyard','9642528blrHcU','110295JzdgLB','37848SkbJNd','length','5691fEVRSI','9816uOMKKk','root','927333IfphqV','rootGraveyard','nodes','4300sRXhFR','rootMain','505Tziuic','24460137maaFFT','main','path'];_0x3708=function(){return _0x57c504;};return _0x3708();}
|