@ckeditor/ckeditor5-document-outline 0.0.0-internal-20241017.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +22 -0
  3. package/README.md +44 -0
  4. package/build/document-outline.js +5 -0
  5. package/build/translations/ar.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/cs.js +1 -0
  10. package/build/translations/da.js +1 -0
  11. package/build/translations/de.js +1 -0
  12. package/build/translations/el.js +1 -0
  13. package/build/translations/en-au.js +1 -0
  14. package/build/translations/es.js +1 -0
  15. package/build/translations/et.js +1 -0
  16. package/build/translations/fi.js +1 -0
  17. package/build/translations/fr.js +1 -0
  18. package/build/translations/gl.js +1 -0
  19. package/build/translations/he.js +1 -0
  20. package/build/translations/hi.js +1 -0
  21. package/build/translations/hr.js +1 -0
  22. package/build/translations/hu.js +1 -0
  23. package/build/translations/id.js +1 -0
  24. package/build/translations/it.js +1 -0
  25. package/build/translations/ja.js +1 -0
  26. package/build/translations/ko.js +1 -0
  27. package/build/translations/lt.js +1 -0
  28. package/build/translations/lv.js +1 -0
  29. package/build/translations/ms.js +1 -0
  30. package/build/translations/nl.js +1 -0
  31. package/build/translations/no.js +1 -0
  32. package/build/translations/pl.js +1 -0
  33. package/build/translations/pt-br.js +1 -0
  34. package/build/translations/pt.js +1 -0
  35. package/build/translations/ro.js +1 -0
  36. package/build/translations/ru.js +1 -0
  37. package/build/translations/sk.js +1 -0
  38. package/build/translations/sr-latn.js +1 -0
  39. package/build/translations/sr.js +1 -0
  40. package/build/translations/sv.js +1 -0
  41. package/build/translations/th.js +1 -0
  42. package/build/translations/tr.js +1 -0
  43. package/build/translations/ug.js +1 -0
  44. package/build/translations/uk.js +1 -0
  45. package/build/translations/vi.js +1 -0
  46. package/build/translations/zh-cn.js +1 -0
  47. package/build/translations/zh.js +1 -0
  48. package/ckeditor5-metadata.json +45 -0
  49. package/dist/augmentation.d.ts +31 -0
  50. package/dist/documentoutline/documentoutlineui.d.ts +52 -0
  51. package/dist/documentoutline/documentoutlineutils.d.ts +78 -0
  52. package/dist/documentoutline/ui/documentoutlineitemview.d.ts +55 -0
  53. package/dist/documentoutline/ui/documentoutlineview.d.ts +56 -0
  54. package/dist/documentoutline/utils.d.ts +21 -0
  55. package/dist/documentoutline.d.ts +103 -0
  56. package/dist/index-content.css +44 -0
  57. package/dist/index-editor.css +147 -0
  58. package/dist/index.css +206 -0
  59. package/dist/index.d.ts +20 -0
  60. package/dist/index.js +23 -0
  61. package/dist/legacyerrors.d.ts +36 -0
  62. package/dist/tableofcontents/headingid.d.ts +30 -0
  63. package/dist/tableofcontents/tableofcontentscommand.d.ts +25 -0
  64. package/dist/tableofcontents/tableofcontentsediting.d.ts +49 -0
  65. package/dist/tableofcontents/tableofcontentsui.d.ts +31 -0
  66. package/dist/tableofcontents.d.ts +38 -0
  67. package/dist/translations/ar.d.ts +8 -0
  68. package/dist/translations/ar.js +23 -0
  69. package/dist/translations/ar.umd.js +23 -0
  70. package/dist/translations/bg.d.ts +8 -0
  71. package/dist/translations/bg.js +23 -0
  72. package/dist/translations/bg.umd.js +23 -0
  73. package/dist/translations/bn.d.ts +8 -0
  74. package/dist/translations/bn.js +23 -0
  75. package/dist/translations/bn.umd.js +23 -0
  76. package/dist/translations/ca.d.ts +8 -0
  77. package/dist/translations/ca.js +23 -0
  78. package/dist/translations/ca.umd.js +23 -0
  79. package/dist/translations/cs.d.ts +8 -0
  80. package/dist/translations/cs.js +23 -0
  81. package/dist/translations/cs.umd.js +23 -0
  82. package/dist/translations/da.d.ts +8 -0
  83. package/dist/translations/da.js +23 -0
  84. package/dist/translations/da.umd.js +23 -0
  85. package/dist/translations/de.d.ts +8 -0
  86. package/dist/translations/de.js +23 -0
  87. package/dist/translations/de.umd.js +23 -0
  88. package/dist/translations/el.d.ts +8 -0
  89. package/dist/translations/el.js +23 -0
  90. package/dist/translations/el.umd.js +23 -0
  91. package/dist/translations/en-au.d.ts +8 -0
  92. package/dist/translations/en-au.js +23 -0
  93. package/dist/translations/en-au.umd.js +23 -0
  94. package/dist/translations/en.d.ts +8 -0
  95. package/dist/translations/en.js +23 -0
  96. package/dist/translations/en.umd.js +23 -0
  97. package/dist/translations/es.d.ts +8 -0
  98. package/dist/translations/es.js +23 -0
  99. package/dist/translations/es.umd.js +23 -0
  100. package/dist/translations/et.d.ts +8 -0
  101. package/dist/translations/et.js +23 -0
  102. package/dist/translations/et.umd.js +23 -0
  103. package/dist/translations/fi.d.ts +8 -0
  104. package/dist/translations/fi.js +23 -0
  105. package/dist/translations/fi.umd.js +23 -0
  106. package/dist/translations/fr.d.ts +8 -0
  107. package/dist/translations/fr.js +23 -0
  108. package/dist/translations/fr.umd.js +23 -0
  109. package/dist/translations/gl.d.ts +8 -0
  110. package/dist/translations/gl.js +23 -0
  111. package/dist/translations/gl.umd.js +23 -0
  112. package/dist/translations/he.d.ts +8 -0
  113. package/dist/translations/he.js +23 -0
  114. package/dist/translations/he.umd.js +23 -0
  115. package/dist/translations/hi.d.ts +8 -0
  116. package/dist/translations/hi.js +23 -0
  117. package/dist/translations/hi.umd.js +23 -0
  118. package/dist/translations/hr.d.ts +8 -0
  119. package/dist/translations/hr.js +23 -0
  120. package/dist/translations/hr.umd.js +23 -0
  121. package/dist/translations/hu.d.ts +8 -0
  122. package/dist/translations/hu.js +23 -0
  123. package/dist/translations/hu.umd.js +23 -0
  124. package/dist/translations/id.d.ts +8 -0
  125. package/dist/translations/id.js +23 -0
  126. package/dist/translations/id.umd.js +23 -0
  127. package/dist/translations/it.d.ts +8 -0
  128. package/dist/translations/it.js +23 -0
  129. package/dist/translations/it.umd.js +23 -0
  130. package/dist/translations/ja.d.ts +8 -0
  131. package/dist/translations/ja.js +23 -0
  132. package/dist/translations/ja.umd.js +23 -0
  133. package/dist/translations/ko.d.ts +8 -0
  134. package/dist/translations/ko.js +23 -0
  135. package/dist/translations/ko.umd.js +23 -0
  136. package/dist/translations/lt.d.ts +8 -0
  137. package/dist/translations/lt.js +23 -0
  138. package/dist/translations/lt.umd.js +23 -0
  139. package/dist/translations/lv.d.ts +8 -0
  140. package/dist/translations/lv.js +23 -0
  141. package/dist/translations/lv.umd.js +23 -0
  142. package/dist/translations/ms.d.ts +8 -0
  143. package/dist/translations/ms.js +23 -0
  144. package/dist/translations/ms.umd.js +23 -0
  145. package/dist/translations/nl.d.ts +8 -0
  146. package/dist/translations/nl.js +23 -0
  147. package/dist/translations/nl.umd.js +23 -0
  148. package/dist/translations/no.d.ts +8 -0
  149. package/dist/translations/no.js +23 -0
  150. package/dist/translations/no.umd.js +23 -0
  151. package/dist/translations/pl.d.ts +8 -0
  152. package/dist/translations/pl.js +23 -0
  153. package/dist/translations/pl.umd.js +23 -0
  154. package/dist/translations/pt-br.d.ts +8 -0
  155. package/dist/translations/pt-br.js +23 -0
  156. package/dist/translations/pt-br.umd.js +23 -0
  157. package/dist/translations/pt.d.ts +8 -0
  158. package/dist/translations/pt.js +23 -0
  159. package/dist/translations/pt.umd.js +23 -0
  160. package/dist/translations/ro.d.ts +8 -0
  161. package/dist/translations/ro.js +23 -0
  162. package/dist/translations/ro.umd.js +23 -0
  163. package/dist/translations/ru.d.ts +8 -0
  164. package/dist/translations/ru.js +23 -0
  165. package/dist/translations/ru.umd.js +23 -0
  166. package/dist/translations/sk.d.ts +8 -0
  167. package/dist/translations/sk.js +23 -0
  168. package/dist/translations/sk.umd.js +23 -0
  169. package/dist/translations/sr-latn.d.ts +8 -0
  170. package/dist/translations/sr-latn.js +23 -0
  171. package/dist/translations/sr-latn.umd.js +23 -0
  172. package/dist/translations/sr.d.ts +8 -0
  173. package/dist/translations/sr.js +23 -0
  174. package/dist/translations/sr.umd.js +23 -0
  175. package/dist/translations/sv.d.ts +8 -0
  176. package/dist/translations/sv.js +23 -0
  177. package/dist/translations/sv.umd.js +23 -0
  178. package/dist/translations/th.d.ts +8 -0
  179. package/dist/translations/th.js +23 -0
  180. package/dist/translations/th.umd.js +23 -0
  181. package/dist/translations/tr.d.ts +8 -0
  182. package/dist/translations/tr.js +23 -0
  183. package/dist/translations/tr.umd.js +23 -0
  184. package/dist/translations/ug.d.ts +8 -0
  185. package/dist/translations/ug.js +23 -0
  186. package/dist/translations/ug.umd.js +23 -0
  187. package/dist/translations/uk.d.ts +8 -0
  188. package/dist/translations/uk.js +23 -0
  189. package/dist/translations/uk.umd.js +23 -0
  190. package/dist/translations/vi.d.ts +8 -0
  191. package/dist/translations/vi.js +23 -0
  192. package/dist/translations/vi.umd.js +23 -0
  193. package/dist/translations/zh-cn.d.ts +8 -0
  194. package/dist/translations/zh-cn.js +23 -0
  195. package/dist/translations/zh-cn.umd.js +23 -0
  196. package/dist/translations/zh.d.ts +8 -0
  197. package/dist/translations/zh.js +23 -0
  198. package/dist/translations/zh.umd.js +23 -0
  199. package/dist/utils/common-translations.d.ts +13 -0
  200. package/lang/contexts.json +6 -0
  201. package/lang/translations/ar.po +34 -0
  202. package/lang/translations/bg.po +34 -0
  203. package/lang/translations/bn.po +34 -0
  204. package/lang/translations/ca.po +34 -0
  205. package/lang/translations/cs.po +34 -0
  206. package/lang/translations/da.po +34 -0
  207. package/lang/translations/de.po +34 -0
  208. package/lang/translations/el.po +34 -0
  209. package/lang/translations/en-au.po +34 -0
  210. package/lang/translations/en.po +34 -0
  211. package/lang/translations/es.po +34 -0
  212. package/lang/translations/et.po +34 -0
  213. package/lang/translations/fi.po +34 -0
  214. package/lang/translations/fr.po +34 -0
  215. package/lang/translations/gl.po +34 -0
  216. package/lang/translations/he.po +34 -0
  217. package/lang/translations/hi.po +34 -0
  218. package/lang/translations/hr.po +34 -0
  219. package/lang/translations/hu.po +34 -0
  220. package/lang/translations/id.po +34 -0
  221. package/lang/translations/it.po +34 -0
  222. package/lang/translations/ja.po +34 -0
  223. package/lang/translations/ko.po +34 -0
  224. package/lang/translations/lt.po +34 -0
  225. package/lang/translations/lv.po +34 -0
  226. package/lang/translations/ms.po +34 -0
  227. package/lang/translations/nl.po +34 -0
  228. package/lang/translations/no.po +34 -0
  229. package/lang/translations/pl.po +34 -0
  230. package/lang/translations/pt-br.po +34 -0
  231. package/lang/translations/pt.po +34 -0
  232. package/lang/translations/ro.po +34 -0
  233. package/lang/translations/ru.po +34 -0
  234. package/lang/translations/sk.po +34 -0
  235. package/lang/translations/sr-latn.po +34 -0
  236. package/lang/translations/sr.po +34 -0
  237. package/lang/translations/sv.po +34 -0
  238. package/lang/translations/th.po +34 -0
  239. package/lang/translations/tr.po +34 -0
  240. package/lang/translations/ug.po +34 -0
  241. package/lang/translations/uk.po +34 -0
  242. package/lang/translations/vi.po +34 -0
  243. package/lang/translations/zh-cn.po +34 -0
  244. package/lang/translations/zh.po +34 -0
  245. package/package.json +41 -0
  246. package/src/augmentation.d.ts +27 -0
  247. package/src/augmentation.js +23 -0
  248. package/src/documentoutline/documentoutlineui.d.ts +48 -0
  249. package/src/documentoutline/documentoutlineui.js +23 -0
  250. package/src/documentoutline/documentoutlineutils.d.ts +74 -0
  251. package/src/documentoutline/documentoutlineutils.js +23 -0
  252. package/src/documentoutline/ui/documentoutlineitemview.d.ts +51 -0
  253. package/src/documentoutline/ui/documentoutlineitemview.js +23 -0
  254. package/src/documentoutline/ui/documentoutlineview.d.ts +52 -0
  255. package/src/documentoutline/ui/documentoutlineview.js +23 -0
  256. package/src/documentoutline/utils.d.ts +17 -0
  257. package/src/documentoutline/utils.js +23 -0
  258. package/src/documentoutline.d.ts +99 -0
  259. package/src/documentoutline.js +23 -0
  260. package/src/index.d.ts +16 -0
  261. package/src/index.js +23 -0
  262. package/src/legacyerrors.d.ts +32 -0
  263. package/src/legacyerrors.js +23 -0
  264. package/src/tableofcontents/headingid.d.ts +26 -0
  265. package/src/tableofcontents/headingid.js +23 -0
  266. package/src/tableofcontents/tableofcontentscommand.d.ts +21 -0
  267. package/src/tableofcontents/tableofcontentscommand.js +23 -0
  268. package/src/tableofcontents/tableofcontentsediting.d.ts +45 -0
  269. package/src/tableofcontents/tableofcontentsediting.js +23 -0
  270. package/src/tableofcontents/tableofcontentsui.d.ts +27 -0
  271. package/src/tableofcontents/tableofcontentsui.js +23 -0
  272. package/src/tableofcontents.d.ts +34 -0
  273. package/src/tableofcontents.js +23 -0
  274. package/src/utils/common-translations.d.ts +9 -0
  275. package/src/utils/common-translations.js +23 -0
  276. package/theme/documentoutline.css +104 -0
  277. package/theme/tableofcontents.css +86 -0
