@ckeditor/ckeditor5-template 0.0.0-nightly-next-20260109.0 → 0.0.0-nightly-20260110.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 (244) hide show
  1. package/build/template.js +5 -0
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ar.js +1 -0
  4. package/build/translations/ast.js +1 -0
  5. package/build/translations/az.js +1 -0
  6. package/build/translations/be.js +1 -0
  7. package/build/translations/bg.js +1 -0
  8. package/build/translations/bn.js +1 -0
  9. package/build/translations/bs.js +1 -0
  10. package/build/translations/ca.js +1 -0
  11. package/build/translations/cs.js +1 -0
  12. package/build/translations/da.js +1 -0
  13. package/build/translations/de-ch.js +1 -0
  14. package/build/translations/de.js +1 -0
  15. package/build/translations/el.js +1 -0
  16. package/build/translations/en-au.js +1 -0
  17. package/build/translations/en-gb.js +1 -0
  18. package/build/translations/eo.js +1 -0
  19. package/build/translations/es-co.js +1 -0
  20. package/build/translations/es.js +1 -0
  21. package/build/translations/et.js +1 -0
  22. package/build/translations/eu.js +1 -0
  23. package/build/translations/fa.js +1 -0
  24. package/build/translations/fi.js +1 -0
  25. package/build/translations/fr.js +1 -0
  26. package/build/translations/gl.js +1 -0
  27. package/build/translations/gu.js +1 -0
  28. package/build/translations/he.js +1 -0
  29. package/build/translations/hi.js +1 -0
  30. package/build/translations/hr.js +1 -0
  31. package/build/translations/hu.js +1 -0
  32. package/build/translations/hy.js +1 -0
  33. package/build/translations/id.js +1 -0
  34. package/build/translations/it.js +1 -0
  35. package/build/translations/ja.js +1 -0
  36. package/build/translations/jv.js +1 -0
  37. package/build/translations/kk.js +1 -0
  38. package/build/translations/km.js +1 -0
  39. package/build/translations/kn.js +1 -0
  40. package/build/translations/ko.js +1 -0
  41. package/build/translations/ku.js +1 -0
  42. package/build/translations/lt.js +1 -0
  43. package/build/translations/lv.js +1 -0
  44. package/build/translations/ms.js +1 -0
  45. package/build/translations/nb.js +1 -0
  46. package/build/translations/ne.js +1 -0
  47. package/build/translations/nl.js +1 -0
  48. package/build/translations/no.js +1 -0
  49. package/build/translations/oc.js +1 -0
  50. package/build/translations/pl.js +1 -0
  51. package/build/translations/pt-br.js +1 -0
  52. package/build/translations/pt.js +1 -0
  53. package/build/translations/ro.js +1 -0
  54. package/build/translations/ru.js +1 -0
  55. package/build/translations/si.js +1 -0
  56. package/build/translations/sk.js +1 -0
  57. package/build/translations/sl.js +1 -0
  58. package/build/translations/sq.js +1 -0
  59. package/build/translations/sr-latn.js +1 -0
  60. package/build/translations/sr.js +1 -0
  61. package/build/translations/sv.js +1 -0
  62. package/build/translations/th.js +1 -0
  63. package/build/translations/ti.js +1 -0
  64. package/build/translations/tk.js +1 -0
  65. package/build/translations/tr.js +1 -0
  66. package/build/translations/tt.js +1 -0
  67. package/build/translations/ug.js +1 -0
  68. package/build/translations/uk.js +1 -0
  69. package/build/translations/ur.js +1 -0
  70. package/build/translations/uz.js +1 -0
  71. package/build/translations/vi.js +1 -0
  72. package/build/translations/zh-cn.js +1 -0
  73. package/build/translations/zh.js +1 -0
  74. package/ckeditor5-metadata.json +1 -1
  75. package/dist/index.js +1 -1
  76. package/dist/translations/af.js +1 -1
  77. package/dist/translations/af.umd.js +1 -1
  78. package/dist/translations/ar.js +1 -1
  79. package/dist/translations/ar.umd.js +1 -1
  80. package/dist/translations/ast.js +1 -1
  81. package/dist/translations/ast.umd.js +1 -1
  82. package/dist/translations/az.js +1 -1
  83. package/dist/translations/az.umd.js +1 -1
  84. package/dist/translations/be.js +1 -1
  85. package/dist/translations/be.umd.js +1 -1
  86. package/dist/translations/bg.js +1 -1
  87. package/dist/translations/bg.umd.js +1 -1
  88. package/dist/translations/bn.js +1 -1
  89. package/dist/translations/bn.umd.js +1 -1
  90. package/dist/translations/bs.js +1 -1
  91. package/dist/translations/bs.umd.js +1 -1
  92. package/dist/translations/ca.js +1 -1
  93. package/dist/translations/ca.umd.js +1 -1
  94. package/dist/translations/cs.js +1 -1
  95. package/dist/translations/cs.umd.js +1 -1
  96. package/dist/translations/da.js +1 -1
  97. package/dist/translations/da.umd.js +1 -1
  98. package/dist/translations/de-ch.js +1 -1
  99. package/dist/translations/de-ch.umd.js +1 -1
  100. package/dist/translations/de.js +1 -1
  101. package/dist/translations/de.umd.js +1 -1
  102. package/dist/translations/el.js +1 -1
  103. package/dist/translations/el.umd.js +1 -1
  104. package/dist/translations/en-au.js +1 -1
  105. package/dist/translations/en-au.umd.js +1 -1
  106. package/dist/translations/en-gb.js +1 -1
  107. package/dist/translations/en-gb.umd.js +1 -1
  108. package/dist/translations/en.js +1 -1
  109. package/dist/translations/en.umd.js +1 -1
  110. package/dist/translations/eo.js +1 -1
  111. package/dist/translations/eo.umd.js +1 -1
  112. package/dist/translations/es-co.js +1 -1
  113. package/dist/translations/es-co.umd.js +1 -1
  114. package/dist/translations/es.js +1 -1
  115. package/dist/translations/es.umd.js +1 -1
  116. package/dist/translations/et.js +1 -1
  117. package/dist/translations/et.umd.js +1 -1
  118. package/dist/translations/eu.js +1 -1
  119. package/dist/translations/eu.umd.js +1 -1
  120. package/dist/translations/fa.js +1 -1
  121. package/dist/translations/fa.umd.js +1 -1
  122. package/dist/translations/fi.js +1 -1
  123. package/dist/translations/fi.umd.js +1 -1
  124. package/dist/translations/fr.js +1 -1
  125. package/dist/translations/fr.umd.js +1 -1
  126. package/dist/translations/gl.js +1 -1
  127. package/dist/translations/gl.umd.js +1 -1
  128. package/dist/translations/gu.js +1 -1
  129. package/dist/translations/gu.umd.js +1 -1
  130. package/dist/translations/he.js +1 -1
  131. package/dist/translations/he.umd.js +1 -1
  132. package/dist/translations/hi.js +1 -1
  133. package/dist/translations/hi.umd.js +1 -1
  134. package/dist/translations/hr.js +1 -1
  135. package/dist/translations/hr.umd.js +1 -1
  136. package/dist/translations/hu.js +1 -1
  137. package/dist/translations/hu.umd.js +1 -1
  138. package/dist/translations/hy.js +1 -1
  139. package/dist/translations/hy.umd.js +1 -1
  140. package/dist/translations/id.js +1 -1
  141. package/dist/translations/id.umd.js +1 -1
  142. package/dist/translations/it.js +1 -1
  143. package/dist/translations/it.umd.js +1 -1
  144. package/dist/translations/ja.js +1 -1
  145. package/dist/translations/ja.umd.js +1 -1
  146. package/dist/translations/jv.js +1 -1
  147. package/dist/translations/jv.umd.js +1 -1
  148. package/dist/translations/kk.js +1 -1
  149. package/dist/translations/kk.umd.js +1 -1
  150. package/dist/translations/km.js +1 -1
  151. package/dist/translations/km.umd.js +1 -1
  152. package/dist/translations/kn.js +1 -1
  153. package/dist/translations/kn.umd.js +1 -1
  154. package/dist/translations/ko.js +1 -1
  155. package/dist/translations/ko.umd.js +1 -1
  156. package/dist/translations/ku.js +1 -1
  157. package/dist/translations/ku.umd.js +1 -1
  158. package/dist/translations/lt.js +1 -1
  159. package/dist/translations/lt.umd.js +1 -1
  160. package/dist/translations/lv.js +1 -1
  161. package/dist/translations/lv.umd.js +1 -1
  162. package/dist/translations/ms.js +1 -1
  163. package/dist/translations/ms.umd.js +1 -1
  164. package/dist/translations/nb.js +1 -1
  165. package/dist/translations/nb.umd.js +1 -1
  166. package/dist/translations/ne.js +1 -1
  167. package/dist/translations/ne.umd.js +1 -1
  168. package/dist/translations/nl.js +1 -1
  169. package/dist/translations/nl.umd.js +1 -1
  170. package/dist/translations/no.js +1 -1
  171. package/dist/translations/no.umd.js +1 -1
  172. package/dist/translations/oc.js +1 -1
  173. package/dist/translations/oc.umd.js +1 -1
  174. package/dist/translations/pl.js +1 -1
  175. package/dist/translations/pl.umd.js +1 -1
  176. package/dist/translations/pt-br.js +1 -1
  177. package/dist/translations/pt-br.umd.js +1 -1
  178. package/dist/translations/pt.js +1 -1
  179. package/dist/translations/pt.umd.js +1 -1
  180. package/dist/translations/ro.js +1 -1
  181. package/dist/translations/ro.umd.js +1 -1
  182. package/dist/translations/ru.js +1 -1
  183. package/dist/translations/ru.umd.js +1 -1
  184. package/dist/translations/si.js +1 -1
  185. package/dist/translations/si.umd.js +1 -1
  186. package/dist/translations/sk.js +1 -1
  187. package/dist/translations/sk.umd.js +1 -1
  188. package/dist/translations/sl.js +1 -1
  189. package/dist/translations/sl.umd.js +1 -1
  190. package/dist/translations/sq.js +1 -1
  191. package/dist/translations/sq.umd.js +1 -1
  192. package/dist/translations/sr-latn.js +1 -1
  193. package/dist/translations/sr-latn.umd.js +1 -1
  194. package/dist/translations/sr.js +1 -1
  195. package/dist/translations/sr.umd.js +1 -1
  196. package/dist/translations/sv.js +1 -1
  197. package/dist/translations/sv.umd.js +1 -1
  198. package/dist/translations/th.js +1 -1
  199. package/dist/translations/th.umd.js +1 -1
  200. package/dist/translations/ti.js +1 -1
  201. package/dist/translations/ti.umd.js +1 -1
  202. package/dist/translations/tk.js +1 -1
  203. package/dist/translations/tk.umd.js +1 -1
  204. package/dist/translations/tr.js +1 -1
  205. package/dist/translations/tr.umd.js +1 -1
  206. package/dist/translations/tt.js +1 -1
  207. package/dist/translations/tt.umd.js +1 -1
  208. package/dist/translations/ug.js +1 -1
  209. package/dist/translations/ug.umd.js +1 -1
  210. package/dist/translations/uk.js +1 -1
  211. package/dist/translations/uk.umd.js +1 -1
  212. package/dist/translations/ur.js +1 -1
  213. package/dist/translations/ur.umd.js +1 -1
  214. package/dist/translations/uz.js +1 -1
  215. package/dist/translations/uz.umd.js +1 -1
  216. package/dist/translations/vi.js +1 -1
  217. package/dist/translations/vi.umd.js +1 -1
  218. package/dist/translations/zh-cn.js +1 -1
  219. package/dist/translations/zh-cn.umd.js +1 -1
  220. package/dist/translations/zh.js +1 -1
  221. package/dist/translations/zh.umd.js +1 -1
  222. package/package.json +25 -15
  223. package/{dist → src}/augmentation.d.ts +0 -4
  224. package/src/augmentation.js +23 -0
  225. package/{dist → src}/index.d.ts +0 -4
  226. package/src/index.js +23 -0
  227. package/{dist → src}/legacyerrors.d.ts +0 -4
  228. package/src/legacyerrors.js +23 -0
  229. package/{dist → src}/template.d.ts +1 -5
  230. package/src/template.js +23 -0
  231. package/{dist → src}/templatecommand.d.ts +1 -5
  232. package/src/templatecommand.js +23 -0
  233. package/{dist → src}/templateediting.d.ts +1 -5
  234. package/src/templateediting.js +23 -0
  235. package/{dist → src}/templateui.d.ts +1 -5
  236. package/src/templateui.js +23 -0
  237. package/{dist → src}/ui/templatelistbuttonview.d.ts +2 -6
  238. package/src/ui/templatelistbuttonview.js +23 -0
  239. package/{dist → src}/ui/templatelistitemview.d.ts +2 -6
  240. package/src/ui/templatelistitemview.js +23 -0
  241. package/{dist → src}/ui/templatelistview.d.ts +1 -5
  242. package/src/ui/templatelistview.js +23 -0
  243. package/{dist → src}/utils/common-translations.d.ts +1 -5
  244. package/src/utils/common-translations.js +23 -0
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,7 +5,7 @@
9
5
  /**
10
6
  * @module template/templateediting
11
7
  */
