@ckeditor/ckeditor5-export-pdf 44.0.0-alpha.6 → 44.0.0-alpha.8

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 (155) hide show
  1. package/LICENSE.md +6 -6
  2. package/README.md +7 -8
  3. package/build/export-pdf.js +1 -1
  4. package/dist/index.js +1 -1
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +4 -4
  150. package/src/exportpdf.js +1 -1
  151. package/src/exportpdfcommand.js +1 -1
  152. package/src/exportpdfui.js +1 -1
  153. package/src/index.js +1 -1
  154. package/src/utils/common-translations.js +1 -1
  155. package/src/utils.js +1 -1
package/src/exportpdf.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x138061=_0x2e96;(function(_0x5ad79a,_0x2ebaa6){const _0xf30d47=_0x2e96,_0x22a235=_0x5ad79a();while(!![]){try{const _0x2fe41f=parseInt(_0xf30d47(0xde))/0x1+parseInt(_0xf30d47(0xef))/0x2+-parseInt(_0xf30d47(0xf0))/0x3*(-parseInt(_0xf30d47(0xe7))/0x4)+-parseInt(_0xf30d47(0xf3))/0x5*(-parseInt(_0xf30d47(0xe9))/0x6)+parseInt(_0xf30d47(0xdb))/0x7+parseInt(_0xf30d47(0xe2))/0x8*(-parseInt(_0xf30d47(0xe5))/0x9)+-parseInt(_0xf30d47(0xda))/0xa*(parseInt(_0xf30d47(0xe0))/0xb);if(_0x2fe41f===_0x2ebaa6)break;else _0x22a235['push'](_0x22a235['shift']());}catch(_0x3259da){_0x22a235['push'](_0x22a235['shift']());}}}(_0x5b32,0xefe4a));function _0x5b32(){const _0xbdd74e=['isPremiumPlugin','26824fplVpk','pluginName','CloudServices','135XjHyXp','editor','1528qPZIzB','init','18bMcxdW','add','isOfficialPlugin','registerTokenUrl','then','requires','611176bEAkqb','5394swLwna','commands','get','202635PBiEzw','token','_token','ExportPdf','exportPdf','790csVHki','525294lDDlXK','plugins','tokenUrl','965413IbXcWu','config','156167KAAAEH'];_0x5b32=function(){return _0xbdd74e;};return _0x5b32();}import{Plugin as _0x192baf}from'ckeditor5/src/core.js';import{Notification as _0x34273f}from'ckeditor5/src/ui.js';function _0x2e96(_0x16cd44,_0x37d815){const _0x5b32da=_0x5b32();return _0x2e96=function(_0x2e96cb,_0x7369f8){_0x2e96cb=_0x2e96cb-0xd6;let _0x2bdf43=_0x5b32da[_0x2e96cb];return _0x2bdf43;},_0x2e96(_0x16cd44,_0x37d815);}import _0x3cff1d from'./exportpdfcommand.js';import _0x2729dc from'./exportpdfui.js';export default class o extends _0x192baf{static get[_0x138061(0xe3)](){const _0x202115=_0x138061;return _0x202115(0xd8);}static get[_0x138061(0xeb)](){return!0x0;}static get[_0x138061(0xe1)](){return!0x0;}static get[_0x138061(0xee)](){const _0x3844ca=_0x138061;return[_0x3844ca(0xe4),_0x34273f,_0x2729dc];}[_0x138061(0xe8)](){const _0x538a97=_0x138061,_0x319f94=this[_0x538a97(0xe6)],_0x2c2368=_0x319f94[_0x538a97(0xdf)][_0x538a97(0xf2)](_0x538a97(0xd9))||{};_0x319f94[_0x538a97(0xf1)][_0x538a97(0xea)](_0x538a97(0xd9),new _0x3cff1d(_0x319f94));const _0x2dea0a=_0x319f94[_0x538a97(0xdc)][_0x538a97(0xf2)](_0x538a97(0xe4));!0x1===_0x2c2368[_0x538a97(0xdd)]?this[_0x538a97(0xd7)]=null:_0x2c2368[_0x538a97(0xdd)]?_0x2dea0a[_0x538a97(0xec)](_0x2c2368[_0x538a97(0xdd)])[_0x538a97(0xed)](_0x1ba951=>{const _0xfffdd9=_0x538a97;this[_0xfffdd9(0xd7)]=_0x1ba951;}):this[_0x538a97(0xd7)]=_0x2dea0a[_0x538a97(0xd6)];}}
23
+ const _0x321a89=_0x4919;(function(_0x2cfe1a,_0x54cf37){const _0x4fd4d4=_0x4919,_0x428d9d=_0x2cfe1a();while(!![]){try{const _0xc33293=-parseInt(_0x4fd4d4(0x162))/0x1*(-parseInt(_0x4fd4d4(0x173))/0x2)+parseInt(_0x4fd4d4(0x172))/0x3*(parseInt(_0x4fd4d4(0x16e))/0x4)+parseInt(_0x4fd4d4(0x166))/0x5*(parseInt(_0x4fd4d4(0x171))/0x6)+-parseInt(_0x4fd4d4(0x15f))/0x7*(parseInt(_0x4fd4d4(0x16d))/0x8)+parseInt(_0x4fd4d4(0x154))/0x9*(-parseInt(_0x4fd4d4(0x169))/0xa)+-parseInt(_0x4fd4d4(0x15e))/0xb*(-parseInt(_0x4fd4d4(0x155))/0xc)+-parseInt(_0x4fd4d4(0x15b))/0xd;if(_0xc33293===_0x54cf37)break;else _0x428d9d['push'](_0x428d9d['shift']());}catch(_0x5651ac){_0x428d9d['push'](_0x428d9d['shift']());}}}(_0x5df1,0x9e939));import{Plugin as _0x55e2a2}from'ckeditor5/src/core.js';function _0x5df1(){const _0x5e393a=['4UWVCzO','_token','config','24bSAbbr','3769059RLbLLS','316990EoTXIp','504kUEGgs','533436xspvzQ','ExportPdf','plugins','add','isOfficialPlugin','exportPdf','10018333XhjsJE','then','pluginName','253FjuGcN','21hTSGlL','token','init','1sGmdqR','tokenUrl','get','CloudServices','71405cfAoRO','registerTokenUrl','commands','162550yeooTG','isPremiumPlugin','requires','editor','437176txZwFU'];_0x5df1=function(){return _0x5e393a;};return _0x5df1();}import{Notification as _0x3142a3}from'ckeditor5/src/ui.js';import _0xd3e52e from'./exportpdfcommand.js';import _0x181ae2 from'./exportpdfui.js';function _0x4919(_0x6d45e4,_0x2d9a33){const _0x5df1cc=_0x5df1();return _0x4919=function(_0x49198f,_0x3acdb0){_0x49198f=_0x49198f-0x154;let _0x543fdb=_0x5df1cc[_0x49198f];return _0x543fdb;},_0x4919(_0x6d45e4,_0x2d9a33);}export default class o extends _0x55e2a2{static get[_0x321a89(0x15d)](){const _0x44cbfd=_0x321a89;return _0x44cbfd(0x156);}static get[_0x321a89(0x159)](){return!0x0;}static get[_0x321a89(0x16a)](){return!0x0;}static get[_0x321a89(0x16b)](){const _0x13a250=_0x321a89;return[_0x13a250(0x165),_0x3142a3,_0x181ae2];}[_0x321a89(0x161)](){const _0xf4614e=_0x321a89,_0x352f37=this[_0xf4614e(0x16c)],_0x1059a2=_0x352f37[_0xf4614e(0x170)][_0xf4614e(0x164)](_0xf4614e(0x15a))||{};_0x352f37[_0xf4614e(0x168)][_0xf4614e(0x158)](_0xf4614e(0x15a),new _0xd3e52e(_0x352f37));const _0x1e37a9=_0x352f37[_0xf4614e(0x157)][_0xf4614e(0x164)](_0xf4614e(0x165));!0x1===_0x1059a2[_0xf4614e(0x163)]?this[_0xf4614e(0x16f)]=null:_0x1059a2[_0xf4614e(0x163)]?_0x1e37a9[_0xf4614e(0x167)](_0x1059a2[_0xf4614e(0x163)])[_0xf4614e(0x15c)](_0x59232b=>{const _0x322697=_0xf4614e;this[_0x322697(0x16f)]=_0x59232b;}):this[_0xf4614e(0x16f)]=_0x1e37a9[_0xf4614e(0x160)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3213(){const _0x12331e=['affectsData','isBusy','MergeFields','converterUrl','stringify','assertive','236ohhEmc','value','9YEuHwU','remove','MergeFieldsEditing','merge_fields','document.pdf','$defaultValues','_downloadFile','set','<html>\x0a\x09\x09\x09\x09\x09\x09<head>\x0a\x09\x09\x09\x09\x09\x09\x09<title>CKEditor\x205\x20PDF\x20document</title>\x0a\x09\x09\x09\x09\x09\x09\x09<meta\x20charset=\x22utf-8\x22>\x0a\x09\x09\x09\x09\x09\x09</head>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09\x09\x09<div\x20class=\x22ck-content\x22\x20dir=\x22','fileName','click','145158UNpJUP','application/json','converterOptions','mergeFields','PDF\x20export\x20failed','href','400nRzxPN','finally','Notification','getLabel','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','config','status','POST','announce','787533gqSPfh','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','plugins','download','appID','showWarning','https://pdf-converter.cke-cs.com/v1/convert/','refresh','previewMode','then','isEnabled','getDefaultValues','fetch','get','3066833HiJgmP','stylesheets','catch','10McJGDn','token','_token','execute','getDataSetValues','getMergeFieldsIds','ariaLiveAnnouncer','3874230FeEgud','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','data','URL','pending','editor','has','application/pdf','910DWAjIo','entries','dataCallback','7798bnfLuy','function','locale','contentLanguageDirection','blob','EDITOR_STYLES','createObjectURL','$labels','383164NJybaj','ExportPdf','PDF\x20export\x20started','PDF\x20export\x20successful','createElement','cke5'];_0x3213=function(){return _0x12331e;};return _0x3213();}const _0x4ee402=_0x6beb;(function(_0x13196a,_0x35de9c){const _0x22b6c2=_0x6beb,_0x3676bb=_0x13196a();while(!![]){try{const _0x18b384=parseInt(_0x22b6c2(0x11c))/0x1*(parseInt(_0x22b6c2(0xe0))/0x2)+parseInt(_0x22b6c2(0xfc))/0x3+parseInt(_0x22b6c2(0xd4))/0x4*(-parseInt(_0x22b6c2(0x10d))/0x5)+-parseInt(_0x22b6c2(0xed))/0x6+-parseInt(_0x22b6c2(0xcc))/0x7*(parseInt(_0x22b6c2(0xf3))/0x8)+parseInt(_0x22b6c2(0xe2))/0x9*(parseInt(_0x22b6c2(0x114))/0xa)+-parseInt(_0x22b6c2(0x10a))/0xb;if(_0x18b384===_0x35de9c)break;else _0x3676bb['push'](_0x3676bb['shift']());}catch(_0x2922f6){_0x3676bb['push'](_0x3676bb['shift']());}}}(_0x3213,0x328bc));import{Command as _0x10ce1e}from'ckeditor5/src/core.js';import{getStyles as _0x215855}from'./utils.js';function _0x6beb(_0x3b4345,_0xc51801){const _0x321325=_0x3213();return _0x6beb=function(_0x6beb71,_0x10505b){_0x6beb71=_0x6beb71-0xcc;let _0x7b0ebb=_0x321325[_0x6beb71];return _0x7b0ebb;},_0x6beb(_0x3b4345,_0xc51801);}import{getTranslation as _0x10d627}from'./utils/common-translations.js';export default class e extends _0x10ce1e{constructor(_0x40ad81){const _0x5b4ae4=_0x6beb;super(_0x40ad81),this[_0x5b4ae4(0xe9)](_0x5b4ae4(0xdb),!0x1),this[_0x5b4ae4(0xda)]=!0x1;}[_0x4ee402(0x103)](){const _0x226c8b=_0x4ee402;this[_0x226c8b(0x106)]=!this[_0x226c8b(0xdb)],this[_0x226c8b(0xe1)]=this[_0x226c8b(0xdb)]?_0x226c8b(0x118):void 0x0;}[_0x4ee402(0x110)](_0x4f666f={}){const _0x485803=_0x4ee402,_0x2e1272=this[_0x485803(0x119)],_0x4b3395=_0x4f666f[_0x485803(0xdd)]||_0x485803(0x102),_0x4fca45=_0x4f666f[_0x485803(0x11e)]||(_0xba133e=>_0xba133e[_0x485803(0x116)][_0x485803(0x109)]()),_0x5958c2=_0x2e1272[_0x485803(0xfe)][_0x485803(0x109)](_0x485803(0xd5)),_0x5cf232=_0x4f666f[_0x485803(0x10e)]||_0x5958c2[_0x485803(0x10f)];return this[_0x485803(0xdb)]=!0x0,this[_0x485803(0x103)](),_0x215855(_0x4f666f[_0x485803(0x10b)]||[_0x485803(0xd1)])[_0x485803(0x105)](async _0x53fb43=>{const _0x59bcf3=_0x485803;if(_0x2e1272['ui'][_0x59bcf3(0x113)][_0x59bcf3(0xfb)](_0x10d627(_0x2e1272[_0x59bcf3(0xce)],_0x59bcf3(0xd6))),_0x2e1272[_0x59bcf3(0xfe)][_0x59bcf3(0x11a)](_0x59bcf3(0xdc))){_0x4f666f[_0x59bcf3(0xef)]||(_0x4f666f[_0x59bcf3(0xef)]={});const _0x376a31=_0x2e1272[_0x59bcf3(0xfe)][_0x59bcf3(0x109)](_0x59bcf3(0xe4)),_0x25938e=_0x376a31[_0x59bcf3(0x104)],{prefix:_0x356ea4,suffix:_0x2b57bb}=_0x2e1272[_0x59bcf3(0xf8)][_0x59bcf3(0x109)](_0x59bcf3(0xf0)),_0x16cba8={'prefix':_0x356ea4,'suffix':_0x2b57bb,'data':{}};if(_0x59bcf3(0xd3)===_0x25938e){for(const _0x218055 of _0x376a31[_0x59bcf3(0x112)]())_0x16cba8[_0x59bcf3(0x116)][_0x218055]=_0x356ea4+_0x376a31[_0x59bcf3(0xf6)](_0x218055)+_0x2b57bb;}else{const _0x5ceb67=_0x59bcf3(0xe7)===_0x25938e?_0x376a31[_0x59bcf3(0x107)]():_0x376a31[_0x59bcf3(0x111)](_0x25938e,!0x0);for(const _0x440bf2 of Object[_0x59bcf3(0x11d)](_0x5ceb67)){const [_0x4d45c8,_0xb3aa3]=_0x440bf2;_0x16cba8[_0x59bcf3(0x116)][_0x4d45c8]=null!==_0xb3aa3?_0xb3aa3:_0x376a31[_0x59bcf3(0xf6)](_0x4d45c8);}}_0x4f666f[_0x59bcf3(0xef)][_0x59bcf3(0xe5)]=_0x16cba8;}const _0x3cbf29={'html':_0x59bcf3(0xea)+_0x2e1272[_0x59bcf3(0xce)][_0x59bcf3(0xcf)]+_0x59bcf3(0x115)+await _0x4fca45(_0x2e1272)+_0x59bcf3(0xf7),'css':_0x53fb43,'options':_0x4f666f[_0x59bcf3(0xef)]},_0x5aa0cc={'method':_0x59bcf3(0xfa),'headers':{'Content-Type':_0x59bcf3(0xee),'Accept':_0x59bcf3(0x11b),..._0x5cf232?{'Authorization':_0x5cf232[_0x59bcf3(0xe1)]}:null,'x-cs-app-id':_0x4f666f[_0x59bcf3(0x100)]||_0x59bcf3(0xd9)},'body':JSON[_0x59bcf3(0xde)](_0x3cbf29)};return window[_0x59bcf3(0x108)](_0x4b3395,_0x5aa0cc)[_0x59bcf3(0x105)](_0x857ee0=>{const _0x12943e=_0x59bcf3;if(0xc8!==_0x857ee0[_0x12943e(0xf9)])throw _0x857ee0;return _0x857ee0[_0x12943e(0xd0)]();})[_0x59bcf3(0x105)](_0x36bd62=>{const _0x15878b=_0x59bcf3;_0x2e1272['ui'][_0x15878b(0x113)][_0x15878b(0xfb)](_0x10d627(_0x2e1272[_0x15878b(0xce)],_0x15878b(0xd7)));const _0xe5b294=_0x15878b(0xcd)==typeof _0x4f666f[_0x15878b(0xeb)]?_0x4f666f[_0x15878b(0xeb)]():_0x4f666f[_0x15878b(0xeb)];this[_0x15878b(0xe8)](_0x36bd62,_0xe5b294||_0x15878b(0xe6));});})[_0x485803(0x10c)](_0x576ae6=>{const _0x4ddb8e=_0x485803,_0x5ad189=_0x2e1272[_0x4ddb8e(0xfe)][_0x4ddb8e(0x109)](_0x4ddb8e(0xf5));throw _0x2e1272['ui'][_0x4ddb8e(0x113)][_0x4ddb8e(0xfb)](_0x10d627(_0x2e1272[_0x4ddb8e(0xce)],_0x4ddb8e(0xf1)),{'politeness':_0x4ddb8e(0xdf)}),_0x5ad189[_0x4ddb8e(0x101)](_0x10d627(_0x2e1272[_0x4ddb8e(0xce)],_0x4ddb8e(0xfd))),_0x576ae6;})[_0x485803(0xf4)](()=>{const _0x1d7e64=_0x485803;this[_0x1d7e64(0xdb)]=!0x1,this[_0x1d7e64(0x103)]();});}[_0x4ee402(0xe8)](_0x56880b,_0x246922){const _0x22ced5=_0x4ee402,_0x3c9aec=document[_0x22ced5(0xd8)]('a');_0x3c9aec[_0x22ced5(0xf2)]=window[_0x22ced5(0x117)][_0x22ced5(0xd2)](_0x56880b),_0x3c9aec[_0x22ced5(0xff)]=_0x246922,_0x3c9aec[_0x22ced5(0xec)](),_0x3c9aec[_0x22ced5(0xe3)]();}}
23
+ function _0xd390(_0x38bf41,_0x299607){const _0x24c738=_0x24c7();return _0xd390=function(_0xd39022,_0x324dd6){_0xd39022=_0xd39022-0x1db;let _0x452461=_0x24c738[_0xd39022];return _0x452461;},_0xd390(_0x38bf41,_0x299607);}const _0x3079a1=_0xd390;(function(_0x24bde0,_0x140542){const _0x54bce3=_0xd390,_0x15863c=_0x24bde0();while(!![]){try{const _0x137115=-parseInt(_0x54bce3(0x228))/0x1*(parseInt(_0x54bce3(0x1f5))/0x2)+parseInt(_0x54bce3(0x1f6))/0x3*(-parseInt(_0x54bce3(0x1eb))/0x4)+-parseInt(_0x54bce3(0x1fb))/0x5+parseInt(_0x54bce3(0x1df))/0x6*(-parseInt(_0x54bce3(0x216))/0x7)+parseInt(_0x54bce3(0x229))/0x8*(parseInt(_0x54bce3(0x1f4))/0x9)+-parseInt(_0x54bce3(0x222))/0xa+parseInt(_0x54bce3(0x1fa))/0xb*(parseInt(_0x54bce3(0x1dc))/0xc);if(_0x137115===_0x140542)break;else _0x15863c['push'](_0x15863c['shift']());}catch(_0x5fd1c7){_0x15863c['push'](_0x15863c['shift']());}}}(_0x24c7,0x60b71));import{Command as _0x44afa4}from'ckeditor5/src/core.js';import{getStyles as _0x2a0973}from'./utils.js';function _0x24c7(){const _0x5705fc=['isEnabled','_downloadFile','206076fllGhs','mergeFields','status','519492SCBOtr','_token','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','application/json','PDF\x20export\x20started','Notification','entries','get','contentLanguageDirection','EDITOR_STYLES','announce','stringify','16PsrhVr','finally','getDefaultValues','POST','converterUrl','data','createObjectURL','locale','URL','27HYAPCs','440656FjHWnQ','426225lXdOjz','getLabel','document.pdf','click','1298EdByuZ','180065BsoOKj','appID','affectsData','dataCallback','value','token','MergeFields','cke5','<html>\x0a\x09\x09\x09\x09\x09\x09<head>\x0a\x09\x09\x09\x09\x09\x09\x09<title>CKEditor\x205\x20PDF\x20document</title>\x0a\x09\x09\x09\x09\x09\x09\x09<meta\x20charset=\x22utf-8\x22>\x0a\x09\x09\x09\x09\x09\x09</head>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09\x09\x09<div\x20class=\x22ck-content\x22\x20dir=\x22','PDF\x20export\x20successful','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','config','$defaultValues','editor','execute','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','MergeFieldsEditing','getDataSetValues','blob','createElement','PDF\x20export\x20failed','isBusy','merge_fields','href','showWarning','previewMode','ariaLiveAnnouncer','63KKRBle','plugins','application/pdf','stylesheets','fileName','download','catch','remove','assertive','pending','has','ExportPdf','7852760lnQOIQ','getMergeFieldsIds','function','set','converterOptions','https://pdf-converter.cke-cs.com/v1/convert/','1QTlySU','2023696QtJrEV','fetch','$labels','then','refresh'];_0x24c7=function(){return _0x5705fc;};return _0x24c7();}import{getTranslation as _0x5b43cb}from'./utils/common-translations.js';export default class e extends _0x44afa4{constructor(_0x5b42d0){const _0x15f4a2=_0xd390;super(_0x5b42d0),this[_0x15f4a2(0x225)](_0x15f4a2(0x210),!0x1),this[_0x15f4a2(0x1fd)]=!0x1;}[_0x3079a1(0x22d)](){const _0x2aa624=_0x3079a1;this[_0x2aa624(0x22e)]=!this[_0x2aa624(0x210)],this[_0x2aa624(0x1ff)]=this[_0x2aa624(0x210)]?_0x2aa624(0x21f):void 0x0;}[_0x3079a1(0x209)](_0x41324e={}){const _0xec98d4=_0x3079a1,_0x3bc3e7=this[_0xec98d4(0x208)],_0x5d8b9f=_0x41324e[_0xec98d4(0x1ef)]||_0xec98d4(0x227),_0xa9eee0=_0x41324e[_0xec98d4(0x1fe)]||(_0x365736=>_0x365736[_0xec98d4(0x1f0)][_0xec98d4(0x1e6)]()),_0x4d2bf3=_0x3bc3e7[_0xec98d4(0x217)][_0xec98d4(0x1e6)](_0xec98d4(0x221)),_0x1cfcae=_0x41324e[_0xec98d4(0x200)]||_0x4d2bf3[_0xec98d4(0x1e0)];return this[_0xec98d4(0x210)]=!0x0,this[_0xec98d4(0x22d)](),_0x2a0973(_0x41324e[_0xec98d4(0x219)]||[_0xec98d4(0x1e8)])[_0xec98d4(0x22c)](async _0x3e5481=>{const _0x365b55=_0xec98d4;if(_0x3bc3e7['ui'][_0x365b55(0x215)][_0x365b55(0x1e9)](_0x5b43cb(_0x3bc3e7[_0x365b55(0x1f2)],_0x365b55(0x1e3))),_0x3bc3e7[_0x365b55(0x217)][_0x365b55(0x220)](_0x365b55(0x201))){_0x41324e[_0x365b55(0x226)]||(_0x41324e[_0x365b55(0x226)]={});const _0x2927fb=_0x3bc3e7[_0x365b55(0x217)][_0x365b55(0x1e6)](_0x365b55(0x20b)),_0x55604f=_0x2927fb[_0x365b55(0x214)],{prefix:_0xea6529,suffix:_0x42230f}=_0x3bc3e7[_0x365b55(0x206)][_0x365b55(0x1e6)](_0x365b55(0x1dd)),_0xed0266={'prefix':_0xea6529,'suffix':_0x42230f,'data':{}};if(_0x365b55(0x22b)===_0x55604f){for(const _0x270c04 of _0x2927fb[_0x365b55(0x223)]())_0xed0266[_0x365b55(0x1f0)][_0x270c04]=_0xea6529+_0x2927fb[_0x365b55(0x1f7)](_0x270c04)+_0x42230f;}else{const _0x555925=_0x365b55(0x207)===_0x55604f?_0x2927fb[_0x365b55(0x1ed)]():_0x2927fb[_0x365b55(0x20c)](_0x55604f,!0x0);for(const _0x357a76 of Object[_0x365b55(0x1e5)](_0x555925)){const [_0x5ed179,_0x260144]=_0x357a76;_0xed0266[_0x365b55(0x1f0)][_0x5ed179]=null!==_0x260144?_0x260144:_0x2927fb[_0x365b55(0x1f7)](_0x5ed179);}}_0x41324e[_0x365b55(0x226)][_0x365b55(0x211)]=_0xed0266;}const _0x391a49={'html':_0x365b55(0x203)+_0x3bc3e7[_0x365b55(0x1f2)][_0x365b55(0x1e7)]+_0x365b55(0x20a)+await _0xa9eee0(_0x3bc3e7)+_0x365b55(0x205),'css':_0x3e5481,'options':_0x41324e[_0x365b55(0x226)]},_0x428352={'method':_0x365b55(0x1ee),'headers':{'Content-Type':_0x365b55(0x1e2),'Accept':_0x365b55(0x218),..._0x1cfcae?{'Authorization':_0x1cfcae[_0x365b55(0x1ff)]}:null,'x-cs-app-id':_0x41324e[_0x365b55(0x1fc)]||_0x365b55(0x202)},'body':JSON[_0x365b55(0x1ea)](_0x391a49)};return window[_0x365b55(0x22a)](_0x5d8b9f,_0x428352)[_0x365b55(0x22c)](_0x2081ef=>{const _0x2d3e7f=_0x365b55;if(0xc8!==_0x2081ef[_0x2d3e7f(0x1de)])throw _0x2081ef;return _0x2081ef[_0x2d3e7f(0x20d)]();})[_0x365b55(0x22c)](_0x4ece83=>{const _0x27e051=_0x365b55;_0x3bc3e7['ui'][_0x27e051(0x215)][_0x27e051(0x1e9)](_0x5b43cb(_0x3bc3e7[_0x27e051(0x1f2)],_0x27e051(0x204)));const _0x571403=_0x27e051(0x224)==typeof _0x41324e[_0x27e051(0x21a)]?_0x41324e[_0x27e051(0x21a)]():_0x41324e[_0x27e051(0x21a)];this[_0x27e051(0x1db)](_0x4ece83,_0x571403||_0x27e051(0x1f8));});})[_0xec98d4(0x21c)](_0xe6a454=>{const _0x2e05d4=_0xec98d4,_0x55e242=_0x3bc3e7[_0x2e05d4(0x217)][_0x2e05d4(0x1e6)](_0x2e05d4(0x1e4));throw _0x3bc3e7['ui'][_0x2e05d4(0x215)][_0x2e05d4(0x1e9)](_0x5b43cb(_0x3bc3e7[_0x2e05d4(0x1f2)],_0x2e05d4(0x20f)),{'politeness':_0x2e05d4(0x21e)}),_0x55e242[_0x2e05d4(0x213)](_0x5b43cb(_0x3bc3e7[_0x2e05d4(0x1f2)],_0x2e05d4(0x1e1))),_0xe6a454;})[_0xec98d4(0x1ec)](()=>{const _0x164351=_0xec98d4;this[_0x164351(0x210)]=!0x1,this[_0x164351(0x22d)]();});}[_0x3079a1(0x1db)](_0x344db1,_0x29bd4a){const _0x3eb1cb=_0x3079a1,_0x3a39d4=document[_0x3eb1cb(0x20e)]('a');_0x3a39d4[_0x3eb1cb(0x212)]=window[_0x3eb1cb(0x1f3)][_0x3eb1cb(0x1f1)](_0x344db1),_0x3a39d4[_0x3eb1cb(0x21b)]=_0x29bd4a,_0x3a39d4[_0x3eb1cb(0x1f9)](),_0x3a39d4[_0x3eb1cb(0x21d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x8896(_0x18e673,_0x4c97c5){const _0x55be4e=_0x55be();return _0x8896=function(_0x88968a,_0x4e85db){_0x88968a=_0x88968a-0x6c;let _0x4a8e9a=_0x55be4e[_0x88968a];return _0x4a8e9a;},_0x8896(_0x18e673,_0x4c97c5);}function _0x55be(){const _0x3641f8=['componentFactory','isOfficialPlugin','12aJtavi','23582mOmRuX','39rNOyar','bind','focus','isOn','_createButton','init','84mBdrEp','Export\x20to\x20PDF','4285269GhgUXh','menuBar:exportPdf','34122bAGlGh','2574228zWGQPN','editing','ExportPdfUI','20XIZtKO','editor','config','locale','196368KvkUpI','22iyEhuo','pluginName','label','execute','966050OjhApr','add','iconView','isVisible','10sNxmvH','Exporting\x20PDF\x20document','4000183mPAOCk','isPremiumPlugin','isEnabled','isBusy','children','get','exportPdf','view','listenTo','set','commands'];_0x55be=function(){return _0x3641f8;};return _0x55be();}const _0x9f66e5=_0x8896;(function(_0x2ec9d5,_0x25dda8){const _0x2e7420=_0x8896,_0x4f415c=_0x2ec9d5();while(!![]){try{const _0x4e541c=-parseInt(_0x2e7420(0x91))/0x1*(parseInt(_0x2e7420(0x79))/0x2)+-parseInt(_0x2e7420(0x70))/0x3*(parseInt(_0x2e7420(0x74))/0x4)+-parseInt(_0x2e7420(0x7d))/0x5*(-parseInt(_0x2e7420(0x90))/0x6)+-parseInt(_0x2e7420(0x6c))/0x7*(parseInt(_0x2e7420(0x78))/0x8)+-parseInt(_0x2e7420(0x6e))/0x9*(parseInt(_0x2e7420(0x81))/0xa)+parseInt(_0x2e7420(0x83))/0xb+parseInt(_0x2e7420(0x71))/0xc*(parseInt(_0x2e7420(0x92))/0xd);if(_0x4e541c===_0x25dda8)break;else _0x4f415c['push'](_0x4f415c['shift']());}catch(_0x1d3a2c){_0x4f415c['push'](_0x4f415c['shift']());}}}(_0x55be,0x4ade9));import{Plugin as _0x30418f}from'ckeditor5/src/core.js';import{ButtonView as _0x2b8c6b,MenuBarMenuListItemButtonView as _0x46597d,SpinnerView as _0x4287ea}from'ckeditor5/src/ui.js';import _0x26e397 from'../theme/icons/exportpdf.svg';import{getTranslation as _0x2ca9dd}from'./utils/common-translations.js';export default class s extends _0x30418f{static get[_0x9f66e5(0x7a)](){const _0x2a3ab7=_0x9f66e5;return _0x2a3ab7(0x73);}static get[_0x9f66e5(0x8f)](){return!0x0;}static get[_0x9f66e5(0x84)](){return!0x0;}[_0x9f66e5(0x97)](){const _0x4e1f4e=_0x9f66e5,_0x4d67c0=this[_0x4e1f4e(0x75)];_0x4d67c0['ui'][_0x4e1f4e(0x8e)][_0x4e1f4e(0x7e)](_0x4e1f4e(0x89),()=>{const _0x3f8fa3=_0x4e1f4e,_0x4c30b4=this[_0x3f8fa3(0x96)](_0x2b8c6b),_0x2d1d87=_0x4d67c0[_0x3f8fa3(0x8d)][_0x3f8fa3(0x88)](_0x3f8fa3(0x89));return _0x4c30b4[_0x3f8fa3(0x8c)]({'tooltip':!0x0}),_0x4c30b4[_0x3f8fa3(0x93)](_0x3f8fa3(0x95))['to'](_0x2d1d87,_0x3f8fa3(0x86)),_0x4c30b4;}),_0x4d67c0['ui'][_0x4e1f4e(0x8e)][_0x4e1f4e(0x7e)](_0x4e1f4e(0x6f),()=>this[_0x4e1f4e(0x96)](_0x46597d));}[_0x9f66e5(0x96)](_0x50f5ee){const _0x45137b=_0x9f66e5,_0x4b4a7e=this[_0x45137b(0x75)],_0x10521f=_0x4b4a7e[_0x45137b(0x76)][_0x45137b(0x88)](_0x45137b(0x89))||{},_0x51fa2a=_0x4b4a7e[_0x45137b(0x8d)][_0x45137b(0x88)](_0x45137b(0x89)),_0x58cad7=new _0x50f5ee(_0x4b4a7e[_0x45137b(0x77)]),_0x2ffc82=new _0x4287ea();return _0x58cad7[_0x45137b(0x87)][_0x45137b(0x7e)](_0x2ffc82),_0x2ffc82[_0x45137b(0x93)](_0x45137b(0x80))['to'](_0x51fa2a,_0x45137b(0x86)),_0x58cad7[_0x45137b(0x7f)][_0x45137b(0x93)](_0x45137b(0x80))['to'](_0x51fa2a,_0x45137b(0x86),_0xc7b439=>!_0xc7b439),_0x58cad7[_0x45137b(0x8c)]({'icon':_0x26e397}),_0x58cad7[_0x45137b(0x93)](_0x45137b(0x85))['to'](_0x51fa2a,_0x45137b(0x85)),_0x58cad7[_0x45137b(0x93)](_0x45137b(0x7b))['to'](_0x51fa2a,_0x45137b(0x86),_0x280684=>_0x2ca9dd(_0x4b4a7e[_0x45137b(0x77)],_0x280684?_0x45137b(0x82):_0x45137b(0x6d))),this[_0x45137b(0x8b)](_0x58cad7,_0x45137b(0x7c),()=>{const _0x150372=_0x45137b;_0x4b4a7e[_0x150372(0x7c)](_0x150372(0x89),_0x10521f),_0x4b4a7e[_0x150372(0x72)][_0x150372(0x8a)][_0x150372(0x94)]();}),_0x58cad7;}}
23
+ const _0x19e10e=_0x45e3;(function(_0x28e0c4,_0x1caf28){const _0x3795cd=_0x45e3,_0x3bb935=_0x28e0c4();while(!![]){try{const _0x1a2a87=parseInt(_0x3795cd(0x75))/0x1+parseInt(_0x3795cd(0x71))/0x2*(parseInt(_0x3795cd(0x84))/0x3)+-parseInt(_0x3795cd(0x81))/0x4+parseInt(_0x3795cd(0x91))/0x5*(parseInt(_0x3795cd(0x73))/0x6)+parseInt(_0x3795cd(0x8e))/0x7+-parseInt(_0x3795cd(0x8a))/0x8+-parseInt(_0x3795cd(0x78))/0x9*(parseInt(_0x3795cd(0x8d))/0xa);if(_0x1a2a87===_0x1caf28)break;else _0x3bb935['push'](_0x3bb935['shift']());}catch(_0x1edb58){_0x3bb935['push'](_0x3bb935['shift']());}}}(_0x5814,0x3f3dc));import{Plugin as _0xab2d90}from'ckeditor5/src/core.js';import{ButtonView as _0x325eb7,MenuBarMenuListItemButtonView as _0x20991d,SpinnerView as _0x4b96eb}from'ckeditor5/src/ui.js';import _0x2b33b9 from'../theme/icons/exportpdf.svg';import{getTranslation as _0x362913}from'./utils/common-translations.js';function _0x45e3(_0x3dca6f,_0x183bba){const _0x581439=_0x5814();return _0x45e3=function(_0x45e3c2,_0xa2df80){_0x45e3c2=_0x45e3c2-0x6f;let _0x307f4c=_0x581439[_0x45e3c2];return _0x307f4c;},_0x45e3(_0x3dca6f,_0x183bba);}export default class s extends _0xab2d90{static get[_0x19e10e(0x93)](){const _0x57178e=_0x19e10e;return _0x57178e(0x7c);}static get[_0x19e10e(0x86)](){return!0x0;}static get[_0x19e10e(0x72)](){return!0x0;}[_0x19e10e(0x7d)](){const _0x11d95c=_0x19e10e,_0x1f725c=this[_0x11d95c(0x6f)];_0x1f725c['ui'][_0x11d95c(0x76)][_0x11d95c(0x94)](_0x11d95c(0x74),()=>{const _0x4e1f5e=_0x11d95c,_0x576d68=this[_0x4e1f5e(0x79)](_0x325eb7),_0x19dcd3=_0x1f725c[_0x4e1f5e(0x77)][_0x4e1f5e(0x80)](_0x4e1f5e(0x74));return _0x576d68[_0x4e1f5e(0x8f)]({'tooltip':!0x0}),_0x576d68[_0x4e1f5e(0x70)](_0x4e1f5e(0x7e))['to'](_0x19dcd3,_0x4e1f5e(0x96)),_0x576d68;}),_0x1f725c['ui'][_0x11d95c(0x76)][_0x11d95c(0x94)](_0x11d95c(0x89),()=>this[_0x11d95c(0x79)](_0x20991d));}[_0x19e10e(0x79)](_0x4134f3){const _0x2f2429=_0x19e10e,_0x5a18e1=this[_0x2f2429(0x6f)],_0x6a8b96=_0x5a18e1[_0x2f2429(0x7a)][_0x2f2429(0x80)](_0x2f2429(0x74))||{},_0x500f42=_0x5a18e1[_0x2f2429(0x77)][_0x2f2429(0x80)](_0x2f2429(0x74)),_0x525a69=new _0x4134f3(_0x5a18e1[_0x2f2429(0x7f)]),_0x7f05b3=new _0x4b96eb();return _0x525a69[_0x2f2429(0x95)][_0x2f2429(0x94)](_0x7f05b3),_0x7f05b3[_0x2f2429(0x70)](_0x2f2429(0x82))['to'](_0x500f42,_0x2f2429(0x96)),_0x525a69[_0x2f2429(0x87)][_0x2f2429(0x70)](_0x2f2429(0x82))['to'](_0x500f42,_0x2f2429(0x96),_0x261afe=>!_0x261afe),_0x525a69[_0x2f2429(0x8f)]({'icon':_0x2b33b9}),_0x525a69[_0x2f2429(0x70)](_0x2f2429(0x85))['to'](_0x500f42,_0x2f2429(0x85)),_0x525a69[_0x2f2429(0x70)](_0x2f2429(0x97))['to'](_0x500f42,_0x2f2429(0x96),_0x3e996d=>_0x362913(_0x5a18e1[_0x2f2429(0x7f)],_0x3e996d?_0x2f2429(0x90):_0x2f2429(0x83))),this[_0x2f2429(0x88)](_0x525a69,_0x2f2429(0x7b),()=>{const _0x4a1475=_0x2f2429;_0x5a18e1[_0x4a1475(0x7b)](_0x4a1475(0x74),_0x6a8b96),_0x5a18e1[_0x4a1475(0x8b)][_0x4a1475(0x92)][_0x4a1475(0x8c)]();}),_0x525a69;}}function _0x5814(){const _0x1354a2=['label','editor','bind','2306lQbjyz','isPremiumPlugin','3012NWhOJj','exportPdf','119815VYyvOl','componentFactory','commands','9yjygFE','_createButton','config','execute','ExportPdfUI','init','isOn','locale','get','1131272vlYtSv','isVisible','Export\x20to\x20PDF','1149VTnuAE','isEnabled','isOfficialPlugin','iconView','listenTo','menuBar:exportPdf','2365608yPmptM','editing','focus','3320830pxosHo','3347442neJzVc','set','Exporting\x20PDF\x20document','1295ZPrTCL','view','pluginName','add','children','isBusy'];_0x5814=function(){return _0x1354a2;};return _0x5814();}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1eec(_0x1159f4,_0x6ff8c7){var _0x51bbfc=_0x51bb();return _0x1eec=function(_0x1eec75,_0x25ddcf){_0x1eec75=_0x1eec75-0x16c;var _0xb4487b=_0x51bbfc[_0x1eec75];return _0xb4487b;},_0x1eec(_0x1159f4,_0x6ff8c7);}(function(_0x3099d4,_0x4ed253){var _0x251399=_0x1eec,_0x115457=_0x3099d4();while(!![]){try{var _0x17a2e2=-parseInt(_0x251399(0x170))/0x1+parseInt(_0x251399(0x173))/0x2*(parseInt(_0x251399(0x172))/0x3)+-parseInt(_0x251399(0x174))/0x4+-parseInt(_0x251399(0x16f))/0x5+parseInt(_0x251399(0x16c))/0x6*(-parseInt(_0x251399(0x16d))/0x7)+parseInt(_0x251399(0x16e))/0x8+parseInt(_0x251399(0x171))/0x9;if(_0x17a2e2===_0x4ed253)break;else _0x115457['push'](_0x115457['shift']());}catch(_0x8c10d0){_0x115457['push'](_0x115457['shift']());}}}(_0x51bb,0x40caa));function _0x51bb(){var _0x36c610=['9162OPbAsD','2345cephPh','1030808ZsAquD','1510585hBtmfc','483171OHOmNm','12196701lXHdpY','558FLeVcJ','1046JTAorH','76396Zowmpq'];_0x51bb=function(){return _0x36c610;};return _0x51bb();}export{default as ExportPdf}from'./exportpdf.js';import'./augmentation.js';
23
+ function _0x55d7(){var _0x404669=['9VwqJtX','368488hJgwji','1650955astEUl','797210NBUKdv','120728RjzWOQ','7723090xoIlsS','2359984tzrDlz','3KXlLxC','6nuyWOW','1069390xDkdUX'];_0x55d7=function(){return _0x404669;};return _0x55d7();}(function(_0x49b4a0,_0x3c0bfd){var _0x23702a=_0x2c5c,_0xd253f6=_0x49b4a0();while(!![]){try{var _0x1d78db=parseInt(_0x23702a(0x110))/0x1+-parseInt(_0x23702a(0x10f))/0x2+-parseInt(_0x23702a(0x109))/0x3*(-parseInt(_0x23702a(0x10d))/0x4)+-parseInt(_0x23702a(0x10e))/0x5*(-parseInt(_0x23702a(0x10a))/0x6)+-parseInt(_0x23702a(0x10b))/0x7+-parseInt(_0x23702a(0x108))/0x8+-parseInt(_0x23702a(0x10c))/0x9*(-parseInt(_0x23702a(0x107))/0xa);if(_0x1d78db===_0x3c0bfd)break;else _0xd253f6['push'](_0xd253f6['shift']());}catch(_0x39effb){_0xd253f6['push'](_0xd253f6['shift']());}}}(_0x55d7,0x727f1));export{default as ExportPdf}from'./exportpdf.js';function _0x2c5c(_0xd039b6,_0x5921b7){var _0x55d741=_0x55d7();return _0x2c5c=function(_0x2c5c5c,_0x146c9f){_0x2c5c5c=_0x2c5c5c-0x107;var _0x11a1f7=_0x55d741[_0x2c5c5c];return _0x11a1f7;},_0x2c5c(_0xd039b6,_0x5921b7);}import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x16460e,_0x282886){const t=_0x16460e['t'];switch(_0x282886){case'Export\x20to\x20PDF':return t('Export\x20to\x20PDF');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.');case'PDF\x20export\x20started':return t('PDF\x20export\x20started');case'PDF\x20export\x20failed':return t('PDF\x20export\x20failed');case'PDF\x20export\x20successful':return t('PDF\x20export\x20successful');case'Exporting\x20PDF\x20document':return t('Exporting\x20PDF\x20document');default:return _0x282886;}}
23
+ export function getTranslation(_0x452e86,_0x314fce){const t=_0x452e86['t'];switch(_0x314fce){case'Export\x20to\x20PDF':return t('Export\x20to\x20PDF');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.');case'PDF\x20export\x20started':return t('PDF\x20export\x20started');case'PDF\x20export\x20failed':return t('PDF\x20export\x20failed');case'PDF\x20export\x20successful':return t('PDF\x20export\x20successful');case'Exporting\x20PDF\x20document':return t('Exporting\x20PDF\x20document');default:return _0x314fce;}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1e0a(_0x1607db,_0x4b3bd6){const _0x3cba9b=_0x3cba();return _0x1e0a=function(_0x1e0acd,_0x29377d){_0x1e0acd=_0x1e0acd-0x80;let _0x11539d=_0x3cba9b[_0x1e0acd];return _0x11539d;},_0x1e0a(_0x1607db,_0x4b3bd6);}(function(_0x5b331d,_0x5a6ab4){const _0x519fa4=_0x1e0a,_0x5485a5=_0x5b331d();while(!![]){try{const _0xcd3d59=parseInt(_0x519fa4(0x87))/0x1*(parseInt(_0x519fa4(0x9f))/0x2)+parseInt(_0x519fa4(0x8b))/0x3*(parseInt(_0x519fa4(0x92))/0x4)+parseInt(_0x519fa4(0x91))/0x5+parseInt(_0x519fa4(0x93))/0x6*(-parseInt(_0x519fa4(0x94))/0x7)+parseInt(_0x519fa4(0x95))/0x8+-parseInt(_0x519fa4(0x83))/0x9*(-parseInt(_0x519fa4(0x9b))/0xa)+-parseInt(_0x519fa4(0x82))/0xb;if(_0xcd3d59===_0x5a6ab4)break;else _0x5485a5['push'](_0x5485a5['shift']());}catch(_0x3c3237){_0x5485a5['push'](_0x5485a5['shift']());}}}(_0x3cba,0xdaaf6));export function getStyles(_0x57fb18){const _0x1a8999=_0x1e0a;if(!_0x57fb18)return new Promise(_0x569488=>_0x569488(''));const _0x23c6f2=[];for(const _0x575f4c of _0x57fb18)_0x1a8999(0x99)!==_0x575f4c?_0x23c6f2[_0x1a8999(0x89)](window[_0x1a8999(0x8c)](_0x575f4c)[_0x1a8999(0x80)](_0x289120=>_0x289120[_0x1a8999(0x85)]())):_0x23c6f2[_0x1a8999(0x89)](a());return Promise[_0x1a8999(0x84)](_0x23c6f2)[_0x1a8999(0x80)](_0x425872=>_0x425872[_0x1a8999(0x98)]('\x20')[_0x1a8999(0x8a)]());}function a(){const _0x3b3178=_0x1e0a,_0x3e1cc8=[],_0x23d542=[];for(const _0x4e60b6 of Array[_0x3b3178(0x8d)](document[_0x3b3178(0x81)])){if(_0x4e60b6[_0x3b3178(0x9a)][_0x3b3178(0x90)](_0x3b3178(0x97))){for(const _0x1f2408 of Array[_0x3b3178(0x8d)](_0x4e60b6[_0x3b3178(0x96)]))-0x1!==_0x1f2408[_0x3b3178(0x9c)][_0x3b3178(0x86)](_0x3b3178(0x88))?_0x3e1cc8[_0x3b3178(0x89)](_0x1f2408[_0x3b3178(0x9c)]):-0x1!==_0x1f2408[_0x3b3178(0x9c)][_0x3b3178(0x86)](_0x3b3178(0x9d))&&_0x23d542[_0x3b3178(0x89)](_0x1f2408[_0x3b3178(0x9c)]);}}return _0x3e1cc8[_0x3b3178(0x8f)]||console[_0x3b3178(0x9e)](_0x3b3178(0x8e)),[..._0x23d542,..._0x3e1cc8][_0x3b3178(0x98)]('\x20')[_0x3b3178(0x8a)]();}function _0x3cba(){const _0x5b499e=['.ck-content','push','trim','1389jFEbyX','fetch','from','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','length','hasAttribute','2483960NFvDqw','9908IoZAeG','1266ydldML','33257OAudSB','3295896LeLtru','cssRules','data-cke','join','EDITOR_STYLES','ownerNode','20wWOgnC','cssText',':root','warn','16556oIJzMl','then','styleSheets','39342391KBCUuL','7824204PmKjAt','all','text','indexOf','203xJdzvX'];_0x3cba=function(){return _0x5b499e;};return _0x3cba();}
23
+ (function(_0x7fb5ed,_0x2a4300){const _0x3d8c87=_0x17cb,_0xe28cf8=_0x7fb5ed();while(!![]){try{const _0x46502f=-parseInt(_0x3d8c87(0xda))/0x1+parseInt(_0x3d8c87(0xde))/0x2+parseInt(_0x3d8c87(0xe5))/0x3+parseInt(_0x3d8c87(0xd4))/0x4+-parseInt(_0x3d8c87(0xd3))/0x5+parseInt(_0x3d8c87(0xd7))/0x6*(-parseInt(_0x3d8c87(0xe4))/0x7)+parseInt(_0x3d8c87(0xe0))/0x8;if(_0x46502f===_0x2a4300)break;else _0xe28cf8['push'](_0xe28cf8['shift']());}catch(_0x26c0d1){_0xe28cf8['push'](_0xe28cf8['shift']());}}}(_0x3080,0x89559));function _0x17cb(_0x45b977,_0x5d2061){const _0x3080f5=_0x3080();return _0x17cb=function(_0x17cb40,_0x5f64b4){_0x17cb40=_0x17cb40-0xd3;let _0x5e084a=_0x3080f5[_0x17cb40];return _0x5e084a;},_0x17cb(_0x45b977,_0x5d2061);}function _0x3080(){const _0x19b21d=['The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','EDITOR_STYLES','4987178gWmbwi','1793826RyXckj','indexOf','all','data-cke','then','from','fetch','hasAttribute','cssText','.ck-content','cssRules','1707290JWIWrs','1772212LBDUoV','trim','styleSheets','6jNCMPu','ownerNode','push','863064PihrXu','warn','join',':root','1022582YDhieJ','text','7417688TYadmT','length'];_0x3080=function(){return _0x19b21d;};return _0x3080();}export function getStyles(_0xc862fb){const _0xa49f73=_0x17cb;if(!_0xc862fb)return new Promise(_0x267e0a=>_0x267e0a(''));const _0x5bf1fb=[];for(const _0x37b50c of _0xc862fb)_0xa49f73(0xe3)!==_0x37b50c?_0x5bf1fb[_0xa49f73(0xd9)](window[_0xa49f73(0xeb)](_0x37b50c)[_0xa49f73(0xe9)](_0x4c0435=>_0x4c0435[_0xa49f73(0xdf)]())):_0x5bf1fb[_0xa49f73(0xd9)](a());return Promise[_0xa49f73(0xe7)](_0x5bf1fb)[_0xa49f73(0xe9)](_0x356ed5=>_0x356ed5[_0xa49f73(0xdc)]('\x20')[_0xa49f73(0xd5)]());}function a(){const _0x48921f=_0x17cb,_0x344b69=[],_0x4ef70d=[];for(const _0x49eea1 of Array[_0x48921f(0xea)](document[_0x48921f(0xd6)])){if(_0x49eea1[_0x48921f(0xd8)][_0x48921f(0xec)](_0x48921f(0xe8))){for(const _0x13fa7c of Array[_0x48921f(0xea)](_0x49eea1[_0x48921f(0xef)]))-0x1!==_0x13fa7c[_0x48921f(0xed)][_0x48921f(0xe6)](_0x48921f(0xee))?_0x344b69[_0x48921f(0xd9)](_0x13fa7c[_0x48921f(0xed)]):-0x1!==_0x13fa7c[_0x48921f(0xed)][_0x48921f(0xe6)](_0x48921f(0xdd))&&_0x4ef70d[_0x48921f(0xd9)](_0x13fa7c[_0x48921f(0xed)]);}}return _0x344b69[_0x48921f(0xe1)]||console[_0x48921f(0xdb)](_0x48921f(0xe2)),[..._0x4ef70d,..._0x344b69][_0x48921f(0xdc)]('\x20')[_0x48921f(0xd5)]();}