@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-alpha.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 +16 -16
- 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.d.ts +21 -14
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3a9c(){const _0x17d6f6=['width','_locale','slice','-9999px','rowDetectionTolerance','auto','textContent','top','push','_visibleChips','block','controlsButton','cloneNode','calculationContainer','body','_isContainerVisible','300px','style','destroy','.ck-ai-chat','hideBalloonPanel','overflowContainer','isConnected','_calculateOverflowInContainer','149960HFrZCT','9ofjmsw','_bodyCollection','75736NREEju','_applyOverflowResults','setContainerElement','some','_createCalculationContainer','button','boxSizing','tagName','disconnect','_containerElement','isOn','div','2dBFmts','_createContainerElements','execute','clientHeight','absolute','querySelector','_overflowChips','_targetContainer','includes','bottom','label','_handleShowMoreButtonClick','right','_createShowMoreBalloonPanelView','left','_testButtonFit','length','_pendingCalculation','_repinBalloonPanel','_applyCalculationStyles','_createShowMoreButton','clientWidth','_showMoreBalloonPanelView','content','showMoreLabelPrefix','_calculateContainerWidth','display','_makeAncestorsVisible','cssClasses','classList','add','pop','from','showMoreBalloon','isVisible','zIndex','innerHTML','_createShowMoreButtonView','parentElement','visible\x20!important','_distributeChips','_intersectionObserver','className','overflowChips','innerHeight','visibility','observe','isIntersecting','abs','undefined','_updateBalloonContent','5tnMAJk','pin','offsetWidth','_restoreAncestorVisibility','show','showMoreButton','setTemplate','_findTargetContainer','documentElement','_setupVisibilityObserver','toLowerCase','getBoundingClientRect','0px','_config','forEach','551886ijfTcL','maxVisibleRows','ck-calculation-container','getComputedStyle','extendTemplate','showMoreButtonView','visible','remove','element','588pAbCfP','showBalloonPanel','set','pointerEvents','50px','845476rdfipa','reorganizeChips','opacity','disableAnimationOnEnter','hidden','clear','_createMockButton','+\x201','_renderChipsAndCountRows','2128370LMYJMV','height','none','innerWidth','_checkAndHandleOverflow','filter','_ancestorsToRestore','_updateOverflowUI','position','_parentView','createElement','_showMoreButtonView','render','10808AFiIcZ','516835gkstgw','hide','children','block\x20!important','appendChild','_updateShowMoreButtonVisibility','border-box'];_0x3a9c=function(){return _0x17d6f6;};return _0x3a9c();}const _0x531bb6=_0x195c;(function(_0x166105,_0x25f42f){const _0x4cbdc0=_0x195c,_0x1686fe=_0x166105();while(!![]){try{const _0x3bfec3=parseInt(_0x4cbdc0(0xcd))/0x1*(parseInt(_0x4cbdc0(0xd9))/0x2)+-parseInt(_0x4cbdc0(0x11b))/0x3+parseInt(_0x4cbdc0(0x129))/0x4*(parseInt(_0x4cbdc0(0x10c))/0x5)+parseInt(_0x4cbdc0(0x124))/0x6*(parseInt(_0x4cbdc0(0xaa))/0x7)+parseInt(_0x4cbdc0(0xca))/0x8+parseInt(_0x4cbdc0(0xcb))/0x9*(-parseInt(_0x4cbdc0(0x132))/0xa)+parseInt(_0x4cbdc0(0xab))/0xb;if(_0x3bfec3===_0x25f42f)break;else _0x1686fe['push'](_0x1686fe['shift']());}catch(_0x4dc5cb){_0x1686fe['push'](_0x1686fe['shift']());}}}(_0x3a9c,0x1a354));import{View as _0x8f56ef,BalloonPanelView as _0x1174e9,ButtonView as _0x214066,clickOutsideHandler as _0x97520}from'ckeditor5/src/ui.js';import{Collection as _0x3712b6}from'ckeditor5/src/utils.js';function _0x195c(_0x55884d,_0x3e6f4a){const _0x3a9c09=_0x3a9c();return _0x195c=function(_0x195c2f,_0x1921e2){_0x195c2f=_0x195c2f-0xa1;let _0x1d4056=_0x3a9c09[_0x195c2f];return _0x1d4056;},_0x195c(_0x55884d,_0x3e6f4a);}const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x531bb6(0xc2);export class AIChatChipsOverflowManager{[_0x531bb6(0xb3)];[_0x531bb6(0x119)];[_0x531bb6(0xbb)];[_0x531bb6(0xdf)];[_0x531bb6(0xa8)]=null;[_0x531bb6(0xef)]=null;[_0x531bb6(0xd6)]=null;[_0x531bb6(0xcc)];[_0x531bb6(0xa6)]=null;[_0x531bb6(0x102)]=null;[_0x531bb6(0xea)]=!0x1;constructor(_0x52bb25,_0x222e76,_0x2246c1,_0x4e05e2,_0x3d6be0){const _0x1ea004=_0x531bb6;this[_0x1ea004(0xb3)]=_0x52bb25,this[_0x1ea004(0xbb)]=_0x222e76,this[_0x1ea004(0x119)]={...hn,..._0x2246c1,'cssClasses':{'controlsButton':'','calculationContainer':_0x1ea004(0x11d),..._0x2246c1[_0x1ea004(0xf5)]}},this[_0x1ea004(0xdf)]=new _0x3712b6(),this[_0x1ea004(0xcc)]=_0x4e05e2,this[_0x1ea004(0xa6)]=_0x3d6be0||null;}[_0x531bb6(0xcf)](_0x9c45ba){const _0xe9ece5=_0x531bb6;this[_0xe9ece5(0x102)]&&(this[_0xe9ece5(0x102)][_0xe9ece5(0xd5)](),this[_0xe9ece5(0x102)]=null),this[_0xe9ece5(0xd6)]=_0x9c45ba,this[_0xe9ece5(0x115)]();}get[_0x531bb6(0x120)](){const _0x1b39a0=_0x531bb6;return this[_0x1b39a0(0xa8)];}get[_0x531bb6(0x104)](){const _0x1c2a28=_0x531bb6;return this[_0x1c2a28(0xdf)];}[_0x531bb6(0x12a)](){requestAnimationFrame(()=>{const _0x401ddb=_0x195c;this[_0x401ddb(0xa1)]();});}[_0x531bb6(0x125)](){const _0x1c5eaa=_0x531bb6;this[_0x1c5eaa(0xa8)]&&this[_0x1c5eaa(0xef)]&&(this[_0x1c5eaa(0x10b)](),this[_0x1c5eaa(0xa8)][_0x1c5eaa(0xd7)]=!0x0,this[_0x1c5eaa(0xef)][_0x1c5eaa(0x110)](),this[_0x1c5eaa(0xef)][_0x1c5eaa(0x10d)]({'target':this[_0x1c5eaa(0xa8)][_0x1c5eaa(0x123)],'limiter':document[_0x1c5eaa(0xde)](_0x1c5eaa(0xc5))}));}[_0x531bb6(0xc6)](){const _0x5d0809=_0x531bb6;this[_0x5d0809(0xa8)]&&this[_0x5d0809(0xef)]&&(this[_0x5d0809(0xa8)][_0x5d0809(0xd7)]=!0x1,this[_0x5d0809(0xef)][_0x5d0809(0xac)]());}[_0x531bb6(0x12e)](){const _0x48b0f2=_0x531bb6;this[_0x48b0f2(0xdf)][_0x48b0f2(0x12e)](),this[_0x48b0f2(0xc6)](),this[_0x48b0f2(0xb0)](),this[_0x48b0f2(0xa8)]&&(this[_0x48b0f2(0xa8)][_0x48b0f2(0xe3)]=''),this[_0x48b0f2(0xef)]&&this[_0x48b0f2(0xef)][_0x48b0f2(0xf0)][_0x48b0f2(0x12e)]();}[_0x531bb6(0xc4)](){const _0x416183=_0x531bb6;this[_0x416183(0x102)]&&(this[_0x416183(0x102)][_0x416183(0xd5)](),this[_0x416183(0x102)]=null),this[_0x416183(0xa8)]&&(this[_0x416183(0xa8)][_0x416183(0xc4)](),this[_0x416183(0xa8)]=null),this[_0x416183(0xef)]&&(this[_0x416183(0xef)][_0x416183(0xc4)](),this[_0x416183(0xef)]=null);}[_0x531bb6(0xa1)](){const _0x114bde=_0x531bb6;if(!this[_0x114bde(0xd6)])return;if(!this[_0x114bde(0xc1)]())return void(this[_0x114bde(0xea)]=!0x0);this[_0x114bde(0xea)]=!0x1;const _0x4bca29=[...this[_0x114bde(0xbb)],...this[_0x114bde(0xdf)]],_0x295d0c=this[_0x114bde(0xd1)](),_0x3556c1=this[_0x114bde(0xc9)](_0x295d0c,_0x4bca29),_0x4971df=_0x295d0c[_0x114bde(0xa3)];_0x4971df&&this[_0x114bde(0x10f)](_0x4971df),_0x295d0c[_0x114bde(0x122)](),this[_0x114bde(0xce)](_0x4bca29,_0x3556c1);}[_0x531bb6(0xed)](){const _0x2dfd0b=_0x531bb6;this[_0x2dfd0b(0xa8)]=this[_0x2dfd0b(0xfe)](),this[_0x2dfd0b(0xef)]=this[_0x2dfd0b(0xe6)](),this[_0x2dfd0b(0xa8)][_0x2dfd0b(0xa9)](),this[_0x2dfd0b(0xd6)][_0x2dfd0b(0xaf)](this[_0x2dfd0b(0xa8)][_0x2dfd0b(0x123)]),this[_0x2dfd0b(0xa8)]['on'](_0x2dfd0b(0xdb),()=>{const _0x26250a=_0x2dfd0b;this[_0x26250a(0xe4)]();}),_0x97520({'emitter':this[_0x2dfd0b(0xef)],'contextElements':[this[_0x2dfd0b(0xef)][_0x2dfd0b(0x123)],this[_0x2dfd0b(0xa8)][_0x2dfd0b(0x123)]],'callback':()=>this[_0x2dfd0b(0xc6)](),'activator':()=>this[_0x2dfd0b(0xa8)][_0x2dfd0b(0xd7)]});}[_0x531bb6(0xfe)](){const _0x39183d=_0x531bb6,_0x374848=new _0x214066(this[_0x39183d(0xb3)]);_0x374848[_0x39183d(0x126)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x2afda1=[this[_0x39183d(0x119)][_0x39183d(0xf5)][_0x39183d(0x111)]];return this[_0x39183d(0x119)][_0x39183d(0xf5)][_0x39183d(0xbd)]&&_0x2afda1[_0x39183d(0xba)](this[_0x39183d(0x119)][_0x39183d(0xf5)][_0x39183d(0xbd)]),_0x374848[_0x39183d(0x11f)]({'attributes':{'class':_0x2afda1}}),_0x374848;}[_0x531bb6(0xe6)](){const _0x3642f2=_0x531bb6,_0x4a7410=new _0x1174e9(this[_0x3642f2(0xb3)]);return _0x4a7410[_0x3642f2(0x11f)]({'attributes':{'class':this[_0x3642f2(0x119)][_0x3642f2(0xf5)][_0x3642f2(0xfa)]}}),this[_0x3642f2(0xcc)][_0x3642f2(0xf7)](_0x4a7410),_0x4a7410;}[_0x531bb6(0x10b)](){const _0x1cdd17=_0x531bb6;if(this[_0x1cdd17(0xef)]&&(this[_0x1cdd17(0xef)][_0x1cdd17(0xf0)][_0x1cdd17(0x12e)](),this[_0x1cdd17(0xdf)][_0x1cdd17(0xe9)]>0x0)){this[_0x1cdd17(0xdf)][_0x1cdd17(0x11a)](_0x12c476=>{const _0x7fb488=_0x1cdd17;_0x12c476[_0x7fb488(0x12c)]();});const _0x3db1d8=new _0x8f56ef(this[_0x1cdd17(0xb3)]);_0x3db1d8[_0x1cdd17(0x112)]({'tag':_0x1cdd17(0xd8),'attributes':{'class':this[_0x1cdd17(0x119)][_0x1cdd17(0xf5)][_0x1cdd17(0xc7)]},'children':this[_0x1cdd17(0xdf)]}),this[_0x1cdd17(0xef)][_0x1cdd17(0xf0)][_0x1cdd17(0xf7)](_0x3db1d8);}}[_0x531bb6(0xe4)](){const _0x2ef7b8=_0x531bb6;this[_0x2ef7b8(0xa8)][_0x2ef7b8(0xd7)]?this[_0x2ef7b8(0xc6)]():this[_0x2ef7b8(0x125)]();}[_0x531bb6(0xb0)](){const _0x2e2f0e=_0x531bb6,_0x269f9d=this[_0x2e2f0e(0xdf)][_0x2e2f0e(0xe9)]>0x0;this[_0x2e2f0e(0xa8)]?.[_0x2e2f0e(0x123)]&&(this[_0x2e2f0e(0xa8)][_0x2e2f0e(0x123)][_0x2e2f0e(0xc3)][_0x2e2f0e(0xf3)]=_0x269f9d?'':_0x2e2f0e(0x134));}[_0x531bb6(0xeb)](){const _0x187ec7=_0x531bb6;this[_0x187ec7(0xa8)]?.[_0x187ec7(0xd7)]&&this[_0x187ec7(0xef)]?.[_0x187ec7(0xfb)]&&this[_0x187ec7(0xa8)][_0x187ec7(0x123)]&&this[_0x187ec7(0xef)][_0x187ec7(0x10d)]({'target':this[_0x187ec7(0xa8)][_0x187ec7(0x123)],'limiter':document[_0x187ec7(0xde)](_0x187ec7(0xc5))});}[_0x531bb6(0x113)](_0x4b99f5){const _0x215e6f=_0x531bb6,_0x5dab0c=this[_0x215e6f(0xd6)]?.[_0x215e6f(0xd4)][_0x215e6f(0x116)]()||_0x215e6f(0xd8),_0x692b90=this[_0x215e6f(0xd6)]?.[_0x215e6f(0xf6)];if(_0x692b90){const _0x1c936d=_0x692b90[0x0]||'',_0x3dcbbf=_0x4b99f5[_0x215e6f(0xde)]('.'+_0x1c936d),_0xdb5773=_0x4b99f5[_0x215e6f(0xde)](_0x5dab0c);return _0x3dcbbf||_0xdb5773||_0x4b99f5;}return _0x4b99f5[_0x215e6f(0xde)](_0x5dab0c)||_0x4b99f5;}[_0x531bb6(0xf2)](){const _0x90623c=_0x531bb6,_0x2063ab=this[_0x90623c(0xa6)]?.[_0x90623c(0x123)]||this[_0x90623c(0xd6)];if(!_0x2063ab)return an;const _0x319ddf=window[_0x90623c(0x11e)](_0x2063ab)[_0x90623c(0xb2)];if(_0x90623c(0xb7)===_0x319ddf||_0x90623c(0x118)===_0x319ddf||!_0x319ddf){const _0x1c0080=_0x2063ab[_0x90623c(0xff)];if(_0x1c0080){const _0x37f760=window[_0x90623c(0x11e)](_0x1c0080);return _0x90623c(0xb7)!==_0x37f760[_0x90623c(0xb2)]?_0x37f760[_0x90623c(0xb2)]:an;}return an;}return _0x319ddf;}[_0x531bb6(0xec)](_0x20b20a,_0x2b3698){const _0x554271=_0x531bb6;this[_0x554271(0x119)][_0x554271(0xf5)][_0x554271(0xbf)]&&_0x20b20a[_0x554271(0xf6)][_0x554271(0xf7)](this[_0x554271(0x119)][_0x554271(0xf5)][_0x554271(0xbf)]),_0x20b20a[_0x554271(0xc3)][_0x554271(0xb2)]=_0x2b3698,_0x20b20a[_0x554271(0xc3)][_0x554271(0xa5)]=_0x554271(0xdd),_0x20b20a[_0x554271(0xc3)][_0x554271(0xb9)]=_0x554271(0xb5),_0x20b20a[_0x554271(0xc3)][_0x554271(0xe7)]=_0x554271(0xb5),_0x20b20a[_0x554271(0xc3)][_0x554271(0x12b)]='0',_0x20b20a[_0x554271(0xc3)][_0x554271(0x127)]=_0x554271(0x134),_0x20b20a[_0x554271(0xc3)][_0x554271(0xfc)]='-1',_0x20b20a[_0x554271(0xc3)][_0x554271(0x106)]=_0x554271(0x100),_0x20b20a[_0x554271(0xc3)][_0x554271(0xf3)]=_0x554271(0xae),_0x20b20a[_0x554271(0xc3)][_0x554271(0xd3)]=_0x554271(0xb1);}[_0x531bb6(0x10f)](_0x37b82e){const _0x29bac8=_0x531bb6;_0x37b82e[_0x29bac8(0x11a)](({element:_0x58d3eb,originalDisplay:_0x264baa,originalVisibility:_0x3691e8})=>{const _0x4df514=_0x29bac8;_0x58d3eb[_0x4df514(0xc3)][_0x4df514(0xf3)]=_0x264baa,_0x58d3eb[_0x4df514(0xc3)][_0x4df514(0x106)]=_0x3691e8;});}[_0x531bb6(0xf4)](_0x2082e7){const _0x10877a=_0x531bb6,_0x5b773e=[];let _0xf6456e=_0x2082e7;for(;_0xf6456e&&_0xf6456e!==document[_0x10877a(0xc0)];){const _0x15aa46=window[_0x10877a(0x11e)](_0xf6456e);_0x10877a(0x134)!==_0x15aa46[_0x10877a(0xf3)]&&_0x10877a(0x12d)!==_0x15aa46[_0x10877a(0x106)]||(_0x5b773e[_0x10877a(0xba)]({'element':_0xf6456e,'originalDisplay':_0xf6456e[_0x10877a(0xc3)][_0x10877a(0xf3)],'originalVisibility':_0xf6456e[_0x10877a(0xc3)][_0x10877a(0x106)]}),_0xf6456e[_0x10877a(0xc3)][_0x10877a(0xf3)]=_0x10877a(0xbc),_0xf6456e[_0x10877a(0xc3)][_0x10877a(0x106)]=_0x10877a(0x121)),_0xf6456e=_0xf6456e[_0x10877a(0xff)];}return _0x5b773e;}[_0x531bb6(0xda)](){const _0x3692c3=_0x531bb6;let _0x14e97f,_0x380628;return this[_0x3692c3(0xa6)]?.[_0x3692c3(0x123)]?(_0x14e97f=this[_0x3692c3(0xa6)][_0x3692c3(0x123)][_0x3692c3(0xbe)](!0x0),_0x380628=this[_0x3692c3(0x113)](_0x14e97f)):(_0x14e97f=document[_0x3692c3(0xa7)](_0x3692c3(0xd8)),_0x380628=_0x14e97f),{'calculationContainer':_0x14e97f,'targetContainer':_0x380628};}[_0x531bb6(0xd1)](){const _0x49451e=_0x531bb6,{calculationContainer:_0x377b77,targetContainer:_0x323210}=this[_0x49451e(0xda)](),_0x27da70=this[_0x49451e(0xf2)]();this[_0x49451e(0xec)](_0x377b77,_0x27da70);const _0x2c5d7f=this[_0x49451e(0xa6)]?.[_0x49451e(0x123)]||this[_0x49451e(0xd6)],_0x133f50=_0x2c5d7f?.[_0x49451e(0xff)];_0x133f50?_0x133f50[_0x49451e(0xaf)](_0x377b77):document[_0x49451e(0xc0)][_0x49451e(0xaf)](_0x377b77),_0x377b77[_0x49451e(0xe0)]=_0x323210;const _0x506198=this[_0x49451e(0xf4)](_0x133f50||null);return _0x377b77[_0x49451e(0x10e)],_0x377b77[_0x49451e(0xa3)]=_0x506198,_0x377b77;}[_0x531bb6(0xc9)](_0xd4a86,_0x314beb){const _0x4d6a54=_0x531bb6,_0x21d4e8=_0xd4a86[_0x4d6a54(0xe0)]||_0xd4a86,_0x25df3b=[],{rowCount:_0x341965}=this[_0x4d6a54(0x131)](_0x21d4e8,_0x314beb);if(_0x341965<=this[_0x4d6a54(0x119)][_0x4d6a54(0x11c)])return _0x25df3b;const _0x12c5db=_0x314beb[_0x4d6a54(0xb4)]();for(;_0x12c5db[_0x4d6a54(0xe9)]>0x0;){if(this[_0x4d6a54(0xe8)](_0xd4a86,_0x21d4e8,_0x12c5db)){const _0x76d4f2=_0x314beb[_0x4d6a54(0xa2)](_0x20a3f9=>!_0x12c5db[_0x4d6a54(0xe1)](_0x20a3f9));_0x25df3b[_0x4d6a54(0xba)](..._0x76d4f2);break;}if(!_0x12c5db[_0x4d6a54(0xf8)]())break;}return _0x25df3b;}[_0x531bb6(0x131)](_0x3d67bb,_0x3c619d){const _0x3c7770=_0x531bb6;_0x3d67bb[_0x3c7770(0xfd)]='',_0x3c619d[_0x3c7770(0x11a)](_0x2d3cd8=>{const _0x3704bd=_0x3c7770;if(_0x2d3cd8[_0x3704bd(0x123)]){const _0x1b4d2a=_0x2d3cd8[_0x3704bd(0x123)][_0x3704bd(0xbe)](!0x0);_0x3d67bb[_0x3704bd(0xaf)](_0x1b4d2a);}}),_0x3d67bb[_0x3c7770(0x10e)];const _0x39c31d=_0x3d67bb[_0x3c7770(0xad)],_0x59b768=[];return Array[_0x3c7770(0xf9)](_0x39c31d)[_0x3c7770(0x11a)](_0x52a0cc=>{const _0xf32a9f=_0x3c7770,_0x5be0de=_0x52a0cc[_0xf32a9f(0x117)]()[_0xf32a9f(0xb9)];_0x59b768[_0xf32a9f(0xd0)](_0x6943e3=>Math[_0xf32a9f(0x109)](_0x6943e3-_0x5be0de)<this[_0xf32a9f(0x119)][_0xf32a9f(0xb6)])||_0x59b768[_0xf32a9f(0xba)](_0x5be0de);}),{'rowCount':_0x59b768[_0x3c7770(0xe9)]};}[_0x531bb6(0x12f)](){const _0x33cce5=_0x531bb6,_0x162be5=document[_0x33cce5(0xa7)](_0x33cce5(0xd2));return _0x162be5[_0x33cce5(0x103)]=this[_0x33cce5(0x119)][_0x33cce5(0xf5)][_0x33cce5(0x111)],this[_0x33cce5(0x119)][_0x33cce5(0xf5)][_0x33cce5(0xbd)]&&_0x162be5[_0x33cce5(0xf6)][_0x33cce5(0xf7)](this[_0x33cce5(0x119)][_0x33cce5(0xf5)][_0x33cce5(0xbd)]),_0x162be5[_0x33cce5(0xb8)]=_0x33cce5(0x130),_0x162be5;}[_0x531bb6(0xe8)](_0x2ce70b,_0x10fe93,_0x5566f2){const _0x339281=_0x531bb6;this[_0x339281(0x131)](_0x10fe93,_0x5566f2);const _0x26b75a=this[_0x339281(0x12f)]();_0x2ce70b[_0x339281(0xaf)](_0x26b75a),_0x2ce70b[_0x339281(0x10e)];const _0x675067=[..._0x10fe93[_0x339281(0xad)],_0x26b75a],_0x548345=[];_0x675067[_0x339281(0x11a)](_0x4cf0f2=>{const _0xa73fe9=_0x339281,_0x1ecd8d=_0x4cf0f2[_0xa73fe9(0x117)]()[_0xa73fe9(0xb9)];_0x548345[_0xa73fe9(0xd0)](_0x4bbcb7=>Math[_0xa73fe9(0x109)](_0x4bbcb7-_0x1ecd8d)<this[_0xa73fe9(0x119)][_0xa73fe9(0xb6)])||_0x548345[_0xa73fe9(0xba)](_0x1ecd8d);});const _0x155021=_0x548345[_0x339281(0xe9)];return _0x26b75a[_0x339281(0x122)](),_0x155021<=this[_0x339281(0x119)][_0x339281(0x11c)];}[_0x531bb6(0x101)](_0x420893,_0x2cd3f9){const _0x5e7f37=_0x531bb6;this[_0x5e7f37(0xbb)][_0x5e7f37(0x12e)](),this[_0x5e7f37(0xdf)][_0x5e7f37(0x12e)](),_0x420893[_0x5e7f37(0x11a)](_0x3c4d8a=>{const _0xe37f39=_0x5e7f37;_0x2cd3f9[_0xe37f39(0xe1)](_0x3c4d8a)?this[_0xe37f39(0xdf)][_0xe37f39(0xf7)](_0x3c4d8a):this[_0xe37f39(0xbb)][_0xe37f39(0xf7)](_0x3c4d8a);});}[_0x531bb6(0xa4)](_0x238db7){const _0x3f5dd5=_0x531bb6;if(_0x238db7>0x0&&!this[_0x3f5dd5(0xa8)]&&this[_0x3f5dd5(0xed)](),_0x238db7>0x0&&this[_0x3f5dd5(0xa8)]){const _0x1ae066=''+this[_0x3f5dd5(0x119)][_0x3f5dd5(0xf1)]+(_0x238db7<0x63?_0x238db7:'99');this[_0x3f5dd5(0xa8)][_0x3f5dd5(0xe3)]=_0x1ae066;}this[_0x3f5dd5(0x10b)](),this[_0x3f5dd5(0xb0)](),this[_0x3f5dd5(0xeb)]();}[_0x531bb6(0xce)](_0x1b101e,_0x2f29d4){const _0x286d6c=_0x531bb6;this[_0x286d6c(0x101)](_0x1b101e,_0x2f29d4),this[_0x286d6c(0xa4)](_0x2f29d4[_0x286d6c(0xe9)]);}[_0x531bb6(0x115)](){const _0x2c086a=_0x531bb6;this[_0x2c086a(0xd6)]&&_0x2c086a(0x10a)!=typeof IntersectionObserver&&(this[_0x2c086a(0x102)]=new IntersectionObserver(_0xac4d17=>{const _0x5cec98=_0x2c086a;_0xac4d17[0x0][_0x5cec98(0x108)]&&this[_0x5cec98(0xea)]&&requestAnimationFrame(()=>{const _0x40f315=_0x5cec98;this[_0x40f315(0xa1)]();});},{'threshold':0.01,'rootMargin':_0x2c086a(0x128)}),this[_0x2c086a(0x102)][_0x2c086a(0x107)](this[_0x2c086a(0xd6)]));}[_0x531bb6(0xc1)](){const _0x2e2c97=_0x531bb6;if(!this[_0x2e2c97(0xd6)])return!0x1;if(!this[_0x2e2c97(0xd6)][_0x2e2c97(0xc8)])return!0x1;const _0x1f2985=this[_0x2e2c97(0xd6)][_0x2e2c97(0x117)]();if(0x0===_0x1f2985[_0x2e2c97(0xb2)]||0x0===_0x1f2985[_0x2e2c97(0x133)])return!0x1;const _0x91d48a=window[_0x2e2c97(0x105)]||document[_0x2e2c97(0x114)][_0x2e2c97(0xdc)],_0x281be5=window[_0x2e2c97(0x135)]||document[_0x2e2c97(0x114)][_0x2e2c97(0xee)],_0x29519e=0xc8;return _0x1f2985[_0x2e2c97(0xe2)]>=-0xc8&&_0x1f2985[_0x2e2c97(0xb9)]<=_0x91d48a+_0x29519e&&_0x1f2985[_0x2e2c97(0xe5)]>=-0xc8&&_0x1f2985[_0x2e2c97(0xe7)]<=_0x281be5+_0x29519e;}}
|
|
23
|
+
const _0x275cdc=_0x4111;(function(_0xe7119,_0x510e0e){const _0x3ebdcd=_0x4111,_0x544cd8=_0xe7119();while(!![]){try{const _0x6ec5c=parseInt(_0x3ebdcd(0x188))/0x1*(parseInt(_0x3ebdcd(0x184))/0x2)+parseInt(_0x3ebdcd(0x1a0))/0x3*(parseInt(_0x3ebdcd(0x169))/0x4)+parseInt(_0x3ebdcd(0x139))/0x5+-parseInt(_0x3ebdcd(0x190))/0x6+-parseInt(_0x3ebdcd(0x13a))/0x7*(-parseInt(_0x3ebdcd(0x1aa))/0x8)+parseInt(_0x3ebdcd(0x1a3))/0x9*(-parseInt(_0x3ebdcd(0x18b))/0xa)+-parseInt(_0x3ebdcd(0x1be))/0xb;if(_0x6ec5c===_0x510e0e)break;else _0x544cd8['push'](_0x544cd8['shift']());}catch(_0x265e43){_0x544cd8['push'](_0x544cd8['shift']());}}}(_0xe79d,0x8114d));function _0xe79d(){const _0x365318=['appendChild','.ck-ai-chat','_createMockButton','showMoreLabelPrefix','_distributeChips','classList','_parentView','pointerEvents','innerWidth','_intersectionObserver','_overflowChips','_createShowMoreBalloonPanelView','showMoreButton','filter','_applyOverflowResults','auto','height','body','getComputedStyle','setContainerElement','maxVisibleRows','_repinBalloonPanel','300px','_createCalculationContainer','_checkAndHandleOverflow','showMoreButtonView','querySelector','_setupVisibilityObserver','hide','observe','disableAnimationOnEnter','clear','_updateShowMoreButtonVisibility','destroy','hidden','_renderChipsAndCountRows','2692YjAPon','_config','_updateOverflowUI','_updateBalloonContent','_makeAncestorsVisible','getBoundingClientRect','undefined','remove','innerHTML','button','pop','render','_applyCalculationStyles','left','visible\x20!important','parentElement','-9999px','textContent','display','clientWidth','isIntersecting','_handleShowMoreButtonClick','_createShowMoreButton','cloneNode','showMoreBalloon','_calculateContainerWidth','className','46RaALjJ','content','isConnected','ck-calculation-container','35698ROTRmv','innerHeight','showBalloonPanel','19430kCnwBb','50px','visibility','block','show','3910578ZFvEAW','_ancestorsToRestore','execute','pin','top','0px','clientHeight','width','_containerElement','isOn','isVisible','calculationContainer','some','setTemplate','length','_isContainerVisible','3867gSSRJF','_createContainerElements','none','3015eqEgGB','right','_testButtonFit','hideBalloonPanel','_calculateOverflowInContainer','includes','_findTargetContainer','5004728yiMOhp','cssClasses','rowDetectionTolerance','element','_locale','zIndex','from','tagName','+\x201','style','_createShowMoreButtonView','set','reorganizeChips','disconnect','push','opacity','_bodyCollection','div','children','block\x20!important','13331219sUEXwe','position','_pendingCalculation','visible','_showMoreBalloonPanelView','offsetWidth','toLowerCase','add','bottom','forEach','_restoreAncestorVisibility','label','overflowContainer','createElement','_showMoreButtonView','slice','3645860YGOZNy','7SLCxZZ','controlsButton','_visibleChips','documentElement','overflowChips','_targetContainer','boxSizing','abs','extendTemplate','absolute','border-box'];_0xe79d=function(){return _0x365318;};return _0xe79d();}import{View as _0x2c3dd2,BalloonPanelView as _0x4603e4,ButtonView as _0x13022e,clickOutsideHandler as _0x53352b}from'ckeditor5/src/ui.js';import{Collection as _0x3c7d9f}from'ckeditor5/src/utils.js';function _0x4111(_0x333946,_0x839513){const _0xe79d10=_0xe79d();return _0x4111=function(_0x411184,_0x437242){_0x411184=_0x411184-0x133;let _0x250194=_0xe79d10[_0x411184];return _0x250194;},_0x4111(_0x333946,_0x839513);}const an={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},wn=_0x275cdc(0x15b);export class AIChatChipsOverflowManager{[_0x275cdc(0x1ae)];[_0x275cdc(0x16a)];[_0x275cdc(0x13c)];[_0x275cdc(0x14f)];[_0x275cdc(0x137)]=null;[_0x275cdc(0x1c2)]=null;[_0x275cdc(0x198)]=null;[_0x275cdc(0x1ba)];[_0x275cdc(0x14b)]=null;[_0x275cdc(0x14e)]=null;[_0x275cdc(0x1c0)]=!0x1;constructor(_0x1bbc07,_0x4e540e,_0x439718,_0x30e7d4,_0x1bf301){const _0x26cb7d=_0x275cdc;this[_0x26cb7d(0x1ae)]=_0x1bbc07,this[_0x26cb7d(0x13c)]=_0x4e540e,this[_0x26cb7d(0x16a)]={...an,..._0x439718,'cssClasses':{'controlsButton':'','calculationContainer':_0x26cb7d(0x187),..._0x439718[_0x26cb7d(0x1ab)]}},this[_0x26cb7d(0x14f)]=new _0x3c7d9f(),this[_0x26cb7d(0x1ba)]=_0x30e7d4,this[_0x26cb7d(0x14b)]=_0x1bf301||null;}[_0x275cdc(0x158)](_0xc9247){const _0x2e3f10=_0x275cdc;this[_0x2e3f10(0x14e)]&&(this[_0x2e3f10(0x14e)][_0x2e3f10(0x1b7)](),this[_0x2e3f10(0x14e)]=null),this[_0x2e3f10(0x198)]=_0xc9247,this[_0x2e3f10(0x160)]();}get[_0x275cdc(0x15e)](){const _0x47fb17=_0x275cdc;return this[_0x47fb17(0x137)];}get[_0x275cdc(0x13e)](){const _0x10488b=_0x275cdc;return this[_0x10488b(0x14f)];}[_0x275cdc(0x1b6)](){requestAnimationFrame(()=>{const _0x3985d6=_0x4111;this[_0x3985d6(0x15d)]();});}[_0x275cdc(0x18a)](){const _0xca809a=_0x275cdc;this[_0xca809a(0x137)]&&this[_0xca809a(0x1c2)]&&(this[_0xca809a(0x16c)](),this[_0xca809a(0x137)][_0xca809a(0x199)]=!0x0,this[_0xca809a(0x1c2)][_0xca809a(0x18f)](),this[_0xca809a(0x1c2)][_0xca809a(0x193)]({'target':this[_0xca809a(0x137)][_0xca809a(0x1ad)],'limiter':document[_0xca809a(0x15f)](_0xca809a(0x146))}));}[_0x275cdc(0x1a6)](){const _0x23b873=_0x275cdc;this[_0x23b873(0x137)]&&this[_0x23b873(0x1c2)]&&(this[_0x23b873(0x137)][_0x23b873(0x199)]=!0x1,this[_0x23b873(0x1c2)][_0x23b873(0x161)]());}[_0x275cdc(0x164)](){const _0x53c41a=_0x275cdc;this[_0x53c41a(0x14f)][_0x53c41a(0x164)](),this[_0x53c41a(0x1a6)](),this[_0x53c41a(0x165)](),this[_0x53c41a(0x137)]&&(this[_0x53c41a(0x137)][_0x53c41a(0x134)]=''),this[_0x53c41a(0x1c2)]&&this[_0x53c41a(0x1c2)][_0x53c41a(0x185)][_0x53c41a(0x164)]();}[_0x275cdc(0x166)](){const _0x22245c=_0x275cdc;this[_0x22245c(0x14e)]&&(this[_0x22245c(0x14e)][_0x22245c(0x1b7)](),this[_0x22245c(0x14e)]=null),this[_0x22245c(0x137)]&&(this[_0x22245c(0x137)][_0x22245c(0x166)](),this[_0x22245c(0x137)]=null),this[_0x22245c(0x1c2)]&&(this[_0x22245c(0x1c2)][_0x22245c(0x166)](),this[_0x22245c(0x1c2)]=null);}[_0x275cdc(0x15d)](){const _0x1e6b51=_0x275cdc;if(!this[_0x1e6b51(0x198)])return;if(!this[_0x1e6b51(0x19f)]())return void(this[_0x1e6b51(0x1c0)]=!0x0);this[_0x1e6b51(0x1c0)]=!0x1;const _0x2809e1=[...this[_0x1e6b51(0x13c)],...this[_0x1e6b51(0x14f)]],_0x565288=this[_0x1e6b51(0x15c)](),_0x394c22=this[_0x1e6b51(0x1a7)](_0x565288,_0x2809e1),_0x3ef605=_0x565288[_0x1e6b51(0x191)];_0x3ef605&&this[_0x1e6b51(0x133)](_0x3ef605),_0x565288[_0x1e6b51(0x170)](),this[_0x1e6b51(0x153)](_0x2809e1,_0x394c22);}[_0x275cdc(0x17f)](){const _0xcc6485=_0x275cdc;this[_0xcc6485(0x137)]=this[_0xcc6485(0x1b4)](),this[_0xcc6485(0x1c2)]=this[_0xcc6485(0x150)](),this[_0xcc6485(0x137)][_0xcc6485(0x174)](),this[_0xcc6485(0x198)][_0xcc6485(0x145)](this[_0xcc6485(0x137)][_0xcc6485(0x1ad)]),this[_0xcc6485(0x137)]['on'](_0xcc6485(0x192),()=>{const _0x533038=_0xcc6485;this[_0x533038(0x17e)]();}),_0x53352b({'emitter':this[_0xcc6485(0x1c2)],'contextElements':[this[_0xcc6485(0x1c2)][_0xcc6485(0x1ad)],this[_0xcc6485(0x137)][_0xcc6485(0x1ad)]],'callback':()=>this[_0xcc6485(0x1a6)](),'activator':()=>this[_0xcc6485(0x137)][_0xcc6485(0x199)]});}[_0x275cdc(0x1b4)](){const _0x511e39=_0x275cdc,_0x3abbbb=new _0x13022e(this[_0x511e39(0x1ae)]);_0x3abbbb[_0x511e39(0x1b5)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x55db19=[this[_0x511e39(0x16a)][_0x511e39(0x1ab)][_0x511e39(0x151)]];return this[_0x511e39(0x16a)][_0x511e39(0x1ab)][_0x511e39(0x13b)]&&_0x55db19[_0x511e39(0x1b8)](this[_0x511e39(0x16a)][_0x511e39(0x1ab)][_0x511e39(0x13b)]),_0x3abbbb[_0x511e39(0x142)]({'attributes':{'class':_0x55db19}}),_0x3abbbb;}[_0x275cdc(0x150)](){const _0xe6edb4=_0x275cdc,_0x5e7e55=new _0x4603e4(this[_0xe6edb4(0x1ae)]);return _0x5e7e55[_0xe6edb4(0x142)]({'attributes':{'class':this[_0xe6edb4(0x16a)][_0xe6edb4(0x1ab)][_0xe6edb4(0x181)]}}),this[_0xe6edb4(0x1ba)][_0xe6edb4(0x1c5)](_0x5e7e55),_0x5e7e55;}[_0x275cdc(0x16c)](){const _0x54b73e=_0x275cdc;if(this[_0x54b73e(0x1c2)]&&(this[_0x54b73e(0x1c2)][_0x54b73e(0x185)][_0x54b73e(0x164)](),this[_0x54b73e(0x14f)][_0x54b73e(0x19e)]>0x0)){this[_0x54b73e(0x14f)][_0x54b73e(0x1c7)](_0x57f043=>{const _0x3b569b=_0x54b73e;_0x57f043[_0x3b569b(0x163)]();});const _0x1a0c55=new _0x2c3dd2(this[_0x54b73e(0x1ae)]);_0x1a0c55[_0x54b73e(0x19d)]({'tag':_0x54b73e(0x1bb),'attributes':{'class':this[_0x54b73e(0x16a)][_0x54b73e(0x1ab)][_0x54b73e(0x135)]},'children':this[_0x54b73e(0x14f)]}),this[_0x54b73e(0x1c2)][_0x54b73e(0x185)][_0x54b73e(0x1c5)](_0x1a0c55);}}[_0x275cdc(0x17e)](){const _0x1c52ed=_0x275cdc;this[_0x1c52ed(0x137)][_0x1c52ed(0x199)]?this[_0x1c52ed(0x1a6)]():this[_0x1c52ed(0x18a)]();}[_0x275cdc(0x165)](){const _0x4e778f=_0x275cdc,_0x530267=this[_0x4e778f(0x14f)][_0x4e778f(0x19e)]>0x0;this[_0x4e778f(0x137)]?.[_0x4e778f(0x1ad)]&&(this[_0x4e778f(0x137)][_0x4e778f(0x1ad)][_0x4e778f(0x1b3)][_0x4e778f(0x17b)]=_0x530267?'':_0x4e778f(0x1a2));}[_0x275cdc(0x15a)](){const _0x31a11b=_0x275cdc;this[_0x31a11b(0x137)]?.[_0x31a11b(0x199)]&&this[_0x31a11b(0x1c2)]?.[_0x31a11b(0x19a)]&&this[_0x31a11b(0x137)][_0x31a11b(0x1ad)]&&this[_0x31a11b(0x1c2)][_0x31a11b(0x193)]({'target':this[_0x31a11b(0x137)][_0x31a11b(0x1ad)],'limiter':document[_0x31a11b(0x15f)](_0x31a11b(0x146))});}[_0x275cdc(0x1a9)](_0x3265eb){const _0x26f093=_0x275cdc,_0x353e2b=this[_0x26f093(0x198)]?.[_0x26f093(0x1b1)][_0x26f093(0x1c4)]()||_0x26f093(0x1bb),_0x362665=this[_0x26f093(0x198)]?.[_0x26f093(0x14a)];if(_0x362665){const _0x2f155e=_0x362665[0x0]||'',_0xc5eac3=_0x3265eb[_0x26f093(0x15f)]('.'+_0x2f155e),_0x5e9e59=_0x3265eb[_0x26f093(0x15f)](_0x353e2b);return _0xc5eac3||_0x5e9e59||_0x3265eb;}return _0x3265eb[_0x26f093(0x15f)](_0x353e2b)||_0x3265eb;}[_0x275cdc(0x182)](){const _0x426a41=_0x275cdc,_0x16e873=this[_0x426a41(0x14b)]?.[_0x426a41(0x1ad)]||this[_0x426a41(0x198)];if(!_0x16e873)return wn;const _0x53d728=window[_0x426a41(0x157)](_0x16e873)[_0x426a41(0x197)];if(_0x426a41(0x154)===_0x53d728||_0x426a41(0x195)===_0x53d728||!_0x53d728){const _0x1b4964=_0x16e873[_0x426a41(0x178)];if(_0x1b4964){const _0x4ce2c0=window[_0x426a41(0x157)](_0x1b4964);return _0x426a41(0x154)!==_0x4ce2c0[_0x426a41(0x197)]?_0x4ce2c0[_0x426a41(0x197)]:wn;}return wn;}return _0x53d728;}[_0x275cdc(0x175)](_0x3dd86f,_0x3f6f3c){const _0x596f49=_0x275cdc;this[_0x596f49(0x16a)][_0x596f49(0x1ab)][_0x596f49(0x19b)]&&_0x3dd86f[_0x596f49(0x14a)][_0x596f49(0x1c5)](this[_0x596f49(0x16a)][_0x596f49(0x1ab)][_0x596f49(0x19b)]),_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x197)]=_0x3f6f3c,_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x1bf)]=_0x596f49(0x143),_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x194)]=_0x596f49(0x179),_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x176)]=_0x596f49(0x179),_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x1b9)]='0',_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x14c)]=_0x596f49(0x1a2),_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x1af)]='-1',_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x18d)]=_0x596f49(0x177),_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x17b)]=_0x596f49(0x1bd),_0x3dd86f[_0x596f49(0x1b3)][_0x596f49(0x140)]=_0x596f49(0x144);}[_0x275cdc(0x133)](_0x117064){const _0xe6a9d4=_0x275cdc;_0x117064[_0xe6a9d4(0x1c7)](({element:_0x5a6298,originalDisplay:_0x591804,originalVisibility:_0x1bc9da})=>{const _0xa3589c=_0xe6a9d4;_0x5a6298[_0xa3589c(0x1b3)][_0xa3589c(0x17b)]=_0x591804,_0x5a6298[_0xa3589c(0x1b3)][_0xa3589c(0x18d)]=_0x1bc9da;});}[_0x275cdc(0x16d)](_0x127409){const _0xf2600=_0x275cdc,_0x1d6f17=[];let _0x22b8e3=_0x127409;for(;_0x22b8e3&&_0x22b8e3!==document[_0xf2600(0x156)];){const _0x269225=window[_0xf2600(0x157)](_0x22b8e3);_0xf2600(0x1a2)!==_0x269225[_0xf2600(0x17b)]&&_0xf2600(0x167)!==_0x269225[_0xf2600(0x18d)]||(_0x1d6f17[_0xf2600(0x1b8)]({'element':_0x22b8e3,'originalDisplay':_0x22b8e3[_0xf2600(0x1b3)][_0xf2600(0x17b)],'originalVisibility':_0x22b8e3[_0xf2600(0x1b3)][_0xf2600(0x18d)]}),_0x22b8e3[_0xf2600(0x1b3)][_0xf2600(0x17b)]=_0xf2600(0x18e),_0x22b8e3[_0xf2600(0x1b3)][_0xf2600(0x18d)]=_0xf2600(0x1c1)),_0x22b8e3=_0x22b8e3[_0xf2600(0x178)];}return _0x1d6f17;}[_0x275cdc(0x1a1)](){const _0x5e9c92=_0x275cdc;let _0x523cd7,_0xaf7f81;return this[_0x5e9c92(0x14b)]?.[_0x5e9c92(0x1ad)]?(_0x523cd7=this[_0x5e9c92(0x14b)][_0x5e9c92(0x1ad)][_0x5e9c92(0x180)](!0x0),_0xaf7f81=this[_0x5e9c92(0x1a9)](_0x523cd7)):(_0x523cd7=document[_0x5e9c92(0x136)](_0x5e9c92(0x1bb)),_0xaf7f81=_0x523cd7),{'calculationContainer':_0x523cd7,'targetContainer':_0xaf7f81};}[_0x275cdc(0x15c)](){const _0x265c61=_0x275cdc,{calculationContainer:_0x39fd07,targetContainer:_0x3cce6a}=this[_0x265c61(0x1a1)](),_0x26e180=this[_0x265c61(0x182)]();this[_0x265c61(0x175)](_0x39fd07,_0x26e180);const _0x423b2a=this[_0x265c61(0x14b)]?.[_0x265c61(0x1ad)]||this[_0x265c61(0x198)],_0xa6d6ec=_0x423b2a?.[_0x265c61(0x178)];_0xa6d6ec?_0xa6d6ec[_0x265c61(0x145)](_0x39fd07):document[_0x265c61(0x156)][_0x265c61(0x145)](_0x39fd07),_0x39fd07[_0x265c61(0x13f)]=_0x3cce6a;const _0x2b75da=this[_0x265c61(0x16d)](_0xa6d6ec||null);return _0x39fd07[_0x265c61(0x1c3)],_0x39fd07[_0x265c61(0x191)]=_0x2b75da,_0x39fd07;}[_0x275cdc(0x1a7)](_0x26e930,_0x47d401){const _0x355eb7=_0x275cdc,_0x43f20c=_0x26e930[_0x355eb7(0x13f)]||_0x26e930,_0x1bd419=[],{rowCount:_0x506e2f}=this[_0x355eb7(0x168)](_0x43f20c,_0x47d401);if(_0x506e2f<=this[_0x355eb7(0x16a)][_0x355eb7(0x159)])return _0x1bd419;const _0x5157a4=_0x47d401[_0x355eb7(0x138)]();for(;_0x5157a4[_0x355eb7(0x19e)]>0x0;){if(this[_0x355eb7(0x1a5)](_0x26e930,_0x43f20c,_0x5157a4)){const _0x10b668=_0x47d401[_0x355eb7(0x152)](_0x1db810=>!_0x5157a4[_0x355eb7(0x1a8)](_0x1db810));_0x1bd419[_0x355eb7(0x1b8)](..._0x10b668);break;}if(!_0x5157a4[_0x355eb7(0x173)]())break;}return _0x1bd419;}[_0x275cdc(0x168)](_0x484401,_0x32c2fb){const _0x96b4f6=_0x275cdc;_0x484401[_0x96b4f6(0x171)]='',_0x32c2fb[_0x96b4f6(0x1c7)](_0xc9de34=>{const _0x40fdde=_0x96b4f6;if(_0xc9de34[_0x40fdde(0x1ad)]){const _0x44d237=_0xc9de34[_0x40fdde(0x1ad)][_0x40fdde(0x180)](!0x0);_0x484401[_0x40fdde(0x145)](_0x44d237);}}),_0x484401[_0x96b4f6(0x1c3)];const _0x10231f=_0x484401[_0x96b4f6(0x1bc)],_0x2b6a4a=[];return Array[_0x96b4f6(0x1b0)](_0x10231f)[_0x96b4f6(0x1c7)](_0x5157fd=>{const _0x535d9d=_0x96b4f6,_0x11b067=_0x5157fd[_0x535d9d(0x16e)]()[_0x535d9d(0x194)];_0x2b6a4a[_0x535d9d(0x19c)](_0x5a476a=>Math[_0x535d9d(0x141)](_0x5a476a-_0x11b067)<this[_0x535d9d(0x16a)][_0x535d9d(0x1ac)])||_0x2b6a4a[_0x535d9d(0x1b8)](_0x11b067);}),{'rowCount':_0x2b6a4a[_0x96b4f6(0x19e)]};}[_0x275cdc(0x147)](){const _0xd497=_0x275cdc,_0x5b425b=document[_0xd497(0x136)](_0xd497(0x172));return _0x5b425b[_0xd497(0x183)]=this[_0xd497(0x16a)][_0xd497(0x1ab)][_0xd497(0x151)],this[_0xd497(0x16a)][_0xd497(0x1ab)][_0xd497(0x13b)]&&_0x5b425b[_0xd497(0x14a)][_0xd497(0x1c5)](this[_0xd497(0x16a)][_0xd497(0x1ab)][_0xd497(0x13b)]),_0x5b425b[_0xd497(0x17a)]=_0xd497(0x1b2),_0x5b425b;}[_0x275cdc(0x1a5)](_0x4be23d,_0x37de2e,_0x60a63d){const _0x1a99e3=_0x275cdc;this[_0x1a99e3(0x168)](_0x37de2e,_0x60a63d);const _0x414e6f=this[_0x1a99e3(0x147)]();_0x4be23d[_0x1a99e3(0x145)](_0x414e6f),_0x4be23d[_0x1a99e3(0x1c3)];const _0x29a6f0=[..._0x37de2e[_0x1a99e3(0x1bc)],_0x414e6f],_0x289eac=[];_0x29a6f0[_0x1a99e3(0x1c7)](_0x545ebb=>{const _0x48f249=_0x1a99e3,_0xb3d877=_0x545ebb[_0x48f249(0x16e)]()[_0x48f249(0x194)];_0x289eac[_0x48f249(0x19c)](_0x57e8cc=>Math[_0x48f249(0x141)](_0x57e8cc-_0xb3d877)<this[_0x48f249(0x16a)][_0x48f249(0x1ac)])||_0x289eac[_0x48f249(0x1b8)](_0xb3d877);});const _0x8305e6=_0x289eac[_0x1a99e3(0x19e)];return _0x414e6f[_0x1a99e3(0x170)](),_0x8305e6<=this[_0x1a99e3(0x16a)][_0x1a99e3(0x159)];}[_0x275cdc(0x149)](_0xbadb16,_0x343241){const _0x37a750=_0x275cdc;this[_0x37a750(0x13c)][_0x37a750(0x164)](),this[_0x37a750(0x14f)][_0x37a750(0x164)](),_0xbadb16[_0x37a750(0x1c7)](_0x3e3b0a=>{const _0x44eb1c=_0x37a750;_0x343241[_0x44eb1c(0x1a8)](_0x3e3b0a)?this[_0x44eb1c(0x14f)][_0x44eb1c(0x1c5)](_0x3e3b0a):this[_0x44eb1c(0x13c)][_0x44eb1c(0x1c5)](_0x3e3b0a);});}[_0x275cdc(0x16b)](_0x30f4a5){const _0x3bfd59=_0x275cdc;if(_0x30f4a5>0x0&&!this[_0x3bfd59(0x137)]&&this[_0x3bfd59(0x17f)](),_0x30f4a5>0x0&&this[_0x3bfd59(0x137)]){const _0x3292f9=''+this[_0x3bfd59(0x16a)][_0x3bfd59(0x148)]+(_0x30f4a5<0x63?_0x30f4a5:'99');this[_0x3bfd59(0x137)][_0x3bfd59(0x134)]=_0x3292f9;}this[_0x3bfd59(0x16c)](),this[_0x3bfd59(0x165)](),this[_0x3bfd59(0x15a)]();}[_0x275cdc(0x153)](_0x572bd4,_0x2042fe){const _0x12976f=_0x275cdc;this[_0x12976f(0x149)](_0x572bd4,_0x2042fe),this[_0x12976f(0x16b)](_0x2042fe[_0x12976f(0x19e)]);}[_0x275cdc(0x160)](){const _0x28c838=_0x275cdc;this[_0x28c838(0x198)]&&_0x28c838(0x16f)!=typeof IntersectionObserver&&(this[_0x28c838(0x14e)]=new IntersectionObserver(_0x3cfbbb=>{const _0x4f1702=_0x28c838;_0x3cfbbb[0x0][_0x4f1702(0x17d)]&&this[_0x4f1702(0x1c0)]&&requestAnimationFrame(()=>{const _0x1d11c8=_0x4f1702;this[_0x1d11c8(0x15d)]();});},{'threshold':0.01,'rootMargin':_0x28c838(0x18c)}),this[_0x28c838(0x14e)][_0x28c838(0x162)](this[_0x28c838(0x198)]));}[_0x275cdc(0x19f)](){const _0x4cedf3=_0x275cdc;if(!this[_0x4cedf3(0x198)])return!0x1;if(!this[_0x4cedf3(0x198)][_0x4cedf3(0x186)])return!0x1;const _0x2af3c1=this[_0x4cedf3(0x198)][_0x4cedf3(0x16e)]();if(0x0===_0x2af3c1[_0x4cedf3(0x197)]||0x0===_0x2af3c1[_0x4cedf3(0x155)])return!0x1;const _0x14ebba=window[_0x4cedf3(0x189)]||document[_0x4cedf3(0x13d)][_0x4cedf3(0x196)],_0x3e7c3c=window[_0x4cedf3(0x14d)]||document[_0x4cedf3(0x13d)][_0x4cedf3(0x17c)],_0x499408=0xc8;return _0x2af3c1[_0x4cedf3(0x1c6)]>=-0xc8&&_0x2af3c1[_0x4cedf3(0x194)]<=_0x14ebba+_0x499408&&_0x2af3c1[_0x4cedf3(0x1a4)]>=-0xc8&&_0x2af3c1[_0x4cedf3(0x176)]<=_0x3e7c3c+_0x499408;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1721e5=_0xa356;(function(_0x7df2f8,_0xe6c1e2){const _0x2fe6f6=_0xa356,_0x48f2d9=_0x7df2f8();while(!![]){try{const _0x2e95e6=parseInt(_0x2fe6f6(0x1c3))/0x1*(-parseInt(_0x2fe6f6(0x1bf))/0x2)+parseInt(_0x2fe6f6(0x1cf))/0x3+-parseInt(_0x2fe6f6(0x1dd))/0x4*(-parseInt(_0x2fe6f6(0x1ae))/0x5)+parseInt(_0x2fe6f6(0x1c2))/0x6+-parseInt(_0x2fe6f6(0x1a4))/0x7*(-parseInt(_0x2fe6f6(0x1b7))/0x8)+-parseInt(_0x2fe6f6(0x1ca))/0x9*(-parseInt(_0x2fe6f6(0x1db))/0xa)+-parseInt(_0x2fe6f6(0x1c5))/0xb;if(_0x2e95e6===_0xe6c1e2)break;else _0x48f2d9['push'](_0x48f2d9['shift']());}catch(_0x384d6e){_0x48f2d9['push'](_0x48f2d9['shift']());}}}(_0x5444,0x89e0c));function _0x5444(){const _0x18aaf3=['_isAnimationOnEnterEnabled','4fGqXmw','_createTemplateChildren','removeContextItemChip','3748128JVwWPC','556333ZjKbKO','isVisible','16113053HAcakI','ck-ai-chat-context-chip__label','lastIndexOf','set','ck-ai-chat-context-controls__chip-tooltip','9XdFeds','ck-ai-chat-context-chip','_setupTemplate','disableAnimationOnEnter','setTemplate','1652757lDMtZb','isLoading','itemType','ck-ai-chat-context-chip_document','bindTemplate','content','_initializeProperties','_createTemplateAttributes','execute','selection','element','_createRemoveButton','2513660wugImV','label','4093528DyhBUw','classList','div','type','render','extendTemplate','webkitAnimationEnd','length','ck-ai-chat-context-chip__type-icon','fire','1106IIogCP','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','span','ck-ai-chat-context-chip_new-chip','ck-ai-chat-context-chip_wide','locale','animationend','uiId','tooltip','small','5GxGVKZ','ck-hidden','removeEventListener','add','addEventListener','_setupRemoveButtonEvent','_createIconView','document','slice','35032YMYhGk','_createLoaderIcon','_handleAnimationEndOnce','remove','_createLabelElement','readonly','bind'];_0x5444=function(){return _0x18aaf3;};return _0x5444();}import{ButtonView as _0x11204a,IconView as _0x643b57}from'ckeditor5/src/ui.js';import{IconClose as _0xd1229c,IconDocument as _0x31d831,IconFileUpload as _0x227725,IconLink as _0x5f1d7b,IconSelection as _0x2fc9de}from'@ckeditor/ckeditor5-icons';function _0xa356(_0x57663e,_0x213b3b){const _0x5444e6=_0x5444();return _0xa356=function(_0xa3568b,_0x343df9){_0xa3568b=_0xa3568b-0x19e;let _0x486644=_0x5444e6[_0xa3568b];return _0x486644;},_0xa356(_0x57663e,_0x213b3b);}import{getTranslation as _0x34b1c5}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x189ade}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x227725,'document':_0x31d831,'web-resource':_0x5f1d7b,'text':_0x227725,'selection':_0x2fc9de,'mcp-tool-context':_0x31d831},bn=_0x1721e5(0x1cb),Tn=_0x1721e5(0x1a8),En=_0x1721e5(0x1d2),fn=_0x1721e5(0x1c6),An=_0x1721e5(0x1a2),Cn=_0x1721e5(0x1c9),In='n';export class AIChatContextItemButtonView extends _0x11204a{constructor(_0x43b463,_0x15611a,_0x48dde2,_0x4df8a3,_0x59ce21=!0x1){const _0x2ad080=_0x1721e5;super(_0x43b463),this[_0x2ad080(0x1be)]=_0x4df8a3,this[_0x2ad080(0x1d5)](_0x15611a,_0x48dde2,_0x59ce21),this[_0x2ad080(0x1cc)]();}[_0x1721e5(0x19e)](){const _0x4a03c6=_0x1721e5;super[_0x4a03c6(0x19e)](),this[_0x4a03c6(0x1be)]&&this[_0x4a03c6(0x1d9)]&&(this[_0x4a03c6(0x1d9)][_0x4a03c6(0x1de)][_0x4a03c6(0x1b1)](_0x4a03c6(0x1a7)),this[_0x4a03c6(0x1b9)](this[_0x4a03c6(0x1d9)],()=>{const _0x2a0b42=_0x4a03c6;this[_0x2a0b42(0x1d9)]&&this[_0x2a0b42(0x1d9)][_0x2a0b42(0x1de)][_0x2a0b42(0x1ba)](_0x2a0b42(0x1a7));}));}[_0x1721e5(0x1cd)](){const _0x285821=_0x1721e5;this[_0x285821(0x1be)]=!0x1,this[_0x285821(0x1d9)]&&this[_0x285821(0x1d9)][_0x285821(0x1de)][_0x285821(0x1ba)](_0x285821(0x1a7));}[_0x1721e5(0x1d5)](_0x3ad63a,_0x41d5ea,_0x23c16d){const _0x22c4fc=_0x1721e5;this[_0x22c4fc(0x1c8)](_0x22c4fc(0x1dc),_0x3ad63a[_0x22c4fc(0x1dc)]),this[_0x22c4fc(0x1c8)](_0x22c4fc(0x1ac),!0x0),this[_0x22c4fc(0x1c8)](_0x22c4fc(0x1d1),_0x3ad63a[_0x22c4fc(0x1e0)]),this[_0x22c4fc(0x1c8)]('id',_0x3ad63a[_0x22c4fc(0x1ab)]),this[_0x22c4fc(0x1c8)](_0x22c4fc(0x1bc),_0x41d5ea),this[_0x22c4fc(0x1c8)](_0x22c4fc(0x1d0),_0x23c16d);}[_0x1721e5(0x1cc)](){const _0x41a221=_0x1721e5,_0x4c059f=this[_0x41a221(0x1b4)](),_0x4a3cd0=this[_0x41a221(0x1da)](),_0x28ca32=this[_0x41a221(0x1d3)];this[_0x41a221(0x1ce)]({'tag':_0x41a221(0x1df),'attributes':this[_0x41a221(0x1d6)](_0x28ca32),'children':this[_0x41a221(0x1c0)](_0x4c059f,_0x4a3cd0,_0x28ca32)});}[_0x1721e5(0x1d6)](_0x39b40a){const _0x360ad9=_0x1721e5;return{'class':[bn,_0x39b40a['if'](_0x360ad9(0x1d1),En,_0x47be51=>_0x360ad9(0x1b5)==_0x47be51),_0x39b40a['if'](_0x360ad9(0x1d1),Tn,_0x92f9a1=>_0x360ad9(0x1d8)==_0x92f9a1)],'data-cke-tooltip-text':_0x39b40a['to'](_0x360ad9(0x1dc),On),'data-cke-tooltip-position':In,'data-cke-tooltip-class':Cn};}[_0x1721e5(0x1c0)](_0x174b7a,_0x3424fd,_0x11126d){const _0x5ce04a=_0x1721e5,_0x5e8e68=this[_0x5ce04a(0x1bb)](_0x11126d),_0x2359d1=this[_0x5ce04a(0x1b8)]();return this[_0x5ce04a(0x1bc)]?[_0x174b7a,_0x5e8e68]:[_0x174b7a,_0x2359d1,_0x5e8e68,_0x3424fd];}[_0x1721e5(0x1bb)](_0x1d8d51){const _0x45c3b3=_0x1721e5;return{'tag':_0x45c3b3(0x1a6),'attributes':{'class':fn},'children':[{'text':_0x1d8d51['to'](_0x45c3b3(0x1dc))}]};}[_0x1721e5(0x1da)](){const _0x5e33f3=_0x1721e5,_0x1631ba=new _0x11204a(this[_0x5e33f3(0x1a9)]);return _0x1631ba[_0x5e33f3(0x1c8)]({'label':_0x34b1c5(this[_0x5e33f3(0x1a9)],_0x5e33f3(0x1a5)),'icon':_0xd1229c}),this[_0x5e33f3(0x1b3)](_0x1631ba),_0x1631ba;}[_0x1721e5(0x1b3)](_0x111a0b){const _0x26adfb=_0x1721e5;_0x111a0b['on'](_0x26adfb(0x1d7),()=>{const _0x5c6fb3=_0x26adfb;this[_0x5c6fb3(0x1a3)](_0x5c6fb3(0x1c1),this['id']);});}[_0x1721e5(0x1b4)](){const _0x3bb6f7=_0x1721e5,_0xa0b1f3=this[_0x3bb6f7(0x1d3)],_0x267a26=new _0x643b57();return _0x267a26[_0x3bb6f7(0x1d4)]=xn[this[_0x3bb6f7(0x1d1)]],_0x267a26[_0x3bb6f7(0x19f)]({'attributes':{'class':[An,_0xa0b1f3['if'](_0x3bb6f7(0x1d0),_0x3bb6f7(0x1af),_0x3b5d7d=>_0x3b5d7d)]}}),_0x267a26;}[_0x1721e5(0x1b9)](_0x573bce,_0x1b0b8d){const _0x44647a=_0x1721e5;if(!_0x573bce)return;const _0x4a3c6d=()=>{const _0x5c8ce8=_0xa356;_0x1b0b8d(),_0x573bce[_0x5c8ce8(0x1b0)](_0x5c8ce8(0x1aa),_0x4a3c6d),_0x573bce[_0x5c8ce8(0x1b0)](_0x5c8ce8(0x1a0),_0x4a3c6d);};_0x573bce[_0x44647a(0x1b2)](_0x44647a(0x1aa),_0x4a3c6d),_0x573bce[_0x44647a(0x1b2)](_0x44647a(0x1a0),_0x4a3c6d);}[_0x1721e5(0x1b8)](){const _0x23ec3c=_0x1721e5,_0x3b0023=new _0x189ade(_0x23ec3c(0x1ad));return _0x3b0023[_0x23ec3c(0x1bd)](_0x23ec3c(0x1c4))['to'](this,_0x23ec3c(0x1d0),_0x137c96=>_0x137c96),_0x3b0023;}}function On(_0x288154){const _0x4b9781=_0x1721e5;if(!_0x288154)return _0x288154;if(_0x288154[_0x4b9781(0x1a1)]<=0x78)return _0x288154;const _0x15086f=_0x288154[_0x4b9781(0x1b6)](0x0,0x78),_0x4b2507=_0x15086f[_0x4b9781(0x1c7)]('\x20');return(_0x4b2507>0x0?_0x15086f[_0x4b9781(0x1b6)](0x0,_0x4b2507):_0x15086f)+'…';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x234af1=_0x4baa;(function(_0x3267f8,_0x398622){const _0x5c5092=_0x4baa,_0x1d8c8e=_0x3267f8();while(!![]){try{const _0x4fe12b=parseInt(_0x5c5092(0x202))/0x1*(-parseInt(_0x5c5092(0x1ca))/0x2)+-parseInt(_0x5c5092(0x200))/0x3+-parseInt(_0x5c5092(0x1e1))/0x4+parseInt(_0x5c5092(0x1c9))/0x5*(-parseInt(_0x5c5092(0x1f2))/0x6)+-parseInt(_0x5c5092(0x1ef))/0x7+parseInt(_0x5c5092(0x1ee))/0x8+parseInt(_0x5c5092(0x1de))/0x9*(parseInt(_0x5c5092(0x1cb))/0xa);if(_0x4fe12b===_0x398622)break;else _0x1d8c8e['push'](_0x1d8c8e['shift']());}catch(_0x4d6239){_0x1d8c8e['push'](_0x1d8c8e['shift']());}}}(_0x198d,0x71dd6));function _0x4baa(_0x36c608,_0x301aea){const _0x198d89=_0x198d();return _0x4baa=function(_0x4baa48,_0xfd1ee2){_0x4baa48=_0x4baa48-0x1b7;let _0x5a182c=_0x198d89[_0x4baa48];return _0x5a182c;},_0x4baa(_0x36c608,_0x301aea);}function _0x198d(){const _0x42c6d9=['stop','_createUrlInputField','tab','urlInputField','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','ck-ai-chat-context-controls__url-input-section','submitUrl','render','input','18lBYTif','_updateConfirmButtonState','execute','1882276LVZFwa','ck-ai-chat-context-controls__url-form','value','children','locale','clear','ck-button-icon','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','clearError','AI_CHAT_CONTEXT_URL_ADD_URL','shift+tab','cancel','withBackButton','2246696YxwWTC','4673844ZRxnmY','div','_handleSubmit','978DwEVwz','ck-button-icon\x20ck-button-back','_setupTemplate','AI_CHAT_CONTEXT_URL_PLACEHOLDER','AI_CHAT_CONTEXT_URL_INVALID_ERROR','forEach','_isValidUrl','length','setTemplate','_createBackButton','confirmButton','createCollection','listenTo','refreshBalloon','1801086jLMOjM','\x20ck-hidden','19059pAguXm','submit','getValue','_focusables','focusTracker','change:withBackButton','focusCycler','keystrokes','errorText','focus','set','add','isEnabled','backButton','ck-labeled-field-view_empty','fieldView','AI_CHAT_CONTEXT_URL_LABEL','destroy','element','1075vRHDly','70NOcpQE','13131430OjJjrj','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','trim','_setupKeystrokes','esc','form','setError','_createConfirmButton','_setupEventHandlers','fire'];_0x198d=function(){return _0x42c6d9;};return _0x198d();}import{FocusTracker as _0x3fbdb8,KeystrokeHandler as _0x1e6787}from'ckeditor5/src/utils.js';import{ButtonView as _0x27c405,FocusCycler as _0x3f1888,LabeledFieldView as _0x1be240,View as _0x259f0e,FormHeaderView as _0x57114d,createLabeledInputText as _0xd9e52d,submitHandler as _0x59e43e}from'ckeditor5/src/ui.js';import{IconCheck as _0x1b52ea,IconPreviousArrow as _0x301f34}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x13e2b2}from'../../../aicore/utils/common-translations.js';const ch=_0x234af1(0x1e2),rh=_0x234af1(0x1da);export class AIChatContextPanelUrlInputView extends _0x259f0e{[_0x234af1(0x1ba)];[_0x234af1(0x1bd)];[_0x234af1(0x1b9)];[_0x234af1(0x1bc)];[_0x234af1(0x1d8)];[_0x234af1(0x1c3)];[_0x234af1(0x1fc)];constructor(_0x4db551){const _0x419ad2=_0x234af1;super(_0x4db551),this[_0x419ad2(0x1ba)]=new _0x3fbdb8(),this[_0x419ad2(0x1bd)]=new _0x1e6787(),this[_0x419ad2(0x1c3)]=this[_0x419ad2(0x1fb)](),this[_0x419ad2(0x1d8)]=this[_0x419ad2(0x1d6)](),this[_0x419ad2(0x1fc)]=this[_0x419ad2(0x1d2)](),this[_0x419ad2(0x1b9)]=this[_0x419ad2(0x1fd)]([this[_0x419ad2(0x1c3)],this[_0x419ad2(0x1d8)],this[_0x419ad2(0x1fc)]]),this[_0x419ad2(0x1bc)]=new _0x3f1888({'focusables':this[_0x419ad2(0x1b9)],'focusTracker':this[_0x419ad2(0x1ba)],'keystrokeHandler':this[_0x419ad2(0x1bd)],'actions':{'focusPrevious':_0x419ad2(0x1eb),'focusNext':_0x419ad2(0x1d7)}}),this[_0x419ad2(0x1c0)](_0x419ad2(0x1ed),!0x0),this[_0x419ad2(0x1f4)](),this[_0x419ad2(0x1d3)](),this[_0x419ad2(0x1ce)]();}[_0x234af1(0x1dc)](){const _0x22068f=_0x234af1;super[_0x22068f(0x1dc)](),this[_0x22068f(0x1b9)][_0x22068f(0x1f7)](_0x1b3524=>{const _0x3ccd69=_0x22068f;this[_0x3ccd69(0x1ba)][_0x3ccd69(0x1c1)](_0x1b3524[_0x3ccd69(0x1c8)]),this[_0x3ccd69(0x1bd)][_0x3ccd69(0x1fe)](_0x1b3524[_0x3ccd69(0x1c8)]);}),_0x59e43e({'view':this}),this[_0x22068f(0x1bf)]();}[_0x234af1(0x1c7)](){const _0x379275=_0x234af1;super[_0x379275(0x1c7)](),this[_0x379275(0x1ba)][_0x379275(0x1c7)](),this[_0x379275(0x1bd)][_0x379275(0x1c7)]();}[_0x234af1(0x1bf)](){const _0x5c725c=_0x234af1;this[_0x5c725c(0x1d8)][_0x5c725c(0x1bf)]();}[_0x234af1(0x1b8)](){const _0x2934b0=_0x234af1;return this[_0x2934b0(0x1d8)][_0x2934b0(0x1c5)][_0x2934b0(0x1c8)]?.[_0x2934b0(0x1e3)]?.[_0x2934b0(0x1cd)]()||'';}[_0x234af1(0x1e6)](){const _0x69e811=_0x234af1;this[_0x69e811(0x1d8)][_0x69e811(0x1c5)][_0x69e811(0x1c8)][_0x69e811(0x1e3)]='',this[_0x69e811(0x1d8)][_0x69e811(0x1be)]=null,this[_0x69e811(0x1fc)][_0x69e811(0x1c2)]=!0x1;}[_0x234af1(0x1d1)](_0x5c30b7){const _0xb9b5b=_0x234af1;this[_0xb9b5b(0x1d8)][_0xb9b5b(0x1be)]=_0x5c30b7,this[_0xb9b5b(0x1df)](),this[_0xb9b5b(0x1d4)](_0xb9b5b(0x1ff));}[_0x234af1(0x1e9)](){const _0x2ac5f8=_0x234af1;this[_0x2ac5f8(0x1d8)][_0x2ac5f8(0x1be)]=null,this[_0x2ac5f8(0x1df)]();}[_0x234af1(0x1fb)](){const _0x4a7f51=_0x234af1,_0x46579d=new _0x27c405(this[_0x4a7f51(0x1e5)]);return _0x46579d[_0x4a7f51(0x1c0)]({'icon':_0x301f34,'tooltip':_0x13e2b2(this[_0x4a7f51(0x1e5)],_0x4a7f51(0x1e8)),'tooltipPosition':'n','class':[_0x4a7f51(0x1f3)]}),this['on'](_0x4a7f51(0x1bb),(_0x115d4e,_0x26eed3,_0x19f157)=>{const _0x2ecc3f=_0x4a7f51;_0x46579d[_0x2ecc3f(0x1c0)]({'class':[_0x2ecc3f(0x1f3)+(_0x19f157?'':_0x2ecc3f(0x201))]});}),_0x46579d;}[_0x234af1(0x1d6)](){const _0x4940eb=_0x234af1,_0x13add4=new _0x1be240(this[_0x4940eb(0x1e5)],_0xd9e52d);return _0x13add4[_0x4940eb(0x1c0)]({'label':_0x13e2b2(this[_0x4940eb(0x1e5)],_0x4940eb(0x1c6)),'class':_0x4940eb(0x1c4)}),_0x13add4[_0x4940eb(0x1c5)][_0x4940eb(0x1c0)]({'placeholder':_0x13e2b2(this[_0x4940eb(0x1e5)],_0x4940eb(0x1f5))}),_0x13add4;}[_0x234af1(0x1d2)](){const _0x107eeb=_0x234af1,_0x2a70f5=new _0x27c405(this[_0x107eeb(0x1e5)]);return _0x2a70f5[_0x107eeb(0x1c0)]({'icon':_0x1b52ea,'tooltip':_0x13e2b2(this[_0x107eeb(0x1e5)],_0x107eeb(0x1ea)),'tooltipPosition':'n','class':_0x107eeb(0x1e7),'type':_0x107eeb(0x1b7),'isEnabled':!0x1}),_0x2a70f5;}[_0x234af1(0x1f4)](){const _0x33281d=_0x234af1,_0x33c4e3=new _0x57114d(this[_0x33281d(0x1e5)],{'label':_0x13e2b2(this[_0x33281d(0x1e5)],_0x33281d(0x1ea)),'class':_0x33281d(0x1cc)});_0x33c4e3[_0x33281d(0x1e4)][_0x33281d(0x1c1)](this[_0x33281d(0x1c3)],0x0),this[_0x33281d(0x1fa)]({'tag':_0x33281d(0x1d0),'attributes':{'class':ch,'tabindex':'-1'},'children':[_0x33c4e3,{'tag':_0x33281d(0x1f0),'attributes':{'class':rh},'children':[this[_0x33281d(0x1d8)],this[_0x33281d(0x1fc)]]}]});}[_0x234af1(0x1d3)](){const _0x2fb3e8=_0x234af1;this[_0x2fb3e8(0x1c3)]['on'](_0x2fb3e8(0x1e0),()=>{const _0x44c2da=_0x2fb3e8;this[_0x44c2da(0x1e6)](),this[_0x44c2da(0x1d4)](_0x44c2da(0x1ec));}),this[_0x2fb3e8(0x1d8)][_0x2fb3e8(0x1c5)]['on'](_0x2fb3e8(0x1dd),()=>{const _0x4664e5=_0x2fb3e8;this[_0x4664e5(0x1e9)](),this[_0x4664e5(0x1df)](),this[_0x4664e5(0x1d4)](_0x4664e5(0x1ff));}),this['on'](_0x2fb3e8(0x1b7),_0x202b0f=>{const _0x49a547=_0x2fb3e8;_0x202b0f[_0x49a547(0x1d5)](),this[_0x49a547(0x1f1)]();});}[_0x234af1(0x1ce)](){const _0x48da99=_0x234af1;this[_0x48da99(0x1bd)][_0x48da99(0x1c0)](_0x48da99(0x1cf),(_0xf254aa,_0x5a7104)=>{const _0x1d3a64=_0x48da99;this[_0x1d3a64(0x1e6)](),this[_0x1d3a64(0x1d4)](_0x1d3a64(0x1ec)),_0x5a7104();});}[_0x234af1(0x1f1)](){const _0x37189c=_0x234af1,_0x5aefa9=this[_0x37189c(0x1b8)]()[_0x37189c(0x1cd)]();_0x5aefa9?this[_0x37189c(0x1f8)](_0x5aefa9)?(this[_0x37189c(0x1e9)](),this[_0x37189c(0x1d4)](_0x37189c(0x1db),_0x5aefa9)):this[_0x37189c(0x1d1)](_0x13e2b2(this[_0x37189c(0x1e5)],_0x37189c(0x1f6))):this[_0x37189c(0x1d1)](_0x13e2b2(this[_0x37189c(0x1e5)],_0x37189c(0x1d9)));}[_0x234af1(0x1df)](){const _0x1d60d1=_0x234af1,_0x36ff7a=this[_0x1d60d1(0x1b8)]()[_0x1d60d1(0x1cd)](),_0x5ea8b1=!!this[_0x1d60d1(0x1d8)][_0x1d60d1(0x1be)];this[_0x1d60d1(0x1fc)][_0x1d60d1(0x1c2)]=_0x36ff7a[_0x1d60d1(0x1f9)]>0x0&&!_0x5ea8b1;}[_0x234af1(0x1f8)](_0x3bfb00){try{return!!new URL(_0x3bfb00);}catch{return!0x1;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x15ebfb=_0x2ebf;(function(_0x569b92,_0xa78b5e){const _0x12bd3d=_0x2ebf,_0x40dddb=_0x569b92();while(!![]){try{const _0x49019f=-parseInt(_0x12bd3d(0x214))/0x1+parseInt(_0x12bd3d(0x234))/0x2+-parseInt(_0x12bd3d(0x229))/0x3+parseInt(_0x12bd3d(0x243))/0x4*(parseInt(_0x12bd3d(0x247))/0x5)+-parseInt(_0x12bd3d(0x239))/0x6+-parseInt(_0x12bd3d(0x23d))/0x7+parseInt(_0x12bd3d(0x23e))/0x8;if(_0x49019f===_0xa78b5e)break;else _0x40dddb['push'](_0x40dddb['shift']());}catch(_0x1acab3){_0x40dddb['push'](_0x40dddb['shift']());}}}(_0x2bdd,0x3b07c));import{BalloonPanelView as _0x797026,ButtonView as _0x817fd6,clickOutsideHandler as _0x2d8647,FileDialogButtonView as _0x3e5940,IconView as _0x52c064,View as _0x46b9f5}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x1c6747,IconDocument as _0x261300,IconDocumentOutline as _0xb4c138,IconDropdownArrow as _0x3a9ce0,IconLink as _0x1e8bbd,IconPaperClip as _0xead702}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x2be630}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x313029}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x565a57}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x5ce220}from'../../../aicore/utils/common-translations.js';function _0x2bdd(){const _0x54e9cc=['8660072ftKPuW','_urlBalloonPanelView','showUrlBalloonPanel','element','hideAddContextBalloonPanel','705452gtMKVa','withBackButton','isAnyResourceBalloonVisible','icon','5olKJbQ','enabled','southArrowNorth','refreshBalloon','showAddContextBalloonPanel','AI_CHAT_CONTEXT_ADD_CONTEXT','ck-ai-chat','destroy','_resourcesBalloonView','tooltip','_setupUrlBalloonClickOutsideHandler','done','show','ck-ai-chat-context-controls__add-context-balloon-panel','current','_handleUrlSubmit','pin','sources','clear','AI_CHAT_CONTEXT_URL_LABEL','menuitem','addContextItem','__arrow','northArrowSouthEast','AI_CHAT_CONTEXT_FILE_LABEL','ck-ai-chat-context-controls__balloon-button','body','ck-ai-chat-context-controls__add-context-button','_bindEventHandlers','loadSourceResources','_setupTemplate','_setupAddContextBalloonClickOutsideHandler','hide','southArrowNorthWest','_toggleAddContextBalloon','ck-ai-chat-context-chips-wrapper-balloon','extendTemplate','submitUrl','northArrowSouth','_createUrlBalloonPanelView','render','source','addUrlToContext','_removeContextFromCollection','_createBalloonButton','type','executeCustomItemCallback','isHidden','_addUrlContent','_hasExactlyOneSource','_addContextBalloonConfig','conversation','ck-ai-chat-context-controls','_conversationContextsChips','_createResourcesBalloonView','isEnabled','reorganizeChips','ck-ai-chat-controls_context_show-more-button','northArrowSouthWest','setAddContextOptions','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','_addContextToCollection','ck-ai-chat-context-controls__balloon-button-source','cancel','_setBalloonPanelContent','defaultPositions','isVisible','find','_setAddContextButtonEnabled','closeSourceResourceBalloon','ck-ai-chat-context-controls__url-balloon-panel','showSourceResourcesBalloon','removeContextItemChip','clearCurrentContextItems','ck-ai-chat-controls-button','content','customItems','updateResourceState','label','addDocumentToContext','children','setContainerElement','southArrowNorthEast','fire','focus','setTemplate','_setupAllBalloonClickOutsideHandlers','remove','bodyCollection','_createAddContextButtonView','document','files','locale','_createArrowView','_urlInputView','_handleAddContextButtonClick','set','removeContextItem','199677WSqvaE','div','overflowChips','length','_createAddContextBalloonPanelView','arrowView','populateSourceResourceBalloon','buttonView','customItem','bind','setContextItemLoading','_currentContextsChips','addFileToContext','urls','isLoading','_createBaseBalloonPanel','_overflowManager','execute','balloonView','get','add','1077552bVoZEL','setConversationContext','isReadOnly','ck-ai-chat-context-controls__show-more-balloon-panel','closest','ck-ai-chat-context-controls__pending-contexts','createCollection','_getLimiterElement','isOn','_createContextButton','hideUrlBalloonPanel','608094wEExpt','ck-reset_all-excluded','_addContextBalloonPanelView','addContextButtonView','addResourceToContext','2684352adilxj','searchInputVisibleFrom','_showSourceResourcesBalloon','clearConversationContextItems','2204146EiJiNn'];_0x2bdd=function(){return _0x54e9cc;};return _0x2bdd();}import{AIChatResourcesBalloonView as _0x4b1aae}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x15ebfb(0x201),_0x15ebfb(0x220),_0x15ebfb(0x1dc),_0x15ebfb(0x238),_0x15ebfb(0x213),_0x15ebfb(0x264),_0x15ebfb(0x1e0)];function _0x2ebf(_0xb6e432,_0x40bb3c){const _0x2bdd68=_0x2bdd();return _0x2ebf=function(_0x2ebfb0,_0x52ed44){_0x2ebfb0=_0x2ebfb0-0x1d9;let _0x46519f=_0x2bdd68[_0x2ebfb0];return _0x46519f;},_0x2ebf(_0xb6e432,_0x40bb3c);}const Ro=_0x15ebfb(0x1e6),Oo=_0x15ebfb(0x22e),Uo=_0x15ebfb(0x254),Lo=_0x15ebfb(0x262),No=_0x15ebfb(0x1f8),Mo=_0x15ebfb(0x260),Ho=_0x15ebfb(0x1f0),jo=_0x15ebfb(0x1fc),Fo=_0x15ebfb(0x26a),Xo=_0x15ebfb(0x1eb),yo=_0x15ebfb(0x22c),Do=_0x15ebfb(0x24d),$o=[_0x797026[_0x15ebfb(0x1f3)][_0x15ebfb(0x1ec)],_0x797026[_0x15ebfb(0x1f3)][_0x15ebfb(0x26d)],_0x797026[_0x15ebfb(0x1f3)][_0x15ebfb(0x25e)],_0x797026[_0x15ebfb(0x1f3)][_0x15ebfb(0x268)],_0x797026[_0x15ebfb(0x1f3)][_0x15ebfb(0x249)],_0x797026[_0x15ebfb(0x1f3)][_0x15ebfb(0x204)]];export class AIChatContextPanelView extends _0x46b9f5{[_0x15ebfb(0x237)];[_0x15ebfb(0x21f)]=this[_0x15ebfb(0x22f)]();[_0x15ebfb(0x1e7)]=this[_0x15ebfb(0x22f)]();[_0x15ebfb(0x224)];[_0x15ebfb(0x236)];[_0x15ebfb(0x23f)];[_0x15ebfb(0x210)];[_0x15ebfb(0x24f)];[_0x15ebfb(0x1e4)];[_0x15ebfb(0x1e3)]=!0x1;[_0x15ebfb(0x20a)];constructor(_0x54cf14,_0x5126b4){const _0x2ebbc6=_0x15ebfb;super(_0x54cf14),this[_0x2ebbc6(0x20a)]=_0x5126b4[_0x2ebbc6(0x20a)],this[_0x2ebbc6(0x21f)]=this[_0x2ebbc6(0x22f)](),this[_0x2ebbc6(0x1e7)]=this[_0x2ebbc6(0x22f)](),this[_0x2ebbc6(0x237)]=this[_0x2ebbc6(0x20b)](_0x54cf14),this[_0x2ebbc6(0x236)]=this[_0x2ebbc6(0x218)](_0x54cf14),this[_0x2ebbc6(0x23f)]=this[_0x2ebbc6(0x1d9)](_0x54cf14),this[_0x2ebbc6(0x24f)]=this[_0x2ebbc6(0x1e8)](_0x54cf14,_0x5126b4);const _0x19b57f={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':Fo,'controlsButton':jo}};this[_0x2ebbc6(0x224)]=new _0x565a57(_0x54cf14,this[_0x2ebbc6(0x21f)],_0x19b57f,this[_0x2ebbc6(0x20a)],this),this[_0x2ebbc6(0x1e4)]={'buttonView':this[_0x2ebbc6(0x237)],'balloonView':this[_0x2ebbc6(0x236)],'hideMethod':this[_0x2ebbc6(0x242)][_0x2ebbc6(0x21d)](this),'showMethod':this[_0x2ebbc6(0x24b)][_0x2ebbc6(0x21d)](this)},this[_0x2ebbc6(0x265)](),this[_0x2ebbc6(0x263)]();}[_0x15ebfb(0x1da)](){const _0x566e9c=_0x15ebfb;super[_0x566e9c(0x1da)](),this[_0x566e9c(0x208)](),this[_0x566e9c(0x224)][_0x566e9c(0x203)](this[_0x566e9c(0x241)]),this[_0x566e9c(0x224)][_0x566e9c(0x1ea)]();}[_0x15ebfb(0x24e)](){const _0x508dcd=_0x15ebfb;super[_0x508dcd(0x24e)](),this[_0x508dcd(0x224)][_0x508dcd(0x24e)](),this[_0x508dcd(0x24f)][_0x508dcd(0x24e)]();}[_0x15ebfb(0x25c)](_0x4ddc56,_0x75449d){const _0x264c99=_0x15ebfb,_0x2f7a6d=this[_0x264c99(0x232)](_0x4ddc56,_0x264c99(0x255),!0x0,_0x75449d);this[_0x264c99(0x1ef)](_0x2f7a6d,this[_0x264c99(0x21f)]),this[_0x264c99(0x224)][_0x264c99(0x1ea)]();}[_0x15ebfb(0x213)](_0x519bfc){const _0x40e1dd=_0x15ebfb;this[_0x40e1dd(0x1dd)](_0x519bfc,this[_0x40e1dd(0x21f)]),this[_0x40e1dd(0x1dd)](_0x519bfc,this[_0x40e1dd(0x224)][_0x40e1dd(0x216)]),this[_0x40e1dd(0x224)][_0x40e1dd(0x1ea)]();}[_0x15ebfb(0x21e)](_0x21b9fc,_0x4a3f7f){const _0x3c619f=_0x15ebfb;let _0x5da57d=this[_0x3c619f(0x21f)][_0x3c619f(0x1f5)](_0x2d9e63=>_0x2d9e63['id']===_0x21b9fc);_0x5da57d||(_0x5da57d=this[_0x3c619f(0x224)][_0x3c619f(0x216)][_0x3c619f(0x1f5)](_0x14762f=>_0x14762f['id']===_0x21b9fc)),_0x5da57d&&(_0x5da57d[_0x3c619f(0x222)]=_0x4a3f7f);}[_0x15ebfb(0x22a)](_0x60851c){const _0x3f8917=_0x15ebfb;this[_0x3f8917(0x1e7)][_0x3f8917(0x259)]();for(const _0x142d0f of _0x60851c){const _0x38daee=this[_0x3f8917(0x232)](_0x142d0f,_0x3f8917(0x1e5),!0x1,!0x1);this[_0x3f8917(0x1ef)](_0x38daee,this[_0x3f8917(0x1e7)]);}}[_0x15ebfb(0x1fb)](){const _0x33910e=_0x15ebfb;this[_0x33910e(0x21f)][_0x33910e(0x259)](),this[_0x33910e(0x224)][_0x33910e(0x259)]();}[_0x15ebfb(0x23c)](){const _0x167d06=_0x15ebfb;this[_0x167d06(0x1e7)][_0x167d06(0x259)]();}[_0x15ebfb(0x1ff)](_0x53ae9d,_0x395749,_0x5d600b){const _0x7a514d=_0x15ebfb;this[_0x7a514d(0x24f)][_0x7a514d(0x1ff)](_0x53ae9d,_0x395749,_0x5d600b);}[_0x15ebfb(0x242)](){const _0x149fab=_0x15ebfb;this[_0x149fab(0x269)](!0x1);}[_0x15ebfb(0x24b)](){const _0x690f46=_0x15ebfb;this[_0x690f46(0x269)](!0x0);}[_0x15ebfb(0x233)](){const _0x2daabc=_0x15ebfb;this[_0x2daabc(0x23f)][_0x2daabc(0x267)](),this[_0x2daabc(0x237)][_0x2daabc(0x231)]=!0x1,this[_0x2daabc(0x210)]&&this[_0x2daabc(0x210)][_0x2daabc(0x259)]();}[_0x15ebfb(0x240)](){const _0x26c7f6=_0x15ebfb;this[_0x26c7f6(0x23f)][_0x26c7f6(0x253)](),this[_0x26c7f6(0x237)][_0x26c7f6(0x231)]=!0x0;}[_0x15ebfb(0x23b)]({source:_0x54f356,withBackButton:_0x112b1b}){const _0x298e97=_0x15ebfb;this[_0x298e97(0x24f)][_0x298e97(0x1f9)]({'source':_0x54f356,'withBackButton':_0x112b1b}),this[_0x298e97(0x237)][_0x298e97(0x231)]=!0x0;}[_0x15ebfb(0x21a)](_0x3de050,_0x3435f0,_0x5998d7,_0x362998){const _0x5ba258=_0x15ebfb;this[_0x5ba258(0x24f)][_0x5ba258(0x21a)](_0x3de050,_0x5998d7,_0x362998);}[_0x15ebfb(0x1f7)](_0x55bc56){const _0xd4092a=_0x15ebfb;this[_0xd4092a(0x24f)][_0xd4092a(0x1f7)](_0x55bc56),this[_0xd4092a(0x237)][_0xd4092a(0x231)]=!0x1;}[_0x15ebfb(0x1ed)](_0x59e75c){const _0x1c21a3=_0x15ebfb;this[_0x1c21a3(0x1f2)](this[_0x1c21a3(0x236)],this[_0x1c21a3(0x20e)],_0x59e75c),this[_0x1c21a3(0x1f6)](_0x59e75c);}[_0x15ebfb(0x1f6)](_0x3483ce){const _0x145adc=_0x15ebfb,_0x1ce13f=!_0x3483ce[_0x145adc(0x20c)][_0x145adc(0x1e1)]&&_0x3483ce[_0x145adc(0x20c)][_0x145adc(0x248)],_0x1b35fc=_0x3483ce[_0x145adc(0x221)][_0x145adc(0x248)],_0x554e74=_0x3483ce[_0x145adc(0x20d)][_0x145adc(0x248)],_0x1f6f41=_0x3483ce[_0x145adc(0x258)][_0x145adc(0x217)]>0x0,_0x1de661=_0x3483ce[_0x145adc(0x1fe)]&&_0x3483ce[_0x145adc(0x1fe)][_0x145adc(0x217)]>0x0;this[_0x145adc(0x237)][_0x145adc(0x1e9)]=_0x1ce13f||_0x1b35fc||_0x554e74||_0x1f6f41||_0x1de661;}[_0x15ebfb(0x265)](){const _0x2eae6b=_0x15ebfb;this[_0x2eae6b(0x207)]({'tag':_0x2eae6b(0x215),'attributes':{'class':[Ro,_0x2eae6b(0x235)]},'children':[{'tag':_0x2eae6b(0x215),'attributes':{'class':Oo},'children':this[_0x2eae6b(0x21f)]}]});}[_0x15ebfb(0x263)](){const _0x51c59a=_0x15ebfb;this[_0x51c59a(0x237)]['on'](_0x51c59a(0x225),()=>{const _0xb4964c=_0x51c59a;this[_0xb4964c(0x211)]();});}[_0x15ebfb(0x20b)](_0x4e6912){const _0x5a042c=_0x15ebfb,_0x571851=new _0x817fd6(_0x4e6912);return _0x571851[_0x5a042c(0x212)]({'label':_0x5ce220(_0x4e6912,_0x5a042c(0x24c)),'class':jo+'\x20'+Lo,'icon':_0xead702,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x571851;}[_0x15ebfb(0x218)](_0x23d7c0){const _0x380300=_0x15ebfb;return this[_0x380300(0x223)](_0x23d7c0,Uo);}[_0x15ebfb(0x1d9)](_0x777f6b){const _0x227fad=_0x15ebfb,_0x55146e=this[_0x227fad(0x223)](_0x777f6b,No);return this[_0x227fad(0x1e2)](_0x55146e,_0x777f6b),_0x55146e;}[_0x15ebfb(0x1e8)](_0x43689e,_0x46313e){const _0x358536=_0x15ebfb,_0x68f659={'searchInputVisibleFrom':_0x46313e[_0x358536(0x23a)],'onBackToContext':()=>{const _0xd6bca3=_0x358536;this[_0xd6bca3(0x24b)](),this[_0xd6bca3(0x236)][_0xd6bca3(0x257)]({'target':this[_0xd6bca3(0x237)][_0xd6bca3(0x241)],'limiter':this[_0xd6bca3(0x230)](),'positions':$o});},'onResourceSelected':(_0x80db41,_0x43eb5e)=>{const _0x5bd7b1=_0x358536;this[_0x5bd7b1(0x205)](_0x5bd7b1(0x238),{'source':_0x80db41,'resource':_0x43eb5e});},'onLoadSourceResources':_0x308612=>{const _0x4a4038=_0x358536;this[_0x4a4038(0x205)](_0x4a4038(0x264),_0x308612);},'onBalloonClosed':()=>{const _0x453e08=_0x358536;this[_0x453e08(0x237)][_0x453e08(0x231)]=!0x1;},'getLimiterElement':()=>this[_0x358536(0x230)](),'getTargetElement':()=>this[_0x358536(0x237)][_0x358536(0x241)]};return new _0x4b1aae(_0x43689e,_0x46313e[_0x358536(0x20a)],_0x68f659);}[_0x15ebfb(0x230)](){const _0xb1590c=_0x15ebfb;return this[_0xb1590c(0x241)]?.[_0xb1590c(0x22d)]('.'+Do)||document[_0xb1590c(0x261)];}[_0x15ebfb(0x223)](_0x18f26d,_0x51f886){const _0x3c2334=_0x15ebfb,_0x51c8cf=new _0x797026(_0x18f26d);return _0x51c8cf[_0x3c2334(0x26b)]({'attributes':{'class':_0x51f886}}),this[_0x3c2334(0x20a)][_0x3c2334(0x228)](_0x51c8cf),_0x51c8cf;}[_0x15ebfb(0x1f2)](_0x499015,_0x15ffc3,_0xc5c1e0){const _0x32216a=_0x15ebfb;if(_0x499015[_0x32216a(0x1fd)][_0x32216a(0x259)](),!_0xc5c1e0[_0x32216a(0x20c)][_0x32216a(0x1e1)]&&_0xc5c1e0[_0x32216a(0x20c)][_0x32216a(0x248)]){const _0x51330f=this[_0x32216a(0x1de)](_0x15ffc3,{'label':_0x5ce220(_0x15ffc3,_0x32216a(0x1ee)),'icon':_0x261300});_0x51330f['on'](_0x32216a(0x225),()=>{const _0x9ed36e=_0x32216a;this[_0x9ed36e(0x205)](_0x9ed36e(0x201)),this[_0x9ed36e(0x242)]();}),_0x499015[_0x32216a(0x1fd)][_0x32216a(0x228)](_0x51330f);}if(_0xc5c1e0[_0x32216a(0x221)][_0x32216a(0x248)]){const _0x4ada3b=this[_0x32216a(0x1de)](_0x15ffc3,{'label':_0x5ce220(_0x15ffc3,_0x32216a(0x25a)),'icon':_0x1e8bbd});_0x4ada3b['on'](_0x32216a(0x225),()=>{const _0x1fda51=_0x32216a;this[_0x1fda51(0x242)](),this[_0x1fda51(0x240)](),this[_0x1fda51(0x23f)][_0x1fda51(0x257)]({'target':this[_0x1fda51(0x237)][_0x1fda51(0x241)],'limiter':this[_0x1fda51(0x230)](),'positions':$o}),this[_0x1fda51(0x210)][_0x1fda51(0x206)]();}),_0x499015[_0x32216a(0x1fd)][_0x32216a(0x228)](_0x4ada3b);}if(_0xc5c1e0[_0x32216a(0x20d)][_0x32216a(0x248)]){const _0x467dd2=new _0x3e5940(_0x15ffc3);_0x467dd2[_0x32216a(0x212)]({'label':_0x5ce220(_0x15ffc3,_0x32216a(0x25f)),'icon':_0x1c6747,'withText':!0x0,'tooltip':!0x0,'class':Mo,'allowMultipleFiles':!0x0}),_0x467dd2['on'](_0x32216a(0x225),()=>{const _0x3e6e43=_0x32216a;this[_0x3e6e43(0x242)]();}),_0x467dd2['on'](_0x32216a(0x252),(_0x131ccd,_0x124869)=>{const _0xd5f8e8=_0x32216a;this[_0xd5f8e8(0x205)](_0xd5f8e8(0x220),_0x124869);}),_0x467dd2[_0x32216a(0x250)]=!0x0,_0x499015[_0x32216a(0x1fd)][_0x32216a(0x228)](_0x467dd2);}for(const _0x54cf8c of _0xc5c1e0[_0x32216a(0x258)]){const _0x16b265=this[_0x32216a(0x1de)](_0x15ffc3,{'label':_0x54cf8c[_0x32216a(0x200)],'icon':_0x54cf8c[_0x32216a(0x246)]||_0xb4c138,'type':_0x32216a(0x1db)});_0x499015[_0x32216a(0x1fd)][_0x32216a(0x228)](_0x16b265),_0x16b265['on'](_0x32216a(0x225),()=>{const _0x278a37=_0x32216a;this[_0x278a37(0x242)](),this[_0x278a37(0x23b)]({'source':_0x54cf8c,'withBackButton':!this[_0x278a37(0x1e3)]});});}for(const _0x340221 of _0xc5c1e0[_0x32216a(0x1fe)]||[]){const _0x8c911a=this[_0x32216a(0x1de)](_0x15ffc3,{'label':_0x340221[_0x32216a(0x200)],'icon':_0x340221[_0x32216a(0x246)]||_0xb4c138,'type':_0x32216a(0x21c)});_0x499015[_0x32216a(0x1fd)][_0x32216a(0x228)](_0x8c911a),_0x8c911a['on'](_0x32216a(0x225),()=>{const _0x5c15b8=_0x32216a;this[_0x5c15b8(0x242)](),this[_0x5c15b8(0x205)](_0x5c15b8(0x1e0),_0x340221);});}this[_0x32216a(0x1e3)]=0x1===_0x499015[_0x32216a(0x1fd)][_0x32216a(0x217)],this[_0x32216a(0x210)][_0x32216a(0x244)]=!this[_0x32216a(0x1e3)];}[_0x15ebfb(0x1e2)](_0x59a0f9,_0x41536b){const _0x37143b=_0x15ebfb;this[_0x37143b(0x210)]=new _0x313029(_0x41536b),this[_0x37143b(0x210)]['on'](_0x37143b(0x26c),(_0x2f43fc,_0x58b854)=>{const _0x39707f=_0x37143b;this[_0x39707f(0x256)](_0x58b854);}),this[_0x37143b(0x210)]['on'](_0x37143b(0x1f1),()=>{const _0x23a9c1=_0x37143b;this[_0x23a9c1(0x233)](),this[_0x23a9c1(0x1e3)]||(this[_0x23a9c1(0x24b)](),this[_0x23a9c1(0x236)][_0x23a9c1(0x257)]({'target':this[_0x23a9c1(0x237)][_0x23a9c1(0x241)],'limiter':this[_0x23a9c1(0x230)](),'positions':$o}));}),this[_0x37143b(0x210)]['on'](_0x37143b(0x24a),()=>{const _0x448a57=_0x37143b;this[_0x448a57(0x23f)][_0x448a57(0x1f4)]&&this[_0x448a57(0x23f)][_0x448a57(0x257)]({'target':this[_0x448a57(0x237)][_0x448a57(0x241)],'limiter':this[_0x448a57(0x230)](),'positions':$o});}),_0x59a0f9[_0x37143b(0x1fd)][_0x37143b(0x228)](this[_0x37143b(0x210)]);}[_0x15ebfb(0x1de)](_0x4ae946,_0x2a67a1){const _0x5885b7=_0x15ebfb,_0x31a769=_0x5885b7(0x1db)===_0x2a67a1[_0x5885b7(0x1df)]?new SourcesBalloonButtonView(_0x4ae946):new _0x817fd6(_0x4ae946);return _0x31a769[_0x5885b7(0x212)]({'label':_0x2a67a1[_0x5885b7(0x200)],'icon':_0x2a67a1[_0x5885b7(0x246)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Mo}),_0x31a769;}[_0x15ebfb(0x208)](){const _0x75f45b=_0x15ebfb;this[_0x75f45b(0x266)](),this[_0x75f45b(0x251)]();}[_0x15ebfb(0x251)](){const _0x18722b=_0x15ebfb;_0x2d8647({'emitter':this[_0x18722b(0x23f)],'contextElements':[this[_0x18722b(0x23f)][_0x18722b(0x241)]],'callback':()=>{const _0x39ec73=_0x18722b;this[_0x39ec73(0x233)]();},'activator':()=>this[_0x18722b(0x23f)][_0x18722b(0x1f4)]});}[_0x15ebfb(0x269)](_0x4c31fd){const _0x2b7eb1=_0x15ebfb,_0x2568a4=this[_0x2b7eb1(0x1e4)];_0x2568a4[_0x2b7eb1(0x21b)][_0x2b7eb1(0x231)]=_0x4c31fd,_0x4c31fd?_0x2568a4[_0x2b7eb1(0x226)][_0x2b7eb1(0x253)]():_0x2568a4[_0x2b7eb1(0x226)][_0x2b7eb1(0x267)]();}[_0x15ebfb(0x266)](){const _0x32b1d3=_0x15ebfb,{balloonView:_0x5dd00d,buttonView:_0x1d9dbc,hideMethod:_0x21b42f}=this[_0x32b1d3(0x1e4)];_0x2d8647({'emitter':_0x5dd00d,'contextElements':[_0x5dd00d[_0x32b1d3(0x241)],_0x1d9dbc[_0x32b1d3(0x241)]],'callback':()=>{_0x21b42f();},'activator':()=>_0x1d9dbc[_0x32b1d3(0x231)]&&!this[_0x32b1d3(0x23f)][_0x32b1d3(0x1f4)]&&!this[_0x32b1d3(0x24f)][_0x32b1d3(0x245)]()});}[_0x15ebfb(0x232)](_0x30b567,_0x1cef2e,_0x306c54=!0x1,_0x506b8b=!0x1){const _0x2605bb=_0x15ebfb,_0x4007b4=_0x2605bb(0x1e5)===_0x1cef2e||!0x0===_0x30b567[_0x2605bb(0x22b)],_0x10d5b0=new _0x2be630(this[_0x2605bb(0x20e)],_0x30b567,_0x4007b4,_0x306c54,_0x506b8b);return _0x4007b4||_0x10d5b0['on'](_0x2605bb(0x1fa),()=>{const _0x2afb67=_0x2605bb;this[_0x2afb67(0x205)](_0x2afb67(0x213),_0x10d5b0['id']);}),_0x10d5b0;}[_0x15ebfb(0x1ef)](_0x526b25,_0x7b4f81){const _0x264c62=_0x15ebfb;_0x7b4f81[_0x264c62(0x228)](_0x526b25,0x0);}[_0x15ebfb(0x1dd)](_0x24a893,_0x3e261c){const _0x317981=_0x15ebfb,_0x1964a2=_0x3e261c[_0x317981(0x1f5)](_0x54de6e=>_0x54de6e['id']===_0x24a893);_0x1964a2&&_0x3e261c[_0x317981(0x209)](_0x1964a2);}[_0x15ebfb(0x211)](){const _0x45a418=_0x15ebfb;this[_0x45a418(0x237)][_0x45a418(0x231)]?this[_0x45a418(0x242)]():(this[_0x45a418(0x24b)](),this[_0x45a418(0x236)][_0x45a418(0x257)]({'target':this[_0x45a418(0x237)][_0x45a418(0x241)],'limiter':this[_0x45a418(0x230)](),'positions':$o}),this[_0x45a418(0x1e3)]&&this[_0x45a418(0x236)][_0x45a418(0x1fd)][_0x45a418(0x227)](0x0)?.[_0x45a418(0x205)](_0x45a418(0x225)));}[_0x15ebfb(0x256)](_0x3ed9d0){const _0x18f6f4=_0x15ebfb;this[_0x18f6f4(0x210)][_0x18f6f4(0x259)](),this[_0x18f6f4(0x233)](),this[_0x18f6f4(0x205)](_0x18f6f4(0x1dc),_0x3ed9d0);}}export class SourcesBalloonButtonView extends _0x817fd6{[_0x15ebfb(0x219)];constructor(_0xbe29b3){const _0x1264fb=_0x15ebfb;super(_0xbe29b3),this[_0x1264fb(0x212)]({'withText':!0x0,'role':_0x1264fb(0x25b)}),this[_0x1264fb(0x219)]=this[_0x1264fb(0x20f)](),this[_0x1264fb(0x26b)]({'attributes':{'class':[Ho]}});}[_0x15ebfb(0x1da)](){const _0xc501b3=_0x15ebfb;super[_0xc501b3(0x1da)](),this[_0xc501b3(0x202)][_0xc501b3(0x228)](this[_0xc501b3(0x219)]);}[_0x15ebfb(0x20f)](){const _0x3bfefc=_0x15ebfb,_0x57f9f7=new _0x52c064();return _0x57f9f7[_0x3bfefc(0x1fd)]=_0x3a9ce0,_0x57f9f7[_0x3bfefc(0x26b)]({'attributes':{'class':Ho+_0x3bfefc(0x25d)}}),_0x57f9f7;}}
|
|
23
|
+
const _0x4a22ca=_0x13cd;(function(_0x23e75d,_0x2df4e8){const _0x3a1b52=_0x13cd,_0x375734=_0x23e75d();while(!![]){try{const _0x3743b7=parseInt(_0x3a1b52(0x1ff))/0x1*(-parseInt(_0x3a1b52(0x23a))/0x2)+parseInt(_0x3a1b52(0x214))/0x3*(parseInt(_0x3a1b52(0x1b1))/0x4)+-parseInt(_0x3a1b52(0x234))/0x5+parseInt(_0x3a1b52(0x22b))/0x6+-parseInt(_0x3a1b52(0x209))/0x7+parseInt(_0x3a1b52(0x1c4))/0x8+parseInt(_0x3a1b52(0x1e6))/0x9;if(_0x3743b7===_0x2df4e8)break;else _0x375734['push'](_0x375734['shift']());}catch(_0x202d2a){_0x375734['push'](_0x375734['shift']());}}}(_0x3bd2,0x36beb));import{BalloonPanelView as _0x39381f,ButtonView as _0x1242df,clickOutsideHandler as _0x3e17bd,FileDialogButtonView as _0x128ebe,IconView as _0x1a723d,View as _0x1b8fce}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x32bf20,IconDocument as _0x264981,IconDocumentOutline as _0x16a989,IconDropdownArrow as _0x304388,IconLink as _0x1a77ea,IconPaperClip as _0x586e26}from'@ckeditor/ckeditor5-icons';function _0x13cd(_0xe864d,_0xde6cd7){const _0x3bd28e=_0x3bd2();return _0x13cd=function(_0x13cd73,_0x2ca566){_0x13cd73=_0x13cd73-0x1ac;let _0x117c8c=_0x3bd28e[_0x13cd73];return _0x117c8c;},_0x13cd(_0xe864d,_0xde6cd7);}import{AIChatContextItemButtonView as _0x437d2a}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x28b039}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0xe75392}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0xd65d29}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x17598}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x4a22ca(0x1c6),_0x4a22ca(0x1fa),_0x4a22ca(0x1c8),_0x4a22ca(0x1e2),_0x4a22ca(0x21c),_0x4a22ca(0x1d9),_0x4a22ca(0x205)];function _0x3bd2(){const _0x51d3c0=['southArrowNorth','remove','_urlInputView','_handleAddContextButtonClick','icon','current','861550rhtEdB','_removeContextFromCollection','setContainerElement','tooltip','closeSourceResourceBalloon','add','214gTajGI','isReadOnly','ck-reset_all-excluded','hideUrlBalloonPanel','_currentContextsChips','extendTemplate','ck-ai-chat-controls-button','_createArrowView','isOn','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','northArrowSouthWest','isAnyResourceBalloonVisible','body','7660OWgcJy','_createBalloonButton','isHidden','clearConversationContextItems','_setBalloonPanelContent','_setupAddContextBalloonClickOutsideHandler','_handleUrlSubmit','_bindEventHandlers','label','children','northArrowSouthEast','submitUrl','length','_setupTemplate','bodyCollection','document','set','ck-ai-chat-context-controls__add-context-button','ck-ai-chat','2759400iEmPMR','_createContextButton','addDocumentToContext','element','addUrlToContext','setConversationContext','AI_CHAT_CONTEXT_FILE_LABEL','ck-ai-chat-context-controls__show-more-balloon-panel','searchInputVisibleFrom','balloonView','ck-ai-chat-context-controls__pending-contexts','find','updateResourceState','showAddContextBalloonPanel','_overflowManager','conversation','setAddContextOptions','buttonView','execute','ck-ai-chat-context-controls__url-balloon-panel','done','loadSourceResources','get','defaultPositions','removeContextItemChip','_resourcesBalloonView','_urlBalloonPanelView','bind','files','addContextButtonView','addResourceToContext','ck-ai-chat-context-controls__add-context-balloon-panel','render','_showSourceResourcesBalloon','1358172CtDUCl','pin','destroy','show','locale','showSourceResourcesBalloon','isVisible','clearCurrentContextItems','urls','AI_CHAT_CONTEXT_URL_LABEL','AI_CHAT_CONTEXT_ADD_CONTEXT','_getLimiterElement','menuitem','populateSourceResourceBalloon','clear','showUrlBalloonPanel','customItems','setTemplate','_addContextToCollection','_setupUrlBalloonClickOutsideHandler','addFileToContext','div','enabled','__arrow','arrowView','3539PvlDhr','isEnabled','_conversationContextsChips','setContextItemLoading','hide','_setupAllBalloonClickOutsideHandlers','executeCustomItemCallback','_addContextBalloonConfig','focus','_createAddContextBalloonPanelView','702002TraVar','_createResourcesBalloonView','refreshBalloon','reorganizeChips','hideAddContextBalloonPanel','source','_addContextBalloonPanelView','_createBaseBalloonPanel','ck-ai-chat-controls_context_show-more-button','_setAddContextButtonEnabled','fire','36JcGfvu','overflowChips','type','addContextItem','ck-ai-chat-context-controls__balloon-button','northArrowSouth','ck-ai-chat-context-chips-wrapper-balloon','_hasExactlyOneSource','removeContextItem','ck-ai-chat-context-controls','sources','content','closest','cancel','isLoading','ck-ai-chat-context-controls__balloon-button-source','southArrowNorthWest','_createUrlBalloonPanelView','_addUrlContent','createCollection','_createAddContextButtonView','_toggleAddContextBalloon','southArrowNorthEast','2140146OEnskM','customItem','withBackButton'];_0x3bd2=function(){return _0x51d3c0;};return _0x3bd2();}const Po=_0x4a22ca(0x21d),Ro=_0x4a22ca(0x1ce),So=_0x4a22ca(0x1e3),Oo=_0x4a22ca(0x1c2),Uo=_0x4a22ca(0x1d7),Lo=_0x4a22ca(0x218),No=_0x4a22ca(0x223),bo=_0x4a22ca(0x240),Mo=_0x4a22ca(0x21a),go=_0x4a22ca(0x211),jo=_0x4a22ca(0x1cb),Ho=_0x4a22ca(0x1c3),Fo=[_0x39381f[_0x4a22ca(0x1db)][_0x4a22ca(0x1ae)],_0x39381f[_0x4a22ca(0x1db)][_0x4a22ca(0x219)],_0x39381f[_0x4a22ca(0x1db)][_0x4a22ca(0x1bb)],_0x39381f[_0x4a22ca(0x1db)][_0x4a22ca(0x224)],_0x39381f[_0x4a22ca(0x1db)][_0x4a22ca(0x22e)],_0x39381f[_0x4a22ca(0x1db)][_0x4a22ca(0x22a)]];export class AIChatContextPanelView extends _0x1b8fce{[_0x4a22ca(0x1e1)];[_0x4a22ca(0x23e)]=this[_0x4a22ca(0x227)]();[_0x4a22ca(0x201)]=this[_0x4a22ca(0x227)]();[_0x4a22ca(0x1d2)];[_0x4a22ca(0x20f)];[_0x4a22ca(0x1de)];[_0x4a22ca(0x230)];[_0x4a22ca(0x1dd)];[_0x4a22ca(0x206)];[_0x4a22ca(0x21b)]=!0x1;[_0x4a22ca(0x1bf)];constructor(_0x91976c,_0x6597d3){const _0x173a68=_0x4a22ca;super(_0x91976c),this[_0x173a68(0x1bf)]=_0x6597d3[_0x173a68(0x1bf)],this[_0x173a68(0x23e)]=this[_0x173a68(0x227)](),this[_0x173a68(0x201)]=this[_0x173a68(0x227)](),this[_0x173a68(0x1e1)]=this[_0x173a68(0x228)](_0x91976c),this[_0x173a68(0x20f)]=this[_0x173a68(0x208)](_0x91976c),this[_0x173a68(0x1de)]=this[_0x173a68(0x225)](_0x91976c),this[_0x173a68(0x1dd)]=this[_0x173a68(0x20a)](_0x91976c,_0x6597d3);const _0x4f460c={'cssClasses':{'showMoreButton':go,'showMoreBalloon':jo,'overflowContainer':Mo,'controlsButton':bo}};this[_0x173a68(0x1d2)]=new _0xe75392(_0x91976c,this[_0x173a68(0x23e)],_0x4f460c,this[_0x173a68(0x1bf)],this),this[_0x173a68(0x206)]={'buttonView':this[_0x173a68(0x1e1)],'balloonView':this[_0x173a68(0x20f)],'hideMethod':this[_0x173a68(0x20d)][_0x173a68(0x1df)](this),'showMethod':this[_0x173a68(0x1d1)][_0x173a68(0x1df)](this)},this[_0x173a68(0x1be)](),this[_0x173a68(0x1b8)]();}[_0x4a22ca(0x1e4)](){const _0x599554=_0x4a22ca;super[_0x599554(0x1e4)](),this[_0x599554(0x204)](),this[_0x599554(0x1d2)][_0x599554(0x236)](this[_0x599554(0x1c7)]),this[_0x599554(0x1d2)][_0x599554(0x20c)]();}[_0x4a22ca(0x1e8)](){const _0x22aa2d=_0x4a22ca;super[_0x22aa2d(0x1e8)](),this[_0x22aa2d(0x1d2)][_0x22aa2d(0x1e8)](),this[_0x22aa2d(0x1dd)][_0x22aa2d(0x1e8)]();}[_0x4a22ca(0x217)](_0x25a958,_0x38d9bd){const _0x56f490=_0x4a22ca,_0x5e63d4=this[_0x56f490(0x1c5)](_0x25a958,_0x56f490(0x233),!0x0,_0x38d9bd);this[_0x56f490(0x1f8)](_0x5e63d4,this[_0x56f490(0x23e)]),this[_0x56f490(0x1d2)][_0x56f490(0x20c)]();}[_0x4a22ca(0x21c)](_0x247833){const _0x411598=_0x4a22ca;this[_0x411598(0x235)](_0x247833,this[_0x411598(0x23e)]),this[_0x411598(0x235)](_0x247833,this[_0x411598(0x1d2)][_0x411598(0x215)]),this[_0x411598(0x1d2)][_0x411598(0x20c)]();}[_0x4a22ca(0x202)](_0x5d8429,_0xbff15c){const _0x46d6c6=_0x4a22ca;let _0x509b4f=this[_0x46d6c6(0x23e)][_0x46d6c6(0x1cf)](_0x10c9b6=>_0x10c9b6['id']===_0x5d8429);_0x509b4f||(_0x509b4f=this[_0x46d6c6(0x1d2)][_0x46d6c6(0x215)][_0x46d6c6(0x1cf)](_0x467bcc=>_0x467bcc['id']===_0x5d8429)),_0x509b4f&&(_0x509b4f[_0x46d6c6(0x222)]=_0xbff15c);}[_0x4a22ca(0x1c9)](_0x1ba5e7){const _0x415203=_0x4a22ca;this[_0x415203(0x201)][_0x415203(0x1f4)]();for(const _0x4d6a2f of _0x1ba5e7){const _0x221fb8=this[_0x415203(0x1c5)](_0x4d6a2f,_0x415203(0x1d3),!0x1,!0x1);this[_0x415203(0x1f8)](_0x221fb8,this[_0x415203(0x201)]);}}[_0x4a22ca(0x1ed)](){const _0x4492ff=_0x4a22ca;this[_0x4492ff(0x23e)][_0x4492ff(0x1f4)](),this[_0x4492ff(0x1d2)][_0x4492ff(0x1f4)]();}[_0x4a22ca(0x1b4)](){const _0x414911=_0x4a22ca;this[_0x414911(0x201)][_0x414911(0x1f4)]();}[_0x4a22ca(0x1d0)](_0x5b2149,_0x2e75d6,_0x269d0d){const _0x288299=_0x4a22ca;this[_0x288299(0x1dd)][_0x288299(0x1d0)](_0x5b2149,_0x2e75d6,_0x269d0d);}[_0x4a22ca(0x20d)](){const _0x397f73=_0x4a22ca;this[_0x397f73(0x229)](!0x1);}[_0x4a22ca(0x1d1)](){const _0x52a7cb=_0x4a22ca;this[_0x52a7cb(0x229)](!0x0);}[_0x4a22ca(0x23d)](){const _0x559413=_0x4a22ca;this[_0x559413(0x1de)][_0x559413(0x203)](),this[_0x559413(0x1e1)][_0x559413(0x1ac)]=!0x1,this[_0x559413(0x230)]&&this[_0x559413(0x230)][_0x559413(0x1f4)]();}[_0x4a22ca(0x1f5)](){const _0x57df70=_0x4a22ca;this[_0x57df70(0x1de)][_0x57df70(0x1e9)](),this[_0x57df70(0x1e1)][_0x57df70(0x1ac)]=!0x0;}[_0x4a22ca(0x1e5)]({source:_0x2ecf3b,withBackButton:_0xce398a}){const _0x522f30=_0x4a22ca;this[_0x522f30(0x1dd)][_0x522f30(0x1eb)]({'source':_0x2ecf3b,'withBackButton':_0xce398a}),this[_0x522f30(0x1e1)][_0x522f30(0x1ac)]=!0x0;}[_0x4a22ca(0x1f3)](_0x2d98a7,_0x557f4e,_0x28f3b8,_0x1a1d79){const _0x510ba5=_0x4a22ca;this[_0x510ba5(0x1dd)][_0x510ba5(0x1f3)](_0x2d98a7,_0x28f3b8,_0x1a1d79);}[_0x4a22ca(0x238)](_0x6204ec){const _0x3ab544=_0x4a22ca;this[_0x3ab544(0x1dd)][_0x3ab544(0x238)](_0x6204ec),this[_0x3ab544(0x1e1)][_0x3ab544(0x1ac)]=!0x1;}[_0x4a22ca(0x1d4)](_0x4e3f1f){const _0x5d07f5=_0x4a22ca;this[_0x5d07f5(0x1b5)](this[_0x5d07f5(0x20f)],this[_0x5d07f5(0x1ea)],_0x4e3f1f),this[_0x5d07f5(0x212)](_0x4e3f1f);}[_0x4a22ca(0x212)](_0x34a7eb){const _0x23197b=_0x4a22ca,_0x596efd=!_0x34a7eb[_0x23197b(0x1c0)][_0x23197b(0x1b3)]&&_0x34a7eb[_0x23197b(0x1c0)][_0x23197b(0x1fc)],_0x346b72=_0x34a7eb[_0x23197b(0x1ee)][_0x23197b(0x1fc)],_0x60581c=_0x34a7eb[_0x23197b(0x1e0)][_0x23197b(0x1fc)],_0x203068=_0x34a7eb[_0x23197b(0x21e)][_0x23197b(0x1bd)]>0x0,_0x426b59=_0x34a7eb[_0x23197b(0x1f6)]&&_0x34a7eb[_0x23197b(0x1f6)][_0x23197b(0x1bd)]>0x0;this[_0x23197b(0x1e1)][_0x23197b(0x200)]=_0x596efd||_0x346b72||_0x60581c||_0x203068||_0x426b59;}[_0x4a22ca(0x1be)](){const _0x3bfd7c=_0x4a22ca;this[_0x3bfd7c(0x1f7)]({'tag':_0x3bfd7c(0x1fb),'attributes':{'class':[Po,_0x3bfd7c(0x23c)]},'children':[{'tag':_0x3bfd7c(0x1fb),'attributes':{'class':Ro},'children':this[_0x3bfd7c(0x23e)]}]});}[_0x4a22ca(0x1b8)](){const _0x6a9708=_0x4a22ca;this[_0x6a9708(0x1e1)]['on'](_0x6a9708(0x1d6),()=>{const _0x322f2f=_0x6a9708;this[_0x322f2f(0x231)]();});}[_0x4a22ca(0x228)](_0x48e192){const _0x416f01=_0x4a22ca,_0x17109f=new _0x1242df(_0x48e192);return _0x17109f[_0x416f01(0x1c1)]({'label':_0xd65d29(_0x48e192,_0x416f01(0x1f0)),'class':bo+'\x20'+Oo,'icon':_0x586e26,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x17109f;}[_0x4a22ca(0x208)](_0x6ec73a){const _0x49da63=_0x4a22ca;return this[_0x49da63(0x210)](_0x6ec73a,So);}[_0x4a22ca(0x225)](_0x208acb){const _0x250a40=_0x4a22ca,_0x44061d=this[_0x250a40(0x210)](_0x208acb,Uo);return this[_0x250a40(0x226)](_0x44061d,_0x208acb),_0x44061d;}[_0x4a22ca(0x20a)](_0x2b4ef2,_0x392b14){const _0x5504e4=_0x4a22ca,_0x3a09b9={'searchInputVisibleFrom':_0x392b14[_0x5504e4(0x1cc)],'onBackToContext':()=>{const _0x5e05a9=_0x5504e4;this[_0x5e05a9(0x1d1)](),this[_0x5e05a9(0x20f)][_0x5e05a9(0x1e7)]({'target':this[_0x5e05a9(0x1e1)][_0x5e05a9(0x1c7)],'limiter':this[_0x5e05a9(0x1f1)](),'positions':Fo});},'onResourceSelected':(_0x381d3d,_0x29e4c8)=>{const _0x69f3d=_0x5504e4;this[_0x69f3d(0x213)](_0x69f3d(0x1e2),{'source':_0x381d3d,'resource':_0x29e4c8});},'onLoadSourceResources':_0x113514=>{const _0x5b4645=_0x5504e4;this[_0x5b4645(0x213)](_0x5b4645(0x1d9),_0x113514);},'onBalloonClosed':()=>{const _0x5726f=_0x5504e4;this[_0x5726f(0x1e1)][_0x5726f(0x1ac)]=!0x1;},'getLimiterElement':()=>this[_0x5504e4(0x1f1)](),'getTargetElement':()=>this[_0x5504e4(0x1e1)][_0x5504e4(0x1c7)]};return new _0x17598(_0x2b4ef2,_0x392b14[_0x5504e4(0x1bf)],_0x3a09b9);}[_0x4a22ca(0x1f1)](){const _0x3131b7=_0x4a22ca;return this[_0x3131b7(0x1c7)]?.[_0x3131b7(0x220)]('.'+Ho)||document[_0x3131b7(0x1b0)];}[_0x4a22ca(0x210)](_0x1f9392,_0x4b905c){const _0x5087a7=_0x4a22ca,_0x14cf2c=new _0x39381f(_0x1f9392);return _0x14cf2c[_0x5087a7(0x23f)]({'attributes':{'class':_0x4b905c}}),this[_0x5087a7(0x1bf)][_0x5087a7(0x239)](_0x14cf2c),_0x14cf2c;}[_0x4a22ca(0x1b5)](_0x1f75d6,_0x2714fc,_0x20cc99){const _0x2005ba=_0x4a22ca;if(_0x1f75d6[_0x2005ba(0x21f)][_0x2005ba(0x1f4)](),!_0x20cc99[_0x2005ba(0x1c0)][_0x2005ba(0x1b3)]&&_0x20cc99[_0x2005ba(0x1c0)][_0x2005ba(0x1fc)]){const _0x27b140=this[_0x2005ba(0x1b2)](_0x2714fc,{'label':_0xd65d29(_0x2714fc,_0x2005ba(0x1ad)),'icon':_0x264981});_0x27b140['on'](_0x2005ba(0x1d6),()=>{const _0x4d7537=_0x2005ba;this[_0x4d7537(0x213)](_0x4d7537(0x1c6)),this[_0x4d7537(0x20d)]();}),_0x1f75d6[_0x2005ba(0x21f)][_0x2005ba(0x239)](_0x27b140);}if(_0x20cc99[_0x2005ba(0x1ee)][_0x2005ba(0x1fc)]){const _0x2076a4=this[_0x2005ba(0x1b2)](_0x2714fc,{'label':_0xd65d29(_0x2714fc,_0x2005ba(0x1ef)),'icon':_0x1a77ea});_0x2076a4['on'](_0x2005ba(0x1d6),()=>{const _0x1bf0ac=_0x2005ba;this[_0x1bf0ac(0x20d)](),this[_0x1bf0ac(0x1f5)](),this[_0x1bf0ac(0x1de)][_0x1bf0ac(0x1e7)]({'target':this[_0x1bf0ac(0x1e1)][_0x1bf0ac(0x1c7)],'limiter':this[_0x1bf0ac(0x1f1)](),'positions':Fo}),this[_0x1bf0ac(0x230)][_0x1bf0ac(0x207)]();}),_0x1f75d6[_0x2005ba(0x21f)][_0x2005ba(0x239)](_0x2076a4);}if(_0x20cc99[_0x2005ba(0x1e0)][_0x2005ba(0x1fc)]){const _0x35f2e8=new _0x128ebe(_0x2714fc);_0x35f2e8[_0x2005ba(0x1c1)]({'label':_0xd65d29(_0x2714fc,_0x2005ba(0x1ca)),'icon':_0x32bf20,'withText':!0x0,'tooltip':!0x0,'class':Lo,'allowMultipleFiles':!0x0}),_0x35f2e8['on'](_0x2005ba(0x1d6),()=>{const _0xc313f2=_0x2005ba;this[_0xc313f2(0x20d)]();}),_0x35f2e8['on'](_0x2005ba(0x1d8),(_0x57c141,_0x26b21a)=>{const _0x579a3b=_0x2005ba;this[_0x579a3b(0x213)](_0x579a3b(0x1fa),_0x26b21a);}),_0x35f2e8[_0x2005ba(0x237)]=!0x0,_0x1f75d6[_0x2005ba(0x21f)][_0x2005ba(0x239)](_0x35f2e8);}for(const _0x514699 of _0x20cc99[_0x2005ba(0x21e)]){const _0x3a0ed5=this[_0x2005ba(0x1b2)](_0x2714fc,{'label':_0x514699[_0x2005ba(0x1b9)],'icon':_0x514699[_0x2005ba(0x232)]||_0x16a989,'type':_0x2005ba(0x20e)});_0x1f75d6[_0x2005ba(0x21f)][_0x2005ba(0x239)](_0x3a0ed5),_0x3a0ed5['on'](_0x2005ba(0x1d6),()=>{const _0x5715d4=_0x2005ba;this[_0x5715d4(0x20d)](),this[_0x5715d4(0x1e5)]({'source':_0x514699,'withBackButton':!this[_0x5715d4(0x21b)]});});}for(const _0x228126 of _0x20cc99[_0x2005ba(0x1f6)]||[]){const _0x3f5970=this[_0x2005ba(0x1b2)](_0x2714fc,{'label':_0x228126[_0x2005ba(0x1b9)],'icon':_0x228126[_0x2005ba(0x232)]||_0x16a989,'type':_0x2005ba(0x22c)});_0x1f75d6[_0x2005ba(0x21f)][_0x2005ba(0x239)](_0x3f5970),_0x3f5970['on'](_0x2005ba(0x1d6),()=>{const _0x8be7be=_0x2005ba;this[_0x8be7be(0x20d)](),this[_0x8be7be(0x213)](_0x8be7be(0x205),_0x228126);});}this[_0x2005ba(0x21b)]=0x1===_0x1f75d6[_0x2005ba(0x21f)][_0x2005ba(0x1bd)],this[_0x2005ba(0x230)][_0x2005ba(0x22d)]=!this[_0x2005ba(0x21b)];}[_0x4a22ca(0x226)](_0xf5e476,_0xb90f98){const _0x349ef2=_0x4a22ca;this[_0x349ef2(0x230)]=new _0x28b039(_0xb90f98),this[_0x349ef2(0x230)]['on'](_0x349ef2(0x1bc),(_0x1b5112,_0x582686)=>{const _0x3d3182=_0x349ef2;this[_0x3d3182(0x1b7)](_0x582686);}),this[_0x349ef2(0x230)]['on'](_0x349ef2(0x221),()=>{const _0x88f57f=_0x349ef2;this[_0x88f57f(0x23d)](),this[_0x88f57f(0x21b)]||(this[_0x88f57f(0x1d1)](),this[_0x88f57f(0x20f)][_0x88f57f(0x1e7)]({'target':this[_0x88f57f(0x1e1)][_0x88f57f(0x1c7)],'limiter':this[_0x88f57f(0x1f1)](),'positions':Fo}));}),this[_0x349ef2(0x230)]['on'](_0x349ef2(0x20b),()=>{const _0x489d6c=_0x349ef2;this[_0x489d6c(0x1de)][_0x489d6c(0x1ec)]&&this[_0x489d6c(0x1de)][_0x489d6c(0x1e7)]({'target':this[_0x489d6c(0x1e1)][_0x489d6c(0x1c7)],'limiter':this[_0x489d6c(0x1f1)](),'positions':Fo});}),_0xf5e476[_0x349ef2(0x21f)][_0x349ef2(0x239)](this[_0x349ef2(0x230)]);}[_0x4a22ca(0x1b2)](_0x5d0fc7,_0x8a9e5){const _0x221212=_0x4a22ca,_0xa299d6=_0x221212(0x20e)===_0x8a9e5[_0x221212(0x216)]?new SourcesBalloonButtonView(_0x5d0fc7):new _0x1242df(_0x5d0fc7);return _0xa299d6[_0x221212(0x1c1)]({'label':_0x8a9e5[_0x221212(0x1b9)],'icon':_0x8a9e5[_0x221212(0x232)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Lo}),_0xa299d6;}[_0x4a22ca(0x204)](){const _0x538e72=_0x4a22ca;this[_0x538e72(0x1b6)](),this[_0x538e72(0x1f9)]();}[_0x4a22ca(0x1f9)](){const _0x47724d=_0x4a22ca;_0x3e17bd({'emitter':this[_0x47724d(0x1de)],'contextElements':[this[_0x47724d(0x1de)][_0x47724d(0x1c7)]],'callback':()=>{const _0x30bf79=_0x47724d;this[_0x30bf79(0x23d)]();},'activator':()=>this[_0x47724d(0x1de)][_0x47724d(0x1ec)]});}[_0x4a22ca(0x229)](_0x5c0db3){const _0x3f773d=_0x4a22ca,_0x501983=this[_0x3f773d(0x206)];_0x501983[_0x3f773d(0x1d5)][_0x3f773d(0x1ac)]=_0x5c0db3,_0x5c0db3?_0x501983[_0x3f773d(0x1cd)][_0x3f773d(0x1e9)]():_0x501983[_0x3f773d(0x1cd)][_0x3f773d(0x203)]();}[_0x4a22ca(0x1b6)](){const _0x397903=_0x4a22ca,{balloonView:_0x38ccf1,buttonView:_0x4b8ad4,hideMethod:_0x58519e}=this[_0x397903(0x206)];_0x3e17bd({'emitter':_0x38ccf1,'contextElements':[_0x38ccf1[_0x397903(0x1c7)],_0x4b8ad4[_0x397903(0x1c7)]],'callback':()=>{_0x58519e();},'activator':()=>_0x4b8ad4[_0x397903(0x1ac)]&&!this[_0x397903(0x1de)][_0x397903(0x1ec)]&&!this[_0x397903(0x1dd)][_0x397903(0x1af)]()});}[_0x4a22ca(0x1c5)](_0x423541,_0x5b79f6,_0x505fbf=!0x1,_0x366626=!0x1){const _0x13001c=_0x4a22ca,_0x9e5da7=_0x13001c(0x1d3)===_0x5b79f6||!0x0===_0x423541[_0x13001c(0x23b)],_0x18db1e=new _0x437d2a(this[_0x13001c(0x1ea)],_0x423541,_0x9e5da7,_0x505fbf,_0x366626);return _0x9e5da7||_0x18db1e['on'](_0x13001c(0x1dc),()=>{const _0x40d718=_0x13001c;this[_0x40d718(0x213)](_0x40d718(0x21c),_0x18db1e['id']);}),_0x18db1e;}[_0x4a22ca(0x1f8)](_0x48914f,_0x4b17e8){const _0x491feb=_0x4a22ca;_0x4b17e8[_0x491feb(0x239)](_0x48914f,0x0);}[_0x4a22ca(0x235)](_0x36a706,_0x17b018){const _0x598420=_0x4a22ca,_0x267a8b=_0x17b018[_0x598420(0x1cf)](_0x8b3a53=>_0x8b3a53['id']===_0x36a706);_0x267a8b&&_0x17b018[_0x598420(0x22f)](_0x267a8b);}[_0x4a22ca(0x231)](){const _0x3de305=_0x4a22ca;this[_0x3de305(0x1e1)][_0x3de305(0x1ac)]?this[_0x3de305(0x20d)]():(this[_0x3de305(0x1d1)](),this[_0x3de305(0x20f)][_0x3de305(0x1e7)]({'target':this[_0x3de305(0x1e1)][_0x3de305(0x1c7)],'limiter':this[_0x3de305(0x1f1)](),'positions':Fo}),this[_0x3de305(0x21b)]&&this[_0x3de305(0x20f)][_0x3de305(0x21f)][_0x3de305(0x1da)](0x0)?.[_0x3de305(0x213)](_0x3de305(0x1d6)));}[_0x4a22ca(0x1b7)](_0x1922be){const _0x3c039a=_0x4a22ca;this[_0x3c039a(0x230)][_0x3c039a(0x1f4)](),this[_0x3c039a(0x23d)](),this[_0x3c039a(0x213)](_0x3c039a(0x1c8),_0x1922be);}}export class SourcesBalloonButtonView extends _0x1242df{[_0x4a22ca(0x1fe)];constructor(_0x272661){const _0x2c0c55=_0x4a22ca;super(_0x272661),this[_0x2c0c55(0x1c1)]({'withText':!0x0,'role':_0x2c0c55(0x1f2)}),this[_0x2c0c55(0x1fe)]=this[_0x2c0c55(0x241)](),this[_0x2c0c55(0x23f)]({'attributes':{'class':[No]}});}[_0x4a22ca(0x1e4)](){const _0x105aaf=_0x4a22ca;super[_0x105aaf(0x1e4)](),this[_0x105aaf(0x1ba)][_0x105aaf(0x239)](this[_0x105aaf(0x1fe)]);}[_0x4a22ca(0x241)](){const _0x1f1261=_0x4a22ca,_0x5b8a2c=new _0x1a723d();return _0x5b8a2c[_0x1f1261(0x21f)]=_0x304388,_0x5b8a2c[_0x1f1261(0x23f)]({'attributes':{'class':No+_0x1f1261(0x1fd)}}),_0x5b8a2c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5c48(){const _0x189a09=['_createCancelButtonView','ck-ai-chat-controls-loader','ck-ai-button-secondary\x20ck-ai-button-stop-generating','locale','div','fire','12PaRsHs','47390stwPrx','4757648LSqxki','execute','_loaderView','718659QRfxNB','_cancelButtonView','_createLoaderView','342IBuFwF','243DlVURL','ck-ai-chat-controls-loader-icon','202100uGzEVR','ck-reset_all','ck-ai-chat-controls-loader-wrapper','ck-ai-chat-controls-loader-icon-dot','AI_CHAT_STOP_GENERATING','abortPromptStream','841910NFyxsR','180510ouDrcD','409002JDWGRJ','set','AI_CHAT_IS_WRITING','setTemplate'];_0x5c48=function(){return _0x189a09;};return _0x5c48();}const _0x59f1c6=_0x1d80;(function(_0x4ccfe0,_0xca1c8c){const _0x5f48bf=_0x1d80,_0x53d794=_0x4ccfe0();while(!![]){try{const _0x597de3=-parseInt(_0x5f48bf(0x145))/0x1+parseInt(_0x5f48bf(0x143))/0x2+-parseInt(_0x5f48bf(0x154))/0x3+parseInt(_0x5f48bf(0x14f))/0x4*(-parseInt(_0x5f48bf(0x13d))/0x5)+parseInt(_0x5f48bf(0x157))/0x6*(-parseInt(_0x5f48bf(0x150))/0x7)+parseInt(_0x5f48bf(0x151))/0x8+parseInt(_0x5f48bf(0x13b))/0x9*(parseInt(_0x5f48bf(0x144))/0xa);if(_0x597de3===_0xca1c8c)break;else _0x53d794['push'](_0x53d794['shift']());}catch(_0xbcd7d){_0x53d794['push'](_0x53d794['shift']());}}}(_0x5c48,0x54cc5));import{ButtonView as _0x3c6a61,View as _0x39b24b}from'ckeditor5/src/ui.js';import{IconStop as _0x2d25cf}from'ckeditor5/src/icons.js';import{getTranslation as _0x574199}from'../../../aicore/utils/common-translations.js';function _0x1d80(_0x21e879,_0x4fb89a){const _0x5c4821=_0x5c48();return _0x1d80=function(_0x1d809d,_0x247dfc){_0x1d809d=_0x1d809d-0x13b;let _0x5758da=_0x5c4821[_0x1d809d];return _0x5758da;},_0x1d80(_0x21e879,_0x4fb89a);}export class AIChatControlsLoaderView extends _0x39b24b{[_0x59f1c6(0x155)];[_0x59f1c6(0x153)];constructor(_0x42adb3){const _0xa0bc64=_0x59f1c6;super(_0x42adb3),this[_0xa0bc64(0x155)]=this[_0xa0bc64(0x149)](),this[_0xa0bc64(0x153)]=this[_0xa0bc64(0x156)](),this[_0xa0bc64(0x148)]({'tag':_0xa0bc64(0x14d),'attributes':{'class':['ck',_0xa0bc64(0x13f),_0xa0bc64(0x13e)]},'children':[this[_0xa0bc64(0x153)],this[_0xa0bc64(0x155)]]});}[_0x59f1c6(0x149)](){const _0x5920db=_0x59f1c6,_0x20a3d2=new _0x3c6a61(this[_0x5920db(0x14c)]);return _0x20a3d2[_0x5920db(0x146)]({'label':_0x574199(this[_0x5920db(0x14c)],_0x5920db(0x141)),'withText':!0x0,'class':_0x5920db(0x14b),'icon':_0x2d25cf}),_0x20a3d2['on'](_0x5920db(0x152),()=>{const _0xca88a0=_0x5920db;this[_0xca88a0(0x14e)](_0xca88a0(0x142));}),_0x20a3d2;}[_0x59f1c6(0x156)](){const _0x208902=_0x59f1c6,_0x3da888=new _0x39b24b(this[_0x208902(0x14c)]);return _0x3da888[_0x208902(0x148)]({'tag':_0x208902(0x14d),'attributes':{'class':[_0x208902(0x14a)]},'children':[{'tag':_0x208902(0x14d),'attributes':{'class':[_0x208902(0x13c)]},'children':[{'tag':_0x208902(0x14d),'attributes':{'class':[_0x208902(0x140)]}},{'tag':_0x208902(0x14d),'attributes':{'class':[_0x208902(0x140)]}},{'tag':_0x208902(0x14d),'attributes':{'class':[_0x208902(0x140)]}}]},{'text':_0x574199(this[_0x208902(0x14c)],_0x208902(0x147))}]}),_0x3da888;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x43e6d1=_0x37dd;(function(_0x21a139,_0x23bd7f){const _0x2a150d=_0x37dd,_0x5103ca=_0x21a139();while(!![]){try{const _0x59c671=-parseInt(_0x2a150d(0x11b))/0x1*(parseInt(_0x2a150d(0x11c))/0x2)+-parseInt(_0x2a150d(0x101))/0x3+parseInt(_0x2a150d(0xde))/0x4*(parseInt(_0x2a150d(0xe8))/0x5)+-parseInt(_0x2a150d(0x130))/0x6*(parseInt(_0x2a150d(0xeb))/0x7)+parseInt(_0x2a150d(0x134))/0x8+-parseInt(_0x2a150d(0xe2))/0x9*(parseInt(_0x2a150d(0x13d))/0xa)+parseInt(_0x2a150d(0x106))/0xb;if(_0x59c671===_0x23bd7f)break;else _0x5103ca['push'](_0x5103ca['shift']());}catch(_0x545bb2){_0x5103ca['push'](_0x5103ca['shift']());}}}(_0x196e,0x3599a));function _0x37dd(_0x8bd8d5,_0x52578a){const _0x196e99=_0x196e();return _0x37dd=function(_0x37dd10,_0x800ae4){_0x37dd10=_0x37dd10-0xdd;let _0x3f5b80=_0x196e99[_0x37dd10];return _0x3f5b80;},_0x37dd(_0x8bd8d5,_0x52578a);}import{Collection as _0x24ba4d}from'ckeditor5/src/utils.js';import{IconAI as _0x3b4cd4,IconBulb as _0x5bc1cf,IconWeb as _0x32f066}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0xe56551,ButtonLabelView as _0x212071,ButtonView as _0x373c7e,createDropdown as _0x23540d,IconView as _0x2022a2,UIModel as _0x2cd69c,View as _0x3ad462}from'ckeditor5/src/ui.js';import{getTranslation as _0xd0eb6}from'../../../aicore/utils/common-translations.js';const qo=_0x43e6d1(0x128),jo=_0x43e6d1(0x13e),zo=_0x43e6d1(0xdd),Jo=_0x43e6d1(0xe7),Ko=_0x43e6d1(0x11f),Qo=_0x43e6d1(0xea),Zo=_0x43e6d1(0xfe),tl=_0x43e6d1(0xff),el='n';export class AIChatPromptCapabilitiesView extends _0x3ad462{[_0x43e6d1(0x114)];[_0x43e6d1(0xe3)];[_0x43e6d1(0x137)];[_0x43e6d1(0x136)];[_0x43e6d1(0x10b)];[_0x43e6d1(0x107)];constructor(_0x2464b9){const _0x15c4ca=_0x43e6d1;super(_0x2464b9),this[_0x15c4ca(0x12c)](_0x15c4ca(0x135),!0x1),this[_0x15c4ca(0x12c)](_0x15c4ca(0x110),!0x1),this[_0x15c4ca(0x12c)](_0x15c4ca(0x129),_0x15c4ca(0x13a)),this[_0x15c4ca(0x12c)](_0x15c4ca(0x117),!0x0),this[_0x15c4ca(0x12c)](_0x15c4ca(0xf1),null),this[_0x15c4ca(0x12c)](_0x15c4ca(0xf0),null),this[_0x15c4ca(0x136)]=this[_0x15c4ca(0x11e)](),this[_0x15c4ca(0x107)]=this[_0x15c4ca(0xef)](),this[_0x15c4ca(0x114)]=this[_0x15c4ca(0xf7)](),this[_0x15c4ca(0xe3)]=this[_0x15c4ca(0xfd)](),this[_0x15c4ca(0x137)]=this[_0x15c4ca(0x12e)](),this[_0x15c4ca(0x136)][_0x15c4ca(0xfc)][_0x15c4ca(0x113)](_0x15c4ca(0x120))['to'](this,_0x15c4ca(0x129),_0x3fcaf3=>_0x15c4ca(0x13a)===_0x3fcaf3),this[_0x15c4ca(0x136)][_0x15c4ca(0xfc)][_0x15c4ca(0x113)](_0x15c4ca(0x121))['to'](this,_0x15c4ca(0x117),_0x1e3eaa=>_0x1e3eaa?this[_0x15c4ca(0x136)][_0x15c4ca(0xfc)][_0x15c4ca(0xe6)]:_0xd0eb6(this[_0x15c4ca(0xf9)],_0x15c4ca(0xe4))),this[_0x15c4ca(0x136)][_0x15c4ca(0x113)](_0x15c4ca(0x12f))['to'](this,_0x15c4ca(0x117),_0x5d4e29=>_0x5d4e29),this[_0x15c4ca(0x114)][_0x15c4ca(0x113)](_0x15c4ca(0x131))['to'](this,_0x15c4ca(0x135),_0x1c27bc=>_0x1c27bc),this[_0x15c4ca(0x114)][_0x15c4ca(0x113)](_0x15c4ca(0x121))['to'](this,_0x15c4ca(0x135),_0x2d91cb=>_0xd0eb6(this[_0x15c4ca(0xf9)],_0x2d91cb?_0x15c4ca(0x102):_0x15c4ca(0x118))),this[_0x15c4ca(0xe3)][_0x15c4ca(0x113)](_0x15c4ca(0x131))['to'](this,_0x15c4ca(0x110),_0x3ee524=>_0x3ee524),this[_0x15c4ca(0xe3)][_0x15c4ca(0x113)](_0x15c4ca(0x121))['to'](this,_0x15c4ca(0x110),_0x5eaa5d=>_0xd0eb6(this[_0x15c4ca(0xf9)],_0x5eaa5d?_0x15c4ca(0x13b):_0x15c4ca(0xfa))),this[_0x15c4ca(0xed)]({'tag':_0x15c4ca(0x11d),'attributes':{'class':[qo]},'children':[this[_0x15c4ca(0x136)],this[_0x15c4ca(0x107)],this[_0x15c4ca(0x114)],this[_0x15c4ca(0xe3)],this[_0x15c4ca(0x137)]]}),this[_0x15c4ca(0x10b)]=new _0x24ba4d(),_0xe56551(this[_0x15c4ca(0x136)],this[_0x15c4ca(0x10b)]);}[_0x43e6d1(0x100)](_0xa25dfa,_0x11e201){const _0x335f59=_0x43e6d1;if(_0x11e201)this[_0x335f59(0x12c)](_0x335f59(0x129),_0x335f59(0x126));else{const _0x395aed=0x1===_0xa25dfa[_0x335f59(0xf5)];this[_0x335f59(0x12c)](_0x335f59(0x129),_0x395aed?_0x335f59(0x104):_0x335f59(0x13a));}if(this[_0x335f59(0x10b)][_0x335f59(0x12b)](),_0xa25dfa?.[_0x335f59(0xf5)])for(const _0x10e687 of _0xa25dfa){const _0x33f090=new _0x2cd69c({'label':_0x10e687[_0x335f59(0x104)],'withText':!0x0,'role':_0x335f59(0x11a),'id':_0x10e687['id'],'model':_0x10e687});_0x33f090[_0x335f59(0x113)](_0x335f59(0x131))['to'](this,_0x335f59(0xf1),_0x4ba39b=>_0x4ba39b===_0x10e687['id']),this[_0x335f59(0x10b)][_0x335f59(0x124)]({'type':_0x335f59(0x139),'model':_0x33f090,'labelView':new ModelButtonLabelView(this[_0x335f59(0xf9)],_0x10e687)});}}[_0x43e6d1(0x12d)](_0x6943e3){const _0x1ef890=_0x43e6d1;this[_0x1ef890(0x12c)](_0x1ef890(0x135),_0x6943e3);}[_0x43e6d1(0x132)](_0x5310ca){const _0x2c45a7=_0x43e6d1;this[_0x2c45a7(0x12c)](_0x2c45a7(0x110),_0x5310ca);}[_0x43e6d1(0x108)](_0x52823d){const _0x26b36e=_0x43e6d1;if(!_0x52823d)return;this[_0x26b36e(0xf1)]=_0x52823d['id'],this[_0x26b36e(0xf0)]=_0x52823d[_0x26b36e(0x104)]||_0x52823d['id'],this[_0x26b36e(0x136)][_0x26b36e(0xfc)][_0x26b36e(0x12c)](_0x26b36e(0xe6),_0x52823d[_0x26b36e(0x104)]),this[_0x26b36e(0x136)][_0x26b36e(0xfc)][_0x26b36e(0x12c)](_0x26b36e(0x121),_0x52823d[_0x26b36e(0x104)]);const _0x4d50f4=_0x52823d[_0x26b36e(0x10c)][_0x26b36e(0xe9)]?.[_0x26b36e(0xe0)]??!0x1;this[_0x26b36e(0x12c)](_0x26b36e(0x135),!0x1),this[_0x26b36e(0x114)][_0x26b36e(0x12c)](_0x26b36e(0x131),!0x1),this[_0x26b36e(0x114)][_0x26b36e(0x12c)](_0x26b36e(0x12f),_0x4d50f4),this[_0x26b36e(0x114)][_0x26b36e(0x12c)](_0x26b36e(0x120),_0x4d50f4);const _0x45fdf7=_0x52823d[_0x26b36e(0x10c)][_0x26b36e(0xf3)]?.[_0x26b36e(0xe0)]??!0x1;this[_0x26b36e(0x12c)](_0x26b36e(0x110),!0x1),this[_0x26b36e(0xe3)][_0x26b36e(0x12c)](_0x26b36e(0x131),!0x1),this[_0x26b36e(0xe3)][_0x26b36e(0x12c)](_0x26b36e(0x12f),_0x45fdf7),this[_0x26b36e(0xe3)][_0x26b36e(0x12c)](_0x26b36e(0x120),_0x45fdf7);}[_0x43e6d1(0x111)](){const _0x81a38=_0x43e6d1;this[_0x81a38(0x12c)](_0x81a38(0x117),!0x0);}[_0x43e6d1(0xee)](_0x26a607){const _0x58d364=_0x43e6d1;this[_0x58d364(0x12c)](_0x58d364(0x117),!0x1),_0x26a607&&this[_0x58d364(0x12c)](_0x58d364(0x129),_0x58d364(0x126));}[_0x43e6d1(0xf7)](){const _0xc7238f=_0x43e6d1,_0x34beeb=new _0x373c7e();return _0x34beeb[_0xc7238f(0x12c)]({'label':_0xd0eb6(this[_0xc7238f(0xf9)],_0xc7238f(0xfb)),'icon':_0x32f066,'class':jo,'isToggleable':!0x0,'tooltipPosition':el}),_0x34beeb['on'](_0xc7238f(0x123),()=>{const _0x8d7e4e=_0xc7238f;this[_0x8d7e4e(0x10e)](_0x8d7e4e(0x133));}),_0x34beeb;}[_0x43e6d1(0xfd)](){const _0x5608d3=_0x43e6d1,_0x8203ea=new _0x373c7e();return _0x8203ea[_0x5608d3(0x12c)]({'label':_0xd0eb6(this[_0x5608d3(0xf9)],_0x5608d3(0x127)),'icon':_0x5bc1cf,'class':jo,'isToggleable':!0x0,'tooltipPosition':el}),_0x8203ea['on'](_0x5608d3(0x123),()=>{const _0x456240=_0x5608d3;this[_0x456240(0x10e)](_0x456240(0x13c));}),_0x8203ea;}[_0x43e6d1(0x12e)](){const _0x412ec3=_0x43e6d1,_0x2066a0=new _0x373c7e();return _0x2066a0[_0x412ec3(0x12c)]({'label':_0xd0eb6(this[_0x412ec3(0xf9)],_0x412ec3(0xe5)),'icon':_0x3b4cd4,'withText':!0x0,'class':jo,'isToggleable':!0x0,'tooltip':_0xd0eb6(this[_0x412ec3(0xf9)],_0x412ec3(0xe5)),'tooltipPosition':el}),_0x2066a0[_0x412ec3(0xf6)]({'attributes':{'class':[zo]}}),_0x2066a0['on'](_0x412ec3(0x123),()=>{const _0x5eefda=_0x412ec3;console[_0x5eefda(0x109)](_0x5eefda(0x116)),alert(_0x5eefda(0x116));}),_0x2066a0;}[_0x43e6d1(0x11e)](){const _0x1e5a6f=_0x43e6d1,_0x3815fc=_0x23540d(this[_0x1e5a6f(0xf9)]);return _0x3815fc[_0x1e5a6f(0x12c)]({'panelPosition':'ne','class':[Ko]}),_0x3815fc[_0x1e5a6f(0xfc)][_0x1e5a6f(0x12c)]({'label':_0xd0eb6(this[_0x1e5a6f(0xf9)],_0x1e5a6f(0x105)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':el,'class':Jo}),this[_0x1e5a6f(0x10a)](_0x3815fc,_0x1e5a6f(0x123),_0x51495d=>{const _0x3b3b1e=_0x1e5a6f;this[_0x3b3b1e(0x10e)](_0x3b3b1e(0x122),_0x51495d[_0x3b3b1e(0x138)][_0x3b3b1e(0xdf)]);}),_0x3815fc;}[_0x43e6d1(0xef)](){const _0x435681=_0x43e6d1,_0x2b9771=new ModelNameView(this[_0x435681(0xf9)]);return _0x2b9771[_0x435681(0x113)](_0x435681(0xf2))['to'](this,_0x435681(0xf0),_0x51d2b8=>_0x51d2b8??''),_0x2b9771[_0x435681(0x113)](_0x435681(0x120))['to'](this,_0x435681(0x129),_0x5670fc=>_0x435681(0x104)===_0x5670fc),_0x2b9771;}}function _0x196e(){const _0x14d4a6=['174vBVjUi','isOn','setReasoning','toggleWebSearch','2059760GhiKnu','webSearchActive','_modelSelectionDropdown','_commandsButton','source','button','selector','AI_CHAT_DISABLE_REASONING','toggleReasoning','3730QGcLPy','ck-ai-chat-controls-button','ck-hidden','ck-ai-chat-controls-button--commands','240280CsOjHP','model','enabled','style','8955VphtTl','_reasoningButton','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','AI_CHAT_COMMANDS','label','ck-ai-button-tertiary','15rVxFeS','webSearch','ck-ai-chat-controls__model-selection__item-name','34510emOjSa','description','setTemplate','disableModelSelector','_createModelNameView','activeModelName','activeModelId','text','reasoning','createCollection','length','extendTemplate','_createWebSearchButton','_getCapabilityParts','locale','AI_CHAT_ENABLE_REASONING','AI_CHAT_SEARCH_WEB','buttonView','_createReasoningButton','ck-ai-chat-controls__model-selection__item-description','ck-ai-chat-controls__model-selection__item-capabilities','setModelList','65370wEYnvc','AI_CHAT_DISABLE_WEB_SEARCH','span','name','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','5925876BcrJic','_modelNameView','setModel','log','listenTo','_modelSelectionDropdownItems','capabilities','content','fire','bindTemplate','reasoningActive','enableModelSelector','ck-button__label','bind','_webSearchButton','AI_CHAT_CAPABILITIES_NO','Commands\x20are\x20not\x20implemented\x20yet.','modelSelectorEnabled','AI_CHAT_ENABLE_WEB_SEARCH','addMany','menuitemradio','31565CbOAPH','14mPzZMt','div','_createModelSelectionDropdown','ck-ai-chat-controls__model-selection','isVisible','tooltip','selectModel','execute','add','ck-ai-chat-controls__model-name','hidden','AI_CHAT_REASONING','ck-ai-chat__prompt-capabilities','modelDisplayMode','AI_CHAT_CAPABILITIES_YES','clear','set','setWebSearch','_createCommandsButton','isEnabled'];_0x196e=function(){return _0x14d4a6;};return _0x196e();}class ModelButtonLabelView extends _0x212071{constructor(_0x1a8d91,_0xac1bb4){const _0x2ae4aa=_0x43e6d1;super();const _0x51ed57=this[_0x2ae4aa(0x10f)],_0x1ab3b8=this[_0x2ae4aa(0xf4)]();this[_0x2ae4aa(0xed)]({'tag':_0x2ae4aa(0x11d),'attributes':{'class':['ck',_0x2ae4aa(0x112)],'style':_0x51ed57['to'](_0x2ae4aa(0xe1)),'id':_0x51ed57['to']('id')},'children':[{'tag':_0x2ae4aa(0x11d),'attributes':{'class':[Qo]},'children':[{'text':_0x51ed57['to'](_0x2ae4aa(0xf2))}]},{'tag':_0x2ae4aa(0x11d),'attributes':{'class':[Zo]},'children':[{'tag':_0x2ae4aa(0x103),'children':[{'text':_0xac1bb4[_0x2ae4aa(0xec)]}]}]},{'tag':_0x2ae4aa(0x11d),'attributes':{'class':[tl]},'children':_0x1ab3b8}]}),_0x1ab3b8[_0x2ae4aa(0x119)](this[_0x2ae4aa(0xf8)](_0x1a8d91,_0x32f066,_0x2ae4aa(0xfb),_0xac1bb4[_0x2ae4aa(0x10c)][_0x2ae4aa(0xe9)]?.[_0x2ae4aa(0xe0)]??!0x1)),_0x1ab3b8[_0x2ae4aa(0x119)](this[_0x2ae4aa(0xf8)](_0x1a8d91,_0x5bc1cf,_0x2ae4aa(0x127),_0xac1bb4[_0x2ae4aa(0x10c)][_0x2ae4aa(0xf3)]?.[_0x2ae4aa(0xe0)]??!0x1));}[_0x43e6d1(0xf8)](_0x4c8af1,_0x55a70d,_0x146c71,_0x4b77fc){const _0x5108ce=_0x43e6d1,_0x3af212=new _0x2022a2();_0x3af212[_0x5108ce(0x10d)]=_0x55a70d;const _0x2fe8e1=new _0x3ad462(_0x4c8af1);_0x2fe8e1[_0x5108ce(0xed)]({'tag':_0x5108ce(0x103),'children':[{'text':_0xd0eb6(_0x4c8af1,_0x146c71)+':\x20'}]});const _0x24d70d=new _0x3ad462(_0x4c8af1);return _0x24d70d[_0x5108ce(0xed)]({'tag':_0x5108ce(0x103),'children':[{'text':_0xd0eb6(_0x4c8af1,_0x4b77fc?_0x5108ce(0x12a):_0x5108ce(0x115))}]}),[_0x3af212,_0x2fe8e1,_0x24d70d];}}class ModelNameView extends _0x3ad462{constructor(_0x55bdc8){const _0x4c3a24=_0x43e6d1;super(_0x55bdc8),this[_0x4c3a24(0x12c)](_0x4c3a24(0xf2),void 0x0),this[_0x4c3a24(0x12c)](_0x4c3a24(0x120),!0x0);const _0x1b6b4c=this[_0x4c3a24(0x10f)];this[_0x4c3a24(0xed)]({'tag':_0x4c3a24(0x103),'attributes':{'class':['ck',_0x4c3a24(0x125),_0x1b6b4c['if'](_0x4c3a24(0x120),_0x4c3a24(0x13f),_0x2635ff=>!_0x2635ff)]},'children':[{'text':_0x1b6b4c['to'](_0x4c3a24(0xf2))}]});}}
|
|
23
|
+
const _0x3231f9=_0x2915;(function(_0x55f76f,_0x33284c){const _0x2ab30b=_0x2915,_0x48d272=_0x55f76f();while(!![]){try{const _0x31d551=-parseInt(_0x2ab30b(0x1f6))/0x1+parseInt(_0x2ab30b(0x23d))/0x2*(-parseInt(_0x2ab30b(0x21c))/0x3)+parseInt(_0x2ab30b(0x1e5))/0x4*(parseInt(_0x2ab30b(0x22e))/0x5)+-parseInt(_0x2ab30b(0x1ef))/0x6*(-parseInt(_0x2ab30b(0x1e6))/0x7)+-parseInt(_0x2ab30b(0x238))/0x8*(parseInt(_0x2ab30b(0x229))/0x9)+parseInt(_0x2ab30b(0x22c))/0xa+-parseInt(_0x2ab30b(0x1fa))/0xb;if(_0x31d551===_0x33284c)break;else _0x48d272['push'](_0x48d272['shift']());}catch(_0x1cd935){_0x48d272['push'](_0x48d272['shift']());}}}(_0x26ab,0x4da7c));import{Collection as _0x1d25de}from'ckeditor5/src/utils.js';import{IconAI as _0x55620b,IconBulb as _0xf7ff4c,IconWeb as _0xdd30cf}from'@ckeditor/ckeditor5-icons';function _0x26ab(){const _0x20f824=['reasoning','span','1207230LGdmmp','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','addMany','AI_CHAT_ENABLE_REASONING','AI_CHAT_DISABLE_WEB_SEARCH','bindTemplate','AI_CHAT_REASONING','45398SFasJa','toggleWebSearch','ck-ai-chat-controls__model-selection__item-name','reasoningActive','6755903lnUnyz','text','_createModelNameView','_createCommandsButton','description','listenTo','disableModelSelector','execute','div','_createWebSearchButton','webSearchActive','setModel','isEnabled','label','ck-ai-chat__prompt-capabilities','ck-button__label','ck-ai-chat-controls__model-selection','tooltip','createCollection','menuitemradio','selectModel','_getCapabilityParts','enableModelSelector','activeModelName','add','activeModelId','set','ck-ai-chat-controls__model-name','_modelSelectionDropdownItems','selector','buttonView','clear','_modelSelectionDropdown','length','165354rgOwaf','extendTemplate','enabled','AI_CHAT_CAPABILITIES_NO','bind','_createModelSelectionDropdown','setReasoning','ck-ai-chat-controls-button','ck-hidden','setTemplate','locale','name','content','18mXlrMZ','webSearch','style','5960660Jfezaf','ck-ai-chat-controls__model-selection__item-description','1283270RuuZMZ','hidden','AI_CHAT_COMMANDS','ck-ai-button-tertiary','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','toggleReasoning','_commandsButton','AI_CHAT_DISABLE_REASONING','model','84640SaDrpB','modelSelectorEnabled','_reasoningButton','ck-ai-chat-controls-button--commands','log','2qKrHNE','ck-ai-chat-controls__model-selection__item-capabilities','AI_CHAT_CAPABILITIES_YES','button','_modelNameView','setWebSearch','capabilities','_webSearchButton','isVisible','modelDisplayMode','AI_CHAT_SEARCH_WEB','4njyfGT','7jfSkMe','source','setModelList','isOn','fire','_createReasoningButton','Commands\x20are\x20not\x20implemented\x20yet.'];_0x26ab=function(){return _0x20f824;};return _0x26ab();}import{addListToDropdown as _0x7fd97f,ButtonLabelView as _0x1b3383,ButtonView as _0x3583de,createDropdown as _0x418167,IconView as _0x588ab0,UIModel as _0x2dc850,View as _0x41a30c}from'ckeditor5/src/ui.js';import{getTranslation as _0x265872}from'../../../aicore/utils/common-translations.js';function _0x2915(_0x16dcc1,_0x1d1a7c){const _0x26abaa=_0x26ab();return _0x2915=function(_0x291507,_0xe2ac9b){_0x291507=_0x291507-0x1e4;let _0x784c29=_0x26abaa[_0x291507];return _0x784c29;},_0x2915(_0x16dcc1,_0x1d1a7c);}const yo=_0x3231f9(0x208),bo=_0x3231f9(0x223),Wo=_0x3231f9(0x23b),Go=_0x3231f9(0x231),Yo=_0x3231f9(0x20a),qo=_0x3231f9(0x1f8),zo=_0x3231f9(0x22d),Jo=_0x3231f9(0x23e),Ko='n';export class AIChatPromptCapabilitiesView extends _0x41a30c{[_0x3231f9(0x244)];[_0x3231f9(0x23a)];[_0x3231f9(0x235)];[_0x3231f9(0x21a)];[_0x3231f9(0x216)];[_0x3231f9(0x241)];constructor(_0x1fa346){const _0x142c97=_0x3231f9;super(_0x1fa346),this[_0x142c97(0x214)](_0x142c97(0x204),!0x1),this[_0x142c97(0x214)](_0x142c97(0x1f9),!0x1),this[_0x142c97(0x214)](_0x142c97(0x246),_0x142c97(0x217)),this[_0x142c97(0x214)](_0x142c97(0x239),!0x0),this[_0x142c97(0x214)](_0x142c97(0x213),null),this[_0x142c97(0x214)](_0x142c97(0x211),null),this[_0x142c97(0x21a)]=this[_0x142c97(0x221)](),this[_0x142c97(0x241)]=this[_0x142c97(0x1fc)](),this[_0x142c97(0x244)]=this[_0x142c97(0x203)](),this[_0x142c97(0x23a)]=this[_0x142c97(0x1eb)](),this[_0x142c97(0x235)]=this[_0x142c97(0x1fd)](),this[_0x142c97(0x21a)][_0x142c97(0x218)][_0x142c97(0x220)](_0x142c97(0x245))['to'](this,_0x142c97(0x246),_0x4d3f05=>_0x142c97(0x217)===_0x4d3f05),this[_0x142c97(0x21a)][_0x142c97(0x218)][_0x142c97(0x220)](_0x142c97(0x20b))['to'](this,_0x142c97(0x239),_0xfff781=>_0xfff781?this[_0x142c97(0x21a)][_0x142c97(0x218)][_0x142c97(0x207)]:_0x265872(this[_0x142c97(0x226)],_0x142c97(0x1f0))),this[_0x142c97(0x21a)][_0x142c97(0x220)](_0x142c97(0x206))['to'](this,_0x142c97(0x239),_0x1810d2=>_0x1810d2),this[_0x142c97(0x244)][_0x142c97(0x220)](_0x142c97(0x1e9))['to'](this,_0x142c97(0x204),_0x3e67f8=>_0x3e67f8),this[_0x142c97(0x244)][_0x142c97(0x220)](_0x142c97(0x20b))['to'](this,_0x142c97(0x204),_0x55d786=>_0x265872(this[_0x142c97(0x226)],_0x55d786?_0x142c97(0x1f3):_0x142c97(0x232))),this[_0x142c97(0x23a)][_0x142c97(0x220)](_0x142c97(0x1e9))['to'](this,_0x142c97(0x1f9),_0x59acff=>_0x59acff),this[_0x142c97(0x23a)][_0x142c97(0x220)](_0x142c97(0x20b))['to'](this,_0x142c97(0x1f9),_0x2b018d=>_0x265872(this[_0x142c97(0x226)],_0x2b018d?_0x142c97(0x236):_0x142c97(0x1f2))),this[_0x142c97(0x225)]({'tag':_0x142c97(0x202),'attributes':{'class':[yo]},'children':[this[_0x142c97(0x21a)],this[_0x142c97(0x241)],this[_0x142c97(0x244)],this[_0x142c97(0x23a)],this[_0x142c97(0x235)]]}),this[_0x142c97(0x216)]=new _0x1d25de(),_0x7fd97f(this[_0x142c97(0x21a)],this[_0x142c97(0x216)]);}[_0x3231f9(0x1e8)](_0x8931e2,_0x389dd0){const _0x1a2a44=_0x3231f9;if(_0x389dd0)this[_0x1a2a44(0x214)](_0x1a2a44(0x246),_0x1a2a44(0x22f));else{const _0x135d67=0x1===_0x8931e2[_0x1a2a44(0x21b)];this[_0x1a2a44(0x214)](_0x1a2a44(0x246),_0x135d67?_0x1a2a44(0x227):_0x1a2a44(0x217));}if(this[_0x1a2a44(0x216)][_0x1a2a44(0x219)](),_0x8931e2?.[_0x1a2a44(0x21b)])for(const _0x292ef0 of _0x8931e2){const _0x46f5b1=new _0x2dc850({'label':_0x292ef0[_0x1a2a44(0x227)],'withText':!0x0,'role':_0x1a2a44(0x20d),'id':_0x292ef0['id'],'model':_0x292ef0});_0x46f5b1[_0x1a2a44(0x220)](_0x1a2a44(0x1e9))['to'](this,_0x1a2a44(0x213),_0x567d1c=>_0x567d1c===_0x292ef0['id']),this[_0x1a2a44(0x216)][_0x1a2a44(0x212)]({'type':_0x1a2a44(0x240),'model':_0x46f5b1,'labelView':new ModelButtonLabelView(this[_0x1a2a44(0x226)],_0x292ef0)});}}[_0x3231f9(0x242)](_0x5cd2aa){const _0x1718f2=_0x3231f9;this[_0x1718f2(0x214)](_0x1718f2(0x204),_0x5cd2aa);}[_0x3231f9(0x222)](_0x4c9520){const _0x57fa0f=_0x3231f9;this[_0x57fa0f(0x214)](_0x57fa0f(0x1f9),_0x4c9520);}[_0x3231f9(0x205)](_0x4efbad){const _0x102a19=_0x3231f9;if(!_0x4efbad)return;this[_0x102a19(0x213)]=_0x4efbad['id'],this[_0x102a19(0x211)]=_0x4efbad[_0x102a19(0x227)]||_0x4efbad['id'],this[_0x102a19(0x21a)][_0x102a19(0x218)][_0x102a19(0x214)](_0x102a19(0x207),_0x4efbad[_0x102a19(0x227)]),this[_0x102a19(0x21a)][_0x102a19(0x218)][_0x102a19(0x214)](_0x102a19(0x20b),_0x4efbad[_0x102a19(0x227)]);const _0x2260b4=_0x4efbad[_0x102a19(0x243)][_0x102a19(0x22a)]?.[_0x102a19(0x21e)]??!0x1;this[_0x102a19(0x214)](_0x102a19(0x204),!0x1),this[_0x102a19(0x244)][_0x102a19(0x214)](_0x102a19(0x1e9),!0x1),this[_0x102a19(0x244)][_0x102a19(0x214)](_0x102a19(0x206),_0x2260b4),this[_0x102a19(0x244)][_0x102a19(0x214)](_0x102a19(0x245),_0x2260b4);const _0xebf718=_0x4efbad[_0x102a19(0x243)][_0x102a19(0x1ed)]?.[_0x102a19(0x21e)]??!0x1;this[_0x102a19(0x214)](_0x102a19(0x1f9),!0x1),this[_0x102a19(0x23a)][_0x102a19(0x214)](_0x102a19(0x1e9),!0x1),this[_0x102a19(0x23a)][_0x102a19(0x214)](_0x102a19(0x206),_0xebf718),this[_0x102a19(0x23a)][_0x102a19(0x214)](_0x102a19(0x245),_0xebf718);}[_0x3231f9(0x210)](){const _0x4de104=_0x3231f9;this[_0x4de104(0x214)](_0x4de104(0x239),!0x0);}[_0x3231f9(0x200)](_0x25f8fb){const _0x46b640=_0x3231f9;this[_0x46b640(0x214)](_0x46b640(0x239),!0x1),_0x25f8fb&&this[_0x46b640(0x214)](_0x46b640(0x246),_0x46b640(0x22f));}[_0x3231f9(0x203)](){const _0xd48815=_0x3231f9,_0x4d9356=new _0x3583de();return _0x4d9356[_0xd48815(0x214)]({'label':_0x265872(this[_0xd48815(0x226)],_0xd48815(0x1e4)),'icon':_0xdd30cf,'class':bo,'isToggleable':!0x0,'tooltipPosition':Ko}),_0x4d9356['on'](_0xd48815(0x201),()=>{const _0x1f4eb5=_0xd48815;this[_0x1f4eb5(0x1ea)](_0x1f4eb5(0x1f7));}),_0x4d9356;}[_0x3231f9(0x1eb)](){const _0x1336bc=_0x3231f9,_0x18a92f=new _0x3583de();return _0x18a92f[_0x1336bc(0x214)]({'label':_0x265872(this[_0x1336bc(0x226)],_0x1336bc(0x1f5)),'icon':_0xf7ff4c,'class':bo,'isToggleable':!0x0,'tooltipPosition':Ko}),_0x18a92f['on'](_0x1336bc(0x201),()=>{const _0x541fc0=_0x1336bc;this[_0x541fc0(0x1ea)](_0x541fc0(0x234));}),_0x18a92f;}[_0x3231f9(0x1fd)](){const _0x440fbd=_0x3231f9,_0x4a0c47=new _0x3583de();return _0x4a0c47[_0x440fbd(0x214)]({'label':_0x265872(this[_0x440fbd(0x226)],_0x440fbd(0x230)),'icon':_0x55620b,'withText':!0x0,'class':bo,'isToggleable':!0x0,'tooltip':_0x265872(this[_0x440fbd(0x226)],_0x440fbd(0x230)),'tooltipPosition':Ko}),_0x4a0c47[_0x440fbd(0x21d)]({'attributes':{'class':[Wo]}}),_0x4a0c47['on'](_0x440fbd(0x201),()=>{const _0x495e2c=_0x440fbd;console[_0x495e2c(0x23c)](_0x495e2c(0x1ec)),alert(_0x495e2c(0x1ec));}),_0x4a0c47;}[_0x3231f9(0x221)](){const _0x3ef679=_0x3231f9,_0x40cea7=_0x418167(this[_0x3ef679(0x226)]);return _0x40cea7[_0x3ef679(0x214)]({'panelPosition':'ne','class':[Yo]}),_0x40cea7[_0x3ef679(0x218)][_0x3ef679(0x214)]({'label':_0x265872(this[_0x3ef679(0x226)],_0x3ef679(0x233)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Ko,'class':Go}),this[_0x3ef679(0x1ff)](_0x40cea7,_0x3ef679(0x201),_0x240e10=>{const _0x3326ca=_0x3ef679;this[_0x3326ca(0x1ea)](_0x3326ca(0x20e),_0x240e10[_0x3326ca(0x1e7)][_0x3326ca(0x237)]);}),_0x40cea7;}[_0x3231f9(0x1fc)](){const _0x239c7e=_0x3231f9,_0x3c41c1=new ModelNameView(this[_0x239c7e(0x226)]);return _0x3c41c1[_0x239c7e(0x220)](_0x239c7e(0x1fb))['to'](this,_0x239c7e(0x211),_0x37dde5=>_0x37dde5??''),_0x3c41c1[_0x239c7e(0x220)](_0x239c7e(0x245))['to'](this,_0x239c7e(0x246),_0xf963f6=>_0x239c7e(0x227)===_0xf963f6),_0x3c41c1;}}class ModelButtonLabelView extends _0x1b3383{constructor(_0x15bc83,_0x4f7f6e){const _0x2f949a=_0x3231f9;super();const _0x49e2a7=this[_0x2f949a(0x1f4)],_0x38edfd=this[_0x2f949a(0x20c)]();this[_0x2f949a(0x225)]({'tag':_0x2f949a(0x202),'attributes':{'class':['ck',_0x2f949a(0x209)],'style':_0x49e2a7['to'](_0x2f949a(0x22b)),'id':_0x49e2a7['to']('id')},'children':[{'tag':_0x2f949a(0x202),'attributes':{'class':[qo]},'children':[{'text':_0x49e2a7['to'](_0x2f949a(0x1fb))}]},{'tag':_0x2f949a(0x202),'attributes':{'class':[zo]},'children':[{'tag':_0x2f949a(0x1ee),'children':[{'text':_0x4f7f6e[_0x2f949a(0x1fe)]}]}]},{'tag':_0x2f949a(0x202),'attributes':{'class':[Jo]},'children':_0x38edfd}]}),_0x38edfd[_0x2f949a(0x1f1)](this[_0x2f949a(0x20f)](_0x15bc83,_0xdd30cf,_0x2f949a(0x1e4),_0x4f7f6e[_0x2f949a(0x243)][_0x2f949a(0x22a)]?.[_0x2f949a(0x21e)]??!0x1)),_0x38edfd[_0x2f949a(0x1f1)](this[_0x2f949a(0x20f)](_0x15bc83,_0xf7ff4c,_0x2f949a(0x1f5),_0x4f7f6e[_0x2f949a(0x243)][_0x2f949a(0x1ed)]?.[_0x2f949a(0x21e)]??!0x1));}[_0x3231f9(0x20f)](_0xe215ad,_0x181e8f,_0x1d892,_0x4add0f){const _0x32366b=_0x3231f9,_0x27b5a3=new _0x588ab0();_0x27b5a3[_0x32366b(0x228)]=_0x181e8f;const _0x5c6bf8=new _0x41a30c(_0xe215ad);_0x5c6bf8[_0x32366b(0x225)]({'tag':_0x32366b(0x1ee),'children':[{'text':_0x265872(_0xe215ad,_0x1d892)+':\x20'}]});const _0x4f8cf4=new _0x41a30c(_0xe215ad);return _0x4f8cf4[_0x32366b(0x225)]({'tag':_0x32366b(0x1ee),'children':[{'text':_0x265872(_0xe215ad,_0x4add0f?_0x32366b(0x23f):_0x32366b(0x21f))}]}),[_0x27b5a3,_0x5c6bf8,_0x4f8cf4];}}class ModelNameView extends _0x41a30c{constructor(_0xe050c4){const _0xa1603d=_0x3231f9;super(_0xe050c4),this[_0xa1603d(0x214)](_0xa1603d(0x1fb),void 0x0),this[_0xa1603d(0x214)](_0xa1603d(0x245),!0x0);const _0x45ae4b=this[_0xa1603d(0x1f4)];this[_0xa1603d(0x225)]({'tag':_0xa1603d(0x1ee),'attributes':{'class':['ck',_0xa1603d(0x215),_0x45ae4b['if'](_0xa1603d(0x245),_0xa1603d(0x224),_0x1f67f8=>!_0x1f67f8)]},'children':[{'text':_0x45ae4b['to'](_0xa1603d(0x1fb))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x508dff=_0x3c0a;(function(_0x17f986,_0x168e2f){const _0x5d2efd=_0x3c0a,_0x4a8572=_0x17f986();while(!![]){try{const _0x174787=parseInt(_0x5d2efd(0x13a))/0x1+parseInt(_0x5d2efd(0x174))/0x2+-parseInt(_0x5d2efd(0x167))/0x3+-parseInt(_0x5d2efd(0x16a))/0x4*(parseInt(_0x5d2efd(0x13e))/0x5)+-parseInt(_0x5d2efd(0x142))/0x6+parseInt(_0x5d2efd(0x16c))/0x7+-parseInt(_0x5d2efd(0x15f))/0x8;if(_0x174787===_0x168e2f)break;else _0x4a8572['push'](_0x4a8572['shift']());}catch(_0x3e51f9){_0x4a8572['push'](_0x4a8572['shift']());}}}(_0x490d,0x9adb2));import{IconSubmit as _0x530052}from'ckeditor5/src/icons.js';import{ButtonView as _0x2d0630,AutocompleteView as _0x307991,createLabeledTextarea as _0x4a7a5b}from'ckeditor5/src/ui.js';function _0x3c0a(_0x184823,_0x47219d){const _0x490d91=_0x490d();return _0x3c0a=function(_0x3c0a21,_0x51f566){_0x3c0a21=_0x3c0a21-0x133;let _0x37f9b9=_0x490d91[_0x3c0a21];return _0x37f9b9;},_0x3c0a(_0x184823,_0x47219d);}function _0x490d(){const _0x4a1067=['target','window','_queryViewResizeObserver','remove','keystrokes','fire','style','isEmpty','trim','extendTemplate','ck-ai-chat__prompt-input','placeholder','MIN_ROWS','add','AI_CHAT_LABEL_SUBMIT','locale','_setUpAddContextButtonPositioning','classList','ck-ai-chat__prompt-input_highlighted','rtl','excludeScrollbarsAndBorders','MAX_ROWS','execute','hasError','527032FUfJHN','isEnabled','left','minRows','calc(','set','setIsUploadInProgress','_createSubmitButton','134727wZaQIg','sendUserMessage','value','4slDKcD','fieldView','6266764ObQVtF','uiLanguageDirection','requestAnimationFrame','isUploadInProgress','reset','right','fieldWrapperChildren','px\x20-\x20var(--ck-spacing-tiny))','858580cZHEuh','width','AI_CHAT_PROMPT_EMPTY_ERROR','focus','setPlaceholderText','_addContextButtonView','contains','bind','errorText','submit','895117xiwqnU','focusableChildren','queryView','submitButtonView','2532615ESOrGD','render','enter','ck-ai-chat__prompt-submit-button','5808348acZyCH','destroy','update','maxRows','element'];_0x490d=function(){return _0x4a1067;};return _0x490d();}import{global as _0x3cb3fd,isVisible as _0x5cb12e,Rect as _0x51f28e,ResizeObserver as _0x19c5c7}from'ckeditor5/src/utils.js';import{getTranslation as _0x3b1437}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x1e26f6}from'./aichatpromptsuggestionslistview.js';import{escape as _0x5784f6}from'es-toolkit/compat';const ph=_0x508dff(0x159);export class AIChatPromptInputView extends _0x307991{[_0x508dff(0x13d)];static [_0x508dff(0x153)]=0x1;static [_0x508dff(0x15c)]=0xc;[_0x508dff(0x135)];[_0x508dff(0x149)];constructor(_0x56b850,_0x4be5d1){const _0x475122=_0x508dff;super(_0x56b850,{'queryView':{'label':'','creator':_0x4a7a5b,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x1e26f6(_0x56b850),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x475122(0x164)](_0x475122(0x14e),!0x0),this[_0x475122(0x164)](_0x475122(0x16f),!0x1),this[_0x475122(0x135)]=_0x4be5d1,this[_0x475122(0x149)]=null,this[_0x475122(0x13c)][_0x475122(0x16b)][_0x475122(0x162)]=AIChatPromptInputView[_0x475122(0x153)],this[_0x475122(0x13c)][_0x475122(0x16b)][_0x475122(0x145)]=AIChatPromptInputView[_0x475122(0x15c)],this[_0x475122(0x13c)][_0x475122(0x172)][_0x475122(0x154)](this[_0x475122(0x135)]),this[_0x475122(0x157)](),this[_0x475122(0x150)]({'attributes':{'class':['ck',_0x475122(0x151)]}}),this[_0x475122(0x13d)]=this[_0x475122(0x166)](),this[_0x475122(0x13d)][_0x475122(0x137)](_0x475122(0x160))['to'](this,_0x475122(0x14e),this,_0x475122(0x16f),(_0x2af126,_0x109dca)=>!_0x2af126&&!_0x109dca),this[_0x475122(0x13b)][_0x475122(0x154)](this[_0x475122(0x13d)]);}[_0x508dff(0x13f)](){const _0x4fc418=_0x508dff;super[_0x4fc418(0x13f)](),this[_0x4fc418(0x13c)][_0x4fc418(0x172)][_0x4fc418(0x154)](this[_0x4fc418(0x13d)]),this[_0x4fc418(0x14b)][_0x4fc418(0x164)](_0x4fc418(0x140),(_0x546bc7,_0x37e4ff)=>{const _0x44a2ef=_0x4fc418;this[_0x44a2ef(0x16f)]||this[_0x44a2ef(0x14e)]||_0x546bc7[_0x44a2ef(0x147)]==this[_0x44a2ef(0x13c)][_0x44a2ef(0x16b)][_0x44a2ef(0x146)]&&(this[_0x44a2ef(0x139)](),_0x37e4ff());}),this[_0x4fc418(0x13c)][_0x4fc418(0x16b)]['on'](_0x4fc418(0x144),()=>{const _0x35bda5=_0x4fc418;this[_0x35bda5(0x14e)]=''===this[_0x35bda5(0x13c)][_0x35bda5(0x16b)][_0x35bda5(0x146)][_0x35bda5(0x169)]?.[_0x35bda5(0x14f)]();});}[_0x508dff(0x143)](){const _0x1dac50=_0x508dff;super[_0x1dac50(0x143)](),this[_0x1dac50(0x149)]&&this[_0x1dac50(0x149)][_0x1dac50(0x143)]();}[_0x508dff(0x139)](){const _0x146c5b=_0x508dff,_0x36ba96=this[_0x146c5b(0x13c)][_0x146c5b(0x16b)][_0x146c5b(0x146)][_0x146c5b(0x169)]?.[_0x146c5b(0x14f)]();if(!_0x36ba96)return this[_0x146c5b(0x13c)][_0x146c5b(0x138)]=_0x3b1437(this[_0x146c5b(0x156)],_0x146c5b(0x176)),void(this[_0x146c5b(0x13c)][_0x146c5b(0x16b)][_0x146c5b(0x15e)]=!0x0);this[_0x146c5b(0x13c)][_0x146c5b(0x16b)][_0x146c5b(0x15e)]=!0x1;const _0x425995=_0x5784f6(_0x36ba96);this[_0x146c5b(0x14c)](_0x146c5b(0x168),_0x425995),this[_0x146c5b(0x13c)][_0x146c5b(0x16b)][_0x146c5b(0x170)]();}[_0x508dff(0x134)](_0x2f34f4){const _0x1d73de=_0x508dff;this[_0x1d73de(0x13c)][_0x1d73de(0x16b)][_0x1d73de(0x164)](_0x1d73de(0x152),_0x2f34f4);}[_0x508dff(0x133)](_0x2dfde0=!0x1){const _0x4dd88c=_0x508dff;super[_0x4dd88c(0x133)](),_0x2dfde0&&(this[_0x4dd88c(0x146)][_0x4dd88c(0x158)][_0x4dd88c(0x136)](ph)||(this[_0x4dd88c(0x146)][_0x4dd88c(0x158)][_0x4dd88c(0x154)](ph),setTimeout(()=>{const _0x5df04a=_0x4dd88c;this[_0x5df04a(0x146)][_0x5df04a(0x158)][_0x5df04a(0x14a)](ph);},0x320)));}[_0x508dff(0x166)](){const _0x3d8554=_0x508dff,_0x2674ff=new _0x2d0630(this[_0x3d8554(0x156)]);return _0x2674ff[_0x3d8554(0x164)]({'icon':_0x530052,'label':_0x3b1437(this[_0x3d8554(0x156)],_0x3d8554(0x155)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3d8554(0x141),'isEnabled':!0x1}),_0x2674ff['on'](_0x3d8554(0x15d),()=>{const _0x39b988=_0x3d8554;this[_0x39b988(0x139)]();}),_0x2674ff;}[_0x508dff(0x165)](_0x305091){const _0x3fa7bf=_0x508dff;this[_0x3fa7bf(0x16f)]=_0x305091;}[_0x508dff(0x157)](){const _0x2539a2=_0x508dff,_0xa87009=this[_0x2539a2(0x156)],_0x414107=()=>{const _0x269a04=_0x2539a2;_0x3cb3fd[_0x269a04(0x148)][_0x269a04(0x16e)](()=>{const _0x9f7e12=_0x269a04;if(_0x5cb12e(this[_0x9f7e12(0x146)])){const _0x3497a8=new _0x51f28e(this[_0x9f7e12(0x13c)][_0x9f7e12(0x16b)][_0x9f7e12(0x146)]),_0x54b2d9=new _0x51f28e(this[_0x9f7e12(0x135)][_0x9f7e12(0x146)]),_0x3b281b=_0x3497a8[_0x9f7e12(0x175)],_0x51bf0c=_0x9f7e12(0x15a)===_0xa87009[_0x9f7e12(0x16d)]?_0x9f7e12(0x171):_0x9f7e12(0x161);_0x3497a8[_0x9f7e12(0x15b)]();const _0x3fc4f0=_0x3b281b-_0x3497a8[_0x9f7e12(0x175)]+0x1;this[_0x9f7e12(0x135)][_0x9f7e12(0x146)][_0x9f7e12(0x14d)][_0x51bf0c]=_0x9f7e12(0x163)+(_0x3b281b-_0x54b2d9[_0x9f7e12(0x175)]-_0x3fc4f0)+_0x9f7e12(0x173);}});};this[_0x2539a2(0x13c)][_0x2539a2(0x16b)]['on'](_0x2539a2(0x144),_0x414107),this['on'](_0x2539a2(0x13f),()=>{const _0x1477ac=_0x2539a2;_0x414107(),this[_0x1477ac(0x149)]=new _0x19c5c7(this[_0x1477ac(0x13c)][_0x1477ac(0x16b)][_0x1477ac(0x146)],()=>{_0x414107();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xc54b(_0x248dac,_0x102682){const _0x450d75=_0x450d();return _0xc54b=function(_0xc54b8f,_0x4f55fb){_0xc54b8f=_0xc54b8f-0xab;let _0x5b7f8f=_0x450d75[_0xc54b8f];return _0x5b7f8f;},_0xc54b(_0x248dac,_0x102682);}function _0x450d(){const _0x5e1b92=['3264696DUVvQT','12qScQSK','1150440PwGYkm','23666ktarbO','4912400ugDEMO','9gmdXMu','length','65220fGkvPC','711655BUcLnn','filter','583177ALnztp','items','78UMHmTx','418YlwFQW'];_0x450d=function(){return _0x5e1b92;};return _0x450d();}const _0x18b1c2=_0xc54b;(function(_0x42de63,_0x5a0ee7){const _0x24ca8e=_0xc54b,_0x5bbfa1=_0x42de63();while(!![]){try{const _0x30eed7=parseInt(_0x24ca8e(0xb6))/0x1+-parseInt(_0x24ca8e(0xb7))/0x2*(-parseInt(_0x24ca8e(0xab))/0x3)+-parseInt(_0x24ca8e(0xb5))/0x4*(parseInt(_0x24ca8e(0xae))/0x5)+parseInt(_0x24ca8e(0xb2))/0x6*(parseInt(_0x24ca8e(0xb0))/0x7)+-parseInt(_0x24ca8e(0xb8))/0x8+-parseInt(_0x24ca8e(0xb4))/0x9+parseInt(_0x24ca8e(0xad))/0xa*(-parseInt(_0x24ca8e(0xb3))/0xb);if(_0x30eed7===_0x5a0ee7)break;else _0x5bbfa1['push'](_0x5bbfa1['shift']());}catch(_0x13dff6){_0x5bbfa1['push'](_0x5bbfa1['shift']());}}}(_0x450d,0x96b8f));import{ListView as _0x5e4f2b}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x5e4f2b{[_0x18b1c2(0xaf)](){const _0x3db355=_0x18b1c2;let _0x4743d8=0x0;for(const _0x3503c2 of this[_0x3db355(0xb1)])_0x4743d8+=_0x3503c2[_0x3db355(0xb1)][_0x3db355(0xac)];return{'resultsCount':_0x4743d8,'totalItemsCount':_0x4743d8};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2abe(){const _0x4f9c34=['test','1254310bLiMas','6IiUCuZ','items','updateResourceState','_handleResourceSelection','9oQswgh','102438nahVFo','locale','forEach','highlightText','extendTemplate','useDefaultFiltering','432588DXFNAQ','986070LkABcU','label','clear','fire','execute','3584416nFaiHb','237796SOnXtc','setResources','filter','addResourceToContext','3SkILuV','resource','\x5c$&','trim','_source','add','ck-ai-chat-resources__list','1295028NbHxnW','replace'];_0x2abe=function(){return _0x4f9c34;};return _0x2abe();}const _0x5189eb=_0x9b97;(function(_0x1cc884,_0x595b27){const _0x375b01=_0x9b97,_0x38ea37=_0x1cc884();while(!![]){try{const _0x30b0ca=-parseInt(_0x375b01(0x131))/0x1+-parseInt(_0x375b01(0x137))/0x2+-parseInt(_0x375b01(0x142))/0x3*(parseInt(_0x375b01(0x13e))/0x4)+parseInt(_0x375b01(0x12b))/0x5*(parseInt(_0x375b01(0x12c))/0x6)+-parseInt(_0x375b01(0x149))/0x7+parseInt(_0x375b01(0x13d))/0x8+-parseInt(_0x375b01(0x130))/0x9*(-parseInt(_0x375b01(0x138))/0xa);if(_0x30b0ca===_0x595b27)break;else _0x38ea37['push'](_0x38ea37['shift']());}catch(_0x168e32){_0x38ea37['push'](_0x38ea37['shift']());}}}(_0x2abe,0x39360));import{ListView as _0x48df26}from'ckeditor5/src/ui.js';function _0x9b97(_0x5bae50,_0xf9759f){const _0x2abe42=_0x2abe();return _0x9b97=function(_0x9b976,_0x190c2a){_0x9b976=_0x9b976-0x12a;let _0x345ae3=_0x2abe42[_0x9b976];return _0x345ae3;},_0x9b97(_0x5bae50,_0xf9759f);}import{AIChatResourceListItemView as _0xae1c91}from'./aichatresourcelistitemview.js';const uc=_0x5189eb(0x148);export class AIChatContextResourcesListView extends _0x48df26{[_0x5189eb(0x146)];constructor(_0x15530f,_0x28bc20){const _0x1c8049=_0x5189eb;super(_0x15530f),this[_0x1c8049(0x146)]=_0x28bc20,this[_0x1c8049(0x135)]({'attributes':{'class':[uc]}});}[_0x5189eb(0x13f)](_0x16dd43,_0x3c8c69){const _0x55bbf1=_0x5189eb;this[_0x55bbf1(0x12d)][_0x55bbf1(0x13a)]();let _0x4c2e91=_0x16dd43;if(this[_0x55bbf1(0x146)][_0x55bbf1(0x136)]&&_0x3c8c69&&''!==_0x3c8c69[_0x55bbf1(0x145)]()){const _0x524322=new RegExp(_0x3c8c69[_0x55bbf1(0x14a)](/[.*+?^${}()|[\]\\]/g,_0x55bbf1(0x144)),'gi');_0x4c2e91=_0x16dd43[_0x55bbf1(0x140)](_0x2d2926=>_0x524322[_0x55bbf1(0x12a)](_0x2d2926[_0x55bbf1(0x139)]));}for(const _0x5ef5c9 of _0x4c2e91){const _0x2a8f5a=new _0xae1c91(this[_0x55bbf1(0x132)],_0x5ef5c9);_0x2a8f5a['on'](_0x55bbf1(0x13c),()=>{const _0x2f7eb4=_0x55bbf1;this[_0x2f7eb4(0x12f)](this[_0x2f7eb4(0x146)],_0x5ef5c9);}),this[_0x55bbf1(0x12d)][_0x55bbf1(0x147)](_0x2a8f5a);}this[_0x55bbf1(0x146)][_0x55bbf1(0x136)]&&this[_0x55bbf1(0x134)](_0x3c8c69);}[_0x5189eb(0x134)](_0x469a3c){const _0x1a88f9=_0x5189eb;this[_0x1a88f9(0x146)][_0x1a88f9(0x136)]&&this[_0x1a88f9(0x12d)][_0x1a88f9(0x133)](_0x1b60a3=>{const _0x3d4e2d=_0x1a88f9;_0x1b60a3[_0x3d4e2d(0x134)](_0x469a3c);});}[_0x5189eb(0x12e)](_0x5a201e,_0x468992){const _0x4c61a1=_0x5189eb;for(const _0x13bc8c of this[_0x4c61a1(0x12d)]){const _0x67b45b=_0x13bc8c;_0x67b45b[_0x4c61a1(0x143)]['id']===_0x5a201e&&_0x67b45b[_0x4c61a1(0x12e)](_0x468992);}}[_0x5189eb(0x12f)](_0xc127ba,_0x55d65f){const _0x2fbfd1=_0x5189eb;this[_0x2fbfd1(0x13b)](_0x2fbfd1(0x141),{'source':_0xc127ba,'resource':_0x55d65f});}}
|