@ckeditor/ckeditor5-track-changes 46.0.2 → 46.0.3
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.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
|
-
function
|
|
23
|
+
function _0x120f(){const _0xad9e5=['FORMAT_HEADER_COLUMN','writer','forceValue','551969ykcWrJ','highest','getCellLocation','editing','cell','96WkGiQi','includes','parent','registerDescriptionCallback','bindElementToMarker','createTableWalker','204vDKAuH','options','consumable','_acceptFormatSuggestionCallbackFactory','registerBlockAttribute','removeAttribute','6OYfBds','setTableColumnHeader','_registerLegacyDescription','markerName','TableEditing','registerCustomCallback','toViewElement','*Format:*\x20%0','accept','removeMarker:suggestion','addMarker:suggestion','_splitMarkerName','downcastDispatcher','formatBlock','headingRows','_suggestionFactory','consume','afterInit','plugins','requires','_handleLegacySuggestions','commandParams','item','TrackChangesEditing','locale','9VRsvbf','registerAttributeLabel','12864uRrbyr','18wIOgPk','stop','ck-suggestion-marker--active','data-suggestion','end','start','removeClass','get','unbindElementFromMarkerName','6793112ziGhMY','showSuggestionHighlights','format','headingColumns','descriptionFactory','setTableRowHeader','mapper','nodeBefore','nodeAfter','1227814unkVSB','getSuggestion','2016780PYkOQX','activeMarkers','enableDefaultAttributesIntegration','FORMAT_REGULAR_COLUMN','data','TableUtils','1325195VpfOpw','name','commandName','FORMAT_REGULAR_ROW','FORMAT_HEADER_ROW','addClass','editor','markerNameToElements','has','setAttribute','type','ck-suggestion-marker-','markerRange','19321iXpwwM'];_0x120f=function(){return _0xad9e5;};return _0x120f();}const _0x2f3714=_0x533f;function _0x533f(_0x242015,_0x53c758){const _0x120f89=_0x120f();return _0x533f=function(_0x533fe0,_0x247532){_0x533fe0=_0x533fe0-0x1ae;let _0x4750b7=_0x120f89[_0x533fe0];return _0x4750b7;},_0x533f(_0x242015,_0x53c758);}(function(_0x37b1bd,_0x39730a){const _0x5d6481=_0x533f,_0x5c2e34=_0x37b1bd();while(!![]){try{const _0x3d8d9c=-parseInt(_0x5d6481(0x1dc))/0x1*(-parseInt(_0x5d6481(0x1e5))/0x2)+parseInt(_0x5d6481(0x1f1))/0x3*(parseInt(_0x5d6481(0x1b4))/0x4)+parseInt(_0x5d6481(0x1cf))/0x5+parseInt(_0x5d6481(0x1b5))/0x6*(-parseInt(_0x5d6481(0x1c7))/0x7)+parseInt(_0x5d6481(0x1be))/0x8*(parseInt(_0x5d6481(0x1b2))/0x9)+-parseInt(_0x5d6481(0x1c9))/0xa+parseInt(_0x5d6481(0x1e0))/0xb*(-parseInt(_0x5d6481(0x1eb))/0xc);if(_0x3d8d9c===_0x39730a)break;else _0x5c2e34['push'](_0x5c2e34['shift']());}catch(_0x1f904c){_0x5c2e34['push'](_0x5c2e34['shift']());}}}(_0x120f,0x72093));import{Plugin as _0x3a98d2}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x4d4092}from'./table.js';import{getTranslation as _0x3f699c}from'../utils/common-translations.js';export class TrackChangesTableHeadings extends _0x3a98d2{static get[_0x2f3714(0x204)](){return[_0x4d4092];}[_0x2f3714(0x202)](){const _0x931176=_0x2f3714,_0x2a3545=this[_0x931176(0x1d5)];if(!_0x2a3545[_0x931176(0x203)][_0x931176(0x1d7)](_0x931176(0x1f5)))return;const _0x464753=_0x2a3545[_0x931176(0x1b1)],_0x35af64=_0x2a3545[_0x931176(0x203)][_0x931176(0x1bc)](_0x931176(0x1b0));_0x35af64[_0x931176(0x1cb)](_0x931176(0x1c3)),_0x35af64[_0x931176(0x1cb)](_0x931176(0x1f2)),_0x35af64[_0x931176(0x1ef)](_0x931176(0x1ff)),_0x35af64[_0x931176(0x1ef)](_0x931176(0x1c1)),_0x35af64[_0x931176(0x1c2)][_0x931176(0x1b3)](_0x931176(0x1ff),_0x3f699c(_0x464753,_0x931176(0x1d3))),_0x35af64[_0x931176(0x1c2)][_0x931176(0x1b3)](_0x931176(0x1c1),_0x3f699c(_0x464753,_0x931176(0x1dd))),this[_0x931176(0x205)]();}[_0x2f3714(0x205)](){const _0x1ab8d7=_0x2f3714,_0x590d28=this[_0x1ab8d7(0x1d5)][_0x1ab8d7(0x203)][_0x1ab8d7(0x1bc)](_0x1ab8d7(0x1b0)),_0x307816=this[_0x1ab8d7(0x1d5)][_0x1ab8d7(0x203)][_0x1ab8d7(0x1bc)](_0x1ab8d7(0x1ce)),_0x1d3725=this[_0x1ab8d7(0x1d5)][_0x1ab8d7(0x203)][_0x1ab8d7(0x1bc)](_0x4d4092)[_0x1ab8d7(0x1ee)]();function _0x53024d({showActiveMarker:_0xe5d359=!0x0,setDataAttribute:_0x847ff5=!0x0}={}){return(_0x609597,_0xb1df5e,_0x56f93c)=>{const _0x450144=_0x533f,{type:_0x28e24d,id:_0x13e60a}=_0x590d28[_0x450144(0x1fc)](_0xb1df5e[_0x450144(0x1f4)]),_0x1dca06=_0x590d28[_0x450144(0x1c8)](_0x13e60a),_0x1e8bcd=_0x1dca06[_0x450144(0x1cd)];if(_0x450144(0x1fe)!=_0x1dca06[_0x450144(0x1d9)]||!_0x1e8bcd||_0x450144(0x1f2)!=_0x1e8bcd[_0x450144(0x1d1)])return;if(_0xb1df5e[_0x450144(0x1af)])return void _0x609597[_0x450144(0x1b6)]();if(!_0x56f93c[_0x450144(0x1ed)][_0x450144(0x201)](_0xb1df5e[_0x450144(0x1db)],_0x609597[_0x450144(0x1d0)]))return;const _0x1213f9=_0xb1df5e[_0x450144(0x1db)][_0x450144(0x1ba)][_0x450144(0x1c6)],_0x5be80b=_0xb1df5e[_0x450144(0x1db)][_0x450144(0x1b9)][_0x450144(0x1c5)],_0x17b56c=_0x1213f9[_0x450144(0x1e7)][_0x450144(0x1e7)],{column:_0x5319a8}=_0x307816[_0x450144(0x1e2)](_0x1213f9),{column:_0x31c909}=_0x307816[_0x450144(0x1e2)](_0x5be80b);for(let _0x1cc937=_0x5319a8;_0x1cc937<=_0x31c909;_0x1cc937++){const _0x20cc5e=_0x307816[_0x450144(0x1ea)](_0x17b56c,{'column':_0x1cc937,'includeAllSlots':!0x1});for(const _0x48c7e5 of _0x20cc5e){const _0xcfd0a4=_0x48c7e5[_0x450144(0x1e4)],_0x169afa=_0x56f93c[_0x450144(0x1c4)][_0x450144(0x1f7)](_0xcfd0a4);_0x56f93c[_0x450144(0x1de)][_0x450144(0x1d4)](_0x450144(0x1da)+_0x28e24d,_0x169afa),_0x847ff5&&_0x56f93c[_0x450144(0x1de)][_0x450144(0x1d8)](_0x450144(0x1b8),_0x13e60a,_0x169afa),_0x56f93c[_0x450144(0x1c4)][_0x450144(0x1e9)](_0x169afa,_0xb1df5e[_0x450144(0x1f4)]),_0xe5d359&&(_0x590d28[_0x450144(0x1ca)][_0x450144(0x1e6)](_0xb1df5e[_0x450144(0x1f4)])?_0x56f93c[_0x450144(0x1de)][_0x450144(0x1d4)](_0x450144(0x1b7),_0x169afa):_0x56f93c[_0x450144(0x1de)][_0x450144(0x1bb)](_0x450144(0x1b7),_0x169afa));}}};}_0x590d28[_0x1ab8d7(0x200)][_0x1ab8d7(0x1f6)](_0x1ab8d7(0x1fe),_0x1ab8d7(0x1c3),_0x1ab8d7(0x1f9),_0x1d3725),_0x590d28[_0x1ab8d7(0x200)][_0x1ab8d7(0x1f6)](_0x1ab8d7(0x1fe),_0x1ab8d7(0x1f2),_0x1ab8d7(0x1f9),_0x1d3725),this[_0x1ab8d7(0x1d5)][_0x1ab8d7(0x1e3)][_0x1ab8d7(0x1fd)]['on'](_0x1ab8d7(0x1fb),_0x53024d(),{'priority':_0x1ab8d7(0x1e1)}),this[_0x1ab8d7(0x1d5)][_0x1ab8d7(0x1cd)][_0x1ab8d7(0x1fd)]['on'](_0x1ab8d7(0x1fb),(_0x62c649,_0x5771c6,_0x4b88c7)=>{const _0x469218=_0x1ab8d7;_0x4b88c7[_0x469218(0x1ec)][_0x469218(0x1bf)]&&_0x53024d({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x62c649,_0x5771c6,_0x4b88c7);},{'priority':_0x1ab8d7(0x1e1)}),this[_0x1ab8d7(0x1d5)][_0x1ab8d7(0x1e3)][_0x1ab8d7(0x1fd)]['on'](_0x1ab8d7(0x1fa),(_0x5ae036,_0x21f485,_0x1329a8)=>{const _0xdf8c4=_0x1ab8d7,{type:_0x2f7238,id:_0x2f4d05}=_0x590d28[_0xdf8c4(0x1fc)](_0x21f485[_0xdf8c4(0x1f4)]),_0x507f0d=_0x590d28[_0xdf8c4(0x1c8)](_0x2f4d05),_0x1bdef1=_0x507f0d[_0xdf8c4(0x1cd)];if(_0xdf8c4(0x1fe)!=_0x507f0d[_0xdf8c4(0x1d9)]||!_0x1bdef1||_0xdf8c4(0x1f2)!=_0x1bdef1[_0xdf8c4(0x1d1)])return;const _0xdea4aa=_0x1329a8[_0xdf8c4(0x1c4)][_0xdf8c4(0x1d6)](_0x21f485[_0xdf8c4(0x1f4)]);if(_0xdea4aa){for(const _0x5e19e6 of _0xdea4aa)_0x1329a8[_0xdf8c4(0x1de)][_0xdf8c4(0x1bb)](_0xdf8c4(0x1da)+_0x2f7238,_0x5e19e6),_0x1329a8[_0xdf8c4(0x1de)][_0xdf8c4(0x1bb)](_0xdf8c4(0x1b7),_0x5e19e6),_0x1329a8[_0xdf8c4(0x1de)][_0xdf8c4(0x1f0)](_0xdf8c4(0x1b8),_0x5e19e6),_0x1329a8[_0xdf8c4(0x1c4)][_0xdf8c4(0x1bd)](_0x5e19e6,_0x21f485[_0xdf8c4(0x1f4)]);}},{'priority':_0x1ab8d7(0x1e1)}),this[_0x1ab8d7(0x1f3)]();}[_0x2f3714(0x1f3)](){const _0x1384ac=_0x2f3714,_0x5f19e3=this[_0x1384ac(0x1d5)],_0x577732=_0x5f19e3[_0x1384ac(0x1b1)];function _0x5f3390(_0x162358){const _0x3a6f7b=_0x1384ac;return{'type':_0x3a6f7b(0x1c0),'content':_0x3f699c(_0x577732,_0x3a6f7b(0x1f8),_0x162358)};}_0x5f19e3[_0x1384ac(0x203)][_0x1384ac(0x1bc)](_0x1384ac(0x1b0))[_0x1384ac(0x1c2)][_0x1384ac(0x1e8)](_0x302fc7=>{const _0x3a5f2f=_0x1384ac;if(_0x3a5f2f(0x1fe)!=_0x302fc7[_0x3a5f2f(0x1d9)])return;const {data:_0x4d35a0}=_0x302fc7;if(_0x4d35a0){if(_0x3a5f2f(0x1c3)==_0x4d35a0[_0x3a5f2f(0x1d1)]){const _0x1c0c45=_0x4d35a0[_0x3a5f2f(0x1ae)][0x0][_0x3a5f2f(0x1df)];return _0x5f3390(_0x3f699c(_0x577732,_0x1c0c45?_0x3a5f2f(0x1d3):_0x3a5f2f(0x1d2)));}if(_0x3a5f2f(0x1f2)==_0x4d35a0[_0x3a5f2f(0x1d1)]){const _0x51fd71=_0x4d35a0[_0x3a5f2f(0x1ae)][0x0][_0x3a5f2f(0x1df)];return _0x5f3390(_0x3f699c(_0x577732,_0x51fd71?_0x3a5f2f(0x1dd):_0x3a5f2f(0x1cc)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x220c(_0x44ed51,_0x26c45b){const _0x3e8177=_0x3e81();return _0x220c=function(_0x220c2b,_0x9e3f43){_0x220c2b=_0x220c2b-0x69;let _0x479a3a=_0x3e8177[_0x220c2b];return _0x479a3a;},_0x220c(_0x44ed51,_0x26c45b);}const _0x2403f5=_0x220c;function _0x3e81(){const _0x17d442=['format','792691kdrKfZ','has','registerBlockAttribute','ELEMENT_CONTENT_TABLE','get','getAttribute','registerElementLabel','7269309dGqbxM','table','plugins','descriptionFactory','8jJUhAW','4939942tjlsHK','content','key','tableType','enableCommand','1088344SNpmTH','2152990gkiird','34425910NroRYj','*Set\x20table\x20type:*\x20%0','6xIejVQ','insertTableLayout','TrackChangesEditing','84oraSwr','layout','registerDescriptionCallback','editor','element','141316opzDbZ','TableLayout','newValue','ELEMENT_LAYOUT_TABLE','afterInit','locale','enableDefaultAttributesIntegration'];_0x3e81=function(){return _0x17d442;};return _0x3e81();}(function(_0x38c9f0,_0xed8c64){const _0x396295=_0x220c,_0x415fbe=_0x38c9f0();while(!![]){try{const _0x3f59f8=-parseInt(_0x396295(0x69))/0x1+-parseInt(_0x396295(0x7a))/0x2+parseInt(_0x396295(0x81))/0x3*(-parseInt(_0x396295(0x86))/0x4)+-parseInt(_0x396295(0x7b))/0x5*(parseInt(_0x396295(0x7e))/0x6)+-parseInt(_0x396295(0x75))/0x7*(-parseInt(_0x396295(0x74))/0x8)+-parseInt(_0x396295(0x70))/0x9+parseInt(_0x396295(0x7c))/0xa;if(_0x3f59f8===_0xed8c64)break;else _0x415fbe['push'](_0x415fbe['shift']());}catch(_0x3fba49){_0x415fbe['push'](_0x415fbe['shift']());}}}(_0x3e81,0x8e8f3));import{Plugin as _0x5e4408}from'ckeditor5/src/core.js';import{getTranslation as _0x1d3315}from'../utils/common-translations.js';export class TrackChangesTableLayout extends _0x5e4408{[_0x2403f5(0x8a)](){const _0x5e49bb=_0x2403f5,_0x158f7f=this[_0x5e49bb(0x84)],_0x219032=_0x158f7f[_0x5e49bb(0x8b)],_0x363e56=_0x158f7f[_0x5e49bb(0x72)][_0x5e49bb(0x6d)](_0x5e49bb(0x80));function _0x254a3a(_0x34465a){const _0x2118c5=_0x5e49bb;return{'type':_0x2118c5(0x8d),'content':''+_0x1d3315(_0x219032,_0x2118c5(0x7d),_0x34465a)};}_0x158f7f[_0x5e49bb(0x72)][_0x5e49bb(0x6a)](_0x5e49bb(0x87))&&(_0x363e56[_0x5e49bb(0x79)](_0x5e49bb(0x7f)),_0x363e56[_0x5e49bb(0x8c)](_0x5e49bb(0x78)),_0x363e56[_0x5e49bb(0x6b)](_0x5e49bb(0x78)),_0x363e56[_0x5e49bb(0x73)][_0x5e49bb(0x6f)](_0x1bf313=>_0x1bf313['is'](_0x5e49bb(0x85),_0x5e49bb(0x71))&&_0x5e49bb(0x82)===_0x1bf313[_0x5e49bb(0x6e)](_0x5e49bb(0x78)),_0x519624=>_0x1d3315(_0x219032,_0x5e49bb(0x89),_0x519624)),_0x363e56[_0x5e49bb(0x73)][_0x5e49bb(0x83)](_0x218430=>{const _0x27a24d=_0x5e49bb,{data:_0x3e844b}=_0x218430;if(_0x3e844b&&_0x27a24d(0x78)==_0x3e844b[_0x27a24d(0x77)])switch(_0x3e844b[_0x27a24d(0x88)]){case _0x27a24d(0x82):return _0x254a3a(_0x1d3315(_0x219032,_0x27a24d(0x89)));case _0x27a24d(0x76):return _0x254a3a(_0x1d3315(_0x219032,_0x27a24d(0x6c)));}}));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x190ed3=_0x1d82;(function(_0x5364cb,_0x4c2ba7){const _0x54ba93=_0x1d82,_0x3f352d=_0x5364cb();while(!![]){try{const _0x52c6c0=-parseInt(_0x54ba93(0xd8))/0x1*(parseInt(_0x54ba93(0x93))/0x2)+-parseInt(_0x54ba93(0xa1))/0x3+-parseInt(_0x54ba93(0xe0))/0x4+parseInt(_0x54ba93(0xc0))/0x5+parseInt(_0x54ba93(0xcb))/0x6*(-parseInt(_0x54ba93(0xaf))/0x7)+-parseInt(_0x54ba93(0x92))/0x8+parseInt(_0x54ba93(0xe5))/0x9;if(_0x52c6c0===_0x4c2ba7)break;else _0x3f352d['push'](_0x3f352d['shift']());}catch(_0x539a63){_0x3f352d['push'](_0x3f352d['shift']());}}}(_0x3024,0xb6713));function _0x3024(){const _0x2487d6=['*Split\x20cell:*\x20horizontally','622619dkzLfJ','_isForcedDefaultExecutionBlock','stop','plugins','TrackChangesEditing','getSuggestions','TableUtils','commands','1789480EczFkg','set:isEnabled','mergeTableCellLeft','tableCell','_areSelectedCellsMergable','30130650cNyqXY','markBlockFormat','_suggestionFactory','deletion','mergeTableCellRight','findAncestor','getFirstPosition','detach','cell','selection','push','forceDefaultExecution','filter','map','isEnabled','4646024rglvvV','4akUusT','mergeTableCells','table','horizontally','size','highest','getAncestors','accept','createTableWalker','registerCustomCallback','$graveyard','model','getCellLocation','value','2162733URUyIR','formatInline','from','afterInit','root','add','execute','_tablePostFixingSubtypes','has','low','_areMergableCells','containsRange','splitTableCellHorizontally','formatBlock','1474886bBQgpU','find','*Merge\x20cells*','return','getSelectionAffectedTableCells','length','format','trackChanges','editor','change','locale','getRanges','get','fromRange','markMultiRangeBlockFormat','*Split\x20cell:*\x20vertically','insertion','5128995aqhRoZ','createRangeOn','author','descriptionFactory','commandName','_acceptFormatSuggestionCallbackFactory','mergeTableCellUp','rootName','subType','element','registerDescriptionCallback','18zJOuJs','mergeTableCellDown','direction','TableEditing','document','refresh','enableCommand','setSelection','type','splitTableCellVertically','isInContent','requires'];_0x3024=function(){return _0x2487d6;};return _0x3024();}import{Plugin as _0x53c3bb}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x2304df}from'./table.js';function _0x1d82(_0x3811d7,_0x3bd05d){const _0x30242f=_0x3024();return _0x1d82=function(_0x1d825a,_0x3f483d){_0x1d825a=_0x1d825a-0x8a;let _0x54c3c7=_0x30242f[_0x1d825a];return _0x54c3c7;},_0x1d82(_0x3811d7,_0x3bd05d);}import{ModelLiveRange as _0x521aa6}from'ckeditor5/src/engine.js';import{getTranslation as _0x370145}from'../utils/common-translations.js';export class TrackChangesTableMergeSplit extends _0x53c3bb{static get[_0x190ed3(0xd6)](){return[_0x2304df];}[_0x190ed3(0xa4)](){const _0x4065ed=_0x190ed3,_0x3ba582=this[_0x4065ed(0xb7)],_0x20cbc5=_0x3ba582[_0x4065ed(0x9e)][_0x4065ed(0xcf)][_0x4065ed(0x8c)],_0x338030=_0x3ba582[_0x4065ed(0xb9)];if(!_0x3ba582[_0x4065ed(0xdb)][_0x4065ed(0xa9)](_0x4065ed(0xce)))return;const _0x42d16f=_0x3ba582[_0x4065ed(0xdb)][_0x4065ed(0xbb)](_0x4065ed(0xdc)),_0x5e1000=_0x3ba582[_0x4065ed(0xdb)][_0x4065ed(0xbb)](_0x4065ed(0xde)),_0x206d69=_0x3ba582[_0x4065ed(0xdb)][_0x4065ed(0xbb)](_0x2304df);_0x206d69[_0x4065ed(0xa8)][_0x4065ed(0x8d)](_0x4065ed(0x94)),_0x42d16f[_0x4065ed(0xd1)](_0x4065ed(0x94),()=>{const _0x54c154=_0x4065ed,_0x4f35c4=_0x5e1000[_0x54c154(0xb3)](_0x3ba582[_0x54c154(0x9e)][_0x54c154(0xcf)][_0x54c154(0x8c)]);_0x3ba582[_0x54c154(0x9e)][_0x54c154(0xb8)](()=>{const _0x2c1749=_0x54c154;_0x42d16f[_0x2c1749(0xbd)](_0x4f35c4,{'commandName':_0x2c1749(0x94),'commandParams':[]},[],_0x2c1749(0x94));});}),_0x3ba582[_0x4065ed(0xdf)][_0x4065ed(0xbb)](_0x4065ed(0x94))['on'](_0x4065ed(0xa7),(_0x6236a0,_0x59ed96)=>{const _0x59f57b=_0x4065ed;_0x3ba582[_0x59f57b(0xdf)][_0x59f57b(0xbb)](_0x59f57b(0xb6))[_0x59f57b(0xa0)]&&(_0x59ed96[_0x59f57b(0xb4)]>0x0&&_0x59ed96[_0x59ed96[_0x59f57b(0xb4)]-0x1]&&_0x59ed96[_0x59ed96[_0x59f57b(0xb4)]-0x1][_0x59f57b(0x8e)]||_0x42d16f[_0x59f57b(0xd9)]||this[_0x59f57b(0xe4)]()||_0x6236a0[_0x59f57b(0xda)]());},{'priority':_0x4065ed(0x98)});for(const _0x26b815 of[_0x4065ed(0xc6),_0x4065ed(0xe9),_0x4065ed(0xcc),_0x4065ed(0xe2)]){const _0x2bac3e=_0x3ba582[_0x4065ed(0xdf)][_0x4065ed(0xbb)](_0x26b815);_0x42d16f[_0x4065ed(0xd1)](_0x26b815,()=>{const _0x4e24bc=_0x4065ed,_0x38b969=_0x3ba582[_0x4e24bc(0x9e)][_0x4e24bc(0xcf)][_0x4e24bc(0x8c)][_0x4e24bc(0xeb)]()[_0x4e24bc(0x99)]()[_0x4e24bc(0xb0)](_0x13f88b=>_0x13f88b['is'](_0x4e24bc(0xc9),_0x4e24bc(0xe3))),_0x3aa940=_0x2bac3e[_0x4e24bc(0xa0)];_0x3ba582[_0x4e24bc(0x9e)][_0x4e24bc(0xb8)](()=>{const _0x56cc1d=_0x4e24bc;_0x42d16f[_0x56cc1d(0xbd)]([_0x38b969,_0x3aa940],{'commandName':_0x56cc1d(0x94),'commandParams':[]},[],_0x56cc1d(0x94));});});}for(const _0x3770d7 of[_0x4065ed(0xd4),_0x4065ed(0xad)]){const _0x2f79fe=_0x3ba582[_0x4065ed(0xdf)][_0x4065ed(0xbb)](_0x3770d7);_0x42d16f[_0x4065ed(0xd1)](_0x3770d7,()=>{const _0x40d830=_0x4065ed,_0x4eed2c=_0x5e1000[_0x40d830(0xb3)](_0x3ba582[_0x40d830(0x9e)][_0x40d830(0xcf)][_0x40d830(0x8c)])[0x0],_0x5ba0ac=_0x4eed2c[_0x40d830(0xea)](_0x40d830(0x95)),{column:_0xac6332,row:_0x2b25c4}=_0x5e1000[_0x40d830(0x9f)](_0x4eed2c);let _0x2e50a6=[];if(_0x40d830(0x96)==_0x2f79fe[_0x40d830(0xcd)]){const _0x19bfa9=_0x5e1000[_0x40d830(0x9b)](_0x5ba0ac,{'startRow':_0x2b25c4,'endRow':_0x2b25c4,'includeAllSlots':!0x0});_0x2e50a6=Array[_0x40d830(0xa3)](_0x19bfa9)[_0x40d830(0x90)](_0xb5ebae=>_0xb5ebae[_0x40d830(0x8b)]);}else{const _0x17a20f=_0x5e1000[_0x40d830(0x9b)](_0x5ba0ac,{'column':_0xac6332,'includeAllSlots':!0x0});_0x2e50a6=Array[_0x40d830(0xa3)](_0x17a20f)[_0x40d830(0x90)](_0x5c46fc=>_0x5c46fc[_0x40d830(0x8b)]);}_0x3ba582[_0x40d830(0x9e)][_0x40d830(0xb8)](_0x30b12e=>{const _0x37e3be=_0x40d830;_0x42d16f[_0x37e3be(0xe6)](_0x30b12e[_0x37e3be(0xc1)](_0x4eed2c),{'commandName':_0x3770d7,'commandParams':[]},_0x2e50a6,_0x3770d7);});});}_0x42d16f[_0x4065ed(0xc3)][_0x4065ed(0xca)](_0x171b34=>{const _0x7a63ec=_0x4065ed;if(_0x7a63ec(0xae)!=_0x171b34[_0x7a63ec(0xd3)]&&_0x7a63ec(0xa2)!=_0x171b34[_0x7a63ec(0xd3)])return;const {data:_0x1f040f}=_0x171b34;return _0x1f040f&&_0x7a63ec(0x94)==_0x1f040f[_0x7a63ec(0xc4)]?{'type':_0x7a63ec(0xb5),'content':_0x370145(_0x338030,_0x7a63ec(0xb1))}:void 0x0;}),_0x42d16f[_0x4065ed(0xc3)][_0x4065ed(0xca)](_0x222a48=>{const _0x5f2807=_0x4065ed;if(_0x5f2807(0xae)!=_0x222a48[_0x5f2807(0xd3)]&&_0x5f2807(0xa2)!=_0x222a48[_0x5f2807(0xd3)])return;const {data:_0x2a8de7}=_0x222a48;return _0x2a8de7?_0x5f2807(0xd4)==_0x2a8de7[_0x5f2807(0xc4)]?{'type':_0x5f2807(0xb5),'content':_0x370145(_0x338030,_0x5f2807(0xbe))}:_0x5f2807(0xad)==_0x2a8de7[_0x5f2807(0xc4)]?{'type':_0x5f2807(0xb5),'content':_0x370145(_0x338030,_0x5f2807(0xd7))}:void 0x0:void 0x0;});const _0xe29773=_0x206d69[_0x4065ed(0xc5)]();for(const _0x541138 of[_0x4065ed(0xc6),_0x4065ed(0xe9),_0x4065ed(0xcc),_0x4065ed(0xe2)])_0x42d16f[_0x4065ed(0xe7)][_0x4065ed(0x9c)](_0x4065ed(0xae),_0x541138,_0x4065ed(0x9a),_0xe29773);for(const _0x45fb1e of[_0x4065ed(0xd4),_0x4065ed(0xad)])_0x42d16f[_0x4065ed(0xe7)][_0x4065ed(0x9c)](_0x4065ed(0xae),_0x45fb1e,_0x4065ed(0x9a),_0xe29773);_0x42d16f[_0x4065ed(0xe7)][_0x4065ed(0x9c)](_0x4065ed(0xae),_0x4065ed(0x94),_0x4065ed(0x9a),_0x240148=>{const _0x422bba=_0x4065ed;_0x3ba582[_0x422bba(0x9e)][_0x422bba(0xb8)](_0x4d9bea=>{const _0x341a5d=_0x422bba,_0x156831=Array[_0x341a5d(0xa3)](_0x20cbc5[_0x341a5d(0xba)]())[_0x341a5d(0x90)](_0x12f92d=>_0x521aa6[_0x341a5d(0xbc)](_0x12f92d));_0x4d9bea[_0x341a5d(0xd2)](_0x240148),_0x3ba582[_0x341a5d(0xdf)][_0x341a5d(0xbb)](_0x341a5d(0x94))[_0x341a5d(0xd0)](),_0x3ba582[_0x341a5d(0xa7)](_0x341a5d(0x94),{'forceDefaultExecution':!0x0});const _0x115bcf=_0x156831[_0x341a5d(0x8f)](_0x4d1e58=>_0x341a5d(0x9d)!=_0x4d1e58[_0x341a5d(0xa5)][_0x341a5d(0xc7)]);_0x115bcf[_0x341a5d(0xb4)]>0x0&&_0x4d9bea[_0x341a5d(0xd2)](_0x115bcf);for(const _0x2a3008 of _0x156831)_0x2a3008[_0x341a5d(0x8a)]();});});for(const _0x244d07 of[_0x4065ed(0xc6),_0x4065ed(0xcc),_0x4065ed(0xe2),_0x4065ed(0xe9)]){const _0x311097=_0x3ba582[_0x4065ed(0xdf)][_0x4065ed(0xbb)](_0x244d07);_0x311097['on'](_0x4065ed(0xe1),(_0x16941a,_0x53e03d,_0x1e7be4)=>{const _0x297ed6=_0x4065ed;if(_0x1e7be4){const _0x227cac=_0x3ba582[_0x297ed6(0x9e)][_0x297ed6(0xcf)][_0x297ed6(0x8c)][_0x297ed6(0xeb)]()[_0x297ed6(0x99)]()[_0x297ed6(0xb0)](_0x58aec3=>_0x58aec3['is'](_0x297ed6(0xc9),_0x297ed6(0xe3)));this[_0x297ed6(0xab)](_0x311097[_0x297ed6(0xa0)],_0x227cac)||(_0x16941a[_0x297ed6(0xb2)]=!0x1,_0x16941a[_0x297ed6(0xda)]());}},{'priority':_0x4065ed(0xaa)});}}[_0x190ed3(0xe4)](){const _0x56a944=_0x190ed3,_0x2371f6=this[_0x56a944(0xb7)][_0x56a944(0xdf)][_0x56a944(0xbb)](_0x56a944(0x94)),_0x1277ca=this[_0x56a944(0xb7)][_0x56a944(0xdb)][_0x56a944(0xbb)](_0x56a944(0xde));if(!_0x2371f6[_0x56a944(0x91)])return!0x1;const _0x24aab7=_0x1277ca[_0x56a944(0xb3)](this[_0x56a944(0xb7)][_0x56a944(0x9e)][_0x56a944(0xcf)][_0x56a944(0x8c)]);for(const _0x876770 of _0x24aab7)for(const _0x2d53e1 of _0x24aab7)if(_0x876770!=_0x2d53e1&&!this[_0x56a944(0xab)](_0x876770,_0x2d53e1))return!0x1;return!0x0;}[_0x190ed3(0xab)](_0x2e2813,_0x2d800f){const _0x556340=_0x190ed3,_0x331e81=this[_0x556340(0xb7)][_0x556340(0xdb)][_0x556340(0xbb)](_0x556340(0xdc)),_0x3bd9b4=this[_0x556340(0xb7)][_0x556340(0x9e)][_0x556340(0xc1)](_0x2e2813),_0x4f4567=this[_0x556340(0xb7)][_0x556340(0x9e)][_0x556340(0xc1)](_0x2d800f),_0x4cbe73=new Set(),_0x199456=new Set();for(const _0x55c79b of _0x331e81[_0x556340(0xdd)]())if((_0x556340(0xbf)==_0x55c79b[_0x556340(0xd3)]||_0x556340(0xe8)==_0x55c79b[_0x556340(0xd3)]||_0x556340(0x94)==_0x55c79b[_0x556340(0xc8)])&&_0x55c79b[_0x556340(0xd5)]){for(const _0x4dc0b6 of _0x55c79b[_0x556340(0xba)]())_0x4dc0b6[_0x556340(0xac)](_0x3bd9b4,!0x0)&&_0x4cbe73[_0x556340(0xa6)](_0x55c79b[_0x556340(0xd3)]+':'+_0x55c79b[_0x556340(0xc2)]['id']),_0x4dc0b6[_0x556340(0xac)](_0x4f4567,!0x0)&&_0x199456[_0x556340(0xa6)](_0x55c79b[_0x556340(0xd3)]+':'+_0x55c79b[_0x556340(0xc2)]['id']);}if(_0x4cbe73[_0x556340(0x97)]!=_0x199456[_0x556340(0x97)])return!0x1;for(const _0x35f79a of _0x4cbe73)if(!_0x199456[_0x556340(0xa9)](_0x35f79a))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x4ba6e2=_0x1e41;function _0x1fc4(){const _0x6e8f28=['has','change','accept','rootName','plugins','903JPWKRf','push','cell','getSelectionAffectedTableCells','detach','containsRange','tableCell','refresh','insertion','stop','highest','mergeTableCellDown','document','size','commands','commandName','isEnabled','low','6izlYQG','fromRange','setSelection','formatBlock','author','mergeTableCellLeft','element','3732lUJkYr','getAncestors','getFirstPosition','direction','add','*Merge\x20cells*','root','find','markMultiRangeBlockFormat','createTableWalker','markBlockFormat','createRangeOn','$graveyard','TrackChangesEditing','5566221gvDxzu','_areMergableCells','TableUtils','editor','_isForcedDefaultExecutionBlock','deletion','splitTableCellVertically','_suggestionFactory','mergeTableCellRight','requires','map','horizontally','subType','enableCommand','mergeTableCellUp','execute','TableEditing','formatInline','findAncestor','return','10tlPGrh','value','registerCustomCallback','model','*Split\x20cell:*\x20vertically','trackChanges','4803880YyJbNY','from','registerDescriptionCallback','getRanges','getSuggestions','getCellLocation','set:isEnabled','_acceptFormatSuggestionCallbackFactory','_areSelectedCellsMergable','table','filter','length','forceDefaultExecution','_tablePostFixingSubtypes','afterInit','splitTableCellHorizontally','5360306aokNbn','get','4176020enqAkf','isInContent','selection','mergeTableCells','*Split\x20cell:*\x20horizontally','format','descriptionFactory','locale','23134VlRcyL','286939eLwHoE','type'];_0x1fc4=function(){return _0x6e8f28;};return _0x1fc4();}(function(_0x11efaf,_0x23539d){const _0x2ec2f6=_0x1e41,_0x274605=_0x11efaf();while(!![]){try{const _0x2fcd90=parseInt(_0x2ec2f6(0x14e))/0x1+-parseInt(_0x2ec2f6(0x14d))/0x2+parseInt(_0x2ec2f6(0x155))/0x3*(parseInt(_0x2ec2f6(0x10b))/0x4)+parseInt(_0x2ec2f6(0x145))/0x5+parseInt(_0x2ec2f6(0x104))/0x6*(-parseInt(_0x2ec2f6(0x143))/0x7)+-parseInt(_0x2ec2f6(0x133))/0x8+-parseInt(_0x2ec2f6(0x119))/0x9*(-parseInt(_0x2ec2f6(0x12d))/0xa);if(_0x2fcd90===_0x23539d)break;else _0x274605['push'](_0x274605['shift']());}catch(_0x1b7ada){_0x274605['push'](_0x274605['shift']());}}}(_0x1fc4,0x9d233));import{Plugin as _0x3207c0}from'ckeditor5/src/core.js';import{TrackChangesTable as _0x5caca8}from'./table.js';import{ModelLiveRange as _0x15cb72}from'ckeditor5/src/engine.js';import{getTranslation as _0x25ae5d}from'../utils/common-translations.js';function _0x1e41(_0x1c8003,_0x14d387){const _0x1fc466=_0x1fc4();return _0x1e41=function(_0x1e41e0,_0x31b46b){_0x1e41e0=_0x1e41e0-0xf4;let _0x3dc9b7=_0x1fc466[_0x1e41e0];return _0x3dc9b7;},_0x1e41(_0x1c8003,_0x14d387);}export class TrackChangesTableMergeSplit extends _0x3207c0{static get[_0x4ba6e2(0x122)](){return[_0x5caca8];}[_0x4ba6e2(0x141)](){const _0x361b8f=_0x4ba6e2,_0x553d64=this[_0x361b8f(0x11c)],_0x271191=_0x553d64[_0x361b8f(0x130)][_0x361b8f(0xfe)][_0x361b8f(0x147)],_0x19bf40=_0x553d64[_0x361b8f(0x14c)];if(!_0x553d64[_0x361b8f(0x154)][_0x361b8f(0x150)](_0x361b8f(0x129)))return;const _0x5f324a=_0x553d64[_0x361b8f(0x154)][_0x361b8f(0x144)](_0x361b8f(0x118)),_0x1d3187=_0x553d64[_0x361b8f(0x154)][_0x361b8f(0x144)](_0x361b8f(0x11b)),_0x112b75=_0x553d64[_0x361b8f(0x154)][_0x361b8f(0x144)](_0x5caca8);_0x112b75[_0x361b8f(0x140)][_0x361b8f(0x156)](_0x361b8f(0x148)),_0x5f324a[_0x361b8f(0x126)](_0x361b8f(0x148),()=>{const _0x5bb449=_0x361b8f,_0x4315c1=_0x1d3187[_0x5bb449(0xf5)](_0x553d64[_0x5bb449(0x130)][_0x5bb449(0xfe)][_0x5bb449(0x147)]);_0x553d64[_0x5bb449(0x130)][_0x5bb449(0x151)](()=>{const _0x3e8943=_0x5bb449;_0x5f324a[_0x3e8943(0x113)](_0x4315c1,{'commandName':_0x3e8943(0x148),'commandParams':[]},[],_0x3e8943(0x148));});}),_0x553d64[_0x361b8f(0x100)][_0x361b8f(0x144)](_0x361b8f(0x148))['on'](_0x361b8f(0x128),(_0x2fcfda,_0x593f98)=>{const _0x554ccf=_0x361b8f;_0x553d64[_0x554ccf(0x100)][_0x554ccf(0x144)](_0x554ccf(0x132))[_0x554ccf(0x12e)]&&(_0x593f98[_0x554ccf(0x13e)]>0x0&&_0x593f98[_0x593f98[_0x554ccf(0x13e)]-0x1]&&_0x593f98[_0x593f98[_0x554ccf(0x13e)]-0x1][_0x554ccf(0x13f)]||_0x5f324a[_0x554ccf(0x11d)]||this[_0x554ccf(0x13b)]()||_0x2fcfda[_0x554ccf(0xfb)]());},{'priority':_0x361b8f(0xfc)});for(const _0x24f847 of[_0x361b8f(0x127),_0x361b8f(0x121),_0x361b8f(0xfd),_0x361b8f(0x109)]){const _0x44e201=_0x553d64[_0x361b8f(0x100)][_0x361b8f(0x144)](_0x24f847);_0x5f324a[_0x361b8f(0x126)](_0x24f847,()=>{const _0x5672eb=_0x361b8f,_0x4924a3=_0x553d64[_0x5672eb(0x130)][_0x5672eb(0xfe)][_0x5672eb(0x147)][_0x5672eb(0x10d)]()[_0x5672eb(0x10c)]()[_0x5672eb(0x112)](_0x27a094=>_0x27a094['is'](_0x5672eb(0x10a),_0x5672eb(0xf8))),_0x26a7cb=_0x44e201[_0x5672eb(0x12e)];_0x553d64[_0x5672eb(0x130)][_0x5672eb(0x151)](()=>{const _0x53c620=_0x5672eb;_0x5f324a[_0x53c620(0x113)]([_0x4924a3,_0x26a7cb],{'commandName':_0x53c620(0x148),'commandParams':[]},[],_0x53c620(0x148));});});}for(const _0x2c830b of[_0x361b8f(0x11f),_0x361b8f(0x142)]){const _0x1f0968=_0x553d64[_0x361b8f(0x100)][_0x361b8f(0x144)](_0x2c830b);_0x5f324a[_0x361b8f(0x126)](_0x2c830b,()=>{const _0x3587ae=_0x361b8f,_0x53696e=_0x1d3187[_0x3587ae(0xf5)](_0x553d64[_0x3587ae(0x130)][_0x3587ae(0xfe)][_0x3587ae(0x147)])[0x0],_0x2b98b3=_0x53696e[_0x3587ae(0x12b)](_0x3587ae(0x13c)),{column:_0x32f3ec,row:_0x38a6df}=_0x1d3187[_0x3587ae(0x138)](_0x53696e);let _0x52bff9=[];if(_0x3587ae(0x124)==_0x1f0968[_0x3587ae(0x10e)]){const _0x155b93=_0x1d3187[_0x3587ae(0x114)](_0x2b98b3,{'startRow':_0x38a6df,'endRow':_0x38a6df,'includeAllSlots':!0x0});_0x52bff9=Array[_0x3587ae(0x134)](_0x155b93)[_0x3587ae(0x123)](_0x513ec1=>_0x513ec1[_0x3587ae(0xf4)]);}else{const _0x4e3517=_0x1d3187[_0x3587ae(0x114)](_0x2b98b3,{'column':_0x32f3ec,'includeAllSlots':!0x0});_0x52bff9=Array[_0x3587ae(0x134)](_0x4e3517)[_0x3587ae(0x123)](_0x51909f=>_0x51909f[_0x3587ae(0xf4)]);}_0x553d64[_0x3587ae(0x130)][_0x3587ae(0x151)](_0x5441b4=>{const _0x50b9ca=_0x3587ae;_0x5f324a[_0x50b9ca(0x115)](_0x5441b4[_0x50b9ca(0x116)](_0x53696e),{'commandName':_0x2c830b,'commandParams':[]},_0x52bff9,_0x2c830b);});});}_0x5f324a[_0x361b8f(0x14b)][_0x361b8f(0x135)](_0x4b1ae3=>{const _0x2f9d96=_0x361b8f;if(_0x2f9d96(0x107)!=_0x4b1ae3[_0x2f9d96(0x14f)]&&_0x2f9d96(0x12a)!=_0x4b1ae3[_0x2f9d96(0x14f)])return;const {data:_0x559c24}=_0x4b1ae3;return _0x559c24&&_0x2f9d96(0x148)==_0x559c24[_0x2f9d96(0x101)]?{'type':_0x2f9d96(0x14a),'content':_0x25ae5d(_0x19bf40,_0x2f9d96(0x110))}:void 0x0;}),_0x5f324a[_0x361b8f(0x14b)][_0x361b8f(0x135)](_0x307acb=>{const _0x266ee9=_0x361b8f;if(_0x266ee9(0x107)!=_0x307acb[_0x266ee9(0x14f)]&&_0x266ee9(0x12a)!=_0x307acb[_0x266ee9(0x14f)])return;const {data:_0x3d2d86}=_0x307acb;return _0x3d2d86?_0x266ee9(0x11f)==_0x3d2d86[_0x266ee9(0x101)]?{'type':_0x266ee9(0x14a),'content':_0x25ae5d(_0x19bf40,_0x266ee9(0x131))}:_0x266ee9(0x142)==_0x3d2d86[_0x266ee9(0x101)]?{'type':_0x266ee9(0x14a),'content':_0x25ae5d(_0x19bf40,_0x266ee9(0x149))}:void 0x0:void 0x0;});const _0xdb89ed=_0x112b75[_0x361b8f(0x13a)]();for(const _0x1d7fa8 of[_0x361b8f(0x127),_0x361b8f(0x121),_0x361b8f(0xfd),_0x361b8f(0x109)])_0x5f324a[_0x361b8f(0x120)][_0x361b8f(0x12f)](_0x361b8f(0x107),_0x1d7fa8,_0x361b8f(0x152),_0xdb89ed);for(const _0x13048c of[_0x361b8f(0x11f),_0x361b8f(0x142)])_0x5f324a[_0x361b8f(0x120)][_0x361b8f(0x12f)](_0x361b8f(0x107),_0x13048c,_0x361b8f(0x152),_0xdb89ed);_0x5f324a[_0x361b8f(0x120)][_0x361b8f(0x12f)](_0x361b8f(0x107),_0x361b8f(0x148),_0x361b8f(0x152),_0x1853e0=>{const _0x2965db=_0x361b8f;_0x553d64[_0x2965db(0x130)][_0x2965db(0x151)](_0x389d79=>{const _0x3fcdeb=_0x2965db,_0x55816a=Array[_0x3fcdeb(0x134)](_0x271191[_0x3fcdeb(0x136)]())[_0x3fcdeb(0x123)](_0x599260=>_0x15cb72[_0x3fcdeb(0x105)](_0x599260));_0x389d79[_0x3fcdeb(0x106)](_0x1853e0),_0x553d64[_0x3fcdeb(0x100)][_0x3fcdeb(0x144)](_0x3fcdeb(0x148))[_0x3fcdeb(0xf9)](),_0x553d64[_0x3fcdeb(0x128)](_0x3fcdeb(0x148),{'forceDefaultExecution':!0x0});const _0x39bd49=_0x55816a[_0x3fcdeb(0x13d)](_0x78fb3f=>_0x3fcdeb(0x117)!=_0x78fb3f[_0x3fcdeb(0x111)][_0x3fcdeb(0x153)]);_0x39bd49[_0x3fcdeb(0x13e)]>0x0&&_0x389d79[_0x3fcdeb(0x106)](_0x39bd49);for(const _0x55006b of _0x55816a)_0x55006b[_0x3fcdeb(0xf6)]();});});for(const _0x314a81 of[_0x361b8f(0x127),_0x361b8f(0xfd),_0x361b8f(0x109),_0x361b8f(0x121)]){const _0x27c5f5=_0x553d64[_0x361b8f(0x100)][_0x361b8f(0x144)](_0x314a81);_0x27c5f5['on'](_0x361b8f(0x139),(_0x493797,_0x4bbda7,_0x38cf84)=>{const _0x1c6bb6=_0x361b8f;if(_0x38cf84){const _0x40e87b=_0x553d64[_0x1c6bb6(0x130)][_0x1c6bb6(0xfe)][_0x1c6bb6(0x147)][_0x1c6bb6(0x10d)]()[_0x1c6bb6(0x10c)]()[_0x1c6bb6(0x112)](_0x36cfbd=>_0x36cfbd['is'](_0x1c6bb6(0x10a),_0x1c6bb6(0xf8)));this[_0x1c6bb6(0x11a)](_0x27c5f5[_0x1c6bb6(0x12e)],_0x40e87b)||(_0x493797[_0x1c6bb6(0x12c)]=!0x1,_0x493797[_0x1c6bb6(0xfb)]());}},{'priority':_0x361b8f(0x103)});}}[_0x4ba6e2(0x13b)](){const _0x476e06=_0x4ba6e2,_0x534554=this[_0x476e06(0x11c)][_0x476e06(0x100)][_0x476e06(0x144)](_0x476e06(0x148)),_0x5ce456=this[_0x476e06(0x11c)][_0x476e06(0x154)][_0x476e06(0x144)](_0x476e06(0x11b));if(!_0x534554[_0x476e06(0x102)])return!0x1;const _0x393094=_0x5ce456[_0x476e06(0xf5)](this[_0x476e06(0x11c)][_0x476e06(0x130)][_0x476e06(0xfe)][_0x476e06(0x147)]);for(const _0x116405 of _0x393094)for(const _0x5d39b4 of _0x393094)if(_0x116405!=_0x5d39b4&&!this[_0x476e06(0x11a)](_0x116405,_0x5d39b4))return!0x1;return!0x0;}[_0x4ba6e2(0x11a)](_0x38e06c,_0x15961c){const _0x562873=_0x4ba6e2,_0x97c5b=this[_0x562873(0x11c)][_0x562873(0x154)][_0x562873(0x144)](_0x562873(0x118)),_0x403591=this[_0x562873(0x11c)][_0x562873(0x130)][_0x562873(0x116)](_0x38e06c),_0x548489=this[_0x562873(0x11c)][_0x562873(0x130)][_0x562873(0x116)](_0x15961c),_0x22b78d=new Set(),_0x3da5c5=new Set();for(const _0x3916b0 of _0x97c5b[_0x562873(0x137)]())if((_0x562873(0xfa)==_0x3916b0[_0x562873(0x14f)]||_0x562873(0x11e)==_0x3916b0[_0x562873(0x14f)]||_0x562873(0x148)==_0x3916b0[_0x562873(0x125)])&&_0x3916b0[_0x562873(0x146)]){for(const _0x519637 of _0x3916b0[_0x562873(0x136)]())_0x519637[_0x562873(0xf7)](_0x403591,!0x0)&&_0x22b78d[_0x562873(0x10f)](_0x3916b0[_0x562873(0x14f)]+':'+_0x3916b0[_0x562873(0x108)]['id']),_0x519637[_0x562873(0xf7)](_0x548489,!0x0)&&_0x3da5c5[_0x562873(0x10f)](_0x3916b0[_0x562873(0x14f)]+':'+_0x3916b0[_0x562873(0x108)]['id']);}if(_0x22b78d[_0x562873(0xff)]!=_0x3da5c5[_0x562873(0xff)])return!0x1;for(const _0x35c6fc of _0x22b78d)if(!_0x3da5c5[_0x562873(0x150)](_0x35c6fc))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21c281=_0x5aa9;function _0x166d(){const _0xf20ad=['registerElementLabel','6054McHjPe','enableCommand','afterInit','27960McTtra','editor','5517090nKPJfm','1435MCkYBf','4040404rdpAKE','ELEMENT_TABLE_OF_CONTENTS','locale','commands','988328TXRZFG','plugins','descriptionFactory','get','TrackChangesEditing','1784970MCvNEU','981596JxockJ','9AGgvpg','tableOfContents','insertTableOfContents','188ScYjyY'];_0x166d=function(){return _0xf20ad;};return _0x166d();}(function(_0xe5c8b4,_0xe2684c){const _0x18878f=_0x5aa9,_0x274f9a=_0xe5c8b4();while(!![]){try{const _0x560792=parseInt(_0x18878f(0x1a8))/0x1+parseInt(_0x18878f(0x1ac))/0x2*(-parseInt(_0x18878f(0x1b1))/0x3)+parseInt(_0x18878f(0x1b5))/0x4+parseInt(_0x18878f(0x1a7))/0x5+-parseInt(_0x18878f(0x1ae))/0x6*(parseInt(_0x18878f(0x1b4))/0x7)+parseInt(_0x18878f(0x1b9))/0x8*(-parseInt(_0x18878f(0x1a9))/0x9)+-parseInt(_0x18878f(0x1b3))/0xa;if(_0x560792===_0xe2684c)break;else _0x274f9a['push'](_0x274f9a['shift']());}catch(_0x21ead9){_0x274f9a['push'](_0x274f9a['shift']());}}}(_0x166d,0x902b4));import{Plugin as _0x9a974d}from'ckeditor5/src/core.js';import{getTranslation as _0x18990f}from'../utils/common-translations.js';function _0x5aa9(_0x2ff932,_0xa491d0){const _0x166d54=_0x166d();return _0x5aa9=function(_0x5aa9a1,_0x48aa43){_0x5aa9a1=_0x5aa9a1-0x1a6;let _0x3f677a=_0x166d54[_0x5aa9a1];return _0x3f677a;},_0x5aa9(_0x2ff932,_0xa491d0);}export class TrackChangesTableOfContents extends _0x9a974d{[_0x21c281(0x1b0)](){const _0x45c3fd=_0x21c281,_0x32924b=this[_0x45c3fd(0x1b2)];if(!_0x32924b[_0x45c3fd(0x1b8)][_0x45c3fd(0x1bc)](_0x45c3fd(0x1ab)))return;_0x32924b[_0x45c3fd(0x1ba)][_0x45c3fd(0x1bc)](_0x45c3fd(0x1a6))[_0x45c3fd(0x1af)](_0x45c3fd(0x1ab));const _0xa824b6=_0x32924b[_0x45c3fd(0x1ba)][_0x45c3fd(0x1bc)](_0x45c3fd(0x1a6)),_0x38d894=_0x32924b[_0x45c3fd(0x1b7)];_0xa824b6[_0x45c3fd(0x1bb)][_0x45c3fd(0x1ad)](_0x45c3fd(0x1aa),_0x30a174=>_0x18990f(_0x38d894,_0x45c3fd(0x1b6),_0x30a174));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x233788=_0x3080;(function(_0x88f6a,_0x55fc54){const _0x3ccd12=_0x3080,_0x67461e=_0x88f6a();while(!![]){try{const _0x3a1c82=parseInt(_0x3ccd12(0x10f))/0x1+-parseInt(_0x3ccd12(0x122))/0x2*(-parseInt(_0x3ccd12(0xfc))/0x3)+-parseInt(_0x3ccd12(0x105))/0x4+-parseInt(_0x3ccd12(0xee))/0x5*(parseInt(_0x3ccd12(0x10a))/0x6)+parseInt(_0x3ccd12(0x120))/0x7+-parseInt(_0x3ccd12(0x11c))/0x8*(parseInt(_0x3ccd12(0x132))/0x9)+parseInt(_0x3ccd12(0xfd))/0xa;if(_0x3a1c82===_0x55fc54)break;else _0x67461e['push'](_0x67461e['shift']());}catch(_0x4dc09c){_0x67461e['push'](_0x67461e['shift']());}}}(_0x5380,0x53009));function _0x5380(){const _0x42627a=['join','getContainedElement','locale','commandParams','TrackChangesEditing','tableBorderStyle','document','_$1','tableBackgroundColor','getSuggestionCallback','selection','_registerTablePropertiesAttributes','5oqweBl','start','_handlePropertyChange','accept','model','descriptionFactory','has','_getSuggestion','tableCellBorderStyle','registerCustomCallback','format','tableAlignment','tableCellBackgroundColor','batch','942519PAcipU','1639450eoSQCj','setAttribute','pluginName','tableWidth','registerAttributeLabel','tableCellHorizontalAlignment','formatBlock','tableCellPadding','1034392lzmmKO','tableCellHeight','TrackChangesTableProperties','tableBorderColor','getSelectionAffectedTableCells','1192848eTgEEV','nodeAfter','findAncestor','*Format:*\x20change\x20table\x20properties','tableCellProperties','46762wOCdlq','tableHeight','registerDescriptionCallback','afterInit','TableUtils','discard','registerBlockAttribute','replace','_suggestionFactory','table','handleSuggestionDescription','TableCellPropertiesEditing','*Format:*\x20change\x20table\x20cell\x20properties','4616yWUlRq','get','markBlockFormat','isOfficialPlugin','1921682KhVVHp','tableBorderWidth','4ZbuPfU','getSuggestions','enqueueChange','data','toUpperCase','getAttribute','change','tableCellWidth','plugins','tableCellVerticalAlignment','tableProperties','tableCellBorderColor','tableCellBorderWidth','editor','removeAttribute','FORMAT_','4932WQpGHg','handleDiscardAction','enableCommand','isPremiumPlugin','getFirstPosition','subType','TablePropertiesEditing'];_0x5380=function(){return _0x42627a;};return _0x5380();}function _0x3080(_0x322bdc,_0x347ddd){const _0x53801e=_0x5380();return _0x3080=function(_0x3080aa,_0xc51531){_0x3080aa=_0x3080aa-0xe1;let _0x557531=_0x53801e[_0x3080aa];return _0x557531;},_0x3080(_0x322bdc,_0x347ddd);}import{Plugin as _0x465d7c}from'ckeditor5/src/core.js';import{getTranslation as _0x39bbd6}from'../utils/common-translations.js';export class TrackChangesTableProperties extends _0x465d7c{[_0x233788(0x12c)];[_0x233788(0x10e)];constructor(_0xe46856){const _0x45fc70=_0x233788;super(_0xe46856),this[_0x45fc70(0x12c)]=[_0x45fc70(0x108),_0x45fc70(0xe7),_0x45fc70(0x121),_0x45fc70(0xf9),_0x45fc70(0x100),_0x45fc70(0x110),_0x45fc70(0xea)],this[_0x45fc70(0x10e)]=[_0x45fc70(0x12d),_0x45fc70(0xf6),_0x45fc70(0x12e),_0x45fc70(0x104),_0x45fc70(0x129),_0x45fc70(0x106),_0x45fc70(0xfa),_0x45fc70(0x102),_0x45fc70(0x12b)];}static get[_0x233788(0xff)](){const _0x384c3c=_0x233788;return _0x384c3c(0x107);}static get[_0x233788(0x11f)](){return!0x0;}static get[_0x233788(0x135)](){return!0x0;}[_0x233788(0x112)](){const _0x18954e=_0x233788,_0x352e9a=this[_0x18954e(0x12f)][_0x18954e(0x12a)][_0x18954e(0x11d)](_0x18954e(0xe6));if(this[_0x18954e(0x12f)][_0x18954e(0x12a)][_0x18954e(0xf4)](_0x18954e(0xe1))){for(const _0x1e212b of this[_0x18954e(0x12c)])_0x352e9a[_0x18954e(0x134)](_0x1e212b,(_0x1abea9,_0xdbab23)=>{const _0x5dec28=_0x18954e,_0x4fcc5c=this[_0x5dec28(0x12f)][_0x5dec28(0xf2)][_0x5dec28(0xe8)][_0x5dec28(0xec)][_0x5dec28(0x136)]()[_0x5dec28(0x10c)](_0x5dec28(0x118));this[_0x5dec28(0xf0)](_0x1e212b,[_0x4fcc5c],this[_0x5dec28(0x12c)],_0x5dec28(0x12c),_0x1abea9,_0xdbab23);});_0x352e9a[_0x18954e(0x117)][_0x18954e(0xf7)](_0x18954e(0x103),_0x18954e(0x12c),_0x18954e(0xf1),_0x352e9a[_0x18954e(0x117)][_0x18954e(0xeb)](_0x18954e(0x103),null,_0x18954e(0x114))),_0x352e9a[_0x18954e(0x117)][_0x18954e(0xf7)](_0x18954e(0x103),_0x18954e(0x12c),_0x18954e(0x114),(_0x3ae006,_0x37270f)=>this[_0x18954e(0x133)](this[_0x18954e(0x12c)],_0x3ae006,_0x37270f)),_0x352e9a[_0x18954e(0x117)][_0x18954e(0xf7)](_0x18954e(0x103),_0x18954e(0x12c),_0x18954e(0xe2),()=>!0x1);}if(this[_0x18954e(0x12f)][_0x18954e(0x12a)][_0x18954e(0xf4)](_0x18954e(0x11a))){for(const _0x2cfa41 of this[_0x18954e(0x10e)])_0x352e9a[_0x18954e(0x134)](_0x2cfa41,(_0x358447,_0x1fe9d6)=>{const _0x381fe9=_0x18954e,_0x1514f0=this[_0x381fe9(0x12f)][_0x381fe9(0x12a)][_0x381fe9(0x11d)](_0x381fe9(0x113))[_0x381fe9(0x109)](this[_0x381fe9(0x12f)][_0x381fe9(0xf2)][_0x381fe9(0xe8)][_0x381fe9(0xec)]);this[_0x381fe9(0xf0)](_0x2cfa41,_0x1514f0,this[_0x381fe9(0x10e)],_0x381fe9(0x10e),_0x358447,_0x1fe9d6);});_0x352e9a[_0x18954e(0x117)][_0x18954e(0xf7)](_0x18954e(0x103),_0x18954e(0x10e),_0x18954e(0xf1),_0x352e9a[_0x18954e(0x117)][_0x18954e(0xeb)](_0x18954e(0x103),null,_0x18954e(0x114))),_0x352e9a[_0x18954e(0x117)][_0x18954e(0xf7)](_0x18954e(0x103),_0x18954e(0x10e),_0x18954e(0x114),(_0x38754a,_0x10b0a7)=>this[_0x18954e(0x133)](this[_0x18954e(0x10e)],_0x38754a,_0x10b0a7)),_0x352e9a[_0x18954e(0x117)][_0x18954e(0xf7)](_0x18954e(0x103),_0x18954e(0x10e),_0x18954e(0xe2),()=>!0x1);}_0x352e9a[_0x18954e(0xf3)][_0x18954e(0x111)](_0x11b3b4=>this[_0x18954e(0x119)](_0x11b3b4)),this[_0x18954e(0xed)]();}[_0x233788(0xf0)](_0x18c90b,_0x34176a,_0x4c12a3,_0x5c3a03,_0xc8ad77,_0x4a9fa6){const _0x489e63=_0x233788,_0x5bb23f=this[_0x489e63(0x12f)][_0x489e63(0x12a)][_0x489e63(0x11d)](_0x489e63(0xe6));this[_0x489e63(0x12f)][_0x489e63(0xf2)][_0x489e63(0x124)](_0x4a9fa6[_0x489e63(0xfb)],()=>{const _0x21c1f5=_0x489e63;for(const _0x164172 of _0x34176a){if(this[_0x21c1f5(0xf5)](_0x164172,_0x5c3a03))_0xc8ad77(_0x4a9fa6);else{const _0x599bac={};for(const _0x12f703 of _0x4c12a3){const _0x3ac270=_0x164172[_0x21c1f5(0x127)](_0x12f703);void 0x0!==_0x3ac270&&(_0x599bac[_0x12f703]=_0x3ac270);}_0xc8ad77(_0x4a9fa6),_0x5bb23f[_0x21c1f5(0x11e)](_0x164172,{'commandParams':[_0x599bac]},[],_0x5c3a03);}}});}[_0x233788(0x133)](_0x15a37c,_0xfa83ce,_0x20bbb5){const _0x21951c=_0x233788,_0x12cdbe=_0xfa83ce[0x0][_0x21951c(0xef)][_0x21951c(0x10b)],_0x2a0c2c=_0x20bbb5[_0x21951c(0xe5)][0x0];this[_0x21951c(0x12f)][_0x21951c(0xf2)][_0x21951c(0x128)](_0x3f5e19=>{const _0x1772e9=_0x21951c;for(const _0x5dd4ab of _0x15a37c)void 0x0!==_0x2a0c2c[_0x5dd4ab]?_0x3f5e19[_0x1772e9(0xfe)](_0x5dd4ab,_0x2a0c2c[_0x5dd4ab],_0x12cdbe):_0x3f5e19[_0x1772e9(0x130)](_0x5dd4ab,_0x12cdbe);});}[_0x233788(0x119)](_0x3fdf58){const _0x32fe4d=_0x233788;if(_0x3fdf58[_0x32fe4d(0x125)])switch(_0x3fdf58[_0x32fe4d(0x137)]){case _0x32fe4d(0x12c):return{'type':_0x32fe4d(0xf8),'content':_0x39bbd6(this[_0x32fe4d(0x12f)][_0x32fe4d(0xe4)],_0x32fe4d(0x10d))};case _0x32fe4d(0x10e):return{'type':_0x32fe4d(0xf8),'content':_0x39bbd6(this[_0x32fe4d(0x12f)][_0x32fe4d(0xe4)],_0x32fe4d(0x11b))};}}[_0x233788(0xf5)](_0x151608,_0x4e4512){const _0x555bc0=_0x233788,_0x11ef47=this[_0x555bc0(0x12f)][_0x555bc0(0x12a)][_0x555bc0(0x11d)](_0x555bc0(0xe6));for(const _0x3c785a of _0x11ef47[_0x555bc0(0x123)]({'skipNotAttached':!0x0})){const _0x861135=_0x3c785a[_0x555bc0(0xe3)]();if(_0x3c785a[_0x555bc0(0x137)]===_0x4e4512&&_0x861135===_0x151608)return _0x3c785a;}return null;}[_0x233788(0xed)](){const _0xf3682d=_0x233788,_0x14c06c=this[_0xf3682d(0x12f)][_0xf3682d(0x12a)][_0xf3682d(0x11d)](_0xf3682d(0xe6)),_0x53f80b=[...this[_0xf3682d(0x12c)],...this[_0xf3682d(0x10e)]];for(const _0x4c8749 of _0x53f80b){const _0x2ae249=_0x4c8749[_0xf3682d(0x116)](/([A-Z])/g,_0xf3682d(0xe9))[_0xf3682d(0x126)]();_0x14c06c[_0xf3682d(0x115)](_0x4c8749),_0x14c06c[_0xf3682d(0xf3)][_0xf3682d(0x101)](_0x4c8749,_0x39bbd6(this[_0xf3682d(0x12f)][_0xf3682d(0xe4)],_0xf3682d(0x131)+_0x2ae249));}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1cc8(){const _0x329635=['9841070CPDYyi','4392904pUmQSj','editor','TrackChangesEditing','1921025mCuAyX','1594797Fyhehq','7iNvVvi','plugins','374916MZeLAO','4215738QgScka','334534JkMqBc','Template','get','insertTemplate','9OcHHYn','3JkyDtj','has','afterInit','enableCommand'];_0x1cc8=function(){return _0x329635;};return _0x1cc8();}const _0x1bec8d=_0x5d46;function _0x5d46(_0x490353,_0x1abac3){const _0x1cc87f=_0x1cc8();return _0x5d46=function(_0x5d46d9,_0x375a07){_0x5d46d9=_0x5d46d9-0x197;let _0x547d7c=_0x1cc87f[_0x5d46d9];return _0x547d7c;},_0x5d46(_0x490353,_0x1abac3);}(function(_0x578fb0,_0xe659c8){const _0x579dac=_0x5d46,_0x190d92=_0x578fb0();while(!![]){try{const _0x10a4e4=-parseInt(_0x579dac(0x197))/0x1*(-parseInt(_0x579dac(0x1a5))/0x2)+parseInt(_0x579dac(0x1a0))/0x3+parseInt(_0x579dac(0x1a3))/0x4+-parseInt(_0x579dac(0x19f))/0x5+parseInt(_0x579dac(0x1a4))/0x6*(-parseInt(_0x579dac(0x1a1))/0x7)+-parseInt(_0x579dac(0x19c))/0x8+-parseInt(_0x579dac(0x1a9))/0x9*(-parseInt(_0x579dac(0x19b))/0xa);if(_0x10a4e4===_0xe659c8)break;else _0x190d92['push'](_0x190d92['shift']());}catch(_0x4ca77a){_0x190d92['push'](_0x190d92['shift']());}}}(_0x1cc8,0x7409f));import{Plugin as _0x2cd4ec}from'ckeditor5/src/core.js';export class TrackChangesTemplate extends _0x2cd4ec{[_0x1bec8d(0x199)](){const _0xabc7ac=_0x1bec8d,_0xdd5106=this[_0xabc7ac(0x19d)];_0xdd5106[_0xabc7ac(0x1a2)][_0xabc7ac(0x198)](_0xabc7ac(0x1a6))&&_0xdd5106[_0xabc7ac(0x1a2)][_0xabc7ac(0x1a7)](_0xabc7ac(0x19e))[_0xabc7ac(0x19a)](_0xabc7ac(0x1a8));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x34cb(_0x5d3c8c,_0x13ec0c){const _0x3ed39d=_0x3ed3();return _0x34cb=function(_0x34cb01,_0x4a7f61){_0x34cb01=_0x34cb01-0x1de;let _0x20b8af=_0x3ed39d[_0x34cb01];return _0x20b8af;},_0x34cb(_0x5d3c8c,_0x13ec0c);}function _0x3ed3(){const _0x5479fc=['registerPostFixer','nodeBefore','differ','isEqual','removeMarker','end','has','updateMarker','editor','document','61458VqOeZU','9blblWR','11833MaShsz','isCollapsed','1167240hneNlV','getNearestSelectionRange','forward','235zAknZX','createRange','getChangedMarkers','model','_splitMarkerName','start','suggestion','title-content','isTouching','locale','get','143oRemLM','descriptionFactory','plugins','from','47620YcLWCt','Title','1357164sMUDLm','ELEMENT_TITLE','90ijEAmW','afterInit','registerElementLabel','TrackChangesEditing','element','newRange','1271536tKKrJL','schema','105DmZmEW','4858030RjLVqQ'];_0x3ed3=function(){return _0x5479fc;};return _0x3ed3();}const _0xc37ea1=_0x34cb;(function(_0x1be6b3,_0x3b6ef7){const _0x3c6758=_0x34cb,_0xe2e9e0=_0x1be6b3();while(!![]){try{const _0x3f11e3=parseInt(_0x3c6758(0x20a))/0x1*(parseInt(_0x3c6758(0x1f4))/0x2)+parseInt(_0x3c6758(0x1de))/0x3+-parseInt(_0x3c6758(0x1f0))/0x4*(-parseInt(_0x3c6758(0x1e1))/0x5)+parseInt(_0x3c6758(0x208))/0x6*(-parseInt(_0x3c6758(0x1fc))/0x7)+parseInt(_0x3c6758(0x1fa))/0x8+-parseInt(_0x3c6758(0x209))/0x9*(-parseInt(_0x3c6758(0x1fd))/0xa)+parseInt(_0x3c6758(0x1ec))/0xb*(-parseInt(_0x3c6758(0x1f2))/0xc);if(_0x3f11e3===_0x3b6ef7)break;else _0xe2e9e0['push'](_0xe2e9e0['shift']());}catch(_0x3f7b1e){_0xe2e9e0['push'](_0xe2e9e0['shift']());}}}(_0x3ed3,0x7a8b3));import{Plugin as _0x4c5e35}from'ckeditor5/src/core.js';import{getTranslation as _0x292aea}from'../utils/common-translations.js';export class TrackChangesTitle extends _0x4c5e35{[_0xc37ea1(0x1f5)](){const _0x425541=_0xc37ea1,_0x46897b=this[_0x425541(0x206)];if(!_0x46897b[_0x425541(0x1ee)][_0x425541(0x204)](_0x425541(0x1f1)))return;const _0x28cdfc=_0x46897b[_0x425541(0x1ee)][_0x425541(0x1eb)](_0x425541(0x1f7));_0x28cdfc[_0x425541(0x1ed)][_0x425541(0x1f6)](_0x425541(0x1e8),()=>_0x292aea(_0x46897b[_0x425541(0x1ea)],_0x425541(0x1f3))),_0x46897b[_0x425541(0x1e4)][_0x425541(0x207)][_0x425541(0x1fe)](_0x435c34=>{const _0x1ac8dc=_0x425541;let _0x55d86b=!0x1;const _0x47afe4=Array[_0x1ac8dc(0x1ef)](_0x46897b[_0x1ac8dc(0x1e4)][_0x1ac8dc(0x207)][_0x1ac8dc(0x200)][_0x1ac8dc(0x1e3)]());for(const {name:_0x2ddd32,data:_0x225d80}of _0x47afe4){const {group:_0x2ef4d1}=_0x28cdfc[_0x1ac8dc(0x1e5)](_0x2ddd32);if(_0x1ac8dc(0x1e7)!==_0x2ef4d1||!_0x225d80[_0x1ac8dc(0x1f9)])continue;const _0x2b9872=_0x225d80[_0x1ac8dc(0x1f9)],_0x3ba2aa=_0x2b9872[_0x1ac8dc(0x203)][_0x1ac8dc(0x1ff)];if(!_0x3ba2aa||!_0x3ba2aa['is'](_0x1ac8dc(0x1f8),_0x1ac8dc(0x1e8)))continue;if(!_0x2b9872[_0x1ac8dc(0x1e6)][_0x1ac8dc(0x1e9)](_0x2b9872[_0x1ac8dc(0x203)]))continue;const _0x3bd107=_0x46897b[_0x1ac8dc(0x1e4)][_0x1ac8dc(0x1fb)][_0x1ac8dc(0x1df)](_0x2b9872[_0x1ac8dc(0x203)],_0x1ac8dc(0x1e0));if(_0x3bd107&&_0x3bd107[_0x1ac8dc(0x20b)]){const _0x3eb6d9=_0x435c34[_0x1ac8dc(0x1e2)](_0x2b9872[_0x1ac8dc(0x1e6)],_0x3bd107[_0x1ac8dc(0x1e6)]);_0x3eb6d9[_0x1ac8dc(0x201)](_0x2b9872)||(_0x435c34[_0x1ac8dc(0x205)](_0x2ddd32,{'range':_0x3eb6d9}),_0x55d86b=!0x0);}_0x55d86b||(_0x435c34[_0x1ac8dc(0x202)](_0x2ddd32),_0x55d86b=!0x0);}return _0x55d86b;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x431a3f=_0x338d;function _0x338d(_0x221446,_0x51e358){const _0x3ab280=_0x3ab2();return _0x338d=function(_0x338d04,_0x439d6a){_0x338d04=_0x338d04-0x121;let _0x31e1fa=_0x3ab280[_0x338d04];return _0x31e1fa;},_0x338d(_0x221446,_0x51e358);}(function(_0x563800,_0x1575fb){const _0x10eca8=_0x338d,_0x16d3ef=_0x563800();while(!![]){try{const _0x42d48b=parseInt(_0x10eca8(0x122))/0x1*(-parseInt(_0x10eca8(0x12f))/0x2)+parseInt(_0x10eca8(0x133))/0x3*(parseInt(_0x10eca8(0x12d))/0x4)+parseInt(_0x10eca8(0x131))/0x5*(parseInt(_0x10eca8(0x134))/0x6)+parseInt(_0x10eca8(0x124))/0x7+-parseInt(_0x10eca8(0x12a))/0x8+-parseInt(_0x10eca8(0x130))/0x9+parseInt(_0x10eca8(0x129))/0xa;if(_0x42d48b===_0x1575fb)break;else _0x16d3ef['push'](_0x16d3ef['shift']());}catch(_0x2a11f6){_0x16d3ef['push'](_0x16d3ef['shift']());}}}(_0x3ab2,0x558dd));import{Plugin as _0x3394d6}from'ckeditor5/src/core.js';export class TrackChangesUndo extends _0x3394d6{[_0x431a3f(0x12b)](){const _0x5b7cdc=_0x431a3f,_0x554716=this[_0x5b7cdc(0x12c)],_0x7bc437=_0x554716[_0x5b7cdc(0x126)][_0x5b7cdc(0x12e)](_0x5b7cdc(0x125));_0x554716[_0x5b7cdc(0x126)][_0x5b7cdc(0x121)](_0x5b7cdc(0x123))&&(_0x7bc437[_0x5b7cdc(0x128)](_0x5b7cdc(0x127)),_0x7bc437[_0x5b7cdc(0x128)](_0x5b7cdc(0x132)));}}function _0x3ab2(){const _0x5d3fa0=['UndoEditing','1357118ccbIzI','TrackChangesEditing','plugins','undo','enableCommand','6208220gECmmU','4050784kciIok','afterInit','editor','1349588mbAuan','get','22gBZhDP','6079230bfqFqG','7715YYOisD','redo','3IHdreR','1506NVPUws','has','649xktxJd'];_0x3ab2=function(){return _0x5d3fa0;};return _0x3ab2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4f1d(_0x114324,_0x7d7c4b){const _0x236bc5=_0x236b();return _0x4f1d=function(_0x4f1d40,_0x312f4c){_0x4f1d40=_0x4f1d40-0x76;let _0x30bfc7=_0x236bc5[_0x4f1d40];return _0x30bfc7;},_0x4f1d(_0x114324,_0x7d7c4b);}const _0x580210=_0x4f1d;function _0x236b(){const _0x5884ee=['TrackChangesEditing','plugins','1620576HpxJnw','675NKmKNP','728442uaEeAl','Uploadcare','47389YborNP','attribute','registerDescriptionCallback','5116LWtqzm','enableCommand','10PlnTrf','uploadcareImageId','4826556vVZWBx','get','type','UploadcareImageEdit','has','166472YiHfry','descriptionFactory','uploadcareImageReplace','key','registerBlockAttribute','editor','uploadcareImageEdit','format','enableDefaultAttributesIntegration','uploadcare','2540909NNgXsB','afterInit'];_0x236b=function(){return _0x5884ee;};return _0x236b();}(function(_0x57edfa,_0x39b100){const _0x3b9745=_0x4f1d,_0x2ee1b7=_0x57edfa();while(!![]){try{const _0x5ace9d=-parseInt(_0x3b9745(0x7f))/0x1*(-parseInt(_0x3b9745(0x84))/0x2)+-parseInt(_0x3b9745(0x7d))/0x3+-parseInt(_0x3b9745(0x82))/0x4*(-parseInt(_0x3b9745(0x7c))/0x5)+parseInt(_0x3b9745(0x7b))/0x6+parseInt(_0x3b9745(0x77))/0x7+-parseInt(_0x3b9745(0x8b))/0x8+-parseInt(_0x3b9745(0x86))/0x9;if(_0x5ace9d===_0x39b100)break;else _0x2ee1b7['push'](_0x2ee1b7['shift']());}catch(_0x4266cc){_0x2ee1b7['push'](_0x2ee1b7['shift']());}}}(_0x236b,0x3b462));import{Plugin as _0x182cae}from'ckeditor5/src/core.js';export class TrackChangesUploadcare extends _0x182cae{[_0x580210(0x78)](){const _0x494f25=_0x580210,_0x371db7=this[_0x494f25(0x90)],_0x35b20f=_0x371db7[_0x494f25(0x7a)][_0x494f25(0x87)](_0x494f25(0x79));_0x371db7[_0x494f25(0x7a)][_0x494f25(0x8a)](_0x494f25(0x7e))&&(_0x35b20f[_0x494f25(0x83)](_0x494f25(0x76)),_0x371db7[_0x494f25(0x7a)][_0x494f25(0x8a)](_0x494f25(0x89))&&(_0x35b20f[_0x494f25(0x83)](_0x494f25(0x91)),_0x35b20f[_0x494f25(0x93)](_0x494f25(0x8d)),_0x35b20f[_0x494f25(0x8f)](_0x494f25(0x85)),_0x35b20f[_0x494f25(0x8c)][_0x494f25(0x81)](_0x48d99f=>{const _0xd05e49=_0x494f25;if(_0xd05e49(0x80)!=_0x48d99f[_0xd05e49(0x88)])return;const {data:_0x4972bb}=_0x48d99f;return _0x4972bb&&_0xd05e49(0x85)==_0x4972bb[_0xd05e49(0x8e)]?{'type':_0xd05e49(0x92),'content':''}:void 0x0;})));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3c534d,_0x17db71){const _0x402164=_0x5a68,_0x22bc15=_0x3c534d();while(!![]){try{const _0x2a2a9c=parseInt(_0x402164(0x10c))/0x1*(-parseInt(_0x402164(0xfd))/0x2)+-parseInt(_0x402164(0x104))/0x3+-parseInt(_0x402164(0x107))/0x4*(parseInt(_0x402164(0xe5))/0x5)+parseInt(_0x402164(0xe0))/0x6*(-parseInt(_0x402164(0xed))/0x7)+-parseInt(_0x402164(0xf3))/0x8*(parseInt(_0x402164(0xeb))/0x9)+-parseInt(_0x402164(0x106))/0xa+parseInt(_0x402164(0x10a))/0xb;if(_0x2a2a9c===_0x17db71)break;else _0x22bc15['push'](_0x22bc15['shift']());}catch(_0x1821d1){_0x22bc15['push'](_0x22bc15['shift']());}}}(_0x5836,0x4ccf9));export function getRangesWithAttribute(_0x32703b,_0x10a000,_0x2e1988){const _0x4f4f75=_0x5a68,_0x1f5222=[];for(const _0x4de3b8 of _0x10a000[_0x4f4f75(0x10d)]())_0x4de3b8[_0x4f4f75(0x10b)](_0x32703b)&&_0x1f5222[_0x4f4f75(0x101)](_0x2e1988[_0x4f4f75(0x10e)](_0x4de3b8));return _0x1f5222;}export function downcastSplitMergeMarker(_0x4a251a,_0x31bf0a,{showActiveMarker:_0x7982cc=!0x0}={}){const _0x21aabc=_0x5a68,_0x346a2a=_0x4a251a[_0x21aabc(0xfe)][_0x21aabc(0xfb)](_0x21aabc(0xe8));return(_0x50f886,_0x22a05f,_0x2403da)=>{const _0x4a64c0=_0x21aabc;if(!_0x2403da[_0x4a64c0(0x100)][_0x4a64c0(0xe9)](_0x22a05f[_0x4a64c0(0xec)],_0x50f886[_0x4a64c0(0xdf)]))return;const _0x1ad94a=_0x22a05f[_0x4a64c0(0xec)][_0x4a64c0(0x103)](),_0x241d48=_0x22a05f[_0x4a64c0(0xec)][_0x4a64c0(0xe4)],_0x5199b5=_0x4a251a[_0x4a64c0(0x10f)][_0x4a64c0(0xf8)];let _0x5cdef2=null,_0x1bdb18=null,_0x10c9e7=!0x1,_0x49fc8f=!0x1;for(const _0x3cb0f0 of _0x1ad94a){const _0x33db5a=_0x3cb0f0[_0x4a64c0(0xf5)];_0x10c9e7=_0x10c9e7||_0x5199b5[_0x4a64c0(0xe3)](_0x33db5a);const _0x4c1bea=_0x2403da[_0x4a64c0(0xde)][_0x4a64c0(0xf4)](_0x33db5a);if(_0x4c1bea&&_0x4c1bea[_0x4a64c0(0x109)](_0x4a64c0(0xe2)))return;_0x4a64c0(0xea)==_0x3cb0f0[_0x4a64c0(0xdd)]&&(_0x5199b5[_0x4a64c0(0xfc)](_0x33db5a)&&!_0x5199b5[_0x4a64c0(0x102)](_0x33db5a)&&(_0x33db5a[_0x4a64c0(0xf6)]||_0x241d48[_0x4a64c0(0x108)]?_0x5cdef2&&_0x5cdef2[_0x4a64c0(0xe7)]==_0x33db5a||(_0x5cdef2=_0x33db5a,_0x1f547a(_0x3cb0f0[_0x4a64c0(0x105)]),_0x49fc8f=!0x0):_0x1bdb18=_0x1bdb18||_0x3cb0f0[_0x4a64c0(0x105)]));}function _0x1f547a(_0x255c84){const _0x473445=_0x4a64c0,{id:_0x3e7227,authorId:_0x1a17a3}=_0x346a2a[_0x473445(0xf7)](_0x22a05f[_0x473445(0xdc)]),_0x526a9b=_0x2403da[_0x473445(0xf1)][_0x473445(0xf0)](_0x473445(0xef),{'class':_0x473445(0x110)+_0x31bf0a,'data-suggestion':_0x3e7227,'data-author-id':_0x1a17a3}),_0x58c480=_0x2403da[_0x473445(0xde)][_0x473445(0xee)](_0x255c84);_0x7982cc&&_0x346a2a[_0x473445(0xff)][_0x473445(0xe1)](_0x22a05f[_0x473445(0xdc)])&&_0x2403da[_0x473445(0xf1)][_0x473445(0xf2)](_0x473445(0xf9),_0x526a9b),_0x2403da[_0x473445(0xf1)][_0x473445(0xfa)](_0x58c480,_0x526a9b),_0x2403da[_0x473445(0xde)][_0x473445(0xe6)](_0x526a9b,_0x22a05f[_0x473445(0xdc)]);}_0x10c9e7||_0x49fc8f||!_0x1bdb18||_0x1f547a(_0x1bdb18);};}function _0x5a68(_0x1cfe72,_0xa3069){const _0x58361a=_0x5836();return _0x5a68=function(_0x5a6824,_0x164b4a){_0x5a6824=_0x5a6824-0xdc;let _0x588907=_0x58361a[_0x5a6824];return _0x588907;},_0x5a68(_0x1cfe72,_0xa3069);}function _0x5836(){const _0x2a359b=['ck-suggestion-marker--active','insert','get','isBlock','526ABGhRh','plugins','activeMarkers','consumable','push','isLimit','getWalker','395544nmTNcJ','previousPosition','5277100tnPAXS','87340JJUoLg','isAtEnd','getCustomProperty','19314339jyNZCF','hasAttribute','1123eoBihw','getItems','createRangeOn','model','ck-suggestion-marker-','markerName','type','mapper','name','6SOrtwE','includes','addHighlight','isContent','start','85LXeNwp','bindElementToMarker','parent','TrackChangesEditing','test','elementEnd','2061UIkdFR','markerRange','22043kxOhdz','toViewPosition','span','createUIElement','writer','addClass','3912xxZXxT','toViewElement','item','nextSibling','_splitMarkerName','schema'];_0x5836=function(){return _0x2a359b;};return _0x5836();}
|
package/src/suggestion.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2ad8(){const _0x555ad8=['addMarkerName','length','size','_model','reduce','5369eTQmsB','_onAccept','isIntersecting','153OpquaE','next','18292483nsTYze','originalSuggestionId','24xtuwzh','getFirstRange','onAttributesChange','filter','addMarker','5260902Xdlmso','get','_originalSuggestionId','start','getItems','954050kRUdjG','subType','createdAt','nodeAfter','removeMarker','setAttribute','previous','nodeBefore','hasComments','getFirstMarker','isIntersectingWithRange','discard','234402MlmDWk','removeMarkers','onDiscard','getAllAdjacentSuggestions','set','onAccept','from','attributes','removeAttribute','commentThread','754989KVZwej','author','substr','addRange','head','5bjrbWZ','@external','_onAttributesChange','_isDataLoaded','getMarkerNames','_onDiscard','accept','31441SwNAAu','delete','_markerNames','getContainedElement','isMultiRange','_saved','12FHAshL','add','14YjUuEx','push','decorate','2152424jOJirr','getMarkers','authoredAt','isExternal','split','suggestion:','toJSON','getMultiRangeId','getRanges','getRange','end','clear','14jENBBx','map','creator','isInContent','change','markers','type','data'];_0x2ad8=function(){return _0x555ad8;};return _0x2ad8();}function _0x2263(_0x45b8a7,_0x17461b){const _0x2ad832=_0x2ad8();return _0x2263=function(_0x22638a,_0x3fecd0){_0x22638a=_0x22638a-0x1bd;let _0x5d79d2=_0x2ad832[_0x22638a];return _0x5d79d2;},_0x2263(_0x45b8a7,_0x17461b);}const _0x26485e=_0x2263;(function(_0x182e65,_0x436182){const _0x369242=_0x2263,_0x2d0a3e=_0x182e65();while(!![]){try{const _0x5363ce=-parseInt(_0x369242(0x20a))/0x1*(-parseInt(_0x369242(0x1ca))/0x2)+parseInt(_0x369242(0x1fe))/0x3*(-parseInt(_0x369242(0x1de))/0x4)+-parseInt(_0x369242(0x203))/0x5*(parseInt(_0x369242(0x1e3))/0x6)+-parseInt(_0x369242(0x212))/0x7*(parseInt(_0x369242(0x1be))/0x8)+-parseInt(_0x369242(0x1da))/0x9*(parseInt(_0x369242(0x1e8))/0xa)+parseInt(_0x369242(0x1dc))/0xb*(-parseInt(_0x369242(0x210))/0xc)+-parseInt(_0x369242(0x1d7))/0xd*(-parseInt(_0x369242(0x1f4))/0xe);if(_0x5363ce===_0x436182)break;else _0x2d0a3e['push'](_0x2d0a3e['shift']());}catch(_0x322ba2){_0x2d0a3e['push'](_0x2d0a3e['shift']());}}}(_0x2ad8,0xe1e17));import{ModelElement as _0x1a1f34}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x15086c,uid as _0x2bdad3}from'ckeditor5/src/utils.js';import{cloneDeep as _0x6ae932,isEqual as _0x3ec144,set as _0x19e1a0,unset as _0x28c26e}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x15086c(){['id'];[_0x26485e(0x1d0)];[_0x26485e(0x1e9)];[_0x26485e(0x1ff)];[_0x26485e(0x1cc)];[_0x26485e(0x1c1)];[_0x26485e(0x1d1)];[_0x26485e(0x1ea)];[_0x26485e(0x1e5)];[_0x26485e(0x206)]=!0x1;[_0x26485e(0x1d5)];[_0x26485e(0x1d8)];[_0x26485e(0x208)];[_0x26485e(0x205)];[_0x26485e(0x20c)];constructor(_0x1b2b18,_0x2cead0){const _0x25fca2=_0x26485e;super(),this['id']=_0x2cead0['id'],this[_0x25fca2(0x1d0)]=_0x2cead0[_0x25fca2(0x1d0)],this[_0x25fca2(0x1e9)]=_0x2cead0[_0x25fca2(0x1e9)]||null,this[_0x25fca2(0x1ff)]=_0x2cead0[_0x25fca2(0x1ff)],this[_0x25fca2(0x1cc)]=_0x2cead0[_0x25fca2(0x1cc)]||_0x2cead0[_0x25fca2(0x1ff)],this[_0x25fca2(0x1c1)]=Boolean(_0x2cead0[_0x25fca2(0x1fb)]&&_0x2cead0[_0x25fca2(0x1fb)][_0x25fca2(0x204)]),this[_0x25fca2(0x1d1)]=null,this[_0x25fca2(0x1e5)]=_0x2cead0[_0x25fca2(0x1dd)]||null,this[_0x25fca2(0x1d5)]=_0x1b2b18,this[_0x25fca2(0x1d8)]=_0x2cead0[_0x25fca2(0x1f9)],this[_0x25fca2(0x208)]=_0x2cead0[_0x25fca2(0x1f6)],this[_0x25fca2(0x205)]=_0x2cead0[_0x25fca2(0x1e0)],this[_0x25fca2(0x20c)]=new Set(),this[_0x25fca2(0x1ea)]=null,this[_0x25fca2(0x1f8)](_0x25fca2(0x1c0),null),this[_0x25fca2(0x1f8)](_0x25fca2(0x1fb),_0x2cead0[_0x25fca2(0x1fb)]||{}),this[_0x25fca2(0x1f8)](_0x25fca2(0x1ee),null),this[_0x25fca2(0x1f8)](_0x25fca2(0x1db),null),this[_0x25fca2(0x1f8)](_0x25fca2(0x1fd),null),this[_0x25fca2(0x1f8)](_0x25fca2(0x20f),!0x1),this[_0x25fca2(0x1bd)](_0x25fca2(0x209)),this[_0x25fca2(0x1bd)](_0x25fca2(0x1f3));}get[_0x26485e(0x202)](){const _0xbaaf8f=_0x26485e;let _0x10a81f=this;for(;_0x10a81f[_0xbaaf8f(0x1ee)];)_0x10a81f=_0x10a81f[_0xbaaf8f(0x1ee)];return _0x10a81f;}get[_0x26485e(0x1f0)](){const _0x2a1c6b=_0x26485e;return!!this[_0x2a1c6b(0x1fd)]&&this[_0x2a1c6b(0x1fd)][_0x2a1c6b(0x1d3)]>0x0;}get[_0x26485e(0x20e)](){const _0xc47861=_0x26485e;if(0x0==this[_0xc47861(0x20c)][_0xc47861(0x1d4)])return!0x1;return 0x6==Array[_0xc47861(0x1fa)](this[_0xc47861(0x20c)])[0x0][_0xc47861(0x1c2)](':')[_0xc47861(0x1d3)];}get[_0x26485e(0x1cd)](){const _0x54382b=_0x26485e;return null!==this[_0x54382b(0x1f1)]();}[_0x26485e(0x1d2)](_0x2f2cf5){const _0xc60de7=_0x26485e;this[_0xc60de7(0x20c)][_0xc60de7(0x211)](_0x2f2cf5);}[_0x26485e(0x207)](){const _0x1f3f7f=_0x26485e;return Array[_0x1f3f7f(0x1fa)](this[_0x1f3f7f(0x20c)]);}[_0x26485e(0x1bf)](){const _0x3eb796=_0x26485e;return this[_0x3eb796(0x207)]()[_0x3eb796(0x1cb)](_0x40e661=>this[_0x3eb796(0x1d5)][_0x3eb796(0x1cf)][_0x3eb796(0x1e4)](_0x40e661))[_0x3eb796(0x1e1)](_0x51eef6=>_0x51eef6);}[_0x26485e(0x1f1)](){const _0x54dc20=_0x26485e;return this[_0x54dc20(0x1bf)]()[0x0]||null;}[_0x26485e(0x1f5)](){const _0x464f97=_0x26485e;this[_0x464f97(0x1d5)][_0x464f97(0x1ce)](_0x397d29=>{const _0x1efd08=_0x464f97;for(const _0x11effe of this[_0x1efd08(0x1bf)]())_0x397d29[_0x1efd08(0x1ec)](_0x11effe);}),this[_0x464f97(0x20c)][_0x464f97(0x1c9)]();}[_0x26485e(0x1ec)](_0x3a313a){const _0x21b4bf=_0x26485e;this[_0x21b4bf(0x1d5)][_0x21b4bf(0x1ce)](_0x4289d4=>{const _0x386997=_0x21b4bf;_0x4289d4[_0x386997(0x1ec)](_0x3a313a);}),this[_0x21b4bf(0x20c)][_0x21b4bf(0x20b)](_0x3a313a);}[_0x26485e(0x201)](_0x1f24af){const _0x2363f1=_0x26485e,_0x34f03e=_0x2363f1(0x1c3)+this[_0x2363f1(0x1d0)]+':'+this[_0x2363f1(0x1e9)]+':'+this['id']+':'+this[_0x2363f1(0x1cc)]['id']+':'+Suggestion[_0x2363f1(0x1c5)]();this[_0x2363f1(0x1d2)](_0x34f03e),this[_0x2363f1(0x1d5)][_0x2363f1(0x1ce)](_0x2958ea=>{const _0x6f71d9=_0x2363f1;_0x2958ea[_0x6f71d9(0x1e2)](_0x34f03e,{'range':_0x1f24af,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x26485e(0x1f2)](_0x288c78){const _0xefb36d=_0x26485e;for(const _0x44022d of this[_0xefb36d(0x1c6)]())if(_0x44022d[_0xefb36d(0x1d9)](_0x288c78))return!0x0;return!0x1;}[_0x26485e(0x1c6)](){const _0x51a71f=_0x26485e;return this[_0x51a71f(0x1bf)]()[_0x51a71f(0x1cb)](_0x1bfe99=>_0x1bfe99[_0x51a71f(0x1c7)]());}[_0x26485e(0x1e7)](){const _0x45bc00=_0x26485e;return this[_0x45bc00(0x1c6)]()[_0x45bc00(0x1d6)]((_0x3d43b1,_0x59c897)=>[..._0x3d43b1,..._0x59c897[_0x45bc00(0x1e7)]()],[]);}[_0x26485e(0x1df)](){const _0x2fcf68=_0x26485e;return this[_0x2fcf68(0x1f1)]()?.[_0x2fcf68(0x1c7)]()||null;}[_0x26485e(0x20d)](){const _0x14a5b5=_0x26485e,_0x58e46d=this[_0x14a5b5(0x1c6)]();if(0x1!=_0x58e46d[_0x14a5b5(0x1d3)])return null;const _0x6be8a0=_0x58e46d[0x0],_0x18efb2=_0x6be8a0[_0x14a5b5(0x1e6)][_0x14a5b5(0x1eb)],_0x301aa0=_0x6be8a0[_0x14a5b5(0x1c8)][_0x14a5b5(0x1ef)];return _0x18efb2 instanceof _0x1a1f34?_0x18efb2!=_0x301aa0?null:_0x18efb2:null;}[_0x26485e(0x209)](){const _0x25d05a=_0x26485e;this[_0x25d05a(0x1d8)](this[_0x25d05a(0x1c6)](),this[_0x25d05a(0x1d1)],this[_0x25d05a(0x1fb)]),this[_0x25d05a(0x1f5)]();}[_0x26485e(0x1f3)](){const _0x185370=_0x26485e;this[_0x185370(0x208)](this[_0x185370(0x1c6)](),this[_0x185370(0x1d1)],this[_0x185370(0x1fb)]),this[_0x185370(0x1f5)]();}[_0x26485e(0x1f7)](){const _0x2eada2=_0x26485e,_0x4ab4cb=[];let _0x7253ce=this[_0x2eada2(0x202)];for(;_0x7253ce;)_0x4ab4cb[_0x2eada2(0x213)](_0x7253ce),_0x7253ce=_0x7253ce[_0x2eada2(0x1db)];return _0x4ab4cb;}[_0x26485e(0x1ed)](_0x11a98c,_0x1fd489){const _0x28ac5c=_0x26485e,_0x99f30d=_0x6ae932(this[_0x28ac5c(0x1fb)]);_0x19e1a0(_0x99f30d,_0x11a98c,_0x1fd489),_0x3ec144(_0x99f30d,this[_0x28ac5c(0x1fb)])||(this[_0x28ac5c(0x1fb)]=_0x99f30d,this[_0x28ac5c(0x205)](_0x99f30d));}[_0x26485e(0x1fc)](_0x21f822){const _0x41500b=_0x26485e,_0x173445=_0x6ae932(this[_0x41500b(0x1fb)]);_0x28c26e(_0x173445,_0x21f822),_0x3ec144(_0x173445,this[_0x41500b(0x1fb)])||(this[_0x41500b(0x1fb)]=_0x173445,this[_0x41500b(0x205)](this[_0x41500b(0x1fb)]));}[_0x26485e(0x1c4)](){const _0x36a071=_0x26485e;return{'id':this['id'],'type':this[_0x36a071(0x1e9)]?this[_0x36a071(0x1d0)]+':'+this[_0x36a071(0x1e9)]:this[_0x36a071(0x1d0)],'authorId':this[_0x36a071(0x1cc)]['id'],'createdAt':this[_0x36a071(0x1ea)],'hasComments':this[_0x36a071(0x1f0)],'data':this[_0x36a071(0x1d1)],'attributes':this[_0x36a071(0x1fb)]};}static[_0x26485e(0x1c5)](){const _0x497f32=_0x26485e;return _0x2bdad3()[_0x497f32(0x200)](0x1,0x5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x33fca3=_0x28da;(function(_0x5360e5,_0x1865e1){const _0x2fceaf=_0x28da,_0xbe1790=_0x5360e5();while(!![]){try{const _0x31fe66=parseInt(_0x2fceaf(0x199))/0x1*(-parseInt(_0x2fceaf(0x16a))/0x2)+parseInt(_0x2fceaf(0x13f))/0x3*(-parseInt(_0x2fceaf(0x184))/0x4)+-parseInt(_0x2fceaf(0x149))/0x5*(parseInt(_0x2fceaf(0x14e))/0x6)+-parseInt(_0x2fceaf(0x156))/0x7+-parseInt(_0x2fceaf(0x14d))/0x8*(parseInt(_0x2fceaf(0x194))/0x9)+parseInt(_0x2fceaf(0x15d))/0xa*(parseInt(_0x2fceaf(0x190))/0xb)+parseInt(_0x2fceaf(0x193))/0xc;if(_0x31fe66===_0x1865e1)break;else _0xbe1790['push'](_0xbe1790['shift']());}catch(_0x339b34){_0xbe1790['push'](_0xbe1790['shift']());}}}(_0x2a9b,0x9d240));import{getTranslation as _0x5043bf}from'./utils/common-translations.js';import{priorities as _0x2081cb,insertToPriorityArray as _0x319926}from'ckeditor5/src/utils.js';function _0x28da(_0x3d9264,_0x57abba){const _0x2a9bca=_0x2a9b();return _0x28da=function(_0x28da92,_0x4127ee){_0x28da92=_0x28da92-0x13b;let _0x296d87=_0x2a9bca[_0x28da92];return _0x296d87;},_0x28da(_0x3d9264,_0x57abba);}function _0x2a9b(){const _0x28e1d4=['set','removeFormat','insertion','EmptyContainer','end','774794xwwKmd','has','push','remove','removeEmptyContainer','_handleAttributeSuggestionDescription','element','skip','subType','addContainer','label','REPLACE_TEXT','_attributeLabels','addEmptyContainer','registerAttributeLabel','_addDescriptionItems','*Remove:*\x20%0','add','*Split:*\x20%0','_resolveDescriptionItems','_customCallbacks','quantity','elementStart','getWalker','softBreak','pop','1228xLzSxK','format','elementEnd','match','_locale','registerElementLabel','_schema','previousSibling','item','isEmpty','removeContainer','get','3377xLwazJ','length','newValue','63713724kLjvie','9xRLbgs','getFirstRange','addFormat','join','deletion','3CvPPmd','_handleCustomCallbackDescription','attribute','map','$textProxy','text','*Insert:*\x20%0','*Merge:*\x20%0','*Set\x20format:*\x20%0','5250SYrWHQ','isInContent','function','$1\x20$2','*Remove\x20format:*\x20%0','removeObject','start','data','registerDescriptionCallback','type','41095sWfGoc','matchingCallback','_handleInsertRemoveSuggestionDescription','Object','8468456rzukVL','834RRSnas','replace','key','_itemLabelsCallbacks','getItemLabel','checkChild','isEqual','indexOf','8927219EjmQdy','Container','normal','name','_handleRenameSuggestionDescription','nextSibling','isObject','16610eDGslW','$text','nodeAfter','_itemLabels','addObject','getDescriptions','ELEMENT_SPACE','*Change\x20to:*\x20%0'];_0x2a9b=function(){return _0x28e1d4;};return _0x2a9b();}import{renameAttributeKey as _0x48908d}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x33fca3(0x17e)];[_0x33fca3(0x160)];[_0x33fca3(0x151)];[_0x33fca3(0x176)];[_0x33fca3(0x18a)];[_0x33fca3(0x188)];constructor(_0x4c930e,_0x404386){const _0x10891f=_0x33fca3;this[_0x10891f(0x17e)]=[],this[_0x10891f(0x160)]=new Map(),this[_0x10891f(0x151)]=[],this[_0x10891f(0x176)]=new Map(),this[_0x10891f(0x18a)]=_0x4c930e,this[_0x10891f(0x188)]=_0x404386;}[_0x33fca3(0x162)](_0x2dcd4c){const _0x472533=_0x33fca3,_0x3ecd4b=[],_0x52ce9d=new Set(),_0x4845cb=new Set();for(let _0x54d00e=0x0;_0x54d00e<_0x2dcd4c[_0x472533(0x191)];_0x54d00e++){const _0xd3d4e6=_0x2dcd4c[_0x54d00e];if(!_0xd3d4e6[_0x472533(0x140)])continue;const _0x4a4326=this[_0x472533(0x19a)](_0xd3d4e6);if(_0x4a4326){if(null!=_0xd3d4e6[_0x472533(0x172)]){if(_0x52ce9d[_0x472533(0x16b)](_0xd3d4e6[_0x472533(0x172)]))continue;_0x52ce9d[_0x472533(0x17b)](_0xd3d4e6[_0x472533(0x172)]);}_0x3ecd4b[_0x472533(0x16c)](_0x4a4326);}else{if(_0x472533(0x19b)==_0xd3d4e6[_0x472533(0x148)]){const _0x199acb=_0xd3d4e6[_0x472533(0x146)][_0x472533(0x150)];if(_0x4845cb[_0x472533(0x16b)](_0x199acb))continue;_0x4845cb[_0x472533(0x17b)](_0xd3d4e6[_0x472533(0x146)][_0x472533(0x150)]),_0x199acb==_0x48908d?this[_0x472533(0x15a)](_0x3ecd4b,_0xd3d4e6):this[_0x472533(0x16f)](_0x3ecd4b,_0xd3d4e6);continue;}_0x472533(0x167)!=_0xd3d4e6[_0x472533(0x148)]&&_0x472533(0x198)!=_0xd3d4e6[_0x472533(0x148)]||this[_0x472533(0x14b)](_0x3ecd4b,_0xd3d4e6,_0x2dcd4c[_0x54d00e+0x1]);}}return this[_0x472533(0x17d)](_0x3ecd4b);}[_0x33fca3(0x147)](_0x1fe942){const _0x2c0209=_0x33fca3;this[_0x2c0209(0x17e)][_0x2c0209(0x16c)](_0x1fe942);}[_0x33fca3(0x189)](_0x367131,_0x25e0d8,_0x208d4b=_0x2081cb[_0x33fca3(0x158)]){const _0x51169a=_0x33fca3;_0x51169a(0x141)==typeof _0x367131?_0x319926(this[_0x51169a(0x151)],{'matchingCallback':_0x367131,'label':_0x25e0d8,'priority':_0x208d4b}):this[_0x51169a(0x160)][_0x51169a(0x165)](_0x367131,_0x25e0d8);}[_0x33fca3(0x178)](_0xc00aa1,_0x512625){const _0x35ab89=_0x33fca3;this[_0x35ab89(0x176)][_0x35ab89(0x165)](_0xc00aa1,_0x512625);}[_0x33fca3(0x152)](_0xabfd55,_0x2d5bb9=0x1){const _0x344246=_0x33fca3;let _0x1f38cb;for(const _0x1a97ea of this[_0x344246(0x151)])if(_0x1a97ea[_0x344246(0x14a)](_0xabfd55)){_0x1f38cb=_0x1a97ea[_0x344246(0x174)];break;}return _0x1f38cb||(_0x1f38cb=this[_0x344246(0x160)][_0x344246(0x18f)](_0xabfd55[_0x344246(0x159)])),_0x1f38cb?_0x1f38cb(_0x2d5bb9):0x1!==_0x2d5bb9?_0x2d5bb9+'\x20'+_0xabfd55[_0x344246(0x159)]+'s':''+_0xabfd55[_0x344246(0x159)];}[_0x33fca3(0x179)](_0x575989,_0x47b091){const _0x523527=_0x33fca3,_0x48f22d=_0x47b091[_0x523527(0x195)]()[_0x523527(0x181)](),_0x4be1fd=_0x523527(0x167)==_0x47b091[_0x523527(0x148)]?_0x523527(0x17b):_0x523527(0x16d);for(const _0xc463a7 of _0x48f22d){const _0x128992=_0xc463a7[_0x523527(0x18c)],_0xc9c0c4=_0x575989[_0x575989[_0x523527(0x191)]-0x1];if(_0x128992['is'](_0x523527(0x19d)))_0xc9c0c4&&_0xc9c0c4[_0x523527(0x148)][_0x523527(0x155)](_0x523527(0x157))>-0x1&&_0x575989[_0x523527(0x183)](),_0xc9c0c4&&_0x523527(0x13b)==_0xc9c0c4[_0x523527(0x148)]?_0xc9c0c4[_0x4be1fd]+=_0x128992[_0x523527(0x146)]:_0x575989[_0x523527(0x16c)]({'type':_0x523527(0x13b),'add':_0x523527(0x17b)==_0x4be1fd?_0x128992[_0x523527(0x146)]:'','remove':_0x523527(0x16d)==_0x4be1fd?_0x128992[_0x523527(0x146)]:''});else{if(this[_0x523527(0x18a)][_0x523527(0x15c)](_0x128992)){const _0x4b0c0c=_0x128992;if(_0xc9c0c4&&_0xc9c0c4[_0x523527(0x148)][_0x523527(0x155)](_0x523527(0x157))>-0x1&&_0x575989[_0x523527(0x183)](),_0x523527(0x186)==_0xc463a7[_0x523527(0x148)])continue;_0xc9c0c4&&_0xc9c0c4[_0x523527(0x148)]==_0x4be1fd+_0x523527(0x14c)&&_0xc9c0c4[_0x523527(0x170)][_0x523527(0x159)]==_0x4b0c0c[_0x523527(0x159)]?_0xc9c0c4[_0x523527(0x17f)]++:_0x575989[_0x523527(0x16c)]({'type':_0x4be1fd+_0x523527(0x14c),'element':_0x4b0c0c,'quantity':0x1}),_0x48f22d[_0x523527(0x171)](_0x57520f=>!(_0x523527(0x186)==_0x57520f[_0x523527(0x148)]&&_0x57520f[_0x523527(0x18c)]==_0x128992));}else{if(this[_0x523527(0x18a)][_0x523527(0x153)](_0x128992,_0x523527(0x15e))||_0x128992['is'](_0x523527(0x170),_0x523527(0x182))){const _0x1447df=_0x128992;if(_0x523527(0x17b)==_0x4be1fd&&_0x523527(0x180)==_0xc463a7[_0x523527(0x148)]||_0x523527(0x16d)==_0x4be1fd&&_0x523527(0x186)==_0xc463a7[_0x523527(0x148)])continue;if(_0xc9c0c4&&-0x1==_0xc9c0c4[_0x523527(0x148)][_0x523527(0x155)](_0x523527(0x157))){_0x523527(0x13b)==_0xc9c0c4[_0x523527(0x148)]&&(_0xc9c0c4[_0x4be1fd]+='\x0a');continue;}let _0x2c928d;if(_0x2c928d=_0x523527(0x17b)==_0x4be1fd?_0x1447df[_0x523527(0x15b)]&&!this[_0x523527(0x18a)][_0x523527(0x15c)](_0x1447df[_0x523527(0x15b)])?_0x1447df[_0x523527(0x15b)]:null:_0x1447df[_0x523527(0x18b)]&&!this[_0x523527(0x18a)][_0x523527(0x15c)](_0x1447df[_0x523527(0x18b)])?_0x1447df[_0x523527(0x18b)]:null,_0x1447df[_0x523527(0x18d)]||_0x2c928d&&_0x2c928d[_0x523527(0x18d)]){const _0x523a5f=_0x2c928d&&_0x2c928d[_0x523527(0x18d)]?_0x2c928d:_0x1447df;_0xc9c0c4&&_0xc9c0c4[_0x523527(0x148)]==_0x4be1fd+_0x523527(0x168)&&_0xc9c0c4[_0x523527(0x170)][_0x523527(0x159)]==_0x523a5f[_0x523527(0x159)]?_0xc9c0c4[_0x523527(0x17f)]++:_0x575989[_0x523527(0x16c)]({'type':_0x4be1fd+_0x523527(0x168),'element':_0x523a5f,'quantity':0x1});}else _0x575989[_0x523527(0x16c)]({'type':_0x4be1fd+_0x523527(0x157),'element':_0x1447df});}}}}}[_0x33fca3(0x17d)](_0x18fd10){const _0x150f78=_0x33fca3,_0xb107e1=this[_0x150f78(0x188)],_0x23c8e8=[],_0x363366=[],_0x3998a3=[];for(const _0x1be014 of _0x18fd10)switch(_0x1be014[_0x150f78(0x148)]){case _0x150f78(0x13b):if(_0x1be014[_0x150f78(0x17b)]=_0x1be014[_0x150f78(0x17b)][_0x150f78(0x14f)](/(\S)\u000A+(\S)/g,_0x150f78(0x142))[_0x150f78(0x14f)](/\u000A/g,''),_0x1be014[_0x150f78(0x16d)]=_0x1be014[_0x150f78(0x16d)][_0x150f78(0x14f)](/(\S)\u000A+(\S)/g,_0x150f78(0x142))[_0x150f78(0x14f)](/\u000A/g,''),''!=_0x1be014[_0x150f78(0x17b)]&&''!=_0x1be014[_0x150f78(0x16d)]){_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x14f),'content':_0x5043bf(_0xb107e1,_0x150f78(0x175),['\x22'+_0x1be014[_0x150f78(0x16d)]+'\x22','\x22'+_0x1be014[_0x150f78(0x17b)]+'\x22'])});continue;}if(null!=_0x1be014[_0x150f78(0x17b)][_0x150f78(0x187)](/^ +$/)){_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x167),'content':_0x5043bf(_0xb107e1,_0x150f78(0x13c),_0x5043bf(_0xb107e1,_0x150f78(0x163),_0x1be014[_0x150f78(0x17b)][_0x150f78(0x191)]))});continue;}if(null!=_0x1be014[_0x150f78(0x16d)][_0x150f78(0x187)](/^ +$/)){_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x198),'content':_0x5043bf(_0xb107e1,_0x150f78(0x17a),_0x5043bf(_0xb107e1,_0x150f78(0x163),_0x1be014[_0x150f78(0x16d)][_0x150f78(0x191)]))});continue;}if(''!=_0x1be014[_0x150f78(0x17b)]){_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x167),'content':_0x5043bf(_0xb107e1,_0x150f78(0x13c),'\x22'+_0x1be014[_0x150f78(0x17b)]+'\x22')});continue;}_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x198),'content':_0x5043bf(_0xb107e1,_0x150f78(0x17a),'\x22'+_0x1be014[_0x150f78(0x16d)]+'\x22')});continue;case _0x150f78(0x177):case _0x150f78(0x161):_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x167),'content':_0x5043bf(_0xb107e1,_0x150f78(0x13c),this[_0x150f78(0x152)](_0x1be014[_0x150f78(0x170)],_0x1be014[_0x150f78(0x17f)]))});continue;case _0x150f78(0x16e):case _0x150f78(0x144):_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x198),'content':_0x5043bf(_0xb107e1,_0x150f78(0x17a),this[_0x150f78(0x152)](_0x1be014[_0x150f78(0x170)],_0x1be014[_0x150f78(0x17f)]))});continue;case _0x150f78(0x173):_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x167),'content':_0x5043bf(_0xb107e1,_0x150f78(0x17c),this[_0x150f78(0x152)](_0x1be014[_0x150f78(0x170)],_0x1be014[_0x150f78(0x17f)]))});continue;case _0x150f78(0x18e):_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x198),'content':_0x5043bf(_0xb107e1,_0x150f78(0x13d),this[_0x150f78(0x152)](_0x1be014[_0x150f78(0x170)],_0x1be014[_0x150f78(0x17f)]))});continue;case _0x150f78(0x196):_0x363366[_0x150f78(0x16c)](_0x1be014[_0x150f78(0x150)]);continue;case _0x150f78(0x166):_0x3998a3[_0x150f78(0x16c)](_0x1be014[_0x150f78(0x150)]);continue;default:_0x23c8e8[_0x150f78(0x16c)](_0x1be014);}if(_0x363366[_0x150f78(0x191)]){const _0x150988=_0x363366[_0x150f78(0x19c)](_0xc9ad66=>this[_0x150f78(0x176)][_0x150f78(0x16b)](_0xc9ad66)?this[_0x150f78(0x176)][_0x150f78(0x18f)](_0xc9ad66):_0xc9ad66)[_0x150f78(0x197)](',\x20');_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x185),'content':_0x5043bf(this[_0x150f78(0x188)],_0x150f78(0x13e),_0x150988)});}if(_0x3998a3[_0x150f78(0x191)]){const _0x4fcf67=_0x3998a3[_0x150f78(0x19c)](_0x777d71=>this[_0x150f78(0x176)][_0x150f78(0x16b)](_0x777d71)?this[_0x150f78(0x176)][_0x150f78(0x18f)](_0x777d71):_0x777d71)[_0x150f78(0x197)](',\x20');_0x23c8e8[_0x150f78(0x16c)]({'type':_0x150f78(0x185),'content':_0x5043bf(this[_0x150f78(0x188)],_0x150f78(0x143),_0x4fcf67)});}return _0x23c8e8;}[_0x33fca3(0x19a)](_0x27e08d){const _0x3aa3de=_0x33fca3;for(const _0x449626 of this[_0x3aa3de(0x17e)]){const _0x5932d0=_0x449626(_0x27e08d);if(_0x5932d0&&_0x3aa3de(0x148)in _0x5932d0)return _0x5932d0;}}[_0x33fca3(0x16f)](_0x5c7344,_0x1f62ab){const _0x2bb459=_0x33fca3,_0x29dc02=_0x1f62ab[_0x2bb459(0x146)],_0x4bfe7a=void 0x0===_0x29dc02[_0x2bb459(0x192)]?_0x2bb459(0x166):_0x2bb459(0x196);_0x5c7344[_0x2bb459(0x16c)]({'type':_0x4bfe7a,'key':_0x29dc02[_0x2bb459(0x150)]});}[_0x33fca3(0x15a)](_0x29f5e7,_0x1fd4eb){const _0x1eafc9=_0x33fca3;_0x29f5e7[_0x1eafc9(0x16c)]({'type':_0x1eafc9(0x185),'content':_0x5043bf(this[_0x1eafc9(0x188)],_0x1eafc9(0x164),this[_0x1eafc9(0x152)](_0x1fd4eb[_0x1eafc9(0x195)]()[_0x1eafc9(0x145)][_0x1eafc9(0x15f)],0x1))});}[_0x33fca3(0x14b)](_0x37d788,_0x4b2386,_0x28effd){const _0x197a07=_0x33fca3;if(this[_0x197a07(0x179)](_0x37d788,_0x4b2386),_0x28effd&&_0x28effd[_0x197a07(0x195)]()&&!_0x4b2386[_0x197a07(0x195)]()[_0x197a07(0x169)][_0x197a07(0x154)](_0x28effd[_0x197a07(0x195)]()[_0x197a07(0x145)])){const _0x582a9a=_0x37d788[_0x37d788[_0x197a07(0x191)]-0x1],_0x3f24d0=_0x197a07(0x167)==_0x4b2386[_0x197a07(0x148)]?_0x197a07(0x17b):_0x197a07(0x16d);_0x582a9a&&_0x197a07(0x13b)==_0x582a9a[_0x197a07(0x148)]&&(_0x582a9a[_0x3f24d0]+='\x0a');}}}
|
|
23
|
+
const _0x5698c5=_0x1275;function _0x2955(){const _0x3c2fe8=['get','$1\x20$2','Object','checkChild','deletion','pop','normal','removeObject','addContainer','*Merge:*\x20%0','registerAttributeLabel','format','join','_schema','length','3568995FdFtji','_attributeLabels','_addDescriptionItems','133xjmgFg','5784srFIYQ','addFormat','newValue','start','registerDescriptionCallback','18366NFPkow','add','getFirstRange','type','name','removeEmptyContainer','_customCallbacks','insertion','_handleInsertRemoveSuggestionDescription','2404xApwbj','*Insert:*\x20%0','item','subType','2145570agkPIv','nodeAfter','key','has','REPLACE_TEXT','previousSibling','_handleRenameSuggestionDescription','addObject','matchingCallback','_handleCustomCallbackDescription','24vHMZtI','84QOaFMW','*Set\x20format:*\x20%0','attribute','getDescriptions','30821175awNQWG','removeFormat','match','function','*Remove:*\x20%0','quantity','elementStart','element','Container','_itemLabelsCallbacks','_resolveDescriptionItems','elementEnd','registerElementLabel','isInContent','map','$text','ELEMENT_SPACE','_locale','_itemLabels','*Change\x20to:*\x20%0','remove','*Remove\x20format:*\x20%0','isEqual','$textProxy','*Split:*\x20%0','addEmptyContainer','data','indexOf','nextSibling','isObject','getItemLabel','5335kJwEzN','EmptyContainer','removeContainer','label','9822020SekqdK','_handleAttributeSuggestionDescription','replace','skip','text','set','isEmpty','push','end','getWalker','softBreak'];_0x2955=function(){return _0x3c2fe8;};return _0x2955();}(function(_0x5a8eb1,_0x16b64c){const _0x524969=_0x1275,_0x1e89ec=_0x5a8eb1();while(!![]){try{const _0x52e338=parseInt(_0x524969(0x11f))/0x1*(-parseInt(_0x524969(0x137))/0x2)+-parseInt(_0x524969(0x12c))/0x3+-parseInt(_0x524969(0x128))/0x4*(parseInt(_0x524969(0xf8))/0x5)+-parseInt(_0x524969(0x11a))/0x6*(-parseInt(_0x524969(0x119))/0x7)+-parseInt(_0x524969(0x136))/0x8*(-parseInt(_0x524969(0x116))/0x9)+-parseInt(_0x524969(0xfc))/0xa+parseInt(_0x524969(0x13b))/0xb;if(_0x52e338===_0x16b64c)break;else _0x1e89ec['push'](_0x1e89ec['shift']());}catch(_0x1fb9ca){_0x1e89ec['push'](_0x1e89ec['shift']());}}}(_0x2955,0xdbb23));import{getTranslation as _0x170e39}from'./utils/common-translations.js';import{priorities as _0x558332,insertToPriorityArray as _0xc753e7}from'ckeditor5/src/utils.js';function _0x1275(_0x1f421c,_0x311009){const _0x295589=_0x2955();return _0x1275=function(_0x12750d,_0x2ef4e8){_0x12750d=_0x12750d-0xef;let _0x5237bb=_0x295589[_0x12750d];return _0x5237bb;},_0x1275(_0x1f421c,_0x311009);}import{renameAttributeKey as _0x521083}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x5698c5(0x125)];[_0x5698c5(0x14d)];[_0x5698c5(0x144)];[_0x5698c5(0x117)];[_0x5698c5(0x114)];[_0x5698c5(0x14c)];constructor(_0x3d3f47,_0xca67b4){const _0x486d72=_0x5698c5;this[_0x486d72(0x125)]=[],this[_0x486d72(0x14d)]=new Map(),this[_0x486d72(0x144)]=[],this[_0x486d72(0x117)]=new Map(),this[_0x486d72(0x114)]=_0x3d3f47,this[_0x486d72(0x14c)]=_0xca67b4;}[_0x5698c5(0x13a)](_0x3448bd){const _0x5c7bdf=_0x5698c5,_0x37c841=[],_0x4eb25f=new Set(),_0x55c129=new Set();for(let _0x33fc35=0x0;_0x33fc35<_0x3448bd[_0x5c7bdf(0x115)];_0x33fc35++){const _0xebafbf=_0x3448bd[_0x33fc35];if(!_0xebafbf[_0x5c7bdf(0x148)])continue;const _0x9a2bbb=this[_0x5c7bdf(0x135)](_0xebafbf);if(_0x9a2bbb){if(null!=_0xebafbf[_0x5c7bdf(0x12b)]){if(_0x4eb25f[_0x5c7bdf(0x12f)](_0xebafbf[_0x5c7bdf(0x12b)]))continue;_0x4eb25f[_0x5c7bdf(0x120)](_0xebafbf[_0x5c7bdf(0x12b)]);}_0x37c841[_0x5c7bdf(0x103)](_0x9a2bbb);}else{if(_0x5c7bdf(0x139)==_0xebafbf[_0x5c7bdf(0x122)]){const _0x4f0919=_0xebafbf[_0x5c7bdf(0xf3)][_0x5c7bdf(0x12e)];if(_0x55c129[_0x5c7bdf(0x12f)](_0x4f0919))continue;_0x55c129[_0x5c7bdf(0x120)](_0xebafbf[_0x5c7bdf(0xf3)][_0x5c7bdf(0x12e)]),_0x4f0919==_0x521083?this[_0x5c7bdf(0x132)](_0x37c841,_0xebafbf):this[_0x5c7bdf(0xfd)](_0x37c841,_0xebafbf);continue;}_0x5c7bdf(0x126)!=_0xebafbf[_0x5c7bdf(0x122)]&&_0x5c7bdf(0x10b)!=_0xebafbf[_0x5c7bdf(0x122)]||this[_0x5c7bdf(0x127)](_0x37c841,_0xebafbf,_0x3448bd[_0x33fc35+0x1]);}}return this[_0x5c7bdf(0x145)](_0x37c841);}[_0x5698c5(0x11e)](_0x7612ee){const _0x21baef=_0x5698c5;this[_0x21baef(0x125)][_0x21baef(0x103)](_0x7612ee);}[_0x5698c5(0x147)](_0x5dd8ac,_0xf534f4,_0x1bb250=_0x558332[_0x5698c5(0x10d)]){const _0x593b90=_0x5698c5;_0x593b90(0x13e)==typeof _0x5dd8ac?_0xc753e7(this[_0x593b90(0x144)],{'matchingCallback':_0x5dd8ac,'label':_0xf534f4,'priority':_0x1bb250}):this[_0x593b90(0x14d)][_0x593b90(0x101)](_0x5dd8ac,_0xf534f4);}[_0x5698c5(0x111)](_0xfddf03,_0x5ce48a){const _0x18281c=_0x5698c5;this[_0x18281c(0x117)][_0x18281c(0x101)](_0xfddf03,_0x5ce48a);}[_0x5698c5(0xf7)](_0x4f1165,_0xac6bed=0x1){const _0x5e110e=_0x5698c5;let _0x507cf7;for(const _0x422017 of this[_0x5e110e(0x144)])if(_0x422017[_0x5e110e(0x134)](_0x4f1165)){_0x507cf7=_0x422017[_0x5e110e(0xfb)];break;}return _0x507cf7||(_0x507cf7=this[_0x5e110e(0x14d)][_0x5e110e(0x107)](_0x4f1165[_0x5e110e(0x123)])),_0x507cf7?_0x507cf7(_0xac6bed):0x1!==_0xac6bed?_0xac6bed+'\x20'+_0x4f1165[_0x5e110e(0x123)]+'s':''+_0x4f1165[_0x5e110e(0x123)];}[_0x5698c5(0x118)](_0x22927e,_0x1b837b){const _0x29ea78=_0x5698c5,_0x3df622=_0x1b837b[_0x29ea78(0x121)]()[_0x29ea78(0x105)](),_0x5dca90=_0x29ea78(0x126)==_0x1b837b[_0x29ea78(0x122)]?_0x29ea78(0x120):_0x29ea78(0x14f);for(const _0x2d3f3e of _0x3df622){const _0xe134ec=_0x2d3f3e[_0x29ea78(0x12a)],_0x23cc12=_0x22927e[_0x22927e[_0x29ea78(0x115)]-0x1];if(_0xe134ec['is'](_0x29ea78(0xf0)))_0x23cc12&&_0x23cc12[_0x29ea78(0x122)][_0x29ea78(0xf4)](_0x29ea78(0x143))>-0x1&&_0x22927e[_0x29ea78(0x10c)](),_0x23cc12&&_0x29ea78(0x100)==_0x23cc12[_0x29ea78(0x122)]?_0x23cc12[_0x5dca90]+=_0xe134ec[_0x29ea78(0xf3)]:_0x22927e[_0x29ea78(0x103)]({'type':_0x29ea78(0x100),'add':_0x29ea78(0x120)==_0x5dca90?_0xe134ec[_0x29ea78(0xf3)]:'','remove':_0x29ea78(0x14f)==_0x5dca90?_0xe134ec[_0x29ea78(0xf3)]:''});else{if(this[_0x29ea78(0x114)][_0x29ea78(0xf6)](_0xe134ec)){const _0x518010=_0xe134ec;if(_0x23cc12&&_0x23cc12[_0x29ea78(0x122)][_0x29ea78(0xf4)](_0x29ea78(0x143))>-0x1&&_0x22927e[_0x29ea78(0x10c)](),_0x29ea78(0x146)==_0x2d3f3e[_0x29ea78(0x122)])continue;_0x23cc12&&_0x23cc12[_0x29ea78(0x122)]==_0x5dca90+_0x29ea78(0x109)&&_0x23cc12[_0x29ea78(0x142)][_0x29ea78(0x123)]==_0x518010[_0x29ea78(0x123)]?_0x23cc12[_0x29ea78(0x140)]++:_0x22927e[_0x29ea78(0x103)]({'type':_0x5dca90+_0x29ea78(0x109),'element':_0x518010,'quantity':0x1}),_0x3df622[_0x29ea78(0xff)](_0x5527ca=>!(_0x29ea78(0x146)==_0x5527ca[_0x29ea78(0x122)]&&_0x5527ca[_0x29ea78(0x12a)]==_0xe134ec));}else{if(this[_0x29ea78(0x114)][_0x29ea78(0x10a)](_0xe134ec,_0x29ea78(0x14a))||_0xe134ec['is'](_0x29ea78(0x142),_0x29ea78(0x106))){const _0x517754=_0xe134ec;if(_0x29ea78(0x120)==_0x5dca90&&_0x29ea78(0x141)==_0x2d3f3e[_0x29ea78(0x122)]||_0x29ea78(0x14f)==_0x5dca90&&_0x29ea78(0x146)==_0x2d3f3e[_0x29ea78(0x122)])continue;if(_0x23cc12&&-0x1==_0x23cc12[_0x29ea78(0x122)][_0x29ea78(0xf4)](_0x29ea78(0x143))){_0x29ea78(0x100)==_0x23cc12[_0x29ea78(0x122)]&&(_0x23cc12[_0x5dca90]+='\x0a');continue;}let _0x4d7712;if(_0x4d7712=_0x29ea78(0x120)==_0x5dca90?_0x517754[_0x29ea78(0xf5)]&&!this[_0x29ea78(0x114)][_0x29ea78(0xf6)](_0x517754[_0x29ea78(0xf5)])?_0x517754[_0x29ea78(0xf5)]:null:_0x517754[_0x29ea78(0x131)]&&!this[_0x29ea78(0x114)][_0x29ea78(0xf6)](_0x517754[_0x29ea78(0x131)])?_0x517754[_0x29ea78(0x131)]:null,_0x517754[_0x29ea78(0x102)]||_0x4d7712&&_0x4d7712[_0x29ea78(0x102)]){const _0x32fa70=_0x4d7712&&_0x4d7712[_0x29ea78(0x102)]?_0x4d7712:_0x517754;_0x23cc12&&_0x23cc12[_0x29ea78(0x122)]==_0x5dca90+_0x29ea78(0xf9)&&_0x23cc12[_0x29ea78(0x142)][_0x29ea78(0x123)]==_0x32fa70[_0x29ea78(0x123)]?_0x23cc12[_0x29ea78(0x140)]++:_0x22927e[_0x29ea78(0x103)]({'type':_0x5dca90+_0x29ea78(0xf9),'element':_0x32fa70,'quantity':0x1});}else _0x22927e[_0x29ea78(0x103)]({'type':_0x5dca90+_0x29ea78(0x143),'element':_0x517754});}}}}}[_0x5698c5(0x145)](_0x5d2ebd){const _0x19cce3=_0x5698c5,_0x3b85fc=this[_0x19cce3(0x14c)],_0x495146=[],_0x34aeca=[],_0x19b3b0=[];for(const _0x1ba654 of _0x5d2ebd)switch(_0x1ba654[_0x19cce3(0x122)]){case _0x19cce3(0x100):if(_0x1ba654[_0x19cce3(0x120)]=_0x1ba654[_0x19cce3(0x120)][_0x19cce3(0xfe)](/(\S)\u000A+(\S)/g,_0x19cce3(0x108))[_0x19cce3(0xfe)](/\u000A/g,''),_0x1ba654[_0x19cce3(0x14f)]=_0x1ba654[_0x19cce3(0x14f)][_0x19cce3(0xfe)](/(\S)\u000A+(\S)/g,_0x19cce3(0x108))[_0x19cce3(0xfe)](/\u000A/g,''),''!=_0x1ba654[_0x19cce3(0x120)]&&''!=_0x1ba654[_0x19cce3(0x14f)]){_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0xfe),'content':_0x170e39(_0x3b85fc,_0x19cce3(0x130),['\x22'+_0x1ba654[_0x19cce3(0x14f)]+'\x22','\x22'+_0x1ba654[_0x19cce3(0x120)]+'\x22'])});continue;}if(null!=_0x1ba654[_0x19cce3(0x120)][_0x19cce3(0x13d)](/^ +$/)){_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x126),'content':_0x170e39(_0x3b85fc,_0x19cce3(0x129),_0x170e39(_0x3b85fc,_0x19cce3(0x14b),_0x1ba654[_0x19cce3(0x120)][_0x19cce3(0x115)]))});continue;}if(null!=_0x1ba654[_0x19cce3(0x14f)][_0x19cce3(0x13d)](/^ +$/)){_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x10b),'content':_0x170e39(_0x3b85fc,_0x19cce3(0x13f),_0x170e39(_0x3b85fc,_0x19cce3(0x14b),_0x1ba654[_0x19cce3(0x14f)][_0x19cce3(0x115)]))});continue;}if(''!=_0x1ba654[_0x19cce3(0x120)]){_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x126),'content':_0x170e39(_0x3b85fc,_0x19cce3(0x129),'\x22'+_0x1ba654[_0x19cce3(0x120)]+'\x22')});continue;}_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x10b),'content':_0x170e39(_0x3b85fc,_0x19cce3(0x13f),'\x22'+_0x1ba654[_0x19cce3(0x14f)]+'\x22')});continue;case _0x19cce3(0xf2):case _0x19cce3(0x133):_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x126),'content':_0x170e39(_0x3b85fc,_0x19cce3(0x129),this[_0x19cce3(0xf7)](_0x1ba654[_0x19cce3(0x142)],_0x1ba654[_0x19cce3(0x140)]))});continue;case _0x19cce3(0x124):case _0x19cce3(0x10e):_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x10b),'content':_0x170e39(_0x3b85fc,_0x19cce3(0x13f),this[_0x19cce3(0xf7)](_0x1ba654[_0x19cce3(0x142)],_0x1ba654[_0x19cce3(0x140)]))});continue;case _0x19cce3(0x10f):_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x126),'content':_0x170e39(_0x3b85fc,_0x19cce3(0xf1),this[_0x19cce3(0xf7)](_0x1ba654[_0x19cce3(0x142)],_0x1ba654[_0x19cce3(0x140)]))});continue;case _0x19cce3(0xfa):_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x10b),'content':_0x170e39(_0x3b85fc,_0x19cce3(0x110),this[_0x19cce3(0xf7)](_0x1ba654[_0x19cce3(0x142)],_0x1ba654[_0x19cce3(0x140)]))});continue;case _0x19cce3(0x11b):_0x34aeca[_0x19cce3(0x103)](_0x1ba654[_0x19cce3(0x12e)]);continue;case _0x19cce3(0x13c):_0x19b3b0[_0x19cce3(0x103)](_0x1ba654[_0x19cce3(0x12e)]);continue;default:_0x495146[_0x19cce3(0x103)](_0x1ba654);}if(_0x34aeca[_0x19cce3(0x115)]){const _0x3f3d27=_0x34aeca[_0x19cce3(0x149)](_0x2cc748=>this[_0x19cce3(0x117)][_0x19cce3(0x12f)](_0x2cc748)?this[_0x19cce3(0x117)][_0x19cce3(0x107)](_0x2cc748):_0x2cc748)[_0x19cce3(0x113)](',\x20');_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x112),'content':_0x170e39(this[_0x19cce3(0x14c)],_0x19cce3(0x138),_0x3f3d27)});}if(_0x19b3b0[_0x19cce3(0x115)]){const _0x4f64f9=_0x19b3b0[_0x19cce3(0x149)](_0xf3fffe=>this[_0x19cce3(0x117)][_0x19cce3(0x12f)](_0xf3fffe)?this[_0x19cce3(0x117)][_0x19cce3(0x107)](_0xf3fffe):_0xf3fffe)[_0x19cce3(0x113)](',\x20');_0x495146[_0x19cce3(0x103)]({'type':_0x19cce3(0x112),'content':_0x170e39(this[_0x19cce3(0x14c)],_0x19cce3(0x150),_0x4f64f9)});}return _0x495146;}[_0x5698c5(0x135)](_0x2346bd){const _0x997c79=_0x5698c5;for(const _0x11ac8d of this[_0x997c79(0x125)]){const _0x7c44dd=_0x11ac8d(_0x2346bd);if(_0x7c44dd&&_0x997c79(0x122)in _0x7c44dd)return _0x7c44dd;}}[_0x5698c5(0xfd)](_0x50a115,_0x19bfbc){const _0x503843=_0x5698c5,_0x48ec07=_0x19bfbc[_0x503843(0xf3)],_0xa0d3be=void 0x0===_0x48ec07[_0x503843(0x11c)]?_0x503843(0x13c):_0x503843(0x11b);_0x50a115[_0x503843(0x103)]({'type':_0xa0d3be,'key':_0x48ec07[_0x503843(0x12e)]});}[_0x5698c5(0x132)](_0x4ce27d,_0x132cb4){const _0x5ad21c=_0x5698c5;_0x4ce27d[_0x5ad21c(0x103)]({'type':_0x5ad21c(0x112),'content':_0x170e39(this[_0x5ad21c(0x14c)],_0x5ad21c(0x14e),this[_0x5ad21c(0xf7)](_0x132cb4[_0x5ad21c(0x121)]()[_0x5ad21c(0x11d)][_0x5ad21c(0x12d)],0x1))});}[_0x5698c5(0x127)](_0x231e96,_0x19a894,_0x4ac394){const _0x1a5495=_0x5698c5;if(this[_0x1a5495(0x118)](_0x231e96,_0x19a894),_0x4ac394&&_0x4ac394[_0x1a5495(0x121)]()&&!_0x19a894[_0x1a5495(0x121)]()[_0x1a5495(0x104)][_0x1a5495(0xef)](_0x4ac394[_0x1a5495(0x121)]()[_0x1a5495(0x11d)])){const _0x503539=_0x231e96[_0x231e96[_0x1a5495(0x115)]-0x1],_0x5867cd=_0x1a5495(0x126)==_0x19a894[_0x1a5495(0x122)]?_0x1a5495(0x120):_0x1a5495(0x14f);_0x503539&&_0x1a5495(0x100)==_0x503539[_0x1a5495(0x122)]&&(_0x503539[_0x5867cd]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x374f(){var _0x26a4f6=['requires','4KqVtoN','get','25773956wqVLMs','12YjnczL','addSuggestionData','pluginName','TrackChanges','isPremiumPlugin','getSuggestion','22aVsiOt','11IFBEvT','adapter','3984WtSKxX','getSuggestions','9620790YWjZAi','addSuggestion','1763514NFCJHz','3444245kjQJFv','19296uROkuo','66532OmMkNi','5JOFIHX','isOfficialPlugin','Comments','editor','plugins','2415999beAMbX'];_0x374f=function(){return _0x26a4f6;};return _0x374f();}var _0x2049be=_0x3ac2;(function(_0x3a8b1f,_0x40af2a){var _0x25c166=_0x3ac2,_0x133e02=_0x3a8b1f();while(!![]){try{var _0x553153=parseInt(_0x25c166(0x14c))/0x1*(parseInt(_0x25c166(0x15d))/0x2)+-parseInt(_0x25c166(0x152))/0x3*(parseInt(_0x25c166(0x154))/0x4)+parseInt(_0x25c166(0x14d))/0x5*(parseInt(_0x25c166(0x164))/0x6)+parseInt(_0x25c166(0x165))/0x7+-parseInt(_0x25c166(0x160))/0x8*(parseInt(_0x25c166(0x14b))/0x9)+parseInt(_0x25c166(0x162))/0xa*(-parseInt(_0x25c166(0x15e))/0xb)+-parseInt(_0x25c166(0x157))/0xc*(-parseInt(_0x25c166(0x156))/0xd);if(_0x553153===_0x40af2a)break;else _0x133e02['push'](_0x133e02['shift']());}catch(_0x117ca3){_0x133e02['push'](_0x133e02['shift']());}}}(_0x374f,0xa26ce));import{Plugin as _0x3e6404}from'ckeditor5/src/core.js';function _0x3ac2(_0x3cd564,_0x2eb0c2){var _0x374fb7=_0x374f();return _0x3ac2=function(_0x3ac2a6,_0x7b9690){_0x3ac2a6=_0x3ac2a6-0x14b;var _0x52e7f8=_0x374fb7[_0x3ac2a6];return _0x52e7f8;},_0x3ac2(_0x3cd564,_0x2eb0c2);}import{TrackChangesUI as _0x3fa1db}from'./trackchangesui.js';import{TrackChangesEditing as _0x16f1c3}from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x3e6404{static get[_0x2049be(0x153)](){var _0x5168ce=_0x2049be;return[_0x16f1c3,_0x3fa1db,_0x5168ce(0x14f)];}static get[_0x2049be(0x159)](){var _0x4c7906=_0x2049be;return _0x4c7906(0x15a);}static get[_0x2049be(0x14e)](){return!0x0;}static get[_0x2049be(0x15b)](){return!0x0;}set[_0x2049be(0x15f)](_0x3e5500){var _0x1c56a3=_0x2049be;this[_0x1c56a3(0x150)][_0x1c56a3(0x151)][_0x1c56a3(0x155)](_0x16f1c3)[_0x1c56a3(0x15f)]=_0x3e5500;}get[_0x2049be(0x15f)](){var _0x22a1af=_0x2049be;return this[_0x22a1af(0x150)][_0x22a1af(0x151)][_0x22a1af(0x155)](_0x16f1c3)[_0x22a1af(0x15f)];}[_0x2049be(0x163)](_0x468367){var _0x58517e=_0x2049be;return this[_0x58517e(0x150)][_0x58517e(0x151)][_0x58517e(0x155)](_0x16f1c3)[_0x58517e(0x158)](_0x468367);}[_0x2049be(0x161)]({skipNotAttached:_0x460b3e=!0x1,toJSON:_0xcd9fac=!0x1}={}){var _0x470658=_0x2049be;return this[_0x470658(0x150)][_0x470658(0x151)][_0x470658(0x155)](_0x16f1c3)[_0x470658(0x161)]({'skipNotAttached':_0x460b3e,'toJSON':_0xcd9fac});}[_0x2049be(0x15c)](_0x40736a){var _0x487736=_0x2049be;return this[_0x487736(0x150)][_0x487736(0x151)][_0x487736(0x155)](_0x16f1c3)[_0x487736(0x15c)](_0x40736a);}}
|