@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.1
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-editor.css +105 -11
- package/dist/index.css +105 -11
- 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.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/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/aiconfig.d.ts +11 -0
- 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.d.ts +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/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/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.d.ts +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.d.ts +1 -0
- 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/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
- 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/aireviewmode/utils/common-translations.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/index.js +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32ff22=_0xfc59;(function(_0x509ddd,_0x39f708){const _0x1427ac=_0xfc59,_0x14528e=_0x509ddd();while(!![]){try{const _0x1e530e=-parseInt(_0x1427ac(0xd9))/0x1+parseInt(_0x1427ac(0x94))/0x2*(parseInt(_0x1427ac(0xbd))/0x3)+parseInt(_0x1427ac(0xd2))/0x4*(-parseInt(_0x1427ac(0xda))/0x5)+parseInt(_0x1427ac(0xa1))/0x6*(-parseInt(_0x1427ac(0xaf))/0x7)+parseInt(_0x1427ac(0xd7))/0x8+parseInt(_0x1427ac(0xbe))/0x9+-parseInt(_0x1427ac(0xd5))/0xa*(-parseInt(_0x1427ac(0xcc))/0xb);if(_0x1e530e===_0x39f708)break;else _0x14528e['push'](_0x14528e['shift']());}catch(_0x57d8ca){_0x14528e['push'](_0x14528e['shift']());}}}(_0x20e2,0x53378));import{ObservableMixin as _0x5ecc9d,uid as _0x5ede9c}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0xf21085}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x26cd66}from'./aireviewcheckresultchange.js';function _0xfc59(_0x27cd31,_0x597db4){const _0x20e2ee=_0x20e2();return _0xfc59=function(_0xfc5997,_0x2a04b3){_0xfc5997=_0xfc5997-0x92;let _0x785065=_0x20e2ee[_0xfc5997];return _0x785065;},_0xfc59(_0x27cd31,_0x597db4);}export class AIReviewCheckRun extends _0x5ecc9d(){['id']=_0x5ede9c();[_0x32ff22(0xb4)]=new Map();[_0x32ff22(0xa4)]=[];[_0x32ff22(0x9c)];[_0x32ff22(0xc2)];[_0x32ff22(0x9b)];[_0x32ff22(0x95)];[_0x32ff22(0xdd)]=null;[_0x32ff22(0xca)];constructor(_0x105748,_0x128d25,_0x3c3c2b,_0x2dc67a){const _0x4c9b95=_0x32ff22;super(),this[_0x4c9b95(0x9c)]=_0x105748,this[_0x4c9b95(0xc2)]=_0x128d25,this[_0x4c9b95(0x9b)]=_0x3c3c2b,this[_0x4c9b95(0x95)]=_0x2dc67a,this['on'](_0x4c9b95(0xc3),(_0x4bdf06,_0x24f0d2,_0xd15b07)=>{const _0xa8129=_0x4c9b95;this[_0xa8129(0xb0)](_0xa8129(0xac),{'status':_0xd15b07,'run':this,'error':this[_0xa8129(0xca)]});}),this[_0x4c9b95(0xbc)](_0x4c9b95(0x9e),_0x4c9b95(0xbb));}get[_0x32ff22(0xb8)](){const _0xc523a6=_0x32ff22;return this[_0xc523a6(0x9c)];}get[_0x32ff22(0xa3)](){const _0x266ae1=_0x32ff22;return this[_0x266ae1(0xb4)][_0x266ae1(0xbf)];}async[_0x32ff22(0xa0)](){const _0x2d9235=_0x32ff22;this[_0x2d9235(0x9e)]=_0x2d9235(0xc5),this[_0x2d9235(0xca)]=void 0x0;try{this[_0x2d9235(0xdd)]=this[_0x2d9235(0x98)]();const _0x1bf807=await this[_0x2d9235(0xdd)][_0x2d9235(0xa9)]();this[_0x2d9235(0x9e)]=_0x2d9235(0x9d);for await(const _0x12094f of _0x1bf807)_0x2d9235(0xce)!==_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xb9)]&&(_0x2d9235(0x92)!==_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xb9)]?this[_0x2d9235(0xb2)](_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xaa)],_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xd6)]):this[_0x2d9235(0x9e)]=_0x2d9235(0xb7));_0x2d9235(0xb7)!==this[_0x2d9235(0x9e)]&&(this[_0x2d9235(0x9e)]=_0x2d9235(0xb1));}catch(_0xd734c4){this[_0x2d9235(0xca)]=_0xd734c4,_0xd734c4 instanceof Error&&_0xd734c4[_0x2d9235(0xab)][_0x2d9235(0xd4)](_0x2d9235(0xba))?this[_0x2d9235(0x9e)]=_0x2d9235(0xc4):this[_0x2d9235(0x9e)]=_0x2d9235(0xc6);}finally{this[_0x2d9235(0xdd)]=null;}}async[_0x32ff22(0xc0)](){const _0x2fb7d5=_0x32ff22;this[_0x2fb7d5(0xb4)][_0x2fb7d5(0xad)](),this[_0x2fb7d5(0xa4)][_0x2fb7d5(0xa7)]=0x0,this[_0x2fb7d5(0xca)]=void 0x0,await this[_0x2fb7d5(0xa0)]();}[_0x32ff22(0xd1)](_0x10de17,_0x5ec867){const _0x4f2ef6=_0x32ff22,_0x5e1332=this[_0x4f2ef6(0xb4)][_0x4f2ef6(0xdb)](_0x10de17);if(!_0x5e1332)return;const _0x41a881=[];_0x5ec867[_0x4f2ef6(0xc7)]((_0x49623a,_0x47911d)=>{const _0x5654a0=_0x4f2ef6,_0x233b93=new _0x26cd66(_0x5e1332['id']+'-'+_0x47911d,_0x49623a,_0x5e1332);_0x233b93['on'](_0x5654a0(0xc3),()=>{const _0x591caa=_0x5654a0;_0x591caa(0xd8)===_0x233b93[_0x591caa(0x9e)]?this[_0x591caa(0xb0)](_0x591caa(0x93),{'change':_0x233b93}):_0x591caa(0xcd)===_0x233b93[_0x591caa(0x9e)]&&this[_0x591caa(0xb0)](_0x591caa(0xa5),{'change':_0x233b93});}),this[_0x5654a0(0xa4)][_0x5654a0(0xc8)](_0x233b93),_0x41a881[_0x5654a0(0xc8)](_0x233b93);}),this[_0x4f2ef6(0xb0)](_0x4f2ef6(0xa6),{'changes':_0x41a881,'result':_0x5e1332,'source':this});}[_0x32ff22(0xd3)](){const _0x4455d6=_0x32ff22;this[_0x4455d6(0xdd)]&&(this[_0x4455d6(0xdd)][_0x4455d6(0x9a)][_0x4455d6(0xd3)](),this[_0x4455d6(0xdd)]=null,this[_0x4455d6(0x9e)]=_0x4455d6(0xc4));}[_0x32ff22(0xae)](_0xc72371){const _0x18e422=_0x32ff22,_0x160a05=this[_0x18e422(0xa4)][_0x18e422(0x9f)](_0xf81da6=>_0xf81da6['id']===_0xc72371);return!(!_0x160a05||_0x18e422(0x96)!==_0x160a05[_0x18e422(0x9e)]);}[_0x32ff22(0xc1)](){const _0x336972=_0x32ff22;return this[_0x336972(0xa4)][_0x336972(0x99)](_0x5837ec=>_0x336972(0x96)===_0x5837ec[_0x336972(0x9e)]);}[_0x32ff22(0xcf)](){const _0x3e67e8=_0x32ff22;for(const _0x526cda of this[_0x3e67e8(0xa4)])_0x3e67e8(0x96)===_0x526cda[_0x3e67e8(0x9e)]&&(_0x526cda[_0x3e67e8(0x9e)]=_0x3e67e8(0xd8));this[_0x3e67e8(0xcb)]();}[_0x32ff22(0x97)](_0x5aea35){const _0x5dd71e=_0x32ff22,_0x4f9828=this[_0x5dd71e(0xa4)][_0x5dd71e(0x9f)](_0x5dc400=>_0x5dc400['id']===_0x5aea35);_0x4f9828&&_0x5dd71e(0x96)===_0x4f9828[_0x5dd71e(0x9e)]&&(_0x4f9828[_0x5dd71e(0x9e)]=_0x5dd71e(0xd8)),this[_0x5dd71e(0xcb)]();}[_0x32ff22(0xa2)](_0xbe8376){const _0x361f2a=_0x32ff22,_0x4b907f=this[_0x361f2a(0xa4)][_0x361f2a(0x9f)](_0xa95921=>_0xa95921['id']===_0xbe8376);_0x4b907f&&_0x361f2a(0x96)===_0x4b907f[_0x361f2a(0x9e)]&&(_0x4b907f[_0x361f2a(0x9e)]=_0x361f2a(0xcd)),this[_0x361f2a(0xcb)]();}[_0x32ff22(0xa8)](){const _0x50779e=_0x32ff22;this[_0x50779e(0x9e)]=_0x50779e(0xb1);}[_0x32ff22(0xb2)](_0x321459,_0x3281d3){const _0x1c2575=_0x32ff22,_0x7f5f36=this[_0x1c2575(0x9c)][_0x1c2575(0xdc)][_0x1c2575(0xdb)](_0x321459);if(!_0x7f5f36)return;const _0x23b0e2=_0x7f5f36[_0x1c2575(0xc9)]();if(_0x23b0e2===_0x3281d3)return;const _0x4c70d6=new _0xf21085({'id':_0x321459,'contentInitial':_0x23b0e2,'contentNew':_0x3281d3,'documentVersion':this[_0x1c2575(0x9c)][_0x1c2575(0xb3)]});this[_0x1c2575(0xb4)][_0x1c2575(0xbc)](_0x4c70d6['id'],_0x4c70d6),this[_0x1c2575(0xb0)](_0x1c2575(0xb6),{'result':_0x4c70d6,'source':this});}[_0x32ff22(0xcb)](){const _0x458956=_0x32ff22;if(_0x458956(0xb1)!==this[_0x458956(0x9e)])return;0x0===this[_0x458956(0xa4)][_0x458956(0x99)](_0x431fc0=>_0x458956(0x96)===_0x431fc0[_0x458956(0x9e)])[_0x458956(0xa7)]&&(this[_0x458956(0x9e)]=_0x458956(0xb5));}[_0x32ff22(0x98)](){const _0x1775e9=_0x32ff22;throw new Error(_0x1775e9(0xd0));}}function _0x20e2(){const _0x3463d4=['getContent','_currentError','_checkIfFinished','2178946BVISTk','rejected','unmodified','markAllChangesAsAccepted','Not\x20implemented.','addResultChanges','4ftoXPG','abort','includes','10sJIaJS','textDelta','3050544ttFMwN','accepted','166677IqwsZt','2222245hSlFnS','get','elements','_activeRequest','error','reviewCheckResultAccepted','2OqFUca','_reviewArgs','active','markChangeAsAccepted','_createApiRequest','filter','abortController','_aiConnector','_documentData','data','status','find','start','11988hCTTWr','markChangeAsRejected','processedResultsCount','_changes','reviewCheckResultRejected','reviewCheckResultReady','length','forceReadyState','getStream','dataId','message','reviewCheckRunUpdated','clear','isChangeActive','315wGeLuw','fire','ready','_addReviewCheckResult','version','_results','finished','reviewCheckResultAdded','error-chunk','documentData','operation','ai-request-aborted','initialized','set','437787QOHcly','2849031uCnLEL','size','restart','getActiveChanges','_sourceCheck','change:status','aborted','loading','error-general','forEach','push'];_0x20e2=function(){return _0x3463d4;};return _0x20e2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x19ee(_0x597a1b,_0x490d9e){var _0x2746ce=_0x2746();return _0x19ee=function(_0x19ee2b,_0x5624d8){_0x19ee2b=_0x19ee2b-0x9e;var _0x5aa9d1=_0x2746ce[_0x19ee2b];return _0x5aa9d1;},_0x19ee(_0x597a1b,_0x490d9e);}var _0x38b7cc=_0x19ee;(function(_0x5c1a40,_0x2e4e3a){var _0x54f9ac=_0x19ee,_0x242471=_0x5c1a40();while(!![]){try{var _0x14ecdb=-parseInt(_0x54f9ac(0xad))/0x1*(parseInt(_0x54f9ac(0xaa))/0x2)+-parseInt(_0x54f9ac(0xac))/0x3+-parseInt(_0x54f9ac(0xab))/0x4+parseInt(_0x54f9ac(0x9e))/0x5*(parseInt(_0x54f9ac(0xa3))/0x6)+-parseInt(_0x54f9ac(0xa6))/0x7+-parseInt(_0x54f9ac(0xa1))/0x8+parseInt(_0x54f9ac(0xa5))/0x9*(parseInt(_0x54f9ac(0xa4))/0xa);if(_0x14ecdb===_0x2e4e3a)break;else _0x242471['push'](_0x242471['shift']());}catch(_0x101bde){_0x242471['push'](_0x242471['shift']());}}}(_0x2746,0xa427d));import{AIReviewCheckRun as _0xa7a3c9}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0xa7a3c9{[_0x38b7cc(0xa2)];[_0x38b7cc(0xa9)];constructor(_0x157e2b,_0x3d058e,_0x1c6e35,_0x4e1edc,_0x41b60f){var _0x51b938=_0x38b7cc;super(_0x1c6e35,_0x4e1edc,_0x41b60f),this[_0x51b938(0xa2)]=_0x157e2b,this[_0x51b938(0xa9)]=_0x3d058e;}[_0x38b7cc(0x9f)](){var _0x46c9d5=_0x38b7cc;return this[_0x46c9d5(0xa8)][_0x46c9d5(0xae)]({'content':this[_0x46c9d5(0xa0)][_0x46c9d5(0xa7)],'prompt':this[_0x46c9d5(0xa2)],'model':this[_0x46c9d5(0xa9)]});}}function _0x2746(){var _0x44a0d3=['_model','12790bZsyWE','1744136aNBghh','3621546bvUSHy','10cSfDff','callCustomReview','397470eeEOGC','_createApiRequest','_documentData','8536288xFjcbd','_prompt','18HzCLFH','30rzXITd','11648178jQHIjM','4722375jeKSHf','content','_aiConnector'];_0x2746=function(){return _0x44a0d3;};return _0x2746();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x259ff4=_0x1334;(function(_0x2ee72e,_0x158813){const _0x1d8279=_0x1334,_0x4c390f=_0x2ee72e();while(!![]){try{const _0x20e846=-parseInt(_0x1d8279(0x1f7))/0x1+parseInt(_0x1d8279(0x1ef))/0x2+parseInt(_0x1d8279(0x1f3))/0x3*(-parseInt(_0x1d8279(0x1f6))/0x4)+parseInt(_0x1d8279(0x1f1))/0x5+-parseInt(_0x1d8279(0x1ed))/0x6+-parseInt(_0x1d8279(0x1ec))/0x7*(-parseInt(_0x1d8279(0x1ee))/0x8)+parseInt(_0x1d8279(0x1f2))/0x9;if(_0x20e846===_0x158813)break;else _0x4c390f['push'](_0x4c390f['shift']());}catch(_0x4ac418){_0x4c390f['push'](_0x4c390f['shift']());}}}(_0x3561,0x84e04));import{EmitterMixin as _0x1f58b1}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x1f58b1(){[_0x259ff4(0x1f8)]=[];[_0x259ff4(0x1f9)];constructor({connector:_0x50e1af}){const _0x5a9520=_0x259ff4;super(),this[_0x5a9520(0x1f9)]=_0x50e1af;}async[_0x259ff4(0x1fb)](){const _0x2d3be1=_0x259ff4;if(!this[_0x2d3be1(0x1f8)][_0x2d3be1(0x1f5)])try{const _0x362dea=this[_0x2d3be1(0x1f9)][_0x2d3be1(0x1f4)](),_0x4526a7=await _0x362dea[_0x2d3be1(0x1f0)]();this[_0x2d3be1(0x1f8)]=_0x4526a7[_0x2d3be1(0x1fa)];}catch{}return this[_0x2d3be1(0x1f8)];}}function _0x1334(_0x28407f,_0x1cc32a){const _0x356119=_0x3561();return _0x1334=function(_0x1334a5,_0x2f7f9f){_0x1334a5=_0x1334a5-0x1ec;let _0x25651a=_0x356119[_0x1334a5];return _0x25651a;},_0x1334(_0x28407f,_0x1cc32a);}function _0x3561(){const _0x1ded6e=['list','2800170lJXoKP','8872713JeVryc','306081cmSJCD','getModels','length','8uCCUYZ','644290pIMNcW','_modelList','_connector','items','getAll','13237mXyFNA','4039590KrpHzT','1976yFyKJm','105802wvAjBK'];_0x3561=function(){return _0x1ded6e;};return _0x3561();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x30e4c0=_0xcca5;function _0xcca5(_0x3cd60f,_0x4bcd36){var _0x384e89=_0x384e();return _0xcca5=function(_0xcca50,_0x482095){_0xcca50=_0xcca50-0x13d;var _0x247cad=_0x384e89[_0xcca50];return _0x247cad;},_0xcca5(_0x3cd60f,_0x4bcd36);}(function(_0x215691,_0x218165){var _0x1ecb8c=_0xcca5,_0x3867ba=_0x215691();while(!![]){try{var _0x19d164=-parseInt(_0x1ecb8c(0x149))/0x1+parseInt(_0x1ecb8c(0x14c))/0x2+parseInt(_0x1ecb8c(0x143))/0x3+parseInt(_0x1ecb8c(0x13d))/0x4+-parseInt(_0x1ecb8c(0x14a))/0x5*(parseInt(_0x1ecb8c(0x146))/0x6)+-parseInt(_0x1ecb8c(0x142))/0x7*(-parseInt(_0x1ecb8c(0x14b))/0x8)+-parseInt(_0x1ecb8c(0x144))/0x9;if(_0x19d164===_0x218165)break;else _0x3867ba['push'](_0x3867ba['shift']());}catch(_0x3287c7){_0x3867ba['push'](_0x3867ba['shift']());}}}(_0x384e,0x6eb0d));function _0x384e(){var _0x288798=['670628KTpfSE','_aiConnector','_documentData','_sourceCheck','callSystemReview','7KuILCM','278949Zmaena','94212UwFfTJ','content','1201488SEciaz','_reviewArgs','_createApiRequest','196825XSNkJZ','5wnccmt','4009432CvNWsZ','198222BsSYkD'];_0x384e=function(){return _0x288798;};return _0x384e();}import{AIReviewCheckRun as _0x419f27}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x419f27{[_0x30e4c0(0x148)](){var _0x46504d=_0x30e4c0;return this[_0x46504d(0x13e)][_0x46504d(0x141)]({'reviewName':this[_0x46504d(0x140)]['id'],'content':this[_0x46504d(0x13f)][_0x46504d(0x145)],'args':this[_0x46504d(0x147)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3557de=_0x3e68;function _0x3e68(_0x1d8a41,_0x5bca4d){var _0x3dd791=_0x3dd7();return _0x3e68=function(_0x3e6800,_0x114698){_0x3e6800=_0x3e6800-0x164;var _0x5e074d=_0x3dd791[_0x3e6800];return _0x5e074d;},_0x3e68(_0x1d8a41,_0x5bca4d);}function _0x3dd7(){var _0x52e50b=['trim','9zoocam','set','475218rWGlXD','setPlaceholderText','ai-review-mode-prompt-input','minRows','1294412Tucbov','value','placeholder','5rpJPQg','element','bindTemplate','render','extendTemplate','MIN_ROWS','1bsSKJM','5203230lqZbwt','1905312uGmmGo','update','2147206YlLuXd','2813184BrtFcs','MAX_ROWS','isEmpty','ck-review-mode__prompt-input','maxRows','6526480FRWiVU','stopPropagation'];_0x3dd7=function(){return _0x52e50b;};return _0x3dd7();}(function(_0xa512a3,_0x2f3839){var _0x50b0c8=_0x3e68,_0x49f235=_0xa512a3();while(!![]){try{var _0x49365d=-parseInt(_0x50b0c8(0x16a))/0x1*(-parseInt(_0x50b0c8(0x16e))/0x2)+-parseInt(_0x50b0c8(0x16c))/0x3+parseInt(_0x50b0c8(0x16f))/0x4+parseInt(_0x50b0c8(0x164))/0x5*(-parseInt(_0x50b0c8(0x179))/0x6)+-parseInt(_0x50b0c8(0x17d))/0x7+-parseInt(_0x50b0c8(0x174))/0x8+parseInt(_0x50b0c8(0x177))/0x9*(parseInt(_0x50b0c8(0x16b))/0xa);if(_0x49365d===_0x2f3839)break;else _0x49f235['push'](_0x49f235['shift']());}catch(_0x54cb02){_0x49f235['push'](_0x49f235['shift']());}}}(_0x3dd7,0x8e22d));import{TextareaView as _0x4c30f7}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x4c30f7{static [_0x3557de(0x169)]=0x1;static [_0x3557de(0x170)]=0xc;constructor(_0x4e3d04){var _0x429bb6=_0x3557de;super(_0x4e3d04),this[_0x429bb6(0x178)](_0x429bb6(0x171),!0x0),this[_0x429bb6(0x17c)]=AIReviewModePromptInputView[_0x429bb6(0x169)],this[_0x429bb6(0x173)]=AIReviewModePromptInputView[_0x429bb6(0x170)],this[_0x429bb6(0x168)]({'attributes':{'id':_0x429bb6(0x17b),'class':['ck',_0x429bb6(0x172)]}}),this[_0x429bb6(0x168)]({'on':{'click':this[_0x429bb6(0x166)]['to'](_0x1d4965=>{var _0x4c44ca=_0x429bb6;_0x1d4965[_0x4c44ca(0x175)]();})}});}[_0x3557de(0x167)](){var _0x4c8ca1=_0x3557de;super[_0x4c8ca1(0x167)](),this['on'](_0x4c8ca1(0x16d),()=>{var _0x3d1152=_0x4c8ca1;this[_0x3d1152(0x171)]=''===this[_0x3d1152(0x165)][_0x3d1152(0x17e)]?.[_0x3d1152(0x176)]();});}[_0x3557de(0x17a)](_0x3161be){var _0x521ca0=_0x3557de;this[_0x521ca0(0x178)](_0x521ca0(0x17f),_0x3161be);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7a7b4=_0x2aec;(function(_0x5dbcee,_0x884b79){const _0x3d5857=_0x2aec,_0x12ecac=_0x5dbcee();while(!![]){try{const _0x407867=parseInt(_0x3d5857(0xad))/0x1*(parseInt(_0x3d5857(0xb1))/0x2)+-parseInt(_0x3d5857(0xa6))/0x3*(-parseInt(_0x3d5857(0xb4))/0x4)+parseInt(_0x3d5857(0xbf))/0x5*(parseInt(_0x3d5857(0xca))/0x6)+parseInt(_0x3d5857(0xb9))/0x7+parseInt(_0x3d5857(0xab))/0x8+-parseInt(_0x3d5857(0xcf))/0x9*(-parseInt(_0x3d5857(0xaa))/0xa)+-parseInt(_0x3d5857(0xd0))/0xb;if(_0x407867===_0x884b79)break;else _0x12ecac['push'](_0x12ecac['shift']());}catch(_0x2389b6){_0x12ecac['push'](_0x12ecac['shift']());}}}(_0x1b4f,0x50b47));function _0x1b4f(){const _0x4dfe9a=['setItemAsInactive','set','ck-ai-review-mode__check-run-result-response','_createInfoButtonView','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','locale','setTemplate','594291kEuQQk','ck-ai-review-mode__check-run-result-action-buttons','acceptChange','_createResultResponseView','650FtIFUh','2695384BsqQMj','Toggle\x20info\x20view','1083jtPMKu','AI_REVIEW_MODE_LEARN_MORE','click','extendTemplate','178xYyTLB','AI_REVIEW_MODE_DISMISS_CHANGE','bind','4BDaDrS','dismissChange','infoButtonView','scrollToSuggestionInDocument','resultResponseView','2235730VFOvLr','log','bindTemplate','_createDismissButtonView','setItemAsActive','dismissButtonView','5SNrcRq','isInfoToggleOn','ck-ai-review-mode__check-run-result','fire','menuitemcheckbox','stopPropagation','execute','ck-ai-review-mode__check-run-result_active','div','_createAcceptButtonView','ck-ai-review-mode__check-run-result-footer','1718322MpXvmg','isOn','AI_REVIEW_MODE_ACCEPT_CHANGE','isActive','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','58860DMyuDn','14648887kglYWp','acceptButtonView'];_0x1b4f=function(){return _0x4dfe9a;};return _0x1b4f();}import{View as _0x44fa38,ButtonView as _0x8f229e}from'ckeditor5/src/ui.js';function _0x2aec(_0x412331,_0xc92c54){const _0x1b4fca=_0x1b4f();return _0x2aec=function(_0x2aec90,_0x10a785){_0x2aec90=_0x2aec90-0x9d;let _0x2d3e7c=_0x1b4fca[_0x2aec90];return _0x2d3e7c;},_0x2aec(_0x412331,_0xc92c54);}import{IconInfo as _0x87d153}from'ckeditor5/src/icons.js';import{getTranslation as _0x4b05a0}from'../utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x44fa38{[_0x7a7b4(0xb8)];[_0x7a7b4(0x9d)];[_0x7a7b4(0xbe)];[_0x7a7b4(0xb6)];constructor(_0x3216c8,_0x3978b6){const _0x55d3d7=_0x7a7b4;super(_0x3216c8),this['id']=_0x3978b6,this[_0x55d3d7(0xb8)]=this[_0x55d3d7(0xa9)](),this[_0x55d3d7(0x9d)]=this[_0x55d3d7(0xc8)](_0x3978b6),this[_0x55d3d7(0xbe)]=this[_0x55d3d7(0xbc)](_0x3978b6),this[_0x55d3d7(0xb6)]=this[_0x55d3d7(0xa1)](),this[_0x55d3d7(0x9f)](_0x55d3d7(0xc0),!0x1),this[_0x55d3d7(0x9f)](_0x55d3d7(0xcd),!0x1),this[_0x55d3d7(0xa5)]({'tag':_0x55d3d7(0xc7),'attributes':{'class':[_0x55d3d7(0xc1),this[_0x55d3d7(0xbb)]['if'](_0x55d3d7(0xcd),_0x55d3d7(0xc6))]},'on':{'click':this[_0x55d3d7(0xbb)]['to'](_0x55d3d7(0xaf))},'children':[this[_0x55d3d7(0xb8)],{'tag':_0x55d3d7(0xc7),'attributes':{'class':[_0x55d3d7(0xc9)]},'children':[{'tag':_0x55d3d7(0xc7),'attributes':{'class':[_0x55d3d7(0xa7)]},'children':[this[_0x55d3d7(0x9d)],this[_0x55d3d7(0xbe)]]},this[_0x55d3d7(0xb6)]]}]}),this['on'](_0x55d3d7(0xaf),()=>{const _0x17f04b=_0x55d3d7;this[_0x17f04b(0xc2)](_0x17f04b(0xb7),{'id':_0x3978b6,'source':this});});}[_0x7a7b4(0xbd)](){const _0x1d315a=_0x7a7b4;this[_0x1d315a(0xcd)]=!0x0;}[_0x7a7b4(0x9e)](){const _0x2249ec=_0x7a7b4;this[_0x2249ec(0xcd)]=!0x1;}[_0x7a7b4(0xa9)](){const _0x20908b=_0x7a7b4,_0x4a6627=new _0x44fa38(this[_0x20908b(0xa4)]);return _0x4a6627[_0x20908b(0xa5)]({'tag':_0x20908b(0xc7),'attributes':{'class':[_0x20908b(0xa0)]}}),_0x4a6627;}[_0x7a7b4(0xc8)](_0x422d80){const _0xe70821=_0x7a7b4,_0x265fb9=new _0x8f229e(this[_0xe70821(0xa4)]);return _0x265fb9[_0xe70821(0x9f)]({'label':_0x4b05a0(this[_0xe70821(0xa4)],_0xe70821(0xcc)),'withText':!0x0,'class':_0xe70821(0xa2)}),_0x265fb9[_0xe70821(0xb0)]({'on':{'click':this[_0xe70821(0xbb)]['to'](_0xed31bb=>{const _0xba29ff=_0xe70821;this[_0xba29ff(0xc2)](_0xba29ff(0xa8),{'id':_0x422d80}),_0xed31bb[_0xba29ff(0xc4)]();})}}),_0x265fb9;}[_0x7a7b4(0xbc)](_0x34bf6c){const _0x3fe182=_0x7a7b4,_0x385566=new _0x8f229e(this[_0x3fe182(0xa4)]);return _0x385566[_0x3fe182(0x9f)]({'label':_0x4b05a0(this[_0x3fe182(0xa4)],_0x3fe182(0xb2)),'withText':!0x0,'class':_0x3fe182(0xce)}),_0x385566[_0x3fe182(0xb0)]({'on':{'click':this[_0x3fe182(0xbb)]['to'](_0x183116=>{const _0x483d91=_0x3fe182;this[_0x483d91(0xc2)](_0x483d91(0xb5),{'id':_0x34bf6c}),_0x183116[_0x483d91(0xc4)]();})}}),_0x385566;}[_0x7a7b4(0xa1)](){const _0x5e31e8=_0x7a7b4,_0x5842d0=new _0x8f229e(this[_0x5e31e8(0xa4)]);return _0x5842d0[_0x5e31e8(0x9f)]({'label':_0x4b05a0(this[_0x5e31e8(0xa4)],_0x5e31e8(0xae)),'icon':_0x87d153,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x5e31e8(0xc3),'class':_0x5e31e8(0xa3)}),_0x5842d0[_0x5e31e8(0xb3)](_0x5e31e8(0xcb))['to'](this,_0x5e31e8(0xc0),_0x298303=>_0x298303),_0x5842d0['on'](_0x5e31e8(0xc5),()=>{const _0x41a732=_0x5e31e8;console[_0x41a732(0xba)](_0x41a732(0xac)),this[_0x41a732(0xc0)]=!this[_0x41a732(0xc0)];}),_0x5842d0;}}
|
|
@@ -16,4 +16,8 @@ export declare class AIReviewModeCustomCheckView extends View {
|
|
|
16
16
|
cancelButtonView: ButtonView;
|
|
17
17
|
promptInputView: AIReviewModePromptInputView;
|
|
18
18
|
constructor(locale: Locale, check: AIReviewCheckCustom);
|
|
19
|
+
/**
|
|
20
|
+
* Resets the form to its default state.
|
|
21
|
+
*/
|
|
22
|
+
resetToDefault(): void;
|
|
19
23
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
import{Collection as _0x166461}from'ckeditor5/src/utils.js';import{View as _0x28d632,ButtonView as _0x4031e4,FormRowView as _0x545726,createDropdown as _0x4bb6b9,addListToDropdown as _0x23c78a,UIModel as _0x37aca6,ButtonLabelView as _0x285968}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x2c4451}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x28d632{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x3a55c6,_0x17ec4e){super(_0x3a55c6),this['_check']=_0x17ec4e,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x17ec4e['models']&&_0x17ec4e['models']['length']>0x0?_0x17ec4e['models'][0x0]['id']:'',this['_defaultLabel']=_0x17ec4e['models']&&_0x17ec4e['models']['length']>0x0?_0x17ec4e['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x2c4451(_0x3a55c6),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x166461(),this['_setModelList'](),_0x23c78a(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x6d4f3=new _0x28d632(_0x3a55c6);_0x6d4f3['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 _0x545726(this['locale'],{'children':[this['promptInputView']]}),new _0x545726(this['locale'],{'children':[_0x6d4f3]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x14da51=new _0x4031e4(this['locale']),t=this['locale']['t'];return _0x14da51['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x14da51['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5e3253=>{_0x5e3253['stopPropagation']();})}}),_0x14da51['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x14da51;}['_createCancelButtonView'](){const _0x178f60=new _0x4031e4(this['locale']),t=this['locale']['t'];return _0x178f60['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x178f60['on']('execute',()=>{this['resetToDefault']();}),_0x178f60;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x3f2fcd=this['_check']['models'];if(this['resetToDefault'](),_0x3f2fcd?.['length'])for(const _0x38e2c4 of _0x3f2fcd){const _0x240852=new _0x37aca6({'label':_0x38e2c4['name'],'withText':!0x0,'role':'menuitemradio','id':_0x38e2c4['id'],'model':_0x38e2c4});_0x240852['bind']('isOn')['to'](this,'modelId',_0x5d11bd=>_0x5d11bd===_0x38e2c4['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x240852,'labelView':new js(this['locale'],_0x38e2c4)});}}['_createModelSelectionDropdown'](){const _0x263081=_0x4bb6b9(this['locale']);return _0x263081['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x263081['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4c32d4=>{_0x4c32d4['stopPropagation']();})}}),_0x263081['buttonView']['set']({'label':this['_check']['models'][0x0]['name'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x263081,'execute',_0x41420e=>{this['modelId']=_0x41420e['source']['model']['id'],_0x263081['buttonView']['label']=_0x41420e['source']['label'];}),_0x263081;}}class js extends _0x285968{constructor(_0x37eff2,_0x49060b){super();const _0x107263=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x107263['to']('style'),'id':_0x107263['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x107263['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x49060b['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x970a67=_0x2491;(function(_0x1dcc39,_0x402130){const _0x415045=_0x2491,_0x5946c4=_0x1dcc39();while(!![]){try{const _0x10e3eb=-parseInt(_0x415045(0x1c1))/0x1+-parseInt(_0x415045(0x1c5))/0x2*(-parseInt(_0x415045(0x1c4))/0x3)+parseInt(_0x415045(0x1c3))/0x4+-parseInt(_0x415045(0x1ca))/0x5+-parseInt(_0x415045(0x1ce))/0x6+-parseInt(_0x415045(0x1ba))/0x7*(parseInt(_0x415045(0x1b6))/0x8)+-parseInt(_0x415045(0x1c9))/0x9*(-parseInt(_0x415045(0x1be))/0xa);if(_0x10e3eb===_0x402130)break;else _0x5946c4['push'](_0x5946c4['shift']());}catch(_0x5ba7f1){_0x5946c4['push'](_0x5946c4['shift']());}}}(_0x415c,0x6a10e));function _0x415c(){const _0x2e3ce6=['_checkViews','bindTemplate','1362810GomNCk','clear','isVisible','delegate','1120624rhNfeB','entries','resetAllParameterizedChecks','ck-hidden','28CIkIMa','add','resetToDefault','length','140aunRBW','runReviewCheck','locale','781811VDbOoL','hasChecks','2130808XwLfrA','390BSwTsI','5532PyQHRc','setTemplate','setChecks','div','816714oXiEJX','795110lVSQMN','ck-ai-review-mode__check-list'];_0x415c=function(){return _0x2e3ce6;};return _0x415c();}import{ListItemView as _0xb7bb21,ViewCollection as _0xebac79}from'ckeditor5/src/ui.js';function _0x2491(_0x587413,_0x9cac03){const _0x415ce5=_0x415c();return _0x2491=function(_0x24915a,_0x1f95f3){_0x24915a=_0x24915a-0x1b6;let _0x4abce3=_0x415ce5[_0x24915a];return _0x4abce3;},_0x2491(_0x587413,_0x9cac03);}import{AIReviewModeReviewCommandListItemView as _0x4cbfe1}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0xb7bb21{[_0x970a67(0x1cc)];constructor(_0x28588c){const _0x2df72a=_0x970a67;super(_0x28588c),this[_0x2df72a(0x1cc)]=new _0xebac79();const _0x48e499=this[_0x2df72a(0x1cd)];this[_0x2df72a(0x1c6)]({'tag':_0x2df72a(0x1c8),'attributes':{'class':[_0x2df72a(0x1cb),_0x48e499['if'](_0x2df72a(0x1d0),_0x2df72a(0x1b9),_0xac5367=>!_0xac5367)]},'children':this[_0x2df72a(0x1cc)]});}[_0x970a67(0x1c7)](_0x1d83a3){const _0x17ae12=_0x970a67;this[_0x17ae12(0x1cc)][_0x17ae12(0x1cf)]();for(const [_0x4841e8,_0x4b1ca5]of _0x1d83a3[_0x17ae12(0x1b7)]()){const _0x4486da=new _0x4cbfe1(this[_0x17ae12(0x1c0)],_0x4b1ca5,_0x4841e8);_0x4486da[_0x17ae12(0x1d1)](_0x17ae12(0x1bf))['to'](this),this[_0x17ae12(0x1cc)][_0x17ae12(0x1bb)](_0x4486da);}}[_0x970a67(0x1c2)](){const _0x45f6b0=_0x970a67;return this[_0x45f6b0(0x1cc)][_0x45f6b0(0x1bd)]>0x0;}[_0x970a67(0x1b8)](){const _0x106dc3=_0x970a67;for(const _0x20abce of this[_0x106dc3(0x1cc)])_0x20abce instanceof _0x4cbfe1&&_0x20abce[_0x106dc3(0x1bc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x181fd7,View as _0x5cddfe,ViewCollection as _0x42cac6,ButtonView as _0x2d30b6}from'ckeditor5/src/ui.js';import{IconStop as _0x103391,IconEye as _0x580772,IconEyeCrossedOut as _0x1f3c19}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x5dae6a}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x20c95f,SKELETON_DEFINITIONS as _0xa12850}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x58431c}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0xa3b51a}from'../utils/common-translations.js';import{AISpinnerView as _0x1a0965}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';export class AIReviewModeReviewCheckResultsView extends _0x181fd7{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x444211){super(_0x444211),this['_resultViews']=new _0x42cac6(),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 _0x58431c(_0x444211),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 _0x304030=this['_createCombinedSkeletonLoader'](),_0x3b8434=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x3b8434['if']('isVisible','ck-hidden',_0x4578c2=>!_0x4578c2)]},'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',_0x500882=>_0x500882)]},'children':this['_resultViews']},_0x304030]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x5281e9){const _0xe2a7c6=new _0x5dae6a(this['locale'],_0x5281e9['id']);_0xe2a7c6['delegate']('acceptChange','dismissChange','scrollToSuggestionInDocument')['to'](this),this['_resultViews']['add'](_0xe2a7c6),_0xe2a7c6['resultResponseView']['element']['innerHTML']=_0x5281e9['contentDiffed'];}['hideResult'](_0x469812){const _0x58f095=this['_resultViews']['find'](_0x23ef2a=>_0x23ef2a['id']===_0x469812);_0x58f095&&(_0x58f095['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x58f095['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x58f095),_0x58f095['destroy']();},{'once':!0x0}));}['setTitle'](_0x387783){this['headerTitle']=_0x387783;}['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 _0x20c95f(this['locale'],_0xa12850['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x54afa5=new _0x5cddfe(this['locale']),_0x5637b2=[];for(let _0x47b92e=0x0;_0x47b92e<0x10;_0x47b92e++){const _0x28dd7f=this['_createSkeletonLoader']();_0x28dd7f['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x5637b2['push'](_0x28dd7f);}return _0x54afa5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x16e925=>!_0x16e925)]},'children':_0x5637b2}),_0x54afa5;}['_createErrorView'](){const _0x2c0ea3=new _0x5cddfe(this['locale']),_0x23e661=new _0x2d30b6(this['locale']),t=this['locale']['t'];return _0x2c0ea3['delegate']('retryReview')['to'](this),_0x23e661['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x23e661['on']('execute',()=>{this['fire']('retryReview');}),_0x2c0ea3['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x4eacde=>!_0x4eacde),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x3b8479=>'chunk'===_0x3b8479)]},'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',_0x13bf29=>'chunk'===_0x13bf29)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x7e40f=>'general'!==_0x7e40f)]},'children':[{'text':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x54d9ba=>'chunk'!==_0x54d9ba)]},'children':[{'text':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x23e661]}),_0x2c0ea3;}['_createCancelButtonView'](){const _0x370c9d=new _0x2d30b6(this['locale']);return _0x370c9d['set']({'label':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x103391}),_0x370c9d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3490a2=>_0x3490a2)]}}),_0x370c9d['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x370c9d;}['_createToggleDiffButtonView'](){const _0x21e22a=new _0x2d30b6(this['locale']);_0x21e22a['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x21e22a['bind']('isEnabled')['to'](this,'isError',_0x1f10d3=>!_0x1f10d3),_0x21e22a['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x38b237=>!_0x38b237)]}});const _0x47657c=_0xa3b51a(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x45258e=_0xa3b51a(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x21e22a['bind']('isOn')['to'](this,'isToggleDiffOn',_0x5c0832=>_0x5c0832),_0x21e22a['bind']('icon')['to'](this,'isToggleDiffOn',_0x526b1c=>_0x526b1c?_0x580772:_0x1f3c19),_0x21e22a['bind']('label')['to'](this,'isToggleDiffOn',_0x3a64bd=>_0x3a64bd?_0x47657c:_0x45258e),_0x21e22a['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x21e22a;}['_createAcceptAllButtonView'](){const _0x4768dd=new _0x2d30b6(this['locale']);return _0x4768dd['set']({'label':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4768dd['bind']('isEnabled')['to'](this,'isError',_0x8554af=>!_0x8554af),_0x4768dd['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1146df=>!_0x1146df)]}}),_0x4768dd['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4768dd;}['_createExitReviewButtonView'](){const _0x151aeb=new _0x2d30b6(this['locale']);return _0x151aeb['set']({'label':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x151aeb['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x593727=>!_0x593727)]}}),_0x151aeb['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x151aeb;}['_createResultHeaderView'](){const _0x4bc3d6=new _0x5cddfe(this['locale']),_0x240287=new _0x1a0965();return _0x240287['bind']('isVisible')['to'](this,'isResultReady',_0x5904c5=>!_0x5904c5),_0x4bc3d6['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':[_0x240287,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x4bc3d6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
import{ListItemView as _0x297d7c,IconView as _0x1911df,View as _0x32a467,ViewCollection as _0x1f751b,ButtonView as _0x5f4296,clickOutsideHandler as _0x59388d}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x290b61}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x3bbc38}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x4ec43d}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x297d7c{['_formItemsCollection']=new _0x1f751b();['_customCheckView']=null;constructor(_0x4e300b,_0x267c99,_0x3ab896){super(_0x4e300b),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x267c99['isParameterized']);const _0x4f3c28=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',_0x330cc7=>_0x330cc7),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x177538=>_0x177538)],'style':{'--ck-ai-check-list-item-index':_0x3ab896}},'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':_0x267c99['title']}]},_0x4f3c28]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x267c99['description']}]}]}]},..._0x267c99['isParameterized']?[this['_createParameterizedView'](_0x267c99)]:[],...'custom'===_0x267c99['id']?[this['_createCustomView'](_0x267c99)]:[]]}),this['on']('click',()=>{_0x267c99['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x267c99['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x59388d({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x561cbe=>{_0x561cbe['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x248cbb=new _0x1911df();return _0x248cbb['content']=_0x290b61,_0x248cbb['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x248cbb;}['_createParameterizedView'](_0x47d382){const _0xa15756=new _0x32a467(),_0x1e0901=this['_createFormView'](_0x47d382);return _0xa15756['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x153558=>!_0x153558)]},'children':[_0x1e0901]}),_0xa15756;}['_createFormView'](_0x494504){const _0x20bbd8=new _0x32a467(),_0x2dbebf=Array['isArray'](_0x494504['options'])?_0x494504['options']:[],_0x15d523=new _0x5f4296(this['locale']),t=this['locale']['t'];_0x15d523['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x15d523['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4af039=>{_0x4af039['stopPropagation']();})}}),_0x15d523['on']('execute',()=>{const _0x2353a9=[];let _0xf25063;this['_formItemsCollection']['forEach'](_0x9e742b=>{_0x2353a9['push'](_0x9e742b['value']),_0x494504['useArgs']&&_0x494504['options']&&(_0xf25063={[_0x9e742b['argsKey']]:_0x9e742b['value']});});const _0xd99259=_0x494504['useArgs']?_0x494504['id']:[_0x494504['id'],..._0x2353a9]['join']('-');this['fire']('runReviewCheck',{'id':_0xd99259,'args':_0xf25063});});const _0x104d9e=_0x2dbebf['length'];return _0x2dbebf['forEach']((_0x1aae3f,_0x2ad764)=>{const _0x39a631=_0x2ad764===_0x104d9e-0x1;this['_formItemsCollection']['add'](new _0x3bbc38(this['locale'],_0x1aae3f,_0x39a631?_0x15d523:null));}),_0x20bbd8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x20bbd8;}['_createCustomView'](_0x2f7b7b){return this['_customCheckView']=new _0x4ec43d(this['locale'],_0x2f7b7b),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',_0x33e2d8=>!_0x33e2d8)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3890c6=_0x5855;(function(_0x86646b,_0x1e08ec){const _0x1e8fd5=_0x5855,_0x3747de=_0x86646b();while(!![]){try{const _0x55dc43=-parseInt(_0x1e8fd5(0x10b))/0x1+parseInt(_0x1e8fd5(0x107))/0x2*(parseInt(_0x1e8fd5(0x106))/0x3)+-parseInt(_0x1e8fd5(0x10d))/0x4*(parseInt(_0x1e8fd5(0xff))/0x5)+parseInt(_0x1e8fd5(0x108))/0x6*(parseInt(_0x1e8fd5(0xf8))/0x7)+-parseInt(_0x1e8fd5(0x113))/0x8*(parseInt(_0x1e8fd5(0xf6))/0x9)+parseInt(_0x1e8fd5(0x10c))/0xa+parseInt(_0x1e8fd5(0x117))/0xb*(parseInt(_0x1e8fd5(0x111))/0xc);if(_0x55dc43===_0x1e08ec)break;else _0x3747de['push'](_0x3747de['shift']());}catch(_0xc805b7){_0x3747de['push'](_0x3747de['shift']());}}}(_0x269a,0x68ad3));function _0x5855(_0x11480c,_0x46a67e){const _0x269a2b=_0x269a();return _0x5855=function(_0x58550e,_0x117523){_0x58550e=_0x58550e-0xf6;let _0x10a901=_0x269a2b[_0x58550e];return _0x10a901;},_0x5855(_0x11480c,_0x46a67e);}import{ListItemView as _0x267968,View as _0x20736b,ButtonView as _0x5465a9}from'ckeditor5/src/ui.js';import{getTranslation as _0x23bc64}from'../utils/common-translations.js';function _0x269a(){const _0x3139c7=['setTemplate','_finishReviewButtonView','execute','2319jLgdpa','266lZYsWm','1333362xHdeRD','span','ck-hidden','247780myFvoE','3632490jnlEnX','37580LTEtiA','set','resultsHeader','ck-ai-review-mode__review-completed-header','6828jqRysT','div','108104AMCekg','ck-ai-review-mode__review-completed-content-text','locale','ck-ai-review-mode__review-completed-content','2981xPROsR','AI_REVIEW_MODE_COMPLETED_TEXT','fire','ck-ai-review-mode__review-completed','ck-ai-review-mode__review-completed-header-title','369GcpfxP','ck-ai-review-mode__review-completed-header-buttons','21KwlJzi','_createFinishReviewButtonView','_createResultHeaderView','ck-ai-review-mode__review-completed-content-icon','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','ck-ai-button-primary','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','30RiAqgQ','bindTemplate','isVisible','finishReview'];_0x269a=function(){return _0x3139c7;};return _0x269a();}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x267968{[_0x3890c6(0x10f)];[_0x3890c6(0x104)];constructor(_0xbf9331){const _0xcaa652=_0x3890c6;super(_0xbf9331),this[_0xcaa652(0x104)]=this[_0xcaa652(0xf9)](),this[_0xcaa652(0x10f)]=this[_0xcaa652(0xfa)]();const _0x5b5ffa=this[_0xcaa652(0x100)];this[_0xcaa652(0x103)]({'tag':_0xcaa652(0x112),'attributes':{'class':[_0xcaa652(0x11a),_0x5b5ffa['if'](_0xcaa652(0x101),_0xcaa652(0x10a),_0x296233=>!_0x296233)]},'children':[this[_0xcaa652(0x10f)],{'tag':_0xcaa652(0x112),'attributes':{'class':[_0xcaa652(0x116)]},'children':[{'tag':_0xcaa652(0x109),'attributes':{'class':[_0xcaa652(0xfb)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0xcaa652(0x114)]},'children':[{'text':_0x23bc64(_0xbf9331,_0xcaa652(0x118))}]}]}]});}[_0x3890c6(0xf9)](){const _0x507c98=_0x3890c6,_0x37e37c=new _0x5465a9(this[_0x507c98(0x115)]);return _0x37e37c[_0x507c98(0x10e)]({'label':_0x23bc64(this[_0x507c98(0x115)],_0x507c98(0xfe)),'withText':!0x0,'class':_0x507c98(0xfd)}),_0x37e37c['on'](_0x507c98(0x105),()=>{const _0x566964=_0x507c98;this[_0x566964(0x119)](_0x566964(0x102));}),_0x37e37c;}[_0x3890c6(0xfa)](){const _0x39d6fc=_0x3890c6,_0x1b049a=new _0x20736b(this[_0x39d6fc(0x115)]);return _0x1b049a[_0x39d6fc(0x103)]({'tag':_0x39d6fc(0x112),'attributes':{'class':[_0x39d6fc(0x110)]},'children':[{'tag':_0x39d6fc(0x109),'attributes':{'class':[_0x39d6fc(0x11b)]},'children':[{'text':_0x23bc64(this[_0x39d6fc(0x115)],_0x39d6fc(0xfc))}]},{'tag':_0x39d6fc(0x112),'attributes':{'class':[_0x39d6fc(0xf7)]},'children':[this[_0x39d6fc(0x104)]]}]}),_0x1b049a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3c0990=_0x23a4;(function(_0xca0dc3,_0x2ef1f0){var _0x189985=_0x23a4,_0x55ba14=_0xca0dc3();while(!![]){try{var _0x24658a=parseInt(_0x189985(0x189))/0x1+parseInt(_0x189985(0x190))/0x2+parseInt(_0x189985(0x177))/0x3*(-parseInt(_0x189985(0x18b))/0x4)+parseInt(_0x189985(0x18e))/0x5*(-parseInt(_0x189985(0x188))/0x6)+-parseInt(_0x189985(0x176))/0x7*(parseInt(_0x189985(0x17d))/0x8)+-parseInt(_0x189985(0x172))/0x9+-parseInt(_0x189985(0x16f))/0xa*(-parseInt(_0x189985(0x16d))/0xb);if(_0x24658a===_0x2ef1f0)break;else _0x55ba14['push'](_0x55ba14['shift']());}catch(_0x37c002){_0x55ba14['push'](_0x55ba14['shift']());}}}(_0x139d,0xaae21));import{View as _0x157959,FormHeaderView as _0x5d8ef9}from'ckeditor5/src/ui.js';import{IconAIReview as _0x4f52f1}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x267d2a}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x3f52d4}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x114041}from'./aireviewmodereviewcheckresultsview.js';function _0x139d(){var _0x4720c4=['showActionsWhenResultIsReady','2519826aJdEnP','1102531jPawHV','ck-rounded-corners','2375836BOpFEl','ck-ai-review-mode','addCheckRunResult','5BWKPTr','ltr','1013888IGASGQ','resetErrorState','ck-ai-header\x20ck-ai-header_review-mode','reviewCheckListView','setTemplate','ck-content\x20','reviewModeHeader','showReviewCompletedView','ck-reset_all','11MopTol','showGeneralErrorView','14605320IJBhgq','finishReview','showReviewCheckListView','4275585umLpdZ','div','isLoading','showChunkErrorMessage','455MEYQux','3CJysIY','addResult','delegate','isVisible','AI_REVIEW_MODE','hideActionsWhenResultIsReady','108440aZRToj','set','showChunkErrorView','resetAllParameterizedChecks','reviewCompletedView','showGeneralErrorMessage','reviewCheckResultsView','clearResults','showReviewCheckResultsView','isResultReady'];_0x139d=function(){return _0x4720c4;};return _0x139d();}import{AIReviewModeReviewCompletedView as _0x1916d8}from'./aireviewmodereviewcompletedview.js';function _0x23a4(_0x561d33,_0x12c938){var _0x139daa=_0x139d();return _0x23a4=function(_0x23a4cc,_0x3e0790){_0x23a4cc=_0x23a4cc-0x166;var _0x46f7a7=_0x139daa[_0x23a4cc];return _0x46f7a7;},_0x23a4(_0x561d33,_0x12c938);}import{getTranslation as _0x3da511}from'../utils/common-translations.js';export class AIReviewModeView extends _0x157959{[_0x3c0990(0x16a)];[_0x3c0990(0x167)];[_0x3c0990(0x183)];[_0x3c0990(0x181)];constructor(_0x5189b3){var _0x2aa36a=_0x3c0990;super(_0x5189b3),this[_0x2aa36a(0x16a)]=new _0x5d8ef9(_0x5189b3,{'label':_0x3da511(_0x5189b3,_0x2aa36a(0x17b)),'icon':_0x4f52f1,'class':_0x2aa36a(0x166)}),this[_0x2aa36a(0x167)]=new _0x267d2a(_0x5189b3),this[_0x2aa36a(0x167)][_0x2aa36a(0x179)](..._0x3f52d4)['to'](this),this[_0x2aa36a(0x183)]=new _0x114041(_0x5189b3),this[_0x2aa36a(0x183)][_0x2aa36a(0x179)](..._0x3f52d4)['to'](this),this[_0x2aa36a(0x181)]=new _0x1916d8(_0x5189b3),this[_0x2aa36a(0x181)][_0x2aa36a(0x179)](_0x2aa36a(0x170))['to'](this),this[_0x2aa36a(0x167)][_0x2aa36a(0x17e)](_0x2aa36a(0x17a),!0x1),this[_0x2aa36a(0x183)][_0x2aa36a(0x17e)](_0x2aa36a(0x17a),!0x1),this[_0x2aa36a(0x183)][_0x2aa36a(0x17e)](_0x2aa36a(0x174),!0x1),this[_0x2aa36a(0x183)][_0x2aa36a(0x17e)](_0x2aa36a(0x186),!0x1),this[_0x2aa36a(0x181)][_0x2aa36a(0x17e)](_0x2aa36a(0x17a),!0x1),this[_0x2aa36a(0x168)]({'tag':_0x2aa36a(0x173),'attributes':{'class':['ck',_0x2aa36a(0x169),_0x2aa36a(0x16c),_0x2aa36a(0x18c),_0x2aa36a(0x18a)],'dir':_0x2aa36a(0x18f)},'children':[this[_0x2aa36a(0x16a)],this[_0x2aa36a(0x167)],this[_0x2aa36a(0x183)],this[_0x2aa36a(0x181)]]});}[_0x3c0990(0x171)](){var _0x3bb3d0=_0x3c0990;this[_0x3bb3d0(0x167)][_0x3bb3d0(0x180)](),this[_0x3bb3d0(0x167)][_0x3bb3d0(0x17e)](_0x3bb3d0(0x17a),!0x0),this[_0x3bb3d0(0x183)][_0x3bb3d0(0x17e)](_0x3bb3d0(0x17a),!0x1),this[_0x3bb3d0(0x181)][_0x3bb3d0(0x17e)](_0x3bb3d0(0x17a),!0x1);}[_0x3c0990(0x185)](){var _0x24a66a=_0x3c0990;this[_0x24a66a(0x17c)](),this[_0x24a66a(0x183)][_0x24a66a(0x191)](),this[_0x24a66a(0x167)][_0x24a66a(0x17e)](_0x24a66a(0x17a),!0x1),this[_0x24a66a(0x183)][_0x24a66a(0x17e)](_0x24a66a(0x17a),!0x0),this[_0x24a66a(0x183)][_0x24a66a(0x184)](),this[_0x24a66a(0x183)][_0x24a66a(0x17e)](_0x24a66a(0x174),!0x0);}[_0x3c0990(0x18d)](_0x216cd9){var _0xc0ca30=_0x3c0990;this[_0xc0ca30(0x183)][_0xc0ca30(0x178)](_0x216cd9),this[_0xc0ca30(0x183)][_0xc0ca30(0x17e)](_0xc0ca30(0x174),!0x1);}[_0x3c0990(0x16b)](){var _0xf3460d=_0x3c0990;this[_0xf3460d(0x167)][_0xf3460d(0x17e)](_0xf3460d(0x17a),!0x1),this[_0xf3460d(0x183)][_0xf3460d(0x17e)](_0xf3460d(0x17a),!0x1),this[_0xf3460d(0x181)][_0xf3460d(0x17e)](_0xf3460d(0x17a),!0x0);}[_0x3c0990(0x187)](){var _0x274bd9=_0x3c0990;this[_0x274bd9(0x183)][_0x274bd9(0x186)]=!0x0;}[_0x3c0990(0x17c)](){var _0x1bf6b0=_0x3c0990;this[_0x1bf6b0(0x183)][_0x1bf6b0(0x186)]=!0x1;}[_0x3c0990(0x16e)](){var _0x156be4=_0x3c0990;this[_0x156be4(0x183)][_0x156be4(0x17e)](_0x156be4(0x174),!0x1),this[_0x156be4(0x187)](),this[_0x156be4(0x183)][_0x156be4(0x182)]();}[_0x3c0990(0x17f)](){var _0x27d468=_0x3c0990;this[_0x27d468(0x183)][_0x27d468(0x17e)](_0x27d468(0x174),!0x1),this[_0x27d468(0x187)](),this[_0x27d468(0x183)][_0x27d468(0x175)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2204(_0x3f4280,_0x7ed745){const _0x1196d2=_0x1196();return _0x2204=function(_0x2204d8,_0x495757){_0x2204d8=_0x2204d8-0xde;let _0x21899f=_0x1196d2[_0x2204d8];return _0x21899f;},_0x2204(_0x3f4280,_0x7ed745);}const _0x24aeb0=_0x2204;function _0x1196(){const _0x3576ed=['3996kevvZm','ck-ai-review-mode__form-item','36203687wFfKTh','_formItem','div','18300xTetaB','12HMxuRh','10KbbFxU','42SQpoMj','561FJYAJS','ck-reset_all','59689tVfyrt','locale','add','formValue','13361238bVgYWr','2143575BwTxIw','formType','resetToDefault','dropdown','1705iNFArA','bind','children','ck-form__row_with-submit','set','argsKey','24qgmmfc','value','5972967PwGDae','setTemplate'];_0x1196=function(){return _0x3576ed;};return _0x1196();}(function(_0x2095a2,_0x584217){const _0x36ad84=_0x2204,_0x193ca1=_0x2095a2();while(!![]){try{const _0x39cc25=-parseInt(_0x36ad84(0xe3))/0x1*(parseInt(_0x36ad84(0xe0))/0x2)+-parseInt(_0x36ad84(0xe1))/0x3*(parseInt(_0x36ad84(0xfb))/0x4)+-parseInt(_0x36ad84(0xec))/0x5*(parseInt(_0x36ad84(0xf6))/0x6)+parseInt(_0x36ad84(0xf4))/0x7+parseInt(_0x36ad84(0xf2))/0x8*(parseInt(_0x36ad84(0xe8))/0x9)+parseInt(_0x36ad84(0xdf))/0xa*(-parseInt(_0x36ad84(0xe7))/0xb)+parseInt(_0x36ad84(0xde))/0xc*(parseInt(_0x36ad84(0xf8))/0xd);if(_0x39cc25===_0x584217)break;else _0x193ca1['push'](_0x193ca1['shift']());}catch(_0x58a66b){_0x193ca1['push'](_0x193ca1['shift']());}}}(_0x1196,0xc3c9b));import{FormRowView as _0x5ec5f3,ListItemView as _0x443c91}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0xa30d76}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x443c91{[_0x24aeb0(0xf9)]=null;constructor(_0x9ffc8d,_0xc2d88c,_0x27bca9){const _0xc3845c=_0x24aeb0;super(_0x9ffc8d),this[_0xc3845c(0xf1)]=_0xc2d88c?.[_0xc3845c(0xf1)];if(_0xc3845c(0xeb)===_0xc2d88c[_0xc3845c(0xe9)])this[_0xc3845c(0xf9)]=new _0xa30d76(this[_0xc3845c(0xe4)],_0xc2d88c);this[_0xc3845c(0xf0)](_0xc3845c(0xf3),''),this[_0xc3845c(0xed)](_0xc3845c(0xf3))['to'](this[_0xc3845c(0xf9)],_0xc3845c(0xe6));const _0x31e2fa=new _0x5ec5f3(this[_0xc3845c(0xe4)],{'children':[this[_0xc3845c(0xf9)]],'class':[_0x27bca9?_0xc3845c(0xef):'']});_0x27bca9&&_0x31e2fa[_0xc3845c(0xee)][_0xc3845c(0xe5)](_0x27bca9),this[_0xc3845c(0xf5)]({'tag':_0xc3845c(0xfa),'attributes':{'class':['ck',_0xc3845c(0xf7),_0xc3845c(0xe2)]},'children':[_0x31e2fa]});}[_0x24aeb0(0xea)](){const _0x317b22=_0x24aeb0;this[_0x317b22(0xf9)][_0x317b22(0xea)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x169458=_0x4746;function _0x24b6(){const _0x1f06cd=['7MAReTd','bindTemplate','_dropdownView','1128304KUFspU','isOn','listenTo','72hfiUTY','setTemplate','data','set','18tnbyXb','12340viIbBB','ck-reset_all','29668BemETj','find','_defaultValue','resetToDefault','length','model','656840wBfLRY','formValue','765FvyaQG','add','ck-ai-review-mode__check-list-item-parameterized-form-element','1071191dStxkP','1788966hucjXM','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','46714TgrsIn','div','button','stopPropagation','_defaultLabel','locale','buttonView','14maWqmh','default','execute','source','label','extendTemplate','_prepareListOptions','bind','menuitemradio','menu'];_0x24b6=function(){return _0x1f06cd;};return _0x24b6();}(function(_0x5c854b,_0x422bde){const _0x1337fc=_0x4746,_0x3abf89=_0x5c854b();while(!![]){try{const _0x329b8b=-parseInt(_0x1337fc(0x1e5))/0x1*(-parseInt(_0x1337fc(0x1ec))/0x2)+-parseInt(_0x1337fc(0x1d4))/0x3*(-parseInt(_0x1337fc(0x1d7))/0x4)+parseInt(_0x1337fc(0x1dd))/0x5+parseInt(_0x1337fc(0x1e3))/0x6+parseInt(_0x1337fc(0x1f6))/0x7*(-parseInt(_0x1337fc(0x1f9))/0x8)+parseInt(_0x1337fc(0x1df))/0x9*(parseInt(_0x1337fc(0x1d5))/0xa)+parseInt(_0x1337fc(0x1e2))/0xb*(-parseInt(_0x1337fc(0x1fc))/0xc);if(_0x329b8b===_0x422bde)break;else _0x3abf89['push'](_0x3abf89['shift']());}catch(_0x55a298){_0x3abf89['push'](_0x3abf89['shift']());}}}(_0x24b6,0x2c173));import{Collection as _0x4ff77c}from'ckeditor5/src/utils.js';import{View as _0x189a1e,createDropdown as _0xddf60e,addListToDropdown as _0x190dab,UIModel as _0x1db8f0}from'ckeditor5/src/ui.js';function _0x4746(_0x5ac309,_0x34fa1b){const _0x24b656=_0x24b6();return _0x4746=function(_0x4746e9,_0x55fa7a){_0x4746e9=_0x4746e9-0x1d3;let _0x2fc8a5=_0x24b656[_0x4746e9];return _0x2fc8a5;},_0x4746(_0x5ac309,_0x34fa1b);}export class AIReviewModeFormDropdownView extends _0x189a1e{[_0x169458(0x1f8)];[_0x169458(0x1d9)];[_0x169458(0x1e9)];constructor(_0x23bd80,_0x432f9f){const _0x27e7fa=_0x169458;super(_0x23bd80),this[_0x27e7fa(0x1d9)]=_0x432f9f[_0x27e7fa(0x1ed)]||(_0x432f9f[_0x27e7fa(0x1fe)][_0x27e7fa(0x1db)]>0x0?_0x432f9f[_0x27e7fa(0x1fe)][0x0]['id']:''),this[_0x27e7fa(0x1e9)]=_0x432f9f[_0x27e7fa(0x1fe)][_0x27e7fa(0x1d8)](_0x2de60a=>_0x2de60a['id']===this[_0x27e7fa(0x1d9)])?.[_0x27e7fa(0x1f0)]||'',this[_0x27e7fa(0x1d3)](_0x27e7fa(0x1de),''),this[_0x27e7fa(0x1f8)]=_0xddf60e(this[_0x27e7fa(0x1ea)]);const _0x315369=this[_0x27e7fa(0x1f2)](_0x432f9f[_0x27e7fa(0x1fe)]);_0x190dab(this[_0x27e7fa(0x1f8)],_0x315369,{'role':_0x27e7fa(0x1f5),'ariaLabel':_0x432f9f[_0x27e7fa(0x1f0)]}),this[_0x27e7fa(0x1f8)][_0x27e7fa(0x1eb)][_0x27e7fa(0x1d3)]({'label':this[_0x27e7fa(0x1e9)],'withText':!0x0}),this[_0x27e7fa(0x1f8)][_0x27e7fa(0x1f1)]({'on':{'click':this[_0x27e7fa(0x1f7)]['to'](_0x160c9e=>{const _0x20dab6=_0x27e7fa;_0x160c9e[_0x20dab6(0x1e8)]();})}}),this[_0x27e7fa(0x1fb)](this[_0x27e7fa(0x1f8)],_0x27e7fa(0x1ee),_0x3617c3=>{const _0x2f324c=_0x27e7fa;this[_0x2f324c(0x1de)]=_0x3617c3[_0x2f324c(0x1ef)][_0x2f324c(0x1dc)]['id'],this[_0x2f324c(0x1f8)][_0x2f324c(0x1eb)][_0x2f324c(0x1f0)]=_0x3617c3[_0x2f324c(0x1ef)][_0x2f324c(0x1dc)][_0x2f324c(0x1f0)];}),this[_0x27e7fa(0x1fd)]({'tag':_0x27e7fa(0x1e6),'attributes':{'class':['ck',_0x27e7fa(0x1d6),_0x27e7fa(0x1e1),_0x27e7fa(0x1e4)]},'children':[this[_0x27e7fa(0x1f8)]]});}[_0x169458(0x1da)](){const _0x2f6699=_0x169458;this[_0x2f6699(0x1de)]=this[_0x2f6699(0x1d9)],this[_0x2f6699(0x1f8)][_0x2f6699(0x1eb)][_0x2f6699(0x1f0)]=this[_0x2f6699(0x1e9)];}[_0x169458(0x1f2)](_0x51bce9=[]){const _0x17f680=_0x169458,_0xa8475d=new _0x4ff77c();this[_0x17f680(0x1da)]();for(const _0x121e44 of _0x51bce9){const _0x1f6bdc=new _0x1db8f0({'label':_0x121e44[_0x17f680(0x1f0)],'withText':!0x0,'role':_0x17f680(0x1f4),'id':_0x121e44['id'],'model':_0x121e44});_0x1f6bdc[_0x17f680(0x1f3)](_0x17f680(0x1fa))['to'](this,_0x17f680(0x1de),_0x3c69eb=>_0x3c69eb===_0x1f6bdc['id']);const _0x2e2995={'type':_0x17f680(0x1e7),'model':_0x1f6bdc};_0xa8475d[_0x17f680(0x1e0)](_0x2e2995);}return _0xa8475d;}}
|