@ckeditor/ckeditor5-template 48.2.0-alpha.7 → 48.3.0-alpha.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 (159) hide show
  1. package/dist/augmentation.d.ts +21 -21
  2. package/dist/index.d.ts +11 -11
  3. package/dist/index.js +1 -1
  4. package/dist/legacyerrors.d.ts +0 -4
  5. package/dist/template.d.ts +112 -112
  6. package/dist/templatecommand.d.ts +18 -18
  7. package/dist/templateediting.d.ts +25 -25
  8. package/dist/templateui.d.ts +32 -32
  9. package/dist/translations/af.js +1 -1
  10. package/dist/translations/af.umd.js +1 -1
  11. package/dist/translations/ar.js +1 -1
  12. package/dist/translations/ar.umd.js +1 -1
  13. package/dist/translations/ast.js +1 -1
  14. package/dist/translations/ast.umd.js +1 -1
  15. package/dist/translations/az.js +1 -1
  16. package/dist/translations/az.umd.js +1 -1
  17. package/dist/translations/be.js +1 -1
  18. package/dist/translations/be.umd.js +1 -1
  19. package/dist/translations/bg.js +1 -1
  20. package/dist/translations/bg.umd.js +1 -1
  21. package/dist/translations/bn.js +1 -1
  22. package/dist/translations/bn.umd.js +1 -1
  23. package/dist/translations/bs.js +1 -1
  24. package/dist/translations/bs.umd.js +1 -1
  25. package/dist/translations/ca.js +1 -1
  26. package/dist/translations/ca.umd.js +1 -1
  27. package/dist/translations/cs.js +1 -1
  28. package/dist/translations/cs.umd.js +1 -1
  29. package/dist/translations/da.js +1 -1
  30. package/dist/translations/da.umd.js +1 -1
  31. package/dist/translations/de-ch.js +1 -1
  32. package/dist/translations/de-ch.umd.js +1 -1
  33. package/dist/translations/de.js +1 -1
  34. package/dist/translations/de.umd.js +1 -1
  35. package/dist/translations/el.js +1 -1
  36. package/dist/translations/el.umd.js +1 -1
  37. package/dist/translations/en-au.js +1 -1
  38. package/dist/translations/en-au.umd.js +1 -1
  39. package/dist/translations/en-gb.js +1 -1
  40. package/dist/translations/en-gb.umd.js +1 -1
  41. package/dist/translations/en.js +1 -1
  42. package/dist/translations/en.umd.js +1 -1
  43. package/dist/translations/eo.js +1 -1
  44. package/dist/translations/eo.umd.js +1 -1
  45. package/dist/translations/es-co.js +1 -1
  46. package/dist/translations/es-co.umd.js +1 -1
  47. package/dist/translations/es.js +1 -1
  48. package/dist/translations/es.umd.js +1 -1
  49. package/dist/translations/et.js +1 -1
  50. package/dist/translations/et.umd.js +1 -1
  51. package/dist/translations/eu.js +1 -1
  52. package/dist/translations/eu.umd.js +1 -1
  53. package/dist/translations/fa.js +1 -1
  54. package/dist/translations/fa.umd.js +1 -1
  55. package/dist/translations/fi.js +1 -1
  56. package/dist/translations/fi.umd.js +1 -1
  57. package/dist/translations/fr.js +1 -1
  58. package/dist/translations/fr.umd.js +1 -1
  59. package/dist/translations/gl.js +1 -1
  60. package/dist/translations/gl.umd.js +1 -1
  61. package/dist/translations/gu.js +1 -1
  62. package/dist/translations/gu.umd.js +1 -1
  63. package/dist/translations/he.js +1 -1
  64. package/dist/translations/he.umd.js +1 -1
  65. package/dist/translations/hi.js +1 -1
  66. package/dist/translations/hi.umd.js +1 -1
  67. package/dist/translations/hr.js +1 -1
  68. package/dist/translations/hr.umd.js +1 -1
  69. package/dist/translations/hu.js +1 -1
  70. package/dist/translations/hu.umd.js +1 -1
  71. package/dist/translations/hy.js +1 -1
  72. package/dist/translations/hy.umd.js +1 -1
  73. package/dist/translations/id.js +1 -1
  74. package/dist/translations/id.umd.js +1 -1
  75. package/dist/translations/it.js +1 -1
  76. package/dist/translations/it.umd.js +1 -1
  77. package/dist/translations/ja.js +1 -1
  78. package/dist/translations/ja.umd.js +1 -1
  79. package/dist/translations/jv.js +1 -1
  80. package/dist/translations/jv.umd.js +1 -1
  81. package/dist/translations/kk.js +1 -1
  82. package/dist/translations/kk.umd.js +1 -1
  83. package/dist/translations/km.js +1 -1
  84. package/dist/translations/km.umd.js +1 -1
  85. package/dist/translations/kn.js +1 -1
  86. package/dist/translations/kn.umd.js +1 -1
  87. package/dist/translations/ko.js +1 -1
  88. package/dist/translations/ko.umd.js +1 -1
  89. package/dist/translations/ku.js +1 -1
  90. package/dist/translations/ku.umd.js +1 -1
  91. package/dist/translations/lt.js +1 -1
  92. package/dist/translations/lt.umd.js +1 -1
  93. package/dist/translations/lv.js +1 -1
  94. package/dist/translations/lv.umd.js +1 -1
  95. package/dist/translations/ms.js +1 -1
  96. package/dist/translations/ms.umd.js +1 -1
  97. package/dist/translations/nb.js +1 -1
  98. package/dist/translations/nb.umd.js +1 -1
  99. package/dist/translations/ne.js +1 -1
  100. package/dist/translations/ne.umd.js +1 -1
  101. package/dist/translations/nl.js +1 -1
  102. package/dist/translations/nl.umd.js +1 -1
  103. package/dist/translations/no.js +1 -1
  104. package/dist/translations/no.umd.js +1 -1
  105. package/dist/translations/oc.js +1 -1
  106. package/dist/translations/oc.umd.js +1 -1
  107. package/dist/translations/pl.js +1 -1
  108. package/dist/translations/pl.umd.js +1 -1
  109. package/dist/translations/pt-br.js +1 -1
  110. package/dist/translations/pt-br.umd.js +1 -1
  111. package/dist/translations/pt.js +1 -1
  112. package/dist/translations/pt.umd.js +1 -1
  113. package/dist/translations/ro.js +1 -1
  114. package/dist/translations/ro.umd.js +1 -1
  115. package/dist/translations/ru.js +1 -1
  116. package/dist/translations/ru.umd.js +1 -1
  117. package/dist/translations/si.js +1 -1
  118. package/dist/translations/si.umd.js +1 -1
  119. package/dist/translations/sk.js +1 -1
  120. package/dist/translations/sk.umd.js +1 -1
  121. package/dist/translations/sl.js +1 -1
  122. package/dist/translations/sl.umd.js +1 -1
  123. package/dist/translations/sq.js +1 -1
  124. package/dist/translations/sq.umd.js +1 -1
  125. package/dist/translations/sr-latn.js +1 -1
  126. package/dist/translations/sr-latn.umd.js +1 -1
  127. package/dist/translations/sr.js +1 -1
  128. package/dist/translations/sr.umd.js +1 -1
  129. package/dist/translations/sv.js +1 -1
  130. package/dist/translations/sv.umd.js +1 -1
  131. package/dist/translations/th.js +1 -1
  132. package/dist/translations/th.umd.js +1 -1
  133. package/dist/translations/ti.js +1 -1
  134. package/dist/translations/ti.umd.js +1 -1
  135. package/dist/translations/tk.js +1 -1
  136. package/dist/translations/tk.umd.js +1 -1
  137. package/dist/translations/tr.js +1 -1
  138. package/dist/translations/tr.umd.js +1 -1
  139. package/dist/translations/tt.js +1 -1
  140. package/dist/translations/tt.umd.js +1 -1
  141. package/dist/translations/ug.js +1 -1
  142. package/dist/translations/ug.umd.js +1 -1
  143. package/dist/translations/uk.js +1 -1
  144. package/dist/translations/uk.umd.js +1 -1
  145. package/dist/translations/ur.js +1 -1
  146. package/dist/translations/ur.umd.js +1 -1
  147. package/dist/translations/uz.js +1 -1
  148. package/dist/translations/uz.umd.js +1 -1
  149. package/dist/translations/vi.js +1 -1
  150. package/dist/translations/vi.umd.js +1 -1
  151. package/dist/translations/zh-cn.js +1 -1
  152. package/dist/translations/zh-cn.umd.js +1 -1
  153. package/dist/translations/zh.js +1 -1
  154. package/dist/translations/zh.umd.js +1 -1
  155. package/dist/ui/templatelistbuttonview.d.ts +94 -94
  156. package/dist/ui/templatelistitemview.d.ts +29 -29
  157. package/dist/ui/templatelistview.d.ts +33 -33
  158. package/dist/utils/common-translations.d.ts +6 -6
  159. package/package.json +6 -6
