@ckeditor/ckeditor5-ai 47.3.0-alpha.0 → 47.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +0 -4
- package/dist/index.css +0 -4
- 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/lang/translations/ar.po +9 -9
- package/lang/translations/bg.po +9 -9
- package/lang/translations/bn.po +9 -9
- package/lang/translations/ca.po +9 -9
- package/lang/translations/cs.po +9 -9
- package/lang/translations/da.po +9 -9
- package/lang/translations/de.po +9 -9
- package/lang/translations/el.po +9 -9
- package/lang/translations/es.po +9 -9
- package/lang/translations/et.po +9 -9
- package/lang/translations/fi.po +9 -9
- package/lang/translations/fr.po +9 -9
- package/lang/translations/he.po +9 -9
- package/lang/translations/hi.po +9 -9
- package/lang/translations/hu.po +9 -9
- package/lang/translations/id.po +9 -9
- package/lang/translations/it.po +9 -9
- package/lang/translations/ja.po +9 -9
- package/lang/translations/ko.po +9 -9
- package/lang/translations/lt.po +9 -9
- package/lang/translations/lv.po +9 -9
- package/lang/translations/ms.po +9 -9
- package/lang/translations/nl.po +9 -9
- package/lang/translations/no.po +9 -9
- package/lang/translations/pl.po +9 -9
- package/lang/translations/pt-br.po +9 -9
- package/lang/translations/pt.po +9 -9
- package/lang/translations/ro.po +9 -9
- package/lang/translations/ru.po +9 -9
- package/lang/translations/sk.po +9 -9
- package/lang/translations/sr.po +9 -9
- package/lang/translations/sv.po +9 -9
- package/lang/translations/th.po +9 -9
- package/lang/translations/tr.po +9 -9
- package/lang/translations/uk.po +9 -9
- package/lang/translations/vi.po +9 -9
- package/lang/translations/zh-cn.po +9 -9
- package/lang/translations/zh.po +9 -9
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/theme/aiquickactions/aiquickactions.css +0 -4
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xbd60ae=_0x35da;function _0x35da(_0x8a2ffc,_0x499468){const _0xb485c3=_0xb485();return _0x35da=function(_0x35dae4,_0x4205ca){_0x35dae4=_0x35dae4-0x107;let _0x26231e=_0xb485c3[_0x35dae4];return _0x26231e;},_0x35da(_0x8a2ffc,_0x499468);}(function(_0x3be43b,_0x524e8d){const _0x158ecd=_0x35da,_0x48a911=_0x3be43b();while(!![]){try{const _0x220ae8=-parseInt(_0x158ecd(0x1a7))/0x1+-parseInt(_0x158ecd(0x166))/0x2+parseInt(_0x158ecd(0x1ab))/0x3+-parseInt(_0x158ecd(0x198))/0x4*(parseInt(_0x158ecd(0x168))/0x5)+parseInt(_0x158ecd(0x110))/0x6*(-parseInt(_0x158ecd(0x181))/0x7)+-parseInt(_0x158ecd(0x162))/0x8*(-parseInt(_0x158ecd(0x199))/0x9)+parseInt(_0x158ecd(0x145))/0xa*(parseInt(_0x158ecd(0x130))/0xb);if(_0x220ae8===_0x524e8d)break;else _0x48a911['push'](_0x48a911['shift']());}catch(_0x3ddd0f){_0x48a911['push'](_0x48a911['shift']());}}}(_0xb485,0xa5c6f));import{ContextPlugin as _0x9f7424}from'ckeditor5/src/core.js';import{CKEditorError as _0x25cd1c,logError as _0x15ff2d,scrollAncestorsToShowTarget as _0x2b014b,scrollViewportToShowTarget as _0x935a22}from'ckeditor5/src/utils.js';function _0xb485(){const _0x2dcbb4=['hideDiffInBalloon','closest','changeMarkerClick','forceReadyState','getReviewCheckList','getDocumentData','markChangeAsPending','activateChange','getRoot','reviewCheckResultReady','model','_onReviewModeRunLeave','switchToEdit','get','error-chunk','applyChange','showReviewCheckList','markChangeAsRejected','reviewCheckResultChangeStatusUpdated','.ck-ai-review-mode__check-run-result','_currentReviewCheckRun','56rPsKoH','showNoChangesView','_aiConnector','markChangeAsAccepted','1592240VwowQV','addResultChanges','490135WQzhQG','showChangeBalloon','setAvailableChecks','source','showDiffInBalloon','abort','markerElement','hideChangeBalloon','ai-review-mode-check-run-chunk-error','showCheckRunResults','toggleDiff','locale','context','showReviewCompletedView','_getTranslationWithDefault','prompt','isAnyChangeActivated','documentData','requires','change','leaveReviewMode','_isDiffOn','_aiReviewModeUi','finished','_logError','7KSsAUq','startsWith','_OPTIONS_DATA_','domElement','dismissChange','ai.reviewMode.translations','showCheckRunResult','AIConnector','translate','AIReviewModeController','ai-review-mode-models-unable-to-retrieve','checks','isChangeActive','reviewCheckRunUpdated','_DESCRIPTION','clearAllMarkers','_aiReviewCheckList','markAllChangesAsAccepted','getAll','currentError','_onDiffChange','sendRating','isOfficialPlugin','52naOiUv','1587807xBcuUw','data','retryReview','contentInitial','processedResultsCount','ai-review-mode-source-check-not-found','changeId','showGeneralResultsErrorView','restart','showActionsWhenResultIsReady','changes','find','reviewCheckResultActivated','setActiveStateInResults','186212AXRQaB','hasModifications','init','markChangeAsOutdated','3937650iSyuzZ','finishReview','abortReviewStream','leaveReviewModeResultList','subTitle','includes','_changeActivationSource','unmodified','updateDocumentData','contentNew','custom','AIReviewModeEditing','_OPTIONS_LABEL','click','diffContent','view','length','description','changeMarkerRemoved','getCheckById','setCheckResultTitle','removeCheckById','updateChangeState','document','content','start','domEvent','toUpperCase','map','viewportOffset','_aiReviewModeEditing','result','5560290BxJUPY','panel','addClass','args','isPremiumPlugin','models','error-general','reviewCheckResultAdded','switchToReadOnly','message','ai-review-mode-check-run-failed','showGeneralReviewModeErrorView','changeMarkerHovered','AI_MODEL_DESCRIPTION_','rejectChange','deactivateChange','title','loading','config','stopListening','getActiveChanges','ck-ai-review-mode-highlights','pluginName','ai-review-mode-no-current-check-run','ai-review-mode-check-run-general-error','getEditor','hover','runReviewCheck','label','params','replaceAll','showChunkErrorView','2892802UpTiTz','aborted','plugins','ai-request-aborted','changeMarkerBlurred','AIReviewModeUI','getChangeElement','editing','_translateReviewChecks','ready','AI_REVIEW_CHECK_','getChangeById','emitter','acceptAllChanges','getDomRoot','acceptChange','markChangePositionInEditorContent','isCustom','reviewCheckResultDeactivated','ck-ai-review-mode-diff','getMarkerElementForChange','50WgEuKP','changeMarkerRestored','status','resetActiveStateInResults','listenTo','removeClass','options','_TITLE'];_0xb485=function(){return _0x2dcbb4;};return _0xb485();}import{AIConnector as _0x361ccd}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3fe93b}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x34324c}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1e490e}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x51b461}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x709d11}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x3a3218}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x9f7424{[_0xbd60ae(0x164)];[_0xbd60ae(0x17e)];[_0xbd60ae(0x10e)];[_0xbd60ae(0x191)];[_0xbd60ae(0x161)];[_0xbd60ae(0x17d)]=!0x1;[_0xbd60ae(0x1b1)]=null;static get[_0xbd60ae(0x17a)](){return[_0x361ccd];}static get[_0xbd60ae(0x126)](){const _0x20e8f7=_0xbd60ae;return _0x20e8f7(0x18a);}static get[_0xbd60ae(0x197)](){return!0x0;}static get[_0xbd60ae(0x114)](){return!0x0;}async[_0xbd60ae(0x1a9)](){const _0x5d1455=_0xbd60ae;this[_0x5d1455(0x164)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x188)),this[_0x5d1455(0x17e)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x135)),this[_0x5d1455(0x10e)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x1b6));const _0x1aac4a=this[_0x5d1455(0x174)][_0x5d1455(0x122)][_0x5d1455(0x15a)](_0x5d1455(0x186));if(_0x1aac4a){for(const _0x155e6d of _0x709d11)_0x5d1455(0x189)===_0x155e6d['id']&&(_0x155e6d[_0x5d1455(0x14b)][0x0][_0x5d1455(0x19a)]=_0x1aac4a);}const _0x25baf1=this[_0x5d1455(0x138)](_0x709d11);this[_0x5d1455(0x191)]=new _0x3fe93b(_0x25baf1);const _0x489a48=this[_0x5d1455(0x191)][_0x5d1455(0x18c)][_0x5d1455(0x1a4)](_0x26226e=>_0x5d1455(0x1b5)===_0x26226e['id']);if(_0x489a48)try{const _0x584438=await new _0x51b461({'connector':this[_0x5d1455(0x164)]})[_0x5d1455(0x193)]();_0x489a48[_0x5d1455(0x115)]=_0x584438[_0x5d1455(0x10c)](_0x865a68=>({..._0x865a68,'description':this[_0x5d1455(0x176)](_0x5d1455(0x11d)+_0x865a68['id'][_0x5d1455(0x10b)](),_0x865a68[_0x5d1455(0x1bc)])}));}catch(_0x10eb6f){this[_0x5d1455(0x191)][_0x5d1455(0x1c0)](_0x5d1455(0x1b5)),this[_0x5d1455(0x180)](new _0x25cd1c(_0x5d1455(0x18b),this,{'error':_0x10eb6f}));}this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x151),()=>{const _0x402763=_0x5d1455;this[_0x402763(0x17e)][_0x402763(0x16a)](this[_0x402763(0x191)][_0x402763(0x18c)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x12b),async(_0x3db480,_0xba6f97)=>{const _0x3ef4c4=_0x5d1455,_0x260a2b=this[_0x3ef4c4(0x191)][_0x3ef4c4(0x1be)](_0xba6f97['id']);if(_0x260a2b){this[_0x3ef4c4(0x195)](this[_0x3ef4c4(0x17d)]),_0xba6f97[_0x3ef4c4(0x141)]?this[_0x3ef4c4(0x161)]=new _0x1e490e(_0xba6f97[_0x3ef4c4(0x113)][_0x3ef4c4(0x177)],_0xba6f97[_0x3ef4c4(0x113)][_0x3ef4c4(0x157)],this[_0x3ef4c4(0x10e)][_0x3ef4c4(0x152)](),_0x260a2b,this[_0x3ef4c4(0x164)]):this[_0x3ef4c4(0x161)]=new _0x34324c(this[_0x3ef4c4(0x10e)][_0x3ef4c4(0x152)](),_0x260a2b,this[_0x3ef4c4(0x164)],_0xba6f97[_0x3ef4c4(0x12d)],_0xba6f97[_0x3ef4c4(0x113)]),this[_0x3ef4c4(0x17e)][_0x3ef4c4(0x1bf)](this[_0x3ef4c4(0x161)][_0x3ef4c4(0x120)],this[_0x3ef4c4(0x161)][_0x3ef4c4(0x1af)]),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x18e),(_0x5caeb4,_0x49c10e)=>{const _0x1324db=_0x3ef4c4;_0x1324db(0x19a)===_0x49c10e[_0x1324db(0x147)]||_0x1324db(0x121)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x10e)][_0x1324db(0x118)](),this[_0x1324db(0x17e)][_0x1324db(0x171)](_0x49c10e)):_0x1324db(0x17f)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x175)]():_0x1324db(0x139)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x1a2)]():_0x1324db(0x1b2)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x163)]():_0x1324db(0x116)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x17e)][_0x1324db(0x1a0)](),this[_0x1324db(0x180)](new _0x25cd1c(_0x1324db(0x128),this,this[_0x1324db(0x161)]?.[_0x1324db(0x194)]))):_0x1324db(0x15b)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x17e)][_0x1324db(0x12f)](),this[_0x1324db(0x180)](new _0x25cd1c(_0x1324db(0x170),this,this[_0x1324db(0x161)]?.[_0x1324db(0x194)]))):_0x1324db(0x131)===_0x49c10e[_0x1324db(0x147)]&&(this[_0x1324db(0x161)]&&this[_0x1324db(0x161)][_0x1324db(0x19d)]>0x0?setTimeout(()=>{const _0xb1adce=_0x1324db;this[_0xb1adce(0x161)]?.[_0xb1adce(0x150)]();},0x0):this[_0x1324db(0x158)](!0x0)),_0x1324db(0x139)!==_0x49c10e[_0x1324db(0x147)]&&_0x1324db(0x15b)!==_0x49c10e[_0x1324db(0x147)]&&_0x1324db(0x116)!==_0x49c10e[_0x1324db(0x147)]||this[_0x1324db(0x161)]?.[_0x1324db(0x196)]();}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x117),(_0x5ddf2b,_0x2c005f)=>{const _0xa6f683=_0x3ef4c4;if(!this[_0xa6f683(0x161)])throw new _0x25cd1c(_0xa6f683(0x127),this);const _0x451873=this[_0xa6f683(0x10e)][_0xa6f683(0x1b9)](_0x2c005f[_0xa6f683(0x10f)][_0xa6f683(0x19c)],_0x2c005f[_0xa6f683(0x10f)][_0xa6f683(0x1b4)]);_0x2c005f[_0xa6f683(0x16b)][_0xa6f683(0x167)](_0x2c005f[_0xa6f683(0x10f)]['id'],_0x451873);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x156),(_0x45fa72,_0x23dc21)=>{const _0x483ad8=_0x3ef4c4;for(const _0x760f32 of _0x23dc21[_0x483ad8(0x1a3)])this[_0x483ad8(0x17e)][_0x483ad8(0x187)](_0x760f32);this[_0x483ad8(0x10e)][_0x483ad8(0x140)](_0x23dc21[_0x483ad8(0x1a3)],_0x23dc21[_0x483ad8(0x16b)][_0x483ad8(0x179)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x15f),(_0x2600a2,_0x1254fa)=>{const _0x4ecdbf=_0x3ef4c4;this[_0x4ecdbf(0x17e)][_0x4ecdbf(0x1c1)](_0x1254fa[_0x4ecdbf(0x17b)]['id'],_0x1254fa[_0x4ecdbf(0x147)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x1a5),(_0xb5febb,_0x154ecc)=>{const _0x541dfd=_0x3ef4c4;this[_0x541dfd(0x17e)][_0x541dfd(0x1a6)](_0x154ecc[_0x541dfd(0x17b)]['id']);const _0x165c8b=this[_0x541dfd(0x10e)][_0x541dfd(0x144)](_0x154ecc[_0x541dfd(0x17b)]['id']);if(!_0x165c8b)return;if(_0x541dfd(0x108)===this[_0x541dfd(0x1b1)]){const _0x59db4f=this[_0x541dfd(0x17e)][_0x541dfd(0x136)](_0x154ecc[_0x541dfd(0x17b)]['id']);_0x59db4f&&_0x2b014b(_0x59db4f[_0x541dfd(0x14e)](_0x541dfd(0x160))||_0x59db4f);}else{if(_0x541dfd(0x111)===this[_0x541dfd(0x1b1)]){const _0x2a636f={'target':_0x165c8b[_0x541dfd(0x184)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x935a22(_0x2a636f);}}const _0x13fa29=this[_0x541dfd(0x10e)][_0x541dfd(0x129)]();this[_0x541dfd(0x17e)][_0x541dfd(0x169)](_0x154ecc[_0x541dfd(0x17b)],_0x165c8b[_0x541dfd(0x184)],void 0x0,_0x541dfd(0x1b8),_0x13fa29?.[_0x541dfd(0x137)]?.[_0x541dfd(0x1ba)]?.[_0x541dfd(0x13e)](),_0x13fa29?.['ui']?.[_0x541dfd(0x10d)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x142),()=>{const _0x23b933=_0x3ef4c4;this[_0x23b933(0x17e)][_0x23b933(0x148)](),this[_0x23b933(0x17e)][_0x23b933(0x16f)]();});try{await this[_0x3ef4c4(0x161)][_0x3ef4c4(0x109)]();}catch(_0x49e320){_0x49e320 instanceof Error&&_0x49e320[_0x3ef4c4(0x119)][_0x3ef4c4(0x1b0)](_0x3ef4c4(0x133))||(_0x49e320 instanceof _0x25cd1c?this[_0x3ef4c4(0x180)](_0x49e320):this[_0x3ef4c4(0x180)](new _0x25cd1c(_0x3ef4c4(0x11a),this,{'error':_0x49e320})));}}else this[_0x3ef4c4(0x180)](new _0x25cd1c(_0x3ef4c4(0x19e),this,{'checkId':_0xba6f97['id']}));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x17c),()=>{const _0x472a61=_0x5d1455;this[_0x472a61(0x158)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ae),()=>{const _0x323fbe=_0x5d1455;this[_0x323fbe(0x158)](!0x0);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ad),()=>{const _0x24c30a=_0x5d1455;this[_0x24c30a(0x161)]&&this[_0x24c30a(0x161)][_0x24c30a(0x16d)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ac),()=>{const _0x18d4ef=_0x5d1455;this[_0x18d4ef(0x158)](!0x0);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x13d),()=>{const _0x5e9ccd=_0x5d1455;if(!this[_0x5e9ccd(0x161)])return;const _0x426e20=this[_0x5e9ccd(0x161)][_0x5e9ccd(0x124)]();_0x426e20[_0x5e9ccd(0x1bb)]&&(this[_0x5e9ccd(0x10e)][_0x5e9ccd(0x15c)](_0x426e20[_0x5e9ccd(0x10c)](_0x3056ff=>_0x3056ff['id'])),this[_0x5e9ccd(0x161)][_0x5e9ccd(0x192)](),this[_0x5e9ccd(0x161)][_0x5e9ccd(0x196)]());}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x13f),(_0x3f7f1f,_0x5189af)=>{const _0x34043c=_0x5d1455;this[_0x34043c(0x161)]&&this[_0x34043c(0x161)][_0x34043c(0x18d)](_0x5189af['id'])&&(this[_0x34043c(0x10e)][_0x34043c(0x15c)]([_0x5189af['id']]),this[_0x34043c(0x161)][_0x34043c(0x165)](_0x5189af['id']),this[_0x34043c(0x17e)][_0x34043c(0x16f)](),this[_0x34043c(0x161)][_0x34043c(0x196)](_0x5189af['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x185),(_0x2204b8,_0x2468d9)=>{const _0x53206e=_0x5d1455;this[_0x53206e(0x161)]&&this[_0x53206e(0x161)][_0x53206e(0x18d)](_0x2468d9['id'])&&(this[_0x53206e(0x10e)][_0x53206e(0x11e)](_0x2468d9['id']),this[_0x53206e(0x161)][_0x53206e(0x15e)](_0x2468d9['id']),this[_0x53206e(0x17e)][_0x53206e(0x16f)](),this[_0x53206e(0x161)][_0x53206e(0x196)](_0x2468d9['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x172),(_0x4d517b,_0x29361d)=>{const _0x4fd45a=_0x5d1455;this[_0x4fd45a(0x17d)]=_0x29361d['on'],this[_0x4fd45a(0x195)](this[_0x4fd45a(0x17d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x19b),async()=>{const _0x3ec9a5=_0x5d1455;this[_0x3ec9a5(0x161)]&&(this[_0x3ec9a5(0x10e)][_0x3ec9a5(0x190)](),this[_0x3ec9a5(0x161)][_0x3ec9a5(0x1b3)](this[_0x3ec9a5(0x10e)][_0x3ec9a5(0x152)]()),await this[_0x3ec9a5(0x161)][_0x3ec9a5(0x1a1)]());}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x154),(_0x1c09eb,_0x243d30)=>{const _0x4145a5=_0x5d1455;this[_0x4145a5(0x161)]&&(this[_0x4145a5(0x1b1)]=_0x4145a5(0x111),this[_0x4145a5(0x161)][_0x4145a5(0x154)](_0x243d30['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x11f),()=>{const _0x4b4f49=_0x5d1455;this[_0x4b4f49(0x161)]&&this[_0x4b4f49(0x161)][_0x4b4f49(0x11f)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x14f),(_0x4979bd,_0xf67292)=>{const _0x19fe23=_0x5d1455;if(!this[_0x19fe23(0x161)])return;this[_0x19fe23(0x1b1)]=_0x19fe23(0x108),this[_0x19fe23(0x161)][_0x19fe23(0x154)](_0xf67292[_0x19fe23(0x19f)]);const _0x1aba68=this[_0x19fe23(0x161)][_0x19fe23(0x13b)](_0xf67292[_0x19fe23(0x19f)]);if(!_0x1aba68)return;const _0x4770e4=this[_0x19fe23(0x10e)][_0x19fe23(0x129)]();this[_0x19fe23(0x17e)][_0x19fe23(0x169)](_0x1aba68,_0xf67292[_0x19fe23(0x16e)],_0xf67292[_0x19fe23(0x10a)],_0x19fe23(0x1b8),_0x4770e4?.[_0x19fe23(0x137)]?.[_0x19fe23(0x1ba)]?.[_0x19fe23(0x13e)](),_0x4770e4?.['ui']?.[_0x19fe23(0x10d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x11c),(_0x33b4a0,_0x45a535)=>{const _0x502113=_0x5d1455;if(!this[_0x502113(0x161)])return;if(this[_0x502113(0x161)][_0x502113(0x178)]())return;const _0x4c7428=this[_0x502113(0x161)][_0x502113(0x13b)](_0x45a535[_0x502113(0x19f)]);if(!_0x4c7428)return;const _0x5ef0e0=this[_0x502113(0x10e)][_0x502113(0x129)]();this[_0x502113(0x17e)][_0x502113(0x169)](_0x4c7428,_0x45a535[_0x502113(0x16e)],_0x45a535[_0x502113(0x10a)],_0x502113(0x12a),_0x5ef0e0?.[_0x502113(0x137)]?.[_0x502113(0x1ba)]?.[_0x502113(0x13e)](),_0x5ef0e0?.['ui']?.[_0x502113(0x10d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x134),()=>{const _0x38928a=_0x5d1455;if(!this[_0x38928a(0x161)])return;this[_0x38928a(0x161)][_0x38928a(0x178)]()||this[_0x38928a(0x17e)][_0x38928a(0x16f)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x1bd),(_0x2932a0,_0x1438be)=>{const _0x4f876a=_0x5d1455;this[_0x4f876a(0x161)]&&this[_0x4f876a(0x161)][_0x4f876a(0x1aa)](_0x1438be[_0x4f876a(0x19f)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x146),(_0x2ffc86,_0x299767)=>{const _0x512059=_0x5d1455;this[_0x512059(0x161)]&&this[_0x512059(0x161)][_0x512059(0x153)](_0x299767[_0x512059(0x19f)]);});}[_0xbd60ae(0x158)](_0x199a8e=!0x1){const _0x3ca427=_0xbd60ae;this[_0x3ca427(0x161)]&&(this[_0x3ca427(0x161)][_0x3ca427(0x1a8)]||this[_0x3ca427(0x161)][_0x3ca427(0x196)](),this[_0x3ca427(0x161)][_0x3ca427(0x123)](),this[_0x3ca427(0x161)][_0x3ca427(0x16d)](),this[_0x3ca427(0x161)]=void 0x0),_0x199a8e&&this[_0x3ca427(0x17e)][_0x3ca427(0x15d)](),this[_0x3ca427(0x10e)][_0x3ca427(0x190)](),this[_0x3ca427(0x10e)][_0x3ca427(0x159)](),this[_0x3ca427(0x1b1)]=null;const _0x435c8f=this[_0x3ca427(0x10e)][_0x3ca427(0x129)]();_0x435c8f&&_0x435c8f[_0x3ca427(0x137)][_0x3ca427(0x1ba)][_0x3ca427(0x17b)](_0x25d642=>{const _0x55b4ed=_0x3ca427,_0x44b798=_0x435c8f[_0x55b4ed(0x137)][_0x55b4ed(0x1ba)][_0x55b4ed(0x107)][_0x55b4ed(0x155)]();_0x25d642[_0x55b4ed(0x14a)](_0x55b4ed(0x143),_0x44b798),_0x25d642[_0x55b4ed(0x14a)](_0x55b4ed(0x125),_0x44b798);});}[_0xbd60ae(0x195)](_0x336b43){const _0x1ac484=_0xbd60ae,_0x3cf79c=this[_0x1ac484(0x10e)][_0x1ac484(0x129)]();_0x336b43?this[_0x1ac484(0x17e)][_0x1ac484(0x14d)]():this[_0x1ac484(0x17e)][_0x1ac484(0x16c)](),_0x3cf79c&&_0x3cf79c[_0x1ac484(0x137)][_0x1ac484(0x1ba)][_0x1ac484(0x17b)](_0x402697=>{const _0x13f781=_0x1ac484,_0x41e3fe=_0x3cf79c[_0x13f781(0x137)][_0x13f781(0x1ba)][_0x13f781(0x107)][_0x13f781(0x155)]();_0x402697[_0x13f781(0x14a)](_0x13f781(0x143),_0x41e3fe),_0x402697[_0x13f781(0x14a)](_0x13f781(0x125),_0x41e3fe),_0x402697[_0x13f781(0x112)](_0x336b43?_0x13f781(0x143):_0x13f781(0x125),_0x41e3fe);});}[_0xbd60ae(0x138)](_0x132a9a){const _0x3e2822=_0xbd60ae;return _0x132a9a[_0x3e2822(0x10c)](_0x5d07f5=>{const _0x514077=_0x3e2822,_0x4bafcf=_0x514077(0x13a)+_0x5d07f5['id'][_0x514077(0x10b)]()[_0x514077(0x12e)]('-','_'),_0x1a3bfb={..._0x5d07f5,'title':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x14c),_0x5d07f5[_0x514077(0x120)]),'description':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x18f),_0x5d07f5[_0x514077(0x1bc)])};return _0x5d07f5[_0x514077(0x14b)]&&(_0x1a3bfb[_0x514077(0x14b)]=_0x5d07f5[_0x514077(0x14b)][_0x514077(0x10c)](_0xe772a3=>({..._0xe772a3,'label':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x1b7),_0xe772a3[_0x514077(0x12c)]||''),'data':_0xe772a3[_0x514077(0x19a)]?_0xe772a3[_0x514077(0x19a)][_0x514077(0x10c)](_0xd13aad=>({..._0xd13aad,'label':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x183)+_0xd13aad['id'][_0x514077(0x10b)](),_0xd13aad[_0x514077(0x12c)])})):void 0x0}))),_0x1a3bfb;});}[_0xbd60ae(0x176)](_0x58df9c,_0x1d5ab9){const _0x325be7=_0xbd60ae,_0x584a56=this[_0x325be7(0x174)][_0x325be7(0x173)],_0x2cd6a1=_0x3a3218(_0x584a56,_0x58df9c);return _0x2cd6a1===_0x58df9c?_0x1d5ab9:_0x2cd6a1;}[_0xbd60ae(0x180)](_0xc1c3d5){const _0x4b35b2=_0xbd60ae;_0x15ff2d(_0xc1c3d5[_0x4b35b2(0x119)]),_0xc1c3d5[_0x4b35b2(0x119)][_0x4b35b2(0x182)](_0x4b35b2(0x18b))?this[_0x4b35b2(0x17e)][_0x4b35b2(0x11b)]():this[_0x4b35b2(0x17e)][_0x4b35b2(0x1a0)]();}}
|
|
23
|
+
const _0x1cc891=_0x108e;function _0x5339(){const _0x5566e9=['activateChange','currentError','rejectChange','_logError','showReviewCheckList','startsWith','setCheckResultTitle','domElement','4385773KIUVhM','isOfficialPlugin','clearAllMarkers','setAvailableChecks','_aiReviewCheckList','removeCheckById','length','diffContent','5190lPCYvb','reviewCheckResultActivated','leaveReviewModeResultList','forceReadyState','50625IGTEtR','description','2EEJrGd','markChangeAsPending','retryReview','aborted','updateDocumentData','isChangeActive','deactivateChange','AIConnector','getAll','markChangePositionInEditorContent','getCheckById','showNoChangesView','changeMarkerRemoved','_onReviewModeRunLeave','_OPTIONS_DATA_','_OPTIONS_LABEL','AI_MODEL_DESCRIPTION_','isAnyChangeActivated','includes','updateChangeState','ck-ai-review-mode-highlights','AIReviewModeUI','sendRating','closest','showCheckRunResults','dismissChange','error-general','acceptChange','emitter','ai.reviewMode.translations','changeMarkerBlurred','content','setActiveStateInResults','map','message','changeId','reviewCheckResultReady','changes','start','markChangeAsRejected','AI_REVIEW_CHECK_','abortReviewStream','getReviewCheckList','markerElement','viewportOffset','3825882NfNLWL','acceptAllChanges','data','ai-review-mode-no-current-check-run','click','getRoot','reviewCheckResultDeactivated','params','subTitle','stopListening','_aiConnector','view','find','result','reviewCheckResultAdded','AIReviewModeController','changeMarkerClick','finishReview','label','plugins','showChangeBalloon','init','restart','getDomRoot','hasModifications','.ck-ai-review-mode__check-run-result','1752524wVPqRi','models','title','status','context','_changeActivationSource','getDocumentData','removeClass','abort','toggleDiff','ai-review-mode-check-run-general-error','prompt','markChangeAsAccepted','hideChangeBalloon','_isDiffOn','_TITLE','ai-review-mode-models-unable-to-retrieve','337118zVZwrF','_DESCRIPTION','model','changeMarkerHovered','ready','checks','contentNew','getEditor','unmodified','reviewCheckRunUpdated','3327728Cmyvca','change','runReviewCheck','document','toUpperCase','domEvent','markChangeAsOutdated','loading','isCustom','ai-request-aborted','contentInitial','panel','showCheckRunResult','getMarkerElementForChange','isPremiumPlugin','ai-review-mode-check-run-failed','showReviewCompletedView','applyChange','_translateReviewChecks','showActionsWhenResultIsReady','source','leaveReviewMode','switchToReadOnly','resetActiveStateInResults','showChunkErrorView','reviewCheckResultChangeStatusUpdated','showGeneralResultsErrorView','AIReviewModeEditing','options','getActiveChanges','replaceAll','ck-ai-review-mode-diff','_aiReviewModeUi','processedResultsCount','_onDiffChange','changeMarkerRestored','_currentReviewCheckRun','custom','config','documentData','error-chunk','_getTranslationWithDefault','addClass','showDiffInBalloon','showGeneralReviewModeErrorView','addResultChanges','locale','getChangeElement','15aCKzkM','ai-review-mode-check-run-chunk-error','hideDiffInBalloon','translate','editing','listenTo','get','_aiReviewModeEditing','requires','finished','switchToEdit','args','pluginName','hover','markAllChangesAsAccepted','ai-review-mode-source-check-not-found','2512602uWyICe','getChangeById'];_0x5339=function(){return _0x5566e9;};return _0x5339();}(function(_0x5c4e9b,_0x59fabb){const _0x5ee7ff=_0x108e,_0x546b1f=_0x5c4e9b();while(!![]){try{const _0x204c86=parseInt(_0x5ee7ff(0x231))/0x1*(-parseInt(_0x5ee7ff(0x1d9))/0x2)+parseInt(_0x5ee7ff(0x206))/0x3+parseInt(_0x5ee7ff(0x220))/0x4+-parseInt(_0x5ee7ff(0x1b1))/0x5*(-parseInt(_0x5ee7ff(0x1c1))/0x6)+parseInt(_0x5ee7ff(0x1cb))/0x7+parseInt(_0x5ee7ff(0x23b))/0x8+parseInt(_0x5ee7ff(0x1d7))/0x9*(-parseInt(_0x5ee7ff(0x1d3))/0xa);if(_0x204c86===_0x59fabb)break;else _0x546b1f['push'](_0x546b1f['shift']());}catch(_0x576bdf){_0x546b1f['push'](_0x546b1f['shift']());}}}(_0x5339,0xb881a));import{ContextPlugin as _0xf176fc}from'ckeditor5/src/core.js';function _0x108e(_0x25be4e,_0x3e35b2){const _0x533934=_0x5339();return _0x108e=function(_0x108e87,_0xf549f0){_0x108e87=_0x108e87-0x1a3;let _0x2fd800=_0x533934[_0x108e87];return _0x2fd800;},_0x108e(_0x25be4e,_0x3e35b2);}import{CKEditorError as _0x58584f,logError as _0x1ed761,scrollAncestorsToShowTarget as _0xc5c9b6,scrollViewportToShowTarget as _0x11f1a3}from'ckeditor5/src/utils.js';import{AIConnector as _0xed3988}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x36e792}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x9f2ed}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x482227}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4a1656}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0xdde60c}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2e082d}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0xf176fc{[_0x1cc891(0x210)];[_0x1cc891(0x25b)];[_0x1cc891(0x1b8)];[_0x1cc891(0x1cf)];[_0x1cc891(0x1a5)];[_0x1cc891(0x22e)]=!0x1;[_0x1cc891(0x225)]=null;static get[_0x1cc891(0x1b9)](){return[_0xed3988];}static get[_0x1cc891(0x1bd)](){const _0xac3202=_0x1cc891;return _0xac3202(0x215);}static get[_0x1cc891(0x1cc)](){return!0x0;}static get[_0x1cc891(0x249)](){return!0x0;}async[_0x1cc891(0x21b)](){const _0x147a66=_0x1cc891;this[_0x147a66(0x210)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x1e0)),this[_0x147a66(0x25b)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x1ee)),this[_0x147a66(0x1b8)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x256));const _0x47a3dd=this[_0x147a66(0x224)][_0x147a66(0x1a7)][_0x147a66(0x1b7)](_0x147a66(0x1f6));if(_0x47a3dd){for(const _0x57e2b9 of _0xdde60c)_0x147a66(0x1b4)===_0x57e2b9['id']&&(_0x57e2b9[_0x147a66(0x257)][0x0][_0x147a66(0x208)]=_0x47a3dd);}const _0x59a77a=this[_0x147a66(0x24d)](_0xdde60c);this[_0x147a66(0x1cf)]=new _0x36e792(_0x59a77a);const _0x127cef=this[_0x147a66(0x1cf)][_0x147a66(0x236)][_0x147a66(0x212)](_0x25bf7f=>_0x147a66(0x1a6)===_0x25bf7f['id']);if(_0x127cef)try{const _0x564ca6=await new _0x4a1656({'connector':this[_0x147a66(0x210)]})[_0x147a66(0x1e1)]();_0x127cef[_0x147a66(0x221)]=_0x564ca6[_0x147a66(0x1fa)](_0x21cc2e=>({..._0x21cc2e,'description':this[_0x147a66(0x1aa)](_0x147a66(0x1e9)+_0x21cc2e['id'][_0x147a66(0x23f)](),_0x21cc2e[_0x147a66(0x1d8)])}));}catch(_0x34e2f5){this[_0x147a66(0x1cf)][_0x147a66(0x1d0)](_0x147a66(0x1a6)),this[_0x147a66(0x1c6)](new _0x58584f(_0x147a66(0x230),this,{'error':_0x34e2f5}));}this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x203),()=>{const _0x377fc4=_0x147a66;this[_0x377fc4(0x25b)][_0x377fc4(0x1ce)](this[_0x377fc4(0x1cf)][_0x377fc4(0x236)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x23d),async(_0x4cbe1a,_0x14bb39)=>{const _0x3eb80c=_0x147a66,_0x566476=this[_0x3eb80c(0x1cf)][_0x3eb80c(0x1e3)](_0x14bb39['id']);if(_0x566476){this[_0x3eb80c(0x1a3)](this[_0x3eb80c(0x22e)]),_0x14bb39[_0x3eb80c(0x243)]?this[_0x3eb80c(0x1a5)]=new _0x482227(_0x14bb39[_0x3eb80c(0x1bc)][_0x3eb80c(0x22b)],_0x14bb39[_0x3eb80c(0x1bc)][_0x3eb80c(0x233)],this[_0x3eb80c(0x1b8)][_0x3eb80c(0x226)](),_0x566476,this[_0x3eb80c(0x210)]):this[_0x3eb80c(0x1a5)]=new _0x9f2ed(this[_0x3eb80c(0x1b8)][_0x3eb80c(0x226)](),_0x566476,this[_0x3eb80c(0x210)],_0x14bb39[_0x3eb80c(0x20d)],_0x14bb39[_0x3eb80c(0x1bc)]),this[_0x3eb80c(0x25b)][_0x3eb80c(0x1c9)](this[_0x3eb80c(0x1a5)][_0x3eb80c(0x222)],this[_0x3eb80c(0x1a5)][_0x3eb80c(0x20e)]),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x23a),(_0x574e9c,_0x219f1c)=>{const _0x8bd951=_0x3eb80c;_0x8bd951(0x208)===_0x219f1c[_0x8bd951(0x223)]||_0x8bd951(0x242)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x1b8)][_0x8bd951(0x251)](),this[_0x8bd951(0x25b)][_0x8bd951(0x1f1)](_0x219f1c)):_0x8bd951(0x1ba)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x24b)]():_0x8bd951(0x235)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x24e)]():_0x8bd951(0x239)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x1e4)]():_0x8bd951(0x1f3)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x25b)][_0x8bd951(0x255)](),this[_0x8bd951(0x1c6)](new _0x58584f(_0x8bd951(0x22a),this,this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1c4)]))):_0x8bd951(0x1a9)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x25b)][_0x8bd951(0x253)](),this[_0x8bd951(0x1c6)](new _0x58584f(_0x8bd951(0x1b2),this,this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1c4)]))):_0x8bd951(0x1dc)===_0x219f1c[_0x8bd951(0x223)]&&(this[_0x8bd951(0x1a5)]&&this[_0x8bd951(0x1a5)][_0x8bd951(0x25c)]>0x0?setTimeout(()=>{const _0x1b95c1=_0x8bd951;this[_0x1b95c1(0x1a5)]?.[_0x1b95c1(0x1d6)]();},0x0):this[_0x8bd951(0x1e6)](!0x0)),_0x8bd951(0x235)!==_0x219f1c[_0x8bd951(0x223)]&&_0x8bd951(0x1a9)!==_0x219f1c[_0x8bd951(0x223)]&&_0x8bd951(0x1f3)!==_0x219f1c[_0x8bd951(0x223)]||this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1ef)]();}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x214),(_0x2891e3,_0x387e87)=>{const _0x3c0364=_0x3eb80c;if(!this[_0x3c0364(0x1a5)])throw new _0x58584f(_0x3c0364(0x209),this);const _0x2de3b1=this[_0x3c0364(0x1b8)][_0x3c0364(0x1d2)](_0x387e87[_0x3c0364(0x213)][_0x3c0364(0x245)],_0x387e87[_0x3c0364(0x213)][_0x3c0364(0x237)]);_0x387e87[_0x3c0364(0x24f)][_0x3c0364(0x1ae)](_0x387e87[_0x3c0364(0x213)]['id'],_0x2de3b1);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x1fd),(_0x40c20a,_0x6c10e5)=>{const _0x59e8d4=_0x3eb80c;for(const _0x22cd9b of _0x6c10e5[_0x59e8d4(0x1fe)])this[_0x59e8d4(0x25b)][_0x59e8d4(0x247)](_0x22cd9b);this[_0x59e8d4(0x1b8)][_0x59e8d4(0x1e2)](_0x6c10e5[_0x59e8d4(0x1fe)],_0x6c10e5[_0x59e8d4(0x24f)][_0x59e8d4(0x1a8)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x254),(_0x204100,_0x57c183)=>{const _0x2402c6=_0x3eb80c;this[_0x2402c6(0x25b)][_0x2402c6(0x1ec)](_0x57c183[_0x2402c6(0x23c)]['id'],_0x57c183[_0x2402c6(0x223)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x1d4),(_0x2b3736,_0x573046)=>{const _0x1065ea=_0x3eb80c;this[_0x1065ea(0x25b)][_0x1065ea(0x1f9)](_0x573046[_0x1065ea(0x23c)]['id']);const _0x375c66=this[_0x1065ea(0x1b8)][_0x1065ea(0x248)](_0x573046[_0x1065ea(0x23c)]['id']);if(!_0x375c66)return;if(_0x1065ea(0x1f8)===this[_0x1065ea(0x225)]){const _0x4beb8d=this[_0x1065ea(0x25b)][_0x1065ea(0x1b0)](_0x573046[_0x1065ea(0x23c)]['id']);_0x4beb8d&&_0xc5c9b6(_0x4beb8d[_0x1065ea(0x1f0)](_0x1065ea(0x21f))||_0x4beb8d);}else{if(_0x1065ea(0x246)===this[_0x1065ea(0x225)]){const _0x3d04f4={'target':_0x375c66[_0x1065ea(0x1ca)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x11f1a3(_0x3d04f4);}}const _0x51bd45=this[_0x1065ea(0x1b8)][_0x1065ea(0x238)]();this[_0x1065ea(0x25b)][_0x1065ea(0x21a)](_0x573046[_0x1065ea(0x23c)],_0x375c66[_0x1065ea(0x1ca)],void 0x0,_0x1065ea(0x20a),_0x51bd45?.[_0x1065ea(0x1b5)]?.[_0x1065ea(0x211)]?.[_0x1065ea(0x21d)](),_0x51bd45?.['ui']?.[_0x1065ea(0x205)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x20c),()=>{const _0x3317a2=_0x3eb80c;this[_0x3317a2(0x25b)][_0x3317a2(0x252)](),this[_0x3317a2(0x25b)][_0x3317a2(0x22d)]();});try{await this[_0x3eb80c(0x1a5)][_0x3eb80c(0x1ff)]();}catch(_0x585294){_0x585294 instanceof Error&&_0x585294[_0x3eb80c(0x1fb)][_0x3eb80c(0x1eb)](_0x3eb80c(0x244))||(_0x585294 instanceof _0x58584f?this[_0x3eb80c(0x1c6)](_0x585294):this[_0x3eb80c(0x1c6)](new _0x58584f(_0x3eb80c(0x24a),this,{'error':_0x585294})));}}else this[_0x3eb80c(0x1c6)](new _0x58584f(_0x3eb80c(0x1c0),this,{'checkId':_0x14bb39['id']}));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x250),()=>{const _0x5406da=_0x147a66;this[_0x5406da(0x1e6)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1d5),()=>{const _0x1630a1=_0x147a66;this[_0x1630a1(0x1e6)](!0x0);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x202),()=>{const _0x45bcc9=_0x147a66;this[_0x45bcc9(0x1a5)]&&this[_0x45bcc9(0x1a5)][_0x45bcc9(0x228)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x217),()=>{const _0x367af0=_0x147a66;this[_0x367af0(0x1e6)](!0x0);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x207),()=>{const _0x133b4b=_0x147a66;if(!this[_0x133b4b(0x1a5)])return;const _0x5e62bb=this[_0x133b4b(0x1a5)][_0x133b4b(0x258)]();_0x5e62bb[_0x133b4b(0x1d1)]&&(this[_0x133b4b(0x1b8)][_0x133b4b(0x24c)](_0x5e62bb[_0x133b4b(0x1fa)](_0x1b8b03=>_0x1b8b03['id'])),this[_0x133b4b(0x1a5)][_0x133b4b(0x1bf)](),this[_0x133b4b(0x1a5)][_0x133b4b(0x1ef)]());}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1f4),(_0x544ac3,_0x4c2787)=>{const _0x3cc54e=_0x147a66;this[_0x3cc54e(0x1a5)]&&this[_0x3cc54e(0x1a5)][_0x3cc54e(0x1de)](_0x4c2787['id'])&&(this[_0x3cc54e(0x1b8)][_0x3cc54e(0x24c)]([_0x4c2787['id']]),this[_0x3cc54e(0x1a5)][_0x3cc54e(0x22c)](_0x4c2787['id']),this[_0x3cc54e(0x25b)][_0x3cc54e(0x22d)](),this[_0x3cc54e(0x1a5)][_0x3cc54e(0x1ef)](_0x4c2787['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1f2),(_0x221daa,_0x4ff7f3)=>{const _0x3c083e=_0x147a66;this[_0x3c083e(0x1a5)]&&this[_0x3c083e(0x1a5)][_0x3c083e(0x1de)](_0x4ff7f3['id'])&&(this[_0x3c083e(0x1b8)][_0x3c083e(0x1c5)](_0x4ff7f3['id']),this[_0x3c083e(0x1a5)][_0x3c083e(0x200)](_0x4ff7f3['id']),this[_0x3c083e(0x25b)][_0x3c083e(0x22d)](),this[_0x3c083e(0x1a5)][_0x3c083e(0x1ef)](_0x4ff7f3['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x229),(_0x2d9df1,_0x8b89f3)=>{const _0x498dd9=_0x147a66;this[_0x498dd9(0x22e)]=_0x8b89f3['on'],this[_0x498dd9(0x1a3)](this[_0x498dd9(0x22e)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1db),async()=>{const _0x2900d4=_0x147a66;this[_0x2900d4(0x1a5)]&&(this[_0x2900d4(0x1b8)][_0x2900d4(0x1cd)](),this[_0x2900d4(0x1a5)][_0x2900d4(0x1dd)](this[_0x2900d4(0x1b8)][_0x2900d4(0x226)]()),await this[_0x2900d4(0x1a5)][_0x2900d4(0x21c)]());}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1c3),(_0x20ec1f,_0x45d7bb)=>{const _0x336300=_0x147a66;this[_0x336300(0x1a5)]&&(this[_0x336300(0x225)]=_0x336300(0x246),this[_0x336300(0x1a5)][_0x336300(0x1c3)](_0x45d7bb['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1df),()=>{const _0x2e8875=_0x147a66;this[_0x2e8875(0x1a5)]&&this[_0x2e8875(0x1a5)][_0x2e8875(0x1df)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x216),(_0x596c30,_0x108bdd)=>{const _0x250ff8=_0x147a66;if(!this[_0x250ff8(0x1a5)])return;this[_0x250ff8(0x225)]=_0x250ff8(0x1f8),this[_0x250ff8(0x1a5)][_0x250ff8(0x1c3)](_0x108bdd[_0x250ff8(0x1fc)]);const _0x2dd393=this[_0x250ff8(0x1a5)][_0x250ff8(0x1c2)](_0x108bdd[_0x250ff8(0x1fc)]);if(!_0x2dd393)return;const _0x13754e=this[_0x250ff8(0x1b8)][_0x250ff8(0x238)]();this[_0x250ff8(0x25b)][_0x250ff8(0x21a)](_0x2dd393,_0x108bdd[_0x250ff8(0x204)],_0x108bdd[_0x250ff8(0x240)],_0x250ff8(0x20a),_0x13754e?.[_0x250ff8(0x1b5)]?.[_0x250ff8(0x211)]?.[_0x250ff8(0x21d)](),_0x13754e?.['ui']?.[_0x250ff8(0x205)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x234),(_0x5a8913,_0x51ee74)=>{const _0xaeed90=_0x147a66;if(!this[_0xaeed90(0x1a5)])return;if(this[_0xaeed90(0x1a5)][_0xaeed90(0x1ea)]())return;const _0x1b28b7=this[_0xaeed90(0x1a5)][_0xaeed90(0x1c2)](_0x51ee74[_0xaeed90(0x1fc)]);if(!_0x1b28b7)return;const _0xaf8252=this[_0xaeed90(0x1b8)][_0xaeed90(0x238)]();this[_0xaeed90(0x25b)][_0xaeed90(0x21a)](_0x1b28b7,_0x51ee74[_0xaeed90(0x204)],_0x51ee74[_0xaeed90(0x240)],_0xaeed90(0x1be),_0xaf8252?.[_0xaeed90(0x1b5)]?.[_0xaeed90(0x211)]?.[_0xaeed90(0x21d)](),_0xaf8252?.['ui']?.[_0xaeed90(0x205)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1f7),()=>{const _0x869aee=_0x147a66;if(!this[_0x869aee(0x1a5)])return;this[_0x869aee(0x1a5)][_0x869aee(0x1ea)]()||this[_0x869aee(0x25b)][_0x869aee(0x22d)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1e5),(_0x210ae2,_0x5de725)=>{const _0x20d4ea=_0x147a66;this[_0x20d4ea(0x1a5)]&&this[_0x20d4ea(0x1a5)][_0x20d4ea(0x241)](_0x5de725[_0x20d4ea(0x1fc)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1a4),(_0x302545,_0xee68c)=>{const _0x553fe2=_0x147a66;this[_0x553fe2(0x1a5)]&&this[_0x553fe2(0x1a5)][_0x553fe2(0x1da)](_0xee68c[_0x553fe2(0x1fc)]);});}[_0x1cc891(0x1e6)](_0x25a5dc=!0x1){const _0x28c2f5=_0x1cc891;this[_0x28c2f5(0x1a5)]&&(this[_0x28c2f5(0x1a5)][_0x28c2f5(0x21e)]||this[_0x28c2f5(0x1a5)][_0x28c2f5(0x1ef)](),this[_0x28c2f5(0x1a5)][_0x28c2f5(0x20f)](),this[_0x28c2f5(0x1a5)][_0x28c2f5(0x228)](),this[_0x28c2f5(0x1a5)]=void 0x0),_0x25a5dc&&this[_0x28c2f5(0x25b)][_0x28c2f5(0x1c7)](),this[_0x28c2f5(0x1b8)][_0x28c2f5(0x1cd)](),this[_0x28c2f5(0x1b8)][_0x28c2f5(0x1bb)](),this[_0x28c2f5(0x225)]=null;const _0x13761d=this[_0x28c2f5(0x1b8)][_0x28c2f5(0x238)]();_0x13761d&&_0x13761d[_0x28c2f5(0x1b5)][_0x28c2f5(0x211)][_0x28c2f5(0x23c)](_0x414e87=>{const _0x43063c=_0x28c2f5,_0x250138=_0x13761d[_0x43063c(0x1b5)][_0x43063c(0x211)][_0x43063c(0x23e)][_0x43063c(0x20b)]();_0x414e87[_0x43063c(0x227)](_0x43063c(0x25a),_0x250138),_0x414e87[_0x43063c(0x227)](_0x43063c(0x1ed),_0x250138);});}[_0x1cc891(0x1a3)](_0x42dcb9){const _0x3739b6=_0x1cc891,_0x469746=this[_0x3739b6(0x1b8)][_0x3739b6(0x238)]();_0x42dcb9?this[_0x3739b6(0x25b)][_0x3739b6(0x1b3)]():this[_0x3739b6(0x25b)][_0x3739b6(0x1ac)](),_0x469746&&_0x469746[_0x3739b6(0x1b5)][_0x3739b6(0x211)][_0x3739b6(0x23c)](_0x304f9a=>{const _0x773e7c=_0x3739b6,_0x9624e2=_0x469746[_0x773e7c(0x1b5)][_0x773e7c(0x211)][_0x773e7c(0x23e)][_0x773e7c(0x20b)]();_0x304f9a[_0x773e7c(0x227)](_0x773e7c(0x25a),_0x9624e2),_0x304f9a[_0x773e7c(0x227)](_0x773e7c(0x1ed),_0x9624e2),_0x304f9a[_0x773e7c(0x1ab)](_0x42dcb9?_0x773e7c(0x25a):_0x773e7c(0x1ed),_0x9624e2);});}[_0x1cc891(0x24d)](_0x4b8541){const _0x40c8a7=_0x1cc891;return _0x4b8541[_0x40c8a7(0x1fa)](_0x374749=>{const _0x319927=_0x40c8a7,_0x35ee82=_0x319927(0x201)+_0x374749['id'][_0x319927(0x23f)]()[_0x319927(0x259)]('-','_'),_0x24dd34={..._0x374749,'title':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x22f),_0x374749[_0x319927(0x222)]),'description':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x232),_0x374749[_0x319927(0x1d8)])};return _0x374749[_0x319927(0x257)]&&(_0x24dd34[_0x319927(0x257)]=_0x374749[_0x319927(0x257)][_0x319927(0x1fa)](_0x39ddd6=>({..._0x39ddd6,'label':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x1e8),_0x39ddd6[_0x319927(0x218)]||''),'data':_0x39ddd6[_0x319927(0x208)]?_0x39ddd6[_0x319927(0x208)][_0x319927(0x1fa)](_0x18f2db=>({..._0x18f2db,'label':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x1e7)+_0x18f2db['id'][_0x319927(0x23f)](),_0x18f2db[_0x319927(0x218)])})):void 0x0}))),_0x24dd34;});}[_0x1cc891(0x1aa)](_0xe8e1f4,_0x5c48fb){const _0xb3fccf=_0x1cc891,_0xd78b8f=this[_0xb3fccf(0x224)][_0xb3fccf(0x1af)],_0x3c3acc=_0x2e082d(_0xd78b8f,_0xe8e1f4);return _0x3c3acc===_0xe8e1f4?_0x5c48fb:_0x3c3acc;}[_0x1cc891(0x1c6)](_0x2c2217){const _0x400ffc=_0x1cc891;_0x1ed761(_0x2c2217[_0x400ffc(0x1fb)]),_0x2c2217[_0x400ffc(0x1fb)][_0x400ffc(0x1c8)](_0x400ffc(0x230))?this[_0x400ffc(0x25b)][_0x400ffc(0x1ad)]():this[_0x400ffc(0x25b)][_0x400ffc(0x255)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9ddc56=_0x54ad;function _0x54ad(_0x4dca3e,_0x1c6ca7){const _0x141443=_0x1414();return _0x54ad=function(_0x54ad26,_0x330112){_0x54ad26=_0x54ad26-0xd3;let _0x1e40ee=_0x141443[_0x54ad26];return _0x1e40ee;},_0x54ad(_0x4dca3e,_0x1c6ca7);}(function(_0x2e7245,_0x39ca54){const _0x271bf9=_0x54ad,_0x8eafe5=_0x2e7245();while(!![]){try{const _0x20f770=parseInt(_0x271bf9(0x137))/0x1*(-parseInt(_0x271bf9(0x1c0))/0x2)+parseInt(_0x271bf9(0x101))/0x3+-parseInt(_0x271bf9(0x19e))/0x4*(-parseInt(_0x271bf9(0x1a1))/0x5)+parseInt(_0x271bf9(0x1b2))/0x6+parseInt(_0x271bf9(0x166))/0x7+parseInt(_0x271bf9(0x1b8))/0x8+-parseInt(_0x271bf9(0x190))/0x9*(-parseInt(_0x271bf9(0xe5))/0xa);if(_0x20f770===_0x39ca54)break;else _0x8eafe5['push'](_0x8eafe5['shift']());}catch(_0x2d57bf){_0x8eafe5['push'](_0x8eafe5['shift']());}}}(_0x1414,0x5110f));function _0x1414(){const _0x418291=['data','delete','values','baseVersion','_validateMarkers','nodes','enableReadOnlyMode','root','stringify','rejectChange','includes','AIReviewModeEditing','ck-ai_review-mode-marker_context-start','elements','getPath','map','markers','_clone','target','emitter','ck-ai_review-mode-marker_underline','parse','operationsA','_insertMarkers','querySelector','isAtStart','getChanges','version','_sortMarkers','reviewmode-','911106itGxWP','append','_domEmitter','remove-text','$markedRemove','_hasSameTopLevelElement','getRoots','insert','childCount','split','disableReadOnlyMode','getStart','filter','size','30964StLJpx','operationsIsolated','createText','95xSobPg','createDocumentFragment','ck-ai_review-mode-marker_context-end','hasContentBefore','end','remove','_findMarkerElement','markerToHighlight','createPositionAt','pop','dataDowncast','isPremiumPlugin','attributeToAttribute','_getMarkersDataForGroup','warn','_groupAdjacentOperations','ellipsisAfter','127020wDWgEq','fire','newRange','keys','_createGetContentUsingDataIdFn','ck-ai_review-mode-marker_context-','944200KcLVBL','index','_findAdjacentContextDistance','view','jumpTo','plugins','_haveOnlyInlineContent','_markers','1106044LeQJSU','processor','getEditor','text','ai-review-mode','addOperation','_parseMarkerName','removeMarker','model:$text','name','toView','No\x20element\x20found\x20for\x20ID:\x20','ck-ai_review-mode-marker_add','hasContentAfter','htmlProcessor','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','offsetSize','_createGetContentFn','applyOperation','_haveSingleTopLevelElement','suggestion-context','rootName','_setAttribute','span','createRawElement','push','insertContent','model','30RONRxx','AIEditing','toData','suggestion:deletion:id:authorId:','_changePosition','editing','downcast','$graveyard','forEach','createSelection','changeMarkerRestored','isOfficialPlugin','_changeOperationOwnerDocument','getRange','marker','domConverter','change','closest','hasAttribute','isInline','markerToElement','$textProxy','affectsData','forward','markChangePositionInEditorContent','_shiftOperation','DocumentCompare','[data-id=\x22','126846Wugxaw','history','batch','startsWith','_createGetContextFn','has','click','flat','every','getAttribute','containsRange','from','ck-ai_review-mode-marker_hide','_eventEmitter','createPositionAfter','listenTo','_handleMarkerChanges','className','_upsertDataId','htmlWriter','[data-marker-id=\x22','_getOperationEnd','ck-ai_review-mode-marker_','switchToReadOnly','_getOperationStart','parent','documentFragment','clearAllMarkers','conversion','changeMarkerHovered','set','editingDowncast','getChildren','getChangedMarkers','_appendChild','schema','getChild','isIntersecting','registerPostFixer','exec','context','differ','getOperations','document','ck-ai_review-mode-marker_strikethrough','get','element','_changePositionOwnerDocument','getHtml','getMarkerElementForChange','getDiff','backward','type','groupId','1vnXGIe','innerHTML','isAtEnd','containerElement','concat','for','offset','requires','createRange','outerHTML','getRoot','applyChange','_getChangeContext','hasClass','_removeChildren','_nextDataId','length','isTouching','changeMarkerBlurred','createUIElement','mouseover','addMarker','afterInit','toDomElement','remove-context','clear','viewToDom','sort','relatedTarget','getDocumentData','data-marker-id','remove-only','parentElement','oldRange','markerName','isOpening','changeMarkerClick','ellipsisBefore','pluginName','suggestion:insertion:id:authorId:','isDocumentOperation','_changeRange','path','howMany','diffContent','_removeAttribute','switchToEdit','1769677oQnbuU','getDomRoot','_changeRangeOwnerDocument','deleteContent','$documentFragment','add','clone','start','changeMarkerRemoved','getShiftedBy','_translateOperationToEditorContent','position'];_0x1414=function(){return _0x418291;};return _0x1414();}import{InsertOperation as _0x232256,MarkerOperation as _0x1f36b5,ModelDocumentFragment as _0x295fd2,ModelPosition as _0xae77cd,ModelRange as _0x5cdd59,ModelTreeWalker as _0x24eca4,transformOperationSets as _0xc342d2}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x1868c3,EmitterMixin as _0x4f70fd}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5eb5ea}from'ckeditor5/src/core.js';import{DocumentCompare as _0x41b878,DATA_ID_MODEL_ATTRIBUTE as _0x544b8f,DATA_ID_VIEW_ATTRIBUTE as _0x159cfe}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2184e2}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x9db21b}from'../aicore/aiediting.js';import{debounce as _0x501643}from'es-toolkit/compat';const le=_0x9ddc56(0x18f);export class AIReviewModeEditing extends _0x5eb5ea{static get[_0x9ddc56(0x15d)](){const _0x586f28=_0x9ddc56;return _0x586f28(0x17d);}static get[_0x9ddc56(0x13e)](){return[_0x41b878,_0x9db21b];}static get[_0x9ddc56(0xf0)](){return!0x0;}static get[_0x9ddc56(0x1ac)](){return!0x0;}[_0x9ddc56(0x1bf)]=new Map();[_0x9ddc56(0x192)];[_0x9ddc56(0x10e)];constructor(_0x53f2de){const _0x23d55c=_0x9ddc56;super(_0x53f2de),this[_0x23d55c(0x192)]=new(_0x1868c3())(),this[_0x23d55c(0x10e)]=new(_0x4f70fd())();}get[_0x9ddc56(0x185)](){const _0x310abf=_0x9ddc56;return this[_0x310abf(0x10e)];}[_0x9ddc56(0x14d)](){const _0x37ae6e=_0x9ddc56,_0xe6729e=_0x2184e2(this[_0x37ae6e(0x129)]);_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0xf9)]({'model':le+_0x37ae6e(0x197),'view':(_0x545ca8,{writer:_0x6480d4})=>{const _0x27f9b6=_0x37ae6e,_0x2458c2=this[_0x27f9b6(0x1bf)][_0x27f9b6(0x12e)](_0x545ca8[_0x27f9b6(0x159)]),_0x2de5b2={'class':_0x27f9b6(0xd5),'data-marker-id':_0x545ca8[_0x27f9b6(0x159)]};return _0x6480d4[_0x27f9b6(0x14a)](_0x27f9b6(0xe0),_0x2de5b2,function(_0x22eb91){const _0x11bdc0=_0x27f9b6,_0x2fc7fc=this[_0x11bdc0(0x14e)](_0x22eb91);return _0x2fc7fc[_0x11bdc0(0x138)]=_0x2458c2?.[_0x11bdc0(0x1c3)]||'',_0x2fc7fc;});}}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x156),'view':_0xad688c=>({'classes':_0x37ae6e(0x12d),'attributes':{'data-marker-id':_0xad688c[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x14f),'view':_0x45a2db=>({'classes':_0x37ae6e(0x186),'attributes':{'data-marker-id':_0x45a2db[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x193),'view':_0x154750=>({'classes':_0x37ae6e(0x10d),'attributes':{'data-marker-id':_0x154750[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x1ab))[_0x37ae6e(0xf9)]({'model':le+_0x37ae6e(0xdd),'view':(_0x12f9bd,{writer:_0x13ad7b})=>_0x13ad7b[_0x37ae6e(0xe1)](_0x37ae6e(0xe0),{'class':_0x37ae6e(0x1b7)+(_0x12f9bd[_0x37ae6e(0x15a)]?_0x37ae6e(0x16d):_0x37ae6e(0x1a5))})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0xeb))[_0x37ae6e(0x1ad)]({'model':_0x544b8f,'view':_0x159cfe}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x107),(_0x39b724,_0x5a69ee)=>{const _0x4abf65=_0x37ae6e,_0x1d3e64=_0x5a69ee[_0x4abf65(0x184)],_0x36cdbb=this[_0x4abf65(0x1a7)](_0x1d3e64);if(!_0x36cdbb)return;const _0x285963=_0x36cdbb[_0x4abf65(0x10a)](_0x4abf65(0x155)),_0x11c1da=_0x285963[_0x4abf65(0x199)](':')[_0x4abf65(0x1aa)]()?.[_0x4abf65(0x199)]('_')[0x0];this[_0x4abf65(0x10e)][_0x4abf65(0x1b3)](_0x4abf65(0x15b),{'markerId':_0x285963,'changeId':_0x11c1da,'markerElement':_0x36cdbb,'domEvent':_0x5a69ee});}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x14b),(_0x4c3576,_0x2bae28)=>{const _0x45518f=_0x37ae6e,_0x2c3bf3=_0x2bae28[_0x45518f(0x184)],_0x507804=_0x2bae28[_0x45518f(0x153)];let _0x59605a=this[_0x45518f(0x1a7)](_0x2c3bf3);if(!_0x59605a&&_0x507804&&(_0x59605a=this[_0x45518f(0x1a7)](_0x507804)),!_0x59605a)return;const _0x1f0358=_0x59605a[_0x45518f(0x10a)](_0x45518f(0x155)),_0x18b699=_0x1f0358[_0x45518f(0x199)](':')[_0x45518f(0x1aa)]()?.[_0x45518f(0x199)]('_')[0x0];this[_0x45518f(0x10e)][_0x45518f(0x1b3)](_0x45518f(0x11e),{'changeId':_0x18b699,'markerElement':_0x59605a,'domEvent':_0x2bae28});}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x14b),_0x501643((_0x328b6a,_0x527f0b)=>{const _0x4038c1=_0x37ae6e,_0x407076=_0x527f0b[_0x4038c1(0x184)];if(this[_0x4038c1(0x1a7)](_0x407076))return;_0x407076[_0x4038c1(0xf6)](_0x4038c1(0xd8))||this[_0x4038c1(0x10e)][_0x4038c1(0x1b3)](_0x4038c1(0x149));},0xc8)),_0xe6729e[_0x37ae6e(0xe4)][_0x37ae6e(0x12c)][_0x37ae6e(0x127)](_0x305e6c=>this[_0x37ae6e(0x176)](_0xe6729e,_0x305e6c)),_0xe6729e[_0x37ae6e(0xe4)][_0x37ae6e(0x12c)]['on'](_0x37ae6e(0xf5),()=>this[_0x37ae6e(0x111)](_0xe6729e));}[_0x9ddc56(0x154)](){const _0xdc3503=_0x9ddc56,_0x521366=this[_0xdc3503(0x129)][_0xdc3503(0x1bd)][_0xdc3503(0x12e)](_0xdc3503(0xe6)),_0x273a4d=_0x2184e2(this[_0xdc3503(0x129)]),_0x59361e=_0x273a4d[_0xdc3503(0xe4)],_0x348bdf=new _0x295fd2();for(const _0x19be45 of _0x59361e[_0xdc3503(0x12c)][_0xdc3503(0x141)]()[_0xdc3503(0x121)]()){const _0x2090af=_0x19be45[_0xdc3503(0x183)](!0x0);_0x348bdf[_0xdc3503(0x123)](_0x2090af);}for(const _0x1a93c0 of _0x59361e[_0xdc3503(0x182)])_0x348bdf[_0xdc3503(0x182)][_0xdc3503(0x11f)](_0x1a93c0[_0xdc3503(0x1c9)],this[_0xdc3503(0x168)](_0x1a93c0[_0xdc3503(0xf2)]()[_0xdc3503(0x16c)](),_0x348bdf));const _0x26990c=new _0x24eca4({'ignoreElementEnd':!0x0,'startPosition':_0x59361e[_0xdc3503(0x1a9)](_0x348bdf,0x0)}),_0x3bc305=new Set(),_0x3e2106=new Map();for(const {item:_0x4936ea}of _0x26990c){if(!_0x4936ea['is'](_0xdc3503(0xfa)))continue;const _0x209c2b=_0x4936ea[_0xdc3503(0x11a)];if(_0x209c2b&&_0x209c2b['is'](_0xdc3503(0x12f))){const _0x4fbdce=this[_0xdc3503(0x113)](_0x209c2b,()=>_0x521366[_0xdc3503(0x146)](_0x3bc305));_0x3bc305[_0xdc3503(0x16b)](_0x4fbdce);for(const _0x1e8fd9 of _0x209c2b[_0xdc3503(0x121)]())_0x1e8fd9['is'](_0xdc3503(0x12f))&&_0x3bc305[_0xdc3503(0x16b)](this[_0xdc3503(0x113)](_0x1e8fd9,()=>_0x521366[_0xdc3503(0x146)](_0x3bc305)));let _0x45e42f=_0x209c2b;for(;_0x45e42f[_0xdc3503(0x11a)]&&!_0x45e42f[_0xdc3503(0x11a)]['is'](_0xdc3503(0x11b));)_0x45e42f=_0x45e42f[_0xdc3503(0x11a)],_0x45e42f[_0xdc3503(0xf7)](_0x544b8f)&&_0x45e42f[_0xdc3503(0x164)](_0x544b8f);_0x3e2106[_0xdc3503(0x11f)](_0x4fbdce,{'path':_0x209c2b[_0xdc3503(0x180)](),'getContent':this[_0xdc3503(0x1b6)](_0x45e42f[_0xdc3503(0x183)](!0x0),_0x4fbdce,_0x273a4d[_0xdc3503(0x172)])}),_0x26990c[_0xdc3503(0x1bc)](_0x59361e[_0xdc3503(0x10f)](_0x209c2b));}}return{'content':_0x273a4d[_0xdc3503(0x172)][_0xdc3503(0x1c1)][_0xdc3503(0xe7)](_0x273a4d[_0xdc3503(0x172)][_0xdc3503(0xd3)](_0x348bdf)),'version':_0x273a4d[_0xdc3503(0xe4)][_0xdc3503(0x12c)][_0xdc3503(0x18d)],'elements':_0x3e2106};}[_0x9ddc56(0x163)](_0x20c5cf,_0x341d4f){const _0x2f9fcb=_0x9ddc56,_0x2e3c8d=[],_0x289be0=_0x2184e2(this[_0x2f9fcb(0x129)]),_0x3e391c=_0x289be0[_0x2f9fcb(0x172)][_0x2f9fcb(0x187)](_0x341d4f,_0x2f9fcb(0x16a)),_0x3b7043=_0x289be0[_0x2f9fcb(0x172)][_0x2f9fcb(0x187)](_0x20c5cf,_0x2f9fcb(0x16a)),_0x1a9c72=_0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0x1a9)](_0x3b7043,0x0);if(this[_0x2f9fcb(0xdc)](_0x3e391c)){if(!this[_0x2f9fcb(0x195)](_0x3b7043,_0x3e391c))return _0x2e3c8d;}else{const _0x423185=_0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0x124)];if(!this[_0x2f9fcb(0x1be)](_0x3b7043,_0x423185)||!this[_0x2f9fcb(0x1be)](_0x3e391c,_0x423185))return _0x2e3c8d;}const _0x1789b9=this[_0x2f9fcb(0x129)][_0x2f9fcb(0x1bd)][_0x2f9fcb(0x12e)](_0x2f9fcb(0xff))[_0x2f9fcb(0x133)](_0x20c5cf,_0x341d4f,{'anchor':_0x1a9c72,'markDeletions':!0x0})[_0x2f9fcb(0x12b)]()[_0x2f9fcb(0x19c)](_0x21f84b=>_0x2f9fcb(0x197)===_0x21f84b[_0x2f9fcb(0x135)]||_0x2f9fcb(0xf3)===_0x21f84b[_0x2f9fcb(0x135)]&&_0x21f84b[_0x2f9fcb(0x1c9)][_0x2f9fcb(0x104)](_0x2f9fcb(0x194))),_0x530136=this[_0x2f9fcb(0x1b0)](_0x1789b9);let _0x47bdda=0x0;return _0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0xf5)](_0x320d97=>{const _0x516246=_0x2f9fcb;for(let _0x2f2eb3=0x0;_0x2f2eb3<_0x530136[_0x516246(0x147)];_0x2f2eb3++){const _0x3a4bb2=_0x530136[_0x2f2eb3],_0x28a975=_0x320d97[_0x516246(0x1a2)]();for(const _0xe68d4 of _0x3b7043[_0x516246(0x121)]())_0x320d97[_0x516246(0x191)](_0xe68d4[_0x516246(0x183)](!0x0),_0x28a975);for(const _0x1ada28 of _0x3a4bb2[_0x516246(0x19f)])if(_0x516246(0x197)===_0x1ada28[_0x516246(0x135)]){const _0x3081cf=_0x1ada28;_0x3081cf[_0x516246(0x175)]=null,_0x3081cf[_0x516246(0x15f)]=!0x1,this[_0x516246(0xf1)](_0x3081cf,_0x28a975),_0x320d97[_0x516246(0x103)][_0x516246(0x1c5)](_0x1ada28),_0x289be0[_0x516246(0xe4)][_0x516246(0xdb)](_0x1ada28);const _0x4a6b04=_0x516246(0x15e)+_0x47bdda++,_0x2c7a27=_0x289be0[_0x516246(0xe4)][_0x516246(0x13f)](_0x3081cf[_0x516246(0x171)],_0x3081cf[_0x516246(0x171)][_0x516246(0x16f)](_0x3081cf[_0x516246(0x162)]));_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](_0x4a6b04,_0x2c7a27);}else{if(_0x516246(0xf3)===_0x1ada28[_0x516246(0x135)]&&_0x1ada28[_0x516246(0x1c9)][_0x516246(0x104)](_0x516246(0x194))){const _0x4b89a9=_0x1ada28,_0x55d8f9=_0x516246(0xe8)+_0x47bdda++;this[_0x516246(0xf1)](_0x4b89a9,_0x28a975),_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](_0x55d8f9,_0x4b89a9[_0x516246(0x1b4)]);}}const _0x2922ed=this[_0x516246(0x143)](this[_0x516246(0x130)](this[_0x516246(0x119)](_0x3a4bb2[_0x516246(0x19f)][0x0]),_0x28a975),this[_0x516246(0x130)](this[_0x516246(0x116)](_0x3a4bb2[_0x516246(0x19f)][_0x3a4bb2[_0x516246(0x19f)][_0x516246(0x147)]-0x1]),_0x28a975));_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](le+_0x516246(0xdd),new _0x5cdd59(_0x2922ed[_0x516246(0x16d)],_0x2922ed[_0x516246(0x1a5)])),_0x2e3c8d[_0x516246(0xe2)]({..._0x3a4bb2,'context':this[_0x516246(0x105)](_0x28a975,_0x289be0[_0x516246(0x172)],{'ellipsisBefore':_0x2922ed[_0x516246(0x1a4)],'ellipsisAfter':_0x2922ed[_0x516246(0xd6)]}),'content':this[_0x516246(0xda)](_0x28a975,_0x289be0[_0x516246(0x172)])});}}),_0x2e3c8d;}[_0x9ddc56(0xfd)](_0x36818b,_0x319b6c){const _0x2356c9=_0x9ddc56;if(!_0x36818b[_0x2356c9(0x147)])return;const _0x2805f0=_0x36818b[0x0][_0x2356c9(0x11a)]['id'],_0x53ca34=_0x319b6c[_0x2356c9(0x17f)][_0x2356c9(0x12e)](_0x2805f0);if(!_0x53ca34)return void console[_0x2356c9(0x1af)](_0x2356c9(0xd4)+_0x2805f0);const _0xa14177=_0x53ca34[_0x2356c9(0x161)],_0x1bd56d=_0x2184e2(this[_0x2356c9(0x129)]),_0x19971e=_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)][_0x2356c9(0x102)][_0x2356c9(0x12b)](_0x319b6c[_0x2356c9(0x18d)]),_0x1d2b3e=[];for(const _0x319ba5 of _0x36818b){const _0x8403b6=_0x319ba5[_0x2356c9(0x19f)][_0x2356c9(0x181)](_0x10bda0=>this[_0x2356c9(0x170)](_0x10bda0,_0xa14177,_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)][_0x2356c9(0x196)]()[0x0]));if(!_0x8403b6||!_0x8403b6[_0x2356c9(0x147)])continue;const _0x38ca90=_0x8403b6[_0x2356c9(0x109)](_0x128b74=>_0x2356c9(0xf3)===_0x128b74[_0x2356c9(0x135)]&&_0x128b74[_0x2356c9(0x1c9)][_0x2356c9(0x104)](_0x2356c9(0x194))),_0x48be6d={'document':_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x28fe24=_0xc342d2(_0x8403b6,_0x19971e,_0x48be6d)[_0x2356c9(0x188)];for(const _0xf92b76 of _0x28fe24)if(_0x2356c9(0x197)===_0xf92b76[_0x2356c9(0x135)]){const _0x6b88f=_0xf92b76,_0x42c067=_0x6b88f[_0x2356c9(0x177)];let _0xb0a44f='';for(const _0xb01b18 of _0x42c067)_0xb01b18&&_0xb01b18['is'](_0x2356c9(0x1c8))&&(_0xb0a44f+=_0xb01b18[_0x2356c9(0x172)]);_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x6b88f[_0x2356c9(0x171)],'end':_0x6b88f[_0x2356c9(0x171)],'type':_0x2356c9(0x197),'groupId':_0x319ba5['id'],'text':_0xb0a44f});}else{if(_0x2356c9(0xf3)===_0xf92b76[_0x2356c9(0x135)]&&_0xf92b76[_0x2356c9(0x1c9)][_0x2356c9(0x104)](_0x2356c9(0x194))){const _0x2fdebe=_0xf92b76;let _0x430af2=_0x2356c9(0x193);if(_0x38ca90){const _0xce78dc=this[_0x2356c9(0x1ba)](_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)],_0x2356c9(0x134),_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x124)]),_0x48d8e2=this[_0x2356c9(0x1ba)](_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)],_0x2356c9(0xfc),_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x124)]);if(_0xce78dc||_0x48d8e2){const _0x4c4a6a=_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)][_0x2356c9(0x16f)](-_0xce78dc),_0x1a670b=_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)][_0x2356c9(0x16f)](_0x48d8e2);_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x4c4a6a,'end':_0x1a670b,'groupId':_0x319ba5['id'],'type':_0x2356c9(0x14f)});}else _0x430af2=_0x2356c9(0x156);}_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)],'end':_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)],'groupId':_0x319ba5['id'],'type':_0x430af2});}}}this[_0x2356c9(0x189)](_0x1d2b3e);}[_0x9ddc56(0x11c)](){const _0x53c5ae=_0x9ddc56,_0x30831a=_0x2184e2(this[_0x53c5ae(0x129)]);_0x30831a[_0x53c5ae(0xe4)][_0x53c5ae(0xf5)](_0x590068=>{const _0x5d8937=_0x53c5ae;for(const _0x1e0c32 of this[_0x5d8937(0x1bf)][_0x5d8937(0x1b5)]())_0x30831a[_0x5d8937(0xe4)][_0x5d8937(0x182)][_0x5d8937(0x12e)](_0x1e0c32)&&_0x590068[_0x5d8937(0x1c7)](_0x1e0c32);}),this[_0x53c5ae(0x1bf)][_0x53c5ae(0x150)]();}[_0x9ddc56(0x118)](){const _0x1e6b09=_0x9ddc56;_0x2184e2(this[_0x1e6b09(0x129)])[_0x1e6b09(0x178)](_0x1e6b09(0x1c4));}[_0x9ddc56(0x165)](){const _0x556779=_0x9ddc56;_0x2184e2(this[_0x556779(0x129)])[_0x556779(0x19a)](_0x556779(0x1c4));}[_0x9ddc56(0x142)](_0x5a32c7){const _0x229533=_0x9ddc56,_0x554899=_0x2184e2(this[_0x229533(0x129)]),_0x2f65dd=_0x554899[_0x229533(0xe4)],_0x3fbe75=_0x5a32c7[_0x229533(0x181)](_0x5335d0=>this[_0x229533(0x1ae)](_0x5335d0))[_0x229533(0x108)]();_0x2f65dd[_0x229533(0xf5)](_0x5ef5ed=>{const _0x17f37a=_0x229533;for(const _0x423d11 of _0x3fbe75){const _0x3f5a01=_0x554899[_0x17f37a(0xe4)][_0x17f37a(0x182)][_0x17f37a(0x12e)](_0x423d11['id']);_0x3f5a01&&(_0x17f37a(0x197)===_0x423d11[_0x17f37a(0x135)]?_0x2f65dd[_0x17f37a(0xe3)](_0x5ef5ed[_0x17f37a(0x1a0)](_0x423d11[_0x17f37a(0x1c3)]||''),_0x3f5a01[_0x17f37a(0xf2)]()[_0x17f37a(0x16d)]):_0x17f37a(0x193)!==_0x423d11[_0x17f37a(0x135)]&&_0x17f37a(0x156)!==_0x423d11[_0x17f37a(0x135)]||_0x2f65dd[_0x17f37a(0x169)](_0x2f65dd[_0x17f37a(0xee)](_0x3f5a01[_0x17f37a(0xf2)]())),_0x5ef5ed[_0x17f37a(0x1c7)](_0x423d11['id']),this[_0x17f37a(0x1bf)][_0x17f37a(0x173)](_0x423d11['id']));}});}[_0x9ddc56(0x17b)](_0x1843cf){const _0x4784d2=_0x9ddc56,_0x43e374=_0x2184e2(this[_0x4784d2(0x129)]),_0x5cfb18=this[_0x4784d2(0x1ae)](_0x1843cf);_0x43e374[_0x4784d2(0xe4)][_0x4784d2(0xf5)](_0x22033b=>{const _0xc092bf=_0x4784d2;for(const _0xf2177c of _0x5cfb18)_0x22033b[_0xc092bf(0x1c7)](_0xf2177c['id']),this[_0xc092bf(0x1bf)][_0xc092bf(0x173)](_0xf2177c['id']);});}[_0x9ddc56(0x1c2)](){const _0x212938=_0x9ddc56;return _0x2184e2(this[_0x212938(0x129)]);}[_0x9ddc56(0x132)](_0x11b1ab){const _0x35aa90=_0x9ddc56,_0x50729d=Array[_0x35aa90(0x10c)](this[_0x35aa90(0x1bf)][_0x35aa90(0x174)]())[_0x35aa90(0x19c)](_0x36b347=>_0x36b347[_0x35aa90(0x136)]===_0x11b1ab);if(!_0x50729d[_0x35aa90(0x147)])return null;const _0x244fde=0x1===_0x50729d[_0x35aa90(0x147)]?_0x50729d[0x0]:this[_0x35aa90(0x18e)](_0x50729d)[0x0],_0x97a0f4=_0x2184e2(this[_0x35aa90(0x129)]),_0x554f64=_0x97a0f4[_0x35aa90(0xe4)][_0x35aa90(0x182)][_0x35aa90(0x12e)](_0x244fde['id']);if(!_0x554f64)return null;const _0x4f988a=_0x554f64[_0x35aa90(0xf2)](),_0x450537=_0x97a0f4[_0x35aa90(0xea)][_0x35aa90(0x1bb)][_0x35aa90(0x167)]();if(!_0x450537||!_0x4f988a)return null;const _0x206690=_0x450537[_0x35aa90(0x18a)](_0x35aa90(0x115)+_0x244fde['id']+'\x22]');return _0x206690?{'modelRange':_0x4f988a,'domElement':_0x206690}:null;}[_0x9ddc56(0x176)](_0x41f7eb,_0x3e871a){const _0x5d2a2b=_0x9ddc56,_0x1b3298=Array[_0x5d2a2b(0x10c)](this[_0x5d2a2b(0x1bf)][_0x5d2a2b(0x1b5)]()),_0xe992ce=new Map();for(const _0x1727e3 of _0x1b3298){const _0xa3b7f8=_0x41f7eb[_0x5d2a2b(0xe4)][_0x5d2a2b(0x182)][_0x5d2a2b(0x12e)](_0x1727e3);if(!_0xa3b7f8)continue;const _0x1142fe=_0xa3b7f8[_0x5d2a2b(0x19b)]()[_0x5d2a2b(0x161)][0x0];_0xe992ce[_0x5d2a2b(0x106)](_0x1142fe)||_0xe992ce[_0x5d2a2b(0x11f)](_0x1142fe,[]),_0xe992ce[_0x5d2a2b(0x12e)](_0x1142fe)[_0x5d2a2b(0xe2)](_0xa3b7f8);}const _0x4afe9e=new Set();for(const _0x5e44d7 of _0x41f7eb[_0x5d2a2b(0xe4)][_0x5d2a2b(0x12c)][_0x5d2a2b(0x12a)][_0x5d2a2b(0x18c)]()){let _0x1b6d8=-0x1,_0x1cd9af=null;if(_0x5d2a2b(0x197)===_0x5e44d7[_0x5d2a2b(0x135)])_0x1cd9af=new _0x5cdd59(_0x5e44d7[_0x5d2a2b(0x171)],_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x16f)](_0x5e44d7[_0x5d2a2b(0x147)])),_0x1b6d8=_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x161)][0x0];else{if(_0x5d2a2b(0x1a6)!==_0x5e44d7[_0x5d2a2b(0x135)])continue;_0x1cd9af=new _0x5cdd59(_0x5e44d7[_0x5d2a2b(0x171)]),_0x1b6d8=_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x161)][0x0];}const _0x58716e=_0xe992ce[_0x5d2a2b(0x12e)](_0x1b6d8)||[];if(_0x58716e[_0x5d2a2b(0x147)]){for(const _0x1ffc78 of _0x58716e)if(_0x1cd9af[_0x5d2a2b(0x179)][_0x5d2a2b(0xde)]===_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x179)][_0x5d2a2b(0xde)]&&(_0x5d2a2b(0x197)!==_0x5e44d7[_0x5d2a2b(0x135)]||!_0x1cd9af[_0x5d2a2b(0x10b)](_0x1ffc78[_0x5d2a2b(0xf2)]()))&&(_0x1cd9af[_0x5d2a2b(0x126)](_0x1ffc78[_0x5d2a2b(0xf2)]())||_0x1cd9af[_0x5d2a2b(0x16d)][_0x5d2a2b(0x148)](_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x1a5)])||_0x1cd9af[_0x5d2a2b(0x1a5)][_0x5d2a2b(0x148)](_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x16d)]))){const _0x30eae0=this[_0x5d2a2b(0x1c6)](_0x1ffc78[_0x5d2a2b(0x1c9)]);Array[_0x5d2a2b(0x10c)](this[_0x5d2a2b(0x1bf)][_0x5d2a2b(0x174)]())[_0x5d2a2b(0x19c)](_0x343884=>_0x343884[_0x5d2a2b(0x136)]===_0x30eae0[_0x5d2a2b(0x136)])[_0x5d2a2b(0xed)](_0x4cd359=>_0x4afe9e[_0x5d2a2b(0x16b)](_0x4cd359['id']));}}}if(_0x4afe9e[_0x5d2a2b(0x19d)]){for(const _0x298f08 of _0x4afe9e)_0x3e871a[_0x5d2a2b(0x1c7)](_0x298f08);return!0x0;}return!0x1;}[_0x9ddc56(0x111)](_0x1c67cf){const _0x3fed47=_0x9ddc56;for(const {name:_0x5b24dd,data:_0x3e1772}of _0x1c67cf[_0x3fed47(0xe4)][_0x3fed47(0x12c)][_0x3fed47(0x12a)][_0x3fed47(0x122)]()){if(!_0x5b24dd[_0x3fed47(0x104)](le))continue;const _0x1bdd6f=_0x3e1772[_0x3fed47(0x158)],_0x5dcb2b=_0x3e1772[_0x3fed47(0x1b4)],_0x24ba6c=_0x1bdd6f&&_0x3fed47(0xec)===_0x1bdd6f[_0x3fed47(0x179)][_0x3fed47(0xde)],_0xd7750c=_0x5dcb2b&&_0x3fed47(0xec)===_0x5dcb2b[_0x3fed47(0x179)][_0x3fed47(0xde)];if(_0x24ba6c&&_0xd7750c)continue;const _0x4d7b61=this[_0x3fed47(0x1c6)](_0x5b24dd);this[_0x3fed47(0x1bf)][_0x3fed47(0x12e)](_0x5b24dd)&&(_0xd7750c||!_0x5dcb2b?this[_0x3fed47(0x10e)][_0x3fed47(0x1b3)](_0x3fed47(0x16e),{'markerId':_0x5b24dd,'changeId':_0x4d7b61[_0x3fed47(0x136)]}):_0x24ba6c&&_0x5dcb2b&&this[_0x3fed47(0x10e)][_0x3fed47(0x1b3)](_0x3fed47(0xef),{'markerId':_0x5b24dd,'changeId':_0x4d7b61[_0x3fed47(0x136)]}));}}[_0x9ddc56(0x1c6)](_0x373690){const _0x11e7f4=_0x9ddc56,_0x3cbfed=_0x373690[_0x11e7f4(0x199)](':'),_0x3fa1d6=(_0x3cbfed[0x1]||'')[_0x11e7f4(0x199)]('_');return{'prefix':_0x3cbfed[0x0],'groupId':_0x3fa1d6[0x0],'suffix':_0x3fa1d6[0x1]};}[_0x9ddc56(0x170)](_0x58b4cd,_0xed5fda,_0x4243e4){const _0x32fc1a=_0x9ddc56;if(_0x32fc1a(0x197)===_0x58b4cd[_0x32fc1a(0x135)]){const _0x56ab5e=_0x58b4cd;return new _0x232256(this[_0x32fc1a(0xe9)](_0xed5fda[_0x32fc1a(0x13b)](_0x56ab5e[_0x32fc1a(0x171)][_0x32fc1a(0x13d)]),_0x4243e4),_0x56ab5e[_0x32fc1a(0x177)],_0x56ab5e[_0x32fc1a(0x175)]);}if(_0x32fc1a(0xf3)===_0x58b4cd[_0x32fc1a(0x135)]&&_0x58b4cd[_0x32fc1a(0x1c9)][_0x32fc1a(0x104)](_0x32fc1a(0x194))){const _0x5ee257=_0x58b4cd;return new _0x1f36b5(_0x5ee257[_0x32fc1a(0x1c9)],_0x5ee257[_0x32fc1a(0x158)],this[_0x32fc1a(0x160)](_0x5ee257[_0x32fc1a(0x1b4)],_0xed5fda[_0x32fc1a(0x13b)](_0x5ee257[_0x32fc1a(0x1b4)][_0x32fc1a(0x16d)][_0x32fc1a(0x13d)]),_0xed5fda[_0x32fc1a(0x13b)](_0x5ee257[_0x32fc1a(0x1b4)][_0x32fc1a(0x1a5)][_0x32fc1a(0x13d)]),_0x4243e4),_0x5ee257[_0x32fc1a(0x1bf)],_0x5ee257[_0x32fc1a(0xfb)],_0x5ee257[_0x32fc1a(0x175)]);}return _0x58b4cd;}[_0x9ddc56(0x1b0)](_0x2a9788){const _0x5e4e55=_0x9ddc56;if(!_0x2a9788[_0x5e4e55(0x147)])return[];const _0x1b4eab=[];let _0x2fd118=0x0,_0x5e89f8=0x0,_0x156573=[];for(let _0x33f514=0x0;_0x33f514<=_0x2a9788[_0x5e4e55(0x147)];_0x33f514++){const _0x24c746=_0x2a9788[_0x33f514],_0x30e8c3=_0x2a9788[_0x33f514-0x1];!_0x24c746||_0x30e8c3&&!this[_0x5e4e55(0x116)](_0x30e8c3)[_0x5e4e55(0x148)](this[_0x5e4e55(0x119)](_0x24c746))?(_0x1b4eab[_0x5e4e55(0xe2)]({'operations':_0x156573,'operationsIsolated':_0x156573[_0x5e4e55(0x181)](_0x36414b=>this[_0x5e4e55(0xfe)](_0x36414b[_0x5e4e55(0x16c)](),-_0x5e89f8)),'groupOffset':_0x2fd118}),_0x156573=_0x24c746?[_0x24c746]:[],_0x5e89f8+=_0x2fd118,_0x2fd118=0x0):_0x156573[_0x5e4e55(0xe2)](_0x24c746),_0x24c746&&_0x5e4e55(0x197)===_0x24c746[_0x5e4e55(0x135)]&&(_0x2fd118+=_0x24c746[_0x5e4e55(0x162)]);}return _0x1b4eab;}[_0x9ddc56(0x1ba)](_0x2148c5,_0x7ba81a,_0x5c575d,_0x314d90=0x1){const _0x5055d7=_0x9ddc56,_0x36f513=new _0x24eca4({'startPosition':_0x2148c5,'direction':_0x7ba81a});let _0x18807f=0x0;for(let _0x500c85=0x0;_0x500c85<_0x314d90;_0x500c85++){let _0x52207c=0x0,_0xa0ea67=!0x1,_0x47cc45=_0x5055d7(0xfc)===_0x7ba81a?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x189960}of _0x36f513)if(_0x189960['is'](_0x5055d7(0xfa))){const _0x3eeee3=_0x47cc45[_0x5055d7(0x128)](_0x189960[_0x5055d7(0x172)]);if(_0x3eeee3&&_0x3eeee3[_0x5055d7(0x147)]){if(_0x52207c+=_0x5055d7(0xfc)===_0x7ba81a?_0x3eeee3[_0x5055d7(0x1b9)]+_0x3eeee3[0x0][_0x5055d7(0x147)]:_0x189960[_0x5055d7(0x172)][_0x5055d7(0x147)]-_0x3eeee3[_0x5055d7(0x1b9)],_0x3eeee3[0x0][_0x5055d7(0x147)]!==_0x189960[_0x5055d7(0x172)][_0x5055d7(0x147)])break;_0xa0ea67=!0x0,_0x47cc45=_0x5055d7(0xfc)===_0x7ba81a?/^\w+/:/\w+$/;}else{if(_0xa0ea67)break;_0x52207c+=_0x189960[_0x5055d7(0xd9)];}}else{if(_0x189960['is'](_0x5055d7(0x12f))){_0x5c575d[_0x5055d7(0xf8)](_0x189960)&&!_0xa0ea67&&(_0x52207c+=0x1);break;}}_0x18807f+=_0x52207c,_0x36f513[_0x5055d7(0x1bc)](_0x2148c5[_0x5055d7(0x16f)](_0x5055d7(0xfc)===_0x7ba81a?_0x18807f:-_0x18807f));}return _0x18807f;}[_0x9ddc56(0x143)](_0x436298,_0x20daab){const _0x1c68aa=_0x9ddc56,_0x3d4294=_0x2184e2(this[_0x1c68aa(0x129)])[_0x1c68aa(0xe4)][_0x1c68aa(0x124)],_0x4a577e=this[_0x1c68aa(0x1ba)](_0x436298,_0x1c68aa(0x134),_0x3d4294,0x6),_0x578d1d=this[_0x1c68aa(0x1ba)](_0x20daab,_0x1c68aa(0xfc),_0x3d4294,0x6),_0x4ca6f2=_0x436298[_0x1c68aa(0x16f)](-_0x4a577e),_0x36aa8b=_0x20daab[_0x1c68aa(0x16f)](_0x578d1d);return{'start':_0x4ca6f2,'end':_0x36aa8b,'hasContentBefore':!_0x4ca6f2[_0x1c68aa(0x18b)],'hasContentAfter':!_0x36aa8b[_0x1c68aa(0x139)]};}[_0x9ddc56(0x189)](_0x35d355){const _0x324763=_0x9ddc56,_0x172e4e=this[_0x324763(0x129)][_0x324763(0x1bd)][_0x324763(0x12e)](_0x324763(0xe6)),_0x5e78ad=new Set();_0x2184e2(this[_0x324763(0x129)])[_0x324763(0xe4)][_0x324763(0xf5)](_0x391284=>{const _0x4bee45=_0x324763;for(const _0x27247f of _0x35d355){const _0x4df787=''+le+_0x27247f[_0x4bee45(0x135)]+':'+_0x27247f[_0x4bee45(0x136)]+'_'+_0x172e4e[_0x4bee45(0x146)](_0x5e78ad);this[_0x4bee45(0x1bf)][_0x4bee45(0x11f)](_0x4df787,{'id':_0x4df787,'groupId':_0x27247f[_0x4bee45(0x136)],'type':_0x27247f[_0x4bee45(0x135)],'text':_0x27247f[_0x4bee45(0x1c3)]}),_0x391284[_0x4bee45(0x14c)](_0x4df787,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x391284[_0x4bee45(0x13f)](_0x27247f[_0x4bee45(0x16d)],_0x27247f[_0x4bee45(0x1a5)])});}});}[_0x9ddc56(0x105)](_0x37a8dc,_0x124662,_0x2c795c){let _0x3c4a4f='';return()=>{const _0x3c5ea1=_0x54ad;if(!_0x3c4a4f){const _0x1349ff=_0x124662[_0x3c5ea1(0xd3)](_0x37a8dc,{'showSuggestionHighlights':!0x0});let _0x178f68=_0x1349ff[_0x3c5ea1(0x125)](0x0);if(_0x178f68['is'](_0x3c5ea1(0x13a))||(_0x178f68=_0x1349ff),!_0x178f68)return'';let _0x14c87e=!0x1;const _0x21e9f0=[];for(const _0x2ccec8 of _0x178f68[_0x3c5ea1(0x121)]())_0x2ccec8['is'](_0x3c5ea1(0x12f),_0x3c5ea1(0xe0))&&_0x2ccec8[_0x3c5ea1(0x144)](_0x3c5ea1(0x1a3))&&(_0x14c87e=!0x1),_0x14c87e&&_0x21e9f0[_0x3c5ea1(0xe2)](_0x2ccec8),_0x2ccec8['is'](_0x3c5ea1(0x12f),_0x3c5ea1(0xe0))&&_0x2ccec8[_0x3c5ea1(0x144)](_0x3c5ea1(0x17e))&&(_0x14c87e=!0x0);_0x178f68[_0x3c5ea1(0x145)](0x0,_0x178f68[_0x3c5ea1(0x198)]),_0x2c795c?.[_0x3c5ea1(0x15c)]&&_0x178f68[_0x3c5ea1(0x123)]('…'),_0x178f68[_0x3c5ea1(0x123)](_0x21e9f0),_0x2c795c?.[_0x3c5ea1(0x1b1)]&&_0x178f68[_0x3c5ea1(0x123)]('…');const _0x38f7e2=_0x124662[_0x3c5ea1(0xd7)][_0x3c5ea1(0xf4)][_0x3c5ea1(0x151)](_0x1349ff),_0xd88288=_0x124662[_0x3c5ea1(0xd7)][_0x3c5ea1(0x114)][_0x3c5ea1(0x131)](_0x38f7e2);_0x3c4a4f=_0xd88288;}return _0x3c4a4f;};}[_0x9ddc56(0xda)](_0x5c2bbd,_0x42cb1a){const _0x410706=_0x9ddc56;let _0x59b188='';return()=>(_0x59b188||(_0x59b188=_0x42cb1a[_0x410706(0x17a)](_0x5c2bbd,{'showSuggestionHighlights':!0x0})),_0x59b188);}[_0x9ddc56(0x1b6)](_0x574222,_0x11f986,_0x3bb467){let _0x4f7737='';return()=>{const _0x187edb=_0x54ad;if(!_0x4f7737){const _0x43bb76=_0x3bb467[_0x187edb(0xd3)](new _0x295fd2(_0x574222)),_0x41a8c0=_0x3bb467[_0x187edb(0xd7)][_0x187edb(0xf4)][_0x187edb(0x151)](_0x43bb76)[_0x187edb(0x18a)](_0x187edb(0x100)+_0x11f986+'\x22]');_0x4f7737=_0x41a8c0?.[_0x187edb(0x140)]||'';}return _0x4f7737;};}[_0x9ddc56(0x1a7)](_0x9d50e3,_0x103a5e=0x5){const _0x1708bb=_0x9ddc56;let _0x3b079d=_0x9d50e3,_0x2fefa1=null;for(let _0x4af384=0x0;_0x4af384<_0x103a5e&&_0x3b079d;_0x4af384++){if(!_0x3b079d[_0x1708bb(0x112)]){_0x3b079d=_0x3b079d[_0x1708bb(0x157)];continue;}if(!(''+_0x3b079d[_0x1708bb(0x112)])[_0x1708bb(0x17c)](_0x1708bb(0x117))){_0x3b079d=_0x3b079d[_0x1708bb(0x157)];continue;}if(!_0x3b079d[_0x1708bb(0x10a)](_0x1708bb(0x155)))break;_0x2fefa1=_0x3b079d;break;}return _0x2fefa1;}[_0x9ddc56(0x1ae)](_0x2334ac){const _0xa2c63c=_0x9ddc56;return Array[_0xa2c63c(0x10c)](this[_0xa2c63c(0x1bf)][_0xa2c63c(0x174)]())[_0xa2c63c(0x19c)](_0x5dd869=>_0x5dd869[_0xa2c63c(0x136)]===_0x2334ac);}[_0x9ddc56(0x119)](_0x4a8341){const _0x337f29=_0x9ddc56;return _0x337f29(0x197)===_0x4a8341[_0x337f29(0x135)]?_0x4a8341[_0x337f29(0x171)]:_0x4a8341[_0x337f29(0x1b4)][_0x337f29(0x16d)];}[_0x9ddc56(0x116)](_0x57a08b,_0x17fae6=!0x1){const _0x293d04=_0x9ddc56;return _0x293d04(0x197)===_0x57a08b[_0x293d04(0x135)]?_0x17fae6?_0x57a08b[_0x293d04(0x171)]:_0x57a08b[_0x293d04(0x171)][_0x293d04(0x16f)](_0x57a08b[_0x293d04(0x162)]):_0x57a08b[_0x293d04(0x1b4)][_0x293d04(0x1a5)];}[_0x9ddc56(0xfe)](_0x55533c,_0x577fac){const _0x22373f=_0x9ddc56;return _0x22373f(0x197)===_0x55533c[_0x22373f(0x135)]?_0x55533c[_0x22373f(0x171)]=_0x55533c[_0x22373f(0x171)][_0x22373f(0x16f)](_0x577fac):_0x22373f(0xf3)===_0x55533c[_0x22373f(0x135)]&&_0x55533c[_0x22373f(0x1b4)]&&(_0x55533c[_0x22373f(0x1b4)]=new _0x5cdd59(_0x55533c[_0x22373f(0x1b4)][_0x22373f(0x16d)][_0x22373f(0x16f)](_0x577fac),_0x55533c[_0x22373f(0x1b4)][_0x22373f(0x1a5)][_0x22373f(0x16f)](_0x577fac))),_0x55533c;}[_0x9ddc56(0xf1)](_0x53850b,_0x2eb569){const _0x3afbf5=_0x9ddc56;_0x3afbf5(0x197)===_0x53850b[_0x3afbf5(0x135)]?_0x53850b[_0x3afbf5(0x171)]=this[_0x3afbf5(0x130)](_0x53850b[_0x3afbf5(0x171)],_0x2eb569):_0x3afbf5(0xf3)===_0x53850b[_0x3afbf5(0x135)]&&_0x53850b[_0x3afbf5(0x1b4)]&&(_0x53850b[_0x3afbf5(0x1b4)]=this[_0x3afbf5(0x168)](_0x53850b[_0x3afbf5(0x1b4)],_0x2eb569));}[_0x9ddc56(0x130)](_0x567ed9,_0x7a8e22){const _0x2b4314=_0x9ddc56;return new _0xae77cd(_0x7a8e22,_0x567ed9[_0x2b4314(0x161)]);}[_0x9ddc56(0x168)](_0x223fca,_0x216b41){const _0x8f6de3=_0x9ddc56;return new _0x5cdd59(this[_0x8f6de3(0x130)](_0x223fca[_0x8f6de3(0x16d)],_0x216b41),this[_0x8f6de3(0x130)](_0x223fca[_0x8f6de3(0x1a5)],_0x216b41));}[_0x9ddc56(0xe9)](_0x315e9f,_0x350c2d){return new _0xae77cd(_0x350c2d,[..._0x315e9f]);}[_0x9ddc56(0x160)](_0x1e9593,_0x17ad04,_0x494a48,_0x5863a5){const _0x1cb493=_0x9ddc56;return new _0x5cdd59(this[_0x1cb493(0xe9)](_0x17ad04,_0x5863a5),this[_0x1cb493(0xe9)](_0x494a48,_0x5863a5));}[_0x9ddc56(0x18e)](_0x5e7e0c){const _0x27f4aa=_0x9ddc56,_0x390138=_0x57fa2d=>{const _0x4f7cf5=_0x54ad;switch(_0x57fa2d){case _0x4f7cf5(0x197):return 0x1;case _0x4f7cf5(0x14f):return 0x2;case _0x4f7cf5(0x156):return 0x3;case _0x4f7cf5(0x193):return 0x4;}};return _0x5e7e0c[_0x27f4aa(0x152)]((_0x84aeab,_0x2e4a46)=>_0x390138(_0x84aeab[_0x27f4aa(0x135)])-_0x390138(_0x2e4a46[_0x27f4aa(0x135)]));}[_0x9ddc56(0x195)](_0x50a758,_0x300568){const _0x1a9c5a=_0x9ddc56,_0x1f7792=_0x50a758[_0x1a9c5a(0x125)](0x0),_0x30b54a=_0x300568[_0x1a9c5a(0x125)](0x0);return!(!_0x1f7792||!_0x30b54a)&&((!_0x1f7792['is'](_0x1a9c5a(0x12f))||!_0x30b54a['is'](_0x1a9c5a(0x12f))||_0x1f7792[_0x1a9c5a(0x1c9)]===_0x30b54a[_0x1a9c5a(0x1c9)])&&!(_0x1f7792['is'](_0x1a9c5a(0x12f))&&!_0x30b54a['is'](_0x1a9c5a(0x12f))||!_0x1f7792['is'](_0x1a9c5a(0x12f))&&_0x30b54a['is'](_0x1a9c5a(0x12f))));}[_0x9ddc56(0xdc)](_0x60150c){const _0x2d3369=_0x9ddc56;return 0x1===_0x60150c[_0x2d3369(0x198)];}[_0x9ddc56(0x1be)](_0x6d6d1a,_0x220404){const _0x3a311e=_0x9ddc56;for(const _0x1854b4 of _0x6d6d1a[_0x3a311e(0x121)]())if(_0x1854b4['is'](_0x3a311e(0x12f))&&!_0x220404[_0x3a311e(0xf8)](_0x1854b4))return!0x1;return!0x0;}[_0x9ddc56(0x113)](_0x45bbb4,_0x2f2f31){const _0x1c6f6b=_0x9ddc56;let _0x367a48=_0x45bbb4[_0x1c6f6b(0x10a)](_0x544b8f);return _0x367a48||(_0x367a48=_0x2f2f31(),_0x45bbb4[_0x1c6f6b(0xdf)](_0x544b8f,_0x367a48)),_0x367a48;}}
|
|
23
|
+
const _0x48c209=_0xa998;(function(_0x43f1c4,_0x44bcf9){const _0x2e0733=_0xa998,_0x4ae921=_0x43f1c4();while(!![]){try{const _0x1c9089=-parseInt(_0x2e0733(0x205))/0x1*(parseInt(_0x2e0733(0x1a1))/0x2)+parseInt(_0x2e0733(0x133))/0x3+parseInt(_0x2e0733(0x1db))/0x4*(parseInt(_0x2e0733(0x12f))/0x5)+-parseInt(_0x2e0733(0x192))/0x6+-parseInt(_0x2e0733(0x169))/0x7+-parseInt(_0x2e0733(0x1c9))/0x8*(parseInt(_0x2e0733(0x144))/0x9)+parseInt(_0x2e0733(0x13a))/0xa;if(_0x1c9089===_0x44bcf9)break;else _0x4ae921['push'](_0x4ae921['shift']());}catch(_0x137cc0){_0x4ae921['push'](_0x4ae921['shift']());}}}(_0x4f94,0x837a9));import{InsertOperation as _0x22c58b,MarkerOperation as _0x2815f4,ModelDocumentFragment as _0x37daec,ModelPosition as _0x270ee2,ModelRange as _0x4d6049,ModelTreeWalker as _0xf562c2,transformOperationSets as _0x5e8d9f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2bfa9e,EmitterMixin as _0x230d70}from'ckeditor5/src/utils.js';function _0x4f94(){const _0x409c45=['changeMarkerRemoved','rootName','_markers','oldRange','_changeOperationOwnerDocument','diffContent','root','operationsIsolated','suggestion-context','version','changeMarkerBlurred','_upsertDataId','_haveSingleTopLevelElement','_findMarkerElement','exec','ai-review-mode','_removeAttribute','domConverter','_createGetContextFn','4757382MfcWgq','getAttribute','deleteContent','nodes','context','push','_getChangeContext','data','newRange','changeMarkerHovered','markerToHighlight','includes','backward','removeMarker','_eventEmitter','1162LvgunT','add','outerHTML','isPremiumPlugin','listenTo','isOfficialPlugin','data-marker-id','$textProxy','getDocumentData','_sortMarkers','_groupAdjacentOperations','delete','rejectChange','remove-context','registerPostFixer','containerElement','_hasSameTopLevelElement','markChangePositionInEditorContent','startsWith','switchToEdit','offsetSize','editingDowncast','model:$text','getStart','requires','size','_validateMarkers','isIntersecting','htmlProcessor','ck-ai_review-mode-marker_strikethrough','_appendChild','get','hasContentBefore','name','clear','AIEditing','length','_getOperationEnd','append','addOperation','16PcUwhi','dataDowncast','createSelection','_clone','$markedRemove','groupId','view','howMany','conversion','[data-marker-id=\x22','suggestion:insertion:id:authorId:','getChanges','remove-text','_findAdjacentContextDistance','getEditor','DocumentCompare','applyChange','_changePosition','1286364trRPvQ','getHtml','_changeRangeOwnerDocument','split','createUIElement','filter','switchToReadOnly','documentFragment','markerToElement','ck-ai_review-mode-marker_context-end','type','map','createPositionAt','concat','addMarker','plugins','elements','innerHTML','insert','for','getOperations','getChild','text','getRange','clone','toView','_createGetContentUsingDataIdFn','$graveyard','getDiff','click','batch','parentElement','reviewmode-','hasClass','remove-only','model','history','ck-ai_review-mode-marker_context-start','htmlWriter','[data-id=\x22','_translateOperationToEditorContent','closest','1783ZDQpHB','_setAttribute','_shiftOperation','applyOperation','ck-ai_review-mode-marker_underline','ck-ai_review-mode-marker_context-','getChildren','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','afterInit','suggestion:deletion:id:authorId:','forEach','createPositionAfter','hasContentAfter','operationsA','ck-ai_review-mode-marker_hide','getPath','every','isDocumentOperation','target','childCount','querySelector','getChangedMarkers','AIReviewModeEditing','ck-ai_review-mode-marker_','getMarkerElementForChange','createRawElement','stringify','parent','path','warn','editing','changeMarkerClick','toDomElement','15UfbGOu','isTouching','markers','differ','775374lpeDai','processor','_domEmitter','createText','start','createRange','ellipsisBefore','17113740fclMTv','getDomRoot','affectsData','_parseMarkerName','element','index','_getOperationStart','end','fire','keys','1080369xKQzpa','parse','change','jumpTo','viewToDom','className','isOpening','values','position','flat','pop','span','schema','createDocumentFragment','from','isInline','marker','changeMarkerRestored','isAtStart','disableReadOnlyMode','document','mouseover','emitter','$documentFragment','getRoot','offset','_nextDataId','_handleMarkerChanges','relatedTarget','ellipsisAfter','markerName','_changeRange','_changePositionOwnerDocument','getRoots','_getMarkersDataForGroup','remove','_createGetContentFn','2290162cnZiiY','getShiftedBy','containsRange','attributeToAttribute','set','ck-ai_review-mode-marker_add','_removeChildren','_haveOnlyInlineContent','pluginName','isAtEnd','has','toData','enableReadOnlyMode','sort','No\x20element\x20found\x20for\x20ID:\x20','clearAllMarkers','downcast','hasAttribute','insertContent','forward','baseVersion','_insertMarkers'];_0x4f94=function(){return _0x409c45;};return _0x4f94();}import{ContextPlugin as _0x5bc5a3}from'ckeditor5/src/core.js';function _0xa998(_0x2e4442,_0x3b9412){const _0x4f944d=_0x4f94();return _0xa998=function(_0xa9981b,_0x2e8e35){_0xa9981b=_0xa9981b-0x11a;let _0x43f65b=_0x4f944d[_0xa9981b];return _0x43f65b;},_0xa998(_0x2e4442,_0x3b9412);}import{DocumentCompare as _0x4fff19,DATA_ID_MODEL_ATTRIBUTE as _0x5c60be,DATA_ID_VIEW_ATTRIBUTE as _0x463e17}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x1174f5}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xda4f00}from'../aicore/aiediting.js';import{debounce as _0x394363}from'es-toolkit/compat';const le=_0x48c209(0x1fb);export class AIReviewModeEditing extends _0x5bc5a3{static get[_0x48c209(0x171)](){const _0x543cc6=_0x48c209;return _0x543cc6(0x124);}static get[_0x48c209(0x1b9)](){return[_0x4fff19,_0xda4f00];}static get[_0x48c209(0x1a6)](){return!0x0;}static get[_0x48c209(0x1a4)](){return!0x0;}[_0x48c209(0x181)]=new Map();[_0x48c209(0x135)];[_0x48c209(0x1a0)];constructor(_0x2333c5){const _0x5cb2cc=_0x48c209;super(_0x2333c5),this[_0x5cb2cc(0x135)]=new(_0x2bfa9e())(),this[_0x5cb2cc(0x1a0)]=new(_0x230d70())();}get[_0x48c209(0x15a)](){const _0x80a1e6=_0x48c209;return this[_0x80a1e6(0x1a0)];}[_0x48c209(0x20d)](){const _0xaad985=_0x48c209,_0x5d92d0=_0x1174f5(this[_0xaad985(0x196)]);_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x1e3)]({'model':le+_0xaad985(0x1ed),'view':(_0x3f456f,{writer:_0xc9f915})=>{const _0x30905=_0xaad985,_0x4991b5=this[_0x30905(0x181)][_0x30905(0x1c0)](_0x3f456f[_0x30905(0x162)]),_0x4e2623={'class':_0x30905(0x16e),'data-marker-id':_0x3f456f[_0x30905(0x162)]};return _0xc9f915[_0x30905(0x1df)](_0x30905(0x14f),_0x4e2623,function(_0xa647b){const _0x3b761c=_0x30905,_0x441f8d=this[_0x3b761c(0x12e)](_0xa647b);return _0x441f8d[_0x3b761c(0x1ec)]=_0x4991b5?.[_0x3b761c(0x1f1)]||'',_0x441f8d;});}}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1fd),'view':_0x1ace28=>({'classes':_0xaad985(0x1be),'attributes':{'data-marker-id':_0x1ace28[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1ae),'view':_0x50cc87=>({'classes':_0xaad985(0x209),'attributes':{'data-marker-id':_0x50cc87[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1d5),'view':_0x44ef8e=>({'classes':_0xaad985(0x11c),'attributes':{'data-marker-id':_0x44ef8e[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1ca))[_0xaad985(0x1e3)]({'model':le+_0xaad985(0x187),'view':(_0x1f6909,{writer:_0x2597df})=>_0x2597df[_0xaad985(0x127)](_0xaad985(0x14f),{'class':_0xaad985(0x20a)+(_0x1f6909[_0xaad985(0x14a)]?_0xaad985(0x137):_0xaad985(0x141))})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x179))[_0xaad985(0x16c)]({'model':_0x5c60be,'view':_0x463e17}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x1f8),(_0x575c62,_0x3a7a90)=>{const _0x585cad=_0xaad985,_0x1e28a5=_0x3a7a90[_0x585cad(0x120)],_0x5515d7=this[_0x585cad(0x18c)](_0x1e28a5);if(!_0x5515d7)return;const _0x919803=_0x5515d7[_0x585cad(0x193)](_0x585cad(0x1a7)),_0x11fb80=_0x919803[_0x585cad(0x1de)](':')[_0x585cad(0x14e)]()?.[_0x585cad(0x1de)]('_')[0x0];this[_0x585cad(0x1a0)][_0x585cad(0x142)](_0x585cad(0x12d),{'markerId':_0x919803,'changeId':_0x11fb80,'markerElement':_0x5515d7,'domEvent':_0x3a7a90});}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x159),(_0x17ecd0,_0xbf9ffa)=>{const _0x567f62=_0xaad985,_0x2f99ef=_0xbf9ffa[_0x567f62(0x120)],_0x135fdf=_0xbf9ffa[_0x567f62(0x160)];let _0x4443b4=this[_0x567f62(0x18c)](_0x2f99ef);if(!_0x4443b4&&_0x135fdf&&(_0x4443b4=this[_0x567f62(0x18c)](_0x135fdf)),!_0x4443b4)return;const _0x8c6dac=_0x4443b4[_0x567f62(0x193)](_0x567f62(0x1a7)),_0x167e91=_0x8c6dac[_0x567f62(0x1de)](':')[_0x567f62(0x14e)]()?.[_0x567f62(0x1de)]('_')[0x0];this[_0x567f62(0x1a0)][_0x567f62(0x142)](_0x567f62(0x19b),{'changeId':_0x167e91,'markerElement':_0x4443b4,'domEvent':_0xbf9ffa});}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x159),_0x394363((_0xabb3eb,_0x5772b7)=>{const _0x1e8801=_0xaad985,_0xe83202=_0x5772b7[_0x1e8801(0x120)];if(this[_0x1e8801(0x18c)](_0xe83202))return;_0xe83202[_0x1e8801(0x204)](_0x1e8801(0x20c))||this[_0x1e8801(0x1a0)][_0x1e8801(0x142)](_0x1e8801(0x189));},0xc8)),_0x5d92d0[_0xaad985(0x1fe)][_0xaad985(0x158)][_0xaad985(0x1af)](_0x2772e5=>this[_0xaad985(0x1bb)](_0x5d92d0,_0x2772e5)),_0x5d92d0[_0xaad985(0x1fe)][_0xaad985(0x158)]['on'](_0xaad985(0x146),()=>this[_0xaad985(0x15f)](_0x5d92d0));}[_0x48c209(0x1a9)](){const _0x3662ad=_0x48c209,_0x5b6dea=this[_0x3662ad(0x196)][_0x3662ad(0x1ea)][_0x3662ad(0x1c0)](_0x3662ad(0x1c4)),_0x2bc4a3=_0x1174f5(this[_0x3662ad(0x196)]),_0x2bfc9e=_0x2bc4a3[_0x3662ad(0x1fe)],_0x56c29a=new _0x37daec();for(const _0x2ac798 of _0x2bfc9e[_0x3662ad(0x158)][_0x3662ad(0x15c)]()[_0x3662ad(0x20b)]()){const _0x41ee07=_0x2ac798[_0x3662ad(0x1cc)](!0x0);_0x56c29a[_0x3662ad(0x1bf)](_0x41ee07);}for(const _0x1914da of _0x2bfc9e[_0x3662ad(0x131)])_0x56c29a[_0x3662ad(0x131)][_0x3662ad(0x16d)](_0x1914da[_0x3662ad(0x1c2)],this[_0x3662ad(0x1dd)](_0x1914da[_0x3662ad(0x1f2)]()[_0x3662ad(0x1f3)](),_0x56c29a));const _0x204d65=new _0xf562c2({'ignoreElementEnd':!0x0,'startPosition':_0x2bfc9e[_0x3662ad(0x1e7)](_0x56c29a,0x0)}),_0x355214=new Set(),_0x10e7b=new Map();for(const {item:_0x4fa945}of _0x204d65){if(!_0x4fa945['is'](_0x3662ad(0x1a8)))continue;const _0x57cc6c=_0x4fa945[_0x3662ad(0x129)];if(_0x57cc6c&&_0x57cc6c['is'](_0x3662ad(0x13e))){const _0x29d592=this[_0x3662ad(0x18a)](_0x57cc6c,()=>_0x5b6dea[_0x3662ad(0x15e)](_0x355214));_0x355214[_0x3662ad(0x1a2)](_0x29d592);for(const _0x2f70f2 of _0x57cc6c[_0x3662ad(0x20b)]())_0x2f70f2['is'](_0x3662ad(0x13e))&&_0x355214[_0x3662ad(0x1a2)](this[_0x3662ad(0x18a)](_0x2f70f2,()=>_0x5b6dea[_0x3662ad(0x15e)](_0x355214)));let _0x271a5d=_0x57cc6c;for(;_0x271a5d[_0x3662ad(0x129)]&&!_0x271a5d[_0x3662ad(0x129)]['is'](_0x3662ad(0x1e2));)_0x271a5d=_0x271a5d[_0x3662ad(0x129)],_0x271a5d[_0x3662ad(0x17a)](_0x5c60be)&&_0x271a5d[_0x3662ad(0x18f)](_0x5c60be);_0x10e7b[_0x3662ad(0x16d)](_0x29d592,{'path':_0x57cc6c[_0x3662ad(0x11d)](),'getContent':this[_0x3662ad(0x1f5)](_0x271a5d[_0x3662ad(0x1cc)](!0x0),_0x29d592,_0x2bc4a3[_0x3662ad(0x199)])}),_0x204d65[_0x3662ad(0x147)](_0x2bfc9e[_0x3662ad(0x210)](_0x57cc6c));}}return{'content':_0x2bc4a3[_0x3662ad(0x199)][_0x3662ad(0x134)][_0x3662ad(0x174)](_0x2bc4a3[_0x3662ad(0x199)][_0x3662ad(0x1f4)](_0x56c29a)),'version':_0x2bc4a3[_0x3662ad(0x1fe)][_0x3662ad(0x158)][_0x3662ad(0x188)],'elements':_0x10e7b};}[_0x48c209(0x184)](_0x34f104,_0x588245){const _0x397db3=_0x48c209,_0x3c0e8f=[],_0x7ec7aa=_0x1174f5(this[_0x397db3(0x196)]),_0x563353=_0x7ec7aa[_0x397db3(0x199)][_0x397db3(0x145)](_0x588245,_0x397db3(0x15b)),_0x1a42c6=_0x7ec7aa[_0x397db3(0x199)][_0x397db3(0x145)](_0x34f104,_0x397db3(0x15b)),_0xd3e307=_0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x1e7)](_0x1a42c6,0x0);if(this[_0x397db3(0x18b)](_0x563353)){if(!this[_0x397db3(0x1b1)](_0x1a42c6,_0x563353))return _0x3c0e8f;}else{const _0x5a8309=_0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x150)];if(!this[_0x397db3(0x170)](_0x1a42c6,_0x5a8309)||!this[_0x397db3(0x170)](_0x563353,_0x5a8309))return _0x3c0e8f;}const _0x1fe076=this[_0x397db3(0x196)][_0x397db3(0x1ea)][_0x397db3(0x1c0)](_0x397db3(0x1d8))[_0x397db3(0x1f7)](_0x34f104,_0x588245,{'anchor':_0xd3e307,'markDeletions':!0x0})[_0x397db3(0x1ef)]()[_0x397db3(0x1e0)](_0xfb2937=>_0x397db3(0x1ed)===_0xfb2937[_0x397db3(0x1e5)]||_0x397db3(0x154)===_0xfb2937[_0x397db3(0x1e5)]&&_0xfb2937[_0x397db3(0x1c2)][_0x397db3(0x1b3)](_0x397db3(0x1cd))),_0x2946c9=this[_0x397db3(0x1ab)](_0x1fe076);let _0x3a2943=0x0;return _0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x146)](_0x467163=>{const _0x2f91e3=_0x397db3;for(let _0x171943=0x0;_0x171943<_0x2946c9[_0x2f91e3(0x1c5)];_0x171943++){const _0x3c6213=_0x2946c9[_0x171943],_0x2486f6=_0x467163[_0x2f91e3(0x151)]();for(const _0x1323e6 of _0x1a42c6[_0x2f91e3(0x20b)]())_0x467163[_0x2f91e3(0x1c7)](_0x1323e6[_0x2f91e3(0x1cc)](!0x0),_0x2486f6);for(const _0x2d57a7 of _0x3c6213[_0x2f91e3(0x186)])if(_0x2f91e3(0x1ed)===_0x2d57a7[_0x2f91e3(0x1e5)]){const _0x36a4f5=_0x2d57a7;_0x36a4f5[_0x2f91e3(0x17d)]=null,_0x36a4f5[_0x2f91e3(0x11f)]=!0x1,this[_0x2f91e3(0x183)](_0x36a4f5,_0x2486f6),_0x467163[_0x2f91e3(0x1f9)][_0x2f91e3(0x1c8)](_0x2d57a7),_0x7ec7aa[_0x2f91e3(0x1fe)][_0x2f91e3(0x208)](_0x2d57a7);const _0x2bd962=_0x2f91e3(0x1d3)+_0x3a2943++,_0x343861=_0x7ec7aa[_0x2f91e3(0x1fe)][_0x2f91e3(0x138)](_0x36a4f5[_0x2f91e3(0x14c)],_0x36a4f5[_0x2f91e3(0x14c)][_0x2f91e3(0x16a)](_0x36a4f5[_0x2f91e3(0x1d0)]));_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](_0x2bd962,_0x343861);}else{if(_0x2f91e3(0x154)===_0x2d57a7[_0x2f91e3(0x1e5)]&&_0x2d57a7[_0x2f91e3(0x1c2)][_0x2f91e3(0x1b3)](_0x2f91e3(0x1cd))){const _0x297671=_0x2d57a7,_0x30ae65=_0x2f91e3(0x20e)+_0x3a2943++;this[_0x2f91e3(0x183)](_0x297671,_0x2486f6),_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](_0x30ae65,_0x297671[_0x2f91e3(0x19a)]);}}const _0x123105=this[_0x2f91e3(0x198)](this[_0x2f91e3(0x164)](this[_0x2f91e3(0x140)](_0x3c6213[_0x2f91e3(0x186)][0x0]),_0x2486f6),this[_0x2f91e3(0x164)](this[_0x2f91e3(0x1c6)](_0x3c6213[_0x2f91e3(0x186)][_0x3c6213[_0x2f91e3(0x186)][_0x2f91e3(0x1c5)]-0x1]),_0x2486f6));_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](le+_0x2f91e3(0x187),new _0x4d6049(_0x123105[_0x2f91e3(0x137)],_0x123105[_0x2f91e3(0x141)])),_0x3c0e8f[_0x2f91e3(0x197)]({..._0x3c6213,'context':this[_0x2f91e3(0x191)](_0x2486f6,_0x7ec7aa[_0x2f91e3(0x199)],{'ellipsisBefore':_0x123105[_0x2f91e3(0x1c1)],'ellipsisAfter':_0x123105[_0x2f91e3(0x11a)]}),'content':this[_0x2f91e3(0x168)](_0x2486f6,_0x7ec7aa[_0x2f91e3(0x199)])});}}),_0x3c0e8f;}[_0x48c209(0x1b2)](_0x54f181,_0x11a8ec){const _0x266a89=_0x48c209;if(!_0x54f181[_0x266a89(0x1c5)])return;const _0x52839b=_0x54f181[0x0][_0x266a89(0x129)]['id'],_0x37e874=_0x11a8ec[_0x266a89(0x1eb)][_0x266a89(0x1c0)](_0x52839b);if(!_0x37e874)return void console[_0x266a89(0x12b)](_0x266a89(0x177)+_0x52839b);const _0x4cd5ba=_0x37e874[_0x266a89(0x12a)],_0x4d5808=_0x1174f5(this[_0x266a89(0x196)]),_0x10bde6=_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)][_0x266a89(0x1ff)][_0x266a89(0x1ef)](_0x11a8ec[_0x266a89(0x188)]),_0x3963d6=[];for(const _0x21e496 of _0x54f181){const _0x50becf=_0x21e496[_0x266a89(0x186)][_0x266a89(0x1e6)](_0x43852c=>this[_0x266a89(0x203)](_0x43852c,_0x4cd5ba,_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)][_0x266a89(0x165)]()[0x0]));if(!_0x50becf||!_0x50becf[_0x266a89(0x1c5)])continue;const _0x1d64b6=_0x50becf[_0x266a89(0x11e)](_0x396157=>_0x266a89(0x154)===_0x396157[_0x266a89(0x1e5)]&&_0x396157[_0x266a89(0x1c2)][_0x266a89(0x1b3)](_0x266a89(0x1cd))),_0x3afcd1={'document':_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2e7c1e=_0x5e8d9f(_0x50becf,_0x10bde6,_0x3afcd1)[_0x266a89(0x11b)];for(const _0x101bcb of _0x2e7c1e)if(_0x266a89(0x1ed)===_0x101bcb[_0x266a89(0x1e5)]){const _0x3298f5=_0x101bcb,_0x49f479=_0x3298f5[_0x266a89(0x195)];let _0xea7202='';for(const _0x47e422 of _0x49f479)_0x47e422&&_0x47e422['is'](_0x266a89(0x1b7))&&(_0xea7202+=_0x47e422[_0x266a89(0x199)]);_0x3963d6[_0x266a89(0x197)]({'start':_0x3298f5[_0x266a89(0x14c)],'end':_0x3298f5[_0x266a89(0x14c)],'type':_0x266a89(0x1ed),'groupId':_0x21e496['id'],'text':_0xea7202});}else{if(_0x266a89(0x154)===_0x101bcb[_0x266a89(0x1e5)]&&_0x101bcb[_0x266a89(0x1c2)][_0x266a89(0x1b3)](_0x266a89(0x1cd))){const _0x2f2bcc=_0x101bcb;let _0x7da956=_0x266a89(0x1d5);if(_0x1d64b6){const _0x4df298=this[_0x266a89(0x1d6)](_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)],_0x266a89(0x19e),_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x150)]),_0x2b61bd=this[_0x266a89(0x1d6)](_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)],_0x266a89(0x17c),_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x150)]);if(_0x4df298||_0x2b61bd){const _0x2175f2=_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)][_0x266a89(0x16a)](-_0x4df298),_0x33db8c=_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)][_0x266a89(0x16a)](_0x2b61bd);_0x3963d6[_0x266a89(0x197)]({'start':_0x2175f2,'end':_0x33db8c,'groupId':_0x21e496['id'],'type':_0x266a89(0x1ae)});}else _0x7da956=_0x266a89(0x1fd);}_0x3963d6[_0x266a89(0x197)]({'start':_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)],'end':_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)],'groupId':_0x21e496['id'],'type':_0x7da956});}}}this[_0x266a89(0x17e)](_0x3963d6);}[_0x48c209(0x178)](){const _0x198f73=_0x48c209,_0xfab557=_0x1174f5(this[_0x198f73(0x196)]);_0xfab557[_0x198f73(0x1fe)][_0x198f73(0x146)](_0x37a954=>{const _0x277103=_0x198f73;for(const _0x1ebdae of this[_0x277103(0x181)][_0x277103(0x143)]())_0xfab557[_0x277103(0x1fe)][_0x277103(0x131)][_0x277103(0x1c0)](_0x1ebdae)&&_0x37a954[_0x277103(0x19f)](_0x1ebdae);}),this[_0x198f73(0x181)][_0x198f73(0x1c3)]();}[_0x48c209(0x1e1)](){const _0x190667=_0x48c209;_0x1174f5(this[_0x190667(0x196)])[_0x190667(0x175)](_0x190667(0x18e));}[_0x48c209(0x1b4)](){const _0x59b7db=_0x48c209;_0x1174f5(this[_0x59b7db(0x196)])[_0x59b7db(0x157)](_0x59b7db(0x18e));}[_0x48c209(0x1d9)](_0x3c3136){const _0x28f4ff=_0x48c209,_0x1d320b=_0x1174f5(this[_0x28f4ff(0x196)]),_0x181e1e=_0x1d320b[_0x28f4ff(0x1fe)],_0x19f7bc=_0x3c3136[_0x28f4ff(0x1e6)](_0x8c81de=>this[_0x28f4ff(0x166)](_0x8c81de))[_0x28f4ff(0x14d)]();_0x181e1e[_0x28f4ff(0x146)](_0x10ea3b=>{const _0x409237=_0x28f4ff;for(const _0x315b81 of _0x19f7bc){const _0x248fdd=_0x1d320b[_0x409237(0x1fe)][_0x409237(0x131)][_0x409237(0x1c0)](_0x315b81['id']);_0x248fdd&&(_0x409237(0x1ed)===_0x315b81[_0x409237(0x1e5)]?_0x181e1e[_0x409237(0x17b)](_0x10ea3b[_0x409237(0x136)](_0x315b81[_0x409237(0x1f1)]||''),_0x248fdd[_0x409237(0x1f2)]()[_0x409237(0x137)]):_0x409237(0x1d5)!==_0x315b81[_0x409237(0x1e5)]&&_0x409237(0x1fd)!==_0x315b81[_0x409237(0x1e5)]||_0x181e1e[_0x409237(0x194)](_0x181e1e[_0x409237(0x1cb)](_0x248fdd[_0x409237(0x1f2)]())),_0x10ea3b[_0x409237(0x19f)](_0x315b81['id']),this[_0x409237(0x181)][_0x409237(0x1ac)](_0x315b81['id']));}});}[_0x48c209(0x1ad)](_0x33a841){const _0x5c5ce6=_0x48c209,_0x36e849=_0x1174f5(this[_0x5c5ce6(0x196)]),_0x278cb4=this[_0x5c5ce6(0x166)](_0x33a841);_0x36e849[_0x5c5ce6(0x1fe)][_0x5c5ce6(0x146)](_0x187f3e=>{const _0x515338=_0x5c5ce6;for(const _0x57bc8d of _0x278cb4)_0x187f3e[_0x515338(0x19f)](_0x57bc8d['id']),this[_0x515338(0x181)][_0x515338(0x1ac)](_0x57bc8d['id']);});}[_0x48c209(0x1d7)](){const _0x5c2239=_0x48c209;return _0x1174f5(this[_0x5c2239(0x196)]);}[_0x48c209(0x126)](_0x535a35){const _0x9d779c=_0x48c209,_0x5ac5cf=Array[_0x9d779c(0x152)](this[_0x9d779c(0x181)][_0x9d779c(0x14b)]())[_0x9d779c(0x1e0)](_0x3d8e17=>_0x3d8e17[_0x9d779c(0x1ce)]===_0x535a35);if(!_0x5ac5cf[_0x9d779c(0x1c5)])return null;const _0x4eb0cd=0x1===_0x5ac5cf[_0x9d779c(0x1c5)]?_0x5ac5cf[0x0]:this[_0x9d779c(0x1aa)](_0x5ac5cf)[0x0],_0x7359b3=_0x1174f5(this[_0x9d779c(0x196)]),_0x1068b2=_0x7359b3[_0x9d779c(0x1fe)][_0x9d779c(0x131)][_0x9d779c(0x1c0)](_0x4eb0cd['id']);if(!_0x1068b2)return null;const _0x49ddd3=_0x1068b2[_0x9d779c(0x1f2)](),_0x103dbb=_0x7359b3[_0x9d779c(0x12c)][_0x9d779c(0x1cf)][_0x9d779c(0x13b)]();if(!_0x103dbb||!_0x49ddd3)return null;const _0x5ba943=_0x103dbb[_0x9d779c(0x122)](_0x9d779c(0x1d2)+_0x4eb0cd['id']+'\x22]');return _0x5ba943?{'modelRange':_0x49ddd3,'domElement':_0x5ba943}:null;}[_0x48c209(0x1bb)](_0x133c31,_0x3f6e2d){const _0x304710=_0x48c209,_0xefced8=Array[_0x304710(0x152)](this[_0x304710(0x181)][_0x304710(0x143)]()),_0x46e6fd=new Map();for(const _0x42f5f2 of _0xefced8){const _0x34086e=_0x133c31[_0x304710(0x1fe)][_0x304710(0x131)][_0x304710(0x1c0)](_0x42f5f2);if(!_0x34086e)continue;const _0x173e97=_0x34086e[_0x304710(0x1b8)]()[_0x304710(0x12a)][0x0];_0x46e6fd[_0x304710(0x173)](_0x173e97)||_0x46e6fd[_0x304710(0x16d)](_0x173e97,[]),_0x46e6fd[_0x304710(0x1c0)](_0x173e97)[_0x304710(0x197)](_0x34086e);}const _0x591daa=new Set();for(const _0x482e5a of _0x133c31[_0x304710(0x1fe)][_0x304710(0x158)][_0x304710(0x132)][_0x304710(0x1d4)]()){let _0x5cf8c8=-0x1,_0x4d1ca1=null;if(_0x304710(0x1ed)===_0x482e5a[_0x304710(0x1e5)])_0x4d1ca1=new _0x4d6049(_0x482e5a[_0x304710(0x14c)],_0x482e5a[_0x304710(0x14c)][_0x304710(0x16a)](_0x482e5a[_0x304710(0x1c5)])),_0x5cf8c8=_0x482e5a[_0x304710(0x14c)][_0x304710(0x12a)][0x0];else{if(_0x304710(0x167)!==_0x482e5a[_0x304710(0x1e5)])continue;_0x4d1ca1=new _0x4d6049(_0x482e5a[_0x304710(0x14c)]),_0x5cf8c8=_0x482e5a[_0x304710(0x14c)][_0x304710(0x12a)][0x0];}const _0x4950ae=_0x46e6fd[_0x304710(0x1c0)](_0x5cf8c8)||[];if(_0x4950ae[_0x304710(0x1c5)]){for(const _0x429004 of _0x4950ae)if(_0x4d1ca1[_0x304710(0x185)][_0x304710(0x180)]===_0x429004[_0x304710(0x1f2)]()[_0x304710(0x185)][_0x304710(0x180)]&&(_0x304710(0x1ed)!==_0x482e5a[_0x304710(0x1e5)]||!_0x4d1ca1[_0x304710(0x16b)](_0x429004[_0x304710(0x1f2)]()))&&(_0x4d1ca1[_0x304710(0x1bc)](_0x429004[_0x304710(0x1f2)]())||_0x4d1ca1[_0x304710(0x137)][_0x304710(0x130)](_0x429004[_0x304710(0x1f2)]()[_0x304710(0x141)])||_0x4d1ca1[_0x304710(0x141)][_0x304710(0x130)](_0x429004[_0x304710(0x1f2)]()[_0x304710(0x137)]))){const _0x2d8ed7=this[_0x304710(0x13d)](_0x429004[_0x304710(0x1c2)]);Array[_0x304710(0x152)](this[_0x304710(0x181)][_0x304710(0x14b)]())[_0x304710(0x1e0)](_0x457e6=>_0x457e6[_0x304710(0x1ce)]===_0x2d8ed7[_0x304710(0x1ce)])[_0x304710(0x20f)](_0x31f8f1=>_0x591daa[_0x304710(0x1a2)](_0x31f8f1['id']));}}}if(_0x591daa[_0x304710(0x1ba)]){for(const _0x12210c of _0x591daa)_0x3f6e2d[_0x304710(0x19f)](_0x12210c);return!0x0;}return!0x1;}[_0x48c209(0x15f)](_0x175d57){const _0x285490=_0x48c209;for(const {name:_0x3acc11,data:_0xe70883}of _0x175d57[_0x285490(0x1fe)][_0x285490(0x158)][_0x285490(0x132)][_0x285490(0x123)]()){if(!_0x3acc11[_0x285490(0x1b3)](le))continue;const _0x12d0bc=_0xe70883[_0x285490(0x182)],_0x1919f1=_0xe70883[_0x285490(0x19a)],_0x6b1feb=_0x12d0bc&&_0x285490(0x1f6)===_0x12d0bc[_0x285490(0x185)][_0x285490(0x180)],_0x4d518b=_0x1919f1&&_0x285490(0x1f6)===_0x1919f1[_0x285490(0x185)][_0x285490(0x180)];if(_0x6b1feb&&_0x4d518b)continue;const _0x33d375=this[_0x285490(0x13d)](_0x3acc11);this[_0x285490(0x181)][_0x285490(0x1c0)](_0x3acc11)&&(_0x4d518b||!_0x1919f1?this[_0x285490(0x1a0)][_0x285490(0x142)](_0x285490(0x17f),{'markerId':_0x3acc11,'changeId':_0x33d375[_0x285490(0x1ce)]}):_0x6b1feb&&_0x1919f1&&this[_0x285490(0x1a0)][_0x285490(0x142)](_0x285490(0x155),{'markerId':_0x3acc11,'changeId':_0x33d375[_0x285490(0x1ce)]}));}}[_0x48c209(0x13d)](_0x55f438){const _0x522b64=_0x48c209,_0x40fa8c=_0x55f438[_0x522b64(0x1de)](':'),_0x431013=(_0x40fa8c[0x1]||'')[_0x522b64(0x1de)]('_');return{'prefix':_0x40fa8c[0x0],'groupId':_0x431013[0x0],'suffix':_0x431013[0x1]};}[_0x48c209(0x203)](_0x2b3bb8,_0x5e6e0b,_0x1ca0ae){const _0x5e5f35=_0x48c209;if(_0x5e5f35(0x1ed)===_0x2b3bb8[_0x5e5f35(0x1e5)]){const _0x39a27b=_0x2b3bb8;return new _0x22c58b(this[_0x5e5f35(0x1da)](_0x5e6e0b[_0x5e5f35(0x1e8)](_0x39a27b[_0x5e5f35(0x14c)][_0x5e5f35(0x15d)]),_0x1ca0ae),_0x39a27b[_0x5e5f35(0x195)],_0x39a27b[_0x5e5f35(0x17d)]);}if(_0x5e5f35(0x154)===_0x2b3bb8[_0x5e5f35(0x1e5)]&&_0x2b3bb8[_0x5e5f35(0x1c2)][_0x5e5f35(0x1b3)](_0x5e5f35(0x1cd))){const _0x43697b=_0x2b3bb8;return new _0x2815f4(_0x43697b[_0x5e5f35(0x1c2)],_0x43697b[_0x5e5f35(0x182)],this[_0x5e5f35(0x163)](_0x43697b[_0x5e5f35(0x19a)],_0x5e6e0b[_0x5e5f35(0x1e8)](_0x43697b[_0x5e5f35(0x19a)][_0x5e5f35(0x137)][_0x5e5f35(0x15d)]),_0x5e6e0b[_0x5e5f35(0x1e8)](_0x43697b[_0x5e5f35(0x19a)][_0x5e5f35(0x141)][_0x5e5f35(0x15d)]),_0x1ca0ae),_0x43697b[_0x5e5f35(0x181)],_0x43697b[_0x5e5f35(0x13c)],_0x43697b[_0x5e5f35(0x17d)]);}return _0x2b3bb8;}[_0x48c209(0x1ab)](_0x17e5f5){const _0x4b776c=_0x48c209;if(!_0x17e5f5[_0x4b776c(0x1c5)])return[];const _0x3b9bb1=[];let _0x358a96=0x0,_0x548fad=0x0,_0x38058=[];for(let _0x218f10=0x0;_0x218f10<=_0x17e5f5[_0x4b776c(0x1c5)];_0x218f10++){const _0x10c752=_0x17e5f5[_0x218f10],_0x2a0ef8=_0x17e5f5[_0x218f10-0x1];!_0x10c752||_0x2a0ef8&&!this[_0x4b776c(0x1c6)](_0x2a0ef8)[_0x4b776c(0x130)](this[_0x4b776c(0x140)](_0x10c752))?(_0x3b9bb1[_0x4b776c(0x197)]({'operations':_0x38058,'operationsIsolated':_0x38058[_0x4b776c(0x1e6)](_0x40c0f9=>this[_0x4b776c(0x207)](_0x40c0f9[_0x4b776c(0x1f3)](),-_0x548fad)),'groupOffset':_0x358a96}),_0x38058=_0x10c752?[_0x10c752]:[],_0x548fad+=_0x358a96,_0x358a96=0x0):_0x38058[_0x4b776c(0x197)](_0x10c752),_0x10c752&&_0x4b776c(0x1ed)===_0x10c752[_0x4b776c(0x1e5)]&&(_0x358a96+=_0x10c752[_0x4b776c(0x1d0)]);}return _0x3b9bb1;}[_0x48c209(0x1d6)](_0x168abf,_0x9d6af0,_0xeb74f5,_0x2c9280=0x1){const _0x36743b=_0x48c209,_0x4ba9a0=new _0xf562c2({'startPosition':_0x168abf,'direction':_0x9d6af0});let _0x30edf6=0x0;for(let _0x18e6ca=0x0;_0x18e6ca<_0x2c9280;_0x18e6ca++){let _0x29c38b=0x0,_0x4bae7d=!0x1,_0x374698=_0x36743b(0x17c)===_0x9d6af0?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x29ae87}of _0x4ba9a0)if(_0x29ae87['is'](_0x36743b(0x1a8))){const _0x3ef8ef=_0x374698[_0x36743b(0x18d)](_0x29ae87[_0x36743b(0x199)]);if(_0x3ef8ef&&_0x3ef8ef[_0x36743b(0x1c5)]){if(_0x29c38b+=_0x36743b(0x17c)===_0x9d6af0?_0x3ef8ef[_0x36743b(0x13f)]+_0x3ef8ef[0x0][_0x36743b(0x1c5)]:_0x29ae87[_0x36743b(0x199)][_0x36743b(0x1c5)]-_0x3ef8ef[_0x36743b(0x13f)],_0x3ef8ef[0x0][_0x36743b(0x1c5)]!==_0x29ae87[_0x36743b(0x199)][_0x36743b(0x1c5)])break;_0x4bae7d=!0x0,_0x374698=_0x36743b(0x17c)===_0x9d6af0?/^\w+/:/\w+$/;}else{if(_0x4bae7d)break;_0x29c38b+=_0x29ae87[_0x36743b(0x1b5)];}}else{if(_0x29ae87['is'](_0x36743b(0x13e))){_0xeb74f5[_0x36743b(0x153)](_0x29ae87)&&!_0x4bae7d&&(_0x29c38b+=0x1);break;}}_0x30edf6+=_0x29c38b,_0x4ba9a0[_0x36743b(0x147)](_0x168abf[_0x36743b(0x16a)](_0x36743b(0x17c)===_0x9d6af0?_0x30edf6:-_0x30edf6));}return _0x30edf6;}[_0x48c209(0x198)](_0x2bcc04,_0x136ebd){const _0x4958d4=_0x48c209,_0x3d1d5e=_0x1174f5(this[_0x4958d4(0x196)])[_0x4958d4(0x1fe)][_0x4958d4(0x150)],_0x22d6b5=this[_0x4958d4(0x1d6)](_0x2bcc04,_0x4958d4(0x19e),_0x3d1d5e,0x6),_0x3358e0=this[_0x4958d4(0x1d6)](_0x136ebd,_0x4958d4(0x17c),_0x3d1d5e,0x6),_0x45aeda=_0x2bcc04[_0x4958d4(0x16a)](-_0x22d6b5),_0x1a8a0d=_0x136ebd[_0x4958d4(0x16a)](_0x3358e0);return{'start':_0x45aeda,'end':_0x1a8a0d,'hasContentBefore':!_0x45aeda[_0x4958d4(0x156)],'hasContentAfter':!_0x1a8a0d[_0x4958d4(0x172)]};}[_0x48c209(0x17e)](_0x254c61){const _0x1a4d07=_0x48c209,_0x345cea=this[_0x1a4d07(0x196)][_0x1a4d07(0x1ea)][_0x1a4d07(0x1c0)](_0x1a4d07(0x1c4)),_0x2932da=new Set();_0x1174f5(this[_0x1a4d07(0x196)])[_0x1a4d07(0x1fe)][_0x1a4d07(0x146)](_0x1c5d27=>{const _0x444e1a=_0x1a4d07;for(const _0x290ba5 of _0x254c61){const _0x204f26=''+le+_0x290ba5[_0x444e1a(0x1e5)]+':'+_0x290ba5[_0x444e1a(0x1ce)]+'_'+_0x345cea[_0x444e1a(0x15e)](_0x2932da);this[_0x444e1a(0x181)][_0x444e1a(0x16d)](_0x204f26,{'id':_0x204f26,'groupId':_0x290ba5[_0x444e1a(0x1ce)],'type':_0x290ba5[_0x444e1a(0x1e5)],'text':_0x290ba5[_0x444e1a(0x1f1)]}),_0x1c5d27[_0x444e1a(0x1e9)](_0x204f26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c5d27[_0x444e1a(0x138)](_0x290ba5[_0x444e1a(0x137)],_0x290ba5[_0x444e1a(0x141)])});}});}[_0x48c209(0x191)](_0xf33a34,_0x2fcf38,_0x3683da){let _0x6ff391='';return()=>{const _0x20b993=_0xa998;if(!_0x6ff391){const _0x462299=_0x2fcf38[_0x20b993(0x1f4)](_0xf33a34,{'showSuggestionHighlights':!0x0});let _0x44a387=_0x462299[_0x20b993(0x1f0)](0x0);if(_0x44a387['is'](_0x20b993(0x1b0))||(_0x44a387=_0x462299),!_0x44a387)return'';let _0x3cabc1=!0x1;const _0x3d457e=[];for(const _0x511ae4 of _0x44a387[_0x20b993(0x20b)]())_0x511ae4['is'](_0x20b993(0x13e),_0x20b993(0x14f))&&_0x511ae4[_0x20b993(0x1fc)](_0x20b993(0x1e4))&&(_0x3cabc1=!0x1),_0x3cabc1&&_0x3d457e[_0x20b993(0x197)](_0x511ae4),_0x511ae4['is'](_0x20b993(0x13e),_0x20b993(0x14f))&&_0x511ae4[_0x20b993(0x1fc)](_0x20b993(0x200))&&(_0x3cabc1=!0x0);_0x44a387[_0x20b993(0x16f)](0x0,_0x44a387[_0x20b993(0x121)]),_0x3683da?.[_0x20b993(0x139)]&&_0x44a387[_0x20b993(0x1bf)]('…'),_0x44a387[_0x20b993(0x1bf)](_0x3d457e),_0x3683da?.[_0x20b993(0x161)]&&_0x44a387[_0x20b993(0x1bf)]('…');const _0x592c55=_0x2fcf38[_0x20b993(0x1bd)][_0x20b993(0x190)][_0x20b993(0x148)](_0x462299),_0x3e7c34=_0x2fcf38[_0x20b993(0x1bd)][_0x20b993(0x201)][_0x20b993(0x1dc)](_0x592c55);_0x6ff391=_0x3e7c34;}return _0x6ff391;};}[_0x48c209(0x168)](_0x1b0fa5,_0x24d24f){const _0x215cf6=_0x48c209;let _0x42aed9='';return()=>(_0x42aed9||(_0x42aed9=_0x24d24f[_0x215cf6(0x128)](_0x1b0fa5,{'showSuggestionHighlights':!0x0})),_0x42aed9);}[_0x48c209(0x1f5)](_0x39dce5,_0x282a1b,_0x1390d0){let _0x5beba0='';return()=>{const _0x2c444b=_0xa998;if(!_0x5beba0){const _0x2d6bcb=_0x1390d0[_0x2c444b(0x1f4)](new _0x37daec(_0x39dce5)),_0x356d17=_0x1390d0[_0x2c444b(0x1bd)][_0x2c444b(0x190)][_0x2c444b(0x148)](_0x2d6bcb)[_0x2c444b(0x122)](_0x2c444b(0x202)+_0x282a1b+'\x22]');_0x5beba0=_0x356d17?.[_0x2c444b(0x1a3)]||'';}return _0x5beba0;};}[_0x48c209(0x18c)](_0x3e7753,_0x156dc1=0x5){const _0x5c7601=_0x48c209;let _0x2fa0fe=_0x3e7753,_0x17f580=null;for(let _0x1d770e=0x0;_0x1d770e<_0x156dc1&&_0x2fa0fe;_0x1d770e++){if(!_0x2fa0fe[_0x5c7601(0x149)]){_0x2fa0fe=_0x2fa0fe[_0x5c7601(0x1fa)];continue;}if(!(''+_0x2fa0fe[_0x5c7601(0x149)])[_0x5c7601(0x19d)](_0x5c7601(0x125))){_0x2fa0fe=_0x2fa0fe[_0x5c7601(0x1fa)];continue;}if(!_0x2fa0fe[_0x5c7601(0x193)](_0x5c7601(0x1a7)))break;_0x17f580=_0x2fa0fe;break;}return _0x17f580;}[_0x48c209(0x166)](_0x3d48b2){const _0x39e3a0=_0x48c209;return Array[_0x39e3a0(0x152)](this[_0x39e3a0(0x181)][_0x39e3a0(0x14b)]())[_0x39e3a0(0x1e0)](_0x25123f=>_0x25123f[_0x39e3a0(0x1ce)]===_0x3d48b2);}[_0x48c209(0x140)](_0x3244dd){const _0x289c4b=_0x48c209;return _0x289c4b(0x1ed)===_0x3244dd[_0x289c4b(0x1e5)]?_0x3244dd[_0x289c4b(0x14c)]:_0x3244dd[_0x289c4b(0x19a)][_0x289c4b(0x137)];}[_0x48c209(0x1c6)](_0xb74ba9,_0x3dd2b6=!0x1){const _0x557ef6=_0x48c209;return _0x557ef6(0x1ed)===_0xb74ba9[_0x557ef6(0x1e5)]?_0x3dd2b6?_0xb74ba9[_0x557ef6(0x14c)]:_0xb74ba9[_0x557ef6(0x14c)][_0x557ef6(0x16a)](_0xb74ba9[_0x557ef6(0x1d0)]):_0xb74ba9[_0x557ef6(0x19a)][_0x557ef6(0x141)];}[_0x48c209(0x207)](_0x5bab20,_0x3ac622){const _0xb70505=_0x48c209;return _0xb70505(0x1ed)===_0x5bab20[_0xb70505(0x1e5)]?_0x5bab20[_0xb70505(0x14c)]=_0x5bab20[_0xb70505(0x14c)][_0xb70505(0x16a)](_0x3ac622):_0xb70505(0x154)===_0x5bab20[_0xb70505(0x1e5)]&&_0x5bab20[_0xb70505(0x19a)]&&(_0x5bab20[_0xb70505(0x19a)]=new _0x4d6049(_0x5bab20[_0xb70505(0x19a)][_0xb70505(0x137)][_0xb70505(0x16a)](_0x3ac622),_0x5bab20[_0xb70505(0x19a)][_0xb70505(0x141)][_0xb70505(0x16a)](_0x3ac622))),_0x5bab20;}[_0x48c209(0x183)](_0x29df50,_0xa25ade){const _0x376624=_0x48c209;_0x376624(0x1ed)===_0x29df50[_0x376624(0x1e5)]?_0x29df50[_0x376624(0x14c)]=this[_0x376624(0x164)](_0x29df50[_0x376624(0x14c)],_0xa25ade):_0x376624(0x154)===_0x29df50[_0x376624(0x1e5)]&&_0x29df50[_0x376624(0x19a)]&&(_0x29df50[_0x376624(0x19a)]=this[_0x376624(0x1dd)](_0x29df50[_0x376624(0x19a)],_0xa25ade));}[_0x48c209(0x164)](_0x4b5f0f,_0x335269){const _0x3c0854=_0x48c209;return new _0x270ee2(_0x335269,_0x4b5f0f[_0x3c0854(0x12a)]);}[_0x48c209(0x1dd)](_0x2c4ebb,_0x16ec1c){const _0x1c7c79=_0x48c209;return new _0x4d6049(this[_0x1c7c79(0x164)](_0x2c4ebb[_0x1c7c79(0x137)],_0x16ec1c),this[_0x1c7c79(0x164)](_0x2c4ebb[_0x1c7c79(0x141)],_0x16ec1c));}[_0x48c209(0x1da)](_0x23e0bd,_0x13c559){return new _0x270ee2(_0x13c559,[..._0x23e0bd]);}[_0x48c209(0x163)](_0x3a9fff,_0x111368,_0x396077,_0x2665a4){const _0x503dfc=_0x48c209;return new _0x4d6049(this[_0x503dfc(0x1da)](_0x111368,_0x2665a4),this[_0x503dfc(0x1da)](_0x396077,_0x2665a4));}[_0x48c209(0x1aa)](_0x1c7af7){const _0x40492c=_0x48c209,_0x1926ee=_0x2b3b65=>{const _0x23404b=_0xa998;switch(_0x2b3b65){case _0x23404b(0x1ed):return 0x1;case _0x23404b(0x1ae):return 0x2;case _0x23404b(0x1fd):return 0x3;case _0x23404b(0x1d5):return 0x4;}};return _0x1c7af7[_0x40492c(0x176)]((_0x1ec891,_0xae4807)=>_0x1926ee(_0x1ec891[_0x40492c(0x1e5)])-_0x1926ee(_0xae4807[_0x40492c(0x1e5)]));}[_0x48c209(0x1b1)](_0x52300e,_0xe2ff2e){const _0x312f70=_0x48c209,_0x465a33=_0x52300e[_0x312f70(0x1f0)](0x0),_0x181f9b=_0xe2ff2e[_0x312f70(0x1f0)](0x0);return!(!_0x465a33||!_0x181f9b)&&((!_0x465a33['is'](_0x312f70(0x13e))||!_0x181f9b['is'](_0x312f70(0x13e))||_0x465a33[_0x312f70(0x1c2)]===_0x181f9b[_0x312f70(0x1c2)])&&!(_0x465a33['is'](_0x312f70(0x13e))&&!_0x181f9b['is'](_0x312f70(0x13e))||!_0x465a33['is'](_0x312f70(0x13e))&&_0x181f9b['is'](_0x312f70(0x13e))));}[_0x48c209(0x18b)](_0x5ee89b){const _0xf3ffe4=_0x48c209;return 0x1===_0x5ee89b[_0xf3ffe4(0x121)];}[_0x48c209(0x170)](_0x362ca2,_0x2b8e9c){const _0x4fa120=_0x48c209;for(const _0x5c0857 of _0x362ca2[_0x4fa120(0x20b)]())if(_0x5c0857['is'](_0x4fa120(0x13e))&&!_0x2b8e9c[_0x4fa120(0x153)](_0x5c0857))return!0x1;return!0x0;}[_0x48c209(0x18a)](_0x5087ce,_0x2a2368){const _0x2e8367=_0x48c209;let _0x3e10a7=_0x5087ce[_0x2e8367(0x193)](_0x5c60be);return _0x3e10a7||(_0x3e10a7=_0x2a2368(),_0x5087ce[_0x2e8367(0x206)](_0x5c60be,_0x3e10a7)),_0x3e10a7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ebb18=_0x32eb;(function(_0x519d7b,_0x2ccd31){const _0x5c2a9a=_0x32eb,_0x403542=_0x519d7b();while(!![]){try{const _0x4571ff=parseInt(_0x5c2a9a(0x1d8))/0x1+parseInt(_0x5c2a9a(0x1c9))/0x2*(-parseInt(_0x5c2a9a(0x1f5))/0x3)+-parseInt(_0x5c2a9a(0x1bf))/0x4*(parseInt(_0x5c2a9a(0x1b4))/0x5)+parseInt(_0x5c2a9a(0x1d2))/0x6+parseInt(_0x5c2a9a(0x1c7))/0x7+-parseInt(_0x5c2a9a(0x1e6))/0x8+parseInt(_0x5c2a9a(0x1ef))/0x9;if(_0x4571ff===_0x2ccd31)break;else _0x403542['push'](_0x403542['shift']());}catch(_0x544095){_0x403542['push'](_0x403542['shift']());}}}(_0x2411,0xc1cd5));import{ContextPlugin as _0x496ad0}from'ckeditor5/src/core.js';function _0x32eb(_0x1dd1dd,_0xeb4a24){const _0x24113b=_0x2411();return _0x32eb=function(_0x32eb48,_0x48e0b3){_0x32eb48=_0x32eb48-0x1b4;let _0x351959=_0x24113b[_0x32eb48];return _0x351959;},_0x32eb(_0x1dd1dd,_0xeb4a24);}import{IconAIReview as _0x14cb30}from'ckeditor5/src/icons.js';import{BodyCollection as _0x1bb259}from'ckeditor5/src/ui.js';import{AITabs as _0xebe4bc}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5a1cc6}from'./ui/aireviewmodeview.js';import{getTranslation as _0x401137}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x352409}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2ebb18(0x20a),_0x2ebb18(0x1dc),_0x2ebb18(0x1c2),_0x2ebb18(0x1bc),_0x2ebb18(0x1e8),_0x2ebb18(0x20f),_0x2ebb18(0x1ba),_0x2ebb18(0x1d0),_0x2ebb18(0x200),_0x2ebb18(0x1fd),_0x2ebb18(0x1f6),_0x2ebb18(0x1b8)];export class AIReviewModeUI extends _0x496ad0{[_0x2ebb18(0x1ec)];[_0x2ebb18(0x1d3)];[_0x2ebb18(0x1f2)];static get[_0x2ebb18(0x1b9)](){return[_0xebe4bc];}static get[_0x2ebb18(0x1fc)](){const _0x87fd5d=_0x2ebb18;return _0x87fd5d(0x1c1);}static get[_0x2ebb18(0x1df)](){return!0x0;}static get[_0x2ebb18(0x1e4)](){return!0x0;}constructor(_0x66301a){const _0x33a094=_0x2ebb18;super(_0x66301a),this[_0x33a094(0x1f2)]=new _0x1bb259(this[_0x33a094(0x1db)][_0x33a094(0x1d7)]),this[_0x33a094(0x1f2)][_0x33a094(0x1de)](),this[_0x33a094(0x1ec)]=new _0x5a1cc6(this[_0x33a094(0x1db)][_0x33a094(0x1d7)]),this[_0x33a094(0x1ec)][_0x33a094(0x1d1)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x33a094(0x1d3)]=new _0x352409(this[_0x33a094(0x1db)][_0x33a094(0x1d7)],this[_0x33a094(0x1f2)]),this[_0x33a094(0x1d3)][_0x33a094(0x1d1)](_0x33a094(0x1d0),_0x33a094(0x200),_0x33a094(0x1d4))['to'](this);}[_0x2ebb18(0x1e3)](){const _0x347a67=_0x2ebb18,_0x38c2e3=this[_0x347a67(0x1db)][_0x347a67(0x1c6)][_0x347a67(0x1e7)](_0x347a67(0x1d9));_0x38c2e3[_0x347a67(0x201)]['on'](_0x347a67(0x1c4),(_0x618ace,_0x5ef1c7)=>{const _0x5cb682=_0x347a67;_0x5cb682(0x1fe)===_0x5ef1c7?this[_0x5cb682(0x203)](_0x5cb682(0x20a)):this[_0x5cb682(0x203)](_0x5cb682(0x1cf));}),_0x38c2e3[_0x347a67(0x201)][_0x347a67(0x1f1)]({'id':_0x347a67(0x1fe),'buttonLabel':_0x401137(this[_0x347a67(0x1db)][_0x347a67(0x1d7)],_0x347a67(0x1e5)),'buttonIcon':_0x14cb30,'order':0x0,'content':this[_0x347a67(0x1ec)]});}[_0x2ebb18(0x1e9)](){const _0x41186b=_0x2ebb18;this[_0x41186b(0x1f2)][_0x41186b(0x1ed)](),super[_0x41186b(0x1e9)]();}[_0x2ebb18(0x1dd)](_0x2f500b){const _0x5a1a65=_0x2ebb18;this[_0x5a1a65(0x1ec)][_0x5a1a65(0x1ff)][_0x5a1a65(0x208)]()||this[_0x5a1a65(0x1ec)][_0x5a1a65(0x1ff)][_0x5a1a65(0x1c5)](_0x2f500b),this[_0x5a1a65(0x1ec)][_0x5a1a65(0x1b5)]();}[_0x2ebb18(0x1be)](){const _0x30286c=_0x2ebb18;this[_0x30286c(0x203)](_0x30286c(0x20a));}[_0x2ebb18(0x206)](_0x577cd9){const _0x457afc=_0x2ebb18;_0x577cd9&&(_0x457afc(0x20b)!==_0x577cd9[_0x457afc(0x1c8)]?_0x457afc(0x1fb)!==_0x577cd9[_0x457afc(0x1c8)]?this[_0x457afc(0x1ec)][_0x457afc(0x1da)]():this[_0x457afc(0x1cb)]():this[_0x457afc(0x202)]());}[_0x2ebb18(0x1c0)](_0x31b2e5){const _0x4faabe=_0x2ebb18;this[_0x4faabe(0x1ec)][_0x4faabe(0x1e2)](_0x31b2e5);}[_0x2ebb18(0x202)](){const _0x2d2f14=_0x2ebb18;this[_0x2d2f14(0x1ec)][_0x2d2f14(0x202)]();}[_0x2ebb18(0x204)](_0x2624e1){const _0x481050=_0x2ebb18;this[_0x481050(0x1ec)][_0x481050(0x204)](_0x2624e1??_0x401137(this[_0x481050(0x1db)][_0x481050(0x1d7)],_0x481050(0x1ea)));}[_0x2ebb18(0x1cb)](){const _0x42a7a2=_0x2ebb18;this[_0x42a7a2(0x1ec)][_0x42a7a2(0x1cb)]();}[_0x2ebb18(0x1b6)](_0x283aba,_0x3ccb4b){const _0x38618f=_0x2ebb18;this[_0x38618f(0x1ec)][_0x38618f(0x1f9)][_0x38618f(0x1cc)](_0x283aba,_0x3ccb4b);}[_0x2ebb18(0x1e1)](_0x156287){const _0x2b3c28=_0x2ebb18;this[_0x2b3c28(0x1ec)][_0x2b3c28(0x1f9)][_0x2b3c28(0x1b7)]()[_0x2b3c28(0x1f0)](_0x43ce3b=>{const _0x3d5b4a=_0x2b3c28;_0x43ce3b['id']===_0x156287&&_0x43ce3b[_0x3d5b4a(0x207)]();});}[_0x2ebb18(0x1eb)](){const _0x368258=_0x2ebb18;this[_0x368258(0x1ec)][_0x368258(0x1f9)][_0x368258(0x1b7)]()[_0x368258(0x1f0)](_0x26291d=>_0x26291d[_0x368258(0x1d6)]());}[_0x2ebb18(0x20d)](_0x222dfa,_0x4fa852){const _0x19cd3e=_0x2ebb18;_0x19cd3e(0x1f3)===_0x4fa852||_0x19cd3e(0x209)===_0x4fa852||_0x19cd3e(0x1cd)===_0x4fa852?this[_0x19cd3e(0x1ec)][_0x19cd3e(0x1f9)][_0x19cd3e(0x1c3)](_0x222dfa,_0x4fa852):this[_0x19cd3e(0x1ec)][_0x19cd3e(0x1f9)][_0x19cd3e(0x1f7)](_0x222dfa,_0x4fa852);}[_0x2ebb18(0x1ee)](){const _0x1c8f33=_0x2ebb18;this[_0x1c8f33(0x1ec)][_0x1c8f33(0x1ee)]();}[_0x2ebb18(0x1f4)](){const _0x434ee1=_0x2ebb18;this[_0x434ee1(0x1ec)][_0x434ee1(0x1f4)]();}[_0x2ebb18(0x20c)](){const _0x2c627a=_0x2ebb18;this[_0x2c627a(0x1ec)][_0x2c627a(0x20c)]();}[_0x2ebb18(0x1e0)](){const _0x91894f=_0x2ebb18;this[_0x91894f(0x1ec)][_0x91894f(0x1e0)]();}[_0x2ebb18(0x205)](_0x316aea,_0x4d6757,_0x2f2fa6,_0x1a7fd7,_0x3d362f,_0x2f5cf0){const _0x4abb1f=_0x2ebb18;this[_0x4abb1f(0x1d3)][_0x4abb1f(0x20e)](_0x316aea,_0x4d6757,_0x2f2fa6,_0x1a7fd7,_0x3d362f,_0x2f5cf0);}[_0x2ebb18(0x1bd)](){const _0x56b728=_0x2ebb18;this[_0x56b728(0x1d3)][_0x56b728(0x1fa)]();}[_0x2ebb18(0x1f8)](){const _0x42329a=_0x2ebb18;this[_0x42329a(0x1d3)][_0x42329a(0x1f8)]();}[_0x2ebb18(0x1ca)](){const _0x2571d5=_0x2ebb18;this[_0x2571d5(0x1d3)][_0x2571d5(0x1ca)]();}[_0x2ebb18(0x1bb)](_0x1e1d97){const _0x1a9ea6=_0x2ebb18,_0x582a03=this[_0x1a9ea6(0x1ec)][_0x1a9ea6(0x1f9)][_0x1a9ea6(0x1b7)]()[_0x1a9ea6(0x1d5)](_0x17df4c=>_0x17df4c['id']===_0x1e1d97);return _0x582a03?_0x582a03[_0x1a9ea6(0x1ce)]:null;}[_0x2ebb18(0x1d4)](){const _0x232242=_0x2ebb18;this[_0x232242(0x1d3)][_0x232242(0x1d4)]();}}function _0x2411(){const _0x2a001d=['delegate','519648SetQuZ','_reviewModeBalloonSuggestionItemView','deactivateChange','find','setItemAsInactive','locale','1417187yJYXGC','AITabs','showReviewCheckResultsView','context','runReviewCheck','setAvailableChecks','attachToDom','isOfficialPlugin','hideActionsWhenResultIsReady','setActiveStateInResults','addCheckRunResult','init','isPremiumPlugin','AI_REVIEW_MODE','9530568cnSCOI','get','acceptAllChanges','destroy','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','resetActiveStateInResults','_reviewModeView','detachFromDom','showReviewCompletedView','24895800WbflYX','forEach','addTab','_bodyCollection','accepted','showActionsWhenResultIsReady','1523724weLaur','finishReview','showResult','hideDiffInBalloon','reviewCheckResultsView','hideBalloon','error-chunk','pluginName','learnMore','reviewMode','reviewCheckListView','dismissChange','view','showGeneralResultsErrorView','fire','showGeneralReviewModeErrorView','showChangeBalloon','showCheckRunResults','setItemAsActive','hasChecks','rejected','getReviewCheckList','error-general','showNoChangesView','updateChangeState','showBalloon','leaveReviewModeResultList','10duFISc','showReviewCheckListView','setCheckResultTitle','getResults','retryReview','requires','activateChange','getChangeElement','toggleDiff','hideChangeBalloon','showReviewCheckList','3146900bNHIBY','showCheckRunResult','AIReviewModeUI','abortReviewStream','hideResult','activateTab','setChecks','plugins','2130835Rblmec','status','4MDlgfg','showDiffInBalloon','showChunkErrorView','setTitle','outdated','element','leaveReviewMode','acceptChange'];_0x2411=function(){return _0x2a001d;};return _0x2411();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x186d3e=_0x3e7d;function _0xc995(){var _0x4f8d1f=['isParameterized','8268nTmIPq','useArgs','276rMUaxc','583807dwpCtQ','469410LnFfdm','920772ZQcHqF','title','1323775viYuUJ','description','252414obvtdd','options','3240904ZBjPSS'];_0xc995=function(){return _0x4f8d1f;};return _0xc995();}(function(_0x18d4fb,_0x144f6a){var _0x43d600=_0x3e7d,_0x16fef2=_0x18d4fb();while(!![]){try{var _0xa37ee9=-parseInt(_0x43d600(0xfd))/0x1+parseInt(_0x43d600(0xf8))/0x2+parseInt(_0x43d600(0xf6))/0x3*(-parseInt(_0x43d600(0xf4))/0x4)+-parseInt(_0x43d600(0xfb))/0x5+parseInt(_0x43d600(0xf9))/0x6+parseInt(_0x43d600(0xf7))/0x7+parseInt(_0x43d600(0xff))/0x8;if(_0xa37ee9===_0x144f6a)break;else _0x16fef2['push'](_0x16fef2['shift']());}catch(_0x177621){_0x16fef2['push'](_0x16fef2['shift']());}}}(_0xc995,0x29584));function _0x3e7d(_0x196cf4,_0xc2990d){var _0xc99528=_0xc995();return _0x3e7d=function(_0x3e7ddf,_0xa75d76){_0x3e7ddf=_0x3e7ddf-0xf4;var _0x4c06cb=_0xc99528[_0x3e7ddf];return _0x4c06cb;},_0x3e7d(_0x196cf4,_0xc2990d);}export class AIReviewCheck{['id'];[_0x186d3e(0xfa)];[_0x186d3e(0xfc)];[_0x186d3e(0x100)];[_0x186d3e(0xf5)];[_0x186d3e(0xfe)];constructor({id:_0x2527a0,title:_0x5835d8,description:_0x2e89b6,isParameterized:_0x56c772,useArgs:_0x2484cf,options:_0x326c07}){var _0x4281e2=_0x186d3e;this['id']=_0x2527a0,this[_0x4281e2(0xfa)]=_0x5835d8,this[_0x4281e2(0xfc)]=_0x2e89b6,this[_0x4281e2(0x100)]=_0x56c772,this[_0x4281e2(0xf5)]=_0x2484cf,this[_0x4281e2(0xfe)]=_0x326c07;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x571b71=_0x5738;function _0x3487(){var _0x4dc6c3=['5hxWaNg','1101630Sqroxm','696TVJrDm','models','_models','114oTFVbU','1081803UCIvjJ','10jYmMNs','5919RWqyZD','15547EfUYql','4vnirrR','2117820eidcVq','150172IffVfr','2438523AkjfhT'];_0x3487=function(){return _0x4dc6c3;};return _0x3487();}(function(_0x5d9124,_0x179e2d){var _0x4300fd=_0x5738,_0x419340=_0x5d9124();while(!![]){try{var _0x3ba4ea=-parseInt(_0x4300fd(0x19b))/0x1*(-parseInt(_0x4300fd(0x198))/0x2)+-parseInt(_0x4300fd(0x199))/0x3*(parseInt(_0x4300fd(0x19d))/0x4)+-parseInt(_0x4300fd(0x1a1))/0x5*(-parseInt(_0x4300fd(0x1a2))/0x6)+-parseInt(_0x4300fd(0x19c))/0x7*(-parseInt(_0x4300fd(0x1a3))/0x8)+parseInt(_0x4300fd(0x1a0))/0x9*(-parseInt(_0x4300fd(0x19a))/0xa)+-parseInt(_0x4300fd(0x19f))/0xb+parseInt(_0x4300fd(0x19e))/0xc;if(_0x3ba4ea===_0x179e2d)break;else _0x419340['push'](_0x419340['shift']());}catch(_0x18a2ab){_0x419340['push'](_0x419340['shift']());}}}(_0x3487,0x3befc));function _0x5738(_0x587b3f,_0x310cf3){var _0x348742=_0x3487();return _0x5738=function(_0x573859,_0x28caee){_0x573859=_0x573859-0x197;var _0x444303=_0x348742[_0x573859];return _0x444303;},_0x5738(_0x587b3f,_0x310cf3);}import{AIReviewCheck as _0x38cf31}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x38cf31{[_0x571b71(0x197)]=[];get[_0x571b71(0x1a4)](){var _0x321575=_0x571b71;return this[_0x321575(0x197)];}set[_0x571b71(0x1a4)](_0x276885){var _0x4bc2ac=_0x571b71;this[_0x4bc2ac(0x197)]=_0x276885;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x365721=_0x1b31;(function(_0x56d47b,_0x5a0f29){var _0x5e584d=_0x1b31,_0x58c056=_0x56d47b();while(!![]){try{var _0x4186c9=parseInt(_0x5e584d(0x1a8))/0x1*(parseInt(_0x5e584d(0x1a6))/0x2)+parseInt(_0x5e584d(0x1af))/0x3*(parseInt(_0x5e584d(0x1b3))/0x4)+parseInt(_0x5e584d(0x1a5))/0x5*(-parseInt(_0x5e584d(0x1b6))/0x6)+parseInt(_0x5e584d(0x1b5))/0x7*(parseInt(_0x5e584d(0x1b7))/0x8)+parseInt(_0x5e584d(0x1a3))/0x9*(-parseInt(_0x5e584d(0x1b2))/0xa)+parseInt(_0x5e584d(0x1ab))/0xb*(-parseInt(_0x5e584d(0x1a7))/0xc)+parseInt(_0x5e584d(0x1ac))/0xd;if(_0x4186c9===_0x5a0f29)break;else _0x58c056['push'](_0x58c056['shift']());}catch(_0x599c75){_0x58c056['push'](_0x58c056['shift']());}}}(_0x1229,0x3897e));function _0x1b31(_0x1193b3,_0x50d99c){var _0x1229ce=_0x1229();return _0x1b31=function(_0x1b319d,_0x12fea4){_0x1b319d=_0x1b319d-0x1a3;var _0x30c5c7=_0x1229ce[_0x1b319d];return _0x30c5c7;},_0x1b31(_0x1193b3,_0x50d99c);}import{ObservableMixin as _0x54b854}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x26c614}from'./aireviewcheck.js';function _0x1229(){var _0x31657c=['458968IlrJza','getCheckById','651609hwFnNC','_checks','425875cBYOQI','151126UAMhFw','24CvDGQp','1RfPHBe','_mapCheckDefinitions','checks','1485473RcoLAb','7874009uizuTQ','find','filter','33063WjBnal','custom','removeCheckById','40WTnkja','28NqGgEM','map','56svZLWx','30tCFyzf'];_0x1229=function(){return _0x31657c;};return _0x1229();}import{AIReviewCheckCustom as _0x42902e}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x54b854(){[_0x365721(0x1a4)];constructor(_0xe95502){var _0x39d975=_0x365721;super(),this[_0x39d975(0x1a4)]=this[_0x39d975(0x1a9)](_0xe95502);}get[_0x365721(0x1aa)](){var _0x587e48=_0x365721;return this[_0x587e48(0x1a4)];}[_0x365721(0x1b8)](_0x33723b){var _0x50dd5c=_0x365721;return this[_0x50dd5c(0x1aa)][_0x50dd5c(0x1ad)](_0x897df6=>_0x897df6['id']===_0x33723b);}[_0x365721(0x1b1)](_0x258238){var _0x4a518c=_0x365721;this[_0x4a518c(0x1a4)]=this[_0x4a518c(0x1a4)][_0x4a518c(0x1ae)](_0x2f25f7=>_0x2f25f7['id']!==_0x258238);}[_0x365721(0x1a9)](_0x3b42a7){var _0xfba249=_0x365721;return _0x3b42a7[_0xfba249(0x1b4)](_0x5f30d7=>_0xfba249(0x1b0)===_0x5f30d7['id']?new _0x42902e(_0x5f30d7):new _0x26c614(_0x5f30d7));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3fc799=_0x13f0;function _0x13f0(_0x1b6e29,_0xacf71c){var _0x4e3e5c=_0x4e3e();return _0x13f0=function(_0x13f02c,_0x5bf78e){_0x13f02c=_0x13f02c-0x10a;var _0x3ecee1=_0x4e3e5c[_0x13f02c];return _0x3ecee1;},_0x13f0(_0x1b6e29,_0xacf71c);}(function(_0x21d406,_0x5bb757){var _0x25af8a=_0x13f0,_0x45f78e=_0x21d406();while(!![]){try{var _0xb6af0b=-parseInt(_0x25af8a(0x112))/0x1*(parseInt(_0x25af8a(0x10b))/0x2)+parseInt(_0x25af8a(0x10e))/0x3*(-parseInt(_0x25af8a(0x111))/0x4)+parseInt(_0x25af8a(0x10d))/0x5*(parseInt(_0x25af8a(0x10c))/0x6)+-parseInt(_0x25af8a(0x117))/0x7+-parseInt(_0x25af8a(0x10a))/0x8+parseInt(_0x25af8a(0x116))/0x9*(parseInt(_0x25af8a(0x110))/0xa)+parseInt(_0x25af8a(0x114))/0xb;if(_0xb6af0b===_0x5bb757)break;else _0x45f78e['push'](_0x45f78e['shift']());}catch(_0x6689be){_0x45f78e['push'](_0x45f78e['shift']());}}}(_0x4e3e,0x1c80b));function _0x4e3e(){var _0x20f7bd=['715624pkdxOD','1709912GWpyJF','8NycexX','398022vjsTwb','5JNoLVr','231KDSOVm','contentNew','1611670HrMWXN','828uCfFQQ','29752JVlQBf','documentVersion','3741771bdsZSh','contentInitial','9uWoxbr'];_0x4e3e=function(){return _0x20f7bd;};return _0x4e3e();}import{EmitterMixin as _0x395e34}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x395e34(){['id'];[_0x3fc799(0x10f)];[_0x3fc799(0x115)];[_0x3fc799(0x113)];constructor({id:_0x22f88b,contentNew:_0x147e9d,contentInitial:_0x30f801,documentVersion:_0x33371b}){var _0x341194=_0x3fc799;super(),this['id']=_0x22f88b,this[_0x341194(0x10f)]=_0x147e9d,this[_0x341194(0x115)]=_0x30f801,this[_0x341194(0x113)]=_0x33371b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x48ba9c=_0x57fc;(function(_0x22a9b4,_0x3697fd){var _0x527656=_0x57fc,_0x21d4e4=_0x22a9b4();while(!![]){try{var _0x2470ad=-parseInt(_0x527656(0x7e))/0x1+parseInt(_0x527656(0x80))/0x2*(parseInt(_0x527656(0x72))/0x3)+-parseInt(_0x527656(0x81))/0x4+parseInt(_0x527656(0x76))/0x5+-parseInt(_0x527656(0x85))/0x6+-parseInt(_0x527656(0x77))/0x7*(-parseInt(_0x527656(0x71))/0x8)+-parseInt(_0x527656(0x79))/0x9*(-parseInt(_0x527656(0x7a))/0xa);if(_0x2470ad===_0x3697fd)break;else _0x21d4e4['push'](_0x21d4e4['shift']());}catch(_0xd69671){_0x21d4e4['push'](_0x21d4e4['shift']());}}}(_0x405f,0x63587));function _0x57fc(_0x131306,_0x15f5f2){var _0x405fce=_0x405f();return _0x57fc=function(_0x57fc00,_0x1e84a2){_0x57fc00=_0x57fc00-0x71;var _0x306549=_0x405fce[_0x57fc00];return _0x306549;},_0x57fc(_0x131306,_0x15f5f2);}import{ObservableMixin as _0x57ecde}from'ckeditor5/src/utils.js';function _0x405f(){var _0x2459d6=['context','parent','status','434621PGCrVo','pending','2OWjMyI','2091192PnjOyX','change:status','set','operations','2749236HpLefD','_editorOperations','contentDiffed','8mdisiN','246219PSFZxu','_data','isActivated','operationsIsolated','62910XSmqDT','4119815eQLfFM','isRated','5127048asmDCt','20zaCnFW'];_0x405f=function(){return _0x2459d6;};return _0x405f();}export class AIReviewCheckResultChange extends _0x57ecde(){['id'];[_0x48ba9c(0x7c)];[_0x48ba9c(0x73)];[_0x48ba9c(0x86)]=[];constructor(_0x394f8f,_0x57fd65,_0x1d0ecb){var _0x40c5c1=_0x48ba9c;super(),this['id']=_0x394f8f,this[_0x40c5c1(0x7c)]=_0x1d0ecb,this[_0x40c5c1(0x73)]=_0x57fd65,this[_0x40c5c1(0x83)](_0x40c5c1(0x74),!0x1),this[_0x40c5c1(0x83)](_0x40c5c1(0x78),!0x1),this[_0x40c5c1(0x83)](_0x40c5c1(0x7d),_0x40c5c1(0x7f)),this['on'](_0x40c5c1(0x82),()=>{var _0x5d4003=_0x40c5c1;_0x5d4003(0x7f)!==this[_0x5d4003(0x7d)]&&this[_0x5d4003(0x74)]&&(this[_0x5d4003(0x74)]=!0x1);});}get[_0x48ba9c(0x87)](){var _0x481111=_0x48ba9c;return this[_0x481111(0x73)][_0x481111(0x7b)]();}get[_0x48ba9c(0x84)](){var _0x45aac1=_0x48ba9c;return this[_0x45aac1(0x73)][_0x45aac1(0x84)];}get[_0x48ba9c(0x75)](){var _0x1114c7=_0x48ba9c;return this[_0x1114c7(0x73)][_0x1114c7(0x75)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x97d53=_0x5d2b;function _0x468b(){const _0x3020bb=['error-general','elements','title','_documentData','fire','find','initialized','filter','callId','data','970013gHyKWo','reviewCheckResultReady','deactivateChange','outdated','168aEeqPN','status','_createApiRequest','start','98330VimseU','isChangeActive','reviewName','every','_results','message','accepted','ai-request-aborted','ready','getActiveChanges','33404530ZnHBuz','isAnyChangeActivated','_sendRatingRequest','change:isActivated','_aiConnector','size','_sourceCheck','push','processedResultsCount','restart','textDelta','reviewCheckRunUpdated','dataId','_addReviewCheckResult','clear','addResultChanges','2066eqWwot','forEach','loading','reviewCheckResultActivated','getStream','hasModifications','markChangeAsPending','getContent','5315032jCOFgX','forceReadyState','sendRating','unmodified','parent','_changes','activateChange','reviewCheckResultAdded','currentError','documentData','markChangeAsAccepted','change:status','includes','_activeRequest','431145eaYZBt','7PETfDh','rejected','_checkIfFinished','_reviewParams','markChangeAsOutdated','version','isRated','subTitle','length','3099gNzwsu','reviewCheckResultChangeStatusUpdated','_currentError','markAllChangesAsAccepted','reviewCheckResultDeactivated','event','isActivated','some','pending','abort','error-chunk','review-metadata','set','updateDocumentData','2695948xWnPmi','aborted','markChangeAsRejected','11SOvREU','_reviewArgs','getChangeById','finished','operation','error','get','abortController'];_0x468b=function(){return _0x3020bb;};return _0x468b();}(function(_0x4f40ea,_0x419a05){const _0x5d0839=_0x5d2b,_0x29090d=_0x4f40ea();while(!![]){try{const _0x56ab5d=parseInt(_0x5d0839(0x1a8))/0x1+parseInt(_0x5d0839(0x1ca))/0x2*(parseInt(_0x5d0839(0x1ea))/0x3)+parseInt(_0x5d0839(0x1f8))/0x4+-parseInt(_0x5d0839(0x1b0))/0x5*(-parseInt(_0x5d0839(0x1ac))/0x6)+-parseInt(_0x5d0839(0x1e1))/0x7*(-parseInt(_0x5d0839(0x1d2))/0x8)+parseInt(_0x5d0839(0x1e0))/0x9+-parseInt(_0x5d0839(0x1ba))/0xa*(parseInt(_0x5d0839(0x1fb))/0xb);if(_0x56ab5d===_0x419a05)break;else _0x29090d['push'](_0x29090d['shift']());}catch(_0x3bfb28){_0x29090d['push'](_0x29090d['shift']());}}}(_0x468b,0x9aae0));import{ObservableMixin as _0x16668e,uid as _0x58a43b}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x55587e}from'./aireviewcheckresult.js';function _0x5d2b(_0x26fd22,_0x281b57){const _0x468b27=_0x468b();return _0x5d2b=function(_0x5d2b27,_0x3373b2){_0x5d2b27=_0x5d2b27-0x1a0;let _0x207fe4=_0x468b27[_0x5d2b27];return _0x207fe4;},_0x5d2b(_0x26fd22,_0x281b57);}import{AIReviewCheckResultChange as _0xe44ef2}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x16668e(){['id']=_0x58a43b();[_0x97d53(0x1a6)];[_0x97d53(0x1b4)]=new Map();[_0x97d53(0x1d7)]=[];[_0x97d53(0x1c0)];[_0x97d53(0x1a1)];[_0x97d53(0x1be)];[_0x97d53(0x1e4)];[_0x97d53(0x1fc)];[_0x97d53(0x1df)]=null;[_0x97d53(0x1ec)];constructor(_0x328b0b,_0x2151ba,_0x55576f,_0x5733f6,_0x278fb5){const _0x5bd5e9=_0x97d53;super(),this[_0x5bd5e9(0x1c0)]=_0x2151ba,this[_0x5bd5e9(0x1a1)]=_0x328b0b,this[_0x5bd5e9(0x1be)]=_0x55576f,this[_0x5bd5e9(0x1e4)]=_0x5733f6,this[_0x5bd5e9(0x1fc)]=_0x278fb5,this['on'](_0x5bd5e9(0x1dd),(_0x2496f4,_0x42ae77,_0x3f9a72)=>{const _0x56ec39=_0x5bd5e9;this[_0x56ec39(0x1a2)](_0x56ec39(0x1c5),{'status':_0x3f9a72,'run':this,'error':this[_0x56ec39(0x1ec)]});}),this[_0x5bd5e9(0x1f6)](_0x5bd5e9(0x1ad),_0x5bd5e9(0x1a4));}get[_0x97d53(0x1db)](){const _0x234aa3=_0x97d53;return this[_0x234aa3(0x1a1)];}get[_0x97d53(0x1c2)](){const _0x4453ef=_0x97d53;return this[_0x4453ef(0x1b4)][_0x4453ef(0x1bf)];}get[_0x97d53(0x1a0)](){const _0x3db230=_0x97d53;return this[_0x3db230(0x1c0)][_0x3db230(0x1a0)];}get[_0x97d53(0x1e8)](){return'';}get[_0x97d53(0x1b2)](){const _0xe1a472=_0x97d53;return this[_0xe1a472(0x1c0)]['id'];}get[_0x97d53(0x1cf)](){const _0x524ed6=_0x97d53;return!this[_0x524ed6(0x1d7)][_0x524ed6(0x1b3)](_0x441708=>_0x524ed6(0x1f2)===_0x441708[_0x524ed6(0x1ad)]);}get[_0x97d53(0x1da)](){const _0x10f389=_0x97d53;return this[_0x10f389(0x1ec)];}[_0x97d53(0x1f7)](_0xc052d0){const _0x4732d7=_0x97d53;this[_0x4732d7(0x1a1)]=_0xc052d0;}async[_0x97d53(0x1af)](){const _0x462fb6=_0x97d53;this[_0x462fb6(0x1ad)]=_0x462fb6(0x1cc),this[_0x462fb6(0x1ec)]=void 0x0;try{this[_0x462fb6(0x1df)]=this[_0x462fb6(0x1ae)]();const _0x4cf350=await this[_0x462fb6(0x1df)][_0x462fb6(0x1ce)]();this[_0x462fb6(0x1ad)]=_0x462fb6(0x1a7);for await(const _0x496010 of _0x4cf350)_0x462fb6(0x1d5)!==_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1ff)]&&(_0x462fb6(0x200)!==_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1ff)]?_0x462fb6(0x1f5)!==_0x496010[_0x462fb6(0x1ef)]?this[_0x462fb6(0x1c7)](_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1c6)],_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1c4)]):this[_0x462fb6(0x1a6)]=_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1a6)]:this[_0x462fb6(0x1ad)]=_0x462fb6(0x1f4));_0x462fb6(0x1f4)!==this[_0x462fb6(0x1ad)]&&(0x0===this[_0x462fb6(0x1b4)][_0x462fb6(0x1bf)]?this[_0x462fb6(0x1ad)]=_0x462fb6(0x1d5):this[_0x462fb6(0x1ad)]=_0x462fb6(0x1b8));}catch(_0x58f7d0){this[_0x462fb6(0x1ec)]=_0x58f7d0,_0x58f7d0 instanceof Error&&_0x58f7d0[_0x462fb6(0x1b5)][_0x462fb6(0x1de)](_0x462fb6(0x1b7))?this[_0x462fb6(0x1ad)]=_0x462fb6(0x1f9):this[_0x462fb6(0x1ad)]=_0x462fb6(0x203);}finally{this[_0x462fb6(0x1df)]=null;}}async[_0x97d53(0x1c3)](){const _0x3821de=_0x97d53;this[_0x3821de(0x1b4)][_0x3821de(0x1c8)](),this[_0x3821de(0x1d7)][_0x3821de(0x1e9)]=0x0,this[_0x3821de(0x1ec)]=void 0x0,await this[_0x3821de(0x1af)]();}[_0x97d53(0x1c9)](_0x2cf906,_0x108a2c){const _0x3054ea=_0x97d53,_0x1dd68b=this[_0x3054ea(0x1b4)][_0x3054ea(0x201)](_0x2cf906);if(!_0x1dd68b)return;const _0x30e14d=[];_0x108a2c[_0x3054ea(0x1cb)]((_0x40cb1f,_0x40306c)=>{const _0x271ae7=_0x3054ea,_0x11813d=new _0xe44ef2(_0x1dd68b['id']+'-'+_0x40306c,_0x40cb1f,_0x1dd68b);_0x11813d['on'](_0x271ae7(0x1dd),()=>{const _0x1d930a=_0x271ae7;this[_0x1d930a(0x1a2)](_0x1d930a(0x1eb),{'change':_0x11813d,'status':_0x11813d[_0x1d930a(0x1ad)]});}),_0x11813d['on'](_0x271ae7(0x1bd),()=>{const _0x33854f=_0x271ae7;_0x11813d[_0x33854f(0x1f0)]?this[_0x33854f(0x1a2)](_0x33854f(0x1cd),{'change':_0x11813d}):this[_0x33854f(0x1a2)](_0x33854f(0x1ee),{'change':_0x11813d});}),this[_0x271ae7(0x1d7)][_0x271ae7(0x1c1)](_0x11813d),_0x30e14d[_0x271ae7(0x1c1)](_0x11813d);}),this[_0x3054ea(0x1a2)](_0x3054ea(0x1a9),{'changes':_0x30e14d,'result':_0x1dd68b,'source':this});}[_0x97d53(0x1f3)](){const _0xfb7f95=_0x97d53;this[_0xfb7f95(0x1df)]&&(this[_0xfb7f95(0x1df)][_0xfb7f95(0x202)][_0xfb7f95(0x1f3)](),this[_0xfb7f95(0x1df)]=null,this[_0xfb7f95(0x1ad)]=_0xfb7f95(0x1f9));}[_0x97d53(0x1b1)](_0xcb5713){const _0x2e110d=_0x97d53,_0x24afc2=this[_0x2e110d(0x1d7)][_0x2e110d(0x1a3)](_0x560613=>_0x560613['id']===_0xcb5713);return!(!_0x24afc2||_0x2e110d(0x1f2)!==_0x24afc2[_0x2e110d(0x1ad)]);}[_0x97d53(0x1bb)](){const _0x3af754=_0x97d53;return this[_0x3af754(0x1d7)][_0x3af754(0x1f1)](_0x5d3ed8=>!0x0===_0x5d3ed8[_0x3af754(0x1f0)]);}[_0x97d53(0x1b9)](){const _0x4233c8=_0x97d53;return this[_0x4233c8(0x1d7)][_0x4233c8(0x1a5)](_0x2d5183=>_0x4233c8(0x1f2)===_0x2d5183[_0x4233c8(0x1ad)]);}[_0x97d53(0x1fd)](_0x47e6ee){const _0x5ba4fd=_0x97d53;return this[_0x5ba4fd(0x1d7)][_0x5ba4fd(0x1a3)](_0x1f878f=>_0x1f878f['id']===_0x47e6ee);}[_0x97d53(0x1ed)](){const _0x1fced0=_0x97d53;for(const _0x1ddf55 of this[_0x1fced0(0x1d7)])_0x1fced0(0x1f2)===_0x1ddf55[_0x1fced0(0x1ad)]&&(_0x1ddf55[_0x1fced0(0x1ad)]=_0x1fced0(0x1b6));this[_0x1fced0(0x1e3)]();}[_0x97d53(0x1dc)](_0x45aa9a){const _0x1f706a=_0x97d53,_0x4de5b5=this[_0x1f706a(0x1d7)][_0x1f706a(0x1a3)](_0x1e32f7=>_0x1e32f7['id']===_0x45aa9a);_0x4de5b5&&_0x1f706a(0x1f2)===_0x4de5b5[_0x1f706a(0x1ad)]&&(_0x4de5b5[_0x1f706a(0x1ad)]=_0x1f706a(0x1b6)),this[_0x1f706a(0x1e3)]();}[_0x97d53(0x1fa)](_0x1e4a07){const _0x28df83=_0x97d53,_0x31f79e=this[_0x28df83(0x1d7)][_0x28df83(0x1a3)](_0x50da36=>_0x50da36['id']===_0x1e4a07);_0x31f79e&&_0x28df83(0x1f2)===_0x31f79e[_0x28df83(0x1ad)]&&(_0x31f79e[_0x28df83(0x1ad)]=_0x28df83(0x1e2)),this[_0x28df83(0x1e3)]();}[_0x97d53(0x1e5)](_0x1e634b){const _0x3ec750=_0x97d53,_0x355877=this[_0x3ec750(0x1d7)][_0x3ec750(0x1a3)](_0x7d978=>_0x7d978['id']===_0x1e634b);_0x355877&&_0x3ec750(0x1f2)===_0x355877[_0x3ec750(0x1ad)]&&(_0x355877[_0x3ec750(0x1ad)]=_0x3ec750(0x1ab)),this[_0x3ec750(0x1e3)]();}[_0x97d53(0x1d0)](_0x2290d0){const _0x296f3c=_0x97d53,_0x6c14a=this[_0x296f3c(0x1d7)][_0x296f3c(0x1a3)](_0x5187c8=>_0x5187c8['id']===_0x2290d0);_0x6c14a&&_0x296f3c(0x1ab)===_0x6c14a[_0x296f3c(0x1ad)]&&(_0x6c14a[_0x296f3c(0x1ad)]=_0x296f3c(0x1f2)),this[_0x296f3c(0x1e3)]();}[_0x97d53(0x1d8)](_0x2106a4){const _0x225a9c=_0x97d53;this[_0x225a9c(0x1d7)][_0x225a9c(0x1a5)](_0x5ca1de=>_0x5ca1de[_0x225a9c(0x1f0)]&&_0x5ca1de['id']!==_0x2106a4)[_0x225a9c(0x1cb)](_0x4ac060=>{const _0x518f9e=_0x225a9c;_0x4ac060[_0x518f9e(0x1f0)]=!0x1;});const _0x4f5082=this[_0x225a9c(0x1d7)][_0x225a9c(0x1a3)](_0x1f84d0=>_0x1f84d0['id']===_0x2106a4);_0x4f5082&&_0x225a9c(0x1f2)===_0x4f5082[_0x225a9c(0x1ad)]&&(_0x4f5082[_0x225a9c(0x1f0)]=!0x0);}[_0x97d53(0x1aa)](){const _0x26cbdb=_0x97d53;this[_0x26cbdb(0x1d7)][_0x26cbdb(0x1a5)](_0x227fdf=>_0x227fdf[_0x26cbdb(0x1f0)])[_0x26cbdb(0x1cb)](_0xc14c75=>{const _0x332229=_0x26cbdb;_0xc14c75[_0x332229(0x1f0)]=!0x1;});}[_0x97d53(0x1d3)](){const _0x33b5f2=_0x97d53;this[_0x33b5f2(0x1ad)]=_0x33b5f2(0x1b8);}async[_0x97d53(0x1d4)](_0x5edb22){const _0x242714=_0x97d53;if(_0x242714(0x1a4)===this[_0x242714(0x1ad)]||_0x242714(0x1cc)===this[_0x242714(0x1ad)]||_0x242714(0x1a7)===this[_0x242714(0x1ad)])return;if(!this[_0x242714(0x1a6)]||0x0===this[_0x242714(0x1d7)][_0x242714(0x1e9)])return;let _0x12555f;if(_0x5edb22){const _0x5e17f8=this[_0x242714(0x1d7)][_0x242714(0x1a3)](_0x34b840=>_0x34b840['id']===_0x5edb22);if(_0x5e17f8&&_0x5e17f8[_0x242714(0x1e7)])return;_0x5e17f8&&(_0x12555f=_0x5e17f8[_0x242714(0x1d6)]['id'],_0x5e17f8[_0x242714(0x1e7)]=!0x0);}const _0x33584a={'positiveCount':this[_0x242714(0x1d7)][_0x242714(0x1a5)](_0x311426=>_0x242714(0x1b6)===_0x311426[_0x242714(0x1ad)])[_0x242714(0x1e9)],'totalCount':this[_0x242714(0x1d7)][_0x242714(0x1e9)]};this[_0x242714(0x1bc)](_0x33584a,this[_0x242714(0x1a6)],_0x12555f);}[_0x97d53(0x1c7)](_0x3f9ced,_0x445d2c){const _0x471696=_0x97d53,_0x48aabf=this[_0x471696(0x1a1)][_0x471696(0x204)][_0x471696(0x201)](_0x3f9ced);if(!_0x48aabf)return;const _0x2a1f7e=_0x48aabf[_0x471696(0x1d1)]();if(_0x2a1f7e===_0x445d2c)return;const _0x12d6d6=new _0x55587e({'id':_0x3f9ced,'contentInitial':_0x2a1f7e,'contentNew':_0x445d2c,'documentVersion':this[_0x471696(0x1a1)][_0x471696(0x1e6)]});this[_0x471696(0x1b4)][_0x471696(0x1f6)](_0x12d6d6['id'],_0x12d6d6),this[_0x471696(0x1a2)](_0x471696(0x1d9),{'result':_0x12d6d6,'source':this});}[_0x97d53(0x1e3)](){const _0x5a8389=_0x97d53;_0x5a8389(0x1fe)===this[_0x5a8389(0x1ad)]&&(this[_0x5a8389(0x1d7)][_0x5a8389(0x1a5)](_0x579ce5=>_0x5a8389(0x1f2)===_0x579ce5[_0x5a8389(0x1ad)])[_0x5a8389(0x1e9)]>0x0&&(this[_0x5a8389(0x1ad)]=_0x5a8389(0x1b8))),_0x5a8389(0x1b8)===this[_0x5a8389(0x1ad)]&&(0x0===this[_0x5a8389(0x1d7)][_0x5a8389(0x1a5)](_0xa67d83=>_0x5a8389(0x1f2)===_0xa67d83[_0x5a8389(0x1ad)])[_0x5a8389(0x1e9)]&&(this[_0x5a8389(0x1ad)]=_0x5a8389(0x1fe)));}}
|
|
23
|
+
const _0x3ce93b=_0x18d7;(function(_0x1e55f7,_0x414ccf){const _0x331fc2=_0x18d7,_0x205e6c=_0x1e55f7();while(!![]){try{const _0x4d8281=-parseInt(_0x331fc2(0x104))/0x1*(-parseInt(_0x331fc2(0x140))/0x2)+-parseInt(_0x331fc2(0x150))/0x3*(-parseInt(_0x331fc2(0x158))/0x4)+-parseInt(_0x331fc2(0x136))/0x5*(parseInt(_0x331fc2(0x108))/0x6)+-parseInt(_0x331fc2(0x12e))/0x7+parseInt(_0x331fc2(0x105))/0x8*(parseInt(_0x331fc2(0x11a))/0x9)+-parseInt(_0x331fc2(0x157))/0xa+parseInt(_0x331fc2(0x151))/0xb;if(_0x4d8281===_0x414ccf)break;else _0x205e6c['push'](_0x205e6c['shift']());}catch(_0x3426f9){_0x205e6c['push'](_0x205e6c['shift']());}}}(_0x1d66,0x51bd0));function _0x1d66(){const _0xd5670=['isActivated','event','updateDocumentData','length','reviewCheckResultAdded','258570gqMsjd','4FLBOHV','sendRating','filter','callId','error','pending','_reviewParams','activateChange','ready','set','textDelta','reviewCheckResultDeactivated','deactivateChange','parent','markChangeAsAccepted','aborted','isChangeActive','29kkGwqC','568VGrqOJ','getChangeById','documentData','69018eUeyJr','change:isActivated','_results','reviewCheckRunUpdated','size','abortController','accepted','clear','isRated','subTitle','unmodified','_documentData','_currentError','some','initialized','addResultChanges','change:status','forceReadyState','27531fXfvBx','_checkIfFinished','_sendRatingRequest','markChangeAsRejected','find','getContent','dataId','reviewCheckResultReady','every','loading','_activeRequest','finished','restart','ai-request-aborted','_reviewArgs','processedResultsCount','error-chunk','operation','error-general','_aiConnector','3656996VbTYos','forEach','status','get','_sourceCheck','_addReviewCheckResult','markAllChangesAsAccepted','reviewCheckResultActivated','205nXVrnU','elements','abort','isAnyChangeActivated','message','getStream','_changes','start','currentError','outdated','942wteNKl','markChangeAsPending','hasModifications','review-metadata','reviewName','push','_createApiRequest','title','rejected','version','getActiveChanges','reviewCheckResultChangeStatusUpdated','data','fire','markChangeAsOutdated','includes','1550877jKRCHK','6675911mQKaim'];_0x1d66=function(){return _0xd5670;};return _0x1d66();}import{ObservableMixin as _0x5955c,uid as _0xb0c93}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x215ed0}from'./aireviewcheckresult.js';function _0x18d7(_0x437e27,_0x16200c){const _0x1d6674=_0x1d66();return _0x18d7=function(_0x18d749,_0x354fea){_0x18d749=_0x18d749-0xfb;let _0x48e603=_0x1d6674[_0x18d749];return _0x48e603;},_0x18d7(_0x437e27,_0x16200c);}import{AIReviewCheckResultChange as _0x12663c}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x5955c(){['id']=_0xb0c93();[_0x3ce93b(0x15b)];[_0x3ce93b(0x10a)]=new Map();[_0x3ce93b(0x13c)]=[];[_0x3ce93b(0x132)];[_0x3ce93b(0x113)];[_0x3ce93b(0x12d)];[_0x3ce93b(0x15e)];[_0x3ce93b(0x128)];[_0x3ce93b(0x124)]=null;[_0x3ce93b(0x114)];constructor(_0x175c96,_0x25b8d9,_0x44b24c,_0x8668ca,_0x3ffc04){const _0x222da8=_0x3ce93b;super(),this[_0x222da8(0x132)]=_0x25b8d9,this[_0x222da8(0x113)]=_0x175c96,this[_0x222da8(0x12d)]=_0x44b24c,this[_0x222da8(0x15e)]=_0x8668ca,this[_0x222da8(0x128)]=_0x3ffc04,this['on'](_0x222da8(0x118),(_0x4332d8,_0x2eeb13,_0x12caa9)=>{const _0x7ec54c=_0x222da8;this[_0x7ec54c(0x14d)](_0x7ec54c(0x10b),{'status':_0x12caa9,'run':this,'error':this[_0x7ec54c(0x114)]});}),this[_0x222da8(0xfc)](_0x222da8(0x130),_0x222da8(0x116));}get[_0x3ce93b(0x107)](){const _0x5b6066=_0x3ce93b;return this[_0x5b6066(0x113)];}get[_0x3ce93b(0x129)](){const _0x279020=_0x3ce93b;return this[_0x279020(0x10a)][_0x279020(0x10c)];}get[_0x3ce93b(0x147)](){const _0x15c42e=_0x3ce93b;return this[_0x15c42e(0x132)][_0x15c42e(0x147)];}get[_0x3ce93b(0x111)](){return'';}get[_0x3ce93b(0x144)](){const _0x293da8=_0x3ce93b;return this[_0x293da8(0x132)]['id'];}get[_0x3ce93b(0x142)](){const _0x216063=_0x3ce93b;return!this[_0x216063(0x13c)][_0x216063(0x122)](_0x131882=>_0x216063(0x15d)===_0x131882[_0x216063(0x130)]);}get[_0x3ce93b(0x13e)](){const _0x4df5db=_0x3ce93b;return this[_0x4df5db(0x114)];}[_0x3ce93b(0x154)](_0x583fb1){const _0x24f919=_0x3ce93b;this[_0x24f919(0x113)]=_0x583fb1;}async[_0x3ce93b(0x13d)](){const _0x2de1db=_0x3ce93b;this[_0x2de1db(0x130)]=_0x2de1db(0x123),this[_0x2de1db(0x114)]=void 0x0;try{this[_0x2de1db(0x124)]=this[_0x2de1db(0x146)]();const _0x1226d8=await this[_0x2de1db(0x124)][_0x2de1db(0x13b)]();this[_0x2de1db(0x130)]=_0x2de1db(0x14c);for await(const _0x24f05e of _0x1226d8)_0x2de1db(0x112)!==_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x12b)]&&(_0x2de1db(0x15c)!==_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x12b)]?_0x2de1db(0x143)!==_0x24f05e[_0x2de1db(0x153)]?this[_0x2de1db(0x133)](_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x120)],_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0xfd)]):this[_0x2de1db(0x15b)]=_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x15b)]:this[_0x2de1db(0x130)]=_0x2de1db(0x12a));_0x2de1db(0x12a)!==this[_0x2de1db(0x130)]&&(0x0===this[_0x2de1db(0x10a)][_0x2de1db(0x10c)]?this[_0x2de1db(0x130)]=_0x2de1db(0x112):this[_0x2de1db(0x130)]=_0x2de1db(0xfb));}catch(_0x43109a){this[_0x2de1db(0x114)]=_0x43109a,_0x43109a instanceof Error&&_0x43109a[_0x2de1db(0x13a)][_0x2de1db(0x14f)](_0x2de1db(0x127))?this[_0x2de1db(0x130)]=_0x2de1db(0x102):this[_0x2de1db(0x130)]=_0x2de1db(0x12c);}finally{this[_0x2de1db(0x124)]=null;}}async[_0x3ce93b(0x126)](){const _0x3410bb=_0x3ce93b;this[_0x3410bb(0x10a)][_0x3410bb(0x10f)](),this[_0x3410bb(0x13c)][_0x3410bb(0x155)]=0x0,this[_0x3410bb(0x114)]=void 0x0,await this[_0x3410bb(0x13d)]();}[_0x3ce93b(0x117)](_0x404120,_0x3bff9b){const _0x5cba15=_0x3ce93b,_0x6490f2=this[_0x5cba15(0x10a)][_0x5cba15(0x131)](_0x404120);if(!_0x6490f2)return;const _0x152e4b=[];_0x3bff9b[_0x5cba15(0x12f)]((_0x2ea222,_0x1fc7ec)=>{const _0x405e68=_0x5cba15,_0x4f894e=new _0x12663c(_0x6490f2['id']+'-'+_0x1fc7ec,_0x2ea222,_0x6490f2);_0x4f894e['on'](_0x405e68(0x118),()=>{const _0x58b90c=_0x405e68;this[_0x58b90c(0x14d)](_0x58b90c(0x14b),{'change':_0x4f894e,'status':_0x4f894e[_0x58b90c(0x130)]});}),_0x4f894e['on'](_0x405e68(0x109),()=>{const _0x3124e1=_0x405e68;_0x4f894e[_0x3124e1(0x152)]?this[_0x3124e1(0x14d)](_0x3124e1(0x135),{'change':_0x4f894e}):this[_0x3124e1(0x14d)](_0x3124e1(0xfe),{'change':_0x4f894e});}),this[_0x405e68(0x13c)][_0x405e68(0x145)](_0x4f894e),_0x152e4b[_0x405e68(0x145)](_0x4f894e);}),this[_0x5cba15(0x14d)](_0x5cba15(0x121),{'changes':_0x152e4b,'result':_0x6490f2,'source':this});}[_0x3ce93b(0x138)](){const _0x501042=_0x3ce93b;this[_0x501042(0x124)]&&(this[_0x501042(0x124)][_0x501042(0x10d)][_0x501042(0x138)](),this[_0x501042(0x124)]=null,this[_0x501042(0x130)]=_0x501042(0x102));}[_0x3ce93b(0x103)](_0x1b807c){const _0x38a9ed=_0x3ce93b,_0x23a3ad=this[_0x38a9ed(0x13c)][_0x38a9ed(0x11e)](_0x2b81ad=>_0x2b81ad['id']===_0x1b807c);return!(!_0x23a3ad||_0x38a9ed(0x15d)!==_0x23a3ad[_0x38a9ed(0x130)]);}[_0x3ce93b(0x139)](){const _0x4bed65=_0x3ce93b;return this[_0x4bed65(0x13c)][_0x4bed65(0x115)](_0x558b88=>!0x0===_0x558b88[_0x4bed65(0x152)]);}[_0x3ce93b(0x14a)](){const _0x4e422b=_0x3ce93b;return this[_0x4e422b(0x13c)][_0x4e422b(0x15a)](_0x38a1fa=>_0x4e422b(0x15d)===_0x38a1fa[_0x4e422b(0x130)]);}[_0x3ce93b(0x106)](_0x49812e){const _0x4da0e4=_0x3ce93b;return this[_0x4da0e4(0x13c)][_0x4da0e4(0x11e)](_0x181516=>_0x181516['id']===_0x49812e);}[_0x3ce93b(0x134)](){const _0x85353=_0x3ce93b;for(const _0x38e0f6 of this[_0x85353(0x13c)])_0x85353(0x15d)===_0x38e0f6[_0x85353(0x130)]&&(_0x38e0f6[_0x85353(0x130)]=_0x85353(0x10e));this[_0x85353(0x11b)]();}[_0x3ce93b(0x101)](_0x327c40){const _0x145826=_0x3ce93b,_0x3a268c=this[_0x145826(0x13c)][_0x145826(0x11e)](_0x2830dd=>_0x2830dd['id']===_0x327c40);_0x3a268c&&_0x145826(0x15d)===_0x3a268c[_0x145826(0x130)]&&(_0x3a268c[_0x145826(0x130)]=_0x145826(0x10e)),this[_0x145826(0x11b)]();}[_0x3ce93b(0x11d)](_0x4134d6){const _0x12f353=_0x3ce93b,_0x371892=this[_0x12f353(0x13c)][_0x12f353(0x11e)](_0x1d5306=>_0x1d5306['id']===_0x4134d6);_0x371892&&_0x12f353(0x15d)===_0x371892[_0x12f353(0x130)]&&(_0x371892[_0x12f353(0x130)]=_0x12f353(0x148)),this[_0x12f353(0x11b)]();}[_0x3ce93b(0x14e)](_0x28f0f0){const _0x1d3fc8=_0x3ce93b,_0x5b7c58=this[_0x1d3fc8(0x13c)][_0x1d3fc8(0x11e)](_0x505fde=>_0x505fde['id']===_0x28f0f0);_0x5b7c58&&_0x1d3fc8(0x15d)===_0x5b7c58[_0x1d3fc8(0x130)]&&(_0x5b7c58[_0x1d3fc8(0x130)]=_0x1d3fc8(0x13f)),this[_0x1d3fc8(0x11b)]();}[_0x3ce93b(0x141)](_0x5a3b65){const _0x364490=_0x3ce93b,_0xbcf7e9=this[_0x364490(0x13c)][_0x364490(0x11e)](_0xbdbe29=>_0xbdbe29['id']===_0x5a3b65);_0xbcf7e9&&_0x364490(0x13f)===_0xbcf7e9[_0x364490(0x130)]&&(_0xbcf7e9[_0x364490(0x130)]=_0x364490(0x15d)),this[_0x364490(0x11b)]();}[_0x3ce93b(0x15f)](_0x357490){const _0x504501=_0x3ce93b;this[_0x504501(0x13c)][_0x504501(0x15a)](_0x464561=>_0x464561[_0x504501(0x152)]&&_0x464561['id']!==_0x357490)[_0x504501(0x12f)](_0x296594=>{const _0x5b96f4=_0x504501;_0x296594[_0x5b96f4(0x152)]=!0x1;});const _0x257044=this[_0x504501(0x13c)][_0x504501(0x11e)](_0x4b231d=>_0x4b231d['id']===_0x357490);_0x257044&&_0x504501(0x15d)===_0x257044[_0x504501(0x130)]&&(_0x257044[_0x504501(0x152)]=!0x0);}[_0x3ce93b(0xff)](){const _0x57ae0d=_0x3ce93b;this[_0x57ae0d(0x13c)][_0x57ae0d(0x15a)](_0x281c15=>_0x281c15[_0x57ae0d(0x152)])[_0x57ae0d(0x12f)](_0x3f7300=>{const _0x46f01a=_0x57ae0d;_0x3f7300[_0x46f01a(0x152)]=!0x1;});}[_0x3ce93b(0x119)](){const _0x338880=_0x3ce93b;this[_0x338880(0x130)]=_0x338880(0xfb);}async[_0x3ce93b(0x159)](_0x31257e){const _0x14db4f=_0x3ce93b;if(_0x14db4f(0x116)===this[_0x14db4f(0x130)]||_0x14db4f(0x123)===this[_0x14db4f(0x130)]||_0x14db4f(0x14c)===this[_0x14db4f(0x130)])return;if(!this[_0x14db4f(0x15b)]||0x0===this[_0x14db4f(0x13c)][_0x14db4f(0x155)])return;let _0x1b2f60;if(_0x31257e){const _0xd13cd7=this[_0x14db4f(0x13c)][_0x14db4f(0x11e)](_0x21ebb6=>_0x21ebb6['id']===_0x31257e);if(_0xd13cd7&&_0xd13cd7[_0x14db4f(0x110)])return;_0xd13cd7&&(_0x1b2f60=_0xd13cd7[_0x14db4f(0x100)]['id'],_0xd13cd7[_0x14db4f(0x110)]=!0x0);}const _0x1f3d8a={'positiveCount':this[_0x14db4f(0x13c)][_0x14db4f(0x15a)](_0x7e1287=>_0x14db4f(0x10e)===_0x7e1287[_0x14db4f(0x130)])[_0x14db4f(0x155)],'totalCount':this[_0x14db4f(0x13c)][_0x14db4f(0x155)]};this[_0x14db4f(0x11c)](_0x1f3d8a,this[_0x14db4f(0x15b)],_0x1b2f60);}[_0x3ce93b(0x133)](_0x241694,_0x1b2ee6){const _0x452690=_0x3ce93b,_0x36ff64=this[_0x452690(0x113)][_0x452690(0x137)][_0x452690(0x131)](_0x241694);if(!_0x36ff64)return;const _0x3ba562=_0x36ff64[_0x452690(0x11f)]();if(_0x3ba562===_0x1b2ee6)return;const _0x49a509=new _0x215ed0({'id':_0x241694,'contentInitial':_0x3ba562,'contentNew':_0x1b2ee6,'documentVersion':this[_0x452690(0x113)][_0x452690(0x149)]});this[_0x452690(0x10a)][_0x452690(0xfc)](_0x49a509['id'],_0x49a509),this[_0x452690(0x14d)](_0x452690(0x156),{'result':_0x49a509,'source':this});}[_0x3ce93b(0x11b)](){const _0x4cb8b3=_0x3ce93b;_0x4cb8b3(0x125)===this[_0x4cb8b3(0x130)]&&(this[_0x4cb8b3(0x13c)][_0x4cb8b3(0x15a)](_0x3bae4d=>_0x4cb8b3(0x15d)===_0x3bae4d[_0x4cb8b3(0x130)])[_0x4cb8b3(0x155)]>0x0&&(this[_0x4cb8b3(0x130)]=_0x4cb8b3(0xfb))),_0x4cb8b3(0xfb)===this[_0x4cb8b3(0x130)]&&(0x0===this[_0x4cb8b3(0x13c)][_0x4cb8b3(0x15a)](_0x59bbf6=>_0x4cb8b3(0x15d)===_0x59bbf6[_0x4cb8b3(0x130)])[_0x4cb8b3(0x155)]&&(this[_0x4cb8b3(0x130)]=_0x4cb8b3(0x125)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3b49(_0x1ee899,_0xbb7183){var _0x4f040d=_0x4f04();return _0x3b49=function(_0x3b49b3,_0x20aba1){_0x3b49b3=_0x3b49b3-0x14d;var _0x194d25=_0x4f040d[_0x3b49b3];return _0x194d25;},_0x3b49(_0x1ee899,_0xbb7183);}var _0x59f693=_0x3b49;(function(_0x18c4fe,_0x1f09b2){var _0x1fa509=_0x3b49,_0x28a46b=_0x18c4fe();while(!![]){try{var _0x3190ae=parseInt(_0x1fa509(0x153))/0x1*(-parseInt(_0x1fa509(0x15e))/0x2)+parseInt(_0x1fa509(0x154))/0x3*(parseInt(_0x1fa509(0x161))/0x4)+-parseInt(_0x1fa509(0x150))/0x5*(-parseInt(_0x1fa509(0x15a))/0x6)+parseInt(_0x1fa509(0x162))/0x7+parseInt(_0x1fa509(0x151))/0x8*(-parseInt(_0x1fa509(0x15b))/0x9)+-parseInt(_0x1fa509(0x152))/0xa*(-parseInt(_0x1fa509(0x157))/0xb)+-parseInt(_0x1fa509(0x15c))/0xc;if(_0x3190ae===_0x1f09b2)break;else _0x28a46b['push'](_0x28a46b['shift']());}catch(_0x425f5d){_0x28a46b['push'](_0x28a46b['shift']());}}}(_0x4f04,0xbd9cb));function _0x4f04(){var _0x1b7398=['upsertCustomAIReviewRating','12441RytPMv','_model','_aiConnector','2503536tnwiSv','9cipWLV','16285188AnmuAC','_createApiRequest','38qGYawF','_documentData','callCustomReview','4zpSXis','9934393MBvHrZ','content','subTitle','_prompt','5CNNJjv','7621192sDskds','3120YvTiRh','19621ItqGwL','3809613JFJOGr','_sendRatingRequest'];_0x4f04=function(){return _0x1b7398;};return _0x4f04();}import{AIReviewCheckRun as _0x254362}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x254362{[_0x59f693(0x14f)];[_0x59f693(0x158)];constructor(_0x507f26,_0x246c45,_0x10cfed,_0x3536f5,_0x13be22){var _0x423ff5=_0x59f693;super(_0x10cfed,_0x3536f5,_0x13be22),this[_0x423ff5(0x14f)]=_0x507f26,this[_0x423ff5(0x158)]=_0x246c45;}get[_0x59f693(0x14e)](){var _0x547126=_0x59f693;return this[_0x547126(0x14f)];}[_0x59f693(0x15d)](){var _0x2d93e6=_0x59f693;return this[_0x2d93e6(0x159)][_0x2d93e6(0x160)]({'content':this[_0x2d93e6(0x15f)][_0x2d93e6(0x14d)],'prompt':this[_0x2d93e6(0x14f)],'model':this[_0x2d93e6(0x158)]});}[_0x59f693(0x155)](_0x4797d2,_0x136372,_0x4f6ae7){var _0x4e36f3=_0x59f693;return this[_0x4e36f3(0x159)][_0x4e36f3(0x156)](_0x136372,_0x4797d2,_0x4f6ae7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f29b4=_0x46cf;(function(_0x18045e,_0x274eb0){const _0x22a155=_0x46cf,_0x44b34d=_0x18045e();while(!![]){try{const _0x307816=parseInt(_0x22a155(0x1bd))/0x1+-parseInt(_0x22a155(0x1ac))/0x2+-parseInt(_0x22a155(0x1c5))/0x3*(parseInt(_0x22a155(0x1ae))/0x4)+parseInt(_0x22a155(0x1b5))/0x5*(-parseInt(_0x22a155(0x1b3))/0x6)+parseInt(_0x22a155(0x1be))/0x7+parseInt(_0x22a155(0x1b2))/0x8+-parseInt(_0x22a155(0x1a7))/0x9*(-parseInt(_0x22a155(0x1bf))/0xa);if(_0x307816===_0x274eb0)break;else _0x44b34d['push'](_0x44b34d['shift']());}catch(_0x514229){_0x44b34d['push'](_0x44b34d['shift']());}}}(_0x15fb,0xeb194));import{AIReviewCheckRun as _0x3296e7}from'./aireviewcheckrun.js';function _0x15fb(){const _0xc67b2c=['_reviewParams','_aiConnector','upsertAIReviewRating','785257INzjTn','8175356mJLtXD','10OrVeWX','callSystemReview','push','_documentData','find','_sendRatingRequest','15nLtuSI','9889227ZfVQXh','options','_reviewArgs','_createApiRequest','subTitle','3091598YwSesj','content','556904wSclqE','length','_sourceCheck','data','12888688LWyair','786HcOJhN','reviewName','55655EOSSNj','_composeReviewName','label','join','useArgs'];_0x15fb=function(){return _0xc67b2c;};return _0x15fb();}function _0x46cf(_0x3e3e5b,_0x531a61){const _0x15fb6d=_0x15fb();return _0x46cf=function(_0x46cf5d,_0x4c9bb0){_0x46cf5d=_0x46cf5d-0x1a7;let _0x19ff99=_0x15fb6d[_0x46cf5d];return _0x19ff99;},_0x46cf(_0x3e3e5b,_0x531a61);}export class AIReviewSystemCheckRun extends _0x3296e7{get[_0x4f29b4(0x1ab)](){const _0x375447=_0x4f29b4;if(!this[_0x375447(0x1ba)]||0x0===this[_0x375447(0x1ba)][_0x375447(0x1af)])return'';const _0xb24452=[];if(this[_0x375447(0x1ba)][_0x375447(0x1af)]>0x0&&this[_0x375447(0x1b0)][_0x375447(0x1a8)])for(let _0x322958=0x0;_0x322958<this[_0x375447(0x1ba)][_0x375447(0x1af)];_0x322958++){if(!this[_0x375447(0x1ba)][_0x322958]||!this[_0x375447(0x1b0)][_0x375447(0x1a8)][_0x322958])continue;const _0x33bc5c=this[_0x375447(0x1b0)][_0x375447(0x1a8)][_0x322958],_0x415e56=_0x33bc5c[_0x375447(0x1b1)]?.[_0x375447(0x1c3)](_0x5eff9a=>_0x5eff9a['id']===this[_0x375447(0x1ba)][_0x322958]);_0x415e56&&_0xb24452[_0x375447(0x1c1)](_0x415e56[_0x375447(0x1b7)]);}return _0xb24452[_0x375447(0x1b8)](',\x20');}get[_0x4f29b4(0x1b4)](){const _0x451e9f=_0x4f29b4;return this[_0x451e9f(0x1b6)]();}[_0x4f29b4(0x1aa)](){const _0xa2f300=_0x4f29b4;return this[_0xa2f300(0x1bb)][_0xa2f300(0x1c0)]({'reviewName':this[_0xa2f300(0x1b6)](),'content':this[_0xa2f300(0x1c2)][_0xa2f300(0x1ad)],'args':this[_0xa2f300(0x1a9)]});}[_0x4f29b4(0x1c4)](_0x2a58ce,_0x179e02,_0x74b6d4){const _0x3de754=_0x4f29b4;return this[_0x3de754(0x1bb)][_0x3de754(0x1bc)](this[_0x3de754(0x1b4)],_0x179e02,_0x2a58ce,_0x74b6d4);}[_0x4f29b4(0x1b6)](){const _0x1b8a30=_0x4f29b4;return!this[_0x1b8a30(0x1ba)]||0x0===this[_0x1b8a30(0x1ba)][_0x1b8a30(0x1af)]||this[_0x1b8a30(0x1b0)][_0x1b8a30(0x1b9)]?this[_0x1b8a30(0x1b0)]['id']:[this[_0x1b8a30(0x1b0)]['id'],...this[_0x1b8a30(0x1ba)]][_0x1b8a30(0x1b8)]('-');}}
|