@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.14 → 42.0.0-alpha.15
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 +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 +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
|
+
function _0x3433(_0x2ce794,_0x2c60a3){var _0x3e1e84=_0x3e1e();return _0x3433=function(_0x3433f7,_0x3fc76b){_0x3433f7=_0x3433f7-0x1d9;var _0x4222b9=_0x3e1e84[_0x3433f7];return _0x4222b9;},_0x3433(_0x2ce794,_0x2c60a3);}var _0x5b3074=_0x3433;(function(_0x57a858,_0x2c8ff4){var _0x3d2b5c=_0x3433,_0x16599a=_0x57a858();while(!![]){try{var _0x566dc4=parseInt(_0x3d2b5c(0x1e3))/0x1*(-parseInt(_0x3d2b5c(0x1e0))/0x2)+-parseInt(_0x3d2b5c(0x1df))/0x3+-parseInt(_0x3d2b5c(0x1e4))/0x4+parseInt(_0x3d2b5c(0x1e8))/0x5+-parseInt(_0x3d2b5c(0x1e5))/0x6+parseInt(_0x3d2b5c(0x1dd))/0x7+-parseInt(_0x3d2b5c(0x1e2))/0x8*(-parseInt(_0x3d2b5c(0x1da))/0x9);if(_0x566dc4===_0x2c8ff4)break;else _0x16599a['push'](_0x16599a['shift']());}catch(_0x34a4af){_0x16599a['push'](_0x16599a['shift']());}}}(_0x3e1e,0x2c0c8));function _0x3e1e(){var _0x10329b=['push','522108teHHtE','_id','_operationName','2469173IOsxEC','types','752400cFpqSx','624178ndIjft','compress','88DSqaUl','1FOeEGR','573936IbCUHC','1063314RnEsXC','shift','decompress','365725rKtgAn'];_0x3e1e=function(){return _0x10329b;};return _0x3e1e();}import _0xc305c from'./operationcompressor.js';export default class p extends _0xc305c{[_0x5b3074(0x1e1)](_0x3e0269,_0x5245be){var _0x1b806e=_0x5b3074;return _0x5245be[_0x1b806e(0x1e6)](),_0x3e0269[_0x1b806e(0x1de)][_0x1b806e(0x1d9)](this[_0x1b806e(0x1db)]),!0x0;}[_0x5b3074(0x1e7)](_0x203d3d,_0x14e3f6){var _0x52495e=_0x5b3074;_0x14e3f6[_0x52495e(0x1de)][_0x52495e(0x1e6)](),_0x203d3d[_0x52495e(0x1d9)]({'__className':this[_0x52495e(0x1dc)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3111(_0x144cea,_0x1bafc3){const _0x42d24a=_0x42d2();return _0x3111=function(_0x311131,_0x3eaa59){_0x311131=_0x311131-0x77;let _0x127233=_0x42d24a[_0x311131];return _0x127233;},_0x3111(_0x144cea,_0x1bafc3);}const _0x3dfc99=_0x3111;(function(_0x13b078,_0x12d4af){const _0x458542=_0x3111,_0x46a593=_0x13b078();while(!![]){try{const _0x599453=-parseInt(_0x458542(0x87))/0x1*(parseInt(_0x458542(0x86))/0x2)+-parseInt(_0x458542(0x80))/0x3*(-parseInt(_0x458542(0x83))/0x4)+parseInt(_0x458542(0x8b))/0x5+-parseInt(_0x458542(0x7f))/0x6*(-parseInt(_0x458542(0x79))/0x7)+-parseInt(_0x458542(0x7e))/0x8*(-parseInt(_0x458542(0x82))/0x9)+-parseInt(_0x458542(0x81))/0xa+-parseInt(_0x458542(0x78))/0xb;if(_0x599453===_0x12d4af)break;else _0x46a593['push'](_0x46a593['shift']());}catch(_0x485ae1){_0x46a593['push'](_0x46a593['shift']());}}}(_0x42d2,0xf325a));import{parsePositionBeforeCompression as _0x1d474b,parsePositionAfterCompression as _0x5ea51a}from'../utils.js';export default class e{constructor(_0x5587bd,_0x5a2d1e,_0x427006){const _0x469551=_0x3111;this[_0x469551(0x8a)]=_0x5587bd,this[_0x469551(0x7d)]=_0x5a2d1e,this[_0x469551(0x84)]=_0x427006;}[_0x3dfc99(0x7c)](_0x51702d,_0x34b6eb){const _0x48b87b=_0x3dfc99,_0x5345af=_0x34b6eb[_0x48b87b(0x89)]();return _0x1d474b(_0x5345af),_0x51702d[_0x48b87b(0x88)][_0x48b87b(0x7a)](this[_0x48b87b(0x84)][_0x48b87b(0x7c)](_0x5345af)),_0x51702d[_0x48b87b(0x7b)][_0x48b87b(0x7a)](this[_0x48b87b(0x8a)]),!0x0;}[_0x3dfc99(0x85)](_0x1221f3,_0x2f426e){const _0x4afebf=_0x3dfc99;_0x2f426e[_0x4afebf(0x7b)][_0x4afebf(0x89)]();const _0x54863d=this[_0x4afebf(0x84)][_0x4afebf(0x85)](_0x2f426e[_0x4afebf(0x88)][_0x4afebf(0x89)]());_0x5ea51a(_0x54863d),_0x54863d[_0x4afebf(0x77)]=this[_0x4afebf(0x7d)],_0x1221f3[_0x4afebf(0x7a)](_0x54863d);}}function _0x42d2(){const _0x31ab74=['9XrdmQa','4ssoWkk','_protobufDescriptor','decompress','39548sgHZEh','30RVSQvC','buffers','shift','_id','2358880gMuwEa','__className','9911286dYcKbg','1472387bBqJmg','push','types','compress','_operationName','7288072ZJUWkq','42uzfSQo','3304446TFQGPW','14664780UvnshL'];_0x42d2=function(){return _0x31ab74;};return _0x42d2();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b64ea=_0x5c39;(function(_0x24ac01,_0x23a3ef){const _0x5a171f=_0x5c39,_0x15f273=_0x24ac01();while(!![]){try{const _0x31e921=parseInt(_0x5a171f(0x171))/0x1*(parseInt(_0x5a171f(0x168))/0x2)+parseInt(_0x5a171f(0x17a))/0x3*(parseInt(_0x5a171f(0x17b))/0x4)+parseInt(_0x5a171f(0x169))/0x5*(-parseInt(_0x5a171f(0x16a))/0x6)+-parseInt(_0x5a171f(0x16d))/0x7+-parseInt(_0x5a171f(0x173))/0x8*(-parseInt(_0x5a171f(0x174))/0x9)+-parseInt(_0x5a171f(0x167))/0xa*(-parseInt(_0x5a171f(0x16c))/0xb)+-parseInt(_0x5a171f(0x175))/0xc;if(_0x31e921===_0x23a3ef)break;else _0x15f273['push'](_0x15f273['shift']());}catch(_0x2ef95b){_0x15f273['push'](_0x15f273['shift']());}}}(_0x3383,0x748fb));import{messages as _0x58e973}from'./lib/compiledmessages.js';function _0x3383(){const _0x2cd3f5=['4054640cqIKIE','10kEDvgY','5dghNJc','1437828BgrcVd','_protobufRoot','11jphFQa','6565377PhrRzU','getDescriptor','_protobuf','finish','176751QCOnOR','compress','199696OPjiUT','72rjbvXu','2631228DSwZxb','encode','verify','toObject','create','6GbeFdt','770676arxlsc','decode','decompress'];_0x3383=function(){return _0x2cd3f5;};return _0x3383();}export default class r{constructor(){const _0x267846=_0x5c39;this[_0x267846(0x16b)]=_0x58e973;}[_0x3b64ea(0x16e)](_0x5abb1a){const _0x34fe0c=_0x3b64ea;return new ProtobufDescriptor(this[_0x34fe0c(0x16b)][_0x5abb1a]);}}function _0x5c39(_0x590357,_0x4ce4ff){const _0x3383eb=_0x3383();return _0x5c39=function(_0x5c3913,_0x4953c3){_0x5c3913=_0x5c3913-0x165;let _0x2c673d=_0x3383eb[_0x5c3913];return _0x2c673d;},_0x5c39(_0x590357,_0x4ce4ff);}export class ProtobufDescriptor{constructor(_0x210ba7){const _0x5a5943=_0x3b64ea;this[_0x5a5943(0x16f)]=_0x210ba7;}[_0x3b64ea(0x172)](_0x2cde8c){const _0x589f03=_0x3b64ea,_0x25c9db=this[_0x589f03(0x16f)][_0x589f03(0x177)](_0x2cde8c);if(_0x25c9db)throw Error(_0x25c9db);return this[_0x589f03(0x16f)][_0x589f03(0x176)](this[_0x589f03(0x16f)][_0x589f03(0x179)](_0x2cde8c))[_0x589f03(0x170)]();}[_0x3b64ea(0x166)](_0x2d6cad){const _0x13bda9=_0x3b64ea;return this[_0x13bda9(0x16f)][_0x13bda9(0x178)](this[_0x13bda9(0x16f)][_0x13bda9(0x165)](_0x2d6cad),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5c0b(){const _0x513bd8=['nodes','$graveyard','main','141957kvdlyE','189sSdsVR','279666jzdzjt','length','root','9728696egHqGx','rootMain','18kDBxbG','533375xYMgYi','15313250mUgHwc','rootGraveyard','123wkeCDJ','4238868GuJEJQ','path','21454vnkNtH'];_0x5c0b=function(){return _0x513bd8;};return _0x5c0b();}(function(_0xb3f479,_0x5bc91a){const _0x9e6b04=_0x5e3d,_0x5eccc8=_0xb3f479();while(!![]){try{const _0x4dd4eb=parseInt(_0x9e6b04(0x174))/0x1*(-parseInt(_0x9e6b04(0x177))/0x2)+-parseInt(_0x9e6b04(0x17b))/0x3+-parseInt(_0x9e6b04(0x175))/0x4+parseInt(_0x9e6b04(0x171))/0x5+parseInt(_0x9e6b04(0x17d))/0x6*(parseInt(_0x9e6b04(0x17c))/0x7)+-parseInt(_0x9e6b04(0x16e))/0x8+parseInt(_0x9e6b04(0x170))/0x9*(parseInt(_0x9e6b04(0x172))/0xa);if(_0x4dd4eb===_0x5bc91a)break;else _0x5eccc8['push'](_0x5eccc8['shift']());}catch(_0x56fc88){_0x5eccc8['push'](_0x5eccc8['shift']());}}}(_0x5c0b,0xbfb7e));import{cloneDeep as _0x2e631c,isEqual as _0xc77e38,isObject as _0x22fe56}from'lodash-es';export function getPositionShiftedBy(_0x2657ee,_0x43374b){const _0x2f4224=_0x5e3d,_0x3990f6=_0x2e631c(_0x2657ee);return _0x3990f6[_0x2f4224(0x176)][_0x3990f6[_0x2f4224(0x176)][_0x2f4224(0x16c)]-0x1]+=_0x43374b,_0x3990f6;}function _0x5e3d(_0x2bde96,_0x5f4652){const _0x5c0bc2=_0x5c0b();return _0x5e3d=function(_0x5e3dd7,_0x1d335c){_0x5e3dd7=_0x5e3dd7-0x16c;let _0x159ec6=_0x5c0bc2[_0x5e3dd7];return _0x159ec6;},_0x5e3d(_0x2bde96,_0x5f4652);}export function arePositionsEqual(_0x5ad2f6,_0x7f2ba3){const _0x51c869=_0x5e3d;return _0x5ad2f6[_0x51c869(0x16d)]===_0x7f2ba3[_0x51c869(0x16d)]&&_0xc77e38(_0x5ad2f6[_0x51c869(0x176)],_0x7f2ba3[_0x51c869(0x176)]);}export function parsePositionBeforeCompression(_0x188e44){const _0x658a60=_0x5e3d;P(_0x188e44,_0x149df6=>(_0x658a60(0x17a)==_0x149df6[_0x658a60(0x16d)]?(_0x149df6[_0x658a60(0x16f)]=!0x0,delete _0x149df6[_0x658a60(0x16d)]):_0x658a60(0x179)==_0x149df6[_0x658a60(0x16d)]&&(_0x149df6[_0x658a60(0x173)]=!0x0,delete _0x149df6[_0x658a60(0x16d)]),_0x149df6));}export function parsePositionAfterCompression(_0x32ea73){const _0x4880fc=_0x5e3d;P(_0x32ea73,_0x25cc1d=>(_0x25cc1d[_0x4880fc(0x16f)]?(_0x25cc1d[_0x4880fc(0x16d)]=_0x4880fc(0x17a),delete _0x25cc1d[_0x4880fc(0x16f)]):_0x25cc1d[_0x4880fc(0x173)]&&(_0x25cc1d[_0x4880fc(0x16d)]=_0x4880fc(0x179),delete _0x25cc1d[_0x4880fc(0x173)]),_0x25cc1d));}function P(_0x43a3a0,_0xba1379){const _0x1fdd51=_0x5e3d;for(const _0x3a25d0 in _0x43a3a0){const _0x41ae05=_0x43a3a0[_0x3a25d0];_0x1fdd51(0x178)!==_0x3a25d0&&_0x22fe56(_0x41ae05)&&(_0x41ae05[_0x1fdd51(0x176)]&&(_0x41ae05[_0x1fdd51(0x16d)]||_0x41ae05[_0x1fdd51(0x16f)]||_0x41ae05[_0x1fdd51(0x173)])?_0x43a3a0[_0x3a25d0]=_0xba1379(_0x41ae05):P(_0x41ae05,_0xba1379));}return _0x43a3a0;}
|