@ckeditor/ckeditor5-export-inline-styles 45.2.1 → 46.0.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/build/export-inline-styles.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
- package/src/exportinlinestyles.d.ts +2 -2
- package/src/exportinlinestyles.js +1 -1
- package/src/exportinlinestylescommand.d.ts +1 -1
- package/src/exportinlinestylescommand.js +1 -1
- package/src/exportinlinestylesediting.d.ts +1 -1
- package/src/exportinlinestylesediting.js +1 -1
- package/src/exportinlinestylesutils.js +1 -1
- package/src/index.d.ts +3 -3
- package/src/index.js +1 -1
- package/src/utils/exportinlinestylescollector.d.ts +1 -1
- package/src/utils/exportinlinestylescollector.js +1 -1
- package/src/utils/exportinlinestylescssvariables.js +1 -1
- package/src/utils/exportinlinestylesmatcher.d.ts +1 -1
- package/src/utils/exportinlinestylesmatcher.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
|
-
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var s=n[r];if(void 0!==s)return s.exports;var i=n[r]={exports:{}};return t[r](i,i.exports,e),i.exports}e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";e.r(r),e.d(r,{ExportInlineStyles:()=>K,ExportInlineStylesCommand:()=>O,ExportInlineStylesEditing:()=>T,dropImportantStyleSuffix:()=>l});var t=e(782),n=e(584),s=function(t){var n,e,r,s,o=[];for(r=0,s=(n=t.split(",")).length;r<s;r+=1)(e=n[r]).length>0&&o.push(i(e));return o},i=function(t){var n,e,r=t,s={a:0,b:0,c:0},i=[];return n=function(n,e){var o,c,a,u,l,f;if(n.test(r))for(c=0,a=(o=r.match(n)).length;c<a;c+=1)s[e]+=1,u=o[c],l=r.indexOf(u),f=u.length,i.push({selector:t.substr(l,f),type:e,index:l,length:f}),r=r.replace(u,Array(f+1).join(" "))},e=function(t){var n,e,s,i;if(t.test(r))for(e=0,s=(n=r.match(t)).length;e<s;e+=1)i=n[e],r=r.replace(i,Array(i.length+1).join("A"))},e(/\\[0-9A-Fa-f]{6}\s?/g),e(/\\[0-9A-Fa-f]{1,5}\s/g),e(/\\./g),function(){var t,n,e,s,i=/{[^]*/gm;if(i.test(r))for(n=0,e=(t=r.match(i)).length;n<e;n+=1)s=t[n],r=r.replace(s,Array(s.length+1).join(" "))}(),n(/(\[[^\]]+\])/g,"b"),n(/(#[^\#\s\+>~\.\[:\)]+)/g,"a"),n(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),n(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),n(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),n(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),r=(r=(r=(r=(r=(r=r.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),n(/([^\s\+>~\.\[:]+)/g,"c"),i.sort(function(t,n){return t.index-n.index}),{selector:t,specificity:"0,"+s.a.toString()+","+s.b.toString()+","+s.c.toString(),specificityArray:[0,s.a,s.b,s.c],parts:i}},o=e(783);function c(t){const n=a,e=[];let r="",s=0;for(;s<t[n(406)];){const i=t[s];if("("===i){const e=u(t,s+1);if(-1===e)return[];r+=t[n(408)](s,e+1),s=e+1}else","!==i||r[n(399)]("\\")?(r+=i,s++):(e[n(396)](r[n(401)]()),r="",s++)}return r[n(401)]()&&e[n(396)](r[n(401)]()),e[n(409)](Boolean)}function a(t,n){const e=f();return(a=function(t,n){return e[t-=392]})(t,n)}function u(t,n){const e=a;let r=1;for(let s=n;s<t[e(406)];s++){const n=t[s];if("("===n)r++;else if(")"===n&&(r--,0===r))return s}return-1}function l(t){const n=a;return t[n(400)](/!\s*important/i,"")[n(401)]()}function f(){const t=["35uFqtFO","slice","filter","24Umobjq","33pnBCFw","546721tgVPLP","456897Oarlqc","push","4FUPnAl","362458nCvpCn","endsWith","replace","trim","443547MRzICR","322578QluDEH","229634zxFhST","3079750pOBHaL","length"];return(f=function(){return t})()}function p(){const t=["length","getStylesEntries","1043HnyQNm","indexOf","62270uVmEXE",":root","remove","507528VxSHCX","5517rioDLQ","get","has","var(","set","33474iUvUpJ","1899iCcUdu","bind","44931xsvRid","4540baoqXL","startsWith","7872RQvflW","7248680rURwue","substring","slice"];return(p=function(){return t})()}function h(t,n){const e=p();return(h=function(t,n){return e[t-=380]})(t,n)}function y(t){const n=h,e=new Map;for(const{stylesMap:r,flatSelector:s}of t){if(n(390)!==s)continue;const t=d(e[n(394)][n(400)](e),r);for(const[r,s]of t)e[n(397)](r,s)}return e}function d(t,n){const e=h,r=new Map,s=n=>r[e(395)](n)?r[e(394)](n):t(n);for(const[t,i]of n[e(386)]())if(i&&t[e(380)]("--")){const o=I(s,i);r[e(397)](t,o),n[e(391)](t)}for(const[t,r]of n[e(386)]())if(r){const i=I(s,r);n[e(397)](t,i)}return r}function I(t,n){return function(t,n){const e=h;let r="",s=0;for(;s<t[e(385)];){const i=t[e(388)](e(396),s);if(-1===i){r+=t[e(384)](s);break}r+=t[e(384)](s,i);const o=i+4,c=u(t,o);r+=n(t[e(383)](o,c)),s=c+1}return r}(n,n=>{const e=h,[r,s]=c(n),i=t(r);return void 0!==i?i:s?I(t,s):e(396)+r+")"})}function w(){const t=["cssText","stylesProcessor","specificityArray","4MabTgk","length","setTo","filter","trim","sort","inlineCss","939792ZOBcCx","6crHvRw","join","cssRules","from","151083XnWwOj","map","flatMap","351282MyBOZO","20877vViIRz","357FHXeqQ","stylesheets","696695PtTWHT","33918NPXutw","11PhogBy","specificity","8hOddtN","replace","624350zWJbet"];return(w=function(){return t})()}function g(t,n){const e=w();return(g=function(t,n){return e[t-=475]})(t,n)}async function m(t){const e=g,r=[await(0,n.collectStylesheets)(t[e(499)]),t[e(487)]][e(484)](t=>t&&t[e(482)])[e(490)]("\n"),a=await async function(t,n){const r=e,a=new CSSStyleSheet;return await a[r(476)](n),S(Array[r(492)](a[r(491)])[r(484)](t=>t instanceof CSSStyleRule))[r(495)](({selectorText:n,contentCssText:e})=>{const i=r,a=c(n),u=new o.StylesMap(t)[i(483)](e);return a[i(494)](t=>({stylesMap:u,flatSelector:t,specificity:s(t)[0][i(480)]}))})[r(486)]((t,n)=>function(t,n){var e,r,s;if("string"==typeof t){if(-1!==t.indexOf(","))throw"Invalid CSS selector";e=i(t).specificityArray}else{if(!Array.isArray(t))throw"Invalid CSS selector or specificity array";if(4!==t.filter(function(t){return"number"==typeof t}).length)throw"Invalid specificity array";e=t}if("string"==typeof n){if(-1!==n.indexOf(","))throw"Invalid CSS selector";r=i(n).specificityArray}else{if(!Array.isArray(n))throw"Invalid CSS selector or specificity array";if(4!==n.filter(function(t){return"number"==typeof t}).length)throw"Invalid specificity array";r=n}for(s=0;s<4;s+=1){if(e[s]<r[s])return-1;if(e[s]>r[s])return 1}return 0}(t[r(503)],n[r(503)]))}(t[e(479)],r);return{parsedCssRules:a,rootCssVariables:y(a)}}function S(t,n=""){const e=g;return t[e(495)](t=>{const r=e,{selectorText:s,cssText:i,cssRules:o}=t;if(!s)return[];const c=s[r(476)](/&/g,n);let a=i[r(476)](s,"")[r(485)]()[r(476)](/^{|}$/g,"");if(!o||!o[r(482)])return[{selectorText:c,contentCssText:a}];for(const t of o)a=a[r(476)](t[r(478)],"")[r(485)]();return[{selectorText:c,contentCssText:a},...S(Array[r(492)](o),c)]})}function b(t,n){const e=C();return(b=function(t,n){return e[t-=297]})(t,n)}function C(){const t=["parsedCssRules","150249ljuSqw","30OozeaM","2572533aPeVPA","style","fallbackCSSVariablesLookup","254760JLbaYk","setTo","filter","7qDmZXR","stylesProcessor","matches","getAttribute","435540QAwsCC","830834OqOQIO","flatSelector","map","6pvRiis","string","412564YsJUQc","stylesMap","getStylesEntries","8XxvCOP","873438EipeQr","element","set"];return(C=function(){return t})()}function x(t,n){const e=b,r=new o.StylesMap(t);for(const s of n){let n=null;if(n=e(306)==typeof s?new o.StylesMap(t)[e(321)](s):s,n)for(const[t,s]of n[e(309)]())r[e(313)](t,s)}return r}function v(){const t=["pending","has","locale","document","value","firstChild","div","exportInlineStyles","refresh","affectsData","size","style","editor","bind","removeAttribute","join","_collectAndApplyStyles","finally","4502duqhXA","16qpZhyU","getAttribute","10tLFxZM","main","isEnabled","244568tNSkry","EDITOR_STYLES","class","getRoot","3583328npWthZ","data","config","_stylesProcessor","execute","map","createDocumentFragment","children","1113822UWrYXT","ck-content","then","viewToDom","htmlWriter","set","6314470FzeLVW","getStylesEntries","5352210oQpOIj","isBusy","1005654gkNvzR","get","domConverter","stylesProcessor","appendChild","setAttribute","getHtml","transformations","htmlProcessor","_processElementTree","toView","_getRootDataHTMLFragment","55VUroMC","ownerDocument"];return(v=function(){return t})()}!function(t){const n=a,e=t();for(;;)try{if(201602===-parseInt(n(398))/1+-parseInt(n(404))/2+-parseInt(n(395))/3*(parseInt(n(397))/4)+parseInt(n(407))/5*(-parseInt(n(403))/6)+-parseInt(n(394))/7*(-parseInt(n(392))/8)+parseInt(n(402))/9+-parseInt(n(405))/10*(-parseInt(n(393))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f),function(t){const n=h,e=t();for(;;)try{if(545641===parseInt(n(401))/1+parseInt(n(392))/2+-parseInt(n(399))/3*(parseInt(n(402))/4)+parseInt(n(389))/5+-parseInt(n(398))/6*(-parseInt(n(387))/7)+-parseInt(n(381))/8*(parseInt(n(393))/9)+parseInt(n(382))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p),function(t){const n=g,e=t();for(;;)try{if(179447===-parseInt(n(496))/1+-parseInt(n(489))/2*(parseInt(n(497))/3)+-parseInt(n(481))/4*(-parseInt(n(500))/5)+parseInt(n(501))/6*(parseInt(n(498))/7)+-parseInt(n(475))/8*(parseInt(n(493))/9)+parseInt(n(477))/10*(parseInt(n(502))/11)+parseInt(n(488))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(w),function(t){const n=b,e=t();for(;;)try{if(223240===parseInt(n(301))/1+parseInt(n(302))/2+-parseInt(n(305))/3*(parseInt(n(307))/4)+parseInt(n(320))/5+parseInt(n(311))/6*(-parseInt(n(297))/7)+parseInt(n(310))/8*(-parseInt(n(317))/9)+parseInt(n(316))/10*(-parseInt(n(315))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(C);const L=A;function A(t,n){const e=v();return(A=function(t,n){return e[t-=354]})(t,n)}!function(t){const n=A,e=t();for(;;)try{if(651388===parseInt(n(368))/1*(-parseInt(n(371))/2)+parseInt(n(386))/3+parseInt(n(374))/4*(parseInt(n(408))/5)+-parseInt(n(396))/6+parseInt(n(378))/7*(parseInt(n(369))/8)+-parseInt(n(394))/9+-parseInt(n(392))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class O extends t.Command{[L(381)];constructor(t){const n=L;super(t),this[n(391)](n(395),!1),this[n(381)]=this[n(362)][n(379)][n(399)],(0,o.addMarginRules)(this[n(381)]),(0,o.addPaddingRules)(this[n(381)]),this[n(359)]=!1}[L(358)](){const t=L;this[t(373)]=!this[t(395)],this[t(354)]=this[t(395)]?t(410):void 0}async[L(382)](t){const e=L,r=this[e(362)][e(380)][e(397)](e(357)),{contentLanguageDirection:s}=this[e(362)][e(412)],{rootName:i=e(372),dataControllerDowncastOptions:o={},transformations:c=r[e(403)]||[]}=t||{};this[e(395)]=!0,this[e(358)]();const a=this[e(407)](i,o),u=(0,n.createElement)(a[e(409)],e(356),{dir:s,class:e(387)},[a]);return this[e(366)](c,u)[e(388)](()=>{const t=e,n=function(t){const n=A,e=t[n(409)][n(384)]();for(;t[n(355)];)e[n(400)](t[n(355)]);return e}(u),r=u[t(370)](t(361));if(r)for(const e of n[t(385)]){const n=e[t(370)](t(361)),s=x(this[t(381)],[r,n]);e[t(401)](t(361),E(s))}return this[t(362)][t(379)][t(404)][t(390)][t(402)](n)})[e(367)](()=>{const t=e;this[t(395)]=!1,this[t(358)]()})}[L(407)](t,n){const e=L,{data:r,model:s}=this[e(362)],i=s[e(413)][e(377)](t),o=r[e(406)](i,n);return r[e(404)][e(398)][e(389)](o)}async[L(366)](t,n){const e=L,{stylesheets:r,inlineCss:s,stripCssClasses:i}=this[e(362)][e(380)][e(397)](e(357)),{parsedCssRules:o,rootCssVariables:c}=await m({stylesheets:r||[e(375)],stylesProcessor:this[e(381)],inlineCss:s});this[e(405)]({transformations:t,parsedCssRules:o,element:n,stripCssClasses:i,parentCSSVariablesLookup:c[e(397)][e(363)](c)})}[L(405)]({element:t,parsedCssRules:n,parentCSSVariablesLookup:e,stripCssClasses:r,transformations:s}){const i=L,{stylesMap:o,localCSSVariables:c}=function(t){const n=b,e=t[n(312)][n(300)](n(318))||"",r=t[n(314)][n(322)](e=>t[n(312)][n(299)](e[n(303)]))[n(304)](t=>t[n(308)]),s=x(t[n(298)],[...r,e]);return{localCSSVariables:d(t[n(319)],s),stylesMap:s}}({stylesProcessor:this[i(381)],fallbackCSSVariablesLookup:e,parsedCssRules:n,element:t});for(const n of s)n(t,o);o[i(360)]?t[i(401)](i(361),E(o)):t[i(364)](i(361));const a=t=>c[i(411)](t)?c[i(397)](t):e(t);for(const e of t[i(385)])e instanceof HTMLElement&&this[i(405)]({element:e,parentCSSVariablesLookup:a,parsedCssRules:n,stripCssClasses:r,transformations:s});r&&t[i(364)](i(376))}}function E(t){const n=L;return t[n(393)]()[n(383)](t=>t[n(365)](":"))[n(365)](";")+";"}function P(t,n){const e=k();return(P=function(t,n){return e[t-=412]})(t,n)}const R=P;!function(t){const n=P,e=t();for(;;)try{if(836178===-parseInt(n(424))/1+parseInt(n(429))/2+parseInt(n(433))/3+parseInt(n(416))/4+parseInt(n(417))/5+-parseInt(n(430))/6+-parseInt(n(418))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k);class T extends t.Plugin{static get[R(423)](){return R(428)}static get[R(432)](){return!0}static get[R(421)](){return!0}[R(425)](){const t=R;this[t(434)][t(427)][t(426)](t(412),{}),this[t(434)][t(419)][t(413)](t(412),new O(this[t(434)]))}[R(431)](){!async function(t){const e=d([70,56,84,67,110,119,105,66,87,106,88,75,57,55,50,80,54,49,118,68,120,101,98,72,107,86,116,112,77,79,100,52,103,78,117,73,81,74,104,99,85,109,65,83,89,90,51,113,97,114,69,82,111,115,48,76,122,53,121,108,102,71]),r=window[d([68,97,116,101])][d([110,111,119])](),s=t[d([101,100,105,116,111,114])],i=new(window[d([80,114,111,109,105,115,101])])(t=>{s[d([111,110,99,101])](d([114,101,97,100,121]),t)}),o={[d([107,116,121])]:d([69,67]),[d([117,115,101])]:d([115,105,103]),[d([99,114,118])]:d([80,45,50,53,54]),[d([120])]:d([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[d([121])]:d([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[d([97,108,103])]:d([69,83,50,53,54])},c=s[d([99,111,110,102,105,103])][d([103,101,116])](d([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[d([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[d([116,104,101,110])](()=>new(window[d([80,114,111,109,105,115,101])])(t=>{let n=0;s[d([109,111,100,101,108])][d([111,110])](d([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(e,r)=>{r[0][d([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[d([111,102,102])]())})}))];return window[d([80,114,111,109,105,115,101])][d([114,97,99,101])](n)[d([116,104,101,110])](()=>t)}function u(t){return t[d([115,116,97,114,116,115,87,105,116,104])](d([101,121]))?JSON[d([112,97,114,115,101])](l(t)):null}function l(t){return window[d([97,116,111,98])](t[d([114,101,112,108,97,99,101])](/-/g,d([43]))[d([114,101,112,108,97,99,101])](/_/g,d([47])))}function f(t){let n=5381;function e(t){for(let e=0;e<t[d([108,101,110,103,116,104])];e++){const r=t[d([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[d([105,115,65,114,114,97,121])](n)?n[d([102,111,114,69,97,99,104])](t):n&&typeof n==d([111,98,106,101,99,116])?Object[d([101,110,116,114,105,101,115])](n)[d([115,111,114,116])]()[d([102,111,114,69,97,99,104])](([n,r])=>{e(n),t(r)}):e(window[d([83,116,114,105,110,103])](n))}(t),n>>>0}function p(t){return t[d([116,111,83,116,114,105,110,103])](16)[d([112,97,100,83,116,97,114,116])](8,d([48]))}function h(t){return t[d([115,112,108,105,116])]("")[d([114,101,118,101,114,115,101])]()[d([106,111,105,110])]("")}function y(){}function d(t){const n=P;return t[n(420)](t=>String[n(435)](t))[n(415)]("")}!function(t){const n=function(){const t=window[d([83,116,114,105,110,103])](window[d([112,101,114,102,111,114,109,97,110,99,101])][d([110,111,119])]())[d([114,101,112,108,97,99,101])](d([46]),"");let n=d([70]);for(let r=0;r<t[d([108,101,110,103,116,104])];r+=2){let s=window[d([112,97,114,115,101,73,110,116])](t[d([115,117,98,115,116,114,105,110,103])](r,r+2));s>=e[d([108,101,110,103,116,104])]&&(s-=e[d([108,101,110,103,116,104])]),n+=e[s]}return n}();s[n]=d([101,120,112,111,114,116,73,110,108,105,110,101,83,116,121,108,101,115,76,105,99,101,110,115,101,75,101,121])+t,t!=d([86,97,108,105,100])&&async function(){const t=P;await i;const n=s[t(419)][d([103,101,116])](d([101,120,112,111,114,116,73,110,108,105,110,101,83,116,121,108,101,115]));n&&n[d([111,110])](d([101,120,101,99,117,116,101]),n=>{n[t(422)]()},{priority:d([104,105,103,104,101,115,116])}),s[d([109,111,100,101,108])][d([99,104,97,110,103,101])]=y,s[d([109,111,100,101,108])][d([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,s[d([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](d([109,111,100,101,108]))}()}(await async function(){let t,e=null,y=null;try{return c==d([71,80,76])?d([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[d([115,112,108,105,116])](d([46]));return 3!=t[d([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=u(t);return n&&e()?n:null;function e(){const t=n[d([106,116,105])],e=window[d([112,97,114,115,101,73,110,116])](t[d([115,117,98,115,116,114,105,110,103])](t[d([108,101,110,103,116,104])]-8),16),r={...n,[d([106,116,105])]:t[d([115,117,98,115,116,114,105,110,103])](0,t[d([108,101,110,103,116,104])]-8)};return delete r[d([118,99])],f(r)==e}}}(),t?(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(y=function(t,e){return new(window[d([80,114,111,109,105,115,101])])(a=>{if(o())return a(d([86,97,108,105,100]));c(),s[d([100,101,99,111,114,97,116,101])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,n.uid)();function y(t){return!!t&&(typeof t===d([111,98,106,101,99,116])||typeof t===d([102,117,110,99,116,105,111,110]))&&typeof t[d([116,104,101,110])]===d([102,117,110,99,116,105,111,110])&&typeof t[d([99,97,116,99,104])]===d([102,117,110,99,116,105,111,110])}function I(n){c(n)[d([116,104,101,110])](t=>t&&t[d([115,116,97,116,117,115])]==d([111,107])?p(f(l+e))!=t[d([118,101,114,105,102,105,99,97,116,105,111,110])]?d([85,115,97,103,101,76,105,109,105,116]):d([86,97,108,105,100]):d([85,115,97,103,101,76,105,109,105,116]))[d([116,104,101,110])](t=>(i(),t),()=>{const t=o();return null==t?(i(),d([86,97,108,105,100])):d(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[d([116,104,101,110])](a)[d([99,97,116,99,104])](()=>{a(d([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function i(){const n=d([108,108,99,116,45])+p(f(t)),e=h(p(window[d([77,97,116,104])][d([99,101,105,108])](r/s)));window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([115,101,116,73,116,101,109])](n,e)}function o(){const n=d([108,108,99,116,45])+p(f(t)),e=window[d([108,111,99,97,108,83,116,111,114,97,103,101])][d([103,101,116,73,116,101,109])](n);return e?window[d([112,97,114,115,101,73,110,116])](h(e),16)*s:null}function c(t){return new(window[d([80,114,111,109,105,115,101])])((n,e)=>{t[d([116,104,101,110])](n,e),window[d([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}s[d([111,110])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(d([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[d([114,101,113,117,101,115,116,73,100])]:l}},{[d([112,114,105,111,114,105,116,121])]:d([104,105,103,104])}),s[d([111,110])](d([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{y(t[d([114,101,116,117,114,110])])&&(u=!0,I(t[d([114,101,116,117,114,110])]))},{[d([112,114,105,111,114,105,116,121])]:d([108,111,119])}),i[d([116,104,101,110])](()=>{u||a(d([85,115,97,103,101,76,105,109,105,116]))})});function o(){return s[d([101,100,105,116,105,110,103])][d([118,105,101,119])][d([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==d([97,117,116,111])}function c(){s[d([101,100,105,116,105,110,103])][d([118,105,101,119])][d([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=d([97,117,116,111])}}(t[d([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[d([106,116,105])])),await async function(){let t=!0;try{const r=c[d([115,112,108,105,116])](d([46])),[s,i,o]=r;return n(s),await e(s,i,o),t}catch{return!1}function n(n){const e=u(n);e&&e[d([97,108,103])]==d([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const s=window[d([85,105,110,116,56,65,114,114,97,121])][d([102,114,111,109])](l(r),t=>t[d([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[d([84,101,120,116,69,110,99,111,100,101,114])]))[d([101,110,99,111,100,101])](n+d([46])+e),c=window[d([99,114,121,112,116,111])][d([115,117,98,116,108,101])];if(!c)return;const a=await c[d([105,109,112,111,114,116,75,101,121])](d([106,119,107]),o,{[d([110,97,109,101])]:d([69,67,68,83,65]),[d([110,97,109,101,100,67,117,114,118,101])]:d([80,45,50,53,54])},!1,[d([118,101,114,105,102,121])]);await c[d([118,101,114,105,102,121])]({[d([110,97,109,101])]:d([69,67,68,83,65]),[d([104,97,115,104])]:{[d([110,97,109,101])]:d([83,72,65,45,50,53,54])}},a,s,i)||(t=!1)}}()?function(){const n=t[d([102,101,97,116,117,114,101,115])];return!(!n||!n[d([105,110,99,108,117,100,101,115])](d([42]))&&!n[d([105,110,99,108,117,100,101,115])](d([69,73,83])))}()?function(){const n=[d([101,118,97,108,117,97,116,105,111,110]),d([116,114,105,97,108])][d([105,110,99,108,117,100,101,115])](t[d([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1750723200;return t[d([101,120,112])]<n}()?d([69,120,112,105,114,101,100]):function(){const n=P,e=t[d([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[d([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[d([108,111,99,97,116,105,111,110])][n(414)]);if(e[d([105,110,99,108,117,100,101,115])](r))return!0;const s=r[d([115,112,108,105,116])](d([46]));return e[d([102,105,108,116,101,114])](t=>t[d([105,110,99,108,117,100,101,115])](d([42])))[d([109,97,112])](t=>t[d([115,112,108,105,116])](d([46])))[d([102,105,108,116,101,114])](t=>t[d([108,101,110,103,116,104])]<=s[d([108,101,110,103,116,104])])[d([109,97,112])](t=>Array(s[d([108,101,110,103,116,104])]-t[d([108,101,110,103,116,104])])[d([102,105,108,108])](t[0]===d([42])?d([42]):"")[d([99,111,110,99,97,116])](t))[d([115,111,109,101])](t=>s[d([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===d([42])))}()?(t[d([108,105,99,101,110,115,101,84,121,112,101])]==d([101,118,97,108,117,97,116,105,111,110])&&(e=a(d([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[d([108,105,99,101,110,115,101,84,121,112,101])]==d([116,114,105,97,108])&&(e=a(d([84,114,105,97,108,76,105,109,105,116]))),await(e&&y?new(window[d([80,114,111,109,105,115,101])])((t,n)=>{e[d([116,104,101,110])](t,n),y[d([116,104,101,110])](n=>{n!=d([86,97,108,105,100])&&t(n)},n)}):e||y||d([86,97,108,105,100]))):d([68,111,109,97,105,110,76,105,109,105,116]):d([78,111,116,65,108,108,111,119,101,100]):d([73,110,118,97,108,105,100])):d([73,110,118,97,108,105,100]))}catch{return d([73,110,118,97,108,105,100])}}())}(this)}}function k(){const t=["add","href","join","4079028sUnMbZ","7591545ubOejK","14777217qDuvyR","commands","map","isPremiumPlugin","stop","pluginName","1321420LKnDCc","init","define","config","ExportInlineStylesEditing","3079104bqendl","5621916zcGETg","afterInit","isOfficialPlugin","3383991HaJuTG","editor","fromCharCode","exportInlineStyles"];return(k=function(){return t})()}function M(t,n){const e=V();return(M=function(t,n){return e[t-=261]})(t,n)}const j=M;function V(){const t=["requires","isPremiumPlugin","expired","_licenseKeyCheckInterval","10imKOEc","exportInlineStylesLicenseKeyTrialLimit","56gGHejk","domainLimit","invalid","editor","exportInlineStylesLicenseKeyUsageLimit","get","licenseKey","usageLimit","556655yZMxSs","config","5972700WwCDlp","_showLicenseError","771544rwfBGR","destroy","180afaUtR","2sVpzoi","4KRkGQb","trialLimit","isOfficialPlugin","evaluationLimit","exportInlineStylesLicenseKeyEvaluationLimit","exportInlineStylesLicenseKeyNotAllowed","1234623ngHwZJ","init","1835050sosaVA","exportInlineStylesLicenseKeyInvalid","6757623YUHaMr","featureNotAllowed","exportInlineStylesLicenseKeyDomainLimit","ExportInlineStyles","exportInlineStylesLicenseKeyExpired","pluginName","exportInlineStylesLicenseKeyValid","307267GlAksj"];return(V=function(){return t})()}!function(t){const n=M,e=t();for(;;)try{if(519808===-parseInt(n(286))/1*(-parseInt(n(268))/2)+parseInt(n(275))/3*(-parseInt(n(269))/4)+parseInt(n(277))/5+parseInt(n(263))/6+parseInt(n(293))/7*(parseInt(n(265))/8)+parseInt(n(279))/9*(-parseInt(n(291))/10)+-parseInt(n(261))/11*(parseInt(n(267))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(V);class K extends t.Plugin{[j(299)];[j(290)];static get[j(284)](){return j(282)}static get[j(271)](){return!0}static get[j(288)](){return!0}static get[j(287)](){return[T]}[j(276)](){const t=j;this[t(299)]=this[t(296)][t(262)][t(298)](t(299));const n=this[t(296)];this[t(290)]=setInterval(()=>{const e=t;let r;for(const t in n){const s=t,i=n[s];if(e(285)==i||e(278)==i||e(283)==i||e(281)==i||e(274)==i||e(273)==i||e(292)==i||e(297)==i){delete n[s],r=i,clearInterval(this[e(290)]),this[e(290)]=void 0;break}}e(278)==r&&n[e(264)](e(295)),e(283)==r&&n[e(264)](e(289)),e(281)==r&&n[e(264)](e(294)),e(274)==r&&n[e(264)](e(280),e(282)),e(273)==r&&n[e(264)](e(272)),e(292)==r&&n[e(264)](e(270)),e(297)==r&&n[e(264)](e(300))},1e3)}[j(266)](){const t=j;super[t(266)](),this[t(290)]&&clearInterval(this[t(290)])}}function D(t,n){var e=U();return(D=function(t,n){return e[t-=146]})(t,n)}function U(){var t=["177360UIyvmE","21CBIovC","985680EHKFlN","974510dByIZw","741534JAXGZJ","96742hBDwKx","1717700bDepnh","607865aIbPZt"];return(U=function(){return t})()}!function(t){for(var n=D,e=t();;)try{if(271098===-parseInt(n(153))/1+parseInt(n(151))/2+-parseInt(n(148))/3+-parseInt(n(146))/4+parseInt(n(147))/5+parseInt(n(152))/6*(parseInt(n(149))/7)+-parseInt(n(150))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(U)})(),(window.CKEditor5=window.CKEditor5||{}).exportInlineStyles=r})();
|
|
4
|
+
*/(()=>{var t={237:t=>{"use strict";t.exports=CKEditor5.dll},584:(t,n,e)=>{t.exports=e(237)("./src/utils.js")},782:(t,n,e)=>{t.exports=e(237)("./src/core.js")},783:(t,n,e)=>{t.exports=e(237)("./src/engine.js")}},n={};function e(r){var s=n[r];if(void 0!==s)return s.exports;var i=n[r]={exports:{}};return t[r](i,i.exports,e),i.exports}e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";e.r(r),e.d(r,{ExportInlineStyles:()=>O,ExportInlineStylesCommand:()=>A,ExportInlineStylesEditing:()=>K,dropImportantStyleSuffix:()=>f});var t=e(782),n=e(584),s=function(t){var n,e,r,s,o=[];for(r=0,s=(n=t.split(",")).length;r<s;r+=1)(e=n[r]).length>0&&o.push(i(e));return o},i=function(t){var n,e,r=t,s={a:0,b:0,c:0},i=[];return n=function(n,e){var o,c,a,u,l,f;if(n.test(r))for(c=0,a=(o=r.match(n)).length;c<a;c+=1)s[e]+=1,u=o[c],l=r.indexOf(u),f=u.length,i.push({selector:t.substr(l,f),type:e,index:l,length:f}),r=r.replace(u,Array(f+1).join(" "))},(e=function(t){var n,e,s,i;if(t.test(r))for(e=0,s=(n=r.match(t)).length;e<s;e+=1)i=n[e],r=r.replace(i,Array(i.length+1).join("A"))})(/\\[0-9A-Fa-f]{6}\s?/g),e(/\\[0-9A-Fa-f]{1,5}\s/g),e(/\\./g),function(){var t,n,e,s,i=/{[^]*/gm;if(i.test(r))for(n=0,e=(t=r.match(i)).length;n<e;n+=1)s=t[n],r=r.replace(s,Array(s.length+1).join(" "))}(),n(/(\[[^\]]+\])/g,"b"),n(/(#[^\#\s\+>~\.\[:\)]+)/g,"a"),n(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),n(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),n(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),n(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),r=(r=(r=(r=(r=(r=r.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),n(/([^\s\+>~\.\[:]+)/g,"c"),i.sort(function(t,n){return t.index-n.index}),{selector:t,specificity:"0,"+s.a.toString()+","+s.b.toString()+","+s.c.toString(),specificityArray:[0,s.a,s.b,s.c],parts:i}},o=e(783);function c(){const t=["15339247mAjNtO","slice","7RcIuQh","8486eFqcaJ","trim","push","2161330uvorhe","25HmADxI","replace","endsWith","6939320hHFeuI","1003076bBbdmL","865911elketj","7985pxXLVM","45bugLLK","length","1626FswvoB","filter"];return(c=function(){return t})()}function a(t){const n=u,e=[];let r="",s=0;for(;s<t[n(152)];){const i=t[s];if("("===i){const e=l(t,s+1);if(-1===e)return[];r+=t[n(156)](s,e+1),s=e+1}else","!==i||r[n(146)]("\\")?(r+=i,s++):(e[n(142)](r[n(141)]()),r="",s++)}return r[n(141)]()&&e[n(142)](r[n(141)]()),e[n(154)](Boolean)}function u(t,n){const e=c();return(u=function(t,n){return e[t-=140]})(t,n)}function l(t,n){const e=u;let r=1;for(let s=n;s<t[e(152)];s++){const n=t[s];if("("===n)r++;else if(")"===n&&(r--,0===r))return s}return-1}function f(t){const n=u;return t[n(145)](/!\s*important/i,"")[n(141)]()}function p(){const t=["1022XHxfTK","set","64152FtocvU","substring","bind","var(","32732640YFyYbU","20xAIMeQ","1150622oaUnRE","slice","80215NWxhtV","has","get","indexOf","remove","617883XmLKmH","startsWith","2284280FSfEjC","getStylesEntries",":root","length","4010196EVwCsq"];return(p=function(){return t})()}function h(t,n){const e=p();return(h=function(t,n){return e[t-=356]})(t,n)}function y(t){const n=h,e=new Map;for(const{stylesMap:r,flatSelector:s}of t){if(n(367)!==s)continue;const t=I(e[n(360)][n(374)](e),r);for(const[r,s]of t)e[n(371)](r,s)}return e}function I(t,n){const e=h,r=new Map,s=n=>r[e(359)](n)?r[e(360)](n):t(n);for(const[t,i]of n[e(366)]())if(i&&t[e(364)]("--")){const o=d(s,i);r[e(371)](t,o),n[e(362)](t)}for(const[t,r]of n[e(366)]())if(r){const i=d(s,r);n[e(371)](t,i)}return r}function d(t,n){return function(t,n){const e=h;let r="",s=0;for(;s<t[e(368)];){const i=t[e(361)](e(375),s);if(-1===i){r+=t[e(357)](s);break}r+=t[e(357)](s,i);const o=i+4,c=l(t,o);r+=n(t[e(373)](o,c)),s=c+1}return r}(n,n=>{const e=h,[r,s]=a(n),i=t(r);return void 0!==i?i:s?d(t,s):e(375)+r+")"})}async function w(t){const e=g,r=[await(0,n.collectStylesheets)(t[e(511)]),t[e(518)]][e(523)](t=>t&&t[e(502)])[e(519)]("\n"),c=await async function(t,n){const r=e,c=new CSSStyleSheet;return await c[r(505)](n),S(Array[r(507)](c[r(504)])[r(523)](t=>t instanceof CSSStyleRule))[r(521)](({selectorText:n,contentCssText:e})=>{const i=r,c=a(n),u=new o.StylesMap(t)[i(512)](e);return c[i(513)](t=>({stylesMap:u,flatSelector:t,specificity:s(t)[0][i(520)]}))})[r(503)]((t,n)=>function(t,n){var e,r,s;if("string"==typeof t){if(-1!==t.indexOf(","))throw"Invalid CSS selector";e=i(t).specificityArray}else{if(!Array.isArray(t))throw"Invalid CSS selector or specificity array";if(4!==t.filter(function(t){return"number"==typeof t}).length)throw"Invalid specificity array";e=t}if("string"==typeof n){if(-1!==n.indexOf(","))throw"Invalid CSS selector";r=i(n).specificityArray}else{if(!Array.isArray(n))throw"Invalid CSS selector or specificity array";if(4!==n.filter(function(t){return"number"==typeof t}).length)throw"Invalid specificity array";r=n}for(s=0;s<4;s+=1){if(e[s]<r[s])return-1;if(e[s]>r[s])return 1}return 0}(t[r(506)],n[r(506)]))}(t[e(499)],r);return{parsedCssRules:c,rootCssVariables:y(c)}}function g(t,n){const e=m();return(g=function(t,n){return e[t-=498]})(t,n)}function S(t,n=""){const e=g;return t[e(521)](t=>{const r=e,{selectorText:s,cssText:i,cssRules:o}=t;if(!s)return[];const c=s[r(505)](/&/g,n);let a=i[r(505)](s,"")[r(500)]()[r(505)](/^{|}$/g,"");if(!o||!o[r(502)])return[{selectorText:c,contentCssText:a}];for(const t of o)a=a[r(505)](t[r(501)],"")[r(500)]();return[{selectorText:c,contentCssText:a},...S(Array[r(507)](o),c)]})}function m(){const t=["185XIpuCv","stylesheets","setTo","map","1438748nENNoE","765123RBYQdi","3207616lmZVQQ","211062qLzBfB","inlineCss","join","specificityArray","flatMap","8VeVkDv","filter","265956yuMgyM","stylesProcessor","trim","cssText","length","sort","cssRules","replace","specificity","from","1932630elsyHO","877887xDQvhW"];return(m=function(){return t})()}function b(t,n){const e=x();return(b=function(t,n){return e[t-=381]})(t,n)}function x(){const t=["830835cCcfut","string","stylesProcessor","flatSelector","filter","stylesMap","getAttribute","246737EENOzW","style","791757pFMMAE","201712laebje","1460588IopoFb","getStylesEntries","11383376ndGswd","map","set","fallbackCSSVariablesLookup","matches","102WUWcbl","element","292804rSkwSA","parsedCssRules","setTo"];return(x=function(){return t})()}function C(t,n){const e=b,r=new o.StylesMap(t);for(const s of n){let n=null;if(n=e(397)==typeof s?new o.StylesMap(t)[e(395)](s):s,n)for(const[t,s]of n[e(385)]())r[e(388)](t,s)}return r}!function(t){const n=u,e=t();for(;;)try{if(766297===parseInt(n(144))/1*(parseInt(n(140))/2)+parseInt(n(149))/3+parseInt(n(148))/4+-parseInt(n(150))/5*(parseInt(n(153))/6)+parseInt(n(157))/7*(parseInt(n(147))/8)+parseInt(n(151))/9*(parseInt(n(143))/10)+-parseInt(n(155))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(c),function(t){const n=h,e=t();for(;;)try{if(966685===parseInt(n(358))/1+parseInt(n(356))/2+parseInt(n(363))/3*(-parseInt(n(377))/4)+-parseInt(n(365))/5+-parseInt(n(369))/6+-parseInt(n(370))/7*(parseInt(n(372))/8)+parseInt(n(376))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(p),function(t){const n=g,e=t();for(;;)try{if(980363===parseInt(n(515))/1+parseInt(n(516))/2+parseInt(n(517))/3+parseInt(n(514))/4+parseInt(n(510))/5*(-parseInt(n(498))/6)+-parseInt(n(508))/7+-parseInt(n(522))/8*(-parseInt(n(509))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(m),function(t){const n=b,e=t();for(;;)try{if(272516===-parseInt(n(403))/1+-parseInt(n(393))/2+parseInt(n(382))/3+-parseInt(n(384))/4+-parseInt(n(396))/5+parseInt(n(391))/6*(-parseInt(n(383))/7)+parseInt(n(386))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);const v=L;function E(){const t=["createDocumentFragment","main","toView","affectsData","252147whyyUT","_processElementTree","style","5COJGsI","isEnabled","ownerDocument","firstChild","execute","join","appendChild","set","getAttribute","has","6239530rUuQCf","document","map","setAttribute","htmlProcessor","2351766JRKayU","config","transformations","getHtml","isBusy","_collectAndApplyStyles","11YjnREe","24BsHVfE","removeAttribute","div","size","refresh","children","stylesProcessor","locale","htmlWriter","domConverter","ck-content","exportInlineStyles","data","editor","186159QJJZVw","get","class","1671642tFNpyD","value","342474xAXMmj","bind","getStylesEntries","viewToDom","pending","then","337994AxDSDI","_getRootDataHTMLFragment","_stylesProcessor","getRoot","finally","EDITOR_STYLES","20WinFYw"];return(E=function(){return t})()}function L(t,n){const e=E();return(L=function(t,n){return e[t-=116]})(t,n)}!function(t){const n=L,e=t();for(;;)try{if(205317===-parseInt(n(174))/1+parseInt(n(168))/2+-parseInt(n(163))/3*(-parseInt(n(119))/4)+-parseInt(n(127))/5*(-parseInt(n(142))/6)+-parseInt(n(124))/7*(-parseInt(n(149))/8)+parseInt(n(166))/9+-parseInt(n(137))/10*(parseInt(n(148))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(E);class A extends t.Command{[v(176)];constructor(t){const n=v;super(t),this[n(134)](n(146),!1),this[n(176)]=this[n(162)][n(161)][n(155)],(0,o.addMarginStylesRules)(this[n(176)]),(0,o.addPaddingStylesRules)(this[n(176)]),this[n(123)]=!1}[v(153)](){const t=v;this[t(128)]=!this[t(146)],this[t(167)]=this[t(146)]?t(172):void 0}async[v(131)](t){const e=v,r=this[e(162)][e(143)][e(164)](e(160)),{contentLanguageDirection:s}=this[e(162)][e(156)],{rootName:i=e(121),dataControllerDowncastOptions:o={},transformations:c=r[e(144)]||[]}=t||{};this[e(146)]=!0,this[e(153)]();const a=this[e(175)](i,o),u=(0,n.createElement)(a[e(129)],e(151),{dir:s,class:e(159)},[a]);return this[e(147)](c,u)[e(173)](()=>{const t=e,n=function(t){const n=L,e=t[n(129)][n(120)]();for(;t[n(130)];)e[n(133)](t[n(130)]);return e}(u),r=u[t(135)](t(126));if(r)for(const e of n[t(154)]){const n=e[t(135)](t(126)),s=C(this[t(176)],[r,n]);e[t(140)](t(126),T(s))}return this[t(162)][t(161)][t(141)][t(157)][t(145)](n)})[e(117)](()=>{const t=e;this[t(146)]=!1,this[t(153)]()})}[v(175)](t,n){const e=v,{data:r,model:s}=this[e(162)],i=s[e(138)][e(116)](t),o=r[e(122)](i,n);return r[e(141)][e(158)][e(171)](o)}async[v(147)](t,n){const e=v,{stylesheets:r,inlineCss:s,stripCssClasses:i}=this[e(162)][e(143)][e(164)](e(160)),{parsedCssRules:o,rootCssVariables:c}=await w({stylesheets:r||[e(118)],stylesProcessor:this[e(176)],inlineCss:s});this[e(125)]({transformations:t,parsedCssRules:o,element:n,stripCssClasses:i,parentCSSVariablesLookup:c[e(164)][e(169)](c)})}[v(125)]({element:t,parsedCssRules:n,parentCSSVariablesLookup:e,stripCssClasses:r,transformations:s}){const i=v,{stylesMap:o,localCSSVariables:c}=function(t){const n=b,e=t[n(392)][n(402)](n(381))||"",r=t[n(394)][n(400)](e=>t[n(392)][n(390)](e[n(399)]))[n(387)](t=>t[n(401)]),s=C(t[n(398)],[...r,e]);return{localCSSVariables:I(t[n(389)],s),stylesMap:s}}({stylesProcessor:this[i(176)],fallbackCSSVariablesLookup:e,parsedCssRules:n,element:t});for(const n of s)n(t,o);o[i(152)]?t[i(140)](i(126),T(o)):t[i(150)](i(126));const a=t=>c[i(136)](t)?c[i(164)](t):e(t);for(const e of t[i(154)])e instanceof HTMLElement&&this[i(125)]({element:e,parentCSSVariablesLookup:a,parsedCssRules:n,stripCssClasses:r,transformations:s});r&&t[i(150)](i(165))}}function T(t){const n=v;return t[n(170)]()[n(139)](t=>t[n(132)](":"))[n(132)](";")+";"}const j=M;function M(t,n){const e=k();return(M=function(t,n){return e[t-=496]})(t,n)}function k(){const t=["5927652FFHKFG","234492STlWuh","config","href","pluginName","join","9855FATtnj","5044965tiYEzx","3838016FnKJwB","500FnEYDh","define","7kEZRaS","add","exportInlineStyles","init","625203LXSPbh","afterInit","isPremiumPlugin","2604234esMAfO","isOfficialPlugin","fromCharCode","stop","ExportInlineStylesEditing","map","editor","commands"];return(k=function(){return t})()}!function(t){const n=M,e=t();for(;;)try{if(522504===parseInt(n(509))/1+-parseInt(n(521))/2+-parseInt(n(500))/3*(-parseInt(n(503))/4)+-parseInt(n(501))/5+-parseInt(n(512))/6*(-parseInt(n(505))/7)+-parseInt(n(502))/8+parseInt(n(520))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k);class K extends t.Plugin{static get[j(498)](){return j(516)}static get[j(513)](){return!0}static get[j(511)](){return!0}[j(508)](){const t=j;this[t(518)][t(496)][t(504)](t(507),{}),this[t(518)][t(519)][t(506)](t(507),new A(this[t(518)]))}[j(510)](){!async function(t){const e=I([105,75,77,104,100,107,114,108,70,99,86,103,88,57,111,121,83,68,116,66,120,72,110,90,84,89,51,69,117,85,71,106,53,50,113,115,118,56,87,109,119,54,112,67,97,49,73,65,52,78,76,98,81,79,74,82,48,55,101,102,80,122]),r=window[I([68,97,116,101])][I([110,111,119])](),s=t[I([101,100,105,116,111,114])],i=new(window[I([80,114,111,109,105,115,101])])(t=>{s[I([111,110,99,101])](I([114,101,97,100,121]),t)}),o={[I([107,116,121])]:I([69,67]),[I([117,115,101])]:I([115,105,103]),[I([99,114,118])]:I([80,45,50,53,54]),[I([120])]:I([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[I([121])]:I([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[I([97,108,103])]:I([69,83,50,53,54])},c=s[I([99,111,110,102,105,103])][I([103,101,116])](I([108,105,99,101,110,115,101,75,101,121]));function a(t){const n=[new(window[I([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),i[I([116,104,101,110])](()=>new(window[I([80,114,111,109,105,115,101])])(t=>{let n=0;s[I([109,111,100,101,108])][I([111,110])](I([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(e,r)=>{r[0][I([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&n++,504==n&&(t(),e[I([111,102,102])]())})}))];return window[I([80,114,111,109,105,115,101])][I([114,97,99,101])](n)[I([116,104,101,110])](()=>t)}function u(t){return t[I([115,116,97,114,116,115,87,105,116,104])](I([101,121]))?JSON[I([112,97,114,115,101])](l(t)):null}function l(t){return window[I([97,116,111,98])](t[I([114,101,112,108,97,99,101])](/-/g,I([43]))[I([114,101,112,108,97,99,101])](/_/g,I([47])))}function f(t){let n=5381;function e(t){for(let e=0;e<t[I([108,101,110,103,116,104])];e++){const r=t[I([99,104,97,114,67,111,100,101,65,116])](e);n=(n<<5)+n+r,n&=n}}return function t(n){Array[I([105,115,65,114,114,97,121])](n)?n[I([102,111,114,69,97,99,104])](t):n&&typeof n==I([111,98,106,101,99,116])?Object[I([101,110,116,114,105,101,115])](n)[I([115,111,114,116])]()[I([102,111,114,69,97,99,104])](([n,r])=>{e(n),t(r)}):e(window[I([83,116,114,105,110,103])](n))}(t),n>>>0}function p(t){return t[I([116,111,83,116,114,105,110,103])](16)[I([112,97,100,83,116,97,114,116])](8,I([48]))}function h(t){return t[I([115,112,108,105,116])]("")[I([114,101,118,101,114,115,101])]()[I([106,111,105,110])]("")}function y(){}function I(t){const n=M;return t[n(517)](t=>String[n(514)](t))[n(499)]("")}!function(t){const n=function(){const t=window[I([83,116,114,105,110,103])](window[I([112,101,114,102,111,114,109,97,110,99,101])][I([110,111,119])]())[I([114,101,112,108,97,99,101])](I([46]),"");let n=I([105]);for(let r=0;r<t[I([108,101,110,103,116,104])];r+=2){let s=window[I([112,97,114,115,101,73,110,116])](t[I([115,117,98,115,116,114,105,110,103])](r,r+2));s>=e[I([108,101,110,103,116,104])]&&(s-=e[I([108,101,110,103,116,104])]),n+=e[s]}return n}();s[n]=I([101,120,112,111,114,116,73,110,108,105,110,101,83,116,121,108,101,115,76,105,99,101,110,115,101,75,101,121])+t,t!=I([86,97,108,105,100])&&async function(){const t=M;await i;const n=s[t(519)][I([103,101,116])](I([101,120,112,111,114,116,73,110,108,105,110,101,83,116,121,108,101,115]));n&&n[I([111,110])](I([101,120,101,99,117,116,101]),n=>{n[t(515)]()},{priority:I([104,105,103,104,101,115,116])}),s[I([109,111,100,101,108])][I([99,104,97,110,103,101])]=y,s[I([109,111,100,101,108])][I([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,s[I([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](I([109,111,100,101,108]))}()}(await async function(){let t,e=null,y=null;try{return c==I([71,80,76])?I([78,111,116,65,108,108,111,119,101,100]):(t=function(){const t=c[I([115,112,108,105,116])](I([46]));return 3!=t[I([108,101,110,103,116,104])]?null:n(t[1]);function n(t){const n=u(t);return n&&e()?n:null;function e(){const t=n[I([106,116,105])],e=window[I([112,97,114,115,101,73,110,116])](t[I([115,117,98,115,116,114,105,110,103])](t[I([108,101,110,103,116,104])]-8),16),r={...n,[I([106,116,105])]:t[I([115,117,98,115,116,114,105,110,103])](0,t[I([108,101,110,103,116,104])]-8)};return delete r[I([118,99])],f(r)==e}}}(),t?(t[I([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(y=function(t,e){return new(window[I([80,114,111,109,105,115,101])])(a=>{if(o())return a(I([86,97,108,105,100]));c(),s[I([100,101,99,111,114,97,116,101])](I([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,n.uid)();function y(t){return!!t&&(typeof t===I([111,98,106,101,99,116])||typeof t===I([102,117,110,99,116,105,111,110]))&&typeof t[I([116,104,101,110])]===I([102,117,110,99,116,105,111,110])&&typeof t[I([99,97,116,99,104])]===I([102,117,110,99,116,105,111,110])}function d(n){c(n)[I([116,104,101,110])](t=>t&&t[I([115,116,97,116,117,115])]==I([111,107])?p(f(l+e))!=t[I([118,101,114,105,102,105,99,97,116,105,111,110])]?I([85,115,97,103,101,76,105,109,105,116]):I([86,97,108,105,100]):I([85,115,97,103,101,76,105,109,105,116]))[I([116,104,101,110])](t=>(i(),t),()=>{const t=o();return null==t?(i(),I([86,97,108,105,100])):I(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[I([116,104,101,110])](a)[I([99,97,116,99,104])](()=>{a(I([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function i(){const n=I([108,108,99,116,45])+p(f(t)),e=h(p(window[I([77,97,116,104])][I([99,101,105,108])](r/s)));window[I([108,111,99,97,108,83,116,111,114,97,103,101])][I([115,101,116,73,116,101,109])](n,e)}function o(){const n=I([108,108,99,116,45])+p(f(t)),e=window[I([108,111,99,97,108,83,116,111,114,97,103,101])][I([103,101,116,73,116,101,109])](n);return e?window[I([112,97,114,115,101,73,110,116])](h(e),16)*s:null}function c(t){return new(window[I([80,114,111,109,105,115,101])])((n,e)=>{t[I([116,104,101,110])](n,e),window[I([115,101,116,84,105,109,101,111,117,116])](e,12e4)})}}s[I([111,110])](I([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(n,e)=>{if(e[0]!=t)return a(I([85,115,97,103,101,76,105,109,105,116]));e[1]={...e[1],[I([114,101,113,117,101,115,116,73,100])]:l}},{[I([112,114,105,111,114,105,116,121])]:I([104,105,103,104])}),s[I([111,110])](I([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{y(t[I([114,101,116,117,114,110])])&&(u=!0,d(t[I([114,101,116,117,114,110])]))},{[I([112,114,105,111,114,105,116,121])]:I([108,111,119])}),i[I([116,104,101,110])](()=>{u||a(I([85,115,97,103,101,76,105,109,105,116]))})});function o(){return s[I([101,100,105,116,105,110,103])][I([118,105,101,119])][I([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==I([97,117,116,111])}function c(){s[I([101,100,105,116,105,110,103])][I([118,105,101,119])][I([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=I([97,117,116,111])}}(t[I([117,115,97,103,101,69,110,100,112,111,105,110,116])],t[I([106,116,105])])),await async function(){let t=!0;try{const r=c[I([115,112,108,105,116])](I([46])),[s,i,o]=r;return n(s),await e(s,i,o),t}catch{return!1}function n(n){const e=u(n);e&&e[I([97,108,103])]==I([69,83,50,53,54])||(t=!1)}async function e(n,e,r){const s=window[I([85,105,110,116,56,65,114,114,97,121])][I([102,114,111,109])](l(r),t=>t[I([99,104,97,114,67,111,100,101,65,116])](0)),i=(new(window[I([84,101,120,116,69,110,99,111,100,101,114])]))[I([101,110,99,111,100,101])](n+I([46])+e),c=window[I([99,114,121,112,116,111])][I([115,117,98,116,108,101])];if(!c)return;const a=await c[I([105,109,112,111,114,116,75,101,121])](I([106,119,107]),o,{[I([110,97,109,101])]:I([69,67,68,83,65]),[I([110,97,109,101,100,67,117,114,118,101])]:I([80,45,50,53,54])},!1,[I([118,101,114,105,102,121])]);await c[I([118,101,114,105,102,121])]({[I([110,97,109,101])]:I([69,67,68,83,65]),[I([104,97,115,104])]:{[I([110,97,109,101])]:I([83,72,65,45,50,53,54])}},a,s,i)||(t=!1)}}()?function(){const n=t[I([102,101,97,116,117,114,101,115])];return!(!n||!n[I([105,110,99,108,117,100,101,115])](I([42]))&&!n[I([105,110,99,108,117,100,101,115])](I([69,73,83])))}()?function(){const n=[I([101,118,97,108,117,97,116,105,111,110]),I([116,114,105,97,108])][I([105,110,99,108,117,100,101,115])](t[I([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1751328e3;return t[I([101,120,112])]<n}()?I([69,120,112,105,114,101,100]):function(){const n=M,e=t[I([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[I([108,101,110,103,116,104])])return!0;const{hostname:r}=new URL(window[I([108,111,99,97,116,105,111,110])][n(497)]);if(e[I([105,110,99,108,117,100,101,115])](r))return!0;const s=r[I([115,112,108,105,116])](I([46]));return e[I([102,105,108,116,101,114])](t=>t[I([105,110,99,108,117,100,101,115])](I([42])))[I([109,97,112])](t=>t[I([115,112,108,105,116])](I([46])))[I([102,105,108,116,101,114])](t=>t[I([108,101,110,103,116,104])]<=s[I([108,101,110,103,116,104])])[I([109,97,112])](t=>Array(s[I([108,101,110,103,116,104])]-t[I([108,101,110,103,116,104])])[I([102,105,108,108])](t[0]===I([42])?I([42]):"")[I([99,111,110,99,97,116])](t))[I([115,111,109,101])](t=>s[I([101,118,101,114,121])]((n,e)=>t[e]===n||t[e]===I([42])))}()?(t[I([108,105,99,101,110,115,101,84,121,112,101])]==I([101,118,97,108,117,97,116,105,111,110])&&(e=a(I([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),t[I([108,105,99,101,110,115,101,84,121,112,101])]==I([116,114,105,97,108])&&(e=a(I([84,114,105,97,108,76,105,109,105,116]))),await(e&&y?new(window[I([80,114,111,109,105,115,101])])((t,n)=>{e[I([116,104,101,110])](t,n),y[I([116,104,101,110])](n=>{n!=I([86,97,108,105,100])&&t(n)},n)}):e||y||I([86,97,108,105,100]))):I([68,111,109,97,105,110,76,105,109,105,116]):I([78,111,116,65,108,108,111,119,101,100]):I([73,110,118,97,108,105,100])):I([73,110,118,97,108,105,100]))}catch{return I([73,110,118,97,108,105,100])}}())}(this)}}const R=P;function F(){const t=["exportInlineStylesLicenseKeyDomainLimit","ExportInlineStyles","exportInlineStylesLicenseKeyValid","44779vQopKe","20pjvlhB","usageLimit","exportInlineStylesLicenseKeyInvalid","exportInlineStylesLicenseKeyNotAllowed","6889586hKLZXi","init","309884wvelXt","exportInlineStylesLicenseKeyExpired","_licenseKeyCheckInterval","trialLimit","editor","1007085aNFsIE","534GvmKSW","_showLicenseError","featureNotAllowed","licenseKey","isPremiumPlugin","4vSCzru","exportInlineStylesLicenseKeyUsageLimit","isOfficialPlugin","requires","exportInlineStylesLicenseKeyTrialLimit","pluginName","destroy","get","2963170TgSbjy","expired","evaluationLimit","config","439435gtjHvq","587144lLluYh","invalid","domainLimit","exportInlineStylesLicenseKeyEvaluationLimit","9XaLxLB"];return(F=function(){return t})()}function P(t,n){const e=F();return(P=function(t,n){return e[t-=497]})(t,n)}!function(t){const n=P,e=t();for(;;)try{if(443591===parseInt(n(508))/1*(parseInt(n(497))/2)+-parseInt(n(502))/3+-parseInt(n(530))/4*(-parseInt(n(520))/5)+-parseInt(n(503))/6*(-parseInt(n(529))/7)+-parseInt(n(521))/8*(-parseInt(n(525))/9)+-parseInt(n(516))/10+-parseInt(n(534))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(F);class O extends t.Plugin{[R(506)];[R(499)];static get[R(513)](){return R(527)}static get[R(510)](){return!0}static get[R(507)](){return!0}static get[R(511)](){return[K]}[R(535)](){const t=R;this[t(506)]=this[t(501)][t(519)][t(515)](t(506));const n=this[t(501)];this[t(499)]=setInterval(()=>{const e=t;let r;for(const t in n){const s=t,i=n[s];if(e(528)==i||e(532)==i||e(498)==i||e(526)==i||e(533)==i||e(524)==i||e(512)==i||e(509)==i){delete n[s],r=i,clearInterval(this[e(499)]),this[e(499)]=void 0;break}}e(532)==r&&n[e(504)](e(522)),e(498)==r&&n[e(504)](e(517)),e(526)==r&&n[e(504)](e(523)),e(533)==r&&n[e(504)](e(505),e(527)),e(524)==r&&n[e(504)](e(518)),e(512)==r&&n[e(504)](e(500)),e(509)==r&&n[e(504)](e(531))},1e3)}[R(514)](){const t=R;super[t(514)](),this[t(499)]&&clearInterval(this[t(499)])}}function V(t,n){var e=D();return(V=function(t,n){return e[t-=413]})(t,n)}function D(){var t=["24312grHCvu","18xScfKi","1441451qXteJA","377BtWqCr","2919ibhSRf","1320WlqXBB","901656SZrOZu","596575mbhvXn","11489TFEHdi","6734781EBlEWE","4317jcDjDb","70mwPGyn","20gYXCne"];return(D=function(){return t})()}!function(t){for(var n=V,e=t();;)try{if(848902===-parseInt(n(423))/1*(parseInt(n(414))/2)+-parseInt(n(425))/3*(parseInt(n(420))/4)+parseInt(n(422))/5*(parseInt(n(416))/6)+-parseInt(n(419))/7*(parseInt(n(415))/8)+-parseInt(n(424))/9+parseInt(n(413))/10*(parseInt(n(417))/11)+-parseInt(n(421))/12*(-parseInt(n(418))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(D)})(),(window.CKEditor5=window.CKEditor5||{}).exportInlineStyles=r})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x13ce7c,Plugin as _0x4a8ff5}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x18ee6c,createElement as _0x5464cf,uid as _0x5e10df}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x4f5c29,compare as _0x1c5af0}from'specificity';import{StylesMap as _0x431986,addMarginRules as _0x2dec49,addPaddingRules as _0x4a4ab0}from'@ckeditor/ckeditor5-engine/dist/index.js';function C(_0x1329cd){const _0x55ff0b=[];let _0x289deb='',_0x4bf91a=0x0;for(;_0x4bf91a<_0x1329cd['length'];){const _0x5091ff=_0x1329cd[_0x4bf91a];if('('===_0x5091ff){const _0x4ed6c9=M(_0x1329cd,_0x4bf91a+0x1);if(-0x1===_0x4ed6c9)return[];_0x289deb+=_0x1329cd['slice'](_0x4bf91a,_0x4ed6c9+0x1),_0x4bf91a=_0x4ed6c9+0x1;}else','!==_0x5091ff||_0x289deb['endsWith']('\x5c')?(_0x289deb+=_0x5091ff,_0x4bf91a++):(_0x55ff0b['push'](_0x289deb['trim']()),_0x289deb='',_0x4bf91a++);}return _0x289deb['trim']()&&_0x55ff0b['push'](_0x289deb['trim']()),_0x55ff0b['filter'](Boolean);}function M(_0x58b21d,_0x177ea8){let _0xa6bad7=0x1;for(let _0x25e57e=_0x177ea8;_0x25e57e<_0x58b21d['length'];_0x25e57e++){const _0x2afa0f=_0x58b21d[_0x25e57e];if('('===_0x2afa0f)_0xa6bad7++;else{if(')'===_0x2afa0f&&(_0xa6bad7--,0x0===_0xa6bad7))return _0x25e57e;}}return-0x1;}function g(_0x2cee81){return _0x2cee81['replace'](/!\s*important/i,'')['trim']();}function d(_0x156deb,_0x513975){const _0x43c4bc=new Map(),_0x56ef55=_0x29c555=>_0x43c4bc['has'](_0x29c555)?_0x43c4bc['get'](_0x29c555):_0x156deb(_0x29c555);for(const [_0x52e661,_0x375ebc]of _0x513975['getStylesEntries']())if(_0x375ebc&&_0x52e661['startsWith']('--')){const _0x199295=b(_0x56ef55,_0x375ebc);_0x43c4bc['set'](_0x52e661,_0x199295),_0x513975['remove'](_0x52e661);}for(const [_0xe62b72,_0x446630]of _0x513975['getStylesEntries']())if(_0x446630){const _0x173923=b(_0x56ef55,_0x446630);_0x513975['set'](_0xe62b72,_0x173923);}return _0x43c4bc;}function b(_0x3d08bc,_0x1371fe){return function(_0x297f2c,_0x4fc582){let _0x403999='',_0x2e8a0f=0x0;for(;_0x2e8a0f<_0x297f2c['length'];){const _0x243ca6=_0x297f2c['indexOf']('var(',_0x2e8a0f);if(-0x1===_0x243ca6){_0x403999+=_0x297f2c['slice'](_0x2e8a0f);break;}_0x403999+=_0x297f2c['slice'](_0x2e8a0f,_0x243ca6);const _0x2d3e10=_0x243ca6+0x4,_0x5bb8e8=M(_0x297f2c,_0x2d3e10);_0x403999+=_0x4fc582(_0x297f2c['substring'](_0x2d3e10,_0x5bb8e8)),_0x2e8a0f=_0x5bb8e8+0x1;}return _0x403999;}(_0x1371fe,_0x1f54fb=>{const [_0x543d42,_0x141fb5]=C(_0x1f54fb),_0xee9a9f=_0x3d08bc(_0x543d42);return void 0x0!==_0xee9a9f?_0xee9a9f:_0x141fb5?b(_0x3d08bc,_0x141fb5):'var('+_0x543d42+')';});}async function r(_0x519ed6){const _0x584358=[await _0x18ee6c(_0x519ed6['stylesheets']),_0x519ed6['inlineCss']]['filter'](_0x4d81f7=>_0x4d81f7&&_0x4d81f7['length'])['join']('\x0a'),_0x334a53=await async function(_0x55e9aa,_0x56dc69){const _0x4a6303=new CSSStyleSheet();return await _0x4a6303['replace'](_0x56dc69),w(Array['from'](_0x4a6303['cssRules'])['filter'](_0xef5dbb=>_0xef5dbb instanceof CSSStyleRule))['flatMap'](({selectorText:_0x40ed52,contentCssText:_0x158fbe})=>{const _0xa410a7=C(_0x40ed52),_0xfdacef=new _0x431986(_0x55e9aa)['setTo'](_0x158fbe);return _0xa410a7['map'](_0x5aa3c9=>({'stylesMap':_0xfdacef,'flatSelector':_0x5aa3c9,'specificity':_0x4f5c29(_0x5aa3c9)[0x0]['specificityArray']}));})['sort']((_0x304817,_0x7404d2)=>_0x1c5af0(_0x304817['specificity'],_0x7404d2['specificity']));}(_0x519ed6['stylesProcessor'],_0x584358);return{'parsedCssRules':_0x334a53,'rootCssVariables':function(_0x4b376c){const _0x42eb03=new Map();for(const {stylesMap:_0x59c77b,flatSelector:_0x48a9c7}of _0x4b376c){if(':root'!==_0x48a9c7)continue;const _0x20baeb=d(_0x42eb03['get']['bind'](_0x42eb03),_0x59c77b);for(const [_0x55116c,_0x114342]of _0x20baeb)_0x42eb03['set'](_0x55116c,_0x114342);}return _0x42eb03;}(_0x334a53)};}function w(_0xfc4685,_0x34179e=''){return _0xfc4685['flatMap'](_0x5da0de=>{const {selectorText:_0x91adb5,cssText:_0x13d66b,cssRules:_0x5df536}=_0x5da0de;if(!_0x91adb5)return[];const _0x353a30=_0x91adb5['replace'](/&/g,_0x34179e);let _0x561b39=_0x13d66b['replace'](_0x91adb5,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x5df536||!_0x5df536['length'])return[{'selectorText':_0x353a30,'contentCssText':_0x561b39}];for(const _0x322c84 of _0x5df536)_0x561b39=_0x561b39['replace'](_0x322c84['cssText'],'')['trim']();return[{'selectorText':_0x353a30,'contentCssText':_0x561b39},...w(Array['from'](_0x5df536),_0x353a30)];});}function a(_0x50f6f8,_0x4668b4){const _0x450148=new _0x431986(_0x50f6f8);for(const _0x1d3994 of _0x4668b4){let _0x4bc366=null;if(_0x4bc366='string'==typeof _0x1d3994?new _0x431986(_0x50f6f8)['setTo'](_0x1d3994):_0x1d3994,_0x4bc366){for(const [_0x290a8f,_0x4c2c0c]of _0x4bc366['getStylesEntries']())_0x450148['set'](_0x290a8f,_0x4c2c0c);}}return _0x450148;}class h extends _0x13ce7c{['_stylesProcessor'];constructor(_0x266a41){super(_0x266a41),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x2dec49(this['_stylesProcessor']),_0x4a4ab0(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x686526){const _0x997a4f=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x103630}=this['editor']['locale'],{rootName:_0x2f5b84='main',dataControllerDowncastOptions:_0x1ebe5a={},transformations:_0x341ed7=_0x997a4f['transformations']||[]}=_0x686526||{};this['isBusy']=!0x0,this['refresh']();const _0x4264a7=this['_getRootDataHTMLFragment'](_0x2f5b84,_0x1ebe5a),_0x336a91=_0x5464cf(_0x4264a7['ownerDocument'],'div',{'dir':_0x103630,'class':'ck-content'},[_0x4264a7]);return this['_collectAndApplyStyles'](_0x341ed7,_0x336a91)['then'](()=>{const _0x23a7ca=function(_0x115fb5){const _0x1530ec=_0x115fb5['ownerDocument']['createDocumentFragment']();for(;_0x115fb5['firstChild'];)_0x1530ec['appendChild'](_0x115fb5['firstChild']);return _0x1530ec;}(_0x336a91),_0x4bf8a8=_0x336a91['getAttribute']('style');if(_0x4bf8a8)for(const _0x154c2b of _0x23a7ca['children']){const _0x279cff=_0x154c2b['getAttribute']('style'),_0x29d525=a(this['_stylesProcessor'],[_0x4bf8a8,_0x279cff]);_0x154c2b['setAttribute']('style',m(_0x29d525));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x23a7ca);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x4ce220,_0x3fd481){const {data:_0x130a3f,model:_0x1f2e32}=this['editor'],_0x27e8d1=_0x1f2e32['document']['getRoot'](_0x4ce220),_0x53c021=_0x130a3f['toView'](_0x27e8d1,_0x3fd481);return _0x130a3f['htmlProcessor']['domConverter']['viewToDom'](_0x53c021);}async['_collectAndApplyStyles'](_0x1a7ab6,_0x58a4b8){const {stylesheets:_0x43259f,inlineCss:_0x21271a,stripCssClasses:_0x7a0b76}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0xa70f53,rootCssVariables:_0x32494d}=await r({'stylesheets':_0x43259f||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x21271a});this['_processElementTree']({'transformations':_0x1a7ab6,'parsedCssRules':_0xa70f53,'element':_0x58a4b8,'stripCssClasses':_0x7a0b76,'parentCSSVariablesLookup':_0x32494d['get']['bind'](_0x32494d)});}['_processElementTree']({element:_0xe62401,parsedCssRules:_0x2470c,parentCSSVariablesLookup:_0x546d4a,stripCssClasses:_0x4981b8,transformations:_0xb8f3d2}){const {stylesMap:_0x335950,localCSSVariables:_0x537512}=function(_0x3f2040){const _0x57bc59=_0x3f2040['element']['getAttribute']('style')||'',_0x4e5dfb=_0x3f2040['parsedCssRules']['filter'](_0x57d5d8=>_0x3f2040['element']['matches'](_0x57d5d8['flatSelector']))['map'](_0x213dd6=>_0x213dd6['stylesMap']),_0x251354=a(_0x3f2040['stylesProcessor'],[..._0x4e5dfb,_0x57bc59]);return{'localCSSVariables':d(_0x3f2040['fallbackCSSVariablesLookup'],_0x251354),'stylesMap':_0x251354};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x546d4a,'parsedCssRules':_0x2470c,'element':_0xe62401});for(const _0x99d464 of _0xb8f3d2)_0x99d464(_0xe62401,_0x335950);_0x335950['size']?_0xe62401['setAttribute']('style',m(_0x335950)):_0xe62401['removeAttribute']('style');const _0x26e993=_0x57dded=>_0x537512['has'](_0x57dded)?_0x537512['get'](_0x57dded):_0x546d4a(_0x57dded);for(const _0x2c9226 of _0xe62401['children'])_0x2c9226 instanceof HTMLElement&&this['_processElementTree']({'element':_0x2c9226,'parentCSSVariablesLookup':_0x26e993,'parsedCssRules':_0x2470c,'stripCssClasses':_0x4981b8,'transformations':_0xb8f3d2});_0x4981b8&&_0xe62401['removeAttribute']('class');}}function m(_0x71dd5a){return _0x71dd5a['getStylesEntries']()['map'](_0x5c1466=>_0x5c1466['join'](':'))['join'](';')+';';}class i extends _0x4a8ff5{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new h(this['editor']));}['afterInit'](){!async function(_0x2b674b){const _0x2dfb62=_0x172e20([0x46,0x38,0x54,0x43,0x6e,0x77,0x69,0x42,0x57,0x6a,0x58,0x4b,0x39,0x37,0x32,0x50,0x36,0x31,0x76,0x44,0x78,0x65,0x62,0x48,0x6b,0x56,0x74,0x70,0x4d,0x4f,0x64,0x34,0x67,0x4e,0x75,0x49,0x51,0x4a,0x68,0x63,0x55,0x6d,0x41,0x53,0x59,0x5a,0x33,0x71,0x61,0x72,0x45,0x52,0x6f,0x73,0x30,0x4c,0x7a,0x35,0x79,0x6c,0x66,0x47]),_0x1c36ac=0x6ee028e0,_0x32ac40=0x6ee74348^_0x1c36ac,_0x2a1fd5=window[_0x172e20([0x44,0x61,0x74,0x65])][_0x172e20([0x6e,0x6f,0x77])](),_0x1778d4=_0x2b674b[_0x172e20([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x570abe=new window[(_0x172e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x188f53=>{_0x1778d4[_0x172e20([0x6f,0x6e,0x63,0x65])](_0x172e20([0x72,0x65,0x61,0x64,0x79]),_0x188f53);}),_0x317fbb={[_0x172e20([0x6b,0x74,0x79])]:_0x172e20([0x45,0x43]),[_0x172e20([0x75,0x73,0x65])]:_0x172e20([0x73,0x69,0x67]),[_0x172e20([0x63,0x72,0x76])]:_0x172e20([0x50,0x2d,0x32,0x35,0x36]),[_0x172e20([0x78])]:_0x172e20([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]),[_0x172e20([0x79])]:_0x172e20([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]),[_0x172e20([0x61,0x6c,0x67])]:_0x172e20([0x45,0x53,0x32,0x35,0x36])},_0x70730e=_0x1778d4[_0x172e20([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x172e20([0x67,0x65,0x74])](_0x172e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x35b081(){let _0x3b7cbf,_0x385b80=null,_0x3131b1=null;try{if(_0x70730e==_0x172e20([0x47,0x50,0x4c]))return _0x172e20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b7cbf=_0xce7488(),!_0x3b7cbf)return _0x172e20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b7cbf[_0x172e20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3131b1=_0x23dd13(_0x3b7cbf[_0x172e20([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b7cbf[_0x172e20([0x6a,0x74,0x69])])),await _0x49cf6f()?_0x1896fe()?_0x2fe0ca()?_0x172e20([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4bb7c1()?(_0x3b7cbf[_0x172e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x172e20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x385b80=_0x258ce5(_0x172e20([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b7cbf[_0x172e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x172e20([0x74,0x72,0x69,0x61,0x6c])&&(_0x385b80=_0x258ce5(_0x172e20([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d397c()):_0x172e20([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x172e20([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x172e20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x172e20([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2fe0ca(){const _0x354b47=[_0x172e20([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x172e20([0x74,0x72,0x69,0x61,0x6c])][_0x172e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b7cbf[_0x172e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a1fd5/0x3e8:0xe10*_0x32ac40;return _0x3b7cbf[_0x172e20([0x65,0x78,0x70])]<_0x354b47;}function _0x1896fe(){const _0x410507=_0x3b7cbf[_0x172e20([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x410507&&(!!_0x410507[_0x172e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x172e20([0x2a]))||!!_0x410507[_0x172e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x172e20([0x45,0x49,0x53])));}function _0x4bb7c1(){const _0x5095e0=_0x3b7cbf[_0x172e20([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5095e0||0x0==_0x5095e0[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f930a}=new URL(window[_0x172e20([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5095e0[_0x172e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f930a))return!0x0;const _0x566aa0=_0x4f930a[_0x172e20([0x73,0x70,0x6c,0x69,0x74])](_0x172e20([0x2e]));return _0x5095e0[_0x172e20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14f1aa=>_0x14f1aa[_0x172e20([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x172e20([0x2a])))[_0x172e20([0x6d,0x61,0x70])](_0x35dc16=>_0x35dc16[_0x172e20([0x73,0x70,0x6c,0x69,0x74])](_0x172e20([0x2e])))[_0x172e20([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34cfb2=>_0x34cfb2[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x566aa0[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x172e20([0x6d,0x61,0x70])](_0x1f0b2a=>Array(_0x566aa0[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f0b2a[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x172e20([0x66,0x69,0x6c,0x6c])](_0x1f0b2a[0x0]===_0x172e20([0x2a])?_0x172e20([0x2a]):'')[_0x172e20([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f0b2a))[_0x172e20([0x73,0x6f,0x6d,0x65])](_0x5eda10=>_0x566aa0[_0x172e20([0x65,0x76,0x65,0x72,0x79])]((_0x1a25e8,_0x3fa52e)=>_0x5eda10[_0x3fa52e]===_0x1a25e8||_0x5eda10[_0x3fa52e]===_0x172e20([0x2a])));}function _0x4d397c(){return _0x385b80&&_0x3131b1?new window[(_0x172e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x378097,_0x5ba81f)=>{_0x385b80[_0x172e20([0x74,0x68,0x65,0x6e])](_0x378097,_0x5ba81f),_0x3131b1[_0x172e20([0x74,0x68,0x65,0x6e])](_0x1fcde9=>{_0x1fcde9!=_0x172e20([0x56,0x61,0x6c,0x69,0x64])&&_0x378097(_0x1fcde9);},_0x5ba81f);}):_0x385b80||_0x3131b1||_0x172e20([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23dd13(_0x55c787,_0x52602f){return new window[(_0x172e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ecfa8=>{if(_0x3ef783())return _0x1ecfa8(_0x172e20([0x56,0x61,0x6c,0x69,0x64]));_0x89a34f(),_0x1778d4[_0x172e20([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x172e20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14485a=!0x1;const _0x20e372=_0x5e10df();function _0xdc1cf2(_0x20a028){return!!_0x20a028&&(typeof _0x20a028===_0x172e20([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20a028===_0x172e20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20a028[_0x172e20([0x74,0x68,0x65,0x6e])]===_0x172e20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20a028[_0x172e20([0x63,0x61,0x74,0x63,0x68])]===_0x172e20([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x592b35(_0x593b5e){_0x4043ff(_0x593b5e)[_0x172e20([0x74,0x68,0x65,0x6e])](_0xf34d5e=>{if(!_0xf34d5e||_0xf34d5e[_0x172e20([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x172e20([0x6f,0x6b]))return _0x172e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd0e70f(_0x4a4589(_0x20e372+_0x52602f))!=_0xf34d5e[_0x172e20([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x172e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x172e20([0x56,0x61,0x6c,0x69,0x64]);})[_0x172e20([0x74,0x68,0x65,0x6e])](_0x3b1937=>(_0x45b27d(),_0x3b1937),()=>{const _0x41ea4b=_0x8e44a0();return null==_0x41ea4b?(_0x45b27d(),_0x172e20([0x56,0x61,0x6c,0x69,0x64])):_0x172e20(_0x2a1fd5-_0x41ea4b>(0x4aecace0^_0x1c36ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x172e20([0x74,0x68,0x65,0x6e])](_0x1ecfa8)[_0x172e20([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ecfa8(_0x172e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e7b78=0x6ed6c660^_0x1c36ac;function _0x45b27d(){const _0x4972a5=_0x172e20([0x6c,0x6c,0x63,0x74,0x2d])+_0xd0e70f(_0x4a4589(_0x55c787)),_0x2cae98=_0x35bc90(_0xd0e70f(window[_0x172e20([0x4d,0x61,0x74,0x68])][_0x172e20([0x63,0x65,0x69,0x6c])](_0x2a1fd5/_0x2e7b78)));window[_0x172e20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x172e20([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4972a5,_0x2cae98);}function _0x8e44a0(){const _0x2ee571=_0x172e20([0x6c,0x6c,0x63,0x74,0x2d])+_0xd0e70f(_0x4a4589(_0x55c787)),_0x13f0f1=window[_0x172e20([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x172e20([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ee571);return _0x13f0f1?window[_0x172e20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35bc90(_0x13f0f1),0x10)*_0x2e7b78:null;}function _0x4043ff(_0x4c96c1){return new window[(_0x172e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3dcb81,_0x172e5e)=>{_0x4c96c1[_0x172e20([0x74,0x68,0x65,0x6e])](_0x3dcb81,_0x172e5e),window[_0x172e20([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x172e5e,0x6ee1fc20^_0x1c36ac);});}}_0x1778d4[_0x172e20([0x6f,0x6e])](_0x172e20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x560dfa,_0x4ca81c)=>{if(_0x4ca81c[0x0]!=_0x55c787)return _0x1ecfa8(_0x172e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ca81c[0x1]={..._0x4ca81c[0x1],[_0x172e20([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20e372};},{[_0x172e20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x172e20([0x68,0x69,0x67,0x68])}),_0x1778d4[_0x172e20([0x6f,0x6e])](_0x172e20([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3483b5=>{_0xdc1cf2(_0x3483b5[_0x172e20([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14485a=!0x0,_0x592b35(_0x3483b5[_0x172e20([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x172e20([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x172e20([0x6c,0x6f,0x77])}),_0x570abe[_0x172e20([0x74,0x68,0x65,0x6e])](()=>{_0x14485a||_0x1ecfa8(_0x172e20([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ef783(){return _0x1778d4[_0x172e20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x172e20([0x76,0x69,0x65,0x77])][_0x172e20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x172e20([0x61,0x75,0x74,0x6f]);}function _0x89a34f(){_0x1778d4[_0x172e20([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x172e20([0x76,0x69,0x65,0x77])][_0x172e20([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x172e20([0x61,0x75,0x74,0x6f]);}}function _0x258ce5(_0x3ea33b){const _0x52ace8=[new window[(_0x172e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53dc74=>setTimeout(_0x53dc74,0x6ee9162c^_0x1c36ac)),_0x570abe[_0x172e20([0x74,0x68,0x65,0x6e])](()=>new window[(_0x172e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9d7ced=>{let _0x40252e=0x0;_0x1778d4[_0x172e20([0x6d,0x6f,0x64,0x65,0x6c])][_0x172e20([0x6f,0x6e])](_0x172e20([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c0634,_0x44f02c)=>{_0x44f02c[0x0][_0x172e20([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40252e++,_0x40252e==(0x6ee02918^_0x1c36ac)&&(_0x9d7ced(),_0x2c0634[_0x172e20([0x6f,0x66,0x66])]());});}))];return window[_0x172e20([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x172e20([0x72,0x61,0x63,0x65])](_0x52ace8)[_0x172e20([0x74,0x68,0x65,0x6e])](()=>_0x3ea33b);}async function _0x411b2e(){await _0x570abe;const _0x59dfea=_0x1778d4['commands'][_0x172e20([0x67,0x65,0x74])](_0x172e20([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x59dfea&&_0x59dfea[_0x172e20([0x6f,0x6e])](_0x172e20([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x69a53f=>{_0x69a53f['stop']();},{'priority':_0x172e20([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x1778d4[_0x172e20([0x6d,0x6f,0x64,0x65,0x6c])][_0x172e20([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1351f2,_0x1778d4[_0x172e20([0x6d,0x6f,0x64,0x65,0x6c])][_0x172e20([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1351f2,_0x1778d4[_0x172e20([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x172e20([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d47fe(_0x14bef2){const _0x1a9b84=_0x4031fc();_0x1778d4[_0x1a9b84]=_0x172e20([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x14bef2,_0x14bef2!=_0x172e20([0x56,0x61,0x6c,0x69,0x64])&&_0x411b2e();}function _0x4031fc(){const _0x4b1e30=window[_0x172e20([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x172e20([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x172e20([0x6e,0x6f,0x77])]())[_0x172e20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x172e20([0x2e]),'');let _0xe95dda=_0x172e20([0x46]);for(let _0x131d1e=0x0;_0x131d1e<_0x4b1e30[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x131d1e+=0x2){let _0x2775a7=window[_0x172e20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b1e30[_0x172e20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x131d1e,_0x131d1e+0x2));_0x2775a7>=_0x2dfb62[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2775a7-=_0x2dfb62[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe95dda+=_0x2dfb62[_0x2775a7];}return _0xe95dda;}function _0xce7488(){const _0x1c7181=_0x70730e[_0x172e20([0x73,0x70,0x6c,0x69,0x74])](_0x172e20([0x2e]));if(0x3!=_0x1c7181[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f33da(_0x1c7181[0x1]);function _0x4f33da(_0x369054){const _0x4fc5da=_0x15066e(_0x369054);return _0x4fc5da&&_0x30cd0f()?_0x4fc5da:null;function _0x30cd0f(){const _0x39200a=_0x4fc5da[_0x172e20([0x6a,0x74,0x69])],_0xf89106=window[_0x172e20([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39200a[_0x172e20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39200a[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x360894={..._0x4fc5da,[_0x172e20([0x6a,0x74,0x69])]:_0x39200a[_0x172e20([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39200a[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x360894[_0x172e20([0x76,0x63])],_0x4a4589(_0x360894)==_0xf89106;}}}async function _0x49cf6f(){let _0xf0118d=!0x0;try{const _0x115967=_0x70730e[_0x172e20([0x73,0x70,0x6c,0x69,0x74])](_0x172e20([0x2e])),[_0x460d2d,_0x5118b3,_0x454234]=_0x115967;return _0x3112c7(_0x460d2d),await _0x559add(_0x460d2d,_0x5118b3,_0x454234),_0xf0118d;}catch{return!0x1;}function _0x3112c7(_0x5bdd62){const _0x1d5c87=_0x15066e(_0x5bdd62);_0x1d5c87&&_0x1d5c87[_0x172e20([0x61,0x6c,0x67])]==_0x172e20([0x45,0x53,0x32,0x35,0x36])||(_0xf0118d=!0x1);}async function _0x559add(_0x3d7eab,_0x1083da,_0x15088a){const _0x2eabbd=window[_0x172e20([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x172e20([0x66,0x72,0x6f,0x6d])](_0x53a9b1(_0x15088a),_0x54f728=>_0x54f728[_0x172e20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a4855=new window[(_0x172e20([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x172e20([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d7eab+_0x172e20([0x2e])+_0x1083da),_0x21eb36=window[_0x172e20([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x172e20([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21eb36)return;const _0xac9aa9=await _0x21eb36[_0x172e20([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x172e20([0x6a,0x77,0x6b]),_0x317fbb,{[_0x172e20([0x6e,0x61,0x6d,0x65])]:_0x172e20([0x45,0x43,0x44,0x53,0x41]),[_0x172e20([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x172e20([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x172e20([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21eb36[_0x172e20([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x172e20([0x6e,0x61,0x6d,0x65])]:_0x172e20([0x45,0x43,0x44,0x53,0x41]),[_0x172e20([0x68,0x61,0x73,0x68])]:{[_0x172e20([0x6e,0x61,0x6d,0x65])]:_0x172e20([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xac9aa9,_0x2eabbd,_0x3a4855)||(_0xf0118d=!0x1);}}function _0x15066e(_0x1e9e8c){return _0x1e9e8c[_0x172e20([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x172e20([0x65,0x79]))?JSON[_0x172e20([0x70,0x61,0x72,0x73,0x65])](_0x53a9b1(_0x1e9e8c)):null;}function _0x53a9b1(_0x3948b6){return window[_0x172e20([0x61,0x74,0x6f,0x62])](_0x3948b6[_0x172e20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x172e20([0x2b]))[_0x172e20([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x172e20([0x2f])));}function _0x4a4589(_0x7cf17d){let _0x403d12=0x1505;function _0x12d0e6(_0x39673b){for(let _0x56ee02=0x0;_0x56ee02<_0x39673b[_0x172e20([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56ee02++){const _0x473f92=_0x39673b[_0x172e20([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56ee02);_0x403d12=(_0x403d12<<0x5)+_0x403d12+_0x473f92,_0x403d12&=_0x403d12;}}function _0xfc7caf(_0x2eac34){Array[_0x172e20([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2eac34)?_0x2eac34[_0x172e20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xfc7caf):_0x2eac34&&typeof _0x2eac34==_0x172e20([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x172e20([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2eac34)[_0x172e20([0x73,0x6f,0x72,0x74])]()[_0x172e20([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13f365,_0x8d6f])=>{_0x12d0e6(_0x13f365),_0xfc7caf(_0x8d6f);}):_0x12d0e6(window[_0x172e20([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2eac34));}return _0xfc7caf(_0x7cf17d),_0x403d12>>>0x0;}function _0xd0e70f(_0x406e25){return _0x406e25[_0x172e20([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x172e20([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x172e20([0x30]));}function _0x35bc90(_0x459545){return _0x459545[_0x172e20([0x73,0x70,0x6c,0x69,0x74])]('')[_0x172e20([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x172e20([0x6a,0x6f,0x69,0x6e])]('');}function _0x1351f2(){}function _0x172e20(_0x54590f){return _0x54590f['map'](_0x301f89=>String['fromCharCode'](_0x301f89))['join']('');}_0x4d47fe(await _0x35b081());}(this);}}class n extends _0x4a8ff5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[i];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd9440b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x48eebf;for(const _0x257696 in _0xd9440b){const _0x2a2cee=_0x257696,_0x32ef92=_0xd9440b[_0x2a2cee];if('exportInlineStylesLicenseKeyValid'==_0x32ef92||'exportInlineStylesLicenseKeyInvalid'==_0x32ef92||'exportInlineStylesLicenseKeyExpired'==_0x32ef92||'exportInlineStylesLicenseKeyDomainLimit'==_0x32ef92||'exportInlineStylesLicenseKeyNotAllowed'==_0x32ef92||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x32ef92||'exportInlineStylesLicenseKeyTrialLimit'==_0x32ef92||'exportInlineStylesLicenseKeyUsageLimit'==_0x32ef92){delete _0xd9440b[_0x2a2cee],_0x48eebf=_0x32ef92,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x48eebf&&_0xd9440b['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x48eebf&&_0xd9440b['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x48eebf&&_0xd9440b['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x48eebf&&_0xd9440b['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x48eebf&&_0xd9440b['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyTrialLimit'==_0x48eebf&&_0xd9440b['_showLicenseError']('trialLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x48eebf&&_0xd9440b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{n as ExportInlineStyles,h as ExportInlineStylesCommand,i as ExportInlineStylesEditing,g as dropImportantStyleSuffix};
|
|
23
|
+
import{Command as _0x26ebf0,Plugin as _0x964287}from'@ckeditor/ckeditor5-core/dist/index.js';import{collectStylesheets as _0x35f0f0,createElement as _0x2630d7,uid as _0x2f94e4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{calculate as _0x3eedf7,compare as _0x5b2b76}from'specificity';import{StylesMap as _0x22ad30,addMarginStylesRules as _0x53ea29,addPaddingStylesRules as _0x53bb52}from'@ckeditor/ckeditor5-engine/dist/index.js';function T(_0x3d31e8){const _0xd1310e=[];let _0x2a756a='',_0xabafae=0x0;for(;_0xabafae<_0x3d31e8['length'];){const _0xd6f197=_0x3d31e8[_0xabafae];if('('===_0xd6f197){const _0x2e07bf=M(_0x3d31e8,_0xabafae+0x1);if(-0x1===_0x2e07bf)return[];_0x2a756a+=_0x3d31e8['slice'](_0xabafae,_0x2e07bf+0x1),_0xabafae=_0x2e07bf+0x1;}else','!==_0xd6f197||_0x2a756a['endsWith']('\x5c')?(_0x2a756a+=_0xd6f197,_0xabafae++):(_0xd1310e['push'](_0x2a756a['trim']()),_0x2a756a='',_0xabafae++);}return _0x2a756a['trim']()&&_0xd1310e['push'](_0x2a756a['trim']()),_0xd1310e['filter'](Boolean);}function M(_0x406034,_0x27e0dc){let _0x579fec=0x1;for(let _0x250116=_0x27e0dc;_0x250116<_0x406034['length'];_0x250116++){const _0x5353c3=_0x406034[_0x250116];if('('===_0x5353c3)_0x579fec++;else{if(')'===_0x5353c3&&(_0x579fec--,0x0===_0x579fec))return _0x250116;}}return-0x1;}function L(_0xc01965){return _0xc01965['replace'](/!\s*important/i,'')['trim']();}function g(_0x282541,_0x380e63){const _0x3288aa=new Map(),_0x1c7494=_0x31857b=>_0x3288aa['has'](_0x31857b)?_0x3288aa['get'](_0x31857b):_0x282541(_0x31857b);for(const [_0xb1100e,_0x292c7f]of _0x380e63['getStylesEntries']())if(_0x292c7f&&_0xb1100e['startsWith']('--')){const _0x24848e=b(_0x1c7494,_0x292c7f);_0x3288aa['set'](_0xb1100e,_0x24848e),_0x380e63['remove'](_0xb1100e);}for(const [_0x18eb59,_0x149161]of _0x380e63['getStylesEntries']())if(_0x149161){const _0x56fa73=b(_0x1c7494,_0x149161);_0x380e63['set'](_0x18eb59,_0x56fa73);}return _0x3288aa;}function b(_0x562f70,_0x19fbc4){return function(_0x36ada3,_0x1872ad){let _0x266c2c='',_0x5027a6=0x0;for(;_0x5027a6<_0x36ada3['length'];){const _0x422ca7=_0x36ada3['indexOf']('var(',_0x5027a6);if(-0x1===_0x422ca7){_0x266c2c+=_0x36ada3['slice'](_0x5027a6);break;}_0x266c2c+=_0x36ada3['slice'](_0x5027a6,_0x422ca7);const _0x57433d=_0x422ca7+0x4,_0xfc4a65=M(_0x36ada3,_0x57433d);_0x266c2c+=_0x1872ad(_0x36ada3['substring'](_0x57433d,_0xfc4a65)),_0x5027a6=_0xfc4a65+0x1;}return _0x266c2c;}(_0x19fbc4,_0x587585=>{const [_0x1379be,_0x2e8c4c]=T(_0x587585),_0x582dbd=_0x562f70(_0x1379be);return void 0x0!==_0x582dbd?_0x582dbd:_0x2e8c4c?b(_0x562f70,_0x2e8c4c):'var('+_0x1379be+')';});}async function r(_0x193f1b){const _0x2ab935=[await _0x35f0f0(_0x193f1b['stylesheets']),_0x193f1b['inlineCss']]['filter'](_0x8de4da=>_0x8de4da&&_0x8de4da['length'])['join']('\x0a'),_0x412b59=await async function(_0x23882e,_0x7b48b0){const _0x40cf6e=new CSSStyleSheet();return await _0x40cf6e['replace'](_0x7b48b0),C(Array['from'](_0x40cf6e['cssRules'])['filter'](_0x54d93e=>_0x54d93e instanceof CSSStyleRule))['flatMap'](({selectorText:_0xaab0cf,contentCssText:_0x25fa82})=>{const _0x21ac31=T(_0xaab0cf),_0x4426a2=new _0x22ad30(_0x23882e)['setTo'](_0x25fa82);return _0x21ac31['map'](_0x2979ef=>({'stylesMap':_0x4426a2,'flatSelector':_0x2979ef,'specificity':_0x3eedf7(_0x2979ef)[0x0]['specificityArray']}));})['sort']((_0x4fab1f,_0x48f42b)=>_0x5b2b76(_0x4fab1f['specificity'],_0x48f42b['specificity']));}(_0x193f1b['stylesProcessor'],_0x2ab935);return{'parsedCssRules':_0x412b59,'rootCssVariables':function(_0x5081e7){const _0x1f741c=new Map();for(const {stylesMap:_0x5c3fef,flatSelector:_0x1f8266}of _0x5081e7){if(':root'!==_0x1f8266)continue;const _0x42bcbc=g(_0x1f741c['get']['bind'](_0x1f741c),_0x5c3fef);for(const [_0x220b67,_0x354ed8]of _0x42bcbc)_0x1f741c['set'](_0x220b67,_0x354ed8);}return _0x1f741c;}(_0x412b59)};}function C(_0x2d67cd,_0x2e7137=''){return _0x2d67cd['flatMap'](_0x377a25=>{const {selectorText:_0x592ccf,cssText:_0xc713d8,cssRules:_0x437ca6}=_0x377a25;if(!_0x592ccf)return[];const _0x51040f=_0x592ccf['replace'](/&/g,_0x2e7137);let _0x2a34d6=_0xc713d8['replace'](_0x592ccf,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x437ca6||!_0x437ca6['length'])return[{'selectorText':_0x51040f,'contentCssText':_0x2a34d6}];for(const _0x55b437 of _0x437ca6)_0x2a34d6=_0x2a34d6['replace'](_0x55b437['cssText'],'')['trim']();return[{'selectorText':_0x51040f,'contentCssText':_0x2a34d6},...C(Array['from'](_0x437ca6),_0x51040f)];});}function l(_0x37372c,_0x5eae34){const _0x258868=new _0x22ad30(_0x37372c);for(const _0xffdb77 of _0x5eae34){let _0x5b8ff0=null;if(_0x5b8ff0='string'==typeof _0xffdb77?new _0x22ad30(_0x37372c)['setTo'](_0xffdb77):_0xffdb77,_0x5b8ff0){for(const [_0x380984,_0x710c9d]of _0x5b8ff0['getStylesEntries']())_0x258868['set'](_0x380984,_0x710c9d);}}return _0x258868;}class w extends _0x26ebf0{['_stylesProcessor'];constructor(_0x4eb00a){super(_0x4eb00a),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x53ea29(this['_stylesProcessor']),_0x53bb52(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x46fd93){const _0x48c290=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x4679dd}=this['editor']['locale'],{rootName:_0x1ae9f5='main',dataControllerDowncastOptions:_0x3007d7={},transformations:_0xd2fac1=_0x48c290['transformations']||[]}=_0x46fd93||{};this['isBusy']=!0x0,this['refresh']();const _0x299a26=this['_getRootDataHTMLFragment'](_0x1ae9f5,_0x3007d7),_0x15ff5c=_0x2630d7(_0x299a26['ownerDocument'],'div',{'dir':_0x4679dd,'class':'ck-content'},[_0x299a26]);return this['_collectAndApplyStyles'](_0xd2fac1,_0x15ff5c)['then'](()=>{const _0x214498=function(_0x2c0d2b){const _0x5cdd65=_0x2c0d2b['ownerDocument']['createDocumentFragment']();for(;_0x2c0d2b['firstChild'];)_0x5cdd65['appendChild'](_0x2c0d2b['firstChild']);return _0x5cdd65;}(_0x15ff5c),_0xc1249d=_0x15ff5c['getAttribute']('style');if(_0xc1249d)for(const _0x52db85 of _0x214498['children']){const _0x2540e2=_0x52db85['getAttribute']('style'),_0x579f7a=l(this['_stylesProcessor'],[_0xc1249d,_0x2540e2]);_0x52db85['setAttribute']('style',p(_0x579f7a));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x214498);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x190aa5,_0x6e101e){const {data:_0x101f1b,model:_0x42d082}=this['editor'],_0x1ea3f0=_0x42d082['document']['getRoot'](_0x190aa5),_0x5bd569=_0x101f1b['toView'](_0x1ea3f0,_0x6e101e);return _0x101f1b['htmlProcessor']['domConverter']['viewToDom'](_0x5bd569);}async['_collectAndApplyStyles'](_0x5278aa,_0x3f27bd){const {stylesheets:_0x3dd0dc,inlineCss:_0x4fd4e8,stripCssClasses:_0x3c322e}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x3bc555,rootCssVariables:_0x812758}=await r({'stylesheets':_0x3dd0dc||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x4fd4e8});this['_processElementTree']({'transformations':_0x5278aa,'parsedCssRules':_0x3bc555,'element':_0x3f27bd,'stripCssClasses':_0x3c322e,'parentCSSVariablesLookup':_0x812758['get']['bind'](_0x812758)});}['_processElementTree']({element:_0x194488,parsedCssRules:_0x132e04,parentCSSVariablesLookup:_0x5b9c2d,stripCssClasses:_0x105453,transformations:_0xe04ce3}){const {stylesMap:_0x19f386,localCSSVariables:_0x867f7b}=function(_0x27fe2e){const _0x245c58=_0x27fe2e['element']['getAttribute']('style')||'',_0x489d31=_0x27fe2e['parsedCssRules']['filter'](_0x58f5c4=>_0x27fe2e['element']['matches'](_0x58f5c4['flatSelector']))['map'](_0x298976=>_0x298976['stylesMap']),_0x423ebc=l(_0x27fe2e['stylesProcessor'],[..._0x489d31,_0x245c58]);return{'localCSSVariables':g(_0x27fe2e['fallbackCSSVariablesLookup'],_0x423ebc),'stylesMap':_0x423ebc};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x5b9c2d,'parsedCssRules':_0x132e04,'element':_0x194488});for(const _0x24ea48 of _0xe04ce3)_0x24ea48(_0x194488,_0x19f386);_0x19f386['size']?_0x194488['setAttribute']('style',p(_0x19f386)):_0x194488['removeAttribute']('style');const _0x41daaa=_0x1aab32=>_0x867f7b['has'](_0x1aab32)?_0x867f7b['get'](_0x1aab32):_0x5b9c2d(_0x1aab32);for(const _0x408925 of _0x194488['children'])_0x408925 instanceof HTMLElement&&this['_processElementTree']({'element':_0x408925,'parentCSSVariablesLookup':_0x41daaa,'parsedCssRules':_0x132e04,'stripCssClasses':_0x105453,'transformations':_0xe04ce3});_0x105453&&_0x194488['removeAttribute']('class');}}function p(_0x47037f){return _0x47037f['getStylesEntries']()['map'](_0x4dddbd=>_0x4dddbd['join'](':'))['join'](';')+';';}class i extends _0x964287{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new w(this['editor']));}['afterInit'](){!async function(_0x4f78b8){const _0xec9a1d=_0x4a5e79([0x69,0x4b,0x4d,0x68,0x64,0x6b,0x72,0x6c,0x46,0x63,0x56,0x67,0x58,0x39,0x6f,0x79,0x53,0x44,0x74,0x42,0x78,0x48,0x6e,0x5a,0x54,0x59,0x33,0x45,0x75,0x55,0x47,0x6a,0x35,0x32,0x71,0x73,0x76,0x38,0x57,0x6d,0x77,0x36,0x70,0x43,0x61,0x31,0x49,0x41,0x34,0x4e,0x4c,0x62,0x51,0x4f,0x4a,0x52,0x30,0x37,0x65,0x66,0x50,0x7a]),_0x4239df=0x12b224a3,_0x343ed1=0x12b548f3^_0x4239df,_0x5995fc=window[_0x4a5e79([0x44,0x61,0x74,0x65])][_0x4a5e79([0x6e,0x6f,0x77])](),_0x557da9=_0x4f78b8[_0x4a5e79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1805a9=new window[(_0x4a5e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe073b2=>{_0x557da9[_0x4a5e79([0x6f,0x6e,0x63,0x65])](_0x4a5e79([0x72,0x65,0x61,0x64,0x79]),_0xe073b2);}),_0x2de648={[_0x4a5e79([0x6b,0x74,0x79])]:_0x4a5e79([0x45,0x43]),[_0x4a5e79([0x75,0x73,0x65])]:_0x4a5e79([0x73,0x69,0x67]),[_0x4a5e79([0x63,0x72,0x76])]:_0x4a5e79([0x50,0x2d,0x32,0x35,0x36]),[_0x4a5e79([0x78])]:_0x4a5e79([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]),[_0x4a5e79([0x79])]:_0x4a5e79([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]),[_0x4a5e79([0x61,0x6c,0x67])]:_0x4a5e79([0x45,0x53,0x32,0x35,0x36])},_0x3583c2=_0x557da9[_0x4a5e79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a5e79([0x67,0x65,0x74])](_0x4a5e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf0ab62(){let _0x14bf84,_0x3fde98=null,_0x308ec4=null;try{if(_0x3583c2==_0x4a5e79([0x47,0x50,0x4c]))return _0x4a5e79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14bf84=_0xfc84b0(),!_0x14bf84)return _0x4a5e79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14bf84[_0x4a5e79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x308ec4=_0x813831(_0x14bf84[_0x4a5e79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14bf84[_0x4a5e79([0x6a,0x74,0x69])])),await _0x1f10be()?_0x490447()?_0x3e06a3()?_0x4a5e79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fc33f()?(_0x14bf84[_0x4a5e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a5e79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fde98=_0x164c0b(_0x4a5e79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x14bf84[_0x4a5e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a5e79([0x74,0x72,0x69,0x61,0x6c])&&(_0x3fde98=_0x164c0b(_0x4a5e79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5207cd()):_0x4a5e79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a5e79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a5e79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a5e79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e06a3(){const _0x2e47ed=[_0x4a5e79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a5e79([0x74,0x72,0x69,0x61,0x6c])][_0x4a5e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14bf84[_0x4a5e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5995fc/0x3e8:0xe10*_0x343ed1;return _0x14bf84[_0x4a5e79([0x65,0x78,0x70])]<_0x2e47ed;}function _0x490447(){const _0x4dccd4=_0x14bf84[_0x4a5e79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4dccd4&&(!!_0x4dccd4[_0x4a5e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5e79([0x2a]))||!!_0x4dccd4[_0x4a5e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5e79([0x45,0x49,0x53])));}function _0x2fc33f(){const _0x47ecc0=_0x14bf84[_0x4a5e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x47ecc0||0x0==_0x47ecc0[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x394a6a}=new URL(window[_0x4a5e79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x47ecc0[_0x4a5e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394a6a))return!0x0;const _0x226091=_0x394a6a[_0x4a5e79([0x73,0x70,0x6c,0x69,0x74])](_0x4a5e79([0x2e]));return _0x47ecc0[_0x4a5e79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51c04e=>_0x51c04e[_0x4a5e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5e79([0x2a])))[_0x4a5e79([0x6d,0x61,0x70])](_0xba86e0=>_0xba86e0[_0x4a5e79([0x73,0x70,0x6c,0x69,0x74])](_0x4a5e79([0x2e])))[_0x4a5e79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x518c1b=>_0x518c1b[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x226091[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a5e79([0x6d,0x61,0x70])](_0x10e0f6=>Array(_0x226091[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x10e0f6[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a5e79([0x66,0x69,0x6c,0x6c])](_0x10e0f6[0x0]===_0x4a5e79([0x2a])?_0x4a5e79([0x2a]):'')[_0x4a5e79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x10e0f6))[_0x4a5e79([0x73,0x6f,0x6d,0x65])](_0x4e9bb0=>_0x226091[_0x4a5e79([0x65,0x76,0x65,0x72,0x79])]((_0x79fa8f,_0x4d4222)=>_0x4e9bb0[_0x4d4222]===_0x79fa8f||_0x4e9bb0[_0x4d4222]===_0x4a5e79([0x2a])));}function _0x5207cd(){return _0x3fde98&&_0x308ec4?new window[(_0x4a5e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2948b8,_0x23944f)=>{_0x3fde98[_0x4a5e79([0x74,0x68,0x65,0x6e])](_0x2948b8,_0x23944f),_0x308ec4[_0x4a5e79([0x74,0x68,0x65,0x6e])](_0x4a3bad=>{_0x4a3bad!=_0x4a5e79([0x56,0x61,0x6c,0x69,0x64])&&_0x2948b8(_0x4a3bad);},_0x23944f);}):_0x3fde98||_0x308ec4||_0x4a5e79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x813831(_0xffef38,_0x13be9b){return new window[(_0x4a5e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2983fb=>{if(_0x5982e5())return _0x2983fb(_0x4a5e79([0x56,0x61,0x6c,0x69,0x64]));_0x548777(),_0x557da9[_0x4a5e79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a5e79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x520e68=!0x1;const _0x2557db=_0x2f94e4();function _0x364848(_0x4afef7){return!!_0x4afef7&&(typeof _0x4afef7===_0x4a5e79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4afef7===_0x4a5e79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4afef7[_0x4a5e79([0x74,0x68,0x65,0x6e])]===_0x4a5e79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4afef7[_0x4a5e79([0x63,0x61,0x74,0x63,0x68])]===_0x4a5e79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47caf0(_0x2104fd){_0x9b7fe3(_0x2104fd)[_0x4a5e79([0x74,0x68,0x65,0x6e])](_0x4e144b=>{if(!_0x4e144b||_0x4e144b[_0x4a5e79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a5e79([0x6f,0x6b]))return _0x4a5e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d0806(_0xd4d6c(_0x2557db+_0x13be9b))!=_0x4e144b[_0x4a5e79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a5e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a5e79([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a5e79([0x74,0x68,0x65,0x6e])](_0x224bc5=>(_0x162a55(),_0x224bc5),()=>{const _0x55b4c2=_0x33fc1c();return null==_0x55b4c2?(_0x162a55(),_0x4a5e79([0x56,0x61,0x6c,0x69,0x64])):_0x4a5e79(_0x5995fc-_0x55b4c2>(0x36bea0a3^_0x4239df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a5e79([0x74,0x68,0x65,0x6e])](_0x2983fb)[_0x4a5e79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2983fb(_0x4a5e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x8b26f1=0x1284ca23^_0x4239df;function _0x162a55(){const _0x205da9=_0x4a5e79([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d0806(_0xd4d6c(_0xffef38)),_0x1f7a72=_0x43f4b5(_0x5d0806(window[_0x4a5e79([0x4d,0x61,0x74,0x68])][_0x4a5e79([0x63,0x65,0x69,0x6c])](_0x5995fc/_0x8b26f1)));window[_0x4a5e79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a5e79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x205da9,_0x1f7a72);}function _0x33fc1c(){const _0x4e066d=_0x4a5e79([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d0806(_0xd4d6c(_0xffef38)),_0x112d09=window[_0x4a5e79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a5e79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e066d);return _0x112d09?window[_0x4a5e79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43f4b5(_0x112d09),0x10)*_0x8b26f1:null;}function _0x9b7fe3(_0x44283b){return new window[(_0x4a5e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34c025,_0xf56997)=>{_0x44283b[_0x4a5e79([0x74,0x68,0x65,0x6e])](_0x34c025,_0xf56997),window[_0x4a5e79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf56997,0x12b3f063^_0x4239df);});}}_0x557da9[_0x4a5e79([0x6f,0x6e])](_0x4a5e79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd4340e,_0x557967)=>{if(_0x557967[0x0]!=_0xffef38)return _0x2983fb(_0x4a5e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x557967[0x1]={..._0x557967[0x1],[_0x4a5e79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2557db};},{[_0x4a5e79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a5e79([0x68,0x69,0x67,0x68])}),_0x557da9[_0x4a5e79([0x6f,0x6e])](_0x4a5e79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x176c68=>{_0x364848(_0x176c68[_0x4a5e79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x520e68=!0x0,_0x47caf0(_0x176c68[_0x4a5e79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a5e79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a5e79([0x6c,0x6f,0x77])}),_0x1805a9[_0x4a5e79([0x74,0x68,0x65,0x6e])](()=>{_0x520e68||_0x2983fb(_0x4a5e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5982e5(){return _0x557da9[_0x4a5e79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a5e79([0x76,0x69,0x65,0x77])][_0x4a5e79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a5e79([0x61,0x75,0x74,0x6f]);}function _0x548777(){_0x557da9[_0x4a5e79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a5e79([0x76,0x69,0x65,0x77])][_0x4a5e79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a5e79([0x61,0x75,0x74,0x6f]);}}function _0x164c0b(_0xfab22c){const _0x17d950=[new window[(_0x4a5e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c485b=>setTimeout(_0x3c485b,0x12bb1a6f^_0x4239df)),_0x1805a9[_0x4a5e79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a5e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a66cc=>{let _0x571300=0x0;_0x557da9[_0x4a5e79([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a5e79([0x6f,0x6e])](_0x4a5e79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x182686,_0x146d01)=>{_0x146d01[0x0][_0x4a5e79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x571300++,_0x571300==(0x12b2255b^_0x4239df)&&(_0x5a66cc(),_0x182686[_0x4a5e79([0x6f,0x66,0x66])]());});}))];return window[_0x4a5e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a5e79([0x72,0x61,0x63,0x65])](_0x17d950)[_0x4a5e79([0x74,0x68,0x65,0x6e])](()=>_0xfab22c);}async function _0x2fb53c(){await _0x1805a9;const _0x409c11=_0x557da9['commands'][_0x4a5e79([0x67,0x65,0x74])](_0x4a5e79([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x409c11&&_0x409c11[_0x4a5e79([0x6f,0x6e])](_0x4a5e79([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x49cdf1=>{_0x49cdf1['stop']();},{'priority':_0x4a5e79([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x557da9[_0x4a5e79([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a5e79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53606e,_0x557da9[_0x4a5e79([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a5e79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53606e,_0x557da9[_0x4a5e79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a5e79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2de968(_0x12ad08){const _0x21111b=_0x1f7b0f();_0x557da9[_0x21111b]=_0x4a5e79([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x12ad08,_0x12ad08!=_0x4a5e79([0x56,0x61,0x6c,0x69,0x64])&&_0x2fb53c();}function _0x1f7b0f(){const _0x33d023=window[_0x4a5e79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a5e79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a5e79([0x6e,0x6f,0x77])]())[_0x4a5e79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a5e79([0x2e]),'');let _0x3f9322=_0x4a5e79([0x69]);for(let _0xa8ffb=0x0;_0xa8ffb<_0x33d023[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa8ffb+=0x2){let _0x381e9b=window[_0x4a5e79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33d023[_0x4a5e79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa8ffb,_0xa8ffb+0x2));_0x381e9b>=_0xec9a1d[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x381e9b-=_0xec9a1d[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f9322+=_0xec9a1d[_0x381e9b];}return _0x3f9322;}function _0xfc84b0(){const _0x50266c=_0x3583c2[_0x4a5e79([0x73,0x70,0x6c,0x69,0x74])](_0x4a5e79([0x2e]));if(0x3!=_0x50266c[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38884f(_0x50266c[0x1]);function _0x38884f(_0x185743){const _0x8ef78a=_0x2a21d0(_0x185743);return _0x8ef78a&&_0x6f9667()?_0x8ef78a:null;function _0x6f9667(){const _0x490e49=_0x8ef78a[_0x4a5e79([0x6a,0x74,0x69])],_0x2350ef=window[_0x4a5e79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x490e49[_0x4a5e79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x490e49[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x353ff0={..._0x8ef78a,[_0x4a5e79([0x6a,0x74,0x69])]:_0x490e49[_0x4a5e79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x490e49[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x353ff0[_0x4a5e79([0x76,0x63])],_0xd4d6c(_0x353ff0)==_0x2350ef;}}}async function _0x1f10be(){let _0x36c55c=!0x0;try{const _0x49a722=_0x3583c2[_0x4a5e79([0x73,0x70,0x6c,0x69,0x74])](_0x4a5e79([0x2e])),[_0x59f5c6,_0x352aa7,_0x506252]=_0x49a722;return _0x454f89(_0x59f5c6),await _0x4543c(_0x59f5c6,_0x352aa7,_0x506252),_0x36c55c;}catch{return!0x1;}function _0x454f89(_0x4b413a){const _0x5e5e89=_0x2a21d0(_0x4b413a);_0x5e5e89&&_0x5e5e89[_0x4a5e79([0x61,0x6c,0x67])]==_0x4a5e79([0x45,0x53,0x32,0x35,0x36])||(_0x36c55c=!0x1);}async function _0x4543c(_0x56d4ce,_0x520e18,_0x4244ef){const _0x309d4c=window[_0x4a5e79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a5e79([0x66,0x72,0x6f,0x6d])](_0x9b22dc(_0x4244ef),_0x405eac=>_0x405eac[_0x4a5e79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x139192=new window[(_0x4a5e79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a5e79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56d4ce+_0x4a5e79([0x2e])+_0x520e18),_0x59a1d9=window[_0x4a5e79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a5e79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59a1d9)return;const _0x5de775=await _0x59a1d9[_0x4a5e79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a5e79([0x6a,0x77,0x6b]),_0x2de648,{[_0x4a5e79([0x6e,0x61,0x6d,0x65])]:_0x4a5e79([0x45,0x43,0x44,0x53,0x41]),[_0x4a5e79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a5e79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a5e79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59a1d9[_0x4a5e79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a5e79([0x6e,0x61,0x6d,0x65])]:_0x4a5e79([0x45,0x43,0x44,0x53,0x41]),[_0x4a5e79([0x68,0x61,0x73,0x68])]:{[_0x4a5e79([0x6e,0x61,0x6d,0x65])]:_0x4a5e79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5de775,_0x309d4c,_0x139192)||(_0x36c55c=!0x1);}}function _0x2a21d0(_0x5841e8){return _0x5841e8[_0x4a5e79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a5e79([0x65,0x79]))?JSON[_0x4a5e79([0x70,0x61,0x72,0x73,0x65])](_0x9b22dc(_0x5841e8)):null;}function _0x9b22dc(_0x3a83da){return window[_0x4a5e79([0x61,0x74,0x6f,0x62])](_0x3a83da[_0x4a5e79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a5e79([0x2b]))[_0x4a5e79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a5e79([0x2f])));}function _0xd4d6c(_0x487679){let _0xca3807=0x1505;function _0x20545a(_0x363bee){for(let _0x3000fc=0x0;_0x3000fc<_0x363bee[_0x4a5e79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3000fc++){const _0x2e76dc=_0x363bee[_0x4a5e79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3000fc);_0xca3807=(_0xca3807<<0x5)+_0xca3807+_0x2e76dc,_0xca3807&=_0xca3807;}}function _0x39bd20(_0x48dd89){Array[_0x4a5e79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48dd89)?_0x48dd89[_0x4a5e79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39bd20):_0x48dd89&&typeof _0x48dd89==_0x4a5e79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a5e79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48dd89)[_0x4a5e79([0x73,0x6f,0x72,0x74])]()[_0x4a5e79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x150e75,_0x4a11d9])=>{_0x20545a(_0x150e75),_0x39bd20(_0x4a11d9);}):_0x20545a(window[_0x4a5e79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48dd89));}return _0x39bd20(_0x487679),_0xca3807>>>0x0;}function _0x5d0806(_0xea43e9){return _0xea43e9[_0x4a5e79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a5e79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a5e79([0x30]));}function _0x43f4b5(_0x177b55){return _0x177b55[_0x4a5e79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a5e79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a5e79([0x6a,0x6f,0x69,0x6e])]('');}function _0x53606e(){}function _0x4a5e79(_0x1cb8a6){return _0x1cb8a6['map'](_0xddd858=>String['fromCharCode'](_0xddd858))['join']('');}_0x2de968(await _0xf0ab62());}(this);}}class I extends _0x964287{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[i];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x45279a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50aefe;for(const _0x5e96ce in _0x45279a){const _0x35bb9f=_0x5e96ce,_0x222319=_0x45279a[_0x35bb9f];if('exportInlineStylesLicenseKeyValid'==_0x222319||'exportInlineStylesLicenseKeyInvalid'==_0x222319||'exportInlineStylesLicenseKeyExpired'==_0x222319||'exportInlineStylesLicenseKeyDomainLimit'==_0x222319||'exportInlineStylesLicenseKeyNotAllowed'==_0x222319||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x222319||'exportInlineStylesLicenseKeyTrialLimit'==_0x222319||'exportInlineStylesLicenseKeyUsageLimit'==_0x222319){delete _0x45279a[_0x35bb9f],_0x50aefe=_0x222319,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x50aefe&&_0x45279a['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x50aefe&&_0x45279a['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x50aefe&&_0x45279a['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x50aefe&&_0x45279a['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x50aefe&&_0x45279a['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyTrialLimit'==_0x50aefe&&_0x45279a['_showLicenseError']('trialLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x50aefe&&_0x45279a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}export{I as ExportInlineStyles,w as ExportInlineStylesCommand,i as ExportInlineStylesEditing,L as dropImportantStyleSuffix};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-inline-styles",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "46.0.0-alpha.0",
|
|
4
4
|
"description": "The export with inline styles feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"type": "module",
|
|
26
26
|
"main": "src/index.js",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ckeditor/ckeditor5-core": "
|
|
29
|
-
"@ckeditor/ckeditor5-engine": "
|
|
30
|
-
"@ckeditor/ckeditor5-utils": "
|
|
31
|
-
"ckeditor5": "
|
|
28
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.0",
|
|
29
|
+
"@ckeditor/ckeditor5-engine": "46.0.0-alpha.0",
|
|
30
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.0",
|
|
31
|
+
"ckeditor5": "46.0.0-alpha.0",
|
|
32
32
|
"specificity": "0.4.1"
|
|
33
33
|
},
|
|
34
34
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { StylesMap } from 'ckeditor5/src/engine.js';
|
|
10
10
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
11
|
-
import ExportInlineStylesEditing from './exportinlinestylesediting.js';
|
|
11
|
+
import { ExportInlineStylesEditing } from './exportinlinestylesediting.js';
|
|
12
12
|
/**
|
|
13
13
|
* The plugin responsible for converting external CSS styles to inline styles.
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export declare class ExportInlineStyles extends Plugin {
|
|
16
16
|
/**
|
|
17
17
|
* @inheritDoc
|
|
18
18
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2212c0=_0x2aa7;(function(_0x2c03be,_0x5b2238){const _0x5a641a=_0x2aa7,_0x185d04=_0x2c03be();while(!![]){try{const _0x48e1c9=parseInt(_0x5a641a(0x1fc))/0x1*(parseInt(_0x5a641a(0x1f1))/0x2)+-parseInt(_0x5a641a(0x1f6))/0x3+-parseInt(_0x5a641a(0x212))/0x4*(-parseInt(_0x5a641a(0x208))/0x5)+-parseInt(_0x5a641a(0x1f7))/0x6*(-parseInt(_0x5a641a(0x211))/0x7)+-parseInt(_0x5a641a(0x209))/0x8*(-parseInt(_0x5a641a(0x20d))/0x9)+-parseInt(_0x5a641a(0x204))/0xa+-parseInt(_0x5a641a(0x216))/0xb;if(_0x48e1c9===_0x5b2238)break;else _0x185d04['push'](_0x185d04['shift']());}catch(_0x15fa6d){_0x185d04['push'](_0x185d04['shift']());}}}(_0x3ad3,0x6c4c7));function _0x3ad3(){const _0x5ed5b5=['exportInlineStylesLicenseKeyDomainLimit','ExportInlineStyles','exportInlineStylesLicenseKeyValid','44779vQopKe','20pjvlhB','usageLimit','exportInlineStylesLicenseKeyInvalid','exportInlineStylesLicenseKeyNotAllowed','6889586hKLZXi','init','309884wvelXt','exportInlineStylesLicenseKeyExpired','_licenseKeyCheckInterval','trialLimit','editor','1007085aNFsIE','534GvmKSW','_showLicenseError','featureNotAllowed','licenseKey','isPremiumPlugin','4vSCzru','exportInlineStylesLicenseKeyUsageLimit','isOfficialPlugin','requires','exportInlineStylesLicenseKeyTrialLimit','pluginName','destroy','get','2963170TgSbjy','expired','evaluationLimit','config','439435gtjHvq','587144lLluYh','invalid','domainLimit','exportInlineStylesLicenseKeyEvaluationLimit','9XaLxLB'];_0x3ad3=function(){return _0x5ed5b5;};return _0x3ad3();}function _0x2aa7(_0x3168d9,_0x4031b4){const _0x3ad329=_0x3ad3();return _0x2aa7=function(_0x2aa716,_0x2ffcfd){_0x2aa716=_0x2aa716-0x1f1;let _0x37932a=_0x3ad329[_0x2aa716];return _0x37932a;},_0x2aa7(_0x3168d9,_0x4031b4);}import{Plugin as _0x22f217}from'ckeditor5/src/core.js';import{ExportInlineStylesEditing as _0x38145c}from'./exportinlinestylesediting.js';export class ExportInlineStyles extends _0x22f217{[_0x2212c0(0x1fa)];[_0x2212c0(0x1f3)];static get[_0x2212c0(0x201)](){const _0x388a00=_0x2212c0;return _0x388a00(0x20f);}static get[_0x2212c0(0x1fe)](){return!0x0;}static get[_0x2212c0(0x1fb)](){return!0x0;}static get[_0x2212c0(0x1ff)](){return[_0x38145c];}[_0x2212c0(0x217)](){const _0x4b325a=_0x2212c0;this[_0x4b325a(0x1fa)]=this[_0x4b325a(0x1f5)][_0x4b325a(0x207)][_0x4b325a(0x203)](_0x4b325a(0x1fa));const _0x5ce065=this[_0x4b325a(0x1f5)];this[_0x4b325a(0x1f3)]=setInterval(()=>{const _0x519456=_0x4b325a;let _0x3d38d9;for(const _0x445c54 in _0x5ce065){const _0x4c31d9=_0x445c54,_0x2de691=_0x5ce065[_0x4c31d9];if(_0x519456(0x210)==_0x2de691||_0x519456(0x214)==_0x2de691||_0x519456(0x1f2)==_0x2de691||_0x519456(0x20e)==_0x2de691||_0x519456(0x215)==_0x2de691||_0x519456(0x20c)==_0x2de691||_0x519456(0x200)==_0x2de691||_0x519456(0x1fd)==_0x2de691){delete _0x5ce065[_0x4c31d9],_0x3d38d9=_0x2de691,clearInterval(this[_0x519456(0x1f3)]),this[_0x519456(0x1f3)]=void 0x0;break;}}_0x519456(0x214)==_0x3d38d9&&_0x5ce065[_0x519456(0x1f8)](_0x519456(0x20a)),_0x519456(0x1f2)==_0x3d38d9&&_0x5ce065[_0x519456(0x1f8)](_0x519456(0x205)),_0x519456(0x20e)==_0x3d38d9&&_0x5ce065[_0x519456(0x1f8)](_0x519456(0x20b)),_0x519456(0x215)==_0x3d38d9&&_0x5ce065[_0x519456(0x1f8)](_0x519456(0x1f9),_0x519456(0x20f)),_0x519456(0x20c)==_0x3d38d9&&_0x5ce065[_0x519456(0x1f8)](_0x519456(0x206)),_0x519456(0x200)==_0x3d38d9&&_0x5ce065[_0x519456(0x1f8)](_0x519456(0x1f4)),_0x519456(0x1fd)==_0x3d38d9&&_0x5ce065[_0x519456(0x1f8)](_0x519456(0x213));},0x3e8);}[_0x2212c0(0x202)](){const _0x5ea877=_0x2212c0;super[_0x5ea877(0x202)](),this[_0x5ea877(0x1f3)]&&clearInterval(this[_0x5ea877(0x1f3)]);}}
|
|
@@ -11,7 +11,7 @@ import type { ExportInlineStylesTransformation } from './exportinlinestyles.js';
|
|
|
11
11
|
/**
|
|
12
12
|
* The export to inline styles command.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export declare class ExportInlineStylesCommand extends Command {
|
|
15
15
|
/**
|
|
16
16
|
* A command status that indicates whether the command is currently being executed.
|
|
17
17
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x49aedd=_0xca21;(function(_0x5b2bee,_0x539070){const _0x4153d3=_0xca21,_0x163ad4=_0x5b2bee();while(!![]){try{const _0x4260fe=-parseInt(_0x4153d3(0xae))/0x1+parseInt(_0x4153d3(0xa8))/0x2+-parseInt(_0x4153d3(0xa3))/0x3*(-parseInt(_0x4153d3(0x77))/0x4)+-parseInt(_0x4153d3(0x7f))/0x5*(-parseInt(_0x4153d3(0x8e))/0x6)+-parseInt(_0x4153d3(0x7c))/0x7*(-parseInt(_0x4153d3(0x95))/0x8)+parseInt(_0x4153d3(0xa6))/0x9+-parseInt(_0x4153d3(0x89))/0xa*(parseInt(_0x4153d3(0x94))/0xb);if(_0x4260fe===_0x539070)break;else _0x163ad4['push'](_0x163ad4['shift']());}catch(_0x53d5a4){_0x163ad4['push'](_0x163ad4['shift']());}}}(_0x5902,0x32205));import{Command as _0x104709}from'ckeditor5/src/core.js';import{createElement as _0x1e0177}from'ckeditor5/src/utils.js';function _0x5902(){const _0x19a347=['createDocumentFragment','main','toView','affectsData','252147whyyUT','_processElementTree','style','5COJGsI','isEnabled','ownerDocument','firstChild','execute','join','appendChild','set','getAttribute','has','6239530rUuQCf','document','map','setAttribute','htmlProcessor','2351766JRKayU','config','transformations','getHtml','isBusy','_collectAndApplyStyles','11YjnREe','24BsHVfE','removeAttribute','div','size','refresh','children','stylesProcessor','locale','htmlWriter','domConverter','ck-content','exportInlineStyles','data','editor','186159QJJZVw','get','class','1671642tFNpyD','value','342474xAXMmj','bind','getStylesEntries','viewToDom','pending','then','337994AxDSDI','_getRootDataHTMLFragment','_stylesProcessor','getRoot','finally','EDITOR_STYLES','20WinFYw'];_0x5902=function(){return _0x19a347;};return _0x5902();}import{collectAndProcessStylesheets as _0x28282e}from'./utils/exportinlinestylescollector.js';function _0xca21(_0x5b9d11,_0x3662cb){const _0x5902f2=_0x5902();return _0xca21=function(_0xca2109,_0x5716bf){_0xca2109=_0xca2109-0x74;let _0x4f8211=_0x5902f2[_0xca2109];return _0x4f8211;},_0xca21(_0x5b9d11,_0x3662cb);}import{getElementInlineStyles as _0x51f6a3,concatStylesMaps as _0x404891}from'./utils/exportinlinestylesmatcher.js';import{addMarginStylesRules as _0x29f9f1,addPaddingStylesRules as _0x39dc7d}from'ckeditor5/src/engine.js';export class ExportInlineStylesCommand extends _0x104709{[_0x49aedd(0xb0)];constructor(_0x25ae48){const _0x3f45f0=_0x49aedd;super(_0x25ae48),this[_0x3f45f0(0x86)](_0x3f45f0(0x92),!0x1),this[_0x3f45f0(0xb0)]=this[_0x3f45f0(0xa2)][_0x3f45f0(0xa1)][_0x3f45f0(0x9b)],_0x29f9f1(this[_0x3f45f0(0xb0)]),_0x39dc7d(this[_0x3f45f0(0xb0)]),this[_0x3f45f0(0x7b)]=!0x1;}[_0x49aedd(0x99)](){const _0x69e321=_0x49aedd;this[_0x69e321(0x80)]=!this[_0x69e321(0x92)],this[_0x69e321(0xa7)]=this[_0x69e321(0x92)]?_0x69e321(0xac):void 0x0;}async[_0x49aedd(0x83)](_0x24772f){const _0x38c8bb=_0x49aedd,_0x3f8d09=this[_0x38c8bb(0xa2)][_0x38c8bb(0x8f)][_0x38c8bb(0xa4)](_0x38c8bb(0xa0)),{contentLanguageDirection:_0x45f7f}=this[_0x38c8bb(0xa2)][_0x38c8bb(0x9c)],{rootName:_0x330d34=_0x38c8bb(0x79),dataControllerDowncastOptions:_0xe3e459={},transformations:_0x2ab148=_0x3f8d09[_0x38c8bb(0x90)]||[]}=_0x24772f||{};this[_0x38c8bb(0x92)]=!0x0,this[_0x38c8bb(0x99)]();const _0x200d49=this[_0x38c8bb(0xaf)](_0x330d34,_0xe3e459),_0x474d0b=_0x1e0177(_0x200d49[_0x38c8bb(0x81)],_0x38c8bb(0x97),{'dir':_0x45f7f,'class':_0x38c8bb(0x9f)},[_0x200d49]);return this[_0x38c8bb(0x93)](_0x2ab148,_0x474d0b)[_0x38c8bb(0xad)](()=>{const _0xf8897e=_0x38c8bb,_0x10c444=function(_0x501e5e){const _0x55f0a3=_0xca21,_0x33d2f6=_0x501e5e[_0x55f0a3(0x81)][_0x55f0a3(0x78)]();for(;_0x501e5e[_0x55f0a3(0x82)];)_0x33d2f6[_0x55f0a3(0x85)](_0x501e5e[_0x55f0a3(0x82)]);return _0x33d2f6;}(_0x474d0b),_0x17ad93=_0x474d0b[_0xf8897e(0x87)](_0xf8897e(0x7e));if(_0x17ad93)for(const _0x32326d of _0x10c444[_0xf8897e(0x9a)]){const _0x4f49cc=_0x32326d[_0xf8897e(0x87)](_0xf8897e(0x7e)),_0x2610cd=_0x404891(this[_0xf8897e(0xb0)],[_0x17ad93,_0x4f49cc]);_0x32326d[_0xf8897e(0x8c)](_0xf8897e(0x7e),p(_0x2610cd));}return this[_0xf8897e(0xa2)][_0xf8897e(0xa1)][_0xf8897e(0x8d)][_0xf8897e(0x9d)][_0xf8897e(0x91)](_0x10c444);})[_0x38c8bb(0x75)](()=>{const _0x31954d=_0x38c8bb;this[_0x31954d(0x92)]=!0x1,this[_0x31954d(0x99)]();});}[_0x49aedd(0xaf)](_0x3377ca,_0x7fe105){const _0x57f81f=_0x49aedd,{data:_0x47338b,model:_0x57c544}=this[_0x57f81f(0xa2)],_0x28ae22=_0x57c544[_0x57f81f(0x8a)][_0x57f81f(0x74)](_0x3377ca),_0x7330fb=_0x47338b[_0x57f81f(0x7a)](_0x28ae22,_0x7fe105);return _0x47338b[_0x57f81f(0x8d)][_0x57f81f(0x9e)][_0x57f81f(0xab)](_0x7330fb);}async[_0x49aedd(0x93)](_0x46f41f,_0x32c444){const _0x2be176=_0x49aedd,{stylesheets:_0x289b7d,inlineCss:_0x4be9ad,stripCssClasses:_0x4c9570}=this[_0x2be176(0xa2)][_0x2be176(0x8f)][_0x2be176(0xa4)](_0x2be176(0xa0)),{parsedCssRules:_0x43eae,rootCssVariables:_0x51f5b5}=await _0x28282e({'stylesheets':_0x289b7d||[_0x2be176(0x76)],'stylesProcessor':this[_0x2be176(0xb0)],'inlineCss':_0x4be9ad});this[_0x2be176(0x7d)]({'transformations':_0x46f41f,'parsedCssRules':_0x43eae,'element':_0x32c444,'stripCssClasses':_0x4c9570,'parentCSSVariablesLookup':_0x51f5b5[_0x2be176(0xa4)][_0x2be176(0xa9)](_0x51f5b5)});}[_0x49aedd(0x7d)]({element:_0x237562,parsedCssRules:_0x3ae35b,parentCSSVariablesLookup:_0x31ee5c,stripCssClasses:_0xfb1d07,transformations:_0x2a5c05}){const _0x5f05db=_0x49aedd,{stylesMap:_0x5ab759,localCSSVariables:_0x5d44bc}=_0x51f6a3({'stylesProcessor':this[_0x5f05db(0xb0)],'fallbackCSSVariablesLookup':_0x31ee5c,'parsedCssRules':_0x3ae35b,'element':_0x237562});for(const _0x4dd100 of _0x2a5c05)_0x4dd100(_0x237562,_0x5ab759);_0x5ab759[_0x5f05db(0x98)]?_0x237562[_0x5f05db(0x8c)](_0x5f05db(0x7e),p(_0x5ab759)):_0x237562[_0x5f05db(0x96)](_0x5f05db(0x7e));const _0x5c1a59=_0x521f98=>_0x5d44bc[_0x5f05db(0x88)](_0x521f98)?_0x5d44bc[_0x5f05db(0xa4)](_0x521f98):_0x31ee5c(_0x521f98);for(const _0x1d4ed0 of _0x237562[_0x5f05db(0x9a)])_0x1d4ed0 instanceof HTMLElement&&this[_0x5f05db(0x7d)]({'element':_0x1d4ed0,'parentCSSVariablesLookup':_0x5c1a59,'parsedCssRules':_0x3ae35b,'stripCssClasses':_0xfb1d07,'transformations':_0x2a5c05});_0xfb1d07&&_0x237562[_0x5f05db(0x96)](_0x5f05db(0xa5));}}function p(_0x4143cd){const _0x48d5cd=_0x49aedd;return _0x4143cd[_0x48d5cd(0xaa)]()[_0x48d5cd(0x8b)](_0x1f4de1=>_0x1f4de1[_0x48d5cd(0x84)](':'))[_0x48d5cd(0x84)](';')+';';}
|
|
@@ -10,7 +10,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
|
|
|
10
10
|
/**
|
|
11
11
|
* The editing part of the plugin responsible for converting external CSS styles to inline styles.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export declare class ExportInlineStylesEditing extends Plugin {
|
|
14
14
|
/**
|
|
15
15
|
* @inheritDoc
|
|
16
16
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2c23(_0x26673f,_0x2908af){const _0x20e472=_0x20e4();return _0x2c23=function(_0x2c2340,_0x1edd77){_0x2c2340=_0x2c2340-0x19c;let _0x1218d1=_0x20e472[_0x2c2340];return _0x1218d1;},_0x2c23(_0x26673f,_0x2908af);}const _0x45256e=_0x2c23;(function(_0x2278df,_0x585cc3){const _0x25c79a=_0x2c23,_0x1634ee=_0x2278df();while(!![]){try{const _0xf4ac45=-parseInt(_0x25c79a(0x1a8))/0x1+parseInt(_0x25c79a(0x1ad))/0x2+parseInt(_0x25c79a(0x1b1))/0x3+parseInt(_0x25c79a(0x1a0))/0x4+parseInt(_0x25c79a(0x1a1))/0x5+-parseInt(_0x25c79a(0x1ae))/0x6+-parseInt(_0x25c79a(0x1a2))/0x7;if(_0xf4ac45===_0x585cc3)break;else _0x1634ee['push'](_0x1634ee['shift']());}catch(_0x2dcf5e){_0x1634ee['push'](_0x1634ee['shift']());}}}(_0x20e4,0xcc252));import{Plugin as _0x2b7469}from'ckeditor5/src/core.js';import{uid as _0xc56ffe}from'ckeditor5/src/utils.js';import _0xf01382 from'./exportinlinestylescommand.js';export default class i extends _0x2b7469{static get[_0x45256e(0x1a7)](){const _0x795b93=_0x45256e;return _0x795b93(0x1ac);}static get[_0x45256e(0x1b0)](){return!0x0;}static get[_0x45256e(0x1a5)](){return!0x0;}[_0x45256e(0x1a9)](){const _0x2cd9d4=_0x45256e;this[_0x2cd9d4(0x1b2)][_0x2cd9d4(0x1ab)][_0x2cd9d4(0x1aa)](_0x2cd9d4(0x19c),{}),this[_0x2cd9d4(0x1b2)][_0x2cd9d4(0x1a3)][_0x2cd9d4(0x19d)](_0x2cd9d4(0x19c),new _0xf01382(this[_0x2cd9d4(0x1b2)]));}[_0x45256e(0x1af)](){!async function(_0x1826c6){const _0x5040a6=_0x236417([0x46,0x38,0x54,0x43,0x6e,0x77,0x69,0x42,0x57,0x6a,0x58,0x4b,0x39,0x37,0x32,0x50,0x36,0x31,0x76,0x44,0x78,0x65,0x62,0x48,0x6b,0x56,0x74,0x70,0x4d,0x4f,0x64,0x34,0x67,0x4e,0x75,0x49,0x51,0x4a,0x68,0x63,0x55,0x6d,0x41,0x53,0x59,0x5a,0x33,0x71,0x61,0x72,0x45,0x52,0x6f,0x73,0x30,0x4c,0x7a,0x35,0x79,0x6c,0x66,0x47]),_0xdc1cdf=0x6ee028e0,_0x5c9f7a=0x6ee74348^_0xdc1cdf,_0x16ac2b=window[_0x236417([0x44,0x61,0x74,0x65])][_0x236417([0x6e,0x6f,0x77])](),_0x1c3083=_0x1826c6[_0x236417([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f371f=new window[(_0x236417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x286155=>{_0x1c3083[_0x236417([0x6f,0x6e,0x63,0x65])](_0x236417([0x72,0x65,0x61,0x64,0x79]),_0x286155);}),_0x4c4fef={[_0x236417([0x6b,0x74,0x79])]:_0x236417([0x45,0x43]),[_0x236417([0x75,0x73,0x65])]:_0x236417([0x73,0x69,0x67]),[_0x236417([0x63,0x72,0x76])]:_0x236417([0x50,0x2d,0x32,0x35,0x36]),[_0x236417([0x78])]:_0x236417([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]),[_0x236417([0x79])]:_0x236417([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]),[_0x236417([0x61,0x6c,0x67])]:_0x236417([0x45,0x53,0x32,0x35,0x36])},_0x209f41=_0x1c3083[_0x236417([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x236417([0x67,0x65,0x74])](_0x236417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32504d(){let _0x39db06,_0x29e96a=null,_0x3dc8a8=null;try{if(_0x209f41==_0x236417([0x47,0x50,0x4c]))return _0x236417([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x39db06=_0x3f6b41(),!_0x39db06)return _0x236417([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x39db06[_0x236417([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3dc8a8=_0xc29d14(_0x39db06[_0x236417([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x39db06[_0x236417([0x6a,0x74,0x69])])),await _0x2b28d6()?_0x1cf4a7()?_0x4860f7()?_0x236417([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x356a40()?(_0x39db06[_0x236417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x236417([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29e96a=_0x189733(_0x236417([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x39db06[_0x236417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x236417([0x74,0x72,0x69,0x61,0x6c])&&(_0x29e96a=_0x189733(_0x236417([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d7a0b()):_0x236417([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x236417([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x236417([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x236417([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4860f7(){const _0xbf83e7=[_0x236417([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x236417([0x74,0x72,0x69,0x61,0x6c])][_0x236417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39db06[_0x236417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16ac2b/0x3e8:0xe10*_0x5c9f7a;return _0x39db06[_0x236417([0x65,0x78,0x70])]<_0xbf83e7;}function _0x1cf4a7(){const _0x1869f5=_0x39db06[_0x236417([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1869f5&&(!!_0x1869f5[_0x236417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236417([0x2a]))||!!_0x1869f5[_0x236417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236417([0x45,0x49,0x53])));}function _0x356a40(){const _0x47a07e=_0x2c23,_0x2bd396=_0x39db06[_0x236417([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2bd396||0x0==_0x2bd396[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25ac38}=new URL(window[_0x236417([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x47a07e(0x19e)]);if(_0x2bd396[_0x236417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25ac38))return!0x0;const _0x468b79=_0x25ac38[_0x236417([0x73,0x70,0x6c,0x69,0x74])](_0x236417([0x2e]));return _0x2bd396[_0x236417([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b4aa2=>_0x4b4aa2[_0x236417([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x236417([0x2a])))[_0x236417([0x6d,0x61,0x70])](_0x23110f=>_0x23110f[_0x236417([0x73,0x70,0x6c,0x69,0x74])](_0x236417([0x2e])))[_0x236417([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33ce32=>_0x33ce32[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x468b79[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x236417([0x6d,0x61,0x70])](_0x5ef1c2=>Array(_0x468b79[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ef1c2[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x236417([0x66,0x69,0x6c,0x6c])](_0x5ef1c2[0x0]===_0x236417([0x2a])?_0x236417([0x2a]):'')[_0x236417([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ef1c2))[_0x236417([0x73,0x6f,0x6d,0x65])](_0x3c4ac3=>_0x468b79[_0x236417([0x65,0x76,0x65,0x72,0x79])]((_0x200520,_0x153b27)=>_0x3c4ac3[_0x153b27]===_0x200520||_0x3c4ac3[_0x153b27]===_0x236417([0x2a])));}function _0x2d7a0b(){return _0x29e96a&&_0x3dc8a8?new window[(_0x236417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x158626,_0x8e543e)=>{_0x29e96a[_0x236417([0x74,0x68,0x65,0x6e])](_0x158626,_0x8e543e),_0x3dc8a8[_0x236417([0x74,0x68,0x65,0x6e])](_0x24186a=>{_0x24186a!=_0x236417([0x56,0x61,0x6c,0x69,0x64])&&_0x158626(_0x24186a);},_0x8e543e);}):_0x29e96a||_0x3dc8a8||_0x236417([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc29d14(_0x54b3b5,_0x3bcf9a){return new window[(_0x236417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x174b66=>{if(_0x415a5a())return _0x174b66(_0x236417([0x56,0x61,0x6c,0x69,0x64]));_0xd8a15f(),_0x1c3083[_0x236417([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x236417([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c613f=!0x1;const _0x1394bd=_0xc56ffe();function _0x5747cc(_0xe1c6d4){return!!_0xe1c6d4&&(typeof _0xe1c6d4===_0x236417([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe1c6d4===_0x236417([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe1c6d4[_0x236417([0x74,0x68,0x65,0x6e])]===_0x236417([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe1c6d4[_0x236417([0x63,0x61,0x74,0x63,0x68])]===_0x236417([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x157db9(_0x489ae1){_0x406a2c(_0x489ae1)[_0x236417([0x74,0x68,0x65,0x6e])](_0x19bb53=>{if(!_0x19bb53||_0x19bb53[_0x236417([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x236417([0x6f,0x6b]))return _0x236417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41b561(_0x2a17c1(_0x1394bd+_0x3bcf9a))!=_0x19bb53[_0x236417([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x236417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x236417([0x56,0x61,0x6c,0x69,0x64]);})[_0x236417([0x74,0x68,0x65,0x6e])](_0x4edd2e=>(_0x47952d(),_0x4edd2e),()=>{const _0x1fe870=_0xb97f1f();return null==_0x1fe870?(_0x47952d(),_0x236417([0x56,0x61,0x6c,0x69,0x64])):_0x236417(_0x16ac2b-_0x1fe870>(0x4aecace0^_0xdc1cdf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x236417([0x74,0x68,0x65,0x6e])](_0x174b66)[_0x236417([0x63,0x61,0x74,0x63,0x68])](()=>{_0x174b66(_0x236417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4626e0=0x6ed6c660^_0xdc1cdf;function _0x47952d(){const _0x23f0bd=_0x236417([0x6c,0x6c,0x63,0x74,0x2d])+_0x41b561(_0x2a17c1(_0x54b3b5)),_0x3778a3=_0x499168(_0x41b561(window[_0x236417([0x4d,0x61,0x74,0x68])][_0x236417([0x63,0x65,0x69,0x6c])](_0x16ac2b/_0x4626e0)));window[_0x236417([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x236417([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23f0bd,_0x3778a3);}function _0xb97f1f(){const _0x34bc8f=_0x236417([0x6c,0x6c,0x63,0x74,0x2d])+_0x41b561(_0x2a17c1(_0x54b3b5)),_0x5f090b=window[_0x236417([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x236417([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34bc8f);return _0x5f090b?window[_0x236417([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x499168(_0x5f090b),0x10)*_0x4626e0:null;}function _0x406a2c(_0x3f1728){return new window[(_0x236417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37137b,_0x2ae93a)=>{_0x3f1728[_0x236417([0x74,0x68,0x65,0x6e])](_0x37137b,_0x2ae93a),window[_0x236417([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ae93a,0x6ee1fc20^_0xdc1cdf);});}}_0x1c3083[_0x236417([0x6f,0x6e])](_0x236417([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18225d,_0x2d884c)=>{if(_0x2d884c[0x0]!=_0x54b3b5)return _0x174b66(_0x236417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d884c[0x1]={..._0x2d884c[0x1],[_0x236417([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1394bd};},{[_0x236417([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x236417([0x68,0x69,0x67,0x68])}),_0x1c3083[_0x236417([0x6f,0x6e])](_0x236417([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x452f7f=>{_0x5747cc(_0x452f7f[_0x236417([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c613f=!0x0,_0x157db9(_0x452f7f[_0x236417([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x236417([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x236417([0x6c,0x6f,0x77])}),_0x2f371f[_0x236417([0x74,0x68,0x65,0x6e])](()=>{_0x1c613f||_0x174b66(_0x236417([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x415a5a(){return _0x1c3083[_0x236417([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x236417([0x76,0x69,0x65,0x77])][_0x236417([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x236417([0x61,0x75,0x74,0x6f]);}function _0xd8a15f(){_0x1c3083[_0x236417([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x236417([0x76,0x69,0x65,0x77])][_0x236417([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x236417([0x61,0x75,0x74,0x6f]);}}function _0x189733(_0x180da6){const _0xde480c=[new window[(_0x236417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25510c=>setTimeout(_0x25510c,0x6ee9162c^_0xdc1cdf)),_0x2f371f[_0x236417([0x74,0x68,0x65,0x6e])](()=>new window[(_0x236417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11a395=>{let _0xfe2424=0x0;_0x1c3083[_0x236417([0x6d,0x6f,0x64,0x65,0x6c])][_0x236417([0x6f,0x6e])](_0x236417([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x130b9a,_0x2ceb92)=>{_0x2ceb92[0x0][_0x236417([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xfe2424++,_0xfe2424==(0x6ee02918^_0xdc1cdf)&&(_0x11a395(),_0x130b9a[_0x236417([0x6f,0x66,0x66])]());});}))];return window[_0x236417([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x236417([0x72,0x61,0x63,0x65])](_0xde480c)[_0x236417([0x74,0x68,0x65,0x6e])](()=>_0x180da6);}async function _0x197a1a(){const _0x38e673=_0x2c23;await _0x2f371f;const _0x55713b=_0x1c3083[_0x38e673(0x1a3)][_0x236417([0x67,0x65,0x74])](_0x236417([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x55713b&&_0x55713b[_0x236417([0x6f,0x6e])](_0x236417([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x2946e1=>{const _0x512a88=_0x38e673;_0x2946e1[_0x512a88(0x1a6)]();},{'priority':_0x236417([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x1c3083[_0x236417([0x6d,0x6f,0x64,0x65,0x6c])][_0x236417([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fcd63,_0x1c3083[_0x236417([0x6d,0x6f,0x64,0x65,0x6c])][_0x236417([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fcd63,_0x1c3083[_0x236417([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x236417([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xcd0cad(_0x33084c){const _0x474e53=_0x25ad72();_0x1c3083[_0x474e53]=_0x236417([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33084c,_0x33084c!=_0x236417([0x56,0x61,0x6c,0x69,0x64])&&_0x197a1a();}function _0x25ad72(){const _0x12da22=window[_0x236417([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x236417([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x236417([0x6e,0x6f,0x77])]())[_0x236417([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x236417([0x2e]),'');let _0x5ed986=_0x236417([0x46]);for(let _0x2a913c=0x0;_0x2a913c<_0x12da22[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a913c+=0x2){let _0x5d0420=window[_0x236417([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12da22[_0x236417([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a913c,_0x2a913c+0x2));_0x5d0420>=_0x5040a6[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d0420-=_0x5040a6[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ed986+=_0x5040a6[_0x5d0420];}return _0x5ed986;}function _0x3f6b41(){const _0x3c0d75=_0x209f41[_0x236417([0x73,0x70,0x6c,0x69,0x74])](_0x236417([0x2e]));if(0x3!=_0x3c0d75[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x391ee6(_0x3c0d75[0x1]);function _0x391ee6(_0x401de8){const _0x343f8e=_0x32e24b(_0x401de8);return _0x343f8e&&_0x14e7c8()?_0x343f8e:null;function _0x14e7c8(){const _0x26752c=_0x343f8e[_0x236417([0x6a,0x74,0x69])],_0x372705=window[_0x236417([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26752c[_0x236417([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26752c[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x29615a={..._0x343f8e,[_0x236417([0x6a,0x74,0x69])]:_0x26752c[_0x236417([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26752c[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x29615a[_0x236417([0x76,0x63])],_0x2a17c1(_0x29615a)==_0x372705;}}}async function _0x2b28d6(){let _0x52dd36=!0x0;try{const _0x3730a7=_0x209f41[_0x236417([0x73,0x70,0x6c,0x69,0x74])](_0x236417([0x2e])),[_0x5be54a,_0x4965d4,_0x5e5883]=_0x3730a7;return _0x16ba4b(_0x5be54a),await _0x604cbc(_0x5be54a,_0x4965d4,_0x5e5883),_0x52dd36;}catch{return!0x1;}function _0x16ba4b(_0x416474){const _0x404459=_0x32e24b(_0x416474);_0x404459&&_0x404459[_0x236417([0x61,0x6c,0x67])]==_0x236417([0x45,0x53,0x32,0x35,0x36])||(_0x52dd36=!0x1);}async function _0x604cbc(_0xe2ff03,_0x1083d5,_0x480f10){const _0x4e88d1=window[_0x236417([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x236417([0x66,0x72,0x6f,0x6d])](_0x3dbb3a(_0x480f10),_0x13199f=>_0x13199f[_0x236417([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c6622=new window[(_0x236417([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x236417([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe2ff03+_0x236417([0x2e])+_0x1083d5),_0x1e7636=window[_0x236417([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x236417([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e7636)return;const _0x357a98=await _0x1e7636[_0x236417([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x236417([0x6a,0x77,0x6b]),_0x4c4fef,{[_0x236417([0x6e,0x61,0x6d,0x65])]:_0x236417([0x45,0x43,0x44,0x53,0x41]),[_0x236417([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x236417([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x236417([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e7636[_0x236417([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x236417([0x6e,0x61,0x6d,0x65])]:_0x236417([0x45,0x43,0x44,0x53,0x41]),[_0x236417([0x68,0x61,0x73,0x68])]:{[_0x236417([0x6e,0x61,0x6d,0x65])]:_0x236417([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x357a98,_0x4e88d1,_0x2c6622)||(_0x52dd36=!0x1);}}function _0x32e24b(_0x31de7d){return _0x31de7d[_0x236417([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x236417([0x65,0x79]))?JSON[_0x236417([0x70,0x61,0x72,0x73,0x65])](_0x3dbb3a(_0x31de7d)):null;}function _0x3dbb3a(_0x2b8c2e){return window[_0x236417([0x61,0x74,0x6f,0x62])](_0x2b8c2e[_0x236417([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x236417([0x2b]))[_0x236417([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x236417([0x2f])));}function _0x2a17c1(_0x5d9011){let _0x51cf5f=0x1505;function _0x2694ad(_0x5ad1ba){for(let _0x204d3c=0x0;_0x204d3c<_0x5ad1ba[_0x236417([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x204d3c++){const _0x5214df=_0x5ad1ba[_0x236417([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x204d3c);_0x51cf5f=(_0x51cf5f<<0x5)+_0x51cf5f+_0x5214df,_0x51cf5f&=_0x51cf5f;}}function _0x5b5397(_0x45fa99){Array[_0x236417([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45fa99)?_0x45fa99[_0x236417([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b5397):_0x45fa99&&typeof _0x45fa99==_0x236417([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x236417([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45fa99)[_0x236417([0x73,0x6f,0x72,0x74])]()[_0x236417([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5180c5,_0x100bcf])=>{_0x2694ad(_0x5180c5),_0x5b5397(_0x100bcf);}):_0x2694ad(window[_0x236417([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45fa99));}return _0x5b5397(_0x5d9011),_0x51cf5f>>>0x0;}function _0x41b561(_0x162f49){return _0x162f49[_0x236417([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x236417([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x236417([0x30]));}function _0x499168(_0x1f3576){return _0x1f3576[_0x236417([0x73,0x70,0x6c,0x69,0x74])]('')[_0x236417([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x236417([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fcd63(){}function _0x236417(_0x3c9b2d){const _0x37ee79=_0x2c23;return _0x3c9b2d[_0x37ee79(0x1a4)](_0x484087=>String[_0x37ee79(0x1b3)](_0x484087))[_0x37ee79(0x19f)]('');}_0xcd0cad(await _0x32504d());}(this);}}function _0x20e4(){const _0x581280=['add','href','join','4079028sUnMbZ','7591545ubOejK','14777217qDuvyR','commands','map','isPremiumPlugin','stop','pluginName','1321420LKnDCc','init','define','config','ExportInlineStylesEditing','3079104bqendl','5621916zcGETg','afterInit','isOfficialPlugin','3383991HaJuTG','editor','fromCharCode','exportInlineStyles'];_0x20e4=function(){return _0x581280;};return _0x20e4();}
|
|
23
|
+
const _0x2d7e47=_0x5832;function _0x5832(_0x1c366b,_0x507364){const _0x45780d=_0x4578();return _0x5832=function(_0x58329a,_0x226658){_0x58329a=_0x58329a-0x1f0;let _0x6c7a8a=_0x45780d[_0x58329a];return _0x6c7a8a;},_0x5832(_0x1c366b,_0x507364);}(function(_0x567e6e,_0x5c1801){const _0xeeae83=_0x5832,_0x3b8ff8=_0x567e6e();while(!![]){try{const _0x3a2f36=parseInt(_0xeeae83(0x1fd))/0x1+-parseInt(_0xeeae83(0x209))/0x2+-parseInt(_0xeeae83(0x1f4))/0x3*(-parseInt(_0xeeae83(0x1f7))/0x4)+-parseInt(_0xeeae83(0x1f5))/0x5+-parseInt(_0xeeae83(0x200))/0x6*(-parseInt(_0xeeae83(0x1f9))/0x7)+-parseInt(_0xeeae83(0x1f6))/0x8+parseInt(_0xeeae83(0x208))/0x9;if(_0x3a2f36===_0x5c1801)break;else _0x3b8ff8['push'](_0x3b8ff8['shift']());}catch(_0x160029){_0x3b8ff8['push'](_0x3b8ff8['shift']());}}}(_0x4578,0x7f908));import{Plugin as _0x1b727c}from'ckeditor5/src/core.js';import{uid as _0x43141a}from'ckeditor5/src/utils.js';import{ExportInlineStylesCommand as _0x2ce1d2}from'./exportinlinestylescommand.js';function _0x4578(){const _0x2637c9=['5927652FFHKFG','234492STlWuh','config','href','pluginName','join','9855FATtnj','5044965tiYEzx','3838016FnKJwB','500FnEYDh','define','7kEZRaS','add','exportInlineStyles','init','625203LXSPbh','afterInit','isPremiumPlugin','2604234esMAfO','isOfficialPlugin','fromCharCode','stop','ExportInlineStylesEditing','map','editor','commands'];_0x4578=function(){return _0x2637c9;};return _0x4578();}export class ExportInlineStylesEditing extends _0x1b727c{static get[_0x2d7e47(0x1f2)](){const _0x4f060d=_0x2d7e47;return _0x4f060d(0x204);}static get[_0x2d7e47(0x201)](){return!0x0;}static get[_0x2d7e47(0x1ff)](){return!0x0;}[_0x2d7e47(0x1fc)](){const _0x78ccc=_0x2d7e47;this[_0x78ccc(0x206)][_0x78ccc(0x1f0)][_0x78ccc(0x1f8)](_0x78ccc(0x1fb),{}),this[_0x78ccc(0x206)][_0x78ccc(0x207)][_0x78ccc(0x1fa)](_0x78ccc(0x1fb),new _0x2ce1d2(this[_0x78ccc(0x206)]));}[_0x2d7e47(0x1fe)](){!async function(_0x2eed42){const _0x235244=_0x2754ec([0x69,0x4b,0x4d,0x68,0x64,0x6b,0x72,0x6c,0x46,0x63,0x56,0x67,0x58,0x39,0x6f,0x79,0x53,0x44,0x74,0x42,0x78,0x48,0x6e,0x5a,0x54,0x59,0x33,0x45,0x75,0x55,0x47,0x6a,0x35,0x32,0x71,0x73,0x76,0x38,0x57,0x6d,0x77,0x36,0x70,0x43,0x61,0x31,0x49,0x41,0x34,0x4e,0x4c,0x62,0x51,0x4f,0x4a,0x52,0x30,0x37,0x65,0x66,0x50,0x7a]),_0xa18916=0x12b224a3,_0x540666=0x12b548f3^_0xa18916,_0x5971a7=window[_0x2754ec([0x44,0x61,0x74,0x65])][_0x2754ec([0x6e,0x6f,0x77])](),_0x4683b4=_0x2eed42[_0x2754ec([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x415986=new window[(_0x2754ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32a892=>{_0x4683b4[_0x2754ec([0x6f,0x6e,0x63,0x65])](_0x2754ec([0x72,0x65,0x61,0x64,0x79]),_0x32a892);}),_0x49df2f={[_0x2754ec([0x6b,0x74,0x79])]:_0x2754ec([0x45,0x43]),[_0x2754ec([0x75,0x73,0x65])]:_0x2754ec([0x73,0x69,0x67]),[_0x2754ec([0x63,0x72,0x76])]:_0x2754ec([0x50,0x2d,0x32,0x35,0x36]),[_0x2754ec([0x78])]:_0x2754ec([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]),[_0x2754ec([0x79])]:_0x2754ec([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]),[_0x2754ec([0x61,0x6c,0x67])]:_0x2754ec([0x45,0x53,0x32,0x35,0x36])},_0x4cbc29=_0x4683b4[_0x2754ec([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2754ec([0x67,0x65,0x74])](_0x2754ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1eb6fc(){let _0x27ede5,_0x1f72cf=null,_0x4be4b9=null;try{if(_0x4cbc29==_0x2754ec([0x47,0x50,0x4c]))return _0x2754ec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27ede5=_0x4b2793(),!_0x27ede5)return _0x2754ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27ede5[_0x2754ec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4be4b9=_0x1b8272(_0x27ede5[_0x2754ec([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27ede5[_0x2754ec([0x6a,0x74,0x69])])),await _0x5e22e2()?_0x10d741()?_0x1664e()?_0x2754ec([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47de07()?(_0x27ede5[_0x2754ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2754ec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f72cf=_0x4880ff(_0x2754ec([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27ede5[_0x2754ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2754ec([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f72cf=_0x4880ff(_0x2754ec([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x113e94()):_0x2754ec([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2754ec([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2754ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2754ec([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1664e(){const _0x40f327=[_0x2754ec([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2754ec([0x74,0x72,0x69,0x61,0x6c])][_0x2754ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27ede5[_0x2754ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5971a7/0x3e8:0xe10*_0x540666;return _0x27ede5[_0x2754ec([0x65,0x78,0x70])]<_0x40f327;}function _0x10d741(){const _0x464d84=_0x27ede5[_0x2754ec([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x464d84&&(!!_0x464d84[_0x2754ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2754ec([0x2a]))||!!_0x464d84[_0x2754ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2754ec([0x45,0x49,0x53])));}function _0x47de07(){const _0x35da29=_0x5832,_0x1c9ccd=_0x27ede5[_0x2754ec([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c9ccd||0x0==_0x1c9ccd[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5fc697}=new URL(window[_0x2754ec([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x35da29(0x1f1)]);if(_0x1c9ccd[_0x2754ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5fc697))return!0x0;const _0x2ab2fb=_0x5fc697[_0x2754ec([0x73,0x70,0x6c,0x69,0x74])](_0x2754ec([0x2e]));return _0x1c9ccd[_0x2754ec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x484b0c=>_0x484b0c[_0x2754ec([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2754ec([0x2a])))[_0x2754ec([0x6d,0x61,0x70])](_0x59eb17=>_0x59eb17[_0x2754ec([0x73,0x70,0x6c,0x69,0x74])](_0x2754ec([0x2e])))[_0x2754ec([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x272f1e=>_0x272f1e[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ab2fb[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2754ec([0x6d,0x61,0x70])](_0x1414a6=>Array(_0x2ab2fb[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1414a6[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2754ec([0x66,0x69,0x6c,0x6c])](_0x1414a6[0x0]===_0x2754ec([0x2a])?_0x2754ec([0x2a]):'')[_0x2754ec([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1414a6))[_0x2754ec([0x73,0x6f,0x6d,0x65])](_0x581dfa=>_0x2ab2fb[_0x2754ec([0x65,0x76,0x65,0x72,0x79])]((_0x3b8d1d,_0x403f30)=>_0x581dfa[_0x403f30]===_0x3b8d1d||_0x581dfa[_0x403f30]===_0x2754ec([0x2a])));}function _0x113e94(){return _0x1f72cf&&_0x4be4b9?new window[(_0x2754ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50f50d,_0x5070f3)=>{_0x1f72cf[_0x2754ec([0x74,0x68,0x65,0x6e])](_0x50f50d,_0x5070f3),_0x4be4b9[_0x2754ec([0x74,0x68,0x65,0x6e])](_0x2b2398=>{_0x2b2398!=_0x2754ec([0x56,0x61,0x6c,0x69,0x64])&&_0x50f50d(_0x2b2398);},_0x5070f3);}):_0x1f72cf||_0x4be4b9||_0x2754ec([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b8272(_0x5dca05,_0x59c1da){return new window[(_0x2754ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x217e3c=>{if(_0x58bc0c())return _0x217e3c(_0x2754ec([0x56,0x61,0x6c,0x69,0x64]));_0x30ed75(),_0x4683b4[_0x2754ec([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2754ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x60d6a0=!0x1;const _0x449677=_0x43141a();function _0x26927a(_0xd2dff2){return!!_0xd2dff2&&(typeof _0xd2dff2===_0x2754ec([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd2dff2===_0x2754ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd2dff2[_0x2754ec([0x74,0x68,0x65,0x6e])]===_0x2754ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd2dff2[_0x2754ec([0x63,0x61,0x74,0x63,0x68])]===_0x2754ec([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c66e1(_0x57f3b5){_0x171a70(_0x57f3b5)[_0x2754ec([0x74,0x68,0x65,0x6e])](_0x456332=>{if(!_0x456332||_0x456332[_0x2754ec([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2754ec([0x6f,0x6b]))return _0x2754ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d7882(_0x54731f(_0x449677+_0x59c1da))!=_0x456332[_0x2754ec([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2754ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2754ec([0x56,0x61,0x6c,0x69,0x64]);})[_0x2754ec([0x74,0x68,0x65,0x6e])](_0x576fa8=>(_0x3fd188(),_0x576fa8),()=>{const _0x42bfb7=_0x1b62c2();return null==_0x42bfb7?(_0x3fd188(),_0x2754ec([0x56,0x61,0x6c,0x69,0x64])):_0x2754ec(_0x5971a7-_0x42bfb7>(0x36bea0a3^_0xa18916)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2754ec([0x74,0x68,0x65,0x6e])](_0x217e3c)[_0x2754ec([0x63,0x61,0x74,0x63,0x68])](()=>{_0x217e3c(_0x2754ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5fd721=0x1284ca23^_0xa18916;function _0x3fd188(){const _0x2ce370=_0x2754ec([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d7882(_0x54731f(_0x5dca05)),_0x1c50fe=_0x2e21ed(_0x4d7882(window[_0x2754ec([0x4d,0x61,0x74,0x68])][_0x2754ec([0x63,0x65,0x69,0x6c])](_0x5971a7/_0x5fd721)));window[_0x2754ec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2754ec([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ce370,_0x1c50fe);}function _0x1b62c2(){const _0x5a4e6a=_0x2754ec([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d7882(_0x54731f(_0x5dca05)),_0x8455c8=window[_0x2754ec([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2754ec([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a4e6a);return _0x8455c8?window[_0x2754ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e21ed(_0x8455c8),0x10)*_0x5fd721:null;}function _0x171a70(_0x177c92){return new window[(_0x2754ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38176a,_0x1d8af5)=>{_0x177c92[_0x2754ec([0x74,0x68,0x65,0x6e])](_0x38176a,_0x1d8af5),window[_0x2754ec([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d8af5,0x12b3f063^_0xa18916);});}}_0x4683b4[_0x2754ec([0x6f,0x6e])](_0x2754ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5db059,_0x1a71bf)=>{if(_0x1a71bf[0x0]!=_0x5dca05)return _0x217e3c(_0x2754ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a71bf[0x1]={..._0x1a71bf[0x1],[_0x2754ec([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x449677};},{[_0x2754ec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2754ec([0x68,0x69,0x67,0x68])}),_0x4683b4[_0x2754ec([0x6f,0x6e])](_0x2754ec([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x367961=>{_0x26927a(_0x367961[_0x2754ec([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x60d6a0=!0x0,_0x5c66e1(_0x367961[_0x2754ec([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2754ec([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2754ec([0x6c,0x6f,0x77])}),_0x415986[_0x2754ec([0x74,0x68,0x65,0x6e])](()=>{_0x60d6a0||_0x217e3c(_0x2754ec([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58bc0c(){return _0x4683b4[_0x2754ec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2754ec([0x76,0x69,0x65,0x77])][_0x2754ec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2754ec([0x61,0x75,0x74,0x6f]);}function _0x30ed75(){_0x4683b4[_0x2754ec([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2754ec([0x76,0x69,0x65,0x77])][_0x2754ec([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2754ec([0x61,0x75,0x74,0x6f]);}}function _0x4880ff(_0x2325d4){const _0x5cd179=[new window[(_0x2754ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa257bb=>setTimeout(_0xa257bb,0x12bb1a6f^_0xa18916)),_0x415986[_0x2754ec([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2754ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b6c63=>{let _0x3b0f40=0x0;_0x4683b4[_0x2754ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x2754ec([0x6f,0x6e])](_0x2754ec([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10bcac,_0x2b3f68)=>{_0x2b3f68[0x0][_0x2754ec([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b0f40++,_0x3b0f40==(0x12b2255b^_0xa18916)&&(_0x4b6c63(),_0x10bcac[_0x2754ec([0x6f,0x66,0x66])]());});}))];return window[_0x2754ec([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2754ec([0x72,0x61,0x63,0x65])](_0x5cd179)[_0x2754ec([0x74,0x68,0x65,0x6e])](()=>_0x2325d4);}async function _0x21ae7a(){const _0x6225bb=_0x5832;await _0x415986;const _0xc17627=_0x4683b4[_0x6225bb(0x207)][_0x2754ec([0x67,0x65,0x74])](_0x2754ec([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0xc17627&&_0xc17627[_0x2754ec([0x6f,0x6e])](_0x2754ec([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x45424e=>{const _0x5c0507=_0x6225bb;_0x45424e[_0x5c0507(0x203)]();},{'priority':_0x2754ec([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x4683b4[_0x2754ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x2754ec([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c6210,_0x4683b4[_0x2754ec([0x6d,0x6f,0x64,0x65,0x6c])][_0x2754ec([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c6210,_0x4683b4[_0x2754ec([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2754ec([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1aae1(_0x26e187){const _0x5e7979=_0x5f0ed2();_0x4683b4[_0x5e7979]=_0x2754ec([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26e187,_0x26e187!=_0x2754ec([0x56,0x61,0x6c,0x69,0x64])&&_0x21ae7a();}function _0x5f0ed2(){const _0x21cabb=window[_0x2754ec([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2754ec([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2754ec([0x6e,0x6f,0x77])]())[_0x2754ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2754ec([0x2e]),'');let _0x5d0893=_0x2754ec([0x69]);for(let _0xa680d3=0x0;_0xa680d3<_0x21cabb[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa680d3+=0x2){let _0x533b9d=window[_0x2754ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21cabb[_0x2754ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa680d3,_0xa680d3+0x2));_0x533b9d>=_0x235244[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x533b9d-=_0x235244[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d0893+=_0x235244[_0x533b9d];}return _0x5d0893;}function _0x4b2793(){const _0x194aac=_0x4cbc29[_0x2754ec([0x73,0x70,0x6c,0x69,0x74])](_0x2754ec([0x2e]));if(0x3!=_0x194aac[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x472bfb(_0x194aac[0x1]);function _0x472bfb(_0x6ae55d){const _0xaecb9a=_0x28d2f0(_0x6ae55d);return _0xaecb9a&&_0x5950f5()?_0xaecb9a:null;function _0x5950f5(){const _0x2ca389=_0xaecb9a[_0x2754ec([0x6a,0x74,0x69])],_0x61cae7=window[_0x2754ec([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ca389[_0x2754ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ca389[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40ded3={..._0xaecb9a,[_0x2754ec([0x6a,0x74,0x69])]:_0x2ca389[_0x2754ec([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ca389[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40ded3[_0x2754ec([0x76,0x63])],_0x54731f(_0x40ded3)==_0x61cae7;}}}async function _0x5e22e2(){let _0x2867c6=!0x0;try{const _0x5a830b=_0x4cbc29[_0x2754ec([0x73,0x70,0x6c,0x69,0x74])](_0x2754ec([0x2e])),[_0x27ee21,_0x5ee58b,_0x5b602d]=_0x5a830b;return _0xf94a2(_0x27ee21),await _0x3f697e(_0x27ee21,_0x5ee58b,_0x5b602d),_0x2867c6;}catch{return!0x1;}function _0xf94a2(_0x39b960){const _0xfc7131=_0x28d2f0(_0x39b960);_0xfc7131&&_0xfc7131[_0x2754ec([0x61,0x6c,0x67])]==_0x2754ec([0x45,0x53,0x32,0x35,0x36])||(_0x2867c6=!0x1);}async function _0x3f697e(_0xd8373e,_0x3d17d5,_0x22f5b0){const _0x268cb7=window[_0x2754ec([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2754ec([0x66,0x72,0x6f,0x6d])](_0xc9877f(_0x22f5b0),_0x921e92=>_0x921e92[_0x2754ec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x189870=new window[(_0x2754ec([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2754ec([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd8373e+_0x2754ec([0x2e])+_0x3d17d5),_0x48cf01=window[_0x2754ec([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2754ec([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48cf01)return;const _0x4896ca=await _0x48cf01[_0x2754ec([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2754ec([0x6a,0x77,0x6b]),_0x49df2f,{[_0x2754ec([0x6e,0x61,0x6d,0x65])]:_0x2754ec([0x45,0x43,0x44,0x53,0x41]),[_0x2754ec([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2754ec([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2754ec([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48cf01[_0x2754ec([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2754ec([0x6e,0x61,0x6d,0x65])]:_0x2754ec([0x45,0x43,0x44,0x53,0x41]),[_0x2754ec([0x68,0x61,0x73,0x68])]:{[_0x2754ec([0x6e,0x61,0x6d,0x65])]:_0x2754ec([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4896ca,_0x268cb7,_0x189870)||(_0x2867c6=!0x1);}}function _0x28d2f0(_0x49ab3a){return _0x49ab3a[_0x2754ec([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2754ec([0x65,0x79]))?JSON[_0x2754ec([0x70,0x61,0x72,0x73,0x65])](_0xc9877f(_0x49ab3a)):null;}function _0xc9877f(_0x13feb7){return window[_0x2754ec([0x61,0x74,0x6f,0x62])](_0x13feb7[_0x2754ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2754ec([0x2b]))[_0x2754ec([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2754ec([0x2f])));}function _0x54731f(_0x36185e){let _0x20c135=0x1505;function _0x43d3e1(_0x50cb83){for(let _0xaf9d96=0x0;_0xaf9d96<_0x50cb83[_0x2754ec([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaf9d96++){const _0x19d82d=_0x50cb83[_0x2754ec([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xaf9d96);_0x20c135=(_0x20c135<<0x5)+_0x20c135+_0x19d82d,_0x20c135&=_0x20c135;}}function _0x2ea286(_0x4cecb2){Array[_0x2754ec([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cecb2)?_0x4cecb2[_0x2754ec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ea286):_0x4cecb2&&typeof _0x4cecb2==_0x2754ec([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2754ec([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cecb2)[_0x2754ec([0x73,0x6f,0x72,0x74])]()[_0x2754ec([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53389a,_0x44bca7])=>{_0x43d3e1(_0x53389a),_0x2ea286(_0x44bca7);}):_0x43d3e1(window[_0x2754ec([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cecb2));}return _0x2ea286(_0x36185e),_0x20c135>>>0x0;}function _0x4d7882(_0x124f6a){return _0x124f6a[_0x2754ec([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2754ec([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2754ec([0x30]));}function _0x2e21ed(_0x130287){return _0x130287[_0x2754ec([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2754ec([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2754ec([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c6210(){}function _0x2754ec(_0x1ebbcb){const _0x5e4d42=_0x5832;return _0x1ebbcb[_0x5e4d42(0x205)](_0x24b873=>String[_0x5e4d42(0x202)](_0x24b873))[_0x5e4d42(0x1f3)]('');}_0x1aae1(await _0x1eb6fc());}(this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x86d8f3,_0x11acbe){const _0x3a8fd5=_0x12ab,_0x1b525e=_0x86d8f3();while(!![]){try{const _0x80f4e7=parseInt(_0x3a8fd5(0x90))/0x1*(parseInt(_0x3a8fd5(0x8c))/0x2)+parseInt(_0x3a8fd5(0x95))/0x3+parseInt(_0x3a8fd5(0x94))/0x4+-parseInt(_0x3a8fd5(0x96))/0x5*(parseInt(_0x3a8fd5(0x99))/0x6)+parseInt(_0x3a8fd5(0x9d))/0x7*(parseInt(_0x3a8fd5(0x93))/0x8)+parseInt(_0x3a8fd5(0x97))/0x9*(parseInt(_0x3a8fd5(0x8f))/0xa)+-parseInt(_0x3a8fd5(0x9b))/0xb;if(_0x80f4e7===_0x11acbe)break;else _0x1b525e['push'](_0x1b525e['shift']());}catch(_0x2cb3e9){_0x1b525e['push'](_0x1b525e['shift']());}}}(_0x4eaf,0xbb159));function _0x4eaf(){const _0x178e6d=['15339247mAjNtO','slice','7RcIuQh','8486eFqcaJ','trim','push','2161330uvorhe','25HmADxI','replace','endsWith','6939320hHFeuI','1003076bBbdmL','865911elketj','7985pxXLVM','45bugLLK','length','1626FswvoB','filter'];_0x4eaf=function(){return _0x178e6d;};return _0x4eaf();}export function splitByTopLevelComma(_0x359827){const _0x408f41=_0x12ab,_0x1e5a0f=[];let _0x341e89='',_0x141119=0x0;for(;_0x141119<_0x359827[_0x408f41(0x98)];){const _0x192c3b=_0x359827[_0x141119];if('('===_0x192c3b){const _0x286b09=findMatchingParenthesis(_0x359827,_0x141119+0x1);if(-0x1===_0x286b09)return[];_0x341e89+=_0x359827[_0x408f41(0x9c)](_0x141119,_0x286b09+0x1),_0x141119=_0x286b09+0x1;}else','!==_0x192c3b||_0x341e89[_0x408f41(0x92)]('\x5c')?(_0x341e89+=_0x192c3b,_0x141119++):(_0x1e5a0f[_0x408f41(0x8e)](_0x341e89[_0x408f41(0x8d)]()),_0x341e89='',_0x141119++);}return _0x341e89[_0x408f41(0x8d)]()&&_0x1e5a0f[_0x408f41(0x8e)](_0x341e89[_0x408f41(0x8d)]()),_0x1e5a0f[_0x408f41(0x9a)](Boolean);}function _0x12ab(_0x2a9780,_0x5f4892){const _0x4eaffa=_0x4eaf();return _0x12ab=function(_0x12ab10,_0x3fa5fb){_0x12ab10=_0x12ab10-0x8c;let _0x458795=_0x4eaffa[_0x12ab10];return _0x458795;},_0x12ab(_0x2a9780,_0x5f4892);}export function findMatchingParenthesis(_0x79c7cd,_0x12a994){const _0x43107e=_0x12ab;let _0x2f9a14=0x1;for(let _0x1f0486=_0x12a994;_0x1f0486<_0x79c7cd[_0x43107e(0x98)];_0x1f0486++){const _0xce7e5=_0x79c7cd[_0x1f0486];if('('===_0xce7e5)_0x2f9a14++;else{if(')'===_0xce7e5&&(_0x2f9a14--,0x0===_0x2f9a14))return _0x1f0486;}}return-0x1;}export function dropImportantStyleSuffix(_0x57369c){const _0x4cec9e=_0x12ab;return _0x57369c[_0x4cec9e(0x91)](/!\s*important/i,'')[_0x4cec9e(0x8d)]();}
|
package/src/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module export-inline-styles
|
|
7
7
|
*/
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
8
|
+
export { ExportInlineStyles, type ExportInlineStylesConfig, type ExportInlineStylesTransformation } from './exportinlinestyles.js';
|
|
9
|
+
export { ExportInlineStylesCommand } from './exportinlinestylescommand.js';
|
|
10
|
+
export { ExportInlineStylesEditing } from './exportinlinestylesediting.js';
|
|
11
11
|
export { dropImportantStyleSuffix } from './exportinlinestylesutils.js';
|
|
12
12
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x216436,_0xbc0d52){var _0x1e427e=_0x4d9e,_0x366273=_0x216436();while(!![]){try{var _0x34f764=-parseInt(_0x1e427e(0x1a7))/0x1*(parseInt(_0x1e427e(0x19e))/0x2)+-parseInt(_0x1e427e(0x1a9))/0x3*(parseInt(_0x1e427e(0x1a4))/0x4)+parseInt(_0x1e427e(0x1a6))/0x5*(parseInt(_0x1e427e(0x1a0))/0x6)+-parseInt(_0x1e427e(0x1a3))/0x7*(parseInt(_0x1e427e(0x19f))/0x8)+-parseInt(_0x1e427e(0x1a8))/0x9+parseInt(_0x1e427e(0x19d))/0xa*(parseInt(_0x1e427e(0x1a1))/0xb)+-parseInt(_0x1e427e(0x1a5))/0xc*(-parseInt(_0x1e427e(0x1a2))/0xd);if(_0x34f764===_0xbc0d52)break;else _0x366273['push'](_0x366273['shift']());}catch(_0x3bcdc5){_0x366273['push'](_0x366273['shift']());}}}(_0x5a68,0xcf406));export{ExportInlineStyles}from'./exportinlinestyles.js';export{ExportInlineStylesCommand}from'./exportinlinestylescommand.js';export{ExportInlineStylesEditing}from'./exportinlinestylesediting.js';export{dropImportantStyleSuffix}from'./exportinlinestylesutils.js';function _0x4d9e(_0x393202,_0x552688){var _0x5a6876=_0x5a68();return _0x4d9e=function(_0x4d9e16,_0x72142a){_0x4d9e16=_0x4d9e16-0x19d;var _0x4bcd77=_0x5a6876[_0x4d9e16];return _0x4bcd77;},_0x4d9e(_0x393202,_0x552688);}function _0x5a68(){var _0x4bd2a7=['24312grHCvu','18xScfKi','1441451qXteJA','377BtWqCr','2919ibhSRf','1320WlqXBB','901656SZrOZu','596575mbhvXn','11489TFEHdi','6734781EBlEWE','4317jcDjDb','70mwPGyn','20gYXCne'];_0x5a68=function(){return _0x4bd2a7;};return _0x5a68();}import'./augmentation.js';
|
|
@@ -17,7 +17,7 @@ import { type CSSVariablesMap } from './exportinlinestylescssvariables.js';
|
|
|
17
17
|
* @param options Configuration options containing stylesheet paths and inline CSS.
|
|
18
18
|
* @returns A promise that resolves to an array of parsed CSS rules and a map of root CSS variables.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export declare function collectAndProcessStylesheets(options: {
|
|
21
21
|
stylesProcessor: StylesProcessor;
|
|
22
22
|
stylesheets?: Array<string>;
|
|
23
23
|
inlineCss?: string;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40e9e1,_0x3de2e9){const _0x5a9437=_0x3467,_0x13938f=_0x40e9e1();while(!![]){try{const _0x16bbac=parseInt(_0x5a9437(0x203))/0x1+parseInt(_0x5a9437(0x204))/0x2+parseInt(_0x5a9437(0x205))/0x3+parseInt(_0x5a9437(0x202))/0x4+parseInt(_0x5a9437(0x1fe))/0x5*(-parseInt(_0x5a9437(0x1f2))/0x6)+-parseInt(_0x5a9437(0x1fc))/0x7+-parseInt(_0x5a9437(0x20a))/0x8*(-parseInt(_0x5a9437(0x1fd))/0x9);if(_0x16bbac===_0x3de2e9)break;else _0x13938f['push'](_0x13938f['shift']());}catch(_0x9ee251){_0x13938f['push'](_0x13938f['shift']());}}}(_0x6d3c,0xef58b));import{calculate as _0x36d355,compare as _0x2d2a1d}from'specificity';import{StylesMap as _0x6b8e12}from'ckeditor5/src/engine.js';import{collectStylesheets as _0x6e6c0b}from'ckeditor5/src/utils.js';import{collectRootStylesheetsVariables as _0x2942c2}from'./exportinlinestylescssvariables.js';import{splitByTopLevelComma as _0x27c562}from'../exportinlinestylesutils.js';export async function collectAndProcessStylesheets(_0x1f4073){const _0x28aff4=_0x3467,_0x701648=[await _0x6e6c0b(_0x1f4073[_0x28aff4(0x1ff)]),_0x1f4073[_0x28aff4(0x206)]][_0x28aff4(0x20b)](_0x165014=>_0x165014&&_0x165014[_0x28aff4(0x1f6)])[_0x28aff4(0x207)]('\x0a'),_0x5bd6e0=await async function(_0x459736,_0x733643){const _0x179657=_0x28aff4,_0x262d8e=new CSSStyleSheet();return await _0x262d8e[_0x179657(0x1f9)](_0x733643),C(Array[_0x179657(0x1fb)](_0x262d8e[_0x179657(0x1f8)])[_0x179657(0x20b)](_0x459603=>_0x459603 instanceof CSSStyleRule))[_0x179657(0x209)](({selectorText:_0xe07e21,contentCssText:_0x2d361})=>{const _0x5bf690=_0x179657,_0x5aad5f=_0x27c562(_0xe07e21),_0x43f2de=new _0x6b8e12(_0x459736)[_0x5bf690(0x200)](_0x2d361);return _0x5aad5f[_0x5bf690(0x201)](_0x985de0=>({'stylesMap':_0x43f2de,'flatSelector':_0x985de0,'specificity':_0x36d355(_0x985de0)[0x0][_0x5bf690(0x208)]}));})[_0x179657(0x1f7)]((_0xb58321,_0x140a34)=>_0x2d2a1d(_0xb58321[_0x179657(0x1fa)],_0x140a34[_0x179657(0x1fa)]));}(_0x1f4073[_0x28aff4(0x1f3)],_0x701648);return{'parsedCssRules':_0x5bd6e0,'rootCssVariables':_0x2942c2(_0x5bd6e0)};}function _0x3467(_0xf0359e,_0x4ca658){const _0x6d3cbe=_0x6d3c();return _0x3467=function(_0x3467ac,_0x12f3db){_0x3467ac=_0x3467ac-0x1f2;let _0x54baf2=_0x6d3cbe[_0x3467ac];return _0x54baf2;},_0x3467(_0xf0359e,_0x4ca658);}function C(_0x32b8e1,_0x42e49a=''){const _0x13b26e=_0x3467;return _0x32b8e1[_0x13b26e(0x209)](_0x43b89c=>{const _0x1c5ef4=_0x13b26e,{selectorText:_0x983443,cssText:_0x2e0d22,cssRules:_0x1361b1}=_0x43b89c;if(!_0x983443)return[];const _0x426c4a=_0x983443[_0x1c5ef4(0x1f9)](/&/g,_0x42e49a);let _0x4a525d=_0x2e0d22[_0x1c5ef4(0x1f9)](_0x983443,'')[_0x1c5ef4(0x1f4)]()[_0x1c5ef4(0x1f9)](/^{|}$/g,'');if(!_0x1361b1||!_0x1361b1[_0x1c5ef4(0x1f6)])return[{'selectorText':_0x426c4a,'contentCssText':_0x4a525d}];for(const _0x27d74e of _0x1361b1)_0x4a525d=_0x4a525d[_0x1c5ef4(0x1f9)](_0x27d74e[_0x1c5ef4(0x1f5)],'')[_0x1c5ef4(0x1f4)]();return[{'selectorText':_0x426c4a,'contentCssText':_0x4a525d},...C(Array[_0x1c5ef4(0x1fb)](_0x1361b1),_0x426c4a)];});}function _0x6d3c(){const _0x3ad67b=['185XIpuCv','stylesheets','setTo','map','1438748nENNoE','765123RBYQdi','3207616lmZVQQ','211062qLzBfB','inlineCss','join','specificityArray','flatMap','8VeVkDv','filter','265956yuMgyM','stylesProcessor','trim','cssText','length','sort','cssRules','replace','specificity','from','1932630elsyHO','877887xDQvhW'];_0x6d3c=function(){return _0x3ad67b;};return _0x6d3c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x587a50,_0x53f65b){const _0x1ebac0=_0x4afe,_0x5cb9bc=_0x587a50();while(!![]){try{const _0x5ada79=parseInt(_0x1ebac0(0x166))/0x1+parseInt(_0x1ebac0(0x164))/0x2+parseInt(_0x1ebac0(0x16b))/0x3*(-parseInt(_0x1ebac0(0x179))/0x4)+-parseInt(_0x1ebac0(0x16d))/0x5+-parseInt(_0x1ebac0(0x171))/0x6+-parseInt(_0x1ebac0(0x172))/0x7*(parseInt(_0x1ebac0(0x174))/0x8)+parseInt(_0x1ebac0(0x178))/0x9;if(_0x5ada79===_0x53f65b)break;else _0x5cb9bc['push'](_0x5cb9bc['shift']());}catch(_0x3f9f02){_0x5cb9bc['push'](_0x5cb9bc['shift']());}}}(_0x22b2,0xec01d));import{findMatchingParenthesis as _0x2f097a,splitByTopLevelComma as _0xd46e40}from'../exportinlinestylesutils.js';function _0x22b2(){const _0xc16b9f=['1022XHxfTK','set','64152FtocvU','substring','bind','var(','32732640YFyYbU','20xAIMeQ','1150622oaUnRE','slice','80215NWxhtV','has','get','indexOf','remove','617883XmLKmH','startsWith','2284280FSfEjC','getStylesEntries',':root','length','4010196EVwCsq'];_0x22b2=function(){return _0xc16b9f;};return _0x22b2();}function _0x4afe(_0x43b20b,_0x166bf3){const _0x22b27a=_0x22b2();return _0x4afe=function(_0x4afeae,_0x32821a){_0x4afeae=_0x4afeae-0x164;let _0x29dab9=_0x22b27a[_0x4afeae];return _0x29dab9;},_0x4afe(_0x43b20b,_0x166bf3);}export function collectRootStylesheetsVariables(_0xf5e964){const _0x35e5d1=_0x4afe,_0x56413e=new Map();for(const {stylesMap:_0x2504cc,flatSelector:_0x538300}of _0xf5e964){if(_0x35e5d1(0x16f)!==_0x538300)continue;const _0x341efa=inlineStylesMapCSSVariables(_0x56413e[_0x35e5d1(0x168)][_0x35e5d1(0x176)](_0x56413e),_0x2504cc);for(const [_0x31bc35,_0x44a686]of _0x341efa)_0x56413e[_0x35e5d1(0x173)](_0x31bc35,_0x44a686);}return _0x56413e;}export function inlineStylesMapCSSVariables(_0x30c4da,_0x54537d){const _0x107723=_0x4afe,_0x49d549=new Map(),_0x18addf=_0x2bb6cc=>_0x49d549[_0x107723(0x167)](_0x2bb6cc)?_0x49d549[_0x107723(0x168)](_0x2bb6cc):_0x30c4da(_0x2bb6cc);for(const [_0x1226ee,_0x59f834]of _0x54537d[_0x107723(0x16e)]())if(_0x59f834&&_0x1226ee[_0x107723(0x16c)]('--')){const _0x110ca3=b(_0x18addf,_0x59f834);_0x49d549[_0x107723(0x173)](_0x1226ee,_0x110ca3),_0x54537d[_0x107723(0x16a)](_0x1226ee);}for(const [_0x3dd57c,_0x5e6a8f]of _0x54537d[_0x107723(0x16e)]())if(_0x5e6a8f){const _0x46ace8=b(_0x18addf,_0x5e6a8f);_0x54537d[_0x107723(0x173)](_0x3dd57c,_0x46ace8);}return _0x49d549;}function b(_0x5c8f56,_0x137ccc){return function(_0x4dbaf1,_0x18ec19){const _0x290675=_0x4afe;let _0x21a55b='',_0x1cd5d4=0x0;for(;_0x1cd5d4<_0x4dbaf1[_0x290675(0x170)];){const _0x43b494=_0x4dbaf1[_0x290675(0x169)](_0x290675(0x177),_0x1cd5d4);if(-0x1===_0x43b494){_0x21a55b+=_0x4dbaf1[_0x290675(0x165)](_0x1cd5d4);break;}_0x21a55b+=_0x4dbaf1[_0x290675(0x165)](_0x1cd5d4,_0x43b494);const _0x1c5e90=_0x43b494+0x4,_0xefd9c5=_0x2f097a(_0x4dbaf1,_0x1c5e90);_0x21a55b+=_0x18ec19(_0x4dbaf1[_0x290675(0x175)](_0x1c5e90,_0xefd9c5)),_0x1cd5d4=_0xefd9c5+0x1;}return _0x21a55b;}(_0x137ccc,_0x108ab3=>{const _0x53d957=_0x4afe,[_0x25404e,_0xc2207d]=_0xd46e40(_0x108ab3),_0x2da427=_0x5c8f56(_0x25404e);return void 0x0!==_0x2da427?_0x2da427:_0xc2207d?b(_0x5c8f56,_0xc2207d):_0x53d957(0x177)+_0x25404e+')';});}
|
|
@@ -29,7 +29,7 @@ import { type CSSVariableLookupCallback, type CSSVariablesMap } from './exportin
|
|
|
29
29
|
* // Returns styles map with: "color: red; font-size: 12px"
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
export
|
|
32
|
+
export declare function getElementInlineStyles(options: {
|
|
33
33
|
stylesProcessor: StylesProcessor;
|
|
34
34
|
fallbackCSSVariablesLookup: CSSVariableLookupCallback;
|
|
35
35
|
parsedCssRules: Array<ParsedCSSRule>;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xdea7cf,_0xe76e41){const _0x537bd6=_0x5826,_0x14e278=_0xdea7cf();while(!![]){try{const _0x27c5d8=-parseInt(_0x537bd6(0x193))/0x1+-parseInt(_0x537bd6(0x189))/0x2+parseInt(_0x537bd6(0x17e))/0x3+-parseInt(_0x537bd6(0x180))/0x4+-parseInt(_0x537bd6(0x18c))/0x5+parseInt(_0x537bd6(0x187))/0x6*(-parseInt(_0x537bd6(0x17f))/0x7)+parseInt(_0x537bd6(0x182))/0x8;if(_0x27c5d8===_0xe76e41)break;else _0x14e278['push'](_0x14e278['shift']());}catch(_0x400b91){_0x14e278['push'](_0x14e278['shift']());}}}(_0x5fa9,0x42884));import{StylesMap as _0x304a81}from'ckeditor5/src/engine.js';function _0x5826(_0x436cb6,_0x46df75){const _0x5fa992=_0x5fa9();return _0x5826=function(_0x582640,_0xe25b09){_0x582640=_0x582640-0x17d;let _0x5cdc51=_0x5fa992[_0x582640];return _0x5cdc51;},_0x5826(_0x436cb6,_0x46df75);}import{inlineStylesMapCSSVariables as _0x7a54f2}from'./exportinlinestylescssvariables.js';function _0x5fa9(){const _0xd29079=['830835cCcfut','string','stylesProcessor','flatSelector','filter','stylesMap','getAttribute','246737EENOzW','style','791757pFMMAE','201712laebje','1460588IopoFb','getStylesEntries','11383376ndGswd','map','set','fallbackCSSVariablesLookup','matches','102WUWcbl','element','292804rSkwSA','parsedCssRules','setTo'];_0x5fa9=function(){return _0xd29079;};return _0x5fa9();}export function getElementInlineStyles(_0x278d18){const _0x1707d8=_0x5826,_0x3c286f=_0x278d18[_0x1707d8(0x188)][_0x1707d8(0x192)](_0x1707d8(0x17d))||'',_0x4d8eea=_0x278d18[_0x1707d8(0x18a)][_0x1707d8(0x190)](_0x18bf50=>_0x278d18[_0x1707d8(0x188)][_0x1707d8(0x186)](_0x18bf50[_0x1707d8(0x18f)]))[_0x1707d8(0x183)](_0x1d7f59=>_0x1d7f59[_0x1707d8(0x191)]),_0xdcb313=concatStylesMaps(_0x278d18[_0x1707d8(0x18e)],[..._0x4d8eea,_0x3c286f]);return{'localCSSVariables':_0x7a54f2(_0x278d18[_0x1707d8(0x185)],_0xdcb313),'stylesMap':_0xdcb313};}export function concatStylesMaps(_0x4ba636,_0x7d239f){const _0x4a2769=_0x5826,_0x113c19=new _0x304a81(_0x4ba636);for(const _0x5afa48 of _0x7d239f){let _0x23de3b=null;if(_0x23de3b=_0x4a2769(0x18d)==typeof _0x5afa48?new _0x304a81(_0x4ba636)[_0x4a2769(0x18b)](_0x5afa48):_0x5afa48,_0x23de3b){for(const [_0x4f58ed,_0x2809c0]of _0x23de3b[_0x4a2769(0x181)]())_0x113c19[_0x4a2769(0x184)](_0x4f58ed,_0x2809c0);}}return _0x113c19;}
|