@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240319.1 → 0.0.0-nightly-20240321.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/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
|
-
const
|
|
23
|
+
const _0x53f996=_0x5bd3;function _0x5bd3(_0xb2b144,_0x2c872a){const _0x562179=_0x5621();return _0x5bd3=function(_0x5bd399,_0x3628cc){_0x5bd399=_0x5bd399-0x1c8;let _0x3637d3=_0x562179[_0x5bd399];return _0x3637d3;},_0x5bd3(_0xb2b144,_0x2c872a);}(function(_0xca5afc,_0x19c6f5){const _0x3f9b58=_0x5bd3,_0x5935f2=_0xca5afc();while(!![]){try{const _0x50055e=parseInt(_0x3f9b58(0x1da))/0x1+-parseInt(_0x3f9b58(0x1cc))/0x2*(-parseInt(_0x3f9b58(0x1cf))/0x3)+-parseInt(_0x3f9b58(0x1f0))/0x4*(-parseInt(_0x3f9b58(0x1ef))/0x5)+-parseInt(_0x3f9b58(0x1c9))/0x6*(-parseInt(_0x3f9b58(0x1d0))/0x7)+parseInt(_0x3f9b58(0x1d5))/0x8*(-parseInt(_0x3f9b58(0x1e9))/0x9)+-parseInt(_0x3f9b58(0x1d4))/0xa*(parseInt(_0x3f9b58(0x1cb))/0xb)+-parseInt(_0x3f9b58(0x1d9))/0xc*(parseInt(_0x3f9b58(0x1e0))/0xd);if(_0x50055e===_0x19c6f5)break;else _0x5935f2['push'](_0x5935f2['shift']());}catch(_0x1c901d){_0x5935f2['push'](_0x5935f2['shift']());}}}(_0x5621,0x36d48));import{ObservableMixin as _0x239f89}from'ckeditor5/src/utils.js';import{getTranslation as _0x161de9}from'../utils/common-translations.js';export default class Xt extends _0x239f89(){constructor(_0x14c957,_0x4d7bab,_0x4378f6,_0x576013){const _0xd78655=_0x5bd3;super(),this[_0xd78655(0x1ec)]=_0x4d7bab,this[_0xd78655(0x1f1)]=_0x4378f6,this[_0xd78655(0x1ed)]=_0x576013,this[_0xd78655(0x1db)]=_0x14c957,this[_0xd78655(0x1d6)]=_0x14c957[_0xd78655(0x1f2)][_0xd78655(0x1df)](_0xd78655(0x1e6)),this[_0xd78655(0x1f4)]=_0x14c957[_0xd78655(0x1f2)][_0xd78655(0x1df)](_0xd78655(0x1e5)),this[_0xd78655(0x1f1)][_0xd78655(0x1e4)](_0xd78655(0x1d7))['to'](this[_0xd78655(0x1d6)],this[_0xd78655(0x1f4)],(_0x360f09,_0x510279)=>_0x360f09||_0x510279),this[_0xd78655(0x1f1)][_0xd78655(0x1e4)](_0xd78655(0x1e2))['to'](this[_0xd78655(0x1d6)],_0xd78655(0x1d7),_0x445ac7=>_0x445ac7&&this[_0xd78655(0x1db)][_0xd78655(0x1ec)][_0xd78655(0x1d2)](_0x4d7bab[_0xd78655(0x1ee)]())),this[_0xd78655(0x1f1)][_0xd78655(0x1e4)](_0xd78655(0x1ca))['to'](this[_0xd78655(0x1f4)],_0xd78655(0x1d7),_0x66b948=>_0x66b948&&this[_0xd78655(0x1db)][_0xd78655(0x1ec)][_0xd78655(0x1d2)](_0x4d7bab[_0xd78655(0x1ee)]())),this[_0xd78655(0x1e3)]=null,_0x4378f6[_0xd78655(0x1d1)]&&this[_0xd78655(0x1dd)](),this[_0xd78655(0x1d3)](_0x4378f6,_0xd78655(0x1e6),()=>this[_0xd78655(0x1e6)]()),this[_0xd78655(0x1d3)](_0x4378f6,_0xd78655(0x1e5),()=>this[_0xd78655(0x1e5)]()),this[_0xd78655(0x1d3)](_0x4378f6,_0xd78655(0x1dc),()=>{const _0x2d314b=_0xd78655;_0x4378f6[_0x2d314b(0x1d1)]?this[_0x2d314b(0x1dd)]():this[_0x2d314b(0x1e1)]();});}[_0x53f996(0x1e6)](){const _0x14205d=_0x53f996;this[_0x14205d(0x1d6)][_0x14205d(0x1eb)](this[_0x14205d(0x1ec)]['id']);}[_0x53f996(0x1e5)](){const _0xf43313=_0x53f996;this[_0xf43313(0x1f4)][_0xf43313(0x1eb)](this[_0xf43313(0x1ec)]['id']);}[_0x53f996(0x1e8)](){const _0xd78b74=_0x53f996;this[_0xd78b74(0x1f1)][_0xd78b74(0x1cd)](_0xd78b74(0x1d7)),this[_0xd78b74(0x1f1)][_0xd78b74(0x1cd)](_0xd78b74(0x1e2)),this[_0xd78b74(0x1f1)][_0xd78b74(0x1cd)](_0xd78b74(0x1ca)),this[_0xd78b74(0x1e7)](),this[_0xd78b74(0x1ed)][_0xd78b74(0x1e8)](),this[_0xd78b74(0x1e3)]&&this[_0xd78b74(0x1e1)]();}[_0x53f996(0x1dd)](){const _0x1af652=_0x53f996,_0x25c44c=_0x161de9(this[_0x1af652(0x1db)][_0x1af652(0x1ce)],_0x1af652(0x1f3));this[_0x1af652(0x1e3)]=this[_0x1af652(0x1db)][_0x1af652(0x1c8)][_0x1af652(0x1df)](_0x1af652(0x1d8))[_0x1af652(0x1de)](_0x25c44c);}[_0x53f996(0x1e1)](){const _0x2a67b4=_0x53f996;null!==this[_0x2a67b4(0x1e3)]&&this[_0x2a67b4(0x1db)][_0x2a67b4(0x1c8)][_0x2a67b4(0x1df)](_0x2a67b4(0x1d8))[_0x2a67b4(0x1ea)](this[_0x2a67b4(0x1e3)]),this[_0x2a67b4(0x1e3)]=null;}}function _0x5621(){const _0x2d6d64=['342174DdevWd','_editor','change:isDirty','_setPendingAction','add','get','78zDkxMS','_removePendingAction','canAccept','_pendingAction','bind','discardSuggestion','acceptSuggestion','stopListening','destroy','807984uAmZwY','remove','execute','model','commentThreadController','getRanges','905oIcNot','3112vHfIqq','view','commands','PENDING_ACTION_SUGGESTION','_discardCommand','plugins','2605686OUWVwx','canDiscard','363pbNVSm','2cAsOmU','unbind','locale','841224SGxItO','7DruWYe','isDirty','canEditAt','listenTo','21310CKrmwt','16sypkNj','_acceptCommand','isEnabled','PendingActions','1446444PKVPoF'];_0x5621=function(){return _0x2d6d64;};return _0x5621();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e104f=_0x3856;(function(_0xc67b09,_0x32b091){const _0x5ce662=_0x3856,_0x2540ce=_0xc67b09();while(!![]){try{const _0x213d49=parseInt(_0x5ce662(0x11e))/0x1+-parseInt(_0x5ce662(0x11b))/0x2+parseInt(_0x5ce662(0x119))/0x3+-parseInt(_0x5ce662(0xfc))/0x4+parseInt(_0x5ce662(0x103))/0x5*(parseInt(_0x5ce662(0xf5))/0x6)+-parseInt(_0x5ce662(0xef))/0x7*(parseInt(_0x5ce662(0x104))/0x8)+parseInt(_0x5ce662(0xf8))/0x9*(parseInt(_0x5ce662(0x107))/0xa);if(_0x213d49===_0x32b091)break;else _0x2540ce['push'](_0x2540ce['shift']());}catch(_0xb9510){_0x2540ce['push'](_0x2540ce['shift']());}}}(_0x5bfe,0x86790));function _0x3856(_0x3a406d,_0x37cf5f){const _0x5bfe78=_0x5bfe();return _0x3856=function(_0x385632,_0x31202d){_0x385632=_0x385632-0xee;let _0x1d832c=_0x5bfe78[_0x385632];return _0x1d832c;},_0x3856(_0x3a406d,_0x37cf5f);}import{View as _0x208dfc}from'ckeditor5/src/ui.js';export default class es extends _0x208dfc{constructor(_0x2b8917,_0x108429,_0x10ac84,_0x511e82){const _0x302f1c=_0x3856;super(_0x2b8917),this[_0x302f1c(0xfb)]=null,this[_0x302f1c(0x101)]=null,this[_0x302f1c(0x120)](_0x302f1c(0x11f),!0x1),this[_0x302f1c(0x120)](_0x302f1c(0x110),_0x108429[_0x302f1c(0x110)]),this[_0x302f1c(0xfe)](_0x302f1c(0x110))['to'](_0x108429),this[_0x302f1c(0x120)](_0x302f1c(0x10b),[]),this[_0x302f1c(0x120)](_0x302f1c(0x113),!0x1),this[_0x302f1c(0x120)](_0x302f1c(0x116),!0x1),this[_0x302f1c(0x120)](_0x302f1c(0xf7),!0x1),this[_0x302f1c(0x120)](_0x302f1c(0x108),!0x1),this[_0x302f1c(0x106)]=_0x108429,this[_0x302f1c(0x10f)]=_0x10ac84,this[_0x302f1c(0x11a)]=_0x511e82,_0x511e82[_0x302f1c(0x100)]?this[_0x302f1c(0x120)](_0x302f1c(0x10d),0x1):this[_0x302f1c(0xf0)]();}[_0x2e104f(0xf1)](){const _0x23c21c=_0x2e104f;this[_0x23c21c(0xff)][_0x23c21c(0xf1)]();}[_0x2e104f(0xf3)](){const _0x5f1418=_0x2e104f;this[_0x5f1418(0xfb)]&&this[_0x5f1418(0xfb)][_0x5f1418(0xf3)](),this[_0x5f1418(0x101)]&&this[_0x5f1418(0x101)][_0x5f1418(0xf3)](),super[_0x5f1418(0xf3)]();}[_0x2e104f(0xf0)](){const _0x3ef8da=_0x2e104f,{CommentsListView:_0x1f5b20}=this[_0x3ef8da(0x11a)];this[_0x3ef8da(0xfb)]=new _0x1f5b20(this[_0x3ef8da(0x11c)],this[_0x3ef8da(0x106)][_0x3ef8da(0xf6)],Object[_0x3ef8da(0x11d)]({'CommentView':this[_0x3ef8da(0x11a)][_0x3ef8da(0xfd)]},this[_0x3ef8da(0x11a)])),this[_0x3ef8da(0xfb)][_0x3ef8da(0xf9)](_0x3ef8da(0x111))['to'](this),this[_0x3ef8da(0xfb)][_0x3ef8da(0xf9)](_0x3ef8da(0x10a))['to'](this),this[_0x3ef8da(0xfb)][_0x3ef8da(0xfe)](_0x3ef8da(0x11f))['to'](this),this[_0x3ef8da(0x120)](_0x3ef8da(0x10d),this[_0x3ef8da(0xfb)][_0x3ef8da(0x10d)]+0x1),this[_0x3ef8da(0xfe)](_0x3ef8da(0x10d))['to'](this[_0x3ef8da(0xfb)],_0x3ef8da(0x10d),_0x143388=>_0x143388+0x1),this[_0x3ef8da(0x101)]=this[_0x3ef8da(0x114)](),this['on'](_0x3ef8da(0x111),()=>this[_0x3ef8da(0xf1)]()),this[_0x3ef8da(0xfe)](_0x3ef8da(0x113))['to'](this[_0x3ef8da(0xfb)],_0x3ef8da(0xf4),this[_0x3ef8da(0x101)][_0x3ef8da(0x105)],_0x3ef8da(0xfa),(_0x5107f2,_0x456aed)=>_0x5107f2||!!_0x456aed);}[_0x2e104f(0x114)](){const _0x4a7e71=_0x2e104f,{CommentThreadInputView:_0x16edbf}=this[_0x4a7e71(0x11a)],_0x29759b=new _0x16edbf(this[_0x4a7e71(0x11c)],this[_0x4a7e71(0x10f)],this[_0x4a7e71(0x11a)][_0x4a7e71(0x109)]),_0x385049=_0x29759b[_0x4a7e71(0x105)];return _0x29759b[_0x4a7e71(0xfe)](_0x4a7e71(0x112))['to'](this,_0x4a7e71(0x11f),this[_0x4a7e71(0x106)][_0x4a7e71(0xf6)],_0x4a7e71(0x102),_0x385049,_0x4a7e71(0xfa),(_0x16dbf0,_0x267294,_0x37c85c)=>!!_0x37c85c||_0x16dbf0&&!_0x267294),_0x385049['on'](_0x4a7e71(0xf2),(_0x1450e1,_0x1959b8)=>{const _0xda0588=_0x4a7e71;this[_0xda0588(0xee)](_0xda0588(0x115),_0x1959b8),_0x385049[_0xda0588(0x118)][_0xda0588(0x10e)]('');}),_0x385049['on'](_0x4a7e71(0x117),()=>this[_0x4a7e71(0xf1)]()),_0x385049[_0x4a7e71(0xfe)](_0x4a7e71(0x10c))['to'](this[_0x4a7e71(0x106)][_0x4a7e71(0xf6)],_0x4a7e71(0x102)),_0x29759b;}}function _0x5bfe(){const _0x4ebdc2=['submit','destroy','hasDirtyComment','23766pEOUem','commentThread','canAccept','18DIfGxb','delegate','value','commentsListView','2396412NhQRpn','CommentView','bind','element','disableComments','commentThreadInputView','isReadOnly','55rrDdqX','1144VwWfaW','commentInputView','_model','4039050NaGNwa','canDiscard','editorConfig','updateComment','descriptionParts','disabledSubmit','length','setData','_localUser','authoredAt','removeComment','showInput','isDirty','_createCommentThreadInputView','addComment','isEnabled','cancel','editor','1762536cxtuTa','_config','183582LLiJUC','locale','assign','623192cmmpab','isActive','set','fire','40159lgJZDN','_createCommentViews','focus'];_0x5bfe=function(){return _0x4ebdc2;};return _0x5bfe();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25bdd9=_0x2cc0;function _0x46f9(){const _0x387449=['map','description','71ASVnep','title','ck-suggestion-','EXTERNAL_IMPORT_WORD_SUGGESTION','<p>','render','execute','Discard\x20suggestion','getTemplate','authoredAt','check','ck-annotation__user','change:description','_model','editorDestroyed','ck-suggestion__actions','disableComments','ck-suggestion-wrapper--active','156165GszEPF','setTemplate','4466043uKxqIB','ck-suggestion__info','attributes','ck-comment__external','div','EXTERNAL_AVATAR','author','canAccept','</p>','canDiscard','userView','cancel','EXTERNAL_SUGGESTION','735128FNJxCa','getUserViewNotificationText','\x22\x20title=\x22','innerHTML','44gLRkBx','value','name','isExternal','commentThreadInputView','_createButton','createElement','15924bhODBA','split','isActive','delegate','_config','ck-suggestion__main','ck-annotation__info-time','set','ck-suggestion','ck-annotation','ck-annotation__info-name','content','11410crMLUX','element','Accept\x20suggestion','2821CrdVAN','querySelector','ck-suggestion--discard','.ck-annotation__content-wrapper','isEnabled','bind','getExternalSuggestionNote','5346xZtmjK','\x22></span>','importWord','span','ck-annotation__info','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__content-wrapper','extendTemplate','join','ck-suggestion__info-name','ck-suggestion__user','color','push','locale','ck-suggestion-wrapper','acceptButton','commentThread','ck-suggestion--accept','1229463waBYuX','@external','descriptionParts','source','innerText','bindTemplate','acceptSuggestion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-comment__info-time','1830MqSLRI','time','</span>','editorReady','ck-annotation__main','ck-annotation__actions','children','_descriptionElement','discardSuggestion','discardButton','fire','<span\x20class=\x22ck-suggestion-type\x22>','creator','ck-suggestion--disabled-comments','formatDateTime','commentsListView','type'];_0x46f9=function(){return _0x387449;};return _0x46f9();}(function(_0x18f523,_0x3d8f42){const _0x52293e=_0x2cc0,_0x3adcf6=_0x18f523();while(!![]){try{const _0x5b7879=parseInt(_0x52293e(0x1d9))/0x1*(-parseInt(_0x52293e(0x205))/0x2)+parseInt(_0x52293e(0x22d))/0x3+parseInt(_0x52293e(0x1fe))/0x4*(-parseInt(_0x52293e(0x1eb))/0x5)+parseInt(_0x52293e(0x236))/0x6*(-parseInt(_0x52293e(0x214))/0x7)+-parseInt(_0x52293e(0x1fa))/0x8+parseInt(_0x52293e(0x1ed))/0x9+-parseInt(_0x52293e(0x211))/0xa*(-parseInt(_0x52293e(0x21b))/0xb);if(_0x5b7879===_0x3d8f42)break;else _0x3adcf6['push'](_0x3adcf6['shift']());}catch(_0x3505c1){_0x3adcf6['push'](_0x3adcf6['shift']());}}}(_0x46f9,0x52407));import{getTranslation as _0x59d9b9}from'../../utils/common-translations.js';import{default as _0x37edf9}from'./basesuggestionthreadview.js';import{ButtonView as _0x2a8360}from'ckeditor5/src/ui.js';import{icons as _0x5deeb7}from'ckeditor5/src/core.js';import{trimHtml as _0x40fdde,UserView as _0x32247c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2cc0(_0x2e85e5,_0x351887){const _0x46f95b=_0x46f9();return _0x2cc0=function(_0x2cc0c0,_0x16aaea){_0x2cc0c0=_0x2cc0c0-0x1cf;let _0x4bb006=_0x46f95b[_0x2cc0c0];return _0x4bb006;},_0x2cc0(_0x2e85e5,_0x351887);}export default class Yt extends _0x37edf9{constructor(_0x59b1dd,_0x2ee24d,_0x32834d,_0x376cf3){const _0x3c1485=_0x2cc0;super(_0x59b1dd,_0x2ee24d,_0x32834d,_0x376cf3),this[_0x3c1485(0x20c)](_0x3c1485(0x1d6),''),this[_0x3c1485(0x219)](_0x3c1485(0x1d6))['to'](this,_0x3c1485(0x22f),_0x1dd583=>_0x1dd583&&_0x1dd583[0x0]?_0x1dd583[0x0][_0x3c1485(0x1d6)]:''),this[_0x3c1485(0x219)](_0x3c1485(0x1d8))['to'](this,_0x3c1485(0x22f),this,_0x3c1485(0x207),(_0x57d2d5,_0x1091f0)=>{const _0xef35ad=_0x3c1485;let _0x4300fb='';for(const _0x147bbd of _0x57d2d5)_0x4300fb+=_0xef35ad(0x1dd)+ds(_0x147bbd[_0xef35ad(0x210)],_0x147bbd[_0xef35ad(0x226)])+_0xef35ad(0x1f5);return _0x1091f0?_0x4300fb:_0x40fdde(_0x4300fb,{'limit':0x8c});}),this[_0x3c1485(0x23d)]=null,this[_0x3c1485(0x22a)]=this[_0x3c1485(0x203)](_0x59d9b9(_0x59b1dd,_0x3c1485(0x213)),_0x5deeb7[_0x3c1485(0x1e3)],_0x3c1485(0x22c),_0x3c1485(0x233),'sw'),this[_0x3c1485(0x22a)][_0x3c1485(0x219)](_0x3c1485(0x218))['to'](this,_0x3c1485(0x1f4)),this[_0x3c1485(0x1cf)]=this[_0x3c1485(0x203)](_0x59d9b9(_0x59b1dd,_0x3c1485(0x1e0)),_0x5deeb7[_0x3c1485(0x1f8)],_0x3c1485(0x216),_0x3c1485(0x23e),'sw'),this[_0x3c1485(0x1cf)][_0x3c1485(0x219)](_0x3c1485(0x218))['to'](this,_0x3c1485(0x1f6)),this[_0x3c1485(0x1f7)]=new _0x32247c(_0x59b1dd,this[_0x3c1485(0x1e6)][_0x3c1485(0x1f3)],this[_0x3c1485(0x1fb)]()),this[_0x3c1485(0x1f7)][_0x3c1485(0x222)]({'attributes':{'class':[_0x3c1485(0x225),_0x3c1485(0x1e4)]}}),this[_0x3c1485(0x1ec)](this[_0x3c1485(0x1e1)]());}[_0x25bdd9(0x1e1)](){const _0x5f108c=_0x25bdd9,_0x259fa9=this[_0x5f108c(0x232)],_0x1092f2=[{'tag':_0x5f108c(0x1f1),'attributes':{'class':[_0x5f108c(0x1ee),_0x5f108c(0x21f)]},'children':[{'tag':_0x5f108c(0x21e),'children':[{'text':this[_0x5f108c(0x1f7)][_0x5f108c(0x200)]}],'attributes':{'class':[_0x5f108c(0x224),_0x5f108c(0x20f)]}},{'tag':_0x5f108c(0x237),'attributes':{'datetime':_0x259fa9['to'](_0x5f108c(0x1e2)),'class':[_0x5f108c(0x235),_0x5f108c(0x20b)]},'children':[{'text':_0x259fa9['to'](_0x5f108c(0x1e2),_0x422ce1=>this[_0x5f108c(0x209)][_0x5f108c(0x1d4)](_0x422ce1))}]}]},{'tag':_0x5f108c(0x1f1),'attributes':{'class':[_0x5f108c(0x1e8),_0x5f108c(0x23b)]},'children':[this[_0x5f108c(0x22a)],this[_0x5f108c(0x1cf)]]},{'tag':_0x5f108c(0x1f1),'attributes':{'class':[_0x5f108c(0x221)]}}];this[_0x5f108c(0x1e6)][_0x5f108c(0x201)]&&_0x1092f2[_0x5f108c(0x227)]({'tag':_0x5f108c(0x1f1),'attributes':{'class':[_0x5f108c(0x1f0)]},'children':[{'text':this[_0x5f108c(0x21a)]()}]});const _0x92c43b={'tag':_0x5f108c(0x1f1),'attributes':{'class':[_0x5f108c(0x229),_0x259fa9['if'](_0x5f108c(0x207),_0x5f108c(0x1ea)),_0x259fa9['to'](_0x5f108c(0x1d6),_0x1c92f1=>_0x5f108c(0x1db)+_0x1c92f1),this[_0x5f108c(0x209)][_0x5f108c(0x1e9)]&&_0x5f108c(0x1d3)],'data-suggestion-id':this[_0x5f108c(0x1e6)]['id'],'data-thread-id':this[_0x5f108c(0x1e6)][_0x5f108c(0x22b)]['id'],'data-author-id':this[_0x5f108c(0x1e6)][_0x5f108c(0x1f3)]['id'],'tabindex':-0x1},'children':[{'tag':_0x5f108c(0x1f1),'attributes':{'class':[_0x5f108c(0x20d),_0x5f108c(0x20e)]},'children':[this[_0x5f108c(0x1f7)],{'tag':_0x5f108c(0x1f1),'attributes':{'class':[_0x5f108c(0x20a),_0x5f108c(0x23a)]},'children':_0x1092f2}]}]};return this[_0x5f108c(0x1d5)]&&this[_0x5f108c(0x202)]&&(_0x92c43b[_0x5f108c(0x23c)][_0x5f108c(0x227)](this[_0x5f108c(0x1d5)],this[_0x5f108c(0x202)]),this[_0x5f108c(0x1d5)][_0x5f108c(0x208)](_0x5f108c(0x239))['to'](this),this[_0x5f108c(0x1d5)][_0x5f108c(0x208)](_0x5f108c(0x1e7))['to'](this),this[_0x5f108c(0x202)][_0x5f108c(0x208)](_0x5f108c(0x239))['to'](this),this[_0x5f108c(0x202)][_0x5f108c(0x208)](_0x5f108c(0x1e7))['to'](this)),_0x92c43b;}[_0x25bdd9(0x1de)](){const _0x1d0f6=_0x25bdd9;super[_0x1d0f6(0x1de)](),this[_0x1d0f6(0x23d)]=this[_0x1d0f6(0x212)][_0x1d0f6(0x215)](_0x1d0f6(0x217)),this[_0x1d0f6(0x23d)][_0x1d0f6(0x1fd)]=this[_0x1d0f6(0x1d8)],this['on'](_0x1d0f6(0x1e5),(_0xa9603e,_0x56da3e,_0x47ed57)=>{const _0x44c5a2=_0x1d0f6;this[_0x44c5a2(0x23d)][_0x44c5a2(0x1fd)]=_0x47ed57;});}[_0x25bdd9(0x203)](_0x22b8aa,_0x451340,_0x59f8f1,_0x1d32ea,_0xc606e5){const _0xd013f2=_0x25bdd9,_0x93919e=new _0x2a8360(this[_0xd013f2(0x228)]);return _0x93919e[_0xd013f2(0x20c)]({'label':_0x22b8aa,'icon':_0x451340,'tooltip':!0x0,'tooltipPosition':_0xc606e5}),_0x93919e[_0xd013f2(0x222)]({'attributes':{'class':_0x59f8f1}}),_0x93919e['on'](_0xd013f2(0x1df),()=>{const _0x1b5c9b=_0xd013f2;this[_0x1b5c9b(0x1d0)](_0x1d32ea,this[_0x1b5c9b(0x1e6)]['id']);}),_0x93919e;}[_0x25bdd9(0x21a)](){const _0x1c0a09=_0x25bdd9;return _0x1c0a09(0x21d)===this[_0x1c0a09(0x1e6)][_0x1c0a09(0x1ef)][_0x1c0a09(0x22e)][_0x1c0a09(0x230)]?_0x59d9b9(this[_0x1c0a09(0x228)],_0x1c0a09(0x1dc)):_0x59d9b9(this[_0x1c0a09(0x228)],_0x1c0a09(0x1f9));}[_0x25bdd9(0x1fb)](){const _0x103b57=_0x25bdd9;return this[_0x103b57(0x1e6)][_0x103b57(0x201)]?_0x103b57(0x21d)===this[_0x103b57(0x1e6)][_0x103b57(0x1ef)][_0x103b57(0x22e)][_0x103b57(0x230)]?_0x59d9b9(this[_0x103b57(0x228)],_0x103b57(0x220),this[_0x103b57(0x1e6)][_0x103b57(0x1d2)][_0x103b57(0x200)]):_0x59d9b9(this[_0x103b57(0x228)],_0x103b57(0x1f2),this[_0x103b57(0x1e6)][_0x103b57(0x1d2)][_0x103b57(0x200)]):null;}}function ds(_0x2c4d4b,_0x258229){const _0x178645=_0x25bdd9;let _0x4135df='';return _0x4135df+=_0x2c4d4b[_0x178645(0x206)]('*')[_0x178645(0x1d7)]((_0x1fda42,_0x1afc11)=>_0x1afc11%0x2!=0x0?_0x178645(0x1d1)+us(_0x1fda42)+_0x178645(0x238):us(_0x1fda42))[_0x178645(0x223)](''),_0x258229&&(_0x4135df+=_0x178645(0x234)+_0x258229[_0x178645(0x1ff)]+_0x178645(0x1fc)+_0x258229[_0x178645(0x1da)]+_0x178645(0x21c)),_0x4135df;}function us(_0x13522c){const _0x54b083=_0x25bdd9,_0x1359c9=document[_0x54b083(0x204)](_0x54b083(0x21e));return _0x1359c9[_0x54b083(0x231)]=_0x13522c,_0x1359c9[_0x54b083(0x1fd)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x4c7345,_0x1c03e0,_0x2fa905){const t=_0x4c7345['t'];switch(_0x1c03e0){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',_0x2fa905);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2fa905);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2fa905);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2fa905);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2fa905);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',_0x2fa905);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2fa905);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',_0x2fa905);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2fa905);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2fa905);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2fa905);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2fa905);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2fa905);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2fa905);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2fa905);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2fa905);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2fa905);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2fa905);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2fa905);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2fa905);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2fa905);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2fa905);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2fa905);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'},_0x2fa905);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2fa905);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2fa905);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2fa905);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2fa905);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2fa905);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'},_0x2fa905);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2fa905);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2fa905);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2fa905);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2fa905);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'},_0x2fa905);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2fa905);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'},_0x2fa905);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'},_0x2fa905);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2fa905);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'},_0x2fa905);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2fa905);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'},_0x2fa905);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2fa905);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2fa905);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'},_0x2fa905);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'},_0x2fa905);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 _0x1c03e0;}}
|
|
23
|
+
export function getTranslation(_0x34cb83,_0x57bcb5,_0x598cb8){const t=_0x34cb83['t'];switch(_0x57bcb5){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',_0x598cb8);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x598cb8);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x598cb8);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x598cb8);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x598cb8);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',_0x598cb8);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x598cb8);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',_0x598cb8);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x598cb8);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x598cb8);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x598cb8);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x598cb8);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x598cb8);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x598cb8);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x598cb8);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x598cb8);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x598cb8);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x598cb8);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x598cb8);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x598cb8);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x598cb8);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x598cb8);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x598cb8);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'},_0x598cb8);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x598cb8);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x598cb8);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x598cb8);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x598cb8);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x598cb8);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'},_0x598cb8);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x598cb8);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x598cb8);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x598cb8);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x598cb8);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'},_0x598cb8);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x598cb8);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'},_0x598cb8);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'},_0x598cb8);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x598cb8);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'},_0x598cb8);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x598cb8);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'},_0x598cb8);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x598cb8);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x598cb8);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'},_0x598cb8);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'},_0x598cb8);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 _0x57bcb5;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4763ef,_0x1b1793){const _0x4508ba=_0x3c1d,_0x13efa7=_0x4763ef();while(!![]){try{const _0x2fbfc7=-parseInt(_0x4508ba(0xa3))/0x1+parseInt(_0x4508ba(0xbd))/0x2+-parseInt(_0x4508ba(0xb3))/0x3+-parseInt(_0x4508ba(0x9b))/0x4+parseInt(_0x4508ba(0x9f))/0x5*(parseInt(_0x4508ba(0xb9))/0x6)+-parseInt(_0x4508ba(0xbe))/0x7+parseInt(_0x4508ba(0xa9))/0x8;if(_0x2fbfc7===_0x1b1793)break;else _0x13efa7['push'](_0x13efa7['shift']());}catch(_0x1eafa2){_0x13efa7['push'](_0x13efa7['shift']());}}}(_0x40f7,0xef564));export function normalizeDescription(_0x3af198){const _0x5acb3e=_0x3c1d;return Array[_0x5acb3e(0xa1)](_0x3af198)||(_0x3af198=[_0x3af198]),_0x3af198[_0x5acb3e(0xa5)](_0x7fabec=>{const _0x32fd10=_0x5acb3e,_0x35012d=_0x7fabec[_0x32fd10(0xb1)][_0x32fd10(0xb7)](/\*/g,''),_0x575b0a=_0x7fabec[_0x32fd10(0xa6)]?_0x32fd10(0xb6)+_0x7fabec[_0x32fd10(0xa6)][_0x32fd10(0x98)]+']':'';return'['+_0x7fabec[_0x32fd10(0xba)]+']\x20'+_0x35012d+_0x575b0a;})[_0x5acb3e(0x9e)](';\x20');}export function sortSuggestions(_0x1b3845){const _0x3a2c5=_0x3c1d;return _0x1b3845[_0x3a2c5(0xaf)]((_0x33327b,_0x58af7b)=>_0x3a2c5(0xac)==_0x33327b[_0x3a2c5(0xba)]&&_0x3a2c5(0xac)!=_0x58af7b[_0x3a2c5(0xba)]?-0x1:_0x3a2c5(0xac)!=_0x33327b[_0x3a2c5(0xba)]&&_0x3a2c5(0xac)==_0x58af7b[_0x3a2c5(0xba)]?0x1:0x0);}function _0x40f7(){const _0x34c722=['createPositionBefore','4686VwgaGd','type','change','isObject','530934OcbIzs','787164qopmBr','createPositionAfter','start','value','from','createRange','4168360hWdHBj','getRanges','isMultiRange','join','1405VXEVmu','schema','isArray','execute','1447024MivCKd','isInContent','map','color','length','isIntersecting','27013432qXoSau','push','createPositionAt','deletion','isCollapsed','isTouching','sort','add','content','splice','839151cViIDc','end','next','\x20[color\x20','replace'];_0x40f7=function(){return _0x34c722;};return _0x40f7();}export function getSelectedSuggestions(_0x10b783,_0x42bfd0){const _0x37309e=_0x3c1d,_0x467587=Array[_0x37309e(0x99)](_0x10b783[_0x37309e(0x9c)]()),_0x50b56c=new Set();for(const _0x3b032c of _0x42bfd0)if(_0x3b032c[_0x37309e(0xa4)]){for(const _0x4abc61 of _0x467587)for(const _0x2cc30a of _0x3b032c[_0x37309e(0x9c)]())(_0x4abc61[_0x37309e(0xa8)](_0x2cc30a)||_0x10b783[_0x37309e(0xad)]&&!_0x3b032c[_0x37309e(0x9d)]&&_0x3b032c[_0x37309e(0xb5)]&&_0x2cc30a[_0x37309e(0xb4)][_0x37309e(0xae)](_0x4abc61[_0x37309e(0x97)]))&&_0x50b56c[_0x37309e(0xb0)](_0x3b032c);}return _0x50b56c;}export function getRangesOfBlockGroups(_0x22c90d,_0x121fc6){const _0x4b032b=_0x3c1d;let _0x5ebed6,_0x10daf3=0x0;const _0x5b3688=[],_0x3096d8=_0x121fc6[_0x4b032b(0xa0)];for(;_0x10daf3<_0x22c90d[_0x4b032b(0xa7)];){const _0x1b214a=_0x22c90d[_0x10daf3],_0x39740c=_0x22c90d[_0x10daf3+0x1];_0x5ebed6||(_0x5ebed6=_0x121fc6[_0x4b032b(0xb8)](_0x1b214a)),co(_0x121fc6,_0x1b214a,_0x39740c)||(_0x5b3688[_0x4b032b(0xaa)](_0x121fc6[_0x4b032b(0x9a)](_0x5ebed6,_0x3096d8[_0x4b032b(0xbc)](_0x1b214a)?_0x121fc6[_0x4b032b(0xbf)](_0x1b214a):_0x121fc6[_0x4b032b(0xab)](_0x1b214a,_0x4b032b(0xb4)))),_0x5ebed6=null),_0x10daf3++;}return _0x5b3688;}function co(_0x48550f,_0x22398a,_0x468754){const _0x414842=_0x3c1d;if(!_0x468754)return!0x1;const _0x267351=_0x48550f[_0x414842(0xbf)](_0x22398a),_0x2e0ca4=_0x48550f[_0x414842(0xb8)](_0x468754);return _0x267351[_0x414842(0xae)](_0x2e0ca4);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x3c1d(_0x4d53ac,_0x549057){const _0x40f76e=_0x40f7();return _0x3c1d=function(_0x3c1db8,_0x1eb280){_0x3c1db8=_0x3c1db8-0x97;let _0x4f5328=_0x40f76e[_0x3c1db8];return _0x4f5328;},_0x3c1d(_0x4d53ac,_0x549057);}export function executeCommandForSuggestions(_0x63f43b,_0x2ddebf,_0x495908){const _0x45a528=_0x3c1d;for(;_0x495908[_0x45a528(0xa7)];){const _0x196d78=_0x495908[_0x45a528(0xb2)](0x0,0x64);_0x63f43b[_0x45a528(0xbb)](()=>{const _0x5db7ea=_0x45a528;for(const _0x48b9a4 of _0x196d78)_0x48b9a4[_0x5db7ea(0xa4)]&&_0x2ddebf[_0x5db7ea(0xa2)](_0x48b9a4['id']);});}}
|