@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250608.0 → 0.0.0-nightly-20250610.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- 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/be.js +1 -1
- package/dist/translations/be.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 +27 -27
- 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.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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.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
|
+
function _0x5994(){const _0xc9eec6=['170750Avwiey','604974mjaOiJ','pluginName','88LTZVNE','commands','TrackChangesPreview','add','728901CasSDx','1417077lsHcyQ','editor','define','498554fsbVtn','trackChanges.preview.renderFunction','1411566FoGiLH','isOfficialPlugin','appendChild','isPremiumPlugin','1738264ezHYpT','config','previewFinalContent','2cfUpil','requires'];_0x5994=function(){return _0xc9eec6;};return _0x5994();}const _0x40a3da=_0x1c07;(function(_0x54bcb2,_0x57dbed){const _0x54930a=_0x1c07,_0x5c42de=_0x54bcb2();while(!![]){try{const _0x218b6d=-parseInt(_0x54930a(0xfd))/0x1+parseInt(_0x54930a(0xfa))/0x2*(-parseInt(_0x54930a(0xee))/0x3)+parseInt(_0x54930a(0xf7))/0x4+parseInt(_0x54930a(0xfc))/0x5+parseInt(_0x54930a(0xf3))/0x6+-parseInt(_0x54930a(0xf1))/0x7+parseInt(_0x54930a(0xe9))/0x8*(parseInt(_0x54930a(0xed))/0x9);if(_0x218b6d===_0x57dbed)break;else _0x5c42de['push'](_0x5c42de['shift']());}catch(_0x56f9c6){_0x5c42de['push'](_0x5c42de['shift']());}}}(_0x5994,0x6cf5d));import{Plugin as _0x5dece4}from'ckeditor5/src/core.js';function _0x1c07(_0x1e0fff,_0xcda04e){const _0x5994c9=_0x5994();return _0x1c07=function(_0x1c0728,_0x232740){_0x1c0728=_0x1c0728-0xe9;let _0x318ce5=_0x5994c9[_0x1c0728];return _0x318ce5;},_0x1c07(_0x1e0fff,_0xcda04e);}import{Dialog as _0xd8f722}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x4ce135}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x110b00}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x5dece4{static get[_0x40a3da(0xfb)](){return[_0x4ce135,_0xd8f722];}static get[_0x40a3da(0xfe)](){const _0x4bd736=_0x40a3da;return _0x4bd736(0xeb);}static get[_0x40a3da(0xf4)](){return!0x0;}static get[_0x40a3da(0xf6)](){return!0x0;}constructor(_0x4bc25a){const _0x3d41fb=_0x40a3da;super(_0x4bc25a),_0x4bc25a[_0x3d41fb(0xea)][_0x3d41fb(0xec)](_0x3d41fb(0xf9),new _0x110b00(this[_0x3d41fb(0xef)])),_0x4bc25a[_0x3d41fb(0xf8)][_0x3d41fb(0xf0)](_0x3d41fb(0xf2),(_0x55d967,_0x15a9e0)=>{const _0x283d15=_0x3d41fb;for(const _0x46348a of _0x15a9e0)_0x55d967[_0x283d15(0xf5)](_0x46348a);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d5d2f=_0x5e0b;(function(_0x577fbb,_0x2db874){const _0xe7f900=_0x5e0b,_0xf2815a=_0x577fbb();while(!![]){try{const _0x33efce=-parseInt(_0xe7f900(0x12c))/0x1+-parseInt(_0xe7f900(0xf9))/0x2+-parseInt(_0xe7f900(0x193))/0x3+parseInt(_0xe7f900(0x16b))/0x4+-parseInt(_0xe7f900(0x103))/0x5*(-parseInt(_0xe7f900(0x14b))/0x6)+parseInt(_0xe7f900(0x145))/0x7*(parseInt(_0xe7f900(0x106))/0x8)+parseInt(_0xe7f900(0x155))/0x9*(parseInt(_0xe7f900(0x12a))/0xa);if(_0x33efce===_0x2db874)break;else _0xf2815a['push'](_0xf2815a['shift']());}catch(_0x4cfc8d){_0xf2815a['push'](_0xf2815a['shift']());}}}(_0x4bbd,0xea345));import{Plugin as _0x5cdd06}from'ckeditor5/src/core.js';import{Collection as _0x305867}from'ckeditor5/src/utils.js';function _0x5e0b(_0x2dfb1e,_0x43a61c){const _0x4bbdb1=_0x4bbd();return _0x5e0b=function(_0x5e0b6d,_0x31cde5){_0x5e0b6d=_0x5e0b6d-0xf4;let _0x37def2=_0x4bbdb1[_0x5e0b6d];return _0x37def2;},_0x5e0b(_0x2dfb1e,_0x43a61c);}import{IconTrackChanges as _0x23ec67}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x307c4e,createDropdown as _0x562932,ListSeparatorView as _0x5de8d6,MenuBarMenuView as _0x5b8828,MenuBarMenuListView as _0xd8c5cd,MenuBarMenuListItemView as _0x1e3d41,MenuBarMenuListItemButtonView as _0xc90960,SplitButtonView as _0x19400a,ViewModel as _0x5083cc}from'ckeditor5/src/ui.js';import{Users as _0x3843b8,getDateTimeFormatter as _0x438814,getAllMarkersDomElementsSorted as _0x261c0e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x504d41}from'./trackchangesediting.js';import{SuggestionController as _0x2ce6f9}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0xa3ad32}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1d68a8}from'./ui/view/suggestionview.js';function _0x4bbd(){const _0x381690=['change:previous','init','commandName','isDirty','trackChanges','isOn','comments.maxCommentCharsWhenCollapsed','featureNotAllowed','acceptSelectedSuggestions','_destroyController','2116422mriRtj','addComment','Preview\x20final\x20content','button','config','toMany','_createToolbarButton','trackChanges.SuggestionView','menuBar:trackChanges','pluginName','createCommentThreadController','add','_annotationViews','Annotations','_unbindEditors','remove','clear','arrowView','_bindAnnotationToEditors','trackChanges.disableComments','_licenseKeyCheckInterval','change:activeAnnotations','2041070drNlJh','listenTo','Track\x20changes','getSuggestion','suggestionChanged','descriptionParts','value','values','from','TrackChangesUI','485tzaVhb','refreshSelectedViews','_addUIComponentsToFactory','7719032jnbiRv','escape','trackChangesLicenseKeyInvalid','execute','locale','_viewToController','unbind','activeAnnotations','TrackChangesPreview','getByInnerView','discardAllSuggestions','getDescriptions','suggestionUnloaded','addSourceCollector','suggestion-','getJoined','model','stopListening','buttonView','evaluationLimit','TrackChangesEditing','comments.maxCommentsWhenCollapsed','CommentView','keys','fire','hasSuggestion','EditorAnnotations','length','previewFinalContent','get','editor','Accept\x20all\x20selected\x20suggestions','_handleControllerBuffer','getFirstRange','domainLimit','source','874430yAXruM','_handleSuggestionControllerDelayed','127176qrxOfn','suggestionView','delegate','_suggestionToController','acceptAllSuggestions','menu','reduce','isEnabled','trackChangesLicenseKeyExpired','_updateController','registerAnnotation','createAnnotation','_disableComments','CommentsRepository','getRanges','Discard\x20all\x20selected\x20suggestions','createAnnotationView','_initializeController','trackChanges.SuggestionThreadView','actionView','requires','focus','CommentsUI','panelView','commands','7bFFigO','view','filter','plugins','trackChangesLicenseKeyValid','TrackChanges','15144klIbcs','SuggestionView','activeMarkers','_createMenuBarMenu','discardSelectedSuggestions','isOfficialPlugin','comments.editorConfig','destroy','expired','trackChangesLicenseKeyUsageLimit','99YRMSLt','separator','type','addMany','editing','invalid','head','menuitem','commentThread','delete','Accept\x20all\x20suggestions','mainView','getMarkerNames','trackChangesLicenseKeyNotAllowed','isMultiRange','getAllAdjacentSuggestions','_refreshActiveMarkers','some','licenseKey','usageLimit','push','set','2563624MeIKSW','innerView','acceptButton','lowest','trialLimit','items','commentsListView','isPremiumPlugin','isInContent','previous','comments','size','children','_showLicenseError','define','bind','discardButton','trackChangesLicenseKeyDomainLimit','menuitemcheckbox','comments.maxThreadTotalWeight','getMarkers','trackChangesLicenseKeyEvaluationLimit','descriptionFactory','Discard\x20all\x20suggestions','SuggestionThreadView','suggestionLoaded','switchbutton','has','trackChangesLicenseKeyTrialLimit','componentFactory'];_0x4bbd=function(){return _0x381690;};return _0x4bbd();}import{getTranslation as _0x5b2662}from'./utils/common-translations.js';export class TrackChangesUI extends _0x5cdd06{[_0x5d5d2f(0x167)];[_0x5d5d2f(0xf7)];[_0x5d5d2f(0x12f)];[_0x5d5d2f(0x10b)];[_0x5d5d2f(0x19f)];[_0x5d5d2f(0x126)];[_0x5d5d2f(0x138)];static get[_0x5d5d2f(0x140)](){const _0x1f4890=_0x5d5d2f;return[_0x504d41,_0x3843b8,_0x1f4890(0x139),_0x1f4890(0x1a0),_0x1f4890(0x120)];}static get[_0x5d5d2f(0x19c)](){const _0x8c193d=_0x5d5d2f;return _0x8c193d(0x102);}static get[_0x5d5d2f(0x150)](){return!0x0;}static get[_0x5d5d2f(0x172)](){return!0x0;}constructor(_0x4c71dc){const _0x4ded5c=_0x5d5d2f;super(_0x4c71dc),this[_0x4ded5c(0x12f)]=new Map(),this[_0x4ded5c(0x10b)]=new Map(),this[_0x4ded5c(0x19f)]=new Map(),this[_0x4ded5c(0x126)]=new Map();const _0x410313=this[_0x4ded5c(0x124)][_0x4ded5c(0x197)];_0x410313[_0x4ded5c(0x179)](_0x4ded5c(0x13e),_0xa3ad32),_0x410313[_0x4ded5c(0x179)](_0x4ded5c(0x19a),_0x1d68a8),_0x410313[_0x4ded5c(0x179)](_0x4ded5c(0xf6),!0x1),this[_0x4ded5c(0x138)]=_0x410313[_0x4ded5c(0x123)](_0x4ded5c(0xf6));}[_0x5d5d2f(0x12b)](_0x53477b,_0x182f3a){const _0x6ae9ed=_0x5d5d2f;0x0===this[_0x6ae9ed(0x126)][_0x6ae9ed(0x176)]&&setTimeout(()=>{const _0x153ad9=_0x6ae9ed;for(const [_0x1dac94,_0x175d67]of this[_0x153ad9(0x126)]){const _0x2d7b5d=this[_0x153ad9(0x12f)][_0x153ad9(0x186)](_0x1dac94);_0x2d7b5d||_0x175d67?_0x2d7b5d&&_0x175d67&&this[_0x153ad9(0x192)](_0x1dac94):this[_0x153ad9(0x13d)](_0x1dac94);}this[_0x153ad9(0x126)][_0x153ad9(0x1a3)](),this[_0x153ad9(0x124)][_0x153ad9(0x148)][_0x153ad9(0x123)](_0x153ad9(0x120))[_0x153ad9(0x104)](),this[_0x153ad9(0x165)]();},0xa),this[_0x6ae9ed(0x126)][_0x6ae9ed(0x16a)](_0x53477b,_0x182f3a);}[_0x5d5d2f(0x18a)](){const _0x8dbfd6=_0x5d5d2f,_0x683566=this[_0x8dbfd6(0x124)],_0x4938c4=_0x683566[_0x8dbfd6(0x148)][_0x8dbfd6(0x123)](_0x8dbfd6(0x11a)),_0x15d115=_0x683566[_0x8dbfd6(0x148)][_0x8dbfd6(0x123)](_0x8dbfd6(0x1a0)),_0x5f4f93=_0x683566[_0x8dbfd6(0x148)][_0x8dbfd6(0x123)](_0x8dbfd6(0x120)),_0x517b17=_0x683566[_0x8dbfd6(0x148)][_0x8dbfd6(0x123)](_0x8dbfd6(0x139));this[_0x8dbfd6(0x105)](),_0x5f4f93[_0x8dbfd6(0x113)](()=>{const _0x27f7cd=_0x8dbfd6,_0x2524cf=[];for(const [_0x452f79,_0x4147e6]of Array[_0x27f7cd(0x101)](this[_0x27f7cd(0x12f)])){const _0xba56b2=_0x452f79[_0x27f7cd(0x164)](),_0x249152=[];for(const _0x3b81a2 of _0xba56b2){if(!_0x3b81a2[_0x27f7cd(0x173)])continue;if(_0x3b81a2[_0x27f7cd(0x163)]){_0x249152[_0x27f7cd(0x169)](..._0x3b81a2[_0x27f7cd(0x13a)]());continue;}const _0x4b068f=_0x3b81a2[_0x27f7cd(0x127)]();if(_0x249152[_0x27f7cd(0x121)]>0x0){const _0x465a73=_0x249152[0x0][_0x27f7cd(0x115)](_0x4b068f);if(_0x465a73){_0x249152[0x0]=_0x465a73;continue;}}_0x249152[_0x27f7cd(0x169)](_0x4b068f);}_0x2524cf[_0x27f7cd(0x169)]([_0x4147e6[_0x27f7cd(0x146)],_0x249152]);}return _0x2524cf;}),this[_0x8dbfd6(0xfa)](_0x4938c4,_0x8dbfd6(0x184),(_0x579896,_0x51285d)=>{const _0xd48656=_0x8dbfd6;this[_0xd48656(0xfa)](_0x51285d,_0xd48656(0x189),(_0xfc0219,_0x31cfa3,_0xfa2ae1,_0x58afa3)=>{const _0x3b382a=_0xd48656;_0x51285d[_0x3b382a(0x173)]&&(null==_0xfa2ae1?(this[_0x3b382a(0x135)](_0x58afa3[_0x3b382a(0x15b)]),this[_0x3b382a(0x12b)](_0x51285d,!0x1)):(this[_0x3b382a(0x135)](_0xfa2ae1[_0x3b382a(0x15b)]),null==_0x58afa3&&this[_0x3b382a(0x12b)](_0x51285d,!0x0)));}),null!==_0x51285d[_0xd48656(0x174)]?this[_0xd48656(0x135)](_0x51285d[_0xd48656(0x15b)]):this[_0xd48656(0x12b)](_0x51285d,!0x1);}),this[_0x8dbfd6(0xfa)](_0x4938c4,_0x8dbfd6(0x112),(_0x1d9835,_0x1187a1,_0x161acb)=>{const _0x557ef8=_0x8dbfd6;this[_0x557ef8(0x117)](_0x1187a1,_0x557ef8(0x189)),this[_0x557ef8(0x126)][_0x557ef8(0x15e)](_0x1187a1),this[_0x557ef8(0x12f)][_0x557ef8(0x186)](_0x1187a1)&&this[_0x557ef8(0x192)](_0x1187a1),_0x161acb&&this[_0x557ef8(0x135)](_0x161acb[_0x557ef8(0x15b)]);}),this[_0x8dbfd6(0xfa)](_0x4938c4,_0x8dbfd6(0xfd),(_0x2edb86,_0x3c9cd2)=>{const _0x1e7e42=_0x8dbfd6;this[_0x1e7e42(0x135)](_0x3c9cd2);}),this[_0x8dbfd6(0xfa)](_0x15d115,_0x8dbfd6(0xf8),()=>{const _0x3e3c51=_0x8dbfd6;this[_0x3e3c51(0x165)]();}),this[_0x8dbfd6(0xfa)](_0x517b17,_0x8dbfd6(0x194),(_0x10f4b5,{threadId:_0x2b7cb0,isFromAdapter:_0x4b92df})=>{const _0x4aa7bd=_0x8dbfd6;if(_0x4b92df||!_0x4938c4[_0x4aa7bd(0x11f)](_0x2b7cb0))return;const _0x20c52b=_0x4938c4[_0x4aa7bd(0xfc)](_0x2b7cb0);this[_0x4aa7bd(0x12f)][_0x4aa7bd(0x123)](_0x20c52b)[_0x4aa7bd(0x146)][_0x4aa7bd(0x171)][_0x4aa7bd(0x141)](-0x1);},{'priority':_0x8dbfd6(0x16e)}),this[_0x8dbfd6(0x167)]=this[_0x8dbfd6(0x124)][_0x8dbfd6(0x197)][_0x8dbfd6(0x123)](_0x8dbfd6(0x167));const _0x22ab0d=this[_0x8dbfd6(0x124)];this[_0x8dbfd6(0xf7)]=setInterval(()=>{const _0x7f14a9=_0x8dbfd6;let _0x520c95;for(const _0x1d739a in _0x22ab0d){const _0x8bc0aa=_0x1d739a,_0x2e2825=_0x22ab0d[_0x8bc0aa];if(_0x7f14a9(0x149)==_0x2e2825||_0x7f14a9(0x108)==_0x2e2825||_0x7f14a9(0x134)==_0x2e2825||_0x7f14a9(0x17c)==_0x2e2825||_0x7f14a9(0x162)==_0x2e2825||_0x7f14a9(0x180)==_0x2e2825||_0x7f14a9(0x187)==_0x2e2825||_0x7f14a9(0x154)==_0x2e2825){delete _0x22ab0d[_0x8bc0aa],_0x520c95=_0x2e2825,clearInterval(this[_0x7f14a9(0xf7)]),this[_0x7f14a9(0xf7)]=void 0x0;break;}}_0x7f14a9(0x108)==_0x520c95&&_0x22ab0d[_0x7f14a9(0x178)](_0x7f14a9(0x15a)),_0x7f14a9(0x134)==_0x520c95&&_0x22ab0d[_0x7f14a9(0x178)](_0x7f14a9(0x153)),_0x7f14a9(0x17c)==_0x520c95&&_0x22ab0d[_0x7f14a9(0x178)](_0x7f14a9(0x128)),_0x7f14a9(0x162)==_0x520c95&&_0x22ab0d[_0x7f14a9(0x178)](_0x7f14a9(0x190),_0x7f14a9(0x14a)),_0x7f14a9(0x180)==_0x520c95&&_0x22ab0d[_0x7f14a9(0x178)](_0x7f14a9(0x119)),_0x7f14a9(0x187)==_0x520c95&&_0x22ab0d[_0x7f14a9(0x178)](_0x7f14a9(0x16f)),_0x7f14a9(0x154)==_0x520c95&&_0x22ab0d[_0x7f14a9(0x178)](_0x7f14a9(0x168));},0x3e8);}[_0x5d5d2f(0x165)](){const _0x2a3255=_0x5d5d2f,_0xbc6ac9=this[_0x2a3255(0x124)][_0x2a3255(0x148)][_0x2a3255(0x123)](_0x2a3255(0x1a0)),_0x43788e=this[_0x2a3255(0x124)][_0x2a3255(0x148)][_0x2a3255(0x123)](_0x2a3255(0x11a)),_0x209493=Array[_0x2a3255(0x101)](_0xbc6ac9[_0x2a3255(0x10d)],_0x46d23a=>_0x46d23a[_0x2a3255(0x16c)])[_0x2a3255(0x147)](_0x343bad=>this[_0x2a3255(0x10b)][_0x2a3255(0x186)](_0x343bad)),_0x1b7768=[];for(const _0x339ed1 of _0x209493){const _0x40d6df=this[_0x2a3255(0x10b)][_0x2a3255(0x123)](_0x339ed1)[_0x2a3255(0x116)][_0x2a3255(0x164)]();_0x1b7768[_0x2a3255(0x169)](..._0x40d6df[_0x2a3255(0x132)]((_0x3e15d0,_0x3f2c19)=>[..._0x3e15d0,..._0x3f2c19[_0x2a3255(0x161)]()],[]));}_0x43788e[_0x2a3255(0x14d)]=_0x1b7768;}[_0x5d5d2f(0x105)](){const _0x3eb225=_0x5d5d2f,_0x1c6d6a=this[_0x3eb225(0x124)],_0x1de695=_0x1c6d6a[_0x3eb225(0x10a)],_0x448335=_0x5b2662(_0x1de695,_0x3eb225(0xfb)),_0x3ba09f=new _0x305867([{'type':_0x3eb225(0x185),'model':new _0x5083cc({'withText':!0x0,'isToggleable':!0x0,'label':_0x448335,'commandName':_0x3eb225(0x18d),'role':_0x3eb225(0x17d)})},{'type':_0x3eb225(0x156)},{'type':_0x3eb225(0x196),'model':new _0x5083cc({'withText':!0x0,'label':_0x5b2662(_0x1de695,_0x3eb225(0x15f)),'commandName':_0x3eb225(0x130),'role':_0x3eb225(0x15c)})},{'type':_0x3eb225(0x196),'model':new _0x5083cc({'withText':!0x0,'label':_0x5b2662(_0x1de695,_0x3eb225(0x125)),'commandName':_0x3eb225(0x191),'role':_0x3eb225(0x15c)})},{'type':_0x3eb225(0x196),'model':new _0x5083cc({'withText':!0x0,'label':_0x5b2662(_0x1de695,_0x3eb225(0x182)),'commandName':_0x3eb225(0x110),'role':_0x3eb225(0x15c)})},{'type':_0x3eb225(0x196),'model':new _0x5083cc({'withText':!0x0,'label':_0x5b2662(_0x1de695,_0x3eb225(0x13b)),'commandName':_0x3eb225(0x14f),'role':_0x3eb225(0x15c)})}]);_0x1c6d6a[_0x3eb225(0x148)][_0x3eb225(0x186)](_0x3eb225(0x10e))&&_0x3ba09f[_0x3eb225(0x158)]([{'type':_0x3eb225(0x156)},{'type':_0x3eb225(0x196),'model':new _0x5083cc({'withText':!0x0,'label':_0x5b2662(_0x1de695,_0x3eb225(0x195)),'commandName':_0x3eb225(0x122),'role':_0x3eb225(0x15c)})}]);for(const _0x3e4cd5 of _0x3ba09f)if(ke(_0x3e4cd5)){const _0x566371=_0x1c6d6a[_0x3eb225(0x144)][_0x3eb225(0x123)](_0x3e4cd5[_0x3eb225(0x116)][_0x3eb225(0x18b)]);_0x3e4cd5[_0x3eb225(0x116)][_0x3eb225(0x17a)](_0x3eb225(0x18e),_0x3eb225(0x133))['to'](_0x566371,_0x3eb225(0xff),_0x3eb225(0x133));}_0x1c6d6a['ui'][_0x3eb225(0x188)][_0x3eb225(0x19e)](_0x3eb225(0x18d),_0x21502b=>this[_0x3eb225(0x199)](_0x21502b,_0x3ba09f,_0x448335)),_0x1c6d6a['ui'][_0x3eb225(0x188)][_0x3eb225(0x19e)](_0x3eb225(0x19b),_0x345847=>this[_0x3eb225(0x14e)](_0x345847,_0x3ba09f,_0x448335));}[_0x5d5d2f(0x199)](_0x5cbc9e,_0x387315,_0x538c29){const _0x8abecc=_0x5d5d2f,_0x1a9043=_0x562932(_0x5cbc9e,_0x19400a),_0x14525d=this[_0x8abecc(0x124)][_0x8abecc(0x144)][_0x8abecc(0x123)](_0x8abecc(0x18d));_0x1a9043[_0x8abecc(0x118)][_0x8abecc(0x16a)]({'tooltip':_0x538c29,'label':_0x538c29,'icon':_0x23ec67}),_0x1a9043[_0x8abecc(0x118)][_0x8abecc(0x17a)](_0x8abecc(0x18e))['to'](_0x14525d,_0x8abecc(0xff)),_0x1a9043[_0x8abecc(0x118)]['on'](_0x8abecc(0x109),()=>{const _0x34ff9a=_0x8abecc;_0x14525d[_0x34ff9a(0x109)](),this[_0x34ff9a(0x124)][_0x34ff9a(0x159)][_0x34ff9a(0x146)][_0x34ff9a(0x141)]();}),_0x307c4e(_0x1a9043,_0x387315,{'role':_0x8abecc(0x131)});const _0x525061=[];for(const _0x511f6f of _0x387315)ke(_0x511f6f)&&_0x525061[_0x8abecc(0x169)](this[_0x8abecc(0x124)][_0x8abecc(0x144)][_0x8abecc(0x123)](_0x511f6f[_0x8abecc(0x116)][_0x8abecc(0x18b)]));const _0x38f05d=_0x1a9043[_0x8abecc(0x118)];return _0x38f05d[_0x8abecc(0x13f)][_0x8abecc(0x10c)](_0x8abecc(0x133)),_0x38f05d[_0x8abecc(0xf4)][_0x8abecc(0x10c)](_0x8abecc(0x133)),_0x38f05d[_0x8abecc(0x13f)][_0x8abecc(0x17a)](_0x8abecc(0x133))['to'](_0x14525d,_0x8abecc(0x133)),_0x38f05d[_0x8abecc(0xf4)][_0x8abecc(0x17a)](_0x8abecc(0x133))[_0x8abecc(0x198)](_0x525061,_0x8abecc(0x133),(..._0x144dc2)=>_0x144dc2[_0x8abecc(0x166)](_0x4d92f9=>_0x4d92f9)),_0x1a9043['on'](_0x8abecc(0x109),_0xb642d3=>{const _0x5e7a41=_0x8abecc;this[_0x5e7a41(0x124)][_0x5e7a41(0x109)](_0xb642d3[_0x5e7a41(0x129)][_0x5e7a41(0x18b)]),this[_0x5e7a41(0x124)][_0x5e7a41(0x159)][_0x5e7a41(0x146)][_0x5e7a41(0x141)]();}),_0x1a9043;}[_0x5d5d2f(0x14e)](_0x57c621,_0x648fc2,_0x3262e3){const _0x27ef8a=_0x5d5d2f,_0xbf8645=new _0x5b8828(_0x57c621),_0x2c0073=this[_0x27ef8a(0x124)][_0x27ef8a(0x144)][_0x27ef8a(0x123)](_0x27ef8a(0x18d));_0xbf8645[_0x27ef8a(0x118)][_0x27ef8a(0x16a)]({'label':_0x3262e3,'icon':_0x23ec67});const _0x1b5afb=new _0xd8c5cd(_0x57c621);for(const _0x31fbae of _0x648fc2){if(_0x27ef8a(0x156)==_0x31fbae[_0x27ef8a(0x157)]){_0x1b5afb[_0x27ef8a(0x170)][_0x27ef8a(0x19e)](new _0x5de8d6(_0x57c621));continue;}const _0xa91b58=new _0x1e3d41(_0x57c621,_0xbf8645),_0x5b2601=new _0xc90960(_0x57c621),_0x17fb82=_0x31fbae[_0x27ef8a(0x116)];_0x5b2601[_0x27ef8a(0x17a)](...Object[_0x27ef8a(0x11d)](_0x17fb82))['to'](_0x17fb82),_0x5b2601[_0x27ef8a(0x12e)](_0x27ef8a(0x109))['to'](_0xbf8645),_0x5b2601['on'](_0x27ef8a(0x109),()=>{const _0x1c328d=_0x27ef8a;this[_0x1c328d(0x124)][_0x1c328d(0x109)](_0x17fb82[_0x1c328d(0x18b)]),this[_0x1c328d(0x124)][_0x1c328d(0x159)][_0x1c328d(0x146)][_0x1c328d(0x141)]();}),_0xa91b58[_0x27ef8a(0x177)][_0x27ef8a(0x19e)](_0x5b2601),_0x1b5afb[_0x27ef8a(0x170)][_0x27ef8a(0x19e)](_0xa91b58);}return _0xbf8645[_0x27ef8a(0x17a)](_0x27ef8a(0x133))['to'](_0x2c0073,_0x27ef8a(0x133)),_0xbf8645[_0x27ef8a(0x143)][_0x27ef8a(0x177)][_0x27ef8a(0x19e)](_0x1b5afb),_0xbf8645;}[_0x5d5d2f(0x13d)](_0x1ac92e){const _0x1dd5b5=_0x5d5d2f,_0x446f18=this[_0x1dd5b5(0x124)],_0xa043a1=_0x446f18[_0x1dd5b5(0x197)],_0x1bf604=_0x446f18[_0x1dd5b5(0x148)][_0x1dd5b5(0x123)](_0x1dd5b5(0x1a0)),_0x459c29=_0x446f18[_0x1dd5b5(0x148)][_0x1dd5b5(0x123)](_0x1dd5b5(0x139)),_0x26ba3c=_0x446f18[_0x1dd5b5(0x148)][_0x1dd5b5(0x123)](_0x1dd5b5(0x120)),_0x3da267=_0x446f18[_0x1dd5b5(0x148)][_0x1dd5b5(0x123)](_0x3843b8)['me'],_0xab026b=_0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x18d))[_0x1dd5b5(0x183)],_0x124463=_0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x18d))[_0x1dd5b5(0x14c)],{CommentsListView:_0x263879,CommentThreadInputView:_0x114498}=_0x446f18[_0x1dd5b5(0x148)][_0x1dd5b5(0x123)](_0x1dd5b5(0x142));let _0x1e259a,_0x416d33,_0x2472e2;this[_0x1dd5b5(0x19f)][_0x1dd5b5(0x186)](_0x1ac92e['id'])?(_0x416d33=this[_0x1dd5b5(0x19f)][_0x1dd5b5(0x123)](_0x1ac92e['id']),_0x1e259a=_0x416d33[_0x1dd5b5(0x160)]):(_0x1e259a=new _0xab026b(_0x446f18[_0x1dd5b5(0x10a)],_0x1ac92e,_0x3da267,{'disableComments':this[_0x1dd5b5(0x138)],'editorConfig':{..._0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x151)),'licenseKey':_0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x167))},'maxCommentsWhenCollapsed':_0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x11b)),'maxThreadTotalWeight':_0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x17e)),'maxCommentCharsWhenCollapsed':_0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x18f)),'formatDateTime':_0x438814(_0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x10a)),_0x446f18[_0x1dd5b5(0x10a)]),'CommentView':_0xa043a1[_0x1dd5b5(0x123)](_0x1dd5b5(0x175))[_0x1dd5b5(0x11c)],'CommentsListView':_0x263879,'CommentThreadInputView':_0x114498,'SuggestionView':_0x124463}),_0x1e259a[_0x1dd5b5(0x12d)][_0x1dd5b5(0x16d)]['on'](_0x1dd5b5(0x109),()=>{const _0xe877b7=_0x1dd5b5;_0x446f18[_0xe877b7(0x159)][_0xe877b7(0x146)][_0xe877b7(0x141)]();}),_0x1e259a[_0x1dd5b5(0x12d)][_0x1dd5b5(0x17b)]['on'](_0x1dd5b5(0x109),()=>{const _0x4fa9ed=_0x1dd5b5;_0x446f18[_0x4fa9ed(0x159)][_0x4fa9ed(0x146)][_0x4fa9ed(0x141)]();}),_0x416d33=_0x1bf604[_0x1dd5b5(0x13c)](this[_0x1dd5b5(0x124)][_0x1dd5b5(0x10a)],_0x1e259a),_0x416d33[_0x1dd5b5(0x17a)](_0x1dd5b5(0x18c))['to'](_0x1e259a,_0x1dd5b5(0x18c)),_0x416d33[_0x1dd5b5(0x17a)](_0x1dd5b5(0x121))['to'](_0x1e259a),_0x416d33[_0x1dd5b5(0x17a)](_0x1dd5b5(0x157))['to'](_0x1e259a,_0x1dd5b5(0x157),_0x192891=>_0x1dd5b5(0x114)+_0x192891),_0x1e259a['on'](_0x1dd5b5(0x107),()=>{const _0x37f63a=_0x1dd5b5;_0x2472e2[_0x37f63a(0x11e)](_0x37f63a(0x107));}),this[_0x1dd5b5(0x19f)][_0x1dd5b5(0x16a)](_0x1ac92e['id'],_0x416d33));const _0x5299da=_0x459c29[_0x1dd5b5(0x19d)](_0x1ac92e[_0x1dd5b5(0x15d)],_0x1e259a),_0x24b5c9=new _0x2ce6f9(_0x446f18,_0x1ac92e,_0x1e259a,_0x5299da),_0xcb1d8a=_0x1ac92e[_0x1dd5b5(0x164)]()[_0x1dd5b5(0x147)](_0x55560f=>_0x55560f[_0x1dd5b5(0x173)]);_0x1e259a[_0x1dd5b5(0xfe)]=_0x446f18[_0x1dd5b5(0x148)][_0x1dd5b5(0x123)](_0x1dd5b5(0x11a))[_0x1dd5b5(0x181)][_0x1dd5b5(0x111)](_0xcb1d8a),this[_0x1dd5b5(0x12f)][_0x1dd5b5(0x16a)](_0x1ac92e,_0x24b5c9),this[_0x1dd5b5(0x10b)][_0x1dd5b5(0x16a)](_0x1e259a,_0x24b5c9),_0x2472e2=_0x1bf604[_0x1dd5b5(0x137)]({'view':_0x416d33,'target':()=>{const _0x3da54a=_0x1dd5b5,_0x56fac1=[],_0x21a3ea=_0x1ac92e[_0x3da54a(0x164)]()[_0x3da54a(0x147)](_0xa25403=>_0xa25403[_0x3da54a(0x173)]);for(const _0x4bb2da of _0x21a3ea)_0x56fac1[_0x3da54a(0x169)](..._0x4bb2da[_0x3da54a(0x17f)]());return _0x261c0e(_0x446f18[_0x3da54a(0x159)],_0x56fac1);},'type':()=>_0x1dd5b5(0x114)+_0x24b5c9[_0x1dd5b5(0x146)][_0x1dd5b5(0x157)]}),_0x459c29[_0x1dd5b5(0xf5)](_0x1e259a,_0x2472e2),_0x1bf604[_0x1dd5b5(0x19e)](_0x2472e2),_0x26ba3c[_0x1dd5b5(0x136)](_0x2472e2);}[_0x5d5d2f(0x192)](_0x570203){const _0x1264bc=_0x5d5d2f,_0x5786d1=this[_0x1264bc(0x124)][_0x1264bc(0x148)][_0x1264bc(0x123)](_0x1264bc(0x139)),_0x4ee676=this[_0x1264bc(0x124)][_0x1264bc(0x148)][_0x1264bc(0x123)](_0x1264bc(0x1a0)),_0x4dfe92=this[_0x1264bc(0x12f)][_0x1264bc(0x123)](_0x570203),_0x20e052=_0x4dfe92[_0x1264bc(0x146)],_0x20199d=_0x4ee676[_0x1264bc(0x10f)](_0x20e052);_0x5786d1[_0x1264bc(0x1a1)](_0x20e052),_0x20199d&&_0x4ee676[_0x1264bc(0x1a2)](_0x20199d),this[_0x1264bc(0x12f)][_0x1264bc(0x15e)](_0x570203),this[_0x1264bc(0x10b)][_0x1264bc(0x15e)](_0x20e052),_0x4dfe92[_0x1264bc(0x152)]();}[_0x5d5d2f(0x135)](_0x2aa1d4){const _0x16741e=_0x5d5d2f;if(!_0x2aa1d4[_0x16741e(0x173)]||!this[_0x16741e(0x12f)][_0x16741e(0x186)](_0x2aa1d4))return;const _0x21bd1d=this[_0x16741e(0x124)][_0x16741e(0x148)][_0x16741e(0x123)](_0x16741e(0x11a)),_0x551cc6=this[_0x16741e(0x12f)][_0x16741e(0x123)](_0x2aa1d4),_0x25dda6=_0x2aa1d4[_0x16741e(0x164)]();_0x551cc6[_0x16741e(0x146)][_0x16741e(0xfe)]=_0x21bd1d[_0x16741e(0x181)][_0x16741e(0x111)](_0x25dda6);}[_0x5d5d2f(0x152)](){const _0x350aa9=_0x5d5d2f;for(const _0x6ed931 of this[_0x350aa9(0x12f)][_0x350aa9(0x11d)]())this[_0x350aa9(0x192)](_0x6ed931);for(const _0x1511fb of this[_0x350aa9(0x19f)][_0x350aa9(0x100)]())_0x1511fb[_0x350aa9(0x160)][_0x350aa9(0x152)]();super[_0x350aa9(0x152)](),this[_0x350aa9(0xf7)]&&clearInterval(this[_0x350aa9(0xf7)]);}}function ke(_0x319a42){const _0x2210fa=_0x5d5d2f;return _0x2210fa(0x116)in _0x319a42;}
|
|
23
|
+
const _0x4c4dd=_0x457b;(function(_0x1f2eb8,_0x48d182){const _0x3916a5=_0x457b,_0xb3a5d=_0x1f2eb8();while(!![]){try{const _0x8a8f18=-parseInt(_0x3916a5(0x219))/0x1*(-parseInt(_0x3916a5(0x290))/0x2)+parseInt(_0x3916a5(0x1e3))/0x3+parseInt(_0x3916a5(0x206))/0x4*(parseInt(_0x3916a5(0x282))/0x5)+-parseInt(_0x3916a5(0x22b))/0x6*(-parseInt(_0x3916a5(0x222))/0x7)+-parseInt(_0x3916a5(0x26c))/0x8+parseInt(_0x3916a5(0x1ee))/0x9+-parseInt(_0x3916a5(0x1e8))/0xa*(parseInt(_0x3916a5(0x285))/0xb);if(_0x8a8f18===_0x48d182)break;else _0xb3a5d['push'](_0xb3a5d['shift']());}catch(_0x133ffa){_0xb3a5d['push'](_0xb3a5d['shift']());}}}(_0x24da,0x44c2e));import{Plugin as _0x711c90}from'ckeditor5/src/core.js';import{Collection as _0x55482c}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x18c3a0}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x1f96ce,createDropdown as _0xf7f49e,ListSeparatorView as _0x4c3feb,MenuBarMenuView as _0x3631d9,MenuBarMenuListView as _0x39d3b8,MenuBarMenuListItemView as _0x4fd221,MenuBarMenuListItemButtonView as _0x3ed699,SplitButtonView as _0x2050fa,ViewModel as _0x1447a0}from'ckeditor5/src/ui.js';function _0x24da(){const _0x2250a1=['_viewToController','_bindAnnotationToEditors','TrackChangesUI','TrackChangesEditing','getFirstRange','bind','trialLimit','evaluationLimit','6RCpYDl','TrackChangesPreview','commentsListView','menuitem','Annotations','trackChangesLicenseKeyDomainLimit','CommentView','invalid','acceptSelectedSuggestions','trackChanges.SuggestionThreadView','from','trackChanges','trackChanges.SuggestionView','getMarkerNames','trackChanges.disableComments','_showLicenseError','change:activeAnnotations','clear','suggestionLoaded','acceptButton','get','type','isOn','trackChangesLicenseKeyInvalid','getDescriptions','delegate','arrowView','_createMenuBarMenu','hasSuggestion','_handleControllerBuffer','execute','reduce','comments.editorConfig','previous','trackChangesLicenseKeyTrialLimit','Accept\x20all\x20suggestions','trackChangesLicenseKeyExpired','length','registerAnnotation','componentFactory','_annotationViews','suggestionView','_createToolbarButton','refreshSelectedViews','CommentsUI','Discard\x20all\x20selected\x20suggestions','panelView','config','getAllAdjacentSuggestions','separator','focus','model','discardButton','children','keys','getMarkers','_initializeController','getSuggestion','EditorAnnotations','_unbindEditors','_refreshActiveMarkers','_updateController','remove','add','comments.maxThreadTotalWeight','496840xxTBUk','isEnabled','menuitemcheckbox','suggestionChanged','trackChangesLicenseKeyEvaluationLimit','isInContent','domainLimit','_addUIComponentsToFactory','suggestionUnloaded','values','getRanges','trackChangesLicenseKeyValid','buttonView','has','menuBar:trackChanges','licenseKey','addComment','locale','innerView','_disableComments','filter','plugins','1245535rksPPJ','change:previous','Track\x20changes','216579tsdXyY','addSourceCollector','SuggestionView','isPremiumPlugin','switchbutton','push','Discard\x20all\x20suggestions','previewFinalContent','suggestion-','toMany','Preview\x20final\x20content','47614zkcNyZ','pluginName','fire','createCommentThreadController','311976eyzDIn','editor','descriptionFactory','requires','_destroyController','440apvvCN','source','_handleSuggestionControllerDelayed','SuggestionThreadView','actionView','isDirty','1644876kRjGVQ','descriptionParts','commands','featureNotAllowed','lowest','menu','addMany','unbind','trackChangesLicenseKeyUsageLimit','comments.maxCommentCharsWhenCollapsed','set','comments','acceptAllSuggestions','isMultiRange','some','editing','head','createAnnotation','stopListening','expired','CommentsRepository','value','init','activeAnnotations','8mFtcOM','getJoined','items','_suggestionToController','mainView','define','commentThread','listenTo','createAnnotationView','view','size','getByInnerView','Accept\x20all\x20selected\x20suggestions','escape','delete','destroy','comments.maxCommentsWhenCollapsed','TrackChanges','discardSelectedSuggestions','10cZCliP','activeMarkers','button','discardAllSuggestions','isOfficialPlugin','trackChangesLicenseKeyNotAllowed','commandName','_licenseKeyCheckInterval','usageLimit','1309189YHONif'];_0x24da=function(){return _0x2250a1;};return _0x24da();}import{Users as _0x4d5674,getDateTimeFormatter as _0x346f08,getAllMarkersDomElementsSorted as _0x318a29}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2d9f6f}from'./trackchangesediting.js';import{SuggestionController as _0x3c6454}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x2049d2}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x52a0c8}from'./ui/view/suggestionview.js';function _0x457b(_0x13db50,_0x239742){const _0x24da95=_0x24da();return _0x457b=function(_0x457bd5,_0x438b97){_0x457bd5=_0x457bd5-0x1e3;let _0x43da65=_0x24da95[_0x457bd5];return _0x43da65;},_0x457b(_0x13db50,_0x239742);}import{getTranslation as _0x253e14}from'./utils/common-translations.js';export class TrackChangesUI extends _0x711c90{[_0x4c4dd(0x27b)];[_0x4c4dd(0x220)];[_0x4c4dd(0x209)];[_0x4c4dd(0x223)];[_0x4c4dd(0x253)];[_0x4c4dd(0x248)];[_0x4c4dd(0x27f)];static get[_0x4c4dd(0x1e6)](){const _0x3740d7=_0x4c4dd;return[_0x2d9f6f,_0x4d5674,_0x3740d7(0x202),_0x3740d7(0x22f),_0x3740d7(0x265)];}static get[_0x4c4dd(0x291)](){const _0x4cfefe=_0x4c4dd;return _0x4cfefe(0x225);}static get[_0x4c4dd(0x21d)](){return!0x0;}static get[_0x4c4dd(0x288)](){return!0x0;}constructor(_0x1e3036){const _0x51d0b3=_0x4c4dd;super(_0x1e3036),this[_0x51d0b3(0x209)]=new Map(),this[_0x51d0b3(0x223)]=new Map(),this[_0x51d0b3(0x253)]=new Map(),this[_0x51d0b3(0x248)]=new Map();const _0x31a786=this[_0x51d0b3(0x1e4)][_0x51d0b3(0x25a)];_0x31a786[_0x51d0b3(0x20b)](_0x51d0b3(0x234),_0x2049d2),_0x31a786[_0x51d0b3(0x20b)](_0x51d0b3(0x237),_0x52a0c8),_0x31a786[_0x51d0b3(0x20b)](_0x51d0b3(0x239),!0x1),this[_0x51d0b3(0x27f)]=_0x31a786[_0x51d0b3(0x23f)](_0x51d0b3(0x239));}[_0x4c4dd(0x1ea)](_0xbbfb04,_0x1e9891){const _0x4c0c99=_0x4c4dd;0x0===this[_0x4c0c99(0x248)][_0x4c0c99(0x210)]&&setTimeout(()=>{const _0x13094a=_0x4c0c99;for(const [_0x46b8be,_0x566b82]of this[_0x13094a(0x248)]){const _0x59dc4b=this[_0x13094a(0x209)][_0x13094a(0x279)](_0x46b8be);_0x59dc4b||_0x566b82?_0x59dc4b&&_0x566b82&&this[_0x13094a(0x1e7)](_0x46b8be):this[_0x13094a(0x263)](_0x46b8be);}this[_0x13094a(0x248)][_0x13094a(0x23c)](),this[_0x13094a(0x1e4)][_0x13094a(0x281)][_0x13094a(0x23f)](_0x13094a(0x265))[_0x13094a(0x256)](),this[_0x13094a(0x267)]();},0xa),this[_0x4c0c99(0x248)][_0x4c0c99(0x1f8)](_0xbbfb04,_0x1e9891);}[_0x4c4dd(0x204)](){const _0x1c35da=_0x4c4dd,_0x2b8bc2=this[_0x1c35da(0x1e4)],_0x42f105=_0x2b8bc2[_0x1c35da(0x281)][_0x1c35da(0x23f)](_0x1c35da(0x226)),_0x3fd3d0=_0x2b8bc2[_0x1c35da(0x281)][_0x1c35da(0x23f)](_0x1c35da(0x22f)),_0xdae6c=_0x2b8bc2[_0x1c35da(0x281)][_0x1c35da(0x23f)](_0x1c35da(0x265)),_0x479c21=_0x2b8bc2[_0x1c35da(0x281)][_0x1c35da(0x23f)](_0x1c35da(0x202));this[_0x1c35da(0x273)](),_0xdae6c[_0x1c35da(0x286)](()=>{const _0x3331b9=_0x1c35da,_0xaec6f2=[];for(const [_0x229144,_0x20a440]of Array[_0x3331b9(0x235)](this[_0x3331b9(0x209)])){const _0x2ffcd2=_0x229144[_0x3331b9(0x25b)](),_0xea1b8b=[];for(const _0x56a86e of _0x2ffcd2){if(!_0x56a86e[_0x3331b9(0x271)])continue;if(_0x56a86e[_0x3331b9(0x1fb)]){_0xea1b8b[_0x3331b9(0x28a)](..._0x56a86e[_0x3331b9(0x276)]());continue;}const _0x2a6596=_0x56a86e[_0x3331b9(0x227)]();if(_0xea1b8b[_0x3331b9(0x250)]>0x0){const _0x1e3904=_0xea1b8b[0x0][_0x3331b9(0x207)](_0x2a6596);if(_0x1e3904){_0xea1b8b[0x0]=_0x1e3904;continue;}}_0xea1b8b[_0x3331b9(0x28a)](_0x2a6596);}_0xaec6f2[_0x3331b9(0x28a)]([_0x20a440[_0x3331b9(0x20f)],_0xea1b8b]);}return _0xaec6f2;}),this[_0x1c35da(0x20d)](_0x42f105,_0x1c35da(0x23d),(_0x21c25c,_0x463455)=>{const _0x30660d=_0x1c35da;this[_0x30660d(0x20d)](_0x463455,_0x30660d(0x283),(_0x181f36,_0x11ca42,_0x1092ef,_0x12049d)=>{const _0xf8cc09=_0x30660d;_0x463455[_0xf8cc09(0x271)]&&(null==_0x1092ef?(this[_0xf8cc09(0x268)](_0x12049d[_0xf8cc09(0x1fe)]),this[_0xf8cc09(0x1ea)](_0x463455,!0x1)):(this[_0xf8cc09(0x268)](_0x1092ef[_0xf8cc09(0x1fe)]),null==_0x12049d&&this[_0xf8cc09(0x1ea)](_0x463455,!0x0)));}),null!==_0x463455[_0x30660d(0x24c)]?this[_0x30660d(0x268)](_0x463455[_0x30660d(0x1fe)]):this[_0x30660d(0x1ea)](_0x463455,!0x1);}),this[_0x1c35da(0x20d)](_0x42f105,_0x1c35da(0x274),(_0x5a5d8a,_0x498044,_0xfd32dd)=>{const _0x520aec=_0x1c35da;this[_0x520aec(0x200)](_0x498044,_0x520aec(0x283)),this[_0x520aec(0x248)][_0x520aec(0x214)](_0x498044),this[_0x520aec(0x209)][_0x520aec(0x279)](_0x498044)&&this[_0x520aec(0x1e7)](_0x498044),_0xfd32dd&&this[_0x520aec(0x268)](_0xfd32dd[_0x520aec(0x1fe)]);}),this[_0x1c35da(0x20d)](_0x42f105,_0x1c35da(0x26f),(_0x238764,_0x24ba37)=>{const _0x1500ea=_0x1c35da;this[_0x1500ea(0x268)](_0x24ba37);}),this[_0x1c35da(0x20d)](_0x3fd3d0,_0x1c35da(0x23b),()=>{const _0x4b2ba9=_0x1c35da;this[_0x4b2ba9(0x267)]();}),this[_0x1c35da(0x20d)](_0x479c21,_0x1c35da(0x27c),(_0x38d42d,{threadId:_0x3a69af,isFromAdapter:_0x31eeeb})=>{const _0x2faa7c=_0x1c35da;if(_0x31eeeb||!_0x42f105[_0x2faa7c(0x247)](_0x3a69af))return;const _0x43fd53=_0x42f105[_0x2faa7c(0x264)](_0x3a69af);this[_0x2faa7c(0x209)][_0x2faa7c(0x23f)](_0x43fd53)[_0x2faa7c(0x20f)][_0x2faa7c(0x22d)][_0x2faa7c(0x25d)](-0x1);},{'priority':_0x1c35da(0x1f2)}),this[_0x1c35da(0x27b)]=this[_0x1c35da(0x1e4)][_0x1c35da(0x25a)][_0x1c35da(0x23f)](_0x1c35da(0x27b));const _0x5c2024=this[_0x1c35da(0x1e4)];this[_0x1c35da(0x220)]=setInterval(()=>{const _0xe5dc42=_0x1c35da;let _0x37f570;for(const _0x3288d5 in _0x5c2024){const _0x249ab2=_0x3288d5,_0x4e20ed=_0x5c2024[_0x249ab2];if(_0xe5dc42(0x277)==_0x4e20ed||_0xe5dc42(0x242)==_0x4e20ed||_0xe5dc42(0x24f)==_0x4e20ed||_0xe5dc42(0x230)==_0x4e20ed||_0xe5dc42(0x21e)==_0x4e20ed||_0xe5dc42(0x270)==_0x4e20ed||_0xe5dc42(0x24d)==_0x4e20ed||_0xe5dc42(0x1f6)==_0x4e20ed){delete _0x5c2024[_0x249ab2],_0x37f570=_0x4e20ed,clearInterval(this[_0xe5dc42(0x220)]),this[_0xe5dc42(0x220)]=void 0x0;break;}}_0xe5dc42(0x242)==_0x37f570&&_0x5c2024[_0xe5dc42(0x23a)](_0xe5dc42(0x232)),_0xe5dc42(0x24f)==_0x37f570&&_0x5c2024[_0xe5dc42(0x23a)](_0xe5dc42(0x201)),_0xe5dc42(0x230)==_0x37f570&&_0x5c2024[_0xe5dc42(0x23a)](_0xe5dc42(0x272)),_0xe5dc42(0x21e)==_0x37f570&&_0x5c2024[_0xe5dc42(0x23a)](_0xe5dc42(0x1f1),_0xe5dc42(0x217)),_0xe5dc42(0x270)==_0x37f570&&_0x5c2024[_0xe5dc42(0x23a)](_0xe5dc42(0x22a)),_0xe5dc42(0x24d)==_0x37f570&&_0x5c2024[_0xe5dc42(0x23a)](_0xe5dc42(0x229)),_0xe5dc42(0x1f6)==_0x37f570&&_0x5c2024[_0xe5dc42(0x23a)](_0xe5dc42(0x221));},0x3e8);}[_0x4c4dd(0x267)](){const _0x2b42f5=_0x4c4dd,_0x336576=this[_0x2b42f5(0x1e4)][_0x2b42f5(0x281)][_0x2b42f5(0x23f)](_0x2b42f5(0x22f)),_0x1c6a26=this[_0x2b42f5(0x1e4)][_0x2b42f5(0x281)][_0x2b42f5(0x23f)](_0x2b42f5(0x226)),_0x533da1=Array[_0x2b42f5(0x235)](_0x336576[_0x2b42f5(0x205)],_0x2043fe=>_0x2043fe[_0x2b42f5(0x27e)])[_0x2b42f5(0x280)](_0x4a5693=>this[_0x2b42f5(0x223)][_0x2b42f5(0x279)](_0x4a5693)),_0x22c8fd=[];for(const _0x1b0a07 of _0x533da1){const _0x58d87b=this[_0x2b42f5(0x223)][_0x2b42f5(0x23f)](_0x1b0a07)[_0x2b42f5(0x25e)][_0x2b42f5(0x25b)]();_0x22c8fd[_0x2b42f5(0x28a)](..._0x58d87b[_0x2b42f5(0x24a)]((_0x2bde51,_0x3c67fd)=>[..._0x2bde51,..._0x3c67fd[_0x2b42f5(0x238)]()],[]));}_0x1c6a26[_0x2b42f5(0x21a)]=_0x22c8fd;}[_0x4c4dd(0x273)](){const _0xd22f12=_0x4c4dd,_0x341a56=this[_0xd22f12(0x1e4)],_0x1e914a=_0x341a56[_0xd22f12(0x27d)],_0x1e4b76=_0x253e14(_0x1e914a,_0xd22f12(0x284)),_0x486c35=new _0x55482c([{'type':_0xd22f12(0x289),'model':new _0x1447a0({'withText':!0x0,'isToggleable':!0x0,'label':_0x1e4b76,'commandName':_0xd22f12(0x236),'role':_0xd22f12(0x26e)})},{'type':_0xd22f12(0x25c)},{'type':_0xd22f12(0x21b),'model':new _0x1447a0({'withText':!0x0,'label':_0x253e14(_0x1e914a,_0xd22f12(0x24e)),'commandName':_0xd22f12(0x1fa),'role':_0xd22f12(0x22e)})},{'type':_0xd22f12(0x21b),'model':new _0x1447a0({'withText':!0x0,'label':_0x253e14(_0x1e914a,_0xd22f12(0x212)),'commandName':_0xd22f12(0x233),'role':_0xd22f12(0x22e)})},{'type':_0xd22f12(0x21b),'model':new _0x1447a0({'withText':!0x0,'label':_0x253e14(_0x1e914a,_0xd22f12(0x28b)),'commandName':_0xd22f12(0x21c),'role':_0xd22f12(0x22e)})},{'type':_0xd22f12(0x21b),'model':new _0x1447a0({'withText':!0x0,'label':_0x253e14(_0x1e914a,_0xd22f12(0x258)),'commandName':_0xd22f12(0x218),'role':_0xd22f12(0x22e)})}]);_0x341a56[_0xd22f12(0x281)][_0xd22f12(0x279)](_0xd22f12(0x22c))&&_0x486c35[_0xd22f12(0x1f4)]([{'type':_0xd22f12(0x25c)},{'type':_0xd22f12(0x21b),'model':new _0x1447a0({'withText':!0x0,'label':_0x253e14(_0x1e914a,_0xd22f12(0x28f)),'commandName':_0xd22f12(0x28c),'role':_0xd22f12(0x22e)})}]);for(const _0x12ade0 of _0x486c35)if(ke(_0x12ade0)){const _0x1e1df4=_0x341a56[_0xd22f12(0x1f0)][_0xd22f12(0x23f)](_0x12ade0[_0xd22f12(0x25e)][_0xd22f12(0x21f)]);_0x12ade0[_0xd22f12(0x25e)][_0xd22f12(0x228)](_0xd22f12(0x241),_0xd22f12(0x26d))['to'](_0x1e1df4,_0xd22f12(0x203),_0xd22f12(0x26d));}_0x341a56['ui'][_0xd22f12(0x252)][_0xd22f12(0x26a)](_0xd22f12(0x236),_0x1aa570=>this[_0xd22f12(0x255)](_0x1aa570,_0x486c35,_0x1e4b76)),_0x341a56['ui'][_0xd22f12(0x252)][_0xd22f12(0x26a)](_0xd22f12(0x27a),_0x1ff182=>this[_0xd22f12(0x246)](_0x1ff182,_0x486c35,_0x1e4b76));}[_0x4c4dd(0x255)](_0x9c324f,_0x5d8e34,_0x38a8b3){const _0x541425=_0x4c4dd,_0x49e48b=_0xf7f49e(_0x9c324f,_0x2050fa),_0x57fe42=this[_0x541425(0x1e4)][_0x541425(0x1f0)][_0x541425(0x23f)](_0x541425(0x236));_0x49e48b[_0x541425(0x278)][_0x541425(0x1f8)]({'tooltip':_0x38a8b3,'label':_0x38a8b3,'icon':_0x18c3a0}),_0x49e48b[_0x541425(0x278)][_0x541425(0x228)](_0x541425(0x241))['to'](_0x57fe42,_0x541425(0x203)),_0x49e48b[_0x541425(0x278)]['on'](_0x541425(0x249),()=>{const _0x3b5a75=_0x541425;_0x57fe42[_0x3b5a75(0x249)](),this[_0x3b5a75(0x1e4)][_0x3b5a75(0x1fd)][_0x3b5a75(0x20f)][_0x3b5a75(0x25d)]();}),_0x1f96ce(_0x49e48b,_0x5d8e34,{'role':_0x541425(0x1f3)});const _0x10d234=[];for(const _0x1d8bf7 of _0x5d8e34)ke(_0x1d8bf7)&&_0x10d234[_0x541425(0x28a)](this[_0x541425(0x1e4)][_0x541425(0x1f0)][_0x541425(0x23f)](_0x1d8bf7[_0x541425(0x25e)][_0x541425(0x21f)]));const _0x25caac=_0x49e48b[_0x541425(0x278)];return _0x25caac[_0x541425(0x1ec)][_0x541425(0x1f5)](_0x541425(0x26d)),_0x25caac[_0x541425(0x245)][_0x541425(0x1f5)](_0x541425(0x26d)),_0x25caac[_0x541425(0x1ec)][_0x541425(0x228)](_0x541425(0x26d))['to'](_0x57fe42,_0x541425(0x26d)),_0x25caac[_0x541425(0x245)][_0x541425(0x228)](_0x541425(0x26d))[_0x541425(0x28e)](_0x10d234,_0x541425(0x26d),(..._0x3d596a)=>_0x3d596a[_0x541425(0x1fc)](_0x39db07=>_0x39db07)),_0x49e48b['on'](_0x541425(0x249),_0x308f9a=>{const _0x140d10=_0x541425;this[_0x140d10(0x1e4)][_0x140d10(0x249)](_0x308f9a[_0x140d10(0x1e9)][_0x140d10(0x21f)]),this[_0x140d10(0x1e4)][_0x140d10(0x1fd)][_0x140d10(0x20f)][_0x140d10(0x25d)]();}),_0x49e48b;}[_0x4c4dd(0x246)](_0x25f149,_0x12c73d,_0x2aff93){const _0x3e382b=_0x4c4dd,_0x5d2952=new _0x3631d9(_0x25f149),_0x291e1c=this[_0x3e382b(0x1e4)][_0x3e382b(0x1f0)][_0x3e382b(0x23f)](_0x3e382b(0x236));_0x5d2952[_0x3e382b(0x278)][_0x3e382b(0x1f8)]({'label':_0x2aff93,'icon':_0x18c3a0});const _0x5b4a0b=new _0x39d3b8(_0x25f149);for(const _0x226979 of _0x12c73d){if(_0x3e382b(0x25c)==_0x226979[_0x3e382b(0x240)]){_0x5b4a0b[_0x3e382b(0x208)][_0x3e382b(0x26a)](new _0x4c3feb(_0x25f149));continue;}const _0x14f57c=new _0x4fd221(_0x25f149,_0x5d2952),_0xbcec63=new _0x3ed699(_0x25f149),_0x4e94ac=_0x226979[_0x3e382b(0x25e)];_0xbcec63[_0x3e382b(0x228)](...Object[_0x3e382b(0x261)](_0x4e94ac))['to'](_0x4e94ac),_0xbcec63[_0x3e382b(0x244)](_0x3e382b(0x249))['to'](_0x5d2952),_0xbcec63['on'](_0x3e382b(0x249),()=>{const _0x22eef9=_0x3e382b;this[_0x22eef9(0x1e4)][_0x22eef9(0x249)](_0x4e94ac[_0x22eef9(0x21f)]),this[_0x22eef9(0x1e4)][_0x22eef9(0x1fd)][_0x22eef9(0x20f)][_0x22eef9(0x25d)]();}),_0x14f57c[_0x3e382b(0x260)][_0x3e382b(0x26a)](_0xbcec63),_0x5b4a0b[_0x3e382b(0x208)][_0x3e382b(0x26a)](_0x14f57c);}return _0x5d2952[_0x3e382b(0x228)](_0x3e382b(0x26d))['to'](_0x291e1c,_0x3e382b(0x26d)),_0x5d2952[_0x3e382b(0x259)][_0x3e382b(0x260)][_0x3e382b(0x26a)](_0x5b4a0b),_0x5d2952;}[_0x4c4dd(0x263)](_0xb07988){const _0x5df97c=_0x4c4dd,_0x51b2a8=this[_0x5df97c(0x1e4)],_0x5bb6f6=_0x51b2a8[_0x5df97c(0x25a)],_0x5ec6d5=_0x51b2a8[_0x5df97c(0x281)][_0x5df97c(0x23f)](_0x5df97c(0x22f)),_0x5dbce9=_0x51b2a8[_0x5df97c(0x281)][_0x5df97c(0x23f)](_0x5df97c(0x202)),_0x44c415=_0x51b2a8[_0x5df97c(0x281)][_0x5df97c(0x23f)](_0x5df97c(0x265)),_0x32454b=_0x51b2a8[_0x5df97c(0x281)][_0x5df97c(0x23f)](_0x4d5674)['me'],_0x5ad9c6=_0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x236))[_0x5df97c(0x1eb)],_0x38ea25=_0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x236))[_0x5df97c(0x287)],{CommentsListView:_0x12b8d7,CommentThreadInputView:_0xf0677}=_0x51b2a8[_0x5df97c(0x281)][_0x5df97c(0x23f)](_0x5df97c(0x257));let _0x25b6e6,_0x4a57a6,_0x2a855d;this[_0x5df97c(0x253)][_0x5df97c(0x279)](_0xb07988['id'])?(_0x4a57a6=this[_0x5df97c(0x253)][_0x5df97c(0x23f)](_0xb07988['id']),_0x25b6e6=_0x4a57a6[_0x5df97c(0x20a)]):(_0x25b6e6=new _0x5ad9c6(_0x51b2a8[_0x5df97c(0x27d)],_0xb07988,_0x32454b,{'disableComments':this[_0x5df97c(0x27f)],'editorConfig':{..._0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x24b)),'licenseKey':_0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x27b))},'maxCommentsWhenCollapsed':_0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x216)),'maxThreadTotalWeight':_0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x26b)),'maxCommentCharsWhenCollapsed':_0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x1f7)),'formatDateTime':_0x346f08(_0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x27d)),_0x51b2a8[_0x5df97c(0x27d)]),'CommentView':_0x5bb6f6[_0x5df97c(0x23f)](_0x5df97c(0x1f9))[_0x5df97c(0x231)],'CommentsListView':_0x12b8d7,'CommentThreadInputView':_0xf0677,'SuggestionView':_0x38ea25}),_0x25b6e6[_0x5df97c(0x254)][_0x5df97c(0x23e)]['on'](_0x5df97c(0x249),()=>{const _0xda5285=_0x5df97c;_0x51b2a8[_0xda5285(0x1fd)][_0xda5285(0x20f)][_0xda5285(0x25d)]();}),_0x25b6e6[_0x5df97c(0x254)][_0x5df97c(0x25f)]['on'](_0x5df97c(0x249),()=>{const _0xf16a94=_0x5df97c;_0x51b2a8[_0xf16a94(0x1fd)][_0xf16a94(0x20f)][_0xf16a94(0x25d)]();}),_0x4a57a6=_0x5ec6d5[_0x5df97c(0x20e)](this[_0x5df97c(0x1e4)][_0x5df97c(0x27d)],_0x25b6e6),_0x4a57a6[_0x5df97c(0x228)](_0x5df97c(0x1ed))['to'](_0x25b6e6,_0x5df97c(0x1ed)),_0x4a57a6[_0x5df97c(0x228)](_0x5df97c(0x250))['to'](_0x25b6e6),_0x4a57a6[_0x5df97c(0x228)](_0x5df97c(0x240))['to'](_0x25b6e6,_0x5df97c(0x240),_0x450067=>_0x5df97c(0x28d)+_0x450067),_0x25b6e6['on'](_0x5df97c(0x213),()=>{const _0x8036d7=_0x5df97c;_0x2a855d[_0x8036d7(0x292)](_0x8036d7(0x213));}),this[_0x5df97c(0x253)][_0x5df97c(0x1f8)](_0xb07988['id'],_0x4a57a6));const _0x78adee=_0x5dbce9[_0x5df97c(0x293)](_0xb07988[_0x5df97c(0x20c)],_0x25b6e6),_0x4a0016=new _0x3c6454(_0x51b2a8,_0xb07988,_0x25b6e6,_0x78adee),_0x39105c=_0xb07988[_0x5df97c(0x25b)]()[_0x5df97c(0x280)](_0x5a4588=>_0x5a4588[_0x5df97c(0x271)]);_0x25b6e6[_0x5df97c(0x1ef)]=_0x51b2a8[_0x5df97c(0x281)][_0x5df97c(0x23f)](_0x5df97c(0x226))[_0x5df97c(0x1e5)][_0x5df97c(0x243)](_0x39105c),this[_0x5df97c(0x209)][_0x5df97c(0x1f8)](_0xb07988,_0x4a0016),this[_0x5df97c(0x223)][_0x5df97c(0x1f8)](_0x25b6e6,_0x4a0016),_0x2a855d=_0x5ec6d5[_0x5df97c(0x1ff)]({'view':_0x4a57a6,'target':()=>{const _0x5762e2=_0x5df97c,_0x477352=[],_0x41e429=_0xb07988[_0x5762e2(0x25b)]()[_0x5762e2(0x280)](_0x46ea91=>_0x46ea91[_0x5762e2(0x271)]);for(const _0x243fb2 of _0x41e429)_0x477352[_0x5762e2(0x28a)](..._0x243fb2[_0x5762e2(0x262)]());return _0x318a29(_0x51b2a8[_0x5762e2(0x1fd)],_0x477352);},'type':()=>_0x5df97c(0x28d)+_0x4a0016[_0x5df97c(0x20f)][_0x5df97c(0x240)]}),_0x5dbce9[_0x5df97c(0x224)](_0x25b6e6,_0x2a855d),_0x5ec6d5[_0x5df97c(0x26a)](_0x2a855d),_0x44c415[_0x5df97c(0x251)](_0x2a855d);}[_0x4c4dd(0x1e7)](_0x2635c4){const _0x5ce008=_0x4c4dd,_0x237ae1=this[_0x5ce008(0x1e4)][_0x5ce008(0x281)][_0x5ce008(0x23f)](_0x5ce008(0x202)),_0x58ad60=this[_0x5ce008(0x1e4)][_0x5ce008(0x281)][_0x5ce008(0x23f)](_0x5ce008(0x22f)),_0x2d7b62=this[_0x5ce008(0x209)][_0x5ce008(0x23f)](_0x2635c4),_0x32c3b4=_0x2d7b62[_0x5ce008(0x20f)],_0x4f3a62=_0x58ad60[_0x5ce008(0x211)](_0x32c3b4);_0x237ae1[_0x5ce008(0x266)](_0x32c3b4),_0x4f3a62&&_0x58ad60[_0x5ce008(0x269)](_0x4f3a62),this[_0x5ce008(0x209)][_0x5ce008(0x214)](_0x2635c4),this[_0x5ce008(0x223)][_0x5ce008(0x214)](_0x32c3b4),_0x2d7b62[_0x5ce008(0x215)]();}[_0x4c4dd(0x268)](_0x295231){const _0x1914e7=_0x4c4dd;if(!_0x295231[_0x1914e7(0x271)]||!this[_0x1914e7(0x209)][_0x1914e7(0x279)](_0x295231))return;const _0x440325=this[_0x1914e7(0x1e4)][_0x1914e7(0x281)][_0x1914e7(0x23f)](_0x1914e7(0x226)),_0x2e6bfd=this[_0x1914e7(0x209)][_0x1914e7(0x23f)](_0x295231),_0x15a870=_0x295231[_0x1914e7(0x25b)]();_0x2e6bfd[_0x1914e7(0x20f)][_0x1914e7(0x1ef)]=_0x440325[_0x1914e7(0x1e5)][_0x1914e7(0x243)](_0x15a870);}[_0x4c4dd(0x215)](){const _0x51d23b=_0x4c4dd;for(const _0x18e247 of this[_0x51d23b(0x209)][_0x51d23b(0x261)]())this[_0x51d23b(0x1e7)](_0x18e247);for(const _0x59615a of this[_0x51d23b(0x253)][_0x51d23b(0x275)]())_0x59615a[_0x51d23b(0x20a)][_0x51d23b(0x215)]();super[_0x51d23b(0x215)](),this[_0x51d23b(0x220)]&&clearInterval(this[_0x51d23b(0x220)]);}}function ke(_0x55e102){const _0x24ffe3=_0x4c4dd;return _0x24ffe3(0x25e)in _0x55e102;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x108af2=_0x2e09;function _0x4867(){const _0x9e3b46=['2473083qOhjGM','285966EfybPF','remove','_removePendingAction','_discardCommand','get','PENDING_ACTION_SUGGESTION','destroy','getRanges','isDirty','_pendingAction','698145xFiTzI','view','69097DwUQzD','model','plugins','discardSuggestion','6966744JDDomv','69BypxHG','unbind','locale','add','isEnabled','execute','acceptSuggestion','canDiscard','commentThreadController','PendingActions','_acceptCommand','canAccept','_editor','bind','change:isDirty','52326dJbEYi','504AKXDEC','_setPendingAction','80UMIekD','7257410cLGtav','stopListening','canEditAt','listenTo','commands'];_0x4867=function(){return _0x9e3b46;};return _0x4867();}(function(_0x5619d4,_0x363a13){const _0x2f4bf5=_0x2e09,_0x540dc4=_0x5619d4();while(!![]){try{const _0x33a5f5=parseInt(_0x2f4bf5(0x96))/0x1+parseInt(_0x2f4bf5(0x82))/0x2*(parseInt(_0x2f4bf5(0x73))/0x3)+-parseInt(_0x2f4bf5(0x9c))/0x4+-parseInt(_0x2f4bf5(0x86))/0x5+parseInt(_0x2f4bf5(0x8c))/0x6+-parseInt(_0x2f4bf5(0x98))/0x7*(-parseInt(_0x2f4bf5(0x83))/0x8)+parseInt(_0x2f4bf5(0x8b))/0x9*(parseInt(_0x2f4bf5(0x85))/0xa);if(_0x33a5f5===_0x363a13)break;else _0x540dc4['push'](_0x540dc4['shift']());}catch(_0x46c15c){_0x540dc4['push'](_0x540dc4['shift']());}}}(_0x4867,0xededc));import{ObservableMixin as _0x2767d3}from'ckeditor5/src/utils.js';import{getTranslation as _0x488338}from'../utils/common-translations.js';function _0x2e09(_0x373ac0,_0x287af6){const _0x486702=_0x4867();return _0x2e09=function(_0x2e09b6,_0xcd777f){_0x2e09b6=_0x2e09b6-0x73;let _0x24dce9=_0x486702[_0x2e09b6];return _0x24dce9;},_0x2e09(_0x373ac0,_0x287af6);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2767d3(){[_0x108af2(0x99)];[_0x108af2(0x97)];[_0x108af2(0x7b)];[_0x108af2(0x7f)];[_0x108af2(0x7d)];[_0x108af2(0x8f)];[_0x108af2(0x95)];constructor(_0x5c0ed4,_0x23753b,_0x218862,_0x5730ff){const _0xb05a7e=_0x108af2;super(),this[_0xb05a7e(0x99)]=_0x23753b,this[_0xb05a7e(0x97)]=_0x218862,this[_0xb05a7e(0x7b)]=_0x5730ff,this[_0xb05a7e(0x7f)]=_0x5c0ed4,this[_0xb05a7e(0x7d)]=_0x5c0ed4[_0xb05a7e(0x8a)][_0xb05a7e(0x90)](_0xb05a7e(0x79)),this[_0xb05a7e(0x8f)]=_0x5c0ed4[_0xb05a7e(0x8a)][_0xb05a7e(0x90)](_0xb05a7e(0x9b)),this[_0xb05a7e(0x97)][_0xb05a7e(0x80)](_0xb05a7e(0x77))['to'](this[_0xb05a7e(0x7d)],this[_0xb05a7e(0x8f)],(_0x2ce159,_0x1741ab)=>_0x2ce159||_0x1741ab),this[_0xb05a7e(0x97)][_0xb05a7e(0x80)](_0xb05a7e(0x7e))['to'](this[_0xb05a7e(0x7d)],_0xb05a7e(0x77),_0xddc172=>_0xddc172&&this[_0xb05a7e(0x7f)][_0xb05a7e(0x99)][_0xb05a7e(0x88)](_0x23753b[_0xb05a7e(0x93)]())),this[_0xb05a7e(0x97)][_0xb05a7e(0x80)](_0xb05a7e(0x7a))['to'](this[_0xb05a7e(0x8f)],_0xb05a7e(0x77),_0x2c5e01=>_0x2c5e01&&this[_0xb05a7e(0x7f)][_0xb05a7e(0x99)][_0xb05a7e(0x88)](_0x23753b[_0xb05a7e(0x93)]())),this[_0xb05a7e(0x95)]=null,_0x218862[_0xb05a7e(0x94)]&&this[_0xb05a7e(0x84)](),this[_0xb05a7e(0x89)](_0x218862,_0xb05a7e(0x79),()=>this[_0xb05a7e(0x79)]()),this[_0xb05a7e(0x89)](_0x218862,_0xb05a7e(0x9b),()=>this[_0xb05a7e(0x9b)]()),this[_0xb05a7e(0x89)](_0x218862,_0xb05a7e(0x81),()=>{const _0x37cfee=_0xb05a7e;_0x218862[_0x37cfee(0x94)]?this[_0x37cfee(0x84)]():this[_0x37cfee(0x8e)]();});}[_0x108af2(0x79)](){const _0x5d81ec=_0x108af2;this[_0x5d81ec(0x7d)][_0x5d81ec(0x78)](this[_0x5d81ec(0x99)]['id']);}[_0x108af2(0x9b)](){const _0x4bc413=_0x108af2;this[_0x4bc413(0x8f)][_0x4bc413(0x78)](this[_0x4bc413(0x99)]['id']);}[_0x108af2(0x92)](){const _0x2fa494=_0x108af2;this[_0x2fa494(0x97)][_0x2fa494(0x74)](_0x2fa494(0x77)),this[_0x2fa494(0x97)][_0x2fa494(0x74)](_0x2fa494(0x7e)),this[_0x2fa494(0x97)][_0x2fa494(0x74)](_0x2fa494(0x7a)),this[_0x2fa494(0x87)](),this[_0x2fa494(0x7b)][_0x2fa494(0x92)](),this[_0x2fa494(0x95)]&&this[_0x2fa494(0x8e)]();}[_0x108af2(0x84)](){const _0x36e618=_0x108af2,_0x3ae970=_0x488338(this[_0x36e618(0x7f)][_0x36e618(0x75)],_0x36e618(0x91));this[_0x36e618(0x95)]=this[_0x36e618(0x7f)][_0x36e618(0x9a)][_0x36e618(0x90)](_0x36e618(0x7c))[_0x36e618(0x76)](_0x3ae970);}[_0x108af2(0x8e)](){const _0x848338=_0x108af2;null!==this[_0x848338(0x95)]&&this[_0x848338(0x7f)][_0x848338(0x9a)][_0x848338(0x90)](_0x848338(0x7c))[_0x848338(0x8d)](this[_0x848338(0x95)]),this[_0x848338(0x95)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x551251=_0x5abb;(function(_0xfcc7d6,_0x1c9b38){const _0x1dd6e9=_0x5abb,_0x44f24c=_0xfcc7d6();while(!![]){try{const _0x235dc5=parseInt(_0x1dd6e9(0x113))/0x1+-parseInt(_0x1dd6e9(0xfc))/0x2*(-parseInt(_0x1dd6e9(0x123))/0x3)+parseInt(_0x1dd6e9(0x100))/0x4*(parseInt(_0x1dd6e9(0x101))/0x5)+-parseInt(_0x1dd6e9(0x136))/0x6*(-parseInt(_0x1dd6e9(0x126))/0x7)+parseInt(_0x1dd6e9(0x112))/0x8*(-parseInt(_0x1dd6e9(0x10a))/0x9)+-parseInt(_0x1dd6e9(0xef))/0xa*(-parseInt(_0x1dd6e9(0xff))/0xb)+-parseInt(_0x1dd6e9(0x134))/0xc*(parseInt(_0x1dd6e9(0x105))/0xd);if(_0x235dc5===_0x1c9b38)break;else _0x44f24c['push'](_0x44f24c['shift']());}catch(_0x42d64f){_0x44f24c['push'](_0x44f24c['shift']());}}}(_0x55db,0x81085));import{FocusCycler as _0xf1825c,View as _0x322be4,ViewCollection as _0x4f1b50}from'ckeditor5/src/ui.js';function _0x5abb(_0x1daf72,_0x45b7c6){const _0x55dbaf=_0x55db();return _0x5abb=function(_0x5abbe4,_0x2d2efb){_0x5abbe4=_0x5abbe4-0xef;let _0x4b986b=_0x55dbaf[_0x5abbe4];return _0x4b986b;},_0x5abb(_0x1daf72,_0x45b7c6);}import{FocusTracker as _0x22805a,KeystrokeHandler as _0x3a4052}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x154ef9,setupThreadKeyboardNavigation as _0x5b688f}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x1347f4}from'../../utils/common-translations.js';import{renderDescription as _0x5f0a2c}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x322be4{[_0x551251(0xfa)];[_0x551251(0x11e)];[_0x551251(0xf9)];[_0x551251(0x10e)];[_0x551251(0xfd)];[_0x551251(0x12f)];[_0x551251(0x11b)];[_0x551251(0x11a)];[_0x551251(0xf3)];[_0x551251(0x127)];constructor(_0x5d1a85,_0xcf28ac,_0x22f08d,_0x1895c2){const _0x14a56d=_0x551251;super(_0x5d1a85),this[_0x14a56d(0xfa)]=null,this[_0x14a56d(0x11e)]=null,this[_0x14a56d(0xf9)]=new _0x154ef9(_0x5d1a85,_0x1347f4(_0x5d1a85,_0x14a56d(0xf7))),this[_0x14a56d(0x111)](_0x14a56d(0x108),!0x1),this[_0x14a56d(0x111)](_0x14a56d(0x114),_0xcf28ac[_0x14a56d(0x114)]),this[_0x14a56d(0x116)](_0x14a56d(0x114))['to'](_0xcf28ac),this[_0x14a56d(0x111)](_0x14a56d(0x107),[]),this[_0x14a56d(0x111)](_0x14a56d(0x12a),!0x1),this[_0x14a56d(0x111)](_0x14a56d(0x12d),!0x1),this[_0x14a56d(0x111)](_0x14a56d(0x119),!0x1),this[_0x14a56d(0x111)](_0x14a56d(0xfe),!0x1),this[_0x14a56d(0x116)](_0x14a56d(0x115))['to'](this,_0x14a56d(0x118),_0xcf28ac,_0x14a56d(0x114),this,_0x14a56d(0x107),(_0x3c7f72,_0x3a9cc4,_0x595115)=>{const _0x5b00f7=_0x14a56d,_0x24cc3f=_0x595115[_0x5b00f7(0x125)](_0x5ab3c6=>_0x5f0a2c(_0x5ab3c6[_0x5b00f7(0x139)]))[_0x5b00f7(0x135)]('.\x20')+'.';return _0x1347f4(this[_0x5b00f7(0x132)],_0x5b00f7(0x10b),[_0x3c7f72-0x1,_0xcf28ac[_0x5b00f7(0xf4)][_0x5b00f7(0xf6)],_0x3a9cc4?_0x1895c2[_0x5b00f7(0x11c)](_0x3a9cc4):'',new DOMParser()[_0x5b00f7(0x12c)](_0x24cc3f,_0x5b00f7(0xf2))[_0x5b00f7(0x122)][_0x5b00f7(0x110)]]);}),this[_0x14a56d(0x10e)]=new _0x4f1b50(),this[_0x14a56d(0xfd)]=new _0x22805a(),this[_0x14a56d(0x12f)]=new _0x3a4052(),this[_0x14a56d(0x11b)]=new _0xf1825c({'focusables':this[_0x14a56d(0x10e)],'focusTracker':this[_0x14a56d(0xfd)],'keystrokeHandler':this[_0x14a56d(0x12f)],'keystrokeHandlerOptions':{'filter':_0x3b9b98=>_0x3b9b98[_0x14a56d(0x109)]!==this[_0x14a56d(0x104)]},'actions':{'focusPrevious':_0x14a56d(0x102),'focusNext':_0x14a56d(0x133)}}),this[_0x14a56d(0x11a)]=_0xcf28ac,this[_0x14a56d(0xf3)]=_0x22f08d,this[_0x14a56d(0x127)]=_0x1895c2,_0x1895c2[_0x14a56d(0x13a)]?this[_0x14a56d(0x111)](_0x14a56d(0x118),0x1):this[_0x14a56d(0x106)]();}[_0x551251(0x10c)](){const _0x24ad0a=_0x551251;super[_0x24ad0a(0x10c)](),_0x5b688f(this,this[_0x24ad0a(0x10e)]);}[_0x551251(0xf1)](){const _0x22fc48=_0x551251;this[_0x22fc48(0x104)][_0x22fc48(0xf1)]();}[_0x551251(0x120)](){const _0xf1bbbf=_0x551251;this[_0xf1bbbf(0xfa)]&&this[_0xf1bbbf(0xfa)][_0xf1bbbf(0x120)](),this[_0xf1bbbf(0x11e)]&&this[_0xf1bbbf(0x11e)][_0xf1bbbf(0x120)](),super[_0xf1bbbf(0x120)]();}[_0x551251(0x106)](){const _0x4e59aa=_0x551251,{CommentsListView:_0x25bf47}=this[_0x4e59aa(0x127)];this[_0x4e59aa(0xfa)]=new _0x25bf47(this[_0x4e59aa(0x132)],this[_0x4e59aa(0x11a)][_0x4e59aa(0x138)],Object[_0x4e59aa(0x12b)]({'CommentView':this[_0x4e59aa(0x127)][_0x4e59aa(0x12e)]},this[_0x4e59aa(0x127)])),this[_0x4e59aa(0xfa)][_0x4e59aa(0x124)](_0x4e59aa(0xf8))['to'](this),this[_0x4e59aa(0xfa)][_0x4e59aa(0x124)](_0x4e59aa(0x129))['to'](this),this[_0x4e59aa(0xfa)][_0x4e59aa(0x116)](_0x4e59aa(0x108))['to'](this),this[_0x4e59aa(0x111)](_0x4e59aa(0x118),this[_0x4e59aa(0xfa)][_0x4e59aa(0x118)]+0x1),this[_0x4e59aa(0x116)](_0x4e59aa(0x118))['to'](this[_0x4e59aa(0xfa)],_0x4e59aa(0x118),_0x451ab3=>_0x451ab3+0x1),this[_0x4e59aa(0x11e)]=this[_0x4e59aa(0xf5)](),this['on'](_0x4e59aa(0xf8),()=>this[_0x4e59aa(0xf1)]()),this[_0x4e59aa(0x116)](_0x4e59aa(0x12a))['to'](this[_0x4e59aa(0xfa)],_0x4e59aa(0x121),this[_0x4e59aa(0x11e)][_0x4e59aa(0xfb)],_0x4e59aa(0x10d),(_0x4cf20e,_0x10804b)=>_0x4cf20e||!!_0x10804b);}[_0x551251(0xf5)](){const _0x25e828=_0x551251,{CommentThreadInputView:_0x2188ff}=this[_0x25e828(0x127)],_0x21559a=new _0x2188ff(this[_0x25e828(0x132)],this[_0x25e828(0xf3)],this[_0x25e828(0x127)][_0x25e828(0x11f)]),_0xd6a09d=_0x21559a[_0x25e828(0xfb)];return _0x21559a[_0x25e828(0x116)](_0x25e828(0x11d))['to'](this,_0x25e828(0x108),this[_0x25e828(0x11a)][_0x25e828(0x138)],_0x25e828(0xf0),_0xd6a09d,_0x25e828(0x10d),(_0x3c5bb4,_0x6e8cf6,_0x5e5b09)=>!!_0x5e5b09||_0x3c5bb4&&!_0x6e8cf6),_0xd6a09d['on'](_0x25e828(0x10f),(_0x449e87,_0x5006f7)=>{const _0x475362=_0x25e828;this[_0x475362(0x137)](_0x475362(0x103),_0x5006f7),_0xd6a09d[_0x475362(0x128)][_0x475362(0x131)]('');}),_0xd6a09d['on'](_0x25e828(0x117),()=>this[_0x25e828(0xf1)]()),_0xd6a09d[_0x25e828(0x116)](_0x25e828(0x130))['to'](this[_0x25e828(0x11a)][_0x25e828(0x138)],_0x25e828(0xf0)),_0x21559a;}}function _0x55db(){const _0x1fda72=['name','SUGGESTION_THREAD_DESCRIPTION','removeComment','ariaDescriptionView','commentsListView','commentInputView','6tOwrJJ','focusTracker','canDiscard','2574JMbOjN','164NjVViM','40025IYYJFN','shift+tab','addComment','element','2654457RVxHUI','_createCommentViews','descriptionParts','isActive','target','6309945QFVlQg','SUGGESTION_THREAD_ARIA_LABEL','render','value','focusables','submit','textContent','set','8flxDfN','727293QmaVRS','authoredAt','ariaLabel','bind','cancel','length','canAccept','_model','focusCycler','formatDateTime','showInput','commentThreadInputView','editorConfig','destroy','hasDirtyComment','body','415731KpbMyl','delegate','map','2583875DnunYn','_config','editor','updateComment','isDirty','assign','parseFromString','isEnabled','CommentView','keystrokes','disabledSubmit','setData','locale','tab','108HoBWwc','join','12AnCuDa','fire','commentThread','content','disableComments','36660BJjXgu','isReadOnly','focus','text/html','_localUser','author','_createCommentThreadInputView'];_0x55db=function(){return _0x1fda72;};return _0x55db();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22a93c=_0x94f3;(function(_0x2c67ff,_0xa2ffaf){const _0x200e97=_0x94f3,_0x3c8ad0=_0x2c67ff();while(!![]){try{const _0x6e6b30=parseInt(_0x200e97(0x1b9))/0x1+-parseInt(_0x200e97(0x1b1))/0x2+-parseInt(_0x200e97(0x1c8))/0x3*(-parseInt(_0x200e97(0x1c6))/0x4)+-parseInt(_0x200e97(0x1c4))/0x5+-parseInt(_0x200e97(0x1a6))/0x6+-parseInt(_0x200e97(0x1d3))/0x7+parseInt(_0x200e97(0x1c7))/0x8;if(_0x6e6b30===_0xa2ffaf)break;else _0x3c8ad0['push'](_0x3c8ad0['shift']());}catch(_0x569558){_0x3c8ad0['push'](_0x3c8ad0['shift']());}}}(_0x4436,0x18ea0));import{BaseSuggestionThreadView as _0x12d5ea}from'./basesuggestionthreadview.js';import{trimHtml as _0x22ab45}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x94f3(_0x56318c,_0x2eabbd){const _0x44360d=_0x4436();return _0x94f3=function(_0x94f3a5,_0x450b33){_0x94f3a5=_0x94f3a5-0x1a0;let _0x21e337=_0x44360d[_0x94f3a5];return _0x21e337;},_0x94f3(_0x56318c,_0x2eabbd);}import{renderDescription as _0x3fabea}from'../../utils/utils.js';export class SuggestionThreadView extends _0x12d5ea{[_0x22a93c(0x1ac)];[_0x22a93c(0x1d0)];constructor(_0x364a33,_0x292383,_0x3ef52d,_0x315b42){const _0x3ab103=_0x22a93c;super(_0x364a33,_0x292383,_0x3ef52d,_0x315b42),this[_0x3ab103(0x1bf)](_0x3ab103(0x1d5),''),this[_0x3ab103(0x1cf)](_0x3ab103(0x1d5))['to'](this,_0x3ab103(0x1af),_0x1f5d36=>_0x1f5d36&&_0x1f5d36[0x0]?_0x1f5d36[0x0][_0x3ab103(0x1d5)]:''),this[_0x3ab103(0x1cf)](_0x3ab103(0x1be))['to'](this,_0x3ab103(0x1af),this,_0x3ab103(0x1c2),(_0x222441,_0x59a1ed)=>{const _0x1473f7=_0x3ab103;let _0x22d320='';for(const _0x1571c2 of _0x222441)_0x22d320+=_0x1473f7(0x1d4)+_0x3fabea(_0x1571c2[_0x1473f7(0x1d1)],_0x1571c2[_0x1473f7(0x1cd)])+_0x1473f7(0x1a4);return _0x59a1ed?_0x22d320:_0x22ab45(_0x22d320,{'limit':0x8c});}),this[_0x3ab103(0x1d0)]=null,this[_0x3ab103(0x1ac)]=new _0x315b42[(_0x3ab103(0x1ba))](_0x364a33,_0x292383,{'formatDateTime':_0x315b42[_0x3ab103(0x1b2)]}),this[_0x3ab103(0x1ac)][_0x3ab103(0x1cf)](_0x3ab103(0x1be))['to'](this),this[_0x3ab103(0x1ac)][_0x3ab103(0x1c1)](_0x3ab103(0x1a1),_0x3ab103(0x1b5))['to'](this),this[_0x3ab103(0x1ac)][_0x3ab103(0x1a7)][_0x3ab103(0x1cf)](_0x3ab103(0x1bb))['to'](this,_0x3ab103(0x1ae)),this[_0x3ab103(0x1ac)][_0x3ab103(0x1cc)][_0x3ab103(0x1cf)](_0x3ab103(0x1bb))['to'](this,_0x3ab103(0x1ce)),this[_0x3ab103(0x1a8)][_0x3ab103(0x1aa)](this[_0x3ab103(0x1ac)]),this[_0x3ab103(0x1b4)]&&this[_0x3ab103(0x1a8)][_0x3ab103(0x1aa)](this[_0x3ab103(0x1b4)]),this[_0x3ab103(0x1bc)]&&this[_0x3ab103(0x1a8)][_0x3ab103(0x1aa)](this[_0x3ab103(0x1bc)]),this[_0x3ab103(0x1a0)](this[_0x3ab103(0x1b8)]());}[_0x22a93c(0x1b8)](){const _0x4f3cd9=_0x22a93c,_0x4b001c=this[_0x4f3cd9(0x1ca)],_0x140d8b=[this[_0x4f3cd9(0x1ac)]];return this[_0x4f3cd9(0x1b4)]&&_0x140d8b[_0x4f3cd9(0x1b0)](this[_0x4f3cd9(0x1b4)]),this[_0x4f3cd9(0x1bc)]&&_0x140d8b[_0x4f3cd9(0x1b0)](this[_0x4f3cd9(0x1bc)]),_0x140d8b[_0x4f3cd9(0x1b0)](this[_0x4f3cd9(0x1c3)]),{'tag':_0x4f3cd9(0x1b6),'attributes':{'class':['ck',_0x4f3cd9(0x1c0),_0x4f3cd9(0x1c9),_0x4b001c['if'](_0x4f3cd9(0x1c2),_0x4f3cd9(0x1cb)),_0x4b001c['to'](_0x4f3cd9(0x1d5),_0x5b8dca=>_0x4f3cd9(0x1a3)+_0x5b8dca),this[_0x4f3cd9(0x1b7)][_0x4f3cd9(0x1d6)]&&_0x4f3cd9(0x1ad)],'data-suggestion-id':this[_0x4f3cd9(0x1b3)]['id'],'data-thread-id':this[_0x4f3cd9(0x1b3)][_0x4f3cd9(0x1a2)]['id'],'data-author-id':this[_0x4f3cd9(0x1b3)][_0x4f3cd9(0x1a5)]['id'],'tabindex':0x0,'role':_0x4f3cd9(0x1bd),'aria-label':_0x4b001c['to'](_0x4f3cd9(0x1a9)),'aria-describedby':this[_0x4f3cd9(0x1c3)]['id']},'children':_0x140d8b};}[_0x22a93c(0x1d2)](){const _0x47c88a=_0x22a93c;super[_0x47c88a(0x1d2)](),this[_0x47c88a(0x1b4)]&&(this[_0x47c88a(0x1b4)][_0x47c88a(0x1c1)](_0x47c88a(0x1ab))['to'](this),this[_0x47c88a(0x1b4)][_0x47c88a(0x1c1)](_0x47c88a(0x1c5))['to'](this)),this[_0x47c88a(0x1bc)]&&(this[_0x47c88a(0x1bc)][_0x47c88a(0x1c1)](_0x47c88a(0x1ab))['to'](this),this[_0x47c88a(0x1bc)][_0x47c88a(0x1c1)](_0x47c88a(0x1c5))['to'](this));}}function _0x4436(){const _0x1382fd=['formatDateTime','_model','commentsListView','discardSuggestion','div','_config','getTemplate','161291mzSzJm','SuggestionView','isEnabled','commentThreadInputView','listitem','description','set','ck-rounded-corners','delegate','isActive','ariaDescriptionView','487575htThAM','editorDestroyed','12zvuAyc','1766440KRnwWI','154293hypbYB','ck-suggestion-wrapper','bindTemplate','ck-suggestion-wrapper--active','discardButton','color','canDiscard','bind','_descriptionElement','content','render','1211805idYpLK','<p>','type','disableComments','setTemplate','acceptSuggestion','commentThread','ck-suggestion-','</p>','author','815406wkIgHg','acceptButton','focusables','ariaLabel','add','editorReady','suggestionView','ck-suggestion--disabled-comments','canAccept','descriptionParts','push','55620CKUCcm'];_0x4436=function(){return _0x1382fd;};return _0x4436();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3a812c=_0x16f4;function _0x16f4(_0xd3af46,_0x2573b2){const _0x5022a4=_0x5022();return _0x16f4=function(_0x16f41b,_0x34d8dc){_0x16f41b=_0x16f41b-0x157;let _0x50cc99=_0x5022a4[_0x16f41b];return _0x50cc99;},_0x16f4(_0xd3af46,_0x2573b2);}(function(_0x147b0e,_0x106dda){const _0x48517e=_0x16f4,_0x4fc354=_0x147b0e();while(!![]){try{const _0x10e98a=-parseInt(_0x48517e(0x189))/0x1*(-parseInt(_0x48517e(0x1a7))/0x2)+-parseInt(_0x48517e(0x19b))/0x3+parseInt(_0x48517e(0x162))/0x4+parseInt(_0x48517e(0x16f))/0x5+parseInt(_0x48517e(0x196))/0x6+parseInt(_0x48517e(0x167))/0x7+-parseInt(_0x48517e(0x16a))/0x8;if(_0x10e98a===_0x106dda)break;else _0x4fc354['push'](_0x4fc354['shift']());}catch(_0x64489){_0x4fc354['push'](_0x4fc354['shift']());}}}(_0x5022,0xe8f3c));function _0x5022(){const _0x4c14ee=['5948593cXizoq','innerHTML','description','15288624sozfAr','creator','set','keystrokes','ck-annotation__actions','1433440nBxFXN','ck-comment__external','Discard\x20suggestion','esc','getUserViewNotificationText','ck-suggestion__actions','ck-suggestion','push','EXTERNAL_IMPORT_WORD_SUGGESTION','focusFirst','acceptSuggestion','listenTo','bindTemplate','acceptButton','discardSuggestion','ck-annotation__info-name','importWord','querySelector','@external','getTemplate','focusTracker','ck-suggestion--discard','getExternalSuggestionNote','ck-suggestion__info','userView','focusables','387559VXJeEx','time','focusCycler','target','span','locale','bind','Accept\x20suggestion','tab','_config','ck-annotation__info-time','shift+tab','extendTemplate','5635590SfTEBZ','formatDateTime','element','ck-annotation','ck-annotation__user','3022842RlRKtE','EXTERNAL_SUGGESTION','enter','ck-suggestion__user','authoredAt','fire','ck-suggestion__main','presentation','change:description','ck-comment__info-time','ck-suggestion__info-name','div','2WVYARi','author','_createButton','ck-annotation__main','focus','setTemplate','_model','ck-annotation__content-wrapper','attributes','render','ck-suggestion--accept','add','discardButton','isExternal','EXTERNAL_AVATAR','name','ck-annotation__info','.ck-annotation__content-wrapper','5638212COwUHO','_setupKeyboardNavigation','EXTERNAL_IMPORT_WORD_AVATAR','execute','source'];_0x5022=function(){return _0x4c14ee;};return _0x5022();}import{FocusTracker as _0x25c5bc,KeystrokeHandler as _0x53ad6d}from'ckeditor5/src/utils.js';import{View as _0x453148,ViewCollection as _0x2d1d03,FocusCycler as _0x3384eb}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x190053,UserView as _0x56afcf}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x375228,IconCheck as _0x391490}from'ckeditor5/src/icons.js';import{getTranslation as _0x4f9ef6}from'../../utils/common-translations.js';export class SuggestionView extends _0x453148{[_0x3a812c(0x187)];[_0x3a812c(0x17c)];[_0x3a812c(0x15c)];[_0x3a812c(0x188)];[_0x3a812c(0x183)];[_0x3a812c(0x16d)];[_0x3a812c(0x18b)];[_0x3a812c(0x1ad)];[_0x3a812c(0x192)];constructor(_0xd07855,_0x56280b,_0x44bd95){const _0xb497d1=_0x3a812c;super(_0xd07855),this[_0xb497d1(0x1ad)]=_0x56280b,this[_0xb497d1(0x192)]=_0x44bd95,this[_0xb497d1(0x16c)](_0xb497d1(0x169),''),this[_0xb497d1(0x18f)](_0xb497d1(0x19f))['to'](_0x56280b),this[_0xb497d1(0x17c)]=this[_0xb497d1(0x1a9)](_0x4f9ef6(_0xd07855,_0xb497d1(0x190)),_0x391490,_0xb497d1(0x15a),_0xb497d1(0x179),'sw'),this[_0xb497d1(0x15c)]=this[_0xb497d1(0x1a9)](_0x4f9ef6(_0xd07855,_0xb497d1(0x171)),_0x375228,_0xb497d1(0x184),_0xb497d1(0x17d),'sw'),this[_0xb497d1(0x187)]=new _0x56afcf(_0xd07855,_0x56280b[_0xb497d1(0x1a8)],this[_0xb497d1(0x173)]()),this[_0xb497d1(0x187)][_0xb497d1(0x195)]({'attributes':{'class':[_0xb497d1(0x19e),_0xb497d1(0x19a)],'aria-hidden':!0x0}}),this[_0xb497d1(0x188)]=new _0x2d1d03([this[_0xb497d1(0x17c)],this[_0xb497d1(0x15c)]]),this[_0xb497d1(0x183)]=new _0x25c5bc(),this[_0xb497d1(0x16d)]=new _0x53ad6d(),this[_0xb497d1(0x18b)]=new _0x3384eb({'focusables':this[_0xb497d1(0x188)],'focusTracker':this[_0xb497d1(0x183)],'keystrokeHandler':this[_0xb497d1(0x16d)],'actions':{'focusPrevious':_0xb497d1(0x194),'focusNext':_0xb497d1(0x191)},'keystrokeHandlerOptions':{'filter':_0x5d9d95=>_0x5d9d95[_0xb497d1(0x18c)]!==this[_0xb497d1(0x198)]}}),this[_0xb497d1(0x1ac)](this[_0xb497d1(0x182)]());}[_0x3a812c(0x159)](){const _0x32b7d2=_0x3a812c;super[_0x32b7d2(0x159)]();const _0x233f39=this[_0x32b7d2(0x198)][_0x32b7d2(0x180)](_0x32b7d2(0x161));_0x233f39[_0x32b7d2(0x168)]=this[_0x32b7d2(0x169)],this['on'](_0x32b7d2(0x1a3),(_0x54f364,_0x2fe898,_0x2a2460)=>{const _0x310201=_0x32b7d2;_0x233f39[_0x310201(0x168)]=_0x2a2460;}),this[_0x32b7d2(0x163)]();}[_0x3a812c(0x182)](){const _0x55f039=_0x3a812c,_0x720c30=this[_0x55f039(0x17b)],_0x112866=[{'tag':_0x55f039(0x1a6),'attributes':{'class':[_0x55f039(0x186),_0x55f039(0x160)]},'children':[{'tag':_0x55f039(0x18d),'children':[{'text':this[_0x55f039(0x187)][_0x55f039(0x15f)]}],'attributes':{'class':[_0x55f039(0x1a5),_0x55f039(0x17e)],'data-cke-tooltip-text':this[_0x55f039(0x187)][_0x55f039(0x15f)]}},{'tag':_0x55f039(0x18a),'attributes':{'datetime':_0x720c30['to'](_0x55f039(0x19f)),'class':[_0x55f039(0x1a4),_0x55f039(0x193)]},'children':[{'text':_0x720c30['to'](_0x55f039(0x19f),_0x59e7e3=>this[_0x55f039(0x192)][_0x55f039(0x197)](_0x59e7e3))}]}]},{'tag':_0x55f039(0x1a6),'attributes':{'class':[_0x55f039(0x174),_0x55f039(0x16e)]},'children':[this[_0x55f039(0x17c)],this[_0x55f039(0x15c)]]},{'tag':_0x55f039(0x1a6),'attributes':{'class':[_0x55f039(0x157)]}}];return this[_0x55f039(0x1ad)][_0x55f039(0x15d)]&&_0x112866[_0x55f039(0x176)]({'tag':_0x55f039(0x1a6),'attributes':{'class':[_0x55f039(0x170)]},'children':[{'text':this[_0x55f039(0x185)]()}]}),{'tag':_0x55f039(0x1a6),'attributes':{'class':[_0x55f039(0x175),_0x55f039(0x199)],'tabindex':-0x1},'children':[this[_0x55f039(0x187)],{'tag':_0x55f039(0x1a6),'attributes':{'class':[_0x55f039(0x1a1),_0x55f039(0x1aa)],'role':_0x55f039(0x1a2)},'children':_0x112866}]};}[_0x3a812c(0x1ab)](){const _0x1bb581=_0x3a812c;this[_0x1bb581(0x198)][_0x1bb581(0x1ab)]();}[_0x3a812c(0x173)](){const _0x476784=_0x3a812c;return this[_0x476784(0x1ad)][_0x476784(0x15d)]?_0x476784(0x17f)===this[_0x476784(0x1ad)][_0x476784(0x158)][_0x476784(0x181)][_0x476784(0x166)]?_0x4f9ef6(this[_0x476784(0x18e)],_0x476784(0x164),this[_0x476784(0x1ad)][_0x476784(0x16b)][_0x476784(0x15f)]):_0x4f9ef6(this[_0x476784(0x18e)],_0x476784(0x15e),this[_0x476784(0x1ad)][_0x476784(0x16b)][_0x476784(0x15f)]):null;}[_0x3a812c(0x185)](){const _0x2350b2=_0x3a812c;return _0x2350b2(0x17f)===this[_0x2350b2(0x1ad)][_0x2350b2(0x158)][_0x2350b2(0x181)][_0x2350b2(0x166)]?_0x4f9ef6(this[_0x2350b2(0x18e)],_0x2350b2(0x177)):_0x4f9ef6(this[_0x2350b2(0x18e)],_0x2350b2(0x19c));}[_0x3a812c(0x1a9)](_0x1ddfba,_0x223c26,_0x4e4a21,_0x2518b6,_0x1623bf){const _0xc46865=_0x3a812c,_0x4053f2=new _0x190053(this[_0xc46865(0x18e)]);return _0x4053f2[_0xc46865(0x16c)]({'label':_0x1ddfba,'icon':_0x223c26,'tooltip':!0x0,'tooltipPosition':_0x1623bf}),_0x4053f2[_0xc46865(0x195)]({'attributes':{'class':_0x4e4a21}}),_0x4053f2['on'](_0xc46865(0x165),()=>{const _0x5698b4=_0xc46865;this[_0x5698b4(0x1a0)](_0x2518b6,this[_0x5698b4(0x1ad)]['id']);}),_0x4053f2;}[_0x3a812c(0x163)](){const _0x1c9304=_0x3a812c,_0x3f94f1=this[_0x1c9304(0x198)];this[_0x1c9304(0x16d)][_0x1c9304(0x17a)](_0x3f94f1);for(const _0x2f239a of this[_0x1c9304(0x188)])this[_0x1c9304(0x183)][_0x1c9304(0x15b)](_0x2f239a[_0x1c9304(0x198)]),this[_0x1c9304(0x16d)][_0x1c9304(0x17a)](_0x2f239a[_0x1c9304(0x198)]);this[_0x1c9304(0x16d)][_0x1c9304(0x16c)](_0x1c9304(0x19d),(_0x4e0db9,_0x348a0d)=>{const _0xc60e7=_0x1c9304;_0x3f94f1===_0x4e0db9[_0xc60e7(0x18c)]&&(this[_0xc60e7(0x18b)][_0xc60e7(0x178)](),_0x348a0d());}),this[_0x1c9304(0x16d)][_0x1c9304(0x16c)](_0x1c9304(0x172),(_0x3c1aeb,_0x417bde)=>{const _0x7aeb5b=_0x1c9304;_0x3f94f1!==_0x3c1aeb[_0x7aeb5b(0x18c)]&&(this[_0x7aeb5b(0x1ab)](),_0x417bde());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1c64(_0x2fff7f,_0x4226ec){const _0x248294=_0x2482();return _0x1c64=function(_0x1c64ec,_0x3d46b2){_0x1c64ec=_0x1c64ec-0xe1;let _0x1c883f=_0x248294[_0x1c64ec];return _0x1c883f;},_0x1c64(_0x2fff7f,_0x4226ec);}const _0x60ec32=_0x1c64;function _0x2482(){const _0x565053=['height','render','style','656440boMXvq','setPreviewData','focus','\x20ck-track-changes-preview__root-container','options','ck-reset','8KWTNfl','4048mbTlma','4612202JKahVa','11390fqtifv','push','setAttribute','2560077mkBliu','element','content','11dyKODL','div','44722qPigpO','data-ck-root-name','setTemplate','14332383LmNvTR','23262ECyQLr','className','innerHTML','ck-track-changes-preview','createElement','dialogRects','355OKBAHT','fire','width','previewDataReady','classes'];_0x2482=function(){return _0x565053;};return _0x2482();}(function(_0xebfcdb,_0x12432c){const _0x5021ec=_0x1c64,_0x301741=_0xebfcdb();while(!![]){try{const _0x12c88e=-parseInt(_0x5021ec(0xf6))/0x1*(parseInt(_0x5021ec(0xf8))/0x2)+-parseInt(_0x5021ec(0xf3))/0x3+-parseInt(_0x5021ec(0xe7))/0x4+parseInt(_0x5021ec(0x102))/0x5*(parseInt(_0x5021ec(0xfc))/0x6)+parseInt(_0x5021ec(0xef))/0x7*(parseInt(_0x5021ec(0xed))/0x8)+parseInt(_0x5021ec(0xfb))/0x9+parseInt(_0x5021ec(0xf0))/0xa*(-parseInt(_0x5021ec(0xee))/0xb);if(_0x12c88e===_0x12432c)break;else _0x301741['push'](_0x301741['shift']());}catch(_0x52bb57){_0x301741['push'](_0x301741['shift']());}}}(_0x2482,0xce110));import{View as _0x392987}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x392987{[_0x60ec32(0xeb)];constructor(_0x23b59d,_0xff6374){const _0x5d3125=_0x60ec32;super(_0x23b59d),this[_0x5d3125(0xeb)]=_0xff6374,this[_0x5d3125(0xfa)]({'tag':_0x5d3125(0xf7),'attributes':{'class':['ck',_0x5d3125(0xec),_0x5d3125(0xff)],'tabindex':-0x1}});}[_0x60ec32(0xe5)](){const _0x4b1079=_0x60ec32;super[_0x4b1079(0xe5)](),this[_0x4b1079(0xf4)][_0x4b1079(0xe6)][_0x4b1079(0xe1)]=this[_0x4b1079(0xeb)][_0x4b1079(0x101)][_0x4b1079(0xe1)]+'px',this[_0x4b1079(0xf4)][_0x4b1079(0xe6)][_0x4b1079(0xe4)]=this[_0x4b1079(0xeb)][_0x4b1079(0x101)][_0x4b1079(0xe4)]+'px';}[_0x60ec32(0xe8)](_0x15914d,_0x331e25){const _0x4ca918=_0x60ec32;if(!this[_0x4ca918(0xf4)])return;const _0x35e1fe=[];for(const [_0x4b0b2c,_0x4371ef]of _0x15914d){const _0x1867f6=document[_0x4ca918(0x100)](_0x4ca918(0xf7));_0x1867f6[_0x4ca918(0xf2)](_0x4ca918(0xf9),_0x4b0b2c),_0x1867f6[_0x4ca918(0xfd)]=_0x4371ef[_0x4ca918(0xe3)]+_0x4ca918(0xea),_0x1867f6[_0x4ca918(0xfe)]=_0x4371ef[_0x4ca918(0xf5)],_0x35e1fe[_0x4ca918(0xf1)](_0x1867f6);}_0x331e25(this[_0x4ca918(0xf4)],_0x35e1fe),this[_0x4ca918(0xf4)][_0x4ca918(0xe6)][_0x4ca918(0xe4)]='',this[_0x4ca918(0x103)](_0x4ca918(0xe2));}[_0x60ec32(0xe9)](){const _0x7409d9=_0x60ec32;this[_0x7409d9(0xf4)][_0x7409d9(0xe9)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x34757d,_0x19d62c,_0x115d7a){const _0x3367d6=_0x34757d['t'],t=_0x34757d['t'];switch(_0x19d62c){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',_0x115d7a);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x115d7a);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x115d7a);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x115d7a);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x115d7a);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',_0x115d7a);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x115d7a);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',_0x115d7a);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x115d7a);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x115d7a);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x115d7a);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x115d7a);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x115d7a);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x115d7a);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x115d7a);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x115d7a);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x115d7a);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x115d7a);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x115d7a);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x115d7a);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x115d7a);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x115d7a);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x115d7a);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x115d7a);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x115d7a);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'},_0x115d7a);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x115d7a);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x115d7a);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x115d7a);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x115d7a);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x115d7a);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x115d7a);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x115d7a);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'},_0x115d7a);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x115d7a);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x115d7a);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x115d7a);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x115d7a);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'},_0x115d7a);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x115d7a);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'},_0x115d7a);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'},_0x115d7a);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x115d7a);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'},_0x115d7a);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x115d7a);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'},_0x115d7a);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x115d7a);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x115d7a);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'},_0x115d7a);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x115d7a);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 _0x3367d6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x115d7a);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3367d6({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x115d7a);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x115d7a);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'},_0x115d7a);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'},_0x115d7a);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'},_0x115d7a);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x19d62c;}}
|
|
23
|
+
export function getTranslation(_0x52de4a,_0x12f572,_0x3fd200){const _0x3275b3=_0x52de4a['t'],t=_0x52de4a['t'];switch(_0x12f572){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',_0x3fd200);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3fd200);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3fd200);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3fd200);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3fd200);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',_0x3fd200);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3fd200);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',_0x3fd200);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3fd200);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3fd200);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3fd200);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3fd200);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3fd200);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3fd200);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3fd200);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3fd200);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3fd200);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3fd200);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3fd200);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3fd200);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3fd200);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3fd200);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3fd200);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3fd200);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3fd200);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'},_0x3fd200);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3fd200);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3fd200);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3fd200);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3fd200);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3fd200);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3fd200);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3fd200);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'},_0x3fd200);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3fd200);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3fd200);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3fd200);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3fd200);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'},_0x3fd200);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3fd200);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'},_0x3fd200);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'},_0x3fd200);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3fd200);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'},_0x3fd200);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3fd200);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'},_0x3fd200);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3fd200);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3fd200);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'},_0x3fd200);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3fd200);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 _0x3275b3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3fd200);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x3275b3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3fd200);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3fd200);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'},_0x3fd200);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'},_0x3fd200);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'},_0x3fd200);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x12f572;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1b5103,_0x10c5c7){const _0x279980=_0x2239,_0x4ab00e=_0x1b5103();while(!![]){try{const _0x56adbc=-parseInt(_0x279980(0x20b))/0x1*(parseInt(_0x279980(0x20e))/0x2)+parseInt(_0x279980(0x1ff))/0x3+-parseInt(_0x279980(0x210))/0x4*(parseInt(_0x279980(0x1fa))/0x5)+parseInt(_0x279980(0x1f4))/0x6*(-parseInt(_0x279980(0x209))/0x7)+parseInt(_0x279980(0x1e8))/0x8*(-parseInt(_0x279980(0x1f3))/0x9)+parseInt(_0x279980(0x1f0))/0xa*(-parseInt(_0x279980(0x1e3))/0xb)+parseInt(_0x279980(0x1fb))/0xc;if(_0x56adbc===_0x10c5c7)break;else _0x4ab00e['push'](_0x4ab00e['shift']());}catch(_0x20ce03){_0x4ab00e['push'](_0x4ab00e['shift']());}}}(_0x218c,0xd30ea));export function normalizeDescription(_0x44c980){const _0x5b6214=_0x2239;return Array[_0x5b6214(0x204)](_0x44c980)||(_0x44c980=[_0x44c980]),_0x44c980[_0x5b6214(0x201)](_0x34e0c9=>{const _0x2cb56a=_0x5b6214,_0x510eae=_0x34e0c9[_0x2cb56a(0x20d)][_0x2cb56a(0x214)](/\*/g,''),_0x442531=_0x34e0c9[_0x2cb56a(0x206)]?_0x2cb56a(0x1ea)+_0x34e0c9[_0x2cb56a(0x206)][_0x2cb56a(0x202)]+']':'';return'['+_0x34e0c9[_0x2cb56a(0x208)]+']\x20'+_0x510eae+_0x442531;})[_0x5b6214(0x1f5)](';\x20');}export function renderDescription(_0x3d04a5,_0x41a5ab){const _0x2d5abe=_0x2239;let _0x5f247e='';return _0x5f247e+=_0x3d04a5[_0x2d5abe(0x1f9)]('*')[_0x2d5abe(0x201)]((_0x3ab21f,_0x58eee4)=>_0x58eee4%0x2!=0x0?_0x2d5abe(0x20a)+nn(_0x3ab21f)+_0x2d5abe(0x1dd):nn(_0x3ab21f))[_0x2d5abe(0x1f5)](''),_0x41a5ab&&(_0x5f247e+=_0x2d5abe(0x1f8)+_0x41a5ab[_0x2d5abe(0x202)]+_0x2d5abe(0x207)+_0x41a5ab[_0x2d5abe(0x212)]+_0x2d5abe(0x1ee)),_0x5f247e;}function nn(_0x3974fa){const _0x5b2ec8=_0x2239,_0x5560e4=document[_0x5b2ec8(0x1fe)](_0x5b2ec8(0x200));return _0x5560e4[_0x5b2ec8(0x1f7)]=_0x3974fa,_0x5560e4[_0x5b2ec8(0x211)];}export function sortSuggestions(_0xd16df5){const _0x1a21b7=_0x2239;return _0xd16df5[_0x1a21b7(0x1eb)]((_0xde0bfc,_0x28b430)=>_0x1a21b7(0x1e4)==_0xde0bfc[_0x1a21b7(0x208)]&&_0x1a21b7(0x1e4)!=_0x28b430[_0x1a21b7(0x208)]?-0x1:_0x1a21b7(0x1e4)!=_0xde0bfc[_0x1a21b7(0x208)]&&_0x1a21b7(0x1e4)==_0x28b430[_0x1a21b7(0x208)]?0x1:0x0);}export function getSelectedSuggestions(_0x5a3f46,_0x470d38){const _0x2aab20=_0x2239,_0xeb5ba=Array[_0x2aab20(0x1de)](_0x5a3f46[_0x2aab20(0x1e7)]()),_0x4dce45=new Set();for(const _0x1f120f of _0x470d38)if(_0x1f120f[_0x2aab20(0x1f2)]){for(const _0x119fa1 of _0xeb5ba)for(const _0x11b688 of _0x1f120f[_0x2aab20(0x1e7)]())(_0x119fa1[_0x2aab20(0x1e0)](_0x11b688)||_0x5a3f46[_0x2aab20(0x1e2)]&&!_0x1f120f[_0x2aab20(0x203)]&&_0x1f120f[_0x2aab20(0x1fc)]&&_0x11b688[_0x2aab20(0x1fd)][_0x2aab20(0x1ed)](_0x119fa1[_0x2aab20(0x20f)]))&&_0x4dce45[_0x2aab20(0x1e5)](_0x1f120f);}return _0x4dce45;}export function getRangesOfBlockGroups(_0x15b16d,_0x50735e){const _0x5b8925=_0x2239;let _0x257ebf,_0x2a184f=0x0;const _0x4967a5=[],_0x70cf1c=_0x50735e[_0x5b8925(0x1e9)];for(;_0x2a184f<_0x15b16d[_0x5b8925(0x1f6)];){const _0x2f2fe2=_0x15b16d[_0x2a184f],_0x1a8af0=_0x15b16d[_0x2a184f+0x1];_0x257ebf||(_0x257ebf=_0x50735e[_0x5b8925(0x1f1)](_0x2f2fe2)),on(_0x50735e,_0x2f2fe2,_0x1a8af0)||(_0x4967a5[_0x5b8925(0x213)](_0x50735e[_0x5b8925(0x1ec)](_0x257ebf,_0x70cf1c[_0x5b8925(0x205)](_0x2f2fe2)?_0x50735e[_0x5b8925(0x1e1)](_0x2f2fe2):_0x50735e[_0x5b8925(0x1df)](_0x2f2fe2,_0x5b8925(0x1fd)))),_0x257ebf=null),_0x2a184f++;}return _0x4967a5;}function on(_0x16371b,_0x254b19,_0x4872cf){const _0xa435d0=_0x2239;if(!_0x4872cf)return!0x1;const _0x1fd552=_0x16371b[_0xa435d0(0x1e1)](_0x254b19),_0x294560=_0x16371b[_0xa435d0(0x1f1)](_0x4872cf);return _0x1fd552[_0xa435d0(0x1ed)](_0x294560);}function _0x2239(_0x38476e,_0xc5ebc1){const _0x218c45=_0x218c();return _0x2239=function(_0x223967,_0x1c50eb){_0x223967=_0x223967-0x1dd;let _0x3d3579=_0x218c45[_0x223967];return _0x3d3579;},_0x2239(_0x38476e,_0xc5ebc1);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4fd9dd,_0x1d17c0,_0x2bd61f){const _0x38ecb3=_0x2239;for(;_0x2bd61f[_0x38ecb3(0x1f6)];){const _0x1a8ab9=_0x2bd61f[_0x38ecb3(0x20c)](0x0,0x64);_0x4fd9dd[_0x38ecb3(0x1e6)](()=>{const _0x1654c8=_0x38ecb3;for(const _0x1af95b of _0x1a8ab9)_0x1af95b[_0x1654c8(0x1f2)]&&_0x1d17c0[_0x1654c8(0x1ef)](_0x1af95b['id']);});}}function _0x218c(){const _0x36dba9=['from','createPositionAt','isIntersecting','createPositionAfter','isCollapsed','11hRgJlR','deletion','add','change','getRanges','12109432rOagjl','schema','\x20[color\x20','sort','createRange','isTouching','\x22></span>','execute','1324900BKlufb','createPositionBefore','isInContent','9wVGoVC','12gljsen','join','length','innerText','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','split','4135jHxGlu','48918624qBnvZf','next','end','createElement','2780535aRTTFd','span','map','value','isMultiRange','isArray','isObject','color','\x22\x20title=\x22','type','2045211IImUXx','<span\x20class=\x22ck-suggestion-type\x22>','131759cXBQry','splice','content','10eEZlIS','start','6044lxBMPA','innerHTML','title','push','replace','</span>'];_0x218c=function(){return _0x36dba9;};return _0x218c();}
|