@ckeditor/ckeditor5-paste-from-office-enhanced 44.1.0 → 44.2.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.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/paste-from-office-enhanced.js +2 -2
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +2 -2
- package/dist/index.js +2 -2
- package/package.json +26 -6
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/legacyerrors.d.ts +1 -1
- package/src/legacyerrors.js +2 -2
- package/src/normalizers/inliner/msofficestylesinliner.d.ts +1 -1
- package/src/normalizers/inliner/msofficestylesinliner.js +2 -2
- package/src/normalizers/inliner/utils.d.ts +1 -1
- package/src/normalizers/inliner/utils.js +2 -2
- package/src/normalizers/propagator/msofficeinlinestylepropagator.d.ts +1 -1
- package/src/normalizers/propagator/msofficeinlinestylepropagator.js +2 -2
- package/src/normalizers/propagator/utils.d.ts +1 -1
- package/src/normalizers/propagator/utils.js +2 -2
- package/src/pastefromofficeenhanced.d.ts +1 -1
- package/src/pastefromofficeenhanced.js +2 -2
- package/src/pastefromofficeenhancedinliner.d.ts +1 -1
- package/src/pastefromofficeenhancedinliner.js +2 -2
- package/src/pastefromofficeenhancedpropagator.d.ts +1 -1
- package/src/pastefromofficeenhancedpropagator.js +2 -2
- package/src/utils.d.ts +1 -1
- package/src/utils.js +2 -2
- package/dist/augmentation.d.ts +0 -14
- package/dist/index.d.ts +0 -13
- package/dist/legacyerrors.d.ts +0 -9
- package/dist/normalizers/inliner/msofficestylesinliner.d.ts +0 -46
- package/dist/normalizers/inliner/utils.d.ts +0 -132
- package/dist/normalizers/propagator/msofficeinlinestylepropagator.d.ts +0 -47
- package/dist/normalizers/propagator/utils.d.ts +0 -101
- package/dist/pastefromofficeenhanced.d.ts +0 -41
- package/dist/pastefromofficeenhancedinliner.d.ts +0 -41
- package/dist/pastefromofficeenhancedpropagator.d.ts +0 -43
- package/dist/utils.d.ts +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3564(){const _0x4d32fd=['execute','document','content','6kIjlEV','_parsedData','stylesProcessor','name','3181895RvscOs','element','getItems','blockElements','9eIYzAv','3099420SDaoyg','isActive','628782uEmrpW','font','createRangeIn','4266857ZoMMKi','17495528ZBWFcQ','1456022VAlJOQ','includes','2992098vGviUt'];_0x3564=function(){return _0x4d32fd;};return _0x3564();}const _0x9e8724=_0x5991;(function(_0xd62d67,_0x478aee){const _0x42322d=_0x5991,_0x2fc15f=_0xd62d67();while(!![]){try{const _0xa6392e=-parseInt(_0x42322d(0x136))/0x1+parseInt(_0x42322d(0x131))/0x2+-parseInt(_0x42322d(0x138))/0x3+parseInt(_0x42322d(0x12f))/0x4+parseInt(_0x42322d(0x140))/0x5*(-parseInt(_0x42322d(0x13c))/0x6)+parseInt(_0x42322d(0x134))/0x7+parseInt(_0x42322d(0x135))/0x8*(parseInt(_0x42322d(0x144))/0x9);if(_0xa6392e===_0x478aee)break;else _0x2fc15f['push'](_0x2fc15f['shift']());}catch(_0x335a59){_0x2fc15f['push'](_0x2fc15f['shift']());}}}(_0x3564,0xc2543));function _0x5991(_0x263939,_0x2c2997){const _0x35648f=_0x3564();return _0x5991=function(_0x599162,_0x264458){_0x599162=_0x599162-0x12f;let _0x4a42f9=_0x35648f[_0x599162];return _0x4a42f9;},_0x5991(_0x263939,_0x2c2997);}import{UpcastWriter as _0xc3ed4f,DomConverter as _0x1264bb,ViewDocument as _0x525526}from'ckeditor5/src/engine.js';import{MSWordNormalizer as _0x42f362}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x241380}from'../../utils.js';import{getStylePropertyNamesToPropagate as _0xe57c40,propagateStyleProperties as _0x5b6a4b}from'./utils.js';export default class f extends _0x42f362{[_0x9e8724(0x139)](_0x5c55a9){const _0xb6754c=_0x9e8724,{body:_0x372fa0}=_0x5c55a9[_0xb6754c(0x13d)],_0x27f9d9=new _0xc3ed4f(_0x372fa0[_0xb6754c(0x13a)]),_0x7a8fa6=_0x27f9d9[_0xb6754c(0x133)](_0x372fa0),_0x43c756=new _0x525526(_0x27f9d9[_0xb6754c(0x13a)][_0xb6754c(0x13e)]),_0x239be=[...new _0x1264bb(_0x43c756)[_0xb6754c(0x143)],_0xb6754c(0x132)],_0x7c7118=_0x7a8fa6[_0xb6754c(0x142)]();for(const _0x126279 of _0x7c7118)if(_0x126279['is'](_0xb6754c(0x141))&&_0x239be[_0xb6754c(0x137)](_0x126279[_0xb6754c(0x13f)])){const _0x4a0c55=_0xe57c40(_0x126279);_0x5b6a4b(_0x126279,_0x27f9d9,_0x4a0c55);}_0x5c55a9[_0xb6754c(0x13b)]=_0x372fa0;}[_0x9e8724(0x130)](_0x53dcc6){const _0x569419=_0x9e8724;return super[_0x569419(0x130)](_0x53dcc6)||_0x241380(_0x53dcc6);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x31ce53=_0x442d;(function(_0x4b2f2b,_0x208c8a){const _0x1e5bb3=_0x442d,_0x4e6c0e=_0x4b2f2b();while(!![]){try{const _0x209051=parseInt(_0x1e5bb3(0x125))/0x1*(-parseInt(_0x1e5bb3(0x135))/0x2)+-parseInt(_0x1e5bb3(0x12b))/0x3+parseInt(_0x1e5bb3(0x13c))/0x4*(parseInt(_0x1e5bb3(0x137))/0x5)+-parseInt(_0x1e5bb3(0x141))/0x6*(-parseInt(_0x1e5bb3(0x12e))/0x7)+parseInt(_0x1e5bb3(0x13e))/0x8+parseInt(_0x1e5bb3(0x14c))/0x9+parseInt(_0x1e5bb3(0x128))/0xa;if(_0x209051===_0x208c8a)break;else _0x4e6c0e['push'](_0x4e6c0e['shift']());}catch(_0x24d4c8){_0x4e6c0e['push'](_0x4e6c0e['shift']());}}}(_0x115a,0x9cb82));export const CSS_PROPERTIES_TO_PROPAGATE=[_0x31ce53(0x138),_0x31ce53(0x131),_0x31ce53(0x136),_0x31ce53(0x13d),_0x31ce53(0x127),_0x31ce53(0x130),_0x31ce53(0x126),_0x31ce53(0x12d)];export const CSS_PROPERTIES_TO_BE_SPANS=[_0x31ce53(0x138),_0x31ce53(0x131),_0x31ce53(0x136)];function _0x115a(){const _0x66673e=['font-family','from','function','getStyleNames','2110828paJcUE','font-size','7390Sftybw','color','split','bold','italic','504bLHcIw','text-decoration','5099920OWKPyJ','setStyle','strong','396PkRlpY','underline','getChildren','super','getStyle','line-through','createElement','forEach','sub','keys','span','10761849bXLQOE','medium','filter','removeStyle','sup','1duKYEP','font-style','text-decoration-line','903820kqVBoR','includes','length','2712477uXjtys','insertChild','vertical-align','52143FRetFG','bolder','font-weight'];_0x115a=function(){return _0x66673e;};return _0x115a();}export const CSS_PROPERTIES_TO_BE_HTML_ELEMENTS={'font-style':[[_0x31ce53(0x13b),'i']],'font-weight':[[_0x31ce53(0x14d),_0x31ce53(0x140)],[_0x31ce53(0x13a),_0x31ce53(0x140)],[_0x31ce53(0x12f),_0x31ce53(0x140)],[_0x275efe=>Number(_0x275efe)>=0x258,_0x31ce53(0x140)]],'text-decoration':[[_0x31ce53(0x142),'u'],[_0x31ce53(0x146),'s']],'text-decoration-line':[[_0x31ce53(0x142),'u'],[_0x31ce53(0x146),'s']],'vertical-align':[[_0x31ce53(0x149),_0x31ce53(0x149)],[_0x31ce53(0x144),_0x31ce53(0x150)]]};export function isPropertyToBePropagated(_0x19a7fc){const _0x2ca667=_0x31ce53;return CSS_PROPERTIES_TO_PROPAGATE[_0x2ca667(0x129)](_0x19a7fc);}export function isPropertyToBePropagatedAsSpan(_0x4d97ba){const _0x4e7571=_0x31ce53;return CSS_PROPERTIES_TO_BE_SPANS[_0x4e7571(0x129)](_0x4d97ba);}export function isPropertyToBePropagatedAsHTMLElement(_0x35b91a){return _0x35b91a in CSS_PROPERTIES_TO_BE_HTML_ELEMENTS;}export function getStylePropertyNamesToPropagate(_0x2ec0b7){const _0x3ce028=_0x31ce53;return Array[_0x3ce028(0x132)](_0x2ec0b7[_0x3ce028(0x134)]())[_0x3ce028(0x14e)](isPropertyToBePropagated);}function _0x442d(_0x1d75da,_0x4adcca){const _0x115a01=_0x115a();return _0x442d=function(_0x442d28,_0x377560){_0x442d28=_0x442d28-0x125;let _0x424837=_0x115a01[_0x442d28];return _0x424837;},_0x442d(_0x1d75da,_0x4adcca);}export function propagateStyleProperties(_0x4c9ebb,_0x489568,_0x304c92){const {spanStyles:_0x475f22,stylesToBeHtmlElements:_0x159aa8}=getStylesToPropagate(_0x4c9ebb,_0x304c92);propagateStylesAsHTMLElements(_0x4c9ebb,_0x489568,_0x159aa8),propagateStylesAsSpan(_0x4c9ebb,_0x489568,_0x475f22);}export function propagateStylesAsHTMLElements(_0x3f87cd,_0x265ab3,_0x3e3042){const _0xe1f32c=_0x31ce53;for(const _0x394942 in _0x3e3042){_0x3e3042[_0x394942][_0xe1f32c(0x148)](([,_0x2ab284])=>{const _0x38ebbb=_0xe1f32c,_0x42d9b8=_0x265ab3[_0x38ebbb(0x147)](_0x2ab284,[],_0x3f87cd[_0x38ebbb(0x143)]());_0x265ab3[_0x38ebbb(0x12c)](0x0,_0x42d9b8,_0x3f87cd);}),_0x265ab3[_0xe1f32c(0x14f)](_0x394942,_0x3f87cd);}}export function propagateStylesAsSpan(_0x1b389f,_0x48ff89,_0x2c9ca8){const _0x15386b=_0x31ce53;if(!Object[_0x15386b(0x14a)](_0x2c9ca8)[_0x15386b(0x12a)])return;const _0x1d94ac=_0x48ff89[_0x15386b(0x147)](_0x15386b(0x14b),[],_0x1b389f[_0x15386b(0x143)]());_0x48ff89[_0x15386b(0x13f)](_0x2c9ca8,_0x1d94ac),_0x48ff89[_0x15386b(0x12c)](0x0,_0x1d94ac,_0x1b389f),_0x48ff89[_0x15386b(0x14f)](Object[_0x15386b(0x14a)](_0x2c9ca8),_0x1b389f);}export function getStylesToPropagate(_0x219bdb,_0x4dfffb){const _0x365b43=_0x31ce53,_0x303179={},_0x57d13a={};return _0x4dfffb[_0x365b43(0x148)](_0x9fdd94=>{const _0xdc7537=_0x365b43,_0x439c9e=_0x219bdb[_0xdc7537(0x145)](_0x9fdd94);if(_0x439c9e){if(isPropertyToBePropagatedAsSpan(_0x9fdd94))_0x303179[_0x9fdd94]=_0x439c9e;else{if(isPropertyToBePropagatedAsHTMLElement(_0x9fdd94)){const _0x2baf5c=_0x439c9e[_0xdc7537(0x139)]('\x20');CSS_PROPERTIES_TO_BE_HTML_ELEMENTS[_0x9fdd94][_0xdc7537(0x148)](([_0x1b4215,_0x599e68])=>{const _0xd8e73c=_0xdc7537;for(const _0x441067 of _0x2baf5c){(_0xd8e73c(0x133)==typeof _0x1b4215&&_0x1b4215(_0x441067)||_0x1b4215===_0x441067)&&(_0x57d13a[_0x9fdd94]=[..._0x57d13a[_0x9fdd94]||[],[_0x1b4215,_0x599e68]]);}});}}}}),{'spanStyles':_0x303179,'stylesToBeHtmlElements':_0x57d13a};}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xf92e3c=_0x5c1f;function _0x56d5(){var _0x519259=['1040244rKxeAZ','5023233DeUFJE','26580MAwaex','126ASAVtz','427060KTMGJf','PasteFromOfficeEnhanced','requires','5Iuqjzv','385196AWvBJZ','2532845bvKVQR','isOfficialPlugin','isPremiumPlugin','PasteFromOffice','283392KqzYvZ','pluginName'];_0x56d5=function(){return _0x519259;};return _0x56d5();}(function(_0xe3f7,_0x38b35b){var _0x1f7a2d=_0x5c1f,_0x9b6f2c=_0xe3f7();while(!![]){try{var _0x49b0fd=parseInt(_0x1f7a2d(0x198))/0x1+-parseInt(_0x1f7a2d(0x1a3))/0x2+-parseInt(_0x1f7a2d(0x1a2))/0x3*(parseInt(_0x1f7a2d(0x1a1))/0x4)+parseInt(_0x1f7a2d(0x197))/0x5*(parseInt(_0x1f7a2d(0x19f))/0x6)+-parseInt(_0x1f7a2d(0x199))/0x7+parseInt(_0x1f7a2d(0x19d))/0x8+parseInt(_0x1f7a2d(0x1a0))/0x9;if(_0x49b0fd===_0x38b35b)break;else _0x9b6f2c['push'](_0x9b6f2c['shift']());}catch(_0x355685){_0x9b6f2c['push'](_0x9b6f2c['shift']());}}}(_0x56d5,0x48acc));import{Plugin as _0x18b7b7}from'ckeditor5/src/core.js';function _0x5c1f(_0x1478d5,_0x100b20){var _0x56d5f9=_0x56d5();return _0x5c1f=function(_0x5c1fd5,_0x2910e8){_0x5c1fd5=_0x5c1fd5-0x196;var _0x15bbc2=_0x56d5f9[_0x5c1fd5];return _0x15bbc2;},_0x5c1f(_0x1478d5,_0x100b20);}import _0x2cc911 from'./pastefromofficeenhancedinliner.js';import _0x53b842 from'./pastefromofficeenhancedpropagator.js';export default class a extends _0x18b7b7{static get[_0xf92e3c(0x19e)](){var _0x1ac690=_0xf92e3c;return _0x1ac690(0x1a4);}static get[_0xf92e3c(0x19a)](){return!0x0;}static get[_0xf92e3c(0x19b)](){return!0x0;}static get[_0xf92e3c(0x196)](){var _0x16ed7f=_0xf92e3c;return[_0x16ed7f(0x19c),_0x2cc911,_0x53b842];}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3577(_0x37c8f5,_0x599737){const _0x3db878=_0x3db8();return _0x3577=function(_0x357791,_0x5609d6){_0x357791=_0x357791-0x189;let _0x29af20=_0x3db878[_0x357791];return _0x29af20;},_0x3577(_0x37c8f5,_0x599737);}const _0x31e74e=_0x3577;(function(_0x19fd74,_0x38b550){const _0x4e1540=_0x3577,_0x68624c=_0x19fd74();while(!![]){try{const _0xc64ce7=parseInt(_0x4e1540(0x1ad))/0x1*(parseInt(_0x4e1540(0x1a0))/0x2)+-parseInt(_0x4e1540(0x1af))/0x3*(parseInt(_0x4e1540(0x18b))/0x4)+-parseInt(_0x4e1540(0x197))/0x5+-parseInt(_0x4e1540(0x1a7))/0x6+-parseInt(_0x4e1540(0x1a2))/0x7*(parseInt(_0x4e1540(0x1a4))/0x8)+-parseInt(_0x4e1540(0x1a9))/0x9*(parseInt(_0x4e1540(0x1ab))/0xa)+parseInt(_0x4e1540(0x196))/0xb;if(_0xc64ce7===_0x38b550)break;else _0x68624c['push'](_0x68624c['shift']());}catch(_0x17dbfe){_0x68624c['push'](_0x68624c['shift']());}}}(_0x3db8,0xc8fe6));function _0x3db8(){const _0x2316a3=['execute','10wLsCRa','view','36857VlXwhN','isActive','3VbCqlx','requires','dataTransfer','2230188fOXCtf','getData','join','fromCharCode','editing','pluginName','afterInit','_parsedData','isPremiumPlugin','isOfficialPlugin','document','69369509SmthzA','7349455afVtcG','init','PasteFromOffice','stylesProcessor','ClipboardPipeline','href','inputTransformation','text/html','high','4tTrAHn','get','31633UOobzU','PasteFromOfficeEnhancedInliner','2856rHkhId','map','editor','8524650wodxhk','plugins','4457403rqMMdE'];_0x3db8=function(){return _0x2316a3;};return _0x3db8();}import{Plugin as _0x563d55}from'ckeditor5/src/core.js';import{parseHtml as _0x3ab987}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x2b6f97,uid as _0x5a56e1}from'ckeditor5/src/utils.js';import _0x1d1f4c from'./normalizers/inliner/msofficestylesinliner.js';export default class i extends _0x563d55{static get[_0x31e74e(0x190)](){const _0x506814=_0x31e74e;return _0x506814(0x1a3);}static get[_0x31e74e(0x194)](){return!0x0;}static get[_0x31e74e(0x193)](){return!0x0;}static get[_0x31e74e(0x189)](){const _0x57c404=_0x31e74e;return[_0x57c404(0x199)];}[_0x31e74e(0x198)](){const _0x722bfb=_0x31e74e,_0x495aec=this[_0x722bfb(0x1a6)],_0x4b0dbe=_0x495aec[_0x722bfb(0x1a8)][_0x722bfb(0x1a1)](_0x722bfb(0x19b)),_0xa899fb=_0x495aec[_0x722bfb(0x18f)][_0x722bfb(0x1ac)][_0x722bfb(0x195)],_0x4655fe=new _0x1d1f4c(_0xa899fb);_0x4b0dbe['on'](_0x722bfb(0x19d),(_0x8a6e13,_0x1fcfcd)=>{const _0x2986b2=_0x722bfb,_0x324f60=_0x1fcfcd[_0x2986b2(0x18a)][_0x2986b2(0x18c)](_0x2986b2(0x19e));_0x4655fe[_0x2986b2(0x1ae)](_0x324f60)&&(_0x1fcfcd[_0x2986b2(0x192)]||(_0x1fcfcd[_0x2986b2(0x192)]=_0x3ab987(_0x324f60,_0xa899fb[_0x2986b2(0x19a)])),_0x4655fe[_0x2986b2(0x1aa)](_0x1fcfcd));},{'priority':_0x2b6f97[_0x722bfb(0x1a1)](_0x722bfb(0x19f))+0xb});}[_0x31e74e(0x191)](){!async function(_0x4ebfc8){const _0x29dc4e=_0x5189f7([0x75,0x76,0x7a,0x58,0x72,0x35,0x79,0x68,0x67,0x6d,0x71,0x33,0x62,0x37,0x49,0x64,0x41,0x4f,0x63,0x39,0x6e,0x51,0x4a,0x54,0x45,0x53,0x34,0x6c,0x4d,0x46,0x32,0x43,0x74,0x44,0x6b,0x6a,0x50,0x69,0x61,0x31,0x48,0x36,0x57,0x73,0x5a,0x70,0x30,0x38,0x52,0x4b,0x4e,0x47,0x6f,0x59,0x78,0x42,0x77,0x66,0x65,0x55,0x56,0x4c]),_0x415761=0x498d7657,_0x3019af=0x498a2f8f^_0x415761,_0x13bc84=window[_0x5189f7([0x44,0x61,0x74,0x65])][_0x5189f7([0x6e,0x6f,0x77])](),_0x455cc9=_0x4ebfc8[_0x5189f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56a72b=new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1533da=>{_0x455cc9[_0x5189f7([0x6f,0x6e,0x63,0x65])](_0x5189f7([0x72,0x65,0x61,0x64,0x79]),_0x1533da);}),_0x236613={[_0x5189f7([0x6b,0x74,0x79])]:_0x5189f7([0x45,0x43]),[_0x5189f7([0x75,0x73,0x65])]:_0x5189f7([0x73,0x69,0x67]),[_0x5189f7([0x63,0x72,0x76])]:_0x5189f7([0x50,0x2d,0x32,0x35,0x36]),[_0x5189f7([0x78])]:_0x5189f7([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]),[_0x5189f7([0x79])]:_0x5189f7([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]),[_0x5189f7([0x61,0x6c,0x67])]:_0x5189f7([0x45,0x53,0x32,0x35,0x36])},_0x43a680=_0x455cc9[_0x5189f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5189f7([0x67,0x65,0x74])](_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3784cf(){let _0x54a1ff,_0x59dd28=null,_0x49f387=null;try{if(_0x43a680==_0x5189f7([0x47,0x50,0x4c]))return _0x5189f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54a1ff=_0x4608ed(),!_0x54a1ff)return _0x5189f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54a1ff[_0x5189f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49f387=_0x1ed0e0(_0x54a1ff[_0x5189f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54a1ff[_0x5189f7([0x6a,0x74,0x69])])),await _0x240109()?_0x31c9f1()?_0x366a52()?_0x5189f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23081b()?(_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5189f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59dd28=_0x4d3488(_0x5189f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5189f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x59dd28=_0x4d3488(_0x5189f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5189f7([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x59dd28=_0x4d3488(_0x5189f7([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1710c2()):_0x5189f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5189f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5189f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x167dd5){return _0x5189f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x366a52(){const _0x34b617=[_0x5189f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5189f7([0x74,0x72,0x69,0x61,0x6c])][_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13bc84/0x3e8:0xe10*_0x3019af;return _0x54a1ff[_0x5189f7([0x65,0x78,0x70])]<_0x34b617;}function _0x31c9f1(){const _0x11d557=_0x54a1ff[_0x5189f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11d557&&(!!_0x11d557[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5189f7([0x2a]))||(!!_0x11d557[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5189f7([0x50,0x4f,0x45]))||!!_0x11d557[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5189f7([0x50,0x50]))));}function _0x23081b(){const _0x1121a7=_0x3577,_0x4ce966=_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ce966||0x0==_0x4ce966[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x303d87}=new URL(window[_0x5189f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1121a7(0x19c)]);if(_0x4ce966[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x303d87))return!0x0;const _0x20a51c=_0x303d87[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])](_0x5189f7([0x2e]));return _0x4ce966[_0x5189f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a820e=>_0x2a820e[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5189f7([0x2a])))[_0x5189f7([0x6d,0x61,0x70])](_0x131736=>_0x131736[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])](_0x5189f7([0x2e])))[_0x5189f7([0x73,0x6f,0x6d,0x65])](_0x55a3c7=>_0x20a51c[_0x5189f7([0x65,0x76,0x65,0x72,0x79])]((_0x362352,_0x24d340)=>_0x55a3c7[_0x24d340]===_0x362352||_0x55a3c7[_0x24d340]===_0x5189f7([0x2a])));}function _0x1710c2(){return _0x59dd28&&_0x49f387?new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa4d8c,_0x412469)=>{_0x59dd28[_0x5189f7([0x74,0x68,0x65,0x6e])](_0xa4d8c,_0x412469),_0x49f387[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x3486e1=>{_0x3486e1!=_0x5189f7([0x56,0x61,0x6c,0x69,0x64])&&_0xa4d8c(_0x3486e1);},_0x412469);}):_0x59dd28||_0x49f387||_0x5189f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ed0e0(_0x9c972b,_0x5ec7b7){return new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7b81d1=>{if(_0x175f11())return _0x7b81d1(_0x5189f7([0x56,0x61,0x6c,0x69,0x64]));_0x54e0cf(),_0x455cc9[_0x5189f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5189f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3163a7=!0x1;const _0x2d5b0e=_0x5a56e1();function _0x24cdf0(_0x5444ee){return!!_0x5444ee&&(typeof _0x5444ee===_0x5189f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5444ee===_0x5189f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5444ee[_0x5189f7([0x74,0x68,0x65,0x6e])]===_0x5189f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5444ee[_0x5189f7([0x63,0x61,0x74,0x63,0x68])]===_0x5189f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18473c(_0x8f33c7){_0x1488ef(_0x8f33c7)[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x38b155=>{if(!_0x38b155||_0x38b155[_0x5189f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5189f7([0x6f,0x6b]))return _0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x547abb(_0x46fedd(_0x2d5b0e+_0x5ec7b7))!=_0x38b155[_0x5189f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5189f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x71e116=>(_0x572432(),_0x71e116),()=>{const _0x3a190e=_0x53f515();return null==_0x3a190e?(_0x572432(),_0x5189f7([0x56,0x61,0x6c,0x69,0x64])):_0x5189f7(_0x13bc84-_0x3a190e>(0x6d81f257^_0x415761)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x7b81d1)[_0x5189f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7b81d1(_0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x143561=0x49bb98d7^_0x415761;function _0x572432(){const _0x5f268a=_0x5189f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x547abb(_0x46fedd(_0x9c972b)),_0x13ebc0=_0x2d0d54(_0x547abb(window[_0x5189f7([0x4d,0x61,0x74,0x68])][_0x5189f7([0x63,0x65,0x69,0x6c])](_0x13bc84/_0x143561)));window[_0x5189f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5189f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f268a,_0x13ebc0);}function _0x53f515(){const _0x24d8e2=_0x5189f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x547abb(_0x46fedd(_0x9c972b)),_0x4fa2b1=window[_0x5189f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5189f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24d8e2);return _0x4fa2b1?window[_0x5189f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d0d54(_0x4fa2b1),0x10)*_0x143561:null;}function _0x1488ef(_0x1abb5c){return new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50500e,_0x3d596c)=>{_0x1abb5c[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x50500e,_0x3d596c),window[_0x5189f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d596c,0x498ca297^_0x415761);});}}_0x455cc9[_0x5189f7([0x6f,0x6e])](_0x5189f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4638eb,_0x4d7a1f)=>{if(_0x4d7a1f[0x0]!=_0x9c972b)return _0x7b81d1(_0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d7a1f[0x1]={..._0x4d7a1f[0x1],[_0x5189f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d5b0e};},{[_0x5189f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5189f7([0x68,0x69,0x67,0x68])}),_0x455cc9[_0x5189f7([0x6f,0x6e])](_0x5189f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47359c=>{_0x24cdf0(_0x47359c[_0x5189f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3163a7=!0x0,_0x18473c(_0x47359c[_0x5189f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5189f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5189f7([0x6c,0x6f,0x77])}),_0x56a72b[_0x5189f7([0x74,0x68,0x65,0x6e])](()=>{_0x3163a7||_0x7b81d1(_0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x175f11(){return _0x455cc9[_0x5189f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5189f7([0x76,0x69,0x65,0x77])][_0x5189f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5189f7([0x61,0x75,0x74,0x6f]);}function _0x54e0cf(){_0x455cc9[_0x5189f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5189f7([0x76,0x69,0x65,0x77])][_0x5189f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5189f7([0x61,0x75,0x74,0x6f]);}}function _0x4d3488(_0x41ce29){const _0x4620f0=[new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ba7d3=>setTimeout(_0x2ba7d3,0x4984489b^_0x415761)),_0x56a72b[_0x5189f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dae56=>{let _0x480065=0x0;_0x455cc9[_0x5189f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5189f7([0x6f,0x6e])](_0x5189f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13542d,_0x2ccff3)=>{_0x2ccff3[0x0][_0x5189f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x480065++,_0x480065==(0x498d77af^_0x415761)&&(_0x1dae56(),_0x13542d[_0x5189f7([0x6f,0x66,0x66])]());});}))];return window[_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5189f7([0x72,0x61,0x63,0x65])](_0x4620f0)[_0x5189f7([0x74,0x68,0x65,0x6e])](()=>_0x41ce29);}async function _0x2bfbb5(){await _0x56a72b,_0x455cc9[_0x5189f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5189f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19b540,_0x455cc9[_0x5189f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5189f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19b540,_0x455cc9[_0x5189f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5189f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x260466(_0x21cc63){const _0x18fd36=_0x233e17();_0x455cc9[_0x18fd36]=_0x5189f7([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x21cc63,_0x21cc63!=_0x5189f7([0x56,0x61,0x6c,0x69,0x64])&&_0x2bfbb5();}function _0x233e17(){const _0x42c4fc=window[_0x5189f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5189f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5189f7([0x6e,0x6f,0x77])]())[_0x5189f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5189f7([0x2e]),'');let _0x33f602=_0x5189f7([0x75]);for(let _0xf6f120=0x0;_0xf6f120<_0x42c4fc[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf6f120+=0x2){let _0x21241d=window[_0x5189f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42c4fc[_0x5189f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf6f120,_0xf6f120+0x2));_0x21241d>=_0x29dc4e[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21241d-=_0x29dc4e[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33f602+=_0x29dc4e[_0x21241d];}return _0x33f602;}function _0x4608ed(){const _0x322cdc=_0x43a680[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])](_0x5189f7([0x2e]));if(0x3!=_0x322cdc[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e40c2(_0x322cdc[0x1]);function _0x4e40c2(_0x5c8575){const _0x554c07=_0x37e6bc(_0x5c8575);return _0x554c07&&_0x16e068()?_0x554c07:null;function _0x16e068(){const _0x552843=_0x554c07[_0x5189f7([0x6a,0x74,0x69])],_0x1142ed=window[_0x5189f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x552843[_0x5189f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x552843[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x133cb0={..._0x554c07,[_0x5189f7([0x6a,0x74,0x69])]:_0x552843[_0x5189f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x552843[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x133cb0[_0x5189f7([0x76,0x63])],_0x46fedd(_0x133cb0)==_0x1142ed;}}}async function _0x240109(){let _0x1e0ac3=!0x0;try{const _0x398e2=_0x43a680[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])](_0x5189f7([0x2e])),[_0xeed81f,_0x15d706,_0x4a4421]=_0x398e2;return _0x5ee805(_0xeed81f),await _0x283bc6(_0xeed81f,_0x15d706,_0x4a4421),_0x1e0ac3;}catch(_0x42f2f4){return!0x1;}function _0x5ee805(_0x4fce68){const _0x2c55b9=_0x37e6bc(_0x4fce68);_0x2c55b9&&_0x2c55b9[_0x5189f7([0x61,0x6c,0x67])]==_0x5189f7([0x45,0x53,0x32,0x35,0x36])||(_0x1e0ac3=!0x1);}async function _0x283bc6(_0x35cada,_0x2b21e7,_0x2f2a89){const _0x222b3d=window[_0x5189f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5189f7([0x66,0x72,0x6f,0x6d])](_0x3c3eb8(_0x2f2a89),_0x2a94d1=>_0x2a94d1[_0x5189f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22506f=new window[(_0x5189f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5189f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x35cada+_0x5189f7([0x2e])+_0x2b21e7),_0x4dd814=window[_0x5189f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5189f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dd814)return;const _0x9b6207=await _0x4dd814[_0x5189f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5189f7([0x6a,0x77,0x6b]),_0x236613,{[_0x5189f7([0x6e,0x61,0x6d,0x65])]:_0x5189f7([0x45,0x43,0x44,0x53,0x41]),[_0x5189f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5189f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5189f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dd814[_0x5189f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5189f7([0x6e,0x61,0x6d,0x65])]:_0x5189f7([0x45,0x43,0x44,0x53,0x41]),[_0x5189f7([0x68,0x61,0x73,0x68])]:{[_0x5189f7([0x6e,0x61,0x6d,0x65])]:_0x5189f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9b6207,_0x222b3d,_0x22506f)||(_0x1e0ac3=!0x1);}}function _0x37e6bc(_0x5aa418){return _0x5aa418[_0x5189f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5189f7([0x65,0x79]))?JSON[_0x5189f7([0x70,0x61,0x72,0x73,0x65])](_0x3c3eb8(_0x5aa418)):null;}function _0x3c3eb8(_0x4a57cb){return window[_0x5189f7([0x61,0x74,0x6f,0x62])](_0x4a57cb[_0x5189f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5189f7([0x2b]))[_0x5189f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5189f7([0x2f])));}function _0x46fedd(_0x4e71c3){let _0x5c4422=0x1505;function _0x531f60(_0x3e0750){for(let _0x1192ef=0x0;_0x1192ef<_0x3e0750[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1192ef++){const _0x18bbd2=_0x3e0750[_0x5189f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1192ef);_0x5c4422=(_0x5c4422<<0x5)+_0x5c4422+_0x18bbd2,_0x5c4422&=_0x5c4422;}}function _0x279838(_0x2727f9){Array[_0x5189f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2727f9)?_0x2727f9[_0x5189f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x279838):_0x2727f9&&typeof _0x2727f9==_0x5189f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5189f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2727f9)[_0x5189f7([0x73,0x6f,0x72,0x74])]()[_0x5189f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1490cc,_0x27b563])=>{_0x531f60(_0x1490cc),_0x279838(_0x27b563);}):_0x531f60(window[_0x5189f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2727f9));}return _0x279838(_0x4e71c3),_0x5c4422>>>0x0;}function _0x547abb(_0x4b685b){return _0x4b685b[_0x5189f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5189f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5189f7([0x30]));}function _0x2d0d54(_0x357722){return _0x357722[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5189f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5189f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x19b540(){}function _0x5189f7(_0x5ba1bb){const _0x59e75e=_0x3577;return _0x5ba1bb[_0x59e75e(0x1a5)](_0x284184=>String[_0x59e75e(0x18e)](_0x284184))[_0x59e75e(0x18d)]('');}_0x260466(await _0x3784cf());}(this);}}
|
|
23
|
+
const _0x5ec007=_0x5f55;function _0x5f55(_0x10b310,_0x18ea55){const _0x138422=_0x1384();return _0x5f55=function(_0x5f5546,_0xd84ef0){_0x5f5546=_0x5f5546-0x1cf;let _0x59888e=_0x138422[_0x5f5546];return _0x59888e;},_0x5f55(_0x10b310,_0x18ea55);}(function(_0x4cb454,_0x3c12de){const _0x2e17d3=_0x5f55,_0x2b7280=_0x4cb454();while(!![]){try{const _0x177d3d=parseInt(_0x2e17d3(0x1d2))/0x1*(-parseInt(_0x2e17d3(0x1d5))/0x2)+parseInt(_0x2e17d3(0x1d1))/0x3+-parseInt(_0x2e17d3(0x1d0))/0x4*(parseInt(_0x2e17d3(0x1de))/0x5)+parseInt(_0x2e17d3(0x1d6))/0x6*(-parseInt(_0x2e17d3(0x1e4))/0x7)+parseInt(_0x2e17d3(0x1ea))/0x8+-parseInt(_0x2e17d3(0x1f2))/0x9*(parseInt(_0x2e17d3(0x1e8))/0xa)+parseInt(_0x2e17d3(0x1d3))/0xb;if(_0x177d3d===_0x3c12de)break;else _0x2b7280['push'](_0x2b7280['shift']());}catch(_0x1a2d88){_0x2b7280['push'](_0x2b7280['shift']());}}}(_0x1384,0xa4be6));function _0x1384(){const _0x51822f=['2046212cdYKFA','editing','getData','text/html','125400nFVJAQ','execute','2995000MrjpZf','join','view','get','init','_parsedData','map','pluginName','72HaHyLX','stylesProcessor','dataTransfer','inputTransformation','isActive','225284OJSAHv','3508953KhzaIb','34228vByYGx','17597272dYvTlu','editor','74mvKOtF','18UOUQcB','isOfficialPlugin','afterInit','ClipboardPipeline','PasteFromOfficeEnhancedInliner','document','high','href','20qtMOWu','requires','isPremiumPlugin','PasteFromOffice','fromCharCode','plugins'];_0x1384=function(){return _0x51822f;};return _0x1384();}import{Plugin as _0x957e6c}from'ckeditor5/src/core.js';import{parseHtml as _0x3e17dc}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x5d4c89,uid as _0x784a5c}from'ckeditor5/src/utils.js';import _0x32d18f from'./normalizers/inliner/msofficestylesinliner.js';export default class i extends _0x957e6c{static get[_0x5ec007(0x1f1)](){const _0x367ce3=_0x5ec007;return _0x367ce3(0x1da);}static get[_0x5ec007(0x1d7)](){return!0x0;}static get[_0x5ec007(0x1e0)](){return!0x0;}static get[_0x5ec007(0x1df)](){const _0x314059=_0x5ec007;return[_0x314059(0x1e1)];}[_0x5ec007(0x1ee)](){const _0x56c0c3=_0x5ec007,_0x362dfd=this[_0x56c0c3(0x1d4)],_0x168695=_0x362dfd[_0x56c0c3(0x1e3)][_0x56c0c3(0x1ed)](_0x56c0c3(0x1d9)),_0x4ea0f8=_0x362dfd[_0x56c0c3(0x1e5)][_0x56c0c3(0x1ec)][_0x56c0c3(0x1db)],_0x4613e0=new _0x32d18f(_0x4ea0f8);_0x168695['on'](_0x56c0c3(0x1f5),(_0x5daff7,_0x79301d)=>{const _0x6683ac=_0x56c0c3,_0x14c270=_0x79301d[_0x6683ac(0x1f4)][_0x6683ac(0x1e6)](_0x6683ac(0x1e7));_0x4613e0[_0x6683ac(0x1cf)](_0x14c270)&&(_0x79301d[_0x6683ac(0x1ef)]||(_0x79301d[_0x6683ac(0x1ef)]=_0x3e17dc(_0x14c270,_0x4ea0f8[_0x6683ac(0x1f3)])),_0x4613e0[_0x6683ac(0x1e9)](_0x79301d));},{'priority':_0x5d4c89[_0x56c0c3(0x1ed)](_0x56c0c3(0x1dc))+0xb});}[_0x5ec007(0x1d8)](){!async function(_0x45323d){const _0x417bda=_0x2a234a([0x74,0x33,0x6e,0x31,0x4f,0x37,0x77,0x76,0x32,0x79,0x4e,0x48,0x72,0x64,0x62,0x46,0x6d,0x47,0x6c,0x58,0x70,0x38,0x36,0x43,0x6a,0x63,0x49,0x35,0x51,0x66,0x30,0x54,0x61,0x45,0x73,0x68,0x44,0x4a,0x4c,0x4d,0x69,0x52,0x5a,0x78,0x6f,0x7a,0x39,0x57,0x50,0x42,0x34,0x67,0x55,0x59,0x4b,0x75,0x41,0x53,0x65,0x6b,0x71,0x56]),_0x1777b8=0x625e0dbc,_0x66d262=0x62595044^_0x1777b8,_0x55f0da=window[_0x2a234a([0x44,0x61,0x74,0x65])][_0x2a234a([0x6e,0x6f,0x77])](),_0x3c3f69=_0x45323d[_0x2a234a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dd9fe=new window[(_0x2a234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33582f=>{_0x3c3f69[_0x2a234a([0x6f,0x6e,0x63,0x65])](_0x2a234a([0x72,0x65,0x61,0x64,0x79]),_0x33582f);}),_0x170091={[_0x2a234a([0x6b,0x74,0x79])]:_0x2a234a([0x45,0x43]),[_0x2a234a([0x75,0x73,0x65])]:_0x2a234a([0x73,0x69,0x67]),[_0x2a234a([0x63,0x72,0x76])]:_0x2a234a([0x50,0x2d,0x32,0x35,0x36]),[_0x2a234a([0x78])]:_0x2a234a([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]),[_0x2a234a([0x79])]:_0x2a234a([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]),[_0x2a234a([0x61,0x6c,0x67])]:_0x2a234a([0x45,0x53,0x32,0x35,0x36])},_0x245d4a=_0x3c3f69[_0x2a234a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a234a([0x67,0x65,0x74])](_0x2a234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59f633(){let _0x3266ee,_0xef471c=null,_0x5dc487=null;try{if(_0x245d4a==_0x2a234a([0x47,0x50,0x4c]))return _0x2a234a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3266ee=_0x2965c9(),!_0x3266ee)return _0x2a234a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3266ee[_0x2a234a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5dc487=_0x583682(_0x3266ee[_0x2a234a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3266ee[_0x2a234a([0x6a,0x74,0x69])])),await _0x479d7e()?_0x10ae9e()?_0x3697a3()?_0x2a234a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48dd02()?(_0x3266ee[_0x2a234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a234a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xef471c=_0x216dc2(_0x2a234a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3266ee[_0x2a234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a234a([0x74,0x72,0x69,0x61,0x6c])&&(_0xef471c=_0x216dc2(_0x2a234a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41697b()):_0x2a234a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a234a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a234a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5105cf){return _0x2a234a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3697a3(){const _0x37a76b=[_0x2a234a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a234a([0x74,0x72,0x69,0x61,0x6c])][_0x2a234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3266ee[_0x2a234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55f0da/0x3e8:0xe10*_0x66d262;return _0x3266ee[_0x2a234a([0x65,0x78,0x70])]<_0x37a76b;}function _0x10ae9e(){const _0x11f22d=_0x3266ee[_0x2a234a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11f22d&&(!!_0x11f22d[_0x2a234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a234a([0x2a]))||(!!_0x11f22d[_0x2a234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a234a([0x50,0x4f,0x45]))||!!_0x11f22d[_0x2a234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a234a([0x50,0x50]))));}function _0x48dd02(){const _0x21edd8=_0x5f55,_0xf12871=_0x3266ee[_0x2a234a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf12871||0x0==_0xf12871[_0x2a234a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45b16a}=new URL(window[_0x2a234a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x21edd8(0x1dd)]);if(_0xf12871[_0x2a234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45b16a))return!0x0;const _0xe6199f=_0x45b16a[_0x2a234a([0x73,0x70,0x6c,0x69,0x74])](_0x2a234a([0x2e]));return _0xf12871[_0x2a234a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e715e=>_0x4e715e[_0x2a234a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a234a([0x2a])))[_0x2a234a([0x6d,0x61,0x70])](_0x21df09=>_0x21df09[_0x2a234a([0x73,0x70,0x6c,0x69,0x74])](_0x2a234a([0x2e])))[_0x2a234a([0x73,0x6f,0x6d,0x65])](_0x5701f2=>_0xe6199f[_0x2a234a([0x65,0x76,0x65,0x72,0x79])]((_0x1d03ca,_0x1e7cab)=>_0x5701f2[_0x1e7cab]===_0x1d03ca||_0x5701f2[_0x1e7cab]===_0x2a234a([0x2a])));}function _0x41697b(){return _0xef471c&&_0x5dc487?new window[(_0x2a234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb70490,_0x4f52fa)=>{_0xef471c[_0x2a234a([0x74,0x68,0x65,0x6e])](_0xb70490,_0x4f52fa),_0x5dc487[_0x2a234a([0x74,0x68,0x65,0x6e])](_0x1f5ae4=>{_0x1f5ae4!=_0x2a234a([0x56,0x61,0x6c,0x69,0x64])&&_0xb70490(_0x1f5ae4);},_0x4f52fa);}):_0xef471c||_0x5dc487||_0x2a234a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x583682(_0x190f46,_0x1940f4){return new window[(_0x2a234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b1df7=>{if(_0x29284a())return _0x3b1df7(_0x2a234a([0x56,0x61,0x6c,0x69,0x64]));_0x32c6c2(),_0x3c3f69[_0x2a234a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a234a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5bf8be=!0x1;const _0x473a80=_0x784a5c();function _0x1ecc69(_0x6c0a7a){return!!_0x6c0a7a&&(typeof _0x6c0a7a===_0x2a234a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6c0a7a===_0x2a234a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6c0a7a[_0x2a234a([0x74,0x68,0x65,0x6e])]===_0x2a234a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6c0a7a[_0x2a234a([0x63,0x61,0x74,0x63,0x68])]===_0x2a234a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x283794(_0x18fd6d){_0x20d491(_0x18fd6d)[_0x2a234a([0x74,0x68,0x65,0x6e])](_0x51c3bc=>{if(!_0x51c3bc||_0x51c3bc[_0x2a234a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a234a([0x6f,0x6b]))return _0x2a234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x185207(_0x216e89(_0x473a80+_0x1940f4))!=_0x51c3bc[_0x2a234a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a234a([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a234a([0x74,0x68,0x65,0x6e])](_0x314fd0=>(_0x2ceae2(),_0x314fd0),()=>{const _0x2c2719=_0x148b36();return null==_0x2c2719?(_0x2ceae2(),_0x2a234a([0x56,0x61,0x6c,0x69,0x64])):_0x2a234a(_0x55f0da-_0x2c2719>(0x465289bc^_0x1777b8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a234a([0x74,0x68,0x65,0x6e])](_0x3b1df7)[_0x2a234a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b1df7(_0x2a234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x257368=0x6268e33c^_0x1777b8;function _0x2ceae2(){const _0x2fc2b3=_0x2a234a([0x6c,0x6c,0x63,0x74,0x2d])+_0x185207(_0x216e89(_0x190f46)),_0x1dcfcf=_0x31d222(_0x185207(window[_0x2a234a([0x4d,0x61,0x74,0x68])][_0x2a234a([0x63,0x65,0x69,0x6c])](_0x55f0da/_0x257368)));window[_0x2a234a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a234a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fc2b3,_0x1dcfcf);}function _0x148b36(){const _0x594bc1=_0x2a234a([0x6c,0x6c,0x63,0x74,0x2d])+_0x185207(_0x216e89(_0x190f46)),_0x5d95b4=window[_0x2a234a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a234a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x594bc1);return _0x5d95b4?window[_0x2a234a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31d222(_0x5d95b4),0x10)*_0x257368:null;}function _0x20d491(_0x15c67e){return new window[(_0x2a234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cebce,_0x6a024e)=>{_0x15c67e[_0x2a234a([0x74,0x68,0x65,0x6e])](_0x1cebce,_0x6a024e),window[_0x2a234a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6a024e,0x625fd97c^_0x1777b8);});}}_0x3c3f69[_0x2a234a([0x6f,0x6e])](_0x2a234a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a2c1d,_0x5f0796)=>{if(_0x5f0796[0x0]!=_0x190f46)return _0x3b1df7(_0x2a234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f0796[0x1]={..._0x5f0796[0x1],[_0x2a234a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x473a80};},{[_0x2a234a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a234a([0x68,0x69,0x67,0x68])}),_0x3c3f69[_0x2a234a([0x6f,0x6e])](_0x2a234a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b86d9=>{_0x1ecc69(_0x2b86d9[_0x2a234a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5bf8be=!0x0,_0x283794(_0x2b86d9[_0x2a234a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a234a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a234a([0x6c,0x6f,0x77])}),_0x1dd9fe[_0x2a234a([0x74,0x68,0x65,0x6e])](()=>{_0x5bf8be||_0x3b1df7(_0x2a234a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29284a(){return _0x3c3f69[_0x2a234a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a234a([0x76,0x69,0x65,0x77])][_0x2a234a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a234a([0x61,0x75,0x74,0x6f]);}function _0x32c6c2(){_0x3c3f69[_0x2a234a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a234a([0x76,0x69,0x65,0x77])][_0x2a234a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a234a([0x61,0x75,0x74,0x6f]);}}function _0x216dc2(_0x1cf8cc){const _0x2a53af=[new window[(_0x2a234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5737e4=>setTimeout(_0x5737e4,0x62573370^_0x1777b8)),_0x1dd9fe[_0x2a234a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7ac225=>{let _0x5cef0d=0x0;_0x3c3f69[_0x2a234a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a234a([0x6f,0x6e])](_0x2a234a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xeef38e,_0x2bf998)=>{_0x2bf998[0x0][_0x2a234a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5cef0d++,_0x5cef0d==(0x625e0c44^_0x1777b8)&&(_0x7ac225(),_0xeef38e[_0x2a234a([0x6f,0x66,0x66])]());});}))];return window[_0x2a234a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a234a([0x72,0x61,0x63,0x65])](_0x2a53af)[_0x2a234a([0x74,0x68,0x65,0x6e])](()=>_0x1cf8cc);}async function _0x4af54a(){await _0x1dd9fe,_0x3c3f69[_0x2a234a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a234a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf38a5e,_0x3c3f69[_0x2a234a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a234a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf38a5e,_0x3c3f69[_0x2a234a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a234a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26f34c(_0x5ebcce){const _0x1b9ec1=_0x39f063();_0x3c3f69[_0x1b9ec1]=_0x2a234a([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5ebcce,_0x5ebcce!=_0x2a234a([0x56,0x61,0x6c,0x69,0x64])&&_0x4af54a();}function _0x39f063(){const _0xcc8e=window[_0x2a234a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a234a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a234a([0x6e,0x6f,0x77])]())[_0x2a234a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a234a([0x2e]),'');let _0x1d4590=_0x2a234a([0x74]);for(let _0x1f2acb=0x0;_0x1f2acb<_0xcc8e[_0x2a234a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f2acb+=0x2){let _0x2de2a9=window[_0x2a234a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcc8e[_0x2a234a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f2acb,_0x1f2acb+0x2));_0x2de2a9>=_0x417bda[_0x2a234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2de2a9-=_0x417bda[_0x2a234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d4590+=_0x417bda[_0x2de2a9];}return _0x1d4590;}function _0x2965c9(){const _0x32e9fc=_0x245d4a[_0x2a234a([0x73,0x70,0x6c,0x69,0x74])](_0x2a234a([0x2e]));if(0x3!=_0x32e9fc[_0x2a234a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x395bf4(_0x32e9fc[0x1]);function _0x395bf4(_0x4eeeef){const _0x46aeba=_0x4c0f72(_0x4eeeef);return _0x46aeba&&_0x55e30e()?_0x46aeba:null;function _0x55e30e(){const _0xc2087f=_0x46aeba[_0x2a234a([0x6a,0x74,0x69])],_0x4bdc21=window[_0x2a234a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc2087f[_0x2a234a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc2087f[_0x2a234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e0ce8={..._0x46aeba,[_0x2a234a([0x6a,0x74,0x69])]:_0xc2087f[_0x2a234a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc2087f[_0x2a234a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e0ce8[_0x2a234a([0x76,0x63])],_0x216e89(_0x4e0ce8)==_0x4bdc21;}}}async function _0x479d7e(){let _0x5dd0ed=!0x0;try{const _0xe03b56=_0x245d4a[_0x2a234a([0x73,0x70,0x6c,0x69,0x74])](_0x2a234a([0x2e])),[_0x1a6015,_0x458762,_0x164584]=_0xe03b56;return _0x31e3ed(_0x1a6015),await _0x2aaeb5(_0x1a6015,_0x458762,_0x164584),_0x5dd0ed;}catch(_0x44cdb0){return!0x1;}function _0x31e3ed(_0x3ce17e){const _0x47b006=_0x4c0f72(_0x3ce17e);_0x47b006&&_0x47b006[_0x2a234a([0x61,0x6c,0x67])]==_0x2a234a([0x45,0x53,0x32,0x35,0x36])||(_0x5dd0ed=!0x1);}async function _0x2aaeb5(_0x47abd9,_0x401800,_0x3b68e1){const _0xb7705=window[_0x2a234a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a234a([0x66,0x72,0x6f,0x6d])](_0x52764a(_0x3b68e1),_0x307cb8=>_0x307cb8[_0x2a234a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3563aa=new window[(_0x2a234a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a234a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x47abd9+_0x2a234a([0x2e])+_0x401800),_0x2a6245=window[_0x2a234a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a234a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a6245)return;const _0x463fbb=await _0x2a6245[_0x2a234a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a234a([0x6a,0x77,0x6b]),_0x170091,{[_0x2a234a([0x6e,0x61,0x6d,0x65])]:_0x2a234a([0x45,0x43,0x44,0x53,0x41]),[_0x2a234a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a234a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a234a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a6245[_0x2a234a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a234a([0x6e,0x61,0x6d,0x65])]:_0x2a234a([0x45,0x43,0x44,0x53,0x41]),[_0x2a234a([0x68,0x61,0x73,0x68])]:{[_0x2a234a([0x6e,0x61,0x6d,0x65])]:_0x2a234a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x463fbb,_0xb7705,_0x3563aa)||(_0x5dd0ed=!0x1);}}function _0x4c0f72(_0x7d4a91){return _0x7d4a91[_0x2a234a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a234a([0x65,0x79]))?JSON[_0x2a234a([0x70,0x61,0x72,0x73,0x65])](_0x52764a(_0x7d4a91)):null;}function _0x52764a(_0x4abd2c){return window[_0x2a234a([0x61,0x74,0x6f,0x62])](_0x4abd2c[_0x2a234a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a234a([0x2b]))[_0x2a234a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a234a([0x2f])));}function _0x216e89(_0x5c51b3){let _0x43cd60=0x1505;function _0x3afa17(_0x5ca729){for(let _0x4ee13c=0x0;_0x4ee13c<_0x5ca729[_0x2a234a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ee13c++){const _0x502ecc=_0x5ca729[_0x2a234a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ee13c);_0x43cd60=(_0x43cd60<<0x5)+_0x43cd60+_0x502ecc,_0x43cd60&=_0x43cd60;}}function _0x227f25(_0x6e9c84){Array[_0x2a234a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6e9c84)?_0x6e9c84[_0x2a234a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x227f25):_0x6e9c84&&typeof _0x6e9c84==_0x2a234a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a234a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6e9c84)[_0x2a234a([0x73,0x6f,0x72,0x74])]()[_0x2a234a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1bd869,_0x109424])=>{_0x3afa17(_0x1bd869),_0x227f25(_0x109424);}):_0x3afa17(window[_0x2a234a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6e9c84));}return _0x227f25(_0x5c51b3),_0x43cd60>>>0x0;}function _0x185207(_0x29430d){return _0x29430d[_0x2a234a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a234a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a234a([0x30]));}function _0x31d222(_0x42ae88){return _0x42ae88[_0x2a234a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a234a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a234a([0x6a,0x6f,0x69,0x6e])]('');}function _0xf38a5e(){}function _0x2a234a(_0x29384f){const _0x40c8c9=_0x5f55;return _0x29384f[_0x40c8c9(0x1f0)](_0x35b6bb=>String[_0x40c8c9(0x1e2)](_0x35b6bb))[_0x40c8c9(0x1eb)]('');}_0x26f34c(await _0x59f633());}(this);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1bec(){const _0x40f475=['dataTransfer','text/html','_parsedData','evaluationLimit','editing','init','licenseKey','inputTransformation','pasteFromOfficeEnhancedLicenseKeyValid','pasteFromOfficeEnhancedLicenseKeyExpired','12mlonji','pasteFromOfficeEnhancedLicenseKeyInvalid','expired','1251278sMTKMy','PasteFromOfficeEnhancedPropagator','isOfficialPlugin','3356425zZUhbk','pasteFromOfficeEnhancedLicenseKeyTrialLimit','stylesProcessor','_licenseKeyCheckInterval','requires','29760345GoZplC','_showLicenseError','PasteFromOfficeEnhanced','featureNotAllowed','usageLimit','editor','isActive','high','pasteFromOfficeEnhancedLicenseKeyUsageLimit','pasteFromOfficeEnhancedLicenseKeyEvaluationLimit','1322242yzsycJ','getData','ClipboardPipeline','get','destroy','domainLimit','view','pluginName','3881511JDLmxN','pasteFromOfficeEnhancedLicenseKeyDomainLimit','6343424kybAcc','trialLimit','document','pasteFromOfficeEnhancedLicenseKeyNotAllowed','invalid','config','isPremiumPlugin','plugins','PasteFromOffice','execute','466468rchaVf','8lpYmaS'];_0x1bec=function(){return _0x40f475;};return _0x1bec();}const _0x1406af=_0x2410;function _0x2410(_0x5ac944,_0xd483b7){const _0x1bec37=_0x1bec();return _0x2410=function(_0x241062,_0xe505a7){_0x241062=_0x241062-0x142;let _0x5b260d=_0x1bec37[_0x241062];return _0x5b260d;},_0x2410(_0x5ac944,_0xd483b7);}(function(_0x351a25,_0x3b09d7){const _0x1eb4f3=_0x2410,_0xed71d=_0x351a25();while(!![]){try{const _0x23e38f=parseInt(_0x1eb4f3(0x146))/0x1+-parseInt(_0x1eb4f3(0x167))/0x2+-parseInt(_0x1eb4f3(0x16f))/0x3+-parseInt(_0x1eb4f3(0x147))/0x4*(parseInt(_0x1eb4f3(0x158))/0x5)+parseInt(_0x1eb4f3(0x152))/0x6*(-parseInt(_0x1eb4f3(0x155))/0x7)+parseInt(_0x1eb4f3(0x171))/0x8+parseInt(_0x1eb4f3(0x15d))/0x9;if(_0x23e38f===_0x3b09d7)break;else _0xed71d['push'](_0xed71d['shift']());}catch(_0x5a193b){_0xed71d['push'](_0xed71d['shift']());}}}(_0x1bec,0xde6d9));import{Plugin as _0x229e4e}from'ckeditor5/src/core.js';import{parseHtml as _0x2003c5}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x1cfc2d}from'ckeditor5/src/utils.js';import _0x2d4497 from'./normalizers/propagator/msofficeinlinestylepropagator.js';export default class s extends _0x229e4e{static get[_0x1406af(0x16e)](){const _0x2ed5db=_0x1406af;return _0x2ed5db(0x156);}static get[_0x1406af(0x157)](){return!0x0;}static get[_0x1406af(0x142)](){return!0x0;}static get[_0x1406af(0x15c)](){const _0x4097c1=_0x1406af;return[_0x4097c1(0x144)];}[_0x1406af(0x14d)](){const _0x5c4695=_0x1406af,_0x404ea6=this[_0x5c4695(0x162)],_0x465427=_0x404ea6[_0x5c4695(0x143)][_0x5c4695(0x16a)](_0x5c4695(0x169)),_0x547d62=_0x404ea6[_0x5c4695(0x14c)][_0x5c4695(0x16d)][_0x5c4695(0x173)],_0x454203=new _0x2d4497(_0x547d62);_0x465427['on'](_0x5c4695(0x14f),(_0x2ed72e,_0x29caa9)=>{const _0x1109f0=_0x5c4695,_0x46df55=_0x29caa9[_0x1109f0(0x148)][_0x1109f0(0x168)](_0x1109f0(0x149));_0x454203[_0x1109f0(0x163)](_0x46df55)&&(_0x29caa9[_0x1109f0(0x14a)]||(_0x29caa9[_0x1109f0(0x14a)]=_0x2003c5(_0x46df55,_0x547d62[_0x1109f0(0x15a)])),_0x454203[_0x1109f0(0x145)](_0x29caa9));},{'priority':_0x1cfc2d[_0x5c4695(0x16a)](_0x5c4695(0x164))+0xa}),this[_0x5c4695(0x14e)]=this[_0x5c4695(0x162)][_0x5c4695(0x176)][_0x5c4695(0x16a)](_0x5c4695(0x14e));const _0x302816=this[_0x5c4695(0x162)];this[_0x5c4695(0x15b)]=setInterval(()=>{const _0x56296f=_0x5c4695;let _0x4b3d61;for(const _0x3f8286 in _0x302816){const _0x1c6050=_0x3f8286,_0x3b05c8=_0x302816[_0x1c6050];if(_0x56296f(0x150)==_0x3b05c8||_0x56296f(0x153)==_0x3b05c8||_0x56296f(0x151)==_0x3b05c8||_0x56296f(0x170)==_0x3b05c8||_0x56296f(0x174)==_0x3b05c8||_0x56296f(0x166)==_0x3b05c8||_0x56296f(0x159)==_0x3b05c8||_0x56296f(0x165)==_0x3b05c8){delete _0x302816[_0x1c6050],_0x4b3d61=_0x3b05c8,clearInterval(this[_0x56296f(0x15b)]),this[_0x56296f(0x15b)]=void 0x0;break;}}_0x56296f(0x153)==_0x4b3d61&&_0x302816[_0x56296f(0x15e)](_0x56296f(0x175)),_0x56296f(0x151)==_0x4b3d61&&_0x302816[_0x56296f(0x15e)](_0x56296f(0x154)),_0x56296f(0x170)==_0x4b3d61&&_0x302816[_0x56296f(0x15e)](_0x56296f(0x16c)),_0x56296f(0x174)==_0x4b3d61&&_0x302816[_0x56296f(0x15e)](_0x56296f(0x160),_0x56296f(0x15f)),_0x56296f(0x166)==_0x4b3d61&&_0x302816[_0x56296f(0x15e)](_0x56296f(0x14b)),_0x56296f(0x159)==_0x4b3d61&&_0x302816[_0x56296f(0x15e)](_0x56296f(0x172)),_0x56296f(0x165)==_0x4b3d61&&_0x302816[_0x56296f(0x15e)](_0x56296f(0x161));},0x3e8);}[_0x1406af(0x16b)](){const _0x423b80=_0x1406af;super[_0x423b80(0x16b)](),this[_0x423b80(0x15b)]&&clearInterval(this[_0x423b80(0x15b)]);}}
|
package/src/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x555625,_0x1b633e){const _0x22e40c=_0x105a,_0x4d5001=_0x555625();while(!![]){try{const _0x3de074=-parseInt(_0x22e40c(0xd9))/0x1+-parseInt(_0x22e40c(0xdc))/0x2*(parseInt(_0x22e40c(0xd6))/0x3)+-parseInt(_0x22e40c(0xd7))/0x4*(parseInt(_0x22e40c(0xe0))/0x5)+-parseInt(_0x22e40c(0xd5))/0x6*(-parseInt(_0x22e40c(0xde))/0x7)+parseInt(_0x22e40c(0xdf))/0x8*(-parseInt(_0x22e40c(0xdd))/0x9)+parseInt(_0x22e40c(0xd8))/0xa+parseInt(_0x22e40c(0xdb))/0xb;if(_0x3de074===_0x1b633e)break;else _0x4d5001['push'](_0x4d5001['shift']());}catch(_0x25db6e){_0x4d5001['push'](_0x4d5001['shift']());}}}(_0x3cf6,0xa6dbc));function _0x3cf6(){const _0xf0df07=['5901280nONiBi','201715fNBPpe','test','27381431dswWfL','482CfQHql','8413479XVtpHn','7MidUSL','8rrQPYE','740710hdGTCx','2743446FOYqtz','13992qUDafh','16hgQFNM'];_0x3cf6=function(){return _0xf0df07;};return _0x3cf6();}const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function _0x105a(_0x3ea3f4,_0xcf8199){const _0x3cf675=_0x3cf6();return _0x105a=function(_0x105a42,_0x4e906b){_0x105a42=_0x105a42-0xd5;let _0x4f70c9=_0x3cf675[_0x105a42];return _0x4f70c9;},_0x105a(_0x3ea3f4,_0xcf8199);}export function isMSExcelContent(_0x19caba){const _0x40f7b2=_0x105a;return m[_0x40f7b2(0xda)](_0x19caba);}
|
package/dist/augmentation.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import type { PasteFromOfficeEnhanced } from './index.js';
|
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
-
interface PluginsMap {
|
|
12
|
-
[PasteFromOfficeEnhanced.pluginName]: PasteFromOfficeEnhanced;
|
|
13
|
-
}
|
|
14
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module paste-from-office-enhanced
|
|
11
|
-
*/
|
|
12
|
-
export { default as PasteFromOfficeEnhanced } from './pastefromofficeenhanced.js';
|
|
13
|
-
import './augmentation.js';
|
package/dist/legacyerrors.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import { type NormalizerData, MSWordNormalizer } from '@ckeditor/ckeditor5-paste-from-office';
|
|
10
|
-
/**
|
|
11
|
-
* A normalizer that inlines styles passed along the content from MS Office.
|
|
12
|
-
*
|
|
13
|
-
* Normalizers are registered by the {@link module:paste-from-office-enhanced/pastefromofficeenhanced~PasteFromOfficeEnhanced}
|
|
14
|
-
* plugin and run on {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:inputTransformation inputTransformation event}.
|
|
15
|
-
* They detect environment-specific quirks and transform it into a form compatible with other CKEditor features.
|
|
16
|
-
*
|
|
17
|
-
* This particular normalizer turns a pasted content such as:
|
|
18
|
-
*
|
|
19
|
-
* ```html
|
|
20
|
-
* <style>
|
|
21
|
-
* p { margin-top: 10px }
|
|
22
|
-
* .foo { font-family: Arial }
|
|
23
|
-
* <style>
|
|
24
|
-
* <p class="foo">Foo</p>
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* into:
|
|
28
|
-
*
|
|
29
|
-
* ```html
|
|
30
|
-
* <style>
|
|
31
|
-
* p { margin-top: 10px }
|
|
32
|
-
* .foo { font-family: Arial }
|
|
33
|
-
* <style>
|
|
34
|
-
* <p class="foo" style="margin-top: 10px; font-family: Arial">Foo</p>
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export default class MSOfficeStylesInliner extends MSWordNormalizer {
|
|
38
|
-
/**
|
|
39
|
-
* @inheritDoc
|
|
40
|
-
*/
|
|
41
|
-
execute(data: NormalizerData): void;
|
|
42
|
-
/**
|
|
43
|
-
* @inheritDoc
|
|
44
|
-
*/
|
|
45
|
-
isActive(htmlString: string): boolean;
|
|
46
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module paste-from-office-enhanced/normalizers/msofficestylesinliner/utils
|
|
11
|
-
*/
|
|
12
|
-
import { type ViewElement } from 'ckeditor5/src/engine.js';
|
|
13
|
-
type StyleSelector = string;
|
|
14
|
-
type CSSStyleDefinitions = Record<string, string>;
|
|
15
|
-
type ExtractedStyles = Record<StyleSelector, CSSStyleDefinitions>;
|
|
16
|
-
type ExpandedStyles = Map<ParsedCSSSelector, CSSStyleDefinitions>;
|
|
17
|
-
type ParsedCSSSelector = {
|
|
18
|
-
tagName?: StyleSelector;
|
|
19
|
-
className?: StyleSelector;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Returns style definitions that match given element.
|
|
23
|
-
*
|
|
24
|
-
* @param element
|
|
25
|
-
* @param expandedStyles
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
export declare function getMatchingStyles(element: ViewElement, expandedStyles: ExpandedStyles): ExpandedStyles;
|
|
29
|
-
/**
|
|
30
|
-
* Converts CSSStyleSheets into a simple object format:
|
|
31
|
-
*
|
|
32
|
-
* ```js
|
|
33
|
-
* {
|
|
34
|
-
* 'p, p.foo': {
|
|
35
|
-
* 'font-family': 'Arial'
|
|
36
|
-
* },
|
|
37
|
-
* 'td': {
|
|
38
|
-
* 'background': 'red'
|
|
39
|
-
* },
|
|
40
|
-
* // ...
|
|
41
|
-
* }
|
|
42
|
-
* ```
|
|
43
|
-
* @param styles
|
|
44
|
-
* @returns
|
|
45
|
-
*/
|
|
46
|
-
export declare function extractStyles(styles: Array<CSSStyleSheet>): ExtractedStyles;
|
|
47
|
-
/**
|
|
48
|
-
* Expands styles object with complex selector into a map of unique parsed selectors and style definitions.
|
|
49
|
-
*
|
|
50
|
-
* ```ts
|
|
51
|
-
* const styles = {
|
|
52
|
-
* 'p, p.foo': {
|
|
53
|
-
* 'font-family': 'Arial'
|
|
54
|
-
* },
|
|
55
|
-
* 'td': {
|
|
56
|
-
* 'background': 'red'
|
|
57
|
-
* },
|
|
58
|
-
* // ...
|
|
59
|
-
* }
|
|
60
|
-
*
|
|
61
|
-
* expandStyles( styles );
|
|
62
|
-
*
|
|
63
|
-
* {
|
|
64
|
-
* { tagName: 'p' }: {
|
|
65
|
-
* 'font-family': 'Arial'
|
|
66
|
-
* },
|
|
67
|
-
* { tagName: 'p', className: 'foo }: {
|
|
68
|
-
* 'font-family': 'Arial'
|
|
69
|
-
* },
|
|
70
|
-
* { tagName: 'td' }: {
|
|
71
|
-
* 'background': 'red'
|
|
72
|
-
* },
|
|
73
|
-
* // ...
|
|
74
|
-
* }
|
|
75
|
-
* ```
|
|
76
|
-
* @param styles
|
|
77
|
-
* @returns
|
|
78
|
-
*/
|
|
79
|
-
export declare function expandStyles(styles: ExtractedStyles): ExpandedStyles;
|
|
80
|
-
/**
|
|
81
|
-
* Converts a native CSSStyleDeclaration into a simple object.
|
|
82
|
-
*
|
|
83
|
-
* ```ts
|
|
84
|
-
* {
|
|
85
|
-
* 'font-family': 'Arial'
|
|
86
|
-
* 'background': 'red',
|
|
87
|
-
* // ...
|
|
88
|
-
* }
|
|
89
|
-
* ```
|
|
90
|
-
* @param declaration
|
|
91
|
-
* @returns
|
|
92
|
-
*/
|
|
93
|
-
export declare function parseCSSStyleDeclaration(declaration: CSSStyleDeclaration): CSSStyleDefinitions;
|
|
94
|
-
/**
|
|
95
|
-
* Parses CSS selector into an array of objects with tagName and className properties.
|
|
96
|
-
*
|
|
97
|
-
* ```ts
|
|
98
|
-
* parseCSSSelector( 'p, p.foo' );
|
|
99
|
-
* ```
|
|
100
|
-
*
|
|
101
|
-
* returns:
|
|
102
|
-
*
|
|
103
|
-
* ```ts
|
|
104
|
-
* [
|
|
105
|
-
* { tagName: 'p' },
|
|
106
|
-
* { tagName: 'p', className: 'foo' }
|
|
107
|
-
* ]
|
|
108
|
-
* ```
|
|
109
|
-
* @param selector
|
|
110
|
-
* @returns
|
|
111
|
-
*/
|
|
112
|
-
export declare function parseCSSSelector(selector: string): Array<ParsedCSSSelector>;
|
|
113
|
-
/**
|
|
114
|
-
* Flattens multiple style definitions considering their order to simulate a CSS cascade.
|
|
115
|
-
*
|
|
116
|
-
* ```ts
|
|
117
|
-
* flattenStyleDefinitions( [
|
|
118
|
-
* { 'font-family': 'Arial', 'margin-top': '1px', 'font-size': '10px' },
|
|
119
|
-
* { 'font-family': 'monospace', 'margin-top': '3px' }
|
|
120
|
-
* ] );
|
|
121
|
-
* ```
|
|
122
|
-
*
|
|
123
|
-
* returns:
|
|
124
|
-
*
|
|
125
|
-
* ```ts
|
|
126
|
-
* { 'font-family': 'monospace', 'margin-top': '3px', 'font-size': '10px' }
|
|
127
|
-
* ```
|
|
128
|
-
* @param definitions
|
|
129
|
-
* @returns
|
|
130
|
-
*/
|
|
131
|
-
export declare function flattenStyleDefinitions(definitions: Array<CSSStyleDefinitions>): CSSStyleDefinitions;
|
|
132
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import { type NormalizerData, MSWordNormalizer } from '@ckeditor/ckeditor5-paste-from-office';
|
|
10
|
-
/**
|
|
11
|
-
* A normalizer that propagates inline styles from block element into `span` element with style properties
|
|
12
|
-
* and/or creates an `HTML` structure based on early mentioned block element styles.
|
|
13
|
-
*
|
|
14
|
-
* Normalizers are registered by the {@link module:paste-from-office-enhanced/pastefromofficeenhanced~PasteFromOfficeEnhanced}
|
|
15
|
-
* plugin and run on {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:inputTransformation inputTransformation event}.
|
|
16
|
-
* They detect environment-specific quirks and transform it into a form compatible with other CKEditor features.
|
|
17
|
-
*
|
|
18
|
-
* This particular normalizer turns a pasted content such as:
|
|
19
|
-
*
|
|
20
|
-
* ```html
|
|
21
|
-
* <p style="color:red;font-size:10px;font-weight:bold;">
|
|
22
|
-
* foo
|
|
23
|
-
* </p>
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* into:
|
|
27
|
-
*
|
|
28
|
-
* ```html
|
|
29
|
-
* <p>
|
|
30
|
-
* <span style="color:red;font-size:10px">
|
|
31
|
-
* <strong>
|
|
32
|
-
* foo
|
|
33
|
-
* </strong>
|
|
34
|
-
* </span>
|
|
35
|
-
* </p>
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
export default class MSOfficeInlineStylePropagator extends MSWordNormalizer {
|
|
39
|
-
/**
|
|
40
|
-
* @inheritDoc
|
|
41
|
-
*/
|
|
42
|
-
execute(data: NormalizerData): void;
|
|
43
|
-
/**
|
|
44
|
-
* @inheritDoc
|
|
45
|
-
*/
|
|
46
|
-
isActive(htmlString: string): boolean;
|
|
47
|
-
}
|