@ckeditor/ckeditor5-ai 47.6.0-alpha.8 → 47.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/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
|
-
|
|
23
|
+
(function(_0x865595,_0x517b88){const _0x18891e=_0x57b1,_0x286a1b=_0x865595();while(!![]){try{const _0x3dfb80=parseInt(_0x18891e(0x15b))/0x1+-parseInt(_0x18891e(0x147))/0x2+parseInt(_0x18891e(0x161))/0x3*(-parseInt(_0x18891e(0x164))/0x4)+-parseInt(_0x18891e(0x151))/0x5*(parseInt(_0x18891e(0x158))/0x6)+parseInt(_0x18891e(0x163))/0x7+parseInt(_0x18891e(0x162))/0x8+-parseInt(_0x18891e(0x154))/0x9*(-parseInt(_0x18891e(0x159))/0xa);if(_0x3dfb80===_0x517b88)break;else _0x286a1b['push'](_0x286a1b['shift']());}catch(_0x23b4cd){_0x286a1b['push'](_0x286a1b['shift']());}}}(_0x3bf8,0x769df));import{createDropdown as _0x4db70e}from'ckeditor5/src/ui.js';function _0x57b1(_0x276aac,_0x58a6fe){const _0x3bf85a=_0x3bf8();return _0x57b1=function(_0x57b18d,_0x41cef1){_0x57b18d=_0x57b18d-0x144;let _0x39e142=_0x3bf85a[_0x57b18d];return _0x39e142;},_0x57b1(_0x276aac,_0x58a6fe);}function _0x3bf8(){const _0x1b8b1b=['resetSearch','buttonView','39BJSzCg','6961256IJPAFq','5971483mndyVe','261204QraXua','has','from','ai-quick-actions-dropdown-selection','change:isOpen','480900HOQrtY','getRanges','locale','ck-ai-quick-actions-dropdown','get','add','plugins','panelView','hideFakeVisualSelection','selection','40Ooconl','icon','AIEditing','18cMhXvn','length','children','document','361320iZAktC','296530wtfkOe','model','274446yLSgXd','label','showFakeVisualSelection','set'];_0x3bf8=function(){return _0x1b8b1b;};return _0x3bf8();}import{IconAIQuickActions as _0x53bcf8}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x82dbce}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x2ed738}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x204b15){const {editor:_0x23218c,content:_0x30d7ae,buttonDefinition:_0x115005,bodyCollection:_0x349f92,hasSearch:_0x4b0c71=!0x1}=_0x204b15;return()=>{const _0x5e99ae=_0x57b1,_0x51ce22=_0x23218c[_0x5e99ae(0x149)],_0x3bc40f=_0x4db70e(_0x51ce22);_0x3bc40f[_0x5e99ae(0x160)][_0x5e99ae(0x15e)]({'icon':_0x115005[_0x5e99ae(0x152)]??_0x53bcf8,'label':_0x115005[_0x5e99ae(0x15c)],'tooltip':!0x0}),_0x3bc40f[_0x5e99ae(0x15e)]({'class':_0x5e99ae(0x14a)});const _0x502a08=new _0x82dbce(_0x23218c,_0x30d7ae,_0x3bc40f,_0x349f92,_0x4b0c71);if(_0x3bc40f[_0x5e99ae(0x14e)][_0x5e99ae(0x156)][_0x5e99ae(0x14c)](_0x502a08),_0x4b0c71){const _0x36f50a=_0x5e99ae(0x145);_0x3bc40f['on'](_0x5e99ae(0x146),(_0x27f3dc,_0x119c13,_0xf79cca)=>{const _0x415d5b=_0x5e99ae;if(_0xf79cca){if(_0x23218c[_0x415d5b(0x14d)][_0x415d5b(0x165)](_0x415d5b(0x153))){const _0x2b00b3=_0x23218c[_0x415d5b(0x14d)][_0x415d5b(0x14b)](_0x2ed738),_0x2e0807=_0x23218c[_0x415d5b(0x15a)][_0x415d5b(0x157)][_0x415d5b(0x150)],_0x3e86cc=Array[_0x415d5b(0x144)](_0x2e0807[_0x415d5b(0x148)]());_0x3e86cc[_0x415d5b(0x155)]>0x0&&_0x2b00b3[_0x415d5b(0x15d)](_0x3e86cc,_0x36f50a,!0x1,!0x0);}}else _0x23218c[_0x415d5b(0x14d)][_0x415d5b(0x165)](_0x415d5b(0x153))&&_0x23218c[_0x415d5b(0x14d)][_0x415d5b(0x14b)](_0x2ed738)[_0x415d5b(0x14f)](_0x36f50a),_0x502a08[_0x415d5b(0x15f)]();});}return _0x3bc40f;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22ef26=_0x2323;(function(_0xc6a1fe,_0x8d5323){const _0x20bff3=_0x2323,_0x2176b1=_0xc6a1fe();while(!![]){try{const _0x510e51=parseInt(_0x20bff3(0xde))/0x1+-parseInt(_0x20bff3(0xbf))/0x2+parseInt(_0x20bff3(0xdd))/0x3*(parseInt(_0x20bff3(0xda))/0x4)+-parseInt(_0x20bff3(0xce))/0x5*(parseInt(_0x20bff3(0xc1))/0x6)+-parseInt(_0x20bff3(0xc0))/0x7*(parseInt(_0x20bff3(0xc5))/0x8)+parseInt(_0x20bff3(0xc3))/0x9+parseInt(_0x20bff3(0xd0))/0xa;if(_0x510e51===_0x8d5323)break;else _0x2176b1['push'](_0x2176b1['shift']());}catch(_0x217ed9){_0x2176b1['push'](_0x2176b1['shift']());}}}(_0x4835,0x3f8b1));function _0x4835(){const _0x22804a=['35ueoWyq','1704JoxdZo','length','1848123vDfeha','clear','338696psKNua','groupLabel','map','items','_highlightQuery','addMany','_allSearchableItems','source','highlightViews','635CSeGXL','_clearHighlight','604160ViQWXN','function','toLowerCase','label','includes','item','filter','sort','_allListItems','highlightText','68872bFhoqf','forEach','trim','57zwuoVE','239629qrbSpN','649016krOZkR'];_0x4835=function(){return _0x22804a;};return _0x4835();}import{ListView as _0x734a82}from'ckeditor5/src/ui.js';import{escapeRegExp as _0xaa43d7}from'es-toolkit/compat';function _0x2323(_0x17f5b0,_0x2fcc5e){const _0x483595=_0x4835();return _0x2323=function(_0x232358,_0x3fe08a){_0x232358=_0x232358-0xbf;let _0x4ae408=_0x483595[_0x232358];return _0x4ae408;},_0x2323(_0x17f5b0,_0x2fcc5e);}export class AIQuickActionsFilteredListView extends _0x734a82{[_0x22ef26(0xd8)];[_0x22ef26(0xcb)];constructor(_0x5ef852,_0x16aa71,_0x572352){const _0x4f61c5=_0x22ef26;super(_0x5ef852),this[_0x4f61c5(0xd8)]=_0x16aa71,this[_0x4f61c5(0xcb)]=_0x572352;}[_0x22ef26(0xd6)](_0x1261e3){const _0x5a3516=_0x22ef26;if(!_0x1261e3)return this[_0x5a3516(0xc8)][_0x5a3516(0xc4)](),this[_0x5a3516(0xc8)][_0x5a3516(0xca)](this[_0x5a3516(0xd8)]),this[_0x5a3516(0xcf)](),{'resultsCount':this[_0x5a3516(0xd8)][_0x5a3516(0xc2)],'totalItemsCount':this[_0x5a3516(0xd8)][_0x5a3516(0xc2)]};const _0x26c8fe=_0x1261e3[_0x5a3516(0xcc)][_0x5a3516(0xd2)]()[_0x5a3516(0xdc)](),_0x5b3420=this[_0x5a3516(0xcb)][_0x5a3516(0xd6)](_0x2196b8=>(_0x2196b8[_0x5a3516(0xc6)]?_0x2196b8[_0x5a3516(0xd3)]+'\x20('+_0x2196b8[_0x5a3516(0xc6)]+')':_0x2196b8[_0x5a3516(0xd3)])[_0x5a3516(0xd2)]()[_0x5a3516(0xd4)](_0x26c8fe));return this[_0x5a3516(0xc8)][_0x5a3516(0xc4)](),this[_0x5a3516(0xc8)][_0x5a3516(0xca)](_0x5b3420[_0x5a3516(0xd7)]((_0x2c4197,_0x127e4c)=>{const _0x206f9e=_0x5a3516,_0x5949e3=_0x2c4197[_0x206f9e(0xc6)],_0x27a019=_0x127e4c[_0x206f9e(0xc6)];return _0x5949e3||_0x27a019?_0x5949e3?0x1:-0x1:0x0;})[_0x5a3516(0xc7)](_0x38c5cd=>_0x38c5cd[_0x5a3516(0xd5)])),this[_0x5a3516(0xc9)](_0x26c8fe,_0x5b3420),{'resultsCount':_0x5b3420[_0x5a3516(0xc2)],'totalItemsCount':this[_0x5a3516(0xcb)][_0x5a3516(0xc2)]};}[_0x22ef26(0xc9)](_0x34a663,_0x2dc76c){const _0x3d7edb=_0x22ef26;if(!_0x34a663)return;const _0x222214=new RegExp(_0xaa43d7(_0x34a663),'gi');_0x2dc76c[_0x3d7edb(0xdb)](_0x416cfd=>{const _0xcca726=_0x3d7edb;_0x416cfd[_0xcca726(0xcd)]&&_0x416cfd[_0xcca726(0xcd)][_0xcca726(0xdb)](_0x1656e5=>{const _0x110122=_0xcca726;_0x110122(0xd1)==typeof _0x1656e5[_0x110122(0xd9)]&&_0x1656e5[_0x110122(0xd9)](_0x222214);});});}[_0x22ef26(0xcf)](){const _0x3fade5=_0x22ef26;this[_0x3fade5(0xcb)][_0x3fade5(0xdb)](_0x94ac54=>{const _0x1530ab=_0x3fade5;_0x94ac54[_0x1530ab(0xcd)]&&_0x94ac54[_0x1530ab(0xcd)][_0x1530ab(0xdb)](_0x32b92d=>{const _0x20b60f=_0x1530ab;_0x20b60f(0xd1)==typeof _0x32b92d[_0x20b60f(0xd9)]&&_0x32b92d[_0x20b60f(0xd9)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2637(_0x318f62,_0x3a6479){var _0x3ec8d2=_0x3ec8();return _0x2637=function(_0x263787,_0x45f535){_0x263787=_0x263787-0x197;var _0x3bb6b7=_0x3ec8d2[_0x263787];return _0x3bb6b7;},_0x2637(_0x318f62,_0x3a6479);}(function(_0x510240,_0x1cce8e){var _0x44b998=_0x2637,_0xa4de94=_0x510240();while(!![]){try{var _0x72af0d=parseInt(_0x44b998(0x19e))/0x1*(-parseInt(_0x44b998(0x1a0))/0x2)+parseInt(_0x44b998(0x19d))/0x3+-parseInt(_0x44b998(0x1a3))/0x4+parseInt(_0x44b998(0x198))/0x5*(-parseInt(_0x44b998(0x1a5))/0x6)+-parseInt(_0x44b998(0x19b))/0x7*(parseInt(_0x44b998(0x1a2))/0x8)+-parseInt(_0x44b998(0x1a4))/0x9*(parseInt(_0x44b998(0x19f))/0xa)+parseInt(_0x44b998(0x197))/0xb*(parseInt(_0x44b998(0x19a))/0xc);if(_0x72af0d===_0x1cce8e)break;else _0xa4de94['push'](_0xa4de94['shift']());}catch(_0x443887){_0xa4de94['push'](_0xa4de94['shift']());}}}(_0x3ec8,0x52f90));import{View as _0x22c41f}from'ckeditor5/src/ui.js';function _0x3ec8(){var _0xe3f695=['ck-ai-balloon__disclaimer','26653932bpDwbg','7UeWjmP','ck-ai-balloon__disclaimer-content','437790pEJLYM','12230msZzeU','10SoYhdE','70rZJTEi','div','167312yPEptA','2243016LlOJEq','4933629bJjyiy','1734RaMBUK','setTemplate','AI_DISCLAIMER_TEXT','11PEbgZc','8120OIlpWb'];_0x3ec8=function(){return _0xe3f695;};return _0x3ec8();}import{getTranslation as _0x10ba29}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x22c41f{constructor(_0x1d039a){var _0x3aab30=_0x2637;super(_0x1d039a),this[_0x3aab30(0x1a6)]({'tag':_0x3aab30(0x1a1),'attributes':{'class':['ck',_0x3aab30(0x199)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3aab30(0x19c)]},'children':[{'text':_0x10ba29(_0x1d039a,_0x3aab30(0x1a7))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x104354=_0x456f;(function(_0x511373,_0x4be1ac){const _0x172243=_0x456f,_0x28892a=_0x511373();while(!![]){try{const _0x3eaddf=parseInt(_0x172243(0x202))/0x1*(-parseInt(_0x172243(0x1f8))/0x2)+-parseInt(_0x172243(0x1f5))/0x3+parseInt(_0x172243(0x1f7))/0x4+parseInt(_0x172243(0x1f9))/0x5+-parseInt(_0x172243(0x1fa))/0x6+parseInt(_0x172243(0x204))/0x7*(-parseInt(_0x172243(0x206))/0x8)+-parseInt(_0x172243(0x1f3))/0x9*(-parseInt(_0x172243(0x201))/0xa);if(_0x3eaddf===_0x4be1ac)break;else _0x28892a['push'](_0x28892a['shift']());}catch(_0x564801){_0x28892a['push'](_0x28892a['shift']());}}}(_0x5e46,0x96686));import{ToolbarView as _0x1962df,ButtonView as _0x19aa3f}from'ckeditor5/src/ui.js';function _0x5e46(){const _0x288016=['ck-ai-button-primary','setButtonsVisibility','items','extendTemplate','suggestButton','117qMBeyz','add','1492221nieGzy','isVisible','3909008hAawie','3406RMwWsI','999520LEPFRc','7166550MuRNlq','_createButton','applyButton','set','AI_BALLOON_APPLY_BUTTON','ck-ai-button-secondary','AI_BALLOON_SUGGEST_BUTTON','1463330cELWUe','383hgsrFq','isEnabled','7gTBAwJ','locale','954672BLSAVE','bind','ck-ai-balloon__toolbar'];_0x5e46=function(){return _0x288016;};return _0x5e46();}function _0x456f(_0x32464c,_0x42ca06){const _0x5e46b6=_0x5e46();return _0x456f=function(_0x456f0f,_0x1cf1e9){_0x456f0f=_0x456f0f-0x1ee;let _0x4ba3ce=_0x5e46b6[_0x456f0f];return _0x4ba3ce;},_0x456f(_0x32464c,_0x42ca06);}import{getTranslation as _0x1392d3}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x1962df{constructor(_0x5d396a,_0x563000=!0x0,_0x3ee3cd=!0x0){const _0x24c636=_0x456f;super(_0x5d396a),this[_0x24c636(0x1fd)](_0x24c636(0x203),!0x1),_0x563000&&(this[_0x24c636(0x1fc)]=this[_0x24c636(0x1fb)](_0x1392d3(_0x5d396a,_0x24c636(0x1fe)),_0x24c636(0x1ee)),this[_0x24c636(0x1fc)][_0x24c636(0x207)](_0x24c636(0x203))['to'](this),this[_0x24c636(0x1f0)][_0x24c636(0x1f4)](this[_0x24c636(0x1fc)])),_0x3ee3cd&&(this[_0x24c636(0x1f2)]=this[_0x24c636(0x1fb)](_0x1392d3(_0x5d396a,_0x24c636(0x200)),_0x563000?_0x24c636(0x1ff):_0x24c636(0x1ee)),this[_0x24c636(0x1f2)][_0x24c636(0x207)](_0x24c636(0x203))['to'](this),this[_0x24c636(0x1f0)][_0x24c636(0x1f4)](this[_0x24c636(0x1f2)])),this[_0x24c636(0x1ef)]({'showApplyButton':_0x563000,'showSuggestButton':_0x3ee3cd}),this[_0x24c636(0x1f1)]({'attributes':{'class':[_0x24c636(0x208)]}});}[_0x104354(0x1ef)]({showApplyButton:_0x5f3532,showSuggestButton:_0x4f56d7}){const _0x5384fe=_0x104354;this[_0x5384fe(0x1fc)]&&(this[_0x5384fe(0x1fc)][_0x5384fe(0x1f6)]=_0x5f3532),this[_0x5384fe(0x1f2)]&&(this[_0x5384fe(0x1f2)][_0x5384fe(0x1f6)]=_0x4f56d7);}[_0x104354(0x1fb)](_0x22cc06,_0x28f724){const _0x4c451f=_0x104354,_0x234fff=new _0x19aa3f(this[_0x4c451f(0x205)]);return _0x234fff[_0x4c451f(0x1fd)]({'label':_0x22cc06,'class':_0x28f724,'isVisible':!0x0,'withText':!0x0}),_0x234fff;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x267e36=_0x889a;(function(_0x47bf9a,_0x30d1ee){const _0x3c24eb=_0x889a,_0x26c369=_0x47bf9a();while(!![]){try{const _0x2f8609=parseInt(_0x3c24eb(0x1e2))/0x1+parseInt(_0x3c24eb(0x228))/0x2+parseInt(_0x3c24eb(0x216))/0x3*(-parseInt(_0x3c24eb(0x1f2))/0x4)+parseInt(_0x3c24eb(0x20f))/0x5+parseInt(_0x3c24eb(0x1da))/0x6+-parseInt(_0x3c24eb(0x1f7))/0x7*(-parseInt(_0x3c24eb(0x202))/0x8)+parseInt(_0x3c24eb(0x22c))/0x9*(-parseInt(_0x3c24eb(0x20e))/0xa);if(_0x2f8609===_0x30d1ee)break;else _0x26c369['push'](_0x26c369['shift']());}catch(_0x39b0f1){_0x26c369['push'](_0x26c369['shift']());}}}(_0x2a8f,0x77af2));function _0x889a(_0x42bde1,_0x22a2ab){const _0x2a8fee=_0x2a8f();return _0x889a=function(_0x889ad6,_0x3545b7){_0x889ad6=_0x889ad6-0x1c2;let _0x323a82=_0x2a8fee[_0x889ad6];return _0x323a82;},_0x889a(_0x42bde1,_0x22a2ab);}import{ViewCollection as _0x54d658,FocusCycler as _0x38fa5b,ButtonView as _0x242649,View as _0x2a8a16}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2ecb32,KeystrokeHandler as _0x5f0f8f}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x6c3278}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x45b9a1}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x24498f}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x43bb78}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x200f7e}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x461388}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x56987a}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';function _0x2a8f(){const _0x6e6177=['add','span','locale','render','ck-ai-actions-balloon-content-wrapper','setTemplate','stopAutoScroll','clear','resetShowChangesButton','24FxXqzs','startAutoScroll','updateMiniToolbarButtons','tab','bindTemplate','183498FCIglL','isBusy','_addToolbar','_addDisclaimerView','_navigationTryAgainButton','_createStreamableContentView','clearContent','toggleShowChangesEnabled','focusFirst','setButtonsVisibility','stop','32ETwdBI','AI_ACTIONS_NEXT_INTERACTION','AI_ACTIONS_PREVIOUS_INTERACTION','remove','_setupMiniToolbarButtons','_focusables','_miniToolbarView','isEnabled','updateContent','includes','interactionCount','_focusTracker','26960YvseWg','4068615JKNToX','destroy','fire','hideLoader','_errorView','setIsLoading','_addContentWrapper','458697vVEroz','1/1','_initializeScrollManager','insertSuggestion','showPrevious','_keystrokes','delegate','has','ck-ai-actions-balloon-content','_config','isTrackChangesOn','change:isTrackChangesOn','_hasError','_isLoading','tryAgain','_navigationPreviousButton','focusCycler','removeMiniToolbarItem','375460pESBqY','toggleIsLoading','_dialogContent','_createLoaderView','3033EqGcuP','setInteractionCount','clearErrorState','start','applyButton','setErrorState','listenTo','_getScrollableElement','isShowChangesOn','_navigationCounter','focus','_createMiniToolbar','_disclaimerView','suggestButton','ck-ai-navigation-button\x20ck-ai-next-button','hideError','bind','miniToolbarConfig','_navigationNextButton','element','disableMiniToolbarButtons','_loaderView','ck-ai-navigation-button\x20ck-ai-previous-button','showNext','availableActions','showLoader','ck-ai-interaction-counter','_streamableContentView','ck-ai-actions-balloon-main','shift\x20+\x20tab','ck-ai-custom-action-button','applySuggestion','items','_scrollManager','_toolbarView','addMiniToolbarItem','AI_ACTIONS_TRY_AGAIN','createCollection','2650566AWqQat','isVisible','showError','_contentWrapper','addMany','toggleShowChanges','toggleSuggestionDisplayMode','showBlockingError','768102wULfVg','focusLast','div','_toggleToolbarButtonsVisibility','update','execute','set'];_0x2a8f=function(){return _0x6e6177;};return _0x2a8f();}import{IconNextArrow as _0x324e41,IconPreviousArrow as _0x4fa0c0,IconRefresh as _0x280059}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x271e18}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0xf05b04}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x267e36(0x1d3),_0x267e36(0x219)];export class AIActionsBalloonView extends _0xf05b04{[_0x267e36(0x226)];[_0x267e36(0x21f)];[_0x267e36(0x1dd)];[_0x267e36(0x1cf)];[_0x267e36(0x1d6)];[_0x267e36(0x208)];[_0x267e36(0x1c9)];[_0x267e36(0x238)];[_0x267e36(0x20d)];[_0x267e36(0x21b)];[_0x267e36(0x22a)];[_0x267e36(0x207)];[_0x267e36(0x1d5)];[_0x267e36(0x225)];[_0x267e36(0x1c6)];[_0x267e36(0x1fb)];[_0x267e36(0x235)];constructor(_0x405fda,_0x11c650){const _0x25ad7=_0x267e36;super(_0x405fda),this[_0x25ad7(0x1e8)](_0x25ad7(0x1f8),!0x1),this[_0x25ad7(0x1e8)](_0x25ad7(0x220),!0x1),this[_0x25ad7(0x1e8)](_0x25ad7(0x223),!0x1),this[_0x25ad7(0x1e8)](_0x25ad7(0x222),!0x1),this[_0x25ad7(0x21f)]=_0x11c650,this[_0x25ad7(0x20d)]=new _0x2ecb32(),this[_0x25ad7(0x21b)]=new _0x5f0f8f(),this[_0x25ad7(0x207)]=this[_0x25ad7(0x1d9)](),this[_0x25ad7(0x226)]=new _0x38fa5b({'focusables':this[_0x25ad7(0x207)],'focusTracker':this[_0x25ad7(0x20d)],'keystrokeHandler':this[_0x25ad7(0x21b)],'actions':{'focusPrevious':_0x25ad7(0x1d1),'focusNext':_0x25ad7(0x1f5)}}),this[_0x25ad7(0x22a)]=new _0x54d658(),this[_0x25ad7(0x215)](_0x11c650),this[_0x25ad7(0x1fa)](),this[_0x25ad7(0x1f9)](_0x11c650),this[_0x25ad7(0x207)][_0x25ad7(0x1f0)](),this[_0x25ad7(0x207)][_0x25ad7(0x1de)]([this[_0x25ad7(0x1d6)]]),this[_0x25ad7(0x1ee)]({'tag':_0x25ad7(0x1e4),'attributes':{'class':[_0x25ad7(0x1d0)]},'children':this[_0x25ad7(0x22a)]}),this['on'](_0x25ad7(0x221),()=>{const _0x1ac9c5=_0x25ad7;this[_0x1ac9c5(0x1e5)](_0x11c650);});}[_0x267e36(0x1ec)](){const _0x533c73=_0x267e36;super[_0x533c73(0x1ec)]();for(const _0x5ae1d4 of this[_0x533c73(0x207)])this[_0x533c73(0x20d)][_0x533c73(0x1e9)](_0x5ae1d4[_0x533c73(0x1c7)]);this[_0x533c73(0x21b)][_0x533c73(0x232)](this[_0x533c73(0x1c7)]),this[_0x533c73(0x218)]();}[_0x267e36(0x210)](){const _0x47adab=_0x267e36;super[_0x47adab(0x210)](),this[_0x47adab(0x1d5)]&&this[_0x47adab(0x1d5)][_0x47adab(0x210)]();}[_0x267e36(0x236)](_0x441f0f){const _0x26f95c=_0x267e36;-0x1===_0x441f0f?this[_0x26f95c(0x226)][_0x26f95c(0x1e3)]():this[_0x26f95c(0x226)][_0x26f95c(0x1ff)]();}[_0x267e36(0x214)](_0x4b0e78){const _0x2a7092=_0x267e36;this[_0x2a7092(0x223)]=_0x4b0e78;}[_0x267e36(0x231)](){const _0x29b220=_0x267e36;this[_0x29b220(0x222)]=!0x0,this[_0x29b220(0x208)][_0x29b220(0x1fe)](!0x1);}[_0x267e36(0x22e)](){const _0x4c3880=_0x267e36;this[_0x4c3880(0x222)]=!0x1,this[_0x4c3880(0x208)][_0x4c3880(0x1fe)](!0x0);}[_0x267e36(0x1dc)](_0x344bfd){const _0x1b3774=_0x267e36;super[_0x1b3774(0x1dc)](_0x344bfd),this[_0x1b3774(0x22a)][_0x1b3774(0x21d)](this[_0x1b3774(0x213)])||this[_0x1b3774(0x22a)][_0x1b3774(0x1e9)](this[_0x1b3774(0x213)],0x0);}[_0x267e36(0x1c3)](){const _0x23bb69=_0x267e36;super[_0x23bb69(0x1c3)](),this[_0x23bb69(0x22e)]();}[_0x267e36(0x1e1)](_0x4ac917){const _0x2f6b13=_0x267e36;super[_0x2f6b13(0x1e1)](_0x4ac917),this[_0x2f6b13(0x231)]();}[_0x267e36(0x1d7)](_0xad779b){const _0xf6fed5=_0x267e36;this[_0xf6fed5(0x208)][_0xf6fed5(0x1d4)][_0xf6fed5(0x21d)](_0xad779b)||this[_0xf6fed5(0x208)][_0xf6fed5(0x1d4)][_0xf6fed5(0x1e9)](_0xad779b);}[_0x267e36(0x227)](_0x13940c){const _0x215122=_0x267e36;this[_0x215122(0x208)][_0x215122(0x1d4)][_0x215122(0x21d)](_0x13940c)&&this[_0x215122(0x208)][_0x215122(0x1d4)][_0x215122(0x205)](_0x13940c);}[_0x267e36(0x1cd)](){const _0x3073a0=_0x267e36;this[_0x3073a0(0x1c9)]&&(this[_0x3073a0(0x223)]=!0x0);}[_0x267e36(0x212)](){const _0x477bb2=_0x267e36;this[_0x477bb2(0x1c9)]&&(this[_0x477bb2(0x223)]=!0x1);}[_0x267e36(0x1e5)]({showApplyButton:_0x59b380,showSuggestButton:_0x1b3ede}){const _0x10660e=_0x267e36;_0x59b380=_0x59b380&&!this[_0x10660e(0x220)]&&this[_0x10660e(0x21f)][_0x10660e(0x1cc)][_0x10660e(0x20b)](_0x10660e(0x1d3)),_0x1b3ede=_0x1b3ede&&this[_0x10660e(0x21f)][_0x10660e(0x1cc)][_0x10660e(0x20b)](_0x10660e(0x219)),this[_0x10660e(0x1d6)][_0x10660e(0x200)]({'showApplyButton':_0x59b380,'showSuggestButton':_0x1b3ede});}async[_0x267e36(0x20a)](_0x32928e){const _0x2ad85f=_0x267e36;await this[_0x2ad85f(0x1cf)][_0x2ad85f(0x1e6)](_0x32928e);}[_0x267e36(0x1fd)](){const _0x1dd0d9=_0x267e36;this[_0x1dd0d9(0x1cf)][_0x1dd0d9(0x1f0)]();}[_0x267e36(0x215)](_0x226ba7){const _0x2f2bf7=_0x267e36;this[_0x2f2bf7(0x1dd)]=new _0x2a8a16(this[_0x2f2bf7(0x1eb)]),this[_0x2f2bf7(0x1dd)][_0x2f2bf7(0x1ee)]({'tag':_0x2f2bf7(0x1e4),'attributes':{'class':[_0x2f2bf7(0x21e)]},'children':[{'tag':_0x2f2bf7(0x1e4),'attributes':{'class':[_0x2f2bf7(0x1ed)]},'children':[this[_0x2f2bf7(0x22b)](),this[_0x2f2bf7(0x1fc)]()]},this[_0x2f2bf7(0x237)](_0x226ba7[_0x2f2bf7(0x1c5)])]}),this[_0x2f2bf7(0x22a)][_0x2f2bf7(0x1e9)](this[_0x2f2bf7(0x1dd)]);}[_0x267e36(0x1fa)](){const _0x5a9591=_0x267e36;this[_0x5a9591(0x238)]=new _0x45b9a1(this[_0x5a9591(0x1eb)]),this[_0x5a9591(0x22a)][_0x5a9591(0x1e9)](this[_0x5a9591(0x238)]);}[_0x267e36(0x1f9)]({showApplyButton:_0x52160d,showSuggestButton:_0x42bf2f}){const _0x44ad29=_0x267e36;this[_0x44ad29(0x1d6)]=new _0x6c3278(this[_0x44ad29(0x1eb)],_0x52160d,_0x42bf2f),this[_0x44ad29(0x1d6)][_0x44ad29(0x230)]?.['on'](_0x44ad29(0x1e7),()=>{const _0x3d0b4d=_0x44ad29;this[_0x3d0b4d(0x211)](_0x3d0b4d(0x1d3));}),this[_0x44ad29(0x1d6)][_0x44ad29(0x239)]?.['on'](_0x44ad29(0x1e7),()=>{const _0x56b965=_0x44ad29;this[_0x56b965(0x211)](_0x56b965(0x219));}),this[_0x44ad29(0x1d6)][_0x44ad29(0x1c4)](_0x44ad29(0x209))['to'](this,_0x44ad29(0x1f8),this,_0x44ad29(0x223),this,_0x44ad29(0x222),(_0xb1f20,_0x494c65,_0x1c1e1c)=>!(_0xb1f20||_0x494c65||_0x1c1e1c)),this[_0x44ad29(0x1e5)]({'showApplyButton':_0x52160d,'showSuggestButton':_0x42bf2f}),this[_0x44ad29(0x22a)][_0x44ad29(0x1e9)](this[_0x44ad29(0x1d6)]);}[_0x267e36(0x237)](_0x8165d9){const _0x540db7=_0x267e36;return this[_0x540db7(0x208)]=new _0x43bb78(this[_0x540db7(0x1eb)],_0x8165d9),this[_0x540db7(0x208)][_0x540db7(0x21c)](..._0x200f7e)['to'](this),this[_0x540db7(0x208)]['on'](_0x540db7(0x1df),()=>{const _0x563d2d=_0x540db7;this[_0x563d2d(0x208)][_0x563d2d(0x234)]=!this[_0x563d2d(0x208)][_0x563d2d(0x234)],this[_0x563d2d(0x211)](_0x563d2d(0x1e0),{'showDiff':this[_0x563d2d(0x208)][_0x563d2d(0x234)]});}),this[_0x540db7(0x208)][_0x540db7(0x1c4)](_0x540db7(0x209))['to'](this,_0x540db7(0x1f8),this,_0x540db7(0x223),(_0x1e63f8,_0x4a5124)=>!(_0x1e63f8||_0x4a5124)),this[_0x540db7(0x208)];}[_0x267e36(0x22b)](){const _0x5d384e=_0x267e36;return this[_0x5d384e(0x1c9)]=new _0x461388(this[_0x5d384e(0x1eb)]),this[_0x5d384e(0x1c9)][_0x5d384e(0x1c4)](_0x5d384e(0x1db))['to'](this,_0x5d384e(0x223)),this[_0x5d384e(0x1c9)];}[_0x267e36(0x1fc)](){const _0x4051d4=_0x267e36;return this[_0x4051d4(0x1cf)]=new _0x56987a(this[_0x4051d4(0x1eb)]),this[_0x4051d4(0x1cf)];}[_0x267e36(0x206)](){const _0x3eaef7=_0x267e36,_0x52cbfe=new _0x242649(this[_0x3eaef7(0x1eb)]),_0x108a48=new _0x242649(this[_0x3eaef7(0x1eb)]),_0x20e4d1=new Ln(this[_0x3eaef7(0x1eb)]),_0x5269fa=new _0x242649(this[_0x3eaef7(0x1eb)]);_0x52cbfe[_0x3eaef7(0x1e8)]({'icon':_0x280059,'label':_0x271e18(this[_0x3eaef7(0x1eb)],_0x3eaef7(0x1d8)),'tooltip':!0x0,'class':_0x3eaef7(0x1d2)}),_0x108a48[_0x3eaef7(0x1e8)]({'icon':_0x4fa0c0,'tooltip':_0x271e18(this[_0x3eaef7(0x1eb)],_0x3eaef7(0x204)),'class':_0x3eaef7(0x1ca)}),_0x5269fa[_0x3eaef7(0x1e8)]({'icon':_0x324e41,'tooltip':_0x271e18(this[_0x3eaef7(0x1eb)],_0x3eaef7(0x203)),'class':_0x3eaef7(0x1c2)}),_0x52cbfe[_0x3eaef7(0x1c4)](_0x3eaef7(0x209))['to'](this,_0x3eaef7(0x1f8),_0x6f947a=>!_0x6f947a),_0x52cbfe['on'](_0x3eaef7(0x1e7),()=>{const _0x5172dc=_0x3eaef7;this[_0x5172dc(0x211)](_0x5172dc(0x224));}),_0x108a48[_0x3eaef7(0x1c4)](_0x3eaef7(0x209))['to'](this,_0x3eaef7(0x1f8),_0x303935=>!_0x303935),_0x108a48['on'](_0x3eaef7(0x1e7),()=>{const _0x43b828=_0x3eaef7;this[_0x43b828(0x211)](_0x43b828(0x21a));}),_0x5269fa[_0x3eaef7(0x1c4)](_0x3eaef7(0x209))['to'](this,_0x3eaef7(0x1f8),_0x1e543f=>!_0x1e543f),_0x5269fa['on'](_0x3eaef7(0x1e7),()=>{const _0xc3ecfb=_0x3eaef7;this[_0xc3ecfb(0x211)](_0xc3ecfb(0x1cb));}),this[_0x3eaef7(0x225)]=_0x108a48,this[_0x3eaef7(0x235)]=_0x20e4d1,this[_0x3eaef7(0x1c6)]=_0x5269fa,this[_0x3eaef7(0x1fb)]=_0x52cbfe;}[_0x267e36(0x1f4)](_0x5cdaf8,_0x1d557f){const _0x55b138=_0x267e36;this[_0x55b138(0x225)]||this[_0x55b138(0x206)]();const _0x195979=_0x5cdaf8>0x1;if(this[_0x55b138(0x1d7)](this[_0x55b138(0x1fb)]),_0x195979){this[_0x55b138(0x1d7)](this[_0x55b138(0x225)]),this[_0x55b138(0x1d7)](this[_0x55b138(0x235)]),this[_0x55b138(0x1d7)](this[_0x55b138(0x1c6)]);const _0x4ff089=_0x5cdaf8-_0x1d557f;this[_0x55b138(0x235)][_0x55b138(0x22d)](_0x4ff089+'/'+_0x5cdaf8),this[_0x55b138(0x225)][_0x55b138(0x209)]=_0x1d557f<_0x5cdaf8-0x1,this[_0x55b138(0x1c6)][_0x55b138(0x209)]=_0x1d557f>0x0;}else this[_0x55b138(0x227)](this[_0x55b138(0x225)]),this[_0x55b138(0x227)](this[_0x55b138(0x235)]),this[_0x55b138(0x227)](this[_0x55b138(0x1c6)]);}[_0x267e36(0x1c8)](){const _0x38bcde=_0x267e36;this[_0x38bcde(0x1fb)][_0x38bcde(0x209)]=!0x1,this[_0x38bcde(0x225)][_0x38bcde(0x209)]=!0x1,this[_0x38bcde(0x1c6)][_0x38bcde(0x209)]=!0x1;}[_0x267e36(0x1f3)](){const _0x5ab963=_0x267e36;this[_0x5ab963(0x218)](),this[_0x5ab963(0x1d5)]&&this[_0x5ab963(0x1d5)][_0x5ab963(0x22f)]();}[_0x267e36(0x1ef)](){const _0x4da8c5=_0x267e36;this[_0x4da8c5(0x1d5)]&&this[_0x4da8c5(0x1d5)][_0x4da8c5(0x201)]();}[_0x267e36(0x229)](_0x33f4e5){const _0x5da402=_0x267e36;this[_0x5da402(0x223)]=_0x33f4e5;}[_0x267e36(0x1f1)](){const _0x509bb0=_0x267e36;this[_0x509bb0(0x208)][_0x509bb0(0x234)]=!0x1;}[_0x267e36(0x218)](){const _0x3a60db=_0x267e36,_0x2e41d0=this[_0x3a60db(0x233)]();_0x2e41d0&&!this[_0x3a60db(0x1d5)]&&(this[_0x3a60db(0x1d5)]=new _0x24498f(_0x2e41d0));}[_0x267e36(0x233)](){const _0x36f4a6=_0x267e36;return this[_0x36f4a6(0x1cf)][_0x36f4a6(0x1c7)];}}class Ln extends _0x2a8a16{constructor(_0xda2958){const _0x1d117a=_0x267e36;super(_0xda2958);const _0x5ddb36=this[_0x1d117a(0x1f6)];this[_0x1d117a(0x1e8)](_0x1d117a(0x20c),_0x1d117a(0x217)),this[_0x1d117a(0x1ee)]({'tag':_0x1d117a(0x1ea),'attributes':{'class':[_0x1d117a(0x1ce)]},'children':[{'text':_0x5ddb36['to'](_0x1d117a(0x20c))}]});}[_0x267e36(0x22d)](_0x2d019e){const _0x1b834d=_0x267e36;this[_0x1b834d(0x1e8)](_0x1b834d(0x20c),_0x2d019e);}}
|
|
23
|
+
function _0x5a8e(){const _0x2b189b=['2692xxaBav','miniToolbarConfig','ck-ai-custom-action-button','insertSuggestion','toggleSuggestionDisplayMode','focusFirst','831160UqwXBI','includes','_config','execute','showNext','isShowChangesOn','shift\x20+\x20tab','destroy','delegate','clear','set','_navigationPreviousButton','6551DioGOC','isVisible','element','toggleShowChanges','_createStreamableContentView','244yLGSnv','_loaderView','ck-ai-actions-balloon-main','span','_disclaimerView','_streamableContentView','start','_createMiniToolbar','_setupMiniToolbarButtons','hideLoader','_navigationTryAgainButton','_errorView','ck-ai-navigation-button\x20ck-ai-next-button','div','startAutoScroll','setIsLoading','disableMiniToolbarButtons','3463011icwyMh','focusCycler','setInteractionCount','_addDisclaimerView','change:isTrackChangesOn','AI_ACTIONS_PREVIOUS_INTERACTION','_getScrollableElement','45XBTwmV','showError','_addToolbar','updateMiniToolbarButtons','showBlockingError','createCollection','setTemplate','_focusables','applySuggestion','resetShowChangesButton','addMany','stopAutoScroll','toggleShowChangesEnabled','remove','_dialogContent','_createLoaderView','bindTemplate','6039SjswEc','_navigationNextButton','_keystrokes','add','_scrollManager','15650TDoKVa','_navigationCounter','ck-ai-navigation-button\x20ck-ai-previous-button','toggleIsLoading','fire','ck-ai-actions-balloon-content','isTrackChangesOn','applyButton','has','14wpsZzj','bind','_contentWrapper','updateContent','stop','interactionCount','update','focusLast','setButtonsVisibility','items','removeMiniToolbarItem','_initializeScrollManager','showLoader','availableActions','1208934CXjXqd','locale','setErrorState','clearContent','_focusTracker','hideError','3995FcyMtp','ck-ai-interaction-counter','3879928PfBgUI','addMiniToolbarItem','_hasError','_miniToolbarView','clearErrorState','AI_ACTIONS_TRY_AGAIN','_toggleToolbarButtonsVisibility','showPrevious','tryAgain','1/1','AI_ACTIONS_NEXT_INTERACTION','_addContentWrapper','render','suggestButton','tab','36wROwxQ','_toolbarView','listenTo','isEnabled','isBusy','focus','_isLoading','ck-ai-actions-balloon-content-wrapper'];_0x5a8e=function(){return _0x2b189b;};return _0x5a8e();}const _0x586677=_0x46ad;(function(_0x367862,_0x3b6fb3){const _0x82e982=_0x46ad,_0x1b7c6d=_0x367862();while(!![]){try{const _0x57dcbf=-parseInt(_0x82e982(0xfd))/0x1*(parseInt(_0x82e982(0x102))/0x2)+parseInt(_0x82e982(0x98))/0x3+-parseInt(_0x82e982(0xeb))/0x4*(parseInt(_0x82e982(0xd2))/0x5)+-parseInt(_0x82e982(0xcc))/0x6*(parseInt(_0x82e982(0xbe))/0x7)+-parseInt(_0x82e982(0xf1))/0x8*(parseInt(_0x82e982(0x9f))/0x9)+parseInt(_0x82e982(0xb5))/0xa*(parseInt(_0x82e982(0xb0))/0xb)+-parseInt(_0x82e982(0xe3))/0xc*(-parseInt(_0x82e982(0xd4))/0xd);if(_0x57dcbf===_0x3b6fb3)break;else _0x1b7c6d['push'](_0x1b7c6d['shift']());}catch(_0x384427){_0x1b7c6d['push'](_0x1b7c6d['shift']());}}}(_0x5a8e,0x9e910));import{ViewCollection as _0x151c1e,FocusCycler as _0x432f45,ButtonView as _0x44731b,View as _0x5a1109}from'ckeditor5/src/ui.js';import{FocusTracker as _0x30c3ef,KeystrokeHandler as _0x10e3f4}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x6dff67}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x19c7c0}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x5f4b88}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x38ed7d}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x11064c}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x4fe04a}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x506e8e}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x1505c6,IconPreviousArrow as _0x764560,IconRefresh as _0x27ac91}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2563cf}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x432c7c}from'../../../aiballoon/ui/aiballoonview.js';function _0x46ad(_0x117cdd,_0x5b675b){const _0x5a8e83=_0x5a8e();return _0x46ad=function(_0x46adf0,_0x522430){_0x46adf0=_0x46adf0-0x8c;let _0xc6de5=_0x5a8e83[_0x46adf0];return _0xc6de5;},_0x46ad(_0x117cdd,_0x5b675b);}import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x586677(0xa7),_0x586677(0xee)];export class AIActionsBalloonView extends _0x432c7c{[_0x586677(0x99)];[_0x586677(0xf3)];[_0x586677(0xc0)];[_0x586677(0x8c)];[_0x586677(0xe4)];[_0x586677(0xd7)];[_0x586677(0x103)];[_0x586677(0x106)];[_0x586677(0xd0)];[_0x586677(0xb2)];[_0x586677(0xad)];[_0x586677(0xa6)];[_0x586677(0xb4)];[_0x586677(0xfc)];[_0x586677(0xb1)];[_0x586677(0x91)];[_0x586677(0xb6)];constructor(_0x5d3a47,_0xa7998a){const _0x3ef219=_0x586677;super(_0x5d3a47),this[_0x3ef219(0xfb)](_0x3ef219(0xe7),!0x1),this[_0x3ef219(0xfb)](_0x3ef219(0xbb),!0x1),this[_0x3ef219(0xfb)](_0x3ef219(0xe9),!0x1),this[_0x3ef219(0xfb)](_0x3ef219(0xd6),!0x1),this[_0x3ef219(0xf3)]=_0xa7998a,this[_0x3ef219(0xd0)]=new _0x30c3ef(),this[_0x3ef219(0xb2)]=new _0x10e3f4(),this[_0x3ef219(0xa6)]=this[_0x3ef219(0xa4)](),this[_0x3ef219(0x99)]=new _0x432f45({'focusables':this[_0x3ef219(0xa6)],'focusTracker':this[_0x3ef219(0xd0)],'keystrokeHandler':this[_0x3ef219(0xb2)],'actions':{'focusPrevious':_0x3ef219(0xf7),'focusNext':_0x3ef219(0xe2)}}),this[_0x3ef219(0xad)]=new _0x151c1e(),this[_0x3ef219(0xdf)](_0xa7998a),this[_0x3ef219(0x9b)](),this[_0x3ef219(0xa1)](_0xa7998a),this[_0x3ef219(0xa6)][_0x3ef219(0xfa)](),this[_0x3ef219(0xa6)][_0x3ef219(0xa9)]([this[_0x3ef219(0xe4)]]),this[_0x3ef219(0xa5)]({'tag':_0x3ef219(0x94),'attributes':{'class':[_0x3ef219(0x104)]},'children':this[_0x3ef219(0xad)]}),this['on'](_0x3ef219(0x9c),()=>{const _0x11a1d5=_0x3ef219;this[_0x11a1d5(0xda)](_0xa7998a);});}[_0x586677(0xe0)](){const _0x23c951=_0x586677;super[_0x23c951(0xe0)]();for(const _0x5143d2 of this[_0x23c951(0xa6)])this[_0x23c951(0xd0)][_0x23c951(0xb3)](_0x5143d2[_0x23c951(0xff)]);this[_0x23c951(0xb2)][_0x23c951(0xe5)](this[_0x23c951(0xff)]),this[_0x23c951(0xc9)]();}[_0x586677(0xf8)](){const _0x506f4e=_0x586677;super[_0x506f4e(0xf8)](),this[_0x506f4e(0xb4)]&&this[_0x506f4e(0xb4)][_0x506f4e(0xf8)]();}[_0x586677(0xe8)](_0x276c82){const _0x2ac560=_0x586677;-0x1===_0x276c82?this[_0x2ac560(0x99)][_0x2ac560(0xc5)]():this[_0x2ac560(0x99)][_0x2ac560(0xf0)]();}[_0x586677(0x96)](_0x3d1f29){const _0x1fae53=_0x586677;this[_0x1fae53(0xe9)]=_0x3d1f29;}[_0x586677(0xce)](){const _0x2b745c=_0x586677;this[_0x2b745c(0xd6)]=!0x0,this[_0x2b745c(0xd7)][_0x2b745c(0xab)](!0x1);}[_0x586677(0xd8)](){const _0x4a35fa=_0x586677;this[_0x4a35fa(0xd6)]=!0x1,this[_0x4a35fa(0xd7)][_0x4a35fa(0xab)](!0x0);}[_0x586677(0xa0)](_0x4bfbba){const _0x53508e=_0x586677;super[_0x53508e(0xa0)](_0x4bfbba),this[_0x53508e(0xad)][_0x53508e(0xbd)](this[_0x53508e(0x92)])||this[_0x53508e(0xad)][_0x53508e(0xb3)](this[_0x53508e(0x92)],0x0);}[_0x586677(0xd1)](){const _0x357295=_0x586677;super[_0x357295(0xd1)](),this[_0x357295(0xd8)]();}[_0x586677(0xa3)](_0x492c59){const _0x38bd47=_0x586677;super[_0x38bd47(0xa3)](_0x492c59),this[_0x38bd47(0xce)]();}[_0x586677(0xd5)](_0x5b88e1){const _0x4f719=_0x586677;this[_0x4f719(0xd7)][_0x4f719(0xc7)][_0x4f719(0xbd)](_0x5b88e1)||this[_0x4f719(0xd7)][_0x4f719(0xc7)][_0x4f719(0xb3)](_0x5b88e1);}[_0x586677(0xc8)](_0x410b90){const _0x6acc68=_0x586677;this[_0x6acc68(0xd7)][_0x6acc68(0xc7)][_0x6acc68(0xbd)](_0x410b90)&&this[_0x6acc68(0xd7)][_0x6acc68(0xc7)][_0x6acc68(0xac)](_0x410b90);}[_0x586677(0xca)](){const _0x2d96f7=_0x586677;this[_0x2d96f7(0x103)]&&(this[_0x2d96f7(0xe9)]=!0x0);}[_0x586677(0x90)](){const _0x169a59=_0x586677;this[_0x169a59(0x103)]&&(this[_0x169a59(0xe9)]=!0x1);}[_0x586677(0xda)]({showApplyButton:_0x9d8e48,showSuggestButton:_0x3ca4ff}){const _0x518f53=_0x586677;_0x9d8e48=_0x9d8e48&&!this[_0x518f53(0xbb)]&&this[_0x518f53(0xf3)][_0x518f53(0xcb)][_0x518f53(0xf2)](_0x518f53(0xa7)),_0x3ca4ff=_0x3ca4ff&&this[_0x518f53(0xf3)][_0x518f53(0xcb)][_0x518f53(0xf2)](_0x518f53(0xee)),this[_0x518f53(0xe4)][_0x518f53(0xc6)]({'showApplyButton':_0x9d8e48,'showSuggestButton':_0x3ca4ff});}async[_0x586677(0xc1)](_0x3665bb){const _0x53a565=_0x586677;await this[_0x53a565(0x8c)][_0x53a565(0xc4)](_0x3665bb);}[_0x586677(0xcf)](){const _0x9f8c2=_0x586677;this[_0x9f8c2(0x8c)][_0x9f8c2(0xfa)]();}[_0x586677(0xdf)](_0x53cc84){const _0x1ced00=_0x586677;this[_0x1ced00(0xc0)]=new _0x5a1109(this[_0x1ced00(0xcd)]),this[_0x1ced00(0xc0)][_0x1ced00(0xa5)]({'tag':_0x1ced00(0x94),'attributes':{'class':[_0x1ced00(0xba)]},'children':[{'tag':_0x1ced00(0x94),'attributes':{'class':[_0x1ced00(0xea)]},'children':[this[_0x1ced00(0xae)](),this[_0x1ced00(0x101)]()]},this[_0x1ced00(0x8e)](_0x53cc84[_0x1ced00(0xec)])]}),this[_0x1ced00(0xad)][_0x1ced00(0xb3)](this[_0x1ced00(0xc0)]);}[_0x586677(0x9b)](){const _0x50866a=_0x586677;this[_0x50866a(0x106)]=new _0x19c7c0(this[_0x50866a(0xcd)]),this[_0x50866a(0xad)][_0x50866a(0xb3)](this[_0x50866a(0x106)]);}[_0x586677(0xa1)]({showApplyButton:_0x162b31,showSuggestButton:_0x3926bf}){const _0x330e1d=_0x586677;this[_0x330e1d(0xe4)]=new _0x6dff67(this[_0x330e1d(0xcd)],_0x162b31,_0x3926bf),this[_0x330e1d(0xe4)][_0x330e1d(0xbc)]?.['on'](_0x330e1d(0xf4),()=>{const _0x202563=_0x330e1d;this[_0x202563(0xb9)](_0x202563(0xa7));}),this[_0x330e1d(0xe4)][_0x330e1d(0xe1)]?.['on'](_0x330e1d(0xf4),()=>{const _0x413581=_0x330e1d;this[_0x413581(0xb9)](_0x413581(0xee));}),this[_0x330e1d(0xe4)][_0x330e1d(0xbf)](_0x330e1d(0xe6))['to'](this,_0x330e1d(0xe7),this,_0x330e1d(0xe9),this,_0x330e1d(0xd6),(_0x3f963d,_0x128780,_0x71fb74)=>!(_0x3f963d||_0x128780||_0x71fb74)),this[_0x330e1d(0xda)]({'showApplyButton':_0x162b31,'showSuggestButton':_0x3926bf}),this[_0x330e1d(0xad)][_0x330e1d(0xb3)](this[_0x330e1d(0xe4)]);}[_0x586677(0x8e)](_0xd4d1a7){const _0x41ab1d=_0x586677;return this[_0x41ab1d(0xd7)]=new _0x38ed7d(this[_0x41ab1d(0xcd)],_0xd4d1a7),this[_0x41ab1d(0xd7)][_0x41ab1d(0xf9)](..._0x11064c)['to'](this),this[_0x41ab1d(0xd7)]['on'](_0x41ab1d(0x100),()=>{const _0x20983f=_0x41ab1d;this[_0x20983f(0xd7)][_0x20983f(0xf6)]=!this[_0x20983f(0xd7)][_0x20983f(0xf6)],this[_0x20983f(0xb9)](_0x20983f(0xef),{'showDiff':this[_0x20983f(0xd7)][_0x20983f(0xf6)]});}),this[_0x41ab1d(0xd7)][_0x41ab1d(0xbf)](_0x41ab1d(0xe6))['to'](this,_0x41ab1d(0xe7),this,_0x41ab1d(0xe9),(_0x38c244,_0x43a43e)=>!(_0x38c244||_0x43a43e)),this[_0x41ab1d(0xd7)];}[_0x586677(0xae)](){const _0x197176=_0x586677;return this[_0x197176(0x103)]=new _0x4fe04a(this[_0x197176(0xcd)]),this[_0x197176(0x103)][_0x197176(0xbf)](_0x197176(0xfe))['to'](this,_0x197176(0xe9)),this[_0x197176(0x103)];}[_0x586677(0x101)](){const _0x16469b=_0x586677;return this[_0x16469b(0x8c)]=new _0x506e8e(this[_0x16469b(0xcd)]),this[_0x16469b(0x8c)];}[_0x586677(0x8f)](){const _0x462598=_0x586677,_0x2208a5=new _0x44731b(this[_0x462598(0xcd)]),_0x1e7d9b=new _0x44731b(this[_0x462598(0xcd)]),_0x2a2c63=new Ln(this[_0x462598(0xcd)]),_0x1e2528=new _0x44731b(this[_0x462598(0xcd)]);_0x2208a5[_0x462598(0xfb)]({'icon':_0x27ac91,'label':_0x2563cf(this[_0x462598(0xcd)],_0x462598(0xd9)),'tooltip':!0x0,'class':_0x462598(0xed)}),_0x1e7d9b[_0x462598(0xfb)]({'icon':_0x764560,'tooltip':_0x2563cf(this[_0x462598(0xcd)],_0x462598(0x9d)),'class':_0x462598(0xb7)}),_0x1e2528[_0x462598(0xfb)]({'icon':_0x1505c6,'tooltip':_0x2563cf(this[_0x462598(0xcd)],_0x462598(0xde)),'class':_0x462598(0x93)}),_0x2208a5[_0x462598(0xbf)](_0x462598(0xe6))['to'](this,_0x462598(0xe7),_0x2a96bf=>!_0x2a96bf),_0x2208a5['on'](_0x462598(0xf4),()=>{const _0x587fe0=_0x462598;this[_0x587fe0(0xb9)](_0x587fe0(0xdc));}),_0x1e7d9b[_0x462598(0xbf)](_0x462598(0xe6))['to'](this,_0x462598(0xe7),_0x3863ce=>!_0x3863ce),_0x1e7d9b['on'](_0x462598(0xf4),()=>{const _0x54e098=_0x462598;this[_0x54e098(0xb9)](_0x54e098(0xdb));}),_0x1e2528[_0x462598(0xbf)](_0x462598(0xe6))['to'](this,_0x462598(0xe7),_0x490a09=>!_0x490a09),_0x1e2528['on'](_0x462598(0xf4),()=>{const _0x302b20=_0x462598;this[_0x302b20(0xb9)](_0x302b20(0xf5));}),this[_0x462598(0xfc)]=_0x1e7d9b,this[_0x462598(0xb6)]=_0x2a2c63,this[_0x462598(0xb1)]=_0x1e2528,this[_0x462598(0x91)]=_0x2208a5;}[_0x586677(0xa2)](_0x50aaeb,_0x5b099f){const _0x3fb08a=_0x586677;this[_0x3fb08a(0xfc)]||this[_0x3fb08a(0x8f)]();const _0x5220ff=_0x50aaeb>0x1;if(this[_0x3fb08a(0xd5)](this[_0x3fb08a(0x91)]),_0x5220ff){this[_0x3fb08a(0xd5)](this[_0x3fb08a(0xfc)]),this[_0x3fb08a(0xd5)](this[_0x3fb08a(0xb6)]),this[_0x3fb08a(0xd5)](this[_0x3fb08a(0xb1)]);const _0x51c4ea=_0x50aaeb-_0x5b099f;this[_0x3fb08a(0xb6)][_0x3fb08a(0x9a)](_0x51c4ea+'/'+_0x50aaeb),this[_0x3fb08a(0xfc)][_0x3fb08a(0xe6)]=_0x5b099f<_0x50aaeb-0x1,this[_0x3fb08a(0xb1)][_0x3fb08a(0xe6)]=_0x5b099f>0x0;}else this[_0x3fb08a(0xc8)](this[_0x3fb08a(0xfc)]),this[_0x3fb08a(0xc8)](this[_0x3fb08a(0xb6)]),this[_0x3fb08a(0xc8)](this[_0x3fb08a(0xb1)]);}[_0x586677(0x97)](){const _0x96ac07=_0x586677;this[_0x96ac07(0x91)][_0x96ac07(0xe6)]=!0x1,this[_0x96ac07(0xfc)][_0x96ac07(0xe6)]=!0x1,this[_0x96ac07(0xb1)][_0x96ac07(0xe6)]=!0x1;}[_0x586677(0x95)](){const _0x1bb9e0=_0x586677;this[_0x1bb9e0(0xc9)](),this[_0x1bb9e0(0xb4)]&&this[_0x1bb9e0(0xb4)][_0x1bb9e0(0x8d)]();}[_0x586677(0xaa)](){const _0xd92c49=_0x586677;this[_0xd92c49(0xb4)]&&this[_0xd92c49(0xb4)][_0xd92c49(0xc2)]();}[_0x586677(0xb8)](_0x116620){const _0x56fd70=_0x586677;this[_0x56fd70(0xe9)]=_0x116620;}[_0x586677(0xa8)](){const _0x148c08=_0x586677;this[_0x148c08(0xd7)][_0x148c08(0xf6)]=!0x1;}[_0x586677(0xc9)](){const _0x3a5fb8=_0x586677,_0x3573a8=this[_0x3a5fb8(0x9e)]();_0x3573a8&&!this[_0x3a5fb8(0xb4)]&&(this[_0x3a5fb8(0xb4)]=new _0x5f4b88(_0x3573a8));}[_0x586677(0x9e)](){const _0x904ebe=_0x586677;return this[_0x904ebe(0x8c)][_0x904ebe(0xff)];}}class Ln extends _0x5a1109{constructor(_0x28a8ae){const _0x5abbe0=_0x586677;super(_0x28a8ae);const _0x3352cb=this[_0x5abbe0(0xaf)];this[_0x5abbe0(0xfb)](_0x5abbe0(0xc3),_0x5abbe0(0xdd)),this[_0x5abbe0(0xa5)]({'tag':_0x5abbe0(0x105),'attributes':{'class':[_0x5abbe0(0xd3)]},'children':[{'text':_0x3352cb['to'](_0x5abbe0(0xc3))}]});}[_0x586677(0x9a)](_0x42fb04){const _0x337047=_0x586677;this[_0x337047(0xfb)](_0x337047(0xc3),_0x42fb04);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3e5343=_0x1d63;(function(_0x40cecb,_0x42fcec){const _0xf487be=_0x1d63,_0x5f08c0=_0x40cecb();while(!![]){try{const _0x58b9e4=-parseInt(_0xf487be(0x16c))/0x1+parseInt(_0xf487be(0x175))/0x2*(parseInt(_0xf487be(0x176))/0x3)+parseInt(_0xf487be(0x16d))/0x4*(-parseInt(_0xf487be(0x17f))/0x5)+-parseInt(_0xf487be(0x172))/0x6*(parseInt(_0xf487be(0x171))/0x7)+parseInt(_0xf487be(0x16e))/0x8+parseInt(_0xf487be(0x17c))/0x9+parseInt(_0xf487be(0x17a))/0xa;if(_0x58b9e4===_0x42fcec)break;else _0x5f08c0['push'](_0x5f08c0['shift']());}catch(_0xa169da){_0x5f08c0['push'](_0x5f08c0['shift']());}}}(_0x4aac,0x8ed44));function _0x1d63(_0x5c9721,_0x2efb07){const _0x4aac0e=_0x4aac();return _0x1d63=function(_0x1d63a1,_0x138e97){_0x1d63a1=_0x1d63a1-0x16c;let _0x4bea31=_0x4aac0e[_0x1d63a1];return _0x4bea31;},_0x1d63(_0x5c9721,_0x2efb07);}import{IconView as _0x2a1a8f,ListItemButtonView as _0x48f484}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x426ebe}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x48f484{[_0x3e5343(0x177)];constructor(_0x3b6cc6,_0x174332){const _0x58feec=_0x3e5343;super(_0x3b6cc6,_0x174332);const _0x1b5c74=this[_0x58feec(0x17b)];this[_0x58feec(0x182)]({'withText':!0x0,'role':_0x58feec(0x180)}),this[_0x58feec(0x177)]=this[_0x58feec(0x179)](),this[_0x58feec(0x17d)]({'attributes':{'class':[_0x58feec(0x178)],'aria-haspopup':!0x0,'aria-expanded':this[_0x58feec(0x17b)]['to'](_0x58feec(0x174),_0xa80855=>String(_0xa80855)),'data-cke-tooltip-disabled':_0x1b5c74['to'](_0x58feec(0x174))},'on':{'mouseenter':_0x1b5c74['to'](_0x58feec(0x183))}});}[_0x3e5343(0x16f)](){const _0x181547=_0x3e5343;super[_0x181547(0x16f)](),this[_0x181547(0x17e)][_0x181547(0x170)](this[_0x181547(0x177)]);}[_0x3e5343(0x179)](){const _0x54dda8=_0x3e5343,_0x4afc72=new _0x2a1a8f();return _0x4afc72[_0x54dda8(0x173)]=_0x426ebe,_0x4afc72[_0x54dda8(0x17d)]({'attributes':{'class':_0x54dda8(0x181)}}),_0x4afc72;}}function _0x4aac(){const _0x5b45e4=['add','504ppEUAl','22932phGlXL','content','isOn','2tkJUKJ','1456662mzZZJJ','arrowView','ck-dropdown-menu-list__nested-menu__button','_createArrowView','5160460JzHEKo','bindTemplate','10395432OqsDgM','extendTemplate','children','10aLWQGZ','menuitem','ck-dropdown-menu-list__nested-menu__button__arrow','set','mouseenter','747047AOfQXR','1541296NoLAeN','1770072qqXJCd','render'];_0x4aac=function(){return _0x5b45e4;};return _0x4aac();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x596f62=_0x58b9;(function(_0x329569,_0x469dec){const _0x2dc6e0=_0x58b9,_0x19c1aa=_0x329569();while(!![]){try{const _0x2a18d0=parseInt(_0x2dc6e0(0x105))/0x1+-parseInt(_0x2dc6e0(0xe4))/0x2+-parseInt(_0x2dc6e0(0xd4))/0x3+parseInt(_0x2dc6e0(0xa6))/0x4*(-parseInt(_0x2dc6e0(0x12a))/0x5)+parseInt(_0x2dc6e0(0xeb))/0x6+-parseInt(_0x2dc6e0(0xb0))/0x7+parseInt(_0x2dc6e0(0xdb))/0x8;if(_0x2a18d0===_0x469dec)break;else _0x19c1aa['push'](_0x19c1aa['shift']());}catch(_0x59be47){_0x19c1aa['push'](_0x19c1aa['shift']());}}}(_0x275a,0x9c2e8));import{ContextPlugin as _0x687573}from'ckeditor5/src/core.js';function _0x58b9(_0x8e25ae,_0x3c0d32){const _0x275adf=_0x275a();return _0x58b9=function(_0x58b958,_0x449226){_0x58b958=_0x58b958-0x9a;let _0x412f09=_0x275adf[_0x58b958];return _0x412f09;},_0x58b9(_0x8e25ae,_0x3c0d32);}import{CKEditorError as _0x2d6d9f,logError as _0x1d5c61,scrollAncestorsToShowTarget as _0x471af0,scrollViewportToShowTarget as _0x42b661}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x628d6a}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x37239f}from'../aicore/utils/common-translations.js';function _0x275a(){const _0x374c14=['showCheckRunResults','updateDocumentData','AIConnector','init','reviewCheckResultAdded','message','143068UxgacP','status','get','ai-review-mode-check-run-chunk-error','changeMarkerHovered','dismissChange','closest','args','leaveReview','_scrollToChange','1303575zYPPXA','changeMarkerRestored','_changeActivationSource','showReviewCompletedView','switchToEdit','ai-review-mode-source-check-not-found','ai-review-mode-models-unable-to-retrieve','showGeneralResultsErrorView','changeMarkerBlurred','_getChecksList','abort','ai-request-aborted','switchToReadOnly','params','requires','setAvailableChecks','ready','map','length','error-general','activateChange','markChangeAsAccepted','change','_onChangeMarkerHovered','loading','restart','_aiReviewCheckList','context','acceptAllChanges','_onChangeMarkerBlurred','ai-review-mode-no-current-check-run','_currentReviewCheckRun','_aiReviewCoreEditing','ck-ai-translate-mode-content','showReviewCheckList','includes','979173qUWOOV','ai-review-mode-check-run-failed','runReviewCheck','reviewCheckResultDeactivated','markChangeAsRejected','finished','result','22031880KNbcMb','_onChangeMarkerRemoved','showNoChangesView','sendRating','isPremiumPlugin','_getChangeContentElement','error-chunk','hideChangeBalloon','subTitle','2552842OhxRBT','showChunkErrorView','startsWith','clearAllMarkers','_markChangePositionInEditorContent','aborted','showCheckRunResult','5700OCXzmo','retryReview','panel','emitter','reviewCheckResultChangeStatusUpdated','document','abortReviewStream','_onReviewCheckResultActivated','isOfficialPlugin','deactivateChange','documentData','_onDeactivateChange','processedResultsCount','getEditor','changeMarkerClicked','_initRequiredPlugins','showActionsWhenResultIsReady','plugins','acceptChange','changes','locale','leaveReviewCoreResultList','markChangeAsPending','markChangeAsOutdated','hasModifications','getChangeElement','67259wCnBTu','setCheckResultTitle','getRoot','reviewCheckResultReady','getCheckById','_aiReviewCoreUi','forceReadyState','_onCheckRunFinished','currentError','data','content','_logError','_diffContent','_getTranslationWithDefault','_onActivateChange','checks','reviewCheckResultActivated','updateChangeState','unmodified','changeId','_onReviewRunLeave','reviewCheckRunUpdated','contentInitial','_onReviewCheckResultDeactivated','listenTo','_createReviewCheckRun','contentNew','stopListening','title','editing','addResultChanges','removeClass','isChangeActive','getActiveChanges','_onChangeMarkerClicked','ai-review-mode-check-run-general-error','finishReview','55KqNEbR','getDocumentData','rejectChange','ck-ai_review-highlights','_aiConnector','.ck-ai_review__check-run-result','_onChangeMarkerRestored','source','getReviewCheckList','ck-ai_review-diff','markAllChangesAsAccepted','_onReviewCheckRun','start','applyChange','view','changeMarkerRemoved','showGeneralReviewCoreErrorView'];_0x275a=function(){return _0x374c14;};return _0x275a();}import{AIConnector as _0x140a9a}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x687573{[_0x596f62(0x12e)];[_0x596f62(0x10a)];[_0x596f62(0xd0)];[_0x596f62(0xca)];[_0x596f62(0xcf)];[_0x596f62(0xb2)]=null;static get[_0x596f62(0xbe)](){return[_0x140a9a];}static get[_0x596f62(0xf3)](){return!0x0;}static get[_0x596f62(0xdf)](){return!0x0;}async[_0x596f62(0xa3)](){const _0x14645f=_0x596f62;this[_0x14645f(0xfa)](),this[_0x14645f(0xca)]=await this[_0x14645f(0xb9)](),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0x132),()=>{const _0x441e72=_0x14645f;this[_0x441e72(0x10a)][_0x441e72(0xbf)](this[_0x441e72(0xca)][_0x441e72(0x114)]);}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xd6),async(_0x138a8c,_0x55937f)=>{const _0x523a26=_0x14645f,_0x25d4e5=this[_0x523a26(0xca)][_0x523a26(0x109)](_0x55937f['id']);if(_0x25d4e5){this[_0x523a26(0x9a)](_0x55937f),this[_0x523a26(0xd0)][_0x523a26(0xbc)](),this[_0x523a26(0xcf)]=this[_0x523a26(0x11e)](_0x55937f,_0x25d4e5),this[_0x523a26(0x10a)][_0x523a26(0x106)](this[_0x523a26(0xcf)][_0x523a26(0x121)],this[_0x523a26(0xcf)][_0x523a26(0xe3)]),this[_0x523a26(0xcf)]['on'](_0x523a26(0x11a),(_0x4da7f2,_0x553725)=>{const _0x59c54c=_0x523a26;switch(_0x553725[_0x59c54c(0xa7)]){case _0x59c54c(0x10e):case _0x59c54c(0xc8):this[_0x59c54c(0x10a)][_0x59c54c(0xa0)](_0x553725);break;case _0x59c54c(0xd9):this[_0x59c54c(0x10c)]();break;case _0x59c54c(0xc0):this[_0x59c54c(0x10a)][_0x59c54c(0xfb)]();break;case _0x59c54c(0x117):this[_0x59c54c(0x10a)][_0x59c54c(0xdd)]();break;case _0x59c54c(0xc3):this[_0x59c54c(0x10a)][_0x59c54c(0xb7)](),this[_0x59c54c(0x110)](new _0x2d6d9f(_0x59c54c(0x128),this,void 0x0,this[_0x59c54c(0xcf)]?.[_0x59c54c(0x10d)]));break;case _0x59c54c(0xe1):this[_0x59c54c(0x10a)][_0x59c54c(0xe5)](),this[_0x59c54c(0x110)](new _0x2d6d9f(_0x59c54c(0xa9),this,void 0x0,this[_0x59c54c(0xcf)]?.[_0x59c54c(0x10d)]));break;case _0x59c54c(0xe9):this[_0x59c54c(0xcf)]&&this[_0x59c54c(0xcf)][_0x59c54c(0xf7)]>0x0?setTimeout(()=>{const _0x152027=_0x59c54c;this[_0x152027(0xcf)]?.[_0x152027(0x10b)]();},0x0):this[_0x59c54c(0x119)](!0x0);}_0x59c54c(0xc0)!==_0x553725[_0x59c54c(0xa7)]&&_0x59c54c(0xe1)!==_0x553725[_0x59c54c(0xa7)]&&_0x59c54c(0xc3)!==_0x553725[_0x59c54c(0xa7)]||this[_0x59c54c(0xcf)]?.[_0x59c54c(0xde)]();}),this[_0x523a26(0xcf)]['on'](_0x523a26(0xa4),(_0x130556,_0x428686)=>{const _0x17d862=_0x523a26;if(!this[_0x17d862(0xcf)])throw new _0x2d6d9f(_0x17d862(0xce),this);const _0x29f8d1=this[_0x17d862(0x111)](_0x428686[_0x17d862(0xda)][_0x17d862(0x11b)],_0x428686[_0x17d862(0xda)][_0x17d862(0x11f)]);_0x428686[_0x17d862(0x131)][_0x17d862(0x123)](_0x428686[_0x17d862(0xda)]['id'],_0x29f8d1);}),this[_0x523a26(0xcf)]['on'](_0x523a26(0x108),(_0x27cb68,_0x37efcf)=>{const _0x33584d=_0x523a26;for(const _0x25f25f of _0x37efcf[_0x33584d(0xfe)])this[_0x33584d(0x10a)][_0x33584d(0xea)](_0x25f25f);this[_0x33584d(0xe8)](_0x37efcf[_0x33584d(0xfe)],_0x37efcf[_0x33584d(0x131)][_0x33584d(0xf5)]);}),this[_0x523a26(0xcf)]['on'](_0x523a26(0xef),(_0x1a17e2,_0x400b6f)=>{const _0x1838d5=_0x523a26;this[_0x1838d5(0x10a)][_0x1838d5(0x116)](_0x400b6f[_0x1838d5(0xc6)]['id'],_0x400b6f[_0x1838d5(0xa7)]);}),this[_0x523a26(0xcf)]['on'](_0x523a26(0x115),(_0x2fb542,_0xcfabc6)=>{const _0xb6e3a8=_0x523a26;this[_0xb6e3a8(0xf2)](_0xcfabc6);}),this[_0x523a26(0xcf)]['on'](_0x523a26(0xd7),()=>{const _0x38d33d=_0x523a26;this[_0x38d33d(0x11c)]();});try{await this[_0x523a26(0xcf)][_0x523a26(0x9b)]();}catch(_0x1248b6){_0x1248b6 instanceof Error&&_0x1248b6[_0x523a26(0xa5)][_0x523a26(0xd3)](_0x523a26(0xbb))||(_0x1248b6 instanceof _0x2d6d9f?this[_0x523a26(0x110)](_0x1248b6):this[_0x523a26(0x110)](new _0x2d6d9f(_0x523a26(0xd5),this,void 0x0,_0x1248b6)));}}else this[_0x523a26(0x110)](new _0x2d6d9f(_0x523a26(0xb5),this,{'checkId':_0x55937f['id']}));}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xae),()=>{const _0x2f376c=_0x14645f;this[_0x2f376c(0x119)]();}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0x100),()=>{const _0x555896=_0x14645f;this[_0x555896(0x119)](!0x0);}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xf1),()=>{const _0x36af2d=_0x14645f;this[_0x36af2d(0xcf)]&&this[_0x36af2d(0xcf)][_0x36af2d(0xba)]();}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0x129),()=>{const _0x53fd1e=_0x14645f;this[_0x53fd1e(0x119)](!0x0);}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xcc),()=>{const _0x5625f3=_0x14645f;if(!this[_0x5625f3(0xcf)])return;const _0xefb048=this[_0x5625f3(0xcf)][_0x5625f3(0x126)]();if(!_0xefb048[_0x5625f3(0xc2)])return;this[_0x5625f3(0xd0)][_0x5625f3(0x9c)](_0xefb048[_0x5625f3(0xc1)](_0x56ee71=>_0x56ee71['id']));const _0x571a3b=this[_0x5625f3(0xcf)];_0x571a3b[_0x5625f3(0x134)](),_0x571a3b[_0x5625f3(0xde)]();}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xfd),(_0x25c19f,_0x1b430b)=>{const _0x13d60b=_0x14645f;this[_0x13d60b(0xcf)]&&this[_0x13d60b(0xcf)][_0x13d60b(0x125)](_0x1b430b['id'])&&(this[_0x13d60b(0xd0)][_0x13d60b(0x9c)]([_0x1b430b['id']]),this[_0x13d60b(0xcf)][_0x13d60b(0xc5)](_0x1b430b['id']),this[_0x13d60b(0x10a)][_0x13d60b(0xe2)](),this[_0x13d60b(0xcf)][_0x13d60b(0xde)](_0x1b430b['id']));}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xab),(_0x1962e6,_0x202220)=>{const _0x1a7f01=_0x14645f;this[_0x1a7f01(0xcf)]&&this[_0x1a7f01(0xcf)][_0x1a7f01(0x125)](_0x202220['id'])&&(this[_0x1a7f01(0xd0)][_0x1a7f01(0x12c)](_0x202220['id']),this[_0x1a7f01(0xcf)][_0x1a7f01(0xd8)](_0x202220['id']),this[_0x1a7f01(0x10a)][_0x1a7f01(0xe2)](),this[_0x1a7f01(0xcf)][_0x1a7f01(0xde)](_0x202220['id']));}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xec),async()=>{const _0x5d4703=_0x14645f;this[_0x5d4703(0xcf)]&&(this[_0x5d4703(0xd0)][_0x5d4703(0xe7)](),this[_0x5d4703(0xcf)][_0x5d4703(0xa1)](this[_0x5d4703(0xd0)][_0x5d4703(0x12b)]()),await this[_0x5d4703(0xcf)][_0x5d4703(0xc9)]());}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xc4),(_0x574c75,_0x83c948)=>{const _0x1b0ea8=_0x14645f;this[_0x1b0ea8(0x113)](_0x83c948);}),this[_0x14645f(0x11d)](this[_0x14645f(0x10a)],_0x14645f(0xf4),(_0xbf7382,_0x36e0dd)=>{const _0xef1128=_0x14645f;this[_0xef1128(0xf6)](_0x36e0dd);}),this[_0x14645f(0x11d)](this[_0x14645f(0xd0)][_0x14645f(0xee)],_0x14645f(0xf9),(_0x61a97b,_0x1ddc0a)=>{const _0x504c4d=_0x14645f;this[_0x504c4d(0x127)](_0x61a97b,_0x1ddc0a);}),this[_0x14645f(0x11d)](this[_0x14645f(0xd0)][_0x14645f(0xee)],_0x14645f(0xaa),(_0x38ccd3,_0x4d49b9)=>{const _0xdb4dcf=_0x14645f;this[_0xdb4dcf(0xc7)](_0x38ccd3,_0x4d49b9);}),this[_0x14645f(0x11d)](this[_0x14645f(0xd0)][_0x14645f(0xee)],_0x14645f(0xb8),()=>{const _0x905c1f=_0x14645f;this[_0x905c1f(0xcd)]();}),this[_0x14645f(0x11d)](this[_0x14645f(0xd0)][_0x14645f(0xee)],_0x14645f(0x9e),(_0x333034,_0x1e714c)=>{const _0x372f78=_0x14645f;this[_0x372f78(0xdc)](_0x333034,_0x1e714c);}),this[_0x14645f(0x11d)](this[_0x14645f(0xd0)][_0x14645f(0xee)],_0x14645f(0xb1),(_0x343780,_0x8c2c94)=>{const _0x1089a6=_0x14645f;this[_0x1089a6(0x130)](_0x343780,_0x8c2c94);});}[_0x596f62(0x11e)](_0x11bae5,_0x5877b3){const _0x3abe1e=_0x596f62;return new _0x628d6a(this[_0x3abe1e(0xd0)][_0x3abe1e(0x12b)](),_0x5877b3,this[_0x3abe1e(0x12e)],_0x11bae5[_0x3abe1e(0xbd)],_0x11bae5[_0x3abe1e(0xad)]);}[_0x596f62(0xdc)](_0x3472f7,_0x4ae7f1){const _0x237f07=_0x596f62;this[_0x237f07(0xcf)]&&this[_0x237f07(0xcf)][_0x237f07(0x102)](_0x4ae7f1[_0x237f07(0x118)]);}[_0x596f62(0x130)](_0x16ae6c,_0x336aee){const _0x10d8cf=_0x596f62;this[_0x10d8cf(0xcf)]&&this[_0x10d8cf(0xcf)][_0x10d8cf(0x101)](_0x336aee[_0x10d8cf(0x118)]);}[_0x596f62(0x10c)](){const _0x3a8a97=_0x596f62;this[_0x3a8a97(0x10a)][_0x3a8a97(0xb3)]();}[_0x596f62(0xfa)](){const _0x438f6e=_0x596f62;this[_0x438f6e(0x12e)]=this[_0x438f6e(0xcb)][_0x438f6e(0xfc)][_0x438f6e(0xa8)](_0x438f6e(0xa2));}[_0x596f62(0x119)](_0x382aed=!0x1){const _0x43ca25=_0x596f62;this[_0x43ca25(0xcf)]&&(this[_0x43ca25(0xcf)][_0x43ca25(0x103)]||this[_0x43ca25(0xcf)][_0x43ca25(0xde)](),this[_0x43ca25(0xcf)][_0x43ca25(0x120)](),this[_0x43ca25(0xcf)][_0x43ca25(0xba)](),this[_0x43ca25(0xcf)]=void 0x0),_0x382aed&&this[_0x43ca25(0x10a)][_0x43ca25(0xd2)](),this[_0x43ca25(0xd0)][_0x43ca25(0xe7)](),this[_0x43ca25(0xd0)][_0x43ca25(0xb4)](),this[_0x43ca25(0xb2)]=null;const _0x532f7e=this[_0x43ca25(0xd0)][_0x43ca25(0xf8)]();_0x532f7e&&_0x532f7e[_0x43ca25(0x122)][_0x43ca25(0x9d)][_0x43ca25(0xc6)](_0xd2e491=>{const _0x2b344e=_0x43ca25,_0x540168=_0x532f7e[_0x2b344e(0x122)][_0x2b344e(0x9d)][_0x2b344e(0xf0)][_0x2b344e(0x107)]();_0xd2e491[_0x2b344e(0x124)](_0x2b344e(0x133),_0x540168),_0xd2e491[_0x2b344e(0x124)](_0x2b344e(0x12d),_0x540168),_0xd2e491[_0x2b344e(0x124)](_0x2b344e(0xd1),_0x540168);});}[_0x596f62(0x112)](_0x458cd8,_0x382b97){const _0x4e3e1f=_0x596f62,_0x1b447b=this[_0x4e3e1f(0xcb)][_0x4e3e1f(0xff)],_0x12f0c5=_0x37239f(_0x1b447b,_0x458cd8);return _0x12f0c5===_0x458cd8?_0x382b97:_0x12f0c5;}[_0x596f62(0x110)](_0x32bffe,_0x15f4ad=!0x1){const _0x1e14b9=_0x596f62;_0x1d5c61(_0x32bffe[_0x1e14b9(0xa5)]),_0x15f4ad||(_0x32bffe[_0x1e14b9(0xa5)][_0x1e14b9(0xe6)](_0x1e14b9(0xb6))?this[_0x1e14b9(0x10a)][_0x1e14b9(0x9f)]():this[_0x1e14b9(0x10a)][_0x1e14b9(0xb7)]());}[_0x596f62(0xaf)](_0x494c1c){const _0x542a06=_0x596f62;if(_0x542a06(0x10f)===this[_0x542a06(0xb2)]){const _0x33bddd=this[_0x542a06(0x10a)][_0x542a06(0x104)](_0x494c1c);_0x33bddd&&_0x471af0(_0x33bddd[_0x542a06(0xac)](_0x542a06(0x12f))||_0x33bddd);}else{if(_0x542a06(0xed)===this[_0x542a06(0xb2)]){const _0x41f52c=this[_0x542a06(0xe0)](_0x494c1c);if(!_0x41f52c)return;_0x42b661({'target':_0x41f52c,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
23
|
+
const _0x5d5029=_0x4529;(function(_0x5c591b,_0x422f2b){const _0x5a8cb4=_0x4529,_0x2c5e89=_0x5c591b();while(!![]){try{const _0x1b71f0=-parseInt(_0x5a8cb4(0x10d))/0x1+parseInt(_0x5a8cb4(0x174))/0x2+-parseInt(_0x5a8cb4(0x115))/0x3*(parseInt(_0x5a8cb4(0xe8))/0x4)+-parseInt(_0x5a8cb4(0x145))/0x5+-parseInt(_0x5a8cb4(0xec))/0x6+parseInt(_0x5a8cb4(0x160))/0x7*(parseInt(_0x5a8cb4(0x128))/0x8)+-parseInt(_0x5a8cb4(0x161))/0x9*(-parseInt(_0x5a8cb4(0xf6))/0xa);if(_0x1b71f0===_0x422f2b)break;else _0x2c5e89['push'](_0x2c5e89['shift']());}catch(_0x5bbb43){_0x2c5e89['push'](_0x2c5e89['shift']());}}}(_0x1364,0x53b5e));import{ContextPlugin as _0xd24279}from'ckeditor5/src/core.js';function _0x4529(_0x3ecb79,_0xb377ec){const _0x1364fd=_0x1364();return _0x4529=function(_0x45291d,_0x1e5ff2){_0x45291d=_0x45291d-0xdd;let _0x23b336=_0x1364fd[_0x45291d];return _0x23b336;},_0x4529(_0x3ecb79,_0xb377ec);}import{CKEditorError as _0x1426e9,logError as _0x65d2,scrollAncestorsToShowTarget as _0x444504,scrollViewportToShowTarget as _0x3e9f65}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x155c14}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x383443}from'../aicore/utils/common-translations.js';import{AIConnector as _0x159209}from'../aicore/aiconnector.js';function _0x1364(){const _0x717767=['_aiConnector','reviewCheckResultReady','map','error-chunk','_onChangeMarkerRestored','currentError','showGeneralReviewCoreErrorView','ck-ai_review-diff','ai-review-mode-check-run-general-error','message','documentData','1679070egxfSj','dismissChange','error-general','_onChangeMarkerRemoved','markChangeAsPending','_getChangeContentElement','ck-ai_review-highlights','isOfficialPlugin','ai-review-mode-source-check-not-found','_onReviewRunLeave','markAllChangesAsAccepted','editing','getCheckById','isPremiumPlugin','data','showCheckRunResult','showNoChangesView','ai-review-mode-models-unable-to-retrieve','_onCheckRunFinished','abortReviewStream','getChangeElement','markChangeAsAccepted','init','checks','reviewCheckResultAdded','length','locale','14RfPPyA','4325778osxuvx','status','acceptChange','reviewCheckResultActivated','_onDeactivateChange','source','applyChange','get','retryReview','updateChangeState','_onReviewCheckRun','document','showReviewCompletedView','_onChangeMarkerHovered','_getTranslationWithDefault','aborted','activateChange','plugins','args','1317312YYjkRm','changeMarkerBlurred','finishReview','requires','ck-ai-translate-mode-content','getRoot','forceReadyState','title','showReviewCheckList','_onReviewCheckResultDeactivated','finished','showActionsWhenResultIsReady','startsWith','hasModifications','_logError','context','start','4GGTEPd','setCheckResultTitle','ai-request-aborted','changeMarkerRemoved','973194PDnbLq','_aiReviewCoreEditing','change','_diffContent','includes','_markChangePositionInEditorContent','removeClass','_initRequiredPlugins','changeMarkerHovered','stopListening','10bIPXpw','reviewCheckResultDeactivated','markChangeAsOutdated','unmodified','leaveReview','result','_aiReviewCheckList','runReviewCheck','contentInitial','ai-review-mode-no-current-check-run','_aiReviewCoreUi','subTitle','panel','_changeActivationSource','reviewCheckRunUpdated','changeId','listenTo','_scrollToChange','reviewCheckResultChangeStatusUpdated','loading','_createReviewCheckRun','emitter','.ck-ai_review__check-run-result','588010winAai','showChunkErrorView','setAvailableChecks','ai-review-mode-check-run-failed','getEditor','ai-review-mode-check-run-chunk-error','_currentReviewCheckRun','closest','538449dxUVoa','changeMarkerClicked','switchToEdit','deactivateChange','changes','getDocumentData','isChangeActive','_onReviewCheckResultActivated','rejectChange','restart','content','changeMarkerRestored','abort','clearAllMarkers','_onChangeMarkerBlurred','showCheckRunResults','switchToReadOnly','processedResultsCount','updateDocumentData','1876344ikZtGr','view','hideChangeBalloon','_onChangeMarkerClicked','params','showGeneralResultsErrorView','sendRating','leaveReviewCoreResultList','_onActivateChange','AIConnector','contentNew','ready','getActiveChanges','getReviewCheckList','markChangeAsRejected','addResultChanges','acceptAllChanges','_getChecksList'];_0x1364=function(){return _0x717767;};return _0x1364();}export class AIReviewCoreController extends _0xd24279{[_0x5d5029(0x13a)];[_0x5d5029(0x100)];[_0x5d5029(0xed)];[_0x5d5029(0xfc)];[_0x5d5029(0x113)];[_0x5d5029(0x103)]=null;static get[_0x5d5029(0x177)](){return[_0x159209];}static get[_0x5d5029(0x14c)](){return!0x0;}static get[_0x5d5029(0x152)](){return!0x0;}async[_0x5d5029(0x15b)](){const _0x4920fb=_0x5d5029;this[_0x4920fb(0xf3)](),this[_0x4920fb(0xfc)]=await this[_0x4920fb(0x139)](),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x135),()=>{const _0x2076cc=_0x4920fb;this[_0x2076cc(0x100)][_0x2076cc(0x10f)](this[_0x2076cc(0xfc)][_0x2076cc(0x15c)]);}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0xfd),async(_0x4f127a,_0x2a013b)=>{const _0x465d38=_0x4920fb,_0xa15fc8=this[_0x465d38(0xfc)][_0x465d38(0x151)](_0x2a013b['id']);if(_0xa15fc8){this[_0x465d38(0x16b)](_0x2a013b),this[_0x465d38(0xed)][_0x465d38(0x125)](),this[_0x465d38(0x113)]=this[_0x465d38(0x10a)](_0x2a013b,_0xa15fc8),this[_0x465d38(0x100)][_0x465d38(0xe9)](this[_0x465d38(0x113)][_0x465d38(0xde)],this[_0x465d38(0x113)][_0x465d38(0x101)]),this[_0x465d38(0x113)]['on'](_0x465d38(0x104),(_0x2bdd2a,_0x32c7cc)=>{const _0x25af7e=_0x465d38;switch(_0x32c7cc[_0x25af7e(0x162)]){case _0x25af7e(0x153):case _0x25af7e(0x109):this[_0x25af7e(0x100)][_0x25af7e(0x124)](_0x32c7cc);break;case _0x25af7e(0xe1):this[_0x25af7e(0x157)]();break;case _0x25af7e(0x133):this[_0x25af7e(0x100)][_0x25af7e(0xe2)]();break;case _0x25af7e(0xf9):this[_0x25af7e(0x100)][_0x25af7e(0x155)]();break;case _0x25af7e(0x147):this[_0x25af7e(0x100)][_0x25af7e(0x12d)](),this[_0x25af7e(0xe5)](new _0x1426e9(_0x25af7e(0x142),this,void 0x0,this[_0x25af7e(0x113)]?.[_0x25af7e(0x13f)]));break;case _0x25af7e(0x13d):this[_0x25af7e(0x100)][_0x25af7e(0x10e)](),this[_0x25af7e(0xe5)](new _0x1426e9(_0x25af7e(0x112),this,void 0x0,this[_0x25af7e(0x113)]?.[_0x25af7e(0x13f)]));break;case _0x25af7e(0x170):this[_0x25af7e(0x113)]&&this[_0x25af7e(0x113)][_0x25af7e(0x126)]>0x0?setTimeout(()=>{const _0x1cfc76=_0x25af7e;this[_0x1cfc76(0x113)]?.[_0x1cfc76(0xdd)]();},0x0):this[_0x25af7e(0x14e)](!0x0);}_0x25af7e(0x133)!==_0x32c7cc[_0x25af7e(0x162)]&&_0x25af7e(0x13d)!==_0x32c7cc[_0x25af7e(0x162)]&&_0x25af7e(0x147)!==_0x32c7cc[_0x25af7e(0x162)]||this[_0x25af7e(0x113)]?.[_0x25af7e(0x12e)]();}),this[_0x465d38(0x113)]['on'](_0x465d38(0x15d),(_0x4d0bf5,_0x20c664)=>{const _0x57aea8=_0x465d38;if(!this[_0x57aea8(0x113)])throw new _0x1426e9(_0x57aea8(0xff),this);const _0x1c80cd=this[_0x57aea8(0xef)](_0x20c664[_0x57aea8(0xfb)][_0x57aea8(0xfe)],_0x20c664[_0x57aea8(0xfb)][_0x57aea8(0x132)]);_0x20c664[_0x57aea8(0x166)][_0x57aea8(0x137)](_0x20c664[_0x57aea8(0xfb)]['id'],_0x1c80cd);}),this[_0x465d38(0x113)]['on'](_0x465d38(0x13b),(_0x37843a,_0x59f0d4)=>{const _0x2892ff=_0x465d38;for(const _0x80339b of _0x59f0d4[_0x2892ff(0x119)])this[_0x2892ff(0x100)][_0x2892ff(0x154)](_0x80339b);this[_0x2892ff(0xf1)](_0x59f0d4[_0x2892ff(0x119)],_0x59f0d4[_0x2892ff(0x166)][_0x2892ff(0x144)]);}),this[_0x465d38(0x113)]['on'](_0x465d38(0x108),(_0x10d9eb,_0x340204)=>{const _0x5ed35c=_0x465d38;this[_0x5ed35c(0x100)][_0x5ed35c(0x16a)](_0x340204[_0x5ed35c(0xee)]['id'],_0x340204[_0x5ed35c(0x162)]);}),this[_0x465d38(0x113)]['on'](_0x465d38(0x164),(_0x2ad943,_0x2aed67)=>{const _0x277635=_0x465d38;this[_0x277635(0x11c)](_0x2aed67);}),this[_0x465d38(0x113)]['on'](_0x465d38(0xf7),()=>{const _0x3dc8c5=_0x465d38;this[_0x3dc8c5(0xe0)]();});try{await this[_0x465d38(0x113)][_0x465d38(0xe7)]();}catch(_0x4d51e7){_0x4d51e7 instanceof Error&&_0x4d51e7[_0x465d38(0x143)][_0x465d38(0xf0)](_0x465d38(0xea))||(_0x4d51e7 instanceof _0x1426e9?this[_0x465d38(0xe5)](_0x4d51e7):this[_0x465d38(0xe5)](new _0x1426e9(_0x465d38(0x110),this,void 0x0,_0x4d51e7)));}}else this[_0x465d38(0xe5)](new _0x1426e9(_0x465d38(0x14d),this,{'checkId':_0x2a013b['id']}));}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0xfa),()=>{const _0x175518=_0x4920fb;this[_0x175518(0x14e)]();}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x12f),()=>{const _0x25cbb3=_0x4920fb;this[_0x25cbb3(0x14e)](!0x0);}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x158),()=>{const _0x33e538=_0x4920fb;this[_0x33e538(0x113)]&&this[_0x33e538(0x113)][_0x33e538(0x121)]();}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x176),()=>{const _0x3c68e0=_0x4920fb;this[_0x3c68e0(0x14e)](!0x0);}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x138),()=>{const _0x43b830=_0x4920fb;if(!this[_0x43b830(0x113)])return;const _0x39e2c4=this[_0x43b830(0x113)][_0x43b830(0x134)]();if(!_0x39e2c4[_0x43b830(0x15e)])return;this[_0x43b830(0xed)][_0x43b830(0x167)](_0x39e2c4[_0x43b830(0x13c)](_0x26b81e=>_0x26b81e['id']));const _0x35ff65=this[_0x43b830(0x113)];_0x35ff65[_0x43b830(0x14f)](),_0x35ff65[_0x43b830(0x12e)]();}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x163),(_0x4e994e,_0x795cb9)=>{const _0x228bef=_0x4920fb;this[_0x228bef(0x113)]&&this[_0x228bef(0x113)][_0x228bef(0x11b)](_0x795cb9['id'])&&(this[_0x228bef(0xed)][_0x228bef(0x167)]([_0x795cb9['id']]),this[_0x228bef(0x113)][_0x228bef(0x15a)](_0x795cb9['id']),this[_0x228bef(0x100)][_0x228bef(0x12a)](),this[_0x228bef(0x113)][_0x228bef(0x12e)](_0x795cb9['id']));}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x146),(_0x8782a1,_0x17199d)=>{const _0xb75afa=_0x4920fb;this[_0xb75afa(0x113)]&&this[_0xb75afa(0x113)][_0xb75afa(0x11b)](_0x17199d['id'])&&(this[_0xb75afa(0xed)][_0xb75afa(0x11d)](_0x17199d['id']),this[_0xb75afa(0x113)][_0xb75afa(0x136)](_0x17199d['id']),this[_0xb75afa(0x100)][_0xb75afa(0x12a)](),this[_0xb75afa(0x113)][_0xb75afa(0x12e)](_0x17199d['id']));}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x169),async()=>{const _0xbad52e=_0x4920fb;this[_0xbad52e(0x113)]&&(this[_0xbad52e(0xed)][_0xbad52e(0x122)](),this[_0xbad52e(0x113)][_0xbad52e(0x127)](this[_0xbad52e(0xed)][_0xbad52e(0x11a)]()),await this[_0xbad52e(0x113)][_0xbad52e(0x11e)]());}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x171),(_0x596a44,_0x52d733)=>{const _0x33e497=_0x4920fb;this[_0x33e497(0x130)](_0x52d733);}),this[_0x4920fb(0x106)](this[_0x4920fb(0x100)],_0x4920fb(0x118),(_0x24627e,_0x38fb58)=>{const _0x36ce25=_0x4920fb;this[_0x36ce25(0x165)](_0x38fb58);}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0x116),(_0x1f53a6,_0x1a1893)=>{const _0x5f33f3=_0x4920fb;this[_0x5f33f3(0x12b)](_0x1f53a6,_0x1a1893);}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0xf4),(_0xb869cc,_0x4c2c76)=>{const _0x4fae4d=_0x4920fb;this[_0x4fae4d(0x16e)](_0xb869cc,_0x4c2c76);}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0x175),()=>{const _0xe978bb=_0x4920fb;this[_0xe978bb(0x123)]();}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0xeb),(_0x4a698a,_0x480331)=>{const _0x24ef9a=_0x4920fb;this[_0x24ef9a(0x148)](_0x4a698a,_0x480331);}),this[_0x4920fb(0x106)](this[_0x4920fb(0xed)][_0x4920fb(0x10b)],_0x4920fb(0x120),(_0x2e928d,_0x47e36a)=>{const _0x5ae428=_0x4920fb;this[_0x5ae428(0x13e)](_0x2e928d,_0x47e36a);});}[_0x5d5029(0x10a)](_0xa18f30,_0x15619c){const _0x20404d=_0x5d5029;return new _0x155c14(this[_0x20404d(0xed)][_0x20404d(0x11a)](),_0x15619c,this[_0x20404d(0x13a)],_0xa18f30[_0x20404d(0x12c)],_0xa18f30[_0x20404d(0x173)]);}[_0x5d5029(0x148)](_0x257ecf,_0x5183a2){const _0x2e4c9a=_0x5d5029;this[_0x2e4c9a(0x113)]&&this[_0x2e4c9a(0x113)][_0x2e4c9a(0xf8)](_0x5183a2[_0x2e4c9a(0x105)]);}[_0x5d5029(0x13e)](_0x23b26e,_0x4dd3d0){const _0xb7083c=_0x5d5029;this[_0xb7083c(0x113)]&&this[_0xb7083c(0x113)][_0xb7083c(0x149)](_0x4dd3d0[_0xb7083c(0x105)]);}[_0x5d5029(0x157)](){const _0x1a7398=_0x5d5029;this[_0x1a7398(0x100)][_0x1a7398(0x16d)]();}[_0x5d5029(0xf3)](){const _0x2d7960=_0x5d5029;this[_0x2d7960(0x13a)]=this[_0x2d7960(0xe6)][_0x2d7960(0x172)][_0x2d7960(0x168)](_0x2d7960(0x131));}[_0x5d5029(0x14e)](_0x2987b4=!0x1){const _0xae205f=_0x5d5029;this[_0xae205f(0x113)]&&(this[_0xae205f(0x113)][_0xae205f(0xe4)]||this[_0xae205f(0x113)][_0xae205f(0x12e)](),this[_0xae205f(0x113)][_0xae205f(0xf5)](),this[_0xae205f(0x113)][_0xae205f(0x121)](),this[_0xae205f(0x113)]=void 0x0),_0x2987b4&&this[_0xae205f(0x100)][_0xae205f(0xdf)](),this[_0xae205f(0xed)][_0xae205f(0x122)](),this[_0xae205f(0xed)][_0xae205f(0x117)](),this[_0xae205f(0x103)]=null;const _0x1b7182=this[_0xae205f(0xed)][_0xae205f(0x111)]();_0x1b7182&&_0x1b7182[_0xae205f(0x150)][_0xae205f(0x129)][_0xae205f(0xee)](_0x42fb9a=>{const _0x5622bb=_0xae205f,_0x40b9aa=_0x1b7182[_0x5622bb(0x150)][_0x5622bb(0x129)][_0x5622bb(0x16c)][_0x5622bb(0x179)]();_0x42fb9a[_0x5622bb(0xf2)](_0x5622bb(0x141),_0x40b9aa),_0x42fb9a[_0x5622bb(0xf2)](_0x5622bb(0x14b),_0x40b9aa),_0x42fb9a[_0x5622bb(0xf2)](_0x5622bb(0x178),_0x40b9aa);});}[_0x5d5029(0x16f)](_0x3d9e03,_0x109b5e){const _0x4121f6=_0x5d5029,_0x2d313b=this[_0x4121f6(0xe6)][_0x4121f6(0x15f)],_0x2fb4ce=_0x383443(_0x2d313b,_0x3d9e03);return _0x2fb4ce===_0x3d9e03?_0x109b5e:_0x2fb4ce;}[_0x5d5029(0xe5)](_0x5b700b,_0x58a53e=!0x1){const _0x403cd4=_0x5d5029;_0x65d2(_0x5b700b[_0x403cd4(0x143)]),_0x58a53e||(_0x5b700b[_0x403cd4(0x143)][_0x403cd4(0xe3)](_0x403cd4(0x156))?this[_0x403cd4(0x100)][_0x403cd4(0x140)]():this[_0x403cd4(0x100)][_0x403cd4(0x12d)]());}[_0x5d5029(0x107)](_0x75bc95){const _0x4a1cf9=_0x5d5029;if(_0x4a1cf9(0x11f)===this[_0x4a1cf9(0x103)]){const _0xb08678=this[_0x4a1cf9(0x100)][_0x4a1cf9(0x159)](_0x75bc95);_0xb08678&&_0x444504(_0xb08678[_0x4a1cf9(0x114)](_0x4a1cf9(0x10c))||_0xb08678);}else{if(_0x4a1cf9(0x102)===this[_0x4a1cf9(0x103)]){const _0x336430=this[_0x4a1cf9(0x14a)](_0x75bc95);if(!_0x336430)return;_0x3e9f65({'target':_0x336430,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xab2974=_0x2844;function _0x2844(_0x13701a,_0x48176b){const _0x333fc3=_0x333f();return _0x2844=function(_0x284454,_0x19a46a){_0x284454=_0x284454-0x11b;let _0x4ef4bc=_0x333fc3[_0x284454];return _0x4ef4bc;},_0x2844(_0x13701a,_0x48176b);}(function(_0x3a19c3,_0xa78a54){const _0x55fc95=_0x2844,_0x1aa46a=_0x3a19c3();while(!![]){try{const _0x27dfd0=-parseInt(_0x55fc95(0x1f8))/0x1*(parseInt(_0x55fc95(0x14d))/0x2)+-parseInt(_0x55fc95(0x18a))/0x3*(parseInt(_0x55fc95(0x166))/0x4)+-parseInt(_0x55fc95(0x130))/0x5*(-parseInt(_0x55fc95(0x1e8))/0x6)+parseInt(_0x55fc95(0x1a4))/0x7+-parseInt(_0x55fc95(0x216))/0x8*(-parseInt(_0x55fc95(0x1e0))/0x9)+-parseInt(_0x55fc95(0x1f7))/0xa*(-parseInt(_0x55fc95(0x150))/0xb)+parseInt(_0x55fc95(0x134))/0xc*(-parseInt(_0x55fc95(0x1a7))/0xd);if(_0x27dfd0===_0xa78a54)break;else _0x1aa46a['push'](_0x1aa46a['shift']());}catch(_0x40ff88){_0x1aa46a['push'](_0x1aa46a['shift']());}}}(_0x333f,0x45791));import{InsertOperation as _0x1053f3,MarkerOperation as _0x208867,ModelDocumentFragment as _0x4ed892,ModelPosition as _0x38ab12,ModelRange as _0x453e35,ModelTreeWalker as _0xd2545d,transformOperationSets as _0x4fa679}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x1934ef,EmitterMixin as _0x5b87be,uid as _0x28a19f}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5a5e2d}from'ckeditor5/src/core.js';import{DocumentCompare as _0x4a3b58,DATA_ID_MODEL_ATTRIBUTE as _0x1238c8,DATA_ID_VIEW_ATTRIBUTE as _0x20dd54,getMarkerDomElement as _0x84d1f}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x5ba687}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4f1aae}from'../aicore/aiediting.js';import{debounce as _0x37fff7}from'es-toolkit/compat';const fe=_0xab2974(0x135);function _0x333f(){const _0x8cb2c6=['isPremiumPlugin','getRange','setMarkersInElementAsActive','getChildren','_setAttribute','_domEmitter','conversion','8820ggmPnG','ellipsisAfter','mouseup','set','_getMarkersDataForGroup','listenTo','ck-ai_review-marker_add','target','switchToEdit','createPositionAfter','from','getChild','howMany','querySelector','[data-marker-id=\x22','14900sXXJKC','187957TaXBqs','$graveyard','_groupAdjacentOperations','version','getMarkerElementForChange','getEditor','exec','_hasSameTopLevelElement','parentElement','_findMarkerElementById','ck-ai_review__change_active','markerToElement','_parseMarkerName','add','_createGetContentFn','documentFragment','_findMarkerElement','document','newRange','AIEditing','forEach','length','$textProxy','split','path','changeMarkerHovered','remove-text','_appendChild','plugins','marker','3651992ngKZNK','clone','getEditableElement','requires','getHtml','createUIElement','getChangedMarkers','afterInit','sort','isBlock','\x20ck-ai_review__change_active','differ','getShiftedBy','_sortMarkers','hasAttribute','_getChangeContext','groupId','$markedRemove:synthetic','changeMarkerRemoved','.ck-reset.ck-ai_review-balloon-panel-suggestion','createSelection','createPositionAt','changeMarkerRestored','pop','batch','size','createRawElement','pluginName','createRange','_changeOperationOwnerDocument','startsWith','ck-ai_review-marker_hide','flat','hasContentAfter','childCount','innerHTML','_changeRange','downcast','getDomRoot','_markers','_getOperationStart','changeMarkerBlurred','isOfficialPlugin','1390TvlIqS','type','rejectChange','push','5059596ZNsjXO','review-','view','_removeAttribute','containerElement','_shiftOperation','toData','keys','ai-review','rootName','every','model','isLimit','getRoot','parse','markerToHighlight','changeMarkerClicked','getOperations','getAttribute','context','$markedRemove','clear','values','ck-ai_review-marker_strikethrough','createRangeOn','2stCtes','_clone','parent','1034Oxuvxu','$root','_nextDataId','suggestion:deletion:id:authorId:','markers','ck-ai_review-marker_underline','suggestion:insertion:id:authorId:','No\x20element\x20found\x20for\x20ID:\x20','fire','toDomElement','includes','backward','asString','getDiff','remove-only','_translateOperationToEditorContent','closest','reactivateMarkers','operationsA','insertContent','_handleMarkerChanges','nodes','8kZOSXU','applyChange','isIntersecting','toView','body','htmlWriter','ck-ai_review-marker_context-end','ellipsisBefore','_findAdjacentContextDistance','setAllMarkersAsInactive','index','registerPostFixer','_activeMarkers','baseVersion','append','getRoots','applyOperation','has','clearAllMarkers','for','forward','data','$documentFragment','oldRange','get','concat','[data-id=\x22','history','element','markChangePositionInEditorContent','htmlProcessor','relatedTarget','disableReadOnlyMode','_haveSingleTopLevelElement','mouseover','end','278961PeDUNj','isOpening','isTouching','ck-ai_review-marker_context-','editing','attributeToAttribute','_upsertDataId','getDocumentData','schema','_getPositionLimitingRange','containsRange','editingDowncast','addOperation','dataDowncast','_getOperationEnd','removeMarker','jumpTo','warn','_validateMarkers','processor','className','switchToReadOnly','asFragment','_removeChildren','map','root','524342IVKUAI','addMarker','isDocumentOperation','13RZSYLW','change','enableReadOnlyMode','getChanges','_createGetContextFn','_changePosition','affectsData','operations','isAtStart','hasContentBefore','delete','createRangeIn','_insertMarkers','hasClass','_haveOnlyInlineContent','createDocumentFragment','diffContent','ck-ai_review-marker_','join','getContentElementForChange','span','_changeRangeOwnerDocument','ck-ai_review-marker_context-start','remove-context','remove','offsetSize','outerHTML','suggestion-context','markerName','reconvertMarker','start','position','elements','offset','domConverter','inside','filter','name','getStart','getPath','_changePositionOwnerDocument','isAtEnd','data-marker-id','deleteContent','emitter','AIReviewCoreEditing','isInline','_eventEmitter','stringify','DocumentCompare','insert','content','operationsIsolated','_createGetContentUsingDataIdFn','viewToDom','highest','outside','9kcAfbU'];_0x333f=function(){return _0x8cb2c6;};return _0x333f();}export class AIReviewCoreEditing extends _0x5a5e2d{static get[_0xab2974(0x219)](){return[_0x4a3b58,_0x4f1aae];}static get[_0xab2974(0x120)](){const _0x4b8486=_0xab2974;return _0x4b8486(0x1d4);}static get[_0xab2974(0x12f)](){return!0x0;}static get[_0xab2974(0x1e1)](){return!0x0;}[_0xab2974(0x12c)]=new Map();[_0xab2974(0x172)]=new Set();[_0xab2974(0x1e6)];[_0xab2974(0x1d6)];constructor(_0xf07c83){const _0x498994=_0xab2974;super(_0xf07c83),this[_0x498994(0x1e6)]=new(_0x1934ef())(),this[_0x498994(0x1d6)]=new(_0x5b87be())();}get[_0xab2974(0x1d3)](){const _0x511548=_0xab2974;return this[_0x511548(0x1d6)];}[_0xab2974(0x21d)](){const _0x238751=_0xab2974,_0x1a8812=_0x5ba687(this[_0x238751(0x147)]);_0x1a8812[_0x238751(0x1e7)][_0x238751(0x179)](_0x238751(0x195))[_0x238751(0x203)]({'model':fe+_0x238751(0x1d9),'view':(_0x1cd315,{writer:_0x2a3d16})=>{const _0x101638=_0x238751,_0x2916e7=this[_0x101638(0x12c)][_0x101638(0x17e)](_0x1cd315[_0x101638(0x1c3)]),_0x38e726={'class':_0x101638(0x1ee)+(this[_0x101638(0x172)][_0x101638(0x177)](_0x2916e7?.['id']||'')?_0x101638(0x220):''),'data-marker-id':_0x1cd315[_0x101638(0x1c3)]};return _0x2a3d16[_0x101638(0x21b)](_0x101638(0x1bb),_0x38e726,function(_0x38db41){const _0x356c29=_0x101638,_0x5bcf1b=this[_0x356c29(0x159)](_0x38db41);return _0x5bcf1b[_0x356c29(0x128)]=_0x2916e7?.[_0x356c29(0x1da)]?.[_0x356c29(0x15c)]||'',_0x5bcf1b;});}}),_0x1a8812[_0x238751(0x1e7)][_0x238751(0x179)](_0x238751(0x195))[_0x238751(0x143)]({'model':fe+_0x238751(0x15e),'view':_0x5c654b=>{const _0x14cda5=_0x238751,_0x5bf60f=this[_0x14cda5(0x12c)][_0x14cda5(0x17e)](_0x5c654b[_0x14cda5(0x1c3)]),_0x142cb0=[_0x14cda5(0x14b)];return this[_0x14cda5(0x172)][_0x14cda5(0x177)](_0x5bf60f?.['id']||'')&&_0x142cb0[_0x14cda5(0x133)](_0x14cda5(0x202)),{'classes':_0x142cb0,'attributes':{'data-marker-id':_0x5c654b[_0x14cda5(0x1c3)]}};}}),_0x1a8812[_0x238751(0x1e7)][_0x238751(0x179)](_0x238751(0x195))[_0x238751(0x143)]({'model':fe+_0x238751(0x1be),'view':_0x16c892=>{const _0x4a0c56=_0x238751,_0x3bc717=this[_0x4a0c56(0x12c)][_0x4a0c56(0x17e)](_0x16c892[_0x4a0c56(0x1c3)]),_0x3aee3e=[_0x4a0c56(0x155)];return this[_0x4a0c56(0x172)][_0x4a0c56(0x177)](_0x3bc717?.['id']||'')&&_0x3aee3e[_0x4a0c56(0x133)](_0x4a0c56(0x202)),{'classes':_0x3aee3e,'attributes':{'data-marker-id':_0x16c892[_0x4a0c56(0x1c3)]}};}}),_0x1a8812[_0x238751(0x1e7)][_0x238751(0x179)](_0x238751(0x195))[_0x238751(0x143)]({'model':fe+_0x238751(0x212),'view':_0x4637a6=>{const _0x213ff2=_0x238751,_0x454ba3=this[_0x213ff2(0x12c)][_0x213ff2(0x17e)](_0x4637a6[_0x213ff2(0x1c3)]),_0x5f0976=[_0x213ff2(0x124)];return this[_0x213ff2(0x172)][_0x213ff2(0x177)](_0x454ba3?.['id']||'')&&_0x5f0976[_0x213ff2(0x133)](_0x213ff2(0x202)),{'classes':_0x5f0976,'attributes':{'data-marker-id':_0x4637a6[_0x213ff2(0x1c3)]}};}}),_0x1a8812[_0x238751(0x1e7)][_0x238751(0x179)](_0x238751(0x197))[_0x238751(0x203)]({'model':fe+_0x238751(0x1c2),'view':(_0xefec22,{writer:_0x594d46})=>_0x594d46[_0x238751(0x11f)](_0x238751(0x1bb),{'class':_0x238751(0x18d)+(_0xefec22[_0x238751(0x18b)]?_0x238751(0x1c5):_0x238751(0x189))})}),_0x1a8812[_0x238751(0x1e7)][_0x238751(0x179)](_0x238751(0x12a))[_0x238751(0x18f)]({'model':_0x1238c8,'view':_0x20dd54});const _0x301db7=_0x1a8812['ui'][_0x238751(0x218)]()||document[_0x238751(0x16a)];this[_0x238751(0x1e6)][_0x238751(0x1ed)](_0x301db7,_0x238751(0x1ea),(_0x3e8888,_0x4a0b51)=>{const _0xfc5eb=_0x238751,_0x5801f7=_0x4a0b51[_0xfc5eb(0x1ef)],_0x51eecd=this[_0xfc5eb(0x208)](_0x5801f7);if(!_0x51eecd)return;const _0x13852e=_0x51eecd[_0xfc5eb(0x146)](_0xfc5eb(0x1d1)),_0x1bd227=_0x13852e[_0xfc5eb(0x20f)](':')[_0xfc5eb(0x11c)]()?.[_0xfc5eb(0x20f)]('_')[0x0];this[_0xfc5eb(0x1d6)][_0xfc5eb(0x158)](_0xfc5eb(0x144),{'markerId':_0x13852e,'changeId':_0x1bd227,'markerElement':()=>this[_0xfc5eb(0x201)](_0x13852e),'domEvent':_0x4a0b51});},{'usePassive':!0x0,'priority':_0x238751(0x1de)}),this[_0x238751(0x1e6)][_0x238751(0x1ed)](_0x301db7,_0x238751(0x188),(_0x19f88a,_0x45517d)=>{const _0x4f0238=_0x238751,_0x553cbb=_0x45517d[_0x4f0238(0x1ef)],_0x542418=_0x45517d[_0x4f0238(0x185)];let _0x4fd91d=this[_0x4f0238(0x208)](_0x553cbb);if(!_0x4fd91d&&_0x542418&&(_0x4fd91d=this[_0x4f0238(0x208)](_0x542418)),!_0x4fd91d)return;const _0x366011=_0x4fd91d[_0x4f0238(0x146)](_0x4f0238(0x1d1)),_0x4e67e8=_0x366011[_0x4f0238(0x20f)](':')[_0x4f0238(0x11c)]()?.[_0x4f0238(0x20f)]('_')[0x0];this[_0x4f0238(0x1d6)][_0x4f0238(0x158)](_0x4f0238(0x211),{'changeId':_0x4e67e8,'markerElement':()=>this[_0x4f0238(0x201)](_0x366011),'domEvent':_0x45517d});}),this[_0x238751(0x1e6)][_0x238751(0x1ed)](document,_0x238751(0x188),_0x37fff7((_0x3f73c2,_0x5599f0)=>{const _0x1c19e1=_0x238751,_0x4279ff=_0x5599f0[_0x1c19e1(0x1ef)];if(this[_0x1c19e1(0x208)](_0x4279ff))return;_0x4279ff[_0x1c19e1(0x160)](_0x1c19e1(0x229))||this[_0x1c19e1(0x1d6)][_0x1c19e1(0x158)](_0x1c19e1(0x12e));},0xc8)),_0x1a8812[_0x238751(0x13f)][_0x238751(0x209)][_0x238751(0x171)](_0x332623=>this[_0x238751(0x19c)](_0x1a8812,_0x332623)),_0x1a8812[_0x238751(0x13f)][_0x238751(0x209)]['on'](_0x238751(0x1a8),()=>this[_0x238751(0x164)](_0x1a8812));}[_0xab2974(0x191)](){const _0x3c70c2=_0xab2974,_0x14d5eb=this[_0x3c70c2(0x147)][_0x3c70c2(0x214)][_0x3c70c2(0x17e)](_0x3c70c2(0x20b)),_0x293b0e=_0x5ba687(this[_0x3c70c2(0x147)]),_0x2cb609=_0x293b0e[_0x3c70c2(0x13f)],_0x4cbeee=new _0x4ed892();for(const _0x5a4d7a of _0x2cb609[_0x3c70c2(0x209)][_0x3c70c2(0x141)]()[_0x3c70c2(0x1e4)]()){const _0x4d8f65=_0x5a4d7a[_0x3c70c2(0x14e)](!0x0);_0x4cbeee[_0x3c70c2(0x213)](_0x4d8f65);}for(const _0x3b40db of _0x2cb609[_0x3c70c2(0x154)])_0x4cbeee[_0x3c70c2(0x154)][_0x3c70c2(0x1eb)](_0x3b40db[_0x3c70c2(0x1cc)],this[_0x3c70c2(0x1bc)](_0x3b40db[_0x3c70c2(0x1e2)]()[_0x3c70c2(0x217)](),_0x4cbeee));const _0x519a98=new _0xd2545d({'ignoreElementEnd':!0x0,'startPosition':_0x2cb609[_0x3c70c2(0x22b)](_0x4cbeee,0x0)}),_0x4e5a67=new Set(),_0x23cb7e=new Map();for(const {item:_0x2c4a52}of _0x519a98){if(!_0x2c4a52['is'](_0x3c70c2(0x20e)))continue;const _0xd2565=_0x2c4a52[_0x3c70c2(0x14f)];if(_0xd2565&&_0xd2565['is'](_0x3c70c2(0x182))){const _0x33ffda=this[_0x3c70c2(0x190)](_0xd2565,()=>_0x14d5eb[_0x3c70c2(0x152)](_0x4e5a67));_0x4e5a67[_0x3c70c2(0x205)](_0x33ffda);for(const _0xd642c3 of _0xd2565[_0x3c70c2(0x1e4)]())_0xd642c3['is'](_0x3c70c2(0x182))&&_0x4e5a67[_0x3c70c2(0x205)](this[_0x3c70c2(0x190)](_0xd642c3,()=>_0x14d5eb[_0x3c70c2(0x152)](_0x4e5a67)));let _0x43c85d=_0xd2565;for(;_0x43c85d[_0x3c70c2(0x14f)]&&!_0x43c85d[_0x3c70c2(0x14f)]['is'](_0x3c70c2(0x207));)_0x43c85d=_0x43c85d[_0x3c70c2(0x14f)],_0x43c85d[_0x3c70c2(0x224)](_0x1238c8)&&_0x43c85d[_0x3c70c2(0x137)](_0x1238c8);_0x23cb7e[_0x3c70c2(0x1eb)](_0x33ffda,{'path':_0xd2565[_0x3c70c2(0x1ce)](),'getContent':this[_0x3c70c2(0x1dc)](_0x43c85d[_0x3c70c2(0x14e)](!0x0),_0x33ffda,_0x293b0e[_0x3c70c2(0x17b)])}),_0x519a98[_0x3c70c2(0x19a)](_0x2cb609[_0x3c70c2(0x1f1)](_0xd2565));}}return{'content':_0x293b0e[_0x3c70c2(0x17b)][_0x3c70c2(0x19d)][_0x3c70c2(0x13a)](_0x293b0e[_0x3c70c2(0x17b)][_0x3c70c2(0x169)](_0x4cbeee)),'version':_0x293b0e[_0x3c70c2(0x13f)][_0x3c70c2(0x209)][_0x3c70c2(0x1fb)],'elements':_0x23cb7e};}[_0xab2974(0x1b7)](_0x1a3324,_0x326a07,_0x492929=!0x1){const _0x13eeaa=_0xab2974,_0x4ad73f=[],_0x579307=_0x5ba687(this[_0x13eeaa(0x147)]),_0x4517ef=_0x579307[_0x13eeaa(0x17b)][_0x13eeaa(0x142)](_0x326a07,_0x13eeaa(0x17c)),_0x3650f9=_0x579307[_0x13eeaa(0x17b)][_0x13eeaa(0x142)](_0x1a3324,_0x13eeaa(0x17c)),_0x42d1db=_0x579307[_0x13eeaa(0x13f)][_0x13eeaa(0x22b)](_0x3650f9,0x0);if(this[_0x13eeaa(0x187)](_0x4517ef)){if(!this[_0x13eeaa(0x1ff)](_0x3650f9,_0x4517ef))return _0x4ad73f;}else{const _0x416a35=_0x579307[_0x13eeaa(0x13f)][_0x13eeaa(0x192)];if(!this[_0x13eeaa(0x1b5)](_0x3650f9,_0x416a35)||!this[_0x13eeaa(0x1b5)](_0x4517ef,_0x416a35))return _0x4ad73f;}const _0x39b3bb=this[_0x13eeaa(0x147)][_0x13eeaa(0x214)][_0x13eeaa(0x17e)](_0x13eeaa(0x1d8))[_0x13eeaa(0x15d)](_0x1a3324,_0x326a07,{'anchor':_0x42d1db,'markDeletions':!0x0})[_0x13eeaa(0x145)]()[_0x13eeaa(0x1cb)](_0x4fc12e=>_0x13eeaa(0x1d9)===_0x4fc12e[_0x13eeaa(0x131)]||_0x13eeaa(0x215)===_0x4fc12e[_0x13eeaa(0x131)]&&_0x4fc12e[_0x13eeaa(0x1cc)][_0x13eeaa(0x123)](_0x13eeaa(0x148))),_0x5c24c8=this[_0x13eeaa(0x1fa)](_0x39b3bb),_0x7d4b2=[];if(_0x492929){if(_0x5c24c8[_0x13eeaa(0x20d)]){const _0x503699=_0x5c24c8[0x0][_0x13eeaa(0x1ae)][0x0],_0x361a21=_0x13eeaa(0x1d9)===_0x503699[_0x13eeaa(0x131)]?_0x503699[_0x13eeaa(0x1c6)]:_0x503699[_0x13eeaa(0x20a)][_0x13eeaa(0x1c5)],_0x58cc62=this[_0x13eeaa(0x193)](_0x361a21,_0x579307,_0x13eeaa(0x1ca)),_0x2feec1=_0x58cc62?_0x4517ef[_0x13eeaa(0x1f3)](0x0)[_0x13eeaa(0x1e4)]():_0x4517ef[_0x13eeaa(0x1e4)](),_0x28f943=_0x58cc62||_0x579307[_0x13eeaa(0x13f)][_0x13eeaa(0x1b2)](_0x3650f9),_0x16fd8f=[new _0x208867(_0x13eeaa(0x227)+_0x28a19f(),null,_0x28f943,_0x579307[_0x13eeaa(0x13f)][_0x13eeaa(0x209)][_0x13eeaa(0x13f)][_0x13eeaa(0x154)],!0x0,_0x579307[_0x13eeaa(0x13f)][_0x13eeaa(0x209)][_0x13eeaa(0x1fb)]+0x1),new _0x1053f3(_0x28f943[_0x13eeaa(0x189)],_0x2feec1,_0x579307[_0x13eeaa(0x13f)][_0x13eeaa(0x209)][_0x13eeaa(0x1fb)]+0x2)];_0x7d4b2[_0x13eeaa(0x133)]({'operations':_0x16fd8f,'operationsIsolated':_0x16fd8f,'groupOffset':0x0});}}else _0x7d4b2[_0x13eeaa(0x133)](..._0x5c24c8);let _0x451e2f=0x0;return _0x579307[_0x13eeaa(0x13f)][_0x13eeaa(0x1a8)](_0x26a63f=>{const _0x39bfef=_0x13eeaa;for(let _0x5e6446=0x0;_0x5e6446<_0x7d4b2[_0x39bfef(0x20d)];_0x5e6446++){const _0x4551f2=_0x7d4b2[_0x5e6446],_0x2c8c19=_0x26a63f[_0x39bfef(0x1b6)]();for(const _0x11f99a of _0x3650f9[_0x39bfef(0x1e4)]())_0x26a63f[_0x39bfef(0x174)](_0x11f99a[_0x39bfef(0x14e)](!0x0),_0x2c8c19);for(const _0x9f4a64 of _0x4551f2[_0x39bfef(0x1db)])if(_0x39bfef(0x1d9)===_0x9f4a64[_0x39bfef(0x131)]){const _0x5ca396=_0x9f4a64;_0x5ca396[_0x39bfef(0x173)]=null,_0x5ca396[_0x39bfef(0x1a6)]=!0x1,this[_0x39bfef(0x122)](_0x5ca396,_0x2c8c19),_0x26a63f[_0x39bfef(0x11d)][_0x39bfef(0x196)](_0x9f4a64),_0x579307[_0x39bfef(0x13f)][_0x39bfef(0x176)](_0x9f4a64);const _0x9f6f07=_0x39bfef(0x156)+_0x451e2f++,_0x48e628=_0x579307[_0x39bfef(0x13f)][_0x39bfef(0x121)](_0x5ca396[_0x39bfef(0x1c6)],_0x5ca396[_0x39bfef(0x1c6)][_0x39bfef(0x222)](_0x5ca396[_0x39bfef(0x1f4)]));_0x2c8c19[_0x39bfef(0x154)][_0x39bfef(0x1eb)](_0x9f6f07,_0x48e628);}else{if(_0x39bfef(0x215)===_0x9f4a64[_0x39bfef(0x131)]&&_0x9f4a64[_0x39bfef(0x1cc)][_0x39bfef(0x123)](_0x39bfef(0x148))){const _0x1585bf=_0x9f4a64,_0x23c3e5=_0x39bfef(0x153)+_0x451e2f++;this[_0x39bfef(0x122)](_0x1585bf,_0x2c8c19),_0x2c8c19[_0x39bfef(0x154)][_0x39bfef(0x1eb)](_0x23c3e5,_0x1585bf[_0x39bfef(0x20a)]);}}if(_0x492929)_0x4ad73f[_0x39bfef(0x133)]({..._0x4551f2,'context':this[_0x39bfef(0x206)](_0x3650f9,_0x579307[_0x39bfef(0x17b)]),'content':this[_0x39bfef(0x206)](_0x3650f9,_0x579307[_0x39bfef(0x17b)])});else{const _0x1a69e0=this[_0x39bfef(0x225)](this[_0x39bfef(0x1cf)](this[_0x39bfef(0x12d)](_0x4551f2[_0x39bfef(0x1db)][0x0]),_0x2c8c19),this[_0x39bfef(0x1cf)](this[_0x39bfef(0x198)](_0x4551f2[_0x39bfef(0x1db)][_0x4551f2[_0x39bfef(0x1db)][_0x39bfef(0x20d)]-0x1]),_0x2c8c19));_0x2c8c19[_0x39bfef(0x154)][_0x39bfef(0x1eb)](fe+_0x39bfef(0x1c2),new _0x453e35(_0x1a69e0[_0x39bfef(0x1c5)],_0x1a69e0[_0x39bfef(0x189)])),_0x4ad73f[_0x39bfef(0x133)]({..._0x4551f2,'context':this[_0x39bfef(0x1ab)](_0x2c8c19,_0x579307[_0x39bfef(0x17b)],{'ellipsisBefore':_0x1a69e0[_0x39bfef(0x1b0)],'ellipsisAfter':_0x1a69e0[_0x39bfef(0x126)]}),'content':this[_0x39bfef(0x206)](_0x2c8c19,_0x579307[_0x39bfef(0x17b)])});}}}),_0x4ad73f;}[_0xab2974(0x183)](_0x443df9,_0x304ab0){const _0x30e525=_0xab2974;if(!_0x443df9[_0x30e525(0x20d)])return;const _0x37022f=_0x443df9[0x0][_0x30e525(0x14f)]['id'],_0x1dadb9=_0x304ab0[_0x30e525(0x1c7)][_0x30e525(0x17e)](_0x37022f);if(!_0x1dadb9)return void console[_0x30e525(0x19b)](_0x30e525(0x157)+_0x37022f);const _0x25c208=_0x1dadb9[_0x30e525(0x210)],_0x58d41e=_0x5ba687(this[_0x30e525(0x147)]),_0x2f1089=_0x58d41e[_0x30e525(0x13f)][_0x30e525(0x209)][_0x30e525(0x181)][_0x30e525(0x145)](_0x304ab0[_0x30e525(0x1fb)]),_0x4d0d8d=[];for(const _0x9d9f0c of _0x443df9){const _0x346b0e=_0x9d9f0c[_0x30e525(0x1db)][_0x30e525(0x1a2)](_0x3d4e58=>this[_0x30e525(0x15f)](_0x3d4e58,_0x25c208,_0x58d41e[_0x30e525(0x13f)][_0x30e525(0x209)][_0x30e525(0x175)]()[0x0]));if(!_0x346b0e||!_0x346b0e[_0x30e525(0x20d)])continue;const _0x2b5376=_0x346b0e[_0x30e525(0x13e)](_0x494a11=>_0x30e525(0x215)===_0x494a11[_0x30e525(0x131)]&&_0x494a11[_0x30e525(0x1cc)][_0x30e525(0x123)](_0x30e525(0x148))),_0x4cbdbf={'document':_0x58d41e[_0x30e525(0x13f)][_0x30e525(0x209)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x449f77=_0x4fa679(_0x346b0e,_0x2f1089,_0x4cbdbf)[_0x30e525(0x162)];for(const _0xdbbcab of _0x449f77)if(_0x30e525(0x1d9)===_0xdbbcab[_0x30e525(0x131)]){const _0x2d1269=_0xdbbcab,_0x3a0f06=_0x2d1269[_0x30e525(0x165)];_0x58d41e[_0x30e525(0x13f)][_0x30e525(0x1a8)](_0x535074=>{const _0x499db0=_0x30e525,_0x508dd7=_0x535074[_0x499db0(0x1b6)]();for(const _0x878f51 of _0x3a0f06)_0x535074[_0x499db0(0x174)](_0x878f51[_0x499db0(0x14e)](!0x0),_0x508dd7);_0x4d0d8d[_0x499db0(0x133)]({'start':_0x2d1269[_0x499db0(0x1c6)],'end':_0x2d1269[_0x499db0(0x1c6)],'type':_0x499db0(0x1d9),'groupId':_0x9d9f0c['id'],'content':{'asString':this[_0x499db0(0x206)](_0x508dd7,_0x58d41e[_0x499db0(0x17b)])(),'asFragment':_0x508dd7}});});}else{if(_0x30e525(0x215)===_0xdbbcab[_0x30e525(0x131)]&&_0xdbbcab[_0x30e525(0x1cc)][_0x30e525(0x123)](_0x30e525(0x148))){const _0xfbaf9a=_0xdbbcab;let _0x571d7d=_0x30e525(0x212);if(_0x2b5376){const _0x166511=this[_0x30e525(0x16e)](_0xfbaf9a[_0x30e525(0x20a)][_0x30e525(0x1c5)],_0x30e525(0x15b),_0x58d41e[_0x30e525(0x13f)][_0x30e525(0x192)]),_0x468319=this[_0x30e525(0x16e)](_0xfbaf9a[_0x30e525(0x20a)][_0x30e525(0x189)],_0x30e525(0x17a),_0x58d41e[_0x30e525(0x13f)][_0x30e525(0x192)]);if(_0x166511||_0x468319){const _0x5550bd=_0xfbaf9a[_0x30e525(0x20a)][_0x30e525(0x1c5)][_0x30e525(0x222)](-_0x166511),_0xe35c71=_0xfbaf9a[_0x30e525(0x20a)][_0x30e525(0x189)][_0x30e525(0x222)](_0x468319);_0x4d0d8d[_0x30e525(0x133)]({'start':_0x5550bd,'end':_0xe35c71,'groupId':_0x9d9f0c['id'],'type':_0x30e525(0x1be)});}else _0x571d7d=_0x30e525(0x15e);}_0x4d0d8d[_0x30e525(0x133)]({'start':_0xfbaf9a[_0x30e525(0x20a)][_0x30e525(0x1c5)],'end':_0xfbaf9a[_0x30e525(0x20a)][_0x30e525(0x189)],'groupId':_0x9d9f0c['id'],'type':_0x571d7d});}}}this[_0x30e525(0x1b3)](_0x4d0d8d);}[_0xab2974(0x178)](){const _0x21d786=_0xab2974,_0x31c26a=_0x5ba687(this[_0x21d786(0x147)]);_0x31c26a[_0x21d786(0x13f)][_0x21d786(0x1a8)](_0x146432=>{const _0x427e2b=_0x21d786;for(const _0x1cab18 of this[_0x427e2b(0x12c)][_0x427e2b(0x13b)]())_0x31c26a[_0x427e2b(0x13f)][_0x427e2b(0x154)][_0x427e2b(0x17e)](_0x1cab18)&&_0x146432[_0x427e2b(0x199)](_0x1cab18);}),this[_0x21d786(0x12c)][_0x21d786(0x149)](),this[_0x21d786(0x172)][_0x21d786(0x149)]();}[_0xab2974(0x19f)](){const _0xb6089e=_0xab2974;_0x5ba687(this[_0xb6089e(0x147)])[_0xb6089e(0x1a9)](_0xb6089e(0x13c));}[_0xab2974(0x1f0)](){const _0x55e571=_0xab2974;_0x5ba687(this[_0x55e571(0x147)])[_0x55e571(0x186)](_0x55e571(0x13c));}[_0xab2974(0x167)](_0x120777){const _0x45b81f=_0xab2974,_0xa3d3f3=_0x5ba687(this[_0x45b81f(0x147)]),_0x31b5a7=_0xa3d3f3[_0x45b81f(0x13f)],_0x4e783=_0x120777[_0x45b81f(0x1a2)](_0x5b89ac=>this[_0x45b81f(0x1ec)](_0x5b89ac))[_0x45b81f(0x125)]();_0x31b5a7[_0x45b81f(0x1a8)](_0x50e596=>{const _0x3b8a53=_0x45b81f;for(const _0x24aaad of _0x4e783){const _0x202001=_0xa3d3f3[_0x3b8a53(0x13f)][_0x3b8a53(0x154)][_0x3b8a53(0x17e)](_0x24aaad['id']);if(_0x202001){if(_0x3b8a53(0x1d9)===_0x24aaad[_0x3b8a53(0x131)]){if(!_0x24aaad[_0x3b8a53(0x1da)])continue;_0x31b5a7[_0x3b8a53(0x163)](_0x24aaad[_0x3b8a53(0x1da)][_0x3b8a53(0x1a0)]||null,_0x202001[_0x3b8a53(0x1e2)]()[_0x3b8a53(0x1c5)]);}else _0x3b8a53(0x212)!==_0x24aaad[_0x3b8a53(0x131)]&&_0x3b8a53(0x15e)!==_0x24aaad[_0x3b8a53(0x131)]||_0x31b5a7[_0x3b8a53(0x1d2)](_0x31b5a7[_0x3b8a53(0x22a)](_0x202001[_0x3b8a53(0x1e2)]()));_0x50e596[_0x3b8a53(0x199)](_0x24aaad['id']),this[_0x3b8a53(0x12c)][_0x3b8a53(0x1b1)](_0x24aaad['id']);}}});}[_0xab2974(0x132)](_0x3fbe18){const _0x50b9c1=_0xab2974,_0x2db84c=_0x5ba687(this[_0x50b9c1(0x147)]),_0x313288=this[_0x50b9c1(0x1ec)](_0x3fbe18);_0x2db84c[_0x50b9c1(0x13f)][_0x50b9c1(0x1a8)](_0x51fb8f=>{const _0x3cf7e9=_0x50b9c1;for(const _0xefcc42 of _0x313288)_0x51fb8f[_0x3cf7e9(0x199)](_0xefcc42['id']),this[_0x3cf7e9(0x12c)][_0x3cf7e9(0x1b1)](_0xefcc42['id']);});}[_0xab2974(0x1fd)](){const _0x2cb596=_0xab2974;return _0x5ba687(this[_0x2cb596(0x147)]);}[_0xab2974(0x1fc)](_0x22e9a6){const _0xfa9841=_0xab2974,_0x4df5ed=Array[_0xfa9841(0x1f2)](this[_0xfa9841(0x12c)][_0xfa9841(0x14a)]())[_0xfa9841(0x1cb)](_0x34d90e=>_0x34d90e[_0xfa9841(0x226)]===_0x22e9a6);if(!_0x4df5ed[_0xfa9841(0x20d)])return null;const _0x1f0971=0x1===_0x4df5ed[_0xfa9841(0x20d)]?_0x4df5ed[0x0]:this[_0xfa9841(0x223)](_0x4df5ed)[0x0],_0x4c2937=_0x5ba687(this[_0xfa9841(0x147)])[_0xfa9841(0x13f)][_0xfa9841(0x154)][_0xfa9841(0x17e)](_0x1f0971['id']);if(!_0x4c2937)return null;return{'modelRange':_0x4c2937[_0xfa9841(0x1e2)](),'getElement':()=>this[_0xfa9841(0x201)](_0x1f0971['id'])};}[_0xab2974(0x1ba)](_0x494dbd){const _0x538177=_0xab2974,_0x1ae2f4=Array[_0x538177(0x1f2)](this[_0x538177(0x12c)][_0x538177(0x14a)]())[_0x538177(0x1cb)](_0x4a703b=>_0x4a703b[_0x538177(0x226)]===_0x494dbd);if(!_0x1ae2f4[_0x538177(0x20d)])return null;const _0x57054a=0x1===_0x1ae2f4[_0x538177(0x20d)]?_0x1ae2f4[0x0]:this[_0x538177(0x223)](_0x1ae2f4)[0x0],_0x4701e1=_0x5ba687(this[_0x538177(0x147)]),_0xfce696=_0x4701e1[_0x538177(0x13f)][_0x538177(0x154)][_0x538177(0x17e)](_0x57054a['id']);if(!_0xfce696)return null;const _0x40c4ff=_0xfce696[_0x538177(0x1e2)](),_0x4ba8b1=_0x4701e1[_0x538177(0x18e)][_0x538177(0x136)][_0x538177(0x12b)]();if(!_0x4ba8b1||!_0x40c4ff)return null;let _0x449339=_0x40c4ff[_0x538177(0x1c5)][_0x538177(0x14f)];for(;_0x449339[_0x538177(0x14f)]&&_0x538177(0x151)!==_0x449339[_0x538177(0x14f)][_0x538177(0x1cc)];)_0x449339=_0x449339[_0x538177(0x14f)];if(!_0x449339||!_0x449339[_0x538177(0x1cc)])return null;const _0x142b5d=_0x4ba8b1[_0x538177(0x1f5)](_0x538177(0x1f6)+_0x57054a['id']+'\x22]');if(!_0x142b5d)return null;let _0x3ef876=null;_0x4701e1[_0x538177(0x13f)][_0x538177(0x1a8)](_0x3a1f02=>{const _0x251cc5=_0x538177;_0x3ef876=_0x3a1f02[_0x251cc5(0x1b6)](),_0x3a1f02[_0x251cc5(0x174)](_0x449339[_0x251cc5(0x14e)](!0x0),_0x3ef876);});const _0x38acc3=_0x4701e1[_0x538177(0x17b)][_0x538177(0x169)](_0x3ef876)[_0x538177(0x1f3)](0x0);return _0x142b5d[_0x538177(0x160)](_0x38acc3[_0x538177(0x1cc)]);}[_0xab2974(0x161)](_0x4a7bf9){const _0x24bae9=_0xab2974,_0x1ce4ac=this[_0x24bae9(0x1ec)](_0x4a7bf9);if(!_0x1ce4ac[_0x24bae9(0x20d)])return;const _0x5e246d=Array[_0x24bae9(0x1f2)](this[_0x24bae9(0x172)])[_0x24bae9(0x21e)](),_0x43b0e8=Array[_0x24bae9(0x1f2)](new Set(_0x1ce4ac[_0x24bae9(0x1a2)](_0x3e7c7e=>_0x3e7c7e['id'])))[_0x24bae9(0x21e)]();_0x5e246d[_0x24bae9(0x1b9)]('|')!==_0x43b0e8[_0x24bae9(0x1b9)]('|')&&(this[_0x24bae9(0x16f)](),this[_0x24bae9(0x1e3)](_0x4a7bf9));}[_0xab2974(0x1e3)](_0x677717){const _0x433c74=_0xab2974,_0x57851b=this[_0x433c74(0x1ec)](_0x677717);if(!_0x57851b[_0x433c74(0x20d)])return;const _0x440292=_0x5ba687(this[_0x433c74(0x147)]),_0x1e060a=new Set(_0x57851b[_0x433c74(0x1a2)](_0x38c297=>_0x38c297['id'])),_0x152796=Array[_0x433c74(0x1f2)](_0x1e060a[_0x433c74(0x14a)]())[_0x433c74(0x1a2)](_0x29b3d7=>_0x440292[_0x433c74(0x13f)][_0x433c74(0x154)][_0x433c74(0x17e)](_0x29b3d7))[_0x433c74(0x1cb)](_0x7d0b5f=>!!_0x7d0b5f);_0x1e060a[_0x433c74(0x20c)](_0x1af10b=>{const _0x2ea938=_0x433c74;this[_0x2ea938(0x172)][_0x2ea938(0x205)](_0x1af10b);}),_0x440292[_0x433c74(0x13f)][_0x433c74(0x1a8)](()=>{const _0xfce8b3=_0x433c74;_0x152796[_0xfce8b3(0x20c)](_0x4e1ac9=>{const _0x2a5f80=_0xfce8b3;_0x440292[_0x2a5f80(0x18e)][_0x2a5f80(0x1c4)](_0x4e1ac9);});});}[_0xab2974(0x16f)](){const _0xe7bceb=_0xab2974,_0x4c2297=Array[_0xe7bceb(0x1f2)](this[_0xe7bceb(0x172)]);if(!_0x4c2297[_0xe7bceb(0x20d)])return;this[_0xe7bceb(0x172)][_0xe7bceb(0x149)]();const _0x46648c=_0x5ba687(this[_0xe7bceb(0x147)]),_0xcff200=_0x4c2297[_0xe7bceb(0x1a2)](_0x5f10ad=>_0x46648c[_0xe7bceb(0x13f)][_0xe7bceb(0x154)][_0xe7bceb(0x17e)](_0x5f10ad))[_0xe7bceb(0x1cb)](_0x290a3f=>!!_0x290a3f);_0x46648c[_0xe7bceb(0x13f)][_0xe7bceb(0x1a8)](()=>{const _0x248835=_0xe7bceb;_0xcff200[_0x248835(0x20c)](_0x20ecaa=>{const _0x344c67=_0x248835;_0x46648c[_0x344c67(0x18e)][_0x344c67(0x1c4)](_0x20ecaa);});});}[_0xab2974(0x193)](_0x4e14e2,_0x1e54be,_0x5e2565=_0xab2974(0x1df)){const _0xb09bb5=_0xab2974;if(!_0x4e14e2)return null;let _0x4ed8bb=_0x4e14e2[_0xb09bb5(0x14f)];for(;_0x4ed8bb&&_0x4ed8bb[_0xb09bb5(0x14f)]&&_0xb09bb5(0x151)!==_0x4ed8bb[_0xb09bb5(0x14f)][_0xb09bb5(0x1cc)]&&!_0x1e54be[_0xb09bb5(0x13f)][_0xb09bb5(0x192)][_0xb09bb5(0x140)](_0x4ed8bb)&&!_0x1e54be[_0xb09bb5(0x13f)][_0xb09bb5(0x192)][_0xb09bb5(0x21f)](_0x4ed8bb);)_0x4ed8bb=_0x4ed8bb[_0xb09bb5(0x14f)];if(!_0x4ed8bb||!_0x4ed8bb[_0xb09bb5(0x1cc)]||_0xb09bb5(0x151)===_0x4ed8bb[_0xb09bb5(0x1cc)])return null;let _0x1cc027=null;return _0x1e54be[_0xb09bb5(0x13f)][_0xb09bb5(0x1a8)](_0x2aa308=>{const _0x999d1e=_0xb09bb5;_0x1cc027=_0x999d1e(0x1ca)===_0x5e2565?_0x2aa308[_0x999d1e(0x1b2)](_0x4ed8bb):_0x2aa308[_0x999d1e(0x14c)](_0x4ed8bb);}),_0x1cc027;}[_0xab2974(0x19c)](_0x60bfc9,_0x158080){const _0x63bb1d=_0xab2974,_0x2e12b0=Array[_0x63bb1d(0x1f2)](this[_0x63bb1d(0x12c)][_0x63bb1d(0x13b)]()),_0x455ddd=new Map();for(const _0x220dc3 of _0x2e12b0){const _0x3f4228=_0x60bfc9[_0x63bb1d(0x13f)][_0x63bb1d(0x154)][_0x63bb1d(0x17e)](_0x220dc3);if(!_0x3f4228)continue;const _0x45e697=_0x3f4228[_0x63bb1d(0x1cd)]()[_0x63bb1d(0x210)][0x0];_0x455ddd[_0x63bb1d(0x177)](_0x45e697)||_0x455ddd[_0x63bb1d(0x1eb)](_0x45e697,[]),_0x455ddd[_0x63bb1d(0x17e)](_0x45e697)[_0x63bb1d(0x133)](_0x3f4228);}const _0x523c2c=new Set();for(const _0x16935e of _0x60bfc9[_0x63bb1d(0x13f)][_0x63bb1d(0x209)][_0x63bb1d(0x221)][_0x63bb1d(0x1aa)]()){let _0x2a0760=-0x1,_0x2917a4=null;if(_0x63bb1d(0x1d9)===_0x16935e[_0x63bb1d(0x131)])_0x2917a4=new _0x453e35(_0x16935e[_0x63bb1d(0x1c6)],_0x16935e[_0x63bb1d(0x1c6)][_0x63bb1d(0x222)](_0x16935e[_0x63bb1d(0x20d)])),_0x2a0760=_0x16935e[_0x63bb1d(0x1c6)][_0x63bb1d(0x210)][0x0];else{if(_0x63bb1d(0x1bf)!==_0x16935e[_0x63bb1d(0x131)])continue;_0x2917a4=new _0x453e35(_0x16935e[_0x63bb1d(0x1c6)]),_0x2a0760=_0x16935e[_0x63bb1d(0x1c6)][_0x63bb1d(0x210)][0x0];}const _0xdd1aed=_0x455ddd[_0x63bb1d(0x17e)](_0x2a0760)||[];if(_0xdd1aed[_0x63bb1d(0x20d)]){for(const _0x181002 of _0xdd1aed)if(_0x2917a4[_0x63bb1d(0x1a3)][_0x63bb1d(0x13d)]===_0x181002[_0x63bb1d(0x1e2)]()[_0x63bb1d(0x1a3)][_0x63bb1d(0x13d)]&&(_0x63bb1d(0x1d9)!==_0x16935e[_0x63bb1d(0x131)]||!_0x2917a4[_0x63bb1d(0x194)](_0x181002[_0x63bb1d(0x1e2)]()))&&(_0x2917a4[_0x63bb1d(0x168)](_0x181002[_0x63bb1d(0x1e2)]())||_0x2917a4[_0x63bb1d(0x1c5)][_0x63bb1d(0x18c)](_0x181002[_0x63bb1d(0x1e2)]()[_0x63bb1d(0x189)])||_0x2917a4[_0x63bb1d(0x189)][_0x63bb1d(0x18c)](_0x181002[_0x63bb1d(0x1e2)]()[_0x63bb1d(0x1c5)]))){const _0x387c76=this[_0x63bb1d(0x204)](_0x181002[_0x63bb1d(0x1cc)]);Array[_0x63bb1d(0x1f2)](this[_0x63bb1d(0x12c)][_0x63bb1d(0x14a)]())[_0x63bb1d(0x1cb)](_0x3980c6=>_0x3980c6[_0x63bb1d(0x226)]===_0x387c76[_0x63bb1d(0x226)])[_0x63bb1d(0x20c)](_0x29ec27=>_0x523c2c[_0x63bb1d(0x205)](_0x29ec27['id']));}}}if(_0x523c2c[_0x63bb1d(0x11e)]){for(const _0x2dee39 of _0x523c2c)_0x158080[_0x63bb1d(0x199)](_0x2dee39);return!0x0;}return!0x1;}[_0xab2974(0x164)](_0x5142ba){const _0x1d6b1e=_0xab2974;for(const {name:_0x2b92bd,data:_0x4a899a}of _0x5142ba[_0x1d6b1e(0x13f)][_0x1d6b1e(0x209)][_0x1d6b1e(0x221)][_0x1d6b1e(0x21c)]()){if(!_0x2b92bd[_0x1d6b1e(0x123)](fe))continue;const _0x34183e=_0x4a899a[_0x1d6b1e(0x17d)],_0xe62a5e=_0x4a899a[_0x1d6b1e(0x20a)],_0x18782d=_0x34183e&&_0x1d6b1e(0x1f9)===_0x34183e[_0x1d6b1e(0x1a3)][_0x1d6b1e(0x13d)],_0x24e037=_0xe62a5e&&_0x1d6b1e(0x1f9)===_0xe62a5e[_0x1d6b1e(0x1a3)][_0x1d6b1e(0x13d)];if(_0x18782d&&_0x24e037)continue;const _0x36ed2a=this[_0x1d6b1e(0x204)](_0x2b92bd);this[_0x1d6b1e(0x12c)][_0x1d6b1e(0x17e)](_0x2b92bd)&&(_0x24e037||!_0xe62a5e?this[_0x1d6b1e(0x1d6)][_0x1d6b1e(0x158)](_0x1d6b1e(0x228),{'markerId':_0x2b92bd,'changeId':_0x36ed2a[_0x1d6b1e(0x226)]}):_0x18782d&&_0xe62a5e&&this[_0x1d6b1e(0x1d6)][_0x1d6b1e(0x158)](_0x1d6b1e(0x11b),{'markerId':_0x2b92bd,'changeId':_0x36ed2a[_0x1d6b1e(0x226)]}));}}[_0xab2974(0x204)](_0x896e33){const _0x639006=_0xab2974,_0x513c97=_0x896e33[_0x639006(0x20f)](':'),_0x3037c0=(_0x513c97[0x1]||'')[_0x639006(0x20f)]('_');return{'prefix':_0x513c97[0x0],'groupId':_0x3037c0[0x0],'suffix':_0x3037c0[0x1]};}[_0xab2974(0x15f)](_0x22deda,_0x284ef3,_0x5d0f02){const _0x5690de=_0xab2974;if(_0x5690de(0x1d9)===_0x22deda[_0x5690de(0x131)]){const _0x56a126=_0x22deda;return new _0x1053f3(this[_0x5690de(0x1ac)](_0x284ef3[_0x5690de(0x17f)](_0x56a126[_0x5690de(0x1c6)][_0x5690de(0x1c8)]),_0x5d0f02),_0x56a126[_0x5690de(0x165)],_0x56a126[_0x5690de(0x173)]);}if(_0x5690de(0x215)===_0x22deda[_0x5690de(0x131)]&&_0x22deda[_0x5690de(0x1cc)][_0x5690de(0x123)](_0x5690de(0x148))){const _0x1646a8=_0x22deda;return new _0x208867(_0x1646a8[_0x5690de(0x1cc)],_0x1646a8[_0x5690de(0x17d)],this[_0x5690de(0x129)](_0x1646a8[_0x5690de(0x20a)],_0x284ef3[_0x5690de(0x17f)](_0x1646a8[_0x5690de(0x20a)][_0x5690de(0x1c5)][_0x5690de(0x1c8)]),_0x284ef3[_0x5690de(0x17f)](_0x1646a8[_0x5690de(0x20a)][_0x5690de(0x189)][_0x5690de(0x1c8)]),_0x5d0f02),_0x1646a8[_0x5690de(0x12c)],_0x1646a8[_0x5690de(0x1ad)],_0x1646a8[_0x5690de(0x173)]);}return _0x22deda;}[_0xab2974(0x1fa)](_0x55b7d6){const _0x340b08=_0xab2974;if(!_0x55b7d6[_0x340b08(0x20d)])return[];const _0x531d6c=[];let _0x19f113=0x0,_0x53962f=0x0,_0x5df3bb=[];for(let _0x9e416d=0x0;_0x9e416d<=_0x55b7d6[_0x340b08(0x20d)];_0x9e416d++){const _0x5ba0a1=_0x55b7d6[_0x9e416d],_0x51eb8b=_0x55b7d6[_0x9e416d-0x1];!_0x5ba0a1||_0x51eb8b&&!this[_0x340b08(0x198)](_0x51eb8b)[_0x340b08(0x18c)](this[_0x340b08(0x12d)](_0x5ba0a1))?(_0x531d6c[_0x340b08(0x133)]({'operations':_0x5df3bb,'operationsIsolated':_0x5df3bb[_0x340b08(0x1a2)](_0x16c8e9=>this[_0x340b08(0x139)](_0x16c8e9[_0x340b08(0x217)](),-_0x53962f)),'groupOffset':_0x19f113}),_0x5df3bb=_0x5ba0a1?[_0x5ba0a1]:[],_0x53962f+=_0x19f113,_0x19f113=0x0):_0x5df3bb[_0x340b08(0x133)](_0x5ba0a1),_0x5ba0a1&&_0x340b08(0x1d9)===_0x5ba0a1[_0x340b08(0x131)]&&(_0x19f113+=_0x5ba0a1[_0x340b08(0x1f4)]);}return _0x531d6c;}[_0xab2974(0x16e)](_0x3806f5,_0x14c69e,_0x4f6615,_0x59382a=0x1){const _0x5693e1=_0xab2974,_0x4671d5=new _0xd2545d({'startPosition':_0x3806f5,'direction':_0x14c69e});let _0x29e8c1=0x0;for(let _0x4e1485=0x0;_0x4e1485<_0x59382a;_0x4e1485++){let _0x866e10=0x0,_0xdfc38f=!0x1,_0x357d7a=_0x5693e1(0x17a)===_0x14c69e?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x655a15}of _0x4671d5)if(_0x655a15['is'](_0x5693e1(0x20e))){const _0x8c69ae=_0x357d7a[_0x5693e1(0x1fe)](_0x655a15[_0x5693e1(0x17b)]);if(_0x8c69ae&&_0x8c69ae[_0x5693e1(0x20d)]){if(_0x866e10+=_0x5693e1(0x17a)===_0x14c69e?_0x8c69ae[_0x5693e1(0x170)]+_0x8c69ae[0x0][_0x5693e1(0x20d)]:_0x655a15[_0x5693e1(0x17b)][_0x5693e1(0x20d)]-_0x8c69ae[_0x5693e1(0x170)],_0x8c69ae[0x0][_0x5693e1(0x20d)]!==_0x655a15[_0x5693e1(0x17b)][_0x5693e1(0x20d)])break;_0xdfc38f=!0x0,_0x357d7a=_0x5693e1(0x17a)===_0x14c69e?/^\w+/:/\w+$/;}else{if(_0xdfc38f)break;_0x866e10+=_0x655a15[_0x5693e1(0x1c0)];}}else{if(_0x655a15['is'](_0x5693e1(0x182))){_0x4f6615[_0x5693e1(0x1d5)](_0x655a15)&&!_0xdfc38f&&(_0x866e10+=0x1);break;}}_0x29e8c1+=_0x866e10,_0x4671d5[_0x5693e1(0x19a)](_0x3806f5[_0x5693e1(0x222)](_0x5693e1(0x17a)===_0x14c69e?_0x29e8c1:-_0x29e8c1));}return _0x29e8c1;}[_0xab2974(0x225)](_0x5079db,_0x502c45){const _0xf40f34=_0xab2974,_0x17a270=_0x5ba687(this[_0xf40f34(0x147)])[_0xf40f34(0x13f)][_0xf40f34(0x192)],_0x559a41=this[_0xf40f34(0x16e)](_0x5079db,_0xf40f34(0x15b),_0x17a270,0x6),_0x5c40e6=this[_0xf40f34(0x16e)](_0x502c45,_0xf40f34(0x17a),_0x17a270,0x6),_0x331fb4=_0x5079db[_0xf40f34(0x222)](-_0x559a41),_0x20e1fc=_0x502c45[_0xf40f34(0x222)](_0x5c40e6);return{'start':_0x331fb4,'end':_0x20e1fc,'hasContentBefore':!_0x331fb4[_0xf40f34(0x1af)],'hasContentAfter':!_0x20e1fc[_0xf40f34(0x1d0)]};}[_0xab2974(0x1b3)](_0xc8b719){const _0x3f4d1e=_0xab2974,_0x1c48a6=this[_0x3f4d1e(0x147)][_0x3f4d1e(0x214)][_0x3f4d1e(0x17e)](_0x3f4d1e(0x20b)),_0x6c7f5=new Set();_0x5ba687(this[_0x3f4d1e(0x147)])[_0x3f4d1e(0x13f)][_0x3f4d1e(0x1a8)](_0x4a596c=>{const _0x4cc74d=_0x3f4d1e;for(const _0x83a519 of _0xc8b719){const _0xd2f6e8=''+fe+_0x83a519[_0x4cc74d(0x131)]+':'+_0x83a519[_0x4cc74d(0x226)]+'_'+_0x1c48a6[_0x4cc74d(0x152)](_0x6c7f5);this[_0x4cc74d(0x12c)][_0x4cc74d(0x1eb)](_0xd2f6e8,{'id':_0xd2f6e8,'groupId':_0x83a519[_0x4cc74d(0x226)],'type':_0x83a519[_0x4cc74d(0x131)],'content':_0x83a519[_0x4cc74d(0x1da)]}),_0x4a596c[_0x4cc74d(0x1a5)](_0xd2f6e8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4a596c[_0x4cc74d(0x121)](_0x83a519[_0x4cc74d(0x1c5)],_0x83a519[_0x4cc74d(0x189)])});}});}[_0xab2974(0x1ab)](_0x1bc13a,_0x2d87ef,_0x3a8130){let _0x4f0ff8='';return()=>{const _0x3bfd89=_0x2844;if(!_0x4f0ff8){const _0x16e3de=_0x2d87ef[_0x3bfd89(0x169)](_0x1bc13a,{'showSuggestionHighlights':!0x0});let _0x54bd67=_0x16e3de[_0x3bfd89(0x1f3)](0x0);if(_0x54bd67['is'](_0x3bfd89(0x138))||(_0x54bd67=_0x16e3de),!_0x54bd67)return'';let _0x25dbe8=!0x1;const _0x58c9f5=[];for(const _0x2b5e78 of _0x54bd67[_0x3bfd89(0x1e4)]())_0x2b5e78['is'](_0x3bfd89(0x182),_0x3bfd89(0x1bb))&&_0x2b5e78[_0x3bfd89(0x1b4)](_0x3bfd89(0x16c))&&(_0x25dbe8=!0x1),_0x25dbe8&&_0x58c9f5[_0x3bfd89(0x133)](_0x2b5e78),_0x2b5e78['is'](_0x3bfd89(0x182),_0x3bfd89(0x1bb))&&_0x2b5e78[_0x3bfd89(0x1b4)](_0x3bfd89(0x1bd))&&(_0x25dbe8=!0x0);_0x54bd67[_0x3bfd89(0x1a1)](0x0,_0x54bd67[_0x3bfd89(0x127)]),_0x3a8130?.[_0x3bfd89(0x16d)]&&_0x54bd67[_0x3bfd89(0x213)]('…'),_0x54bd67[_0x3bfd89(0x213)](_0x58c9f5),_0x3a8130?.[_0x3bfd89(0x1e9)]&&_0x54bd67[_0x3bfd89(0x213)]('…');const _0x1604dc=_0x2d87ef[_0x3bfd89(0x184)][_0x3bfd89(0x1c9)][_0x3bfd89(0x1dd)](_0x16e3de),_0x24437c=_0x2d87ef[_0x3bfd89(0x184)][_0x3bfd89(0x16b)][_0x3bfd89(0x21a)](_0x1604dc);_0x4f0ff8=_0x24437c;}return _0x4f0ff8;};}[_0xab2974(0x206)](_0x232ff1,_0xa5c21f){const _0x570103=_0xab2974;let _0xc12757='';return()=>(_0xc12757||(_0xc12757=_0xa5c21f[_0x570103(0x1d7)](_0x232ff1,{'showSuggestionHighlights':!0x0})),_0xc12757);}[_0xab2974(0x1dc)](_0x334029,_0x1c11fe,_0x3db5b1){let _0x112f66='';return()=>{const _0x30aee7=_0x2844;if(!_0x112f66){const _0x5e1965=_0x3db5b1[_0x30aee7(0x169)](new _0x4ed892(_0x334029)),_0x35b9e6=_0x3db5b1[_0x30aee7(0x184)][_0x30aee7(0x1c9)][_0x30aee7(0x1dd)](_0x5e1965)[_0x30aee7(0x1f5)](_0x30aee7(0x180)+_0x1c11fe+'\x22]');_0x112f66=_0x35b9e6?.[_0x30aee7(0x1c1)]||'';}return _0x112f66;};}[_0xab2974(0x208)](_0x46facc,_0x1656f9=0x5){const _0x35725b=_0xab2974;let _0x4228e9=_0x46facc,_0x4009e5=null;for(let _0xfb6f07=0x0;_0xfb6f07<_0x1656f9&&_0x4228e9;_0xfb6f07++){if(!_0x4228e9[_0x35725b(0x19e)]){_0x4228e9=_0x4228e9[_0x35725b(0x200)];continue;}if(!(''+_0x4228e9[_0x35725b(0x19e)])[_0x35725b(0x15a)](_0x35725b(0x1b8))){_0x4228e9=_0x4228e9[_0x35725b(0x200)];continue;}if(!_0x4228e9[_0x35725b(0x146)](_0x35725b(0x1d1)))break;_0x4009e5=_0x4228e9;break;}return _0x4009e5;}[_0xab2974(0x201)](_0x5f3c16){const _0x57a2a8=_0xab2974,_0x17fb19=_0x5ba687(this[_0x57a2a8(0x147)]),_0x1c136e=_0x17fb19[_0x57a2a8(0x13f)][_0x57a2a8(0x154)][_0x57a2a8(0x17e)](_0x5f3c16);return _0x1c136e?_0x84d1f(_0x17fb19[_0x57a2a8(0x18e)],_0x1c136e):null;}[_0xab2974(0x1ec)](_0x3e7955){const _0x1f5c37=_0xab2974;return Array[_0x1f5c37(0x1f2)](this[_0x1f5c37(0x12c)][_0x1f5c37(0x14a)]())[_0x1f5c37(0x1cb)](_0x102092=>_0x102092[_0x1f5c37(0x226)]===_0x3e7955);}[_0xab2974(0x12d)](_0x5ec12a){const _0xc3e3d1=_0xab2974;return _0xc3e3d1(0x1d9)===_0x5ec12a[_0xc3e3d1(0x131)]?_0x5ec12a[_0xc3e3d1(0x1c6)]:_0x5ec12a[_0xc3e3d1(0x20a)][_0xc3e3d1(0x1c5)];}[_0xab2974(0x198)](_0x177c84,_0x4f7dae=!0x1){const _0x1d0f37=_0xab2974;return _0x1d0f37(0x1d9)===_0x177c84[_0x1d0f37(0x131)]?_0x4f7dae?_0x177c84[_0x1d0f37(0x1c6)]:_0x177c84[_0x1d0f37(0x1c6)][_0x1d0f37(0x222)](_0x177c84[_0x1d0f37(0x1f4)]):_0x177c84[_0x1d0f37(0x20a)][_0x1d0f37(0x189)];}[_0xab2974(0x139)](_0x475957,_0x194f09){const _0xaa944d=_0xab2974;return _0xaa944d(0x1d9)===_0x475957[_0xaa944d(0x131)]?_0x475957[_0xaa944d(0x1c6)]=_0x475957[_0xaa944d(0x1c6)][_0xaa944d(0x222)](_0x194f09):_0xaa944d(0x215)===_0x475957[_0xaa944d(0x131)]&&_0x475957[_0xaa944d(0x20a)]&&(_0x475957[_0xaa944d(0x20a)]=new _0x453e35(_0x475957[_0xaa944d(0x20a)][_0xaa944d(0x1c5)][_0xaa944d(0x222)](_0x194f09),_0x475957[_0xaa944d(0x20a)][_0xaa944d(0x189)][_0xaa944d(0x222)](_0x194f09))),_0x475957;}[_0xab2974(0x122)](_0x297bc7,_0x1cee8f){const _0x1a3cde=_0xab2974;_0x1a3cde(0x1d9)===_0x297bc7[_0x1a3cde(0x131)]?_0x297bc7[_0x1a3cde(0x1c6)]=this[_0x1a3cde(0x1cf)](_0x297bc7[_0x1a3cde(0x1c6)],_0x1cee8f):_0x1a3cde(0x215)===_0x297bc7[_0x1a3cde(0x131)]&&_0x297bc7[_0x1a3cde(0x20a)]&&(_0x297bc7[_0x1a3cde(0x20a)]=this[_0x1a3cde(0x1bc)](_0x297bc7[_0x1a3cde(0x20a)],_0x1cee8f));}[_0xab2974(0x1cf)](_0x26bce5,_0x215bcb){const _0x14c477=_0xab2974;return new _0x38ab12(_0x215bcb,_0x26bce5[_0x14c477(0x210)]);}[_0xab2974(0x1bc)](_0x314c06,_0x541218){const _0x37753c=_0xab2974;return new _0x453e35(this[_0x37753c(0x1cf)](_0x314c06[_0x37753c(0x1c5)],_0x541218),this[_0x37753c(0x1cf)](_0x314c06[_0x37753c(0x189)],_0x541218));}[_0xab2974(0x1ac)](_0x1c2da9,_0x2c30d8){return new _0x38ab12(_0x2c30d8,[..._0x1c2da9]);}[_0xab2974(0x129)](_0x56f852,_0x33110c,_0x36d541,_0x22db03){const _0x590aca=_0xab2974;return new _0x453e35(this[_0x590aca(0x1ac)](_0x33110c,_0x22db03),this[_0x590aca(0x1ac)](_0x36d541,_0x22db03));}[_0xab2974(0x223)](_0x86f25){const _0x191429=_0xab2974,_0x1d463b=_0x5f50a0=>{const _0xcf5b7e=_0x2844;switch(_0x5f50a0){case _0xcf5b7e(0x1d9):return 0x0;case _0xcf5b7e(0x1be):return 0x1;case _0xcf5b7e(0x15e):return 0x2;case _0xcf5b7e(0x212):return 0x3;}};return _0x86f25[_0x191429(0x21e)]((_0x418a75,_0x1a4363)=>_0x1d463b(_0x418a75[_0x191429(0x131)])-_0x1d463b(_0x1a4363[_0x191429(0x131)]));}[_0xab2974(0x1ff)](_0x16b86f,_0x202afc){const _0x575459=_0xab2974,_0x4cdabc=_0x16b86f[_0x575459(0x1f3)](0x0),_0x2c451f=_0x202afc[_0x575459(0x1f3)](0x0);return!(!_0x4cdabc||!_0x2c451f)&&((!_0x4cdabc['is'](_0x575459(0x182))||!_0x2c451f['is'](_0x575459(0x182))||_0x4cdabc[_0x575459(0x1cc)]===_0x2c451f[_0x575459(0x1cc)])&&!(_0x4cdabc['is'](_0x575459(0x182))&&!_0x2c451f['is'](_0x575459(0x182))||!_0x4cdabc['is'](_0x575459(0x182))&&_0x2c451f['is'](_0x575459(0x182))));}[_0xab2974(0x187)](_0x1b2d32){const _0x1240b0=_0xab2974;return 0x1===_0x1b2d32[_0x1240b0(0x127)];}[_0xab2974(0x1b5)](_0x44e678,_0x452705){const _0x2eba90=_0xab2974;for(const _0x3491ab of _0x44e678[_0x2eba90(0x1e4)]())if(_0x3491ab['is'](_0x2eba90(0x182))&&!_0x452705[_0x2eba90(0x1d5)](_0x3491ab))return!0x1;return!0x0;}[_0xab2974(0x190)](_0x3ffe9d,_0x228a3d){const _0xcc5b45=_0xab2974;let _0x3ec6ff=_0x3ffe9d[_0xcc5b45(0x146)](_0x1238c8);return _0x3ec6ff||(_0x3ec6ff=_0x228a3d(),_0x3ffe9d[_0xcc5b45(0x1e5)](_0x1238c8,_0x3ec6ff)),_0x3ec6ff;}}
|
|
23
|
+
const _0x2aaa72=_0x6b4c;(function(_0x15ffca,_0x3138bb){const _0x35d522=_0x6b4c,_0x5acaab=_0x15ffca();while(!![]){try{const _0x561f1e=parseInt(_0x35d522(0xa5))/0x1+-parseInt(_0x35d522(0xfa))/0x2+-parseInt(_0x35d522(0x159))/0x3*(parseInt(_0x35d522(0xd5))/0x4)+-parseInt(_0x35d522(0xa0))/0x5*(-parseInt(_0x35d522(0x101))/0x6)+parseInt(_0x35d522(0x11d))/0x7+parseInt(_0x35d522(0x15a))/0x8*(parseInt(_0x35d522(0x112))/0x9)+parseInt(_0x35d522(0x137))/0xa;if(_0x561f1e===_0x3138bb)break;else _0x5acaab['push'](_0x5acaab['shift']());}catch(_0x14f4f7){_0x5acaab['push'](_0x5acaab['shift']());}}}(_0x190a,0x957c0));import{InsertOperation as _0x3fc600,MarkerOperation as _0xc4e586,ModelDocumentFragment as _0x21733d,ModelPosition as _0x4898f5,ModelRange as _0x5531d4,ModelTreeWalker as _0x6354fe,transformOperationSets as _0x51ee99}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x41fbfc,EmitterMixin as _0x5d07b4,uid as _0x5818cd}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5268a8}from'ckeditor5/src/core.js';function _0x6b4c(_0x10ecb7,_0x90a120){const _0x190a9b=_0x190a();return _0x6b4c=function(_0x6b4c98,_0xa6c4e){_0x6b4c98=_0x6b4c98-0x7e;let _0x34666c=_0x190a9b[_0x6b4c98];return _0x34666c;},_0x6b4c(_0x10ecb7,_0x90a120);}import{DocumentCompare as _0x21a546,DATA_ID_MODEL_ATTRIBUTE as _0x2b8124,DATA_ID_VIEW_ATTRIBUTE as _0x189950,getMarkerDomElement as _0x18a298}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x190a(){const _0x13636a=['No\x20element\x20found\x20for\x20ID:\x20','_groupAdjacentOperations','isLimit','getDocumentData','_changeRangeOwnerDocument','mouseup','createSelection','schema','ck-ai_review-marker_underline','root','toView','isTouching','containerElement','hasAttribute','offsetSize','hasContentAfter','attributeToAttribute','_hasSameTopLevelElement','index','afterInit','\x20ck-ai_review__change_active','getOperations','start','diffContent','toData','marker','htmlWriter','ck-ai_review-marker_context-','registerPostFixer','createRangeOn','getRoots','data','affectsData','isAtEnd','getRoot','forEach','isOpening','2998308xNEQmo','markerToHighlight','jumpTo','offset','getContentElementForChange','filter','$documentFragment','querySelector','createUIElement','_handleMarkerChanges','document','parentElement','operationsIsolated','_getChangeContext','htmlProcessor','DocumentCompare','_createGetContextFn','pop','oldRange','rejectChange','getHtml','outerHTML','clone','_changeRange','getChangedMarkers','addOperation','_eventEmitter','AIEditing','forward','operationsA','_nextDataId','createRawElement','elements','newRange','end','name','for','1913198WqRrwC','warn','ellipsisBefore','_haveOnlyInlineContent','suggestion:deletion:id:authorId:','hasContentBefore','$graveyard','942VzIPex','keys','parent','downcast','getPath','enableReadOnlyMode','createDocumentFragment','fire','model','element','disableReadOnlyMode','_findAdjacentContextDistance','_getOperationStart','applyOperation','conversion','values','switchToEdit','9QwGsZN','_removeAttribute','ellipsisAfter','getDiff','get','rootName','content','isOfficialPlugin','dataDowncast','_changeOperationOwnerDocument','getChild','1879304XNTmzg','review-','groupId','ck-ai_review__change_active','flat','getEditableElement','_findMarkerElement','$root','_insertMarkers','clearAllMarkers','isBlock','isDocumentOperation','$textProxy','body','reconvertMarker','add','createPositionAt','ck-ai_review-marker_hide','concat','getStart','view','highest','_getOperationEnd','AIReviewCoreEditing','isAtStart','_createGetContentUsingDataIdFn','4737650qWRZoI','push','deleteContent','startsWith','_findMarkerElementById','from','ck-ai_review-marker_context-end','markers','applyChange','$markedRemove:synthetic','_translateOperationToEditorContent','changeMarkerRestored','emitter','innerHTML','$markedRemove','hasClass','remove-only','_setAttribute','remove-text','getDomRoot','mouseover','getChildren','isInline','every','childCount','asString','ck-ai_review-marker_context-start','size','operations','nodes','path','position','remove','plugins','3AXqCBb','5901592WUZFhM','suggestion:insertion:id:authorId:','ck-ai_review-marker_add','_domEmitter','ai-review','clear','pluginName','relatedTarget','_changePosition','backward','switchToReadOnly','inside','parse','context','listenTo','_markers','containsRange','isPremiumPlugin','viewToDom','_haveSingleTopLevelElement','_appendChild','_changePositionOwnerDocument','editingDowncast','requires','type','version','howMany','setAllMarkersAsInactive','history','target','className','insertContent','.ck-reset.ck-ai_review-balloon-panel-suggestion','_validateMarkers','suggestion-context','editing','getChanges','map','delete','_removeChildren','insert','differ','has','toDomElement','join','getMarkerElementForChange','createPositionAfter','[data-marker-id=\x22','changeMarkerBlurred','_parseMarkerName','length','markerToElement','includes','getEditor','split','change','markerName','_getMarkersDataForGroup','set','getRange','markChangePositionInEditorContent','batch','isIntersecting','changeMarkerRemoved','addMarker','outside','createRangeIn','ck-ai_review-marker_strikethrough','_activeMarkers','documentFragment','_getPositionLimitingRange','getAttribute','asFragment','changeMarkerHovered','data-marker-id','stringify','[data-id=\x22','_shiftOperation','_upsertDataId','closest','removeMarker','reactivateMarkers','baseVersion','append','17525YGfnGX','_sortMarkers','setMarkersInElementAsActive','processor','sort','288243CQVOXd','getShiftedBy','ck-ai_review-marker_','_createGetContentFn','_clone','exec','createRange','changeMarkerClicked','remove-context','domConverter','span'];_0x190a=function(){return _0x13636a;};return _0x190a();}import{getEditorFromContext as _0x653a8c}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x4ab88a}from'../aicore/aiediting.js';import{debounce as _0x28820f}from'es-toolkit/compat';const fe=_0x2aaa72(0x11e);export class AIReviewCoreEditing extends _0x5268a8{static get[_0x2aaa72(0x171)](){return[_0x21a546,_0x4ab88a];}static get[_0x2aaa72(0x160)](){const _0x56921e=_0x2aaa72;return _0x56921e(0x134);}static get[_0x2aaa72(0x119)](){return!0x0;}static get[_0x2aaa72(0x16b)](){return!0x0;}[_0x2aaa72(0x169)]=new Map();[_0x2aaa72(0x90)]=new Set();[_0x2aaa72(0x15d)];[_0x2aaa72(0xef)];constructor(_0x58c380){const _0x78df31=_0x2aaa72;super(_0x58c380),this[_0x78df31(0x15d)]=new(_0x41fbfc())(),this[_0x78df31(0xef)]=new(_0x5d07b4())();}get[_0x2aaa72(0x143)](){const _0x2db2d4=_0x2aaa72;return this[_0x2db2d4(0xef)];}[_0x2aaa72(0xc3)](){const _0xeddb63=_0x2aaa72,_0x32e60e=_0x653a8c(this[_0xeddb63(0x167)]);_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x170))[_0xeddb63(0x7f)]({'model':fe+_0xeddb63(0x182),'view':(_0x40697c,{writer:_0x44c2bb})=>{const _0x7177f5=_0xeddb63,_0x42b249=this[_0x7177f5(0x169)][_0x7177f5(0x116)](_0x40697c[_0x7177f5(0x84)]),_0x43142c={'class':_0x7177f5(0x15c)+(this[_0x7177f5(0x90)][_0x7177f5(0x184)](_0x42b249?.['id']||'')?_0x7177f5(0xc4):''),'data-marker-id':_0x40697c[_0x7177f5(0x84)]};return _0x44c2bb[_0x7177f5(0xdd)](_0x7177f5(0xaf),_0x43142c,function(_0x15fdcd){const _0x370168=_0x7177f5,_0x283231=this[_0x370168(0x185)](_0x15fdcd);return _0x283231[_0x370168(0x144)]=_0x42b249?.[_0x370168(0x118)]?.[_0x370168(0x150)]||'',_0x283231;});}}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x170))[_0xeddb63(0xd6)]({'model':fe+_0xeddb63(0x147),'view':_0xd86ee4=>{const _0x1109ba=_0xeddb63,_0x4b2522=this[_0x1109ba(0x169)][_0x1109ba(0x116)](_0xd86ee4[_0x1109ba(0x84)]),_0x5a1fa4=[_0x1109ba(0x8f)];return this[_0x1109ba(0x90)][_0x1109ba(0x184)](_0x4b2522?.['id']||'')&&_0x5a1fa4[_0x1109ba(0x138)](_0x1109ba(0x120)),{'classes':_0x5a1fa4,'attributes':{'data-marker-id':_0xd86ee4[_0x1109ba(0x84)]}};}}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x170))[_0xeddb63(0xd6)]({'model':fe+_0xeddb63(0xad),'view':_0x41d538=>{const _0x649e6a=_0xeddb63,_0x5466d2=this[_0x649e6a(0x169)][_0x649e6a(0x116)](_0x41d538[_0x649e6a(0x84)]),_0x28850c=[_0x649e6a(0xb8)];return this[_0x649e6a(0x90)][_0x649e6a(0x184)](_0x5466d2?.['id']||'')&&_0x28850c[_0x649e6a(0x138)](_0x649e6a(0x120)),{'classes':_0x28850c,'attributes':{'data-marker-id':_0x41d538[_0x649e6a(0x84)]}};}}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x170))[_0xeddb63(0xd6)]({'model':fe+_0xeddb63(0x149),'view':_0x24f4b0=>{const _0x915c36=_0xeddb63,_0x3d25fa=this[_0x915c36(0x169)][_0x915c36(0x116)](_0x24f4b0[_0x915c36(0x84)]),_0x5cdcee=[_0x915c36(0x12e)];return this[_0x915c36(0x90)][_0x915c36(0x184)](_0x3d25fa?.['id']||'')&&_0x5cdcee[_0x915c36(0x138)](_0x915c36(0x120)),{'classes':_0x5cdcee,'attributes':{'data-marker-id':_0x24f4b0[_0x915c36(0x84)]}};}}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x11a))[_0xeddb63(0x7f)]({'model':fe+_0xeddb63(0x17c),'view':(_0x3ab667,{writer:_0xd2465b})=>_0xd2465b[_0xeddb63(0xf4)](_0xeddb63(0xaf),{'class':_0xeddb63(0xcb)+(_0x3ab667[_0xeddb63(0xd4)]?_0xeddb63(0xc6):_0xeddb63(0xf7))})}),_0x32e60e[_0xeddb63(0x10f)][_0xeddb63(0xf9)](_0xeddb63(0x104))[_0xeddb63(0xc0)]({'model':_0x2b8124,'view':_0x189950});const _0x5e6237=_0x32e60e['ui'][_0xeddb63(0x122)]()||document[_0xeddb63(0x12a)];this[_0xeddb63(0x15d)][_0xeddb63(0x168)](_0x5e6237,_0xeddb63(0xb5),(_0x5dc261,_0x4bccf8)=>{const _0x25d243=_0xeddb63,_0x224285=_0x4bccf8[_0x25d243(0x177)],_0x42cbb5=this[_0x25d243(0x123)](_0x224285);if(!_0x42cbb5)return;const _0x161c7a=_0x42cbb5[_0x25d243(0x93)](_0x25d243(0x96)),_0x4d3f26=_0x161c7a[_0x25d243(0x82)](':')[_0x25d243(0xe6)]()?.[_0x25d243(0x82)]('_')[0x0];this[_0x25d243(0xef)][_0x25d243(0x108)](_0x25d243(0xac),{'markerId':_0x161c7a,'changeId':_0x4d3f26,'markerElement':()=>this[_0x25d243(0x13b)](_0x161c7a),'domEvent':_0x4bccf8});},{'usePassive':!0x0,'priority':_0xeddb63(0x132)}),this[_0xeddb63(0x15d)][_0xeddb63(0x168)](_0x5e6237,_0xeddb63(0x14b),(_0x16b9cf,_0x1edb16)=>{const _0x203f37=_0xeddb63,_0xdc49f7=_0x1edb16[_0x203f37(0x177)],_0x5d0723=_0x1edb16[_0x203f37(0x161)];let _0x6b49d8=this[_0x203f37(0x123)](_0xdc49f7);if(!_0x6b49d8&&_0x5d0723&&(_0x6b49d8=this[_0x203f37(0x123)](_0x5d0723)),!_0x6b49d8)return;const _0x5c310a=_0x6b49d8[_0x203f37(0x93)](_0x203f37(0x96)),_0x591d56=_0x5c310a[_0x203f37(0x82)](':')[_0x203f37(0xe6)]()?.[_0x203f37(0x82)]('_')[0x0];this[_0x203f37(0xef)][_0x203f37(0x108)](_0x203f37(0x95),{'changeId':_0x591d56,'markerElement':()=>this[_0x203f37(0x13b)](_0x5c310a),'domEvent':_0x1edb16});}),this[_0xeddb63(0x15d)][_0xeddb63(0x168)](document,_0xeddb63(0x14b),_0x28820f((_0x1ef7f6,_0x394a94)=>{const _0x5d8ef1=_0xeddb63,_0x5d4c87=_0x394a94[_0x5d8ef1(0x177)];if(this[_0x5d8ef1(0x123)](_0x5d4c87))return;_0x5d4c87[_0x5d8ef1(0x9b)](_0x5d8ef1(0x17a))||this[_0x5d8ef1(0xef)][_0x5d8ef1(0x108)](_0x5d8ef1(0x18a));},0xc8)),_0x32e60e[_0xeddb63(0x109)][_0xeddb63(0xdf)][_0xeddb63(0xcc)](_0x5c0369=>this[_0xeddb63(0x17b)](_0x32e60e,_0x5c0369)),_0x32e60e[_0xeddb63(0x109)][_0xeddb63(0xdf)]['on'](_0xeddb63(0x83),()=>this[_0xeddb63(0xde)](_0x32e60e));}[_0x2aaa72(0xb3)](){const _0x58d45d=_0x2aaa72,_0x48db52=this[_0x58d45d(0x167)][_0x58d45d(0x158)][_0x58d45d(0x116)](_0x58d45d(0xf0)),_0x10cf83=_0x653a8c(this[_0x58d45d(0x167)]),_0x5dd216=_0x10cf83[_0x58d45d(0x109)],_0x4adc6d=new _0x21733d();for(const _0x100377 of _0x5dd216[_0x58d45d(0xdf)][_0x58d45d(0xd2)]()[_0x58d45d(0x14c)]()){const _0x59c3f2=_0x100377[_0x58d45d(0xa9)](!0x0);_0x4adc6d[_0x58d45d(0x16e)](_0x59c3f2);}for(const _0x599588 of _0x5dd216[_0x58d45d(0x13e)])_0x4adc6d[_0x58d45d(0x13e)][_0x58d45d(0x86)](_0x599588[_0x58d45d(0xf8)],this[_0x58d45d(0xb4)](_0x599588[_0x58d45d(0x87)]()[_0x58d45d(0xeb)](),_0x4adc6d));const _0x420d34=new _0x6354fe({'ignoreElementEnd':!0x0,'startPosition':_0x5dd216[_0x58d45d(0x12d)](_0x4adc6d,0x0)}),_0xbeadd1=new Set(),_0x3fddf6=new Map();for(const {item:_0x1dae48}of _0x420d34){if(!_0x1dae48['is'](_0x58d45d(0x129)))continue;const _0x1c9b24=_0x1dae48[_0x58d45d(0x103)];if(_0x1c9b24&&_0x1c9b24['is'](_0x58d45d(0x10a))){const _0x313bb5=this[_0x58d45d(0x9a)](_0x1c9b24,()=>_0x48db52[_0x58d45d(0xf3)](_0xbeadd1));_0xbeadd1[_0x58d45d(0x12c)](_0x313bb5);for(const _0x1959b3 of _0x1c9b24[_0x58d45d(0x14c)]())_0x1959b3['is'](_0x58d45d(0x10a))&&_0xbeadd1[_0x58d45d(0x12c)](this[_0x58d45d(0x9a)](_0x1959b3,()=>_0x48db52[_0x58d45d(0xf3)](_0xbeadd1)));let _0x2f5704=_0x1c9b24;for(;_0x2f5704[_0x58d45d(0x103)]&&!_0x2f5704[_0x58d45d(0x103)]['is'](_0x58d45d(0x91));)_0x2f5704=_0x2f5704[_0x58d45d(0x103)],_0x2f5704[_0x58d45d(0xbd)](_0x2b8124)&&_0x2f5704[_0x58d45d(0x113)](_0x2b8124);_0x3fddf6[_0x58d45d(0x86)](_0x313bb5,{'path':_0x1c9b24[_0x58d45d(0x105)](),'getContent':this[_0x58d45d(0x136)](_0x2f5704[_0x58d45d(0xa9)](!0x0),_0x313bb5,_0x10cf83[_0x58d45d(0xcf)])}),_0x420d34[_0x58d45d(0xd7)](_0x5dd216[_0x58d45d(0x188)](_0x1c9b24));}}return{'content':_0x10cf83[_0x58d45d(0xcf)][_0x58d45d(0xa3)][_0x58d45d(0xc8)](_0x10cf83[_0x58d45d(0xcf)][_0x58d45d(0xba)](_0x4adc6d)),'version':_0x10cf83[_0x58d45d(0x109)][_0x58d45d(0xdf)][_0x58d45d(0x173)],'elements':_0x3fddf6};}[_0x2aaa72(0xc7)](_0x130b27,_0x2b298d,_0x4a2f85=!0x1){const _0x57ae5c=_0x2aaa72,_0x54f6a5=[],_0x3beeb1=_0x653a8c(this[_0x57ae5c(0x167)]),_0x1b2ff7=_0x3beeb1[_0x57ae5c(0xcf)][_0x57ae5c(0x166)](_0x2b298d,_0x57ae5c(0xdb)),_0x5aea44=_0x3beeb1[_0x57ae5c(0xcf)][_0x57ae5c(0x166)](_0x130b27,_0x57ae5c(0xdb)),_0x194385=_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0x12d)](_0x5aea44,0x0);if(this[_0x57ae5c(0x16d)](_0x1b2ff7)){if(!this[_0x57ae5c(0xc1)](_0x5aea44,_0x1b2ff7))return _0x54f6a5;}else{const _0x3a85f9=_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0xb7)];if(!this[_0x57ae5c(0xfd)](_0x5aea44,_0x3a85f9)||!this[_0x57ae5c(0xfd)](_0x1b2ff7,_0x3a85f9))return _0x54f6a5;}const _0x5aade3=this[_0x57ae5c(0x167)][_0x57ae5c(0x158)][_0x57ae5c(0x116)](_0x57ae5c(0xe4))[_0x57ae5c(0x115)](_0x130b27,_0x2b298d,{'anchor':_0x194385,'markDeletions':!0x0})[_0x57ae5c(0xc5)]()[_0x57ae5c(0xda)](_0x16a85f=>_0x57ae5c(0x182)===_0x16a85f[_0x57ae5c(0x172)]||_0x57ae5c(0xc9)===_0x16a85f[_0x57ae5c(0x172)]&&_0x16a85f[_0x57ae5c(0xf8)][_0x57ae5c(0x13a)](_0x57ae5c(0x145))),_0x503632=this[_0x57ae5c(0xb1)](_0x5aade3),_0x2b85cc=[];if(_0x4a2f85){if(_0x503632[_0x57ae5c(0x7e)]){const _0x2cd0b1=_0x503632[0x0][_0x57ae5c(0x153)][0x0],_0x294697=_0x57ae5c(0x182)===_0x2cd0b1[_0x57ae5c(0x172)]?_0x2cd0b1[_0x57ae5c(0x156)]:_0x2cd0b1[_0x57ae5c(0xf6)][_0x57ae5c(0xc6)],_0x4e6ee6=this[_0x57ae5c(0x92)](_0x294697,_0x3beeb1,_0x57ae5c(0x165)),_0x5c5a4e=_0x4e6ee6?_0x1b2ff7[_0x57ae5c(0x11c)](0x0)[_0x57ae5c(0x14c)]():_0x1b2ff7[_0x57ae5c(0x14c)](),_0x42068a=_0x4e6ee6||_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0x8e)](_0x5aea44),_0xdf192f=[new _0xc4e586(_0x57ae5c(0x140)+_0x5818cd(),null,_0x42068a,_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0xdf)][_0x57ae5c(0x109)][_0x57ae5c(0x13e)],!0x0,_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0xdf)][_0x57ae5c(0x173)]+0x1),new _0x3fc600(_0x42068a[_0x57ae5c(0xf7)],_0x5c5a4e,_0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0xdf)][_0x57ae5c(0x173)]+0x2)];_0x2b85cc[_0x57ae5c(0x138)]({'operations':_0xdf192f,'operationsIsolated':_0xdf192f,'groupOffset':0x0});}}else _0x2b85cc[_0x57ae5c(0x138)](..._0x503632);let _0x2b9c50=0x0;return _0x3beeb1[_0x57ae5c(0x109)][_0x57ae5c(0x83)](_0x1d26bd=>{const _0x1e7d87=_0x57ae5c;for(let _0x7f780e=0x0;_0x7f780e<_0x2b85cc[_0x1e7d87(0x7e)];_0x7f780e++){const _0x16956d=_0x2b85cc[_0x7f780e],_0xcf5ee7=_0x1d26bd[_0x1e7d87(0x107)]();for(const _0x3afc05 of _0x5aea44[_0x1e7d87(0x14c)]())_0x1d26bd[_0x1e7d87(0x9f)](_0x3afc05[_0x1e7d87(0xa9)](!0x0),_0xcf5ee7);for(const _0x189b42 of _0x16956d[_0x1e7d87(0xe1)])if(_0x1e7d87(0x182)===_0x189b42[_0x1e7d87(0x172)]){const _0x51573f=_0x189b42;_0x51573f[_0x1e7d87(0x9e)]=null,_0x51573f[_0x1e7d87(0x128)]=!0x1,this[_0x1e7d87(0x11b)](_0x51573f,_0xcf5ee7),_0x1d26bd[_0x1e7d87(0x89)][_0x1e7d87(0xee)](_0x189b42),_0x3beeb1[_0x1e7d87(0x109)][_0x1e7d87(0x10e)](_0x189b42);const _0x2a9a4a=_0x1e7d87(0x15b)+_0x2b9c50++,_0x20a79d=_0x3beeb1[_0x1e7d87(0x109)][_0x1e7d87(0xab)](_0x51573f[_0x1e7d87(0x156)],_0x51573f[_0x1e7d87(0x156)][_0x1e7d87(0xa6)](_0x51573f[_0x1e7d87(0x174)]));_0xcf5ee7[_0x1e7d87(0x13e)][_0x1e7d87(0x86)](_0x2a9a4a,_0x20a79d);}else{if(_0x1e7d87(0xc9)===_0x189b42[_0x1e7d87(0x172)]&&_0x189b42[_0x1e7d87(0xf8)][_0x1e7d87(0x13a)](_0x1e7d87(0x145))){const _0x4691eb=_0x189b42,_0x1a9690=_0x1e7d87(0xfe)+_0x2b9c50++;this[_0x1e7d87(0x11b)](_0x4691eb,_0xcf5ee7),_0xcf5ee7[_0x1e7d87(0x13e)][_0x1e7d87(0x86)](_0x1a9690,_0x4691eb[_0x1e7d87(0xf6)]);}}if(_0x4a2f85)_0x54f6a5[_0x1e7d87(0x138)]({..._0x16956d,'context':this[_0x1e7d87(0xa8)](_0x5aea44,_0x3beeb1[_0x1e7d87(0xcf)]),'content':this[_0x1e7d87(0xa8)](_0x5aea44,_0x3beeb1[_0x1e7d87(0xcf)])});else{const _0x3d70bc=this[_0x1e7d87(0xe2)](this[_0x1e7d87(0x16f)](this[_0x1e7d87(0x10d)](_0x16956d[_0x1e7d87(0xe1)][0x0]),_0xcf5ee7),this[_0x1e7d87(0x16f)](this[_0x1e7d87(0x133)](_0x16956d[_0x1e7d87(0xe1)][_0x16956d[_0x1e7d87(0xe1)][_0x1e7d87(0x7e)]-0x1]),_0xcf5ee7));_0xcf5ee7[_0x1e7d87(0x13e)][_0x1e7d87(0x86)](fe+_0x1e7d87(0x17c),new _0x5531d4(_0x3d70bc[_0x1e7d87(0xc6)],_0x3d70bc[_0x1e7d87(0xf7)])),_0x54f6a5[_0x1e7d87(0x138)]({..._0x16956d,'context':this[_0x1e7d87(0xe5)](_0xcf5ee7,_0x3beeb1[_0x1e7d87(0xcf)],{'ellipsisBefore':_0x3d70bc[_0x1e7d87(0xff)],'ellipsisAfter':_0x3d70bc[_0x1e7d87(0xbf)]}),'content':this[_0x1e7d87(0xa8)](_0xcf5ee7,_0x3beeb1[_0x1e7d87(0xcf)])});}}}),_0x54f6a5;}[_0x2aaa72(0x88)](_0x893861,_0x2b2485){const _0x4c49a7=_0x2aaa72;if(!_0x893861[_0x4c49a7(0x7e)])return;const _0x5cf7ae=_0x893861[0x0][_0x4c49a7(0x103)]['id'],_0x58827d=_0x2b2485[_0x4c49a7(0xf5)][_0x4c49a7(0x116)](_0x5cf7ae);if(!_0x58827d)return void console[_0x4c49a7(0xfb)](_0x4c49a7(0xb0)+_0x5cf7ae);const _0x17c01f=_0x58827d[_0x4c49a7(0x155)],_0x45fe35=_0x653a8c(this[_0x4c49a7(0x167)]),_0x32714e=_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xdf)][_0x4c49a7(0x176)][_0x4c49a7(0xc5)](_0x2b2485[_0x4c49a7(0x173)]),_0x3906f1=[];for(const _0x5d159e of _0x893861){const _0x41d3b4=_0x5d159e[_0x4c49a7(0xe1)][_0x4c49a7(0x17f)](_0x42f601=>this[_0x4c49a7(0x141)](_0x42f601,_0x17c01f,_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xdf)][_0x4c49a7(0xce)]()[0x0]));if(!_0x41d3b4||!_0x41d3b4[_0x4c49a7(0x7e)])continue;const _0x4e951f=_0x41d3b4[_0x4c49a7(0x14e)](_0x284ba3=>_0x4c49a7(0xc9)===_0x284ba3[_0x4c49a7(0x172)]&&_0x284ba3[_0x4c49a7(0xf8)][_0x4c49a7(0x13a)](_0x4c49a7(0x145))),_0x5ac682={'document':_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xdf)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x27bba1=_0x51ee99(_0x41d3b4,_0x32714e,_0x5ac682)[_0x4c49a7(0xf2)];for(const _0x55692d of _0x27bba1)if(_0x4c49a7(0x182)===_0x55692d[_0x4c49a7(0x172)]){const _0x4768d9=_0x55692d,_0x335475=_0x4768d9[_0x4c49a7(0x154)];_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0x83)](_0x2df5a3=>{const _0x2dc701=_0x4c49a7,_0x567521=_0x2df5a3[_0x2dc701(0x107)]();for(const _0x309b11 of _0x335475)_0x2df5a3[_0x2dc701(0x9f)](_0x309b11[_0x2dc701(0xa9)](!0x0),_0x567521);_0x3906f1[_0x2dc701(0x138)]({'start':_0x4768d9[_0x2dc701(0x156)],'end':_0x4768d9[_0x2dc701(0x156)],'type':_0x2dc701(0x182),'groupId':_0x5d159e['id'],'content':{'asString':this[_0x2dc701(0xa8)](_0x567521,_0x45fe35[_0x2dc701(0xcf)])(),'asFragment':_0x567521}});});}else{if(_0x4c49a7(0xc9)===_0x55692d[_0x4c49a7(0x172)]&&_0x55692d[_0x4c49a7(0xf8)][_0x4c49a7(0x13a)](_0x4c49a7(0x145))){const _0x376695=_0x55692d;let _0x3a889c=_0x4c49a7(0x149);if(_0x4e951f){const _0x47af8b=this[_0x4c49a7(0x10c)](_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xc6)],_0x4c49a7(0x163),_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xb7)]),_0x395e1a=this[_0x4c49a7(0x10c)](_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xf7)],_0x4c49a7(0xf1),_0x45fe35[_0x4c49a7(0x109)][_0x4c49a7(0xb7)]);if(_0x47af8b||_0x395e1a){const _0xf1d2f6=_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xc6)][_0x4c49a7(0xa6)](-_0x47af8b),_0x48755e=_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xf7)][_0x4c49a7(0xa6)](_0x395e1a);_0x3906f1[_0x4c49a7(0x138)]({'start':_0xf1d2f6,'end':_0x48755e,'groupId':_0x5d159e['id'],'type':_0x4c49a7(0xad)});}else _0x3a889c=_0x4c49a7(0x147);}_0x3906f1[_0x4c49a7(0x138)]({'start':_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xc6)],'end':_0x376695[_0x4c49a7(0xf6)][_0x4c49a7(0xf7)],'groupId':_0x5d159e['id'],'type':_0x3a889c});}}}this[_0x4c49a7(0x125)](_0x3906f1);}[_0x2aaa72(0x126)](){const _0x429c9e=_0x2aaa72,_0x410064=_0x653a8c(this[_0x429c9e(0x167)]);_0x410064[_0x429c9e(0x109)][_0x429c9e(0x83)](_0x1a35b3=>{const _0x489d67=_0x429c9e;for(const _0x55d15a of this[_0x489d67(0x169)][_0x489d67(0x102)]())_0x410064[_0x489d67(0x109)][_0x489d67(0x13e)][_0x489d67(0x116)](_0x55d15a)&&_0x1a35b3[_0x489d67(0x9c)](_0x55d15a);}),this[_0x429c9e(0x169)][_0x429c9e(0x15f)](),this[_0x429c9e(0x90)][_0x429c9e(0x15f)]();}[_0x2aaa72(0x164)](){const _0x2a55bd=_0x2aaa72;_0x653a8c(this[_0x2a55bd(0x167)])[_0x2a55bd(0x106)](_0x2a55bd(0x15e));}[_0x2aaa72(0x111)](){const _0x50ddcf=_0x2aaa72;_0x653a8c(this[_0x50ddcf(0x167)])[_0x50ddcf(0x10b)](_0x50ddcf(0x15e));}[_0x2aaa72(0x13f)](_0x38ffa5){const _0x5463a3=_0x2aaa72,_0x19e6fb=_0x653a8c(this[_0x5463a3(0x167)]),_0x36336a=_0x19e6fb[_0x5463a3(0x109)],_0x2c73c3=_0x38ffa5[_0x5463a3(0x17f)](_0x243f86=>this[_0x5463a3(0x85)](_0x243f86))[_0x5463a3(0x121)]();_0x36336a[_0x5463a3(0x83)](_0x3f975c=>{const _0x4600ff=_0x5463a3;for(const _0x1926e1 of _0x2c73c3){const _0x1bb61a=_0x19e6fb[_0x4600ff(0x109)][_0x4600ff(0x13e)][_0x4600ff(0x116)](_0x1926e1['id']);if(_0x1bb61a){if(_0x4600ff(0x182)===_0x1926e1[_0x4600ff(0x172)]){if(!_0x1926e1[_0x4600ff(0x118)])continue;_0x36336a[_0x4600ff(0x179)](_0x1926e1[_0x4600ff(0x118)][_0x4600ff(0x94)]||null,_0x1bb61a[_0x4600ff(0x87)]()[_0x4600ff(0xc6)]);}else _0x4600ff(0x149)!==_0x1926e1[_0x4600ff(0x172)]&&_0x4600ff(0x147)!==_0x1926e1[_0x4600ff(0x172)]||_0x36336a[_0x4600ff(0x139)](_0x36336a[_0x4600ff(0xb6)](_0x1bb61a[_0x4600ff(0x87)]()));_0x3f975c[_0x4600ff(0x9c)](_0x1926e1['id']),this[_0x4600ff(0x169)][_0x4600ff(0x180)](_0x1926e1['id']);}}});}[_0x2aaa72(0xe8)](_0x24cac5){const _0x26f28c=_0x2aaa72,_0x2c75dd=_0x653a8c(this[_0x26f28c(0x167)]),_0x1f7772=this[_0x26f28c(0x85)](_0x24cac5);_0x2c75dd[_0x26f28c(0x109)][_0x26f28c(0x83)](_0x90d83c=>{const _0x246f14=_0x26f28c;for(const _0x3a0758 of _0x1f7772)_0x90d83c[_0x246f14(0x9c)](_0x3a0758['id']),this[_0x246f14(0x169)][_0x246f14(0x180)](_0x3a0758['id']);});}[_0x2aaa72(0x81)](){const _0x16cb31=_0x2aaa72;return _0x653a8c(this[_0x16cb31(0x167)]);}[_0x2aaa72(0x187)](_0x146140){const _0x22a26b=_0x2aaa72,_0x533b24=Array[_0x22a26b(0x13c)](this[_0x22a26b(0x169)][_0x22a26b(0x110)]())[_0x22a26b(0xda)](_0x228f6e=>_0x228f6e[_0x22a26b(0x11f)]===_0x146140);if(!_0x533b24[_0x22a26b(0x7e)])return null;const _0x1f7b97=0x1===_0x533b24[_0x22a26b(0x7e)]?_0x533b24[0x0]:this[_0x22a26b(0xa1)](_0x533b24)[0x0],_0x43ebdc=_0x653a8c(this[_0x22a26b(0x167)])[_0x22a26b(0x109)][_0x22a26b(0x13e)][_0x22a26b(0x116)](_0x1f7b97['id']);if(!_0x43ebdc)return null;return{'modelRange':_0x43ebdc[_0x22a26b(0x87)](),'getElement':()=>this[_0x22a26b(0x13b)](_0x1f7b97['id'])};}[_0x2aaa72(0xd9)](_0xccc98f){const _0x59dc09=_0x2aaa72,_0x39365b=Array[_0x59dc09(0x13c)](this[_0x59dc09(0x169)][_0x59dc09(0x110)]())[_0x59dc09(0xda)](_0x738a7e=>_0x738a7e[_0x59dc09(0x11f)]===_0xccc98f);if(!_0x39365b[_0x59dc09(0x7e)])return null;const _0x3d172f=0x1===_0x39365b[_0x59dc09(0x7e)]?_0x39365b[0x0]:this[_0x59dc09(0xa1)](_0x39365b)[0x0],_0x508bd9=_0x653a8c(this[_0x59dc09(0x167)]),_0x3be4a2=_0x508bd9[_0x59dc09(0x109)][_0x59dc09(0x13e)][_0x59dc09(0x116)](_0x3d172f['id']);if(!_0x3be4a2)return null;const _0x166713=_0x3be4a2[_0x59dc09(0x87)](),_0x3d0707=_0x508bd9[_0x59dc09(0x17d)][_0x59dc09(0x131)][_0x59dc09(0x14a)]();if(!_0x3d0707||!_0x166713)return null;let _0x50db34=_0x166713[_0x59dc09(0xc6)][_0x59dc09(0x103)];for(;_0x50db34[_0x59dc09(0x103)]&&_0x59dc09(0x124)!==_0x50db34[_0x59dc09(0x103)][_0x59dc09(0xf8)];)_0x50db34=_0x50db34[_0x59dc09(0x103)];if(!_0x50db34||!_0x50db34[_0x59dc09(0xf8)])return null;const _0x3bfde8=_0x3d0707[_0x59dc09(0xdc)](_0x59dc09(0x189)+_0x3d172f['id']+'\x22]');if(!_0x3bfde8)return null;let _0x32649b=null;_0x508bd9[_0x59dc09(0x109)][_0x59dc09(0x83)](_0x54c401=>{const _0xb03a39=_0x59dc09;_0x32649b=_0x54c401[_0xb03a39(0x107)](),_0x54c401[_0xb03a39(0x9f)](_0x50db34[_0xb03a39(0xa9)](!0x0),_0x32649b);});const _0x3488be=_0x508bd9[_0x59dc09(0xcf)][_0x59dc09(0xba)](_0x32649b)[_0x59dc09(0x11c)](0x0);return _0x3bfde8[_0x59dc09(0x9b)](_0x3488be[_0x59dc09(0xf8)]);}[_0x2aaa72(0x9d)](_0x2e3352){const _0x3077a7=_0x2aaa72,_0x5d419d=this[_0x3077a7(0x85)](_0x2e3352);if(!_0x5d419d[_0x3077a7(0x7e)])return;const _0x57aed0=Array[_0x3077a7(0x13c)](this[_0x3077a7(0x90)])[_0x3077a7(0xa4)](),_0x1d1053=Array[_0x3077a7(0x13c)](new Set(_0x5d419d[_0x3077a7(0x17f)](_0x5e6c0b=>_0x5e6c0b['id'])))[_0x3077a7(0xa4)]();_0x57aed0[_0x3077a7(0x186)]('|')!==_0x1d1053[_0x3077a7(0x186)]('|')&&(this[_0x3077a7(0x175)](),this[_0x3077a7(0xa2)](_0x2e3352));}[_0x2aaa72(0xa2)](_0x1efa12){const _0x37e22e=_0x2aaa72,_0x3f8d91=this[_0x37e22e(0x85)](_0x1efa12);if(!_0x3f8d91[_0x37e22e(0x7e)])return;const _0x2be023=_0x653a8c(this[_0x37e22e(0x167)]),_0x29ac59=new Set(_0x3f8d91[_0x37e22e(0x17f)](_0x26d45b=>_0x26d45b['id'])),_0x2faea1=Array[_0x37e22e(0x13c)](_0x29ac59[_0x37e22e(0x110)]())[_0x37e22e(0x17f)](_0x2b8e5e=>_0x2be023[_0x37e22e(0x109)][_0x37e22e(0x13e)][_0x37e22e(0x116)](_0x2b8e5e))[_0x37e22e(0xda)](_0x59a7df=>!!_0x59a7df);_0x29ac59[_0x37e22e(0xd3)](_0x367645=>{const _0x1cabb2=_0x37e22e;this[_0x1cabb2(0x90)][_0x1cabb2(0x12c)](_0x367645);}),_0x2be023[_0x37e22e(0x109)][_0x37e22e(0x83)](()=>{const _0x1b1b2c=_0x37e22e;_0x2faea1[_0x1b1b2c(0xd3)](_0x1895de=>{const _0x155b38=_0x1b1b2c;_0x2be023[_0x155b38(0x17d)][_0x155b38(0x12b)](_0x1895de);});});}[_0x2aaa72(0x175)](){const _0x49e048=_0x2aaa72,_0x21ab46=Array[_0x49e048(0x13c)](this[_0x49e048(0x90)]);if(!_0x21ab46[_0x49e048(0x7e)])return;this[_0x49e048(0x90)][_0x49e048(0x15f)]();const _0x271f51=_0x653a8c(this[_0x49e048(0x167)]),_0x588a1c=_0x21ab46[_0x49e048(0x17f)](_0x268903=>_0x271f51[_0x49e048(0x109)][_0x49e048(0x13e)][_0x49e048(0x116)](_0x268903))[_0x49e048(0xda)](_0x290bf2=>!!_0x290bf2);_0x271f51[_0x49e048(0x109)][_0x49e048(0x83)](()=>{const _0x39549c=_0x49e048;_0x588a1c[_0x39549c(0xd3)](_0x5728a5=>{const _0x253c1f=_0x39549c;_0x271f51[_0x253c1f(0x17d)][_0x253c1f(0x12b)](_0x5728a5);});});}[_0x2aaa72(0x92)](_0x23e53c,_0x848d05,_0x2a7a87=_0x2aaa72(0x8d)){const _0x509b6f=_0x2aaa72;if(!_0x23e53c)return null;let _0x4b448c=_0x23e53c[_0x509b6f(0x103)];for(;_0x4b448c&&_0x4b448c[_0x509b6f(0x103)]&&_0x509b6f(0x124)!==_0x4b448c[_0x509b6f(0x103)][_0x509b6f(0xf8)]&&!_0x848d05[_0x509b6f(0x109)][_0x509b6f(0xb7)][_0x509b6f(0xb2)](_0x4b448c)&&!_0x848d05[_0x509b6f(0x109)][_0x509b6f(0xb7)][_0x509b6f(0x127)](_0x4b448c);)_0x4b448c=_0x4b448c[_0x509b6f(0x103)];if(!_0x4b448c||!_0x4b448c[_0x509b6f(0xf8)]||_0x509b6f(0x124)===_0x4b448c[_0x509b6f(0xf8)])return null;let _0x45623f=null;return _0x848d05[_0x509b6f(0x109)][_0x509b6f(0x83)](_0x348b83=>{const _0x37218a=_0x509b6f;_0x45623f=_0x37218a(0x165)===_0x2a7a87?_0x348b83[_0x37218a(0x8e)](_0x4b448c):_0x348b83[_0x37218a(0xcd)](_0x4b448c);}),_0x45623f;}[_0x2aaa72(0x17b)](_0x4a66a8,_0xe61ca4){const _0x2cf2dc=_0x2aaa72,_0x171a2d=Array[_0x2cf2dc(0x13c)](this[_0x2cf2dc(0x169)][_0x2cf2dc(0x102)]()),_0x25c644=new Map();for(const _0x5bd087 of _0x171a2d){const _0x2b0232=_0x4a66a8[_0x2cf2dc(0x109)][_0x2cf2dc(0x13e)][_0x2cf2dc(0x116)](_0x5bd087);if(!_0x2b0232)continue;const _0x1eaff4=_0x2b0232[_0x2cf2dc(0x130)]()[_0x2cf2dc(0x155)][0x0];_0x25c644[_0x2cf2dc(0x184)](_0x1eaff4)||_0x25c644[_0x2cf2dc(0x86)](_0x1eaff4,[]),_0x25c644[_0x2cf2dc(0x116)](_0x1eaff4)[_0x2cf2dc(0x138)](_0x2b0232);}const _0xd6346d=new Set();for(const _0x50d0df of _0x4a66a8[_0x2cf2dc(0x109)][_0x2cf2dc(0xdf)][_0x2cf2dc(0x183)][_0x2cf2dc(0x17e)]()){let _0x19286b=-0x1,_0x3c9280=null;if(_0x2cf2dc(0x182)===_0x50d0df[_0x2cf2dc(0x172)])_0x3c9280=new _0x5531d4(_0x50d0df[_0x2cf2dc(0x156)],_0x50d0df[_0x2cf2dc(0x156)][_0x2cf2dc(0xa6)](_0x50d0df[_0x2cf2dc(0x7e)])),_0x19286b=_0x50d0df[_0x2cf2dc(0x156)][_0x2cf2dc(0x155)][0x0];else{if(_0x2cf2dc(0x157)!==_0x50d0df[_0x2cf2dc(0x172)])continue;_0x3c9280=new _0x5531d4(_0x50d0df[_0x2cf2dc(0x156)]),_0x19286b=_0x50d0df[_0x2cf2dc(0x156)][_0x2cf2dc(0x155)][0x0];}const _0x171acb=_0x25c644[_0x2cf2dc(0x116)](_0x19286b)||[];if(_0x171acb[_0x2cf2dc(0x7e)]){for(const _0x7f2a04 of _0x171acb)if(_0x3c9280[_0x2cf2dc(0xb9)][_0x2cf2dc(0x117)]===_0x7f2a04[_0x2cf2dc(0x87)]()[_0x2cf2dc(0xb9)][_0x2cf2dc(0x117)]&&(_0x2cf2dc(0x182)!==_0x50d0df[_0x2cf2dc(0x172)]||!_0x3c9280[_0x2cf2dc(0x16a)](_0x7f2a04[_0x2cf2dc(0x87)]()))&&(_0x3c9280[_0x2cf2dc(0x8a)](_0x7f2a04[_0x2cf2dc(0x87)]())||_0x3c9280[_0x2cf2dc(0xc6)][_0x2cf2dc(0xbb)](_0x7f2a04[_0x2cf2dc(0x87)]()[_0x2cf2dc(0xf7)])||_0x3c9280[_0x2cf2dc(0xf7)][_0x2cf2dc(0xbb)](_0x7f2a04[_0x2cf2dc(0x87)]()[_0x2cf2dc(0xc6)]))){const _0x3e170b=this[_0x2cf2dc(0x18b)](_0x7f2a04[_0x2cf2dc(0xf8)]);Array[_0x2cf2dc(0x13c)](this[_0x2cf2dc(0x169)][_0x2cf2dc(0x110)]())[_0x2cf2dc(0xda)](_0x3cc51e=>_0x3cc51e[_0x2cf2dc(0x11f)]===_0x3e170b[_0x2cf2dc(0x11f)])[_0x2cf2dc(0xd3)](_0x2c9459=>_0xd6346d[_0x2cf2dc(0x12c)](_0x2c9459['id']));}}}if(_0xd6346d[_0x2cf2dc(0x152)]){for(const _0x47521c of _0xd6346d)_0xe61ca4[_0x2cf2dc(0x9c)](_0x47521c);return!0x0;}return!0x1;}[_0x2aaa72(0xde)](_0x337536){const _0x3c3c33=_0x2aaa72;for(const {name:_0x346c29,data:_0x2b7c22}of _0x337536[_0x3c3c33(0x109)][_0x3c3c33(0xdf)][_0x3c3c33(0x183)][_0x3c3c33(0xed)]()){if(!_0x346c29[_0x3c3c33(0x13a)](fe))continue;const _0x952462=_0x2b7c22[_0x3c3c33(0xe7)],_0x4ed05b=_0x2b7c22[_0x3c3c33(0xf6)],_0x558644=_0x952462&&_0x3c3c33(0x100)===_0x952462[_0x3c3c33(0xb9)][_0x3c3c33(0x117)],_0x96a920=_0x4ed05b&&_0x3c3c33(0x100)===_0x4ed05b[_0x3c3c33(0xb9)][_0x3c3c33(0x117)];if(_0x558644&&_0x96a920)continue;const _0x1521ec=this[_0x3c3c33(0x18b)](_0x346c29);this[_0x3c3c33(0x169)][_0x3c3c33(0x116)](_0x346c29)&&(_0x96a920||!_0x4ed05b?this[_0x3c3c33(0xef)][_0x3c3c33(0x108)](_0x3c3c33(0x8b),{'markerId':_0x346c29,'changeId':_0x1521ec[_0x3c3c33(0x11f)]}):_0x558644&&_0x4ed05b&&this[_0x3c3c33(0xef)][_0x3c3c33(0x108)](_0x3c3c33(0x142),{'markerId':_0x346c29,'changeId':_0x1521ec[_0x3c3c33(0x11f)]}));}}[_0x2aaa72(0x18b)](_0x9be625){const _0x27f20e=_0x2aaa72,_0x5e1ffe=_0x9be625[_0x27f20e(0x82)](':'),_0x376524=(_0x5e1ffe[0x1]||'')[_0x27f20e(0x82)]('_');return{'prefix':_0x5e1ffe[0x0],'groupId':_0x376524[0x0],'suffix':_0x376524[0x1]};}[_0x2aaa72(0x141)](_0x7c254e,_0x14f887,_0x4ad004){const _0x3e4ada=_0x2aaa72;if(_0x3e4ada(0x182)===_0x7c254e[_0x3e4ada(0x172)]){const _0xe94463=_0x7c254e;return new _0x3fc600(this[_0x3e4ada(0x162)](_0x14f887[_0x3e4ada(0x12f)](_0xe94463[_0x3e4ada(0x156)][_0x3e4ada(0xd8)]),_0x4ad004),_0xe94463[_0x3e4ada(0x154)],_0xe94463[_0x3e4ada(0x9e)]);}if(_0x3e4ada(0xc9)===_0x7c254e[_0x3e4ada(0x172)]&&_0x7c254e[_0x3e4ada(0xf8)][_0x3e4ada(0x13a)](_0x3e4ada(0x145))){const _0x15e55b=_0x7c254e;return new _0xc4e586(_0x15e55b[_0x3e4ada(0xf8)],_0x15e55b[_0x3e4ada(0xe7)],this[_0x3e4ada(0xec)](_0x15e55b[_0x3e4ada(0xf6)],_0x14f887[_0x3e4ada(0x12f)](_0x15e55b[_0x3e4ada(0xf6)][_0x3e4ada(0xc6)][_0x3e4ada(0xd8)]),_0x14f887[_0x3e4ada(0x12f)](_0x15e55b[_0x3e4ada(0xf6)][_0x3e4ada(0xf7)][_0x3e4ada(0xd8)]),_0x4ad004),_0x15e55b[_0x3e4ada(0x169)],_0x15e55b[_0x3e4ada(0xd0)],_0x15e55b[_0x3e4ada(0x9e)]);}return _0x7c254e;}[_0x2aaa72(0xb1)](_0x550092){const _0x4f4ec6=_0x2aaa72;if(!_0x550092[_0x4f4ec6(0x7e)])return[];const _0x4ae03e=[];let _0x15f246=0x0,_0x286574=0x0,_0x571b12=[];for(let _0x3fe84b=0x0;_0x3fe84b<=_0x550092[_0x4f4ec6(0x7e)];_0x3fe84b++){const _0x3af7cf=_0x550092[_0x3fe84b],_0x536351=_0x550092[_0x3fe84b-0x1];!_0x3af7cf||_0x536351&&!this[_0x4f4ec6(0x133)](_0x536351)[_0x4f4ec6(0xbb)](this[_0x4f4ec6(0x10d)](_0x3af7cf))?(_0x4ae03e[_0x4f4ec6(0x138)]({'operations':_0x571b12,'operationsIsolated':_0x571b12[_0x4f4ec6(0x17f)](_0x595de5=>this[_0x4f4ec6(0x99)](_0x595de5[_0x4f4ec6(0xeb)](),-_0x286574)),'groupOffset':_0x15f246}),_0x571b12=_0x3af7cf?[_0x3af7cf]:[],_0x286574+=_0x15f246,_0x15f246=0x0):_0x571b12[_0x4f4ec6(0x138)](_0x3af7cf),_0x3af7cf&&_0x4f4ec6(0x182)===_0x3af7cf[_0x4f4ec6(0x172)]&&(_0x15f246+=_0x3af7cf[_0x4f4ec6(0x174)]);}return _0x4ae03e;}[_0x2aaa72(0x10c)](_0x48507d,_0x47167d,_0x700be8,_0x53fed6=0x1){const _0x22f1d2=_0x2aaa72,_0x48c762=new _0x6354fe({'startPosition':_0x48507d,'direction':_0x47167d});let _0x41638b=0x0;for(let _0x113ded=0x0;_0x113ded<_0x53fed6;_0x113ded++){let _0x260eab=0x0,_0x1a23b3=!0x1,_0x5849fb=_0x22f1d2(0xf1)===_0x47167d?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x59cbb3}of _0x48c762)if(_0x59cbb3['is'](_0x22f1d2(0x129))){const _0x382337=_0x5849fb[_0x22f1d2(0xaa)](_0x59cbb3[_0x22f1d2(0xcf)]);if(_0x382337&&_0x382337[_0x22f1d2(0x7e)]){if(_0x260eab+=_0x22f1d2(0xf1)===_0x47167d?_0x382337[_0x22f1d2(0xc2)]+_0x382337[0x0][_0x22f1d2(0x7e)]:_0x59cbb3[_0x22f1d2(0xcf)][_0x22f1d2(0x7e)]-_0x382337[_0x22f1d2(0xc2)],_0x382337[0x0][_0x22f1d2(0x7e)]!==_0x59cbb3[_0x22f1d2(0xcf)][_0x22f1d2(0x7e)])break;_0x1a23b3=!0x0,_0x5849fb=_0x22f1d2(0xf1)===_0x47167d?/^\w+/:/\w+$/;}else{if(_0x1a23b3)break;_0x260eab+=_0x59cbb3[_0x22f1d2(0xbe)];}}else{if(_0x59cbb3['is'](_0x22f1d2(0x10a))){_0x700be8[_0x22f1d2(0x14d)](_0x59cbb3)&&!_0x1a23b3&&(_0x260eab+=0x1);break;}}_0x41638b+=_0x260eab,_0x48c762[_0x22f1d2(0xd7)](_0x48507d[_0x22f1d2(0xa6)](_0x22f1d2(0xf1)===_0x47167d?_0x41638b:-_0x41638b));}return _0x41638b;}[_0x2aaa72(0xe2)](_0x4ac6c8,_0x49747b){const _0x5ec1b6=_0x2aaa72,_0x52404b=_0x653a8c(this[_0x5ec1b6(0x167)])[_0x5ec1b6(0x109)][_0x5ec1b6(0xb7)],_0x269dad=this[_0x5ec1b6(0x10c)](_0x4ac6c8,_0x5ec1b6(0x163),_0x52404b,0x6),_0x2f9ef5=this[_0x5ec1b6(0x10c)](_0x49747b,_0x5ec1b6(0xf1),_0x52404b,0x6),_0x55e5b8=_0x4ac6c8[_0x5ec1b6(0xa6)](-_0x269dad),_0x53745e=_0x49747b[_0x5ec1b6(0xa6)](_0x2f9ef5);return{'start':_0x55e5b8,'end':_0x53745e,'hasContentBefore':!_0x55e5b8[_0x5ec1b6(0x135)],'hasContentAfter':!_0x53745e[_0x5ec1b6(0xd1)]};}[_0x2aaa72(0x125)](_0xebed9e){const _0x3f1abf=_0x2aaa72,_0x133be8=this[_0x3f1abf(0x167)][_0x3f1abf(0x158)][_0x3f1abf(0x116)](_0x3f1abf(0xf0)),_0x20118f=new Set();_0x653a8c(this[_0x3f1abf(0x167)])[_0x3f1abf(0x109)][_0x3f1abf(0x83)](_0x1e82af=>{const _0x26ee84=_0x3f1abf;for(const _0x5af96c of _0xebed9e){const _0x148931=''+fe+_0x5af96c[_0x26ee84(0x172)]+':'+_0x5af96c[_0x26ee84(0x11f)]+'_'+_0x133be8[_0x26ee84(0xf3)](_0x20118f);this[_0x26ee84(0x169)][_0x26ee84(0x86)](_0x148931,{'id':_0x148931,'groupId':_0x5af96c[_0x26ee84(0x11f)],'type':_0x5af96c[_0x26ee84(0x172)],'content':_0x5af96c[_0x26ee84(0x118)]}),_0x1e82af[_0x26ee84(0x8c)](_0x148931,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e82af[_0x26ee84(0xab)](_0x5af96c[_0x26ee84(0xc6)],_0x5af96c[_0x26ee84(0xf7)])});}});}[_0x2aaa72(0xe5)](_0x5f0395,_0x6d0a39,_0x371d38){let _0xf2d10b='';return()=>{const _0x21094a=_0x6b4c;if(!_0xf2d10b){const _0x394524=_0x6d0a39[_0x21094a(0xba)](_0x5f0395,{'showSuggestionHighlights':!0x0});let _0xe7a726=_0x394524[_0x21094a(0x11c)](0x0);if(_0xe7a726['is'](_0x21094a(0xbc))||(_0xe7a726=_0x394524),!_0xe7a726)return'';let _0x59179e=!0x1;const _0x53d3b0=[];for(const _0x451eac of _0xe7a726[_0x21094a(0x14c)]())_0x451eac['is'](_0x21094a(0x10a),_0x21094a(0xaf))&&_0x451eac[_0x21094a(0x146)](_0x21094a(0x13d))&&(_0x59179e=!0x1),_0x59179e&&_0x53d3b0[_0x21094a(0x138)](_0x451eac),_0x451eac['is'](_0x21094a(0x10a),_0x21094a(0xaf))&&_0x451eac[_0x21094a(0x146)](_0x21094a(0x151))&&(_0x59179e=!0x0);_0xe7a726[_0x21094a(0x181)](0x0,_0xe7a726[_0x21094a(0x14f)]),_0x371d38?.[_0x21094a(0xfc)]&&_0xe7a726[_0x21094a(0x16e)]('…'),_0xe7a726[_0x21094a(0x16e)](_0x53d3b0),_0x371d38?.[_0x21094a(0x114)]&&_0xe7a726[_0x21094a(0x16e)]('…');const _0xee6070=_0x6d0a39[_0x21094a(0xe3)][_0x21094a(0xae)][_0x21094a(0x16c)](_0x394524),_0x382d42=_0x6d0a39[_0x21094a(0xe3)][_0x21094a(0xca)][_0x21094a(0xe9)](_0xee6070);_0xf2d10b=_0x382d42;}return _0xf2d10b;};}[_0x2aaa72(0xa8)](_0x5a8e02,_0x56c0af){const _0x2db72e=_0x2aaa72;let _0x45a207='';return()=>(_0x45a207||(_0x45a207=_0x56c0af[_0x2db72e(0x97)](_0x5a8e02,{'showSuggestionHighlights':!0x0})),_0x45a207);}[_0x2aaa72(0x136)](_0x836777,_0x542a5b,_0x545adb){let _0x35dd97='';return()=>{const _0x4862f9=_0x6b4c;if(!_0x35dd97){const _0x236273=_0x545adb[_0x4862f9(0xba)](new _0x21733d(_0x836777)),_0x836102=_0x545adb[_0x4862f9(0xe3)][_0x4862f9(0xae)][_0x4862f9(0x16c)](_0x236273)[_0x4862f9(0xdc)](_0x4862f9(0x98)+_0x542a5b+'\x22]');_0x35dd97=_0x836102?.[_0x4862f9(0xea)]||'';}return _0x35dd97;};}[_0x2aaa72(0x123)](_0x454935,_0x6bf8a=0x5){const _0x2365bf=_0x2aaa72;let _0x44198d=_0x454935,_0xa1ebb=null;for(let _0x309b10=0x0;_0x309b10<_0x6bf8a&&_0x44198d;_0x309b10++){if(!_0x44198d[_0x2365bf(0x178)]){_0x44198d=_0x44198d[_0x2365bf(0xe0)];continue;}if(!(''+_0x44198d[_0x2365bf(0x178)])[_0x2365bf(0x80)](_0x2365bf(0xa7))){_0x44198d=_0x44198d[_0x2365bf(0xe0)];continue;}if(!_0x44198d[_0x2365bf(0x93)](_0x2365bf(0x96)))break;_0xa1ebb=_0x44198d;break;}return _0xa1ebb;}[_0x2aaa72(0x13b)](_0x295cb0){const _0x4a5cad=_0x2aaa72,_0x1735af=_0x653a8c(this[_0x4a5cad(0x167)]),_0x2740e0=_0x1735af[_0x4a5cad(0x109)][_0x4a5cad(0x13e)][_0x4a5cad(0x116)](_0x295cb0);return _0x2740e0?_0x18a298(_0x1735af[_0x4a5cad(0x17d)],_0x2740e0):null;}[_0x2aaa72(0x85)](_0x2d4960){const _0x1bd0f8=_0x2aaa72;return Array[_0x1bd0f8(0x13c)](this[_0x1bd0f8(0x169)][_0x1bd0f8(0x110)]())[_0x1bd0f8(0xda)](_0x22747d=>_0x22747d[_0x1bd0f8(0x11f)]===_0x2d4960);}[_0x2aaa72(0x10d)](_0x3298ab){const _0xa150a1=_0x2aaa72;return _0xa150a1(0x182)===_0x3298ab[_0xa150a1(0x172)]?_0x3298ab[_0xa150a1(0x156)]:_0x3298ab[_0xa150a1(0xf6)][_0xa150a1(0xc6)];}[_0x2aaa72(0x133)](_0x38a8c2,_0x1b7921=!0x1){const _0x340672=_0x2aaa72;return _0x340672(0x182)===_0x38a8c2[_0x340672(0x172)]?_0x1b7921?_0x38a8c2[_0x340672(0x156)]:_0x38a8c2[_0x340672(0x156)][_0x340672(0xa6)](_0x38a8c2[_0x340672(0x174)]):_0x38a8c2[_0x340672(0xf6)][_0x340672(0xf7)];}[_0x2aaa72(0x99)](_0x31bbaa,_0xd990f4){const _0x118f3e=_0x2aaa72;return _0x118f3e(0x182)===_0x31bbaa[_0x118f3e(0x172)]?_0x31bbaa[_0x118f3e(0x156)]=_0x31bbaa[_0x118f3e(0x156)][_0x118f3e(0xa6)](_0xd990f4):_0x118f3e(0xc9)===_0x31bbaa[_0x118f3e(0x172)]&&_0x31bbaa[_0x118f3e(0xf6)]&&(_0x31bbaa[_0x118f3e(0xf6)]=new _0x5531d4(_0x31bbaa[_0x118f3e(0xf6)][_0x118f3e(0xc6)][_0x118f3e(0xa6)](_0xd990f4),_0x31bbaa[_0x118f3e(0xf6)][_0x118f3e(0xf7)][_0x118f3e(0xa6)](_0xd990f4))),_0x31bbaa;}[_0x2aaa72(0x11b)](_0xb278dd,_0x51e029){const _0x5a3d02=_0x2aaa72;_0x5a3d02(0x182)===_0xb278dd[_0x5a3d02(0x172)]?_0xb278dd[_0x5a3d02(0x156)]=this[_0x5a3d02(0x16f)](_0xb278dd[_0x5a3d02(0x156)],_0x51e029):_0x5a3d02(0xc9)===_0xb278dd[_0x5a3d02(0x172)]&&_0xb278dd[_0x5a3d02(0xf6)]&&(_0xb278dd[_0x5a3d02(0xf6)]=this[_0x5a3d02(0xb4)](_0xb278dd[_0x5a3d02(0xf6)],_0x51e029));}[_0x2aaa72(0x16f)](_0x529f03,_0x4fd6a0){const _0x499742=_0x2aaa72;return new _0x4898f5(_0x4fd6a0,_0x529f03[_0x499742(0x155)]);}[_0x2aaa72(0xb4)](_0x473a0a,_0x1e4959){const _0x310eb0=_0x2aaa72;return new _0x5531d4(this[_0x310eb0(0x16f)](_0x473a0a[_0x310eb0(0xc6)],_0x1e4959),this[_0x310eb0(0x16f)](_0x473a0a[_0x310eb0(0xf7)],_0x1e4959));}[_0x2aaa72(0x162)](_0x39fd95,_0x49e399){return new _0x4898f5(_0x49e399,[..._0x39fd95]);}[_0x2aaa72(0xec)](_0x6fb842,_0x5f0473,_0x57de72,_0x4f520d){const _0x217935=_0x2aaa72;return new _0x5531d4(this[_0x217935(0x162)](_0x5f0473,_0x4f520d),this[_0x217935(0x162)](_0x57de72,_0x4f520d));}[_0x2aaa72(0xa1)](_0x401057){const _0x24f8c0=_0x2aaa72,_0x5f49ef=_0x545d88=>{const _0x51bf4f=_0x6b4c;switch(_0x545d88){case _0x51bf4f(0x182):return 0x0;case _0x51bf4f(0xad):return 0x1;case _0x51bf4f(0x147):return 0x2;case _0x51bf4f(0x149):return 0x3;}};return _0x401057[_0x24f8c0(0xa4)]((_0x51c53e,_0x5c3cc2)=>_0x5f49ef(_0x51c53e[_0x24f8c0(0x172)])-_0x5f49ef(_0x5c3cc2[_0x24f8c0(0x172)]));}[_0x2aaa72(0xc1)](_0x1ab2b8,_0x18b4b0){const _0x4a00cb=_0x2aaa72,_0x4a4282=_0x1ab2b8[_0x4a00cb(0x11c)](0x0),_0x594649=_0x18b4b0[_0x4a00cb(0x11c)](0x0);return!(!_0x4a4282||!_0x594649)&&((!_0x4a4282['is'](_0x4a00cb(0x10a))||!_0x594649['is'](_0x4a00cb(0x10a))||_0x4a4282[_0x4a00cb(0xf8)]===_0x594649[_0x4a00cb(0xf8)])&&!(_0x4a4282['is'](_0x4a00cb(0x10a))&&!_0x594649['is'](_0x4a00cb(0x10a))||!_0x4a4282['is'](_0x4a00cb(0x10a))&&_0x594649['is'](_0x4a00cb(0x10a))));}[_0x2aaa72(0x16d)](_0x285627){const _0xa2e425=_0x2aaa72;return 0x1===_0x285627[_0xa2e425(0x14f)];}[_0x2aaa72(0xfd)](_0x1d0fe6,_0xf2a042){const _0xbe3ca3=_0x2aaa72;for(const _0x250766 of _0x1d0fe6[_0xbe3ca3(0x14c)]())if(_0x250766['is'](_0xbe3ca3(0x10a))&&!_0xf2a042[_0xbe3ca3(0x14d)](_0x250766))return!0x1;return!0x0;}[_0x2aaa72(0x9a)](_0x44f9dd,_0x597a6a){const _0x53690b=_0x2aaa72;let _0x1df0ee=_0x44f9dd[_0x53690b(0x93)](_0x2b8124);return _0x1df0ee||(_0x1df0ee=_0x597a6a(),_0x44f9dd[_0x53690b(0x148)](_0x2b8124,_0x1df0ee)),_0x1df0ee;}}
|