@ckeditor/ckeditor5-ai 47.1.0-alpha.0 → 47.1.0-alpha.2
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 +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 +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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.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/aichat/utils/scrollmanager.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 +1 -1
- 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/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/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/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/aireviewmodels.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/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/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x151398=_0x5190;(function(_0x481c9d,_0x459351){const _0x35d8e9=_0x5190,_0x2d649c=_0x481c9d();while(!![]){try{const _0xeb1264=-parseInt(_0x35d8e9(0x1bb))/0x1+parseInt(_0x35d8e9(0x1fb))/0x2*(-parseInt(_0x35d8e9(0x234))/0x3)+parseInt(_0x35d8e9(0x1db))/0x4+-parseInt(_0x35d8e9(0x223))/0x5*(parseInt(_0x35d8e9(0x1ab))/0x6)+-parseInt(_0x35d8e9(0x1eb))/0x7+parseInt(_0x35d8e9(0x1c7))/0x8+-parseInt(_0x35d8e9(0x218))/0x9*(-parseInt(_0x35d8e9(0x1cc))/0xa);if(_0xeb1264===_0x459351)break;else _0x2d649c['push'](_0x2d649c['shift']());}catch(_0x37654d){_0x2d649c['push'](_0x2d649c['shift']());}}}(_0x510e,0x989ff));import{IconAIAdjustLength as _0x29d754,IconAIAskAI as _0x4d51de,IconAIChangeTone as _0x4eeeea,IconAIChatCommands as _0x3e566e,IconAIContinueWriting as _0x5e9582,IconAIGrammarCheck as _0xf5af29,IconAIImproveWriting as _0x4f7796,IconAIOther as _0xcc8f9f,IconAIQuickActions as _0x504ab7,IconAITranslate as _0x41ce61}from'@ckeditor/ckeditor5-icons';function _0x510e(){const _0x1a14e3=['AI_QUICK_ACTIONS_SUMMARIZE','AI_QUICK_ACTIONS_ASK_AI','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','icon','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','menu','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','config','french','japanese','panelView','732072vhvtiG','ask-ai','English','AI_QUICK_ACTIONS_IMPROVE_WRITING','requires','10VOriKO','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','language','make-tone-confident','map','aiQuickActions','translate-to-japanese','translate-to-spanish','view','_initializeQuickActionsComponents','includes','make-longer','values','spanish','2091632bnClen','adjust-length','AI_QUICK_ACTIONS_MORE_DIRECT','ACTION','highlight-key-points','label','_getDefaultAndCustomActions','translate-to-english','_shouldIncludeAction','isOfficialPlugin','translate-to-russian','translate-to-portuguese','translate-to-french','buttonView','focus','actions','4610410NqVYMF','get','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','german','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','filter','korean','menuitem','AI_QUICK_ACTIONS_MAKE_SHORTER','make-tone-friendly','translate','length','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_MAKE_LONGER','locale','1529962HbPylv','children','_initializeQuickActionsMenuBar','editing','improve-writing','displayedPrompt','fix-grammar','replace','delegate','italian','make-tone-direct','pluginName','componentFactory','commands','russian','init','aiQuickAction','portuguese','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AIReviewMode','uiLanguage','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_CONTINUE_WRITING','explain','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_HEADING','_prepareQuickActionsDefinition','set','23750289PFLEBO','_quickActionsDefinition','chat-commands','has','attachToDom','DisplayNames','add','chinese','_executeQuickAction','translate-to-chinese','getDefaultQuickActions','45tZrIEb','continue','items','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_CHAT_COMMANDS','english','some','editor','make-shorter','change-tone','execute','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_ADJUST_LENGTH','AIActions','3mdSmKi','translate-to-italian','AIChat','push','other','translate-to-korean','forEach','close','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_MORE_CONFIDENT','type','plugins','menuBar:aiQuickActions','AI_QUICK_ACTIONS_OTHER','summarize','576210nnmftM','AIQuickActionsUI','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','ai.quickActions.extraCommands','make-tone-professional','find','make-tone-casual','menuBarView','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','CHAT','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_EXPLAIN','isPremiumPlugin','translate-to-german','340261nwVVMi'];_0x510e=function(){return _0x1a14e3;};return _0x510e();}import{Plugin as _0x4a7df5}from'ckeditor5/src/core.js';import{getTranslation as _0x370370}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x28c9a1}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1964cd}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x42ef4c,BalloonToolbar as _0x26354e,MenuBarMenuView as _0x58ccf3,MenuBarMenuListView as _0x526598,MenuBarMenuListItemView as _0x1015e2,MenuBarMenuListItemButtonView as _0x58963d}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Jt=_0x151398(0x214),Vt=_0x151398(0x23c),Xt=_0x151398(0x1be);export var AIQuickActionType;!function(_0x3591af){const _0x17fe37=_0x151398;_0x3591af[_0x17fe37(0x1b6)]=_0x17fe37(0x1b6),_0x3591af[_0x17fe37(0x1de)]=_0x17fe37(0x1de),_0x3591af[_0x17fe37(0x1ae)]=_0x17fe37(0x1ae);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0x5190(_0xb5e85a,_0x13bfb0){const _0x510eaf=_0x510e();return _0x5190=function(_0x51901d,_0x135c4f){_0x51901d=_0x51901d-0x1a8;let _0x25d545=_0x510eaf[_0x51901d];return _0x25d545;},_0x5190(_0xb5e85a,_0x13bfb0);}!function(_0x57392c){const _0x39a504=_0x151398;_0x57392c[_0x39a504(0x1b6)]=_0x39a504(0x236),_0x57392c[_0x39a504(0x1de)]=_0x39a504(0x233),_0x57392c[_0x39a504(0x1ae)]=_0x39a504(0x20e);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x4a7df5{static get[_0x151398(0x1cb)](){return[_0x26354e];}static get[_0x151398(0x206)](){const _0x16f755=_0x151398;return _0x16f755(0x1ac);}static get[_0x151398(0x1e4)](){return!0x0;}static get[_0x151398(0x1b9)](){return!0x0;}[_0x151398(0x20a)](){const _0x345cd1=_0x151398;this[_0x345cd1(0x216)](this[_0x345cd1(0x1e1)]()),this[_0x345cd1(0x230)]();}static[_0x151398(0x222)](_0x4abc20){return function(_0x48ab26){const _0x489c86=_0x5190,_0x31a6e6=new Intl[(_0x489c86(0x21d))](['en'],{'type':_0x489c86(0x1cf)})['of'](_0x48ab26[_0x489c86(0x20f)]),_0x2643fc=_0x31a6e6||_0x489c86(0x1c9),_0x1ba8eb=[{'id':_0x489c86(0x1c8),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1bd)),'type':AIQuickActionType[_0x489c86(0x1b6)],'icon':_0x4d51de},{'id':_0x489c86(0x21a),'label':_0x370370(_0x48ab26,_0x489c86(0x229)),'icon':_0x3e566e,'actions':[{'id':_0x489c86(0x212),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1b8)),'prompt':Jt[_0x489c86(0x202)]('%0',_0x2643fc),'type':AIQuickActionType[_0x489c86(0x1b6)]},{'id':_0x489c86(0x1aa),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1bc)),'prompt':Vt[_0x489c86(0x202)]('%0',_0x2643fc),'type':AIQuickActionType[_0x489c86(0x1b6)]},{'id':_0x489c86(0x1df),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1b5)),'prompt':Xt[_0x489c86(0x202)]('%0',_0x2643fc),'type':AIQuickActionType[_0x489c86(0x1b6)]}]},{'id':_0x489c86(0x1ff),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1ca)),'type':AIQuickActionType[_0x489c86(0x1de)],'icon':_0x4f7796},{'id':_0x489c86(0x224),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x211)),'type':AIQuickActionType[_0x489c86(0x1de)],'icon':_0x5e9582},{'id':_0x489c86(0x201),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1c2)),'type':AIQuickActionType[_0x489c86(0x1de)],'icon':_0xf5af29},{'id':_0x489c86(0x1dc),'label':_0x370370(_0x48ab26,_0x489c86(0x232)),'icon':_0x29d754,'actions':[{'id':_0x489c86(0x22d),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1f4)),'type':AIQuickActionType[_0x489c86(0x1de)]},{'id':_0x489c86(0x1d8),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1f9)),'type':AIQuickActionType[_0x489c86(0x1de)]}]},{'id':_0x489c86(0x22e),'label':_0x370370(_0x48ab26,_0x489c86(0x1f8)),'icon':_0x4eeeea,'actions':[{'id':_0x489c86(0x1b3),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1b7)),'type':AIQuickActionType[_0x489c86(0x1de)]},{'id':_0x489c86(0x205),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1dd)),'type':AIQuickActionType[_0x489c86(0x1de)]},{'id':_0x489c86(0x1f5),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1ef)),'type':AIQuickActionType[_0x489c86(0x1de)]},{'id':_0x489c86(0x1d0),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x23d)),'type':AIQuickActionType[_0x489c86(0x1de)]},{'id':_0x489c86(0x1b1),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x213)),'type':AIQuickActionType[_0x489c86(0x1de)]}]},{'id':_0x489c86(0x1f6),'label':_0x370370(_0x48ab26,_0x489c86(0x228)),'icon':_0x41ce61,'actions':[{'id':_0x489c86(0x1e2),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1ad)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x22a)}},{'id':_0x489c86(0x221),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x227)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x21f)}},{'id':_0x489c86(0x1d4),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1c0)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x1da)}},{'id':_0x489c86(0x1ba),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1f0)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x1ee)}},{'id':_0x489c86(0x1e7),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x20d)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x1c4)}},{'id':_0x489c86(0x1d3),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1af)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x1c5)}},{'id':_0x489c86(0x1e6),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1ce)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x20c)}},{'id':_0x489c86(0x239),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x1ed)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x1f2)}},{'id':_0x489c86(0x235),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x210)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x204)}},{'id':_0x489c86(0x1e5),'displayedPrompt':_0x370370(_0x48ab26,_0x489c86(0x231)),'type':AIQuickActionType[_0x489c86(0x1de)],'actionName':_0x489c86(0x1f6),'args':{'language':_0x489c86(0x209)}}]},{'id':_0x489c86(0x238),'label':_0x370370(_0x48ab26,_0x489c86(0x1a9)),'icon':_0xcc8f9f,'actions':[]}];return _0x1ba8eb;}(_0x4abc20);}[_0x151398(0x1e1)](){const _0x2638e6=_0x151398,_0x173ef6=AIQuickActionsUI[_0x2638e6(0x222)](this[_0x2638e6(0x22c)][_0x2638e6(0x1fa)]),_0x26a4f5=(this[_0x2638e6(0x22c)][_0x2638e6(0x1c3)][_0x2638e6(0x1ec)](_0x2638e6(0x1b0))||[])[_0x2638e6(0x1d1)](_0x669ba2=>({..._0x669ba2,'icon':void 0x0}));return _0x173ef6[_0x2638e6(0x1b2)](_0x2dfe88=>_0x2638e6(0x238)===_0x2dfe88['id'])[_0x2638e6(0x1ea)][_0x2638e6(0x237)](..._0x26a4f5),_0x173ef6;}[_0x151398(0x230)](){const _0x4a1dc9=_0x151398,_0x2edb46=new _0x42ef4c(this[_0x4a1dc9(0x22c)][_0x4a1dc9(0x1fa)]);_0x2edb46[_0x4a1dc9(0x21c)](),this[_0x4a1dc9(0x1cd)](_0x2edb46),this[_0x4a1dc9(0x1fd)](),this[_0x4a1dc9(0x1d6)](_0x2edb46);}[_0x151398(0x1cd)](_0x230cd5){const _0x29710d=_0x151398;this[_0x29710d(0x22c)]['ui'][_0x29710d(0x207)][_0x29710d(0x21e)](_0x29710d(0x1d2),_0x28c9a1(this[_0x29710d(0x22c)],this[_0x29710d(0x219)],{'icon':_0x504ab7,'label':_0x370370(this[_0x29710d(0x22c)][_0x29710d(0x1fa)],_0x29710d(0x215))},_0x230cd5));}[_0x151398(0x216)](_0x19192f){const _0x519fc7=_0x151398;this[_0x519fc7(0x219)]=_0x19192f[_0x519fc7(0x1d1)](_0x559199=>{const _0x594be2=_0x519fc7;if(_0x594be2(0x1ea)in _0x559199){const _0x11e24b=_0x559199;return{..._0x11e24b,'actions':_0x11e24b[_0x594be2(0x1ea)][_0x594be2(0x1d1)](_0x32294d=>{const {actions:_0x4ce801,..._0x8f91c4}=_0x11e24b;return{..._0x32294d,'parent':_0x8f91c4};})[_0x594be2(0x1f1)](_0x15fd4e=>this[_0x594be2(0x1e3)](_0x15fd4e))};}return _0x559199;})[_0x519fc7(0x1f1)](_0x28415f=>_0x519fc7(0x1ea)in _0x28415f?_0x28415f[_0x519fc7(0x1ea)][_0x519fc7(0x1f7)]>0x0:this[_0x519fc7(0x1e3)](_0x28415f));}[_0x151398(0x1e3)](_0x57a5b8){const _0x5823b6=_0x151398,_0x4ffe24=this[_0x5823b6(0x22c)][_0x5823b6(0x1c3)][_0x5823b6(0x1ec)](_0x5823b6(0x226))||[];return this[_0x5823b6(0x22c)][_0x5823b6(0x23f)][_0x5823b6(0x21b)](AIQuickActionTypeToPluginName[_0x57a5b8[_0x5823b6(0x23e)]])&&!_0x4ffe24[_0x5823b6(0x1d7)](_0x57a5b8['id']);}[_0x151398(0x1d6)](_0x328b75){const _0xd111a5=_0x151398;this[_0xd111a5(0x219)][_0xd111a5(0x23a)](_0x454789=>{const _0x349ca3=_0xd111a5;if(_0x349ca3(0x1ea)in _0x454789){const _0x25f44b=_0x28c9a1(this[_0x349ca3(0x22c)],_0x454789[_0x349ca3(0x1ea)],_0x454789,_0x328b75);this[_0x349ca3(0x22c)]['ui'][_0x349ca3(0x207)][_0x349ca3(0x21e)](_0x454789['id'],_0x25f44b),_0x454789[_0x349ca3(0x1ea)][_0x349ca3(0x23a)](_0x16abc2=>{const _0x143db4=_0x349ca3,_0x52e877=_0x1964cd(this[_0x143db4(0x22c)],_0x16abc2);this[_0x143db4(0x22c)]['ui'][_0x143db4(0x207)][_0x143db4(0x21e)](_0x16abc2['id'],_0x52e877);});}else{const _0x2fcb51=_0x1964cd(this[_0x349ca3(0x22c)],_0x454789,!0x1,!0x0,!0x1);this[_0x349ca3(0x22c)]['ui'][_0x349ca3(0x207)][_0x349ca3(0x21e)](_0x454789['id'],_0x2fcb51);}});}[_0x151398(0x1fd)](){const _0x4270f4=_0x151398;this[_0x4270f4(0x22c)]['ui'][_0x4270f4(0x207)][_0x4270f4(0x21e)](_0x4270f4(0x1a8),_0x5d32bb=>{const _0x367ca4=_0x4270f4,_0x5ac13b=new _0x58ccf3(_0x5d32bb),_0x462d41=_0x370370(_0x5d32bb,_0x367ca4(0x215));_0x5ac13b[_0x367ca4(0x1e8)][_0x367ca4(0x217)]({'label':_0x462d41,'icon':_0x504ab7});const _0x3b238d=new _0x526598(_0x5d32bb);_0x3b238d[_0x367ca4(0x217)]({'ariaLabel':_0x462d41,'role':_0x367ca4(0x1c1)}),this[_0x367ca4(0x219)][_0x367ca4(0x23a)](_0x25258c=>{const _0x3ce7d8=_0x367ca4;if(_0x3ce7d8(0x1ea)in _0x25258c){const _0x473b36=_0x25258c,_0x5bb4b6=new _0x1015e2(_0x5d32bb,_0x5ac13b),_0x3865c7=new _0x58ccf3(_0x5d32bb),_0x1f3d49=new _0x526598(_0x5d32bb);_0x3865c7[_0x3ce7d8(0x1e8)][_0x3ce7d8(0x217)]({'label':_0x473b36[_0x3ce7d8(0x1e0)],'icon':_0x473b36[_0x3ce7d8(0x1bf)]}),_0x473b36[_0x3ce7d8(0x1ea)][_0x3ce7d8(0x23a)](_0x2010dc=>{const _0x224e4e=_0x3ce7d8,_0x108925=new _0x1015e2(_0x5d32bb,_0x3865c7),_0x391734=new _0x58963d(_0x5d32bb);_0x391734[_0x224e4e(0x217)]({'label':_0x2010dc[_0x224e4e(0x200)],'icon':_0x2010dc[_0x224e4e(0x1bf)],'role':_0x224e4e(0x1f3)}),_0x391734['on'](_0x224e4e(0x22f),()=>{const _0x1179e0=_0x224e4e;this[_0x1179e0(0x220)](_0x2010dc);}),_0x391734[_0x224e4e(0x203)](_0x224e4e(0x22f))['to'](_0x3865c7),_0x108925[_0x224e4e(0x1fc)][_0x224e4e(0x21e)](_0x391734),_0x1f3d49[_0x224e4e(0x225)][_0x224e4e(0x21e)](_0x108925);}),_0x3865c7[_0x3ce7d8(0x1c6)][_0x3ce7d8(0x1fc)][_0x3ce7d8(0x21e)](_0x1f3d49),_0x5bb4b6[_0x3ce7d8(0x1fc)][_0x3ce7d8(0x21e)](_0x3865c7),_0x3b238d[_0x3ce7d8(0x225)][_0x3ce7d8(0x21e)](_0x5bb4b6);}else{const _0x3832ae=_0x25258c,_0x4edfcd=new _0x1015e2(_0x5d32bb,_0x5ac13b),_0x3d29c6=new _0x58963d(_0x5d32bb);_0x3d29c6[_0x3ce7d8(0x217)]({'label':_0x3832ae[_0x3ce7d8(0x200)],'icon':_0x3832ae[_0x3ce7d8(0x1bf)],'role':_0x3ce7d8(0x1f3)}),_0x3d29c6['on'](_0x3ce7d8(0x22f),()=>{const _0x9a6a53=_0x3ce7d8;this[_0x9a6a53(0x220)](_0x3832ae);}),_0x3d29c6[_0x3ce7d8(0x203)](_0x3ce7d8(0x22f))['to'](_0x5ac13b),_0x4edfcd[_0x3ce7d8(0x1fc)][_0x3ce7d8(0x21e)](_0x3d29c6),_0x3b238d[_0x3ce7d8(0x225)][_0x3ce7d8(0x21e)](_0x4edfcd);}});const _0x594a1c=Object[_0x367ca4(0x1d9)](AIQuickActionTypeToPluginName)[_0x367ca4(0x22b)](_0x6b1474=>this[_0x367ca4(0x22c)][_0x367ca4(0x23f)][_0x367ca4(0x21b)](_0x6b1474));return _0x5ac13b[_0x367ca4(0x217)]({'isEnabled':_0x594a1c}),_0x5ac13b[_0x367ca4(0x1c6)][_0x367ca4(0x1fc)][_0x367ca4(0x21e)](_0x3b238d),_0x5ac13b;});}[_0x151398(0x220)](_0xd4c046){const _0x1ff3e7=_0x151398,_0x26a22d=this[_0x1ff3e7(0x22c)];_0x26a22d[_0x1ff3e7(0x1fe)][_0x1ff3e7(0x1d5)][_0x1ff3e7(0x1e9)](),_0x26a22d[_0x1ff3e7(0x208)][_0x1ff3e7(0x22f)](_0x1ff3e7(0x20b),_0xd4c046);const _0x24fde6=_0x26a22d['ui'][_0x1ff3e7(0x1d5)][_0x1ff3e7(0x1b4)];_0x24fde6&&_0x24fde6[_0x1ff3e7(0x23b)]&&_0x24fde6[_0x1ff3e7(0x23b)]();}}
|
|
23
|
+
const _0x2c01a7=_0x183e;(function(_0x5c35cf,_0x33a569){const _0x2803d3=_0x183e,_0xa19265=_0x5c35cf();while(!![]){try{const _0x67cfd0=parseInt(_0x2803d3(0x1fd))/0x1*(-parseInt(_0x2803d3(0x228))/0x2)+-parseInt(_0x2803d3(0x206))/0x3+parseInt(_0x2803d3(0x258))/0x4*(-parseInt(_0x2803d3(0x233))/0x5)+-parseInt(_0x2803d3(0x205))/0x6*(parseInt(_0x2803d3(0x222))/0x7)+-parseInt(_0x2803d3(0x219))/0x8+parseInt(_0x2803d3(0x1f6))/0x9+parseInt(_0x2803d3(0x1ee))/0xa;if(_0x67cfd0===_0x33a569)break;else _0xa19265['push'](_0xa19265['shift']());}catch(_0x44cb53){_0xa19265['push'](_0xa19265['shift']());}}}(_0x1463,0x8a99c));import{IconAIAdjustLength as _0x3ba3b6,IconAIAskAI as _0x53c6b0,IconAIChangeTone as _0x58eb2f,IconAIChatCommands as _0x281255,IconAIContinueWriting as _0x2f8a54,IconAIGrammarCheck as _0x1ddc8b,IconAIImproveWriting as _0x457698,IconAIOther as _0x243bd4,IconAIQuickActions as _0x22488e,IconAITranslate as _0x4a9eba}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x65e2cf}from'ckeditor5/src/core.js';import{getTranslation as _0x402bc3}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x263603}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x3d1325}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x583a20,BalloonToolbar as _0x516342,MenuBarMenuView as _0x1933f0,MenuBarMenuListView as _0x4c7bd6,MenuBarMenuListItemView as _0x1c3ba1,MenuBarMenuListItemButtonView as _0x1332a9}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const te=_0x2c01a7(0x1dc),ee=_0x2c01a7(0x261),ie=_0x2c01a7(0x1f4);export var AIQuickActionType;!function(_0x3be196){const _0x5692ce=_0x2c01a7;_0x3be196[_0x5692ce(0x256)]=_0x5692ce(0x256),_0x3be196[_0x5692ce(0x23e)]=_0x5692ce(0x23e),_0x3be196[_0x5692ce(0x21f)]=_0x5692ce(0x21f);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3c9781){const _0x4c56aa=_0x2c01a7;_0x3c9781[_0x4c56aa(0x256)]=_0x4c56aa(0x1f9),_0x3c9781[_0x4c56aa(0x23e)]=_0x4c56aa(0x1fa),_0x3c9781[_0x4c56aa(0x21f)]=_0x4c56aa(0x241);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x183e(_0x37ff70,_0x667fb6){const _0x146362=_0x1463();return _0x183e=function(_0x183e0f,_0x1c35be){_0x183e0f=_0x183e0f-0x1cf;let _0x10abf6=_0x146362[_0x183e0f];return _0x10abf6;},_0x183e(_0x37ff70,_0x667fb6);}export class AIQuickActionsUI extends _0x65e2cf{static get[_0x2c01a7(0x1db)](){return[_0x516342];}static get[_0x2c01a7(0x257)](){const _0x2208f6=_0x2c01a7;return _0x2208f6(0x1d6);}static get[_0x2c01a7(0x235)](){return!0x0;}static get[_0x2c01a7(0x1f8)](){return!0x0;}[_0x2c01a7(0x21b)](){const _0x30962c=_0x2c01a7;this[_0x30962c(0x265)](this[_0x30962c(0x1dd)]()),this[_0x30962c(0x1da)]();}static[_0x2c01a7(0x207)](_0x1b3e6a){return function(_0x53816f){const _0x2f7feb=_0x183e,_0x58aeb5=new Intl[(_0x2f7feb(0x24f))](['en'],{'type':_0x2f7feb(0x249)})['of'](_0x53816f[_0x2f7feb(0x23f)]),_0x171a3a=_0x58aeb5||_0x2f7feb(0x1ed),_0x2bc59e=[{'id':_0x2f7feb(0x223),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1de)),'type':AIQuickActionType[_0x2f7feb(0x256)],'icon':_0x53c6b0},{'id':_0x2f7feb(0x243),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x204)),'icon':_0x281255,'actions':[{'id':_0x2f7feb(0x24b),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1d0)),'prompt':te[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]},{'id':_0x2f7feb(0x242),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x231)),'prompt':ee[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]},{'id':_0x2f7feb(0x210),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20b)),'prompt':ie[_0x2f7feb(0x266)]('%0',_0x171a3a),'type':AIQuickActionType[_0x2f7feb(0x256)]}]},{'id':_0x2f7feb(0x216),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x21c)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x457698},{'id':_0x2f7feb(0x22b),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20e)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x2f8a54},{'id':_0x2f7feb(0x238),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1e8)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'icon':_0x1ddc8b},{'id':_0x2f7feb(0x1f7),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x24c)),'icon':_0x3ba3b6,'actions':[{'id':_0x2f7feb(0x218),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1d4)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1cf),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x260)),'type':AIQuickActionType[_0x2f7feb(0x23e)]}]},{'id':_0x2f7feb(0x1e5),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x1f0)),'icon':_0x58eb2f,'actions':[{'id':_0x2f7feb(0x234),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x255)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1fb),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x254)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x209),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1e2)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x1d8),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x212)),'type':AIQuickActionType[_0x2f7feb(0x23e)]},{'id':_0x2f7feb(0x250),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x23c)),'type':AIQuickActionType[_0x2f7feb(0x23e)]}]},{'id':_0x2f7feb(0x1d7),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x20d)),'icon':_0x4a9eba,'actions':[{'id':_0x2f7feb(0x1ec),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x252)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x22c)}},{'id':_0x2f7feb(0x24a),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x239)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1df)}},{'id':_0x2f7feb(0x236),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x245)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x21d)}},{'id':_0x2f7feb(0x244),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x1f5)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x237)}},{'id':_0x2f7feb(0x1ff),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x25f)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1d2)}},{'id':_0x2f7feb(0x227),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x262)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x22d)}},{'id':_0x2f7feb(0x263),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x20f)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x1e0)}},{'id':_0x2f7feb(0x240),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x251)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x264)}},{'id':_0x2f7feb(0x246),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x200)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x20c)}},{'id':_0x2f7feb(0x22e),'displayedPrompt':_0x402bc3(_0x53816f,_0x2f7feb(0x25b)),'type':AIQuickActionType[_0x2f7feb(0x23e)],'actionName':_0x2f7feb(0x1d7),'args':{'language':_0x2f7feb(0x21e)}}]},{'id':_0x2f7feb(0x1e3),'label':_0x402bc3(_0x53816f,_0x2f7feb(0x1d9)),'icon':_0x243bd4,'actions':[]}];return _0x2bc59e;}(_0x1b3e6a);}[_0x2c01a7(0x1dd)](){const _0x5ab2ef=_0x2c01a7,_0x4ac350=AIQuickActionsUI[_0x5ab2ef(0x207)](this[_0x5ab2ef(0x23b)][_0x5ab2ef(0x22f)]),_0x12455b=(this[_0x5ab2ef(0x23b)][_0x5ab2ef(0x214)][_0x5ab2ef(0x1e4)](_0x5ab2ef(0x23a))||[])[_0x5ab2ef(0x224)](_0x3dc64e=>({..._0x3dc64e,'icon':void 0x0}));return _0x4ac350[_0x5ab2ef(0x220)](_0x2192b6=>_0x5ab2ef(0x1e3)===_0x2192b6['id'])[_0x5ab2ef(0x23d)][_0x5ab2ef(0x1ea)](..._0x12455b),_0x4ac350;}[_0x2c01a7(0x1da)](){const _0x2963f4=_0x2c01a7,_0x313a3a=new _0x583a20(this[_0x2963f4(0x23b)][_0x2963f4(0x22f)]);_0x313a3a[_0x2963f4(0x259)](),this[_0x2963f4(0x1e7)](_0x313a3a),this[_0x2963f4(0x25d)](),this[_0x2963f4(0x203)](_0x313a3a);}[_0x2c01a7(0x1e7)](_0x14352d){const _0x353a43=_0x2c01a7;this[_0x353a43(0x23b)]['ui'][_0x353a43(0x1e1)][_0x353a43(0x201)](_0x353a43(0x1e6),_0x263603(this[_0x353a43(0x23b)],this[_0x353a43(0x24d)],{'icon':_0x22488e,'label':_0x402bc3(this[_0x353a43(0x23b)][_0x353a43(0x22f)],_0x353a43(0x229))},_0x14352d));}[_0x2c01a7(0x265)](_0xa8e3c3){const _0x18a125=_0x2c01a7;this[_0x18a125(0x24d)]=_0xa8e3c3[_0x18a125(0x224)](_0x41dd42=>{const _0x2e1d3c=_0x18a125;if(_0x2e1d3c(0x23d)in _0x41dd42){const _0x8bce3e=_0x41dd42;return{..._0x8bce3e,'actions':_0x8bce3e[_0x2e1d3c(0x23d)][_0x2e1d3c(0x224)](_0x38097d=>{const {actions:_0x22a680,..._0x2151d8}=_0x8bce3e;return{..._0x38097d,'parent':_0x2151d8};})[_0x2e1d3c(0x213)](_0x2c690d=>this[_0x2e1d3c(0x221)](_0x2c690d))};}return _0x41dd42;})[_0x18a125(0x213)](_0xd42e73=>_0x18a125(0x23d)in _0xd42e73?_0xd42e73[_0x18a125(0x23d)][_0x18a125(0x1ef)]>0x0:this[_0x18a125(0x221)](_0xd42e73));}[_0x2c01a7(0x221)](_0x3e08ce){const _0xa4fd6e=_0x2c01a7,_0x38223a=this[_0xa4fd6e(0x23b)][_0xa4fd6e(0x214)][_0xa4fd6e(0x1e4)](_0xa4fd6e(0x247))||[];return this[_0xa4fd6e(0x23b)][_0xa4fd6e(0x1d3)][_0xa4fd6e(0x1e9)](AIQuickActionTypeToPluginName[_0x3e08ce[_0xa4fd6e(0x232)]])&&!_0x38223a[_0xa4fd6e(0x20a)](_0x3e08ce['id']);}[_0x2c01a7(0x203)](_0x53c8ff){const _0x15b7a1=_0x2c01a7;this[_0x15b7a1(0x24d)][_0x15b7a1(0x202)](_0x409bc6=>{const _0x4da1a1=_0x15b7a1;if(_0x4da1a1(0x23d)in _0x409bc6){const _0x17991b=_0x263603(this[_0x4da1a1(0x23b)],_0x409bc6[_0x4da1a1(0x23d)],_0x409bc6,_0x53c8ff);this[_0x4da1a1(0x23b)]['ui'][_0x4da1a1(0x1e1)][_0x4da1a1(0x201)](_0x409bc6['id'],_0x17991b),_0x409bc6[_0x4da1a1(0x23d)][_0x4da1a1(0x202)](_0x56f1d0=>{const _0x5a3fd4=_0x4da1a1,_0x2bec44=_0x3d1325(this[_0x5a3fd4(0x23b)],_0x56f1d0);this[_0x5a3fd4(0x23b)]['ui'][_0x5a3fd4(0x1e1)][_0x5a3fd4(0x201)](_0x56f1d0['id'],_0x2bec44);});}else{const _0x2c1bf5=_0x3d1325(this[_0x4da1a1(0x23b)],_0x409bc6,!0x1,!0x0,!0x1);this[_0x4da1a1(0x23b)]['ui'][_0x4da1a1(0x1e1)][_0x4da1a1(0x201)](_0x409bc6['id'],_0x2c1bf5);}});}[_0x2c01a7(0x25d)](){const _0x599cf1=_0x2c01a7;this[_0x599cf1(0x23b)]['ui'][_0x599cf1(0x1e1)][_0x599cf1(0x201)](_0x599cf1(0x208),_0x243cfc=>{const _0x153814=_0x599cf1,_0x2ea7e8=new _0x1933f0(_0x243cfc),_0x1f6afe=_0x402bc3(_0x243cfc,_0x153814(0x229));_0x2ea7e8[_0x153814(0x22a)][_0x153814(0x253)]({'label':_0x1f6afe,'icon':_0x22488e});const _0x463e5e=new _0x4c7bd6(_0x243cfc);_0x463e5e[_0x153814(0x253)]({'ariaLabel':_0x1f6afe,'role':_0x153814(0x1fc)}),this[_0x153814(0x24d)][_0x153814(0x202)](_0x3067ab=>{const _0x308b77=_0x153814;if(_0x308b77(0x23d)in _0x3067ab){const _0x5b4fb2=_0x3067ab,_0x3d82c9=new _0x1c3ba1(_0x243cfc,_0x2ea7e8),_0x533512=new _0x1933f0(_0x243cfc),_0xc28cf9=new _0x4c7bd6(_0x243cfc);_0x533512[_0x308b77(0x22a)][_0x308b77(0x253)]({'label':_0x5b4fb2[_0x308b77(0x217)],'icon':_0x5b4fb2[_0x308b77(0x1fe)]}),_0x5b4fb2[_0x308b77(0x23d)][_0x308b77(0x202)](_0x372d72=>{const _0x1b2b19=_0x308b77,_0x13feb8=new _0x1c3ba1(_0x243cfc,_0x533512),_0x48182e=new _0x1332a9(_0x243cfc);_0x48182e[_0x1b2b19(0x253)]({'label':_0x372d72[_0x1b2b19(0x226)],'icon':_0x372d72[_0x1b2b19(0x1fe)],'role':_0x1b2b19(0x1d5)}),_0x48182e['on'](_0x1b2b19(0x211),()=>{const _0x18801e=_0x1b2b19;this[_0x18801e(0x24e)](_0x372d72);}),_0x48182e[_0x1b2b19(0x225)](_0x1b2b19(0x211))['to'](_0x533512),_0x13feb8[_0x1b2b19(0x1f2)][_0x1b2b19(0x201)](_0x48182e),_0xc28cf9[_0x1b2b19(0x21a)][_0x1b2b19(0x201)](_0x13feb8);}),_0x533512[_0x308b77(0x215)][_0x308b77(0x1f2)][_0x308b77(0x201)](_0xc28cf9),_0x3d82c9[_0x308b77(0x1f2)][_0x308b77(0x201)](_0x533512),_0x463e5e[_0x308b77(0x21a)][_0x308b77(0x201)](_0x3d82c9);}else{const _0x4a9e4a=_0x3067ab,_0x4211a2=new _0x1c3ba1(_0x243cfc,_0x2ea7e8),_0xfbd5a1=new _0x1332a9(_0x243cfc);_0xfbd5a1[_0x308b77(0x253)]({'label':_0x4a9e4a[_0x308b77(0x226)],'icon':_0x4a9e4a[_0x308b77(0x1fe)],'role':_0x308b77(0x1d5)}),_0xfbd5a1['on'](_0x308b77(0x211),()=>{const _0x31ffee=_0x308b77;this[_0x31ffee(0x24e)](_0x4a9e4a);}),_0xfbd5a1[_0x308b77(0x225)](_0x308b77(0x211))['to'](_0x2ea7e8),_0x4211a2[_0x308b77(0x1f2)][_0x308b77(0x201)](_0xfbd5a1),_0x463e5e[_0x308b77(0x21a)][_0x308b77(0x201)](_0x4211a2);}});const _0x559056=Object[_0x153814(0x25e)](AIQuickActionTypeToPluginName)[_0x153814(0x230)](_0x1d87cf=>this[_0x153814(0x23b)][_0x153814(0x1d3)][_0x153814(0x1e9)](_0x1d87cf));return _0x2ea7e8[_0x153814(0x253)]({'isEnabled':_0x559056}),_0x2ea7e8[_0x153814(0x215)][_0x153814(0x1f2)][_0x153814(0x201)](_0x463e5e),_0x2ea7e8;});}[_0x2c01a7(0x24e)](_0x46b21c){const _0x34ba69=_0x2c01a7,_0x158735=this[_0x34ba69(0x23b)];_0x158735[_0x34ba69(0x1d1)][_0x34ba69(0x1f1)][_0x34ba69(0x1f3)](),_0x158735[_0x34ba69(0x248)][_0x34ba69(0x211)](_0x34ba69(0x25c),_0x46b21c);const _0x519b6f=_0x158735['ui'][_0x34ba69(0x1f1)][_0x34ba69(0x1eb)];_0x519b6f&&_0x519b6f[_0x34ba69(0x25a)]&&_0x519b6f[_0x34ba69(0x25a)]();}}function _0x1463(){const _0x3a5a63=['AI_QUICK_ACTIONS_OTHER','_initializeQuickActionsComponentsAndCommands','requires','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_ASK_AI','chinese','portuguese','componentFactory','AI_QUICK_ACTIONS_MORE_FRIENDLY','other','get','change-tone','aiQuickActions','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','has','push','menuBarView','translate-to-english','English','31940870dHbRRW','length','AI_QUICK_ACTIONS_CHANGE_TONE','view','children','focus','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','2309211GBonYO','adjust-length','isPremiumPlugin','AIChat','AIActions','make-tone-direct','menu','413ZivrTQ','icon','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','add','forEach','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_CHAT_COMMANDS','108EAIRkP','1424454gJXDpe','getDefaultQuickActions','menuBar:aiQuickActions','make-tone-friendly','includes','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','italian','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','highlight-key-points','execute','AI_QUICK_ACTIONS_MORE_CONFIDENT','filter','config','panelView','improve-writing','label','make-shorter','7068336wZmfMo','items','init','AI_QUICK_ACTIONS_IMPROVE_WRITING','spanish','russian','REVIEW','find','_shouldIncludeAction','224868TGMJYY','ask-ai','map','delegate','displayedPrompt','translate-to-japanese','2844nvEUvP','AI_QUICK_ACTIONS_HEADING','buttonView','continue','english','japanese','translate-to-russian','locale','some','AI_QUICK_ACTIONS_SUMMARIZE','type','897700utjWSk','make-tone-casual','isOfficialPlugin','translate-to-spanish','german','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ai.quickActions.extraCommands','editor','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','actions','ACTION','uiLanguage','translate-to-korean','AIReviewMode','summarize','chat-commands','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-italian','ai.quickActions.removeCommands','commands','language','translate-to-chinese','explain','AI_QUICK_ACTIONS_ADJUST_LENGTH','_quickActionsDefinition','_executeQuickAction','DisplayNames','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','set','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_MORE_CASUAL','CHAT','pluginName','8aOxndc','attachToDom','close','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','aiQuickAction','_initializeQuickActionsMenuBar','values','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MAKE_LONGER','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-portuguese','korean','_prepareQuickActionsDefinition','replace','make-longer','AI_QUICK_ACTIONS_EXPLAIN','editing','french','plugins','AI_QUICK_ACTIONS_MAKE_SHORTER','menuitem','AIQuickActionsUI','translate','make-tone-confident'];_0x1463=function(){return _0x3a5a63;};return _0x1463();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1a6daa,_0x17fb66){const _0xa1b7d3=_0x3a19,_0x3e816b=_0x1a6daa();while(!![]){try{const _0x1dbf79=-parseInt(_0xa1b7d3(0xb0))/0x1+parseInt(_0xa1b7d3(0x9c))/0x2*(-parseInt(_0xa1b7d3(0xa7))/0x3)+parseInt(_0xa1b7d3(0x99))/0x4+parseInt(_0xa1b7d3(0xa0))/0x5*(-parseInt(_0xa1b7d3(0xa9))/0x6)+-parseInt(_0xa1b7d3(0xa1))/0x7+parseInt(_0xa1b7d3(0x9f))/0x8+parseInt(_0xa1b7d3(0x9b))/0x9*(parseInt(_0xa1b7d3(0x9d))/0xa);if(_0x1dbf79===_0x17fb66)break;else _0x3e816b['push'](_0x3e816b['shift']());}catch(_0x166ab8){_0x3e816b['push'](_0x3e816b['shift']());}}}(_0x2818,0xa07d7));function _0x2818(){const _0x2fc262=['set','commands','1083141COUiSf','view','3402848TyqNEq','icon','38223qSNbly','78JPsHtp','4610YMZoBu','menuitem','4026824yvWPhQ','81970mdaAau','8640289tCuHTT','bindTemplate','execute','parent','editing','ck-ai-quick-actions-button','17103nnkHqQ','locale','42empwuc','aiQuickAction','extendTemplate','focus','displayedPrompt'];_0x2818=function(){return _0x2fc262;};return _0x2818();}import{ButtonView as _0x3ff379}from'ckeditor5/src/ui.js';function _0x3a19(_0x87a3c,_0x340da5){const _0x2818b0=_0x2818();return _0x3a19=function(_0x3a1951,_0x35c69f){_0x3a1951=_0x3a1951-0x99;let _0x50f7c3=_0x2818b0[_0x3a1951];return _0x50f7c3;},_0x3a19(_0x87a3c,_0x340da5);}import{IconAIQuickActions as _0x32ec92}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x875ff3,_0x33aebd,_0x1c45b4=!0x1,_0x246760=!0x0,_0x574ea2=!0x0){return()=>{const _0x56e225=_0x3a19,_0x40fdeb=_0x875ff3[_0x56e225(0xa8)],_0x5d821f=new _0x3ff379(_0x40fdeb),_0x367757=_0x5d821f[_0x56e225(0xa2)];_0x574ea2&&_0x5d821f[_0x56e225(0xab)]({'on':{'mouseenter':_0x367757['to'](()=>{const _0x4b4300=_0x56e225;_0x5d821f[_0x4b4300(0xac)]();})}});const _0x5eb94e=_0x33aebd[_0x56e225(0x9a)]??_0x33aebd[_0x56e225(0xa4)]?.[_0x56e225(0x9a)];return _0x5d821f[_0x56e225(0xae)]({'label':_0x33aebd[_0x56e225(0xad)],'withText':_0x1c45b4,'role':_0x56e225(0x9e),'icon':_0x246760?_0x5eb94e??_0x32ec92:void 0x0,'tooltip':!_0x1c45b4,'class':_0x56e225(0xa6)}),_0x5d821f['on'](_0x56e225(0xa3),()=>{const _0x442130=_0x56e225;_0x875ff3[_0x442130(0xa5)][_0x442130(0xb1)][_0x442130(0xac)](),_0x875ff3[_0x442130(0xaf)][_0x442130(0xa3)](_0x442130(0xaa),_0x33aebd);}),_0x5d821f;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41e953=_0x19b7;(function(_0x33508f,_0x1dc542){const _0x4b890d=_0x19b7,_0x40a396=_0x33508f();while(!![]){try{const _0x159f5d=parseInt(_0x4b890d(0x1c9))/0x1*(-parseInt(_0x4b890d(0x1b8))/0x2)+-parseInt(_0x4b890d(0x1c4))/0x3*(parseInt(_0x4b890d(0x1ec))/0x4)+parseInt(_0x4b890d(0x1c5))/0x5+parseInt(_0x4b890d(0x1c8))/0x6+-parseInt(_0x4b890d(0x1cb))/0x7*(-parseInt(_0x4b890d(0x1df))/0x8)+-parseInt(_0x4b890d(0x1b5))/0x9+-parseInt(_0x4b890d(0x1b6))/0xa*(-parseInt(_0x4b890d(0x1cc))/0xb);if(_0x159f5d===_0x1dc542)break;else _0x40a396['push'](_0x40a396['shift']());}catch(_0x294148){_0x40a396['push'](_0x40a396['shift']());}}}(_0x3078,0xc8b97));function _0x19b7(_0x5b46e1,_0x2743f3){const _0x3078bd=_0x3078();return _0x19b7=function(_0x19b77b,_0x2c2d27){_0x19b77b=_0x19b77b-0x1a8;let _0x323da2=_0x3078bd[_0x19b77b];return _0x323da2;},_0x19b7(_0x5b46e1,_0x2743f3);}import{View as _0x16beb2,ListItemView as _0x158edd,ListView as _0x6e7718,BalloonPanelView as _0x5f59bd,DropdownMenuPanelPositioningFunctions as _0x29df13,DropdownMenuButtonView as _0x40ae8c,ViewCollection as _0x48abde,FocusCycler as _0x11f8cd}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x27301b}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x25af55,KeystrokeHandler as _0x85ff6}from'ckeditor5/src/utils.js';function _0x3078(){const _0x504ce0=['label','hide','set','ck-ai-quick-actions-group-panel','_createListItems','ck-ai-quick-actions','children','focusTracker','_openNestedPanels','4517721youVbo','130vcZebn','_showNestedPanel','2510234mUWteS','items','actions','ck-dropdown-menu-list','relatedTarget','.ck-ai-quick-actions-group-list','_createGroupActionsList','closest','.ck-ai-quick-actions-group-panel','key','setTemplate','role','60612udUJdm','3428950AkICWB','focusCycler','contains','4285950eCYbys','1zVVAnR','uiLanguageDirection','155505aUlAfV','1560427LMxbbH','show','ck-ai-quick-actions-group-list','_bodyCollection','delete','_hideNestedPanel','get','rtl','destroy','ck-dropdown-menu__nested-menu__panel','_createActionButton','keystrokes','icon','menu','ck-reset_all','menuitem','forEach','render','bindTemplate','248vGvXBk','.ck-ai-quick-actions-group-button','focus','isOn','extendTemplate','ck-ai-quick-actions-group-button','optionsListView','detachFromDom','_hideAllNestedPanels','_focusables','div','isVisible','eastSouth','268NtVVJb','_createActionGroupButton','content','_setupGroupMenuBehavior','pin','locale','ArrowRight','element','bind','add','ArrowLeft','_isMovingToNestedMenu','mouseleave','ck-rounded-corners','clear','addEventListener','addMany'];_0x3078=function(){return _0x504ce0;};return _0x3078();}import{aiQuickActionsButtonCreator as _0x35eb85}from'./aiquickactionsbuttoncreator.js';const Ls=_0x41e953(0x1d9),Ns=_0x41e953(0x1db);export class AIQuickActionsDropdownContentView extends _0x16beb2{[_0x41e953(0x1cf)];[_0x41e953(0x1e5)];[_0x41e953(0x1b3)];[_0x41e953(0x1d7)];[_0x41e953(0x1e8)];[_0x41e953(0x1c6)];[_0x41e953(0x1b4)]=new Set();constructor(_0x16cb8d,_0xfb434e,_0x3ace9b,_0x332f9c){const _0x9d7a2e=_0x41e953,_0x39cdc7=_0x16cb8d[_0x9d7a2e(0x1f1)];super(_0x39cdc7),this[_0x9d7a2e(0x1cf)]=_0x332f9c;const _0x36408f=this[_0x9d7a2e(0x1b0)](_0x16cb8d,_0xfb434e,_0x3ace9b);this[_0x9d7a2e(0x1e5)]=new _0x6e7718(_0x39cdc7),this[_0x9d7a2e(0x1e5)][_0x9d7a2e(0x1c3)]=Ls,this[_0x9d7a2e(0x1e5)][_0x9d7a2e(0x1b9)][_0x9d7a2e(0x1ab)](_0x36408f),this[_0x9d7a2e(0x1b3)]=new _0x25af55(),this[_0x9d7a2e(0x1d7)]=new _0x85ff6(),this[_0x9d7a2e(0x1e8)]=_0x36408f,this[_0x9d7a2e(0x1c6)]=new _0x11f8cd({'focusables':this[_0x9d7a2e(0x1e8)],'focusTracker':this[_0x9d7a2e(0x1b3)],'keystrokeHandler':this[_0x9d7a2e(0x1d7)]}),this[_0x9d7a2e(0x1c2)]({'tag':_0x9d7a2e(0x1e9),'attributes':{'class':['ck',_0x9d7a2e(0x1da),_0x9d7a2e(0x1b1),_0x9d7a2e(0x1a8)],'dir':_0x39cdc7[_0x9d7a2e(0x1ca)]},'children':[this[_0x9d7a2e(0x1e5)]]});}[_0x41e953(0x1b0)](_0x186670,_0x4f5bbf,_0x5bbee4){const _0x578213=_0x41e953,_0x411ec7=new _0x48abde();return _0x4f5bbf[_0x578213(0x1dc)](_0x540a1f=>{const _0x2f8266=_0x578213;_0x2f8266(0x1ba)in _0x540a1f?_0x411ec7[_0x2f8266(0x1f5)](this[_0x2f8266(0x1ed)](_0x186670,_0x540a1f,_0x5bbee4)):_0x411ec7[_0x2f8266(0x1f5)](this[_0x2f8266(0x1d6)](_0x186670,_0x540a1f));}),_0x411ec7;}[_0x41e953(0x1d6)](_0x50b614,_0x4718b8){const _0x33ba0f=_0x41e953,_0x4df38e=new _0x158edd(this[_0x33ba0f(0x1f1)]),_0x33f347=_0x35eb85(_0x50b614,_0x4718b8,!0x0,void 0x0!==_0x4718b8[_0x33ba0f(0x1d8)])();return _0x4df38e[_0x33ba0f(0x1b2)][_0x33ba0f(0x1f5)](_0x33f347),_0x4df38e;}[_0x41e953(0x1ed)](_0x77af24,_0x2ff905,_0x4c21bf){const _0x52ed1e=_0x41e953,_0x17b336=new _0x158edd(this[_0x52ed1e(0x1f1)]),_0x32e255=new _0x40ae8c(this[_0x52ed1e(0x1f1)]),_0x458398=_0x32e255[_0x52ed1e(0x1de)],_0xcdceb1=_0x52ed1e(0x1d3)===_0x4c21bf[_0x52ed1e(0x1f1)][_0x52ed1e(0x1ca)]?_0x52ed1e(0x1f2):_0x52ed1e(0x1f6),_0x54e23c=this[_0x52ed1e(0x1be)](_0x77af24,_0x2ff905[_0x52ed1e(0x1ba)],_0x4c21bf);_0x32e255[_0x52ed1e(0x1ae)]({'label':_0x2ff905[_0x52ed1e(0x1ac)],'withText':!0x0,'role':Ns,'icon':_0x2ff905[_0x52ed1e(0x1d8)]??_0x27301b}),_0x32e255[_0x52ed1e(0x1e3)]({'on':{'mouseenter':_0x458398['to'](()=>{const _0x283101=_0x52ed1e;_0x32e255[_0x283101(0x1e1)]();})}});const _0x13980d=new _0x5f59bd(this[_0x52ed1e(0x1f1)]);return _0x13980d[_0x52ed1e(0x1e3)]({'attributes':{'class':['ck',_0x52ed1e(0x1da),_0x52ed1e(0x1af),_0x52ed1e(0x1d5)]},'on':{'keydown':_0x458398['to'](_0x211bee=>{const _0x41266f=_0x52ed1e;_0x211bee[_0x41266f(0x1c1)]==_0xcdceb1&&(_0x32e255[_0x41266f(0x1e1)](),this[_0x41266f(0x1d1)](_0x13980d));})}}),_0x32e255[_0x52ed1e(0x1f4)](_0x52ed1e(0x1e2))['to'](_0x13980d,_0x52ed1e(0x1ea)),this[_0x52ed1e(0x1cf)][_0x52ed1e(0x1f5)](_0x13980d),_0x13980d[_0x52ed1e(0x1ee)][_0x52ed1e(0x1f5)](_0x54e23c),this[_0x52ed1e(0x1ef)](_0x32e255,_0x13980d),_0x17b336[_0x52ed1e(0x1b2)][_0x52ed1e(0x1f5)](_0x32e255),_0x17b336;}[_0x41e953(0x1be)](_0x343a3c,_0x4eab27,_0x497a76){const _0x5513d7=_0x41e953,_0x54ff94=new _0x6e7718(this[_0x5513d7(0x1f1)]);return _0x54ff94[_0x5513d7(0x1e3)]({'attributes':{'class':['ck',_0x5513d7(0x1da),_0x5513d7(0x1ce),_0x5513d7(0x1bb)]}}),_0x4eab27[_0x5513d7(0x1dc)](_0x3e4a7d=>{const _0x5248e0=_0x5513d7,_0x3f5c58=new _0x158edd(this[_0x5248e0(0x1f1)]),_0x2d44dd=_0x35eb85(_0x343a3c,_0x3e4a7d,!0x0,!0x1)();_0x3f5c58[_0x5248e0(0x1b2)][_0x5248e0(0x1f5)](_0x2d44dd),_0x497a76[_0x5248e0(0x1b3)][_0x5248e0(0x1f5)](_0x2d44dd),_0x54ff94[_0x5248e0(0x1b9)][_0x5248e0(0x1f5)](_0x3f5c58);}),_0x54ff94;}[_0x41e953(0x1ef)](_0x54c89f,_0x1431d2){const _0x329b7e=_0x41e953,_0x32991f=_0x54c89f[_0x329b7e(0x1de)],_0x2a01e3=_0x329b7e(0x1d3)===_0x54c89f[_0x329b7e(0x1f1)][_0x329b7e(0x1ca)]?_0x329b7e(0x1f6):_0x329b7e(0x1f2);_0x54c89f[_0x329b7e(0x1e3)]({'attributes':{'class':[_0x329b7e(0x1e4)]},'on':{'mouseenter':_0x32991f['to'](()=>{const _0x374601=_0x329b7e;this[_0x374601(0x1b7)](_0x1431d2,_0x54c89f);}),'mouseleave':_0x32991f['to'](_0x439661=>{const _0x483d40=_0x329b7e,_0x5f496c=_0x439661[_0x483d40(0x1bc)];this[_0x483d40(0x1f7)](_0x5f496c,_0x1431d2)||this[_0x483d40(0x1d1)](_0x1431d2);}),'keydown':_0x32991f['to'](_0x17d2db=>{const _0x558e6a=_0x329b7e;_0x17d2db[_0x558e6a(0x1c1)]==_0x2a01e3&&(this[_0x558e6a(0x1b7)](_0x1431d2,_0x54c89f),_0x1431d2[_0x558e6a(0x1ee)][_0x558e6a(0x1d2)](0x0)[_0x558e6a(0x1e1)]());})}}),_0x1431d2['on'](_0x329b7e(0x1dd),()=>{const _0x38bf6a=_0x329b7e;_0x1431d2[_0x38bf6a(0x1f3)]?.[_0x38bf6a(0x1aa)](_0x38bf6a(0x1f8),_0x26e8c2=>{const _0x3da1e6=_0x38bf6a,_0x25aa3a=_0x26e8c2[_0x3da1e6(0x1bc)];_0x54c89f[_0x3da1e6(0x1f3)]?.[_0x3da1e6(0x1c7)](_0x25aa3a)||this[_0x3da1e6(0x1f7)](_0x25aa3a,_0x1431d2)||this[_0x3da1e6(0x1d1)](_0x1431d2);});});}[_0x41e953(0x1b7)](_0x137498,_0x3db64f){const _0x4182b1=_0x41e953;this[_0x4182b1(0x1b4)][_0x4182b1(0x1dc)](_0x101544=>{const _0x57a9df=_0x4182b1;_0x101544!==_0x137498&&_0x101544[_0x57a9df(0x1ea)]&&_0x101544[_0x57a9df(0x1ad)]();}),_0x137498[_0x4182b1(0x1cd)](),_0x137498[_0x4182b1(0x1f0)]({'positions':[_0x29df13[_0x4182b1(0x1eb)]],'target':_0x3db64f[_0x4182b1(0x1f3)],'fitInViewport':!0x0}),this[_0x4182b1(0x1b4)][_0x4182b1(0x1f5)](_0x137498);}[_0x41e953(0x1d1)](_0x40f55e){const _0x2a5036=_0x41e953;_0x40f55e[_0x2a5036(0x1ad)](),this[_0x2a5036(0x1b4)][_0x2a5036(0x1d0)](_0x40f55e);}[_0x41e953(0x1e7)](){const _0x366f3c=_0x41e953;this[_0x366f3c(0x1b4)][_0x366f3c(0x1dc)](_0x15a3cd=>_0x15a3cd[_0x366f3c(0x1ad)]()),this[_0x366f3c(0x1b4)][_0x366f3c(0x1a9)]();}[_0x41e953(0x1f7)](_0x38c57f,_0xf165fe){const _0x472e6f=_0x41e953;if(!_0x38c57f)return!0x1;if(_0xf165fe[_0x472e6f(0x1f3)]?.[_0x472e6f(0x1c7)](_0x38c57f))return!0x0;const _0xd01af3=_0x38c57f;return _0xd01af3[_0x472e6f(0x1bf)]&&(null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1c0))||null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1bd))||null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1e0)));}[_0x41e953(0x1d4)](){const _0x33afed=_0x41e953;this[_0x33afed(0x1e7)](),this[_0x33afed(0x1cf)][_0x33afed(0x1e6)](),super[_0x33afed(0x1d4)]();}[_0x41e953(0x1e1)](){const _0x1d279e=_0x41e953;this[_0x1d279e(0x1e5)][_0x1d279e(0x1e1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6f60f9,_0x57f458){const _0x3e0e25=_0x507f,_0x41ad75=_0x6f60f9();while(!![]){try{const _0x272277=-parseInt(_0x3e0e25(0x1d9))/0x1*(parseInt(_0x3e0e25(0x1cd))/0x2)+-parseInt(_0x3e0e25(0x1d5))/0x3+-parseInt(_0x3e0e25(0x1d1))/0x4*(parseInt(_0x3e0e25(0x1ca))/0x5)+parseInt(_0x3e0e25(0x1d2))/0x6*(-parseInt(_0x3e0e25(0x1cb))/0x7)+-parseInt(_0x3e0e25(0x1c8))/0x8+parseInt(_0x3e0e25(0x1d8))/0x9+parseInt(_0x3e0e25(0x1d0))/0xa;if(_0x272277===_0x57f458)break;else _0x41ad75['push'](_0x41ad75['shift']());}catch(_0x18c9e7){_0x41ad75['push'](_0x41ad75['shift']());}}}(_0x445b,0x804a5));import{createDropdown as _0x555924}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4488ad}from'@ckeditor/ckeditor5-icons';function _0x507f(_0x45b300,_0x411fa8){const _0x445b01=_0x445b();return _0x507f=function(_0x507f05,_0x47f2c5){_0x507f05=_0x507f05-0x1c7;let _0x245f4f=_0x445b01[_0x507f05];return _0x245f4f;},_0x507f(_0x45b300,_0x411fa8);}function _0x445b(){const _0x5390e0=['buttonView','1975437yKNRUx','add','set','470862fcjPxS','3073nGFryd','ck-ai-quick-actions-dropdown','4168072lGoFxJ','children','65905kJvJBm','141498gXgloU','label','374NqyUkE','panelView','locale','32370190QcCvXn','196NzXGjC','108RNRSzy','icon'];_0x445b=function(){return _0x5390e0;};return _0x445b();}import{AIQuickActionsDropdownContentView as _0x5d4465}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x244016,_0x43b536,_0x546186,_0x30a152){return()=>{const _0x27528d=_0x507f,_0x427f5b=_0x244016[_0x27528d(0x1cf)],_0x3ea738=_0x555924(_0x427f5b);_0x3ea738[_0x27528d(0x1d4)][_0x27528d(0x1d7)]({'icon':_0x546186[_0x27528d(0x1d3)]??_0x4488ad,'label':_0x546186[_0x27528d(0x1cc)],'tooltip':!0x0}),_0x3ea738[_0x27528d(0x1d7)]({'class':_0x27528d(0x1c7)});const _0x3eb429=new _0x5d4465(_0x244016,_0x43b536,_0x3ea738,_0x30a152);return _0x3ea738[_0x27528d(0x1ce)][_0x27528d(0x1c9)][_0x27528d(0x1d6)](_0x3eb429),_0x3ea738;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4c2b(_0x43808c,_0x494113){const _0x2c91db=_0x2c91();return _0x4c2b=function(_0x4c2b6c,_0x1c5ab9){_0x4c2b6c=_0x4c2b6c-0x9d;let _0x1c2c9f=_0x2c91db[_0x4c2b6c];return _0x1c2c9f;},_0x4c2b(_0x43808c,_0x494113);}const _0x468bde=_0x4c2b;(function(_0x2daa1e,_0x5c551d){const _0x38e5e9=_0x4c2b,_0x1f5fee=_0x2daa1e();while(!![]){try{const _0x2af770=parseInt(_0x38e5e9(0xdc))/0x1+-parseInt(_0x38e5e9(0xcd))/0x2+parseInt(_0x38e5e9(0xcb))/0x3+parseInt(_0x38e5e9(0xc4))/0x4*(parseInt(_0x38e5e9(0xaf))/0x5)+parseInt(_0x38e5e9(0xc7))/0x6+parseInt(_0x38e5e9(0x9f))/0x7+-parseInt(_0x38e5e9(0xcf))/0x8;if(_0x2af770===_0x5c551d)break;else _0x1f5fee['push'](_0x1f5fee['shift']());}catch(_0x5ce805){_0x1f5fee['push'](_0x1f5fee['shift']());}}}(_0x2c91,0x21a2d));function _0x2c91(){const _0x2ca4ad=['readability','shorter','Readability','Direct','468sjArtA','portuguese','Casual','349338AylpqX','friendly','Friendly','Portuguese','204090zUeSWy','Professional','261974WCPReT','casual','4079528ejNqUc','custom','Adjust\x20tone\x20and\x20style','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Clarity','Translate\x20the\x20text\x20into\x20another\x20language.','confident','Correctness','Longer','English','Custom\x20command','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','professional','262081yEanvA','french','japanese','clarity','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','1419712FOExzk','german','italian','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Russian','Confident','Chinese\x20(Simplified)','Select\x20language','correctness','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','dropdown','Translate','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','translate','chinese','make','8015dRZdjl','english','Italian','language','direct','German','Korean','spanish','Adjust\x20length','Japanese','French','Shorter','Spanish','make-tone','russian','korean','longer'];_0x2c91=function(){return _0x2ca4ad;};return _0x2c91();}export const AI_REVIEW_CHECKS=[{'id':_0x468bde(0xd0),'title':_0x468bde(0xd9),'description':_0x468bde(0xda),'isParameterized':!0x0},{'id':_0x468bde(0xa7),'title':_0x468bde(0xd6),'description':_0x468bde(0xa8),'isParameterized':!0x1},{'id':_0x468bde(0x9d),'title':_0x468bde(0xd3),'description':_0x468bde(0xa2),'isParameterized':!0x1},{'id':_0x468bde(0xc0),'title':_0x468bde(0xc2),'description':_0x468bde(0xab),'isParameterized':!0x1},{'id':_0x468bde(0xae),'title':_0x468bde(0xb7),'description':_0x468bde(0x9e),'isParameterized':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xb7),'default':_0x468bde(0xbf),'data':[{'label':_0x468bde(0xd7),'id':_0x468bde(0xbf)},{'label':_0x468bde(0xba),'id':_0x468bde(0xc1)}]}]},{'id':_0x468bde(0xbc),'title':_0x468bde(0xd1),'description':_0x468bde(0xd2),'isParameterized':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xd1),'default':_0x468bde(0xce),'data':[{'label':_0x468bde(0xc6),'id':_0x468bde(0xce)},{'label':_0x468bde(0xc3),'id':_0x468bde(0xb3)},{'label':_0x468bde(0xc9),'id':_0x468bde(0xc8)},{'label':_0x468bde(0xa4),'id':_0x468bde(0xd5)},{'label':_0x468bde(0xcc),'id':_0x468bde(0xdb)}]}]},{'id':_0x468bde(0xac),'title':_0x468bde(0xaa),'description':_0x468bde(0xd4),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xa6),'argsKey':_0x468bde(0xb2),'data':[{'label':_0x468bde(0xd8),'id':_0x468bde(0xb0)},{'label':_0x468bde(0xbb),'id':_0x468bde(0xb6)},{'label':_0x468bde(0xb9),'id':_0x468bde(0xdd)},{'label':_0x468bde(0xb4),'id':_0x468bde(0xa0)},{'label':_0x468bde(0xa5),'id':_0x468bde(0xad)},{'label':_0x468bde(0xb8),'id':_0x468bde(0xde)},{'label':_0x468bde(0xa3),'id':_0x468bde(0xbd)},{'label':_0x468bde(0xca),'id':_0x468bde(0xc5)},{'label':_0x468bde(0xb5),'id':_0x468bde(0xbe)},{'label':_0x468bde(0xb1),'id':_0x468bde(0xa1)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x13e857=_0x1c88;(function(_0x4cddd0,_0x513641){var _0x2fffa2=_0x1c88,_0x576c87=_0x4cddd0();while(!![]){try{var _0x5b05be=-parseInt(_0x2fffa2(0xff))/0x1*(-parseInt(_0x2fffa2(0x108))/0x2)+parseInt(_0x2fffa2(0x106))/0x3*(parseInt(_0x2fffa2(0x10b))/0x4)+-parseInt(_0x2fffa2(0x105))/0x5+-parseInt(_0x2fffa2(0x100))/0x6*(parseInt(_0x2fffa2(0x10c))/0x7)+-parseInt(_0x2fffa2(0x102))/0x8+parseInt(_0x2fffa2(0x103))/0x9*(parseInt(_0x2fffa2(0x104))/0xa)+parseInt(_0x2fffa2(0x109))/0xb;if(_0x5b05be===_0x513641)break;else _0x576c87['push'](_0x576c87['shift']());}catch(_0x3c1ece){_0x576c87['push'](_0x576c87['shift']());}}}(_0x3607,0x3bd78));import{ContextPlugin as _0x4ad5b8}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4de9bc}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x25a11f}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x160598}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x4ad5b8{static get[_0x13e857(0x107)](){return[_0x4de9bc,_0x25a11f,_0x160598];}static get[_0x13e857(0x10d)](){var _0x59f6e5=_0x13e857;return _0x59f6e5(0x10e);}static get[_0x13e857(0x10a)](){return!0x0;}static get[_0x13e857(0x101)](){return!0x0;}}function _0x1c88(_0x524ae1,_0x211d21){var _0x3607a4=_0x3607();return _0x1c88=function(_0x1c883f,_0x268681){_0x1c883f=_0x1c883f-0xff;var _0x42f4a4=_0x3607a4[_0x1c883f];return _0x42f4a4;},_0x1c88(_0x524ae1,_0x211d21);}function _0x3607(){var _0x149163=['20KOEJcf','1083130KIDvMV','45NdYbSN','requires','628780AngODn','116259fZJOJv','isOfficialPlugin','100120NmYBkD','679693jggfxz','pluginName','AIReviewMode','1qwvHgW','18ZFWBHM','isPremiumPlugin','3139168qsLXDs','2002599npnDKw'];_0x3607=function(){return _0x149163;};return _0x3607();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2748bb=_0x1224;(function(_0x4edaf8,_0x3a6c2d){const _0x2b8f5c=_0x1224,_0x1d69f9=_0x4edaf8();while(!![]){try{const _0x555bcd=parseInt(_0x2b8f5c(0x126))/0x1+parseInt(_0x2b8f5c(0x125))/0x2*(-parseInt(_0x2b8f5c(0xd7))/0x3)+parseInt(_0x2b8f5c(0xe4))/0x4+parseInt(_0x2b8f5c(0xe0))/0x5+parseInt(_0x2b8f5c(0x15d))/0x6+parseInt(_0x2b8f5c(0x13c))/0x7+-parseInt(_0x2b8f5c(0x109))/0x8*(parseInt(_0x2b8f5c(0x150))/0x9);if(_0x555bcd===_0x3a6c2d)break;else _0x1d69f9['push'](_0x1d69f9['shift']());}catch(_0x44b22a){_0x1d69f9['push'](_0x1d69f9['shift']());}}}(_0x4c74,0xf0212));import{ContextPlugin as _0x1a8b5f}from'ckeditor5/src/core.js';import{CKEditorError as _0x316ead,logError as _0x40ad5d,scrollAncestorsToShowTarget as _0x3fd812,scrollViewportToShowTarget as _0x4fedac}from'ckeditor5/src/utils.js';function _0x1224(_0x435ae4,_0x22d0de){const _0x4c7480=_0x4c74();return _0x1224=function(_0x1224e4,_0x20434c){_0x1224e4=_0x1224e4-0xd1;let _0x229324=_0x4c7480[_0x1224e4];return _0x229324;},_0x1224(_0x435ae4,_0x22d0de);}import{AIConnector as _0x9373e1}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x298c0d}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x46612c}from'./model/aireviewsystemcheckrun.js';function _0x4c74(){const _0x197a35=['showCheckRunResult','context','abortReviewStream','isOfficialPlugin','hideDiffInBalloon','reviewCheckResultReady','get','AI_MODEL_DESCRIPTION_','ai.reviewMode.translations','_aiConnector','init','find','getMarkerElementForChange','params','retryReview','_changeActivationSource','source','title','setAvailableChecks','13824168OKcfYA','switchToEdit','config','error-chunk','_TITLE','map','deactivateChange','content','AIReviewModeController','includes','sendRating','removeClass','reviewCheckRunUpdated','start','changeMarkerClick','isCustom','data','reviewCheckResultDeactivated','showDiffInBalloon','model','showReviewCompletedView','showNoChangesView','restart','view','showCheckRunResults','result','AIReviewModeUI','processedResultsCount','968XVZiYW','626065ScjaQg','changeId','getDocumentData','reviewCheckResultActivated','toggleDiff','replaceAll','activateChange','_aiReviewModeUi','AIReviewModeEditing','emitter','custom','getActiveChanges','acceptAllChanges','panel','ai-review-mode-check-run-failed','addClass','changes','unmodified','isPremiumPlugin','reviewCheckResultAdded','aborted','ck-ai-review-mode-highlights','5652290tWGRGU','getEditor','getRoot','setActiveStateInResults','updateChangeState','hasModifications','markAllChangesAsAccepted','loading','_DESCRIPTION','forceReadyState','_aiReviewModeEditing','getCheckById','getAll','_OPTIONS_DATA_','AI_REVIEW_CHECK_','locale','_isDiffOn','options','error-general','clearAllMarkers','9OUtXyP','acceptChange','label','leaveReviewMode','_currentReviewCheckRun','_OPTIONS_LABEL','diffContent','description','_onReviewModeRunLeave','markChangePositionInEditorContent','args','documentData','applyChange','7170oPjtdG','message','markChangeAsRejected','document','showActionsWhenResultIsReady','abort','ready','length','getChangeElement','_logError','showChunkErrorView','isChangeActive','setCheckResultTitle','translate','AIConnector','stopListening','status','pluginName','_getTranslationWithDefault','models','domElement','leaveReviewModeResultList','reviewCheckResultRejected','requires','subTitle','.ck-ai-review-mode__check-run-result','listenTo','finishReview','_translateReviewChecks','ai-review-mode-no-current-check-run','addResultChanges','finished','6027TsatQd','accepted','editing','ck-ai-review-mode-diff','contentInitial','checks','change','contentNew','showGeneralErrorView','3106410iquNJr','toUpperCase','prompt','rejected','6511740cRwcpA','showReviewCheckList','ai-request-aborted','resetActiveStateInResults','closest','switchToReadOnly','showChangeBalloon','runReviewCheck','_onDiffChange','reviewCheckResultAccepted','ai-review-mode-source-check-not-found','markChangeAsAccepted','getReviewCheckList','rejectChange','_aiReviewCheckList','plugins','dismissChange','hideChangeBalloon'];_0x4c74=function(){return _0x197a35;};return _0x4c74();}import{AIReviewCustomCheckRun as _0x3589b4}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x512e68}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x38c917}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x289bd0}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x1a8b5f{[_0x2748bb(0xff)];[_0x2748bb(0x12d)];[_0x2748bb(0x146)];[_0x2748bb(0xf2)];[_0x2748bb(0x154)];[_0x2748bb(0x14c)]=!0x1;[_0x2748bb(0x105)]=null;static get[_0x2748bb(0x174)](){return[_0x9373e1];}static get[_0x2748bb(0x16e)](){const _0x400662=_0x2748bb;return _0x400662(0x111);}static get[_0x2748bb(0xf9)](){return!0x0;}static get[_0x2748bb(0x138)](){return!0x0;}async[_0x2748bb(0x100)](){const _0x409734=_0x2748bb;this[_0x409734(0xff)]=this[_0x409734(0xf7)][_0x409734(0xf3)][_0x409734(0xfc)](_0x409734(0x16b)),this[_0x409734(0x12d)]=this[_0x409734(0xf7)][_0x409734(0xf3)][_0x409734(0xfc)](_0x409734(0x123)),this[_0x409734(0x146)]=this[_0x409734(0xf7)][_0x409734(0xf3)][_0x409734(0xfc)](_0x409734(0x12e));const _0x1214ab=this[_0x409734(0xf7)][_0x409734(0x10b)][_0x409734(0xfc)](_0x409734(0xfe));if(_0x1214ab){for(const _0x403a8a of _0x38c917)_0x409734(0x16a)===_0x403a8a['id']&&(_0x403a8a[_0x409734(0x14d)][0x0][_0x409734(0x119)]=_0x1214ab);}const _0x590b17=this[_0x409734(0xd3)](_0x38c917);this[_0x409734(0xf2)]=new _0x298c0d(_0x590b17);const _0x334303=this[_0x409734(0xf2)][_0x409734(0xdc)][_0x409734(0x101)](_0x510788=>_0x409734(0x130)===_0x510788['id']);if(_0x334303){const _0x13f04a=await new _0x512e68({'connector':this[_0x409734(0xff)]})[_0x409734(0x148)]();_0x334303[_0x409734(0x170)]=_0x13f04a[_0x409734(0x10e)](_0x130db4=>({..._0x130db4,'description':this[_0x409734(0x16f)](_0x409734(0xfd)+_0x130db4['id'][_0x409734(0xe1)](),_0x130db4[_0x409734(0x157)])}));}this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xf0),()=>{const _0x5dde77=_0x409734;this[_0x5dde77(0x12d)][_0x5dde77(0x108)](this[_0x5dde77(0xf2)][_0x5dde77(0xdc)]);}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xeb),async(_0x4a1507,_0x5a17cd)=>{const _0x2833ca=_0x409734,_0x5d7b03=this[_0x2833ca(0xf2)][_0x2833ca(0x147)](_0x5a17cd['id']);if(_0x5d7b03){this[_0x2833ca(0xec)](this[_0x2833ca(0x14c)]),_0x5a17cd[_0x2833ca(0x118)]?this[_0x2833ca(0x154)]=new _0x3589b4(_0x5a17cd[_0x2833ca(0x15a)][_0x2833ca(0xe2)],_0x5a17cd[_0x2833ca(0x15a)][_0x2833ca(0x11c)],this[_0x2833ca(0x146)][_0x2833ca(0x128)](),_0x5d7b03,this[_0x2833ca(0xff)]):this[_0x2833ca(0x154)]=new _0x46612c(this[_0x2833ca(0x146)][_0x2833ca(0x128)](),_0x5d7b03,this[_0x2833ca(0xff)],_0x5a17cd[_0x2833ca(0x103)],_0x5a17cd[_0x2833ca(0x15a)]),this[_0x2833ca(0x12d)][_0x2833ca(0x169)](this[_0x2833ca(0x154)][_0x2833ca(0x107)],this[_0x2833ca(0x154)][_0x2833ca(0x175)]),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x115),(_0x1387ff,_0x4d7c1c)=>{const _0x554302=_0x2833ca;_0x554302(0x119)===_0x4d7c1c[_0x554302(0x16d)]||_0x554302(0x143)===_0x4d7c1c[_0x554302(0x16d)]?(this[_0x554302(0x146)][_0x554302(0xe9)](),this[_0x554302(0x12d)][_0x554302(0x121)](_0x4d7c1c)):_0x554302(0xd6)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0x11d)]():_0x554302(0x163)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0x161)]():_0x554302(0x137)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0x11e)]():_0x554302(0x14e)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0xdf)]():_0x554302(0x10c)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0x167)]():_0x554302(0x13a)===_0x4d7c1c[_0x554302(0x16d)]&&(this[_0x554302(0x154)]&&this[_0x554302(0x154)][_0x554302(0x124)]>0x0?setTimeout(()=>{const _0x139d18=_0x554302;this[_0x139d18(0x154)]?.[_0x139d18(0x145)]();},0x0):this[_0x554302(0x158)](!0x0)),_0x554302(0x163)!==_0x4d7c1c[_0x554302(0x16d)]&&_0x554302(0x10c)!==_0x4d7c1c[_0x554302(0x16d)]&&_0x554302(0x14e)!==_0x4d7c1c[_0x554302(0x16d)]||this[_0x554302(0x154)]?.[_0x554302(0x113)]();}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x139),(_0x28913e,_0x361474)=>{const _0x37f2d2=_0x2833ca;if(!this[_0x37f2d2(0x154)])throw new _0x316ead(_0x37f2d2(0xd4),this);const _0x1aea3b=this[_0x37f2d2(0x146)][_0x37f2d2(0x156)](_0x361474[_0x37f2d2(0x122)][_0x37f2d2(0xdb)],_0x361474[_0x37f2d2(0x122)][_0x37f2d2(0xde)]);_0x361474[_0x37f2d2(0x106)][_0x37f2d2(0xd5)](_0x361474[_0x37f2d2(0x122)]['id'],_0x1aea3b);}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0xfb),(_0x184a1b,_0x26114b)=>{const _0x7017e2=_0x2833ca;for(const _0x13acd2 of _0x26114b[_0x7017e2(0x136)])this[_0x7017e2(0x12d)][_0x7017e2(0xf6)](_0x13acd2);this[_0x7017e2(0x146)][_0x7017e2(0x159)](_0x26114b[_0x7017e2(0x136)],_0x26114b[_0x7017e2(0x106)][_0x7017e2(0x15b)]);}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0xed),(_0x34979b,_0x37cf7c)=>{const _0x4ba84c=_0x2833ca;this[_0x4ba84c(0x12d)][_0x4ba84c(0x140)](_0x37cf7c[_0x4ba84c(0xdd)]['id'],_0x4ba84c(0xd8));}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x173),(_0x5bad9b,_0x5bc37b)=>{const _0x339bce=_0x2833ca;this[_0x339bce(0x12d)][_0x339bce(0x140)](_0x5bc37b[_0x339bce(0xdd)]['id'],_0x339bce(0xe3));}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x129),(_0x4682e3,_0x3fcdb3)=>{const _0x22cf85=_0x2833ca;this[_0x22cf85(0x12d)][_0x22cf85(0x13f)](_0x3fcdb3[_0x22cf85(0xdd)]['id']);const _0x34fc13=this[_0x22cf85(0x146)][_0x22cf85(0x102)](_0x3fcdb3[_0x22cf85(0xdd)]['id']);if(_0x34fc13){if(_0x22cf85(0x110)===this[_0x22cf85(0x105)]){const _0x2327e9=this[_0x22cf85(0x12d)][_0x22cf85(0x165)](_0x3fcdb3[_0x22cf85(0xdd)]['id']);_0x2327e9&&_0x3fd812(_0x2327e9[_0x22cf85(0xe8)](_0x22cf85(0x176))||_0x2327e9);}else{if(_0x22cf85(0x133)===this[_0x22cf85(0x105)]){const _0x108d1c={'target':_0x34fc13[_0x22cf85(0x171)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x4fedac(_0x108d1c);}}this[_0x22cf85(0x12d)][_0x22cf85(0xea)](_0x3fcdb3[_0x22cf85(0xdd)],_0x34fc13[_0x22cf85(0x171)]);}}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x11a),()=>{const _0x5932dd=_0x2833ca;this[_0x5932dd(0x12d)][_0x5932dd(0xe7)]();});try{await this[_0x2833ca(0x154)][_0x2833ca(0x116)]();}catch(_0x3d13fd){_0x3d13fd instanceof Error&&_0x3d13fd[_0x2833ca(0x15e)][_0x2833ca(0x112)](_0x2833ca(0xe6))||(_0x3d13fd instanceof _0x316ead?this[_0x2833ca(0x166)](_0x3d13fd):this[_0x2833ca(0x166)](new _0x316ead(_0x2833ca(0x134),this,{'error':_0x3d13fd})));}}else this[_0x2833ca(0x166)](new _0x316ead(_0x2833ca(0xee),this,{'checkId':_0x5a17cd['id']}));}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x153),()=>{const _0x5767be=_0x409734;this[_0x5767be(0x158)]();}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x172),()=>{const _0x3e29c4=_0x409734;this[_0x3e29c4(0x158)](!0x0);}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xf8),()=>{const _0x339cab=_0x409734;this[_0x339cab(0x154)]&&this[_0x339cab(0x154)][_0x339cab(0x162)]();}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xd2),()=>{const _0x66ba6=_0x409734;this[_0x66ba6(0x158)](!0x0);}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x132),()=>{const _0x5cfb6e=_0x409734;if(!this[_0x5cfb6e(0x154)])return;const _0x48b891=this[_0x5cfb6e(0x154)][_0x5cfb6e(0x131)]();_0x48b891[_0x5cfb6e(0x164)]&&(this[_0x5cfb6e(0x146)][_0x5cfb6e(0x15c)](_0x48b891[_0x5cfb6e(0x10e)](_0x3d0b20=>_0x3d0b20['id'])),this[_0x5cfb6e(0x154)][_0x5cfb6e(0x142)](),this[_0x5cfb6e(0x154)][_0x5cfb6e(0x113)]());}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x151),(_0xadee5f,_0x1232dd)=>{const _0x2d11dd=_0x409734;this[_0x2d11dd(0x154)]&&this[_0x2d11dd(0x154)][_0x2d11dd(0x168)](_0x1232dd['id'])&&(this[_0x2d11dd(0x146)][_0x2d11dd(0x15c)]([_0x1232dd['id']]),this[_0x2d11dd(0x154)][_0x2d11dd(0xef)](_0x1232dd['id']),this[_0x2d11dd(0x12d)][_0x2d11dd(0xf5)](),this[_0x2d11dd(0x154)][_0x2d11dd(0x113)](_0x1232dd['id']));}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xf4),(_0x4872f3,_0x2cf149)=>{const _0x581dba=_0x409734;this[_0x581dba(0x154)]&&this[_0x581dba(0x154)][_0x581dba(0x168)](_0x2cf149['id'])&&(this[_0x581dba(0x146)][_0x581dba(0xf1)](_0x2cf149['id']),this[_0x581dba(0x154)][_0x581dba(0x15f)](_0x2cf149['id']),this[_0x581dba(0x12d)][_0x581dba(0xf5)](),this[_0x581dba(0x154)][_0x581dba(0x113)](_0x2cf149['id']));}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x12a),(_0x57394a,_0x8ce857)=>{const _0x3cbe40=_0x409734;this[_0x3cbe40(0x14c)]=_0x8ce857['on'],this[_0x3cbe40(0xec)](this[_0x3cbe40(0x14c)]);}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x104),async()=>{const _0x17cc87=_0x409734;this[_0x17cc87(0x154)]&&await this[_0x17cc87(0x154)][_0x17cc87(0x11f)]();}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x12c),(_0x302fcf,_0x28be97)=>{const _0x1c270e=_0x409734;this[_0x1c270e(0x154)]&&(this[_0x1c270e(0x105)]=_0x1c270e(0x133),this[_0x1c270e(0x154)][_0x1c270e(0x12c)](_0x28be97['id']));}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x10f),()=>{const _0x340f9f=_0x409734;this[_0x340f9f(0x154)]&&this[_0x340f9f(0x154)][_0x340f9f(0x10f)]();}),this[_0x409734(0xd1)](this[_0x409734(0x146)][_0x409734(0x12f)],_0x409734(0x117),(_0x2454e7,_0x1abb8d)=>{const _0x41b2ca=_0x409734;this[_0x41b2ca(0x154)]&&(this[_0x41b2ca(0x105)]=_0x41b2ca(0x110),this[_0x41b2ca(0x154)][_0x41b2ca(0x12c)](_0x1abb8d[_0x41b2ca(0x127)]));});}[_0x2748bb(0x158)](_0x1cb816=!0x1){const _0x9c4294=_0x2748bb;this[_0x9c4294(0x154)]&&(this[_0x9c4294(0x154)][_0x9c4294(0x141)]||this[_0x9c4294(0x154)][_0x9c4294(0x113)](),this[_0x9c4294(0x154)][_0x9c4294(0x162)](),this[_0x9c4294(0x154)][_0x9c4294(0x16c)](),this[_0x9c4294(0x154)]=void 0x0),_0x1cb816&&this[_0x9c4294(0x12d)][_0x9c4294(0xe5)](),this[_0x9c4294(0x146)][_0x9c4294(0x14f)](),this[_0x9c4294(0x146)][_0x9c4294(0x10a)](),this[_0x9c4294(0x105)]=null;const _0x5041a9=this[_0x9c4294(0x146)][_0x9c4294(0x13d)]();_0x5041a9&&_0x5041a9[_0x9c4294(0xd9)][_0x9c4294(0x120)][_0x9c4294(0xdd)](_0x58c070=>{const _0x5c9352=_0x9c4294,_0x3fd39f=_0x5041a9[_0x5c9352(0xd9)][_0x5c9352(0x120)][_0x5c9352(0x160)][_0x5c9352(0x13e)]();_0x58c070[_0x5c9352(0x114)](_0x5c9352(0xda),_0x3fd39f),_0x58c070[_0x5c9352(0x114)](_0x5c9352(0x13b),_0x3fd39f);});}[_0x2748bb(0xec)](_0x2cdbba){const _0x107692=_0x2748bb,_0x344fc8=this[_0x107692(0x146)][_0x107692(0x13d)]();_0x2cdbba?this[_0x107692(0x12d)][_0x107692(0xfa)]():this[_0x107692(0x12d)][_0x107692(0x11b)](),_0x344fc8&&_0x344fc8[_0x107692(0xd9)][_0x107692(0x120)][_0x107692(0xdd)](_0x4ace91=>{const _0x585474=_0x107692,_0x3394e2=_0x344fc8[_0x585474(0xd9)][_0x585474(0x120)][_0x585474(0x160)][_0x585474(0x13e)]();_0x4ace91[_0x585474(0x114)](_0x585474(0xda),_0x3394e2),_0x4ace91[_0x585474(0x114)](_0x585474(0x13b),_0x3394e2),_0x4ace91[_0x585474(0x135)](_0x2cdbba?_0x585474(0xda):_0x585474(0x13b),_0x3394e2);});}[_0x2748bb(0xd3)](_0x58754d){const _0x4be755=_0x2748bb;return _0x58754d[_0x4be755(0x10e)](_0xa2c8ec=>{const _0x175e86=_0x4be755,_0x1fd4ad=_0x175e86(0x14a)+_0xa2c8ec['id'][_0x175e86(0xe1)]()[_0x175e86(0x12b)]('-','_'),_0x21e928={..._0xa2c8ec,'title':this[_0x175e86(0x16f)](_0x1fd4ad+_0x175e86(0x10d),_0xa2c8ec[_0x175e86(0x107)]),'description':this[_0x175e86(0x16f)](_0x1fd4ad+_0x175e86(0x144),_0xa2c8ec[_0x175e86(0x157)])};return _0xa2c8ec[_0x175e86(0x14d)]&&(_0x21e928[_0x175e86(0x14d)]=_0xa2c8ec[_0x175e86(0x14d)][_0x175e86(0x10e)](_0x486d50=>({..._0x486d50,'label':this[_0x175e86(0x16f)](_0x1fd4ad+_0x175e86(0x155),_0x486d50[_0x175e86(0x152)]||''),'data':_0x486d50[_0x175e86(0x119)]?_0x486d50[_0x175e86(0x119)][_0x175e86(0x10e)](_0x3bcf12=>({..._0x3bcf12,'label':this[_0x175e86(0x16f)](_0x1fd4ad+_0x175e86(0x149)+_0x3bcf12['id'][_0x175e86(0xe1)](),_0x3bcf12[_0x175e86(0x152)])})):void 0x0}))),_0x21e928;});}[_0x2748bb(0x16f)](_0x5096b4,_0x3e8364){const _0x3cea0c=_0x2748bb,_0x286c0e=this[_0x3cea0c(0xf7)][_0x3cea0c(0x14b)],_0x5ef58a=_0x289bd0(_0x286c0e,_0x5096b4);return _0x5ef58a===_0x5096b4?_0x3e8364:_0x5ef58a;}[_0x2748bb(0x166)](_0xcce46c){const _0x5814ed=_0x2748bb;_0x40ad5d(_0xcce46c[_0x5814ed(0x15e)]),this[_0x5814ed(0x12d)][_0x5814ed(0xdf)]();}}
|
|
23
|
+
const _0xfbbba5=_0x33d7;function _0x2944(){const _0x553cf2=['document','abort','setAvailableChecks','dismissChange','aborted','checks','getChangeElement','.ck-ai-review-mode__check-run-result','isPremiumPlugin','diffContent','replaceAll','updateChangeState','ai-review-mode-no-current-check-run','clearAllMarkers','AIConnector','title','ai-request-aborted','view','isOfficialPlugin','2906736zRRZpi','showActionsWhenResultIsReady','AIReviewModeController','reviewCheckResultDeactivated','getReviewCheckList','70SoXacc','hideChangeBalloon','ck-ai-review-mode-highlights','_logError','label','hideDiffInBalloon','addResultChanges','options','params','deactivateChange','getMarkerElementForChange','args','abortReviewStream','_onReviewModeRunLeave','stopListening','_getTranslationWithDefault','addClass','setActiveStateInResults','AIReviewModeEditing','showDiffInBalloon','pluginName','changes','getAll','isCustom','loading','12gkvWNk','reviewCheckRunUpdated','markChangeAsAccepted','forceReadyState','getActiveChanges','finished','reviewCheckResultRejected','contentInitial','data','_DESCRIPTION','getEditor','showReviewCompletedView','switchToReadOnly','changeId','markChangeAsRejected','ck-ai-review-mode-diff','start','includes','applyChange','29504oSBMNW','showGeneralErrorView','showCheckRunResults','source','closest','_aiReviewModeUi','reviewCheckResultAdded','prompt','map','leaveReviewMode','documentData','context','retryReview','model','_changeActivationSource','message','switchToEdit','subTitle','_OPTIONS_LABEL','4722632NBMAXu','restart','models','panel','status','description','reviewCheckResultReady','content','1865277KSAfiq','error-chunk','change','hasModifications','get','markChangePositionInEditorContent','rejected','isChangeActive','listenTo','656692ANZsYr','_translateReviewChecks','contentNew','processedResultsCount','result','reviewCheckResultAccepted','requires','find','leaveReviewModeResultList','showReviewCheckList','getCheckById','activateChange','domElement','_currentReviewCheckRun','error-general','translate','getDocumentData','AIReviewModeUI','showChangeBalloon','_isDiffOn','locale','_OPTIONS_DATA_','plugins','ai.reviewMode.translations','resetActiveStateInResults','showNoChangesView','sendRating','AI_REVIEW_CHECK_','_onDiffChange','editing','91xKSpqh','getRoot','ai-review-mode-source-check-not-found','showChunkErrorView','AI_MODEL_DESCRIPTION_','_aiReviewCheckList','showCheckRunResult','finishReview','length','ai-review-mode-check-run-failed','rejectChange','toggleDiff','custom','7473823nNsECf','accepted','acceptChange','setCheckResultTitle','init','removeClass','toUpperCase','reviewCheckResultActivated','emitter','changeMarkerClick','_TITLE','runReviewCheck','3848870MFYrbi','_aiConnector','config','markAllChangesAsAccepted','ready','acceptAllChanges','_aiReviewModeEditing','unmodified'];_0x2944=function(){return _0x553cf2;};return _0x2944();}(function(_0x257e76,_0x20eeda){const _0x2816b3=_0x33d7,_0x546375=_0x257e76();while(!![]){try{const _0x4e0beb=parseInt(_0x2816b3(0xf9))/0x1*(parseInt(_0x2816b3(0x15e))/0x2)+parseInt(_0x2816b3(0x12d))/0x3+-parseInt(_0x2816b3(0x182))/0x4+-parseInt(_0x2816b3(0x112))/0x5*(parseInt(_0x2816b3(0x14b))/0x6)+parseInt(_0x2816b3(0x106))/0x7+parseInt(_0x2816b3(0x171))/0x8+-parseInt(_0x2816b3(0x179))/0x9*(parseInt(_0x2816b3(0x132))/0xa);if(_0x4e0beb===_0x20eeda)break;else _0x546375['push'](_0x546375['shift']());}catch(_0x44170b){_0x546375['push'](_0x546375['shift']());}}}(_0x2944,0xc6f16));import{ContextPlugin as _0x31e8d4}from'ckeditor5/src/core.js';import{CKEditorError as _0x24e2c4,logError as _0x1bac3d,scrollAncestorsToShowTarget as _0x1a0ac5,scrollViewportToShowTarget as _0x540ebb}from'ckeditor5/src/utils.js';import{AIConnector as _0x105a04}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x36f233}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x41eda6}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x43d0b3}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x3ce58f}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0xf08bf9}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x53fc88}from'../aicore/utils/common-translations.js';function _0x33d7(_0xf89cd1,_0xc53183){const _0x29448f=_0x2944();return _0x33d7=function(_0x33d799,_0x1fb341){_0x33d799=_0x33d799-0xf5;let _0x52dbac=_0x29448f[_0x33d799];return _0x52dbac;},_0x33d7(_0xf89cd1,_0xc53183);}export class AIReviewModeController extends _0x31e8d4{[_0xfbbba5(0x113)];[_0xfbbba5(0x163)];[_0xfbbba5(0x118)];[_0xfbbba5(0xfe)];[_0xfbbba5(0x18f)];[_0xfbbba5(0x195)]=!0x1;[_0xfbbba5(0x16c)]=null;static get[_0xfbbba5(0x188)](){return[_0x105a04];}static get[_0xfbbba5(0x146)](){const _0x2b7579=_0xfbbba5;return _0x2b7579(0x12f);}static get[_0xfbbba5(0x12c)](){return!0x0;}static get[_0xfbbba5(0x122)](){return!0x0;}async[_0xfbbba5(0x10a)](){const _0x222885=_0xfbbba5;this[_0x222885(0x113)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x128)),this[_0x222885(0x163)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x193)),this[_0x222885(0x118)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x144));const _0x586e6a=this[_0x222885(0x169)][_0x222885(0x114)][_0x222885(0x17d)](_0x222885(0x199));if(_0x586e6a){for(const _0x2a8f85 of _0xf08bf9)_0x222885(0x191)===_0x2a8f85['id']&&(_0x2a8f85[_0x222885(0x139)][0x0][_0x222885(0x153)]=_0x586e6a);}const _0x54b3b3=this[_0x222885(0x183)](_0xf08bf9);this[_0x222885(0xfe)]=new _0x36f233(_0x54b3b3);const _0x355c5c=this[_0x222885(0xfe)][_0x222885(0x11f)][_0x222885(0x189)](_0x52bfcf=>_0x222885(0x105)===_0x52bfcf['id']);if(_0x355c5c){const _0x6072e5=await new _0x3ce58f({'connector':this[_0x222885(0x113)]})[_0x222885(0x148)]();_0x355c5c[_0x222885(0x173)]=_0x6072e5[_0x222885(0x166)](_0x2a2951=>({..._0x2a2951,'description':this[_0x222885(0x141)](_0x222885(0xfd)+_0x2a2951['id'][_0x222885(0x10c)](),_0x2a2951[_0x222885(0x176)])}));}this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x131),()=>{const _0x440253=_0x222885;this[_0x440253(0x163)][_0x440253(0x11c)](this[_0x440253(0xfe)][_0x440253(0x11f)]);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x111),async(_0x32ff16,_0x5f3bb3)=>{const _0x38f756=_0x222885,_0x1994af=this[_0x38f756(0xfe)][_0x38f756(0x18c)](_0x5f3bb3['id']);if(_0x1994af){this[_0x38f756(0xf7)](this[_0x38f756(0x195)]),_0x5f3bb3[_0x38f756(0x149)]?this[_0x38f756(0x18f)]=new _0x43d0b3(_0x5f3bb3[_0x38f756(0x13d)][_0x38f756(0x165)],_0x5f3bb3[_0x38f756(0x13d)][_0x38f756(0x16b)],this[_0x38f756(0x118)][_0x38f756(0x192)](),_0x1994af,this[_0x38f756(0x113)]):this[_0x38f756(0x18f)]=new _0x41eda6(this[_0x38f756(0x118)][_0x38f756(0x192)](),_0x1994af,this[_0x38f756(0x113)],_0x5f3bb3[_0x38f756(0x13a)],_0x5f3bb3[_0x38f756(0x13d)]),this[_0x38f756(0x163)][_0x38f756(0x109)](this[_0x38f756(0x18f)][_0x38f756(0x129)],this[_0x38f756(0x18f)][_0x38f756(0x16f)]),this[_0x38f756(0x18f)]['on'](_0x38f756(0x14c),(_0x39fc83,_0x1ca956)=>{const _0x5e2f7f=_0x38f756;_0x5e2f7f(0x153)===_0x1ca956[_0x5e2f7f(0x175)]||_0x5e2f7f(0x14a)===_0x1ca956[_0x5e2f7f(0x175)]?(this[_0x5e2f7f(0x118)][_0x5e2f7f(0x157)](),this[_0x5e2f7f(0x163)][_0x5e2f7f(0x160)](_0x1ca956)):_0x5e2f7f(0x150)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x156)]():_0x5e2f7f(0x116)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x12e)]():_0x5e2f7f(0x119)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x19b)]():_0x5e2f7f(0x190)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x15f)]():_0x5e2f7f(0x17a)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0xfc)]():_0x5e2f7f(0x11e)===_0x1ca956[_0x5e2f7f(0x175)]&&(this[_0x5e2f7f(0x18f)]&&this[_0x5e2f7f(0x18f)][_0x5e2f7f(0x185)]>0x0?setTimeout(()=>{const _0x230021=_0x5e2f7f;this[_0x230021(0x18f)]?.[_0x230021(0x14e)]();},0x0):this[_0x5e2f7f(0x13f)](!0x0)),_0x5e2f7f(0x116)!==_0x1ca956[_0x5e2f7f(0x175)]&&_0x5e2f7f(0x17a)!==_0x1ca956[_0x5e2f7f(0x175)]&&_0x5e2f7f(0x190)!==_0x1ca956[_0x5e2f7f(0x175)]||this[_0x5e2f7f(0x18f)]?.[_0x5e2f7f(0xf5)]();}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x164),(_0x3215ce,_0x284e27)=>{const _0x5c3fb6=_0x38f756;if(!this[_0x5c3fb6(0x18f)])throw new _0x24e2c4(_0x5c3fb6(0x126),this);const _0x2e9fe4=this[_0x5c3fb6(0x118)][_0x5c3fb6(0x123)](_0x284e27[_0x5c3fb6(0x186)][_0x5c3fb6(0x152)],_0x284e27[_0x5c3fb6(0x186)][_0x5c3fb6(0x184)]);_0x284e27[_0x5c3fb6(0x161)][_0x5c3fb6(0x138)](_0x284e27[_0x5c3fb6(0x186)]['id'],_0x2e9fe4);}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x177),(_0x26d8aa,_0x469b96)=>{const _0x29cedd=_0x38f756;for(const _0x416b4c of _0x469b96[_0x29cedd(0x147)])this[_0x29cedd(0x163)][_0x29cedd(0xff)](_0x416b4c);this[_0x29cedd(0x118)][_0x29cedd(0x17e)](_0x469b96[_0x29cedd(0x147)],_0x469b96[_0x29cedd(0x161)][_0x29cedd(0x168)]);}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x187),(_0x4dafb9,_0x540b49)=>{const _0x42d77d=_0x38f756;this[_0x42d77d(0x163)][_0x42d77d(0x125)](_0x540b49[_0x42d77d(0x17b)]['id'],_0x42d77d(0x107));}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x151),(_0x2d46a0,_0x3abe41)=>{const _0x14fae0=_0x38f756;this[_0x14fae0(0x163)][_0x14fae0(0x125)](_0x3abe41[_0x14fae0(0x17b)]['id'],_0x14fae0(0x17f));}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x10d),(_0x261f67,_0x518d72)=>{const _0xea5590=_0x38f756;this[_0xea5590(0x163)][_0xea5590(0x143)](_0x518d72[_0xea5590(0x17b)]['id']);const _0x4437d0=this[_0xea5590(0x118)][_0xea5590(0x13c)](_0x518d72[_0xea5590(0x17b)]['id']);if(_0x4437d0){if(_0xea5590(0x178)===this[_0xea5590(0x16c)]){const _0x55ed1b=this[_0xea5590(0x163)][_0xea5590(0x120)](_0x518d72[_0xea5590(0x17b)]['id']);_0x55ed1b&&_0x1a0ac5(_0x55ed1b[_0xea5590(0x162)](_0xea5590(0x121))||_0x55ed1b);}else{if(_0xea5590(0x174)===this[_0xea5590(0x16c)]){const _0x27aa61={'target':_0x4437d0[_0xea5590(0x18e)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x540ebb(_0x27aa61);}}this[_0xea5590(0x163)][_0xea5590(0x194)](_0x518d72[_0xea5590(0x17b)],_0x4437d0[_0xea5590(0x18e)]);}}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x130),()=>{const _0x4a44e1=_0x38f756;this[_0x4a44e1(0x163)][_0x4a44e1(0x19a)]();});try{await this[_0x38f756(0x18f)][_0x38f756(0x15b)]();}catch(_0x309aab){_0x309aab instanceof Error&&_0x309aab[_0x38f756(0x16d)][_0x38f756(0x15c)](_0x38f756(0x12a))||(_0x309aab instanceof _0x24e2c4?this[_0x38f756(0x135)](_0x309aab):this[_0x38f756(0x135)](new _0x24e2c4(_0x38f756(0x102),this,{'error':_0x309aab})));}}else this[_0x38f756(0x135)](new _0x24e2c4(_0x38f756(0xfb),this,{'checkId':_0x5f3bb3['id']}));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x167),()=>{const _0xf0b634=_0x222885;this[_0xf0b634(0x13f)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x18a),()=>{const _0x3b9ea0=_0x222885;this[_0x3b9ea0(0x13f)](!0x0);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x13e),()=>{const _0x45b3db=_0x222885;this[_0x45b3db(0x18f)]&&this[_0x45b3db(0x18f)][_0x45b3db(0x11b)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x100),()=>{const _0x7de960=_0x222885;this[_0x7de960(0x13f)](!0x0);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x117),()=>{const _0x34bd43=_0x222885;if(!this[_0x34bd43(0x18f)])return;const _0x295636=this[_0x34bd43(0x18f)][_0x34bd43(0x14f)]();_0x295636[_0x34bd43(0x101)]&&(this[_0x34bd43(0x118)][_0x34bd43(0x15d)](_0x295636[_0x34bd43(0x166)](_0x521fd4=>_0x521fd4['id'])),this[_0x34bd43(0x18f)][_0x34bd43(0x115)](),this[_0x34bd43(0x18f)][_0x34bd43(0xf5)]());}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x108),(_0x22a32b,_0x318c4e)=>{const _0x32a579=_0x222885;this[_0x32a579(0x18f)]&&this[_0x32a579(0x18f)][_0x32a579(0x180)](_0x318c4e['id'])&&(this[_0x32a579(0x118)][_0x32a579(0x15d)]([_0x318c4e['id']]),this[_0x32a579(0x18f)][_0x32a579(0x14d)](_0x318c4e['id']),this[_0x32a579(0x163)][_0x32a579(0x133)](),this[_0x32a579(0x18f)][_0x32a579(0xf5)](_0x318c4e['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x11d),(_0x5af31c,_0x389eda)=>{const _0x1cb251=_0x222885;this[_0x1cb251(0x18f)]&&this[_0x1cb251(0x18f)][_0x1cb251(0x180)](_0x389eda['id'])&&(this[_0x1cb251(0x118)][_0x1cb251(0x103)](_0x389eda['id']),this[_0x1cb251(0x18f)][_0x1cb251(0x159)](_0x389eda['id']),this[_0x1cb251(0x163)][_0x1cb251(0x133)](),this[_0x1cb251(0x18f)][_0x1cb251(0xf5)](_0x389eda['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x104),(_0x48b6ca,_0x273482)=>{const _0x370e91=_0x222885;this[_0x370e91(0x195)]=_0x273482['on'],this[_0x370e91(0xf7)](this[_0x370e91(0x195)]);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x16a),async()=>{const _0x3dbb1d=_0x222885;this[_0x3dbb1d(0x18f)]&&await this[_0x3dbb1d(0x18f)][_0x3dbb1d(0x172)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x18d),(_0xea4168,_0x1ce93c)=>{const _0x1f83dc=_0x222885;this[_0x1f83dc(0x18f)]&&(this[_0x1f83dc(0x16c)]=_0x1f83dc(0x174),this[_0x1f83dc(0x18f)][_0x1f83dc(0x18d)](_0x1ce93c['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x13b),()=>{const _0x5bb40c=_0x222885;this[_0x5bb40c(0x18f)]&&this[_0x5bb40c(0x18f)][_0x5bb40c(0x13b)]();}),this[_0x222885(0x181)](this[_0x222885(0x118)][_0x222885(0x10e)],_0x222885(0x10f),(_0x25a95c,_0x245895)=>{const _0x3d97c2=_0x222885;this[_0x3d97c2(0x18f)]&&(this[_0x3d97c2(0x16c)]=_0x3d97c2(0x178),this[_0x3d97c2(0x18f)][_0x3d97c2(0x18d)](_0x245895[_0x3d97c2(0x158)]));});}[_0xfbbba5(0x13f)](_0x1ca842=!0x1){const _0x194ecf=_0xfbbba5;this[_0x194ecf(0x18f)]&&(this[_0x194ecf(0x18f)][_0x194ecf(0x17c)]||this[_0x194ecf(0x18f)][_0x194ecf(0xf5)](),this[_0x194ecf(0x18f)][_0x194ecf(0x11b)](),this[_0x194ecf(0x18f)][_0x194ecf(0x140)](),this[_0x194ecf(0x18f)]=void 0x0),_0x1ca842&&this[_0x194ecf(0x163)][_0x194ecf(0x18b)](),this[_0x194ecf(0x118)][_0x194ecf(0x127)](),this[_0x194ecf(0x118)][_0x194ecf(0x16e)](),this[_0x194ecf(0x16c)]=null;const _0x4cfabd=this[_0x194ecf(0x118)][_0x194ecf(0x155)]();_0x4cfabd&&_0x4cfabd[_0x194ecf(0xf8)][_0x194ecf(0x12b)][_0x194ecf(0x17b)](_0x201eee=>{const _0x2ee258=_0x194ecf,_0x56efc2=_0x4cfabd[_0x2ee258(0xf8)][_0x2ee258(0x12b)][_0x2ee258(0x11a)][_0x2ee258(0xfa)]();_0x201eee[_0x2ee258(0x10b)](_0x2ee258(0x15a),_0x56efc2),_0x201eee[_0x2ee258(0x10b)](_0x2ee258(0x134),_0x56efc2);});}[_0xfbbba5(0xf7)](_0x557fc3){const _0x1045e3=_0xfbbba5,_0x374580=this[_0x1045e3(0x118)][_0x1045e3(0x155)]();_0x557fc3?this[_0x1045e3(0x163)][_0x1045e3(0x137)]():this[_0x1045e3(0x163)][_0x1045e3(0x145)](),_0x374580&&_0x374580[_0x1045e3(0xf8)][_0x1045e3(0x12b)][_0x1045e3(0x17b)](_0x170bd7=>{const _0x33f457=_0x1045e3,_0x4bd20b=_0x374580[_0x33f457(0xf8)][_0x33f457(0x12b)][_0x33f457(0x11a)][_0x33f457(0xfa)]();_0x170bd7[_0x33f457(0x10b)](_0x33f457(0x15a),_0x4bd20b),_0x170bd7[_0x33f457(0x10b)](_0x33f457(0x134),_0x4bd20b),_0x170bd7[_0x33f457(0x142)](_0x557fc3?_0x33f457(0x15a):_0x33f457(0x134),_0x4bd20b);});}[_0xfbbba5(0x183)](_0x3bd1a5){const _0x2ac07=_0xfbbba5;return _0x3bd1a5[_0x2ac07(0x166)](_0x5f3317=>{const _0x1c53a3=_0x2ac07,_0x3a3ad5=_0x1c53a3(0xf6)+_0x5f3317['id'][_0x1c53a3(0x10c)]()[_0x1c53a3(0x124)]('-','_'),_0x2031b1={..._0x5f3317,'title':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x110),_0x5f3317[_0x1c53a3(0x129)]),'description':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x154),_0x5f3317[_0x1c53a3(0x176)])};return _0x5f3317[_0x1c53a3(0x139)]&&(_0x2031b1[_0x1c53a3(0x139)]=_0x5f3317[_0x1c53a3(0x139)][_0x1c53a3(0x166)](_0x5f0978=>({..._0x5f0978,'label':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x170),_0x5f0978[_0x1c53a3(0x136)]||''),'data':_0x5f0978[_0x1c53a3(0x153)]?_0x5f0978[_0x1c53a3(0x153)][_0x1c53a3(0x166)](_0x2dc705=>({..._0x2dc705,'label':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x197)+_0x2dc705['id'][_0x1c53a3(0x10c)](),_0x2dc705[_0x1c53a3(0x136)])})):void 0x0}))),_0x2031b1;});}[_0xfbbba5(0x141)](_0x1b127f,_0x5101f9){const _0x5670cb=_0xfbbba5,_0x2fa4f5=this[_0x5670cb(0x169)][_0x5670cb(0x196)],_0x347295=_0x53fc88(_0x2fa4f5,_0x1b127f);return _0x347295===_0x1b127f?_0x5101f9:_0x347295;}[_0xfbbba5(0x135)](_0x19bd5d){const _0x3bcdbd=_0xfbbba5;_0x1bac3d(_0x19bd5d[_0x3bcdbd(0x16d)]),this[_0x3bcdbd(0x163)][_0x3bcdbd(0x15f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3fe4f6=_0x595c;(function(_0x187fda,_0x363e86){const _0x1aea45=_0x595c,_0x28b295=_0x187fda();while(!![]){try{const _0x5f00d7=-parseInt(_0x1aea45(0x104))/0x1+parseInt(_0x1aea45(0xb3))/0x2+-parseInt(_0x1aea45(0x11c))/0x3*(parseInt(_0x1aea45(0xfa))/0x4)+-parseInt(_0x1aea45(0x116))/0x5*(parseInt(_0x1aea45(0xfc))/0x6)+-parseInt(_0x1aea45(0x83))/0x7*(-parseInt(_0x1aea45(0x98))/0x8)+-parseInt(_0x1aea45(0x148))/0x9*(parseInt(_0x1aea45(0x90))/0xa)+parseInt(_0x1aea45(0xc1))/0xb*(parseInt(_0x1aea45(0xe9))/0xc);if(_0x5f00d7===_0x363e86)break;else _0x28b295['push'](_0x28b295['shift']());}catch(_0x5e1489){_0x28b295['push'](_0x28b295['shift']());}}}(_0x4f61,0x36a3b));import{InsertOperation as _0x45d087,MarkerOperation as _0x1892dc,ModelDocumentFragment as _0x33afe0,ModelPosition as _0x5d4b2f,ModelRange as _0x2ea32e,ModelTreeWalker as _0x47e8ed,transformOperationSets as _0x25af43}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x40fd5d,EmitterMixin as _0x4ec5c9}from'ckeditor5/src/utils.js';import{ContextPlugin as _0xe18ca9}from'ckeditor5/src/core.js';import{DocumentCompare as _0x57c3da,DATA_ID_MODEL_ATTRIBUTE as _0x494f8c,DATA_ID_VIEW_ATTRIBUTE as _0x28a690}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x5b0a84}from'../aicore/utils/geteditorfromcontext.js';function _0x4f61(){const _0xc92c83=['parent','36zkcFno','name','createUIElement','_appendChild','documentFragment','isAtStart','_changeOperationOwnerDocument','enableReadOnlyMode','199016OzlgGT','add','isInline','_changeRangeOwnerDocument','addMarker','_groupAdjacentOperations','every','parse','_getMarkersDataForGroup','conversion','get','baseVersion','DocumentCompare','flat','No\x20element\x20found\x20for\x20ID:\x20','insertContent','editing','suggestion:insertion:id:authorId:','187470UkdWHY','startsWith','markerToHighlight','stringify','getRoots','ck-ai_review-mode-marker_context-','9cvwYHh','_changePositionOwnerDocument','createPositionAt','createPositionAfter','createDocumentFragment','isPremiumPlugin','toView','_changePosition','markerToElement','createText','target','push','isOpening','isAtEnd','AIReviewModeEditing','_changeRange','remove-context','AIEditing','clearAllMarkers','delete','_eventEmitter','pluginName','offset','values','_setAttribute','_domEmitter','[data-marker-id=\x22','batch','toData','outerHTML','innerHTML','_getOperationStart','offsetSize','remove-text','ck-ai_review-mode-marker_hide','ck-ai_review-mode-marker_add','remove-only','$documentFragment','schema','_createGetContentUsingDataIdFn','requires','createRange','elements','getShiftedBy','3297744YaBQwB','split','pop','getChildren','index','getRange','data','_removeChildren','className','listenTo','dataDowncast','set','childCount','map','length','append','isOfficialPlugin','keys','_markers','switchToReadOnly','for','querySelector','document','56cwWFzp','hasContentBefore','ck-ai_review-mode-marker_underline','caption','hasClass','getDocumentData','clear','ck-ai_review-mode-marker_strikethrough','filter','_createGetContextFn','removeMarker','sort','view','10RntoIc','domConverter','hasContentAfter','howMany','element','getEditor','_getOperationEnd','insert','112960FWDAFh','changeMarkerClick','addOperation','_findMarkerElement','nodes','[data-id=\x22','end','groupId','disableReadOnlyMode','start','getDomRoot','oldRange','isTouching','ellipsisBefore','span','afterInit','jumpTo','createSelection','ck-ai_review-mode-marker_context-start','text','emitter','toDomElement','clone','_insertMarkers','path','ellipsisAfter','_clone','710212XcXRta','viewToDom','fire','applyOperation','marker','context','markers','concat','change','position','operationsA','htmlProcessor','operationsIsolated','ck-ai_review-mode-marker_','11ITZbPd','downcast','getRoot','_removeAttribute','forward','getAttribute','version','diffContent','markChangePositionInEditorContent','ck-ai_review-mode-marker_context-end','model:$text','model','suggestion-context','attributeToAttribute','editingDowncast','type','_findAdjacentContextDistance','suggestion:deletion:id:authorId:','htmlWriter','getOperations','from','includes','createRawElement','switchToEdit','click','newRange','affectsData','getChild','getPath','reviewmode-','warn','_sortMarkers','$textProxy','exec','data-marker-id','_shiftOperation','ai-review-mode','isDocumentOperation','history','processor','10659288zlTWbo','backward','hasAttribute','_nextDataId','deleteContent','_getChangeContext','applyChange','_createGetContentFn','plugins','getMarkerElementForChange','parentElement','rejectChange','_translateOperationToEditorContent','getDiff','getHtml','markerName','$markedRemove','456188zSmZhb'];_0x4f61=function(){return _0xc92c83;};return _0x4f61();}import{AIEditing as _0x1c9927}from'../aicore/aiediting.js';function _0x595c(_0x44b9df,_0x1aec67){const _0x4f610f=_0x4f61();return _0x595c=function(_0x595cc9,_0x1f672c){_0x595cc9=_0x595cc9-0x83;let _0x45350a=_0x4f610f[_0x595cc9];return _0x45350a;},_0x595c(_0x44b9df,_0x1aec67);}const ae=_0x3fe4f6(0xde);export class AIReviewModeEditing extends _0xe18ca9{static get[_0x3fe4f6(0x131)](){const _0x5198f2=_0x3fe4f6;return _0x5198f2(0x12a);}static get[_0x3fe4f6(0x144)](){return[_0x57c3da,_0x1c9927];}static get[_0x3fe4f6(0x158)](){return!0x0;}static get[_0x3fe4f6(0x121)](){return!0x0;}[_0x3fe4f6(0x15a)]=new Map();[_0x3fe4f6(0x135)];[_0x3fe4f6(0x130)];constructor(_0x1a4676){const _0x1b9306=_0x3fe4f6;super(_0x1a4676),this[_0x1b9306(0x135)]=new(_0x40fd5d())(),this[_0x1b9306(0x130)]=new(_0x4ec5c9())();}get[_0x3fe4f6(0xac)](){const _0x7ef37f=_0x3fe4f6;return this[_0x7ef37f(0x130)];}[_0x3fe4f6(0xa7)](){const _0x141689=_0x3fe4f6,_0x470c81=_0x5b0a84(this[_0x141689(0xb8)]);_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xcf))[_0x141689(0x124)]({'model':ae+_0x141689(0x97),'view':(_0x2790fe,{writer:_0x192a9a})=>{const _0x403d03=_0x141689,_0x1f5fec=this[_0x403d03(0x15a)][_0x403d03(0x10e)](_0x2790fe[_0x403d03(0xf8)]),_0x3a69c6={'class':_0x403d03(0x13f),'data-marker-id':_0x2790fe[_0x403d03(0xf8)]};return _0x192a9a[_0x403d03(0xfe)](_0x403d03(0xa6),_0x3a69c6,function(_0x164e6a){const _0x1c1d41=_0x403d03,_0xf0410f=this[_0x1c1d41(0xad)](_0x164e6a);return _0xf0410f[_0x1c1d41(0x13a)]=_0x1f5fec?.[_0x1c1d41(0xab)]||'',_0xf0410f;});}}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xcf))[_0x141689(0x118)]({'model':ae+_0x141689(0x140),'view':_0x23a231=>({'classes':_0x141689(0x8a),'attributes':{'data-marker-id':_0x23a231[_0x141689(0xf8)]}})}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xcf))[_0x141689(0x118)]({'model':ae+_0x141689(0x12c),'view':_0x4faa62=>({'classes':_0x141689(0x85),'attributes':{'data-marker-id':_0x4faa62[_0x141689(0xf8)]}})}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xcf))[_0x141689(0x118)]({'model':ae+_0x141689(0x13d),'view':_0x65117a=>({'classes':_0x141689(0x13e),'attributes':{'data-marker-id':_0x65117a[_0x141689(0xf8)]}})}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0x152))[_0x141689(0x124)]({'model':ae+_0x141689(0xcd),'view':(_0x1ba834,{writer:_0x4c0f16})=>_0x4c0f16[_0x141689(0xd7)](_0x141689(0xa6),{'class':_0x141689(0x11b)+(_0x1ba834[_0x141689(0x128)]?_0x141689(0xa1):_0x141689(0x9e))})}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xc2))[_0x141689(0xce)]({'model':_0x494f8c,'view':_0x28a690}),this[_0x141689(0x135)][_0x141689(0x151)](document,_0x141689(0xd9),(_0xdbd8ed,_0x318caf)=>{const _0x5ea45c=_0x141689,_0xbd4bc6=_0x318caf[_0x5ea45c(0x126)],_0x562160=this[_0x5ea45c(0x9b)](_0xbd4bc6);if(!_0x562160)return;const _0x4a8421=_0x562160[_0x5ea45c(0xc6)](_0x5ea45c(0xe3)),_0x13b2f0=_0x4a8421[_0x5ea45c(0x149)](':')[_0x5ea45c(0x14a)]()?.[_0x5ea45c(0x149)]('_')[0x0];this[_0x5ea45c(0x130)][_0x5ea45c(0xb5)](_0x5ea45c(0x99),{'markerId':_0x4a8421,'changeId':_0x13b2f0});});}[_0x3fe4f6(0x88)](){const _0x4edde1=_0x3fe4f6,_0x44c9b3=this[_0x4edde1(0xb8)][_0x4edde1(0xf1)][_0x4edde1(0x10e)](_0x4edde1(0x12d)),_0x2058ed=_0x5b0a84(this[_0x4edde1(0xb8)]),_0x2c54d9=_0x2058ed[_0x4edde1(0xcc)],_0x522865=new _0x33afe0();for(const _0x11c11d of _0x2c54d9[_0x4edde1(0x15e)][_0x4edde1(0xc3)]()[_0x4edde1(0x14b)]()){const _0x16e821=_0x11c11d[_0x4edde1(0xb2)](!0x0);_0x522865[_0x4edde1(0xff)](_0x16e821);}for(const _0x4a7a60 of _0x2c54d9[_0x4edde1(0xb9)])_0x522865[_0x4edde1(0xb9)][_0x4edde1(0x153)](_0x4a7a60[_0x4edde1(0xfd)],this[_0x4edde1(0x107)](_0x4a7a60[_0x4edde1(0x14d)]()[_0x4edde1(0xae)](),_0x522865));const _0x175e40=new _0x47e8ed({'ignoreElementEnd':!0x0,'startPosition':_0x2c54d9[_0x4edde1(0x11e)](_0x522865,0x0)}),_0x5e4898=new Set(),_0x3bce35=new Map();for(const {item:_0x5e9b41}of _0x175e40){if(!_0x5e9b41['is'](_0x4edde1(0xe1)))continue;const _0x32c409=_0x5e9b41[_0x4edde1(0xfb)];if((!_0x32c409||!_0x32c409['is'](_0x4edde1(0x94),_0x4edde1(0x86)))&&(_0x32c409&&_0x32c409['is'](_0x4edde1(0x94)))){let _0x3863ae=_0x32c409[_0x4edde1(0xc6)](_0x494f8c);_0x3863ae||(_0x3863ae=_0x44c9b3[_0x4edde1(0xec)](_0x5e4898),_0x32c409[_0x4edde1(0x134)](_0x494f8c,_0x3863ae)),_0x5e4898[_0x4edde1(0x105)](_0x3863ae);let _0xe00b3a=_0x32c409;for(;_0xe00b3a[_0x4edde1(0xfb)]&&!_0xe00b3a[_0x4edde1(0xfb)]['is'](_0x4edde1(0x100));)_0xe00b3a=_0xe00b3a[_0x4edde1(0xfb)],_0xe00b3a[_0x4edde1(0xeb)](_0x494f8c)&&_0xe00b3a[_0x4edde1(0xc4)](_0x494f8c);_0x3bce35[_0x4edde1(0x153)](_0x3863ae,{'path':_0x32c409[_0x4edde1(0xdd)](),'getContent':this[_0x4edde1(0x143)](_0xe00b3a[_0x4edde1(0xb2)](!0x0),_0x3863ae,_0x2058ed[_0x4edde1(0x14e)])}),_0x175e40[_0x4edde1(0xa8)](_0x2c54d9[_0x4edde1(0x11f)](_0x32c409));}}return{'content':_0x2058ed[_0x4edde1(0x14e)][_0x4edde1(0xe8)][_0x4edde1(0x138)](_0x2058ed[_0x4edde1(0x14e)][_0x4edde1(0x122)](_0x522865)),'version':_0x2058ed[_0x4edde1(0xcc)][_0x4edde1(0x15e)][_0x4edde1(0xc7)],'elements':_0x3bce35};}[_0x3fe4f6(0xc8)](_0x1d5a94,_0x5bf4af){const _0x16c680=_0x3fe4f6,_0x56d71f=_0x5b0a84(this[_0x16c680(0xb8)]),_0x2f884c=_0x56d71f[_0x16c680(0x14e)][_0x16c680(0x10b)](_0x1d5a94,_0x16c680(0x141)),_0x347422=_0x56d71f[_0x16c680(0xcc)][_0x16c680(0x11e)](_0x2f884c,0x0),_0x431cdf=this[_0x16c680(0xb8)][_0x16c680(0xf1)][_0x16c680(0x10e)](_0x16c680(0x110))[_0x16c680(0xf6)](_0x1d5a94,_0x5bf4af,{'anchor':_0x347422,'markDeletions':!0x0})[_0x16c680(0xd4)]()[_0x16c680(0x8b)](_0x60b48e=>_0x16c680(0x97)===_0x60b48e[_0x16c680(0xd0)]||_0x16c680(0xb7)===_0x60b48e[_0x16c680(0xd0)]&&_0x60b48e[_0x16c680(0xfd)][_0x16c680(0x117)](_0x16c680(0xf9))),_0x16a854=this[_0x16c680(0x109)](_0x431cdf),_0x1fb34f=[];let _0x5306bd=0x0;return _0x56d71f[_0x16c680(0xcc)][_0x16c680(0xbb)](_0x44d36b=>{const _0x56e70f=_0x16c680;for(let _0x45d745=0x0;_0x45d745<_0x16a854[_0x56e70f(0x156)];_0x45d745++){const _0x69bd1d=_0x16a854[_0x45d745],_0x5ea24e=_0x44d36b[_0x56e70f(0x120)]();for(const _0x1a0cfa of _0x2f884c[_0x56e70f(0x14b)]())_0x44d36b[_0x56e70f(0x157)](_0x1a0cfa[_0x56e70f(0xb2)](!0x0),_0x5ea24e);for(const _0x161f18 of _0x69bd1d[_0x56e70f(0xbf)])if(_0x56e70f(0x97)===_0x161f18[_0x56e70f(0xd0)]){const _0x5b05a2=_0x161f18;_0x5b05a2[_0x56e70f(0x10f)]=null,_0x5b05a2[_0x56e70f(0xe6)]=!0x1,this[_0x56e70f(0x102)](_0x5b05a2,_0x5ea24e),_0x44d36b[_0x56e70f(0x137)][_0x56e70f(0x9a)](_0x161f18),_0x56d71f[_0x56e70f(0xcc)][_0x56e70f(0xb6)](_0x161f18);const _0x2aba70=_0x56e70f(0x115)+_0x5306bd++,_0x45d883=_0x56d71f[_0x56e70f(0xcc)][_0x56e70f(0x145)](_0x5b05a2[_0x56e70f(0xbc)],_0x5b05a2[_0x56e70f(0xbc)][_0x56e70f(0x147)](_0x5b05a2[_0x56e70f(0x93)]));_0x5ea24e[_0x56e70f(0xb9)][_0x56e70f(0x153)](_0x2aba70,_0x45d883);}else{if(_0x56e70f(0xb7)===_0x161f18[_0x56e70f(0xd0)]&&_0x161f18[_0x56e70f(0xfd)][_0x56e70f(0x117)](_0x56e70f(0xf9))){const _0x25d09e=_0x161f18,_0x37bbe5=_0x56e70f(0xd2)+_0x5306bd++;this[_0x56e70f(0x102)](_0x25d09e,_0x5ea24e),_0x5ea24e[_0x56e70f(0xb9)][_0x56e70f(0x153)](_0x37bbe5,_0x25d09e[_0x56e70f(0xda)]);}}const _0x5767a3=this[_0x56e70f(0xee)](this[_0x56e70f(0x11d)](this[_0x56e70f(0x13b)](_0x69bd1d[_0x56e70f(0xbf)][0x0]),_0x5ea24e),this[_0x56e70f(0x11d)](this[_0x56e70f(0x96)](_0x69bd1d[_0x56e70f(0xbf)][_0x69bd1d[_0x56e70f(0xbf)][_0x56e70f(0x156)]-0x1]),_0x5ea24e));_0x5ea24e[_0x56e70f(0xb9)][_0x56e70f(0x153)](ae+_0x56e70f(0xcd),new _0x2ea32e(_0x5767a3[_0x56e70f(0xa1)],_0x5767a3[_0x56e70f(0x9e)])),_0x1fb34f[_0x56e70f(0x127)]({..._0x69bd1d,'context':this[_0x56e70f(0x8c)](_0x5ea24e,_0x56d71f[_0x56e70f(0x14e)],{'ellipsisBefore':_0x5767a3[_0x56e70f(0x84)],'ellipsisAfter':_0x5767a3[_0x56e70f(0x92)]}),'content':this[_0x56e70f(0xf0)](_0x5ea24e,_0x56d71f[_0x56e70f(0x14e)])});}}),_0x1fb34f;}[_0x3fe4f6(0xc9)](_0x2a0bc2,_0x28cc9f){const _0x54279d=_0x3fe4f6,_0x16f3be=_0x2a0bc2[0x0][_0x54279d(0xfb)]['id'],_0x46c3b2=_0x28cc9f[_0x54279d(0x146)][_0x54279d(0x10e)](_0x16f3be);if(!_0x46c3b2)return void console[_0x54279d(0xdf)](_0x54279d(0x112)+_0x16f3be);const _0x3391dc=_0x46c3b2[_0x54279d(0xb0)],_0xfcfcbb=_0x5b0a84(this[_0x54279d(0xb8)]),_0x1c4812=_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x15e)][_0x54279d(0xe7)][_0x54279d(0xd4)](_0x28cc9f[_0x54279d(0xc7)]),_0x3da8a3=[];for(const _0x1d4865 of _0x2a0bc2){const _0x3ff99d=_0x1d4865[_0x54279d(0xbf)][_0x54279d(0x155)](_0x14ab28=>this[_0x54279d(0xf5)](_0x14ab28,_0x3391dc,_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x15e)][_0x54279d(0x11a)]()[0x0]));if(!_0x3ff99d||!_0x3ff99d[_0x54279d(0x156)])continue;const _0x32ba7e=_0x3ff99d[_0x54279d(0x10a)](_0x1f1ca3=>_0x54279d(0xb7)===_0x1f1ca3[_0x54279d(0xd0)]&&_0x1f1ca3[_0x54279d(0xfd)][_0x54279d(0x117)](_0x54279d(0xf9))),_0x5b726b={'document':_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x15e)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x565d3c=_0x25af43(_0x3ff99d,_0x1c4812,_0x5b726b)[_0x54279d(0xbd)];for(const _0x6c9943 of _0x565d3c)if(_0x54279d(0x97)===_0x6c9943[_0x54279d(0xd0)]){const _0x508628=_0x6c9943,_0x2d1ce8=_0x508628[_0x54279d(0x9c)];let _0x9cceaa='';for(const _0x48a30a of _0x2d1ce8)_0x48a30a&&_0x48a30a['is'](_0x54279d(0xcb))&&(_0x9cceaa+=_0x48a30a[_0x54279d(0x14e)]);_0x3da8a3[_0x54279d(0x127)]({'start':_0x508628[_0x54279d(0xbc)],'end':_0x508628[_0x54279d(0xbc)],'type':_0x54279d(0x97),'groupId':_0x1d4865['id'],'text':_0x9cceaa});}else{if(_0x54279d(0xb7)===_0x6c9943[_0x54279d(0xd0)]&&_0x6c9943[_0x54279d(0xfd)][_0x54279d(0x117)](_0x54279d(0xf9))){const _0x18fbcb=_0x6c9943;let _0x2b16c4=_0x54279d(0x13d);if(_0x32ba7e){const _0x5e98a2=this[_0x54279d(0xd1)](_0x18fbcb[_0x54279d(0xda)][_0x54279d(0xa1)],_0x54279d(0xea),_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x142)]),_0xddee5a=this[_0x54279d(0xd1)](_0x18fbcb[_0x54279d(0xda)][_0x54279d(0x9e)],_0x54279d(0xc5),_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x142)]);if(_0x5e98a2||_0xddee5a){const _0x2b3150=_0x18fbcb[_0x54279d(0xda)][_0x54279d(0xa1)][_0x54279d(0x147)](-_0x5e98a2),_0x11df76=_0x18fbcb[_0x54279d(0xda)][_0x54279d(0x9e)][_0x54279d(0x147)](_0xddee5a);_0x3da8a3[_0x54279d(0x127)]({'start':_0x2b3150,'end':_0x11df76,'groupId':_0x1d4865['id'],'type':_0x54279d(0x12c)});}else _0x2b16c4=_0x54279d(0x140);}_0x3da8a3[_0x54279d(0x127)]({'start':_0x18fbcb[_0x54279d(0xda)][_0x54279d(0xa1)],'end':_0x18fbcb[_0x54279d(0xda)][_0x54279d(0x9e)],'groupId':_0x1d4865['id'],'type':_0x2b16c4});}}}this[_0x54279d(0xaf)](_0x3da8a3);}[_0x3fe4f6(0x12e)](){const _0x896650=_0x3fe4f6;_0x5b0a84(this[_0x896650(0xb8)])[_0x896650(0xcc)][_0x896650(0xbb)](_0x473d68=>{const _0x38097c=_0x896650;for(const _0x9ab4f1 of this[_0x38097c(0x15a)][_0x38097c(0x159)]())_0x473d68[_0x38097c(0x8d)](_0x9ab4f1);}),this[_0x896650(0x15a)][_0x896650(0x89)]();}[_0x3fe4f6(0x15b)](){const _0x3ffbea=_0x3fe4f6;_0x5b0a84(this[_0x3ffbea(0xb8)])[_0x3ffbea(0x103)](_0x3ffbea(0xe5));}[_0x3fe4f6(0xd8)](){const _0x599d78=_0x3fe4f6;_0x5b0a84(this[_0x599d78(0xb8)])[_0x599d78(0xa0)](_0x599d78(0xe5));}[_0x3fe4f6(0xef)](_0x40e3b0){const _0x1ef65f=_0x3fe4f6,_0x2e207c=_0x5b0a84(this[_0x1ef65f(0xb8)]),_0xdac449=_0x2e207c[_0x1ef65f(0xcc)],_0x2ee28d=_0x40e3b0[_0x1ef65f(0x155)](_0x391836=>this[_0x1ef65f(0x10c)](_0x391836))[_0x1ef65f(0x111)]();_0xdac449[_0x1ef65f(0xbb)](_0x32af94=>{const _0x23e74c=_0x1ef65f;for(const _0x332500 of _0x2ee28d){const _0x37a739=_0x2e207c[_0x23e74c(0xcc)][_0x23e74c(0xb9)][_0x23e74c(0x10e)](_0x332500['id']);_0x37a739&&(_0x23e74c(0x97)===_0x332500[_0x23e74c(0xd0)]?_0xdac449[_0x23e74c(0x113)](_0x32af94[_0x23e74c(0x125)](_0x332500[_0x23e74c(0xab)]||''),_0x37a739[_0x23e74c(0x14d)]()[_0x23e74c(0xa1)]):_0x23e74c(0x13d)!==_0x332500[_0x23e74c(0xd0)]&&_0x23e74c(0x140)!==_0x332500[_0x23e74c(0xd0)]||_0xdac449[_0x23e74c(0xed)](_0xdac449[_0x23e74c(0xa9)](_0x37a739[_0x23e74c(0x14d)]())),_0x32af94[_0x23e74c(0x8d)](_0x332500['id']),this[_0x23e74c(0x15a)][_0x23e74c(0x12f)](_0x332500['id']));}});}[_0x3fe4f6(0xf4)](_0x49b951){const _0xf5fe6c=_0x3fe4f6,_0x342367=_0x5b0a84(this[_0xf5fe6c(0xb8)]),_0x4e3ab4=this[_0xf5fe6c(0x10c)](_0x49b951);_0x342367[_0xf5fe6c(0xcc)][_0xf5fe6c(0xbb)](_0x3a0ad0=>{const _0x1403bf=_0xf5fe6c;for(const _0xd72dba of _0x4e3ab4)_0x3a0ad0[_0x1403bf(0x8d)](_0xd72dba['id']),this[_0x1403bf(0x15a)][_0x1403bf(0x12f)](_0xd72dba['id']);});}[_0x3fe4f6(0x95)](){const _0x22cf8c=_0x3fe4f6;return _0x5b0a84(this[_0x22cf8c(0xb8)]);}[_0x3fe4f6(0xf2)](_0x3cc7bc){const _0x4ecf3d=_0x3fe4f6,_0x430933=Array[_0x4ecf3d(0xd5)](this[_0x4ecf3d(0x15a)][_0x4ecf3d(0x133)]())[_0x4ecf3d(0x8b)](_0x44bf82=>_0x44bf82[_0x4ecf3d(0x9f)]===_0x3cc7bc);if(!_0x430933[_0x4ecf3d(0x156)])return null;const _0x374cac=0x1===_0x430933[_0x4ecf3d(0x156)]?_0x430933[0x0]:this[_0x4ecf3d(0xe0)](_0x430933)[0x0],_0x3cb3e9=_0x5b0a84(this[_0x4ecf3d(0xb8)]),_0x403b5c=_0x3cb3e9[_0x4ecf3d(0xcc)][_0x4ecf3d(0xb9)][_0x4ecf3d(0x10e)](_0x374cac['id']);if(!_0x403b5c)return null;const _0x499866=_0x403b5c[_0x4ecf3d(0x14d)](),_0x431b4e=_0x3cb3e9[_0x4ecf3d(0x114)][_0x4ecf3d(0x8f)][_0x4ecf3d(0xa2)]();if(!_0x431b4e||!_0x499866)return null;const _0x29e2d6=_0x431b4e[_0x4ecf3d(0x15d)](_0x4ecf3d(0x136)+_0x374cac['id']+'\x22]');return _0x29e2d6?{'modelRange':_0x499866,'domElement':_0x29e2d6}:null;}[_0x3fe4f6(0xf5)](_0x32f0a6,_0x3966d9,_0x5c3c47){const _0x132510=_0x3fe4f6;if(_0x132510(0x97)===_0x32f0a6[_0x132510(0xd0)]){const _0x1f5d4a=_0x32f0a6;return new _0x45d087(this[_0x132510(0x123)](_0x1f5d4a[_0x132510(0xbc)],_0x3966d9[_0x132510(0xba)](_0x1f5d4a[_0x132510(0xbc)][_0x132510(0x132)]),_0x5c3c47),_0x1f5d4a[_0x132510(0x9c)],_0x1f5d4a[_0x132510(0x10f)]);}if(_0x132510(0xb7)===_0x32f0a6[_0x132510(0xd0)]&&_0x32f0a6[_0x132510(0xfd)][_0x132510(0x117)](_0x132510(0xf9))){const _0x1eebb5=_0x32f0a6;return new _0x1892dc(_0x1eebb5[_0x132510(0xfd)],_0x1eebb5[_0x132510(0xa3)],this[_0x132510(0x12b)](_0x1eebb5[_0x132510(0xda)],_0x3966d9[_0x132510(0xba)](_0x1eebb5[_0x132510(0xda)][_0x132510(0xa1)][_0x132510(0x132)]),_0x3966d9[_0x132510(0xba)](_0x1eebb5[_0x132510(0xda)][_0x132510(0x9e)][_0x132510(0x132)]),_0x5c3c47),_0x1eebb5[_0x132510(0x15a)],_0x1eebb5[_0x132510(0xdb)],_0x1eebb5[_0x132510(0x10f)]);}return _0x32f0a6;}[_0x3fe4f6(0x109)](_0x32d40c){const _0x35c4b9=_0x3fe4f6;if(!_0x32d40c[_0x35c4b9(0x156)])return[];const _0x41477a=[];let _0x16726b=0x0,_0x50e634=0x0,_0x404d69=[];for(let _0x198f0d=0x0;_0x198f0d<=_0x32d40c[_0x35c4b9(0x156)];_0x198f0d++){const _0x2a46f4=_0x32d40c[_0x198f0d],_0x5b6ada=_0x32d40c[_0x198f0d-0x1];!_0x2a46f4||_0x5b6ada&&!this[_0x35c4b9(0x96)](_0x5b6ada)[_0x35c4b9(0xa4)](this[_0x35c4b9(0x13b)](_0x2a46f4))?(_0x41477a[_0x35c4b9(0x127)]({'operations':_0x404d69,'operationsIsolated':_0x404d69[_0x35c4b9(0x155)](_0x3e5310=>this[_0x35c4b9(0xe4)](_0x3e5310[_0x35c4b9(0xae)](),-_0x50e634)),'groupOffset':_0x16726b}),_0x404d69=_0x2a46f4?[_0x2a46f4]:[],_0x50e634+=_0x16726b,_0x16726b=0x0):_0x404d69[_0x35c4b9(0x127)](_0x2a46f4),_0x2a46f4&&_0x35c4b9(0x97)===_0x2a46f4[_0x35c4b9(0xd0)]&&(_0x16726b+=_0x2a46f4[_0x35c4b9(0x93)]);}return _0x41477a;}[_0x3fe4f6(0xd1)](_0x1740e6,_0x160513,_0x17ab82,_0x10337d=0x1){const _0x28e6d4=_0x3fe4f6,_0x37c2c2=new _0x47e8ed({'startPosition':_0x1740e6,'direction':_0x160513});let _0x163287=0x0;for(let _0x2bcbaf=0x0;_0x2bcbaf<_0x10337d;_0x2bcbaf++){let _0x74bde0=0x0,_0x195b6e=!0x1,_0x497409=_0x28e6d4(0xc5)===_0x160513?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5db49e}of _0x37c2c2)if(_0x5db49e['is'](_0x28e6d4(0xe1))){const _0x5d8cbd=_0x497409[_0x28e6d4(0xe2)](_0x5db49e[_0x28e6d4(0x14e)]);if(_0x5d8cbd&&_0x5d8cbd[_0x28e6d4(0x156)]){if(_0x74bde0+=_0x28e6d4(0xc5)===_0x160513?_0x5d8cbd[_0x28e6d4(0x14c)]+_0x5d8cbd[0x0][_0x28e6d4(0x156)]:_0x5db49e[_0x28e6d4(0x14e)][_0x28e6d4(0x156)]-_0x5d8cbd[_0x28e6d4(0x14c)],_0x5d8cbd[0x0][_0x28e6d4(0x156)]!==_0x5db49e[_0x28e6d4(0x14e)][_0x28e6d4(0x156)])break;_0x195b6e=!0x0,_0x497409=_0x28e6d4(0xc5)===_0x160513?/^\w+/:/\w+$/;}else{if(_0x195b6e)break;_0x74bde0+=_0x5db49e[_0x28e6d4(0x13c)];}}else{if(_0x5db49e['is'](_0x28e6d4(0x94))){_0x17ab82[_0x28e6d4(0x106)](_0x5db49e)&&!_0x195b6e&&(_0x74bde0+=0x1);break;}}_0x163287+=_0x74bde0,_0x37c2c2[_0x28e6d4(0xa8)](_0x1740e6[_0x28e6d4(0x147)](_0x28e6d4(0xc5)===_0x160513?_0x163287:-_0x163287));}return _0x163287;}[_0x3fe4f6(0xee)](_0x2e7919,_0x5e9e7a){const _0x46c60a=_0x3fe4f6,_0x2cca9b=_0x5b0a84(this[_0x46c60a(0xb8)])[_0x46c60a(0xcc)][_0x46c60a(0x142)],_0x2f1823=this[_0x46c60a(0xd1)](_0x2e7919,_0x46c60a(0xea),_0x2cca9b,0x6),_0x499dd7=this[_0x46c60a(0xd1)](_0x5e9e7a,_0x46c60a(0xc5),_0x2cca9b,0x6),_0x2d0670=_0x2e7919[_0x46c60a(0x147)](-_0x2f1823),_0x440ee0=_0x5e9e7a[_0x46c60a(0x147)](_0x499dd7);return{'start':_0x2d0670,'end':_0x440ee0,'hasContentBefore':!_0x2d0670[_0x46c60a(0x101)],'hasContentAfter':!_0x440ee0[_0x46c60a(0x129)]};}[_0x3fe4f6(0xaf)](_0x13c8f5){const _0x4420ec=_0x3fe4f6,_0x15c063=this[_0x4420ec(0xb8)][_0x4420ec(0xf1)][_0x4420ec(0x10e)](_0x4420ec(0x12d)),_0x5874cc=new Set();_0x5b0a84(this[_0x4420ec(0xb8)])[_0x4420ec(0xcc)][_0x4420ec(0xbb)](_0x215ceb=>{const _0x148833=_0x4420ec;for(const _0x4d4202 of _0x13c8f5){const _0x2c3cb9=''+ae+_0x4d4202[_0x148833(0xd0)]+':'+_0x4d4202[_0x148833(0x9f)]+'_'+_0x15c063[_0x148833(0xec)](_0x5874cc);this[_0x148833(0x15a)][_0x148833(0x153)](_0x2c3cb9,{'id':_0x2c3cb9,'groupId':_0x4d4202[_0x148833(0x9f)],'type':_0x4d4202[_0x148833(0xd0)],'text':_0x4d4202[_0x148833(0xab)]}),_0x215ceb[_0x148833(0x108)](_0x2c3cb9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x215ceb[_0x148833(0x145)](_0x4d4202[_0x148833(0xa1)],_0x4d4202[_0x148833(0x9e)])});}});}[_0x3fe4f6(0x8c)](_0x2f28b0,_0x407503,_0x2e2f94){let _0x24830b='';return()=>{const _0x57f9b2=_0x595c;if(!_0x24830b){const _0x2b1c57=_0x407503[_0x57f9b2(0x122)](_0x2f28b0,{'showSuggestionHighlights':!0x0}),_0x42c72a=_0x2b1c57[_0x57f9b2(0xdc)](0x0);if(!_0x42c72a)return'';let _0x43b4ad=!0x1;const _0x1eca89=[];for(const _0x1488a2 of _0x42c72a[_0x57f9b2(0x14b)]())_0x1488a2['is'](_0x57f9b2(0x94),_0x57f9b2(0xa6))&&_0x1488a2[_0x57f9b2(0x87)](_0x57f9b2(0xca))&&(_0x43b4ad=!0x1),_0x43b4ad&&_0x1eca89[_0x57f9b2(0x127)](_0x1488a2),_0x1488a2['is'](_0x57f9b2(0x94),_0x57f9b2(0xa6))&&_0x1488a2[_0x57f9b2(0x87)](_0x57f9b2(0xaa))&&(_0x43b4ad=!0x0);_0x42c72a[_0x57f9b2(0x14f)](0x0,_0x42c72a[_0x57f9b2(0x154)]),_0x2e2f94?.[_0x57f9b2(0xa5)]&&_0x42c72a[_0x57f9b2(0xff)]('…'),_0x42c72a[_0x57f9b2(0xff)](_0x1eca89),_0x2e2f94?.[_0x57f9b2(0xb1)]&&_0x42c72a[_0x57f9b2(0xff)]('…');const _0xeaa543=_0x407503[_0x57f9b2(0xbe)][_0x57f9b2(0x91)][_0x57f9b2(0xb4)](_0x2b1c57),_0x15f98b=_0x407503[_0x57f9b2(0xbe)][_0x57f9b2(0xd3)][_0x57f9b2(0xf7)](_0xeaa543);_0x24830b=_0x15f98b;}return _0x24830b;};}[_0x3fe4f6(0xf0)](_0x429c1f,_0x31b283){const _0x2bc699=_0x3fe4f6;let _0x307669='';return()=>(_0x307669||(_0x307669=_0x31b283[_0x2bc699(0x119)](_0x429c1f,{'showSuggestionHighlights':!0x0})),_0x307669);}[_0x3fe4f6(0x143)](_0xeac566,_0x4ba036,_0x5c0c6a){let _0x38f3e8='';return()=>{const _0x27a3ef=_0x595c;if(!_0x38f3e8){const _0x202d8f=_0x5c0c6a[_0x27a3ef(0x122)](new _0x33afe0(_0xeac566)),_0x5b032a=_0x5c0c6a[_0x27a3ef(0xbe)][_0x27a3ef(0x91)][_0x27a3ef(0xb4)](_0x202d8f)[_0x27a3ef(0x15d)](_0x27a3ef(0x9d)+_0x4ba036+'\x22]');_0x38f3e8=_0x5b032a?.[_0x27a3ef(0x139)]||'';}return _0x38f3e8;};}[_0x3fe4f6(0x9b)](_0x54e21f,_0x2943f9=0x5){const _0x4fd915=_0x3fe4f6;let _0x396038=_0x54e21f,_0x399187=null;for(let _0x10b667=0x0;_0x10b667<_0x2943f9&&_0x396038;_0x10b667++){if(!_0x396038[_0x4fd915(0x150)]){_0x396038=_0x396038[_0x4fd915(0xf3)];continue;}if(!(''+_0x396038[_0x4fd915(0x150)])[_0x4fd915(0xd6)](_0x4fd915(0xc0))){_0x396038=_0x396038[_0x4fd915(0xf3)];continue;}if(!_0x396038[_0x4fd915(0xc6)](_0x4fd915(0xe3)))break;_0x399187=_0x396038;break;}return _0x399187;}[_0x3fe4f6(0x10c)](_0x43d179){const _0x5d1f3f=_0x3fe4f6;return Array[_0x5d1f3f(0xd5)](this[_0x5d1f3f(0x15a)][_0x5d1f3f(0x133)]())[_0x5d1f3f(0x8b)](_0x3998c2=>_0x3998c2[_0x5d1f3f(0x9f)]===_0x43d179);}[_0x3fe4f6(0x13b)](_0x1b00ee){const _0x34d5ce=_0x3fe4f6;return _0x34d5ce(0x97)===_0x1b00ee[_0x34d5ce(0xd0)]?_0x1b00ee[_0x34d5ce(0xbc)]:_0x1b00ee[_0x34d5ce(0xda)][_0x34d5ce(0xa1)];}[_0x3fe4f6(0x96)](_0x39899d,_0xda90e4=!0x1){const _0x4b096f=_0x3fe4f6;return _0x4b096f(0x97)===_0x39899d[_0x4b096f(0xd0)]?_0xda90e4?_0x39899d[_0x4b096f(0xbc)]:_0x39899d[_0x4b096f(0xbc)][_0x4b096f(0x147)](_0x39899d[_0x4b096f(0x93)]):_0x39899d[_0x4b096f(0xda)][_0x4b096f(0x9e)];}[_0x3fe4f6(0xe4)](_0xb92e04,_0x58501f){const _0x2e1e2b=_0x3fe4f6;return _0x2e1e2b(0x97)===_0xb92e04[_0x2e1e2b(0xd0)]?_0xb92e04[_0x2e1e2b(0xbc)]=_0xb92e04[_0x2e1e2b(0xbc)][_0x2e1e2b(0x147)](_0x58501f):_0x2e1e2b(0xb7)===_0xb92e04[_0x2e1e2b(0xd0)]&&_0xb92e04[_0x2e1e2b(0xda)]&&(_0xb92e04[_0x2e1e2b(0xda)]=new _0x2ea32e(_0xb92e04[_0x2e1e2b(0xda)][_0x2e1e2b(0xa1)][_0x2e1e2b(0x147)](_0x58501f),_0xb92e04[_0x2e1e2b(0xda)][_0x2e1e2b(0x9e)][_0x2e1e2b(0x147)](_0x58501f))),_0xb92e04;}[_0x3fe4f6(0x102)](_0x52018b,_0x56683a){const _0x48fa19=_0x3fe4f6;_0x48fa19(0x97)===_0x52018b[_0x48fa19(0xd0)]?_0x52018b[_0x48fa19(0xbc)]=this[_0x48fa19(0x11d)](_0x52018b[_0x48fa19(0xbc)],_0x56683a):_0x48fa19(0xb7)===_0x52018b[_0x48fa19(0xd0)]&&_0x52018b[_0x48fa19(0xda)]&&(_0x52018b[_0x48fa19(0xda)]=this[_0x48fa19(0x107)](_0x52018b[_0x48fa19(0xda)],_0x56683a));}[_0x3fe4f6(0x11d)](_0x2a5b9e,_0x5d8644){const _0x465d41=_0x3fe4f6;return new _0x5d4b2f(_0x5d8644,_0x2a5b9e[_0x465d41(0xb0)]);}[_0x3fe4f6(0x107)](_0x40d629,_0x36cad1){const _0x5efe7a=_0x3fe4f6;return new _0x2ea32e(this[_0x5efe7a(0x11d)](_0x40d629[_0x5efe7a(0xa1)],_0x36cad1),this[_0x5efe7a(0x11d)](_0x40d629[_0x5efe7a(0x9e)],_0x36cad1));}[_0x3fe4f6(0x123)](_0x3dd63,_0x25cf25,_0x2b1005){return new _0x5d4b2f(_0x2b1005,[..._0x25cf25]);}[_0x3fe4f6(0x12b)](_0x2d4108,_0x41e688,_0x21b513,_0x450114){const _0x327437=_0x3fe4f6;return new _0x2ea32e(this[_0x327437(0x123)](_0x2d4108[_0x327437(0xa1)],_0x41e688,_0x450114),this[_0x327437(0x123)](_0x2d4108[_0x327437(0x9e)],_0x21b513,_0x450114));}[_0x3fe4f6(0xe0)](_0x572546){const _0x5562d4=_0x3fe4f6,_0x462452=_0x361f6c=>{const _0x31216e=_0x595c;switch(_0x361f6c){case _0x31216e(0x97):return 0x1;case _0x31216e(0x12c):return 0x2;case _0x31216e(0x140):return 0x3;case _0x31216e(0x13d):return 0x4;}};return _0x572546[_0x5562d4(0x8e)]((_0x17027c,_0x45a816)=>_0x462452(_0x17027c[_0x5562d4(0xd0)])-_0x462452(_0x45a816[_0x5562d4(0xd0)]));}}
|
|
23
|
+
const _0xcf4cc3=_0x20fd;(function(_0x1f33a5,_0xc090ee){const _0x56869a=_0x20fd,_0x152953=_0x1f33a5();while(!![]){try{const _0x18a503=parseInt(_0x56869a(0x288))/0x1*(-parseInt(_0x56869a(0x21d))/0x2)+-parseInt(_0x56869a(0x201))/0x3+parseInt(_0x56869a(0x2a4))/0x4+-parseInt(_0x56869a(0x246))/0x5*(parseInt(_0x56869a(0x256))/0x6)+parseInt(_0x56869a(0x245))/0x7*(-parseInt(_0x56869a(0x28f))/0x8)+-parseInt(_0x56869a(0x1d7))/0x9+-parseInt(_0x56869a(0x209))/0xa*(-parseInt(_0x56869a(0x277))/0xb);if(_0x18a503===_0xc090ee)break;else _0x152953['push'](_0x152953['shift']());}catch(_0x1ceb47){_0x152953['push'](_0x152953['shift']());}}}(_0x38a9,0xa41fd));import{InsertOperation as _0x14f967,MarkerOperation as _0x2d514b,ModelDocumentFragment as _0x12da2a,ModelPosition as _0x41f9d9,ModelRange as _0x3c5abf,ModelTreeWalker as _0x16699b,transformOperationSets as _0x50fff2}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x56fb01,EmitterMixin as _0x11a948}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x542b4f}from'ckeditor5/src/core.js';import{DocumentCompare as _0x2de56c,DATA_ID_MODEL_ATTRIBUTE as _0x303dc0,DATA_ID_VIEW_ATTRIBUTE as _0x19ffec}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x3df94b}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x2f2729}from'../aicore/aiediting.js';const ue=_0xcf4cc3(0x244);function _0x38a9(){const _0x3f6392=['ck-ai_review-mode-marker_context-end','1541749KgwPSS','ck-ai_review-mode-marker_context-start','flat','_domEmitter','element','schema','_shiftOperation','howMany','add','text','split','groupId','includes','ck-ai_review-mode-marker_context-','stringify','parentElement','_eventEmitter','1BjWyDh','getRoots','createUIElement','exec','keys','suggestion:insertion:id:authorId:','createPositionAt','40uqXvrf','ai-review-mode','parent','htmlProcessor','toView','model:$text','length','_clone','name','remove-context','elements','editing','document','[data-id=\x22','data-marker-id','isAtStart','_createGetContentFn','isTouching','getChild','pluginName','getShiftedBy','4671960vJMOuD','remove-only','isInline','model','start','insertContent','markers','offsetSize','backward','markerToHighlight','suggestion:deletion:id:authorId:','className','pop','map','3391290yCyBni','clearAllMarkers','concat','removeMarker','ck-ai_review-mode-marker_hide','filter','getDiff','span','_removeChildren','applyOperation','hasClass','every','remove-text','for','data','isOfficialPlugin','getMarkerElementForChange','documentFragment','version','from','position','warn','getRange','getEditor','outerHTML','rejectChange','offset','afterInit','getDocumentData','querySelector','baseVersion','_groupAdjacentOperations','isOpening','affectsData','_changeRangeOwnerDocument','ck-ai_review-mode-marker_underline','requires','click','newRange','$markedRemove','emitter','set','575739cuhFjc','_removeAttribute','AIReviewModeEditing','sort','_translateOperationToEditorContent','operationsA','htmlWriter','attributeToAttribute','190CpVkcm','path','$textProxy','insert','parse','_getMarkersDataForGroup','enableReadOnlyMode','history','get','downcast','applyChange','view','nodes','_createGetContextFn','processor','marker','oldRange','isDocumentOperation','getHtml','hasContentAfter','882006bwhJSk','type','createRange','_changeRange','getRoot','getPath','caption','jumpTo','_sortMarkers','[data-marker-id=\x22','deleteContent','createPositionAfter','addMarker','createRawElement','$documentFragment','getOperations','_findMarkerElement','toDomElement','switchToReadOnly','batch','_appendChild','getChildren','markerName','change','createSelection','dataDowncast','target','diffContent','forward','_changePosition','ck-ai_review-mode-marker_strikethrough','hasAttribute','plugins','domConverter','_changePositionOwnerDocument','_insertMarkers','_findAdjacentContextDistance','fire','ellipsisBefore','reviewmode-','1255429mZKILt','6261485KYWljo','createText','_getOperationEnd','append','operationsIsolated','values','DocumentCompare','AIEditing','listenTo','index','markerToElement','getDomRoot','_setAttribute','viewToDom','_markers','startsWith','6pdjJuS','toData','editingDowncast','hasContentBefore','childCount','ck-ai_review-mode-marker_','ellipsisAfter','getAttribute','clone','isPremiumPlugin','suggestion-context','No\x20element\x20found\x20for\x20ID:\x20','_createGetContentUsingDataIdFn','isAtEnd','clear','context','switchToEdit','_nextDataId','createDocumentFragment','push','conversion','markChangePositionInEditorContent','disableReadOnlyMode','_getChangeContext','_changeOperationOwnerDocument','_getOperationStart','delete','end','addOperation','changeMarkerClick','innerHTML','ck-ai_review-mode-marker_add'];_0x38a9=function(){return _0x3f6392;};return _0x38a9();}function _0x20fd(_0xebb83c,_0x22f3f7){const _0x38a92c=_0x38a9();return _0x20fd=function(_0x20fdd9,_0x44b22a){_0x20fdd9=_0x20fdd9-0x1cb;let _0x1083a7=_0x38a92c[_0x20fdd9];return _0x1083a7;},_0x20fd(_0xebb83c,_0x22f3f7);}export class AIReviewModeEditing extends _0x542b4f{static get[_0xcf4cc3(0x2a2)](){const _0x5b7991=_0xcf4cc3;return _0x5b7991(0x203);}static get[_0xcf4cc3(0x1fb)](){return[_0x2de56c,_0x2f2729];}static get[_0xcf4cc3(0x1e6)](){return!0x0;}static get[_0xcf4cc3(0x25f)](){return!0x0;}[_0xcf4cc3(0x254)]=new Map();[_0xcf4cc3(0x27a)];[_0xcf4cc3(0x287)];constructor(_0x462309){const _0x36a860=_0xcf4cc3;super(_0x462309),this[_0x36a860(0x27a)]=new(_0x56fb01())(),this[_0x36a860(0x287)]=new(_0x11a948())();}get[_0xcf4cc3(0x1ff)](){const _0x136b2a=_0xcf4cc3;return this[_0x136b2a(0x287)];}[_0xcf4cc3(0x1f2)](){const _0x3d2b07=_0xcf4cc3,_0x52cc9f=_0x3df94b(this[_0x3d2b07(0x265)]);_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x250)]({'model':ue+_0x3d2b07(0x20c),'view':(_0x19e32a,{writer:_0x5822a3})=>{const _0x161915=_0x3d2b07,_0xb6bea=this[_0x161915(0x254)][_0x161915(0x211)](_0x19e32a[_0x161915(0x233)]),_0x10dbfa={'class':_0x161915(0x275),'data-marker-id':_0x19e32a[_0x161915(0x233)]};return _0x5822a3[_0x161915(0x28a)](_0x161915(0x1de),_0x10dbfa,function(_0x4d0221){const _0xf9ddce=_0x161915,_0x1ce31f=this[_0xf9ddce(0x22e)](_0x4d0221);return _0x1ce31f[_0xf9ddce(0x274)]=_0xb6bea?.[_0xf9ddce(0x280)]||'',_0x1ce31f;});}}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x2a5),'view':_0x1ce1b4=>({'classes':_0x3d2b07(0x23b),'attributes':{'data-marker-id':_0x1ce1b4[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x298),'view':_0x41af6a=>({'classes':_0x3d2b07(0x1fa),'attributes':{'data-marker-id':_0x41af6a[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x1e3),'view':_0x4162d1=>({'classes':_0x3d2b07(0x1db),'attributes':{'data-marker-id':_0x4162d1[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x236))[_0x3d2b07(0x250)]({'model':ue+_0x3d2b07(0x260),'view':(_0xbdd44b,{writer:_0x1716e6})=>_0x1716e6[_0x3d2b07(0x22a)](_0x3d2b07(0x1de),{'class':_0x3d2b07(0x284)+(_0xbdd44b[_0x3d2b07(0x1f7)]?_0x3d2b07(0x1cd):_0x3d2b07(0x271))})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x212))[_0x3d2b07(0x208)]({'model':_0x303dc0,'view':_0x19ffec}),this[_0x3d2b07(0x27a)][_0x3d2b07(0x24e)](document,_0x3d2b07(0x1fc),(_0x5b9ec0,_0x350346)=>{const _0x44bef9=_0x3d2b07,_0x3f4fd3=_0x350346[_0x44bef9(0x237)],_0x4d3aba=this[_0x44bef9(0x22d)](_0x3f4fd3);if(!_0x4d3aba)return;const _0x184a16=_0x4d3aba[_0x44bef9(0x25d)](_0x44bef9(0x29d)),_0x32239a=_0x184a16[_0x44bef9(0x281)](':')[_0x44bef9(0x1d5)]()?.[_0x44bef9(0x281)]('_')[0x0];this[_0x44bef9(0x287)][_0x44bef9(0x242)](_0x44bef9(0x273),{'markerId':_0x184a16,'changeId':_0x32239a});});}[_0xcf4cc3(0x1f3)](){const _0x107068=_0xcf4cc3,_0x18de28=this[_0x107068(0x265)][_0x107068(0x23d)][_0x107068(0x211)](_0x107068(0x24d)),_0x5c86ba=_0x3df94b(this[_0x107068(0x265)]),_0x144ea0=_0x5c86ba[_0x107068(0x1cc)],_0x1ff5d8=new _0x12da2a();for(const _0x232e2b of _0x144ea0[_0x107068(0x29b)][_0x107068(0x221)]()[_0x107068(0x232)]()){const _0x551e21=_0x232e2b[_0x107068(0x296)](!0x0);_0x1ff5d8[_0x107068(0x231)](_0x551e21);}for(const _0x4ebe81 of _0x144ea0[_0x107068(0x1cf)])_0x1ff5d8[_0x107068(0x1cf)][_0x107068(0x200)](_0x4ebe81[_0x107068(0x297)],this[_0x107068(0x1f9)](_0x4ebe81[_0x107068(0x1ed)]()[_0x107068(0x25e)](),_0x1ff5d8));const _0x235eab=new _0x16699b({'ignoreElementEnd':!0x0,'startPosition':_0x144ea0[_0x107068(0x28e)](_0x1ff5d8,0x0)}),_0x4b885f=new Set(),_0x184385=new Map();for(const {item:_0x486e88}of _0x235eab){if(!_0x486e88['is'](_0x107068(0x20b)))continue;const _0x48a85c=_0x486e88[_0x107068(0x291)];if((!_0x48a85c||!_0x48a85c['is'](_0x107068(0x27b),_0x107068(0x223)))&&(_0x48a85c&&_0x48a85c['is'](_0x107068(0x27b)))){let _0x425b15=_0x48a85c[_0x107068(0x25d)](_0x303dc0);_0x425b15||(_0x425b15=_0x18de28[_0x107068(0x267)](_0x4b885f),_0x48a85c[_0x107068(0x252)](_0x303dc0,_0x425b15)),_0x4b885f[_0x107068(0x27f)](_0x425b15);let _0xb7dbdc=_0x48a85c;for(;_0xb7dbdc[_0x107068(0x291)]&&!_0xb7dbdc[_0x107068(0x291)]['is'](_0x107068(0x1e8));)_0xb7dbdc=_0xb7dbdc[_0x107068(0x291)],_0xb7dbdc[_0x107068(0x23c)](_0x303dc0)&&_0xb7dbdc[_0x107068(0x202)](_0x303dc0);_0x184385[_0x107068(0x200)](_0x425b15,{'path':_0x48a85c[_0x107068(0x222)](),'getContent':this[_0x107068(0x262)](_0xb7dbdc[_0x107068(0x296)](!0x0),_0x425b15,_0x5c86ba[_0x107068(0x1e5)])}),_0x235eab[_0x107068(0x224)](_0x144ea0[_0x107068(0x228)](_0x48a85c));}}return{'content':_0x5c86ba[_0x107068(0x1e5)][_0x107068(0x217)][_0x107068(0x257)](_0x5c86ba[_0x107068(0x1e5)][_0x107068(0x293)](_0x1ff5d8)),'version':_0x5c86ba[_0x107068(0x1cc)][_0x107068(0x29b)][_0x107068(0x1e9)],'elements':_0x184385};}[_0xcf4cc3(0x238)](_0x42daa4,_0x3f79f8){const _0x22faa6=_0xcf4cc3,_0x29a42e=_0x3df94b(this[_0x22faa6(0x265)]),_0x3ffa20=_0x29a42e[_0x22faa6(0x1e5)][_0x22faa6(0x20d)](_0x42daa4,_0x22faa6(0x22b)),_0x5b2633=_0x29a42e[_0x22faa6(0x1cc)][_0x22faa6(0x28e)](_0x3ffa20,0x0),_0x103e57=this[_0x22faa6(0x265)][_0x22faa6(0x23d)][_0x22faa6(0x211)](_0x22faa6(0x24c))[_0x22faa6(0x1dd)](_0x42daa4,_0x3f79f8,{'anchor':_0x5b2633,'markDeletions':!0x0})[_0x22faa6(0x22c)]()[_0x22faa6(0x1dc)](_0x3a2c6e=>_0x22faa6(0x20c)===_0x3a2c6e[_0x22faa6(0x21e)]||_0x22faa6(0x218)===_0x3a2c6e[_0x22faa6(0x21e)]&&_0x3a2c6e[_0x22faa6(0x297)][_0x22faa6(0x255)](_0x22faa6(0x1fe))),_0x1088b1=this[_0x22faa6(0x1f6)](_0x103e57),_0x31ab39=[];let _0xa0358d=0x0;return _0x29a42e[_0x22faa6(0x1cc)][_0x22faa6(0x234)](_0x3f0500=>{const _0x46a871=_0x22faa6;for(let _0x22e2d8=0x0;_0x22e2d8<_0x1088b1[_0x46a871(0x295)];_0x22e2d8++){const _0x4e6a47=_0x1088b1[_0x22e2d8],_0x12b328=_0x3f0500[_0x46a871(0x268)]();for(const _0x530672 of _0x3ffa20[_0x46a871(0x232)]())_0x3f0500[_0x46a871(0x249)](_0x530672[_0x46a871(0x296)](!0x0),_0x12b328);for(const _0x4c48db of _0x4e6a47[_0x46a871(0x24a)])if(_0x46a871(0x20c)===_0x4c48db[_0x46a871(0x21e)]){const _0x36d50f=_0x4c48db;_0x36d50f[_0x46a871(0x1f5)]=null,_0x36d50f[_0x46a871(0x21a)]=!0x1,this[_0x46a871(0x26e)](_0x36d50f,_0x12b328),_0x3f0500[_0x46a871(0x230)][_0x46a871(0x272)](_0x4c48db),_0x29a42e[_0x46a871(0x1cc)][_0x46a871(0x1e0)](_0x4c48db);const _0x589d71=_0x46a871(0x28d)+_0xa0358d++,_0x3d94d7=_0x29a42e[_0x46a871(0x1cc)][_0x46a871(0x21f)](_0x36d50f[_0x46a871(0x1eb)],_0x36d50f[_0x46a871(0x1eb)][_0x46a871(0x2a3)](_0x36d50f[_0x46a871(0x27e)]));_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](_0x589d71,_0x3d94d7);}else{if(_0x46a871(0x218)===_0x4c48db[_0x46a871(0x21e)]&&_0x4c48db[_0x46a871(0x297)][_0x46a871(0x255)](_0x46a871(0x1fe))){const _0x405fd4=_0x4c48db,_0x4fb9ae=_0x46a871(0x1d3)+_0xa0358d++;this[_0x46a871(0x26e)](_0x405fd4,_0x12b328),_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](_0x4fb9ae,_0x405fd4[_0x46a871(0x1fd)]);}}const _0x373a59=this[_0x46a871(0x26d)](this[_0x46a871(0x23f)](this[_0x46a871(0x26f)](_0x4e6a47[_0x46a871(0x24a)][0x0]),_0x12b328),this[_0x46a871(0x23f)](this[_0x46a871(0x248)](_0x4e6a47[_0x46a871(0x24a)][_0x4e6a47[_0x46a871(0x24a)][_0x46a871(0x295)]-0x1]),_0x12b328));_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](ue+_0x46a871(0x260),new _0x3c5abf(_0x373a59[_0x46a871(0x1cd)],_0x373a59[_0x46a871(0x271)])),_0x31ab39[_0x46a871(0x269)]({..._0x4e6a47,'context':this[_0x46a871(0x216)](_0x12b328,_0x29a42e[_0x46a871(0x1e5)],{'ellipsisBefore':_0x373a59[_0x46a871(0x259)],'ellipsisAfter':_0x373a59[_0x46a871(0x21c)]}),'content':this[_0x46a871(0x29f)](_0x12b328,_0x29a42e[_0x46a871(0x1e5)])});}}),_0x31ab39;}[_0xcf4cc3(0x26b)](_0x54b720,_0x58cdfd){const _0x3c4cbf=_0xcf4cc3,_0x3870ef=_0x54b720[0x0][_0x3c4cbf(0x291)]['id'],_0x5a31fe=_0x58cdfd[_0x3c4cbf(0x299)][_0x3c4cbf(0x211)](_0x3870ef);if(!_0x5a31fe)return void console[_0x3c4cbf(0x1ec)](_0x3c4cbf(0x261)+_0x3870ef);const _0x33cc6a=_0x5a31fe[_0x3c4cbf(0x20a)],_0x599ad7=_0x3df94b(this[_0x3c4cbf(0x265)]),_0x47ea92=_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)][_0x3c4cbf(0x210)][_0x3c4cbf(0x22c)](_0x58cdfd[_0x3c4cbf(0x1e9)]),_0x3e11c8=[];for(const _0x366336 of _0x54b720){const _0x30b682=_0x366336[_0x3c4cbf(0x24a)][_0x3c4cbf(0x1d6)](_0x302910=>this[_0x3c4cbf(0x205)](_0x302910,_0x33cc6a,_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)][_0x3c4cbf(0x289)]()[0x0]));if(!_0x30b682||!_0x30b682[_0x3c4cbf(0x295)])continue;const _0x245880=_0x30b682[_0x3c4cbf(0x1e2)](_0x3ccedb=>_0x3c4cbf(0x218)===_0x3ccedb[_0x3c4cbf(0x21e)]&&_0x3ccedb[_0x3c4cbf(0x297)][_0x3c4cbf(0x255)](_0x3c4cbf(0x1fe))),_0x33cc3f={'document':_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3a2baa=_0x50fff2(_0x30b682,_0x47ea92,_0x33cc3f)[_0x3c4cbf(0x206)];for(const _0x1ee042 of _0x3a2baa)if(_0x3c4cbf(0x20c)===_0x1ee042[_0x3c4cbf(0x21e)]){const _0x2e3f0f=_0x1ee042,_0x506b88=_0x2e3f0f[_0x3c4cbf(0x215)];let _0x45f07f='';for(const _0x421e51 of _0x506b88)_0x421e51&&_0x421e51['is'](_0x3c4cbf(0x294))&&(_0x45f07f+=_0x421e51[_0x3c4cbf(0x1e5)]);_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x2e3f0f[_0x3c4cbf(0x1eb)],'end':_0x2e3f0f[_0x3c4cbf(0x1eb)],'type':_0x3c4cbf(0x20c),'groupId':_0x366336['id'],'text':_0x45f07f});}else{if(_0x3c4cbf(0x218)===_0x1ee042[_0x3c4cbf(0x21e)]&&_0x1ee042[_0x3c4cbf(0x297)][_0x3c4cbf(0x255)](_0x3c4cbf(0x1fe))){const _0x1dc56d=_0x1ee042;let _0x4a238b=_0x3c4cbf(0x1e3);if(_0x245880){const _0xa5f90d=this[_0x3c4cbf(0x241)](_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)],_0x3c4cbf(0x1d1),_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x27c)]),_0x63d419=this[_0x3c4cbf(0x241)](_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)],_0x3c4cbf(0x239),_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x27c)]);if(_0xa5f90d||_0x63d419){const _0x42ebde=_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)][_0x3c4cbf(0x2a3)](-_0xa5f90d),_0x3fce91=_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)][_0x3c4cbf(0x2a3)](_0x63d419);_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x42ebde,'end':_0x3fce91,'groupId':_0x366336['id'],'type':_0x3c4cbf(0x298)});}else _0x4a238b=_0x3c4cbf(0x2a5);}_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)],'end':_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)],'groupId':_0x366336['id'],'type':_0x4a238b});}}}this[_0x3c4cbf(0x240)](_0x3e11c8);}[_0xcf4cc3(0x1d8)](){const _0x4387ee=_0xcf4cc3;_0x3df94b(this[_0x4387ee(0x265)])[_0x4387ee(0x1cc)][_0x4387ee(0x234)](_0x4e4820=>{const _0x149f94=_0x4387ee;for(const _0x268f3b of this[_0x149f94(0x254)][_0x149f94(0x28c)]())_0x4e4820[_0x149f94(0x1da)](_0x268f3b);}),this[_0x4387ee(0x254)][_0x4387ee(0x264)]();}[_0xcf4cc3(0x22f)](){const _0x1c9596=_0xcf4cc3;_0x3df94b(this[_0x1c9596(0x265)])[_0x1c9596(0x20f)](_0x1c9596(0x290));}[_0xcf4cc3(0x266)](){const _0x490739=_0xcf4cc3;_0x3df94b(this[_0x490739(0x265)])[_0x490739(0x26c)](_0x490739(0x290));}[_0xcf4cc3(0x213)](_0x3a1844){const _0x5a5ba5=_0xcf4cc3,_0x8a539f=_0x3df94b(this[_0x5a5ba5(0x265)]),_0x118e38=_0x8a539f[_0x5a5ba5(0x1cc)],_0x15b7ae=_0x3a1844[_0x5a5ba5(0x1d6)](_0x30c698=>this[_0x5a5ba5(0x20e)](_0x30c698))[_0x5a5ba5(0x279)]();_0x118e38[_0x5a5ba5(0x234)](_0x426c4e=>{const _0x4cb8f0=_0x5a5ba5;for(const _0x2c79c2 of _0x15b7ae){const _0x48876f=_0x8a539f[_0x4cb8f0(0x1cc)][_0x4cb8f0(0x1cf)][_0x4cb8f0(0x211)](_0x2c79c2['id']);_0x48876f&&(_0x4cb8f0(0x20c)===_0x2c79c2[_0x4cb8f0(0x21e)]?_0x118e38[_0x4cb8f0(0x1ce)](_0x426c4e[_0x4cb8f0(0x247)](_0x2c79c2[_0x4cb8f0(0x280)]||''),_0x48876f[_0x4cb8f0(0x1ed)]()[_0x4cb8f0(0x1cd)]):_0x4cb8f0(0x1e3)!==_0x2c79c2[_0x4cb8f0(0x21e)]&&_0x4cb8f0(0x2a5)!==_0x2c79c2[_0x4cb8f0(0x21e)]||_0x118e38[_0x4cb8f0(0x227)](_0x118e38[_0x4cb8f0(0x235)](_0x48876f[_0x4cb8f0(0x1ed)]())),_0x426c4e[_0x4cb8f0(0x1da)](_0x2c79c2['id']),this[_0x4cb8f0(0x254)][_0x4cb8f0(0x270)](_0x2c79c2['id']));}});}[_0xcf4cc3(0x1f0)](_0x507baf){const _0x352159=_0xcf4cc3,_0x19016d=_0x3df94b(this[_0x352159(0x265)]),_0x1a0904=this[_0x352159(0x20e)](_0x507baf);_0x19016d[_0x352159(0x1cc)][_0x352159(0x234)](_0x511227=>{const _0xcb5dd0=_0x352159;for(const _0x519995 of _0x1a0904)_0x511227[_0xcb5dd0(0x1da)](_0x519995['id']),this[_0xcb5dd0(0x254)][_0xcb5dd0(0x270)](_0x519995['id']);});}[_0xcf4cc3(0x1ee)](){const _0x1d80d1=_0xcf4cc3;return _0x3df94b(this[_0x1d80d1(0x265)]);}[_0xcf4cc3(0x1e7)](_0xb47957){const _0x5814aa=_0xcf4cc3,_0x25f005=Array[_0x5814aa(0x1ea)](this[_0x5814aa(0x254)][_0x5814aa(0x24b)]())[_0x5814aa(0x1dc)](_0xe2ede=>_0xe2ede[_0x5814aa(0x282)]===_0xb47957);if(!_0x25f005[_0x5814aa(0x295)])return null;const _0x12e45a=0x1===_0x25f005[_0x5814aa(0x295)]?_0x25f005[0x0]:this[_0x5814aa(0x225)](_0x25f005)[0x0],_0x2f0d8c=_0x3df94b(this[_0x5814aa(0x265)]),_0x94b1ad=_0x2f0d8c[_0x5814aa(0x1cc)][_0x5814aa(0x1cf)][_0x5814aa(0x211)](_0x12e45a['id']);if(!_0x94b1ad)return null;const _0x2388ae=_0x94b1ad[_0x5814aa(0x1ed)](),_0x232fd7=_0x2f0d8c[_0x5814aa(0x29a)][_0x5814aa(0x214)][_0x5814aa(0x251)]();if(!_0x232fd7||!_0x2388ae)return null;const _0x53f285=_0x232fd7[_0x5814aa(0x1f4)](_0x5814aa(0x226)+_0x12e45a['id']+'\x22]');return _0x53f285?{'modelRange':_0x2388ae,'domElement':_0x53f285}:null;}[_0xcf4cc3(0x205)](_0x260487,_0x19fec3,_0x4dcc91){const _0x5d29c8=_0xcf4cc3;if(_0x5d29c8(0x20c)===_0x260487[_0x5d29c8(0x21e)]){const _0x240b6d=_0x260487;return new _0x14f967(this[_0x5d29c8(0x23a)](_0x240b6d[_0x5d29c8(0x1eb)],_0x19fec3[_0x5d29c8(0x1d9)](_0x240b6d[_0x5d29c8(0x1eb)][_0x5d29c8(0x1f1)]),_0x4dcc91),_0x240b6d[_0x5d29c8(0x215)],_0x240b6d[_0x5d29c8(0x1f5)]);}if(_0x5d29c8(0x218)===_0x260487[_0x5d29c8(0x21e)]&&_0x260487[_0x5d29c8(0x297)][_0x5d29c8(0x255)](_0x5d29c8(0x1fe))){const _0x37d8dd=_0x260487;return new _0x2d514b(_0x37d8dd[_0x5d29c8(0x297)],_0x37d8dd[_0x5d29c8(0x219)],this[_0x5d29c8(0x220)](_0x37d8dd[_0x5d29c8(0x1fd)],_0x19fec3[_0x5d29c8(0x1d9)](_0x37d8dd[_0x5d29c8(0x1fd)][_0x5d29c8(0x1cd)][_0x5d29c8(0x1f1)]),_0x19fec3[_0x5d29c8(0x1d9)](_0x37d8dd[_0x5d29c8(0x1fd)][_0x5d29c8(0x271)][_0x5d29c8(0x1f1)]),_0x4dcc91),_0x37d8dd[_0x5d29c8(0x254)],_0x37d8dd[_0x5d29c8(0x1f8)],_0x37d8dd[_0x5d29c8(0x1f5)]);}return _0x260487;}[_0xcf4cc3(0x1f6)](_0x5d53fa){const _0x1a5298=_0xcf4cc3;if(!_0x5d53fa[_0x1a5298(0x295)])return[];const _0x5bfc0b=[];let _0x26b0ef=0x0,_0x293a5c=0x0,_0x2a87c0=[];for(let _0x2a2f48=0x0;_0x2a2f48<=_0x5d53fa[_0x1a5298(0x295)];_0x2a2f48++){const _0x4e3fff=_0x5d53fa[_0x2a2f48],_0x58e272=_0x5d53fa[_0x2a2f48-0x1];!_0x4e3fff||_0x58e272&&!this[_0x1a5298(0x248)](_0x58e272)[_0x1a5298(0x2a0)](this[_0x1a5298(0x26f)](_0x4e3fff))?(_0x5bfc0b[_0x1a5298(0x269)]({'operations':_0x2a87c0,'operationsIsolated':_0x2a87c0[_0x1a5298(0x1d6)](_0x47da75=>this[_0x1a5298(0x27d)](_0x47da75[_0x1a5298(0x25e)](),-_0x293a5c)),'groupOffset':_0x26b0ef}),_0x2a87c0=_0x4e3fff?[_0x4e3fff]:[],_0x293a5c+=_0x26b0ef,_0x26b0ef=0x0):_0x2a87c0[_0x1a5298(0x269)](_0x4e3fff),_0x4e3fff&&_0x1a5298(0x20c)===_0x4e3fff[_0x1a5298(0x21e)]&&(_0x26b0ef+=_0x4e3fff[_0x1a5298(0x27e)]);}return _0x5bfc0b;}[_0xcf4cc3(0x241)](_0x4e8633,_0x417c01,_0x3d753f,_0x219aab=0x1){const _0x1ef264=_0xcf4cc3,_0x6fe276=new _0x16699b({'startPosition':_0x4e8633,'direction':_0x417c01});let _0x4d201a=0x0;for(let _0x292abc=0x0;_0x292abc<_0x219aab;_0x292abc++){let _0x41f763=0x0,_0x47edbf=!0x1,_0x7e1e76=_0x1ef264(0x239)===_0x417c01?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4a8770}of _0x6fe276)if(_0x4a8770['is'](_0x1ef264(0x20b))){const _0x424efd=_0x7e1e76[_0x1ef264(0x28b)](_0x4a8770[_0x1ef264(0x1e5)]);if(_0x424efd&&_0x424efd[_0x1ef264(0x295)]){if(_0x41f763+=_0x1ef264(0x239)===_0x417c01?_0x424efd[_0x1ef264(0x24f)]+_0x424efd[0x0][_0x1ef264(0x295)]:_0x4a8770[_0x1ef264(0x1e5)][_0x1ef264(0x295)]-_0x424efd[_0x1ef264(0x24f)],_0x424efd[0x0][_0x1ef264(0x295)]!==_0x4a8770[_0x1ef264(0x1e5)][_0x1ef264(0x295)])break;_0x47edbf=!0x0,_0x7e1e76=_0x1ef264(0x239)===_0x417c01?/^\w+/:/\w+$/;}else{if(_0x47edbf)break;_0x41f763+=_0x4a8770[_0x1ef264(0x1d0)];}}else{if(_0x4a8770['is'](_0x1ef264(0x27b))){_0x3d753f[_0x1ef264(0x1cb)](_0x4a8770)&&!_0x47edbf&&(_0x41f763+=0x1);break;}}_0x4d201a+=_0x41f763,_0x6fe276[_0x1ef264(0x224)](_0x4e8633[_0x1ef264(0x2a3)](_0x1ef264(0x239)===_0x417c01?_0x4d201a:-_0x4d201a));}return _0x4d201a;}[_0xcf4cc3(0x26d)](_0x1196d2,_0x597fd3){const _0x2b0f14=_0xcf4cc3,_0x20f328=_0x3df94b(this[_0x2b0f14(0x265)])[_0x2b0f14(0x1cc)][_0x2b0f14(0x27c)],_0x5226f5=this[_0x2b0f14(0x241)](_0x1196d2,_0x2b0f14(0x1d1),_0x20f328,0x6),_0x429511=this[_0x2b0f14(0x241)](_0x597fd3,_0x2b0f14(0x239),_0x20f328,0x6),_0x29ce81=_0x1196d2[_0x2b0f14(0x2a3)](-_0x5226f5),_0x20537b=_0x597fd3[_0x2b0f14(0x2a3)](_0x429511);return{'start':_0x29ce81,'end':_0x20537b,'hasContentBefore':!_0x29ce81[_0x2b0f14(0x29e)],'hasContentAfter':!_0x20537b[_0x2b0f14(0x263)]};}[_0xcf4cc3(0x240)](_0x54a83d){const _0x44b29a=_0xcf4cc3,_0x5afc73=this[_0x44b29a(0x265)][_0x44b29a(0x23d)][_0x44b29a(0x211)](_0x44b29a(0x24d)),_0x5b6c65=new Set();_0x3df94b(this[_0x44b29a(0x265)])[_0x44b29a(0x1cc)][_0x44b29a(0x234)](_0x1416c4=>{const _0x4bf082=_0x44b29a;for(const _0x66fc00 of _0x54a83d){const _0x5892f3=''+ue+_0x66fc00[_0x4bf082(0x21e)]+':'+_0x66fc00[_0x4bf082(0x282)]+'_'+_0x5afc73[_0x4bf082(0x267)](_0x5b6c65);this[_0x4bf082(0x254)][_0x4bf082(0x200)](_0x5892f3,{'id':_0x5892f3,'groupId':_0x66fc00[_0x4bf082(0x282)],'type':_0x66fc00[_0x4bf082(0x21e)],'text':_0x66fc00[_0x4bf082(0x280)]}),_0x1416c4[_0x4bf082(0x229)](_0x5892f3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1416c4[_0x4bf082(0x21f)](_0x66fc00[_0x4bf082(0x1cd)],_0x66fc00[_0x4bf082(0x271)])});}});}[_0xcf4cc3(0x216)](_0x56ce73,_0xe65321,_0x243431){let _0x48fef8='';return()=>{const _0x21a989=_0x20fd;if(!_0x48fef8){const _0x5818f6=_0xe65321[_0x21a989(0x293)](_0x56ce73,{'showSuggestionHighlights':!0x0}),_0x1086f1=_0x5818f6[_0x21a989(0x2a1)](0x0);if(!_0x1086f1)return'';let _0x46eec9=!0x1;const _0x28328a=[];for(const _0x3e4a94 of _0x1086f1[_0x21a989(0x232)]())_0x3e4a94['is'](_0x21a989(0x27b),_0x21a989(0x1de))&&_0x3e4a94[_0x21a989(0x1e1)](_0x21a989(0x276))&&(_0x46eec9=!0x1),_0x46eec9&&_0x28328a[_0x21a989(0x269)](_0x3e4a94),_0x3e4a94['is'](_0x21a989(0x27b),_0x21a989(0x1de))&&_0x3e4a94[_0x21a989(0x1e1)](_0x21a989(0x278))&&(_0x46eec9=!0x0);_0x1086f1[_0x21a989(0x1df)](0x0,_0x1086f1[_0x21a989(0x25a)]),_0x243431?.[_0x21a989(0x243)]&&_0x1086f1[_0x21a989(0x231)]('…'),_0x1086f1[_0x21a989(0x231)](_0x28328a),_0x243431?.[_0x21a989(0x25c)]&&_0x1086f1[_0x21a989(0x231)]('…');const _0x6ddcf3=_0xe65321[_0x21a989(0x292)][_0x21a989(0x23e)][_0x21a989(0x253)](_0x5818f6),_0x16e52a=_0xe65321[_0x21a989(0x292)][_0x21a989(0x207)][_0x21a989(0x21b)](_0x6ddcf3);_0x48fef8=_0x16e52a;}return _0x48fef8;};}[_0xcf4cc3(0x29f)](_0x3ab365,_0x28e206){const _0x2d250a=_0xcf4cc3;let _0x55dad5='';return()=>(_0x55dad5||(_0x55dad5=_0x28e206[_0x2d250a(0x285)](_0x3ab365,{'showSuggestionHighlights':!0x0})),_0x55dad5);}[_0xcf4cc3(0x262)](_0x28b0ef,_0x155033,_0x35bce3){let _0x4172ac='';return()=>{const _0x2a73b5=_0x20fd;if(!_0x4172ac){const _0x48d01e=_0x35bce3[_0x2a73b5(0x293)](new _0x12da2a(_0x28b0ef)),_0x16558f=_0x35bce3[_0x2a73b5(0x292)][_0x2a73b5(0x23e)][_0x2a73b5(0x253)](_0x48d01e)[_0x2a73b5(0x1f4)](_0x2a73b5(0x29c)+_0x155033+'\x22]');_0x4172ac=_0x16558f?.[_0x2a73b5(0x1ef)]||'';}return _0x4172ac;};}[_0xcf4cc3(0x22d)](_0x284db2,_0x197ecf=0x5){const _0x5a4604=_0xcf4cc3;let _0x254b81=_0x284db2,_0xb8f5be=null;for(let _0x1f4be8=0x0;_0x1f4be8<_0x197ecf&&_0x254b81;_0x1f4be8++){if(!_0x254b81[_0x5a4604(0x1d4)]){_0x254b81=_0x254b81[_0x5a4604(0x286)];continue;}if(!(''+_0x254b81[_0x5a4604(0x1d4)])[_0x5a4604(0x283)](_0x5a4604(0x25b))){_0x254b81=_0x254b81[_0x5a4604(0x286)];continue;}if(!_0x254b81[_0x5a4604(0x25d)](_0x5a4604(0x29d)))break;_0xb8f5be=_0x254b81;break;}return _0xb8f5be;}[_0xcf4cc3(0x20e)](_0x783e5f){const _0x2d7062=_0xcf4cc3;return Array[_0x2d7062(0x1ea)](this[_0x2d7062(0x254)][_0x2d7062(0x24b)]())[_0x2d7062(0x1dc)](_0x5ab609=>_0x5ab609[_0x2d7062(0x282)]===_0x783e5f);}[_0xcf4cc3(0x26f)](_0x894b73){const _0x31ae3e=_0xcf4cc3;return _0x31ae3e(0x20c)===_0x894b73[_0x31ae3e(0x21e)]?_0x894b73[_0x31ae3e(0x1eb)]:_0x894b73[_0x31ae3e(0x1fd)][_0x31ae3e(0x1cd)];}[_0xcf4cc3(0x248)](_0x1d99cf,_0x532d90=!0x1){const _0x56a80b=_0xcf4cc3;return _0x56a80b(0x20c)===_0x1d99cf[_0x56a80b(0x21e)]?_0x532d90?_0x1d99cf[_0x56a80b(0x1eb)]:_0x1d99cf[_0x56a80b(0x1eb)][_0x56a80b(0x2a3)](_0x1d99cf[_0x56a80b(0x27e)]):_0x1d99cf[_0x56a80b(0x1fd)][_0x56a80b(0x271)];}[_0xcf4cc3(0x27d)](_0x1f1bd0,_0x248a27){const _0x7867b4=_0xcf4cc3;return _0x7867b4(0x20c)===_0x1f1bd0[_0x7867b4(0x21e)]?_0x1f1bd0[_0x7867b4(0x1eb)]=_0x1f1bd0[_0x7867b4(0x1eb)][_0x7867b4(0x2a3)](_0x248a27):_0x7867b4(0x218)===_0x1f1bd0[_0x7867b4(0x21e)]&&_0x1f1bd0[_0x7867b4(0x1fd)]&&(_0x1f1bd0[_0x7867b4(0x1fd)]=new _0x3c5abf(_0x1f1bd0[_0x7867b4(0x1fd)][_0x7867b4(0x1cd)][_0x7867b4(0x2a3)](_0x248a27),_0x1f1bd0[_0x7867b4(0x1fd)][_0x7867b4(0x271)][_0x7867b4(0x2a3)](_0x248a27))),_0x1f1bd0;}[_0xcf4cc3(0x26e)](_0x333bb9,_0x377beb){const _0x57c667=_0xcf4cc3;_0x57c667(0x20c)===_0x333bb9[_0x57c667(0x21e)]?_0x333bb9[_0x57c667(0x1eb)]=this[_0x57c667(0x23f)](_0x333bb9[_0x57c667(0x1eb)],_0x377beb):_0x57c667(0x218)===_0x333bb9[_0x57c667(0x21e)]&&_0x333bb9[_0x57c667(0x1fd)]&&(_0x333bb9[_0x57c667(0x1fd)]=this[_0x57c667(0x1f9)](_0x333bb9[_0x57c667(0x1fd)],_0x377beb));}[_0xcf4cc3(0x23f)](_0x2d4912,_0x21432b){const _0x4e43f9=_0xcf4cc3;return new _0x41f9d9(_0x21432b,_0x2d4912[_0x4e43f9(0x20a)]);}[_0xcf4cc3(0x1f9)](_0x59d0ba,_0x509405){const _0x1e6939=_0xcf4cc3;return new _0x3c5abf(this[_0x1e6939(0x23f)](_0x59d0ba[_0x1e6939(0x1cd)],_0x509405),this[_0x1e6939(0x23f)](_0x59d0ba[_0x1e6939(0x271)],_0x509405));}[_0xcf4cc3(0x23a)](_0x32b0ac,_0x5c5e47,_0x2f1980){return new _0x41f9d9(_0x2f1980,[..._0x5c5e47]);}[_0xcf4cc3(0x220)](_0x40d132,_0x1c4a25,_0x5d0b43,_0x4d0a08){const _0x3b06f0=_0xcf4cc3;return new _0x3c5abf(this[_0x3b06f0(0x23a)](_0x40d132[_0x3b06f0(0x1cd)],_0x1c4a25,_0x4d0a08),this[_0x3b06f0(0x23a)](_0x40d132[_0x3b06f0(0x271)],_0x5d0b43,_0x4d0a08));}[_0xcf4cc3(0x225)](_0x53685f){const _0x3d76cb=_0xcf4cc3,_0x51419d=_0x542356=>{const _0x54b582=_0x20fd;switch(_0x542356){case _0x54b582(0x20c):return 0x1;case _0x54b582(0x298):return 0x2;case _0x54b582(0x2a5):return 0x3;case _0x54b582(0x1e3):return 0x4;}};return _0x53685f[_0x3d76cb(0x204)]((_0x1da01b,_0x4f7117)=>_0x51419d(_0x1da01b[_0x3d76cb(0x21e)])-_0x51419d(_0x4f7117[_0x3d76cb(0x21e)]));}}
|