@ckeditor/ckeditor5-ai 47.6.0-alpha.8 → 47.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15f6bf=_0x1c04;(function(_0x48539c,_0x226d34){const _0x415173=_0x1c04,_0x41de2b=_0x48539c();while(!![]){try{const _0x4053a6=parseInt(_0x415173(0x1c0))/0x1*(parseInt(_0x415173(0x1a5))/0x2)+parseInt(_0x415173(0x1a2))/0x3+-parseInt(_0x415173(0x1c8))/0x4+-parseInt(_0x415173(0x1a0))/0x5*(-parseInt(_0x415173(0x1cc))/0x6)+-parseInt(_0x415173(0x1e7))/0x7+parseInt(_0x415173(0x1b6))/0x8*(parseInt(_0x415173(0x1a7))/0x9)+-parseInt(_0x415173(0x1e2))/0xa*(parseInt(_0x415173(0x1e0))/0xb);if(_0x4053a6===_0x226d34)break;else _0x41de2b['push'](_0x41de2b['shift']());}catch(_0xb385e9){_0x41de2b['push'](_0x41de2b['shift']());}}}(_0x183e,0x35e56));import{ContextPlugin as _0x31fb62}from'ckeditor5/src/core.js';import{BodyCollection as _0x22156b}from'ckeditor5/src/ui.js';import{getTranslation as _0x575a0a}from'../aicore/utils/common-translations.js';import{AITabs as _0x1da8df}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x159a76}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x15f6bf(0x1aa),_0x15f6bf(0x1c7),_0x15f6bf(0x1b9),_0x15f6bf(0x1d5),_0x15f6bf(0x1bb),_0x15f6bf(0x1b8),_0x15f6bf(0x1b5),_0x15f6bf(0x1a1),_0x15f6bf(0x1eb),_0x15f6bf(0x1de),_0x15f6bf(0x1af),_0x15f6bf(0x1a9),_0x15f6bf(0x1c9)];import'../../theme/common/aiheader.css';function _0x183e(){const _0x5485a3=['110710xDgBkJ','showReviewCheckListView','destroy','isOfficialPlugin','accepted','1371216DjQjKL','hideResult','showCheckRunResults','forEach','acceptChange','showReviewCheckList','rejected','setTitle','showBalloon','setCheckResultTitle','fire','detachFromDom','setActiveStateInResults','setItemAsInactive','createMainView','isPremiumPlugin','locale','showDiffInBalloon','get','65giHMix','deactivateChange','103776pdRrmF','showNoChangesView','registerTab','2KkfwpN','hideActionsWhenResultIsReady','3151242asmrvf','find','finishReview','getReviewCheckList','plugins','showCheckRunResult','hideChangeBalloon','AITabs','learnMore','reviewCheckListView','init','hasChecks','showActionsWhenResultIsReady','_balloonSuggestionView','activateChange','8qLFsSu','updateChangeState','leaveReviewCoreResultList','abortReviewStream','showResult','acceptAllChanges','attachToDom','showChunkErrorView','hideDiffInBalloon','config','375817zYPyLW','setAvailableChecks','error-chunk','showChangeBalloon','showGeneralReviewCoreErrorView','setChecks','showReviewCheckResultsView','runReviewCheck','664516xoXPMB','retryReview','status','getResults','40584tkFfpT','resetActiveStateInResults','getChangeElement','error-general','showReviewCompletedView','delegate','setItemAsActive','outdated','element','toggleDiff','addCheckRunResult','requires','ai.models.showModelSelector','_mainView','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','_bodyCollection','context','showGeneralResultsErrorView','dismissChange','reviewCheckResultsView','264CNVOAm','hideBalloon'];_0x183e=function(){return _0x5485a3;};return _0x183e();}import'../../theme/common/ainotification.css';function _0x1c04(_0xd74b57,_0x334ed3){const _0x183e13=_0x183e();return _0x1c04=function(_0x1c04a7,_0x34af1b){_0x1c04a7=_0x1c04a7-0x195;let _0xece60b=_0x183e13[_0x1c04a7];return _0xece60b;},_0x1c04(_0xd74b57,_0x334ed3);}import'../../theme/common/aibutton.css';import'../../theme/common/aitrackchanges.css';import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x31fb62{[_0x15f6bf(0x1d9)];[_0x15f6bf(0x1b4)];[_0x15f6bf(0x1db)];static get[_0x15f6bf(0x1d7)](){return[_0x1da8df];}static get[_0x15f6bf(0x1e5)](){return!0x0;}static get[_0x15f6bf(0x19c)](){return!0x0;}constructor(_0x372744){const _0x1ecd05=_0x15f6bf;super(_0x372744),this[_0x1ecd05(0x1db)]=new _0x22156b(this[_0x1ecd05(0x1dc)][_0x1ecd05(0x19d)]),this[_0x1ecd05(0x1db)][_0x1ecd05(0x1bc)](),this[_0x1ecd05(0x1d9)]=this[_0x1ecd05(0x19b)](),this[_0x1ecd05(0x1d9)][_0x1ecd05(0x1d1)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x1ecd05(0x1b4)]=new _0x159a76(this[_0x1ecd05(0x1dc)][_0x1ecd05(0x19d)],this[_0x1ecd05(0x1db)]),this[_0x1ecd05(0x1b4)][_0x1ecd05(0x1d1)](_0x1ecd05(0x1eb),_0x1ecd05(0x1de),_0x1ecd05(0x1a1))['to'](this);}[_0x15f6bf(0x1b1)](){const _0x5cde8b=_0x15f6bf,_0x5e7fd3=this[_0x5cde8b(0x1dc)][_0x5cde8b(0x1ab)][_0x5cde8b(0x19f)](_0x5cde8b(0x1ae));this[_0x5cde8b(0x1a4)](_0x5e7fd3);}[_0x15f6bf(0x1e4)](){const _0x2fe77c=_0x15f6bf;this[_0x2fe77c(0x1db)][_0x2fe77c(0x198)](),super[_0x2fe77c(0x1e4)]();}[_0x15f6bf(0x1c1)](_0x4af155){const _0x104ed6=_0x15f6bf;if(!this[_0x104ed6(0x1d9)][_0x104ed6(0x1b0)][_0x104ed6(0x1b2)]()){const _0x3c15e3=!this[_0x104ed6(0x1dc)][_0x104ed6(0x1bf)][_0x104ed6(0x19f)](_0x104ed6(0x1d8));this[_0x104ed6(0x1d9)][_0x104ed6(0x1b0)][_0x104ed6(0x1c5)](_0x4af155,_0x3c15e3);}this[_0x104ed6(0x1d9)][_0x104ed6(0x1e3)]();}[_0x15f6bf(0x1ec)](){const _0x2656ee=_0x15f6bf;this[_0x2656ee(0x197)](_0x2656ee(0x1aa));}[_0x15f6bf(0x1e9)](_0x450918){const _0x238023=_0x15f6bf;_0x450918&&(_0x238023(0x1cf)!==_0x450918[_0x238023(0x1ca)]?_0x238023(0x1c2)!==_0x450918[_0x238023(0x1ca)]?this[_0x238023(0x1d9)][_0x238023(0x1c6)]():this[_0x238023(0x1bd)]():this[_0x238023(0x1dd)]());}[_0x15f6bf(0x1ac)](_0x8297f5){const _0x4a9ba4=_0x15f6bf;this[_0x4a9ba4(0x1d9)][_0x4a9ba4(0x1d6)](_0x8297f5);}[_0x15f6bf(0x1dd)](){const _0x3c5b1a=_0x15f6bf;this[_0x3c5b1a(0x1d9)][_0x3c5b1a(0x1dd)]();}[_0x15f6bf(0x1c4)](_0x2204e2){const _0x31d974=_0x15f6bf;this[_0x31d974(0x1d9)][_0x31d974(0x1c4)](_0x2204e2??_0x575a0a(this[_0x31d974(0x1dc)][_0x31d974(0x19d)],_0x31d974(0x1da)));}[_0x15f6bf(0x1bd)](){const _0x4d2d52=_0x15f6bf;this[_0x4d2d52(0x1d9)][_0x4d2d52(0x1bd)]();}[_0x15f6bf(0x196)](_0x50975b,_0x2e20b8){const _0x17e25c=_0x15f6bf;this[_0x17e25c(0x1d9)][_0x17e25c(0x1df)][_0x17e25c(0x1ee)](_0x50975b,_0x2e20b8);}[_0x15f6bf(0x199)](_0x54600e){const _0x5087d0=_0x15f6bf;this[_0x5087d0(0x1d9)][_0x5087d0(0x1df)][_0x5087d0(0x1cb)]()[_0x5087d0(0x1ea)](_0x15340a=>{const _0x4d4c1a=_0x5087d0;_0x15340a['id']===_0x54600e&&_0x15340a[_0x4d4c1a(0x1d2)]();});}[_0x15f6bf(0x1cd)](){const _0x322746=_0x15f6bf;this[_0x322746(0x1d9)][_0x322746(0x1df)][_0x322746(0x1cb)]()[_0x322746(0x1ea)](_0x3db135=>_0x3db135[_0x322746(0x19a)]());}[_0x15f6bf(0x1b7)](_0xa049,_0x4c47ed){const _0x41f3b3=_0x15f6bf;_0x41f3b3(0x1e6)===_0x4c47ed||_0x41f3b3(0x1ed)===_0x4c47ed||_0x41f3b3(0x1d3)===_0x4c47ed?this[_0x41f3b3(0x1d9)][_0x41f3b3(0x1df)][_0x41f3b3(0x1e8)](_0xa049,_0x4c47ed):this[_0x41f3b3(0x1d9)][_0x41f3b3(0x1df)][_0x41f3b3(0x1ba)](_0xa049,_0x4c47ed);}[_0x15f6bf(0x1d0)](){const _0x3d7619=_0x15f6bf;this[_0x3d7619(0x1d9)][_0x3d7619(0x1d0)]();}[_0x15f6bf(0x1b3)](){const _0x39bcf6=_0x15f6bf;this[_0x39bcf6(0x1d9)][_0x39bcf6(0x1b3)]();}[_0x15f6bf(0x1a3)](){const _0x48d341=_0x15f6bf;this[_0x48d341(0x1d9)][_0x48d341(0x1a3)]();}[_0x15f6bf(0x1a6)](){const _0x4cf90a=_0x15f6bf;this[_0x4cf90a(0x1d9)][_0x4cf90a(0x1a6)]();}[_0x15f6bf(0x1c3)](_0x532d23,_0x33d92e,_0x391d35,_0x54f892,_0x34f6b9,_0x11fd52){const _0x334490=_0x15f6bf;this[_0x334490(0x1b4)][_0x334490(0x195)](_0x532d23,_0x33d92e,_0x391d35,_0x54f892,_0x34f6b9,_0x11fd52);}[_0x15f6bf(0x1ad)](){const _0x545411=_0x15f6bf;this[_0x545411(0x1b4)][_0x545411(0x1e1)]();}[_0x15f6bf(0x1be)](){const _0x443048=_0x15f6bf;this[_0x443048(0x1b4)][_0x443048(0x1be)]();}[_0x15f6bf(0x19e)](){const _0x49fef9=_0x15f6bf;this[_0x49fef9(0x1b4)][_0x49fef9(0x19e)]();}[_0x15f6bf(0x1ce)](_0x11ec1a){const _0x4e05c8=_0x15f6bf,_0x1e551b=this[_0x4e05c8(0x1d9)][_0x4e05c8(0x1df)][_0x4e05c8(0x1cb)]()[_0x4e05c8(0x1a8)](_0x2b2769=>_0x2b2769['id']===_0x11ec1a);return _0x1e551b?_0x1e551b[_0x4e05c8(0x1d4)]:null;}[_0x15f6bf(0x1a1)](){const _0x23d6c4=_0x15f6bf;this[_0x23d6c4(0x1b4)][_0x23d6c4(0x1a1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5e1be7=_0x1433;(function(_0x18e64b,_0x26f274){var _0x2678bb=_0x1433,_0x53d140=_0x18e64b();while(!![]){try{var _0x25ad2d=parseInt(_0x2678bb(0x1cb))/0x1+-parseInt(_0x2678bb(0x1d4))/0x2*(-parseInt(_0x2678bb(0x1ce))/0x3)+parseInt(_0x2678bb(0x1c8))/0x4*(parseInt(_0x2678bb(0x1d1))/0x5)+-parseInt(_0x2678bb(0x1d2))/0x6*(-parseInt(_0x2678bb(0x1cc))/0x7)+-parseInt(_0x2678bb(0x1ca))/0x8+-parseInt(_0x2678bb(0x1c4))/0x9+-parseInt(_0x2678bb(0x1c7))/0xa*(-parseInt(_0x2678bb(0x1d0))/0xb);if(_0x25ad2d===_0x26f274)break;else _0x53d140['push'](_0x53d140['shift']());}catch(_0x261a99){_0x53d140['push'](_0x53d140['shift']());}}}(_0x4b41,0x93906));function _0x1433(_0x3a8f26,_0x5852e2){var _0x4b4197=_0x4b41();return _0x1433=function(_0x14335a,_0x10337b){_0x14335a=_0x14335a-0x1c3;var _0x175957=_0x4b4197[_0x14335a];return _0x175957;},_0x1433(_0x3a8f26,_0x5852e2);}export class AIReviewCheck{['id'];[_0x5e1be7(0x1c6)];[_0x5e1be7(0x1cf)];[_0x5e1be7(0x1d3)];[_0x5e1be7(0x1c3)];[_0x5e1be7(0x1d5)];[_0x5e1be7(0x1cd)];[_0x5e1be7(0x1c9)];get[_0x5e1be7(0x1c5)](){var _0x3a37f8=_0x5e1be7;return this[_0x3a37f8(0x1c6)];}constructor(_0x2496d7){var _0x58523e=_0x5e1be7;this['id']=_0x2496d7['id'],this[_0x58523e(0x1c6)]=_0x2496d7[_0x58523e(0x1c6)],this[_0x58523e(0x1cf)]=_0x2496d7[_0x58523e(0x1cf)],this[_0x58523e(0x1d3)]=_0x2496d7[_0x58523e(0x1d3)],this[_0x58523e(0x1c3)]=_0x2496d7[_0x58523e(0x1c3)],this[_0x58523e(0x1d5)]=_0x2496d7[_0x58523e(0x1d5)],this[_0x58523e(0x1cd)]=_0x2496d7[_0x58523e(0x1cd)],this[_0x58523e(0x1c9)]=_0x2496d7[_0x58523e(0x1c9)];}}function _0x4b41(){var _0x7d3d7a=['19850IGlwQC','14144PfKIls','args','9576112wUoIFk','211990erKODx','290843nJUNgP','options','83883IrYcKO','title','33uSPaJH','465iaJUdO','78lBwffL','description','74hlZoXN','useArgs','isParameterized','2880459aCMUZK','apiId','commandId'];_0x4b41=function(){return _0x7d3d7a;};return _0x4b41();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2c06(_0x1b3c61,_0x219821){var _0x3bb90a=_0x3bb9();return _0x2c06=function(_0x2c067e,_0x19172c){_0x2c067e=_0x2c067e-0xed;var _0x27e3f1=_0x3bb90a[_0x2c067e];return _0x27e3f1;},_0x2c06(_0x1b3c61,_0x219821);}var _0xeadecb=_0x2c06;function _0x3bb9(){var _0x48ed3c=['357940IdraWD','3962592MFubRq','_checks','checks','1247940dTgWHp','map','setupChecks','filter','98bFYhEY','1306790ZoUfaB','23627590oCRvNh','370891CpLvTT','getCheckById','find','removeCheckById','18fpVBbD','369808BDyiFQ','2bROVXT'];_0x3bb9=function(){return _0x48ed3c;};return _0x3bb9();}(function(_0x2c7d7d,_0x1a3cb9){var _0x3eadd2=_0x2c06,_0x580408=_0x2c7d7d();while(!![]){try{var _0x2b8af9=-parseInt(_0x3eadd2(0xfe))/0x1*(parseInt(_0x3eadd2(0xf2))/0x2)+-parseInt(_0x3eadd2(0xf0))/0x3*(parseInt(_0x3eadd2(0xf3))/0x4)+parseInt(_0x3eadd2(0xfc))/0x5+-parseInt(_0x3eadd2(0xf7))/0x6+-parseInt(_0x3eadd2(0xfb))/0x7*(parseInt(_0x3eadd2(0xf1))/0x8)+-parseInt(_0x3eadd2(0xf4))/0x9+parseInt(_0x3eadd2(0xfd))/0xa;if(_0x2b8af9===_0x1a3cb9)break;else _0x580408['push'](_0x580408['shift']());}catch(_0x1a9394){_0x580408['push'](_0x580408['shift']());}}}(_0x3bb9,0x66c0a));import{ObservableMixin as _0x37bb83}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x42a5e3}from'./aireviewcheck.js';export class AIReviewCheckList extends _0x37bb83(){[_0xeadecb(0xf5)]=[];[_0xeadecb(0xf9)](_0x101eb2){var _0x2a6cfc=_0xeadecb;this[_0x2a6cfc(0xf5)]=_0x101eb2[_0x2a6cfc(0xf8)](_0x54fa62=>new _0x42a5e3(_0x54fa62));}get[_0xeadecb(0xf6)](){var _0x3dc645=_0xeadecb;return this[_0x3dc645(0xf5)];}[_0xeadecb(0xed)](_0x12df1c){var _0x71fc87=_0xeadecb;return this[_0x71fc87(0xf6)][_0x71fc87(0xee)](_0x16a455=>_0x16a455['id']===_0x12df1c);}[_0xeadecb(0xef)](_0x233e2c){var _0x42e827=_0xeadecb;this[_0x42e827(0xf5)]=this[_0x42e827(0xf5)][_0x42e827(0xfa)](_0x3cfe6c=>_0x3cfe6c['id']!==_0x233e2c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x842f52=_0x2649;function _0x3293(){var _0x3ebd47=['1830699XmoEWR','26334CqcwMW','documentVersion','4iEpGQz','5373234eIipVq','contentInitial','1655720mJxFIZ','1032004ralkVZ','contentNew','2926865UjqpuV','8045338NWtgGn','4136SPgZEh'];_0x3293=function(){return _0x3ebd47;};return _0x3293();}(function(_0x1a2ce8,_0x4519c5){var _0x56f52c=_0x2649,_0x5d06ed=_0x1a2ce8();while(!![]){try{var _0x4ee247=-parseInt(_0x56f52c(0x15f))/0x1+-parseInt(_0x56f52c(0x15b))/0x2*(-parseInt(_0x56f52c(0x158))/0x3)+parseInt(_0x56f52c(0x15e))/0x4+parseInt(_0x56f52c(0x161))/0x5+-parseInt(_0x56f52c(0x15c))/0x6+-parseInt(_0x56f52c(0x162))/0x7+parseInt(_0x56f52c(0x163))/0x8*(parseInt(_0x56f52c(0x159))/0x9);if(_0x4ee247===_0x4519c5)break;else _0x5d06ed['push'](_0x5d06ed['shift']());}catch(_0x142d12){_0x5d06ed['push'](_0x5d06ed['shift']());}}}(_0x3293,0xa0112));function _0x2649(_0x2536e3,_0x5f5852){var _0x32930c=_0x3293();return _0x2649=function(_0x2649fd,_0x3c4b62){_0x2649fd=_0x2649fd-0x158;var _0x534329=_0x32930c[_0x2649fd];return _0x534329;},_0x2649(_0x2536e3,_0x5f5852);}import{EmitterMixin as _0x11aade}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x11aade(){['id'];[_0x842f52(0x160)];[_0x842f52(0x15d)];[_0x842f52(0x15a)];constructor({id:_0x55b616,contentNew:_0x23bfde,contentInitial:_0x1a8077,documentVersion:_0x50f82c}){var _0x355496=_0x842f52;super(),this['id']=_0x55b616,this[_0x355496(0x160)]=_0x23bfde,this[_0x355496(0x15d)]=_0x1a8077,this[_0x355496(0x15a)]=_0x50f82c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x9037(_0xc90158,_0x157d9d){var _0x576e91=_0x576e();return _0x9037=function(_0x9037f7,_0x3ec3db){_0x9037f7=_0x9037f7-0xa0;var _0x5055d4=_0x576e91[_0x9037f7];return _0x5055d4;},_0x9037(_0xc90158,_0x157d9d);}var _0x46937c=_0x9037;(function(_0x589aaa,_0x3bfa07){var _0x53fb94=_0x9037,_0x5620bc=_0x589aaa();while(!![]){try{var _0x4afecb=-parseInt(_0x53fb94(0xaf))/0x1*(parseInt(_0x53fb94(0xb0))/0x2)+parseInt(_0x53fb94(0xad))/0x3+-parseInt(_0x53fb94(0xb1))/0x4*(parseInt(_0x53fb94(0xb5))/0x5)+-parseInt(_0x53fb94(0xa6))/0x6*(parseInt(_0x53fb94(0xb2))/0x7)+parseInt(_0x53fb94(0xa1))/0x8+parseInt(_0x53fb94(0xb3))/0x9*(parseInt(_0x53fb94(0xb6))/0xa)+parseInt(_0x53fb94(0xa3))/0xb;if(_0x4afecb===_0x3bfa07)break;else _0x5620bc['push'](_0x5620bc['shift']());}catch(_0x3e87b7){_0x5620bc['push'](_0x5620bc['shift']());}}}(_0x576e,0x8b7df));function _0x576e(){var _0x16a7f2=['set','context','change:status','_editorOperations','2230287getOCv','pending','27507EpfCVO','22HFwNad','727332jKMlWL','883309LQjATk','580815EyBdGP','isRated','30EJOYut','110PnAQKo','contentDiffed','parent','7427232IEIViy','operationsIsolated','3743718sMJRJb','_data','isActivated','36CREGKE','status','operations'];_0x576e=function(){return _0x16a7f2;};return _0x576e();}import{ObservableMixin as _0x307594}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x307594(){['id'];[_0x46937c(0xa0)];[_0x46937c(0xa4)];[_0x46937c(0xac)]=[];constructor(_0x2d323e,_0x2d2099,_0x264201){var _0x4a4363=_0x46937c;super(),this['id']=_0x2d323e,this[_0x4a4363(0xa0)]=_0x264201,this[_0x4a4363(0xa4)]=_0x2d2099,this[_0x4a4363(0xa9)](_0x4a4363(0xa5),!0x1),this[_0x4a4363(0xa9)](_0x4a4363(0xb4),!0x1),this[_0x4a4363(0xa9)](_0x4a4363(0xa7),_0x4a4363(0xae)),this['on'](_0x4a4363(0xab),()=>{var _0x45d28f=_0x4a4363;_0x45d28f(0xae)!==this[_0x45d28f(0xa7)]&&this[_0x45d28f(0xa5)]&&(this[_0x45d28f(0xa5)]=!0x1);});}get[_0x46937c(0xb7)](){var _0x5078ca=_0x46937c;return this[_0x5078ca(0xa4)][_0x5078ca(0xaa)]();}get[_0x46937c(0xa8)](){var _0x32c239=_0x46937c;return this[_0x32c239(0xa4)][_0x32c239(0xa8)];}get[_0x46937c(0xa2)](){var _0x59fff9=_0x46937c;return this[_0x59fff9(0xa4)][_0x59fff9(0xa2)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3185ed=_0x1711;(function(_0x663675,_0x50389a){const _0x46cb8f=_0x1711,_0x5edd67=_0x663675();while(!![]){try{const _0x2ac0d2=parseInt(_0x46cb8f(0xa3))/0x1*(parseInt(_0x46cb8f(0xa7))/0x2)+parseInt(_0x46cb8f(0xee))/0x3*(parseInt(_0x46cb8f(0xa6))/0x4)+-parseInt(_0x46cb8f(0xf5))/0x5*(-parseInt(_0x46cb8f(0x101))/0x6)+parseInt(_0x46cb8f(0xff))/0x7+parseInt(_0x46cb8f(0xf6))/0x8*(parseInt(_0x46cb8f(0xe2))/0x9)+-parseInt(_0x46cb8f(0xbf))/0xa+-parseInt(_0x46cb8f(0xb8))/0xb*(parseInt(_0x46cb8f(0xf4))/0xc);if(_0x2ac0d2===_0x50389a)break;else _0x5edd67['push'](_0x5edd67['shift']());}catch(_0x441fa5){_0x5edd67['push'](_0x5edd67['shift']());}}}(_0x25ac,0xcdead));import{ObservableMixin as _0x8fb687,uid as _0x2b0747}from'ckeditor5/src/utils.js';function _0x25ac(){const _0x11bb34=['_reviewParams','1368fRXwvh','1838870XmXmsZ','9009272vipeXB','forceReadyState','reviewCheckResultDeactivated','abortController','_currentError','restart','error-general','filter','size','9734172ztcoBX','error-chunk','12BERxZw','data','_results','outdated','activateChange','_aiConnector','isActivated','forEach','parent','187876bdALfa','pending','change:status','976vcqPLX','2xoqCMj','operation','_activeRequest','rejected','sendRating','unmodified','title','isChangeActive','documentData','push','addResultChanges','getContent','message','textDelta','ready','ai-request-aborted','includes','315139hcdcAp','_sourceCheck','_reviewArgs','elements','_sendRatingRequest','markChangeAsOutdated','_checkIfFinished','6583600vFcwNs','_documentData','length','some','set','accepted','subTitle','_wasAborted','isRated','event','dataId','updateDocumentData','finished','aborted','reviewName','clear','markChangeAsPending','getChangeById','reviewCheckRunUpdated','getActiveChanges','initialized','_createApiRequest','reviewCheckResultChangeStatusUpdated','version','error','callId','reviewCheckResultReady','markAllChangesAsAccepted','find','processedResultsCount','reviewCheckResultActivated','reviewCheckResultAdded','_addReviewCheckResult','change:isActivated','isAnyChangeActivated','9SMlrYG','review-metadata','deactivateChange','markChangeAsAccepted','_changes','get','fire','currentError','every','start','markChangeAsRejected','status','16323OeROiJ','getStream','abort','loading','hasModifications'];_0x25ac=function(){return _0x11bb34;};return _0x25ac();}import{AIReviewCheckResult as _0x235438}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x51566c}from'./aireviewcheckresultchange.js';function _0x1711(_0x388531,_0x39acfe){const _0x25ac88=_0x25ac();return _0x1711=function(_0x1711fc,_0x49d715){_0x1711fc=_0x1711fc-0xa2;let _0x1eb351=_0x25ac88[_0x1711fc];return _0x1eb351;},_0x1711(_0x388531,_0x39acfe);}export class AIReviewCheckRun extends _0x8fb687(){['id']=_0x2b0747();[_0x3185ed(0xd8)];[_0x3185ed(0x103)]=new Map();[_0x3185ed(0xe6)]=[];[_0x3185ed(0xb9)];[_0x3185ed(0xc0)];[_0x3185ed(0x106)];[_0x3185ed(0xf3)];[_0x3185ed(0xba)];[_0x3185ed(0xa9)]=null;[_0x3185ed(0xfa)];[_0x3185ed(0xc6)]=!0x1;constructor(_0x4173d2,_0x590fa0,_0x5f27f0,_0x693f6e,_0x3a07ab){const _0x1adb6f=_0x3185ed;super(),this[_0x1adb6f(0xb9)]=_0x590fa0,this[_0x1adb6f(0xc0)]=_0x4173d2,this[_0x1adb6f(0x106)]=_0x5f27f0,this[_0x1adb6f(0xf3)]=_0x693f6e,this[_0x1adb6f(0xba)]=_0x3a07ab,this['on'](_0x1adb6f(0xa5),(_0x5e136a,_0x3728c8,_0x156529)=>{const _0x160532=_0x1adb6f;_0x160532(0xcc)==_0x156529&&(this[_0x160532(0xc6)]=!0x0),this[_0x160532(0xe8)](_0x160532(0xd1),{'status':_0x156529,'run':this,'error':this[_0x160532(0xfa)]});}),this[_0x1adb6f(0xc3)](_0x1adb6f(0xed),_0x1adb6f(0xd3));}get[_0x3185ed(0xaf)](){const _0x2618ae=_0x3185ed;return this[_0x2618ae(0xc0)];}get[_0x3185ed(0xdc)](){const _0xb1979b=_0x3185ed;return this[_0xb1979b(0x103)][_0xb1979b(0xfe)];}get[_0x3185ed(0xad)](){const _0x5d7bb0=_0x3185ed;return this[_0x5d7bb0(0xb9)][_0x5d7bb0(0xad)];}get[_0x3185ed(0xc5)](){return'';}get[_0x3185ed(0xcd)](){const _0x2ab9c7=_0x3185ed;return this[_0x2ab9c7(0xb9)]['id'];}get[_0x3185ed(0xf2)](){const _0x43a5bb=_0x3185ed;return!this[_0x43a5bb(0xe6)][_0x43a5bb(0xea)](_0x5bf2c0=>_0x43a5bb(0xa4)===_0x5bf2c0[_0x43a5bb(0xed)]);}get[_0x3185ed(0xe9)](){const _0xefb3f2=_0x3185ed;return this[_0xefb3f2(0xfa)];}[_0x3185ed(0xca)](_0x61a77e){const _0x41101f=_0x3185ed;this[_0x41101f(0xc0)]=_0x61a77e;}async[_0x3185ed(0xeb)](){const _0x2cd0c5=_0x3185ed;this[_0x2cd0c5(0xed)]=_0x2cd0c5(0xf1),this[_0x2cd0c5(0xfa)]=void 0x0;try{this[_0x2cd0c5(0xa9)]=this[_0x2cd0c5(0xd4)]();const _0x321ddf=await this[_0x2cd0c5(0xa9)][_0x2cd0c5(0xef)]();this[_0x2cd0c5(0xed)]=_0x2cd0c5(0x102);for await(const _0x320e45 of _0x321ddf)_0x2cd0c5(0xac)!==_0x320e45[_0x2cd0c5(0x102)][_0x2cd0c5(0xa8)]&&(_0x2cd0c5(0xd7)!==_0x320e45[_0x2cd0c5(0x102)][_0x2cd0c5(0xa8)]?_0x2cd0c5(0xe3)!==_0x320e45[_0x2cd0c5(0xc8)]?this[_0x2cd0c5(0xdf)](_0x320e45[_0x2cd0c5(0x102)][_0x2cd0c5(0xc9)],_0x320e45[_0x2cd0c5(0x102)][_0x2cd0c5(0xb4)]):this[_0x2cd0c5(0xd8)]=_0x320e45[_0x2cd0c5(0x102)][_0x2cd0c5(0xd8)]:this[_0x2cd0c5(0xed)]=_0x2cd0c5(0x100));_0x2cd0c5(0x100)!==this[_0x2cd0c5(0xed)]&&(0x0===this[_0x2cd0c5(0x103)][_0x2cd0c5(0xfe)]||0x0===this[_0x2cd0c5(0xe6)][_0x2cd0c5(0xc1)]?this[_0x2cd0c5(0xed)]=_0x2cd0c5(0xac):this[_0x2cd0c5(0xed)]=_0x2cd0c5(0xb5));}catch(_0x40ad6b){this[_0x2cd0c5(0xfa)]=_0x40ad6b,_0x40ad6b instanceof Error&&_0x40ad6b[_0x2cd0c5(0xb3)][_0x2cd0c5(0xb7)](_0x2cd0c5(0xb6))?this[_0x2cd0c5(0xed)]=_0x2cd0c5(0xcc):this[_0x2cd0c5(0xed)]=_0x2cd0c5(0xfc);}finally{this[_0x2cd0c5(0xa9)]=null;}}async[_0x3185ed(0xfb)](){const _0x2b786d=_0x3185ed;this[_0x2b786d(0x103)][_0x2b786d(0xce)](),this[_0x2b786d(0xe6)][_0x2b786d(0xc1)]=0x0,this[_0x2b786d(0xfa)]=void 0x0,await this[_0x2b786d(0xeb)]();}[_0x3185ed(0xb1)](_0xb4842c,_0x707d24){const _0x48957e=_0x3185ed,_0x8121c5=this[_0x48957e(0x103)][_0x48957e(0xe7)](_0xb4842c);if(!_0x8121c5)return;if(0x0===_0x707d24[_0x48957e(0xc1)])return;const _0x33258e=[];_0x707d24[_0x48957e(0x108)]((_0x260025,_0x13cf91)=>{const _0x3e6312=_0x48957e,_0xbdbad1=new _0x51566c(_0x8121c5['id']+'-'+_0x13cf91,_0x260025,_0x8121c5);_0xbdbad1['on'](_0x3e6312(0xa5),()=>{const _0x4924cd=_0x3e6312;this[_0x4924cd(0xe8)](_0x4924cd(0xd5),{'change':_0xbdbad1,'status':_0xbdbad1[_0x4924cd(0xed)]});}),_0xbdbad1['on'](_0x3e6312(0xe0),()=>{const _0x1e9248=_0x3e6312;_0xbdbad1[_0x1e9248(0x107)]?this[_0x1e9248(0xe8)](_0x1e9248(0xdd),{'change':_0xbdbad1}):this[_0x1e9248(0xe8)](_0x1e9248(0xf8),{'change':_0xbdbad1});}),this[_0x3e6312(0xe6)][_0x3e6312(0xb0)](_0xbdbad1),_0x33258e[_0x3e6312(0xb0)](_0xbdbad1);}),this[_0x48957e(0xe8)](_0x48957e(0xd9),{'changes':_0x33258e,'result':_0x8121c5,'source':this});}[_0x3185ed(0xf0)](){const _0x4fc2e4=_0x3185ed;this[_0x4fc2e4(0xa9)]&&(this[_0x4fc2e4(0xa9)][_0x4fc2e4(0xf9)][_0x4fc2e4(0xf0)](),this[_0x4fc2e4(0xa9)]=null,this[_0x4fc2e4(0xed)]=_0x4fc2e4(0xcc));}[_0x3185ed(0xae)](_0x11302f){const _0x5a0de8=_0x3185ed,_0x5e3aa9=this[_0x5a0de8(0xe6)][_0x5a0de8(0xdb)](_0x4e71ac=>_0x4e71ac['id']===_0x11302f);return!(!_0x5e3aa9||_0x5a0de8(0xa4)!==_0x5e3aa9[_0x5a0de8(0xed)]);}[_0x3185ed(0xe1)](){const _0x559522=_0x3185ed;return this[_0x559522(0xe6)][_0x559522(0xc2)](_0x42280b=>!0x0===_0x42280b[_0x559522(0x107)]);}[_0x3185ed(0xd2)](){const _0x22068d=_0x3185ed;return this[_0x22068d(0xe6)][_0x22068d(0xfd)](_0x61ff5=>_0x22068d(0xa4)===_0x61ff5[_0x22068d(0xed)]);}[_0x3185ed(0xd0)](_0x57a04a){const _0x5b2123=_0x3185ed;return this[_0x5b2123(0xe6)][_0x5b2123(0xdb)](_0xfeccae=>_0xfeccae['id']===_0x57a04a);}[_0x3185ed(0xda)](){const _0xd7a5a9=_0x3185ed;for(const _0x5f2675 of this[_0xd7a5a9(0xe6)])_0xd7a5a9(0xa4)===_0x5f2675[_0xd7a5a9(0xed)]&&(_0x5f2675[_0xd7a5a9(0xed)]=_0xd7a5a9(0xc4));this[_0xd7a5a9(0xbe)]();}[_0x3185ed(0xe5)](_0x222c75){const _0x178b31=_0x3185ed,_0x49542e=this[_0x178b31(0xe6)][_0x178b31(0xdb)](_0x5ad862=>_0x5ad862['id']===_0x222c75);_0x49542e&&_0x178b31(0xa4)===_0x49542e[_0x178b31(0xed)]&&(_0x49542e[_0x178b31(0xed)]=_0x178b31(0xc4)),this[_0x178b31(0xbe)]();}[_0x3185ed(0xec)](_0x3fa291){const _0x1b06ed=_0x3185ed,_0x43418c=this[_0x1b06ed(0xe6)][_0x1b06ed(0xdb)](_0x2693d6=>_0x2693d6['id']===_0x3fa291);_0x43418c&&_0x1b06ed(0xa4)===_0x43418c[_0x1b06ed(0xed)]&&(_0x43418c[_0x1b06ed(0xed)]=_0x1b06ed(0xaa)),this[_0x1b06ed(0xbe)]();}[_0x3185ed(0xbd)](_0x487e81){const _0x3d868b=_0x3185ed,_0x282fa9=this[_0x3d868b(0xe6)][_0x3d868b(0xdb)](_0x52c1cc=>_0x52c1cc['id']===_0x487e81);_0x282fa9&&_0x3d868b(0xa4)===_0x282fa9[_0x3d868b(0xed)]&&(_0x282fa9[_0x3d868b(0xed)]=_0x3d868b(0x104)),this[_0x3d868b(0xbe)]();}[_0x3185ed(0xcf)](_0x1d1330){const _0x3e1f16=_0x3185ed,_0x9f7a41=this[_0x3e1f16(0xe6)][_0x3e1f16(0xdb)](_0x9d728e=>_0x9d728e['id']===_0x1d1330);_0x9f7a41&&_0x3e1f16(0x104)===_0x9f7a41[_0x3e1f16(0xed)]&&(_0x9f7a41[_0x3e1f16(0xed)]=_0x3e1f16(0xa4)),this[_0x3e1f16(0xbe)]();}[_0x3185ed(0x105)](_0x226287){const _0x1987c4=_0x3185ed;this[_0x1987c4(0xe6)][_0x1987c4(0xfd)](_0x363ed4=>_0x363ed4[_0x1987c4(0x107)]&&_0x363ed4['id']!==_0x226287)[_0x1987c4(0x108)](_0x562859=>{const _0x94caca=_0x1987c4;_0x562859[_0x94caca(0x107)]=!0x1;});const _0x5cd529=this[_0x1987c4(0xe6)][_0x1987c4(0xdb)](_0x12aa6f=>_0x12aa6f['id']===_0x226287);_0x5cd529&&_0x1987c4(0xa4)===_0x5cd529[_0x1987c4(0xed)]&&(_0x5cd529[_0x1987c4(0x107)]=!0x0);}[_0x3185ed(0xe4)](){const _0x1fce4a=_0x3185ed;this[_0x1fce4a(0xe6)][_0x1fce4a(0xfd)](_0x278281=>_0x278281[_0x1fce4a(0x107)])[_0x1fce4a(0x108)](_0x56c76a=>{const _0x3fe9cf=_0x1fce4a;_0x56c76a[_0x3fe9cf(0x107)]=!0x1;});}[_0x3185ed(0xf7)](){const _0x440abe=_0x3185ed;this[_0x440abe(0xed)]=_0x440abe(0xb5);}async[_0x3185ed(0xab)](_0x569bf4){const _0x454f1e=_0x3185ed;if(_0x454f1e(0xd3)===this[_0x454f1e(0xed)]||_0x454f1e(0xf1)===this[_0x454f1e(0xed)]||_0x454f1e(0x102)===this[_0x454f1e(0xed)]||this[_0x454f1e(0xc6)])return;if(!this[_0x454f1e(0xd8)]||0x0===this[_0x454f1e(0xe6)][_0x454f1e(0xc1)])return;let _0x1dcd97;if(_0x569bf4){const _0x4b3a1e=this[_0x454f1e(0xe6)][_0x454f1e(0xdb)](_0x50497b=>_0x50497b['id']===_0x569bf4);if(_0x4b3a1e&&_0x4b3a1e[_0x454f1e(0xc7)])return;_0x4b3a1e&&(_0x1dcd97=_0x4b3a1e[_0x454f1e(0xa2)]['id'],_0x4b3a1e[_0x454f1e(0xc7)]=!0x0);}const _0x17ca2d={'positiveCount':this[_0x454f1e(0xe6)][_0x454f1e(0xfd)](_0x2573f4=>_0x454f1e(0xc4)===_0x2573f4[_0x454f1e(0xed)])[_0x454f1e(0xc1)],'totalCount':this[_0x454f1e(0xe6)][_0x454f1e(0xc1)]};this[_0x454f1e(0xbc)](_0x17ca2d,this[_0x454f1e(0xd8)],_0x1dcd97);}[_0x3185ed(0xdf)](_0x40157f,_0x353077){const _0x3062e0=_0x3185ed,_0x1372ce=this[_0x3062e0(0xc0)][_0x3062e0(0xbb)][_0x3062e0(0xe7)](_0x40157f);if(!_0x1372ce)return;const _0x3935fb=_0x1372ce[_0x3062e0(0xb2)]();if(_0x3935fb===_0x353077)return;const _0x300625=new _0x235438({'id':_0x40157f,'contentInitial':_0x3935fb,'contentNew':_0x353077,'documentVersion':this[_0x3062e0(0xc0)][_0x3062e0(0xd6)]});this[_0x3062e0(0x103)][_0x3062e0(0xc3)](_0x300625['id'],_0x300625),this[_0x3062e0(0xe8)](_0x3062e0(0xde),{'result':_0x300625,'source':this});}[_0x3185ed(0xbe)](){const _0x509dad=_0x3185ed;_0x509dad(0xcb)===this[_0x509dad(0xed)]&&(this[_0x509dad(0xe6)][_0x509dad(0xfd)](_0x53a4a2=>_0x509dad(0xa4)===_0x53a4a2[_0x509dad(0xed)])[_0x509dad(0xc1)]>0x0&&(this[_0x509dad(0xed)]=_0x509dad(0xb5))),_0x509dad(0xb5)===this[_0x509dad(0xed)]&&(0x0===this[_0x509dad(0xe6)][_0x509dad(0xfd)](_0x352971=>_0x509dad(0xa4)===_0x352971[_0x509dad(0xed)])[_0x509dad(0xc1)]&&(this[_0x509dad(0xed)]=_0x509dad(0xcb)));}}
|
|
23
|
+
const _0xb28bd6=_0x1f8e;function _0x1f8e(_0x2fda32,_0x29c2b1){const _0x3f120b=_0x3f12();return _0x1f8e=function(_0x1f8efd,_0x3ab83f){_0x1f8efd=_0x1f8efd-0x118;let _0x3a1db0=_0x3f120b[_0x1f8efd];return _0x3a1db0;},_0x1f8e(_0x2fda32,_0x29c2b1);}(function(_0x46aae5,_0x271d31){const _0x116c9f=_0x1f8e,_0x58d720=_0x46aae5();while(!![]){try{const _0x35203d=-parseInt(_0x116c9f(0x119))/0x1*(-parseInt(_0x116c9f(0x146))/0x2)+parseInt(_0x116c9f(0x152))/0x3+parseInt(_0x116c9f(0x124))/0x4+parseInt(_0x116c9f(0x15f))/0x5+-parseInt(_0x116c9f(0x12d))/0x6+-parseInt(_0x116c9f(0x122))/0x7*(-parseInt(_0x116c9f(0x132))/0x8)+parseInt(_0x116c9f(0x161))/0x9*(-parseInt(_0x116c9f(0x16c))/0xa);if(_0x35203d===_0x271d31)break;else _0x58d720['push'](_0x58d720['shift']());}catch(_0x5a0034){_0x58d720['push'](_0x58d720['shift']());}}}(_0x3f12,0xbaa4f));import{ObservableMixin as _0x52c117,uid as _0x3316c8}from'ckeditor5/src/utils.js';function _0x3f12(){const _0x180869=['reviewCheckRunUpdated','length','pending','addResultChanges','filter','2286OUfZzs','subTitle','reviewCheckResultActivated','size','status','textDelta','isChangeActive','title','_sendRatingRequest','finished','dataId','ready','3473826iUSrrp','_activeRequest','set','accepted','documentData','event','change:status','every','parent','markChangeAsAccepted','initialized','_reviewParams','callId','140920rDUKvL','clear','9giEHkr','abortController','_results','_documentData','operation','rejected','markChangeAsRejected','reviewCheckResultAdded','sendRating','isActivated','includes','17831290ReZrIS','hasModifications','reviewName','getStream','abort','getActiveChanges','activateChange','unmodified','loading','deactivateChange','currentError','some','forEach','_currentError','_aiConnector','_sourceCheck','forceReadyState','_reviewArgs','1153hLDlgz','_changes','reviewCheckResultDeactivated','markChangeAsOutdated','reviewCheckResultChangeStatusUpdated','error','error-chunk','reviewCheckResultReady','review-metadata','175hmcZbe','getChangeById','1293960uMEMAf','ai-request-aborted','elements','get','updateDocumentData','markAllChangesAsAccepted','_wasAborted','data','isRated','5118576BMCrOL','start','restart','fire','_addReviewCheckResult','183432nraIeV','push','isAnyChangeActivated','change:isActivated','_checkIfFinished','find','markChangeAsPending','processedResultsCount','outdated','message','aborted','error-general','_createApiRequest','getContent','version'];_0x3f12=function(){return _0x180869;};return _0x3f12();}import{AIReviewCheckResult as _0x460b7a}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1b3062}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x52c117(){['id']=_0x3316c8();[_0xb28bd6(0x15e)];[_0xb28bd6(0x163)]=new Map();[_0xb28bd6(0x11a)]=[];[_0xb28bd6(0x17b)];[_0xb28bd6(0x164)];[_0xb28bd6(0x17a)];[_0xb28bd6(0x15d)];[_0xb28bd6(0x118)];[_0xb28bd6(0x153)]=null;[_0xb28bd6(0x179)];[_0xb28bd6(0x12a)]=!0x1;constructor(_0x579bf7,_0x2abb8e,_0x245e58,_0x372095,_0x247210){const _0x509270=_0xb28bd6;super(),this[_0x509270(0x17b)]=_0x2abb8e,this[_0x509270(0x164)]=_0x579bf7,this[_0x509270(0x17a)]=_0x245e58,this[_0x509270(0x15d)]=_0x372095,this[_0x509270(0x118)]=_0x247210,this['on'](_0x509270(0x158),(_0x3d0d9a,_0x1a093a,_0x4f439a)=>{const _0x210f47=_0x509270;_0x210f47(0x13c)==_0x4f439a&&(this[_0x210f47(0x12a)]=!0x0),this[_0x210f47(0x130)](_0x210f47(0x141),{'status':_0x4f439a,'run':this,'error':this[_0x210f47(0x179)]});}),this[_0x509270(0x154)](_0x509270(0x14a),_0x509270(0x15c));}get[_0xb28bd6(0x156)](){const _0x11c6fd=_0xb28bd6;return this[_0x11c6fd(0x164)];}get[_0xb28bd6(0x139)](){const _0x2e24d2=_0xb28bd6;return this[_0x2e24d2(0x163)][_0x2e24d2(0x149)];}get[_0xb28bd6(0x14d)](){const _0xb954dd=_0xb28bd6;return this[_0xb954dd(0x17b)][_0xb954dd(0x14d)];}get[_0xb28bd6(0x147)](){return'';}get[_0xb28bd6(0x16e)](){const _0x2b747f=_0xb28bd6;return this[_0x2b747f(0x17b)]['id'];}get[_0xb28bd6(0x16d)](){const _0x2883f4=_0xb28bd6;return!this[_0x2883f4(0x11a)][_0x2883f4(0x159)](_0x38b663=>_0x2883f4(0x143)===_0x38b663[_0x2883f4(0x14a)]);}get[_0xb28bd6(0x176)](){const _0x398c6d=_0xb28bd6;return this[_0x398c6d(0x179)];}[_0xb28bd6(0x128)](_0x8987a4){const _0x16b7ab=_0xb28bd6;this[_0x16b7ab(0x164)]=_0x8987a4;}async[_0xb28bd6(0x12e)](){const _0x40e47f=_0xb28bd6;this[_0x40e47f(0x14a)]=_0x40e47f(0x174),this[_0x40e47f(0x179)]=void 0x0;try{this[_0x40e47f(0x153)]=this[_0x40e47f(0x13e)]();const _0x4ccfb4=await this[_0x40e47f(0x153)][_0x40e47f(0x16f)]();this[_0x40e47f(0x14a)]=_0x40e47f(0x12b);for await(const _0x3f8302 of _0x4ccfb4)_0x40e47f(0x173)!==_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x165)]&&(_0x40e47f(0x11e)!==_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x165)]?_0x40e47f(0x121)!==_0x3f8302[_0x40e47f(0x157)]?this[_0x40e47f(0x131)](_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x150)],_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x14b)]):this[_0x40e47f(0x15e)]=_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x15e)]:this[_0x40e47f(0x14a)]=_0x40e47f(0x11f));_0x40e47f(0x11f)!==this[_0x40e47f(0x14a)]&&(0x0===this[_0x40e47f(0x163)][_0x40e47f(0x149)]||0x0===this[_0x40e47f(0x11a)][_0x40e47f(0x142)]?this[_0x40e47f(0x14a)]=_0x40e47f(0x173):this[_0x40e47f(0x14a)]=_0x40e47f(0x151));}catch(_0x3a703e){this[_0x40e47f(0x179)]=_0x3a703e,_0x3a703e instanceof Error&&_0x3a703e[_0x40e47f(0x13b)][_0x40e47f(0x16b)](_0x40e47f(0x125))?this[_0x40e47f(0x14a)]=_0x40e47f(0x13c):this[_0x40e47f(0x14a)]=_0x40e47f(0x13d);}finally{this[_0x40e47f(0x153)]=null;}}async[_0xb28bd6(0x12f)](){const _0x3402b9=_0xb28bd6;this[_0x3402b9(0x163)][_0x3402b9(0x160)](),this[_0x3402b9(0x11a)][_0x3402b9(0x142)]=0x0,this[_0x3402b9(0x179)]=void 0x0,await this[_0x3402b9(0x12e)]();}[_0xb28bd6(0x144)](_0x406c0f,_0x373e79){const _0x542c02=_0xb28bd6,_0x1b8e0b=this[_0x542c02(0x163)][_0x542c02(0x127)](_0x406c0f);if(!_0x1b8e0b)return;if(0x0===_0x373e79[_0x542c02(0x142)])return;const _0x4cbd3c=[];_0x373e79[_0x542c02(0x178)]((_0x105b69,_0x462a0e)=>{const _0x5ab479=_0x542c02,_0x104275=new _0x1b3062(_0x1b8e0b['id']+'-'+_0x462a0e,_0x105b69,_0x1b8e0b);_0x104275['on'](_0x5ab479(0x158),()=>{const _0x37ccbc=_0x5ab479;this[_0x37ccbc(0x130)](_0x37ccbc(0x11d),{'change':_0x104275,'status':_0x104275[_0x37ccbc(0x14a)]});}),_0x104275['on'](_0x5ab479(0x135),()=>{const _0x1222ee=_0x5ab479;_0x104275[_0x1222ee(0x16a)]?this[_0x1222ee(0x130)](_0x1222ee(0x148),{'change':_0x104275}):this[_0x1222ee(0x130)](_0x1222ee(0x11b),{'change':_0x104275});}),this[_0x5ab479(0x11a)][_0x5ab479(0x133)](_0x104275),_0x4cbd3c[_0x5ab479(0x133)](_0x104275);}),this[_0x542c02(0x130)](_0x542c02(0x120),{'changes':_0x4cbd3c,'result':_0x1b8e0b,'source':this});}[_0xb28bd6(0x170)](){const _0x45350e=_0xb28bd6;this[_0x45350e(0x153)]&&(this[_0x45350e(0x153)][_0x45350e(0x162)][_0x45350e(0x170)](),this[_0x45350e(0x153)]=null,this[_0x45350e(0x14a)]=_0x45350e(0x13c));}[_0xb28bd6(0x14c)](_0x216bbc){const _0x2a85f5=_0xb28bd6,_0x371344=this[_0x2a85f5(0x11a)][_0x2a85f5(0x137)](_0x5a9507=>_0x5a9507['id']===_0x216bbc);return!(!_0x371344||_0x2a85f5(0x143)!==_0x371344[_0x2a85f5(0x14a)]);}[_0xb28bd6(0x134)](){const _0x533589=_0xb28bd6;return this[_0x533589(0x11a)][_0x533589(0x177)](_0x2a7b88=>!0x0===_0x2a7b88[_0x533589(0x16a)]);}[_0xb28bd6(0x171)](){const _0x1c2018=_0xb28bd6;return this[_0x1c2018(0x11a)][_0x1c2018(0x145)](_0xd26604=>_0x1c2018(0x143)===_0xd26604[_0x1c2018(0x14a)]);}[_0xb28bd6(0x123)](_0x4a832c){const _0x5b61c5=_0xb28bd6;return this[_0x5b61c5(0x11a)][_0x5b61c5(0x137)](_0x545c53=>_0x545c53['id']===_0x4a832c);}[_0xb28bd6(0x129)](){const _0x54c64e=_0xb28bd6;for(const _0x3dbf83 of this[_0x54c64e(0x11a)])_0x54c64e(0x143)===_0x3dbf83[_0x54c64e(0x14a)]&&(_0x3dbf83[_0x54c64e(0x14a)]=_0x54c64e(0x155));this[_0x54c64e(0x136)]();}[_0xb28bd6(0x15b)](_0x156943){const _0x4cd1c1=_0xb28bd6,_0x2771e5=this[_0x4cd1c1(0x11a)][_0x4cd1c1(0x137)](_0x3e1bfe=>_0x3e1bfe['id']===_0x156943);_0x2771e5&&_0x4cd1c1(0x143)===_0x2771e5[_0x4cd1c1(0x14a)]&&(_0x2771e5[_0x4cd1c1(0x14a)]=_0x4cd1c1(0x155)),this[_0x4cd1c1(0x136)]();}[_0xb28bd6(0x167)](_0x57a3ef){const _0x437f56=_0xb28bd6,_0xc1b02f=this[_0x437f56(0x11a)][_0x437f56(0x137)](_0x9ae5ad=>_0x9ae5ad['id']===_0x57a3ef);_0xc1b02f&&_0x437f56(0x143)===_0xc1b02f[_0x437f56(0x14a)]&&(_0xc1b02f[_0x437f56(0x14a)]=_0x437f56(0x166)),this[_0x437f56(0x136)]();}[_0xb28bd6(0x11c)](_0x2113aa){const _0x4df5c0=_0xb28bd6,_0x4d52f7=this[_0x4df5c0(0x11a)][_0x4df5c0(0x137)](_0x2915ef=>_0x2915ef['id']===_0x2113aa);_0x4d52f7&&_0x4df5c0(0x143)===_0x4d52f7[_0x4df5c0(0x14a)]&&(_0x4d52f7[_0x4df5c0(0x14a)]=_0x4df5c0(0x13a)),this[_0x4df5c0(0x136)]();}[_0xb28bd6(0x138)](_0x3ef6c2){const _0x2dde28=_0xb28bd6,_0x162e71=this[_0x2dde28(0x11a)][_0x2dde28(0x137)](_0x227005=>_0x227005['id']===_0x3ef6c2);_0x162e71&&_0x2dde28(0x13a)===_0x162e71[_0x2dde28(0x14a)]&&(_0x162e71[_0x2dde28(0x14a)]=_0x2dde28(0x143)),this[_0x2dde28(0x136)]();}[_0xb28bd6(0x172)](_0x116901){const _0x443e65=_0xb28bd6;this[_0x443e65(0x11a)][_0x443e65(0x145)](_0x6fcd0c=>_0x6fcd0c[_0x443e65(0x16a)]&&_0x6fcd0c['id']!==_0x116901)[_0x443e65(0x178)](_0xb12647=>{const _0x3782f9=_0x443e65;_0xb12647[_0x3782f9(0x16a)]=!0x1;});const _0x22af36=this[_0x443e65(0x11a)][_0x443e65(0x137)](_0x3667e4=>_0x3667e4['id']===_0x116901);_0x22af36&&_0x443e65(0x143)===_0x22af36[_0x443e65(0x14a)]&&(_0x22af36[_0x443e65(0x16a)]=!0x0);}[_0xb28bd6(0x175)](){const _0x1b74aa=_0xb28bd6;this[_0x1b74aa(0x11a)][_0x1b74aa(0x145)](_0x1bb22d=>_0x1bb22d[_0x1b74aa(0x16a)])[_0x1b74aa(0x178)](_0x5102a0=>{const _0x310c05=_0x1b74aa;_0x5102a0[_0x310c05(0x16a)]=!0x1;});}[_0xb28bd6(0x17c)](){const _0x404eb4=_0xb28bd6;this[_0x404eb4(0x14a)]=_0x404eb4(0x151);}async[_0xb28bd6(0x169)](_0x2824c5){const _0x5aa79c=_0xb28bd6;if(_0x5aa79c(0x15c)===this[_0x5aa79c(0x14a)]||_0x5aa79c(0x174)===this[_0x5aa79c(0x14a)]||_0x5aa79c(0x12b)===this[_0x5aa79c(0x14a)]||this[_0x5aa79c(0x12a)])return;if(!this[_0x5aa79c(0x15e)]||0x0===this[_0x5aa79c(0x11a)][_0x5aa79c(0x142)])return;let _0x4cdc97;if(_0x2824c5){const _0x20586a=this[_0x5aa79c(0x11a)][_0x5aa79c(0x137)](_0x4b42db=>_0x4b42db['id']===_0x2824c5);if(_0x20586a&&_0x20586a[_0x5aa79c(0x12c)])return;_0x20586a&&(_0x4cdc97=_0x20586a[_0x5aa79c(0x15a)]['id'],_0x20586a[_0x5aa79c(0x12c)]=!0x0);}const _0x572646={'positiveCount':this[_0x5aa79c(0x11a)][_0x5aa79c(0x145)](_0x5e3606=>_0x5aa79c(0x155)===_0x5e3606[_0x5aa79c(0x14a)])[_0x5aa79c(0x142)],'totalCount':this[_0x5aa79c(0x11a)][_0x5aa79c(0x142)]};this[_0x5aa79c(0x14e)](_0x572646,this[_0x5aa79c(0x15e)],_0x4cdc97);}[_0xb28bd6(0x131)](_0x5a8a6c,_0x3dce66){const _0x17f011=_0xb28bd6,_0x152107=this[_0x17f011(0x164)][_0x17f011(0x126)][_0x17f011(0x127)](_0x5a8a6c);if(!_0x152107)return;const _0x3dfc7b=_0x152107[_0x17f011(0x13f)]();if(_0x3dfc7b===_0x3dce66)return;const _0x2b6998=new _0x460b7a({'id':_0x5a8a6c,'contentInitial':_0x3dfc7b,'contentNew':_0x3dce66,'documentVersion':this[_0x17f011(0x164)][_0x17f011(0x140)]});this[_0x17f011(0x163)][_0x17f011(0x154)](_0x2b6998['id'],_0x2b6998),this[_0x17f011(0x130)](_0x17f011(0x168),{'result':_0x2b6998,'source':this});}[_0xb28bd6(0x136)](){const _0x5f8e80=_0xb28bd6;_0x5f8e80(0x14f)===this[_0x5f8e80(0x14a)]&&(this[_0x5f8e80(0x11a)][_0x5f8e80(0x145)](_0x51f255=>_0x5f8e80(0x143)===_0x51f255[_0x5f8e80(0x14a)])[_0x5f8e80(0x142)]>0x0&&(this[_0x5f8e80(0x14a)]=_0x5f8e80(0x151))),_0x5f8e80(0x151)===this[_0x5f8e80(0x14a)]&&(0x0===this[_0x5f8e80(0x11a)][_0x5f8e80(0x145)](_0x2f2802=>_0x5f8e80(0x143)===_0x2f2802[_0x5f8e80(0x14a)])[_0x5f8e80(0x142)]&&(this[_0x5f8e80(0x14a)]=_0x5f8e80(0x14f)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bbd84=_0x1c23;function _0x1979(){const _0x539525=['_documentData','label','413780ixIwkj','12AdNNaj','_sendRatingRequest','useArgs','_reviewParams','apiId','callSystemReview','_createApiRequest','235453GrbYEx','content','join','189171UDiFCb','push','18PUEDQH','327166WohvPS','42lCQRCQ','length','find','reviewName','_reviewArgs','_sourceCheck','9726750pYniTA','18NJYCbk','_aiConnector','404090ODzCjR','_composeReviewName','upsertAIReviewRating','216680ECTwAF','options','data','subTitle'];_0x1979=function(){return _0x539525;};return _0x1979();}function _0x1c23(_0x5f0bfc,_0x41e087){const _0x197944=_0x1979();return _0x1c23=function(_0x1c23ea,_0x29a580){_0x1c23ea=_0x1c23ea-0xe2;let _0x5f257a=_0x197944[_0x1c23ea];return _0x5f257a;},_0x1c23(_0x5f0bfc,_0x41e087);}(function(_0x50e950,_0x3fa6a3){const _0x237442=_0x1c23,_0x124a2c=_0x50e950();while(!![]){try{const _0x2d57ff=-parseInt(_0x237442(0xf5))/0x1+parseInt(_0x237442(0xfb))/0x2+parseInt(_0x237442(0xf8))/0x3*(-parseInt(_0x237442(0xee))/0x4)+parseInt(_0x237442(0xe4))/0x5*(-parseInt(_0x237442(0xe2))/0x6)+parseInt(_0x237442(0xfc))/0x7*(-parseInt(_0x237442(0xe7))/0x8)+parseInt(_0x237442(0xfa))/0x9*(-parseInt(_0x237442(0xed))/0xa)+parseInt(_0x237442(0x102))/0xb;if(_0x2d57ff===_0x3fa6a3)break;else _0x124a2c['push'](_0x124a2c['shift']());}catch(_0x3e2131){_0x124a2c['push'](_0x124a2c['shift']());}}}(_0x1979,0x21141));import{AIReviewCheckRun as _0x5c0650}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x5c0650{get[_0x4bbd84(0xea)](){const _0x5df19f=_0x4bbd84;if(!this[_0x5df19f(0xf1)]||0x0===this[_0x5df19f(0xf1)][_0x5df19f(0xfd)])return'';const _0x271ac4=[];if(this[_0x5df19f(0xf1)][_0x5df19f(0xfd)]>0x0&&this[_0x5df19f(0x101)][_0x5df19f(0xe8)])for(let _0x20ac20=0x0;_0x20ac20<this[_0x5df19f(0xf1)][_0x5df19f(0xfd)];_0x20ac20++){if(!this[_0x5df19f(0xf1)][_0x20ac20]||!this[_0x5df19f(0x101)][_0x5df19f(0xe8)][_0x20ac20])continue;const _0x54e64d=this[_0x5df19f(0x101)][_0x5df19f(0xe8)][_0x20ac20],_0x2e7fcf=_0x54e64d[_0x5df19f(0xe9)]?.[_0x5df19f(0xfe)](_0x4ca698=>_0x4ca698['id']===this[_0x5df19f(0xf1)][_0x20ac20]);_0x2e7fcf&&_0x271ac4[_0x5df19f(0xf9)](_0x2e7fcf[_0x5df19f(0xec)]);}return _0x271ac4[_0x5df19f(0xf7)](',\x20');}get[_0x4bbd84(0xff)](){const _0x2e31d1=_0x4bbd84;return this[_0x2e31d1(0xe5)]();}[_0x4bbd84(0xf4)](){const _0x14cf52=_0x4bbd84;return this[_0x14cf52(0xe3)][_0x14cf52(0xf3)]({'reviewName':this[_0x14cf52(0xe5)](),'content':this[_0x14cf52(0xeb)][_0x14cf52(0xf6)],'args':this[_0x14cf52(0x100)]});}[_0x4bbd84(0xef)](_0x164748,_0x4ec0a0,_0x9b8223){const _0x551ade=_0x4bbd84;return this[_0x551ade(0xe3)][_0x551ade(0xe6)](this[_0x551ade(0xff)],_0x4ec0a0,_0x164748,_0x9b8223);}[_0x4bbd84(0xe5)](){const _0x13048d=_0x4bbd84;return!this[_0x13048d(0xf1)]||0x0===this[_0x13048d(0xf1)][_0x13048d(0xfd)]||this[_0x13048d(0x101)][_0x13048d(0xf0)]?this[_0x13048d(0x101)][_0x13048d(0xf2)]:[this[_0x13048d(0x101)][_0x13048d(0xf2)],...this[_0x13048d(0xf1)]][_0x13048d(0xf7)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19f6d0=_0x40f6;(function(_0x6e438e,_0x25038f){const _0x20b9ae=_0x40f6,_0x1634c8=_0x6e438e();while(!![]){try{const _0x20d700=-parseInt(_0x20b9ae(0xd2))/0x1*(parseInt(_0x20b9ae(0x101))/0x2)+-parseInt(_0x20b9ae(0xed))/0x3+-parseInt(_0x20b9ae(0xea))/0x4*(-parseInt(_0x20b9ae(0xe9))/0x5)+parseInt(_0x20b9ae(0xdf))/0x6+parseInt(_0x20b9ae(0xfe))/0x7*(parseInt(_0x20b9ae(0xe8))/0x8)+-parseInt(_0x20b9ae(0xf6))/0x9+parseInt(_0x20b9ae(0xbe))/0xa*(parseInt(_0x20b9ae(0xc5))/0xb);if(_0x20d700===_0x25038f)break;else _0x1634c8['push'](_0x1634c8['shift']());}catch(_0x4dff30){_0x1634c8['push'](_0x1634c8['shift']());}}}(_0x47e0,0x8d305));import{Rect as _0x499424,getConstrainedViewportRect as _0xda4469}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x25d4c9,View as _0x56a4c2,clickOutsideHandler as _0x5a6183}from'ckeditor5/src/ui.js';function _0x40f6(_0x5b97fb,_0x117bc4){const _0x47e042=_0x47e0();return _0x40f6=function(_0x40f630,_0x4ed40e){_0x40f630=_0x40f630-0xb7;let _0x1a4dbb=_0x47e042[_0x40f630];return _0x1a4dbb;},_0x40f6(_0x5b97fb,_0x117bc4);}import{AIReviewCoreReviewCheckListItemResultsView as _0x2504d3}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x25d4c9{[_0x19f6d0(0xc7)];[_0x19f6d0(0xbd)]=void 0x0;[_0x19f6d0(0xeb)]=void 0x0;[_0x19f6d0(0xf4)]=void 0x0;constructor(_0x4d5bff,_0xc9da9f){const _0x3a2243=_0x19f6d0;super(_0x4d5bff),this[_0x3a2243(0x102)]({'isVisible':!0x1,'position':_0x3a2243(0xd9),'class':null,'top':0x0,'left':0x0}),this[_0x3a2243(0xbc)]({'tag':_0x3a2243(0xef),'attributes':{'class':[_0x3a2243(0xe1)],'tabindex':'-1'}}),this[_0x3a2243(0x102)](_0x3a2243(0xb7),!0x1),this[_0x3a2243(0xbb)][_0x3a2243(0xf3)](this[_0x3a2243(0x106)]()),_0xc9da9f[_0x3a2243(0xf3)](this);}[_0x19f6d0(0xd8)](){const _0x5ef241=_0x19f6d0;super[_0x5ef241(0xd8)](),this[_0x5ef241(0xde)]();}[_0x19f6d0(0x104)](_0x128e75){const _0x35d3a7=_0x19f6d0;this[_0x35d3a7(0xc7)][_0x35d3a7(0xe6)]=_0x128e75['id'],this[_0x35d3a7(0xc7)][_0x35d3a7(0xe0)][_0x35d3a7(0xe2)][_0x35d3a7(0xdb)]=_0x128e75[_0x35d3a7(0xf7)];}[_0x19f6d0(0xfb)](_0x1a8eea,_0x18eed9,_0x50b736,_0x37ab19,_0x1ad1fc,_0x4da85a){const _0x1052a5=_0x19f6d0,_0x295b6b=_0x18eed9();if(!_0x295b6b)return;this[_0x1052a5(0x104)](_0x1a8eea),this[_0x1052a5(0x105)]();const _0x411c3c=Array[_0x1052a5(0xd5)](_0x295b6b[_0x1052a5(0xba)]())[_0x1052a5(0xe5)](),_0x2f4cc8=this[_0x1052a5(0xce)](_0x50b736,_0x411c3c),_0x5a8e4d=_0x411c3c[_0x2f4cc8??0x0];_0x1052a5(0xcf)===_0x37ab19?(this[_0x1052a5(0xb7)]=!0x0,this[_0x1052a5(0xf1)]({'target':()=>this[_0x1052a5(0xdd)](_0x18eed9(),_0x2f4cc8,_0x1a8eea['id'],_0x1ad1fc,_0x4da85a)||_0x5a8e4d})):_0x1052a5(0x103)===_0x37ab19&&(this[_0x1052a5(0xb7)]=!0x1,this[_0x1052a5(0xf1)]({'target':()=>this[_0x1052a5(0xfa)](_0x18eed9(),_0x2f4cc8,_0x1a8eea['id'])||_0x5a8e4d}));}[_0x19f6d0(0xc4)](){const _0x2aeb21=_0x19f6d0;this[_0x2aeb21(0xd3)](),this[_0x2aeb21(0xd6)](),this[_0x2aeb21(0xbd)]=void 0x0,this[_0x2aeb21(0xeb)]=void 0x0,this[_0x2aeb21(0xf4)]=void 0x0;}[_0x19f6d0(0xb8)](){const _0x128c0b=_0x19f6d0;this[_0x128c0b(0xc7)][_0x128c0b(0xc1)]=!0x1;}[_0x19f6d0(0xf8)](){const _0x239261=_0x19f6d0;this[_0x239261(0xc7)][_0x239261(0xc1)]=!0x0;}[_0x19f6d0(0xd7)](){const _0x5c92e2=_0x19f6d0;this[_0x5c92e2(0xe7)](_0x5c92e2(0xd7),{'origin':_0x5c92e2(0xcd)});}[_0x19f6d0(0xde)](){const _0x55298f=_0x19f6d0;_0x5a6183({'emitter':this,'activator':()=>this[_0x55298f(0xff)],'contextElements':()=>{const _0x450ef4=_0x55298f,_0xad3ad9=[this[_0x450ef4(0xe2)]];return this[_0x450ef4(0xeb)]&&_0xad3ad9[_0x450ef4(0xf9)](this[_0x450ef4(0xeb)]),_0xad3ad9;},'callback':()=>{const _0x1daae9=_0x55298f;this[_0x1daae9(0xd3)](),this[_0x1daae9(0xd6)](),this[_0x1daae9(0xd7)](),this[_0x1daae9(0xeb)]=void 0x0,this[_0x1daae9(0xbd)]=void 0x0,this[_0x1daae9(0xf4)]=void 0x0;}});}[_0x19f6d0(0x106)](){const _0x23d550=_0x19f6d0,_0x301395=new _0x56a4c2();return this[_0x23d550(0xc7)]=new _0x2504d3(this[_0x23d550(0xc8)],''),this[_0x23d550(0xc7)][_0x23d550(0xe0)][_0x23d550(0xbc)]({'attributes':{'class':[_0x23d550(0xca)]}}),this[_0x23d550(0xc7)][_0x23d550(0xd0)](_0x23d550(0xc9),_0x23d550(0xf5))['to'](this),_0x301395[_0x23d550(0xc0)]({'tag':_0x23d550(0xef),'attributes':{'class':[_0x23d550(0xe1),_0x23d550(0xd4),this[_0x23d550(0x100)]['if'](_0x23d550(0xb7),_0x23d550(0xfd))]},'children':[{'tag':'p','attributes':{'class':[_0x23d550(0xe4)]},'children':[this[_0x23d550(0xc7)]]}]}),_0x301395;}[_0x19f6d0(0xdd)](_0x2f2bb5,_0x4cfb4a,_0x1185b5,_0x13c24b,_0x119bef){const _0x318433=_0x19f6d0;if(!_0x2f2bb5)return null;const _0x9d2b3c=this[_0x318433(0xdc)][_0x318433(0xda)](_0x318433(0xc6),''),_0x26cb97=Array[_0x318433(0xd5)](_0x2f2bb5[_0x318433(0xba)]());let _0x1609ac,_0x583e2c=_0x26cb97[_0x318433(0xe5)]();return void 0x0!==_0x4cfb4a&&this[_0x318433(0xf2)](_0x583e2c[_0x4cfb4a],_0x13c24b,_0x119bef)?(_0x1609ac=_0x583e2c[_0x4cfb4a],this[_0x318433(0xbd)]=_0x4cfb4a):this[_0x318433(0xf2)](_0x583e2c[0x0],_0x13c24b,_0x119bef)&&void 0x0===_0x4cfb4a?_0x1609ac=_0x583e2c[0x0]:(_0x583e2c='s'==_0x9d2b3c[0x0]?[..._0x26cb97][_0x318433(0xe5)]():_0x26cb97,_0x583e2c[_0x318433(0xec)](_0x1a253d=>{const _0x392dca=_0x318433;this[_0x392dca(0xf2)](_0x1a253d,_0x13c24b,_0x119bef)&&(_0x1609ac=_0x1a253d);})),this[_0x318433(0xf4)]=_0x1185b5,this[_0x318433(0xeb)]=_0x2f2bb5,_0x1609ac||_0x2f2bb5[_0x318433(0xc2)]();}[_0x19f6d0(0xfa)](_0x38156c,_0x351bdf,_0x49fc89){const _0x492e7d=_0x19f6d0;if(!_0x38156c)return null;const _0xb24b0c=Array[_0x492e7d(0xd5)](_0x38156c[_0x492e7d(0xba)]())[_0x492e7d(0xe5)]();if(void 0x0===this[_0x492e7d(0xbd)]&&void 0x0!==_0x351bdf&&this[_0x492e7d(0xf4)]!==_0x49fc89)return this[_0x492e7d(0xbd)]=_0x351bdf,this[_0x492e7d(0xeb)]=_0x38156c,this[_0x492e7d(0xf4)]=_0x49fc89,_0xb24b0c[_0x351bdf];if(void 0x0!==this[_0x492e7d(0xbd)]&&this[_0x492e7d(0xf4)]===_0x49fc89){if(_0x38156c!==this[_0x492e7d(0xeb)])return Array[_0x492e7d(0xd5)](this[_0x492e7d(0xeb)][_0x492e7d(0xba)]())[_0x492e7d(0xe5)]()[this[_0x492e7d(0xbd)]];return _0xb24b0c[this[_0x492e7d(0xbd)]];}return void 0x0!==_0x351bdf&&this[_0x492e7d(0xf4)]!==_0x49fc89?(this[_0x492e7d(0xbd)]=_0x351bdf,this[_0x492e7d(0xeb)]=_0x38156c,this[_0x492e7d(0xf4)]=_0x49fc89,_0xb24b0c[_0x351bdf]):_0x38156c[_0x492e7d(0xc2)]();}[_0x19f6d0(0xce)](_0x3b544d,_0x5124c4){const _0x28e1ed=_0x19f6d0;if(_0x3b544d)for(let _0x5ec193=0x0;_0x5ec193<_0x5124c4[_0x28e1ed(0xc3)];_0x5ec193++){const _0xa76a95=_0x5124c4[_0x5ec193];if(_0x3b544d[_0x28e1ed(0xb9)]>=_0xa76a95[_0x28e1ed(0xfc)]-0x3&&_0x3b544d[_0x28e1ed(0xb9)]<=_0xa76a95[_0x28e1ed(0xcb)]+0x3&&_0x3b544d[_0x28e1ed(0xf0)]>=_0xa76a95[_0x28e1ed(0xbf)]-0x3&&_0x3b544d[_0x28e1ed(0xf0)]<=_0xa76a95[_0x28e1ed(0xee)]+0x3)return _0x5ec193;}}[_0x19f6d0(0xf2)](_0x3aecc1,_0x402141,_0x4beee9){const _0x5f578=_0x19f6d0,_0x1935ef=new _0x499424(_0x3aecc1),_0x9c975d=_0x402141||document[_0x5f578(0xcc)],_0x172da8=_0x1935ef[_0x5f578(0xe3)](_0xda4469(_0x4beee9)),_0x2b3871=new _0x499424(_0x9c975d)[_0x5f578(0xe3)](_0x1935ef);return!!(_0x172da8&&_0x2b3871&&_0x1935ef[_0x5f578(0xd1)]>0x0);}}function _0x47e0(){const _0x2a2461=['showBalloon','left','ck-ai_review-balloon-panel-suggestion_diff-active','1099OKgpLi','isVisible','bindTemplate','2hJsZFb','set','hover','updateContent','show','_createContentView','isDiffActive','hideDiffInBalloon','clientX','getClientRects','content','extendTemplate','_pinnedRectIndex','8900dHHMgV','top','setTemplate','showDiff','getBoundingClientRect','length','hideBalloon','11495rwUwhi','arrow_','resultItemView','locale','acceptChange','ck-content','right','documentElement','balloon','_getPointedRectIndexFromEvent','click','delegate','width','490671zBYVXV','hide','ck-ai_review-balloon-panel-suggestion','from','unpin','deactivateChange','render','arrow_se','replace','innerHTML','position','_getBestRectPositionOnClick','_setupClickOutsideHandler','1170096fwSdtV','resultResponseView','ck-reset','element','getIntersection','ck-ai_review__suggestion-text','reverse','changeId','fire','42040FVvHPi','265015sgfWan','8yqATZP','_pinnedTargetElement','forEach','2560509HHGDrP','bottom','div','clientY','pin','_isPinnedRectVisible','add','_pinnedTargetChangeId','dismissChange','1202616pocZJr','contentDiffed','showDiffInBalloon','push','_getBestRectPositionOnHover'];_0x47e0=function(){return _0x2a2461;};return _0x47e0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2aeb53=_0x154b;(function(_0x42f134,_0x131d5e){const _0x36b860=_0x154b,_0x175095=_0x42f134();while(!![]){try{const _0x1b7213=parseInt(_0x36b860(0x1c4))/0x1+parseInt(_0x36b860(0x18a))/0x2+-parseInt(_0x36b860(0x186))/0x3+parseInt(_0x36b860(0x1a0))/0x4+-parseInt(_0x36b860(0x19c))/0x5*(parseInt(_0x36b860(0x19b))/0x6)+parseInt(_0x36b860(0x1aa))/0x7*(-parseInt(_0x36b860(0x196))/0x8)+parseInt(_0x36b860(0x19e))/0x9;if(_0x1b7213===_0x131d5e)break;else _0x175095['push'](_0x175095['shift']());}catch(_0x78f82d){_0x175095['push'](_0x175095['shift']());}}}(_0x8f67,0x3df3a));function _0x154b(_0x3ca877,_0x38b476){const _0x8f671d=_0x8f67();return _0x154b=function(_0x154b7f,_0x2aa006){_0x154b7f=_0x154b7f-0x181;let _0x28bd38=_0x8f671d[_0x154b7f];return _0x28bd38;},_0x154b(_0x3ca877,_0x38b476);}import{View as _0x213cb5,ButtonView as _0x94b577}from'ckeditor5/src/ui.js';import{IconInfo as _0x19193f,IconCheck as _0x3bdcba,IconCancel as _0xe67178,IconOutdated as _0x131751}from'ckeditor5/src/icons.js';function _0x8f67(){const _0x181929=['setTemplate','ck-ai-button-secondary','infoButtonView','showDiff','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai_review__check-run-result-dismiss-button','acceptButtonView','fire','824AFXDYl','ck-ai_review__check-run-result_active','extendTemplate','ck-hidden','change:status','4266lLrklV','15AhUDXO','panel','3099627TpDvRs','label','320836WPRfxi','stopPropagation','preventDefault','_createResultResponseView','dismissChange','ck-ai_review__check-run-result-footer','ck-ai_review__check-run-result-status-button','locale','ck-ai_review__check-run-result','deactivateChange','19607KOOyJT','ck-ai-button-tertiary','resultResponseView','menuitemcheckbox','mouseover','ck-ai_review__check-run-result-response','ck-reset_all-excluded','_createOutdatedButtonView','_createInfoButtonView','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','setItemAsActive','accepted','rejected','mouseout','tagName','ck-ai_review__check-run-result-accept-button','isActive','isEnabled','icon','status','acceptChange','div','set','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','outdatedButtonView','setItemAsInactive','248420kXSVqF','execute','ck-ai_review__check-run-result-action-buttons','_createDismissButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','_createAcceptButtonView','dismissButtonView','outdated','hover','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','ck-content','AI_REVIEW_MODE_ACCEPT_CHANGE','AI_REVIEW_MODE_LEARN_MORE','disabled','click','isInfoToggleOn','isOn','720591MtpKKh','activateChange','changeId','target','223110wWIOOe','pending','bind','bindTemplate'];_0x8f67=function(){return _0x181929;};return _0x8f67();}import{getTranslation as _0x1a2b1d}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x213cb5{[_0x2aeb53(0x1ac)];[_0x2aeb53(0x194)];[_0x2aeb53(0x1ca)];[_0x2aeb53(0x190)];[_0x2aeb53(0x1c2)];constructor(_0x388065,_0x1dd1fa){const _0x5e96d5=_0x2aeb53;super(_0x388065),this['id']=_0x1dd1fa,this[_0x5e96d5(0x1c0)](_0x5e96d5(0x1bd),_0x5e96d5(0x18b)),this[_0x5e96d5(0x1c0)](_0x5e96d5(0x188),_0x1dd1fa),this[_0x5e96d5(0x1ac)]=this[_0x5e96d5(0x1a3)](),this[_0x5e96d5(0x194)]=this[_0x5e96d5(0x1c9)](),this[_0x5e96d5(0x1ca)]=this[_0x5e96d5(0x1c7)](),this[_0x5e96d5(0x190)]=this[_0x5e96d5(0x1b2)](),this[_0x5e96d5(0x1c2)]=this[_0x5e96d5(0x1b1)](),this[_0x5e96d5(0x1c0)](_0x5e96d5(0x184),!0x1),this[_0x5e96d5(0x1c0)](_0x5e96d5(0x1ba),!0x1),this[_0x5e96d5(0x1c0)](_0x5e96d5(0x191),!0x0),this[_0x5e96d5(0x18e)]({'tag':_0x5e96d5(0x1bf),'attributes':{'class':[_0x5e96d5(0x1a8),this[_0x5e96d5(0x18d)]['if'](_0x5e96d5(0x1ba),_0x5e96d5(0x197))]},'on':{'click':this[_0x5e96d5(0x18d)]['to'](_0x5e96d5(0x183)),'mouseover':this[_0x5e96d5(0x18d)]['to'](_0x5e96d5(0x1ae)),'mouseout':this[_0x5e96d5(0x18d)]['to'](_0x5e96d5(0x1b7))},'children':[this[_0x5e96d5(0x1ac)],{'tag':_0x5e96d5(0x1bf),'attributes':{'class':[_0x5e96d5(0x1a5)]},'children':[{'tag':_0x5e96d5(0x1bf),'attributes':{'class':[_0x5e96d5(0x1c6)]},'children':[this[_0x5e96d5(0x194)],this[_0x5e96d5(0x1ca)],this[_0x5e96d5(0x1c2)]]},this[_0x5e96d5(0x190)]]}]}),this['on'](_0x5e96d5(0x183),(_0x298111,_0x683461)=>{const _0x52a8ce=_0x5e96d5;_0x683461&&_0x683461[_0x52a8ce(0x189)]&&'A'===_0x683461[_0x52a8ce(0x189)][_0x52a8ce(0x1b8)]&&_0x683461[_0x52a8ce(0x1a2)](),this[_0x52a8ce(0x195)](_0x52a8ce(0x187),{'id':_0x1dd1fa,'source':this,'uiInteraction':_0x52a8ce(0x183)});}),this['on'](_0x5e96d5(0x1ae),()=>{const _0x308e13=_0x5e96d5;this[_0x308e13(0x195)](_0x308e13(0x187),{'id':_0x1dd1fa,'source':this,'uiInteraction':_0x308e13(0x1cc)});}),this['on'](_0x5e96d5(0x1b7),()=>{const _0x107cbf=_0x5e96d5;this[_0x107cbf(0x195)](_0x107cbf(0x1a9),{'origin':_0x107cbf(0x19d),'id':_0x1dd1fa,'source':this});});}[_0x2aeb53(0x1b4)](){const _0x50e2d5=_0x2aeb53;this[_0x50e2d5(0x1ba)]=!0x0;}[_0x2aeb53(0x1c3)](){const _0x28b42e=_0x2aeb53;this[_0x28b42e(0x1ba)]=!0x1;}[_0x2aeb53(0x1a3)](){const _0x11b2c9=_0x2aeb53,_0xdb576b=new _0x213cb5(this[_0x11b2c9(0x1a7)]);return _0xdb576b[_0x11b2c9(0x18e)]({'tag':_0x11b2c9(0x1bf),'attributes':{'class':['ck',_0x11b2c9(0x1ce),_0x11b2c9(0x1b0),_0x11b2c9(0x1af),this[_0x11b2c9(0x18d)]['if'](_0x11b2c9(0x191),_0x11b2c9(0x199),_0x2454c6=>!_0x2454c6)]}}),_0xdb576b;}[_0x2aeb53(0x1c9)](){const _0x27d0ed=_0x2aeb53,_0x2942e6=new _0x94b577(this[_0x27d0ed(0x1a7)]);return _0x2942e6[_0x27d0ed(0x1c0)]({'label':_0x1a2b1d(this[_0x27d0ed(0x1a7)],_0x27d0ed(0x1cf)),'withText':!0x0}),_0x2942e6[_0x27d0ed(0x198)]({'on':{'click':this[_0x27d0ed(0x18d)]['to'](_0x9802d6=>{const _0x574f79=_0x27d0ed;this[_0x574f79(0x195)](_0x574f79(0x1be),{'id':this[_0x574f79(0x188)]}),_0x9802d6[_0x574f79(0x1a1)]();})},'attributes':{'class':[_0x27d0ed(0x18f),_0x27d0ed(0x1b9),this[_0x27d0ed(0x18d)]['if'](_0x27d0ed(0x1bd),_0x27d0ed(0x199),_0x43902f=>_0x27d0ed(0x18b)!==_0x43902f&&_0x27d0ed(0x1b5)!==_0x43902f),this[_0x27d0ed(0x18d)]['if'](_0x27d0ed(0x1bd),_0x27d0ed(0x1b9),_0x5b14a6=>_0x27d0ed(0x18b)===_0x5b14a6),this[_0x27d0ed(0x18d)]['if'](_0x27d0ed(0x1bd),_0x27d0ed(0x1a6),_0x1bb14e=>_0x27d0ed(0x1b5)===_0x1bb14e)]}}),this['on'](_0x27d0ed(0x19a),(_0xc00592,_0xcb6c64,_0xaebc9b)=>{const _0x5b2479=_0x27d0ed;_0x2942e6[_0x5b2479(0x1bb)]=_0x5b2479(0x18b)===_0xaebc9b,_0x5b2479(0x1b5)===_0xaebc9b&&(_0x2942e6[_0x5b2479(0x19f)]=_0x1a2b1d(this[_0x5b2479(0x1a7)],_0x5b2479(0x192)),_0x2942e6[_0x5b2479(0x1bc)]=_0x3bdcba);}),_0x2942e6;}[_0x2aeb53(0x1c7)](){const _0x16cf60=_0x2aeb53,_0x1bcda5=new _0x94b577(this[_0x16cf60(0x1a7)]);return _0x1bcda5[_0x16cf60(0x1c0)]({'label':_0x1a2b1d(this[_0x16cf60(0x1a7)],_0x16cf60(0x1c8)),'withText':!0x0}),_0x1bcda5[_0x16cf60(0x198)]({'on':{'click':this[_0x16cf60(0x18d)]['to'](_0x509000=>{const _0x517114=_0x16cf60;this[_0x517114(0x195)](_0x517114(0x1a4),{'id':this[_0x517114(0x188)]}),_0x509000[_0x517114(0x1a1)]();})},'attributes':{'class':[_0x16cf60(0x1ab),this[_0x16cf60(0x18d)]['if'](_0x16cf60(0x1bd),_0x16cf60(0x199),_0x52da42=>_0x16cf60(0x18b)!==_0x52da42&&_0x16cf60(0x1b6)!==_0x52da42),this[_0x16cf60(0x18d)]['if'](_0x16cf60(0x1bd),_0x16cf60(0x193),_0x1f87e7=>_0x16cf60(0x18b)===_0x1f87e7),this[_0x16cf60(0x18d)]['if'](_0x16cf60(0x1bd),_0x16cf60(0x1a6),_0x4f961e=>_0x16cf60(0x1b6)===_0x4f961e)]}}),this['on'](_0x16cf60(0x19a),(_0x1225e3,_0x30363b,_0x4f2d37)=>{const _0x3b196c=_0x16cf60;_0x1bcda5[_0x3b196c(0x1bb)]=_0x3b196c(0x18b)===_0x4f2d37,_0x3b196c(0x1b6)===_0x4f2d37&&(_0x1bcda5[_0x3b196c(0x19f)]=_0x1a2b1d(this[_0x3b196c(0x1a7)],_0x3b196c(0x1b3)),_0x1bcda5[_0x3b196c(0x1bc)]=_0xe67178);}),_0x1bcda5;}[_0x2aeb53(0x1b2)](){const _0x29d0b3=_0x2aeb53,_0x3dcbab=new _0x94b577(this[_0x29d0b3(0x1a7)]);return _0x3dcbab[_0x29d0b3(0x1c0)]({'label':_0x1a2b1d(this[_0x29d0b3(0x1a7)],_0x29d0b3(0x181)),'icon':_0x19193f,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x29d0b3(0x1ad),'class':_0x29d0b3(0x1cd)}),_0x3dcbab[_0x29d0b3(0x18c)](_0x29d0b3(0x185))['to'](this,_0x29d0b3(0x184),_0x340abf=>_0x340abf),_0x3dcbab['on'](_0x29d0b3(0x1c5),()=>{const _0x117dac=_0x29d0b3;this[_0x117dac(0x184)]=!this[_0x117dac(0x184)];}),_0x3dcbab;}[_0x2aeb53(0x1b1)](){const _0x36bfea=_0x2aeb53,_0x51c5a7=new _0x94b577(this[_0x36bfea(0x1a7)]);return _0x51c5a7[_0x36bfea(0x1c0)]({'label':_0x1a2b1d(this[_0x36bfea(0x1a7)],_0x36bfea(0x1c1)),'icon':_0x131751,'withText':!0x0,'isEnabled':!0x1}),_0x51c5a7[_0x36bfea(0x198)]({'attributes':{'class':[_0x36bfea(0x18f),_0x36bfea(0x1a6),this[_0x36bfea(0x18d)]['if'](_0x36bfea(0x1bd),_0x36bfea(0x199),_0x3f890c=>_0x36bfea(0x1cb)!==_0x3f890c)],'disabled':_0x36bfea(0x182)}}),_0x51c5a7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x17cc24,KeystrokeHandler as _0x5a7a99,FocusTracker as _0x3fc1a0}from'ckeditor5/src/utils.js';import{View as _0x222a7c,ViewCollection as _0x63de3f,ButtonView as _0x2d644b,FormRowView as _0x32f815,createDropdown as _0x3226f4,addListToDropdown as _0x1599b8,UIModel as _0xf792b6,ButtonLabelView as _0x45836e,LabeledFieldView as _0x45b196,FocusCycler as _0x39e529}from'ckeditor5/src/ui.js';import{getTranslation as _0x182fea}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x2d74fc}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x222a7c{['focusTracker']=new _0x3fc1a0();['keystrokes']=new _0x5a7a99();['focusCycler'];['_focusables']=new _0x63de3f();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x45ab8e,_0x4eed1b,_0x1b9b80=!0x1){super(_0x45ab8e),this['_check']=_0x4eed1b,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x4eed1b['defaultModel']?_0x4eed1b['defaultModel']['id']:'',this['_defaultLabel']=_0x4eed1b['defaultModel']?_0x4eed1b['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x45b196(this['locale'],()=>new _0x2d74fc(_0x45ab8e)),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 _0x17cc24(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1b9b80),_0x1599b8(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x32f815(this['locale'],{'children':[this['promptInputView']]}),new _0x32f815(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x446256,_0x277e02)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x277e02()):_0x277e02();}),this['focusCycler']=new _0x39e529({'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'](_0x3579b8=>{this['_focusables']['add'](_0x3579b8),this['focusTracker']['add'](_0x3579b8['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 _0x5f483a of this['_getFormValidators']()){const _0x10a9c6=_0x5f483a();if(_0x10a9c6)return this['promptInputView']['errorText']=_0x10a9c6,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x182fea(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x1ac20e=new _0x2d644b(this['locale']),t=this['locale']['t'];return _0x1ac20e['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1ac20e['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1ac20e;}['_createCancelButtonView'](){const _0x2dc928=new _0x2d644b(this['locale']),t=this['locale']['t'];return _0x2dc928['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x2dc928['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3b43af=>{_0x3b43af['stopPropagation']();})}}),_0x2dc928['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x2dc928;}['_setModelList'](_0x3ca12d){this['_modelSelectionDropdownItems']['clear']();const _0x119557=this['_check']['models'];if(_0x3ca12d)this['set']('modelDisplayMode','hidden');else{const _0x13b5ad=0x1===_0x119557['length'];this['set']('modelDisplayMode',_0x13b5ad?'name':'selector');}if(this['resetToDefault'](),_0x119557?.['length']){0x1===_0x119557['length']&&this['set']('activeModelName',_0x119557[0x0]['name']||_0x119557[0x0]['id']);for(const _0x34d78d of _0x119557){const _0x175f98=new _0xf792b6({'label':_0x34d78d['name'],'withText':!0x0,'role':'menuitemradio','id':_0x34d78d['id'],'model':_0x34d78d});_0x175f98['bind']('isOn')['to'](this,'modelId',_0x482823=>_0x482823===_0x34d78d['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x175f98,'labelView':new ko(this['locale'],_0x34d78d)});}}}['_createModelSelectionDropdown'](){const _0x3d57c3=_0x3226f4(this['locale']);return _0x3d57c3['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x3d57c3['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x3d57c3['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2e9446=>'selector'===_0x2e9446),this['listenTo'](_0x3d57c3,'execute',_0x9b90a4=>{this['modelId']=_0x9b90a4['source']['model']['id'],_0x3d57c3['buttonView']['label']=_0x9b90a4['source']['label'];}),_0x3d57c3;}['_createModelNameView'](){const _0x2da8cc=new _o(this['locale']);return _0x2da8cc['bind']('text')['to'](this,'activeModelName',_0x235af7=>_0x235af7??''),_0x2da8cc['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1ecf97=>'name'===_0x1ecf97),_0x2da8cc;}['_createActionsFooterView'](){const _0x135ac8=new _0x222a7c(this['locale']);return _0x135ac8['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']]}]}),_0x135ac8;}}class _o extends _0x222a7c{constructor(_0x4b5f51){super(_0x4b5f51),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x570f1f=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x570f1f['if']('isVisible','ck-hidden',_0x902d27=>!_0x902d27)]},'children':[{'text':_0x570f1f['to']('text')}]});}}class ko extends _0x45836e{constructor(_0x2fa260,_0x270535){super();const _0x4eb315=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x4eb315['to']('style'),'id':_0x4eb315['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x4eb315['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x270535['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2cb18c,_0x59310b){var _0x396dda=_0x55f5,_0x4064ef=_0x2cb18c();while(!![]){try{var _0x17ef81=-parseInt(_0x396dda(0x96))/0x1+parseInt(_0x396dda(0x95))/0x2*(-parseInt(_0x396dda(0x90))/0x3)+parseInt(_0x396dda(0x88))/0x4*(-parseInt(_0x396dda(0x8a))/0x5)+parseInt(_0x396dda(0x91))/0x6*(parseInt(_0x396dda(0x89))/0x7)+parseInt(_0x396dda(0x93))/0x8+-parseInt(_0x396dda(0x8b))/0x9+parseInt(_0x396dda(0x87))/0xa*(parseInt(_0x396dda(0x8e))/0xb);if(_0x17ef81===_0x59310b)break;else _0x4064ef['push'](_0x4064ef['shift']());}catch(_0xaa218d){_0x4064ef['push'](_0x4064ef['shift']());}}}(_0x5e48,0x7d8f2));function _0x55f5(_0x3ef6fa,_0x295c87){var _0x5e4844=_0x5e48();return _0x55f5=function(_0x55f5b5,_0x4a3c40){_0x55f5b5=_0x55f5b5-0x87;var _0xd74295=_0x5e4844[_0x55f5b5];return _0xd74295;},_0x55f5(_0x3ef6fa,_0x295c87);}import{ButtonView as _0xa1e277}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0xa1e277{constructor(_0x2db4ef,_0x129ad2){var _0x4ee179=_0x55f5;super(_0x129ad2),this[_0x4ee179(0x92)]({'label':_0x2db4ef,'withText':!0x0,'class':_0x4ee179(0x94)}),this['on'](_0x4ee179(0x8c),()=>{var _0x24286d=_0x4ee179;this[_0x24286d(0x8d)](_0x24286d(0x8f));});}}function _0x5e48(){var _0xe55fd4=['ck-ai-button-primary','1586474oKtKAM','826745vWdwEC','11659110IroAKq','3132484RicCMz','7ZfJJxr','5moRSTA','8328456hrMwze','execute','fire','33ySPtRc','finishReview','3xgFfbo','809376PMcanz','set','1681184OStRkv'];_0x5e48=function(){return _0xe55fd4;};return _0x5e48();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x192990,_0x17911c){const _0x598e74=_0x2dd5,_0x534325=_0x192990();while(!![]){try{const _0x338311=parseInt(_0x598e74(0xfb))/0x1*(parseInt(_0x598e74(0xfd))/0x2)+parseInt(_0x598e74(0xf2))/0x3+parseInt(_0x598e74(0xf0))/0x4*(parseInt(_0x598e74(0xf1))/0x5)+parseInt(_0x598e74(0xf6))/0x6*(-parseInt(_0x598e74(0xfc))/0x7)+-parseInt(_0x598e74(0xec))/0x8+parseInt(_0x598e74(0xee))/0x9*(-parseInt(_0x598e74(0xfa))/0xa)+parseInt(_0x598e74(0xfe))/0xb*(parseInt(_0x598e74(0xf9))/0xc);if(_0x338311===_0x17911c)break;else _0x534325['push'](_0x534325['shift']());}catch(_0x2ffce2){_0x534325['push'](_0x534325['shift']());}}}(_0x58e5,0xa6675));function _0x2dd5(_0x4e90bf,_0x31d600){const _0x58e51e=_0x58e5();return _0x2dd5=function(_0x2dd577,_0xcdf529){_0x2dd577=_0x2dd577-0xea;let _0x2f9357=_0x58e51e[_0x2dd577];return _0x2f9357;},_0x2dd5(_0x4e90bf,_0x31d600);}function _0x58e5(){const _0x48adcf=['bindTemplate','294453KCXBSH','ck-hidden','5988ipTuhu','705daXhFQ','2025195ccGgBK','isVisible','ck-ai_review__general-error-container','errorMessage','381486WWrCHB','ck\x20ck-ai-notification\x20ck-ai-notification_error','div','2355348kSayjY','270uIANbY','1OpHlSH','119IRGukG','2463146WGNcSv','44bWjsQM','set','setTemplate','2056048chQSXj'];_0x58e5=function(){return _0x48adcf;};return _0x58e5();}import{View as _0x5e5440}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x5e5440{constructor(_0x2e2c2c){const _0x2b1129=_0x2dd5;super(_0x2e2c2c),this[_0x2b1129(0xea)](_0x2b1129(0xf3),!0x1),this[_0x2b1129(0xea)](_0x2b1129(0xf5),'');const _0x4e4f30=this[_0x2b1129(0xed)];this[_0x2b1129(0xeb)]({'tag':_0x2b1129(0xf8),'attributes':{'class':['ck',_0x2b1129(0xf4),_0x4e4f30['if'](_0x2b1129(0xf3),_0x2b1129(0xef),_0xcdfc7b=>!_0xcdfc7b)]},'children':[{'tag':'p','attributes':{'class':_0x2b1129(0xf7)},'children':[{'text':_0x4e4f30['to'](_0x2b1129(0xf5))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x30f74f=_0x3a53;(function(_0x341656,_0x3f21d9){var _0x156d44=_0x3a53,_0x18ea8=_0x341656();while(!![]){try{var _0x5292cb=-parseInt(_0x156d44(0x160))/0x1*(parseInt(_0x156d44(0x158))/0x2)+-parseInt(_0x156d44(0x162))/0x3*(parseInt(_0x156d44(0x15c))/0x4)+-parseInt(_0x156d44(0x15f))/0x5*(-parseInt(_0x156d44(0x163))/0x6)+-parseInt(_0x156d44(0x165))/0x7*(-parseInt(_0x156d44(0x167))/0x8)+parseInt(_0x156d44(0x164))/0x9*(-parseInt(_0x156d44(0x15b))/0xa)+parseInt(_0x156d44(0x169))/0xb+parseInt(_0x156d44(0x16f))/0xc;if(_0x5292cb===_0x3f21d9)break;else _0x18ea8['push'](_0x18ea8['shift']());}catch(_0x44d8fa){_0x18ea8['push'](_0x18ea8['shift']());}}}(_0x265a,0xd8c8d));function _0x3a53(_0x23772d,_0x4b85eb){var _0x265a60=_0x265a();return _0x3a53=function(_0x3a5347,_0x1fab75){_0x3a5347=_0x3a5347-0x157;var _0x133e67=_0x265a60[_0x3a5347];return _0x133e67;},_0x3a53(_0x23772d,_0x4b85eb);}import{TextareaView as _0x1b4b86}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5e2a01}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x1b4b86{[_0x30f74f(0x16a)];static [_0x30f74f(0x15e)]=0x1;static [_0x30f74f(0x161)]=0xc;constructor(_0x1061d9){var _0x20375d=_0x30f74f;super(_0x1061d9),this[_0x20375d(0x16b)](_0x20375d(0x15a),!0x0),this[_0x20375d(0x16a)]=new _0x5e2a01(),this[_0x20375d(0x168)]=AIReviewCorePromptInputView[_0x20375d(0x15e)],this[_0x20375d(0x171)]=AIReviewCorePromptInputView[_0x20375d(0x161)],this[_0x20375d(0x172)]({'attributes':{'id':_0x20375d(0x157),'class':['ck',_0x20375d(0x16d)]}});}[_0x30f74f(0x170)](){var _0x39be20=_0x30f74f;super[_0x39be20(0x170)](),this['on'](_0x39be20(0x159),()=>{var _0x5594f6=_0x39be20;this[_0x5594f6(0x15a)]=''===this[_0x5594f6(0x15d)][_0x5594f6(0x166)]?.[_0x5594f6(0x16e)]();}),this[_0x39be20(0x16a)][_0x39be20(0x16c)](this[_0x39be20(0x15d)]);}}function _0x265a(){var _0x2651f1=['keystrokes','set','listenTo','ck-review__prompt-input','trim','30275640BnGXJC','render','maxRows','extendTemplate','ai-review-prompt-input','14nNnhid','update','isEmpty','9090KDloeT','83332MBrEkC','element','MIN_ROWS','165zvFukb','241342LETGYF','MAX_ROWS','33rFJwJX','50130rNomzL','16101WPACEp','51688COhkzR','value','824qkExQw','minRows','9608170czcXPY'];_0x265a=function(){return _0x2651f1;};return _0x265a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x14fd(){const _0x4a9b2e=['length','isVisible','add','entries','ck-ai_review__check-list','614332Kgiwcd','setChecks','3tYtjwL','bindTemplate','locale','delegate','117350dFLbeS','ck-hidden','clear','_setupTemplate','1219452PaZPKC','resetAllParameterizedChecks','div','1764304BDZJyO','65158DVSBCM','runReviewCheck','157010OMxwzU','resetToDefault','hasChecks','8330VsPViQ','setTemplate','692bIrHGV','693ZkIFiL','_checkViews'];_0x14fd=function(){return _0x4a9b2e;};return _0x14fd();}const _0x2f9e72=_0x4c04;(function(_0x1c408a,_0x1fc07d){const _0x3f0a08=_0x4c04,_0x5a0248=_0x1c408a();while(!![]){try{const _0x32b9a3=parseInt(_0x3f0a08(0xc6))/0x1+-parseInt(_0x3f0a08(0xb8))/0x2*(-parseInt(_0x3f0a08(0xba))/0x3)+parseInt(_0x3f0a08(0xcd))/0x4*(parseInt(_0x3f0a08(0xcb))/0x5)+parseInt(_0x3f0a08(0xc2))/0x6+-parseInt(_0x3f0a08(0xc8))/0x7+parseInt(_0x3f0a08(0xc5))/0x8+-parseInt(_0x3f0a08(0xce))/0x9*(parseInt(_0x3f0a08(0xbe))/0xa);if(_0x32b9a3===_0x1fc07d)break;else _0x5a0248['push'](_0x5a0248['shift']());}catch(_0x1c6055){_0x5a0248['push'](_0x5a0248['shift']());}}}(_0x14fd,0x26a59));import{ListItemView as _0x3b695a,ViewCollection as _0x25dfe7}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x4a7d56}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x4c04(_0x147491,_0x2bd9e0){const _0x14fd6b=_0x14fd();return _0x4c04=function(_0x4c04da,_0x14b7fa){_0x4c04da=_0x4c04da-0xb4;let _0x4b40c2=_0x14fd6b[_0x4c04da];return _0x4b40c2;},_0x4c04(_0x147491,_0x2bd9e0);}export class AIReviewCoreReviewCheckListView extends _0x3b695a{[_0x2f9e72(0xcf)];constructor(_0x3135bb){const _0x2478e9=_0x2f9e72;super(_0x3135bb),this[_0x2478e9(0xcf)]=new _0x25dfe7(),this[_0x2478e9(0xc1)]();}[_0x2f9e72(0xb9)](_0x21eb74,_0x2ae2b5=!0x1){const _0x4474ee=_0x2f9e72;this[_0x4474ee(0xcf)][_0x4474ee(0xc0)]();for(const [_0x95e5aa,_0xbd3b40]of _0x21eb74[_0x4474ee(0xb6)]()){const _0x42ed3c=new _0x4a7d56(this[_0x4474ee(0xbc)],_0xbd3b40,_0x95e5aa,_0x2ae2b5);_0x42ed3c[_0x4474ee(0xbd)](_0x4474ee(0xc7))['to'](this),this[_0x4474ee(0xcf)][_0x4474ee(0xb5)](_0x42ed3c);}}[_0x2f9e72(0xca)](){const _0x593e73=_0x2f9e72;return this[_0x593e73(0xcf)][_0x593e73(0xd0)]>0x0;}[_0x2f9e72(0xc3)](){const _0x20f701=_0x2f9e72;for(const _0xe6bf59 of this[_0x20f701(0xcf)])_0xe6bf59 instanceof _0x4a7d56&&_0xe6bf59[_0x20f701(0xc9)]();}[_0x2f9e72(0xc1)](){const _0x41b613=_0x2f9e72,_0x3b7a79=this[_0x41b613(0xbb)];this[_0x41b613(0xcc)]({'tag':_0x41b613(0xc4),'attributes':{'class':[_0x41b613(0xb7),_0x3b7a79['if'](_0x41b613(0xb4),_0x41b613(0xbf),_0x53f56a=>!_0x53f56a)]},'children':this[_0x41b613(0xcf)]});}}
|