@ckeditor/ckeditor5-ai 47.7.0 → 47.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25af12=_0x1a1e;(function(_0x23683e,_0x53a678){const _0x3ad8a9=_0x1a1e,_0x49ec34=_0x23683e();while(!![]){try{const _0x4b67a9=parseInt(_0x3ad8a9(0x179))/0x1*(-parseInt(_0x3ad8a9(0x180))/0x2)+-parseInt(_0x3ad8a9(0x165))/0x3+parseInt(_0x3ad8a9(0x177))/0x4*(-parseInt(_0x3ad8a9(0x17f))/0x5)+-parseInt(_0x3ad8a9(0x181))/0x6*(-parseInt(_0x3ad8a9(0x176))/0x7)+parseInt(_0x3ad8a9(0x16c))/0x8+-parseInt(_0x3ad8a9(0x169))/0x9+-parseInt(_0x3ad8a9(0x164))/0xa*(-parseInt(_0x3ad8a9(0x163))/0xb);if(_0x4b67a9===_0x53a678)break;else _0x49ec34['push'](_0x49ec34['shift']());}catch(_0x404283){_0x49ec34['push'](_0x49ec34['shift']());}}}(_0x5492,0x880d1));import{CKEditorError as _0x142360,compareArrays as _0xeb7234}from'ckeditor5/src/utils.js';import{getNodePath as _0x20f91b,isText as _0x44a605,getChildren as _0x2b743a,isDocument as _0x242fd6,getParent as _0xeb2487,textContent as _0x3b6cf3,hasChildren as _0x5027c6}from'./htmlparser.js';function _0x5492(){const _0x4183e0=['slice','createBefore','document','path','createAfter','indexOf','parent','112vtxMAv','25396Rdgvsh','start','1gNxEbV','getNudgedToWordBoundary','reduce','isEqual','nextNode','match','215KlLWdT','1871284PtTHqF','2472stQPxI','previousNode','data','index','3728857UcHSYU','40NeGPHS','1763073fCTlDK','ai-documentposition-index-out-of-bounds','createAt','end','657486LtYjDv','same','createFromPath','8512952eWpbsm','length','ai-documentposition-createfrompath-path-cannot-be-empty'];_0x5492=function(){return _0x4183e0;};return _0x5492();}function _0x1a1e(_0x5ca75f,_0x19857f){const _0x5492b6=_0x5492();return _0x1a1e=function(_0x1a1ee2,_0x1e37a9){_0x1a1ee2=_0x1a1ee2-0x162;let _0x4bf796=_0x5492b6[_0x1a1ee2];return _0x4bf796;},_0x1a1e(_0x5ca75f,_0x19857f);}export class DocumentPosition{[_0x25af12(0x175)];[_0x25af12(0x162)];[_0x25af12(0x171)];constructor(_0x50c604,_0x23a377,_0x25773b){const _0x2e4f4c=_0x25af12;if(_0x44a605(_0x23a377)&&_0x25773b>_0x23a377[_0x2e4f4c(0x183)][_0x2e4f4c(0x16d)])throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});if(_0x5027c6(_0x23a377)&&_0x25773b>_0x2b743a(_0x23a377)[_0x2e4f4c(0x16d)])throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});if(_0x25773b<0x0)throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});this[_0x2e4f4c(0x175)]=_0x23a377,this[_0x2e4f4c(0x162)]=_0x25773b,this[_0x2e4f4c(0x171)]=_0x50c604;}get[_0x25af12(0x172)](){const _0x1b57d4=_0x25af12;return[..._0x20f91b(this[_0x1b57d4(0x175)]),this[_0x1b57d4(0x162)]];}[_0x25af12(0x17c)](_0x27f3ec){const _0x589a6c=_0x25af12;return this[_0x589a6c(0x171)]==_0x27f3ec[_0x589a6c(0x171)]&&_0x589a6c(0x16a)===_0xeb7234(this[_0x589a6c(0x172)],_0x27f3ec[_0x589a6c(0x172)]);}get[_0x25af12(0x17d)](){const _0x1692b6=_0x25af12;if(_0x5027c6(this[_0x1692b6(0x175)])){const _0x39580f=_0x2b743a(this[_0x1692b6(0x175)])[this[_0x1692b6(0x162)]];if(_0x39580f)return _0x39580f;{const _0x35d966=DocumentPosition[_0x1692b6(0x173)](this[_0x1692b6(0x171)],this[_0x1692b6(0x175)]);if(_0x35d966)return _0x35d966[_0x1692b6(0x17d)];}}return null;}get[_0x25af12(0x182)](){const _0x19d546=_0x25af12;if(_0x5027c6(this[_0x19d546(0x175)])){const _0x50c5f0=_0x2b743a(this[_0x19d546(0x175)])[this[_0x19d546(0x162)]-0x1];if(_0x50c5f0)return _0x50c5f0;{const _0x346c3b=DocumentPosition[_0x19d546(0x170)](this[_0x19d546(0x171)],this[_0x19d546(0x175)]);if(_0x346c3b)return _0x346c3b[_0x19d546(0x182)];}}return null;}[_0x25af12(0x17a)](_0x2af815=_0x25af12(0x178)){const _0x400f93=_0x25af12;if(!_0x44a605(this[_0x400f93(0x175)]))return this;const _0x1ff3f3=this[_0x400f93(0x172)][this[_0x400f93(0x172)][_0x400f93(0x16d)]-0x1],_0x221cb1=_0x3b6cf3(this[_0x400f93(0x175)])[_0x400f93(0x17e)](/(?:\s*\S+\s*)/g);let _0x402793=0x0,_0x188ea4=_0x1ff3f3;for(const _0x22a8eb of _0x221cb1){if(_0x402793+_0x22a8eb[_0x400f93(0x16d)]===_0x1ff3f3)return this;if(_0x402793+_0x22a8eb[_0x400f93(0x16d)]>_0x1ff3f3){_0x188ea4=_0x400f93(0x178)===_0x2af815?_0x402793:_0x402793+_0x22a8eb[_0x400f93(0x16d)];break;}_0x402793+=_0x22a8eb[_0x400f93(0x16d)];}return DocumentPosition[_0x400f93(0x167)](this[_0x400f93(0x171)],this[_0x400f93(0x175)],_0x188ea4);}static[_0x25af12(0x173)](_0x1b1ec7,_0x297298){const _0x4771f2=_0x25af12;if(_0x242fd6(_0x297298))return null;const _0x2881ad=_0xeb2487(_0x297298);return DocumentPosition[_0x4771f2(0x167)](_0x1b1ec7,_0x2881ad,_0x2b743a(_0x2881ad)[_0x4771f2(0x174)](_0x297298)+0x1);}static[_0x25af12(0x170)](_0x56c315,_0x4baa0b){const _0x4a30fd=_0x25af12;if(_0x242fd6(_0x4baa0b))return null;const _0x4f3d35=_0xeb2487(_0x4baa0b);return DocumentPosition[_0x4a30fd(0x167)](_0x56c315,_0x4f3d35,_0x2b743a(_0x4f3d35)[_0x4a30fd(0x174)](_0x4baa0b));}static[_0x25af12(0x167)](_0xf754e4,_0x301272,_0x3cfc14=_0x25af12(0x178)){const _0xcb6327=_0x25af12;return new DocumentPosition(_0xf754e4,_0x301272,_0xcb6327(0x178)===_0x3cfc14?0x0:_0xcb6327(0x168)===_0x3cfc14?_0x44a605(_0x301272)?_0x301272[_0xcb6327(0x183)][_0xcb6327(0x16d)]:_0x2b743a(_0x301272)[_0xcb6327(0x16d)]:_0x3cfc14);}static[_0x25af12(0x16b)](_0xc30d3d,_0x5d2fc4){const _0x4fd424=_0x25af12;if(!_0x5d2fc4[_0x4fd424(0x16d)])throw new _0x142360(_0x4fd424(0x16e),null,{'path':_0x5d2fc4});const _0x571e65=_0x5d2fc4[_0x4fd424(0x16f)](0x0,-0x1)[_0x4fd424(0x17b)]((_0x5523d0,_0x4546fd)=>_0x44a605(_0x5523d0)?_0x5523d0:_0x2b743a(_0x5523d0)[_0x4546fd],_0xc30d3d);return DocumentPosition[_0x4fd424(0x167)](_0xc30d3d,_0x571e65,_0x5d2fc4[_0x5d2fc4[_0x4fd424(0x16d)]-0x1]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1ce927=_0x9a27;function _0x2e73(){const _0x48092a=['createAt','getContent','910cpNEBK','createFromPath','createBefore','899808BQfoXL','document','6teGFDn','isEqual','66649DQSLjA','getNudgedToWordBoundary','forEach','length','nextNode','4YrgieA','reverse','lastChild','start','previousNode','slice','316101pnbOJG','firstChild','path','827262SGSCSG','parent','includes','152040zMHarx','push','1BehNnU','data','406502OHMevk','1198575tpaplG','end','createAfter'];_0x2e73=function(){return _0x48092a;};return _0x2e73();}(function(_0x316c11,_0x5c735b){const _0x27e0e5=_0x9a27,_0x2c25c7=_0x316c11();while(!![]){try{const _0x41f899=-parseInt(_0x27e0e5(0x8c))/0x1*(parseInt(_0x27e0e5(0x8e))/0x2)+parseInt(_0x27e0e5(0xa6))/0x3*(parseInt(_0x27e0e5(0xa0))/0x4)+parseInt(_0x27e0e5(0x8a))/0x5*(parseInt(_0x27e0e5(0x99))/0x6)+-parseInt(_0x27e0e5(0x8f))/0x7+-parseInt(_0x27e0e5(0x97))/0x8+-parseInt(_0x27e0e5(0xa9))/0x9+parseInt(_0x27e0e5(0x94))/0xa*(parseInt(_0x27e0e5(0x9b))/0xb);if(_0x41f899===_0x5c735b)break;else _0x2c25c7['push'](_0x2c25c7['shift']());}catch(_0x9e6512){_0x2c25c7['push'](_0x2c25c7['shift']());}}}(_0x2e73,0x1a6f2));import{DocumentPosition as _0x319c6d}from'./documentposition.js';import{clone as _0x2fd67f,getParents as _0x533853,Document as _0x4a645a,Text as _0x474190,isTag as _0x14c720,isText as _0x403a4a,replaceElement as _0x1b5fad,removeElement as _0x2b95ad}from'./htmlparser.js';function _0x9a27(_0x9f564c,_0x379cc7){const _0x2e73d3=_0x2e73();return _0x9a27=function(_0x9a277e,_0x5ca1e4){_0x9a277e=_0x9a277e-0x88;let _0x32c4d8=_0x2e73d3[_0x9a277e];return _0x32c4d8;},_0x9a27(_0x9f564c,_0x379cc7);}export class DocumentRange{[_0x1ce927(0xa3)];[_0x1ce927(0x90)];constructor(_0x16a7d5,_0x50c286){const _0xe8eb8c=_0x1ce927;this[_0xe8eb8c(0xa3)]=_0x16a7d5,this[_0xe8eb8c(0x90)]=_0x50c286;}[_0x1ce927(0x9a)](_0x54329f){const _0x117178=_0x1ce927;return this==_0x54329f||this[_0x117178(0xa3)][_0x117178(0x9a)](_0x54329f[_0x117178(0xa3)])&&this[_0x117178(0x90)][_0x117178(0x9a)](_0x54329f[_0x117178(0x90)]);}[_0x1ce927(0x9c)](){const _0x12e38b=_0x1ce927;return new DocumentRange(this[_0x12e38b(0xa3)][_0x12e38b(0x9c)](_0x12e38b(0xa3)),this[_0x12e38b(0x90)][_0x12e38b(0x9c)](_0x12e38b(0x90)));}[_0x1ce927(0x93)](){const _0x643f15=_0x1ce927,_0x385798=_0x2fd67f(this[_0x643f15(0xa3)][_0x643f15(0x98)]),_0x1ede5b=_0x319c6d[_0x643f15(0x95)](_0x385798,this[_0x643f15(0xa3)][_0x643f15(0xa8)]),_0x45ca19=_0x319c6d[_0x643f15(0x95)](_0x385798,this[_0x643f15(0x90)][_0x643f15(0xa8)]);let _0x54adb7,_0x469514;if(_0x403a4a(_0x1ede5b[_0x643f15(0x88)])){const _0x444eba=_0x1ede5b[_0x643f15(0xa8)][_0x1ede5b[_0x643f15(0xa8)][_0x643f15(0x9e)]-0x1],_0x164e9b=new _0x474190(_0x1ede5b[_0x643f15(0x88)][_0x643f15(0x8d)][_0x643f15(0xa5)](_0x444eba));_0x1b5fad(_0x1ede5b[_0x643f15(0x88)],_0x164e9b),_0x54adb7=_0x164e9b;}else _0x54adb7=_0x1ede5b[_0x643f15(0x9f)];if(_0x403a4a(_0x45ca19[_0x643f15(0x88)])){const _0x9fedbc=_0x45ca19[_0x643f15(0xa8)][_0x45ca19[_0x643f15(0xa8)][_0x643f15(0x9e)]-0x1],_0x4c1235=new _0x474190(_0x45ca19[_0x643f15(0x88)][_0x643f15(0x8d)][_0x643f15(0xa5)](0x0,_0x9fedbc));_0x1b5fad(_0x45ca19[_0x643f15(0x88)],_0x4c1235),_0x469514=_0x4c1235;}else _0x469514=_0x45ca19[_0x643f15(0xa4)];if(!(_0x54adb7&&_0x469514&&_0x385798[_0x643f15(0xa7)]&&_0x385798[_0x643f15(0xa2)]))return new _0x4a645a([]);const _0x1eab0e=_0x533853(_0x54adb7),_0x26f4b5=_0x533853(_0x469514),_0x4af24c=[],_0x2f82c0=[];let _0x4b3959=_0x385798[_0x643f15(0xa7)];for(;_0x4b3959&&_0x4b3959!==_0x54adb7;){let _0x9afcef;_0x1eab0e[_0x643f15(0x89)](_0x4b3959)||_0x4af24c[_0x643f15(0x8b)](_0x4b3959),_0x9afcef=_0x14c720(_0x4b3959)?_0x319c6d[_0x643f15(0x92)](_0x385798,_0x4b3959,_0x643f15(0xa3)):_0x319c6d[_0x643f15(0x91)](_0x385798,_0x4b3959),_0x4b3959=_0x9afcef?_0x9afcef[_0x643f15(0x9f)]:null;}for(_0x4b3959=_0x385798[_0x643f15(0xa2)];_0x4b3959&&_0x4b3959!==_0x469514;){let _0x50fee7;_0x26f4b5[_0x643f15(0x89)](_0x4b3959)||_0x2f82c0[_0x643f15(0x8b)](_0x4b3959),_0x50fee7=_0x14c720(_0x4b3959)?_0x319c6d[_0x643f15(0x92)](_0x385798,_0x4b3959,_0x643f15(0x90)):_0x319c6d[_0x643f15(0x96)](_0x385798,_0x4b3959),_0x4b3959=_0x50fee7?_0x50fee7[_0x643f15(0xa4)]:null;}return _0x4af24c[_0x643f15(0x9d)](_0x394c84=>{_0x2b95ad(_0x394c84);}),_0x2f82c0[_0x643f15(0xa1)]()[_0x643f15(0x9d)](_0x20689b=>{_0x2b95ad(_0x20689b);}),_0x385798;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d3ba9=_0x8f74;(function(_0x4f11b1,_0x3ec9f0){const _0x16992e=_0x8f74,_0x29341c=_0x4f11b1();while(!![]){try{const _0x51eb3e=parseInt(_0x16992e(0x19a))/0x1+parseInt(_0x16992e(0x19c))/0x2+parseInt(_0x16992e(0x19e))/0x3*(parseInt(_0x16992e(0x18f))/0x4)+parseInt(_0x16992e(0x191))/0x5*(parseInt(_0x16992e(0x19f))/0x6)+-parseInt(_0x16992e(0x193))/0x7*(parseInt(_0x16992e(0x198))/0x8)+-parseInt(_0x16992e(0x194))/0x9*(parseInt(_0x16992e(0x190))/0xa)+-parseInt(_0x16992e(0x19d))/0xb;if(_0x51eb3e===_0x3ec9f0)break;else _0x29341c['push'](_0x29341c['shift']());}catch(_0x57bca8){_0x29341c['push'](_0x29341c['shift']());}}}(_0x86ba,0xd6a09));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x2d3ba9(0x19b),_0x2d3ba9(0x197),_0x2d3ba9(0x199),_0x2d3ba9(0x1a0),_0x2d3ba9(0x18d),_0x2d3ba9(0x195),_0x2d3ba9(0x18e),_0x2d3ba9(0x192),_0x2d3ba9(0x196)];function _0x8f74(_0x2ef784,_0x2fa22b){const _0x86bace=_0x86ba();return _0x8f74=function(_0x8f741d,_0x3687ec){_0x8f741d=_0x8f741d-0x18d;let _0xb39dba=_0x86bace[_0x8f741d];return _0xb39dba;},_0x8f74(_0x2ef784,_0x2fa22b);}function _0x86ba(){const _0x3d7798=['rejectSuggestion','mouseOverSuggestion','toggleSuggestionDisplayMode','40Ruytdv','110vpUbpg','135eDydEI','like','7ThsIXW','1044324gOdzcS','mouseLeaveSuggestion','dislike','insertSuggestion','479128TNlJdj','applySuggestion','1154887etKoZq','showChangeInText','2239702FZUnfj','19088564htwDgH','109638iFKSPl','291228PToQrJ'];_0x86ba=function(){return _0x3d7798;};return _0x86ba();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x42d89d,_0x2a39e7){var _0x30e972=_0x275e,_0x3e4baf=_0x42d89d();while(!![]){try{var _0x4b0040=parseInt(_0x30e972(0x6a))/0x1+-parseInt(_0x30e972(0x71))/0x2*(-parseInt(_0x30e972(0x74))/0x3)+parseInt(_0x30e972(0x6d))/0x4*(-parseInt(_0x30e972(0x68))/0x5)+parseInt(_0x30e972(0x6f))/0x6+-parseInt(_0x30e972(0x65))/0x7*(parseInt(_0x30e972(0x67))/0x8)+parseInt(_0x30e972(0x6b))/0x9+parseInt(_0x30e972(0x70))/0xa;if(_0x4b0040===_0x2a39e7)break;else _0x3e4baf['push'](_0x3e4baf['shift']());}catch(_0x13132a){_0x3e4baf['push'](_0x3e4baf['shift']());}}}(_0x1a92,0xed469));function _0x1a92(){var _0x5c7bb8=['editors','785640gFovlW','1780580ukpcJn','2hwwgXB','get','ai-get-editor-from-context-no-editor','3232191mzCOqL','4366754dFIhdc','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','8pLadDb','6520535rTBxnD','warn','642741AdygpZ','7836066bhtAjM','length','4vmPvtY'];_0x1a92=function(){return _0x5c7bb8;};return _0x1a92();}function _0x275e(_0x218c30,_0x3c35a8){var _0x1a923b=_0x1a92();return _0x275e=function(_0x275ebe,_0x76f198){_0x275ebe=_0x275ebe-0x65;var _0x1558b4=_0x1a923b[_0x275ebe];return _0x1558b4;},_0x275e(_0x218c30,_0x3c35a8);}import{CKEditorError as _0x50a89b}from'ckeditor5/src/utils.js';import{Editor as _0x3c9889}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x479971){var _0x5f10bc=_0x275e;if(_0x479971 instanceof _0x3c9889)return _0x479971;if(_0x479971?.[_0x5f10bc(0x6e)]&&_0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x72)](0x0))return _0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x6c)]>0x1&&console[_0x5f10bc(0x69)](_0x5f10bc(0x66)),_0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x72)](0x0);throw new _0x50a89b(_0x5f10bc(0x73));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x158e(){const _0x3b7d01=['node','markers','filter','71068IFeluo','shift','operationsA','oldRange','get','type','history','525825gLmwHc','removed','marker','version','data-id','getDocumentContext','756066BGdMNd','name','getDiff','document','11188cxzSsF','anchorId','length','map','getOperations','previousSibling','documentContextContent','new','cloneNode','1714104uoQspW','model','173793NogKGS','182377xjgruh','getRange','content'];_0x158e=function(){return _0x3b7d01;};return _0x158e();}(function(_0x20202a,_0x806043){const _0xf998c9=_0x4867,_0x2f5ce2=_0x20202a();while(!![]){try{const _0x361c6a=-parseInt(_0xf998c9(0x182))/0x1+-parseInt(_0xf998c9(0x165))/0x2+parseInt(_0xf998c9(0x181))/0x3+parseInt(_0xf998c9(0x176))/0x4+-parseInt(_0xf998c9(0x16c))/0x5+parseInt(_0xf998c9(0x172))/0x6+parseInt(_0xf998c9(0x17f))/0x7;if(_0x361c6a===_0x806043)break;else _0x2f5ce2['push'](_0x2f5ce2['shift']());}catch(_0x2fdd9d){_0x2f5ce2['push'](_0x2f5ce2['shift']());}}}(_0x158e,0x1a7f7));import{transformOperationSets as _0x1146fa}from'ckeditor5/src/engine.js';import{append as _0x39d648,findByAttribute as _0x24f57b,prependChild as _0x144914,removeElement as _0x467126,serialize as _0x30c33c}from'./htmlparser.js';function _0x4867(_0xdad92,_0x371f41){const _0x158e56=_0x158e();return _0x4867=function(_0x48678e,_0x1bfce5){_0x48678e=_0x48678e-0x164;let _0x49bafc=_0x158e56[_0x48678e];return _0x49bafc;},_0x4867(_0xdad92,_0x371f41);}export function getOperationsFromReply({editor:_0x5bc320,interaction:_0x40a4ad,reply:_0x2aed66,groups:_0x5017f0,transform:_0x44b672,documentCompare:_0x14c6bc,documentCompareOptions:_0x3a9d6d}){const _0x3c0fe5=_0x4867,_0x247213=_0x40a4ad[_0x3c0fe5(0x171)]();if(!_0x247213)return[];const _0x427eca=_0x247213[_0x3c0fe5(0x184)],_0x2b97c1=_0x247213[_0x3c0fe5(0x16f)],_0x51149b=_0x2aed66[_0x3c0fe5(0x17c)][_0x3c0fe5(0x17e)](!0x0);for(const {changes:_0x382fc1}of _0x5017f0){const _0x576c46=_0x382fc1[_0x3c0fe5(0x164)](_0x25c285=>_0x3c0fe5(0x17d)!=_0x25c285[_0x3c0fe5(0x16a)])[_0x3c0fe5(0x179)](_0x47c36f=>_0x24f57b(_0x3c0fe5(0x170),_0x47c36f['id'],_0x51149b)),_0x1bc381=_0x382fc1[_0x3c0fe5(0x164)](_0xcdd087=>_0x3c0fe5(0x16d)!=_0xcdd087[_0x3c0fe5(0x16a)])[_0x3c0fe5(0x179)](_0x5acd00=>_0x5acd00[_0x3c0fe5(0x185)][_0x3c0fe5(0x17e)](!0x0));let _0x10cbde=null;if(_0x576c46[_0x3c0fe5(0x178)]){_0x10cbde=_0x576c46[0x0][_0x3c0fe5(0x17b)];for(let _0x456e80=0x0;_0x456e80<_0x576c46[_0x3c0fe5(0x178)];_0x456e80++)_0x467126(_0x576c46[_0x456e80]);}if(_0x1bc381[_0x3c0fe5(0x178)]){_0x10cbde||(_0x382fc1[0x0][_0x3c0fe5(0x177)]?_0x10cbde=_0x24f57b(_0x3c0fe5(0x170),_0x382fc1[0x0][_0x3c0fe5(0x177)],_0x51149b):(_0x10cbde=_0x1bc381[_0x3c0fe5(0x166)](),_0x144914(_0x51149b,_0x10cbde)));for(let _0x51bd00=0x0;_0x51bd00<_0x1bc381[_0x3c0fe5(0x178)];_0x51bd00++)_0x39d648(_0x10cbde,_0x1bc381[_0x51bd00]),_0x10cbde=_0x1bc381[_0x51bd00];}}const _0x14c6c3=_0x30c33c(_0x51149b),_0x4c8f51=_0x14c6bc[_0x3c0fe5(0x174)](_0x427eca,_0x14c6c3,_0x3a9d6d)[_0x3c0fe5(0x17a)]();if(_0x44b672){const _0x1cb8e2=_0x5bc320[_0x3c0fe5(0x180)][_0x3c0fe5(0x175)][_0x3c0fe5(0x16b)][_0x3c0fe5(0x17a)](_0x2b97c1),_0x21e178={'document':_0x5bc320[_0x3c0fe5(0x180)][_0x3c0fe5(0x175)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x1146fa(_0x4c8f51,_0x1cb8e2,_0x21e178)[_0x3c0fe5(0x167)];}return _0x4c8f51;}export function fixMarkerOperationOldRange(_0x1b8196,_0x5a1801){const _0x4c7553=_0x4867;if(_0x4c7553(0x16e)!=_0x5a1801[_0x4c7553(0x16a)])return;const _0x10cf4b=_0x1b8196[_0x4c7553(0x180)][_0x4c7553(0x186)][_0x4c7553(0x169)](_0x5a1801[_0x4c7553(0x173)]);_0x10cf4b&&(_0x5a1801[_0x4c7553(0x168)]=_0x10cf4b[_0x4c7553(0x183)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x4e7d85,_0x465def){const _0x4eb958=_0x708b,_0x2a3828=_0x4e7d85();while(!![]){try{const _0x4b289b=parseInt(_0x4eb958(0x1fb))/0x1*(parseInt(_0x4eb958(0x205))/0x2)+-parseInt(_0x4eb958(0x1f4))/0x3*(-parseInt(_0x4eb958(0x22a))/0x4)+-parseInt(_0x4eb958(0x235))/0x5*(-parseInt(_0x4eb958(0x249))/0x6)+-parseInt(_0x4eb958(0x210))/0x7+-parseInt(_0x4eb958(0x213))/0x8*(-parseInt(_0x4eb958(0x25d))/0x9)+parseInt(_0x4eb958(0x20c))/0xa+-parseInt(_0x4eb958(0x207))/0xb*(parseInt(_0x4eb958(0x1f3))/0xc);if(_0x4b289b===_0x465def)break;else _0x2a3828['push'](_0x2a3828['shift']());}catch(_0x3e824a){_0x2a3828['push'](_0x2a3828['shift']());}}}(_0x5754,0x72ea4));import{findOne as _0x55bb0c,getAttribute as _0x272648,Document as _0x4e0315,serialize as _0x2614c7,parse as _0x8c35c6}from'./htmlparser.js';import{fixElementSuggestionRange as _0x3b0718}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x2b1de9,_DetachOperation as _0x2f7019,_removeFromModelNodeList as _0x30bdc5,_insertIntoModelNodeList as _0x1fad71}from'ckeditor5/src/engine.js';import{uid as _0x3800ef}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x24099c,changeGroups:_0x1638fd,documentContextContent:_0x5e3ac9,showDiff:_0x287b28,trimUnchanged:_0x594f9b=!0x0}){const _0x2d5242=_0x708b;return _0x1638fd[_0x2d5242(0x24d)](_0x43f1b9=>{const _0x118831=_0x2d5242,_0x4d1860=new _0x4e0315([]),_0xf4a8ce=new _0x4e0315([]);for(const _0x12626e of _0x43f1b9[_0x118831(0x224)])if(_0x287b28&&_0x118831(0x260)==_0x12626e[_0x118831(0x22e)]||_0xf4a8ce[_0x118831(0x1fa)][_0x118831(0x1fc)](_0x12626e[_0x118831(0x20e)][_0x118831(0x208)](!0x0)),_0x118831(0x251)!=_0x12626e[_0x118831(0x22e)]&&(_0x287b28||_0x118831(0x260)!=_0x12626e[_0x118831(0x22e)])){const _0x21aa8c=_0x55bb0c(_0x40a6bd=>_0x272648(_0x40a6bd,_0x118831(0x252))==_0x12626e['id'],_0x5e3ac9,!0x0);_0x21aa8c&&_0x4d1860[_0x118831(0x1fa)][_0x118831(0x1fc)](_0x21aa8c[_0x118831(0x208)](!0x0));}const {content:_0x3ce536,hasChanges:_0x493bbe}=function(_0x2756f1,_0x4512e5,_0x24f99e,_0x53036a,_0x150a00=!0x0){const _0x4a456f=_0x118831,_0x53f2ca=_0x2756f1[_0x4a456f(0x261)][_0x4a456f(0x23a)](_0x4a456f(0x214)),_0x2b5873=_0x2614c7(_0x4512e5),_0x402cd4=_0x2614c7(_0x24f99e),_0x28ac68=_0x2756f1[_0x4a456f(0x233)][_0x4a456f(0x1ff)](_0x2b5873,_0x4a456f(0x209)),_0x106a3c=_0x2756f1[_0x4a456f(0x241)][_0x4a456f(0x221)](_0x28ac68,0x0),_0x469282=_0x53f2ca[_0x4a456f(0x1f9)](_0x2b5873,_0x402cd4,{'anchor':_0x106a3c,'markDeletions':_0x53036a}),_0x4604cd=_0x469282[_0x4a456f(0x1f8)]();if(0x0==_0x4604cd[_0x4a456f(0x23f)])return{'content':_0x4512e5[_0x4a456f(0x208)](!0x0),'hasChanges':!0x1};_0x53036a?function(_0x234367,_0x313ddb,_0x143a75){const _0x3e082b=_0x4a456f;if(0x0==_0x234367[_0x3e082b(0x23f)])return;const _0x59bcdc=_0x143a75[_0x3e082b(0x261)][_0x3e082b(0x23a)](_0x3e082b(0x214)),_0x3d6990=_0x143a75[_0x3e082b(0x261)][_0x3e082b(0x23a)](_0x3e082b(0x1ec));_0x143a75[_0x3e082b(0x241)][_0x3e082b(0x24a)](_0x379df9=>{const _0x68e0d4=_0x3e082b,_0x522f21=new Set();for(let _0xc380bb=0x0;_0xc380bb<_0x234367[_0x68e0d4(0x23f)];_0xc380bb++){const _0xfaf47f=_0x234367[_0xc380bb];if(_0xfaf47f[_0x68e0d4(0x203)]=null,_0xfaf47f[_0x68e0d4(0x234)]=!0x1,_0x59bcdc[_0x68e0d4(0x215)](_0xfaf47f)){const _0xbd5d16=_0x3b0718(_0xfaf47f[_0x68e0d4(0x248)],_0x143a75[_0x68e0d4(0x241)]),_0x1551a6=_0x68e0d4(0x20f)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x1551a6,_0xbd5d16);}else switch(_0xfaf47f[_0x68e0d4(0x22e)]){case _0x68e0d4(0x202):{if(_0xfaf47f[_0x68e0d4(0x230)]==_0xfaf47f[_0x68e0d4(0x245)])break;_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x515e82=_0x68e0d4(0x200),_0x5c256a=_0xfaf47f[_0x68e0d4(0x217)],_0x52b696=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x5c256a,_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x221)](_0x5c256a[_0x68e0d4(0x243)],_0x68e0d4(0x23b))),_0x31dea6=_0x68e0d4(0x250)+_0x515e82+':'+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x31dea6,_0x52b696);break;}case _0x68e0d4(0x1f0):case _0x68e0d4(0x1f5):case _0x68e0d4(0x201):{if(_0xfaf47f[_0x68e0d4(0x222)]==_0xfaf47f[_0x68e0d4(0x218)])break;_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x1bcebc=_0xfaf47f[_0x68e0d4(0x255)];if(!_0x3d6990[_0x68e0d4(0x211)](_0x1bcebc))break;const _0x15f3d3=_0x3b0718(_0xfaf47f[_0x68e0d4(0x21e)],_0x143a75[_0x68e0d4(0x241)]),_0x5d957e=_0x68e0d4(0x250)+_0x1bcebc+':'+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x5d957e,_0x15f3d3);break;}case _0x68e0d4(0x22d):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);if(_0x234367[_0xc380bb+0x1]&&_0x68e0d4(0x1fd)==_0x234367[_0xc380bb+0x1][_0x68e0d4(0x22e)]){no(_0x313ddb,_0xfaf47f);break;}const _0x314edd=_0xfaf47f[_0x68e0d4(0x217)],_0x2568d6=_0xfaf47f[_0x68e0d4(0x206)],_0x184b1d=_0x3b0718(_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x314edd,_0x314edd[_0x68e0d4(0x1ef)](_0x2568d6)),_0x143a75[_0x68e0d4(0x241)]),_0x390ad=_0x68e0d4(0x22b)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x390ad,_0x184b1d);break;}case _0x68e0d4(0x1f7):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x455766=_0xfaf47f[_0x68e0d4(0x231)],_0x450551=_0xfaf47f[_0x68e0d4(0x23d)],_0x5f9c22=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x455766,_0x450551),_0x567fbd=_0x68e0d4(0x22b)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x567fbd,_0x5f9c22);break;}case _0x68e0d4(0x1fd):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f),_0x234367[_0xc380bb-0x1]&&_0x68e0d4(0x22d)==_0x234367[_0xc380bb-0x1][_0x68e0d4(0x22e)]&&no(_0x313ddb,_0xfaf47f);const _0xec5b8f=_0xfaf47f[_0x68e0d4(0x204)](),_0xab12d0=_0xfaf47f[_0x68e0d4(0x206)];for(let _0x9b6d1=0x0;_0x9b6d1<_0xab12d0;_0x9b6d1++){const _0x228f16=_0xec5b8f[_0x68e0d4(0x1ef)](_0x9b6d1)[_0x68e0d4(0x243)];_0x522f21[_0x68e0d4(0x226)](_0x228f16);}break;}case _0x68e0d4(0x20d):{const _0x50bf84=_0xfaf47f[_0x68e0d4(0x1f2)],_0x3da0a7=_0xfaf47f[_0x68e0d4(0x206)],_0x57cfdf=new _0x2f7019(_0x50bf84,_0x3da0a7);_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0x57cfdf),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0x57cfdf);break;}}}for(const _0x2a84d6 of _0x522f21){const _0x45bf7a=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x259)](_0x2a84d6),_0x490c57=_0x68e0d4(0x21a)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x490c57,_0x3b0718(_0x45bf7a,_0x143a75[_0x68e0d4(0x241)]));}});}(_0x4604cd,_0x28ac68,_0x2756f1):_0x2756f1[_0x4a456f(0x241)][_0x4a456f(0x24a)](_0x57f113=>{const _0x953bfd=_0x4a456f;for(const _0x43da4d of _0x4604cd)if(_0x953bfd(0x20d)==_0x43da4d[_0x953bfd(0x22e)]){const _0x22a479=_0x43da4d[_0x953bfd(0x1f2)],_0x191353=_0x43da4d[_0x953bfd(0x206)],_0x33096c=new _0x2f7019(_0x22a479,_0x191353);_0x57f113[_0x953bfd(0x238)][_0x953bfd(0x262)](_0x33096c),_0x2756f1[_0x953bfd(0x241)][_0x953bfd(0x240)](_0x33096c);}else{if(_0x953bfd(0x24b)==_0x43da4d[_0x953bfd(0x22e)]){const _0xecf39b=_0x43da4d[_0x953bfd(0x22f)],_0x48ec7d=_0x43da4d[_0x953bfd(0x248)];null!==_0x48ec7d?_0x28ac68[_0x953bfd(0x216)][_0x953bfd(0x1ee)](_0xecf39b,_0x48ec7d):_0x28ac68[_0x953bfd(0x216)][_0x953bfd(0x212)](_0xecf39b);}else _0x43da4d[_0x953bfd(0x203)]=null,_0x43da4d[_0x953bfd(0x234)]=!0x1,_0x57f113[_0x953bfd(0x238)][_0x953bfd(0x262)](_0x43da4d),_0x2756f1[_0x953bfd(0x241)][_0x953bfd(0x240)](_0x43da4d);}});if(_0x150a00){const _0x19a0a1=getMinimalSelection(_0x2756f1,_0x4604cd,_0x28ac68);expandSelectionWithContext(_0x2756f1[_0x4a456f(0x241)],_0x19a0a1),function(_0x9164bc,_0x50e3c6){const _0x35fd7f=_0x4a456f,_0x20f112=_0x50e3c6[_0x35fd7f(0x219)]()[_0x35fd7f(0x21c)];let _0x14eea8=_0x50e3c6[_0x35fd7f(0x219)]()[_0x35fd7f(0x23b)];const _0x32c7db=_0x20f112[_0x35fd7f(0x25e)];(_0x14eea8[_0x35fd7f(0x23e)]||_0x14eea8[_0x35fd7f(0x243)]&&_0x14eea8[_0x35fd7f(0x243)]['is'](_0x35fd7f(0x24e)))&&(_0x1fad71(_0x14eea8,_0x35fd7f(0x1f1)),_0x14eea8=_0x14eea8[_0x35fd7f(0x1ef)](0x3)),(_0x20f112[_0x35fd7f(0x23e)]||_0x20f112[_0x35fd7f(0x21f)]&&_0x20f112[_0x35fd7f(0x21f)]['is'](_0x35fd7f(0x24e)))&&(_0x1fad71(_0x20f112,_0x35fd7f(0x1f1)),function(_0xb9cb5,_0x3870a,_0x1fda58){const _0x1ffbd1=_0x35fd7f;for(let [_0xfa5c96,_0x305ff5]of _0xb9cb5[_0x1ffbd1(0x216)]){const _0xd0195=_0x305ff5[_0x1ffbd1(0x21b)](_0x3870a,_0x1fda58,!0x1);_0x305ff5=_0xd0195[0x0],_0xb9cb5[_0x1ffbd1(0x216)][_0x1ffbd1(0x1ee)](_0xfa5c96,_0x305ff5);}}(_0x32c7db,_0x20f112,0x3),_0x20f112[_0x35fd7f(0x256)]==_0x14eea8[_0x35fd7f(0x256)]&&(_0x14eea8=_0x14eea8[_0x35fd7f(0x1ef)](0x3)));const _0x1c1905=_0x9164bc[_0x35fd7f(0x25f)](_0x9164bc[_0x35fd7f(0x221)](_0x32c7db,0x0),_0x20f112),_0x5f48d5=_0x9164bc[_0x35fd7f(0x25f)](_0x14eea8,_0x9164bc[_0x35fd7f(0x221)](_0x32c7db,_0x35fd7f(0x23b))),_0x4539d2=[..._0x1c1905[_0x35fd7f(0x237)](),..._0x5f48d5[_0x35fd7f(0x237)]()];_0x4539d2[_0x35fd7f(0x21d)]();for(const _0x5d53c4 of _0x4539d2)_0x30bdc5(_0x5d53c4),_transformMarkersByDeletion(_0x32c7db,_0x5d53c4);}(_0x2756f1[_0x4a456f(0x241)],_0x19a0a1);}const _0x4357d9=_0x2756f1[_0x4a456f(0x233)][_0x4a456f(0x229)](_0x28ac68,{'showSuggestionHighlights':!0x0});return{'content':_0x8c35c6(_0x4357d9),'hasChanges':!0x0};}(_0x24099c,_0x4d1860,_0xf4a8ce,_0x287b28,_0x594f9b);return{'type':_0x43f1b9[_0x118831(0x224)][0x0][_0x118831(0x22e)],'index':_0x43f1b9[_0x118831(0x1fe)],'content':_0x3ce536,'hasChanges':_0x493bbe};});}function no(_0xdc21ce,_0xe42e49){const _0x348e65=_0x708b;for(const [_0x452f86,_0x57fb42]of _0xdc21ce[_0x348e65(0x216)]){const _0x45becc=_0x2b1de9[_0x348e65(0x246)](_0x57fb42[_0x348e65(0x25c)](_0xe42e49));_0xdc21ce[_0x348e65(0x216)][_0x348e65(0x1ee)](_0x452f86,_0x45becc);}}function _0x5754(){const _0x160562=['isRegisteredAttribute','delete','6471184EXlCaU','DocumentCompare','isMarkedRemoveOperation','markers','position','newValue','getFirstRange','suggestion:formatBlock:$fakeWrap:','_getTransformedByInsertion','start','reverse','range','nodeBefore','stickiness','createPositionAt','oldValue','_getTransformedByDeletion','changes','toNone','add','path','merge','stringify','4ZAIQnH','suggestion:insertion:','focus','insert','type','name','oldName','splitPosition','targetPosition','data','isDocumentOperation','30335FuGGZO',':$aiSuggestion','getMinimalFlatRanges','batch','backward','get','end','slice','moveTargetPosition','textNode','length','applyOperation','model','word','nodeAfter','createSelection','newName','_createFromRanges','element','newRange','618unSAbQ','change','marker','offset','map','$text','modifySelection','suggestion:attribute:','new','data-id','schema','isBefore','key','parent','clone','POSITIVE_INFINITY','createRangeOn','isBlock','setTo','getTransformedByOperation','9BvDJLl','root','createRange','removed','plugins','addOperation','SuggestionsConversion','isAfter','set','getShiftedBy','addAttribute','...','sourcePosition','8340lphEgl','1340799aRGXaP','removeAttribute','createPositionFromPath','split','getOperations','getDiff','children','47309gQptWL','push','move','index','parse','$elementName','changeAttribute','rename','baseVersion','getMovedRangeStart','6YMiPID','howMany','30041VcAgBi','cloneNode','$root','isObject','forward','8925250aAATvq','remove','node','suggestion:deletion:','3825129KTeeIf'];_0x5754=function(){return _0x160562;};return _0x5754();}export function getMinimalSelection(_0x19a56,_0x32fef3,_0x53fc8a){const _0x199be7=_0x708b,_0x52b09a=_0x19a56[_0x199be7(0x261)][_0x199be7(0x23a)](_0x199be7(0x214));let _0xfab513=_0x19a56[_0x199be7(0x241)][_0x199be7(0x221)](_0x53fc8a,Number[_0x199be7(0x258)]),_0x19e74b=_0x19a56[_0x199be7(0x241)][_0x199be7(0x221)](_0x53fc8a,0x0);for(const _0x5d24b6 of _0x32fef3){let _0x24956a,_0x638c9f;if(_0x52b09a[_0x199be7(0x215)](_0x5d24b6))_0x24956a=_0x5d24b6[_0x199be7(0x248)][_0x199be7(0x21c)],_0x638c9f=_0x5d24b6[_0x199be7(0x248)][_0x199be7(0x23b)];else switch(_0xfab513=_0xfab513[_0x199be7(0x25c)](_0x5d24b6),_0x19e74b=_0x19e74b[_0x199be7(0x25c)](_0x5d24b6),_0x5d24b6[_0x199be7(0x22e)]){case _0x199be7(0x202):_0x24956a=_0x5d24b6[_0x199be7(0x217)],_0x638c9f=_0x24956a[_0x199be7(0x1ef)](0x1);break;case _0x199be7(0x1f0):case _0x199be7(0x1f5):case _0x199be7(0x201):_0x24956a=_0x5d24b6[_0x199be7(0x21e)][_0x199be7(0x21c)],_0x638c9f=_0x5d24b6[_0x199be7(0x21e)][_0x199be7(0x23b)];break;case _0x199be7(0x22d):_0x24956a=_0x5d24b6[_0x199be7(0x217)],_0x638c9f=_0x24956a[_0x199be7(0x1ef)](_0x5d24b6[_0x199be7(0x206)]);break;case _0x199be7(0x1f7):_0x24956a=_0x5d24b6[_0x199be7(0x231)],_0x638c9f=_0x5d24b6[_0x199be7(0x23d)];break;case _0x199be7(0x228):{const _0xe9ff3f=_0x5d24b6[_0x199be7(0x232)][_0x199be7(0x227)][_0x199be7(0x23c)](0x0,-0x1);_0x24956a=_0x19a56[_0x199be7(0x241)][_0x199be7(0x1f6)](_0x53fc8a,_0xe9ff3f),_0x638c9f=_0x24956a[_0x199be7(0x1ef)](0x1);break;}case _0x199be7(0x20d):{const _0x2f6b6b=_0x5d24b6[_0x199be7(0x206)],_0x137c9a=_0x5d24b6[_0x199be7(0x1f2)][_0x199be7(0x21b)](_0x5d24b6[_0x199be7(0x232)],_0x2f6b6b),_0x2f13e6=_0x5d24b6[_0x199be7(0x204)]();_0x199be7(0x20d)==_0x5d24b6[_0x199be7(0x22e)]?(_0x24956a=_0x137c9a,_0x638c9f=_0x137c9a):(_0x24956a=_0x2f13e6,_0x638c9f=_0x2f13e6[_0x199be7(0x1ef)](_0x2f6b6b));break;}}_0x24956a&&_0x24956a[_0x199be7(0x254)](_0xfab513)&&(_0xfab513=_0x24956a[_0x199be7(0x257)](),_0xfab513[_0x199be7(0x220)]=_0x199be7(0x225)),_0x638c9f&&_0x638c9f[_0x199be7(0x1ed)](_0x19e74b)&&(_0x19e74b=_0x638c9f[_0x199be7(0x257)](),_0x19e74b[_0x199be7(0x220)]=_0x199be7(0x225));}return _0x19a56[_0x199be7(0x241)][_0x199be7(0x244)](_0x19a56[_0x199be7(0x241)][_0x199be7(0x25f)](_0xfab513,_0x19e74b));}export function expandSelectionWithContext(_0x14de0b,_0x31cb65){const _0x2d4c05=_0x708b;ro(_0x14de0b,_0x31cb65,_0x2d4c05(0x20b));const _0x1dd4fb=_0x31cb65[_0x2d4c05(0x219)]();_0x31cb65[_0x2d4c05(0x25b)]([]),_0x31cb65[_0x2d4c05(0x25b)](_0x1dd4fb,{'backward':!0x0}),ro(_0x14de0b,_0x31cb65,_0x2d4c05(0x239));}function _0x708b(_0x464a36,_0x4a6712){const _0x5754f8=_0x5754();return _0x708b=function(_0x708b6,_0x44391c){_0x708b6=_0x708b6-0x1ec;let _0x33b423=_0x5754f8[_0x708b6];return _0x33b423;},_0x708b(_0x464a36,_0x4a6712);}function ro(_0x511b41,_0x5f0584,_0x908a55){const _0x123514=_0x708b;let _0x5490fa=0x14;for(;_0x5490fa;){_0x511b41[_0x123514(0x24f)](_0x5f0584,{'unit':_0x123514(0x242),'direction':_0x908a55}),_0x5490fa--;const _0x5ba716=_0x5f0584[_0x123514(0x22c)][_0x123514(0x20b)==_0x908a55?_0x123514(0x21f):_0x123514(0x243)];if(_0x5ba716&&_0x5ba716['is'](_0x123514(0x247))&&_0x511b41[_0x123514(0x253)][_0x123514(0x25a)](_0x5ba716)&&_0x511b41[_0x123514(0x253)][_0x123514(0x20a)](_0x5ba716))break;}}export function _transformMarkersByDeletion(_0x3bb087,_0x31e1cc){const _0xc7cc7a=_0x708b;for(const [_0x361614,_0xdb0d67]of _0x3bb087[_0xc7cc7a(0x216)]){const _0x5b1ea1=_0xdb0d67[_0xc7cc7a(0x223)](_0x31e1cc[_0xc7cc7a(0x21c)],_0x31e1cc[_0xc7cc7a(0x23b)][_0xc7cc7a(0x24c)]-_0x31e1cc[_0xc7cc7a(0x21c)][_0xc7cc7a(0x24c)]);null!=_0x5b1ea1?_0x3bb087[_0xc7cc7a(0x216)][_0xc7cc7a(0x1ee)](_0x361614,_0x5b1ea1):_0x3bb087[_0xc7cc7a(0x216)][_0xc7cc7a(0x212)](_0x361614);}}
|
|
23
|
+
(function(_0x533578,_0x4faa44){const _0x572109=_0x439f,_0x593718=_0x533578();while(!![]){try{const _0x151936=parseInt(_0x572109(0x196))/0x1+parseInt(_0x572109(0x179))/0x2+parseInt(_0x572109(0x17e))/0x3+-parseInt(_0x572109(0x170))/0x4+-parseInt(_0x572109(0x156))/0x5*(parseInt(_0x572109(0x166))/0x6)+parseInt(_0x572109(0x1a6))/0x7+-parseInt(_0x572109(0x168))/0x8;if(_0x151936===_0x4faa44)break;else _0x593718['push'](_0x593718['shift']());}catch(_0x36d18b){_0x593718['push'](_0x593718['shift']());}}}(_0x339d,0xeb4b7));import{findOne as _0x2c20da,getAttribute as _0x26e10e,Document as _0x5eac2a,serialize as _0x3ff4b8,parse as _0x50b0b6}from'./htmlparser.js';import{fixElementSuggestionRange as _0x5b8d0c}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0xadd0ce,_DetachOperation as _0x3f34a6,_removeFromModelNodeList as _0xb3eb93,_insertIntoModelNodeList as _0x46004a}from'ckeditor5/src/engine.js';function _0x439f(_0x7ad13a,_0x47a0e0){const _0x339d78=_0x339d();return _0x439f=function(_0x439f1b,_0x32fd69){_0x439f1b=_0x439f1b-0x14f;let _0x4a9a51=_0x339d78[_0x439f1b];return _0x4a9a51;},_0x439f(_0x7ad13a,_0x47a0e0);}import{uid as _0x1b2b62}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x4fbab4,changeGroups:_0xb10276,documentContextContent:_0x10e6d6,showDiff:_0xd2b27a,trimUnchanged:_0x4efeb9=!0x0}){const _0x3df82e=_0x439f;return _0xb10276[_0x3df82e(0x1b4)](_0xa3783c=>{const _0x2852b0=_0x3df82e,_0x331814=new _0x5eac2a([]),_0x1425a6=new _0x5eac2a([]);for(const _0xdc8a22 of _0xa3783c[_0x2852b0(0x1bb)])if(_0xd2b27a&&_0x2852b0(0x1bc)==_0xdc8a22[_0x2852b0(0x19a)]||_0x1425a6[_0x2852b0(0x1ba)][_0x2852b0(0x1a2)](_0xdc8a22[_0x2852b0(0x16a)][_0x2852b0(0x1a8)](!0x0)),_0x2852b0(0x155)!=_0xdc8a22[_0x2852b0(0x19a)]&&(_0xd2b27a||_0x2852b0(0x1bc)!=_0xdc8a22[_0x2852b0(0x19a)])){const _0x548c4c=_0x2c20da(_0x1fd496=>_0x26e10e(_0x1fd496,_0x2852b0(0x15c))==_0xdc8a22['id'],_0x10e6d6,!0x0);_0x548c4c&&_0x331814[_0x2852b0(0x1ba)][_0x2852b0(0x1a2)](_0x548c4c[_0x2852b0(0x1a8)](!0x0));}const {content:_0x5bed3c,hasChanges:_0x45960c}=function(_0x19e04f,_0x2ab7fa,_0x44fc58,_0x44519,_0x164079=!0x0){const _0x342284=_0x2852b0,_0x4c6584=_0x19e04f[_0x342284(0x198)][_0x342284(0x1a5)](_0x342284(0x16e)),_0x1450dc=_0x3ff4b8(_0x2ab7fa),_0x4105c2=_0x3ff4b8(_0x44fc58),_0x296dba=_0x19e04f[_0x342284(0x178)][_0x342284(0x164)](_0x1450dc,_0x342284(0x167)),_0xab0123=_0x19e04f[_0x342284(0x158)][_0x342284(0x1a9)](_0x296dba,0x0),_0x1fca76=_0x4c6584[_0x342284(0x1c0)](_0x1450dc,_0x4105c2,{'anchor':_0xab0123,'markDeletions':_0x44519}),_0x1f5b8e=_0x1fca76[_0x342284(0x181)]();if(0x0==_0x1f5b8e[_0x342284(0x150)])return{'content':_0x2ab7fa[_0x342284(0x1a8)](!0x0),'hasChanges':!0x1};_0x44519?function(_0x16ff3a,_0x223df7,_0x44047e){const _0x3524fe=_0x342284;if(0x0==_0x16ff3a[_0x3524fe(0x150)])return;const _0x437b23=_0x44047e[_0x3524fe(0x198)][_0x3524fe(0x1a5)](_0x3524fe(0x16e)),_0x486029=_0x44047e[_0x3524fe(0x198)][_0x3524fe(0x1a5)](_0x3524fe(0x1b6));_0x44047e[_0x3524fe(0x158)][_0x3524fe(0x16d)](_0x1a8141=>{const _0x46606c=_0x3524fe,_0x2ccba8=new Set();for(let _0x3c3822=0x0;_0x3c3822<_0x16ff3a[_0x46606c(0x150)];_0x3c3822++){const _0x3c7db1=_0x16ff3a[_0x3c3822];if(_0x3c7db1[_0x46606c(0x1b9)]=null,_0x3c7db1[_0x46606c(0x180)]=!0x1,_0x437b23[_0x46606c(0x1bd)](_0x3c7db1)){const _0x27d12c=_0x5b8d0c(_0x3c7db1[_0x46606c(0x1ae)],_0x44047e[_0x46606c(0x158)]),_0x500959=_0x46606c(0x151)+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x500959,_0x27d12c);}else switch(_0x3c7db1[_0x46606c(0x19a)]){case _0x46606c(0x1af):{if(_0x3c7db1[_0x46606c(0x15d)]==_0x3c7db1[_0x46606c(0x171)])break;_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1);const _0x53110c=_0x46606c(0x174),_0x311ce4=_0x3c7db1[_0x46606c(0x1b0)],_0x363764=_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b5)](_0x311ce4,_0x44047e[_0x46606c(0x158)][_0x46606c(0x1a9)](_0x311ce4[_0x46606c(0x193)],_0x46606c(0x16f))),_0x4de8d2=_0x46606c(0x17b)+_0x53110c+':'+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x4de8d2,_0x363764);break;}case _0x46606c(0x194):case _0x46606c(0x19b):case _0x46606c(0x161):{if(_0x3c7db1[_0x46606c(0x195)]==_0x3c7db1[_0x46606c(0x18a)])break;_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1);const _0x456bdd=_0x3c7db1[_0x46606c(0x1a0)];if(!_0x486029[_0x46606c(0x188)](_0x456bdd))break;const _0x3cfb35=_0x5b8d0c(_0x3c7db1[_0x46606c(0x1bf)],_0x44047e[_0x46606c(0x158)]),_0x5ad624=_0x46606c(0x17b)+_0x456bdd+':'+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x5ad624,_0x3cfb35);break;}case _0x46606c(0x1b2):{_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1);if(_0x16ff3a[_0x3c3822+0x1]&&_0x46606c(0x163)==_0x16ff3a[_0x3c3822+0x1][_0x46606c(0x19a)]){no(_0x223df7,_0x3c7db1);break;}const _0x31fe1a=_0x3c7db1[_0x46606c(0x1b0)],_0x35e268=_0x3c7db1[_0x46606c(0x182)],_0x450c3d=_0x5b8d0c(_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b5)](_0x31fe1a,_0x31fe1a[_0x46606c(0x160)](_0x35e268)),_0x44047e[_0x46606c(0x158)]),_0x2ab90d=_0x46606c(0x18c)+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x2ab90d,_0x450c3d);break;}case _0x46606c(0x175):{_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1);const _0x169082=_0x3c7db1[_0x46606c(0x191)],_0x3c5cdb=_0x3c7db1[_0x46606c(0x18b)],_0x465526=_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b5)](_0x169082,_0x3c5cdb),_0x3ec0f1=_0x46606c(0x18c)+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x3ec0f1,_0x465526);break;}case _0x46606c(0x163):{_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1),_0x16ff3a[_0x3c3822-0x1]&&_0x46606c(0x1b2)==_0x16ff3a[_0x3c3822-0x1][_0x46606c(0x19a)]&&no(_0x223df7,_0x3c7db1);const _0x275b5f=_0x3c7db1[_0x46606c(0x173)](),_0x19917f=_0x3c7db1[_0x46606c(0x182)];for(let _0x46d416=0x0;_0x46d416<_0x19917f;_0x46d416++){const _0x1cafee=_0x275b5f[_0x46606c(0x160)](_0x46d416)[_0x46606c(0x193)];_0x2ccba8[_0x46606c(0x1ab)](_0x1cafee);}break;}case _0x46606c(0x187):{const _0x5c575d=_0x3c7db1[_0x46606c(0x19c)],_0x840366=_0x3c7db1[_0x46606c(0x182)],_0x11a721=new _0x3f34a6(_0x5c575d,_0x840366);_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x11a721),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x11a721);break;}}}for(const _0x2189e0 of _0x2ccba8){const _0x3bcda9=_0x44047e[_0x46606c(0x158)][_0x46606c(0x190)](_0x2189e0),_0x2017a0=_0x46606c(0x15e)+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x2017a0,_0x5b8d0c(_0x3bcda9,_0x44047e[_0x46606c(0x158)]));}});}(_0x1f5b8e,_0x296dba,_0x19e04f):_0x19e04f[_0x342284(0x158)][_0x342284(0x16d)](_0x8955b0=>{const _0x3ccc6b=_0x342284;for(const _0x383559 of _0x1f5b8e)if(_0x3ccc6b(0x187)==_0x383559[_0x3ccc6b(0x19a)]){const _0x410c0f=_0x383559[_0x3ccc6b(0x19c)],_0x2fb0e9=_0x383559[_0x3ccc6b(0x182)],_0x2c0bb8=new _0x3f34a6(_0x410c0f,_0x2fb0e9);_0x8955b0[_0x3ccc6b(0x159)][_0x3ccc6b(0x18f)](_0x2c0bb8),_0x19e04f[_0x3ccc6b(0x158)][_0x3ccc6b(0x1b3)](_0x2c0bb8);}else{if(_0x3ccc6b(0x197)==_0x383559[_0x3ccc6b(0x19a)]){const _0x16945a=_0x383559[_0x3ccc6b(0x19d)],_0x6d6f83=_0x383559[_0x3ccc6b(0x1ae)];null!==_0x6d6f83?_0x296dba[_0x3ccc6b(0x15a)][_0x3ccc6b(0x162)](_0x16945a,_0x6d6f83):_0x296dba[_0x3ccc6b(0x15a)][_0x3ccc6b(0x1a7)](_0x16945a);}else _0x383559[_0x3ccc6b(0x1b9)]=null,_0x383559[_0x3ccc6b(0x180)]=!0x1,_0x8955b0[_0x3ccc6b(0x159)][_0x3ccc6b(0x18f)](_0x383559),_0x19e04f[_0x3ccc6b(0x158)][_0x3ccc6b(0x1b3)](_0x383559);}});if(_0x164079){const _0x24b5af=getMinimalSelection(_0x19e04f,_0x1f5b8e,_0x296dba);expandSelectionWithContext(_0x19e04f[_0x342284(0x158)],_0x24b5af),function(_0x33eb06,_0x27bbe4){const _0x4fa414=_0x342284,_0x44ce59=_0x27bbe4[_0x4fa414(0x17d)]()[_0x4fa414(0x1c1)];let _0x17ff5e=_0x27bbe4[_0x4fa414(0x17d)]()[_0x4fa414(0x16f)];const _0x81111b=_0x44ce59[_0x4fa414(0x183)];(_0x17ff5e[_0x4fa414(0x186)]||_0x17ff5e[_0x4fa414(0x193)]&&_0x17ff5e[_0x4fa414(0x193)]['is'](_0x4fa414(0x16c)))&&(_0x46004a(_0x17ff5e,_0x4fa414(0x199)),_0x17ff5e=_0x17ff5e[_0x4fa414(0x160)](0x3)),(_0x44ce59[_0x4fa414(0x186)]||_0x44ce59[_0x4fa414(0x176)]&&_0x44ce59[_0x4fa414(0x176)]['is'](_0x4fa414(0x16c)))&&(_0x46004a(_0x44ce59,_0x4fa414(0x199)),function(_0x2b019b,_0x317902,_0x2f7a41){const _0x37e506=_0x4fa414;for(let [_0x1df5ac,_0x5daa93]of _0x2b019b[_0x37e506(0x15a)]){const _0x5bce35=_0x5daa93[_0x37e506(0x184)](_0x317902,_0x2f7a41,!0x1);_0x5daa93=_0x5bce35[0x0],_0x2b019b[_0x37e506(0x15a)][_0x37e506(0x162)](_0x1df5ac,_0x5daa93);}}(_0x81111b,_0x44ce59,0x3),_0x44ce59[_0x4fa414(0x1b8)]==_0x17ff5e[_0x4fa414(0x1b8)]&&(_0x17ff5e=_0x17ff5e[_0x4fa414(0x160)](0x3)));const _0x1d579f=_0x33eb06[_0x4fa414(0x1b5)](_0x33eb06[_0x4fa414(0x1a9)](_0x81111b,0x0),_0x44ce59),_0x417407=_0x33eb06[_0x4fa414(0x1b5)](_0x17ff5e,_0x33eb06[_0x4fa414(0x1a9)](_0x81111b,_0x4fa414(0x16f))),_0x12f448=[..._0x1d579f[_0x4fa414(0x1be)](),..._0x417407[_0x4fa414(0x1be)]()];_0x12f448[_0x4fa414(0x153)]();for(const _0x513195 of _0x12f448)_0xb3eb93(_0x513195),_transformMarkersByDeletion(_0x81111b,_0x513195);}(_0x19e04f[_0x342284(0x158)],_0x24b5af);}const _0x9d852e=_0x19e04f[_0x342284(0x178)][_0x342284(0x169)](_0x296dba,{'showSuggestionHighlights':!0x0});return{'content':_0x50b0b6(_0x9d852e),'hasChanges':!0x0};}(_0x4fbab4,_0x331814,_0x1425a6,_0xd2b27a,_0x4efeb9);return{'type':_0xa3783c[_0x2852b0(0x1bb)][0x0][_0x2852b0(0x19a)],'index':_0xa3783c[_0x2852b0(0x152)],'content':_0x5bed3c,'hasChanges':_0x45960c};});}function _0x339d(){const _0x2226b1=['model','batch','markers','setTo','data-id','oldName','suggestion:formatBlock:$fakeWrap:','element','getShiftedBy','changeAttribute','set','move','parse','toNone','4542168ioTNCr','$root','1164256wujyOZ','stringify','node','slice','$text','change','DocumentCompare','end','7684672aMpyGZ','newName','forward','getMovedRangeStart','$elementName','split','nodeBefore','getTransformedByOperation','data','3490672oTHyCu','isBefore','suggestion:attribute:','POSITIVE_INFINITY','getFirstRange','2094591SzUgVW','path','isDocumentOperation','getOperations','howMany','root','_getTransformedByInsertion','isObject','textNode','remove','isRegisteredAttribute','_createFromRanges','newValue','moveTargetPosition','suggestion:insertion:','targetPosition','focus','addOperation','createRangeOn','splitPosition','word','nodeAfter','addAttribute','oldValue','965027wXIGtU','marker','plugins','...','type','removeAttribute','sourcePosition','name','modifySelection','backward','key','createSelection','push','stickiness','isBlock','get','7951741gWHpoi','delete','cloneNode','createPositionAt',':$aiSuggestion','add','_getTransformedByDeletion','createPositionFromPath','newRange','rename','position','merge','insert','applyOperation','map','createRange','SuggestionsConversion','offset','parent','baseVersion','children','changes','removed','isMarkedRemoveOperation','getMinimalFlatRanges','range','getDiff','start','schema','length','suggestion:deletion:','index','reverse','isAfter','new','10NMGSLJ','clone'];_0x339d=function(){return _0x2226b1;};return _0x339d();}function no(_0x3c9e40,_0xaf73d3){const _0x5d230d=_0x439f;for(const [_0x17a10d,_0x35b04e]of _0x3c9e40[_0x5d230d(0x15a)]){const _0x4782b5=_0xadd0ce[_0x5d230d(0x189)](_0x35b04e[_0x5d230d(0x177)](_0xaf73d3));_0x3c9e40[_0x5d230d(0x15a)][_0x5d230d(0x162)](_0x17a10d,_0x4782b5);}}export function getMinimalSelection(_0x4a695a,_0x55a835,_0x4876d4){const _0x4f3d46=_0x439f,_0x33cc12=_0x4a695a[_0x4f3d46(0x198)][_0x4f3d46(0x1a5)](_0x4f3d46(0x16e));let _0x3de716=_0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1a9)](_0x4876d4,Number[_0x4f3d46(0x17c)]),_0x103118=_0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1a9)](_0x4876d4,0x0);for(const _0x516215 of _0x55a835){let _0x23eeda,_0x28cf10;if(_0x33cc12[_0x4f3d46(0x1bd)](_0x516215))_0x23eeda=_0x516215[_0x4f3d46(0x1ae)][_0x4f3d46(0x1c1)],_0x28cf10=_0x516215[_0x4f3d46(0x1ae)][_0x4f3d46(0x16f)];else switch(_0x3de716=_0x3de716[_0x4f3d46(0x177)](_0x516215),_0x103118=_0x103118[_0x4f3d46(0x177)](_0x516215),_0x516215[_0x4f3d46(0x19a)]){case _0x4f3d46(0x1af):_0x23eeda=_0x516215[_0x4f3d46(0x1b0)],_0x28cf10=_0x23eeda[_0x4f3d46(0x160)](0x1);break;case _0x4f3d46(0x194):case _0x4f3d46(0x19b):case _0x4f3d46(0x161):_0x23eeda=_0x516215[_0x4f3d46(0x1bf)][_0x4f3d46(0x1c1)],_0x28cf10=_0x516215[_0x4f3d46(0x1bf)][_0x4f3d46(0x16f)];break;case _0x4f3d46(0x1b2):_0x23eeda=_0x516215[_0x4f3d46(0x1b0)],_0x28cf10=_0x23eeda[_0x4f3d46(0x160)](_0x516215[_0x4f3d46(0x182)]);break;case _0x4f3d46(0x175):_0x23eeda=_0x516215[_0x4f3d46(0x191)],_0x28cf10=_0x516215[_0x4f3d46(0x18b)];break;case _0x4f3d46(0x1b1):{const _0x3f94ad=_0x516215[_0x4f3d46(0x18d)][_0x4f3d46(0x17f)][_0x4f3d46(0x16b)](0x0,-0x1);_0x23eeda=_0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1ad)](_0x4876d4,_0x3f94ad),_0x28cf10=_0x23eeda[_0x4f3d46(0x160)](0x1);break;}case _0x4f3d46(0x187):{const _0x158ce5=_0x516215[_0x4f3d46(0x182)],_0x16be2f=_0x516215[_0x4f3d46(0x19c)][_0x4f3d46(0x184)](_0x516215[_0x4f3d46(0x18d)],_0x158ce5),_0x5d1d85=_0x516215[_0x4f3d46(0x173)]();_0x4f3d46(0x187)==_0x516215[_0x4f3d46(0x19a)]?(_0x23eeda=_0x16be2f,_0x28cf10=_0x16be2f):(_0x23eeda=_0x5d1d85,_0x28cf10=_0x5d1d85[_0x4f3d46(0x160)](_0x158ce5));break;}}_0x23eeda&&_0x23eeda[_0x4f3d46(0x17a)](_0x3de716)&&(_0x3de716=_0x23eeda[_0x4f3d46(0x157)](),_0x3de716[_0x4f3d46(0x1a3)]=_0x4f3d46(0x165)),_0x28cf10&&_0x28cf10[_0x4f3d46(0x154)](_0x103118)&&(_0x103118=_0x28cf10[_0x4f3d46(0x157)](),_0x103118[_0x4f3d46(0x1a3)]=_0x4f3d46(0x165));}return _0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1a1)](_0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1b5)](_0x3de716,_0x103118));}export function expandSelectionWithContext(_0x32ad00,_0x47ca85){const _0x5be235=_0x439f;ro(_0x32ad00,_0x47ca85,_0x5be235(0x172));const _0x2b9a23=_0x47ca85[_0x5be235(0x17d)]();_0x47ca85[_0x5be235(0x15b)]([]),_0x47ca85[_0x5be235(0x15b)](_0x2b9a23,{'backward':!0x0}),ro(_0x32ad00,_0x47ca85,_0x5be235(0x19f));}function ro(_0x541a9b,_0x1084f3,_0x403338){const _0x1fa4d3=_0x439f;let _0x51e3ed=0x14;for(;_0x51e3ed;){_0x541a9b[_0x1fa4d3(0x19e)](_0x1084f3,{'unit':_0x1fa4d3(0x192),'direction':_0x403338}),_0x51e3ed--;const _0x22bd97=_0x1084f3[_0x1fa4d3(0x18e)][_0x1fa4d3(0x172)==_0x403338?_0x1fa4d3(0x176):_0x1fa4d3(0x193)];if(_0x22bd97&&_0x22bd97['is'](_0x1fa4d3(0x15f))&&_0x541a9b[_0x1fa4d3(0x14f)][_0x1fa4d3(0x1a4)](_0x22bd97)&&_0x541a9b[_0x1fa4d3(0x14f)][_0x1fa4d3(0x185)](_0x22bd97))break;}}export function _transformMarkersByDeletion(_0x4309e6,_0x4ed6ac){const _0x545be3=_0x439f;for(const [_0x14aa44,_0x2cb182]of _0x4309e6[_0x545be3(0x15a)]){const _0xdea909=_0x2cb182[_0x545be3(0x1ac)](_0x4ed6ac[_0x545be3(0x1c1)],_0x4ed6ac[_0x545be3(0x16f)][_0x545be3(0x1b7)]-_0x4ed6ac[_0x545be3(0x1c1)][_0x545be3(0x1b7)]);null!=_0xdea909?_0x4309e6[_0x545be3(0x15a)][_0x545be3(0x162)](_0x14aa44,_0xdea909):_0x4309e6[_0x545be3(0x15a)][_0x545be3(0x1a7)](_0x14aa44);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ab1d2,_0x2596f6){const _0x419205=_0x4ed5,_0x7650ae=_0x4ab1d2();while(!![]){try{const _0x44fd04=-parseInt(_0x419205(0x115))/0x1+-parseInt(_0x419205(0x102))/0x2*(parseInt(_0x419205(0x100))/0x3)+-parseInt(_0x419205(0x106))/0x4+-parseInt(_0x419205(0x10f))/0x5+-parseInt(_0x419205(0x105))/0x6+parseInt(_0x419205(0x113))/0x7+parseInt(_0x419205(0x112))/0x8;if(_0x44fd04===_0x2596f6)break;else _0x7650ae['push'](_0x7650ae['shift']());}catch(_0x2bfef9){_0x7650ae['push'](_0x7650ae['shift']());}}}(_0x18cd,0xcbf5e));import{parseDocument as _0x1dae58}from'htmlparser2';import{append as _0x206e1f,appendChild as _0x49c573,find as _0x5408e5,findAll as _0x367979,findOne as _0x429254,getChildren as _0x31fe7e,isComment as _0x168955,isTag as _0x3f2315,prepend as _0x40d497,prependChild as _0x3bc436,removeElement as _0x6a7a53,replaceElement as _0x1cffef,textContent as _0x49ee90,getParent as _0x28b6db,hasChildren as _0x144b01}from'domutils';import _0x5e42e3 from'dom-serializer';import{cloneNode as _0x510e95,isDocument as _0x40a402,isText as _0x14c440,Element as _0xe40654,Text as _0x4c878b,Document as _0x33f8e2,NodeWithChildren as _0x23e592}from'domhandler';export{_0x510e95 as cloneNode,_0x5408e5 as find,_0x429254 as findOne,_0x367979 as findAll,_0x31fe7e as getChildren,_0x28b6db as getParent,_0x168955 as isComment,_0x40a402 as isDocument,_0x3f2315 as isTag,_0x14c440 as isText,_0x206e1f as append,_0x49c573 as appendChild,_0x40d497 as prepend,_0x3bc436 as prependChild,_0x5e42e3 as render,_0x6a7a53 as removeElement,_0x1cffef as replaceElement,_0x49ee90 as textContent,_0x144b01 as hasChildren,_0xe40654 as Element,_0x33f8e2 as Document,_0x23e592 as NodeWithChildren,_0x4c878b as Text};export function parse(_0x1b061a){return _0x1dae58(_0x1b061a);}function _0x4ed5(_0x4436ea,_0x58981a){const _0x18cd58=_0x18cd();return _0x4ed5=function(_0x4ed5bb,_0x1f0135){_0x4ed5bb=_0x4ed5bb-0xff;let _0x152723=_0x18cd58[_0x4ed5bb];return _0x152723;},_0x4ed5(_0x4436ea,_0x58981a);}export function serialize(_0x236b21){return _0x5e42e3(_0x236b21);}export function findByAttribute(_0x48d6f3,_0x14ea88,_0x34cc58){const _0x1a68bd=_0x4ed5,_0x5ab400=null!==_0x14ea88?_0x5047d3=>_0x5047d3[_0x1a68bd(0x114)][_0x48d6f3]===_0x14ea88:_0x3d0713=>Boolean(_0x3d0713[_0x1a68bd(0x114)][_0x48d6f3]);return _0x429254(_0x10c222=>_0x3f2315(_0x10c222)&&_0x5ab400(_0x10c222),_0x34cc58);}export function findAllByAttribute(_0x5f08d3,_0x5e8be1,_0x3dd9c2){const _0x5ab4b5=_0x4ed5,_0x145ebb=null!==_0x5e8be1?_0x153580=>_0x153580[_0x5ab4b5(0x114)][_0x5f08d3]===_0x5e8be1:_0x3d69d1=>Boolean(_0x3d69d1[_0x5ab4b5(0x114)][_0x5f08d3]);return _0x367979(_0x3ff5ef=>_0x3f2315(_0x3ff5ef)&&_0x145ebb(_0x3ff5ef),_0x3dd9c2);}function _0x18cd(){const _0x694ee3=['beforebegin','beforeend','forEach','slice','nextSibling','push','cloneNode','afterend','3522530xKmVpJ','replace','map','18239816Adkuou','5363785oOCSWw','attribs','474831WMcAcD','afterbegin','3XOfdFK','parentNode','57390RQLcsI','reverse','indexOf','4922670uAEKLk','729332YImFCE'];_0x18cd=function(){return _0x694ee3;};return _0x18cd();}export function findAllComments(_0x498f09){return _0x5408e5(_0x34a219=>_0x168955(_0x34a219),_0x498f09,!0x0,0x1/0x0);}export function getAttribute(_0x4c8f78,_0x2f0cae){const _0x55a033=_0x4ed5;return _0x4c8f78&&_0x3f2315(_0x4c8f78)?_0x4c8f78[_0x55a033(0x114)][_0x2f0cae]:null;}export function setAttribute(_0x318e48,_0x5575b2,_0x4b3162){const _0x3fad5b=_0x4ed5;_0x3f2315(_0x318e48)&&(null===_0x4b3162?delete _0x318e48[_0x3fad5b(0x114)][_0x5575b2]:_0x318e48[_0x3fad5b(0x114)][_0x5575b2]=_0x4b3162);}export function insertElement(_0x5c471d,_0xd523d1,_0x19d7e1){const _0x52e00b=_0x4ed5,_0x48c782=_0xd523d1[_0x52e00b(0x10d)](!0x0);_0x52e00b(0x107)===_0x19d7e1?_0x40d497(_0x5c471d,_0x48c782):_0x52e00b(0xff)===_0x19d7e1?_0x3bc436(_0x5c471d,_0x48c782):_0x52e00b(0x108)===_0x19d7e1?_0x49c573(_0x5c471d,_0x48c782):_0x52e00b(0x10e)===_0x19d7e1&&_0x206e1f(_0x5c471d,_0x48c782);}export function moveElement(_0x5703ec,_0x4c9207){_0x6a7a53(_0x5703ec),_0x1cffef(_0x4c9207,_0x5703ec);}export function clone(_0x2f0466){const _0x43b019=_0x4ed5;return _0x2f0466[_0x43b019(0x10d)](!0x0);}export function getParents(_0x137caf){const _0x5dd453=_0x4ed5,_0x30bc43=[];let _0x2a5ecf=_0x137caf;for(;_0x2a5ecf;)_0x2a5ecf=_0x28b6db(_0x2a5ecf),_0x2a5ecf&&_0x30bc43[_0x5dd453(0x10c)](_0x2a5ecf);return _0x30bc43;}export function normalizeHTML(_0x81bd40){const _0x53e206=_0x4ed5;return _0x81bd40[_0x53e206(0x110)](/^\s+/gm,'')[_0x53e206(0x110)](/\s+$/gm,'')[_0x53e206(0x110)](/\n*/g,'')[_0x53e206(0x110)](/\s+/g,'\x20')[_0x53e206(0x110)](/>\s*</g,'><');}export function areNodesSame(_0x3d8fcd,_0x57b9ea){return normalizeHTML(serialize(_0x3d8fcd))===normalizeHTML(serialize(_0x57b9ea));}export function getNodeNestingLevel(_0x2ba6b9){const _0x55bf38=_0x4ed5;let _0x11a94d=0x0;for(;_0x2ba6b9[_0x55bf38(0x101)];)_0x2ba6b9=_0x2ba6b9[_0x55bf38(0x101)],_0x11a94d++;return _0x11a94d;}export function removeElementsAfter(_0x137630){const _0x11f4f4=_0x4ed5,_0x35c3e9=[];let _0x4bb841=_0x137630[_0x11f4f4(0x10b)];for(;_0x4bb841;)_0x35c3e9[_0x11f4f4(0x10c)](_0x4bb841),_0x4bb841=_0x4bb841[_0x11f4f4(0x10b)];_0x35c3e9[_0x11f4f4(0x109)](_0x31975c=>{_0x6a7a53(_0x31975c);});}export function getNodePath(_0x1ce283){const _0x528913=_0x4ed5;return[_0x1ce283,...getParents(_0x1ce283)][_0x528913(0x10a)](0x0,-0x1)[_0x528913(0x111)](_0x585260=>{const _0x33ae58=_0x528913,_0x252a27=_0x28b6db(_0x585260);return _0x31fe7e(_0x252a27)[_0x33ae58(0x104)](_0x585260);})[_0x528913(0x103)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb197f4=_0x3f64;(function(_0x2b8fcb,_0x2fd58b){const _0x307e0a=_0x3f64,_0x59a68b=_0x2b8fcb();while(!![]){try{const _0x60cc18=parseInt(_0x307e0a(0x12c))/0x1*(parseInt(_0x307e0a(0x12b))/0x2)+-parseInt(_0x307e0a(0x156))/0x3+parseInt(_0x307e0a(0x15e))/0x4+parseInt(_0x307e0a(0x15b))/0x5+-parseInt(_0x307e0a(0x155))/0x6+parseInt(_0x307e0a(0x135))/0x7+-parseInt(_0x307e0a(0x13c))/0x8;if(_0x60cc18===_0x2fd58b)break;else _0x59a68b['push'](_0x59a68b['shift']());}catch(_0x503cd2){_0x59a68b['push'](_0x59a68b['shift']());}}}(_0x54a9,0x33b55));function _0x54a9(){const _0x14d53b=['currentIndex','isWordSplitSource','2745744HpGkeb','from','childNodes','mark','del','code','span[data-ck-html-streamer-word-chunk]','onStreamUpdate','join','shouldBeStreamed','span','entries','match','addEventListener','attribs','push','div','replaceWith','map','nodesList','tagName','cleanUpAnimations','includes','children','delay','562434eouWCn','871926wSHreH','bind','ins','getParsedDocumentNodeList','signal','1612805iMDODb','document','reverse','70996jkajMF','isWordSplitResult','lastUpdateTime','renderNode','options','stop','parent','abort','forEach','2zYlFPj','342497mdjfye','splitTextNodeIntoWordNodes','reset','sup','now','stream','length','textNodeStyle','strong','1796123GQMEic','sub','querySelectorAll','isStreaming','timeoutAbortController'];_0x54a9=function(){return _0x14d53b;};return _0x54a9();}import _0x5dd2fc from'morphdom';import{NodeWithChildren as _0x2e0e14,Text as _0xd97b2,Element as _0x56fdc6,isText as _0xb1154e,isDocument as _0x5e9c19,isTag as _0x3a4ea,cloneNode as _0x5a2896,getChildren as _0x425e07,prepend as _0x4da741,removeElement as _0x1e8168,textContent as _0x2ad8b3,render as _0x5a7c3b}from'./htmlparser.js';export class HTMLStreamer{[_0xb197f4(0x126)];[_0xb197f4(0x138)]=!0x1;[_0xb197f4(0x15c)]=null;[_0xb197f4(0x14f)]=[];[_0xb197f4(0x13a)]=0x0;[_0xb197f4(0x139)]=null;[_0xb197f4(0x160)]=0x0;constructor(_0x40fde6){const _0x3423d9=_0xb197f4;this[_0x3423d9(0x126)]={'delay':_0x40fde6[_0x3423d9(0x154)]??0x14,'textNodeStyle':_0x40fde6[_0x3423d9(0x133)],'onStreamUpdate':_0x40fde6[_0x3423d9(0x143)]||(()=>{})};}async[_0xb197f4(0x131)]({document:_0x2edf32,targetElement:_0x5ad24e,abortSignal:_0x2f4245}){const _0x177b54=_0xb197f4;this[_0x177b54(0x138)]&&this[_0x177b54(0x127)](),_0x2f4245?.[_0x177b54(0x149)](_0x177b54(0x129),this[_0x177b54(0x127)][_0x177b54(0x157)](this)),this[_0x177b54(0x15c)]=_0x5a2896(_0x2edf32,!0x0),this[_0x177b54(0x14f)]=this[_0x177b54(0x159)](),this[_0x177b54(0x138)]=!0x0,this[_0x177b54(0x13a)]>this[_0x177b54(0x14f)][_0x177b54(0x132)]&&(this[_0x177b54(0x13a)]=this[_0x177b54(0x14f)][_0x177b54(0x132)]);for(let _0x3ea5fc=0x0;_0x3ea5fc<this[_0x177b54(0x13a)];_0x3ea5fc++)this[_0x177b54(0x14f)][_0x3ea5fc][_0x177b54(0x145)]=!0x0;do{const _0x35798f=Date[_0x177b54(0x130)](),_0x226715=this[_0x177b54(0x14f)][this[_0x177b54(0x13a)]],_0x18dc8f=_0x35798f-this[_0x177b54(0x160)];if(_0x226715){_0x226715[_0x177b54(0x145)]=!0x0;let _0x507074=_0x226715[_0x177b54(0x128)];for(;_0x507074;)_0x507074[_0x177b54(0x145)]=!0x0,_0x507074=_0x507074[_0x177b54(0x128)];}if(_0x18dc8f<this[_0x177b54(0x126)][_0x177b54(0x154)])try{const {promise:_0x23f105,abortController:_0x3e3def}=Ds(this[_0x177b54(0x126)][_0x177b54(0x154)]-_0x18dc8f);this[_0x177b54(0x139)]=_0x3e3def,await _0x23f105;}catch(_0x140d07){return;}_0x5dd2fc(_0x5ad24e,'<'+_0x5ad24e[_0x177b54(0x150)]+'>'+this[_0x177b54(0x161)](this[_0x177b54(0x15c)])+'</'+_0x5ad24e[_0x177b54(0x150)]+'>',{'childrenOnly':!0x0}),this[_0x177b54(0x126)][_0x177b54(0x143)]&&this[_0x177b54(0x126)][_0x177b54(0x143)](),this[_0x177b54(0x13a)]++,this[_0x177b54(0x160)]=Date[_0x177b54(0x130)]();}while(this[_0x177b54(0x13a)]<this[_0x177b54(0x14f)][_0x177b54(0x132)]);this[_0x177b54(0x13a)]=this[_0x177b54(0x14f)][_0x177b54(0x132)],this[_0x177b54(0x138)]=!0x1;}[_0xb197f4(0x12e)](){const _0x233daf=_0xb197f4;this[_0x233daf(0x138)]=!0x1,this[_0x233daf(0x15c)]=null,this[_0x233daf(0x14f)]=[],this[_0x233daf(0x13a)]=0x0,this[_0x233daf(0x139)]=null;}[_0xb197f4(0x151)]({targetElement:_0x36358c}){const _0x1dd624=_0xb197f4;Array[_0x1dd624(0x13d)](_0x36358c[_0x1dd624(0x137)](_0x1dd624(0x142)))[_0x1dd624(0x15d)]()[_0x1dd624(0x12a)](_0x131738=>{const _0x39d0b4=_0x1dd624;_0x131738[_0x39d0b4(0x14d)](_0x131738[_0x39d0b4(0x13e)][0x0]);});}[_0xb197f4(0x127)](){const _0x2e2ad9=_0xb197f4;this[_0x2e2ad9(0x138)]=!0x1,this[_0x2e2ad9(0x139)]&&(this[_0x2e2ad9(0x139)][_0x2e2ad9(0x129)](),this[_0x2e2ad9(0x139)]=null);}[_0xb197f4(0x161)](_0xdf4f4c){const _0x106c2f=_0xb197f4;let _0x603386='';if(function(_0x561888){return _0x5e9c19(_0x561888);}(_0xdf4f4c)){for(const _0x3a4c30 of _0xdf4f4c[_0x106c2f(0x153)])_0x603386+=this[_0x106c2f(0x161)](_0x3a4c30);}else{if(Ts(_0xdf4f4c)){if(!_0xdf4f4c[_0x106c2f(0x145)])return'';const _0x89d336=_0xdf4f4c,_0x165591=Object[_0x106c2f(0x147)](_0x89d336[_0x106c2f(0x14a)])[_0x106c2f(0x14e)](([_0x528bc4,_0x4154b6])=>_0x528bc4+'=\x22'+_0x4154b6+'\x22')[_0x106c2f(0x144)]('\x20');_0x603386+='<'+_0x89d336[_0x106c2f(0x150)]+(_0x165591?'\x20'+_0x165591:'')+'>';for(const _0x4ac37a of _0x425e07(_0x89d336))_0x603386+=this[_0x106c2f(0x161)](_0x4ac37a);_0x603386+='</'+_0x89d336[_0x106c2f(0x150)]+'>';}else{if(!Ss(_0xdf4f4c))return'';if(!_0xdf4f4c[_0x106c2f(0x145)])return'';!function(_0x17de92){const _0x409bc8=_0x106c2f;if(!_0x17de92[_0x409bc8(0x128)]||!Ts(_0x17de92[_0x409bc8(0x128)]))return!0x1;if(!ys[_0x409bc8(0x152)](_0x17de92[_0x409bc8(0x128)][_0x409bc8(0x150)]))return!0x1;return!_0x2ad8b3(_0x17de92)[_0x409bc8(0x148)](/^\s*[<>]\s*$/);}(_0xdf4f4c)?_0x603386+=_0x5a7c3b(_0xdf4f4c):_0x603386+=_0x5a7c3b(new _0x56fdc6(_0x106c2f(0x146),{'data-ck-html-streamer-word-chunk':'','style':this[_0x106c2f(0x126)][_0x106c2f(0x133)]},[_0xdf4f4c]));}}return _0x603386;}[_0xb197f4(0x159)](){const _0x34a7b5=_0xb197f4,_0xc4f563=[];return function(_0xebf128,_0x2673f1){const _0x27ef4f=_0x3f64,_0x5e5b5d=_0x48a4ae=>{const _0x2df7e2=_0x3f64;if(_0x2673f1(_0x48a4ae),_0x48a4ae instanceof _0x2e0e14)for(let _0x5f016f=0x0;_0x5f016f<_0x48a4ae[_0x2df7e2(0x153)][_0x2df7e2(0x132)];_0x5f016f++){const _0x147429=_0x48a4ae[_0x2df7e2(0x153)][_0x5f016f];_0x5e5b5d(_0x147429);}};for(let _0x20f6f8=0x0;_0x20f6f8<_0xebf128[_0x27ef4f(0x153)][_0x27ef4f(0x132)];_0x20f6f8++)_0x5e5b5d(_0xebf128[_0x27ef4f(0x153)][_0x20f6f8]);}(this[_0x34a7b5(0x15c)],_0x52fccf=>{const _0x5e9a8c=_0x34a7b5;if(Ss(_0x52fccf)){const _0xc5a049=this[_0x5e9a8c(0x12d)](_0x52fccf);_0xc5a049[_0x5e9a8c(0x132)]&&_0xc4f563[_0x5e9a8c(0x14b)](..._0xc5a049);}_0x52fccf[_0x5e9a8c(0x13b)]||_0x52fccf[_0x5e9a8c(0x15f)]||_0xc4f563[_0x5e9a8c(0x14b)](_0x52fccf);}),_0xc4f563;}[_0xb197f4(0x12d)](_0x1411dd){const _0x1ac069=_0xb197f4;if(_0x1411dd[_0x1ac069(0x13b)]||_0x1411dd[_0x1ac069(0x15f)])return[];const _0x3ed172=_0x2ad8b3(_0x1411dd)[_0x1ac069(0x148)](/(?:\s*\S+\s*)/g),_0x3ced28=[];if(_0x3ed172&&_0x3ed172[_0x1ac069(0x132)]>0x1){for(const _0x1ac767 of _0x3ed172){const _0x5a7c7b=new _0xd97b2(_0x1ac767);_0x5a7c7b[_0x1ac069(0x15f)]=!0x0,_0x4da741(_0x1411dd,_0x5a7c7b),_0x3ced28[_0x1ac069(0x14b)](_0x5a7c7b);}_0x1411dd[_0x1ac069(0x13b)]=!0x0,_0x1e8168(_0x1411dd);}return _0x3ced28;}}const ys=['p','li','td','th',_0xb197f4(0x146),'h1','h2','h3','h4','h5','h6','b',_0xb197f4(0x134),'i','em',_0xb197f4(0x13f),_0xb197f4(0x140),_0xb197f4(0x158),_0xb197f4(0x12f),_0xb197f4(0x136),'a',_0xb197f4(0x141),_0xb197f4(0x14c)];function _0x3f64(_0x4396fc,_0x1a188d){const _0x54a946=_0x54a9();return _0x3f64=function(_0x3f643a,_0x294710){_0x3f643a=_0x3f643a-0x126;let _0xe0e9e4=_0x54a946[_0x3f643a];return _0xe0e9e4;},_0x3f64(_0x4396fc,_0x1a188d);}function Ss(_0x63f4ef){return _0xb1154e(_0x63f4ef);}function Ts(_0x375108){return _0x3a4ea(_0x375108);}function Ds(_0x42b264){const _0x4972aa=new AbortController();return{'promise':new Promise((_0x3fa0ca,_0x56a5d6)=>{const _0x19fd11=_0x3f64,_0x1dfe92=setTimeout(_0x3fa0ca,_0x42b264);_0x4972aa[_0x19fd11(0x15a)][_0x19fd11(0x149)](_0x19fd11(0x129),()=>{clearTimeout(_0x1dfe92),_0x56a5d6();});}),'abortController':_0x4972aa};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2d0ebc=_0x1283;(function(_0x48aa7d,_0x2a7afe){const _0x5a875d=_0x1283,_0x40bff7=_0x48aa7d();while(!![]){try{const _0x2bf457=-parseInt(_0x5a875d(0x10c))/0x1+-parseInt(_0x5a875d(0x11a))/0x2+-parseInt(_0x5a875d(0x10e))/0x3+-parseInt(_0x5a875d(0x113))/0x4*(parseInt(_0x5a875d(0x127))/0x5)+parseInt(_0x5a875d(0x11d))/0x6*(-parseInt(_0x5a875d(0x10d))/0x7)+parseInt(_0x5a875d(0x12d))/0x8*(parseInt(_0x5a875d(0x112))/0x9)+parseInt(_0x5a875d(0x114))/0xa;if(_0x2bf457===_0x2a7afe)break;else _0x40bff7['push'](_0x40bff7['shift']());}catch(_0x565162){_0x40bff7['push'](_0x40bff7['shift']());}}}(_0x14a5,0x75bea));const Fs=[_0x2d0ebc(0x107),_0x2d0ebc(0x11f),_0x2d0ebc(0x120),_0x2d0ebc(0x108)],Us=[_0x2d0ebc(0x11b),_0x2d0ebc(0x118),_0x2d0ebc(0x12b),_0x2d0ebc(0x12c),_0x2d0ebc(0x121),_0x2d0ebc(0x109),'\x20'];function _0x1283(_0x3b2169,_0xcfceb){const _0x14a588=_0x14a5();return _0x1283=function(_0x12836e,_0x4d5fc8){_0x12836e=_0x12836e-0x104;let _0x22c231=_0x14a588[_0x12836e];return _0x22c231;},_0x1283(_0x3b2169,_0xcfceb);}export class ScrollManager{[_0x2d0ebc(0x128)];[_0x2d0ebc(0x12e)];[_0x2d0ebc(0x124)];[_0x2d0ebc(0x104)];[_0x2d0ebc(0x12a)];constructor(_0x40da8c){const _0x1187f3=_0x2d0ebc;this[_0x1187f3(0x128)]=_0x40da8c,this[_0x1187f3(0x12e)]=null,this[_0x1187f3(0x124)]=!0x1,this[_0x1187f3(0x104)]=new AbortController(),this[_0x1187f3(0x12a)]=!0x1;for(const _0x342d97 of Fs){const _0x1bf8dc=_0x1187f3(0x108)!==_0x342d97;this[_0x1187f3(0x128)][_0x1187f3(0x122)](_0x342d97,this[_0x1187f3(0x116)][_0x1187f3(0x126)](this),{'passive':_0x1bf8dc,'signal':this[_0x1187f3(0x104)][_0x1187f3(0x123)]});}}[_0x2d0ebc(0x117)](){const _0x55c79b=_0x2d0ebc;this[_0x55c79b(0x124)]||(this[_0x55c79b(0x124)]=!0x0,this[_0x55c79b(0x12a)]=!0x1,this[_0x55c79b(0x12e)]=requestAnimationFrame(this[_0x55c79b(0x110)][_0x55c79b(0x126)](this)));}[_0x2d0ebc(0x11c)](){requestAnimationFrame(()=>{const _0xc64413=_0x1283;this[_0xc64413(0x115)]();});}[_0x2d0ebc(0x111)](){const _0x43bc9c=_0x2d0ebc;this[_0x43bc9c(0x115)](),this[_0x43bc9c(0x104)][_0x43bc9c(0x105)]();}[_0x2d0ebc(0x115)](){const _0x380f6e=_0x2d0ebc;null!==this[_0x380f6e(0x12e)]&&(cancelAnimationFrame(this[_0x380f6e(0x12e)]),this[_0x380f6e(0x12e)]=null),this[_0x380f6e(0x124)]&&(this[_0x380f6e(0x124)]=!0x1),this[_0x380f6e(0x12a)]=!0x1;}[_0x2d0ebc(0x116)](_0x23c175){const _0x5ade3b=_0x2d0ebc;if(this[_0x5ade3b(0x124)]){if(_0x5ade3b(0x108)===_0x23c175[_0x5ade3b(0x125)]){const _0x4447d1=_0x23c175[_0x5ade3b(0x106)];if(!Us[_0x5ade3b(0x119)](_0x4447d1))return;}_0x23c175 instanceof WheelEvent?_0x23c175[_0x5ade3b(0x10f)]<0x0?this[_0x5ade3b(0x12a)]=!0x0:this[_0x5ade3b(0x12a)]=!this[_0x5ade3b(0x129)]():this[_0x5ade3b(0x12a)]=!0x0;}}[_0x2d0ebc(0x129)](){const _0x2581a7=_0x2d0ebc,{scrollTop:_0xba7b08,scrollHeight:_0x46645d,clientHeight:_0x143a35}=this[_0x2581a7(0x128)];return _0x46645d-_0xba7b08-_0x143a35<=0x5;}[_0x2d0ebc(0x110)](){const _0x32777e=_0x2d0ebc;this[_0x32777e(0x124)]&&(this[_0x32777e(0x12a)]||this[_0x32777e(0x128)][_0x32777e(0x11e)]({'top':this[_0x32777e(0x128)][_0x32777e(0x10b)],'behavior':_0x32777e(0x10a)}),this[_0x32777e(0x12e)]=requestAnimationFrame(this[_0x32777e(0x110)][_0x32777e(0x126)](this)));}}function _0x14a5(){const _0x414ea5=['_stop','_onUserEvent','start','ArrowDown','includes','133132JlwieO','ArrowUp','stop','96qsaKWJ','scrollTo','touchstart','pointerdown','Home','addEventListener','signal','isRunning','type','bind','4004195tHIqle','element','_isAtBottom','isUserPaused','PageUp','PageDown','392NaJNBT','animationFrameId','abortController','abort','key','wheel','keydown','End','auto','scrollHeight','427561EDJtXg','199066fJDIES','2492985BGzJuc','deltaY','_rafUpdate','destroy','163638NhhipF','4kbYbHp','21723330SOpzWo'];_0x14a5=function(){return _0x414ea5;};return _0x14a5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xf8b4(_0x14a248,_0x5a6257){var _0x4e78b2=_0x4e78();return _0xf8b4=function(_0xf8b44b,_0x20e7af){_0xf8b44b=_0xf8b44b-0x12a;var _0x4024f5=_0x4e78b2[_0xf8b44b];return _0x4024f5;},_0xf8b4(_0x14a248,_0x5a6257);}var _0x171d95=_0xf8b4;(function(_0x1d3a88,_0x4c6888){var _0x59fd34=_0xf8b4,_0x16b940=_0x1d3a88();while(!![]){try{var _0x8b75e9=parseInt(_0x59fd34(0x12d))/0x1+parseInt(_0x59fd34(0x131))/0x2+parseInt(_0x59fd34(0x12e))/0x3*(parseInt(_0x59fd34(0x12b))/0x4)+parseInt(_0x59fd34(0x130))/0x5*(parseInt(_0x59fd34(0x134))/0x6)+-parseInt(_0x59fd34(0x137))/0x7+-parseInt(_0x59fd34(0x138))/0x8*(parseInt(_0x59fd34(0x12f))/0x9)+parseInt(_0x59fd34(0x12c))/0xa;if(_0x8b75e9===_0x4c6888)break;else _0x16b940['push'](_0x16b940['shift']());}catch(_0x494ce3){_0x16b940['push'](_0x16b940['shift']());}}}(_0x4e78,0x5b5c1));function _0x4e78(){var _0x59ea3f=['325VEUfpa','225084jerLbe','AIEditorIntegration','pluginName','37146kpwuhU','requires','isPremiumPlugin','2353932QXXjGL','896klvoSu','isOfficialPlugin','930980wQRPGv','3126930PvxtMD','311114vBLXOd','3CJGECA','53118CojnlO'];_0x4e78=function(){return _0x59ea3f;};return _0x4e78();}import{Plugin as _0x17b2b6}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x1db6cf}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x107103}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x3c115c}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x17b2b6{static get[_0x171d95(0x135)](){return[_0x1db6cf,_0x107103,_0x3c115c];}static get[_0x171d95(0x133)](){var _0x537a3c=_0x171d95;return _0x537a3c(0x132);}static get[_0x171d95(0x12a)](){return!0x0;}static get[_0x171d95(0x136)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x598e44=_0x2932;function _0x4418(){const _0x3cfe14=['isOfficialPlugin','add','803695zTzPhK','10ylvBGD','menuBar:toggleAi','requires','menuitemcheckbox','commands','get','2mbvEGH','toggleAi','AI_TOGGLE_BUTTON_LABEL','72583pVrtTs','bind','764304cZtsnW','552699ZxuuTH','isOn','ck-ai-toggle-button','pluginName','editor','6093CtzRqo','execute','isEnabled','_createAIUIButton','componentFactory','isPremiumPlugin','value','listenTo','48AMXCEt','set','33529bNurZL','locale','init','904152bABiwv','AIToggleButtonUI'];_0x4418=function(){return _0x3cfe14;};return _0x4418();}(function(_0x166eb3,_0x49d0d0){const _0x1172f9=_0x2932,_0xa594e3=_0x166eb3();while(!![]){try{const _0x2f6149=parseInt(_0x1172f9(0xba))/0x1+parseInt(_0x1172f9(0xa5))/0x2*(parseInt(_0x1172f9(0xb0))/0x3)+-parseInt(_0x1172f9(0xaa))/0x4+parseInt(_0x1172f9(0x9e))/0x5+-parseInt(_0x1172f9(0xb8))/0x6*(-parseInt(_0x1172f9(0xa8))/0x7)+parseInt(_0x1172f9(0x9a))/0x8+parseInt(_0x1172f9(0xab))/0x9*(parseInt(_0x1172f9(0x9f))/0xa);if(_0x2f6149===_0x49d0d0)break;else _0xa594e3['push'](_0xa594e3['shift']());}catch(_0x3fdb6e){_0xa594e3['push'](_0xa594e3['shift']());}}}(_0x4418,0x401cd));import{Plugin as _0x41abb1}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x4b13a0}from'./toggleaicommand.js';function _0x2932(_0x8c4f56,_0x1c35db){const _0x4418d2=_0x4418();return _0x2932=function(_0x293218,_0x4130e5){_0x293218=_0x293218-0x99;let _0x43de6e=_0x4418d2[_0x293218];return _0x43de6e;},_0x2932(_0x8c4f56,_0x1c35db);}import{ButtonView as _0x543460,MenuBarMenuListItemButtonView as _0x222a7c}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x1df1ed}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4f4dac}from'../../aicore/utils/common-translations.js';import{AITabs as _0xbbba5}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x41abb1{static get[_0x598e44(0xa1)](){return[_0xbbba5];}static get[_0x598e44(0xae)](){const _0x1cc0db=_0x598e44;return _0x1cc0db(0x9b);}static get[_0x598e44(0x9c)](){return!0x0;}static get[_0x598e44(0xb5)](){return!0x0;}[_0x598e44(0x99)](){const _0x1a9047=_0x598e44,_0x557f0a=this[_0x1a9047(0xaf)];_0x557f0a[_0x1a9047(0xa3)][_0x1a9047(0x9d)](_0x1a9047(0xa6),new _0x4b13a0(_0x557f0a)),_0x557f0a['ui'][_0x1a9047(0xb4)][_0x1a9047(0x9d)](_0x1a9047(0xa6),()=>{const _0x2329b5=_0x1a9047,_0x3fcddc=this[_0x2329b5(0xb3)](_0x543460);return _0x3fcddc[_0x2329b5(0xb9)]({'tooltip':!0x0,'class':_0x2329b5(0xad)}),_0x3fcddc;}),_0x557f0a['ui'][_0x1a9047(0xb4)][_0x1a9047(0x9d)](_0x1a9047(0xa0),()=>{const _0xb430db=_0x1a9047,_0x2df7b1=this[_0xb430db(0xb3)](_0x222a7c);return _0x2df7b1[_0xb430db(0xb9)]({'role':_0xb430db(0xa2)}),_0x2df7b1;});}[_0x598e44(0xb3)](_0x18b299){const _0x5e48fb=_0x598e44,_0x22a403=this[_0x5e48fb(0xaf)],_0x399bc3=_0x22a403[_0x5e48fb(0xa3)][_0x5e48fb(0xa4)](_0x5e48fb(0xa6)),_0x458133=new _0x18b299(_0x22a403[_0x5e48fb(0xbb)]);return _0x458133[_0x5e48fb(0xb9)]({'label':_0x4f4dac(_0x22a403[_0x5e48fb(0xbb)],_0x5e48fb(0xa7)),'icon':_0x1df1ed,'isToggleable':!0x0}),_0x458133[_0x5e48fb(0xa9)](_0x5e48fb(0xb2))['to'](_0x399bc3),_0x458133[_0x5e48fb(0xa9)](_0x5e48fb(0xac))['to'](_0x399bc3,_0x5e48fb(0xb6),_0x2ad0af=>!!_0x2ad0af),this[_0x5e48fb(0xb7)](_0x458133,_0x5e48fb(0xb1),()=>{const _0x88c650=_0x5e48fb;_0x399bc3[_0x88c650(0xb1)]();}),_0x458133;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x42b3(){const _0x44f3ee=['49629105nDIOsM','1677188GfzYMK','2140686EeePvL','isEnabled','bind','740880QZOqtS','AITabs','isVisible','6377816zWTNcJ','plugins','value','5059056eoRYqT','7VuEDrQ','editor','view','get','6356440qCYGMn','1lRqWCq','execute'];_0x42b3=function(){return _0x44f3ee;};return _0x42b3();}const _0x4b9644=_0x1223;function _0x1223(_0x51aa1f,_0x5ef00a){const _0x42b367=_0x42b3();return _0x1223=function(_0x122391,_0x166f5b){_0x122391=_0x122391-0x149;let _0x2882dc=_0x42b367[_0x122391];return _0x2882dc;},_0x1223(_0x51aa1f,_0x5ef00a);}(function(_0x52d3e6,_0x5f0298){const _0xa12d36=_0x1223,_0x5663b2=_0x52d3e6();while(!![]){try{const _0x1dce99=parseInt(_0xa12d36(0x14c))/0x1*(-parseInt(_0xa12d36(0x14f))/0x2)+-parseInt(_0xa12d36(0x153))/0x3+-parseInt(_0xa12d36(0x159))/0x4+-parseInt(_0xa12d36(0x14b))/0x5+parseInt(_0xa12d36(0x150))/0x6*(-parseInt(_0xa12d36(0x15a))/0x7)+-parseInt(_0xa12d36(0x156))/0x8+parseInt(_0xa12d36(0x14e))/0x9;if(_0x1dce99===_0x5f0298)break;else _0x5663b2['push'](_0x5663b2['shift']());}catch(_0x23fb1e){_0x5663b2['push'](_0x5663b2['shift']());}}}(_0x42b3,0xb45ab));import{Command as _0x1b4cf4}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x1b4cf4{constructor(_0x569588){const _0x468524=_0x1223;super(_0x569588);const _0x14e3cb=_0x569588[_0x468524(0x157)][_0x468524(0x14a)](_0x468524(0x154))[_0x468524(0x149)];this[_0x468524(0x152)](_0x468524(0x158))['to'](_0x14e3cb,_0x468524(0x155)),this[_0x468524(0x151)]=!0x0;}[_0x4b9644(0x14d)](){const _0x15d2e5=_0x4b9644,_0x12e2fc=this[_0x15d2e5(0x15b)][_0x15d2e5(0x157)][_0x15d2e5(0x14a)](_0x15d2e5(0x154))[_0x15d2e5(0x149)];_0x12e2fc[_0x15d2e5(0x155)]=!_0x12e2fc[_0x15d2e5(0x155)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x548f3a=_0x1cc8;(function(_0x5e128c,_0x1c0385){var _0x58aa6a=_0x1cc8,_0x460cb7=_0x5e128c();while(!![]){try{var _0x56bde4=-parseInt(_0x58aa6a(0x190))/0x1*(parseInt(_0x58aa6a(0x18a))/0x2)+-parseInt(_0x58aa6a(0x182))/0x3+parseInt(_0x58aa6a(0x186))/0x4*(parseInt(_0x58aa6a(0x180))/0x5)+parseInt(_0x58aa6a(0x185))/0x6+parseInt(_0x58aa6a(0x18b))/0x7+-parseInt(_0x58aa6a(0x181))/0x8+parseInt(_0x58aa6a(0x18d))/0x9*(parseInt(_0x58aa6a(0x17f))/0xa);if(_0x56bde4===_0x1c0385)break;else _0x460cb7['push'](_0x460cb7['shift']());}catch(_0x5193bd){_0x460cb7['push'](_0x460cb7['shift']());}}}(_0x581a,0xc81a8));import{Plugin as _0x1be1e7}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1a7d99}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x17fdb4}from'./aiquickactionsediting.js';function _0x1cc8(_0x281fd4,_0x385559){var _0x581a4b=_0x581a();return _0x1cc8=function(_0x1cc89d,_0x56e4ad){_0x1cc89d=_0x1cc89d-0x17f;var _0x4b7b7e=_0x581a4b[_0x1cc89d];return _0x4b7b7e;},_0x1cc8(_0x281fd4,_0x385559);}import{AIActions as _0x57cfdc}from'../aiactions/aiactions.js';function _0x581a(){var _0x1e67b3=['250dogeLX','40wSDysx','9860128VWigjQ','765435ChXzHW','ai.quickActions','config','4842600UdTbDi','392800GmXvrr','isPremiumPlugin','AIQuickActions','requires','2014766SVOAOc','7301651wtakRo','define','244395pDCyuF','pluginName','isOfficialPlugin','1jIWPYJ'];_0x581a=function(){return _0x1e67b3;};return _0x581a();}export class AIQuickActions extends _0x1be1e7{static get[_0x548f3a(0x189)](){return[_0x1a7d99,_0x17fdb4,_0x57cfdc];}static get[_0x548f3a(0x18e)](){var _0x1e9769=_0x548f3a;return _0x1e9769(0x188);}static get[_0x548f3a(0x18f)](){return!0x0;}static get[_0x548f3a(0x187)](){return!0x0;}constructor(_0x1ab54f){var _0x51ff73=_0x548f3a;super(_0x1ab54f),_0x1ab54f[_0x51ff73(0x184)][_0x51ff73(0x18c)](_0x51ff73(0x183),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x390e75=_0x4bd0;function _0x4bd0(_0x15fd24,_0x42caaf){const _0x16150c=_0x1615();return _0x4bd0=function(_0x4bd017,_0x1407af){_0x4bd017=_0x4bd017-0x1ec;let _0x2fc076=_0x16150c[_0x4bd017];return _0x2fc076;},_0x4bd0(_0x15fd24,_0x42caaf);}(function(_0x3b60b7,_0x244cdf){const _0x56c90f=_0x4bd0,_0x25f07c=_0x3b60b7();while(!![]){try{const _0x125846=parseInt(_0x56c90f(0x1f6))/0x1*(parseInt(_0x56c90f(0x21e))/0x2)+-parseInt(_0x56c90f(0x216))/0x3*(parseInt(_0x56c90f(0x212))/0x4)+parseInt(_0x56c90f(0x21c))/0x5+-parseInt(_0x56c90f(0x213))/0x6+parseInt(_0x56c90f(0x1ef))/0x7*(parseInt(_0x56c90f(0x1f1))/0x8)+parseInt(_0x56c90f(0x21a))/0x9*(parseInt(_0x56c90f(0x210))/0xa)+-parseInt(_0x56c90f(0x228))/0xb*(parseInt(_0x56c90f(0x214))/0xc);if(_0x125846===_0x244cdf)break;else _0x25f07c['push'](_0x25f07c['shift']());}catch(_0x3a29e5){_0x25f07c['push'](_0x25f07c['shift']());}}}(_0x1615,0x278e2));function _0x1615(){const _0x10cd17=['68823WeYkhx','AIChatController','556150xHjYkL','AIReviewMode','386072yzaFvf','parent','isVisible','document','AITabs','selection','get','view','_expandSelectionIfCollapsed','model','2682251ydYtbr','executeAction','CHAT','removeSelectionFromChatContext','handleAIReviewAction','_handleAIActionsAction','plugins','ai-quick-actions-plugin-not-found','1297947QXRLCJ','REVIEW','8KRieXo','focusPromptInput','_handleAIChatAction','actionName','args','1TNVtiJ','activeTab','label','icon','other','addSelectionToChatContext','AIChat','getSelectedBlocks','type','has','editor','activateTab','ask-ai','sendMessage','_handleAIActionsActionLabel','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','getLimitElement','isCollapsed','chat','_handleAIReviewAction','prompt','log','AIActions','displayedPrompt','execute','setSelection','210HaTvwm','schema','4596WZacTy','632316NOjylN','12FyZSfq','startConversation','363pgTKlH','ACTION','locale','change'];_0x1615=function(){return _0x10cd17;};return _0x1615();}import{Command as _0xe545b9}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f3f4b,first as _0x157eb4}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x5b4bc2}from'./aiquickactionsui.js';import{getTranslation as _0x15f6d6}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0xe545b9{[_0x390e75(0x20e)](_0x48df1b){const _0x19ac27=_0x390e75;switch(this[_0x19ac27(0x226)](),_0x48df1b[_0x19ac27(0x1fe)]){case _0x5b4bc2[_0x19ac27(0x22a)]:if(!this[_0x19ac27(0x200)][_0x19ac27(0x1ed)][_0x19ac27(0x1ff)](_0x19ac27(0x1fc))){const _0x3ce495=_0x15f6d6(this[_0x19ac27(0x200)][_0x19ac27(0x218)],_0x19ac27(0x205),_0x19ac27(0x1fc));throw new _0x2f3f4b(_0x19ac27(0x1ee),this[_0x19ac27(0x200)],{'errorMessage':_0x3ce495});}this[_0x19ac27(0x1f3)](_0x48df1b);break;case _0x5b4bc2[_0x19ac27(0x217)]:if(!this[_0x19ac27(0x200)][_0x19ac27(0x1ed)][_0x19ac27(0x1ff)](_0x19ac27(0x20c))){const _0x43254b=_0x15f6d6(this[_0x19ac27(0x200)][_0x19ac27(0x218)],_0x19ac27(0x205),_0x19ac27(0x20c));throw new _0x2f3f4b(_0x19ac27(0x1ee),this[_0x19ac27(0x200)],{'errorMessage':_0x43254b});}this[_0x19ac27(0x1ec)](_0x48df1b);break;case _0x5b4bc2[_0x19ac27(0x1f0)]:if(!this[_0x19ac27(0x200)][_0x19ac27(0x1ed)][_0x19ac27(0x1ff)](_0x19ac27(0x21d))){const _0x3f4099=_0x15f6d6(this[_0x19ac27(0x200)][_0x19ac27(0x218)],_0x19ac27(0x205),_0x19ac27(0x21d));throw new _0x2f3f4b(_0x19ac27(0x1ee),this[_0x19ac27(0x200)],{'errorMessage':_0x3f4099});}this[_0x19ac27(0x209)](_0x48df1b);}}async[_0x390e75(0x1f3)](_0x4d3eeb){const _0x2f51df=_0x390e75,_0x4066d5=this[_0x2f51df(0x200)][_0x2f51df(0x1ed)][_0x2f51df(0x224)](_0x2f51df(0x1fc)),_0x195a82=this[_0x2f51df(0x200)][_0x2f51df(0x1ed)][_0x2f51df(0x224)](_0x2f51df(0x21b)),_0x53c133=this[_0x2f51df(0x200)][_0x2f51df(0x1ed)][_0x2f51df(0x224)](_0x2f51df(0x222))[_0x2f51df(0x225)];if(_0x53c133[_0x2f51df(0x220)]||(_0x53c133[_0x2f51df(0x220)]=!0x0),_0x2f51df(0x208)!==_0x53c133[_0x2f51df(0x1f7)]&&_0x53c133[_0x2f51df(0x201)](_0x2f51df(0x208)),_0x2f51df(0x202)===_0x4d3eeb['id'])_0x195a82[_0x2f51df(0x22b)](),await _0x4066d5[_0x2f51df(0x1fb)](),_0x4066d5[_0x2f51df(0x1f2)]();else await _0x4066d5[_0x2f51df(0x215)](),_0x195a82[_0x2f51df(0x22b)](),await _0x4066d5[_0x2f51df(0x1fb)](),_0x4066d5[_0x2f51df(0x1f2)](),await _0x4066d5[_0x2f51df(0x203)]({'message':_0x4d3eeb[_0x2f51df(0x20a)]||_0x4d3eeb[_0x2f51df(0x20d)],'attributes':{'quickActionData':{'id':_0x4d3eeb['id']},'displayedPrompt':_0x4d3eeb[_0x2f51df(0x20d)]}});}[_0x390e75(0x226)](){const _0x29b9bd=_0x390e75,_0x462b40=this[_0x29b9bd(0x200)],_0x21f40f=_0x462b40[_0x29b9bd(0x227)][_0x29b9bd(0x221)][_0x29b9bd(0x223)];if(!_0x21f40f[_0x29b9bd(0x207)])return;const _0x3df1cb=_0x157eb4(_0x21f40f[_0x29b9bd(0x1fd)]())||_0x462b40[_0x29b9bd(0x227)][_0x29b9bd(0x211)][_0x29b9bd(0x206)](_0x21f40f);_0x462b40[_0x29b9bd(0x227)][_0x29b9bd(0x219)](_0x5a10b9=>{const _0x224016=_0x29b9bd;_0x5a10b9[_0x224016(0x20f)](_0x3df1cb,'in');});}[_0x390e75(0x204)](_0x3d112d){const _0x3ff74b=_0x390e75;return _0x3d112d[_0x3ff74b(0x21f)]?.[_0x3ff74b(0x1f8)]&&_0x3ff74b(0x1fa)!==_0x3d112d[_0x3ff74b(0x21f)]?.['id']?_0x3d112d[_0x3ff74b(0x21f)][_0x3ff74b(0x1f8)]+':\x20'+_0x3d112d[_0x3ff74b(0x20d)]:_0x3d112d[_0x3ff74b(0x20d)];}async[_0x390e75(0x1ec)](_0x181403){const _0x3862b5=_0x390e75,_0x143d22=this[_0x3862b5(0x200)][_0x3862b5(0x1ed)][_0x3862b5(0x224)](_0x3862b5(0x20c)),_0x445966=_0x181403[_0x3862b5(0x20a)]?{'userMessage':_0x181403[_0x3862b5(0x20a)],'model':_0x181403[_0x3862b5(0x227)]}:{'actionName':_0x181403[_0x3862b5(0x1f4)]||_0x181403['id'],'args':_0x181403[_0x3862b5(0x1f5)]},_0x23a6da=this[_0x3862b5(0x204)](_0x181403);await _0x143d22[_0x3862b5(0x229)](_0x445966,_0x23a6da,_0x181403[_0x3862b5(0x1f9)]);}async[_0x390e75(0x209)](_0x9a077c){const _0x45508e=_0x390e75;console[_0x45508e(0x20b)](_0x45508e(0x22c),_0x9a077c);}}
|