@ckeditor/ckeditor5-operations-compressor 44.0.0-alpha.7 → 44.0.0-alpha.9
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/LICENSE.md +8 -8
- package/README.md +9 -7
- 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 _0xdb504=_0xc245;function _0xc245(_0x32434e,_0x1794d3){var _0xd43fae=_0xd43f();return _0xc245=function(_0xc245b8,_0x19f6a1){_0xc245b8=_0xc245b8-0x141;var _0x50aaaa=_0xd43fae[_0xc245b8];return _0x50aaaa;},_0xc245(_0x32434e,_0x1794d3);}(function(_0x1cb66a,_0x32b6df){var _0x448726=_0xc245,_0x3e5caa=_0x1cb66a();while(!![]){try{var _0x51022b=-parseInt(_0x448726(0x144))/0x1+parseInt(_0x448726(0x14a))/0x2*(-parseInt(_0x448726(0x145))/0x3)+-parseInt(_0x448726(0x150))/0x4*(-parseInt(_0x448726(0x147))/0x5)+-parseInt(_0x448726(0x149))/0x6*(-parseInt(_0x448726(0x141))/0x7)+-parseInt(_0x448726(0x148))/0x8*(-parseInt(_0x448726(0x142))/0x9)+-parseInt(_0x448726(0x153))/0xa*(parseInt(_0x448726(0x14f))/0xb)+parseInt(_0x448726(0x151))/0xc;if(_0x51022b===_0x32b6df)break;else _0x3e5caa['push'](_0x3e5caa['shift']());}catch(_0x103e29){_0x3e5caa['push'](_0x3e5caa['shift']());}}}(_0xd43f,0xbccbc));function _0xd43f(){var _0x449094=['14607048tsrJbr','types','2401260tGFLRn','7fhSdrO','153iXlNSn','_operationName','111257ljhxvL','130551fcBjtG','_id','11755irHqVl','697608FfEOkM','2869752XRaNTO','62rSiiMZ','compress','shift','decompress','push','55jmuhJH','436VotekL'];_0xd43f=function(){return _0x449094;};return _0xd43f();}import _0x480e04 from'./operationcompressor.js';export default class p extends _0x480e04{[_0xdb504(0x14b)](_0x74bbbb,_0x24d74a){var _0x183abb=_0xdb504;return _0x24d74a[_0x183abb(0x14c)](),_0x74bbbb[_0x183abb(0x152)][_0x183abb(0x14e)](this[_0x183abb(0x146)]),!0x0;}[_0xdb504(0x14d)](_0x81fa53,_0xc9ccae){var _0x5c3ec2=_0xdb504;_0xc9ccae[_0x5c3ec2(0x152)][_0x5c3ec2(0x14c)](),_0x81fa53[_0x5c3ec2(0x14e)]({'__className':this[_0x5c3ec2(0x143)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x57a8(){const _0x2da35e=['1079556KBJXkg','32671716aePtlF','74926vZegEB','23LnCqYB','buffers','compress','5BJrNaL','_protobufDescriptor','986210EYDBbR','45963ExZWHF','_operationName','_id','76OcVVAi','types','decompress','__className','33xFooKR','push','7711308jgCqKx','shift','1736aFrshX','17059AwADIq'];_0x57a8=function(){return _0x2da35e;};return _0x57a8();}const _0x45d734=_0x5759;(function(_0x584356,_0x31f74b){const _0x2af4db=_0x5759,_0x1d245f=_0x584356();while(!![]){try{const _0x3093bc=parseInt(_0x2af4db(0x1e5))/0x1*(-parseInt(_0x2af4db(0x1e4))/0x2)+parseInt(_0x2af4db(0x1eb))/0x3*(-parseInt(_0x2af4db(0x1ee))/0x4)+-parseInt(_0x2af4db(0x1e8))/0x5*(-parseInt(_0x2af4db(0x1e2))/0x6)+parseInt(_0x2af4db(0x1e1))/0x7*(-parseInt(_0x2af4db(0x1e0))/0x8)+-parseInt(_0x2af4db(0x1de))/0x9+-parseInt(_0x2af4db(0x1ea))/0xa*(-parseInt(_0x2af4db(0x1dc))/0xb)+parseInt(_0x2af4db(0x1e3))/0xc;if(_0x3093bc===_0x31f74b)break;else _0x1d245f['push'](_0x1d245f['shift']());}catch(_0x2caf3e){_0x1d245f['push'](_0x1d245f['shift']());}}}(_0x57a8,0xa124b));import{parsePositionBeforeCompression as _0x5be06b,parsePositionAfterCompression as _0x52451c}from'../utils.js';function _0x5759(_0x356b50,_0x2511ca){const _0x57a837=_0x57a8();return _0x5759=function(_0x5759bc,_0x1bba43){_0x5759bc=_0x5759bc-0x1d9;let _0x4ae6a5=_0x57a837[_0x5759bc];return _0x4ae6a5;},_0x5759(_0x356b50,_0x2511ca);}export default class e{constructor(_0x2f83ba,_0x1305f6,_0x4bc585){const _0x2975a8=_0x5759;this[_0x2975a8(0x1ed)]=_0x2f83ba,this[_0x2975a8(0x1ec)]=_0x1305f6,this[_0x2975a8(0x1e9)]=_0x4bc585;}[_0x45d734(0x1e7)](_0x348bfa,_0x48d66c){const _0x28606d=_0x45d734,_0x545ad1=_0x48d66c[_0x28606d(0x1df)]();return _0x5be06b(_0x545ad1),_0x348bfa[_0x28606d(0x1e6)][_0x28606d(0x1dd)](this[_0x28606d(0x1e9)][_0x28606d(0x1e7)](_0x545ad1)),_0x348bfa[_0x28606d(0x1d9)][_0x28606d(0x1dd)](this[_0x28606d(0x1ed)]),!0x0;}[_0x45d734(0x1da)](_0x4b08d2,_0x57eea8){const _0x48193e=_0x45d734;_0x57eea8[_0x48193e(0x1d9)][_0x48193e(0x1df)]();const _0x2ecfb6=this[_0x48193e(0x1e9)][_0x48193e(0x1da)](_0x57eea8[_0x48193e(0x1e6)][_0x48193e(0x1df)]());_0x52451c(_0x2ecfb6),_0x2ecfb6[_0x48193e(0x1db)]=this[_0x48193e(0x1ec)],_0x4b08d2[_0x48193e(0x1dd)](_0x2ecfb6);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x34b9(_0x5566e3,_0x3ffd23){const _0x1bc445=_0x1bc4();return _0x34b9=function(_0x34b94a,_0x58c997){_0x34b94a=_0x34b94a-0x1b1;let _0x2a38e4=_0x1bc445[_0x34b94a];return _0x2a38e4;},_0x34b9(_0x5566e3,_0x3ffd23);}function _0x1bc4(){const _0x108dfd=['verify','24fYOzHz','toObject','5715730lTkVVL','compress','encode','_protobufRoot','6340128nRuyja','307079yRJVLG','5782944TuAjib','create','3364734rrlfvX','979137lCrnbC','decode','decompress','_protobuf','8678817jwxoWX','4BuQbVO','getDescriptor','finish'];_0x1bc4=function(){return _0x108dfd;};return _0x1bc4();}const _0x2ff9cd=_0x34b9;(function(_0x131b55,_0x237067){const _0x3e2f88=_0x34b9,_0x4e51cb=_0x131b55();while(!![]){try{const _0x3242cb=parseInt(_0x3e2f88(0x1ba))/0x1*(parseInt(_0x3e2f88(0x1c3))/0x2)+parseInt(_0x3e2f88(0x1bd))/0x3+-parseInt(_0x3e2f88(0x1bb))/0x4+parseInt(_0x3e2f88(0x1b5))/0x5+parseInt(_0x3e2f88(0x1b9))/0x6+-parseInt(_0x3e2f88(0x1c2))/0x7+-parseInt(_0x3e2f88(0x1b3))/0x8*(parseInt(_0x3e2f88(0x1be))/0x9);if(_0x3242cb===_0x237067)break;else _0x4e51cb['push'](_0x4e51cb['shift']());}catch(_0x560069){_0x4e51cb['push'](_0x4e51cb['shift']());}}}(_0x1bc4,0xe17e8));import{messages as _0x16f6bd}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x5ddc24=_0x34b9;this[_0x5ddc24(0x1b8)]=_0x16f6bd;}[_0x2ff9cd(0x1c4)](_0x1e4a75){const _0x1a73e1=_0x2ff9cd;return new ProtobufDescriptor(this[_0x1a73e1(0x1b8)][_0x1e4a75]);}}export class ProtobufDescriptor{constructor(_0xd7ff36){const _0x3ced08=_0x2ff9cd;this[_0x3ced08(0x1c1)]=_0xd7ff36;}[_0x2ff9cd(0x1b6)](_0x3a20ae){const _0x39f81e=_0x2ff9cd,_0x4acca3=this[_0x39f81e(0x1c1)][_0x39f81e(0x1b2)](_0x3a20ae);if(_0x4acca3)throw Error(_0x4acca3);return this[_0x39f81e(0x1c1)][_0x39f81e(0x1b7)](this[_0x39f81e(0x1c1)][_0x39f81e(0x1bc)](_0x3a20ae))[_0x39f81e(0x1b1)]();}[_0x2ff9cd(0x1c0)](_0x3a63e0){const _0x274a01=_0x2ff9cd;return this[_0x274a01(0x1c1)][_0x274a01(0x1b4)](this[_0x274a01(0x1c1)][_0x274a01(0x1bf)](_0x3a63e0),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf21b(){const _0x265b57=['main','5178015CkcULZ','2rOUuJx','4NGJYzM','917096OswzBG','rootGraveyard','length','nodes','7rThJJr','20ZnKIaN','2121657lnoQMU','$graveyard','path','3757062gtgrJz','2634620HGzqFM','root','rootMain','3797600YuZIjP','18080282ecCQeF'];_0xf21b=function(){return _0x265b57;};return _0xf21b();}(function(_0x1e8805,_0x397658){const _0x390e61=_0x25cd,_0x1766a6=_0x1e8805();while(!![]){try{const _0x564225=-parseInt(_0x390e61(0x15c))/0x1+parseInt(_0x390e61(0x15a))/0x2*(parseInt(_0x390e61(0x162))/0x3)+parseInt(_0x390e61(0x15b))/0x4*(parseInt(_0x390e61(0x166))/0x5)+-parseInt(_0x390e61(0x165))/0x6*(-parseInt(_0x390e61(0x160))/0x7)+-parseInt(_0x390e61(0x169))/0x8+parseInt(_0x390e61(0x159))/0x9*(-parseInt(_0x390e61(0x161))/0xa)+parseInt(_0x390e61(0x16a))/0xb;if(_0x564225===_0x397658)break;else _0x1766a6['push'](_0x1766a6['shift']());}catch(_0x447c12){_0x1766a6['push'](_0x1766a6['shift']());}}}(_0xf21b,0xeabec));import{cloneDeep as _0x5cc563,isEqual as _0x1399a,isObject as _0x3ef2b5}from'lodash-es';export function getPositionShiftedBy(_0x1ec1c5,_0xe04b59){const _0x220c8c=_0x25cd,_0x39047f=_0x5cc563(_0x1ec1c5);return _0x39047f[_0x220c8c(0x164)][_0x39047f[_0x220c8c(0x164)][_0x220c8c(0x15e)]-0x1]+=_0xe04b59,_0x39047f;}export function arePositionsEqual(_0x260172,_0x3e1ab0){const _0x14a67d=_0x25cd;return _0x260172[_0x14a67d(0x167)]===_0x3e1ab0[_0x14a67d(0x167)]&&_0x1399a(_0x260172[_0x14a67d(0x164)],_0x3e1ab0[_0x14a67d(0x164)]);}function _0x25cd(_0x2a4aa0,_0xf1d356){const _0xf21b0e=_0xf21b();return _0x25cd=function(_0x25cda9,_0x319a74){_0x25cda9=_0x25cda9-0x158;let _0x30989e=_0xf21b0e[_0x25cda9];return _0x30989e;},_0x25cd(_0x2a4aa0,_0xf1d356);}export function parsePositionBeforeCompression(_0x4f3200){const _0x1aa04e=_0x25cd;P(_0x4f3200,_0x49b4ee=>(_0x1aa04e(0x158)==_0x49b4ee[_0x1aa04e(0x167)]?(_0x49b4ee[_0x1aa04e(0x168)]=!0x0,delete _0x49b4ee[_0x1aa04e(0x167)]):_0x1aa04e(0x163)==_0x49b4ee[_0x1aa04e(0x167)]&&(_0x49b4ee[_0x1aa04e(0x15d)]=!0x0,delete _0x49b4ee[_0x1aa04e(0x167)]),_0x49b4ee));}export function parsePositionAfterCompression(_0x1ac2bf){const _0x57c913=_0x25cd;P(_0x1ac2bf,_0x3ae04e=>(_0x3ae04e[_0x57c913(0x168)]?(_0x3ae04e[_0x57c913(0x167)]=_0x57c913(0x158),delete _0x3ae04e[_0x57c913(0x168)]):_0x3ae04e[_0x57c913(0x15d)]&&(_0x3ae04e[_0x57c913(0x167)]=_0x57c913(0x163),delete _0x3ae04e[_0x57c913(0x15d)]),_0x3ae04e));}function P(_0x4c0789,_0x474547){const _0x525cbf=_0x25cd;for(const _0x58bb5c in _0x4c0789){const _0xeae2c2=_0x4c0789[_0x58bb5c];_0x525cbf(0x15f)!==_0x58bb5c&&_0x3ef2b5(_0xeae2c2)&&(_0xeae2c2[_0x525cbf(0x164)]&&(_0xeae2c2[_0x525cbf(0x167)]||_0xeae2c2[_0x525cbf(0x168)]||_0xeae2c2[_0x525cbf(0x15d)])?_0x4c0789[_0x58bb5c]=_0x474547(_0xeae2c2):P(_0xeae2c2,_0x474547));}return _0x4c0789;}
|