@ckeditor/ckeditor5-export-pdf 42.0.0-alpha.1 → 42.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/export-pdf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/types/exportpdf.d.ts +6 -5
- package/package.json +2 -2
- package/src/exportpdf.d.ts +6 -5
- package/src/exportpdf.js +1 -1
- package/src/exportpdfcommand.js +1 -1
- package/src/exportpdfui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils.js +1 -1
|
@@ -65,10 +65,11 @@ export interface ExportPdfConfig {
|
|
|
65
65
|
*
|
|
66
66
|
* **Default editor's content styles**:
|
|
67
67
|
* {@glink getting-started/setup/css The default editor content styles}
|
|
68
|
-
* are applied to the generated PDF thanks to the 'EDITOR_STYLES' token, which is provided to the `stylesheets` by default.
|
|
68
|
+
* are applied to the generated PDF thanks to the `'EDITOR_STYLES'` token, which is provided to the `stylesheets` by default.
|
|
69
69
|
* If you don't want them to be applied, you have to omit the token:
|
|
70
70
|
*
|
|
71
|
-
* **NOTE:** The 'EDITOR_STYLES' string is only supported in legacy webpack
|
|
71
|
+
* **NOTE:** The `'EDITOR_STYLES'` string is only supported in legacy custom builds with webpack or DLLs.
|
|
72
|
+
* In other setups you always need to pass the stylesheets.
|
|
72
73
|
*
|
|
73
74
|
* ```ts
|
|
74
75
|
* const exportPdfConfig = {
|
|
@@ -77,13 +78,13 @@ export interface ExportPdfConfig {
|
|
|
77
78
|
* ```
|
|
78
79
|
*
|
|
79
80
|
* **Web fonts:** If you want to {@glink features/converters/export-pdf#providing-web-font-styles use web fonts} in your PDF document,
|
|
80
|
-
* you should provide a path to the file containing the web font declaration before the `'EDITOR_STYLES'` token:
|
|
81
|
+
* you should provide a path to the file containing the web font declaration before the `'EDITOR_STYLES'` token and other style sheets:
|
|
81
82
|
*
|
|
82
83
|
* ```ts
|
|
83
84
|
* const exportPdfConfig = {
|
|
84
85
|
* stylesheets: [
|
|
85
|
-
* 'path/to/editor-styles.css',
|
|
86
86
|
* './path/to/fonts.css'
|
|
87
|
+
* './path/to/editor-styles.css',
|
|
87
88
|
* ]
|
|
88
89
|
* }
|
|
89
90
|
* ```
|
|
@@ -93,8 +94,8 @@ export interface ExportPdfConfig {
|
|
|
93
94
|
* ```ts
|
|
94
95
|
* const exportPdfConfig = {
|
|
95
96
|
* stylesheets: [
|
|
96
|
-
* 'path/to/editor-styles.css',
|
|
97
97
|
* './path/to/fonts.css',
|
|
98
|
+
* './path/to/editor-styles.css',
|
|
98
99
|
* './path/to/custom-styles.css'
|
|
99
100
|
* ]
|
|
100
101
|
* }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-pdf",
|
|
3
|
-
"version": "42.0.0-alpha.
|
|
3
|
+
"version": "42.0.0-alpha.10",
|
|
4
4
|
"description": "Export to PDF feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"ckeditor5": "42.0.0-alpha.
|
|
33
|
+
"ckeditor5": "42.0.0-alpha.10"
|
|
34
34
|
},
|
|
35
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
36
|
"author": "CKSource (http://cksource.com/)",
|
package/src/exportpdf.d.ts
CHANGED
|
@@ -61,10 +61,11 @@ export interface ExportPdfConfig {
|
|
|
61
61
|
*
|
|
62
62
|
* **Default editor's content styles**:
|
|
63
63
|
* {@glink getting-started/setup/css The default editor content styles}
|
|
64
|
-
* are applied to the generated PDF thanks to the 'EDITOR_STYLES' token, which is provided to the `stylesheets` by default.
|
|
64
|
+
* are applied to the generated PDF thanks to the `'EDITOR_STYLES'` token, which is provided to the `stylesheets` by default.
|
|
65
65
|
* If you don't want them to be applied, you have to omit the token:
|
|
66
66
|
*
|
|
67
|
-
* **NOTE:** The 'EDITOR_STYLES' string is only supported in legacy webpack
|
|
67
|
+
* **NOTE:** The `'EDITOR_STYLES'` string is only supported in legacy custom builds with webpack or DLLs.
|
|
68
|
+
* In other setups you always need to pass the stylesheets.
|
|
68
69
|
*
|
|
69
70
|
* ```ts
|
|
70
71
|
* const exportPdfConfig = {
|
|
@@ -73,13 +74,13 @@ export interface ExportPdfConfig {
|
|
|
73
74
|
* ```
|
|
74
75
|
*
|
|
75
76
|
* **Web fonts:** If you want to {@glink features/converters/export-pdf#providing-web-font-styles use web fonts} in your PDF document,
|
|
76
|
-
* you should provide a path to the file containing the web font declaration before the `'EDITOR_STYLES'` token:
|
|
77
|
+
* you should provide a path to the file containing the web font declaration before the `'EDITOR_STYLES'` token and other style sheets:
|
|
77
78
|
*
|
|
78
79
|
* ```ts
|
|
79
80
|
* const exportPdfConfig = {
|
|
80
81
|
* stylesheets: [
|
|
81
|
-
* 'path/to/editor-styles.css',
|
|
82
82
|
* './path/to/fonts.css'
|
|
83
|
+
* './path/to/editor-styles.css',
|
|
83
84
|
* ]
|
|
84
85
|
* }
|
|
85
86
|
* ```
|
|
@@ -89,8 +90,8 @@ export interface ExportPdfConfig {
|
|
|
89
90
|
* ```ts
|
|
90
91
|
* const exportPdfConfig = {
|
|
91
92
|
* stylesheets: [
|
|
92
|
-
* 'path/to/editor-styles.css',
|
|
93
93
|
* './path/to/fonts.css',
|
|
94
|
+
* './path/to/editor-styles.css',
|
|
94
95
|
* './path/to/custom-styles.css'
|
|
95
96
|
* ]
|
|
96
97
|
* }
|
package/src/exportpdf.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x509d88=_0x1adb;function _0x572f(){const _0x3d233b=['registerTokenUrl','228382TXIdPs','token','add','get','184QPYGuV','CloudServices','requires','6364452HqOrXQ','init','1258980nqhqge','tokenUrl','commands','editor','ExportPdf','5149496gcVrhL','7mNKvbJ','15rohmaj','12BqjauO','pluginName','then','exportPdf','config','plugins','10069250NfNYJe','718829OCsZcL','_token','193896Cmcfor'];_0x572f=function(){return _0x3d233b;};return _0x572f();}(function(_0x4b90a3,_0x3fc620){const _0x5578ca=_0x1adb,_0x1248d6=_0x4b90a3();while(!![]){try{const _0x16116e=parseInt(_0x5578ca(0x1cc))/0x1+parseInt(_0x5578ca(0x1d0))/0x2*(parseInt(_0x5578ca(0x1c4))/0x3)+-parseInt(_0x5578ca(0x1c5))/0x4*(parseInt(_0x5578ca(0x1d9))/0x5)+-parseInt(_0x5578ca(0x1d7))/0x6*(-parseInt(_0x5578ca(0x1c3))/0x7)+parseInt(_0x5578ca(0x1d4))/0x8*(-parseInt(_0x5578ca(0x1ce))/0x9)+-parseInt(_0x5578ca(0x1cb))/0xa+parseInt(_0x5578ca(0x1c2))/0xb;if(_0x16116e===_0x3fc620)break;else _0x1248d6['push'](_0x1248d6['shift']());}catch(_0x1fd517){_0x1248d6['push'](_0x1248d6['shift']());}}}(_0x572f,0x88ec5));function _0x1adb(_0x25d4af,_0x331f08){const _0x572fea=_0x572f();return _0x1adb=function(_0x1adb62,_0x3514f0){_0x1adb62=_0x1adb62-0x1c1;let _0xcbba18=_0x572fea[_0x1adb62];return _0xcbba18;},_0x1adb(_0x25d4af,_0x331f08);}import{Plugin as _0x4110c9}from'ckeditor5/src/core.js';import{Notification as _0x551a34}from'ckeditor5/src/ui.js';import _0x650be6 from'./exportpdfcommand.js';import _0x39e90e from'./exportpdfui.js';export default class s extends _0x4110c9{static get[_0x509d88(0x1c6)](){const _0x431f16=_0x509d88;return _0x431f16(0x1c1);}static get[_0x509d88(0x1d6)](){const _0x270ec6=_0x509d88;return[_0x270ec6(0x1d5),_0x551a34,_0x39e90e];}[_0x509d88(0x1d8)](){const _0x54500d=_0x509d88,_0x55f772=this[_0x54500d(0x1dc)],_0x594803=_0x55f772[_0x54500d(0x1c9)][_0x54500d(0x1d3)](_0x54500d(0x1c8))||{};_0x55f772[_0x54500d(0x1db)][_0x54500d(0x1d2)](_0x54500d(0x1c8),new _0x650be6(_0x55f772));const _0x28f25e=_0x55f772[_0x54500d(0x1ca)][_0x54500d(0x1d3)](_0x54500d(0x1d5));!0x1===_0x594803[_0x54500d(0x1da)]?this[_0x54500d(0x1cd)]=null:_0x594803[_0x54500d(0x1da)]?_0x28f25e[_0x54500d(0x1cf)](_0x594803[_0x54500d(0x1da)])[_0x54500d(0x1c7)](_0x478295=>{const _0x4eb868=_0x54500d;this[_0x4eb868(0x1cd)]=_0x478295;}):this[_0x54500d(0x1cd)]=_0x28f25e[_0x54500d(0x1d1)];}}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
import{Command as _0x3fb83f}from'ckeditor5/src/core.js';import{getStyles as _0x56fc7d}from'./utils.js';export default class o extends _0x3fb83f{constructor(_0x474460){super(_0x474460),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x3da2d3={}){const _0x5bbcb7=this['editor'],t=_0x5bbcb7['t'],_0x253229=_0x3da2d3['converterUrl']||'https://pdf-converter.cke-cs.com/v1/convert/',_0x237fc3=_0x3da2d3['dataCallback']||(_0x24d644=>_0x24d644['data']['get']()),_0x142abd=_0x5bbcb7['plugins']['get']('ExportPdf'),_0x2cd9ee=_0x3da2d3['token']||_0x142abd['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x56fc7d(_0x3da2d3['stylesheets']||['EDITOR_STYLES'])['then'](async _0x5c0c45=>{_0x5bbcb7['ui']['ariaLiveAnnouncer']['announce'](t('PDF\x20export\x20started'));const _0x4c0bc2={'html':'<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'+_0x5bbcb7['locale']['contentLanguageDirection']+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x237fc3(_0x5bbcb7)+'\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','css':_0x5c0c45,'options':_0x3da2d3['converterOptions']},_0x4c3511={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x2cd9ee?{'Authorization':_0x2cd9ee['value']}:null,'x-cs-app-id':_0x3da2d3['appID']||'cke5'},'body':JSON['stringify'](_0x4c0bc2)};return window['fetch'](_0x253229,_0x4c3511)['then'](_0xcf1ae2=>{if(0xc8!==_0xcf1ae2['status'])throw _0xcf1ae2;return _0xcf1ae2['blob']();})['then'](_0x553616=>{_0x5bbcb7['ui']['ariaLiveAnnouncer']['announce'](t('PDF\x20export\x20successful'));const _0x573347='function'==typeof _0x3da2d3['fileName']?_0x3da2d3['fileName']():_0x3da2d3['fileName'];this['_downloadFile'](_0x553616,_0x573347||'document.pdf');});})['catch'](_0x1ad380=>{const _0x20c9e3=_0x5bbcb7['plugins']['get']('Notification');throw _0x5bbcb7['ui']['ariaLiveAnnouncer']['announce'](t('PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x20c9e3['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x1ad380;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x508738,_0x17db79){const _0x1d3fa2=document['createElement']('a');_0x1d3fa2['href']=window['URL']['createObjectURL'](_0x508738),_0x1d3fa2['download']=_0x17db79,_0x1d3fa2['click'](),_0x1d3fa2['remove']();}}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x199c59}from'ckeditor5/src/core.js';import{ButtonView as _0x423b94,MenuBarMenuListItemButtonView as _0x1ff7bc,SpinnerView as _0x5dadc3}from'ckeditor5/src/ui.js';import _0x4ba814 from'../theme/icons/exportpdf.svg';export default class i extends _0x199c59{static get['pluginName'](){return'ExportPdfUI';}['init'](){const _0x328a7d=this['editor'];_0x328a7d['ui']['componentFactory']['add']('exportPdf',()=>{const _0x26e69e=this['_createButton'](_0x423b94),_0x1f351a=_0x328a7d['commands']['get']('exportPdf');return _0x26e69e['set']({'tooltip':!0x0}),_0x26e69e['bind']('isOn')['to'](_0x1f351a,'isBusy'),_0x26e69e;}),_0x328a7d['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](_0x1ff7bc));}['_createButton'](_0x2e7c23){const _0x385ee6=this['editor'],_0x15fcfe=_0x385ee6['config']['get']('exportPdf')||{},t=_0x385ee6['locale']['t'],_0x291b15=_0x385ee6['commands']['get']('exportPdf'),_0x2c467b=new _0x2e7c23(_0x385ee6['locale']),_0x2591bd=new _0x5dadc3();return _0x2c467b['children']['add'](_0x2591bd),_0x2591bd['bind']('isVisible')['to'](_0x291b15,'isBusy'),_0x2c467b['iconView']['bind']('isVisible')['to'](_0x291b15,'isBusy',_0x150a23=>!_0x150a23),_0x2c467b['set']({'icon':_0x4ba814}),_0x2c467b['bind']('isEnabled')['to'](_0x291b15,'isEnabled'),_0x2c467b['bind']('label')['to'](_0x291b15,'isBusy',_0x1ba192=>t(_0x1ba192?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x2c467b,'execute',()=>{_0x385ee6['execute']('exportPdf',_0x15fcfe),_0x385ee6['editing']['view']['focus']();}),_0x2c467b;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4b54a0,_0x1c6243){var _0x227735=_0x3946,_0x31d8c8=_0x4b54a0();while(!![]){try{var _0x4b0aa4=-parseInt(_0x227735(0x8b))/0x1*(parseInt(_0x227735(0x87))/0x2)+parseInt(_0x227735(0x89))/0x3+-parseInt(_0x227735(0x8c))/0x4+-parseInt(_0x227735(0x85))/0x5+parseInt(_0x227735(0x84))/0x6+parseInt(_0x227735(0x86))/0x7*(parseInt(_0x227735(0x8a))/0x8)+-parseInt(_0x227735(0x88))/0x9*(parseInt(_0x227735(0x8d))/0xa);if(_0x4b0aa4===_0x1c6243)break;else _0x31d8c8['push'](_0x31d8c8['shift']());}catch(_0x23d4eb){_0x31d8c8['push'](_0x31d8c8['shift']());}}}(_0x5071,0x50e40));function _0x3946(_0x5d2717,_0x4fb2a2){var _0x5071bb=_0x5071();return _0x3946=function(_0x39464d,_0xeff2c0){_0x39464d=_0x39464d-0x84;var _0xf6d701=_0x5071bb[_0x39464d];return _0xf6d701;},_0x3946(_0x5d2717,_0x4fb2a2);}export{default as ExportPdf}from'./exportpdf.js';function _0x5071(){var _0x19e92c=['1461798YlToXl','232mTKzYA','17FecnBb','1297372mCuuZk','149070oTfDlf','2744196LXbUsB','945485yREJuF','71267Uqodqn','886JxSGET','234czyeVN'];_0x5071=function(){return _0x19e92c;};return _0x5071();}import'./augmentation.js';
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3ba83f,_0xd198af){const _0x5b8357=_0x3083,_0x2582cd=_0x3ba83f();while(!![]){try{const _0x56df51=-parseInt(_0x5b8357(0x203))/0x1+-parseInt(_0x5b8357(0x1fc))/0x2+-parseInt(_0x5b8357(0x202))/0x3*(parseInt(_0x5b8357(0x1fb))/0x4)+-parseInt(_0x5b8357(0x208))/0x5*(-parseInt(_0x5b8357(0x20d))/0x6)+-parseInt(_0x5b8357(0x1ff))/0x7*(parseInt(_0x5b8357(0x1f1))/0x8)+-parseInt(_0x5b8357(0x209))/0x9*(-parseInt(_0x5b8357(0x205))/0xa)+parseInt(_0x5b8357(0x1f9))/0xb;if(_0x56df51===_0xd198af)break;else _0x2582cd['push'](_0x2582cd['shift']());}catch(_0x4cc5b9){_0x2582cd['push'](_0x2582cd['shift']());}}}(_0x1df6,0x2449a));function _0x1df6(){const _0x5179ed=['then','all','ownerNode','24mJaiKq','trim','styleSheets','data-cke',':root','fetch','join','indexOf','5938834zoccuB','push','124796pwgYTv','407082brwdOq','cssRules','cssText','392973cprrMa','from','EDITOR_STYLES','27fgSyxV','243654ASZuyz','.ck-content','1180LTgwVm','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.','text','5iPUUfT','22374IRlOFn','length','hasAttribute','warn','1270770ugNvYi'];_0x1df6=function(){return _0x5179ed;};return _0x1df6();}function _0x3083(_0x381a71,_0x2d2c8a){const _0x1df610=_0x1df6();return _0x3083=function(_0x308319,_0x1c09ed){_0x308319=_0x308319-0x1ee;let _0x4625fb=_0x1df610[_0x308319];return _0x4625fb;},_0x3083(_0x381a71,_0x2d2c8a);}export function getStyles(_0xdd9099){const _0x1b23a9=_0x3083;if(!_0xdd9099)return new Promise(_0x70c814=>_0x70c814(''));const _0x510f28=[];for(const _0x4591c2 of _0xdd9099)_0x1b23a9(0x201)!==_0x4591c2?_0x510f28[_0x1b23a9(0x1fa)](window[_0x1b23a9(0x1f6)](_0x4591c2)[_0x1b23a9(0x1ee)](_0x86a551=>_0x86a551[_0x1b23a9(0x207)]())):_0x510f28[_0x1b23a9(0x1fa)](f());return Promise[_0x1b23a9(0x1ef)](_0x510f28)[_0x1b23a9(0x1ee)](_0x58c02a=>_0x58c02a[_0x1b23a9(0x1f7)]('\x20')[_0x1b23a9(0x1f2)]());}function f(){const _0x21f238=_0x3083,_0x3177f0=[],_0x4243d5=[];for(const _0x38fec8 of Array[_0x21f238(0x200)](document[_0x21f238(0x1f3)])){if(_0x38fec8[_0x21f238(0x1f0)][_0x21f238(0x20b)](_0x21f238(0x1f4))){for(const _0x54e28c of Array[_0x21f238(0x200)](_0x38fec8[_0x21f238(0x1fd)]))-0x1!==_0x54e28c[_0x21f238(0x1fe)][_0x21f238(0x1f8)](_0x21f238(0x204))?_0x3177f0[_0x21f238(0x1fa)](_0x54e28c[_0x21f238(0x1fe)]):-0x1!==_0x54e28c[_0x21f238(0x1fe)][_0x21f238(0x1f8)](_0x21f238(0x1f5))&&_0x4243d5[_0x21f238(0x1fa)](_0x54e28c[_0x21f238(0x1fe)]);}}return _0x3177f0[_0x21f238(0x20a)]||console[_0x21f238(0x20c)](_0x21f238(0x206)),[..._0x4243d5,..._0x3177f0][_0x21f238(0x1f7)]('\x20')[_0x21f238(0x1f2)]();}
|