@ckeditor/ckeditor5-track-changes 41.2.0 → 41.2.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/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a614a=_0x12c6;(function(_0x4bab2b,_0x266022){const _0x4d0573=_0x12c6,_0x37af48=_0x4bab2b();while(!![]){try{const _0x2c2326=-parseInt(_0x4d0573(0x87))/0x1+-parseInt(_0x4d0573(0x81))/0x2*(-parseInt(_0x4d0573(0x80))/0x3)+-parseInt(_0x4d0573(0x8d))/0x4+-parseInt(_0x4d0573(0x72))/0x5*(-parseInt(_0x4d0573(0x70))/0x6)+parseInt(_0x4d0573(0x8f))/0x7+-parseInt(_0x4d0573(0x84))/0x8+-parseInt(_0x4d0573(0x7d))/0x9*(-parseInt(_0x4d0573(0x91))/0xa);if(_0x2c2326===_0x266022)break;else _0x37af48['push'](_0x37af48['shift']());}catch(_0x58b585){_0x37af48['push'](_0x37af48['shift']());}}}(_0x2d7b,0x7e865));import{ObservableMixin as _0x253df4}from'ckeditor5/src/utils.js';import{getTranslation as _0x3476f8}from'../utils/common-translations.js';function _0x2d7b(){const _0x5bf86a=['_discardCommand','plugins','isEnabled','_editor','isDirty','locale','destroy','_acceptCommand','243GowmsH','getRanges','change:isDirty','3wvSCJg','449838leOpuD','unbind','canDiscard','3049856rqqQuy','_setPendingAction','canAccept','926781nPwNAV','remove','acceptSuggestion','_pendingAction','get','model','3300508pSkqgR','view','328230bvEqJq','PendingActions','515890GTovru','add','PENDING_ACTION_SUGGESTION','commentThreadController','discardSuggestion','stopListening','canEditAt','commands','execute','6mkMwdK','_removePendingAction','4933365XyWkXZ','listenTo','bind'];_0x2d7b=function(){return _0x5bf86a;};return _0x2d7b();}function _0x12c6(_0x1716e1,_0x29a23c){const _0x2d7b1c=_0x2d7b();return _0x12c6=function(_0x12c61e,_0xdd85e){_0x12c61e=_0x12c61e-0x6e;let _0x5d910e=_0x2d7b1c[_0x12c61e];return _0x5d910e;},_0x12c6(_0x1716e1,_0x29a23c);}export default class Xt extends _0x253df4(){constructor(_0x37cb25,_0x5562d0,_0x5c8d26,_0x530e07){const _0x5ec45f=_0x12c6;super(),this[_0x5ec45f(0x8c)]=_0x5562d0,this[_0x5ec45f(0x8e)]=_0x5c8d26,this[_0x5ec45f(0x94)]=_0x530e07,this[_0x5ec45f(0x78)]=_0x37cb25,this[_0x5ec45f(0x7c)]=_0x37cb25[_0x5ec45f(0x6e)][_0x5ec45f(0x8b)](_0x5ec45f(0x89)),this[_0x5ec45f(0x75)]=_0x37cb25[_0x5ec45f(0x6e)][_0x5ec45f(0x8b)](_0x5ec45f(0x95)),this[_0x5ec45f(0x8e)][_0x5ec45f(0x74)](_0x5ec45f(0x77))['to'](this[_0x5ec45f(0x7c)],this[_0x5ec45f(0x75)],(_0x1149db,_0x282db7)=>_0x1149db||_0x282db7),this[_0x5ec45f(0x8e)][_0x5ec45f(0x74)](_0x5ec45f(0x86))['to'](this[_0x5ec45f(0x7c)],_0x5ec45f(0x77),_0x2d10a9=>_0x2d10a9&&this[_0x5ec45f(0x78)][_0x5ec45f(0x8c)][_0x5ec45f(0x97)](_0x5562d0[_0x5ec45f(0x7e)]())),this[_0x5ec45f(0x8e)][_0x5ec45f(0x74)](_0x5ec45f(0x83))['to'](this[_0x5ec45f(0x75)],_0x5ec45f(0x77),_0x23d591=>_0x23d591&&this[_0x5ec45f(0x78)][_0x5ec45f(0x8c)][_0x5ec45f(0x97)](_0x5562d0[_0x5ec45f(0x7e)]())),this[_0x5ec45f(0x8a)]=null,_0x5c8d26[_0x5ec45f(0x79)]&&this[_0x5ec45f(0x85)](),this[_0x5ec45f(0x73)](_0x5c8d26,_0x5ec45f(0x89),()=>this[_0x5ec45f(0x89)]()),this[_0x5ec45f(0x73)](_0x5c8d26,_0x5ec45f(0x95),()=>this[_0x5ec45f(0x95)]()),this[_0x5ec45f(0x73)](_0x5c8d26,_0x5ec45f(0x7f),()=>{const _0x4ba503=_0x5ec45f;_0x5c8d26[_0x4ba503(0x79)]?this[_0x4ba503(0x85)]():this[_0x4ba503(0x71)]();});}[_0x5a614a(0x89)](){const _0x505073=_0x5a614a;this[_0x505073(0x7c)][_0x505073(0x6f)](this[_0x505073(0x8c)]['id']);}[_0x5a614a(0x95)](){const _0x3bdf9c=_0x5a614a;this[_0x3bdf9c(0x75)][_0x3bdf9c(0x6f)](this[_0x3bdf9c(0x8c)]['id']);}[_0x5a614a(0x7b)](){const _0x550e30=_0x5a614a;this[_0x550e30(0x8e)][_0x550e30(0x82)](_0x550e30(0x77)),this[_0x550e30(0x8e)][_0x550e30(0x82)](_0x550e30(0x86)),this[_0x550e30(0x8e)][_0x550e30(0x82)](_0x550e30(0x83)),this[_0x550e30(0x96)](),this[_0x550e30(0x94)][_0x550e30(0x7b)](),this[_0x550e30(0x8a)]&&this[_0x550e30(0x71)]();}[_0x5a614a(0x85)](){const _0x4489e3=_0x5a614a,_0xf97ea4=_0x3476f8(this[_0x4489e3(0x78)][_0x4489e3(0x7a)],_0x4489e3(0x93));this[_0x4489e3(0x8a)]=this[_0x4489e3(0x78)][_0x4489e3(0x76)][_0x4489e3(0x8b)](_0x4489e3(0x90))[_0x4489e3(0x92)](_0xf97ea4);}[_0x5a614a(0x71)](){const _0x22e05b=_0x5a614a;null!==this[_0x22e05b(0x8a)]&&this[_0x22e05b(0x78)][_0x22e05b(0x76)][_0x22e05b(0x8b)](_0x22e05b(0x90))[_0x22e05b(0x88)](this[_0x22e05b(0x8a)]),this[_0x22e05b(0x8a)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50bd7f=_0x1f36;(function(_0xb3a448,_0x4e181a){const _0x297071=_0x1f36,_0x468be9=_0xb3a448();while(!![]){try{const _0x57aa06=parseInt(_0x297071(0x1a3))/0x1+-parseInt(_0x297071(0x1be))/0x2*(parseInt(_0x297071(0x197))/0x3)+-parseInt(_0x297071(0x18f))/0x4*(-parseInt(_0x297071(0x1a4))/0x5)+-parseInt(_0x297071(0x1c1))/0x6*(-parseInt(_0x297071(0x1aa))/0x7)+parseInt(_0x297071(0x1c2))/0x8*(parseInt(_0x297071(0x19d))/0x9)+-parseInt(_0x297071(0x1ab))/0xa*(-parseInt(_0x297071(0x1bd))/0xb)+-parseInt(_0x297071(0x19b))/0xc;if(_0x57aa06===_0x4e181a)break;else _0x468be9['push'](_0x468be9['shift']());}catch(_0x225083){_0x468be9['push'](_0x468be9['shift']());}}}(_0x46b5,0xde9a4));import{View as _0x20b957}from'ckeditor5/src/ui.js';function _0x1f36(_0x396e60,_0x3cc3ce){const _0x46b58e=_0x46b5();return _0x1f36=function(_0x1f360e,_0x3893d2){_0x1f360e=_0x1f360e-0x18e;let _0x61fd42=_0x46b58e[_0x1f360e];return _0x61fd42;},_0x1f36(_0x396e60,_0x3cc3ce);}function _0x46b5(){const _0x424a89=['canDiscard','60591pNMEXg','_config','addComment','canAccept','14751780sMcXUB','isReadOnly','63aUQkfb','setData','isActive','assign','destroy','CommentView','87070MqjNRI','6890gMBYto','length','fire','cancel','_createCommentThreadInputView','updateComment','16051qjRZbu','4278830RoKYdJ','element','submit','commentThreadInputView','isDirty','editorConfig','set','bind','_createCommentViews','locale','commentInputView','disableComments','removeComment','value','delegate','showInput','authoredAt','_localUser','33tEovpo','134mAmtDk','hasDirtyComment','commentsListView','1230WXPuoq','475504LRHNRj','focus','3592ZFFGKJ','isEnabled','editor','descriptionParts','_model','disabledSubmit','commentThread'];_0x46b5=function(){return _0x424a89;};return _0x46b5();}export default class es extends _0x20b957{constructor(_0x2c21da,_0x58df42,_0x30379f,_0x210b24){const _0x362e1a=_0x1f36;super(_0x2c21da),this[_0x362e1a(0x1c0)]=null,this[_0x362e1a(0x1ae)]=null,this[_0x362e1a(0x1b1)](_0x362e1a(0x19f),!0x1),this[_0x362e1a(0x1b1)](_0x362e1a(0x1bb),_0x58df42[_0x362e1a(0x1bb)]),this[_0x362e1a(0x1b2)](_0x362e1a(0x1bb))['to'](_0x58df42),this[_0x362e1a(0x1b1)](_0x362e1a(0x192),[]),this[_0x362e1a(0x1b1)](_0x362e1a(0x1af),!0x1),this[_0x362e1a(0x1b1)](_0x362e1a(0x190),!0x1),this[_0x362e1a(0x1b1)](_0x362e1a(0x19a),!0x1),this[_0x362e1a(0x1b1)](_0x362e1a(0x196),!0x1),this[_0x362e1a(0x193)]=_0x58df42,this[_0x362e1a(0x1bc)]=_0x30379f,this[_0x362e1a(0x198)]=_0x210b24,_0x210b24[_0x362e1a(0x1b6)]?this[_0x362e1a(0x1b1)](_0x362e1a(0x1a5),0x1):this[_0x362e1a(0x1b3)]();}[_0x50bd7f(0x18e)](){const _0x5f4c0c=_0x50bd7f;this[_0x5f4c0c(0x1ac)][_0x5f4c0c(0x18e)]();}[_0x50bd7f(0x1a1)](){const _0x5acc6e=_0x50bd7f;this[_0x5acc6e(0x1c0)]&&this[_0x5acc6e(0x1c0)][_0x5acc6e(0x1a1)](),this[_0x5acc6e(0x1ae)]&&this[_0x5acc6e(0x1ae)][_0x5acc6e(0x1a1)](),super[_0x5acc6e(0x1a1)]();}[_0x50bd7f(0x1b3)](){const _0x1e61b9=_0x50bd7f,{CommentsListView:_0x40b31c}=this[_0x1e61b9(0x198)];this[_0x1e61b9(0x1c0)]=new _0x40b31c(this[_0x1e61b9(0x1b4)],this[_0x1e61b9(0x193)][_0x1e61b9(0x195)],Object[_0x1e61b9(0x1a0)]({'CommentView':this[_0x1e61b9(0x198)][_0x1e61b9(0x1a2)]},this[_0x1e61b9(0x198)])),this[_0x1e61b9(0x1c0)][_0x1e61b9(0x1b9)](_0x1e61b9(0x1b7))['to'](this),this[_0x1e61b9(0x1c0)][_0x1e61b9(0x1b9)](_0x1e61b9(0x1a9))['to'](this),this[_0x1e61b9(0x1c0)][_0x1e61b9(0x1b2)](_0x1e61b9(0x19f))['to'](this),this[_0x1e61b9(0x1b1)](_0x1e61b9(0x1a5),this[_0x1e61b9(0x1c0)][_0x1e61b9(0x1a5)]+0x1),this[_0x1e61b9(0x1b2)](_0x1e61b9(0x1a5))['to'](this[_0x1e61b9(0x1c0)],_0x1e61b9(0x1a5),_0x3082fa=>_0x3082fa+0x1),this[_0x1e61b9(0x1ae)]=this[_0x1e61b9(0x1a8)](),this['on'](_0x1e61b9(0x1b7),()=>this[_0x1e61b9(0x18e)]()),this[_0x1e61b9(0x1b2)](_0x1e61b9(0x1af))['to'](this[_0x1e61b9(0x1c0)],_0x1e61b9(0x1bf),this[_0x1e61b9(0x1ae)][_0x1e61b9(0x1b5)],_0x1e61b9(0x1b8),(_0x520e08,_0x5a1321)=>_0x520e08||!!_0x5a1321);}[_0x50bd7f(0x1a8)](){const _0x5ae108=_0x50bd7f,{CommentThreadInputView:_0x471b9e}=this[_0x5ae108(0x198)],_0x325ebb=new _0x471b9e(this[_0x5ae108(0x1b4)],this[_0x5ae108(0x1bc)],this[_0x5ae108(0x198)][_0x5ae108(0x1b0)]),_0x2dcff0=_0x325ebb[_0x5ae108(0x1b5)];return _0x325ebb[_0x5ae108(0x1b2)](_0x5ae108(0x1ba))['to'](this,_0x5ae108(0x19f),this[_0x5ae108(0x193)][_0x5ae108(0x195)],_0x5ae108(0x19c),_0x2dcff0,_0x5ae108(0x1b8),(_0x3b053e,_0x1acdbe,_0x50c7fd)=>!!_0x50c7fd||_0x3b053e&&!_0x1acdbe),_0x2dcff0['on'](_0x5ae108(0x1ad),(_0x3d91d7,_0x2f566a)=>{const _0x1ee339=_0x5ae108;this[_0x1ee339(0x1a6)](_0x1ee339(0x199),_0x2f566a),_0x2dcff0[_0x1ee339(0x191)][_0x1ee339(0x19e)]('');}),_0x2dcff0['on'](_0x5ae108(0x1a7),()=>this[_0x5ae108(0x18e)]()),_0x2dcff0[_0x5ae108(0x1b2)](_0x5ae108(0x194))['to'](this[_0x5ae108(0x193)][_0x5ae108(0x195)],_0x5ae108(0x19c)),_0x325ebb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47374c=_0x13df;(function(_0x331e2b,_0x1420db){const _0x16db32=_0x13df,_0x4ad1da=_0x331e2b();while(!![]){try{const _0x5843d8=parseInt(_0x16db32(0x18b))/0x1*(parseInt(_0x16db32(0x182))/0x2)+-parseInt(_0x16db32(0x1aa))/0x3+parseInt(_0x16db32(0x196))/0x4+-parseInt(_0x16db32(0x1ad))/0x5*(parseInt(_0x16db32(0x19d))/0x6)+-parseInt(_0x16db32(0x1ca))/0x7*(parseInt(_0x16db32(0x199))/0x8)+parseInt(_0x16db32(0x1ba))/0x9+-parseInt(_0x16db32(0x17a))/0xa;if(_0x5843d8===_0x1420db)break;else _0x4ad1da['push'](_0x4ad1da['shift']());}catch(_0x13e88e){_0x4ad1da['push'](_0x4ad1da['shift']());}}}(_0x205d,0xbc181));import{getTranslation as _0x1b0372}from'../../utils/common-translations.js';import{default as _0x427f50}from'./basesuggestionthreadview.js';import{ButtonView as _0x498719}from'ckeditor5/src/ui.js';import{icons as _0x117c22}from'ckeditor5/src/core.js';import{trimHtml as _0x581aa9,UserView as _0x341325}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x13df(_0x344a31,_0x580d5){const _0x205d7b=_0x205d();return _0x13df=function(_0x13df2a,_0x1386e6){_0x13df2a=_0x13df2a-0x16a;let _0x84776b=_0x205d7b[_0x13df2a];return _0x84776b;},_0x13df(_0x344a31,_0x580d5);}export default class Yt extends _0x427f50{constructor(_0x1f5851,_0x1b02c3,_0x3a5ed9,_0x5db7fe){const _0x55dbc7=_0x13df;super(_0x1f5851,_0x1b02c3,_0x3a5ed9,_0x5db7fe),this[_0x55dbc7(0x18f)](_0x55dbc7(0x184),''),this[_0x55dbc7(0x174)](_0x55dbc7(0x184))['to'](this,_0x55dbc7(0x1b8),_0x8cba17=>_0x8cba17&&_0x8cba17[0x0]?_0x8cba17[0x0][_0x55dbc7(0x184)]:''),this[_0x55dbc7(0x174)](_0x55dbc7(0x1b6))['to'](this,_0x55dbc7(0x1b8),this,_0x55dbc7(0x181),(_0x2df13d,_0x3e260d)=>{const _0x488134=_0x55dbc7;let _0x4ca514='';for(const _0x461b5b of _0x2df13d)_0x4ca514+=_0x488134(0x1a0)+ds(_0x461b5b[_0x488134(0x191)],_0x461b5b[_0x488134(0x1b7)])+_0x488134(0x1a8);return _0x3e260d?_0x4ca514:_0x581aa9(_0x4ca514,{'limit':0x8c});}),this[_0x55dbc7(0x1bd)]=null,this[_0x55dbc7(0x1b3)]=this[_0x55dbc7(0x17f)](_0x1b0372(_0x1f5851,_0x55dbc7(0x1a5)),_0x117c22[_0x55dbc7(0x1cd)],_0x55dbc7(0x1c6),_0x55dbc7(0x19a),'sw'),this[_0x55dbc7(0x1b3)][_0x55dbc7(0x174)](_0x55dbc7(0x1bc))['to'](this,_0x55dbc7(0x16f)),this[_0x55dbc7(0x19c)]=this[_0x55dbc7(0x17f)](_0x1b0372(_0x1f5851,_0x55dbc7(0x180)),_0x117c22[_0x55dbc7(0x1c1)],_0x55dbc7(0x1d0),_0x55dbc7(0x1c2),'sw'),this[_0x55dbc7(0x19c)][_0x55dbc7(0x174)](_0x55dbc7(0x1bc))['to'](this,_0x55dbc7(0x170)),this[_0x55dbc7(0x1c9)]=new _0x341325(_0x1f5851,this[_0x55dbc7(0x187)][_0x55dbc7(0x197)],this[_0x55dbc7(0x1a2)]()),this[_0x55dbc7(0x1c9)][_0x55dbc7(0x194)]({'attributes':{'class':[_0x55dbc7(0x1a9),_0x55dbc7(0x1b5)]}}),this[_0x55dbc7(0x1c7)](this[_0x55dbc7(0x16d)]());}[_0x47374c(0x16d)](){const _0x312f75=_0x47374c,_0x415bb1=this[_0x312f75(0x1c5)],_0x44c159=[{'tag':_0x312f75(0x1a3),'attributes':{'class':[_0x312f75(0x173),_0x312f75(0x1af)]},'children':[{'tag':_0x312f75(0x17b),'children':[{'text':this[_0x312f75(0x1c9)][_0x312f75(0x1cf)]}],'attributes':{'class':[_0x312f75(0x1b2),_0x312f75(0x17c)]}},{'tag':_0x312f75(0x16a),'attributes':{'datetime':_0x415bb1['to'](_0x312f75(0x1a4)),'class':[_0x312f75(0x1a1),_0x312f75(0x1b4)]},'children':[{'text':_0x415bb1['to'](_0x312f75(0x1a4),_0x15e72d=>this[_0x312f75(0x18e)][_0x312f75(0x1ab)](_0x15e72d))}]}]},{'tag':_0x312f75(0x1a3),'attributes':{'class':[_0x312f75(0x1cb),_0x312f75(0x189)]},'children':[this[_0x312f75(0x1b3)],this[_0x312f75(0x19c)]]},{'tag':_0x312f75(0x1a3),'attributes':{'class':[_0x312f75(0x185)]}}];this[_0x312f75(0x187)][_0x312f75(0x190)]&&_0x44c159[_0x312f75(0x172)]({'tag':_0x312f75(0x1a3),'attributes':{'class':[_0x312f75(0x1d7)]},'children':[{'text':this[_0x312f75(0x1a6)]()}]});const _0x308202={'tag':_0x312f75(0x1a3),'attributes':{'class':[_0x312f75(0x1c3),_0x415bb1['if'](_0x312f75(0x181),_0x312f75(0x1a7)),_0x415bb1['to'](_0x312f75(0x184),_0x5816cd=>_0x312f75(0x186)+_0x5816cd),this[_0x312f75(0x18e)][_0x312f75(0x1c4)]&&_0x312f75(0x175)],'data-suggestion-id':this[_0x312f75(0x187)]['id'],'data-thread-id':this[_0x312f75(0x187)][_0x312f75(0x188)]['id'],'data-author-id':this[_0x312f75(0x187)][_0x312f75(0x197)]['id'],'tabindex':-0x1},'children':[{'tag':_0x312f75(0x1a3),'attributes':{'class':[_0x312f75(0x16b),_0x312f75(0x1ac)]},'children':[this[_0x312f75(0x1c9)],{'tag':_0x312f75(0x1a3),'attributes':{'class':[_0x312f75(0x1be),_0x312f75(0x179)]},'children':_0x44c159}]}]};return this[_0x312f75(0x18d)]&&this[_0x312f75(0x1ae)]&&(_0x308202[_0x312f75(0x1bb)][_0x312f75(0x172)](this[_0x312f75(0x18d)],this[_0x312f75(0x1ae)]),this[_0x312f75(0x18d)][_0x312f75(0x1d6)](_0x312f75(0x19f))['to'](this),this[_0x312f75(0x18d)][_0x312f75(0x1d6)](_0x312f75(0x18a))['to'](this),this[_0x312f75(0x1ae)][_0x312f75(0x1d6)](_0x312f75(0x19f))['to'](this),this[_0x312f75(0x1ae)][_0x312f75(0x1d6)](_0x312f75(0x18a))['to'](this)),_0x308202;}[_0x47374c(0x177)](){const _0x2bd8e5=_0x47374c;super[_0x2bd8e5(0x177)](),this[_0x2bd8e5(0x1bd)]=this[_0x2bd8e5(0x17d)][_0x2bd8e5(0x1d1)](_0x2bd8e5(0x1b1)),this[_0x2bd8e5(0x1bd)][_0x2bd8e5(0x192)]=this[_0x2bd8e5(0x1b6)],this['on'](_0x2bd8e5(0x1ce),(_0x45b648,_0x1c7991,_0x2e0517)=>{const _0x22a2b5=_0x2bd8e5;this[_0x22a2b5(0x1bd)][_0x22a2b5(0x192)]=_0x2e0517;});}[_0x47374c(0x17f)](_0x5a9574,_0x328d65,_0x524553,_0x4274f8,_0x4aab6c){const _0x37f632=_0x47374c,_0xd3508d=new _0x498719(this[_0x37f632(0x18c)]);return _0xd3508d[_0x37f632(0x18f)]({'label':_0x5a9574,'icon':_0x328d65,'tooltip':!0x0,'tooltipPosition':_0x4aab6c}),_0xd3508d[_0x37f632(0x194)]({'attributes':{'class':_0x524553}}),_0xd3508d['on'](_0x37f632(0x1c0),()=>{const _0x169e8f=_0x37f632;this[_0x169e8f(0x193)](_0x4274f8,this[_0x169e8f(0x187)]['id']);}),_0xd3508d;}[_0x47374c(0x1a6)](){const _0x1ea58d=_0x47374c;return _0x1ea58d(0x176)===this[_0x1ea58d(0x187)][_0x1ea58d(0x16e)][_0x1ea58d(0x16c)][_0x1ea58d(0x1c8)]?_0x1b0372(this[_0x1ea58d(0x18c)],_0x1ea58d(0x198)):_0x1b0372(this[_0x1ea58d(0x18c)],_0x1ea58d(0x1d2));}[_0x47374c(0x1a2)](){const _0x18bde3=_0x47374c;return this[_0x18bde3(0x187)][_0x18bde3(0x190)]?_0x18bde3(0x176)===this[_0x18bde3(0x187)][_0x18bde3(0x16e)][_0x18bde3(0x16c)][_0x18bde3(0x1c8)]?_0x1b0372(this[_0x18bde3(0x18c)],_0x18bde3(0x1d8),this[_0x18bde3(0x187)][_0x18bde3(0x19b)][_0x18bde3(0x1cf)]):_0x1b0372(this[_0x18bde3(0x18c)],_0x18bde3(0x1bf),this[_0x18bde3(0x187)][_0x18bde3(0x19b)][_0x18bde3(0x1cf)]):null;}}function ds(_0x325d58,_0x10129f){const _0x246c83=_0x47374c;let _0x1041e4='';return _0x1041e4+=_0x325d58[_0x246c83(0x178)]('*')[_0x246c83(0x1cc)]((_0xd22b0a,_0x5ac5a4)=>_0x5ac5a4%0x2!=0x0?_0x246c83(0x171)+us(_0xd22b0a)+_0x246c83(0x1b9):us(_0xd22b0a))[_0x246c83(0x195)](''),_0x10129f&&(_0x1041e4+=_0x246c83(0x183)+_0x10129f[_0x246c83(0x1d4)]+_0x246c83(0x1d3)+_0x10129f[_0x246c83(0x17e)]+_0x246c83(0x19e)),_0x1041e4;}function _0x205d(){const _0x44110b=['ck-suggestion--disabled-comments','importWord','render','split','ck-annotation__main','699550WWXAAc','span','ck-annotation__info-name','element','title','_createButton','Discard\x20suggestion','isActive','4zBIsem','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','type','ck-annotation__content-wrapper','ck-suggestion-','_model','commentThread','ck-annotation__actions','editorDestroyed','667240pHAnrJ','locale','commentsListView','_config','set','isExternal','content','innerHTML','fire','extendTemplate','join','2317692kzDxMi','author','EXTERNAL_IMPORT_WORD_SUGGESTION','8iqCFzU','acceptSuggestion','creator','discardButton','18hwiLmM','\x22></span>','editorReady','<p>','ck-comment__info-time','getUserViewNotificationText','div','authoredAt','Accept\x20suggestion','getExternalSuggestionNote','ck-suggestion-wrapper--active','</p>','ck-suggestion__user','2381427WttzWt','formatDateTime','ck-annotation','549365EcMrnf','commentThreadInputView','ck-annotation__info','innerText','.ck-annotation__content-wrapper','ck-suggestion__info-name','acceptButton','ck-annotation__info-time','ck-annotation__user','description','color','descriptionParts','</span>','3790089tNwhrV','children','isEnabled','_descriptionElement','ck-suggestion__main','EXTERNAL_AVATAR','execute','cancel','discardSuggestion','ck-suggestion-wrapper','disableComments','bindTemplate','ck-suggestion--accept','setTemplate','source','userView','2598456WcITva','ck-suggestion__actions','map','check','change:description','name','ck-suggestion--discard','querySelector','EXTERNAL_SUGGESTION','\x22\x20title=\x22','value','createElement','delegate','ck-comment__external','EXTERNAL_IMPORT_WORD_AVATAR','time','ck-suggestion','@external','getTemplate','attributes','canAccept','canDiscard','<span\x20class=\x22ck-suggestion-type\x22>','push','ck-suggestion__info','bind'];_0x205d=function(){return _0x44110b;};return _0x205d();}function us(_0x2c1a3f){const _0x51aa7b=_0x47374c,_0x3eca77=document[_0x51aa7b(0x1d5)](_0x51aa7b(0x17b));return _0x3eca77[_0x51aa7b(0x1b0)]=_0x2c1a3f,_0x3eca77[_0x51aa7b(0x192)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1427b3,_0x519ee8,_0x24c4d2){const t=_0x1427b3['t'];switch(_0x519ee8){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x24c4d2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x24c4d2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x24c4d2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x24c4d2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x24c4d2);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x24c4d2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x24c4d2);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x24c4d2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x24c4d2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x24c4d2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x24c4d2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x24c4d2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x24c4d2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x24c4d2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x24c4d2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x24c4d2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x24c4d2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x24c4d2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x24c4d2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x24c4d2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x24c4d2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x24c4d2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x24c4d2);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x24c4d2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x24c4d2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x24c4d2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x24c4d2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x24c4d2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x24c4d2);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x24c4d2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x24c4d2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x24c4d2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x24c4d2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x24c4d2);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x24c4d2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x24c4d2);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x24c4d2);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x24c4d2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x24c4d2);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x24c4d2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x24c4d2);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x24c4d2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x24c4d2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x24c4d2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x24c4d2);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x24c4d2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x519ee8;}}
|
|
23
|
+
export function getTranslation(_0x21ef91,_0xda70cb,_0x17d520){const t=_0x21ef91['t'];switch(_0xda70cb){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x17d520);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x17d520);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x17d520);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x17d520);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x17d520);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x17d520);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x17d520);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x17d520);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x17d520);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x17d520);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x17d520);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x17d520);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x17d520);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x17d520);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x17d520);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x17d520);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x17d520);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x17d520);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x17d520);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x17d520);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x17d520);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x17d520);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x17d520);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x17d520);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x17d520);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x17d520);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x17d520);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x17d520);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x17d520);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x17d520);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x17d520);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x17d520);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x17d520);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x17d520);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x17d520);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x17d520);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x17d520);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x17d520);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x17d520);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x17d520);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x17d520);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x17d520);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x17d520);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x17d520);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x17d520);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x17d520);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0xda70cb;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5b10a6,_0x35265c){const _0x3c73db=_0x5c41,_0x48322e=_0x5b10a6();while(!![]){try{const _0x13fd71=-parseInt(_0x3c73db(0x1e3))/0x1+parseInt(_0x3c73db(0x1e7))/0x2*(parseInt(_0x3c73db(0x1ed))/0x3)+parseInt(_0x3c73db(0x1f0))/0x4*(-parseInt(_0x3c73db(0x1f5))/0x5)+parseInt(_0x3c73db(0x1e6))/0x6+parseInt(_0x3c73db(0x1d5))/0x7*(parseInt(_0x3c73db(0x1de))/0x8)+-parseInt(_0x3c73db(0x1f6))/0x9*(-parseInt(_0x3c73db(0x1f3))/0xa)+-parseInt(_0x3c73db(0x1d0))/0xb*(parseInt(_0x3c73db(0x1ce))/0xc);if(_0x13fd71===_0x35265c)break;else _0x48322e['push'](_0x48322e['shift']());}catch(_0x5ef2fe){_0x48322e['push'](_0x48322e['shift']());}}}(_0x2025,0x8143c));export function normalizeDescription(_0x3d9e77){const _0x52d13d=_0x5c41;return Array[_0x52d13d(0x1d8)](_0x3d9e77)||(_0x3d9e77=[_0x3d9e77]),_0x3d9e77[_0x52d13d(0x1f8)](_0x2ecf42=>{const _0x1c4ee3=_0x52d13d,_0x49d671=_0x2ecf42[_0x1c4ee3(0x1e5)][_0x1c4ee3(0x1d9)](/\*/g,''),_0x5b5922=_0x2ecf42[_0x1c4ee3(0x1e8)]?_0x1c4ee3(0x1d2)+_0x2ecf42[_0x1c4ee3(0x1e8)][_0x1c4ee3(0x1d4)]+']':'';return'['+_0x2ecf42[_0x1c4ee3(0x1dd)]+']\x20'+_0x49d671+_0x5b5922;})[_0x52d13d(0x1e9)](';\x20');}export function sortSuggestions(_0x30a8d7){const _0x410b7a=_0x5c41;return _0x30a8d7[_0x410b7a(0x1df)]((_0x442077,_0x407a82)=>_0x410b7a(0x1f1)==_0x442077[_0x410b7a(0x1dd)]&&_0x410b7a(0x1f1)!=_0x407a82[_0x410b7a(0x1dd)]?-0x1:_0x410b7a(0x1f1)!=_0x442077[_0x410b7a(0x1dd)]&&_0x410b7a(0x1f1)==_0x407a82[_0x410b7a(0x1dd)]?0x1:0x0);}export function getSelectedSuggestions(_0x4400f3,_0x455686){const _0x3e5ede=_0x5c41,_0x519550=Array[_0x3e5ede(0x1d3)](_0x4400f3[_0x3e5ede(0x1db)]()),_0xcc32c4=new Set();for(const _0x1a9f19 of _0x455686)if(_0x1a9f19[_0x3e5ede(0x1e4)]){for(const _0x7d6370 of _0x519550)for(const _0x29f183 of _0x1a9f19[_0x3e5ede(0x1db)]())(_0x7d6370[_0x3e5ede(0x1ec)](_0x29f183)||_0x4400f3[_0x3e5ede(0x1e0)]&&!_0x1a9f19[_0x3e5ede(0x1cc)]&&_0x1a9f19[_0x3e5ede(0x1cd)]&&_0x29f183[_0x3e5ede(0x1dc)][_0x3e5ede(0x1ea)](_0x7d6370[_0x3e5ede(0x1d1)]))&&_0xcc32c4[_0x3e5ede(0x1d7)](_0x1a9f19);}return _0xcc32c4;}function _0x5c41(_0x333c14,_0x3206c3){const _0x202544=_0x2025();return _0x5c41=function(_0x5c41ba,_0x4da4f7){_0x5c41ba=_0x5c41ba-0x1cc;let _0x4421ad=_0x202544[_0x5c41ba];return _0x4421ad;},_0x5c41(_0x333c14,_0x3206c3);}export function getRangesOfBlockGroups(_0xaa97d6,_0x42ef0f){const _0x273ade=_0x5c41;let _0x2899f7,_0x87d768=0x0;const _0x41f6a6=[],_0x2a144a=_0x42ef0f[_0x273ade(0x1f7)];for(;_0x87d768<_0xaa97d6[_0x273ade(0x1f4)];){const _0x48b6f5=_0xaa97d6[_0x87d768],_0x43e0c7=_0xaa97d6[_0x87d768+0x1];_0x2899f7||(_0x2899f7=_0x42ef0f[_0x273ade(0x1da)](_0x48b6f5)),co(_0x42ef0f,_0x48b6f5,_0x43e0c7)||(_0x41f6a6[_0x273ade(0x1cf)](_0x42ef0f[_0x273ade(0x1ef)](_0x2899f7,_0x2a144a[_0x273ade(0x1d6)](_0x48b6f5)?_0x42ef0f[_0x273ade(0x1f2)](_0x48b6f5):_0x42ef0f[_0x273ade(0x1e1)](_0x48b6f5,_0x273ade(0x1dc)))),_0x2899f7=null),_0x87d768++;}return _0x41f6a6;}function _0x2025(){const _0x46caa=['length','35RWWcdB','1665uzjmYP','schema','map','isMultiRange','next','11208fdCqnS','push','19954DXfWlk','start','\x20[color\x20','from','value','7LGnLqX','isObject','add','isArray','replace','createPositionBefore','getRanges','end','type','6125224zyTctN','sort','isCollapsed','createPositionAt','execute','498916EnJBeh','isInContent','content','4104288xvOyNz','2062402OXiSWQ','color','join','isTouching','change','isIntersecting','3hlnuRA','splice','createRange','74444pFOPNX','deletion','createPositionAfter','20110Qubbos'];_0x2025=function(){return _0x46caa;};return _0x2025();}function co(_0x53d349,_0x595122,_0x556b6a){const _0x102e8b=_0x5c41;if(!_0x556b6a)return!0x1;const _0x567931=_0x53d349[_0x102e8b(0x1f2)](_0x595122),_0x4d73a7=_0x53d349[_0x102e8b(0x1da)](_0x556b6a);return _0x567931[_0x102e8b(0x1ea)](_0x4d73a7);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x45455a,_0xc758b8,_0x1404fb){const _0x3c9587=_0x5c41;for(;_0x1404fb[_0x3c9587(0x1f4)];){const _0x59dc2e=_0x1404fb[_0x3c9587(0x1ee)](0x0,0x64);_0x45455a[_0x3c9587(0x1eb)](()=>{const _0x15a089=_0x3c9587;for(const _0x4c07d6 of _0x59dc2e)_0x4c07d6[_0x15a089(0x1e4)]&&_0xc758b8[_0x15a089(0x1e2)](_0x4c07d6['id']);});}}
|