@ckeditor/ckeditor5-ai 47.6.1 → 47.6.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/LICENSE.md +0 -4
- package/build/ai.js +2 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -0
- package/package.json +15 -16
- 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.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- 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/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.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/ui/aichatballoonview.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/aichatfeedcustomelementview.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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.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/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x347417=_0x4b90;(function(_0x1788e7,_0x258fd4){const _0x5e68cd=_0x4b90,_0x23735c=_0x1788e7();while(!![]){try{const _0x25cd02=-parseInt(_0x5e68cd(0xa0))/0x1*(parseInt(_0x5e68cd(0xbe))/0x2)+parseInt(_0x5e68cd(0xb4))/0x3*(parseInt(_0x5e68cd(0x71))/0x4)+-parseInt(_0x5e68cd(0x6d))/0x5*(-parseInt(_0x5e68cd(0x78))/0x6)+-parseInt(_0x5e68cd(0x8d))/0x7*(-parseInt(_0x5e68cd(0x6f))/0x8)+-parseInt(_0x5e68cd(0x7a))/0x9+-parseInt(_0x5e68cd(0x8a))/0xa*(parseInt(_0x5e68cd(0x83))/0xb)+parseInt(_0x5e68cd(0x6a))/0xc*(parseInt(_0x5e68cd(0xa4))/0xd);if(_0x25cd02===_0x258fd4)break;else _0x23735c['push'](_0x23735c['shift']());}catch(_0x512b10){_0x23735c['push'](_0x23735c['shift']());}}}(_0x1704,0x5fbad));import{ContextPlugin as _0x5665dd}from'ckeditor5/src/core.js';import{BodyCollection as _0x5579c6}from'ckeditor5/src/ui.js';import{getTranslation as _0xde64f6}from'../aicore/utils/common-translations.js';import{AITabs as _0x843c27}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x1755d5}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x347417(0xa6),_0x347417(0x98),_0x347417(0xae),_0x347417(0x7f),_0x347417(0x8c),_0x347417(0xad),_0x347417(0xac),_0x347417(0xbb),_0x347417(0x6b),_0x347417(0xa3),_0x347417(0xa9),_0x347417(0xab),_0x347417(0x9d)];import'../../theme/common/aiheader.css';import'../../theme/common/ainotification.css';function _0x4b90(_0x24d5a5,_0x4d5d48){const _0x1704da=_0x1704();return _0x4b90=function(_0x4b90f6,_0x369b7e){_0x4b90f6=_0x4b90f6-0x65;let _0x5d4be3=_0x1704da[_0x4b90f6];return _0x5d4be3;},_0x4b90(_0x24d5a5,_0x4d5d48);}import'../../theme/common/aibutton.css';import'../../theme/common/aitrackchanges.css';function _0x1704(){const _0x550979=['hideActionsWhenResultIsReady','toggleDiff','showActionsWhenResultIsReady','updateChangeState','showCheckRunResult','11yUtizt','showBalloon','hideResult','forEach','hasChecks','registerTab','context','2160260xGbwfI','setTitle','acceptAllChanges','35GKHRVb','setItemAsInactive','showReviewCheckListView','showReviewCheckResultsView','showGeneralResultsErrorView','accepted','outdated','showNoChangesView','_bodyCollection','get','destroy','runReviewCheck','fire','hideBalloon','hideChangeBalloon','showDiffInBalloon','retryReview','status','error-general','178851bOlmPK','attachToDom','setAvailableChecks','dismissChange','91erFZXD','rejected','getReviewCheckList','showReviewCheckList','showCheckRunResults','learnMore','getResults','finishReview','activateChange','leaveReviewCoreResultList','abortReviewStream','setCheckResultTitle','setChecks','_mainView','showResult','AITabs','9YWPSFy','delegate','createMainView','plugins','ai.models.showModelSelector','addCheckRunResult','locale','deactivateChange','error-chunk','setItemAsActive','6mQCFwH','element','isPremiumPlugin','requires','hideDiffInBalloon','getChangeElement','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','showGeneralReviewCoreErrorView','321756bEQkaS','acceptChange','detachFromDom','5eQKAsX','showReviewCompletedView','942920WlenkS','_balloonSuggestionView','725668pvntuV','resetActiveStateInResults','reviewCheckListView','find','init','config','setActiveStateInResults','1238502QFGPfO','showChunkErrorView','3446964nivBsF','reviewCheckResultsView','isOfficialPlugin','showChangeBalloon'];_0x1704=function(){return _0x550979;};return _0x1704();}import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x5665dd{[_0x347417(0xb1)];[_0x347417(0x70)];[_0x347417(0x95)];static get[_0x347417(0x65)](){return[_0x843c27];}static get[_0x347417(0x7c)](){return!0x0;}static get[_0x347417(0xc0)](){return!0x0;}constructor(_0x1ee3fd){const _0x45f8da=_0x347417;super(_0x1ee3fd),this[_0x45f8da(0x95)]=new _0x5579c6(this[_0x45f8da(0x89)][_0x45f8da(0xba)]),this[_0x45f8da(0x95)][_0x45f8da(0xa1)](),this[_0x45f8da(0xb1)]=this[_0x45f8da(0xb6)](),this[_0x45f8da(0xb1)][_0x45f8da(0xb5)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x45f8da(0x70)]=new _0x1755d5(this[_0x45f8da(0x89)][_0x45f8da(0xba)],this[_0x45f8da(0x95)]),this[_0x45f8da(0x70)][_0x45f8da(0xb5)](_0x45f8da(0x6b),_0x45f8da(0xa3),_0x45f8da(0xbb))['to'](this);}[_0x347417(0x75)](){const _0x6bb172=_0x347417,_0x356ed5=this[_0x6bb172(0x89)][_0x6bb172(0xb7)][_0x6bb172(0x96)](_0x6bb172(0xb3));this[_0x6bb172(0x88)](_0x356ed5);}[_0x347417(0x97)](){const _0x27fbab=_0x347417;this[_0x27fbab(0x95)][_0x27fbab(0x6c)](),super[_0x27fbab(0x97)]();}[_0x347417(0xa2)](_0x7c14a4){const _0x6e8338=_0x347417;if(!this[_0x6e8338(0xb1)][_0x6e8338(0x73)][_0x6e8338(0x87)]()){const _0x297121=!this[_0x6e8338(0x89)][_0x6e8338(0x76)][_0x6e8338(0x96)](_0x6e8338(0xb8));this[_0x6e8338(0xb1)][_0x6e8338(0x73)][_0x6e8338(0xb0)](_0x7c14a4,_0x297121);}this[_0x6e8338(0xb1)][_0x6e8338(0x8f)]();}[_0x347417(0xa7)](){const _0x41e885=_0x347417;this[_0x41e885(0x99)](_0x41e885(0xa6));}[_0x347417(0xa8)](_0x16bad8){const _0x463331=_0x347417;_0x16bad8&&(_0x463331(0x9f)!==_0x16bad8[_0x463331(0x9e)]?_0x463331(0xbc)!==_0x16bad8[_0x463331(0x9e)]?this[_0x463331(0xb1)][_0x463331(0x90)]():this[_0x463331(0x79)]():this[_0x463331(0x91)]());}[_0x347417(0x82)](_0x50df09){const _0x359cc7=_0x347417;this[_0x359cc7(0xb1)][_0x359cc7(0xb9)](_0x50df09);}[_0x347417(0x91)](){const _0x590488=_0x347417;this[_0x590488(0xb1)][_0x590488(0x91)]();}[_0x347417(0x69)](_0x3133b1){const _0x3821b2=_0x347417;this[_0x3821b2(0xb1)][_0x3821b2(0x69)](_0x3133b1??_0xde64f6(this[_0x3821b2(0x89)][_0x3821b2(0xba)],_0x3821b2(0x68)));}[_0x347417(0x79)](){const _0x58ead2=_0x347417;this[_0x58ead2(0xb1)][_0x58ead2(0x79)]();}[_0x347417(0xaf)](_0x14736d,_0x4a2806){const _0x4015fb=_0x347417;this[_0x4015fb(0xb1)][_0x4015fb(0x7b)][_0x4015fb(0x8b)](_0x14736d,_0x4a2806);}[_0x347417(0x77)](_0x19460a){const _0x22e534=_0x347417;this[_0x22e534(0xb1)][_0x22e534(0x7b)][_0x22e534(0xaa)]()[_0x22e534(0x86)](_0x412963=>{const _0x16ee84=_0x22e534;_0x412963['id']===_0x19460a&&_0x412963[_0x16ee84(0xbd)]();});}[_0x347417(0x72)](){const _0x55594a=_0x347417;this[_0x55594a(0xb1)][_0x55594a(0x7b)][_0x55594a(0xaa)]()[_0x55594a(0x86)](_0x3fd16c=>_0x3fd16c[_0x55594a(0x8e)]());}[_0x347417(0x81)](_0x45add4,_0x47da22){const _0x27281c=_0x347417;_0x27281c(0x92)===_0x47da22||_0x27281c(0xa5)===_0x47da22||_0x27281c(0x93)===_0x47da22?this[_0x27281c(0xb1)][_0x27281c(0x7b)][_0x27281c(0x85)](_0x45add4,_0x47da22):this[_0x27281c(0xb1)][_0x27281c(0x7b)][_0x27281c(0xb2)](_0x45add4,_0x47da22);}[_0x347417(0x6e)](){const _0x2b6ad1=_0x347417;this[_0x2b6ad1(0xb1)][_0x2b6ad1(0x6e)]();}[_0x347417(0x80)](){const _0x25ce67=_0x347417;this[_0x25ce67(0xb1)][_0x25ce67(0x80)]();}[_0x347417(0x94)](){const _0x20a4aa=_0x347417;this[_0x20a4aa(0xb1)][_0x20a4aa(0x94)]();}[_0x347417(0x7e)](){const _0x1e6b12=_0x347417;this[_0x1e6b12(0xb1)][_0x1e6b12(0x7e)]();}[_0x347417(0x7d)](_0x430bcc,_0x59cfba,_0x49ff32,_0x3e349a,_0x55454f,_0x5b8475){const _0x4ea12d=_0x347417;this[_0x4ea12d(0x70)][_0x4ea12d(0x84)](_0x430bcc,_0x59cfba,_0x49ff32,_0x3e349a,_0x55454f,_0x5b8475);}[_0x347417(0x9b)](){const _0x21bce2=_0x347417;this[_0x21bce2(0x70)][_0x21bce2(0x9a)]();}[_0x347417(0x66)](){const _0x116e73=_0x347417;this[_0x116e73(0x70)][_0x116e73(0x66)]();}[_0x347417(0x9c)](){const _0x539e25=_0x347417;this[_0x539e25(0x70)][_0x539e25(0x9c)]();}[_0x347417(0x67)](_0x32ed47){const _0xef9c48=_0x347417,_0x7e6cd4=this[_0xef9c48(0xb1)][_0xef9c48(0x7b)][_0xef9c48(0xaa)]()[_0xef9c48(0x74)](_0x2abea6=>_0x2abea6['id']===_0x32ed47);return _0x7e6cd4?_0x7e6cd4[_0xef9c48(0xbf)]:null;}[_0x347417(0xbb)](){const _0x365a8c=_0x347417;this[_0x365a8c(0x70)][_0x365a8c(0xbb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x447349=_0x114d;function _0x4a02(){var _0x2ffb41=['79660VZZTMF','description','137646NNUkGu','962480unJJBh','isParameterized','commandId','args','6TgnaYT','106606HvcwLr','useArgs','apiId','4sJQIuS','options','title','126321fpnEOY','828621qUywSv','1500947CIErWn'];_0x4a02=function(){return _0x2ffb41;};return _0x4a02();}(function(_0x17bdab,_0x5b154d){var _0x236e90=_0x114d,_0x5f4d49=_0x17bdab();while(!![]){try{var _0x3e05ca=parseInt(_0x236e90(0x1e2))/0x1+parseInt(_0x236e90(0x1e1))/0x2*(-parseInt(_0x236e90(0x1e8))/0x3)+parseInt(_0x236e90(0x1e5))/0x4*(-parseInt(_0x236e90(0x1da))/0x5)+-parseInt(_0x236e90(0x1dc))/0x6+parseInt(_0x236e90(0x1ea))/0x7+-parseInt(_0x236e90(0x1dd))/0x8+parseInt(_0x236e90(0x1e9))/0x9;if(_0x3e05ca===_0x5b154d)break;else _0x5f4d49['push'](_0x5f4d49['shift']());}catch(_0x190c5b){_0x5f4d49['push'](_0x5f4d49['shift']());}}}(_0x4a02,0x1f268));function _0x114d(_0x375ca9,_0x2c80f1){var _0x4a0293=_0x4a02();return _0x114d=function(_0x114d52,_0xdd57e8){_0x114d52=_0x114d52-0x1da;var _0x1b5a48=_0x4a0293[_0x114d52];return _0x1b5a48;},_0x114d(_0x375ca9,_0x2c80f1);}export class AIReviewCheck{['id'];[_0x447349(0x1df)];[_0x447349(0x1e7)];[_0x447349(0x1db)];[_0x447349(0x1de)];[_0x447349(0x1e3)];[_0x447349(0x1e6)];[_0x447349(0x1e0)];get[_0x447349(0x1e4)](){var _0x6cb008=_0x447349;return this[_0x6cb008(0x1df)];}constructor(_0x467bc2){var _0x11ac1d=_0x447349;this['id']=_0x467bc2['id'],this[_0x11ac1d(0x1df)]=_0x467bc2[_0x11ac1d(0x1df)],this[_0x11ac1d(0x1e7)]=_0x467bc2[_0x11ac1d(0x1e7)],this[_0x11ac1d(0x1db)]=_0x467bc2[_0x11ac1d(0x1db)],this[_0x11ac1d(0x1de)]=_0x467bc2[_0x11ac1d(0x1de)],this[_0x11ac1d(0x1e3)]=_0x467bc2[_0x11ac1d(0x1e3)],this[_0x11ac1d(0x1e6)]=_0x467bc2[_0x11ac1d(0x1e6)],this[_0x11ac1d(0x1e0)]=_0x467bc2[_0x11ac1d(0x1e0)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x227cee=_0x4110;function _0x2aec(){var _0x3e6794=['1811299SbCZwh','checks','filter','6ASIFAh','925722nPdTdL','setupChecks','map','find','1498150jwwIJi','getCheckById','214716MdrZbv','6020245DLkQXz','removeCheckById','231303wwCGtH','_checks','27cGJRHu','10233904QFxBkD'];_0x2aec=function(){return _0x3e6794;};return _0x2aec();}(function(_0x2c77cd,_0x2d5c97){var _0x4f3053=_0x4110,_0x4fc3d0=_0x2c77cd();while(!![]){try{var _0x2dc2ae=parseInt(_0x4f3053(0xf5))/0x1+parseInt(_0x4f3053(0x101))/0x2+-parseInt(_0x4f3053(0xf7))/0x3*(parseInt(_0x4f3053(0xf2))/0x4)+-parseInt(_0x4f3053(0xf3))/0x5*(-parseInt(_0x4f3053(0xfc))/0x6)+parseInt(_0x4f3053(0xf9))/0x7+-parseInt(_0x4f3053(0xf8))/0x8+parseInt(_0x4f3053(0xfd))/0x9;if(_0x2dc2ae===_0x2d5c97)break;else _0x4fc3d0['push'](_0x4fc3d0['shift']());}catch(_0x576a55){_0x4fc3d0['push'](_0x4fc3d0['shift']());}}}(_0x2aec,0xbf54d));import{ObservableMixin as _0x57a957}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x10992e}from'./aireviewcheck.js';function _0x4110(_0x44b896,_0x5032a9){var _0x2aec6d=_0x2aec();return _0x4110=function(_0x4110be,_0x4c2124){_0x4110be=_0x4110be-0xf2;var _0x56fd51=_0x2aec6d[_0x4110be];return _0x56fd51;},_0x4110(_0x44b896,_0x5032a9);}export class AIReviewCheckList extends _0x57a957(){[_0x227cee(0xf6)]=[];[_0x227cee(0xfe)](_0x4ea5d7){var _0x5922f9=_0x227cee;this[_0x5922f9(0xf6)]=_0x4ea5d7[_0x5922f9(0xff)](_0x65da93=>new _0x10992e(_0x65da93));}get[_0x227cee(0xfa)](){var _0x4a9970=_0x227cee;return this[_0x4a9970(0xf6)];}[_0x227cee(0x102)](_0x3fa04f){var _0x3906ad=_0x227cee;return this[_0x3906ad(0xfa)][_0x3906ad(0x100)](_0x2d00e2=>_0x2d00e2['id']===_0x3fa04f);}[_0x227cee(0xf4)](_0x1d93ab){var _0x7079d7=_0x227cee;this[_0x7079d7(0xf6)]=this[_0x7079d7(0xf6)][_0x7079d7(0xfb)](_0x2f64ad=>_0x2f64ad['id']!==_0x1d93ab);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x28ea(){var _0x5938ca=['1374516hdMwMA','documentVersion','contentInitial','contentNew','371205sgcwBr','106120TMcsaW','5224nrNAfj','1258020nswgpC','1559MAepBC','338SXNexv','1059140xVHCFQ','679OzEXPI','33YSNDeS'];_0x28ea=function(){return _0x5938ca;};return _0x28ea();}var _0x331584=_0x20ad;(function(_0x4b7db2,_0x3781c6){var _0xdfd72=_0x20ad,_0x2b2863=_0x4b7db2();while(!![]){try{var _0x3fe8d6=-parseInt(_0xdfd72(0xc9))/0x1*(-parseInt(_0xdfd72(0xca))/0x2)+parseInt(_0xdfd72(0xcd))/0x3*(parseInt(_0xdfd72(0xc6))/0x4)+-parseInt(_0xdfd72(0xc8))/0x5+-parseInt(_0xdfd72(0xce))/0x6+parseInt(_0xdfd72(0xcc))/0x7*(-parseInt(_0xdfd72(0xc7))/0x8)+parseInt(_0xdfd72(0xc5))/0x9+parseInt(_0xdfd72(0xcb))/0xa;if(_0x3fe8d6===_0x3781c6)break;else _0x2b2863['push'](_0x2b2863['shift']());}catch(_0xe8ad3b){_0x2b2863['push'](_0x2b2863['shift']());}}}(_0x28ea,0x26add));function _0x20ad(_0xd716dd,_0x844223){var _0x28ea30=_0x28ea();return _0x20ad=function(_0x20ad40,_0xb02d8a){_0x20ad40=_0x20ad40-0xc3;var _0x514664=_0x28ea30[_0x20ad40];return _0x514664;},_0x20ad(_0xd716dd,_0x844223);}import{EmitterMixin as _0x3def09}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x3def09(){['id'];[_0x331584(0xc4)];[_0x331584(0xc3)];[_0x331584(0xcf)];constructor({id:_0x4f7908,contentNew:_0x1afd00,contentInitial:_0x59f537,documentVersion:_0x544f82}){var _0x32b372=_0x331584;super(),this['id']=_0x4f7908,this[_0x32b372(0xc4)]=_0x1afd00,this[_0x32b372(0xc3)]=_0x59f537,this[_0x32b372(0xcf)]=_0x544f82;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5ab0(_0x5bb18e,_0x58c839){var _0x51bbca=_0x51bb();return _0x5ab0=function(_0x5ab094,_0x5b42f2){_0x5ab094=_0x5ab094-0x186;var _0x173ee5=_0x51bbca[_0x5ab094];return _0x173ee5;},_0x5ab0(_0x5bb18e,_0x58c839);}var _0x1f8b57=_0x5ab0;(function(_0xd855a5,_0x3bc5c1){var _0x1970ef=_0x5ab0,_0x502e4d=_0xd855a5();while(!![]){try{var _0x3aa866=parseInt(_0x1970ef(0x188))/0x1+parseInt(_0x1970ef(0x186))/0x2+parseInt(_0x1970ef(0x199))/0x3+parseInt(_0x1970ef(0x190))/0x4*(-parseInt(_0x1970ef(0x196))/0x5)+parseInt(_0x1970ef(0x198))/0x6*(parseInt(_0x1970ef(0x197))/0x7)+parseInt(_0x1970ef(0x19c))/0x8*(parseInt(_0x1970ef(0x19b))/0x9)+parseInt(_0x1970ef(0x18e))/0xa*(-parseInt(_0x1970ef(0x189))/0xb);if(_0x3aa866===_0x3bc5c1)break;else _0x502e4d['push'](_0x502e4d['shift']());}catch(_0x26f6b1){_0x502e4d['push'](_0x502e4d['shift']());}}}(_0x51bb,0xc89b0));function _0x51bb(){var _0x5cfb5b=['isRated','10Qotvem','set','6004084aujcKU','operations','isActivated','operationsIsolated','parent','status','5jiMVsL','11543rzHEkI','210FCuPTV','3982707uNlUVm','context','27YlWqDv','515672WGPuGh','contentDiffed','2751616lHrSbh','pending','212451vCjUkb','9286409uTtOJh','change:status','_editorOperations','_data'];_0x51bb=function(){return _0x5cfb5b;};return _0x51bb();}import{ObservableMixin as _0x3e96d3}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x3e96d3(){['id'];[_0x1f8b57(0x194)];[_0x1f8b57(0x18c)];[_0x1f8b57(0x18b)]=[];constructor(_0x12b3b2,_0x4cac2f,_0x526248){var _0x9c4734=_0x1f8b57;super(),this['id']=_0x12b3b2,this[_0x9c4734(0x194)]=_0x526248,this[_0x9c4734(0x18c)]=_0x4cac2f,this[_0x9c4734(0x18f)](_0x9c4734(0x192),!0x1),this[_0x9c4734(0x18f)](_0x9c4734(0x18d),!0x1),this[_0x9c4734(0x18f)](_0x9c4734(0x195),_0x9c4734(0x187)),this['on'](_0x9c4734(0x18a),()=>{var _0x3298ea=_0x9c4734;_0x3298ea(0x187)!==this[_0x3298ea(0x195)]&&this[_0x3298ea(0x192)]&&(this[_0x3298ea(0x192)]=!0x1);});}get[_0x1f8b57(0x19d)](){var _0x3c0a7c=_0x1f8b57;return this[_0x3c0a7c(0x18c)][_0x3c0a7c(0x19a)]();}get[_0x1f8b57(0x191)](){var _0x520b90=_0x1f8b57;return this[_0x520b90(0x18c)][_0x520b90(0x191)];}get[_0x1f8b57(0x193)](){var _0x80d410=_0x1f8b57;return this[_0x80d410(0x18c)][_0x80d410(0x193)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xe08f5=_0x47e6;function _0x47e6(_0x20583c,_0x1f16a4){const _0x454772=_0x4547();return _0x47e6=function(_0x47e695,_0x567536){_0x47e695=_0x47e695-0x1ea;let _0x42d890=_0x454772[_0x47e695];return _0x42d890;},_0x47e6(_0x20583c,_0x1f16a4);}(function(_0x4d1a4e,_0x19c762){const _0x3aa8da=_0x47e6,_0x261ccf=_0x4d1a4e();while(!![]){try{const _0x5d2101=parseInt(_0x3aa8da(0x1f4))/0x1+parseInt(_0x3aa8da(0x1f9))/0x2*(parseInt(_0x3aa8da(0x1f8))/0x3)+parseInt(_0x3aa8da(0x242))/0x4+-parseInt(_0x3aa8da(0x21b))/0x5*(parseInt(_0x3aa8da(0x202))/0x6)+parseInt(_0x3aa8da(0x24d))/0x7*(-parseInt(_0x3aa8da(0x236))/0x8)+-parseInt(_0x3aa8da(0x244))/0x9*(parseInt(_0x3aa8da(0x204))/0xa)+parseInt(_0x3aa8da(0x219))/0xb;if(_0x5d2101===_0x19c762)break;else _0x261ccf['push'](_0x261ccf['shift']());}catch(_0x1d0607){_0x261ccf['push'](_0x261ccf['shift']());}}}(_0x4547,0xa4891));import{ObservableMixin as _0x2308f1,uid as _0xd38117}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x3ffc06}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x33bb13}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x2308f1(){['id']=_0xd38117();[_0xe08f5(0x211)];[_0xe08f5(0x1fb)]=new Map();[_0xe08f5(0x20c)]=[];[_0xe08f5(0x209)];[_0xe08f5(0x1ee)];[_0xe08f5(0x222)];[_0xe08f5(0x225)];[_0xe08f5(0x1ff)];[_0xe08f5(0x215)]=null;[_0xe08f5(0x246)];[_0xe08f5(0x216)]=!0x1;constructor(_0x56d567,_0x44f520,_0x423c7a,_0x526621,_0x584ac0){const _0xdf0ba9=_0xe08f5;super(),this[_0xdf0ba9(0x209)]=_0x44f520,this[_0xdf0ba9(0x1ee)]=_0x56d567,this[_0xdf0ba9(0x222)]=_0x423c7a,this[_0xdf0ba9(0x225)]=_0x526621,this[_0xdf0ba9(0x1ff)]=_0x584ac0,this['on'](_0xdf0ba9(0x21a),(_0x196ccd,_0x8a7da7,_0x2843a8)=>{const _0x7eabb4=_0xdf0ba9;_0x7eabb4(0x231)==_0x2843a8&&(this[_0x7eabb4(0x216)]=!0x0),this[_0x7eabb4(0x23c)](_0x7eabb4(0x1f6),{'status':_0x2843a8,'run':this,'error':this[_0x7eabb4(0x246)]});}),this[_0xdf0ba9(0x23a)](_0xdf0ba9(0x1fa),_0xdf0ba9(0x1eb));}get[_0xe08f5(0x248)](){const _0x320f66=_0xe08f5;return this[_0x320f66(0x1ee)];}get[_0xe08f5(0x241)](){const _0x7f1e34=_0xe08f5;return this[_0x7f1e34(0x1fb)][_0x7f1e34(0x21f)];}get[_0xe08f5(0x23e)](){const _0x2e34b5=_0xe08f5;return this[_0x2e34b5(0x209)][_0x2e34b5(0x23e)];}get[_0xe08f5(0x217)](){return'';}get[_0xe08f5(0x230)](){const _0x1d1634=_0xe08f5;return this[_0x1d1634(0x209)]['id'];}get[_0xe08f5(0x208)](){const _0x1c3c3b=_0xe08f5;return!this[_0x1c3c3b(0x20c)][_0x1c3c3b(0x24a)](_0x3772c9=>_0x1c3c3b(0x238)===_0x3772c9[_0x1c3c3b(0x1fa)]);}get[_0xe08f5(0x240)](){const _0x5e8309=_0xe08f5;return this[_0x5e8309(0x246)];}[_0xe08f5(0x226)](_0xb79917){const _0xa12cde=_0xe08f5;this[_0xa12cde(0x1ee)]=_0xb79917;}async[_0xe08f5(0x205)](){const _0x419e3c=_0xe08f5;this[_0x419e3c(0x1fa)]=_0x419e3c(0x1ea),this[_0x419e3c(0x246)]=void 0x0;try{this[_0x419e3c(0x215)]=this[_0x419e3c(0x1fe)]();const _0x39813c=await this[_0x419e3c(0x215)][_0x419e3c(0x23d)]();this[_0x419e3c(0x1fa)]=_0x419e3c(0x20a);for await(const _0x22451a of _0x39813c)_0x419e3c(0x22c)!==_0x22451a[_0x419e3c(0x20a)][_0x419e3c(0x228)]&&(_0x419e3c(0x1f1)!==_0x22451a[_0x419e3c(0x20a)][_0x419e3c(0x228)]?_0x419e3c(0x249)!==_0x22451a[_0x419e3c(0x24b)]?this[_0x419e3c(0x245)](_0x22451a[_0x419e3c(0x20a)][_0x419e3c(0x206)],_0x22451a[_0x419e3c(0x20a)][_0x419e3c(0x21e)]):this[_0x419e3c(0x211)]=_0x22451a[_0x419e3c(0x20a)][_0x419e3c(0x211)]:this[_0x419e3c(0x1fa)]=_0x419e3c(0x21c));_0x419e3c(0x21c)!==this[_0x419e3c(0x1fa)]&&(0x0===this[_0x419e3c(0x1fb)][_0x419e3c(0x21f)]||0x0===this[_0x419e3c(0x20c)][_0x419e3c(0x1f7)]?this[_0x419e3c(0x1fa)]=_0x419e3c(0x22c):this[_0x419e3c(0x1fa)]=_0x419e3c(0x224));}catch(_0xdd355a){this[_0x419e3c(0x246)]=_0xdd355a,_0xdd355a instanceof Error&&_0xdd355a[_0x419e3c(0x1ef)][_0x419e3c(0x210)](_0x419e3c(0x24e))?this[_0x419e3c(0x1fa)]=_0x419e3c(0x231):this[_0x419e3c(0x1fa)]=_0x419e3c(0x1f2);}finally{this[_0x419e3c(0x215)]=null;}}async[_0xe08f5(0x234)](){const _0x42430e=_0xe08f5;this[_0x42430e(0x1fb)][_0x42430e(0x23f)](),this[_0x42430e(0x20c)][_0x42430e(0x1f7)]=0x0,this[_0x42430e(0x246)]=void 0x0,await this[_0x42430e(0x205)]();}[_0xe08f5(0x22d)](_0xd7ba41,_0x5c970b){const _0x28f663=_0xe08f5,_0x3a8f86=this[_0x28f663(0x1fb)][_0x28f663(0x239)](_0xd7ba41);if(!_0x3a8f86)return;if(0x0===_0x5c970b[_0x28f663(0x1f7)])return;const _0x579a95=[];_0x5c970b[_0x28f663(0x221)]((_0x118c8c,_0x188145)=>{const _0x18dc8c=_0x28f663,_0x1bbef9=new _0x33bb13(_0x3a8f86['id']+'-'+_0x188145,_0x118c8c,_0x3a8f86);_0x1bbef9['on'](_0x18dc8c(0x21a),()=>{const _0x3fe7ba=_0x18dc8c;this[_0x3fe7ba(0x23c)](_0x3fe7ba(0x213),{'change':_0x1bbef9,'status':_0x1bbef9[_0x3fe7ba(0x1fa)]});}),_0x1bbef9['on'](_0x18dc8c(0x237),()=>{const _0x3d036c=_0x18dc8c;_0x1bbef9[_0x3d036c(0x243)]?this[_0x3d036c(0x23c)](_0x3d036c(0x212),{'change':_0x1bbef9}):this[_0x3d036c(0x23c)](_0x3d036c(0x20e),{'change':_0x1bbef9});}),this[_0x18dc8c(0x20c)][_0x18dc8c(0x20b)](_0x1bbef9),_0x579a95[_0x18dc8c(0x20b)](_0x1bbef9);}),this[_0x28f663(0x23c)](_0x28f663(0x227),{'changes':_0x579a95,'result':_0x3a8f86,'source':this});}[_0xe08f5(0x235)](){const _0x19291a=_0xe08f5;this[_0x19291a(0x215)]&&(this[_0x19291a(0x215)][_0x19291a(0x1f0)][_0x19291a(0x235)](),this[_0x19291a(0x215)]=null,this[_0x19291a(0x1fa)]=_0x19291a(0x231));}[_0xe08f5(0x200)](_0x59ce46){const _0x478ecf=_0xe08f5,_0x3abb27=this[_0x478ecf(0x20c)][_0x478ecf(0x22e)](_0x228239=>_0x228239['id']===_0x59ce46);return!(!_0x3abb27||_0x478ecf(0x238)!==_0x3abb27[_0x478ecf(0x1fa)]);}[_0xe08f5(0x233)](){const _0x17d9df=_0xe08f5;return this[_0x17d9df(0x20c)][_0x17d9df(0x247)](_0x484bbc=>!0x0===_0x484bbc[_0x17d9df(0x243)]);}[_0xe08f5(0x232)](){const _0x43968d=_0xe08f5;return this[_0x43968d(0x20c)][_0x43968d(0x201)](_0xdcec90=>_0x43968d(0x238)===_0xdcec90[_0x43968d(0x1fa)]);}[_0xe08f5(0x1f3)](_0x2fed3f){const _0x450ef0=_0xe08f5;return this[_0x450ef0(0x20c)][_0x450ef0(0x22e)](_0xd0b50=>_0xd0b50['id']===_0x2fed3f);}[_0xe08f5(0x214)](){const _0x2836fe=_0xe08f5;for(const _0x1a5266 of this[_0x2836fe(0x20c)])_0x2836fe(0x238)===_0x1a5266[_0x2836fe(0x1fa)]&&(_0x1a5266[_0x2836fe(0x1fa)]=_0x2836fe(0x1fc));this[_0x2836fe(0x1ec)]();}[_0xe08f5(0x20d)](_0x137882){const _0x4e4133=_0xe08f5,_0x52d783=this[_0x4e4133(0x20c)][_0x4e4133(0x22e)](_0x7638da=>_0x7638da['id']===_0x137882);_0x52d783&&_0x4e4133(0x238)===_0x52d783[_0x4e4133(0x1fa)]&&(_0x52d783[_0x4e4133(0x1fa)]=_0x4e4133(0x1fc)),this[_0x4e4133(0x1ec)]();}[_0xe08f5(0x20f)](_0x3ebe2f){const _0x1b356b=_0xe08f5,_0x47852a=this[_0x1b356b(0x20c)][_0x1b356b(0x22e)](_0x2124ee=>_0x2124ee['id']===_0x3ebe2f);_0x47852a&&_0x1b356b(0x238)===_0x47852a[_0x1b356b(0x1fa)]&&(_0x47852a[_0x1b356b(0x1fa)]=_0x1b356b(0x207)),this[_0x1b356b(0x1ec)]();}[_0xe08f5(0x223)](_0x46424a){const _0x59d793=_0xe08f5,_0x437416=this[_0x59d793(0x20c)][_0x59d793(0x22e)](_0x2f7316=>_0x2f7316['id']===_0x46424a);_0x437416&&_0x59d793(0x238)===_0x437416[_0x59d793(0x1fa)]&&(_0x437416[_0x59d793(0x1fa)]=_0x59d793(0x22a)),this[_0x59d793(0x1ec)]();}[_0xe08f5(0x22f)](_0x141834){const _0x5470df=_0xe08f5,_0x4d6929=this[_0x5470df(0x20c)][_0x5470df(0x22e)](_0x152418=>_0x152418['id']===_0x141834);_0x4d6929&&_0x5470df(0x22a)===_0x4d6929[_0x5470df(0x1fa)]&&(_0x4d6929[_0x5470df(0x1fa)]=_0x5470df(0x238)),this[_0x5470df(0x1ec)]();}[_0xe08f5(0x218)](_0x21c359){const _0x335add=_0xe08f5;this[_0x335add(0x20c)][_0x335add(0x201)](_0x2e598b=>_0x2e598b[_0x335add(0x243)]&&_0x2e598b['id']!==_0x21c359)[_0x335add(0x221)](_0x546843=>{const _0x164115=_0x335add;_0x546843[_0x164115(0x243)]=!0x1;});const _0x49cf09=this[_0x335add(0x20c)][_0x335add(0x22e)](_0x456a3d=>_0x456a3d['id']===_0x21c359);_0x49cf09&&_0x335add(0x238)===_0x49cf09[_0x335add(0x1fa)]&&(_0x49cf09[_0x335add(0x243)]=!0x0);}[_0xe08f5(0x229)](){const _0x3a6393=_0xe08f5;this[_0x3a6393(0x20c)][_0x3a6393(0x201)](_0x2f840e=>_0x2f840e[_0x3a6393(0x243)])[_0x3a6393(0x221)](_0x2d8685=>{const _0x3f9bfd=_0x3a6393;_0x2d8685[_0x3f9bfd(0x243)]=!0x1;});}[_0xe08f5(0x1f5)](){const _0x4f4f47=_0xe08f5;this[_0x4f4f47(0x1fa)]=_0x4f4f47(0x224);}async[_0xe08f5(0x21d)](_0xccd2c4){const _0x325508=_0xe08f5;if(_0x325508(0x1eb)===this[_0x325508(0x1fa)]||_0x325508(0x1ea)===this[_0x325508(0x1fa)]||_0x325508(0x20a)===this[_0x325508(0x1fa)]||this[_0x325508(0x216)])return;if(!this[_0x325508(0x211)]||0x0===this[_0x325508(0x20c)][_0x325508(0x1f7)])return;let _0x353004;if(_0xccd2c4){const _0x44ec21=this[_0x325508(0x20c)][_0x325508(0x22e)](_0x2f1f34=>_0x2f1f34['id']===_0xccd2c4);if(_0x44ec21&&_0x44ec21[_0x325508(0x23b)])return;_0x44ec21&&(_0x353004=_0x44ec21[_0x325508(0x24c)]['id'],_0x44ec21[_0x325508(0x23b)]=!0x0);}const _0x466ae8={'positiveCount':this[_0x325508(0x20c)][_0x325508(0x201)](_0xd9effe=>_0x325508(0x1fc)===_0xd9effe[_0x325508(0x1fa)])[_0x325508(0x1f7)],'totalCount':this[_0x325508(0x20c)][_0x325508(0x1f7)]};this[_0x325508(0x203)](_0x466ae8,this[_0x325508(0x211)],_0x353004);}[_0xe08f5(0x245)](_0x5fa529,_0x213025){const _0x3fc12c=_0xe08f5,_0x186bd8=this[_0x3fc12c(0x1ee)][_0x3fc12c(0x220)][_0x3fc12c(0x239)](_0x5fa529);if(!_0x186bd8)return;const _0x2fd3ec=_0x186bd8[_0x3fc12c(0x22b)]();if(_0x2fd3ec===_0x213025)return;const _0x40c6b7=new _0x3ffc06({'id':_0x5fa529,'contentInitial':_0x2fd3ec,'contentNew':_0x213025,'documentVersion':this[_0x3fc12c(0x1ee)][_0x3fc12c(0x1fd)]});this[_0x3fc12c(0x1fb)][_0x3fc12c(0x23a)](_0x40c6b7['id'],_0x40c6b7),this[_0x3fc12c(0x23c)](_0x3fc12c(0x24f),{'result':_0x40c6b7,'source':this});}[_0xe08f5(0x1ec)](){const _0x5f1dea=_0xe08f5;_0x5f1dea(0x1ed)===this[_0x5f1dea(0x1fa)]&&(this[_0x5f1dea(0x20c)][_0x5f1dea(0x201)](_0x5dd7e5=>_0x5f1dea(0x238)===_0x5dd7e5[_0x5f1dea(0x1fa)])[_0x5f1dea(0x1f7)]>0x0&&(this[_0x5f1dea(0x1fa)]=_0x5f1dea(0x224))),_0x5f1dea(0x224)===this[_0x5f1dea(0x1fa)]&&(0x0===this[_0x5f1dea(0x20c)][_0x5f1dea(0x201)](_0xbf9a29=>_0x5f1dea(0x238)===_0xbf9a29[_0x5f1dea(0x1fa)])[_0x5f1dea(0x1f7)]&&(this[_0x5f1dea(0x1fa)]=_0x5f1dea(0x1ed)));}}function _0x4547(){const _0x15b6a5=['start','dataId','rejected','hasModifications','_sourceCheck','data','push','_changes','markChangeAsAccepted','reviewCheckResultDeactivated','markChangeAsRejected','includes','callId','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','markAllChangesAsAccepted','_activeRequest','_wasAborted','subTitle','activateChange','23182951rpKtHf','change:status','10875fANUWQ','error-chunk','sendRating','textDelta','size','elements','forEach','_aiConnector','markChangeAsOutdated','ready','_reviewParams','updateDocumentData','reviewCheckResultReady','operation','deactivateChange','outdated','getContent','unmodified','addResultChanges','find','markChangeAsPending','reviewName','aborted','getActiveChanges','isAnyChangeActivated','restart','abort','8VJdLQZ','change:isActivated','pending','get','set','isRated','fire','getStream','title','clear','currentError','processedResultsCount','501004Jpkhpd','isActivated','261SUBZhW','_addReviewCheckResult','_currentError','some','documentData','review-metadata','every','event','parent','7342419rBtLeC','ai-request-aborted','reviewCheckResultAdded','loading','initialized','_checkIfFinished','finished','_documentData','message','abortController','error','error-general','getChangeById','921640qbHpZm','forceReadyState','reviewCheckRunUpdated','length','231213NPEINg','4HPAsVt','status','_results','accepted','version','_createApiRequest','_reviewArgs','isChangeActive','filter','678wSPWTa','_sendRatingRequest','462050wnILHR'];_0x4547=function(){return _0x15b6a5;};return _0x4547();}
|
|
23
|
+
const _0x38bbfd=_0x497a;(function(_0x477a08,_0x37d9f4){const _0x38eaba=_0x497a,_0x1022c3=_0x477a08();while(!![]){try{const _0xfec54a=parseInt(_0x38eaba(0x137))/0x1+parseInt(_0x38eaba(0x10c))/0x2+-parseInt(_0x38eaba(0xe8))/0x3+parseInt(_0x38eaba(0x139))/0x4*(-parseInt(_0x38eaba(0x116))/0x5)+parseInt(_0x38eaba(0x127))/0x6*(parseInt(_0x38eaba(0x100))/0x7)+parseInt(_0x38eaba(0x119))/0x8+parseInt(_0x38eaba(0x13b))/0x9;if(_0xfec54a===_0x37d9f4)break;else _0x1022c3['push'](_0x1022c3['shift']());}catch(_0x20b680){_0x1022c3['push'](_0x1022c3['shift']());}}}(_0x26f9,0xeb571));import{ObservableMixin as _0x146b20,uid as _0x5e0a64}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x53f14e}from'./aireviewcheckresult.js';function _0x497a(_0x5988fd,_0xd63d41){const _0x26f9d4=_0x26f9();return _0x497a=function(_0x497a5d,_0xd0c826){_0x497a5d=_0x497a5d-0xe4;let _0x576636=_0x26f9d4[_0x497a5d];return _0x576636;},_0x497a(_0x5988fd,_0xd63d41);}function _0x26f9(){const _0x4261d8=['getStream','4953232VYCKNF','title','size','reviewCheckResultAdded','restart','status','reviewCheckResultDeactivated','filter','documentData','error','_changes','ready','currentError','updateDocumentData','1626qcHJUs','getChangeById','markChangeAsPending','activateChange','start','getContent','error-general','sendRating','_addReviewCheckResult','operation','clear','deactivateChange','pending','finished','error-chunk','_createApiRequest','1409062LHXcpT','_currentError','28ujXVAP','forEach','6163425HZMCkF','loading','dataId','_sendRatingRequest','reviewCheckResultReady','_checkIfFinished','outdated','review-metadata','isRated','reviewCheckRunUpdated','abort','callId','hasModifications','change:isActivated','set','reviewName','_documentData','2389446ozGhPN','parent','change:status','isChangeActive','reviewCheckResultChangeStatusUpdated','initialized','processedResultsCount','accepted','markChangeAsAccepted','markAllChangesAsAccepted','version','data','markChangeAsRejected','message','getActiveChanges','_results','get','markChangeAsOutdated','reviewCheckResultActivated','fire','_activeRequest','event','push','abortController','13531zHSptj','addResultChanges','_reviewArgs','unmodified','rejected','_wasAborted','_reviewParams','subTitle','isAnyChangeActivated','includes','ai-request-aborted','some','783828IFNBjg','elements','_sourceCheck','aborted','every','forceReadyState','find','_aiConnector','length','isActivated','1334545riUrAB','textDelta'];_0x26f9=function(){return _0x4261d8;};return _0x26f9();}import{AIReviewCheckResultChange as _0x3b34a5}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x146b20(){['id']=_0x5e0a64();[_0x38bbfd(0x146)];[_0x38bbfd(0xf7)]=new Map();[_0x38bbfd(0x123)]=[];[_0x38bbfd(0x10e)];[_0x38bbfd(0xe7)];[_0x38bbfd(0x113)];[_0x38bbfd(0x106)];[_0x38bbfd(0x102)];[_0x38bbfd(0xfc)]=null;[_0x38bbfd(0x138)];[_0x38bbfd(0x105)]=!0x1;constructor(_0x36cbc2,_0x151b32,_0x4e48c1,_0x3aced8,_0x2d48e3){const _0x2ae37b=_0x38bbfd;super(),this[_0x2ae37b(0x10e)]=_0x151b32,this[_0x2ae37b(0xe7)]=_0x36cbc2,this[_0x2ae37b(0x113)]=_0x4e48c1,this[_0x2ae37b(0x106)]=_0x3aced8,this[_0x2ae37b(0x102)]=_0x2d48e3,this['on'](_0x2ae37b(0xea),(_0x54b234,_0x21c374,_0x14fc9f)=>{const _0x131066=_0x2ae37b;_0x131066(0x10f)==_0x14fc9f&&(this[_0x131066(0x105)]=!0x0),this[_0x131066(0xfb)](_0x131066(0x144),{'status':_0x14fc9f,'run':this,'error':this[_0x131066(0x138)]});}),this[_0x2ae37b(0xe5)](_0x2ae37b(0x11e),_0x2ae37b(0xed));}get[_0x38bbfd(0x121)](){const _0x4be396=_0x38bbfd;return this[_0x4be396(0xe7)];}get[_0x38bbfd(0xee)](){const _0x1c8bc6=_0x38bbfd;return this[_0x1c8bc6(0xf7)][_0x1c8bc6(0x11b)];}get[_0x38bbfd(0x11a)](){const _0x23735e=_0x38bbfd;return this[_0x23735e(0x10e)][_0x23735e(0x11a)];}get[_0x38bbfd(0x107)](){return'';}get[_0x38bbfd(0xe6)](){const _0x48b5e1=_0x38bbfd;return this[_0x48b5e1(0x10e)]['id'];}get[_0x38bbfd(0x147)](){const _0x37c1d5=_0x38bbfd;return!this[_0x37c1d5(0x123)][_0x37c1d5(0x110)](_0x148dc8=>_0x37c1d5(0x133)===_0x148dc8[_0x37c1d5(0x11e)]);}get[_0x38bbfd(0x125)](){const _0x38c13c=_0x38bbfd;return this[_0x38c13c(0x138)];}[_0x38bbfd(0x126)](_0x56eee4){const _0x593e0a=_0x38bbfd;this[_0x593e0a(0xe7)]=_0x56eee4;}async[_0x38bbfd(0x12b)](){const _0xf90e8c=_0x38bbfd;this[_0xf90e8c(0x11e)]=_0xf90e8c(0x13c),this[_0xf90e8c(0x138)]=void 0x0;try{this[_0xf90e8c(0xfc)]=this[_0xf90e8c(0x136)]();const _0x496e4c=await this[_0xf90e8c(0xfc)][_0xf90e8c(0x118)]();this[_0xf90e8c(0x11e)]=_0xf90e8c(0xf3);for await(const _0xdf03db of _0x496e4c)_0xf90e8c(0x103)!==_0xdf03db[_0xf90e8c(0xf3)][_0xf90e8c(0x130)]&&(_0xf90e8c(0x122)!==_0xdf03db[_0xf90e8c(0xf3)][_0xf90e8c(0x130)]?_0xf90e8c(0x142)!==_0xdf03db[_0xf90e8c(0xfd)]?this[_0xf90e8c(0x12f)](_0xdf03db[_0xf90e8c(0xf3)][_0xf90e8c(0x13d)],_0xdf03db[_0xf90e8c(0xf3)][_0xf90e8c(0x117)]):this[_0xf90e8c(0x146)]=_0xdf03db[_0xf90e8c(0xf3)][_0xf90e8c(0x146)]:this[_0xf90e8c(0x11e)]=_0xf90e8c(0x135));_0xf90e8c(0x135)!==this[_0xf90e8c(0x11e)]&&(0x0===this[_0xf90e8c(0xf7)][_0xf90e8c(0x11b)]||0x0===this[_0xf90e8c(0x123)][_0xf90e8c(0x114)]?this[_0xf90e8c(0x11e)]=_0xf90e8c(0x103):this[_0xf90e8c(0x11e)]=_0xf90e8c(0x124));}catch(_0x17c8b6){this[_0xf90e8c(0x138)]=_0x17c8b6,_0x17c8b6 instanceof Error&&_0x17c8b6[_0xf90e8c(0xf5)][_0xf90e8c(0x109)](_0xf90e8c(0x10a))?this[_0xf90e8c(0x11e)]=_0xf90e8c(0x10f):this[_0xf90e8c(0x11e)]=_0xf90e8c(0x12d);}finally{this[_0xf90e8c(0xfc)]=null;}}async[_0x38bbfd(0x11d)](){const _0x5a473f=_0x38bbfd;this[_0x5a473f(0xf7)][_0x5a473f(0x131)](),this[_0x5a473f(0x123)][_0x5a473f(0x114)]=0x0,this[_0x5a473f(0x138)]=void 0x0,await this[_0x5a473f(0x12b)]();}[_0x38bbfd(0x101)](_0x30241c,_0x33e4f9){const _0x3b7844=_0x38bbfd,_0xa70601=this[_0x3b7844(0xf7)][_0x3b7844(0xf8)](_0x30241c);if(!_0xa70601)return;if(0x0===_0x33e4f9[_0x3b7844(0x114)])return;const _0x3db01d=[];_0x33e4f9[_0x3b7844(0x13a)]((_0x24e2eb,_0x5a75fc)=>{const _0x5427c9=_0x3b7844,_0x4a7f38=new _0x3b34a5(_0xa70601['id']+'-'+_0x5a75fc,_0x24e2eb,_0xa70601);_0x4a7f38['on'](_0x5427c9(0xea),()=>{const _0x42cba9=_0x5427c9;this[_0x42cba9(0xfb)](_0x42cba9(0xec),{'change':_0x4a7f38,'status':_0x4a7f38[_0x42cba9(0x11e)]});}),_0x4a7f38['on'](_0x5427c9(0xe4),()=>{const _0x2f68c3=_0x5427c9;_0x4a7f38[_0x2f68c3(0x115)]?this[_0x2f68c3(0xfb)](_0x2f68c3(0xfa),{'change':_0x4a7f38}):this[_0x2f68c3(0xfb)](_0x2f68c3(0x11f),{'change':_0x4a7f38});}),this[_0x5427c9(0x123)][_0x5427c9(0xfe)](_0x4a7f38),_0x3db01d[_0x5427c9(0xfe)](_0x4a7f38);}),this[_0x3b7844(0xfb)](_0x3b7844(0x13f),{'changes':_0x3db01d,'result':_0xa70601,'source':this});}[_0x38bbfd(0x145)](){const _0x4be654=_0x38bbfd;this[_0x4be654(0xfc)]&&(this[_0x4be654(0xfc)][_0x4be654(0xff)][_0x4be654(0x145)](),this[_0x4be654(0xfc)]=null,this[_0x4be654(0x11e)]=_0x4be654(0x10f));}[_0x38bbfd(0xeb)](_0x7a4dd5){const _0x15ecbd=_0x38bbfd,_0x1ce73c=this[_0x15ecbd(0x123)][_0x15ecbd(0x112)](_0x5cc3fe=>_0x5cc3fe['id']===_0x7a4dd5);return!(!_0x1ce73c||_0x15ecbd(0x133)!==_0x1ce73c[_0x15ecbd(0x11e)]);}[_0x38bbfd(0x108)](){const _0x4c2a75=_0x38bbfd;return this[_0x4c2a75(0x123)][_0x4c2a75(0x10b)](_0x127c17=>!0x0===_0x127c17[_0x4c2a75(0x115)]);}[_0x38bbfd(0xf6)](){const _0x5f5d62=_0x38bbfd;return this[_0x5f5d62(0x123)][_0x5f5d62(0x120)](_0x4b8097=>_0x5f5d62(0x133)===_0x4b8097[_0x5f5d62(0x11e)]);}[_0x38bbfd(0x128)](_0x6a99d0){const _0x595461=_0x38bbfd;return this[_0x595461(0x123)][_0x595461(0x112)](_0x3f0764=>_0x3f0764['id']===_0x6a99d0);}[_0x38bbfd(0xf1)](){const _0x3ffef6=_0x38bbfd;for(const _0x8a912b of this[_0x3ffef6(0x123)])_0x3ffef6(0x133)===_0x8a912b[_0x3ffef6(0x11e)]&&(_0x8a912b[_0x3ffef6(0x11e)]=_0x3ffef6(0xef));this[_0x3ffef6(0x140)]();}[_0x38bbfd(0xf0)](_0x4ab0d7){const _0x37bce9=_0x38bbfd,_0x4ab4e7=this[_0x37bce9(0x123)][_0x37bce9(0x112)](_0x34d1bd=>_0x34d1bd['id']===_0x4ab0d7);_0x4ab4e7&&_0x37bce9(0x133)===_0x4ab4e7[_0x37bce9(0x11e)]&&(_0x4ab4e7[_0x37bce9(0x11e)]=_0x37bce9(0xef)),this[_0x37bce9(0x140)]();}[_0x38bbfd(0xf4)](_0x28f7ac){const _0x4980e0=_0x38bbfd,_0x1beaa0=this[_0x4980e0(0x123)][_0x4980e0(0x112)](_0x963ffc=>_0x963ffc['id']===_0x28f7ac);_0x1beaa0&&_0x4980e0(0x133)===_0x1beaa0[_0x4980e0(0x11e)]&&(_0x1beaa0[_0x4980e0(0x11e)]=_0x4980e0(0x104)),this[_0x4980e0(0x140)]();}[_0x38bbfd(0xf9)](_0x2c0139){const _0x150366=_0x38bbfd,_0x4b4b7b=this[_0x150366(0x123)][_0x150366(0x112)](_0x4e6eb6=>_0x4e6eb6['id']===_0x2c0139);_0x4b4b7b&&_0x150366(0x133)===_0x4b4b7b[_0x150366(0x11e)]&&(_0x4b4b7b[_0x150366(0x11e)]=_0x150366(0x141)),this[_0x150366(0x140)]();}[_0x38bbfd(0x129)](_0x3a48ef){const _0x2bc0da=_0x38bbfd,_0x1fe822=this[_0x2bc0da(0x123)][_0x2bc0da(0x112)](_0x12b598=>_0x12b598['id']===_0x3a48ef);_0x1fe822&&_0x2bc0da(0x141)===_0x1fe822[_0x2bc0da(0x11e)]&&(_0x1fe822[_0x2bc0da(0x11e)]=_0x2bc0da(0x133)),this[_0x2bc0da(0x140)]();}[_0x38bbfd(0x12a)](_0x26ce6c){const _0x3c0143=_0x38bbfd;this[_0x3c0143(0x123)][_0x3c0143(0x120)](_0x4c1e8b=>_0x4c1e8b[_0x3c0143(0x115)]&&_0x4c1e8b['id']!==_0x26ce6c)[_0x3c0143(0x13a)](_0x17e2c8=>{const _0x25b005=_0x3c0143;_0x17e2c8[_0x25b005(0x115)]=!0x1;});const _0x19f98a=this[_0x3c0143(0x123)][_0x3c0143(0x112)](_0x37130e=>_0x37130e['id']===_0x26ce6c);_0x19f98a&&_0x3c0143(0x133)===_0x19f98a[_0x3c0143(0x11e)]&&(_0x19f98a[_0x3c0143(0x115)]=!0x0);}[_0x38bbfd(0x132)](){const _0xbd74d6=_0x38bbfd;this[_0xbd74d6(0x123)][_0xbd74d6(0x120)](_0x42d5df=>_0x42d5df[_0xbd74d6(0x115)])[_0xbd74d6(0x13a)](_0x1e4d1a=>{const _0x1739df=_0xbd74d6;_0x1e4d1a[_0x1739df(0x115)]=!0x1;});}[_0x38bbfd(0x111)](){const _0x488e28=_0x38bbfd;this[_0x488e28(0x11e)]=_0x488e28(0x124);}async[_0x38bbfd(0x12e)](_0x2b8950){const _0x2854f2=_0x38bbfd;if(_0x2854f2(0xed)===this[_0x2854f2(0x11e)]||_0x2854f2(0x13c)===this[_0x2854f2(0x11e)]||_0x2854f2(0xf3)===this[_0x2854f2(0x11e)]||this[_0x2854f2(0x105)])return;if(!this[_0x2854f2(0x146)]||0x0===this[_0x2854f2(0x123)][_0x2854f2(0x114)])return;let _0x4345c6;if(_0x2b8950){const _0x5db036=this[_0x2854f2(0x123)][_0x2854f2(0x112)](_0x20886d=>_0x20886d['id']===_0x2b8950);if(_0x5db036&&_0x5db036[_0x2854f2(0x143)])return;_0x5db036&&(_0x4345c6=_0x5db036[_0x2854f2(0xe9)]['id'],_0x5db036[_0x2854f2(0x143)]=!0x0);}const _0x26c945={'positiveCount':this[_0x2854f2(0x123)][_0x2854f2(0x120)](_0x4daa60=>_0x2854f2(0xef)===_0x4daa60[_0x2854f2(0x11e)])[_0x2854f2(0x114)],'totalCount':this[_0x2854f2(0x123)][_0x2854f2(0x114)]};this[_0x2854f2(0x13e)](_0x26c945,this[_0x2854f2(0x146)],_0x4345c6);}[_0x38bbfd(0x12f)](_0x23dbda,_0x3dcf59){const _0x21ee0f=_0x38bbfd,_0x3c79be=this[_0x21ee0f(0xe7)][_0x21ee0f(0x10d)][_0x21ee0f(0xf8)](_0x23dbda);if(!_0x3c79be)return;const _0x736d3a=_0x3c79be[_0x21ee0f(0x12c)]();if(_0x736d3a===_0x3dcf59)return;const _0x187419=new _0x53f14e({'id':_0x23dbda,'contentInitial':_0x736d3a,'contentNew':_0x3dcf59,'documentVersion':this[_0x21ee0f(0xe7)][_0x21ee0f(0xf2)]});this[_0x21ee0f(0xf7)][_0x21ee0f(0xe5)](_0x187419['id'],_0x187419),this[_0x21ee0f(0xfb)](_0x21ee0f(0x11c),{'result':_0x187419,'source':this});}[_0x38bbfd(0x140)](){const _0x9f6c17=_0x38bbfd;_0x9f6c17(0x134)===this[_0x9f6c17(0x11e)]&&(this[_0x9f6c17(0x123)][_0x9f6c17(0x120)](_0x25e926=>_0x9f6c17(0x133)===_0x25e926[_0x9f6c17(0x11e)])[_0x9f6c17(0x114)]>0x0&&(this[_0x9f6c17(0x11e)]=_0x9f6c17(0x124))),_0x9f6c17(0x124)===this[_0x9f6c17(0x11e)]&&(0x0===this[_0x9f6c17(0x123)][_0x9f6c17(0x120)](_0x5f1889=>_0x9f6c17(0x133)===_0x5f1889[_0x9f6c17(0x11e)])[_0x9f6c17(0x114)]&&(this[_0x9f6c17(0x11e)]=_0x9f6c17(0x134)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x82f2(){const _0x768dfc=['subTitle','_documentData','656306tkAOhy','14431424VQORBE','_aiConnector','209116aXvKfh','1563454GfCoaM','join','label','983621maIYdW','apiId','push','content','upsertAIReviewRating','2056764uZbFeL','reviewName','callSystemReview','_composeReviewName','length','options','useArgs','_sourceCheck','_createApiRequest','data','find','40MrAwdU','_reviewParams','2835453WQJSBH','_sendRatingRequest','_reviewArgs'];_0x82f2=function(){return _0x768dfc;};return _0x82f2();}const _0x58069f=_0x31a5;(function(_0x1983e1,_0x5e8515){const _0x4f9cce=_0x31a5,_0x5a351e=_0x1983e1();while(!![]){try{const _0x35d70f=parseInt(_0x4f9cce(0x10e))/0x1+parseInt(_0x4f9cce(0x10b))/0x2+parseInt(_0x4f9cce(0x120))/0x3+parseInt(_0x4f9cce(0x10a))/0x4*(-parseInt(_0x4f9cce(0x11e))/0x5)+parseInt(_0x4f9cce(0x113))/0x6+parseInt(_0x4f9cce(0x107))/0x7+-parseInt(_0x4f9cce(0x108))/0x8;if(_0x35d70f===_0x5e8515)break;else _0x5a351e['push'](_0x5a351e['shift']());}catch(_0x43dd2e){_0x5a351e['push'](_0x5a351e['shift']());}}}(_0x82f2,0xe1cdb));import{AIReviewCheckRun as _0x29dd68}from'./aireviewcheckrun.js';function _0x31a5(_0xc70bda,_0x2c30b0){const _0x82f2c1=_0x82f2();return _0x31a5=function(_0x31a55e,_0xcf444a){_0x31a55e=_0x31a55e-0x106;let _0x203c3c=_0x82f2c1[_0x31a55e];return _0x203c3c;},_0x31a5(_0xc70bda,_0x2c30b0);}export class AIReviewSystemCheckRun extends _0x29dd68{get[_0x58069f(0x123)](){const _0x210534=_0x58069f;if(!this[_0x210534(0x11f)]||0x0===this[_0x210534(0x11f)][_0x210534(0x117)])return'';const _0xed1e52=[];if(this[_0x210534(0x11f)][_0x210534(0x117)]>0x0&&this[_0x210534(0x11a)][_0x210534(0x118)])for(let _0x44fa9a=0x0;_0x44fa9a<this[_0x210534(0x11f)][_0x210534(0x117)];_0x44fa9a++){if(!this[_0x210534(0x11f)][_0x44fa9a]||!this[_0x210534(0x11a)][_0x210534(0x118)][_0x44fa9a])continue;const _0x5331e2=this[_0x210534(0x11a)][_0x210534(0x118)][_0x44fa9a],_0x7edf71=_0x5331e2[_0x210534(0x11c)]?.[_0x210534(0x11d)](_0x2198e1=>_0x2198e1['id']===this[_0x210534(0x11f)][_0x44fa9a]);_0x7edf71&&_0xed1e52[_0x210534(0x110)](_0x7edf71[_0x210534(0x10d)]);}return _0xed1e52[_0x210534(0x10c)](',\x20');}get[_0x58069f(0x114)](){const _0x58e029=_0x58069f;return this[_0x58e029(0x116)]();}[_0x58069f(0x11b)](){const _0x268c88=_0x58069f;return this[_0x268c88(0x109)][_0x268c88(0x115)]({'reviewName':this[_0x268c88(0x116)](),'content':this[_0x268c88(0x106)][_0x268c88(0x111)],'args':this[_0x268c88(0x122)]});}[_0x58069f(0x121)](_0x2cbced,_0x440b90,_0x2b973b){const _0x88e8d4=_0x58069f;return this[_0x88e8d4(0x109)][_0x88e8d4(0x112)](this[_0x88e8d4(0x114)],_0x440b90,_0x2cbced,_0x2b973b);}[_0x58069f(0x116)](){const _0x5e1a84=_0x58069f;return!this[_0x5e1a84(0x11f)]||0x0===this[_0x5e1a84(0x11f)][_0x5e1a84(0x117)]||this[_0x5e1a84(0x11a)][_0x5e1a84(0x119)]?this[_0x5e1a84(0x11a)][_0x5e1a84(0x10f)]:[this[_0x5e1a84(0x11a)][_0x5e1a84(0x10f)],...this[_0x5e1a84(0x11f)]][_0x5e1a84(0x10c)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3a7b(_0x80548c,_0x111dcd){const _0x189e18=_0x189e();return _0x3a7b=function(_0x3a7b36,_0x18690b){_0x3a7b36=_0x3a7b36-0x9b;let _0x3d0657=_0x189e18[_0x3a7b36];return _0x3d0657;},_0x3a7b(_0x80548c,_0x111dcd);}const _0x371a3d=_0x3a7b;(function(_0x47c7fb,_0xde1e0e){const _0x286bdd=_0x3a7b,_0x24e147=_0x47c7fb();while(!![]){try{const _0x4da860=parseInt(_0x286bdd(0xb4))/0x1+-parseInt(_0x286bdd(0xbb))/0x2*(-parseInt(_0x286bdd(0xcc))/0x3)+parseInt(_0x286bdd(0xa0))/0x4*(-parseInt(_0x286bdd(0xe6))/0x5)+parseInt(_0x286bdd(0xbd))/0x6+parseInt(_0x286bdd(0xb3))/0x7*(parseInt(_0x286bdd(0xd9))/0x8)+parseInt(_0x286bdd(0xa7))/0x9*(parseInt(_0x286bdd(0xc2))/0xa)+parseInt(_0x286bdd(0xae))/0xb*(parseInt(_0x286bdd(0xd8))/0xc);if(_0x4da860===_0xde1e0e)break;else _0x24e147['push'](_0x24e147['shift']());}catch(_0x525ea2){_0x24e147['push'](_0x24e147['shift']());}}}(_0x189e,0xbc46e));import{Rect as _0x28440b,getConstrainedViewportRect as _0x635f6e}from'ckeditor5/src/utils.js';function _0x189e(){const _0x21ff28=['add','20906ZFaoKG','extendTemplate','2273856dxASOr','isDiffActive','documentElement','ck-ai_review__suggestion-text','getClientRects','3287590KtXyNr','setTemplate','push','reverse','deactivateChange','getIntersection','right','resultItemView','ck-ai_review-balloon-panel-suggestion','showBalloon','3PhDkkg','bottom','left','set','changeId','_isPinnedRectVisible','replace','clientX','div','arrow_','dismissChange','arrow_se','11509656cbDNDw','256VpfpOo','contentDiffed','from','acceptChange','top','locale','_getBestRectPositionOnHover','position','hide','ck-ai_review-balloon-panel-suggestion_diff-active','ck-reset','hideDiffInBalloon','forEach','25UgPDUT','delegate','getBoundingClientRect','show','click','hideBalloon','_pinnedTargetChangeId','content','_getPointedRectIndexFromEvent','balloon','hover','1179996cRmMnn','render','ck-content','innerHTML','updateContent','isVisible','_pinnedRectIndex','18KZVjKD','_setupClickOutsideHandler','_getBestRectPositionOnClick','element','showDiffInBalloon','_pinnedTargetElement','_createContentView','11kLbNEs','fire','clientY','pin','resultResponseView','19684TNPBxG','150108lExCkc','showDiff','width','bindTemplate','unpin','length'];_0x189e=function(){return _0x21ff28;};return _0x189e();}import{BalloonPanelView as _0x78589e,View as _0x3df3e3,clickOutsideHandler as _0x47106b}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x209b03}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x78589e{[_0x371a3d(0xc9)];[_0x371a3d(0xa6)]=void 0x0;[_0x371a3d(0xac)]=void 0x0;[_0x371a3d(0x9b)]=void 0x0;constructor(_0x155743,_0xb1e6d4){const _0x250317=_0x371a3d;super(_0x155743),this[_0x250317(0xcf)]({'isVisible':!0x1,'position':_0x250317(0xd7),'class':null,'top':0x0,'left':0x0}),this[_0x250317(0xbc)]({'tag':_0x250317(0xd4),'attributes':{'class':[_0x250317(0xe3)],'tabindex':'-1'}}),this[_0x250317(0xcf)](_0x250317(0xbe),!0x1),this[_0x250317(0x9c)][_0x250317(0xba)](this[_0x250317(0xad)]()),_0xb1e6d4[_0x250317(0xba)](this);}[_0x371a3d(0xa1)](){const _0xfb3ff9=_0x371a3d;super[_0xfb3ff9(0xa1)](),this[_0xfb3ff9(0xa8)]();}[_0x371a3d(0xa4)](_0xc44d6d){const _0x2baa09=_0x371a3d;this[_0x2baa09(0xc9)][_0x2baa09(0xd0)]=_0xc44d6d['id'],this[_0x2baa09(0xc9)][_0x2baa09(0xb2)][_0x2baa09(0xaa)][_0x2baa09(0xa3)]=_0xc44d6d[_0x2baa09(0xda)];}[_0x371a3d(0xcb)](_0x174900,_0x4de6f2,_0x12b0c9,_0x5ac5f5,_0x1d3f05,_0xb0e2c9){const _0x2e369e=_0x371a3d,_0x9b6049=_0x4de6f2();if(!_0x9b6049)return;this[_0x2e369e(0xa4)](_0x174900),this[_0x2e369e(0xe9)]();const _0x573228=Array[_0x2e369e(0xdb)](_0x9b6049[_0x2e369e(0xc1)]())[_0x2e369e(0xc5)](),_0x220d28=this[_0x2e369e(0x9d)](_0x12b0c9,_0x573228),_0x1ad648=_0x573228[_0x220d28??0x0];_0x2e369e(0xea)===_0x5ac5f5?(this[_0x2e369e(0xbe)]=!0x0,this[_0x2e369e(0xb1)]({'target':()=>this[_0x2e369e(0xa9)](_0x4de6f2(),_0x220d28,_0x174900['id'],_0x1d3f05,_0xb0e2c9)||_0x1ad648})):_0x2e369e(0x9f)===_0x5ac5f5&&(this[_0x2e369e(0xbe)]=!0x1,this[_0x2e369e(0xb1)]({'target':()=>this[_0x2e369e(0xdf)](_0x4de6f2(),_0x220d28,_0x174900['id'])||_0x1ad648}));}[_0x371a3d(0xeb)](){const _0x2eacfb=_0x371a3d;this[_0x2eacfb(0xe1)](),this[_0x2eacfb(0xb8)](),this[_0x2eacfb(0xa6)]=void 0x0,this[_0x2eacfb(0xac)]=void 0x0,this[_0x2eacfb(0x9b)]=void 0x0;}[_0x371a3d(0xe4)](){const _0xe37620=_0x371a3d;this[_0xe37620(0xc9)][_0xe37620(0xb5)]=!0x1;}[_0x371a3d(0xab)](){const _0x380ede=_0x371a3d;this[_0x380ede(0xc9)][_0x380ede(0xb5)]=!0x0;}[_0x371a3d(0xc6)](){const _0x14b68e=_0x371a3d;this[_0x14b68e(0xaf)](_0x14b68e(0xc6),{'origin':_0x14b68e(0x9e)});}[_0x371a3d(0xa8)](){const _0x5d34c3=_0x371a3d;_0x47106b({'emitter':this,'activator':()=>this[_0x5d34c3(0xa5)],'contextElements':()=>{const _0x35feda=_0x5d34c3,_0x31107a=[this[_0x35feda(0xaa)]];return this[_0x35feda(0xac)]&&_0x31107a[_0x35feda(0xc4)](this[_0x35feda(0xac)]),_0x31107a;},'callback':()=>{const _0x256b33=_0x5d34c3;this[_0x256b33(0xe1)](),this[_0x256b33(0xb8)](),this[_0x256b33(0xc6)](),this[_0x256b33(0xac)]=void 0x0,this[_0x256b33(0xa6)]=void 0x0,this[_0x256b33(0x9b)]=void 0x0;}});}[_0x371a3d(0xad)](){const _0x5451bf=_0x371a3d,_0x3efb21=new _0x3df3e3();return this[_0x5451bf(0xc9)]=new _0x209b03(this[_0x5451bf(0xde)],''),this[_0x5451bf(0xc9)][_0x5451bf(0xb2)][_0x5451bf(0xbc)]({'attributes':{'class':[_0x5451bf(0xa2)]}}),this[_0x5451bf(0xc9)][_0x5451bf(0xe7)](_0x5451bf(0xdc),_0x5451bf(0xd6))['to'](this),_0x3efb21[_0x5451bf(0xc3)]({'tag':_0x5451bf(0xd4),'attributes':{'class':[_0x5451bf(0xe3),_0x5451bf(0xca),this[_0x5451bf(0xb7)]['if'](_0x5451bf(0xbe),_0x5451bf(0xe2))]},'children':[{'tag':'p','attributes':{'class':[_0x5451bf(0xc0)]},'children':[this[_0x5451bf(0xc9)]]}]}),_0x3efb21;}[_0x371a3d(0xa9)](_0x4e57e9,_0x298e46,_0x2855a2,_0x413f0d,_0x36dc5f){const _0xf026b=_0x371a3d;if(!_0x4e57e9)return null;const _0x244227=this[_0xf026b(0xe0)][_0xf026b(0xd2)](_0xf026b(0xd5),''),_0x539889=Array[_0xf026b(0xdb)](_0x4e57e9[_0xf026b(0xc1)]());let _0x5e7638,_0x1f944b=_0x539889[_0xf026b(0xc5)]();return void 0x0!==_0x298e46&&this[_0xf026b(0xd1)](_0x1f944b[_0x298e46],_0x413f0d,_0x36dc5f)?(_0x5e7638=_0x1f944b[_0x298e46],this[_0xf026b(0xa6)]=_0x298e46):this[_0xf026b(0xd1)](_0x1f944b[0x0],_0x413f0d,_0x36dc5f)&&void 0x0===_0x298e46?_0x5e7638=_0x1f944b[0x0]:(_0x1f944b='s'==_0x244227[0x0]?[..._0x539889][_0xf026b(0xc5)]():_0x539889,_0x1f944b[_0xf026b(0xe5)](_0x57cbd6=>{const _0x555e18=_0xf026b;this[_0x555e18(0xd1)](_0x57cbd6,_0x413f0d,_0x36dc5f)&&(_0x5e7638=_0x57cbd6);})),this[_0xf026b(0x9b)]=_0x2855a2,this[_0xf026b(0xac)]=_0x4e57e9,_0x5e7638||_0x4e57e9[_0xf026b(0xe8)]();}[_0x371a3d(0xdf)](_0x1a9b66,_0x260005,_0x2ce302){const _0x23cc8f=_0x371a3d;if(!_0x1a9b66)return null;const _0x57f61c=Array[_0x23cc8f(0xdb)](_0x1a9b66[_0x23cc8f(0xc1)]())[_0x23cc8f(0xc5)]();if(void 0x0===this[_0x23cc8f(0xa6)]&&void 0x0!==_0x260005&&this[_0x23cc8f(0x9b)]!==_0x2ce302)return this[_0x23cc8f(0xa6)]=_0x260005,this[_0x23cc8f(0xac)]=_0x1a9b66,this[_0x23cc8f(0x9b)]=_0x2ce302,_0x57f61c[_0x260005];if(void 0x0!==this[_0x23cc8f(0xa6)]&&this[_0x23cc8f(0x9b)]===_0x2ce302){if(_0x1a9b66!==this[_0x23cc8f(0xac)])return Array[_0x23cc8f(0xdb)](this[_0x23cc8f(0xac)][_0x23cc8f(0xc1)]())[_0x23cc8f(0xc5)]()[this[_0x23cc8f(0xa6)]];return _0x57f61c[this[_0x23cc8f(0xa6)]];}return void 0x0!==_0x260005&&this[_0x23cc8f(0x9b)]!==_0x2ce302?(this[_0x23cc8f(0xa6)]=_0x260005,this[_0x23cc8f(0xac)]=_0x1a9b66,this[_0x23cc8f(0x9b)]=_0x2ce302,_0x57f61c[_0x260005]):_0x1a9b66[_0x23cc8f(0xe8)]();}[_0x371a3d(0x9d)](_0x219ed8,_0xf80bd4){const _0x1f30f9=_0x371a3d;if(_0x219ed8)for(let _0x2f0cdb=0x0;_0x2f0cdb<_0xf80bd4[_0x1f30f9(0xb9)];_0x2f0cdb++){const _0x3ccf83=_0xf80bd4[_0x2f0cdb];if(_0x219ed8[_0x1f30f9(0xd3)]>=_0x3ccf83[_0x1f30f9(0xce)]-0x3&&_0x219ed8[_0x1f30f9(0xd3)]<=_0x3ccf83[_0x1f30f9(0xc8)]+0x3&&_0x219ed8[_0x1f30f9(0xb0)]>=_0x3ccf83[_0x1f30f9(0xdd)]-0x3&&_0x219ed8[_0x1f30f9(0xb0)]<=_0x3ccf83[_0x1f30f9(0xcd)]+0x3)return _0x2f0cdb;}}[_0x371a3d(0xd1)](_0x452c1a,_0x25c4ed,_0x23c8c9){const _0x2202c6=_0x371a3d,_0x512b70=new _0x28440b(_0x452c1a),_0x3d3803=_0x25c4ed||document[_0x2202c6(0xbf)],_0x4574fa=_0x512b70[_0x2202c6(0xc7)](_0x635f6e(_0x23c8c9)),_0x1f96ad=new _0x28440b(_0x3d3803)[_0x2202c6(0xc7)](_0x512b70);return!!(_0x4574fa&&_0x1f96ad&&_0x512b70[_0x2202c6(0xb6)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x37a8(){const _0x491103=['isEnabled','24fFoHcg','accepted','div','fire','menuitemcheckbox','tagName','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','pending','click','infoButtonView','setItemAsActive','17304uVoRbc','isOn','disabled','ck-ai_review__check-run-result-action-buttons','isInfoToggleOn','1197870llqRRY','dismissChange','outdated','_createInfoButtonView','ck-reset_all-excluded','ck-ai_review__check-run-result_active','581bMkauH','deactivateChange','rejected','set','status','acceptChange','outdatedButtonView','13393061akakhH','ck-ai_review__check-run-result-dismiss-button','mouseout','dismissButtonView','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','execute','setItemAsInactive','1747076sDeFbR','4650460MAEDmf','ck-ai_review__check-run-result-response','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','isActive','ck-ai-button-secondary','hover','showDiff','change:status','locale','changeId','setTemplate','panel','ck-ai_review__check-run-result-accept-button','ck-ai_review__check-run-result-status-button','_createOutdatedButtonView','bind','36akEgwR','resultResponseView','preventDefault','ck-ai_review__check-run-result-footer','ck-ai-button-tertiary','AI_REVIEW_MODE_DISMISS_CHANGE','icon','ck-content','stopPropagation','10gTDpcz','ck-ai_review__check-run-result','3noTkYm','extendTemplate','_createDismissButtonView','AI_REVIEW_MODE_ACCEPT_CHANGE','2408229WokvuR','activateChange','AI_REVIEW_MODE_LEARN_MORE','acceptButtonView','348745uYHGKm','bindTemplate','label','mouseover','target','_createResultResponseView','_createAcceptButtonView','ck-hidden'];_0x37a8=function(){return _0x491103;};return _0x37a8();}const _0x1e6ca7=_0x4e87;(function(_0x5cb279,_0x597c4e){const _0x1f00c9=_0x4e87,_0x5cfece=_0x5cb279();while(!![]){try{const _0x350c93=-parseInt(_0x1f00c9(0x115))/0x1+parseInt(_0x1f00c9(0x129))/0x2*(-parseInt(_0x1f00c9(0x145))/0x3)+-parseInt(_0x1f00c9(0x12a))/0x4+parseInt(_0x1f00c9(0x14d))/0x5*(parseInt(_0x1f00c9(0x156))/0x6)+-parseInt(_0x1f00c9(0x11b))/0x7*(-parseInt(_0x1f00c9(0x110))/0x8)+-parseInt(_0x1f00c9(0x149))/0x9*(parseInt(_0x1f00c9(0x143))/0xa)+-parseInt(_0x1f00c9(0x122))/0xb*(-parseInt(_0x1f00c9(0x13a))/0xc);if(_0x350c93===_0x597c4e)break;else _0x5cfece['push'](_0x5cfece['shift']());}catch(_0x164c40){_0x5cfece['push'](_0x5cfece['shift']());}}}(_0x37a8,0x94d26));import{View as _0x400eb5,ButtonView as _0x56f3f6}from'ckeditor5/src/ui.js';function _0x4e87(_0x16631b,_0x444ace){const _0x37a897=_0x37a8();return _0x4e87=function(_0x4e8755,_0x1f68dd){_0x4e8755=_0x4e8755-0x10d;let _0x3fdfcd=_0x37a897[_0x4e8755];return _0x3fdfcd;},_0x4e87(_0x16631b,_0x444ace);}import{IconInfo as _0x427a93,IconCheck as _0x4a0959,IconCancel as _0x5c5b83,IconOutdated as _0x4d8cd4}from'ckeditor5/src/icons.js';import{getTranslation as _0x462756}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x400eb5{[_0x1e6ca7(0x13b)];[_0x1e6ca7(0x14c)];[_0x1e6ca7(0x125)];[_0x1e6ca7(0x10e)];[_0x1e6ca7(0x121)];constructor(_0x5a94b,_0x211054){const _0x19acd9=_0x1e6ca7;super(_0x5a94b),this['id']=_0x211054,this[_0x19acd9(0x11e)](_0x19acd9(0x11f),_0x19acd9(0x15e)),this[_0x19acd9(0x11e)](_0x19acd9(0x133),_0x211054),this[_0x19acd9(0x13b)]=this[_0x19acd9(0x152)](),this[_0x19acd9(0x14c)]=this[_0x19acd9(0x153)](),this[_0x19acd9(0x125)]=this[_0x19acd9(0x147)](),this[_0x19acd9(0x10e)]=this[_0x19acd9(0x118)](),this[_0x19acd9(0x121)]=this[_0x19acd9(0x138)](),this[_0x19acd9(0x11e)](_0x19acd9(0x114),!0x1),this[_0x19acd9(0x11e)](_0x19acd9(0x12d),!0x1),this[_0x19acd9(0x11e)](_0x19acd9(0x130),!0x0),this[_0x19acd9(0x134)]({'tag':_0x19acd9(0x158),'attributes':{'class':[_0x19acd9(0x144),this[_0x19acd9(0x14e)]['if'](_0x19acd9(0x12d),_0x19acd9(0x11a))]},'on':{'click':this[_0x19acd9(0x14e)]['to'](_0x19acd9(0x10d)),'mouseover':this[_0x19acd9(0x14e)]['to'](_0x19acd9(0x150)),'mouseout':this[_0x19acd9(0x14e)]['to'](_0x19acd9(0x124))},'children':[this[_0x19acd9(0x13b)],{'tag':_0x19acd9(0x158),'attributes':{'class':[_0x19acd9(0x13d)]},'children':[{'tag':_0x19acd9(0x158),'attributes':{'class':[_0x19acd9(0x113)]},'children':[this[_0x19acd9(0x14c)],this[_0x19acd9(0x125)],this[_0x19acd9(0x121)]]},this[_0x19acd9(0x10e)]]}]}),this['on'](_0x19acd9(0x10d),(_0x302309,_0x2455f1)=>{const _0x46ca68=_0x19acd9;_0x2455f1&&_0x2455f1[_0x46ca68(0x151)]&&'A'===_0x2455f1[_0x46ca68(0x151)][_0x46ca68(0x15b)]&&_0x2455f1[_0x46ca68(0x13c)](),this[_0x46ca68(0x159)](_0x46ca68(0x14a),{'id':_0x211054,'source':this,'uiInteraction':_0x46ca68(0x10d)});}),this['on'](_0x19acd9(0x150),()=>{const _0x162f23=_0x19acd9;this[_0x162f23(0x159)](_0x162f23(0x14a),{'id':_0x211054,'source':this,'uiInteraction':_0x162f23(0x12f)});}),this['on'](_0x19acd9(0x124),()=>{const _0x27fe5f=_0x19acd9;this[_0x27fe5f(0x159)](_0x27fe5f(0x11c),{'origin':_0x27fe5f(0x135),'id':_0x211054,'source':this});});}[_0x1e6ca7(0x10f)](){const _0x5aea34=_0x1e6ca7;this[_0x5aea34(0x12d)]=!0x0;}[_0x1e6ca7(0x128)](){const _0x3643e4=_0x1e6ca7;this[_0x3643e4(0x12d)]=!0x1;}[_0x1e6ca7(0x152)](){const _0x75d5ad=_0x1e6ca7,_0x142a0c=new _0x400eb5(this[_0x75d5ad(0x132)]);return _0x142a0c[_0x75d5ad(0x134)]({'tag':_0x75d5ad(0x158),'attributes':{'class':['ck',_0x75d5ad(0x141),_0x75d5ad(0x119),_0x75d5ad(0x12b),this[_0x75d5ad(0x14e)]['if'](_0x75d5ad(0x130),_0x75d5ad(0x154),_0x20c4e1=>!_0x20c4e1)]}}),_0x142a0c;}[_0x1e6ca7(0x153)](){const _0x430ce4=_0x1e6ca7,_0x174385=new _0x56f3f6(this[_0x430ce4(0x132)]);return _0x174385[_0x430ce4(0x11e)]({'label':_0x462756(this[_0x430ce4(0x132)],_0x430ce4(0x148)),'withText':!0x0}),_0x174385[_0x430ce4(0x146)]({'on':{'click':this[_0x430ce4(0x14e)]['to'](_0x3cc3c9=>{const _0xb2dbba=_0x430ce4;this[_0xb2dbba(0x159)](_0xb2dbba(0x120),{'id':this[_0xb2dbba(0x133)]}),_0x3cc3c9[_0xb2dbba(0x142)]();})},'attributes':{'class':[_0x430ce4(0x12e),_0x430ce4(0x136),this[_0x430ce4(0x14e)]['if'](_0x430ce4(0x11f),_0x430ce4(0x154),_0x3ced0f=>_0x430ce4(0x15e)!==_0x3ced0f&&_0x430ce4(0x157)!==_0x3ced0f),this[_0x430ce4(0x14e)]['if'](_0x430ce4(0x11f),_0x430ce4(0x136),_0x1f1588=>_0x430ce4(0x15e)===_0x1f1588),this[_0x430ce4(0x14e)]['if'](_0x430ce4(0x11f),_0x430ce4(0x137),_0x434546=>_0x430ce4(0x157)===_0x434546)]}}),this['on'](_0x430ce4(0x131),(_0x175220,_0x53b94c,_0x58b004)=>{const _0x7e7c75=_0x430ce4;_0x174385[_0x7e7c75(0x155)]=_0x7e7c75(0x15e)===_0x58b004,_0x7e7c75(0x157)===_0x58b004&&(_0x174385[_0x7e7c75(0x14f)]=_0x462756(this[_0x7e7c75(0x132)],_0x7e7c75(0x12c)),_0x174385[_0x7e7c75(0x140)]=_0x4a0959);}),_0x174385;}[_0x1e6ca7(0x147)](){const _0x4cd445=_0x1e6ca7,_0x569b96=new _0x56f3f6(this[_0x4cd445(0x132)]);return _0x569b96[_0x4cd445(0x11e)]({'label':_0x462756(this[_0x4cd445(0x132)],_0x4cd445(0x13f)),'withText':!0x0}),_0x569b96[_0x4cd445(0x146)]({'on':{'click':this[_0x4cd445(0x14e)]['to'](_0x307850=>{const _0x3363d8=_0x4cd445;this[_0x3363d8(0x159)](_0x3363d8(0x116),{'id':this[_0x3363d8(0x133)]}),_0x307850[_0x3363d8(0x142)]();})},'attributes':{'class':[_0x4cd445(0x13e),this[_0x4cd445(0x14e)]['if'](_0x4cd445(0x11f),_0x4cd445(0x154),_0x416779=>_0x4cd445(0x15e)!==_0x416779&&_0x4cd445(0x11d)!==_0x416779),this[_0x4cd445(0x14e)]['if'](_0x4cd445(0x11f),_0x4cd445(0x123),_0x2a61d4=>_0x4cd445(0x15e)===_0x2a61d4),this[_0x4cd445(0x14e)]['if'](_0x4cd445(0x11f),_0x4cd445(0x137),_0x2abba2=>_0x4cd445(0x11d)===_0x2abba2)]}}),this['on'](_0x4cd445(0x131),(_0x31228b,_0x143446,_0x136f01)=>{const _0x2b83ce=_0x4cd445;_0x569b96[_0x2b83ce(0x155)]=_0x2b83ce(0x15e)===_0x136f01,_0x2b83ce(0x11d)===_0x136f01&&(_0x569b96[_0x2b83ce(0x14f)]=_0x462756(this[_0x2b83ce(0x132)],_0x2b83ce(0x15c)),_0x569b96[_0x2b83ce(0x140)]=_0x5c5b83);}),_0x569b96;}[_0x1e6ca7(0x118)](){const _0x17601f=_0x1e6ca7,_0x49313c=new _0x56f3f6(this[_0x17601f(0x132)]);return _0x49313c[_0x17601f(0x11e)]({'label':_0x462756(this[_0x17601f(0x132)],_0x17601f(0x14b)),'icon':_0x427a93,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x17601f(0x15a),'class':_0x17601f(0x126)}),_0x49313c[_0x17601f(0x139)](_0x17601f(0x111))['to'](this,_0x17601f(0x114),_0x1e3c7f=>_0x1e3c7f),_0x49313c['on'](_0x17601f(0x127),()=>{const _0x3d64d4=_0x17601f;this[_0x3d64d4(0x114)]=!this[_0x3d64d4(0x114)];}),_0x49313c;}[_0x1e6ca7(0x138)](){const _0x1cab34=_0x1e6ca7,_0xe706cd=new _0x56f3f6(this[_0x1cab34(0x132)]);return _0xe706cd[_0x1cab34(0x11e)]({'label':_0x462756(this[_0x1cab34(0x132)],_0x1cab34(0x15d)),'icon':_0x4d8cd4,'withText':!0x0,'isEnabled':!0x1}),_0xe706cd[_0x1cab34(0x146)]({'attributes':{'class':[_0x1cab34(0x12e),_0x1cab34(0x137),this[_0x1cab34(0x14e)]['if'](_0x1cab34(0x11f),_0x1cab34(0x154),_0x54a458=>_0x1cab34(0x117)!==_0x54a458)],'disabled':_0x1cab34(0x112)}}),_0xe706cd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x543fbb,KeystrokeHandler as _0x4dd248,FocusTracker as _0x40fe0f}from'ckeditor5/src/utils.js';import{View as _0x209539,ViewCollection as _0x41bb38,ButtonView as _0x25f23c,FormRowView as _0x19726f,createDropdown as _0x120b81,addListToDropdown as _0x347087,UIModel as _0x3e21e7,ButtonLabelView as _0x1e25af,LabeledFieldView as _0x530ac4,FocusCycler as _0x4290ff}from'ckeditor5/src/ui.js';import{getTranslation as _0x2befd0}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x3e1ab4}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x209539{['focusTracker']=new _0x40fe0f();['keystrokes']=new _0x4dd248();['focusCycler'];['_focusables']=new _0x41bb38();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x1de0ce,_0x30de81,_0xf73e46=!0x1){super(_0x1de0ce),this['_check']=_0x30de81,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x30de81['defaultModel']?_0x30de81['defaultModel']['id']:'',this['_defaultLabel']=_0x30de81['defaultModel']?_0x30de81['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x530ac4(this['locale'],()=>new _0x3e1ab4(_0x1de0ce)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x543fbb(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0xf73e46),_0x347087(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x19726f(this['locale'],{'children':[this['promptInputView']]}),new _0x19726f(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x254269,_0x43a2de)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x43a2de()):_0x43a2de();}),this['focusCycler']=new _0x4290ff({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x33581c=>{this['_focusables']['add'](_0x33581c),this['focusTracker']['add'](_0x33581c['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x148469 of this['_getFormValidators']()){const _0x52402d=_0x148469();if(_0x52402d)return this['promptInputView']['errorText']=_0x52402d,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2befd0(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0xc47052=new _0x25f23c(this['locale']),t=this['locale']['t'];return _0xc47052['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xc47052['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0xc47052;}['_createCancelButtonView'](){const _0x26f405=new _0x25f23c(this['locale']),t=this['locale']['t'];return _0x26f405['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x26f405['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x204593=>{_0x204593['stopPropagation']();})}}),_0x26f405['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x26f405;}['_setModelList'](_0x243daf){this['_modelSelectionDropdownItems']['clear']();const _0x62b38e=this['_check']['models'];if(_0x243daf)this['set']('modelDisplayMode','hidden');else{const _0x4806ad=0x1===_0x62b38e['length'];this['set']('modelDisplayMode',_0x4806ad?'name':'selector');}if(this['resetToDefault'](),_0x62b38e?.['length']){0x1===_0x62b38e['length']&&this['set']('activeModelName',_0x62b38e[0x0]['name']||_0x62b38e[0x0]['id']);for(const _0x40e189 of _0x62b38e){const _0x5be1f1=new _0x3e21e7({'label':_0x40e189['name'],'withText':!0x0,'role':'menuitemradio','id':_0x40e189['id'],'model':_0x40e189});_0x5be1f1['bind']('isOn')['to'](this,'modelId',_0x1a5234=>_0x1a5234===_0x40e189['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5be1f1,'labelView':new po(this['locale'],_0x40e189)});}}}['_createModelSelectionDropdown'](){const _0x47ab7b=_0x120b81(this['locale']);return _0x47ab7b['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x47ab7b['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x47ab7b['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x45cea=>'selector'===_0x45cea),this['listenTo'](_0x47ab7b,'execute',_0xef5399=>{this['modelId']=_0xef5399['source']['model']['id'],_0x47ab7b['buttonView']['label']=_0xef5399['source']['label'];}),_0x47ab7b;}['_createModelNameView'](){const _0x3592d2=new wo(this['locale']);return _0x3592d2['bind']('text')['to'](this,'activeModelName',_0xcaba8e=>_0xcaba8e??''),_0x3592d2['bind']('isVisible')['to'](this,'modelDisplayMode',_0x13a88f=>'name'===_0x13a88f),_0x3592d2;}['_createActionsFooterView'](){const _0x1f9fcc=new _0x209539(this['locale']);return _0x1f9fcc['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x1f9fcc;}}class wo extends _0x209539{constructor(_0xd7e6c3){super(_0xd7e6c3),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x5258f8=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x5258f8['if']('isVisible','ck-hidden',_0x127d39=>!_0x127d39)]},'children':[{'text':_0x5258f8['to']('text')}]});}}class po extends _0x1e25af{constructor(_0x5b9f87,_0x3f30f7){super();const _0x258bb7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x258bb7['to']('style'),'id':_0x258bb7['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x258bb7['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3f30f7['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x84dba,_0x48fc23){var _0x4099ca=_0x18f3,_0x4a95a5=_0x84dba();while(!![]){try{var _0x1d1cba=parseInt(_0x4099ca(0x159))/0x1*(-parseInt(_0x4099ca(0x14e))/0x2)+parseInt(_0x4099ca(0x14f))/0x3*(-parseInt(_0x4099ca(0x154))/0x4)+parseInt(_0x4099ca(0x151))/0x5*(parseInt(_0x4099ca(0x153))/0x6)+-parseInt(_0x4099ca(0x156))/0x7*(parseInt(_0x4099ca(0x157))/0x8)+parseInt(_0x4099ca(0x158))/0x9+parseInt(_0x4099ca(0x14d))/0xa+parseInt(_0x4099ca(0x152))/0xb;if(_0x1d1cba===_0x48fc23)break;else _0x4a95a5['push'](_0x4a95a5['shift']());}catch(_0x24e0ed){_0x4a95a5['push'](_0x4a95a5['shift']());}}}(_0x5636,0x86969));function _0x18f3(_0x18804b,_0x59c562){var _0x563691=_0x5636();return _0x18f3=function(_0x18f358,_0xa04f98){_0x18f358=_0x18f358-0x14b;var _0x7f14f7=_0x563691[_0x18f358];return _0x7f14f7;},_0x18f3(_0x18804b,_0x59c562);}function _0x5636(){var _0x1bfc02=['finishReview','7176790bTOtsP','34TfyZEX','408705CuCnas','ck-ai-button-primary','2410FqdCGP','3442648xAPdfk','888KOLjpy','4eRIPrK','fire','2723399NOhxtG','8pfazVa','376659DROfBS','3957QUKtEr','execute','set'];_0x5636=function(){return _0x1bfc02;};return _0x5636();}import{ButtonView as _0x57e89e}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x57e89e{constructor(_0xcddb19,_0x2315bc){var _0x10b8bd=_0x18f3;super(_0x2315bc),this[_0x10b8bd(0x14b)]({'label':_0xcddb19,'withText':!0x0,'class':_0x10b8bd(0x150)}),this['on'](_0x10b8bd(0x15a),()=>{var _0x2a1502=_0x10b8bd;this[_0x2a1502(0x155)](_0x2a1502(0x14c));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5e1b(_0x2122af,_0x3f1546){const _0x146574=_0x1465();return _0x5e1b=function(_0x5e1b63,_0x11711f){_0x5e1b63=_0x5e1b63-0x147;let _0x231218=_0x146574[_0x5e1b63];return _0x231218;},_0x5e1b(_0x2122af,_0x3f1546);}(function(_0x496d6e,_0x1f6979){const _0x3c56e7=_0x5e1b,_0x517928=_0x496d6e();while(!![]){try{const _0x349e9d=parseInt(_0x3c56e7(0x14c))/0x1+parseInt(_0x3c56e7(0x152))/0x2*(-parseInt(_0x3c56e7(0x158))/0x3)+parseInt(_0x3c56e7(0x151))/0x4*(parseInt(_0x3c56e7(0x157))/0x5)+parseInt(_0x3c56e7(0x150))/0x6+-parseInt(_0x3c56e7(0x14e))/0x7*(parseInt(_0x3c56e7(0x155))/0x8)+parseInt(_0x3c56e7(0x153))/0x9+-parseInt(_0x3c56e7(0x14b))/0xa;if(_0x349e9d===_0x1f6979)break;else _0x517928['push'](_0x517928['shift']());}catch(_0x6b0006){_0x517928['push'](_0x517928['shift']());}}}(_0x1465,0x67580));import{View as _0x1d995b}from'ckeditor5/src/ui.js';function _0x1465(){const _0x1c8d08=['48XogXnp','ck-ai_review__general-error-container','set','errorMessage','ck-hidden','bindTemplate','2221120fTMYSb','635725FENrXG','div','5470129MtfnDR','ck\x20ck-ai-notification\x20ck-ai-notification_error','538458hkXIXE','632WRDonC','7054kDoYgb','6420789EaLGyN','setTemplate','8LKVbWZ','isVisible','1405QFAyAs'];_0x1465=function(){return _0x1c8d08;};return _0x1465();}export class AIReviewCoreGeneralErrorView extends _0x1d995b{constructor(_0x533923){const _0x4ecf0c=_0x5e1b;super(_0x533923),this[_0x4ecf0c(0x147)](_0x4ecf0c(0x156),!0x1),this[_0x4ecf0c(0x147)](_0x4ecf0c(0x148),'');const _0x57700c=this[_0x4ecf0c(0x14a)];this[_0x4ecf0c(0x154)]({'tag':_0x4ecf0c(0x14d),'attributes':{'class':['ck',_0x4ecf0c(0x159),_0x57700c['if'](_0x4ecf0c(0x156),_0x4ecf0c(0x149),_0x543b74=>!_0x543b74)]},'children':[{'tag':'p','attributes':{'class':_0x4ecf0c(0x14f)},'children':[{'text':_0x57700c['to'](_0x4ecf0c(0x148))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2b85f4=_0x23e8;(function(_0x1254e0,_0x34a88a){var _0x464a38=_0x23e8,_0x9db191=_0x1254e0();while(!![]){try{var _0x25a4d4=parseInt(_0x464a38(0x93))/0x1*(parseInt(_0x464a38(0x8b))/0x2)+-parseInt(_0x464a38(0x8f))/0x3*(-parseInt(_0x464a38(0x94))/0x4)+parseInt(_0x464a38(0x8e))/0x5+parseInt(_0x464a38(0x9a))/0x6+-parseInt(_0x464a38(0x98))/0x7*(parseInt(_0x464a38(0x99))/0x8)+parseInt(_0x464a38(0x86))/0x9*(-parseInt(_0x464a38(0x9d))/0xa)+-parseInt(_0x464a38(0x87))/0xb*(-parseInt(_0x464a38(0x8d))/0xc);if(_0x25a4d4===_0x34a88a)break;else _0x9db191['push'](_0x9db191['shift']());}catch(_0x14da40){_0x9db191['push'](_0x9db191['shift']());}}}(_0x350c,0xd53a3));import{TextareaView as _0x1dd154}from'ckeditor5/src/ui.js';function _0x23e8(_0x6b83c5,_0x5e01bd){var _0x350c79=_0x350c();return _0x23e8=function(_0x23e884,_0x53a74d){_0x23e884=_0x23e884-0x83;var _0x442417=_0x350c79[_0x23e884];return _0x442417;},_0x23e8(_0x6b83c5,_0x5e01bd);}function _0x350c(){var _0x4bc8e8=['ck-review__prompt-input','10BNpEyH','MIN_ROWS','value','listenTo','maxRows','13844655eKsIUL','1206271RPmkoK','keystrokes','set','trim','1196986YjRUeA','render','192ZrxErf','671710yKcsmb','13377UEiAhb','isEmpty','update','ai-review-prompt-input','1ugpvqT','1228XRzLmz','element','minRows','MAX_ROWS','42MMIBVA','2151592LVrmML','1014264vJudEn','extendTemplate'];_0x350c=function(){return _0x4bc8e8;};return _0x350c();}import{KeystrokeHandler as _0x3f88dc}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x1dd154{[_0x2b85f4(0x88)];static [_0x2b85f4(0x9e)]=0x1;static [_0x2b85f4(0x97)]=0xc;constructor(_0x364a62){var _0x3ad95e=_0x2b85f4;super(_0x364a62),this[_0x3ad95e(0x89)](_0x3ad95e(0x90),!0x0),this[_0x3ad95e(0x88)]=new _0x3f88dc(),this[_0x3ad95e(0x96)]=AIReviewCorePromptInputView[_0x3ad95e(0x9e)],this[_0x3ad95e(0x85)]=AIReviewCorePromptInputView[_0x3ad95e(0x97)],this[_0x3ad95e(0x9b)]({'attributes':{'id':_0x3ad95e(0x92),'class':['ck',_0x3ad95e(0x9c)]}});}[_0x2b85f4(0x8c)](){var _0x51f17b=_0x2b85f4;super[_0x51f17b(0x8c)](),this['on'](_0x51f17b(0x91),()=>{var _0x33c69a=_0x51f17b;this[_0x33c69a(0x90)]=''===this[_0x33c69a(0x95)][_0x33c69a(0x83)]?.[_0x33c69a(0x8a)]();}),this[_0x51f17b(0x88)][_0x51f17b(0x84)](this[_0x51f17b(0x95)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x16ab(){const _0x12288f=['entries','add','hasChecks','runReviewCheck','clear','452520CthHBf','2gkCGhr','length','isVisible','delegate','310HjjwkM','_checkViews','ck-ai_review__check-list','13470yjyfua','120CqwZue','resetToDefault','setTemplate','298413fNjMMP','ck-hidden','div','bindTemplate','672548uBeWeS','1752972oAKINq','setChecks','resetAllParameterizedChecks','4071221bxERqA','510837oQcdTz','locale','_setupTemplate'];_0x16ab=function(){return _0x12288f;};return _0x16ab();}const _0x2462fb=_0x3ae8;(function(_0x1387d8,_0x406dde){const _0x4eb83b=_0x3ae8,_0x470385=_0x1387d8();while(!![]){try{const _0x180a43=parseInt(_0x4eb83b(0xa5))/0x1+parseInt(_0x4eb83b(0xb3))/0x2*(-parseInt(_0x4eb83b(0xaa))/0x3)+-parseInt(_0x4eb83b(0x9e))/0x4*(-parseInt(_0x4eb83b(0x9d))/0x5)+parseInt(_0x4eb83b(0xa6))/0x6+parseInt(_0x4eb83b(0xa9))/0x7+-parseInt(_0x4eb83b(0xb2))/0x8+parseInt(_0x4eb83b(0xa1))/0x9*(-parseInt(_0x4eb83b(0x9a))/0xa);if(_0x180a43===_0x406dde)break;else _0x470385['push'](_0x470385['shift']());}catch(_0xf1fccf){_0x470385['push'](_0x470385['shift']());}}}(_0x16ab,0x5aec6));import{ListItemView as _0x5ecc1,ViewCollection as _0x17bfa4}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x498e19}from'./aireviewcorereviewcommandlistitemview.js';function _0x3ae8(_0xe6f75c,_0x332884){const _0x16ab4b=_0x16ab();return _0x3ae8=function(_0x3ae8fc,_0x313678){_0x3ae8fc=_0x3ae8fc-0x98;let _0x26c14b=_0x16ab4b[_0x3ae8fc];return _0x26c14b;},_0x3ae8(_0xe6f75c,_0x332884);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x5ecc1{[_0x2462fb(0x9b)];constructor(_0x369c3c){const _0x34ad5d=_0x2462fb;super(_0x369c3c),this[_0x34ad5d(0x9b)]=new _0x17bfa4(),this[_0x34ad5d(0xac)]();}[_0x2462fb(0xa7)](_0x5d0e64,_0x4ab09b=!0x1){const _0x5bc2f1=_0x2462fb;this[_0x5bc2f1(0x9b)][_0x5bc2f1(0xb1)]();for(const [_0x214708,_0xa519c0]of _0x5d0e64[_0x5bc2f1(0xad)]()){const _0x5e79a5=new _0x498e19(this[_0x5bc2f1(0xab)],_0xa519c0,_0x214708,_0x4ab09b);_0x5e79a5[_0x5bc2f1(0x99)](_0x5bc2f1(0xb0))['to'](this),this[_0x5bc2f1(0x9b)][_0x5bc2f1(0xae)](_0x5e79a5);}}[_0x2462fb(0xaf)](){const _0x571152=_0x2462fb;return this[_0x571152(0x9b)][_0x571152(0xb4)]>0x0;}[_0x2462fb(0xa8)](){const _0x49ccf3=_0x2462fb;for(const _0x28be87 of this[_0x49ccf3(0x9b)])_0x28be87 instanceof _0x498e19&&_0x28be87[_0x49ccf3(0x9f)]();}[_0x2462fb(0xac)](){const _0x373650=_0x2462fb,_0x35102c=this[_0x373650(0xa4)];this[_0x373650(0xa0)]({'tag':_0x373650(0xa3),'attributes':{'class':[_0x373650(0x9c),_0x35102c['if'](_0x373650(0x98),_0x373650(0xa2),_0x1ce44c=>!_0x1ce44c)]},'children':this[_0x373650(0x9b)]});}}
|