@@ -1,23 +1,23 @@
1
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
- import type { Template, TemplateCommand, TemplateEditing, TemplateUI, TemplateConfig } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [Template.pluginName]: Template;
9
- [TemplateEditing.pluginName]: TemplateEditing;
10
- [TemplateUI.pluginName]: TemplateUI;
11
- }
12
- interface CommandsMap {
13
- insertTemplate: TemplateCommand;
14
- }
15
- interface EditorConfig {
16
- /**
17
- * The configuration of the {@link module:template/template~Template} feature.
18
- *
19
- * Read more in {@link module:template/template~TemplateConfig}.
20
- */
21
- template?: TemplateConfig;
22
- }
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
+ import type { Template, TemplateCommand, TemplateEditing, TemplateUI, TemplateConfig } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface PluginsMap {
8
+ [Template.pluginName]: Template;
9
+ [TemplateEditing.pluginName]: TemplateEditing;
10
+ [TemplateUI.pluginName]: TemplateUI;
11
+ }
12
+ interface CommandsMap {
13
+ insertTemplate: TemplateCommand;
14
+ }
15
+ interface EditorConfig {
16
+ /**
17
+ * The configuration of the {@link module:template/template~Template} feature.
18
+ *
19
+ * Read more in {@link module:template/template~TemplateConfig}.
20
+ */
21
+ template?: TemplateConfig;
22
+ }
23
23
  }
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
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
- */
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
5
  /**
6
- * @module template
7
- */
8
- export { Template } from './template.js';
9
- export { TemplateCommand } from './templatecommand.js';
10
- export { TemplateEditing } from './templateediting.js';
11
- export { TemplateUI } from './templateui.js';
12
- export type { TemplateConfig, TemplateDefinition } from './template.js';
13
- import './augmentation.js';
6
+ * @module template
7
+ */
8
+ export { Template } from "./template.js";
9
+ export { TemplateCommand } from "./templatecommand.js";
10
+ export { TemplateEditing } from "./templateediting.js";
11
+ export { TemplateUI } from "./templateui.js";
12
+ export type { TemplateConfig, TemplateDefinition } from "./template.js";
13
+ import "./augmentation.js";
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x4df96d,Plugin as _0x56025c}from'@ckeditor/ckeditor5-core/dist/index.js';import{IconTemplateGeneric as _0xf92419,IconTemplate as _0x20780d}from'@ckeditor/ckeditor5-icons/dist/index.js';import{ListView as _0x528319,ListItemView as _0x2964da,ButtonView as _0x1bdbd5,View as _0x1943b4,HighlightedTextView as _0x22e01c,createDropdown as _0x2a14fc,SearchTextView as _0x5d1f26,MenuBarMenuView as _0x595933,MenuBarMenuListView as _0x3c37e0,MenuBarMenuListItemView as _0x14039f,MenuBarMenuListItemButtonView as _0x33dad1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{uid as _0x479971}from'@ckeditor/ckeditor5-utils/dist/index.js';class TemplateCommand extends _0x4df96d{['execute'](_0x5bdc26){const {model:_0xa70642}=this['editor'];let _0x47720d;switch(typeof _0x5bdc26){case'string':_0x47720d=_0x5bdc26;break;case'function':_0x47720d=_0x5bdc26();}'string'==typeof _0x47720d&&_0xa70642['change'](()=>{const _0xc5efc7=this['editor']['data']['htmlProcessor']['toView'](_0x47720d),_0xe1822b=_0xa70642['document']['selection']['getFirstPosition']()['root'],_0x47178d=this['editor']['data']['toModel'](_0xc5efc7,_0xe1822b);_0xa70642['insertContent'](_0x47178d);});}}class TemplateEditing extends _0x56025c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd2bc6b}=this;_0xd2bc6b['commands']['add']('insertTemplate',new TemplateCommand(_0xd2bc6b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18c1bc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2fa805;for(const _0x71f1 in _0x18c1bc){const _0x450737=_0x71f1,_0x1bc556=_0x18c1bc[_0x450737];if('templateLicenseKeyValid'==_0x1bc556||'templateLicenseKeyInvalid'==_0x1bc556||'templateLicenseKeyExpired'==_0x1bc556||'templateLicenseKeyDomainLimit'==_0x1bc556||'templateLicenseKeyNotAllowed'==_0x1bc556||'templateLicenseKeyEvaluationLimit'==_0x1bc556||'templateLicenseKeyUsageLimit'==_0x1bc556){delete _0x18c1bc[_0x450737],_0x2fa805=_0x1bc556,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x2fa805&&_0x18c1bc['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x2fa805&&_0x18c1bc['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x2fa805&&_0x18c1bc['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x2fa805&&_0x18c1bc['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x2fa805&&_0x18c1bc['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x2fa805&&_0x18c1bc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0x528319{['filter'](_0xc00a2f){if(!_0xc00a2f)return this['_resetFiltering']();const _0x126915=new Map(),_0x268f0e=this['items']['map'](_0x5e679b=>{const _0xddb047=_0x5e679b['buttonView']['isMatching'](_0xc00a2f);return _0x5e679b['isVisible']=!!_0xddb047,_0x5e679b['buttonView']['highlightText'](_0xddb047?_0xc00a2f:null),_0xddb047&&_0x126915['set'](_0x5e679b,_0xddb047),_0x5e679b;})['sort'](g)['sort'](function(_0x2a383b){return function(_0x2f5b91,_0x2da3d4){const _0x5763a9=_0x2a383b['get'](_0x2f5b91),_0x1bc1a5=_0x2a383b['get'](_0x2da3d4);return _0x5763a9&&!_0x1bc1a5?-0x1:_0x1bc1a5&&!_0x5763a9?0x1:_0x5763a9||_0x1bc1a5?_0x5763a9['title']&&!_0x1bc1a5['title']?-0x1:!_0x5763a9['title']&&_0x1bc1a5['title']?0x1:0x0:0x0;};}(_0x126915));return this['items']['clear'](),this['items']['addMany'](_0x268f0e),{'resultsCount':_0x126915['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x9e0796=this['items']['map'](_0x26ba4a=>_0x26ba4a)['sort'](g);return _0x9e0796['forEach'](_0xc160c6=>{_0xc160c6['isVisible']=!0x0,_0xc160c6['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x9e0796),{'resultsCount':_0x9e0796['length'],'totalItemsCount':_0x9e0796['length']};}}function g(_0x555797,_0x164a7f){return _0x555797['originalIndex']-_0x164a7f['originalIndex'];}class TemplateListItemView extends _0x2964da{['originalIndex'];['buttonView'];constructor(_0x1a7c37,_0x397253){super(_0x1a7c37),this['originalIndex']=_0x397253,this['buttonView']=null;}}class TemplateListButtonView extends _0x1bdbd5{['templateDefinition'];['textPartView'];constructor(_0x315ed1,_0x4f8154){super(_0x315ed1),this['templateDefinition']=_0x4f8154,this['textPartView']=null;const {icon:_0x33ff4f=_0xf92419}=_0x4f8154;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x33ff4f}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new TextPartView(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x20e845){const {title:_0x1f3bf7,description:_0x7deaa4}=this['templateDefinition'],_0x5f08d8=!!_0x1f3bf7['match'](_0x20e845),_0x5772e8=!(!_0x7deaa4||!_0x7deaa4['match'](_0x20e845));return _0x5f08d8||_0x5772e8?{'title':_0x5f08d8,'description':_0x5772e8}:null;}['highlightText'](_0x3a8e00){this['textPartView']['highlightText'](_0x3a8e00);}}class TextPartView extends _0x1943b4{constructor(_0x4186a2,_0x4d2a49,_0x2b5acd){super(_0x4186a2),this['title']=_0x4d2a49['title'],this['description']=_0x4d2a49['description'],this['titleView']=new _0x22e01c(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x2b5acd}});const _0x2150a4=[this['titleView']];this['description']&&(this['descriptionView']=new _0x22e01c(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x2150a4['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x2150a4});}['highlightText'](_0x5c9cca){this['titleView']['highlightText'](_0x5c9cca),this['description']&&this['descriptionView']['highlightText'](_0x5c9cca);}}function y(_0x1ebf9d,_0x40ac62,..._0x5f5997){const t=_0x1ebf9d['t'];switch(_0x40ac62){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x5f5997);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',..._0x5f5997);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x40ac62;}}class TemplateUI extends _0x56025c{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56cb7e}=this,_0x2dd5c4=_0x56cb7e['config']['get']('template.definitions')||[];_0x56cb7e['ui']['componentFactory']['add']('insertTemplate',_0x10f151=>{const _0x304621=_0x2a14fc(_0x10f151),_0x26055e=this['_createTemplateListView'](_0x10f151,_0x2dd5c4),_0x47997f=new _0x5d1f26(_0x10f151,{'filteredView':_0x26055e,'queryView':{'label':y(_0x10f151,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x13ec88=>y(_0x10f151,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x13ec88),'secondary':y(_0x10f151,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':y(_0x10f151,'No\x20templates\x20available.')}}}}),_0x4b1968=_0x56cb7e['commands']['get']('insertTemplate');return _0x47997f['on']('search',(_0x30e7bc,_0x38c85f)=>{_0x38c85f['query']&&_0x38c85f['query']['length']&&_0x56cb7e['ui']['ariaLiveAnnouncer']['announce'](y(_0x10f151,'%0\x20templates\x20found',_0x38c85f['resultsCount']));}),_0x304621['bind']('isEnabled')['to'](_0x4b1968),_0x304621['panelView']['children']['add'](_0x47997f),_0x304621['buttonView']['set']({'label':y(_0x10f151,'Insert\x20template'),'icon':_0x20780d,'tooltip':!0x0}),_0x304621['on']('change:isOpen',(_0x4a71be,_0x760a85,_0x1bf951)=>{_0x1bf951||_0x47997f['reset']();}),_0x304621;}),_0x56cb7e['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x11993b=>{const _0x4774e0=_0x56cb7e['commands']['get']('insertTemplate'),_0x9e5f50=new _0x595933(_0x11993b);_0x9e5f50['buttonView']['set']({'label':y(_0x11993b,'Template'),'icon':_0x20780d});const _0x2f56b4=new _0x3c37e0(_0x11993b);if(!_0x2dd5c4||!_0x2dd5c4['length']){const _0x354fa1=new _0x14039f(_0x11993b,_0x9e5f50),_0xf08cc8=new _0x33dad1(_0x11993b);_0xf08cc8['set']({'label':y(_0x11993b,'No\x20templates\x20available.')}),_0xf08cc8['delegate']('execute')['to'](_0x9e5f50),_0xf08cc8['on']('execute',()=>{_0x56cb7e['editing']['view']['focus']();}),_0x354fa1['children']['add'](_0xf08cc8),_0x2f56b4['items']['add'](_0x354fa1);}for(const _0x5ac300 of _0x2dd5c4){const _0x3c2760=new _0x14039f(_0x11993b,_0x9e5f50),_0x1df063=new _0x33dad1(_0x11993b);_0x1df063['set']({'class':'ck-template-button','label':_0x5ac300['title'],'icon':_0x5ac300['icon']||_0xf92419}),_0x1df063['delegate']('execute')['to'](_0x9e5f50),_0x1df063['on']('execute',()=>{_0x56cb7e['execute']('insertTemplate',_0x5ac300['data']),_0x56cb7e['editing']['view']['focus']();}),_0x3c2760['children']['add'](_0x1df063),_0x2f56b4['items']['add'](_0x3c2760);}return _0x9e5f50['panelView']['children']['add'](_0x2f56b4),_0x9e5f50['bind']('isEnabled')['to'](_0x4774e0,'isEnabled'),_0x9e5f50;});}['afterInit'](){!async function(_0x5f2f60){const _0xf5d578=_0x468e6d([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]),_0x482db7=0x6b0f5e6f,_0x181822=0x6b08d5bf^_0x482db7,_0x45bfa6=window[_0x468e6d([0x44,0x61,0x74,0x65])][_0x468e6d([0x6e,0x6f,0x77])](),_0x9a8244=_0x5f2f60[_0x468e6d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3787a2=new window[(_0x468e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a3122=>{_0x9a8244[_0x468e6d([0x6f,0x6e,0x63,0x65])](_0x468e6d([0x72,0x65,0x61,0x64,0x79]),_0x3a3122);}),_0x428ea2={[_0x468e6d([0x6b,0x74,0x79])]:_0x468e6d([0x45,0x43]),[_0x468e6d([0x75,0x73,0x65])]:_0x468e6d([0x73,0x69,0x67]),[_0x468e6d([0x63,0x72,0x76])]:_0x468e6d([0x50,0x2d,0x32,0x35,0x36]),[_0x468e6d([0x78])]:_0x468e6d([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]),[_0x468e6d([0x79])]:_0x468e6d([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]),[_0x468e6d([0x61,0x6c,0x67])]:_0x468e6d([0x45,0x53,0x32,0x35,0x36])},_0x507ef9=_0x9a8244[_0x468e6d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x468e6d([0x67,0x65,0x74])](_0x468e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ec9d2(){let _0x10cd10,_0x3b4f12=null,_0x2e1ca3=null;try{if(_0x507ef9==_0x468e6d([0x47,0x50,0x4c]))return _0x468e6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x10cd10=_0x582ee5(),!_0x10cd10)return _0x468e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x10cd10[_0x468e6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e1ca3=_0x108dca(_0x10cd10[_0x468e6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x10cd10[_0x468e6d([0x6a,0x74,0x69])])),await _0x4b1514()?_0x38d52d()?_0x3c43e4()?_0x468e6d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ea52c()?(_0x10cd10[_0x468e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x468e6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b4f12=_0x97d508(_0x468e6d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5d636c()):_0x468e6d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x468e6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x468e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x468e6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c43e4(){const _0x1d6ec9=[_0x468e6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x468e6d([0x74,0x72,0x69,0x61,0x6c])][_0x468e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10cd10[_0x468e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45bfa6/0x3e8:0xe10*_0x181822;return _0x10cd10[_0x468e6d([0x65,0x78,0x70])]<_0x1d6ec9;}function _0x38d52d(){const _0xc1835b=_0x10cd10[_0x468e6d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc1835b&&(!!_0xc1835b[_0x468e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468e6d([0x2a]))||(!!_0xc1835b[_0x468e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468e6d([0x54,0x50,0x4c]))||(!!_0xc1835b[_0x468e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468e6d([0x50,0x50]))||(!(!_0xc1835b[_0x468e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468e6d([0x44,0x52,0x55,0x50]))||!_0x3f8e92())||!(!_0xc1835b[_0x468e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468e6d([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3730d3())))));}function _0x4ea52c(){const _0x583be8=_0x10cd10[_0x468e6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x583be8||0x0==_0x583be8[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c7a9f}=new URL(window[_0x468e6d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x583be8[_0x468e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7a9f))return!0x0;const _0x44300a=_0x3c7a9f[_0x468e6d([0x73,0x70,0x6c,0x69,0x74])](_0x468e6d([0x2e]));return _0x583be8[_0x468e6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2840d8=>_0x2840d8[_0x468e6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468e6d([0x2a])))[_0x468e6d([0x6d,0x61,0x70])](_0x49bf29=>_0x49bf29[_0x468e6d([0x73,0x70,0x6c,0x69,0x74])](_0x468e6d([0x2e])))[_0x468e6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b3a3e=>_0x1b3a3e[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44300a[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x468e6d([0x6d,0x61,0x70])](_0x598511=>Array(_0x44300a[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x598511[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x468e6d([0x66,0x69,0x6c,0x6c])](_0x598511[0x0]===_0x468e6d([0x2a])?_0x468e6d([0x2a]):'')[_0x468e6d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x598511))[_0x468e6d([0x73,0x6f,0x6d,0x65])](_0x2b4337=>_0x44300a[_0x468e6d([0x65,0x76,0x65,0x72,0x79])]((_0x2048bd,_0x5b3f9f)=>_0x2b4337[_0x5b3f9f]===_0x2048bd||_0x2b4337[_0x5b3f9f]===_0x468e6d([0x2a])));}function _0x5d636c(){return _0x3b4f12&&_0x2e1ca3?new window[(_0x468e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c5f7f,_0x4c4d88)=>{_0x3b4f12[_0x468e6d([0x74,0x68,0x65,0x6e])](_0x3c5f7f,_0x4c4d88),_0x2e1ca3[_0x468e6d([0x74,0x68,0x65,0x6e])](_0x360630=>{_0x360630!=_0x468e6d([0x56,0x61,0x6c,0x69,0x64])&&_0x3c5f7f(_0x360630);},_0x4c4d88);}):_0x3b4f12||_0x2e1ca3||_0x468e6d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x108dca(_0xd58255,_0x20b025){return new window[(_0x468e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e3f92=>{if(_0x483e89())return _0x1e3f92(_0x468e6d([0x56,0x61,0x6c,0x69,0x64]));_0x2da279(),_0x9a8244[_0x468e6d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x468e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e98e1=!0x1;const _0x5f021d=_0x479971();function _0x572cd5(_0x210b2e){return!!_0x210b2e&&(typeof _0x210b2e===_0x468e6d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x210b2e===_0x468e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x210b2e[_0x468e6d([0x74,0x68,0x65,0x6e])]===_0x468e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x210b2e[_0x468e6d([0x63,0x61,0x74,0x63,0x68])]===_0x468e6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x15ee6c(_0x65029b){_0x25e635(_0x65029b)[_0x468e6d([0x74,0x68,0x65,0x6e])](_0x129810=>{if(!_0x129810||_0x129810[_0x468e6d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x468e6d([0x6f,0x6b]))return _0x468e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d6391(_0x35a378(_0x5f021d+_0x20b025))!=_0x129810[_0x468e6d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x468e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x468e6d([0x56,0x61,0x6c,0x69,0x64]);})[_0x468e6d([0x74,0x68,0x65,0x6e])](_0x2273c9=>(_0x1a4590(),_0x2273c9),()=>{const _0xfbeba0=_0x5eb536();return null==_0xfbeba0?(_0x1a4590(),_0x468e6d([0x56,0x61,0x6c,0x69,0x64])):_0x468e6d(_0x45bfa6-_0xfbeba0>(0x4f03da6f^_0x482db7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x468e6d([0x74,0x68,0x65,0x6e])](_0x1e3f92)[_0x468e6d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e3f92(_0x468e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x528f12=0x6b39b0ef^_0x482db7;function _0x1a4590(){const _0x1236de=_0x468e6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d6391(_0x35a378(_0xd58255)),_0xf76ef4=_0x1b90d3(_0x3d6391(window[_0x468e6d([0x4d,0x61,0x74,0x68])][_0x468e6d([0x63,0x65,0x69,0x6c])](_0x45bfa6/_0x528f12)));window[_0x468e6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468e6d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1236de,_0xf76ef4);}function _0x5eb536(){const _0x2bb244=_0x468e6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d6391(_0x35a378(_0xd58255)),_0x5efe3f=window[_0x468e6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468e6d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bb244);return _0x5efe3f?window[_0x468e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b90d3(_0x5efe3f),0x10)*_0x528f12:null;}function _0x25e635(_0x4a53ae){return new window[(_0x468e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53f472,_0x5e9db7)=>{_0x4a53ae[_0x468e6d([0x74,0x68,0x65,0x6e])](_0x53f472,_0x5e9db7),window[_0x468e6d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e9db7,0x6b0e8aaf^_0x482db7);});}}_0x9a8244[_0x468e6d([0x6f,0x6e])](_0x468e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2de903,_0x4f667b)=>{if(_0x4f667b[0x0]!=_0xd58255)return _0x1e3f92(_0x468e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f667b[0x1]={..._0x4f667b[0x1],[_0x468e6d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f021d};},{[_0x468e6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468e6d([0x68,0x69,0x67,0x68])}),_0x9a8244[_0x468e6d([0x6f,0x6e])](_0x468e6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7e94dd=>{_0x572cd5(_0x7e94dd[_0x468e6d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e98e1=!0x0,_0x15ee6c(_0x7e94dd[_0x468e6d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x468e6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468e6d([0x6c,0x6f,0x77])}),_0x3787a2[_0x468e6d([0x74,0x68,0x65,0x6e])](()=>{_0x2e98e1||_0x1e3f92(_0x468e6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x483e89(){return _0x9a8244[_0x468e6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468e6d([0x76,0x69,0x65,0x77])][_0x468e6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x468e6d([0x61,0x75,0x74,0x6f]);}function _0x2da279(){_0x9a8244[_0x468e6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468e6d([0x76,0x69,0x65,0x77])][_0x468e6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x468e6d([0x61,0x75,0x74,0x6f]);}}function _0x97d508(_0x316e99){const _0x3e58ee=[new window[(_0x468e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35dc0d=>setTimeout(_0x35dc0d,0x6b0660a3^_0x482db7)),_0x3787a2[_0x468e6d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x468e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd86399=>{let _0x22e39b=0x0;_0x9a8244[_0x468e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x468e6d([0x6f,0x6e])](_0x468e6d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x348e5e,_0x1bd127)=>{_0x1bd127[0x0][_0x468e6d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22e39b++,_0x22e39b==(0x6b0f5b87^_0x482db7)&&(_0xd86399(),_0x348e5e[_0x468e6d([0x6f,0x66,0x66])]());});}))];return window[_0x468e6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x468e6d([0x72,0x61,0x63,0x65])](_0x3e58ee)[_0x468e6d([0x74,0x68,0x65,0x6e])](()=>_0x316e99);}async function _0x24c916(){await _0x3787a2,_0x9a8244[_0x468e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x468e6d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45ceaa,_0x9a8244[_0x468e6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x468e6d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45ceaa,_0x9a8244[_0x468e6d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x468e6d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f8e92(){return window[_0x468e6d([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x3730d3(){return window[_0x468e6d([0x67,0x6c,0x6f,0x62])]&&window[_0x468e6d([0x67,0x6c,0x6f,0x62])][_0x468e6d([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x16dc64(_0x34712a){const _0x45e5de=_0x5c705e();_0x9a8244[_0x45e5de]=_0x468e6d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34712a,_0x34712a!=_0x468e6d([0x56,0x61,0x6c,0x69,0x64])&&_0x24c916();}function _0x5c705e(){const _0x4c83dc=window[_0x468e6d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x468e6d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x468e6d([0x6e,0x6f,0x77])]())[_0x468e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x468e6d([0x2e]),'');let _0x3f8de9=_0x468e6d([0x67]);for(let _0x5ddf0e=0x0;_0x5ddf0e<_0x4c83dc[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ddf0e+=0x2){let _0x246f0f=window[_0x468e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c83dc[_0x468e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ddf0e,_0x5ddf0e+0x2));_0x246f0f>=_0xf5d578[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x246f0f-=_0xf5d578[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f8de9+=_0xf5d578[_0x246f0f];}return _0x3f8de9;}function _0x582ee5(){const _0x1c015d=_0x507ef9[_0x468e6d([0x73,0x70,0x6c,0x69,0x74])](_0x468e6d([0x2e]));if(0x3!=_0x1c015d[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14d31c(_0x1c015d[0x1]);function _0x14d31c(_0x2127c6){const _0x2710d2=_0x1fd5ac(_0x2127c6);return _0x2710d2&&_0x3f650f()?_0x2710d2:null;function _0x3f650f(){const _0x3244fc=_0x2710d2[_0x468e6d([0x6a,0x74,0x69])],_0x10ae86=window[_0x468e6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3244fc[_0x468e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3244fc[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d5f20={..._0x2710d2,[_0x468e6d([0x6a,0x74,0x69])]:_0x3244fc[_0x468e6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3244fc[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d5f20[_0x468e6d([0x76,0x63])],_0x35a378(_0x4d5f20)==_0x10ae86;}}}async function _0x4b1514(){let _0x14dc43=!0x0;try{const _0x2659e6=_0x507ef9[_0x468e6d([0x73,0x70,0x6c,0x69,0x74])](_0x468e6d([0x2e])),[_0x1e0b12,_0x3d4b07,_0x41c78f]=_0x2659e6;return _0x4e08eb(_0x1e0b12),await _0x3ac967(_0x1e0b12,_0x3d4b07,_0x41c78f),_0x14dc43;}catch{return!0x1;}function _0x4e08eb(_0x4e284a){const _0x27f824=_0x1fd5ac(_0x4e284a);_0x27f824&&_0x27f824[_0x468e6d([0x61,0x6c,0x67])]==_0x468e6d([0x45,0x53,0x32,0x35,0x36])||(_0x14dc43=!0x1);}async function _0x3ac967(_0x147d92,_0x14e562,_0xe9f105){const _0x18e9c8=window[_0x468e6d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x468e6d([0x66,0x72,0x6f,0x6d])](_0xeea054(_0xe9f105),_0x22600c=>_0x22600c[_0x468e6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xeeaf61=new window[(_0x468e6d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x468e6d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x147d92+_0x468e6d([0x2e])+_0x14e562),_0x2c8712=window[_0x468e6d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x468e6d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c8712)return;const _0x4d8381=await _0x2c8712[_0x468e6d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x468e6d([0x6a,0x77,0x6b]),_0x428ea2,{[_0x468e6d([0x6e,0x61,0x6d,0x65])]:_0x468e6d([0x45,0x43,0x44,0x53,0x41]),[_0x468e6d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x468e6d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x468e6d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c8712[_0x468e6d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x468e6d([0x6e,0x61,0x6d,0x65])]:_0x468e6d([0x45,0x43,0x44,0x53,0x41]),[_0x468e6d([0x68,0x61,0x73,0x68])]:{[_0x468e6d([0x6e,0x61,0x6d,0x65])]:_0x468e6d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d8381,_0x18e9c8,_0xeeaf61)||(_0x14dc43=!0x1);}}function _0x1fd5ac(_0x271641){return _0x271641[_0x468e6d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x468e6d([0x65,0x79]))?JSON[_0x468e6d([0x70,0x61,0x72,0x73,0x65])](_0xeea054(_0x271641)):null;}function _0xeea054(_0x315388){return window[_0x468e6d([0x61,0x74,0x6f,0x62])](_0x315388[_0x468e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x468e6d([0x2b]))[_0x468e6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x468e6d([0x2f])));}function _0x35a378(_0x35f405){let _0x205e5b=0x1505;function _0x2c0d47(_0x1eb01e){for(let _0x4ccbe6=0x0;_0x4ccbe6<_0x1eb01e[_0x468e6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ccbe6++){const _0x1ff5b0=_0x1eb01e[_0x468e6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ccbe6);_0x205e5b=(_0x205e5b<<0x5)+_0x205e5b+_0x1ff5b0,_0x205e5b&=_0x205e5b;}}function _0x3c474c(_0x27b809){Array[_0x468e6d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27b809)?_0x27b809[_0x468e6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c474c):_0x27b809&&typeof _0x27b809==_0x468e6d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x468e6d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27b809)[_0x468e6d([0x73,0x6f,0x72,0x74])]()[_0x468e6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c7ee6,_0x338b7f])=>{_0x2c0d47(_0x2c7ee6),_0x3c474c(_0x338b7f);}):_0x2c0d47(window[_0x468e6d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27b809));}return _0x3c474c(_0x35f405),_0x205e5b>>>0x0;}function _0x3d6391(_0x1a34b4){return _0x1a34b4[_0x468e6d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x468e6d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x468e6d([0x30]));}function _0x1b90d3(_0x382d0c){return _0x382d0c[_0x468e6d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x468e6d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x468e6d([0x6a,0x6f,0x69,0x6e])]('');}function _0x45ceaa(){}function _0x468e6d(_0x4d6653){return _0x4d6653['map'](_0x37697f=>String['fromCharCode'](_0x37697f))['join']('');}_0x16dc64(await _0x3ec9d2());}(this);}['_createTemplateListView'](_0xd5e7b3,_0xc7da2e){const {editor:_0x3b81d1}=this,_0x301f0e=new TemplateListView(_0xd5e7b3);return _0x301f0e['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x301f0e['items']['addMany'](_0xc7da2e['map']((_0x5e429,_0x4ff32a)=>{const _0x3390b2=new TemplateListItemView(_0xd5e7b3,_0x4ff32a),_0x82d337=new TemplateListButtonView(_0xd5e7b3,_0x5e429);return _0x3390b2['buttonView']=_0x82d337,_0x3390b2['children']['add'](_0x82d337),_0x3390b2['buttonView']['on']('execute',_0x47d9e0=>{_0x3b81d1['execute']('insertTemplate',_0x47d9e0['source']['templateDefinition']['data']),_0x3b81d1['editing']['view']['focus']();}),_0x3390b2;})),_0x301f0e;}}class Template extends _0x56025c{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Template,TemplateCommand,TemplateEditing,TemplateUI};
23
+ import{Command as _0x1f4b67,Plugin as _0x1ac961}from'@ckeditor/ckeditor5-core';import{IconTemplate as _0x3d5950,IconTemplateGeneric as _0xe3cb7a}from'@ckeditor/ckeditor5-icons';import{ButtonView as _0x2c427d,HighlightedTextView as _0x43cf95,ListItemView as _0x4497c5,ListView as _0x2929d1,MenuBarMenuListItemButtonView as _0x2c4f85,MenuBarMenuListItemView as _0xf2850d,MenuBarMenuListView as _0x87e371,MenuBarMenuView as _0x317086,SearchTextView as _0x438d5c,View as _0x105415,createDropdown as _0x369be9}from'@ckeditor/ckeditor5-ui';import{uid as _0x484e09}from'@ckeditor/ckeditor5-utils';var g=class extends _0x1f4b67{['execute'](_0x1df254){const {model:_0x559ffc}=this['editor'];let _0x1452da;switch(typeof _0x1df254){case'string':_0x1452da=_0x1df254;break;case'function':_0x1452da=_0x1df254();}'string'==typeof _0x1452da&&_0x559ffc['change'](()=>{const _0x4c7982=this['editor']['data']['htmlProcessor']['toView'](_0x1452da),_0x2f638e=_0x559ffc['document']['selection']['getFirstPosition']()['root'],_0x7c7575=this['editor']['data']['toModel'](_0x4c7982,_0x2f638e);_0x559ffc['insertContent'](_0x7c7575);});}},y=class extends _0x1ac961{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x553433}=this;_0x553433['commands']['add']('insertTemplate',new g(_0x553433)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x404d15=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15852c;for(const _0x5b45a4 in _0x404d15){const _0x5b0a4d=_0x5b45a4,_0x28e669=_0x404d15[_0x5b0a4d];if('templateLicenseKeyValid'==_0x28e669||'templateLicenseKeyInvalid'==_0x28e669||'templateLicenseKeyExpired'==_0x28e669||'templateLicenseKeyDomainLimit'==_0x28e669||'templateLicenseKeyNotAllowed'==_0x28e669||'templateLicenseKeyEvaluationLimit'==_0x28e669||'templateLicenseKeyUsageLimit'==_0x28e669){delete _0x404d15[_0x5b0a4d],_0x15852c=_0x28e669,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x15852c&&_0x404d15['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x15852c&&_0x404d15['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x15852c&&_0x404d15['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x15852c&&_0x404d15['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x15852c&&_0x404d15['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x15852c&&_0x404d15['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},L=class extends _0x2929d1{['filter'](_0x132800){if(!_0x132800)return this['_resetFiltering']();const _0x2aec1f=new Map(),_0x28efe0=this['items']['map'](_0x1f36c2=>{const _0x1e044c=_0x1f36c2['buttonView']['isMatching'](_0x132800);return _0x1f36c2['isVisible']=!!_0x1e044c,_0x1f36c2['buttonView']['highlightText'](_0x1e044c?_0x132800:null),_0x1e044c&&_0x2aec1f['set'](_0x1f36c2,_0x1e044c),_0x1f36c2;})['sort'](v)['sort'](function(_0x1694c7){return function(_0x4306a9,_0x44abed){const _0x4f81ff=_0x1694c7['get'](_0x4306a9),_0xb45568=_0x1694c7['get'](_0x44abed);return _0x4f81ff&&!_0xb45568?-0x1:_0xb45568&&!_0x4f81ff?0x1:_0x4f81ff||_0xb45568?_0x4f81ff['title']&&!_0xb45568['title']?-0x1:!_0x4f81ff['title']&&_0xb45568['title']?0x1:0x0:0x0;};}(_0x2aec1f));return this['items']['clear'](),this['items']['addMany'](_0x28efe0),{'resultsCount':_0x2aec1f['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x5ebe82=this['items']['map'](_0x3c4228=>_0x3c4228)['sort'](v);return _0x5ebe82['forEach'](_0x4ed757=>{_0x4ed757['isVisible']=!0x0,_0x4ed757['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x5ebe82),{'resultsCount':_0x5ebe82['length'],'totalItemsCount':_0x5ebe82['length']};}};function v(_0x4123c4,_0x523447){return _0x4123c4['originalIndex']-_0x523447['originalIndex'];}var x=class extends _0x4497c5{['originalIndex'];['buttonView'];constructor(_0x49d644,_0x2b1a94){super(_0x49d644),this['originalIndex']=_0x2b1a94,this['buttonView']=null;}},b=class extends _0x2c427d{['templateDefinition'];['textPartView'];constructor(_0x48b720,_0x3faf68){super(_0x48b720),this['templateDefinition']=_0x3faf68,this['textPartView']=null;const {icon:_0x2fd7dc=_0xe3cb7a}=_0x3faf68;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x2fd7dc}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new k(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x1dafbe){const {title:_0x12842e,description:_0x361a5d}=this['templateDefinition'],_0x4e765e=!!_0x12842e['match'](_0x1dafbe),_0xf4dd29=!(!_0x361a5d||!_0x361a5d['match'](_0x1dafbe));return _0x4e765e||_0xf4dd29?{'title':_0x4e765e,'description':_0xf4dd29}:null;}['highlightText'](_0x364d87){this['textPartView']['highlightText'](_0x364d87);}},k=class extends _0x105415{constructor(_0x1e2632,_0x19695f,_0x26fb27){super(_0x1e2632),this['title']=_0x19695f['title'],this['description']=_0x19695f['description'],this['titleView']=new _0x43cf95(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x26fb27}});const _0xb20bbf=[this['titleView']];this['description']&&(this['descriptionView']=new _0x43cf95(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0xb20bbf['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0xb20bbf});}['highlightText'](_0x3721d4){this['titleView']['highlightText'](_0x3721d4),this['description']&&this['descriptionView']['highlightText'](_0x3721d4);}};function I(_0x85667a,_0x1ab913,..._0xbf443d){const t=_0x85667a['t'];switch(_0x1ab913){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0xbf443d);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',..._0xbf443d);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x1ab913;}}var T=class extends _0x1ac961{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x10993c}=this,_0x47eaf7=_0x10993c['config']['get']('template.definitions')||[];_0x10993c['ui']['componentFactory']['add']('insertTemplate',_0x93fb5=>{const _0x19b361=_0x369be9(_0x93fb5),_0x337ae4=new _0x438d5c(_0x93fb5,{'filteredView':this['_createTemplateListView'](_0x93fb5,_0x47eaf7),'queryView':{'label':I(_0x93fb5,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x25b757=>I(_0x93fb5,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x25b757),'secondary':I(_0x93fb5,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':I(_0x93fb5,'No\x20templates\x20available.')}}}}),_0x1cd848=_0x10993c['commands']['get']('insertTemplate');return _0x337ae4['on']('search',(_0x4e4fc2,_0x59c1ba)=>{_0x59c1ba['query']&&_0x59c1ba['query']['length']&&_0x10993c['ui']['ariaLiveAnnouncer']['announce'](I(_0x93fb5,'%0\x20templates\x20found',_0x59c1ba['resultsCount']));}),_0x19b361['bind']('isEnabled')['to'](_0x1cd848),_0x19b361['panelView']['children']['add'](_0x337ae4),_0x19b361['buttonView']['set']({'label':I(_0x93fb5,'Insert\x20template'),'icon':_0x3d5950,'tooltip':!0x0}),_0x19b361['on']('change:isOpen',(_0xe3bac2,_0x387e1d,_0x143959)=>{_0x143959||_0x337ae4['reset']();}),_0x19b361;}),_0x10993c['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x1d4c93=>{const _0x388338=_0x10993c['commands']['get']('insertTemplate'),_0x1154d7=new _0x317086(_0x1d4c93);_0x1154d7['buttonView']['set']({'label':I(_0x1d4c93,'Template'),'icon':_0x3d5950});const _0x3215a7=new _0x87e371(_0x1d4c93);if(!_0x47eaf7||!_0x47eaf7['length']){const _0x41d160=new _0xf2850d(_0x1d4c93,_0x1154d7),_0x5916a9=new _0x2c4f85(_0x1d4c93);_0x5916a9['set']({'label':I(_0x1d4c93,'No\x20templates\x20available.')}),_0x5916a9['delegate']('execute')['to'](_0x1154d7),_0x5916a9['on']('execute',()=>{_0x10993c['editing']['view']['focus']();}),_0x41d160['children']['add'](_0x5916a9),_0x3215a7['items']['add'](_0x41d160);}for(const _0x4710f4 of _0x47eaf7){const _0x270c04=new _0xf2850d(_0x1d4c93,_0x1154d7),_0x573888=new _0x2c4f85(_0x1d4c93);_0x573888['set']({'class':'ck-template-button','label':_0x4710f4['title'],'icon':_0x4710f4['icon']||_0xe3cb7a}),_0x573888['delegate']('execute')['to'](_0x1154d7),_0x573888['on']('execute',()=>{_0x10993c['execute']('insertTemplate',_0x4710f4['data']),_0x10993c['editing']['view']['focus']();}),_0x270c04['children']['add'](_0x573888),_0x3215a7['items']['add'](_0x270c04);}return _0x1154d7['panelView']['children']['add'](_0x3215a7),_0x1154d7['bind']('isEnabled')['to'](_0x388338,'isEnabled'),_0x1154d7;});}['afterInit'](){!async function(_0x4b27fa){const _0x36f9e1='5goNZRxHzmBfrl0Fq6Cks1ahDGS2LUEWiby3wKvu4IVPdeT8jn9MOQJtcAY7Xp',_0x3ce5ee=0x78de0,_0x291bb0=window['Date']['now'](),_0x3d0edd=_0x4b27fa['editor'],_0xe87386=new window['Promise'](_0x3d7994=>{_0x3d0edd['once']('ready',_0x3d7994);}),_0x4dfff8={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x40f5df=_0x3d0edd['config']['get']('licenseKey');async function _0x2da6f7(){let _0x9c7042,_0x3064eb=null,_0x88f0eb=null;try{return'GPL'==_0x40f5df?'NotAllowed':(_0x9c7042=_0x44a365(),_0x9c7042?(_0x9c7042['usageEndpoint']&&(_0x88f0eb=_0x46afa6(_0x9c7042['usageEndpoint'],_0x9c7042['jti'])),await _0x89e540()?_0x52bd06()?_0x4bd23a()?'Expired':_0x1c2307()?('evaluation'==_0x9c7042['licenseType']&&(_0x3064eb=_0x5dbc1a('EvaluationLimit')),await _0x4a833a()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4bd23a(){const _0x52ed6b=['evaluation','trial']['includes'](_0x9c7042['licenseType'])?_0x291bb0/0x3e8:0xe10*_0x3ce5ee;return _0x9c7042['exp']<_0x52ed6b;}function _0x52bd06(){const _0x3d6f41=_0x9c7042['features'];return!!_0x3d6f41&&(!!_0x3d6f41['includes']('*')||(!!_0x3d6f41['includes']('TPL')||(!!_0x3d6f41['includes']('PP')||(!(!_0x3d6f41['includes']('DRUP')||!_0x23f414())||!(!_0x3d6f41['includes']('TRILIUM')||!_0x38221b())))));}function _0x1c2307(){const _0x3929b8=_0x9c7042['licensedHosts'];if(!_0x3929b8||0x0==_0x3929b8['length'])return!0x0;const {hostname:_0x114f1f}=new URL(window['location']['href']);if(_0x3929b8['includes'](_0x114f1f))return!0x0;const _0x3c1fa4=_0x114f1f['split']('.');return _0x3929b8['filter'](_0x320485=>_0x320485['includes']('*'))['map'](_0x35cf50=>_0x35cf50['split']('.'))['filter'](_0x2e2c58=>_0x2e2c58['length']<=_0x3c1fa4['length'])['map'](_0x2e10d0=>Array(_0x3c1fa4['length']-_0x2e10d0['length'])['fill']('*'===_0x2e10d0[0x0]?'*':'')['concat'](_0x2e10d0))['some'](_0x54b12c=>_0x3c1fa4['every']((_0x5d7729,_0x373a29)=>_0x54b12c[_0x373a29]===_0x5d7729||'*'===_0x54b12c[_0x373a29]));}function _0x4a833a(){return _0x3064eb&&_0x88f0eb?new window['Promise']((_0x3b0bbb,_0xa6c502)=>{_0x3064eb['then'](_0x3b0bbb,_0xa6c502),_0x88f0eb['then'](_0x74f9af=>{'Valid'!=_0x74f9af&&_0x3b0bbb(_0x74f9af);},_0xa6c502);}):_0x3064eb||_0x88f0eb||'Valid';}}function _0x46afa6(_0x44f5db,_0x34fffc){return new window['Promise'](_0x21b59d=>{if(_0x3ccf8a())return _0x21b59d('Valid');_0x11aab9(),_0x3d0edd['decorate']('_sendUsageRequest');let _0x3b808b=!0x1;const _0x552fc2=_0x484e09();function _0x13942a(_0x20045e){return!!_0x20045e&&('object'==typeof _0x20045e||'function'==typeof _0x20045e)&&'function'==typeof _0x20045e['then']&&'function'==typeof _0x20045e['catch'];}function _0x36fc1(_0x3f7d39){_0x3897dc(_0x3f7d39)['then'](_0xe27d86=>_0xe27d86&&'ok'==_0xe27d86['status']?_0x3e61ec(_0x315cf0(_0x552fc2+_0x34fffc))!=_0xe27d86['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xf91c06=>(_0x162d85(),_0xf91c06),()=>{const _0x2dd48f=_0x1ac18a();return null==_0x2dd48f?(_0x162d85(),'Valid'):_0x291bb0-_0x2dd48f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x21b59d)['catch'](()=>{_0x21b59d('UsageLimit');});const _0x47f7b9=0x36ee80;function _0x162d85(){const _0x5ca74a='llct-'+_0x3e61ec(_0x315cf0(_0x44f5db)),_0x3a42a7=_0x57ac6b(_0x3e61ec(window['Math']['ceil'](_0x291bb0/_0x47f7b9)));window['localStorage']['setItem'](_0x5ca74a,_0x3a42a7);}function _0x1ac18a(){const _0x2a7259='llct-'+_0x3e61ec(_0x315cf0(_0x44f5db)),_0x218666=window['localStorage']['getItem'](_0x2a7259);return _0x218666?window['parseInt'](_0x57ac6b(_0x218666),0x10)*_0x47f7b9:null;}function _0x3897dc(_0x5c77d8){return new window['Promise']((_0x2bfef8,_0x6bfc18)=>{_0x5c77d8['then'](_0x2bfef8,_0x6bfc18),window['setTimeout'](_0x6bfc18,0x1d4c0);});}}_0x3d0edd['on']('_sendUsageRequest',(_0x555e61,_0x818106)=>{if(_0x818106[0x0]!=_0x44f5db)return _0x21b59d('UsageLimit');_0x818106[0x1]={..._0x818106[0x1],'requestId':_0x552fc2};},{'priority':'high'}),_0x3d0edd['on']('_sendUsageRequest',_0x4ef65b=>{_0x13942a(_0x4ef65b['return'])&&(_0x3b808b=!0x0,_0x36fc1(_0x4ef65b['return']));},{'priority':'low'}),_0xe87386['then'](()=>{_0x3b808b||_0x21b59d('UsageLimit');});});function _0x3ccf8a(){return'auto'==_0x3d0edd['editing']['view']['_overlayModeHint'];}function _0x11aab9(){_0x3d0edd['editing']['view']['_overlayModeHint']='auto';}}function _0x5dbc1a(_0x1f085d){const _0x57761f=[new window['Promise'](_0x9f232e=>setTimeout(_0x9f232e,0x93ecc)),_0xe87386['then'](()=>new window['Promise'](_0x43f98d=>{let _0x5aa196=0x0;_0x3d0edd['model']['on']('applyOperation',(_0x46629d,_0x26e542)=>{_0x26e542[0x0]['isDocumentOperation']&&_0x5aa196++,0x5e8==_0x5aa196&&(_0x43f98d(),_0x46629d['off']());});}))];return window['Promise']['race'](_0x57761f)['then'](()=>_0x1f085d);}async function _0x2046a3(){await _0xe87386,_0x3d0edd['model']['change']=_0x58dd8d,_0x3d0edd['model']['enqueueChange']=_0x58dd8d,_0x3d0edd['enableReadOnlyMode']('model');}function _0x23f414(){return window['Drupal'];}function _0x38221b(){return window['glob']&&window['glob']['triliumVersion'];}function _0x3d6fd9(_0x5189b6){const _0x7483aa=_0x4a09d6();_0x3d0edd[_0x7483aa]='templateLicenseKey'+_0x5189b6,'Valid'!=_0x5189b6&&_0x2046a3();}function _0x4a09d6(){const _0x3c9078=window['String'](window['performance']['now']())['replace']('.','');let _0x5e4a0c='g';for(let _0x3e27f7=0x0;_0x3e27f7<_0x3c9078['length'];_0x3e27f7+=0x2){let _0x1b364f=window['parseInt'](_0x3c9078['substring'](_0x3e27f7,_0x3e27f7+0x2));_0x1b364f>=0x3e&&(_0x1b364f-=0x3e),_0x5e4a0c+=_0x36f9e1[_0x1b364f];}return _0x5e4a0c;}function _0x44a365(){const _0x2e0f4d=_0x40f5df['split']('.');if(0x3!=_0x2e0f4d['length'])return null;return _0x122c66(_0x2e0f4d[0x1]);function _0x122c66(_0x36d0fb){const _0x1a5c44=_0x5dedca(_0x36d0fb);return _0x1a5c44&&_0x50eab8()?_0x1a5c44:null;function _0x50eab8(){const _0x241b2f=_0x1a5c44['jti'],_0x5d0aae=window['parseInt'](_0x241b2f['substring'](_0x241b2f['length']-0x8),0x10),_0x519e51={..._0x1a5c44,'jti':_0x241b2f['substring'](0x0,_0x241b2f['length']-0x8)};return delete _0x519e51['vc'],_0x315cf0(_0x519e51)==_0x5d0aae;}}}async function _0x89e540(){let _0x4b51fa=!0x0;try{const [_0x5a9b6d,_0x48e4f,_0x72ee53]=_0x40f5df['split']('.');return _0x4f65c9(_0x5a9b6d),await _0x15387c(_0x5a9b6d,_0x48e4f,_0x72ee53),_0x4b51fa;}catch{return!0x1;}function _0x4f65c9(_0x2ebfcf){const _0x227a97=_0x5dedca(_0x2ebfcf);_0x227a97&&'ES256'==_0x227a97['alg']||(_0x4b51fa=!0x1);}async function _0x15387c(_0x2547c4,_0x5d7957,_0x39218f){const _0x16fcd6=window['Uint8Array']['from'](_0xf57908(_0x39218f),_0x19d628=>_0x19d628['charCodeAt'](0x0)),_0x3dd5df=new window['TextEncoder']()['encode'](_0x2547c4+'.'+_0x5d7957),_0x4e7560=window['crypto']['subtle'];if(!_0x4e7560)return;const _0x5df673=await _0x4e7560['importKey']('jwk',_0x4dfff8,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4e7560['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5df673,_0x16fcd6,_0x3dd5df)||(_0x4b51fa=!0x1);}}function _0x5dedca(_0x442271){return _0x442271['startsWith']('ey')?JSON['parse'](_0xf57908(_0x442271)):null;}function _0xf57908(_0x203d26){return window['atob'](_0x203d26['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x315cf0(_0x38f02a){let _0x1b78b2=0x1505;function _0x135eb0(_0x127a1d){for(let _0x157d91=0x0;_0x157d91<_0x127a1d['length'];_0x157d91++){const _0x432a19=_0x127a1d['charCodeAt'](_0x157d91);_0x1b78b2=(_0x1b78b2<<0x5)+_0x1b78b2+_0x432a19,_0x1b78b2&=_0x1b78b2;}}function _0x27d2ee(_0x17ac93){Array['isArray'](_0x17ac93)?_0x17ac93['forEach'](_0x27d2ee):_0x17ac93&&'object'==typeof _0x17ac93?Object['entries'](_0x17ac93)['sort']()['forEach'](([_0x3e8265,_0x5e1716])=>{_0x135eb0(_0x3e8265),_0x27d2ee(_0x5e1716);}):_0x135eb0(window['String'](_0x17ac93));}return _0x27d2ee(_0x38f02a),_0x1b78b2>>>0x0;}function _0x3e61ec(_0x134201){return _0x134201['toString'](0x10)['padStart'](0x8,'0');}function _0x57ac6b(_0x2e7f62){return _0x2e7f62['split']('')['reverse']()['join']('');}function _0x58dd8d(){}_0x3d6fd9(await _0x2da6f7());}(this);}['_createTemplateListView'](_0x1ec2b8,_0x42996a){const {editor:_0x6a0697}=this,_0x50c693=new L(_0x1ec2b8);return _0x50c693['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x50c693['items']['addMany'](_0x42996a['map']((_0x254968,_0x193414)=>{const _0x1e6c2b=new x(_0x1ec2b8,_0x193414),_0x23ea7a=new b(_0x1ec2b8,_0x254968);return _0x1e6c2b['buttonView']=_0x23ea7a,_0x1e6c2b['children']['add'](_0x23ea7a),_0x1e6c2b['buttonView']['on']('execute',_0x2ef1be=>{_0x6a0697['execute']('insertTemplate',_0x2ef1be['source']['templateDefinition']['data']),_0x6a0697['editing']['view']['focus']();}),_0x1e6c2b;})),_0x50c693;}},K=class extends _0x1ac961{static get['requires'](){return[y,T];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{K as Template,g as TemplateCommand,y as TemplateEditing,T as TemplateUI};
@@ -1,5 +1 @@
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
  export {};
@@ -1,123 +1,123 @@
1
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
- */
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
5
  /**
6
- * @module template/template
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { TemplateEditing } from './templateediting.js';
11
- import { TemplateUI } from './templateui.js';
6
+ * @module template/template
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { TemplateEditing } from "./templateediting.js";
11
+ import { TemplateUI } from "./templateui.js";
12
12
  /**
13
- * The template feature.
14
- *
15
- * For a detailed overview, check the {@glink features/template Content templates} feature guide.
16
- */
13
+ * The template feature.
14
+ *
15
+ * For a detailed overview, check the {@glink features/template Content templates} feature guide.
16
+ */
17
17
  export declare class Template extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get requires(): readonly [typeof TemplateEditing, typeof TemplateUI];
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "Template";
26
- /**
27
- * @inheritDoc
28
- */
29
- static get isOfficialPlugin(): true;
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isPremiumPlugin(): true;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get requires(): PluginDependenciesOf<[TemplateEditing, TemplateUI]>;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "Template";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static override get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static override get isPremiumPlugin(): true;
34
34
  }
35
35
  /**
36
- * The configuration of the template feature.
37
- *
38
- * ```ts
39
- * ClassicEditor
40
- * .create( {
41
- * template: ... // Template feature configuration.
42
- * } )
43
- * .then( ... )
44
- * .catch( ... );
45
- *```
46
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
47
- */
36
+ * The configuration of the template feature.
37
+ *
38
+ * ```ts
39
+ * ClassicEditor
40
+ * .create( {
41
+ * template: ... // Template feature configuration.
42
+ * } )
43
+ * .then( ... )
44
+ * .catch( ... );
45
+ *```
46
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
47
+ */
48
48
  export interface TemplateConfig {
49
- /**
50
- * A list of all template definitions to be displayed in the `'insertTemplate'` UI dropdown.
51
- *
52
- * An example configuration:
53
- *
54
- * ```json
55
- * {
56
- * template: {
57
- * definitions: [
58
- * {
59
- * title: 'Issue acknowledgement (plain text)',
60
- * data: 'Dear customer, thank you for your report! The issue is currently being worked on by our development team.'
61
- * },
62
- * {
63
- * title: 'Signature (multi-line)',
64
- * data: '<p><b>Jane Doe</b></p><p>Marketing Specialist at <a href="https://example.com>Example.com</a></p>',
65
- * description: 'Author signature with the link to the website.'
66
- * },
67
- * {
68
- * title: 'Example table',
69
- * data: '<table><tr><td>Cell #1</td><td></td></tr><tr><td></td><td>Cell #2</td></tr></table>',
70
- * icon: '<svg viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg">...</svg>',
71
- * description: 'This template inserts a table.'
72
- * },
73
- * {
74
- * title: 'Insert userAgent data',
75
- * data: navigator.userAgent
76
- * },
77
- * {
78
- * title: 'Insert translate to English link (function)',
79
- * data: () => '<a href="' + location.href + '/en" title="Translate to English">Translate to English</a>'
80
- * },
81
- * // ...
82
- * ]
83
- * }
84
- * }
85
- * ```
86
- */
87
- definitions?: Array<TemplateDefinition>;
49
+ /**
50
+ * A list of all template definitions to be displayed in the `'insertTemplate'` UI dropdown.
51
+ *
52
+ * An example configuration:
53
+ *
54
+ * ```json
55
+ * {
56
+ * template: {
57
+ * definitions: [
58
+ * {
59
+ * title: 'Issue acknowledgement (plain text)',
60
+ * data: 'Dear customer, thank you for your report! The issue is currently being worked on by our development team.'
61
+ * },
62
+ * {
63
+ * title: 'Signature (multi-line)',
64
+ * data: '<p><b>Jane Doe</b></p><p>Marketing Specialist at <a href="https://example.com>Example.com</a></p>',
65
+ * description: 'Author signature with the link to the website.'
66
+ * },
67
+ * {
68
+ * title: 'Example table',
69
+ * data: '<table><tr><td>Cell #1</td><td></td></tr><tr><td></td><td>Cell #2</td></tr></table>',
70
+ * icon: '<svg viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg">...</svg>',
71
+ * description: 'This template inserts a table.'
72
+ * },
73
+ * {
74
+ * title: 'Insert userAgent data',
75
+ * data: navigator.userAgent
76
+ * },
77
+ * {
78
+ * title: 'Insert translate to English link (function)',
79
+ * data: () => '<a href="' + location.href + '/en" title="Translate to English">Translate to English</a>'
80
+ * },
81
+ * // ...
82
+ * ]
83
+ * }
84
+ * }
85
+ * ```
86
+ */
87
+ definitions?: Array<TemplateDefinition>;
88
88
  }
89
89
  /**
90
- * An object describing a single template definition.
91
- *
92
- * ```json
93
- * {
94
- * // Mandatory fields:
95
- * title: 'Example template',
96
- * data: '<table><tr><td>Cell #1</td><td></td></tr><tr><td></td><td>Cell #2</td></tr></table>',
97
- *
98
- * // Optional configuration:
99
- * icon: '<svg viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg">...</svg>',
100
- * description: 'This template inserts a table.'
101
- * }
102
- * ```
103
- */
90
+ * An object describing a single template definition.
91
+ *
92
+ * ```json
93
+ * {
94
+ * // Mandatory fields:
95
+ * title: 'Example template',
96
+ * data: '<table><tr><td>Cell #1</td><td></td></tr><tr><td></td><td>Cell #2</td></tr></table>',
97
+ *
98
+ * // Optional configuration:
99
+ * icon: '<svg viewBox="0 0 45 45" xmlns="http://www.w3.org/2000/svg">...</svg>',
100
+ * description: 'This template inserts a table.'
101
+ * }
102
+ * ```
103
+ */
104
104
  export type TemplateDefinition = {
105
- /**
106
- * The title of the template.
107
- */
108
- title: string;
109
- /**
110
- * An HTML string to be inserted into the document or a callback function that returns an HTML string
111
- * to be inserted into the document when the template is selected.
112
- */
113
- data: (() => string) | string;
114
- /**
115
- * An optional SVG string representing the icon of the template. The default size of the icon is 45x45 pixels.
116
- * Be sure to set the correct `viewBox` attribute in the icon source. If not provided, a generic icon will be used instead.
117
- */
118
- icon?: string;
119
- /**
120
- * An optional long description of the template presented to the users.
121
- */
122
- description?: string;
105
+ /**
106
+ * The title of the template.
107
+ */
108
+ title: string;
109
+ /**
110
+ * An HTML string to be inserted into the document or a callback function that returns an HTML string
111
+ * to be inserted into the document when the template is selected.
112
+ */
113
+ data: (() => string) | string;
114
+ /**
115
+ * An optional SVG string representing the icon of the template. The default size of the icon is 45x45 pixels.
116
+ * Be sure to set the correct `viewBox` attribute in the icon source. If not provided, a generic icon will be used instead.
117
+ */
118
+ icon?: string;
119
+ /**
120
+ * An optional long description of the template presented to the users.
121
+ */
122
+ description?: string;
123
123
  };
@@ -1,23 +1,23 @@
1
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
- */
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
5
  /**
6
- * @module template/templatecommand
7
- * @publicApi
8
- */
9
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module template/templatecommand
7
+ * @publicApi
8
+ */
9
+ import { Command } from "@ckeditor/ckeditor5-core";
10
10
  /**
11
- * The template command.
12
- *
13
- * Inserts a template into the editor content.
14
- */
11
+ * The template command.
12
+ *
13
+ * Inserts a template into the editor content.
14
+ */
15
15
  export declare class TemplateCommand extends Command {
16
- /**
17
- * Inserts the template data at the position of the selection.
18
- *
19
- * @fires execute
20
- * @param templateData Template data should be a raw HTML string or a function that returns one.
21
- */
22
- execute(templateData: string | Function): void;
16
+ /**
17
+ * Inserts the template data at the position of the selection.
18
+ *
19
+ * @fires execute
20
+ * @param templateData Template data should be a raw HTML string or a function that returns one.
21
+ */
22
+ override execute(templateData: string | Function): void;
23
23
  }
@@ -1,30 +1,30 @@
1
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
- */
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
5
  /**
6
- * @module template/templateediting
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
6
+ * @module template/templateediting
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
9
  /**
10
- * The template editing plugin.
11
- */
10
+ * The template editing plugin.
11
+ */
12
12
  export declare class TemplateEditing extends Plugin {
13
- /**
14
- * @inheritDoc
15
- */
16
- static get pluginName(): "TemplateEditing";
17
- /**
18
- * @inheritDoc
19
- */
20
- static get isOfficialPlugin(): true;
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isPremiumPlugin(): true;
25
- init(): void;
26
- /**
27
- * @inheritDoc
28
- */
29
- destroy(): void;
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ static get pluginName(): "TemplateEditing";
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static override get isOfficialPlugin(): true;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static override get isPremiumPlugin(): true;
25
+ init(): void;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ override destroy(): void;
30
30
  }
@@ -1,37 +1,37 @@
1
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
- */
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
5
  /**
6
- * @module template/templateui
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import '../theme/template.css';
6
+ * @module template/templateui
7
+ */
8
+ import { Plugin } from "@ckeditor/ckeditor5-core";
9
+ import "../theme/template.css";
10
10
  /**
11
- * The UI plugin of the template feature.
12
- *
13
- * It registers the `'insertTemplate'` UI dropdown in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
14
- * that displays a list of templates and allows to insert them into the editor content.
15
- */
11
+ * The UI plugin of the template feature.
12
+ *
13
+ * It registers the `'insertTemplate'` UI dropdown in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
14
+ * that displays a list of templates and allows to insert them into the editor content.
15
+ */
16
16
  export declare class TemplateUI extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "TemplateUI";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isOfficialPlugin(): true;
25
- /**
26
- * @inheritDoc
27
- */
28
- static get isPremiumPlugin(): true;
29
- /**
30
- * @inheritDoc
31
- */
32
- init(): void;
33
- /**
34
- * @inheritDoc
35
- */
36
- afterInit(): void;
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "TemplateUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static override get isOfficialPlugin(): true;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static override get isPremiumPlugin(): true;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ init(): void;
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ afterInit(): void;
37
37
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x434eba=>0x1!=_0x434eba}};
23
+ export default{'af':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x21473a=>0x1!=_0x21473a}};