@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.3
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.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3c5a(_0x111c4c,_0x67bb58){const _0xb50132=_0xb501();return _0x3c5a=function(_0x3c5a1f,_0x5e15cb){_0x3c5a1f=_0x3c5a1f-0x18c;let _0x23a1bf=_0xb50132[_0x3c5a1f];return _0x23a1bf;},_0x3c5a(_0x111c4c,_0x67bb58);}(function(_0x20cda9,_0x4478bb){const _0x10a7b5=_0x3c5a,_0x330a29=_0x20cda9();while(!![]){try{const _0x528515=parseInt(_0x10a7b5(0x1a2))/0x1*(-parseInt(_0x10a7b5(0x19c))/0x2)+parseInt(_0x10a7b5(0x198))/0x3*(-parseInt(_0x10a7b5(0x190))/0x4)+-parseInt(_0x10a7b5(0x199))/0x5+parseInt(_0x10a7b5(0x1a0))/0x6*(-parseInt(_0x10a7b5(0x18d))/0x7)+parseInt(_0x10a7b5(0x1a9))/0x8*(parseInt(_0x10a7b5(0x1a3))/0x9)+parseInt(_0x10a7b5(0x1af))/0xa*(-parseInt(_0x10a7b5(0x1ab))/0xb)+parseInt(_0x10a7b5(0x192))/0xc;if(_0x528515===_0x4478bb)break;else _0x330a29['push'](_0x330a29['shift']());}catch(_0x3df2c7){_0x330a29['push'](_0x330a29['shift']());}}}(_0xb501,0xcf030));import{createDropdown as _0x1c41f4}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x21fd44}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x2d9635}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x56db7b}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x15a234){const {editor:_0x1cf096,content:_0x1eabc5,buttonDefinition:_0x1536c7,bodyCollection:_0x5d48ec,hasSearch:_0x2add25=!0x1}=_0x15a234;return()=>{const _0x4518a4=_0x3c5a,_0x8f6518=_0x1cf096[_0x4518a4(0x19d)],_0x551122=_0x1c41f4(_0x8f6518);_0x551122[_0x4518a4(0x19e)][_0x4518a4(0x193)]({'icon':_0x1536c7[_0x4518a4(0x1a7)]??_0x21fd44,'label':_0x1536c7[_0x4518a4(0x1a4)],'tooltip':!0x0}),_0x551122[_0x4518a4(0x193)]({'class':_0x4518a4(0x19b)});const _0x2f900c=new _0x2d9635(_0x1cf096,_0x1eabc5,_0x551122,_0x5d48ec,_0x2add25);if(_0x551122[_0x4518a4(0x1a5)][_0x4518a4(0x19f)][_0x4518a4(0x1ae)](_0x2f900c),_0x2add25){const _0x203af9=_0x4518a4(0x1aa);_0x551122['on'](_0x4518a4(0x19a),(_0x340071,_0x577e58,_0x19db32)=>{const _0x11e92f=_0x4518a4;if(_0x19db32){if(_0x1cf096[_0x11e92f(0x197)][_0x11e92f(0x194)](_0x11e92f(0x196))){const _0x447702=_0x1cf096[_0x11e92f(0x197)][_0x11e92f(0x1ac)](_0x56db7b),_0x1643b4=_0x1cf096[_0x11e92f(0x18e)][_0x11e92f(0x18c)][_0x11e92f(0x18f)],_0x18fdb2=Array[_0x11e92f(0x191)](_0x1643b4[_0x11e92f(0x195)]());_0x18fdb2[_0x11e92f(0x1ad)]>0x0&&_0x447702[_0x11e92f(0x1a1)](_0x18fdb2,_0x203af9,!0x1,!0x0);}}else _0x1cf096[_0x11e92f(0x197)][_0x11e92f(0x194)](_0x11e92f(0x196))&&_0x1cf096[_0x11e92f(0x197)][_0x11e92f(0x1ac)](_0x56db7b)[_0x11e92f(0x1a8)](_0x203af9),_0x2f900c[_0x11e92f(0x1a6)]();});}return _0x551122;};}function _0xb501(){const _0x46b874=['2574095TDOQpb','change:isOpen','ck-ai-quick-actions-dropdown','15262nPTTMH','locale','buttonView','children','8825778ljFvoh','showFakeVisualSelection','7UGBMQU','3724038IhcabY','label','panelView','resetSearch','icon','hideFakeVisualSelection','8RmtKNi','ai-quick-actions-dropdown-selection','22LhVMPt','get','length','add','7847430NxnPEG','document','7OwPKDF','model','selection','46636BJqlwB','from','53690472tAvUVb','set','has','getRanges','AIEditing','plugins','111gwzLgf'];_0xb501=function(){return _0x46b874;};return _0xb501();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x110028=_0x1ee1;(function(_0xc401ed,_0x52ccc8){const _0xac06fe=_0x1ee1,_0x5bccef=_0xc401ed();while(!![]){try{const _0x169667=parseInt(_0xac06fe(0xb9))/0x1+parseInt(_0xac06fe(0xbe))/0x2+-parseInt(_0xac06fe(0xc5))/0x3*(parseInt(_0xac06fe(0xaf))/0x4)+-parseInt(_0xac06fe(0xbf))/0x5*(parseInt(_0xac06fe(0xc2))/0x6)+-parseInt(_0xac06fe(0xb6))/0x7+parseInt(_0xac06fe(0xb4))/0x8*(parseInt(_0xac06fe(0xbb))/0x9)+parseInt(_0xac06fe(0xb5))/0xa;if(_0x169667===_0x52ccc8)break;else _0x5bccef['push'](_0x5bccef['shift']());}catch(_0x5bdc17){_0x5bccef['push'](_0x5bccef['shift']());}}}(_0x5a4d,0xe50b2));function _0x5a4d(){const _0x1b0807=['includes','source','6yQPvTb','addMany','map','1214061EqlEpq','_clearHighlight','filter','trim','item','groupLabel','_allSearchableItems','clear','highlightViews','_allListItems','8DKQRjD','label','highlightText','sort','length','16yUWTyG','8902460ttGIaw','2427754uruCOB','forEach','function','27074vkDUwu','toLowerCase','4598406ddmdYJ','items','_highlightQuery','3411862VMJmyt','7753805TcWJXx'];_0x5a4d=function(){return _0x1b0807;};return _0x5a4d();}import{ListView as _0x2dca18}from'ckeditor5/src/ui.js';function _0x1ee1(_0x54f92d,_0x308f39){const _0x5a4df5=_0x5a4d();return _0x1ee1=function(_0x1ee161,_0x346846){_0x1ee161=_0x1ee161-0xad;let _0x23bbec=_0x5a4df5[_0x1ee161];return _0x23bbec;},_0x1ee1(_0x54f92d,_0x308f39);}import{escapeRegExp as _0x1fdbdb}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x2dca18{[_0x110028(0xae)];[_0x110028(0xcb)];constructor(_0x4216a3,_0x592a09,_0x37bd0d){const _0x14ddd3=_0x110028;super(_0x4216a3),this[_0x14ddd3(0xae)]=_0x592a09,this[_0x14ddd3(0xcb)]=_0x37bd0d;}[_0x110028(0xc7)](_0x3fc35a){const _0x2e24b3=_0x110028;if(!_0x3fc35a)return this[_0x2e24b3(0xbc)][_0x2e24b3(0xcc)](),this[_0x2e24b3(0xbc)][_0x2e24b3(0xc3)](this[_0x2e24b3(0xae)]),this[_0x2e24b3(0xc6)](),{'resultsCount':this[_0x2e24b3(0xae)][_0x2e24b3(0xb3)],'totalItemsCount':this[_0x2e24b3(0xae)][_0x2e24b3(0xb3)]};const _0x221d6b=_0x3fc35a[_0x2e24b3(0xc1)][_0x2e24b3(0xba)]()[_0x2e24b3(0xc8)](),_0x36b9de=this[_0x2e24b3(0xcb)][_0x2e24b3(0xc7)](_0x40137c=>(_0x40137c[_0x2e24b3(0xca)]?_0x40137c[_0x2e24b3(0xb0)]+'\x20('+_0x40137c[_0x2e24b3(0xca)]+')':_0x40137c[_0x2e24b3(0xb0)])[_0x2e24b3(0xba)]()[_0x2e24b3(0xc0)](_0x221d6b));return this[_0x2e24b3(0xbc)][_0x2e24b3(0xcc)](),this[_0x2e24b3(0xbc)][_0x2e24b3(0xc3)](_0x36b9de[_0x2e24b3(0xb2)]((_0x113344,_0x134fc7)=>{const _0x340c2a=_0x2e24b3,_0x1d68d4=_0x113344[_0x340c2a(0xca)],_0x5e741c=_0x134fc7[_0x340c2a(0xca)];return _0x1d68d4||_0x5e741c?_0x1d68d4?0x1:-0x1:0x0;})[_0x2e24b3(0xc4)](_0x306698=>_0x306698[_0x2e24b3(0xc9)])),this[_0x2e24b3(0xbd)](_0x221d6b,_0x36b9de),{'resultsCount':_0x36b9de[_0x2e24b3(0xb3)],'totalItemsCount':this[_0x2e24b3(0xcb)][_0x2e24b3(0xb3)]};}[_0x110028(0xbd)](_0x1b0efd,_0x4231c0){const _0xe1577e=_0x110028;if(!_0x1b0efd)return;const _0x550221=new RegExp(_0x1fdbdb(_0x1b0efd),'gi');_0x4231c0[_0xe1577e(0xb7)](_0x5c35a1=>{const _0x373774=_0xe1577e;_0x5c35a1[_0x373774(0xad)]&&_0x5c35a1[_0x373774(0xad)][_0x373774(0xb7)](_0x57af6d=>{const _0x5c119a=_0x373774;_0x5c119a(0xb8)==typeof _0x57af6d[_0x5c119a(0xb1)]&&_0x57af6d[_0x5c119a(0xb1)](_0x550221);});});}[_0x110028(0xc6)](){const _0x5969f4=_0x110028;this[_0x5969f4(0xcb)][_0x5969f4(0xb7)](_0x48ba34=>{const _0x1c1f52=_0x5969f4;_0x48ba34[_0x1c1f52(0xad)]&&_0x48ba34[_0x1c1f52(0xad)][_0x1c1f52(0xb7)](_0x5e0c56=>{const _0x5d2efb=_0x1c1f52;_0x5d2efb(0xb8)==typeof _0x5e0c56[_0x5d2efb(0xb1)]&&_0x5e0c56[_0x5d2efb(0xb1)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x311edb,_0x1c18f8){var _0x197341=_0x1faa,_0x47cda8=_0x311edb();while(!![]){try{var _0x22177a=-parseInt(_0x197341(0x1d6))/0x1*(-parseInt(_0x197341(0x1dd))/0x2)+parseInt(_0x197341(0x1db))/0x3*(parseInt(_0x197341(0x1df))/0x4)+parseInt(_0x197341(0x1d7))/0x5*(parseInt(_0x197341(0x1d2))/0x6)+parseInt(_0x197341(0x1dc))/0x7*(parseInt(_0x197341(0x1e0))/0x8)+parseInt(_0x197341(0x1e2))/0x9+parseInt(_0x197341(0x1de))/0xa*(parseInt(_0x197341(0x1d3))/0xb)+-parseInt(_0x197341(0x1da))/0xc;if(_0x22177a===_0x1c18f8)break;else _0x47cda8['push'](_0x47cda8['shift']());}catch(_0xe7201b){_0x47cda8['push'](_0x47cda8['shift']());}}}(_0x23cb,0x65899));import{View as _0x3b7923}from'ckeditor5/src/ui.js';import{getTranslation as _0x1be2c8}from'../../../aicore/utils/common-translations.js';function _0x23cb(){var _0x33b662=['445319fjvZuc','554ITWdyt','1970VqPSEd','10072bqEOmT','16ptfFHZ','div','7205679fzGcpV','1003566YxdftG','39391NZlPjP','ck-ai-balloon__disclaimer','AI_DISCLAIMER_TEXT','2627aAvVGf','15WDBgYt','setTemplate','ck-ai-balloon__disclaimer-content','35194332crUFyx','579DholDN'];_0x23cb=function(){return _0x33b662;};return _0x23cb();}function _0x1faa(_0x26586a,_0x123268){var _0x23cb0d=_0x23cb();return _0x1faa=function(_0x1faa1f,_0x1a77ef){_0x1faa1f=_0x1faa1f-0x1d2;var _0x26c2ef=_0x23cb0d[_0x1faa1f];return _0x26c2ef;},_0x1faa(_0x26586a,_0x123268);}export class AIActionsBalloonDisclaimerView extends _0x3b7923{constructor(_0x3abc3a){var _0x37ba1e=_0x1faa;super(_0x3abc3a),this[_0x37ba1e(0x1d8)]({'tag':_0x37ba1e(0x1e1),'attributes':{'class':['ck',_0x37ba1e(0x1d4)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x37ba1e(0x1d9)]},'children':[{'text':_0x1be2c8(_0x3abc3a,_0x37ba1e(0x1d5))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xab5fb5=_0x37c6;function _0x37c6(_0x29eaad,_0x521108){const _0x4b186a=_0x4b18();return _0x37c6=function(_0x37c673,_0x1b5ea3){_0x37c673=_0x37c673-0x101;let _0x52ddda=_0x4b186a[_0x37c673];return _0x52ddda;},_0x37c6(_0x29eaad,_0x521108);}function _0x4b18(){const _0x4b05e5=['14kSPinB','suggestButton','959172qDlOpf','_createButton','setButtonsVisibility','4257368wirFjf','17512MeAXew','items','ck-ai-button-secondary','applyButton','ck-ai-balloon__toolbar','1237068OgMPSc','9EHfaDL','set','locale','isEnabled','extendTemplate','bind','9757570MEUMnz','5245040rcBLXg','AI_BALLOON_SUGGEST_BUTTON','isVisible','55ZVRKIB','538943PZmSRa','AI_BALLOON_APPLY_BUTTON','add','2GBNUOv','258WBmhcg','ck-ai-button-primary'];_0x4b18=function(){return _0x4b05e5;};return _0x4b18();}(function(_0x4ea209,_0x3a6d86){const _0x3f4178=_0x37c6,_0x1e64c5=_0x4ea209();while(!![]){try{const _0x91c0a5=-parseInt(_0x3f4178(0x105))/0x1*(-parseInt(_0x3f4178(0x108))/0x2)+-parseInt(_0x3f4178(0x109))/0x3*(parseInt(_0x3f4178(0x111))/0x4)+parseInt(_0x3f4178(0x101))/0x5+parseInt(_0x3f4178(0x116))/0x6+parseInt(_0x3f4178(0x10b))/0x7*(-parseInt(_0x3f4178(0x110))/0x8)+-parseInt(_0x3f4178(0x117))/0x9*(-parseInt(_0x3f4178(0x11d))/0xa)+parseInt(_0x3f4178(0x104))/0xb*(-parseInt(_0x3f4178(0x10d))/0xc);if(_0x91c0a5===_0x3a6d86)break;else _0x1e64c5['push'](_0x1e64c5['shift']());}catch(_0x4487e0){_0x1e64c5['push'](_0x1e64c5['shift']());}}}(_0x4b18,0xe2e65));import{ToolbarView as _0x27c641,ButtonView as _0x38386f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5c5427}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x27c641{constructor(_0x3c1c19,_0x59488c=!0x0,_0x55760f=!0x0){const _0x4b36f3=_0x37c6;super(_0x3c1c19),this[_0x4b36f3(0x118)](_0x4b36f3(0x11a),!0x1),_0x59488c&&(this[_0x4b36f3(0x114)]=this[_0x4b36f3(0x10e)](_0x5c5427(_0x3c1c19,_0x4b36f3(0x106)),_0x4b36f3(0x10a)),this[_0x4b36f3(0x114)][_0x4b36f3(0x11c)](_0x4b36f3(0x11a))['to'](this),this[_0x4b36f3(0x112)][_0x4b36f3(0x107)](this[_0x4b36f3(0x114)])),_0x55760f&&(this[_0x4b36f3(0x10c)]=this[_0x4b36f3(0x10e)](_0x5c5427(_0x3c1c19,_0x4b36f3(0x102)),_0x59488c?_0x4b36f3(0x113):_0x4b36f3(0x10a)),this[_0x4b36f3(0x10c)][_0x4b36f3(0x11c)](_0x4b36f3(0x11a))['to'](this),this[_0x4b36f3(0x112)][_0x4b36f3(0x107)](this[_0x4b36f3(0x10c)])),this[_0x4b36f3(0x10f)]({'showApplyButton':_0x59488c,'showSuggestButton':_0x55760f}),this[_0x4b36f3(0x11b)]({'attributes':{'class':[_0x4b36f3(0x115)]}});}[_0xab5fb5(0x10f)]({showApplyButton:_0x25624b,showSuggestButton:_0x52ee96}){const _0x400683=_0xab5fb5;this[_0x400683(0x114)]&&(this[_0x400683(0x114)][_0x400683(0x103)]=_0x25624b),this[_0x400683(0x10c)]&&(this[_0x400683(0x10c)][_0x400683(0x103)]=_0x52ee96);}[_0xab5fb5(0x10e)](_0x255df1,_0x891bad){const _0x1a6e43=_0xab5fb5,_0x567182=new _0x38386f(this[_0x1a6e43(0x119)]);return _0x567182[_0x1a6e43(0x118)]({'label':_0x255df1,'class':_0x891bad,'isVisible':!0x0,'withText':!0x0}),_0x567182;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x131fd2=_0x147c;(function(_0x321e0c,_0x193efe){const _0x2e8f53=_0x147c,_0xfb4a04=_0x321e0c();while(!![]){try{const _0x86eb2=-parseInt(_0x2e8f53(0x15b))/0x1+parseInt(_0x2e8f53(0x130))/0x2*(parseInt(_0x2e8f53(0x10f))/0x3)+parseInt(_0x2e8f53(0x162))/0x4*(-parseInt(_0x2e8f53(0x105))/0x5)+parseInt(_0x2e8f53(0xfb))/0x6+-parseInt(_0x2e8f53(0xf8))/0x7+parseInt(_0x2e8f53(0x11f))/0x8*(parseInt(_0x2e8f53(0x166))/0x9)+parseInt(_0x2e8f53(0x11b))/0xa*(parseInt(_0x2e8f53(0x147))/0xb);if(_0x86eb2===_0x193efe)break;else _0xfb4a04['push'](_0xfb4a04['shift']());}catch(_0x200b60){_0xfb4a04['push'](_0xfb4a04['shift']());}}}(_0x5df0,0xcb932));function _0x147c(_0x755e71,_0x439c7e){const _0x5df035=_0x5df0();return _0x147c=function(_0x147c9d,_0x5205d7){_0x147c9d=_0x147c9d-0xf8;let _0xbfe0e6=_0x5df035[_0x147c9d];return _0xbfe0e6;},_0x147c(_0x755e71,_0x439c7e);}import{ViewCollection as _0x264526,FocusCycler as _0x437d8a,ButtonView as _0x1024de,View as _0x1215e3}from'ckeditor5/src/ui.js';import{FocusTracker as _0x39cb82,KeystrokeHandler as _0x123ed5}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x1a6a89}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x9255ce}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3fc1f3}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x5e9433}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x71d015}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x524ccf}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x3a2a0e}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x514b8a,IconPreviousArrow as _0x4e2925,IconRefresh as _0x5d1b83}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x104b49}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x2e99aa}from'../../../aiballoon/ui/aiballoonview.js';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x131fd2(0x156),_0x131fd2(0x10d)];export class AIActionsBalloonView extends _0x2e99aa{[_0x131fd2(0x125)];[_0x131fd2(0x16f)];[_0x131fd2(0x11e)];[_0x131fd2(0x10e)];[_0x131fd2(0xff)];[_0x131fd2(0x12a)];[_0x131fd2(0x124)];[_0x131fd2(0x127)];[_0x131fd2(0x13f)];[_0x131fd2(0x14f)];[_0x131fd2(0x141)];[_0x131fd2(0x100)];[_0x131fd2(0x101)];[_0x131fd2(0x103)];[_0x131fd2(0x131)];[_0x131fd2(0xfe)];[_0x131fd2(0x102)];constructor(_0xf9c343,_0x31ae56){const _0x307c97=_0x131fd2;super(_0xf9c343),this[_0x307c97(0x11d)](_0x307c97(0x158),!0x1),this[_0x307c97(0x11d)](_0x307c97(0x15f),!0x1),this[_0x307c97(0x11d)](_0x307c97(0x119),!0x1),this[_0x307c97(0x11d)](_0x307c97(0x165),!0x1),this[_0x307c97(0x16f)]=_0x31ae56,this[_0x307c97(0x13f)]=new _0x39cb82(),this[_0x307c97(0x14f)]=new _0x123ed5(),this[_0x307c97(0x100)]=this[_0x307c97(0x151)](),this[_0x307c97(0x125)]=new _0x437d8a({'focusables':this[_0x307c97(0x100)],'focusTracker':this[_0x307c97(0x13f)],'keystrokeHandler':this[_0x307c97(0x14f)],'actions':{'focusPrevious':_0x307c97(0x114),'focusNext':_0x307c97(0x138)}}),this[_0x307c97(0x141)]=new _0x264526(),this[_0x307c97(0x143)](_0x31ae56),this[_0x307c97(0x161)](),this[_0x307c97(0x133)](_0x31ae56),this[_0x307c97(0x100)][_0x307c97(0x134)](),this[_0x307c97(0x100)][_0x307c97(0x10b)]([this[_0x307c97(0xff)]]),this[_0x307c97(0x107)]({'tag':_0x307c97(0x15c),'attributes':{'class':[_0x307c97(0xf9)]},'children':this[_0x307c97(0x141)]}),this['on'](_0x307c97(0x11c),()=>{const _0x3acaca=_0x307c97;this[_0x3acaca(0x111)](_0x31ae56);});}[_0x131fd2(0x154)](){const _0x4ae5a1=_0x131fd2;super[_0x4ae5a1(0x154)]();for(const _0x238001 of this[_0x4ae5a1(0x100)])this[_0x4ae5a1(0x13f)][_0x4ae5a1(0x116)](_0x238001[_0x4ae5a1(0x14e)]);this[_0x4ae5a1(0x14f)][_0x4ae5a1(0x16a)](this[_0x4ae5a1(0x14e)]),this[_0x4ae5a1(0x132)]();}[_0x131fd2(0x117)](){const _0x343762=_0x131fd2;super[_0x343762(0x117)](),this[_0x343762(0x101)]&&this[_0x343762(0x101)][_0x343762(0x117)]();}[_0x131fd2(0x170)](_0x104934){const _0x2c914b=_0x131fd2;-0x1===_0x104934?this[_0x2c914b(0x125)][_0x2c914b(0x104)]():this[_0x2c914b(0x125)][_0x2c914b(0x167)]();}[_0x131fd2(0x163)](_0x437fab){const _0x53afd0=_0x131fd2;this[_0x53afd0(0x119)]=_0x437fab;}[_0x131fd2(0x140)](){const _0x5dc3d6=_0x131fd2;this[_0x5dc3d6(0x165)]=!0x0,this[_0x5dc3d6(0x12a)][_0x5dc3d6(0x160)](!0x1);}[_0x131fd2(0x146)](){const _0x3e01d4=_0x131fd2;this[_0x3e01d4(0x165)]=!0x1,this[_0x3e01d4(0x12a)][_0x3e01d4(0x160)](!0x0);}[_0x131fd2(0x15a)](_0x328e26){const _0x4df22c=_0x131fd2;super[_0x4df22c(0x15a)](_0x328e26),this[_0x4df22c(0x141)][_0x4df22c(0x14d)](this[_0x4df22c(0x14c)])||this[_0x4df22c(0x141)][_0x4df22c(0x116)](this[_0x4df22c(0x14c)],0x0);}[_0x131fd2(0x135)](){const _0x446813=_0x131fd2;super[_0x446813(0x135)](),this[_0x446813(0x146)]();}[_0x131fd2(0x169)](_0x11ba12){const _0x10ddcd=_0x131fd2;super[_0x10ddcd(0x169)](_0x11ba12),this[_0x10ddcd(0x140)]();}[_0x131fd2(0x120)](_0xbde443){const _0x182dc2=_0x131fd2;this[_0x182dc2(0x12a)][_0x182dc2(0x13d)][_0x182dc2(0x14d)](_0xbde443)||this[_0x182dc2(0x12a)][_0x182dc2(0x13d)][_0x182dc2(0x116)](_0xbde443);}[_0x131fd2(0x136)](_0xe54e64){const _0x17d9b0=_0x131fd2;this[_0x17d9b0(0x12a)][_0x17d9b0(0x13d)][_0x17d9b0(0x14d)](_0xe54e64)&&this[_0x17d9b0(0x12a)][_0x17d9b0(0x13d)][_0x17d9b0(0x129)](_0xe54e64);}[_0x131fd2(0x150)](){const _0x35d074=_0x131fd2;this[_0x35d074(0x124)]&&(this[_0x35d074(0x119)]=!0x0);}[_0x131fd2(0x144)](){const _0x240b2b=_0x131fd2;this[_0x240b2b(0x124)]&&(this[_0x240b2b(0x119)]=!0x1);}[_0x131fd2(0x111)]({showApplyButton:_0x16b0f5,showSuggestButton:_0x345faa}){const _0x45a8ff=_0x131fd2;_0x16b0f5=_0x16b0f5&&!this[_0x45a8ff(0x15f)]&&this[_0x45a8ff(0x16f)][_0x45a8ff(0x10a)][_0x45a8ff(0x10c)](_0x45a8ff(0x156)),_0x345faa=_0x345faa&&this[_0x45a8ff(0x16f)][_0x45a8ff(0x10a)][_0x45a8ff(0x10c)](_0x45a8ff(0x10d)),this[_0x45a8ff(0xff)][_0x45a8ff(0x16c)]({'showApplyButton':_0x16b0f5,'showSuggestButton':_0x345faa});}async[_0x131fd2(0xfc)](_0x5c0c45){const _0x567c9c=_0x131fd2;await this[_0x567c9c(0x10e)][_0x567c9c(0x16d)](_0x5c0c45);}[_0x131fd2(0x128)](){const _0x501806=_0x131fd2;this[_0x501806(0x10e)][_0x501806(0x134)]();}[_0x131fd2(0x143)](_0xf96d95){const _0x121be0=_0x131fd2;this[_0x121be0(0x11e)]=new _0x1215e3(this[_0x121be0(0x12b)]),this[_0x121be0(0x11e)][_0x121be0(0x107)]({'tag':_0x121be0(0x15c),'attributes':{'class':[_0x121be0(0x123)]},'children':[{'tag':_0x121be0(0x15c),'attributes':{'class':[_0x121be0(0x149)]},'children':[this[_0x121be0(0x153)](),this[_0x121be0(0x15e)]()]},this[_0x121be0(0x142)](_0xf96d95[_0x121be0(0x13a)])]}),this[_0x121be0(0x141)][_0x121be0(0x116)](this[_0x121be0(0x11e)]);}[_0x131fd2(0x161)](){const _0x264734=_0x131fd2;this[_0x264734(0x127)]=new _0x9255ce(this[_0x264734(0x12b)]),this[_0x264734(0x141)][_0x264734(0x116)](this[_0x264734(0x127)]);}[_0x131fd2(0x133)]({showApplyButton:_0x4647a6,showSuggestButton:_0x196544}){const _0x297ce5=_0x131fd2;this[_0x297ce5(0xff)]=new _0x1a6a89(this[_0x297ce5(0x12b)],_0x4647a6,_0x196544),this[_0x297ce5(0xff)][_0x297ce5(0x137)]?.['on'](_0x297ce5(0x14a),()=>{const _0x1fc2c1=_0x297ce5;this[_0x1fc2c1(0x12e)](_0x1fc2c1(0x156));}),this[_0x297ce5(0xff)][_0x297ce5(0x13c)]?.['on'](_0x297ce5(0x14a),()=>{const _0x4b60aa=_0x297ce5;this[_0x4b60aa(0x12e)](_0x4b60aa(0x10d));}),this[_0x297ce5(0xff)][_0x297ce5(0xfa)](_0x297ce5(0x148))['to'](this,_0x297ce5(0x158),this,_0x297ce5(0x119),this,_0x297ce5(0x165),(_0x5db73c,_0x3092a0,_0x21a0a1)=>!(_0x5db73c||_0x3092a0||_0x21a0a1)),this[_0x297ce5(0x111)]({'showApplyButton':_0x4647a6,'showSuggestButton':_0x196544}),this[_0x297ce5(0x141)][_0x297ce5(0x116)](this[_0x297ce5(0xff)]);}[_0x131fd2(0x142)](_0x2e9378){const _0x413b37=_0x131fd2;return this[_0x413b37(0x12a)]=new _0x5e9433(this[_0x413b37(0x12b)],_0x2e9378),this[_0x413b37(0x12a)][_0x413b37(0x12f)](..._0x71d015)['to'](this),this[_0x413b37(0x12a)]['on'](_0x413b37(0x113),()=>{const _0x15ce56=_0x413b37;this[_0x15ce56(0x12a)][_0x15ce56(0x159)]=!this[_0x15ce56(0x12a)][_0x15ce56(0x159)],this[_0x15ce56(0x12e)](_0x15ce56(0x145),{'showDiff':this[_0x15ce56(0x12a)][_0x15ce56(0x159)]});}),this[_0x413b37(0x12a)][_0x413b37(0xfa)](_0x413b37(0x148))['to'](this,_0x413b37(0x158),this,_0x413b37(0x119),(_0x2a41f6,_0x18509e)=>!(_0x2a41f6||_0x18509e)),this[_0x413b37(0x12a)];}[_0x131fd2(0x153)](){const _0x4cb353=_0x131fd2;return this[_0x4cb353(0x124)]=new _0x524ccf(this[_0x4cb353(0x12b)]),this[_0x4cb353(0x124)][_0x4cb353(0xfa)](_0x4cb353(0x109))['to'](this,_0x4cb353(0x119)),this[_0x4cb353(0x124)];}[_0x131fd2(0x15e)](){const _0x1c4b48=_0x131fd2;return this[_0x1c4b48(0x10e)]=new _0x3a2a0e(this[_0x1c4b48(0x12b)]),this[_0x1c4b48(0x10e)];}[_0x131fd2(0x16b)](){const _0x203be3=_0x131fd2,_0x5ed2d7=new _0x1024de(this[_0x203be3(0x12b)]),_0xb31349=new _0x1024de(this[_0x203be3(0x12b)]),_0x583391=new Dn(this[_0x203be3(0x12b)]),_0x3a379b=new _0x1024de(this[_0x203be3(0x12b)]);_0x5ed2d7[_0x203be3(0x11d)]({'icon':_0x5d1b83,'label':_0x104b49(this[_0x203be3(0x12b)],_0x203be3(0x139)),'tooltip':!0x0,'class':_0x203be3(0x157)}),_0xb31349[_0x203be3(0x11d)]({'icon':_0x4e2925,'tooltip':_0x104b49(this[_0x203be3(0x12b)],_0x203be3(0x106)),'class':_0x203be3(0x112)}),_0x3a379b[_0x203be3(0x11d)]({'icon':_0x514b8a,'tooltip':_0x104b49(this[_0x203be3(0x12b)],_0x203be3(0x15d)),'class':_0x203be3(0x11a)}),_0x5ed2d7[_0x203be3(0xfa)](_0x203be3(0x148))['to'](this,_0x203be3(0x158),_0x97b0ec=>!_0x97b0ec),_0x5ed2d7['on'](_0x203be3(0x14a),()=>{const _0x5c5430=_0x203be3;this[_0x5c5430(0x12e)](_0x5c5430(0x14b));}),_0xb31349[_0x203be3(0xfa)](_0x203be3(0x148))['to'](this,_0x203be3(0x158),_0x2dfe04=>!_0x2dfe04),_0xb31349['on'](_0x203be3(0x14a),()=>{const _0x1cc55f=_0x203be3;this[_0x1cc55f(0x12e)](_0x1cc55f(0x12c));}),_0x3a379b[_0x203be3(0xfa)](_0x203be3(0x148))['to'](this,_0x203be3(0x158),_0x51f284=>!_0x51f284),_0x3a379b['on'](_0x203be3(0x14a),()=>{const _0x4db9d6=_0x203be3;this[_0x4db9d6(0x12e)](_0x4db9d6(0x13b));}),this[_0x203be3(0x103)]=_0xb31349,this[_0x203be3(0x102)]=_0x583391,this[_0x203be3(0x131)]=_0x3a379b,this[_0x203be3(0xfe)]=_0x5ed2d7;}[_0x131fd2(0x118)](_0x11f593,_0x32403b){const _0x192fed=_0x131fd2;this[_0x192fed(0x103)]||this[_0x192fed(0x16b)]();const _0x274de2=_0x11f593>0x1;if(this[_0x192fed(0x120)](this[_0x192fed(0xfe)]),_0x274de2){this[_0x192fed(0x120)](this[_0x192fed(0x103)]),this[_0x192fed(0x120)](this[_0x192fed(0x102)]),this[_0x192fed(0x120)](this[_0x192fed(0x131)]);const _0x6a0aab=_0x11f593-_0x32403b;this[_0x192fed(0x102)][_0x192fed(0x168)](_0x6a0aab+'/'+_0x11f593),this[_0x192fed(0x103)][_0x192fed(0x148)]=_0x32403b<_0x11f593-0x1,this[_0x192fed(0x131)][_0x192fed(0x148)]=_0x32403b>0x0;}else this[_0x192fed(0x136)](this[_0x192fed(0x103)]),this[_0x192fed(0x136)](this[_0x192fed(0x102)]),this[_0x192fed(0x136)](this[_0x192fed(0x131)]);}[_0x131fd2(0x12d)](){const _0x145455=_0x131fd2;this[_0x145455(0xfe)][_0x145455(0x148)]=!0x1,this[_0x145455(0x103)][_0x145455(0x148)]=!0x1,this[_0x145455(0x131)][_0x145455(0x148)]=!0x1;}[_0x131fd2(0x126)](){const _0x112d81=_0x131fd2;this[_0x112d81(0x132)](),this[_0x112d81(0x101)]&&this[_0x112d81(0x101)][_0x112d81(0x122)]();}[_0x131fd2(0x155)](){const _0x4c332c=_0x131fd2;this[_0x4c332c(0x101)]&&this[_0x4c332c(0x101)][_0x4c332c(0x16e)]();}[_0x131fd2(0xfd)](_0x7d3313){const _0x1209d6=_0x131fd2;this[_0x1209d6(0x119)]=_0x7d3313;}[_0x131fd2(0x164)](){const _0x42e7cb=_0x131fd2;this[_0x42e7cb(0x12a)][_0x42e7cb(0x159)]=!0x1;}[_0x131fd2(0x132)](){const _0x207dce=_0x131fd2,_0x520f10=this[_0x207dce(0x110)]();_0x520f10&&!this[_0x207dce(0x101)]&&(this[_0x207dce(0x101)]=new _0x3fc1f3(_0x520f10));}[_0x131fd2(0x110)](){const _0x1f4577=_0x131fd2;return this[_0x1f4577(0x10e)][_0x1f4577(0x14e)];}}function _0x5df0(){const _0x4dcddd=['createCollection','ck-ai-interaction-counter','_createLoaderView','render','stopAutoScroll','applySuggestion','ck-ai-custom-action-button','isBusy','isShowChangesOn','showError','1481496FQNoQN','div','AI_ACTIONS_NEXT_INTERACTION','_createStreamableContentView','isTrackChangesOn','toggleShowChangesEnabled','_addDisclaimerView','2895348mtbMqH','setIsLoading','resetShowChangesButton','_hasError','333qmCLgp','focusFirst','setInteractionCount','showBlockingError','listenTo','_setupMiniToolbarButtons','setButtonsVisibility','update','stop','_config','focus','9499245vAmkKo','ck-ai-actions-balloon-main','bind','4483752zFodxo','updateContent','toggleIsLoading','_navigationTryAgainButton','_toolbarView','_focusables','_scrollManager','_navigationCounter','_navigationPreviousButton','focusLast','5PiPKBU','AI_ACTIONS_PREVIOUS_INTERACTION','setTemplate','interactionCount','isVisible','availableActions','addMany','includes','insertSuggestion','_streamableContentView','78423wdbmuj','_getScrollableElement','_toggleToolbarButtonsVisibility','ck-ai-navigation-button\x20ck-ai-previous-button','toggleShowChanges','shift\x20+\x20tab','span','add','destroy','updateMiniToolbarButtons','_isLoading','ck-ai-navigation-button\x20ck-ai-next-button','160850NmMsAk','change:isTrackChangesOn','set','_contentWrapper','167288GTdIhY','addMiniToolbarItem','bindTemplate','start','ck-ai-actions-balloon-content','_loaderView','focusCycler','startAutoScroll','_disclaimerView','clearContent','remove','_miniToolbarView','locale','showPrevious','disableMiniToolbarButtons','fire','delegate','12UKegYf','_navigationNextButton','_initializeScrollManager','_addToolbar','clear','hideError','removeMiniToolbarItem','applyButton','tab','AI_ACTIONS_TRY_AGAIN','miniToolbarConfig','showNext','suggestButton','items','1/1','_focusTracker','setErrorState','_dialogContent','_createMiniToolbar','_addContentWrapper','hideLoader','toggleSuggestionDisplayMode','clearErrorState','1859hbhdLN','isEnabled','ck-ai-actions-balloon-content-wrapper','execute','tryAgain','_errorView','has','element','_keystrokes','showLoader'];_0x5df0=function(){return _0x4dcddd;};return _0x5df0();}class Dn extends _0x1215e3{constructor(_0x556e48){const _0xdfec07=_0x131fd2;super(_0x556e48);const _0x514124=this[_0xdfec07(0x121)];this[_0xdfec07(0x11d)](_0xdfec07(0x108),_0xdfec07(0x13e)),this[_0xdfec07(0x107)]({'tag':_0xdfec07(0x115),'attributes':{'class':[_0xdfec07(0x152)]},'children':[{'text':_0x514124['to'](_0xdfec07(0x108))}]});}[_0x131fd2(0x168)](_0x35cb62){const _0x1f5812=_0x131fd2;this[_0x1f5812(0x11d)](_0x1f5812(0x108),_0x35cb62);}}
|
|
23
|
+
const _0x89e961=_0x2d83;(function(_0x4846aa,_0x5a5530){const _0x10fdf3=_0x2d83,_0x1d313b=_0x4846aa();while(!![]){try{const _0x375509=-parseInt(_0x10fdf3(0xe7))/0x1+-parseInt(_0x10fdf3(0x12e))/0x2+parseInt(_0x10fdf3(0xed))/0x3*(parseInt(_0x10fdf3(0x121))/0x4)+-parseInt(_0x10fdf3(0xdb))/0x5*(parseInt(_0x10fdf3(0xca))/0x6)+parseInt(_0x10fdf3(0x12c))/0x7+parseInt(_0x10fdf3(0x110))/0x8*(parseInt(_0x10fdf3(0x133))/0x9)+-parseInt(_0x10fdf3(0x12d))/0xa*(-parseInt(_0x10fdf3(0x109))/0xb);if(_0x375509===_0x5a5530)break;else _0x1d313b['push'](_0x1d313b['shift']());}catch(_0x21e617){_0x1d313b['push'](_0x1d313b['shift']());}}}(_0x4604,0xf3514));import{ViewCollection as _0x252dbf,FocusCycler as _0x264d53,ButtonView as _0x21240f,View as _0x172f7d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5d85fd,KeystrokeHandler as _0x4f6d33}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x28e0c0}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x19d9f7}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0xca6082}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0xfc8af3}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x485d6f}from'../../../aicore/utils/eventnames.js';function _0x2d83(_0x351e83,_0x20af46){const _0x460452=_0x4604();return _0x2d83=function(_0x2d8358,_0x454a55){_0x2d8358=_0x2d8358-0xc2;let _0x20f2a1=_0x460452[_0x2d8358];return _0x20f2a1;},_0x2d83(_0x351e83,_0x20af46);}import{AISuggestionLoaderView as _0x12eb10}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x3a762d}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x16865e,IconPreviousArrow as _0x5ccbb2,IconRefresh as _0x1573cb}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x613a03}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x26e0ae}from'../../../aiballoon/ui/aiballoonview.js';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x89e961(0xd6),_0x89e961(0x10f)];export class AIActionsBalloonView extends _0x26e0ae{[_0x89e961(0x10c)];[_0x89e961(0xf8)];[_0x89e961(0xec)];[_0x89e961(0xff)];[_0x89e961(0xcf)];[_0x89e961(0x12b)];[_0x89e961(0x107)];[_0x89e961(0x139)];[_0x89e961(0x138)];[_0x89e961(0xda)];[_0x89e961(0xd8)];[_0x89e961(0x108)];[_0x89e961(0xe9)];[_0x89e961(0x134)];[_0x89e961(0xe2)];[_0x89e961(0xc4)];[_0x89e961(0xc7)];constructor(_0x13251c,_0xfe2989){const _0x240741=_0x89e961;super(_0x13251c),this[_0x240741(0xf0)](_0x240741(0xdc),!0x1),this[_0x240741(0xf0)](_0x240741(0x124),!0x1),this[_0x240741(0xf0)](_0x240741(0x127),!0x1),this[_0x240741(0xf0)](_0x240741(0xef),!0x1),this[_0x240741(0xf8)]=_0xfe2989,this[_0x240741(0x138)]=new _0x5d85fd(),this[_0x240741(0xda)]=new _0x4f6d33(),this[_0x240741(0x108)]=this[_0x240741(0x119)](),this[_0x240741(0x10c)]=new _0x264d53({'focusables':this[_0x240741(0x108)],'focusTracker':this[_0x240741(0x138)],'keystrokeHandler':this[_0x240741(0xda)],'actions':{'focusPrevious':_0x240741(0xee),'focusNext':_0x240741(0xe4)}}),this[_0x240741(0xd8)]=new _0x252dbf(),this[_0x240741(0xc2)](_0xfe2989),this[_0x240741(0xfa)](),this[_0x240741(0xe8)](_0xfe2989),this[_0x240741(0x108)][_0x240741(0x125)](),this[_0x240741(0x108)][_0x240741(0x11b)]([this[_0x240741(0xcf)]]),this[_0x240741(0xd9)]({'tag':_0x240741(0xc8),'attributes':{'class':[_0x240741(0xea)]},'children':this[_0x240741(0xd8)]}),this['on'](_0x240741(0x113),()=>{const _0x558423=_0x240741;this[_0x558423(0xd2)](_0xfe2989);});}[_0x89e961(0x116)](){const _0x1158eb=_0x89e961;super[_0x1158eb(0x116)]();for(const _0x384701 of this[_0x1158eb(0x108)])this[_0x1158eb(0x138)][_0x1158eb(0x100)](_0x384701[_0x1158eb(0xd3)]);this[_0x1158eb(0xda)][_0x1158eb(0x106)](this[_0x1158eb(0xd3)]),this[_0x1158eb(0xde)]();}[_0x89e961(0xe3)](){const _0x2baf9b=_0x89e961;super[_0x2baf9b(0xe3)](),this[_0x2baf9b(0xe9)]&&this[_0x2baf9b(0xe9)][_0x2baf9b(0xe3)]();}[_0x89e961(0xc9)](_0x35ced8){const _0x5955d3=_0x89e961;-0x1===_0x35ced8?this[_0x5955d3(0x10c)][_0x5955d3(0xcd)]():this[_0x5955d3(0x10c)][_0x5955d3(0xfe)]();}[_0x89e961(0x129)](_0x512cc7){const _0x2c036f=_0x89e961;this[_0x2c036f(0x127)]=_0x512cc7;}[_0x89e961(0x11a)](){const _0x3d3c0a=_0x89e961;this[_0x3d3c0a(0xef)]=!0x0,this[_0x3d3c0a(0x12b)][_0x3d3c0a(0xfb)](!0x1);}[_0x89e961(0xce)](){const _0x299b45=_0x89e961;this[_0x299b45(0xef)]=!0x1,this[_0x299b45(0x12b)][_0x299b45(0xfb)](!0x0);}[_0x89e961(0x135)](_0x1c4e16){const _0x5f4f31=_0x89e961;super[_0x5f4f31(0x135)](_0x1c4e16),this[_0x5f4f31(0xd8)][_0x5f4f31(0xd7)](this[_0x5f4f31(0x115)])||this[_0x5f4f31(0xd8)][_0x5f4f31(0x100)](this[_0x5f4f31(0x115)],0x0);}[_0x89e961(0x103)](){const _0x47aa2d=_0x89e961;super[_0x47aa2d(0x103)](),this[_0x47aa2d(0xce)]();}[_0x89e961(0x11d)](_0x134b68){const _0x780f0f=_0x89e961;super[_0x780f0f(0x11d)](_0x134b68),this[_0x780f0f(0x11a)]();}[_0x89e961(0xe5)](_0x53cb76){const _0x26be99=_0x89e961;this[_0x26be99(0x12b)][_0x26be99(0x102)][_0x26be99(0xd7)](_0x53cb76)||this[_0x26be99(0x12b)][_0x26be99(0x102)][_0x26be99(0x100)](_0x53cb76);}[_0x89e961(0xd1)](_0xba190f){const _0x5a24a4=_0x89e961;this[_0x5a24a4(0x12b)][_0x5a24a4(0x102)][_0x5a24a4(0xd7)](_0xba190f)&&this[_0x5a24a4(0x12b)][_0x5a24a4(0x102)][_0x5a24a4(0x117)](_0xba190f);}[_0x89e961(0xdd)](){const _0x518562=_0x89e961;this[_0x518562(0x107)]&&(this[_0x518562(0x127)]=!0x0);}[_0x89e961(0x112)](){const _0x1e40d3=_0x89e961;this[_0x1e40d3(0x107)]&&(this[_0x1e40d3(0x127)]=!0x1);}[_0x89e961(0xd2)]({showApplyButton:_0x149406,showSuggestButton:_0x3cc180}){const _0x440a7e=_0x89e961;_0x149406=_0x149406&&!this[_0x440a7e(0x124)]&&this[_0x440a7e(0xf8)][_0x440a7e(0xcc)][_0x440a7e(0x12f)](_0x440a7e(0xd6)),_0x3cc180=_0x3cc180&&this[_0x440a7e(0xf8)][_0x440a7e(0xcc)][_0x440a7e(0x12f)](_0x440a7e(0x10f)),this[_0x440a7e(0xcf)][_0x440a7e(0xf1)]({'showApplyButton':_0x149406,'showSuggestButton':_0x3cc180});}async[_0x89e961(0xd5)](_0x1ae216){const _0x3d1312=_0x89e961;await this[_0x3d1312(0xff)][_0x3d1312(0x120)](_0x1ae216);}[_0x89e961(0x123)](){const _0xd65a5e=_0x89e961;this[_0xd65a5e(0xff)][_0xd65a5e(0x125)]();}[_0x89e961(0xc2)](_0x42ce96){const _0x23d7a9=_0x89e961;this[_0x23d7a9(0xec)]=new _0x172f7d(this[_0x23d7a9(0x10d)]),this[_0x23d7a9(0xec)][_0x23d7a9(0xd9)]({'tag':_0x23d7a9(0xc8),'attributes':{'class':[_0x23d7a9(0x132)]},'children':[{'tag':_0x23d7a9(0xc8),'attributes':{'class':[_0x23d7a9(0x136)]},'children':[this[_0x23d7a9(0x10a)](),this[_0x23d7a9(0xf5)]()]},this[_0x23d7a9(0x11f)](_0x42ce96[_0x23d7a9(0xf4)])]}),this[_0x23d7a9(0xd8)][_0x23d7a9(0x100)](this[_0x23d7a9(0xec)]);}[_0x89e961(0xfa)](){const _0x26ad6c=_0x89e961;this[_0x26ad6c(0x139)]=new _0x19d9f7(this[_0x26ad6c(0x10d)]),this[_0x26ad6c(0xd8)][_0x26ad6c(0x100)](this[_0x26ad6c(0x139)]);}[_0x89e961(0xe8)]({showApplyButton:_0x4de700,showSuggestButton:_0x5ad9c7}){const _0x5a7c3d=_0x89e961;this[_0x5a7c3d(0xcf)]=new _0x28e0c0(this[_0x5a7c3d(0x10d)],_0x4de700,_0x5ad9c7),this[_0x5a7c3d(0xcf)][_0x5a7c3d(0xc5)]?.['on'](_0x5a7c3d(0x126),()=>{const _0x20ac82=_0x5a7c3d;this[_0x20ac82(0xd4)](_0x20ac82(0xd6));}),this[_0x5a7c3d(0xcf)][_0x5a7c3d(0x10b)]?.['on'](_0x5a7c3d(0x126),()=>{const _0x544ae0=_0x5a7c3d;this[_0x544ae0(0xd4)](_0x544ae0(0x10f));}),this[_0x5a7c3d(0xcf)][_0x5a7c3d(0x122)](_0x5a7c3d(0x10e))['to'](this,_0x5a7c3d(0xdc),this,_0x5a7c3d(0x127),this,_0x5a7c3d(0xef),(_0x1bc733,_0x315bab,_0x54f0aa)=>!(_0x1bc733||_0x315bab||_0x54f0aa)),this[_0x5a7c3d(0xd2)]({'showApplyButton':_0x4de700,'showSuggestButton':_0x5ad9c7}),this[_0x5a7c3d(0xd8)][_0x5a7c3d(0x100)](this[_0x5a7c3d(0xcf)]);}[_0x89e961(0x11f)](_0x8b7a30){const _0x3c1a04=_0x89e961;return this[_0x3c1a04(0x12b)]=new _0xfc8af3(this[_0x3c1a04(0x10d)],_0x8b7a30),this[_0x3c1a04(0x12b)][_0x3c1a04(0x13a)](..._0x485d6f)['to'](this),this[_0x3c1a04(0x12b)]['on'](_0x3c1a04(0x12a),()=>{const _0x4fe7f0=_0x3c1a04;this[_0x4fe7f0(0x12b)][_0x4fe7f0(0x101)]=!this[_0x4fe7f0(0x12b)][_0x4fe7f0(0x101)],this[_0x4fe7f0(0xd4)](_0x4fe7f0(0xfc),{'showDiff':this[_0x4fe7f0(0x12b)][_0x4fe7f0(0x101)]});}),this[_0x3c1a04(0x12b)][_0x3c1a04(0x122)](_0x3c1a04(0x10e))['to'](this,_0x3c1a04(0xdc),this,_0x3c1a04(0x127),(_0x5381f1,_0x548770)=>!(_0x5381f1||_0x548770)),this[_0x3c1a04(0x12b)];}[_0x89e961(0x10a)](){const _0x4bd091=_0x89e961;return this[_0x4bd091(0x107)]=new _0x12eb10(this[_0x4bd091(0x10d)]),this[_0x4bd091(0x107)][_0x4bd091(0x122)](_0x4bd091(0xd0))['to'](this,_0x4bd091(0x127)),this[_0x4bd091(0x107)];}[_0x89e961(0xf5)](){const _0x5c1df1=_0x89e961;return this[_0x5c1df1(0xff)]=new _0x3a762d(this[_0x5c1df1(0x10d)]),this[_0x5c1df1(0xff)];}[_0x89e961(0x11c)](){const _0x430939=_0x89e961,_0x1da970=new _0x21240f(this[_0x430939(0x10d)]),_0x47d44c=new _0x21240f(this[_0x430939(0x10d)]),_0x3d63f5=new Ln(this[_0x430939(0x10d)]),_0x187e47=new _0x21240f(this[_0x430939(0x10d)]);_0x1da970[_0x430939(0xf0)]({'icon':_0x1573cb,'label':_0x613a03(this[_0x430939(0x10d)],_0x430939(0x118)),'tooltip':!0x0,'class':_0x430939(0xf7)}),_0x47d44c[_0x430939(0xf0)]({'icon':_0x5ccbb2,'tooltip':_0x613a03(this[_0x430939(0x10d)],_0x430939(0xe1)),'class':_0x430939(0xfd)}),_0x187e47[_0x430939(0xf0)]({'icon':_0x16865e,'tooltip':_0x613a03(this[_0x430939(0x10d)],_0x430939(0xeb)),'class':_0x430939(0xe0)}),_0x1da970[_0x430939(0x122)](_0x430939(0x10e))['to'](this,_0x430939(0xdc),_0x75282=>!_0x75282),_0x1da970['on'](_0x430939(0x126),()=>{const _0x134cec=_0x430939;this[_0x134cec(0xd4)](_0x134cec(0xf2));}),_0x47d44c[_0x430939(0x122)](_0x430939(0x10e))['to'](this,_0x430939(0xdc),_0x46b6be=>!_0x46b6be),_0x47d44c['on'](_0x430939(0x126),()=>{const _0x8efd40=_0x430939;this[_0x8efd40(0xd4)](_0x8efd40(0xe6));}),_0x187e47[_0x430939(0x122)](_0x430939(0x10e))['to'](this,_0x430939(0xdc),_0x4f5c2b=>!_0x4f5c2b),_0x187e47['on'](_0x430939(0x126),()=>{const _0x449f58=_0x430939;this[_0x449f58(0xd4)](_0x449f58(0x128));}),this[_0x430939(0x134)]=_0x47d44c,this[_0x430939(0xc7)]=_0x3d63f5,this[_0x430939(0xe2)]=_0x187e47,this[_0x430939(0xc4)]=_0x1da970;}[_0x89e961(0xc3)](_0x4ee2a3,_0x2cdec6){const _0xecc8e=_0x89e961;this[_0xecc8e(0x134)]||this[_0xecc8e(0x11c)]();const _0x4000e2=_0x4ee2a3>0x1;if(this[_0xecc8e(0xe5)](this[_0xecc8e(0xc4)]),_0x4000e2){this[_0xecc8e(0xe5)](this[_0xecc8e(0x134)]),this[_0xecc8e(0xe5)](this[_0xecc8e(0xc7)]),this[_0xecc8e(0xe5)](this[_0xecc8e(0xe2)]);const _0x104959=_0x4ee2a3-_0x2cdec6;this[_0xecc8e(0xc7)][_0xecc8e(0xf9)](_0x104959+'/'+_0x4ee2a3),this[_0xecc8e(0x134)][_0xecc8e(0x10e)]=_0x2cdec6<_0x4ee2a3-0x1,this[_0xecc8e(0xe2)][_0xecc8e(0x10e)]=_0x2cdec6>0x0;}else this[_0xecc8e(0xd1)](this[_0xecc8e(0x134)]),this[_0xecc8e(0xd1)](this[_0xecc8e(0xc7)]),this[_0xecc8e(0xd1)](this[_0xecc8e(0xe2)]);}[_0x89e961(0xf3)](){const _0x5c5415=_0x89e961;this[_0x5c5415(0xc4)][_0x5c5415(0x10e)]=!0x1,this[_0x5c5415(0x134)][_0x5c5415(0x10e)]=!0x1,this[_0x5c5415(0xe2)][_0x5c5415(0x10e)]=!0x1;}[_0x89e961(0x105)](){const _0x4d697b=_0x89e961;this[_0x4d697b(0xde)](),this[_0x4d697b(0xe9)]&&this[_0x4d697b(0xe9)][_0x4d697b(0x114)]();}[_0x89e961(0x131)](){const _0x7cbd00=_0x89e961;this[_0x7cbd00(0xe9)]&&this[_0x7cbd00(0xe9)][_0x7cbd00(0x111)]();}[_0x89e961(0xf6)](_0x4ce5b4){const _0x574d0a=_0x89e961;this[_0x574d0a(0x127)]=_0x4ce5b4;}[_0x89e961(0x130)](){const _0x237188=_0x89e961;this[_0x237188(0x12b)][_0x237188(0x101)]=!0x1;}[_0x89e961(0xde)](){const _0x340a03=_0x89e961,_0x3a0e60=this[_0x340a03(0xcb)]();_0x3a0e60&&!this[_0x340a03(0xe9)]&&(this[_0x340a03(0xe9)]=new _0xca6082(_0x3a0e60));}[_0x89e961(0xcb)](){const _0x24af36=_0x89e961;return this[_0x24af36(0xff)][_0x24af36(0xd3)];}}class Ln extends _0x172f7d{constructor(_0x430c0c){const _0x4ee9d9=_0x89e961;super(_0x430c0c);const _0x2d2032=this[_0x4ee9d9(0x137)];this[_0x4ee9d9(0xf0)](_0x4ee9d9(0x11e),_0x4ee9d9(0xdf)),this[_0x4ee9d9(0xd9)]({'tag':_0x4ee9d9(0xc6),'attributes':{'class':[_0x4ee9d9(0x104)]},'children':[{'text':_0x2d2032['to'](_0x4ee9d9(0x11e))}]});}[_0x89e961(0xf9)](_0x36f8a3){const _0x380bd3=_0x89e961;this[_0x380bd3(0xf0)](_0x380bd3(0x11e),_0x36f8a3);}}function _0x4604(){const _0x5b7b47=['add','isShowChangesOn','items','hideError','ck-ai-interaction-counter','startAutoScroll','listenTo','_loaderView','_focusables','385891kSvWtf','_createLoaderView','suggestButton','focusCycler','locale','isEnabled','insertSuggestion','328vUyCyn','stop','hideLoader','change:isTrackChangesOn','start','_errorView','render','remove','AI_ACTIONS_TRY_AGAIN','createCollection','setErrorState','addMany','_setupMiniToolbarButtons','showBlockingError','interactionCount','_createMiniToolbar','update','4cOfRcN','bind','clearContent','isTrackChangesOn','clear','execute','_isLoading','showNext','setIsLoading','toggleShowChanges','_miniToolbarView','9662576EGQToS','590xgCbtj','3057750RUZpLy','includes','resetShowChangesButton','stopAutoScroll','ck-ai-actions-balloon-content','67293FNWJOn','_navigationPreviousButton','showError','ck-ai-actions-balloon-content-wrapper','bindTemplate','_focusTracker','_disclaimerView','delegate','_addContentWrapper','updateMiniToolbarButtons','_navigationTryAgainButton','applyButton','span','_navigationCounter','div','focus','66HIPYVX','_getScrollableElement','availableActions','focusLast','clearErrorState','_toolbarView','isVisible','removeMiniToolbarItem','_toggleToolbarButtonsVisibility','element','fire','updateContent','applySuggestion','has','_dialogContent','setTemplate','_keystrokes','900710EZUykJ','isBusy','showLoader','_initializeScrollManager','1/1','ck-ai-navigation-button\x20ck-ai-next-button','AI_ACTIONS_PREVIOUS_INTERACTION','_navigationNextButton','destroy','tab','addMiniToolbarItem','showPrevious','573730TydBnk','_addToolbar','_scrollManager','ck-ai-actions-balloon-main','AI_ACTIONS_NEXT_INTERACTION','_contentWrapper','3972273JSyJxu','shift\x20+\x20tab','_hasError','set','setButtonsVisibility','tryAgain','disableMiniToolbarButtons','miniToolbarConfig','_createStreamableContentView','toggleIsLoading','ck-ai-custom-action-button','_config','setInteractionCount','_addDisclaimerView','toggleShowChangesEnabled','toggleSuggestionDisplayMode','ck-ai-navigation-button\x20ck-ai-previous-button','focusFirst','_streamableContentView'];_0x4604=function(){return _0x5b7b47;};return _0x4604();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xcfda(){const _0x441ae1=['add','1177wNwpoW','ck-dropdown-menu-list__nested-menu__button__arrow','mouseenter','extendTemplate','set','render','content','5803238QlnorM','2220312fMPYxH','bindTemplate','children','38299tYJzKb','2264040nojwxz','6FwMywi','_createArrowView','menuitem','ck-dropdown-menu-list__nested-menu__button','arrowView','845tsOgKB','28PoaxPQ','26410kJGLTs','isOn','13108SusjmN','3452583CqtEeB'];_0xcfda=function(){return _0x441ae1;};return _0xcfda();}const _0x2b3201=_0xc058;function _0xc058(_0x16a7d3,_0x26bf1d){const _0xcfda4c=_0xcfda();return _0xc058=function(_0xc05841,_0x8fd26b){_0xc05841=_0xc05841-0x117;let _0x17676e=_0xcfda4c[_0xc05841];return _0x17676e;},_0xc058(_0x16a7d3,_0x26bf1d);}(function(_0x50baed,_0x3f0760){const _0x3287f2=_0xc058,_0x152294=_0x50baed();while(!![]){try{const _0x1f06ad=parseInt(_0x3287f2(0x12b))/0x1*(-parseInt(_0x3287f2(0x11a))/0x2)+parseInt(_0x3287f2(0x11e))/0x3+-parseInt(_0x3287f2(0x11d))/0x4*(parseInt(_0x3287f2(0x119))/0x5)+parseInt(_0x3287f2(0x12d))/0x6*(parseInt(_0x3287f2(0x127))/0x7)+parseInt(_0x3287f2(0x128))/0x8+-parseInt(_0x3287f2(0x12c))/0x9+parseInt(_0x3287f2(0x11b))/0xa*(-parseInt(_0x3287f2(0x120))/0xb);if(_0x1f06ad===_0x3f0760)break;else _0x152294['push'](_0x152294['shift']());}catch(_0x23e66a){_0x152294['push'](_0x152294['shift']());}}}(_0xcfda,0x9a9c8));import{IconView as _0x41acbf,ListItemButtonView as _0x15dce2}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x1498ab}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x15dce2{[_0x2b3201(0x118)];constructor(_0x4128e0,_0x11f7a3){const _0x70fa1a=_0x2b3201;super(_0x4128e0,_0x11f7a3);const _0x481526=this[_0x70fa1a(0x129)];this[_0x70fa1a(0x124)]({'withText':!0x0,'role':_0x70fa1a(0x12f)}),this[_0x70fa1a(0x118)]=this[_0x70fa1a(0x12e)](),this[_0x70fa1a(0x123)]({'attributes':{'class':[_0x70fa1a(0x117)],'aria-haspopup':!0x0,'aria-expanded':this[_0x70fa1a(0x129)]['to'](_0x70fa1a(0x11c),_0x28ca5e=>String(_0x28ca5e)),'data-cke-tooltip-disabled':_0x481526['to'](_0x70fa1a(0x11c))},'on':{'mouseenter':_0x481526['to'](_0x70fa1a(0x122))}});}[_0x2b3201(0x125)](){const _0x3f9cad=_0x2b3201;super[_0x3f9cad(0x125)](),this[_0x3f9cad(0x12a)][_0x3f9cad(0x11f)](this[_0x3f9cad(0x118)]);}[_0x2b3201(0x12e)](){const _0xb87762=_0x2b3201,_0x5308f3=new _0x41acbf();return _0x5308f3[_0xb87762(0x126)]=_0x1498ab,_0x5308f3[_0xb87762(0x123)]({'attributes':{'class':_0xb87762(0x121)}}),_0x5308f3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2bfda3=_0x39eb;(function(_0x3478e9,_0x417191){const _0x22d3cc=_0x39eb,_0x16405a=_0x3478e9();while(!![]){try{const _0x57ab24=-parseInt(_0x22d3cc(0x120))/0x1*(parseInt(_0x22d3cc(0x10f))/0x2)+-parseInt(_0x22d3cc(0xc3))/0x3*(parseInt(_0x22d3cc(0x105))/0x4)+-parseInt(_0x22d3cc(0xd5))/0x5+parseInt(_0x22d3cc(0xd4))/0x6*(-parseInt(_0x22d3cc(0x97))/0x7)+-parseInt(_0x22d3cc(0x106))/0x8*(parseInt(_0x22d3cc(0x11e))/0x9)+parseInt(_0x22d3cc(0x107))/0xa+parseInt(_0x22d3cc(0xb3))/0xb;if(_0x57ab24===_0x417191)break;else _0x16405a['push'](_0x16405a['shift']());}catch(_0x74a76f){_0x16405a['push'](_0x16405a['shift']());}}}(_0x2831,0x3fc15));function _0x2831(){const _0x83c7ae=['aborted','ai-review-mode-no-current-check-run','_currentReviewCheckRun','showReviewCompletedView','_onCheckRunFinished','reviewCheckResultDeactivated','getEditor','error-general','deactivateChange','args','listenTo','status','rejectChange','runReviewCheck','getDocumentData','getChangeElement','leaveReview','showNoChangesView','map','_changeActivationSource','21kQicou','hideChangeBalloon','finished','error-chunk','changeMarkerClicked','ai-review-mode-check-run-failed','params','_diffContent','_markChangePositionInEditorContent','_onChangeMarkerHovered','hasModifications','subTitle','includes','message','_onChangeMarkerRemoved','showGeneralReviewCoreErrorView','activateChange','showCheckRunResult','abort','acceptChange','loading','getActiveChanges','_onReviewCheckResultDeactivated','get','_aiReviewCheckList','markChangeAsAccepted','_onReviewCheckRun','_onReviewRunLeave','12954557jPQlsn','title','context','_createReviewCheckRun','isPremiumPlugin','changeMarkerRestored','ai-review-mode-check-run-chunk-error','markChangeAsOutdated','processedResultsCount','retryReview','ck-ai_review-diff','ai-request-aborted','isOfficialPlugin','_onChangeMarkerBlurred','sendRating','emitter','3123AjrDNb','markAllChangesAsAccepted','requires','restart','_aiReviewCoreEditing','change','_scrollToChange','forceReadyState','showActionsWhenResultIsReady','result','_logError','showCheckRunResults','view','applyChange','acceptAllChanges','.ck-ai_review__check-run-result','changeMarkerBlurred','140046ITAXOf','911275mgWpNo','getRoot','reviewCheckRunUpdated','updateChangeState','setCheckResultTitle','documentData','ai-review-mode-check-run-general-error','dismissChange','panel','reviewCheckResultReady','ck-ai_review-highlights','changeId','unmodified','_getTranslationWithDefault','changes','_onChangeMarkerRestored','contentInitial','setAvailableChecks','showReviewCheckList','changeMarkerHovered','markChangeAsRejected','contentNew','_initRequiredPlugins','init','_onDeactivateChange','getCheckById','isChangeActive','data','reviewCheckResultAdded','length','_getChecksList','changeMarkerRemoved','AIConnector','content','finishReview','addResultChanges','checks','closest','ready','source','_onActivateChange','ck-ai-translate-mode-content','_getChangeContentElement','ai-review-mode-models-unable-to-retrieve','getReviewCheckList','switchToEdit','_aiReviewCoreUi','showChunkErrorView','1064JhWsOf','88TUQWkH','447820bGxQUW','stopListening','locale','showGeneralResultsErrorView','markChangeAsPending','_onChangeMarkerClicked','plugins','start','2336OpPeKA','_aiConnector','startsWith','currentError','reviewCheckResultActivated','ai-review-mode-source-check-not-found','clearAllMarkers','_onReviewCheckResultActivated','abortReviewStream','updateDocumentData','removeClass','document','editing','leaveReviewCoreResultList','reviewCheckResultChangeStatusUpdated','60192PCJegN','switchToReadOnly','307YbgyFX'];_0x2831=function(){return _0x83c7ae;};return _0x2831();}import{ContextPlugin as _0x3c4c87}from'ckeditor5/src/core.js';function _0x39eb(_0x156e0a,_0x1d273f){const _0x283143=_0x2831();return _0x39eb=function(_0x39ebe7,_0x2e3f4b){_0x39ebe7=_0x39ebe7-0x89;let _0x1b0147=_0x283143[_0x39ebe7];return _0x1b0147;},_0x39eb(_0x156e0a,_0x1d273f);}import{CKEditorError as _0x1e421d,logError as _0x20e0c0,scrollAncestorsToShowTarget as _0x3b4990,scrollViewportToShowTarget as _0x16ddb1}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x34685c}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x29f7e5}from'../aicore/utils/common-translations.js';import{AIConnector as _0x50aa77}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x3c4c87{[_0x2bfda3(0x110)];[_0x2bfda3(0x103)];[_0x2bfda3(0xc7)];[_0x2bfda3(0xaf)];[_0x2bfda3(0x123)];[_0x2bfda3(0x96)]=null;static get[_0x2bfda3(0xc5)](){return[_0x50aa77];}static get[_0x2bfda3(0xbf)](){return!0x0;}static get[_0x2bfda3(0xb7)](){return!0x0;}async[_0x2bfda3(0xec)](){const _0xf35a5d=_0x2bfda3;this[_0xf35a5d(0xeb)](),this[_0xf35a5d(0xaf)]=await this[_0xf35a5d(0xf3)](),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x101),()=>{const _0x235a83=_0xf35a5d;this[_0x235a83(0x103)][_0x235a83(0xe6)](this[_0x235a83(0xaf)][_0x235a83(0xf9)]);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x90),async(_0x2eb1be,_0x22efa6)=>{const _0x3ad3c0=_0xf35a5d,_0x19b3e6=this[_0x3ad3c0(0xaf)][_0x3ad3c0(0xee)](_0x22efa6['id']);if(_0x19b3e6){this[_0x3ad3c0(0xb1)](_0x22efa6),this[_0x3ad3c0(0xc7)][_0x3ad3c0(0x11f)](),this[_0x3ad3c0(0x123)]=this[_0x3ad3c0(0xb6)](_0x22efa6,_0x19b3e6),this[_0x3ad3c0(0x103)][_0x3ad3c0(0xd9)](this[_0x3ad3c0(0x123)][_0x3ad3c0(0xb4)],this[_0x3ad3c0(0x123)][_0x3ad3c0(0xa2)]),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0xd7),(_0x2c6649,_0x541eaa)=>{const _0x1b9e96=_0x3ad3c0;switch(_0x541eaa[_0x1b9e96(0x8e)]){case _0x1b9e96(0xf0):case _0x1b9e96(0xab):this[_0x1b9e96(0x103)][_0x1b9e96(0xce)](_0x541eaa);break;case _0x1b9e96(0x99):this[_0x1b9e96(0x125)]();break;case _0x1b9e96(0xfb):this[_0x1b9e96(0x103)][_0x1b9e96(0xcb)]();break;case _0x1b9e96(0xe1):this[_0x1b9e96(0x103)][_0x1b9e96(0x94)]();break;case _0x1b9e96(0x8a):this[_0x1b9e96(0x103)][_0x1b9e96(0x10a)](),this[_0x1b9e96(0xcd)](new _0x1e421d(_0x1b9e96(0xdb),this,void 0x0,this[_0x1b9e96(0x123)]?.[_0x1b9e96(0x112)]));break;case _0x1b9e96(0x9a):this[_0x1b9e96(0x103)][_0x1b9e96(0x104)](),this[_0x1b9e96(0xcd)](new _0x1e421d(_0x1b9e96(0xb9),this,void 0x0,this[_0x1b9e96(0x123)]?.[_0x1b9e96(0x112)]));break;case _0x1b9e96(0x121):this[_0x1b9e96(0x123)]&&this[_0x1b9e96(0x123)][_0x1b9e96(0xbb)]>0x0?setTimeout(()=>{const _0xc7a91f=_0x1b9e96;this[_0xc7a91f(0x123)]?.[_0xc7a91f(0xca)]();},0x0):this[_0x1b9e96(0xb2)](!0x0);}_0x1b9e96(0xfb)!==_0x541eaa[_0x1b9e96(0x8e)]&&_0x1b9e96(0x9a)!==_0x541eaa[_0x1b9e96(0x8e)]&&_0x1b9e96(0x8a)!==_0x541eaa[_0x1b9e96(0x8e)]||this[_0x1b9e96(0x123)]?.[_0x1b9e96(0xc1)]();}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0xf1),(_0x22a06f,_0x224f4f)=>{const _0xf150ee=_0x3ad3c0;if(!this[_0xf150ee(0x123)])throw new _0x1e421d(_0xf150ee(0x122),this);const _0x49c120=this[_0xf150ee(0x9e)](_0x224f4f[_0xf150ee(0xcc)][_0xf150ee(0xe5)],_0x224f4f[_0xf150ee(0xcc)][_0xf150ee(0xea)]);_0x224f4f[_0xf150ee(0xfc)][_0xf150ee(0xf8)](_0x224f4f[_0xf150ee(0xcc)]['id'],_0x49c120);}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0xde),(_0x19f2d3,_0x52123c)=>{const _0x1ee168=_0x3ad3c0;for(const _0x1fb58c of _0x52123c[_0x1ee168(0xe3)])this[_0x1ee168(0x103)][_0x1ee168(0xa8)](_0x1fb58c);this[_0x1ee168(0x9f)](_0x52123c[_0x1ee168(0xe3)],_0x52123c[_0x1ee168(0xfc)][_0x1ee168(0xda)]);}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0x11d),(_0x270c5b,_0x2ef6f3)=>{const _0x3df94e=_0x3ad3c0;this[_0x3df94e(0x103)][_0x3df94e(0xd8)](_0x2ef6f3[_0x3df94e(0xc8)]['id'],_0x2ef6f3[_0x3df94e(0x8e)]);}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0x113),(_0x348d53,_0x311ff1)=>{const _0x560c2f=_0x3ad3c0;this[_0x560c2f(0x116)](_0x311ff1);}),this[_0x3ad3c0(0x123)]['on'](_0x3ad3c0(0x126),()=>{const _0x3f438a=_0x3ad3c0;this[_0x3f438a(0xad)]();});try{await this[_0x3ad3c0(0x123)][_0x3ad3c0(0x10e)]();}catch(_0x2073fb){_0x2073fb instanceof Error&&_0x2073fb[_0x3ad3c0(0xa4)][_0x3ad3c0(0xa3)](_0x3ad3c0(0xbe))||(_0x2073fb instanceof _0x1e421d?this[_0x3ad3c0(0xcd)](_0x2073fb):this[_0x3ad3c0(0xcd)](new _0x1e421d(_0x3ad3c0(0x9c),this,void 0x0,_0x2073fb)));}}else this[_0x3ad3c0(0xcd)](new _0x1e421d(_0x3ad3c0(0x114),this,{'checkId':_0x22efa6['id']}));}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x93),()=>{const _0x1a7faf=_0xf35a5d;this[_0x1a7faf(0xb2)]();}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x11c),()=>{const _0x30add1=_0xf35a5d;this[_0x30add1(0xb2)](!0x0);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x117),()=>{const _0x57367c=_0xf35a5d;this[_0x57367c(0x123)]&&this[_0x57367c(0x123)][_0x57367c(0xa9)]();}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xf7),()=>{const _0xd7c153=_0xf35a5d;this[_0xd7c153(0xb2)](!0x0);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xd1),()=>{const _0x304ac9=_0xf35a5d;if(!this[_0x304ac9(0x123)])return;const _0x1b36d9=this[_0x304ac9(0x123)][_0x304ac9(0xac)]();if(!_0x1b36d9[_0x304ac9(0xf2)])return;this[_0x304ac9(0xc7)][_0x304ac9(0xd0)](_0x1b36d9[_0x304ac9(0x95)](_0x583e74=>_0x583e74['id']));const _0x5ceaa4=this[_0x304ac9(0x123)];_0x5ceaa4[_0x304ac9(0xc4)](),_0x5ceaa4[_0x304ac9(0xc1)]();}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xaa),(_0x5020bd,_0x594a46)=>{const _0x5d952c=_0xf35a5d;this[_0x5d952c(0x123)]&&this[_0x5d952c(0x123)][_0x5d952c(0xef)](_0x594a46['id'])&&(this[_0x5d952c(0xc7)][_0x5d952c(0xd0)]([_0x594a46['id']]),this[_0x5d952c(0x123)][_0x5d952c(0xb0)](_0x594a46['id']),this[_0x5d952c(0x103)][_0x5d952c(0x98)](),this[_0x5d952c(0x123)][_0x5d952c(0xc1)](_0x594a46['id']));}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xdc),(_0x462462,_0x26da2f)=>{const _0x2b4377=_0xf35a5d;this[_0x2b4377(0x123)]&&this[_0x2b4377(0x123)][_0x2b4377(0xef)](_0x26da2f['id'])&&(this[_0x2b4377(0xc7)][_0x2b4377(0x8f)](_0x26da2f['id']),this[_0x2b4377(0x123)][_0x2b4377(0xe9)](_0x26da2f['id']),this[_0x2b4377(0x103)][_0x2b4377(0x98)](),this[_0x2b4377(0x123)][_0x2b4377(0xc1)](_0x26da2f['id']));}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xbc),async()=>{const _0x181c12=_0xf35a5d;this[_0x181c12(0x123)]&&(this[_0x181c12(0xc7)][_0x181c12(0x115)](),this[_0x181c12(0x123)][_0x181c12(0x118)](this[_0x181c12(0xc7)][_0x181c12(0x91)]()),await this[_0x181c12(0x123)][_0x181c12(0xc6)]());}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0xa7),(_0x336c02,_0x2a5921)=>{const _0xac18fb=_0xf35a5d;this[_0xac18fb(0xfd)](_0x2a5921);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0x103)],_0xf35a5d(0x8b),(_0x1f2c06,_0x1c49cf)=>{const _0x5b071b=_0xf35a5d;this[_0x5b071b(0xed)](_0x1c49cf);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0x9b),(_0x4f930e,_0x3b3cd2)=>{const _0x35a27a=_0xf35a5d;this[_0x35a27a(0x10c)](_0x4f930e,_0x3b3cd2);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0xe8),(_0x5b338e,_0xdfe14d)=>{const _0x18adba=_0xf35a5d;this[_0x18adba(0xa0)](_0x5b338e,_0xdfe14d);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0xd3),()=>{const _0x313cdb=_0xf35a5d;this[_0x313cdb(0xc0)]();}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0xf4),(_0xfe00d7,_0x482bcc)=>{const _0x4e1340=_0xf35a5d;this[_0x4e1340(0xa5)](_0xfe00d7,_0x482bcc);}),this[_0xf35a5d(0x8d)](this[_0xf35a5d(0xc7)][_0xf35a5d(0xc2)],_0xf35a5d(0xb8),(_0x598ebd,_0x4c7aca)=>{const _0x224963=_0xf35a5d;this[_0x224963(0xe4)](_0x598ebd,_0x4c7aca);});}[_0x2bfda3(0xb6)](_0x1f72fe,_0x4a4d67){const _0xa9df6d=_0x2bfda3;return new _0x34685c(this[_0xa9df6d(0xc7)][_0xa9df6d(0x91)](),_0x4a4d67,this[_0xa9df6d(0x110)],_0x1f72fe[_0xa9df6d(0x9d)],_0x1f72fe[_0xa9df6d(0x8c)]);}[_0x2bfda3(0xa5)](_0xdde4e2,_0x51a480){const _0xa3a34e=_0x2bfda3;this[_0xa3a34e(0x123)]&&this[_0xa3a34e(0x123)][_0xa3a34e(0xba)](_0x51a480[_0xa3a34e(0xe0)]);}[_0x2bfda3(0xe4)](_0x24f646,_0x664207){const _0x23dac8=_0x2bfda3;this[_0x23dac8(0x123)]&&this[_0x23dac8(0x123)][_0x23dac8(0x10b)](_0x664207[_0x23dac8(0xe0)]);}[_0x2bfda3(0x125)](){const _0x242415=_0x2bfda3;this[_0x242415(0x103)][_0x242415(0x124)]();}[_0x2bfda3(0xeb)](){const _0x1eb4f3=_0x2bfda3;this[_0x1eb4f3(0x110)]=this[_0x1eb4f3(0xb5)][_0x1eb4f3(0x10d)][_0x1eb4f3(0xae)](_0x1eb4f3(0xf5));}[_0x2bfda3(0xb2)](_0x55a370=!0x1){const _0x23153a=_0x2bfda3;this[_0x23153a(0x123)]&&(this[_0x23153a(0x123)][_0x23153a(0xa1)]||this[_0x23153a(0x123)][_0x23153a(0xc1)](),this[_0x23153a(0x123)][_0x23153a(0x108)](),this[_0x23153a(0x123)][_0x23153a(0xa9)](),this[_0x23153a(0x123)]=void 0x0),_0x55a370&&this[_0x23153a(0x103)][_0x23153a(0xe7)](),this[_0x23153a(0xc7)][_0x23153a(0x115)](),this[_0x23153a(0xc7)][_0x23153a(0x102)](),this[_0x23153a(0x96)]=null;const _0x589632=this[_0x23153a(0xc7)][_0x23153a(0x89)]();_0x589632&&_0x589632[_0x23153a(0x11b)][_0x23153a(0xcf)][_0x23153a(0xc8)](_0x3c4330=>{const _0x1c7935=_0x23153a,_0x4f1c92=_0x589632[_0x1c7935(0x11b)][_0x1c7935(0xcf)][_0x1c7935(0x11a)][_0x1c7935(0xd6)]();_0x3c4330[_0x1c7935(0x119)](_0x1c7935(0xbd),_0x4f1c92),_0x3c4330[_0x1c7935(0x119)](_0x1c7935(0xdf),_0x4f1c92),_0x3c4330[_0x1c7935(0x119)](_0x1c7935(0xfe),_0x4f1c92);});}[_0x2bfda3(0xe2)](_0x14cc2b,_0x5476f4){const _0x2b5305=_0x2bfda3,_0x4ec374=this[_0x2b5305(0xb5)][_0x2b5305(0x109)],_0x583509=_0x29f7e5(_0x4ec374,_0x14cc2b);return _0x583509===_0x14cc2b?_0x5476f4:_0x583509;}[_0x2bfda3(0xcd)](_0x384a1e,_0x3228a7=!0x1){const _0x15090b=_0x2bfda3;_0x20e0c0(_0x384a1e[_0x15090b(0xa4)]),_0x3228a7||(_0x384a1e[_0x15090b(0xa4)][_0x15090b(0x111)](_0x15090b(0x100))?this[_0x15090b(0x103)][_0x15090b(0xa6)]():this[_0x15090b(0x103)][_0x15090b(0x10a)]());}[_0x2bfda3(0xc9)](_0x2135bb){const _0x294afa=_0x2bfda3;if(_0x294afa(0xf6)===this[_0x294afa(0x96)]){const _0x357aa7=this[_0x294afa(0x103)][_0x294afa(0x92)](_0x2135bb);_0x357aa7&&_0x3b4990(_0x357aa7[_0x294afa(0xfa)](_0x294afa(0xd2))||_0x357aa7);}else{if(_0x294afa(0xdd)===this[_0x294afa(0x96)]){const _0x490a5e=this[_0x294afa(0xff)](_0x2135bb);if(!_0x490a5e)return;_0x16ddb1({'target':_0x490a5e,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
23
|
+
function _0x3251(_0x4849d4,_0x50d8eb){const _0x7ea542=_0x7ea5();return _0x3251=function(_0x32514a,_0x10ffd8){_0x32514a=_0x32514a-0x141;let _0x478152=_0x7ea542[_0x32514a];return _0x478152;},_0x3251(_0x4849d4,_0x50d8eb);}const _0x5256db=_0x3251;(function(_0x5f339c,_0x4d9cd4){const _0x1f8701=_0x3251,_0x57e9dc=_0x5f339c();while(!![]){try{const _0x33e58e=parseInt(_0x1f8701(0x15c))/0x1*(-parseInt(_0x1f8701(0x1c7))/0x2)+-parseInt(_0x1f8701(0x17b))/0x3+parseInt(_0x1f8701(0x183))/0x4*(-parseInt(_0x1f8701(0x14a))/0x5)+-parseInt(_0x1f8701(0x17d))/0x6+-parseInt(_0x1f8701(0x1dd))/0x7+-parseInt(_0x1f8701(0x151))/0x8*(-parseInt(_0x1f8701(0x1a2))/0x9)+parseInt(_0x1f8701(0x153))/0xa;if(_0x33e58e===_0x4d9cd4)break;else _0x57e9dc['push'](_0x57e9dc['shift']());}catch(_0x47c40f){_0x57e9dc['push'](_0x57e9dc['shift']());}}}(_0x7ea5,0xd375f));import{ContextPlugin as _0x55517c}from'ckeditor5/src/core.js';import{CKEditorError as _0xe6d020,logError as _0x47728d,scrollAncestorsToShowTarget as _0x115a0e,scrollViewportToShowTarget as _0x534f26}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x24f8b5}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0xc511e1}from'../aicore/utils/common-translations.js';function _0x7ea5(){const _0x355f3f=['locale','listenTo','aborted','getRoot','retryReview','panel','contentInitial','AIConnector','90bPSRXX','error-general','_diffContent','_markChangePositionInEditorContent','isOfficialPlugin','_onDeactivateChange','ck-ai_review-highlights','source','changeMarkerRestored','document','showCheckRunResult','init','addResultChanges','switchToEdit','markChangeAsAccepted','leaveReview','reviewCheckResultReady','changes','editing','changeMarkerClicked','_onChangeMarkerRemoved','changeMarkerHovered','_scrollToChange','removeClass','ready','markChangeAsRejected','emitter','ai-review-mode-source-check-not-found','subTitle','showReviewCompletedView','deactivateChange','map','ck-ai_review-diff','contentNew','dismissChange','rejectChange','_currentReviewCheckRun','545198YLpNRf','_logError','content','hasModifications','loading','changeMarkerBlurred','acceptAllChanges','reviewCheckResultDeactivated','result','showCheckRunResults','forceReadyState','acceptChange','clearAllMarkers','documentData','_changeActivationSource','abortReviewStream','leaveReviewCoreResultList','markChangeAsOutdated','showReviewCheckList','getChangeElement','getCheckById','_onCheckRunFinished','10184902eSrnzc','changeMarkerRemoved','closest','sendRating','isPremiumPlugin','ck-ai-translate-mode-content','getEditor','showActionsWhenResultIsReady','showChunkErrorView','_createReviewCheckRun','30RuZlbN','params','get','startsWith','showNoChangesView','getReviewCheckList','activateChange','636488IEkHCm','markAllChangesAsAccepted','34191960mbjkCV','stopListening','status','ai-request-aborted','args','message','processedResultsCount','change','_aiReviewCoreUi','2SXKQjk','plugins','checks','reviewCheckRunUpdated','_getChangeContentElement','applyChange','includes','start','isChangeActive','hideChangeBalloon','setAvailableChecks','_onReviewCheckResultActivated','reviewCheckResultActivated','_onChangeMarkerHovered','restart','error-chunk','_getChecksList','reviewCheckResultAdded','_aiReviewCheckList','_onChangeMarkerClicked','length','showGeneralResultsErrorView','finished','markChangeAsPending','_onReviewRunLeave','requires','getDocumentData','runReviewCheck','changeId','reviewCheckResultChangeStatusUpdated','ai-review-mode-models-unable-to-retrieve','165258XbiKJu','_onActivateChange','2450106mrwgDy','setCheckResultTitle','_onChangeMarkerBlurred','showGeneralReviewCoreErrorView','data','ai-review-mode-check-run-general-error','590028XDnNea','ai-review-mode-no-current-check-run','currentError','switchToReadOnly','updateDocumentData','title','updateChangeState','abort','_onChangeMarkerRestored','_getTranslationWithDefault','context','ai-review-mode-check-run-chunk-error','_onReviewCheckRun','_aiConnector','getActiveChanges','view','_initRequiredPlugins','_onReviewCheckResultDeactivated','unmodified','ai-review-mode-check-run-failed','.ck-ai_review__check-run-result','finishReview','_aiReviewCoreEditing'];_0x7ea5=function(){return _0x355f3f;};return _0x7ea5();}import{AIConnector as _0x3a2a54}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x55517c{[_0x5256db(0x190)];[_0x5256db(0x15b)];[_0x5256db(0x199)];[_0x5256db(0x16e)];[_0x5256db(0x1c6)];[_0x5256db(0x1d5)]=null;static get[_0x5256db(0x175)](){return[_0x3a2a54];}static get[_0x5256db(0x1a6)](){return!0x0;}static get[_0x5256db(0x144)](){return!0x0;}async[_0x5256db(0x1ad)](){const _0x344080=_0x5256db;this[_0x344080(0x193)](),this[_0x344080(0x16e)]=await this[_0x344080(0x16c)](),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x14f),()=>{const _0x501429=_0x344080;this[_0x501429(0x15b)][_0x501429(0x166)](this[_0x501429(0x16e)][_0x501429(0x15e)]);}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x177),async(_0xa643d0,_0x3308ca)=>{const _0x5ac3a0=_0x344080,_0x21d6b1=this[_0x5ac3a0(0x16e)][_0x5ac3a0(0x1db)](_0x3308ca['id']);if(_0x21d6b1){this[_0x5ac3a0(0x18f)](_0x3308ca),this[_0x5ac3a0(0x199)][_0x5ac3a0(0x186)](),this[_0x5ac3a0(0x1c6)]=this[_0x5ac3a0(0x149)](_0x3308ca,_0x21d6b1),this[_0x5ac3a0(0x15b)][_0x5ac3a0(0x17e)](this[_0x5ac3a0(0x1c6)][_0x5ac3a0(0x188)],this[_0x5ac3a0(0x1c6)][_0x5ac3a0(0x1be)]),this[_0x5ac3a0(0x1c6)]['on'](_0x5ac3a0(0x15f),(_0x3dce6f,_0x42ba04)=>{const _0x385629=_0x5ac3a0;switch(_0x42ba04[_0x385629(0x155)]){case _0x385629(0x181):case _0x385629(0x1cb):this[_0x385629(0x15b)][_0x385629(0x1d0)](_0x42ba04);break;case _0x385629(0x172):this[_0x385629(0x1dc)]();break;case _0x385629(0x1ba):this[_0x385629(0x15b)][_0x385629(0x147)]();break;case _0x385629(0x195):this[_0x385629(0x15b)][_0x385629(0x14e)]();break;case _0x385629(0x1a3):this[_0x385629(0x15b)][_0x385629(0x171)](),this[_0x385629(0x1c8)](new _0xe6d020(_0x385629(0x182),this,void 0x0,this[_0x385629(0x1c6)]?.[_0x385629(0x185)]));break;case _0x385629(0x16b):this[_0x385629(0x15b)][_0x385629(0x148)](),this[_0x385629(0x1c8)](new _0xe6d020(_0x385629(0x18e),this,void 0x0,this[_0x385629(0x1c6)]?.[_0x385629(0x185)]));break;case _0x385629(0x19c):this[_0x385629(0x1c6)]&&this[_0x385629(0x1c6)][_0x385629(0x159)]>0x0?setTimeout(()=>{const _0x57c39e=_0x385629;this[_0x57c39e(0x1c6)]?.[_0x57c39e(0x1d1)]();},0x0):this[_0x385629(0x174)](!0x0);}_0x385629(0x1ba)!==_0x42ba04[_0x385629(0x155)]&&_0x385629(0x16b)!==_0x42ba04[_0x385629(0x155)]&&_0x385629(0x1a3)!==_0x42ba04[_0x385629(0x155)]||this[_0x385629(0x1c6)]?.[_0x385629(0x143)]();}),this[_0x5ac3a0(0x1c6)]['on'](_0x5ac3a0(0x16d),(_0x470a4c,_0x16a1fd)=>{const _0x4910a1=_0x5ac3a0;if(!this[_0x4910a1(0x1c6)])throw new _0xe6d020(_0x4910a1(0x184),this);const _0x1833ff=this[_0x4910a1(0x1a4)](_0x16a1fd[_0x4910a1(0x1cf)][_0x4910a1(0x1a0)],_0x16a1fd[_0x4910a1(0x1cf)][_0x4910a1(0x1c3)]);_0x16a1fd[_0x4910a1(0x1a9)][_0x4910a1(0x1ae)](_0x16a1fd[_0x4910a1(0x1cf)]['id'],_0x1833ff);}),this[_0x5ac3a0(0x1c6)]['on'](_0x5ac3a0(0x1b2),(_0x227ee5,_0x4ddcbe)=>{const _0x51f2bf=_0x5ac3a0;for(const _0x2f4a1a of _0x4ddcbe[_0x51f2bf(0x1b3)])this[_0x51f2bf(0x15b)][_0x51f2bf(0x1ac)](_0x2f4a1a);this[_0x51f2bf(0x1a5)](_0x4ddcbe[_0x51f2bf(0x1b3)],_0x4ddcbe[_0x51f2bf(0x1a9)][_0x51f2bf(0x1d4)]);}),this[_0x5ac3a0(0x1c6)]['on'](_0x5ac3a0(0x179),(_0x1d38a9,_0x194a8e)=>{const _0x3b8239=_0x5ac3a0;this[_0x3b8239(0x15b)][_0x3b8239(0x189)](_0x194a8e[_0x3b8239(0x15a)]['id'],_0x194a8e[_0x3b8239(0x155)]);}),this[_0x5ac3a0(0x1c6)]['on'](_0x5ac3a0(0x168),(_0x1b9bf2,_0x4a249a)=>{const _0xfb5bf3=_0x5ac3a0;this[_0xfb5bf3(0x167)](_0x4a249a);}),this[_0x5ac3a0(0x1c6)]['on'](_0x5ac3a0(0x1ce),()=>{const _0x3e8331=_0x5ac3a0;this[_0x3e8331(0x194)]();});try{await this[_0x5ac3a0(0x1c6)][_0x5ac3a0(0x163)]();}catch(_0x4bf847){_0x4bf847 instanceof Error&&_0x4bf847[_0x5ac3a0(0x158)][_0x5ac3a0(0x162)](_0x5ac3a0(0x156))||(_0x4bf847 instanceof _0xe6d020?this[_0x5ac3a0(0x1c8)](_0x4bf847):this[_0x5ac3a0(0x1c8)](new _0xe6d020(_0x5ac3a0(0x196),this,void 0x0,_0x4bf847)));}}else this[_0x5ac3a0(0x1c8)](new _0xe6d020(_0x5ac3a0(0x1bd),this,{'checkId':_0x3308ca['id']}));}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x1b1),()=>{const _0x168004=_0x344080;this[_0x168004(0x174)]();}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x1d7),()=>{const _0x473774=_0x344080;this[_0x473774(0x174)](!0x0);}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x1d6),()=>{const _0x38e311=_0x344080;this[_0x38e311(0x1c6)]&&this[_0x38e311(0x1c6)][_0x38e311(0x18a)]();}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x198),()=>{const _0x5c38d7=_0x344080;this[_0x5c38d7(0x174)](!0x0);}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x1cd),()=>{const _0x57f01e=_0x344080;if(!this[_0x57f01e(0x1c6)])return;const _0x16cf6c=this[_0x57f01e(0x1c6)][_0x57f01e(0x191)]();if(!_0x16cf6c[_0x57f01e(0x170)])return;this[_0x57f01e(0x199)][_0x57f01e(0x161)](_0x16cf6c[_0x57f01e(0x1c1)](_0xddf543=>_0xddf543['id']));const _0xb407f8=this[_0x57f01e(0x1c6)];_0xb407f8[_0x57f01e(0x152)](),_0xb407f8[_0x57f01e(0x143)]();}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x1d2),(_0x42d549,_0x238623)=>{const _0x3e739b=_0x344080;this[_0x3e739b(0x1c6)]&&this[_0x3e739b(0x1c6)][_0x3e739b(0x164)](_0x238623['id'])&&(this[_0x3e739b(0x199)][_0x3e739b(0x161)]([_0x238623['id']]),this[_0x3e739b(0x1c6)][_0x3e739b(0x1b0)](_0x238623['id']),this[_0x3e739b(0x15b)][_0x3e739b(0x165)](),this[_0x3e739b(0x1c6)][_0x3e739b(0x143)](_0x238623['id']));}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x1c4),(_0xb00bae,_0xee8a6e)=>{const _0x8a7c0a=_0x344080;this[_0x8a7c0a(0x1c6)]&&this[_0x8a7c0a(0x1c6)][_0x8a7c0a(0x164)](_0xee8a6e['id'])&&(this[_0x8a7c0a(0x199)][_0x8a7c0a(0x1c5)](_0xee8a6e['id']),this[_0x8a7c0a(0x1c6)][_0x8a7c0a(0x1bb)](_0xee8a6e['id']),this[_0x8a7c0a(0x15b)][_0x8a7c0a(0x165)](),this[_0x8a7c0a(0x1c6)][_0x8a7c0a(0x143)](_0xee8a6e['id']));}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x19e),async()=>{const _0x4c5cfc=_0x344080;this[_0x4c5cfc(0x1c6)]&&(this[_0x4c5cfc(0x199)][_0x4c5cfc(0x1d3)](),this[_0x4c5cfc(0x1c6)][_0x4c5cfc(0x187)](this[_0x4c5cfc(0x199)][_0x4c5cfc(0x176)]()),await this[_0x4c5cfc(0x1c6)][_0x4c5cfc(0x16a)]());}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x150),(_0x4130cf,_0x2e6f12)=>{const _0x45f55c=_0x344080;this[_0x45f55c(0x17c)](_0x2e6f12);}),this[_0x344080(0x19b)](this[_0x344080(0x15b)],_0x344080(0x1c0),(_0x3cdfe3,_0x4ce944)=>{const _0x2664d7=_0x344080;this[_0x2664d7(0x1a7)](_0x4ce944);}),this[_0x344080(0x19b)](this[_0x344080(0x199)][_0x344080(0x1bc)],_0x344080(0x1b5),(_0x3b2d1b,_0xaf6b7b)=>{const _0x671550=_0x344080;this[_0x671550(0x16f)](_0x3b2d1b,_0xaf6b7b);}),this[_0x344080(0x19b)](this[_0x344080(0x199)][_0x344080(0x1bc)],_0x344080(0x1b7),(_0x4889ae,_0x2a4fa6)=>{const _0x1b0240=_0x344080;this[_0x1b0240(0x169)](_0x4889ae,_0x2a4fa6);}),this[_0x344080(0x19b)](this[_0x344080(0x199)][_0x344080(0x1bc)],_0x344080(0x1cc),()=>{const _0x27487d=_0x344080;this[_0x27487d(0x17f)]();}),this[_0x344080(0x19b)](this[_0x344080(0x199)][_0x344080(0x1bc)],_0x344080(0x141),(_0x5d2e9c,_0x414c86)=>{const _0x259d20=_0x344080;this[_0x259d20(0x1b6)](_0x5d2e9c,_0x414c86);}),this[_0x344080(0x19b)](this[_0x344080(0x199)][_0x344080(0x1bc)],_0x344080(0x1aa),(_0x457968,_0x5ec1a9)=>{const _0x12d4f6=_0x344080;this[_0x12d4f6(0x18b)](_0x457968,_0x5ec1a9);});}[_0x5256db(0x149)](_0x44b00b,_0x2acdb6){const _0x5edab3=_0x5256db;return new _0x24f8b5(this[_0x5edab3(0x199)][_0x5edab3(0x176)](),_0x2acdb6,this[_0x5edab3(0x190)],_0x44b00b[_0x5edab3(0x14b)],_0x44b00b[_0x5edab3(0x157)]);}[_0x5256db(0x1b6)](_0x161361,_0x3db7b5){const _0x5cf3d6=_0x5256db;this[_0x5cf3d6(0x1c6)]&&this[_0x5cf3d6(0x1c6)][_0x5cf3d6(0x1d8)](_0x3db7b5[_0x5cf3d6(0x178)]);}[_0x5256db(0x18b)](_0x4dc695,_0x5bddcd){const _0x1d2bf8=_0x5256db;this[_0x1d2bf8(0x1c6)]&&this[_0x1d2bf8(0x1c6)][_0x1d2bf8(0x173)](_0x5bddcd[_0x1d2bf8(0x178)]);}[_0x5256db(0x1dc)](){const _0x2f874a=_0x5256db;this[_0x2f874a(0x15b)][_0x2f874a(0x1bf)]();}[_0x5256db(0x193)](){const _0x32d011=_0x5256db;this[_0x32d011(0x190)]=this[_0x32d011(0x18d)][_0x32d011(0x15d)][_0x32d011(0x14c)](_0x32d011(0x1a1));}[_0x5256db(0x174)](_0xa3c1e5=!0x1){const _0x36bf25=_0x5256db;this[_0x36bf25(0x1c6)]&&(this[_0x36bf25(0x1c6)][_0x36bf25(0x1ca)]||this[_0x36bf25(0x1c6)][_0x36bf25(0x143)](),this[_0x36bf25(0x1c6)][_0x36bf25(0x154)](),this[_0x36bf25(0x1c6)][_0x36bf25(0x18a)](),this[_0x36bf25(0x1c6)]=void 0x0),_0xa3c1e5&&this[_0x36bf25(0x15b)][_0x36bf25(0x1d9)](),this[_0x36bf25(0x199)][_0x36bf25(0x1d3)](),this[_0x36bf25(0x199)][_0x36bf25(0x1af)](),this[_0x36bf25(0x1d5)]=null;const _0x26ce38=this[_0x36bf25(0x199)][_0x36bf25(0x146)]();_0x26ce38&&_0x26ce38[_0x36bf25(0x1b4)][_0x36bf25(0x192)][_0x36bf25(0x15a)](_0x4783ef=>{const _0x1e5599=_0x36bf25,_0x78e6c2=_0x26ce38[_0x1e5599(0x1b4)][_0x1e5599(0x192)][_0x1e5599(0x1ab)][_0x1e5599(0x19d)]();_0x4783ef[_0x1e5599(0x1b9)](_0x1e5599(0x1c2),_0x78e6c2),_0x4783ef[_0x1e5599(0x1b9)](_0x1e5599(0x1a8),_0x78e6c2),_0x4783ef[_0x1e5599(0x1b9)](_0x1e5599(0x145),_0x78e6c2);});}[_0x5256db(0x18c)](_0x5ce734,_0x5243b6){const _0x4b283a=_0x5256db,_0x145167=this[_0x4b283a(0x18d)][_0x4b283a(0x19a)],_0xec8d43=_0xc511e1(_0x145167,_0x5ce734);return _0xec8d43===_0x5ce734?_0x5243b6:_0xec8d43;}[_0x5256db(0x1c8)](_0x5b1546,_0x4f81e7=!0x1){const _0x285d7b=_0x5256db;_0x47728d(_0x5b1546[_0x285d7b(0x158)]),_0x4f81e7||(_0x5b1546[_0x285d7b(0x158)][_0x285d7b(0x14d)](_0x285d7b(0x17a))?this[_0x285d7b(0x15b)][_0x285d7b(0x180)]():this[_0x285d7b(0x15b)][_0x285d7b(0x171)]());}[_0x5256db(0x1b8)](_0x2a7c80){const _0x3e97c1=_0x5256db;if(_0x3e97c1(0x1c9)===this[_0x3e97c1(0x1d5)]){const _0x3cfb5f=this[_0x3e97c1(0x15b)][_0x3e97c1(0x1da)](_0x2a7c80);_0x3cfb5f&&_0x115a0e(_0x3cfb5f[_0x3e97c1(0x142)](_0x3e97c1(0x197))||_0x3cfb5f);}else{if(_0x3e97c1(0x19f)===this[_0x3e97c1(0x1d5)]){const _0x4835c4=this[_0x3e97c1(0x160)](_0x2a7c80);if(!_0x4835c4)return;_0x534f26({'target':_0x4835c4,'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 _0x4be8b8=_0x3c8d;function _0x5979(){const _0x51aa32=['deleteContent','includes','childCount','_changeRange','target','data-marker-id','_createGetContextFn','_findMarkerElement','hasAttribute','ck-ai_review-marker_context-start','backward','applyChange','differ','outside','editing','remove-context','suggestion:insertion:id:authorId:','_getMarkersDataForGroup','createDocumentFragment','removeMarker','createSelection','getDocumentData','$graveyard','view','createPositionAfter','clone','content','size','AIReviewCoreEditing','\x20ck-ai_review__change_active','isOfficialPlugin','diffContent','setAllMarkersAsInactive','hasClass','parse','operationsA','viewToDom','document','_haveOnlyInlineContent','createRangeOn','getRoot','1108446fnbddh','_createGetContentUsingDataIdFn','containerElement','path','ck-ai_review-marker_strikethrough','_removeAttribute','.ck-reset.ck-ai_review-balloon-panel-suggestion','elements','className','getDiff','type','offset','getEditor','_clone','[data-marker-id=\x22','getContentElementForChange','changeMarkerHovered','dataDowncast','parentElement','operationsIsolated','remove-only','getAttribute','AIEditing','reactivateMarkers','position','model','changeMarkerClicked','history','toData','toView','getChangedMarkers','ck-ai_review-marker_hide','$markedRemove','_changeRangeOwnerDocument','has','from','version','_removeChildren','switchToEdit','domConverter','_translateOperationToEditorContent','22671gZiDNC','_handleMarkerChanges','offsetSize','getPath','changeMarkerBlurred','$markedRemove:synthetic','changeMarkerRemoved','remove','_sortMarkers','add','getChildren','ellipsisBefore','schema','newRange','getChild','attributeToAttribute','ck-ai_review-marker_underline','marker','reconvertMarker','documentFragment','push','getRoots','2aewMnp','suggestion-context','ai-review','isIntersecting','isPremiumPlugin','368VUweqU','DocumentCompare','length','rootName','enableReadOnlyMode','set','isAtStart','_getPositionLimitingRange','start','ellipsisAfter','isDocumentOperation','hasContentBefore','asFragment','context','requires','parent','oldRange','relatedTarget','getEditableElement','forEach','root','filter','emitter','data','_getChangeContext','getStart','getChanges','append','for','$documentFragment','_insertMarkers','toDomElement','isBlock','_shiftOperation','_createGetContentFn','listenTo','join','split','No\x20element\x20found\x20for\x20ID:\x20','end','htmlWriter','_domEmitter','isAtEnd','isOpening','insertContent','flat','clearAllMarkers','innerHTML','ck-ai_review-marker_context-end','createPositionAt','setMarkersInElementAsActive','insert','141228dNFcsl','body','_getOperationEnd','_hasSameTopLevelElement','markerName','jumpTo','affectsData','every','rejectChange','review-','mouseover','mouseup','pluginName','56QdcOJx','batch','pop','createRangeIn','downcast','exec','27966IDFbqD','getShiftedBy','htmlProcessor','querySelector','_changePositionOwnerDocument','addOperation','change','getOperations','[data-id=\x22','applyOperation','suggestion:deletion:id:authorId:','markerToHighlight','fire','conversion','groupId','createUIElement','_nextDataId','highest','getMarkerElementForChange','delete','containsRange','sort','$root','name','_getOperationStart','warn','_groupAdjacentOperations','remove-text','_setAttribute','asString','stringify','keys','ck-ai_review-marker_','133520DWnhDL','ck-ai_review-marker_context-','element','processor','862280ofnoFu','changeMarkerRestored','isInline','get','_validateMarkers','_changeOperationOwnerDocument','_parseMarkerName','values','getDomRoot','nodes','inside','afterInit','$textProxy','switchToReadOnly','closest','getRange','markChangePositionInEditorContent','markerToElement','_activeMarkers','_markers','_upsertDataId','_changePosition','span','isTouching','_appendChild','ck-ai_review-marker_add','map','createRawElement','registerPostFixer','startsWith','addMarker','operations','index','plugins','markers','ck-ai_review__change_active','forward','disableReadOnlyMode','baseVersion','_eventEmitter','clear','getHtml','isLimit','concat','_findAdjacentContextDistance','createRange','_haveSingleTopLevelElement','_findMarkerElementById','howMany','hasContentAfter','outerHTML','editingDowncast'];_0x5979=function(){return _0x51aa32;};return _0x5979();}(function(_0x51295d,_0x522f7f){const _0x1a06f6=_0x3c8d,_0x13caa9=_0x51295d();while(!![]){try{const _0x6f3b38=-parseInt(_0x1a06f6(0x280))/0x1*(-parseInt(_0x1a06f6(0x234))/0x2)+-parseInt(_0x1a06f6(0x26d))/0x3+parseInt(_0x1a06f6(0x239))/0x4+-parseInt(_0x1a06f6(0x198))/0x5+parseInt(_0x1a06f6(0x1f5))/0x6+-parseInt(_0x1a06f6(0x27a))/0x7*(-parseInt(_0x1a06f6(0x194))/0x8)+parseInt(_0x1a06f6(0x21e))/0x9;if(_0x6f3b38===_0x522f7f)break;else _0x13caa9['push'](_0x13caa9['shift']());}catch(_0x27ed4e){_0x13caa9['push'](_0x13caa9['shift']());}}}(_0x5979,0x1f91a));import{InsertOperation as _0x5e2a10,MarkerOperation as _0x1085bf,ModelDocumentFragment as _0xb3fca0,ModelPosition as _0x563f6e,ModelRange as _0x16d84a,ModelTreeWalker as _0xd0d51e,transformOperationSets as _0x6ce8be}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2d8d54,EmitterMixin as _0x3a97d8,uid as _0x300e90}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5800aa}from'ckeditor5/src/core.js';import{DocumentCompare as _0x33678a,DATA_ID_MODEL_ATTRIBUTE as _0x539ba8,DATA_ID_VIEW_ATTRIBUTE as _0x171e0f,getMarkerDomElement as _0x339c2f}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x1821c6}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x43a540}from'../aicore/aiediting.js';function _0x3c8d(_0x34e071,_0x251ad2){const _0x597990=_0x5979();return _0x3c8d=function(_0x3c8d5e,_0x4bb6d9){_0x3c8d5e=_0x3c8d5e-0x186;let _0x19805c=_0x597990[_0x3c8d5e];return _0x19805c;},_0x3c8d(_0x34e071,_0x251ad2);}import{debounce as _0x439db5}from'es-toolkit/compat';const fe=_0x4be8b8(0x276);export class AIReviewCoreEditing extends _0x5800aa{static get[_0x4be8b8(0x247)](){return[_0x33678a,_0x43a540];}static get[_0x4be8b8(0x279)](){const _0x4e38b2=_0x4be8b8;return _0x4e38b2(0x1e8);}static get[_0x4be8b8(0x1ea)](){return!0x0;}static get[_0x4be8b8(0x238)](){return!0x0;}[_0x4be8b8(0x1ab)]=new Map();[_0x4be8b8(0x1aa)]=new Set();[_0x4be8b8(0x262)];[_0x4be8b8(0x1bf)];constructor(_0x34a85c){const _0x3fc173=_0x4be8b8;super(_0x34a85c),this[_0x3fc173(0x262)]=new(_0x2d8d54())(),this[_0x3fc173(0x1bf)]=new(_0x3a97d8())();}get[_0x4be8b8(0x24f)](){const _0x42d57a=_0x4be8b8;return this[_0x42d57a(0x1bf)];}[_0x4be8b8(0x1a3)](){const _0x4a66c0=_0x4be8b8,_0x483f48=_0x1821c6(this[_0x4a66c0(0x246)]);_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x1cb))[_0x4a66c0(0x1a9)]({'model':fe+_0x4a66c0(0x26c),'view':(_0x3632d1,{writer:_0xbbb666})=>{const _0x4c2959=_0x4a66c0,_0x66317a=this[_0x4c2959(0x1ab)][_0x4c2959(0x19b)](_0x3632d1[_0x4c2959(0x271)]),_0x8db060={'class':_0x4c2959(0x1b1)+(this[_0x4c2959(0x1aa)][_0x4c2959(0x217)](_0x66317a?.['id']||'')?_0x4c2959(0x1e9):''),'data-marker-id':_0x3632d1[_0x4c2959(0x271)]};return _0xbbb666[_0x4c2959(0x28f)](_0x4c2959(0x1ae),_0x8db060,function(_0x2952a0){const _0x4aa5b5=_0x4c2959,_0x5b8365=this[_0x4aa5b5(0x258)](_0x2952a0);return _0x5b8365[_0x4aa5b5(0x268)]=_0x66317a?.[_0x4aa5b5(0x1e6)]?.[_0x4aa5b5(0x190)]||'',_0x5b8365;});}}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x1cb))[_0x4a66c0(0x28b)]({'model':fe+_0x4a66c0(0x209),'view':_0xec2de8=>{const _0x599584=_0x4a66c0,_0x1a057c=this[_0x599584(0x1ab)][_0x599584(0x19b)](_0xec2de8[_0x599584(0x271)]),_0x20f53c=[_0x599584(0x1f9)];return this[_0x599584(0x1aa)][_0x599584(0x217)](_0x1a057c?.['id']||'')&&_0x20f53c[_0x599584(0x232)](_0x599584(0x1bb)),{'classes':_0x20f53c,'attributes':{'data-marker-id':_0xec2de8[_0x599584(0x271)]}};}}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x1cb))[_0x4a66c0(0x28b)]({'model':fe+_0x4a66c0(0x1db),'view':_0x276056=>{const _0x33e98d=_0x4a66c0,_0x3e7a2b=this[_0x33e98d(0x1ab)][_0x33e98d(0x19b)](_0x276056[_0x33e98d(0x271)]),_0x1b630a=[_0x33e98d(0x22e)];return this[_0x33e98d(0x1aa)][_0x33e98d(0x217)](_0x3e7a2b?.['id']||'')&&_0x1b630a[_0x33e98d(0x232)](_0x33e98d(0x1bb)),{'classes':_0x1b630a,'attributes':{'data-marker-id':_0x276056[_0x33e98d(0x271)]}};}}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x1cb))[_0x4a66c0(0x28b)]({'model':fe+_0x4a66c0(0x18e),'view':_0x1e3366=>{const _0x291988=_0x4a66c0,_0x360baa=this[_0x291988(0x1ab)][_0x291988(0x19b)](_0x1e3366[_0x291988(0x271)]),_0x583378=[_0x291988(0x214)];return this[_0x291988(0x1aa)][_0x291988(0x217)](_0x360baa?.['id']||'')&&_0x583378[_0x291988(0x232)](_0x291988(0x1bb)),{'classes':_0x583378,'attributes':{'data-marker-id':_0x1e3366[_0x291988(0x271)]}};}}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x206))[_0x4a66c0(0x1a9)]({'model':fe+_0x4a66c0(0x235),'view':(_0x4739ca,{writer:_0x1277c2})=>_0x1277c2[_0x4a66c0(0x1b3)](_0x4a66c0(0x1ae),{'class':_0x4a66c0(0x195)+(_0x4739ca[_0x4a66c0(0x264)]?_0x4a66c0(0x241):_0x4a66c0(0x260))})}),_0x483f48[_0x4a66c0(0x28d)][_0x4a66c0(0x255)](_0x4a66c0(0x27e))[_0x4a66c0(0x22d)]({'model':_0x539ba8,'view':_0x171e0f});const _0x5377d3=_0x483f48['ui'][_0x4a66c0(0x24b)]()||document[_0x4a66c0(0x26e)];this[_0x4a66c0(0x262)][_0x4a66c0(0x25c)](_0x5377d3,_0x4a66c0(0x278),(_0x5e10a3,_0x155362)=>{const _0x16fc20=_0x4a66c0,_0x2222c9=_0x155362[_0x16fc20(0x1d0)],_0x34460a=this[_0x16fc20(0x1d3)](_0x2222c9);if(!_0x34460a)return;const _0x10d214=_0x34460a[_0x16fc20(0x20a)](_0x16fc20(0x1d1)),_0x359bb3=_0x10d214[_0x16fc20(0x25e)](':')[_0x16fc20(0x27c)]()?.[_0x16fc20(0x25e)]('_')[0x0];this[_0x16fc20(0x1bf)][_0x16fc20(0x28c)](_0x16fc20(0x20f),{'markerId':_0x10d214,'changeId':_0x359bb3,'markerElement':()=>this[_0x16fc20(0x1c7)](_0x10d214),'domEvent':_0x155362});},{'usePassive':!0x0,'priority':_0x4a66c0(0x291)}),this[_0x4a66c0(0x262)][_0x4a66c0(0x25c)](_0x5377d3,_0x4a66c0(0x277),(_0x3f9b21,_0x51d596)=>{const _0x314f13=_0x4a66c0,_0x44ae25=_0x51d596[_0x314f13(0x1d0)],_0x2f4552=_0x51d596[_0x314f13(0x24a)];let _0x16f414=this[_0x314f13(0x1d3)](_0x44ae25);if(!_0x16f414&&_0x2f4552&&(_0x16f414=this[_0x314f13(0x1d3)](_0x2f4552)),!_0x16f414)return;const _0x500b86=_0x16f414[_0x314f13(0x20a)](_0x314f13(0x1d1)),_0x3a750e=_0x500b86[_0x314f13(0x25e)](':')[_0x314f13(0x27c)]()?.[_0x314f13(0x25e)]('_')[0x0];this[_0x314f13(0x1bf)][_0x314f13(0x28c)](_0x314f13(0x205),{'changeId':_0x3a750e,'markerElement':()=>this[_0x314f13(0x1c7)](_0x500b86),'domEvent':_0x51d596});}),this[_0x4a66c0(0x262)][_0x4a66c0(0x25c)](document,_0x4a66c0(0x277),_0x439db5((_0x39c307,_0x1343aa)=>{const _0x4ffe32=_0x4a66c0,_0x42defc=_0x1343aa[_0x4ffe32(0x1d0)];if(this[_0x4ffe32(0x1d3)](_0x42defc))return;_0x42defc[_0x4ffe32(0x1a6)](_0x4ffe32(0x1fb))||this[_0x4ffe32(0x1bf)][_0x4ffe32(0x28c)](_0x4ffe32(0x222));},0xc8)),_0x483f48[_0x4a66c0(0x20e)][_0x4a66c0(0x1f1)][_0x4a66c0(0x1b4)](_0x4654ec=>this[_0x4a66c0(0x19c)](_0x483f48,_0x4654ec)),_0x483f48[_0x4a66c0(0x20e)][_0x4a66c0(0x1f1)]['on'](_0x4a66c0(0x286),()=>this[_0x4a66c0(0x21f)](_0x483f48));}[_0x4be8b8(0x1e1)](){const _0x4ffda6=_0x4be8b8,_0x44c6c6=this[_0x4ffda6(0x246)][_0x4ffda6(0x1b9)][_0x4ffda6(0x19b)](_0x4ffda6(0x20b)),_0x43b29c=_0x1821c6(this[_0x4ffda6(0x246)]),_0x50d098=_0x43b29c[_0x4ffda6(0x20e)],_0x5834ef=new _0xb3fca0();for(const _0x37c97a of _0x50d098[_0x4ffda6(0x1f1)][_0x4ffda6(0x1f4)]()[_0x4ffda6(0x228)]()){const _0x4605bc=_0x37c97a[_0x4ffda6(0x202)](!0x0);_0x5834ef[_0x4ffda6(0x1b0)](_0x4605bc);}for(const _0x330944 of _0x50d098[_0x4ffda6(0x1ba)])_0x5834ef[_0x4ffda6(0x1ba)][_0x4ffda6(0x23e)](_0x330944[_0x4ffda6(0x18a)],this[_0x4ffda6(0x216)](_0x330944[_0x4ffda6(0x1a7)]()[_0x4ffda6(0x1e5)](),_0x5834ef));const _0x4c3c6f=new _0xd0d51e({'ignoreElementEnd':!0x0,'startPosition':_0x50d098[_0x4ffda6(0x26a)](_0x5834ef,0x0)}),_0x2b9da9=new Set(),_0x1c41f8=new Map();for(const {item:_0x774dc5}of _0x4c3c6f){if(!_0x774dc5['is'](_0x4ffda6(0x1a4)))continue;const _0x4ad21c=_0x774dc5[_0x4ffda6(0x248)];if(_0x4ad21c&&_0x4ad21c['is'](_0x4ffda6(0x196))){const _0x3a2444=this[_0x4ffda6(0x1ac)](_0x4ad21c,()=>_0x44c6c6[_0x4ffda6(0x290)](_0x2b9da9));_0x2b9da9[_0x4ffda6(0x227)](_0x3a2444);for(const _0x4b85f2 of _0x4ad21c[_0x4ffda6(0x228)]())_0x4b85f2['is'](_0x4ffda6(0x196))&&_0x2b9da9[_0x4ffda6(0x227)](this[_0x4ffda6(0x1ac)](_0x4b85f2,()=>_0x44c6c6[_0x4ffda6(0x290)](_0x2b9da9)));let _0x2219c8=_0x4ad21c;for(;_0x2219c8[_0x4ffda6(0x248)]&&!_0x2219c8[_0x4ffda6(0x248)]['is'](_0x4ffda6(0x231));)_0x2219c8=_0x2219c8[_0x4ffda6(0x248)],_0x2219c8[_0x4ffda6(0x1d4)](_0x539ba8)&&_0x2219c8[_0x4ffda6(0x1fa)](_0x539ba8);_0x1c41f8[_0x4ffda6(0x23e)](_0x3a2444,{'path':_0x4ad21c[_0x4ffda6(0x221)](),'getContent':this[_0x4ffda6(0x1f6)](_0x2219c8[_0x4ffda6(0x202)](!0x0),_0x3a2444,_0x43b29c[_0x4ffda6(0x250)])}),_0x4c3c6f[_0x4ffda6(0x272)](_0x50d098[_0x4ffda6(0x1e4)](_0x4ad21c));}}return{'content':_0x43b29c[_0x4ffda6(0x250)][_0x4ffda6(0x197)][_0x4ffda6(0x211)](_0x43b29c[_0x4ffda6(0x250)][_0x4ffda6(0x212)](_0x5834ef)),'version':_0x43b29c[_0x4ffda6(0x20e)][_0x4ffda6(0x1f1)][_0x4ffda6(0x219)],'elements':_0x1c41f8};}[_0x4be8b8(0x1eb)](_0x2be6f3,_0x2f5e56,_0x50de72=!0x1){const _0x514449=_0x4be8b8,_0x45bc35=[],_0x2571ac=_0x1821c6(this[_0x514449(0x246)]),_0x23cdde=_0x2571ac[_0x514449(0x250)][_0x514449(0x1ee)](_0x2f5e56,_0x514449(0x256)),_0x45b4e2=_0x2571ac[_0x514449(0x250)][_0x514449(0x1ee)](_0x2be6f3,_0x514449(0x256)),_0x2f54ef=_0x2571ac[_0x514449(0x20e)][_0x514449(0x26a)](_0x45b4e2,0x0);if(this[_0x514449(0x1c6)](_0x23cdde)){if(!this[_0x514449(0x270)](_0x45b4e2,_0x23cdde))return _0x45bc35;}else{const _0x2f65d8=_0x2571ac[_0x514449(0x20e)][_0x514449(0x22a)];if(!this[_0x514449(0x1f2)](_0x45b4e2,_0x2f65d8)||!this[_0x514449(0x1f2)](_0x23cdde,_0x2f65d8))return _0x45bc35;}const _0x59c406=this[_0x514449(0x246)][_0x514449(0x1b9)][_0x514449(0x19b)](_0x514449(0x23a))[_0x514449(0x1fe)](_0x2be6f3,_0x2f5e56,{'anchor':_0x2f54ef,'markDeletions':!0x0})[_0x514449(0x287)]()[_0x514449(0x24e)](_0x11ef82=>_0x514449(0x26c)===_0x11ef82[_0x514449(0x1ff)]||_0x514449(0x22f)===_0x11ef82[_0x514449(0x1ff)]&&_0x11ef82[_0x514449(0x18a)][_0x514449(0x1b5)](_0x514449(0x215))),_0x37b771=this[_0x514449(0x18d)](_0x59c406),_0x158a36=[];if(_0x50de72){if(_0x37b771[_0x514449(0x23b)]){const _0x5bc710=_0x37b771[0x0][_0x514449(0x1b7)][0x0],_0x174907=_0x514449(0x26c)===_0x5bc710[_0x514449(0x1ff)]?_0x5bc710[_0x514449(0x20d)]:_0x5bc710[_0x514449(0x22b)][_0x514449(0x241)],_0x3b7f33=this[_0x514449(0x240)](_0x174907,_0x2571ac,_0x514449(0x1a2)),_0xf1537f=_0x3b7f33?_0x23cdde[_0x514449(0x22c)](0x0)[_0x514449(0x228)]():_0x23cdde[_0x514449(0x228)](),_0x507570=_0x3b7f33||_0x2571ac[_0x514449(0x20e)][_0x514449(0x27d)](_0x45b4e2),_0xbf8346=[new _0x1085bf(_0x514449(0x223)+_0x300e90(),null,_0x507570,_0x2571ac[_0x514449(0x20e)][_0x514449(0x1f1)][_0x514449(0x20e)][_0x514449(0x1ba)],!0x0,_0x2571ac[_0x514449(0x20e)][_0x514449(0x1f1)][_0x514449(0x219)]+0x1),new _0x5e2a10(_0x507570[_0x514449(0x260)],_0xf1537f,_0x2571ac[_0x514449(0x20e)][_0x514449(0x1f1)][_0x514449(0x219)]+0x2)];_0x158a36[_0x514449(0x232)]({'operations':_0xbf8346,'operationsIsolated':_0xbf8346,'groupOffset':0x0});}}else _0x158a36[_0x514449(0x232)](..._0x37b771);let _0xf4665a=0x0;return _0x2571ac[_0x514449(0x20e)][_0x514449(0x286)](_0x50c064=>{const _0x641272=_0x514449;for(let _0x2697fa=0x0;_0x2697fa<_0x158a36[_0x641272(0x23b)];_0x2697fa++){const _0x208279=_0x158a36[_0x2697fa],_0x37dac4=_0x50c064[_0x641272(0x1de)]();for(const _0x81a3d of _0x45b4e2[_0x641272(0x228)]())_0x50c064[_0x641272(0x254)](_0x81a3d[_0x641272(0x202)](!0x0),_0x37dac4);for(const _0x195976 of _0x208279[_0x641272(0x208)])if(_0x641272(0x26c)===_0x195976[_0x641272(0x1ff)]){const _0x42f9c4=_0x195976;_0x42f9c4[_0x641272(0x1be)]=null,_0x42f9c4[_0x641272(0x243)]=!0x1,this[_0x641272(0x19d)](_0x42f9c4,_0x37dac4),_0x50c064[_0x641272(0x27b)][_0x641272(0x285)](_0x195976),_0x2571ac[_0x641272(0x20e)][_0x641272(0x289)](_0x195976);const _0x4156e7=_0x641272(0x1dc)+_0xf4665a++,_0x1069b9=_0x2571ac[_0x641272(0x20e)][_0x641272(0x1c5)](_0x42f9c4[_0x641272(0x20d)],_0x42f9c4[_0x641272(0x20d)][_0x641272(0x281)](_0x42f9c4[_0x641272(0x1c8)]));_0x37dac4[_0x641272(0x1ba)][_0x641272(0x23e)](_0x4156e7,_0x1069b9);}else{if(_0x641272(0x22f)===_0x195976[_0x641272(0x1ff)]&&_0x195976[_0x641272(0x18a)][_0x641272(0x1b5)](_0x641272(0x215))){const _0x12834f=_0x195976,_0x20ae80=_0x641272(0x28a)+_0xf4665a++;this[_0x641272(0x19d)](_0x12834f,_0x37dac4),_0x37dac4[_0x641272(0x1ba)][_0x641272(0x23e)](_0x20ae80,_0x12834f[_0x641272(0x22b)]);}}if(_0x50de72)_0x45bc35[_0x641272(0x232)]({..._0x208279,'context':this[_0x641272(0x25b)](_0x45b4e2,_0x2571ac[_0x641272(0x250)]),'content':this[_0x641272(0x25b)](_0x45b4e2,_0x2571ac[_0x641272(0x250)])});else{const _0x2cf229=this[_0x641272(0x251)](this[_0x641272(0x284)](this[_0x641272(0x18b)](_0x208279[_0x641272(0x208)][0x0]),_0x37dac4),this[_0x641272(0x284)](this[_0x641272(0x26f)](_0x208279[_0x641272(0x208)][_0x208279[_0x641272(0x208)][_0x641272(0x23b)]-0x1]),_0x37dac4));_0x37dac4[_0x641272(0x1ba)][_0x641272(0x23e)](fe+_0x641272(0x235),new _0x16d84a(_0x2cf229[_0x641272(0x241)],_0x2cf229[_0x641272(0x260)])),_0x45bc35[_0x641272(0x232)]({..._0x208279,'context':this[_0x641272(0x1d2)](_0x37dac4,_0x2571ac[_0x641272(0x250)],{'ellipsisBefore':_0x2cf229[_0x641272(0x244)],'ellipsisAfter':_0x2cf229[_0x641272(0x1c9)]}),'content':this[_0x641272(0x25b)](_0x37dac4,_0x2571ac[_0x641272(0x250)])});}}}),_0x45bc35;}[_0x4be8b8(0x1a8)](_0x20c57d,_0x35ddb4){const _0x5a20fd=_0x4be8b8;if(!_0x20c57d[_0x5a20fd(0x23b)])return;const _0x3b0c4b=_0x20c57d[0x0][_0x5a20fd(0x248)]['id'],_0x179724=_0x35ddb4[_0x5a20fd(0x1fc)][_0x5a20fd(0x19b)](_0x3b0c4b);if(!_0x179724)return void console[_0x5a20fd(0x18c)](_0x5a20fd(0x25f)+_0x3b0c4b);const _0x11ab84=_0x179724[_0x5a20fd(0x1f8)],_0x55a627=_0x1821c6(this[_0x5a20fd(0x246)]),_0x32b7b0=_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x1f1)][_0x5a20fd(0x210)][_0x5a20fd(0x287)](_0x35ddb4[_0x5a20fd(0x219)]),_0x4ed85a=[];for(const _0x18ebf1 of _0x20c57d){const _0x4e3527=_0x18ebf1[_0x5a20fd(0x208)][_0x5a20fd(0x1b2)](_0x11c909=>this[_0x5a20fd(0x21d)](_0x11c909,_0x11ab84,_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x1f1)][_0x5a20fd(0x233)]()[0x0]));if(!_0x4e3527||!_0x4e3527[_0x5a20fd(0x23b)])continue;const _0xdff403=_0x4e3527[_0x5a20fd(0x274)](_0x346fa8=>_0x5a20fd(0x22f)===_0x346fa8[_0x5a20fd(0x1ff)]&&_0x346fa8[_0x5a20fd(0x18a)][_0x5a20fd(0x1b5)](_0x5a20fd(0x215))),_0xc33def={'document':_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x1f1)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3ec031=_0x6ce8be(_0x4e3527,_0x32b7b0,_0xc33def)[_0x5a20fd(0x1ef)];for(const _0x1d73e8 of _0x3ec031)if(_0x5a20fd(0x26c)===_0x1d73e8[_0x5a20fd(0x1ff)]){const _0x4316e3=_0x1d73e8,_0x440d3d=_0x4316e3[_0x5a20fd(0x1a1)];_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x286)](_0x2a1226=>{const _0x47d746=_0x5a20fd,_0x5b166e=_0x2a1226[_0x47d746(0x1de)]();for(const _0x5b1054 of _0x440d3d)_0x2a1226[_0x47d746(0x254)](_0x5b1054[_0x47d746(0x202)](!0x0),_0x5b166e);_0x4ed85a[_0x47d746(0x232)]({'start':_0x4316e3[_0x47d746(0x20d)],'end':_0x4316e3[_0x47d746(0x20d)],'type':_0x47d746(0x26c),'groupId':_0x18ebf1['id'],'content':{'asString':this[_0x47d746(0x25b)](_0x5b166e,_0x55a627[_0x47d746(0x250)])(),'asFragment':_0x5b166e}});});}else{if(_0x5a20fd(0x22f)===_0x1d73e8[_0x5a20fd(0x1ff)]&&_0x1d73e8[_0x5a20fd(0x18a)][_0x5a20fd(0x1b5)](_0x5a20fd(0x215))){const _0x419327=_0x1d73e8;let _0x47b4a5=_0x5a20fd(0x18e);if(_0xdff403){const _0x505f3e=this[_0x5a20fd(0x1c4)](_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x241)],_0x5a20fd(0x1d6),_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x22a)]),_0x200271=this[_0x5a20fd(0x1c4)](_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x260)],_0x5a20fd(0x1bc),_0x55a627[_0x5a20fd(0x20e)][_0x5a20fd(0x22a)]);if(_0x505f3e||_0x200271){const _0x29551e=_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x241)][_0x5a20fd(0x281)](-_0x505f3e),_0x2689a3=_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x260)][_0x5a20fd(0x281)](_0x200271);_0x4ed85a[_0x5a20fd(0x232)]({'start':_0x29551e,'end':_0x2689a3,'groupId':_0x18ebf1['id'],'type':_0x5a20fd(0x1db)});}else _0x47b4a5=_0x5a20fd(0x209);}_0x4ed85a[_0x5a20fd(0x232)]({'start':_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x241)],'end':_0x419327[_0x5a20fd(0x22b)][_0x5a20fd(0x260)],'groupId':_0x18ebf1['id'],'type':_0x47b4a5});}}}this[_0x5a20fd(0x257)](_0x4ed85a);}[_0x4be8b8(0x267)](){const _0x193706=_0x4be8b8,_0x309cf8=_0x1821c6(this[_0x193706(0x246)]);_0x309cf8[_0x193706(0x20e)][_0x193706(0x286)](_0xf80164=>{const _0x492986=_0x193706;for(const _0x4245b8 of this[_0x492986(0x1ab)][_0x492986(0x192)]())_0x309cf8[_0x492986(0x20e)][_0x492986(0x1ba)][_0x492986(0x19b)](_0x4245b8)&&_0xf80164[_0x492986(0x1df)](_0x4245b8);}),this[_0x193706(0x1ab)][_0x193706(0x1c0)](),this[_0x193706(0x1aa)][_0x193706(0x1c0)]();}[_0x4be8b8(0x1a5)](){const _0x441be0=_0x4be8b8;_0x1821c6(this[_0x441be0(0x246)])[_0x441be0(0x23d)](_0x441be0(0x236));}[_0x4be8b8(0x21b)](){const _0x169bf6=_0x4be8b8;_0x1821c6(this[_0x169bf6(0x246)])[_0x169bf6(0x1bd)](_0x169bf6(0x236));}[_0x4be8b8(0x1d7)](_0xc1527e){const _0x3fcd1b=_0x4be8b8,_0x5724ee=_0x1821c6(this[_0x3fcd1b(0x246)]),_0x268ed5=_0x5724ee[_0x3fcd1b(0x20e)],_0x1a98d3=_0xc1527e[_0x3fcd1b(0x1b2)](_0x13218c=>this[_0x3fcd1b(0x1dd)](_0x13218c))[_0x3fcd1b(0x266)]();_0x268ed5[_0x3fcd1b(0x286)](_0x4c2087=>{const _0x49319e=_0x3fcd1b;for(const _0x38f467 of _0x1a98d3){const _0x45c426=_0x5724ee[_0x49319e(0x20e)][_0x49319e(0x1ba)][_0x49319e(0x19b)](_0x38f467['id']);if(_0x45c426){if(_0x49319e(0x26c)===_0x38f467[_0x49319e(0x1ff)]){if(!_0x38f467[_0x49319e(0x1e6)])continue;_0x268ed5[_0x49319e(0x265)](_0x38f467[_0x49319e(0x1e6)][_0x49319e(0x245)]||null,_0x45c426[_0x49319e(0x1a7)]()[_0x49319e(0x241)]);}else _0x49319e(0x18e)!==_0x38f467[_0x49319e(0x1ff)]&&_0x49319e(0x209)!==_0x38f467[_0x49319e(0x1ff)]||_0x268ed5[_0x49319e(0x1cc)](_0x268ed5[_0x49319e(0x1e0)](_0x45c426[_0x49319e(0x1a7)]()));_0x4c2087[_0x49319e(0x1df)](_0x38f467['id']),this[_0x49319e(0x1ab)][_0x49319e(0x186)](_0x38f467['id']);}}});}[_0x4be8b8(0x275)](_0x1c8b26){const _0xce0982=_0x4be8b8,_0x46e03f=_0x1821c6(this[_0xce0982(0x246)]),_0x13f62a=this[_0xce0982(0x1dd)](_0x1c8b26);_0x46e03f[_0xce0982(0x20e)][_0xce0982(0x286)](_0x1b62c9=>{const _0xff5fd2=_0xce0982;for(const _0x161620 of _0x13f62a)_0x1b62c9[_0xff5fd2(0x1df)](_0x161620['id']),this[_0xff5fd2(0x1ab)][_0xff5fd2(0x186)](_0x161620['id']);});}[_0x4be8b8(0x201)](){const _0xd5dcff=_0x4be8b8;return _0x1821c6(this[_0xd5dcff(0x246)]);}[_0x4be8b8(0x292)](_0x5f23dd){const _0x20b868=_0x4be8b8,_0x3b99a5=Array[_0x20b868(0x218)](this[_0x20b868(0x1ab)][_0x20b868(0x19f)]())[_0x20b868(0x24e)](_0x2f03f9=>_0x2f03f9[_0x20b868(0x28e)]===_0x5f23dd);if(!_0x3b99a5[_0x20b868(0x23b)])return null;const _0x370cad=0x1===_0x3b99a5[_0x20b868(0x23b)]?_0x3b99a5[0x0]:this[_0x20b868(0x226)](_0x3b99a5)[0x0],_0xb0c618=_0x1821c6(this[_0x20b868(0x246)])[_0x20b868(0x20e)][_0x20b868(0x1ba)][_0x20b868(0x19b)](_0x370cad['id']);if(!_0xb0c618)return null;return{'modelRange':_0xb0c618[_0x20b868(0x1a7)](),'getElement':()=>this[_0x20b868(0x1c7)](_0x370cad['id'])};}[_0x4be8b8(0x204)](_0x32d156){const _0x112d17=_0x4be8b8,_0x3d337a=Array[_0x112d17(0x218)](this[_0x112d17(0x1ab)][_0x112d17(0x19f)]())[_0x112d17(0x24e)](_0x545fd4=>_0x545fd4[_0x112d17(0x28e)]===_0x32d156);if(!_0x3d337a[_0x112d17(0x23b)])return null;const _0x2e8e7c=0x1===_0x3d337a[_0x112d17(0x23b)]?_0x3d337a[0x0]:this[_0x112d17(0x226)](_0x3d337a)[0x0],_0x3f16ec=_0x1821c6(this[_0x112d17(0x246)]),_0x1108ce=_0x3f16ec[_0x112d17(0x20e)][_0x112d17(0x1ba)][_0x112d17(0x19b)](_0x2e8e7c['id']);if(!_0x1108ce)return null;const _0x3f1504=_0x1108ce[_0x112d17(0x1a7)](),_0x23df26=_0x3f16ec[_0x112d17(0x1da)][_0x112d17(0x1e3)][_0x112d17(0x1a0)]();if(!_0x23df26||!_0x3f1504)return null;let _0x227261=_0x3f1504[_0x112d17(0x241)][_0x112d17(0x248)];for(;_0x227261[_0x112d17(0x248)]&&_0x112d17(0x189)!==_0x227261[_0x112d17(0x248)][_0x112d17(0x18a)];)_0x227261=_0x227261[_0x112d17(0x248)];if(!_0x227261||!_0x227261[_0x112d17(0x18a)])return null;const _0x5b1836=_0x23df26[_0x112d17(0x283)](_0x112d17(0x203)+_0x2e8e7c['id']+'\x22]');if(!_0x5b1836)return null;let _0x1b1a98=null;_0x3f16ec[_0x112d17(0x20e)][_0x112d17(0x286)](_0x38e49f=>{const _0x22fb97=_0x112d17;_0x1b1a98=_0x38e49f[_0x22fb97(0x1de)](),_0x38e49f[_0x22fb97(0x254)](_0x227261[_0x22fb97(0x202)](!0x0),_0x1b1a98);});const _0x198180=_0x3f16ec[_0x112d17(0x250)][_0x112d17(0x212)](_0x1b1a98)[_0x112d17(0x22c)](0x0);return _0x5b1836[_0x112d17(0x1a6)](_0x198180[_0x112d17(0x18a)]);}[_0x4be8b8(0x20c)](_0x3ce164){const _0x257007=_0x4be8b8,_0x1e26ba=this[_0x257007(0x1dd)](_0x3ce164);if(!_0x1e26ba[_0x257007(0x23b)])return;const _0x4df1a0=Array[_0x257007(0x218)](this[_0x257007(0x1aa)])[_0x257007(0x188)](),_0x5dfd47=Array[_0x257007(0x218)](new Set(_0x1e26ba[_0x257007(0x1b2)](_0x7a6758=>_0x7a6758['id'])))[_0x257007(0x188)]();_0x4df1a0[_0x257007(0x25d)]('|')!==_0x5dfd47[_0x257007(0x25d)]('|')&&(this[_0x257007(0x1ec)](),this[_0x257007(0x26b)](_0x3ce164));}[_0x4be8b8(0x26b)](_0x4400c3){const _0x555e24=_0x4be8b8,_0x12de30=this[_0x555e24(0x1dd)](_0x4400c3);if(!_0x12de30[_0x555e24(0x23b)])return;const _0x2d136e=_0x1821c6(this[_0x555e24(0x246)]),_0x6f0227=new Set(_0x12de30[_0x555e24(0x1b2)](_0x598bf7=>_0x598bf7['id'])),_0x150281=Array[_0x555e24(0x218)](_0x6f0227[_0x555e24(0x19f)]())[_0x555e24(0x1b2)](_0x1a7f83=>_0x2d136e[_0x555e24(0x20e)][_0x555e24(0x1ba)][_0x555e24(0x19b)](_0x1a7f83))[_0x555e24(0x24e)](_0x4e0bc0=>!!_0x4e0bc0);_0x6f0227[_0x555e24(0x24c)](_0x36cdfe=>{const _0x53b091=_0x555e24;this[_0x53b091(0x1aa)][_0x53b091(0x227)](_0x36cdfe);}),_0x2d136e[_0x555e24(0x20e)][_0x555e24(0x286)](()=>{const _0x3b6ad2=_0x555e24;_0x150281[_0x3b6ad2(0x24c)](_0x19fb77=>{const _0x24783d=_0x3b6ad2;_0x2d136e[_0x24783d(0x1da)][_0x24783d(0x230)](_0x19fb77);});});}[_0x4be8b8(0x1ec)](){const _0x232a9a=_0x4be8b8,_0x108380=Array[_0x232a9a(0x218)](this[_0x232a9a(0x1aa)]);if(!_0x108380[_0x232a9a(0x23b)])return;this[_0x232a9a(0x1aa)][_0x232a9a(0x1c0)]();const _0x323315=_0x1821c6(this[_0x232a9a(0x246)]),_0x4369cd=_0x108380[_0x232a9a(0x1b2)](_0x347430=>_0x323315[_0x232a9a(0x20e)][_0x232a9a(0x1ba)][_0x232a9a(0x19b)](_0x347430))[_0x232a9a(0x24e)](_0x3de2ff=>!!_0x3de2ff);_0x323315[_0x232a9a(0x20e)][_0x232a9a(0x286)](()=>{const _0x177840=_0x232a9a;_0x4369cd[_0x177840(0x24c)](_0x293d81=>{const _0x3fc842=_0x177840;_0x323315[_0x3fc842(0x1da)][_0x3fc842(0x230)](_0x293d81);});});}[_0x4be8b8(0x240)](_0x682e69,_0x545061,_0x27cde7=_0x4be8b8(0x1d9)){const _0x483dc3=_0x4be8b8;if(!_0x682e69)return null;let _0x17680c=_0x682e69[_0x483dc3(0x248)];for(;_0x17680c&&_0x17680c[_0x483dc3(0x248)]&&_0x483dc3(0x189)!==_0x17680c[_0x483dc3(0x248)][_0x483dc3(0x18a)]&&!_0x545061[_0x483dc3(0x20e)][_0x483dc3(0x22a)][_0x483dc3(0x1c2)](_0x17680c)&&!_0x545061[_0x483dc3(0x20e)][_0x483dc3(0x22a)][_0x483dc3(0x259)](_0x17680c);)_0x17680c=_0x17680c[_0x483dc3(0x248)];if(!_0x17680c||!_0x17680c[_0x483dc3(0x18a)]||_0x483dc3(0x189)===_0x17680c[_0x483dc3(0x18a)])return null;let _0x2c72c0=null;return _0x545061[_0x483dc3(0x20e)][_0x483dc3(0x286)](_0x15a0ac=>{const _0x3381c6=_0x483dc3;_0x2c72c0=_0x3381c6(0x1a2)===_0x27cde7?_0x15a0ac[_0x3381c6(0x27d)](_0x17680c):_0x15a0ac[_0x3381c6(0x1f3)](_0x17680c);}),_0x2c72c0;}[_0x4be8b8(0x19c)](_0x40ed6f,_0xb1ad10){const _0x5c39a5=_0x4be8b8,_0x154ed1=Array[_0x5c39a5(0x218)](this[_0x5c39a5(0x1ab)][_0x5c39a5(0x192)]()),_0xc27867=new Map();for(const _0x4546f5 of _0x154ed1){const _0x2156dd=_0x40ed6f[_0x5c39a5(0x20e)][_0x5c39a5(0x1ba)][_0x5c39a5(0x19b)](_0x4546f5);if(!_0x2156dd)continue;const _0x20444a=_0x2156dd[_0x5c39a5(0x252)]()[_0x5c39a5(0x1f8)][0x0];_0xc27867[_0x5c39a5(0x217)](_0x20444a)||_0xc27867[_0x5c39a5(0x23e)](_0x20444a,[]),_0xc27867[_0x5c39a5(0x19b)](_0x20444a)[_0x5c39a5(0x232)](_0x2156dd);}const _0x4aed0d=new Set();for(const _0x49155b of _0x40ed6f[_0x5c39a5(0x20e)][_0x5c39a5(0x1f1)][_0x5c39a5(0x1d8)][_0x5c39a5(0x253)]()){let _0x322b82=-0x1,_0x2a45fa=null;if(_0x5c39a5(0x26c)===_0x49155b[_0x5c39a5(0x1ff)])_0x2a45fa=new _0x16d84a(_0x49155b[_0x5c39a5(0x20d)],_0x49155b[_0x5c39a5(0x20d)][_0x5c39a5(0x281)](_0x49155b[_0x5c39a5(0x23b)])),_0x322b82=_0x49155b[_0x5c39a5(0x20d)][_0x5c39a5(0x1f8)][0x0];else{if(_0x5c39a5(0x225)!==_0x49155b[_0x5c39a5(0x1ff)])continue;_0x2a45fa=new _0x16d84a(_0x49155b[_0x5c39a5(0x20d)]),_0x322b82=_0x49155b[_0x5c39a5(0x20d)][_0x5c39a5(0x1f8)][0x0];}const _0x2fbac9=_0xc27867[_0x5c39a5(0x19b)](_0x322b82)||[];if(_0x2fbac9[_0x5c39a5(0x23b)]){for(const _0x38d993 of _0x2fbac9)if(_0x2a45fa[_0x5c39a5(0x24d)][_0x5c39a5(0x23c)]===_0x38d993[_0x5c39a5(0x1a7)]()[_0x5c39a5(0x24d)][_0x5c39a5(0x23c)]&&(_0x5c39a5(0x26c)!==_0x49155b[_0x5c39a5(0x1ff)]||!_0x2a45fa[_0x5c39a5(0x187)](_0x38d993[_0x5c39a5(0x1a7)]()))&&(_0x2a45fa[_0x5c39a5(0x237)](_0x38d993[_0x5c39a5(0x1a7)]())||_0x2a45fa[_0x5c39a5(0x241)][_0x5c39a5(0x1af)](_0x38d993[_0x5c39a5(0x1a7)]()[_0x5c39a5(0x260)])||_0x2a45fa[_0x5c39a5(0x260)][_0x5c39a5(0x1af)](_0x38d993[_0x5c39a5(0x1a7)]()[_0x5c39a5(0x241)]))){const _0x38fc8b=this[_0x5c39a5(0x19e)](_0x38d993[_0x5c39a5(0x18a)]);Array[_0x5c39a5(0x218)](this[_0x5c39a5(0x1ab)][_0x5c39a5(0x19f)]())[_0x5c39a5(0x24e)](_0x49b592=>_0x49b592[_0x5c39a5(0x28e)]===_0x38fc8b[_0x5c39a5(0x28e)])[_0x5c39a5(0x24c)](_0xb9b8b1=>_0x4aed0d[_0x5c39a5(0x227)](_0xb9b8b1['id']));}}}if(_0x4aed0d[_0x5c39a5(0x1e7)]){for(const _0x40039c of _0x4aed0d)_0xb1ad10[_0x5c39a5(0x1df)](_0x40039c);return!0x0;}return!0x1;}[_0x4be8b8(0x21f)](_0x56b2ba){const _0x72103b=_0x4be8b8;for(const {name:_0x55e30d,data:_0x31f844}of _0x56b2ba[_0x72103b(0x20e)][_0x72103b(0x1f1)][_0x72103b(0x1d8)][_0x72103b(0x213)]()){if(!_0x55e30d[_0x72103b(0x1b5)](fe))continue;const _0x5db59f=_0x31f844[_0x72103b(0x249)],_0xe3f0a5=_0x31f844[_0x72103b(0x22b)],_0x47512b=_0x5db59f&&_0x72103b(0x1e2)===_0x5db59f[_0x72103b(0x24d)][_0x72103b(0x23c)],_0x443d79=_0xe3f0a5&&_0x72103b(0x1e2)===_0xe3f0a5[_0x72103b(0x24d)][_0x72103b(0x23c)];if(_0x47512b&&_0x443d79)continue;const _0x3bc731=this[_0x72103b(0x19e)](_0x55e30d);this[_0x72103b(0x1ab)][_0x72103b(0x19b)](_0x55e30d)&&(_0x443d79||!_0xe3f0a5?this[_0x72103b(0x1bf)][_0x72103b(0x28c)](_0x72103b(0x224),{'markerId':_0x55e30d,'changeId':_0x3bc731[_0x72103b(0x28e)]}):_0x47512b&&_0xe3f0a5&&this[_0x72103b(0x1bf)][_0x72103b(0x28c)](_0x72103b(0x199),{'markerId':_0x55e30d,'changeId':_0x3bc731[_0x72103b(0x28e)]}));}}[_0x4be8b8(0x19e)](_0x492ccc){const _0x30f52f=_0x4be8b8,_0x50a042=_0x492ccc[_0x30f52f(0x25e)](':'),_0xe82f24=(_0x50a042[0x1]||'')[_0x30f52f(0x25e)]('_');return{'prefix':_0x50a042[0x0],'groupId':_0xe82f24[0x0],'suffix':_0xe82f24[0x1]};}[_0x4be8b8(0x21d)](_0x26ffde,_0x1afac5,_0x3292a8){const _0x11d6f4=_0x4be8b8;if(_0x11d6f4(0x26c)===_0x26ffde[_0x11d6f4(0x1ff)]){const _0x406697=_0x26ffde;return new _0x5e2a10(this[_0x11d6f4(0x1ad)](_0x1afac5[_0x11d6f4(0x1c3)](_0x406697[_0x11d6f4(0x20d)][_0x11d6f4(0x200)]),_0x3292a8),_0x406697[_0x11d6f4(0x1a1)],_0x406697[_0x11d6f4(0x1be)]);}if(_0x11d6f4(0x22f)===_0x26ffde[_0x11d6f4(0x1ff)]&&_0x26ffde[_0x11d6f4(0x18a)][_0x11d6f4(0x1b5)](_0x11d6f4(0x215))){const _0x5d1b81=_0x26ffde;return new _0x1085bf(_0x5d1b81[_0x11d6f4(0x18a)],_0x5d1b81[_0x11d6f4(0x249)],this[_0x11d6f4(0x1cf)](_0x5d1b81[_0x11d6f4(0x22b)],_0x1afac5[_0x11d6f4(0x1c3)](_0x5d1b81[_0x11d6f4(0x22b)][_0x11d6f4(0x241)][_0x11d6f4(0x200)]),_0x1afac5[_0x11d6f4(0x1c3)](_0x5d1b81[_0x11d6f4(0x22b)][_0x11d6f4(0x260)][_0x11d6f4(0x200)]),_0x3292a8),_0x5d1b81[_0x11d6f4(0x1ab)],_0x5d1b81[_0x11d6f4(0x273)],_0x5d1b81[_0x11d6f4(0x1be)]);}return _0x26ffde;}[_0x4be8b8(0x18d)](_0x20e872){const _0x50d946=_0x4be8b8;if(!_0x20e872[_0x50d946(0x23b)])return[];const _0xcce378=[];let _0x25ecf5=0x0,_0x39bcee=0x0,_0x2e9a43=[];for(let _0x26a8f3=0x0;_0x26a8f3<=_0x20e872[_0x50d946(0x23b)];_0x26a8f3++){const _0x417afb=_0x20e872[_0x26a8f3],_0x1eda12=_0x20e872[_0x26a8f3-0x1];!_0x417afb||_0x1eda12&&!this[_0x50d946(0x26f)](_0x1eda12)[_0x50d946(0x1af)](this[_0x50d946(0x18b)](_0x417afb))?(_0xcce378[_0x50d946(0x232)]({'operations':_0x2e9a43,'operationsIsolated':_0x2e9a43[_0x50d946(0x1b2)](_0x30fd71=>this[_0x50d946(0x25a)](_0x30fd71[_0x50d946(0x1e5)](),-_0x39bcee)),'groupOffset':_0x25ecf5}),_0x2e9a43=_0x417afb?[_0x417afb]:[],_0x39bcee+=_0x25ecf5,_0x25ecf5=0x0):_0x2e9a43[_0x50d946(0x232)](_0x417afb),_0x417afb&&_0x50d946(0x26c)===_0x417afb[_0x50d946(0x1ff)]&&(_0x25ecf5+=_0x417afb[_0x50d946(0x1c8)]);}return _0xcce378;}[_0x4be8b8(0x1c4)](_0x469a5f,_0x19bba3,_0x5207ee,_0x4ff964=0x1){const _0x571fb7=_0x4be8b8,_0x475a49=new _0xd0d51e({'startPosition':_0x469a5f,'direction':_0x19bba3});let _0x456960=0x0;for(let _0x3b6ff1=0x0;_0x3b6ff1<_0x4ff964;_0x3b6ff1++){let _0x419b04=0x0,_0x3443cb=!0x1,_0x344874=_0x571fb7(0x1bc)===_0x19bba3?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4b4ee1}of _0x475a49)if(_0x4b4ee1['is'](_0x571fb7(0x1a4))){const _0x54ea4c=_0x344874[_0x571fb7(0x27f)](_0x4b4ee1[_0x571fb7(0x250)]);if(_0x54ea4c&&_0x54ea4c[_0x571fb7(0x23b)]){if(_0x419b04+=_0x571fb7(0x1bc)===_0x19bba3?_0x54ea4c[_0x571fb7(0x1b8)]+_0x54ea4c[0x0][_0x571fb7(0x23b)]:_0x4b4ee1[_0x571fb7(0x250)][_0x571fb7(0x23b)]-_0x54ea4c[_0x571fb7(0x1b8)],_0x54ea4c[0x0][_0x571fb7(0x23b)]!==_0x4b4ee1[_0x571fb7(0x250)][_0x571fb7(0x23b)])break;_0x3443cb=!0x0,_0x344874=_0x571fb7(0x1bc)===_0x19bba3?/^\w+/:/\w+$/;}else{if(_0x3443cb)break;_0x419b04+=_0x4b4ee1[_0x571fb7(0x220)];}}else{if(_0x4b4ee1['is'](_0x571fb7(0x196))){_0x5207ee[_0x571fb7(0x19a)](_0x4b4ee1)&&!_0x3443cb&&(_0x419b04+=0x1);break;}}_0x456960+=_0x419b04,_0x475a49[_0x571fb7(0x272)](_0x469a5f[_0x571fb7(0x281)](_0x571fb7(0x1bc)===_0x19bba3?_0x456960:-_0x456960));}return _0x456960;}[_0x4be8b8(0x251)](_0x1c9e2d,_0x5e96b4){const _0x154e43=_0x4be8b8,_0x3da60e=_0x1821c6(this[_0x154e43(0x246)])[_0x154e43(0x20e)][_0x154e43(0x22a)],_0x1dc7e3=this[_0x154e43(0x1c4)](_0x1c9e2d,_0x154e43(0x1d6),_0x3da60e,0x6),_0x372600=this[_0x154e43(0x1c4)](_0x5e96b4,_0x154e43(0x1bc),_0x3da60e,0x6),_0x132599=_0x1c9e2d[_0x154e43(0x281)](-_0x1dc7e3),_0x39c5c2=_0x5e96b4[_0x154e43(0x281)](_0x372600);return{'start':_0x132599,'end':_0x39c5c2,'hasContentBefore':!_0x132599[_0x154e43(0x23f)],'hasContentAfter':!_0x39c5c2[_0x154e43(0x263)]};}[_0x4be8b8(0x257)](_0x488dae){const _0x2340d3=_0x4be8b8,_0xde5c3b=this[_0x2340d3(0x246)][_0x2340d3(0x1b9)][_0x2340d3(0x19b)](_0x2340d3(0x20b)),_0x5715b4=new Set();_0x1821c6(this[_0x2340d3(0x246)])[_0x2340d3(0x20e)][_0x2340d3(0x286)](_0x24e062=>{const _0x363ea8=_0x2340d3;for(const _0x510e56 of _0x488dae){const _0x10dbf9=''+fe+_0x510e56[_0x363ea8(0x1ff)]+':'+_0x510e56[_0x363ea8(0x28e)]+'_'+_0xde5c3b[_0x363ea8(0x290)](_0x5715b4);this[_0x363ea8(0x1ab)][_0x363ea8(0x23e)](_0x10dbf9,{'id':_0x10dbf9,'groupId':_0x510e56[_0x363ea8(0x28e)],'type':_0x510e56[_0x363ea8(0x1ff)],'content':_0x510e56[_0x363ea8(0x1e6)]}),_0x24e062[_0x363ea8(0x1b6)](_0x10dbf9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x24e062[_0x363ea8(0x1c5)](_0x510e56[_0x363ea8(0x241)],_0x510e56[_0x363ea8(0x260)])});}});}[_0x4be8b8(0x1d2)](_0x15f455,_0x2ff6a5,_0xe916d0){let _0x4b2dfb='';return()=>{const _0xb98eaf=_0x3c8d;if(!_0x4b2dfb){const _0x4b63a7=_0x2ff6a5[_0xb98eaf(0x212)](_0x15f455,{'showSuggestionHighlights':!0x0});let _0x31f942=_0x4b63a7[_0xb98eaf(0x22c)](0x0);if(_0x31f942['is'](_0xb98eaf(0x1f7))||(_0x31f942=_0x4b63a7),!_0x31f942)return'';let _0x1f9d25=!0x1;const _0x1d5f18=[];for(const _0x47fbc3 of _0x31f942[_0xb98eaf(0x228)]())_0x47fbc3['is'](_0xb98eaf(0x196),_0xb98eaf(0x1ae))&&_0x47fbc3[_0xb98eaf(0x1ed)](_0xb98eaf(0x269))&&(_0x1f9d25=!0x1),_0x1f9d25&&_0x1d5f18[_0xb98eaf(0x232)](_0x47fbc3),_0x47fbc3['is'](_0xb98eaf(0x196),_0xb98eaf(0x1ae))&&_0x47fbc3[_0xb98eaf(0x1ed)](_0xb98eaf(0x1d5))&&(_0x1f9d25=!0x0);_0x31f942[_0xb98eaf(0x21a)](0x0,_0x31f942[_0xb98eaf(0x1ce)]),_0xe916d0?.[_0xb98eaf(0x229)]&&_0x31f942[_0xb98eaf(0x1b0)]('…'),_0x31f942[_0xb98eaf(0x1b0)](_0x1d5f18),_0xe916d0?.[_0xb98eaf(0x242)]&&_0x31f942[_0xb98eaf(0x1b0)]('…');const _0x139d55=_0x2ff6a5[_0xb98eaf(0x282)][_0xb98eaf(0x21c)][_0xb98eaf(0x1f0)](_0x4b63a7),_0x3b2606=_0x2ff6a5[_0xb98eaf(0x282)][_0xb98eaf(0x261)][_0xb98eaf(0x1c1)](_0x139d55);_0x4b2dfb=_0x3b2606;}return _0x4b2dfb;};}[_0x4be8b8(0x25b)](_0x3b65bf,_0x324699){const _0x208bfc=_0x4be8b8;let _0x49009c='';return()=>(_0x49009c||(_0x49009c=_0x324699[_0x208bfc(0x191)](_0x3b65bf,{'showSuggestionHighlights':!0x0})),_0x49009c);}[_0x4be8b8(0x1f6)](_0x3cb98f,_0x55c461,_0x5b61fa){let _0xe09e4f='';return()=>{const _0x9d514a=_0x3c8d;if(!_0xe09e4f){const _0x24f90c=_0x5b61fa[_0x9d514a(0x212)](new _0xb3fca0(_0x3cb98f)),_0x7600d=_0x5b61fa[_0x9d514a(0x282)][_0x9d514a(0x21c)][_0x9d514a(0x1f0)](_0x24f90c)[_0x9d514a(0x283)](_0x9d514a(0x288)+_0x55c461+'\x22]');_0xe09e4f=_0x7600d?.[_0x9d514a(0x1ca)]||'';}return _0xe09e4f;};}[_0x4be8b8(0x1d3)](_0x27b6e1,_0x37fc54=0x5){const _0x80275e=_0x4be8b8;let _0x3f94fa=_0x27b6e1,_0x138d5c=null;for(let _0x229706=0x0;_0x229706<_0x37fc54&&_0x3f94fa;_0x229706++){if(!_0x3f94fa[_0x80275e(0x1fd)]){_0x3f94fa=_0x3f94fa[_0x80275e(0x207)];continue;}if(!(''+_0x3f94fa[_0x80275e(0x1fd)])[_0x80275e(0x1cd)](_0x80275e(0x193))){_0x3f94fa=_0x3f94fa[_0x80275e(0x207)];continue;}if(!_0x3f94fa[_0x80275e(0x20a)](_0x80275e(0x1d1)))break;_0x138d5c=_0x3f94fa;break;}return _0x138d5c;}[_0x4be8b8(0x1c7)](_0x1beb7f){const _0x204ac8=_0x4be8b8,_0x218d25=_0x1821c6(this[_0x204ac8(0x246)]),_0x40a4f1=_0x218d25[_0x204ac8(0x20e)][_0x204ac8(0x1ba)][_0x204ac8(0x19b)](_0x1beb7f);return _0x40a4f1?_0x339c2f(_0x218d25[_0x204ac8(0x1da)],_0x40a4f1):null;}[_0x4be8b8(0x1dd)](_0x490ae9){const _0x1a559f=_0x4be8b8;return Array[_0x1a559f(0x218)](this[_0x1a559f(0x1ab)][_0x1a559f(0x19f)]())[_0x1a559f(0x24e)](_0x22cbc9=>_0x22cbc9[_0x1a559f(0x28e)]===_0x490ae9);}[_0x4be8b8(0x18b)](_0x1a7aa6){const _0x4e7fa9=_0x4be8b8;return _0x4e7fa9(0x26c)===_0x1a7aa6[_0x4e7fa9(0x1ff)]?_0x1a7aa6[_0x4e7fa9(0x20d)]:_0x1a7aa6[_0x4e7fa9(0x22b)][_0x4e7fa9(0x241)];}[_0x4be8b8(0x26f)](_0x7a58cb,_0x931f4a=!0x1){const _0x2e2251=_0x4be8b8;return _0x2e2251(0x26c)===_0x7a58cb[_0x2e2251(0x1ff)]?_0x931f4a?_0x7a58cb[_0x2e2251(0x20d)]:_0x7a58cb[_0x2e2251(0x20d)][_0x2e2251(0x281)](_0x7a58cb[_0x2e2251(0x1c8)]):_0x7a58cb[_0x2e2251(0x22b)][_0x2e2251(0x260)];}[_0x4be8b8(0x25a)](_0x3588ee,_0x251536){const _0x53dfc2=_0x4be8b8;return _0x53dfc2(0x26c)===_0x3588ee[_0x53dfc2(0x1ff)]?_0x3588ee[_0x53dfc2(0x20d)]=_0x3588ee[_0x53dfc2(0x20d)][_0x53dfc2(0x281)](_0x251536):_0x53dfc2(0x22f)===_0x3588ee[_0x53dfc2(0x1ff)]&&_0x3588ee[_0x53dfc2(0x22b)]&&(_0x3588ee[_0x53dfc2(0x22b)]=new _0x16d84a(_0x3588ee[_0x53dfc2(0x22b)][_0x53dfc2(0x241)][_0x53dfc2(0x281)](_0x251536),_0x3588ee[_0x53dfc2(0x22b)][_0x53dfc2(0x260)][_0x53dfc2(0x281)](_0x251536))),_0x3588ee;}[_0x4be8b8(0x19d)](_0x4b65c5,_0x3db01f){const _0x15eff4=_0x4be8b8;_0x15eff4(0x26c)===_0x4b65c5[_0x15eff4(0x1ff)]?_0x4b65c5[_0x15eff4(0x20d)]=this[_0x15eff4(0x284)](_0x4b65c5[_0x15eff4(0x20d)],_0x3db01f):_0x15eff4(0x22f)===_0x4b65c5[_0x15eff4(0x1ff)]&&_0x4b65c5[_0x15eff4(0x22b)]&&(_0x4b65c5[_0x15eff4(0x22b)]=this[_0x15eff4(0x216)](_0x4b65c5[_0x15eff4(0x22b)],_0x3db01f));}[_0x4be8b8(0x284)](_0x3f1a53,_0xf9dc29){const _0x542f2c=_0x4be8b8;return new _0x563f6e(_0xf9dc29,_0x3f1a53[_0x542f2c(0x1f8)]);}[_0x4be8b8(0x216)](_0x17768f,_0x4dda31){const _0x438e71=_0x4be8b8;return new _0x16d84a(this[_0x438e71(0x284)](_0x17768f[_0x438e71(0x241)],_0x4dda31),this[_0x438e71(0x284)](_0x17768f[_0x438e71(0x260)],_0x4dda31));}[_0x4be8b8(0x1ad)](_0x3d8c9a,_0x357d16){return new _0x563f6e(_0x357d16,[..._0x3d8c9a]);}[_0x4be8b8(0x1cf)](_0x42a0cc,_0x315ccc,_0xba04ee,_0x7ec0b1){const _0x2a1d7a=_0x4be8b8;return new _0x16d84a(this[_0x2a1d7a(0x1ad)](_0x315ccc,_0x7ec0b1),this[_0x2a1d7a(0x1ad)](_0xba04ee,_0x7ec0b1));}[_0x4be8b8(0x226)](_0x5e82ea){const _0x101a2a=_0x4be8b8,_0x1f99a7=_0x2946be=>{const _0x2b3b3e=_0x3c8d;switch(_0x2946be){case _0x2b3b3e(0x26c):return 0x0;case _0x2b3b3e(0x1db):return 0x1;case _0x2b3b3e(0x209):return 0x2;case _0x2b3b3e(0x18e):return 0x3;}};return _0x5e82ea[_0x101a2a(0x188)]((_0x266a96,_0xeeed20)=>_0x1f99a7(_0x266a96[_0x101a2a(0x1ff)])-_0x1f99a7(_0xeeed20[_0x101a2a(0x1ff)]));}[_0x4be8b8(0x270)](_0x2c90f8,_0xfc53ef){const _0x1a98da=_0x4be8b8,_0x5f3914=_0x2c90f8[_0x1a98da(0x22c)](0x0),_0x2cefc7=_0xfc53ef[_0x1a98da(0x22c)](0x0);return!(!_0x5f3914||!_0x2cefc7)&&((!_0x5f3914['is'](_0x1a98da(0x196))||!_0x2cefc7['is'](_0x1a98da(0x196))||_0x5f3914[_0x1a98da(0x18a)]===_0x2cefc7[_0x1a98da(0x18a)])&&!(_0x5f3914['is'](_0x1a98da(0x196))&&!_0x2cefc7['is'](_0x1a98da(0x196))||!_0x5f3914['is'](_0x1a98da(0x196))&&_0x2cefc7['is'](_0x1a98da(0x196))));}[_0x4be8b8(0x1c6)](_0x1c2e1a){const _0x2a6f81=_0x4be8b8;return 0x1===_0x1c2e1a[_0x2a6f81(0x1ce)];}[_0x4be8b8(0x1f2)](_0xb673f9,_0x3e381c){const _0x3adc4c=_0x4be8b8;for(const _0x5525a4 of _0xb673f9[_0x3adc4c(0x228)]())if(_0x5525a4['is'](_0x3adc4c(0x196))&&!_0x3e381c[_0x3adc4c(0x19a)](_0x5525a4))return!0x1;return!0x0;}[_0x4be8b8(0x1ac)](_0x4b62ac,_0x953d1d){const _0x543222=_0x4be8b8;let _0x3f0f8f=_0x4b62ac[_0x543222(0x20a)](_0x539ba8);return _0x3f0f8f||(_0x3f0f8f=_0x953d1d(),_0x4b62ac[_0x543222(0x18f)](_0x539ba8,_0x3f0f8f)),_0x3f0f8f;}}
|
|
23
|
+
const _0x506d29=_0x20b3;(function(_0x1b33e7,_0x54835e){const _0x46ad86=_0x20b3,_0x3f2ffe=_0x1b33e7();while(!![]){try{const _0x576ed7=-parseInt(_0x46ad86(0x1d4))/0x1*(parseInt(_0x46ad86(0x193))/0x2)+parseInt(_0x46ad86(0x18e))/0x3*(-parseInt(_0x46ad86(0x109))/0x4)+-parseInt(_0x46ad86(0x17a))/0x5*(parseInt(_0x46ad86(0x150))/0x6)+-parseInt(_0x46ad86(0x170))/0x7*(parseInt(_0x46ad86(0x11c))/0x8)+-parseInt(_0x46ad86(0x1f3))/0x9*(-parseInt(_0x46ad86(0x113))/0xa)+parseInt(_0x46ad86(0x125))/0xb*(-parseInt(_0x46ad86(0x139))/0xc)+parseInt(_0x46ad86(0x1d6))/0xd;if(_0x576ed7===_0x54835e)break;else _0x3f2ffe['push'](_0x3f2ffe['shift']());}catch(_0x17e69a){_0x3f2ffe['push'](_0x3f2ffe['shift']());}}}(_0x46d9,0x8dc43));import{InsertOperation as _0x13d9ab,MarkerOperation as _0x12aca5,ModelDocumentFragment as _0x1c8311,ModelPosition as _0x28a74a,ModelRange as _0x49b240,ModelTreeWalker as _0xae663,transformOperationSets as _0x1b610b}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x365569,EmitterMixin as _0x549d25,uid as _0x3130cb}from'ckeditor5/src/utils.js';function _0x46d9(){const _0x25bc9c=['createRangeOn','_removeAttribute','operationsIsolated','clearAllMarkers','_changePosition','afterInit','closest','applyChange','isBlock','history','setAllMarkersAsInactive','includes','path','createRange','className','span','ck-ai_review-marker_context-end','listenTo','createPositionAt','_parseMarkerName','6354TQtgFs','baseVersion','split','AIEditing','addMarker','suggestion:insertion:id:authorId:','clone','registerPostFixer','_activeMarkers','disableReadOnlyMode','remove-text','_getPositionLimitingRange','containsRange','suggestion:deletion:id:authorId:','emitter','getMarkerElementForChange','_createGetContentUsingDataIdFn','toView','content','howMany','oldRange','_clone','end','change','getAttribute','review-','ck-ai_review-marker_hide','isOfficialPlugin','remove-only','rootName','ck-ai_review-marker_context-','isTouching','map','setMarkersInElementAsActive','_hasSameTopLevelElement','isInline','changeMarkerRestored','isDocumentOperation','domConverter','4kgbKIw','_findMarkerElementById','mouseover','isAtStart','asString','_findMarkerElement','createPositionAfter','newRange','pop','editingDowncast','890YjicDm','addOperation','reactivateMarkers','ck-ai_review__change_active','[data-marker-id=\x22','No\x20element\x20found\x20for\x20ID:\x20','document','$markedRemove:synthetic','outside','305464lmClpv','htmlProcessor','markers','getDomRoot','createDocumentFragment','every','_createGetContextFn','getChangedMarkers','ck-ai_review-marker_strikethrough','2299JyCVmb','getEditor','markerToHighlight','containerElement','_haveSingleTopLevelElement','processor','forEach','markChangePositionInEditorContent','root','_createGetContentFn','isIntersecting','getHtml','documentFragment','attributeToAttribute','join','\x20ck-ai_review__change_active','data-marker-id','body','_getChangeContext','startsWith','13584qVstYn','keys','_getOperationEnd','downcast','markerToElement','index','offset','ck-ai_review-marker_add','changeMarkerRemoved','offsetSize','markerName','$root','operations','_domEmitter','innerHTML','_validateMarkers','deleteContent','view','conversion','editing','length','insertContent','get','371964SczGTm','relatedTarget','_setAttribute','_removeChildren','operationsA','getShiftedBy','$documentFragment','name','sort','remove-context','_markers','isPremiumPlugin','insert','rejectChange','$textProxy','_changePositionOwnerDocument','isOpening','changeMarkerBlurred','flat','hasAttribute','isLimit','createRawElement','createSelection','model','[data-id=\x22','marker','batch','getContentElementForChange','forward','getEditableElement','for','ai-review','189LGCuhE','isAtEnd','_groupAdjacentOperations','clear','applyOperation','add','ellipsisBefore','changeMarkerClicked','append','elements','15pqZgiN','htmlWriter','switchToEdit','createUIElement','fire','_appendChild','ellipsisAfter','_haveOnlyInlineContent','groupId','exec','removeMarker','remove','getStart','element','asFragment','toDomElement','reconvertMarker','has','nodes','filter','241341rctJFD','backward','affectsData','from','_findAdjacentContextDistance','12iNEYFe','parse','getRoots','hasContentAfter','_getMarkersDataForGroup','toData','size','hasClass','concat','_insertMarkers','jumpTo','_eventEmitter','getOperations','$markedRemove','suggestion-context','warn','start','diffContent','parentElement','mouseup','_translateOperationToEditorContent','hasContentBefore','_sortMarkers','_nextDataId','outerHTML','_handleMarkerChanges','highest','_changeRange','getChanges','set','stringify','ck-ai_review-marker_','position','.ck-reset.ck-ai_review-balloon-panel-suggestion','ck-ai_review-marker_underline','AIReviewCoreEditing','viewToDom','_upsertDataId','version','_shiftOperation','dataDowncast','querySelector','DocumentCompare','getRoot','getDiff','_getOperationStart','values','changeMarkerHovered','getChildren','data','schema','requires','childCount','differ','inside','pluginName','_changeRangeOwnerDocument','getDocumentData','delete','$graveyard','target','context','plugins','createRangeIn','parent','95582ITVjjp','switchToReadOnly','34128783vLBzVw','push','_changeOperationOwnerDocument','getChild','ck-ai_review-marker_context-start','enableReadOnlyMode','type','getPath','getRange'];_0x46d9=function(){return _0x25bc9c;};return _0x46d9();}import{ContextPlugin as _0x301ea4}from'ckeditor5/src/core.js';import{DocumentCompare as _0x5f580d,DATA_ID_MODEL_ATTRIBUTE as _0x59a599,DATA_ID_VIEW_ATTRIBUTE as _0x4c6d77,getMarkerDomElement as _0x289583}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x84ba8}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x421597}from'../aicore/aiediting.js';import{debounce as _0x3ecce9}from'es-toolkit/compat';function _0x20b3(_0x25d81e,_0x4101fd){const _0x46d902=_0x46d9();return _0x20b3=function(_0x20b338,_0x37bf00){_0x20b338=_0x20b338-0xf5;let _0xd85813=_0x46d902[_0x20b338];return _0xd85813;},_0x20b3(_0x25d81e,_0x4101fd);}const fe=_0x506d29(0xfb);export class AIReviewCoreEditing extends _0x301ea4{static get[_0x506d29(0x1c6)](){return[_0x5f580d,_0x421597];}static get[_0x506d29(0x1ca)](){const _0x100445=_0x506d29;return _0x100445(0x1b6);}static get[_0x506d29(0xfd)](){return!0x0;}static get[_0x506d29(0x15b)](){return!0x0;}[_0x506d29(0x15a)]=new Map();[_0x506d29(0x1fb)]=new Set();[_0x506d29(0x146)];[_0x506d29(0x19e)];constructor(_0x48b359){const _0x391d31=_0x506d29;super(_0x48b359),this[_0x391d31(0x146)]=new(_0x365569())(),this[_0x391d31(0x19e)]=new(_0x549d25())();}get[_0x506d29(0x201)](){const _0x4cf210=_0x506d29;return this[_0x4cf210(0x19e)];}[_0x506d29(0x1e4)](){const _0x1f845d=_0x506d29,_0x5bcdee=_0x84ba8(this[_0x1f845d(0x1d0)]);_0x5bcdee[_0x1f845d(0x14b)][_0x1f845d(0x16e)](_0x1f845d(0x112))[_0x1f845d(0x13d)]({'model':fe+_0x1f845d(0x15c),'view':(_0x4251f7,{writer:_0x2f1a7d})=>{const _0x4876f1=_0x1f845d,_0xd547c2=this[_0x4876f1(0x15a)][_0x4876f1(0x14f)](_0x4251f7[_0x4876f1(0x143)]),_0x5af91d={'class':_0x4876f1(0x140)+(this[_0x4876f1(0x1fb)][_0x4876f1(0x18b)](_0xd547c2?.['id']||'')?_0x4876f1(0x134):''),'data-marker-id':_0x4251f7[_0x4876f1(0x143)]};return _0x2f1a7d[_0x4876f1(0x17d)](_0x4876f1(0x1ee),_0x5af91d,function(_0x2d2488){const _0x3a52f2=_0x4876f1,_0x56d558=this[_0x3a52f2(0x189)](_0x2d2488);return _0x56d558[_0x3a52f2(0x147)]=_0xd547c2?.[_0x3a52f2(0x205)]?.[_0x3a52f2(0x10d)]||'',_0x56d558;});}}),_0x5bcdee[_0x1f845d(0x14b)][_0x1f845d(0x16e)](_0x1f845d(0x112))[_0x1f845d(0x127)]({'model':fe+_0x1f845d(0xfe),'view':_0x4b759a=>{const _0x576cfc=_0x1f845d,_0x490a41=this[_0x576cfc(0x15a)][_0x576cfc(0x14f)](_0x4b759a[_0x576cfc(0x143)]),_0x182c47=[_0x576cfc(0x124)];return this[_0x576cfc(0x1fb)][_0x576cfc(0x18b)](_0x490a41?.['id']||'')&&_0x182c47[_0x576cfc(0x1d7)](_0x576cfc(0x116)),{'classes':_0x182c47,'attributes':{'data-marker-id':_0x4b759a[_0x576cfc(0x143)]}};}}),_0x5bcdee[_0x1f845d(0x14b)][_0x1f845d(0x16e)](_0x1f845d(0x112))[_0x1f845d(0x127)]({'model':fe+_0x1f845d(0x159),'view':_0x1ff346=>{const _0x2c4a87=_0x1f845d,_0x43e1a2=this[_0x2c4a87(0x15a)][_0x2c4a87(0x14f)](_0x1ff346[_0x2c4a87(0x143)]),_0x1c16bf=[_0x2c4a87(0x1b5)];return this[_0x2c4a87(0x1fb)][_0x2c4a87(0x18b)](_0x43e1a2?.['id']||'')&&_0x1c16bf[_0x2c4a87(0x1d7)](_0x2c4a87(0x116)),{'classes':_0x1c16bf,'attributes':{'data-marker-id':_0x1ff346[_0x2c4a87(0x143)]}};}}),_0x5bcdee[_0x1f845d(0x14b)][_0x1f845d(0x16e)](_0x1f845d(0x112))[_0x1f845d(0x127)]({'model':fe+_0x1f845d(0x1fd),'view':_0x11af6f=>{const _0x16d23b=_0x1f845d,_0x281e98=this[_0x16d23b(0x15a)][_0x16d23b(0x14f)](_0x11af6f[_0x16d23b(0x143)]),_0x4fc038=[_0x16d23b(0xfc)];return this[_0x16d23b(0x1fb)][_0x16d23b(0x18b)](_0x281e98?.['id']||'')&&_0x4fc038[_0x16d23b(0x1d7)](_0x16d23b(0x116)),{'classes':_0x4fc038,'attributes':{'data-marker-id':_0x11af6f[_0x16d23b(0x143)]}};}}),_0x5bcdee[_0x1f845d(0x14b)][_0x1f845d(0x16e)](_0x1f845d(0x1bb))[_0x1f845d(0x13d)]({'model':fe+_0x1f845d(0x1a1),'view':(_0x5a216a,{writer:_0x32ed01})=>_0x32ed01[_0x1f845d(0x165)](_0x1f845d(0x1ee),{'class':_0x1f845d(0x100)+(_0x5a216a[_0x1f845d(0x160)]?_0x1f845d(0x1a3):_0x1f845d(0xf8))})}),_0x5bcdee[_0x1f845d(0x14b)][_0x1f845d(0x16e)](_0x1f845d(0x13c))[_0x1f845d(0x132)]({'model':_0x59a599,'view':_0x4c6d77});const _0x467594=_0x5bcdee['ui'][_0x1f845d(0x16d)]()||document[_0x1f845d(0x136)];this[_0x1f845d(0x146)][_0x1f845d(0x1f0)](_0x467594,_0x1f845d(0x1a6),(_0x5e542f,_0x1c1fb9)=>{const _0x3eb36f=_0x1f845d,_0x118b03=_0x1c1fb9[_0x3eb36f(0x1cf)],_0x1ca9b9=this[_0x3eb36f(0x10e)](_0x118b03);if(!_0x1ca9b9)return;const _0x4f41a9=_0x1ca9b9[_0x3eb36f(0xfa)](_0x3eb36f(0x135)),_0x1c2154=_0x4f41a9[_0x3eb36f(0x1f5)](':')[_0x3eb36f(0x111)]()?.[_0x3eb36f(0x1f5)]('_')[0x0];this[_0x3eb36f(0x19e)][_0x3eb36f(0x17e)](_0x3eb36f(0x177),{'markerId':_0x4f41a9,'changeId':_0x1c2154,'markerElement':()=>this[_0x3eb36f(0x10a)](_0x4f41a9),'domEvent':_0x1c1fb9});},{'usePassive':!0x0,'priority':_0x1f845d(0x1ad)}),this[_0x1f845d(0x146)][_0x1f845d(0x1f0)](_0x467594,_0x1f845d(0x10b),(_0x3edb91,_0x366afc)=>{const _0x2648be=_0x1f845d,_0x394dda=_0x366afc[_0x2648be(0x1cf)],_0x172716=_0x366afc[_0x2648be(0x151)];let _0x3c6465=this[_0x2648be(0x10e)](_0x394dda);if(!_0x3c6465&&_0x172716&&(_0x3c6465=this[_0x2648be(0x10e)](_0x172716)),!_0x3c6465)return;const _0x39f4da=_0x3c6465[_0x2648be(0xfa)](_0x2648be(0x135)),_0x1e9262=_0x39f4da[_0x2648be(0x1f5)](':')[_0x2648be(0x111)]()?.[_0x2648be(0x1f5)]('_')[0x0];this[_0x2648be(0x19e)][_0x2648be(0x17e)](_0x2648be(0x1c2),{'changeId':_0x1e9262,'markerElement':()=>this[_0x2648be(0x10a)](_0x39f4da),'domEvent':_0x366afc});}),this[_0x1f845d(0x146)][_0x1f845d(0x1f0)](document,_0x1f845d(0x10b),_0x3ecce9((_0x2b8c4a,_0x593d54)=>{const _0x58637c=_0x1f845d,_0x158e5e=_0x593d54[_0x58637c(0x1cf)];if(this[_0x58637c(0x10e)](_0x158e5e))return;_0x158e5e[_0x58637c(0x1e5)](_0x58637c(0x1b4))||this[_0x58637c(0x19e)][_0x58637c(0x17e)](_0x58637c(0x161));},0xc8)),_0x5bcdee[_0x1f845d(0x167)][_0x1f845d(0x119)][_0x1f845d(0x1fa)](_0x7774f2=>this[_0x1f845d(0x148)](_0x5bcdee,_0x7774f2)),_0x5bcdee[_0x1f845d(0x167)][_0x1f845d(0x119)]['on'](_0x1f845d(0xf9),()=>this[_0x1f845d(0x1ac)](_0x5bcdee));}[_0x506d29(0x1cc)](){const _0x3c6dbc=_0x506d29,_0x49314d=this[_0x3c6dbc(0x1d0)][_0x3c6dbc(0x1d1)][_0x3c6dbc(0x14f)](_0x3c6dbc(0x1f6)),_0x3ecdb7=_0x84ba8(this[_0x3c6dbc(0x1d0)]),_0x2f2bd=_0x3ecdb7[_0x3c6dbc(0x167)],_0xbb2021=new _0x1c8311();for(const _0x384cb5 of _0x2f2bd[_0x3c6dbc(0x119)][_0x3c6dbc(0x1be)]()[_0x3c6dbc(0x1c3)]()){const _0x5d14a5=_0x384cb5[_0x3c6dbc(0xf7)](!0x0);_0xbb2021[_0x3c6dbc(0x17f)](_0x5d14a5);}for(const _0x16a4af of _0x2f2bd[_0x3c6dbc(0x11e)])_0xbb2021[_0x3c6dbc(0x11e)][_0x3c6dbc(0x1b0)](_0x16a4af[_0x3c6dbc(0x157)],this[_0x3c6dbc(0x1cb)](_0x16a4af[_0x3c6dbc(0x1de)]()[_0x3c6dbc(0x1f9)](),_0xbb2021));const _0x47d853=new _0xae663({'ignoreElementEnd':!0x0,'startPosition':_0x2f2bd[_0x3c6dbc(0x1f1)](_0xbb2021,0x0)}),_0x52d10d=new Set(),_0x456006=new Map();for(const {item:_0x2fdc6e}of _0x47d853){if(!_0x2fdc6e['is'](_0x3c6dbc(0x15e)))continue;const _0x8c1dd5=_0x2fdc6e[_0x3c6dbc(0x1d3)];if(_0x8c1dd5&&_0x8c1dd5['is'](_0x3c6dbc(0x187))){const _0x2c6a4c=this[_0x3c6dbc(0x1b8)](_0x8c1dd5,()=>_0x49314d[_0x3c6dbc(0x1aa)](_0x52d10d));_0x52d10d[_0x3c6dbc(0x175)](_0x2c6a4c);for(const _0x559ded of _0x8c1dd5[_0x3c6dbc(0x1c3)]())_0x559ded['is'](_0x3c6dbc(0x187))&&_0x52d10d[_0x3c6dbc(0x175)](this[_0x3c6dbc(0x1b8)](_0x559ded,()=>_0x49314d[_0x3c6dbc(0x1aa)](_0x52d10d)));let _0x187152=_0x8c1dd5;for(;_0x187152[_0x3c6dbc(0x1d3)]&&!_0x187152[_0x3c6dbc(0x1d3)]['is'](_0x3c6dbc(0x131));)_0x187152=_0x187152[_0x3c6dbc(0x1d3)],_0x187152[_0x3c6dbc(0x163)](_0x59a599)&&_0x187152[_0x3c6dbc(0x1e0)](_0x59a599);_0x456006[_0x3c6dbc(0x1b0)](_0x2c6a4c,{'path':_0x8c1dd5[_0x3c6dbc(0x1dd)](),'getContent':this[_0x3c6dbc(0x203)](_0x187152[_0x3c6dbc(0xf7)](!0x0),_0x2c6a4c,_0x3ecdb7[_0x3c6dbc(0x1c4)])}),_0x47d853[_0x3c6dbc(0x19d)](_0x2f2bd[_0x3c6dbc(0x10f)](_0x8c1dd5));}}return{'content':_0x3ecdb7[_0x3c6dbc(0x1c4)][_0x3c6dbc(0x12a)][_0x3c6dbc(0x198)](_0x3ecdb7[_0x3c6dbc(0x1c4)][_0x3c6dbc(0x204)](_0xbb2021)),'version':_0x3ecdb7[_0x3c6dbc(0x167)][_0x3c6dbc(0x119)][_0x3c6dbc(0x1b9)],'elements':_0x456006};}[_0x506d29(0x1a4)](_0x67062a,_0x3e5290,_0x24c6fd=!0x1){const _0x2f7bb5=_0x506d29,_0xad44a4=[],_0x3a7816=_0x84ba8(this[_0x2f7bb5(0x1d0)]),_0x2d4d94=_0x3a7816[_0x2f7bb5(0x1c4)][_0x2f7bb5(0x194)](_0x3e5290,_0x2f7bb5(0x156)),_0x59554b=_0x3a7816[_0x2f7bb5(0x1c4)][_0x2f7bb5(0x194)](_0x67062a,_0x2f7bb5(0x156)),_0x385a8d=_0x3a7816[_0x2f7bb5(0x167)][_0x2f7bb5(0x1f1)](_0x59554b,0x0);if(this[_0x2f7bb5(0x129)](_0x2d4d94)){if(!this[_0x2f7bb5(0x104)](_0x59554b,_0x2d4d94))return _0xad44a4;}else{const _0x3894dd=_0x3a7816[_0x2f7bb5(0x167)][_0x2f7bb5(0x1c5)];if(!this[_0x2f7bb5(0x181)](_0x59554b,_0x3894dd)||!this[_0x2f7bb5(0x181)](_0x2d4d94,_0x3894dd))return _0xad44a4;}const _0x1208fa=this[_0x2f7bb5(0x1d0)][_0x2f7bb5(0x1d1)][_0x2f7bb5(0x14f)](_0x2f7bb5(0x1bd))[_0x2f7bb5(0x1bf)](_0x67062a,_0x3e5290,{'anchor':_0x385a8d,'markDeletions':!0x0})[_0x2f7bb5(0x19f)]()[_0x2f7bb5(0x18d)](_0x28e79a=>_0x2f7bb5(0x15c)===_0x28e79a[_0x2f7bb5(0x1dc)]||_0x2f7bb5(0x169)===_0x28e79a[_0x2f7bb5(0x1dc)]&&_0x28e79a[_0x2f7bb5(0x157)][_0x2f7bb5(0x138)](_0x2f7bb5(0x1a0))),_0xed6032=this[_0x2f7bb5(0x172)](_0x1208fa),_0xc7f77c=[];if(_0x24c6fd){if(_0xed6032[_0x2f7bb5(0x14d)]){const _0x1be6af=_0xed6032[0x0][_0x2f7bb5(0x145)][0x0],_0x17e417=_0x2f7bb5(0x15c)===_0x1be6af[_0x2f7bb5(0x1dc)]?_0x1be6af[_0x2f7bb5(0x1b3)]:_0x1be6af[_0x2f7bb5(0x110)][_0x2f7bb5(0x1a3)],_0x4daff4=this[_0x2f7bb5(0x1fe)](_0x17e417,_0x3a7816,_0x2f7bb5(0x1c9)),_0x41c1f8=_0x4daff4?_0x2d4d94[_0x2f7bb5(0x1d9)](0x0)[_0x2f7bb5(0x1c3)]():_0x2d4d94[_0x2f7bb5(0x1c3)](),_0x52c44c=_0x4daff4||_0x3a7816[_0x2f7bb5(0x167)][_0x2f7bb5(0x1d2)](_0x59554b),_0x327d97=[new _0x12aca5(_0x2f7bb5(0x11a)+_0x3130cb(),null,_0x52c44c,_0x3a7816[_0x2f7bb5(0x167)][_0x2f7bb5(0x119)][_0x2f7bb5(0x167)][_0x2f7bb5(0x11e)],!0x0,_0x3a7816[_0x2f7bb5(0x167)][_0x2f7bb5(0x119)][_0x2f7bb5(0x1b9)]+0x1),new _0x13d9ab(_0x52c44c[_0x2f7bb5(0xf8)],_0x41c1f8,_0x3a7816[_0x2f7bb5(0x167)][_0x2f7bb5(0x119)][_0x2f7bb5(0x1b9)]+0x2)];_0xc7f77c[_0x2f7bb5(0x1d7)]({'operations':_0x327d97,'operationsIsolated':_0x327d97,'groupOffset':0x0});}}else _0xc7f77c[_0x2f7bb5(0x1d7)](..._0xed6032);let _0x2aa85e=0x0;return _0x3a7816[_0x2f7bb5(0x167)][_0x2f7bb5(0xf9)](_0x24d4da=>{const _0x2796b8=_0x2f7bb5;for(let _0x5ce654=0x0;_0x5ce654<_0xc7f77c[_0x2796b8(0x14d)];_0x5ce654++){const _0x4a8029=_0xc7f77c[_0x5ce654],_0x44d828=_0x24d4da[_0x2796b8(0x120)]();for(const _0x2c83c4 of _0x59554b[_0x2796b8(0x1c3)]())_0x24d4da[_0x2796b8(0x178)](_0x2c83c4[_0x2796b8(0xf7)](!0x0),_0x44d828);for(const _0x16a379 of _0x4a8029[_0x2796b8(0x1e1)])if(_0x2796b8(0x15c)===_0x16a379[_0x2796b8(0x1dc)]){const _0x1cf560=_0x16a379;_0x1cf560[_0x2796b8(0x1f4)]=null,_0x1cf560[_0x2796b8(0x107)]=!0x1,this[_0x2796b8(0x1d8)](_0x1cf560,_0x44d828),_0x24d4da[_0x2796b8(0x16a)][_0x2796b8(0x114)](_0x16a379),_0x3a7816[_0x2796b8(0x167)][_0x2796b8(0x174)](_0x16a379);const _0x3eb674=_0x2796b8(0x1f8)+_0x2aa85e++,_0x39fb03=_0x3a7816[_0x2796b8(0x167)][_0x2796b8(0x1ec)](_0x1cf560[_0x2796b8(0x1b3)],_0x1cf560[_0x2796b8(0x1b3)][_0x2796b8(0x155)](_0x1cf560[_0x2796b8(0xf5)]));_0x44d828[_0x2796b8(0x11e)][_0x2796b8(0x1b0)](_0x3eb674,_0x39fb03);}else{if(_0x2796b8(0x169)===_0x16a379[_0x2796b8(0x1dc)]&&_0x16a379[_0x2796b8(0x157)][_0x2796b8(0x138)](_0x2796b8(0x1a0))){const _0x2204bb=_0x16a379,_0xdf730=_0x2796b8(0x200)+_0x2aa85e++;this[_0x2796b8(0x1d8)](_0x2204bb,_0x44d828),_0x44d828[_0x2796b8(0x11e)][_0x2796b8(0x1b0)](_0xdf730,_0x2204bb[_0x2796b8(0x110)]);}}if(_0x24c6fd)_0xad44a4[_0x2796b8(0x1d7)]({..._0x4a8029,'context':this[_0x2796b8(0x12e)](_0x59554b,_0x3a7816[_0x2796b8(0x1c4)]),'content':this[_0x2796b8(0x12e)](_0x59554b,_0x3a7816[_0x2796b8(0x1c4)])});else{const _0x45d878=this[_0x2796b8(0x137)](this[_0x2796b8(0x15f)](this[_0x2796b8(0x1c0)](_0x4a8029[_0x2796b8(0x1e1)][0x0]),_0x44d828),this[_0x2796b8(0x15f)](this[_0x2796b8(0x13b)](_0x4a8029[_0x2796b8(0x1e1)][_0x4a8029[_0x2796b8(0x1e1)][_0x2796b8(0x14d)]-0x1]),_0x44d828));_0x44d828[_0x2796b8(0x11e)][_0x2796b8(0x1b0)](fe+_0x2796b8(0x1a1),new _0x49b240(_0x45d878[_0x2796b8(0x1a3)],_0x45d878[_0x2796b8(0xf8)])),_0xad44a4[_0x2796b8(0x1d7)]({..._0x4a8029,'context':this[_0x2796b8(0x122)](_0x44d828,_0x3a7816[_0x2796b8(0x1c4)],{'ellipsisBefore':_0x45d878[_0x2796b8(0x1a8)],'ellipsisAfter':_0x45d878[_0x2796b8(0x196)]}),'content':this[_0x2796b8(0x12e)](_0x44d828,_0x3a7816[_0x2796b8(0x1c4)])});}}}),_0xad44a4;}[_0x506d29(0x12c)](_0x42e630,_0xdd72a9){const _0x471089=_0x506d29;if(!_0x42e630[_0x471089(0x14d)])return;const _0x36172c=_0x42e630[0x0][_0x471089(0x1d3)]['id'],_0x23d1ab=_0xdd72a9[_0x471089(0x179)][_0x471089(0x14f)](_0x36172c);if(!_0x23d1ab)return void console[_0x471089(0x1a2)](_0x471089(0x118)+_0x36172c);const _0x1405c7=_0x23d1ab[_0x471089(0x1eb)],_0x4421af=_0x84ba8(this[_0x471089(0x1d0)]),_0x4674c1=_0x4421af[_0x471089(0x167)][_0x471089(0x119)][_0x471089(0x1e8)][_0x471089(0x19f)](_0xdd72a9[_0x471089(0x1b9)]),_0x2289ba=[];for(const _0x1a5757 of _0x42e630){const _0xef8243=_0x1a5757[_0x471089(0x1e1)][_0x471089(0x102)](_0x135a33=>this[_0x471089(0x1a7)](_0x135a33,_0x1405c7,_0x4421af[_0x471089(0x167)][_0x471089(0x119)][_0x471089(0x195)]()[0x0]));if(!_0xef8243||!_0xef8243[_0x471089(0x14d)])continue;const _0x598c87=_0xef8243[_0x471089(0x121)](_0x5252d7=>_0x471089(0x169)===_0x5252d7[_0x471089(0x1dc)]&&_0x5252d7[_0x471089(0x157)][_0x471089(0x138)](_0x471089(0x1a0))),_0x157f0f={'document':_0x4421af[_0x471089(0x167)][_0x471089(0x119)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x299df7=_0x1b610b(_0xef8243,_0x4674c1,_0x157f0f)[_0x471089(0x154)];for(const _0x4346fd of _0x299df7)if(_0x471089(0x15c)===_0x4346fd[_0x471089(0x1dc)]){const _0x2aa798=_0x4346fd,_0x1f0916=_0x2aa798[_0x471089(0x18c)];_0x4421af[_0x471089(0x167)][_0x471089(0xf9)](_0x28d963=>{const _0x3f5615=_0x471089,_0x755d28=_0x28d963[_0x3f5615(0x120)]();for(const _0x15cc2f of _0x1f0916)_0x28d963[_0x3f5615(0x178)](_0x15cc2f[_0x3f5615(0xf7)](!0x0),_0x755d28);_0x2289ba[_0x3f5615(0x1d7)]({'start':_0x2aa798[_0x3f5615(0x1b3)],'end':_0x2aa798[_0x3f5615(0x1b3)],'type':_0x3f5615(0x15c),'groupId':_0x1a5757['id'],'content':{'asString':this[_0x3f5615(0x12e)](_0x755d28,_0x4421af[_0x3f5615(0x1c4)])(),'asFragment':_0x755d28}});});}else{if(_0x471089(0x169)===_0x4346fd[_0x471089(0x1dc)]&&_0x4346fd[_0x471089(0x157)][_0x471089(0x138)](_0x471089(0x1a0))){const _0x51dd13=_0x4346fd;let _0x32e813=_0x471089(0x1fd);if(_0x598c87){const _0x15a108=this[_0x471089(0x192)](_0x51dd13[_0x471089(0x110)][_0x471089(0x1a3)],_0x471089(0x18f),_0x4421af[_0x471089(0x167)][_0x471089(0x1c5)]),_0x5079a1=this[_0x471089(0x192)](_0x51dd13[_0x471089(0x110)][_0x471089(0xf8)],_0x471089(0x16c),_0x4421af[_0x471089(0x167)][_0x471089(0x1c5)]);if(_0x15a108||_0x5079a1){const _0x58473a=_0x51dd13[_0x471089(0x110)][_0x471089(0x1a3)][_0x471089(0x155)](-_0x15a108),_0xbd1389=_0x51dd13[_0x471089(0x110)][_0x471089(0xf8)][_0x471089(0x155)](_0x5079a1);_0x2289ba[_0x471089(0x1d7)]({'start':_0x58473a,'end':_0xbd1389,'groupId':_0x1a5757['id'],'type':_0x471089(0x159)});}else _0x32e813=_0x471089(0xfe);}_0x2289ba[_0x471089(0x1d7)]({'start':_0x51dd13[_0x471089(0x110)][_0x471089(0x1a3)],'end':_0x51dd13[_0x471089(0x110)][_0x471089(0xf8)],'groupId':_0x1a5757['id'],'type':_0x32e813});}}}this[_0x471089(0x19c)](_0x2289ba);}[_0x506d29(0x1e2)](){const _0x5a5cc5=_0x506d29,_0x1bc877=_0x84ba8(this[_0x5a5cc5(0x1d0)]);_0x1bc877[_0x5a5cc5(0x167)][_0x5a5cc5(0xf9)](_0x50515e=>{const _0x1a259a=_0x5a5cc5;for(const _0x52827e of this[_0x1a259a(0x15a)][_0x1a259a(0x13a)]())_0x1bc877[_0x1a259a(0x167)][_0x1a259a(0x11e)][_0x1a259a(0x14f)](_0x52827e)&&_0x50515e[_0x1a259a(0x184)](_0x52827e);}),this[_0x5a5cc5(0x15a)][_0x5a5cc5(0x173)](),this[_0x5a5cc5(0x1fb)][_0x5a5cc5(0x173)]();}[_0x506d29(0x1d5)](){const _0x5662ea=_0x506d29;_0x84ba8(this[_0x5662ea(0x1d0)])[_0x5662ea(0x1db)](_0x5662ea(0x16f));}[_0x506d29(0x17c)](){const _0x50c583=_0x506d29;_0x84ba8(this[_0x50c583(0x1d0)])[_0x50c583(0x1fc)](_0x50c583(0x16f));}[_0x506d29(0x1e6)](_0x174433){const _0x54f087=_0x506d29,_0x2aa739=_0x84ba8(this[_0x54f087(0x1d0)]),_0x53c78c=_0x2aa739[_0x54f087(0x167)],_0x1ee33b=_0x174433[_0x54f087(0x102)](_0x4093ed=>this[_0x54f087(0x197)](_0x4093ed))[_0x54f087(0x162)]();_0x53c78c[_0x54f087(0xf9)](_0x155beb=>{const _0x581bc9=_0x54f087;for(const _0x4ee25d of _0x1ee33b){const _0x357db9=_0x2aa739[_0x581bc9(0x167)][_0x581bc9(0x11e)][_0x581bc9(0x14f)](_0x4ee25d['id']);if(_0x357db9){if(_0x581bc9(0x15c)===_0x4ee25d[_0x581bc9(0x1dc)]){if(!_0x4ee25d[_0x581bc9(0x205)])continue;_0x53c78c[_0x581bc9(0x14e)](_0x4ee25d[_0x581bc9(0x205)][_0x581bc9(0x188)]||null,_0x357db9[_0x581bc9(0x1de)]()[_0x581bc9(0x1a3)]);}else _0x581bc9(0x1fd)!==_0x4ee25d[_0x581bc9(0x1dc)]&&_0x581bc9(0xfe)!==_0x4ee25d[_0x581bc9(0x1dc)]||_0x53c78c[_0x581bc9(0x149)](_0x53c78c[_0x581bc9(0x166)](_0x357db9[_0x581bc9(0x1de)]()));_0x155beb[_0x581bc9(0x184)](_0x4ee25d['id']),this[_0x581bc9(0x15a)][_0x581bc9(0x1cd)](_0x4ee25d['id']);}}});}[_0x506d29(0x15d)](_0x5ca59b){const _0x1f2318=_0x506d29,_0x3f2b93=_0x84ba8(this[_0x1f2318(0x1d0)]),_0x414f6f=this[_0x1f2318(0x197)](_0x5ca59b);_0x3f2b93[_0x1f2318(0x167)][_0x1f2318(0xf9)](_0x22688a=>{const _0x4779be=_0x1f2318;for(const _0x5acaeb of _0x414f6f)_0x22688a[_0x4779be(0x184)](_0x5acaeb['id']),this[_0x4779be(0x15a)][_0x4779be(0x1cd)](_0x5acaeb['id']);});}[_0x506d29(0x126)](){const _0x53a730=_0x506d29;return _0x84ba8(this[_0x53a730(0x1d0)]);}[_0x506d29(0x202)](_0x6fd161){const _0x1c4727=_0x506d29,_0x5b0b97=Array[_0x1c4727(0x191)](this[_0x1c4727(0x15a)][_0x1c4727(0x1c1)]())[_0x1c4727(0x18d)](_0x57058b=>_0x57058b[_0x1c4727(0x182)]===_0x6fd161);if(!_0x5b0b97[_0x1c4727(0x14d)])return null;const _0x26c69d=0x1===_0x5b0b97[_0x1c4727(0x14d)]?_0x5b0b97[0x0]:this[_0x1c4727(0x1a9)](_0x5b0b97)[0x0],_0x21720d=_0x84ba8(this[_0x1c4727(0x1d0)])[_0x1c4727(0x167)][_0x1c4727(0x11e)][_0x1c4727(0x14f)](_0x26c69d['id']);if(!_0x21720d)return null;return{'modelRange':_0x21720d[_0x1c4727(0x1de)](),'getElement':()=>this[_0x1c4727(0x10a)](_0x26c69d['id'])};}[_0x506d29(0x16b)](_0x2aa636){const _0x443f11=_0x506d29,_0x3435d0=Array[_0x443f11(0x191)](this[_0x443f11(0x15a)][_0x443f11(0x1c1)]())[_0x443f11(0x18d)](_0x114074=>_0x114074[_0x443f11(0x182)]===_0x2aa636);if(!_0x3435d0[_0x443f11(0x14d)])return null;const _0x5ef0a6=0x1===_0x3435d0[_0x443f11(0x14d)]?_0x3435d0[0x0]:this[_0x443f11(0x1a9)](_0x3435d0)[0x0],_0x40faf1=_0x84ba8(this[_0x443f11(0x1d0)]),_0x14b2cd=_0x40faf1[_0x443f11(0x167)][_0x443f11(0x11e)][_0x443f11(0x14f)](_0x5ef0a6['id']);if(!_0x14b2cd)return null;const _0xd2ea36=_0x14b2cd[_0x443f11(0x1de)](),_0x256bb0=_0x40faf1[_0x443f11(0x14c)][_0x443f11(0x14a)][_0x443f11(0x11f)]();if(!_0x256bb0||!_0xd2ea36)return null;let _0x2f3f17=_0xd2ea36[_0x443f11(0x1a3)][_0x443f11(0x1d3)];for(;_0x2f3f17[_0x443f11(0x1d3)]&&_0x443f11(0x144)!==_0x2f3f17[_0x443f11(0x1d3)][_0x443f11(0x157)];)_0x2f3f17=_0x2f3f17[_0x443f11(0x1d3)];if(!_0x2f3f17||!_0x2f3f17[_0x443f11(0x157)])return null;const _0x4c6560=_0x256bb0[_0x443f11(0x1bc)](_0x443f11(0x117)+_0x5ef0a6['id']+'\x22]');if(!_0x4c6560)return null;let _0x422487=null;_0x40faf1[_0x443f11(0x167)][_0x443f11(0xf9)](_0x14f6cd=>{const _0x17bc0b=_0x443f11;_0x422487=_0x14f6cd[_0x17bc0b(0x120)](),_0x14f6cd[_0x17bc0b(0x178)](_0x2f3f17[_0x17bc0b(0xf7)](!0x0),_0x422487);});const _0x4f8477=_0x40faf1[_0x443f11(0x1c4)][_0x443f11(0x204)](_0x422487)[_0x443f11(0x1d9)](0x0);return _0x4c6560[_0x443f11(0x1e5)](_0x4f8477[_0x443f11(0x157)]);}[_0x506d29(0x115)](_0x12bf8b){const _0x94e6fc=_0x506d29,_0x413938=this[_0x94e6fc(0x197)](_0x12bf8b);if(!_0x413938[_0x94e6fc(0x14d)])return;const _0x4a29e2=Array[_0x94e6fc(0x191)](this[_0x94e6fc(0x1fb)])[_0x94e6fc(0x158)](),_0x390e72=Array[_0x94e6fc(0x191)](new Set(_0x413938[_0x94e6fc(0x102)](_0x331bd7=>_0x331bd7['id'])))[_0x94e6fc(0x158)]();_0x4a29e2[_0x94e6fc(0x133)]('|')!==_0x390e72[_0x94e6fc(0x133)]('|')&&(this[_0x94e6fc(0x1e9)](),this[_0x94e6fc(0x103)](_0x12bf8b));}[_0x506d29(0x103)](_0x2b1c81){const _0x381147=_0x506d29,_0x373273=this[_0x381147(0x197)](_0x2b1c81);if(!_0x373273[_0x381147(0x14d)])return;const _0x2fc356=_0x84ba8(this[_0x381147(0x1d0)]),_0x1e5430=new Set(_0x373273[_0x381147(0x102)](_0x325c6=>_0x325c6['id'])),_0x3c135b=Array[_0x381147(0x191)](_0x1e5430[_0x381147(0x1c1)]())[_0x381147(0x102)](_0x5f4239=>_0x2fc356[_0x381147(0x167)][_0x381147(0x11e)][_0x381147(0x14f)](_0x5f4239))[_0x381147(0x18d)](_0x1d1f8c=>!!_0x1d1f8c);_0x1e5430[_0x381147(0x12b)](_0x2f4683=>{const _0x1a5612=_0x381147;this[_0x1a5612(0x1fb)][_0x1a5612(0x175)](_0x2f4683);}),_0x2fc356[_0x381147(0x167)][_0x381147(0xf9)](()=>{const _0x52fb3b=_0x381147;_0x3c135b[_0x52fb3b(0x12b)](_0x59ffb7=>{const _0x24d97a=_0x52fb3b;_0x2fc356[_0x24d97a(0x14c)][_0x24d97a(0x18a)](_0x59ffb7);});});}[_0x506d29(0x1e9)](){const _0x5c420a=_0x506d29,_0x360554=Array[_0x5c420a(0x191)](this[_0x5c420a(0x1fb)]);if(!_0x360554[_0x5c420a(0x14d)])return;this[_0x5c420a(0x1fb)][_0x5c420a(0x173)]();const _0x54f7e6=_0x84ba8(this[_0x5c420a(0x1d0)]),_0x18e187=_0x360554[_0x5c420a(0x102)](_0x5c45ff=>_0x54f7e6[_0x5c420a(0x167)][_0x5c420a(0x11e)][_0x5c420a(0x14f)](_0x5c45ff))[_0x5c420a(0x18d)](_0x1d78c6=>!!_0x1d78c6);_0x54f7e6[_0x5c420a(0x167)][_0x5c420a(0xf9)](()=>{const _0x488d07=_0x5c420a;_0x18e187[_0x488d07(0x12b)](_0x5bd357=>{const _0x3a1ed4=_0x488d07;_0x54f7e6[_0x3a1ed4(0x14c)][_0x3a1ed4(0x18a)](_0x5bd357);});});}[_0x506d29(0x1fe)](_0x3f4471,_0x213f15,_0x107d77=_0x506d29(0x11b)){const _0x4e3389=_0x506d29;if(!_0x3f4471)return null;let _0xce9933=_0x3f4471[_0x4e3389(0x1d3)];for(;_0xce9933&&_0xce9933[_0x4e3389(0x1d3)]&&_0x4e3389(0x144)!==_0xce9933[_0x4e3389(0x1d3)][_0x4e3389(0x157)]&&!_0x213f15[_0x4e3389(0x167)][_0x4e3389(0x1c5)][_0x4e3389(0x164)](_0xce9933)&&!_0x213f15[_0x4e3389(0x167)][_0x4e3389(0x1c5)][_0x4e3389(0x1e7)](_0xce9933);)_0xce9933=_0xce9933[_0x4e3389(0x1d3)];if(!_0xce9933||!_0xce9933[_0x4e3389(0x157)]||_0x4e3389(0x144)===_0xce9933[_0x4e3389(0x157)])return null;let _0x287d54=null;return _0x213f15[_0x4e3389(0x167)][_0x4e3389(0xf9)](_0x188119=>{const _0x40595a=_0x4e3389;_0x287d54=_0x40595a(0x1c9)===_0x107d77?_0x188119[_0x40595a(0x1d2)](_0xce9933):_0x188119[_0x40595a(0x1df)](_0xce9933);}),_0x287d54;}[_0x506d29(0x148)](_0x545809,_0x162d5e){const _0x2e6b69=_0x506d29,_0x148c77=Array[_0x2e6b69(0x191)](this[_0x2e6b69(0x15a)][_0x2e6b69(0x13a)]()),_0x13dbbf=new Map();for(const _0x140c5b of _0x148c77){const _0x2cb5d5=_0x545809[_0x2e6b69(0x167)][_0x2e6b69(0x11e)][_0x2e6b69(0x14f)](_0x140c5b);if(!_0x2cb5d5)continue;const _0x2d1db4=_0x2cb5d5[_0x2e6b69(0x186)]()[_0x2e6b69(0x1eb)][0x0];_0x13dbbf[_0x2e6b69(0x18b)](_0x2d1db4)||_0x13dbbf[_0x2e6b69(0x1b0)](_0x2d1db4,[]),_0x13dbbf[_0x2e6b69(0x14f)](_0x2d1db4)[_0x2e6b69(0x1d7)](_0x2cb5d5);}const _0x1fdf34=new Set();for(const _0x48b41b of _0x545809[_0x2e6b69(0x167)][_0x2e6b69(0x119)][_0x2e6b69(0x1c8)][_0x2e6b69(0x1af)]()){let _0x331ea2=-0x1,_0x573d6b=null;if(_0x2e6b69(0x15c)===_0x48b41b[_0x2e6b69(0x1dc)])_0x573d6b=new _0x49b240(_0x48b41b[_0x2e6b69(0x1b3)],_0x48b41b[_0x2e6b69(0x1b3)][_0x2e6b69(0x155)](_0x48b41b[_0x2e6b69(0x14d)])),_0x331ea2=_0x48b41b[_0x2e6b69(0x1b3)][_0x2e6b69(0x1eb)][0x0];else{if(_0x2e6b69(0x185)!==_0x48b41b[_0x2e6b69(0x1dc)])continue;_0x573d6b=new _0x49b240(_0x48b41b[_0x2e6b69(0x1b3)]),_0x331ea2=_0x48b41b[_0x2e6b69(0x1b3)][_0x2e6b69(0x1eb)][0x0];}const _0x1f7134=_0x13dbbf[_0x2e6b69(0x14f)](_0x331ea2)||[];if(_0x1f7134[_0x2e6b69(0x14d)]){for(const _0x1697d7 of _0x1f7134)if(_0x573d6b[_0x2e6b69(0x12d)][_0x2e6b69(0xff)]===_0x1697d7[_0x2e6b69(0x1de)]()[_0x2e6b69(0x12d)][_0x2e6b69(0xff)]&&(_0x2e6b69(0x15c)!==_0x48b41b[_0x2e6b69(0x1dc)]||!_0x573d6b[_0x2e6b69(0x1ff)](_0x1697d7[_0x2e6b69(0x1de)]()))&&(_0x573d6b[_0x2e6b69(0x12f)](_0x1697d7[_0x2e6b69(0x1de)]())||_0x573d6b[_0x2e6b69(0x1a3)][_0x2e6b69(0x101)](_0x1697d7[_0x2e6b69(0x1de)]()[_0x2e6b69(0xf8)])||_0x573d6b[_0x2e6b69(0xf8)][_0x2e6b69(0x101)](_0x1697d7[_0x2e6b69(0x1de)]()[_0x2e6b69(0x1a3)]))){const _0x28bf3d=this[_0x2e6b69(0x1f2)](_0x1697d7[_0x2e6b69(0x157)]);Array[_0x2e6b69(0x191)](this[_0x2e6b69(0x15a)][_0x2e6b69(0x1c1)]())[_0x2e6b69(0x18d)](_0x3e8bdb=>_0x3e8bdb[_0x2e6b69(0x182)]===_0x28bf3d[_0x2e6b69(0x182)])[_0x2e6b69(0x12b)](_0x44ae86=>_0x1fdf34[_0x2e6b69(0x175)](_0x44ae86['id']));}}}if(_0x1fdf34[_0x2e6b69(0x199)]){for(const _0xfd9c62 of _0x1fdf34)_0x162d5e[_0x2e6b69(0x184)](_0xfd9c62);return!0x0;}return!0x1;}[_0x506d29(0x1ac)](_0xbda2ba){const _0x134a11=_0x506d29;for(const {name:_0x5f44e9,data:_0x24834c}of _0xbda2ba[_0x134a11(0x167)][_0x134a11(0x119)][_0x134a11(0x1c8)][_0x134a11(0x123)]()){if(!_0x5f44e9[_0x134a11(0x138)](fe))continue;const _0x3ff939=_0x24834c[_0x134a11(0xf6)],_0xcfab19=_0x24834c[_0x134a11(0x110)],_0xe4de4e=_0x3ff939&&_0x134a11(0x1ce)===_0x3ff939[_0x134a11(0x12d)][_0x134a11(0xff)],_0x239253=_0xcfab19&&_0x134a11(0x1ce)===_0xcfab19[_0x134a11(0x12d)][_0x134a11(0xff)];if(_0xe4de4e&&_0x239253)continue;const _0x4937de=this[_0x134a11(0x1f2)](_0x5f44e9);this[_0x134a11(0x15a)][_0x134a11(0x14f)](_0x5f44e9)&&(_0x239253||!_0xcfab19?this[_0x134a11(0x19e)][_0x134a11(0x17e)](_0x134a11(0x141),{'markerId':_0x5f44e9,'changeId':_0x4937de[_0x134a11(0x182)]}):_0xe4de4e&&_0xcfab19&&this[_0x134a11(0x19e)][_0x134a11(0x17e)](_0x134a11(0x106),{'markerId':_0x5f44e9,'changeId':_0x4937de[_0x134a11(0x182)]}));}}[_0x506d29(0x1f2)](_0x12dc88){const _0x1ecfb1=_0x506d29,_0x17d77e=_0x12dc88[_0x1ecfb1(0x1f5)](':'),_0xdc0a2c=(_0x17d77e[0x1]||'')[_0x1ecfb1(0x1f5)]('_');return{'prefix':_0x17d77e[0x0],'groupId':_0xdc0a2c[0x0],'suffix':_0xdc0a2c[0x1]};}[_0x506d29(0x1a7)](_0x520877,_0x149d0d,_0x1a64c2){const _0x42b9dc=_0x506d29;if(_0x42b9dc(0x15c)===_0x520877[_0x42b9dc(0x1dc)]){const _0x1dfbed=_0x520877;return new _0x13d9ab(this[_0x42b9dc(0x1e3)](_0x149d0d[_0x42b9dc(0x19b)](_0x1dfbed[_0x42b9dc(0x1b3)][_0x42b9dc(0x13f)]),_0x1a64c2),_0x1dfbed[_0x42b9dc(0x18c)],_0x1dfbed[_0x42b9dc(0x1f4)]);}if(_0x42b9dc(0x169)===_0x520877[_0x42b9dc(0x1dc)]&&_0x520877[_0x42b9dc(0x157)][_0x42b9dc(0x138)](_0x42b9dc(0x1a0))){const _0x33a9d4=_0x520877;return new _0x12aca5(_0x33a9d4[_0x42b9dc(0x157)],_0x33a9d4[_0x42b9dc(0xf6)],this[_0x42b9dc(0x1ae)](_0x33a9d4[_0x42b9dc(0x110)],_0x149d0d[_0x42b9dc(0x19b)](_0x33a9d4[_0x42b9dc(0x110)][_0x42b9dc(0x1a3)][_0x42b9dc(0x13f)]),_0x149d0d[_0x42b9dc(0x19b)](_0x33a9d4[_0x42b9dc(0x110)][_0x42b9dc(0xf8)][_0x42b9dc(0x13f)]),_0x1a64c2),_0x33a9d4[_0x42b9dc(0x15a)],_0x33a9d4[_0x42b9dc(0x190)],_0x33a9d4[_0x42b9dc(0x1f4)]);}return _0x520877;}[_0x506d29(0x172)](_0x5a29ad){const _0x5e900f=_0x506d29;if(!_0x5a29ad[_0x5e900f(0x14d)])return[];const _0x6e5dc=[];let _0x198a8e=0x0,_0x31e2a4=0x0,_0x3af9b0=[];for(let _0x58080a=0x0;_0x58080a<=_0x5a29ad[_0x5e900f(0x14d)];_0x58080a++){const _0x3cef2c=_0x5a29ad[_0x58080a],_0x41d6d5=_0x5a29ad[_0x58080a-0x1];!_0x3cef2c||_0x41d6d5&&!this[_0x5e900f(0x13b)](_0x41d6d5)[_0x5e900f(0x101)](this[_0x5e900f(0x1c0)](_0x3cef2c))?(_0x6e5dc[_0x5e900f(0x1d7)]({'operations':_0x3af9b0,'operationsIsolated':_0x3af9b0[_0x5e900f(0x102)](_0x293620=>this[_0x5e900f(0x1ba)](_0x293620[_0x5e900f(0x1f9)](),-_0x31e2a4)),'groupOffset':_0x198a8e}),_0x3af9b0=_0x3cef2c?[_0x3cef2c]:[],_0x31e2a4+=_0x198a8e,_0x198a8e=0x0):_0x3af9b0[_0x5e900f(0x1d7)](_0x3cef2c),_0x3cef2c&&_0x5e900f(0x15c)===_0x3cef2c[_0x5e900f(0x1dc)]&&(_0x198a8e+=_0x3cef2c[_0x5e900f(0xf5)]);}return _0x6e5dc;}[_0x506d29(0x192)](_0x1af0ee,_0x46ea26,_0x32c61d,_0x4c771d=0x1){const _0x15e214=_0x506d29,_0x3a32d4=new _0xae663({'startPosition':_0x1af0ee,'direction':_0x46ea26});let _0x1d75f6=0x0;for(let _0x5292e3=0x0;_0x5292e3<_0x4c771d;_0x5292e3++){let _0x22efc1=0x0,_0x599691=!0x1,_0xac50b=_0x15e214(0x16c)===_0x46ea26?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x181631}of _0x3a32d4)if(_0x181631['is'](_0x15e214(0x15e))){const _0x28737c=_0xac50b[_0x15e214(0x183)](_0x181631[_0x15e214(0x1c4)]);if(_0x28737c&&_0x28737c[_0x15e214(0x14d)]){if(_0x22efc1+=_0x15e214(0x16c)===_0x46ea26?_0x28737c[_0x15e214(0x13e)]+_0x28737c[0x0][_0x15e214(0x14d)]:_0x181631[_0x15e214(0x1c4)][_0x15e214(0x14d)]-_0x28737c[_0x15e214(0x13e)],_0x28737c[0x0][_0x15e214(0x14d)]!==_0x181631[_0x15e214(0x1c4)][_0x15e214(0x14d)])break;_0x599691=!0x0,_0xac50b=_0x15e214(0x16c)===_0x46ea26?/^\w+/:/\w+$/;}else{if(_0x599691)break;_0x22efc1+=_0x181631[_0x15e214(0x142)];}}else{if(_0x181631['is'](_0x15e214(0x187))){_0x32c61d[_0x15e214(0x105)](_0x181631)&&!_0x599691&&(_0x22efc1+=0x1);break;}}_0x1d75f6+=_0x22efc1,_0x3a32d4[_0x15e214(0x19d)](_0x1af0ee[_0x15e214(0x155)](_0x15e214(0x16c)===_0x46ea26?_0x1d75f6:-_0x1d75f6));}return _0x1d75f6;}[_0x506d29(0x137)](_0x4001c7,_0x43afd3){const _0x11e418=_0x506d29,_0x132dd0=_0x84ba8(this[_0x11e418(0x1d0)])[_0x11e418(0x167)][_0x11e418(0x1c5)],_0x515d07=this[_0x11e418(0x192)](_0x4001c7,_0x11e418(0x18f),_0x132dd0,0x6),_0x31003f=this[_0x11e418(0x192)](_0x43afd3,_0x11e418(0x16c),_0x132dd0,0x6),_0x249613=_0x4001c7[_0x11e418(0x155)](-_0x515d07),_0x193c0e=_0x43afd3[_0x11e418(0x155)](_0x31003f);return{'start':_0x249613,'end':_0x193c0e,'hasContentBefore':!_0x249613[_0x11e418(0x10c)],'hasContentAfter':!_0x193c0e[_0x11e418(0x171)]};}[_0x506d29(0x19c)](_0x6bf33){const _0x4cc018=_0x506d29,_0x1e5292=this[_0x4cc018(0x1d0)][_0x4cc018(0x1d1)][_0x4cc018(0x14f)](_0x4cc018(0x1f6)),_0xa3a36f=new Set();_0x84ba8(this[_0x4cc018(0x1d0)])[_0x4cc018(0x167)][_0x4cc018(0xf9)](_0x3c1905=>{const _0x12ea45=_0x4cc018;for(const _0x39ee20 of _0x6bf33){const _0x5d1076=''+fe+_0x39ee20[_0x12ea45(0x1dc)]+':'+_0x39ee20[_0x12ea45(0x182)]+'_'+_0x1e5292[_0x12ea45(0x1aa)](_0xa3a36f);this[_0x12ea45(0x15a)][_0x12ea45(0x1b0)](_0x5d1076,{'id':_0x5d1076,'groupId':_0x39ee20[_0x12ea45(0x182)],'type':_0x39ee20[_0x12ea45(0x1dc)],'content':_0x39ee20[_0x12ea45(0x205)]}),_0x3c1905[_0x12ea45(0x1f7)](_0x5d1076,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c1905[_0x12ea45(0x1ec)](_0x39ee20[_0x12ea45(0x1a3)],_0x39ee20[_0x12ea45(0xf8)])});}});}[_0x506d29(0x122)](_0x28b4f2,_0x1dcaab,_0x27562a){let _0x5c1fd0='';return()=>{const _0x330ef5=_0x20b3;if(!_0x5c1fd0){const _0x326b10=_0x1dcaab[_0x330ef5(0x204)](_0x28b4f2,{'showSuggestionHighlights':!0x0});let _0x2373d0=_0x326b10[_0x330ef5(0x1d9)](0x0);if(_0x2373d0['is'](_0x330ef5(0x128))||(_0x2373d0=_0x326b10),!_0x2373d0)return'';let _0x44afa5=!0x1;const _0x1301bf=[];for(const _0x4b2d9d of _0x2373d0[_0x330ef5(0x1c3)]())_0x4b2d9d['is'](_0x330ef5(0x187),_0x330ef5(0x1ee))&&_0x4b2d9d[_0x330ef5(0x19a)](_0x330ef5(0x1ef))&&(_0x44afa5=!0x1),_0x44afa5&&_0x1301bf[_0x330ef5(0x1d7)](_0x4b2d9d),_0x4b2d9d['is'](_0x330ef5(0x187),_0x330ef5(0x1ee))&&_0x4b2d9d[_0x330ef5(0x19a)](_0x330ef5(0x1da))&&(_0x44afa5=!0x0);_0x2373d0[_0x330ef5(0x153)](0x0,_0x2373d0[_0x330ef5(0x1c7)]),_0x27562a?.[_0x330ef5(0x176)]&&_0x2373d0[_0x330ef5(0x17f)]('…'),_0x2373d0[_0x330ef5(0x17f)](_0x1301bf),_0x27562a?.[_0x330ef5(0x180)]&&_0x2373d0[_0x330ef5(0x17f)]('…');const _0x5977c5=_0x1dcaab[_0x330ef5(0x11d)][_0x330ef5(0x108)][_0x330ef5(0x1b7)](_0x326b10),_0x3f0b86=_0x1dcaab[_0x330ef5(0x11d)][_0x330ef5(0x17b)][_0x330ef5(0x130)](_0x5977c5);_0x5c1fd0=_0x3f0b86;}return _0x5c1fd0;};}[_0x506d29(0x12e)](_0x4ab0b6,_0x5c4afc){const _0x4587df=_0x506d29;let _0x2ba61c='';return()=>(_0x2ba61c||(_0x2ba61c=_0x5c4afc[_0x4587df(0x1b1)](_0x4ab0b6,{'showSuggestionHighlights':!0x0})),_0x2ba61c);}[_0x506d29(0x203)](_0x1eeade,_0x5b1ad3,_0x37ad76){let _0x5d1909='';return()=>{const _0x2538d1=_0x20b3;if(!_0x5d1909){const _0x5dfb76=_0x37ad76[_0x2538d1(0x204)](new _0x1c8311(_0x1eeade)),_0x2eabbf=_0x37ad76[_0x2538d1(0x11d)][_0x2538d1(0x108)][_0x2538d1(0x1b7)](_0x5dfb76)[_0x2538d1(0x1bc)](_0x2538d1(0x168)+_0x5b1ad3+'\x22]');_0x5d1909=_0x2eabbf?.[_0x2538d1(0x1ab)]||'';}return _0x5d1909;};}[_0x506d29(0x10e)](_0x33d86d,_0x3dcb57=0x5){const _0xa5518f=_0x506d29;let _0x1c9cbc=_0x33d86d,_0x5e1ea5=null;for(let _0x1b0bc6=0x0;_0x1b0bc6<_0x3dcb57&&_0x1c9cbc;_0x1b0bc6++){if(!_0x1c9cbc[_0xa5518f(0x1ed)]){_0x1c9cbc=_0x1c9cbc[_0xa5518f(0x1a5)];continue;}if(!(''+_0x1c9cbc[_0xa5518f(0x1ed)])[_0xa5518f(0x1ea)](_0xa5518f(0x1b2))){_0x1c9cbc=_0x1c9cbc[_0xa5518f(0x1a5)];continue;}if(!_0x1c9cbc[_0xa5518f(0xfa)](_0xa5518f(0x135)))break;_0x5e1ea5=_0x1c9cbc;break;}return _0x5e1ea5;}[_0x506d29(0x10a)](_0x4a7a5f){const _0x586609=_0x506d29,_0x10ac95=_0x84ba8(this[_0x586609(0x1d0)]),_0x45acb3=_0x10ac95[_0x586609(0x167)][_0x586609(0x11e)][_0x586609(0x14f)](_0x4a7a5f);return _0x45acb3?_0x289583(_0x10ac95[_0x586609(0x14c)],_0x45acb3):null;}[_0x506d29(0x197)](_0x187d10){const _0x51d2c0=_0x506d29;return Array[_0x51d2c0(0x191)](this[_0x51d2c0(0x15a)][_0x51d2c0(0x1c1)]())[_0x51d2c0(0x18d)](_0x4cffab=>_0x4cffab[_0x51d2c0(0x182)]===_0x187d10);}[_0x506d29(0x1c0)](_0x1fe36c){const _0x2c2138=_0x506d29;return _0x2c2138(0x15c)===_0x1fe36c[_0x2c2138(0x1dc)]?_0x1fe36c[_0x2c2138(0x1b3)]:_0x1fe36c[_0x2c2138(0x110)][_0x2c2138(0x1a3)];}[_0x506d29(0x13b)](_0x235805,_0x16e41a=!0x1){const _0x8e34a2=_0x506d29;return _0x8e34a2(0x15c)===_0x235805[_0x8e34a2(0x1dc)]?_0x16e41a?_0x235805[_0x8e34a2(0x1b3)]:_0x235805[_0x8e34a2(0x1b3)][_0x8e34a2(0x155)](_0x235805[_0x8e34a2(0xf5)]):_0x235805[_0x8e34a2(0x110)][_0x8e34a2(0xf8)];}[_0x506d29(0x1ba)](_0x273b7c,_0x336a79){const _0xcf55b8=_0x506d29;return _0xcf55b8(0x15c)===_0x273b7c[_0xcf55b8(0x1dc)]?_0x273b7c[_0xcf55b8(0x1b3)]=_0x273b7c[_0xcf55b8(0x1b3)][_0xcf55b8(0x155)](_0x336a79):_0xcf55b8(0x169)===_0x273b7c[_0xcf55b8(0x1dc)]&&_0x273b7c[_0xcf55b8(0x110)]&&(_0x273b7c[_0xcf55b8(0x110)]=new _0x49b240(_0x273b7c[_0xcf55b8(0x110)][_0xcf55b8(0x1a3)][_0xcf55b8(0x155)](_0x336a79),_0x273b7c[_0xcf55b8(0x110)][_0xcf55b8(0xf8)][_0xcf55b8(0x155)](_0x336a79))),_0x273b7c;}[_0x506d29(0x1d8)](_0x166a25,_0x3c4368){const _0xc4f6cf=_0x506d29;_0xc4f6cf(0x15c)===_0x166a25[_0xc4f6cf(0x1dc)]?_0x166a25[_0xc4f6cf(0x1b3)]=this[_0xc4f6cf(0x15f)](_0x166a25[_0xc4f6cf(0x1b3)],_0x3c4368):_0xc4f6cf(0x169)===_0x166a25[_0xc4f6cf(0x1dc)]&&_0x166a25[_0xc4f6cf(0x110)]&&(_0x166a25[_0xc4f6cf(0x110)]=this[_0xc4f6cf(0x1cb)](_0x166a25[_0xc4f6cf(0x110)],_0x3c4368));}[_0x506d29(0x15f)](_0x24812e,_0x59b456){const _0x1dc941=_0x506d29;return new _0x28a74a(_0x59b456,_0x24812e[_0x1dc941(0x1eb)]);}[_0x506d29(0x1cb)](_0x3e47ad,_0x4d1d8b){const _0x51d0a1=_0x506d29;return new _0x49b240(this[_0x51d0a1(0x15f)](_0x3e47ad[_0x51d0a1(0x1a3)],_0x4d1d8b),this[_0x51d0a1(0x15f)](_0x3e47ad[_0x51d0a1(0xf8)],_0x4d1d8b));}[_0x506d29(0x1e3)](_0x5cf630,_0x57b83b){return new _0x28a74a(_0x57b83b,[..._0x5cf630]);}[_0x506d29(0x1ae)](_0x387481,_0x5182dd,_0x4e14bc,_0x354915){const _0x1f4f8d=_0x506d29;return new _0x49b240(this[_0x1f4f8d(0x1e3)](_0x5182dd,_0x354915),this[_0x1f4f8d(0x1e3)](_0x4e14bc,_0x354915));}[_0x506d29(0x1a9)](_0x4d5693){const _0x4a4248=_0x506d29,_0x334f28=_0x4dc20a=>{const _0x271aa7=_0x20b3;switch(_0x4dc20a){case _0x271aa7(0x15c):return 0x0;case _0x271aa7(0x159):return 0x1;case _0x271aa7(0xfe):return 0x2;case _0x271aa7(0x1fd):return 0x3;}};return _0x4d5693[_0x4a4248(0x158)]((_0x5bf40a,_0xc747ea)=>_0x334f28(_0x5bf40a[_0x4a4248(0x1dc)])-_0x334f28(_0xc747ea[_0x4a4248(0x1dc)]));}[_0x506d29(0x104)](_0x35997a,_0x2a440c){const _0x2aedb1=_0x506d29,_0x3e08ed=_0x35997a[_0x2aedb1(0x1d9)](0x0),_0x3ffffb=_0x2a440c[_0x2aedb1(0x1d9)](0x0);return!(!_0x3e08ed||!_0x3ffffb)&&((!_0x3e08ed['is'](_0x2aedb1(0x187))||!_0x3ffffb['is'](_0x2aedb1(0x187))||_0x3e08ed[_0x2aedb1(0x157)]===_0x3ffffb[_0x2aedb1(0x157)])&&!(_0x3e08ed['is'](_0x2aedb1(0x187))&&!_0x3ffffb['is'](_0x2aedb1(0x187))||!_0x3e08ed['is'](_0x2aedb1(0x187))&&_0x3ffffb['is'](_0x2aedb1(0x187))));}[_0x506d29(0x129)](_0x3a0bb9){const _0x349a30=_0x506d29;return 0x1===_0x3a0bb9[_0x349a30(0x1c7)];}[_0x506d29(0x181)](_0x42edaa,_0x63d30c){const _0x2a7497=_0x506d29;for(const _0x31965b of _0x42edaa[_0x2a7497(0x1c3)]())if(_0x31965b['is'](_0x2a7497(0x187))&&!_0x63d30c[_0x2a7497(0x105)](_0x31965b))return!0x1;return!0x0;}[_0x506d29(0x1b8)](_0x24e15b,_0x1c3e33){const _0x48bb4d=_0x506d29;let _0x5e6956=_0x24e15b[_0x48bb4d(0xfa)](_0x59a599);return _0x5e6956||(_0x5e6956=_0x1c3e33(),_0x24e15b[_0x48bb4d(0x152)](_0x59a599,_0x5e6956)),_0x5e6956;}}
|