@ckeditor/ckeditor5-ai 47.0.0-alpha.4 → 47.0.0-alpha.6
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/ckeditor5-metadata.json +14 -0
- package/dist/index-editor.css +27 -3
- package/dist/index.css +28 -3
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -0
- package/package.json +15 -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.d.ts +4 -0
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.d.ts +2 -0
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
- 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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- 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/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
- package/src/aieditorintegration/aieditorintegration.js +23 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
- 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/utils/common-translations.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/aireviewmodels.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/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/aireviewmodeformamanager.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.d.ts +6 -0
- 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/augmentation.d.ts +6 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls.css +6 -0
- package/theme/aichat/aichat.css +2 -0
- package/theme/aichat/aisuggestioncontainer.css +8 -2
- package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
- package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x3dc5c1=_0x2b13;(function(_0x4043f6,_0x580868){var _0x4d4bda=_0x2b13,_0x3a6616=_0x4043f6();while(!![]){try{var _0x43d3fc=-parseInt(_0x4d4bda(0x155))/0x1*(-parseInt(_0x4d4bda(0x15f))/0x2)+-parseInt(_0x4d4bda(0x166))/0x3+parseInt(_0x4d4bda(0x163))/0x4+-parseInt(_0x4d4bda(0x157))/0x5+parseInt(_0x4d4bda(0x15b))/0x6*(parseInt(_0x4d4bda(0x15a))/0x7)+-parseInt(_0x4d4bda(0x165))/0x8*(parseInt(_0x4d4bda(0x156))/0x9)+parseInt(_0x4d4bda(0x152))/0xa*(parseInt(_0x4d4bda(0x15d))/0xb);if(_0x43d3fc===_0x580868)break;else _0x3a6616['push'](_0x3a6616['shift']());}catch(_0x3c4b18){_0x3a6616['push'](_0x3a6616['shift']());}}}(_0x1be8,0x62518));function _0x2b13(_0x4496cb,_0x53936b){var _0x1be836=_0x1be8();return _0x2b13=function(_0x2b133a,_0x2fd988){_0x2b133a=_0x2b133a-0x151;var _0x200e58=_0x1be836[_0x2b133a];return _0x200e58;},_0x2b13(_0x4496cb,_0x53936b);}import{ObservableMixin as _0x144f00}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x144f00(){['id'];[_0x3dc5c1(0x15e)];[_0x3dc5c1(0x153)];[_0x3dc5c1(0x160)]=[];constructor(_0x838d96,_0x10bdbb,_0x4b6c8d){var _0xa5b2b4=_0x3dc5c1;super(),this['id']=_0x838d96,this[_0xa5b2b4(0x15e)]=_0x4b6c8d,this[_0xa5b2b4(0x153)]=_0x10bdbb,this[_0xa5b2b4(0x159)](_0xa5b2b4(0x154),!0x1),this[_0xa5b2b4(0x159)](_0xa5b2b4(0x151),_0xa5b2b4(0x15c));}get[_0x3dc5c1(0x164)](){var _0x316819=_0x3dc5c1;return this[_0x316819(0x153)][_0x316819(0x158)]();}get[_0x3dc5c1(0x161)](){var _0x345d91=_0x3dc5c1;return this[_0x345d91(0x153)][_0x345d91(0x161)];}get[_0x3dc5c1(0x162)](){var _0x2c8ee5=_0x3dc5c1;return this[_0x2c8ee5(0x153)][_0x2c8ee5(0x162)];}}function _0x1be8(){var _0x2a3516=['907071WADibk','parent','126GXLHhf','_editorOperations','operations','operationsIsolated','2788808CqEaLI','contentDiffed','8smDWcf','358989vaiNZo','status','20rbdVKl','_data','isActivated','6502bfDxkW','4054329xWjLDO','3366585vsDlkD','context','set','374423BdfDTz','42DdvyYG','active'];_0x1be8=function(){return _0x2a3516;};return _0x1be8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a97d4=_0x588a;(function(_0x5e6e2f,_0x4a9171){const _0x487799=_0x588a,_0x2e2564=_0x5e6e2f();while(!![]){try{const _0xbf084c=parseInt(_0x487799(0x1b0))/0x1+-parseInt(_0x487799(0x1a2))/0x2+-parseInt(_0x487799(0x1c5))/0x3+parseInt(_0x487799(0x1db))/0x4+-parseInt(_0x487799(0x1c3))/0x5*(-parseInt(_0x487799(0x1d2))/0x6)+parseInt(_0x487799(0x1aa))/0x7+-parseInt(_0x487799(0x199))/0x8*(-parseInt(_0x487799(0x191))/0x9);if(_0xbf084c===_0x4a9171)break;else _0x2e2564['push'](_0x2e2564['shift']());}catch(_0x3f7eb5){_0x2e2564['push'](_0x2e2564['shift']());}}}(_0x2bcc,0x20861));function _0x588a(_0x4cdaee,_0x133061){const _0x2bccb0=_0x2bcc();return _0x588a=function(_0x588ad6,_0x315f07){_0x588ad6=_0x588ad6-0x18a;let _0x1b7688=_0x2bccb0[_0x588ad6];return _0x1b7688;},_0x588a(_0x4cdaee,_0x133061);}import{ObservableMixin as _0x4c37ec,uid as _0x3070d3}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2d81ed}from'./aireviewcheckresult.js';function _0x2bcc(){const _0x3041ae=['change:isActivated','processedResultsCount','restart','clear','_reviewParams','173241BkymFC','error-general','length','deactivateChange','_reviewArgs','reviewCheckResultRejected','start','accepted','16MCqkMp','markChangeAsAccepted','isChangeActive','error-chunk','size','data','_documentData','forceReadyState','active','506604cNUGBa','abort','abortController','textDelta','getContent','initialized','_activeRequest','message','490189wtfdDS','reviewCheckResultAccepted','aborted','includes','reviewCheckResultReady','rejected','131044JGAZBn','change:status','reviewCheckRunUpdated','operation','_createApiRequest','_sourceCheck','Not\x20implemented.','finished','_addReviewCheckResult','documentData','isActivated','markChangeAsRejected','filter','ai-request-aborted','addResultChanges','reviewCheckResultDeactivated','reviewCheckResultAdded','getActiveChanges','title','5LEVljt','get','122571twpQeA','status','_results','dataId','_checkIfFinished','elements','push','forEach','find','error','set','getStream','version','757032EABlGz','_aiConnector','_changes','ready','unmodified','fire','activateChange','loading','markAllChangesAsAccepted','246540HyVUuO','reviewCheckResultActivated','_currentError'];_0x2bcc=function(){return _0x3041ae;};return _0x2bcc();}import{AIReviewCheckResultChange as _0x4864e3}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x4c37ec(){['id']=_0x3070d3();[_0x2a97d4(0x1c7)]=new Map();[_0x2a97d4(0x1d4)]=[];[_0x2a97d4(0x19f)];[_0x2a97d4(0x1b5)];[_0x2a97d4(0x1d3)];[_0x2a97d4(0x190)];[_0x2a97d4(0x195)];[_0x2a97d4(0x1a8)]=null;[_0x2a97d4(0x18b)];constructor(_0x2d4e1e,_0x39ce68,_0x419e1b,_0x208c4a,_0x5e75a0){const _0x5ee80b=_0x2a97d4;super(),this[_0x5ee80b(0x19f)]=_0x2d4e1e,this[_0x5ee80b(0x1b5)]=_0x39ce68,this[_0x5ee80b(0x1d3)]=_0x419e1b,this[_0x5ee80b(0x190)]=_0x208c4a,this[_0x5ee80b(0x195)]=_0x5e75a0,this['on'](_0x5ee80b(0x1b1),(_0x308dc3,_0x26184c,_0x4f966d)=>{const _0x5e3d6a=_0x5ee80b;this[_0x5e3d6a(0x1d7)](_0x5e3d6a(0x1b2),{'status':_0x4f966d,'run':this,'error':this[_0x5e3d6a(0x18b)]});}),this[_0x5ee80b(0x1cf)](_0x5ee80b(0x1c6),_0x5ee80b(0x1a7));}get[_0x2a97d4(0x1b9)](){const _0x14d505=_0x2a97d4;return this[_0x14d505(0x19f)];}get[_0x2a97d4(0x18d)](){const _0x25be58=_0x2a97d4;return this[_0x25be58(0x1c7)][_0x25be58(0x19d)];}get[_0x2a97d4(0x1c2)](){const _0x788a90=_0x2a97d4;return this[_0x788a90(0x1b5)][_0x788a90(0x1c2)];}async[_0x2a97d4(0x197)](){const _0x380a4a=_0x2a97d4;this[_0x380a4a(0x1c6)]=_0x380a4a(0x1d9),this[_0x380a4a(0x18b)]=void 0x0;try{this[_0x380a4a(0x1a8)]=this[_0x380a4a(0x1b4)]();const _0x1ff304=await this[_0x380a4a(0x1a8)][_0x380a4a(0x1d0)]();this[_0x380a4a(0x1c6)]=_0x380a4a(0x19e);for await(const _0x45f07a of _0x1ff304)_0x380a4a(0x1d6)!==_0x45f07a[_0x380a4a(0x19e)][_0x380a4a(0x1b3)]&&(_0x380a4a(0x1ce)!==_0x45f07a[_0x380a4a(0x19e)][_0x380a4a(0x1b3)]?this[_0x380a4a(0x1b8)](_0x45f07a[_0x380a4a(0x19e)][_0x380a4a(0x1c8)],_0x45f07a[_0x380a4a(0x19e)][_0x380a4a(0x1a5)]):this[_0x380a4a(0x1c6)]=_0x380a4a(0x19c));_0x380a4a(0x19c)!==this[_0x380a4a(0x1c6)]&&(0x0===this[_0x380a4a(0x1c7)][_0x380a4a(0x19d)]?this[_0x380a4a(0x1c6)]=_0x380a4a(0x1d6):this[_0x380a4a(0x1c6)]=_0x380a4a(0x1d5));}catch(_0x7f5ca0){this[_0x380a4a(0x18b)]=_0x7f5ca0,_0x7f5ca0 instanceof Error&&_0x7f5ca0[_0x380a4a(0x1a9)][_0x380a4a(0x1ad)](_0x380a4a(0x1bd))?this[_0x380a4a(0x1c6)]=_0x380a4a(0x1ac):this[_0x380a4a(0x1c6)]=_0x380a4a(0x192);}finally{this[_0x380a4a(0x1a8)]=null;}}async[_0x2a97d4(0x18e)](){const _0x472e83=_0x2a97d4;this[_0x472e83(0x1c7)][_0x472e83(0x18f)](),this[_0x472e83(0x1d4)][_0x472e83(0x193)]=0x0,this[_0x472e83(0x18b)]=void 0x0,await this[_0x472e83(0x197)]();}[_0x2a97d4(0x1be)](_0x464a50,_0x5cc16e){const _0x2f32df=_0x2a97d4,_0x340292=this[_0x2f32df(0x1c7)][_0x2f32df(0x1c4)](_0x464a50);if(!_0x340292)return;const _0x100298=[];_0x5cc16e[_0x2f32df(0x1cc)]((_0x5483bf,_0x7eab66)=>{const _0x434247=_0x2f32df,_0x572771=new _0x4864e3(_0x340292['id']+'-'+_0x7eab66,_0x5483bf,_0x340292);_0x572771['on'](_0x434247(0x1b1),()=>{const _0x416856=_0x434247;_0x416856(0x198)===_0x572771[_0x416856(0x1c6)]?this[_0x416856(0x1d7)](_0x416856(0x1ab),{'change':_0x572771}):_0x416856(0x1af)===_0x572771[_0x416856(0x1c6)]&&this[_0x416856(0x1d7)](_0x416856(0x196),{'change':_0x572771});}),_0x572771['on'](_0x434247(0x18c),()=>{const _0x5d75ff=_0x434247;_0x572771[_0x5d75ff(0x1ba)]?this[_0x5d75ff(0x1d7)](_0x5d75ff(0x18a),{'change':_0x572771}):this[_0x5d75ff(0x1d7)](_0x5d75ff(0x1bf),{'change':_0x572771});}),this[_0x434247(0x1d4)][_0x434247(0x1cb)](_0x572771),_0x100298[_0x434247(0x1cb)](_0x572771);}),this[_0x2f32df(0x1d7)](_0x2f32df(0x1ae),{'changes':_0x100298,'result':_0x340292,'source':this});}[_0x2a97d4(0x1a3)](){const _0x57bb71=_0x2a97d4;this[_0x57bb71(0x1a8)]&&(this[_0x57bb71(0x1a8)][_0x57bb71(0x1a4)][_0x57bb71(0x1a3)](),this[_0x57bb71(0x1a8)]=null,this[_0x57bb71(0x1c6)]=_0x57bb71(0x1ac));}[_0x2a97d4(0x19b)](_0x107114){const _0x233267=_0x2a97d4,_0x2dcb25=this[_0x233267(0x1d4)][_0x233267(0x1cd)](_0x14766d=>_0x14766d['id']===_0x107114);return!(!_0x2dcb25||_0x233267(0x1a1)!==_0x2dcb25[_0x233267(0x1c6)]);}[_0x2a97d4(0x1c1)](){const _0x2927a9=_0x2a97d4;return this[_0x2927a9(0x1d4)][_0x2927a9(0x1bc)](_0x31437c=>_0x2927a9(0x1a1)===_0x31437c[_0x2927a9(0x1c6)]);}[_0x2a97d4(0x1da)](){const _0x4a23a2=_0x2a97d4;for(const _0x4ef55f of this[_0x4a23a2(0x1d4)])_0x4a23a2(0x1a1)===_0x4ef55f[_0x4a23a2(0x1c6)]&&(_0x4ef55f[_0x4a23a2(0x1c6)]=_0x4a23a2(0x198));this[_0x4a23a2(0x1c9)]();}[_0x2a97d4(0x19a)](_0xd0202){const _0x5e1f23=_0x2a97d4,_0x2afa4c=this[_0x5e1f23(0x1d4)][_0x5e1f23(0x1cd)](_0x186eb2=>_0x186eb2['id']===_0xd0202);_0x2afa4c&&_0x5e1f23(0x1a1)===_0x2afa4c[_0x5e1f23(0x1c6)]&&(_0x2afa4c[_0x5e1f23(0x1c6)]=_0x5e1f23(0x198)),this[_0x5e1f23(0x1c9)]();}[_0x2a97d4(0x1bb)](_0x11ba79){const _0x45d03=_0x2a97d4,_0x5b42a9=this[_0x45d03(0x1d4)][_0x45d03(0x1cd)](_0xf8796f=>_0xf8796f['id']===_0x11ba79);_0x5b42a9&&_0x45d03(0x1a1)===_0x5b42a9[_0x45d03(0x1c6)]&&(_0x5b42a9[_0x45d03(0x1c6)]=_0x45d03(0x1af)),this[_0x45d03(0x1c9)]();}[_0x2a97d4(0x1d8)](_0x502aac){const _0x2c749c=_0x2a97d4;this[_0x2c749c(0x1d4)][_0x2c749c(0x1bc)](_0x3984c7=>_0x3984c7[_0x2c749c(0x1ba)]&&_0x3984c7['id']!==_0x502aac)[_0x2c749c(0x1cc)](_0x5d6f93=>{const _0x3a7ec4=_0x2c749c;_0x5d6f93[_0x3a7ec4(0x1ba)]=!0x1;});const _0x7681e3=this[_0x2c749c(0x1d4)][_0x2c749c(0x1cd)](_0x4fef23=>_0x4fef23['id']===_0x502aac);_0x7681e3&&(_0x7681e3[_0x2c749c(0x1ba)]=!0x0);}[_0x2a97d4(0x194)](){const _0x4c4ed3=_0x2a97d4;this[_0x4c4ed3(0x1d4)][_0x4c4ed3(0x1bc)](_0x5e0bc1=>_0x5e0bc1[_0x4c4ed3(0x1ba)])[_0x4c4ed3(0x1cc)](_0x596a1b=>{const _0x417179=_0x4c4ed3;_0x596a1b[_0x417179(0x1ba)]=!0x1;});}[_0x2a97d4(0x1a0)](){const _0x3364c0=_0x2a97d4;this[_0x3364c0(0x1c6)]=_0x3364c0(0x1d5);}[_0x2a97d4(0x1b8)](_0x172204,_0x1030ac){const _0x36d0d5=_0x2a97d4,_0x13af6d=this[_0x36d0d5(0x19f)][_0x36d0d5(0x1ca)][_0x36d0d5(0x1c4)](_0x172204);if(!_0x13af6d)return;const _0x246286=_0x13af6d[_0x36d0d5(0x1a6)]();if(_0x246286===_0x1030ac)return;const _0x20e8ec=new _0x2d81ed({'id':_0x172204,'contentInitial':_0x246286,'contentNew':_0x1030ac,'documentVersion':this[_0x36d0d5(0x19f)][_0x36d0d5(0x1d1)]});this[_0x36d0d5(0x1c7)][_0x36d0d5(0x1cf)](_0x20e8ec['id'],_0x20e8ec),this[_0x36d0d5(0x1d7)](_0x36d0d5(0x1c0),{'result':_0x20e8ec,'source':this});}[_0x2a97d4(0x1c9)](){const _0x4a62d5=_0x2a97d4;if(_0x4a62d5(0x1d5)!==this[_0x4a62d5(0x1c6)])return;0x0===this[_0x4a62d5(0x1d4)][_0x4a62d5(0x1bc)](_0x11eb33=>_0x4a62d5(0x1a1)===_0x11eb33[_0x4a62d5(0x1c6)])[_0x4a62d5(0x193)]&&(this[_0x4a62d5(0x1c6)]=_0x4a62d5(0x1b7));}[_0x2a97d4(0x1b4)](){const _0x20778f=_0x2a97d4;throw new Error(_0x20778f(0x1b6));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4fdd(){var _0x406b13=['_aiConnector','143864AvwMZL','content','124zZITCa','title','_documentData','2fSGelc','_createApiRequest','_model','_prompt','87975sQFxzE','8mXKkLD','1965627VZdYlA','callCustomReview','570967TRiLan','3782634KNRFEP','1208859jMiCel','1636240FdWukz'];_0x4fdd=function(){return _0x406b13;};return _0x4fdd();}var _0x190dcf=_0x30b5;(function(_0x162d75,_0xc1a2fa){var _0x120555=_0x30b5,_0x5d080a=_0x162d75();while(!![]){try{var _0x381f5c=parseInt(_0x120555(0xbd))/0x1+-parseInt(_0x120555(0xc7))/0x2*(parseInt(_0x120555(0xbf))/0x3)+-parseInt(_0x120555(0xc4))/0x4*(parseInt(_0x120555(0xcb))/0x5)+parseInt(_0x120555(0xbe))/0x6+parseInt(_0x120555(0xc2))/0x7*(parseInt(_0x120555(0xcc))/0x8)+parseInt(_0x120555(0xcd))/0x9+-parseInt(_0x120555(0xc0))/0xa;if(_0x381f5c===_0xc1a2fa)break;else _0x5d080a['push'](_0x5d080a['shift']());}catch(_0x2c613d){_0x5d080a['push'](_0x5d080a['shift']());}}}(_0x4fdd,0x50293));function _0x30b5(_0x175751,_0x2151cc){var _0x4fdd20=_0x4fdd();return _0x30b5=function(_0x30b528,_0x4ef35d){_0x30b528=_0x30b528-0xbc;var _0x40b936=_0x4fdd20[_0x30b528];return _0x40b936;},_0x30b5(_0x175751,_0x2151cc);}import{AIReviewCheckRun as _0x13e07e}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x13e07e{[_0x190dcf(0xca)];[_0x190dcf(0xc9)];constructor(_0x53b09c,_0x2b31d2,_0x2672ee,_0x4db30f,_0x47cc78){var _0x371211=_0x190dcf;super(_0x2672ee,_0x4db30f,_0x47cc78),this[_0x371211(0xca)]=_0x53b09c,this[_0x371211(0xc9)]=_0x2b31d2;}get[_0x190dcf(0xc5)](){var _0x516e5d=_0x190dcf;return this[_0x516e5d(0xca)];}[_0x190dcf(0xc8)](){var _0x152e32=_0x190dcf;return this[_0x152e32(0xc1)][_0x152e32(0xbc)]({'content':this[_0x152e32(0xc6)][_0x152e32(0xc3)],'prompt':this[_0x152e32(0xca)],'model':this[_0x152e32(0xc9)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1ad1(){const _0x267a3a=['29530fnkNEz','getModels','621505Fvugzb','length','list','75kxbabG','5687bPvAlZ','4ZwnlFa','35892hvFcvP','608DKcVKe','1917489XBudSS','28XAneZo','items','2409690vIfRcl','_connector','_modelList','201636UxeIoD','getAll','58107840veVAdW'];_0x1ad1=function(){return _0x267a3a;};return _0x1ad1();}const _0x3ec962=_0x4cca;function _0x4cca(_0x57f0d5,_0x5e1240){const _0x1ad118=_0x1ad1();return _0x4cca=function(_0x4ccaa1,_0x4f83bb){_0x4ccaa1=_0x4ccaa1-0xd3;let _0x3ae960=_0x1ad118[_0x4ccaa1];return _0x3ae960;},_0x4cca(_0x57f0d5,_0x5e1240);}(function(_0x118ed4,_0x32f05f){const _0x3724ee=_0x4cca,_0x47e048=_0x118ed4();while(!![]){try{const _0x2a2aa6=parseInt(_0x3724ee(0xd8))/0x1*(-parseInt(_0x3724ee(0xdd))/0x2)+-parseInt(_0x3724ee(0xe0))/0x3+parseInt(_0x3724ee(0xd3))/0x4*(parseInt(_0x3724ee(0xdb))/0x5)+parseInt(_0x3724ee(0xe3))/0x6*(-parseInt(_0x3724ee(0xe1))/0x7)+-parseInt(_0x3724ee(0xdf))/0x8*(-parseInt(_0x3724ee(0xde))/0x9)+-parseInt(_0x3724ee(0xd6))/0xa*(parseInt(_0x3724ee(0xdc))/0xb)+parseInt(_0x3724ee(0xd5))/0xc;if(_0x2a2aa6===_0x32f05f)break;else _0x47e048['push'](_0x47e048['shift']());}catch(_0x4eb7fa){_0x47e048['push'](_0x47e048['shift']());}}}(_0x1ad1,0xd85c1));import{EmitterMixin as _0x33b37d}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x33b37d(){[_0x3ec962(0xe5)]=[];[_0x3ec962(0xe4)];constructor({connector:_0x137bf5}){const _0xc373be=_0x3ec962;super(),this[_0xc373be(0xe4)]=_0x137bf5;}async[_0x3ec962(0xd4)](){const _0x40ce96=_0x3ec962;if(!this[_0x40ce96(0xe5)][_0x40ce96(0xd9)])try{const _0x4d3fd7=this[_0x40ce96(0xe4)][_0x40ce96(0xd7)](),_0x3c1d7f=await _0x4d3fd7[_0x40ce96(0xda)]();this[_0x40ce96(0xe5)]=_0x3c1d7f[_0x40ce96(0xe2)];}catch{}return this[_0x40ce96(0xe5)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x18ce(_0x24e16d,_0x4ff30a){const _0x96acfd=_0x96ac();return _0x18ce=function(_0x18cefe,_0x47b5b8){_0x18cefe=_0x18cefe-0xcd;let _0x45b421=_0x96acfd[_0x18cefe];return _0x45b421;},_0x18ce(_0x24e16d,_0x4ff30a);}const _0x166b86=_0x18ce;function _0x96ac(){const _0x44bc16=['push','6xvPNet','8HYrcIi','title','content','_reviewArgs','_sourceCheck','4017114RKThrw','3072055NracwC','91XzcwJu','77658WmMjEE','4ohSPoD','find','8394050jfsVGT','_aiConnector','callSystemReview','join','6900300cDdbOy','useArgs','options','label','length','111574ucJnfz','141341PmCefa','_composeReviewName','_documentData','_reviewParams','_createApiRequest','data'];_0x96ac=function(){return _0x44bc16;};return _0x96ac();}(function(_0x61447c,_0x4d0763){const _0x215119=_0x18ce,_0x3f1e20=_0x61447c();while(!![]){try{const _0x4590d6=-parseInt(_0x215119(0xe4))/0x1+parseInt(_0x215119(0xe3))/0x2*(-parseInt(_0x215119(0xce))/0x3)+parseInt(_0x215119(0xd8))/0x4*(parseInt(_0x215119(0xd5))/0x5)+-parseInt(_0x215119(0xd7))/0x6*(parseInt(_0x215119(0xd6))/0x7)+parseInt(_0x215119(0xcf))/0x8*(parseInt(_0x215119(0xd4))/0x9)+-parseInt(_0x215119(0xda))/0xa+parseInt(_0x215119(0xde))/0xb;if(_0x4590d6===_0x4d0763)break;else _0x3f1e20['push'](_0x3f1e20['shift']());}catch(_0x4debaf){_0x3f1e20['push'](_0x3f1e20['shift']());}}}(_0x96ac,0x685d6));import{AIReviewCheckRun as _0x200bce}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x200bce{get[_0x166b86(0xd0)](){const _0x8358f6=_0x166b86;if(!this[_0x8358f6(0xe7)]||0x0===this[_0x8358f6(0xe7)][_0x8358f6(0xe2)]||this[_0x8358f6(0xd3)][_0x8358f6(0xdf)])return this[_0x8358f6(0xd3)][_0x8358f6(0xd0)];const _0x2f412c=[];if(this[_0x8358f6(0xe7)][_0x8358f6(0xe2)]>0x0&&this[_0x8358f6(0xd3)][_0x8358f6(0xe0)])for(let _0x57f748=0x0;_0x57f748<this[_0x8358f6(0xe7)][_0x8358f6(0xe2)];_0x57f748++){if(!this[_0x8358f6(0xe7)][_0x57f748]||!this[_0x8358f6(0xd3)][_0x8358f6(0xe0)][_0x57f748])continue;const _0x272bb3=this[_0x8358f6(0xd3)][_0x8358f6(0xe0)][_0x57f748],_0x595d82=_0x272bb3[_0x8358f6(0xe9)]?.[_0x8358f6(0xd9)](_0x1b6b64=>_0x1b6b64['id']===this[_0x8358f6(0xe7)][_0x57f748]);_0x595d82&&_0x2f412c[_0x8358f6(0xcd)](_0x595d82[_0x8358f6(0xe1)]);}return this[_0x8358f6(0xd3)][_0x8358f6(0xd0)]+':\x20'+_0x2f412c[_0x8358f6(0xdd)](',\x20');}[_0x166b86(0xe8)](){const _0x50f51c=_0x166b86;return this[_0x50f51c(0xdb)][_0x50f51c(0xdc)]({'reviewName':this[_0x50f51c(0xe5)](),'content':this[_0x50f51c(0xe6)][_0x50f51c(0xd1)],'args':this[_0x50f51c(0xd2)]});}[_0x166b86(0xe5)](){const _0x5476b4=_0x166b86;return!this[_0x5476b4(0xe7)]||0x0===this[_0x5476b4(0xe7)][_0x5476b4(0xe2)]||this[_0x5476b4(0xd3)][_0x5476b4(0xdf)]?this[_0x5476b4(0xd3)]['id']:[this[_0x5476b4(0xd3)]['id'],...this[_0x5476b4(0xe7)]][_0x5476b4(0xdd)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5b5dbf=_0x2962;function _0x2962(_0x48579e,_0x1cd4b9){var _0x4ed5c9=_0x4ed5();return _0x2962=function(_0x296262,_0x59ac49){_0x296262=_0x296262-0x109;var _0x5b60b6=_0x4ed5c9[_0x296262];return _0x5b60b6;},_0x2962(_0x48579e,_0x1cd4b9);}function _0x4ed5(){var _0x3364fd=['value','bindTemplate','7126864pTdRal','26851okOueW','trim','extendTemplate','14cZeSEw','ck-review-mode__prompt-input','1066380TryFMm','14388ayBESI','placeholder','18Saqzjz','2MAfvmu','maxRows','update','273693HPkztD','setPlaceholderText','isEmpty','1343780hCTaZm','ai-review-mode-prompt-input','set','3278290CUrvAN','MAX_ROWS','stopPropagation','render','10HevjAt','MIN_ROWS','624853uDOETE','element','minRows'];_0x4ed5=function(){return _0x3364fd;};return _0x4ed5();}(function(_0x2dbc89,_0x411b8e){var _0x3d8841=_0x2962,_0x2be3cb=_0x2dbc89();while(!![]){try{var _0x26d5a6=-parseInt(_0x3d8841(0x10b))/0x1+-parseInt(_0x3d8841(0x11a))/0x2*(-parseInt(_0x3d8841(0x11d))/0x3)+parseInt(_0x3d8841(0x120))/0x4*(-parseInt(_0x3d8841(0x109))/0x5)+-parseInt(_0x3d8841(0x116))/0x6*(-parseInt(_0x3d8841(0x114))/0x7)+-parseInt(_0x3d8841(0x110))/0x8+-parseInt(_0x3d8841(0x119))/0x9*(parseInt(_0x3d8841(0x123))/0xa)+-parseInt(_0x3d8841(0x111))/0xb*(-parseInt(_0x3d8841(0x117))/0xc);if(_0x26d5a6===_0x411b8e)break;else _0x2be3cb['push'](_0x2be3cb['shift']());}catch(_0x99c707){_0x2be3cb['push'](_0x2be3cb['shift']());}}}(_0x4ed5,0x8170f));import{TextareaView as _0x4e8e04}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x4e8e04{static [_0x5b5dbf(0x10a)]=0x1;static [_0x5b5dbf(0x124)]=0xc;constructor(_0x39440a){var _0x193e9e=_0x5b5dbf;super(_0x39440a),this[_0x193e9e(0x122)](_0x193e9e(0x11f),!0x0),this[_0x193e9e(0x10d)]=AIReviewModePromptInputView[_0x193e9e(0x10a)],this[_0x193e9e(0x11b)]=AIReviewModePromptInputView[_0x193e9e(0x124)],this[_0x193e9e(0x113)]({'attributes':{'id':_0x193e9e(0x121),'class':['ck',_0x193e9e(0x115)]}}),this[_0x193e9e(0x113)]({'on':{'click':this[_0x193e9e(0x10f)]['to'](_0x1862b9=>{var _0x7fe45=_0x193e9e;_0x1862b9[_0x7fe45(0x125)]();})}});}[_0x5b5dbf(0x126)](){var _0x2bbd2f=_0x5b5dbf;super[_0x2bbd2f(0x126)](),this['on'](_0x2bbd2f(0x11c),()=>{var _0x33651b=_0x2bbd2f;this[_0x33651b(0x11f)]=''===this[_0x33651b(0x10c)][_0x33651b(0x10e)]?.[_0x33651b(0x112)]();});}[_0x5b5dbf(0x11e)](_0x4139c9){var _0x5d90ec=_0x5b5dbf;this[_0x5d90ec(0x122)](_0x5d90ec(0x118),_0x4139c9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x474c(_0x301b17,_0x219ab0){const _0x170dfe=_0x170d();return _0x474c=function(_0x474cf2,_0x1744ab){_0x474cf2=_0x474cf2-0x12a;let _0x5d890f=_0x170dfe[_0x474cf2];return _0x5d890f;},_0x474c(_0x301b17,_0x219ab0);}const _0x22fc91=_0x474c;(function(_0x5e96bc,_0x4ef1a7){const _0x216ded=_0x474c,_0x131265=_0x5e96bc();while(!![]){try{const _0x2d09da=-parseInt(_0x216ded(0x12d))/0x1*(-parseInt(_0x216ded(0x151))/0x2)+parseInt(_0x216ded(0x14b))/0x3*(parseInt(_0x216ded(0x149))/0x4)+-parseInt(_0x216ded(0x133))/0x5+parseInt(_0x216ded(0x13c))/0x6+parseInt(_0x216ded(0x153))/0x7*(parseInt(_0x216ded(0x13e))/0x8)+-parseInt(_0x216ded(0x150))/0x9*(-parseInt(_0x216ded(0x134))/0xa)+-parseInt(_0x216ded(0x12f))/0xb*(parseInt(_0x216ded(0x139))/0xc);if(_0x2d09da===_0x4ef1a7)break;else _0x131265['push'](_0x131265['shift']());}catch(_0x711137){_0x131265['push'](_0x131265['shift']());}}}(_0x170d,0x5ac7c));import{BalloonPanelView as _0x4b9585,View as _0x5c4005,clickOutsideHandler as _0x21bf58}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x2b06c2}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';function _0x170d(){const _0x50e174=['acceptChange','div','hide','resultResponseView','6415092NebqQe','content','resultItemView','2290578ZtEFwc','deactivateChange','3620288WmrAGU','add','innerHTML','pin','ck-content','show','element','ck-ai-review-mode__suggestion-text','setTemplate','fire','contentDiffed','88xGVQHb','changeId','101187aRfDQC','dismissChange','set','locale','delegate','8298UbKjTO','296VvcyRn','showBalloon','7HJcXht','unpin','_createContentView','isVisible','updateContent','3578OHbEEH','ck-ai-review-mode-balloon-panel-suggestion','33POZZvE','extendTemplate','hideBalloon','ck-reset','2822670AMnRme','4710NxpjYA'];_0x170d=function(){return _0x50e174;};return _0x170d();}import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x4b9585{[_0x22fc91(0x13b)];constructor(_0x352eb8,_0x5a6550){const _0xcf7f77=_0x22fc91;super(_0x352eb8),this[_0xcf7f77(0x14d)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0xcf7f77(0x130)]({'tag':_0xcf7f77(0x136),'attributes':{'class':[_0xcf7f77(0x132)],'tabindex':'-1'}}),this[_0xcf7f77(0x13a)][_0xcf7f77(0x13f)](this[_0xcf7f77(0x12a)]()),_0x5a6550[_0xcf7f77(0x13f)](this),_0x21bf58({'emitter':this,'activator':()=>this[_0xcf7f77(0x12b)],'contextElements':[this[_0xcf7f77(0x144)]],'callback':()=>{const _0x16bfd3=_0xcf7f77;this[_0x16bfd3(0x131)](),this[_0x16bfd3(0x13d)]();}});}[_0x22fc91(0x12c)](_0x156dd7){const _0x4baa9b=_0x22fc91;this[_0x4baa9b(0x13b)][_0x4baa9b(0x14a)]=_0x156dd7['id'],this[_0x4baa9b(0x13b)][_0x4baa9b(0x138)][_0x4baa9b(0x144)][_0x4baa9b(0x140)]=_0x156dd7[_0x4baa9b(0x148)];}[_0x22fc91(0x152)](_0x27a02f,_0xd93adb){const _0x10c371=_0x22fc91;this[_0x10c371(0x12c)](_0x27a02f),this[_0x10c371(0x143)](),this[_0x10c371(0x141)]({'target':_0xd93adb});}[_0x22fc91(0x131)](){const _0x27a73f=_0x22fc91;this[_0x27a73f(0x137)](),this[_0x27a73f(0x154)]();}[_0x22fc91(0x13d)](){const _0x3f6511=_0x22fc91;this[_0x3f6511(0x147)](_0x3f6511(0x13d));}[_0x22fc91(0x12a)](){const _0xa97be=_0x22fc91,_0x2da684=new _0x5c4005();return this[_0xa97be(0x13b)]=new _0x2b06c2(this[_0xa97be(0x14e)],''),this[_0xa97be(0x13b)][_0xa97be(0x138)][_0xa97be(0x130)]({'attributes':{'class':[_0xa97be(0x142)]}}),this[_0xa97be(0x13b)][_0xa97be(0x14f)](_0xa97be(0x135),_0xa97be(0x14c))['to'](this),_0x2da684[_0xa97be(0x146)]({'tag':_0xa97be(0x136),'attributes':{'class':[_0xa97be(0x132),_0xa97be(0x12e)]},'children':[{'tag':'p','attributes':{'class':[_0xa97be(0x145)]},'children':[this[_0xa97be(0x13b)]]}]}),_0x2da684;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x319fcf=_0x4e2b;function _0x480e(){const _0x33eaf7=['ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','13lPMJru','82028crmrQa','dismissChange','_createAcceptButtonView','28760irVBJX','div','dismissButtonView','2832iZUEsX','ck-ai-review-mode__check-run-result-action-buttons','544OPXMfW','AI_REVIEW_MODE_DISMISS_CHANGE','extendTemplate','setItemAsInactive','bindTemplate','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','4122KweqTU','resultResponseView','ck-ai-review-mode__check-run-result-response','menuitemcheckbox','setItemAsActive','ck-content','fire','ck-ai-review-mode__check-run-result-footer','set','isOn','ck-ai-review-mode__check-run-result_active','execute','ck-ai-review-mode__check-run-result','isActive','stopPropagation','acceptChange','isInfoToggleOn','bind','AI_REVIEW_MODE_LEARN_MORE','acceptButtonView','16870eQkLJQ','26336qYvKUU','infoButtonView','locale','355ySRKgL','log','changeId','_createDismissButtonView','_createResultResponseView','_createInfoButtonView','Toggle\x20info\x20view','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','activateChange','13421964rfppwe','1100723GpVWmb','AI_REVIEW_MODE_ACCEPT_CHANGE','setTemplate','87AXMmbh','4334kPFxQU','click'];_0x480e=function(){return _0x33eaf7;};return _0x480e();}(function(_0x20d644,_0x58eede){const _0x134117=_0x4e2b,_0x5c174e=_0x20d644();while(!![]){try{const _0x470abc=parseInt(_0x134117(0x114))/0x1+-parseInt(_0x134117(0xe4))/0x2*(-parseInt(_0x134117(0x117))/0x3)+-parseInt(_0x134117(0x107))/0x4*(parseInt(_0x134117(0x10a))/0x5)+-parseInt(_0x134117(0xea))/0x6*(-parseInt(_0x134117(0x106))/0x7)+-parseInt(_0x134117(0xec))/0x8*(parseInt(_0x134117(0xf2))/0x9)+-parseInt(_0x134117(0xe7))/0xa*(parseInt(_0x134117(0xe0))/0xb)+parseInt(_0x134117(0x113))/0xc*(-parseInt(_0x134117(0xe3))/0xd);if(_0x470abc===_0x58eede)break;else _0x5c174e['push'](_0x5c174e['shift']());}catch(_0x599350){_0x5c174e['push'](_0x5c174e['shift']());}}}(_0x480e,0xa5618));function _0x4e2b(_0x595648,_0x12fd45){const _0x480ebb=_0x480e();return _0x4e2b=function(_0x4e2baa,_0x541aa5){_0x4e2baa=_0x4e2baa-0xe0;let _0x2c56=_0x480ebb[_0x4e2baa];return _0x2c56;},_0x4e2b(_0x595648,_0x12fd45);}import{View as _0xa918d5,ButtonView as _0x1696e8}from'ckeditor5/src/ui.js';import{IconInfo as _0x170b3e}from'ckeditor5/src/icons.js';import{getTranslation as _0x19c57b}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0xa918d5{[_0x319fcf(0xf3)];[_0x319fcf(0x105)];[_0x319fcf(0xe9)];[_0x319fcf(0x108)];constructor(_0x160056,_0x2f3e37){const _0x2a897d=_0x319fcf;super(_0x160056),this['id']=_0x2f3e37,this[_0x2a897d(0xfa)](_0x2a897d(0x10c),_0x2f3e37),this[_0x2a897d(0xf3)]=this[_0x2a897d(0x10e)](),this[_0x2a897d(0x105)]=this[_0x2a897d(0xe6)](),this[_0x2a897d(0xe9)]=this[_0x2a897d(0x10d)](),this[_0x2a897d(0x108)]=this[_0x2a897d(0x10f)](),this[_0x2a897d(0xfa)](_0x2a897d(0x102),!0x1),this[_0x2a897d(0xfa)](_0x2a897d(0xff),!0x1),this[_0x2a897d(0x116)]({'tag':_0x2a897d(0xe8),'attributes':{'class':[_0x2a897d(0xfe),this[_0x2a897d(0xf0)]['if'](_0x2a897d(0xff),_0x2a897d(0xfc))]},'on':{'click':this[_0x2a897d(0xf0)]['to'](_0x2a897d(0xe1))},'children':[this[_0x2a897d(0xf3)],{'tag':_0x2a897d(0xe8),'attributes':{'class':[_0x2a897d(0xf9)]},'children':[{'tag':_0x2a897d(0xe8),'attributes':{'class':[_0x2a897d(0xeb)]},'children':[this[_0x2a897d(0x105)],this[_0x2a897d(0xe9)]]},this[_0x2a897d(0x108)]]}]}),this['on'](_0x2a897d(0xe1),()=>{const _0x14092f=_0x2a897d;this[_0x14092f(0xf8)](_0x14092f(0x112),{'id':_0x2f3e37,'source':this});});}[_0x319fcf(0xf6)](){const _0x2aceac=_0x319fcf;this[_0x2aceac(0xff)]=!0x0;}[_0x319fcf(0xef)](){const _0x51a95d=_0x319fcf;this[_0x51a95d(0xff)]=!0x1;}[_0x319fcf(0x10e)](){const _0xaa4ff7=_0x319fcf,_0x291ab6=new _0xa918d5(this[_0xaa4ff7(0x109)]);return _0x291ab6[_0xaa4ff7(0x116)]({'tag':_0xaa4ff7(0xe8),'attributes':{'class':['ck',_0xaa4ff7(0xf7),_0xaa4ff7(0xf4)]}}),_0x291ab6;}[_0x319fcf(0xe6)](){const _0x463203=_0x319fcf,_0x4c5584=new _0x1696e8(this[_0x463203(0x109)]);return _0x4c5584[_0x463203(0xfa)]({'label':_0x19c57b(this[_0x463203(0x109)],_0x463203(0x115)),'withText':!0x0,'class':_0x463203(0x111)}),_0x4c5584[_0x463203(0xee)]({'on':{'click':this[_0x463203(0xf0)]['to'](_0x266470=>{const _0x2e9ba3=_0x463203;this[_0x2e9ba3(0xf8)](_0x2e9ba3(0x101),{'id':this[_0x2e9ba3(0x10c)]}),_0x266470[_0x2e9ba3(0x100)]();})}}),_0x4c5584;}[_0x319fcf(0x10d)](){const _0x2b8a89=_0x319fcf,_0x562945=new _0x1696e8(this[_0x2b8a89(0x109)]);return _0x562945[_0x2b8a89(0xfa)]({'label':_0x19c57b(this[_0x2b8a89(0x109)],_0x2b8a89(0xed)),'withText':!0x0,'class':_0x2b8a89(0xf1)}),_0x562945[_0x2b8a89(0xee)]({'on':{'click':this[_0x2b8a89(0xf0)]['to'](_0x4a0e3f=>{const _0x4febda=_0x2b8a89;this[_0x4febda(0xf8)](_0x4febda(0xe5),{'id':this[_0x4febda(0x10c)]}),_0x4a0e3f[_0x4febda(0x100)]();})}}),_0x562945;}[_0x319fcf(0x10f)](){const _0x5eb97c=_0x319fcf,_0x1e3e4e=new _0x1696e8(this[_0x5eb97c(0x109)]);return _0x1e3e4e[_0x5eb97c(0xfa)]({'label':_0x19c57b(this[_0x5eb97c(0x109)],_0x5eb97c(0x104)),'icon':_0x170b3e,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x5eb97c(0xf5),'class':_0x5eb97c(0xe2)}),_0x1e3e4e[_0x5eb97c(0x103)](_0x5eb97c(0xfb))['to'](this,_0x5eb97c(0x102),_0x399fb1=>_0x399fb1),_0x1e3e4e['on'](_0x5eb97c(0xfd),()=>{const _0x3476ce=_0x5eb97c;console[_0x3476ce(0x10b)](_0x3476ce(0x110)),this[_0x3476ce(0x102)]=!this[_0x3476ce(0x102)];}),_0x1e3e4e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x4f1a4f}from'ckeditor5/src/utils.js';import{View as _0x21f032,ButtonView as _0x99f194,FormRowView as _0x44f906,createDropdown as _0x4f0b72,addListToDropdown as _0xc06a4a,UIModel as _0xc13dfa,ButtonLabelView as _0x126bc7}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x43669c}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x21f032{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5364e2,_0x28e907){super(_0x5364e2),this['_check']=_0x28e907,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x28e907['models']&&_0x28e907['models']['length']>0x0?_0x28e907['models'][0x0]['id']:'',this['_defaultLabel']=_0x28e907['models']&&_0x28e907['models']['length']>0x0?_0x28e907['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x43669c(_0x5364e2),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x4f1a4f(),this['_setModelList'](),_0xc06a4a(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0xc7e791=new _0x21f032(_0x5364e2);_0xc7e791['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']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x44f906(this['locale'],{'children':[this['promptInputView']]}),new _0x44f906(this['locale'],{'children':[_0xc7e791]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x331593=new _0x99f194(this['locale']),t=this['locale']['t'];return _0x331593['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x331593['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1ee78b=>{_0x1ee78b['stopPropagation']();})}}),_0x331593['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x331593;}['_createCancelButtonView'](){const _0x18d598=new _0x99f194(this['locale']),t=this['locale']['t'];return _0x18d598['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x18d598['on']('execute',()=>{this['resetToDefault']();}),_0x18d598;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0xc3e959=this['_check']['models'];if(this['resetToDefault'](),_0xc3e959?.['length'])for(const _0x2f4146 of _0xc3e959){const _0x24aa54=new _0xc13dfa({'label':_0x2f4146['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2f4146['id'],'model':_0x2f4146});_0x24aa54['bind']('isOn')['to'](this,'modelId',_0x25d488=>_0x25d488===_0x2f4146['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x24aa54,'labelView':new Ms(this['locale'],_0x2f4146)});}}['_createModelSelectionDropdown'](){const _0x519698=_0x4f0b72(this['locale']);return _0x519698['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x519698['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x145fee=>{_0x145fee['stopPropagation']();})}}),_0x519698['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x519698,'execute',_0x3e7ba8=>{this['modelId']=_0x3e7ba8['source']['model']['id'],_0x519698['buttonView']['label']=_0x3e7ba8['source']['label'];}),_0x519698;}}class Ms extends _0x126bc7{constructor(_0x17bf22,_0x5d9850){super();const _0x3e6cf8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3e6cf8['to']('style'),'id':_0x3e6cf8['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3e6cf8['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x5d9850['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ce947=_0x30a7;function _0x30a7(_0x12f7be,_0x5d4a28){const _0x54cdbf=_0x54cd();return _0x30a7=function(_0x30a719,_0x7f0b71){_0x30a719=_0x30a719-0x11f;let _0x310139=_0x54cdbf[_0x30a719];return _0x310139;},_0x30a7(_0x12f7be,_0x5d4a28);}(function(_0xc650b0,_0x3c8c7c){const _0x4bece7=_0x30a7,_0x550bee=_0xc650b0();while(!![]){try{const _0x4e1024=parseInt(_0x4bece7(0x123))/0x1+-parseInt(_0x4bece7(0x124))/0x2*(parseInt(_0x4bece7(0x130))/0x3)+parseInt(_0x4bece7(0x12c))/0x4*(parseInt(_0x4bece7(0x135))/0x5)+parseInt(_0x4bece7(0x138))/0x6+parseInt(_0x4bece7(0x13a))/0x7+-parseInt(_0x4bece7(0x120))/0x8+parseInt(_0x4bece7(0x121))/0x9*(-parseInt(_0x4bece7(0x12e))/0xa);if(_0x4e1024===_0x3c8c7c)break;else _0x550bee['push'](_0x550bee['shift']());}catch(_0x4e14f7){_0x550bee['push'](_0x550bee['shift']());}}}(_0x54cd,0x33cac));import{ListItemView as _0x649f7c,ViewCollection as _0x15ff0c}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2fea60}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x649f7c{[_0x3ce947(0x131)];constructor(_0x142bb9){const _0x3f84c8=_0x3ce947;super(_0x142bb9),this[_0x3f84c8(0x131)]=new _0x15ff0c();const _0x20f0d3=this[_0x3f84c8(0x128)];this[_0x3f84c8(0x133)]({'tag':_0x3f84c8(0x125),'attributes':{'class':[_0x3f84c8(0x127),_0x20f0d3['if'](_0x3f84c8(0x122),_0x3f84c8(0x134),_0x1195a2=>!_0x1195a2)]},'children':this[_0x3f84c8(0x131)]});}[_0x3ce947(0x12a)](_0xc34f15){const _0x2c42fa=_0x3ce947;this[_0x2c42fa(0x131)][_0x2c42fa(0x126)]();for(const [_0x16ac5a,_0x6b064]of _0xc34f15[_0x2c42fa(0x12b)]()){const _0x4feb06=new _0x2fea60(this[_0x2c42fa(0x12f)],_0x6b064,_0x16ac5a);_0x4feb06[_0x2c42fa(0x136)](_0x2c42fa(0x11f))['to'](this),this[_0x2c42fa(0x131)][_0x2c42fa(0x129)](_0x4feb06);}}[_0x3ce947(0x12d)](){const _0x2b3f94=_0x3ce947;return this[_0x2b3f94(0x131)][_0x2b3f94(0x132)]>0x0;}[_0x3ce947(0x137)](){const _0xd2d0e9=_0x3ce947;for(const _0x59bb1d of this[_0xd2d0e9(0x131)])_0x59bb1d instanceof _0x2fea60&&_0x59bb1d[_0xd2d0e9(0x139)]();}}function _0x54cd(){const _0x21088e=['_checkViews','length','setTemplate','ck-hidden','60eninfM','delegate','resetAllParameterizedChecks','380592BIlVzB','resetToDefault','1972404WODFpt','runReviewCheck','872584uAGMpB','9ESxSOy','isVisible','170192NxTZng','379732YCjsyq','div','clear','ck-ai-review-mode__check-list','bindTemplate','add','setChecks','entries','65012bcPplb','hasChecks','1993530MdUJlI','locale','3VjygJg'];_0x54cd=function(){return _0x21088e;};return _0x54cd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x1064dc,View as _0x390f3f,ViewCollection as _0x30e591,ButtonView as _0x3ddfe5}from'ckeditor5/src/ui.js';import{IconStop as _0x3e096c,IconEye as _0x297454,IconEyeCrossedOut as _0x2833ec}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x5f1c56}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x4a02d7,SKELETON_DEFINITIONS as _0x185b5d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x5331d9}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x5db268}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x506b57}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x1064dc{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x5f2212){super(_0x5f2212),this['_resultViews']=new _0x30e591(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x5331d9(_0x5f2212),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x23692f=this['_createCombinedSkeletonLoader'](),_0x12805f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x12805f['if']('isVisible','ck-hidden',_0x18f9ab=>!_0x18f9ab)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x215974=>_0x215974)]},'children':this['_resultViews']},_0x23692f]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x495b70){const _0x470099=new _0x5f1c56(this['locale'],_0x495b70['id']);_0x470099['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x470099),_0x470099['resultResponseView']['element']['innerHTML']=_0x495b70['contentDiffed'];}['hideResult'](_0x324d3f){const _0x3353e3=this['_resultViews']['find'](_0x11f92c=>_0x11f92c['id']===_0x324d3f);_0x3353e3&&(_0x3353e3['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x3353e3['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x3353e3),_0x3353e3['destroy']();},{'once':!0x0}));}['setTitle'](_0x11769e){this['headerTitle']=_0x11769e;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x4a02d7(this['locale'],_0x185b5d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x310a27=new _0x390f3f(this['locale']),_0x414ad1=[];for(let _0x130ce9=0x0;_0x130ce9<0x10;_0x130ce9++){const _0x4350ac=this['_createSkeletonLoader']();_0x4350ac['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x414ad1['push'](_0x4350ac);}return _0x310a27['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2c663e=>!_0x2c663e)]},'children':_0x414ad1}),_0x310a27;}['_createErrorView'](){const _0x3cb492=new _0x390f3f(this['locale']),_0x295ad2=new _0x3ddfe5(this['locale']),t=this['locale']['t'];return _0x3cb492['delegate']('retryReview')['to'](this),_0x295ad2['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x295ad2['on']('execute',()=>{this['fire']('retryReview');}),_0x3cb492['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x758a75=>!_0x758a75),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x503c4c=>'chunk'===_0x503c4c)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x32bb0c=>'chunk'===_0x32bb0c)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x41463b=>'general'!==_0x41463b)]},'children':[{'text':_0x5db268(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xed8714=>'chunk'!==_0xed8714)]},'children':[{'text':_0x5db268(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x295ad2]}),_0x3cb492;}['_createCancelButtonView'](){const _0x3da37e=new _0x3ddfe5(this['locale']);return _0x3da37e['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3e096c}),_0x3da37e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4c600f=>_0x4c600f)]}}),_0x3da37e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3da37e;}['_createToggleDiffButtonView'](){const _0x1e754b=new _0x3ddfe5(this['locale']);_0x1e754b['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x1e754b['bind']('isEnabled')['to'](this,'isError',_0x403558=>!_0x403558),_0x1e754b['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4403c4=>!_0x4403c4)]}});const _0x44e99f=_0x5db268(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2a5359=_0x5db268(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x1e754b['bind']('isOn')['to'](this,'isToggleDiffOn',_0xded50b=>_0xded50b),_0x1e754b['bind']('icon')['to'](this,'isToggleDiffOn',_0x3c66bc=>_0x3c66bc?_0x297454:_0x2833ec),_0x1e754b['bind']('label')['to'](this,'isToggleDiffOn',_0x28cbda=>_0x28cbda?_0x44e99f:_0x2a5359),_0x1e754b['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x1e754b;}['_createAcceptAllButtonView'](){const _0x181e5=new _0x3ddfe5(this['locale']);return _0x181e5['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x181e5['bind']('isEnabled')['to'](this,'isError',_0x4c49a1=>!_0x4c49a1),_0x181e5['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x496526=>!_0x496526)]}}),_0x181e5['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x181e5;}['_createExitReviewButtonView'](){const _0x352158=new _0x3ddfe5(this['locale']);return _0x352158['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x352158['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x50c98b=>!_0x50c98b)]}}),_0x352158['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x352158;}['_createResultHeaderView'](){const _0x364cbe=new _0x390f3f(this['locale']),_0x501dc4=new _0x506b57();return _0x501dc4['bind']('isVisible')['to'](this,'isResultReady',_0x4c1efa=>!_0x4c1efa),_0x364cbe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x501dc4,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x364cbe;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x3e5d18,IconView as _0x2c2c76,View as _0x478782,ViewCollection as _0x5f2605,ButtonView as _0x37a097,clickOutsideHandler as _0x2f1da3}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x3b4629}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x85d119}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x299c5f}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x3e5d18{['_formItemsCollection']=new _0x5f2605();['_customCheckView']=null;constructor(_0xf62351,_0x52831d,_0x599ee2){super(_0xf62351),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x52831d['isParameterized']);const _0x34cd96=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x27a7d2=>_0x27a7d2),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x53c7c8=>_0x53c7c8)],'style':{'--ck-ai-check-list-item-index':_0x599ee2}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x52831d['title']}]},_0x34cd96]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x52831d['description']}]}]}]},..._0x52831d['isParameterized']?[this['_createParameterizedView'](_0x52831d)]:[],...'custom'===_0x52831d['id']?[this['_createCustomView'](_0x52831d)]:[]]}),this['on']('click',()=>{_0x52831d['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x52831d['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x2f1da3({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4921cb=>{_0x4921cb['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x512867=new _0x2c2c76();return _0x512867['content']=_0x3b4629,_0x512867['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x512867;}['_createParameterizedView'](_0x4645eb){const _0x1c15ae=new _0x478782(),_0x10f846=this['_createFormView'](_0x4645eb);return _0x1c15ae['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x22ea57=>!_0x22ea57)]},'children':[_0x10f846]}),_0x1c15ae;}['_createFormView'](_0x5c0cf4){const _0x1e5c23=new _0x478782(),_0x3bba01=Array['isArray'](_0x5c0cf4['options'])?_0x5c0cf4['options']:[],_0x5acfcb=new _0x37a097(this['locale']),t=this['locale']['t'];_0x5acfcb['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5acfcb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x37cf75=>{_0x37cf75['stopPropagation']();})}}),_0x5acfcb['on']('execute',()=>{const _0xfbbe30=[],_0x141e6b={};this['_formItemsCollection']['forEach'](_0x4a5a85=>{_0xfbbe30['push'](_0x4a5a85['value']),_0x5c0cf4['useArgs']&&_0x5c0cf4['options']&&(_0x141e6b[_0x4a5a85['argsKey']]=_0x4a5a85['value']);}),this['fire']('runReviewCheck',{'id':_0x5c0cf4['id'],'params':_0xfbbe30['length']?_0xfbbe30:void 0x0,'args':Object['keys'](_0x141e6b)['length']?_0x141e6b:void 0x0});});const _0x50d47f=_0x3bba01['length'];return _0x3bba01['forEach']((_0xb10c3,_0x13ee49)=>{const _0x1c83c3=_0x13ee49===_0x50d47f-0x1;this['_formItemsCollection']['add'](new _0x85d119(this['locale'],_0xb10c3,_0x1c83c3?_0x5acfcb:null));}),_0x1e5c23['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1e5c23;}['_createCustomView'](_0x827676){return this['_customCheckView']=new _0x299c5f(this['locale'],_0x827676),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x559d48=>!_0x559d48)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34574d=_0x11b9;(function(_0xb95395,_0x34fc5a){const _0x40362b=_0x11b9,_0x14615b=_0xb95395();while(!![]){try{const _0x17750b=parseInt(_0x40362b(0x16d))/0x1*(parseInt(_0x40362b(0x17b))/0x2)+parseInt(_0x40362b(0x16f))/0x3+-parseInt(_0x40362b(0x181))/0x4*(-parseInt(_0x40362b(0x16b))/0x5)+-parseInt(_0x40362b(0x17e))/0x6*(parseInt(_0x40362b(0x171))/0x7)+-parseInt(_0x40362b(0x187))/0x8*(parseInt(_0x40362b(0x18b))/0x9)+-parseInt(_0x40362b(0x179))/0xa*(-parseInt(_0x40362b(0x178))/0xb)+-parseInt(_0x40362b(0x16a))/0xc;if(_0x17750b===_0x34fc5a)break;else _0x14615b['push'](_0x14615b['shift']());}catch(_0x531883){_0x14615b['push'](_0x14615b['shift']());}}}(_0x17a1,0xf0e1c));import{ListItemView as _0x1c1014,View as _0x39ef62,ButtonView as _0x379cb6}from'ckeditor5/src/ui.js';function _0x17a1(){const _0xacbfe8=['7864vCCCaS','div','bindTemplate','_createFinishReviewButtonView','11835FxmSNZ','set','setTemplate','ck-ai-review-mode__review-completed-header','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','ck-ai-review-mode__review-completed-header-title','ck-ai-review-mode__review-completed-content-text','span','7437300hovEGH','30OLIswE','ck-ai-review-mode__review-completed','2Couuoy','ck-ai-button-primary','3278343aVtdwP','ck-hidden','21keiDms','finishReview','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed-content','isVisible','fire','viewType','28534cXitdc','3050dLseAo','completed','561374IXJeXk','_createResultHeaderView','AI_REVIEW_MODE_COMPLETED_TEXT','1544502gBnrhQ','_finishReviewButtonView','locale','817332MisvKw','resultsHeader','ck-ai-review-mode__review-completed-header-buttons','execute','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'];_0x17a1=function(){return _0xacbfe8;};return _0x17a1();}import{getTranslation as _0x45b9bd}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x11b9(_0x3bdbf4,_0x5dd007){const _0x17a1d7=_0x17a1();return _0x11b9=function(_0x11b979,_0x439fe0){_0x11b979=_0x11b979-0x163;let _0x414ef5=_0x17a1d7[_0x11b979];return _0x414ef5;},_0x11b9(_0x3bdbf4,_0x5dd007);}export class AIReviewModeReviewCompletedView extends _0x1c1014{[_0x34574d(0x182)];[_0x34574d(0x17f)];constructor(_0x5ef4f7){const _0x29d177=_0x34574d;super(_0x5ef4f7),this[_0x29d177(0x17f)]=this[_0x29d177(0x18a)](),this[_0x29d177(0x182)]=this[_0x29d177(0x17c)](),this[_0x29d177(0x163)](_0x29d177(0x177),_0x29d177(0x17a));const _0x3355cb=this[_0x29d177(0x189)];this[_0x29d177(0x164)]({'tag':_0x29d177(0x188),'attributes':{'class':[_0x29d177(0x16c),_0x3355cb['if'](_0x29d177(0x175),_0x29d177(0x170),_0x24618b=>!_0x24618b)]},'children':[this[_0x29d177(0x182)],{'tag':_0x29d177(0x188),'attributes':{'class':[_0x29d177(0x174)]},'children':[{'tag':_0x29d177(0x169),'attributes':{'class':[_0x29d177(0x173)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0x29d177(0x168)]},'children':[{'text':_0x3355cb['to'](_0x29d177(0x177),_0x45c251=>_0x45b9bd(_0x5ef4f7,_0x29d177(0x17a)===_0x45c251?_0x29d177(0x17d):_0x29d177(0x166)))}]}]}]});}[_0x34574d(0x18a)](){const _0x33433d=_0x34574d,_0x18c36e=new _0x379cb6(this[_0x33433d(0x180)]);return _0x18c36e[_0x33433d(0x163)]({'label':_0x45b9bd(this[_0x33433d(0x180)],_0x33433d(0x186)),'withText':!0x0,'class':_0x33433d(0x16e)}),_0x18c36e['on'](_0x33433d(0x184),()=>{const _0x5d7f3b=_0x33433d;this[_0x5d7f3b(0x176)](_0x5d7f3b(0x172));}),_0x18c36e;}[_0x34574d(0x17c)](){const _0x1b36bc=_0x34574d,_0x2d6cda=new _0x39ef62(this[_0x1b36bc(0x180)]);return _0x2d6cda[_0x1b36bc(0x164)]({'tag':_0x1b36bc(0x188),'attributes':{'class':[_0x1b36bc(0x165)]},'children':[{'tag':_0x1b36bc(0x169),'attributes':{'class':[_0x1b36bc(0x167)]},'children':[{'text':_0x45b9bd(this[_0x1b36bc(0x180)],_0x1b36bc(0x185))}]},{'tag':_0x1b36bc(0x188),'attributes':{'class':[_0x1b36bc(0x183)]},'children':[this[_0x1b36bc(0x17f)]]}]}),_0x2d6cda;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5a6b09=_0x3935;(function(_0x3631a8,_0x2efd0b){var _0x24ee2e=_0x3935,_0x4dd11b=_0x3631a8();while(!![]){try{var _0x592ce8=-parseInt(_0x24ee2e(0x188))/0x1+-parseInt(_0x24ee2e(0x17f))/0x2+parseInt(_0x24ee2e(0x177))/0x3*(parseInt(_0x24ee2e(0x178))/0x4)+-parseInt(_0x24ee2e(0x16a))/0x5*(-parseInt(_0x24ee2e(0x167))/0x6)+parseInt(_0x24ee2e(0x172))/0x7+parseInt(_0x24ee2e(0x18c))/0x8*(parseInt(_0x24ee2e(0x174))/0x9)+-parseInt(_0x24ee2e(0x16f))/0xa;if(_0x592ce8===_0x2efd0b)break;else _0x4dd11b['push'](_0x4dd11b['shift']());}catch(_0x472995){_0x4dd11b['push'](_0x4dd11b['shift']());}}}(_0x2b98,0x8f49e));import{View as _0x1547ca,FormHeaderView as _0x3c84b3}from'ckeditor5/src/ui.js';function _0x3935(_0x4ca215,_0x535b5d){var _0x2b98d0=_0x2b98();return _0x3935=function(_0x3935f3,_0x406536){_0x3935f3=_0x3935f3-0x167;var _0xeac6e3=_0x2b98d0[_0x3935f3];return _0xeac6e3;},_0x3935(_0x4ca215,_0x535b5d);}import{IconAIReview as _0x264206}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x412f29}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x219c44}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x47d7d4}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x46f654}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x530cfa}from'../../aicore/utils/common-translations.js';function _0x2b98(){var _0x35f514=['clearResults','addCheckRunResult','completed','isLoading','viewType','set','showActionsWhenResultIsReady','ck-reset_all','4589502LiUjaC','reviewCheckListView','reviewCompletedView','5oeEMnl','ck-rounded-corners','showReviewCheckListView','resetAllParameterizedChecks','showNoChangesView','18274530FyyUke','ck-ai-review-mode','showReviewCheckResultsView','6794592xlGLTS','isResultReady','9297hqucXD','showReviewCompletedView','div','114zaiAep','96752AdALZR','isVisible','showGeneralErrorMessage','showChunkErrorMessage','ltr','hideActionsWhenResultIsReady','setTemplate','1692864gNwNHC','delegate','resetErrorState','unmodified','reviewCheckResultsView','addResult','ck-ai-header\x20ck-ai-header_review-mode','showChunkErrorView','showGeneralErrorView','420724LeAAme','AI_REVIEW_MODE','reviewModeHeader','finishReview','7952yLrisx'];_0x2b98=function(){return _0x35f514;};return _0x2b98();}export class AIReviewModeView extends _0x1547ca{[_0x5a6b09(0x18a)];[_0x5a6b09(0x168)];[_0x5a6b09(0x183)];[_0x5a6b09(0x169)];constructor(_0x4af73a){var _0x550cc2=_0x5a6b09;super(_0x4af73a),this[_0x550cc2(0x18a)]=new _0x3c84b3(_0x4af73a,{'label':_0x530cfa(_0x4af73a,_0x550cc2(0x189)),'icon':_0x264206,'class':_0x550cc2(0x185)}),this[_0x550cc2(0x168)]=new _0x412f29(_0x4af73a),this[_0x550cc2(0x168)][_0x550cc2(0x180)](..._0x219c44)['to'](this),this[_0x550cc2(0x183)]=new _0x47d7d4(_0x4af73a),this[_0x550cc2(0x183)][_0x550cc2(0x180)](..._0x219c44)['to'](this),this[_0x550cc2(0x169)]=new _0x46f654(_0x4af73a),this[_0x550cc2(0x169)][_0x550cc2(0x180)](_0x550cc2(0x18b))['to'](this),this[_0x550cc2(0x168)][_0x550cc2(0x192)](_0x550cc2(0x179),!0x1),this[_0x550cc2(0x183)][_0x550cc2(0x192)](_0x550cc2(0x179),!0x1),this[_0x550cc2(0x183)][_0x550cc2(0x192)](_0x550cc2(0x190),!0x1),this[_0x550cc2(0x183)][_0x550cc2(0x192)](_0x550cc2(0x173),!0x1),this[_0x550cc2(0x169)][_0x550cc2(0x192)](_0x550cc2(0x179),!0x1),this[_0x550cc2(0x17e)]({'tag':_0x550cc2(0x176),'attributes':{'class':['ck',_0x550cc2(0x194),_0x550cc2(0x170),_0x550cc2(0x16b)],'dir':_0x550cc2(0x17c)},'children':[this[_0x550cc2(0x18a)],this[_0x550cc2(0x168)],this[_0x550cc2(0x183)],this[_0x550cc2(0x169)]]});}[_0x5a6b09(0x16c)](){var _0x5ae38d=_0x5a6b09;this[_0x5ae38d(0x168)][_0x5ae38d(0x16d)](),this[_0x5ae38d(0x168)][_0x5ae38d(0x192)](_0x5ae38d(0x179),!0x0),this[_0x5ae38d(0x183)][_0x5ae38d(0x192)](_0x5ae38d(0x179),!0x1),this[_0x5ae38d(0x169)][_0x5ae38d(0x192)](_0x5ae38d(0x179),!0x1);}[_0x5a6b09(0x171)](){var _0x17cac5=_0x5a6b09;this[_0x17cac5(0x17d)](),this[_0x17cac5(0x183)][_0x17cac5(0x181)](),this[_0x17cac5(0x168)][_0x17cac5(0x192)](_0x17cac5(0x179),!0x1),this[_0x17cac5(0x183)][_0x17cac5(0x192)](_0x17cac5(0x179),!0x0),this[_0x17cac5(0x183)][_0x17cac5(0x18d)](),this[_0x17cac5(0x183)][_0x17cac5(0x192)](_0x17cac5(0x190),!0x0);}[_0x5a6b09(0x18e)](_0x5eade6){var _0x4b536b=_0x5a6b09;this[_0x4b536b(0x183)][_0x4b536b(0x184)](_0x5eade6),this[_0x4b536b(0x183)][_0x4b536b(0x192)](_0x4b536b(0x190),!0x1);}[_0x5a6b09(0x175)](){var _0x4a8daa=_0x5a6b09;this[_0x4a8daa(0x168)][_0x4a8daa(0x192)](_0x4a8daa(0x179),!0x1),this[_0x4a8daa(0x183)][_0x4a8daa(0x192)](_0x4a8daa(0x179),!0x1),this[_0x4a8daa(0x169)][_0x4a8daa(0x192)](_0x4a8daa(0x191),_0x4a8daa(0x18f)),this[_0x4a8daa(0x169)][_0x4a8daa(0x192)](_0x4a8daa(0x179),!0x0);}[_0x5a6b09(0x193)](){var _0x1c08c1=_0x5a6b09;this[_0x1c08c1(0x183)][_0x1c08c1(0x173)]=!0x0;}[_0x5a6b09(0x16e)](){var _0x213b84=_0x5a6b09;this[_0x213b84(0x168)][_0x213b84(0x192)](_0x213b84(0x179),!0x1),this[_0x213b84(0x183)][_0x213b84(0x192)](_0x213b84(0x179),!0x1),this[_0x213b84(0x169)][_0x213b84(0x192)](_0x213b84(0x191),_0x213b84(0x182)),this[_0x213b84(0x169)][_0x213b84(0x192)](_0x213b84(0x179),!0x0);}[_0x5a6b09(0x17d)](){var _0x363a00=_0x5a6b09;this[_0x363a00(0x183)][_0x363a00(0x173)]=!0x1;}[_0x5a6b09(0x187)](){var _0x542129=_0x5a6b09;this[_0x542129(0x183)][_0x542129(0x192)](_0x542129(0x190),!0x1),this[_0x542129(0x193)](),this[_0x542129(0x183)][_0x542129(0x17a)]();}[_0x5a6b09(0x186)](){var _0x28b67b=_0x5a6b09;this[_0x28b67b(0x183)][_0x28b67b(0x192)](_0x28b67b(0x190),!0x1),this[_0x28b67b(0x193)](),this[_0x28b67b(0x183)][_0x28b67b(0x17b)]();}}
|