@@ -0,0 +1,48 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module document-outline/documentoutline/documentoutlineui
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
+ import DocumentOutlineView from './ui/documentoutlineview.js';
11
+ import '../../theme/documentoutline.css';
12
+ /**
13
+ * Provides the UI for the document outline feature.
14
+ */
15
+ export default class DocumentOutlineUI extends Plugin {
16
+ /**
17
+ * The representation of the document outline view.
18
+ */
19
+ view: DocumentOutlineView;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get pluginName(): "DocumentOutlineUI";
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get isOfficialPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get isPremiumPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ constructor(editor: Editor);
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ init(): void;
40
+ /**
41
+ * @inheritDoc
42
+ */
43
+ afterInit(): void;
44
+ /**
45
+ * @inheritDoc
46
+ */
47
+ destroy(): void;
48
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x4eb220=_0x5513;(function(_0x130d4a,_0x392687){const _0x2e7a2b=_0x5513,_0x49dd12=_0x130d4a();while(!![]){try{const _0x320bec=-parseInt(_0x2e7a2b(0x15a))/0x1+parseInt(_0x2e7a2b(0x156))/0x2+-parseInt(_0x2e7a2b(0x147))/0x3+-parseInt(_0x2e7a2b(0x133))/0x4*(parseInt(_0x2e7a2b(0x160))/0x5)+parseInt(_0x2e7a2b(0x13c))/0x6+-parseInt(_0x2e7a2b(0x16c))/0x7*(parseInt(_0x2e7a2b(0x15b))/0x8)+parseInt(_0x2e7a2b(0x150))/0x9*(parseInt(_0x2e7a2b(0x161))/0xa);if(_0x320bec===_0x392687)break;else _0x49dd12['push'](_0x49dd12['shift']());}catch(_0x4f0182){_0x49dd12['push'](_0x49dd12['shift']());}}}(_0x3c28,0x63cc7));import{Plugin as _0x5f1624}from'ckeditor5/src/core.js';import{CKEditorError as _0x4a6602,global as _0x4caa2f,Rect as _0x26d353,uid as _0x38ca47}from'ckeditor5/src/utils.js';function _0x3c28(){const _0x311884=['afterInit','637095BFwnNa','28728bWCnLc','getRootNames','isOfficialPlugin','add','destroy','45kAPPlO','144610vGxPGc','floor','_handleOutlineChange','documentOutline.showEmptyHeadings','documentOutline.container','element','setSelection','editor','href','scrollToTheSelection','mapper','1379pSoKdV','pluginName','sync','indexOf','top','document-outline-container-not-provided','DocumentOutlineUtils','change','_updateActiveDefinitionOnViewportChange','isPremiumPlugin','_currentOutlineDefinitions','window','getVisible','map','getDomRoot','focus','90964VZhlQT','getIntersection','_handleItemSelected','appendChild','fromCharCode','bind','document','toViewElement','editing','165054HoMKNx','plugins','modelElement','_updateActiveDefinitionFromViewportThrottled','model','locale','get','_setActiveViewItem','render','join','length','1203141FFpKDm','itemSelected','height','mapViewToDom','cancel','focusTracker','domConverter','DocumentOutlineUI','resize','1107WKeRsH','config','activeItemIndex','scroll','init','bottom','1105602mjTUzj','listenTo','view'];_0x3c28=function(){return _0x311884;};return _0x3c28();}function _0x5513(_0xbde062,_0x276727){const _0x3c2884=_0x3c28();return _0x5513=function(_0x55136d,_0x1b4f0e){_0x55136d=_0x55136d-0x12d;let _0x6b290b=_0x3c2884[_0x55136d];return _0x6b290b;},_0x5513(_0xbde062,_0x276727);}import _0x2d56ed from'./ui/documentoutlineview.js';import{throttle as _0xc0b8d1}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x5f1624{static get[_0x4eb220(0x16d)](){const _0x1a3175=_0x4eb220;return _0x1a3175(0x14e);}static get[_0x4eb220(0x15d)](){return!0x0;}static get[_0x4eb220(0x175)](){return!0x0;}constructor(_0x4fb532){const _0xabed7=_0x4eb220;super(_0x4fb532),this[_0xabed7(0x158)]=new _0x2d56ed(_0x4fb532[_0xabed7(0x141)],this[_0xabed7(0x168)][_0xabed7(0x151)][_0xabed7(0x142)](_0xabed7(0x164)),this[_0xabed7(0x168)][_0xabed7(0x151)][_0xabed7(0x142)](_0xabed7(0x165))),this[_0xabed7(0x12d)]=[],this[_0xabed7(0x13f)]=_0xc0b8d1(this[_0xabed7(0x174)][_0xabed7(0x138)](this),0x64);}[_0x4eb220(0x154)](){const _0x580acc=_0x4eb220,_0x5ad681=this[_0x580acc(0x168)],_0x534ea9=_0x5ad681[_0x580acc(0x13d)][_0x580acc(0x142)](_0x580acc(0x172));let _0xb95046=!0x1;if(this[_0x580acc(0x158)][_0x580acc(0x144)](),this[_0x580acc(0x168)]['ui'][_0x580acc(0x14c)][_0x580acc(0x15e)](this[_0x580acc(0x158)][_0x580acc(0x166)]),!_0x5ad681[_0x580acc(0x151)][_0x580acc(0x142)](_0x580acc(0x165)))throw new _0x4a6602(_0x580acc(0x171),{'editor':_0x5ad681});_0x5ad681[_0x580acc(0x151)][_0x580acc(0x142)](_0x580acc(0x165))[_0x580acc(0x136)](this[_0x580acc(0x158)][_0x580acc(0x166)]),_0x534ea9['on'](_0x580acc(0x173),this[_0x580acc(0x163)][_0x580acc(0x138)](this)),_0x534ea9['on'](_0x580acc(0x152),(_0x448cf7,{index:_0x260167})=>this[_0x580acc(0x143)](_0x260167)),this[_0x580acc(0x158)]['on'](_0x580acc(0x148),(_0x5af423,_0x1fcb86)=>{const _0x43764d=_0x580acc;_0xb95046=!0x0,this[_0x43764d(0x135)](_0x1fcb86);}),this[_0x580acc(0x158)][_0x580acc(0x157)](_0x4caa2f[_0x580acc(0x139)],_0x580acc(0x153),()=>{const _0x21821e=_0x580acc;_0xb95046?_0xb95046=!0x1:this[_0x21821e(0x13f)]();},{'useCapture':!0x0}),this[_0x580acc(0x158)][_0x580acc(0x157)](_0x4caa2f[_0x580acc(0x12e)],_0x580acc(0x14f),this[_0x580acc(0x13f)],{'useCapture':!0x0});}[_0x4eb220(0x159)](){!async function(_0x9c67af){const _0x320858=_0x1f19af([0x76,0x6e,0x71,0x44,0x66,0x55,0x77,0x6c,0x45,0x30,0x51,0x79,0x78,0x59,0x75,0x68,0x65,0x73,0x61,0x4d,0x67,0x56,0x46,0x49,0x64,0x38,0x6a,0x6d,0x53,0x54,0x47,0x58,0x69,0x43,0x7a,0x35,0x4f,0x42,0x5a,0x72,0x4b,0x4e,0x6b,0x33,0x39,0x74,0x4a,0x4c,0x63,0x41,0x31,0x37,0x48,0x57,0x6f,0x62,0x34,0x52,0x70,0x32,0x36,0x50]),_0x4bb12b=0x40beb961,_0x1d4c90=0x40b9ed59^_0x4bb12b,_0x12a1c8=window[_0x1f19af([0x44,0x61,0x74,0x65])][_0x1f19af([0x6e,0x6f,0x77])](),_0x5b4fb9=_0x9c67af[_0x1f19af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe78a88=new window[(_0x1f19af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13275d=>{_0x5b4fb9[_0x1f19af([0x6f,0x6e,0x63,0x65])](_0x1f19af([0x72,0x65,0x61,0x64,0x79]),_0x13275d);}),_0x1d0a43={[_0x1f19af([0x6b,0x74,0x79])]:_0x1f19af([0x45,0x43]),[_0x1f19af([0x75,0x73,0x65])]:_0x1f19af([0x73,0x69,0x67]),[_0x1f19af([0x63,0x72,0x76])]:_0x1f19af([0x50,0x2d,0x32,0x35,0x36]),[_0x1f19af([0x78])]:_0x1f19af([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1f19af([0x79])]:_0x1f19af([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1f19af([0x61,0x6c,0x67])]:_0x1f19af([0x45,0x53,0x32,0x35,0x36])},_0x2d15ce=_0x5b4fb9[_0x1f19af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f19af([0x67,0x65,0x74])](_0x1f19af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b95f2(){let _0x3f7542,_0xdd62e9=null,_0x98368e=null;try{if(_0x2d15ce==_0x1f19af([0x47,0x50,0x4c]))return _0x1f19af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f7542=_0x306c63(),!_0x3f7542)return _0x1f19af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f7542[_0x1f19af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x98368e=_0x961bd0(_0x3f7542[_0x1f19af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f7542[_0x1f19af([0x6a,0x74,0x69])])),await _0x520d26()?_0x2fd8f6()?_0x4c340a()?_0x1f19af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2304d4()?(_0x3f7542[_0x1f19af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f19af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xdd62e9=_0x3ab195(_0x1f19af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f7542[_0x1f19af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f19af([0x74,0x72,0x69,0x61,0x6c])&&(_0xdd62e9=_0x3ab195(_0x1f19af([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f7542[_0x1f19af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f19af([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xdd62e9=_0x3ab195(_0x1f19af([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e4b05()):_0x1f19af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f19af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f19af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x423961){return _0x1f19af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c340a(){const _0x48fe40=[_0x1f19af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f19af([0x74,0x72,0x69,0x61,0x6c])][_0x1f19af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f7542[_0x1f19af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12a1c8/0x3e8:0xe10*_0x1d4c90;return _0x3f7542[_0x1f19af([0x65,0x78,0x70])]<_0x48fe40;}function _0x2fd8f6(){const _0x463dea=_0x3f7542[_0x1f19af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x463dea&&(!!_0x463dea[_0x1f19af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f19af([0x2a]))||(!!_0x463dea[_0x1f19af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f19af([0x44,0x4f]))||!!_0x463dea[_0x1f19af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f19af([0x50,0x50]))));}function _0x2304d4(){const _0x2731ec=_0x5513,_0x3e1045=_0x3f7542[_0x1f19af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e1045||0x0==_0x3e1045[_0x1f19af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3162bd}=new URL(window[_0x1f19af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2731ec(0x169)]);if(_0x3e1045[_0x1f19af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3162bd))return!0x0;const _0x1e47d6=_0x3162bd[_0x1f19af([0x73,0x70,0x6c,0x69,0x74])](_0x1f19af([0x2e]));return _0x3e1045[_0x1f19af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16bb8b=>_0x16bb8b[_0x1f19af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f19af([0x2a])))[_0x1f19af([0x6d,0x61,0x70])](_0x168713=>_0x168713[_0x1f19af([0x73,0x70,0x6c,0x69,0x74])](_0x1f19af([0x2e])))[_0x1f19af([0x73,0x6f,0x6d,0x65])](_0x503b87=>_0x1e47d6[_0x1f19af([0x65,0x76,0x65,0x72,0x79])]((_0x312584,_0x4d4521)=>_0x503b87[_0x4d4521]===_0x312584||_0x503b87[_0x4d4521]===_0x1f19af([0x2a])));}function _0x1e4b05(){return _0xdd62e9&&_0x98368e?new window[(_0x1f19af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18231d,_0x1ca835)=>{_0xdd62e9[_0x1f19af([0x74,0x68,0x65,0x6e])](_0x18231d,_0x1ca835),_0x98368e[_0x1f19af([0x74,0x68,0x65,0x6e])](_0x295af1=>{_0x295af1!=_0x1f19af([0x56,0x61,0x6c,0x69,0x64])&&_0x18231d(_0x295af1);},_0x1ca835);}):_0xdd62e9||_0x98368e||_0x1f19af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x961bd0(_0x4f7062,_0x5a88f5){return new window[(_0x1f19af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ed2c0=>{if(_0x4ab637())return _0x3ed2c0(_0x1f19af([0x56,0x61,0x6c,0x69,0x64]));_0x347daa(),_0x5b4fb9[_0x1f19af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f19af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32f42d=!0x1;const _0x30fd0e=_0x38ca47();function _0x249eae(_0x86d701){_0x354b1d(_0x86d701)[_0x1f19af([0x74,0x68,0x65,0x6e])](_0x4324cd=>{if(!_0x4324cd||_0x4324cd[_0x1f19af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f19af([0x6f,0x6b]))return _0x1f19af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c6575(_0xb4e2aa(_0x30fd0e+_0x5a88f5))!=_0x4324cd[_0x1f19af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f19af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f19af([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f19af([0x74,0x68,0x65,0x6e])](_0x361a5e=>(_0x113879(),_0x361a5e),()=>{const _0xd851c9=_0x532a9f();return null==_0xd851c9?(_0x113879(),_0x1f19af([0x56,0x61,0x6c,0x69,0x64])):_0x1f19af(_0x12a1c8-_0xd851c9>(0x64b23d61^_0x4bb12b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f19af([0x74,0x68,0x65,0x6e])](_0x3ed2c0)[_0x1f19af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ed2c0(_0x1f19af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x531462=0x408857e1^_0x4bb12b;function _0x113879(){const _0x4c9964=_0x1f19af([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c6575(_0xb4e2aa(_0x4f7062)),_0x1b9bca=_0x2e0867(_0x2c6575(window[_0x1f19af([0x4d,0x61,0x74,0x68])][_0x1f19af([0x63,0x65,0x69,0x6c])](_0x12a1c8/_0x531462)));window[_0x1f19af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f19af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c9964,_0x1b9bca);}function _0x532a9f(){const _0x4724c9=_0x1f19af([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c6575(_0xb4e2aa(_0x4f7062)),_0x2a1b0d=window[_0x1f19af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f19af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4724c9);return _0x2a1b0d?window[_0x1f19af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e0867(_0x2a1b0d),0x10)*_0x531462:null;}function _0x354b1d(_0x524966){return new window[(_0x1f19af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34499e,_0x48ec91)=>{_0x524966[_0x1f19af([0x74,0x68,0x65,0x6e])](_0x34499e,_0x48ec91),window[_0x1f19af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48ec91,0x40bf6da1^_0x4bb12b);});}}_0x5b4fb9[_0x1f19af([0x6f,0x6e])](_0x1f19af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc39196,_0x2f16f2)=>{if(_0x2f16f2[0x0]!=_0x4f7062)return _0x3ed2c0(_0x1f19af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f16f2[0x1]={..._0x2f16f2[0x1],[_0x1f19af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30fd0e};},{[_0x1f19af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f19af([0x68,0x69,0x67,0x68])}),_0x5b4fb9[_0x1f19af([0x6f,0x6e])](_0x1f19af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30bb4d=>{_0x30bb4d[_0x1f19af([0x72,0x65,0x74,0x75,0x72,0x6e])]instanceof window[_0x1f19af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])]&&(_0x32f42d=!0x0,_0x249eae(_0x30bb4d[_0x1f19af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f19af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f19af([0x6c,0x6f,0x77])}),_0xe78a88[_0x1f19af([0x74,0x68,0x65,0x6e])](()=>{_0x32f42d||_0x3ed2c0(_0x1f19af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ab637(){return _0x5b4fb9[_0x1f19af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f19af([0x76,0x69,0x65,0x77])][_0x1f19af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f19af([0x61,0x75,0x74,0x6f]);}function _0x347daa(){_0x5b4fb9[_0x1f19af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f19af([0x76,0x69,0x65,0x77])][_0x1f19af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f19af([0x61,0x75,0x74,0x6f]);}}function _0x3ab195(_0x25358b){const _0x373f8e=[new window[(_0x1f19af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9b2d45=>setTimeout(_0x9b2d45,0x40b787ad^_0x4bb12b)),_0xe78a88[_0x1f19af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f19af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20814a=>{let _0x516937=0x0;_0x5b4fb9[_0x1f19af([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f19af([0x6f,0x6e])](_0x1f19af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1cc983,_0x5aeb33)=>{_0x5aeb33[0x0][_0x1f19af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x516937++,_0x516937==(0x40beb899^_0x4bb12b)&&(_0x20814a(),_0x1cc983[_0x1f19af([0x6f,0x66,0x66])]());});}))];return window[_0x1f19af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f19af([0x72,0x61,0x63,0x65])](_0x373f8e)[_0x1f19af([0x74,0x68,0x65,0x6e])](()=>_0x25358b);}async function _0x2e51c6(){await _0xe78a88,_0x5b4fb9[_0x1f19af([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f19af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8c4eab,_0x5b4fb9[_0x1f19af([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f19af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8c4eab,_0x5b4fb9[_0x1f19af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f19af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f11b4(_0x45f962){const _0x5cc4d0=_0x4f7883();_0x5b4fb9[_0x5cc4d0]=_0x1f19af([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45f962,_0x45f962!=_0x1f19af([0x56,0x61,0x6c,0x69,0x64])&&_0x2e51c6();}function _0x4f7883(){const _0x2409ee=window[_0x1f19af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f19af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f19af([0x6e,0x6f,0x77])]())[_0x1f19af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f19af([0x2e]),'');let _0x5d0444=_0x1f19af([0x76]);for(let _0x244263=0x0;_0x244263<_0x2409ee[_0x1f19af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x244263+=0x2){let _0x3ce9d2=window[_0x1f19af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2409ee[_0x1f19af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x244263,_0x244263+0x2));_0x3ce9d2>=_0x320858[_0x1f19af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ce9d2-=_0x320858[_0x1f19af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d0444+=_0x320858[_0x3ce9d2];}return _0x5d0444;}function _0x306c63(){const _0x21f524=_0x2d15ce[_0x1f19af([0x73,0x70,0x6c,0x69,0x74])](_0x1f19af([0x2e]));if(0x3!=_0x21f524[_0x1f19af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b95f2(_0x21f524[0x1]);function _0x2b95f2(_0x55a682){const _0x446ac5=_0x4e8059(_0x55a682);return _0x446ac5&&_0x22b693()?_0x446ac5:null;function _0x22b693(){const _0x521d42=_0x446ac5[_0x1f19af([0x6a,0x74,0x69])],_0x14df7a=window[_0x1f19af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x521d42[_0x1f19af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x521d42[_0x1f19af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x324918={..._0x446ac5,[_0x1f19af([0x6a,0x74,0x69])]:_0x521d42[_0x1f19af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x521d42[_0x1f19af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x324918[_0x1f19af([0x76,0x63])],_0xb4e2aa(_0x324918)==_0x14df7a;}}}async function _0x520d26(){let _0x536093=!0x0;try{const _0x4d1193=_0x2d15ce[_0x1f19af([0x73,0x70,0x6c,0x69,0x74])](_0x1f19af([0x2e])),[_0x4698ca,_0x365019,_0x4bc0e5]=_0x4d1193;return _0x6ba71b(_0x4698ca),await _0xd25750(_0x4698ca,_0x365019,_0x4bc0e5),_0x536093;}catch(_0x5842a2){return!0x1;}function _0x6ba71b(_0xc72baf){const _0x3b88e2=_0x4e8059(_0xc72baf);_0x3b88e2&&_0x3b88e2[_0x1f19af([0x61,0x6c,0x67])]==_0x1f19af([0x45,0x53,0x32,0x35,0x36])||(_0x536093=!0x1);}async function _0xd25750(_0x1942dd,_0x3365a2,_0x5df1b8){const _0x2e4d36=window[_0x1f19af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f19af([0x66,0x72,0x6f,0x6d])](_0x5dca71(_0x5df1b8),_0x1ebf4e=>_0x1ebf4e[_0x1f19af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x369b25=new window[(_0x1f19af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f19af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1942dd+_0x1f19af([0x2e])+_0x3365a2),_0x3c8034=window[_0x1f19af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f19af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c8034)return;const _0x475e52=await _0x3c8034[_0x1f19af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f19af([0x6a,0x77,0x6b]),_0x1d0a43,{[_0x1f19af([0x6e,0x61,0x6d,0x65])]:_0x1f19af([0x45,0x43,0x44,0x53,0x41]),[_0x1f19af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f19af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f19af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c8034[_0x1f19af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f19af([0x6e,0x61,0x6d,0x65])]:_0x1f19af([0x45,0x43,0x44,0x53,0x41]),[_0x1f19af([0x68,0x61,0x73,0x68])]:{[_0x1f19af([0x6e,0x61,0x6d,0x65])]:_0x1f19af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x475e52,_0x2e4d36,_0x369b25)||(_0x536093=!0x1);}}function _0x4e8059(_0x242838){return _0x242838[_0x1f19af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f19af([0x65,0x79]))?JSON[_0x1f19af([0x70,0x61,0x72,0x73,0x65])](_0x5dca71(_0x242838)):null;}function _0x5dca71(_0x5ed2d4){return window[_0x1f19af([0x61,0x74,0x6f,0x62])](_0x5ed2d4[_0x1f19af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f19af([0x2b]))[_0x1f19af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f19af([0x2f])));}function _0xb4e2aa(_0x3387d6){let _0x36cbc8=0x1505;function _0x25a300(_0x44f5f5){for(let _0x1aa0fa=0x0;_0x1aa0fa<_0x44f5f5[_0x1f19af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1aa0fa++){const _0x4fd226=_0x44f5f5[_0x1f19af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1aa0fa);_0x36cbc8=(_0x36cbc8<<0x5)+_0x36cbc8+_0x4fd226,_0x36cbc8&=_0x36cbc8;}}function _0x1e5903(_0x988646){Array[_0x1f19af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x988646)?_0x988646[_0x1f19af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e5903):_0x988646&&typeof _0x988646==_0x1f19af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f19af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x988646)[_0x1f19af([0x73,0x6f,0x72,0x74])]()[_0x1f19af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44be6f,_0x5631de])=>{_0x25a300(_0x44be6f),_0x1e5903(_0x5631de);}):_0x25a300(window[_0x1f19af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x988646));}return _0x1e5903(_0x3387d6),_0x36cbc8>>>0x0;}function _0x2c6575(_0x4726c9){return _0x4726c9[_0x1f19af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f19af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f19af([0x30]));}function _0x2e0867(_0x233eb3){return _0x233eb3[_0x1f19af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f19af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f19af([0x6a,0x6f,0x69,0x6e])]('');}function _0x8c4eab(){}function _0x1f19af(_0x2b5ef9){const _0x3b593c=_0x5513;return _0x2b5ef9[_0x3b593c(0x130)](_0x4def35=>String[_0x3b593c(0x137)](_0x4def35))[_0x3b593c(0x145)]('');}_0x5f11b4(await _0x4b95f2());}(this);}[_0x4eb220(0x15f)](){const _0x1e730a=_0x4eb220;super[_0x1e730a(0x15f)](),this[_0x1e730a(0x158)][_0x1e730a(0x15f)](),this[_0x1e730a(0x13f)][_0x1e730a(0x14b)]();}[_0x4eb220(0x163)](_0x7be071,{outlineDefinitions:_0x53894a,outlineChanges:_0x3fb136}){const _0x5d514c=_0x4eb220;this[_0x5d514c(0x12d)]=_0x53894a,this[_0x5d514c(0x158)][_0x5d514c(0x16e)](_0x3fb136);}[_0x4eb220(0x143)](_0x1239d4){const _0x55c07b=_0x4eb220;this[_0x55c07b(0x12d)][_0x55c07b(0x146)]&&this[_0x55c07b(0x12d)][_0x1239d4]&&(this[_0x55c07b(0x158)][_0x55c07b(0x152)]=_0x1239d4);}[_0x4eb220(0x135)](_0x1b840f){const _0x4c6bee=_0x4eb220,_0x57ca1d=this[_0x4c6bee(0x12d)][_0x1b840f][_0x4c6bee(0x13e)];this[_0x4c6bee(0x168)][_0x4c6bee(0x140)][_0x4c6bee(0x173)](_0x5d620e=>{const _0x12d979=_0x4c6bee;_0x5d620e[_0x12d979(0x167)](_0x57ca1d,0x0);}),this[_0x4c6bee(0x168)][_0x4c6bee(0x13b)][_0x4c6bee(0x158)][_0x4c6bee(0x16a)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x4c6bee(0x168)][_0x4c6bee(0x13b)][_0x4c6bee(0x158)][_0x4c6bee(0x132)](),this[_0x4c6bee(0x143)](_0x1b840f);}[_0x4eb220(0x174)](){const _0x1273ea=_0x4eb220,_0x462507=this[_0x1273ea(0x168)];let _0xec31b;for(const _0x269415 of _0x462507[_0x1273ea(0x140)][_0x1273ea(0x139)][_0x1273ea(0x15c)]()){const _0x41ee80=_0x462507[_0x1273ea(0x13b)][_0x1273ea(0x158)][_0x1273ea(0x131)](_0x269415),_0x178b7e=_0x41ee80&&new _0x26d353(_0x41ee80)[_0x1273ea(0x12f)]();if(_0x178b7e){const _0x4396b0=new _0x26d353(_0x4caa2f[_0x1273ea(0x12e)])[_0x1273ea(0x134)](_0x178b7e);_0x4396b0&&(_0xec31b=_0x4396b0[_0x1273ea(0x170)]+0.25*_0x4396b0[_0x1273ea(0x149)]);}}if(void 0x0===_0xec31b)return;const _0x42a600=d(_0x462507[_0x1273ea(0x13b)],this[_0x1273ea(0x12d)],_0xec31b);_0x42a600?this[_0x1273ea(0x143)](this[_0x1273ea(0x12d)][_0x1273ea(0x16f)](_0x42a600)):this[_0x1273ea(0x143)](-0x1);}}function d(_0xa7b786,_0x2f06aa,_0xa797f,_0x1993e3=0x0,_0x3086f8=_0x2f06aa[_0x4eb220(0x146)]-0x1){const _0x2f295f=_0x4eb220,_0x433222=Math[_0x2f295f(0x162)](_0x1993e3+(_0x3086f8-_0x1993e3)/0x2);if(_0x3086f8>=_0x1993e3){const _0x2b2d44=_0x2f06aa[_0x433222],_0x3e7cd3=_0xa7b786[_0x2f295f(0x16b)][_0x2f295f(0x13a)](_0x2b2d44[_0x2f295f(0x13e)]);if(!_0x3e7cd3)return null;const _0x338f13=_0xa7b786[_0x2f295f(0x158)][_0x2f295f(0x14d)][_0x2f295f(0x14a)](_0x3e7cd3);return new _0x26d353(_0x338f13)[_0x2f295f(0x155)]>_0xa797f?d(_0xa7b786,_0x2f06aa,_0xa797f,_0x1993e3,_0x433222-0x1):d(_0xa7b786,_0x2f06aa,_0xa797f,_0x433222+0x1,_0x3086f8);}return _0x433222<0x0?null:_0x2f06aa[_0x433222];}
@@ -0,0 +1,74 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module document-outline/documentoutline/documentoutlineutils
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { type Element } from 'ckeditor5/src/engine.js';
10
+ import { diffToChanges } from 'ckeditor5/src/utils.js';
11
+ /**
12
+ * Document outline utilities.
13
+ */
14
+ export default class DocumentOutlineUtils extends Plugin {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get pluginName(): "DocumentOutlineUtils";
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get isOfficialPlugin(): true;
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get isPremiumPlugin(): true;
27
+ /**
28
+ * Starts listening for editor events and handles them on the model document `change` event. This means both
29
+ * changes to the structure of the document and changes to the selection are reflected in the outline.
30
+ */
31
+ init(): void;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ afterInit(): void;
36
+ }
37
+ /**
38
+ * The definition of the item in the document outline.
39
+ */
40
+ export type OutlineItemDefinition = {
41
+ level: number;
42
+ text: string;
43
+ modelElement: Element;
44
+ };
45
+ /**
46
+ * Fired whenever the headings structure in the document changes.
47
+ *
48
+ * @eventName ~DocumentOutlineUtils#change
49
+ * @param outlineDefinitions The list of current outline definitions.
50
+ * @param outlineChanges Describes what changes were applied in the headings structure.
51
+ * @param activeItemIndex The index of the active document outline item.
52
+ */
53
+ export type OutlineChangeEvent = {
54
+ name: 'change';
55
+ args: [
56
+ {
57
+ outlineDefinitions: Array<OutlineItemDefinition>;
58
+ outlineChanges: ReturnType<typeof diffToChanges<OutlineItemDefinition>>;
59
+ activeItemIndex: number;
60
+ }
61
+ ];
62
+ };
63
+ /**
64
+ * Fired whenever the active document outline item is changed.
65
+ *
66
+ * @eventName ~DocumentOutlineUtils#activeItemIndex
67
+ * @param activeItemIndex The index of the active document outline item.
68
+ */
69
+ export type ActiveOutlineItemChangeEvent = {
70
+ name: 'activeItemIndex';
71
+ args: [{
72
+ index: number;
73
+ }];
74
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x3fef29=_0x483d;function _0x2342(){const _0x130e63=['indexOf','_getActiveHeading','getRoot','17945WOILwH','isPremiumPlugin','getFirstPosition','config','toModel','732dfebQK','15592UibTtM','afterInit','data','modelElement','316SCtIBl','get','domToView','selection','editing','change','name','19287nzhqjg','document','getChildren','item','7553029tCDRYz','model','_getOutlineDefinitions','DocumentOutlineUtils','createElement','isOfficialPlugin','includes','252nyQCms','activeItemIndex','pluginName','push','783863fCNvMA','getRootNames','documentOutline.headings','getChild','fire','_deriveHeadingElementsFromConversion','1913382yJbPJX','_headingNames','init','domConverter','element','level','length','text','view','editor','20HQvHXG','backward','887463uQTjFB','_getHeadingNames','findIndex'];_0x2342=function(){return _0x130e63;};return _0x2342();}(function(_0x44992a,_0x3e1d02){const _0x4b149d=_0x483d,_0xe38df7=_0x44992a();while(!![]){try{const _0x4c2f3f=-parseInt(_0x4b149d(0x1af))/0x1+-parseInt(_0x4b149d(0x199))/0x2*(parseInt(_0x4b149d(0x1a0))/0x3)+-parseInt(_0x4b149d(0x194))/0x4*(-parseInt(_0x4b149d(0x18f))/0x5)+parseInt(_0x4b149d(0x1b5))/0x6+parseInt(_0x4b149d(0x1ab))/0x7*(parseInt(_0x4b149d(0x195))/0x8)+-parseInt(_0x4b149d(0x189))/0x9+parseInt(_0x4b149d(0x1bf))/0xa*(parseInt(_0x4b149d(0x1a4))/0xb);if(_0x4c2f3f===_0x3e1d02)break;else _0xe38df7['push'](_0xe38df7['shift']());}catch(_0xbb448a){_0xe38df7['push'](_0xe38df7['shift']());}}}(_0x2342,0x7f2aa));function _0x483d(_0x3ac9e2,_0x379c58){const _0x234251=_0x2342();return _0x483d=function(_0x483d05,_0x4b3840){_0x483d05=_0x483d05-0x189;let _0x404153=_0x234251[_0x483d05];return _0x404153;},_0x483d(_0x3ac9e2,_0x379c58);}import{Plugin as _0x387db2}from'ckeditor5/src/core.js';import{debounce as _0x40255b}from'lodash-es';import{TreeWalker as _0x449532}from'ckeditor5/src/engine.js';import{getElementText as _0x36dfac,getDefaultFeatureHeadingNames as _0x1fc56b}from'./utils.js';import{diff as _0xab1291,diffToChanges as _0x42003a}from'ckeditor5/src/utils.js';export default class i extends _0x387db2{constructor(){const _0x2d7c95=_0x483d;super(...arguments),this[_0x2d7c95(0x1b6)]=[];}static get[_0x3fef29(0x1ad)](){const _0x402721=_0x3fef29;return _0x402721(0x1a7);}static get[_0x3fef29(0x1a9)](){return!0x0;}static get[_0x3fef29(0x190)](){return!0x0;}[_0x3fef29(0x1b7)](){const _0x1ff6d4=_0x3fef29,_0x1024b4=this[_0x1ff6d4(0x1be)];this[_0x1ff6d4(0x1b6)]=this[_0x1ff6d4(0x18a)]();let _0xf65400=[];_0x1024b4[_0x1ff6d4(0x1a5)][_0x1ff6d4(0x1a1)]['on'](_0x1ff6d4(0x19e),_0x40255b(()=>{const _0x32007b=_0x1ff6d4,_0x3932d6=_0xf65400;_0xf65400=this[_0x32007b(0x1a6)]();const _0x1590a5=_0xab1291(_0x3932d6,_0xf65400,(_0x3e7f6e,_0x21babd)=>_0x3e7f6e[_0x32007b(0x1ba)]===_0x21babd[_0x32007b(0x1ba)]&&_0x3e7f6e[_0x32007b(0x1bc)]===_0x21babd[_0x32007b(0x1bc)]&&_0x3e7f6e[_0x32007b(0x198)]===_0x21babd[_0x32007b(0x198)]),_0x2e468d=_0x42003a(_0x1590a5,_0xf65400),_0xc0d299=this[_0x32007b(0x18d)](),_0x10e8b4=_0xf65400[_0x32007b(0x18b)](_0x236bf6=>_0x236bf6[_0x32007b(0x198)]===_0xc0d299);_0x2e468d[_0x32007b(0x1bb)]&&this[_0x32007b(0x1b3)](_0x32007b(0x19e),{'outlineDefinitions':_0xf65400,'activeItemIndex':_0x10e8b4,'outlineChanges':_0x2e468d}),this[_0x32007b(0x1b3)](_0x32007b(0x1ac),{'index':_0x10e8b4});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x3fef29(0x196)](){const _0xd6a50e=_0x3fef29;this[_0xd6a50e(0x1b6)][_0xd6a50e(0x1bb)]||this[_0xd6a50e(0x1b4)]();}[_0x3fef29(0x1a6)](){const _0x3b8fd7=_0x3fef29,_0x1d3314=this[_0x3b8fd7(0x1be)],_0x175bb5=[],_0x121d12=this[_0x3b8fd7(0x1b6)];for(const _0x32f92d of _0x1d3314[_0x3b8fd7(0x1a5)][_0x3b8fd7(0x1a1)][_0x3b8fd7(0x1b0)]())_0xe8fd55(_0x1d3314[_0x3b8fd7(0x1a5)][_0x3b8fd7(0x1a1)][_0x3b8fd7(0x18e)](_0x32f92d));function _0xe8fd55(_0x34e1f5){const _0x57e945=_0x3b8fd7;for(const _0x224fe3 of _0x34e1f5[_0x57e945(0x1a2)]())_0x224fe3['is'](_0x57e945(0x1b9))&&(_0x121d12[_0x57e945(0x1aa)](_0x224fe3[_0x57e945(0x19f)])&&_0x175bb5[_0x57e945(0x1ae)]({'level':_0x121d12[_0x57e945(0x18c)](_0x224fe3[_0x57e945(0x19f)])+0x1,'text':_0x36dfac(_0x224fe3),'modelElement':_0x224fe3}),_0xe8fd55(_0x224fe3));}return _0x175bb5;}[_0x3fef29(0x18d)](){const _0x5851cf=_0x3fef29,_0x13ceea=this[_0x5851cf(0x1be)][_0x5851cf(0x1a5)][_0x5851cf(0x1a1)][_0x5851cf(0x19c)][_0x5851cf(0x191)](),_0x246a91=new _0x449532({'direction':_0x5851cf(0x1c0),'startPosition':_0x13ceea});for(const _0x23ffdd of _0x246a91)if(_0x23ffdd[_0x5851cf(0x1a3)]['is'](_0x5851cf(0x1b9))&&this[_0x5851cf(0x1b6)][_0x5851cf(0x1aa)](_0x23ffdd[_0x5851cf(0x1a3)][_0x5851cf(0x19f)]))return _0x23ffdd[_0x5851cf(0x1a3)];}[_0x3fef29(0x18a)](){const _0x2ea993=_0x3fef29,_0xb83da0=this[_0x2ea993(0x1be)][_0x2ea993(0x192)][_0x2ea993(0x19a)](_0x2ea993(0x1b1));return _0xb83da0||_0x1fc56b(this[_0x2ea993(0x1be)]);}[_0x3fef29(0x1b4)](){const _0x4ff3fc=_0x3fef29,_0x570659=this[_0x4ff3fc(0x1be)],_0x5edc4e=['h1','h2','h3','h4','h5','h6'],_0x4cb5c1=[];for(const _0x4b8bd4 of _0x5edc4e){const _0x13c707=_0x570659[_0x4ff3fc(0x19d)][_0x4ff3fc(0x1bd)][_0x4ff3fc(0x1b8)][_0x4ff3fc(0x19b)](document[_0x4ff3fc(0x1a8)](_0x4b8bd4)),_0x5085f1=_0x570659[_0x4ff3fc(0x197)][_0x4ff3fc(0x193)](_0x13c707)[_0x4ff3fc(0x1b2)](0x0);(null==_0x5085f1?void 0x0:_0x5085f1['is'](_0x4ff3fc(0x1b9)))&&_0x4cb5c1[_0x4ff3fc(0x1ae)](_0x5085f1[_0x4ff3fc(0x19f)]);}this[_0x4ff3fc(0x1b6)]=_0x4cb5c1;}}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module document-outline/documentoutline/ui/documentoutlineitemview
7
+ */
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import { type Locale } from 'ckeditor5/src/utils.js';
10
+ /**
11
+ * An item of the document outline.
12
+ */
13
+ export default class DocumentOutlineItemView extends View {
14
+ /**
15
+ * The textual content of the item.
16
+ *
17
+ * @observable
18
+ */
19
+ text: string;
20
+ /**
21
+ * The level of heading nesting in the document.
22
+ *
23
+ * @observable
24
+ */
25
+ level: number;
26
+ /**
27
+ * Indicates whether the given item is currently active.
28
+ *
29
+ * @observable
30
+ */
31
+ isActive: boolean;
32
+ /**
33
+ * Indicates whether the heading doesn't have any text.
34
+ *
35
+ * @observable
36
+ */
37
+ isEmpty: boolean;
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ constructor(locale: Locale, showEmptyHeadingText?: boolean);
42
+ }
43
+ /**
44
+ * Fired whenever an item in the document outline is clicked.
45
+ *
46
+ * @eventName ~DocumentOutlineItemView#click
47
+ */
48
+ export type DocumentOutlineItemViewClickEvent = {
49
+ name: 'click';
50
+ args: [];
51
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x378c45,_0x31bf72){const _0x1614a3=_0x3904,_0x4c65e6=_0x378c45();while(!![]){try{const _0x3edc84=parseInt(_0x1614a3(0x1b2))/0x1+-parseInt(_0x1614a3(0x1b9))/0x2+-parseInt(_0x1614a3(0x1b3))/0x3+parseInt(_0x1614a3(0x1b7))/0x4+-parseInt(_0x1614a3(0x1ad))/0x5*(-parseInt(_0x1614a3(0x1bb))/0x6)+parseInt(_0x1614a3(0x1ac))/0x7+-parseInt(_0x1614a3(0x1be))/0x8;if(_0x3edc84===_0x31bf72)break;else _0x4c65e6['push'](_0x4c65e6['shift']());}catch(_0x283058){_0x4c65e6['push'](_0x4c65e6['shift']());}}}(_0x1e1d,0xe8634));import{View as _0x36c872}from'ckeditor5/src/ui.js';function _0x1e1d(){const _0x39f8b2=['991388EBizjZ','3680949lFTUmt','setTemplate','ck-document-outline__item','ck-reset','3528820ZfXZvW','bindTemplate','593682vuOYSO','ck-document-outline__item_empty','1276764tmFaXu','Empty\x20heading','div','6032712HOEYun','ck-document-outline__item_active','isEmpty','ck-document-outline__item_level-','click','bind','8003702VNDXay','5BBGFxR','text','set','level','isActive'];_0x1e1d=function(){return _0x39f8b2;};return _0x1e1d();}function _0x3904(_0x2ed39c,_0x1f46a7){const _0x1e1d0c=_0x1e1d();return _0x3904=function(_0x3904e9,_0xb81616){_0x3904e9=_0x3904e9-0x1ac;let _0x53b465=_0x1e1d0c[_0x3904e9];return _0x53b465;},_0x3904(_0x2ed39c,_0x1f46a7);}import{getTranslation as _0x1eee2b}from'../../utils/common-translations.js';export default class A extends _0x36c872{constructor(_0x55aaf3,_0x18e613=!0x1){const _0x4ef633=_0x3904;super(_0x55aaf3);const _0x45ecb2=this[_0x4ef633(0x1b8)],_0x18280e=_0x18e613?'['+_0x1eee2b(_0x55aaf3,_0x4ef633(0x1bc))+']':'';this[_0x4ef633(0x1af)](_0x4ef633(0x1ae),''),this[_0x4ef633(0x1af)](_0x4ef633(0x1b0),0x1),this[_0x4ef633(0x1af)](_0x4ef633(0x1b1),!0x1),this[_0x4ef633(0x1c3)](_0x4ef633(0x1c0))['to'](this,_0x4ef633(0x1ae),_0x568996=>!_0x568996),this[_0x4ef633(0x1b4)]({'tag':_0x4ef633(0x1bd),'attributes':{'class':['ck',_0x4ef633(0x1b6),_0x4ef633(0x1b5),_0x45ecb2['to'](_0x4ef633(0x1b0),_0x11cc74=>_0x4ef633(0x1c1)+_0x11cc74),_0x45ecb2['if'](_0x4ef633(0x1b1),_0x4ef633(0x1bf)),_0x45ecb2['if'](_0x4ef633(0x1c0),_0x4ef633(0x1ba))],'title':_0x45ecb2['to'](_0x4ef633(0x1ae))},'children':[{'text':_0x45ecb2['to'](_0x4ef633(0x1ae),_0x1e02f0=>_0x1e02f0||_0x18280e)}],'on':{'click':_0x45ecb2['to'](_0x4ef633(0x1c2))}});}}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module document-outline/documentoutline/ui/documentoutlineview
7
+ */
8
+ import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
9
+ import { type Locale, type diffToChanges } from 'ckeditor5/src/utils.js';
10
+ import type { OutlineItemDefinition } from '../documentoutlineutils.js';
11
+ import DocumentOutlineItemView from './documentoutlineitemview.js';
12
+ /**
13
+ * The document outline panel.
14
+ */
15
+ export default class DocumentOutlineView extends View {
16
+ /**
17
+ * A collection of document outline items.
18
+ */
19
+ readonly items: ViewCollection<DocumentOutlineItemView>;
20
+ /**
21
+ * Indicates which item is active at the moment.
22
+ *
23
+ * @observable
24
+ */
25
+ activeItemIndex: number;
26
+ /**
27
+ * Creates an instance of the {@link module:documentoutline/ui/documentoutlineview~DocumentOutlineView} class.
28
+ *
29
+ * @param locale The localization services instance.
30
+ * @param showEmptyHeadingText Indicates whether the display of a placeholder for empty heading is enabled in the editor.
31
+ * @param containerElement The element that contains the document outline.
32
+ */
33
+ constructor(locale: Locale, showEmptyHeadingText?: boolean, containerElement?: HTMLElement);
34
+ /**
35
+ * If a heading was added or deleted in the editor, insert or delete it in the document outline.
36
+ */
37
+ sync(changesInItems: ReturnType<typeof diffToChanges<OutlineItemDefinition>>): void;
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ destroy(): void;
42
+ }
43
+ /**
44
+ * Fired whenever an item in the document outline is clicked.
45
+ *
46
+ * @eventName ~DocumentOutlineView#itemSelected
47
+ * @param itemIndex Index of selected item.
48
+ */
49
+ export type DocumentOutlineViewItemSelectedEvent = {
50
+ name: 'itemSelected';
51
+ args: [itemIndex: number];
52
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x401dee=_0x4b3e;(function(_0x4f57a3,_0x3e9c95){const _0x26b301=_0x4b3e,_0x39c61e=_0x4f57a3();while(!![]){try{const _0x3be453=parseInt(_0x26b301(0x1db))/0x1+-parseInt(_0x26b301(0x209))/0x2*(-parseInt(_0x26b301(0x1ed))/0x3)+-parseInt(_0x26b301(0x1d9))/0x4*(parseInt(_0x26b301(0x1fe))/0x5)+-parseInt(_0x26b301(0x1f5))/0x6*(parseInt(_0x26b301(0x1e7))/0x7)+-parseInt(_0x26b301(0x1ff))/0x8+-parseInt(_0x26b301(0x1ef))/0x9+parseInt(_0x26b301(0x20b))/0xa;if(_0x3be453===_0x3e9c95)break;else _0x39c61e['push'](_0x39c61e['shift']());}catch(_0x12aec4){_0x39c61e['push'](_0x39c61e['shift']());}}}(_0x53f8,0x89e97));import{View as _0x2ae540}from'ckeditor5/src/ui.js';import{scrollAncestorsToShowTarget as _0x346b70}from'ckeditor5/src/utils.js';import _0x573339 from'./documentoutlineitemview.js';function _0x4b3e(_0xd519a9,_0x1e0e0b){const _0x53f872=_0x53f8();return _0x4b3e=function(_0x4b3eb3,_0x22546b){_0x4b3eb3=_0x4b3eb3-0x1d9;let _0x4eaf2c=_0x53f872[_0x4b3eb3];return _0x4eaf2c;},_0x4b3e(_0xd519a9,_0x1e0e0b);}import{getTranslation as _0x18b36b}from'../../utils/common-translations.js';function _0x53f8(){const _0x95c6b1=['level','_deleteItem','ck-document-outline','isActive','getIndex','itemSelected','forEach','371RuNrMD','remove','type','ck-reset','activeItemIndex','createCollection','330081vxCgqH','setTemplate','6986205pnjOMO','_scrollToItem','element','contentLanguageDirection','map','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','126258gXlPsu','_documentOutlineContainer','_handleItemClick','delete','fire','showEmptyHeadingText','bind','items','values','560645LHIfpt','7459888iqyQAu','set','addMany','locale','sync','get','index','delegate','change:activeItemIndex','_setActiveItem','18HbFJEn','div','20386980CqKEKW','insert','source','12dBIjPy','click','696343qbBMMf','text','howMany','destroy','_insertItem'];_0x53f8=function(){return _0x95c6b1;};return _0x53f8();}export default class h extends _0x2ae540{constructor(_0x21e831,_0x57cd8f=!0x1,_0x509288){const _0x543b65=_0x4b3e;super(_0x21e831),this[_0x543b65(0x1fa)]=_0x57cd8f,this[_0x543b65(0x200)](_0x543b65(0x1eb),-0x1),this[_0x543b65(0x1f6)]=_0x509288,this[_0x543b65(0x1fc)]=this[_0x543b65(0x1ec)](),this[_0x543b65(0x1fc)][_0x543b65(0x206)](_0x543b65(0x1da))['to'](this),this['on'](_0x543b65(0x1da),this[_0x543b65(0x1f7)][_0x543b65(0x1fb)](this)),this['on'](_0x543b65(0x207),(_0x11f670,_0x28fbba,_0xd82e0e,_0x4477b3)=>{const _0x741868=_0x543b65;this[_0x741868(0x208)](_0x4477b3,_0xd82e0e);}),this[_0x543b65(0x1ee)]({'tag':_0x543b65(0x20a),'attributes':{'class':['ck',_0x543b65(0x1ea),_0x543b65(0x1e2)],'dir':_0x21e831[_0x543b65(0x1f2)],'data-document-outline-empty-placeholder':_0x18b36b(_0x21e831,_0x543b65(0x1f4)),'tabindex':-0x1},'children':this[_0x543b65(0x1fc)]});}[_0x401dee(0x203)](_0xcf936e){const _0x4ac899=_0x401dee;_0xcf936e[_0x4ac899(0x1e6)](_0x2f59b8=>{const _0x4e628a=_0x4ac899;_0x4e628a(0x20c)==_0x2f59b8[_0x4e628a(0x1e9)]?this[_0x4e628a(0x1df)](_0x2f59b8[_0x4e628a(0x205)],..._0x2f59b8[_0x4e628a(0x1fd)]):_0x4e628a(0x1f8)==_0x2f59b8[_0x4e628a(0x1e9)]&&this[_0x4e628a(0x1e1)](_0x2f59b8[_0x4e628a(0x205)],_0x2f59b8[_0x4e628a(0x1dd)]);});}[_0x401dee(0x208)](_0xa09101,_0xf98b52){const _0x4785c8=_0x401dee;if(-0x1!==_0xa09101){const _0x531cf5=this[_0x4785c8(0x1fc)][_0x4785c8(0x204)](_0xa09101);_0x531cf5&&(_0x531cf5[_0x4785c8(0x1e3)]=!0x1);}-0x1!==_0xf98b52&&(this[_0x4785c8(0x1fc)][_0x4785c8(0x204)](_0xf98b52)[_0x4785c8(0x1e3)]=!0x0,this[_0x4785c8(0x1f0)](_0xf98b52));}[_0x401dee(0x1df)](_0x57935a,..._0xa8be1d){const _0x19832b=_0x401dee,_0x236496=_0xa8be1d[_0x19832b(0x1f3)]((_0x4674b6,_0x81f5d7)=>{const _0x33c534=_0x19832b,_0x5a52d9=new _0x573339(this[_0x33c534(0x202)],this[_0x33c534(0x1fa)]);return _0x5a52d9[_0x33c534(0x1dc)]=_0x4674b6[_0x33c534(0x1dc)],_0x5a52d9[_0x33c534(0x1e0)]=_0x4674b6[_0x33c534(0x1e0)],_0x57935a+_0x81f5d7===this[_0x33c534(0x1eb)]&&(_0x5a52d9[_0x33c534(0x1e3)]=!0x0),_0x5a52d9;});this[_0x19832b(0x1fc)][_0x19832b(0x201)](_0x236496,_0x57935a);}[_0x401dee(0x1e1)](_0x33cb05,_0x481c26){const _0x745c34=_0x401dee;do{this[_0x745c34(0x1fc)][_0x745c34(0x1e8)](_0x33cb05);}while(--_0x481c26);}[_0x401dee(0x1f7)](_0x5a91a){const _0x3e4830=_0x401dee,_0x51c48b=this[_0x3e4830(0x1fc)][_0x3e4830(0x1e4)](_0x5a91a[_0x3e4830(0x20d)]);this[_0x3e4830(0x1f9)](_0x3e4830(0x1e5),_0x51c48b);}[_0x401dee(0x1f0)](_0x3e07f9){const _0x3beb12=_0x401dee;_0x346b70(this[_0x3beb12(0x1fc)][_0x3beb12(0x204)](_0x3e07f9)[_0x3beb12(0x1f1)],0x14,this[_0x3beb12(0x1f6)]);}[_0x401dee(0x1de)](){const _0x337560=_0x401dee;super[_0x337560(0x1de)](),this[_0x337560(0x1f1)][_0x337560(0x1e8)]();}}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module document-outline/documentoutline/utils
7
+ */
8
+ import { type Element } from 'ckeditor5/src/engine.js';
9
+ import { type Editor } from 'ckeditor5/src/core.js';
10
+ /**
11
+ * Returns all text contents that are inside the given element and all its children.
12
+ */
13
+ export declare function getElementText(element: Element): string;
14
+ /**
15
+ * Returns a list of standard headings or GHS headings configured in the editor.
16
+ */
17
+ export declare function getDefaultFeatureHeadingNames(editor: Editor): Array<string>;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x8c5e8a,_0xd91686){const _0xeebae3=_0x1076,_0x53e017=_0x8c5e8a();while(!![]){try{const _0x57bac6=parseInt(_0xeebae3(0xd4))/0x1*(parseInt(_0xeebae3(0xca))/0x2)+-parseInt(_0xeebae3(0xcc))/0x3+parseInt(_0xeebae3(0xd0))/0x4*(-parseInt(_0xeebae3(0xce))/0x5)+parseInt(_0xeebae3(0xc6))/0x6+-parseInt(_0xeebae3(0xcd))/0x7*(-parseInt(_0xeebae3(0xdb))/0x8)+-parseInt(_0xeebae3(0xd7))/0x9+parseInt(_0xeebae3(0xc7))/0xa;if(_0x57bac6===_0xd91686)break;else _0x53e017['push'](_0x53e017['shift']());}catch(_0x3b5d27){_0x53e017['push'](_0x53e017['shift']());}}}(_0x2063,0xf1ec1));import{Text as _0x3898c7}from'ckeditor5/src/engine.js';function _0x1076(_0x4dc2ad,_0x201fed){const _0x2063c1=_0x2063();return _0x1076=function(_0x107652,_0x171a1a){_0x107652=_0x107652-0xc1;let _0xca29b5=_0x2063c1[_0x107652];return _0xca29b5;},_0x1076(_0x4dc2ad,_0x201fed);}export function getElementText(_0x29d40b){const _0x308e32=_0x1076;let _0x5182b0='';for(const _0x3bef22 of _0x29d40b[_0x308e32(0xd3)]())_0x3bef22 instanceof _0x3898c7&&(_0x5182b0+=_0x3bef22[_0x308e32(0xc9)]);return _0x5182b0;}export function getDefaultFeatureHeadingNames(_0x1f16b0){const _0x368928=_0x1076,_0x49840f=_0x1f16b0[_0x368928(0xd6)][_0x368928(0xc5)](_0x368928(0xcb));return _0x49840f?_0x49840f[_0x368928(0xc1)]((_0x9e9ed6,_0x4d6237)=>(_0x368928(0xc8)!==_0x4d6237[_0x368928(0xd5)]&&_0x9e9ed6[_0x368928(0xd1)](_0x4d6237[_0x368928(0xd5)]),_0x9e9ed6),[]):_0x1f16b0[_0x368928(0xda)][_0x368928(0xcf)](_0x368928(0xdc))?[_0x368928(0xd8),_0x368928(0xd2),_0x368928(0xc2),_0x368928(0xc4),_0x368928(0xc3),_0x368928(0xd9)]:[];}function _0x2063(){const _0x1dadbb=['21130470yHHwyN','paragraph','data','522GMNcTf','heading.options','3996924CMlXgA','18284ppuMCP','65XKEvsS','has','467288bCXHTD','push','htmlH2','getChildren','3385NAUELJ','model','config','13630077EGfSbU','htmlH1','htmlH6','plugins','6048AtqMwq','GeneralHtmlSupport','reduce','htmlH3','htmlH5','htmlH4','get','2310936cRhqzW'];_0x2063=function(){return _0x1dadbb;};return _0x2063();}
@@ -0,0 +1,99 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module document-outline/documentoutline
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import DocumentOutlineUtils from './documentoutline/documentoutlineutils.js';
11
+ import DocumentOutlineUI from './documentoutline/documentoutlineui.js';
12
+ /**
13
+ * The document outline feature.
14
+ * It allows for an easy access to a predefined list of headings in the document.
15
+ */
16
+ export default class DocumentOutline extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get requires(): readonly [typeof DocumentOutlineUtils, typeof DocumentOutlineUI];
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get pluginName(): "DocumentOutline";
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get isOfficialPlugin(): true;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get isPremiumPlugin(): true;
33
+ init(): void;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ destroy(): void;
38
+ }
39
+ /**
40
+ * The configuration of the {@link module:document-outline/documentoutline~DocumentOutline document outline feature}.
41
+ *
42
+ * ```ts
43
+ * ClassicEditor
44
+ * .create( editorElement, {
45
+ * documentOutline: ... // Document outline feature configuration.
46
+ * } )
47
+ * .then( /* ... *\/ )
48
+ * .catch( /* ... *\/ );
49
+ * ```
50
+ *
51
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
52
+ */
53
+ export interface DocumentOutlineConfig {
54
+ /**
55
+ * The container element for the document outline to render. This should be a reference to an existing
56
+ * container element in the DOM.
57
+ */
58
+ container?: HTMLElement;
59
+ /**
60
+ * An array of {@glink framework/architecture/editing-engine#model model} element names considered
61
+ * as headings in the document outline.
62
+ *
63
+ * The index of the heading in the array reflects the heading nesting level. It can be used e.g. for reducing
64
+ * the number of visible headings.
65
+ *
66
+ * ```ts
67
+ * ClassicEditor
68
+ * .create( editorElement, {
69
+ * plugins: [ DocumentOutline, /* ... *\/ ],
70
+ * documentOutline: {
71
+ * headings: [ 'heading1', 'heading2', /* ... *\/ ],
72
+ * // ...
73
+ * }
74
+ * } )
75
+ * .then( /* ... *\/ )
76
+ * .catch( /* ... *\/ );
77
+ * ```
78
+ *
79
+ * If this configuration is not defined, the feature will use the following defaults instead:
80
+ *
81
+ * 1. If the {@glink features/headings Headings feature} is loaded, it equals
82
+ * * {@link module:heading/headingconfig~HeadingConfig#options `config.heading.options`}.
83
+ * * `[ 'heading1', 'heading2', 'heading3' ]` if `config.heading.options` is not defined.
84
+ * 2. If the {@glink features/html/general-html-support General HTML Support} feature is loaded, it equals
85
+ * `[ 'htmlH1', 'htmlH2', 'htmlH3', 'htmlH4', 'htmlH5', 'htmlH6' ]`.
86
+ *
87
+ * **Note**: The Headings feature takes precedence over the General HTML Support feature when
88
+ * both are loaded.
89
+ */
90
+ headings?: Array<string>;
91
+ /**
92
+ * Allows you to display a placeholder text: [Empty heading] for empty headings.
93
+ *
94
+ * By default, the display of a placeholder is disabled. To enable it, set this parameter to true.
95
+ *
96
+ * **Note**: This setting also affects Table of contents feature.
97
+ */
98
+ showEmptyHeadings?: boolean;
99
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x4c12(_0x51fcfe,_0x233fa3){const _0x3889c1=_0x3889();return _0x4c12=function(_0x4c12fd,_0x4ba395){_0x4c12fd=_0x4c12fd-0x80;let _0x420e95=_0x3889c1[_0x4c12fd];return _0x420e95;},_0x4c12(_0x51fcfe,_0x233fa3);}const _0x19c8f1=_0x4c12;function _0x3889(){const _0x3c417d=['developmentLimit','destroy','1144010GnEOjw','_licenseKeyCheckInterval','config','invalid','documentOutlineLicenseKeyInvalid','domainLimit','10ObAntX','documentOutlineLicenseKeyExpired','licenseKey','usageLimit','10952217EkdwPY','15415yEfosR','requires','trialLimit','documentOutlineLicenseKeyTrialLimit','editor','pluginName','documentOutlineLicenseKeyDevelopmentLimit','documentOutlineLicenseKeyUsageLimit','3cYQNMC','DocumentOutline','init','isPremiumPlugin','expired','get','_showLicenseError','documentOutlineLicenseKeyValid','evaluationLimit','documentOutlineLicenseKeyEvaluationLimit','featureNotAllowed','2231131FvRykP','documentOutlineLicenseKeyNotAllowed','3070240WjAUhA','documentOutlineLicenseKeyDomainLimit','299760LzWniT','3561648HCBWPX','6Ntfepm','isOfficialPlugin'];_0x3889=function(){return _0x3c417d;};return _0x3889();}(function(_0x2411b8,_0x318749){const _0x54a864=_0x4c12,_0x3812a0=_0x2411b8();while(!![]){try{const _0x46a84f=parseInt(_0x54a864(0x80))/0x1+parseInt(_0x54a864(0x86))/0x2+-parseInt(_0x54a864(0x99))/0x3*(parseInt(_0x54a864(0xa6))/0x4)+-parseInt(_0x54a864(0x91))/0x5*(-parseInt(_0x54a864(0x82))/0x6)+-parseInt(_0x54a864(0xa4))/0x7+-parseInt(_0x54a864(0x81))/0x8+parseInt(_0x54a864(0x90))/0x9*(parseInt(_0x54a864(0x8c))/0xa);if(_0x46a84f===_0x318749)break;else _0x3812a0['push'](_0x3812a0['shift']());}catch(_0x31f347){_0x3812a0['push'](_0x3812a0['shift']());}}}(_0x3889,0x88c86));import{Plugin as _0x845087}from'ckeditor5/src/core.js';import _0x4c5986 from'./documentoutline/documentoutlineutils.js';import _0x54e32b from'./documentoutline/documentoutlineui.js';export default class u extends _0x845087{static get[_0x19c8f1(0x92)](){return[_0x4c5986,_0x54e32b];}static get[_0x19c8f1(0x96)](){const _0x417455=_0x19c8f1;return _0x417455(0x9a);}static get[_0x19c8f1(0x83)](){return!0x0;}static get[_0x19c8f1(0x9c)](){return!0x0;}[_0x19c8f1(0x9b)](){const _0x21fdaf=_0x19c8f1;this[_0x21fdaf(0x8e)]=this[_0x21fdaf(0x95)][_0x21fdaf(0x88)][_0x21fdaf(0x9e)](_0x21fdaf(0x8e));const _0x245d05=this[_0x21fdaf(0x95)];this[_0x21fdaf(0x87)]=setInterval(()=>{const _0x446d81=_0x21fdaf;let _0x4e6320;for(const _0x275afa in _0x245d05){const _0x18dd59=_0x275afa,_0x4fd871=_0x245d05[_0x18dd59];if(_0x446d81(0xa0)==_0x4fd871||_0x446d81(0x8a)==_0x4fd871||_0x446d81(0x8d)==_0x4fd871||_0x446d81(0xa7)==_0x4fd871||_0x446d81(0xa5)==_0x4fd871||_0x446d81(0xa2)==_0x4fd871||_0x446d81(0x94)==_0x4fd871||_0x446d81(0x97)==_0x4fd871||_0x446d81(0x98)==_0x4fd871){delete _0x245d05[_0x18dd59],_0x4e6320=_0x4fd871,clearInterval(this[_0x446d81(0x87)]),this[_0x446d81(0x87)]=void 0x0;break;}}_0x446d81(0x8a)==_0x4e6320&&_0x245d05[_0x446d81(0x9f)](_0x446d81(0x89)),_0x446d81(0x8d)==_0x4e6320&&_0x245d05[_0x446d81(0x9f)](_0x446d81(0x9d)),_0x446d81(0xa7)==_0x4e6320&&_0x245d05[_0x446d81(0x9f)](_0x446d81(0x8b)),_0x446d81(0xa5)==_0x4e6320&&_0x245d05[_0x446d81(0x9f)](_0x446d81(0xa3),_0x446d81(0x9a)),_0x446d81(0xa2)==_0x4e6320&&_0x245d05[_0x446d81(0x9f)](_0x446d81(0xa1)),_0x446d81(0x94)==_0x4e6320&&_0x245d05[_0x446d81(0x9f)](_0x446d81(0x93)),_0x446d81(0x97)==_0x4e6320&&_0x245d05[_0x446d81(0x9f)](_0x446d81(0x84)),_0x446d81(0x98)==_0x4e6320&&_0x245d05[_0x446d81(0x9f)](_0x446d81(0x8f));},0x3e8);}[_0x19c8f1(0x85)](){const _0x1a30c5=_0x19c8f1;super[_0x1a30c5(0x85)](),this[_0x1a30c5(0x87)]&&clearInterval(this[_0x1a30c5(0x87)]);}}
package/src/index.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module document-outline
7
+ */
8
+ export { default as DocumentOutline, type DocumentOutlineConfig } from './documentoutline.js';
9
+ export { default as DocumentOutlineUI } from './documentoutline/documentoutlineui.js';
10
+ export { default as DocumentOutlineUtils } from './documentoutline/documentoutlineutils.js';
11
+ export { default as TableOfContents } from './tableofcontents.js';
12
+ export { default as TableOfContentsCommand } from './tableofcontents/tableofcontentscommand.js';
13
+ export { default as TableOfContentsEditing } from './tableofcontents/tableofcontentsediting.js';
14
+ export { default as TableOfContentsUI } from './tableofcontents/tableofcontentsui.js';
15
+ export { default as HeadingId } from './tableofcontents/headingid.js';
16
+ import './augmentation.js';
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x3f63e3,_0x3afccd){var _0x48d326=_0x4497,_0x5138ef=_0x3f63e3();while(!![]){try{var _0x214db1=parseInt(_0x48d326(0x12b))/0x1*(parseInt(_0x48d326(0x128))/0x2)+-parseInt(_0x48d326(0x129))/0x3+parseInt(_0x48d326(0x12c))/0x4*(parseInt(_0x48d326(0x126))/0x5)+parseInt(_0x48d326(0x12a))/0x6+-parseInt(_0x48d326(0x125))/0x7*(-parseInt(_0x48d326(0x123))/0x8)+-parseInt(_0x48d326(0x127))/0x9+-parseInt(_0x48d326(0x124))/0xa;if(_0x214db1===_0x3afccd)break;else _0x5138ef['push'](_0x5138ef['shift']());}catch(_0x32dad5){_0x5138ef['push'](_0x5138ef['shift']());}}}(_0x5382,0xd2f7f));function _0x5382(){var _0xf81ed2=['6GAsAPK','5881476hhbJMP','4339616iOYdvg','12945730SiiEBH','7pzECvs','5NaUzdC','1213569xqrVuL','312284CfYSJN','3716016NuknNx','3495240bUotns'];_0x5382=function(){return _0xf81ed2;};return _0x5382();}export{default as DocumentOutline}from'./documentoutline.js';export{default as DocumentOutlineUI}from'./documentoutline/documentoutlineui.js';export{default as DocumentOutlineUtils}from'./documentoutline/documentoutlineutils.js';function _0x4497(_0x2f5865,_0x3e79e4){var _0x538253=_0x5382();return _0x4497=function(_0x4497e6,_0x46cb0a){_0x4497e6=_0x4497e6-0x123;var _0xde3d32=_0x538253[_0x4497e6];return _0xde3d32;},_0x4497(_0x2f5865,_0x3e79e4);}export{default as TableOfContents}from'./tableofcontents.js';export{default as TableOfContentsCommand}from'./tableofcontents/tableofcontentscommand.js';export{default as TableOfContentsEditing}from'./tableofcontents/tableofcontentsediting.js';export{default as TableOfContentsUI}from'./tableofcontents/tableofcontentsui.js';export{default as HeadingId}from'./tableofcontents/headingid.js';import'./augmentation.js';