@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240402.0 → 0.0.0-nightly-20240404.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 +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +1 -0
- package/lang/translations/ar.po +4 -0
- package/lang/translations/az.po +4 -0
- package/lang/translations/bg.po +4 -0
- package/lang/translations/bn.po +4 -0
- package/lang/translations/ca.po +4 -0
- package/lang/translations/cs.po +4 -0
- package/lang/translations/da.po +4 -0
- package/lang/translations/de.po +4 -0
- package/lang/translations/el.po +4 -0
- package/lang/translations/en-au.po +4 -0
- package/lang/translations/en.po +4 -0
- package/lang/translations/es.po +4 -0
- package/lang/translations/et.po +4 -0
- package/lang/translations/fi.po +4 -0
- package/lang/translations/fr.po +4 -0
- package/lang/translations/gl.po +4 -0
- package/lang/translations/he.po +4 -0
- package/lang/translations/hi.po +4 -0
- package/lang/translations/hr.po +4 -0
- package/lang/translations/hu.po +4 -0
- package/lang/translations/id.po +4 -0
- package/lang/translations/it.po +4 -0
- package/lang/translations/ja.po +4 -0
- package/lang/translations/ko.po +4 -0
- package/lang/translations/lt.po +4 -0
- package/lang/translations/lv.po +4 -0
- package/lang/translations/ms.po +4 -0
- package/lang/translations/nl.po +4 -0
- package/lang/translations/no.po +4 -0
- package/lang/translations/pl.po +4 -0
- package/lang/translations/pt-br.po +4 -0
- package/lang/translations/pt.po +4 -0
- package/lang/translations/ro.po +4 -0
- package/lang/translations/ru.po +4 -0
- package/lang/translations/sk.po +4 -0
- package/lang/translations/sq.po +4 -0
- package/lang/translations/sr-latn.po +4 -0
- package/lang/translations/sr.po +4 -0
- package/lang/translations/sv.po +4 -0
- package/lang/translations/th.po +4 -0
- package/lang/translations/tk.po +4 -0
- package/lang/translations/tr.po +4 -0
- package/lang/translations/tt.po +4 -0
- package/lang/translations/uk.po +4 -0
- package/lang/translations/ur.po +4 -0
- package/lang/translations/vi.po +4 -0
- package/lang/translations/zh-cn.po +4 -0
- package/lang/translations/zh.po +4 -0
- 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/multilevellist.d.ts +24 -0
- package/src/integrations/multilevellist.js +23 -0
- 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.d.ts +2 -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
|
-
function
|
|
23
|
+
function _0x40c0(){const _0x2ad838=['view','canDiscard','8RuuWCR','40qGgCls','575838GtVNar','unbind','destroy','listenTo','17789310WmBPgK','_editor','5125379FMNAEQ','commentThreadController','isEnabled','PENDING_ACTION_SUGGESTION','_discardCommand','_removePendingAction','358790XeKfkr','remove','stopListening','model','execute','commands','locale','_acceptCommand','9mJgeEE','_setPendingAction','getRanges','plugins','get','768288OsZQhV','bind','canEditAt','isDirty','14FSFCqN','_pendingAction','acceptSuggestion','canAccept','310287edRCnS','PendingActions','discardSuggestion','638208uPWMeY','add','change:isDirty'];_0x40c0=function(){return _0x2ad838;};return _0x40c0();}const _0x22721e=_0x5b1d;(function(_0x1efa95,_0x51d65d){const _0x34a8e6=_0x5b1d,_0x27d9d2=_0x1efa95();while(!![]){try{const _0x3dc50d=-parseInt(_0x34a8e6(0xde))/0x1+-parseInt(_0x34a8e6(0xd7))/0x2*(parseInt(_0x34a8e6(0xdb))/0x3)+parseInt(_0x34a8e6(0xd3))/0x4+parseInt(_0x34a8e6(0xe4))/0x5*(-parseInt(_0x34a8e6(0xe5))/0x6)+parseInt(_0x34a8e6(0xeb))/0x7*(parseInt(_0x34a8e6(0xe3))/0x8)+parseInt(_0x34a8e6(0xce))/0x9*(parseInt(_0x34a8e6(0xf1))/0xa)+parseInt(_0x34a8e6(0xe9))/0xb;if(_0x3dc50d===_0x51d65d)break;else _0x27d9d2['push'](_0x27d9d2['shift']());}catch(_0x32a1f5){_0x27d9d2['push'](_0x27d9d2['shift']());}}}(_0x40c0,0x6d383));function _0x5b1d(_0x1a2049,_0x1bc237){const _0x40c0e9=_0x40c0();return _0x5b1d=function(_0x5b1d2d,_0x274785){_0x5b1d2d=_0x5b1d2d-0xcc;let _0x179cd8=_0x40c0e9[_0x5b1d2d];return _0x179cd8;},_0x5b1d(_0x1a2049,_0x1bc237);}import{ObservableMixin as _0x2ea2a2}from'ckeditor5/src/utils.js';import{getTranslation as _0x41edcf}from'../utils/common-translations.js';export default class oe extends _0x2ea2a2(){constructor(_0xbad741,_0x1f1c6f,_0x51f66b,_0x20dab8){const _0x214397=_0x5b1d;super(),this[_0x214397(0xf4)]=_0x1f1c6f,this[_0x214397(0xe1)]=_0x51f66b,this[_0x214397(0xec)]=_0x20dab8,this[_0x214397(0xea)]=_0xbad741,this[_0x214397(0xcd)]=_0xbad741[_0x214397(0xf6)][_0x214397(0xd2)](_0x214397(0xd9)),this[_0x214397(0xef)]=_0xbad741[_0x214397(0xf6)][_0x214397(0xd2)](_0x214397(0xdd)),this[_0x214397(0xe1)][_0x214397(0xd4)](_0x214397(0xed))['to'](this[_0x214397(0xcd)],this[_0x214397(0xef)],(_0x3c85f7,_0x9201c7)=>_0x3c85f7||_0x9201c7),this[_0x214397(0xe1)][_0x214397(0xd4)](_0x214397(0xda))['to'](this[_0x214397(0xcd)],_0x214397(0xed),_0x497944=>_0x497944&&this[_0x214397(0xea)][_0x214397(0xf4)][_0x214397(0xd5)](_0x1f1c6f[_0x214397(0xd0)]())),this[_0x214397(0xe1)][_0x214397(0xd4)](_0x214397(0xe2))['to'](this[_0x214397(0xef)],_0x214397(0xed),_0x53ed5f=>_0x53ed5f&&this[_0x214397(0xea)][_0x214397(0xf4)][_0x214397(0xd5)](_0x1f1c6f[_0x214397(0xd0)]())),this[_0x214397(0xd8)]=null,_0x51f66b[_0x214397(0xd6)]&&this[_0x214397(0xcf)](),this[_0x214397(0xe8)](_0x51f66b,_0x214397(0xd9),()=>this[_0x214397(0xd9)]()),this[_0x214397(0xe8)](_0x51f66b,_0x214397(0xdd),()=>this[_0x214397(0xdd)]()),this[_0x214397(0xe8)](_0x51f66b,_0x214397(0xe0),()=>{const _0x1af629=_0x214397;_0x51f66b[_0x1af629(0xd6)]?this[_0x1af629(0xcf)]():this[_0x1af629(0xf0)]();});}[_0x22721e(0xd9)](){const _0x1a4c96=_0x22721e;this[_0x1a4c96(0xcd)][_0x1a4c96(0xf5)](this[_0x1a4c96(0xf4)]['id']);}[_0x22721e(0xdd)](){const _0x10184f=_0x22721e;this[_0x10184f(0xef)][_0x10184f(0xf5)](this[_0x10184f(0xf4)]['id']);}[_0x22721e(0xe7)](){const _0x906ee7=_0x22721e;this[_0x906ee7(0xe1)][_0x906ee7(0xe6)](_0x906ee7(0xed)),this[_0x906ee7(0xe1)][_0x906ee7(0xe6)](_0x906ee7(0xda)),this[_0x906ee7(0xe1)][_0x906ee7(0xe6)](_0x906ee7(0xe2)),this[_0x906ee7(0xf3)](),this[_0x906ee7(0xec)][_0x906ee7(0xe7)](),this[_0x906ee7(0xd8)]&&this[_0x906ee7(0xf0)]();}[_0x22721e(0xcf)](){const _0x6fab26=_0x22721e,_0x1c0ada=_0x41edcf(this[_0x6fab26(0xea)][_0x6fab26(0xcc)],_0x6fab26(0xee));this[_0x6fab26(0xd8)]=this[_0x6fab26(0xea)][_0x6fab26(0xd1)][_0x6fab26(0xd2)](_0x6fab26(0xdc))[_0x6fab26(0xdf)](_0x1c0ada);}[_0x22721e(0xf0)](){const _0x4ed5b2=_0x22721e;null!==this[_0x4ed5b2(0xd8)]&&this[_0x4ed5b2(0xea)][_0x4ed5b2(0xd1)][_0x4ed5b2(0xd2)](_0x4ed5b2(0xdc))[_0x4ed5b2(0xf2)](this[_0x4ed5b2(0xd8)]),this[_0x4ed5b2(0xd8)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1b1f(){const _0x2ad87e=['element','6579JuACzv','value','bind','_createCommentThreadInputView','descriptionParts','hasDirtyComment','commentsListView','focus','submit','updateComment','locale','canDiscard','cancel','length','commentThreadInputView','2727648gJhhwJ','disableComments','1840PcLRdJ','1376376SnzqND','setData','removeComment','766494rgLSvY','isReadOnly','addComment','262857XRDwzR','assign','7uGBHCr','912715FBaSQr','canAccept','CommentView','137411kxEjiA','set','fire','authoredAt','commentInputView','editorConfig','6DWXYyE','22lDSuQI','destroy','isEnabled','isDirty','delegate','isActive','_localUser','showInput','disabledSubmit','editor','commentThread','_config','_createCommentViews','_model','28TlsgON'];_0x1b1f=function(){return _0x2ad87e;};return _0x1b1f();}function _0x4d8d(_0x461501,_0x5f0563){const _0x1b1f74=_0x1b1f();return _0x4d8d=function(_0x4d8d4c,_0x4d2158){_0x4d8d4c=_0x4d8d4c-0x1c4;let _0x378eca=_0x1b1f74[_0x4d8d4c];return _0x378eca;},_0x4d8d(_0x461501,_0x5f0563);}const _0x3f761d=_0x4d8d;(function(_0x3baf3a,_0x48a37a){const _0x3fa79a=_0x4d8d,_0x23cf44=_0x3baf3a();while(!![]){try{const _0x10b375=parseInt(_0x3fa79a(0x1dd))/0x1+parseInt(_0x3fa79a(0x1d4))/0x2+-parseInt(_0x3fa79a(0x1d7))/0x3*(-parseInt(_0x3fa79a(0x1f2))/0x4)+parseInt(_0x3fa79a(0x1da))/0x5*(-parseInt(_0x3fa79a(0x1e3))/0x6)+-parseInt(_0x3fa79a(0x1d9))/0x7*(-parseInt(_0x3fa79a(0x1d1))/0x8)+-parseInt(_0x3fa79a(0x1f4))/0x9*(parseInt(_0x3fa79a(0x1d0))/0xa)+parseInt(_0x3fa79a(0x1e4))/0xb*(-parseInt(_0x3fa79a(0x1ce))/0xc);if(_0x10b375===_0x48a37a)break;else _0x23cf44['push'](_0x23cf44['shift']());}catch(_0x5979d2){_0x23cf44['push'](_0x23cf44['shift']());}}}(_0x1b1f,0x8276f));import{View as _0x5426cf}from'ckeditor5/src/ui.js';export default class es extends _0x5426cf{constructor(_0x4e16b3,_0x465df3,_0x4716a8,_0xc5321){const _0x53e4de=_0x4d8d;super(_0x4e16b3),this[_0x53e4de(0x1c5)]=null,this[_0x53e4de(0x1cd)]=null,this[_0x53e4de(0x1de)](_0x53e4de(0x1e9),!0x1),this[_0x53e4de(0x1de)](_0x53e4de(0x1e0),_0x465df3[_0x53e4de(0x1e0)]),this[_0x53e4de(0x1f6)](_0x53e4de(0x1e0))['to'](_0x465df3),this[_0x53e4de(0x1de)](_0x53e4de(0x1f8),[]),this[_0x53e4de(0x1de)](_0x53e4de(0x1e7),!0x1),this[_0x53e4de(0x1de)](_0x53e4de(0x1e6),!0x1),this[_0x53e4de(0x1de)](_0x53e4de(0x1db),!0x1),this[_0x53e4de(0x1de)](_0x53e4de(0x1ca),!0x1),this[_0x53e4de(0x1f1)]=_0x465df3,this[_0x53e4de(0x1ea)]=_0x4716a8,this[_0x53e4de(0x1ef)]=_0xc5321,_0xc5321[_0x53e4de(0x1cf)]?this[_0x53e4de(0x1de)](_0x53e4de(0x1cc),0x1):this[_0x53e4de(0x1f0)]();}[_0x3f761d(0x1c6)](){const _0x4e54d1=_0x3f761d;this[_0x4e54d1(0x1f3)][_0x4e54d1(0x1c6)]();}[_0x3f761d(0x1e5)](){const _0xb52d19=_0x3f761d;this[_0xb52d19(0x1c5)]&&this[_0xb52d19(0x1c5)][_0xb52d19(0x1e5)](),this[_0xb52d19(0x1cd)]&&this[_0xb52d19(0x1cd)][_0xb52d19(0x1e5)](),super[_0xb52d19(0x1e5)]();}[_0x3f761d(0x1f0)](){const _0x3163c2=_0x3f761d,{CommentsListView:_0x5f2028}=this[_0x3163c2(0x1ef)];this[_0x3163c2(0x1c5)]=new _0x5f2028(this[_0x3163c2(0x1c9)],this[_0x3163c2(0x1f1)][_0x3163c2(0x1ee)],Object[_0x3163c2(0x1d8)]({'CommentView':this[_0x3163c2(0x1ef)][_0x3163c2(0x1dc)]},this[_0x3163c2(0x1ef)])),this[_0x3163c2(0x1c5)][_0x3163c2(0x1e8)](_0x3163c2(0x1d3))['to'](this),this[_0x3163c2(0x1c5)][_0x3163c2(0x1e8)](_0x3163c2(0x1c8))['to'](this),this[_0x3163c2(0x1c5)][_0x3163c2(0x1f6)](_0x3163c2(0x1e9))['to'](this),this[_0x3163c2(0x1de)](_0x3163c2(0x1cc),this[_0x3163c2(0x1c5)][_0x3163c2(0x1cc)]+0x1),this[_0x3163c2(0x1f6)](_0x3163c2(0x1cc))['to'](this[_0x3163c2(0x1c5)],_0x3163c2(0x1cc),_0x2c1d12=>_0x2c1d12+0x1),this[_0x3163c2(0x1cd)]=this[_0x3163c2(0x1f7)](),this['on'](_0x3163c2(0x1d3),()=>this[_0x3163c2(0x1c6)]()),this[_0x3163c2(0x1f6)](_0x3163c2(0x1e7))['to'](this[_0x3163c2(0x1c5)],_0x3163c2(0x1c4),this[_0x3163c2(0x1cd)][_0x3163c2(0x1e1)],_0x3163c2(0x1f5),(_0x781d11,_0x115065)=>_0x781d11||!!_0x115065);}[_0x3f761d(0x1f7)](){const _0x479bc2=_0x3f761d,{CommentThreadInputView:_0x8f975b}=this[_0x479bc2(0x1ef)],_0x48a452=new _0x8f975b(this[_0x479bc2(0x1c9)],this[_0x479bc2(0x1ea)],this[_0x479bc2(0x1ef)][_0x479bc2(0x1e2)]),_0x3abef5=_0x48a452[_0x479bc2(0x1e1)];return _0x48a452[_0x479bc2(0x1f6)](_0x479bc2(0x1eb))['to'](this,_0x479bc2(0x1e9),this[_0x479bc2(0x1f1)][_0x479bc2(0x1ee)],_0x479bc2(0x1d5),_0x3abef5,_0x479bc2(0x1f5),(_0xeb8ed6,_0x53d362,_0x1005a3)=>!!_0x1005a3||_0xeb8ed6&&!_0x53d362),_0x3abef5['on'](_0x479bc2(0x1c7),(_0x594059,_0x4a6da3)=>{const _0x318b2b=_0x479bc2;this[_0x318b2b(0x1df)](_0x318b2b(0x1d6),_0x4a6da3),_0x3abef5[_0x318b2b(0x1ed)][_0x318b2b(0x1d2)]('');}),_0x3abef5['on'](_0x479bc2(0x1cb),()=>this[_0x479bc2(0x1c6)]()),_0x3abef5[_0x479bc2(0x1f6)](_0x479bc2(0x1ec))['to'](this[_0x479bc2(0x1f1)][_0x479bc2(0x1ee)],_0x479bc2(0x1d5)),_0x48a452;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4664d5=_0x53ec;(function(_0x32c87e,_0x40788f){const _0x4aefd9=_0x53ec,_0x21f967=_0x32c87e();while(!![]){try{const _0x8e7277=parseInt(_0x4aefd9(0x150))/0x1*(-parseInt(_0x4aefd9(0x159))/0x2)+parseInt(_0x4aefd9(0x11f))/0x3*(-parseInt(_0x4aefd9(0x12c))/0x4)+parseInt(_0x4aefd9(0x10c))/0x5*(parseInt(_0x4aefd9(0x13f))/0x6)+-parseInt(_0x4aefd9(0x144))/0x7*(-parseInt(_0x4aefd9(0xf6))/0x8)+-parseInt(_0x4aefd9(0x133))/0x9*(parseInt(_0x4aefd9(0x107))/0xa)+parseInt(_0x4aefd9(0x128))/0xb*(-parseInt(_0x4aefd9(0x145))/0xc)+parseInt(_0x4aefd9(0x152))/0xd;if(_0x8e7277===_0x40788f)break;else _0x21f967['push'](_0x21f967['shift']());}catch(_0x18f5d7){_0x21f967['push'](_0x21f967['shift']());}}}(_0x1a50,0x55d4f));function _0x53ec(_0x5c0cc7,_0x2f7b6f){const _0x1a501e=_0x1a50();return _0x53ec=function(_0x53ec0b,_0x563027){_0x53ec0b=_0x53ec0b-0xf6;let _0x59f858=_0x1a501e[_0x53ec0b];return _0x59f858;},_0x53ec(_0x5c0cc7,_0x2f7b6f);}import{getTranslation as _0x10c67e}from'../../utils/common-translations.js';import{default as _0x311ba0}from'./basesuggestionthreadview.js';import{ButtonView as _0x3009f3}from'ckeditor5/src/ui.js';import{icons as _0x2668bf}from'ckeditor5/src/core.js';import{trimHtml as _0x390727,UserView as _0x42059a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x311ba0{constructor(_0x3fce1b,_0x27e32b,_0x105909,_0x17eb99){const _0x40fd1e=_0x53ec;super(_0x3fce1b,_0x27e32b,_0x105909,_0x17eb99),this[_0x40fd1e(0x117)](_0x40fd1e(0x101),''),this[_0x40fd1e(0xfd)](_0x40fd1e(0x101))['to'](this,_0x40fd1e(0x13c),_0x21a41a=>_0x21a41a&&_0x21a41a[0x0]?_0x21a41a[0x0][_0x40fd1e(0x101)]:''),this[_0x40fd1e(0xfd)](_0x40fd1e(0x14d))['to'](this,_0x40fd1e(0x13c),this,_0x40fd1e(0x140),(_0xbf7bd8,_0xb4e319)=>{const _0x1a316b=_0x40fd1e;let _0x5ae00d='';for(const _0x4ef15d of _0xbf7bd8)_0x5ae00d+=_0x1a316b(0x116)+ds(_0x4ef15d[_0x1a316b(0x15c)],_0x4ef15d[_0x1a316b(0xff)])+_0x1a316b(0x15e);return _0xb4e319?_0x5ae00d:_0x390727(_0x5ae00d,{'limit':0x8c});}),this[_0x40fd1e(0x12a)]=null,this[_0x40fd1e(0x160)]=this[_0x40fd1e(0x141)](_0x10c67e(_0x3fce1b,_0x40fd1e(0x165)),_0x2668bf[_0x40fd1e(0x158)],_0x40fd1e(0x13a),_0x40fd1e(0x104),'sw'),this[_0x40fd1e(0x160)][_0x40fd1e(0xfd)](_0x40fd1e(0x12f))['to'](this,_0x40fd1e(0x166)),this[_0x40fd1e(0x11c)]=this[_0x40fd1e(0x141)](_0x10c67e(_0x3fce1b,_0x40fd1e(0x111)),_0x2668bf[_0x40fd1e(0x115)],_0x40fd1e(0x14e),_0x40fd1e(0x12d),'sw'),this[_0x40fd1e(0x11c)][_0x40fd1e(0xfd)](_0x40fd1e(0x12f))['to'](this,_0x40fd1e(0x105)),this[_0x40fd1e(0x148)]=new _0x42059a(_0x3fce1b,this[_0x40fd1e(0x139)][_0x40fd1e(0x123)],this[_0x40fd1e(0xfc)]()),this[_0x40fd1e(0x148)][_0x40fd1e(0x132)]({'attributes':{'class':[_0x40fd1e(0x15d),_0x40fd1e(0x106)]}}),this[_0x40fd1e(0x136)](this[_0x40fd1e(0x113)]());}[_0x4664d5(0x113)](){const _0x56da45=_0x4664d5,_0x2f9b1f=this[_0x56da45(0x103)],_0xd41937=[{'tag':_0x56da45(0x118),'attributes':{'class':[_0x56da45(0x162),_0x56da45(0x110)]},'children':[{'tag':_0x56da45(0x109),'children':[{'text':this[_0x56da45(0x148)][_0x56da45(0x138)]}],'attributes':{'class':[_0x56da45(0x147),_0x56da45(0x151)]}},{'tag':_0x56da45(0x10e),'attributes':{'datetime':_0x2f9b1f['to'](_0x56da45(0x15a)),'class':[_0x56da45(0x13e),_0x56da45(0x131)]},'children':[{'text':_0x2f9b1f['to'](_0x56da45(0x15a),_0x299cf6=>this[_0x56da45(0xfb)][_0x56da45(0xfa)](_0x299cf6))}]}]},{'tag':_0x56da45(0x118),'attributes':{'class':[_0x56da45(0x102),_0x56da45(0x135)]},'children':[this[_0x56da45(0x160)],this[_0x56da45(0x11c)]]},{'tag':_0x56da45(0x118),'attributes':{'class':[_0x56da45(0x100)]}}];this[_0x56da45(0x139)][_0x56da45(0x130)]&&_0xd41937[_0x56da45(0x167)]({'tag':_0x56da45(0x118),'attributes':{'class':[_0x56da45(0x163)]},'children':[{'text':this[_0x56da45(0x11d)]()}]});const _0x2bc417={'tag':_0x56da45(0x118),'attributes':{'class':[_0x56da45(0xf9),_0x2f9b1f['if'](_0x56da45(0x140),_0x56da45(0x10b)),_0x2f9b1f['to'](_0x56da45(0x101),_0x3fe84d=>_0x56da45(0x143)+_0x3fe84d),this[_0x56da45(0xfb)][_0x56da45(0x12e)]&&_0x56da45(0x112)],'data-suggestion-id':this[_0x56da45(0x139)]['id'],'data-thread-id':this[_0x56da45(0x139)][_0x56da45(0x14c)]['id'],'data-author-id':this[_0x56da45(0x139)][_0x56da45(0x123)]['id'],'tabindex':-0x1},'children':[{'tag':_0x56da45(0x118),'attributes':{'class':[_0x56da45(0x156),_0x56da45(0x120)]},'children':[this[_0x56da45(0x148)],{'tag':_0x56da45(0x118),'attributes':{'class':[_0x56da45(0x146),_0x56da45(0x15f)]},'children':_0xd41937}]}]};return this[_0x56da45(0x153)]&&this[_0x56da45(0x137)]&&(_0x2bc417[_0x56da45(0x108)][_0x56da45(0x167)](this[_0x56da45(0x153)],this[_0x56da45(0x137)]),this[_0x56da45(0x153)][_0x56da45(0x134)](_0x56da45(0x127))['to'](this),this[_0x56da45(0x153)][_0x56da45(0x134)](_0x56da45(0x10a))['to'](this),this[_0x56da45(0x137)][_0x56da45(0x134)](_0x56da45(0x127))['to'](this),this[_0x56da45(0x137)][_0x56da45(0x134)](_0x56da45(0x10a))['to'](this)),_0x2bc417;}[_0x4664d5(0x125)](){const _0x4ca834=_0x4664d5;super[_0x4ca834(0x125)](),this[_0x4ca834(0x12a)]=this[_0x4ca834(0x11b)][_0x4ca834(0x114)](_0x4ca834(0x124)),this[_0x4ca834(0x12a)][_0x4ca834(0x13b)]=this[_0x4ca834(0x14d)],this['on'](_0x4ca834(0x10f),(_0xc57d2a,_0x368ea8,_0x3b91ff)=>{const _0x524440=_0x4ca834;this[_0x524440(0x12a)][_0x524440(0x13b)]=_0x3b91ff;});}[_0x4664d5(0x141)](_0x27a11c,_0x809931,_0x2167ef,_0x534e64,_0x4da431){const _0x292ba7=_0x4664d5,_0x11d586=new _0x3009f3(this[_0x292ba7(0x129)]);return _0x11d586[_0x292ba7(0x117)]({'label':_0x27a11c,'icon':_0x809931,'tooltip':!0x0,'tooltipPosition':_0x4da431}),_0x11d586[_0x292ba7(0x132)]({'attributes':{'class':_0x2167ef}}),_0x11d586['on'](_0x292ba7(0x10d),()=>{const _0x435851=_0x292ba7;this[_0x435851(0x126)](_0x534e64,this[_0x435851(0x139)]['id']);}),_0x11d586;}[_0x4664d5(0x11d)](){const _0x71e713=_0x4664d5;return _0x71e713(0xf7)===this[_0x71e713(0x139)][_0x71e713(0x14a)][_0x71e713(0x122)][_0x71e713(0x155)]?_0x10c67e(this[_0x71e713(0x129)],_0x71e713(0x157)):_0x10c67e(this[_0x71e713(0x129)],_0x71e713(0x11e));}[_0x4664d5(0xfc)](){const _0x31a582=_0x4664d5;return this[_0x31a582(0x139)][_0x31a582(0x130)]?_0x31a582(0xf7)===this[_0x31a582(0x139)][_0x31a582(0x14a)][_0x31a582(0x122)][_0x31a582(0x155)]?_0x10c67e(this[_0x31a582(0x129)],_0x31a582(0x15b),this[_0x31a582(0x139)][_0x31a582(0x161)][_0x31a582(0x138)]):_0x10c67e(this[_0x31a582(0x129)],_0x31a582(0x13d),this[_0x31a582(0x139)][_0x31a582(0x161)][_0x31a582(0x138)]):null;}}function ds(_0x36fa3b,_0x467062){const _0x4198eb=_0x4664d5;let _0x569c93='';return _0x569c93+=_0x36fa3b[_0x4198eb(0x149)]('*')[_0x4198eb(0xf8)]((_0x7f3935,_0x3c715b)=>_0x3c715b%0x2!=0x0?_0x4198eb(0x11a)+us(_0x7f3935)+_0x4198eb(0x164):us(_0x7f3935))[_0x4198eb(0xfe)](''),_0x467062&&(_0x569c93+=_0x4198eb(0x142)+_0x467062[_0x4198eb(0x121)]+_0x4198eb(0x119)+_0x467062[_0x4198eb(0x14f)]+_0x4198eb(0x14b)),_0x569c93;}function us(_0x28ad96){const _0x268e53=_0x4664d5,_0xa7f83=document[_0x268e53(0x12b)](_0x268e53(0x109));return _0xa7f83[_0x268e53(0x154)]=_0x28ad96,_0xa7f83[_0x268e53(0x13b)];}function _0x1a50(){const _0x4b928f=['disableComments','isEnabled','isExternal','ck-annotation__info-time','extendTemplate','203931SPwEqe','delegate','ck-annotation__actions','setTemplate','commentThreadInputView','name','_model','ck-suggestion--accept','innerHTML','descriptionParts','EXTERNAL_AVATAR','ck-comment__info-time','1711284RgHgPL','isActive','_createButton','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-suggestion-','361697CWcXkA','23952TZRmmU','ck-suggestion__main','ck-suggestion__info-name','userView','split','attributes','\x22></span>','commentThread','description','ck-suggestion--discard','title','20157AKtyGI','ck-annotation__info-name','10777585xOAErf','commentsListView','innerText','source','ck-suggestion','EXTERNAL_IMPORT_WORD_SUGGESTION','check','30Dvykop','authoredAt','EXTERNAL_IMPORT_WORD_AVATAR','content','ck-suggestion__user','</p>','ck-annotation__main','acceptButton','creator','ck-suggestion__info','ck-comment__external','</span>','Accept\x20suggestion','canAccept','push','40efZRvE','importWord','map','ck-suggestion-wrapper','formatDateTime','_config','getUserViewNotificationText','bind','join','color','ck-annotation__content-wrapper','type','ck-suggestion__actions','bindTemplate','acceptSuggestion','canDiscard','ck-annotation__user','130nrWGnD','children','span','editorDestroyed','ck-suggestion-wrapper--active','10ayegFN','execute','time','change:description','ck-annotation__info','Discard\x20suggestion','ck-suggestion--disabled-comments','getTemplate','querySelector','cancel','<p>','set','div','\x22\x20title=\x22','<span\x20class=\x22ck-suggestion-type\x22>','element','discardButton','getExternalSuggestionNote','EXTERNAL_SUGGESTION','9EaJGie','ck-annotation','value','@external','author','.ck-annotation__content-wrapper','render','fire','editorReady','803UZHtZF','locale','_descriptionElement','createElement','751508NsdUGx','discardSuggestion'];_0x1a50=function(){return _0x4b928f;};return _0x1a50();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x2bdaa0,_0x6ed2d1,_0x4f4d40){const t=_0x2bdaa0['t'];switch(_0x6ed2d1){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',_0x4f4d40);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4f4d40);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4f4d40);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4f4d40);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4f4d40);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',_0x4f4d40);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4f4d40);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',_0x4f4d40);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4f4d40);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4f4d40);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4f4d40);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4f4d40);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4f4d40);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4f4d40);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4f4d40);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4f4d40);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4f4d40);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4f4d40);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4f4d40);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4f4d40);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4f4d40);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4f4d40);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4f4d40);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'},_0x4f4d40);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4f4d40);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4f4d40);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4f4d40);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4f4d40);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4f4d40);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'},_0x4f4d40);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4f4d40);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4f4d40);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4f4d40);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4f4d40);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'},_0x4f4d40);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4f4d40);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'},_0x4f4d40);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'},_0x4f4d40);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4f4d40);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'},_0x4f4d40);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4f4d40);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'},_0x4f4d40);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4f4d40);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4f4d40);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'},_0x4f4d40);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'},_0x4f4d40);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 _0x6ed2d1;}}
|
|
23
|
+
export function getTranslation(_0x5f2724,_0x3bc418,_0x543780){const t=_0x5f2724['t'];switch(_0x3bc418){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',_0x543780);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x543780);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x543780);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x543780);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x543780);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',_0x543780);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x543780);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',_0x543780);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x543780);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x543780);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x543780);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x543780);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x543780);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x543780);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x543780);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x543780);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x543780);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x543780);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x543780);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x543780);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x543780);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x543780);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x543780);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'},_0x543780);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x543780);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x543780);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x543780);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x543780);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x543780);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'},_0x543780);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x543780);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x543780);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x543780);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x543780);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'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x543780);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x543780);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'},_0x543780);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'},_0x543780);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x543780);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'},_0x543780);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x543780);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'},_0x543780);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x543780);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x543780);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'},_0x543780);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'},_0x543780);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 _0x3bc418;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x15f236,_0x17b7b7){const _0x42c65c=_0xb567,_0x35bc47=_0x15f236();while(!![]){try{const _0x128dda=parseInt(_0x42c65c(0x84))/0x1+parseInt(_0x42c65c(0x91))/0x2+-parseInt(_0x42c65c(0x76))/0x3*(-parseInt(_0x42c65c(0x77))/0x4)+-parseInt(_0x42c65c(0x74))/0x5*(parseInt(_0x42c65c(0x7e))/0x6)+-parseInt(_0x42c65c(0x8e))/0x7+parseInt(_0x42c65c(0x7b))/0x8+-parseInt(_0x42c65c(0x72))/0x9*(-parseInt(_0x42c65c(0x96))/0xa);if(_0x128dda===_0x17b7b7)break;else _0x35bc47['push'](_0x35bc47['shift']());}catch(_0x7ba341){_0x35bc47['push'](_0x35bc47['shift']());}}}(_0x3d96,0xd52dc));export function normalizeDescription(_0x4b1b25){const _0x5978fd=_0xb567;return Array[_0x5978fd(0x81)](_0x4b1b25)||(_0x4b1b25=[_0x4b1b25]),_0x4b1b25[_0x5978fd(0x88)](_0x5726bc=>{const _0x2286c6=_0x5978fd,_0xfb678a=_0x5726bc[_0x2286c6(0x8f)][_0x2286c6(0x8b)](/\*/g,''),_0x2c0843=_0x5726bc[_0x2286c6(0x89)]?_0x2286c6(0x92)+_0x5726bc[_0x2286c6(0x89)][_0x2286c6(0x73)]+']':'';return'['+_0x5726bc[_0x2286c6(0x75)]+']\x20'+_0xfb678a+_0x2c0843;})[_0x5978fd(0x71)](';\x20');}function _0xb567(_0x2d1b8a,_0x481ba2){const _0x3d96dd=_0x3d96();return _0xb567=function(_0xb567e6,_0x3ab498){_0xb567e6=_0xb567e6-0x6d;let _0xd979a8=_0x3d96dd[_0xb567e6];return _0xd979a8;},_0xb567(_0x2d1b8a,_0x481ba2);}export function sortSuggestions(_0x5c41f3){const _0x297e6f=_0xb567;return _0x5c41f3[_0x297e6f(0x6f)]((_0x46b492,_0x531d2a)=>_0x297e6f(0x6e)==_0x46b492[_0x297e6f(0x75)]&&_0x297e6f(0x6e)!=_0x531d2a[_0x297e6f(0x75)]?-0x1:_0x297e6f(0x6e)!=_0x46b492[_0x297e6f(0x75)]&&_0x297e6f(0x6e)==_0x531d2a[_0x297e6f(0x75)]?0x1:0x0);}export function getSelectedSuggestions(_0x494c73,_0x683b3e){const _0x4c9efd=_0xb567,_0x3ceb73=Array[_0x4c9efd(0x79)](_0x494c73[_0x4c9efd(0x8a)]()),_0x9fdfcc=new Set();for(const _0xfb0c32 of _0x683b3e)if(_0xfb0c32[_0x4c9efd(0x8d)]){for(const _0x1ac6e0 of _0x3ceb73)for(const _0x478045 of _0xfb0c32[_0x4c9efd(0x8a)]())(_0x1ac6e0[_0x4c9efd(0x95)](_0x478045)||_0x494c73[_0x4c9efd(0x7a)]&&!_0xfb0c32[_0x4c9efd(0x82)]&&_0xfb0c32[_0x4c9efd(0x7d)]&&_0x478045[_0x4c9efd(0x7c)][_0x4c9efd(0x94)](_0x1ac6e0[_0x4c9efd(0x80)]))&&_0x9fdfcc[_0x4c9efd(0x8c)](_0xfb0c32);}return _0x9fdfcc;}export function getRangesOfBlockGroups(_0x1ec01a,_0x1f47df){const _0x3cbc28=_0xb567;let _0x494e7b,_0x1ae311=0x0;const _0x12fe13=[],_0x1d263d=_0x1f47df[_0x3cbc28(0x86)];for(;_0x1ae311<_0x1ec01a[_0x3cbc28(0x83)];){const _0x170826=_0x1ec01a[_0x1ae311],_0x3439e2=_0x1ec01a[_0x1ae311+0x1];_0x494e7b||(_0x494e7b=_0x1f47df[_0x3cbc28(0x87)](_0x170826)),co(_0x1f47df,_0x170826,_0x3439e2)||(_0x12fe13[_0x3cbc28(0x78)](_0x1f47df[_0x3cbc28(0x97)](_0x494e7b,_0x1d263d[_0x3cbc28(0x85)](_0x170826)?_0x1f47df[_0x3cbc28(0x6d)](_0x170826):_0x1f47df[_0x3cbc28(0x70)](_0x170826,_0x3cbc28(0x7c)))),_0x494e7b=null),_0x1ae311++;}return _0x12fe13;}function co(_0x2cf552,_0x3d6901,_0x42a8b0){const _0x5daf16=_0xb567;if(!_0x42a8b0)return!0x1;const _0x4d8505=_0x2cf552[_0x5daf16(0x6d)](_0x3d6901),_0x498bf2=_0x2cf552[_0x5daf16(0x87)](_0x42a8b0);return _0x4d8505[_0x5daf16(0x94)](_0x498bf2);}function _0x3d96(){const _0x2d754e=['length','1349484RJIKPf','isObject','schema','createPositionBefore','map','color','getRanges','replace','add','isInContent','8866438nwakWM','content','splice','25076ylAApq','\x20[color\x20','execute','isTouching','isIntersecting','1290oVvTsC','createRange','createPositionAfter','deletion','sort','createPositionAt','join','56799qQxJfT','value','5unVLqL','type','123BfPitJ','40156mugWfy','push','from','isCollapsed','693624omoxIz','end','next','3207774vdwXrr','change','start','isArray','isMultiRange'];_0x3d96=function(){return _0x2d754e;};return _0x3d96();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2b7afe,_0xd013d3,_0x5b49af){const _0x2c98e5=_0xb567;for(;_0x5b49af[_0x2c98e5(0x83)];){const _0x7239e7=_0x5b49af[_0x2c98e5(0x90)](0x0,0x64);_0x2b7afe[_0x2c98e5(0x7f)](()=>{const _0x7b90cd=_0x2c98e5;for(const _0xa39a4b of _0x7239e7)_0xa39a4b[_0x7b90cd(0x8d)]&&_0xd013d3[_0x7b90cd(0x93)](_0xa39a4b['id']);});}}
|