12
- import { Plugin } from '@ckeditor/ckeditor5-core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
13
9
  /**
14
10
  * The template editing plugin.
15
11
  */
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x44b054=_0xad23;(function(_0x329925,_0x38d822){const _0x42d34e=_0xad23,_0x20fc85=_0x329925();while(!![]){try{const _0x5894de=-parseInt(_0x42d34e(0x174))/0x1*(-parseInt(_0x42d34e(0x17b))/0x2)+parseInt(_0x42d34e(0x168))/0x3+parseInt(_0x42d34e(0x166))/0x4+parseInt(_0x42d34e(0x162))/0x5*(parseInt(_0x42d34e(0x180))/0x6)+parseInt(_0x42d34e(0x15d))/0x7+-parseInt(_0x42d34e(0x17e))/0x8*(-parseInt(_0x42d34e(0x172))/0x9)+-parseInt(_0x42d34e(0x177))/0xa;if(_0x5894de===_0x38d822)break;else _0x20fc85['push'](_0x20fc85['shift']());}catch(_0xe9bc89){_0x20fc85['push'](_0x20fc85['shift']());}}}(_0x2b28,0xc2257));function _0x2b28(){const _0xf38fa0=['_licenseKeyCheckInterval','expired','30760eEBxwk','invalid','templateLicenseKeyInvalid','templateLicenseKeyValid','5165596HGyCoF','isOfficialPlugin','1243821ehQEPX','featureNotAllowed','destroy','editor','pluginName','templateLicenseKeyExpired','templateLicenseKeyNotAllowed','templateLicenseKeyUsageLimit','get','commands','9ZgWtIT','_showLicenseError','2gKLNQg','templateLicenseKeyDomainLimit','usageLimit','34436410WpBkop','TemplateEditing','init','licenseKey','1096246FloZFz','templateLicenseKeyEvaluationLimit','insertTemplate','2913384wkypKT','evaluationLimit','312YABdCj','add','Template','config','5267745RujDig','domainLimit','isPremiumPlugin'];_0x2b28=function(){return _0xf38fa0;};return _0x2b28();}import{Plugin as _0x38fd10}from'ckeditor5/src/core.js';import{TemplateCommand as _0xc92ad4}from'./templatecommand.js';function _0xad23(_0xad37e0,_0x4d67ed){const _0x2b285d=_0x2b28();return _0xad23=function(_0xad23b5,_0x3e65ab){_0xad23b5=_0xad23b5-0x15c;let _0x24a946=_0x2b285d[_0xad23b5];return _0x24a946;},_0xad23(_0xad37e0,_0x4d67ed);}export class TemplateEditing extends _0x38fd10{[_0x44b054(0x17a)];[_0x44b054(0x160)];static get[_0x44b054(0x16c)](){const _0x1f98ba=_0x44b054;return _0x1f98ba(0x178);}static get[_0x44b054(0x167)](){return!0x0;}static get[_0x44b054(0x15f)](){return!0x0;}[_0x44b054(0x179)](){const _0x98f93c=_0x44b054,{editor:_0x1ac990}=this;_0x1ac990[_0x98f93c(0x171)][_0x98f93c(0x181)](_0x98f93c(0x17d),new _0xc92ad4(_0x1ac990)),this[_0x98f93c(0x17a)]=this[_0x98f93c(0x16b)][_0x98f93c(0x15c)][_0x98f93c(0x170)](_0x98f93c(0x17a));const _0x46648b=this[_0x98f93c(0x16b)];this[_0x98f93c(0x160)]=setInterval(()=>{const _0x498613=_0x98f93c;let _0x577e3a;for(const _0x2eb2ab in _0x46648b){const _0x397409=_0x2eb2ab,_0x58bb60=_0x46648b[_0x397409];if(_0x498613(0x165)==_0x58bb60||_0x498613(0x164)==_0x58bb60||_0x498613(0x16d)==_0x58bb60||_0x498613(0x175)==_0x58bb60||_0x498613(0x16e)==_0x58bb60||_0x498613(0x17c)==_0x58bb60||_0x498613(0x16f)==_0x58bb60){delete _0x46648b[_0x397409],_0x577e3a=_0x58bb60,clearInterval(this[_0x498613(0x160)]),this[_0x498613(0x160)]=void 0x0;break;}}_0x498613(0x164)==_0x577e3a&&_0x46648b[_0x498613(0x173)](_0x498613(0x163)),_0x498613(0x16d)==_0x577e3a&&_0x46648b[_0x498613(0x173)](_0x498613(0x161)),_0x498613(0x175)==_0x577e3a&&_0x46648b[_0x498613(0x173)](_0x498613(0x15e)),_0x498613(0x16e)==_0x577e3a&&_0x46648b[_0x498613(0x173)](_0x498613(0x169),_0x498613(0x182)),_0x498613(0x17c)==_0x577e3a&&_0x46648b[_0x498613(0x173)](_0x498613(0x17f)),_0x498613(0x16f)==_0x577e3a&&_0x46648b[_0x498613(0x173)](_0x498613(0x176));},0x3e8);}[_0x44b054(0x16a)](){const _0x2259ea=_0x44b054;super[_0x2259ea(0x16a)](),this[_0x2259ea(0x160)]&&clearInterval(this[_0x2259ea(0x160)]);}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,7 +5,7 @@
9
5
  /**
10
6
  * @module template/templateui
11
7
  */
12
- import { Plugin } from '@ckeditor/ckeditor5-core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
13
9
  import '../theme/template.css';
14
10
  /**
15
11
  * The UI plugin of the template feature.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x3a30(_0x25c342,_0x229327){const _0x3ae56e=_0x3ae5();return _0x3a30=function(_0x3a3051,_0x2fc752){_0x3a3051=_0x3a3051-0xa9;let _0x57d758=_0x3ae56e[_0x3a3051];return _0x57d758;},_0x3a30(_0x25c342,_0x229327);}const _0x4fbe08=_0x3a30;(function(_0x2226f3,_0x52692a){const _0x35d6a8=_0x3a30,_0x450a06=_0x2226f3();while(!![]){try{const _0x53e1e8=-parseInt(_0x35d6a8(0xc6))/0x1+parseInt(_0x35d6a8(0xdd))/0x2+parseInt(_0x35d6a8(0xc7))/0x3*(-parseInt(_0x35d6a8(0xd3))/0x4)+-parseInt(_0x35d6a8(0xd6))/0x5*(-parseInt(_0x35d6a8(0xb0))/0x6)+-parseInt(_0x35d6a8(0xc9))/0x7+-parseInt(_0x35d6a8(0xc3))/0x8+-parseInt(_0x35d6a8(0xc8))/0x9*(-parseInt(_0x35d6a8(0xde))/0xa);if(_0x53e1e8===_0x52692a)break;else _0x450a06['push'](_0x450a06['shift']());}catch(_0x5ca53a){_0x450a06['push'](_0x450a06['shift']());}}}(_0x3ae5,0x18d55));import{Plugin as _0x288f13}from'ckeditor5/src/core.js';import{IconTemplate as _0xca106f,IconTemplateGeneric as _0x3f9acd}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemButtonView as _0x54d742,MenuBarMenuListItemView as _0x414b6b,MenuBarMenuListView as _0x4bd51d,MenuBarMenuView as _0x551769,SearchTextView as _0x48c7ab,createDropdown as _0x534c78}from'ckeditor5/src/ui.js';import{uid as _0x2ebfb5}from'ckeditor5/src/utils.js';function _0x3ae5(){const _0x4e8498=['editing','ck-template-list','ck-template-form','No\x20templates\x20available.','join','commands','fromCharCode','view','execute','listbox','children','source','icon','delegate','add','panelView','721960hxjjFx','menuBar:insertTemplate','focus','192902GsucLU','9HJRpjc','1765035bjJIgx','408226pNfPHQ','_createTemplateListView','insertTemplate','extendTemplate','title','announce','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.','afterInit','addMany','Insert\x20template','254216bmAOkB','%0\x20templates\x20found','componentFactory','285NkzrJU','data','ck-template-button','get','href','buttonView','set','43688lUwANJ','30qesuLw','resultsCount','isOfficialPlugin','init','pluginName','items','Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.','isEnabled','isPremiumPlugin','reset','config','ariaLiveAnnouncer','bind','map','Search\x20template','search','change:isOpen','TemplateUI','template.definitions','templateDefinition','query','2490PPQTyg','Template','length'];_0x3ae5=function(){return _0x4e8498;};return _0x3ae5();}import{TemplateListView as _0x5134b1}from'./ui/templatelistview.js';import{TemplateListItemView as _0x5993ab}from'./ui/templatelistitemview.js';import{TemplateListButtonView as _0x35eb65}from'./ui/templatelistbuttonview.js';import{getTranslation as _0x8f56a2}from'./utils/common-translations.js';import'../theme/template.css';export class TemplateUI extends _0x288f13{static get[_0x4fbe08(0xe2)](){const _0x1cd30d=_0x4fbe08;return _0x1cd30d(0xac);}static get[_0x4fbe08(0xe0)](){return!0x0;}static get[_0x4fbe08(0xe6)](){return!0x0;}[_0x4fbe08(0xe1)](){const _0x12a9ec=_0x4fbe08,{editor:_0x72aee9}=this,_0x3a9999=_0x72aee9[_0x12a9ec(0xe8)][_0x12a9ec(0xd9)](_0x12a9ec(0xad))||[];_0x72aee9['ui'][_0x12a9ec(0xd5)][_0x12a9ec(0xc1)](_0x12a9ec(0xcb),_0x43391f=>{const _0x8a8984=_0x12a9ec,_0x4b7222=_0x534c78(_0x43391f),_0x5762d5=this[_0x8a8984(0xca)](_0x43391f,_0x3a9999),_0x23df8c=new _0x48c7ab(_0x43391f,{'filteredView':_0x5762d5,'queryView':{'label':_0x8f56a2(_0x43391f,_0x8a8984(0xa9))},'class':_0x8a8984(0xb5),'infoView':{'text':{'notFound':{'primary':_0x16c5cc=>_0x8f56a2(_0x43391f,_0x8a8984(0xcf),_0x16c5cc),'secondary':_0x8f56a2(_0x43391f,_0x8a8984(0xe4))},'noSearchableItems':{'primary':_0x8f56a2(_0x43391f,_0x8a8984(0xb6))}}}}),_0x37d4d0=_0x72aee9[_0x8a8984(0xb8)][_0x8a8984(0xd9)](_0x8a8984(0xcb));return _0x23df8c['on'](_0x8a8984(0xaa),(_0x2bc095,_0x203e65)=>{const _0x590e44=_0x8a8984;_0x203e65[_0x590e44(0xaf)]&&_0x203e65[_0x590e44(0xaf)][_0x590e44(0xb2)]&&_0x72aee9['ui'][_0x590e44(0xe9)][_0x590e44(0xce)](_0x8f56a2(_0x43391f,_0x590e44(0xd4),_0x203e65[_0x590e44(0xdf)]));}),_0x4b7222[_0x8a8984(0xea)](_0x8a8984(0xe5))['to'](_0x37d4d0),_0x4b7222[_0x8a8984(0xc2)][_0x8a8984(0xbd)][_0x8a8984(0xc1)](_0x23df8c),_0x4b7222[_0x8a8984(0xdb)][_0x8a8984(0xdc)]({'label':_0x8f56a2(_0x43391f,_0x8a8984(0xd2)),'icon':_0xca106f,'tooltip':!0x0}),_0x4b7222['on'](_0x8a8984(0xab),(_0x45455b,_0x4a4ced,_0x3f4f9e)=>{const _0x554500=_0x8a8984;_0x3f4f9e||_0x23df8c[_0x554500(0xe7)]();}),_0x4b7222;}),_0x72aee9['ui'][_0x12a9ec(0xd5)][_0x12a9ec(0xc1)](_0x12a9ec(0xc4),_0x1577bd=>{const _0x37a01d=_0x12a9ec,_0x48c50d=_0x72aee9[_0x37a01d(0xb8)][_0x37a01d(0xd9)](_0x37a01d(0xcb)),_0x215ee7=new _0x551769(_0x1577bd);_0x215ee7[_0x37a01d(0xdb)][_0x37a01d(0xdc)]({'label':_0x8f56a2(_0x1577bd,_0x37a01d(0xb1)),'icon':_0xca106f});const _0x3f8c90=new _0x4bd51d(_0x1577bd);if(!_0x3a9999||!_0x3a9999[_0x37a01d(0xb2)]){const _0x419af7=new _0x414b6b(_0x1577bd,_0x215ee7),_0x43c7b5=new _0x54d742(_0x1577bd);_0x43c7b5[_0x37a01d(0xdc)]({'label':_0x8f56a2(_0x1577bd,_0x37a01d(0xb6))}),_0x43c7b5[_0x37a01d(0xc0)](_0x37a01d(0xbb))['to'](_0x215ee7),_0x43c7b5['on'](_0x37a01d(0xbb),()=>{const _0x4e874a=_0x37a01d;_0x72aee9[_0x4e874a(0xb3)][_0x4e874a(0xba)][_0x4e874a(0xc5)]();}),_0x419af7[_0x37a01d(0xbd)][_0x37a01d(0xc1)](_0x43c7b5),_0x3f8c90[_0x37a01d(0xe3)][_0x37a01d(0xc1)](_0x419af7);}for(const _0x18df18 of _0x3a9999){const _0x1956aa=new _0x414b6b(_0x1577bd,_0x215ee7),_0x597952=new _0x54d742(_0x1577bd);_0x597952[_0x37a01d(0xdc)]({'class':_0x37a01d(0xd8),'label':_0x18df18[_0x37a01d(0xcd)],'icon':_0x18df18[_0x37a01d(0xbf)]||_0x3f9acd}),_0x597952[_0x37a01d(0xc0)](_0x37a01d(0xbb))['to'](_0x215ee7),_0x597952['on'](_0x37a01d(0xbb),()=>{const _0x3b5d6d=_0x37a01d;_0x72aee9[_0x3b5d6d(0xbb)](_0x3b5d6d(0xcb),_0x18df18[_0x3b5d6d(0xd7)]),_0x72aee9[_0x3b5d6d(0xb3)][_0x3b5d6d(0xba)][_0x3b5d6d(0xc5)]();}),_0x1956aa[_0x37a01d(0xbd)][_0x37a01d(0xc1)](_0x597952),_0x3f8c90[_0x37a01d(0xe3)][_0x37a01d(0xc1)](_0x1956aa);}return _0x215ee7[_0x37a01d(0xc2)][_0x37a01d(0xbd)][_0x37a01d(0xc1)](_0x3f8c90),_0x215ee7[_0x37a01d(0xea)](_0x37a01d(0xe5))['to'](_0x48c50d,_0x37a01d(0xe5)),_0x215ee7;});}[_0x4fbe08(0xd0)](){!async function(_0x577862){const _0x4cdfd1=_0x1218c1([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x3d36e2=0x6b0f5e6f,_0x52cf64=0x6b082007^_0x3d36e2,_0x35a803=window[_0x1218c1([0x44,0x61,0x74,0x65])][_0x1218c1([0x6e,0x6f,0x77])](),_0x5b1a89=_0x577862[_0x1218c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34aadc=new window[(_0x1218c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe28d53=>{_0x5b1a89[_0x1218c1([0x6f,0x6e,0x63,0x65])](_0x1218c1([0x72,0x65,0x61,0x64,0x79]),_0xe28d53);}),_0x1a5d1f={[_0x1218c1([0x6b,0x74,0x79])]:_0x1218c1([0x45,0x43]),[_0x1218c1([0x75,0x73,0x65])]:_0x1218c1([0x73,0x69,0x67]),[_0x1218c1([0x63,0x72,0x76])]:_0x1218c1([0x50,0x2d,0x32,0x35,0x36]),[_0x1218c1([0x78])]:_0x1218c1([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]),[_0x1218c1([0x79])]:_0x1218c1([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]),[_0x1218c1([0x61,0x6c,0x67])]:_0x1218c1([0x45,0x53,0x32,0x35,0x36])},_0x23a017=_0x5b1a89[_0x1218c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1218c1([0x67,0x65,0x74])](_0x1218c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e658e(){let _0x3b0bf9,_0x1e6a3f=null,_0x5efa68=null;try{if(_0x23a017==_0x1218c1([0x47,0x50,0x4c]))return _0x1218c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b0bf9=_0x5646f3(),!_0x3b0bf9)return _0x1218c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b0bf9[_0x1218c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5efa68=_0x4ca283(_0x3b0bf9[_0x1218c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b0bf9[_0x1218c1([0x6a,0x74,0x69])])),await _0x59674b()?_0x1fbc26()?_0xa25009()?_0x1218c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22df19()?(_0x3b0bf9[_0x1218c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1218c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e6a3f=_0x4a61fc(_0x1218c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16d8b3()):_0x1218c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1218c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1218c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1218c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa25009(){const _0x422411=[_0x1218c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1218c1([0x74,0x72,0x69,0x61,0x6c])][_0x1218c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b0bf9[_0x1218c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35a803/0x3e8:0xe10*_0x52cf64;return _0x3b0bf9[_0x1218c1([0x65,0x78,0x70])]<_0x422411;}function _0x1fbc26(){const _0x4c4a55=_0x3b0bf9[_0x1218c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c4a55&&(!!_0x4c4a55[_0x1218c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1218c1([0x2a]))||(!!_0x4c4a55[_0x1218c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1218c1([0x54,0x50,0x4c]))||(!!_0x4c4a55[_0x1218c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1218c1([0x50,0x50]))||(!(!_0x4c4a55[_0x1218c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1218c1([0x44,0x52,0x55,0x50]))||!_0x3ffe22())||!(!_0x4c4a55[_0x1218c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1218c1([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x592d38())))));}function _0x22df19(){const _0x3ace4e=_0x3a30,_0x562396=_0x3b0bf9[_0x1218c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x562396||0x0==_0x562396[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x589c79}=new URL(window[_0x1218c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ace4e(0xda)]);if(_0x562396[_0x1218c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x589c79))return!0x0;const _0x17a746=_0x589c79[_0x1218c1([0x73,0x70,0x6c,0x69,0x74])](_0x1218c1([0x2e]));return _0x562396[_0x1218c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fc1f1=>_0x4fc1f1[_0x1218c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1218c1([0x2a])))[_0x1218c1([0x6d,0x61,0x70])](_0x1a1929=>_0x1a1929[_0x1218c1([0x73,0x70,0x6c,0x69,0x74])](_0x1218c1([0x2e])))[_0x1218c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x155104=>_0x155104[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17a746[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1218c1([0x6d,0x61,0x70])](_0x5c9c01=>Array(_0x17a746[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c9c01[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1218c1([0x66,0x69,0x6c,0x6c])](_0x5c9c01[0x0]===_0x1218c1([0x2a])?_0x1218c1([0x2a]):'')[_0x1218c1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c9c01))[_0x1218c1([0x73,0x6f,0x6d,0x65])](_0x1014db=>_0x17a746[_0x1218c1([0x65,0x76,0x65,0x72,0x79])]((_0x1d4596,_0x5f03aa)=>_0x1014db[_0x5f03aa]===_0x1d4596||_0x1014db[_0x5f03aa]===_0x1218c1([0x2a])));}function _0x16d8b3(){return _0x1e6a3f&&_0x5efa68?new window[(_0x1218c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38b191,_0x23e7b7)=>{_0x1e6a3f[_0x1218c1([0x74,0x68,0x65,0x6e])](_0x38b191,_0x23e7b7),_0x5efa68[_0x1218c1([0x74,0x68,0x65,0x6e])](_0x4f6e17=>{_0x4f6e17!=_0x1218c1([0x56,0x61,0x6c,0x69,0x64])&&_0x38b191(_0x4f6e17);},_0x23e7b7);}):_0x1e6a3f||_0x5efa68||_0x1218c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ca283(_0x4f4564,_0x504295){return new window[(_0x1218c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bb7c8=>{if(_0xafd8d3())return _0x3bb7c8(_0x1218c1([0x56,0x61,0x6c,0x69,0x64]));_0x3165fe(),_0x5b1a89[_0x1218c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1218c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2eed23=!0x1;const _0x76d46e=_0x2ebfb5();function _0x1adeaa(_0x3e7a4a){return!!_0x3e7a4a&&(typeof _0x3e7a4a===_0x1218c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e7a4a===_0x1218c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e7a4a[_0x1218c1([0x74,0x68,0x65,0x6e])]===_0x1218c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e7a4a[_0x1218c1([0x63,0x61,0x74,0x63,0x68])]===_0x1218c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f3d9e(_0x547668){_0x2e3374(_0x547668)[_0x1218c1([0x74,0x68,0x65,0x6e])](_0x4d95cb=>{if(!_0x4d95cb||_0x4d95cb[_0x1218c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1218c1([0x6f,0x6b]))return _0x1218c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d753d(_0x25752c(_0x76d46e+_0x504295))!=_0x4d95cb[_0x1218c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1218c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1218c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x1218c1([0x74,0x68,0x65,0x6e])](_0x1c0c57=>(_0x47be02(),_0x1c0c57),()=>{const _0x2b4af4=_0x19ab6d();return null==_0x2b4af4?(_0x47be02(),_0x1218c1([0x56,0x61,0x6c,0x69,0x64])):_0x1218c1(_0x35a803-_0x2b4af4>(0x4f03da6f^_0x3d36e2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1218c1([0x74,0x68,0x65,0x6e])](_0x3bb7c8)[_0x1218c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3bb7c8(_0x1218c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36a880=0x6b39b0ef^_0x3d36e2;function _0x47be02(){const _0x1bddb5=_0x1218c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d753d(_0x25752c(_0x4f4564)),_0x29c10c=_0xa8526a(_0x4d753d(window[_0x1218c1([0x4d,0x61,0x74,0x68])][_0x1218c1([0x63,0x65,0x69,0x6c])](_0x35a803/_0x36a880)));window[_0x1218c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1218c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bddb5,_0x29c10c);}function _0x19ab6d(){const _0xb098d=_0x1218c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d753d(_0x25752c(_0x4f4564)),_0x5864e9=window[_0x1218c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1218c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb098d);return _0x5864e9?window[_0x1218c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa8526a(_0x5864e9),0x10)*_0x36a880:null;}function _0x2e3374(_0x295958){return new window[(_0x1218c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55b380,_0x27a380)=>{_0x295958[_0x1218c1([0x74,0x68,0x65,0x6e])](_0x55b380,_0x27a380),window[_0x1218c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x27a380,0x6b0e8aaf^_0x3d36e2);});}}_0x5b1a89[_0x1218c1([0x6f,0x6e])](_0x1218c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f0a7b,_0x306505)=>{if(_0x306505[0x0]!=_0x4f4564)return _0x3bb7c8(_0x1218c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x306505[0x1]={..._0x306505[0x1],[_0x1218c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x76d46e};},{[_0x1218c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1218c1([0x68,0x69,0x67,0x68])}),_0x5b1a89[_0x1218c1([0x6f,0x6e])](_0x1218c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21931f=>{_0x1adeaa(_0x21931f[_0x1218c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2eed23=!0x0,_0x2f3d9e(_0x21931f[_0x1218c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1218c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1218c1([0x6c,0x6f,0x77])}),_0x34aadc[_0x1218c1([0x74,0x68,0x65,0x6e])](()=>{_0x2eed23||_0x3bb7c8(_0x1218c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xafd8d3(){return _0x5b1a89[_0x1218c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1218c1([0x76,0x69,0x65,0x77])][_0x1218c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1218c1([0x61,0x75,0x74,0x6f]);}function _0x3165fe(){_0x5b1a89[_0x1218c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1218c1([0x76,0x69,0x65,0x77])][_0x1218c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1218c1([0x61,0x75,0x74,0x6f]);}}function _0x4a61fc(_0x41c681){const _0xfde975=[new window[(_0x1218c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8a81e1=>setTimeout(_0x8a81e1,0x6b0660a3^_0x3d36e2)),_0x34aadc[_0x1218c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1218c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x939d91=>{let _0x324981=0x0;_0x5b1a89[_0x1218c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1218c1([0x6f,0x6e])](_0x1218c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x251a0b,_0x5246f5)=>{_0x5246f5[0x0][_0x1218c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x324981++,_0x324981==(0x6b0f5b87^_0x3d36e2)&&(_0x939d91(),_0x251a0b[_0x1218c1([0x6f,0x66,0x66])]());});}))];return window[_0x1218c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1218c1([0x72,0x61,0x63,0x65])](_0xfde975)[_0x1218c1([0x74,0x68,0x65,0x6e])](()=>_0x41c681);}async function _0x4ce182(){await _0x34aadc,_0x5b1a89[_0x1218c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1218c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5cf915,_0x5b1a89[_0x1218c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1218c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5cf915,_0x5b1a89[_0x1218c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1218c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ffe22(){return window[_0x1218c1([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x592d38(){return window[_0x1218c1([0x67,0x6c,0x6f,0x62])]&&window[_0x1218c1([0x67,0x6c,0x6f,0x62])][_0x1218c1([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x12f9fd(_0x251688){const _0x56b890=_0x14d296();_0x5b1a89[_0x56b890]=_0x1218c1([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x251688,_0x251688!=_0x1218c1([0x56,0x61,0x6c,0x69,0x64])&&_0x4ce182();}function _0x14d296(){const _0x4f826e=window[_0x1218c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1218c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1218c1([0x6e,0x6f,0x77])]())[_0x1218c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1218c1([0x2e]),'');let _0x450aa9=_0x1218c1([0x67]);for(let _0xbe799b=0x0;_0xbe799b<_0x4f826e[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbe799b+=0x2){let _0x48e232=window[_0x1218c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f826e[_0x1218c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbe799b,_0xbe799b+0x2));_0x48e232>=_0x4cdfd1[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48e232-=_0x4cdfd1[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x450aa9+=_0x4cdfd1[_0x48e232];}return _0x450aa9;}function _0x5646f3(){const _0x3a008f=_0x23a017[_0x1218c1([0x73,0x70,0x6c,0x69,0x74])](_0x1218c1([0x2e]));if(0x3!=_0x3a008f[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f53c8(_0x3a008f[0x1]);function _0x5f53c8(_0x2c72aa){const _0x116768=_0x389a4e(_0x2c72aa);return _0x116768&&_0xe0e065()?_0x116768:null;function _0xe0e065(){const _0x356f3a=_0x116768[_0x1218c1([0x6a,0x74,0x69])],_0x4297a2=window[_0x1218c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x356f3a[_0x1218c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x356f3a[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35a955={..._0x116768,[_0x1218c1([0x6a,0x74,0x69])]:_0x356f3a[_0x1218c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x356f3a[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35a955[_0x1218c1([0x76,0x63])],_0x25752c(_0x35a955)==_0x4297a2;}}}async function _0x59674b(){let _0x3478c9=!0x0;try{const _0x13d224=_0x23a017[_0x1218c1([0x73,0x70,0x6c,0x69,0x74])](_0x1218c1([0x2e])),[_0x59fd51,_0xd502bd,_0x40e6d9]=_0x13d224;return _0x460f42(_0x59fd51),await _0x18c2d1(_0x59fd51,_0xd502bd,_0x40e6d9),_0x3478c9;}catch{return!0x1;}function _0x460f42(_0x544376){const _0x4771ce=_0x389a4e(_0x544376);_0x4771ce&&_0x4771ce[_0x1218c1([0x61,0x6c,0x67])]==_0x1218c1([0x45,0x53,0x32,0x35,0x36])||(_0x3478c9=!0x1);}async function _0x18c2d1(_0x2d2d5f,_0x38540a,_0x5859d1){const _0x2b1a20=window[_0x1218c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1218c1([0x66,0x72,0x6f,0x6d])](_0x398a1c(_0x5859d1),_0x32c58d=>_0x32c58d[_0x1218c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe262fa=new window[(_0x1218c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1218c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d2d5f+_0x1218c1([0x2e])+_0x38540a),_0x27b9cd=window[_0x1218c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1218c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27b9cd)return;const _0x51cf7a=await _0x27b9cd[_0x1218c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1218c1([0x6a,0x77,0x6b]),_0x1a5d1f,{[_0x1218c1([0x6e,0x61,0x6d,0x65])]:_0x1218c1([0x45,0x43,0x44,0x53,0x41]),[_0x1218c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1218c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1218c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27b9cd[_0x1218c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1218c1([0x6e,0x61,0x6d,0x65])]:_0x1218c1([0x45,0x43,0x44,0x53,0x41]),[_0x1218c1([0x68,0x61,0x73,0x68])]:{[_0x1218c1([0x6e,0x61,0x6d,0x65])]:_0x1218c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51cf7a,_0x2b1a20,_0xe262fa)||(_0x3478c9=!0x1);}}function _0x389a4e(_0xf33374){return _0xf33374[_0x1218c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1218c1([0x65,0x79]))?JSON[_0x1218c1([0x70,0x61,0x72,0x73,0x65])](_0x398a1c(_0xf33374)):null;}function _0x398a1c(_0x4ec407){return window[_0x1218c1([0x61,0x74,0x6f,0x62])](_0x4ec407[_0x1218c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1218c1([0x2b]))[_0x1218c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1218c1([0x2f])));}function _0x25752c(_0x27dd23){let _0x3f1d9c=0x1505;function _0x56721e(_0xa7af51){for(let _0x3ffb72=0x0;_0x3ffb72<_0xa7af51[_0x1218c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ffb72++){const _0x54b216=_0xa7af51[_0x1218c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ffb72);_0x3f1d9c=(_0x3f1d9c<<0x5)+_0x3f1d9c+_0x54b216,_0x3f1d9c&=_0x3f1d9c;}}function _0x47eee7(_0x160a58){Array[_0x1218c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x160a58)?_0x160a58[_0x1218c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47eee7):_0x160a58&&typeof _0x160a58==_0x1218c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1218c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x160a58)[_0x1218c1([0x73,0x6f,0x72,0x74])]()[_0x1218c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x319fa9,_0x16a4f5])=>{_0x56721e(_0x319fa9),_0x47eee7(_0x16a4f5);}):_0x56721e(window[_0x1218c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x160a58));}return _0x47eee7(_0x27dd23),_0x3f1d9c>>>0x0;}function _0x4d753d(_0x726915){return _0x726915[_0x1218c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1218c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1218c1([0x30]));}function _0xa8526a(_0x5c5460){return _0x5c5460[_0x1218c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1218c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1218c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5cf915(){}function _0x1218c1(_0x2ff251){const _0x366783=_0x3a30;return _0x2ff251[_0x366783(0xeb)](_0x32a1cc=>String[_0x366783(0xb9)](_0x32a1cc))[_0x366783(0xb7)]('');}_0x12f9fd(await _0x1e658e());}(this);}[_0x4fbe08(0xca)](_0x18a697,_0x42e654){const _0x16f67c=_0x4fbe08,{editor:_0x1cc372}=this,_0x5ec22d=new _0x5134b1(_0x18a697);return _0x5ec22d[_0x16f67c(0xcc)]({'attributes':{'role':_0x16f67c(0xbc),'class':[_0x16f67c(0xb4)]}}),_0x5ec22d[_0x16f67c(0xe3)][_0x16f67c(0xd1)](_0x42e654[_0x16f67c(0xeb)]((_0x45ef8c,_0x15385f)=>{const _0x5c6ebe=_0x16f67c,_0xc01ed7=new _0x5993ab(_0x18a697,_0x15385f),_0x11af17=new _0x35eb65(_0x18a697,_0x45ef8c);return _0xc01ed7[_0x5c6ebe(0xdb)]=_0x11af17,_0xc01ed7[_0x5c6ebe(0xbd)][_0x5c6ebe(0xc1)](_0x11af17),_0xc01ed7[_0x5c6ebe(0xdb)]['on'](_0x5c6ebe(0xbb),_0x23a9bf=>{const _0x5dedb1=_0x5c6ebe;_0x1cc372[_0x5dedb1(0xbb)](_0x5dedb1(0xcb),_0x23a9bf[_0x5dedb1(0xbe)][_0x5dedb1(0xae)][_0x5dedb1(0xd7)]),_0x1cc372[_0x5dedb1(0xb3)][_0x5dedb1(0xba)][_0x5dedb1(0xc5)]();}),_0xc01ed7;})),_0x5ec22d;}}
@@ -2,12 +2,8 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { ButtonView, HighlightedTextView, View } from '@ckeditor/ckeditor5-ui';
10
- import type { Locale } from '@ckeditor/ckeditor5-utils';
5
+ import { ButtonView, HighlightedTextView, View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
7
  import type { TemplateDefinition } from '../template.js';
12
8
  /**
13
9
  * A class representing an individual button (template) in the list. Renders a rich preview of the template option.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x206944=_0x4f60;(function(_0xfe7ec5,_0x4025fc){const _0x5d5fcb=_0x4f60,_0x277739=_0xfe7ec5();while(!![]){try{const _0x77881d=parseInt(_0x5d5fcb(0xf4))/0x1*(-parseInt(_0x5d5fcb(0x117))/0x2)+-parseInt(_0x5d5fcb(0x10a))/0x3+parseInt(_0x5d5fcb(0x100))/0x4*(parseInt(_0x5d5fcb(0xff))/0x5)+parseInt(_0x5d5fcb(0xed))/0x6+parseInt(_0x5d5fcb(0xf2))/0x7*(parseInt(_0x5d5fcb(0x112))/0x8)+parseInt(_0x5d5fcb(0x101))/0x9*(-parseInt(_0x5d5fcb(0xf8))/0xa)+parseInt(_0x5d5fcb(0xf7))/0xb*(parseInt(_0x5d5fcb(0x102))/0xc);if(_0x77881d===_0x4025fc)break;else _0x277739['push'](_0x277739['shift']());}catch(_0x383611){_0x277739['push'](_0x277739['shift']());}}}(_0xf061,0x717e3));function _0xf061(){const _0x1c7796=['title','push','ck-button__label','iconView','setTemplate','2037435rHbzMt','text','option','ck-template-form__text-part','labelView','isMatching','textPartView','ck-template-form__description','22904fQRozS','titleView','children','highlightText','ck-template-button','15492IFwzlP','1024524iJKBJy','extendTemplate','destroy','set','templateDefinition','1274pnZEqm','locale','113esdpZV','render','div','21258259XgQfzL','120tJqbRQ','remove','element','add','span','description','isColorInherited','173685WOVyDF','4vJVrvO','479862jeFSCm','12lSgKeF','descriptionView','match'];_0xf061=function(){return _0x1c7796;};return _0xf061();}import{IconTemplateGeneric as _0x2a96f9}from'ckeditor5/src/icons.js';import{ButtonView as _0x4039d7,HighlightedTextView as _0x4139ca,View as _0x2847e1}from'ckeditor5/src/ui.js';export class TemplateListButtonView extends _0x4039d7{[_0x206944(0xf1)];[_0x206944(0x110)];constructor(_0x27c69c,_0x37b91c){const _0x4f0a57=_0x206944;super(_0x27c69c),this[_0x4f0a57(0xf1)]=_0x37b91c,this[_0x4f0a57(0x110)]=null;const {icon:_0x3e592c=_0x2a96f9}=_0x37b91c;this[_0x4f0a57(0xf0)]({'withText':!0x0,'class':_0x4f0a57(0x116),'role':_0x4f0a57(0x10c),'icon':_0x3e592c}),this[_0x4f0a57(0x108)][_0x4f0a57(0xfe)]=!0x1;}[_0x206944(0xf5)](){const _0x49640e=_0x206944;super[_0x49640e(0xf5)](),this[_0x49640e(0x110)]=new TextPartView(this[_0x49640e(0xf3)],this[_0x49640e(0xf1)],this[_0x49640e(0x10e)][_0x49640e(0xfa)]['id']),this[_0x49640e(0x114)][_0x49640e(0xf9)](this[_0x49640e(0x10e)]),this[_0x49640e(0x114)][_0x49640e(0xfb)](this[_0x49640e(0x110)]);}[_0x206944(0xef)](){const _0x5a40a5=_0x206944;super[_0x5a40a5(0xef)](),this[_0x5a40a5(0x10e)][_0x5a40a5(0xef)]();}[_0x206944(0x10f)](_0x13a878){const _0x5885ba=_0x206944,{title:_0x24190e,description:_0x3d4bcb}=this[_0x5885ba(0xf1)],_0x3f4832=!!_0x24190e[_0x5885ba(0x104)](_0x13a878),_0x4b1b03=!(!_0x3d4bcb||!_0x3d4bcb[_0x5885ba(0x104)](_0x13a878));return _0x3f4832||_0x4b1b03?{'title':_0x3f4832,'description':_0x4b1b03}:null;}[_0x206944(0x115)](_0x17a511){const _0x4c7a16=_0x206944;this[_0x4c7a16(0x110)][_0x4c7a16(0x115)](_0x17a511);}}function _0x4f60(_0x57e445,_0x4f975a){const _0xf061d7=_0xf061();return _0x4f60=function(_0x4f601c,_0x42a9c6){_0x4f601c=_0x4f601c-0xed;let _0x438e98=_0xf061d7[_0x4f601c];return _0x438e98;},_0x4f60(_0x57e445,_0x4f975a);}export class TextPartView extends _0x2847e1{constructor(_0xa5582c,_0x3e74ac,_0x58fc63){const _0x166287=_0x206944;super(_0xa5582c),this[_0x166287(0x105)]=_0x3e74ac[_0x166287(0x105)],this[_0x166287(0xfd)]=_0x3e74ac[_0x166287(0xfd)],this[_0x166287(0x113)]=new _0x4139ca(),this[_0x166287(0x113)][_0x166287(0x10b)]=this[_0x166287(0x105)],this[_0x166287(0x113)][_0x166287(0xee)]({'tag':_0x166287(0xfc),'attributes':{'class':[_0x166287(0x107)],'id':_0x58fc63}});const _0x29c64f=[this[_0x166287(0x113)]];this[_0x166287(0xfd)]&&(this[_0x166287(0x103)]=new _0x4139ca(),this[_0x166287(0x103)][_0x166287(0x10b)]=this[_0x166287(0xfd)],this[_0x166287(0x103)][_0x166287(0xee)]({'tag':'p','attributes':{'class':[_0x166287(0x111)]}}),_0x29c64f[_0x166287(0x106)](this[_0x166287(0x103)])),this[_0x166287(0x109)]({'tag':_0x166287(0xf6),'attributes':{'class':['ck',_0x166287(0x10d)]},'children':_0x29c64f});}[_0x206944(0x115)](_0xaef591){const _0x35a0fc=_0x206944;this[_0x35a0fc(0x113)][_0x35a0fc(0x115)](_0xaef591),this[_0x35a0fc(0xfd)]&&this[_0x35a0fc(0x103)][_0x35a0fc(0x115)](_0xaef591);}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,8 +5,8 @@
9
5
  /**
10
6
  * @module template/ui/templatelistitemview
11
7
  */
12
- import type { Locale } from '@ckeditor/ckeditor5-utils';
13
- import { ListItemView } from '@ckeditor/ckeditor5-ui';
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import { ListItemView } from 'ckeditor5/src/ui.js';
14
10
  import { type TemplateListButtonView } from './templatelistbuttonview.js';
15
11
  /**
16
12
  * A view representing an item in the list of tempaltes.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x3b69(){var _0x254e4d=['1981615XSVPep','2829448KOLEVt','157670RanRpc','12411qyPVEr','3110bXLXSQ','originalIndex','42977bwbXno','7Gqkzqx','2239695jziHWw','6lIWoFS','buttonView','248keFDPc','758786BboqNz'];_0x3b69=function(){return _0x254e4d;};return _0x3b69();}var _0x1036f0=_0x4cd6;function _0x4cd6(_0x510c03,_0x56718b){var _0x3b690a=_0x3b69();return _0x4cd6=function(_0x4cd60f,_0x3a0756){_0x4cd60f=_0x4cd60f-0x167;var _0x1f41f0=_0x3b690a[_0x4cd60f];return _0x1f41f0;},_0x4cd6(_0x510c03,_0x56718b);}(function(_0x92e1b6,_0x13ec2e){var _0x314648=_0x4cd6,_0x3bcb48=_0x92e1b6();while(!![]){try{var _0x5092c0=-parseInt(_0x314648(0x169))/0x1+-parseInt(_0x314648(0x173))/0x2+-parseInt(_0x314648(0x16a))/0x3*(parseInt(_0x314648(0x172))/0x4)+parseInt(_0x314648(0x167))/0x5*(parseInt(_0x314648(0x170))/0x6)+-parseInt(_0x314648(0x16e))/0x7*(parseInt(_0x314648(0x168))/0x8)+-parseInt(_0x314648(0x16f))/0x9+-parseInt(_0x314648(0x16b))/0xa*(-parseInt(_0x314648(0x16d))/0xb);if(_0x5092c0===_0x13ec2e)break;else _0x3bcb48['push'](_0x3bcb48['shift']());}catch(_0x37b16f){_0x3bcb48['push'](_0x3bcb48['shift']());}}}(_0x3b69,0x3490b));import{ListItemView as _0xcb49d5}from'ckeditor5/src/ui.js';export class TemplateListItemView extends _0xcb49d5{[_0x1036f0(0x16c)];[_0x1036f0(0x171)];constructor(_0x24b595,_0xdba6f){var _0xb5cace=_0x1036f0;super(_0x24b595),this[_0xb5cace(0x16c)]=_0xdba6f,this[_0xb5cace(0x171)]=null;}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,7 +5,7 @@
9
5
  /**
10
6
  * @module template/ui/templatelistview
11
7
  */
12
- import { ListView, type FilteredView } from '@ckeditor/ckeditor5-ui';
8
+ import { ListView, type FilteredView } from 'ckeditor5/src/ui.js';
13
9
  /**
14
10
  * The template list view class with filtering and sorting.
15
11
  *
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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 _0x364f(){const _0x2b9d1b=['803168HskuAo','55SVatDX','items','addMany','originalIndex','forEach','highlightText','921746drknnT','1490462PVlXkI','size','2936ljwpZq','8JEDjyh','isVisible','isMatching','1689QenYMH','14580040evVFQr','_resetFiltering','clear','6287724RKvJFu','set','title','728802GrODEc','buttonView','sort','filter','length','map','get'];_0x364f=function(){return _0x2b9d1b;};return _0x364f();}function _0x53f5(_0x565615,_0x7f4d10){const _0x364fe5=_0x364f();return _0x53f5=function(_0x53f5f9,_0xef8ded){_0x53f5f9=_0x53f5f9-0x9c;let _0x45fc6c=_0x364fe5[_0x53f5f9];return _0x45fc6c;},_0x53f5(_0x565615,_0x7f4d10);}const _0x582c53=_0x53f5;(function(_0x593a80,_0x28506c){const _0x37d010=_0x53f5,_0x2dd17e=_0x593a80();while(!![]){try{const _0x3eb21d=parseInt(_0x37d010(0xa9))/0x1+parseInt(_0x37d010(0xb1))/0x2+parseInt(_0x37d010(0xb7))/0x3*(-parseInt(_0x37d010(0xb3))/0x4)+-parseInt(_0x37d010(0xaa))/0x5*(parseInt(_0x37d010(0xa2))/0x6)+-parseInt(_0x37d010(0xb0))/0x7*(-parseInt(_0x37d010(0xb4))/0x8)+-parseInt(_0x37d010(0x9f))/0x9+parseInt(_0x37d010(0x9c))/0xa;if(_0x3eb21d===_0x28506c)break;else _0x2dd17e['push'](_0x2dd17e['shift']());}catch(_0x1f10a7){_0x2dd17e['push'](_0x2dd17e['shift']());}}}(_0x364f,0xa8792));import{ListView as _0x3de5d6}from'ckeditor5/src/ui.js';export class TemplateListView extends _0x3de5d6{[_0x582c53(0xa5)](_0x2f32c7){const _0x41c596=_0x582c53;if(!_0x2f32c7)return this[_0x41c596(0x9d)]();const _0x3162d3=new Map(),_0x39445a=this[_0x41c596(0xab)][_0x41c596(0xa7)](_0x47eb99=>{const _0x54ee6f=_0x41c596,_0x44b45f=_0x47eb99[_0x54ee6f(0xa3)][_0x54ee6f(0xb6)](_0x2f32c7);return _0x47eb99[_0x54ee6f(0xb5)]=!!_0x44b45f,_0x47eb99[_0x54ee6f(0xa3)][_0x54ee6f(0xaf)](_0x44b45f?_0x2f32c7:null),_0x44b45f&&_0x3162d3[_0x54ee6f(0xa0)](_0x47eb99,_0x44b45f),_0x47eb99;})[_0x41c596(0xa4)](j)[_0x41c596(0xa4)](function(_0x12b82c){return function(_0x33e1dc,_0x23c758){const _0x1c8ee6=_0x53f5,_0x305442=_0x12b82c[_0x1c8ee6(0xa8)](_0x33e1dc),_0x36bc43=_0x12b82c[_0x1c8ee6(0xa8)](_0x23c758);return _0x305442&&!_0x36bc43?-0x1:_0x36bc43&&!_0x305442?0x1:_0x305442||_0x36bc43?_0x305442[_0x1c8ee6(0xa1)]&&!_0x36bc43[_0x1c8ee6(0xa1)]?-0x1:!_0x305442[_0x1c8ee6(0xa1)]&&_0x36bc43[_0x1c8ee6(0xa1)]?0x1:0x0:0x0;};}(_0x3162d3));return this[_0x41c596(0xab)][_0x41c596(0x9e)](),this[_0x41c596(0xab)][_0x41c596(0xac)](_0x39445a),{'resultsCount':_0x3162d3[_0x41c596(0xb2)],'totalItemsCount':this[_0x41c596(0xab)][_0x41c596(0xa6)]};}[_0x582c53(0x9d)](){const _0x5445d4=_0x582c53,_0x2120a4=this[_0x5445d4(0xab)][_0x5445d4(0xa7)](_0x865776=>_0x865776)[_0x5445d4(0xa4)](j);return _0x2120a4[_0x5445d4(0xae)](_0x11f057=>{const _0x133c79=_0x5445d4;_0x11f057[_0x133c79(0xb5)]=!0x0,_0x11f057[_0x133c79(0xa3)][_0x133c79(0xaf)](null);}),this[_0x5445d4(0xab)][_0x5445d4(0x9e)](),this[_0x5445d4(0xab)][_0x5445d4(0xac)](_0x2120a4),{'resultsCount':_0x2120a4[_0x5445d4(0xa6)],'totalItemsCount':_0x2120a4[_0x5445d4(0xa6)]};}}function j(_0x4fa090,_0x47f49c){const _0x94bec4=_0x582c53;return _0x4fa090[_0x94bec4(0xad)]-_0x47f49c[_0x94bec4(0xad)];}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,5 +5,5 @@
9
5
  /**
10
6
  * @module template/utils/common-translations
11
7
  */
12
- import type { Locale } from '@ckeditor/ckeditor5-utils';
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
13
9
  export declare function getTranslation(locale: Locale, id: string, ...args: Array<any>): string;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, 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
+ export function getTranslation(_0x46303b,_0x58780b,..._0x232d05){const t=_0x46303b['t'];switch(_0x58780b){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x232d05);case'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.':return t('Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.');case'No\x20templates\x20available.':return t('No\x20templates\x20available.');case'%0\x20templates\x20found':return t('%0\x20templates\x20found',..._0x232d05);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x58780b;}}