@ckeditor/ckeditor5-ai 47.4.0-alpha.1 → 47.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x232e7b=_0x33e8;(function(_0x14057b,_0x165525){const _0x24eefc=_0x33e8,_0x202b86=_0x14057b();while(!![]){try{const _0x440748=-parseInt(_0x24eefc(0x1b2))/0x1+parseInt(_0x24eefc(0x1b0))/0x2*(parseInt(_0x24eefc(0x1a2))/0x3)+parseInt(_0x24eefc(0x190))/0x4*(parseInt(_0x24eefc(0x1b7))/0x5)+parseInt(_0x24eefc(0x163))/0x6*(-parseInt(_0x24eefc(0x174))/0x7)+-parseInt(_0x24eefc(0x173))/0x8*(-parseInt(_0x24eefc(0x1a4))/0x9)+-parseInt(_0x24eefc(0x1ae))/0xa+-parseInt(_0x24eefc(0x184))/0xb*(-parseInt(_0x24eefc(0x18d))/0xc);if(_0x440748===_0x165525)break;else _0x202b86['push'](_0x202b86['shift']());}catch(_0x31fa0d){_0x202b86['push'](_0x202b86['shift']());}}}(_0xfa3d,0x34ab1));import{ContextPlugin as _0x3ce22d}from'ckeditor5/src/core.js';import{IconAIReview as _0x56073e}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5ab6bc}from'ckeditor5/src/ui.js';import{AITabs as _0x786c10}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x19e311}from'./ui/aireviewmodeview.js';function _0x33e8(_0x4c38f9,_0x2e8c36){const _0xfa3d9b=_0xfa3d();return _0x33e8=function(_0x33e8e1,_0x760c98){_0x33e8e1=_0x33e8e1-0x161;let _0x13c19d=_0xfa3d9b[_0x33e8e1];return _0x13c19d;},_0x33e8(_0x4c38f9,_0x2e8c36);}import{getTranslation as _0x4e0f8f}from'../aicore/utils/common-translations.js';function _0xfa3d(){const _0x26b1ad=['isOfficialPlugin','leaveReviewMode','deactivateChange','runReviewCheck','outdated','setAvailableChecks','showCheckRunResults','showReviewCheckListView','setChecks','89023bobzLA','AI_REVIEW_MODE','reviewMode','status','hasChecks','delegate','showReviewCheckResultsView','showCheckRunResult','reviewCheckListView','216CJsOCM','init','setItemAsInactive','268otjBpA','_reviewModeView','requires','addTab','setTitle','activateChange','showChunkErrorView','showGeneralReviewModeErrorView','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','abortReviewStream','hideBalloon','hideDiffInBalloon','plugins','detachFromDom','addCheckRunResult','showBalloon','showNoChangesView','activateTab','306237iEbCbB','showReviewCompletedView','9YGqkAP','setItemAsActive','error-general','leaveReviewModeResultList','getChangeElement','acceptAllChanges','fire','showChangeBalloon','error-chunk','retryReview','2314070OXwNXS','get','4MHMxDW','showDiffInBalloon','6977FtvPDb','isPremiumPlugin','setCheckResultTitle','finishReview','destroy','26095ZHMMvw','hideActionsWhenResultIsReady','find','getResults','rejected','getReviewCheckList','accepted','dismissChange','showActionsWhenResultIsReady','hideChangeBalloon','forEach','228UFwGRG','learnMore','reviewCheckResultsView','AIReviewModeUI','attachToDom','_bodyCollection','toggleDiff','hideResult','_reviewModeBalloonSuggestionItemView','showGeneralResultsErrorView','showReviewCheckList','resetActiveStateInResults','pluginName','AITabs','view','locale','661904jwJrlv','60445XNnxqr','context','acceptChange','element','updateChangeState','setActiveStateInResults','showResult'];_0xfa3d=function(){return _0x26b1ad;};return _0xfa3d();}import{AIReviewModeBalloonSuggestionItemView as _0x35773d}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x232e7b(0x1bc),_0x232e7b(0x17e),_0x232e7b(0x199),_0x232e7b(0x169),_0x232e7b(0x1a9),_0x232e7b(0x1a7),_0x232e7b(0x195),_0x232e7b(0x176),_0x232e7b(0x1be),_0x232e7b(0x164),_0x232e7b(0x1b5),_0x232e7b(0x1ad)];export class AIReviewModeUI extends _0x3ce22d{[_0x232e7b(0x191)];[_0x232e7b(0x16b)];[_0x232e7b(0x168)];static get[_0x232e7b(0x192)](){return[_0x786c10];}static get[_0x232e7b(0x16f)](){const _0x163f6b=_0x232e7b;return _0x163f6b(0x166);}static get[_0x232e7b(0x17b)](){return!0x0;}static get[_0x232e7b(0x1b3)](){return!0x0;}constructor(_0x480d83){const _0x1709e2=_0x232e7b;super(_0x480d83),this[_0x1709e2(0x168)]=new _0x5ab6bc(this[_0x1709e2(0x175)][_0x1709e2(0x172)]),this[_0x1709e2(0x168)][_0x1709e2(0x167)](),this[_0x1709e2(0x191)]=new _0x19e311(this[_0x1709e2(0x175)][_0x1709e2(0x172)]),this[_0x1709e2(0x191)][_0x1709e2(0x189)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x1709e2(0x16b)]=new _0x35773d(this[_0x1709e2(0x175)][_0x1709e2(0x172)],this[_0x1709e2(0x168)]),this[_0x1709e2(0x16b)][_0x1709e2(0x189)](_0x1709e2(0x176),_0x1709e2(0x1be),_0x1709e2(0x17d))['to'](this);}[_0x232e7b(0x18e)](){const _0x5c530d=_0x232e7b,_0x3eca75=this[_0x5c530d(0x175)][_0x5c530d(0x19c)][_0x5c530d(0x1af)](_0x5c530d(0x170));_0x3eca75[_0x5c530d(0x171)]['on'](_0x5c530d(0x1a1),(_0x7814c2,_0x1923c3)=>{const _0x18a69a=_0x5c530d;_0x18a69a(0x186)===_0x1923c3?this[_0x18a69a(0x1aa)](_0x18a69a(0x1bc)):this[_0x18a69a(0x1aa)](_0x18a69a(0x17c));}),_0x3eca75[_0x5c530d(0x171)][_0x5c530d(0x193)]({'id':_0x5c530d(0x186),'buttonLabel':_0x4e0f8f(this[_0x5c530d(0x175)][_0x5c530d(0x172)],_0x5c530d(0x185)),'buttonIcon':_0x56073e,'order':0x0,'content':this[_0x5c530d(0x191)]});}[_0x232e7b(0x1b6)](){const _0x2ff1d4=_0x232e7b;this[_0x2ff1d4(0x168)][_0x2ff1d4(0x19d)](),super[_0x2ff1d4(0x1b6)]();}[_0x232e7b(0x180)](_0x435465){const _0x358ad6=_0x232e7b;this[_0x358ad6(0x191)][_0x358ad6(0x18c)][_0x358ad6(0x188)]()||this[_0x358ad6(0x191)][_0x358ad6(0x18c)][_0x358ad6(0x183)](_0x435465),this[_0x358ad6(0x191)][_0x358ad6(0x182)]();}[_0x232e7b(0x16d)](){const _0x154a9b=_0x232e7b;this[_0x154a9b(0x1aa)](_0x154a9b(0x1bc));}[_0x232e7b(0x181)](_0x368d30){const _0x30b47b=_0x232e7b;_0x368d30&&(_0x30b47b(0x1a6)!==_0x368d30[_0x30b47b(0x187)]?_0x30b47b(0x1ac)!==_0x368d30[_0x30b47b(0x187)]?this[_0x30b47b(0x191)][_0x30b47b(0x18a)]():this[_0x30b47b(0x196)]():this[_0x30b47b(0x16c)]());}[_0x232e7b(0x18b)](_0x2285fa){const _0xf78bfa=_0x232e7b;this[_0xf78bfa(0x191)][_0xf78bfa(0x19e)](_0x2285fa);}[_0x232e7b(0x16c)](){const _0x5213d5=_0x232e7b;this[_0x5213d5(0x191)][_0x5213d5(0x16c)]();}[_0x232e7b(0x197)](_0x31b825){const _0x4343bc=_0x232e7b;this[_0x4343bc(0x191)][_0x4343bc(0x197)](_0x31b825??_0x4e0f8f(this[_0x4343bc(0x175)][_0x4343bc(0x172)],_0x4343bc(0x198)));}[_0x232e7b(0x196)](){const _0x4e4d78=_0x232e7b;this[_0x4e4d78(0x191)][_0x4e4d78(0x196)]();}[_0x232e7b(0x1b4)](_0x35400a,_0x36c87e){const _0x5a5996=_0x232e7b;this[_0x5a5996(0x191)][_0x5a5996(0x165)][_0x5a5996(0x194)](_0x35400a,_0x36c87e);}[_0x232e7b(0x179)](_0x3fd08){const _0x8afb0c=_0x232e7b;this[_0x8afb0c(0x191)][_0x8afb0c(0x165)][_0x8afb0c(0x1ba)]()[_0x8afb0c(0x162)](_0x79b570=>{const _0x4e6014=_0x8afb0c;_0x79b570['id']===_0x3fd08&&_0x79b570[_0x4e6014(0x1a5)]();});}[_0x232e7b(0x16e)](){const _0x5adbe5=_0x232e7b;this[_0x5adbe5(0x191)][_0x5adbe5(0x165)][_0x5adbe5(0x1ba)]()[_0x5adbe5(0x162)](_0x5ce624=>_0x5ce624[_0x5adbe5(0x18f)]());}[_0x232e7b(0x178)](_0x569377,_0x300b4a){const _0x51a559=_0x232e7b;_0x51a559(0x1bd)===_0x300b4a||_0x51a559(0x1bb)===_0x300b4a||_0x51a559(0x17f)===_0x300b4a?this[_0x51a559(0x191)][_0x51a559(0x165)][_0x51a559(0x16a)](_0x569377,_0x300b4a):this[_0x51a559(0x191)][_0x51a559(0x165)][_0x51a559(0x17a)](_0x569377,_0x300b4a);}[_0x232e7b(0x1a3)](){const _0x292541=_0x232e7b;this[_0x292541(0x191)][_0x292541(0x1a3)]();}[_0x232e7b(0x1bf)](){const _0x169e60=_0x232e7b;this[_0x169e60(0x191)][_0x169e60(0x1bf)]();}[_0x232e7b(0x1a0)](){const _0x273f61=_0x232e7b;this[_0x273f61(0x191)][_0x273f61(0x1a0)]();}[_0x232e7b(0x1b8)](){const _0x3259c2=_0x232e7b;this[_0x3259c2(0x191)][_0x3259c2(0x1b8)]();}[_0x232e7b(0x1ab)](_0x5c2697,_0x3dedc7,_0x1267c5,_0xa1ca36,_0x3ddbac,_0x5d1578){const _0xb144bb=_0x232e7b;this[_0xb144bb(0x16b)][_0xb144bb(0x19f)](_0x5c2697,_0x3dedc7,_0x1267c5,_0xa1ca36,_0x3ddbac,_0x5d1578);}[_0x232e7b(0x161)](){const _0x2bc1a0=_0x232e7b;this[_0x2bc1a0(0x16b)][_0x2bc1a0(0x19a)]();}[_0x232e7b(0x19b)](){const _0x28d817=_0x232e7b;this[_0x28d817(0x16b)][_0x28d817(0x19b)]();}[_0x232e7b(0x1b1)](){const _0xb34f5f=_0x232e7b;this[_0xb34f5f(0x16b)][_0xb34f5f(0x1b1)]();}[_0x232e7b(0x1a8)](_0x33cff0){const _0x9a7997=_0x232e7b,_0x1c0ad2=this[_0x9a7997(0x191)][_0x9a7997(0x165)][_0x9a7997(0x1ba)]()[_0x9a7997(0x1b9)](_0x19d56b=>_0x19d56b['id']===_0x33cff0);return _0x1c0ad2?_0x1c0ad2[_0x9a7997(0x177)]:null;}[_0x232e7b(0x17d)](){const _0x1be78d=_0x232e7b;this[_0x1be78d(0x16b)][_0x1be78d(0x17d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2c9a74=_0xc227;function _0x3004(){var _0x5c3b77=['options','isParameterized','description','1529479NuNuNb','1NDHiFE','9mzbrZp','33410773jWjpov','2305GDXpee','12Satnre','useArgs','2231960XBbDiB','9QOFymQ','281482diXRQn','1241652fglwhO','402JOYjty','6855192aCTECc','title'];_0x3004=function(){return _0x5c3b77;};return _0x3004();}(function(_0x4002a6,_0x354c10){var _0x4bb5fe=_0xc227,_0x3fb224=_0x4002a6();while(!![]){try{var _0x14da46=-parseInt(_0x4bb5fe(0x19b))/0x1*(parseInt(_0x4bb5fe(0x192))/0x2)+-parseInt(_0x4bb5fe(0x19c))/0x3*(parseInt(_0x4bb5fe(0x193))/0x4)+-parseInt(_0x4bb5fe(0x18d))/0x5*(-parseInt(_0x4bb5fe(0x194))/0x6)+-parseInt(_0x4bb5fe(0x19a))/0x7+-parseInt(_0x4bb5fe(0x195))/0x8+-parseInt(_0x4bb5fe(0x191))/0x9*(parseInt(_0x4bb5fe(0x190))/0xa)+parseInt(_0x4bb5fe(0x18c))/0xb*(parseInt(_0x4bb5fe(0x18e))/0xc);if(_0x14da46===_0x354c10)break;else _0x3fb224['push'](_0x3fb224['shift']());}catch(_0x330296){_0x3fb224['push'](_0x3fb224['shift']());}}}(_0x3004,0xaa53a));function _0xc227(_0xffc861,_0x1e1e74){var _0x300475=_0x3004();return _0xc227=function(_0xc22727,_0x2a505a){_0xc22727=_0xc22727-0x18c;var _0x162a82=_0x300475[_0xc22727];return _0x162a82;},_0xc227(_0xffc861,_0x1e1e74);}export class AIReviewCheck{['id'];[_0x2c9a74(0x196)];[_0x2c9a74(0x199)];[_0x2c9a74(0x198)];[_0x2c9a74(0x18f)];[_0x2c9a74(0x197)];constructor({id:_0x1f94fc,title:_0x4bb09d,description:_0x193eb1,isParameterized:_0x312342,useArgs:_0x184523,options:_0x3beeaf}){var _0x23668c=_0x2c9a74;this['id']=_0x1f94fc,this[_0x23668c(0x196)]=_0x4bb09d,this[_0x23668c(0x199)]=_0x193eb1,this[_0x23668c(0x198)]=_0x312342,this[_0x23668c(0x18f)]=_0x184523,this[_0x23668c(0x197)]=_0x3beeaf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x9493(_0x4c45ee,_0x94083a){var _0x2e7590=_0x2e75();return _0x9493=function(_0x94938,_0x2c554d){_0x94938=_0x94938-0xd9;var _0x18a3ab=_0x2e7590[_0x94938];return _0x18a3ab;},_0x9493(_0x4c45ee,_0x94083a);}function _0x2e75(){var _0x531beb=['2977420BEdMDu','2608476aRJHuT','11crgoxl','330LWRWtZ','73374TpNKcD','_models','123759CCaqYh','models','136qOOGOY','2929866IlCuts','545715XbWZef','1304620TJMume','10CaztKV'];_0x2e75=function(){return _0x531beb;};return _0x2e75();}var _0x5356bb=_0x9493;(function(_0x197932,_0x2d32c3){var _0x4b664a=_0x9493,_0x468e29=_0x197932();while(!![]){try{var _0x2c5647=-parseInt(_0x4b664a(0xe0))/0x1+parseInt(_0x4b664a(0xdf))/0x2+parseInt(_0x4b664a(0xe4))/0x3+parseInt(_0x4b664a(0xe3))/0x4*(-parseInt(_0x4b664a(0xe2))/0x5)+parseInt(_0x4b664a(0xd9))/0x6*(parseInt(_0x4b664a(0xda))/0x7)+parseInt(_0x4b664a(0xde))/0x8*(-parseInt(_0x4b664a(0xdc))/0x9)+parseInt(_0x4b664a(0xe1))/0xa*(parseInt(_0x4b664a(0xe5))/0xb);if(_0x2c5647===_0x2d32c3)break;else _0x468e29['push'](_0x468e29['shift']());}catch(_0x2313eb){_0x468e29['push'](_0x468e29['shift']());}}}(_0x2e75,0xbcc55));import{AIReviewCheck as _0x3d6e2f}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x3d6e2f{[_0x5356bb(0xdb)]=[];get[_0x5356bb(0xdd)](){var _0x60e1bf=_0x5356bb;return this[_0x60e1bf(0xdb)];}set[_0x5356bb(0xdd)](_0x13ee94){var _0x43fa94=_0x5356bb;this[_0x43fa94(0xdb)]=_0x13ee94;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x14991a=_0x49aa;(function(_0x225e15,_0x599edf){var _0x248471=_0x49aa,_0x173ebf=_0x225e15();while(!![]){try{var _0x38c719=-parseInt(_0x248471(0x1a4))/0x1+-parseInt(_0x248471(0x1a3))/0x2+parseInt(_0x248471(0x1a8))/0x3*(parseInt(_0x248471(0x19f))/0x4)+-parseInt(_0x248471(0x1aa))/0x5+-parseInt(_0x248471(0x19e))/0x6+-parseInt(_0x248471(0x1a9))/0x7*(parseInt(_0x248471(0x19b))/0x8)+parseInt(_0x248471(0x1a7))/0x9;if(_0x38c719===_0x599edf)break;else _0x173ebf['push'](_0x173ebf['shift']());}catch(_0x411f03){_0x173ebf['push'](_0x173ebf['shift']());}}}(_0x3a35,0x4356d));function _0x49aa(_0x19d299,_0x399309){var _0x3a351f=_0x3a35();return _0x49aa=function(_0x49aa7b,_0x5cba14){_0x49aa7b=_0x49aa7b-0x199;var _0x3a85ea=_0x3a351f[_0x49aa7b];return _0x3a85ea;},_0x49aa(_0x19d299,_0x399309);}import{ObservableMixin as _0x5c6099}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x5379ab}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x434ed1}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x5c6099(){[_0x14991a(0x1a5)];constructor(_0x5778a9){var _0xabeddd=_0x14991a;super(),this[_0xabeddd(0x1a5)]=this[_0xabeddd(0x19d)](_0x5778a9);}get[_0x14991a(0x1a1)](){var _0x237b2b=_0x14991a;return this[_0x237b2b(0x1a5)];}[_0x14991a(0x19c)](_0xcb18ae){var _0x18bdde=_0x14991a;return this[_0x18bdde(0x1a1)][_0x18bdde(0x1a0)](_0x213196=>_0x213196['id']===_0xcb18ae);}[_0x14991a(0x1a2)](_0x148c9d){var _0x263ea1=_0x14991a;this[_0x263ea1(0x1a5)]=this[_0x263ea1(0x1a5)][_0x263ea1(0x1a6)](_0x408346=>_0x408346['id']!==_0x148c9d);}[_0x14991a(0x19d)](_0x5c00c0){var _0x37130c=_0x14991a;return _0x5c00c0[_0x37130c(0x19a)](_0x296ed4=>_0x37130c(0x199)===_0x296ed4['id']?new _0x434ed1(_0x296ed4):new _0x5379ab(_0x296ed4));}}function _0x3a35(){var _0x433428=['_checks','filter','12178413ChLTbF','407973cxHHjF','33481iflVRJ','1373815WnxJKK','custom','map','904mVLAne','getCheckById','_mapCheckDefinitions','2188920ffFHnL','8FmiZSO','find','checks','removeCheckById','147506gnAyEo','95503xDMBKm'];_0x3a35=function(){return _0x433428;};return _0x3a35();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1d0d22=_0x1547;(function(_0x17ed17,_0x585acc){var _0x33377a=_0x1547,_0x28013e=_0x17ed17();while(!![]){try{var _0x370806=parseInt(_0x33377a(0x1cb))/0x1+parseInt(_0x33377a(0x1ca))/0x2+-parseInt(_0x33377a(0x1cc))/0x3*(parseInt(_0x33377a(0x1cd))/0x4)+parseInt(_0x33377a(0x1cf))/0x5+-parseInt(_0x33377a(0x1d3))/0x6+parseInt(_0x33377a(0x1d0))/0x7+-parseInt(_0x33377a(0x1ce))/0x8*(parseInt(_0x33377a(0x1d2))/0x9);if(_0x370806===_0x585acc)break;else _0x28013e['push'](_0x28013e['shift']());}catch(_0x122482){_0x28013e['push'](_0x28013e['shift']());}}}(_0x1109,0x4adf5));import{EmitterMixin as _0x167409}from'ckeditor5/src/utils.js';function _0x1109(){var _0xa030a=['33232aMDZYg','67557Tegjpp','60lBCmHr','57944USTNVp','1195650pdUVaY','1393742bgteVX','documentVersion','36pgpYhk','1652238pnPPIK','contentNew','contentInitial','954678ocqWPF'];_0x1109=function(){return _0xa030a;};return _0x1109();}function _0x1547(_0x3a9071,_0x3221a5){var _0x1109c5=_0x1109();return _0x1547=function(_0x154797,_0x4e6b21){_0x154797=_0x154797-0x1ca;var _0x5e990b=_0x1109c5[_0x154797];return _0x5e990b;},_0x1547(_0x3a9071,_0x3221a5);}export class AIReviewCheckResult extends _0x167409(){['id'];[_0x1d0d22(0x1d4)];[_0x1d0d22(0x1d5)];[_0x1d0d22(0x1d1)];constructor({id:_0xebd934,contentNew:_0x4fb82a,contentInitial:_0x574b58,documentVersion:_0x4826b1}){var _0x39dbd3=_0x1d0d22;super(),this['id']=_0xebd934,this[_0x39dbd3(0x1d4)]=_0x4fb82a,this[_0x39dbd3(0x1d5)]=_0x574b58,this[_0x39dbd3(0x1d1)]=_0x4826b1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2a99(_0x49af02,_0x1616f7){var _0x17eabc=_0x17ea();return _0x2a99=function(_0x2a996b,_0x1dd914){_0x2a996b=_0x2a996b-0x75;var _0x316a8a=_0x17eabc[_0x2a996b];return _0x316a8a;},_0x2a99(_0x49af02,_0x1616f7);}var _0x40e45a=_0x2a99;(function(_0x2e95aa,_0x2c268c){var _0x16a267=_0x2a99,_0x377d41=_0x2e95aa();while(!![]){try{var _0x40a456=parseInt(_0x16a267(0x75))/0x1*(parseInt(_0x16a267(0x8a))/0x2)+parseInt(_0x16a267(0x7a))/0x3+-parseInt(_0x16a267(0x87))/0x4+parseInt(_0x16a267(0x8c))/0x5*(parseInt(_0x16a267(0x83))/0x6)+parseInt(_0x16a267(0x7c))/0x7*(-parseInt(_0x16a267(0x88))/0x8)+parseInt(_0x16a267(0x7e))/0x9*(parseInt(_0x16a267(0x85))/0xa)+parseInt(_0x16a267(0x81))/0xb*(-parseInt(_0x16a267(0x8b))/0xc);if(_0x40a456===_0x2c268c)break;else _0x377d41['push'](_0x377d41['shift']());}catch(_0x3404f8){_0x377d41['push'](_0x377d41['shift']());}}}(_0x17ea,0xa5a74));function _0x17ea(){var _0x323932=['pending','isRated','set','operationsIsolated','4034718uOjXxJ','status','9947wRXrlr','context','301923XbUnIp','isActivated','_editorOperations','28281cNbprj','change:status','2665662lOAaag','_data','170tcglcF','operations','3136660dDptDP','3872RrBGKS','contentDiffed','2uMGKzL','5940yQCCaZ','10imapkg','parent','619331oYlXcH'];_0x17ea=function(){return _0x323932;};return _0x17ea();}import{ObservableMixin as _0x460b35}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x460b35(){['id'];[_0x40e45a(0x8d)];[_0x40e45a(0x84)];[_0x40e45a(0x80)]=[];constructor(_0x39927e,_0x1a0571,_0x289b8b){var _0x1388cd=_0x40e45a;super(),this['id']=_0x39927e,this[_0x1388cd(0x8d)]=_0x289b8b,this[_0x1388cd(0x84)]=_0x1a0571,this[_0x1388cd(0x78)](_0x1388cd(0x7f),!0x1),this[_0x1388cd(0x78)](_0x1388cd(0x77),!0x1),this[_0x1388cd(0x78)](_0x1388cd(0x7b),_0x1388cd(0x76)),this['on'](_0x1388cd(0x82),()=>{var _0x18bdb8=_0x1388cd;_0x18bdb8(0x76)!==this[_0x18bdb8(0x7b)]&&this[_0x18bdb8(0x7f)]&&(this[_0x18bdb8(0x7f)]=!0x1);});}get[_0x40e45a(0x89)](){var _0x9f501b=_0x40e45a;return this[_0x9f501b(0x84)][_0x9f501b(0x7d)]();}get[_0x40e45a(0x86)](){var _0x5c1bad=_0x40e45a;return this[_0x5c1bad(0x84)][_0x5c1bad(0x86)];}get[_0x40e45a(0x79)](){var _0x1b2f37=_0x40e45a;return this[_0x1b2f37(0x84)][_0x1b2f37(0x79)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3a79(){const _0x5146a5=['markChangeAsAccepted','some','parent','_checkIfFinished','push','forceReadyState','ai-request-aborted','reviewName','fire','isAnyChangeActivated','restart','size','operation','reviewCheckRunUpdated','reviewCheckResultActivated','error','set','_activeRequest','unmodified','error-general','markChangeAsOutdated','_documentData','initialized','_aiConnector','every','aborted','18Kkgpcg','rejected','715947PiSpKO','_createApiRequest','deactivateChange','addResultChanges','712180GiDeQK','status','filter','processedResultsCount','dataId','_results','subTitle','isRated','563dsfqUe','abort','markAllChangesAsAccepted','reviewCheckResultReady','getChangeById','pending','hasModifications','isActivated','documentData','updateDocumentData','length','isChangeActive','getActiveChanges','change:status','_reviewArgs','start','reviewCheckResultChangeStatusUpdated','activateChange','finished','_sendRatingRequest','9131050jCcoei','getContent','get','_changes','change:isActivated','event','currentError','find','accepted','forEach','abortController','callId','message','1618AHcGqR','1119430Vkktkr','review-metadata','_addReviewCheckResult','loading','sendRating','984968SYoSbv','reviewCheckResultAdded','_sourceCheck','includes','markChangeAsPending','_reviewParams','markChangeAsRejected','textDelta','data','2136vMZBEy','version','outdated','ready','getStream','_currentError','2730kxfgZG','clear','reviewCheckResultDeactivated','elements','title','error-chunk'];_0x3a79=function(){return _0x5146a5;};return _0x3a79();}const _0x6f73de=_0x54e6;(function(_0x2a2137,_0x4bad25){const _0x18ca23=_0x54e6,_0x16234d=_0x2a2137();while(!![]){try{const _0x1096fa=-parseInt(_0x18ca23(0x23d))/0x1*(parseInt(_0x18ca23(0x1fa))/0x2)+-parseInt(_0x18ca23(0x231))/0x3+parseInt(_0x18ca23(0x235))/0x4+-parseInt(_0x18ca23(0x1fb))/0x5+parseInt(_0x18ca23(0x209))/0x6*(-parseInt(_0x18ca23(0x20f))/0x7)+parseInt(_0x18ca23(0x200))/0x8*(parseInt(_0x18ca23(0x22f))/0x9)+parseInt(_0x18ca23(0x251))/0xa;if(_0x1096fa===_0x4bad25)break;else _0x16234d['push'](_0x16234d['shift']());}catch(_0x2ed1d8){_0x16234d['push'](_0x16234d['shift']());}}}(_0x3a79,0x447e6));import{ObservableMixin as _0x4b2657,uid as _0x576f11}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2368ae}from'./aireviewcheckresult.js';function _0x54e6(_0x1a3b3e,_0x1f47b2){const _0x3a795e=_0x3a79();return _0x54e6=function(_0x54e6eb,_0x59fe3b){_0x54e6eb=_0x54e6eb-0x1f4;let _0x134f9c=_0x3a795e[_0x54e6eb];return _0x134f9c;},_0x54e6(_0x1a3b3e,_0x1f47b2);}import{AIReviewCheckResultChange as _0x4284e2}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x4b2657(){['id']=_0x576f11();[_0x6f73de(0x1f8)];[_0x6f73de(0x23a)]=new Map();[_0x6f73de(0x254)]=[];[_0x6f73de(0x202)];[_0x6f73de(0x22a)];[_0x6f73de(0x22c)];[_0x6f73de(0x205)];[_0x6f73de(0x24b)];[_0x6f73de(0x226)]=null;[_0x6f73de(0x20e)];constructor(_0x45c319,_0x4350e7,_0x6e5fb7,_0x18fd6b,_0x97854a){const _0x523b8c=_0x6f73de;super(),this[_0x523b8c(0x202)]=_0x4350e7,this[_0x523b8c(0x22a)]=_0x45c319,this[_0x523b8c(0x22c)]=_0x6e5fb7,this[_0x523b8c(0x205)]=_0x18fd6b,this[_0x523b8c(0x24b)]=_0x97854a,this['on'](_0x523b8c(0x24a),(_0x459ad7,_0xf1f29e,_0x2605b0)=>{const _0x2df255=_0x523b8c;this[_0x2df255(0x21d)](_0x2df255(0x222),{'status':_0x2605b0,'run':this,'error':this[_0x2df255(0x20e)]});}),this[_0x523b8c(0x225)](_0x523b8c(0x236),_0x523b8c(0x22b));}get[_0x6f73de(0x245)](){const _0x47f77c=_0x6f73de;return this[_0x47f77c(0x22a)];}get[_0x6f73de(0x238)](){const _0x2c409f=_0x6f73de;return this[_0x2c409f(0x23a)][_0x2c409f(0x220)];}get[_0x6f73de(0x213)](){const _0x565b32=_0x6f73de;return this[_0x565b32(0x202)][_0x565b32(0x213)];}get[_0x6f73de(0x23b)](){return'';}get[_0x6f73de(0x21c)](){const _0x4a96f6=_0x6f73de;return this[_0x4a96f6(0x202)]['id'];}get[_0x6f73de(0x243)](){const _0x509d5c=_0x6f73de;return!this[_0x509d5c(0x254)][_0x509d5c(0x22d)](_0x8399b5=>_0x509d5c(0x242)===_0x8399b5[_0x509d5c(0x236)]);}get[_0x6f73de(0x257)](){const _0x548edf=_0x6f73de;return this[_0x548edf(0x20e)];}[_0x6f73de(0x246)](_0x515509){const _0x3c14fb=_0x6f73de;this[_0x3c14fb(0x22a)]=_0x515509;}async[_0x6f73de(0x24c)](){const _0x31e5e2=_0x6f73de;this[_0x31e5e2(0x236)]=_0x31e5e2(0x1fe),this[_0x31e5e2(0x20e)]=void 0x0;try{this[_0x31e5e2(0x226)]=this[_0x31e5e2(0x232)]();const _0x3f4639=await this[_0x31e5e2(0x226)][_0x31e5e2(0x20d)]();this[_0x31e5e2(0x236)]=_0x31e5e2(0x208);for await(const _0x3b3757 of _0x3f4639)_0x31e5e2(0x227)!==_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x221)]&&(_0x31e5e2(0x224)!==_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x221)]?_0x31e5e2(0x1fc)!==_0x3b3757[_0x31e5e2(0x256)]?this[_0x31e5e2(0x1fd)](_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x239)],_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x207)]):this[_0x31e5e2(0x1f8)]=_0x3b3757[_0x31e5e2(0x208)][_0x31e5e2(0x1f8)]:this[_0x31e5e2(0x236)]=_0x31e5e2(0x214));_0x31e5e2(0x214)!==this[_0x31e5e2(0x236)]&&(0x0===this[_0x31e5e2(0x23a)][_0x31e5e2(0x220)]||0x0===this[_0x31e5e2(0x254)][_0x31e5e2(0x247)]?this[_0x31e5e2(0x236)]=_0x31e5e2(0x227):this[_0x31e5e2(0x236)]=_0x31e5e2(0x20c));}catch(_0x4111ce){this[_0x31e5e2(0x20e)]=_0x4111ce,_0x4111ce instanceof Error&&_0x4111ce[_0x31e5e2(0x1f9)][_0x31e5e2(0x203)](_0x31e5e2(0x21b))?this[_0x31e5e2(0x236)]=_0x31e5e2(0x22e):this[_0x31e5e2(0x236)]=_0x31e5e2(0x228);}finally{this[_0x31e5e2(0x226)]=null;}}async[_0x6f73de(0x21f)](){const _0x4996d5=_0x6f73de;this[_0x4996d5(0x23a)][_0x4996d5(0x210)](),this[_0x4996d5(0x254)][_0x4996d5(0x247)]=0x0,this[_0x4996d5(0x20e)]=void 0x0,await this[_0x4996d5(0x24c)]();}[_0x6f73de(0x234)](_0x19a15d,_0x7178ef){const _0x2be048=_0x6f73de,_0x62aba6=this[_0x2be048(0x23a)][_0x2be048(0x253)](_0x19a15d);if(!_0x62aba6)return;if(0x0===_0x7178ef[_0x2be048(0x247)])return;const _0x20b96d=[];_0x7178ef[_0x2be048(0x1f6)]((_0x361ca0,_0x5ebae8)=>{const _0x307ebd=_0x2be048,_0x13ee3d=new _0x4284e2(_0x62aba6['id']+'-'+_0x5ebae8,_0x361ca0,_0x62aba6);_0x13ee3d['on'](_0x307ebd(0x24a),()=>{const _0x588d18=_0x307ebd;this[_0x588d18(0x21d)](_0x588d18(0x24d),{'change':_0x13ee3d,'status':_0x13ee3d[_0x588d18(0x236)]});}),_0x13ee3d['on'](_0x307ebd(0x255),()=>{const _0x161d68=_0x307ebd;_0x13ee3d[_0x161d68(0x244)]?this[_0x161d68(0x21d)](_0x161d68(0x223),{'change':_0x13ee3d}):this[_0x161d68(0x21d)](_0x161d68(0x211),{'change':_0x13ee3d});}),this[_0x307ebd(0x254)][_0x307ebd(0x219)](_0x13ee3d),_0x20b96d[_0x307ebd(0x219)](_0x13ee3d);}),this[_0x2be048(0x21d)](_0x2be048(0x240),{'changes':_0x20b96d,'result':_0x62aba6,'source':this});}[_0x6f73de(0x23e)](){const _0x58a9e8=_0x6f73de;this[_0x58a9e8(0x226)]&&(this[_0x58a9e8(0x226)][_0x58a9e8(0x1f7)][_0x58a9e8(0x23e)](),this[_0x58a9e8(0x226)]=null,this[_0x58a9e8(0x236)]=_0x58a9e8(0x22e));}[_0x6f73de(0x248)](_0x446909){const _0x128db7=_0x6f73de,_0x2107a0=this[_0x128db7(0x254)][_0x128db7(0x1f4)](_0x135dfb=>_0x135dfb['id']===_0x446909);return!(!_0x2107a0||_0x128db7(0x242)!==_0x2107a0[_0x128db7(0x236)]);}[_0x6f73de(0x21e)](){const _0x53424a=_0x6f73de;return this[_0x53424a(0x254)][_0x53424a(0x216)](_0x470ba2=>!0x0===_0x470ba2[_0x53424a(0x244)]);}[_0x6f73de(0x249)](){const _0x498be0=_0x6f73de;return this[_0x498be0(0x254)][_0x498be0(0x237)](_0x5a217d=>_0x498be0(0x242)===_0x5a217d[_0x498be0(0x236)]);}[_0x6f73de(0x241)](_0x8701e4){const _0x56c2ff=_0x6f73de;return this[_0x56c2ff(0x254)][_0x56c2ff(0x1f4)](_0x18fd1f=>_0x18fd1f['id']===_0x8701e4);}[_0x6f73de(0x23f)](){const _0x5986b5=_0x6f73de;for(const _0x2e897d of this[_0x5986b5(0x254)])_0x5986b5(0x242)===_0x2e897d[_0x5986b5(0x236)]&&(_0x2e897d[_0x5986b5(0x236)]=_0x5986b5(0x1f5));this[_0x5986b5(0x218)]();}[_0x6f73de(0x215)](_0x338a05){const _0x4071f8=_0x6f73de,_0x56602c=this[_0x4071f8(0x254)][_0x4071f8(0x1f4)](_0x291b82=>_0x291b82['id']===_0x338a05);_0x56602c&&_0x4071f8(0x242)===_0x56602c[_0x4071f8(0x236)]&&(_0x56602c[_0x4071f8(0x236)]=_0x4071f8(0x1f5)),this[_0x4071f8(0x218)]();}[_0x6f73de(0x206)](_0x2bd838){const _0x52ba7a=_0x6f73de,_0x372f0f=this[_0x52ba7a(0x254)][_0x52ba7a(0x1f4)](_0x5a2b7e=>_0x5a2b7e['id']===_0x2bd838);_0x372f0f&&_0x52ba7a(0x242)===_0x372f0f[_0x52ba7a(0x236)]&&(_0x372f0f[_0x52ba7a(0x236)]=_0x52ba7a(0x230)),this[_0x52ba7a(0x218)]();}[_0x6f73de(0x229)](_0x501d43){const _0x383f28=_0x6f73de,_0x892509=this[_0x383f28(0x254)][_0x383f28(0x1f4)](_0x42e734=>_0x42e734['id']===_0x501d43);_0x892509&&_0x383f28(0x242)===_0x892509[_0x383f28(0x236)]&&(_0x892509[_0x383f28(0x236)]=_0x383f28(0x20b)),this[_0x383f28(0x218)]();}[_0x6f73de(0x204)](_0x54e002){const _0x5235b8=_0x6f73de,_0x2221c5=this[_0x5235b8(0x254)][_0x5235b8(0x1f4)](_0x574b42=>_0x574b42['id']===_0x54e002);_0x2221c5&&_0x5235b8(0x20b)===_0x2221c5[_0x5235b8(0x236)]&&(_0x2221c5[_0x5235b8(0x236)]=_0x5235b8(0x242)),this[_0x5235b8(0x218)]();}[_0x6f73de(0x24e)](_0x1b3e39){const _0x29d03f=_0x6f73de;this[_0x29d03f(0x254)][_0x29d03f(0x237)](_0x51345d=>_0x51345d[_0x29d03f(0x244)]&&_0x51345d['id']!==_0x1b3e39)[_0x29d03f(0x1f6)](_0xb8f8d0=>{const _0x168898=_0x29d03f;_0xb8f8d0[_0x168898(0x244)]=!0x1;});const _0x2d2202=this[_0x29d03f(0x254)][_0x29d03f(0x1f4)](_0x4d281e=>_0x4d281e['id']===_0x1b3e39);_0x2d2202&&_0x29d03f(0x242)===_0x2d2202[_0x29d03f(0x236)]&&(_0x2d2202[_0x29d03f(0x244)]=!0x0);}[_0x6f73de(0x233)](){const _0x4c1b52=_0x6f73de;this[_0x4c1b52(0x254)][_0x4c1b52(0x237)](_0x22c91f=>_0x22c91f[_0x4c1b52(0x244)])[_0x4c1b52(0x1f6)](_0x3f8989=>{const _0x231f0a=_0x4c1b52;_0x3f8989[_0x231f0a(0x244)]=!0x1;});}[_0x6f73de(0x21a)](){const _0x5d9ef8=_0x6f73de;this[_0x5d9ef8(0x236)]=_0x5d9ef8(0x20c);}async[_0x6f73de(0x1ff)](_0x463666){const _0x14584b=_0x6f73de;if(_0x14584b(0x22b)===this[_0x14584b(0x236)]||_0x14584b(0x1fe)===this[_0x14584b(0x236)]||_0x14584b(0x208)===this[_0x14584b(0x236)])return;if(!this[_0x14584b(0x1f8)]||0x0===this[_0x14584b(0x254)][_0x14584b(0x247)])return;let _0x2916b4;if(_0x463666){const _0x1bd736=this[_0x14584b(0x254)][_0x14584b(0x1f4)](_0x474e4c=>_0x474e4c['id']===_0x463666);if(_0x1bd736&&_0x1bd736[_0x14584b(0x23c)])return;_0x1bd736&&(_0x2916b4=_0x1bd736[_0x14584b(0x217)]['id'],_0x1bd736[_0x14584b(0x23c)]=!0x0);}const _0xf69d36={'positiveCount':this[_0x14584b(0x254)][_0x14584b(0x237)](_0x5cc9c6=>_0x14584b(0x1f5)===_0x5cc9c6[_0x14584b(0x236)])[_0x14584b(0x247)],'totalCount':this[_0x14584b(0x254)][_0x14584b(0x247)]};this[_0x14584b(0x250)](_0xf69d36,this[_0x14584b(0x1f8)],_0x2916b4);}[_0x6f73de(0x1fd)](_0x53450e,_0x50ba11){const _0x38457c=_0x6f73de,_0x44dc67=this[_0x38457c(0x22a)][_0x38457c(0x212)][_0x38457c(0x253)](_0x53450e);if(!_0x44dc67)return;const _0x365ab3=_0x44dc67[_0x38457c(0x252)]();if(_0x365ab3===_0x50ba11)return;const _0x2c5b38=new _0x2368ae({'id':_0x53450e,'contentInitial':_0x365ab3,'contentNew':_0x50ba11,'documentVersion':this[_0x38457c(0x22a)][_0x38457c(0x20a)]});this[_0x38457c(0x23a)][_0x38457c(0x225)](_0x2c5b38['id'],_0x2c5b38),this[_0x38457c(0x21d)](_0x38457c(0x201),{'result':_0x2c5b38,'source':this});}[_0x6f73de(0x218)](){const _0x4be1a7=_0x6f73de;_0x4be1a7(0x24f)===this[_0x4be1a7(0x236)]&&(this[_0x4be1a7(0x254)][_0x4be1a7(0x237)](_0x3f7610=>_0x4be1a7(0x242)===_0x3f7610[_0x4be1a7(0x236)])[_0x4be1a7(0x247)]>0x0&&(this[_0x4be1a7(0x236)]=_0x4be1a7(0x20c))),_0x4be1a7(0x20c)===this[_0x4be1a7(0x236)]&&(0x0===this[_0x4be1a7(0x254)][_0x4be1a7(0x237)](_0x3374a1=>_0x4be1a7(0x242)===_0x3374a1[_0x4be1a7(0x236)])[_0x4be1a7(0x247)]&&(this[_0x4be1a7(0x236)]=_0x4be1a7(0x24f)));}}
|
|
23
|
+
const _0x5c1277=_0x12b2;(function(_0x4fed9f,_0x123ccb){const _0xbc2d17=_0x12b2,_0xade54e=_0x4fed9f();while(!![]){try{const _0x6a7377=-parseInt(_0xbc2d17(0xe9))/0x1+parseInt(_0xbc2d17(0xeb))/0x2+parseInt(_0xbc2d17(0x96))/0x3*(-parseInt(_0xbc2d17(0xd3))/0x4)+-parseInt(_0xbc2d17(0xa3))/0x5+-parseInt(_0xbc2d17(0xc3))/0x6*(-parseInt(_0xbc2d17(0x97))/0x7)+parseInt(_0xbc2d17(0xbf))/0x8+parseInt(_0xbc2d17(0xae))/0x9;if(_0x6a7377===_0x123ccb)break;else _0xade54e['push'](_0xade54e['shift']());}catch(_0x23963e){_0xade54e['push'](_0xade54e['shift']());}}}(_0x5508,0xe82cd));import{ObservableMixin as _0x25a3f0,uid as _0x5f0412}from'ckeditor5/src/utils.js';function _0x5508(){const _0x5c740c=['reviewCheckResultActivated','143190qBXyDT','clear','review-metadata','length','push','abort','markChangeAsAccepted','find','some','_currentError','_reviewParams','18125298NKFOEX','isRated','data','set','abortController','_documentData','textDelta','reviewCheckResultDeactivated','isActivated','get','_results','aborted','rejected','addResultChanges','filter','initialized','_changes','1958832GvIkBb','getStream','includes','change:status','6BLoobO','accepted','callId','sendRating','unmodified','forceReadyState','error','deactivateChange','start','elements','documentData','finished','_createApiRequest','reviewCheckResultChangeStatusUpdated','getActiveChanges','_addReviewCheckResult','429268HNtZLD','reviewCheckRunUpdated','change:isActivated','processedResultsCount','loading','status','error-general','hasModifications','reviewCheckResultAdded','every','pending','_sendRatingRequest','ready','fire','title','activateChange','restart','getContent','reviewName','updateDocumentData','getChangeById','markChangeAsOutdated','1622930rRcilf','isAnyChangeActivated','958038RMfIam','message','operation','isChangeActive','_aiConnector','dataId','size','event','_reviewArgs','subTitle','ai-request-aborted','version','markAllChangesAsAccepted','_sourceCheck','30KANYog','6565524SqCFzq','forEach','markChangeAsRejected','outdated','markChangeAsPending','reviewCheckResultReady','parent','error-chunk','_activeRequest','currentError','_checkIfFinished'];_0x5508=function(){return _0x5c740c;};return _0x5508();}import{AIReviewCheckResult as _0x194f36}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3b4740}from'./aireviewcheckresultchange.js';function _0x12b2(_0x22941d,_0x4b3b09){const _0x5508fd=_0x5508();return _0x12b2=function(_0x12b2b1,_0x2cbc48){_0x12b2b1=_0x12b2b1-0x8b;let _0x548626=_0x5508fd[_0x12b2b1];return _0x548626;},_0x12b2(_0x22941d,_0x4b3b09);}export class AIReviewCheckRun extends _0x25a3f0(){['id']=_0x5f0412();[_0x5c1277(0xc5)];[_0x5c1277(0xb8)]=new Map();[_0x5c1277(0xbe)]=[];[_0x5c1277(0x95)];[_0x5c1277(0xb3)];[_0x5c1277(0x8c)];[_0x5c1277(0xad)];[_0x5c1277(0x90)];[_0x5c1277(0x9f)]=null;[_0x5c1277(0xac)];constructor(_0x437030,_0x39a62f,_0xa1bcc0,_0x5f5163,_0x528e1a){const _0x2a1f1b=_0x5c1277;super(),this[_0x2a1f1b(0x95)]=_0x39a62f,this[_0x2a1f1b(0xb3)]=_0x437030,this[_0x2a1f1b(0x8c)]=_0xa1bcc0,this[_0x2a1f1b(0xad)]=_0x5f5163,this[_0x2a1f1b(0x90)]=_0x528e1a,this['on'](_0x2a1f1b(0xc2),(_0x131457,_0x1147a0,_0x458e1b)=>{const _0x497131=_0x2a1f1b;this[_0x497131(0xe0)](_0x497131(0xd4),{'status':_0x458e1b,'run':this,'error':this[_0x497131(0xac)]});}),this[_0x2a1f1b(0xb1)](_0x2a1f1b(0xd8),_0x2a1f1b(0xbd));}get[_0x5c1277(0xcd)](){const _0x44c343=_0x5c1277;return this[_0x44c343(0xb3)];}get[_0x5c1277(0xd6)](){const _0x5cc601=_0x5c1277;return this[_0x5cc601(0xb8)][_0x5cc601(0x8e)];}get[_0x5c1277(0xe1)](){const _0xc562e3=_0x5c1277;return this[_0xc562e3(0x95)][_0xc562e3(0xe1)];}get[_0x5c1277(0x91)](){return'';}get[_0x5c1277(0xe5)](){const _0x44899e=_0x5c1277;return this[_0x44899e(0x95)]['id'];}get[_0x5c1277(0xda)](){const _0x4c8806=_0x5c1277;return!this[_0x4c8806(0xbe)][_0x4c8806(0xdc)](_0x369ce6=>_0x4c8806(0xdd)===_0x369ce6[_0x4c8806(0xd8)]);}get[_0x5c1277(0xa0)](){const _0x3aac6c=_0x5c1277;return this[_0x3aac6c(0xac)];}[_0x5c1277(0xe6)](_0x43d48b){const _0x32590d=_0x5c1277;this[_0x32590d(0xb3)]=_0x43d48b;}async[_0x5c1277(0xcb)](){const _0x293e97=_0x5c1277;this[_0x293e97(0xd8)]=_0x293e97(0xd7),this[_0x293e97(0xac)]=void 0x0;try{this[_0x293e97(0x9f)]=this[_0x293e97(0xcf)]();const _0x34ef41=await this[_0x293e97(0x9f)][_0x293e97(0xc0)]();this[_0x293e97(0xd8)]=_0x293e97(0xb0);for await(const _0x3cffb8 of _0x34ef41)_0x293e97(0xc7)!==_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0xed)]&&(_0x293e97(0xc9)!==_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0xed)]?_0x293e97(0xa5)!==_0x3cffb8[_0x293e97(0x8f)]?this[_0x293e97(0xd2)](_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0x8d)],_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0xb4)]):this[_0x293e97(0xc5)]=_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0xc5)]:this[_0x293e97(0xd8)]=_0x293e97(0x9e));_0x293e97(0x9e)!==this[_0x293e97(0xd8)]&&(0x0===this[_0x293e97(0xb8)][_0x293e97(0x8e)]||0x0===this[_0x293e97(0xbe)][_0x293e97(0xa6)]?this[_0x293e97(0xd8)]=_0x293e97(0xc7):this[_0x293e97(0xd8)]=_0x293e97(0xdf));}catch(_0x13faa5){this[_0x293e97(0xac)]=_0x13faa5,_0x13faa5 instanceof Error&&_0x13faa5[_0x293e97(0xec)][_0x293e97(0xc1)](_0x293e97(0x92))?this[_0x293e97(0xd8)]=_0x293e97(0xb9):this[_0x293e97(0xd8)]=_0x293e97(0xd9);}finally{this[_0x293e97(0x9f)]=null;}}async[_0x5c1277(0xe3)](){const _0x100392=_0x5c1277;this[_0x100392(0xb8)][_0x100392(0xa4)](),this[_0x100392(0xbe)][_0x100392(0xa6)]=0x0,this[_0x100392(0xac)]=void 0x0,await this[_0x100392(0xcb)]();}[_0x5c1277(0xbb)](_0x48e967,_0x5907f9){const _0x37d8f9=_0x5c1277,_0x12cc98=this[_0x37d8f9(0xb8)][_0x37d8f9(0xb7)](_0x48e967);if(!_0x12cc98)return;if(0x0===_0x5907f9[_0x37d8f9(0xa6)])return;const _0x1b5fc6=[];_0x5907f9[_0x37d8f9(0x98)]((_0x57337c,_0xa540fe)=>{const _0x326999=_0x37d8f9,_0x50aab7=new _0x3b4740(_0x12cc98['id']+'-'+_0xa540fe,_0x57337c,_0x12cc98);_0x50aab7['on'](_0x326999(0xc2),()=>{const _0x275f92=_0x326999;this[_0x275f92(0xe0)](_0x275f92(0xd0),{'change':_0x50aab7,'status':_0x50aab7[_0x275f92(0xd8)]});}),_0x50aab7['on'](_0x326999(0xd5),()=>{const _0xa3b541=_0x326999;_0x50aab7[_0xa3b541(0xb6)]?this[_0xa3b541(0xe0)](_0xa3b541(0xa2),{'change':_0x50aab7}):this[_0xa3b541(0xe0)](_0xa3b541(0xb5),{'change':_0x50aab7});}),this[_0x326999(0xbe)][_0x326999(0xa7)](_0x50aab7),_0x1b5fc6[_0x326999(0xa7)](_0x50aab7);}),this[_0x37d8f9(0xe0)](_0x37d8f9(0x9c),{'changes':_0x1b5fc6,'result':_0x12cc98,'source':this});}[_0x5c1277(0xa8)](){const _0x13c2cb=_0x5c1277;this[_0x13c2cb(0x9f)]&&(this[_0x13c2cb(0x9f)][_0x13c2cb(0xb2)][_0x13c2cb(0xa8)](),this[_0x13c2cb(0x9f)]=null,this[_0x13c2cb(0xd8)]=_0x13c2cb(0xb9));}[_0x5c1277(0x8b)](_0x703e4b){const _0x44be24=_0x5c1277,_0x129d25=this[_0x44be24(0xbe)][_0x44be24(0xaa)](_0x1c8ca2=>_0x1c8ca2['id']===_0x703e4b);return!(!_0x129d25||_0x44be24(0xdd)!==_0x129d25[_0x44be24(0xd8)]);}[_0x5c1277(0xea)](){const _0x3f03e4=_0x5c1277;return this[_0x3f03e4(0xbe)][_0x3f03e4(0xab)](_0x13eaef=>!0x0===_0x13eaef[_0x3f03e4(0xb6)]);}[_0x5c1277(0xd1)](){const _0x540728=_0x5c1277;return this[_0x540728(0xbe)][_0x540728(0xbc)](_0x147f0a=>_0x540728(0xdd)===_0x147f0a[_0x540728(0xd8)]);}[_0x5c1277(0xe7)](_0x91dc57){const _0x418e4d=_0x5c1277;return this[_0x418e4d(0xbe)][_0x418e4d(0xaa)](_0x465b01=>_0x465b01['id']===_0x91dc57);}[_0x5c1277(0x94)](){const _0x5753f4=_0x5c1277;for(const _0x2f9cab of this[_0x5753f4(0xbe)])_0x5753f4(0xdd)===_0x2f9cab[_0x5753f4(0xd8)]&&(_0x2f9cab[_0x5753f4(0xd8)]=_0x5753f4(0xc4));this[_0x5753f4(0xa1)]();}[_0x5c1277(0xa9)](_0x110dcf){const _0x54c914=_0x5c1277,_0x185d01=this[_0x54c914(0xbe)][_0x54c914(0xaa)](_0x326554=>_0x326554['id']===_0x110dcf);_0x185d01&&_0x54c914(0xdd)===_0x185d01[_0x54c914(0xd8)]&&(_0x185d01[_0x54c914(0xd8)]=_0x54c914(0xc4)),this[_0x54c914(0xa1)]();}[_0x5c1277(0x99)](_0x48fb6e){const _0x14a63f=_0x5c1277,_0x3d56b8=this[_0x14a63f(0xbe)][_0x14a63f(0xaa)](_0x1e1871=>_0x1e1871['id']===_0x48fb6e);_0x3d56b8&&_0x14a63f(0xdd)===_0x3d56b8[_0x14a63f(0xd8)]&&(_0x3d56b8[_0x14a63f(0xd8)]=_0x14a63f(0xba)),this[_0x14a63f(0xa1)]();}[_0x5c1277(0xe8)](_0x96b629){const _0x2f44b6=_0x5c1277,_0x294042=this[_0x2f44b6(0xbe)][_0x2f44b6(0xaa)](_0x336710=>_0x336710['id']===_0x96b629);_0x294042&&_0x2f44b6(0xdd)===_0x294042[_0x2f44b6(0xd8)]&&(_0x294042[_0x2f44b6(0xd8)]=_0x2f44b6(0x9a)),this[_0x2f44b6(0xa1)]();}[_0x5c1277(0x9b)](_0x1c2e29){const _0x2b95be=_0x5c1277,_0xd24741=this[_0x2b95be(0xbe)][_0x2b95be(0xaa)](_0x1e7446=>_0x1e7446['id']===_0x1c2e29);_0xd24741&&_0x2b95be(0x9a)===_0xd24741[_0x2b95be(0xd8)]&&(_0xd24741[_0x2b95be(0xd8)]=_0x2b95be(0xdd)),this[_0x2b95be(0xa1)]();}[_0x5c1277(0xe2)](_0x595196){const _0x10459f=_0x5c1277;this[_0x10459f(0xbe)][_0x10459f(0xbc)](_0x579379=>_0x579379[_0x10459f(0xb6)]&&_0x579379['id']!==_0x595196)[_0x10459f(0x98)](_0x500e20=>{const _0x4426a4=_0x10459f;_0x500e20[_0x4426a4(0xb6)]=!0x1;});const _0x549e4a=this[_0x10459f(0xbe)][_0x10459f(0xaa)](_0x3a2294=>_0x3a2294['id']===_0x595196);_0x549e4a&&_0x10459f(0xdd)===_0x549e4a[_0x10459f(0xd8)]&&(_0x549e4a[_0x10459f(0xb6)]=!0x0);}[_0x5c1277(0xca)](){const _0x9f0d76=_0x5c1277;this[_0x9f0d76(0xbe)][_0x9f0d76(0xbc)](_0x4eaf2a=>_0x4eaf2a[_0x9f0d76(0xb6)])[_0x9f0d76(0x98)](_0x5da210=>{const _0x4f1fc5=_0x9f0d76;_0x5da210[_0x4f1fc5(0xb6)]=!0x1;});}[_0x5c1277(0xc8)](){const _0x818bd0=_0x5c1277;this[_0x818bd0(0xd8)]=_0x818bd0(0xdf);}async[_0x5c1277(0xc6)](_0x49d82d){const _0x57d411=_0x5c1277;if(_0x57d411(0xbd)===this[_0x57d411(0xd8)]||_0x57d411(0xd7)===this[_0x57d411(0xd8)]||_0x57d411(0xb0)===this[_0x57d411(0xd8)])return;if(!this[_0x57d411(0xc5)]||0x0===this[_0x57d411(0xbe)][_0x57d411(0xa6)])return;let _0x3ec1bf;if(_0x49d82d){const _0x2cc83d=this[_0x57d411(0xbe)][_0x57d411(0xaa)](_0x48441d=>_0x48441d['id']===_0x49d82d);if(_0x2cc83d&&_0x2cc83d[_0x57d411(0xaf)])return;_0x2cc83d&&(_0x3ec1bf=_0x2cc83d[_0x57d411(0x9d)]['id'],_0x2cc83d[_0x57d411(0xaf)]=!0x0);}const _0xf8cb73={'positiveCount':this[_0x57d411(0xbe)][_0x57d411(0xbc)](_0xb9b05=>_0x57d411(0xc4)===_0xb9b05[_0x57d411(0xd8)])[_0x57d411(0xa6)],'totalCount':this[_0x57d411(0xbe)][_0x57d411(0xa6)]};this[_0x57d411(0xde)](_0xf8cb73,this[_0x57d411(0xc5)],_0x3ec1bf);}[_0x5c1277(0xd2)](_0x413e63,_0x5db544){const _0x5a5596=_0x5c1277,_0x496719=this[_0x5a5596(0xb3)][_0x5a5596(0xcc)][_0x5a5596(0xb7)](_0x413e63);if(!_0x496719)return;const _0x57b6e6=_0x496719[_0x5a5596(0xe4)]();if(_0x57b6e6===_0x5db544)return;const _0x18c900=new _0x194f36({'id':_0x413e63,'contentInitial':_0x57b6e6,'contentNew':_0x5db544,'documentVersion':this[_0x5a5596(0xb3)][_0x5a5596(0x93)]});this[_0x5a5596(0xb8)][_0x5a5596(0xb1)](_0x18c900['id'],_0x18c900),this[_0x5a5596(0xe0)](_0x5a5596(0xdb),{'result':_0x18c900,'source':this});}[_0x5c1277(0xa1)](){const _0x26d61d=_0x5c1277;_0x26d61d(0xce)===this[_0x26d61d(0xd8)]&&(this[_0x26d61d(0xbe)][_0x26d61d(0xbc)](_0x38ba78=>_0x26d61d(0xdd)===_0x38ba78[_0x26d61d(0xd8)])[_0x26d61d(0xa6)]>0x0&&(this[_0x26d61d(0xd8)]=_0x26d61d(0xdf))),_0x26d61d(0xdf)===this[_0x26d61d(0xd8)]&&(0x0===this[_0x26d61d(0xbe)][_0x26d61d(0xbc)](_0xb3b6e4=>_0x26d61d(0xdd)===_0xb3b6e4[_0x26d61d(0xd8)])[_0x26d61d(0xa6)]&&(this[_0x26d61d(0xd8)]=_0x26d61d(0xce)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x40c0b3=_0x11f5;(function(_0x44ee81,_0x456b9f){var _0x547643=_0x11f5,_0x766e6f=_0x44ee81();while(!![]){try{var _0x19e3cb=-parseInt(_0x547643(0xd0))/0x1*(parseInt(_0x547643(0xd9))/0x2)+-parseInt(_0x547643(0xd5))/0x3*(-parseInt(_0x547643(0xcb))/0x4)+parseInt(_0x547643(0xd4))/0x5+parseInt(_0x547643(0xd3))/0x6*(parseInt(_0x547643(0xc7))/0x7)+-parseInt(_0x547643(0xca))/0x8+-parseInt(_0x547643(0xd2))/0x9*(-parseInt(_0x547643(0xd8))/0xa)+-parseInt(_0x547643(0xd6))/0xb;if(_0x19e3cb===_0x456b9f)break;else _0x766e6f['push'](_0x766e6f['shift']());}catch(_0x25b079){_0x766e6f['push'](_0x766e6f['shift']());}}}(_0x2ad5,0x7da12));import{AIReviewCheckRun as _0xd0b85d}from'./aireviewcheckrun.js';function _0x2ad5(){var _0x4cf67d=['content','subTitle','_createApiRequest','_aiConnector','142ZCLVry','upsertCustomAIReviewRating','1944UDLaXv','6mrmHCM','2882200BcotPe','1739859XctGtG','703560TTGRGp','callCustomReview','14230NPkJcf','9032LiHiwJ','_documentData','_sendRatingRequest','4970434AHJKrU','_prompt','_model','7632104ETMyTT','4mMefbx'];_0x2ad5=function(){return _0x4cf67d;};return _0x2ad5();}function _0x11f5(_0x449776,_0x46d6a8){var _0x2ad596=_0x2ad5();return _0x11f5=function(_0x11f5be,_0x41d390){_0x11f5be=_0x11f5be-0xc6;var _0x3a31e1=_0x2ad596[_0x11f5be];return _0x3a31e1;},_0x11f5(_0x449776,_0x46d6a8);}export class AIReviewCustomCheckRun extends _0xd0b85d{[_0x40c0b3(0xc8)];[_0x40c0b3(0xc9)];constructor(_0x418388,_0x515190,_0x5e1737,_0x4cac12,_0x12f054){var _0x13b003=_0x40c0b3;super(_0x5e1737,_0x4cac12,_0x12f054),this[_0x13b003(0xc8)]=_0x418388,this[_0x13b003(0xc9)]=_0x515190;}get[_0x40c0b3(0xcd)](){var _0x567768=_0x40c0b3;return this[_0x567768(0xc8)];}[_0x40c0b3(0xce)](){var _0xac86da=_0x40c0b3;return this[_0xac86da(0xcf)][_0xac86da(0xd7)]({'content':this[_0xac86da(0xda)][_0xac86da(0xcc)],'prompt':this[_0xac86da(0xc8)],'model':this[_0xac86da(0xc9)]});}[_0x40c0b3(0xc6)](_0x2d572a,_0x594327,_0x110942){var _0x20775d=_0x40c0b3;return this[_0x20775d(0xcf)][_0x20775d(0xd1)](_0x594327,_0x2d572a,_0x110942);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e6ddc=_0x536f;(function(_0x4f82a4,_0x43e64d){const _0xdabcd9=_0x536f,_0x5adfa6=_0x4f82a4();while(!![]){try{const _0x33b54e=-parseInt(_0xdabcd9(0xd9))/0x1*(parseInt(_0xdabcd9(0xc4))/0x2)+parseInt(_0xdabcd9(0xbf))/0x3+parseInt(_0xdabcd9(0xd7))/0x4+parseInt(_0xdabcd9(0xd4))/0x5+-parseInt(_0xdabcd9(0xd6))/0x6+-parseInt(_0xdabcd9(0xcf))/0x7+-parseInt(_0xdabcd9(0xc0))/0x8*(-parseInt(_0xdabcd9(0xd8))/0x9);if(_0x33b54e===_0x43e64d)break;else _0x5adfa6['push'](_0x5adfa6['shift']());}catch(_0x365f8d){_0x5adfa6['push'](_0x5adfa6['shift']());}}}(_0x1dcd,0x8d166));function _0x1dcd(){const _0xc2896a=['callSystemReview','634415CzbSkI','_aiConnector','979458bNmfeF','1676020FLKEtr','7798464VvOeSS','419AoIeiE','length','useArgs','find','1752291BIsUYT','8ZKVXXe','upsertAIReviewRating','_sourceCheck','_createApiRequest','4714AvPMEb','data','join','push','_reviewArgs','_reviewParams','_sendRatingRequest','_documentData','options','label','reviewName','1874327LCLlQc','subTitle','_composeReviewName','content'];_0x1dcd=function(){return _0xc2896a;};return _0x1dcd();}function _0x536f(_0x437b47,_0x3f55db){const _0x1dcd33=_0x1dcd();return _0x536f=function(_0x536ff4,_0x39deaa){_0x536ff4=_0x536ff4-0xbe;let _0x4a6b16=_0x1dcd33[_0x536ff4];return _0x4a6b16;},_0x536f(_0x437b47,_0x3f55db);}import{AIReviewCheckRun as _0x430b7a}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x430b7a{get[_0x3e6ddc(0xd0)](){const _0x3d0990=_0x3e6ddc;if(!this[_0x3d0990(0xc9)]||0x0===this[_0x3d0990(0xc9)][_0x3d0990(0xda)])return'';const _0x532fdf=[];if(this[_0x3d0990(0xc9)][_0x3d0990(0xda)]>0x0&&this[_0x3d0990(0xc2)][_0x3d0990(0xcc)])for(let _0x59fcac=0x0;_0x59fcac<this[_0x3d0990(0xc9)][_0x3d0990(0xda)];_0x59fcac++){if(!this[_0x3d0990(0xc9)][_0x59fcac]||!this[_0x3d0990(0xc2)][_0x3d0990(0xcc)][_0x59fcac])continue;const _0x507d6e=this[_0x3d0990(0xc2)][_0x3d0990(0xcc)][_0x59fcac],_0x50f40c=_0x507d6e[_0x3d0990(0xc5)]?.[_0x3d0990(0xbe)](_0x110555=>_0x110555['id']===this[_0x3d0990(0xc9)][_0x59fcac]);_0x50f40c&&_0x532fdf[_0x3d0990(0xc7)](_0x50f40c[_0x3d0990(0xcd)]);}return _0x532fdf[_0x3d0990(0xc6)](',\x20');}get[_0x3e6ddc(0xce)](){const _0x3412e8=_0x3e6ddc;return this[_0x3412e8(0xd1)]();}[_0x3e6ddc(0xc3)](){const _0x5ab14c=_0x3e6ddc;return this[_0x5ab14c(0xd5)][_0x5ab14c(0xd3)]({'reviewName':this[_0x5ab14c(0xd1)](),'content':this[_0x5ab14c(0xcb)][_0x5ab14c(0xd2)],'args':this[_0x5ab14c(0xc8)]});}[_0x3e6ddc(0xca)](_0x34267c,_0x148124,_0x45ae76){const _0x4a2c04=_0x3e6ddc;return this[_0x4a2c04(0xd5)][_0x4a2c04(0xc1)](this[_0x4a2c04(0xce)],_0x148124,_0x34267c,_0x45ae76);}[_0x3e6ddc(0xd1)](){const _0x2abcb0=_0x3e6ddc;return!this[_0x2abcb0(0xc9)]||0x0===this[_0x2abcb0(0xc9)][_0x2abcb0(0xda)]||this[_0x2abcb0(0xc2)][_0x2abcb0(0xdb)]?this[_0x2abcb0(0xc2)]['id']:[this[_0x2abcb0(0xc2)]['id'],...this[_0x2abcb0(0xc9)]][_0x2abcb0(0xc6)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2db9f4=_0x17a5;(function(_0xb350ec,_0x8473c6){var _0x20249c=_0x17a5,_0x57b994=_0xb350ec();while(!![]){try{var _0x538d32=parseInt(_0x20249c(0x106))/0x1*(parseInt(_0x20249c(0x103))/0x2)+parseInt(_0x20249c(0xfc))/0x3+-parseInt(_0x20249c(0x109))/0x4*(parseInt(_0x20249c(0xfd))/0x5)+parseInt(_0x20249c(0xfb))/0x6+-parseInt(_0x20249c(0x105))/0x7+-parseInt(_0x20249c(0x108))/0x8+parseInt(_0x20249c(0xfe))/0x9*(parseInt(_0x20249c(0x10e))/0xa);if(_0x538d32===_0x8473c6)break;else _0x57b994['push'](_0x57b994['shift']());}catch(_0x4c8f43){_0x57b994['push'](_0x57b994['shift']());}}}(_0x19d0,0xba2ea));import{TextareaView as _0x5d4e45}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1c56f5}from'ckeditor5/src/utils.js';function _0x19d0(){var _0x833cd3=['10688352Eixgpb','1232WgPNeS','trim','isEmpty','update','keystrokes','610060Thsqaw','set','element','minRows','ai-review-mode-prompt-input','extendTemplate','maxRows','5547450cgbamR','1006605LUFIgz','10895kMRofY','180pwXevj','render','MAX_ROWS','listenTo','ck-review-mode__prompt-input','4vaBcXi','value','7241178egtYED','662001dUfYCy','MIN_ROWS'];_0x19d0=function(){return _0x833cd3;};return _0x19d0();}function _0x17a5(_0x4aa10d,_0x24a532){var _0x19d05c=_0x19d0();return _0x17a5=function(_0x17a50f,_0x3346c9){_0x17a50f=_0x17a50f-0xf5;var _0x593d82=_0x19d05c[_0x17a50f];return _0x593d82;},_0x17a5(_0x4aa10d,_0x24a532);}export class AIReviewModePromptInputView extends _0x5d4e45{[_0x2db9f4(0x10d)];static [_0x2db9f4(0x107)]=0x1;static [_0x2db9f4(0x100)]=0xc;constructor(_0x3e9f23){var _0x20099e=_0x2db9f4;super(_0x3e9f23),this[_0x20099e(0xf5)](_0x20099e(0x10b),!0x0),this[_0x20099e(0x10d)]=new _0x1c56f5(),this[_0x20099e(0xf7)]=AIReviewModePromptInputView[_0x20099e(0x107)],this[_0x20099e(0xfa)]=AIReviewModePromptInputView[_0x20099e(0x100)],this[_0x20099e(0xf9)]({'attributes':{'id':_0x20099e(0xf8),'class':['ck',_0x20099e(0x102)]}});}[_0x2db9f4(0xff)](){var _0x431bc5=_0x2db9f4;super[_0x431bc5(0xff)](),this['on'](_0x431bc5(0x10c),()=>{var _0x4a9813=_0x431bc5;this[_0x4a9813(0x10b)]=''===this[_0x4a9813(0xf6)][_0x4a9813(0x104)]?.[_0x4a9813(0x10a)]();}),this[_0x431bc5(0x10d)][_0x431bc5(0x101)](this[_0x431bc5(0xf6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x523d(_0x23ffa4,_0x53f69e){const _0x26fd6b=_0x26fd();return _0x523d=function(_0x523de1,_0x4ee91e){_0x523de1=_0x523de1-0x138;let _0x289f5a=_0x26fd6b[_0x523de1];return _0x289f5a;},_0x523d(_0x23ffa4,_0x53f69e);}const _0x4c9708=_0x523d;(function(_0x3d2edc,_0x1b5932){const _0x1140d6=_0x523d,_0x55e1c1=_0x3d2edc();while(!![]){try{const _0x122c75=-parseInt(_0x1140d6(0x16a))/0x1*(-parseInt(_0x1140d6(0x146))/0x2)+-parseInt(_0x1140d6(0x145))/0x3*(parseInt(_0x1140d6(0x18b))/0x4)+parseInt(_0x1140d6(0x152))/0x5+parseInt(_0x1140d6(0x160))/0x6+-parseInt(_0x1140d6(0x18e))/0x7*(-parseInt(_0x1140d6(0x13e))/0x8)+parseInt(_0x1140d6(0x14a))/0x9*(-parseInt(_0x1140d6(0x142))/0xa)+-parseInt(_0x1140d6(0x171))/0xb*(parseInt(_0x1140d6(0x16c))/0xc);if(_0x122c75===_0x1b5932)break;else _0x55e1c1['push'](_0x55e1c1['shift']());}catch(_0x486658){_0x55e1c1['push'](_0x55e1c1['shift']());}}}(_0x26fd,0x5fc56));import{Rect as _0x5173d3,getConstrainedViewportRect as _0x34c7c9,global as _0x3b26ad}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x42669d,View as _0x3c9bcc,clickOutsideHandler as _0x971788}from'ckeditor5/src/ui.js';function _0x26fd(){const _0x424ae8=['_isPinnedRectVisible','top','classList','arrow_se','ck-ai-review-mode__suggestion-text','updateContent','resultResponseView','showDiff','fire','arrow_','showDiffInBalloon','_setupClickOutsideHandler','delegate','unpin','div','innerHTML','_pinnedTargetElement','_setActiveClassOnMarker','forEach','316FQHjZD','clientY','_createContentView','7HjJanO','reverse','_getBestRectPositionOnHover','push','span[data-marker-id*=\x22','element','_getPointedRectIndexFromEvent','ck-ai-review-mode__change_active','_removeActiveClassFromMarkers','4182488brzDjF','showBalloon','pin','isDiffActive','10BpDEGW','document','documentElement','17349xrWsYZ','134GsFZOx','resultItemView','click','getBoundingClientRect','1609371qLKBjR','right','changeId','width','hideDiffInBalloon','isVisible','getIntersection','render','1358000uDBhky','_pinnedRectIndex','locale','content','contentDiffed','ck-content','_pinnedTargetChangeId','extendTemplate','ck-reset','dismissChange','ck-ai-review-mode-balloon-panel-suggestion_diff-active','set','acceptChange','hideBalloon','415848tOTxcW','from','bindTemplate','hover','getClientRects','querySelectorAll','replace','hide','left','deactivateChange','8577rkOMQQ','bottom','4704MbQCWm','_getBestRectPositionOnClick','add','length','position','11517WkTBtd','remove','show','clientX','ck-ai-review-mode-balloon-panel-suggestion','setTemplate','.ck-ai-review-mode__change_active'];_0x26fd=function(){return _0x424ae8;};return _0x26fd();}import{AIReviewModeReviewCheckListItemResultsView as _0xb7e54}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x42669d{[_0x4c9708(0x147)];[_0x4c9708(0x153)]=void 0x0;[_0x4c9708(0x188)]=void 0x0;[_0x4c9708(0x158)]=void 0x0;constructor(_0x405347,_0x2c0543){const _0x4fbf0b=_0x4c9708;super(_0x405347),this[_0x4fbf0b(0x15d)]({'isVisible':!0x1,'position':_0x4fbf0b(0x17b),'class':null,'top':0x0,'left':0x0}),this[_0x4fbf0b(0x159)]({'tag':_0x4fbf0b(0x186),'attributes':{'class':[_0x4fbf0b(0x15a)],'tabindex':'-1'}}),this[_0x4fbf0b(0x15d)](_0x4fbf0b(0x141),!0x1),this[_0x4fbf0b(0x155)][_0x4fbf0b(0x16e)](this[_0x4fbf0b(0x18d)]()),_0x2c0543[_0x4fbf0b(0x16e)](this);}[_0x4c9708(0x151)](){const _0x4dab7b=_0x4c9708;super[_0x4dab7b(0x151)](),this[_0x4dab7b(0x183)]();}[_0x4c9708(0x17d)](_0x15a796){const _0x44741c=_0x4c9708;this[_0x44741c(0x147)][_0x44741c(0x14c)]=_0x15a796['id'],this[_0x44741c(0x147)][_0x44741c(0x17e)][_0x44741c(0x13a)][_0x44741c(0x187)]=_0x15a796[_0x44741c(0x156)];}[_0x4c9708(0x13f)](_0x40143f,_0x36ed2c,_0x43914c,_0x5283cb,_0x4c488d,_0x594668){const _0x4b4a39=_0x4c9708;this[_0x4b4a39(0x13d)](),this[_0x4b4a39(0x17d)](_0x40143f),this[_0x4b4a39(0x173)]();const _0x6ab895=Array[_0x4b4a39(0x161)](_0x36ed2c[_0x4b4a39(0x164)]())[_0x4b4a39(0x18f)](),_0x5c2e13=this[_0x4b4a39(0x13b)](_0x43914c,_0x6ab895);_0x4b4a39(0x148)===_0x5283cb?(this[_0x4b4a39(0x141)]=!0x0,this[_0x4b4a39(0x189)](_0x40143f['id']),this[_0x4b4a39(0x140)]({'target':()=>this[_0x4b4a39(0x16d)](_0x36ed2c,_0x5c2e13,_0x40143f['id'],_0x4c488d,_0x594668)})):_0x4b4a39(0x163)===_0x5283cb&&(this[_0x4b4a39(0x141)]=!0x1,this[_0x4b4a39(0x140)]({'target':()=>this[_0x4b4a39(0x190)](_0x36ed2c,_0x5c2e13,_0x40143f['id'])}));}[_0x4c9708(0x15f)](){const _0x50f215=_0x4c9708;this[_0x50f215(0x167)](),this[_0x50f215(0x185)](),this[_0x50f215(0x13d)](),this[_0x50f215(0x153)]=void 0x0,this[_0x50f215(0x188)]=void 0x0,this[_0x50f215(0x158)]=void 0x0;}[_0x4c9708(0x14e)](){const _0x2e4e3c=_0x4c9708;this[_0x2e4e3c(0x147)][_0x2e4e3c(0x17f)]=!0x1;}[_0x4c9708(0x182)](){const _0x357048=_0x4c9708;this[_0x357048(0x147)][_0x357048(0x17f)]=!0x0;}[_0x4c9708(0x169)](){const _0x72b7d8=_0x4c9708;this[_0x72b7d8(0x180)](_0x72b7d8(0x169));}[_0x4c9708(0x13d)](){const _0x53815c=_0x4c9708;_0x3b26ad[_0x53815c(0x143)][_0x53815c(0x165)](_0x53815c(0x177))[_0x53815c(0x18a)](_0x5a998f=>{const _0xdb242f=_0x53815c;_0x5a998f[_0xdb242f(0x17a)][_0xdb242f(0x172)](_0xdb242f(0x13c));});}[_0x4c9708(0x189)](_0x300221){const _0x1d4530=_0x4c9708;_0x3b26ad[_0x1d4530(0x143)][_0x1d4530(0x165)](_0x1d4530(0x139)+_0x300221+'\x22]')[_0x1d4530(0x18a)](_0x45475b=>{const _0x3b0640=_0x1d4530;_0x45475b[_0x3b0640(0x17a)][_0x3b0640(0x16e)](_0x3b0640(0x13c));});}[_0x4c9708(0x183)](){const _0x296581=_0x4c9708;_0x971788({'emitter':this,'activator':()=>this[_0x296581(0x14f)],'contextElements':()=>{const _0x356414=_0x296581,_0x949436=[this[_0x356414(0x13a)]];return this[_0x356414(0x188)]&&_0x949436[_0x356414(0x138)](this[_0x356414(0x188)]),_0x949436;},'callback':()=>{const _0x5070c4=_0x296581;this[_0x5070c4(0x167)](),this[_0x5070c4(0x185)](),this[_0x5070c4(0x13d)](),this[_0x5070c4(0x169)](),this[_0x5070c4(0x188)]=void 0x0,this[_0x5070c4(0x153)]=void 0x0,this[_0x5070c4(0x158)]=void 0x0;}});}[_0x4c9708(0x18d)](){const _0x4949b6=_0x4c9708,_0x3151c9=new _0x3c9bcc();return this[_0x4949b6(0x147)]=new _0xb7e54(this[_0x4949b6(0x154)],''),this[_0x4949b6(0x147)][_0x4949b6(0x17e)][_0x4949b6(0x159)]({'attributes':{'class':[_0x4949b6(0x157)]}}),this[_0x4949b6(0x147)][_0x4949b6(0x184)](_0x4949b6(0x15e),_0x4949b6(0x15b))['to'](this),_0x3151c9[_0x4949b6(0x176)]({'tag':_0x4949b6(0x186),'attributes':{'class':[_0x4949b6(0x15a),_0x4949b6(0x175),this[_0x4949b6(0x162)]['if'](_0x4949b6(0x141),_0x4949b6(0x15c))]},'children':[{'tag':'p','attributes':{'class':[_0x4949b6(0x17c)]},'children':[this[_0x4949b6(0x147)]]}]}),_0x3151c9;}[_0x4c9708(0x16d)](_0x59f216,_0x163516,_0x132a3f,_0xe59769,_0x1d7c00){const _0x56f1b1=_0x4c9708,_0x372c6e=this[_0x56f1b1(0x170)][_0x56f1b1(0x166)](_0x56f1b1(0x181),''),_0x7f476b=Array[_0x56f1b1(0x161)](_0x59f216[_0x56f1b1(0x164)]());let _0x29c78a,_0x520f55=_0x7f476b[_0x56f1b1(0x18f)]();return void 0x0!==_0x163516&&this[_0x56f1b1(0x178)](_0x520f55[_0x163516],_0xe59769,_0x1d7c00)?(_0x29c78a=_0x520f55[_0x163516],this[_0x56f1b1(0x153)]=_0x163516):this[_0x56f1b1(0x178)](_0x520f55[0x0],_0xe59769,_0x1d7c00)&&void 0x0===_0x163516?_0x29c78a=_0x520f55[0x0]:(_0x520f55='s'==_0x372c6e[0x0]?[..._0x7f476b][_0x56f1b1(0x18f)]():_0x7f476b,_0x520f55[_0x56f1b1(0x18a)](_0x5329c8=>{const _0xc70c4=_0x56f1b1;this[_0xc70c4(0x178)](_0x5329c8,_0xe59769,_0x1d7c00)&&(_0x29c78a=_0x5329c8);})),this[_0x56f1b1(0x158)]=_0x132a3f,this[_0x56f1b1(0x188)]=_0x59f216,_0x29c78a||_0x59f216[_0x56f1b1(0x149)]();}[_0x4c9708(0x190)](_0x48e318,_0x3c60b1,_0x56282d){const _0x3ce207=_0x4c9708,_0x1b39e1=Array[_0x3ce207(0x161)](_0x48e318[_0x3ce207(0x164)]())[_0x3ce207(0x18f)]();if(void 0x0===this[_0x3ce207(0x153)]&&void 0x0!==_0x3c60b1&&this[_0x3ce207(0x158)]!==_0x56282d)return this[_0x3ce207(0x153)]=_0x3c60b1,this[_0x3ce207(0x188)]=_0x48e318,this[_0x3ce207(0x158)]=_0x56282d,_0x1b39e1[_0x3c60b1];if(void 0x0!==this[_0x3ce207(0x153)]&&this[_0x3ce207(0x158)]===_0x56282d){if(_0x48e318!==this[_0x3ce207(0x188)])return Array[_0x3ce207(0x161)](this[_0x3ce207(0x188)][_0x3ce207(0x164)]())[_0x3ce207(0x18f)]()[this[_0x3ce207(0x153)]];return _0x1b39e1[this[_0x3ce207(0x153)]];}return void 0x0!==_0x3c60b1&&this[_0x3ce207(0x158)]!==_0x56282d?(this[_0x3ce207(0x153)]=_0x3c60b1,this[_0x3ce207(0x188)]=_0x48e318,this[_0x3ce207(0x158)]=_0x56282d,_0x1b39e1[_0x3c60b1]):_0x48e318[_0x3ce207(0x149)]();}[_0x4c9708(0x13b)](_0x1b1fad,_0x4b7330){const _0x3a8d2a=_0x4c9708;if(_0x1b1fad)for(let _0x317298=0x0;_0x317298<_0x4b7330[_0x3a8d2a(0x16f)];_0x317298++){const _0x35b928=_0x4b7330[_0x317298];if(_0x1b1fad[_0x3a8d2a(0x174)]>=_0x35b928[_0x3a8d2a(0x168)]-0x3&&_0x1b1fad[_0x3a8d2a(0x174)]<=_0x35b928[_0x3a8d2a(0x14b)]+0x3&&_0x1b1fad[_0x3a8d2a(0x18c)]>=_0x35b928[_0x3a8d2a(0x179)]-0x3&&_0x1b1fad[_0x3a8d2a(0x18c)]<=_0x35b928[_0x3a8d2a(0x16b)]+0x3)return _0x317298;}}[_0x4c9708(0x178)](_0x518dd8,_0x5eea3,_0x2760c6){const _0x4ad1f8=_0x4c9708,_0x573310=new _0x5173d3(_0x518dd8),_0x2161cb=_0x5eea3||document[_0x4ad1f8(0x144)],_0x26d917=_0x573310[_0x4ad1f8(0x150)](_0x34c7c9(_0x2760c6)),_0x36a7e5=new _0x5173d3(_0x2161cb)[_0x4ad1f8(0x150)](_0x573310);return!!(_0x26d917&&_0x36a7e5&&_0x573310[_0x4ad1f8(0x14d)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x101d(_0x2ef088,_0x45f430){const _0x1688be=_0x1688();return _0x101d=function(_0x101dde,_0x39962a){_0x101dde=_0x101dde-0xdb;let _0xdfe006=_0x1688be[_0x101dde];return _0xdfe006;},_0x101d(_0x2ef088,_0x45f430);}function _0x1688(){const _0xddc19c=['disabled','ck-ai-review-mode__check-run-result-action-buttons','resultResponseView','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-ai-button-secondary','pending','98790ocUGLt','rejected','setTemplate','_createDismissButtonView','isInfoToggleOn','fire','click','extendTemplate','isEnabled','execute','_createOutdatedButtonView','ck-hidden','637263YBYMyT','setItemAsActive','status','dismissButtonView','showDiff','_createAcceptButtonView','setItemAsInactive','acceptChange','activateChange','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','1314bhuFOG','ck-ai-review-mode__check-run-result-footer','change:status','acceptButtonView','menuitemcheckbox','div','outdated','stopPropagation','accepted','ck-ai-review-mode__check-run-result-dismiss-button','locale','1023844MZlKTh','AI_REVIEW_MODE_LEARN_MORE','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','562120fkFODv','3618237mZpcHG','ck-content','isOn','1322336ztufXk','ck-ai-review-mode__check-run-result-accept-button','AI_REVIEW_MODE_DISMISS_CHANGE','dismissChange','ck-ai-button-tertiary-filled','_createResultResponseView','ck-content-direct-excluded','outdatedButtonView','ck-ai-review-mode__check-run-result-status-button','bind','icon','ck-ai-review-mode__check-run-result-response','infoButtonView','AI_REVIEW_MODE_ACCEPT_CHANGE','isActive','changeId','label','ck-ai-review-mode__check-run-result_active','3025NNnPAP','set','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-review-mode__check-run-result','_createInfoButtonView','bindTemplate'];_0x1688=function(){return _0xddc19c;};return _0x1688();}const _0x358336=_0x101d;(function(_0x276ca2,_0x419dc9){const _0x5ceccb=_0x101d,_0x2b9c5a=_0x276ca2();while(!![]){try{const _0x8d4010=parseInt(_0x5ceccb(0x117))/0x1+-parseInt(_0x5ceccb(0xed))/0x2+parseInt(_0x5ceccb(0x10b))/0x3+-parseInt(_0x5ceccb(0xe6))/0x4+-parseInt(_0x5ceccb(0xff))/0x5*(-parseInt(_0x5ceccb(0xdb))/0x6)+parseInt(_0x5ceccb(0xea))/0x7+-parseInt(_0x5ceccb(0xe9))/0x8;if(_0x8d4010===_0x419dc9)break;else _0x2b9c5a['push'](_0x2b9c5a['shift']());}catch(_0x589035){_0x2b9c5a['push'](_0x2b9c5a['shift']());}}}(_0x1688,0x51199));import{View as _0x495832,ButtonView as _0x2c8b02}from'ckeditor5/src/ui.js';import{IconInfo as _0x2e94fa,IconCheck as _0x34e849,IconCancel as _0x187729,IconOutdated as _0x349a47}from'ckeditor5/src/icons.js';import{getTranslation as _0x15c18f}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x495832{[_0x358336(0x107)];[_0x358336(0xde)];[_0x358336(0x11a)];[_0x358336(0xf9)];[_0x358336(0xf4)];constructor(_0x1c0c82,_0x37c320){const _0x29013f=_0x358336;super(_0x1c0c82),this['id']=_0x37c320,this[_0x29013f(0x100)](_0x29013f(0x119),_0x29013f(0x10a)),this[_0x29013f(0x100)](_0x29013f(0xfc),_0x37c320),this[_0x29013f(0x107)]=this[_0x29013f(0xf2)](),this[_0x29013f(0xde)]=this[_0x29013f(0x11c)](),this[_0x29013f(0x11a)]=this[_0x29013f(0x10e)](),this[_0x29013f(0xf9)]=this[_0x29013f(0x103)](),this[_0x29013f(0xf4)]=this[_0x29013f(0x115)](),this[_0x29013f(0x100)](_0x29013f(0x10f),!0x1),this[_0x29013f(0x100)](_0x29013f(0xfb),!0x1),this[_0x29013f(0x100)](_0x29013f(0x11b),!0x0),this[_0x29013f(0x10d)]({'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0x102),this[_0x29013f(0x104)]['if'](_0x29013f(0xfb),_0x29013f(0xfe))]},'on':{'click':this[_0x29013f(0x104)]['to'](_0x29013f(0x111))},'children':[this[_0x29013f(0x107)],{'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0xdc)]},'children':[{'tag':_0x29013f(0xe0),'attributes':{'class':[_0x29013f(0x106)]},'children':[this[_0x29013f(0xde)],this[_0x29013f(0x11a)],this[_0x29013f(0xf4)]]},this[_0x29013f(0xf9)]]}]}),this['on'](_0x29013f(0x111),()=>{const _0x590464=_0x29013f;this[_0x590464(0x110)](_0x590464(0x11f),{'id':_0x37c320,'source':this});});}[_0x358336(0x118)](){const _0x39d979=_0x358336;this[_0x39d979(0xfb)]=!0x0;}[_0x358336(0x11d)](){const _0x4aaf42=_0x358336;this[_0x4aaf42(0xfb)]=!0x1;}[_0x358336(0xf2)](){const _0x5c0401=_0x358336,_0x55ccc6=new _0x495832(this[_0x5c0401(0xe5)]);return _0x55ccc6[_0x5c0401(0x10d)]({'tag':_0x5c0401(0xe0),'attributes':{'class':['ck',_0x5c0401(0xeb),_0x5c0401(0xf3),_0x5c0401(0xf8),this[_0x5c0401(0x104)]['if'](_0x5c0401(0x11b),_0x5c0401(0x116),_0x536a44=>!_0x536a44)]}}),_0x55ccc6;}[_0x358336(0x11c)](){const _0xfd765a=_0x358336,_0x78c21=new _0x2c8b02(this[_0xfd765a(0xe5)]);return _0x78c21[_0xfd765a(0x100)]({'label':_0x15c18f(this[_0xfd765a(0xe5)],_0xfd765a(0xfa)),'withText':!0x0}),_0x78c21[_0xfd765a(0x112)]({'on':{'click':this[_0xfd765a(0x104)]['to'](_0x2eb007=>{const _0x525935=_0xfd765a;this[_0x525935(0x110)](_0x525935(0x11e),{'id':this[_0x525935(0xfc)]}),_0x2eb007[_0x525935(0xe2)]();})},'attributes':{'class':[_0xfd765a(0x109),_0xfd765a(0xee),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0x116),_0x510a05=>_0xfd765a(0x10a)!==_0x510a05&&_0xfd765a(0xe3)!==_0x510a05),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0xee),_0x15bf7a=>_0xfd765a(0x10a)===_0x15bf7a),this[_0xfd765a(0x104)]['if'](_0xfd765a(0x119),_0xfd765a(0xf5),_0x24bd39=>_0xfd765a(0xe3)===_0x24bd39)]}}),this['on'](_0xfd765a(0xdd),(_0x45797d,_0x591dda,_0x3dfade)=>{const _0x5ea3f7=_0xfd765a;_0x78c21[_0x5ea3f7(0x113)]=!0x1,_0x5ea3f7(0xe3)===_0x3dfade&&(_0x78c21[_0x5ea3f7(0xfd)]=_0x15c18f(this[_0x5ea3f7(0xe5)],_0x5ea3f7(0x101)),_0x78c21[_0x5ea3f7(0xf7)]=_0x34e849);}),_0x78c21;}[_0x358336(0x10e)](){const _0xefaafd=_0x358336,_0x56b6fa=new _0x2c8b02(this[_0xefaafd(0xe5)]);return _0x56b6fa[_0xefaafd(0x100)]({'label':_0x15c18f(this[_0xefaafd(0xe5)],_0xefaafd(0xef)),'withText':!0x0}),_0x56b6fa[_0xefaafd(0x112)]({'on':{'click':this[_0xefaafd(0x104)]['to'](_0x444911=>{const _0x4bf57d=_0xefaafd;this[_0x4bf57d(0x110)](_0x4bf57d(0xf0),{'id':this[_0x4bf57d(0xfc)]}),_0x444911[_0x4bf57d(0xe2)]();})},'attributes':{'class':[_0xefaafd(0xf1),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0x116),_0xd2604a=>_0xefaafd(0x10a)!==_0xd2604a&&_0xefaafd(0x10c)!==_0xd2604a),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0xe4),_0x250f8b=>_0xefaafd(0x10a)===_0x250f8b),this[_0xefaafd(0x104)]['if'](_0xefaafd(0x119),_0xefaafd(0xf5),_0xd16f47=>_0xefaafd(0x10c)===_0xd16f47)]}}),this['on'](_0xefaafd(0xdd),(_0x5ea381,_0x524460,_0xfa5c96)=>{const _0x1edefd=_0xefaafd;_0x56b6fa[_0x1edefd(0x113)]=!0x1,_0x1edefd(0x10c)===_0xfa5c96&&(_0x56b6fa[_0x1edefd(0xfd)]=_0x15c18f(this[_0x1edefd(0xe5)],_0x1edefd(0x120)),_0x56b6fa[_0x1edefd(0xf7)]=_0x187729);}),_0x56b6fa;}[_0x358336(0x103)](){const _0x18a3a6=_0x358336,_0x3c5db5=new _0x2c8b02(this[_0x18a3a6(0xe5)]);return _0x3c5db5[_0x18a3a6(0x100)]({'label':_0x15c18f(this[_0x18a3a6(0xe5)],_0x18a3a6(0xe7)),'icon':_0x2e94fa,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x18a3a6(0xdf),'class':_0x18a3a6(0xe8)}),_0x3c5db5[_0x18a3a6(0xf6)](_0x18a3a6(0xec))['to'](this,_0x18a3a6(0x10f),_0x574721=>_0x574721),_0x3c5db5['on'](_0x18a3a6(0x114),()=>{const _0x8d008=_0x18a3a6;this[_0x8d008(0x10f)]=!this[_0x8d008(0x10f)];}),_0x3c5db5;}[_0x358336(0x115)](){const _0x5a0ed1=_0x358336,_0x518c98=new _0x2c8b02(this[_0x5a0ed1(0xe5)]);return _0x518c98[_0x5a0ed1(0x100)]({'label':_0x15c18f(this[_0x5a0ed1(0xe5)],_0x5a0ed1(0x108)),'icon':_0x349a47,'withText':!0x0,'isEnabled':!0x1}),_0x518c98[_0x5a0ed1(0x112)]({'attributes':{'class':[_0x5a0ed1(0x109),_0x5a0ed1(0xf5),this[_0x5a0ed1(0x104)]['if'](_0x5a0ed1(0x119),_0x5a0ed1(0x116),_0x2e0d5f=>_0x5a0ed1(0xe1)!==_0x2e0d5f)],'disabled':_0x5a0ed1(0x105)}}),_0x518c98;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x2b7528,KeystrokeHandler as _0x4f85a8,FocusTracker as _0x5ee350}from'ckeditor5/src/utils.js';import{View as _0x4329af,ViewCollection as _0x276897,ButtonView as _0x4fad47,FormRowView as _0x36ae3b,createDropdown as _0x31904a,addListToDropdown as _0x5caffb,UIModel as _0x3a7c6d,ButtonLabelView as _0x5dbcef,LabeledFieldView as _0x4dae46,FocusCycler as _0xc6ce24}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x39da27}from'./aireviemodepromptinputview.js';import{getTranslation as _0x429618}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0x4329af{['focusTracker']=new _0x5ee350();['keystrokes']=new _0x4f85a8();['focusCycler'];['_focusables']=new _0x276897();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x125b70,_0x5a24d7){super(_0x125b70),this['_check']=_0x5a24d7,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x5a24d7['models']&&_0x5a24d7['models']['length']>0x0?_0x5a24d7['models'][0x0]['id']:'',this['_defaultLabel']=_0x5a24d7['models']&&_0x5a24d7['models']['length']>0x0?_0x5a24d7['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4dae46(this['locale'],()=>new _0x39da27(_0x125b70)),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 _0x2b7528(),this['_setModelList'](),_0x5caffb(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x36ae3b(this['locale'],{'children':[this['promptInputView']]}),new _0x36ae3b(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x965c11,_0x2bdc59)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x2bdc59()):_0x2bdc59();}),this['focusCycler']=new _0xc6ce24({'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'](_0x188e6c=>{this['_focusables']['add'](_0x188e6c),this['focusTracker']['add'](_0x188e6c['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 _0x17f2ff of this['_getFormValidators']()){const _0x42ba5=_0x17f2ff();if(_0x42ba5)return this['promptInputView']['errorText']=_0x42ba5,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x429618(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0xd1b3a7=new _0x4fad47(this['locale']),t=this['locale']['t'];return _0xd1b3a7['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xd1b3a7['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0xd1b3a7;}['_createCancelButtonView'](){const _0x1d9a65=new _0x4fad47(this['locale']),t=this['locale']['t'];return _0x1d9a65['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x1d9a65['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x54f13b=>{_0x54f13b['stopPropagation']();})}}),_0x1d9a65['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1d9a65;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x440c48=this['_check']['models'];if(this['resetToDefault'](),_0x440c48?.['length'])for(const _0x159668 of _0x440c48){const _0x2048f4=new _0x3a7c6d({'label':_0x159668['name'],'withText':!0x0,'role':'menuitemradio','id':_0x159668['id'],'model':_0x159668});_0x2048f4['bind']('isOn')['to'](this,'modelId',_0x27ceef=>_0x27ceef===_0x159668['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x2048f4,'labelView':new Us(this['locale'],_0x159668)});}}['_createModelSelectionDropdown'](){const _0x555976=_0x31904a(this['locale']);return _0x555976['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x555976['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x555976,'execute',_0xe020db=>{this['modelId']=_0xe020db['source']['model']['id'],_0x555976['buttonView']['label']=_0xe020db['source']['label'];}),_0x555976;}['_createActionsFooterView'](){const _0x12a085=new _0x4329af(this['locale']);return _0x12a085['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x12a085;}}class Us extends _0x5dbcef{constructor(_0x20e0aa,_0x3a690f){super();const _0x42c4be=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x42c4be['to']('style'),'id':_0x42c4be['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x42c4be['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3a690f['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x351164,_0x2bc667){var _0xdc2c71=_0x19e7,_0x1f9283=_0x351164();while(!![]){try{var _0x16825d=parseInt(_0xdc2c71(0x1fa))/0x1+parseInt(_0xdc2c71(0x1ee))/0x2*(-parseInt(_0xdc2c71(0x1f7))/0x3)+-parseInt(_0xdc2c71(0x1f9))/0x4*(parseInt(_0xdc2c71(0x1f1))/0x5)+parseInt(_0xdc2c71(0x1ef))/0x6+-parseInt(_0xdc2c71(0x1e9))/0x7*(parseInt(_0xdc2c71(0x1ec))/0x8)+-parseInt(_0xdc2c71(0x1ea))/0x9*(-parseInt(_0xdc2c71(0x1f3))/0xa)+parseInt(_0xdc2c71(0x1f8))/0xb;if(_0x16825d===_0x2bc667)break;else _0x1f9283['push'](_0x1f9283['shift']());}catch(_0x4f6435){_0x1f9283['push'](_0x1f9283['shift']());}}}(_0x535b,0xb2d0a));import{ButtonView as _0x12f84c}from'ckeditor5/src/ui.js';function _0x19e7(_0x3abf63,_0x43353c){var _0x535bfb=_0x535b();return _0x19e7=function(_0x19e7a6,_0x272906){_0x19e7a6=_0x19e7a6-0x1e9;var _0x55de9e=_0x535bfb[_0x19e7a6];return _0x55de9e;},_0x19e7(_0x3abf63,_0x43353c);}import{getTranslation as _0xe86678}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x535b(){var _0x578f5d=['12489818mcdrwf','788xlWVCr','497623lVMgHz','14JvKPXx','99981gRpOSk','fire','4434832odrVAY','finishReview','186PvERbN','594408ifMiyX','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','1950aqIyLn','execute','780DcHQsF','ck-ai-button-primary','locale','set','21957tzyLwr'];_0x535b=function(){return _0x578f5d;};return _0x535b();}export class AIReviewModeFinishReviewButtonView extends _0x12f84c{constructor(_0xb9caeb){var _0xf99527=_0x19e7;super(_0xb9caeb),this[_0xf99527(0x1f6)]({'label':_0xe86678(this[_0xf99527(0x1f5)],_0xf99527(0x1f0)),'withText':!0x0,'class':_0xf99527(0x1f4)}),this['on'](_0xf99527(0x1f2),()=>{var _0x9f841d=_0xf99527;this[_0x9f841d(0x1eb)](_0x9f841d(0x1ed));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x38e0(){const _0x569c93=['ck\x20ck-ai-notification\x20ck-ai-notification_error','1038606ZhDUng','ck-ai-review-mode__general-error-container','10dFEprZ','bindTemplate','766708njYTuf','12399417GyYcdm','1821015xPiNHG','3069660KsTdvn','ck-hidden','2VFFXiz','1110648rdJFlE','errorMessage','isVisible','div','15193IToNFe','setTemplate','5TouXnx','set'];_0x38e0=function(){return _0x569c93;};return _0x38e0();}function _0x1724(_0x42dd59,_0x3d225f){const _0x38e06d=_0x38e0();return _0x1724=function(_0x172444,_0x232512){_0x172444=_0x172444-0x1bd;let _0x2109c8=_0x38e06d[_0x172444];return _0x2109c8;},_0x1724(_0x42dd59,_0x3d225f);}(function(_0x34519c,_0x4b0143){const _0x2a5543=_0x1724,_0x5e5401=_0x34519c();while(!![]){try{const _0x3a5e52=-parseInt(_0x2a5543(0x1c2))/0x1*(parseInt(_0x2a5543(0x1bd))/0x2)+-parseInt(_0x2a5543(0x1c7))/0x3+-parseInt(_0x2a5543(0x1cb))/0x4*(-parseInt(_0x2a5543(0x1c4))/0x5)+-parseInt(_0x2a5543(0x1ce))/0x6+-parseInt(_0x2a5543(0x1cd))/0x7+-parseInt(_0x2a5543(0x1be))/0x8+parseInt(_0x2a5543(0x1cc))/0x9*(parseInt(_0x2a5543(0x1c9))/0xa);if(_0x3a5e52===_0x4b0143)break;else _0x5e5401['push'](_0x5e5401['shift']());}catch(_0x5325b4){_0x5e5401['push'](_0x5e5401['shift']());}}}(_0x38e0,0x489c1));import{View as _0x3434f4}from'ckeditor5/src/ui.js';export class AIReviewModeGeneralErrorView extends _0x3434f4{constructor(_0x56ac02){const _0x38aaf8=_0x1724;super(_0x56ac02),this[_0x38aaf8(0x1c5)](_0x38aaf8(0x1c0),!0x1),this[_0x38aaf8(0x1c5)](_0x38aaf8(0x1bf),'');const _0x172b8e=this[_0x38aaf8(0x1ca)];this[_0x38aaf8(0x1c3)]({'tag':_0x38aaf8(0x1c1),'attributes':{'class':['ck',_0x38aaf8(0x1c8),_0x172b8e['if'](_0x38aaf8(0x1c0),_0x38aaf8(0x1cf),_0x2351f3=>!_0x2351f3)]},'children':[{'tag':'p','attributes':{'class':_0x38aaf8(0x1c6)},'children':[{'text':_0x172b8e['to'](_0x38aaf8(0x1bf))}]}]});}}
|