@ckeditor/ckeditor5-ai 47.3.0-alpha.5 → 47.3.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- 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 +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xfb46(_0xd36cef,_0x46d6ae){const _0x2de200=_0x2de2();return _0xfb46=function(_0xfb46a7,_0x1104be){_0xfb46a7=_0xfb46a7-0x98;let _0x45169c=_0x2de200[_0xfb46a7];return _0x45169c;},_0xfb46(_0xd36cef,_0x46d6ae);}(function(_0x543623,_0xf8d073){const _0x45ef32=_0xfb46,_0x66e338=_0x543623();while(!![]){try{const _0x445464=-parseInt(_0x45ef32(0xa3))/0x1*(parseInt(_0x45ef32(0xa7))/0x2)+-parseInt(_0x45ef32(0xa6))/0x3+parseInt(_0x45ef32(0xa9))/0x4*(parseInt(_0x45ef32(0x9e))/0x5)+-parseInt(_0x45ef32(0xb0))/0x6*(-parseInt(_0x45ef32(0x9c))/0x7)+-parseInt(_0x45ef32(0x9a))/0x8*(-parseInt(_0x45ef32(0xab))/0x9)+parseInt(_0x45ef32(0xa1))/0xa*(-parseInt(_0x45ef32(0xa8))/0xb)+-parseInt(_0x45ef32(0xaa))/0xc*(-parseInt(_0x45ef32(0x99))/0xd);if(_0x445464===_0xf8d073)break;else _0x66e338['push'](_0x66e338['shift']());}catch(_0x68fdd2){_0x66e338['push'](_0x66e338['shift']());}}}(_0x2de2,0x51292));import{ButtonView as _0x5afecd}from'ckeditor5/src/ui.js';import{IconMaximize as _0x3673a1,IconMinimize as _0x2ed164}from'ckeditor5/src/icons.js';function _0x2de2(){const _0x2c626d=['2307695gkvOLg','execute','AI_TABS_LABEL_MINIMIZE','10MrgGPa','label','65NsiTes','fire','isMaximized','1979178bIcOdD','5916YICUvY','6791719GwgMia','4oQPZgS','12JMmqhG','18MXDvfu','resizeTabs','set','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','icon','312BRvDay','bind','11551774FlvqTj','1323080jUhNJT','AI_TABS_LABEL_MAXIMIZE','16282eupVQr','isOn'];_0x2de2=function(){return _0x2c626d;};return _0x2de2();}import{getTranslation as _0x1f58b8}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x573666,_0x27a1db){const _0xeaaebe=_0xfb46,_0x7dd5e2=new _0x5afecd(_0x573666),_0x33fc2b=_0x1f58b8(_0x573666,_0xeaaebe(0xa0)),_0x381fbe=_0x1f58b8(_0x573666,_0xeaaebe(0x9b));return _0x7dd5e2[_0xeaaebe(0xad)]({'withText':!0x1,'icon':_0x3673a1,'tooltip':!0x0,'class':_0xeaaebe(0xae)}),_0x7dd5e2[_0xeaaebe(0x98)](_0xeaaebe(0xa2))['to'](_0x27a1db,_0xeaaebe(0xa5),_0x5b0fb5=>_0x5b0fb5?_0x33fc2b:_0x381fbe),_0x7dd5e2[_0xeaaebe(0x98)](_0xeaaebe(0xaf))['to'](_0x27a1db,_0xeaaebe(0xa5),_0x31b9a8=>_0x31b9a8?_0x2ed164:_0x3673a1),_0x7dd5e2[_0xeaaebe(0x98)](_0xeaaebe(0x9d))['to'](_0x27a1db,_0xeaaebe(0xa5)),_0x7dd5e2['on'](_0xeaaebe(0x9f),()=>{const _0x770fa5=_0xeaaebe;_0x27a1db[_0x770fa5(0xa4)](_0x770fa5(0xac));}),_0x7dd5e2;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2858d6=_0x5d9f;(function(_0xd350d,_0x297046){const _0x2b4aee=_0x5d9f,_0x3fe6ab=_0xd350d();while(!![]){try{const _0x4fdc1d=parseInt(_0x2b4aee(0x1be))/0x1+parseInt(_0x2b4aee(0x1b3))/0x2*(-parseInt(_0x2b4aee(0x1c2))/0x3)+-parseInt(_0x2b4aee(0x1b6))/0x4*(parseInt(_0x2b4aee(0x1bf))/0x5)+parseInt(_0x2b4aee(0x1a5))/0x6+parseInt(_0x2b4aee(0x1c1))/0x7*(-parseInt(_0x2b4aee(0x1b0))/0x8)+-parseInt(_0x2b4aee(0x1c4))/0x9+parseInt(_0x2b4aee(0x1c3))/0xa;if(_0x4fdc1d===_0x297046)break;else _0x3fe6ab['push'](_0x3fe6ab['shift']());}catch(_0xbf7ed6){_0x3fe6ab['push'](_0x3fe6ab['shift']());}}}(_0x7116,0x380c4));import{CKEditorError as _0x277a54,compareArrays as _0x473c96}from'ckeditor5/src/utils.js';import{getNodePath as _0x5f1e09,isText as _0x163521,getChildren as _0x1de14c,isDocument as _0x56aa4e,getParent as _0x22379e,textContent as _0x51eedf,hasChildren as _0xbacf1}from'./htmlparser.js';function _0x5d9f(_0x42a638,_0x1cf81d){const _0x71168d=_0x7116();return _0x5d9f=function(_0x5d9f82,_0xe182c9){_0x5d9f82=_0x5d9f82-0x1a5;let _0xb7e1b1=_0x71168d[_0x5d9f82];return _0xb7e1b1;},_0x5d9f(_0x42a638,_0x1cf81d);}export class DocumentPosition{[_0x2858d6(0x1c0)];[_0x2858d6(0x1b4)];[_0x2858d6(0x1b7)];constructor(_0x252f05,_0x2fa295,_0x81d7b1){const _0x254356=_0x2858d6;if(_0x163521(_0x2fa295)&&_0x81d7b1>_0x2fa295[_0x254356(0x1bd)][_0x254356(0x1a9)])throw new _0x277a54(_0x254356(0x1bb),null,{'index':_0x81d7b1,'parent':_0x2fa295});if(_0xbacf1(_0x2fa295)&&_0x81d7b1>_0x1de14c(_0x2fa295)[_0x254356(0x1a9)])throw new _0x277a54(_0x254356(0x1bb),null,{'index':_0x81d7b1,'parent':_0x2fa295});if(_0x81d7b1<0x0)throw new _0x277a54(_0x254356(0x1bb),null,{'index':_0x81d7b1,'parent':_0x2fa295});this[_0x254356(0x1c0)]=_0x2fa295,this[_0x254356(0x1b4)]=_0x81d7b1,this[_0x254356(0x1b7)]=_0x252f05;}get[_0x2858d6(0x1ae)](){const _0xb8206f=_0x2858d6;return[..._0x5f1e09(this[_0xb8206f(0x1c0)]),this[_0xb8206f(0x1b4)]];}[_0x2858d6(0x1ba)](_0xacc6bd){const _0x2018c0=_0x2858d6;return this[_0x2018c0(0x1b7)]==_0xacc6bd[_0x2018c0(0x1b7)]&&_0x2018c0(0x1a6)===_0x473c96(this[_0x2018c0(0x1ae)],_0xacc6bd[_0x2018c0(0x1ae)]);}get[_0x2858d6(0x1b1)](){const _0x1f343b=_0x2858d6;if(_0xbacf1(this[_0x1f343b(0x1c0)])){const _0x23da48=_0x1de14c(this[_0x1f343b(0x1c0)])[this[_0x1f343b(0x1b4)]];if(_0x23da48)return _0x23da48;{const _0x44e795=DocumentPosition[_0x1f343b(0x1ad)](this[_0x1f343b(0x1b7)],this[_0x1f343b(0x1c0)]);if(_0x44e795)return _0x44e795[_0x1f343b(0x1b1)];}}return null;}get[_0x2858d6(0x1af)](){const _0x5375ca=_0x2858d6;if(_0xbacf1(this[_0x5375ca(0x1c0)])){const _0x286588=_0x1de14c(this[_0x5375ca(0x1c0)])[this[_0x5375ca(0x1b4)]-0x1];if(_0x286588)return _0x286588;{const _0x40bb54=DocumentPosition[_0x5375ca(0x1c5)](this[_0x5375ca(0x1b7)],this[_0x5375ca(0x1c0)]);if(_0x40bb54)return _0x40bb54[_0x5375ca(0x1af)];}}return null;}[_0x2858d6(0x1b9)](_0x5d7599=_0x2858d6(0x1ac)){const _0x33ee32=_0x2858d6;if(!_0x163521(this[_0x33ee32(0x1c0)]))return this;const _0x22c9f9=this[_0x33ee32(0x1ae)][this[_0x33ee32(0x1ae)][_0x33ee32(0x1a9)]-0x1],_0x3ef6cd=_0x51eedf(this[_0x33ee32(0x1c0)])[_0x33ee32(0x1b2)](/(?:\s*\S+\s*)/g);let _0x3ca8db=0x0,_0x4df483=_0x22c9f9;for(const _0x39b62a of _0x3ef6cd){if(_0x3ca8db+_0x39b62a[_0x33ee32(0x1a9)]===_0x22c9f9)return this;if(_0x3ca8db+_0x39b62a[_0x33ee32(0x1a9)]>_0x22c9f9){_0x4df483=_0x33ee32(0x1ac)===_0x5d7599?_0x3ca8db:_0x3ca8db+_0x39b62a[_0x33ee32(0x1a9)];break;}_0x3ca8db+=_0x39b62a[_0x33ee32(0x1a9)];}return DocumentPosition[_0x33ee32(0x1bc)](this[_0x33ee32(0x1b7)],this[_0x33ee32(0x1c0)],_0x4df483);}static[_0x2858d6(0x1ad)](_0x3c75ba,_0xe3aa9c){const _0x59b51c=_0x2858d6;if(_0x56aa4e(_0xe3aa9c))return null;const _0x45c702=_0x22379e(_0xe3aa9c);return DocumentPosition[_0x59b51c(0x1bc)](_0x3c75ba,_0x45c702,_0x1de14c(_0x45c702)[_0x59b51c(0x1aa)](_0xe3aa9c)+0x1);}static[_0x2858d6(0x1c5)](_0x19e3c3,_0x52c2d2){const _0x136b89=_0x2858d6;if(_0x56aa4e(_0x52c2d2))return null;const _0x59d14b=_0x22379e(_0x52c2d2);return DocumentPosition[_0x136b89(0x1bc)](_0x19e3c3,_0x59d14b,_0x1de14c(_0x59d14b)[_0x136b89(0x1aa)](_0x52c2d2));}static[_0x2858d6(0x1bc)](_0x4f7480,_0x24f041,_0x109469=_0x2858d6(0x1ac)){const _0x5ba70d=_0x2858d6;return new DocumentPosition(_0x4f7480,_0x24f041,_0x5ba70d(0x1ac)===_0x109469?0x0:_0x5ba70d(0x1b8)===_0x109469?_0x163521(_0x24f041)?_0x24f041[_0x5ba70d(0x1bd)][_0x5ba70d(0x1a9)]:_0x1de14c(_0x24f041)[_0x5ba70d(0x1a9)]:_0x109469);}static[_0x2858d6(0x1ab)](_0x22918a,_0x26ef4e){const _0x5b9ef0=_0x2858d6;if(!_0x26ef4e[_0x5b9ef0(0x1a9)])throw new _0x277a54(_0x5b9ef0(0x1a7),null,{'path':_0x26ef4e});const _0xcd8c0d=_0x26ef4e[_0x5b9ef0(0x1b5)](0x0,-0x1)[_0x5b9ef0(0x1a8)]((_0x2a6e4d,_0x20f018)=>_0x163521(_0x2a6e4d)?_0x2a6e4d:_0x1de14c(_0x2a6e4d)[_0x20f018],_0x22918a);return DocumentPosition[_0x5b9ef0(0x1bc)](_0x22918a,_0xcd8c0d,_0x26ef4e[_0x26ef4e[_0x5b9ef0(0x1a9)]-0x1]);}}function _0x7116(){const _0x46aa88=['createBefore','2081142LMMNpv','same','ai-documentposition-createfrompath-path-cannot-be-empty','reduce','length','indexOf','createFromPath','start','createAfter','path','previousNode','8gHNWpR','nextNode','match','2zsQlvz','index','slice','124XWwwtK','document','end','getNudgedToWordBoundary','isEqual','ai-documentposition-index-out-of-bounds','createAt','data','147320JKIKmP','39635toqcGq','parent','1132089sqLRiv','866805cgyzMO','5850390SlZRPF','1379205NgmpMy'];_0x7116=function(){return _0x46aa88;};return _0x7116();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ec5e7=_0x57ab;function _0x57ab(_0x4559d0,_0x5f0eb8){const _0x2fa93d=_0x2fa9();return _0x57ab=function(_0x57abc1,_0x5e7ccb){_0x57abc1=_0x57abc1-0xd4;let _0x591504=_0x2fa93d[_0x57abc1];return _0x591504;},_0x57ab(_0x4559d0,_0x5f0eb8);}(function(_0x3afa76,_0x527dc0){const _0x24e099=_0x57ab,_0xe699bc=_0x3afa76();while(!![]){try{const _0x4f3c81=parseInt(_0x24e099(0xf5))/0x1*(-parseInt(_0x24e099(0xe7))/0x2)+-parseInt(_0x24e099(0xec))/0x3*(parseInt(_0x24e099(0xee))/0x4)+-parseInt(_0x24e099(0xdd))/0x5+-parseInt(_0x24e099(0xf0))/0x6*(parseInt(_0x24e099(0xef))/0x7)+parseInt(_0x24e099(0xd5))/0x8+-parseInt(_0x24e099(0xeb))/0x9*(parseInt(_0x24e099(0xea))/0xa)+parseInt(_0x24e099(0xdf))/0xb;if(_0x4f3c81===_0x527dc0)break;else _0xe699bc['push'](_0xe699bc['shift']());}catch(_0x53cd0f){_0xe699bc['push'](_0xe699bc['shift']());}}}(_0x2fa9,0xbf0bf));import{DocumentPosition as _0x5861f0}from'./documentposition.js';function _0x2fa9(){const _0x578b99=['parent','lastChild','start','getContent','slice','2549074SrsuSs','end','createFromPath','995230Omedin','54FVPJmY','597ruFRaJ','reverse','4156ACHXJl','7LfVaic','1137012nsWEvw','length','firstChild','forEach','getNudgedToWordBoundary','1TVjqJW','includes','10615656rFatSc','createBefore','createAt','push','data','isEqual','createAfter','previousNode','2290340hfexSD','nextNode','23997336GoYdkQ','document','path'];_0x2fa9=function(){return _0x578b99;};return _0x2fa9();}import{clone as _0x2287fd,getParents as _0x48a69d,Document as _0x3ff127,Text as _0xfd651f,isTag as _0x56273a,isText as _0x5e9c72,replaceElement as _0x1d74f1,removeElement as _0x4e4c37}from'./htmlparser.js';export class DocumentRange{[_0x1ec5e7(0xe4)];[_0x1ec5e7(0xe8)];constructor(_0x1a4ba8,_0x1501d9){const _0x245287=_0x1ec5e7;this[_0x245287(0xe4)]=_0x1a4ba8,this[_0x245287(0xe8)]=_0x1501d9;}[_0x1ec5e7(0xda)](_0x2485af){const _0x49d6c9=_0x1ec5e7;return this==_0x2485af||this[_0x49d6c9(0xe4)][_0x49d6c9(0xda)](_0x2485af[_0x49d6c9(0xe4)])&&this[_0x49d6c9(0xe8)][_0x49d6c9(0xda)](_0x2485af[_0x49d6c9(0xe8)]);}[_0x1ec5e7(0xf4)](){const _0x160940=_0x1ec5e7;return new DocumentRange(this[_0x160940(0xe4)][_0x160940(0xf4)](_0x160940(0xe4)),this[_0x160940(0xe8)][_0x160940(0xf4)](_0x160940(0xe8)));}[_0x1ec5e7(0xe5)](){const _0x25999f=_0x1ec5e7,_0x5db0bd=_0x2287fd(this[_0x25999f(0xe4)][_0x25999f(0xe0)]),_0x49246c=_0x5861f0[_0x25999f(0xe9)](_0x5db0bd,this[_0x25999f(0xe4)][_0x25999f(0xe1)]),_0x42648b=_0x5861f0[_0x25999f(0xe9)](_0x5db0bd,this[_0x25999f(0xe8)][_0x25999f(0xe1)]);let _0x2a6413,_0x2e75ea;if(_0x5e9c72(_0x49246c[_0x25999f(0xe2)])){const _0x2f1544=_0x49246c[_0x25999f(0xe1)][_0x49246c[_0x25999f(0xe1)][_0x25999f(0xf1)]-0x1],_0x222ae2=new _0xfd651f(_0x49246c[_0x25999f(0xe2)][_0x25999f(0xd9)][_0x25999f(0xe6)](_0x2f1544));_0x1d74f1(_0x49246c[_0x25999f(0xe2)],_0x222ae2),_0x2a6413=_0x222ae2;}else _0x2a6413=_0x49246c[_0x25999f(0xde)];if(_0x5e9c72(_0x42648b[_0x25999f(0xe2)])){const _0x50f260=_0x42648b[_0x25999f(0xe1)][_0x42648b[_0x25999f(0xe1)][_0x25999f(0xf1)]-0x1],_0x162e1a=new _0xfd651f(_0x42648b[_0x25999f(0xe2)][_0x25999f(0xd9)][_0x25999f(0xe6)](0x0,_0x50f260));_0x1d74f1(_0x42648b[_0x25999f(0xe2)],_0x162e1a),_0x2e75ea=_0x162e1a;}else _0x2e75ea=_0x42648b[_0x25999f(0xdc)];if(!(_0x2a6413&&_0x2e75ea&&_0x5db0bd[_0x25999f(0xf2)]&&_0x5db0bd[_0x25999f(0xe3)]))return new _0x3ff127([]);const _0x10151b=_0x48a69d(_0x2a6413),_0x478cdb=_0x48a69d(_0x2e75ea),_0x5bad3c=[],_0x1d94f5=[];let _0x23dbb7=_0x5db0bd[_0x25999f(0xf2)];for(;_0x23dbb7&&_0x23dbb7!==_0x2a6413;){let _0x141518;_0x10151b[_0x25999f(0xd4)](_0x23dbb7)||_0x5bad3c[_0x25999f(0xd8)](_0x23dbb7),_0x141518=_0x56273a(_0x23dbb7)?_0x5861f0[_0x25999f(0xd7)](_0x5db0bd,_0x23dbb7,_0x25999f(0xe4)):_0x5861f0[_0x25999f(0xdb)](_0x5db0bd,_0x23dbb7),_0x23dbb7=_0x141518?_0x141518[_0x25999f(0xde)]:null;}for(_0x23dbb7=_0x5db0bd[_0x25999f(0xe3)];_0x23dbb7&&_0x23dbb7!==_0x2e75ea;){let _0xed4dc6;_0x478cdb[_0x25999f(0xd4)](_0x23dbb7)||_0x1d94f5[_0x25999f(0xd8)](_0x23dbb7),_0xed4dc6=_0x56273a(_0x23dbb7)?_0x5861f0[_0x25999f(0xd7)](_0x5db0bd,_0x23dbb7,_0x25999f(0xe8)):_0x5861f0[_0x25999f(0xd6)](_0x5db0bd,_0x23dbb7),_0x23dbb7=_0xed4dc6?_0xed4dc6[_0x25999f(0xdc)]:null;}return _0x5bad3c[_0x25999f(0xf3)](_0x6ca1f2=>{_0x4e4c37(_0x6ca1f2);}),_0x1d94f5[_0x25999f(0xed)]()[_0x25999f(0xf3)](_0x3eddca=>{_0x4e4c37(_0x3eddca);}),_0x5db0bd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4713b6=_0x275b;function _0x22fa(){const _0x102538=['rejectSuggestion','mouseLeaveSuggestion','412nUoDEc','737652GGSuTq','5144cBTuKv','1266351ZBVmaX','2ishQog','applySuggestion','165qjvLWu','showChangeInText','dislike','toggleSuggestionDisplayMode','51835hSkixm','8037KBEAGx','like','insertSuggestion','3705980TSLoBd','7agCRym','72004yuyOlq','4178238VHswBh','mouseOverSuggestion'];_0x22fa=function(){return _0x102538;};return _0x22fa();}function _0x275b(_0x4e146e,_0x323b57){const _0x22faad=_0x22fa();return _0x275b=function(_0x275bca,_0x54fe83){_0x275bca=_0x275bca-0x72;let _0x15efe6=_0x22faad[_0x275bca];return _0x15efe6;},_0x275b(_0x4e146e,_0x323b57);}(function(_0x2b0492,_0xfec4cd){const _0x54e559=_0x275b,_0x6d4af6=_0x2b0492();while(!![]){try{const _0x17fea1=-parseInt(_0x54e559(0x78))/0x1*(parseInt(_0x54e559(0x81))/0x2)+-parseInt(_0x54e559(0x80))/0x3+parseInt(_0x54e559(0x7d))/0x4*(parseInt(_0x54e559(0x72))/0x5)+-parseInt(_0x54e559(0x79))/0x6*(-parseInt(_0x54e559(0x77))/0x7)+parseInt(_0x54e559(0x7f))/0x8*(parseInt(_0x54e559(0x73))/0x9)+-parseInt(_0x54e559(0x76))/0xa+parseInt(_0x54e559(0x83))/0xb*(-parseInt(_0x54e559(0x7e))/0xc);if(_0x17fea1===_0xfec4cd)break;else _0x6d4af6['push'](_0x6d4af6['shift']());}catch(_0x2dc2d4){_0x6d4af6['push'](_0x6d4af6['shift']());}}}(_0x22fa,0x86aa5));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x4713b6(0x84),_0x4713b6(0x75),_0x4713b6(0x82),_0x4713b6(0x7b),_0x4713b6(0x7a),_0x4713b6(0x7c),_0x4713b6(0x86),_0x4713b6(0x74),_0x4713b6(0x85)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1096a6,_0x31836d){var _0x3e72dc=_0xb045,_0x58246f=_0x1096a6();while(!![]){try{var _0x24799a=-parseInt(_0x3e72dc(0x17b))/0x1+parseInt(_0x3e72dc(0x179))/0x2+-parseInt(_0x3e72dc(0x17c))/0x3*(-parseInt(_0x3e72dc(0x170))/0x4)+parseInt(_0x3e72dc(0x174))/0x5+parseInt(_0x3e72dc(0x173))/0x6+-parseInt(_0x3e72dc(0x172))/0x7+-parseInt(_0x3e72dc(0x178))/0x8;if(_0x24799a===_0x31836d)break;else _0x58246f['push'](_0x58246f['shift']());}catch(_0x282fbd){_0x58246f['push'](_0x58246f['shift']());}}}(_0x5d8c,0x97774));import{CKEditorError as _0x51520b}from'ckeditor5/src/utils.js';import{Editor as _0x57cc9f}from'ckeditor5/src/core.js';function _0xb045(_0x71da89,_0x52b58f){var _0x5d8cf7=_0x5d8c();return _0xb045=function(_0xb04537,_0x5f59cf){_0xb04537=_0xb04537-0x16f;var _0x2b9805=_0x5d8cf7[_0xb04537];return _0x2b9805;},_0xb045(_0x71da89,_0x52b58f);}function _0x5d8c(){var _0x31eb2d=['1031355HcYBZi','9bhGXqp','get','1415748vzAKCT','warn','7623245xcdjnv','4155792ZJSZxF','39500iVVdOz','length','ai-get-editor-from-context-no-editor','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','1217272SeNbyv','2261220KqGihl','editors'];_0x5d8c=function(){return _0x31eb2d;};return _0x5d8c();}export function getEditorFromContext(_0x395725){var _0x225a0d=_0xb045;if(_0x395725 instanceof _0x57cc9f)return _0x395725;if(_0x395725?.[_0x225a0d(0x17a)]&&_0x395725[_0x225a0d(0x17a)][_0x225a0d(0x16f)](0x0))return _0x395725[_0x225a0d(0x17a)][_0x225a0d(0x175)]>0x1&&console[_0x225a0d(0x171)](_0x225a0d(0x177)),_0x395725[_0x225a0d(0x17a)][_0x225a0d(0x16f)](0x0);throw new _0x51520b(_0x225a0d(0x176));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x44581b,_0x28f0c9){const _0xd42a30=_0x22a0,_0x4d55f9=_0x44581b();while(!![]){try{const _0x55a7f1=parseInt(_0xd42a30(0x1ce))/0x1*(parseInt(_0xd42a30(0x1d3))/0x2)+parseInt(_0xd42a30(0x1b8))/0x3+parseInt(_0xd42a30(0x1b6))/0x4*(parseInt(_0xd42a30(0x1c1))/0x5)+-parseInt(_0xd42a30(0x1c8))/0x6*(-parseInt(_0xd42a30(0x1ca))/0x7)+parseInt(_0xd42a30(0x1d2))/0x8+parseInt(_0xd42a30(0x1cf))/0x9+-parseInt(_0xd42a30(0x1d5))/0xa*(parseInt(_0xd42a30(0x1cc))/0xb);if(_0x55a7f1===_0x28f0c9)break;else _0x4d55f9['push'](_0x4d55f9['shift']());}catch(_0x83ced9){_0x4d55f9['push'](_0x4d55f9['shift']());}}}(_0x39b1,0x2ed97));import{transformOperationSets as _0x2181d4}from'ckeditor5/src/engine.js';import{append as _0x162eed,findByAttribute as _0x431e1f,prependChild as _0x1f0516,removeElement as _0x24707c,serialize as _0x46aa39}from'./htmlparser.js';function _0x39b1(){const _0x2f6154=['getDiff','history','cloneNode','data-id','1574540wjHudR','getDocumentContext','oldRange','version','operationsA','get','marker','6OdcQDH','markers','1313942rvUHZU','node','12111wUmUrK','document','1154kYuhHv','2104065ReVppe','content','model','2107304sgMnhK','52IIEgJs','name','8490XvIXye','documentContextContent','new','getOperations','map','anchorId','previousSibling','type','4NUAUgS','length','290484hfhmFe','getRange','shift','removed','filter'];_0x39b1=function(){return _0x2f6154;};return _0x39b1();}function _0x22a0(_0x5b6833,_0x17c804){const _0x39b148=_0x39b1();return _0x22a0=function(_0x22a03d,_0xeae2f6){_0x22a03d=_0x22a03d-0x1af;let _0x3f4e42=_0x39b148[_0x22a03d];return _0x3f4e42;},_0x22a0(_0x5b6833,_0x17c804);}export function getOperationsFromReply({editor:_0x42b281,interaction:_0x58a32d,reply:_0x52d765,groups:_0x5d569a,transform:_0x14e46a,documentCompare:_0x367577,documentCompareOptions:_0x5c1b45}){const _0x417e5a=_0x22a0,_0x1b8dc5=_0x58a32d[_0x417e5a(0x1c2)]();if(!_0x1b8dc5)return[];const _0x127294=_0x1b8dc5[_0x417e5a(0x1d0)],_0x397091=_0x1b8dc5[_0x417e5a(0x1c4)],_0x52265f=_0x52d765[_0x417e5a(0x1af)][_0x417e5a(0x1bf)](!0x0);for(const {changes:_0xd831e1}of _0x5d569a){const _0x101d07=_0xd831e1[_0x417e5a(0x1bc)](_0x1d5dea=>_0x417e5a(0x1b0)!=_0x1d5dea[_0x417e5a(0x1b5)])[_0x417e5a(0x1b2)](_0x4b7a9c=>_0x431e1f(_0x417e5a(0x1c0),_0x4b7a9c['id'],_0x52265f)),_0x415869=_0xd831e1[_0x417e5a(0x1bc)](_0x316a79=>_0x417e5a(0x1bb)!=_0x316a79[_0x417e5a(0x1b5)])[_0x417e5a(0x1b2)](_0x17549a=>_0x17549a[_0x417e5a(0x1cb)][_0x417e5a(0x1bf)](!0x0));let _0x1d7a11=null;if(_0x101d07[_0x417e5a(0x1b7)]){_0x1d7a11=_0x101d07[0x0][_0x417e5a(0x1b4)];for(let _0x2295de=0x0;_0x2295de<_0x101d07[_0x417e5a(0x1b7)];_0x2295de++)_0x24707c(_0x101d07[_0x2295de]);}if(_0x415869[_0x417e5a(0x1b7)]){_0x1d7a11||(_0xd831e1[0x0][_0x417e5a(0x1b3)]?_0x1d7a11=_0x431e1f(_0x417e5a(0x1c0),_0xd831e1[0x0][_0x417e5a(0x1b3)],_0x52265f):(_0x1d7a11=_0x415869[_0x417e5a(0x1ba)](),_0x1f0516(_0x52265f,_0x1d7a11)));for(let _0x1ae591=0x0;_0x1ae591<_0x415869[_0x417e5a(0x1b7)];_0x1ae591++)_0x162eed(_0x1d7a11,_0x415869[_0x1ae591]),_0x1d7a11=_0x415869[_0x1ae591];}}const _0x5afce3=_0x46aa39(_0x52265f),_0x2ee2d2=_0x367577[_0x417e5a(0x1bd)](_0x127294,_0x5afce3,_0x5c1b45)[_0x417e5a(0x1b1)]();if(_0x14e46a){const _0x3821d3=_0x42b281[_0x417e5a(0x1d1)][_0x417e5a(0x1cd)][_0x417e5a(0x1be)][_0x417e5a(0x1b1)](_0x397091),_0x158d87={'document':_0x42b281[_0x417e5a(0x1d1)][_0x417e5a(0x1cd)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x2181d4(_0x2ee2d2,_0x3821d3,_0x158d87)[_0x417e5a(0x1c5)];}return _0x2ee2d2;}export function fixMarkerOperationOldRange(_0x432d19,_0x2b33c7){const _0x378fd4=_0x22a0;if(_0x378fd4(0x1c7)!=_0x2b33c7[_0x378fd4(0x1b5)])return;const _0x3c619a=_0x432d19[_0x378fd4(0x1d1)][_0x378fd4(0x1c9)][_0x378fd4(0x1c6)](_0x2b33c7[_0x378fd4(0x1d4)]);_0x3c619a&&(_0x2b33c7[_0x378fd4(0x1c3)]=_0x3c619a[_0x378fd4(0x1b9)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x3d4ea2,_0x50593a){const _0x244226=_0x516e,_0x484b4c=_0x3d4ea2();while(!![]){try{const _0x3a6e81=parseInt(_0x244226(0x1f0))/0x1*(-parseInt(_0x244226(0x1b4))/0x2)+-parseInt(_0x244226(0x1b1))/0x3+parseInt(_0x244226(0x1d7))/0x4+parseInt(_0x244226(0x18f))/0x5+-parseInt(_0x244226(0x1db))/0x6+parseInt(_0x244226(0x1c3))/0x7+parseInt(_0x244226(0x1d9))/0x8;if(_0x3a6e81===_0x50593a)break;else _0x484b4c['push'](_0x484b4c['shift']());}catch(_0x1bbb06){_0x484b4c['push'](_0x484b4c['shift']());}}}(_0xddd5,0xb8831));import{findOne as _0x56f4e1,getAttribute as _0x194eca,Document as _0x244283,serialize as _0xfedc36,parse as _0x5b8ad0}from'./htmlparser.js';import{fixElementSuggestionRange as _0x111c4d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x516e(_0x1244c2,_0x2562b5){const _0xddd5dd=_0xddd5();return _0x516e=function(_0x516e02,_0x2a7b09){_0x516e02=_0x516e02-0x18c;let _0x341fb5=_0xddd5dd[_0x516e02];return _0x341fb5;},_0x516e(_0x1244c2,_0x2562b5);}import{ModelRange as _0x3f8fae,_DetachOperation as _0x4cabff,_removeFromModelNodeList as _0x3a04aa,_insertIntoModelNodeList as _0x349b02}from'ckeditor5/src/engine.js';import{uid as _0x3f1988}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x107b43,changeGroups:_0x4b428b,documentContextContent:_0x5a50f3,showDiff:_0x3d7f6a,trimUnchanged:_0x39ed19=!0x0}){const _0x4daaae=_0x516e;return _0x4b428b[_0x4daaae(0x1d6)](_0x35d9d2=>{const _0x2eec60=_0x4daaae,_0x36aa1d=new _0x244283([]),_0x14955c=new _0x244283([]);for(const _0x1583bd of _0x35d9d2[_0x2eec60(0x1a6)])if(_0x3d7f6a&&_0x2eec60(0x1ef)==_0x1583bd[_0x2eec60(0x1ab)]||_0x14955c[_0x2eec60(0x1f8)][_0x2eec60(0x1bd)](_0x1583bd[_0x2eec60(0x1a2)][_0x2eec60(0x1cb)](!0x0)),_0x2eec60(0x1a1)!=_0x1583bd[_0x2eec60(0x1ab)]&&(_0x3d7f6a||_0x2eec60(0x1ef)!=_0x1583bd[_0x2eec60(0x1ab)])){const _0x591e50=_0x56f4e1(_0x58375f=>_0x194eca(_0x58375f,_0x2eec60(0x1bc))==_0x1583bd['id'],_0x5a50f3,!0x0);_0x591e50&&_0x36aa1d[_0x2eec60(0x1f8)][_0x2eec60(0x1bd)](_0x591e50[_0x2eec60(0x1cb)](!0x0));}const {content:_0x139f32,hasChanges:_0x2f94c5}=function(_0x2d049d,_0x129026,_0x40a79c,_0x422297,_0x1ae94=!0x0){const _0x56d335=_0x2eec60,_0x473145=_0x2d049d[_0x56d335(0x191)][_0x56d335(0x1f4)](_0x56d335(0x1da)),_0x51730a=_0xfedc36(_0x129026),_0x5f45ad=_0xfedc36(_0x40a79c),_0x1b5e06=_0x2d049d[_0x56d335(0x1d2)][_0x56d335(0x199)](_0x51730a,_0x56d335(0x1ba)),_0x5b5b0a=_0x2d049d[_0x56d335(0x1f5)][_0x56d335(0x1af)](_0x1b5e06,0x0),_0x2c90eb=_0x473145[_0x56d335(0x1f7)](_0x51730a,_0x5f45ad,{'anchor':_0x5b5b0a,'markDeletions':_0x422297}),_0x4d0c24=_0x2c90eb[_0x56d335(0x1c7)]();if(0x0==_0x4d0c24[_0x56d335(0x1e1)])return{'content':_0x129026[_0x56d335(0x1cb)](!0x0),'hasChanges':!0x1};_0x422297?function(_0x224af1,_0x13be72,_0x477626){const _0x58a66a=_0x56d335;if(0x0==_0x224af1[_0x58a66a(0x1e1)])return;const _0x394008=_0x477626[_0x58a66a(0x191)][_0x58a66a(0x1f4)](_0x58a66a(0x1da)),_0x15db63=_0x477626[_0x58a66a(0x191)][_0x58a66a(0x1f4)](_0x58a66a(0x1df));_0x477626[_0x58a66a(0x1f5)][_0x58a66a(0x1c5)](_0x2e2675=>{const _0x2ecd97=_0x58a66a,_0x18cd22=new Set();for(let _0x35bca4=0x0;_0x35bca4<_0x224af1[_0x2ecd97(0x1e1)];_0x35bca4++){const _0x197d1b=_0x224af1[_0x35bca4];if(_0x197d1b[_0x2ecd97(0x1d1)]=null,_0x197d1b[_0x2ecd97(0x18c)]=!0x1,_0x394008[_0x2ecd97(0x1ee)](_0x197d1b)){const _0x6ff6d1=_0x111c4d(_0x197d1b[_0x2ecd97(0x1c1)],_0x477626[_0x2ecd97(0x1f5)]),_0xa42cf=_0x2ecd97(0x1bf)+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0xa42cf,_0x6ff6d1);}else switch(_0x197d1b[_0x2ecd97(0x1ab)]){case _0x2ecd97(0x1a7):{if(_0x197d1b[_0x2ecd97(0x1a4)]==_0x197d1b[_0x2ecd97(0x195)])break;_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b);const _0x599b1f=_0x2ecd97(0x1d3),_0x3ae1bf=_0x197d1b[_0x2ecd97(0x1e6)],_0x174cb7=_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1ad)](_0x3ae1bf,_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1af)](_0x3ae1bf[_0x2ecd97(0x1cc)],_0x2ecd97(0x19f))),_0x1c30f7=_0x2ecd97(0x1ca)+_0x599b1f+':'+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0x1c30f7,_0x174cb7);break;}case _0x2ecd97(0x1bb):case _0x2ecd97(0x1fb):case _0x2ecd97(0x1aa):{if(_0x197d1b[_0x2ecd97(0x1c9)]==_0x197d1b[_0x2ecd97(0x1ec)])break;_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b);const _0x2bd6ac=_0x197d1b[_0x2ecd97(0x1ac)];if(!_0x15db63[_0x2ecd97(0x1e8)](_0x2bd6ac))break;const _0x2ff88e=_0x111c4d(_0x197d1b[_0x2ecd97(0x1f1)],_0x477626[_0x2ecd97(0x1f5)]),_0x2b355f=_0x2ecd97(0x1ca)+_0x2bd6ac+':'+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0x2b355f,_0x2ff88e);break;}case _0x2ecd97(0x1a8):{_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b);if(_0x224af1[_0x35bca4+0x1]&&_0x2ecd97(0x192)==_0x224af1[_0x35bca4+0x1][_0x2ecd97(0x1ab)]){ro(_0x13be72,_0x197d1b);break;}const _0x478d77=_0x197d1b[_0x2ecd97(0x1e6)],_0x4078a9=_0x197d1b[_0x2ecd97(0x1f2)],_0x2028d4=_0x111c4d(_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1ad)](_0x478d77,_0x478d77[_0x2ecd97(0x1b3)](_0x4078a9)),_0x477626[_0x2ecd97(0x1f5)]),_0x19abca=_0x2ecd97(0x1b9)+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0x19abca,_0x2028d4);break;}case _0x2ecd97(0x190):{_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b);const _0x54b6ca=_0x197d1b[_0x2ecd97(0x1d8)],_0x169106=_0x197d1b[_0x2ecd97(0x1b7)],_0x54ba83=_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1ad)](_0x54b6ca,_0x169106),_0xa6aa95=_0x2ecd97(0x1b9)+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0xa6aa95,_0x54ba83);break;}case _0x2ecd97(0x192):{_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x197d1b),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x197d1b),_0x224af1[_0x35bca4-0x1]&&_0x2ecd97(0x1a8)==_0x224af1[_0x35bca4-0x1][_0x2ecd97(0x1ab)]&&ro(_0x13be72,_0x197d1b);const _0x519def=_0x197d1b[_0x2ecd97(0x1fc)](),_0x41da80=_0x197d1b[_0x2ecd97(0x1f2)];for(let _0x597fbc=0x0;_0x597fbc<_0x41da80;_0x597fbc++){const _0x32bf8b=_0x519def[_0x2ecd97(0x1b3)](_0x597fbc)[_0x2ecd97(0x1cc)];_0x18cd22[_0x2ecd97(0x1d5)](_0x32bf8b);}break;}case _0x2ecd97(0x1e2):{const _0x2b3002=_0x197d1b[_0x2ecd97(0x1de)],_0x51494a=_0x197d1b[_0x2ecd97(0x1f2)],_0x4a7680=new _0x4cabff(_0x2b3002,_0x51494a);_0x2e2675[_0x2ecd97(0x1c0)][_0x2ecd97(0x1b5)](_0x4a7680),_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x18d)](_0x4a7680);break;}}}for(const _0x586916 of _0x18cd22){const _0x100a04=_0x477626[_0x2ecd97(0x1f5)][_0x2ecd97(0x1ed)](_0x586916),_0x551c74=_0x2ecd97(0x1ea)+_0x3f1988()+_0x2ecd97(0x1dc);_0x13be72[_0x2ecd97(0x1fd)][_0x2ecd97(0x19d)](_0x551c74,_0x111c4d(_0x100a04,_0x477626[_0x2ecd97(0x1f5)]));}});}(_0x4d0c24,_0x1b5e06,_0x2d049d):_0x2d049d[_0x56d335(0x1f5)][_0x56d335(0x1c5)](_0x3508da=>{const _0x44c2d8=_0x56d335;for(const _0x228b9b of _0x4d0c24)if(_0x44c2d8(0x1e2)==_0x228b9b[_0x44c2d8(0x1ab)]){const _0x1bfdd2=_0x228b9b[_0x44c2d8(0x1de)],_0x4c25ea=_0x228b9b[_0x44c2d8(0x1f2)],_0x47d01c=new _0x4cabff(_0x1bfdd2,_0x4c25ea);_0x3508da[_0x44c2d8(0x1c0)][_0x44c2d8(0x1b5)](_0x47d01c),_0x2d049d[_0x44c2d8(0x1f5)][_0x44c2d8(0x18d)](_0x47d01c);}else{if(_0x44c2d8(0x1c6)==_0x228b9b[_0x44c2d8(0x1ab)]){const _0x3bf7cb=_0x228b9b[_0x44c2d8(0x196)],_0x1405e2=_0x228b9b[_0x44c2d8(0x1c1)];_0x1b5e06[_0x44c2d8(0x1fd)][_0x44c2d8(0x19d)](_0x3bf7cb,_0x1405e2);}else _0x228b9b[_0x44c2d8(0x1d1)]=null,_0x228b9b[_0x44c2d8(0x18c)]=!0x1,_0x3508da[_0x44c2d8(0x1c0)][_0x44c2d8(0x1b5)](_0x228b9b),_0x2d049d[_0x44c2d8(0x1f5)][_0x44c2d8(0x18d)](_0x228b9b);}});if(_0x1ae94){const _0x5254d0=getMinimalSelection(_0x2d049d,_0x4d0c24,_0x1b5e06);expandSelectionWithContext(_0x2d049d[_0x56d335(0x1f5)],_0x5254d0),function(_0x46c3f7,_0x51a802){const _0xa6b36b=_0x56d335,_0x49c219=_0x51a802[_0xa6b36b(0x1f9)]()[_0xa6b36b(0x1cd)];let _0x421ab7=_0x51a802[_0xa6b36b(0x1f9)]()[_0xa6b36b(0x19f)];const _0x20c76c=_0x49c219[_0xa6b36b(0x1e9)];(_0x421ab7[_0xa6b36b(0x1b8)]||_0x421ab7[_0xa6b36b(0x1cc)]&&_0x421ab7[_0xa6b36b(0x1cc)]['is'](_0xa6b36b(0x1a5)))&&(_0x349b02(_0x421ab7,_0xa6b36b(0x1b2)),_0x421ab7=_0x421ab7[_0xa6b36b(0x1b3)](0x3)),(_0x49c219[_0xa6b36b(0x1b8)]||_0x49c219[_0xa6b36b(0x1fe)]&&_0x49c219[_0xa6b36b(0x1fe)]['is'](_0xa6b36b(0x1a5)))&&(_0x349b02(_0x49c219,_0xa6b36b(0x1b2)),function(_0x174fc8,_0x3dac9e,_0xe56467){const _0x59790f=_0xa6b36b;for(let [_0x3b6ccf,_0x529b81]of _0x174fc8[_0x59790f(0x1fd)]){const _0xa05be3=_0x529b81[_0x59790f(0x1d0)](_0x3dac9e,_0xe56467,!0x1);_0x529b81=_0xa05be3[0x0],_0x174fc8[_0x59790f(0x1fd)][_0x59790f(0x19d)](_0x3b6ccf,_0x529b81);}}(_0x20c76c,_0x49c219,0x3),_0x49c219[_0xa6b36b(0x1b6)]==_0x421ab7[_0xa6b36b(0x1b6)]&&(_0x421ab7=_0x421ab7[_0xa6b36b(0x1b3)](0x3)));const _0x2f8e1a=_0x46c3f7[_0xa6b36b(0x1ad)](_0x46c3f7[_0xa6b36b(0x1af)](_0x20c76c,0x0),_0x49c219),_0x4ef0f5=_0x46c3f7[_0xa6b36b(0x1ad)](_0x421ab7,_0x46c3f7[_0xa6b36b(0x1af)](_0x20c76c,_0xa6b36b(0x19f))),_0x54aaad=[..._0x2f8e1a[_0xa6b36b(0x1c8)](),..._0x4ef0f5[_0xa6b36b(0x1c8)]()];_0x54aaad[_0xa6b36b(0x1c4)]();for(const _0x5aeb6c of _0x54aaad)_0x3a04aa(_0x5aeb6c),_transformMarkersByDeletion(_0x20c76c,_0x5aeb6c);}(_0x2d049d[_0x56d335(0x1f5)],_0x5254d0);}const _0x5b6935=_0x2d049d[_0x56d335(0x1d2)][_0x56d335(0x1c2)](_0x1b5e06,{'showSuggestionHighlights':!0x0});return{'content':_0x5b8ad0(_0x5b6935),'hasChanges':!0x0};}(_0x107b43,_0x36aa1d,_0x14955c,_0x3d7f6a,_0x39ed19);return{'type':_0x35d9d2[_0x2eec60(0x1a6)][0x0][_0x2eec60(0x1ab)],'index':_0x35d9d2[_0x2eec60(0x1a0)],'content':_0x139f32,'hasChanges':_0x2f94c5};});}function ro(_0x1e14cc,_0x1270a9){const _0x59b9ca=_0x516e;for(const [_0x3fbd69,_0x4de899]of _0x1e14cc[_0x59b9ca(0x1fd)]){const _0x4a9db5=_0x3f8fae[_0x59b9ca(0x1ae)](_0x4de899[_0x59b9ca(0x1be)](_0x1270a9));_0x1e14cc[_0x59b9ca(0x1fd)][_0x59b9ca(0x19d)](_0x3fbd69,_0x4a9db5);}}export function getMinimalSelection(_0x359f3e,_0x18ba45,_0x2eadeb){const _0x43d700=_0x516e,_0x334728=_0x359f3e[_0x43d700(0x191)][_0x43d700(0x1f4)](_0x43d700(0x1da));let _0x4cbd69=_0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x1af)](_0x2eadeb,Number[_0x43d700(0x1a3)]),_0x27f81f=_0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x1af)](_0x2eadeb,0x0);for(const _0x191549 of _0x18ba45){let _0x2a16e7,_0x46dd50;if(_0x334728[_0x43d700(0x1ee)](_0x191549))_0x2a16e7=_0x191549[_0x43d700(0x1c1)][_0x43d700(0x1cd)],_0x46dd50=_0x191549[_0x43d700(0x1c1)][_0x43d700(0x19f)];else switch(_0x4cbd69=_0x4cbd69[_0x43d700(0x1be)](_0x191549),_0x27f81f=_0x27f81f[_0x43d700(0x1be)](_0x191549),_0x191549[_0x43d700(0x1ab)]){case _0x43d700(0x1a7):_0x2a16e7=_0x191549[_0x43d700(0x1e6)],_0x46dd50=_0x2a16e7[_0x43d700(0x1b3)](0x1);break;case _0x43d700(0x1bb):case _0x43d700(0x1fb):case _0x43d700(0x1aa):_0x2a16e7=_0x191549[_0x43d700(0x1f1)][_0x43d700(0x1cd)],_0x46dd50=_0x191549[_0x43d700(0x1f1)][_0x43d700(0x19f)];break;case _0x43d700(0x1a8):_0x2a16e7=_0x191549[_0x43d700(0x1e6)],_0x46dd50=_0x2a16e7[_0x43d700(0x1b3)](_0x191549[_0x43d700(0x1f2)]);break;case _0x43d700(0x190):_0x2a16e7=_0x191549[_0x43d700(0x1d8)],_0x46dd50=_0x191549[_0x43d700(0x1b7)];break;case _0x43d700(0x1e0):{const _0x157fdd=_0x191549[_0x43d700(0x1eb)][_0x43d700(0x1fa)][_0x43d700(0x193)](0x0,-0x1);_0x2a16e7=_0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x19a)](_0x2eadeb,_0x157fdd),_0x46dd50=_0x2a16e7[_0x43d700(0x1b3)](0x1);break;}case _0x43d700(0x1e2):{const _0x46be19=_0x191549[_0x43d700(0x1f2)],_0x1926e5=_0x191549[_0x43d700(0x1de)][_0x43d700(0x1d0)](_0x191549[_0x43d700(0x1eb)],_0x46be19),_0x4f6e9e=_0x191549[_0x43d700(0x1fc)]();_0x43d700(0x1e2)==_0x191549[_0x43d700(0x1ab)]?(_0x2a16e7=_0x1926e5,_0x46dd50=_0x1926e5):(_0x2a16e7=_0x4f6e9e,_0x46dd50=_0x4f6e9e[_0x43d700(0x1b3)](_0x46be19));break;}}_0x2a16e7&&_0x2a16e7[_0x43d700(0x18e)](_0x4cbd69)&&(_0x4cbd69=_0x2a16e7[_0x43d700(0x1cf)](),_0x4cbd69[_0x43d700(0x1e5)]=_0x43d700(0x1e4)),_0x46dd50&&_0x46dd50[_0x43d700(0x1ce)](_0x27f81f)&&(_0x27f81f=_0x46dd50[_0x43d700(0x1cf)](),_0x27f81f[_0x43d700(0x1e5)]=_0x43d700(0x1e4));}return _0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x1e7)](_0x359f3e[_0x43d700(0x1f5)][_0x43d700(0x1ad)](_0x4cbd69,_0x27f81f));}function _0xddd5(){const _0x48d40b=['length','remove','isBlock','toNone','stickiness','position','createSelection','isRegisteredAttribute','root','suggestion:formatBlock:$fakeWrap:','targetPosition','newValue','createRangeOn','isMarkedRemoveOperation','removed','874HwcCHd','range','howMany','backward','get','model','delete','getDiff','children','getFirstRange','path','removeAttribute','getMovedRangeStart','markers','nodeBefore','isDocumentOperation','applyOperation','isBefore','6308830QEffRJ','split','plugins','move','slice','isObject','newName','name','modifySelection','element','parse','createPositionFromPath','_getTransformedByDeletion','focus','set','forward','end','index','new','node','POSITIVE_INFINITY','oldName','$text','changes','rename','insert','schema','changeAttribute','type','key','createRange','_createFromRanges','createPositionAt','offset','2759007ssXZnf','...','getShiftedBy','1838tLefKP','addOperation','parent','moveTargetPosition','textNode','suggestion:insertion:','$root','addAttribute','data-id','push','getTransformedByOperation','suggestion:deletion:','batch','newRange','stringify','2580361gGqaEM','reverse','change','marker','getOperations','getMinimalFlatRanges','oldValue','suggestion:attribute:','cloneNode','nodeAfter','start','isAfter','clone','_getTransformedByInsertion','baseVersion','data','$elementName','word','add','map','128168xeWNUR','splitPosition','14631272oKgoeg','DocumentCompare','6076224PDSWXA',':$aiSuggestion','setTo','sourcePosition','SuggestionsConversion','merge'];_0xddd5=function(){return _0x48d40b;};return _0xddd5();}export function expandSelectionWithContext(_0x1a0810,_0x1cb60a){const _0x2924c1=_0x516e;so(_0x1a0810,_0x1cb60a,_0x2924c1(0x19e));const _0x42f0af=_0x1cb60a[_0x2924c1(0x1f9)]();_0x1cb60a[_0x2924c1(0x1dd)]([]),_0x1cb60a[_0x2924c1(0x1dd)](_0x42f0af,{'backward':!0x0}),so(_0x1a0810,_0x1cb60a,_0x2924c1(0x1f3));}function so(_0x1342d9,_0x57e6bd,_0x1b712a){const _0x2f2fb2=_0x516e;let _0x1c1c83=0x14;for(;_0x1c1c83;){_0x1342d9[_0x2f2fb2(0x197)](_0x57e6bd,{'unit':_0x2f2fb2(0x1d4),'direction':_0x1b712a}),_0x1c1c83--;const _0x4f4fd8=_0x57e6bd[_0x2f2fb2(0x19c)][_0x2f2fb2(0x19e)==_0x1b712a?_0x2f2fb2(0x1fe):_0x2f2fb2(0x1cc)];if(_0x4f4fd8&&_0x4f4fd8['is'](_0x2f2fb2(0x198))&&_0x1342d9[_0x2f2fb2(0x1a9)][_0x2f2fb2(0x1e3)](_0x4f4fd8)&&_0x1342d9[_0x2f2fb2(0x1a9)][_0x2f2fb2(0x194)](_0x4f4fd8))break;}}export function _transformMarkersByDeletion(_0x44e834,_0x419452){const _0x6c1b1f=_0x516e;for(const [_0x1bf530,_0x319051]of _0x44e834[_0x6c1b1f(0x1fd)]){const _0xe353f5=_0x319051[_0x6c1b1f(0x19b)](_0x419452[_0x6c1b1f(0x1cd)],_0x419452[_0x6c1b1f(0x19f)][_0x6c1b1f(0x1b0)]-_0x419452[_0x6c1b1f(0x1cd)][_0x6c1b1f(0x1b0)]);null!=_0xe353f5?_0x44e834[_0x6c1b1f(0x1fd)][_0x6c1b1f(0x19d)](_0x1bf530,_0xe353f5):_0x44e834[_0x6c1b1f(0x1fd)][_0x6c1b1f(0x1f6)](_0x1bf530);}}
|
|
23
|
+
(function(_0x2edddc,_0x2ec45d){const _0x4ac68d=_0x50a5,_0x174ab8=_0x2edddc();while(!![]){try{const _0x5f3327=-parseInt(_0x4ac68d(0x156))/0x1*(parseInt(_0x4ac68d(0x172))/0x2)+parseInt(_0x4ac68d(0x161))/0x3+-parseInt(_0x4ac68d(0x16b))/0x4*(parseInt(_0x4ac68d(0x187))/0x5)+-parseInt(_0x4ac68d(0x175))/0x6+parseInt(_0x4ac68d(0x1a3))/0x7+parseInt(_0x4ac68d(0x182))/0x8*(-parseInt(_0x4ac68d(0x1be))/0x9)+-parseInt(_0x4ac68d(0x186))/0xa*(-parseInt(_0x4ac68d(0x15b))/0xb);if(_0x5f3327===_0x2ec45d)break;else _0x174ab8['push'](_0x174ab8['shift']());}catch(_0x4f14e5){_0x174ab8['push'](_0x174ab8['shift']());}}}(_0x8e93,0xe6d34));import{findOne as _0x191545,getAttribute as _0x243042,Document as _0x1a4aff,serialize as _0x2d8c29,parse as _0x59662c}from'./htmlparser.js';import{fixElementSuggestionRange as _0x54c4a6}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3e53ab,_DetachOperation as _0x1044e1,_removeFromModelNodeList as _0x2099db,_insertIntoModelNodeList as _0x3b81ca}from'ckeditor5/src/engine.js';import{uid as _0x47a96c}from'ckeditor5/src/utils.js';function _0x50a5(_0x5100f4,_0x400778){const _0x8e9326=_0x8e93();return _0x50a5=function(_0x50a5f4,_0x5eefdf){_0x50a5f4=_0x50a5f4-0x14a;let _0x235b11=_0x8e9326[_0x50a5f4];return _0x235b11;},_0x50a5(_0x5100f4,_0x400778);}export function getSuggestionPartsFromReply({editor:_0x383622,changeGroups:_0x5dabb4,documentContextContent:_0x4cba9a,showDiff:_0x323acd,trimUnchanged:_0x25e173=!0x0}){const _0x459ec1=_0x50a5;return _0x5dabb4[_0x459ec1(0x19c)](_0x925bba=>{const _0x4a8cb7=_0x459ec1,_0x229e57=new _0x1a4aff([]),_0x3b06dd=new _0x1a4aff([]);for(const _0x4b60ad of _0x925bba[_0x4a8cb7(0x16a)])if(_0x323acd&&_0x4a8cb7(0x150)==_0x4b60ad[_0x4a8cb7(0x17d)]||_0x3b06dd[_0x4a8cb7(0x160)][_0x4a8cb7(0x198)](_0x4b60ad[_0x4a8cb7(0x19f)][_0x4a8cb7(0x19e)](!0x0)),_0x4a8cb7(0x1a1)!=_0x4b60ad[_0x4a8cb7(0x17d)]&&(_0x323acd||_0x4a8cb7(0x150)!=_0x4b60ad[_0x4a8cb7(0x17d)])){const _0x157ff9=_0x191545(_0x5d7279=>_0x243042(_0x5d7279,_0x4a8cb7(0x1a0))==_0x4b60ad['id'],_0x4cba9a,!0x0);_0x157ff9&&_0x229e57[_0x4a8cb7(0x160)][_0x4a8cb7(0x198)](_0x157ff9[_0x4a8cb7(0x19e)](!0x0));}const {content:_0xff42f9,hasChanges:_0x3d0b87}=function(_0xeae213,_0x4ff846,_0x460b29,_0x26cc7c,_0x38592f=!0x0){const _0x3ee7d9=_0x4a8cb7,_0x9f8364=_0xeae213[_0x3ee7d9(0x14a)][_0x3ee7d9(0x170)](_0x3ee7d9(0x15f)),_0x4e020a=_0x2d8c29(_0x4ff846),_0x2edaf8=_0x2d8c29(_0x460b29),_0x60addc=_0xeae213[_0x3ee7d9(0x179)][_0x3ee7d9(0x19b)](_0x4e020a,_0x3ee7d9(0x18c)),_0xd595b6=_0xeae213[_0x3ee7d9(0x153)][_0x3ee7d9(0x17b)](_0x60addc,0x0),_0x2b6c22=_0x9f8364[_0x3ee7d9(0x167)](_0x4e020a,_0x2edaf8,{'anchor':_0xd595b6,'markDeletions':_0x26cc7c}),_0x2b1286=_0x2b6c22[_0x3ee7d9(0x15e)]();if(0x0==_0x2b1286[_0x3ee7d9(0x159)])return{'content':_0x4ff846[_0x3ee7d9(0x19e)](!0x0),'hasChanges':!0x1};_0x26cc7c?function(_0x1a18d5,_0xa32a97,_0x3e12bd){const _0x4c21d3=_0x3ee7d9;if(0x0==_0x1a18d5[_0x4c21d3(0x159)])return;const _0x30a671=_0x3e12bd[_0x4c21d3(0x14a)][_0x4c21d3(0x170)](_0x4c21d3(0x15f)),_0x58611f=_0x3e12bd[_0x4c21d3(0x14a)][_0x4c21d3(0x170)](_0x4c21d3(0x18f));_0x3e12bd[_0x4c21d3(0x153)][_0x4c21d3(0x193)](_0x429b10=>{const _0x1835f6=_0x4c21d3,_0x142fa5=new Set();for(let _0x7ebd98=0x0;_0x7ebd98<_0x1a18d5[_0x1835f6(0x159)];_0x7ebd98++){const _0x3c5c5e=_0x1a18d5[_0x7ebd98];if(_0x3c5c5e[_0x1835f6(0x1bd)]=null,_0x3c5c5e[_0x1835f6(0x17a)]=!0x1,_0x30a671[_0x1835f6(0x16c)](_0x3c5c5e)){const _0xa0885f=_0x54c4a6(_0x3c5c5e[_0x1835f6(0x174)],_0x3e12bd[_0x1835f6(0x153)]),_0x4bdbaf=_0x1835f6(0x1ae)+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x4bdbaf,_0xa0885f);}else switch(_0x3c5c5e[_0x1835f6(0x17d)]){case _0x1835f6(0x1ad):{if(_0x3c5c5e[_0x1835f6(0x1a9)]==_0x3c5c5e[_0x1835f6(0x1a2)])break;_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e);const _0x2f9247=_0x1835f6(0x158),_0x5b0949=_0x3c5c5e[_0x1835f6(0x1aa)],_0x2ae876=_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1ba)](_0x5b0949,_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x17b)](_0x5b0949[_0x1835f6(0x1b4)],_0x1835f6(0x19d))),_0x3e1710=_0x1835f6(0x1bf)+_0x2f9247+':'+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x3e1710,_0x2ae876);break;}case _0x1835f6(0x190):case _0x1835f6(0x17c):case _0x1835f6(0x15a):{if(_0x3c5c5e[_0x1835f6(0x1af)]==_0x3c5c5e[_0x1835f6(0x157)])break;_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e);const _0xbef9d3=_0x3c5c5e[_0x1835f6(0x194)];if(!_0x58611f[_0x1835f6(0x1b2)](_0xbef9d3))break;const _0x1aaafc=_0x54c4a6(_0x3c5c5e[_0x1835f6(0x155)],_0x3e12bd[_0x1835f6(0x153)]),_0x235e6a=_0x1835f6(0x1bf)+_0xbef9d3+':'+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x235e6a,_0x1aaafc);break;}case _0x1835f6(0x1ab):{_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e);if(_0x1a18d5[_0x7ebd98+0x1]&&_0x1835f6(0x162)==_0x1a18d5[_0x7ebd98+0x1][_0x1835f6(0x17d)]){ro(_0xa32a97,_0x3c5c5e);break;}const _0x1e039d=_0x3c5c5e[_0x1835f6(0x1aa)],_0x28f200=_0x3c5c5e[_0x1835f6(0x191)],_0x483f17=_0x54c4a6(_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1ba)](_0x1e039d,_0x1e039d[_0x1835f6(0x154)](_0x28f200)),_0x3e12bd[_0x1835f6(0x153)]),_0x3fb490=_0x1835f6(0x14e)+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x3fb490,_0x483f17);break;}case _0x1835f6(0x1b6):{_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e);const _0x3c4e16=_0x3c5c5e[_0x1835f6(0x183)],_0x3c9a6b=_0x3c5c5e[_0x1835f6(0x1bc)],_0x7a46a6=_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1ba)](_0x3c4e16,_0x3c9a6b),_0x333c02=_0x1835f6(0x14e)+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x333c02,_0x7a46a6);break;}case _0x1835f6(0x162):{_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x3c5c5e),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x3c5c5e),_0x1a18d5[_0x7ebd98-0x1]&&_0x1835f6(0x1ab)==_0x1a18d5[_0x7ebd98-0x1][_0x1835f6(0x17d)]&&ro(_0xa32a97,_0x3c5c5e);const _0x29f2c8=_0x3c5c5e[_0x1835f6(0x1b0)](),_0x3a46bb=_0x3c5c5e[_0x1835f6(0x191)];for(let _0x5d26e1=0x0;_0x5d26e1<_0x3a46bb;_0x5d26e1++){const _0x26c856=_0x29f2c8[_0x1835f6(0x154)](_0x5d26e1)[_0x1835f6(0x1b4)];_0x142fa5[_0x1835f6(0x16f)](_0x26c856);}break;}case _0x1835f6(0x196):{const _0x5de2a5=_0x3c5c5e[_0x1835f6(0x173)],_0x536665=_0x3c5c5e[_0x1835f6(0x191)],_0x35c221=new _0x1044e1(_0x5de2a5,_0x536665);_0x429b10[_0x1835f6(0x169)][_0x1835f6(0x189)](_0x35c221),_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x1b9)](_0x35c221);break;}}}for(const _0x3af2f3 of _0x142fa5){const _0x22844c=_0x3e12bd[_0x1835f6(0x153)][_0x1835f6(0x176)](_0x3af2f3),_0x450238=_0x1835f6(0x1b3)+_0x47a96c()+_0x1835f6(0x151);_0xa32a97[_0x1835f6(0x178)][_0x1835f6(0x180)](_0x450238,_0x54c4a6(_0x22844c,_0x3e12bd[_0x1835f6(0x153)]));}});}(_0x2b1286,_0x60addc,_0xeae213):_0xeae213[_0x3ee7d9(0x153)][_0x3ee7d9(0x193)](_0x14ac91=>{const _0x477096=_0x3ee7d9;for(const _0x5cea8d of _0x2b1286)if(_0x477096(0x196)==_0x5cea8d[_0x477096(0x17d)]){const _0x3b34b6=_0x5cea8d[_0x477096(0x173)],_0x2d20ae=_0x5cea8d[_0x477096(0x191)],_0x5745f5=new _0x1044e1(_0x3b34b6,_0x2d20ae);_0x14ac91[_0x477096(0x169)][_0x477096(0x189)](_0x5745f5),_0xeae213[_0x477096(0x153)][_0x477096(0x1b9)](_0x5745f5);}else{if(_0x477096(0x18a)==_0x5cea8d[_0x477096(0x17d)]){const _0x3dad7e=_0x5cea8d[_0x477096(0x171)],_0x362e95=_0x5cea8d[_0x477096(0x174)];_0x60addc[_0x477096(0x178)][_0x477096(0x180)](_0x3dad7e,_0x362e95);}else _0x5cea8d[_0x477096(0x1bd)]=null,_0x5cea8d[_0x477096(0x17a)]=!0x1,_0x14ac91[_0x477096(0x169)][_0x477096(0x189)](_0x5cea8d),_0xeae213[_0x477096(0x153)][_0x477096(0x1b9)](_0x5cea8d);}});if(_0x38592f){const _0x3cfe3c=getMinimalSelection(_0xeae213,_0x2b1286,_0x60addc);expandSelectionWithContext(_0xeae213[_0x3ee7d9(0x153)],_0x3cfe3c),function(_0x5aa77a,_0x1ba316){const _0x2a631f=_0x3ee7d9,_0x5951ab=_0x1ba316[_0x2a631f(0x1a5)]()[_0x2a631f(0x1b8)];let _0x457461=_0x1ba316[_0x2a631f(0x1a5)]()[_0x2a631f(0x19d)];const _0x2bc194=_0x5951ab[_0x2a631f(0x1b1)];(_0x457461[_0x2a631f(0x188)]||_0x457461[_0x2a631f(0x1b4)]&&_0x457461[_0x2a631f(0x1b4)]['is'](_0x2a631f(0x184)))&&(_0x3b81ca(_0x457461,_0x2a631f(0x1b5)),_0x457461=_0x457461[_0x2a631f(0x154)](0x3)),(_0x5951ab[_0x2a631f(0x188)]||_0x5951ab[_0x2a631f(0x197)]&&_0x5951ab[_0x2a631f(0x197)]['is'](_0x2a631f(0x184)))&&(_0x3b81ca(_0x5951ab,_0x2a631f(0x1b5)),function(_0x3b487c,_0x45eb89,_0x3116a7){const _0x3d71a4=_0x2a631f;for(let [_0x1414d6,_0x2ed4be]of _0x3b487c[_0x3d71a4(0x178)]){const _0x1163b8=_0x2ed4be[_0x3d71a4(0x163)](_0x45eb89,_0x3116a7,!0x1);_0x2ed4be=_0x1163b8[0x0],_0x3b487c[_0x3d71a4(0x178)][_0x3d71a4(0x180)](_0x1414d6,_0x2ed4be);}}(_0x2bc194,_0x5951ab,0x3),_0x5951ab[_0x2a631f(0x18b)]==_0x457461[_0x2a631f(0x18b)]&&(_0x457461=_0x457461[_0x2a631f(0x154)](0x3)));const _0x285992=_0x5aa77a[_0x2a631f(0x1ba)](_0x5aa77a[_0x2a631f(0x17b)](_0x2bc194,0x0),_0x5951ab),_0x2a2197=_0x5aa77a[_0x2a631f(0x1ba)](_0x457461,_0x5aa77a[_0x2a631f(0x17b)](_0x2bc194,_0x2a631f(0x19d))),_0x121673=[..._0x285992[_0x2a631f(0x1a7)](),..._0x2a2197[_0x2a631f(0x1a7)]()];_0x121673[_0x2a631f(0x165)]();for(const _0x4bb99c of _0x121673)_0x2099db(_0x4bb99c),_transformMarkersByDeletion(_0x2bc194,_0x4bb99c);}(_0xeae213[_0x3ee7d9(0x153)],_0x3cfe3c);}const _0x131bdd=_0xeae213[_0x3ee7d9(0x179)][_0x3ee7d9(0x14b)](_0x60addc,{'showSuggestionHighlights':!0x0});return{'content':_0x59662c(_0x131bdd),'hasChanges':!0x0};}(_0x383622,_0x229e57,_0x3b06dd,_0x323acd,_0x25e173);return{'type':_0x925bba[_0x4a8cb7(0x16a)][0x0][_0x4a8cb7(0x17d)],'index':_0x925bba[_0x4a8cb7(0x1a6)],'content':_0xff42f9,'hasChanges':_0x3d0b87};});}function ro(_0x349a11,_0x1bc78a){const _0x5d28a2=_0x50a5;for(const [_0x33a3e4,_0x1e5cf4]of _0x349a11[_0x5d28a2(0x178)]){const _0x184b2=_0x3e53ab[_0x5d28a2(0x199)](_0x1e5cf4[_0x5d28a2(0x192)](_0x1bc78a));_0x349a11[_0x5d28a2(0x178)][_0x5d28a2(0x180)](_0x33a3e4,_0x184b2);}}export function getMinimalSelection(_0x5d144a,_0x21945,_0x5d61e5){const _0x2ce1c1=_0x50a5,_0x5e3b00=_0x5d144a[_0x2ce1c1(0x14a)][_0x2ce1c1(0x170)](_0x2ce1c1(0x15f));let _0xabd46f=_0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x17b)](_0x5d61e5,Number[_0x2ce1c1(0x18d)]),_0x230a27=_0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x17b)](_0x5d61e5,0x0);for(const _0x59dd3c of _0x21945){let _0x10fb86,_0x4931bb;if(_0x5e3b00[_0x2ce1c1(0x16c)](_0x59dd3c))_0x10fb86=_0x59dd3c[_0x2ce1c1(0x174)][_0x2ce1c1(0x1b8)],_0x4931bb=_0x59dd3c[_0x2ce1c1(0x174)][_0x2ce1c1(0x19d)];else switch(_0xabd46f=_0xabd46f[_0x2ce1c1(0x192)](_0x59dd3c),_0x230a27=_0x230a27[_0x2ce1c1(0x192)](_0x59dd3c),_0x59dd3c[_0x2ce1c1(0x17d)]){case _0x2ce1c1(0x1ad):_0x10fb86=_0x59dd3c[_0x2ce1c1(0x1aa)],_0x4931bb=_0x10fb86[_0x2ce1c1(0x154)](0x1);break;case _0x2ce1c1(0x190):case _0x2ce1c1(0x17c):case _0x2ce1c1(0x15a):_0x10fb86=_0x59dd3c[_0x2ce1c1(0x155)][_0x2ce1c1(0x1b8)],_0x4931bb=_0x59dd3c[_0x2ce1c1(0x155)][_0x2ce1c1(0x19d)];break;case _0x2ce1c1(0x1ab):_0x10fb86=_0x59dd3c[_0x2ce1c1(0x1aa)],_0x4931bb=_0x10fb86[_0x2ce1c1(0x154)](_0x59dd3c[_0x2ce1c1(0x191)]);break;case _0x2ce1c1(0x1b6):_0x10fb86=_0x59dd3c[_0x2ce1c1(0x183)],_0x4931bb=_0x59dd3c[_0x2ce1c1(0x1bc)];break;case _0x2ce1c1(0x19a):{const _0x4a6532=_0x59dd3c[_0x2ce1c1(0x195)][_0x2ce1c1(0x17e)][_0x2ce1c1(0x15c)](0x0,-0x1);_0x10fb86=_0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x1a8)](_0x5d61e5,_0x4a6532),_0x4931bb=_0x10fb86[_0x2ce1c1(0x154)](0x1);break;}case _0x2ce1c1(0x196):{const _0xd42cc8=_0x59dd3c[_0x2ce1c1(0x191)],_0x4f20e8=_0x59dd3c[_0x2ce1c1(0x173)][_0x2ce1c1(0x163)](_0x59dd3c[_0x2ce1c1(0x195)],_0xd42cc8),_0x54c7ed=_0x59dd3c[_0x2ce1c1(0x1b0)]();_0x2ce1c1(0x196)==_0x59dd3c[_0x2ce1c1(0x17d)]?(_0x10fb86=_0x4f20e8,_0x4931bb=_0x4f20e8):(_0x10fb86=_0x54c7ed,_0x4931bb=_0x54c7ed[_0x2ce1c1(0x154)](_0xd42cc8));break;}}_0x10fb86&&_0x10fb86[_0x2ce1c1(0x1b7)](_0xabd46f)&&(_0xabd46f=_0x10fb86[_0x2ce1c1(0x152)](),_0xabd46f[_0x2ce1c1(0x16d)]=_0x2ce1c1(0x168)),_0x4931bb&&_0x4931bb[_0x2ce1c1(0x185)](_0x230a27)&&(_0x230a27=_0x4931bb[_0x2ce1c1(0x152)](),_0x230a27[_0x2ce1c1(0x16d)]=_0x2ce1c1(0x168));}return _0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x166)](_0x5d144a[_0x2ce1c1(0x153)][_0x2ce1c1(0x1ba)](_0xabd46f,_0x230a27));}export function expandSelectionWithContext(_0x51fd67,_0x502b1b){const _0x13e883=_0x50a5;so(_0x51fd67,_0x502b1b,_0x13e883(0x15d));const _0x21eb74=_0x502b1b[_0x13e883(0x1a5)]();_0x502b1b[_0x13e883(0x18e)]([]),_0x502b1b[_0x13e883(0x18e)](_0x21eb74,{'backward':!0x0}),so(_0x51fd67,_0x502b1b,_0x13e883(0x14f));}function _0x8e93(){const _0x26a401=['insert','offset','rename','suggestion:deletion:','oldValue','getMovedRangeStart','root','isRegisteredAttribute','suggestion:formatBlock:$fakeWrap:','nodeAfter','...','split','isBefore','start','applyOperation','createRange','isObject','moveTargetPosition','baseVersion','5560317vCPdTy','suggestion:attribute:','plugins','stringify','_getTransformedByDeletion','schema','suggestion:insertion:','backward','removed',':$aiSuggestion','clone','model','getShiftedBy','range','1779793QXnpIG','newValue','$elementName','length','changeAttribute','114334bphhUh','slice','forward','getOperations','DocumentCompare','children','4290276XlxqMJ','move','_getTransformedByInsertion','element','reverse','createSelection','getDiff','toNone','batch','changes','756440SqYsZc','isMarkedRemoveOperation','stickiness','focus','add','get','name','2kfLKvY','sourcePosition','newRange','10010742HLqBwa','createRangeOn','modifySelection','markers','data','isDocumentOperation','createPositionAt','removeAttribute','type','path','delete','set','word','16CrpEHS','splitPosition','$text','isAfter','4110kcJCcd','10CasULG','textNode','addOperation','marker','parent','$root','POSITIVE_INFINITY','setTo','SuggestionsConversion','addAttribute','howMany','getTransformedByOperation','change','key','targetPosition','remove','nodeBefore','push','_createFromRanges','merge','parse','map','end','cloneNode','node','data-id','new','newName','2138710dDyOiw','isBlock','getFirstRange','index','getMinimalFlatRanges','createPositionFromPath','oldName','position'];_0x8e93=function(){return _0x26a401;};return _0x8e93();}function so(_0x4faa2d,_0x373359,_0x1fc54c){const _0x17d976=_0x50a5;let _0x2c431a=0x14;for(;_0x2c431a;){_0x4faa2d[_0x17d976(0x177)](_0x373359,{'unit':_0x17d976(0x181),'direction':_0x1fc54c}),_0x2c431a--;const _0x922dec=_0x373359[_0x17d976(0x16e)][_0x17d976(0x15d)==_0x1fc54c?_0x17d976(0x197):_0x17d976(0x1b4)];if(_0x922dec&&_0x922dec['is'](_0x17d976(0x164))&&_0x4faa2d[_0x17d976(0x14d)][_0x17d976(0x1a4)](_0x922dec)&&_0x4faa2d[_0x17d976(0x14d)][_0x17d976(0x1bb)](_0x922dec))break;}}export function _transformMarkersByDeletion(_0x37c917,_0x238cd7){const _0x51f7b1=_0x50a5;for(const [_0x4c7e30,_0x3fec71]of _0x37c917[_0x51f7b1(0x178)]){const _0x266f01=_0x3fec71[_0x51f7b1(0x14c)](_0x238cd7[_0x51f7b1(0x1b8)],_0x238cd7[_0x51f7b1(0x19d)][_0x51f7b1(0x1ac)]-_0x238cd7[_0x51f7b1(0x1b8)][_0x51f7b1(0x1ac)]);null!=_0x266f01?_0x37c917[_0x51f7b1(0x178)][_0x51f7b1(0x180)](_0x4c7e30,_0x266f01):_0x37c917[_0x51f7b1(0x178)][_0x51f7b1(0x17f)](_0x4c7e30);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x38cf4f,_0x48dcad){const _0x1a0bf4=_0x2e60,_0x27fdfb=_0x38cf4f();while(!![]){try{const _0x49f025=parseInt(_0x1a0bf4(0xe9))/0x1*(parseInt(_0x1a0bf4(0xd7))/0x2)+parseInt(_0x1a0bf4(0xe5))/0x3+-parseInt(_0x1a0bf4(0xdc))/0x4+parseInt(_0x1a0bf4(0xd6))/0x5*(parseInt(_0x1a0bf4(0xea))/0x6)+-parseInt(_0x1a0bf4(0xd8))/0x7*(parseInt(_0x1a0bf4(0xd5))/0x8)+parseInt(_0x1a0bf4(0xde))/0x9+-parseInt(_0x1a0bf4(0xe6))/0xa;if(_0x49f025===_0x48dcad)break;else _0x27fdfb['push'](_0x27fdfb['shift']());}catch(_0x4ebe11){_0x27fdfb['push'](_0x27fdfb['shift']());}}}(_0x29ce,0xb6481));import{parseDocument as _0x5bb895}from'htmlparser2';import{append as _0x2977d9,appendChild as _0x5e7eb6,find as _0x25e3b8,findAll as _0x4f4fc8,findOne as _0x20f9a0,getChildren as _0x1185ba,isComment as _0x4ecac2,isTag as _0x51db24,prepend as _0x1cfc8b,prependChild as _0x3c1571,removeElement as _0x20287d,replaceElement as _0x356171,textContent as _0x3abce8,getParent as _0x3f95ca,hasChildren as _0x340548}from'domutils';import _0x2cbbc3 from'dom-serializer';import{cloneNode as _0x42edcc,isDocument as _0x15e15a,isText as _0x343186,Element as _0x39c84a,Text as _0x3a454a,Document as _0x265cd5,NodeWithChildren as _0x253c20}from'domhandler';export{_0x42edcc as cloneNode,_0x25e3b8 as find,_0x20f9a0 as findOne,_0x4f4fc8 as findAll,_0x1185ba as getChildren,_0x3f95ca as getParent,_0x4ecac2 as isComment,_0x15e15a as isDocument,_0x51db24 as isTag,_0x343186 as isText,_0x2977d9 as append,_0x5e7eb6 as appendChild,_0x1cfc8b as prepend,_0x3c1571 as prependChild,_0x2cbbc3 as render,_0x20287d as removeElement,_0x356171 as replaceElement,_0x3abce8 as textContent,_0x340548 as hasChildren,_0x39c84a as Element,_0x265cd5 as Document,_0x253c20 as NodeWithChildren,_0x3a454a as Text};export function parse(_0x344fba){return _0x5bb895(_0x344fba);}export function serialize(_0x5088ec){return _0x2cbbc3(_0x5088ec);}export function findByAttribute(_0x1fa3c3,_0x11f186,_0x47271e){const _0x8094bd=_0x2e60,_0x50cc0d=null!==_0x11f186?_0x4781b8=>_0x4781b8[_0x8094bd(0xe7)][_0x1fa3c3]===_0x11f186:_0x1e7e1b=>Boolean(_0x1e7e1b[_0x8094bd(0xe7)][_0x1fa3c3]);return _0x20f9a0(_0x18301e=>_0x51db24(_0x18301e)&&_0x50cc0d(_0x18301e),_0x47271e);}export function findAllByAttribute(_0x3097ad,_0x47e310,_0x215f37){const _0x416a88=_0x2e60,_0x19a315=null!==_0x47e310?_0x592e70=>_0x592e70[_0x416a88(0xe7)][_0x3097ad]===_0x47e310:_0x49818e=>Boolean(_0x49818e[_0x416a88(0xe7)][_0x3097ad]);return _0x4f4fc8(_0x13aea1=>_0x51db24(_0x13aea1)&&_0x19a315(_0x13aea1),_0x215f37);}export function findAllComments(_0x5b50d4){return _0x25e3b8(_0x1d9dd0=>_0x4ecac2(_0x1d9dd0),_0x5b50d4,!0x0,0x1/0x0);}export function getAttribute(_0x33b33a,_0x393308){const _0x1657b9=_0x2e60;return _0x33b33a&&_0x51db24(_0x33b33a)?_0x33b33a[_0x1657b9(0xe7)][_0x393308]:null;}export function setAttribute(_0x8ff616,_0x3c94f4,_0x52b6c8){const _0x4c6ec1=_0x2e60;_0x51db24(_0x8ff616)&&(null===_0x52b6c8?delete _0x8ff616[_0x4c6ec1(0xe7)][_0x3c94f4]:_0x8ff616[_0x4c6ec1(0xe7)][_0x3c94f4]=_0x52b6c8);}export function insertElement(_0x2c843b,_0x3aff22,_0x190594){const _0x5cf99f=_0x2e60,_0x118829=_0x3aff22[_0x5cf99f(0xe4)](!0x0);_0x5cf99f(0xdd)===_0x190594?_0x1cfc8b(_0x2c843b,_0x118829):_0x5cf99f(0xe8)===_0x190594?_0x3c1571(_0x2c843b,_0x118829):_0x5cf99f(0xda)===_0x190594?_0x5e7eb6(_0x2c843b,_0x118829):_0x5cf99f(0xec)===_0x190594&&_0x2977d9(_0x2c843b,_0x118829);}export function moveElement(_0x193736,_0x855715){_0x20287d(_0x193736),_0x356171(_0x855715,_0x193736);}export function clone(_0x482374){const _0x1b2570=_0x2e60;return _0x482374[_0x1b2570(0xe4)](!0x0);}export function getParents(_0x6fe1ce){const _0x36bbc5=_0x2e60,_0x2232aa=[];let _0x2a53bc=_0x6fe1ce;for(;_0x2a53bc;)_0x2a53bc=_0x3f95ca(_0x2a53bc),_0x2a53bc&&_0x2232aa[_0x36bbc5(0xe3)](_0x2a53bc);return _0x2232aa;}export function normalizeHTML(_0x4e25f4){const _0x4025=_0x2e60;return _0x4e25f4[_0x4025(0xe0)](/^\s+/gm,'')[_0x4025(0xe0)](/\s+$/gm,'')[_0x4025(0xe0)](/\n*/g,'')[_0x4025(0xe0)](/\s+/g,'\x20')[_0x4025(0xe0)](/>\s*</g,'><');}export function areNodesSame(_0x41b304,_0x251a3b){return normalizeHTML(serialize(_0x41b304))===normalizeHTML(serialize(_0x251a3b));}export function getNodeNestingLevel(_0x23dad8){const _0x43f231=_0x2e60;let _0x4fc4ea=0x0;for(;_0x23dad8[_0x43f231(0xd9)];)_0x23dad8=_0x23dad8[_0x43f231(0xd9)],_0x4fc4ea++;return _0x4fc4ea;}export function removeElementsAfter(_0x1be426){const _0x4409e3=_0x2e60,_0x525e03=[];let _0x362d63=_0x1be426[_0x4409e3(0xd4)];for(;_0x362d63;)_0x525e03[_0x4409e3(0xe3)](_0x362d63),_0x362d63=_0x362d63[_0x4409e3(0xd4)];_0x525e03[_0x4409e3(0xdf)](_0x3cb735=>{_0x20287d(_0x3cb735);});}function _0x2e60(_0x5dc2fe,_0x18a67e){const _0x29ced8=_0x29ce();return _0x2e60=function(_0x2e602a,_0x2c768a){_0x2e602a=_0x2e602a-0xd4;let _0x1ddc1a=_0x29ced8[_0x2e602a];return _0x1ddc1a;},_0x2e60(_0x5dc2fe,_0x18a67e);}export function getNodePath(_0x3e9a24){const _0x2064d3=_0x2e60;return[_0x3e9a24,...getParents(_0x3e9a24)][_0x2064d3(0xe1)](0x0,-0x1)[_0x2064d3(0xe2)](_0x5ea329=>{const _0x347d6f=_0x2064d3,_0x19461e=_0x3f95ca(_0x5ea329);return _0x1185ba(_0x19461e)[_0x347d6f(0xeb)](_0x5ea329);})[_0x2064d3(0xdb)]();}function _0x29ce(){const _0x9d209f=['nextSibling','8WyrFgN','5914615ufIlJX','8FUPJuT','6594063zZFLNz','parentNode','beforeend','reverse','3690940hGKvSX','beforebegin','5165361zgqfqM','forEach','replace','slice','map','push','cloneNode','3432402qiwhto','16198570GZbeHr','attribs','afterbegin','332560kRBEDV','6NcPuaE','indexOf','afterend'];_0x29ce=function(){return _0x9d209f;};return _0x29ce();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35eafd=_0x4a04;(function(_0x2ef118,_0x12713a){const _0x53bd25=_0x4a04,_0x598a1d=_0x2ef118();while(!![]){try{const _0x5caa83=-parseInt(_0x53bd25(0x81))/0x1*(parseInt(_0x53bd25(0xa6))/0x2)+parseInt(_0x53bd25(0x94))/0x3+parseInt(_0x53bd25(0xa7))/0x4+-parseInt(_0x53bd25(0x8c))/0x5*(-parseInt(_0x53bd25(0x9b))/0x6)+-parseInt(_0x53bd25(0xb1))/0x7+parseInt(_0x53bd25(0xb8))/0x8+-parseInt(_0x53bd25(0x80))/0x9;if(_0x5caa83===_0x12713a)break;else _0x598a1d['push'](_0x598a1d['shift']());}catch(_0x303f25){_0x598a1d['push'](_0x598a1d['shift']());}}}(_0x165d,0x75915));import _0x33cccb from'morphdom';import{NodeWithChildren as _0x2b1aae,Text as _0x29994f,Element as _0x29b305,isText as _0x3097ad,isDocument as _0x365d06,isTag as _0x5d29d2,cloneNode as _0x20eedc,getChildren as _0x1c5e71,prepend as _0x2d03c2,removeElement as _0x5736b9,textContent as _0x7f31e,render as _0x1314dd}from'./htmlparser.js';import{logWarning as _0x4689d7}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x35eafd(0xb0)];[_0x35eafd(0xa2)]=!0x1;[_0x35eafd(0xb4)]=null;[_0x35eafd(0x95)]=[];[_0x35eafd(0xb2)]=0x0;[_0x35eafd(0x96)]=null;constructor(_0x3865fe){const _0x4d358f=_0x35eafd;this[_0x4d358f(0xb0)]={'delay':_0x3865fe[_0x4d358f(0x9f)]??0x14,'textNodeStyle':_0x3865fe[_0x4d358f(0x92)],'onStreamUpdate':_0x3865fe[_0x4d358f(0x89)]||(()=>{})};}async[_0x35eafd(0xaa)]({document:_0x27548d,targetElement:_0x4cd2d5,abortSignal:_0x93bc47}){const _0x5c1c74=_0x35eafd;this[_0x5c1c74(0xa2)]&&this[_0x5c1c74(0x99)](),_0x93bc47?.[_0x5c1c74(0xb9)](_0x5c1c74(0xad),this[_0x5c1c74(0x99)][_0x5c1c74(0xa0)](this)),this[_0x5c1c74(0xb4)]=_0x20eedc(_0x27548d,!0x0),this[_0x5c1c74(0x95)]=this[_0x5c1c74(0x8b)](),this[_0x5c1c74(0xa2)]=!0x0,this[_0x5c1c74(0xb2)]>this[_0x5c1c74(0x95)][_0x5c1c74(0x83)]&&(_0x4689d7(_0x5c1c74(0x9d),{'currentIndex':this[_0x5c1c74(0xb2)],'nodeList':this[_0x5c1c74(0x95)]}),this[_0x5c1c74(0xb2)]=this[_0x5c1c74(0x95)][_0x5c1c74(0x83)]);for(let _0x401df2=0x0;_0x401df2<this[_0x5c1c74(0xb2)];_0x401df2++)this[_0x5c1c74(0x95)][_0x401df2][_0x5c1c74(0xa9)]=!0x0;let _0xac39d6=0x0;for(let _0x17d591=this[_0x5c1c74(0xb2)];_0x17d591<this[_0x5c1c74(0x95)][_0x5c1c74(0x83)];_0x17d591++){const _0x222449=Date[_0x5c1c74(0x88)](),_0x1271cd=this[_0x5c1c74(0x95)][_0x17d591],_0xc0cd0f=_0x222449-_0xac39d6;_0x1271cd[_0x5c1c74(0xa9)]=!0x0;let _0x25dddf=_0x1271cd[_0x5c1c74(0x8d)];for(;_0x25dddf;)_0x25dddf[_0x5c1c74(0xa9)]=!0x0,_0x25dddf=_0x25dddf[_0x5c1c74(0x8d)];if(_0xc0cd0f<this[_0x5c1c74(0xb0)][_0x5c1c74(0x9f)])try{const {promise:_0x3bcee2,abortController:_0x3b2c62}=pr(this[_0x5c1c74(0xb0)][_0x5c1c74(0x9f)]-_0xc0cd0f);this[_0x5c1c74(0x96)]=_0x3b2c62,await _0x3bcee2;}catch(_0xf1a223){return;}_0x33cccb(_0x4cd2d5,'<'+_0x4cd2d5[_0x5c1c74(0xb7)]+'>'+this[_0x5c1c74(0x85)](this[_0x5c1c74(0xb4)])+'</'+_0x4cd2d5[_0x5c1c74(0xb7)]+'>',{'childrenOnly':!0x0}),this[_0x5c1c74(0xb0)][_0x5c1c74(0x89)]&&this[_0x5c1c74(0xb0)][_0x5c1c74(0x89)](),this[_0x5c1c74(0xb2)]=_0x17d591,_0xac39d6=Date[_0x5c1c74(0x88)]();}this[_0x5c1c74(0xa2)]=!0x1;}[_0x35eafd(0x9e)]({targetElement:_0x5a3a6d}){const _0x863c47=_0x35eafd;Array[_0x863c47(0x97)](_0x5a3a6d[_0x863c47(0xa5)](_0x863c47(0x98)))[_0x863c47(0x9c)]()[_0x863c47(0x9a)](_0x54729a=>{const _0x452d90=_0x863c47;_0x54729a[_0x452d90(0xa4)](_0x54729a[_0x452d90(0xab)][0x0]);});}[_0x35eafd(0x99)](){const _0x699664=_0x35eafd;this[_0x699664(0xa2)]=!0x1,this[_0x699664(0x96)]&&(this[_0x699664(0x96)][_0x699664(0xad)](),this[_0x699664(0x96)]=null);}[_0x35eafd(0x85)](_0x30b337){const _0x90c59=_0x35eafd;let _0x41c724='';if(function(_0x407b36){return _0x365d06(_0x407b36);}(_0x30b337)){for(const _0x5a6375 of _0x30b337[_0x90c59(0x82)])_0x41c724+=this[_0x90c59(0x85)](_0x5a6375);}else{if(dr(_0x30b337)){if(!_0x30b337[_0x90c59(0xa9)])return'';const _0x3d8f1d=_0x30b337,_0x23ac34=Object[_0x90c59(0xa8)](_0x3d8f1d[_0x90c59(0xb3)])[_0x90c59(0x8e)](([_0x3e8c96,_0x52503])=>_0x3e8c96+'=\x22'+_0x52503+'\x22')[_0x90c59(0xa1)]('\x20');_0x41c724+='<'+_0x3d8f1d[_0x90c59(0xb7)]+(_0x23ac34?'\x20'+_0x23ac34:'')+'>';for(const _0x3a6f67 of _0x1c5e71(_0x3d8f1d))_0x41c724+=this[_0x90c59(0x85)](_0x3a6f67);_0x41c724+='</'+_0x3d8f1d[_0x90c59(0xb7)]+'>';}else{if(!ar(_0x30b337))return'';if(!_0x30b337[_0x90c59(0xa9)])return'';!function(_0x558583){const _0x28cd30=_0x90c59;if(!_0x558583[_0x28cd30(0x8d)]||!dr(_0x558583[_0x28cd30(0x8d)]))return!0x1;if(!cr[_0x28cd30(0x86)](_0x558583[_0x28cd30(0x8d)][_0x28cd30(0xb7)]))return!0x1;return!_0x7f31e(_0x558583)[_0x28cd30(0x7e)](/^\s*[<>]\s*$/);}(_0x30b337)?_0x41c724+=_0x1314dd(_0x30b337):_0x41c724+=_0x1314dd(new _0x29b305(_0x90c59(0x93),{'data-ck-html-streamer-word-chunk':'','style':this[_0x90c59(0xb0)][_0x90c59(0x92)]},[_0x30b337]));}}return _0x41c724;}[_0x35eafd(0x8b)](){const _0x590f87=_0x35eafd,_0x5787f9=[];return function(_0x32b967,_0x5110d3){const _0x3bfc0d=_0x4a04,_0x59c1a7=_0x4a046f=>{const _0x3246b7=_0x4a04;if(_0x5110d3(_0x4a046f),_0x4a046f instanceof _0x2b1aae)for(let _0x3e4c6c=0x0;_0x3e4c6c<_0x4a046f[_0x3246b7(0x82)][_0x3246b7(0x83)];_0x3e4c6c++){const _0x36f872=_0x4a046f[_0x3246b7(0x82)][_0x3e4c6c];_0x59c1a7(_0x36f872);}};for(let _0x7eb30e=0x0;_0x7eb30e<_0x32b967[_0x3bfc0d(0x82)][_0x3bfc0d(0x83)];_0x7eb30e++)_0x59c1a7(_0x32b967[_0x3bfc0d(0x82)][_0x7eb30e]);}(this[_0x590f87(0xb4)],_0x31dfcb=>{const _0x442042=_0x590f87;if(ar(_0x31dfcb)){const _0x51de93=this[_0x442042(0x8f)](_0x31dfcb);_0x51de93[_0x442042(0x83)]&&_0x5787f9[_0x442042(0xaf)](..._0x51de93);}_0x31dfcb[_0x442042(0xb5)]||_0x31dfcb[_0x442042(0xb6)]||_0x5787f9[_0x442042(0xaf)](_0x31dfcb);}),_0x5787f9;}[_0x35eafd(0x8f)](_0x58bd64){const _0x5deab0=_0x35eafd;if(_0x58bd64[_0x5deab0(0xb5)]||_0x58bd64[_0x5deab0(0xb6)])return[];const _0x55ec3c=_0x7f31e(_0x58bd64)[_0x5deab0(0x7e)](/(?:\s*\S+\s*)/g),_0x1bfae4=[];if(_0x55ec3c&&_0x55ec3c[_0x5deab0(0x83)]>0x1){for(const _0x13cccb of _0x55ec3c){const _0x5c30d9=new _0x29994f(_0x13cccb);_0x5c30d9[_0x5deab0(0xb6)]=!0x0,_0x2d03c2(_0x58bd64,_0x5c30d9),_0x1bfae4[_0x5deab0(0xaf)](_0x5c30d9);}_0x58bd64[_0x5deab0(0xb5)]=!0x0,_0x5736b9(_0x58bd64);}return _0x1bfae4;}}const cr=['p','li','td','th',_0x35eafd(0x93),'h1','h2','h3','h4','h5','h6','b',_0x35eafd(0x8a),'i','em',_0x35eafd(0x7f),_0x35eafd(0x90),_0x35eafd(0x91),_0x35eafd(0x84),_0x35eafd(0xa3),'a',_0x35eafd(0xac),_0x35eafd(0x87)];function _0x165d(){const _0x3c5276=['attribs','document','isWordSplitSource','isWordSplitResult','tagName','7532344ScJbDN','addEventListener','match','mark','12505743sLFvnf','213ToOYNg','children','length','sup','renderNode','includes','div','now','onStreamUpdate','strong','getParsedDocumentNodeList','2099815gPCtgO','parent','map','splitTextNodeIntoWordNodes','del','ins','textNodeStyle','span','2080629zQzoJA','nodesList','timeoutAbortController','from','span[data-ck-html-streamer-word-chunk]','stop','forEach','6BGbtRE','reverse','ai-html-streamer-current-index-out-of-bounds','cleanUpAnimations','delay','bind','join','isStreaming','sub','replaceWith','querySelectorAll','1642BAxqCv','685704xtbmWk','entries','shouldBeStreamed','stream','childNodes','code','abort','signal','push','options','1263626OHKBio','currentIndex'];_0x165d=function(){return _0x3c5276;};return _0x165d();}function ar(_0x1fd527){return _0x3097ad(_0x1fd527);}function _0x4a04(_0x42dc20,_0x1fa6b1){const _0x165d14=_0x165d();return _0x4a04=function(_0x4a045d,_0x2f46c6){_0x4a045d=_0x4a045d-0x7e;let _0x2a0c5e=_0x165d14[_0x4a045d];return _0x2a0c5e;},_0x4a04(_0x42dc20,_0x1fa6b1);}function dr(_0x366d2e){return _0x5d29d2(_0x366d2e);}function pr(_0x1ac950){const _0x399231=new AbortController();return{'promise':new Promise((_0xcff079,_0x4e35fe)=>{const _0x8f5ed7=_0x4a04,_0x44015b=setTimeout(_0xcff079,_0x1ac950);_0x399231[_0x8f5ed7(0xae)][_0x8f5ed7(0xb9)](_0x8f5ed7(0xad),()=>{clearTimeout(_0x44015b),_0x4e35fe();});}),'abortController':_0x399231};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xc845(){const _0x77bc0f=['type','Home','2644270hcYWhj','signal','stop','touchstart','bind','scrollTo','auto','45BjvEIP','key','addEventListener','animationFrameId','61229UCmTxE','_rafUpdate','8156XlNnCZ','PageDown','isRunning','106190KNLSfp','_onUserEvent','keydown','deltaY','ArrowUp','21uCtuwg','End','2694320xocluF','1942228mLiUxm','element','3126414sHcbgj','ArrowDown','PageUp','360KGObQg','start','isUserPaused','destroy','pointerdown','_stop','_isAtBottom','includes','wheel','abortController','scrollHeight','abort'];_0xc845=function(){return _0x77bc0f;};return _0xc845();}function _0x51c9(_0x3e259c,_0x179967){const _0xc8455e=_0xc845();return _0x51c9=function(_0x51c910,_0x430e18){_0x51c910=_0x51c910-0x1cd;let _0x445af4=_0xc8455e[_0x51c910];return _0x445af4;},_0x51c9(_0x3e259c,_0x179967);}const _0x3f35b6=_0x51c9;(function(_0x32b4d2,_0x2625c9){const _0x5bab94=_0x51c9,_0x50f2e5=_0x32b4d2();while(!![]){try{const _0x3f0ef1=-parseInt(_0x5bab94(0x1e6))/0x1+-parseInt(_0x5bab94(0x1e3))/0x2*(-parseInt(_0x5bab94(0x1eb))/0x3)+-parseInt(_0x5bab94(0x1ee))/0x4+parseInt(_0x5bab94(0x1ed))/0x5+-parseInt(_0x5bab94(0x1f0))/0x6+-parseInt(_0x5bab94(0x1e1))/0x7*(parseInt(_0x5bab94(0x1f3))/0x8)+-parseInt(_0x5bab94(0x1dd))/0x9*(-parseInt(_0x5bab94(0x1d6))/0xa);if(_0x3f0ef1===_0x2625c9)break;else _0x50f2e5['push'](_0x50f2e5['shift']());}catch(_0x103b1c){_0x50f2e5['push'](_0x50f2e5['shift']());}}}(_0xc845,0x5d88a));const ws=[_0x3f35b6(0x1d0),_0x3f35b6(0x1d9),_0x3f35b6(0x1f7),_0x3f35b6(0x1e8)],Fs=[_0x3f35b6(0x1ea),_0x3f35b6(0x1f1),_0x3f35b6(0x1f2),_0x3f35b6(0x1e4),_0x3f35b6(0x1d5),_0x3f35b6(0x1ec),'\x20'];export class ScrollManager{[_0x3f35b6(0x1ef)];[_0x3f35b6(0x1e0)];[_0x3f35b6(0x1e5)];[_0x3f35b6(0x1d1)];[_0x3f35b6(0x1f5)];constructor(_0x114651){const _0x2e95e8=_0x3f35b6;this[_0x2e95e8(0x1ef)]=_0x114651,this[_0x2e95e8(0x1e0)]=null,this[_0x2e95e8(0x1e5)]=!0x1,this[_0x2e95e8(0x1d1)]=new AbortController(),this[_0x2e95e8(0x1f5)]=!0x1;for(const _0x1d924f of ws){const _0x526170=_0x2e95e8(0x1e8)!==_0x1d924f;this[_0x2e95e8(0x1ef)][_0x2e95e8(0x1df)](_0x1d924f,this[_0x2e95e8(0x1e7)][_0x2e95e8(0x1da)](this),{'passive':_0x526170,'signal':this[_0x2e95e8(0x1d1)][_0x2e95e8(0x1d7)]});}}[_0x3f35b6(0x1f4)](){const _0x297062=_0x3f35b6;this[_0x297062(0x1e5)]||(this[_0x297062(0x1e5)]=!0x0,this[_0x297062(0x1f5)]=!0x1,this[_0x297062(0x1e0)]=requestAnimationFrame(this[_0x297062(0x1e2)][_0x297062(0x1da)](this)));}[_0x3f35b6(0x1d8)](){requestAnimationFrame(()=>{const _0x298a21=_0x51c9;this[_0x298a21(0x1cd)]();});}[_0x3f35b6(0x1f6)](){const _0x19de68=_0x3f35b6;this[_0x19de68(0x1cd)](),this[_0x19de68(0x1d1)][_0x19de68(0x1d3)]();}[_0x3f35b6(0x1cd)](){const _0x1495c1=_0x3f35b6;null!==this[_0x1495c1(0x1e0)]&&(cancelAnimationFrame(this[_0x1495c1(0x1e0)]),this[_0x1495c1(0x1e0)]=null),this[_0x1495c1(0x1e5)]&&(this[_0x1495c1(0x1e5)]=!0x1),this[_0x1495c1(0x1f5)]=!0x1;}[_0x3f35b6(0x1e7)](_0x3f3399){const _0x3358cd=_0x3f35b6;if(this[_0x3358cd(0x1e5)]){if(_0x3358cd(0x1e8)===_0x3f3399[_0x3358cd(0x1d4)]){const _0x527024=_0x3f3399[_0x3358cd(0x1de)];if(!Fs[_0x3358cd(0x1cf)](_0x527024))return;}_0x3f3399 instanceof WheelEvent?_0x3f3399[_0x3358cd(0x1e9)]<0x0?this[_0x3358cd(0x1f5)]=!0x0:this[_0x3358cd(0x1f5)]=!this[_0x3358cd(0x1ce)]():this[_0x3358cd(0x1f5)]=!0x0;}}[_0x3f35b6(0x1ce)](){const _0x1ff4c2=_0x3f35b6,{scrollTop:_0x50beb6,scrollHeight:_0x25946a,clientHeight:_0x240c01}=this[_0x1ff4c2(0x1ef)];return _0x25946a-_0x50beb6-_0x240c01<=0x5;}[_0x3f35b6(0x1e2)](){const _0x66e2a9=_0x3f35b6;this[_0x66e2a9(0x1e5)]&&(this[_0x66e2a9(0x1f5)]||this[_0x66e2a9(0x1ef)][_0x66e2a9(0x1db)]({'top':this[_0x66e2a9(0x1ef)][_0x66e2a9(0x1d2)],'behavior':_0x66e2a9(0x1dc)}),this[_0x66e2a9(0x1e0)]=requestAnimationFrame(this[_0x66e2a9(0x1e2)][_0x66e2a9(0x1da)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x241b(){var _0x494e83=['112ahpoQG','1042317WRnojP','2Zlervs','8014788RPpZJZ','4xOxOuS','113561kNPLjg','isPremiumPlugin','105YpHWYH','171128ChftJn','pluginName','10iCpNbf','AIEditorIntegration','isOfficialPlugin','888063FsdalL','requires','73296HwisTC','177702MphuCG'];_0x241b=function(){return _0x494e83;};return _0x241b();}function _0x2141(_0x53ca59,_0x2fd0a9){var _0x241bce=_0x241b();return _0x2141=function(_0x2141ec,_0x4718bc){_0x2141ec=_0x2141ec-0x148;var _0x3200f1=_0x241bce[_0x2141ec];return _0x3200f1;},_0x2141(_0x53ca59,_0x2fd0a9);}var _0x3409ed=_0x2141;(function(_0x333ff3,_0x17ae17){var _0x30e452=_0x2141,_0x15d072=_0x333ff3();while(!![]){try{var _0x3d1836=-parseInt(_0x30e452(0x14d))/0x1*(parseInt(_0x30e452(0x14a))/0x2)+-parseInt(_0x30e452(0x158))/0x3*(parseInt(_0x30e452(0x14c))/0x4)+-parseInt(_0x30e452(0x14f))/0x5*(-parseInt(_0x30e452(0x157))/0x6)+-parseInt(_0x30e452(0x148))/0x7*(parseInt(_0x30e452(0x150))/0x8)+parseInt(_0x30e452(0x149))/0x9*(-parseInt(_0x30e452(0x152))/0xa)+-parseInt(_0x30e452(0x155))/0xb+parseInt(_0x30e452(0x14b))/0xc;if(_0x3d1836===_0x17ae17)break;else _0x15d072['push'](_0x15d072['shift']());}catch(_0x1cd5bf){_0x15d072['push'](_0x15d072['shift']());}}}(_0x241b,0x33f66));import{Plugin as _0x11660b}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x45697c}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x4b8de4}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x11660b{static get[_0x3409ed(0x156)](){return[_0x45697c,_0x4b8de4];}static get[_0x3409ed(0x151)](){var _0x437e6e=_0x3409ed;return _0x437e6e(0x153);}static get[_0x3409ed(0x154)](){return!0x0;}static get[_0x3409ed(0x14e)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x370358=_0x47db;function _0x47db(_0x14e40b,_0x2ed049){const _0x46251b=_0x4625();return _0x47db=function(_0x47dba9,_0x4ad445){_0x47dba9=_0x47dba9-0x74;let _0x21b8ce=_0x46251b[_0x47dba9];return _0x21b8ce;},_0x47db(_0x14e40b,_0x2ed049);}(function(_0x525e00,_0x5bf53d){const _0x136a24=_0x47db,_0x1a471a=_0x525e00();while(!![]){try{const _0x20a41f=parseInt(_0x136a24(0x7e))/0x1+-parseInt(_0x136a24(0x90))/0x2+-parseInt(_0x136a24(0x7b))/0x3*(-parseInt(_0x136a24(0x91))/0x4)+parseInt(_0x136a24(0x89))/0x5*(-parseInt(_0x136a24(0x94))/0x6)+-parseInt(_0x136a24(0x77))/0x7*(parseInt(_0x136a24(0x96))/0x8)+parseInt(_0x136a24(0x74))/0x9*(-parseInt(_0x136a24(0x83))/0xa)+-parseInt(_0x136a24(0x7c))/0xb*(-parseInt(_0x136a24(0x92))/0xc);if(_0x20a41f===_0x5bf53d)break;else _0x1a471a['push'](_0x1a471a['shift']());}catch(_0x19cae7){_0x1a471a['push'](_0x1a471a['shift']());}}}(_0x4625,0x4e67f));import{Plugin as _0x2d0a07}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x403256}from'./toggleaicommand.js';import{ButtonView as _0x2e207c,MenuBarMenuListItemButtonView as _0x1dac5a}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x5916f5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1ec051}from'../../aicore/utils/common-translations.js';import{AITabs as _0x3f4906}from'../../aitabs/aitabs.js';function _0x4625(){const _0x2ccc36=['commands','menuitemcheckbox','615120ClPPma','193868iMyJdp','12WVjIgB','AIToggleButtonUI','6lMzBPW','pluginName','2531216wVUJNb','_createAIUIButton','get','462339ELoRex','add','isPremiumPlugin','14gUyDHx','bind','isEnabled','listenTo','33hiQiOm','16507711KbFZHO','value','84689RJkKNu','editor','isOn','set','AI_TOGGLE_BUTTON_LABEL','70wllGnp','requires','init','toggleAi','execute','menuBar:toggleAi','2487075lQoXan','ck-ai-toggle-button','locale','isOfficialPlugin','componentFactory'];_0x4625=function(){return _0x2ccc36;};return _0x4625();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x2d0a07{static get[_0x370358(0x84)](){return[_0x3f4906];}static get[_0x370358(0x95)](){const _0x29d2d9=_0x370358;return _0x29d2d9(0x93);}static get[_0x370358(0x8c)](){return!0x0;}static get[_0x370358(0x76)](){return!0x0;}[_0x370358(0x85)](){const _0x131168=_0x370358,_0x26bfeb=this[_0x131168(0x7f)];_0x26bfeb[_0x131168(0x8e)][_0x131168(0x75)](_0x131168(0x86),new _0x403256(_0x26bfeb)),_0x26bfeb['ui'][_0x131168(0x8d)][_0x131168(0x75)](_0x131168(0x86),()=>{const _0x3d5359=_0x131168,_0x42c19c=this[_0x3d5359(0x97)](_0x2e207c);return _0x42c19c[_0x3d5359(0x81)]({'tooltip':!0x0,'class':_0x3d5359(0x8a)}),_0x42c19c;}),_0x26bfeb['ui'][_0x131168(0x8d)][_0x131168(0x75)](_0x131168(0x88),()=>{const _0x59ce1f=_0x131168,_0x315e30=this[_0x59ce1f(0x97)](_0x1dac5a);return _0x315e30[_0x59ce1f(0x81)]({'role':_0x59ce1f(0x8f)}),_0x315e30;});}[_0x370358(0x97)](_0x1d3aa2){const _0x55bb1c=_0x370358,_0x40edb5=this[_0x55bb1c(0x7f)],_0xe2e02b=_0x40edb5[_0x55bb1c(0x8e)][_0x55bb1c(0x98)](_0x55bb1c(0x86)),_0x2f4f28=new _0x1d3aa2(_0x40edb5[_0x55bb1c(0x8b)]);return _0x2f4f28[_0x55bb1c(0x81)]({'label':_0x1ec051(_0x40edb5[_0x55bb1c(0x8b)],_0x55bb1c(0x82)),'icon':_0x5916f5,'isToggleable':!0x0}),_0x2f4f28[_0x55bb1c(0x78)](_0x55bb1c(0x79))['to'](_0xe2e02b),_0x2f4f28[_0x55bb1c(0x78)](_0x55bb1c(0x80))['to'](_0xe2e02b,_0x55bb1c(0x7d),_0x4142eb=>!!_0x4142eb),this[_0x55bb1c(0x7a)](_0x2f4f28,_0x55bb1c(0x87),()=>{const _0x4a79e8=_0x55bb1c;_0xe2e02b[_0x4a79e8(0x87)]();}),_0x2f4f28;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c0533=_0x523c;function _0x1c3d(){const _0x3ccc93=['1686474VXnxjp','get','execute','bind','isVisible','AITabs','2jkKqGe','isEnabled','99030gUENZK','44ORrRrd','516eWQeMM','plugins','8tmbJkC','3826963FIsyBg','125MthmSS','editor','value','148668dFqSAC','70353LpyQwU','view','71809AZxfHF','330242tkdacW','10KrlRxG'];_0x1c3d=function(){return _0x3ccc93;};return _0x1c3d();}(function(_0x1c3423,_0x3934b5){const _0x2898a1=_0x523c,_0x9b3677=_0x1c3423();while(!![]){try{const _0x337afb=parseInt(_0x2898a1(0xf5))/0x1*(-parseInt(_0x2898a1(0xfe))/0x2)+-parseInt(_0x2898a1(0xf3))/0x3*(parseInt(_0x2898a1(0x101))/0x4)+parseInt(_0x2898a1(0xef))/0x5*(parseInt(_0x2898a1(0x100))/0x6)+-parseInt(_0x2898a1(0xee))/0x7*(-parseInt(_0x2898a1(0x104))/0x8)+-parseInt(_0x2898a1(0xf8))/0x9*(-parseInt(_0x2898a1(0xf7))/0xa)+-parseInt(_0x2898a1(0xf6))/0xb+parseInt(_0x2898a1(0x102))/0xc*(-parseInt(_0x2898a1(0xf2))/0xd);if(_0x337afb===_0x3934b5)break;else _0x9b3677['push'](_0x9b3677['shift']());}catch(_0x53362b){_0x9b3677['push'](_0x9b3677['shift']());}}}(_0x1c3d,0x4810c));import{Command as _0x4a5aa2}from'ckeditor5/src/core.js';function _0x523c(_0x5decb7,_0x547eb9){const _0x1c3d5e=_0x1c3d();return _0x523c=function(_0x523c9c,_0x3ad72f){_0x523c9c=_0x523c9c-0xee;let _0x3dd997=_0x1c3d5e[_0x523c9c];return _0x3dd997;},_0x523c(_0x5decb7,_0x547eb9);}export class ToggleAICommand extends _0x4a5aa2{constructor(_0x8c80c0){const _0xa34bfc=_0x523c;super(_0x8c80c0);const _0xcc5699=_0x8c80c0[_0xa34bfc(0x103)][_0xa34bfc(0xf9)](_0xa34bfc(0xfd))[_0xa34bfc(0xf4)];this[_0xa34bfc(0xfb)](_0xa34bfc(0xf1))['to'](_0xcc5699,_0xa34bfc(0xfc)),this[_0xa34bfc(0xff)]=!0x0;}[_0x1c0533(0xfa)](){const _0x36ae29=_0x1c0533,_0x3345cf=this[_0x36ae29(0xf0)][_0x36ae29(0x103)][_0x36ae29(0xf9)](_0x36ae29(0xfd))[_0x36ae29(0xf4)];_0x3345cf[_0x36ae29(0xfc)]=!_0x3345cf[_0x36ae29(0xfc)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5e9b(){var _0x17f686=['requires','isPremiumPlugin','define','pluginName','840tKqQCy','5sLxNhG','4280FHWuXu','426064vQLSdZ','545394gzVBbf','config','16504PAjeJR','1435KSjkvx','26550quOVxi','isOfficialPlugin','ai.quickActions','898641hJlkCQ','AIQuickActions','718316LLzJrj'];_0x5e9b=function(){return _0x17f686;};return _0x5e9b();}var _0x334a47=_0x227d;(function(_0x34a28d,_0x315f26){var _0x3bdc53=_0x227d,_0x3ee805=_0x34a28d();while(!![]){try{var _0x2d2684=-parseInt(_0x3bdc53(0x161))/0x1+-parseInt(_0x3bdc53(0x164))/0x2+-parseInt(_0x3bdc53(0x15a))/0x3+-parseInt(_0x3bdc53(0x15c))/0x4+-parseInt(_0x3bdc53(0x162))/0x5*(-parseInt(_0x3bdc53(0x153))/0x6)+-parseInt(_0x3bdc53(0x156))/0x7*(parseInt(_0x3bdc53(0x155))/0x8)+parseInt(_0x3bdc53(0x157))/0x9*(parseInt(_0x3bdc53(0x163))/0xa);if(_0x2d2684===_0x315f26)break;else _0x3ee805['push'](_0x3ee805['shift']());}catch(_0x4c47c4){_0x3ee805['push'](_0x3ee805['shift']());}}}(_0x5e9b,0x3a012));import{Plugin as _0x1ba35a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0xb70250}from'./aiquickactionsui.js';function _0x227d(_0x1b7c12,_0x31d53c){var _0x5e9b6f=_0x5e9b();return _0x227d=function(_0x227d4d,_0x239788){_0x227d4d=_0x227d4d-0x153;var _0x138c33=_0x5e9b6f[_0x227d4d];return _0x138c33;},_0x227d(_0x1b7c12,_0x31d53c);}import{AIQuickActionsEditing as _0x382042}from'./aiquickactionsediting.js';import{AIActions as _0x2f620a}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x1ba35a{static get[_0x334a47(0x15d)](){return[_0xb70250,_0x382042,_0x2f620a];}static get[_0x334a47(0x160)](){var _0x5089b7=_0x334a47;return _0x5089b7(0x15b);}static get[_0x334a47(0x158)](){return!0x0;}static get[_0x334a47(0x15e)](){return!0x0;}constructor(_0x1ad326){var _0x5e59d9=_0x334a47;super(_0x1ad326),_0x1ad326[_0x5e59d9(0x154)][_0x5e59d9(0x15f)](_0x5e59d9(0x159),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|