@ckeditor/ckeditor5-ai 47.2.0-alpha.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/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 +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/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/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/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 _0x2f4ed9=_0x1c2e;(function(_0x5e6e3a,_0x3ee4a5){const _0x5b882e=_0x1c2e,_0x585ad3=_0x5e6e3a();while(!![]){try{const _0x2dc84a=-parseInt(_0x5b882e(0xe7))/0x1*(-parseInt(_0x5b882e(0xa2))/0x2)+parseInt(_0x5b882e(0xd8))/0x3*(-parseInt(_0x5b882e(0x105))/0x4)+-parseInt(_0x5b882e(0x113))/0x5*(parseInt(_0x5b882e(0xc4))/0x6)+-parseInt(_0x5b882e(0x9c))/0x7+-parseInt(_0x5b882e(0x97))/0x8*(parseInt(_0x5b882e(0xf7))/0x9)+parseInt(_0x5b882e(0xac))/0xa+-parseInt(_0x5b882e(0xa1))/0xb*(-parseInt(_0x5b882e(0x100))/0xc);if(_0x2dc84a===_0x3ee4a5)break;else _0x585ad3['push'](_0x585ad3['shift']());}catch(_0x1ced32){_0x585ad3['push'](_0x585ad3['shift']());}}}(_0x4d5f,0x1a23b));function _0x4d5f(){const _0x5f506d=['AI_QUICK_ACTIONS_EXPLAIN','make-shorter','italian','label','ACTION','view','444AAyXAQ','actions','requires','explain','translate-to-japanese','menuitem','adjust-length','uiLanguage','_quickActionsDefinition','translate','highlight-key-points','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_CHANGE_TONE','editing','editor','chinese','AIActions','chat-commands','commands','12OsFoyA','AI_QUICK_ACTIONS_ASK_AI','russian','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','other','AI_QUICK_ACTIONS_CHAT_COMMANDS','locale','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','menu','CHAT','improve-writing','make-tone-direct','513AWcUmq','_initializeQuickActionsMenuBar','make-tone-friendly','DisplayNames','portuguese','aiQuickAction','translate-to-portuguese','plugins','translate-to-italian','_getDefaultAndCustomActions','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','some','60444mEGqZu','REVIEW','translate-to-korean','spanish','<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>','includes','language','componentFactory','menuBar:aiQuickActions','158652QsvnoL','summarize','forEach','AI_QUICK_ACTIONS_MORE_CONFIDENT','japanese','4mkUlYz','<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>','values','AIQuickActionsUI','change-tone','get','type','french','English','AI_QUICK_ACTIONS_MAKE_LONGER','find','continue','icon','AI_QUICK_ACTIONS_HEADING','10755YhDrJh','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','map','execute','filter','AI_QUICK_ACTIONS_MORE_CASUAL','close','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_MORE_DIRECT','_shouldIncludeAction','translate-to-english','children','make-longer','panelView','AI_QUICK_ACTIONS_TRANSLATE','isOfficialPlugin','aiQuickActions','push','attachToDom','_executeQuickAction','replace','AI_QUICK_ACTIONS_ADJUST_LENGTH','<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>','displayedPrompt','korean','make-tone-confident','set','has','menuBarView','152dBJXxw','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','getDefaultQuickActions','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','278215OMPVAA','make-tone-professional','AIReviewMode','config','fix-grammar','121EinumU','504HNjrXn','translate-to-russian','AI_QUICK_ACTIONS_CONTINUE_WRITING','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','focus','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','1588870UvMklQ','AIChat','add','make-tone-casual','length','delegate','AI_QUICK_ACTIONS_OTHER','buttonView','translate-to-german','AI_QUICK_ACTIONS_SUMMARIZE','isPremiumPlugin','english','AI_QUICK_ACTIONS_MORE_FRIENDLY','items','pluginName','german','translate-to-chinese','init'];_0x4d5f=function(){return _0x5f506d;};return _0x4d5f();}import{IconAIAdjustLength as _0x29aa5b,IconAIChangeTone as _0x456d49,IconAIChatCommands as _0x33a7b3,IconAIContinueWriting as _0x301cad,IconAIGrammarCheck as _0x1fd95b,IconAIImproveWriting as _0xc01f03,IconAIOther as _0x44cfc9,IconAIQuickActions as _0x156c4a,IconAITranslate as _0x2dcebd}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x10f5a2}from'ckeditor5/src/core.js';import{getTranslation as _0x101f11}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4e49e2}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x43aca8}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x1accff,BalloonToolbar as _0x480fb1,MenuBarMenuView as _0x2df7db,MenuBarMenuListView as _0x241a68,MenuBarMenuListItemView as _0x564c7c,MenuBarMenuListItemButtonView as _0x1e08c7}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x2f4ed9(0x90),ae=_0x2f4ed9(0xfb),se=_0x2f4ed9(0x106);export var AIQuickActionType;!function(_0x33c576){const _0x586ec4=_0x2f4ed9;_0x33c576[_0x586ec4(0xe4)]=_0x586ec4(0xe4),_0x33c576[_0x586ec4(0xc2)]=_0x586ec4(0xc2),_0x33c576[_0x586ec4(0xf8)]=_0x586ec4(0xf8);}(AIQuickActionType||(AIQuickActionType={}));function _0x1c2e(_0x1e7e03,_0x189dea){const _0x4d5f5c=_0x4d5f();return _0x1c2e=function(_0x1c2e1d,_0x3bb24b){_0x1c2e1d=_0x1c2e1d-0x7e;let _0x21b837=_0x4d5f5c[_0x1c2e1d];return _0x21b837;},_0x1c2e(_0x1e7e03,_0x189dea);}export var AIQuickActionTypeToPluginName;!function(_0x4b728c){const _0x250df9=_0x2f4ed9;_0x4b728c[_0x250df9(0xe4)]=_0x250df9(0xad),_0x4b728c[_0x250df9(0xc2)]=_0x250df9(0xd5),_0x4b728c[_0x250df9(0xf8)]=_0x250df9(0x9e);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x10f5a2{static get[_0x2f4ed9(0xc6)](){return[_0x480fb1];}static get[_0x2f4ed9(0xba)](){const _0x272cec=_0x2f4ed9;return _0x272cec(0x108);}static get[_0x2f4ed9(0x89)](){return!0x0;}static get[_0x2f4ed9(0xb6)](){return!0x0;}[_0x2f4ed9(0xbd)](){const _0x24df73=_0x2f4ed9;this[_0x24df73(0xf1)](this[_0x24df73(0xf0)]()),this[_0x24df73(0xa8)]();}static[_0x2f4ed9(0x99)](_0x382e8e){return function(_0xedabab){const _0x498d8c=_0x1c2e,_0x57dd63=new Intl[(_0x498d8c(0xea))](['en'],{'type':_0x498d8c(0xfd)})['of'](_0xedabab[_0x498d8c(0xcb)]),_0x56238b=_0x57dd63||_0x498d8c(0x10d),_0x53204a=[{'id':_0x498d8c(0xcf),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xd9)),'type':AIQuickActionType[_0x498d8c(0xe4)],'icon':_0x33a7b3},{'id':_0x498d8c(0xd6),'label':_0x101f11(_0xedabab,_0x498d8c(0xdf)),'icon':_0x33a7b3,'actions':[{'id':_0x498d8c(0xc7),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xbe)),'prompt':oe[_0x498d8c(0x8e)]('%0',_0x56238b),'type':AIQuickActionType[_0x498d8c(0xe4)]},{'id':_0x498d8c(0x101),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xb5)),'prompt':ae[_0x498d8c(0x8e)]('%0',_0x56238b),'type':AIQuickActionType[_0x498d8c(0xe4)]},{'id':_0x498d8c(0xce),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xe1)),'prompt':se[_0x498d8c(0x8e)]('%0',_0x56238b),'type':AIQuickActionType[_0x498d8c(0xe4)]}]},{'id':_0x498d8c(0xe5),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xf3)),'type':AIQuickActionType[_0x498d8c(0xc2)],'icon':_0xc01f03},{'id':_0x498d8c(0x110),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xa4)),'type':AIQuickActionType[_0x498d8c(0xc2)],'icon':_0x301cad},{'id':_0x498d8c(0xa0),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xa6)),'type':AIQuickActionType[_0x498d8c(0xc2)],'icon':_0x1fd95b},{'id':_0x498d8c(0xca),'label':_0x101f11(_0xedabab,_0x498d8c(0x8f)),'icon':_0x29aa5b,'actions':[{'id':_0x498d8c(0xbf),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xf2)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0x86),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x10e)),'type':AIQuickActionType[_0x498d8c(0xc2)]}]},{'id':_0x498d8c(0x109),'label':_0x101f11(_0xedabab,_0x498d8c(0xd1)),'icon':_0x456d49,'actions':[{'id':_0x498d8c(0xaf),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x7e)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0xe6),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x82)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0xe9),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xb8)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0x93),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x103)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0x9d),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xe2)),'type':AIQuickActionType[_0x498d8c(0xc2)]}]},{'id':_0x498d8c(0xcd),'label':_0x101f11(_0xedabab,_0x498d8c(0x88)),'icon':_0x2dcebd,'actions':[{'id':_0x498d8c(0x84),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xab)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xb7)}},{'id':_0x498d8c(0xbc),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xf5)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xd4)}},{'id':_0x498d8c(0xdc),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x9b)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xfa)}},{'id':_0x498d8c(0xb4),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x80)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xbb)}},{'id':_0x498d8c(0xf4),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xdd)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0x10c)}},{'id':_0x498d8c(0xc8),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xa9)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0x104)}},{'id':_0x498d8c(0xed),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x98)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xeb)}},{'id':_0x498d8c(0xf9),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xdb)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0x92)}},{'id':_0x498d8c(0xef),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xd0)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xc0)}},{'id':_0x498d8c(0xa3),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x114)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xda)}}]},{'id':_0x498d8c(0xde),'label':_0x101f11(_0xedabab,_0x498d8c(0xb2)),'icon':_0x44cfc9,'actions':[]}];return _0x53204a;}(_0x382e8e);}[_0x2f4ed9(0xf0)](){const _0x8ccfb9=_0x2f4ed9,_0x7020f6=AIQuickActionsUI[_0x8ccfb9(0x99)](this[_0x8ccfb9(0xd3)][_0x8ccfb9(0xe0)]),_0x5977ad=(this[_0x8ccfb9(0xd3)][_0x8ccfb9(0x9f)][_0x8ccfb9(0x10a)](_0x8ccfb9(0xa5))||[])[_0x8ccfb9(0x115)](_0x9bbaa8=>({..._0x9bbaa8,'icon':void 0x0}));return _0x7020f6[_0x8ccfb9(0x10f)](_0x5d66a8=>_0x8ccfb9(0xde)===_0x5d66a8['id'])[_0x8ccfb9(0xc5)][_0x8ccfb9(0x8b)](..._0x5977ad),_0x7020f6;}[_0x2f4ed9(0xa8)](){const _0x10bd24=_0x2f4ed9,_0x22f5e8=new _0x1accff(this[_0x10bd24(0xd3)][_0x10bd24(0xe0)]);_0x22f5e8[_0x10bd24(0x8c)](),this[_0x10bd24(0x81)](_0x22f5e8),this[_0x10bd24(0xe8)](),this[_0x10bd24(0xaa)](_0x22f5e8);}[_0x2f4ed9(0x81)](_0x3ccb78){const _0x3675f2=_0x2f4ed9;this[_0x3675f2(0xd3)]['ui'][_0x3675f2(0xfe)][_0x3675f2(0xae)](_0x3675f2(0x8a),_0x4e49e2(this[_0x3675f2(0xd3)],this[_0x3675f2(0xcc)],{'icon':_0x156c4a,'label':_0x101f11(this[_0x3675f2(0xd3)][_0x3675f2(0xe0)],_0x3675f2(0x112))},_0x3ccb78));}[_0x2f4ed9(0xf1)](_0x3d17c3){const _0x17baeb=_0x2f4ed9;this[_0x17baeb(0xcc)]=_0x3d17c3[_0x17baeb(0x115)](_0x54747d=>{const _0x1ff0e0=_0x17baeb;if(_0x1ff0e0(0xc5)in _0x54747d){const _0x34ed2c=_0x54747d;return{..._0x34ed2c,'actions':_0x34ed2c[_0x1ff0e0(0xc5)][_0x1ff0e0(0x115)](_0x22e4c0=>{const {actions:_0x371931,..._0x17af09}=_0x34ed2c;return{..._0x22e4c0,'parent':_0x17af09};})[_0x1ff0e0(0x117)](_0x2ed2df=>this[_0x1ff0e0(0x83)](_0x2ed2df))};}return _0x54747d;})[_0x17baeb(0x117)](_0x28ebdb=>_0x17baeb(0xc5)in _0x28ebdb?_0x28ebdb[_0x17baeb(0xc5)][_0x17baeb(0xb0)]>0x0:this[_0x17baeb(0x83)](_0x28ebdb));}[_0x2f4ed9(0x83)](_0x3b20a0){const _0x5a54f3=_0x2f4ed9,_0x4668f1=this[_0x5a54f3(0xd3)][_0x5a54f3(0x9f)][_0x5a54f3(0x10a)](_0x5a54f3(0x9a))||[];return this[_0x5a54f3(0xd3)][_0x5a54f3(0xee)][_0x5a54f3(0x95)](AIQuickActionTypeToPluginName[_0x3b20a0[_0x5a54f3(0x10b)]])&&!_0x4668f1[_0x5a54f3(0xfc)](_0x3b20a0['id']);}[_0x2f4ed9(0xaa)](_0x3871a7){const _0x14c113=_0x2f4ed9;this[_0x14c113(0xcc)][_0x14c113(0x102)](_0x12478b=>{const _0x459a69=_0x14c113;if(_0x459a69(0xc5)in _0x12478b){const _0x463a4c=_0x4e49e2(this[_0x459a69(0xd3)],_0x12478b[_0x459a69(0xc5)],_0x12478b,_0x3871a7);this[_0x459a69(0xd3)]['ui'][_0x459a69(0xfe)][_0x459a69(0xae)](_0x12478b['id'],_0x463a4c),_0x12478b[_0x459a69(0xc5)][_0x459a69(0x102)](_0x5e4143=>{const _0x11f490=_0x459a69,_0x1df947=_0x43aca8(this[_0x11f490(0xd3)],_0x5e4143);this[_0x11f490(0xd3)]['ui'][_0x11f490(0xfe)][_0x11f490(0xae)](_0x5e4143['id'],_0x1df947);});}else{const _0x29d45c=_0x43aca8(this[_0x459a69(0xd3)],_0x12478b,!0x1,!0x0,!0x1);this[_0x459a69(0xd3)]['ui'][_0x459a69(0xfe)][_0x459a69(0xae)](_0x12478b['id'],_0x29d45c);}});}[_0x2f4ed9(0xe8)](){const _0x4d7ba0=_0x2f4ed9;this[_0x4d7ba0(0xd3)]['ui'][_0x4d7ba0(0xfe)][_0x4d7ba0(0xae)](_0x4d7ba0(0xff),_0x5af33c=>{const _0x428e76=_0x4d7ba0,_0x3d8800=new _0x2df7db(_0x5af33c),_0x1a478c=_0x101f11(_0x5af33c,_0x428e76(0x112));_0x3d8800[_0x428e76(0xb3)][_0x428e76(0x94)]({'label':_0x1a478c,'icon':_0x156c4a});const _0x24ae90=new _0x241a68(_0x5af33c);_0x24ae90[_0x428e76(0x94)]({'ariaLabel':_0x1a478c,'role':_0x428e76(0xe3)}),this[_0x428e76(0xcc)][_0x428e76(0x102)](_0x3d91a4=>{const _0x2e55ce=_0x428e76;if(_0x2e55ce(0xc5)in _0x3d91a4){const _0x10d8c9=_0x3d91a4,_0x4e7503=new _0x564c7c(_0x5af33c,_0x3d8800),_0x53bed1=new _0x2df7db(_0x5af33c),_0x42c9c9=new _0x241a68(_0x5af33c);_0x53bed1[_0x2e55ce(0xb3)][_0x2e55ce(0x94)]({'label':_0x10d8c9[_0x2e55ce(0xc1)],'icon':_0x10d8c9[_0x2e55ce(0x111)]}),_0x10d8c9[_0x2e55ce(0xc5)][_0x2e55ce(0x102)](_0x3d4821=>{const _0x299e91=_0x2e55ce,_0x282782=new _0x564c7c(_0x5af33c,_0x53bed1),_0x3ee566=new _0x1e08c7(_0x5af33c);_0x3ee566[_0x299e91(0x94)]({'label':_0x3d4821[_0x299e91(0x91)],'icon':_0x3d4821[_0x299e91(0x111)],'role':_0x299e91(0xc9)}),_0x3ee566['on'](_0x299e91(0x116),()=>{const _0x1594ce=_0x299e91;this[_0x1594ce(0x8d)](_0x3d4821);}),_0x3ee566[_0x299e91(0xb1)](_0x299e91(0x116))['to'](_0x53bed1),_0x282782[_0x299e91(0x85)][_0x299e91(0xae)](_0x3ee566),_0x42c9c9[_0x299e91(0xb9)][_0x299e91(0xae)](_0x282782);}),_0x53bed1[_0x2e55ce(0x87)][_0x2e55ce(0x85)][_0x2e55ce(0xae)](_0x42c9c9),_0x4e7503[_0x2e55ce(0x85)][_0x2e55ce(0xae)](_0x53bed1),_0x24ae90[_0x2e55ce(0xb9)][_0x2e55ce(0xae)](_0x4e7503);}else{const _0x2ba574=_0x3d91a4,_0xff1212=new _0x564c7c(_0x5af33c,_0x3d8800),_0x54a752=new _0x1e08c7(_0x5af33c);_0x54a752[_0x2e55ce(0x94)]({'label':_0x2ba574[_0x2e55ce(0x91)],'icon':_0x2ba574[_0x2e55ce(0x111)],'role':_0x2e55ce(0xc9)}),_0x54a752['on'](_0x2e55ce(0x116),()=>{const _0x3a9002=_0x2e55ce;this[_0x3a9002(0x8d)](_0x2ba574);}),_0x54a752[_0x2e55ce(0xb1)](_0x2e55ce(0x116))['to'](_0x3d8800),_0xff1212[_0x2e55ce(0x85)][_0x2e55ce(0xae)](_0x54a752),_0x24ae90[_0x2e55ce(0xb9)][_0x2e55ce(0xae)](_0xff1212);}});const _0x14604d=Object[_0x428e76(0x107)](AIQuickActionTypeToPluginName)[_0x428e76(0xf6)](_0x21d615=>this[_0x428e76(0xd3)][_0x428e76(0xee)][_0x428e76(0x95)](_0x21d615));return _0x3d8800[_0x428e76(0x94)]({'isEnabled':_0x14604d}),_0x3d8800[_0x428e76(0x87)][_0x428e76(0x85)][_0x428e76(0xae)](_0x24ae90),_0x3d8800;});}[_0x2f4ed9(0x8d)](_0x364afe){const _0x3ec24f=_0x2f4ed9,_0x39ff97=this[_0x3ec24f(0xd3)];_0x39ff97[_0x3ec24f(0xd2)][_0x3ec24f(0xc3)][_0x3ec24f(0xa7)](),_0x39ff97[_0x3ec24f(0xd7)][_0x3ec24f(0x116)](_0x3ec24f(0xec),_0x364afe);const _0x10a044=_0x39ff97['ui'][_0x3ec24f(0xc3)][_0x3ec24f(0x96)];_0x10a044&&_0x10a044[_0x3ec24f(0x7f)]&&_0x10a044[_0x3ec24f(0x7f)]();}}
|
|
23
|
+
function _0x5142(){const _0x29df9f=['find','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_EXPLAIN','6205604gOofdR','translate-to-japanese','aiQuickAction','length','AI_QUICK_ACTIONS_MORE_CONFIDENT','editing','russian','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','1742784QMIQsW','actions','REVIEW','_initializeQuickActionsComponentsAndCommands','focus','AI_QUICK_ACTIONS_IMPROVE_WRITING','aiQuickActions','ACTION','improve-writing','label','chinese','AI_QUICK_ACTIONS_CHANGE_TONE','AIChat','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','make-longer','language','config','DisplayNames','_initializeQuickActionsDropdown','items','close','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','ai.quickActions.removeCommands','1767334HynwOS','translate','spanish','16431448ZqKcDy','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_CONTINUE_WRITING','execute','view','<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>','japanese','icon','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-english','AI_QUICK_ACTIONS_MAKE_SHORTER','menu','getDefaultQuickActions','other','pluginName','translate-to-spanish','3895650bQUHsz','buttonView','translate-to-portuguese','replace','map','menuBar:aiQuickActions','init','AIQuickActionsUI','componentFactory','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','translate-to-russian','make-tone-professional','change-tone','isOfficialPlugin','german','filter','AI_QUICK_ACTIONS_TRANSLATE','english','has','explain','CHAT','attachToDom','_initializeQuickActionsMenuBar','summarize','AI_QUICK_ACTIONS_SUMMARIZE','adjust-length','displayedPrompt','forEach','italian','french','translate-to-korean','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','delegate','make-shorter','menuBarView','plugins','children','commands','<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>','_prepareQuickActionsDefinition','push','_shouldIncludeAction','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AIReviewMode','_executeQuickAction','<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>','type','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','highlight-key-points','AIActions','translate-to-german','requires','includes','set','7YsRIIv','English','7498032xYJcSi','some','korean','2580380nZGcfw','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','_getDefaultAndCustomActions','make-tone-confident','AI_QUICK_ACTIONS_MORE_FRIENDLY','fix-grammar','AI_QUICK_ACTIONS_MORE_CASUAL','_quickActionsDefinition','locale','make-tone-direct','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','panelView','make-tone-friendly','AI_QUICK_ACTIONS_ADJUST_LENGTH','uiLanguage','translate-to-chinese','continue','portuguese','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','isPremiumPlugin','values','AI_QUICK_ACTIONS_CHAT_COMMANDS','editor','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_MORE_DIRECT','add','ai.quickActions.extraCommands','menuitem','chat-commands','get','translate-to-italian','ask-ai'];_0x5142=function(){return _0x29df9f;};return _0x5142();}const _0x5a65a5=_0x1f0e;(function(_0x32847d,_0x429716){const _0x5ecb99=_0x1f0e,_0x5d792a=_0x32847d();while(!![]){try{const _0x1a14ed=parseInt(_0x5ecb99(0x107))/0x1+-parseInt(_0x5ecb99(0xef))/0x2+parseInt(_0x5ecb99(0x84))/0x3+-parseInt(_0x5ecb99(0xe6))/0x4+-parseInt(_0x5ecb99(0xc1))/0x5+-parseInt(_0x5ecb99(0xbe))/0x6*(parseInt(_0x5ecb99(0xbc))/0x7)+parseInt(_0x5ecb99(0x10a))/0x8;if(_0x1a14ed===_0x429716)break;else _0x5d792a['push'](_0x5d792a['shift']());}catch(_0x22409e){_0x5d792a['push'](_0x5d792a['shift']());}}}(_0x5142,0xe35ca));import{IconAIAdjustLength as _0x100761,IconAIChangeTone as _0x564699,IconAIChatCommands as _0x404b2f,IconAIContinueWriting as _0x1e044b,IconAIGrammarCheck as _0x32700d,IconAIImproveWriting as _0x3e4e44,IconAIOther as _0x6e919b,IconAIQuickActions as _0xf65495,IconAITranslate as _0x4ab541}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x3efc49}from'ckeditor5/src/core.js';import{getTranslation as _0x227df9}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1862ed}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x9429fc}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3014d6,BalloonToolbar as _0x43cf3c,MenuBarMenuView as _0x1b1819,MenuBarMenuListView as _0xd22edb,MenuBarMenuListItemView as _0x2918e7,MenuBarMenuListItemButtonView as _0x381605}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Ft=_0x5a65a5(0xab),Wt=_0x5a65a5(0x10f),Bt=_0x5a65a5(0xb3);export var AIQuickActionType;function _0x1f0e(_0x14629e,_0x58c40b){const _0x5142c4=_0x5142();return _0x1f0e=function(_0x1f0eed,_0x24bc76){_0x1f0eed=_0x1f0eed-0x7a;let _0x4a7f24=_0x5142c4[_0x1f0eed];return _0x4a7f24;},_0x1f0e(_0x14629e,_0x58c40b);}!function(_0x1e057f){const _0x1965d9=_0x5a65a5;_0x1e057f[_0x1965d9(0x99)]=_0x1965d9(0x99),_0x1e057f[_0x1965d9(0xf6)]=_0x1965d9(0xf6),_0x1e057f[_0x1965d9(0xf1)]=_0x1965d9(0xf1);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x216f01){const _0x3ec103=_0x5a65a5;_0x216f01[_0x3ec103(0x99)]=_0x3ec103(0xfb),_0x216f01[_0x3ec103(0xf6)]=_0x3ec103(0xb7),_0x216f01[_0x3ec103(0xf1)]=_0x3ec103(0xb1);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x3efc49{static get[_0x5a65a5(0xb9)](){return[_0x43cf3c];}static get[_0x5a65a5(0x82)](){const _0x3e6f8f=_0x5a65a5;return _0x3e6f8f(0x8b);}static get[_0x5a65a5(0x92)](){return!0x0;}static get[_0x5a65a5(0xd6)](){return!0x0;}[_0x5a65a5(0x8a)](){const _0x1d99e3=_0x5a65a5;this[_0x1d99e3(0xac)](this[_0x1d99e3(0xc3)]()),this[_0x1d99e3(0xf2)]();}static[_0x5a65a5(0x80)](_0x50397b){return function(_0x3b0c36){const _0x7d31b1=_0x1f0e,_0x26618d=new Intl[(_0x7d31b1(0x101))](['en'],{'type':_0x7d31b1(0xff)})['of'](_0x3b0c36[_0x7d31b1(0xd0)]),_0x18a252=_0x26618d||_0x7d31b1(0xbd),_0xf10560=[{'id':_0x7d31b1(0xe2),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x8d)),'type':AIQuickActionType[_0x7d31b1(0x99)],'icon':_0x404b2f},{'id':_0x7d31b1(0xdf),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xd8)),'icon':_0x404b2f,'actions':[{'id':_0x7d31b1(0x98),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xe5)),'prompt':Ft[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]},{'id':_0x7d31b1(0x9c),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x9d)),'prompt':Wt[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]},{'id':_0x7d31b1(0xb6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xa4)),'prompt':Bt[_0x7d31b1(0x87)]('%0',_0x18a252),'type':AIQuickActionType[_0x7d31b1(0x99)]}]},{'id':_0x7d31b1(0xf7),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xf4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x3e4e44},{'id':_0x7d31b1(0xd2),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x10c)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x1e044b},{'id':_0x7d31b1(0xc6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xb5)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'icon':_0x32700d},{'id':_0x7d31b1(0x9e),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xcf)),'icon':_0x100761,'actions':[{'id':_0x7d31b1(0xa6),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x7e)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xfe),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xda)),'type':AIQuickActionType[_0x7d31b1(0xf6)]}]},{'id':_0x7d31b1(0x91),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0xfa)),'icon':_0x564699,'actions':[{'id':_0x7d31b1(0xfc),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc7)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xca),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xdb)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xce),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc5)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0xc4),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xea)),'type':AIQuickActionType[_0x7d31b1(0xf6)]},{'id':_0x7d31b1(0x90),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xd5)),'type':AIQuickActionType[_0x7d31b1(0xf6)]}]},{'id':_0x7d31b1(0x108),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0x95)),'icon':_0x4ab541,'actions':[{'id':_0x7d31b1(0x7d),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xfd)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x96)}},{'id':_0x7d31b1(0xd1),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x10b)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xf9)}},{'id':_0x7d31b1(0x83),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x7c)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x109)}},{'id':_0x7d31b1(0xb8),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xb0)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x93)}},{'id':_0x7d31b1(0xed),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xd4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xa2)}},{'id':_0x7d31b1(0xe7),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xc2)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0x7a)}},{'id':_0x7d31b1(0x86),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xe4)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xd3)}},{'id':_0x7d31b1(0xa3),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xcc)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xc0)}},{'id':_0x7d31b1(0xe1),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0x105)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xa1)}},{'id':_0x7d31b1(0x8f),'displayedPrompt':_0x227df9(_0x3b0c36,_0x7d31b1(0xee)),'type':AIQuickActionType[_0x7d31b1(0xf6)],'actionName':_0x7d31b1(0x108),'args':{'language':_0x7d31b1(0xec)}}]},{'id':_0x7d31b1(0x81),'label':_0x227df9(_0x3b0c36,_0x7d31b1(0x8e)),'icon':_0x6e919b,'actions':[]}];return _0xf10560;}(_0x50397b);}[_0x5a65a5(0xc3)](){const _0x1916df=_0x5a65a5,_0x30731d=AIQuickActionsUI[_0x1916df(0x80)](this[_0x1916df(0xd9)][_0x1916df(0xc9)]),_0x112752=(this[_0x1916df(0xd9)][_0x1916df(0x100)][_0x1916df(0xe0)](_0x1916df(0xdd))||[])[_0x1916df(0x88)](_0x84b040=>({..._0x84b040,'icon':void 0x0}));return _0x30731d[_0x1916df(0xe3)](_0x7d364=>_0x1916df(0x81)===_0x7d364['id'])[_0x1916df(0xf0)][_0x1916df(0xad)](..._0x112752),_0x30731d;}[_0x5a65a5(0xf2)](){const _0xa8014a=_0x5a65a5,_0x15b6ca=new _0x3014d6(this[_0xa8014a(0xd9)][_0xa8014a(0xc9)]);_0x15b6ca[_0xa8014a(0x9a)](),this[_0xa8014a(0x102)](_0x15b6ca),this[_0xa8014a(0x9b)](),this[_0xa8014a(0xcb)](_0x15b6ca);}[_0x5a65a5(0x102)](_0xf7983e){const _0xee45b8=_0x5a65a5;this[_0xee45b8(0xd9)]['ui'][_0xee45b8(0x8c)][_0xee45b8(0xdc)](_0xee45b8(0xf5),_0x1862ed(this[_0xee45b8(0xd9)],this[_0xee45b8(0xc8)],{'icon':_0xf65495,'label':_0x227df9(this[_0xee45b8(0xd9)][_0xee45b8(0xc9)],_0xee45b8(0xaf))},_0xf7983e));}[_0x5a65a5(0xac)](_0x857412){const _0x2ee45f=_0x5a65a5;this[_0x2ee45f(0xc8)]=_0x857412[_0x2ee45f(0x88)](_0x478f3d=>{const _0xea7f9f=_0x2ee45f;if(_0xea7f9f(0xf0)in _0x478f3d){const _0x27cb8b=_0x478f3d;return{..._0x27cb8b,'actions':_0x27cb8b[_0xea7f9f(0xf0)][_0xea7f9f(0x88)](_0x4790de=>{const {actions:_0x3e1a99,..._0xc71a7a}=_0x27cb8b;return{..._0x4790de,'parent':_0xc71a7a};})[_0xea7f9f(0x94)](_0x5fcb74=>this[_0xea7f9f(0xae)](_0x5fcb74))};}return _0x478f3d;})[_0x2ee45f(0x94)](_0x305ea2=>_0x2ee45f(0xf0)in _0x305ea2?_0x305ea2[_0x2ee45f(0xf0)][_0x2ee45f(0xe9)]>0x0:this[_0x2ee45f(0xae)](_0x305ea2));}[_0x5a65a5(0xae)](_0x2bca92){const _0x1f5ad4=_0x5a65a5,_0x69521=this[_0x1f5ad4(0xd9)][_0x1f5ad4(0x100)][_0x1f5ad4(0xe0)](_0x1f5ad4(0x106))||[];return this[_0x1f5ad4(0xd9)][_0x1f5ad4(0xa8)][_0x1f5ad4(0x97)](AIQuickActionTypeToPluginName[_0x2bca92[_0x1f5ad4(0xb4)]])&&!_0x69521[_0x1f5ad4(0xba)](_0x2bca92['id']);}[_0x5a65a5(0xcb)](_0x1e5a8c){const _0x128981=_0x5a65a5;this[_0x128981(0xc8)][_0x128981(0xa0)](_0x2d2564=>{const _0x4529d5=_0x128981;if(_0x4529d5(0xf0)in _0x2d2564){const _0x2b7c6f=_0x1862ed(this[_0x4529d5(0xd9)],_0x2d2564[_0x4529d5(0xf0)],_0x2d2564,_0x1e5a8c);this[_0x4529d5(0xd9)]['ui'][_0x4529d5(0x8c)][_0x4529d5(0xdc)](_0x2d2564['id'],_0x2b7c6f),_0x2d2564[_0x4529d5(0xf0)][_0x4529d5(0xa0)](_0x59c6bf=>{const _0xd3377e=_0x4529d5,_0xf0b261=_0x9429fc(this[_0xd3377e(0xd9)],_0x59c6bf);this[_0xd3377e(0xd9)]['ui'][_0xd3377e(0x8c)][_0xd3377e(0xdc)](_0x59c6bf['id'],_0xf0b261);});}else{const _0x26f89e=_0x9429fc(this[_0x4529d5(0xd9)],_0x2d2564,!0x1,!0x0,!0x1);this[_0x4529d5(0xd9)]['ui'][_0x4529d5(0x8c)][_0x4529d5(0xdc)](_0x2d2564['id'],_0x26f89e);}});}[_0x5a65a5(0x9b)](){const _0x3278d8=_0x5a65a5;this[_0x3278d8(0xd9)]['ui'][_0x3278d8(0x8c)][_0x3278d8(0xdc)](_0x3278d8(0x89),_0x593057=>{const _0x3c66c1=_0x3278d8,_0x1081a5=new _0x1b1819(_0x593057),_0x5ebfbc=_0x227df9(_0x593057,_0x3c66c1(0xaf));_0x1081a5[_0x3c66c1(0x85)][_0x3c66c1(0xbb)]({'label':_0x5ebfbc,'icon':_0xf65495});const _0x225b37=new _0xd22edb(_0x593057);_0x225b37[_0x3c66c1(0xbb)]({'ariaLabel':_0x5ebfbc,'role':_0x3c66c1(0x7f)}),this[_0x3c66c1(0xc8)][_0x3c66c1(0xa0)](_0x4e4236=>{const _0x2bf7bd=_0x3c66c1;if(_0x2bf7bd(0xf0)in _0x4e4236){const _0x43c484=_0x4e4236,_0x2be687=new _0x2918e7(_0x593057,_0x1081a5),_0x5a46f4=new _0x1b1819(_0x593057),_0x24412a=new _0xd22edb(_0x593057);_0x5a46f4[_0x2bf7bd(0x85)][_0x2bf7bd(0xbb)]({'label':_0x43c484[_0x2bf7bd(0xf8)],'icon':_0x43c484[_0x2bf7bd(0x7b)]}),_0x43c484[_0x2bf7bd(0xf0)][_0x2bf7bd(0xa0)](_0x3f7c7e=>{const _0x49a209=_0x2bf7bd,_0x2e077d=new _0x2918e7(_0x593057,_0x5a46f4),_0xfd058f=new _0x381605(_0x593057);_0xfd058f[_0x49a209(0xbb)]({'label':_0x3f7c7e[_0x49a209(0x9f)],'icon':_0x3f7c7e[_0x49a209(0x7b)],'role':_0x49a209(0xde)}),_0xfd058f['on'](_0x49a209(0x10d),()=>{const _0x1c626d=_0x49a209;this[_0x1c626d(0xb2)](_0x3f7c7e);}),_0xfd058f[_0x49a209(0xa5)](_0x49a209(0x10d))['to'](_0x5a46f4),_0x2e077d[_0x49a209(0xa9)][_0x49a209(0xdc)](_0xfd058f),_0x24412a[_0x49a209(0x103)][_0x49a209(0xdc)](_0x2e077d);}),_0x5a46f4[_0x2bf7bd(0xcd)][_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x24412a),_0x2be687[_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x5a46f4),_0x225b37[_0x2bf7bd(0x103)][_0x2bf7bd(0xdc)](_0x2be687);}else{const _0x552c6e=_0x4e4236,_0x6b706e=new _0x2918e7(_0x593057,_0x1081a5),_0x16c309=new _0x381605(_0x593057);_0x16c309[_0x2bf7bd(0xbb)]({'label':_0x552c6e[_0x2bf7bd(0x9f)],'icon':_0x552c6e[_0x2bf7bd(0x7b)],'role':_0x2bf7bd(0xde)}),_0x16c309['on'](_0x2bf7bd(0x10d),()=>{const _0xbd2694=_0x2bf7bd;this[_0xbd2694(0xb2)](_0x552c6e);}),_0x16c309[_0x2bf7bd(0xa5)](_0x2bf7bd(0x10d))['to'](_0x1081a5),_0x6b706e[_0x2bf7bd(0xa9)][_0x2bf7bd(0xdc)](_0x16c309),_0x225b37[_0x2bf7bd(0x103)][_0x2bf7bd(0xdc)](_0x6b706e);}});const _0x24af9b=Object[_0x3c66c1(0xd7)](AIQuickActionTypeToPluginName)[_0x3c66c1(0xbf)](_0x47b616=>this[_0x3c66c1(0xd9)][_0x3c66c1(0xa8)][_0x3c66c1(0x97)](_0x47b616));return _0x1081a5[_0x3c66c1(0xbb)]({'isEnabled':_0x24af9b}),_0x1081a5[_0x3c66c1(0xcd)][_0x3c66c1(0xa9)][_0x3c66c1(0xdc)](_0x225b37),_0x1081a5;});}[_0x5a65a5(0xb2)](_0x20b74d){const _0xf92ec2=_0x5a65a5,_0x1c0ef0=this[_0xf92ec2(0xd9)];_0x1c0ef0[_0xf92ec2(0xeb)][_0xf92ec2(0x10e)][_0xf92ec2(0xf3)](),_0x1c0ef0[_0xf92ec2(0xaa)][_0xf92ec2(0x10d)](_0xf92ec2(0xe8),_0x20b74d);const _0x35aa76=_0x1c0ef0['ui'][_0xf92ec2(0x10e)][_0xf92ec2(0xa7)];_0x35aa76&&_0x35aa76[_0xf92ec2(0x104)]&&_0x35aa76[_0xf92ec2(0x104)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54516a,_0x505284){const _0x355edf=_0x482a,_0x3feb6c=_0x54516a();while(!![]){try{const _0x4d25b4=-parseInt(_0x355edf(0xcc))/0x1*(-parseInt(_0x355edf(0xd0))/0x2)+parseInt(_0x355edf(0xdd))/0x3+-parseInt(_0x355edf(0xd1))/0x4*(parseInt(_0x355edf(0xda))/0x5)+parseInt(_0x355edf(0xcf))/0x6*(-parseInt(_0x355edf(0xce))/0x7)+-parseInt(_0x355edf(0xd6))/0x8*(-parseInt(_0x355edf(0xd4))/0x9)+-parseInt(_0x355edf(0xdc))/0xa+parseInt(_0x355edf(0xdf))/0xb;if(_0x4d25b4===_0x505284)break;else _0x3feb6c['push'](_0x3feb6c['shift']());}catch(_0x5d9b29){_0x3feb6c['push'](_0x3feb6c['shift']());}}}(_0x3f1a,0xbaca2));import{ButtonView as _0x3a88a3}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3fb9c1}from'@ckeditor/ckeditor5-icons';function _0x482a(_0x3cf71e,_0x285c29){const _0x3f1a8e=_0x3f1a();return _0x482a=function(_0x482a47,_0x358cc7){_0x482a47=_0x482a47-0xc7;let _0x5d77ce=_0x3f1a8e[_0x482a47];return _0x5d77ce;},_0x482a(_0x3cf71e,_0x285c29);}export function aiQuickActionsButtonCreator(_0x5aadc6,_0x285635,_0x397d04=!0x1,_0x40d39e=!0x0,_0x156015=!0x0){return()=>{const _0x55c804=_0x482a,_0x5a8558=_0x5aadc6[_0x55c804(0xca)],_0x39fa6c=new _0x3a88a3(_0x5a8558),_0x1fd0b9=_0x39fa6c[_0x55c804(0xd2)];_0x156015&&_0x39fa6c[_0x55c804(0xd7)]({'on':{'mouseenter':_0x1fd0b9['to'](()=>{const _0x20ed4b=_0x55c804;_0x39fa6c[_0x20ed4b(0xd3)]();})}});const _0x1d61c0=_0x285635[_0x55c804(0xcb)]??_0x285635[_0x55c804(0xcd)]?.[_0x55c804(0xcb)];return _0x39fa6c[_0x55c804(0xe0)]({'label':_0x285635[_0x55c804(0xdb)],'withText':_0x397d04,'role':_0x55c804(0xc8),'icon':_0x40d39e?_0x1d61c0??_0x3fb9c1:void 0x0,'tooltip':!_0x397d04,'class':_0x55c804(0xd9)}),_0x39fa6c['on'](_0x55c804(0xd8),()=>{const _0x2051a1=_0x55c804;_0x5aadc6[_0x2051a1(0xde)][_0x2051a1(0xd5)][_0x2051a1(0xd3)](),_0x5aadc6[_0x2051a1(0xc9)][_0x2051a1(0xd8)](_0x2051a1(0xc7),_0x285635);}),_0x39fa6c;};}function _0x3f1a(){const _0x5c38ba=['3853866zIkRqz','editing','4479552tKSqQh','set','aiQuickAction','menuitem','commands','locale','icon','689PFNJhF','parent','602BXBiLN','93894PnlNMg','1046IpGyyP','585436nBARqm','bindTemplate','focus','9VGBetm','view','11771856qSeTeW','extendTemplate','execute','ck-ai-quick-actions-button','30BRfmtW','displayedPrompt','5346250LNIHAE'];_0x3f1a=function(){return _0x5c38ba;};return _0x3f1a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x238cee=_0x22bc;(function(_0x137760,_0x4d0cd5){const _0x29bba8=_0x22bc,_0x4c4e7e=_0x137760();while(!![]){try{const _0x54ef9b=-parseInt(_0x29bba8(0xa9))/0x1+parseInt(_0x29bba8(0x93))/0x2+parseInt(_0x29bba8(0xa8))/0x3*(-parseInt(_0x29bba8(0xc0))/0x4)+parseInt(_0x29bba8(0x7d))/0x5+parseInt(_0x29bba8(0xb7))/0x6*(-parseInt(_0x29bba8(0xbe))/0x7)+-parseInt(_0x29bba8(0x8a))/0x8+-parseInt(_0x29bba8(0x89))/0x9*(-parseInt(_0x29bba8(0x92))/0xa);if(_0x54ef9b===_0x4d0cd5)break;else _0x4c4e7e['push'](_0x4c4e7e['shift']());}catch(_0x579d50){_0x4c4e7e['push'](_0x4c4e7e['shift']());}}}(_0x158e,0xb9d87));import{View as _0x35b443,ListItemView as _0x1e6f73,ListView as _0x2cf763,BalloonPanelView as _0x47f0e0,DropdownMenuPanelPositioningFunctions as _0xfb0780,DropdownMenuButtonView as _0x4dfc9d,ViewCollection as _0x34cc4d,FocusCycler as _0x1da75d}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x252088}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2ab46e,KeystrokeHandler as _0x40f1d9}from'ckeditor5/src/utils.js';function _0x22bc(_0x1950f4,_0x2df7b5){const _0x158eb3=_0x158e();return _0x22bc=function(_0x22bcfd,_0x1f824a){_0x22bcfd=_0x22bcfd-0x73;let _0x2907b8=_0x158eb3[_0x22bcfd];return _0x2907b8;},_0x22bc(_0x1950f4,_0x2df7b5);}import{aiQuickActionsButtonCreator as _0x731a07}from'./aiquickactionsbuttoncreator.js';function _0x158e(){const _0x1090a5=['rtl','_hideAllNestedPanels','_hideNestedPanel','forEach','menuitem','1276758erJEXc','.ck-ai-quick-actions-group-button','set','focusTracker','render','eastSouth','.ck-ai-quick-actions-group-list','7wuAfWa','clear','32nPTwtu','focus','_openNestedPanels','get','ArrowLeft','role','pin','ck-ai-quick-actions','ck-ai-quick-actions-group-panel','add','_isMovingToNestedMenu','_showNestedPanel','label','7535255kvcJxM','_focusables','div','uiLanguageDirection','contains','ArrowRight','ck-ai-quick-actions-group-button','ck-dropdown-menu__nested-menu__panel','isOn','children','detachFromDom','hide','2492622mqrTBw','10844696OYBqdY','content','addEventListener','delete','closest','extendTemplate','key','locale','10IWleBi','2397138WPNucA','ck-rounded-corners','addMany','_createActionGroupButton','ck-ai-quick-actions-group-list','_setupGroupMenuBehavior','optionsListView','show','_createActionButton','relatedTarget','ck-dropdown-menu-list','.ck-ai-quick-actions-group-panel','setTemplate','destroy','_createListItems','_bodyCollection','bindTemplate','icon','bind','keystrokes','isVisible','237264WNmuIm','20271zTWGPj','actions','menu','_createGroupActionsList','mouseleave','element','items','focusCycler','ck-reset_all'];_0x158e=function(){return _0x1090a5;};return _0x158e();}const Ls=_0x238cee(0xab),Ns=_0x238cee(0xb6);export class AIQuickActionsDropdownContentView extends _0x35b443{[_0x238cee(0xa2)];[_0x238cee(0x99)];[_0x238cee(0xba)];[_0x238cee(0xa6)];[_0x238cee(0x7e)];[_0x238cee(0xb0)];[_0x238cee(0xc2)]=new Set();constructor(_0x27081c,_0x5cb5e4,_0x36b27c,_0x12c3ac){const _0x33313b=_0x238cee,_0x4fb7ce=_0x27081c[_0x33313b(0x91)];super(_0x4fb7ce),this[_0x33313b(0xa2)]=_0x12c3ac;const _0x436a9c=this[_0x33313b(0xa1)](_0x27081c,_0x5cb5e4,_0x36b27c);this[_0x33313b(0x99)]=new _0x2cf763(_0x4fb7ce),this[_0x33313b(0x99)][_0x33313b(0x75)]=Ls,this[_0x33313b(0x99)][_0x33313b(0xaf)][_0x33313b(0x95)](_0x436a9c),this[_0x33313b(0xba)]=new _0x2ab46e(),this[_0x33313b(0xa6)]=new _0x40f1d9(),this[_0x33313b(0x7e)]=_0x436a9c,this[_0x33313b(0xb0)]=new _0x1da75d({'focusables':this[_0x33313b(0x7e)],'focusTracker':this[_0x33313b(0xba)],'keystrokeHandler':this[_0x33313b(0xa6)]}),this[_0x33313b(0x9f)]({'tag':_0x33313b(0x7f),'attributes':{'class':['ck',_0x33313b(0xb1),_0x33313b(0x77),_0x33313b(0x94)],'dir':_0x4fb7ce[_0x33313b(0x80)]},'children':[this[_0x33313b(0x99)]]});}[_0x238cee(0xa1)](_0x145f33,_0x1e8baf,_0x92c2a4){const _0x137cdb=_0x238cee,_0x49c32e=new _0x34cc4d();return _0x1e8baf[_0x137cdb(0xb5)](_0x4764b1=>{const _0x41c088=_0x137cdb;_0x41c088(0xaa)in _0x4764b1?_0x49c32e[_0x41c088(0x79)](this[_0x41c088(0x96)](_0x145f33,_0x4764b1,_0x92c2a4)):_0x49c32e[_0x41c088(0x79)](this[_0x41c088(0x9b)](_0x145f33,_0x4764b1));}),_0x49c32e;}[_0x238cee(0x9b)](_0x462966,_0x44f619){const _0x4a2d43=_0x238cee,_0x44c03f=new _0x1e6f73(this[_0x4a2d43(0x91)]),_0x1e5d8f=_0x731a07(_0x462966,_0x44f619,!0x0,void 0x0!==_0x44f619[_0x4a2d43(0xa4)])();return _0x44c03f[_0x4a2d43(0x86)][_0x4a2d43(0x79)](_0x1e5d8f),_0x44c03f;}[_0x238cee(0x96)](_0x40517f,_0x263449,_0x7afdea){const _0x4fa6b0=_0x238cee,_0x354869=new _0x1e6f73(this[_0x4fa6b0(0x91)]),_0x41d5e8=new _0x4dfc9d(this[_0x4fa6b0(0x91)]),_0x33a847=_0x41d5e8[_0x4fa6b0(0xa3)],_0x2ec997=_0x4fa6b0(0xb2)===_0x7afdea[_0x4fa6b0(0x91)][_0x4fa6b0(0x80)]?_0x4fa6b0(0x82):_0x4fa6b0(0x74),_0x5a0bf6=this[_0x4fa6b0(0xac)](_0x40517f,_0x263449[_0x4fa6b0(0xaa)],_0x7afdea);_0x41d5e8[_0x4fa6b0(0xb9)]({'label':_0x263449[_0x4fa6b0(0x7c)],'withText':!0x0,'role':Ns,'icon':_0x263449[_0x4fa6b0(0xa4)]??_0x252088}),_0x41d5e8[_0x4fa6b0(0x8f)]({'on':{'mouseenter':_0x33a847['to'](()=>{const _0xf346ea=_0x4fa6b0;_0x41d5e8[_0xf346ea(0xc1)]();})}});const _0x38aad0=new _0x47f0e0(this[_0x4fa6b0(0x91)]);return _0x38aad0[_0x4fa6b0(0x8f)]({'attributes':{'class':['ck',_0x4fa6b0(0xb1),_0x4fa6b0(0x78),_0x4fa6b0(0x84)]},'on':{'keydown':_0x33a847['to'](_0x259efa=>{const _0x433c4e=_0x4fa6b0;_0x259efa[_0x433c4e(0x90)]==_0x2ec997&&(_0x41d5e8[_0x433c4e(0xc1)](),this[_0x433c4e(0xb4)](_0x38aad0));})}}),_0x41d5e8[_0x4fa6b0(0xa5)](_0x4fa6b0(0x85))['to'](_0x38aad0,_0x4fa6b0(0xa7)),this[_0x4fa6b0(0xa2)][_0x4fa6b0(0x79)](_0x38aad0),_0x38aad0[_0x4fa6b0(0x8b)][_0x4fa6b0(0x79)](_0x5a0bf6),this[_0x4fa6b0(0x98)](_0x41d5e8,_0x38aad0),_0x354869[_0x4fa6b0(0x86)][_0x4fa6b0(0x79)](_0x41d5e8),_0x354869;}[_0x238cee(0xac)](_0x4b605f,_0x4e6465,_0x5cf006){const _0x441056=_0x238cee,_0x262dc7=new _0x2cf763(this[_0x441056(0x91)]);return _0x262dc7[_0x441056(0x8f)]({'attributes':{'class':['ck',_0x441056(0xb1),_0x441056(0x97),_0x441056(0x9d)]}}),_0x4e6465[_0x441056(0xb5)](_0x5cc068=>{const _0x9ed86=_0x441056,_0x1ece85=new _0x1e6f73(this[_0x9ed86(0x91)]),_0xa1e620=_0x731a07(_0x4b605f,_0x5cc068,!0x0,!0x1)();_0x1ece85[_0x9ed86(0x86)][_0x9ed86(0x79)](_0xa1e620),_0x5cf006[_0x9ed86(0xba)][_0x9ed86(0x79)](_0xa1e620),_0x262dc7[_0x9ed86(0xaf)][_0x9ed86(0x79)](_0x1ece85);}),_0x262dc7;}[_0x238cee(0x98)](_0x5cfe21,_0x158f4b){const _0x2003c5=_0x238cee,_0x409d39=_0x5cfe21[_0x2003c5(0xa3)],_0x47d1e3=_0x2003c5(0xb2)===_0x5cfe21[_0x2003c5(0x91)][_0x2003c5(0x80)]?_0x2003c5(0x74):_0x2003c5(0x82);_0x5cfe21[_0x2003c5(0x8f)]({'attributes':{'class':[_0x2003c5(0x83)]},'on':{'mouseenter':_0x409d39['to'](()=>{const _0x210058=_0x2003c5;this[_0x210058(0x7b)](_0x158f4b,_0x5cfe21);}),'mouseleave':_0x409d39['to'](_0xc0d0f6=>{const _0x20847e=_0x2003c5,_0x408a2f=_0xc0d0f6[_0x20847e(0x9c)];this[_0x20847e(0x7a)](_0x408a2f,_0x158f4b)||this[_0x20847e(0xb4)](_0x158f4b);}),'keydown':_0x409d39['to'](_0x589e90=>{const _0x2384e3=_0x2003c5;_0x589e90[_0x2384e3(0x90)]==_0x47d1e3&&(this[_0x2384e3(0x7b)](_0x158f4b,_0x5cfe21),_0x158f4b[_0x2384e3(0x8b)][_0x2384e3(0x73)](0x0)[_0x2384e3(0xc1)]());})}}),_0x158f4b['on'](_0x2003c5(0xbb),()=>{const _0x50bf27=_0x2003c5;_0x158f4b[_0x50bf27(0xae)]?.[_0x50bf27(0x8c)](_0x50bf27(0xad),_0x86aad3=>{const _0x2b0075=_0x50bf27,_0x37b9f2=_0x86aad3[_0x2b0075(0x9c)];_0x5cfe21[_0x2b0075(0xae)]?.[_0x2b0075(0x81)](_0x37b9f2)||this[_0x2b0075(0x7a)](_0x37b9f2,_0x158f4b)||this[_0x2b0075(0xb4)](_0x158f4b);});});}[_0x238cee(0x7b)](_0x2cc6c6,_0x17e500){const _0x40bfdc=_0x238cee;this[_0x40bfdc(0xc2)][_0x40bfdc(0xb5)](_0xb94a7e=>{const _0x30b892=_0x40bfdc;_0xb94a7e!==_0x2cc6c6&&_0xb94a7e[_0x30b892(0xa7)]&&_0xb94a7e[_0x30b892(0x88)]();}),_0x2cc6c6[_0x40bfdc(0x9a)](),_0x2cc6c6[_0x40bfdc(0x76)]({'positions':[_0xfb0780[_0x40bfdc(0xbc)]],'target':_0x17e500[_0x40bfdc(0xae)],'fitInViewport':!0x0}),this[_0x40bfdc(0xc2)][_0x40bfdc(0x79)](_0x2cc6c6);}[_0x238cee(0xb4)](_0x114947){const _0x27adf4=_0x238cee;_0x114947[_0x27adf4(0x88)](),this[_0x27adf4(0xc2)][_0x27adf4(0x8d)](_0x114947);}[_0x238cee(0xb3)](){const _0x3a7e38=_0x238cee;this[_0x3a7e38(0xc2)][_0x3a7e38(0xb5)](_0x363f28=>_0x363f28[_0x3a7e38(0x88)]()),this[_0x3a7e38(0xc2)][_0x3a7e38(0xbf)]();}[_0x238cee(0x7a)](_0x3198f2,_0x2bb147){const _0x5c618c=_0x238cee;if(!_0x3198f2)return!0x1;if(_0x2bb147[_0x5c618c(0xae)]?.[_0x5c618c(0x81)](_0x3198f2))return!0x0;const _0x5c5196=_0x3198f2;return _0x5c5196[_0x5c618c(0x8e)]&&(null!==_0x5c5196[_0x5c618c(0x8e)](_0x5c618c(0x9e))||null!==_0x5c5196[_0x5c618c(0x8e)](_0x5c618c(0xbd))||null!==_0x5c5196[_0x5c618c(0x8e)](_0x5c618c(0xb8)));}[_0x238cee(0xa0)](){const _0x5bbe8=_0x238cee;this[_0x5bbe8(0xb3)](),this[_0x5bbe8(0xa2)][_0x5bbe8(0x87)](),super[_0x5bbe8(0xa0)]();}[_0x238cee(0xc1)](){const _0x486227=_0x238cee;this[_0x486227(0x99)][_0x486227(0xc1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ad3f8,_0x476f70){const _0x44d8ed=_0x9285,_0xec3c50=_0x1ad3f8();while(!![]){try{const _0x4847e1=-parseInt(_0x44d8ed(0xff))/0x1*(parseInt(_0x44d8ed(0xfe))/0x2)+-parseInt(_0x44d8ed(0xf2))/0x3*(parseInt(_0x44d8ed(0xf8))/0x4)+-parseInt(_0x44d8ed(0x104))/0x5*(parseInt(_0x44d8ed(0x100))/0x6)+-parseInt(_0x44d8ed(0x102))/0x7*(parseInt(_0x44d8ed(0xf4))/0x8)+parseInt(_0x44d8ed(0xf3))/0x9*(-parseInt(_0x44d8ed(0x101))/0xa)+parseInt(_0x44d8ed(0xf9))/0xb+parseInt(_0x44d8ed(0xf7))/0xc;if(_0x4847e1===_0x476f70)break;else _0xec3c50['push'](_0xec3c50['shift']());}catch(_0x1e05c9){_0xec3c50['push'](_0xec3c50['shift']());}}}(_0x34f8,0xaf8e7));function _0x34f8(){const _0x3561c4=['9eTddUs','32fLBLGC','add','locale','44199048ejtRiZ','132QuGgxT','1858989EgypMy','panelView','set','ck-ai-quick-actions-dropdown','label','2ShuRkD','1299721BBEZoQ','36PxmJaa','9196130VFUrmU','685279cPJqYS','icon','400395WOQTJU','buttonView','children','3798xyRZzx'];_0x34f8=function(){return _0x3561c4;};return _0x34f8();}import{createDropdown as _0x3b0d4e}from'ckeditor5/src/ui.js';function _0x9285(_0x3bae53,_0x355342){const _0x34f84a=_0x34f8();return _0x9285=function(_0x9285b3,_0x35777d){_0x9285b3=_0x9285b3-0xf0;let _0x2edc21=_0x34f84a[_0x9285b3];return _0x2edc21;},_0x9285(_0x3bae53,_0x355342);}import{IconAIQuickActions as _0x31e6de}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x313325}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x4b10fb,_0x10ddb7,_0x2e794d,_0x5f3e4d){return()=>{const _0x11f050=_0x9285,_0x3ffd95=_0x4b10fb[_0x11f050(0xf6)],_0x5ba1c1=_0x3b0d4e(_0x3ffd95);_0x5ba1c1[_0x11f050(0xf0)][_0x11f050(0xfb)]({'icon':_0x2e794d[_0x11f050(0x103)]??_0x31e6de,'label':_0x2e794d[_0x11f050(0xfd)],'tooltip':!0x0}),_0x5ba1c1[_0x11f050(0xfb)]({'class':_0x11f050(0xfc)});const _0x8febd1=new _0x313325(_0x4b10fb,_0x10ddb7,_0x5ba1c1,_0x5f3e4d);return _0x5ba1c1[_0x11f050(0xfa)][_0x11f050(0xf1)][_0x11f050(0xf5)](_0x8febd1),_0x5ba1c1;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3dc106=_0x5de2;function _0x5de2(_0x5bac7b,_0x2b8ccb){const _0x3b4a07=_0x3b4a();return _0x5de2=function(_0x5de21b,_0x48fc5b){_0x5de21b=_0x5de21b-0x147;let _0x5f0bc2=_0x3b4a07[_0x5de21b];return _0x5f0bc2;},_0x5de2(_0x5bac7b,_0x2b8ccb);}(function(_0x1e9003,_0x3e93e8){const _0x45023c=_0x5de2,_0x530685=_0x1e9003();while(!![]){try{const _0x5ac642=parseInt(_0x45023c(0x171))/0x1+parseInt(_0x45023c(0x15b))/0x2*(-parseInt(_0x45023c(0x178))/0x3)+parseInt(_0x45023c(0x15c))/0x4+-parseInt(_0x45023c(0x17d))/0x5+parseInt(_0x45023c(0x15a))/0x6+-parseInt(_0x45023c(0x16d))/0x7+parseInt(_0x45023c(0x16b))/0x8*(parseInt(_0x45023c(0x155))/0x9);if(_0x5ac642===_0x3e93e8)break;else _0x530685['push'](_0x530685['shift']());}catch(_0x133346){_0x530685['push'](_0x530685['shift']());}}}(_0x3b4a,0xefcc7));function _0x3b4a(){const _0x19e3fc=['english','English','longer','French','Chinese\x20(Simplified)','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Adjust\x20tone\x20and\x20style','24394185jTVljC','Professional','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','translate','japanese','1134666vfUQWy','114660nTZnky','473172hrrHPA','russian','Japanese','clarity','Adjust\x20length','spanish','french','italian','readability','Clarity','Translate','Custom\x20command','Casual','language','chinese','8neUmOP','make-tone','2341850DkKEfl','Shorter','direct','Portuguese','1627721Nqlkmf','Spanish','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','korean','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Confident','casual','87njMCjT','friendly','german','Longer','Friendly','8331275tkevyE','dropdown','Direct','Readability','Korean','Select\x20language','confident','Italian','professional','make','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','portuguese','Correctness','shorter','German','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','correctness','custom','Russian','Translate\x20the\x20text\x20into\x20another\x20language.'];_0x3b4a=function(){return _0x19e3fc;};return _0x3b4a();}export const AI_REVIEW_CHECKS=[{'id':_0x3dc106(0x14b),'title':_0x3dc106(0x167),'description':_0x3dc106(0x157),'isParameterized':!0x0},{'id':_0x3dc106(0x14a),'title':_0x3dc106(0x189),'description':_0x3dc106(0x187),'isParameterized':!0x1},{'id':_0x3dc106(0x15f),'title':_0x3dc106(0x165),'description':_0x3dc106(0x149),'isParameterized':!0x1},{'id':_0x3dc106(0x164),'title':_0x3dc106(0x180),'description':_0x3dc106(0x153),'isParameterized':!0x1},{'id':_0x3dc106(0x186),'title':_0x3dc106(0x160),'description':_0x3dc106(0x175),'isParameterized':!0x0,'options':[{'formType':_0x3dc106(0x17e),'label':_0x3dc106(0x160),'default':_0x3dc106(0x150),'data':[{'label':_0x3dc106(0x17b),'id':_0x3dc106(0x150)},{'label':_0x3dc106(0x16e),'id':_0x3dc106(0x147)}]}]},{'id':_0x3dc106(0x16c),'title':_0x3dc106(0x154),'description':_0x3dc106(0x173),'isParameterized':!0x0,'options':[{'formType':_0x3dc106(0x17e),'label':_0x3dc106(0x154),'default':_0x3dc106(0x177),'data':[{'label':_0x3dc106(0x168),'id':_0x3dc106(0x177)},{'label':_0x3dc106(0x17f),'id':_0x3dc106(0x16f)},{'label':_0x3dc106(0x17c),'id':_0x3dc106(0x179)},{'label':_0x3dc106(0x176),'id':_0x3dc106(0x183)},{'label':_0x3dc106(0x156),'id':_0x3dc106(0x185)}]}]},{'id':_0x3dc106(0x158),'title':_0x3dc106(0x166),'description':_0x3dc106(0x14d),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x3dc106(0x17e),'label':_0x3dc106(0x182),'argsKey':_0x3dc106(0x169),'data':[{'label':_0x3dc106(0x14f),'id':_0x3dc106(0x14e)},{'label':_0x3dc106(0x172),'id':_0x3dc106(0x161)},{'label':_0x3dc106(0x151),'id':_0x3dc106(0x162)},{'label':_0x3dc106(0x148),'id':_0x3dc106(0x17a)},{'label':_0x3dc106(0x152),'id':_0x3dc106(0x16a)},{'label':_0x3dc106(0x15e),'id':_0x3dc106(0x159)},{'label':_0x3dc106(0x14c),'id':_0x3dc106(0x15d)},{'label':_0x3dc106(0x170),'id':_0x3dc106(0x188)},{'label':_0x3dc106(0x181),'id':_0x3dc106(0x174)},{'label':_0x3dc106(0x184),'id':_0x3dc106(0x163)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x933a(){var _0x5ce9e6=['1489651YBqksY','1240vqFlck','1622795qbhayl','6mJXrGE','54313rAKyAS','AIReviewMode','2471402pniRbz','pluginName','isOfficialPlugin','13427496xVPcdd','requires','989876MWtcCo','isPremiumPlugin','629916blXwgn'];_0x933a=function(){return _0x5ce9e6;};return _0x933a();}var _0x111de5=_0x46d8;(function(_0x2d5057,_0x136f8a){var _0x4e1379=_0x46d8,_0x28106b=_0x2d5057();while(!![]){try{var _0x187612=parseInt(_0x4e1379(0x7b))/0x1+-parseInt(_0x4e1379(0x73))/0x2+parseInt(_0x4e1379(0x7a))/0x3+parseInt(_0x4e1379(0x78))/0x4+-parseInt(_0x4e1379(0x7d))/0x5*(-parseInt(_0x4e1379(0x7e))/0x6)+-parseInt(_0x4e1379(0x7f))/0x7*(-parseInt(_0x4e1379(0x7c))/0x8)+-parseInt(_0x4e1379(0x76))/0x9;if(_0x187612===_0x136f8a)break;else _0x28106b['push'](_0x28106b['shift']());}catch(_0x41514c){_0x28106b['push'](_0x28106b['shift']());}}}(_0x933a,0xb649b));import{ContextPlugin as _0x8add35}from'ckeditor5/src/core.js';import{AIReviewModeController as _0xcfcc4e}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x5102ec}from'./aireviewmodeui.js';function _0x46d8(_0x36146c,_0xce73eb){var _0x933aa8=_0x933a();return _0x46d8=function(_0x46d839,_0x13d846){_0x46d839=_0x46d839-0x73;var _0x15587b=_0x933aa8[_0x46d839];return _0x15587b;},_0x46d8(_0x36146c,_0xce73eb);}import{AIReviewModeEditing as _0x28ce49}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x8add35{static get[_0x111de5(0x77)](){return[_0xcfcc4e,_0x5102ec,_0x28ce49];}static get[_0x111de5(0x74)](){var _0x64c640=_0x111de5;return _0x64c640(0x80);}static get[_0x111de5(0x75)](){return!0x0;}static get[_0x111de5(0x79)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d8807=_0x1d98;(function(_0x3178df,_0x44845e){const _0x5e40f8=_0x1d98,_0x2c07a5=_0x3178df();while(!![]){try{const _0x6887e7=parseInt(_0x5e40f8(0x1b3))/0x1+-parseInt(_0x5e40f8(0x1ea))/0x2+parseInt(_0x5e40f8(0x1f3))/0x3+-parseInt(_0x5e40f8(0x22c))/0x4+parseInt(_0x5e40f8(0x1ec))/0x5+parseInt(_0x5e40f8(0x190))/0x6+-parseInt(_0x5e40f8(0x1f6))/0x7;if(_0x6887e7===_0x44845e)break;else _0x2c07a5['push'](_0x2c07a5['shift']());}catch(_0x33fb36){_0x2c07a5['push'](_0x2c07a5['shift']());}}}(_0x3298,0x9fe24));import{ContextPlugin as _0x2aa479}from'ckeditor5/src/core.js';import{CKEditorError as _0x14ca66,logError as _0x27a151,scrollAncestorsToShowTarget as _0x3e913d,scrollViewportToShowTarget as _0x36e5eb}from'ckeditor5/src/utils.js';function _0x1d98(_0x41475e,_0x200f25){const _0x32989e=_0x3298();return _0x1d98=function(_0x1d9888,_0x320203){_0x1d9888=_0x1d9888-0x18c;let _0x31767d=_0x32989e[_0x1d9888];return _0x31767d;},_0x1d98(_0x41475e,_0x200f25);}import{AIConnector as _0x3bf832}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x22aba4}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x2c5cb7}from'./model/aireviewsystemcheckrun.js';function _0x3298(){const _0x5227d3=['changeMarkerRemoved','showChunkErrorView','diffContent','switchToReadOnly','showGeneralErrorView','_aiReviewCheckList','markChangeAsPending','isCustom','subTitle','_onReviewModeRunLeave','markChangeAsOutdated','setAvailableChecks','leaveReviewModeResultList','deactivateChange','contentInitial','changeMarkerRestored','documentData','description','prompt','abort','isPremiumPlugin','source','ck-ai-review-mode-diff','markAllChangesAsAccepted','unmodified','setCheckResultTitle','showActionsWhenResultIsReady','view','_changeActivationSource','isOfficialPlugin','AIReviewModeUI','reviewCheckRunUpdated','result','2420772rVRuhI','getAll','markChangeAsAccepted','reviewCheckResultAdded','toggleDiff','.ck-ai-review-mode__check-run-result','model','_OPTIONS_DATA_','context','length','data','ai-review-mode-check-run-general-error','7465260ieOgzz','locale','addResultChanges','reviewCheckResultDeactivated','finished','loading','AI_REVIEW_CHECK_','_OPTIONS_LABEL','applyChange','showDiffInBalloon','setActiveStateInResults','showNoChangesView','init','AI_MODEL_DESCRIPTION_','ai-review-mode-no-current-check-run','getEditor','hasModifications','getMarkerElementForChange','closest','changes','updateChangeState','ai-review-mode-check-run-chunk-error','ready','rejectChange','reviewCheckResultChangeStatusUpdated','showReviewCheckList','config','toUpperCase','dismissChange','pluginName','showReviewCompletedView','error-general','args','error-chunk','leaveReviewMode','950863WphQYo','removeClass','currentError','retryReview','includes','getCheckById','_translateReviewChecks','ck-ai-review-mode-highlights','_aiConnector','models','contentNew','_onDiffChange','panel','find','_logError','stopListening','_getTranslationWithDefault','showChangeBalloon','finishReview','AIReviewModeController','forceReadyState','getChangeElement','translate','markChangeAsRejected','get','_isDiffOn','status','getDocumentData','addClass','params','content','showCheckRunResult','getActiveChanges','requires','title','getReviewCheckList','change','replaceAll','runReviewCheck','sendRating','label','checks','activateChange','listenTo','isChangeActive','showCheckRunResults','options','changeId','aborted','_aiReviewModeUi','_currentReviewCheckRun','custom','domElement','markChangePositionInEditorContent','getRoot','1899038Vwfhmh','ai-review-mode-check-run-failed','970085cZoyMu','document','reviewCheckResultActivated','acceptChange','acceptAllChanges','message','_aiReviewModeEditing','1848390LBcWlj','plugins','clearAllMarkers','5569368yaFouL','AIConnector','editing','ai-review-mode-source-check-not-found','map','abortReviewStream','start','resetActiveStateInResults','processedResultsCount','ai.reviewMode.translations','emitter','_DESCRIPTION','hideChangeBalloon','hideDiffInBalloon','_TITLE','switchToEdit','changeMarkerClick','ai-request-aborted','restart','AIReviewModeEditing','reviewCheckResultReady'];_0x3298=function(){return _0x5227d3;};return _0x3298();}import{AIReviewCustomCheckRun as _0x20e4c7}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x21829a}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x145ed2}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2bcb78}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2aa479{[_0x4d8807(0x1bb)];[_0x4d8807(0x1e4)];[_0x4d8807(0x1f2)];[_0x4d8807(0x210)];[_0x4d8807(0x1e5)];[_0x4d8807(0x1cc)]=!0x1;[_0x4d8807(0x227)]=null;static get[_0x4d8807(0x1d4)](){return[_0x3bf832];}static get[_0x4d8807(0x1ad)](){const _0x5baa7e=_0x4d8807;return _0x5baa7e(0x1c6);}static get[_0x4d8807(0x228)](){return!0x0;}static get[_0x4d8807(0x21f)](){return!0x0;}async[_0x4d8807(0x19c)](){const _0xbe7675=_0x4d8807;this[_0xbe7675(0x1bb)]=this[_0xbe7675(0x18c)][_0xbe7675(0x1f4)][_0xbe7675(0x1cb)](_0xbe7675(0x1f7)),this[_0xbe7675(0x1e4)]=this[_0xbe7675(0x18c)][_0xbe7675(0x1f4)][_0xbe7675(0x1cb)](_0xbe7675(0x229)),this[_0xbe7675(0x1f2)]=this[_0xbe7675(0x18c)][_0xbe7675(0x1f4)][_0xbe7675(0x1cb)](_0xbe7675(0x209));const _0x3a0adf=this[_0xbe7675(0x18c)][_0xbe7675(0x1aa)][_0xbe7675(0x1cb)](_0xbe7675(0x1ff));if(_0x3a0adf){for(const _0x4c52ad of _0x145ed2)_0xbe7675(0x1c9)===_0x4c52ad['id']&&(_0x4c52ad[_0xbe7675(0x1e1)][0x0][_0xbe7675(0x18e)]=_0x3a0adf);}const _0x58483b=this[_0xbe7675(0x1b9)](_0x145ed2);this[_0xbe7675(0x210)]=new _0x22aba4(_0x58483b);const _0x22e665=this[_0xbe7675(0x210)][_0xbe7675(0x1dc)][_0xbe7675(0x1c0)](_0x98681d=>_0xbe7675(0x1e6)===_0x98681d['id']);if(_0x22e665){const _0x37fd94=await new _0x21829a({'connector':this[_0xbe7675(0x1bb)]})[_0xbe7675(0x22d)]();_0x22e665[_0xbe7675(0x1bc)]=_0x37fd94[_0xbe7675(0x1fa)](_0x23cf69=>({..._0x23cf69,'description':this[_0xbe7675(0x1c3)](_0xbe7675(0x19d)+_0x23cf69['id'][_0xbe7675(0x1ab)](),_0x23cf69[_0xbe7675(0x21c)])}));}this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1d6),()=>{const _0x380835=_0xbe7675;this[_0x380835(0x1e4)][_0x380835(0x216)](this[_0x380835(0x210)][_0x380835(0x1dc)]);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1d9),async(_0x2e8893,_0x2303a2)=>{const _0x471f2b=_0xbe7675,_0x3875a0=this[_0x471f2b(0x210)][_0x471f2b(0x1b8)](_0x2303a2['id']);if(_0x3875a0){this[_0x471f2b(0x1be)](this[_0x471f2b(0x1cc)]),_0x2303a2[_0x471f2b(0x212)]?this[_0x471f2b(0x1e5)]=new _0x20e4c7(_0x2303a2[_0x471f2b(0x1b0)][_0x471f2b(0x21d)],_0x2303a2[_0x471f2b(0x1b0)][_0x471f2b(0x232)],this[_0x471f2b(0x1f2)][_0x471f2b(0x1ce)](),_0x3875a0,this[_0x471f2b(0x1bb)]):this[_0x471f2b(0x1e5)]=new _0x2c5cb7(this[_0x471f2b(0x1f2)][_0x471f2b(0x1ce)](),_0x3875a0,this[_0x471f2b(0x1bb)],_0x2303a2[_0x471f2b(0x1d0)],_0x2303a2[_0x471f2b(0x1b0)]),this[_0x471f2b(0x1e4)][_0x471f2b(0x224)](this[_0x471f2b(0x1e5)][_0x471f2b(0x1d5)],this[_0x471f2b(0x1e5)][_0x471f2b(0x213)]),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x22a),(_0x32dc92,_0x3a8b08)=>{const _0x305fc1=_0x471f2b;_0x305fc1(0x18e)===_0x3a8b08[_0x305fc1(0x1cd)]||_0x305fc1(0x195)===_0x3a8b08[_0x305fc1(0x1cd)]?(this[_0x305fc1(0x1f2)][_0x305fc1(0x20e)](),this[_0x305fc1(0x1e4)][_0x305fc1(0x1e0)](_0x3a8b08)):_0x305fc1(0x194)===_0x3a8b08[_0x305fc1(0x1cd)]?this[_0x305fc1(0x1e4)][_0x305fc1(0x1ae)]():_0x305fc1(0x1a6)===_0x3a8b08[_0x305fc1(0x1cd)]?this[_0x305fc1(0x1e4)][_0x305fc1(0x225)]():_0x305fc1(0x223)===_0x3a8b08[_0x305fc1(0x1cd)]?this[_0x305fc1(0x1e4)][_0x305fc1(0x19b)]():_0x305fc1(0x1af)===_0x3a8b08[_0x305fc1(0x1cd)]?(this[_0x305fc1(0x1e4)][_0x305fc1(0x20f)](),this[_0x305fc1(0x1c1)](new _0x14ca66(_0x305fc1(0x18f),this,this[_0x305fc1(0x1e5)]?.[_0x305fc1(0x1b5)]))):_0x305fc1(0x1b1)===_0x3a8b08[_0x305fc1(0x1cd)]?(this[_0x305fc1(0x1e4)][_0x305fc1(0x20c)](),this[_0x305fc1(0x1c1)](new _0x14ca66(_0x305fc1(0x1a5),this,this[_0x305fc1(0x1e5)]?.[_0x305fc1(0x1b5)]))):_0x305fc1(0x1e3)===_0x3a8b08[_0x305fc1(0x1cd)]&&(this[_0x305fc1(0x1e5)]&&this[_0x305fc1(0x1e5)][_0x305fc1(0x1fe)]>0x0?setTimeout(()=>{const _0x4b8e73=_0x305fc1;this[_0x4b8e73(0x1e5)]?.[_0x4b8e73(0x1c7)]();},0x0):this[_0x305fc1(0x214)](!0x0)),_0x305fc1(0x1a6)!==_0x3a8b08[_0x305fc1(0x1cd)]&&_0x305fc1(0x1b1)!==_0x3a8b08[_0x305fc1(0x1cd)]&&_0x305fc1(0x1af)!==_0x3a8b08[_0x305fc1(0x1cd)]||this[_0x305fc1(0x1e5)]?.[_0x305fc1(0x1da)]();}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x22f),(_0x57b4d8,_0x28170d)=>{const _0x465954=_0x471f2b;if(!this[_0x465954(0x1e5)])throw new _0x14ca66(_0x465954(0x19e),this);const _0x50bb5c=this[_0x465954(0x1f2)][_0x465954(0x20d)](_0x28170d[_0x465954(0x22b)][_0x465954(0x219)],_0x28170d[_0x465954(0x22b)][_0x465954(0x1bd)]);_0x28170d[_0x465954(0x220)][_0x465954(0x192)](_0x28170d[_0x465954(0x22b)]['id'],_0x50bb5c);}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x20a),(_0x5dd0c8,_0x213aa7)=>{const _0x18c197=_0x471f2b;for(const _0x364783 of _0x213aa7[_0x18c197(0x1a3)])this[_0x18c197(0x1e4)][_0x18c197(0x1d2)](_0x364783);this[_0x18c197(0x1f2)][_0x18c197(0x1e8)](_0x213aa7[_0x18c197(0x1a3)],_0x213aa7[_0x18c197(0x220)][_0x18c197(0x21b)]);}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x1a8),(_0x1a82d8,_0x40349c)=>{const _0x2050cd=_0x471f2b;this[_0x2050cd(0x1e4)][_0x2050cd(0x1a4)](_0x40349c[_0x2050cd(0x1d7)]['id'],_0x40349c[_0x2050cd(0x1cd)]);}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x1ee),(_0x4ef75d,_0x3477e6)=>{const _0x5bbb03=_0x471f2b;this[_0x5bbb03(0x1e4)][_0x5bbb03(0x19a)](_0x3477e6[_0x5bbb03(0x1d7)]['id']);const _0x8eb165=this[_0x5bbb03(0x1f2)][_0x5bbb03(0x1a1)](_0x3477e6[_0x5bbb03(0x1d7)]['id']);if(_0x8eb165){if(_0x5bbb03(0x1d1)===this[_0x5bbb03(0x227)]){const _0x32cb33=this[_0x5bbb03(0x1e4)][_0x5bbb03(0x1c8)](_0x3477e6[_0x5bbb03(0x1d7)]['id']);_0x32cb33&&_0x3e913d(_0x32cb33[_0x5bbb03(0x1a2)](_0x5bbb03(0x231))||_0x32cb33);}else{if(_0x5bbb03(0x1bf)===this[_0x5bbb03(0x227)]){const _0x402c62={'target':_0x8eb165[_0x5bbb03(0x1e7)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x36e5eb(_0x402c62);}}this[_0x5bbb03(0x1e4)][_0x5bbb03(0x1c4)](_0x3477e6[_0x5bbb03(0x1d7)],_0x8eb165[_0x5bbb03(0x1e7)]);}}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x193),()=>{const _0x4be9cc=_0x471f2b;this[_0x4be9cc(0x1e4)][_0x4be9cc(0x1fd)](),this[_0x4be9cc(0x1e4)][_0x4be9cc(0x202)]();});try{await this[_0x471f2b(0x1e5)][_0x471f2b(0x1fc)]();}catch(_0x416c04){_0x416c04 instanceof Error&&_0x416c04[_0x471f2b(0x1f1)][_0x471f2b(0x1b7)](_0x471f2b(0x207))||(_0x416c04 instanceof _0x14ca66?this[_0x471f2b(0x1c1)](_0x416c04):this[_0x471f2b(0x1c1)](new _0x14ca66(_0x471f2b(0x1eb),this,{'error':_0x416c04})));}}else this[_0x471f2b(0x1c1)](new _0x14ca66(_0x471f2b(0x1f9),this,{'checkId':_0x2303a2['id']}));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1b2),()=>{const _0x4380df=_0xbe7675;this[_0x4380df(0x214)]();}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x217),()=>{const _0x2378f3=_0xbe7675;this[_0x2378f3(0x214)](!0x0);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1fb),()=>{const _0x3689ca=_0xbe7675;this[_0x3689ca(0x1e5)]&&this[_0x3689ca(0x1e5)][_0x3689ca(0x21e)]();}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1c5),()=>{const _0x478045=_0xbe7675;this[_0x478045(0x214)](!0x0);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1f0),()=>{const _0x282b28=_0xbe7675;if(!this[_0x282b28(0x1e5)])return;const _0x1306ca=this[_0x282b28(0x1e5)][_0x282b28(0x1d3)]();_0x1306ca[_0x282b28(0x18d)]&&(this[_0x282b28(0x1f2)][_0x282b28(0x198)](_0x1306ca[_0x282b28(0x1fa)](_0x415b22=>_0x415b22['id'])),this[_0x282b28(0x1e5)][_0x282b28(0x222)](),this[_0x282b28(0x1e5)][_0x282b28(0x1da)]());}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1ef),(_0x5f1b45,_0x56085b)=>{const _0x158ac1=_0xbe7675;this[_0x158ac1(0x1e5)]&&this[_0x158ac1(0x1e5)][_0x158ac1(0x1df)](_0x56085b['id'])&&(this[_0x158ac1(0x1f2)][_0x158ac1(0x198)]([_0x56085b['id']]),this[_0x158ac1(0x1e5)][_0x158ac1(0x22e)](_0x56085b['id']),this[_0x158ac1(0x1e4)][_0x158ac1(0x202)](),this[_0x158ac1(0x1e5)][_0x158ac1(0x1da)](_0x56085b['id']));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1ac),(_0x546714,_0x462b55)=>{const _0x1ebee7=_0xbe7675;this[_0x1ebee7(0x1e5)]&&this[_0x1ebee7(0x1e5)][_0x1ebee7(0x1df)](_0x462b55['id'])&&(this[_0x1ebee7(0x1f2)][_0x1ebee7(0x1a7)](_0x462b55['id']),this[_0x1ebee7(0x1e5)][_0x1ebee7(0x1ca)](_0x462b55['id']),this[_0x1ebee7(0x1e4)][_0x1ebee7(0x202)](),this[_0x1ebee7(0x1e5)][_0x1ebee7(0x1da)](_0x462b55['id']));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x230),(_0x1f904c,_0x4a28d5)=>{const _0x1e938e=_0xbe7675;this[_0x1e938e(0x1cc)]=_0x4a28d5['on'],this[_0x1e938e(0x1be)](this[_0x1e938e(0x1cc)]);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1b6),async()=>{const _0x433c1b=_0xbe7675;this[_0x433c1b(0x1e5)]&&await this[_0x433c1b(0x1e5)][_0x433c1b(0x208)]();}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1dd),(_0x2a6fb7,_0x5456eb)=>{const _0x159c6e=_0xbe7675;this[_0x159c6e(0x1e5)]&&(this[_0x159c6e(0x227)]=_0x159c6e(0x1bf),this[_0x159c6e(0x1e5)][_0x159c6e(0x1dd)](_0x5456eb['id']));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x218),()=>{const _0x5f546d=_0xbe7675;this[_0x5f546d(0x1e5)]&&this[_0x5f546d(0x1e5)][_0x5f546d(0x218)]();}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1f2)][_0xbe7675(0x200)],_0xbe7675(0x206),(_0x191a7d,_0x529b25)=>{const _0x2fa86e=_0xbe7675;this[_0x2fa86e(0x1e5)]&&(this[_0x2fa86e(0x227)]=_0x2fa86e(0x1d1),this[_0x2fa86e(0x1e5)][_0x2fa86e(0x1dd)](_0x529b25[_0x2fa86e(0x1e2)]));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1f2)][_0xbe7675(0x200)],_0xbe7675(0x20b),(_0x3b33d8,_0x1f98bb)=>{const _0x21c0ff=_0xbe7675;this[_0x21c0ff(0x1e5)]&&this[_0x21c0ff(0x1e5)][_0x21c0ff(0x215)](_0x1f98bb[_0x21c0ff(0x1e2)]);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1f2)][_0xbe7675(0x200)],_0xbe7675(0x21a),(_0x54b8d7,_0x560c62)=>{const _0x46df08=_0xbe7675;this[_0x46df08(0x1e5)]&&this[_0x46df08(0x1e5)][_0x46df08(0x211)](_0x560c62[_0x46df08(0x1e2)]);});}[_0x4d8807(0x214)](_0x4523d2=!0x1){const _0x488cfb=_0x4d8807;this[_0x488cfb(0x1e5)]&&(this[_0x488cfb(0x1e5)][_0x488cfb(0x1a0)]||this[_0x488cfb(0x1e5)][_0x488cfb(0x1da)](),this[_0x488cfb(0x1e5)][_0x488cfb(0x1c2)](),this[_0x488cfb(0x1e5)][_0x488cfb(0x21e)](),this[_0x488cfb(0x1e5)]=void 0x0),_0x4523d2&&this[_0x488cfb(0x1e4)][_0x488cfb(0x1a9)](),this[_0x488cfb(0x1f2)][_0x488cfb(0x1f5)](),this[_0x488cfb(0x1f2)][_0x488cfb(0x205)](),this[_0x488cfb(0x227)]=null;const _0x2474dd=this[_0x488cfb(0x1f2)][_0x488cfb(0x19f)]();_0x2474dd&&_0x2474dd[_0x488cfb(0x1f8)][_0x488cfb(0x226)][_0x488cfb(0x1d7)](_0x20f6ea=>{const _0x4d77d9=_0x488cfb,_0x3a84e0=_0x2474dd[_0x4d77d9(0x1f8)][_0x4d77d9(0x226)][_0x4d77d9(0x1ed)][_0x4d77d9(0x1e9)]();_0x20f6ea[_0x4d77d9(0x1b4)](_0x4d77d9(0x221),_0x3a84e0),_0x20f6ea[_0x4d77d9(0x1b4)](_0x4d77d9(0x1ba),_0x3a84e0);});}[_0x4d8807(0x1be)](_0x5a2032){const _0x4db177=_0x4d8807,_0x266224=this[_0x4db177(0x1f2)][_0x4db177(0x19f)]();_0x5a2032?this[_0x4db177(0x1e4)][_0x4db177(0x203)]():this[_0x4db177(0x1e4)][_0x4db177(0x199)](),_0x266224&&_0x266224[_0x4db177(0x1f8)][_0x4db177(0x226)][_0x4db177(0x1d7)](_0x431058=>{const _0x46e80a=_0x4db177,_0x37f9f1=_0x266224[_0x46e80a(0x1f8)][_0x46e80a(0x226)][_0x46e80a(0x1ed)][_0x46e80a(0x1e9)]();_0x431058[_0x46e80a(0x1b4)](_0x46e80a(0x221),_0x37f9f1),_0x431058[_0x46e80a(0x1b4)](_0x46e80a(0x1ba),_0x37f9f1),_0x431058[_0x46e80a(0x1cf)](_0x5a2032?_0x46e80a(0x221):_0x46e80a(0x1ba),_0x37f9f1);});}[_0x4d8807(0x1b9)](_0x33b47c){const _0x2dce63=_0x4d8807;return _0x33b47c[_0x2dce63(0x1fa)](_0x2b15f8=>{const _0x5f10b6=_0x2dce63,_0xc3b8d1=_0x5f10b6(0x196)+_0x2b15f8['id'][_0x5f10b6(0x1ab)]()[_0x5f10b6(0x1d8)]('-','_'),_0x3179f2={..._0x2b15f8,'title':this[_0x5f10b6(0x1c3)](_0xc3b8d1+_0x5f10b6(0x204),_0x2b15f8[_0x5f10b6(0x1d5)]),'description':this[_0x5f10b6(0x1c3)](_0xc3b8d1+_0x5f10b6(0x201),_0x2b15f8[_0x5f10b6(0x21c)])};return _0x2b15f8[_0x5f10b6(0x1e1)]&&(_0x3179f2[_0x5f10b6(0x1e1)]=_0x2b15f8[_0x5f10b6(0x1e1)][_0x5f10b6(0x1fa)](_0x2ff827=>({..._0x2ff827,'label':this[_0x5f10b6(0x1c3)](_0xc3b8d1+_0x5f10b6(0x197),_0x2ff827[_0x5f10b6(0x1db)]||''),'data':_0x2ff827[_0x5f10b6(0x18e)]?_0x2ff827[_0x5f10b6(0x18e)][_0x5f10b6(0x1fa)](_0x4845ad=>({..._0x4845ad,'label':this[_0x5f10b6(0x1c3)](_0xc3b8d1+_0x5f10b6(0x233)+_0x4845ad['id'][_0x5f10b6(0x1ab)](),_0x4845ad[_0x5f10b6(0x1db)])})):void 0x0}))),_0x3179f2;});}[_0x4d8807(0x1c3)](_0x33bb34,_0xa21ed7){const _0x51d829=_0x4d8807,_0x4b0840=this[_0x51d829(0x18c)][_0x51d829(0x191)],_0x56db16=_0x2bcb78(_0x4b0840,_0x33bb34);return _0x56db16===_0x33bb34?_0xa21ed7:_0x56db16;}[_0x4d8807(0x1c1)](_0x5a46ed){const _0x39dbbf=_0x4d8807;_0x27a151(_0x5a46ed[_0x39dbbf(0x1f1)]),this[_0x39dbbf(0x1e4)][_0x39dbbf(0x20f)]();}}
|
|
23
|
+
function _0x5d82(){const _0x3ca3b6=['8iDUvCV','showDiffInBalloon','showCheckRunResult','dismissChange','ai-review-mode-check-run-general-error','markChangePositionInEditorContent','description','_OPTIONS_DATA_','args','finishReview','_aiReviewModeUi','ck-ai-review-mode-highlights','_changeActivationSource','forceReadyState','hideDiffInBalloon','change','listenTo','getChangeElement','content','aborted','showChunkErrorView','finished','diffContent','changeMarkerRemoved','acceptAllChanges','processedResultsCount','ai.reviewMode.translations','8236080EInXjo','closest','setCheckResultTitle','leaveReviewModeResultList','544GZtCAp','getMarkerElementForChange','init','loading','activateChange','subTitle','documentData','unmodified','toUpperCase','abortReviewStream','domElement','model','_aiReviewCheckList','reviewCheckResultDeactivated','requires','status','_TITLE','_isDiffOn','showCheckRunResults','addClass','emitter','resetActiveStateInResults','getCheckById','ck-ai-review-mode-diff','checks','2984784oPMxEG','isChangeActive','find','contentInitial','getActiveChanges','_OPTIONS_LABEL','error-general','getDocumentData','3833055ASFhAu','_onDiffChange','source','ai-review-mode-check-run-chunk-error','params','255609wEloZp','AI_REVIEW_CHECK_','_logError','changes','hideChangeBalloon','_aiConnector','removeClass','ai-review-mode-check-run-failed','AIReviewModeEditing','getRoot','retryReview','5vBWbMH','message','panel','showActionsWhenResultIsReady','contentNew','deactivateChange','showGeneralErrorView','sendRating','stopListening','acceptChange','ai-review-mode-no-current-check-run','switchToEdit','hasModifications','plugins','pluginName','updateChangeState','applyChange','title','runReviewCheck','changeId','getAll','toggleDiff','reviewCheckRunUpdated','setActiveStateInResults','ready','getEditor','_getTranslationWithDefault','map','48LcVyGo','_DESCRIPTION','isPremiumPlugin','rejectChange','get','label','prompt','switchToReadOnly','result','showReviewCompletedView','data','_onReviewModeRunLeave','custom','AI_MODEL_DESCRIPTION_','showReviewCheckList','start','AIReviewModeController','isCustom','74329qxJEWF','reviewCheckResultChangeStatusUpdated','_translateReviewChecks','34636JcYqtA','reviewCheckResultReady','showNoChangesView','markChangeAsOutdated','reviewCheckResultActivated','reviewCheckResultAdded','locale','_aiReviewModeEditing','document','getReviewCheckList','markChangeAsPending','1892472IELkpK','context','translate','config','addResultChanges','length','AIConnector','ai-request-aborted','models','ai-review-mode-source-check-not-found','changeMarkerRestored','_currentReviewCheckRun','.ck-ai-review-mode__check-run-result','editing','isOfficialPlugin','error-chunk','includes','setAvailableChecks','view','clearAllMarkers','showChangeBalloon','changeMarkerClick','replaceAll','AIReviewModeUI','options','markAllChangesAsAccepted','abort','leaveReviewMode','markChangeAsAccepted','markChangeAsRejected','restart','currentError'];_0x5d82=function(){return _0x3ca3b6;};return _0x5d82();}const _0x21c3ca=_0x5ae7;function _0x5ae7(_0xe623bd,_0x1dc143){const _0x5d823b=_0x5d82();return _0x5ae7=function(_0x5ae781,_0x3f470f){_0x5ae781=_0x5ae781-0x172;let _0x4fc7f9=_0x5d823b[_0x5ae781];return _0x4fc7f9;},_0x5ae7(_0xe623bd,_0x1dc143);}(function(_0x7371c8,_0x397242){const _0x1b346a=_0x5ae7,_0x14aa14=_0x7371c8();while(!![]){try{const _0x1d9289=parseInt(_0x1b346a(0x217))/0x1*(parseInt(_0x1b346a(0x199))/0x2)+-parseInt(_0x1b346a(0x1de))/0x3*(parseInt(_0x1b346a(0x205))/0x4)+parseInt(_0x1b346a(0x1e9))/0x5*(parseInt(_0x1b346a(0x179))/0x6)+parseInt(_0x1b346a(0x21a))/0x7*(parseInt(_0x1b346a(0x1b8))/0x8)+-parseInt(_0x1b346a(0x1d9))/0x9+parseInt(_0x1b346a(0x1b4))/0xa+parseInt(_0x1b346a(0x1d1))/0xb;if(_0x1d9289===_0x397242)break;else _0x14aa14['push'](_0x14aa14['shift']());}catch(_0x1c1145){_0x14aa14['push'](_0x14aa14['shift']());}}}(_0x5d82,0x91765));import{ContextPlugin as _0x1721dc}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e21a3,logError as _0x221a16,scrollAncestorsToShowTarget as _0x5a6b8f,scrollViewportToShowTarget as _0x8fccfd}from'ckeditor5/src/utils.js';import{AIConnector as _0x3078e7}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x2e3c5f}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x1de102}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x2c6f3d}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4bc57b}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x295cac}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x1448c3}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x1721dc{[_0x21c3ca(0x1e3)];[_0x21c3ca(0x1a3)];[_0x21c3ca(0x175)];[_0x21c3ca(0x1c4)];[_0x21c3ca(0x184)];[_0x21c3ca(0x1c9)]=!0x1;[_0x21c3ca(0x1a5)]=null;static get[_0x21c3ca(0x1c6)](){return[_0x3078e7];}static get[_0x21c3ca(0x1f7)](){const _0x3cb7a3=_0x21c3ca;return _0x3cb7a3(0x215);}static get[_0x21c3ca(0x187)](){return!0x0;}static get[_0x21c3ca(0x207)](){return!0x0;}async[_0x21c3ca(0x1ba)](){const _0x2e8ec5=_0x21c3ca;this[_0x2e8ec5(0x1e3)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x17f)),this[_0x2e8ec5(0x1a3)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x190)),this[_0x2e8ec5(0x175)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x1e6));const _0x1a5bdc=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x17c)][_0x2e8ec5(0x209)](_0x2e8ec5(0x1b3));if(_0x1a5bdc){for(const _0x303d8e of _0x295cac)_0x2e8ec5(0x17b)===_0x303d8e['id']&&(_0x303d8e[_0x2e8ec5(0x191)][0x0][_0x2e8ec5(0x20f)]=_0x1a5bdc);}const _0x2bd835=this[_0x2e8ec5(0x219)](_0x295cac);this[_0x2e8ec5(0x1c4)]=new _0x2e3c5f(_0x2bd835);const _0x3c54f9=this[_0x2e8ec5(0x1c4)][_0x2e8ec5(0x1d0)][_0x2e8ec5(0x1d3)](_0x54ec41=>_0x2e8ec5(0x211)===_0x54ec41['id']);if(_0x3c54f9){const _0x33fff0=await new _0x4bc57b({'connector':this[_0x2e8ec5(0x1e3)]})[_0x2e8ec5(0x1fd)]();_0x3c54f9[_0x2e8ec5(0x181)]=_0x33fff0[_0x2e8ec5(0x204)](_0x22c0a0=>({..._0x22c0a0,'description':this[_0x2e8ec5(0x203)](_0x2e8ec5(0x212)+_0x22c0a0['id'][_0x2e8ec5(0x1c0)](),_0x22c0a0[_0x2e8ec5(0x19f)])}));}this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x177),()=>{const _0x1d770c=_0x2e8ec5;this[_0x1d770c(0x1a3)][_0x1d770c(0x18a)](this[_0x1d770c(0x1c4)][_0x1d770c(0x1d0)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1fb),async(_0x19154f,_0x3837fe)=>{const _0xa0c065=_0x2e8ec5,_0x3fbb92=this[_0xa0c065(0x1c4)][_0xa0c065(0x1ce)](_0x3837fe['id']);if(_0x3fbb92){this[_0xa0c065(0x1da)](this[_0xa0c065(0x1c9)]),_0x3837fe[_0xa0c065(0x216)]?this[_0xa0c065(0x184)]=new _0x2c6f3d(_0x3837fe[_0xa0c065(0x1a1)][_0xa0c065(0x20b)],_0x3837fe[_0xa0c065(0x1a1)][_0xa0c065(0x1c3)],this[_0xa0c065(0x175)][_0xa0c065(0x1d8)](),_0x3fbb92,this[_0xa0c065(0x1e3)]):this[_0xa0c065(0x184)]=new _0x1de102(this[_0xa0c065(0x175)][_0xa0c065(0x1d8)](),_0x3fbb92,this[_0xa0c065(0x1e3)],_0x3837fe[_0xa0c065(0x1dd)],_0x3837fe[_0xa0c065(0x1a1)]),this[_0xa0c065(0x1a3)][_0xa0c065(0x1b6)](this[_0xa0c065(0x184)][_0xa0c065(0x1fa)],this[_0xa0c065(0x184)][_0xa0c065(0x1bd)]),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x1ff),(_0x3895db,_0x417c1a)=>{const _0x2d5b52=_0xa0c065;_0x2d5b52(0x20f)===_0x417c1a[_0x2d5b52(0x1c7)]||_0x2d5b52(0x1bb)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x175)][_0x2d5b52(0x20c)](),this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ca)](_0x417c1a)):_0x2d5b52(0x1ae)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x20e)]():_0x2d5b52(0x201)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ec)]():_0x2d5b52(0x1bf)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x21c)]():_0x2d5b52(0x1d7)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ef)](),this[_0x2d5b52(0x1e0)](new _0x4e21a3(_0x2d5b52(0x19d),this,this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x198)]))):_0x2d5b52(0x188)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ad)](),this[_0x2d5b52(0x1e0)](new _0x4e21a3(_0x2d5b52(0x1dc),this,this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x198)]))):_0x2d5b52(0x1ac)===_0x417c1a[_0x2d5b52(0x1c7)]&&(this[_0x2d5b52(0x184)]&&this[_0x2d5b52(0x184)][_0x2d5b52(0x1b2)]>0x0?setTimeout(()=>{const _0x1aa16a=_0x2d5b52;this[_0x1aa16a(0x184)]?.[_0x1aa16a(0x1a6)]();},0x0):this[_0x2d5b52(0x210)](!0x0)),_0x2d5b52(0x201)!==_0x417c1a[_0x2d5b52(0x1c7)]&&_0x2d5b52(0x188)!==_0x417c1a[_0x2d5b52(0x1c7)]&&_0x2d5b52(0x1d7)!==_0x417c1a[_0x2d5b52(0x1c7)]||this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x1f0)]();}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x173),(_0x202222,_0x5cb6b9)=>{const _0x3cd408=_0xa0c065;if(!this[_0x3cd408(0x184)])throw new _0x4e21a3(_0x3cd408(0x1f3),this);const _0x247eed=this[_0x3cd408(0x175)][_0x3cd408(0x1af)](_0x5cb6b9[_0x3cd408(0x20d)][_0x3cd408(0x1d4)],_0x5cb6b9[_0x3cd408(0x20d)][_0x3cd408(0x1ed)]);_0x5cb6b9[_0x3cd408(0x1db)][_0x3cd408(0x17d)](_0x5cb6b9[_0x3cd408(0x20d)]['id'],_0x247eed);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x21b),(_0x4db190,_0x5ac8f2)=>{const _0x2df1d2=_0xa0c065;for(const _0x2793cf of _0x5ac8f2[_0x2df1d2(0x1e1)])this[_0x2df1d2(0x1a3)][_0x2df1d2(0x19b)](_0x2793cf);this[_0x2df1d2(0x175)][_0x2df1d2(0x19e)](_0x5ac8f2[_0x2df1d2(0x1e1)],_0x5ac8f2[_0x2df1d2(0x1db)][_0x2df1d2(0x1be)]);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x218),(_0x58c8d3,_0x39bf1e)=>{const _0x22d7b9=_0xa0c065;this[_0x22d7b9(0x1a3)][_0x22d7b9(0x1f8)](_0x39bf1e[_0x22d7b9(0x1a8)]['id'],_0x39bf1e[_0x22d7b9(0x1c7)]);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x172),(_0x9253ad,_0x1ac144)=>{const _0x35e8d9=_0xa0c065;this[_0x35e8d9(0x1a3)][_0x35e8d9(0x200)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);const _0x2a5f84=this[_0x35e8d9(0x175)][_0x35e8d9(0x1b9)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);if(_0x2a5f84){if(_0x35e8d9(0x1ab)===this[_0x35e8d9(0x1a5)]){const _0x2743c8=this[_0x35e8d9(0x1a3)][_0x35e8d9(0x1aa)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);_0x2743c8&&_0x5a6b8f(_0x2743c8[_0x35e8d9(0x1b5)](_0x35e8d9(0x185))||_0x2743c8);}else{if(_0x35e8d9(0x1eb)===this[_0x35e8d9(0x1a5)]){const _0x5eb658={'target':_0x2a5f84[_0x35e8d9(0x1c2)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x8fccfd(_0x5eb658);}}this[_0x35e8d9(0x1a3)][_0x35e8d9(0x18d)](_0x1ac144[_0x35e8d9(0x1a8)],_0x2a5f84[_0x35e8d9(0x1c2)]);}}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x1c5),()=>{const _0x186d71=_0xa0c065;this[_0x186d71(0x1a3)][_0x186d71(0x1cd)](),this[_0x186d71(0x1a3)][_0x186d71(0x1e2)]();});try{await this[_0xa0c065(0x184)][_0xa0c065(0x214)]();}catch(_0x450b79){_0x450b79 instanceof Error&&_0x450b79[_0xa0c065(0x1ea)][_0xa0c065(0x189)](_0xa0c065(0x180))||(_0x450b79 instanceof _0x4e21a3?this[_0xa0c065(0x1e0)](_0x450b79):this[_0xa0c065(0x1e0)](new _0x4e21a3(_0xa0c065(0x1e5),this,{'error':_0x450b79})));}}else this[_0xa0c065(0x1e0)](new _0x4e21a3(_0xa0c065(0x182),this,{'checkId':_0x3837fe['id']}));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x194),()=>{const _0x180c3e=_0x2e8ec5;this[_0x180c3e(0x210)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1b7),()=>{const _0x2a88df=_0x2e8ec5;this[_0x2a88df(0x210)](!0x0);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1c1),()=>{const _0x1f95df=_0x2e8ec5;this[_0x1f95df(0x184)]&&this[_0x1f95df(0x184)][_0x1f95df(0x193)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1a2),()=>{const _0x24d752=_0x2e8ec5;this[_0x24d752(0x210)](!0x0);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1b1),()=>{const _0xaf3d4e=_0x2e8ec5;if(!this[_0xaf3d4e(0x184)])return;const _0x4bc67b=this[_0xaf3d4e(0x184)][_0xaf3d4e(0x1d5)]();_0x4bc67b[_0xaf3d4e(0x17e)]&&(this[_0xaf3d4e(0x175)][_0xaf3d4e(0x1f9)](_0x4bc67b[_0xaf3d4e(0x204)](_0x4ff191=>_0x4ff191['id'])),this[_0xaf3d4e(0x184)][_0xaf3d4e(0x192)](),this[_0xaf3d4e(0x184)][_0xaf3d4e(0x1f0)]());}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1f2),(_0x473e6b,_0x6c57a8)=>{const _0x136dc6=_0x2e8ec5;this[_0x136dc6(0x184)]&&this[_0x136dc6(0x184)][_0x136dc6(0x1d2)](_0x6c57a8['id'])&&(this[_0x136dc6(0x175)][_0x136dc6(0x1f9)]([_0x6c57a8['id']]),this[_0x136dc6(0x184)][_0x136dc6(0x195)](_0x6c57a8['id']),this[_0x136dc6(0x1a3)][_0x136dc6(0x1e2)](),this[_0x136dc6(0x184)][_0x136dc6(0x1f0)](_0x6c57a8['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x19c),(_0x377b5b,_0x4556c1)=>{const _0x46fff2=_0x2e8ec5;this[_0x46fff2(0x184)]&&this[_0x46fff2(0x184)][_0x46fff2(0x1d2)](_0x4556c1['id'])&&(this[_0x46fff2(0x175)][_0x46fff2(0x208)](_0x4556c1['id']),this[_0x46fff2(0x184)][_0x46fff2(0x196)](_0x4556c1['id']),this[_0x46fff2(0x1a3)][_0x46fff2(0x1e2)](),this[_0x46fff2(0x184)][_0x46fff2(0x1f0)](_0x4556c1['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1fe),(_0x44b462,_0x31b8a7)=>{const _0x9a0a76=_0x2e8ec5;this[_0x9a0a76(0x1c9)]=_0x31b8a7['on'],this[_0x9a0a76(0x1da)](this[_0x9a0a76(0x1c9)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1e8),async()=>{const _0xc3ffda=_0x2e8ec5;this[_0xc3ffda(0x184)]&&await this[_0xc3ffda(0x184)][_0xc3ffda(0x197)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1bc),(_0x516a39,_0x19018e)=>{const _0x583df0=_0x2e8ec5;this[_0x583df0(0x184)]&&(this[_0x583df0(0x1a5)]=_0x583df0(0x1eb),this[_0x583df0(0x184)][_0x583df0(0x1bc)](_0x19018e['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1ee),()=>{const _0x221547=_0x2e8ec5;this[_0x221547(0x184)]&&this[_0x221547(0x184)][_0x221547(0x1ee)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x18e),(_0x36b316,_0x44a86e)=>{const _0x15728e=_0x2e8ec5;this[_0x15728e(0x184)]&&(this[_0x15728e(0x1a5)]=_0x15728e(0x1ab),this[_0x15728e(0x184)][_0x15728e(0x1bc)](_0x44a86e[_0x15728e(0x1fc)]));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x1b0),(_0x8f1435,_0x28d1e9)=>{const _0x26414b=_0x2e8ec5;this[_0x26414b(0x184)]&&this[_0x26414b(0x184)][_0x26414b(0x21d)](_0x28d1e9[_0x26414b(0x1fc)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x183),(_0x16386c,_0x1a7b6f)=>{const _0x252e75=_0x2e8ec5;this[_0x252e75(0x184)]&&this[_0x252e75(0x184)][_0x252e75(0x178)](_0x1a7b6f[_0x252e75(0x1fc)]);});}[_0x21c3ca(0x210)](_0x454f88=!0x1){const _0x231417=_0x21c3ca;this[_0x231417(0x184)]&&(this[_0x231417(0x184)][_0x231417(0x1f5)]||this[_0x231417(0x184)][_0x231417(0x1f0)](),this[_0x231417(0x184)][_0x231417(0x1f1)](),this[_0x231417(0x184)][_0x231417(0x193)](),this[_0x231417(0x184)]=void 0x0),_0x454f88&&this[_0x231417(0x1a3)][_0x231417(0x213)](),this[_0x231417(0x175)][_0x231417(0x18c)](),this[_0x231417(0x175)][_0x231417(0x1f4)](),this[_0x231417(0x1a5)]=null;const _0x52c441=this[_0x231417(0x175)][_0x231417(0x202)]();_0x52c441&&_0x52c441[_0x231417(0x186)][_0x231417(0x18b)][_0x231417(0x1a8)](_0x234bba=>{const _0x9d91b4=_0x231417,_0x7c1d3f=_0x52c441[_0x9d91b4(0x186)][_0x9d91b4(0x18b)][_0x9d91b4(0x176)][_0x9d91b4(0x1e7)]();_0x234bba[_0x9d91b4(0x1e4)](_0x9d91b4(0x1cf),_0x7c1d3f),_0x234bba[_0x9d91b4(0x1e4)](_0x9d91b4(0x1a4),_0x7c1d3f);});}[_0x21c3ca(0x1da)](_0x5bb04e){const _0x910a1e=_0x21c3ca,_0x129c46=this[_0x910a1e(0x175)][_0x910a1e(0x202)]();_0x5bb04e?this[_0x910a1e(0x1a3)][_0x910a1e(0x1a7)]():this[_0x910a1e(0x1a3)][_0x910a1e(0x19a)](),_0x129c46&&_0x129c46[_0x910a1e(0x186)][_0x910a1e(0x18b)][_0x910a1e(0x1a8)](_0x21987a=>{const _0x300e54=_0x910a1e,_0x3d9e16=_0x129c46[_0x300e54(0x186)][_0x300e54(0x18b)][_0x300e54(0x176)][_0x300e54(0x1e7)]();_0x21987a[_0x300e54(0x1e4)](_0x300e54(0x1cf),_0x3d9e16),_0x21987a[_0x300e54(0x1e4)](_0x300e54(0x1a4),_0x3d9e16),_0x21987a[_0x300e54(0x1cb)](_0x5bb04e?_0x300e54(0x1cf):_0x300e54(0x1a4),_0x3d9e16);});}[_0x21c3ca(0x219)](_0x323fbd){const _0x5bb2e7=_0x21c3ca;return _0x323fbd[_0x5bb2e7(0x204)](_0x14f8e1=>{const _0x53e231=_0x5bb2e7,_0x4d08dd=_0x53e231(0x1df)+_0x14f8e1['id'][_0x53e231(0x1c0)]()[_0x53e231(0x18f)]('-','_'),_0x541bf4={..._0x14f8e1,'title':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1c8),_0x14f8e1[_0x53e231(0x1fa)]),'description':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x206),_0x14f8e1[_0x53e231(0x19f)])};return _0x14f8e1[_0x53e231(0x191)]&&(_0x541bf4[_0x53e231(0x191)]=_0x14f8e1[_0x53e231(0x191)][_0x53e231(0x204)](_0x43dc86=>({..._0x43dc86,'label':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1d6),_0x43dc86[_0x53e231(0x20a)]||''),'data':_0x43dc86[_0x53e231(0x20f)]?_0x43dc86[_0x53e231(0x20f)][_0x53e231(0x204)](_0xabbfcc=>({..._0xabbfcc,'label':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1a0)+_0xabbfcc['id'][_0x53e231(0x1c0)](),_0xabbfcc[_0x53e231(0x20a)])})):void 0x0}))),_0x541bf4;});}[_0x21c3ca(0x203)](_0x2a519d,_0x1ab7e6){const _0x5baa6e=_0x21c3ca,_0x28d75a=this[_0x5baa6e(0x17a)][_0x5baa6e(0x174)],_0x2b4eb5=_0x1448c3(_0x28d75a,_0x2a519d);return _0x2b4eb5===_0x2a519d?_0x1ab7e6:_0x2b4eb5;}[_0x21c3ca(0x1e0)](_0x477d56){const _0x175a1b=_0x21c3ca;_0x221a16(_0x477d56[_0x175a1b(0x1ea)]),this[_0x175a1b(0x1a3)][_0x175a1b(0x1ef)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f63fa=_0x54bb;(function(_0x3fb24a,_0x4ef442){const _0xe624c0=_0x54bb,_0x354044=_0x3fb24a();while(!![]){try{const _0x55414a=-parseInt(_0xe624c0(0x1dc))/0x1+-parseInt(_0xe624c0(0x1e5))/0x2*(-parseInt(_0xe624c0(0x1be))/0x3)+parseInt(_0xe624c0(0x261))/0x4+-parseInt(_0xe624c0(0x203))/0x5+-parseInt(_0xe624c0(0x231))/0x6+parseInt(_0xe624c0(0x1d1))/0x7+parseInt(_0xe624c0(0x287))/0x8*(-parseInt(_0xe624c0(0x276))/0x9);if(_0x55414a===_0x4ef442)break;else _0x354044['push'](_0x354044['shift']());}catch(_0x2a6ee5){_0x354044['push'](_0x354044['shift']());}}}(_0x9cea,0xc26be));import{InsertOperation as _0x44ba1e,MarkerOperation as _0x3ab45b,ModelDocumentFragment as _0x58a5a6,ModelPosition as _0x5611d6,ModelRange as _0x125146,ModelTreeWalker as _0x17fe61,transformOperationSets as _0x3f53ae}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x28a6e9,EmitterMixin as _0x13ee6b}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x383958}from'ckeditor5/src/core.js';function _0x9cea(){const _0x37955c=['getDomRoot','elements','_getOperationEnd','forEach','260fgWHWc','schema','_createGetContextFn','_changeRangeOwnerDocument','switchToReadOnly','_changeRange','No\x20element\x20found\x20for\x20ID:\x20','createRange','_createGetContentFn','keys','oldRange','changeMarkerRestored','attributeToAttribute','className','offset','marker','pluginName','markChangePositionInEditorContent','_validateMarkers','differ','getRoots','append','getMarkerElementForChange','name','switchToEdit','length','disableReadOnlyMode','enableReadOnlyMode','suggestion:insertion:id:authorId:','changeMarkerRemoved','6769165uYIugb','_sortMarkers','ellipsisAfter','offsetSize','element','groupId','$documentFragment','createText','ck-ai_review-mode-marker_hide','getChangedMarkers','end','remove-context','change','changeMarkerClick','index','containsRange','domConverter','markerToElement','size','hasContentBefore','every','AIReviewModeEditing','add','warn','applyOperation','_getOperationStart','pop','values','_shiftOperation','ck-ai_review-mode-marker_underline','outerHTML','operationsA','ck-ai_review-mode-marker_context-end','htmlProcessor','isIntersecting','afterInit','path','addMarker','getStart','clear','push','version','getPath','createPositionAfter','childCount','isInline','607044SsXOMX','exec','isAtEnd','removeMarker','$textProxy','parentElement','clone','[data-marker-id=\x22','diffContent','isPremiumPlugin','position','ck-ai_review-mode-marker_','ck-ai_review-mode-marker_context-start','$graveyard','hasAttribute','newRange','data-marker-id','getDiff','getChild','view','listenTo','createSelection','isOpening','innerHTML','_domEmitter','affectsData','_eventEmitter','_markers','[data-id=\x22','_hasSameTopLevelElement','getEditor','data','remove-only','baseVersion','suggestion-context','map','target','backward','clearAllMarkers','batch','querySelector','rejectChange','isDocumentOperation','caption','has','model','createPositionAt','requires','4129588rUKEUy','fire','conversion','markers','text','sort','click','downcast','delete','isOfficialPlugin','root','rootName','_appendChild','ck-ai_review-mode-marker_strikethrough','_setAttribute','htmlWriter','parent','getAttribute','toData','concat','getRange','36SJtBhp','includes','createDocumentFragment','document','documentFragment','getChanges','getHtml','_insertMarkers','_handleMarkerChanges','_changePositionOwnerDocument','toDomElement','insert','_nextDataId','ck-ai_review-mode-marker_add','_changePosition','filter','editingDowncast','17504UbArxb','remove-text','getShiftedBy','context','applyChange','hasContentAfter','for','remove','_groupAdjacentOperations','_findAdjacentContextDistance','stringify','_changeOperationOwnerDocument','createRawElement','$markedRemove','dataDowncast','startsWith','_clone','processor','ellipsisBefore','parse','nodes','forward','addOperation','getChildren','from','_removeAttribute','ck-ai_review-mode-marker_context-','ai-review-mode','isAtStart','registerPostFixer','type','insertContent','plugins','AIEditing','reviewmode-','get','27033BYBouB','flat','editing','span','_getChangeContext','_createGetContentUsingDataIdFn','operationsIsolated','markerToHighlight','start','_translateOperationToEditorContent','getDocumentData','isTouching','deleteContent','history','getRoot','split','_findMarkerElement','_removeChildren','toView','3910501FrwoMx','howMany','jumpTo','markerName','hasClass','emitter','_getMarkersDataForGroup','suggestion:deletion:id:authorId:','set','_parseMarkerName','createUIElement','502361kJydad','model:$text','viewToDom','DocumentCompare','getOperations'];_0x9cea=function(){return _0x37955c;};return _0x9cea();}import{DocumentCompare as _0x386bc2,DATA_ID_MODEL_ATTRIBUTE as _0x3a6ae6,DATA_ID_VIEW_ATTRIBUTE as _0x4c8700}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x54bb(_0x5c6e9e,_0x3bb4c9){const _0x9ceaa3=_0x9cea();return _0x54bb=function(_0x54bbce,_0x388f91){_0x54bbce=_0x54bbce-0x1b1;let _0x4daaaf=_0x9ceaa3[_0x54bbce];return _0x4daaaf;},_0x54bb(_0x5c6e9e,_0x3bb4c9);}import{getEditorFromContext as _0x4dc46b}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x8bc9be}from'../aicore/aiediting.js';const we=_0x2f63fa(0x1bc);export class AIReviewModeEditing extends _0x383958{static get[_0x2f63fa(0x1f5)](){const _0x2b2131=_0x2f63fa;return _0x2b2131(0x218);}static get[_0x2f63fa(0x260)](){return[_0x386bc2,_0x8bc9be];}static get[_0x2f63fa(0x26a)](){return!0x0;}static get[_0x2f63fa(0x23a)](){return!0x0;}[_0x2f63fa(0x24c)]=new Map();[_0x2f63fa(0x249)];[_0x2f63fa(0x24b)];constructor(_0x41bc36){const _0x13aa2e=_0x2f63fa;super(_0x41bc36),this[_0x13aa2e(0x249)]=new(_0x28a6e9())(),this[_0x13aa2e(0x24b)]=new(_0x13ee6b())();}get[_0x2f63fa(0x1d6)](){const _0x1447d4=_0x2f63fa;return this[_0x1447d4(0x24b)];}[_0x2f63fa(0x226)](){const _0xa89d75=_0x2f63fa,_0x2a0f32=_0x4dc46b(this[_0xa89d75(0x28a)]);_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x286))[_0xa89d75(0x214)]({'model':we+_0xa89d75(0x281),'view':(_0x599f46,{writer:_0x4dc551})=>{const _0x563345=_0xa89d75,_0x2cbd53=this[_0x563345(0x24c)][_0x563345(0x1bd)](_0x599f46[_0x563345(0x1d4)]),_0x7dd1a9={'class':_0x563345(0x283),'data-marker-id':_0x599f46[_0x563345(0x1d4)]};return _0x4dc551[_0x563345(0x1db)](_0x563345(0x1c1),_0x7dd1a9,function(_0x41dafe){const _0x521967=_0x563345,_0x4abb53=this[_0x521967(0x280)](_0x41dafe);return _0x4abb53[_0x521967(0x248)]=_0x2cbd53?.[_0x521967(0x265)]||'',_0x4abb53;});}}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x286))[_0xa89d75(0x1c5)]({'model':we+_0xa89d75(0x251),'view':_0x4084a6=>({'classes':_0xa89d75(0x26e),'attributes':{'data-marker-id':_0x4084a6[_0xa89d75(0x1d4)]}})}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x286))[_0xa89d75(0x1c5)]({'model':we+_0xa89d75(0x20e),'view':_0x667361=>({'classes':_0xa89d75(0x220),'attributes':{'data-marker-id':_0x667361[_0xa89d75(0x1d4)]}})}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x286))[_0xa89d75(0x1c5)]({'model':we+_0xa89d75(0x288),'view':_0x5ad855=>({'classes':_0xa89d75(0x20b),'attributes':{'data-marker-id':_0x5ad855[_0xa89d75(0x1d4)]}})}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x295))[_0xa89d75(0x214)]({'model':we+_0xa89d75(0x253),'view':(_0x87d557,{writer:_0x5969a5})=>_0x5969a5[_0xa89d75(0x293)](_0xa89d75(0x1c1),{'class':_0xa89d75(0x1b4)+(_0x87d557[_0xa89d75(0x247)]?_0xa89d75(0x1c6):_0xa89d75(0x20d))})}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x268))[_0xa89d75(0x1f1)]({'model':_0x3a6ae6,'view':_0x4c8700}),this[_0xa89d75(0x249)][_0xa89d75(0x245)](document,_0xa89d75(0x267),(_0x40d9c4,_0x129eb2)=>{const _0x8d52da=_0xa89d75,_0x4d7b24=_0x129eb2[_0x8d52da(0x255)],_0x60b6eb=this[_0x8d52da(0x1ce)](_0x4d7b24);if(!_0x60b6eb)return;const _0x403110=_0x60b6eb[_0x8d52da(0x272)](_0x8d52da(0x241)),_0x444853=_0x403110[_0x8d52da(0x1cd)](':')[_0x8d52da(0x21d)]()?.[_0x8d52da(0x1cd)]('_')[0x0];this[_0x8d52da(0x24b)][_0x8d52da(0x262)](_0x8d52da(0x210),{'markerId':_0x403110,'changeId':_0x444853});}),_0x2a0f32[_0xa89d75(0x25e)][_0xa89d75(0x279)][_0xa89d75(0x1b7)](_0x10db42=>this[_0xa89d75(0x1f7)](_0x2a0f32,_0x10db42)),_0x2a0f32[_0xa89d75(0x25e)][_0xa89d75(0x279)]['on'](_0xa89d75(0x20f),()=>this[_0xa89d75(0x27e)](_0x2a0f32));}[_0x2f63fa(0x1c8)](){const _0x4c004e=_0x2f63fa,_0x10fcb1=this[_0x4c004e(0x28a)][_0x4c004e(0x1ba)][_0x4c004e(0x1bd)](_0x4c004e(0x1bb)),_0x3fe9e6=_0x4dc46b(this[_0x4c004e(0x28a)]),_0x3ed2b8=_0x3fe9e6[_0x4c004e(0x25e)],_0x42ae61=new _0x58a5a6();for(const _0x1328dc of _0x3ed2b8[_0x4c004e(0x279)][_0x4c004e(0x1cc)]()[_0x4c004e(0x1b1)]()){const _0x215f0a=_0x1328dc[_0x4c004e(0x297)](!0x0);_0x42ae61[_0x4c004e(0x26d)](_0x215f0a);}for(const _0x109b46 of _0x3ed2b8[_0x4c004e(0x264)])_0x42ae61[_0x4c004e(0x264)][_0x4c004e(0x1d9)](_0x109b46[_0x4c004e(0x1fc)],this[_0x4c004e(0x1e8)](_0x109b46[_0x4c004e(0x275)]()[_0x4c004e(0x237)](),_0x42ae61));const _0x561815=new _0x17fe61({'ignoreElementEnd':!0x0,'startPosition':_0x3ed2b8[_0x4c004e(0x25f)](_0x42ae61,0x0)}),_0x4cf483=new Set(),_0x2c4b37=new Map();for(const {item:_0x5996e9}of _0x561815){if(!_0x5996e9['is'](_0x4c004e(0x235)))continue;const _0x2fad8f=_0x5996e9[_0x4c004e(0x271)];if((!_0x2fad8f||!_0x2fad8f['is'](_0x4c004e(0x207),_0x4c004e(0x25c)))&&(_0x2fad8f&&_0x2fad8f['is'](_0x4c004e(0x207)))){let _0x5dfec8=_0x2fad8f[_0x4c004e(0x272)](_0x3a6ae6);_0x5dfec8||(_0x5dfec8=_0x10fcb1[_0x4c004e(0x282)](_0x4cf483),_0x2fad8f[_0x4c004e(0x26f)](_0x3a6ae6,_0x5dfec8)),_0x4cf483[_0x4c004e(0x219)](_0x5dfec8);let _0x47e9ab=_0x2fad8f;for(;_0x47e9ab[_0x4c004e(0x271)]&&!_0x47e9ab[_0x4c004e(0x271)]['is'](_0x4c004e(0x27a));)_0x47e9ab=_0x47e9ab[_0x4c004e(0x271)],_0x47e9ab[_0x4c004e(0x23f)](_0x3a6ae6)&&_0x47e9ab[_0x4c004e(0x1b3)](_0x3a6ae6);_0x2c4b37[_0x4c004e(0x1d9)](_0x5dfec8,{'path':_0x2fad8f[_0x4c004e(0x22d)](),'getContent':this[_0x4c004e(0x1c3)](_0x47e9ab[_0x4c004e(0x297)](!0x0),_0x5dfec8,_0x3fe9e6[_0x4c004e(0x250)])}),_0x561815[_0x4c004e(0x1d3)](_0x3ed2b8[_0x4c004e(0x22e)](_0x2fad8f));}}return{'content':_0x3fe9e6[_0x4c004e(0x250)][_0x4c004e(0x298)][_0x4c004e(0x273)](_0x3fe9e6[_0x4c004e(0x250)][_0x4c004e(0x1d0)](_0x42ae61)),'version':_0x3fe9e6[_0x4c004e(0x25e)][_0x4c004e(0x279)][_0x4c004e(0x22c)],'elements':_0x2c4b37};}[_0x2f63fa(0x239)](_0xd1edaf,_0x123ff9){const _0x2d522e=_0x2f63fa,_0x568c32=[],_0x37099d=_0x4dc46b(this[_0x2d522e(0x28a)]),_0x187a74=_0x37099d[_0x2d522e(0x250)][_0x2d522e(0x29a)](_0xd1edaf,_0x2d522e(0x209)),_0x3498e4=_0x37099d[_0x2d522e(0x25e)][_0x2d522e(0x25f)](_0x187a74,0x0),_0x4d2529=_0x37099d[_0x2d522e(0x250)][_0x2d522e(0x29a)](_0x123ff9,_0x2d522e(0x209));if(!this[_0x2d522e(0x24e)](_0x187a74,_0x4d2529))return _0x568c32;const _0x3f7919=this[_0x2d522e(0x28a)][_0x2d522e(0x1ba)][_0x2d522e(0x1bd)](_0x2d522e(0x1df))[_0x2d522e(0x242)](_0xd1edaf,_0x123ff9,{'anchor':_0x3498e4,'markDeletions':!0x0})[_0x2d522e(0x1e0)]()[_0x2d522e(0x285)](_0x1d4fe9=>_0x2d522e(0x281)===_0x1d4fe9[_0x2d522e(0x1b8)]||_0x2d522e(0x1f4)===_0x1d4fe9[_0x2d522e(0x1b8)]&&_0x1d4fe9[_0x2d522e(0x1fc)][_0x2d522e(0x296)](_0x2d522e(0x294))),_0x5eb821=this[_0x2d522e(0x28f)](_0x3f7919);let _0x539970=0x0;return _0x37099d[_0x2d522e(0x25e)][_0x2d522e(0x20f)](_0x421d82=>{const _0x1bb676=_0x2d522e;for(let _0x45d711=0x0;_0x45d711<_0x5eb821[_0x1bb676(0x1fe)];_0x45d711++){const _0x2a3257=_0x5eb821[_0x45d711],_0x180226=_0x421d82[_0x1bb676(0x278)]();for(const _0xd5e53e of _0x187a74[_0x1bb676(0x1b1)]())_0x421d82[_0x1bb676(0x1fa)](_0xd5e53e[_0x1bb676(0x297)](!0x0),_0x180226);for(const _0x3d837a of _0x2a3257[_0x1bb676(0x1c4)])if(_0x1bb676(0x281)===_0x3d837a[_0x1bb676(0x1b8)]){const _0x41a4d8=_0x3d837a;_0x41a4d8[_0x1bb676(0x252)]=null,_0x41a4d8[_0x1bb676(0x25b)]=!0x1,this[_0x1bb676(0x292)](_0x41a4d8,_0x180226),_0x421d82[_0x1bb676(0x258)][_0x1bb676(0x29d)](_0x3d837a),_0x37099d[_0x1bb676(0x25e)][_0x1bb676(0x21b)](_0x3d837a);const _0x462db3=_0x1bb676(0x201)+_0x539970++,_0x4afa87=_0x37099d[_0x1bb676(0x25e)][_0x1bb676(0x1ec)](_0x41a4d8[_0x1bb676(0x23b)],_0x41a4d8[_0x1bb676(0x23b)][_0x1bb676(0x289)](_0x41a4d8[_0x1bb676(0x1d2)]));_0x180226[_0x1bb676(0x264)][_0x1bb676(0x1d9)](_0x462db3,_0x4afa87);}else{if(_0x1bb676(0x1f4)===_0x3d837a[_0x1bb676(0x1b8)]&&_0x3d837a[_0x1bb676(0x1fc)][_0x1bb676(0x296)](_0x1bb676(0x294))){const _0x3d238c=_0x3d837a,_0x2e2098=_0x1bb676(0x1d8)+_0x539970++;this[_0x1bb676(0x292)](_0x3d238c,_0x180226),_0x180226[_0x1bb676(0x264)][_0x1bb676(0x1d9)](_0x2e2098,_0x3d238c[_0x1bb676(0x240)]);}}const _0x5640ea=this[_0x1bb676(0x1c2)](this[_0x1bb676(0x27f)](this[_0x1bb676(0x21c)](_0x2a3257[_0x1bb676(0x1c4)][0x0]),_0x180226),this[_0x1bb676(0x27f)](this[_0x1bb676(0x1e3)](_0x2a3257[_0x1bb676(0x1c4)][_0x2a3257[_0x1bb676(0x1c4)][_0x1bb676(0x1fe)]-0x1]),_0x180226));_0x180226[_0x1bb676(0x264)][_0x1bb676(0x1d9)](we+_0x1bb676(0x253),new _0x125146(_0x5640ea[_0x1bb676(0x1c6)],_0x5640ea[_0x1bb676(0x20d)])),_0x568c32[_0x1bb676(0x22b)]({..._0x2a3257,'context':this[_0x1bb676(0x1e7)](_0x180226,_0x37099d[_0x1bb676(0x250)],{'ellipsisBefore':_0x5640ea[_0x1bb676(0x216)],'ellipsisAfter':_0x5640ea[_0x1bb676(0x28c)]}),'content':this[_0x1bb676(0x1ed)](_0x180226,_0x37099d[_0x1bb676(0x250)])});}}),_0x568c32;}[_0x2f63fa(0x1f6)](_0x215c76,_0x2b45fc){const _0x335c70=_0x2f63fa;if(!_0x215c76[_0x335c70(0x1fe)])return;const _0x47204f=_0x215c76[0x0][_0x335c70(0x271)]['id'],_0xacedf6=_0x2b45fc[_0x335c70(0x1e2)][_0x335c70(0x1bd)](_0x47204f);if(!_0xacedf6)return void console[_0x335c70(0x21a)](_0x335c70(0x1eb)+_0x47204f);const _0x407361=_0xacedf6[_0x335c70(0x227)],_0x1df72f=_0x4dc46b(this[_0x335c70(0x28a)]),_0x59872e=_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x279)][_0x335c70(0x1cb)][_0x335c70(0x1e0)](_0x2b45fc[_0x335c70(0x22c)]),_0x558756=[];for(const _0x10b77f of _0x215c76){const _0x5be191=_0x10b77f[_0x335c70(0x1c4)][_0x335c70(0x254)](_0x35bbe4=>this[_0x335c70(0x1c7)](_0x35bbe4,_0x407361,_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x279)][_0x335c70(0x1f9)]()[0x0]));if(!_0x5be191||!_0x5be191[_0x335c70(0x1fe)])continue;const _0x3b923b=_0x5be191[_0x335c70(0x217)](_0x5e914b=>_0x335c70(0x1f4)===_0x5e914b[_0x335c70(0x1b8)]&&_0x5e914b[_0x335c70(0x1fc)][_0x335c70(0x296)](_0x335c70(0x294))),_0x84489a={'document':_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x279)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5771b0=_0x3f53ae(_0x5be191,_0x59872e,_0x84489a)[_0x335c70(0x222)];for(const _0x1d0649 of _0x5771b0)if(_0x335c70(0x281)===_0x1d0649[_0x335c70(0x1b8)]){const _0x5ef5f9=_0x1d0649,_0x24ef7f=_0x5ef5f9[_0x335c70(0x29b)];let _0x376f97='';for(const _0x401bfc of _0x24ef7f)_0x401bfc&&_0x401bfc['is'](_0x335c70(0x1dd))&&(_0x376f97+=_0x401bfc[_0x335c70(0x250)]);_0x558756[_0x335c70(0x22b)]({'start':_0x5ef5f9[_0x335c70(0x23b)],'end':_0x5ef5f9[_0x335c70(0x23b)],'type':_0x335c70(0x281),'groupId':_0x10b77f['id'],'text':_0x376f97});}else{if(_0x335c70(0x1f4)===_0x1d0649[_0x335c70(0x1b8)]&&_0x1d0649[_0x335c70(0x1fc)][_0x335c70(0x296)](_0x335c70(0x294))){const _0x7b1248=_0x1d0649;let _0x4c206a=_0x335c70(0x288);if(_0x3b923b){const _0x439805=this[_0x335c70(0x290)](_0x7b1248[_0x335c70(0x240)][_0x335c70(0x1c6)],_0x335c70(0x256),_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x1e6)]),_0x189e53=this[_0x335c70(0x290)](_0x7b1248[_0x335c70(0x240)][_0x335c70(0x20d)],_0x335c70(0x29c),_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x1e6)]);if(_0x439805||_0x189e53){const _0xccad57=_0x7b1248[_0x335c70(0x240)][_0x335c70(0x1c6)][_0x335c70(0x289)](-_0x439805),_0x3b066c=_0x7b1248[_0x335c70(0x240)][_0x335c70(0x20d)][_0x335c70(0x289)](_0x189e53);_0x558756[_0x335c70(0x22b)]({'start':_0xccad57,'end':_0x3b066c,'groupId':_0x10b77f['id'],'type':_0x335c70(0x20e)});}else _0x4c206a=_0x335c70(0x251);}_0x558756[_0x335c70(0x22b)]({'start':_0x7b1248[_0x335c70(0x240)][_0x335c70(0x1c6)],'end':_0x7b1248[_0x335c70(0x240)][_0x335c70(0x20d)],'groupId':_0x10b77f['id'],'type':_0x4c206a});}}}this[_0x335c70(0x27d)](_0x558756);}[_0x2f63fa(0x257)](){const _0x1cd544=_0x2f63fa,_0x11bb33=_0x4dc46b(this[_0x1cd544(0x28a)]);_0x11bb33[_0x1cd544(0x25e)][_0x1cd544(0x20f)](_0x4b146a=>{const _0x19c5c5=_0x1cd544;for(const _0x38fd21 of this[_0x19c5c5(0x24c)][_0x19c5c5(0x1ee)]())_0x11bb33[_0x19c5c5(0x25e)][_0x19c5c5(0x264)][_0x19c5c5(0x1bd)](_0x38fd21)&&_0x4b146a[_0x19c5c5(0x234)](_0x38fd21);}),this[_0x1cd544(0x24c)][_0x1cd544(0x22a)]();}[_0x2f63fa(0x1e9)](){const _0x5c2e77=_0x2f63fa;_0x4dc46b(this[_0x5c2e77(0x28a)])[_0x5c2e77(0x200)](_0x5c2e77(0x1b5));}[_0x2f63fa(0x1fd)](){const _0x6e3ea6=_0x2f63fa;_0x4dc46b(this[_0x6e3ea6(0x28a)])[_0x6e3ea6(0x1ff)](_0x6e3ea6(0x1b5));}[_0x2f63fa(0x28b)](_0xa9dd2){const _0x1686db=_0x2f63fa,_0xcacfb2=_0x4dc46b(this[_0x1686db(0x28a)]),_0x3b1a2d=_0xcacfb2[_0x1686db(0x25e)],_0x531979=_0xa9dd2[_0x1686db(0x254)](_0x46cb52=>this[_0x1686db(0x1d7)](_0x46cb52))[_0x1686db(0x1bf)]();_0x3b1a2d[_0x1686db(0x20f)](_0x1cebf9=>{const _0x79868b=_0x1686db;for(const _0x1c647a of _0x531979){const _0x3e7cb1=_0xcacfb2[_0x79868b(0x25e)][_0x79868b(0x264)][_0x79868b(0x1bd)](_0x1c647a['id']);_0x3e7cb1&&(_0x79868b(0x281)===_0x1c647a[_0x79868b(0x1b8)]?_0x3b1a2d[_0x79868b(0x1b9)](_0x1cebf9[_0x79868b(0x20a)](_0x1c647a[_0x79868b(0x265)]||''),_0x3e7cb1[_0x79868b(0x275)]()[_0x79868b(0x1c6)]):_0x79868b(0x288)!==_0x1c647a[_0x79868b(0x1b8)]&&_0x79868b(0x251)!==_0x1c647a[_0x79868b(0x1b8)]||_0x3b1a2d[_0x79868b(0x1ca)](_0x3b1a2d[_0x79868b(0x246)](_0x3e7cb1[_0x79868b(0x275)]())),_0x1cebf9[_0x79868b(0x234)](_0x1c647a['id']),this[_0x79868b(0x24c)][_0x79868b(0x269)](_0x1c647a['id']));}});}[_0x2f63fa(0x25a)](_0x1795a3){const _0x44afbb=_0x2f63fa,_0x41ba9c=_0x4dc46b(this[_0x44afbb(0x28a)]),_0x5d00f0=this[_0x44afbb(0x1d7)](_0x1795a3);_0x41ba9c[_0x44afbb(0x25e)][_0x44afbb(0x20f)](_0x1d1bb5=>{const _0xa82e8a=_0x44afbb;for(const _0x4237d5 of _0x5d00f0)_0x1d1bb5[_0xa82e8a(0x234)](_0x4237d5['id']),this[_0xa82e8a(0x24c)][_0xa82e8a(0x269)](_0x4237d5['id']);});}[_0x2f63fa(0x24f)](){const _0x1bf4fc=_0x2f63fa;return _0x4dc46b(this[_0x1bf4fc(0x28a)]);}[_0x2f63fa(0x1fb)](_0x1b8dfd){const _0x539657=_0x2f63fa,_0x286303=Array[_0x539657(0x1b2)](this[_0x539657(0x24c)][_0x539657(0x21e)]())[_0x539657(0x285)](_0x5d6ff5=>_0x5d6ff5[_0x539657(0x208)]===_0x1b8dfd);if(!_0x286303[_0x539657(0x1fe)])return null;const _0x19a4a6=0x1===_0x286303[_0x539657(0x1fe)]?_0x286303[0x0]:this[_0x539657(0x204)](_0x286303)[0x0],_0x5c53ea=_0x4dc46b(this[_0x539657(0x28a)]),_0x50e861=_0x5c53ea[_0x539657(0x25e)][_0x539657(0x264)][_0x539657(0x1bd)](_0x19a4a6['id']);if(!_0x50e861)return null;const _0x1ef918=_0x50e861[_0x539657(0x275)](),_0x5e3582=_0x5c53ea[_0x539657(0x1c0)][_0x539657(0x244)][_0x539657(0x1e1)]();if(!_0x5e3582||!_0x1ef918)return null;const _0x4c99ed=_0x5e3582[_0x539657(0x259)](_0x539657(0x238)+_0x19a4a6['id']+'\x22]');return _0x4c99ed?{'modelRange':_0x1ef918,'domElement':_0x4c99ed}:null;}[_0x2f63fa(0x1f7)](_0x5098b1,_0x126887){const _0x2bb5b8=_0x2f63fa,_0x5c7a3c=Array[_0x2bb5b8(0x1b2)](this[_0x2bb5b8(0x24c)][_0x2bb5b8(0x1ee)]()),_0x5e1858=new Map();for(const _0x14cd38 of _0x5c7a3c){const _0x755ecc=_0x5098b1[_0x2bb5b8(0x25e)][_0x2bb5b8(0x264)][_0x2bb5b8(0x1bd)](_0x14cd38);if(!_0x755ecc)continue;const _0x2f1cce=_0x755ecc[_0x2bb5b8(0x229)]()[_0x2bb5b8(0x227)][0x0];_0x5e1858[_0x2bb5b8(0x25d)](_0x2f1cce)||_0x5e1858[_0x2bb5b8(0x1d9)](_0x2f1cce,[]),_0x5e1858[_0x2bb5b8(0x1bd)](_0x2f1cce)[_0x2bb5b8(0x22b)](_0x755ecc);}const _0x442b75=new Set();for(const _0x1ba12f of _0x5098b1[_0x2bb5b8(0x25e)][_0x2bb5b8(0x279)][_0x2bb5b8(0x1f8)][_0x2bb5b8(0x27b)]()){let _0x204093=-0x1,_0x12ba05=null;if(_0x2bb5b8(0x281)===_0x1ba12f[_0x2bb5b8(0x1b8)])_0x12ba05=new _0x125146(_0x1ba12f[_0x2bb5b8(0x23b)],_0x1ba12f[_0x2bb5b8(0x23b)][_0x2bb5b8(0x289)](_0x1ba12f[_0x2bb5b8(0x1fe)])),_0x204093=_0x1ba12f[_0x2bb5b8(0x23b)][_0x2bb5b8(0x227)][0x0];else{if(_0x2bb5b8(0x28e)!==_0x1ba12f[_0x2bb5b8(0x1b8)])continue;_0x12ba05=new _0x125146(_0x1ba12f[_0x2bb5b8(0x23b)]),_0x204093=_0x1ba12f[_0x2bb5b8(0x23b)][_0x2bb5b8(0x227)][0x0];}const _0x427e4e=_0x5e1858[_0x2bb5b8(0x1bd)](_0x204093)||[];if(_0x427e4e[_0x2bb5b8(0x1fe)]){for(const _0x22d6f9 of _0x427e4e)if(_0x12ba05[_0x2bb5b8(0x26b)][_0x2bb5b8(0x26c)]===_0x22d6f9[_0x2bb5b8(0x275)]()[_0x2bb5b8(0x26b)][_0x2bb5b8(0x26c)]&&(_0x2bb5b8(0x281)!==_0x1ba12f[_0x2bb5b8(0x1b8)]||!_0x12ba05[_0x2bb5b8(0x212)](_0x22d6f9[_0x2bb5b8(0x275)]()))&&(_0x12ba05[_0x2bb5b8(0x225)](_0x22d6f9[_0x2bb5b8(0x275)]())||_0x12ba05[_0x2bb5b8(0x1c6)][_0x2bb5b8(0x1c9)](_0x22d6f9[_0x2bb5b8(0x275)]()[_0x2bb5b8(0x20d)])||_0x12ba05[_0x2bb5b8(0x20d)][_0x2bb5b8(0x1c9)](_0x22d6f9[_0x2bb5b8(0x275)]()[_0x2bb5b8(0x1c6)]))){const _0x2742d3=this[_0x2bb5b8(0x1da)](_0x22d6f9[_0x2bb5b8(0x1fc)]);Array[_0x2bb5b8(0x1b2)](this[_0x2bb5b8(0x24c)][_0x2bb5b8(0x21e)]())[_0x2bb5b8(0x285)](_0x4a2eab=>_0x4a2eab[_0x2bb5b8(0x208)]===_0x2742d3[_0x2bb5b8(0x208)])[_0x2bb5b8(0x1e4)](_0x394f3b=>_0x442b75[_0x2bb5b8(0x219)](_0x394f3b['id']));}}}if(_0x442b75[_0x2bb5b8(0x215)]){for(const _0x4e6f0a of _0x442b75)_0x126887[_0x2bb5b8(0x234)](_0x4e6f0a);return!0x0;}return!0x1;}[_0x2f63fa(0x27e)](_0x567e38){const _0x3ef435=_0x2f63fa;for(const {name:_0x2cbf22,data:_0x555017}of _0x567e38[_0x3ef435(0x25e)][_0x3ef435(0x279)][_0x3ef435(0x1f8)][_0x3ef435(0x20c)]()){if(!_0x2cbf22[_0x3ef435(0x296)](we))continue;const _0x230741=_0x555017[_0x3ef435(0x1ef)],_0x152be6=_0x555017[_0x3ef435(0x240)],_0x2076ba=_0x230741&&_0x3ef435(0x23e)===_0x230741[_0x3ef435(0x26b)][_0x3ef435(0x26c)],_0xa45a5=_0x152be6&&_0x3ef435(0x23e)===_0x152be6[_0x3ef435(0x26b)][_0x3ef435(0x26c)];if(_0x2076ba&&_0xa45a5)continue;const _0x306de1=this[_0x3ef435(0x1da)](_0x2cbf22);this[_0x3ef435(0x24c)][_0x3ef435(0x1bd)](_0x2cbf22)&&(_0xa45a5||!_0x152be6?this[_0x3ef435(0x24b)][_0x3ef435(0x262)](_0x3ef435(0x202),{'markerId':_0x2cbf22,'changeId':_0x306de1[_0x3ef435(0x208)]}):_0x2076ba&&_0x152be6&&this[_0x3ef435(0x24b)][_0x3ef435(0x262)](_0x3ef435(0x1f0),{'markerId':_0x2cbf22,'changeId':_0x306de1[_0x3ef435(0x208)]}));}}[_0x2f63fa(0x1da)](_0x4e0e3c){const _0xcaff90=_0x2f63fa,_0x84b0a7=_0x4e0e3c[_0xcaff90(0x1cd)](':'),_0x58c348=(_0x84b0a7[0x1]||'')[_0xcaff90(0x1cd)]('_');return{'prefix':_0x84b0a7[0x0],'groupId':_0x58c348[0x0],'suffix':_0x58c348[0x1]};}[_0x2f63fa(0x1c7)](_0x5591c9,_0xb51f33,_0x4242fa){const _0x52fb5f=_0x2f63fa;if(_0x52fb5f(0x281)===_0x5591c9[_0x52fb5f(0x1b8)]){const _0xc53ade=_0x5591c9;return new _0x44ba1e(this[_0x52fb5f(0x284)](_0xb51f33[_0x52fb5f(0x274)](_0xc53ade[_0x52fb5f(0x23b)][_0x52fb5f(0x1f3)]),_0x4242fa),_0xc53ade[_0x52fb5f(0x29b)],_0xc53ade[_0x52fb5f(0x252)]);}if(_0x52fb5f(0x1f4)===_0x5591c9[_0x52fb5f(0x1b8)]&&_0x5591c9[_0x52fb5f(0x1fc)][_0x52fb5f(0x296)](_0x52fb5f(0x294))){const _0x3c45ef=_0x5591c9;return new _0x3ab45b(_0x3c45ef[_0x52fb5f(0x1fc)],_0x3c45ef[_0x52fb5f(0x1ef)],this[_0x52fb5f(0x1ea)](_0x3c45ef[_0x52fb5f(0x240)],_0xb51f33[_0x52fb5f(0x274)](_0x3c45ef[_0x52fb5f(0x240)][_0x52fb5f(0x1c6)][_0x52fb5f(0x1f3)]),_0xb51f33[_0x52fb5f(0x274)](_0x3c45ef[_0x52fb5f(0x240)][_0x52fb5f(0x20d)][_0x52fb5f(0x1f3)]),_0x4242fa),_0x3c45ef[_0x52fb5f(0x24c)],_0x3c45ef[_0x52fb5f(0x24a)],_0x3c45ef[_0x52fb5f(0x252)]);}return _0x5591c9;}[_0x2f63fa(0x28f)](_0x11c564){const _0x5b77e5=_0x2f63fa;if(!_0x11c564[_0x5b77e5(0x1fe)])return[];const _0x2c5faf=[];let _0x2ac01f=0x0,_0x5c1ea7=0x0,_0x47d6b1=[];for(let _0x3f0a23=0x0;_0x3f0a23<=_0x11c564[_0x5b77e5(0x1fe)];_0x3f0a23++){const _0x227c96=_0x11c564[_0x3f0a23],_0x3cb797=_0x11c564[_0x3f0a23-0x1];!_0x227c96||_0x3cb797&&!this[_0x5b77e5(0x1e3)](_0x3cb797)[_0x5b77e5(0x1c9)](this[_0x5b77e5(0x21c)](_0x227c96))?(_0x2c5faf[_0x5b77e5(0x22b)]({'operations':_0x47d6b1,'operationsIsolated':_0x47d6b1[_0x5b77e5(0x254)](_0x40b3ed=>this[_0x5b77e5(0x21f)](_0x40b3ed[_0x5b77e5(0x237)](),-_0x5c1ea7)),'groupOffset':_0x2ac01f}),_0x47d6b1=_0x227c96?[_0x227c96]:[],_0x5c1ea7+=_0x2ac01f,_0x2ac01f=0x0):_0x47d6b1[_0x5b77e5(0x22b)](_0x227c96),_0x227c96&&_0x5b77e5(0x281)===_0x227c96[_0x5b77e5(0x1b8)]&&(_0x2ac01f+=_0x227c96[_0x5b77e5(0x1d2)]);}return _0x2c5faf;}[_0x2f63fa(0x290)](_0x1ca6cd,_0x20b1d6,_0xa58f2c,_0x12dfdb=0x1){const _0x313283=_0x2f63fa,_0x191a81=new _0x17fe61({'startPosition':_0x1ca6cd,'direction':_0x20b1d6});let _0x5aba8d=0x0;for(let _0x173db2=0x0;_0x173db2<_0x12dfdb;_0x173db2++){let _0x1a5a9b=0x0,_0x561165=!0x1,_0x21a24e=_0x313283(0x29c)===_0x20b1d6?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5ea15a}of _0x191a81)if(_0x5ea15a['is'](_0x313283(0x235))){const _0x1e6558=_0x21a24e[_0x313283(0x232)](_0x5ea15a[_0x313283(0x250)]);if(_0x1e6558&&_0x1e6558[_0x313283(0x1fe)]){if(_0x1a5a9b+=_0x313283(0x29c)===_0x20b1d6?_0x1e6558[_0x313283(0x211)]+_0x1e6558[0x0][_0x313283(0x1fe)]:_0x5ea15a[_0x313283(0x250)][_0x313283(0x1fe)]-_0x1e6558[_0x313283(0x211)],_0x1e6558[0x0][_0x313283(0x1fe)]!==_0x5ea15a[_0x313283(0x250)][_0x313283(0x1fe)])break;_0x561165=!0x0,_0x21a24e=_0x313283(0x29c)===_0x20b1d6?/^\w+/:/\w+$/;}else{if(_0x561165)break;_0x1a5a9b+=_0x5ea15a[_0x313283(0x206)];}}else{if(_0x5ea15a['is'](_0x313283(0x207))){_0xa58f2c[_0x313283(0x230)](_0x5ea15a)&&!_0x561165&&(_0x1a5a9b+=0x1);break;}}_0x5aba8d+=_0x1a5a9b,_0x191a81[_0x313283(0x1d3)](_0x1ca6cd[_0x313283(0x289)](_0x313283(0x29c)===_0x20b1d6?_0x5aba8d:-_0x5aba8d));}return _0x5aba8d;}[_0x2f63fa(0x1c2)](_0x2b26f8,_0x33408a){const _0x345c2e=_0x2f63fa,_0x1acfcf=_0x4dc46b(this[_0x345c2e(0x28a)])[_0x345c2e(0x25e)][_0x345c2e(0x1e6)],_0x13d55d=this[_0x345c2e(0x290)](_0x2b26f8,_0x345c2e(0x256),_0x1acfcf,0x6),_0x4b8788=this[_0x345c2e(0x290)](_0x33408a,_0x345c2e(0x29c),_0x1acfcf,0x6),_0x10d3c5=_0x2b26f8[_0x345c2e(0x289)](-_0x13d55d),_0x4812c5=_0x33408a[_0x345c2e(0x289)](_0x4b8788);return{'start':_0x10d3c5,'end':_0x4812c5,'hasContentBefore':!_0x10d3c5[_0x345c2e(0x1b6)],'hasContentAfter':!_0x4812c5[_0x345c2e(0x233)]};}[_0x2f63fa(0x27d)](_0x4cb8f4){const _0x229dfd=_0x2f63fa,_0x4bbb25=this[_0x229dfd(0x28a)][_0x229dfd(0x1ba)][_0x229dfd(0x1bd)](_0x229dfd(0x1bb)),_0x130890=new Set();_0x4dc46b(this[_0x229dfd(0x28a)])[_0x229dfd(0x25e)][_0x229dfd(0x20f)](_0x18913b=>{const _0x330b1f=_0x229dfd;for(const _0xc07bf4 of _0x4cb8f4){const _0x507230=''+we+_0xc07bf4[_0x330b1f(0x1b8)]+':'+_0xc07bf4[_0x330b1f(0x208)]+'_'+_0x4bbb25[_0x330b1f(0x282)](_0x130890);this[_0x330b1f(0x24c)][_0x330b1f(0x1d9)](_0x507230,{'id':_0x507230,'groupId':_0xc07bf4[_0x330b1f(0x208)],'type':_0xc07bf4[_0x330b1f(0x1b8)],'text':_0xc07bf4[_0x330b1f(0x265)]}),_0x18913b[_0x330b1f(0x228)](_0x507230,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x18913b[_0x330b1f(0x1ec)](_0xc07bf4[_0x330b1f(0x1c6)],_0xc07bf4[_0x330b1f(0x20d)])});}});}[_0x2f63fa(0x1e7)](_0x167728,_0x334d63,_0x35fc38){let _0x46b63e='';return()=>{const _0x551f62=_0x54bb;if(!_0x46b63e){const _0x267fb1=_0x334d63[_0x551f62(0x1d0)](_0x167728,{'showSuggestionHighlights':!0x0}),_0x1b92d5=_0x267fb1[_0x551f62(0x243)](0x0);if(!_0x1b92d5)return'';let _0xfd03ac=!0x1;const _0x4ddafa=[];for(const _0x30fb5b of _0x1b92d5[_0x551f62(0x1b1)]())_0x30fb5b['is'](_0x551f62(0x207),_0x551f62(0x1c1))&&_0x30fb5b[_0x551f62(0x1d5)](_0x551f62(0x223))&&(_0xfd03ac=!0x1),_0xfd03ac&&_0x4ddafa[_0x551f62(0x22b)](_0x30fb5b),_0x30fb5b['is'](_0x551f62(0x207),_0x551f62(0x1c1))&&_0x30fb5b[_0x551f62(0x1d5)](_0x551f62(0x23d))&&(_0xfd03ac=!0x0);_0x1b92d5[_0x551f62(0x1cf)](0x0,_0x1b92d5[_0x551f62(0x22f)]),_0x35fc38?.[_0x551f62(0x299)]&&_0x1b92d5[_0x551f62(0x26d)]('…'),_0x1b92d5[_0x551f62(0x26d)](_0x4ddafa),_0x35fc38?.[_0x551f62(0x205)]&&_0x1b92d5[_0x551f62(0x26d)]('…');const _0x2794c1=_0x334d63[_0x551f62(0x224)][_0x551f62(0x213)][_0x551f62(0x1de)](_0x267fb1),_0x4e6f85=_0x334d63[_0x551f62(0x224)][_0x551f62(0x270)][_0x551f62(0x27c)](_0x2794c1);_0x46b63e=_0x4e6f85;}return _0x46b63e;};}[_0x2f63fa(0x1ed)](_0x270a8e,_0x3ec48d){const _0x271c6c=_0x2f63fa;let _0x5eb4e='';return()=>(_0x5eb4e||(_0x5eb4e=_0x3ec48d[_0x271c6c(0x291)](_0x270a8e,{'showSuggestionHighlights':!0x0})),_0x5eb4e);}[_0x2f63fa(0x1c3)](_0x4657e4,_0x4dca3b,_0x2c2e1a){let _0x3b7fb4='';return()=>{const _0x572e18=_0x54bb;if(!_0x3b7fb4){const _0x475b5f=_0x2c2e1a[_0x572e18(0x1d0)](new _0x58a5a6(_0x4657e4)),_0x385539=_0x2c2e1a[_0x572e18(0x224)][_0x572e18(0x213)][_0x572e18(0x1de)](_0x475b5f)[_0x572e18(0x259)](_0x572e18(0x24d)+_0x4dca3b+'\x22]');_0x3b7fb4=_0x385539?.[_0x572e18(0x221)]||'';}return _0x3b7fb4;};}[_0x2f63fa(0x1ce)](_0x324c51,_0x860b2a=0x5){const _0x990cbe=_0x2f63fa;let _0x2993fd=_0x324c51,_0x5d2bec=null;for(let _0x16406d=0x0;_0x16406d<_0x860b2a&&_0x2993fd;_0x16406d++){if(!_0x2993fd[_0x990cbe(0x1f2)]){_0x2993fd=_0x2993fd[_0x990cbe(0x236)];continue;}if(!(''+_0x2993fd[_0x990cbe(0x1f2)])[_0x990cbe(0x277)](_0x990cbe(0x23c))){_0x2993fd=_0x2993fd[_0x990cbe(0x236)];continue;}if(!_0x2993fd[_0x990cbe(0x272)](_0x990cbe(0x241)))break;_0x5d2bec=_0x2993fd;break;}return _0x5d2bec;}[_0x2f63fa(0x1d7)](_0x4632de){const _0x42944c=_0x2f63fa;return Array[_0x42944c(0x1b2)](this[_0x42944c(0x24c)][_0x42944c(0x21e)]())[_0x42944c(0x285)](_0x53f4e0=>_0x53f4e0[_0x42944c(0x208)]===_0x4632de);}[_0x2f63fa(0x21c)](_0x5a5f19){const _0x2d7675=_0x2f63fa;return _0x2d7675(0x281)===_0x5a5f19[_0x2d7675(0x1b8)]?_0x5a5f19[_0x2d7675(0x23b)]:_0x5a5f19[_0x2d7675(0x240)][_0x2d7675(0x1c6)];}[_0x2f63fa(0x1e3)](_0x20fc94,_0x488547=!0x1){const _0x21173c=_0x2f63fa;return _0x21173c(0x281)===_0x20fc94[_0x21173c(0x1b8)]?_0x488547?_0x20fc94[_0x21173c(0x23b)]:_0x20fc94[_0x21173c(0x23b)][_0x21173c(0x289)](_0x20fc94[_0x21173c(0x1d2)]):_0x20fc94[_0x21173c(0x240)][_0x21173c(0x20d)];}[_0x2f63fa(0x21f)](_0x2f7772,_0x55b1ff){const _0x4ecc27=_0x2f63fa;return _0x4ecc27(0x281)===_0x2f7772[_0x4ecc27(0x1b8)]?_0x2f7772[_0x4ecc27(0x23b)]=_0x2f7772[_0x4ecc27(0x23b)][_0x4ecc27(0x289)](_0x55b1ff):_0x4ecc27(0x1f4)===_0x2f7772[_0x4ecc27(0x1b8)]&&_0x2f7772[_0x4ecc27(0x240)]&&(_0x2f7772[_0x4ecc27(0x240)]=new _0x125146(_0x2f7772[_0x4ecc27(0x240)][_0x4ecc27(0x1c6)][_0x4ecc27(0x289)](_0x55b1ff),_0x2f7772[_0x4ecc27(0x240)][_0x4ecc27(0x20d)][_0x4ecc27(0x289)](_0x55b1ff))),_0x2f7772;}[_0x2f63fa(0x292)](_0x398545,_0x20971f){const _0x29d763=_0x2f63fa;_0x29d763(0x281)===_0x398545[_0x29d763(0x1b8)]?_0x398545[_0x29d763(0x23b)]=this[_0x29d763(0x27f)](_0x398545[_0x29d763(0x23b)],_0x20971f):_0x29d763(0x1f4)===_0x398545[_0x29d763(0x1b8)]&&_0x398545[_0x29d763(0x240)]&&(_0x398545[_0x29d763(0x240)]=this[_0x29d763(0x1e8)](_0x398545[_0x29d763(0x240)],_0x20971f));}[_0x2f63fa(0x27f)](_0x57f95d,_0x27820c){const _0x64baf0=_0x2f63fa;return new _0x5611d6(_0x27820c,_0x57f95d[_0x64baf0(0x227)]);}[_0x2f63fa(0x1e8)](_0x5f2748,_0x4d68fd){const _0x10eb14=_0x2f63fa;return new _0x125146(this[_0x10eb14(0x27f)](_0x5f2748[_0x10eb14(0x1c6)],_0x4d68fd),this[_0x10eb14(0x27f)](_0x5f2748[_0x10eb14(0x20d)],_0x4d68fd));}[_0x2f63fa(0x284)](_0x24fb05,_0x4f1961){return new _0x5611d6(_0x4f1961,[..._0x24fb05]);}[_0x2f63fa(0x1ea)](_0x461522,_0xc02183,_0x2606ba,_0x2d36ca){const _0x3f7b5a=_0x2f63fa;return new _0x125146(this[_0x3f7b5a(0x284)](_0xc02183,_0x2d36ca),this[_0x3f7b5a(0x284)](_0x2606ba,_0x2d36ca));}[_0x2f63fa(0x204)](_0x16ce5c){const _0x122c35=_0x2f63fa,_0x2eb8b1=_0x37e048=>{const _0x542a69=_0x54bb;switch(_0x37e048){case _0x542a69(0x281):return 0x1;case _0x542a69(0x20e):return 0x2;case _0x542a69(0x251):return 0x3;case _0x542a69(0x288):return 0x4;}};return _0x16ce5c[_0x122c35(0x266)]((_0x229e45,_0x2edd5b)=>_0x2eb8b1(_0x229e45[_0x122c35(0x1b8)])-_0x2eb8b1(_0x2edd5b[_0x122c35(0x1b8)]));}[_0x2f63fa(0x24e)](_0x252c95,_0x1e98e5){const _0x33aa57=_0x2f63fa,_0x543499=_0x252c95[_0x33aa57(0x243)](0x0),_0x1749e4=_0x1e98e5[_0x33aa57(0x243)](0x0);return!(!_0x543499||!_0x1749e4)&&((!_0x543499['is'](_0x33aa57(0x207))||!_0x1749e4['is'](_0x33aa57(0x207))||_0x543499[_0x33aa57(0x1fc)]===_0x1749e4[_0x33aa57(0x1fc)])&&!(_0x543499['is'](_0x33aa57(0x207))&&!_0x1749e4['is'](_0x33aa57(0x207))||!_0x543499['is'](_0x33aa57(0x207))&&_0x1749e4['is'](_0x33aa57(0x207))));}}
|
|
23
|
+
const _0xff2b94=_0x1a8a;(function(_0x3c5e51,_0x46af51){const _0x1eb502=_0x1a8a,_0xe59827=_0x3c5e51();while(!![]){try{const _0x4089f5=-parseInt(_0x1eb502(0x176))/0x1+parseInt(_0x1eb502(0x201))/0x2+-parseInt(_0x1eb502(0x1e7))/0x3+-parseInt(_0x1eb502(0x1be))/0x4+-parseInt(_0x1eb502(0x1d8))/0x5*(-parseInt(_0x1eb502(0x1fe))/0x6)+parseInt(_0x1eb502(0x1c0))/0x7+-parseInt(_0x1eb502(0x1f2))/0x8*(-parseInt(_0x1eb502(0x151))/0x9);if(_0x4089f5===_0x46af51)break;else _0xe59827['push'](_0xe59827['shift']());}catch(_0x52fab6){_0xe59827['push'](_0xe59827['shift']());}}}(_0x4835,0x3b341));import{InsertOperation as _0x2bc0ae,MarkerOperation as _0x1ae859,ModelDocumentFragment as _0x34f008,ModelPosition as _0x29f8a7,ModelRange as _0x1ae561,ModelTreeWalker as _0x4fbbb7,transformOperationSets as _0x37f3b3}from'ckeditor5/src/engine.js';function _0x1a8a(_0x1b3bae,_0x42b59c){const _0x48358d=_0x4835();return _0x1a8a=function(_0x1a8a26,_0x4ff1f7){_0x1a8a26=_0x1a8a26-0x148;let _0x1f4018=_0x48358d[_0x1a8a26];return _0x1f4018;},_0x1a8a(_0x1b3bae,_0x42b59c);}import{DomEmitterMixin as _0x363ba,EmitterMixin as _0x56b1c2}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x2b9ee0}from'ckeditor5/src/core.js';import{DocumentCompare as _0x386002,DATA_ID_MODEL_ATTRIBUTE as _0x4840cb,DATA_ID_VIEW_ATTRIBUTE as _0x278019}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4835(){const _0x51debb=['changeMarkerRestored','$textProxy','isOpening','data-marker-id','add','suggestion:insertion:id:authorId:','differ','markChangePositionInEditorContent','caption','filter','hasAttribute','$documentFragment','jumpTo','$graveyard','_createGetContentUsingDataIdFn','ellipsisBefore','markerName','ai-review-mode','length','documentFragment','_translateOperationToEditorContent','createDocumentFragment','376708OsrhDQ','listenTo','outerHTML','ck-ai_review-mode-marker_context-start','requires','clone','ellipsisAfter','_changePositionOwnerDocument','htmlProcessor','isIntersecting','No\x20element\x20found\x20for\x20ID:\x20','toView','diffContent','childCount','parent','delete','isInline','_insertMarkers','getPath','afterInit','push','context','getDiff','getChanges','baseVersion','offset','howMany','rootName','applyOperation','dataDowncast','toDomElement','element','history','_hasSameTopLevelElement','innerHTML','processor','ck-ai_review-mode-marker_','getHtml','exec','hasContentBefore','_domEmitter','isOfficialPlugin','attributeToAttribute','schema','_shiftOperation','nodes','index','_changeRangeOwnerDocument','clear','_getOperationStart','sort','_createGetContentFn','markers','_clone','fire','getChildren','$markedRemove','operationsA','text','insertContent','ck-ai_review-mode-marker_add','isPremiumPlugin','htmlWriter','name','isDocumentOperation','DocumentCompare','newRange','getMarkerElementForChange','_eventEmitter','_parseMarkerName','batch','addMarker','899648aMljub','affectsData','1044421XBmRcG','getRoots','_removeChildren','createRawElement','remove-only','addOperation','getChangedMarkers','click','suggestion:deletion:id:authorId:','ck-ai_review-mode-marker_context-end','append','getRoot','values','className','startsWith','_markers','parentElement','insert','change','createText','pop','remove-context','disableReadOnlyMode','hasClass','1675965DnIldj','createRange','model:$text','_validateMarkers','get','[data-id=\x22','backward','_groupAdjacentOperations','_getOperationEnd','target','_getMarkersDataForGroup','ck-ai_review-mode-marker_context-','suggestion-context','oldRange','getStart','1210647UaMYmX','switchToEdit','warn','_sortMarkers','isTouching','_getChangeContext','domConverter','forEach','createPositionAt','span','from','200YBnBPn','position','_appendChild','hasContentAfter','every','ck-ai_review-mode-marker_hide','_removeAttribute','changeMarkerRemoved','getEditor','offsetSize','type','getDomRoot','6vwvqtj','_changePosition','AIEditing','9090ebzhEB','clearAllMarkers','_createGetContextFn','emitter','forward','groupId','pluginName','elements','AIReviewModeEditing','end','editing','_findAdjacentContextDistance','_changeOperationOwnerDocument','changeMarkerClick','_findMarkerElement','querySelector','switchToReadOnly','isAtEnd','createUIElement','operationsIsolated','has','includes','conversion','parse','getShiftedBy','split','markerToHighlight','enableReadOnlyMode','ck-ai_review-mode-marker_strikethrough','[data-marker-id=\x22','_changeRange','plugins','document','remove-text','getChild','data','flat','for','markerToElement','toData','model','remove','viewToDom','downcast','marker','editingDowncast','rejectChange','ck-ai_review-mode-marker_underline','getOperations','reviewmode-','applyChange','isAtStart','getDocumentData','containsRange','map','path','removeMarker','set','getAttribute','createSelection','_nextDataId','273141kNGTrZ','getRange','_setAttribute','registerPostFixer','size','version','keys','_handleMarkerChanges','concat','root','deleteContent','stringify','start','view','createPositionAfter'];_0x4835=function(){return _0x51debb;};return _0x4835();}import{getEditorFromContext as _0x2dd432}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xec86cd}from'../aicore/aiediting.js';const me=_0xff2b94(0x232);export class AIReviewModeEditing extends _0x2b9ee0{static get[_0xff2b94(0x207)](){const _0x27b2ab=_0xff2b94;return _0x27b2ab(0x209);}static get[_0xff2b94(0x17a)](){return[_0x386002,_0xec86cd];}static get[_0xff2b94(0x19f)](){return!0x0;}static get[_0xff2b94(0x1b3)](){return!0x0;}[_0xff2b94(0x1cf)]=new Map();[_0xff2b94(0x19e)];[_0xff2b94(0x1ba)];constructor(_0x2798b4){const _0x578f08=_0xff2b94;super(_0x2798b4),this[_0x578f08(0x19e)]=new(_0x363ba())(),this[_0x578f08(0x1ba)]=new(_0x56b1c2())();}get[_0xff2b94(0x204)](){const _0x45f741=_0xff2b94;return this[_0x45f741(0x1ba)];}[_0xff2b94(0x189)](){const _0x1ec386=_0xff2b94,_0x8345bb=_0x2dd432(this[_0x1ec386(0x18b)]);_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x227)]({'model':me+_0x1ec386(0x1d1),'view':(_0x3c4e3c,{writer:_0x1cc708})=>{const _0x4dd213=_0x1ec386,_0x4a34da=this[_0x4dd213(0x1cf)][_0x4dd213(0x1dc)](_0x3c4e3c[_0x4dd213(0x170)]),_0x4059ba={'class':_0x4dd213(0x1b2),'data-marker-id':_0x3c4e3c[_0x4dd213(0x170)]};return _0x1cc708[_0x4dd213(0x213)](_0x4dd213(0x1f0),_0x4059ba,function(_0x48f57c){const _0x4bd2c4=_0x4dd213,_0x3f379d=this[_0x4bd2c4(0x194)](_0x48f57c);return _0x3f379d[_0x4bd2c4(0x198)]=_0x4a34da?.[_0x4bd2c4(0x1b0)]||'',_0x3f379d;});}}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x1c4),'view':_0x126d2f=>({'classes':_0x1ec386(0x21d),'attributes':{'data-marker-id':_0x126d2f[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x1d5),'view':_0x34d165=>({'classes':_0x1ec386(0x230),'attributes':{'data-marker-id':_0x34d165[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x222),'view':_0xa26a94=>({'classes':_0x1ec386(0x1f7),'attributes':{'data-marker-id':_0xa26a94[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x193))[_0x1ec386(0x227)]({'model':me+_0x1ec386(0x1e4),'view':(_0x46e587,{writer:_0x4f041b})=>_0x4f041b[_0x1ec386(0x1c3)](_0x1ec386(0x1f0),{'class':_0x1ec386(0x1e3)+(_0x46e587[_0x1ec386(0x162)]?_0x1ec386(0x15d):_0x1ec386(0x20a))})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22c))[_0x1ec386(0x1a0)]({'model':_0x4840cb,'view':_0x278019}),this[_0x1ec386(0x19e)][_0x1ec386(0x177)](document,_0x1ec386(0x1c7),(_0x2da34d,_0x269901)=>{const _0x1114d4=_0x1ec386,_0x5ac540=_0x269901[_0x1114d4(0x1e1)],_0xd2e8ed=this[_0x1114d4(0x20f)](_0x5ac540);if(!_0xd2e8ed)return;const _0x1bbcc7=_0xd2e8ed[_0x1114d4(0x14e)](_0x1114d4(0x163)),_0x5b8de0=_0x1bbcc7[_0x1114d4(0x21a)](':')[_0x1114d4(0x1d4)]()?.[_0x1114d4(0x21a)]('_')[0x0];this[_0x1114d4(0x1ba)][_0x1114d4(0x1ac)](_0x1114d4(0x20e),{'markerId':_0x1bbcc7,'changeId':_0x5b8de0});}),_0x8345bb[_0x1ec386(0x229)][_0x1ec386(0x221)][_0x1ec386(0x154)](_0x16f919=>this[_0x1ec386(0x1db)](_0x8345bb,_0x16f919)),_0x8345bb[_0x1ec386(0x229)][_0x1ec386(0x221)]['on'](_0x1ec386(0x1d2),()=>this[_0x1ec386(0x158)](_0x8345bb));}[_0xff2b94(0x148)](){const _0x2588cc=_0xff2b94,_0x243d9d=this[_0x2588cc(0x18b)][_0x2588cc(0x220)][_0x2588cc(0x1dc)](_0x2588cc(0x200)),_0x17df19=_0x2dd432(this[_0x2588cc(0x18b)]),_0x2c3a06=_0x17df19[_0x2588cc(0x229)],_0x3d89b8=new _0x34f008();for(const _0x119f43 of _0x2c3a06[_0x2588cc(0x221)][_0x2588cc(0x1cb)]()[_0x2588cc(0x1ad)]()){const _0x1a50ca=_0x119f43[_0x2588cc(0x1ab)](!0x0);_0x3d89b8[_0x2588cc(0x1f4)](_0x1a50ca);}for(const _0x4b956f of _0x2c3a06[_0x2588cc(0x1aa)])_0x3d89b8[_0x2588cc(0x1aa)][_0x2588cc(0x14d)](_0x4b956f[_0x2588cc(0x1b5)],this[_0x2588cc(0x1a5)](_0x4b956f[_0x2588cc(0x152)]()[_0x2588cc(0x17b)](),_0x3d89b8));const _0x4ac632=new _0x4fbbb7({'ignoreElementEnd':!0x0,'startPosition':_0x2c3a06[_0x2588cc(0x1ef)](_0x3d89b8,0x0)}),_0x178694=new Set(),_0x1715e4=new Map();for(const {item:_0x294ade}of _0x4ac632){if(!_0x294ade['is'](_0x2588cc(0x161)))continue;const _0x37b69e=_0x294ade[_0x2588cc(0x184)];if((!_0x37b69e||!_0x37b69e['is'](_0x2588cc(0x195),_0x2588cc(0x168)))&&(_0x37b69e&&_0x37b69e['is'](_0x2588cc(0x195)))){let _0x6b7f4c=_0x37b69e[_0x2588cc(0x14e)](_0x4840cb);_0x6b7f4c||(_0x6b7f4c=_0x243d9d[_0x2588cc(0x150)](_0x178694),_0x37b69e[_0x2588cc(0x153)](_0x4840cb,_0x6b7f4c)),_0x178694[_0x2588cc(0x164)](_0x6b7f4c);let _0x18d504=_0x37b69e;for(;_0x18d504[_0x2588cc(0x184)]&&!_0x18d504[_0x2588cc(0x184)]['is'](_0x2588cc(0x173));)_0x18d504=_0x18d504[_0x2588cc(0x184)],_0x18d504[_0x2588cc(0x16a)](_0x4840cb)&&_0x18d504[_0x2588cc(0x1f8)](_0x4840cb);_0x1715e4[_0x2588cc(0x14d)](_0x6b7f4c,{'path':_0x37b69e[_0x2588cc(0x188)](),'getContent':this[_0x2588cc(0x16e)](_0x18d504[_0x2588cc(0x1ab)](!0x0),_0x6b7f4c,_0x17df19[_0x2588cc(0x224)])}),_0x4ac632[_0x2588cc(0x16c)](_0x2c3a06[_0x2588cc(0x15f)](_0x37b69e));}}return{'content':_0x17df19[_0x2588cc(0x224)][_0x2588cc(0x199)][_0x2588cc(0x228)](_0x17df19[_0x2588cc(0x224)][_0x2588cc(0x181)](_0x3d89b8)),'version':_0x17df19[_0x2588cc(0x229)][_0x2588cc(0x221)][_0x2588cc(0x156)],'elements':_0x1715e4};}[_0xff2b94(0x182)](_0x15322b,_0x5af7d7){const _0x17913c=_0xff2b94,_0x14ce80=[],_0xb9e4b8=_0x2dd432(this[_0x17913c(0x18b)]),_0xb131fe=_0xb9e4b8[_0x17913c(0x224)][_0x17913c(0x218)](_0x15322b,_0x17913c(0x16b)),_0x2d85ce=_0xb9e4b8[_0x17913c(0x229)][_0x17913c(0x1ef)](_0xb131fe,0x0),_0x4374b8=_0xb9e4b8[_0x17913c(0x224)][_0x17913c(0x218)](_0x5af7d7,_0x17913c(0x16b));if(!this[_0x17913c(0x197)](_0xb131fe,_0x4374b8))return _0x14ce80;const _0x2a01fa=this[_0x17913c(0x18b)][_0x17913c(0x220)][_0x17913c(0x1dc)](_0x17913c(0x1b7))[_0x17913c(0x18c)](_0x15322b,_0x5af7d7,{'anchor':_0x2d85ce,'markDeletions':!0x0})[_0x17913c(0x231)]()[_0x17913c(0x169)](_0x5a6317=>_0x17913c(0x1d1)===_0x5a6317[_0x17913c(0x1fc)]||_0x17913c(0x22d)===_0x5a6317[_0x17913c(0x1fc)]&&_0x5a6317[_0x17913c(0x1b5)][_0x17913c(0x1ce)](_0x17913c(0x1ae))),_0x11b654=this[_0x17913c(0x1df)](_0x2a01fa);let _0x2cdd3c=0x0;return _0xb9e4b8[_0x17913c(0x229)][_0x17913c(0x1d2)](_0x1bfc87=>{const _0x3e4b75=_0x17913c;for(let _0xacb89f=0x0;_0xacb89f<_0x11b654[_0x3e4b75(0x172)];_0xacb89f++){const _0x18121c=_0x11b654[_0xacb89f],_0x36aac5=_0x1bfc87[_0x3e4b75(0x175)]();for(const _0x431cd7 of _0xb131fe[_0x3e4b75(0x1ad)]())_0x1bfc87[_0x3e4b75(0x1ca)](_0x431cd7[_0x3e4b75(0x1ab)](!0x0),_0x36aac5);for(const _0x5af803 of _0x18121c[_0x3e4b75(0x214)])if(_0x3e4b75(0x1d1)===_0x5af803[_0x3e4b75(0x1fc)]){const _0x5e9554=_0x5af803;_0x5e9554[_0x3e4b75(0x18e)]=null,_0x5e9554[_0x3e4b75(0x1b6)]=!0x1,this[_0x3e4b75(0x20d)](_0x5e9554,_0x36aac5),_0x1bfc87[_0x3e4b75(0x1bc)][_0x3e4b75(0x1c5)](_0x5af803),_0xb9e4b8[_0x3e4b75(0x229)][_0x3e4b75(0x192)](_0x5af803);const _0x100e96=_0x3e4b75(0x165)+_0x2cdd3c++,_0x5db704=_0xb9e4b8[_0x3e4b75(0x229)][_0x3e4b75(0x1d9)](_0x5e9554[_0x3e4b75(0x1f3)],_0x5e9554[_0x3e4b75(0x1f3)][_0x3e4b75(0x219)](_0x5e9554[_0x3e4b75(0x190)]));_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](_0x100e96,_0x5db704);}else{if(_0x3e4b75(0x22d)===_0x5af803[_0x3e4b75(0x1fc)]&&_0x5af803[_0x3e4b75(0x1b5)][_0x3e4b75(0x1ce)](_0x3e4b75(0x1ae))){const _0x1ca6c1=_0x5af803,_0x48ce06=_0x3e4b75(0x1c8)+_0x2cdd3c++;this[_0x3e4b75(0x20d)](_0x1ca6c1,_0x36aac5),_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](_0x48ce06,_0x1ca6c1[_0x3e4b75(0x1b8)]);}}const _0x4457d5=this[_0x3e4b75(0x1ec)](this[_0x3e4b75(0x17d)](this[_0x3e4b75(0x1a7)](_0x18121c[_0x3e4b75(0x214)][0x0]),_0x36aac5),this[_0x3e4b75(0x17d)](this[_0x3e4b75(0x1e0)](_0x18121c[_0x3e4b75(0x214)][_0x18121c[_0x3e4b75(0x214)][_0x3e4b75(0x172)]-0x1]),_0x36aac5));_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](me+_0x3e4b75(0x1e4),new _0x1ae561(_0x4457d5[_0x3e4b75(0x15d)],_0x4457d5[_0x3e4b75(0x20a)])),_0x14ce80[_0x3e4b75(0x18a)]({..._0x18121c,'context':this[_0x3e4b75(0x203)](_0x36aac5,_0xb9e4b8[_0x3e4b75(0x224)],{'ellipsisBefore':_0x4457d5[_0x3e4b75(0x19d)],'ellipsisAfter':_0x4457d5[_0x3e4b75(0x1f5)]}),'content':this[_0x3e4b75(0x1a9)](_0x36aac5,_0xb9e4b8[_0x3e4b75(0x224)])});}}),_0x14ce80;}[_0xff2b94(0x167)](_0x2b73f7,_0x281d0e){const _0x4f0fd2=_0xff2b94;if(!_0x2b73f7[_0x4f0fd2(0x172)])return;const _0x1a41cb=_0x2b73f7[0x0][_0x4f0fd2(0x184)]['id'],_0x259920=_0x281d0e[_0x4f0fd2(0x208)][_0x4f0fd2(0x1dc)](_0x1a41cb);if(!_0x259920)return void console[_0x4f0fd2(0x1e9)](_0x4f0fd2(0x180)+_0x1a41cb);const _0x59337e=_0x259920[_0x4f0fd2(0x14b)],_0x31ac8e=_0x2dd432(this[_0x4f0fd2(0x18b)]),_0xf4c1f0=_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)][_0x4f0fd2(0x196)][_0x4f0fd2(0x231)](_0x281d0e[_0x4f0fd2(0x156)]),_0x56f404=[];for(const _0x3558c3 of _0x2b73f7){const _0x3dbd6c=_0x3558c3[_0x4f0fd2(0x214)][_0x4f0fd2(0x14a)](_0x7a469d=>this[_0x4f0fd2(0x174)](_0x7a469d,_0x59337e,_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)][_0x4f0fd2(0x1c1)]()[0x0]));if(!_0x3dbd6c||!_0x3dbd6c[_0x4f0fd2(0x172)])continue;const _0x5e3a83=_0x3dbd6c[_0x4f0fd2(0x1f6)](_0x47ed2b=>_0x4f0fd2(0x22d)===_0x47ed2b[_0x4f0fd2(0x1fc)]&&_0x47ed2b[_0x4f0fd2(0x1b5)][_0x4f0fd2(0x1ce)](_0x4f0fd2(0x1ae))),_0x5daa26={'document':_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2bc37c=_0x37f3b3(_0x3dbd6c,_0xf4c1f0,_0x5daa26)[_0x4f0fd2(0x1af)];for(const _0x492ccc of _0x2bc37c)if(_0x4f0fd2(0x1d1)===_0x492ccc[_0x4f0fd2(0x1fc)]){const _0x415f6a=_0x492ccc,_0x1d0ded=_0x415f6a[_0x4f0fd2(0x1a3)];let _0xc90c70='';for(const _0x5a7ac8 of _0x1d0ded)_0x5a7ac8&&_0x5a7ac8['is'](_0x4f0fd2(0x1da))&&(_0xc90c70+=_0x5a7ac8[_0x4f0fd2(0x224)]);_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x415f6a[_0x4f0fd2(0x1f3)],'end':_0x415f6a[_0x4f0fd2(0x1f3)],'type':_0x4f0fd2(0x1d1),'groupId':_0x3558c3['id'],'text':_0xc90c70});}else{if(_0x4f0fd2(0x22d)===_0x492ccc[_0x4f0fd2(0x1fc)]&&_0x492ccc[_0x4f0fd2(0x1b5)][_0x4f0fd2(0x1ce)](_0x4f0fd2(0x1ae))){const _0x23694f=_0x492ccc;let _0x71b748=_0x4f0fd2(0x222);if(_0x5e3a83){const _0x268e06=this[_0x4f0fd2(0x20c)](_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)],_0x4f0fd2(0x1de),_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x1a1)]),_0xff835b=this[_0x4f0fd2(0x20c)](_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)],_0x4f0fd2(0x205),_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x1a1)]);if(_0x268e06||_0xff835b){const _0x2bfed3=_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)][_0x4f0fd2(0x219)](-_0x268e06),_0x2980c9=_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)][_0x4f0fd2(0x219)](_0xff835b);_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x2bfed3,'end':_0x2980c9,'groupId':_0x3558c3['id'],'type':_0x4f0fd2(0x1d5)});}else _0x71b748=_0x4f0fd2(0x1c4);}_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)],'end':_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)],'groupId':_0x3558c3['id'],'type':_0x71b748});}}}this[_0x4f0fd2(0x187)](_0x56f404);}[_0xff2b94(0x202)](){const _0x3c676d=_0xff2b94,_0x1b1e9a=_0x2dd432(this[_0x3c676d(0x18b)]);_0x1b1e9a[_0x3c676d(0x229)][_0x3c676d(0x1d2)](_0x29503=>{const _0x31a430=_0x3c676d;for(const _0x22c199 of this[_0x31a430(0x1cf)][_0x31a430(0x157)]())_0x1b1e9a[_0x31a430(0x229)][_0x31a430(0x1aa)][_0x31a430(0x1dc)](_0x22c199)&&_0x29503[_0x31a430(0x14c)](_0x22c199);}),this[_0x3c676d(0x1cf)][_0x3c676d(0x1a6)]();}[_0xff2b94(0x211)](){const _0x44c299=_0xff2b94;_0x2dd432(this[_0x44c299(0x18b)])[_0x44c299(0x21c)](_0x44c299(0x171));}[_0xff2b94(0x1e8)](){const _0x3f3670=_0xff2b94;_0x2dd432(this[_0x3f3670(0x18b)])[_0x3f3670(0x1d6)](_0x3f3670(0x171));}[_0xff2b94(0x233)](_0x438faf){const _0x44781f=_0xff2b94,_0x3c5b73=_0x2dd432(this[_0x44781f(0x18b)]),_0xab6551=_0x3c5b73[_0x44781f(0x229)],_0x535b7b=_0x438faf[_0x44781f(0x14a)](_0x189ff7=>this[_0x44781f(0x1e2)](_0x189ff7))[_0x44781f(0x225)]();_0xab6551[_0x44781f(0x1d2)](_0x4b6df5=>{const _0x3ef07d=_0x44781f;for(const _0x4911c5 of _0x535b7b){const _0xe3037c=_0x3c5b73[_0x3ef07d(0x229)][_0x3ef07d(0x1aa)][_0x3ef07d(0x1dc)](_0x4911c5['id']);_0xe3037c&&(_0x3ef07d(0x1d1)===_0x4911c5[_0x3ef07d(0x1fc)]?_0xab6551[_0x3ef07d(0x1b1)](_0x4b6df5[_0x3ef07d(0x1d3)](_0x4911c5[_0x3ef07d(0x1b0)]||''),_0xe3037c[_0x3ef07d(0x152)]()[_0x3ef07d(0x15d)]):_0x3ef07d(0x222)!==_0x4911c5[_0x3ef07d(0x1fc)]&&_0x3ef07d(0x1c4)!==_0x4911c5[_0x3ef07d(0x1fc)]||_0xab6551[_0x3ef07d(0x15b)](_0xab6551[_0x3ef07d(0x14f)](_0xe3037c[_0x3ef07d(0x152)]())),_0x4b6df5[_0x3ef07d(0x14c)](_0x4911c5['id']),this[_0x3ef07d(0x1cf)][_0x3ef07d(0x185)](_0x4911c5['id']));}});}[_0xff2b94(0x22f)](_0x4134b3){const _0x2e3cec=_0xff2b94,_0xa231f7=_0x2dd432(this[_0x2e3cec(0x18b)]),_0x36932c=this[_0x2e3cec(0x1e2)](_0x4134b3);_0xa231f7[_0x2e3cec(0x229)][_0x2e3cec(0x1d2)](_0x10b305=>{const _0x16745d=_0x2e3cec;for(const _0x1f9691 of _0x36932c)_0x10b305[_0x16745d(0x14c)](_0x1f9691['id']),this[_0x16745d(0x1cf)][_0x16745d(0x185)](_0x1f9691['id']);});}[_0xff2b94(0x1fa)](){const _0x1be729=_0xff2b94;return _0x2dd432(this[_0x1be729(0x18b)]);}[_0xff2b94(0x1b9)](_0x1d9560){const _0x2a95c0=_0xff2b94,_0x71b535=Array[_0x2a95c0(0x1f1)](this[_0x2a95c0(0x1cf)][_0x2a95c0(0x1cc)]())[_0x2a95c0(0x169)](_0x3e52a3=>_0x3e52a3[_0x2a95c0(0x206)]===_0x1d9560);if(!_0x71b535[_0x2a95c0(0x172)])return null;const _0x5ede9a=0x1===_0x71b535[_0x2a95c0(0x172)]?_0x71b535[0x0]:this[_0x2a95c0(0x1ea)](_0x71b535)[0x0],_0x1f0af9=_0x2dd432(this[_0x2a95c0(0x18b)]),_0x4ef525=_0x1f0af9[_0x2a95c0(0x229)][_0x2a95c0(0x1aa)][_0x2a95c0(0x1dc)](_0x5ede9a['id']);if(!_0x4ef525)return null;const _0x51fbe8=_0x4ef525[_0x2a95c0(0x152)](),_0x1aae15=_0x1f0af9[_0x2a95c0(0x20b)][_0x2a95c0(0x15e)][_0x2a95c0(0x1fd)]();if(!_0x1aae15||!_0x51fbe8)return null;const _0xa0af19=_0x1aae15[_0x2a95c0(0x210)](_0x2a95c0(0x21e)+_0x5ede9a['id']+'\x22]');return _0xa0af19?{'modelRange':_0x51fbe8,'domElement':_0xa0af19}:null;}[_0xff2b94(0x1db)](_0x35161b,_0x32ddaf){const _0x8687ff=_0xff2b94,_0x18f533=Array[_0x8687ff(0x1f1)](this[_0x8687ff(0x1cf)][_0x8687ff(0x157)]()),_0x5a16c1=new Map();for(const _0x75eb73 of _0x18f533){const _0x1b1ff4=_0x35161b[_0x8687ff(0x229)][_0x8687ff(0x1aa)][_0x8687ff(0x1dc)](_0x75eb73);if(!_0x1b1ff4)continue;const _0x815660=_0x1b1ff4[_0x8687ff(0x1e6)]()[_0x8687ff(0x14b)][0x0];_0x5a16c1[_0x8687ff(0x215)](_0x815660)||_0x5a16c1[_0x8687ff(0x14d)](_0x815660,[]),_0x5a16c1[_0x8687ff(0x1dc)](_0x815660)[_0x8687ff(0x18a)](_0x1b1ff4);}const _0x5b83f0=new Set();for(const _0x14ff97 of _0x35161b[_0x8687ff(0x229)][_0x8687ff(0x221)][_0x8687ff(0x166)][_0x8687ff(0x18d)]()){let _0x173f45=-0x1,_0x12214c=null;if(_0x8687ff(0x1d1)===_0x14ff97[_0x8687ff(0x1fc)])_0x12214c=new _0x1ae561(_0x14ff97[_0x8687ff(0x1f3)],_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x219)](_0x14ff97[_0x8687ff(0x172)])),_0x173f45=_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x14b)][0x0];else{if(_0x8687ff(0x22a)!==_0x14ff97[_0x8687ff(0x1fc)])continue;_0x12214c=new _0x1ae561(_0x14ff97[_0x8687ff(0x1f3)]),_0x173f45=_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x14b)][0x0];}const _0x2e8782=_0x5a16c1[_0x8687ff(0x1dc)](_0x173f45)||[];if(_0x2e8782[_0x8687ff(0x172)]){for(const _0x3eddf8 of _0x2e8782)if(_0x12214c[_0x8687ff(0x15a)][_0x8687ff(0x191)]===_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x15a)][_0x8687ff(0x191)]&&(_0x8687ff(0x1d1)!==_0x14ff97[_0x8687ff(0x1fc)]||!_0x12214c[_0x8687ff(0x149)](_0x3eddf8[_0x8687ff(0x152)]()))&&(_0x12214c[_0x8687ff(0x17f)](_0x3eddf8[_0x8687ff(0x152)]())||_0x12214c[_0x8687ff(0x15d)][_0x8687ff(0x1eb)](_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x20a)])||_0x12214c[_0x8687ff(0x20a)][_0x8687ff(0x1eb)](_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x15d)]))){const _0x53b6bd=this[_0x8687ff(0x1bb)](_0x3eddf8[_0x8687ff(0x1b5)]);Array[_0x8687ff(0x1f1)](this[_0x8687ff(0x1cf)][_0x8687ff(0x1cc)]())[_0x8687ff(0x169)](_0x1ff38e=>_0x1ff38e[_0x8687ff(0x206)]===_0x53b6bd[_0x8687ff(0x206)])[_0x8687ff(0x1ee)](_0x369764=>_0x5b83f0[_0x8687ff(0x164)](_0x369764['id']));}}}if(_0x5b83f0[_0x8687ff(0x155)]){for(const _0x5e8577 of _0x5b83f0)_0x32ddaf[_0x8687ff(0x14c)](_0x5e8577);return!0x0;}return!0x1;}[_0xff2b94(0x158)](_0xc892a5){const _0x408c10=_0xff2b94;for(const {name:_0x239891,data:_0x23371e}of _0xc892a5[_0x408c10(0x229)][_0x408c10(0x221)][_0x408c10(0x166)][_0x408c10(0x1c6)]()){if(!_0x239891[_0x408c10(0x1ce)](me))continue;const _0x5aa424=_0x23371e[_0x408c10(0x1e5)],_0x39bef8=_0x23371e[_0x408c10(0x1b8)],_0x4d44e4=_0x5aa424&&_0x408c10(0x16d)===_0x5aa424[_0x408c10(0x15a)][_0x408c10(0x191)],_0x4f7415=_0x39bef8&&_0x408c10(0x16d)===_0x39bef8[_0x408c10(0x15a)][_0x408c10(0x191)];if(_0x4d44e4&&_0x4f7415)continue;const _0x4363c2=this[_0x408c10(0x1bb)](_0x239891);this[_0x408c10(0x1cf)][_0x408c10(0x1dc)](_0x239891)&&(_0x4f7415||!_0x39bef8?this[_0x408c10(0x1ba)][_0x408c10(0x1ac)](_0x408c10(0x1f9),{'markerId':_0x239891,'changeId':_0x4363c2[_0x408c10(0x206)]}):_0x4d44e4&&_0x39bef8&&this[_0x408c10(0x1ba)][_0x408c10(0x1ac)](_0x408c10(0x160),{'markerId':_0x239891,'changeId':_0x4363c2[_0x408c10(0x206)]}));}}[_0xff2b94(0x1bb)](_0x3805eb){const _0x3d0032=_0xff2b94,_0x22cd52=_0x3805eb[_0x3d0032(0x21a)](':'),_0x1c0c47=(_0x22cd52[0x1]||'')[_0x3d0032(0x21a)]('_');return{'prefix':_0x22cd52[0x0],'groupId':_0x1c0c47[0x0],'suffix':_0x1c0c47[0x1]};}[_0xff2b94(0x174)](_0x2e9ff0,_0x19b7ca,_0x1a79cb){const _0xad83f6=_0xff2b94;if(_0xad83f6(0x1d1)===_0x2e9ff0[_0xad83f6(0x1fc)]){const _0x562917=_0x2e9ff0;return new _0x2bc0ae(this[_0xad83f6(0x1ff)](_0x19b7ca[_0xad83f6(0x159)](_0x562917[_0xad83f6(0x1f3)][_0xad83f6(0x18f)]),_0x1a79cb),_0x562917[_0xad83f6(0x1a3)],_0x562917[_0xad83f6(0x18e)]);}if(_0xad83f6(0x22d)===_0x2e9ff0[_0xad83f6(0x1fc)]&&_0x2e9ff0[_0xad83f6(0x1b5)][_0xad83f6(0x1ce)](_0xad83f6(0x1ae))){const _0x3d75cb=_0x2e9ff0;return new _0x1ae859(_0x3d75cb[_0xad83f6(0x1b5)],_0x3d75cb[_0xad83f6(0x1e5)],this[_0xad83f6(0x21f)](_0x3d75cb[_0xad83f6(0x1b8)],_0x19b7ca[_0xad83f6(0x159)](_0x3d75cb[_0xad83f6(0x1b8)][_0xad83f6(0x15d)][_0xad83f6(0x18f)]),_0x19b7ca[_0xad83f6(0x159)](_0x3d75cb[_0xad83f6(0x1b8)][_0xad83f6(0x20a)][_0xad83f6(0x18f)]),_0x1a79cb),_0x3d75cb[_0xad83f6(0x1cf)],_0x3d75cb[_0xad83f6(0x1bf)],_0x3d75cb[_0xad83f6(0x18e)]);}return _0x2e9ff0;}[_0xff2b94(0x1df)](_0x52d710){const _0x44b262=_0xff2b94;if(!_0x52d710[_0x44b262(0x172)])return[];const _0x33a3f7=[];let _0xd8f840=0x0,_0x42d77b=0x0,_0x2b3cac=[];for(let _0x4368a2=0x0;_0x4368a2<=_0x52d710[_0x44b262(0x172)];_0x4368a2++){const _0xa81a66=_0x52d710[_0x4368a2],_0x3da607=_0x52d710[_0x4368a2-0x1];!_0xa81a66||_0x3da607&&!this[_0x44b262(0x1e0)](_0x3da607)[_0x44b262(0x1eb)](this[_0x44b262(0x1a7)](_0xa81a66))?(_0x33a3f7[_0x44b262(0x18a)]({'operations':_0x2b3cac,'operationsIsolated':_0x2b3cac[_0x44b262(0x14a)](_0x2f0f1f=>this[_0x44b262(0x1a2)](_0x2f0f1f[_0x44b262(0x17b)](),-_0x42d77b)),'groupOffset':_0xd8f840}),_0x2b3cac=_0xa81a66?[_0xa81a66]:[],_0x42d77b+=_0xd8f840,_0xd8f840=0x0):_0x2b3cac[_0x44b262(0x18a)](_0xa81a66),_0xa81a66&&_0x44b262(0x1d1)===_0xa81a66[_0x44b262(0x1fc)]&&(_0xd8f840+=_0xa81a66[_0x44b262(0x190)]);}return _0x33a3f7;}[_0xff2b94(0x20c)](_0x53b9a4,_0x12a013,_0x21f484,_0x30dcb8=0x1){const _0xeed9ee=_0xff2b94,_0x498aa9=new _0x4fbbb7({'startPosition':_0x53b9a4,'direction':_0x12a013});let _0x4565a7=0x0;for(let _0x10e7ed=0x0;_0x10e7ed<_0x30dcb8;_0x10e7ed++){let _0x2f853f=0x0,_0x1382cd=!0x1,_0x50a019=_0xeed9ee(0x205)===_0x12a013?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xd6e4e9}of _0x498aa9)if(_0xd6e4e9['is'](_0xeed9ee(0x161))){const _0x45f622=_0x50a019[_0xeed9ee(0x19c)](_0xd6e4e9[_0xeed9ee(0x224)]);if(_0x45f622&&_0x45f622[_0xeed9ee(0x172)]){if(_0x2f853f+=_0xeed9ee(0x205)===_0x12a013?_0x45f622[_0xeed9ee(0x1a4)]+_0x45f622[0x0][_0xeed9ee(0x172)]:_0xd6e4e9[_0xeed9ee(0x224)][_0xeed9ee(0x172)]-_0x45f622[_0xeed9ee(0x1a4)],_0x45f622[0x0][_0xeed9ee(0x172)]!==_0xd6e4e9[_0xeed9ee(0x224)][_0xeed9ee(0x172)])break;_0x1382cd=!0x0,_0x50a019=_0xeed9ee(0x205)===_0x12a013?/^\w+/:/\w+$/;}else{if(_0x1382cd)break;_0x2f853f+=_0xd6e4e9[_0xeed9ee(0x1fb)];}}else{if(_0xd6e4e9['is'](_0xeed9ee(0x195))){_0x21f484[_0xeed9ee(0x186)](_0xd6e4e9)&&!_0x1382cd&&(_0x2f853f+=0x1);break;}}_0x4565a7+=_0x2f853f,_0x498aa9[_0xeed9ee(0x16c)](_0x53b9a4[_0xeed9ee(0x219)](_0xeed9ee(0x205)===_0x12a013?_0x4565a7:-_0x4565a7));}return _0x4565a7;}[_0xff2b94(0x1ec)](_0x5517b2,_0x3df8ff){const _0x5f096e=_0xff2b94,_0x34691a=_0x2dd432(this[_0x5f096e(0x18b)])[_0x5f096e(0x229)][_0x5f096e(0x1a1)],_0x170c60=this[_0x5f096e(0x20c)](_0x5517b2,_0x5f096e(0x1de),_0x34691a,0x6),_0xa8a9f6=this[_0x5f096e(0x20c)](_0x3df8ff,_0x5f096e(0x205),_0x34691a,0x6),_0x10242d=_0x5517b2[_0x5f096e(0x219)](-_0x170c60),_0x19dce7=_0x3df8ff[_0x5f096e(0x219)](_0xa8a9f6);return{'start':_0x10242d,'end':_0x19dce7,'hasContentBefore':!_0x10242d[_0x5f096e(0x234)],'hasContentAfter':!_0x19dce7[_0x5f096e(0x212)]};}[_0xff2b94(0x187)](_0x49f264){const _0x3f6e0f=_0xff2b94,_0x239577=this[_0x3f6e0f(0x18b)][_0x3f6e0f(0x220)][_0x3f6e0f(0x1dc)](_0x3f6e0f(0x200)),_0xfba50b=new Set();_0x2dd432(this[_0x3f6e0f(0x18b)])[_0x3f6e0f(0x229)][_0x3f6e0f(0x1d2)](_0x439655=>{const _0x23a92f=_0x3f6e0f;for(const _0x40787b of _0x49f264){const _0x327854=''+me+_0x40787b[_0x23a92f(0x1fc)]+':'+_0x40787b[_0x23a92f(0x206)]+'_'+_0x239577[_0x23a92f(0x150)](_0xfba50b);this[_0x23a92f(0x1cf)][_0x23a92f(0x14d)](_0x327854,{'id':_0x327854,'groupId':_0x40787b[_0x23a92f(0x206)],'type':_0x40787b[_0x23a92f(0x1fc)],'text':_0x40787b[_0x23a92f(0x1b0)]}),_0x439655[_0x23a92f(0x1bd)](_0x327854,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x439655[_0x23a92f(0x1d9)](_0x40787b[_0x23a92f(0x15d)],_0x40787b[_0x23a92f(0x20a)])});}});}[_0xff2b94(0x203)](_0x2ea385,_0x588c37,_0x55a756){let _0xbf73f4='';return()=>{const _0x5b8d80=_0x1a8a;if(!_0xbf73f4){const _0x4473cc=_0x588c37[_0x5b8d80(0x181)](_0x2ea385,{'showSuggestionHighlights':!0x0}),_0x5763cc=_0x4473cc[_0x5b8d80(0x223)](0x0);if(!_0x5763cc)return'';let _0x230be7=!0x1;const _0x1132aa=[];for(const _0x100874 of _0x5763cc[_0x5b8d80(0x1ad)]())_0x100874['is'](_0x5b8d80(0x195),_0x5b8d80(0x1f0))&&_0x100874[_0x5b8d80(0x1d7)](_0x5b8d80(0x1c9))&&(_0x230be7=!0x1),_0x230be7&&_0x1132aa[_0x5b8d80(0x18a)](_0x100874),_0x100874['is'](_0x5b8d80(0x195),_0x5b8d80(0x1f0))&&_0x100874[_0x5b8d80(0x1d7)](_0x5b8d80(0x179))&&(_0x230be7=!0x0);_0x5763cc[_0x5b8d80(0x1c2)](0x0,_0x5763cc[_0x5b8d80(0x183)]),_0x55a756?.[_0x5b8d80(0x16f)]&&_0x5763cc[_0x5b8d80(0x1f4)]('…'),_0x5763cc[_0x5b8d80(0x1f4)](_0x1132aa),_0x55a756?.[_0x5b8d80(0x17c)]&&_0x5763cc[_0x5b8d80(0x1f4)]('…');const _0xb31746=_0x588c37[_0x5b8d80(0x17e)][_0x5b8d80(0x1ed)][_0x5b8d80(0x22b)](_0x4473cc),_0x4f9cac=_0x588c37[_0x5b8d80(0x17e)][_0x5b8d80(0x1b4)][_0x5b8d80(0x19b)](_0xb31746);_0xbf73f4=_0x4f9cac;}return _0xbf73f4;};}[_0xff2b94(0x1a9)](_0x542d13,_0x39b54e){const _0x4a1251=_0xff2b94;let _0x5df12d='';return()=>(_0x5df12d||(_0x5df12d=_0x39b54e[_0x4a1251(0x15c)](_0x542d13,{'showSuggestionHighlights':!0x0})),_0x5df12d);}[_0xff2b94(0x16e)](_0xbb570a,_0x3fe165,_0x11011a){let _0x716258='';return()=>{const _0x300e74=_0x1a8a;if(!_0x716258){const _0x2bef56=_0x11011a[_0x300e74(0x181)](new _0x34f008(_0xbb570a)),_0x1698a8=_0x11011a[_0x300e74(0x17e)][_0x300e74(0x1ed)][_0x300e74(0x22b)](_0x2bef56)[_0x300e74(0x210)](_0x300e74(0x1dd)+_0x3fe165+'\x22]');_0x716258=_0x1698a8?.[_0x300e74(0x178)]||'';}return _0x716258;};}[_0xff2b94(0x20f)](_0x926fa0,_0x1eb6ad=0x5){const _0xd030d6=_0xff2b94;let _0x15e01e=_0x926fa0,_0x57c1d1=null;for(let _0x1d299d=0x0;_0x1d299d<_0x1eb6ad&&_0x15e01e;_0x1d299d++){if(!_0x15e01e[_0xd030d6(0x1cd)]){_0x15e01e=_0x15e01e[_0xd030d6(0x1d0)];continue;}if(!(''+_0x15e01e[_0xd030d6(0x1cd)])[_0xd030d6(0x216)](_0xd030d6(0x19a))){_0x15e01e=_0x15e01e[_0xd030d6(0x1d0)];continue;}if(!_0x15e01e[_0xd030d6(0x14e)](_0xd030d6(0x163)))break;_0x57c1d1=_0x15e01e;break;}return _0x57c1d1;}[_0xff2b94(0x1e2)](_0x2a51aa){const _0x6139bf=_0xff2b94;return Array[_0x6139bf(0x1f1)](this[_0x6139bf(0x1cf)][_0x6139bf(0x1cc)]())[_0x6139bf(0x169)](_0x3907bc=>_0x3907bc[_0x6139bf(0x206)]===_0x2a51aa);}[_0xff2b94(0x1a7)](_0x3c2a96){const _0x6b67b7=_0xff2b94;return _0x6b67b7(0x1d1)===_0x3c2a96[_0x6b67b7(0x1fc)]?_0x3c2a96[_0x6b67b7(0x1f3)]:_0x3c2a96[_0x6b67b7(0x1b8)][_0x6b67b7(0x15d)];}[_0xff2b94(0x1e0)](_0x1bb3c3,_0x267a56=!0x1){const _0x110fdb=_0xff2b94;return _0x110fdb(0x1d1)===_0x1bb3c3[_0x110fdb(0x1fc)]?_0x267a56?_0x1bb3c3[_0x110fdb(0x1f3)]:_0x1bb3c3[_0x110fdb(0x1f3)][_0x110fdb(0x219)](_0x1bb3c3[_0x110fdb(0x190)]):_0x1bb3c3[_0x110fdb(0x1b8)][_0x110fdb(0x20a)];}[_0xff2b94(0x1a2)](_0x586172,_0x3175f7){const _0x4be8ce=_0xff2b94;return _0x4be8ce(0x1d1)===_0x586172[_0x4be8ce(0x1fc)]?_0x586172[_0x4be8ce(0x1f3)]=_0x586172[_0x4be8ce(0x1f3)][_0x4be8ce(0x219)](_0x3175f7):_0x4be8ce(0x22d)===_0x586172[_0x4be8ce(0x1fc)]&&_0x586172[_0x4be8ce(0x1b8)]&&(_0x586172[_0x4be8ce(0x1b8)]=new _0x1ae561(_0x586172[_0x4be8ce(0x1b8)][_0x4be8ce(0x15d)][_0x4be8ce(0x219)](_0x3175f7),_0x586172[_0x4be8ce(0x1b8)][_0x4be8ce(0x20a)][_0x4be8ce(0x219)](_0x3175f7))),_0x586172;}[_0xff2b94(0x20d)](_0x254780,_0x3fad57){const _0x1b82e7=_0xff2b94;_0x1b82e7(0x1d1)===_0x254780[_0x1b82e7(0x1fc)]?_0x254780[_0x1b82e7(0x1f3)]=this[_0x1b82e7(0x17d)](_0x254780[_0x1b82e7(0x1f3)],_0x3fad57):_0x1b82e7(0x22d)===_0x254780[_0x1b82e7(0x1fc)]&&_0x254780[_0x1b82e7(0x1b8)]&&(_0x254780[_0x1b82e7(0x1b8)]=this[_0x1b82e7(0x1a5)](_0x254780[_0x1b82e7(0x1b8)],_0x3fad57));}[_0xff2b94(0x17d)](_0x2c35dd,_0x111c30){const _0x47307b=_0xff2b94;return new _0x29f8a7(_0x111c30,_0x2c35dd[_0x47307b(0x14b)]);}[_0xff2b94(0x1a5)](_0x28b70d,_0x477310){const _0x166801=_0xff2b94;return new _0x1ae561(this[_0x166801(0x17d)](_0x28b70d[_0x166801(0x15d)],_0x477310),this[_0x166801(0x17d)](_0x28b70d[_0x166801(0x20a)],_0x477310));}[_0xff2b94(0x1ff)](_0x1997c7,_0x34cf20){return new _0x29f8a7(_0x34cf20,[..._0x1997c7]);}[_0xff2b94(0x21f)](_0x477646,_0x3af38a,_0x429736,_0x160324){const _0x2ec2c5=_0xff2b94;return new _0x1ae561(this[_0x2ec2c5(0x1ff)](_0x3af38a,_0x160324),this[_0x2ec2c5(0x1ff)](_0x429736,_0x160324));}[_0xff2b94(0x1ea)](_0x449f1c){const _0x395b6c=_0xff2b94,_0x580400=_0x1654c7=>{const _0x5a1f38=_0x1a8a;switch(_0x1654c7){case _0x5a1f38(0x1d1):return 0x1;case _0x5a1f38(0x1d5):return 0x2;case _0x5a1f38(0x1c4):return 0x3;case _0x5a1f38(0x222):return 0x4;}};return _0x449f1c[_0x395b6c(0x1a8)]((_0x241c56,_0xfdf85d)=>_0x580400(_0x241c56[_0x395b6c(0x1fc)])-_0x580400(_0xfdf85d[_0x395b6c(0x1fc)]));}[_0xff2b94(0x197)](_0x26349f,_0x1b551c){const _0x423c40=_0xff2b94,_0x42f342=_0x26349f[_0x423c40(0x223)](0x0),_0x125c62=_0x1b551c[_0x423c40(0x223)](0x0);return!(!_0x42f342||!_0x125c62)&&((!_0x42f342['is'](_0x423c40(0x195))||!_0x125c62['is'](_0x423c40(0x195))||_0x42f342[_0x423c40(0x1b5)]===_0x125c62[_0x423c40(0x1b5)])&&!(_0x42f342['is'](_0x423c40(0x195))&&!_0x125c62['is'](_0x423c40(0x195))||!_0x42f342['is'](_0x423c40(0x195))&&_0x125c62['is'](_0x423c40(0x195))));}}
|