@ckeditor/ckeditor5-operations-compressor 0.0.0-nightly-20240513.0 → 0.0.0-nightly-20240514.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 +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';
|
|
23
|
+
'use strict';function _0x53d8(_0x1adad3,_0x2d4b97){var _0x54a24a=_0x54a2();return _0x53d8=function(_0x53d83c,_0x3254){_0x53d83c=_0x53d83c-0x175;var _0x5ea992=_0x54a24a[_0x53d83c];return _0x5ea992;},_0x53d8(_0x1adad3,_0x2d4b97);}var _0x2828d6=_0x53d8;(function(_0x23aaba,_0x53c219){var _0x4f5ade=_0x53d8,_0x49c2e7=_0x23aaba();while(!![]){try{var _0x76e5c9=parseInt(_0x4f5ade(0x186))/0x1*(parseInt(_0x4f5ade(0x184))/0x2)+-parseInt(_0x4f5ade(0x183))/0x3+parseInt(_0x4f5ade(0x178))/0x4+-parseInt(_0x4f5ade(0x176))/0x5+parseInt(_0x4f5ade(0x175))/0x6*(-parseInt(_0x4f5ade(0x17e))/0x7)+parseInt(_0x4f5ade(0x185))/0x8*(parseInt(_0x4f5ade(0x177))/0x9)+parseInt(_0x4f5ade(0x17d))/0xa;if(_0x76e5c9===_0x53c219)break;else _0x49c2e7['push'](_0x49c2e7['shift']());}catch(_0x30dd73){_0x49c2e7['push'](_0x49c2e7['shift']());}}}(_0x54a2,0x7f86c));function _0x54a2(){var _0x37ff58=['242IzOgjq','94816aeSoQh','7057tiJlid','2446860lFIMZX','3716215QSpQUu','792xyXTSV','473356QxvidC','repeated','Position','Element','string','1694310MuMTIc','14mrqVYB','Range','exports','bool','uint32','310296frkZtn'];_0x54a2=function(){return _0x37ff58;};return _0x54a2();}module[_0x2828d6(0x180)]={'AttributeOperation':{'fields':{'range':{'type':_0x2828d6(0x17f),'id':0x1},'key':{'type':_0x2828d6(0x17c),'id':0x2},'oldValueBoolean':{'type':_0x2828d6(0x181),'id':0x3},'oldValueJson':{'type':_0x2828d6(0x17c),'id':0x4},'newValueBoolean':{'type':_0x2828d6(0x181),'id':0x5},'newValueJson':{'type':_0x2828d6(0x17c),'id':0x6},'wasUndone':{'type':_0x2828d6(0x181),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x2828d6(0x17a),'id':0x1},'nodes':{'rule':_0x2828d6(0x179),'type':_0x2828d6(0x17b),'id':0x2},'shouldReceiveAttributes':{'type':_0x2828d6(0x181),'id':0x3},'wasUndone':{'type':_0x2828d6(0x181),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x2828d6(0x17c),'id':0x1},'oldRange':{'type':_0x2828d6(0x17f),'id':0x2},'newRange':{'type':_0x2828d6(0x17f),'id':0x3},'affectsData':{'type':_0x2828d6(0x181),'id':0x4},'wasUndone':{'type':_0x2828d6(0x181),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0x2828d6(0x17a),'id':0x1},'targetPosition':{'type':_0x2828d6(0x17a),'id':0x2},'graveyardPosition':{'type':_0x2828d6(0x17a),'id':0x3},'howMany':{'type':_0x2828d6(0x182),'id':0x4},'wasUndone':{'type':_0x2828d6(0x181),'id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x2828d6(0x17a),'id':0x1},'howMany':{'type':_0x2828d6(0x182),'id':0x2},'targetPosition':{'type':_0x2828d6(0x17a),'id':0x3},'wasUndone':{'type':_0x2828d6(0x181),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x2828d6(0x17a),'id':0x1},'oldName':{'type':_0x2828d6(0x17c),'id':0x2},'newName':{'type':_0x2828d6(0x17c),'id':0x3},'wasUndone':{'type':_0x2828d6(0x181),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x2828d6(0x17c),'id':0x1},'key':{'type':_0x2828d6(0x17c),'id':0x2},'oldValueBoolean':{'type':_0x2828d6(0x181),'id':0x3},'oldValueJson':{'type':_0x2828d6(0x17c),'id':0x4},'newValueBoolean':{'type':_0x2828d6(0x181),'id':0x5},'newValueJson':{'type':_0x2828d6(0x17c),'id':0x6},'wasUndone':{'type':_0x2828d6(0x181),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x2828d6(0x17c),'id':0x1},'elementName':{'type':_0x2828d6(0x17c),'id':0x2},'isAdd':{'type':_0x2828d6(0x181),'id':0x3},'wasUndone':{'type':_0x2828d6(0x181),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x2828d6(0x17a),'id':0x1},'graveyardPosition':{'type':_0x2828d6(0x17a),'id':0x2},'howMany':{'type':_0x2828d6(0x182),'id':0x3},'insertionPosition':{'type':_0x2828d6(0x17a),'id':0x4},'wasUndone':{'type':_0x2828d6(0x181),'id':0x5}}},'Position':{'fields':{'root':{'type':_0x2828d6(0x17c),'id':0x1},'rootMain':{'type':_0x2828d6(0x181),'id':0x2},'rootGraveyard':{'type':_0x2828d6(0x181),'id':0x3},'path':{'rule':_0x2828d6(0x179),'type':_0x2828d6(0x182),'id':0x4},'stickiness':{'type':_0x2828d6(0x17c),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x2828d6(0x17a),'id':0x1},'end':{'type':_0x2828d6(0x17a),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x2828d6(0x17c),'id':0x1},'children':{'rule':_0x2828d6(0x179),'type':_0x2828d6(0x17b),'id':0x2},'data':{'type':_0x2828d6(0x17c),'id':0x3},'attributesBoolean':{'keyType':_0x2828d6(0x17c),'type':_0x2828d6(0x181),'id':0x4},'attributesJson':{'type':_0x2828d6(0x17c),'id':0x5}}}};
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21aef5=_0x425c;(function(_0x3e128b,_0x51e3c1){const _0x232d0d=_0x425c,_0x4a4069=_0x3e128b();while(!![]){try{const _0x16f4d9=parseInt(_0x232d0d(0x1c7))/0x1*(-parseInt(_0x232d0d(0x1c2))/0x2)+parseInt(_0x232d0d(0x1bd))/0x3*(-parseInt(_0x232d0d(0x1bf))/0x4)+parseInt(_0x232d0d(0x1cd))/0x5*(parseInt(_0x232d0d(0x1c3))/0x6)+parseInt(_0x232d0d(0x1bb))/0x7+parseInt(_0x232d0d(0x1ca))/0x8+-parseInt(_0x232d0d(0x1cc))/0x9*(parseInt(_0x232d0d(0x1ce))/0xa)+parseInt(_0x232d0d(0x1c4))/0xb;if(_0x16f4d9===_0x51e3c1)break;else _0x4a4069['push'](_0x4a4069['shift']());}catch(_0x271ddf){_0x4a4069['push'](_0x4a4069['shift']());}}}(_0x3cc1,0x39f1a));import*as _0x2b150c from'./lib/compiledmessages.js';function _0x425c(_0x19d3ee,_0x211362){const _0x3cc1f9=_0x3cc1();return _0x425c=function(_0x425c40,_0x29dc92){_0x425c40=_0x425c40-0x1ba;let _0x45bd34=_0x3cc1f9[_0x425c40];return _0x45bd34;},_0x425c(_0x19d3ee,_0x211362);}function _0x3cc1(){const _0x5138ac=['decompress','encode','2344853WkoXvG','toObject','6405YoSzFQ','decode','92LeKNsR','finish','_protobufRoot','29936xNFMOB','742704etTlUJ','621368baQmoe','_protobuf','create','17ipTFCe','getDescriptor','compress','924960HmIYzS','verify','18JpaaLs','5uIemOz','449860PgHadD'];_0x3cc1=function(){return _0x5138ac;};return _0x3cc1();}export default class r{constructor(){const _0x1089ac=_0x425c;this[_0x1089ac(0x1c1)]=_0x2b150c;}[_0x21aef5(0x1c8)](_0x3e1942){const _0x362c57=_0x21aef5;return new ProtobufDescriptor(this[_0x362c57(0x1c1)][_0x3e1942]);}}export class ProtobufDescriptor{constructor(_0x2c0335){const _0x206ab6=_0x21aef5;this[_0x206ab6(0x1c5)]=_0x2c0335;}[_0x21aef5(0x1c9)](_0x1e26fd){const _0x894fc=_0x21aef5,_0x49e6e5=this[_0x894fc(0x1c5)][_0x894fc(0x1cb)](_0x1e26fd);if(_0x49e6e5)throw Error(_0x49e6e5);return this[_0x894fc(0x1c5)][_0x894fc(0x1ba)](this[_0x894fc(0x1c5)][_0x894fc(0x1c6)](_0x1e26fd))[_0x894fc(0x1c0)]();}[_0x21aef5(0x1cf)](_0x58061b){const _0x521a51=_0x21aef5;return this[_0x521a51(0x1c5)][_0x521a51(0x1bc)](this[_0x521a51(0x1c5)][_0x521a51(0x1be)](_0x58061b),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4d11ab,_0x4a81ab){const _0x3f0394=_0x4131,_0x17cffa=_0x4d11ab();while(!![]){try{const _0x45f3d7=parseInt(_0x3f0394(0x16d))/0x1+parseInt(_0x3f0394(0x172))/0x2*(-parseInt(_0x3f0394(0x16a))/0x3)+-parseInt(_0x3f0394(0x175))/0x4*(-parseInt(_0x3f0394(0x16f))/0x5)+parseInt(_0x3f0394(0x170))/0x6+parseInt(_0x3f0394(0x16e))/0x7*(parseInt(_0x3f0394(0x16b))/0x8)+-parseInt(_0x3f0394(0x179))/0x9+parseInt(_0x3f0394(0x173))/0xa*(-parseInt(_0x3f0394(0x17a))/0xb);if(_0x45f3d7===_0x4a81ab)break;else _0x17cffa['push'](_0x17cffa['shift']());}catch(_0x457c53){_0x17cffa['push'](_0x17cffa['shift']());}}}(_0x1cce,0xbc0c1));import{cloneDeep as _0x383dc2,isEqual as _0x1faca6,isObject as _0x55d76f}from'lodash-es';export function getPositionShiftedBy(_0x25d6f4,_0x5a244c){const _0x436f9d=_0x4131,_0x307ed0=_0x383dc2(_0x25d6f4);return _0x307ed0[_0x436f9d(0x17b)][_0x307ed0[_0x436f9d(0x17b)][_0x436f9d(0x16c)]-0x1]+=_0x5a244c,_0x307ed0;}function _0x4131(_0x49bab3,_0x4c87a6){const _0x1cce6d=_0x1cce();return _0x4131=function(_0x4131ad,_0xabcc33){_0x4131ad=_0x4131ad-0x16a;let _0x137e5d=_0x1cce6d[_0x4131ad];return _0x137e5d;},_0x4131(_0x49bab3,_0x4c87a6);}export function arePositionsEqual(_0x19b8db,_0x18edf1){const _0x275a3d=_0x4131;return _0x19b8db[_0x275a3d(0x176)]===_0x18edf1[_0x275a3d(0x176)]&&_0x1faca6(_0x19b8db[_0x275a3d(0x17b)],_0x18edf1[_0x275a3d(0x17b)]);}export function parsePositionBeforeCompression(_0x2df49c){const _0x1c4975=_0x4131;P(_0x2df49c,_0x12fb5c=>(_0x1c4975(0x177)==_0x12fb5c[_0x1c4975(0x176)]?(_0x12fb5c[_0x1c4975(0x17c)]=!0x0,delete _0x12fb5c[_0x1c4975(0x176)]):_0x1c4975(0x174)==_0x12fb5c[_0x1c4975(0x176)]&&(_0x12fb5c[_0x1c4975(0x178)]=!0x0,delete _0x12fb5c[_0x1c4975(0x176)]),_0x12fb5c));}function _0x1cce(){const _0x125207=['16552kchzZA','root','main','rootGraveyard','6899463JIPFXC','47091PPFxIq','path','rootMain','410433SqTkSv','8192744BLyzzL','length','1039957PSvBLI','7eUnfFM','195ragVlK','4003356tIrkVU','nodes','14wdXawU','930lsJtHT','$graveyard'];_0x1cce=function(){return _0x125207;};return _0x1cce();}export function parsePositionAfterCompression(_0x53775c){const _0x63beed=_0x4131;P(_0x53775c,_0x42349f=>(_0x42349f[_0x63beed(0x17c)]?(_0x42349f[_0x63beed(0x176)]=_0x63beed(0x177),delete _0x42349f[_0x63beed(0x17c)]):_0x42349f[_0x63beed(0x178)]&&(_0x42349f[_0x63beed(0x176)]=_0x63beed(0x174),delete _0x42349f[_0x63beed(0x178)]),_0x42349f));}function P(_0x87c8bd,_0x5333f3){const _0x2eb235=_0x4131;for(const _0x37ac1d in _0x87c8bd){const _0x37deed=_0x87c8bd[_0x37ac1d];_0x2eb235(0x171)!==_0x37ac1d&&_0x55d76f(_0x37deed)&&(_0x37deed[_0x2eb235(0x17b)]&&(_0x37deed[_0x2eb235(0x176)]||_0x37deed[_0x2eb235(0x17c)]||_0x37deed[_0x2eb235(0x178)])?_0x87c8bd[_0x37ac1d]=_0x5333f3(_0x37deed):P(_0x37deed,_0x5333f3));}return _0x87c8bd;}
|