@ckeditor/ckeditor5-track-changes 46.1.1-alpha.3 → 47.0.0-alpha.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/lineheight.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.d.ts +3 -3
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangespreview.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c78be=_0x276a;(function(_0x45319c,_0x17a16f){const _0x26669d=_0x276a,_0x4939bd=_0x45319c();while(!![]){try{const _0x26a1bd=-parseInt(_0x26669d(0x1db))/0x1*(-parseInt(_0x26669d(0x1de))/0x2)+-parseInt(_0x26669d(0x1e6))/0x3+parseInt(_0x26669d(0x218))/0x4+-parseInt(_0x26669d(0x1f6))/0x5*(-parseInt(_0x26669d(0x207))/0x6)+-parseInt(_0x26669d(0x20a))/0x7+-parseInt(_0x26669d(0x20e))/0x8*(parseInt(_0x26669d(0x1dd))/0x9)+-parseInt(_0x26669d(0x1ee))/0xa;if(_0x26a1bd===_0x17a16f)break;else _0x4939bd['push'](_0x4939bd['shift']());}catch(_0x2072d0){_0x4939bd['push'](_0x4939bd['shift']());}}}(_0x3b0a,0xdd536));import{Plugin as _0x348aa6}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x5e3377}from'./table.js';function _0x3b0a(){const _0x56635b=['headingRows','addMarker:suggestion','plugins','formatBlock','*Format:*\x20%0','nodeBefore','removeClass','end','_splitMarkerName','setTableColumnHeader','includes','item','FORMAT_HEADER_COLUMN','_handleLegacySuggestions','registerAttributeLabel','22314FxcjqY','writer','type','2973481PLgvht','commandName','getSuggestion','accept','1808928dXmPQu','getCellLocation','markerName','cell','registerDescriptionCallback','highest','markerRange','removeAttribute','_registerLegacyDescription','nodeAfter','3075016sDoIlW','hasSuggestion','forceValue','addClass','ck-suggestion-marker-','activeMarkers','editor','_acceptFormatSuggestionCallbackFactory','showSuggestionHighlights','consumable','name','FORMAT_REGULAR_COLUMN','unbindElementFromMarkerName','setAttribute','locale','TableEditing','commandParams','_suggestionFactory','editing','data','consume','TableUtils','FORMAT_HEADER_ROW','registerCustomCallback','has','downcastDispatcher','41911MjVQGJ','registerBlockAttribute','9MCNDpO','86tbOuCy','data-suggestion','options','createTableWalker','TrackChangesEditing','mapper','FORMAT_REGULAR_ROW','bindElementToMarker','2789661BmaYGQ','enableDefaultAttributesIntegration','format','afterInit','removeMarker:suggestion','get','requires','setTableRowHeader','14149930FZNBeQ','ck-suggestion-marker--active','headingColumns','markerNameToElements','toViewElement','descriptionFactory','start','parent','1790CpDLGc','stop'];_0x3b0a=function(){return _0x56635b;};return _0x3b0a();}function _0x276a(_0x4a67a5,_0x31c7d4){const _0x3b0a39=_0x3b0a();return _0x276a=function(_0x276a48,_0x38a7ba){_0x276a48=_0x276a48-0x1c6;let _0x9ab094=_0x3b0a39[_0x276a48];return _0x9ab094;},_0x276a(_0x4a67a5,_0x31c7d4);}import{getTranslation as _0x586b15}from'../utils/common-translations.js';export class TrackChangesTableHeadings extends _0x348aa6{static get[_0x5c78be(0x1ec)](){return[_0x5e3377];}[_0x5c78be(0x1e9)](){const _0x3ef3d0=_0x5c78be,_0x3f7dae=this[_0x3ef3d0(0x1c7)];if(!_0x3f7dae[_0x3ef3d0(0x1fa)][_0x3ef3d0(0x1d9)](_0x3ef3d0(0x1d0)))return;const _0x3f2433=_0x3f7dae[_0x3ef3d0(0x1cf)],_0x25e39c=_0x3f7dae[_0x3ef3d0(0x1fa)][_0x3ef3d0(0x1eb)](_0x3ef3d0(0x1e2));_0x25e39c[_0x3ef3d0(0x1e7)](_0x3ef3d0(0x1ed)),_0x25e39c[_0x3ef3d0(0x1e7)](_0x3ef3d0(0x201)),_0x25e39c[_0x3ef3d0(0x1dc)](_0x3ef3d0(0x1f8)),_0x25e39c[_0x3ef3d0(0x1dc)](_0x3ef3d0(0x1f0)),_0x25e39c[_0x3ef3d0(0x1f3)][_0x3ef3d0(0x206)](_0x3ef3d0(0x1f8),_0x586b15(_0x3f2433,_0x3ef3d0(0x1d7))),_0x25e39c[_0x3ef3d0(0x1f3)][_0x3ef3d0(0x206)](_0x3ef3d0(0x1f0),_0x586b15(_0x3f2433,_0x3ef3d0(0x204))),this[_0x3ef3d0(0x205)]();}[_0x5c78be(0x205)](){const _0x1e5f32=_0x5c78be,_0x19fbaa=this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1fa)][_0x1e5f32(0x1eb)](_0x1e5f32(0x1e2)),_0xa231d3=this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1fa)][_0x1e5f32(0x1eb)](_0x1e5f32(0x1d6)),_0x12d7a2=this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1fa)][_0x1e5f32(0x1eb)](_0x5e3377)[_0x1e5f32(0x1c8)]();function _0x2ea3ae({showActiveMarker:_0x3d7d1a=!0x0,setDataAttribute:_0x1f23ee=!0x0}={}){return(_0x37fbb6,_0x143ee8,_0x91316d)=>{const _0x12370f=_0x276a,{type:_0x119c1e,id:_0x212027}=_0x19fbaa[_0x12370f(0x200)](_0x143ee8[_0x12370f(0x210)]);if(!_0x19fbaa[_0x12370f(0x219)](_0x212027))return;const _0x2f2e22=_0x19fbaa[_0x12370f(0x20c)](_0x212027),_0xf3c33e=_0x2f2e22[_0x12370f(0x1d4)];if(_0x12370f(0x1fb)!=_0x2f2e22[_0x12370f(0x209)]||!_0xf3c33e||_0x12370f(0x201)!=_0xf3c33e[_0x12370f(0x20b)])return;if(_0x143ee8[_0x12370f(0x203)])return void _0x37fbb6[_0x12370f(0x1f7)]();if(!_0x91316d[_0x12370f(0x1ca)][_0x12370f(0x1d5)](_0x143ee8[_0x12370f(0x214)],_0x37fbb6[_0x12370f(0x1cb)]))return;const _0x2d515d=_0x143ee8[_0x12370f(0x214)][_0x12370f(0x1f4)][_0x12370f(0x217)],_0x3b68ab=_0x143ee8[_0x12370f(0x214)][_0x12370f(0x1ff)][_0x12370f(0x1fd)],_0x54a451=_0x2d515d[_0x12370f(0x1f5)][_0x12370f(0x1f5)],{column:_0x4de6ec}=_0xa231d3[_0x12370f(0x20f)](_0x2d515d),{column:_0x71fae1}=_0xa231d3[_0x12370f(0x20f)](_0x3b68ab);for(let _0x5bbf4f=_0x4de6ec;_0x5bbf4f<=_0x71fae1;_0x5bbf4f++){const _0x5e63a4=_0xa231d3[_0x12370f(0x1e1)](_0x54a451,{'column':_0x5bbf4f,'includeAllSlots':!0x1});for(const _0x115e91 of _0x5e63a4){const _0x5479ef=_0x115e91[_0x12370f(0x211)],_0x54cb77=_0x91316d[_0x12370f(0x1e3)][_0x12370f(0x1f2)](_0x5479ef);_0x91316d[_0x12370f(0x208)][_0x12370f(0x21b)](_0x12370f(0x21c)+_0x119c1e,_0x54cb77),_0x1f23ee&&_0x91316d[_0x12370f(0x208)][_0x12370f(0x1ce)](_0x12370f(0x1df),_0x212027,_0x54cb77),_0x91316d[_0x12370f(0x1e3)][_0x12370f(0x1e5)](_0x54cb77,_0x143ee8[_0x12370f(0x210)]),_0x3d7d1a&&(_0x19fbaa[_0x12370f(0x1c6)][_0x12370f(0x202)](_0x143ee8[_0x12370f(0x210)])?_0x91316d[_0x12370f(0x208)][_0x12370f(0x21b)](_0x12370f(0x1ef),_0x54cb77):_0x91316d[_0x12370f(0x208)][_0x12370f(0x1fe)](_0x12370f(0x1ef),_0x54cb77));}}};}_0x19fbaa[_0x1e5f32(0x1d2)][_0x1e5f32(0x1d8)](_0x1e5f32(0x1fb),_0x1e5f32(0x1ed),_0x1e5f32(0x20d),_0x12d7a2),_0x19fbaa[_0x1e5f32(0x1d2)][_0x1e5f32(0x1d8)](_0x1e5f32(0x1fb),_0x1e5f32(0x201),_0x1e5f32(0x20d),_0x12d7a2),this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1d3)][_0x1e5f32(0x1da)]['on'](_0x1e5f32(0x1f9),_0x2ea3ae(),{'priority':_0x1e5f32(0x213)}),this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1d4)][_0x1e5f32(0x1da)]['on'](_0x1e5f32(0x1f9),(_0x2e8856,_0x56fb60,_0xd8cd69)=>{const _0x384794=_0x1e5f32;_0xd8cd69[_0x384794(0x1e0)][_0x384794(0x1c9)]&&_0x2ea3ae({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2e8856,_0x56fb60,_0xd8cd69);},{'priority':_0x1e5f32(0x213)}),this[_0x1e5f32(0x1c7)][_0x1e5f32(0x1d3)][_0x1e5f32(0x1da)]['on'](_0x1e5f32(0x1ea),(_0x4d64f4,_0x243318,_0x2253bc)=>{const _0x49a615=_0x1e5f32,{type:_0x3051e8,id:_0x4f8774}=_0x19fbaa[_0x49a615(0x200)](_0x243318[_0x49a615(0x210)]);if(!_0x19fbaa[_0x49a615(0x219)](_0x4f8774))return;const _0x3e5b2c=_0x19fbaa[_0x49a615(0x20c)](_0x4f8774),_0x4673e8=_0x3e5b2c[_0x49a615(0x1d4)];if(_0x49a615(0x1fb)!=_0x3e5b2c[_0x49a615(0x209)]||!_0x4673e8||_0x49a615(0x201)!=_0x4673e8[_0x49a615(0x20b)])return;const _0x8cfdc4=_0x2253bc[_0x49a615(0x1e3)][_0x49a615(0x1f1)](_0x243318[_0x49a615(0x210)]);if(_0x8cfdc4){for(const _0x7c442f of _0x8cfdc4)_0x2253bc[_0x49a615(0x208)][_0x49a615(0x1fe)](_0x49a615(0x21c)+_0x3051e8,_0x7c442f),_0x2253bc[_0x49a615(0x208)][_0x49a615(0x1fe)](_0x49a615(0x1ef),_0x7c442f),_0x2253bc[_0x49a615(0x208)][_0x49a615(0x215)](_0x49a615(0x1df),_0x7c442f),_0x2253bc[_0x49a615(0x1e3)][_0x49a615(0x1cd)](_0x7c442f,_0x243318[_0x49a615(0x210)]);}},{'priority':_0x1e5f32(0x213)}),this[_0x1e5f32(0x216)]();}[_0x5c78be(0x216)](){const _0x21da4b=_0x5c78be,_0xa1dd84=this[_0x21da4b(0x1c7)],_0x57adf4=_0xa1dd84[_0x21da4b(0x1cf)];function _0x3615c9(_0x46f012){const _0x54491f=_0x21da4b;return{'type':_0x54491f(0x1e8),'content':_0x586b15(_0x57adf4,_0x54491f(0x1fc),_0x46f012)};}_0xa1dd84[_0x21da4b(0x1fa)][_0x21da4b(0x1eb)](_0x21da4b(0x1e2))[_0x21da4b(0x1f3)][_0x21da4b(0x212)](_0x23ec4b=>{const _0x240151=_0x21da4b;if(_0x240151(0x1fb)!=_0x23ec4b[_0x240151(0x209)])return;const {data:_0x62fbab}=_0x23ec4b;if(_0x62fbab){if(_0x240151(0x1ed)==_0x62fbab[_0x240151(0x20b)]){const _0x532271=_0x62fbab[_0x240151(0x1d1)][0x0][_0x240151(0x21a)];return _0x3615c9(_0x586b15(_0x57adf4,_0x532271?_0x240151(0x1d7):_0x240151(0x1e4)));}if(_0x240151(0x201)==_0x62fbab[_0x240151(0x20b)]){const _0x16e6a9=_0x62fbab[_0x240151(0x1d1)][0x0][_0x240151(0x21a)];return _0x3615c9(_0x586b15(_0x57adf4,_0x16e6a9?_0x240151(0x204):_0x240151(0x1cc)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x47d4(_0x448335,_0x4e614a){const _0x5b6247=_0x5b62();return _0x47d4=function(_0x47d490,_0x3eac4b){_0x47d490=_0x47d490-0xe5;let _0x137e56=_0x5b6247[_0x47d490];return _0x137e56;},_0x47d4(_0x448335,_0x4e614a);}const _0x106bc3=_0x47d4;function _0x5b62(){const _0x18fcc1=['TrackChangesEditing','634284PbAcgk','enableCommand','newValue','get','insertTableLayout','TableLayout','27805014giqNrV','2554520GrJLPo','enableDefaultAttributesIntegration','table','locale','registerElementLabel','4554888iLEqkW','registerDescriptionCallback','getAttribute','ELEMENT_CONTENT_TABLE','*Set\x20table\x20type:*\x20%0','layout','10CYjSna','tableType','editor','3372060yiVFQm','ELEMENT_LAYOUT_TABLE','content','registerBlockAttribute','format','7dQSvHh','1175895bIVUzw','afterInit','descriptionFactory','key','element','plugins','has','869560PXSylZ'];_0x5b62=function(){return _0x18fcc1;};return _0x5b62();}(function(_0x180e18,_0x538cf5){const _0x1cf158=_0x47d4,_0x353e39=_0x180e18();while(!![]){try{const _0x4befa0=-parseInt(_0x1cf158(0x104))/0x1+-parseInt(_0x1cf158(0xf0))/0x2+-parseInt(_0x1cf158(0xfe))/0x3+parseInt(_0x1cf158(0xe9))/0x4*(parseInt(_0x1cf158(0xfb))/0x5)+parseInt(_0x1cf158(0xf5))/0x6+parseInt(_0x1cf158(0x103))/0x7*(parseInt(_0x1cf158(0xe7))/0x8)+parseInt(_0x1cf158(0xef))/0x9;if(_0x4befa0===_0x538cf5)break;else _0x353e39['push'](_0x353e39['shift']());}catch(_0x41b8c2){_0x353e39['push'](_0x353e39['shift']());}}}(_0x5b62,0xaa3a8));import{Plugin as _0xb55bfe}from'ckeditor5/src/core.js';import{getTranslation as _0xa9799}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0xb55bfe{[_0x106bc3(0x105)](){const _0x1799dc=_0x106bc3,_0x1cc3db=this[_0x1799dc(0xfd)],_0x5593cc=_0x1cc3db[_0x1799dc(0xf3)],_0x54d0b4=_0x1cc3db[_0x1799dc(0xe5)][_0x1799dc(0xec)](_0x1799dc(0xe8));function _0x2d4d30(_0x527589){const _0x4224bc=_0x1799dc;return{'type':_0x4224bc(0x102),'content':''+_0xa9799(_0x5593cc,_0x4224bc(0xf9),_0x527589)};}_0x1cc3db[_0x1799dc(0xe5)][_0x1799dc(0xe6)](_0x1799dc(0xee))&&(_0x54d0b4[_0x1799dc(0xea)](_0x1799dc(0xed)),_0x54d0b4[_0x1799dc(0xf1)](_0x1799dc(0xfc)),_0x54d0b4[_0x1799dc(0x101)](_0x1799dc(0xfc)),_0x54d0b4[_0x1799dc(0x106)][_0x1799dc(0xf4)](_0x3ac4d5=>_0x3ac4d5['is'](_0x1799dc(0x108),_0x1799dc(0xf2))&&_0x1799dc(0xfa)===_0x3ac4d5[_0x1799dc(0xf7)](_0x1799dc(0xfc)),_0x1ccf5b=>_0xa9799(_0x5593cc,_0x1799dc(0xff),_0x1ccf5b)),_0x54d0b4[_0x1799dc(0x106)][_0x1799dc(0xf6)](_0x43feb7=>{const _0xf3ff81=_0x1799dc,{data:_0x3a3e4c}=_0x43feb7;if(_0x3a3e4c&&_0xf3ff81(0xfc)==_0x3a3e4c[_0xf3ff81(0x107)])switch(_0x3a3e4c[_0xf3ff81(0xeb)]){case _0xf3ff81(0xfa):return _0x2d4d30(_0xa9799(_0x5593cc,_0xf3ff81(0xff)));case _0xf3ff81(0x100):return _0x2d4d30(_0xa9799(_0x5593cc,_0xf3ff81(0xf8)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d6d99=_0xeb07;(function(_0x163db2,_0x157262){const _0x216ab6=_0xeb07,_0x6b2a6c=_0x163db2();while(!![]){try{const _0x159150=parseInt(_0x216ab6(0xe6))/0x1+-parseInt(_0x216ab6(0xd9))/0x2+-parseInt(_0x216ab6(0xea))/0x3+parseInt(_0x216ab6(0xbf))/0x4+parseInt(_0x216ab6(0xdb))/0x5+-parseInt(_0x216ab6(0xd1))/0x6*(parseInt(_0x216ab6(0xb0))/0x7)+parseInt(_0x216ab6(0xf1))/0x8;if(_0x159150===_0x157262)break;else _0x6b2a6c['push'](_0x6b2a6c['shift']());}catch(_0x2d3fb9){_0x6b2a6c['push'](_0x6b2a6c['shift']());}}}(_0x383b,0xed241));import{Plugin as _0x2644cc}from'ckeditor5/src/core.js';function _0x383b(){const _0x52bef6=['mergeTableCells','highest','change','isEnabled','3103030qzAxdy','map','4786030BDDpwH','execute','get','_areSelectedCellsMergable','selection','registerDescriptionCallback','isInContent','*Merge\x20cells*','add','size','mergeTableCellLeft','1136035bLywYf','root','setSelection','push','3139965yiglko','type','set:isEnabled','_acceptFormatSuggestionCallbackFactory','getRanges','*Split\x20cell:*\x20vertically','createRangeOn','2615880uevhzu','commandName','findAncestor','commands','format','enableCommand','element','_tablePostFixingSubtypes','document','author','subType','_isForcedDefaultExecutionBlock','TableEditing','return','TableUtils','find','_areMergableCells','fromRange','accept','registerCustomCallback','splitTableCellVertically','filter','length','containsRange','markMultiRangeBlockFormat','afterInit','*Split\x20cell:*\x20horizontally','requires','horizontally','markBlockFormat','stop','createTableWalker','21fRbduw','getSuggestions','tableCell','formatInline','getSelectionAffectedTableCells','formatBlock','getAncestors','insertion','has','rootName','_suggestionFactory','deletion','table','model','low','7489932aQCRsB','from','value','plugins','detach','TrackChangesEditing','mergeTableCellRight','direction','splitTableCellHorizontally','cell','trackChanges','getFirstPosition','forceDefaultExecution','$graveyard','mergeTableCellUp','mergeTableCellDown','locale','refresh','1446420MVYQBE','descriptionFactory','getCellLocation','editor'];_0x383b=function(){return _0x52bef6;};return _0x383b();}import{TrackChangesTable as _0x5c8ec9}from'./table.js';import{ModelLiveRange as _0x228a03}from'ckeditor5/src/engine.js';import{getTranslation as _0x117fee}from'../utils/common-translations.js';function _0xeb07(_0x413a13,_0x5279d4){const _0x383b24=_0x383b();return _0xeb07=function(_0xeb074d,_0x5896da){_0xeb074d=_0xeb074d-0x9d;let _0x144f2c=_0x383b24[_0xeb074d];return _0x144f2c;},_0xeb07(_0x413a13,_0x5279d4);}export class TrackChangesTableMergeSplit extends _0x2644cc{static get[_0x2d6d99(0xab)](){return[_0x5c8ec9];}[_0x2d6d99(0xa9)](){const _0x377599=_0x2d6d99,_0x123a88=this[_0x377599(0xd4)],_0x1ebaa3=_0x123a88[_0x377599(0xbd)][_0x377599(0xf9)][_0x377599(0xdf)],_0xbef652=_0x123a88[_0x377599(0xcf)];if(!_0x123a88[_0x377599(0xc2)][_0x377599(0xb8)](_0x377599(0xfd)))return;const _0x3b99a1=_0x123a88[_0x377599(0xc2)][_0x377599(0xdd)](_0x377599(0xc4)),_0x152036=_0x123a88[_0x377599(0xc2)][_0x377599(0xdd)](_0x377599(0x9e)),_0x5482ac=_0x123a88[_0x377599(0xc2)][_0x377599(0xdd)](_0x5c8ec9);_0x5482ac[_0x377599(0xf8)][_0x377599(0xe9)](_0x377599(0xd5)),_0x3b99a1[_0x377599(0xf6)](_0x377599(0xd5),()=>{const _0x37215c=_0x377599,_0x2cb6c6=_0x152036[_0x37215c(0xb4)](_0x123a88[_0x37215c(0xbd)][_0x37215c(0xf9)][_0x37215c(0xdf)]);_0x123a88[_0x37215c(0xbd)][_0x37215c(0xd7)](()=>{const _0x1f0dac=_0x37215c;_0x3b99a1[_0x1f0dac(0xa8)](_0x2cb6c6,{'commandName':_0x1f0dac(0xd5),'commandParams':[]},[],_0x1f0dac(0xd5));});}),_0x123a88[_0x377599(0xf4)][_0x377599(0xdd)](_0x377599(0xd5))['on'](_0x377599(0xdc),(_0x28202a,_0x874a68)=>{const _0x20cecd=_0x377599;_0x123a88[_0x20cecd(0xf4)][_0x20cecd(0xdd)](_0x20cecd(0xc9))[_0x20cecd(0xc1)]&&(_0x874a68[_0x20cecd(0xa6)]>0x0&&_0x874a68[_0x874a68[_0x20cecd(0xa6)]-0x1]&&_0x874a68[_0x874a68[_0x20cecd(0xa6)]-0x1][_0x20cecd(0xcb)]||_0x3b99a1[_0x20cecd(0xfc)]||this[_0x20cecd(0xde)]()||_0x28202a[_0x20cecd(0xae)]());},{'priority':_0x377599(0xd6)});for(const _0x52602c of[_0x377599(0xcd),_0x377599(0xc5),_0x377599(0xce),_0x377599(0xe5)]){const _0x1566e2=_0x123a88[_0x377599(0xf4)][_0x377599(0xdd)](_0x52602c);_0x3b99a1[_0x377599(0xf6)](_0x52602c,()=>{const _0x201fb5=_0x377599,_0x5f0ac1=_0x123a88[_0x201fb5(0xbd)][_0x201fb5(0xf9)][_0x201fb5(0xdf)][_0x201fb5(0xca)]()[_0x201fb5(0xb6)]()[_0x201fb5(0x9f)](_0x35885a=>_0x35885a['is'](_0x201fb5(0xf7),_0x201fb5(0xb2))),_0x41c7e6=_0x1566e2[_0x201fb5(0xc1)];_0x123a88[_0x201fb5(0xbd)][_0x201fb5(0xd7)](()=>{const _0x4f0488=_0x201fb5;_0x3b99a1[_0x4f0488(0xa8)]([_0x5f0ac1,_0x41c7e6],{'commandName':_0x4f0488(0xd5),'commandParams':[]},[],_0x4f0488(0xd5));});});}for(const _0x3914e8 of[_0x377599(0xa4),_0x377599(0xc7)]){const _0x6d0de0=_0x123a88[_0x377599(0xf4)][_0x377599(0xdd)](_0x3914e8);_0x3b99a1[_0x377599(0xf6)](_0x3914e8,()=>{const _0x56b4cc=_0x377599,_0x3bd148=_0x152036[_0x56b4cc(0xb4)](_0x123a88[_0x56b4cc(0xbd)][_0x56b4cc(0xf9)][_0x56b4cc(0xdf)])[0x0],_0x4d2e99=_0x3bd148[_0x56b4cc(0xf3)](_0x56b4cc(0xbc)),{column:_0x3a263a,row:_0x4dfa1e}=_0x152036[_0x56b4cc(0xd3)](_0x3bd148);let _0xefba86=[];if(_0x56b4cc(0xac)==_0x6d0de0[_0x56b4cc(0xc6)]){const _0x4a3aa9=_0x152036[_0x56b4cc(0xaf)](_0x4d2e99,{'startRow':_0x4dfa1e,'endRow':_0x4dfa1e,'includeAllSlots':!0x0});_0xefba86=Array[_0x56b4cc(0xc0)](_0x4a3aa9)[_0x56b4cc(0xda)](_0x583a6e=>_0x583a6e[_0x56b4cc(0xc8)]);}else{const _0x3e2dc0=_0x152036[_0x56b4cc(0xaf)](_0x4d2e99,{'column':_0x3a263a,'includeAllSlots':!0x0});_0xefba86=Array[_0x56b4cc(0xc0)](_0x3e2dc0)[_0x56b4cc(0xda)](_0x4cf092=>_0x4cf092[_0x56b4cc(0xc8)]);}_0x123a88[_0x56b4cc(0xbd)][_0x56b4cc(0xd7)](_0x335f16=>{const _0x3e3900=_0x56b4cc;_0x3b99a1[_0x3e3900(0xad)](_0x335f16[_0x3e3900(0xf0)](_0x3bd148),{'commandName':_0x3914e8,'commandParams':[]},_0xefba86,_0x3914e8);});});}_0x3b99a1[_0x377599(0xd2)][_0x377599(0xe0)](_0x23a76d=>{const _0x5cf152=_0x377599;if(_0x5cf152(0xb5)!=_0x23a76d[_0x5cf152(0xeb)]&&_0x5cf152(0xb3)!=_0x23a76d[_0x5cf152(0xeb)])return;const {data:_0x3f8a63}=_0x23a76d;return _0x3f8a63&&_0x5cf152(0xd5)==_0x3f8a63[_0x5cf152(0xf2)]?{'type':_0x5cf152(0xf5),'content':_0x117fee(_0xbef652,_0x5cf152(0xe2))}:void 0x0;}),_0x3b99a1[_0x377599(0xd2)][_0x377599(0xe0)](_0x21d8e3=>{const _0x160158=_0x377599;if(_0x160158(0xb5)!=_0x21d8e3[_0x160158(0xeb)]&&_0x160158(0xb3)!=_0x21d8e3[_0x160158(0xeb)])return;const {data:_0x4a1605}=_0x21d8e3;return _0x4a1605?_0x160158(0xa4)==_0x4a1605[_0x160158(0xf2)]?{'type':_0x160158(0xf5),'content':_0x117fee(_0xbef652,_0x160158(0xef))}:_0x160158(0xc7)==_0x4a1605[_0x160158(0xf2)]?{'type':_0x160158(0xf5),'content':_0x117fee(_0xbef652,_0x160158(0xaa))}:void 0x0:void 0x0;});const _0x1f382f=_0x5482ac[_0x377599(0xed)]();for(const _0x1bf31f of[_0x377599(0xcd),_0x377599(0xc5),_0x377599(0xce),_0x377599(0xe5)])_0x3b99a1[_0x377599(0xba)][_0x377599(0xa3)](_0x377599(0xb5),_0x1bf31f,_0x377599(0xa2),_0x1f382f);for(const _0x14940f of[_0x377599(0xa4),_0x377599(0xc7)])_0x3b99a1[_0x377599(0xba)][_0x377599(0xa3)](_0x377599(0xb5),_0x14940f,_0x377599(0xa2),_0x1f382f);_0x3b99a1[_0x377599(0xba)][_0x377599(0xa3)](_0x377599(0xb5),_0x377599(0xd5),_0x377599(0xa2),_0x1b3ff5=>{const _0x18e39c=_0x377599;_0x123a88[_0x18e39c(0xbd)][_0x18e39c(0xd7)](_0x687cd6=>{const _0x4955c6=_0x18e39c,_0x551424=Array[_0x4955c6(0xc0)](_0x1ebaa3[_0x4955c6(0xee)]())[_0x4955c6(0xda)](_0x51e20c=>_0x228a03[_0x4955c6(0xa1)](_0x51e20c));_0x687cd6[_0x4955c6(0xe8)](_0x1b3ff5),_0x123a88[_0x4955c6(0xf4)][_0x4955c6(0xdd)](_0x4955c6(0xd5))[_0x4955c6(0xd0)](),_0x123a88[_0x4955c6(0xdc)](_0x4955c6(0xd5),{'forceDefaultExecution':!0x0});const _0x3345e5=_0x551424[_0x4955c6(0xa5)](_0x2845aa=>_0x4955c6(0xcc)!=_0x2845aa[_0x4955c6(0xe7)][_0x4955c6(0xb9)]);_0x3345e5[_0x4955c6(0xa6)]>0x0&&_0x687cd6[_0x4955c6(0xe8)](_0x3345e5);for(const _0x4c0eb5 of _0x551424)_0x4c0eb5[_0x4955c6(0xc3)]();});});for(const _0x302aba of[_0x377599(0xcd),_0x377599(0xce),_0x377599(0xe5),_0x377599(0xc5)]){const _0x5939bc=_0x123a88[_0x377599(0xf4)][_0x377599(0xdd)](_0x302aba);_0x5939bc['on'](_0x377599(0xec),(_0x1133cf,_0x1e79b7,_0x7b5c4b)=>{const _0x4fca1c=_0x377599;if(_0x7b5c4b){const _0x28125a=_0x123a88[_0x4fca1c(0xbd)][_0x4fca1c(0xf9)][_0x4fca1c(0xdf)][_0x4fca1c(0xca)]()[_0x4fca1c(0xb6)]()[_0x4fca1c(0x9f)](_0x1e2af0=>_0x1e2af0['is'](_0x4fca1c(0xf7),_0x4fca1c(0xb2)));this[_0x4fca1c(0xa0)](_0x5939bc[_0x4fca1c(0xc1)],_0x28125a)||(_0x1133cf[_0x4fca1c(0x9d)]=!0x1,_0x1133cf[_0x4fca1c(0xae)]());}},{'priority':_0x377599(0xbe)});}}[_0x2d6d99(0xde)](){const _0x46a049=_0x2d6d99,_0x515b2f=this[_0x46a049(0xd4)][_0x46a049(0xf4)][_0x46a049(0xdd)](_0x46a049(0xd5)),_0x2ecc15=this[_0x46a049(0xd4)][_0x46a049(0xc2)][_0x46a049(0xdd)](_0x46a049(0x9e));if(!_0x515b2f[_0x46a049(0xd8)])return!0x1;const _0x269ca9=_0x2ecc15[_0x46a049(0xb4)](this[_0x46a049(0xd4)][_0x46a049(0xbd)][_0x46a049(0xf9)][_0x46a049(0xdf)]);for(const _0x1f6e84 of _0x269ca9)for(const _0x4c40cc of _0x269ca9)if(_0x1f6e84!=_0x4c40cc&&!this[_0x46a049(0xa0)](_0x1f6e84,_0x4c40cc))return!0x1;return!0x0;}[_0x2d6d99(0xa0)](_0x545a81,_0x14bb0b){const _0x252bc8=_0x2d6d99,_0x51b6f0=this[_0x252bc8(0xd4)][_0x252bc8(0xc2)][_0x252bc8(0xdd)](_0x252bc8(0xc4)),_0x26b93c=this[_0x252bc8(0xd4)][_0x252bc8(0xbd)][_0x252bc8(0xf0)](_0x545a81),_0x3567c8=this[_0x252bc8(0xd4)][_0x252bc8(0xbd)][_0x252bc8(0xf0)](_0x14bb0b),_0x1a84d4=new Set(),_0x3843e4=new Set();for(const _0x58aff7 of _0x51b6f0[_0x252bc8(0xb1)]())if((_0x252bc8(0xb7)==_0x58aff7[_0x252bc8(0xeb)]||_0x252bc8(0xbb)==_0x58aff7[_0x252bc8(0xeb)]||_0x252bc8(0xd5)==_0x58aff7[_0x252bc8(0xfb)])&&_0x58aff7[_0x252bc8(0xe1)]){for(const _0x1ebb3d of _0x58aff7[_0x252bc8(0xee)]())_0x1ebb3d[_0x252bc8(0xa7)](_0x26b93c,!0x0)&&_0x1a84d4[_0x252bc8(0xe3)](_0x58aff7[_0x252bc8(0xeb)]+':'+_0x58aff7[_0x252bc8(0xfa)]['id']),_0x1ebb3d[_0x252bc8(0xa7)](_0x3567c8,!0x0)&&_0x3843e4[_0x252bc8(0xe3)](_0x58aff7[_0x252bc8(0xeb)]+':'+_0x58aff7[_0x252bc8(0xfa)]['id']);}if(_0x1a84d4[_0x252bc8(0xe4)]!=_0x3843e4[_0x252bc8(0xe4)])return!0x1;for(const _0x4fb1a4 of _0x1a84d4)if(!_0x3843e4[_0x252bc8(0xb8)](_0x4fb1a4))return!0x1;return!0x0;}}
|
|
23
|
+
function _0x4ef5(){const _0x368b10=['value','execute','selection','locale','insertion','160posSwf','getAncestors','14602EVWddC','detach','map','TableUtils','has','plugins','type','4qzWvEO','subType','_areSelectedCellsMergable','3679FseSOG','horizontally','table','1474501QILNhr','53081pEESWO','registerCustomCallback','element','*Merge\x20cells*','16yfUppz','getCellLocation','filter','splitTableCellHorizontally','document','mergeTableCellRight','author','direction','295497tkxMYG','afterInit','forceDefaultExecution','tableCell','requires','size','*Split\x20cell:*\x20vertically','4474415PqchKy','mergeTableCellLeft','createRangeOn','root','refresh','stop','accept','editor','TableEditing','splitTableCellVertically','TrackChangesEditing','push','formatBlock','36715QAGLyA','format','isEnabled','deletion','*Split\x20cell:*\x20horizontally','commandName','markBlockFormat','set:isEnabled','_acceptFormatSuggestionCallbackFactory','getSelectionAffectedTableCells','getRanges','14IHtQLV','change','cell','$graveyard','mergeTableCellDown','setSelection','_suggestionFactory','add','trackChanges','model','enableCommand','containsRange','getSuggestions','markMultiRangeBlockFormat','descriptionFactory','_areMergableCells','12NVJYxd','mergeTableCellUp','find','highest','createTableWalker','get','rootName','_tablePostFixingSubtypes','fromRange','getFirstPosition','findAncestor','mergeTableCells','342PhEKPN','from','commands','formatInline','1331214fDROLo','isInContent','registerDescriptionCallback','return','_isForcedDefaultExecutionBlock','length','low'];_0x4ef5=function(){return _0x368b10;};return _0x4ef5();}function _0x1fd4(_0x3c3fb5,_0x5292c7){const _0x4ef550=_0x4ef5();return _0x1fd4=function(_0x1fd469,_0x16065a){_0x1fd469=_0x1fd469-0x65;let _0x284c88=_0x4ef550[_0x1fd469];return _0x284c88;},_0x1fd4(_0x3c3fb5,_0x5292c7);}const _0x1edb68=_0x1fd4;(function(_0x5daf5f,_0x10655e){const _0x29c6bc=_0x1fd4,_0x23bbac=_0x5daf5f();while(!![]){try{const _0x1ddb5e=parseInt(_0x29c6bc(0x86))/0x1*(parseInt(_0x29c6bc(0xb1))/0x2)+parseInt(_0x29c6bc(0x6a))/0x3*(parseInt(_0x29c6bc(0x7f))/0x4)+parseInt(_0x29c6bc(0xa6))/0x5*(-parseInt(_0x29c6bc(0x66))/0x6)+-parseInt(_0x29c6bc(0x85))/0x7*(-parseInt(_0x29c6bc(0x8a))/0x8)+parseInt(_0x29c6bc(0x92))/0x9*(-parseInt(_0x29c6bc(0x76))/0xa)+parseInt(_0x29c6bc(0x99))/0xb*(parseInt(_0x29c6bc(0xc1))/0xc)+parseInt(_0x29c6bc(0x82))/0xd*(-parseInt(_0x29c6bc(0x78))/0xe);if(_0x1ddb5e===_0x10655e)break;else _0x23bbac['push'](_0x23bbac['shift']());}catch(_0x2a3613){_0x23bbac['push'](_0x23bbac['shift']());}}}(_0x4ef5,0x62b54));import{Plugin as _0x5503ac}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4f700b}from'./table.js';import{ModelLiveRange as _0x5ee60e}from'ckeditor5/src/engine.js';import{getTranslation as _0x2a8b04}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x5503ac{static get[_0x1edb68(0x96)](){return[_0x4f700b];}[_0x1edb68(0x93)](){const _0x190f84=_0x1edb68,_0x3c6446=this[_0x190f84(0xa0)],_0x2b795a=_0x3c6446[_0x190f84(0xba)][_0x190f84(0x8e)][_0x190f84(0x73)],_0xd4e4aa=_0x3c6446[_0x190f84(0x74)];if(!_0x3c6446[_0x190f84(0x7d)][_0x190f84(0x7c)](_0x190f84(0xa1)))return;const _0x2f441c=_0x3c6446[_0x190f84(0x7d)][_0x190f84(0xc6)](_0x190f84(0xa3)),_0x207f02=_0x3c6446[_0x190f84(0x7d)][_0x190f84(0xc6)](_0x190f84(0x7b)),_0x4b0634=_0x3c6446[_0x190f84(0x7d)][_0x190f84(0xc6)](_0x4f700b);_0x4b0634[_0x190f84(0xc8)][_0x190f84(0xa4)](_0x190f84(0x65)),_0x2f441c[_0x190f84(0xbb)](_0x190f84(0x65),()=>{const _0x1a3fd7=_0x190f84,_0x3dea85=_0x207f02[_0x1a3fd7(0xaf)](_0x3c6446[_0x1a3fd7(0xba)][_0x1a3fd7(0x8e)][_0x1a3fd7(0x73)]);_0x3c6446[_0x1a3fd7(0xba)][_0x1a3fd7(0xb2)](()=>{const _0x42e650=_0x1a3fd7;_0x2f441c[_0x42e650(0xbe)](_0x3dea85,{'commandName':_0x42e650(0x65),'commandParams':[]},[],_0x42e650(0x65));});}),_0x3c6446[_0x190f84(0x68)][_0x190f84(0xc6)](_0x190f84(0x65))['on'](_0x190f84(0x72),(_0x39e4a8,_0x43521e)=>{const _0x5f4418=_0x190f84;_0x3c6446[_0x5f4418(0x68)][_0x5f4418(0xc6)](_0x5f4418(0xb9))[_0x5f4418(0x71)]&&(_0x43521e[_0x5f4418(0x6f)]>0x0&&_0x43521e[_0x43521e[_0x5f4418(0x6f)]-0x1]&&_0x43521e[_0x43521e[_0x5f4418(0x6f)]-0x1][_0x5f4418(0x94)]||_0x2f441c[_0x5f4418(0x6e)]||this[_0x5f4418(0x81)]()||_0x39e4a8[_0x5f4418(0x9e)]());},{'priority':_0x190f84(0xc4)});for(const _0x270b38 of[_0x190f84(0xc2),_0x190f84(0x8f),_0x190f84(0xb5),_0x190f84(0x9a)]){const _0x65031=_0x3c6446[_0x190f84(0x68)][_0x190f84(0xc6)](_0x270b38);_0x2f441c[_0x190f84(0xbb)](_0x270b38,()=>{const _0x58e772=_0x190f84,_0x5c2d7f=_0x3c6446[_0x58e772(0xba)][_0x58e772(0x8e)][_0x58e772(0x73)][_0x58e772(0xca)]()[_0x58e772(0x77)]()[_0x58e772(0xc3)](_0x2dcf83=>_0x2dcf83['is'](_0x58e772(0x88),_0x58e772(0x95))),_0x5a88ef=_0x65031[_0x58e772(0x71)];_0x3c6446[_0x58e772(0xba)][_0x58e772(0xb2)](()=>{const _0x520072=_0x58e772;_0x2f441c[_0x520072(0xbe)]([_0x5c2d7f,_0x5a88ef],{'commandName':_0x520072(0x65),'commandParams':[]},[],_0x520072(0x65));});});}for(const _0x2d561e of[_0x190f84(0xa2),_0x190f84(0x8d)]){const _0xbf7994=_0x3c6446[_0x190f84(0x68)][_0x190f84(0xc6)](_0x2d561e);_0x2f441c[_0x190f84(0xbb)](_0x2d561e,()=>{const _0xf21787=_0x190f84,_0x5215c9=_0x207f02[_0xf21787(0xaf)](_0x3c6446[_0xf21787(0xba)][_0xf21787(0x8e)][_0xf21787(0x73)])[0x0],_0x5edbd5=_0x5215c9[_0xf21787(0xcb)](_0xf21787(0x84)),{column:_0x58b396,row:_0x56ed64}=_0x207f02[_0xf21787(0x8b)](_0x5215c9);let _0x4279b3=[];if(_0xf21787(0x83)==_0xbf7994[_0xf21787(0x91)]){const _0x32cd3b=_0x207f02[_0xf21787(0xc5)](_0x5edbd5,{'startRow':_0x56ed64,'endRow':_0x56ed64,'includeAllSlots':!0x0});_0x4279b3=Array[_0xf21787(0x67)](_0x32cd3b)[_0xf21787(0x7a)](_0x39f5ef=>_0x39f5ef[_0xf21787(0xb3)]);}else{const _0x2d3af3=_0x207f02[_0xf21787(0xc5)](_0x5edbd5,{'column':_0x58b396,'includeAllSlots':!0x0});_0x4279b3=Array[_0xf21787(0x67)](_0x2d3af3)[_0xf21787(0x7a)](_0x193ea2=>_0x193ea2[_0xf21787(0xb3)]);}_0x3c6446[_0xf21787(0xba)][_0xf21787(0xb2)](_0x3b8572=>{const _0x21d1d9=_0xf21787;_0x2f441c[_0x21d1d9(0xac)](_0x3b8572[_0x21d1d9(0x9b)](_0x5215c9),{'commandName':_0x2d561e,'commandParams':[]},_0x4279b3,_0x2d561e);});});}_0x2f441c[_0x190f84(0xbf)][_0x190f84(0x6c)](_0x4ef541=>{const _0x3a0ec1=_0x190f84;if(_0x3a0ec1(0xa5)!=_0x4ef541[_0x3a0ec1(0x7e)]&&_0x3a0ec1(0x69)!=_0x4ef541[_0x3a0ec1(0x7e)])return;const {data:_0x3d9c56}=_0x4ef541;return _0x3d9c56&&_0x3a0ec1(0x65)==_0x3d9c56[_0x3a0ec1(0xab)]?{'type':_0x3a0ec1(0xa7),'content':_0x2a8b04(_0xd4e4aa,_0x3a0ec1(0x89))}:void 0x0;}),_0x2f441c[_0x190f84(0xbf)][_0x190f84(0x6c)](_0xf4c7d7=>{const _0x8f963e=_0x190f84;if(_0x8f963e(0xa5)!=_0xf4c7d7[_0x8f963e(0x7e)]&&_0x8f963e(0x69)!=_0xf4c7d7[_0x8f963e(0x7e)])return;const {data:_0x1a4464}=_0xf4c7d7;return _0x1a4464?_0x8f963e(0xa2)==_0x1a4464[_0x8f963e(0xab)]?{'type':_0x8f963e(0xa7),'content':_0x2a8b04(_0xd4e4aa,_0x8f963e(0x98))}:_0x8f963e(0x8d)==_0x1a4464[_0x8f963e(0xab)]?{'type':_0x8f963e(0xa7),'content':_0x2a8b04(_0xd4e4aa,_0x8f963e(0xaa))}:void 0x0:void 0x0;});const _0x56f4a2=_0x4b0634[_0x190f84(0xae)]();for(const _0x5cae5b of[_0x190f84(0xc2),_0x190f84(0x8f),_0x190f84(0xb5),_0x190f84(0x9a)])_0x2f441c[_0x190f84(0xb7)][_0x190f84(0x87)](_0x190f84(0xa5),_0x5cae5b,_0x190f84(0x9f),_0x56f4a2);for(const _0x23efc2 of[_0x190f84(0xa2),_0x190f84(0x8d)])_0x2f441c[_0x190f84(0xb7)][_0x190f84(0x87)](_0x190f84(0xa5),_0x23efc2,_0x190f84(0x9f),_0x56f4a2);_0x2f441c[_0x190f84(0xb7)][_0x190f84(0x87)](_0x190f84(0xa5),_0x190f84(0x65),_0x190f84(0x9f),_0x80cd77=>{const _0x5ab12c=_0x190f84;_0x3c6446[_0x5ab12c(0xba)][_0x5ab12c(0xb2)](_0x9c6a1f=>{const _0x38e752=_0x5ab12c,_0xc6092d=Array[_0x38e752(0x67)](_0x2b795a[_0x38e752(0xb0)]())[_0x38e752(0x7a)](_0x2e9786=>_0x5ee60e[_0x38e752(0xc9)](_0x2e9786));_0x9c6a1f[_0x38e752(0xb6)](_0x80cd77),_0x3c6446[_0x38e752(0x68)][_0x38e752(0xc6)](_0x38e752(0x65))[_0x38e752(0x9d)](),_0x3c6446[_0x38e752(0x72)](_0x38e752(0x65),{'forceDefaultExecution':!0x0});const _0x3cc47b=_0xc6092d[_0x38e752(0x8c)](_0x522b4e=>_0x38e752(0xb4)!=_0x522b4e[_0x38e752(0x9c)][_0x38e752(0xc7)]);_0x3cc47b[_0x38e752(0x6f)]>0x0&&_0x9c6a1f[_0x38e752(0xb6)](_0x3cc47b);for(const _0x2dd238 of _0xc6092d)_0x2dd238[_0x38e752(0x79)]();});});for(const _0x574f5e of[_0x190f84(0xc2),_0x190f84(0xb5),_0x190f84(0x9a),_0x190f84(0x8f)]){const _0x5c7cd3=_0x3c6446[_0x190f84(0x68)][_0x190f84(0xc6)](_0x574f5e);_0x5c7cd3['on'](_0x190f84(0xad),(_0x55efbd,_0x593048,_0x37fa61)=>{const _0x2d6008=_0x190f84;if(_0x37fa61){const _0x2d6720=_0x3c6446[_0x2d6008(0xba)][_0x2d6008(0x8e)][_0x2d6008(0x73)][_0x2d6008(0xca)]()[_0x2d6008(0x77)]()[_0x2d6008(0xc3)](_0x31df23=>_0x31df23['is'](_0x2d6008(0x88),_0x2d6008(0x95)));this[_0x2d6008(0xc0)](_0x5c7cd3[_0x2d6008(0x71)],_0x2d6720)||(_0x55efbd[_0x2d6008(0x6d)]=!0x1,_0x55efbd[_0x2d6008(0x9e)]());}},{'priority':_0x190f84(0x70)});}}[_0x1edb68(0x81)](){const _0x330d9e=_0x1edb68,_0x3d80ac=this[_0x330d9e(0xa0)][_0x330d9e(0x68)][_0x330d9e(0xc6)](_0x330d9e(0x65)),_0x5afd2e=this[_0x330d9e(0xa0)][_0x330d9e(0x7d)][_0x330d9e(0xc6)](_0x330d9e(0x7b));if(!_0x3d80ac[_0x330d9e(0xa8)])return!0x1;const _0x29ba73=_0x5afd2e[_0x330d9e(0xaf)](this[_0x330d9e(0xa0)][_0x330d9e(0xba)][_0x330d9e(0x8e)][_0x330d9e(0x73)]);for(const _0x5eaa55 of _0x29ba73)for(const _0xde2184 of _0x29ba73)if(_0x5eaa55!=_0xde2184&&!this[_0x330d9e(0xc0)](_0x5eaa55,_0xde2184))return!0x1;return!0x0;}[_0x1edb68(0xc0)](_0xa5a023,_0x5f0167){const _0xeb75ad=_0x1edb68,_0x4e3dd8=this[_0xeb75ad(0xa0)][_0xeb75ad(0x7d)][_0xeb75ad(0xc6)](_0xeb75ad(0xa3)),_0x2b2f79=this[_0xeb75ad(0xa0)][_0xeb75ad(0xba)][_0xeb75ad(0x9b)](_0xa5a023),_0x37f8e0=this[_0xeb75ad(0xa0)][_0xeb75ad(0xba)][_0xeb75ad(0x9b)](_0x5f0167),_0x2df627=new Set(),_0x42b10f=new Set();for(const _0x1fb368 of _0x4e3dd8[_0xeb75ad(0xbd)]())if((_0xeb75ad(0x75)==_0x1fb368[_0xeb75ad(0x7e)]||_0xeb75ad(0xa9)==_0x1fb368[_0xeb75ad(0x7e)]||_0xeb75ad(0x65)==_0x1fb368[_0xeb75ad(0x80)])&&_0x1fb368[_0xeb75ad(0x6b)]){for(const _0x2532ef of _0x1fb368[_0xeb75ad(0xb0)]())_0x2532ef[_0xeb75ad(0xbc)](_0x2b2f79,!0x0)&&_0x2df627[_0xeb75ad(0xb8)](_0x1fb368[_0xeb75ad(0x7e)]+':'+_0x1fb368[_0xeb75ad(0x90)]['id']),_0x2532ef[_0xeb75ad(0xbc)](_0x37f8e0,!0x0)&&_0x42b10f[_0xeb75ad(0xb8)](_0x1fb368[_0xeb75ad(0x7e)]+':'+_0x1fb368[_0xeb75ad(0x90)]['id']);}if(_0x2df627[_0xeb75ad(0x97)]!=_0x42b10f[_0xeb75ad(0x97)])return!0x1;for(const _0x689728 of _0x2df627)if(!_0x42b10f[_0xeb75ad(0x7c)](_0x689728))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2b26ff=_0x32a9;(function(_0xc10d2b,_0x1d477a){const _0x2f823b=_0x32a9,_0x18a1db=_0xc10d2b();while(!![]){try{const _0x236844=parseInt(_0x2f823b(0x176))/0x1+-parseInt(_0x2f823b(0x170))/0x2+parseInt(_0x2f823b(0x169))/0x3+-parseInt(_0x2f823b(0x16f))/0x4+-parseInt(_0x2f823b(0x17b))/0x5+parseInt(_0x2f823b(0x173))/0x6+-parseInt(_0x2f823b(0x16d))/0x7;if(_0x236844===_0x1d477a)break;else _0x18a1db['push'](_0x18a1db['shift']());}catch(_0x4f1c23){_0x18a1db['push'](_0x18a1db['shift']());}}}(_0x4338,0xd894c));import{Plugin as _0x243a87}from'ckeditor5/src/core.js';function _0x4338(){const _0x293580=['8690544KswoXE','afterInit','editor','504973JCERpT','tableOfContents','get','ELEMENT_TABLE_OF_CONTENTS','descriptionFactory','3764600Ehdqks','commands','1362612ojnfAH','locale','plugins','TrackChangesEditing','235886QDnlrJ','insertTableOfContents','2772360lLpbcw','81554DrsbbK','registerElementLabel','enableCommand'];_0x4338=function(){return _0x293580;};return _0x4338();}function _0x32a9(_0x53343a,_0x966848){const _0x4338e8=_0x4338();return _0x32a9=function(_0x32a9e3,_0x101d18){_0x32a9e3=_0x32a9e3-0x168;let _0x4b10ca=_0x4338e8[_0x32a9e3];return _0x4b10ca;},_0x32a9(_0x53343a,_0x966848);}import{getTranslation as _0x190d3c}from'../utils/common-translations.js';export class TrackChangesTableOfContents extends _0x243a87{[_0x2b26ff(0x174)](){const _0x1367bd=_0x2b26ff,_0x5e1cc5=this[_0x1367bd(0x175)];if(!_0x5e1cc5[_0x1367bd(0x168)][_0x1367bd(0x178)](_0x1367bd(0x16e)))return;_0x5e1cc5[_0x1367bd(0x16b)][_0x1367bd(0x178)](_0x1367bd(0x16c))[_0x1367bd(0x172)](_0x1367bd(0x16e));const _0x492df6=_0x5e1cc5[_0x1367bd(0x16b)][_0x1367bd(0x178)](_0x1367bd(0x16c)),_0xc4f7=_0x5e1cc5[_0x1367bd(0x16a)];_0x492df6[_0x1367bd(0x17a)][_0x1367bd(0x171)](_0x1367bd(0x177),_0x3ccc98=>_0x190d3c(_0xc4f7,_0x1367bd(0x179),_0x3ccc98));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x45493f=_0x73e2;(function(_0x6e99e7,_0x49f193){const _0x2bd62a=_0x73e2,_0x2d271a=_0x6e99e7();while(!![]){try{const _0xd29988=parseInt(_0x2bd62a(0x171))/0x1+-parseInt(_0x2bd62a(0x15f))/0x2+parseInt(_0x2bd62a(0x123))/0x3+-parseInt(_0x2bd62a(0x154))/0x4*(-parseInt(_0x2bd62a(0x158))/0x5)+-parseInt(_0x2bd62a(0x177))/0x6+-parseInt(_0x2bd62a(0x141))/0x7*(parseInt(_0x2bd62a(0x14c))/0x8)+parseInt(_0x2bd62a(0x13f))/0x9*(parseInt(_0x2bd62a(0x142))/0xa);if(_0xd29988===_0x49f193)break;else _0x2d271a['push'](_0x2d271a['shift']());}catch(_0x590601){_0x2d271a['push'](_0x2d271a['shift']());}}}(_0x5c63,0x9bf90));function _0x5c63(){const _0x45578b=['tableCellBackgroundColor','isPremiumPlugin','registerCustomCallback','handleDiscardAction','data','tableBorderWidth','enableCommand','afterInit','TrackChangesTableProperties','markBlockFormat','change','toUpperCase','getSuggestionCallback','table','tableBorderStyle','model','FORMAT_','_registerTablePropertiesAttributes','tableCellVerticalAlignment','accept','TrackChangesEditing','document','_getSuggestion','getAttribute','nodeAfter','getSuggestions','19388979yONBkB','tableBackgroundColor','1589749xqUWmT','10KnkSJN','batch','TableUtils','commandParams','setAttribute','tableProperties','selection','tableCellPadding','tableHeight','get','24KlfjQw','tableCellBorderWidth','has','format','tableCellHorizontalAlignment','replace','handleSuggestionDescription','enqueueChange','8ZEZsVl','findAncestor','editor','start','533765naCEJI','tableCellBorderColor','tableCellHeight','tableCellWidth','plugins','_$1','getFirstPosition','1691624ZMIbmL','registerAttributeLabel','join','registerDescriptionCallback','removeAttribute','_handlePropertyChange','tableWidth','TablePropertiesEditing','pluginName','getSelectionAffectedTableCells','formatBlock','TableCellPropertiesEditing','tableCellProperties','tableAlignment','tableCellBorderStyle','descriptionFactory','isOfficialPlugin','registerBlockAttribute','246624uFUjkr','getContainedElement','*Format:*\x20change\x20table\x20properties','subType','discard','locale','4897776ctLkrK','_suggestionFactory','*Format:*\x20change\x20table\x20cell\x20properties','1103496vGodUE','tableBorderColor'];_0x5c63=function(){return _0x45578b;};return _0x5c63();}import{Plugin as _0x55bb3b}from'ckeditor5/src/core.js';function _0x73e2(_0x55f8e3,_0xb9d260){const _0x5c63d8=_0x5c63();return _0x73e2=function(_0x73e218,_0x5f1e33){_0x73e218=_0x73e218-0x123;let _0x3af7e5=_0x5c63d8[_0x73e218];return _0x3af7e5;},_0x73e2(_0x55f8e3,_0xb9d260);}import{getTranslation as _0x1b0c96}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x55bb3b{[_0x45493f(0x147)];[_0x45493f(0x16b)];constructor(_0x845f58){const _0x5d53cf=_0x45493f;super(_0x845f58),this[_0x5d53cf(0x147)]=[_0x5d53cf(0x124),_0x5d53cf(0x133),_0x5d53cf(0x12a),_0x5d53cf(0x16c),_0x5d53cf(0x165),_0x5d53cf(0x14a),_0x5d53cf(0x140)],this[_0x5d53cf(0x16b)]=[_0x5d53cf(0x159),_0x5d53cf(0x16d),_0x5d53cf(0x14d),_0x5d53cf(0x149),_0x5d53cf(0x15b),_0x5d53cf(0x15a),_0x5d53cf(0x125),_0x5d53cf(0x150),_0x5d53cf(0x137)];}static get[_0x45493f(0x167)](){const _0x2f17ff=_0x45493f;return _0x2f17ff(0x12d);}static get[_0x45493f(0x16f)](){return!0x0;}static get[_0x45493f(0x126)](){return!0x0;}[_0x45493f(0x12c)](){const _0x1b8923=_0x45493f,_0x581b24=this[_0x1b8923(0x156)][_0x1b8923(0x15c)][_0x1b8923(0x14b)](_0x1b8923(0x139));if(this[_0x1b8923(0x156)][_0x1b8923(0x15c)][_0x1b8923(0x14e)](_0x1b8923(0x166))){for(const _0x21dd2c of this[_0x1b8923(0x147)])_0x581b24[_0x1b8923(0x12b)](_0x21dd2c,(_0x26bbec,_0x6dc729)=>{const _0x39a0e6=_0x1b8923,_0x397cc1=this[_0x39a0e6(0x156)][_0x39a0e6(0x134)][_0x39a0e6(0x13a)][_0x39a0e6(0x148)][_0x39a0e6(0x15e)]()[_0x39a0e6(0x155)](_0x39a0e6(0x132));this[_0x39a0e6(0x164)](_0x21dd2c,[_0x397cc1],this[_0x39a0e6(0x147)],_0x39a0e6(0x147),_0x26bbec,_0x6dc729);});_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x147),_0x1b8923(0x138),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x131)](_0x1b8923(0x169),null,_0x1b8923(0x175))),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x147),_0x1b8923(0x175),(_0x23d752,_0x10f433)=>this[_0x1b8923(0x128)](this[_0x1b8923(0x147)],_0x23d752,_0x10f433)),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x147),_0x1b8923(0x161),()=>!0x1);}if(this[_0x1b8923(0x156)][_0x1b8923(0x15c)][_0x1b8923(0x14e)](_0x1b8923(0x16a))){for(const _0x3aa2ac of this[_0x1b8923(0x16b)])_0x581b24[_0x1b8923(0x12b)](_0x3aa2ac,(_0x5368d9,_0x7474d)=>{const _0x3cba19=_0x1b8923,_0x213d88=this[_0x3cba19(0x156)][_0x3cba19(0x15c)][_0x3cba19(0x14b)](_0x3cba19(0x144))[_0x3cba19(0x168)](this[_0x3cba19(0x156)][_0x3cba19(0x134)][_0x3cba19(0x13a)][_0x3cba19(0x148)]);this[_0x3cba19(0x164)](_0x3aa2ac,_0x213d88,this[_0x3cba19(0x16b)],_0x3cba19(0x16b),_0x5368d9,_0x7474d);});_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x16b),_0x1b8923(0x138),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x131)](_0x1b8923(0x169),null,_0x1b8923(0x175))),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x16b),_0x1b8923(0x175),(_0xb07570,_0x40b910)=>this[_0x1b8923(0x128)](this[_0x1b8923(0x16b)],_0xb07570,_0x40b910)),_0x581b24[_0x1b8923(0x178)][_0x1b8923(0x127)](_0x1b8923(0x169),_0x1b8923(0x16b),_0x1b8923(0x161),()=>!0x1);}_0x581b24[_0x1b8923(0x16e)][_0x1b8923(0x162)](_0x124578=>this[_0x1b8923(0x152)](_0x124578)),this[_0x1b8923(0x136)]();}[_0x45493f(0x164)](_0x3b9dea,_0x30b8e9,_0x525d16,_0x467835,_0x2af7dc,_0x3ea1d7){const _0x5e2ed9=_0x45493f,_0x4bd61a=this[_0x5e2ed9(0x156)][_0x5e2ed9(0x15c)][_0x5e2ed9(0x14b)](_0x5e2ed9(0x139));this[_0x5e2ed9(0x156)][_0x5e2ed9(0x134)][_0x5e2ed9(0x153)](_0x3ea1d7[_0x5e2ed9(0x143)],()=>{const _0x18d827=_0x5e2ed9;for(const _0x4b1b35 of _0x30b8e9){if(this[_0x18d827(0x13b)](_0x4b1b35,_0x467835))_0x2af7dc(_0x3ea1d7);else{const _0x23d1f1={};for(const _0x18f614 of _0x525d16){const _0xdbcf1b=_0x4b1b35[_0x18d827(0x13c)](_0x18f614);void 0x0!==_0xdbcf1b&&(_0x23d1f1[_0x18f614]=_0xdbcf1b);}_0x2af7dc(_0x3ea1d7),_0x4bd61a[_0x18d827(0x12e)](_0x4b1b35,{'commandParams':[_0x23d1f1]},[],_0x467835);}}});}[_0x45493f(0x128)](_0x527f65,_0x1bb146,_0x45f972){const _0x4caa00=_0x45493f,_0x4d3f27=_0x1bb146[0x0][_0x4caa00(0x157)][_0x4caa00(0x13d)],_0x251a87=_0x45f972[_0x4caa00(0x145)][0x0];this[_0x4caa00(0x156)][_0x4caa00(0x134)][_0x4caa00(0x12f)](_0x27306b=>{const _0x1ee351=_0x4caa00;for(const _0x292fce of _0x527f65)void 0x0!==_0x251a87[_0x292fce]?_0x27306b[_0x1ee351(0x146)](_0x292fce,_0x251a87[_0x292fce],_0x4d3f27):_0x27306b[_0x1ee351(0x163)](_0x292fce,_0x4d3f27);});}[_0x45493f(0x152)](_0x17f3f3){const _0x3220cb=_0x45493f;if(_0x17f3f3[_0x3220cb(0x129)])switch(_0x17f3f3[_0x3220cb(0x174)]){case _0x3220cb(0x147):return{'type':_0x3220cb(0x14f),'content':_0x1b0c96(this[_0x3220cb(0x156)][_0x3220cb(0x176)],_0x3220cb(0x173))};case _0x3220cb(0x16b):return{'type':_0x3220cb(0x14f),'content':_0x1b0c96(this[_0x3220cb(0x156)][_0x3220cb(0x176)],_0x3220cb(0x179))};}}[_0x45493f(0x13b)](_0x593e1e,_0x1b05e9){const _0xb8d8f0=_0x45493f,_0x29fe1e=this[_0xb8d8f0(0x156)][_0xb8d8f0(0x15c)][_0xb8d8f0(0x14b)](_0xb8d8f0(0x139));for(const _0x5b82dd of _0x29fe1e[_0xb8d8f0(0x13e)]({'skipNotAttached':!0x0})){const _0x530273=_0x5b82dd[_0xb8d8f0(0x172)]();if(_0x5b82dd[_0xb8d8f0(0x174)]===_0x1b05e9&&_0x530273===_0x593e1e)return _0x5b82dd;}return null;}[_0x45493f(0x136)](){const _0xa2cd94=_0x45493f,_0x1d02bc=this[_0xa2cd94(0x156)][_0xa2cd94(0x15c)][_0xa2cd94(0x14b)](_0xa2cd94(0x139)),_0x5249f0=[...this[_0xa2cd94(0x147)],...this[_0xa2cd94(0x16b)]];for(const _0x5d802d of _0x5249f0){const _0x35325f=_0x5d802d[_0xa2cd94(0x151)](/([A-Z])/g,_0xa2cd94(0x15d))[_0xa2cd94(0x130)]();_0x1d02bc[_0xa2cd94(0x170)](_0x5d802d),_0x1d02bc[_0xa2cd94(0x16e)][_0xa2cd94(0x160)](_0x5d802d,_0x1b0c96(this[_0xa2cd94(0x156)][_0xa2cd94(0x176)],_0xa2cd94(0x135)+_0x35325f));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4922da=_0x157c;function _0x4aee(){const _0x58ea1c=['362380OSVGHI','TrackChangesEditing','684059NoAVAc','82410tvuKaj','enableCommand','185JqOUsc','insertTemplate','341HDCaXa','15993aRaNqV','58818HlSBlJ','2hfHewK','Template','4788IixEWe','has','plugins','712OyhcPe','afterInit','708939blQXYQ','3phIhYB','get','41223iQdiRT','editor'];_0x4aee=function(){return _0x58ea1c;};return _0x4aee();}function _0x157c(_0x3ff0f3,_0x51ce84){const _0x4aeed3=_0x4aee();return _0x157c=function(_0x157c82,_0x1e09e8){_0x157c82=_0x157c82-0x158;let _0x5eafed=_0x4aeed3[_0x157c82];return _0x5eafed;},_0x157c(_0x3ff0f3,_0x51ce84);}(function(_0x22cf3f,_0x20c546){const _0x46327b=_0x157c,_0x901d04=_0x22cf3f();while(!![]){try{const _0x8449c5=-parseInt(_0x46327b(0x15b))/0x1*(parseInt(_0x46327b(0x163))/0x2)+-parseInt(_0x46327b(0x16b))/0x3*(parseInt(_0x46327b(0x159))/0x4)+-parseInt(_0x46327b(0x15e))/0x5*(parseInt(_0x46327b(0x162))/0x6)+-parseInt(_0x46327b(0x16a))/0x7+-parseInt(_0x46327b(0x168))/0x8*(-parseInt(_0x46327b(0x161))/0x9)+parseInt(_0x46327b(0x15c))/0xa*(parseInt(_0x46327b(0x160))/0xb)+-parseInt(_0x46327b(0x165))/0xc*(-parseInt(_0x46327b(0x16d))/0xd);if(_0x8449c5===_0x20c546)break;else _0x901d04['push'](_0x901d04['shift']());}catch(_0xa0621){_0x901d04['push'](_0x901d04['shift']());}}}(_0x4aee,0x6b793));import{Plugin as _0x8037a7}from'ckeditor5/src/core.js';export class TrackChangesTemplate extends _0x8037a7{[_0x4922da(0x169)](){const _0x371255=_0x4922da,_0x5cf4b9=this[_0x371255(0x158)];_0x5cf4b9[_0x371255(0x167)][_0x371255(0x166)](_0x371255(0x164))&&_0x5cf4b9[_0x371255(0x167)][_0x371255(0x16c)](_0x371255(0x15a))[_0x371255(0x15d)](_0x371255(0x15f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b0626=_0x41f5;function _0x2ebc(){const _0x3045fd=['has','getNearestSelectionRange','editor','registerPostFixer','descriptionFactory','forward','7cyCWhX','733336igwxFi','afterInit','document','isTouching','_splitMarkerName','ELEMENT_TITLE','isEqual','Title','createRange','start','model','nodeBefore','differ','1470340XWLZqp','2954372uGUVSd','1273459SyXrtC','removeMarker','573644PGGIpg','get','newRange','plugins','updateMarker','locale','110soxSGj','2900730ekJwYD','registerElementLabel','isCollapsed','448461oWUKPy','schema','getChangedMarkers','element','2RUKRcV','title-content','6BcdaMN','from','TrackChangesEditing','suggestion','end'];_0x2ebc=function(){return _0x3045fd;};return _0x2ebc();}function _0x41f5(_0x4b0518,_0x5edd15){const _0x2ebc70=_0x2ebc();return _0x41f5=function(_0x41f577,_0x1c4752){_0x41f577=_0x41f577-0xce;let _0x55679a=_0x2ebc70[_0x41f577];return _0x55679a;},_0x41f5(_0x4b0518,_0x5edd15);}(function(_0x344455,_0x5d216b){const _0x33f0a9=_0x41f5,_0xd0591c=_0x344455();while(!![]){try{const _0x236cc9=parseInt(_0x33f0a9(0xd6))/0x1*(-parseInt(_0x33f0a9(0xf5))/0x2)+parseInt(_0x33f0a9(0xcf))/0x3+-parseInt(_0x33f0a9(0xf2))/0x4+parseInt(_0x33f0a9(0xf1))/0x5*(-parseInt(_0x33f0a9(0xd8))/0x6)+parseInt(_0x33f0a9(0xe3))/0x7*(-parseInt(_0x33f0a9(0xe4))/0x8)+-parseInt(_0x33f0a9(0xd2))/0x9+-parseInt(_0x33f0a9(0xce))/0xa*(-parseInt(_0x33f0a9(0xf3))/0xb);if(_0x236cc9===_0x5d216b)break;else _0xd0591c['push'](_0xd0591c['shift']());}catch(_0x4a9fc4){_0xd0591c['push'](_0xd0591c['shift']());}}}(_0x2ebc,0x78418));import{Plugin as _0x507793}from'ckeditor5/src/core.js';import{getTranslation as _0x143f46}from'../utils/common-translations.js';export class TrackChangesTitle extends _0x507793{[_0x4b0626(0xe5)](){const _0x1174f6=_0x4b0626,_0xa6d205=this[_0x1174f6(0xdf)];if(!_0xa6d205[_0x1174f6(0xf8)][_0x1174f6(0xdd)](_0x1174f6(0xeb)))return;const _0x4104f7=_0xa6d205[_0x1174f6(0xf8)][_0x1174f6(0xf6)](_0x1174f6(0xda));_0x4104f7[_0x1174f6(0xe1)][_0x1174f6(0xd0)](_0x1174f6(0xd7),()=>_0x143f46(_0xa6d205[_0x1174f6(0xfa)],_0x1174f6(0xe9))),_0xa6d205[_0x1174f6(0xee)][_0x1174f6(0xe6)][_0x1174f6(0xe0)](_0x12737b=>{const _0x59bc49=_0x1174f6;let _0xe38a7a=!0x1;const _0x45ec8b=Array[_0x59bc49(0xd9)](_0xa6d205[_0x59bc49(0xee)][_0x59bc49(0xe6)][_0x59bc49(0xf0)][_0x59bc49(0xd4)]());for(const {name:_0x42a67f,data:_0x50daaf}of _0x45ec8b){const {group:_0x162909}=_0x4104f7[_0x59bc49(0xe8)](_0x42a67f);if(_0x59bc49(0xdb)!==_0x162909||!_0x50daaf[_0x59bc49(0xf7)])continue;const _0x4be0be=_0x50daaf[_0x59bc49(0xf7)],_0x1adf29=_0x4be0be[_0x59bc49(0xdc)][_0x59bc49(0xef)];if(!_0x1adf29||!_0x1adf29['is'](_0x59bc49(0xd5),_0x59bc49(0xd7)))continue;if(!_0x4be0be[_0x59bc49(0xed)][_0x59bc49(0xe7)](_0x4be0be[_0x59bc49(0xdc)]))continue;const _0x283ed7=_0xa6d205[_0x59bc49(0xee)][_0x59bc49(0xd3)][_0x59bc49(0xde)](_0x4be0be[_0x59bc49(0xdc)],_0x59bc49(0xe2));if(_0x283ed7&&_0x283ed7[_0x59bc49(0xd1)]){const _0x21e76b=_0x12737b[_0x59bc49(0xec)](_0x4be0be[_0x59bc49(0xed)],_0x283ed7[_0x59bc49(0xed)]);_0x21e76b[_0x59bc49(0xea)](_0x4be0be)||(_0x12737b[_0x59bc49(0xf9)](_0x42a67f,{'range':_0x21e76b}),_0xe38a7a=!0x0);}_0xe38a7a||(_0x12737b[_0x59bc49(0xf4)](_0x42a67f),_0xe38a7a=!0x0);}return _0xe38a7a;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2afb(_0x4997cd,_0x4c5eed){const _0x14bce7=_0x14bc();return _0x2afb=function(_0x2afb7c,_0x2e41ee){_0x2afb7c=_0x2afb7c-0x93;let _0x7654d4=_0x14bce7[_0x2afb7c];return _0x7654d4;},_0x2afb(_0x4997cd,_0x4c5eed);}const _0x99a204=_0x2afb;function _0x14bc(){const _0x5cd728=['1158878fZymIe','649215AdwOPW','30aGgsvX','redo','594097WsNfGm','undo','enableCommand','669lWvDgE','get','editor','66Jlphik','22024sRLVBQ','has','60264fHuZOY','8675139uHRkpO','afterInit','plugins','378KNgIPt','TrackChangesEditing','2218410aTUYBC','UndoEditing'];_0x14bc=function(){return _0x5cd728;};return _0x14bc();}(function(_0x4a8fdc,_0x4eb1a4){const _0x377808=_0x2afb,_0x17d65c=_0x4a8fdc();while(!![]){try{const _0x38ac14=parseInt(_0x377808(0x99))/0x1+-parseInt(_0x377808(0x98))/0x2+-parseInt(_0x377808(0x9f))/0x3*(-parseInt(_0x377808(0xa3))/0x4)+parseInt(_0x377808(0x96))/0x5+parseInt(_0x377808(0xa2))/0x6*(parseInt(_0x377808(0x9c))/0x7)+-parseInt(_0x377808(0xa5))/0x8*(-parseInt(_0x377808(0x94))/0x9)+parseInt(_0x377808(0x9a))/0xa*(-parseInt(_0x377808(0xa6))/0xb);if(_0x38ac14===_0x4eb1a4)break;else _0x17d65c['push'](_0x17d65c['shift']());}catch(_0x19f5c5){_0x17d65c['push'](_0x17d65c['shift']());}}}(_0x14bc,0x98aa4));import{Plugin as _0x5bc17e}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x5bc17e{[_0x99a204(0xa7)](){const _0x329a27=_0x99a204,_0x45e2c6=this[_0x329a27(0xa1)],_0x394abb=_0x45e2c6[_0x329a27(0x93)][_0x329a27(0xa0)](_0x329a27(0x95));_0x45e2c6[_0x329a27(0x93)][_0x329a27(0xa4)](_0x329a27(0x97))&&(_0x394abb[_0x329a27(0x9e)](_0x329a27(0x9d)),_0x394abb[_0x329a27(0x9e)](_0x329a27(0x9b)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3ba4bc=_0x2b0a;function _0x2b0a(_0x1ef731,_0x4e678e){const _0x4341d9=_0x4341();return _0x2b0a=function(_0x2b0ace,_0x1fea68){_0x2b0ace=_0x2b0ace-0x125;let _0x4b94ce=_0x4341d9[_0x2b0ace];return _0x4b94ce;},_0x2b0a(_0x1ef731,_0x4e678e);}function _0x4341(){const _0x32453b=['3928iHXeHr','has','type','format','uploadcareImageReplace','665559WwVEzm','enableDefaultAttributesIntegration','2523CXnNzr','4304169FMCgNq','afterInit','TrackChangesEditing','66gojECU','plugins','key','enableCommand','registerBlockAttribute','563435sWpWJA','editor','uploadcareImageEdit','1762596xBSZda','registerDescriptionCallback','uploadcare','8106259xPBPhI','descriptionFactory','Uploadcare','uploadcareImageId','attribute','get','8BIJapl','UploadcareImageEdit','41072000fzhKCF'];_0x4341=function(){return _0x32453b;};return _0x4341();}(function(_0x40e90a,_0x22f055){const _0x3c5cd9=_0x2b0a,_0x5b3124=_0x40e90a();while(!![]){try{const _0x96f7a2=-parseInt(_0x3c5cd9(0x141))/0x1+parseInt(_0x3c5cd9(0x130))/0x2+parseInt(_0x3c5cd9(0x143))/0x3*(-parseInt(_0x3c5cd9(0x13c))/0x4)+parseInt(_0x3c5cd9(0x12d))/0x5*(-parseInt(_0x3c5cd9(0x128))/0x6)+-parseInt(_0x3c5cd9(0x133))/0x7+-parseInt(_0x3c5cd9(0x139))/0x8*(parseInt(_0x3c5cd9(0x125))/0x9)+parseInt(_0x3c5cd9(0x13b))/0xa;if(_0x96f7a2===_0x22f055)break;else _0x5b3124['push'](_0x5b3124['shift']());}catch(_0x361ec5){_0x5b3124['push'](_0x5b3124['shift']());}}}(_0x4341,0x97aba));import{Plugin as _0x123a2f}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x123a2f{[_0x3ba4bc(0x126)](){const _0x2ba76b=_0x3ba4bc,_0x567750=this[_0x2ba76b(0x12e)],_0x5a20d9=_0x567750[_0x2ba76b(0x129)][_0x2ba76b(0x138)](_0x2ba76b(0x127));_0x567750[_0x2ba76b(0x129)][_0x2ba76b(0x13d)](_0x2ba76b(0x135))&&(_0x5a20d9[_0x2ba76b(0x12b)](_0x2ba76b(0x132)),_0x567750[_0x2ba76b(0x129)][_0x2ba76b(0x13d)](_0x2ba76b(0x13a))&&(_0x5a20d9[_0x2ba76b(0x12b)](_0x2ba76b(0x12f)),_0x5a20d9[_0x2ba76b(0x142)](_0x2ba76b(0x140)),_0x5a20d9[_0x2ba76b(0x12c)](_0x2ba76b(0x136)),_0x5a20d9[_0x2ba76b(0x134)][_0x2ba76b(0x131)](_0x1b68e8=>{const _0x1d6a89=_0x2ba76b;if(_0x1d6a89(0x137)!=_0x1b68e8[_0x1d6a89(0x13e)])return;const {data:_0x47c2d1}=_0x1b68e8;return _0x47c2d1&&_0x1d6a89(0x136)==_0x47c2d1[_0x1d6a89(0x12a)]?{'type':_0x1d6a89(0x13f),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x579079,_0x59771b){const _0x504c26=_0x2c86,_0x352467=_0x579079();while(!![]){try{const _0x12c59b=-parseInt(_0x504c26(0x1f4))/0x1*(parseInt(_0x504c26(0x20f))/0x2)+-parseInt(_0x504c26(0x1fe))/0x3*(-parseInt(_0x504c26(0x1e0))/0x4)+parseInt(_0x504c26(0x212))/0x5*(parseInt(_0x504c26(0x1ea))/0x6)+-parseInt(_0x504c26(0x1de))/0x7+-parseInt(_0x504c26(0x1dd))/0x8*(parseInt(_0x504c26(0x1e7))/0x9)+-parseInt(_0x504c26(0x1ff))/0xa+parseInt(_0x504c26(0x1e8))/0xb*(parseInt(_0x504c26(0x203))/0xc);if(_0x12c59b===_0x59771b)break;else _0x352467['push'](_0x352467['shift']());}catch(_0x3e6df7){_0x352467['push'](_0x352467['shift']());}}}(_0x46e9,0x1d1b1));function _0x2c86(_0x3752c3,_0x356f6f){const _0x46e9fa=_0x46e9();return _0x2c86=function(_0x2c86af,_0x5a1d33){_0x2c86af=_0x2c86af-0x1dd;let _0x19c10f=_0x46e9fa[_0x2c86af];return _0x19c10f;},_0x2c86(_0x3752c3,_0x356f6f);}export function getRangesWithAttribute(_0x4ae8b3,_0xb30be9,_0x2d7404){const _0x364fec=_0x2c86,_0xe7bc1d=[];for(const _0x2612d9 of _0xb30be9[_0x364fec(0x201)]())_0x2612d9[_0x364fec(0x1fb)](_0x4ae8b3)&&_0xe7bc1d[_0x364fec(0x1fa)](_0x2d7404[_0x364fec(0x1fd)](_0x2612d9));return _0xe7bc1d;}export function downcastSplitMergeMarker(_0x4617e4,_0x3d3587,{showActiveMarker:_0x26b288=!0x0}={}){const _0x19193e=_0x2c86,_0x389654=_0x4617e4[_0x19193e(0x1ef)][_0x19193e(0x200)](_0x19193e(0x1eb));return(_0x58f17f,_0x2842c2,_0x4e509d)=>{const _0x356d8a=_0x19193e;if(!_0x4e509d[_0x356d8a(0x1e5)][_0x356d8a(0x20e)](_0x2842c2[_0x356d8a(0x20b)],_0x58f17f[_0x356d8a(0x1f8)]))return;const _0x48e81c=_0x2842c2[_0x356d8a(0x20b)][_0x356d8a(0x1fc)](),_0xb9164=_0x2842c2[_0x356d8a(0x20b)][_0x356d8a(0x206)],_0x4ed21d=_0x4617e4[_0x356d8a(0x20c)][_0x356d8a(0x1e4)];let _0x324a41=null,_0x3d5e19=null,_0x1ccb25=!0x1,_0x146f31=!0x1;for(const _0x3563bb of _0x48e81c){const _0x58b8b1=_0x3563bb[_0x356d8a(0x211)];_0x1ccb25=_0x1ccb25||_0x4ed21d[_0x356d8a(0x1f7)](_0x58b8b1);const _0x363acb=_0x4e509d[_0x356d8a(0x1f0)][_0x356d8a(0x20a)](_0x58b8b1);if(_0x363acb&&_0x363acb[_0x356d8a(0x207)](_0x356d8a(0x1f1)))return;_0x356d8a(0x1f3)==_0x3563bb[_0x356d8a(0x205)]&&(_0x4ed21d[_0x356d8a(0x210)](_0x58b8b1)&&!_0x4ed21d[_0x356d8a(0x1f9)](_0x58b8b1)&&(_0x58b8b1[_0x356d8a(0x1ee)]||_0xb9164[_0x356d8a(0x1e3)]?_0x324a41&&_0x324a41[_0x356d8a(0x1f6)]==_0x58b8b1||(_0x324a41=_0x58b8b1,_0x2f8a66(_0x3563bb[_0x356d8a(0x1df)]),_0x146f31=!0x0):_0x3d5e19=_0x3d5e19||_0x3563bb[_0x356d8a(0x1df)]));}function _0x2f8a66(_0x1ab03c){const _0x1c1370=_0x356d8a,{id:_0x167887,authorId:_0x2fe0fd}=_0x389654[_0x1c1370(0x1ed)](_0x2842c2[_0x1c1370(0x1e2)]),_0x4b2a09=_0x4e509d[_0x1c1370(0x209)][_0x1c1370(0x1e6)](_0x1c1370(0x1ec),{'class':_0x1c1370(0x204)+_0x3d3587,'data-suggestion':_0x167887,'data-author-id':_0x2fe0fd}),_0x1c0e5d=_0x4e509d[_0x1c1370(0x1f0)][_0x1c1370(0x1e1)](_0x1ab03c);_0x26b288&&_0x389654[_0x1c1370(0x202)][_0x1c1370(0x1f2)](_0x2842c2[_0x1c1370(0x1e2)])&&_0x4e509d[_0x1c1370(0x209)][_0x1c1370(0x208)](_0x1c1370(0x1e9),_0x4b2a09),_0x4e509d[_0x1c1370(0x209)][_0x1c1370(0x20d)](_0x1c0e5d,_0x4b2a09),_0x4e509d[_0x1c1370(0x1f0)][_0x1c1370(0x1f5)](_0x4b2a09,_0x2842c2[_0x1c1370(0x1e2)]);}_0x1ccb25||_0x146f31||!_0x3d5e19||_0x2f8a66(_0x3d5e19);};}function _0x46e9(){const _0x34e5bd=['1141032xIZFRJ','677516lWeROw','previousPosition','4wChOco','toViewPosition','markerName','isAtEnd','schema','consumable','createUIElement','9EzfVdK','2930917YzkJGd','ck-suggestion-marker--active','516QAHiQm','TrackChangesEditing','span','_splitMarkerName','nextSibling','plugins','mapper','addHighlight','includes','elementEnd','1yhUynO','bindElementToMarker','parent','isContent','name','isLimit','push','hasAttribute','getWalker','createRangeOn','500223JDhpQX','1434590AMzoqb','get','getItems','activeMarkers','12UcDHMm','ck-suggestion-marker-','type','start','getCustomProperty','addClass','writer','toViewElement','markerRange','model','insert','test','308874kEMqqe','isBlock','item','12985diPoWh'];_0x46e9=function(){return _0x34e5bd;};return _0x46e9();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x66ffd6=_0x3d61;(function(_0x4de4c3,_0x53c4f8){const _0x47893d=_0x3d61,_0x561000=_0x4de4c3();while(!![]){try{const _0x339e9d=parseInt(_0x47893d(0xab))/0x1+parseInt(_0x47893d(0xb8))/0x2+parseInt(_0x47893d(0xbd))/0x3*(parseInt(_0x47893d(0xb4))/0x4)+parseInt(_0x47893d(0xac))/0x5+-parseInt(_0x47893d(0xb2))/0x6+parseInt(_0x47893d(0xe3))/0x7*(-parseInt(_0x47893d(0xb1))/0x8)+-parseInt(_0x47893d(0xeb))/0x9*(-parseInt(_0x47893d(0xcd))/0xa);if(_0x339e9d===_0x53c4f8)break;else _0x561000['push'](_0x561000['shift']());}catch(_0x19c338){_0x561000['push'](_0x561000['shift']());}}}(_0x3e8b,0x7c67b));import{ModelElement as _0x6653d6}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x133577,uid as _0x94e58a}from'ckeditor5/src/utils.js';import{cloneDeep as _0x19279b,isEqual as _0x55b5a0,set as _0x48f64f,unset as _0x2d5506}from'es-toolkit/compat';function _0x3d61(_0x5a3db3,_0x1748b8){const _0x3e8b36=_0x3e8b();return _0x3d61=function(_0x3d6185,_0x453d37){_0x3d6185=_0x3d6185-0x9f;let _0x3d61bd=_0x3e8b36[_0x3d6185];return _0x3d61bd;},_0x3d61(_0x5a3db3,_0x1748b8);}export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x133577(){['id'];[_0x66ffd6(0xb0)];[_0x66ffd6(0xba)];[_0x66ffd6(0xaa)];[_0x66ffd6(0xc1)];[_0x66ffd6(0xcb)];[_0x66ffd6(0xc5)];[_0x66ffd6(0xb6)];[_0x66ffd6(0xb9)];[_0x66ffd6(0xa9)]=!0x1;[_0x66ffd6(0xd7)];[_0x66ffd6(0xc0)];[_0x66ffd6(0xdb)];[_0x66ffd6(0xc7)];[_0x66ffd6(0xe9)];constructor(_0x291163,_0xdd169e){const _0x335e6f=_0x66ffd6;super(),this['id']=_0xdd169e['id'],this[_0x335e6f(0xb0)]=_0xdd169e[_0x335e6f(0xb0)],this[_0x335e6f(0xba)]=_0xdd169e[_0x335e6f(0xba)]||null,this[_0x335e6f(0xaa)]=_0xdd169e[_0x335e6f(0xaa)],this[_0x335e6f(0xc1)]=_0xdd169e[_0x335e6f(0xc1)]||_0xdd169e[_0x335e6f(0xaa)],this[_0x335e6f(0xcb)]=Boolean(_0xdd169e[_0x335e6f(0xa8)]&&_0xdd169e[_0x335e6f(0xa8)][_0x335e6f(0xda)]),this[_0x335e6f(0xc5)]=null,this[_0x335e6f(0xb9)]=_0xdd169e[_0x335e6f(0xec)]||null,this[_0x335e6f(0xd7)]=_0x291163,this[_0x335e6f(0xc0)]=_0xdd169e[_0x335e6f(0xf0)],this[_0x335e6f(0xdb)]=_0xdd169e[_0x335e6f(0xc2)],this[_0x335e6f(0xc7)]=_0xdd169e[_0x335e6f(0xc9)],this[_0x335e6f(0xe9)]=new Set(),this[_0x335e6f(0xb6)]=null,this[_0x335e6f(0xaf)](_0x335e6f(0xd5),null),this[_0x335e6f(0xaf)](_0x335e6f(0xa8),_0xdd169e[_0x335e6f(0xa8)]||{}),this[_0x335e6f(0xaf)](_0x335e6f(0xe0),null),this[_0x335e6f(0xaf)](_0x335e6f(0xd9),null),this[_0x335e6f(0xaf)](_0x335e6f(0xbc),null),this[_0x335e6f(0xaf)](_0x335e6f(0xa5),!0x1),this[_0x335e6f(0xef)](_0x335e6f(0xe1)),this[_0x335e6f(0xef)](_0x335e6f(0xdf));}get[_0x66ffd6(0xcf)](){const _0x5ec9ee=_0x66ffd6;let _0x21258d=this;for(;_0x21258d[_0x5ec9ee(0xe0)];)_0x21258d=_0x21258d[_0x5ec9ee(0xe0)];return _0x21258d;}get[_0x66ffd6(0xd4)](){const _0x34e2b8=_0x66ffd6;return!!this[_0x34e2b8(0xbc)]&&this[_0x34e2b8(0xbc)][_0x34e2b8(0xc6)]>0x0;}get[_0x66ffd6(0xa3)](){const _0x5a6f66=_0x66ffd6;if(0x0==this[_0x5a6f66(0xe9)][_0x5a6f66(0xf1)])return!0x1;return 0x6==Array[_0x5a6f66(0xa2)](this[_0x5a6f66(0xe9)])[0x0][_0x5a6f66(0xd1)](':')[_0x5a6f66(0xc6)];}get[_0x66ffd6(0xa1)](){const _0x41810a=_0x66ffd6;return null!==this[_0x41810a(0xb7)]();}[_0x66ffd6(0xa4)](_0x3551f4){const _0x3411c9=_0x66ffd6;this[_0x3411c9(0xe9)][_0x3411c9(0xbe)](_0x3551f4);}[_0x66ffd6(0xd0)](){const _0x29e38d=_0x66ffd6;return Array[_0x29e38d(0xa2)](this[_0x29e38d(0xe9)]);}[_0x66ffd6(0xce)](){const _0x502cdf=_0x66ffd6;return this[_0x502cdf(0xd0)]()[_0x502cdf(0xdc)](_0xc04f06=>this[_0x502cdf(0xd7)][_0x502cdf(0xc4)][_0x502cdf(0xe2)](_0xc04f06))[_0x502cdf(0x9f)](_0x2a2d69=>_0x2a2d69);}[_0x66ffd6(0xb7)](){const _0x2ba55d=_0x66ffd6;return this[_0x2ba55d(0xce)]()[0x0]||null;}[_0x66ffd6(0xca)](){const _0x5e7375=_0x66ffd6;this[_0x5e7375(0xd7)][_0x5e7375(0xe4)](_0x334fc7=>{const _0x36a6e7=_0x5e7375;for(const _0x5bc5e5 of this[_0x36a6e7(0xce)]())_0x334fc7[_0x36a6e7(0xb3)](_0x5bc5e5);}),this[_0x5e7375(0xe9)][_0x5e7375(0xed)]();}[_0x66ffd6(0xb3)](_0xf8337){const _0x33c1f7=_0x66ffd6;this[_0x33c1f7(0xd7)][_0x33c1f7(0xe4)](_0x5e4c4a=>{const _0x21d3ce=_0x33c1f7;_0x5e4c4a[_0x21d3ce(0xb3)](_0xf8337);}),this[_0x33c1f7(0xe9)][_0x33c1f7(0xee)](_0xf8337);}[_0x66ffd6(0xb5)](_0x41b052){const _0x5d8e00=_0x66ffd6,_0x75e03a=_0x5d8e00(0xbb)+this[_0x5d8e00(0xb0)]+':'+this[_0x5d8e00(0xba)]+':'+this['id']+':'+this[_0x5d8e00(0xc1)]['id']+':'+Suggestion[_0x5d8e00(0xe7)]();this[_0x5d8e00(0xa4)](_0x75e03a),this[_0x5d8e00(0xd7)][_0x5d8e00(0xe4)](_0x4e07a3=>{const _0x5af07f=_0x5d8e00;_0x4e07a3[_0x5af07f(0xdd)](_0x75e03a,{'range':_0x41b052,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x66ffd6(0xe5)](_0x3b350b){const _0x1646f3=_0x66ffd6;for(const _0x5c1906 of this[_0x1646f3(0xad)]())if(_0x5c1906[_0x1646f3(0xea)](_0x3b350b))return!0x0;return!0x1;}[_0x66ffd6(0xad)](){const _0x53a665=_0x66ffd6;return this[_0x53a665(0xce)]()[_0x53a665(0xdc)](_0x19340f=>_0x19340f[_0x53a665(0xd3)]());}[_0x66ffd6(0xa6)](){const _0x32f5af=_0x66ffd6;return this[_0x32f5af(0xad)]()[_0x32f5af(0xa0)]((_0x310440,_0xaf27fa)=>[..._0x310440,..._0xaf27fa[_0x32f5af(0xa6)]()],[]);}[_0x66ffd6(0xe6)](){const _0x3a5ade=_0x66ffd6;return this[_0x3a5ade(0xb7)]()?.[_0x3a5ade(0xd3)]()||null;}[_0x66ffd6(0xae)](){const _0x2a2189=_0x66ffd6,_0x505f56=this[_0x2a2189(0xad)]();if(0x1!=_0x505f56[_0x2a2189(0xc6)])return null;const _0x1a5f71=_0x505f56[0x0],_0x23af34=_0x1a5f71[_0x2a2189(0xe8)][_0x2a2189(0xc8)],_0x5cdfa8=_0x1a5f71[_0x2a2189(0xd6)][_0x2a2189(0xcc)];return _0x23af34 instanceof _0x6653d6?_0x23af34!=_0x5cdfa8?null:_0x23af34:null;}[_0x66ffd6(0xe1)](){const _0x367d93=_0x66ffd6;this[_0x367d93(0xc0)](this[_0x367d93(0xad)](),this[_0x367d93(0xc5)],this[_0x367d93(0xa8)]),this[_0x367d93(0xca)]();}[_0x66ffd6(0xdf)](){const _0x12e4b4=_0x66ffd6;this[_0x12e4b4(0xdb)](this[_0x12e4b4(0xad)](),this[_0x12e4b4(0xc5)],this[_0x12e4b4(0xa8)]),this[_0x12e4b4(0xca)]();}[_0x66ffd6(0xbf)](){const _0x4f8e01=_0x66ffd6,_0x1a37b2=[];let _0x2157b0=this[_0x4f8e01(0xcf)];for(;_0x2157b0;)_0x1a37b2[_0x4f8e01(0xd2)](_0x2157b0),_0x2157b0=_0x2157b0[_0x4f8e01(0xd9)];return _0x1a37b2;}[_0x66ffd6(0xa7)](_0x4450f2,_0x5527dc){const _0x863f85=_0x66ffd6,_0x4c7640=_0x19279b(this[_0x863f85(0xa8)]);_0x48f64f(_0x4c7640,_0x4450f2,_0x5527dc),_0x55b5a0(_0x4c7640,this[_0x863f85(0xa8)])||(this[_0x863f85(0xa8)]=_0x4c7640,this[_0x863f85(0xc7)](_0x4c7640));}[_0x66ffd6(0xde)](_0xa3c95a){const _0x220872=_0x66ffd6,_0x51234f=_0x19279b(this[_0x220872(0xa8)]);_0x2d5506(_0x51234f,_0xa3c95a),_0x55b5a0(_0x51234f,this[_0x220872(0xa8)])||(this[_0x220872(0xa8)]=_0x51234f,this[_0x220872(0xc7)](this[_0x220872(0xa8)]));}[_0x66ffd6(0xd8)](){const _0x2ff851=_0x66ffd6;return{'id':this['id'],'type':this[_0x2ff851(0xba)]?this[_0x2ff851(0xb0)]+':'+this[_0x2ff851(0xba)]:this[_0x2ff851(0xb0)],'authorId':this[_0x2ff851(0xc1)]['id'],'createdAt':this[_0x2ff851(0xb6)],'hasComments':this[_0x2ff851(0xd4)],'data':this[_0x2ff851(0xc5)],'attributes':this[_0x2ff851(0xa8)]};}static[_0x66ffd6(0xe7)](){const _0x5b2f4f=_0x66ffd6;return _0x94e58a()[_0x5b2f4f(0xc3)](0x1,0x5);}}function _0x3e8b(){const _0x53ce94=['getRanges','getContainedElement','set','type','6409528iKAxXm','4991220JtfOyA','removeMarker','16756MWBXoL','addRange','createdAt','getFirstMarker','695430LyEZCI','_originalSuggestionId','subType','suggestion:','commentThread','318IhndPZ','add','getAllAdjacentSuggestions','_onAccept','creator','onDiscard','substr','markers','data','length','_onAttributesChange','nodeAfter','onAttributesChange','removeMarkers','isExternal','nodeBefore','10CllvWi','getMarkers','head','getMarkerNames','split','push','getRange','hasComments','authoredAt','end','_model','toJSON','next','@external','_onDiscard','map','addMarker','removeAttribute','discard','previous','accept','get','7jqiUDI','change','isIntersectingWithRange','getFirstRange','getMultiRangeId','start','_markerNames','isIntersecting','3819600NVlkDN','originalSuggestionId','clear','delete','decorate','onAccept','size','filter','reduce','isInContent','from','isMultiRange','addMarkerName','_saved','getItems','setAttribute','attributes','_isDataLoaded','author','37929eKTsPg','4442730zDhoQU'];_0x3e8b=function(){return _0x53ce94;};return _0x3e8b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1dc30a=_0x1503;(function(_0x5e903e,_0x1c4d4b){const _0x136a0f=_0x1503,_0x17d703=_0x5e903e();while(!![]){try{const _0x4a1cf5=-parseInt(_0x136a0f(0xbb))/0x1+-parseInt(_0x136a0f(0xbd))/0x2+parseInt(_0x136a0f(0xdf))/0x3*(parseInt(_0x136a0f(0xc5))/0x4)+-parseInt(_0x136a0f(0xcb))/0x5*(parseInt(_0x136a0f(0xa7))/0x6)+-parseInt(_0x136a0f(0xde))/0x7+-parseInt(_0x136a0f(0xf1))/0x8*(-parseInt(_0x136a0f(0xf9))/0x9)+parseInt(_0x136a0f(0xd4))/0xa*(parseInt(_0x136a0f(0xef))/0xb);if(_0x4a1cf5===_0x1c4d4b)break;else _0x17d703['push'](_0x17d703['shift']());}catch(_0x6a6d2c){_0x17d703['push'](_0x17d703['shift']());}}}(_0x4eba,0x9a81d));import{getTranslation as _0x536985}from'./utils/common-translations.js';import{priorities as _0x4e89c9,insertToPriorityArray as _0x3d8093}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x54d7f9}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x1dc30a(0xeb)];[_0x1dc30a(0xd1)];[_0x1dc30a(0xa2)];[_0x1dc30a(0xa3)];[_0x1dc30a(0x100)];[_0x1dc30a(0xf0)];constructor(_0x5517df,_0xa10f1){const _0x52fd5e=_0x1dc30a;this[_0x52fd5e(0xeb)]=[],this[_0x52fd5e(0xd1)]=new Map(),this[_0x52fd5e(0xa2)]=[],this[_0x52fd5e(0xa3)]=new Map(),this[_0x52fd5e(0x100)]=_0x5517df,this[_0x52fd5e(0xf0)]=_0xa10f1;}[_0x1dc30a(0xff)](_0x5b74ba){const _0x1279e1=_0x1dc30a,_0x3aac5a=[],_0x39f054=new Set(),_0xfb58a0=new Set();for(let _0x2f7d9f=0x0;_0x2f7d9f<_0x5b74ba[_0x1279e1(0xd5)];_0x2f7d9f++){const _0x5c6bed=_0x5b74ba[_0x2f7d9f];if(!_0x5c6bed[_0x1279e1(0xae)])continue;const _0x301d3a=this[_0x1279e1(0xd3)](_0x5c6bed);if(_0x301d3a){if(null!=_0x5c6bed[_0x1279e1(0xaf)]){if(_0x39f054[_0x1279e1(0xfd)](_0x5c6bed[_0x1279e1(0xaf)]))continue;_0x39f054[_0x1279e1(0xf5)](_0x5c6bed[_0x1279e1(0xaf)]);}_0x3aac5a[_0x1279e1(0xf2)](_0x301d3a);}else{if(_0x1279e1(0xb2)==_0x5c6bed[_0x1279e1(0xda)]){const _0x5c5b58=_0x5c6bed[_0x1279e1(0xe2)][_0x1279e1(0xcc)];if(_0xfb58a0[_0x1279e1(0xfd)](_0x5c5b58))continue;_0xfb58a0[_0x1279e1(0xf5)](_0x5c6bed[_0x1279e1(0xe2)][_0x1279e1(0xcc)]),_0x5c5b58==_0x54d7f9?this[_0x1279e1(0xb8)](_0x3aac5a,_0x5c6bed):this[_0x1279e1(0xca)](_0x3aac5a,_0x5c6bed);continue;}_0x1279e1(0x102)!=_0x5c6bed[_0x1279e1(0xda)]&&_0x1279e1(0xb5)!=_0x5c6bed[_0x1279e1(0xda)]||this[_0x1279e1(0xa4)](_0x3aac5a,_0x5c6bed,_0x5b74ba[_0x2f7d9f+0x1]);}}return this[_0x1279e1(0xe4)](_0x3aac5a);}[_0x1dc30a(0xa8)](_0x9fa6bb){const _0x5bf41a=_0x1dc30a;this[_0x5bf41a(0xeb)][_0x5bf41a(0xf2)](_0x9fa6bb);}[_0x1dc30a(0xc9)](_0x3ca34f,_0xe227cd,_0x260d28=_0x4e89c9[_0x1dc30a(0xbc)]){const _0x3bca90=_0x1dc30a;_0x3bca90(0xd0)==typeof _0x3ca34f?_0x3d8093(this[_0x3bca90(0xa2)],{'matchingCallback':_0x3ca34f,'label':_0xe227cd,'priority':_0x260d28}):this[_0x3bca90(0xd1)][_0x3bca90(0xc0)](_0x3ca34f,_0xe227cd);}[_0x1dc30a(0xc4)](_0x1695b8,_0x152572){const _0x25993a=_0x1dc30a;this[_0x25993a(0xa3)][_0x25993a(0xc0)](_0x1695b8,_0x152572);}[_0x1dc30a(0xab)](_0x54125c,_0x8511f=0x1){const _0x239ca4=_0x1dc30a;let _0x5f5356;for(const _0xcd539d of this[_0x239ca4(0xa2)])if(_0xcd539d[_0x239ca4(0xad)](_0x54125c)){_0x5f5356=_0xcd539d[_0x239ca4(0xc1)];break;}return _0x5f5356||(_0x5f5356=this[_0x239ca4(0xd1)][_0x239ca4(0xe6)](_0x54125c[_0x239ca4(0xb4)])),_0x5f5356?_0x5f5356(_0x8511f):0x1!==_0x8511f?_0x8511f+'\x20'+_0x54125c[_0x239ca4(0xb4)]+'s':''+_0x54125c[_0x239ca4(0xb4)];}[_0x1dc30a(0xb9)](_0x47a01c,_0x4abd96){const _0x403e0c=_0x1dc30a,_0x1330bb=_0x4abd96[_0x403e0c(0xfb)]()[_0x403e0c(0xaa)](),_0x1738c4=_0x403e0c(0x102)==_0x4abd96[_0x403e0c(0xda)]?_0x403e0c(0xf5):_0x403e0c(0xf3);for(const _0x5e2b67 of _0x1330bb){const _0x1e630f=_0x5e2b67[_0x403e0c(0xdb)],_0x3eb353=_0x47a01c[_0x47a01c[_0x403e0c(0xd5)]-0x1];if(_0x1e630f['is'](_0x403e0c(0xf4)))_0x3eb353&&_0x3eb353[_0x403e0c(0xda)][_0x403e0c(0xd2)](_0x403e0c(0xd6))>-0x1&&_0x47a01c[_0x403e0c(0xf7)](),_0x3eb353&&_0x403e0c(0x103)==_0x3eb353[_0x403e0c(0xda)]?_0x3eb353[_0x1738c4]+=_0x1e630f[_0x403e0c(0xe2)]:_0x47a01c[_0x403e0c(0xf2)]({'type':_0x403e0c(0x103),'add':_0x403e0c(0xf5)==_0x1738c4?_0x1e630f[_0x403e0c(0xe2)]:'','remove':_0x403e0c(0xf3)==_0x1738c4?_0x1e630f[_0x403e0c(0xe2)]:''});else{if(this[_0x403e0c(0x100)][_0x403e0c(0xdc)](_0x1e630f)){const _0x2acc41=_0x1e630f;if(_0x3eb353&&_0x3eb353[_0x403e0c(0xda)][_0x403e0c(0xd2)](_0x403e0c(0xd6))>-0x1&&_0x47a01c[_0x403e0c(0xf7)](),_0x403e0c(0xb6)==_0x5e2b67[_0x403e0c(0xda)])continue;_0x3eb353&&_0x3eb353[_0x403e0c(0xda)]==_0x1738c4+_0x403e0c(0xfc)&&_0x3eb353[_0x403e0c(0x101)][_0x403e0c(0xb4)]==_0x2acc41[_0x403e0c(0xb4)]?_0x3eb353[_0x403e0c(0xb3)]++:_0x47a01c[_0x403e0c(0xf2)]({'type':_0x1738c4+_0x403e0c(0xfc),'element':_0x2acc41,'quantity':0x1}),_0x1330bb[_0x403e0c(0xe9)](_0x3a0740=>!(_0x403e0c(0xb6)==_0x3a0740[_0x403e0c(0xda)]&&_0x3a0740[_0x403e0c(0xdb)]==_0x1e630f));}else{if(this[_0x403e0c(0x100)][_0x403e0c(0xcd)](_0x1e630f,_0x403e0c(0xe0))||_0x1e630f['is'](_0x403e0c(0x101),_0x403e0c(0xfa))){const _0x1afe43=_0x1e630f;if(_0x403e0c(0xf5)==_0x1738c4&&_0x403e0c(0xb7)==_0x5e2b67[_0x403e0c(0xda)]||_0x403e0c(0xf3)==_0x1738c4&&_0x403e0c(0xb6)==_0x5e2b67[_0x403e0c(0xda)])continue;if(_0x3eb353&&-0x1==_0x3eb353[_0x403e0c(0xda)][_0x403e0c(0xd2)](_0x403e0c(0xd6))){_0x403e0c(0x103)==_0x3eb353[_0x403e0c(0xda)]&&(_0x3eb353[_0x1738c4]+='\x0a');continue;}let _0x409ac9;if(_0x409ac9=_0x403e0c(0xf5)==_0x1738c4?_0x1afe43[_0x403e0c(0xea)]&&!this[_0x403e0c(0x100)][_0x403e0c(0xdc)](_0x1afe43[_0x403e0c(0xea)])?_0x1afe43[_0x403e0c(0xea)]:null:_0x1afe43[_0x403e0c(0xf6)]&&!this[_0x403e0c(0x100)][_0x403e0c(0xdc)](_0x1afe43[_0x403e0c(0xf6)])?_0x1afe43[_0x403e0c(0xf6)]:null,_0x1afe43[_0x403e0c(0xba)]||_0x409ac9&&_0x409ac9[_0x403e0c(0xba)]){const _0x424d90=_0x409ac9&&_0x409ac9[_0x403e0c(0xba)]?_0x409ac9:_0x1afe43;_0x3eb353&&_0x3eb353[_0x403e0c(0xda)]==_0x1738c4+_0x403e0c(0xac)&&_0x3eb353[_0x403e0c(0x101)][_0x403e0c(0xb4)]==_0x424d90[_0x403e0c(0xb4)]?_0x3eb353[_0x403e0c(0xb3)]++:_0x47a01c[_0x403e0c(0xf2)]({'type':_0x1738c4+_0x403e0c(0xac),'element':_0x424d90,'quantity':0x1});}else _0x47a01c[_0x403e0c(0xf2)]({'type':_0x1738c4+_0x403e0c(0xd6),'element':_0x1afe43});}}}}}[_0x1dc30a(0xe4)](_0x3789fd){const _0x5c32aa=_0x1dc30a,_0x278142=this[_0x5c32aa(0xf0)],_0x2f0991=[],_0x1270c2=[],_0x437dd9=[];for(const _0xb003c of _0x3789fd)switch(_0xb003c[_0x5c32aa(0xda)]){case _0x5c32aa(0x103):if(_0xb003c[_0x5c32aa(0xf5)]=_0xb003c[_0x5c32aa(0xf5)][_0x5c32aa(0xf8)](/(\S)\u000A+(\S)/g,_0x5c32aa(0xcf))[_0x5c32aa(0xf8)](/\u000A/g,''),_0xb003c[_0x5c32aa(0xf3)]=_0xb003c[_0x5c32aa(0xf3)][_0x5c32aa(0xf8)](/(\S)\u000A+(\S)/g,_0x5c32aa(0xcf))[_0x5c32aa(0xf8)](/\u000A/g,''),''!=_0xb003c[_0x5c32aa(0xf5)]&&''!=_0xb003c[_0x5c32aa(0xf3)]){_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xf8),'content':_0x536985(_0x278142,_0x5c32aa(0xec),['\x22'+_0xb003c[_0x5c32aa(0xf3)]+'\x22','\x22'+_0xb003c[_0x5c32aa(0xf5)]+'\x22'])});continue;}if(null!=_0xb003c[_0x5c32aa(0xf5)][_0x5c32aa(0xe8)](/^ +$/)){_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0x102),'content':_0x536985(_0x278142,_0x5c32aa(0xbe),_0x536985(_0x278142,_0x5c32aa(0xe1),_0xb003c[_0x5c32aa(0xf5)][_0x5c32aa(0xd5)]))});continue;}if(null!=_0xb003c[_0x5c32aa(0xf3)][_0x5c32aa(0xe8)](/^ +$/)){_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xb5),'content':_0x536985(_0x278142,_0x5c32aa(0xc8),_0x536985(_0x278142,_0x5c32aa(0xe1),_0xb003c[_0x5c32aa(0xf3)][_0x5c32aa(0xd5)]))});continue;}if(''!=_0xb003c[_0x5c32aa(0xf5)]){_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0x102),'content':_0x536985(_0x278142,_0x5c32aa(0xbe),'\x22'+_0xb003c[_0x5c32aa(0xf5)]+'\x22')});continue;}_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xb5),'content':_0x536985(_0x278142,_0x5c32aa(0xc8),'\x22'+_0xb003c[_0x5c32aa(0xf3)]+'\x22')});continue;case _0x5c32aa(0xe3):case _0x5c32aa(0xce):_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0x102),'content':_0x536985(_0x278142,_0x5c32aa(0xbe),this[_0x5c32aa(0xab)](_0xb003c[_0x5c32aa(0x101)],_0xb003c[_0x5c32aa(0xb3)]))});continue;case _0x5c32aa(0xa6):case _0x5c32aa(0xa9):_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xb5),'content':_0x536985(_0x278142,_0x5c32aa(0xc8),this[_0x5c32aa(0xab)](_0xb003c[_0x5c32aa(0x101)],_0xb003c[_0x5c32aa(0xb3)]))});continue;case _0x5c32aa(0xdd):_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0x102),'content':_0x536985(_0x278142,_0x5c32aa(0xd7),this[_0x5c32aa(0xab)](_0xb003c[_0x5c32aa(0x101)],_0xb003c[_0x5c32aa(0xb3)]))});continue;case _0x5c32aa(0xd8):_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xb5),'content':_0x536985(_0x278142,_0x5c32aa(0xee),this[_0x5c32aa(0xab)](_0xb003c[_0x5c32aa(0x101)],_0xb003c[_0x5c32aa(0xb3)]))});continue;case _0x5c32aa(0xe5):_0x1270c2[_0x5c32aa(0xf2)](_0xb003c[_0x5c32aa(0xcc)]);continue;case _0x5c32aa(0xc6):_0x437dd9[_0x5c32aa(0xf2)](_0xb003c[_0x5c32aa(0xcc)]);continue;default:_0x2f0991[_0x5c32aa(0xf2)](_0xb003c);}if(_0x1270c2[_0x5c32aa(0xd5)]){const _0x28a784=_0x1270c2[_0x5c32aa(0xe7)](_0x55a10d=>this[_0x5c32aa(0xa3)][_0x5c32aa(0xfd)](_0x55a10d)?this[_0x5c32aa(0xa3)][_0x5c32aa(0xe6)](_0x55a10d):_0x55a10d)[_0x5c32aa(0xfe)](',\x20');_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xa5),'content':_0x536985(this[_0x5c32aa(0xf0)],_0x5c32aa(0xbf),_0x28a784)});}if(_0x437dd9[_0x5c32aa(0xd5)]){const _0x341e2f=_0x437dd9[_0x5c32aa(0xe7)](_0x1125f2=>this[_0x5c32aa(0xa3)][_0x5c32aa(0xfd)](_0x1125f2)?this[_0x5c32aa(0xa3)][_0x5c32aa(0xe6)](_0x1125f2):_0x1125f2)[_0x5c32aa(0xfe)](',\x20');_0x2f0991[_0x5c32aa(0xf2)]({'type':_0x5c32aa(0xa5),'content':_0x536985(this[_0x5c32aa(0xf0)],_0x5c32aa(0xc2),_0x341e2f)});}return _0x2f0991;}[_0x1dc30a(0xd3)](_0x1e0f0b){const _0x5b9df7=_0x1dc30a;for(const _0x10331c of this[_0x5b9df7(0xeb)]){const _0x482bfb=_0x10331c(_0x1e0f0b);if(_0x482bfb&&_0x5b9df7(0xda)in _0x482bfb)return _0x482bfb;}}[_0x1dc30a(0xca)](_0x27fa5b,_0x2d0fc5){const _0x1791df=_0x1dc30a,_0x4244a3=_0x2d0fc5[_0x1791df(0xe2)],_0x75d81b=void 0x0===_0x4244a3[_0x1791df(0xc3)]?_0x1791df(0xc6):_0x1791df(0xe5);_0x27fa5b[_0x1791df(0xf2)]({'type':_0x75d81b,'key':_0x4244a3[_0x1791df(0xcc)]});}[_0x1dc30a(0xb8)](_0x296dcb,_0x3288f9){const _0x2af5a6=_0x1dc30a;_0x296dcb[_0x2af5a6(0xf2)]({'type':_0x2af5a6(0xa5),'content':_0x536985(this[_0x2af5a6(0xf0)],_0x2af5a6(0xc7),this[_0x2af5a6(0xab)](_0x3288f9[_0x2af5a6(0xfb)]()[_0x2af5a6(0xd9)][_0x2af5a6(0xed)],0x1))});}[_0x1dc30a(0xa4)](_0x3c8e9c,_0xd20873,_0x1f4793){const _0x26d121=_0x1dc30a;if(this[_0x26d121(0xb9)](_0x3c8e9c,_0xd20873),_0x1f4793&&_0x1f4793[_0x26d121(0xfb)]()&&!_0xd20873[_0x26d121(0xfb)]()[_0x26d121(0xb0)][_0x26d121(0xb1)](_0x1f4793[_0x26d121(0xfb)]()[_0x26d121(0xd9)])){const _0x3c16d2=_0x3c8e9c[_0x3c8e9c[_0x26d121(0xd5)]-0x1],_0x4508fb=_0x26d121(0x102)==_0xd20873[_0x26d121(0xda)]?_0x26d121(0xf5):_0x26d121(0xf3);_0x3c16d2&&_0x26d121(0x103)==_0x3c16d2[_0x26d121(0xda)]&&(_0x3c16d2[_0x4508fb]+='\x0a');}}}function _0x1503(_0x17211d,_0xd34ee8){const _0x4ebade=_0x4eba();return _0x1503=function(_0x1503e4,_0x4b81ad){_0x1503e4=_0x1503e4-0xa2;let _0x137363=_0x4ebade[_0x1503e4];return _0x137363;},_0x1503(_0x17211d,_0xd34ee8);}function _0x4eba(){const _0x1e5ef7=['removeFormat','*Change\x20to:*\x20%0','*Remove:*\x20%0','registerElementLabel','_handleAttributeSuggestionDescription','385655JnvQkq','key','checkChild','addObject','$1\x20$2','function','_itemLabels','indexOf','_handleCustomCallbackDescription','2094710npMHDv','length','Container','*Split:*\x20%0','removeContainer','start','type','item','isObject','addContainer','248570AnCTsC','12hpMdqV','$text','ELEMENT_SPACE','data','addEmptyContainer','_resolveDescriptionItems','addFormat','get','map','match','skip','nextSibling','_customCallbacks','REPLACE_TEXT','nodeAfter','*Merge:*\x20%0','22tdIKgg','_locale','48MuOxap','push','remove','$textProxy','add','previousSibling','pop','replace','690876xOuXmT','softBreak','getFirstRange','Object','has','join','getDescriptions','_schema','element','insertion','text','_itemLabelsCallbacks','_attributeLabels','_handleInsertRemoveSuggestionDescription','format','removeEmptyContainer','6hDkddT','registerDescriptionCallback','removeObject','getWalker','getItemLabel','EmptyContainer','matchingCallback','isInContent','subType','end','isEqual','attribute','quantity','name','deletion','elementEnd','elementStart','_handleRenameSuggestionDescription','_addDescriptionItems','isEmpty','3116cIMcuN','normal','1241336UEaoXz','*Insert:*\x20%0','*Set\x20format:*\x20%0','set','label','*Remove\x20format:*\x20%0','newValue','registerAttributeLabel','489760PwMhdi'];_0x4eba=function(){return _0x1e5ef7;};return _0x4eba();}
|
|
23
|
+
const _0x3a6b68=_0x32e2;function _0x45df(){const _0x3e7443=['push','text','_handleInsertRemoveSuggestionDescription','_handleCustomCallbackDescription','pop','checkChild','removeContainer','addEmptyContainer','_customCallbacks','_itemLabels','$1\x20$2','name','registerAttributeLabel','310UYosUZ','join','elementStart','4nIRbDG','removeObject','remove','addObject','ELEMENT_SPACE','*Merge:*\x20%0','_addDescriptionItems','isInContent','item','registerDescriptionCallback','start','elementEnd','*Change\x20to:*\x20%0','softBreak','element','$textProxy','nodeAfter','indexOf','isEmpty','205938SPbWSt','removeFormat','format','7678qJScAp','*Remove\x20format:*\x20%0','label','type','getFirstRange','_schema','end','match','set','1096WtxuyZ','insertion','_resolveDescriptionItems','_handleAttributeSuggestionDescription','_attributeLabels','previousSibling','data','EmptyContainer','*Split:*\x20%0','getItemLabel','replace','Object','getDescriptions','quantity','skip','getWalker','810516acPQpK','isObject','19355gIMizV','key','deletion','get','228CqpPTr','normal','subType','attribute','835473UXmBjd','3IdGkJU','has','removeEmptyContainer','*Insert:*\x20%0','5184910djQLEV','addFormat','addContainer','_handleRenameSuggestionDescription','_itemLabelsCallbacks','isEqual','nextSibling','*Remove:*\x20%0','matchingCallback','*Set\x20format:*\x20%0','_locale','function','registerElementLabel','add','map','newValue','6289452jCnoVU','$text','Container','REPLACE_TEXT','length'];_0x45df=function(){return _0x3e7443;};return _0x45df();}(function(_0x145185,_0x44efc2){const _0x183170=_0x32e2,_0x22d6f6=_0x145185();while(!![]){try{const _0x51a2ad=parseInt(_0x183170(0x1f6))/0x1+parseInt(_0x183170(0x1ec))/0x2*(-parseInt(_0x183170(0x1f7))/0x3)+parseInt(_0x183170(0x220))/0x4*(-parseInt(_0x183170(0x1fb))/0x5)+parseInt(_0x183170(0x20b))/0x6+parseInt(_0x183170(0x1ee))/0x7*(-parseInt(_0x183170(0x1dc))/0x8)+parseInt(_0x183170(0x233))/0x9*(parseInt(_0x183170(0x21d))/0xa)+parseInt(_0x183170(0x236))/0xb*(parseInt(_0x183170(0x1f2))/0xc);if(_0x51a2ad===_0x44efc2)break;else _0x22d6f6['push'](_0x22d6f6['shift']());}catch(_0x31c2d1){_0x22d6f6['push'](_0x22d6f6['shift']());}}}(_0x45df,0xbfb7a));function _0x32e2(_0x363ba3,_0x32c938){const _0x45df9b=_0x45df();return _0x32e2=function(_0x32e2c5,_0x435076){_0x32e2c5=_0x32e2c5-0x1d5;let _0x35fb19=_0x45df9b[_0x32e2c5];return _0x35fb19;},_0x32e2(_0x363ba3,_0x32c938);}import{getTranslation as _0x4d344e}from'./utils/common-translations.js';import{priorities as _0x57a74b,insertToPriorityArray as _0x20e74c}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x57e2ec}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x3a6b68(0x218)];[_0x3a6b68(0x219)];[_0x3a6b68(0x1ff)];[_0x3a6b68(0x1e0)];[_0x3a6b68(0x1d8)];[_0x3a6b68(0x205)];constructor(_0x5f503a,_0xd50b27){const _0x5e130a=_0x3a6b68;this[_0x5e130a(0x218)]=[],this[_0x5e130a(0x219)]=new Map(),this[_0x5e130a(0x1ff)]=[],this[_0x5e130a(0x1e0)]=new Map(),this[_0x5e130a(0x1d8)]=_0x5f503a,this[_0x5e130a(0x205)]=_0xd50b27;}[_0x3a6b68(0x1e8)](_0x40fd68){const _0x48a34f=_0x3a6b68,_0x1fd28a=[],_0x7ad9a5=new Set(),_0x2c2b4b=new Set();for(let _0x4a3259=0x0;_0x4a3259<_0x40fd68[_0x48a34f(0x20f)];_0x4a3259++){const _0x493c20=_0x40fd68[_0x4a3259];if(!_0x493c20[_0x48a34f(0x227)])continue;const _0x58c4f9=this[_0x48a34f(0x213)](_0x493c20);if(_0x58c4f9){if(null!=_0x493c20[_0x48a34f(0x1f4)]){if(_0x7ad9a5[_0x48a34f(0x1f8)](_0x493c20[_0x48a34f(0x1f4)]))continue;_0x7ad9a5[_0x48a34f(0x208)](_0x493c20[_0x48a34f(0x1f4)]);}_0x1fd28a[_0x48a34f(0x210)](_0x58c4f9);}else{if(_0x48a34f(0x1f5)==_0x493c20[_0x48a34f(0x1d6)]){const _0x455c57=_0x493c20[_0x48a34f(0x1e2)][_0x48a34f(0x1ef)];if(_0x2c2b4b[_0x48a34f(0x1f8)](_0x455c57))continue;_0x2c2b4b[_0x48a34f(0x208)](_0x493c20[_0x48a34f(0x1e2)][_0x48a34f(0x1ef)]),_0x455c57==_0x57e2ec?this[_0x48a34f(0x1fe)](_0x1fd28a,_0x493c20):this[_0x48a34f(0x1df)](_0x1fd28a,_0x493c20);continue;}_0x48a34f(0x1dd)!=_0x493c20[_0x48a34f(0x1d6)]&&_0x48a34f(0x1f0)!=_0x493c20[_0x48a34f(0x1d6)]||this[_0x48a34f(0x212)](_0x1fd28a,_0x493c20,_0x40fd68[_0x4a3259+0x1]);}}return this[_0x48a34f(0x1de)](_0x1fd28a);}[_0x3a6b68(0x229)](_0xfef669){const _0x5ab5ae=_0x3a6b68;this[_0x5ab5ae(0x218)][_0x5ab5ae(0x210)](_0xfef669);}[_0x3a6b68(0x207)](_0x154170,_0x41a0f6,_0xd38d5b=_0x57a74b[_0x3a6b68(0x1f3)]){const _0x54f024=_0x3a6b68;_0x54f024(0x206)==typeof _0x154170?_0x20e74c(this[_0x54f024(0x1ff)],{'matchingCallback':_0x154170,'label':_0x41a0f6,'priority':_0xd38d5b}):this[_0x54f024(0x219)][_0x54f024(0x1db)](_0x154170,_0x41a0f6);}[_0x3a6b68(0x21c)](_0x13c32c,_0x1a0aab){const _0x75786=_0x3a6b68;this[_0x75786(0x1e0)][_0x75786(0x1db)](_0x13c32c,_0x1a0aab);}[_0x3a6b68(0x1e5)](_0xcb6c3b,_0x4f929f=0x1){const _0x4d6fad=_0x3a6b68;let _0x5a454b;for(const _0x57f60c of this[_0x4d6fad(0x1ff)])if(_0x57f60c[_0x4d6fad(0x203)](_0xcb6c3b)){_0x5a454b=_0x57f60c[_0x4d6fad(0x1d5)];break;}return _0x5a454b||(_0x5a454b=this[_0x4d6fad(0x219)][_0x4d6fad(0x1f1)](_0xcb6c3b[_0x4d6fad(0x21b)])),_0x5a454b?_0x5a454b(_0x4f929f):0x1!==_0x4f929f?_0x4f929f+'\x20'+_0xcb6c3b[_0x4d6fad(0x21b)]+'s':''+_0xcb6c3b[_0x4d6fad(0x21b)];}[_0x3a6b68(0x226)](_0x304eba,_0x231ae9){const _0x8b1345=_0x3a6b68,_0xf600e0=_0x231ae9[_0x8b1345(0x1d7)]()[_0x8b1345(0x1eb)](),_0x49f4b6=_0x8b1345(0x1dd)==_0x231ae9[_0x8b1345(0x1d6)]?_0x8b1345(0x208):_0x8b1345(0x222);for(const _0x23394c of _0xf600e0){const _0x47467a=_0x23394c[_0x8b1345(0x228)],_0x36bb0e=_0x304eba[_0x304eba[_0x8b1345(0x20f)]-0x1];if(_0x47467a['is'](_0x8b1345(0x22f)))_0x36bb0e&&_0x36bb0e[_0x8b1345(0x1d6)][_0x8b1345(0x231)](_0x8b1345(0x20d))>-0x1&&_0x304eba[_0x8b1345(0x214)](),_0x36bb0e&&_0x8b1345(0x211)==_0x36bb0e[_0x8b1345(0x1d6)]?_0x36bb0e[_0x49f4b6]+=_0x47467a[_0x8b1345(0x1e2)]:_0x304eba[_0x8b1345(0x210)]({'type':_0x8b1345(0x211),'add':_0x8b1345(0x208)==_0x49f4b6?_0x47467a[_0x8b1345(0x1e2)]:'','remove':_0x8b1345(0x222)==_0x49f4b6?_0x47467a[_0x8b1345(0x1e2)]:''});else{if(this[_0x8b1345(0x1d8)][_0x8b1345(0x1ed)](_0x47467a)){const _0x1b0a7b=_0x47467a;if(_0x36bb0e&&_0x36bb0e[_0x8b1345(0x1d6)][_0x8b1345(0x231)](_0x8b1345(0x20d))>-0x1&&_0x304eba[_0x8b1345(0x214)](),_0x8b1345(0x22b)==_0x23394c[_0x8b1345(0x1d6)])continue;_0x36bb0e&&_0x36bb0e[_0x8b1345(0x1d6)]==_0x49f4b6+_0x8b1345(0x1e7)&&_0x36bb0e[_0x8b1345(0x22e)][_0x8b1345(0x21b)]==_0x1b0a7b[_0x8b1345(0x21b)]?_0x36bb0e[_0x8b1345(0x1e9)]++:_0x304eba[_0x8b1345(0x210)]({'type':_0x49f4b6+_0x8b1345(0x1e7),'element':_0x1b0a7b,'quantity':0x1}),_0xf600e0[_0x8b1345(0x1ea)](_0x203bda=>!(_0x8b1345(0x22b)==_0x203bda[_0x8b1345(0x1d6)]&&_0x203bda[_0x8b1345(0x228)]==_0x47467a));}else{if(this[_0x8b1345(0x1d8)][_0x8b1345(0x215)](_0x47467a,_0x8b1345(0x20c))||_0x47467a['is'](_0x8b1345(0x22e),_0x8b1345(0x22d))){const _0x4d5dc6=_0x47467a;if(_0x8b1345(0x208)==_0x49f4b6&&_0x8b1345(0x21f)==_0x23394c[_0x8b1345(0x1d6)]||_0x8b1345(0x222)==_0x49f4b6&&_0x8b1345(0x22b)==_0x23394c[_0x8b1345(0x1d6)])continue;if(_0x36bb0e&&-0x1==_0x36bb0e[_0x8b1345(0x1d6)][_0x8b1345(0x231)](_0x8b1345(0x20d))){_0x8b1345(0x211)==_0x36bb0e[_0x8b1345(0x1d6)]&&(_0x36bb0e[_0x49f4b6]+='\x0a');continue;}let _0x298802;if(_0x298802=_0x8b1345(0x208)==_0x49f4b6?_0x4d5dc6[_0x8b1345(0x201)]&&!this[_0x8b1345(0x1d8)][_0x8b1345(0x1ed)](_0x4d5dc6[_0x8b1345(0x201)])?_0x4d5dc6[_0x8b1345(0x201)]:null:_0x4d5dc6[_0x8b1345(0x1e1)]&&!this[_0x8b1345(0x1d8)][_0x8b1345(0x1ed)](_0x4d5dc6[_0x8b1345(0x1e1)])?_0x4d5dc6[_0x8b1345(0x1e1)]:null,_0x4d5dc6[_0x8b1345(0x232)]||_0x298802&&_0x298802[_0x8b1345(0x232)]){const _0x2fb666=_0x298802&&_0x298802[_0x8b1345(0x232)]?_0x298802:_0x4d5dc6;_0x36bb0e&&_0x36bb0e[_0x8b1345(0x1d6)]==_0x49f4b6+_0x8b1345(0x1e3)&&_0x36bb0e[_0x8b1345(0x22e)][_0x8b1345(0x21b)]==_0x2fb666[_0x8b1345(0x21b)]?_0x36bb0e[_0x8b1345(0x1e9)]++:_0x304eba[_0x8b1345(0x210)]({'type':_0x49f4b6+_0x8b1345(0x1e3),'element':_0x2fb666,'quantity':0x1});}else _0x304eba[_0x8b1345(0x210)]({'type':_0x49f4b6+_0x8b1345(0x20d),'element':_0x4d5dc6});}}}}}[_0x3a6b68(0x1de)](_0x2ca8d5){const _0x19f9da=_0x3a6b68,_0x100a64=this[_0x19f9da(0x205)],_0x2debdd=[],_0x3232f5=[],_0x399cc2=[];for(const _0xae806f of _0x2ca8d5)switch(_0xae806f[_0x19f9da(0x1d6)]){case _0x19f9da(0x211):if(_0xae806f[_0x19f9da(0x208)]=_0xae806f[_0x19f9da(0x208)][_0x19f9da(0x1e6)](/(\S)\u000A+(\S)/g,_0x19f9da(0x21a))[_0x19f9da(0x1e6)](/\u000A/g,''),_0xae806f[_0x19f9da(0x222)]=_0xae806f[_0x19f9da(0x222)][_0x19f9da(0x1e6)](/(\S)\u000A+(\S)/g,_0x19f9da(0x21a))[_0x19f9da(0x1e6)](/\u000A/g,''),''!=_0xae806f[_0x19f9da(0x208)]&&''!=_0xae806f[_0x19f9da(0x222)]){_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1e6),'content':_0x4d344e(_0x100a64,_0x19f9da(0x20e),['\x22'+_0xae806f[_0x19f9da(0x222)]+'\x22','\x22'+_0xae806f[_0x19f9da(0x208)]+'\x22'])});continue;}if(null!=_0xae806f[_0x19f9da(0x208)][_0x19f9da(0x1da)](/^ +$/)){_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1dd),'content':_0x4d344e(_0x100a64,_0x19f9da(0x1fa),_0x4d344e(_0x100a64,_0x19f9da(0x224),_0xae806f[_0x19f9da(0x208)][_0x19f9da(0x20f)]))});continue;}if(null!=_0xae806f[_0x19f9da(0x222)][_0x19f9da(0x1da)](/^ +$/)){_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1f0),'content':_0x4d344e(_0x100a64,_0x19f9da(0x202),_0x4d344e(_0x100a64,_0x19f9da(0x224),_0xae806f[_0x19f9da(0x222)][_0x19f9da(0x20f)]))});continue;}if(''!=_0xae806f[_0x19f9da(0x208)]){_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1dd),'content':_0x4d344e(_0x100a64,_0x19f9da(0x1fa),'\x22'+_0xae806f[_0x19f9da(0x208)]+'\x22')});continue;}_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1f0),'content':_0x4d344e(_0x100a64,_0x19f9da(0x202),'\x22'+_0xae806f[_0x19f9da(0x222)]+'\x22')});continue;case _0x19f9da(0x217):case _0x19f9da(0x223):_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1dd),'content':_0x4d344e(_0x100a64,_0x19f9da(0x1fa),this[_0x19f9da(0x1e5)](_0xae806f[_0x19f9da(0x22e)],_0xae806f[_0x19f9da(0x1e9)]))});continue;case _0x19f9da(0x1f9):case _0x19f9da(0x221):_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1f0),'content':_0x4d344e(_0x100a64,_0x19f9da(0x202),this[_0x19f9da(0x1e5)](_0xae806f[_0x19f9da(0x22e)],_0xae806f[_0x19f9da(0x1e9)]))});continue;case _0x19f9da(0x1fd):_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1dd),'content':_0x4d344e(_0x100a64,_0x19f9da(0x1e4),this[_0x19f9da(0x1e5)](_0xae806f[_0x19f9da(0x22e)],_0xae806f[_0x19f9da(0x1e9)]))});continue;case _0x19f9da(0x216):_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x1f0),'content':_0x4d344e(_0x100a64,_0x19f9da(0x225),this[_0x19f9da(0x1e5)](_0xae806f[_0x19f9da(0x22e)],_0xae806f[_0x19f9da(0x1e9)]))});continue;case _0x19f9da(0x1fc):_0x3232f5[_0x19f9da(0x210)](_0xae806f[_0x19f9da(0x1ef)]);continue;case _0x19f9da(0x234):_0x399cc2[_0x19f9da(0x210)](_0xae806f[_0x19f9da(0x1ef)]);continue;default:_0x2debdd[_0x19f9da(0x210)](_0xae806f);}if(_0x3232f5[_0x19f9da(0x20f)]){const _0x48caba=_0x3232f5[_0x19f9da(0x209)](_0x330cbd=>this[_0x19f9da(0x1e0)][_0x19f9da(0x1f8)](_0x330cbd)?this[_0x19f9da(0x1e0)][_0x19f9da(0x1f1)](_0x330cbd):_0x330cbd)[_0x19f9da(0x21e)](',\x20');_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x235),'content':_0x4d344e(this[_0x19f9da(0x205)],_0x19f9da(0x204),_0x48caba)});}if(_0x399cc2[_0x19f9da(0x20f)]){const _0x4064b1=_0x399cc2[_0x19f9da(0x209)](_0x2af253=>this[_0x19f9da(0x1e0)][_0x19f9da(0x1f8)](_0x2af253)?this[_0x19f9da(0x1e0)][_0x19f9da(0x1f1)](_0x2af253):_0x2af253)[_0x19f9da(0x21e)](',\x20');_0x2debdd[_0x19f9da(0x210)]({'type':_0x19f9da(0x235),'content':_0x4d344e(this[_0x19f9da(0x205)],_0x19f9da(0x237),_0x4064b1)});}return _0x2debdd;}[_0x3a6b68(0x213)](_0x140487){const _0x1bcd0e=_0x3a6b68;for(const _0x476d6c of this[_0x1bcd0e(0x218)]){const _0x589e32=_0x476d6c(_0x140487);if(_0x589e32&&_0x1bcd0e(0x1d6)in _0x589e32)return _0x589e32;}}[_0x3a6b68(0x1df)](_0x5ab578,_0x469dac){const _0x1fe5a2=_0x3a6b68,_0x273c7f=_0x469dac[_0x1fe5a2(0x1e2)],_0x43c2a5=void 0x0===_0x273c7f[_0x1fe5a2(0x20a)]?_0x1fe5a2(0x234):_0x1fe5a2(0x1fc);_0x5ab578[_0x1fe5a2(0x210)]({'type':_0x43c2a5,'key':_0x273c7f[_0x1fe5a2(0x1ef)]});}[_0x3a6b68(0x1fe)](_0x4dc397,_0x210809){const _0x58adae=_0x3a6b68;_0x4dc397[_0x58adae(0x210)]({'type':_0x58adae(0x235),'content':_0x4d344e(this[_0x58adae(0x205)],_0x58adae(0x22c),this[_0x58adae(0x1e5)](_0x210809[_0x58adae(0x1d7)]()[_0x58adae(0x22a)][_0x58adae(0x230)],0x1))});}[_0x3a6b68(0x212)](_0x93a075,_0x44163a,_0x508786){const _0x5d821d=_0x3a6b68;if(this[_0x5d821d(0x226)](_0x93a075,_0x44163a),_0x508786&&_0x508786[_0x5d821d(0x1d7)]()&&!_0x44163a[_0x5d821d(0x1d7)]()[_0x5d821d(0x1d9)][_0x5d821d(0x200)](_0x508786[_0x5d821d(0x1d7)]()[_0x5d821d(0x22a)])){const _0x34f09a=_0x93a075[_0x93a075[_0x5d821d(0x20f)]-0x1],_0x4b4b4f=_0x5d821d(0x1dd)==_0x44163a[_0x5d821d(0x1d6)]?_0x5d821d(0x208):_0x5d821d(0x222);_0x34f09a&&_0x5d821d(0x211)==_0x34f09a[_0x5d821d(0x1d6)]&&(_0x34f09a[_0x4b4b4f]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x50c922=_0x4eea;(function(_0x4c1fe9,_0x2c17dd){var _0x573aaa=_0x4eea,_0x309884=_0x4c1fe9();while(!![]){try{var _0xf0773=parseInt(_0x573aaa(0x177))/0x1*(-parseInt(_0x573aaa(0x183))/0x2)+-parseInt(_0x573aaa(0x17a))/0x3*(parseInt(_0x573aaa(0x186))/0x4)+-parseInt(_0x573aaa(0x180))/0x5+-parseInt(_0x573aaa(0x187))/0x6*(parseInt(_0x573aaa(0x18e))/0x7)+parseInt(_0x573aaa(0x18a))/0x8+parseInt(_0x573aaa(0x18b))/0x9*(parseInt(_0x573aaa(0x17c))/0xa)+parseInt(_0x573aaa(0x18d))/0xb;if(_0xf0773===_0x2c17dd)break;else _0x309884['push'](_0x309884['shift']());}catch(_0x1f9a97){_0x309884['push'](_0x309884['shift']());}}}(_0x8eb1,0x18c11));import{Plugin as _0x58c2aa}from'ckeditor5/src/core.js';function _0x8eb1(){var _0x4f042e=['getSuggestions','5912555kcXymw','569366QOygJl','addSuggestionData','11786Sfvvst','Comments','get','121278JVqeMc','requires','5690JqzYyM','addSuggestion','editor','pluginName','502360Oooyjo','isPremiumPlugin','plugins','34SssvXK','isOfficialPlugin','TrackChanges','8ZnGtbh','12GWNlhW','getSuggestion','adapter','124024LNwMQQ','1467pPMPdX'];_0x8eb1=function(){return _0x4f042e;};return _0x8eb1();}import{TrackChangesUI as _0x48df3e}from'./trackchangesui.js';function _0x4eea(_0x38bb42,_0xef5498){var _0x8eb195=_0x8eb1();return _0x4eea=function(_0x4eeabf,_0x208da5){_0x4eeabf=_0x4eeabf-0x176;var _0x4e741b=_0x8eb195[_0x4eeabf];return _0x4e741b;},_0x4eea(_0x38bb42,_0xef5498);}import{TrackChangesEditing as _0x34fce4}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x58c2aa{static get[_0x50c922(0x17b)](){var _0xfbbe5b=_0x50c922;return[_0x34fce4,_0x48df3e,_0xfbbe5b(0x178)];}static get[_0x50c922(0x17f)](){var _0x31ad63=_0x50c922;return _0x31ad63(0x185);}static get[_0x50c922(0x184)](){return!0x0;}static get[_0x50c922(0x181)](){return!0x0;}set[_0x50c922(0x189)](_0x490234){var _0x6929c8=_0x50c922;this[_0x6929c8(0x17e)][_0x6929c8(0x182)][_0x6929c8(0x179)](_0x34fce4)[_0x6929c8(0x189)]=_0x490234;}get[_0x50c922(0x189)](){var _0x323f81=_0x50c922;return this[_0x323f81(0x17e)][_0x323f81(0x182)][_0x323f81(0x179)](_0x34fce4)[_0x323f81(0x189)];}[_0x50c922(0x17d)](_0x1665dc){var _0xb69ab0=_0x50c922;return this[_0xb69ab0(0x17e)][_0xb69ab0(0x182)][_0xb69ab0(0x179)](_0x34fce4)[_0xb69ab0(0x176)](_0x1665dc);}[_0x50c922(0x18c)]({skipNotAttached:_0x21ce0a=!0x1,toJSON:_0x2c538e=!0x1}={}){var _0x7f3c86=_0x50c922;return this[_0x7f3c86(0x17e)][_0x7f3c86(0x182)][_0x7f3c86(0x179)](_0x34fce4)[_0x7f3c86(0x18c)]({'skipNotAttached':_0x21ce0a,'toJSON':_0x2c538e});}[_0x50c922(0x188)](_0x4e6a84){var _0x2a5081=_0x50c922;return this[_0x2a5081(0x17e)][_0x2a5081(0x182)][_0x2a5081(0x179)](_0x34fce4)[_0x2a5081(0x188)](_0x4e6a84);}}
|