@ckeditor/ckeditor5-ai 47.5.0-alpha.7 → 47.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.d.ts +5 -2
- 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.d.ts +4 -2
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x349517=_0x52c4;(function(_0x3ff049,_0x5ad334){const _0x163a4d=_0x52c4,_0x203c5c=_0x3ff049();while(!![]){try{const _0x182307=parseInt(_0x163a4d(0x1e9))/0x1+-parseInt(_0x163a4d(0x1ea))/0x2*(parseInt(_0x163a4d(0x1ff))/0x3)+parseInt(_0x163a4d(0x213))/0x4+-parseInt(_0x163a4d(0x20f))/0x5+parseInt(_0x163a4d(0x1f1))/0x6*(parseInt(_0x163a4d(0x1d7))/0x7)+-parseInt(_0x163a4d(0x1fa))/0x8+parseInt(_0x163a4d(0x210))/0x9;if(_0x182307===_0x5ad334)break;else _0x203c5c['push'](_0x203c5c['shift']());}catch(_0x5b2480){_0x203c5c['push'](_0x203c5c['shift']());}}}(_0xc73b,0xa2782));import{Rect as _0x5ada2b,getConstrainedViewportRect as _0x5a7dfe}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x604e3a,View as _0x98b63a,clickOutsideHandler as _0x181ce0}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4b1482}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';function _0x52c4(_0x58667a,_0x18fd74){const _0xc73b0d=_0xc73b();return _0x52c4=function(_0x52c42b,_0x2c92e2){_0x52c42b=_0x52c42b-0x1ca;let _0x53a1fd=_0xc73b0d[_0x52c42b];return _0x53a1fd;},_0x52c4(_0x58667a,_0x18fd74);}import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0xc73b(){const _0x519ba7=['left','arrow_','_setupClickOutsideHandler','_pinnedTargetElement','ck-content','1256112UMyikG','_getPointedRectIndexFromEvent','resultItemView','getIntersection','add','2405451WyCsFQ','unpin','updateContent','balloon','_getBestRectPositionOnHover','from','div','documentElement','arrow_se','render','hover','reverse','_pinnedRectIndex','set','_isPinnedRectVisible','top','3327325cMzUPi','5151483asPawN','contentDiffed','deactivateChange','3583672obVHkr','acceptChange','delegate','hideBalloon','locale','show','pin','getBoundingClientRect','push','isVisible','forEach','hideDiffInBalloon','bindTemplate','ck-ai_review-balloon-panel-suggestion','_createContentView','dismissChange','getClientRects','ck-ai_review__suggestion-text','1363173weVZbm','resultResponseView','bottom','showDiffInBalloon','_pinnedTargetChangeId','replace','ck-ai_review-balloon-panel-suggestion_diff-active','clientY','fire','extendTemplate','showDiff','element','click','innerHTML','showBalloon','clientX','length','setTemplate','431987YftUcM','2LzeRLo','right','content','hide','ck-reset','_getBestRectPositionOnClick','position','12nkPOVe','width','changeId','isDiffActive'];_0xc73b=function(){return _0x519ba7;};return _0xc73b();}export class AIReviewCoreBalloonSuggestionItemView extends _0x604e3a{[_0x349517(0x1fc)];[_0x349517(0x20b)]=void 0x0;[_0x349517(0x1f8)]=void 0x0;[_0x349517(0x1db)]=void 0x0;constructor(_0x1d5a13,_0x126254){const _0x222e96=_0x349517;super(_0x1d5a13),this[_0x222e96(0x20c)]({'isVisible':!0x1,'position':_0x222e96(0x207),'class':null,'top':0x0,'left':0x0}),this[_0x222e96(0x1e0)]({'tag':_0x222e96(0x205),'attributes':{'class':[_0x222e96(0x1ee)],'tabindex':'-1'}}),this[_0x222e96(0x20c)](_0x222e96(0x1f4),!0x1),this[_0x222e96(0x1ec)][_0x222e96(0x1fe)](this[_0x222e96(0x1d3)]()),_0x126254[_0x222e96(0x1fe)](this);}[_0x349517(0x208)](){const _0x3be963=_0x349517;super[_0x3be963(0x208)](),this[_0x3be963(0x1f7)]();}[_0x349517(0x201)](_0x43100f){const _0x4e275e=_0x349517;this[_0x4e275e(0x1fc)][_0x4e275e(0x1f3)]=_0x43100f['id'],this[_0x4e275e(0x1fc)][_0x4e275e(0x1d8)][_0x4e275e(0x1e2)][_0x4e275e(0x1e4)]=_0x43100f[_0x4e275e(0x211)];}[_0x349517(0x1e5)](_0x36931d,_0xc89695,_0x494f99,_0x184e33,_0x37a4b2,_0xa77d26){const _0x4b146e=_0x349517,_0x37eba3=_0xc89695();if(!_0x37eba3)return;this[_0x4b146e(0x201)](_0x36931d),this[_0x4b146e(0x1ca)]();const _0x28420d=Array[_0x4b146e(0x204)](_0x37eba3[_0x4b146e(0x1d5)]())[_0x4b146e(0x20a)](),_0x48ebbd=this[_0x4b146e(0x1fb)](_0x494f99,_0x28420d),_0xa8cddf=_0x28420d[_0x48ebbd??0x0];_0x4b146e(0x1e3)===_0x184e33?(this[_0x4b146e(0x1f4)]=!0x0,this[_0x4b146e(0x1cb)]({'target':()=>this[_0x4b146e(0x1ef)](_0xc89695(),_0x48ebbd,_0x36931d['id'],_0x37a4b2,_0xa77d26)||_0xa8cddf})):_0x4b146e(0x209)===_0x184e33&&(this[_0x4b146e(0x1f4)]=!0x1,this[_0x4b146e(0x1cb)]({'target':()=>this[_0x4b146e(0x203)](_0xc89695(),_0x48ebbd,_0x36931d['id'])||_0xa8cddf}));}[_0x349517(0x216)](){const _0x1a2108=_0x349517;this[_0x1a2108(0x1ed)](),this[_0x1a2108(0x200)](),this[_0x1a2108(0x20b)]=void 0x0,this[_0x1a2108(0x1f8)]=void 0x0,this[_0x1a2108(0x1db)]=void 0x0;}[_0x349517(0x1d0)](){const _0xc2e69a=_0x349517;this[_0xc2e69a(0x1fc)][_0xc2e69a(0x1e1)]=!0x1;}[_0x349517(0x1da)](){const _0x57d8a7=_0x349517;this[_0x57d8a7(0x1fc)][_0x57d8a7(0x1e1)]=!0x0;}[_0x349517(0x212)](){const _0x456e92=_0x349517;this[_0x456e92(0x1df)](_0x456e92(0x212),{'origin':_0x456e92(0x202)});}[_0x349517(0x1f7)](){const _0x3af37b=_0x349517;_0x181ce0({'emitter':this,'activator':()=>this[_0x3af37b(0x1ce)],'contextElements':()=>{const _0x326441=_0x3af37b,_0x17ec86=[this[_0x326441(0x1e2)]];return this[_0x326441(0x1f8)]&&_0x17ec86[_0x326441(0x1cd)](this[_0x326441(0x1f8)]),_0x17ec86;},'callback':()=>{const _0x37ece6=_0x3af37b;this[_0x37ece6(0x1ed)](),this[_0x37ece6(0x200)](),this[_0x37ece6(0x212)](),this[_0x37ece6(0x1f8)]=void 0x0,this[_0x37ece6(0x20b)]=void 0x0,this[_0x37ece6(0x1db)]=void 0x0;}});}[_0x349517(0x1d3)](){const _0x55fa98=_0x349517,_0x295b45=new _0x98b63a();return this[_0x55fa98(0x1fc)]=new _0x4b1482(this[_0x55fa98(0x217)],''),this[_0x55fa98(0x1fc)][_0x55fa98(0x1d8)][_0x55fa98(0x1e0)]({'attributes':{'class':[_0x55fa98(0x1f9)]}}),this[_0x55fa98(0x1fc)][_0x55fa98(0x215)](_0x55fa98(0x214),_0x55fa98(0x1d4))['to'](this),_0x295b45[_0x55fa98(0x1e8)]({'tag':_0x55fa98(0x205),'attributes':{'class':[_0x55fa98(0x1ee),_0x55fa98(0x1d2),this[_0x55fa98(0x1d1)]['if'](_0x55fa98(0x1f4),_0x55fa98(0x1dd))]},'children':[{'tag':'p','attributes':{'class':[_0x55fa98(0x1d6)]},'children':[this[_0x55fa98(0x1fc)]]}]}),_0x295b45;}[_0x349517(0x1ef)](_0x175f6f,_0x1f1b68,_0x52149e,_0x30329e,_0x3ddf35){const _0x27f684=_0x349517;if(!_0x175f6f)return null;const _0x2d801c=this[_0x27f684(0x1f0)][_0x27f684(0x1dc)](_0x27f684(0x1f6),''),_0x263ac7=Array[_0x27f684(0x204)](_0x175f6f[_0x27f684(0x1d5)]());let _0x5c7cc3,_0x3ff26d=_0x263ac7[_0x27f684(0x20a)]();return void 0x0!==_0x1f1b68&&this[_0x27f684(0x20d)](_0x3ff26d[_0x1f1b68],_0x30329e,_0x3ddf35)?(_0x5c7cc3=_0x3ff26d[_0x1f1b68],this[_0x27f684(0x20b)]=_0x1f1b68):this[_0x27f684(0x20d)](_0x3ff26d[0x0],_0x30329e,_0x3ddf35)&&void 0x0===_0x1f1b68?_0x5c7cc3=_0x3ff26d[0x0]:(_0x3ff26d='s'==_0x2d801c[0x0]?[..._0x263ac7][_0x27f684(0x20a)]():_0x263ac7,_0x3ff26d[_0x27f684(0x1cf)](_0x3f2b23=>{const _0x57680f=_0x27f684;this[_0x57680f(0x20d)](_0x3f2b23,_0x30329e,_0x3ddf35)&&(_0x5c7cc3=_0x3f2b23);})),this[_0x27f684(0x1db)]=_0x52149e,this[_0x27f684(0x1f8)]=_0x175f6f,_0x5c7cc3||_0x175f6f[_0x27f684(0x1cc)]();}[_0x349517(0x203)](_0x270b08,_0xdf1fdd,_0x1a1908){const _0x95fdcd=_0x349517;if(!_0x270b08)return null;const _0x1a3401=Array[_0x95fdcd(0x204)](_0x270b08[_0x95fdcd(0x1d5)]())[_0x95fdcd(0x20a)]();if(void 0x0===this[_0x95fdcd(0x20b)]&&void 0x0!==_0xdf1fdd&&this[_0x95fdcd(0x1db)]!==_0x1a1908)return this[_0x95fdcd(0x20b)]=_0xdf1fdd,this[_0x95fdcd(0x1f8)]=_0x270b08,this[_0x95fdcd(0x1db)]=_0x1a1908,_0x1a3401[_0xdf1fdd];if(void 0x0!==this[_0x95fdcd(0x20b)]&&this[_0x95fdcd(0x1db)]===_0x1a1908){if(_0x270b08!==this[_0x95fdcd(0x1f8)])return Array[_0x95fdcd(0x204)](this[_0x95fdcd(0x1f8)][_0x95fdcd(0x1d5)]())[_0x95fdcd(0x20a)]()[this[_0x95fdcd(0x20b)]];return _0x1a3401[this[_0x95fdcd(0x20b)]];}return void 0x0!==_0xdf1fdd&&this[_0x95fdcd(0x1db)]!==_0x1a1908?(this[_0x95fdcd(0x20b)]=_0xdf1fdd,this[_0x95fdcd(0x1f8)]=_0x270b08,this[_0x95fdcd(0x1db)]=_0x1a1908,_0x1a3401[_0xdf1fdd]):_0x270b08[_0x95fdcd(0x1cc)]();}[_0x349517(0x1fb)](_0x461084,_0x355d63){const _0x40571b=_0x349517;if(_0x461084)for(let _0x27dda8=0x0;_0x27dda8<_0x355d63[_0x40571b(0x1e7)];_0x27dda8++){const _0x122823=_0x355d63[_0x27dda8];if(_0x461084[_0x40571b(0x1e6)]>=_0x122823[_0x40571b(0x1f5)]-0x3&&_0x461084[_0x40571b(0x1e6)]<=_0x122823[_0x40571b(0x1eb)]+0x3&&_0x461084[_0x40571b(0x1de)]>=_0x122823[_0x40571b(0x20e)]-0x3&&_0x461084[_0x40571b(0x1de)]<=_0x122823[_0x40571b(0x1d9)]+0x3)return _0x27dda8;}}[_0x349517(0x20d)](_0x3e88e2,_0x328af0,_0xb02fec){const _0x5af007=_0x349517,_0x2280aa=new _0x5ada2b(_0x3e88e2),_0x1545a3=_0x328af0||document[_0x5af007(0x206)],_0x9203a9=_0x2280aa[_0x5af007(0x1fd)](_0x5a7dfe(_0xb02fec)),_0x387cac=new _0x5ada2b(_0x1545a3)[_0x5af007(0x1fd)](_0x2280aa);return!!(_0x9203a9&&_0x387cac&&_0x2280aa[_0x5af007(0x1f2)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1a2151=_0x17c7;(function(_0x16c37f,_0x3a90a7){const _0x3ab1fe=_0x17c7,_0x5b7652=_0x16c37f();while(!![]){try{const _0x3c5cc6=-parseInt(_0x3ab1fe(0x173))/0x1*(-parseInt(_0x3ab1fe(0x170))/0x2)+-parseInt(_0x3ab1fe(0x12f))/0x3*(-parseInt(_0x3ab1fe(0x15a))/0x4)+parseInt(_0x3ab1fe(0x166))/0x5*(-parseInt(_0x3ab1fe(0x14b))/0x6)+-parseInt(_0x3ab1fe(0x135))/0x7+-parseInt(_0x3ab1fe(0x136))/0x8*(parseInt(_0x3ab1fe(0x12c))/0x9)+parseInt(_0x3ab1fe(0x12a))/0xa*(-parseInt(_0x3ab1fe(0x145))/0xb)+parseInt(_0x3ab1fe(0x16e))/0xc;if(_0x3c5cc6===_0x3a90a7)break;else _0x5b7652['push'](_0x5b7652['shift']());}catch(_0x28c236){_0x5b7652['push'](_0x5b7652['shift']());}}}(_0x716a,0x4b5f1));function _0x716a(){const _0xcf7780=['acceptChange','click','8516HqYJVt','stopPropagation','resultResponseView','isEnabled','accepted','outdatedButtonView','ck-ai_review__check-run-result-footer','acceptButtonView','ck-ai_review__check-run-result-response','bind','_createInfoButtonView','locale','7860RfCTFp','panel','deactivateChange','_createOutdatedButtonView','set','change:status','menuitemcheckbox','ck-ai-button-tertiary-filled','11272380Qjrfld','label','38PgdBnj','showDiff','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','30657CCkKHK','AI_REVIEW_MODE_DISMISS_CHANGE','isActive','dismissButtonView','hover','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-ai_review__check-run-result-dismiss-button','preventDefault','icon','800180SaxBTL','isInfoToggleOn','5154462uZhySN','_createDismissButtonView','dismissChange','429RkXIuN','div','target','ck-ai_review__check-run-result','rejected','ck-ai_review__check-run-result_active','3303944nNSMiG','8Bmvpdn','setTemplate','bindTemplate','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai_review__check-run-result-accept-button','AI_REVIEW_MODE_ACCEPT_CHANGE','_createAcceptButtonView','ck-hidden','fire','mouseout','ck-reset_all-excluded','ck-ai_review__check-run-result-action-buttons','_createResultResponseView','setItemAsActive','changeId','22grlVTW','mouseover','pending','ck-ai_review__check-run-result-status-button','setItemAsInactive','ck-ai-button-secondary','1194LdBcdk','activateChange','execute','isOn','ck-content','infoButtonView','status','ck-ai-button-tertiary-filled\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','disabled','tagName','AI_REVIEW_MODE_LEARN_MORE','outdated','extendTemplate'];_0x716a=function(){return _0xcf7780;};return _0x716a();}import{View as _0x525380,ButtonView as _0x18957d}from'ckeditor5/src/ui.js';function _0x17c7(_0x48e66c,_0x4fd951){const _0x716a34=_0x716a();return _0x17c7=function(_0x17c7d5,_0x49228b){_0x17c7d5=_0x17c7d5-0x126;let _0x21e0d3=_0x716a34[_0x17c7d5];return _0x21e0d3;},_0x17c7(_0x48e66c,_0x4fd951);}import{IconInfo as _0x3d36c1,IconCheck as _0x56315,IconCancel as _0x4aae64,IconOutdated as _0x284a91}from'ckeditor5/src/icons.js';import{getTranslation as _0x5d82b2}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x525380{[_0x1a2151(0x15c)];[_0x1a2151(0x161)];[_0x1a2151(0x176)];[_0x1a2151(0x150)];[_0x1a2151(0x15f)];constructor(_0x4b8d55,_0x4bb766){const _0x5f36ff=_0x1a2151;super(_0x4b8d55),this['id']=_0x4bb766,this[_0x5f36ff(0x16a)](_0x5f36ff(0x151),_0x5f36ff(0x147)),this[_0x5f36ff(0x16a)](_0x5f36ff(0x144),_0x4bb766),this[_0x5f36ff(0x15c)]=this[_0x5f36ff(0x142)](),this[_0x5f36ff(0x161)]=this[_0x5f36ff(0x13c)](),this[_0x5f36ff(0x176)]=this[_0x5f36ff(0x12d)](),this[_0x5f36ff(0x150)]=this[_0x5f36ff(0x164)](),this[_0x5f36ff(0x15f)]=this[_0x5f36ff(0x169)](),this[_0x5f36ff(0x16a)](_0x5f36ff(0x12b),!0x1),this[_0x5f36ff(0x16a)](_0x5f36ff(0x175),!0x1),this[_0x5f36ff(0x16a)](_0x5f36ff(0x171),!0x0),this[_0x5f36ff(0x137)]({'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x132),this[_0x5f36ff(0x138)]['if'](_0x5f36ff(0x175),_0x5f36ff(0x134))]},'on':{'click':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x159)),'mouseover':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x146)),'mouseout':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x13f))},'children':[this[_0x5f36ff(0x15c)],{'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x160)]},'children':[{'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x141)]},'children':[this[_0x5f36ff(0x161)],this[_0x5f36ff(0x176)],this[_0x5f36ff(0x15f)]]},this[_0x5f36ff(0x150)]]}]}),this['on'](_0x5f36ff(0x159),(_0x1e57f6,_0x1ca55b)=>{const _0x1844f4=_0x5f36ff;_0x1ca55b&&_0x1ca55b[_0x1844f4(0x131)]&&'A'===_0x1ca55b[_0x1844f4(0x131)][_0x1844f4(0x154)]&&_0x1ca55b[_0x1844f4(0x128)](),this[_0x1844f4(0x13e)](_0x1844f4(0x14c),{'id':_0x4bb766,'source':this,'uiInteraction':_0x1844f4(0x159)});}),this['on'](_0x5f36ff(0x146),()=>{const _0x1793ae=_0x5f36ff;this[_0x1793ae(0x13e)](_0x1793ae(0x14c),{'id':_0x4bb766,'source':this,'uiInteraction':_0x1793ae(0x177)});}),this['on'](_0x5f36ff(0x13f),()=>{const _0x3cda56=_0x5f36ff;this[_0x3cda56(0x13e)](_0x3cda56(0x168),{'origin':_0x3cda56(0x167),'id':_0x4bb766,'source':this});});}[_0x1a2151(0x143)](){const _0x5e2538=_0x1a2151;this[_0x5e2538(0x175)]=!0x0;}[_0x1a2151(0x149)](){const _0x2fb16c=_0x1a2151;this[_0x2fb16c(0x175)]=!0x1;}[_0x1a2151(0x142)](){const _0x4fca1e=_0x1a2151,_0x19b11f=new _0x525380(this[_0x4fca1e(0x165)]);return _0x19b11f[_0x4fca1e(0x137)]({'tag':_0x4fca1e(0x130),'attributes':{'class':['ck',_0x4fca1e(0x14f),_0x4fca1e(0x140),_0x4fca1e(0x162),this[_0x4fca1e(0x138)]['if'](_0x4fca1e(0x171),_0x4fca1e(0x13d),_0x59f5d0=>!_0x59f5d0)]}}),_0x19b11f;}[_0x1a2151(0x13c)](){const _0x2bb784=_0x1a2151,_0x211b01=new _0x18957d(this[_0x2bb784(0x165)]);return _0x211b01[_0x2bb784(0x16a)]({'label':_0x5d82b2(this[_0x2bb784(0x165)],_0x2bb784(0x13b)),'withText':!0x0}),_0x211b01[_0x2bb784(0x157)]({'on':{'click':this[_0x2bb784(0x138)]['to'](_0x112c06=>{const _0xb9e6c9=_0x2bb784;this[_0xb9e6c9(0x13e)](_0xb9e6c9(0x158),{'id':this[_0xb9e6c9(0x144)]}),_0x112c06[_0xb9e6c9(0x15b)]();})},'attributes':{'class':[_0x2bb784(0x14a),_0x2bb784(0x13a),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x13d),_0x473bb9=>_0x2bb784(0x147)!==_0x473bb9&&_0x2bb784(0x15e)!==_0x473bb9),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x13a),_0x6cfa23=>_0x2bb784(0x147)===_0x6cfa23),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x148),_0x51daa0=>_0x2bb784(0x15e)===_0x51daa0)]}}),this['on'](_0x2bb784(0x16b),(_0x112fba,_0x557f5b,_0x58daeb)=>{const _0x164c45=_0x2bb784;_0x211b01[_0x164c45(0x15d)]=_0x164c45(0x147)===_0x58daeb,_0x164c45(0x15e)===_0x58daeb&&(_0x211b01[_0x164c45(0x16f)]=_0x5d82b2(this[_0x164c45(0x165)],_0x164c45(0x139)),_0x211b01[_0x164c45(0x129)]=_0x56315);}),_0x211b01;}[_0x1a2151(0x12d)](){const _0x57090c=_0x1a2151,_0xd919af=new _0x18957d(this[_0x57090c(0x165)]);return _0xd919af[_0x57090c(0x16a)]({'label':_0x5d82b2(this[_0x57090c(0x165)],_0x57090c(0x174)),'withText':!0x0}),_0xd919af[_0x57090c(0x157)]({'on':{'click':this[_0x57090c(0x138)]['to'](_0x3b424a=>{const _0xf084b2=_0x57090c;this[_0xf084b2(0x13e)](_0xf084b2(0x12e),{'id':this[_0xf084b2(0x144)]}),_0x3b424a[_0xf084b2(0x15b)]();})},'attributes':{'class':[_0x57090c(0x16d),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x13d),_0x3434e6=>_0x57090c(0x147)!==_0x3434e6&&_0x57090c(0x133)!==_0x3434e6),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x127),_0x333a41=>_0x57090c(0x147)===_0x333a41),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x148),_0x338a17=>_0x57090c(0x133)===_0x338a17)]}}),this['on'](_0x57090c(0x16b),(_0x34a943,_0x192ed1,_0x3c9922)=>{const _0x5af4ef=_0x57090c;_0xd919af[_0x5af4ef(0x15d)]=_0x5af4ef(0x147)===_0x3c9922,_0x5af4ef(0x133)===_0x3c9922&&(_0xd919af[_0x5af4ef(0x16f)]=_0x5d82b2(this[_0x5af4ef(0x165)],_0x5af4ef(0x172)),_0xd919af[_0x5af4ef(0x129)]=_0x4aae64);}),_0xd919af;}[_0x1a2151(0x164)](){const _0x487a3b=_0x1a2151,_0x2ded0b=new _0x18957d(this[_0x487a3b(0x165)]);return _0x2ded0b[_0x487a3b(0x16a)]({'label':_0x5d82b2(this[_0x487a3b(0x165)],_0x487a3b(0x155)),'icon':_0x3d36c1,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x487a3b(0x16c),'class':_0x487a3b(0x152)}),_0x2ded0b[_0x487a3b(0x163)](_0x487a3b(0x14e))['to'](this,_0x487a3b(0x12b),_0x4193dc=>_0x4193dc),_0x2ded0b['on'](_0x487a3b(0x14d),()=>{const _0x3fd2c8=_0x487a3b;this[_0x3fd2c8(0x12b)]=!this[_0x3fd2c8(0x12b)];}),_0x2ded0b;}[_0x1a2151(0x169)](){const _0x5b9b4e=_0x1a2151,_0x319287=new _0x18957d(this[_0x5b9b4e(0x165)]);return _0x319287[_0x5b9b4e(0x16a)]({'label':_0x5d82b2(this[_0x5b9b4e(0x165)],_0x5b9b4e(0x126)),'icon':_0x284a91,'withText':!0x0,'isEnabled':!0x1}),_0x319287[_0x5b9b4e(0x157)]({'attributes':{'class':[_0x5b9b4e(0x14a),_0x5b9b4e(0x148),this[_0x5b9b4e(0x138)]['if'](_0x5b9b4e(0x151),_0x5b9b4e(0x13d),_0x172c54=>_0x5b9b4e(0x156)!==_0x172c54)],'disabled':_0x5b9b4e(0x153)}}),_0x319287;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x5d911c,KeystrokeHandler as _0x5d073d,FocusTracker as _0x123e30}from'ckeditor5/src/utils.js';import{View as _0x506d32,ViewCollection as _0x1f7949,ButtonView as _0x1e0b49,FormRowView as _0x505ff0,createDropdown as _0xd3d519,addListToDropdown as _0x18e2b8,UIModel as _0x51b335,ButtonLabelView as _0x3ec159,LabeledFieldView as _0x334506,FocusCycler as _0x4cc2c1}from'ckeditor5/src/ui.js';import{getTranslation as _0x19a376}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x5e98a2}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x506d32{['focusTracker']=new _0x123e30();['keystrokes']=new _0x5d073d();['focusCycler'];['_focusables']=new _0x1f7949();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x103b09,_0x155e2c,_0x1bc528=!0x1){super(_0x103b09),this['_check']=_0x155e2c,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x155e2c['defaultModel']?_0x155e2c['defaultModel']['id']:'',this['_defaultLabel']=_0x155e2c['defaultModel']?_0x155e2c['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x334506(this['locale'],()=>new _0x5e98a2(_0x103b09)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x5d911c(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1bc528),_0x18e2b8(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x505ff0(this['locale'],{'children':[this['promptInputView']]}),new _0x505ff0(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x3ee326,_0x3e1c5e)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x3e1c5e()):_0x3e1c5e();}),this['focusCycler']=new _0x4cc2c1({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x19de2b=>{this['_focusables']['add'](_0x19de2b),this['focusTracker']['add'](_0x19de2b['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x1083a4 of this['_getFormValidators']()){const _0x383152=_0x1083a4();if(_0x383152)return this['promptInputView']['errorText']=_0x383152,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x19a376(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x141b85=new _0x1e0b49(this['locale']),t=this['locale']['t'];return _0x141b85['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x141b85['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x141b85;}['_createCancelButtonView'](){const _0x4d3db8=new _0x1e0b49(this['locale']),t=this['locale']['t'];return _0x4d3db8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x4d3db8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4ba59e=>{_0x4ba59e['stopPropagation']();})}}),_0x4d3db8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x4d3db8;}['_setModelList'](_0xfd4ab8){this['_modelSelectionDropdownItems']['clear']();const _0x34aa31=this['_check']['models'];if(_0xfd4ab8)this['set']('modelDisplayMode','hidden');else{const _0x503b6a=0x1===_0x34aa31['length'];this['set']('modelDisplayMode',_0x503b6a?'name':'selector');}if(this['resetToDefault'](),_0x34aa31?.['length']){0x1===_0x34aa31['length']&&this['set']('activeModelName',_0x34aa31[0x0]['name']||_0x34aa31[0x0]['id']);for(const _0x309c29 of _0x34aa31){const _0x54e9fe=new _0x51b335({'label':_0x309c29['name'],'withText':!0x0,'role':'menuitemradio','id':_0x309c29['id'],'model':_0x309c29});_0x54e9fe['bind']('isOn')['to'](this,'modelId',_0x2c94bc=>_0x2c94bc===_0x309c29['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x54e9fe,'labelView':new _o(this['locale'],_0x309c29)});}}}['_createModelSelectionDropdown'](){const _0x19771d=_0xd3d519(this['locale']);return _0x19771d['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x19771d['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x19771d['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1e1d1d=>'selector'===_0x1e1d1d),this['listenTo'](_0x19771d,'execute',_0x2f3468=>{this['modelId']=_0x2f3468['source']['model']['id'],_0x19771d['buttonView']['label']=_0x2f3468['source']['label'];}),_0x19771d;}['_createModelNameView'](){const _0x2d0364=new po(this['locale']);return _0x2d0364['bind']('text')['to'](this,'activeModelName',_0x5390c7=>_0x5390c7??''),_0x2d0364['bind']('isVisible')['to'](this,'modelDisplayMode',_0x262d51=>'name'===_0x262d51),_0x2d0364;}['_createActionsFooterView'](){const _0x42e0cb=new _0x506d32(this['locale']);return _0x42e0cb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x42e0cb;}}class po extends _0x506d32{constructor(_0x381d70){super(_0x381d70),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x482c1b=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x482c1b['if']('isVisible','ck-hidden',_0x329215=>!_0x329215)]},'children':[{'text':_0x482c1b['to']('text')}]});}}class _o extends _0x3ec159{constructor(_0x58b055,_0x586749){super();const _0x31bbf1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x31bbf1['to']('style'),'id':_0x31bbf1['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x31bbf1['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x586749['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x444de3,_0x1b14f0){var _0x18a627=_0x116f,_0x229b62=_0x444de3();while(!![]){try{var _0xad1f54=parseInt(_0x18a627(0x106))/0x1+parseInt(_0x18a627(0x107))/0x2+parseInt(_0x18a627(0x110))/0x3*(parseInt(_0x18a627(0x10c))/0x4)+-parseInt(_0x18a627(0x102))/0x5*(parseInt(_0x18a627(0x112))/0x6)+parseInt(_0x18a627(0x109))/0x7*(-parseInt(_0x18a627(0x10d))/0x8)+parseInt(_0x18a627(0x105))/0x9*(-parseInt(_0x18a627(0x103))/0xa)+parseInt(_0x18a627(0x108))/0xb*(parseInt(_0x18a627(0x10f))/0xc);if(_0xad1f54===_0x1b14f0)break;else _0x229b62['push'](_0x229b62['shift']());}catch(_0x45a898){_0x229b62['push'](_0x229b62['shift']());}}}(_0x2c06,0xaff27));import{ButtonView as _0x2fb0d5}from'ckeditor5/src/ui.js';function _0x2c06(){var _0x55f46e=['ck-ai-button-primary','4958348LsSVTS','4918840SuDKxC','fire','10193268saYmpS','3YJTTPa','set','852504WbHaBi','10REDKqW','296730esTvvo','finishReview','414sGIonw','291370bVRuHX','2438238cQBbTa','11hJTLZu','14bqRTXP','execute'];_0x2c06=function(){return _0x55f46e;};return _0x2c06();}function _0x116f(_0x12d5d7,_0x157a8a){var _0x2c063b=_0x2c06();return _0x116f=function(_0x116f5a,_0x95e2b5){_0x116f5a=_0x116f5a-0x102;var _0x12d403=_0x2c063b[_0x116f5a];return _0x12d403;},_0x116f(_0x12d5d7,_0x157a8a);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x2fb0d5{constructor(_0x5c11e3,_0xff5c73){var _0x50bfc5=_0x116f;super(_0xff5c73),this[_0x50bfc5(0x111)]({'label':_0x5c11e3,'withText':!0x0,'class':_0x50bfc5(0x10b)}),this['on'](_0x50bfc5(0x10a),()=>{var _0x1368dd=_0x50bfc5;this[_0x1368dd(0x10e)](_0x1368dd(0x104));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd673a,_0x4b4415){const _0x316927=_0x1c8a,_0x3a444d=_0xd673a();while(!![]){try{const _0x5987b6=-parseInt(_0x316927(0x1e6))/0x1+-parseInt(_0x316927(0x1db))/0x2+-parseInt(_0x316927(0x1d3))/0x3*(-parseInt(_0x316927(0x1d5))/0x4)+parseInt(_0x316927(0x1d9))/0x5*(parseInt(_0x316927(0x1e3))/0x6)+parseInt(_0x316927(0x1d6))/0x7*(parseInt(_0x316927(0x1e1))/0x8)+-parseInt(_0x316927(0x1e4))/0x9+-parseInt(_0x316927(0x1d7))/0xa*(-parseInt(_0x316927(0x1e2))/0xb);if(_0x5987b6===_0x4b4415)break;else _0x3a444d['push'](_0x3a444d['shift']());}catch(_0x112b16){_0x3a444d['push'](_0x3a444d['shift']());}}}(_0x21a5,0x1bc6d));import{View as _0x4324b2}from'ckeditor5/src/ui.js';function _0x1c8a(_0x302831,_0x1728d6){const _0x21a582=_0x21a5();return _0x1c8a=function(_0x1c8a21,_0x3d8d9b){_0x1c8a21=_0x1c8a21-0x1d3;let _0x3abcd2=_0x21a582[_0x1c8a21];return _0x3abcd2;},_0x1c8a(_0x302831,_0x1728d6);}export class AIReviewCoreGeneralErrorView extends _0x4324b2{constructor(_0x404111){const _0x216f3d=_0x1c8a;super(_0x404111),this[_0x216f3d(0x1e0)](_0x216f3d(0x1d4),!0x1),this[_0x216f3d(0x1e0)](_0x216f3d(0x1e5),'');const _0x481060=this[_0x216f3d(0x1dc)];this[_0x216f3d(0x1da)]({'tag':_0x216f3d(0x1dd),'attributes':{'class':['ck',_0x216f3d(0x1de),_0x481060['if'](_0x216f3d(0x1d4),_0x216f3d(0x1d8),_0x15002a=>!_0x15002a)]},'children':[{'tag':'p','attributes':{'class':_0x216f3d(0x1df)},'children':[{'text':_0x481060['to'](_0x216f3d(0x1e5))}]}]});}}function _0x21a5(){const _0x670662=['set','47352AgXpXc','616etsTyc','15270hWKWYL','1657386rLMHCE','errorMessage','52595xzRFsu','340923ozKgeD','isVisible','4JcHZKg','28ULRcyY','20070xauBhA','ck-hidden','445ldYDvB','setTemplate','251384pwBnkl','bindTemplate','div','ck-ai_review__general-error-container','ck\x20ck-ai-notification\x20ck-ai-notification_error'];_0x21a5=function(){return _0x670662;};return _0x21a5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x1d027b=_0x45f8;function _0x51cb(){var _0x162eef=['element','value','isEmpty','1800778LaBUDy','ck-review__prompt-input','minRows','render','536pTtaiC','update','MIN_ROWS','451956tyoTwy','3058VLILes','extendTemplate','65628kaGbbP','trim','1883436lJgOEr','1429653mrqmtk','keystrokes','MAX_ROWS','ai-review-prompt-input','16GBKnyA','set','2304018yxKbvA','maxRows','63110DHGgmr','listenTo','15EZNgFk'];_0x51cb=function(){return _0x162eef;};return _0x51cb();}(function(_0x4dcd2d,_0x4a1d23){var _0x55827e=_0x45f8,_0x283ec4=_0x4dcd2d();while(!![]){try{var _0x254880=parseInt(_0x55827e(0x1ca))/0x1+-parseInt(_0x55827e(0x1c9))/0x2+parseInt(_0x55827e(0x1df))/0x3*(parseInt(_0x55827e(0x1ce))/0x4)+parseInt(_0x55827e(0x1d4))/0x5*(parseInt(_0x55827e(0x1d0))/0x6)+-parseInt(_0x55827e(0x1d8))/0x7+parseInt(_0x55827e(0x1dc))/0x8*(parseInt(_0x55827e(0x1e2))/0x9)+parseInt(_0x55827e(0x1d2))/0xa*(-parseInt(_0x55827e(0x1e0))/0xb);if(_0x254880===_0x4a1d23)break;else _0x283ec4['push'](_0x283ec4['shift']());}catch(_0x23ca11){_0x283ec4['push'](_0x283ec4['shift']());}}}(_0x51cb,0xafa2c));function _0x45f8(_0x5e7101,_0x1294af){var _0x51cb5a=_0x51cb();return _0x45f8=function(_0x45f8fb,_0x17a833){_0x45f8fb=_0x45f8fb-0x1c8;var _0x44a424=_0x51cb5a[_0x45f8fb];return _0x44a424;},_0x45f8(_0x5e7101,_0x1294af);}import{TextareaView as _0x18c0fe}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x505a64}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x18c0fe{[_0x1d027b(0x1cb)];static [_0x1d027b(0x1de)]=0x1;static [_0x1d027b(0x1cc)]=0xc;constructor(_0x37ef06){var _0x3861c3=_0x1d027b;super(_0x37ef06),this[_0x3861c3(0x1cf)](_0x3861c3(0x1d7),!0x0),this[_0x3861c3(0x1cb)]=new _0x505a64(),this[_0x3861c3(0x1da)]=AIReviewCorePromptInputView[_0x3861c3(0x1de)],this[_0x3861c3(0x1d1)]=AIReviewCorePromptInputView[_0x3861c3(0x1cc)],this[_0x3861c3(0x1e1)]({'attributes':{'id':_0x3861c3(0x1cd),'class':['ck',_0x3861c3(0x1d9)]}});}[_0x1d027b(0x1db)](){var _0x3b802f=_0x1d027b;super[_0x3b802f(0x1db)](),this['on'](_0x3b802f(0x1dd),()=>{var _0x19401b=_0x3b802f;this[_0x19401b(0x1d7)]=''===this[_0x19401b(0x1d5)][_0x19401b(0x1d6)]?.[_0x19401b(0x1c8)]();}),this[_0x3b802f(0x1cb)][_0x3b802f(0x1d3)](this[_0x3b802f(0x1d5)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xde9756=_0x4414;function _0x4414(_0x356321,_0x12884b){const _0x3e3c1c=_0x3e3c();return _0x4414=function(_0x4414dc,_0x58816d){_0x4414dc=_0x4414dc-0x174;let _0x259a1f=_0x3e3c1c[_0x4414dc];return _0x259a1f;},_0x4414(_0x356321,_0x12884b);}(function(_0x1079aa,_0x3c62d4){const _0x4b76a1=_0x4414,_0x49dfd9=_0x1079aa();while(!![]){try{const _0x415371=parseInt(_0x4b76a1(0x17f))/0x1+parseInt(_0x4b76a1(0x185))/0x2+parseInt(_0x4b76a1(0x181))/0x3+parseInt(_0x4b76a1(0x176))/0x4*(parseInt(_0x4b76a1(0x17e))/0x5)+parseInt(_0x4b76a1(0x17a))/0x6*(-parseInt(_0x4b76a1(0x175))/0x7)+parseInt(_0x4b76a1(0x184))/0x8+-parseInt(_0x4b76a1(0x182))/0x9*(parseInt(_0x4b76a1(0x186))/0xa);if(_0x415371===_0x3c62d4)break;else _0x49dfd9['push'](_0x49dfd9['shift']());}catch(_0xe10b3b){_0x49dfd9['push'](_0x49dfd9['shift']());}}}(_0x3e3c,0x38040));import{ListItemView as _0x3b483f,ViewCollection as _0x2b1fe2}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0xa219a3}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x3b483f{[_0xde9756(0x178)];constructor(_0x236475){const _0xc732de=_0xde9756;super(_0x236475),this[_0xc732de(0x178)]=new _0x2b1fe2(),this[_0xc732de(0x190)]();}[_0xde9756(0x17b)](_0x585af7,_0x4146dd=!0x1){const _0x599fb2=_0xde9756;this[_0x599fb2(0x178)][_0x599fb2(0x179)]();for(const [_0x105357,_0x1c9e27]of _0x585af7[_0x599fb2(0x18f)]()){const _0x12da64=new _0xa219a3(this[_0x599fb2(0x187)],_0x1c9e27,_0x105357,_0x4146dd);_0x12da64[_0x599fb2(0x18a)](_0x599fb2(0x17c))['to'](this),this[_0x599fb2(0x178)][_0x599fb2(0x17d)](_0x12da64);}}[_0xde9756(0x18b)](){const _0x5e262d=_0xde9756;return this[_0x5e262d(0x178)][_0x5e262d(0x189)]>0x0;}[_0xde9756(0x177)](){const _0x434cef=_0xde9756;for(const _0x34a4ac of this[_0x434cef(0x178)])_0x34a4ac instanceof _0xa219a3&&_0x34a4ac[_0x434cef(0x183)]();}[_0xde9756(0x190)](){const _0x24cd5d=_0xde9756,_0x4f7de6=this[_0x24cd5d(0x18d)];this[_0x24cd5d(0x180)]({'tag':_0x24cd5d(0x188),'attributes':{'class':[_0x24cd5d(0x18c),_0x4f7de6['if'](_0x24cd5d(0x18e),_0x24cd5d(0x174),_0x337561=>!_0x337561)]},'children':this[_0x24cd5d(0x178)]});}}function _0x3e3c(){const _0x35bb39=['28kshhZM','129568hWTMlW','resetAllParameterizedChecks','_checkViews','clear','684wFgLdS','setChecks','runReviewCheck','add','10GCzEZD','141169OkbcWl','setTemplate','52434SKamOq','18pUuuNF','resetToDefault','1152968sRHJbl','2580vOuEwf','694730IFfvkU','locale','div','length','delegate','hasChecks','ck-ai_review__check-list','bindTemplate','isVisible','entries','_setupTemplate','ck-hidden'];_0x3e3c=function(){return _0x35bb39;};return _0x3e3c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x577ba1,IconView as _0x12fca0,View as _0x534b86,ViewCollection as _0x11af67,ButtonView as _0x3e6a0c,clickOutsideHandler as _0x44ec9e}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x5cf092}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x485f83}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x577ba1{['_formItemsCollection']=new _0x11af67();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x10e69e,_0x4850c2,_0x11c4cc,_0x18580f=!0x1){super(_0x10e69e),this['_hideModels']=_0x18580f,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4850c2['isParameterized']);const _0x33edf3=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x3d178b=>_0x3d178b),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x4b2079=>_0x4b2079)],'style':{'--ck-ai-review-check-list-item-index':_0x11c4cc}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x4850c2['title']}]},_0x33edf3]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x4850c2['description']?[{'text':_0x4850c2['description']}]:[]}]}]},..._0x4850c2['isParameterized']?[this['_createParameterizedView'](_0x4850c2)]:[],...'custom'===_0x4850c2['id']?[this['_createCustomView'](_0x4850c2,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x4850c2['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4850c2['id'],'args':_0x4850c2['useArgs']?_0x4850c2['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x44ec9e({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x5242e0=>{_0x5242e0['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x30953a=new _0x12fca0();return _0x30953a['content']=_0x5cf092,_0x30953a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x30953a;}['_createParameterizedView'](_0x212b16){const _0x50d75c=new _0x534b86(),_0x28248d=this['_createFormView'](_0x212b16);return _0x50d75c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2a526f=>!_0x2a526f)]},'children':[_0x28248d]}),_0x50d75c;}['_createFormView'](_0x9b0b94){const _0x33d3d8=new _0x534b86(),_0x4eaaf6=Array['isArray'](_0x9b0b94['options'])?_0x9b0b94['options']:[],_0x945f29=new _0x3e6a0c(this['locale']),t=this['locale']['t'];_0x945f29['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x945f29['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1b2a26=>{_0x1b2a26['stopPropagation']();})}}),_0x945f29['on']('execute',()=>{const _0x1affdc=[],_0x2d78ea={};this['_formItemsCollection']['forEach'](_0x11d19d=>{_0x1affdc['push'](_0x11d19d['value']),_0x9b0b94['useArgs']&&_0x9b0b94['options']&&(_0x2d78ea[_0x11d19d['argsKey']]=_0x11d19d['value']);}),this['fire']('runReviewCheck',{'id':_0x9b0b94['id'],'params':_0x1affdc['length']?_0x1affdc:void 0x0,'args':Object['keys'](_0x2d78ea)['length']?_0x2d78ea:void 0x0});});const _0x301646=_0x4eaaf6['length'];return _0x4eaaf6['forEach']((_0x1f9caa,_0x3ce5c8)=>{const _0x1f6260=_0x3ce5c8===_0x301646-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x1f9caa,_0x1f6260?_0x945f29:null));}),_0x33d3d8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x33d3d8;}['_createCustomView'](_0x445278,_0x2b9ab7=!0x1){return this['_customCheckView']=new _0x485f83(this['locale'],_0x445278,_0x2b9ab7),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xd3b83e=>!_0xd3b83e)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x2c76b7,_0x28ca6a,_0x5302b5)=>{_0x5302b5||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b1696=_0x1ea2;(function(_0x483219,_0x4bbdc6){const _0x2f5420=_0x1ea2,_0x173645=_0x483219();while(!![]){try{const _0x1551ee=-parseInt(_0x2f5420(0x71))/0x1+-parseInt(_0x2f5420(0x73))/0x2+-parseInt(_0x2f5420(0x76))/0x3+parseInt(_0x2f5420(0x88))/0x4+parseInt(_0x2f5420(0x7c))/0x5*(-parseInt(_0x2f5420(0x86))/0x6)+parseInt(_0x2f5420(0x85))/0x7+-parseInt(_0x2f5420(0x7f))/0x8*(-parseInt(_0x2f5420(0x70))/0x9);if(_0x1551ee===_0x4bbdc6)break;else _0x173645['push'](_0x173645['shift']());}catch(_0x1ac8f9){_0x173645['push'](_0x173645['shift']());}}}(_0x432f,0x71a35));function _0x1ea2(_0x567196,_0x41132e){const _0x432f44=_0x432f();return _0x1ea2=function(_0x1ea207,_0x53540d){_0x1ea207=_0x1ea207-0x69;let _0x2321dc=_0x432f44[_0x1ea207];return _0x2321dc;},_0x1ea2(_0x567196,_0x41132e);}function _0x432f(){const _0x266155=['ck-ai_review__review-completed-header','setTemplate','buttonText','6936993BnZxhZ','580114POWvXp','ck-ai_review__review-completed-content','519526NiaTuM','emptyResultsText','ck-ai_review__review-completed-content-text','2319822SMEyzj','_resultsHeader','locale','isVisible','_finishReviewButtonView','delegate','11215aIdmXZ','ck-hidden','_createFinishReviewButtonView','16UImisQ','div','bindTemplate','ck-ai_review__review-completed-header-buttons','_createResultHeaderView','span','3324370FcvBSt','876YbJsIp','ck-ai_review__review-completed','1558504szHleY','ck-ai_review__review-completed-header-title','ck-ai_review__review-completed-content-icon','headerText','finishReview'];_0x432f=function(){return _0x266155;};return _0x432f();}import{ListItemView as _0x48e467,View as _0x480986}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4769ed}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x48e467{[_0x2b1696(0x77)];[_0x2b1696(0x7a)];constructor(_0x3a6f37,_0x19cdb4){const _0x1c49fc=_0x2b1696;super(_0x3a6f37),this[_0x1c49fc(0x7a)]=this[_0x1c49fc(0x7e)](_0x19cdb4[_0x1c49fc(0x6f)]),this[_0x1c49fc(0x77)]=this[_0x1c49fc(0x83)](_0x19cdb4[_0x1c49fc(0x6b)]);const _0x577a9b=this[_0x1c49fc(0x81)];this[_0x1c49fc(0x6e)]({'tag':_0x1c49fc(0x80),'attributes':{'class':[_0x1c49fc(0x87),_0x577a9b['if'](_0x1c49fc(0x79),_0x1c49fc(0x7d),_0x59a084=>!_0x59a084)]},'children':[this[_0x1c49fc(0x77)],{'tag':_0x1c49fc(0x80),'attributes':{'class':[_0x1c49fc(0x72)]},'children':[{'tag':_0x1c49fc(0x84),'attributes':{'class':[_0x1c49fc(0x6a)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1c49fc(0x75)]},'children':[{'text':_0x19cdb4[_0x1c49fc(0x74)]}]}]}]});}[_0x2b1696(0x7e)](_0x550992){const _0x2c1419=_0x2b1696,_0x2e163c=new _0x4769ed(_0x550992,this[_0x2c1419(0x78)]);return _0x2e163c[_0x2c1419(0x7b)](_0x2c1419(0x6c))['to'](this),_0x2e163c;}[_0x2b1696(0x83)](_0x5900c2){const _0xb82a13=_0x2b1696,_0x26ffa9=new _0x480986(this[_0xb82a13(0x78)]);return _0x26ffa9[_0xb82a13(0x6e)]({'tag':_0xb82a13(0x80),'attributes':{'class':[_0xb82a13(0x6d)]},'children':[{'tag':_0xb82a13(0x84),'attributes':{'class':[_0xb82a13(0x69)]},'children':[{'text':_0x5900c2}]},{'tag':_0xb82a13(0x80),'attributes':{'class':[_0xb82a13(0x82)]},'children':[this[_0xb82a13(0x7a)]]}]}),_0x26ffa9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x278c9c,View as _0xd27db0,ViewCollection as _0x4e28af,ButtonView as _0x1476bc}from'ckeditor5/src/ui.js';import{IconStop as _0x4344d7,IconEye as _0x2b0021,IconEyeCrossedOut as _0x19c48a}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x10340e,SKELETON_DEFINITIONS as _0x5d9a4a}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x188e12}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x5ef837}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0xefee94}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x365eab}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x1b2692}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x278c9c{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x28442b,_0x2e6cbf){super(_0x28442b),this['_contents']=_0x2e6cbf,this['_resultViews']=new _0x4e28af(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x188e12(_0x28442b),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x1c44cb=this['_createCombinedSkeletonLoader'](),_0x3b1f88=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x3b1f88['if']('isLoading','ck-ai_review__check-run_loading',_0x2adc76=>_0x2adc76),_0x3b1f88['if']('isResultReady','ck-ai_review__check-run_ready',_0x179ff0=>_0x179ff0),_0x3b1f88['if']('isVisible','ck-hidden',_0x49ba21=>!_0x49ba21)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x246b0a=>_0x246b0a)]},'children':this['_resultViews']},_0x1c44cb]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x23ce30){const _0x15982f=new _0x365eab(this['locale'],_0x23ce30['id']);_0x15982f['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x15982f),_0x15982f['resultResponseView']['element']['innerHTML']=_0x23ce30['contentDiffed'];}['hideResult'](_0x1671b5,_0x1abc87){if('pending'===_0x1abc87)return;const _0x568455=this['_resultViews']['find'](_0x2cc753=>_0x2cc753['id']===_0x1671b5);_0x568455&&(_0x568455['status']=_0x1abc87,_0x568455['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x2e629d,_0x6b3223){if('pending'!==_0x6b3223)return;const _0xb0a049=this['_resultViews']['find'](_0x449e35=>_0x449e35['id']===_0x2e629d);_0xb0a049&&(_0xb0a049['status']=_0x6b3223,_0xb0a049['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x58c70d,_0xb23fd1){this['headerTitle']=_0x58c70d,this['headerSubtitle']=_0xb23fd1||'';}['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 _0x10340e(this['locale'],_0x5d9a4a['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x477110=new _0xd27db0(this['locale']),_0x1b592c=[];for(let _0x1922ca=0x0;_0x1922ca<0x10;_0x1922ca++){const _0x490269=this['_createSkeletonLoader']();_0x490269['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x1b592c['push'](_0x490269);}return _0x477110['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x4e7039=>!_0x4e7039)]},'children':_0x1b592c}),_0x477110;}['_createErrorView'](){const _0x53b5c0=new _0xd27db0(this['locale']),_0x41dfa8=new _0x1476bc(this['locale']),t=this['locale']['t'];return _0x53b5c0['delegate']('retryReview')['to'](this),_0x41dfa8['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x41dfa8['on']('execute',()=>{this['fire']('retryReview');}),_0x53b5c0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5165c3=>!_0x5165c3),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x3a35cb=>'chunk'===_0x3a35cb)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x350f97=>'chunk'===_0x350f97)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x550daa=>'general'!==_0x550daa)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x49541b=>'chunk'!==_0x49541b)]},'children':[{'text':_0x5ef837(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x41dfa8]}),_0x53b5c0;}['_createCancelButtonView'](){const _0x5e29f0=new _0x1476bc(this['locale']);return _0x5e29f0['set']({'label':_0x5ef837(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x4344d7}),_0x5e29f0['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x423aea=>_0x423aea),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1a3420=>_0x1a3420)]}}),_0x5e29f0['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x5e29f0;}['_createToggleDiffButtonView'](){const _0x15b191=new _0x1476bc(this['locale']);_0x15b191['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x15b191['bind']('isEnabled')['to'](this,'isError',_0x53d156=>!_0x53d156),_0x15b191['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x445b23=>!_0x445b23),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x301037=>_0x301037)]}});const _0x40b4cd=_0x5ef837(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3705d6=_0x5ef837(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x15b191['bind']('isOn')['to'](this,'isToggleDiffOn',_0x28c27c=>_0x28c27c),_0x15b191['bind']('icon')['to'](this,'isToggleDiffOn',_0x32fa5e=>_0x32fa5e?_0x2b0021:_0x19c48a),_0x15b191['bind']('label')['to'](this,'isToggleDiffOn',_0x3e9c36=>_0x3e9c36?_0x40b4cd:_0x3705d6),_0x15b191['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x15b191;}['_createAcceptAllButtonView'](){const _0x307252=new _0x1476bc(this['locale']);return _0x307252['set']({'label':_0x5ef837(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x307252['bind']('isEnabled')['to'](this,'isError',_0x5cfa99=>!_0x5cfa99),_0x307252['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x14f1c3=>!_0x14f1c3),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1c23d5=>_0x1c23d5)]}}),_0x307252['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x307252;}['_createExitReviewButtonView'](){const _0x39f845=new _0x1476bc(this['locale']);return _0x39f845['set']({'label':_0x5ef837(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x39f845['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x527fdb=>!_0x527fdb),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2056fc=>_0x2056fc)]}}),_0x39f845['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x39f845;}['_createResultHeaderView'](){const _0x4a559b=new _0xd27db0(this['locale']),_0xed393e=this['_createTitleView']();return _0x4a559b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x282c28=>_0x282c28)]},'children':[_0xed393e,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x4a559b;}['_createTitleView'](){const _0x131c61=new _0xd27db0(this['locale']),_0x33bf20=new _0xefee94();return _0x33bf20['bind']('isVisible')['to'](this,'isResultReady',_0x1cdf39=>!_0x1cdf39),_0x131c61['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x33bf20,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3021a3=>_0x3021a3)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x325641=>!_0x325641)]},'children':[{'text':_0x5ef837(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x131c61;}['_createFinishReviewButtonView'](){const _0x33b707=new _0x1b2692(_0x5ef837(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x33b707['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5049c7=>!_0x5049c7)]}}),_0x33b707['delegate']('finishReview')['to'](this),_0x33b707;}}
|
|
23
|
+
import{ListItemView as _0x11a24f,View as _0x258e6c,ViewCollection as _0x2ba660,ButtonView as _0x542232}from'ckeditor5/src/ui.js';import{IconStop as _0x5cb599,IconEye as _0x4bcc2e,IconEyeCrossedOut as _0x1f302e}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x45c2ca,SKELETON_DEFINITIONS as _0x590dcd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x285096}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x3696b8}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x4ffa3e}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x310bc2}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x1952ad}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x11a24f{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x43742a,_0x4c35d4){super(_0x43742a),this['_contents']=_0x4c35d4,this['_resultViews']=new _0x2ba660(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x285096(_0x43742a),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x88b7a6=this['_createCombinedSkeletonLoader'](),_0x25b7f9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x25b7f9['if']('isLoading','ck-ai_review__check-run_loading',_0x5200be=>_0x5200be),_0x25b7f9['if']('isResultReady','ck-ai_review__check-run_ready',_0x4764f8=>_0x4764f8),_0x25b7f9['if']('isVisible','ck-hidden',_0x1dea7e=>!_0x1dea7e)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x40ca66=>_0x40ca66)]},'children':this['_resultViews']},_0x88b7a6]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x7ef9ea){const _0x5bf1a5=new _0x310bc2(this['locale'],_0x7ef9ea['id']);_0x5bf1a5['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5bf1a5),_0x5bf1a5['resultResponseView']['element']['innerHTML']=_0x7ef9ea['contentDiffed'];}['hideResult'](_0x2a4bf0,_0x55c7cd){if('pending'===_0x55c7cd)return;const _0xf2708d=this['_resultViews']['find'](_0xeca4ed=>_0xeca4ed['id']===_0x2a4bf0);_0xf2708d&&(_0xf2708d['status']=_0x55c7cd,_0xf2708d['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x249574,_0x254c53){if('pending'!==_0x254c53)return;const _0x3a406b=this['_resultViews']['find'](_0x326b68=>_0x326b68['id']===_0x249574);_0x3a406b&&(_0x3a406b['status']=_0x254c53,_0x3a406b['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x498969,_0x54b96c){this['headerTitle']=_0x498969,this['headerSubtitle']=_0x54b96c||'';}['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 _0x45c2ca(this['locale'],_0x590dcd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0xe07e28=new _0x258e6c(this['locale']),_0x4ce9e7=[];for(let _0x1991e2=0x0;_0x1991e2<0x10;_0x1991e2++){const _0x410750=this['_createSkeletonLoader']();_0x410750['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x4ce9e7['push'](_0x410750);}return _0xe07e28['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x31fb37=>!_0x31fb37)]},'children':_0x4ce9e7}),_0xe07e28;}['_createErrorView'](){const _0x29e41a=new _0x258e6c(this['locale']),_0x3e51d8=new _0x542232(this['locale']),t=this['locale']['t'];return _0x29e41a['delegate']('retryReview')['to'](this),_0x3e51d8['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x3e51d8['on']('execute',()=>{this['fire']('retryReview');}),_0x29e41a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x422aa5=>!_0x422aa5),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2516f1=>'chunk'===_0x2516f1)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x37d000=>'chunk'===_0x37d000)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2335f9=>'general'!==_0x2335f9)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4b3564=>'chunk'!==_0x4b3564)]},'children':[{'text':_0x3696b8(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3e51d8]}),_0x29e41a;}['_createCancelButtonView'](){const _0xdfac88=new _0x542232(this['locale']);return _0xdfac88['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5cb599}),_0xdfac88['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x486c12=>_0x486c12),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5744a7=>_0x5744a7)]}}),_0xdfac88['on']('execute',()=>{this['fire']('abortReviewStream');}),_0xdfac88;}['_createToggleDiffButtonView'](){const _0x852168=new _0x542232(this['locale']);_0x852168['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x852168['bind']('isEnabled')['to'](this,'isError',_0x230f97=>!_0x230f97),_0x852168['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x339215=>!_0x339215),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x136fbf=>_0x136fbf)]}});const _0x2b91ba=_0x3696b8(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x8567a9=_0x3696b8(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x852168['bind']('isOn')['to'](this,'isToggleDiffOn',_0x58bae7=>_0x58bae7),_0x852168['bind']('icon')['to'](this,'isToggleDiffOn',_0x4e4ace=>_0x4e4ace?_0x4bcc2e:_0x1f302e),_0x852168['bind']('label')['to'](this,'isToggleDiffOn',_0x3aec2a=>_0x3aec2a?_0x2b91ba:_0x8567a9),_0x852168['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x852168;}['_createAcceptAllButtonView'](){const _0x2481e=new _0x542232(this['locale']);return _0x2481e['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x2481e['bind']('isEnabled')['to'](this,'isError',_0x500825=>!_0x500825),_0x2481e['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x182463=>!_0x182463),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4f3b1f=>_0x4f3b1f)]}}),_0x2481e['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x2481e;}['_createExitReviewButtonView'](){const _0x30cd9e=new _0x542232(this['locale']);return _0x30cd9e['set']({'label':_0x3696b8(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x30cd9e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x354eee=>!_0x354eee),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1ede5b=>_0x1ede5b)]}}),_0x30cd9e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x30cd9e;}['_createResultHeaderView'](){const _0x46b029=new _0x258e6c(this['locale']),_0x52d2d8=this['_createTitleView']();return _0x46b029['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x3e7f5a=>_0x3e7f5a)]},'children':[_0x52d2d8,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x46b029;}['_createTitleView'](){const _0x7cdea2=new _0x258e6c(this['locale']),_0xbb197b=new _0x4ffa3e();return _0xbb197b['bind']('isVisible')['to'](this,'isResultReady',_0xe91948=>!_0xe91948),_0x7cdea2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0xbb197b,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4fe493=>_0x4fe493)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b65b5=>!_0x2b65b5)]},'children':[{'text':_0x3696b8(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x7cdea2;}['_createFinishReviewButtonView'](){const _0xa2e67c=new _0x1952ad(_0x3696b8(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0xa2e67c['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x26e42a=>!_0x26e42a)]}}),_0xa2e67c['delegate']('finishReview')['to'](this),_0xa2e67c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x350426=_0x3c8d;(function(_0xc96618,_0x2fb035){var _0x2c1ba2=_0x3c8d,_0x23e07d=_0xc96618();while(!![]){try{var _0x37556b=parseInt(_0x2c1ba2(0x14e))/0x1+parseInt(_0x2c1ba2(0x147))/0x2+-parseInt(_0x2c1ba2(0x155))/0x3+parseInt(_0x2c1ba2(0x138))/0x4*(-parseInt(_0x2c1ba2(0x164))/0x5)+parseInt(_0x2c1ba2(0x152))/0x6*(parseInt(_0x2c1ba2(0x149))/0x7)+parseInt(_0x2c1ba2(0x15a))/0x8*(-parseInt(_0x2c1ba2(0x156))/0x9)+parseInt(_0x2c1ba2(0x15e))/0xa;if(_0x37556b===_0x2fb035)break;else _0x23e07d['push'](_0x23e07d['shift']());}catch(_0x596f53){_0x23e07d['push'](_0x23e07d['shift']());}}}(_0xc71b,0x662a3));function _0x3c8d(_0x44d6b5,_0x5d65b9){var _0xc71bf5=_0xc71b();return _0x3c8d=function(_0x3c8d00,_0x2d7b76){_0x3c8d00=_0x3c8d00-0x137;var _0x1d1b34=_0xc71bf5[_0x3c8d00];return _0x1d1b34;},_0x3c8d(_0x44d6b5,_0x5d65b9);}import{View as _0x2dd7b9}from'ckeditor5/src/ui.js';function _0xc71b(){var _0x484f0d=['clearResults','24688Iseidn','reviewCheckListView','showNoChangesView','delegate','429690TKwMHp','isLoading','ck-rounded-corners','769941ZzoQYU','306vAfLbl','generalErrorView','ck-reset_all','hideActionsWhenResultIsReady','167208eoswQt','resetAllParameterizedChecks','ck-ai-review','showChunkErrorMessage','3225940dpsSvp','showActionsWhenResultIsReady','completed','setTemplate','reviewCheckResultsView','showReviewCompletedView','105ovAFAk','showGeneralErrorMessage','header','set','ltr','74644uXvTAK','showGeneralResultsErrorView','list','reviewCompletedView','finishReview','showReviewCheckResultsView','isCompleted','isResultReady','div','results','reviewCoreHeader','showGeneralReviewCoreErrorView','resetErrorState','addResult','errorMessage','1571624BSAMMU','showChunkErrorView','63KWHsOY','showReviewCheckListView','addCheckRunResult','isVisible'];_0xc71b=function(){return _0x484f0d;};return _0xc71b();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x550a1e}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x261afa}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x2dd7b9{[_0x350426(0x142)];[_0x350426(0x157)];[_0x350426(0x14f)];[_0x350426(0x162)];[_0x350426(0x13b)];constructor(_0xe01793,_0x394461){var _0x487ed4=_0x350426;super(_0xe01793),this[_0x487ed4(0x142)]=_0x394461[_0x487ed4(0x166)],this[_0x487ed4(0x157)]=new _0x261afa(_0xe01793),this[_0x487ed4(0x14f)]=_0x394461[_0x487ed4(0x13a)],this[_0x487ed4(0x14f)][_0x487ed4(0x151)](..._0x550a1e)['to'](this),this[_0x487ed4(0x162)]=_0x394461[_0x487ed4(0x141)],this[_0x487ed4(0x162)][_0x487ed4(0x151)](..._0x550a1e)['to'](this),this[_0x487ed4(0x13b)]=_0x394461[_0x487ed4(0x160)],this[_0x487ed4(0x13b)][_0x487ed4(0x151)](_0x487ed4(0x13c))['to'](this),this[_0x487ed4(0x14f)][_0x487ed4(0x167)](_0x487ed4(0x14c),!0x1),this[_0x487ed4(0x162)][_0x487ed4(0x167)](_0x487ed4(0x14c),!0x1),this[_0x487ed4(0x162)][_0x487ed4(0x167)](_0x487ed4(0x153),!0x1),this[_0x487ed4(0x162)][_0x487ed4(0x167)](_0x487ed4(0x13f),!0x1),this[_0x487ed4(0x13b)][_0x487ed4(0x167)](_0x487ed4(0x14c),!0x1),this[_0x487ed4(0x161)]({'tag':_0x487ed4(0x140),'attributes':{'class':['ck',_0x487ed4(0x158),_0x487ed4(0x15c),_0x487ed4(0x154)],'dir':_0x487ed4(0x137)},'children':[this[_0x487ed4(0x142)],this[_0x487ed4(0x157)],this[_0x487ed4(0x14f)],this[_0x487ed4(0x162)],this[_0x487ed4(0x13b)]]});}[_0x350426(0x14a)](){var _0x33c094=_0x350426;this[_0x33c094(0x14f)][_0x33c094(0x15b)](),this[_0x33c094(0x14f)][_0x33c094(0x167)](_0x33c094(0x14c),!0x0),this[_0x33c094(0x162)][_0x33c094(0x167)](_0x33c094(0x14c),!0x1),this[_0x33c094(0x13b)][_0x33c094(0x167)](_0x33c094(0x14c),!0x1);}[_0x350426(0x13d)](){var _0x34856f=_0x350426;this[_0x34856f(0x159)](),this[_0x34856f(0x162)][_0x34856f(0x144)](),this[_0x34856f(0x14f)][_0x34856f(0x167)](_0x34856f(0x14c),!0x1),this[_0x34856f(0x162)][_0x34856f(0x167)](_0x34856f(0x14c),!0x0),this[_0x34856f(0x162)][_0x34856f(0x14d)](),this[_0x34856f(0x162)][_0x34856f(0x167)](_0x34856f(0x153),!0x0),this[_0x34856f(0x162)][_0x34856f(0x167)](_0x34856f(0x13e),!0x1);}[_0x350426(0x14b)](_0x8d25d5){var _0xa714c2=_0x350426;this[_0xa714c2(0x162)][_0xa714c2(0x145)](_0x8d25d5),this[_0xa714c2(0x162)][_0xa714c2(0x167)](_0xa714c2(0x153),!0x1);}[_0x350426(0x163)](){var _0x13f78d=_0x350426;this[_0x13f78d(0x162)][_0x13f78d(0x167)](_0x13f78d(0x14c),!0x0),this[_0x13f78d(0x13b)][_0x13f78d(0x167)](_0x13f78d(0x14c),!0x1),this[_0x13f78d(0x162)][_0x13f78d(0x167)](_0x13f78d(0x13e),!0x0),this[_0x13f78d(0x14f)][_0x13f78d(0x167)](_0x13f78d(0x14c),!0x1);}[_0x350426(0x15f)](){var _0xc971ae=_0x350426;this[_0xc971ae(0x162)][_0xc971ae(0x13f)]?(this[_0xc971ae(0x14f)][_0xc971ae(0x167)](_0xc971ae(0x14c),!0x1),this[_0xc971ae(0x162)][_0xc971ae(0x167)](_0xc971ae(0x14c),!0x0),this[_0xc971ae(0x13b)][_0xc971ae(0x167)](_0xc971ae(0x14c),!0x1)):this[_0xc971ae(0x162)][_0xc971ae(0x13f)]=!0x0;}[_0x350426(0x150)](){var _0xeb279c=_0x350426;this[_0xeb279c(0x14f)][_0xeb279c(0x167)](_0xeb279c(0x14c),!0x1),this[_0xeb279c(0x162)][_0xeb279c(0x167)](_0xeb279c(0x14c),!0x1),this[_0xeb279c(0x13b)][_0xeb279c(0x167)](_0xeb279c(0x14c),!0x0);}[_0x350426(0x159)](){var _0x2a65aa=_0x350426;this[_0x2a65aa(0x162)][_0x2a65aa(0x13f)]=!0x1;}[_0x350426(0x143)](_0x5b79fa){var _0x3ba6bd=_0x350426;this[_0x3ba6bd(0x157)][_0x3ba6bd(0x167)](_0x3ba6bd(0x14c),!0x0),this[_0x3ba6bd(0x157)][_0x3ba6bd(0x146)]=_0x5b79fa;}[_0x350426(0x139)](){var _0x27f51d=_0x350426;this[_0x27f51d(0x162)][_0x27f51d(0x167)](_0x27f51d(0x153),!0x1),this[_0x27f51d(0x15f)](),this[_0x27f51d(0x162)][_0x27f51d(0x165)]();}[_0x350426(0x148)](){var _0xccc908=_0x350426;this[_0xccc908(0x162)][_0xccc908(0x167)](_0xccc908(0x153),!0x1),this[_0xccc908(0x15f)](),this[_0xccc908(0x162)][_0xccc908(0x15d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1cf3(){const _0x5f4bb3=['485500IrHQvW','1038ayBqPW','data','389630EdMdJl','div','_dropdownView','_defaultLabel','16VMjSpu','ck-ai_review__check-list-item-parameterized-form-element','setTemplate','locale','bindTemplate','extendTemplate','buttonView','resetToDefault','button','add','formValue','198FJvGeU','bind','3196983ZSEtpM','set','listenTo','_prepareListOptions','length','stopPropagation','ck-ai_review__check-list-item-parameterized-form-element_dropdown','model','source','menuitemradio','label','execute','ck-reset_all','1170744koQBmk','isOn','3056202EgpEgH','1534228wLWTcb','_defaultValue','30NFjQHK','menu','default','45269LSXLmG','find'];_0x1cf3=function(){return _0x5f4bb3;};return _0x1cf3();}function _0x42e0(_0x14ac27,_0x2ae6f1){const _0x1cf317=_0x1cf3();return _0x42e0=function(_0x42e073,_0x22d60b){_0x42e073=_0x42e073-0x8d;let _0x4bfbb0=_0x1cf317[_0x42e073];return _0x4bfbb0;},_0x42e0(_0x14ac27,_0x2ae6f1);}const _0x2dbef7=_0x42e0;(function(_0xf31160,_0x3d19cb){const _0x2a12e9=_0x42e0,_0x3337fe=_0xf31160();while(!![]){try{const _0x1ca467=-parseInt(_0x2a12e9(0x93))/0x1+-parseInt(_0x2a12e9(0x96))/0x2+parseInt(_0x2a12e9(0xb1))/0x3+parseInt(_0x2a12e9(0x9d))/0x4*(-parseInt(_0x2a12e9(0x98))/0x5)+-parseInt(_0x2a12e9(0x9e))/0x6*(-parseInt(_0x2a12e9(0x9b))/0x7)+-parseInt(_0x2a12e9(0xa4))/0x8*(-parseInt(_0x2a12e9(0x95))/0x9)+parseInt(_0x2a12e9(0xa0))/0xa*(parseInt(_0x2a12e9(0xaf))/0xb);if(_0x1ca467===_0x3d19cb)break;else _0x3337fe['push'](_0x3337fe['shift']());}catch(_0x25c7d0){_0x3337fe['push'](_0x3337fe['shift']());}}}(_0x1cf3,0xdb712));import{Collection as _0x2614d3}from'ckeditor5/src/utils.js';import{View as _0x2d40ac,createDropdown as _0x2eded8,addListToDropdown as _0x467861,UIModel as _0x3636f3}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x2d40ac{[_0x2dbef7(0xa2)];[_0x2dbef7(0x97)];[_0x2dbef7(0xa3)];constructor(_0x9aefab,_0x293129){const _0x40f06a=_0x2dbef7;super(_0x9aefab),this[_0x40f06a(0x97)]=_0x293129[_0x40f06a(0x9a)]||(_0x293129[_0x40f06a(0x9f)][_0x40f06a(0xb5)]>0x0?_0x293129[_0x40f06a(0x9f)][0x0]['id']:''),this[_0x40f06a(0xa3)]=_0x293129[_0x40f06a(0x9f)][_0x40f06a(0x9c)](_0x4fdd25=>_0x4fdd25['id']===this[_0x40f06a(0x97)])?.[_0x40f06a(0x90)]||'',this[_0x40f06a(0xb2)](_0x40f06a(0xae),''),this[_0x40f06a(0xa2)]=_0x2eded8(this[_0x40f06a(0xa7)]);const _0x22cb03=this[_0x40f06a(0xb4)](_0x293129[_0x40f06a(0x9f)]);_0x467861(this[_0x40f06a(0xa2)],_0x22cb03,{'role':_0x40f06a(0x99),'ariaLabel':_0x293129[_0x40f06a(0x90)]}),this[_0x40f06a(0xa2)][_0x40f06a(0xaa)][_0x40f06a(0xb2)]({'label':this[_0x40f06a(0xa3)],'withText':!0x0}),this[_0x40f06a(0xa2)][_0x40f06a(0xa9)]({'on':{'click':this[_0x40f06a(0xa8)]['to'](_0x174be4=>{const _0x450453=_0x40f06a;_0x174be4[_0x450453(0xb6)]();})}}),this[_0x40f06a(0xb3)](this[_0x40f06a(0xa2)],_0x40f06a(0x91),_0x201897=>{const _0x407f4e=_0x40f06a;this[_0x407f4e(0xae)]=_0x201897[_0x407f4e(0x8e)][_0x407f4e(0x8d)]['id'],this[_0x407f4e(0xa2)][_0x407f4e(0xaa)][_0x407f4e(0x90)]=_0x201897[_0x407f4e(0x8e)][_0x407f4e(0x8d)][_0x407f4e(0x90)];}),this[_0x40f06a(0xa6)]({'tag':_0x40f06a(0xa1),'attributes':{'class':['ck',_0x40f06a(0x92),_0x40f06a(0xa5),_0x40f06a(0xb7)]},'children':[this[_0x40f06a(0xa2)]]});}[_0x2dbef7(0xab)](){const _0x42d4da=_0x2dbef7;this[_0x42d4da(0xae)]=this[_0x42d4da(0x97)],this[_0x42d4da(0xa2)][_0x42d4da(0xaa)][_0x42d4da(0x90)]=this[_0x42d4da(0xa3)];}[_0x2dbef7(0xb4)](_0x1cdeb1=[]){const _0x2da901=_0x2dbef7,_0x290945=new _0x2614d3();this[_0x2da901(0xab)]();for(const _0x3ca6d5 of _0x1cdeb1){const _0x3f92c4=new _0x3636f3({'label':_0x3ca6d5[_0x2da901(0x90)],'withText':!0x0,'role':_0x2da901(0x8f),'id':_0x3ca6d5['id'],'model':_0x3ca6d5});_0x3f92c4[_0x2da901(0xb0)](_0x2da901(0x94))['to'](this,_0x2da901(0xae),_0x26c751=>_0x26c751===_0x3f92c4['id']);const _0x138395={'type':_0x2da901(0xac),'model':_0x3f92c4};_0x290945[_0x2da901(0xad)](_0x138395);}return _0x290945;}}
|