@ckeditor/ckeditor5-track-changes 44.2.0-alpha.5 → 44.2.0-alpha.7
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/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +25 -25
- 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/previewfinalcontentcommand.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/bookmark.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/emoji.d.ts +17 -0
- package/src/integrations/emoji.js +23 -0
- 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/mergefields.js +1 -1
- package/src/integrations/multilevellist.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/replacesourcecommand.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/uploadcare.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +2 -2
- 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/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.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 _0x7b1e5e=_0x32a9;(function(_0x4cf9eb,_0x2f9ef5){const _0x1ec9a7=_0x32a9,_0x44c54e=_0x4cf9eb();while(!![]){try{const _0x5d56d2=-parseInt(_0x1ec9a7(0x92))/0x1*(parseInt(_0x1ec9a7(0x97))/0x2)+-parseInt(_0x1ec9a7(0x87))/0x3+parseInt(_0x1ec9a7(0x95))/0x4+parseInt(_0x1ec9a7(0x8e))/0x5+parseInt(_0x1ec9a7(0x88))/0x6+-parseInt(_0x1ec9a7(0x8b))/0x7*(parseInt(_0x1ec9a7(0x94))/0x8)+parseInt(_0x1ec9a7(0x90))/0x9*(-parseInt(_0x1ec9a7(0x96))/0xa);if(_0x5d56d2===_0x2f9ef5)break;else _0x44c54e['push'](_0x44c54e['shift']());}catch(_0x59ea44){_0x44c54e['push'](_0x44c54e['shift']());}}}(_0x5d16,0x694e0));import{Plugin as _0x898b59}from'ckeditor5/src/core.js';import{Dialog as _0x2d19a6}from'ckeditor5/src/ui.js';import _0x52c5ee from'./trackchangesdata.js';function _0x32a9(_0x12fa1a,_0x424cfc){const _0x5d16f4=_0x5d16();return _0x32a9=function(_0x32a9ab,_0x4e8de5){_0x32a9ab=_0x32a9ab-0x86;let _0x436a2b=_0x5d16f4[_0x32a9ab];return _0x436a2b;},_0x32a9(_0x12fa1a,_0x424cfc);}import _0x572a46 from'./commands/previewfinalcontentcommand.js';function _0x5d16(){const _0x2b97b3=['pluginName','4343067QNaauB','requires','4349zHvFqj','TrackChangesPreview','304aSDwYW','2208376ecaZKA','10rrrcti','22CQmjWw','appendChild','isOfficialPlugin','config','commands','isPremiumPlugin','trackChanges.preview.renderFunction','572991SqdBmu','4232064zflawY','add','previewFinalContent','97853xiAGiO','define','editor','2132455gkLoTs'];_0x5d16=function(){return _0x2b97b3;};return _0x5d16();}import'../theme/trackchangespreview.css';export default class te extends _0x898b59{static get[_0x7b1e5e(0x91)](){return[_0x52c5ee,_0x2d19a6];}static get[_0x7b1e5e(0x8f)](){const _0x194665=_0x7b1e5e;return _0x194665(0x93);}static get[_0x7b1e5e(0x99)](){return!0x0;}static get[_0x7b1e5e(0x9c)](){return!0x0;}constructor(_0x399ac6){const _0x3ed8a2=_0x7b1e5e;super(_0x399ac6),_0x399ac6[_0x3ed8a2(0x9b)][_0x3ed8a2(0x89)](_0x3ed8a2(0x8a),new _0x572a46(this[_0x3ed8a2(0x8d)])),_0x399ac6[_0x3ed8a2(0x9a)][_0x3ed8a2(0x8c)](_0x3ed8a2(0x86),(_0x5216e6,_0x4934c7)=>{const _0x4b28de=_0x3ed8a2;for(const _0x401d2f of _0x4934c7)_0x5216e6[_0x4b28de(0x98)](_0x401d2f);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49f38c=_0x321f;(function(_0x4a46aa,_0x5d0f1d){const _0x122389=_0x321f,_0x5272a8=_0x4a46aa();while(!![]){try{const _0x3f96c7=parseInt(_0x122389(0x11c))/0x1+-parseInt(_0x122389(0x14c))/0x2*(-parseInt(_0x122389(0xe9))/0x3)+-parseInt(_0x122389(0xcd))/0x4+parseInt(_0x122389(0x133))/0x5*(parseInt(_0x122389(0x102))/0x6)+-parseInt(_0x122389(0x10d))/0x7+-parseInt(_0x122389(0xcb))/0x8+parseInt(_0x122389(0xe7))/0x9*(parseInt(_0x122389(0x108))/0xa);if(_0x3f96c7===_0x5d0f1d)break;else _0x5272a8['push'](_0x5272a8['shift']());}catch(_0x361202){_0x5272a8['push'](_0x5272a8['shift']());}}}(_0x3bc0,0x43825));import{Plugin as _0x572c71}from'ckeditor5/src/core.js';import{Collection as _0x50b0d0}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x1fac3c,createDropdown as _0x205956,ListSeparatorView as _0x323dcc,MenuBarMenuView as _0x446814,MenuBarMenuListView as _0x2a7ea0,MenuBarMenuListItemView as _0x11fcbe,MenuBarMenuListItemButtonView as _0x3e4ed2,SplitButtonView as _0x41cadf,ViewModel as _0x39b05b}from'ckeditor5/src/ui.js';import{Users as _0x1ec61f,getDateTimeFormatter as _0x518b8f,getAllMarkersDomElementsSorted as _0x2da25d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x526b75 from'./trackchangesediting.js';function _0x321f(_0x3ff156,_0x208170){const _0x3bc026=_0x3bc0();return _0x321f=function(_0x321f16,_0x242406){_0x321f16=_0x321f16-0xc1;let _0x571341=_0x3bc026[_0x321f16];return _0x571341;},_0x321f(_0x3ff156,_0x208170);}function _0x3bc0(){const _0x5a85ba=['12kQdyBf','pluginName','CommentsUI','trackChangesLicenseKeyNotAllowed','Accept\x20all\x20suggestions','EditorAnnotations','3950EZZcNn','length','_disableComments','SuggestionView','trackChanges','166572AnRmhA','descriptionParts','discardAllSuggestions','delegate','define','menuitem','Track\x20changes','CommentView','trackChanges.SuggestionThreadView','featureNotAllowed','hasSuggestion','usageLimit','invalid','head','isPremiumPlugin','194949ehCRRY','set','from','createAnnotationView','toMany','_updateController','SuggestionThreadView','trackChangesLicenseKeyTrialLimit','Discard\x20all\x20suggestions','mainView','separator','_suggestionToController','trackChangesLicenseKeyDomainLimit','getFirstRange','keys','_bindAnnotationToEditors','init','plugins','suggestionChanged','children','_showLicenseError','menuitemcheckbox','activeMarkers','603095ksqMao','trialLimit','bind','acceptSelectedSuggestions','clear','commentThread','isMultiRange','getMarkers','createAnnotation','type','addSourceCollector','innerView','discardButton','getSuggestion','filter','TrackChangesPreview','trackChangesLicenseKeyUsageLimit','trackChanges.SuggestionView','suggestion-','focus','TrackChanges','button','reduce','_annotationViews','trackChanges.disableComments','980kmpQqE','TrackChangesUI','comments.maxThreadTotalWeight','_initializeController','isDirty','suggestionView','activeAnnotations','comments.maxCommentCharsWhenCollapsed','requires','change:activeAnnotations','listenTo','Preview\x20final\x20content','add','suggestionLoaded','comments','execute','_destroyController','CommentsRepository','domainLimit','comments.editorConfig','menuBar:trackChanges','isInContent','actionView','evaluationLimit','arrowView','createCommentThreadController','getRanges','TrackChangesEditing','previewFinalContent','values','config','_unbindEditors','buttonView','getMarkerNames','editing','suggestionUnloaded','delete','_createToolbarButton','commands','_handleSuggestionControllerDelayed','value','model','remove','unbind','comments.maxCommentsWhenCollapsed','acceptAllSuggestions','_handleControllerBuffer','1924448OfgOVP','_viewToController','2206432SMcCRz','descriptionFactory','view','panelView','registerAnnotation','acceptButton','switchbutton','licenseKey','getJoined','trackChangesLicenseKeyInvalid','escape','trackChangesLicenseKeyEvaluationLimit','getByInnerView','discardSelectedSuggestions','addMany','_addUIComponentsToFactory','previous','source','isOn','commandName','get','size','items','expired','isEnabled','trackChangesLicenseKeyValid','13770wVWRwp','Annotations','318tpJUPN','getDescriptions','getAllAdjacentSuggestions','addComment','isOfficialPlugin','push','lowest','Discard\x20all\x20selected\x20suggestions','_licenseKeyCheckInterval','componentFactory','locale','stopListening','menu','Accept\x20all\x20selected\x20suggestions','refreshSelectedViews','destroy','_createMenuBarMenu','fire','change:previous','has','_refreshActiveMarkers','commentsListView','some','trackChangesLicenseKeyExpired','editor'];_0x3bc0=function(){return _0x5a85ba;};return _0x3bc0();}import _0x4ff796 from'./ui/suggestioncontroller.js';import _0xc9987a from'./ui/view/suggestionthreadview.js';import _0x4f176f from'./ui/view/suggestionview.js';import{getTranslation as _0x2da0cd}from'./utils/common-translations.js';import _0xdebfb8 from'../theme/icons/track-changes.svg';export default class d extends _0x572c71{static get[_0x49f38c(0x154)](){const _0x57763b=_0x49f38c;return[_0x526b75,_0x1ec61f,_0x57763b(0x15d),_0x57763b(0xe8),_0x57763b(0x107)];}static get[_0x49f38c(0x103)](){const _0x4bc4ef=_0x49f38c;return _0x4bc4ef(0x14d);}static get[_0x49f38c(0xed)](){return!0x0;}static get[_0x49f38c(0x11b)](){return!0x0;}constructor(_0x454009){const _0x2b7fd6=_0x49f38c;super(_0x454009),this[_0x2b7fd6(0x127)]=new Map(),this[_0x2b7fd6(0xcc)]=new Map(),this[_0x2b7fd6(0x14a)]=new Map(),this[_0x2b7fd6(0xca)]=new Map();const _0x48be1f=this[_0x2b7fd6(0x101)][_0x2b7fd6(0x16a)];_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x115),_0xc9987a),_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x144),_0x4f176f),_0x48be1f[_0x2b7fd6(0x111)](_0x2b7fd6(0x14b),!0x1),this[_0x2b7fd6(0x10a)]=_0x48be1f[_0x2b7fd6(0xe1)](_0x2b7fd6(0x14b));}[_0x49f38c(0xc3)](_0xcd3e8b,_0x65fee5){const _0x282946=_0x49f38c;0x0===this[_0x282946(0xca)][_0x282946(0xe2)]&&setTimeout(()=>{const _0x2d181b=_0x282946;for(const [_0x469c57,_0x3ac126]of this[_0x2d181b(0xca)]){const _0x29b261=this[_0x2d181b(0x127)][_0x2d181b(0xfc)](_0x469c57);_0x29b261||_0x3ac126?_0x29b261&&_0x3ac126&&this[_0x2d181b(0x15c)](_0x469c57):this[_0x2d181b(0x14f)](_0x469c57);}this[_0x2d181b(0xca)][_0x2d181b(0x137)](),this[_0x2d181b(0x101)][_0x2d181b(0x12d)][_0x2d181b(0xe1)](_0x2d181b(0x107))[_0x2d181b(0xf7)](),this[_0x2d181b(0xfd)]();},0xa),this[_0x282946(0xca)][_0x282946(0x11d)](_0xcd3e8b,_0x65fee5);}[_0x49f38c(0x12c)](){const _0x46b0d1=_0x49f38c,_0x8a8c15=this[_0x46b0d1(0x101)],_0x1a1cce=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x167)),_0x146cc0=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0xe8)),_0x5be039=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x107)),_0x3ac32d=_0x8a8c15[_0x46b0d1(0x12d)][_0x46b0d1(0xe1)](_0x46b0d1(0x15d));this[_0x46b0d1(0xdc)](),_0x5be039[_0x46b0d1(0x13d)](()=>{const _0x17751d=_0x46b0d1,_0x4af266=[];for(const [_0x55efc1,_0x2e6730]of Array[_0x17751d(0x11e)](this[_0x17751d(0x127)])){const _0x7079f=_0x55efc1[_0x17751d(0xeb)](),_0x556790=[];for(const _0xb5f624 of _0x7079f){if(!_0xb5f624[_0x17751d(0x161)])continue;if(_0xb5f624[_0x17751d(0x139)]){_0x556790[_0x17751d(0xee)](..._0xb5f624[_0x17751d(0x166)]());continue;}const _0xe006e8=_0xb5f624[_0x17751d(0x129)]();if(_0x556790[_0x17751d(0x109)]>0x0){const _0x470277=_0x556790[0x0][_0x17751d(0xd5)](_0xe006e8);if(_0x470277){_0x556790[0x0]=_0x470277;continue;}}_0x556790[_0x17751d(0xee)](_0xe006e8);}_0x4af266[_0x17751d(0xee)]([_0x2e6730[_0x17751d(0xcf)],_0x556790]);}return _0x4af266;}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x159),(_0x1e0104,_0x41f2ef)=>{const _0x34359b=_0x46b0d1;this[_0x34359b(0x156)](_0x41f2ef,_0x34359b(0xfb),(_0x127373,_0x166e51,_0x56b615,_0x3c30cf)=>{const _0x392fd3=_0x34359b;_0x41f2ef[_0x392fd3(0x161)]&&(null==_0x56b615?(this[_0x392fd3(0x121)](_0x3c30cf[_0x392fd3(0x11a)]),this[_0x392fd3(0xc3)](_0x41f2ef,!0x1)):(this[_0x392fd3(0x121)](_0x56b615[_0x392fd3(0x11a)]),null==_0x3c30cf&&this[_0x392fd3(0xc3)](_0x41f2ef,!0x0)));}),null!==_0x41f2ef[_0x34359b(0xdd)]?this[_0x34359b(0x121)](_0x41f2ef[_0x34359b(0x11a)]):this[_0x34359b(0xc3)](_0x41f2ef,!0x1);}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x16f),(_0x3612bc,_0x1a6fd9,_0x5bc75c)=>{const _0x5c9188=_0x46b0d1;this[_0x5c9188(0xf4)](_0x1a6fd9,_0x5c9188(0xfb)),this[_0x5c9188(0xca)][_0x5c9188(0x170)](_0x1a6fd9),this[_0x5c9188(0x127)][_0x5c9188(0xfc)](_0x1a6fd9)&&this[_0x5c9188(0x15c)](_0x1a6fd9),_0x5bc75c&&this[_0x5c9188(0x121)](_0x5bc75c[_0x5c9188(0x11a)]);}),this[_0x46b0d1(0x156)](_0x1a1cce,_0x46b0d1(0x12e),(_0x3a5740,_0x441bf0)=>{const _0x2c8784=_0x46b0d1;this[_0x2c8784(0x121)](_0x441bf0);}),this[_0x46b0d1(0x156)](_0x146cc0,_0x46b0d1(0x155),()=>{const _0x38079a=_0x46b0d1;this[_0x38079a(0xfd)]();}),this[_0x46b0d1(0x156)](_0x3ac32d,_0x46b0d1(0xec),(_0x38cf12,{threadId:_0x14d17a,isFromAdapter:_0x1f4575})=>{const _0x133655=_0x46b0d1;if(_0x1f4575||!_0x1a1cce[_0x133655(0x117)](_0x14d17a))return;const _0x1fe26c=_0x1a1cce[_0x133655(0x140)](_0x14d17a);this[_0x133655(0x127)][_0x133655(0xe1)](_0x1fe26c)[_0x133655(0xcf)][_0x133655(0xfe)][_0x133655(0x146)](-0x1);},{'priority':_0x46b0d1(0xef)}),this[_0x46b0d1(0xd4)]=this[_0x46b0d1(0x101)][_0x46b0d1(0x16a)][_0x46b0d1(0xe1)](_0x46b0d1(0xd4));const _0x817cd3=this[_0x46b0d1(0x101)];this[_0x46b0d1(0xf1)]=setInterval(()=>{const _0x4d71db=_0x46b0d1;let _0x593a0d;for(const _0x6184d7 in _0x817cd3){const _0xdc9f71=_0x6184d7,_0x165364=_0x817cd3[_0xdc9f71];if(_0x4d71db(0xe6)==_0x165364||_0x4d71db(0xd6)==_0x165364||_0x4d71db(0x100)==_0x165364||_0x4d71db(0x128)==_0x165364||_0x4d71db(0x105)==_0x165364||_0x4d71db(0xd8)==_0x165364||_0x4d71db(0x123)==_0x165364||_0x4d71db(0x143)==_0x165364){delete _0x817cd3[_0xdc9f71],_0x593a0d=_0x165364,clearInterval(this[_0x4d71db(0xf1)]),this[_0x4d71db(0xf1)]=void 0x0;break;}}_0x4d71db(0xd6)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x119)),_0x4d71db(0x100)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0xe4)),_0x4d71db(0x128)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x15e)),_0x4d71db(0x105)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x116),_0x4d71db(0x147)),_0x4d71db(0xd8)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x163)),_0x4d71db(0x123)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x134)),_0x4d71db(0x143)==_0x593a0d&&_0x817cd3[_0x4d71db(0x130)](_0x4d71db(0x118));},0x3e8);}[_0x49f38c(0xfd)](){const _0x330b2e=_0x49f38c,_0x533a84=this[_0x330b2e(0x101)][_0x330b2e(0x12d)][_0x330b2e(0xe1)](_0x330b2e(0xe8)),_0x1b5a4a=this[_0x330b2e(0x101)][_0x330b2e(0x12d)][_0x330b2e(0xe1)](_0x330b2e(0x167)),_0x41ec06=Array[_0x330b2e(0x11e)](_0x533a84[_0x330b2e(0x152)],_0x5d5382=>_0x5d5382[_0x330b2e(0x13e)])[_0x330b2e(0x141)](_0x4b374e=>this[_0x330b2e(0xcc)][_0x330b2e(0xfc)](_0x4b374e)),_0x5deead=[];for(const _0x313b02 of _0x41ec06){const _0x22e491=this[_0x330b2e(0xcc)][_0x330b2e(0xe1)](_0x313b02)[_0x330b2e(0xc5)][_0x330b2e(0xeb)]();_0x5deead[_0x330b2e(0xee)](..._0x22e491[_0x330b2e(0x149)]((_0x4a4188,_0x133f4b)=>[..._0x4a4188,..._0x133f4b[_0x330b2e(0x16d)]()],[]));}_0x1b5a4a[_0x330b2e(0x132)]=_0x5deead;}[_0x49f38c(0xdc)](){const _0xca498=_0x49f38c,_0x381bca=this[_0xca498(0x101)],_0x4503d2=_0x381bca[_0xca498(0xf3)],_0x1e8b91=_0x2da0cd(_0x4503d2,_0xca498(0x113)),_0x4fc528=new _0x50b0d0([{'type':_0xca498(0xd3),'model':new _0x39b05b({'withText':!0x0,'isToggleable':!0x0,'label':_0x1e8b91,'commandName':_0xca498(0x10c),'role':_0xca498(0x131)})},{'type':_0xca498(0x126)},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x106)),'commandName':_0xca498(0xc9),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0xf6)),'commandName':_0xca498(0x136),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x124)),'commandName':_0xca498(0x10f),'role':_0xca498(0x112)})},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0xf0)),'commandName':_0xca498(0xda),'role':_0xca498(0x112)})}]);_0x381bca[_0xca498(0x12d)][_0xca498(0xfc)](_0xca498(0x142))&&_0x4fc528[_0xca498(0xdb)]([{'type':_0xca498(0x126)},{'type':_0xca498(0x148),'model':new _0x39b05b({'withText':!0x0,'label':_0x2da0cd(_0x4503d2,_0xca498(0x157)),'commandName':_0xca498(0x168),'role':_0xca498(0x112)})}]);for(const _0x3e0f47 of _0x4fc528)if(ke(_0x3e0f47)){const _0x141cce=_0x381bca[_0xca498(0xc2)][_0xca498(0xe1)](_0x3e0f47[_0xca498(0xc5)][_0xca498(0xe0)]);_0x3e0f47[_0xca498(0xc5)][_0xca498(0x135)](_0xca498(0xdf),_0xca498(0xe5))['to'](_0x141cce,_0xca498(0xc4),_0xca498(0xe5));}_0x381bca['ui'][_0xca498(0xf2)][_0xca498(0x158)](_0xca498(0x10c),_0x5e8e73=>this[_0xca498(0xc1)](_0x5e8e73,_0x4fc528,_0x1e8b91)),_0x381bca['ui'][_0xca498(0xf2)][_0xca498(0x158)](_0xca498(0x160),_0x3202ce=>this[_0xca498(0xf9)](_0x3202ce,_0x4fc528,_0x1e8b91));}[_0x49f38c(0xc1)](_0x1a6472,_0x113568,_0x22cf99){const _0xd44979=_0x49f38c,_0x5cb050=_0x205956(_0x1a6472,_0x41cadf),_0x1fc100=this[_0xd44979(0x101)][_0xd44979(0xc2)][_0xd44979(0xe1)](_0xd44979(0x10c));_0x5cb050[_0xd44979(0x16c)][_0xd44979(0x11d)]({'tooltip':_0x22cf99,'label':_0x22cf99,'icon':_0xdebfb8}),_0x5cb050[_0xd44979(0x16c)][_0xd44979(0x135)](_0xd44979(0xdf))['to'](_0x1fc100,_0xd44979(0xc4)),_0x5cb050[_0xd44979(0x16c)]['on'](_0xd44979(0x15b),()=>{const _0x1e7429=_0xd44979;_0x1fc100[_0x1e7429(0x15b)](),this[_0x1e7429(0x101)][_0x1e7429(0x16e)][_0x1e7429(0xcf)][_0x1e7429(0x146)]();}),_0x1fac3c(_0x5cb050,_0x113568,{'role':_0xd44979(0xf5)});const _0x2b9aa0=[];for(const _0x1d69f1 of _0x113568)ke(_0x1d69f1)&&_0x2b9aa0[_0xd44979(0xee)](this[_0xd44979(0x101)][_0xd44979(0xc2)][_0xd44979(0xe1)](_0x1d69f1[_0xd44979(0xc5)][_0xd44979(0xe0)]));const _0x4c6a32=_0x5cb050[_0xd44979(0x16c)];return _0x4c6a32[_0xd44979(0x162)][_0xd44979(0xc7)](_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x164)][_0xd44979(0xc7)](_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x162)][_0xd44979(0x135)](_0xd44979(0xe5))['to'](_0x1fc100,_0xd44979(0xe5)),_0x4c6a32[_0xd44979(0x164)][_0xd44979(0x135)](_0xd44979(0xe5))[_0xd44979(0x120)](_0x2b9aa0,_0xd44979(0xe5),(..._0x1dccc2)=>_0x1dccc2[_0xd44979(0xff)](_0x181c58=>_0x181c58)),_0x5cb050['on'](_0xd44979(0x15b),_0x4ef62b=>{const _0x39ebe3=_0xd44979;this[_0x39ebe3(0x101)][_0x39ebe3(0x15b)](_0x4ef62b[_0x39ebe3(0xde)][_0x39ebe3(0xe0)]),this[_0x39ebe3(0x101)][_0x39ebe3(0x16e)][_0x39ebe3(0xcf)][_0x39ebe3(0x146)]();}),_0x5cb050;}[_0x49f38c(0xf9)](_0x194c16,_0x27baf4,_0x341563){const _0x4320e2=_0x49f38c,_0x1b6c41=new _0x446814(_0x194c16),_0x44cfbb=this[_0x4320e2(0x101)][_0x4320e2(0xc2)][_0x4320e2(0xe1)](_0x4320e2(0x10c));_0x1b6c41[_0x4320e2(0x16c)][_0x4320e2(0x11d)]({'label':_0x341563,'icon':_0xdebfb8});const _0x4d88cd=new _0x2a7ea0(_0x194c16);for(const _0x3aa86e of _0x27baf4){if(_0x4320e2(0x126)==_0x3aa86e[_0x4320e2(0x13c)]){_0x4d88cd[_0x4320e2(0xe3)][_0x4320e2(0x158)](new _0x323dcc(_0x194c16));continue;}const _0x5684f8=new _0x11fcbe(_0x194c16,_0x1b6c41),_0x26d71b=new _0x3e4ed2(_0x194c16),_0x52abf0=_0x3aa86e[_0x4320e2(0xc5)];_0x26d71b[_0x4320e2(0x135)](...Object[_0x4320e2(0x12a)](_0x52abf0))['to'](_0x52abf0),_0x26d71b[_0x4320e2(0x110)](_0x4320e2(0x15b))['to'](_0x1b6c41),_0x26d71b['on'](_0x4320e2(0x15b),()=>{const _0x14144c=_0x4320e2;this[_0x14144c(0x101)][_0x14144c(0x15b)](_0x52abf0[_0x14144c(0xe0)]),this[_0x14144c(0x101)][_0x14144c(0x16e)][_0x14144c(0xcf)][_0x14144c(0x146)]();}),_0x5684f8[_0x4320e2(0x12f)][_0x4320e2(0x158)](_0x26d71b),_0x4d88cd[_0x4320e2(0xe3)][_0x4320e2(0x158)](_0x5684f8);}return _0x1b6c41[_0x4320e2(0x135)](_0x4320e2(0xe5))['to'](_0x44cfbb,_0x4320e2(0xe5)),_0x1b6c41[_0x4320e2(0xd0)][_0x4320e2(0x12f)][_0x4320e2(0x158)](_0x4d88cd),_0x1b6c41;}[_0x49f38c(0x14f)](_0x27c645){const _0x176252=_0x49f38c,_0x496945=this[_0x176252(0x101)],_0x3f65c2=_0x496945[_0x176252(0x16a)],_0x2c400e=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0xe8)),_0x5465fa=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x15d)),_0x254469=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x107)),_0x2c1607=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x1ec61f)['me'],_0x2257e6=_0x3f65c2[_0x176252(0xe1)](_0x176252(0x10c))[_0x176252(0x122)],_0x1a2864=_0x3f65c2[_0x176252(0xe1)](_0x176252(0x10c))[_0x176252(0x10b)],{CommentsListView:_0x1cd8e6,CommentThreadInputView:_0xae5bfd}=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x104));let _0x52ac51,_0x3ac73a,_0x6dcb3f;this[_0x176252(0x14a)][_0x176252(0xfc)](_0x27c645['id'])?(_0x3ac73a=this[_0x176252(0x14a)][_0x176252(0xe1)](_0x27c645['id']),_0x52ac51=_0x3ac73a[_0x176252(0x125)]):(_0x52ac51=new _0x2257e6(_0x496945[_0x176252(0xf3)],_0x27c645,_0x2c1607,{'disableComments':this[_0x176252(0x10a)],'editorConfig':{..._0x3f65c2[_0x176252(0xe1)](_0x176252(0x15f)),'licenseKey':_0x3f65c2[_0x176252(0xe1)](_0x176252(0xd4))},'maxCommentsWhenCollapsed':_0x3f65c2[_0x176252(0xe1)](_0x176252(0xc8)),'maxThreadTotalWeight':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x14e)),'maxCommentCharsWhenCollapsed':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x153)),'formatDateTime':_0x518b8f(_0x3f65c2[_0x176252(0xe1)](_0x176252(0xf3))),'CommentView':_0x3f65c2[_0x176252(0xe1)](_0x176252(0x15a))[_0x176252(0x114)],'CommentsListView':_0x1cd8e6,'CommentThreadInputView':_0xae5bfd,'SuggestionView':_0x1a2864}),_0x52ac51[_0x176252(0x151)][_0x176252(0xd2)]['on'](_0x176252(0x15b),()=>{const _0x15b310=_0x176252;_0x496945[_0x15b310(0x16e)][_0x15b310(0xcf)][_0x15b310(0x146)]();}),_0x52ac51[_0x176252(0x151)][_0x176252(0x13f)]['on'](_0x176252(0x15b),()=>{const _0x10b771=_0x176252;_0x496945[_0x10b771(0x16e)][_0x10b771(0xcf)][_0x10b771(0x146)]();}),_0x3ac73a=_0x2c400e[_0x176252(0x11f)](this[_0x176252(0x101)][_0x176252(0xf3)],_0x52ac51),_0x3ac73a[_0x176252(0x135)](_0x176252(0x150))['to'](_0x52ac51,_0x176252(0x150)),_0x3ac73a[_0x176252(0x135)](_0x176252(0x109))['to'](_0x52ac51),_0x3ac73a[_0x176252(0x135)](_0x176252(0x13c))['to'](_0x52ac51,_0x176252(0x13c),_0x5db0c1=>_0x176252(0x145)+_0x5db0c1),_0x52ac51['on'](_0x176252(0xd7),()=>{const _0xdb0684=_0x176252;_0x6dcb3f[_0xdb0684(0xfa)](_0xdb0684(0xd7));}),this[_0x176252(0x14a)][_0x176252(0x11d)](_0x27c645['id'],_0x3ac73a));const _0x2ea3b3=_0x5465fa[_0x176252(0x165)](_0x27c645[_0x176252(0x138)],_0x52ac51),_0x413958=new _0x4ff796(_0x496945,_0x27c645,_0x52ac51,_0x2ea3b3),_0x2223e0=_0x27c645[_0x176252(0xeb)]()[_0x176252(0x141)](_0x17d113=>_0x17d113[_0x176252(0x161)]);_0x52ac51[_0x176252(0x10e)]=_0x496945[_0x176252(0x12d)][_0x176252(0xe1)](_0x176252(0x167))[_0x176252(0xce)][_0x176252(0xea)](_0x2223e0),this[_0x176252(0x127)][_0x176252(0x11d)](_0x27c645,_0x413958),this[_0x176252(0xcc)][_0x176252(0x11d)](_0x52ac51,_0x413958),_0x6dcb3f=_0x2c400e[_0x176252(0x13b)]({'view':_0x3ac73a,'target':()=>{const _0x2ec2c1=_0x176252,_0x4a8954=[],_0x4e9ec4=_0x27c645[_0x2ec2c1(0xeb)]()[_0x2ec2c1(0x141)](_0x21502b=>_0x21502b[_0x2ec2c1(0x161)]);for(const _0x4e03cf of _0x4e9ec4)_0x4a8954[_0x2ec2c1(0xee)](..._0x4e03cf[_0x2ec2c1(0x13a)]());return _0x2da25d(_0x496945[_0x2ec2c1(0x16e)],_0x4a8954);},'type':()=>_0x176252(0x145)+_0x413958[_0x176252(0xcf)][_0x176252(0x13c)]}),_0x5465fa[_0x176252(0x12b)](_0x52ac51,_0x6dcb3f),_0x2c400e[_0x176252(0x158)](_0x6dcb3f),_0x254469[_0x176252(0xd1)](_0x6dcb3f);}[_0x49f38c(0x15c)](_0x119d13){const _0x599530=_0x49f38c,_0x117c6a=this[_0x599530(0x101)][_0x599530(0x12d)][_0x599530(0xe1)](_0x599530(0x15d)),_0x6fc776=this[_0x599530(0x101)][_0x599530(0x12d)][_0x599530(0xe1)](_0x599530(0xe8)),_0x2ce86e=this[_0x599530(0x127)][_0x599530(0xe1)](_0x119d13),_0x20737e=_0x2ce86e[_0x599530(0xcf)],_0x432021=_0x6fc776[_0x599530(0xd9)](_0x20737e);_0x117c6a[_0x599530(0x16b)](_0x20737e),_0x432021&&_0x6fc776[_0x599530(0xc6)](_0x432021),this[_0x599530(0x127)][_0x599530(0x170)](_0x119d13),this[_0x599530(0xcc)][_0x599530(0x170)](_0x20737e),_0x2ce86e[_0x599530(0xf8)]();}[_0x49f38c(0x121)](_0x21201e){const _0x2b1e49=_0x49f38c;if(!_0x21201e[_0x2b1e49(0x161)]||!this[_0x2b1e49(0x127)][_0x2b1e49(0xfc)](_0x21201e))return;const _0x46d5ab=this[_0x2b1e49(0x101)][_0x2b1e49(0x12d)][_0x2b1e49(0xe1)](_0x2b1e49(0x167)),_0x11986b=this[_0x2b1e49(0x127)][_0x2b1e49(0xe1)](_0x21201e),_0x6c2185=_0x21201e[_0x2b1e49(0xeb)]();_0x11986b[_0x2b1e49(0xcf)][_0x2b1e49(0x10e)]=_0x46d5ab[_0x2b1e49(0xce)][_0x2b1e49(0xea)](_0x6c2185);}[_0x49f38c(0xf8)](){const _0x4eb985=_0x49f38c;for(const _0x26f60a of this[_0x4eb985(0x127)][_0x4eb985(0x12a)]())this[_0x4eb985(0x15c)](_0x26f60a);for(const _0x16ae8a of this[_0x4eb985(0x14a)][_0x4eb985(0x169)]())_0x16ae8a[_0x4eb985(0x125)][_0x4eb985(0xf8)]();super[_0x4eb985(0xf8)](),this[_0x4eb985(0xf1)]&&clearInterval(this[_0x4eb985(0xf1)]);}}function ke(_0x42366c){const _0x5880a0=_0x49f38c;return _0x5880a0(0xc5)in _0x42366c;}
|
|
23
|
+
const _0x5a4453=_0x3c5e;(function(_0x159758,_0x577d1f){const _0x544764=_0x3c5e,_0x3db9f5=_0x159758();while(!![]){try{const _0x2d4a56=-parseInt(_0x544764(0x152))/0x1*(-parseInt(_0x544764(0x111))/0x2)+-parseInt(_0x544764(0xd9))/0x3+-parseInt(_0x544764(0x163))/0x4+-parseInt(_0x544764(0xf1))/0x5*(-parseInt(_0x544764(0xb8))/0x6)+parseInt(_0x544764(0xdd))/0x7+parseInt(_0x544764(0x154))/0x8*(-parseInt(_0x544764(0xe6))/0x9)+parseInt(_0x544764(0xcb))/0xa;if(_0x2d4a56===_0x577d1f)break;else _0x3db9f5['push'](_0x3db9f5['shift']());}catch(_0x393622){_0x3db9f5['push'](_0x3db9f5['shift']());}}}(_0x2152,0x3bc2d));import{Plugin as _0xc93fbf}from'ckeditor5/src/core.js';import{Collection as _0x8ada42}from'ckeditor5/src/utils.js';function _0x3c5e(_0x55671d,_0x259f9f){const _0x21527f=_0x2152();return _0x3c5e=function(_0x3c5eef,_0x25d691){_0x3c5eef=_0x3c5eef-0xb5;let _0x36528=_0x21527f[_0x3c5eef];return _0x36528;},_0x3c5e(_0x55671d,_0x259f9f);}import{addListToDropdown as _0x586142,createDropdown as _0x168a89,ListSeparatorView as _0x3c6794,MenuBarMenuView as _0x2e7745,MenuBarMenuListView as _0x21debf,MenuBarMenuListItemView as _0x525319,MenuBarMenuListItemButtonView as _0x44b122,SplitButtonView as _0xa1846f,ViewModel as _0xe3e435}from'ckeditor5/src/ui.js';import{Users as _0x23b43b,getDateTimeFormatter as _0x1c4687,getAllMarkersDomElementsSorted as _0x24bb6f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x84f590 from'./trackchangesediting.js';import _0x3da008 from'./ui/suggestioncontroller.js';import _0xf7ff67 from'./ui/view/suggestionthreadview.js';import _0x3baa7b from'./ui/view/suggestionview.js';import{getTranslation as _0x4a62c0}from'./utils/common-translations.js';import _0x2195f7 from'../theme/icons/track-changes.svg';function _0x2152(){const _0x4fac15=['init','trackChangesLicenseKeyTrialLimit','addMany','suggestionChanged','listenTo','_showLicenseError','SuggestionThreadView','hasSuggestion','featureNotAllowed','trackChanges.disableComments','5acbASK','menuBar:trackChanges','CommentView','size','mainView','addSourceCollector','panelView','commentThread','trackChangesLicenseKeyExpired','_annotationViews','execute','suggestionUnloaded','Discard\x20all\x20suggestions','invalid','bind','escape','getMarkerNames','set','_handleControllerBuffer','change:previous','_updateController','previewFinalContent','componentFactory','SuggestionView','isOfficialPlugin','trackChanges.SuggestionView','getByInnerView','TrackChanges','isOn','getSuggestion','isDirty','comments','632ZBIjBF','comments.maxCommentsWhenCollapsed','comments.editorConfig','suggestion-','suggestionView','config','pluginName','length','_addUIComponentsToFactory','filter','editing','EditorAnnotations','createCommentThreadController','view','trackChangesLicenseKeyInvalid','_licenseKeyCheckInterval','Accept\x20all\x20suggestions','add','_viewToController','has','_suggestionToController','actionView','domainLimit','getJoined','destroy','locale','suggestionLoaded','unbind','source','expired','acceptButton','getAllAdjacentSuggestions','createAnnotationView','previous','_destroyController','toMany','Track\x20changes','isPremiumPlugin','button','some','commentsListView','trackChanges.SuggestionThreadView','value','delegate','menuitemcheckbox','trackChangesLicenseKeyUsageLimit','clear','arrowView','_refreshActiveMarkers','comments.maxCommentCharsWhenCollapsed','isMultiRange','addComment','_createMenuBarMenu','refreshSelectedViews','commands','trialLimit','trackChangesLicenseKeyValid','discardButton','CommentsUI','editor','values','Preview\x20final\x20content','trackChangesLicenseKeyDomainLimit','isEnabled','requires','103mWHdqN','separator','510824nVKABm','define','TrackChangesPreview','descriptionFactory','activeMarkers','TrackChangesEditing','_handleSuggestionControllerDelayed','delete','trackChangesLicenseKeyEvaluationLimit','getMarkers','discardAllSuggestions','trackChanges','menu','getRanges','discardSelectedSuggestions','1523476cwtYcd','get','head','trackChangesLicenseKeyNotAllowed','buttonView','1991706jyFyLY','_initializeController','Discard\x20all\x20selected\x20suggestions','commandName','evaluationLimit','plugins','usageLimit','remove','createAnnotation','items','_disableComments','_unbindEditors','getFirstRange','model','TrackChangesUI','switchbutton','fire','CommentsRepository','activeAnnotations','2212660jAEStu','_createToolbarButton','Annotations','keys','change:activeAnnotations','registerAnnotation','stopListening','descriptionParts','menuitem','acceptAllSuggestions','_bindAnnotationToEditors','lowest','acceptSelectedSuggestions','licenseKey','956934vioQdD','from','push','comments.maxThreadTotalWeight','3405983llFdIu','isInContent','children','Accept\x20all\x20selected\x20suggestions','focus','getDescriptions','innerView','type','reduce','18jbbsqW'];_0x2152=function(){return _0x4fac15;};return _0x2152();}export default class d extends _0xc93fbf{static get[_0x5a4453(0x151)](){const _0x5c5c41=_0x5a4453;return[_0x84f590,_0x23b43b,_0x5c5c41(0xc9),_0x5c5c41(0xcd),_0x5c5c41(0x11c)];}static get[_0x5a4453(0x117)](){const _0x5da942=_0x5a4453;return _0x5da942(0xc6);}static get[_0x5a4453(0x109)](){return!0x0;}static get[_0x5a4453(0x136)](){return!0x0;}constructor(_0x1e8d2f){const _0x2e29d7=_0x5a4453;super(_0x1e8d2f),this[_0x2e29d7(0x125)]=new Map(),this[_0x2e29d7(0x123)]=new Map(),this[_0x2e29d7(0xfa)]=new Map(),this[_0x2e29d7(0x103)]=new Map();const _0x192a70=this[_0x2e29d7(0x14c)][_0x2e29d7(0x116)];_0x192a70[_0x2e29d7(0x155)](_0x2e29d7(0x13a),_0xf7ff67),_0x192a70[_0x2e29d7(0x155)](_0x2e29d7(0x10a),_0x3baa7b),_0x192a70[_0x2e29d7(0x155)](_0x2e29d7(0xf0),!0x1),this[_0x2e29d7(0xc2)]=_0x192a70[_0x2e29d7(0x164)](_0x2e29d7(0xf0));}[_0x5a4453(0x15a)](_0x334771,_0x2752de){const _0x45e5fb=_0x5a4453;0x0===this[_0x45e5fb(0x103)][_0x45e5fb(0xf4)]&&setTimeout(()=>{const _0xb065f0=_0x45e5fb;for(const [_0x1060e1,_0x366086]of this[_0xb065f0(0x103)]){const _0x3c4c3d=this[_0xb065f0(0x125)][_0xb065f0(0x124)](_0x1060e1);_0x3c4c3d||_0x366086?_0x3c4c3d&&_0x366086&&this[_0xb065f0(0x133)](_0x1060e1):this[_0xb065f0(0xb9)](_0x1060e1);}this[_0xb065f0(0x103)][_0xb065f0(0x13f)](),this[_0xb065f0(0x14c)][_0xb065f0(0xbd)][_0xb065f0(0x164)](_0xb065f0(0x11c))[_0xb065f0(0x146)](),this[_0xb065f0(0x141)]();},0xa),this[_0x45e5fb(0x103)][_0x45e5fb(0x102)](_0x334771,_0x2752de);}[_0x5a4453(0xe7)](){const _0x3e75b1=_0x5a4453,_0x1fb9ea=this[_0x3e75b1(0x14c)],_0xb9acf1=_0x1fb9ea[_0x3e75b1(0xbd)][_0x3e75b1(0x164)](_0x3e75b1(0x159)),_0x47a33b=_0x1fb9ea[_0x3e75b1(0xbd)][_0x3e75b1(0x164)](_0x3e75b1(0xcd)),_0x14a440=_0x1fb9ea[_0x3e75b1(0xbd)][_0x3e75b1(0x164)](_0x3e75b1(0x11c)),_0x58fb44=_0x1fb9ea[_0x3e75b1(0xbd)][_0x3e75b1(0x164)](_0x3e75b1(0xc9));this[_0x3e75b1(0x119)](),_0x14a440[_0x3e75b1(0xf6)](()=>{const _0x363565=_0x3e75b1,_0x5f262d=[];for(const [_0x56dcdc,_0x204dfd]of Array[_0x363565(0xda)](this[_0x363565(0x125)])){const _0x460fce=_0x56dcdc[_0x363565(0x130)](),_0x37ddec=[];for(const _0x1d057d of _0x460fce){if(!_0x1d057d[_0x363565(0xde)])continue;if(_0x1d057d[_0x363565(0x143)]){_0x37ddec[_0x363565(0xdb)](..._0x1d057d[_0x363565(0x161)]());continue;}const _0x49e224=_0x1d057d[_0x363565(0xc4)]();if(_0x37ddec[_0x363565(0x118)]>0x0){const _0x127059=_0x37ddec[0x0][_0x363565(0x128)](_0x49e224);if(_0x127059){_0x37ddec[0x0]=_0x127059;continue;}}_0x37ddec[_0x363565(0xdb)](_0x49e224);}_0x5f262d[_0x363565(0xdb)]([_0x204dfd[_0x363565(0x11e)],_0x37ddec]);}return _0x5f262d;}),this[_0x3e75b1(0xeb)](_0xb9acf1,_0x3e75b1(0x12b),(_0x332345,_0x132cad)=>{const _0x1ed907=_0x3e75b1;this[_0x1ed907(0xeb)](_0x132cad,_0x1ed907(0x104),(_0x465d9d,_0x1d4278,_0x1f413d,_0x57cde6)=>{const _0x4e8f20=_0x1ed907;_0x132cad[_0x4e8f20(0xde)]&&(null==_0x1f413d?(this[_0x4e8f20(0x105)](_0x57cde6[_0x4e8f20(0xb5)]),this[_0x4e8f20(0x15a)](_0x132cad,!0x1)):(this[_0x4e8f20(0x105)](_0x1f413d[_0x4e8f20(0xb5)]),null==_0x57cde6&&this[_0x4e8f20(0x15a)](_0x132cad,!0x0)));}),null!==_0x132cad[_0x1ed907(0x132)]?this[_0x1ed907(0x105)](_0x132cad[_0x1ed907(0xb5)]):this[_0x1ed907(0x15a)](_0x132cad,!0x1);}),this[_0x3e75b1(0xeb)](_0xb9acf1,_0x3e75b1(0xfc),(_0x548a11,_0x9ce69e,_0x1c25ce)=>{const _0x27dc8e=_0x3e75b1;this[_0x27dc8e(0xd1)](_0x9ce69e,_0x27dc8e(0x104)),this[_0x27dc8e(0x103)][_0x27dc8e(0x15b)](_0x9ce69e),this[_0x27dc8e(0x125)][_0x27dc8e(0x124)](_0x9ce69e)&&this[_0x27dc8e(0x133)](_0x9ce69e),_0x1c25ce&&this[_0x27dc8e(0x105)](_0x1c25ce[_0x27dc8e(0xb5)]);}),this[_0x3e75b1(0xeb)](_0xb9acf1,_0x3e75b1(0xea),(_0x275052,_0x3453d2)=>{const _0x53c247=_0x3e75b1;this[_0x53c247(0x105)](_0x3453d2);}),this[_0x3e75b1(0xeb)](_0x47a33b,_0x3e75b1(0xcf),()=>{const _0x15ce75=_0x3e75b1;this[_0x15ce75(0x141)]();}),this[_0x3e75b1(0xeb)](_0x58fb44,_0x3e75b1(0x144),(_0x1983e6,{threadId:_0x4055cb,isFromAdapter:_0x41093e})=>{const _0x1413dd=_0x3e75b1;if(_0x41093e||!_0xb9acf1[_0x1413dd(0xee)](_0x4055cb))return;const _0x4ed80a=_0xb9acf1[_0x1413dd(0x10e)](_0x4055cb);this[_0x1413dd(0x125)][_0x1413dd(0x164)](_0x4ed80a)[_0x1413dd(0x11e)][_0x1413dd(0x139)][_0x1413dd(0xe1)](-0x1);},{'priority':_0x3e75b1(0xd6)}),this[_0x3e75b1(0xd8)]=this[_0x3e75b1(0x14c)][_0x3e75b1(0x116)][_0x3e75b1(0x164)](_0x3e75b1(0xd8));const _0x108a9d=this[_0x3e75b1(0x14c)];this[_0x3e75b1(0x120)]=setInterval(()=>{const _0x534c93=_0x3e75b1;let _0x2bfcc8;for(const _0x14ab62 in _0x108a9d){const _0x28444e=_0x14ab62,_0x31d0ca=_0x108a9d[_0x28444e];if(_0x534c93(0x149)==_0x31d0ca||_0x534c93(0x11f)==_0x31d0ca||_0x534c93(0xf9)==_0x31d0ca||_0x534c93(0x14f)==_0x31d0ca||_0x534c93(0xb6)==_0x31d0ca||_0x534c93(0x15c)==_0x31d0ca||_0x534c93(0xe8)==_0x31d0ca||_0x534c93(0x13e)==_0x31d0ca){delete _0x108a9d[_0x28444e],_0x2bfcc8=_0x31d0ca,clearInterval(this[_0x534c93(0x120)]),this[_0x534c93(0x120)]=void 0x0;break;}}_0x534c93(0x11f)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0xfe)),_0x534c93(0xf9)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0x12e)),_0x534c93(0x14f)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0x127)),_0x534c93(0xb6)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0xef),_0x534c93(0x10c)),_0x534c93(0x15c)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0xbc)),_0x534c93(0xe8)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0x148)),_0x534c93(0x13e)==_0x2bfcc8&&_0x108a9d[_0x534c93(0xec)](_0x534c93(0xbe));},0x3e8);}[_0x5a4453(0x141)](){const _0x1de511=_0x5a4453,_0x425c05=this[_0x1de511(0x14c)][_0x1de511(0xbd)][_0x1de511(0x164)](_0x1de511(0xcd)),_0x335f16=this[_0x1de511(0x14c)][_0x1de511(0xbd)][_0x1de511(0x164)](_0x1de511(0x159)),_0x22d33e=Array[_0x1de511(0xda)](_0x425c05[_0x1de511(0xca)],_0x578303=>_0x578303[_0x1de511(0xe3)])[_0x1de511(0x11a)](_0x4f401f=>this[_0x1de511(0x123)][_0x1de511(0x124)](_0x4f401f)),_0x48e7b2=[];for(const _0x1dd120 of _0x22d33e){const _0x52639e=this[_0x1de511(0x123)][_0x1de511(0x164)](_0x1dd120)[_0x1de511(0xc5)][_0x1de511(0x130)]();_0x48e7b2[_0x1de511(0xdb)](..._0x52639e[_0x1de511(0xe5)]((_0x1cc06d,_0x92ac57)=>[..._0x1cc06d,..._0x92ac57[_0x1de511(0x101)]()],[]));}_0x335f16[_0x1de511(0x158)]=_0x48e7b2;}[_0x5a4453(0x119)](){const _0x2701e4=_0x5a4453,_0x5ca217=this[_0x2701e4(0x14c)],_0x1dd1dd=_0x5ca217[_0x2701e4(0x12a)],_0x507bb7=_0x4a62c0(_0x1dd1dd,_0x2701e4(0x135)),_0x12b997=new _0x8ada42([{'type':_0x2701e4(0xc7),'model':new _0xe3e435({'withText':!0x0,'isToggleable':!0x0,'label':_0x507bb7,'commandName':_0x2701e4(0x15f),'role':_0x2701e4(0x13d)})},{'type':_0x2701e4(0x153)},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0x121)),'commandName':_0x2701e4(0xd4),'role':_0x2701e4(0xd3)})},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0xe0)),'commandName':_0x2701e4(0xd7),'role':_0x2701e4(0xd3)})},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0xfd)),'commandName':_0x2701e4(0x15e),'role':_0x2701e4(0xd3)})},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0xba)),'commandName':_0x2701e4(0x162),'role':_0x2701e4(0xd3)})}]);_0x5ca217[_0x2701e4(0xbd)][_0x2701e4(0x124)](_0x2701e4(0x156))&&_0x12b997[_0x2701e4(0xe9)]([{'type':_0x2701e4(0x153)},{'type':_0x2701e4(0x137),'model':new _0xe3e435({'withText':!0x0,'label':_0x4a62c0(_0x1dd1dd,_0x2701e4(0x14e)),'commandName':_0x2701e4(0x106),'role':_0x2701e4(0xd3)})}]);for(const _0x55f149 of _0x12b997)if(ke(_0x55f149)){const _0x4cc74e=_0x5ca217[_0x2701e4(0x147)][_0x2701e4(0x164)](_0x55f149[_0x2701e4(0xc5)][_0x2701e4(0xbb)]);_0x55f149[_0x2701e4(0xc5)][_0x2701e4(0xff)](_0x2701e4(0x10d),_0x2701e4(0x150))['to'](_0x4cc74e,_0x2701e4(0x13b),_0x2701e4(0x150));}_0x5ca217['ui'][_0x2701e4(0x107)][_0x2701e4(0x122)](_0x2701e4(0x15f),_0x4cd55c=>this[_0x2701e4(0xcc)](_0x4cd55c,_0x12b997,_0x507bb7)),_0x5ca217['ui'][_0x2701e4(0x107)][_0x2701e4(0x122)](_0x2701e4(0xf2),_0xbc0ba8=>this[_0x2701e4(0x145)](_0xbc0ba8,_0x12b997,_0x507bb7));}[_0x5a4453(0xcc)](_0x306b2c,_0xf902f1,_0x326cab){const _0x3ef5fc=_0x5a4453,_0x5b5095=_0x168a89(_0x306b2c,_0xa1846f),_0x2211fe=this[_0x3ef5fc(0x14c)][_0x3ef5fc(0x147)][_0x3ef5fc(0x164)](_0x3ef5fc(0x15f));_0x5b5095[_0x3ef5fc(0xb7)][_0x3ef5fc(0x102)]({'tooltip':_0x326cab,'label':_0x326cab,'icon':_0x2195f7}),_0x5b5095[_0x3ef5fc(0xb7)][_0x3ef5fc(0xff)](_0x3ef5fc(0x10d))['to'](_0x2211fe,_0x3ef5fc(0x13b)),_0x5b5095[_0x3ef5fc(0xb7)]['on'](_0x3ef5fc(0xfb),()=>{const _0x399f8b=_0x3ef5fc;_0x2211fe[_0x399f8b(0xfb)](),this[_0x399f8b(0x14c)][_0x399f8b(0x11b)][_0x399f8b(0x11e)][_0x399f8b(0xe1)]();}),_0x586142(_0x5b5095,_0xf902f1,{'role':_0x3ef5fc(0x160)});const _0x244e5e=[];for(const _0x2fccef of _0xf902f1)ke(_0x2fccef)&&_0x244e5e[_0x3ef5fc(0xdb)](this[_0x3ef5fc(0x14c)][_0x3ef5fc(0x147)][_0x3ef5fc(0x164)](_0x2fccef[_0x3ef5fc(0xc5)][_0x3ef5fc(0xbb)]));const _0x3a4cd4=_0x5b5095[_0x3ef5fc(0xb7)];return _0x3a4cd4[_0x3ef5fc(0x126)][_0x3ef5fc(0x12c)](_0x3ef5fc(0x150)),_0x3a4cd4[_0x3ef5fc(0x140)][_0x3ef5fc(0x12c)](_0x3ef5fc(0x150)),_0x3a4cd4[_0x3ef5fc(0x126)][_0x3ef5fc(0xff)](_0x3ef5fc(0x150))['to'](_0x2211fe,_0x3ef5fc(0x150)),_0x3a4cd4[_0x3ef5fc(0x140)][_0x3ef5fc(0xff)](_0x3ef5fc(0x150))[_0x3ef5fc(0x134)](_0x244e5e,_0x3ef5fc(0x150),(..._0x268516)=>_0x268516[_0x3ef5fc(0x138)](_0xcebbd9=>_0xcebbd9)),_0x5b5095['on'](_0x3ef5fc(0xfb),_0x32a63c=>{const _0x5299f2=_0x3ef5fc;this[_0x5299f2(0x14c)][_0x5299f2(0xfb)](_0x32a63c[_0x5299f2(0x12d)][_0x5299f2(0xbb)]),this[_0x5299f2(0x14c)][_0x5299f2(0x11b)][_0x5299f2(0x11e)][_0x5299f2(0xe1)]();}),_0x5b5095;}[_0x5a4453(0x145)](_0x3562ba,_0x5b5507,_0x10c19c){const _0x28a3fa=_0x5a4453,_0x25df94=new _0x2e7745(_0x3562ba),_0x1cdd84=this[_0x28a3fa(0x14c)][_0x28a3fa(0x147)][_0x28a3fa(0x164)](_0x28a3fa(0x15f));_0x25df94[_0x28a3fa(0xb7)][_0x28a3fa(0x102)]({'label':_0x10c19c,'icon':_0x2195f7});const _0x218084=new _0x21debf(_0x3562ba);for(const _0x1bc4a7 of _0x5b5507){if(_0x28a3fa(0x153)==_0x1bc4a7[_0x28a3fa(0xe4)]){_0x218084[_0x28a3fa(0xc1)][_0x28a3fa(0x122)](new _0x3c6794(_0x3562ba));continue;}const _0x34501b=new _0x525319(_0x3562ba,_0x25df94),_0x3e263c=new _0x44b122(_0x3562ba),_0x565a96=_0x1bc4a7[_0x28a3fa(0xc5)];_0x3e263c[_0x28a3fa(0xff)](...Object[_0x28a3fa(0xce)](_0x565a96))['to'](_0x565a96),_0x3e263c[_0x28a3fa(0x13c)](_0x28a3fa(0xfb))['to'](_0x25df94),_0x3e263c['on'](_0x28a3fa(0xfb),()=>{const _0xd7b8ac=_0x28a3fa;this[_0xd7b8ac(0x14c)][_0xd7b8ac(0xfb)](_0x565a96[_0xd7b8ac(0xbb)]),this[_0xd7b8ac(0x14c)][_0xd7b8ac(0x11b)][_0xd7b8ac(0x11e)][_0xd7b8ac(0xe1)]();}),_0x34501b[_0x28a3fa(0xdf)][_0x28a3fa(0x122)](_0x3e263c),_0x218084[_0x28a3fa(0xc1)][_0x28a3fa(0x122)](_0x34501b);}return _0x25df94[_0x28a3fa(0xff)](_0x28a3fa(0x150))['to'](_0x1cdd84,_0x28a3fa(0x150)),_0x25df94[_0x28a3fa(0xf7)][_0x28a3fa(0xdf)][_0x28a3fa(0x122)](_0x218084),_0x25df94;}[_0x5a4453(0xb9)](_0x35448b){const _0x3f0299=_0x5a4453,_0x1a0936=this[_0x3f0299(0x14c)],_0x3e1bc6=_0x1a0936[_0x3f0299(0x116)],_0x22f4ba=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0xcd)),_0x34a006=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0xc9)),_0x187628=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0x11c)),_0x106b26=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x23b43b)['me'],_0x2663af=_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x15f))[_0x3f0299(0xed)],_0x15c594=_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x15f))[_0x3f0299(0x108)],{CommentsListView:_0x5d1de9,CommentThreadInputView:_0xab814}=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0x14b));let _0x423556,_0x19271c,_0x454d65;this[_0x3f0299(0xfa)][_0x3f0299(0x124)](_0x35448b['id'])?(_0x19271c=this[_0x3f0299(0xfa)][_0x3f0299(0x164)](_0x35448b['id']),_0x423556=_0x19271c[_0x3f0299(0xf5)]):(_0x423556=new _0x2663af(_0x1a0936[_0x3f0299(0x12a)],_0x35448b,_0x106b26,{'disableComments':this[_0x3f0299(0xc2)],'editorConfig':{..._0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x113)),'licenseKey':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0xd8))},'maxCommentsWhenCollapsed':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x112)),'maxThreadTotalWeight':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0xdc)),'maxCommentCharsWhenCollapsed':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x142)),'formatDateTime':_0x1c4687(_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x12a))),'CommentView':_0x3e1bc6[_0x3f0299(0x164)](_0x3f0299(0x110))[_0x3f0299(0xf3)],'CommentsListView':_0x5d1de9,'CommentThreadInputView':_0xab814,'SuggestionView':_0x15c594}),_0x423556[_0x3f0299(0x115)][_0x3f0299(0x12f)]['on'](_0x3f0299(0xfb),()=>{const _0x4e11cb=_0x3f0299;_0x1a0936[_0x4e11cb(0x11b)][_0x4e11cb(0x11e)][_0x4e11cb(0xe1)]();}),_0x423556[_0x3f0299(0x115)][_0x3f0299(0x14a)]['on'](_0x3f0299(0xfb),()=>{const _0x540736=_0x3f0299;_0x1a0936[_0x540736(0x11b)][_0x540736(0x11e)][_0x540736(0xe1)]();}),_0x19271c=_0x22f4ba[_0x3f0299(0x131)](this[_0x3f0299(0x14c)][_0x3f0299(0x12a)],_0x423556),_0x19271c[_0x3f0299(0xff)](_0x3f0299(0x10f))['to'](_0x423556,_0x3f0299(0x10f)),_0x19271c[_0x3f0299(0xff)](_0x3f0299(0x118))['to'](_0x423556),_0x19271c[_0x3f0299(0xff)](_0x3f0299(0xe4))['to'](_0x423556,_0x3f0299(0xe4),_0x551dc5=>_0x3f0299(0x114)+_0x551dc5),_0x423556['on'](_0x3f0299(0x100),()=>{const _0xa3f423=_0x3f0299;_0x454d65[_0xa3f423(0xc8)](_0xa3f423(0x100));}),this[_0x3f0299(0xfa)][_0x3f0299(0x102)](_0x35448b['id'],_0x19271c));const _0x356bab=_0x34a006[_0x3f0299(0x11d)](_0x35448b[_0x3f0299(0xf8)],_0x423556),_0x25c1e2=new _0x3da008(_0x1a0936,_0x35448b,_0x423556,_0x356bab),_0x5a590a=_0x35448b[_0x3f0299(0x130)]()[_0x3f0299(0x11a)](_0x5acfd7=>_0x5acfd7[_0x3f0299(0xde)]);_0x423556[_0x3f0299(0xd2)]=_0x1a0936[_0x3f0299(0xbd)][_0x3f0299(0x164)](_0x3f0299(0x159))[_0x3f0299(0x157)][_0x3f0299(0xe2)](_0x5a590a),this[_0x3f0299(0x125)][_0x3f0299(0x102)](_0x35448b,_0x25c1e2),this[_0x3f0299(0x123)][_0x3f0299(0x102)](_0x423556,_0x25c1e2),_0x454d65=_0x22f4ba[_0x3f0299(0xc0)]({'view':_0x19271c,'target':()=>{const _0x4d2e03=_0x3f0299,_0x11edb0=[],_0x4fbcab=_0x35448b[_0x4d2e03(0x130)]()[_0x4d2e03(0x11a)](_0x1c94e8=>_0x1c94e8[_0x4d2e03(0xde)]);for(const _0x2d8926 of _0x4fbcab)_0x11edb0[_0x4d2e03(0xdb)](..._0x2d8926[_0x4d2e03(0x15d)]());return _0x24bb6f(_0x1a0936[_0x4d2e03(0x11b)],_0x11edb0);},'type':()=>_0x3f0299(0x114)+_0x25c1e2[_0x3f0299(0x11e)][_0x3f0299(0xe4)]}),_0x34a006[_0x3f0299(0xd5)](_0x423556,_0x454d65),_0x22f4ba[_0x3f0299(0x122)](_0x454d65),_0x187628[_0x3f0299(0xd0)](_0x454d65);}[_0x5a4453(0x133)](_0xe2df5c){const _0x25ce75=_0x5a4453,_0x44f2ea=this[_0x25ce75(0x14c)][_0x25ce75(0xbd)][_0x25ce75(0x164)](_0x25ce75(0xc9)),_0x57a4fe=this[_0x25ce75(0x14c)][_0x25ce75(0xbd)][_0x25ce75(0x164)](_0x25ce75(0xcd)),_0x45dac3=this[_0x25ce75(0x125)][_0x25ce75(0x164)](_0xe2df5c),_0x1c9442=_0x45dac3[_0x25ce75(0x11e)],_0x29d4cc=_0x57a4fe[_0x25ce75(0x10b)](_0x1c9442);_0x44f2ea[_0x25ce75(0xc3)](_0x1c9442),_0x29d4cc&&_0x57a4fe[_0x25ce75(0xbf)](_0x29d4cc),this[_0x25ce75(0x125)][_0x25ce75(0x15b)](_0xe2df5c),this[_0x25ce75(0x123)][_0x25ce75(0x15b)](_0x1c9442),_0x45dac3[_0x25ce75(0x129)]();}[_0x5a4453(0x105)](_0x133276){const _0x16c1b8=_0x5a4453;if(!_0x133276[_0x16c1b8(0xde)]||!this[_0x16c1b8(0x125)][_0x16c1b8(0x124)](_0x133276))return;const _0x414df3=this[_0x16c1b8(0x14c)][_0x16c1b8(0xbd)][_0x16c1b8(0x164)](_0x16c1b8(0x159)),_0x3c9825=this[_0x16c1b8(0x125)][_0x16c1b8(0x164)](_0x133276),_0xad3606=_0x133276[_0x16c1b8(0x130)]();_0x3c9825[_0x16c1b8(0x11e)][_0x16c1b8(0xd2)]=_0x414df3[_0x16c1b8(0x157)][_0x16c1b8(0xe2)](_0xad3606);}[_0x5a4453(0x129)](){const _0x276503=_0x5a4453;for(const _0x331890 of this[_0x276503(0x125)][_0x276503(0xce)]())this[_0x276503(0x133)](_0x331890);for(const _0x50b4fc of this[_0x276503(0xfa)][_0x276503(0x14d)]())_0x50b4fc[_0x276503(0xf5)][_0x276503(0x129)]();super[_0x276503(0x129)](),this[_0x276503(0x120)]&&clearInterval(this[_0x276503(0x120)]);}}function ke(_0x44b4c8){const _0x50df2c=_0x5a4453;return _0x50df2c(0xc5)in _0x44b4c8;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x224141=_0x4d22;function _0x4d22(_0x35c6c8,_0x31f077){const _0x52830f=_0x5283();return _0x4d22=function(_0x4d22aa,_0x5e4163){_0x4d22aa=_0x4d22aa-0x149;let _0x3204e1=_0x52830f[_0x4d22aa];return _0x3204e1;},_0x4d22(_0x35c6c8,_0x31f077);}(function(_0x1bef33,_0x3f0a35){const _0x1058f2=_0x4d22,_0x159869=_0x1bef33();while(!![]){try{const _0x29367e=parseInt(_0x1058f2(0x16f))/0x1+parseInt(_0x1058f2(0x168))/0x2+parseInt(_0x1058f2(0x166))/0x3*(parseInt(_0x1058f2(0x14a))/0x4)+parseInt(_0x1058f2(0x15d))/0x5*(-parseInt(_0x1058f2(0x16a))/0x6)+parseInt(_0x1058f2(0x165))/0x7*(-parseInt(_0x1058f2(0x167))/0x8)+parseInt(_0x1058f2(0x16e))/0x9*(parseInt(_0x1058f2(0x153))/0xa)+-parseInt(_0x1058f2(0x16b))/0xb;if(_0x29367e===_0x3f0a35)break;else _0x159869['push'](_0x159869['shift']());}catch(_0x20f9f3){_0x159869['push'](_0x159869['shift']());}}}(_0x5283,0x8c45a));import{ObservableMixin as _0x4a2326}from'ckeditor5/src/utils.js';import{getTranslation as _0xd3f70e}from'../utils/common-translations.js';function _0x5283(){const _0x4bd529=['commands','remove','_pendingAction','listenTo','discardSuggestion','_setPendingAction','1184750MEGLum','PENDING_ACTION_SUGGESTION','commentThreadController','change:isDirty','getRanges','_editor','view','execute','3233545LekFHC','3eIEnDo','8ZVNZNb','1342210YmrMAx','canDiscard','12zpQSQg','17079227cZWXby','acceptSuggestion','destroy','71838sXotXH','950899yZpAyN','stopListening','isEnabled','isDirty','_removePendingAction','_discardCommand','4040056GKeqLM','unbind','bind','canEditAt','PendingActions','_acceptCommand','canAccept','locale','plugins','540CqtYHw','get','model','add'];_0x5283=function(){return _0x4bd529;};return _0x5283();}export default class Ce extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a2326(){constructor(_0x4e778c,_0x2b2745,_0x3daf6d,_0x27c223){const _0x431835=_0x4d22;super(),this[_0x431835(0x155)]=_0x2b2745,this[_0x431835(0x163)]=_0x3daf6d,this[_0x431835(0x15f)]=_0x27c223,this[_0x431835(0x162)]=_0x4e778c,this[_0x431835(0x14f)]=_0x4e778c[_0x431835(0x157)][_0x431835(0x154)](_0x431835(0x16c)),this[_0x431835(0x149)]=_0x4e778c[_0x431835(0x157)][_0x431835(0x154)](_0x431835(0x15b)),this[_0x431835(0x163)][_0x431835(0x14c)](_0x431835(0x171))['to'](this[_0x431835(0x14f)],this[_0x431835(0x149)],(_0xaff3ca,_0x47dc36)=>_0xaff3ca||_0x47dc36),this[_0x431835(0x163)][_0x431835(0x14c)](_0x431835(0x150))['to'](this[_0x431835(0x14f)],_0x431835(0x171),_0x5d2654=>_0x5d2654&&this[_0x431835(0x162)][_0x431835(0x155)][_0x431835(0x14d)](_0x2b2745[_0x431835(0x161)]())),this[_0x431835(0x163)][_0x431835(0x14c)](_0x431835(0x169))['to'](this[_0x431835(0x149)],_0x431835(0x171),_0x3c3282=>_0x3c3282&&this[_0x431835(0x162)][_0x431835(0x155)][_0x431835(0x14d)](_0x2b2745[_0x431835(0x161)]())),this[_0x431835(0x159)]=null,_0x3daf6d[_0x431835(0x172)]&&this[_0x431835(0x15c)](),this[_0x431835(0x15a)](_0x3daf6d,_0x431835(0x16c),()=>this[_0x431835(0x16c)]()),this[_0x431835(0x15a)](_0x3daf6d,_0x431835(0x15b),()=>this[_0x431835(0x15b)]()),this[_0x431835(0x15a)](_0x3daf6d,_0x431835(0x160),()=>{const _0x47c72b=_0x431835;_0x3daf6d[_0x47c72b(0x172)]?this[_0x47c72b(0x15c)]():this[_0x47c72b(0x173)]();});}[_0x224141(0x16c)](){const _0x181562=_0x224141;this[_0x181562(0x14f)][_0x181562(0x164)](this[_0x181562(0x155)]['id']);}[_0x224141(0x15b)](){const _0x1973c0=_0x224141;this[_0x1973c0(0x149)][_0x1973c0(0x164)](this[_0x1973c0(0x155)]['id']);}[_0x224141(0x16d)](){const _0x3c3aca=_0x224141;this[_0x3c3aca(0x163)][_0x3c3aca(0x14b)](_0x3c3aca(0x171)),this[_0x3c3aca(0x163)][_0x3c3aca(0x14b)](_0x3c3aca(0x150)),this[_0x3c3aca(0x163)][_0x3c3aca(0x14b)](_0x3c3aca(0x169)),this[_0x3c3aca(0x170)](),this[_0x3c3aca(0x15f)][_0x3c3aca(0x16d)](),this[_0x3c3aca(0x159)]&&this[_0x3c3aca(0x173)]();}[_0x224141(0x15c)](){const _0x840df8=_0x224141,_0x4dfe23=_0xd3f70e(this[_0x840df8(0x162)][_0x840df8(0x151)],_0x840df8(0x15e));this[_0x840df8(0x159)]=this[_0x840df8(0x162)][_0x840df8(0x152)][_0x840df8(0x154)](_0x840df8(0x14e))[_0x840df8(0x156)](_0x4dfe23);}[_0x224141(0x173)](){const _0x5f9ec6=_0x224141;null!==this[_0x5f9ec6(0x159)]&&this[_0x5f9ec6(0x162)][_0x5f9ec6(0x152)][_0x5f9ec6(0x154)](_0x5f9ec6(0x14e))[_0x5f9ec6(0x158)](this[_0x5f9ec6(0x159)]),this[_0x5f9ec6(0x159)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26d480=_0x1acc;(function(_0x10ba92,_0x425fb2){const _0x476e57=_0x1acc,_0xe3b308=_0x10ba92();while(!![]){try{const _0xf0ed4=-parseInt(_0x476e57(0x129))/0x1+parseInt(_0x476e57(0x111))/0x2*(parseInt(_0x476e57(0x156))/0x3)+-parseInt(_0x476e57(0x14b))/0x4+parseInt(_0x476e57(0x12c))/0x5*(parseInt(_0x476e57(0x125))/0x6)+-parseInt(_0x476e57(0x118))/0x7+parseInt(_0x476e57(0x14f))/0x8*(-parseInt(_0x476e57(0x145))/0x9)+parseInt(_0x476e57(0x12b))/0xa;if(_0xf0ed4===_0x425fb2)break;else _0xe3b308['push'](_0xe3b308['shift']());}catch(_0x2e98c8){_0xe3b308['push'](_0xe3b308['shift']());}}}(_0x57ff,0x2e021));function _0x57ff(){const _0x655055=['18FmtEOi','showInput','isActive','focusables','set','isDirty','1414980sKDGxr','disableComments','canDiscard','SUGGESTION_THREAD_ARIA_LABEL','1018520vInHAt','_model','delegate','focusTracker','isReadOnly','SUGGESTION_THREAD_DESCRIPTION','submit','36aSTKGu','setData','focusCycler','formatDateTime','22818HvOMUI','_config','ariaDescriptionView','author','render','element','_createCommentThreadInputView','2461774LtuxMH','body','parseFromString','disabledSubmit','ariaLabel','addComment','textContent','length','locale','bind','authoredAt','commentThreadInputView','commentsListView','11262nqwjBn','commentInputView','assign','hasDirtyComment','271025LOOopJ','name','9710410BrRefb','830zbRxoV','canAccept','content','destroy','_localUser','tab','target','editor','CommentView','isEnabled','shift+tab','removeComment','join','cancel','descriptionParts','value','focus','_createCommentViews','commentThread','fire','updateComment','keystrokes','text/html','editorConfig','map'];_0x57ff=function(){return _0x655055;};return _0x57ff();}import{FocusCycler as _0x5d7cf0,View as _0x3a3431,ViewCollection as _0x20a794}from'ckeditor5/src/ui.js';function _0x1acc(_0x5d15bd,_0x431dc7){const _0x57fff8=_0x57ff();return _0x1acc=function(_0x1acc7a,_0x19d997){_0x1acc7a=_0x1acc7a-0x10e;let _0x1bafcf=_0x57fff8[_0x1acc7a];return _0x1bafcf;},_0x1acc(_0x5d15bd,_0x431dc7);}import{FocusTracker as _0x223870,KeystrokeHandler as _0xd9ebf3}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x418e44,setupThreadKeyboardNavigation as _0x586fdd}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x37e1fd}from'../../utils/common-translations.js';import{renderDescription as _0x282b9d}from'../../utils/utils.js';export default class ms extends _0x3a3431{constructor(_0x11e884,_0x9ef406,_0x320d6f,_0x571016){const _0x3d738d=_0x1acc;super(_0x11e884),this[_0x3d738d(0x124)]=null,this[_0x3d738d(0x123)]=null,this[_0x3d738d(0x113)]=new _0x418e44(_0x11e884,_0x37e1fd(_0x11e884,_0x3d738d(0x154))),this[_0x3d738d(0x149)](_0x3d738d(0x147),!0x1),this[_0x3d738d(0x149)](_0x3d738d(0x122),_0x9ef406[_0x3d738d(0x122)]),this[_0x3d738d(0x121)](_0x3d738d(0x122))['to'](_0x9ef406),this[_0x3d738d(0x149)](_0x3d738d(0x13a),[]),this[_0x3d738d(0x149)](_0x3d738d(0x14a),!0x1),this[_0x3d738d(0x149)](_0x3d738d(0x135),!0x1),this[_0x3d738d(0x149)](_0x3d738d(0x12d),!0x1),this[_0x3d738d(0x149)](_0x3d738d(0x14d),!0x1),this[_0x3d738d(0x121)](_0x3d738d(0x11c))['to'](this,_0x3d738d(0x11f),_0x9ef406,_0x3d738d(0x122),this,_0x3d738d(0x13a),(_0x499115,_0x487012,_0x33beae)=>{const _0x530935=_0x3d738d,_0x36cc63=_0x33beae[_0x530935(0x144)](_0x338d5f=>_0x282b9d(_0x338d5f[_0x530935(0x12e)]))[_0x530935(0x138)]('.\x20')+'.';return _0x37e1fd(this[_0x530935(0x120)],_0x530935(0x14e),[_0x499115-0x1,_0x9ef406[_0x530935(0x114)][_0x530935(0x12a)],_0x487012?_0x571016[_0x530935(0x110)](_0x487012):'',new DOMParser()[_0x530935(0x11a)](_0x36cc63,_0x530935(0x142))[_0x530935(0x119)][_0x530935(0x11e)]]);}),this[_0x3d738d(0x148)]=new _0x20a794(),this[_0x3d738d(0x152)]=new _0x223870(),this[_0x3d738d(0x141)]=new _0xd9ebf3(),this[_0x3d738d(0x10f)]=new _0x5d7cf0({'focusables':this[_0x3d738d(0x148)],'focusTracker':this[_0x3d738d(0x152)],'keystrokeHandler':this[_0x3d738d(0x141)],'keystrokeHandlerOptions':{'filter':_0x402bdb=>_0x402bdb[_0x3d738d(0x132)]!==this[_0x3d738d(0x116)]},'actions':{'focusPrevious':_0x3d738d(0x136),'focusNext':_0x3d738d(0x131)}}),this[_0x3d738d(0x150)]=_0x9ef406,this[_0x3d738d(0x130)]=_0x320d6f,this[_0x3d738d(0x112)]=_0x571016,_0x571016[_0x3d738d(0x14c)]?this[_0x3d738d(0x149)](_0x3d738d(0x11f),0x1):this[_0x3d738d(0x13d)]();}[_0x26d480(0x115)](){const _0x5c2139=_0x26d480;super[_0x5c2139(0x115)](),_0x586fdd(this,this[_0x5c2139(0x148)]);}[_0x26d480(0x13c)](){const _0x3904f8=_0x26d480;this[_0x3904f8(0x116)][_0x3904f8(0x13c)]();}[_0x26d480(0x12f)](){const _0x2d30c0=_0x26d480;this[_0x2d30c0(0x124)]&&this[_0x2d30c0(0x124)][_0x2d30c0(0x12f)](),this[_0x2d30c0(0x123)]&&this[_0x2d30c0(0x123)][_0x2d30c0(0x12f)](),super[_0x2d30c0(0x12f)]();}[_0x26d480(0x13d)](){const _0x559967=_0x26d480,{CommentsListView:_0xfe525c}=this[_0x559967(0x112)];this[_0x559967(0x124)]=new _0xfe525c(this[_0x559967(0x120)],this[_0x559967(0x150)][_0x559967(0x13e)],Object[_0x559967(0x127)]({'CommentView':this[_0x559967(0x112)][_0x559967(0x134)]},this[_0x559967(0x112)])),this[_0x559967(0x124)][_0x559967(0x151)](_0x559967(0x137))['to'](this),this[_0x559967(0x124)][_0x559967(0x151)](_0x559967(0x140))['to'](this),this[_0x559967(0x124)][_0x559967(0x121)](_0x559967(0x147))['to'](this),this[_0x559967(0x149)](_0x559967(0x11f),this[_0x559967(0x124)][_0x559967(0x11f)]+0x1),this[_0x559967(0x121)](_0x559967(0x11f))['to'](this[_0x559967(0x124)],_0x559967(0x11f),_0x164284=>_0x164284+0x1),this[_0x559967(0x123)]=this[_0x559967(0x117)](),this['on'](_0x559967(0x137),()=>this[_0x559967(0x13c)]()),this[_0x559967(0x121)](_0x559967(0x14a))['to'](this[_0x559967(0x124)],_0x559967(0x128),this[_0x559967(0x123)][_0x559967(0x126)],_0x559967(0x13b),(_0x4273f0,_0x283862)=>_0x4273f0||!!_0x283862);}[_0x26d480(0x117)](){const _0x51b5ab=_0x26d480,{CommentThreadInputView:_0x40c93a}=this[_0x51b5ab(0x112)],_0x284509=new _0x40c93a(this[_0x51b5ab(0x120)],this[_0x51b5ab(0x130)],this[_0x51b5ab(0x112)][_0x51b5ab(0x143)]),_0x5c1bda=_0x284509[_0x51b5ab(0x126)];return _0x284509[_0x51b5ab(0x121)](_0x51b5ab(0x146))['to'](this,_0x51b5ab(0x147),this[_0x51b5ab(0x150)][_0x51b5ab(0x13e)],_0x51b5ab(0x153),_0x5c1bda,_0x51b5ab(0x13b),(_0x16063c,_0x538dca,_0x54519e)=>!!_0x54519e||_0x16063c&&!_0x538dca),_0x5c1bda['on'](_0x51b5ab(0x155),(_0x27f339,_0x5e1ea8)=>{const _0x45a8bc=_0x51b5ab;this[_0x45a8bc(0x13f)](_0x45a8bc(0x11d),_0x5e1ea8),_0x5c1bda[_0x45a8bc(0x133)][_0x45a8bc(0x10e)]('');}),_0x5c1bda['on'](_0x51b5ab(0x139),()=>this[_0x51b5ab(0x13c)]()),_0x5c1bda[_0x51b5ab(0x121)](_0x51b5ab(0x11b))['to'](this[_0x51b5ab(0x150)][_0x51b5ab(0x13e)],_0x51b5ab(0x153)),_0x284509;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f5041=_0x28c4;(function(_0x3abd4e,_0x65afb3){const _0x2d8b2a=_0x28c4,_0x796d0f=_0x3abd4e();while(!![]){try{const _0x2dce94=-parseInt(_0x2d8b2a(0x146))/0x1*(parseInt(_0x2d8b2a(0x144))/0x2)+parseInt(_0x2d8b2a(0x150))/0x3+-parseInt(_0x2d8b2a(0x15b))/0x4+parseInt(_0x2d8b2a(0x151))/0x5*(parseInt(_0x2d8b2a(0x155))/0x6)+parseInt(_0x2d8b2a(0x130))/0x7+parseInt(_0x2d8b2a(0x147))/0x8+-parseInt(_0x2d8b2a(0x153))/0x9;if(_0x2dce94===_0x65afb3)break;else _0x796d0f['push'](_0x796d0f['shift']());}catch(_0x259c33){_0x796d0f['push'](_0x796d0f['shift']());}}}(_0x45b6,0x2377b));function _0x28c4(_0x3a4d0c,_0x511094){const _0x45b68e=_0x45b6();return _0x28c4=function(_0x28c4a3,_0x316775){_0x28c4a3=_0x28c4a3-0x12d;let _0x472ae3=_0x45b68e[_0x28c4a3];return _0x472ae3;},_0x28c4(_0x3a4d0c,_0x511094);}import{default as _0x40d7b3}from'./basesuggestionthreadview.js';function _0x45b6(){const _0x383128=['_config','focusables','discardButton','563664tAWlpB','828335aLOFbu','isActive','1848231joYcDa','type','6LuwNSl','editorReady','set','disableComments','_model','suggestionView','790980WlCqvo','commentThread','bindTemplate','SuggestionView','acceptSuggestion','div','render','ck-suggestion-wrapper','_descriptionElement','content','delegate','push','setTemplate','978103SLHvwe','ariaDescriptionView','add','descriptionParts','commentThreadInputView','ck-rounded-corners','canAccept','author','discardSuggestion','<p>','listitem','isEnabled','description','editorDestroyed','color','acceptButton','formatDateTime','ck-suggestion--disabled-comments','canDiscard','bind','175402KXplXj','ck-suggestion-wrapper--active','1GpnqaS','1142368cGTywm','</p>','ariaLabel','ck-suggestion-','commentsListView','getTemplate'];_0x45b6=function(){return _0x383128;};return _0x45b6();}import{trimHtml as _0x503144}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x17382a}from'../../utils/utils.js';export default class pe extends _0x40d7b3{constructor(_0x5c83e8,_0x49b9a7,_0x2d71d8,_0x8452d){const _0xf42f19=_0x28c4;super(_0x5c83e8,_0x49b9a7,_0x2d71d8,_0x8452d),this[_0xf42f19(0x157)](_0xf42f19(0x154),''),this[_0xf42f19(0x143)](_0xf42f19(0x154))['to'](this,_0xf42f19(0x133),_0x34e25b=>_0x34e25b&&_0x34e25b[0x0]?_0x34e25b[0x0][_0xf42f19(0x154)]:''),this[_0xf42f19(0x143)](_0xf42f19(0x13c))['to'](this,_0xf42f19(0x133),this,_0xf42f19(0x152),(_0x3a88c5,_0x366e0f)=>{const _0x541d50=_0xf42f19;let _0xd516c='';for(const _0x2c3f68 of _0x3a88c5)_0xd516c+=_0x541d50(0x139)+_0x17382a(_0x2c3f68[_0x541d50(0x164)],_0x2c3f68[_0x541d50(0x13e)])+_0x541d50(0x148);return _0x366e0f?_0xd516c:_0x503144(_0xd516c,{'limit':0x8c});}),this[_0xf42f19(0x163)]=null,this[_0xf42f19(0x15a)]=new _0x8452d[(_0xf42f19(0x15e))](_0x5c83e8,_0x49b9a7,{'formatDateTime':_0x8452d[_0xf42f19(0x140)]}),this[_0xf42f19(0x15a)][_0xf42f19(0x143)](_0xf42f19(0x13c))['to'](this),this[_0xf42f19(0x15a)][_0xf42f19(0x12d)](_0xf42f19(0x15f),_0xf42f19(0x138))['to'](this),this[_0xf42f19(0x15a)][_0xf42f19(0x13f)][_0xf42f19(0x143)](_0xf42f19(0x13b))['to'](this,_0xf42f19(0x136)),this[_0xf42f19(0x15a)][_0xf42f19(0x14f)][_0xf42f19(0x143)](_0xf42f19(0x13b))['to'](this,_0xf42f19(0x142)),this[_0xf42f19(0x14e)][_0xf42f19(0x132)](this[_0xf42f19(0x15a)]),this[_0xf42f19(0x14b)]&&this[_0xf42f19(0x14e)][_0xf42f19(0x132)](this[_0xf42f19(0x14b)]),this[_0xf42f19(0x134)]&&this[_0xf42f19(0x14e)][_0xf42f19(0x132)](this[_0xf42f19(0x134)]),this[_0xf42f19(0x12f)](this[_0xf42f19(0x14c)]());}[_0x4f5041(0x14c)](){const _0x48937f=_0x4f5041,_0x461b28=this[_0x48937f(0x15d)],_0x5f0e74=[this[_0x48937f(0x15a)]];return this[_0x48937f(0x14b)]&&_0x5f0e74[_0x48937f(0x12e)](this[_0x48937f(0x14b)]),this[_0x48937f(0x134)]&&_0x5f0e74[_0x48937f(0x12e)](this[_0x48937f(0x134)]),_0x5f0e74[_0x48937f(0x12e)](this[_0x48937f(0x131)]),{'tag':_0x48937f(0x160),'attributes':{'class':['ck',_0x48937f(0x135),_0x48937f(0x162),_0x461b28['if'](_0x48937f(0x152),_0x48937f(0x145)),_0x461b28['to'](_0x48937f(0x154),_0x736bf0=>_0x48937f(0x14a)+_0x736bf0),this[_0x48937f(0x14d)][_0x48937f(0x158)]&&_0x48937f(0x141)],'data-suggestion-id':this[_0x48937f(0x159)]['id'],'data-thread-id':this[_0x48937f(0x159)][_0x48937f(0x15c)]['id'],'data-author-id':this[_0x48937f(0x159)][_0x48937f(0x137)]['id'],'tabindex':0x0,'role':_0x48937f(0x13a),'aria-label':_0x461b28['to'](_0x48937f(0x149)),'aria-describedby':this[_0x48937f(0x131)]['id']},'children':_0x5f0e74};}[_0x4f5041(0x161)](){const _0x97b272=_0x4f5041;super[_0x97b272(0x161)](),this[_0x97b272(0x14b)]&&(this[_0x97b272(0x14b)][_0x97b272(0x12d)](_0x97b272(0x156))['to'](this),this[_0x97b272(0x14b)][_0x97b272(0x12d)](_0x97b272(0x13d))['to'](this)),this[_0x97b272(0x134)]&&(this[_0x97b272(0x134)][_0x97b272(0x12d)](_0x97b272(0x156))['to'](this),this[_0x97b272(0x134)][_0x97b272(0x12d)](_0x97b272(0x13d))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c2ad8=_0x2941;(function(_0x27dd1d,_0x372775){const _0x345a28=_0x2941,_0x1db907=_0x27dd1d();while(!![]){try{const _0xf1ba7b=parseInt(_0x345a28(0x9d))/0x1+-parseInt(_0x345a28(0x86))/0x2+-parseInt(_0x345a28(0xb9))/0x3*(parseInt(_0x345a28(0x79))/0x4)+parseInt(_0x345a28(0xbd))/0x5+-parseInt(_0x345a28(0x93))/0x6+-parseInt(_0x345a28(0x74))/0x7*(parseInt(_0x345a28(0x8a))/0x8)+parseInt(_0x345a28(0x97))/0x9;if(_0xf1ba7b===_0x372775)break;else _0x1db907['push'](_0x1db907['shift']());}catch(_0x536699){_0x1db907['push'](_0x1db907['shift']());}}}(_0x61b4,0xc5a03));import{FocusTracker as _0xd2322d,KeystrokeHandler as _0x331037}from'ckeditor5/src/utils.js';import{View as _0xcec244,ViewCollection as _0xc8ea77,FocusCycler as _0x16b42f}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x52f16e,UserView as _0x58fccd}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x5e1269}from'ckeditor5/src/core.js';function _0x2941(_0x207f40,_0x4d2869){const _0x61b441=_0x61b4();return _0x2941=function(_0x294181,_0xc59085){_0x294181=_0x294181-0x74;let _0x59d127=_0x61b441[_0x294181];return _0x59d127;},_0x2941(_0x207f40,_0x4d2869);}function _0x61b4(){const _0x5b163b=['5752476KdiyNM','acceptSuggestion','getTemplate','ck-suggestion__info-name','26725446OCOetu','execute','_setupKeyboardNavigation','discardButton','discardSuggestion','element','854901BrDfKr','ck-annotation__info-time','authoredAt','Discard\x20suggestion','keystrokes','ck-suggestion','getUserViewNotificationText','locale','presentation','fire','focusFirst','acceptButton','ck-annotation__info-name','ck-suggestion__main','setTemplate','description','ck-annotation__actions','add','check','name','cancel','source','innerHTML','focus','ck-suggestion__info','change:description','ck-comment__external','tab','3hJvNki','set','enter','creator','3390740TNHnqv','.ck-annotation__content-wrapper','ck-suggestion__user','ck-suggestion__actions','ck-suggestion--accept','focusables','@external','focusTracker','_createButton','getExternalSuggestionNote','bind','focusCycler','_model','esc','div','push','querySelector','13139cufwEX','formatDateTime','ck-suggestion--discard','bindTemplate','EXTERNAL_AVATAR','3329308JLkFSQ','EXTERNAL_IMPORT_WORD_AVATAR','userView','ck-comment__info-time','EXTERNAL_IMPORT_WORD_SUGGESTION','importWord','ck-annotation__user','author','isExternal','render','ck-annotation__main','target','span','2760378nLypxd','ck-annotation__info','extendTemplate','listenTo','2224rIxiGn','Accept\x20suggestion','ck-annotation__content-wrapper','attributes','shift+tab','time','ck-annotation','EXTERNAL_SUGGESTION','_config'];_0x61b4=function(){return _0x5b163b;};return _0x61b4();}import{getTranslation as _0x16b4ec}from'../../utils/common-translations.js';export default class fe extends _0xcec244{constructor(_0x130327,_0x2096af,_0x2b4dac){const _0x15db8f=_0x2941;super(_0x130327),this[_0x15db8f(0xc9)]=_0x2096af,this[_0x15db8f(0x92)]=_0x2b4dac,this[_0x15db8f(0xba)](_0x15db8f(0xac),''),this[_0x15db8f(0xc7)](_0x15db8f(0x9f))['to'](_0x2096af),this[_0x15db8f(0xa8)]=this[_0x15db8f(0xc5)](_0x16b4ec(_0x130327,_0x15db8f(0x8b)),_0x5e1269[_0x15db8f(0xaf)],_0x15db8f(0xc1),_0x15db8f(0x94),'sw'),this[_0x15db8f(0x9a)]=this[_0x15db8f(0xc5)](_0x16b4ec(_0x130327,_0x15db8f(0xa0)),_0x5e1269[_0x15db8f(0xb1)],_0x15db8f(0x76),_0x15db8f(0x9b),'sw'),this[_0x15db8f(0x7b)]=new _0x58fccd(_0x130327,_0x2096af[_0x15db8f(0x80)],this[_0x15db8f(0xa3)]()),this[_0x15db8f(0x7b)][_0x15db8f(0x88)]({'attributes':{'class':[_0x15db8f(0xbf),_0x15db8f(0x7f)],'aria-hidden':!0x0}}),this[_0x15db8f(0xc2)]=new _0xc8ea77([this[_0x15db8f(0xa8)],this[_0x15db8f(0x9a)]]),this[_0x15db8f(0xc4)]=new _0xd2322d(),this[_0x15db8f(0xa1)]=new _0x331037(),this[_0x15db8f(0xc8)]=new _0x16b42f({'focusables':this[_0x15db8f(0xc2)],'focusTracker':this[_0x15db8f(0xc4)],'keystrokeHandler':this[_0x15db8f(0xa1)],'actions':{'focusPrevious':_0x15db8f(0x8e),'focusNext':_0x15db8f(0xb8)},'keystrokeHandlerOptions':{'filter':_0x1c79ee=>_0x1c79ee[_0x15db8f(0x84)]!==this[_0x15db8f(0x9c)]}}),this[_0x15db8f(0xab)](this[_0x15db8f(0x95)]());}[_0x2c2ad8(0x82)](){const _0x2553cb=_0x2c2ad8;super[_0x2553cb(0x82)]();const _0x21020f=this[_0x2553cb(0x9c)][_0x2553cb(0xcd)](_0x2553cb(0xbe));_0x21020f[_0x2553cb(0xb3)]=this[_0x2553cb(0xac)],this['on'](_0x2553cb(0xb6),(_0x5eb30e,_0x15c8be,_0x193c5f)=>{const _0x94e382=_0x2553cb;_0x21020f[_0x94e382(0xb3)]=_0x193c5f;}),this[_0x2553cb(0x99)]();}[_0x2c2ad8(0x95)](){const _0x54c2cc=_0x2c2ad8,_0x525e4c=this[_0x54c2cc(0x77)],_0x552f2f=[{'tag':_0x54c2cc(0xcb),'attributes':{'class':[_0x54c2cc(0xb5),_0x54c2cc(0x87)]},'children':[{'tag':_0x54c2cc(0x85),'children':[{'text':this[_0x54c2cc(0x7b)][_0x54c2cc(0xb0)]}],'attributes':{'class':[_0x54c2cc(0x96),_0x54c2cc(0xa9)],'data-cke-tooltip-text':this[_0x54c2cc(0x7b)][_0x54c2cc(0xb0)]}},{'tag':_0x54c2cc(0x8f),'attributes':{'datetime':_0x525e4c['to'](_0x54c2cc(0x9f)),'class':[_0x54c2cc(0x7c),_0x54c2cc(0x9e)]},'children':[{'text':_0x525e4c['to'](_0x54c2cc(0x9f),_0x2707d7=>this[_0x54c2cc(0x92)][_0x54c2cc(0x75)](_0x2707d7))}]}]},{'tag':_0x54c2cc(0xcb),'attributes':{'class':[_0x54c2cc(0xc0),_0x54c2cc(0xad)]},'children':[this[_0x54c2cc(0xa8)],this[_0x54c2cc(0x9a)]]},{'tag':_0x54c2cc(0xcb),'attributes':{'class':[_0x54c2cc(0x8c)]}}];return this[_0x54c2cc(0xc9)][_0x54c2cc(0x81)]&&_0x552f2f[_0x54c2cc(0xcc)]({'tag':_0x54c2cc(0xcb),'attributes':{'class':[_0x54c2cc(0xb7)]},'children':[{'text':this[_0x54c2cc(0xc6)]()}]}),{'tag':_0x54c2cc(0xcb),'attributes':{'class':[_0x54c2cc(0xa2),_0x54c2cc(0x90)],'tabindex':-0x1},'children':[this[_0x54c2cc(0x7b)],{'tag':_0x54c2cc(0xcb),'attributes':{'class':[_0x54c2cc(0xaa),_0x54c2cc(0x83)],'role':_0x54c2cc(0xa5)},'children':_0x552f2f}]};}[_0x2c2ad8(0xb4)](){const _0x3804c7=_0x2c2ad8;this[_0x3804c7(0x9c)][_0x3804c7(0xb4)]();}[_0x2c2ad8(0xa3)](){const _0xced9d7=_0x2c2ad8;return this[_0xced9d7(0xc9)][_0xced9d7(0x81)]?_0xced9d7(0x7e)===this[_0xced9d7(0xc9)][_0xced9d7(0x8d)][_0xced9d7(0xc3)][_0xced9d7(0xb2)]?_0x16b4ec(this[_0xced9d7(0xa4)],_0xced9d7(0x7a),this[_0xced9d7(0xc9)][_0xced9d7(0xbc)][_0xced9d7(0xb0)]):_0x16b4ec(this[_0xced9d7(0xa4)],_0xced9d7(0x78),this[_0xced9d7(0xc9)][_0xced9d7(0xbc)][_0xced9d7(0xb0)]):null;}[_0x2c2ad8(0xc6)](){const _0x126047=_0x2c2ad8;return _0x126047(0x7e)===this[_0x126047(0xc9)][_0x126047(0x8d)][_0x126047(0xc3)][_0x126047(0xb2)]?_0x16b4ec(this[_0x126047(0xa4)],_0x126047(0x7d)):_0x16b4ec(this[_0x126047(0xa4)],_0x126047(0x91));}[_0x2c2ad8(0xc5)](_0x4659f7,_0x480a27,_0x4eb2f6,_0x4ebf9a,_0x1d1b7d){const _0x480f16=_0x2c2ad8,_0x517f41=new _0x52f16e(this[_0x480f16(0xa4)]);return _0x517f41[_0x480f16(0xba)]({'label':_0x4659f7,'icon':_0x480a27,'tooltip':!0x0,'tooltipPosition':_0x1d1b7d}),_0x517f41[_0x480f16(0x88)]({'attributes':{'class':_0x4eb2f6}}),_0x517f41['on'](_0x480f16(0x98),()=>{const _0x11840b=_0x480f16;this[_0x11840b(0xa6)](_0x4ebf9a,this[_0x11840b(0xc9)]['id']);}),_0x517f41;}[_0x2c2ad8(0x99)](){const _0x38ce7c=_0x2c2ad8,_0x52d698=this[_0x38ce7c(0x9c)];this[_0x38ce7c(0xa1)][_0x38ce7c(0x89)](_0x52d698);for(const _0x3dd883 of this[_0x38ce7c(0xc2)])this[_0x38ce7c(0xc4)][_0x38ce7c(0xae)](_0x3dd883[_0x38ce7c(0x9c)]),this[_0x38ce7c(0xa1)][_0x38ce7c(0x89)](_0x3dd883[_0x38ce7c(0x9c)]);this[_0x38ce7c(0xa1)][_0x38ce7c(0xba)](_0x38ce7c(0xbb),(_0xac3423,_0x168a32)=>{const _0x107c19=_0x38ce7c;_0x52d698===_0xac3423[_0x107c19(0x84)]&&(this[_0x107c19(0xc8)][_0x107c19(0xa7)](),_0x168a32());}),this[_0x38ce7c(0xa1)][_0x38ce7c(0xba)](_0x38ce7c(0xca),(_0x2c29d8,_0x5daf8e)=>{const _0x3fd900=_0x38ce7c;_0x52d698!==_0x2c29d8[_0x3fd900(0x84)]&&(this[_0x3fd900(0xb4)](),_0x5daf8e());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x177334=_0xd40d;(function(_0x31d1a0,_0xc14b04){const _0x3ba737=_0xd40d,_0x1dfdec=_0x31d1a0();while(!![]){try{const _0x41b944=-parseInt(_0x3ba737(0x109))/0x1*(parseInt(_0x3ba737(0x119))/0x2)+-parseInt(_0x3ba737(0x111))/0x3+parseInt(_0x3ba737(0x117))/0x4+-parseInt(_0x3ba737(0x10d))/0x5+parseInt(_0x3ba737(0x120))/0x6+parseInt(_0x3ba737(0x10f))/0x7+-parseInt(_0x3ba737(0x124))/0x8*(-parseInt(_0x3ba737(0x126))/0x9);if(_0x41b944===_0xc14b04)break;else _0x1dfdec['push'](_0x1dfdec['shift']());}catch(_0x343278){_0x1dfdec['push'](_0x1dfdec['shift']());}}}(_0x2b44,0x495bd));import{View as _0x4db173}from'ckeditor5/src/ui.js';export default class Me extends _0x4db173{constructor(_0x1dc5f1,_0x22999a){const _0x8a452=_0xd40d;super(_0x1dc5f1),this[_0x8a452(0x125)]=_0x22999a,this[_0x8a452(0x127)]({'tag':_0x8a452(0x10b),'attributes':{'class':['ck',_0x8a452(0x11c),_0x8a452(0x113)],'tabindex':-0x1}});}[_0x177334(0x116)](){const _0x2f8288=_0x177334;super[_0x2f8288(0x116)](),this[_0x2f8288(0x11d)][_0x2f8288(0x118)][_0x2f8288(0x110)]=this[_0x2f8288(0x125)][_0x2f8288(0x11b)][_0x2f8288(0x110)]+'px',this[_0x2f8288(0x11d)][_0x2f8288(0x118)][_0x2f8288(0x115)]=this[_0x2f8288(0x125)][_0x2f8288(0x11b)][_0x2f8288(0x115)]+'px';}[_0x177334(0x10e)](_0x43bb9e,_0x54600e){const _0x191105=_0x177334;if(!this[_0x191105(0x11d)])return;const _0x9f0c13=[];for(const [_0x3a32a5,_0x6b0ea8]of _0x43bb9e){const _0x45de76=document[_0x191105(0x114)](_0x191105(0x10b));_0x45de76[_0x191105(0x122)](_0x191105(0x11e),_0x3a32a5),_0x45de76[_0x191105(0x11f)]=_0x6b0ea8[_0x191105(0x11a)]+_0x191105(0x112),_0x45de76[_0x191105(0x10c)]=_0x6b0ea8[_0x191105(0x121)],_0x9f0c13[_0x191105(0x107)](_0x45de76);}_0x54600e(this[_0x191105(0x11d)],_0x9f0c13),this[_0x191105(0x11d)][_0x191105(0x118)][_0x191105(0x115)]='',this[_0x191105(0x10a)](_0x191105(0x123));}[_0x177334(0x108)](){const _0x759bfb=_0x177334;this[_0x759bfb(0x11d)][_0x759bfb(0x108)]();}}function _0xd40d(_0x7e3f16,_0x3fce6e){const _0x2b448b=_0x2b44();return _0xd40d=function(_0xd40d70,_0x30ab46){_0xd40d70=_0xd40d70-0x107;let _0x50c0f0=_0x2b448b[_0xd40d70];return _0x50c0f0;},_0xd40d(_0x7e3f16,_0x3fce6e);}function _0x2b44(){const _0x2a6e34=['2436830YWmeGk','setPreviewData','1301160mmxsFd','width','1212285dpzYNE','\x20ck-track-changes-preview__root-container','ck-track-changes-preview','createElement','height','render','238224YnhcGP','style','3746MWpcIz','classes','dialogRects','ck-reset','element','data-ck-root-name','className','2110668YfBevS','content','setAttribute','previewDataReady','7769576egvCAf','options','9GPoKGM','setTemplate','push','focus','201pTcbOM','fire','div','innerHTML'];_0x2b44=function(){return _0x2a6e34;};return _0x2b44();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x39691c,_0x4a1fca,_0x2a5fd2){const _0x363ca1=_0x39691c['t'],t=_0x39691c['t'];switch(_0x4a1fca){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x2a5fd2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2a5fd2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2a5fd2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2a5fd2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2a5fd2);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',_0x2a5fd2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2a5fd2);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x2a5fd2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2a5fd2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2a5fd2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2a5fd2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2a5fd2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2a5fd2);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2a5fd2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2a5fd2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2a5fd2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2a5fd2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2a5fd2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2a5fd2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2a5fd2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2a5fd2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2a5fd2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2a5fd2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2a5fd2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2a5fd2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2a5fd2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2a5fd2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2a5fd2);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'},_0x2a5fd2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2a5fd2);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'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2a5fd2);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'},_0x2a5fd2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2a5fd2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2a5fd2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x2a5fd2);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x2a5fd2);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 _0x363ca1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2a5fd2);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x363ca1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2a5fd2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x2a5fd2);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x2a5fd2);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x2a5fd2);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x2a5fd2);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x4a1fca;}}
|
|
23
|
+
export function getTranslation(_0x5025c8,_0x23156b,_0x18c9ba){const _0x1a8a02=_0x5025c8['t'],t=_0x5025c8['t'];switch(_0x23156b){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x18c9ba);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x18c9ba);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x18c9ba);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x18c9ba);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x18c9ba);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',_0x18c9ba);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x18c9ba);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x18c9ba);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x18c9ba);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x18c9ba);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x18c9ba);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x18c9ba);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x18c9ba);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x18c9ba);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x18c9ba);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x18c9ba);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x18c9ba);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x18c9ba);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x18c9ba);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x18c9ba);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x18c9ba);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x18c9ba);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x18c9ba);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x18c9ba);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x18c9ba);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x18c9ba);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x18c9ba);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x18c9ba);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x18c9ba);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x18c9ba);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x18c9ba);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'},_0x18c9ba);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x18c9ba);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'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x18c9ba);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'},_0x18c9ba);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x18c9ba);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x18c9ba);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x18c9ba);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x18c9ba);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 _0x1a8a02({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x18c9ba);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x1a8a02({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x18c9ba);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x18c9ba);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x18c9ba);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x18c9ba);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x18c9ba);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x23156b;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x121bea,_0xeb0daa){const _0x59b21f=_0x3369,_0x2e1742=_0x121bea();while(!![]){try{const _0x27f441=parseInt(_0x59b21f(0x1c1))/0x1+parseInt(_0x59b21f(0x1ac))/0x2+-parseInt(_0x59b21f(0x1cc))/0x3+parseInt(_0x59b21f(0x1b3))/0x4+parseInt(_0x59b21f(0x1b6))/0x5+parseInt(_0x59b21f(0x1cb))/0x6+-parseInt(_0x59b21f(0x1af))/0x7;if(_0x27f441===_0xeb0daa)break;else _0x2e1742['push'](_0x2e1742['shift']());}catch(_0x187be3){_0x2e1742['push'](_0x2e1742['shift']());}}}(_0x518a,0xe10e4));export function normalizeDescription(_0x54fa2e){const _0x1be019=_0x3369;return Array[_0x1be019(0x1c3)](_0x54fa2e)||(_0x54fa2e=[_0x54fa2e]),_0x54fa2e[_0x1be019(0x1b2)](_0x4aaf99=>{const _0x424ab4=_0x1be019,_0x34570a=_0x4aaf99[_0x424ab4(0x1c4)][_0x424ab4(0x1d3)](/\*/g,''),_0x242d0b=_0x4aaf99[_0x424ab4(0x1b1)]?_0x424ab4(0x1ae)+_0x4aaf99[_0x424ab4(0x1b1)][_0x424ab4(0x1a6)]+']':'';return'['+_0x4aaf99[_0x424ab4(0x1b7)]+']\x20'+_0x34570a+_0x242d0b;})[_0x1be019(0x1cd)](';\x20');}export function renderDescription(_0x2497f6,_0x5a834b){const _0x27433b=_0x3369;let _0x31d413='';return _0x31d413+=_0x2497f6[_0x27433b(0x1ca)]('*')[_0x27433b(0x1b2)]((_0x5a4deb,_0x3c9553)=>_0x3c9553%0x2!=0x0?_0x27433b(0x1bd)+nn(_0x5a4deb)+_0x27433b(0x1b4):nn(_0x5a4deb))[_0x27433b(0x1cd)](''),_0x5a834b&&(_0x31d413+=_0x27433b(0x1a4)+_0x5a834b[_0x27433b(0x1a6)]+_0x27433b(0x1b8)+_0x5a834b[_0x27433b(0x1c6)]+_0x27433b(0x1d1)),_0x31d413;}function nn(_0x12befc){const _0x584244=_0x3369,_0x3a01f7=document[_0x584244(0x1a1)](_0x584244(0x1ba));return _0x3a01f7[_0x584244(0x1cf)]=_0x12befc,_0x3a01f7[_0x584244(0x1a8)];}export function sortSuggestions(_0x492fe){const _0x45456a=_0x3369;return _0x492fe[_0x45456a(0x1c8)]((_0x35bb7b,_0x94b2d7)=>_0x45456a(0x1ce)==_0x35bb7b[_0x45456a(0x1b7)]&&_0x45456a(0x1ce)!=_0x94b2d7[_0x45456a(0x1b7)]?-0x1:_0x45456a(0x1ce)!=_0x35bb7b[_0x45456a(0x1b7)]&&_0x45456a(0x1ce)==_0x94b2d7[_0x45456a(0x1b7)]?0x1:0x0);}export function getSelectedSuggestions(_0x48fc81,_0x4e57c5){const _0x429544=_0x3369,_0x395ea4=Array[_0x429544(0x1ad)](_0x48fc81[_0x429544(0x1d0)]()),_0x486b26=new Set();for(const _0x4b520b of _0x4e57c5)if(_0x4b520b[_0x429544(0x1c7)]){for(const _0x4c55f5 of _0x395ea4)for(const _0x4c6a86 of _0x4b520b[_0x429544(0x1d0)]())(_0x4c55f5[_0x429544(0x1c2)](_0x4c6a86)||_0x48fc81[_0x429544(0x1be)]&&!_0x4b520b[_0x429544(0x1c5)]&&_0x4b520b[_0x429544(0x1a3)]&&_0x4c6a86[_0x429544(0x1c9)][_0x429544(0x1bc)](_0x4c55f5[_0x429544(0x1c0)]))&&_0x486b26[_0x429544(0x1bf)](_0x4b520b);}return _0x486b26;}export function getRangesOfBlockGroups(_0x4d46da,_0x305e3b){const _0x3ffcf5=_0x3369;let _0x322226,_0x512cbd=0x0;const _0x4599a7=[],_0x4fb3fe=_0x305e3b[_0x3ffcf5(0x1b0)];for(;_0x512cbd<_0x4d46da[_0x3ffcf5(0x1ab)];){const _0x2546a1=_0x4d46da[_0x512cbd],_0x193c52=_0x4d46da[_0x512cbd+0x1];_0x322226||(_0x322226=_0x305e3b[_0x3ffcf5(0x1a2)](_0x2546a1)),on(_0x305e3b,_0x2546a1,_0x193c52)||(_0x4599a7[_0x3ffcf5(0x1bb)](_0x305e3b[_0x3ffcf5(0x1a7)](_0x322226,_0x4fb3fe[_0x3ffcf5(0x1d2)](_0x2546a1)?_0x305e3b[_0x3ffcf5(0x1a5)](_0x2546a1):_0x305e3b[_0x3ffcf5(0x1a9)](_0x2546a1,_0x3ffcf5(0x1c9)))),_0x322226=null),_0x512cbd++;}return _0x4599a7;}function on(_0x1aa794,_0x8fc3be,_0x1f5917){const _0x537e39=_0x3369;if(!_0x1f5917)return!0x1;const _0x2a4c0b=_0x1aa794[_0x537e39(0x1a5)](_0x8fc3be),_0x10f143=_0x1aa794[_0x537e39(0x1a2)](_0x1f5917);return _0x2a4c0b[_0x537e39(0x1bc)](_0x10f143);}function _0x518a(){const _0x1a3612=['split','9813330POgsIB','2956458IcnHdJ','join','deletion','innerText','getRanges','\x22></span>','isObject','replace','createElement','createPositionBefore','next','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionAfter','value','createRange','innerHTML','createPositionAt','execute','length','1538590AynumN','from','\x20[color\x20','20810454ILRCOX','schema','color','map','122304xDNLes','</span>','splice','8140605hGaiaI','type','\x22\x20title=\x22','change','span','push','isTouching','<span\x20class=\x22ck-suggestion-type\x22>','isCollapsed','add','start','816689EffeIo','isIntersecting','isArray','content','isMultiRange','title','isInContent','sort','end'];_0x518a=function(){return _0x1a3612;};return _0x518a();}function _0x3369(_0x2f9511,_0x49ada7){const _0x518a4e=_0x518a();return _0x3369=function(_0x336927,_0x5665a6){_0x336927=_0x336927-0x1a1;let _0x168a29=_0x518a4e[_0x336927];return _0x168a29;},_0x3369(_0x2f9511,_0x49ada7);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x3dedea,_0x55078b,_0x2cabac){const _0x363c0d=_0x3369;for(;_0x2cabac[_0x363c0d(0x1ab)];){const _0x19256c=_0x2cabac[_0x363c0d(0x1b5)](0x0,0x64);_0x3dedea[_0x363c0d(0x1b9)](()=>{const _0x5ca69c=_0x363c0d;for(const _0x30c1f4 of _0x19256c)_0x30c1f4[_0x5ca69c(0x1c7)]&&_0x55078b[_0x5ca69c(0x1aa)](_0x30c1f4['id']);});}}
|