@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250629.0 → 0.0.0-nightly-20250701.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/line-height.js +1 -1
- package/dist/index-editor.css +0 -6
- package/dist/index.css +0 -10
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightconfig.d.ts +1 -9
- package/src/lineheightconfig.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
- package/theme/lineheight.css +0 -10
package/build/line-height.js
CHANGED
|
@@ -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 e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck.ck-line-height-dropdown .ck-dropdown__panel .ck-list{max-height:300px}.ck.ck-line-height-dropdown .ck-dropdown__panel .ck-button.ck-line-height-option{min-width:6em}.ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var p=n(d),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(h);else{var f=r(h,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>D,LineHeightCommand:()=>l,LineHeightEditing:()=>b,LineHeightUI:()=>M});var e=n(782);function t(){const e=["lineHeight","48YmTMFS","134448FTwBWy","17942Stxdwg","18iWoykg","24VogLiM","227580DxMdvZ","54873nyCmkO","174510xvQovA","581630xoZEWV","145455xUdYyh"];return(t=function(){return e})()}const r=o;function o(e,n){const i=t();return(o=function(e,t){return i[e-=130]})(e,n)}!function(e){const t=o,n=e();for(;;)try{if(147884===parseInt(t(139))/1+parseInt(t(138))/2+-parseInt(t(135))/3*(-parseInt(t(130))/4)+parseInt(t(133))/5+parseInt(t(140))/6*(-parseInt(t(134))/7)+parseInt(t(137))/8*(-parseInt(t(132))/9)+parseInt(t(131))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(t);const s=r(136);var a=n(584);const c=u;function u(e,t){const n=d();return(u=function(e,t){return n[e-=431]})(e,t)}!function(e){const t=u,n=e();for(;;)try{if(197165===parseInt(t(457))/1+parseInt(t(431))/2*(-parseInt(t(440))/3)+parseInt(t(458))/4+-parseInt(t(433))/5*(parseInt(t(445))/6)+-parseInt(t(434))/7+-parseInt(t(453))/8*(-parseInt(t(446))/9)+parseInt(t(454))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);class l extends e.Command{[c(436)](){const e=c,t=this[e(455)][e(438)][e(452)],n=(0,a.first)(t[e(450)][e(439)]());this[e(444)]=Boolean(n)&&this[e(441)](n),this[e(443)]=this[e(444)]&&n[e(432)](s)}[c(449)](e={}){const t=c,n=this[t(455)][t(438)],i=n[t(452)][t(450)],r=e[t(443)];n[t(435)](e=>{const n=t,o=Array[n(451)](i[n(439)]())[n(447)](e=>this[n(441)](e));for(const t of o)r?e[n(456)](s,r,t):e[n(437)](s,t)})}[c(441)](e){const t=c;return this[t(455)][t(438)][t(448)][t(442)](e,s)}}function d(){const e=["1236905kNLbyT","1907521AyVFSm","change","refresh","removeAttribute","model","getSelectedBlocks","6pMIIVQ","_canHaveLineHeight","checkAttribute","value","isEnabled","6iRxPCW","265653vsumNL","filter","schema","execute","selection","from","document","56IoufjQ","3972740FIPTYI","editor","setAttribute","316769GfZYCf","254420zmwZkt","267218VHwlGG","getAttribute"];return(d=function(){return e})()}var p=n(783);!function(e){const t=g,n=e();for(;;)try{if(771624===-parseInt(t(304))/1+-parseInt(t(298))/2+-parseInt(t(295))/3*(-parseInt(t(314))/4)+-parseInt(t(302))/5+parseInt(t(300))/6+parseInt(t(320))/7+parseInt(t(305))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(v);const h={get single(){const e=g;return{title:e(296),model:e(325),view:{key:e(319),value:e(301)}}},get double(){const e=g;return{title:e(316),model:e(313),view:{key:e(319),value:e(321)}}}};function f(e){const t=g;return t(317)==typeof e&&t(310)===e[t(323)]()}function m(e){const t=g;return e[t(299)][t(315)](n=>f(n)?{title:String(e[t(309)]),model:t(310)}:(t(297)==typeof n&&(n=String(n)),t(317)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(306),styles:{"line-height":n}}}:function(e){const t=g;return t(317)==typeof e?h[e]:h[e[t(307)]]}(n)))[t(303)](e=>void 0!==e)}function g(e,t){const n=v();return(g=function(e,t){return n[e-=294]})(e,t)}function v(){const e=["span","model","push","defaultValue","default","view","value","double","776YMXgmQ","map","Double","string","values","class","4136790XECNtQ","line-height-double","key","toLowerCase","line-height:","single","style","18030pPZCSQ","Single","number","2056206EKjpUp","options","3035244XWlkfM","line-height-single","1259415oAgZze","filter","926376PYCpXv","5721616xReghb"];return(v=function(){return e})()}const w=I;function y(){const e=["config","5782865bPkTHw","$block","lineHeight.supportAllValues","_prepareAnyValueConverters","getStyle","add","4rEfYKh","lineHeight.defaultValue","_preparePredefinedConverters","slice","length","values","391044cOJBOg","downcast","init","filter","isPremiumPlugin","href","setAttributeProperties","lineHeight.options","line-height","join","get","model","upcast","4547186apXKLs","extend","12AfumyT","default","for","16ALuNBR","lineHeight","2871nvFHqs","LineHeightEditing","1693065SgXMbg","schema","string","editor","line-height-invalid-use-of-named-presets","map","commands","pluginName","6691452Ghzalk","style","3352585RmDXAY","_validateConfig","isOfficialPlugin","4sltIMs","define","includes","14270kKKrss","fromCharCode","conversion","attributeToAttribute","afterInit"];return(y=function(){return e})()}function I(e,t){const n=y();return(I=function(e,t){return n[e-=131]})(e,t)}!function(e){const t=I,n=e();for(;;)try{if(938004===parseInt(t(146))/1+-parseInt(t(159))/2*(parseInt(t(180))/3)+parseInt(t(174))/4*(parseInt(t(156))/5)+parseInt(t(154))/6+parseInt(t(137))/7*(-parseInt(t(142))/8)+-parseInt(t(144))/9*(parseInt(t(162))/10)+parseInt(t(168))/11*(-parseInt(t(139))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(y);class b extends e.Plugin{static get[w(153)](){return w(145)}static get[w(158)](){return!0}static get[w(184)](){return!0}constructor(e){const t=w;super(e),e[t(167)][t(160)](s,{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(140),2,2.5,3]})}[w(182)](){const e=w,t=this[e(149)];this[e(157)](),t[e(135)][e(147)][e(138)](e(169),{allowAttributes:s}),t[e(135)][e(147)][e(186)](s,{isFormatting:!0}),t[e(152)][e(173)](s,new l(t)),this[e(149)][e(167)][e(134)](e(170))?this[e(171)]():this[e(176)]()}[w(166)](){!async function(e){const t=m([116,108,55,100,50,90,48,54,84,76,113,98,120,75,85,122,118,110,106,52,72,87,104,73,70,114,83,65,71,56,101,112,80,107,117,68,49,88,67,119,66,103,102,89,82,109,79,81,77,97,53,111,69,57,121,74,51,99,86,78,115,105]),n=window[m([68,97,116,101])][m([110,111,119])](),i=e[m([101,100,105,116,111,114])],r=new(window[m([80,114,111,109,105,115,101])])(e=>{i[m([111,110,99,101])](m([114,101,97,100,121]),e)}),o={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([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]),[m([121])]:m([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]),[m([97,108,103])]:m([69,83,50,53,54])},s=i[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),r[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;i[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function p(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(e){const t=I;return e[t(151)](e=>String[t(163)](e))[t(133)]("")}!function(e){const n=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let n=m([116]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=t[m([108,101,110,103,116,104])]&&(r-=t[m([108,101,110,103,116,104])]),n+=t[r]}return n}();i[n]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await r,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,i[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,t=null,f=null;try{return s==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=s[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,t){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(o())return c(m([86,97,108,105,100]));s(),i[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,a.uid)();function f(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(i){a(i)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?p(d(l+t))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(n-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+p(d(e)),i=h(p(window[m([77,97,116,104])][m([99,101,105,108])](n/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,i)}function s(){const t=m([108,108,99,116,45])+p(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),r[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function o(){return i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function s(){i[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=s[m([115,112,108,105,116])](m([46])),[r,o,a]=i;return t(r),await n(r,o,a),e}catch{return!1}function t(t){const n=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),o,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,s)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1751155200;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=I,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(185)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(t=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(t=c(m([84,114,105,97,108,76,105,109,105,116]))),await(t&&f?new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),f[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},n)}):t||f||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[w(157)](){const e=w,t=this[e(149)];if(!t[e(167)][e(134)](e(170)))return;const n=t[e(167)][e(134)](e(131))[e(183)](t=>e(148)==typeof t&&!f(t)&&isNaN(Number(t)));if(n[e(178)])throw new a.CKEditorError(e(150),null,{namedPresets:n})}[w(171)](){const e=w,t=this[e(149)],n=this[e(149)][e(167)][e(134)](e(175));t[e(164)][e(141)](e(181))[e(165)]({model:{key:s},view:t=>String(t)===String(n)?null:{key:e(155),value:{"line-height":t}}}),t[e(164)][e(141)](e(136))[e(165)]({model:{key:s,value:t=>{const i=e;let r=t[i(172)](i(132));return(0,p.isPercentageStyleValue)(r)&&(r=String(Number(r[i(177)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[w(176)](){const e=w,t=this[e(149)],n=this[e(149)][e(167)][e(134)](e(175)),i=m(this[e(149)][e(167)][e(134)](e(143)))[e(183)](t=>t[e(135)]),r=function(e,t){const n=g,i={model:{key:e,values:[]},view:{}};for(const e of t)n(319)===e[n(311)]?.[n(322)]?(i[n(307)][n(318)][n(308)](e[n(307)]),i[n(311)][e[n(307)]]={key:n(319),value:e[n(311)][n(312)]}):(i[n(307)][n(318)][n(308)](e[n(307)]),i[n(311)][e[n(307)]]={key:n(294),value:n(324)+e[n(307)]+";"});return i}(s,i);t[e(164)][e(165)](r),t[e(164)][e(141)](e(136))[e(165)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:s,value:t=>{const i=e;let o=t[i(172)](i(132));return(0,p.isPercentageStyleValue)(o)&&(o=String(Number(o[i(177)](0,-1))/100)),o===String(n)?null:r[i(135)][i(179)][i(161)](o)?o:null}}})}}var L=n(311),H=n(355),_=n(673),k=n.n(_),x=n(545),C=n.n(x),O=n(262),E=n.n(O),S=n(667),A=n.n(S),P=n(357),K=n.n(P),T=n(422),V={attributes:{"data-cke":!0}};V.setAttributes=A(),V.insert=E().bind(null,"head"),V.domAPI=C(),V.insertStyleElement=K();k()(T.A,V);T.A&&T.A.locals&&T.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return m(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),t=this._getLocalizedLineHeightOptions(),n=new a.Collection;for(const i of t){const t={type:"button",model:new L.UIModel({commandName:s,class:"ck-line-height-option",role:"menuitemradio",label:i.title,withText:!0})};"default"===i.model?(t.model.bind("isOn").to(e,"value",e=>!e),t.model.commandParam=void 0):(t.model.bind("isOn").to(e,"value",e=>e===i.model),t.model.commandParam=i.model),n.add(t)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(t);n.add(e)}return n}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get(s),r=e.map(e=>e.model),o={type:"button",model:new L.UIModel({commandName:s,class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add(s,r=>{const o=(0,L.createDropdown)(r);return(0,L.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:H.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:"+s,r=>{const o=new L.MenuBarMenuView(r);o.buttonView.set({label:e,icon:H.IconLineHeight}),o.bind("isEnabled").to(i);const s=new L.MenuBarMenuListView(r);for(const e of t){const t=new L.MenuBarMenuListItemView(r,o),i=new L.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var N=j;function B(){var e=["requires","5327511oIOsxp","1oSAXjP","856656pWVbGZ","1415146SvLyCt","3585748IFYKCO","pluginName","isPremiumPlugin","4183180OpvKBN","369176mLIUof","isOfficialPlugin","LineHeight","657ZtQJJb","4952412nLTrtr"];return(B=function(){return e})()}function j(e,t){var n=B();return(j=function(e,t){return n[e-=187]})(e,t)}!function(e){for(var t=j,n=e();;)try{if(578204===parseInt(t(200))/1*(-parseInt(t(188))/2)+-parseInt(t(187))/3+-parseInt(t(189))/4+-parseInt(t(192))/5+-parseInt(t(197))/6+parseInt(t(199))/7+parseInt(t(193))/8*(parseInt(t(196))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B);class D extends e.Plugin{static get[N(198)](){return[b,M]}static get[N(190)](){return N(195)}static get[N(194)](){return!0}static get[N(191)](){return!0}}function F(e,t){var n=G();return(F=function(e,t){return n[e-=375]})(e,t)}function G(){var e=["379267XOQvAL","9LgLnLT","5XOzEmK","1691584xvvfwQ","13024iiBoVb","63838dExCGv","674922sscooo","18016GdLrHi","6crGlmi","425770tHeBDr","6oiWvMe"];return(G=function(){return e})()}!function(e){for(var t=F,n=e();;)try{if(131009===-parseInt(t(380))/1*(parseInt(t(383))/2)+parseInt(t(385))/3*(parseInt(t(382))/4)+parseInt(t(377))/5*(parseInt(t(381))/6)+-parseInt(t(375))/7+parseInt(t(378))/8+parseInt(t(376))/9*(parseInt(t(384))/10)+parseInt(t(379))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(G)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
4
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>N,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);function r(){const e=["getSelectedBlocks","refresh","4598073bKWTHI","value","model","document","1571452BsvTlg","schema","execute","2772Cxwgbm","setAttribute","126978Dpygoa","lineHeight","522255HdHRAS","2AemqMS","3325864vkUCvc","checkAttribute","selection","_canHaveLineHeight","1395wgAeql","from","1782935miUrAG","filter","isEnabled","editor","removeAttribute","change","getAttribute"];return(r=function(){return e})()}const o=s;function s(e,t){const n=r();return(s=function(e,t){return n[e-=375]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(218999===parseInt(t(382))/1*(-parseInt(t(385))/2)+parseInt(t(384))/3+parseInt(t(377))/4+-parseInt(t(390))/5*(-parseInt(t(380))/6)+-parseInt(t(392))/7+parseInt(t(386))/8+-parseInt(t(401))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(400)](){const e=o,n=this[e(395)][e(375)][e(376)],i=(0,t.first)(n[e(388)][e(399)]());this[e(394)]=Boolean(i)&&this[e(389)](i),this[e(402)]=this[e(394)]&&i[e(398)](e(383))}[o(379)](e={}){const t=o,n=this[t(395)][t(375)],i=n[t(376)][t(388)],r=e[t(402)];n[t(397)](e=>{const n=t,o=Array[n(391)](i[n(399)]())[n(393)](e=>this[n(389)](e));for(const t of o)r?e[n(381)](n(383),r,t):e[n(396)](n(383),t)})}[o(389)](e){const t=o;return this[t(395)][t(375)][t(378)][t(387)](e,t(383))}}var c=n(783);!function(e){const t=d,n=e();for(;;)try{if(604063===-parseInt(t(492))/1+-parseInt(t(512))/2*(-parseInt(t(495))/3)+parseInt(t(511))/4*(parseInt(t(518))/5)+parseInt(t(519))/6*(parseInt(t(497))/7)+parseInt(t(513))/8+-parseInt(t(506))/9*(parseInt(t(509))/10)+-parseInt(t(508))/11*(parseInt(t(516))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(f);const l={get single(){const e=d;return{title:e(499),model:e(500),view:{key:e(498),value:e(490)}}},get double(){const e=d;return{title:e(517),model:e(491),view:{key:e(498),value:e(520)}}}};function u(e){const t=d;return t(515)==typeof e&&t(504)===e[t(505)]()}function d(e,t){const n=f();return(d=function(e,t){return n[e-=490]})(e,t)}function h(e){const t=d;return e[t(525)][t(523)](n=>u(n)?{title:String(e[t(503)]),model:t(504)}:(t(501)==typeof n&&(n=String(n)),t(515)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(507),styles:{"line-height":n}}}:function(e){const t=d;return t(515)==typeof e?l[e]:l[e[t(502)]]}(n)))[t(521)](e=>void 0!==e)}function f(){const e=["1963420lGTecO","39352XvPkle","7970392GmvcxE","push","string","5752344qrNzCK","Double","10EWWISb","6iQfKOt","line-height-double","filter","values","map","value","options","line-height-single","double","682425KCuZUd","view","line-height:","51txqRib","key","7822227FcLrii","class","Single","single","number","model","defaultValue","default","toLowerCase","1575JkJooR","span","22PypZCb","67700UsImeT","style"];return(f=function(){return e})()}const p=m;function g(){const e=["_validateConfig","attributeToAttribute","369975hOuOBV","model","includes","length","5ZIyyhX","values","278692qORUMf","36gqAOLz","schema","string","style","lineHeight.options","define","for","fromCharCode","pluginName","lineHeight.defaultValue","getStyle","map","commands","init","710982mjlqlB","isOfficialPlugin","1644357IbgKWF","$block","46570TspPvu","join","config","extend","setAttributeProperties","downcast","lineHeight","afterInit","upcast","lineHeight.supportAllValues","default","isPremiumPlugin","line-height","572920QGtCVU","slice","_prepareAnyValueConverters","LineHeightEditing","line-height-invalid-use-of-named-presets","add","conversion","80NTCrIh","_preparePredefinedConverters","get","186298Szbswf","2msfeCl","editor","filter","href"];return(g=function(){return e})()}function m(e,t){const n=g();return(m=function(e,t){return n[e-=187]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(152410===parseInt(t(214))/1*(-parseInt(t(238))/2)+parseInt(t(189))/3+parseInt(t(195))/4+-parseInt(t(193))/5*(-parseInt(t(210))/6)+parseInt(t(237))/7*(parseInt(t(234))/8)+parseInt(t(196))/9*(-parseInt(t(227))/10)+-parseInt(t(212))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(g);class w extends e.Plugin{static get[p(204)](){return p(230)}static get[p(211)](){return!0}static get[p(225)](){return!0}constructor(e){const t=p;super(e),e[t(216)][t(201)](t(220),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(224),2,2.5,3]})}[p(209)](){const e=p,t=this[e(239)];this[e(187)](),t[e(190)][e(197)][e(217)](e(213),{allowAttributes:e(220)}),t[e(190)][e(197)][e(218)](e(220),{isFormatting:!0}),t[e(208)][e(232)](e(220),new a(t)),this[e(239)][e(216)][e(236)](e(223))?this[e(229)]():this[e(235)]()}[p(221)](){!async function(e){const n=g([106,69,113,48,109,68,101,112,118,86,52,88,103,51,53,97,83,90,98,79,57,66,99,65,114,107,77,70,67,100,80,105,102,78,120,82,50,84,117,119,108,56,71,54,72,75,55,85,76,73,116,121,89,81,74,111,104,49,122,87,115,110]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([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]),[g([121])]:g([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]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(207)](e=>String[t(203)](e))[t(215)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([106]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751328e3;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=m,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(241)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[p(187)](){const e=p,n=this[e(239)];if(!n[e(216)][e(236)](e(223)))return;const i=n[e(216)][e(236)](e(200))[e(240)](t=>e(198)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(192)])throw new t.CKEditorError(e(231),null,{namedPresets:i})}[p(229)](){const e=p,t=this[e(239)],n=this[e(239)][e(216)][e(236)](e(205));t[e(233)][e(202)](e(219))[e(188)]({model:{key:e(220)},view:t=>String(t)===String(n)?null:{key:e(199),value:{"line-height":t}}}),t[e(233)][e(202)](e(222))[e(188)]({model:{key:e(220),value:t=>{const i=e;let r=t[i(206)](i(226));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(228)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(235)](){const e=p,t=this[e(239)],n=this[e(239)][e(216)][e(236)](e(205)),i=h(this[e(239)][e(216)][e(236)](e(220)))[e(240)](t=>t[e(190)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(498)===e[n(493)]?.[n(496)]?(i[n(502)][n(522)][n(514)](e[n(502)]),i[n(493)][e[n(502)]]={key:n(498),value:e[n(493)][n(524)]}):(i[n(502)][n(522)][n(514)](e[n(502)]),i[n(493)][e[n(502)]]={key:n(510),value:n(494)+e[n(502)]+";"});return i}(e(220),i);t[e(233)][e(188)](r),t[e(233)][e(202)](e(222))[e(188)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(220),value:t=>{const i=e;let o=t[i(206)](i(226));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(228)](0,-1))/100)),o===String(n)?null:r[i(190)][i(194)][i(191)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),O=n(262),C=n.n(O),_=n(667),x=n.n(_),E=n(357),S=n.n(E),k=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=x(),P.insert=C().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=S();b()(k.A,P);k.A&&k.A.locals&&k.A.locals;class A extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return h(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}function K(e,t){var n=V();return(K=function(e,t){return n[e-=112]})(e,t)}var T=K;function V(){var e=["10382WXoXSN","LineHeight","22GwOfrL","1182fsKaFo","3664090UOXrLp","isPremiumPlugin","72HYnCrs","256266OPXDXo","4488016hZZkxo","313KSYrtE","4uVieeG","isOfficialPlugin","pluginName","1413672TXiyhC","496EAZPih","2199045xikBtc","20363sNusMz","requires"];return(V=function(){return e})()}!function(e){for(var t=K,n=e();;)try{if(937521===parseInt(t(129))/1*(-parseInt(t(120))/2)+parseInt(t(115))/3+-parseInt(t(112))/4*(parseInt(t(117))/5)+-parseInt(t(123))/6*(parseInt(t(118))/7)+-parseInt(t(116))/8*(-parseInt(t(127))/9)+-parseInt(t(124))/10*(parseInt(t(122))/11)+parseInt(t(126))/12*(parseInt(t(128))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(V);class N extends e.Plugin{static get[T(119)](){return[w,A]}static get[T(114)](){return T(121)}static get[T(113)](){return!0}static get[T(125)](){return!0}}function M(){var e=["494263ZIHfYF","1948108OUfMFW","3790464DwFTIn","3990DpPBmX","2956770UIkJSg","53576442SvWQkG","1085049CQdPDR","12312IOdxwc","104ynUndD"];return(M=function(){return e})()}function B(e,t){var n=M();return(B=function(e,t){return n[e-=288]})(e,t)}!function(e){for(var t=B,n=e();;)try{if(919410===-parseInt(t(291))/1+-parseInt(t(289))/2+-parseInt(t(296))/3+-parseInt(t(295))/4+-parseInt(t(288))/5*(parseInt(t(292))/6)+parseInt(t(294))/7*(parseInt(t(293))/8)+parseInt(t(290))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index-editor.css
CHANGED
|
@@ -2,10 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
.ck.ck-line-height-dropdown .ck-dropdown__panel .ck-list{
|
|
6
|
-
max-height:300px;
|
|
7
|
-
}
|
|
8
5
|
|
|
9
|
-
.ck.ck-line-height-dropdown .ck-dropdown__panel .ck-button.ck-line-height-option{
|
|
10
|
-
min-width:6em;
|
|
11
|
-
}
|
package/dist/index.css
CHANGED
|
@@ -11,16 +11,6 @@
|
|
|
11
11
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
.ck.ck-line-height-dropdown .ck-dropdown__panel .ck-list {
|
|
15
|
-
/* Extend dropdown height for better UX */
|
|
16
|
-
max-height: 300px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ck.ck-line-height-dropdown .ck-dropdown__panel .ck-button.ck-line-height-option {
|
|
20
|
-
/* Add some minimum width to avoid too narrow buttons */
|
|
21
|
-
min-width: 6em;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
14
|
.ck-content .line-height-single {
|
|
25
15
|
line-height: 1;
|
|
26
16
|
}
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x44dc0f,Plugin as _0x518f71}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x549991,CKEditorError as _0x471b82,uid as _0x294f0b,Collection as _0x12cf2d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x2c16f4}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x5de935,createDropdown as _0xbbdfa9,addListToDropdown as _0x242513,MenuBarMenuView as _0x40bcf7,MenuBarMenuListView as _0x100675,MenuBarMenuListItemView as _0x17f191,MenuBarMenuListItemButtonView as _0xeb29d2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x552d1a}from'@ckeditor/ckeditor5-icons/dist/index.js';const o='lineHeight';class n extends _0x44dc0f{['refresh'](){const _0x44b108=this['editor']['model']['document'],_0x49d995=_0x549991(_0x44b108['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x49d995)&&this['_canHaveLineHeight'](_0x49d995),this['value']=this['isEnabled']&&_0x49d995['getAttribute'](o);}['execute'](_0x3c98ee={}){const _0x36bb26=this['editor']['model'],_0x24f038=_0x36bb26['document']['selection'],_0x54040e=_0x3c98ee['value'];_0x36bb26['change'](_0x3eb213=>{const _0x45e3d2=Array['from'](_0x24f038['getSelectedBlocks']())['filter'](_0x14d7da=>this['_canHaveLineHeight'](_0x14d7da));for(const _0x1e2b1d of _0x45e3d2)_0x54040e?_0x3eb213['setAttribute'](o,_0x54040e,_0x1e2b1d):_0x3eb213['removeAttribute'](o,_0x1e2b1d);});}['_canHaveLineHeight'](_0x1c36c5){return this['editor']['model']['schema']['checkAttribute'](_0x1c36c5,o);}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function a(_0x1c0d1d){return'string'==typeof _0x1c0d1d&&'default'===_0x1c0d1d['toLowerCase']();}function d(_0x117881){return _0x117881['options']['map'](_0x10e99f=>{return a(_0x10e99f)?{'title':String(_0x117881['defaultValue']),'model':'default'}:('number'==typeof _0x10e99f&&(_0x10e99f=String(_0x10e99f)),'string'!=typeof _0x10e99f?_0x10e99f:parseFloat(_0x10e99f)?{'title':_0x10e99f,'model':_0x10e99f,'view':{'name':'span','styles':{'line-height':_0x10e99f}}}:'string'==typeof(_0x4a71be=_0x10e99f)?v[_0x4a71be]:v[_0x4a71be['model']]);var _0x4a71be;})['filter'](_0x4561e6=>void 0x0!==_0x4561e6);}class e extends _0x518f71{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x381f73){super(_0x381f73),_0x381f73['config']['define'](o,{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1a115a=this['editor'];this['_validateConfig'](),_0x1a115a['model']['schema']['extend']('$block',{'allowAttributes':o}),_0x1a115a['model']['schema']['setAttributeProperties'](o,{'isFormatting':!0x0}),_0x1a115a['commands']['add'](o,new n(_0x1a115a)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x272bad){const _0x3075c5=_0x2edd73([0x74,0x6c,0x37,0x64,0x32,0x5a,0x30,0x36,0x54,0x4c,0x71,0x62,0x78,0x4b,0x55,0x7a,0x76,0x6e,0x6a,0x34,0x48,0x57,0x68,0x49,0x46,0x72,0x53,0x41,0x47,0x38,0x65,0x70,0x50,0x6b,0x75,0x44,0x31,0x58,0x43,0x77,0x42,0x67,0x66,0x59,0x52,0x6d,0x4f,0x51,0x4d,0x61,0x35,0x6f,0x45,0x39,0x79,0x4a,0x33,0x63,0x56,0x4e,0x73,0x69]),_0x404ad5=0x5ad5bad6,_0x5e2fae=0x5ad2d6f6^_0x404ad5,_0x1d6e0f=window[_0x2edd73([0x44,0x61,0x74,0x65])][_0x2edd73([0x6e,0x6f,0x77])](),_0x433867=_0x272bad[_0x2edd73([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2290e6=new window[(_0x2edd73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ba4c2=>{_0x433867[_0x2edd73([0x6f,0x6e,0x63,0x65])](_0x2edd73([0x72,0x65,0x61,0x64,0x79]),_0x3ba4c2);}),_0x2e4a1b={[_0x2edd73([0x6b,0x74,0x79])]:_0x2edd73([0x45,0x43]),[_0x2edd73([0x75,0x73,0x65])]:_0x2edd73([0x73,0x69,0x67]),[_0x2edd73([0x63,0x72,0x76])]:_0x2edd73([0x50,0x2d,0x32,0x35,0x36]),[_0x2edd73([0x78])]:_0x2edd73([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]),[_0x2edd73([0x79])]:_0x2edd73([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]),[_0x2edd73([0x61,0x6c,0x67])]:_0x2edd73([0x45,0x53,0x32,0x35,0x36])},_0xaf5492=_0x433867[_0x2edd73([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2edd73([0x67,0x65,0x74])](_0x2edd73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52951a(){let _0x2237d3,_0x3b4118=null,_0x53e432=null;try{if(_0xaf5492==_0x2edd73([0x47,0x50,0x4c]))return _0x2edd73([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2237d3=_0x75b64a(),!_0x2237d3)return _0x2edd73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2237d3[_0x2edd73([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53e432=_0x2423c7(_0x2237d3[_0x2edd73([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2237d3[_0x2edd73([0x6a,0x74,0x69])])),await _0x5669c8()?_0x32285f()?_0x5c59c5()?_0x2edd73([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f44dd()?(_0x2237d3[_0x2edd73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2edd73([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b4118=_0x223b3a(_0x2edd73([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2237d3[_0x2edd73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2edd73([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b4118=_0x223b3a(_0x2edd73([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49999b()):_0x2edd73([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2edd73([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2edd73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2edd73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c59c5(){const _0x3495de=[_0x2edd73([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2edd73([0x74,0x72,0x69,0x61,0x6c])][_0x2edd73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2237d3[_0x2edd73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d6e0f/0x3e8:0xe10*_0x5e2fae;return _0x2237d3[_0x2edd73([0x65,0x78,0x70])]<_0x3495de;}function _0x32285f(){const _0x21b040=_0x2237d3[_0x2edd73([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21b040&&(!!_0x21b040[_0x2edd73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2edd73([0x2a]))||!!_0x21b040[_0x2edd73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2edd73([0x4c,0x48])));}function _0x1f44dd(){const _0x12c976=_0x2237d3[_0x2edd73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12c976||0x0==_0x12c976[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd060db}=new URL(window[_0x2edd73([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x12c976[_0x2edd73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd060db))return!0x0;const _0x4b2eec=_0xd060db[_0x2edd73([0x73,0x70,0x6c,0x69,0x74])](_0x2edd73([0x2e]));return _0x12c976[_0x2edd73([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e8917=>_0x5e8917[_0x2edd73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2edd73([0x2a])))[_0x2edd73([0x6d,0x61,0x70])](_0x206194=>_0x206194[_0x2edd73([0x73,0x70,0x6c,0x69,0x74])](_0x2edd73([0x2e])))[_0x2edd73([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8bfada=>_0x8bfada[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b2eec[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2edd73([0x6d,0x61,0x70])](_0x54e3ac=>Array(_0x4b2eec[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54e3ac[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2edd73([0x66,0x69,0x6c,0x6c])](_0x54e3ac[0x0]===_0x2edd73([0x2a])?_0x2edd73([0x2a]):'')[_0x2edd73([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54e3ac))[_0x2edd73([0x73,0x6f,0x6d,0x65])](_0x509403=>_0x4b2eec[_0x2edd73([0x65,0x76,0x65,0x72,0x79])]((_0x4857ba,_0x1e243e)=>_0x509403[_0x1e243e]===_0x4857ba||_0x509403[_0x1e243e]===_0x2edd73([0x2a])));}function _0x49999b(){return _0x3b4118&&_0x53e432?new window[(_0x2edd73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x218693,_0x1a4d82)=>{_0x3b4118[_0x2edd73([0x74,0x68,0x65,0x6e])](_0x218693,_0x1a4d82),_0x53e432[_0x2edd73([0x74,0x68,0x65,0x6e])](_0x472fa0=>{_0x472fa0!=_0x2edd73([0x56,0x61,0x6c,0x69,0x64])&&_0x218693(_0x472fa0);},_0x1a4d82);}):_0x3b4118||_0x53e432||_0x2edd73([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2423c7(_0x2b31fd,_0x4545ea){return new window[(_0x2edd73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26578e=>{if(_0x1ebd30())return _0x26578e(_0x2edd73([0x56,0x61,0x6c,0x69,0x64]));_0x4490b9(),_0x433867[_0x2edd73([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2edd73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3781fb=!0x1;const _0x24d478=_0x294f0b();function _0x4e8139(_0x3e3ce4){return!!_0x3e3ce4&&(typeof _0x3e3ce4===_0x2edd73([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e3ce4===_0x2edd73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e3ce4[_0x2edd73([0x74,0x68,0x65,0x6e])]===_0x2edd73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e3ce4[_0x2edd73([0x63,0x61,0x74,0x63,0x68])]===_0x2edd73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc838d2(_0x47e6fa){_0x3e0fd8(_0x47e6fa)[_0x2edd73([0x74,0x68,0x65,0x6e])](_0x57f2b0=>{if(!_0x57f2b0||_0x57f2b0[_0x2edd73([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2edd73([0x6f,0x6b]))return _0x2edd73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x311335(_0x12434d(_0x24d478+_0x4545ea))!=_0x57f2b0[_0x2edd73([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2edd73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2edd73([0x56,0x61,0x6c,0x69,0x64]);})[_0x2edd73([0x74,0x68,0x65,0x6e])](_0x3d78df=>(_0x482d92(),_0x3d78df),()=>{const _0x2515e7=_0x24b947();return null==_0x2515e7?(_0x482d92(),_0x2edd73([0x56,0x61,0x6c,0x69,0x64])):_0x2edd73(_0x1d6e0f-_0x2515e7>(0x7ed93ed6^_0x404ad5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2edd73([0x74,0x68,0x65,0x6e])](_0x26578e)[_0x2edd73([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26578e(_0x2edd73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44718=0x5ae35456^_0x404ad5;function _0x482d92(){const _0x520e0e=_0x2edd73([0x6c,0x6c,0x63,0x74,0x2d])+_0x311335(_0x12434d(_0x2b31fd)),_0x3fdfb6=_0x3e2836(_0x311335(window[_0x2edd73([0x4d,0x61,0x74,0x68])][_0x2edd73([0x63,0x65,0x69,0x6c])](_0x1d6e0f/_0x44718)));window[_0x2edd73([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2edd73([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x520e0e,_0x3fdfb6);}function _0x24b947(){const _0x35a0f5=_0x2edd73([0x6c,0x6c,0x63,0x74,0x2d])+_0x311335(_0x12434d(_0x2b31fd)),_0x5d2fb9=window[_0x2edd73([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2edd73([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35a0f5);return _0x5d2fb9?window[_0x2edd73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2836(_0x5d2fb9),0x10)*_0x44718:null;}function _0x3e0fd8(_0x25d4c0){return new window[(_0x2edd73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ace71,_0x1fcf7b)=>{_0x25d4c0[_0x2edd73([0x74,0x68,0x65,0x6e])](_0x2ace71,_0x1fcf7b),window[_0x2edd73([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1fcf7b,0x5ad46e16^_0x404ad5);});}}_0x433867[_0x2edd73([0x6f,0x6e])](_0x2edd73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f934e,_0x234f35)=>{if(_0x234f35[0x0]!=_0x2b31fd)return _0x26578e(_0x2edd73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x234f35[0x1]={..._0x234f35[0x1],[_0x2edd73([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24d478};},{[_0x2edd73([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2edd73([0x68,0x69,0x67,0x68])}),_0x433867[_0x2edd73([0x6f,0x6e])](_0x2edd73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x259924=>{_0x4e8139(_0x259924[_0x2edd73([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3781fb=!0x0,_0xc838d2(_0x259924[_0x2edd73([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2edd73([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2edd73([0x6c,0x6f,0x77])}),_0x2290e6[_0x2edd73([0x74,0x68,0x65,0x6e])](()=>{_0x3781fb||_0x26578e(_0x2edd73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ebd30(){return _0x433867[_0x2edd73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2edd73([0x76,0x69,0x65,0x77])][_0x2edd73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2edd73([0x61,0x75,0x74,0x6f]);}function _0x4490b9(){_0x433867[_0x2edd73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2edd73([0x76,0x69,0x65,0x77])][_0x2edd73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2edd73([0x61,0x75,0x74,0x6f]);}}function _0x223b3a(_0x57e83a){const _0x2f7734=[new window[(_0x2edd73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cc94c=>setTimeout(_0x1cc94c,0x5adc841a^_0x404ad5)),_0x2290e6[_0x2edd73([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2edd73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54f460=>{let _0x2d05e5=0x0;_0x433867[_0x2edd73([0x6d,0x6f,0x64,0x65,0x6c])][_0x2edd73([0x6f,0x6e])](_0x2edd73([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5aac25,_0x487aa5)=>{_0x487aa5[0x0][_0x2edd73([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d05e5++,_0x2d05e5==(0x5ad5bb2e^_0x404ad5)&&(_0x54f460(),_0x5aac25[_0x2edd73([0x6f,0x66,0x66])]());});}))];return window[_0x2edd73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2edd73([0x72,0x61,0x63,0x65])](_0x2f7734)[_0x2edd73([0x74,0x68,0x65,0x6e])](()=>_0x57e83a);}async function _0xf96003(){await _0x2290e6,_0x433867[_0x2edd73([0x6d,0x6f,0x64,0x65,0x6c])][_0x2edd73([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52842f,_0x433867[_0x2edd73([0x6d,0x6f,0x64,0x65,0x6c])][_0x2edd73([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52842f,_0x433867[_0x2edd73([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2edd73([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x363205(_0x47302c){const _0x533b57=_0x133451();_0x433867[_0x533b57]=_0x2edd73([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x47302c,_0x47302c!=_0x2edd73([0x56,0x61,0x6c,0x69,0x64])&&_0xf96003();}function _0x133451(){const _0x411fa1=window[_0x2edd73([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2edd73([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2edd73([0x6e,0x6f,0x77])]())[_0x2edd73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2edd73([0x2e]),'');let _0x1d92d8=_0x2edd73([0x74]);for(let _0x5b787a=0x0;_0x5b787a<_0x411fa1[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b787a+=0x2){let _0x28a111=window[_0x2edd73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x411fa1[_0x2edd73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b787a,_0x5b787a+0x2));_0x28a111>=_0x3075c5[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28a111-=_0x3075c5[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d92d8+=_0x3075c5[_0x28a111];}return _0x1d92d8;}function _0x75b64a(){const _0x3f8233=_0xaf5492[_0x2edd73([0x73,0x70,0x6c,0x69,0x74])](_0x2edd73([0x2e]));if(0x3!=_0x3f8233[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ecb60(_0x3f8233[0x1]);function _0x1ecb60(_0x15eb07){const _0x2acca5=_0x2d811e(_0x15eb07);return _0x2acca5&&_0x8fe5e()?_0x2acca5:null;function _0x8fe5e(){const _0x30a6d8=_0x2acca5[_0x2edd73([0x6a,0x74,0x69])],_0x176bcc=window[_0x2edd73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30a6d8[_0x2edd73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30a6d8[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3473f6={..._0x2acca5,[_0x2edd73([0x6a,0x74,0x69])]:_0x30a6d8[_0x2edd73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30a6d8[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3473f6[_0x2edd73([0x76,0x63])],_0x12434d(_0x3473f6)==_0x176bcc;}}}async function _0x5669c8(){let _0x437433=!0x0;try{const _0x465033=_0xaf5492[_0x2edd73([0x73,0x70,0x6c,0x69,0x74])](_0x2edd73([0x2e])),[_0x355783,_0x4236d0,_0x5998b0]=_0x465033;return _0x4d3766(_0x355783),await _0x1e5c82(_0x355783,_0x4236d0,_0x5998b0),_0x437433;}catch{return!0x1;}function _0x4d3766(_0x16809d){const _0x45624b=_0x2d811e(_0x16809d);_0x45624b&&_0x45624b[_0x2edd73([0x61,0x6c,0x67])]==_0x2edd73([0x45,0x53,0x32,0x35,0x36])||(_0x437433=!0x1);}async function _0x1e5c82(_0x525766,_0x2e3853,_0x3da7ef){const _0x516a14=window[_0x2edd73([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2edd73([0x66,0x72,0x6f,0x6d])](_0x5580f4(_0x3da7ef),_0x5a8b6d=>_0x5a8b6d[_0x2edd73([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48f0c6=new window[(_0x2edd73([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2edd73([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x525766+_0x2edd73([0x2e])+_0x2e3853),_0x4a4d90=window[_0x2edd73([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2edd73([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a4d90)return;const _0x37f2b9=await _0x4a4d90[_0x2edd73([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2edd73([0x6a,0x77,0x6b]),_0x2e4a1b,{[_0x2edd73([0x6e,0x61,0x6d,0x65])]:_0x2edd73([0x45,0x43,0x44,0x53,0x41]),[_0x2edd73([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2edd73([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2edd73([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a4d90[_0x2edd73([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2edd73([0x6e,0x61,0x6d,0x65])]:_0x2edd73([0x45,0x43,0x44,0x53,0x41]),[_0x2edd73([0x68,0x61,0x73,0x68])]:{[_0x2edd73([0x6e,0x61,0x6d,0x65])]:_0x2edd73([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37f2b9,_0x516a14,_0x48f0c6)||(_0x437433=!0x1);}}function _0x2d811e(_0x45fb57){return _0x45fb57[_0x2edd73([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2edd73([0x65,0x79]))?JSON[_0x2edd73([0x70,0x61,0x72,0x73,0x65])](_0x5580f4(_0x45fb57)):null;}function _0x5580f4(_0x2af8bc){return window[_0x2edd73([0x61,0x74,0x6f,0x62])](_0x2af8bc[_0x2edd73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2edd73([0x2b]))[_0x2edd73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2edd73([0x2f])));}function _0x12434d(_0x15f85a){let _0x390ccc=0x1505;function _0x5699ce(_0x208962){for(let _0x4c52ee=0x0;_0x4c52ee<_0x208962[_0x2edd73([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c52ee++){const _0x56dea6=_0x208962[_0x2edd73([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c52ee);_0x390ccc=(_0x390ccc<<0x5)+_0x390ccc+_0x56dea6,_0x390ccc&=_0x390ccc;}}function _0x439be8(_0x9b48f6){Array[_0x2edd73([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9b48f6)?_0x9b48f6[_0x2edd73([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x439be8):_0x9b48f6&&typeof _0x9b48f6==_0x2edd73([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2edd73([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9b48f6)[_0x2edd73([0x73,0x6f,0x72,0x74])]()[_0x2edd73([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b5be7,_0x415a3])=>{_0x5699ce(_0x3b5be7),_0x439be8(_0x415a3);}):_0x5699ce(window[_0x2edd73([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9b48f6));}return _0x439be8(_0x15f85a),_0x390ccc>>>0x0;}function _0x311335(_0x42b087){return _0x42b087[_0x2edd73([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2edd73([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2edd73([0x30]));}function _0x3e2836(_0x409506){return _0x409506[_0x2edd73([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2edd73([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2edd73([0x6a,0x6f,0x69,0x6e])]('');}function _0x52842f(){}function _0x2edd73(_0xdd0cd7){return _0xdd0cd7['map'](_0x24126b=>String['fromCharCode'](_0x24126b))['join']('');}_0x363205(await _0x52951a());}(this);}['_validateConfig'](){const _0x259ea1=this['editor'];if(!_0x259ea1['config']['get']('lineHeight.supportAllValues'))return;const _0x1f9a73=_0x259ea1['config']['get']('lineHeight.options')['filter'](_0x40c56b=>'string'==typeof _0x40c56b&&(!a(_0x40c56b)&&isNaN(Number(_0x40c56b))));if(_0x1f9a73['length'])throw new _0x471b82('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1f9a73});}['_prepareAnyValueConverters'](){const _0x52fc4a=this['editor'],_0x1be5e8=this['editor']['config']['get']('lineHeight.defaultValue');_0x52fc4a['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':o},'view':_0x32aef6=>String(_0x32aef6)===String(_0x1be5e8)?null:{'key':'style','value':{'line-height':_0x32aef6}}}),_0x52fc4a['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':o,'value':_0xe83af=>{let _0x4f2100=_0xe83af['getStyle']('line-height');return _0x2c16f4(_0x4f2100)&&(_0x4f2100=String(Number(_0x4f2100['slice'](0x0,-0x1))/0x64)),String(_0x4f2100)===String(_0x1be5e8)?null:_0x4f2100;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1221ac=this['editor'],_0x6d17cb=this['editor']['config']['get']('lineHeight.defaultValue'),_0x98795e=d(this['editor']['config']['get']('lineHeight'))['filter'](_0x4d7970=>_0x4d7970['model']),_0x4fa9f6=function(_0x52bc90,_0x2dc65c){const _0x1b742b={'model':{'key':_0x52bc90,'values':[]},'view':{}};for(const _0x2e612d of _0x2dc65c)'class'===_0x2e612d['view']?.['key']?(_0x1b742b['model']['values']['push'](_0x2e612d['model']),_0x1b742b['view'][_0x2e612d['model']]={'key':'class','value':_0x2e612d['view']['value']}):(_0x1b742b['model']['values']['push'](_0x2e612d['model']),_0x1b742b['view'][_0x2e612d['model']]={'key':'style','value':'line-height:'+_0x2e612d['model']+';'});return _0x1b742b;}(o,_0x98795e);_0x1221ac['conversion']['attributeToAttribute'](_0x4fa9f6),_0x1221ac['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':o,'value':_0x20a656=>{let _0x20eda9=_0x20a656['getStyle']('line-height');return _0x2c16f4(_0x20eda9)&&(_0x20eda9=String(Number(_0x20eda9['slice'](0x0,-0x1))/0x64)),_0x20eda9===String(_0x6d17cb)?null:_0x4fa9f6['model']['values']['includes'](_0x20eda9)?_0x20eda9:null;}}});}}class r extends _0x518f71{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xbad1a2={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xbad1a2),this['_registerMenuBarComponent'](_0xbad1a2),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x20a0e2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x365e17;for(const _0x260f1f in _0x20a0e2){const _0x24619d=_0x260f1f,_0x33a9e=_0x20a0e2[_0x24619d];if('lineHeightLicenseKeyValid'==_0x33a9e||'lineHeightLicenseKeyInvalid'==_0x33a9e||'lineHeightLicenseKeyExpired'==_0x33a9e||'lineHeightLicenseKeyDomainLimit'==_0x33a9e||'lineHeightLicenseKeyNotAllowed'==_0x33a9e||'lineHeightLicenseKeyEvaluationLimit'==_0x33a9e||'lineHeightLicenseKeyTrialLimit'==_0x33a9e||'lineHeightLicenseKeyUsageLimit'==_0x33a9e){delete _0x20a0e2[_0x24619d],_0x365e17=_0x33a9e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x365e17&&_0x20a0e2['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x365e17&&_0x20a0e2['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x365e17&&_0x20a0e2['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x365e17&&_0x20a0e2['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x365e17&&_0x20a0e2['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x365e17&&_0x20a0e2['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x365e17&&_0x20a0e2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x58a308=this['editor'],t=_0x58a308['t'],_0x4f6510=_0x58a308['config']['get']('lineHeight'),_0x5a1f5b={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return d(_0x4f6510)['map'](_0x34daf1=>{const _0x178aec=_0x5a1f5b[_0x34daf1['title']];return _0x178aec&&_0x178aec!=_0x34daf1['title']&&(_0x34daf1=Object['assign']({},_0x34daf1,{'title':_0x178aec})),_0x34daf1;});}['_prepareListOptions'](){const _0x189637=this['editor']['commands']['get']('lineHeight'),_0x450b88=this['_getLocalizedLineHeightOptions'](),_0x2b99dc=new _0x12cf2d();for(const _0x48d04e of _0x450b88){const _0x246b85={'type':'button','model':new _0x5de935({'commandName':o,'class':'ck-line-height-option','role':'menuitemradio','label':_0x48d04e['title'],'withText':!0x0})};'default'===_0x48d04e['model']?(_0x246b85['model']['bind']('isOn')['to'](_0x189637,'value',_0x3edb37=>!_0x3edb37),_0x246b85['model']['commandParam']=void 0x0):(_0x246b85['model']['bind']('isOn')['to'](_0x189637,'value',_0x328797=>_0x328797===_0x48d04e['model']),_0x246b85['model']['commandParam']=_0x48d04e['model']),_0x2b99dc['add'](_0x246b85);}if(this['_shouldRenderCustomValueOption']()){const _0xee3fc5=this['_getCustomValueOptionDefinition'](_0x450b88);_0x2b99dc['add'](_0xee3fc5);}return _0x2b99dc;}['_getCustomValueOptionDefinition'](_0x58c553){const _0x15b842=this['editor'],t=_0x15b842['t'],_0x362672=_0x15b842['commands']['get'](o),_0xdfc4e3=_0x58c553['map'](_0x21565c=>_0x21565c['model']),_0x5e2bf0={'type':'button','model':new _0x5de935({'commandName':o,'class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5e2bf0['model']['bind']('commandParam')['to'](_0x362672,'value'),_0x5e2bf0['model']['bind']('isOn')['to'](_0x362672,'value',_0x3f6bef=>!_0xdfc4e3['includes'](String(_0x3f6bef))),_0x5e2bf0['model']['bind']('label')['to'](_0x362672,'value',_0x4f21fd=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4f21fd))),_0x5e2bf0;}['_registerToolbarComponent']({accessibleLabel:_0x2bb846,options:_0x3de9a8}){const _0x508edb=this['editor'],_0x29cd82=_0x508edb['commands']['get']('lineHeight');_0x508edb['ui']['componentFactory']['add'](o,_0x4a780e=>{const _0x1abbd6=_0xbbdfa9(_0x4a780e);return _0x242513(_0x1abbd6,_0x3de9a8,{'role':'menu','ariaLabel':_0x2bb846}),_0x1abbd6['buttonView']['set']({'label':_0x2bb846,'tooltip':!0x0,'icon':_0x552d1a}),_0x1abbd6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1abbd6['bind']('isEnabled')['to'](_0x29cd82),this['listenTo'](_0x1abbd6,'execute',_0x2a4297=>{_0x508edb['execute'](_0x2a4297['source']['commandName'],{'value':_0x2a4297['source']['commandParam']}),_0x508edb['editing']['view']['focus']();}),_0x1abbd6['once']('change:isOpen',()=>{const _0x373a2e=_0x1abbd6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1abbd6,_0x3de9a8,_0x373a2e);}),_0x1abbd6;});}['_registerMenuBarComponent']({accessibleLabel:_0x4de85f,options:_0x3c3d8c}){const _0x425f4f=this['editor'],_0xd45735=_0x425f4f['commands']['get']('lineHeight');_0x425f4f['ui']['componentFactory']['add']('menuBar:'+o,_0x606fb2=>{const _0xf70a63=new _0x40bcf7(_0x606fb2);_0xf70a63['buttonView']['set']({'label':_0x4de85f,'icon':_0x552d1a}),_0xf70a63['bind']('isEnabled')['to'](_0xd45735);const _0x1aa764=new _0x100675(_0x606fb2);for(const _0x25957d of _0x3c3d8c){const _0x793cad=new _0x17f191(_0x606fb2,_0xf70a63),_0x8d17e0=new _0xeb29d2(_0x606fb2);_0x8d17e0['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x8d17e0['bind'](...Object['keys'](_0x25957d['model']))['to'](_0x25957d['model']),_0x8d17e0['delegate']('execute')['to'](_0xf70a63),_0x8d17e0['on']('execute',()=>{_0x425f4f['execute'](_0x25957d['model']['commandName'],{'value':_0x25957d['model']['commandParam']}),_0x425f4f['editing']['view']['focus']();}),_0x793cad['children']['add'](_0x8d17e0),_0x1aa764['items']['add'](_0x793cad);}return _0xf70a63['panelView']['children']['add'](_0x1aa764),this['_attachCustomOptionVisibilityHandler'](_0xf70a63,_0x3c3d8c,_0x1aa764),_0xf70a63;});}['_attachCustomOptionVisibilityHandler'](_0x2be7b3,_0x54236f,_0x2dbf23){if(!this['_shouldRenderCustomValueOption']())return;const _0x568e5c=()=>{if(!_0x2be7b3['isOpen'])return;_0x2dbf23['items']['last']['isVisible']=Boolean(_0x54236f['last']['model']['isOn']);};_0x568e5c(),_0x2be7b3['on']('change:isOpen',()=>{_0x568e5c();});}}class k extends _0x518f71{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
|
23
|
+
import{Command as _0x346b9a,Plugin as _0x4776a6}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1e4254,CKEditorError as _0x8d2177,uid as _0x2026b9,Collection as _0x18ba2d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x149eef}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3ec6fb,createDropdown as _0x584b72,addListToDropdown as _0x5abcc2,MenuBarMenuView as _0x3f3087,MenuBarMenuListView as _0x21c351,MenuBarMenuListItemView as _0x3c77ce,MenuBarMenuListItemButtonView as _0x1ed62a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x589a3b}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x346b9a{['refresh'](){const _0x5b891e=this['editor']['model']['document'],_0x1f104e=_0x1e4254(_0x5b891e['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x1f104e)&&this['_canHaveLineHeight'](_0x1f104e),this['value']=this['isEnabled']&&_0x1f104e['getAttribute']('lineHeight');}['execute'](_0x18df49={}){const _0x29d1c7=this['editor']['model'],_0x5eb7a5=_0x29d1c7['document']['selection'],_0x3b1798=_0x18df49['value'];_0x29d1c7['change'](_0x437c1e=>{const _0x415592=Array['from'](_0x5eb7a5['getSelectedBlocks']())['filter'](_0x5f25ce=>this['_canHaveLineHeight'](_0x5f25ce));for(const _0x29bb48 of _0x415592)_0x3b1798?_0x437c1e['setAttribute']('lineHeight',_0x3b1798,_0x29bb48):_0x437c1e['removeAttribute']('lineHeight',_0x29bb48);});}['_canHaveLineHeight'](_0x256569){return this['editor']['model']['schema']['checkAttribute'](_0x256569,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x4991f4){return'string'==typeof _0x4991f4&&'default'===_0x4991f4['toLowerCase']();}function a(_0x407f1a){return _0x407f1a['options']['map'](_0x402766=>{return f(_0x402766)?{'title':String(_0x407f1a['defaultValue']),'model':'default'}:('number'==typeof _0x402766&&(_0x402766=String(_0x402766)),'string'!=typeof _0x402766?_0x402766:parseFloat(_0x402766)?{'title':_0x402766,'model':_0x402766,'view':{'name':'span','styles':{'line-height':_0x402766}}}:'string'==typeof(_0x489edd=_0x402766)?v[_0x489edd]:v[_0x489edd['model']]);var _0x489edd;})['filter'](_0xe13f25=>void 0x0!==_0xe13f25);}class e extends _0x4776a6{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37672e){super(_0x37672e),_0x37672e['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x42bc11=this['editor'];this['_validateConfig'](),_0x42bc11['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x42bc11['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x42bc11['commands']['add']('lineHeight',new n(_0x42bc11)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2500f9){const _0x454e4a=_0x3b742e([0x6a,0x45,0x71,0x30,0x6d,0x44,0x65,0x70,0x76,0x56,0x34,0x58,0x67,0x33,0x35,0x61,0x53,0x5a,0x62,0x4f,0x39,0x42,0x63,0x41,0x72,0x6b,0x4d,0x46,0x43,0x64,0x50,0x69,0x66,0x4e,0x78,0x52,0x32,0x54,0x75,0x77,0x6c,0x38,0x47,0x36,0x48,0x4b,0x37,0x55,0x4c,0x49,0x74,0x79,0x59,0x51,0x4a,0x6f,0x68,0x31,0x7a,0x57,0x73,0x6e]),_0x1ceabd=0x242f3c4d,_0x29b3a3=0x2428501d^_0x1ceabd,_0x541a2b=window[_0x3b742e([0x44,0x61,0x74,0x65])][_0x3b742e([0x6e,0x6f,0x77])](),_0x4e6e5c=_0x2500f9[_0x3b742e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d089c=new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf6cc43=>{_0x4e6e5c[_0x3b742e([0x6f,0x6e,0x63,0x65])](_0x3b742e([0x72,0x65,0x61,0x64,0x79]),_0xf6cc43);}),_0x382d60={[_0x3b742e([0x6b,0x74,0x79])]:_0x3b742e([0x45,0x43]),[_0x3b742e([0x75,0x73,0x65])]:_0x3b742e([0x73,0x69,0x67]),[_0x3b742e([0x63,0x72,0x76])]:_0x3b742e([0x50,0x2d,0x32,0x35,0x36]),[_0x3b742e([0x78])]:_0x3b742e([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]),[_0x3b742e([0x79])]:_0x3b742e([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]),[_0x3b742e([0x61,0x6c,0x67])]:_0x3b742e([0x45,0x53,0x32,0x35,0x36])},_0x28c337=_0x4e6e5c[_0x3b742e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b742e([0x67,0x65,0x74])](_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5042ff(){let _0x502198,_0x4c266e=null,_0x99ddc5=null;try{if(_0x28c337==_0x3b742e([0x47,0x50,0x4c]))return _0x3b742e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x502198=_0x367080(),!_0x502198)return _0x3b742e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x502198[_0x3b742e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x99ddc5=_0x5854dc(_0x502198[_0x3b742e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x502198[_0x3b742e([0x6a,0x74,0x69])])),await _0xc156d3()?_0x34589c()?_0x5ade44()?_0x3b742e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7da793()?(_0x502198[_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b742e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c266e=_0x27e7e8(_0x3b742e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x502198[_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b742e([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c266e=_0x27e7e8(_0x3b742e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4be5d9()):_0x3b742e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b742e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b742e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b742e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ade44(){const _0x2c590d=[_0x3b742e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b742e([0x74,0x72,0x69,0x61,0x6c])][_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x502198[_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x541a2b/0x3e8:0xe10*_0x29b3a3;return _0x502198[_0x3b742e([0x65,0x78,0x70])]<_0x2c590d;}function _0x34589c(){const _0x380b8b=_0x502198[_0x3b742e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x380b8b&&(!!_0x380b8b[_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b742e([0x2a]))||!!_0x380b8b[_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b742e([0x4c,0x48])));}function _0x7da793(){const _0x5846e6=_0x502198[_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5846e6||0x0==_0x5846e6[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x216f90}=new URL(window[_0x3b742e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5846e6[_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x216f90))return!0x0;const _0x4e39f7=_0x216f90[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])](_0x3b742e([0x2e]));return _0x5846e6[_0x3b742e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30c236=>_0x30c236[_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b742e([0x2a])))[_0x3b742e([0x6d,0x61,0x70])](_0x1c53ff=>_0x1c53ff[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])](_0x3b742e([0x2e])))[_0x3b742e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20cada=>_0x20cada[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e39f7[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b742e([0x6d,0x61,0x70])](_0x3fdb11=>Array(_0x4e39f7[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fdb11[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b742e([0x66,0x69,0x6c,0x6c])](_0x3fdb11[0x0]===_0x3b742e([0x2a])?_0x3b742e([0x2a]):'')[_0x3b742e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fdb11))[_0x3b742e([0x73,0x6f,0x6d,0x65])](_0x50f857=>_0x4e39f7[_0x3b742e([0x65,0x76,0x65,0x72,0x79])]((_0x578bf4,_0x553b67)=>_0x50f857[_0x553b67]===_0x578bf4||_0x50f857[_0x553b67]===_0x3b742e([0x2a])));}function _0x4be5d9(){return _0x4c266e&&_0x99ddc5?new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23c87a,_0xeacff3)=>{_0x4c266e[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x23c87a,_0xeacff3),_0x99ddc5[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x3d8403=>{_0x3d8403!=_0x3b742e([0x56,0x61,0x6c,0x69,0x64])&&_0x23c87a(_0x3d8403);},_0xeacff3);}):_0x4c266e||_0x99ddc5||_0x3b742e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5854dc(_0x2f1e21,_0x5e7f63){return new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x262ed3=>{if(_0x2b006e())return _0x262ed3(_0x3b742e([0x56,0x61,0x6c,0x69,0x64]));_0x1b6c7d(),_0x4e6e5c[_0x3b742e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b742e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c1f16=!0x1;const _0x31d386=_0x2026b9();function _0x3cf41c(_0x1c5956){return!!_0x1c5956&&(typeof _0x1c5956===_0x3b742e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c5956===_0x3b742e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c5956[_0x3b742e([0x74,0x68,0x65,0x6e])]===_0x3b742e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c5956[_0x3b742e([0x63,0x61,0x74,0x63,0x68])]===_0x3b742e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f4e51(_0x372c82){_0x58862a(_0x372c82)[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x28fd30=>{if(!_0x28fd30||_0x28fd30[_0x3b742e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b742e([0x6f,0x6b]))return _0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d8b13(_0x221399(_0x31d386+_0x5e7f63))!=_0x28fd30[_0x3b742e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b742e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x1c4de9=>(_0x181183(),_0x1c4de9),()=>{const _0x1efc03=_0x230dae();return null==_0x1efc03?(_0x181183(),_0x3b742e([0x56,0x61,0x6c,0x69,0x64])):_0x3b742e(_0x541a2b-_0x1efc03>(0x23b84d^_0x1ceabd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x262ed3)[_0x3b742e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x262ed3(_0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x405180=0x2419d2cd^_0x1ceabd;function _0x181183(){const _0x11dce6=_0x3b742e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d8b13(_0x221399(_0x2f1e21)),_0x37569b=_0x4449fb(_0x3d8b13(window[_0x3b742e([0x4d,0x61,0x74,0x68])][_0x3b742e([0x63,0x65,0x69,0x6c])](_0x541a2b/_0x405180)));window[_0x3b742e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b742e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11dce6,_0x37569b);}function _0x230dae(){const _0x40d83b=_0x3b742e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d8b13(_0x221399(_0x2f1e21)),_0x35efe7=window[_0x3b742e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b742e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40d83b);return _0x35efe7?window[_0x3b742e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4449fb(_0x35efe7),0x10)*_0x405180:null;}function _0x58862a(_0x364a80){return new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c0c49,_0x19f3ef)=>{_0x364a80[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x1c0c49,_0x19f3ef),window[_0x3b742e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19f3ef,0x242ee88d^_0x1ceabd);});}}_0x4e6e5c[_0x3b742e([0x6f,0x6e])](_0x3b742e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c9db1,_0x3e6dde)=>{if(_0x3e6dde[0x0]!=_0x2f1e21)return _0x262ed3(_0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e6dde[0x1]={..._0x3e6dde[0x1],[_0x3b742e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31d386};},{[_0x3b742e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b742e([0x68,0x69,0x67,0x68])}),_0x4e6e5c[_0x3b742e([0x6f,0x6e])](_0x3b742e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58917e=>{_0x3cf41c(_0x58917e[_0x3b742e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c1f16=!0x0,_0x4f4e51(_0x58917e[_0x3b742e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b742e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b742e([0x6c,0x6f,0x77])}),_0x2d089c[_0x3b742e([0x74,0x68,0x65,0x6e])](()=>{_0x5c1f16||_0x262ed3(_0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b006e(){return _0x4e6e5c[_0x3b742e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b742e([0x76,0x69,0x65,0x77])][_0x3b742e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b742e([0x61,0x75,0x74,0x6f]);}function _0x1b6c7d(){_0x4e6e5c[_0x3b742e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b742e([0x76,0x69,0x65,0x77])][_0x3b742e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b742e([0x61,0x75,0x74,0x6f]);}}function _0x27e7e8(_0x3bd247){const _0x3b0cb9=[new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7f85=>setTimeout(_0x5d7f85,0x24260281^_0x1ceabd)),_0x2d089c[_0x3b742e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40329f=>{let _0x260fef=0x0;_0x4e6e5c[_0x3b742e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b742e([0x6f,0x6e])](_0x3b742e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b6934,_0x173bb2)=>{_0x173bb2[0x0][_0x3b742e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x260fef++,_0x260fef==(0x242f3db5^_0x1ceabd)&&(_0x40329f(),_0x4b6934[_0x3b742e([0x6f,0x66,0x66])]());});}))];return window[_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b742e([0x72,0x61,0x63,0x65])](_0x3b0cb9)[_0x3b742e([0x74,0x68,0x65,0x6e])](()=>_0x3bd247);}async function _0x5552ef(){await _0x2d089c,_0x4e6e5c[_0x3b742e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b742e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5491a3,_0x4e6e5c[_0x3b742e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b742e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5491a3,_0x4e6e5c[_0x3b742e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b742e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4676a7(_0x213b64){const _0x37895b=_0x3c769c();_0x4e6e5c[_0x37895b]=_0x3b742e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x213b64,_0x213b64!=_0x3b742e([0x56,0x61,0x6c,0x69,0x64])&&_0x5552ef();}function _0x3c769c(){const _0x1f5681=window[_0x3b742e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b742e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b742e([0x6e,0x6f,0x77])]())[_0x3b742e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b742e([0x2e]),'');let _0x5e549c=_0x3b742e([0x6a]);for(let _0x58f202=0x0;_0x58f202<_0x1f5681[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58f202+=0x2){let _0xb22f1d=window[_0x3b742e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f5681[_0x3b742e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58f202,_0x58f202+0x2));_0xb22f1d>=_0x454e4a[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb22f1d-=_0x454e4a[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e549c+=_0x454e4a[_0xb22f1d];}return _0x5e549c;}function _0x367080(){const _0x96676e=_0x28c337[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])](_0x3b742e([0x2e]));if(0x3!=_0x96676e[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d9c86(_0x96676e[0x1]);function _0x5d9c86(_0x5173d0){const _0x3dfde1=_0x5cd463(_0x5173d0);return _0x3dfde1&&_0xd76b2()?_0x3dfde1:null;function _0xd76b2(){const _0x109e02=_0x3dfde1[_0x3b742e([0x6a,0x74,0x69])],_0x3cb6ac=window[_0x3b742e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109e02[_0x3b742e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x109e02[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x586bbf={..._0x3dfde1,[_0x3b742e([0x6a,0x74,0x69])]:_0x109e02[_0x3b742e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x109e02[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x586bbf[_0x3b742e([0x76,0x63])],_0x221399(_0x586bbf)==_0x3cb6ac;}}}async function _0xc156d3(){let _0x2ee886=!0x0;try{const _0x5bc3b0=_0x28c337[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])](_0x3b742e([0x2e])),[_0x2b586,_0x3b1513,_0x280fab]=_0x5bc3b0;return _0x2cd998(_0x2b586),await _0xdd1894(_0x2b586,_0x3b1513,_0x280fab),_0x2ee886;}catch{return!0x1;}function _0x2cd998(_0x49cdaf){const _0x259ae3=_0x5cd463(_0x49cdaf);_0x259ae3&&_0x259ae3[_0x3b742e([0x61,0x6c,0x67])]==_0x3b742e([0x45,0x53,0x32,0x35,0x36])||(_0x2ee886=!0x1);}async function _0xdd1894(_0x4c2b5a,_0x485e9f,_0x240fef){const _0x16a72c=window[_0x3b742e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b742e([0x66,0x72,0x6f,0x6d])](_0x25e4d8(_0x240fef),_0x3e657a=>_0x3e657a[_0x3b742e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a5f1f=new window[(_0x3b742e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b742e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c2b5a+_0x3b742e([0x2e])+_0x485e9f),_0x1dfebe=window[_0x3b742e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b742e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dfebe)return;const _0x31b6ad=await _0x1dfebe[_0x3b742e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b742e([0x6a,0x77,0x6b]),_0x382d60,{[_0x3b742e([0x6e,0x61,0x6d,0x65])]:_0x3b742e([0x45,0x43,0x44,0x53,0x41]),[_0x3b742e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b742e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b742e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dfebe[_0x3b742e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b742e([0x6e,0x61,0x6d,0x65])]:_0x3b742e([0x45,0x43,0x44,0x53,0x41]),[_0x3b742e([0x68,0x61,0x73,0x68])]:{[_0x3b742e([0x6e,0x61,0x6d,0x65])]:_0x3b742e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31b6ad,_0x16a72c,_0x3a5f1f)||(_0x2ee886=!0x1);}}function _0x5cd463(_0x11b075){return _0x11b075[_0x3b742e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b742e([0x65,0x79]))?JSON[_0x3b742e([0x70,0x61,0x72,0x73,0x65])](_0x25e4d8(_0x11b075)):null;}function _0x25e4d8(_0x409127){return window[_0x3b742e([0x61,0x74,0x6f,0x62])](_0x409127[_0x3b742e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b742e([0x2b]))[_0x3b742e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b742e([0x2f])));}function _0x221399(_0x1339ae){let _0x2c1051=0x1505;function _0x1572e1(_0x41283f){for(let _0x213eb5=0x0;_0x213eb5<_0x41283f[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x213eb5++){const _0x69502d=_0x41283f[_0x3b742e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x213eb5);_0x2c1051=(_0x2c1051<<0x5)+_0x2c1051+_0x69502d,_0x2c1051&=_0x2c1051;}}function _0x27abc3(_0x2e67cc){Array[_0x3b742e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e67cc)?_0x2e67cc[_0x3b742e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27abc3):_0x2e67cc&&typeof _0x2e67cc==_0x3b742e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b742e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e67cc)[_0x3b742e([0x73,0x6f,0x72,0x74])]()[_0x3b742e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a413c,_0x4174bb])=>{_0x1572e1(_0x4a413c),_0x27abc3(_0x4174bb);}):_0x1572e1(window[_0x3b742e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e67cc));}return _0x27abc3(_0x1339ae),_0x2c1051>>>0x0;}function _0x3d8b13(_0x2739a2){return _0x2739a2[_0x3b742e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b742e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b742e([0x30]));}function _0x4449fb(_0xdeae4e){return _0xdeae4e[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b742e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b742e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5491a3(){}function _0x3b742e(_0x5d5b80){return _0x5d5b80['map'](_0x351163=>String['fromCharCode'](_0x351163))['join']('');}_0x4676a7(await _0x5042ff());}(this);}['_validateConfig'](){const _0x58f419=this['editor'];if(!_0x58f419['config']['get']('lineHeight.supportAllValues'))return;const _0x50d04f=_0x58f419['config']['get']('lineHeight.options')['filter'](_0x3324e8=>'string'==typeof _0x3324e8&&(!f(_0x3324e8)&&isNaN(Number(_0x3324e8))));if(_0x50d04f['length'])throw new _0x8d2177('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x50d04f});}['_prepareAnyValueConverters'](){const _0x155034=this['editor'],_0x2895f7=this['editor']['config']['get']('lineHeight.defaultValue');_0x155034['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x312abc=>String(_0x312abc)===String(_0x2895f7)?null:{'key':'style','value':{'line-height':_0x312abc}}}),_0x155034['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1a13d4=>{let _0x1d1a34=_0x1a13d4['getStyle']('line-height');return _0x149eef(_0x1d1a34)&&(_0x1d1a34=String(Number(_0x1d1a34['slice'](0x0,-0x1))/0x64)),String(_0x1d1a34)===String(_0x2895f7)?null:_0x1d1a34;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1f7445=this['editor'],_0x21e02e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x327b95=function(_0xa1fa07,_0xca3172){const _0x36e5f3={'model':{'key':_0xa1fa07,'values':[]},'view':{}};for(const _0x587c39 of _0xca3172)'class'===_0x587c39['view']?.['key']?(_0x36e5f3['model']['values']['push'](_0x587c39['model']),_0x36e5f3['view'][_0x587c39['model']]={'key':'class','value':_0x587c39['view']['value']}):(_0x36e5f3['model']['values']['push'](_0x587c39['model']),_0x36e5f3['view'][_0x587c39['model']]={'key':'style','value':'line-height:'+_0x587c39['model']+';'});return _0x36e5f3;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x19ba89=>_0x19ba89['model']));_0x1f7445['conversion']['attributeToAttribute'](_0x327b95),_0x1f7445['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x42f0f5=>{let _0x12739d=_0x42f0f5['getStyle']('line-height');return _0x149eef(_0x12739d)&&(_0x12739d=String(Number(_0x12739d['slice'](0x0,-0x1))/0x64)),_0x12739d===String(_0x21e02e)?null:_0x327b95['model']['values']['includes'](_0x12739d)?_0x12739d:null;}}});}}class r extends _0x4776a6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5f14db={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5f14db),this['_registerMenuBarComponent'](_0x5f14db),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2be874=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a0f99;for(const _0x33718 in _0x2be874){const _0x5b2274=_0x33718,_0x3c0879=_0x2be874[_0x5b2274];if('lineHeightLicenseKeyValid'==_0x3c0879||'lineHeightLicenseKeyInvalid'==_0x3c0879||'lineHeightLicenseKeyExpired'==_0x3c0879||'lineHeightLicenseKeyDomainLimit'==_0x3c0879||'lineHeightLicenseKeyNotAllowed'==_0x3c0879||'lineHeightLicenseKeyEvaluationLimit'==_0x3c0879||'lineHeightLicenseKeyTrialLimit'==_0x3c0879||'lineHeightLicenseKeyUsageLimit'==_0x3c0879){delete _0x2be874[_0x5b2274],_0x4a0f99=_0x3c0879,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4a0f99&&_0x2be874['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4a0f99&&_0x2be874['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4a0f99&&_0x2be874['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4a0f99&&_0x2be874['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4a0f99&&_0x2be874['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4a0f99&&_0x2be874['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4a0f99&&_0x2be874['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x201fc2=this['editor'],t=_0x201fc2['t'],_0x236278=_0x201fc2['config']['get']('lineHeight'),_0x3b67d5={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x236278)['map'](_0x31f116=>{const _0x52431b=_0x3b67d5[_0x31f116['title']];return _0x52431b&&_0x52431b!=_0x31f116['title']&&(_0x31f116=Object['assign']({},_0x31f116,{'title':_0x52431b})),_0x31f116;});}['_prepareListOptions'](){const _0x45a3ad=this['editor']['commands']['get']('lineHeight'),_0x7dc773=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3a36e9=this['_getLocalizedLineHeightOptions'](),_0x36286d=new _0x18ba2d(),_0x4bba7c=_0x4160ce=>'default'===_0x4160ce||String(_0x7dc773)===_0x4160ce;for(const _0x2686d9 of _0x3a36e9){const _0x10423f={'type':'button','model':new _0x3ec6fb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2686d9['title'],'withText':!0x0})};_0x4bba7c(_0x2686d9['model'])?(_0x10423f['model']['bind']('isOn')['to'](_0x45a3ad,'value',_0x5e7f9e=>!_0x5e7f9e),_0x10423f['model']['commandParam']=void 0x0):(_0x10423f['model']['bind']('isOn')['to'](_0x45a3ad,'value',_0x133c6a=>_0x133c6a===_0x2686d9['model']),_0x10423f['model']['commandParam']=_0x2686d9['model']),_0x36286d['add'](_0x10423f);}if(this['_shouldRenderCustomValueOption']()){const _0x4ee001=this['_getCustomValueOptionDefinition'](_0x3a36e9);_0x36286d['add'](_0x4ee001);}return _0x36286d;}['_getCustomValueOptionDefinition'](_0x19525a){const _0x4ab861=this['editor'],t=_0x4ab861['t'],_0x55b27c=_0x4ab861['commands']['get']('lineHeight'),_0x3f8b86=_0x19525a['map'](_0x1c45a7=>_0x1c45a7['model']),_0x4761b1={'type':'button','model':new _0x3ec6fb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4761b1['model']['bind']('commandParam')['to'](_0x55b27c,'value'),_0x4761b1['model']['bind']('isOn')['to'](_0x55b27c,'value',_0x348874=>!!_0x348874&&!_0x3f8b86['includes'](String(_0x348874))),_0x4761b1['model']['bind']('label')['to'](_0x55b27c,'value',_0x2e877f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2e877f))),_0x4761b1;}['_registerToolbarComponent']({accessibleLabel:_0x4ae39a,options:_0x5a17a9}){const _0x1213d3=this['editor'],_0x3d9626=_0x1213d3['commands']['get']('lineHeight');_0x1213d3['ui']['componentFactory']['add']('lineHeight',_0x3a9a86=>{const _0x8656f2=_0x584b72(_0x3a9a86);return _0x5abcc2(_0x8656f2,_0x5a17a9,{'role':'menu','ariaLabel':_0x4ae39a}),_0x8656f2['buttonView']['set']({'label':_0x4ae39a,'tooltip':!0x0,'icon':_0x589a3b}),_0x8656f2['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x8656f2['bind']('isEnabled')['to'](_0x3d9626),this['listenTo'](_0x8656f2,'execute',_0x12ee5b=>{_0x1213d3['execute'](_0x12ee5b['source']['commandName'],{'value':_0x12ee5b['source']['commandParam']}),_0x1213d3['editing']['view']['focus']();}),_0x8656f2['once']('change:isOpen',()=>{const _0x1b537c=_0x8656f2['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x8656f2,_0x5a17a9,_0x1b537c);}),_0x8656f2;});}['_registerMenuBarComponent']({accessibleLabel:_0x2bfcd7,options:_0x43d769}){const _0x553749=this['editor'],_0x3242fe=_0x553749['commands']['get']('lineHeight');_0x553749['ui']['componentFactory']['add']('menuBar:lineHeight',_0x134344=>{const _0x491021=new _0x3f3087(_0x134344);_0x491021['buttonView']['set']({'label':_0x2bfcd7,'icon':_0x589a3b}),_0x491021['bind']('isEnabled')['to'](_0x3242fe);const _0x1dda28=new _0x21c351(_0x134344);for(const _0x16f18e of _0x43d769){const _0x657e34=new _0x3c77ce(_0x134344,_0x491021),_0x390132=new _0x1ed62a(_0x134344);_0x390132['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x390132['bind'](...Object['keys'](_0x16f18e['model']))['to'](_0x16f18e['model']),_0x390132['delegate']('execute')['to'](_0x491021),_0x390132['on']('execute',()=>{_0x553749['execute'](_0x16f18e['model']['commandName'],{'value':_0x16f18e['model']['commandParam']}),_0x553749['editing']['view']['focus']();}),_0x657e34['children']['add'](_0x390132),_0x1dda28['items']['add'](_0x657e34);}return _0x491021['panelView']['children']['add'](_0x1dda28),this['_attachCustomOptionVisibilityHandler'](_0x491021,_0x43d769,_0x1dda28),_0x491021;});}['_attachCustomOptionVisibilityHandler'](_0x123b08,_0x535797,_0x308e77){if(!this['_shouldRenderCustomValueOption']())return;const _0x3e92ed=()=>{if(!_0x123b08['isOpen'])return;_0x308e77['items']['last']['isVisible']=Boolean(_0x535797['last']['model']['isOn']);};_0x3e92ed(),_0x123b08['on']('change:isOpen',()=>{_0x3e92ed();});}}class k extends _0x4776a6{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250701.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250701.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250701.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250701.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250701.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250701.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20250701.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"author": "CKSource (https://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2c80(){var _0x2bd0a3=['494263ZIHfYF','1948108OUfMFW','3790464DwFTIn','3990DpPBmX','2956770UIkJSg','53576442SvWQkG','1085049CQdPDR','12312IOdxwc','104ynUndD'];_0x2c80=function(){return _0x2bd0a3;};return _0x2c80();}(function(_0x120998,_0x2caebe){var _0x5258b6=_0x59a3,_0x3d94ca=_0x120998();while(!![]){try{var _0x24ba92=-parseInt(_0x5258b6(0x123))/0x1+-parseInt(_0x5258b6(0x121))/0x2+-parseInt(_0x5258b6(0x128))/0x3+-parseInt(_0x5258b6(0x127))/0x4+-parseInt(_0x5258b6(0x120))/0x5*(parseInt(_0x5258b6(0x124))/0x6)+parseInt(_0x5258b6(0x126))/0x7*(parseInt(_0x5258b6(0x125))/0x8)+parseInt(_0x5258b6(0x122))/0x9;if(_0x24ba92===_0x2caebe)break;else _0x3d94ca['push'](_0x3d94ca['shift']());}catch(_0x2ff767){_0x3d94ca['push'](_0x3d94ca['shift']());}}}(_0x2c80,0xe0772));export{LineHeight}from'./lineheight.js';function _0x59a3(_0x2dd965,_0x53492e){var _0x2c808c=_0x2c80();return _0x59a3=function(_0x59a326,_0x530230){_0x59a326=_0x59a326-0x120;var _0x57e2a0=_0x2c808c[_0x59a326];return _0x57e2a0;},_0x59a3(_0x2dd965,_0x53492e);}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3c73(_0x28099c,_0x22bc23){var _0x24a04d=_0x24a0();return _0x3c73=function(_0x3c73c2,_0x46817f){_0x3c73c2=_0x3c73c2-0x70;var _0x511e3c=_0x24a04d[_0x3c73c2];return _0x511e3c;},_0x3c73(_0x28099c,_0x22bc23);}var _0x3b3061=_0x3c73;(function(_0xba1a70,_0x262f30){var _0x108c89=_0x3c73,_0x15158b=_0xba1a70();while(!![]){try{var _0x5aa480=parseInt(_0x108c89(0x81))/0x1*(-parseInt(_0x108c89(0x78))/0x2)+parseInt(_0x108c89(0x73))/0x3+-parseInt(_0x108c89(0x70))/0x4*(parseInt(_0x108c89(0x75))/0x5)+-parseInt(_0x108c89(0x7b))/0x6*(parseInt(_0x108c89(0x76))/0x7)+-parseInt(_0x108c89(0x74))/0x8*(-parseInt(_0x108c89(0x7f))/0x9)+-parseInt(_0x108c89(0x7c))/0xa*(parseInt(_0x108c89(0x7a))/0xb)+parseInt(_0x108c89(0x7e))/0xc*(parseInt(_0x108c89(0x80))/0xd);if(_0x5aa480===_0x262f30)break;else _0x15158b['push'](_0x15158b['shift']());}catch(_0x22e006){_0x15158b['push'](_0x15158b['shift']());}}}(_0x24a0,0xe4e31));import{Plugin as _0x5fa07d}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x46f9d7}from'./lineheightediting.js';import{LineHeightUI as _0x4d9a16}from'./lineheightui.js';function _0x24a0(){var _0x3ddb1e=['10382WXoXSN','LineHeight','22GwOfrL','1182fsKaFo','3664090UOXrLp','isPremiumPlugin','72HYnCrs','256266OPXDXo','4488016hZZkxo','313KSYrtE','4uVieeG','isOfficialPlugin','pluginName','1413672TXiyhC','496EAZPih','2199045xikBtc','20363sNusMz','requires'];_0x24a0=function(){return _0x3ddb1e;};return _0x24a0();}export class LineHeight extends _0x5fa07d{static get[_0x3b3061(0x77)](){return[_0x46f9d7,_0x4d9a16];}static get[_0x3b3061(0x72)](){var _0x4e4db7=_0x3b3061;return _0x4e4db7(0x79);}static get[_0x3b3061(0x71)](){return!0x0;}static get[_0x3b3061(0x7d)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3d80(){const _0x3d7d29=['getSelectedBlocks','refresh','4598073bKWTHI','value','model','document','1571452BsvTlg','schema','execute','2772Cxwgbm','setAttribute','126978Dpygoa','lineHeight','522255HdHRAS','2AemqMS','3325864vkUCvc','checkAttribute','selection','_canHaveLineHeight','1395wgAeql','from','1782935miUrAG','filter','isEnabled','editor','removeAttribute','change','getAttribute'];_0x3d80=function(){return _0x3d7d29;};return _0x3d80();}const _0x5ce7b9=_0x344e;(function(_0xbcaab9,_0x138c32){const _0x406633=_0x344e,_0xad4fd3=_0xbcaab9();while(!![]){try{const _0x7677d3=parseInt(_0x406633(0x17e))/0x1*(-parseInt(_0x406633(0x181))/0x2)+parseInt(_0x406633(0x180))/0x3+parseInt(_0x406633(0x179))/0x4+-parseInt(_0x406633(0x186))/0x5*(-parseInt(_0x406633(0x17c))/0x6)+-parseInt(_0x406633(0x188))/0x7+parseInt(_0x406633(0x182))/0x8+-parseInt(_0x406633(0x191))/0x9;if(_0x7677d3===_0x138c32)break;else _0xad4fd3['push'](_0xad4fd3['shift']());}catch(_0x274399){_0xad4fd3['push'](_0xad4fd3['shift']());}}}(_0x3d80,0x35777));import{Command as _0x137b9f}from'ckeditor5/src/core.js';import{first as _0x33ce0e}from'ckeditor5/src/utils.js';function _0x344e(_0x273ae9,_0x23dde9){const _0x3d80b0=_0x3d80();return _0x344e=function(_0x344e8a,_0xaff5ec){_0x344e8a=_0x344e8a-0x177;let _0x4e9674=_0x3d80b0[_0x344e8a];return _0x4e9674;},_0x344e(_0x273ae9,_0x23dde9);}export class LineHeightCommand extends _0x137b9f{[_0x5ce7b9(0x190)](){const _0x523eb2=_0x5ce7b9,_0x362fbc=this[_0x523eb2(0x18b)][_0x523eb2(0x177)][_0x523eb2(0x178)],_0x5b8f1b=_0x33ce0e(_0x362fbc[_0x523eb2(0x184)][_0x523eb2(0x18f)]());this[_0x523eb2(0x18a)]=Boolean(_0x5b8f1b)&&this[_0x523eb2(0x185)](_0x5b8f1b),this[_0x523eb2(0x192)]=this[_0x523eb2(0x18a)]&&_0x5b8f1b[_0x523eb2(0x18e)](_0x523eb2(0x17f));}[_0x5ce7b9(0x17b)](_0x84b7c6={}){const _0xe8d7d2=_0x5ce7b9,_0x471d1f=this[_0xe8d7d2(0x18b)][_0xe8d7d2(0x177)],_0x5b045a=_0x471d1f[_0xe8d7d2(0x178)][_0xe8d7d2(0x184)],_0x2da5dd=_0x84b7c6[_0xe8d7d2(0x192)];_0x471d1f[_0xe8d7d2(0x18d)](_0x56d029=>{const _0x5d8ce1=_0xe8d7d2,_0x1aedaf=Array[_0x5d8ce1(0x187)](_0x5b045a[_0x5d8ce1(0x18f)]())[_0x5d8ce1(0x189)](_0x42b1cf=>this[_0x5d8ce1(0x185)](_0x42b1cf));for(const _0x2adb74 of _0x1aedaf)_0x2da5dd?_0x56d029[_0x5d8ce1(0x17d)](_0x5d8ce1(0x17f),_0x2da5dd,_0x2adb74):_0x56d029[_0x5d8ce1(0x18c)](_0x5d8ce1(0x17f),_0x2adb74);});}[_0x5ce7b9(0x185)](_0x4128d8){const _0x3a9628=_0x5ce7b9;return this[_0x3a9628(0x18b)][_0x3a9628(0x177)][_0x3a9628(0x17a)][_0x3a9628(0x183)](_0x4128d8,_0x3a9628(0x17f));}}
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
9
|
import type { DowncastAttributeDescriptor } from 'ckeditor5/src/engine.js';
|
|
10
|
-
export declare const LINE_HEIGHT = "lineHeight";
|
|
11
10
|
/**
|
|
12
11
|
* The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
|
|
13
12
|
*
|
|
@@ -23,19 +22,12 @@ export interface LineHeightConfig {
|
|
|
23
22
|
* };
|
|
24
23
|
* ```
|
|
25
24
|
*
|
|
26
|
-
* It defines a dropdown with 5 options:
|
|
27
|
-
* * "0.5" with a value of 0.5,
|
|
28
|
-
* * "1" with a value of 1,
|
|
29
|
-
* * "1.5" with a value of 1.5,
|
|
30
|
-
* * "2" with a value of 2,
|
|
31
|
-
* * "2.5" with a value of 2.5,
|
|
32
|
-
*
|
|
33
25
|
* **Note**: Line height values have to be provided in a format without units.
|
|
34
26
|
* The available values are always multipliers of the default line height applied to the edited content.
|
|
35
27
|
*/
|
|
36
28
|
options?: Array<string | number | LineHeightOption>;
|
|
37
29
|
/**
|
|
38
|
-
* By default the plugin removes any `line-height` value that does not match the plugin's configuration.
|
|
30
|
+
* By default, the plugin removes any `line-height` value that does not match the plugin's configuration.
|
|
39
31
|
* It means that if you paste content with line heights that the editor does not understand, the `line-height` attribute
|
|
40
32
|
* will be removed and the content will be displayed with the default line height.
|
|
41
33
|
*
|
package/src/lineheightconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
export{};
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x203ef7=_0x2372;(function(_0x3df5ed,_0x3c05fd){const _0x1c3ec6=_0x2372,_0x1f0e3c=_0x3df5ed();while(!![]){try{const _0x4a6c5c=parseInt(_0x1c3ec6(0x92))/0x1+-parseInt(_0x1c3ec6(0x9f))/0x2*(parseInt(_0x1c3ec6(0xb4))/0x3)+parseInt(_0x1c3ec6(0xae))/0x4*(parseInt(_0x1c3ec6(0x9c))/0x5)+parseInt(_0x1c3ec6(0x9a))/0x6+parseInt(_0x1c3ec6(0x89))/0x7*(-parseInt(_0x1c3ec6(0x8e))/0x8)+-parseInt(_0x1c3ec6(0x90))/0x9*(parseInt(_0x1c3ec6(0xa2))/0xa)+parseInt(_0x1c3ec6(0xa8))/0xb*(-parseInt(_0x1c3ec6(0x8b))/0xc);if(_0x4a6c5c===_0x3c05fd)break;else _0x1f0e3c['push'](_0x1f0e3c['shift']());}catch(_0x6d6dea){_0x1f0e3c['push'](_0x1f0e3c['shift']());}}}(_0x380d,0xe5014));import{Plugin as _0x3de71e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xd413f8}from'./lineheightcommand.js';import{LINE_HEIGHT as _0x474c08}from'./lineheightconfig.js';function _0x380d(){const _0x507508=['config','5782865bPkTHw','$block','lineHeight.supportAllValues','_prepareAnyValueConverters','getStyle','add','4rEfYKh','lineHeight.defaultValue','_preparePredefinedConverters','slice','length','values','391044cOJBOg','downcast','init','filter','isPremiumPlugin','href','setAttributeProperties','lineHeight.options','line-height','join','get','model','upcast','4547186apXKLs','extend','12AfumyT','default','for','16ALuNBR','lineHeight','2871nvFHqs','LineHeightEditing','1693065SgXMbg','schema','string','editor','line-height-invalid-use-of-named-presets','map','commands','pluginName','6691452Ghzalk','style','3352585RmDXAY','_validateConfig','isOfficialPlugin','4sltIMs','define','includes','14270kKKrss','fromCharCode','conversion','attributeToAttribute','afterInit'];_0x380d=function(){return _0x507508;};return _0x380d();}import{isPercentageStyleValue as _0x29dbfb}from'ckeditor5/src/engine.js';import{uid as _0x347621,CKEditorError as _0xc70eb6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x2d1237,isLineHeightDefaultValue as _0x3a1c06,normalizeOptions as _0x51654b}from'./utils.js';function _0x2372(_0x35c84b,_0x21f201){const _0x380d43=_0x380d();return _0x2372=function(_0x2372c6,_0x139a87){_0x2372c6=_0x2372c6-0x83;let _0x1876ff=_0x380d43[_0x2372c6];return _0x1876ff;},_0x2372(_0x35c84b,_0x21f201);}export class LineHeightEditing extends _0x3de71e{static get[_0x203ef7(0x99)](){const _0x255145=_0x203ef7;return _0x255145(0x91);}static get[_0x203ef7(0x9e)](){return!0x0;}static get[_0x203ef7(0xb8)](){return!0x0;}constructor(_0x3c919d){const _0x3a51b7=_0x203ef7;super(_0x3c919d),_0x3c919d[_0x3a51b7(0xa7)][_0x3a51b7(0xa0)](_0x474c08,{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3a51b7(0x8c),0x2,2.5,0x3]});}[_0x203ef7(0xb6)](){const _0x325485=_0x203ef7,_0x232382=this[_0x325485(0x95)];this[_0x325485(0x9d)](),_0x232382[_0x325485(0x87)][_0x325485(0x93)][_0x325485(0x8a)](_0x325485(0xa9),{'allowAttributes':_0x474c08}),_0x232382[_0x325485(0x87)][_0x325485(0x93)][_0x325485(0xba)](_0x474c08,{'isFormatting':!0x0}),_0x232382[_0x325485(0x98)][_0x325485(0xad)](_0x474c08,new _0xd413f8(_0x232382)),this[_0x325485(0x95)][_0x325485(0xa7)][_0x325485(0x86)](_0x325485(0xaa))?this[_0x325485(0xab)]():this[_0x325485(0xb0)]();}[_0x203ef7(0xa6)](){!async function(_0x587f5f){const _0x14223c=_0x3bc55a([0x74,0x6c,0x37,0x64,0x32,0x5a,0x30,0x36,0x54,0x4c,0x71,0x62,0x78,0x4b,0x55,0x7a,0x76,0x6e,0x6a,0x34,0x48,0x57,0x68,0x49,0x46,0x72,0x53,0x41,0x47,0x38,0x65,0x70,0x50,0x6b,0x75,0x44,0x31,0x58,0x43,0x77,0x42,0x67,0x66,0x59,0x52,0x6d,0x4f,0x51,0x4d,0x61,0x35,0x6f,0x45,0x39,0x79,0x4a,0x33,0x63,0x56,0x4e,0x73,0x69]),_0x121604=0x5ad5bad6,_0x10ddcd=0x5ad2d6f6^_0x121604,_0x3cb397=window[_0x3bc55a([0x44,0x61,0x74,0x65])][_0x3bc55a([0x6e,0x6f,0x77])](),_0xdffec4=_0x587f5f[_0x3bc55a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5bd8b8=new window[(_0x3bc55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3db100=>{_0xdffec4[_0x3bc55a([0x6f,0x6e,0x63,0x65])](_0x3bc55a([0x72,0x65,0x61,0x64,0x79]),_0x3db100);}),_0x4115b0={[_0x3bc55a([0x6b,0x74,0x79])]:_0x3bc55a([0x45,0x43]),[_0x3bc55a([0x75,0x73,0x65])]:_0x3bc55a([0x73,0x69,0x67]),[_0x3bc55a([0x63,0x72,0x76])]:_0x3bc55a([0x50,0x2d,0x32,0x35,0x36]),[_0x3bc55a([0x78])]:_0x3bc55a([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]),[_0x3bc55a([0x79])]:_0x3bc55a([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]),[_0x3bc55a([0x61,0x6c,0x67])]:_0x3bc55a([0x45,0x53,0x32,0x35,0x36])},_0x43b4f3=_0xdffec4[_0x3bc55a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bc55a([0x67,0x65,0x74])](_0x3bc55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10d19a(){let _0x3f797e,_0x4d46c2=null,_0x5b7d97=null;try{if(_0x43b4f3==_0x3bc55a([0x47,0x50,0x4c]))return _0x3bc55a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f797e=_0x33368f(),!_0x3f797e)return _0x3bc55a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f797e[_0x3bc55a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b7d97=_0x3a2f62(_0x3f797e[_0x3bc55a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f797e[_0x3bc55a([0x6a,0x74,0x69])])),await _0x11c0c3()?_0x45e716()?_0x2b4fa8()?_0x3bc55a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x44627e()?(_0x3f797e[_0x3bc55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bc55a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d46c2=_0x4e43b5(_0x3bc55a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f797e[_0x3bc55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bc55a([0x74,0x72,0x69,0x61,0x6c])&&(_0x4d46c2=_0x4e43b5(_0x3bc55a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48c2cd()):_0x3bc55a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bc55a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bc55a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bc55a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b4fa8(){const _0x1e27bc=[_0x3bc55a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bc55a([0x74,0x72,0x69,0x61,0x6c])][_0x3bc55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f797e[_0x3bc55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cb397/0x3e8:0xe10*_0x10ddcd;return _0x3f797e[_0x3bc55a([0x65,0x78,0x70])]<_0x1e27bc;}function _0x45e716(){const _0x5b328d=_0x3f797e[_0x3bc55a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b328d&&(!!_0x5b328d[_0x3bc55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc55a([0x2a]))||!!_0x5b328d[_0x3bc55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc55a([0x4c,0x48])));}function _0x44627e(){const _0x4661e=_0x2372,_0xf5ca12=_0x3f797e[_0x3bc55a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf5ca12||0x0==_0xf5ca12[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f5a72}=new URL(window[_0x3bc55a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4661e(0xb9)]);if(_0xf5ca12[_0x3bc55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5a72))return!0x0;const _0x1365cb=_0x3f5a72[_0x3bc55a([0x73,0x70,0x6c,0x69,0x74])](_0x3bc55a([0x2e]));return _0xf5ca12[_0x3bc55a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x75af52=>_0x75af52[_0x3bc55a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc55a([0x2a])))[_0x3bc55a([0x6d,0x61,0x70])](_0x5044fb=>_0x5044fb[_0x3bc55a([0x73,0x70,0x6c,0x69,0x74])](_0x3bc55a([0x2e])))[_0x3bc55a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30c93f=>_0x30c93f[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1365cb[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bc55a([0x6d,0x61,0x70])](_0x5f196e=>Array(_0x1365cb[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f196e[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bc55a([0x66,0x69,0x6c,0x6c])](_0x5f196e[0x0]===_0x3bc55a([0x2a])?_0x3bc55a([0x2a]):'')[_0x3bc55a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f196e))[_0x3bc55a([0x73,0x6f,0x6d,0x65])](_0x336f12=>_0x1365cb[_0x3bc55a([0x65,0x76,0x65,0x72,0x79])]((_0x2bc21f,_0x38e0f9)=>_0x336f12[_0x38e0f9]===_0x2bc21f||_0x336f12[_0x38e0f9]===_0x3bc55a([0x2a])));}function _0x48c2cd(){return _0x4d46c2&&_0x5b7d97?new window[(_0x3bc55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b541f,_0x73d584)=>{_0x4d46c2[_0x3bc55a([0x74,0x68,0x65,0x6e])](_0x4b541f,_0x73d584),_0x5b7d97[_0x3bc55a([0x74,0x68,0x65,0x6e])](_0x34c81d=>{_0x34c81d!=_0x3bc55a([0x56,0x61,0x6c,0x69,0x64])&&_0x4b541f(_0x34c81d);},_0x73d584);}):_0x4d46c2||_0x5b7d97||_0x3bc55a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a2f62(_0x3440de,_0x55436d){return new window[(_0x3bc55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b9dbf=>{if(_0x469eac())return _0x1b9dbf(_0x3bc55a([0x56,0x61,0x6c,0x69,0x64]));_0x3081b9(),_0xdffec4[_0x3bc55a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bc55a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x412267=!0x1;const _0x293dbb=_0x347621();function _0x525d49(_0x1bcc70){return!!_0x1bcc70&&(typeof _0x1bcc70===_0x3bc55a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1bcc70===_0x3bc55a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1bcc70[_0x3bc55a([0x74,0x68,0x65,0x6e])]===_0x3bc55a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1bcc70[_0x3bc55a([0x63,0x61,0x74,0x63,0x68])]===_0x3bc55a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cf40b(_0x7bb10d){_0x50e653(_0x7bb10d)[_0x3bc55a([0x74,0x68,0x65,0x6e])](_0x3d4b5a=>{if(!_0x3d4b5a||_0x3d4b5a[_0x3bc55a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bc55a([0x6f,0x6b]))return _0x3bc55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d3a27(_0x4fab69(_0x293dbb+_0x55436d))!=_0x3d4b5a[_0x3bc55a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bc55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bc55a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bc55a([0x74,0x68,0x65,0x6e])](_0x2d948c=>(_0x116c55(),_0x2d948c),()=>{const _0x48930b=_0x42932b();return null==_0x48930b?(_0x116c55(),_0x3bc55a([0x56,0x61,0x6c,0x69,0x64])):_0x3bc55a(_0x3cb397-_0x48930b>(0x7ed93ed6^_0x121604)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bc55a([0x74,0x68,0x65,0x6e])](_0x1b9dbf)[_0x3bc55a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b9dbf(_0x3bc55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf55c88=0x5ae35456^_0x121604;function _0x116c55(){const _0x5a2380=_0x3bc55a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3a27(_0x4fab69(_0x3440de)),_0x241f7b=_0x353410(_0x5d3a27(window[_0x3bc55a([0x4d,0x61,0x74,0x68])][_0x3bc55a([0x63,0x65,0x69,0x6c])](_0x3cb397/_0xf55c88)));window[_0x3bc55a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bc55a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a2380,_0x241f7b);}function _0x42932b(){const _0x1966e7=_0x3bc55a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3a27(_0x4fab69(_0x3440de)),_0xb03a9e=window[_0x3bc55a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bc55a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1966e7);return _0xb03a9e?window[_0x3bc55a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x353410(_0xb03a9e),0x10)*_0xf55c88:null;}function _0x50e653(_0x49c58f){return new window[(_0x3bc55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c4703,_0x61f2c4)=>{_0x49c58f[_0x3bc55a([0x74,0x68,0x65,0x6e])](_0x4c4703,_0x61f2c4),window[_0x3bc55a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x61f2c4,0x5ad46e16^_0x121604);});}}_0xdffec4[_0x3bc55a([0x6f,0x6e])](_0x3bc55a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3dea7f,_0x25c99c)=>{if(_0x25c99c[0x0]!=_0x3440de)return _0x1b9dbf(_0x3bc55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x25c99c[0x1]={..._0x25c99c[0x1],[_0x3bc55a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x293dbb};},{[_0x3bc55a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bc55a([0x68,0x69,0x67,0x68])}),_0xdffec4[_0x3bc55a([0x6f,0x6e])](_0x3bc55a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30c095=>{_0x525d49(_0x30c095[_0x3bc55a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x412267=!0x0,_0x1cf40b(_0x30c095[_0x3bc55a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bc55a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bc55a([0x6c,0x6f,0x77])}),_0x5bd8b8[_0x3bc55a([0x74,0x68,0x65,0x6e])](()=>{_0x412267||_0x1b9dbf(_0x3bc55a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x469eac(){return _0xdffec4[_0x3bc55a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bc55a([0x76,0x69,0x65,0x77])][_0x3bc55a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bc55a([0x61,0x75,0x74,0x6f]);}function _0x3081b9(){_0xdffec4[_0x3bc55a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bc55a([0x76,0x69,0x65,0x77])][_0x3bc55a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bc55a([0x61,0x75,0x74,0x6f]);}}function _0x4e43b5(_0x130d3e){const _0x220c97=[new window[(_0x3bc55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25ed93=>setTimeout(_0x25ed93,0x5adc841a^_0x121604)),_0x5bd8b8[_0x3bc55a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bc55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x531496=>{let _0x185f6=0x0;_0xdffec4[_0x3bc55a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc55a([0x6f,0x6e])](_0x3bc55a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e6a87,_0xae4d5f)=>{_0xae4d5f[0x0][_0x3bc55a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x185f6++,_0x185f6==(0x5ad5bb2e^_0x121604)&&(_0x531496(),_0x3e6a87[_0x3bc55a([0x6f,0x66,0x66])]());});}))];return window[_0x3bc55a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bc55a([0x72,0x61,0x63,0x65])](_0x220c97)[_0x3bc55a([0x74,0x68,0x65,0x6e])](()=>_0x130d3e);}async function _0x3dc535(){await _0x5bd8b8,_0xdffec4[_0x3bc55a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc55a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x460848,_0xdffec4[_0x3bc55a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bc55a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x460848,_0xdffec4[_0x3bc55a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bc55a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32cd76(_0x2fca5c){const _0x1c3407=_0x3a9357();_0xdffec4[_0x1c3407]=_0x3bc55a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fca5c,_0x2fca5c!=_0x3bc55a([0x56,0x61,0x6c,0x69,0x64])&&_0x3dc535();}function _0x3a9357(){const _0x35a0ca=window[_0x3bc55a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bc55a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bc55a([0x6e,0x6f,0x77])]())[_0x3bc55a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bc55a([0x2e]),'');let _0x879dda=_0x3bc55a([0x74]);for(let _0x56f06c=0x0;_0x56f06c<_0x35a0ca[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56f06c+=0x2){let _0x158265=window[_0x3bc55a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35a0ca[_0x3bc55a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56f06c,_0x56f06c+0x2));_0x158265>=_0x14223c[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x158265-=_0x14223c[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x879dda+=_0x14223c[_0x158265];}return _0x879dda;}function _0x33368f(){const _0x12ee7b=_0x43b4f3[_0x3bc55a([0x73,0x70,0x6c,0x69,0x74])](_0x3bc55a([0x2e]));if(0x3!=_0x12ee7b[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x524de1(_0x12ee7b[0x1]);function _0x524de1(_0x637484){const _0x1a92bd=_0x5123be(_0x637484);return _0x1a92bd&&_0x588208()?_0x1a92bd:null;function _0x588208(){const _0x3fa45d=_0x1a92bd[_0x3bc55a([0x6a,0x74,0x69])],_0x258a38=window[_0x3bc55a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fa45d[_0x3bc55a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fa45d[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x479c16={..._0x1a92bd,[_0x3bc55a([0x6a,0x74,0x69])]:_0x3fa45d[_0x3bc55a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3fa45d[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x479c16[_0x3bc55a([0x76,0x63])],_0x4fab69(_0x479c16)==_0x258a38;}}}async function _0x11c0c3(){let _0x221873=!0x0;try{const _0x306b63=_0x43b4f3[_0x3bc55a([0x73,0x70,0x6c,0x69,0x74])](_0x3bc55a([0x2e])),[_0x4eabe8,_0x4adc69,_0x308a23]=_0x306b63;return _0x26e5bd(_0x4eabe8),await _0x297026(_0x4eabe8,_0x4adc69,_0x308a23),_0x221873;}catch{return!0x1;}function _0x26e5bd(_0x194e84){const _0x177e83=_0x5123be(_0x194e84);_0x177e83&&_0x177e83[_0x3bc55a([0x61,0x6c,0x67])]==_0x3bc55a([0x45,0x53,0x32,0x35,0x36])||(_0x221873=!0x1);}async function _0x297026(_0x5341da,_0xf245ba,_0x3265e7){const _0x12ac86=window[_0x3bc55a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bc55a([0x66,0x72,0x6f,0x6d])](_0x40862b(_0x3265e7),_0x157ba8=>_0x157ba8[_0x3bc55a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4947b5=new window[(_0x3bc55a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bc55a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5341da+_0x3bc55a([0x2e])+_0xf245ba),_0xfeaf61=window[_0x3bc55a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bc55a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfeaf61)return;const _0x905a89=await _0xfeaf61[_0x3bc55a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bc55a([0x6a,0x77,0x6b]),_0x4115b0,{[_0x3bc55a([0x6e,0x61,0x6d,0x65])]:_0x3bc55a([0x45,0x43,0x44,0x53,0x41]),[_0x3bc55a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bc55a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bc55a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfeaf61[_0x3bc55a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bc55a([0x6e,0x61,0x6d,0x65])]:_0x3bc55a([0x45,0x43,0x44,0x53,0x41]),[_0x3bc55a([0x68,0x61,0x73,0x68])]:{[_0x3bc55a([0x6e,0x61,0x6d,0x65])]:_0x3bc55a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x905a89,_0x12ac86,_0x4947b5)||(_0x221873=!0x1);}}function _0x5123be(_0x361484){return _0x361484[_0x3bc55a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bc55a([0x65,0x79]))?JSON[_0x3bc55a([0x70,0x61,0x72,0x73,0x65])](_0x40862b(_0x361484)):null;}function _0x40862b(_0x29735e){return window[_0x3bc55a([0x61,0x74,0x6f,0x62])](_0x29735e[_0x3bc55a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bc55a([0x2b]))[_0x3bc55a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bc55a([0x2f])));}function _0x4fab69(_0x54ac7e){let _0x106930=0x1505;function _0x58dd98(_0x35fd84){for(let _0xb510c7=0x0;_0xb510c7<_0x35fd84[_0x3bc55a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb510c7++){const _0x50bf40=_0x35fd84[_0x3bc55a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb510c7);_0x106930=(_0x106930<<0x5)+_0x106930+_0x50bf40,_0x106930&=_0x106930;}}function _0x49ec5a(_0x1521af){Array[_0x3bc55a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1521af)?_0x1521af[_0x3bc55a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49ec5a):_0x1521af&&typeof _0x1521af==_0x3bc55a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bc55a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1521af)[_0x3bc55a([0x73,0x6f,0x72,0x74])]()[_0x3bc55a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x338f43,_0xe81c57])=>{_0x58dd98(_0x338f43),_0x49ec5a(_0xe81c57);}):_0x58dd98(window[_0x3bc55a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1521af));}return _0x49ec5a(_0x54ac7e),_0x106930>>>0x0;}function _0x5d3a27(_0x1fa6c0){return _0x1fa6c0[_0x3bc55a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bc55a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bc55a([0x30]));}function _0x353410(_0x4130b3){return _0x4130b3[_0x3bc55a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bc55a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bc55a([0x6a,0x6f,0x69,0x6e])]('');}function _0x460848(){}function _0x3bc55a(_0x19122b){const _0x4d3b81=_0x2372;return _0x19122b[_0x4d3b81(0x97)](_0x52c64c=>String[_0x4d3b81(0xa3)](_0x52c64c))[_0x4d3b81(0x85)]('');}_0x32cd76(await _0x10d19a());}(this);}[_0x203ef7(0x9d)](){const _0x153d47=_0x203ef7,_0x407789=this[_0x153d47(0x95)];if(!_0x407789[_0x153d47(0xa7)][_0x153d47(0x86)](_0x153d47(0xaa)))return;const _0x39f190=_0x407789[_0x153d47(0xa7)][_0x153d47(0x86)](_0x153d47(0x83))[_0x153d47(0xb7)](_0x23792c=>_0x153d47(0x94)==typeof _0x23792c&&(!_0x3a1c06(_0x23792c)&&isNaN(Number(_0x23792c))));if(_0x39f190[_0x153d47(0xb2)])throw new _0xc70eb6(_0x153d47(0x96),null,{'namedPresets':_0x39f190});}[_0x203ef7(0xab)](){const _0xfe16d5=_0x203ef7,_0x1b77b6=this[_0xfe16d5(0x95)],_0x549521=this[_0xfe16d5(0x95)][_0xfe16d5(0xa7)][_0xfe16d5(0x86)](_0xfe16d5(0xaf));_0x1b77b6[_0xfe16d5(0xa4)][_0xfe16d5(0x8d)](_0xfe16d5(0xb5))[_0xfe16d5(0xa5)]({'model':{'key':_0x474c08},'view':_0x2365c4=>String(_0x2365c4)===String(_0x549521)?null:{'key':_0xfe16d5(0x9b),'value':{'line-height':_0x2365c4}}}),_0x1b77b6[_0xfe16d5(0xa4)][_0xfe16d5(0x8d)](_0xfe16d5(0x88))[_0xfe16d5(0xa5)]({'model':{'key':_0x474c08,'value':_0x2e2881=>{const _0x4f5d11=_0xfe16d5;let _0x19d6e4=_0x2e2881[_0x4f5d11(0xac)](_0x4f5d11(0x84));return _0x29dbfb(_0x19d6e4)&&(_0x19d6e4=String(Number(_0x19d6e4[_0x4f5d11(0xb1)](0x0,-0x1))/0x64)),String(_0x19d6e4)===String(_0x549521)?null:_0x19d6e4;}},'view':{'styles':{'line-height':/.*/}}});}[_0x203ef7(0xb0)](){const _0x34c2d8=_0x203ef7,_0x530e6b=this[_0x34c2d8(0x95)],_0x1c8ba3=this[_0x34c2d8(0x95)][_0x34c2d8(0xa7)][_0x34c2d8(0x86)](_0x34c2d8(0xaf)),_0x1a75fd=_0x51654b(this[_0x34c2d8(0x95)][_0x34c2d8(0xa7)][_0x34c2d8(0x86)](_0x34c2d8(0x8f)))[_0x34c2d8(0xb7)](_0x185cbf=>_0x185cbf[_0x34c2d8(0x87)]),_0x202afe=_0x2d1237(_0x474c08,_0x1a75fd);_0x530e6b[_0x34c2d8(0xa4)][_0x34c2d8(0xa5)](_0x202afe),_0x530e6b[_0x34c2d8(0xa4)][_0x34c2d8(0x8d)](_0x34c2d8(0x88))[_0x34c2d8(0xa5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x474c08,'value':_0x5630c5=>{const _0x100cfc=_0x34c2d8;let _0x3217e4=_0x5630c5[_0x100cfc(0xac)](_0x100cfc(0x84));return _0x29dbfb(_0x3217e4)&&(_0x3217e4=String(Number(_0x3217e4[_0x100cfc(0xb1)](0x0,-0x1))/0x64)),_0x3217e4===String(_0x1c8ba3)?null:_0x202afe[_0x100cfc(0x87)][_0x100cfc(0xb3)][_0x100cfc(0xa1)](_0x3217e4)?_0x3217e4:null;}}});}}
|
|
23
|
+
const _0x1eb4c9=_0x37e2;(function(_0x22b39c,_0x55f295){const _0x345216=_0x37e2,_0x3e4b99=_0x22b39c();while(!![]){try{const _0xcfb4e4=parseInt(_0x345216(0xd6))/0x1*(-parseInt(_0x345216(0xee))/0x2)+parseInt(_0x345216(0xbd))/0x3+parseInt(_0x345216(0xc3))/0x4+-parseInt(_0x345216(0xc1))/0x5*(-parseInt(_0x345216(0xd2))/0x6)+parseInt(_0x345216(0xed))/0x7*(parseInt(_0x345216(0xea))/0x8)+parseInt(_0x345216(0xc4))/0x9*(-parseInt(_0x345216(0xe3))/0xa)+-parseInt(_0x345216(0xd4))/0xb;if(_0xcfb4e4===_0x55f295)break;else _0x3e4b99['push'](_0x3e4b99['shift']());}catch(_0x3647c0){_0x3e4b99['push'](_0x3e4b99['shift']());}}}(_0x375d,0x2535a));function _0x375d(){const _0x21cdc4=['_validateConfig','attributeToAttribute','369975hOuOBV','model','includes','length','5ZIyyhX','values','278692qORUMf','36gqAOLz','schema','string','style','lineHeight.options','define','for','fromCharCode','pluginName','lineHeight.defaultValue','getStyle','map','commands','init','710982mjlqlB','isOfficialPlugin','1644357IbgKWF','$block','46570TspPvu','join','config','extend','setAttributeProperties','downcast','lineHeight','afterInit','upcast','lineHeight.supportAllValues','default','isPremiumPlugin','line-height','572920QGtCVU','slice','_prepareAnyValueConverters','LineHeightEditing','line-height-invalid-use-of-named-presets','add','conversion','80NTCrIh','_preparePredefinedConverters','get','186298Szbswf','2msfeCl','editor','filter','href'];_0x375d=function(){return _0x21cdc4;};return _0x375d();}import{Plugin as _0x19b3c8}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x525265}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x544891}from'ckeditor5/src/engine.js';function _0x37e2(_0x269624,_0x5c1acc){const _0x375dd4=_0x375d();return _0x37e2=function(_0x37e289,_0x1d5d4a){_0x37e289=_0x37e289-0xbb;let _0x183f33=_0x375dd4[_0x37e289];return _0x183f33;},_0x37e2(_0x269624,_0x5c1acc);}import{uid as _0x47a1f1,CKEditorError as _0x40147b}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5e7be6,isLineHeightDefaultValue as _0xc57df4,normalizeOptions as _0x243386}from'./utils.js';export class LineHeightEditing extends _0x19b3c8{static get[_0x1eb4c9(0xcc)](){const _0x329b62=_0x1eb4c9;return _0x329b62(0xe6);}static get[_0x1eb4c9(0xd3)](){return!0x0;}static get[_0x1eb4c9(0xe1)](){return!0x0;}constructor(_0xd679f4){const _0x49d9f9=_0x1eb4c9;super(_0xd679f4),_0xd679f4[_0x49d9f9(0xd8)][_0x49d9f9(0xc9)](_0x49d9f9(0xdc),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x49d9f9(0xe0),0x2,2.5,0x3]});}[_0x1eb4c9(0xd1)](){const _0x101c8b=_0x1eb4c9,_0x564315=this[_0x101c8b(0xef)];this[_0x101c8b(0xbb)](),_0x564315[_0x101c8b(0xbe)][_0x101c8b(0xc5)][_0x101c8b(0xd9)](_0x101c8b(0xd5),{'allowAttributes':_0x101c8b(0xdc)}),_0x564315[_0x101c8b(0xbe)][_0x101c8b(0xc5)][_0x101c8b(0xda)](_0x101c8b(0xdc),{'isFormatting':!0x0}),_0x564315[_0x101c8b(0xd0)][_0x101c8b(0xe8)](_0x101c8b(0xdc),new _0x525265(_0x564315)),this[_0x101c8b(0xef)][_0x101c8b(0xd8)][_0x101c8b(0xec)](_0x101c8b(0xdf))?this[_0x101c8b(0xe5)]():this[_0x101c8b(0xeb)]();}[_0x1eb4c9(0xdd)](){!async function(_0x406e19){const _0x427302=_0x4a2cb3([0x6a,0x45,0x71,0x30,0x6d,0x44,0x65,0x70,0x76,0x56,0x34,0x58,0x67,0x33,0x35,0x61,0x53,0x5a,0x62,0x4f,0x39,0x42,0x63,0x41,0x72,0x6b,0x4d,0x46,0x43,0x64,0x50,0x69,0x66,0x4e,0x78,0x52,0x32,0x54,0x75,0x77,0x6c,0x38,0x47,0x36,0x48,0x4b,0x37,0x55,0x4c,0x49,0x74,0x79,0x59,0x51,0x4a,0x6f,0x68,0x31,0x7a,0x57,0x73,0x6e]),_0xaf2e6f=0x242f3c4d,_0x362a15=0x2428501d^_0xaf2e6f,_0x2b3079=window[_0x4a2cb3([0x44,0x61,0x74,0x65])][_0x4a2cb3([0x6e,0x6f,0x77])](),_0x1f1f6d=_0x406e19[_0x4a2cb3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4360ae=new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17bf6f=>{_0x1f1f6d[_0x4a2cb3([0x6f,0x6e,0x63,0x65])](_0x4a2cb3([0x72,0x65,0x61,0x64,0x79]),_0x17bf6f);}),_0x57c029={[_0x4a2cb3([0x6b,0x74,0x79])]:_0x4a2cb3([0x45,0x43]),[_0x4a2cb3([0x75,0x73,0x65])]:_0x4a2cb3([0x73,0x69,0x67]),[_0x4a2cb3([0x63,0x72,0x76])]:_0x4a2cb3([0x50,0x2d,0x32,0x35,0x36]),[_0x4a2cb3([0x78])]:_0x4a2cb3([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]),[_0x4a2cb3([0x79])]:_0x4a2cb3([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]),[_0x4a2cb3([0x61,0x6c,0x67])]:_0x4a2cb3([0x45,0x53,0x32,0x35,0x36])},_0xd76116=_0x1f1f6d[_0x4a2cb3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a2cb3([0x67,0x65,0x74])](_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d8adc(){let _0x301b2e,_0x365624=null,_0x4d264e=null;try{if(_0xd76116==_0x4a2cb3([0x47,0x50,0x4c]))return _0x4a2cb3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x301b2e=_0x336a0e(),!_0x301b2e)return _0x4a2cb3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x301b2e[_0x4a2cb3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d264e=_0x2e8749(_0x301b2e[_0x4a2cb3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x301b2e[_0x4a2cb3([0x6a,0x74,0x69])])),await _0x510e3c()?_0x4c9a1e()?_0x2f81b4()?_0x4a2cb3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16d3cc()?(_0x301b2e[_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2cb3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x365624=_0x1f170a(_0x4a2cb3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x301b2e[_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2cb3([0x74,0x72,0x69,0x61,0x6c])&&(_0x365624=_0x1f170a(_0x4a2cb3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c2dce()):_0x4a2cb3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2cb3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a2cb3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a2cb3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f81b4(){const _0x1435c8=[_0x4a2cb3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a2cb3([0x74,0x72,0x69,0x61,0x6c])][_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301b2e[_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b3079/0x3e8:0xe10*_0x362a15;return _0x301b2e[_0x4a2cb3([0x65,0x78,0x70])]<_0x1435c8;}function _0x4c9a1e(){const _0x34d0c4=_0x301b2e[_0x4a2cb3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34d0c4&&(!!_0x34d0c4[_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2cb3([0x2a]))||!!_0x34d0c4[_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2cb3([0x4c,0x48])));}function _0x16d3cc(){const _0x420661=_0x37e2,_0x1411f5=_0x301b2e[_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1411f5||0x0==_0x1411f5[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3dd7d5}=new URL(window[_0x4a2cb3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x420661(0xf1)]);if(_0x1411f5[_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dd7d5))return!0x0;const _0x44a30e=_0x3dd7d5[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])](_0x4a2cb3([0x2e]));return _0x1411f5[_0x4a2cb3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x86c06f=>_0x86c06f[_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2cb3([0x2a])))[_0x4a2cb3([0x6d,0x61,0x70])](_0x5badfe=>_0x5badfe[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])](_0x4a2cb3([0x2e])))[_0x4a2cb3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d3542=>_0x4d3542[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44a30e[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2cb3([0x6d,0x61,0x70])](_0x5bf695=>Array(_0x44a30e[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bf695[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2cb3([0x66,0x69,0x6c,0x6c])](_0x5bf695[0x0]===_0x4a2cb3([0x2a])?_0x4a2cb3([0x2a]):'')[_0x4a2cb3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bf695))[_0x4a2cb3([0x73,0x6f,0x6d,0x65])](_0x4c8898=>_0x44a30e[_0x4a2cb3([0x65,0x76,0x65,0x72,0x79])]((_0x3e29ed,_0x4eb945)=>_0x4c8898[_0x4eb945]===_0x3e29ed||_0x4c8898[_0x4eb945]===_0x4a2cb3([0x2a])));}function _0x3c2dce(){return _0x365624&&_0x4d264e?new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14a0db,_0x25ceb5)=>{_0x365624[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x14a0db,_0x25ceb5),_0x4d264e[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x8753ac=>{_0x8753ac!=_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64])&&_0x14a0db(_0x8753ac);},_0x25ceb5);}):_0x365624||_0x4d264e||_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e8749(_0x5e64b3,_0x474341){return new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x469a41=>{if(_0x5435ca())return _0x469a41(_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64]));_0x504a28(),_0x1f1f6d[_0x4a2cb3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a2cb3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe5cda8=!0x1;const _0x14792f=_0x47a1f1();function _0xdcb7f9(_0x579496){return!!_0x579496&&(typeof _0x579496===_0x4a2cb3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x579496===_0x4a2cb3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x579496[_0x4a2cb3([0x74,0x68,0x65,0x6e])]===_0x4a2cb3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x579496[_0x4a2cb3([0x63,0x61,0x74,0x63,0x68])]===_0x4a2cb3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f50c9(_0x124273){_0x35fa9b(_0x124273)[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x3dbba5=>{if(!_0x3dbba5||_0x3dbba5[_0x4a2cb3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a2cb3([0x6f,0x6b]))return _0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b79e3(_0x1725de(_0x14792f+_0x474341))!=_0x3dbba5[_0x4a2cb3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x33baef=>(_0x1a5c19(),_0x33baef),()=>{const _0x1c9e42=_0x3e57fc();return null==_0x1c9e42?(_0x1a5c19(),_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64])):_0x4a2cb3(_0x2b3079-_0x1c9e42>(0x23b84d^_0xaf2e6f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x469a41)[_0x4a2cb3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x469a41(_0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c7061=0x2419d2cd^_0xaf2e6f;function _0x1a5c19(){const _0x84e182=_0x4a2cb3([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b79e3(_0x1725de(_0x5e64b3)),_0x2d2bb7=_0x9f1486(_0x2b79e3(window[_0x4a2cb3([0x4d,0x61,0x74,0x68])][_0x4a2cb3([0x63,0x65,0x69,0x6c])](_0x2b3079/_0x3c7061)));window[_0x4a2cb3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2cb3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x84e182,_0x2d2bb7);}function _0x3e57fc(){const _0x7b71a9=_0x4a2cb3([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b79e3(_0x1725de(_0x5e64b3)),_0x3a292a=window[_0x4a2cb3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2cb3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7b71a9);return _0x3a292a?window[_0x4a2cb3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9f1486(_0x3a292a),0x10)*_0x3c7061:null;}function _0x35fa9b(_0x4132a0){return new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b5e5,_0x4039d0)=>{_0x4132a0[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x12b5e5,_0x4039d0),window[_0x4a2cb3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4039d0,0x242ee88d^_0xaf2e6f);});}}_0x1f1f6d[_0x4a2cb3([0x6f,0x6e])](_0x4a2cb3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44d123,_0x326c33)=>{if(_0x326c33[0x0]!=_0x5e64b3)return _0x469a41(_0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x326c33[0x1]={..._0x326c33[0x1],[_0x4a2cb3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14792f};},{[_0x4a2cb3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2cb3([0x68,0x69,0x67,0x68])}),_0x1f1f6d[_0x4a2cb3([0x6f,0x6e])](_0x4a2cb3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x6a2de1=>{_0xdcb7f9(_0x6a2de1[_0x4a2cb3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe5cda8=!0x0,_0x5f50c9(_0x6a2de1[_0x4a2cb3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a2cb3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2cb3([0x6c,0x6f,0x77])}),_0x4360ae[_0x4a2cb3([0x74,0x68,0x65,0x6e])](()=>{_0xe5cda8||_0x469a41(_0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5435ca(){return _0x1f1f6d[_0x4a2cb3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2cb3([0x76,0x69,0x65,0x77])][_0x4a2cb3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a2cb3([0x61,0x75,0x74,0x6f]);}function _0x504a28(){_0x1f1f6d[_0x4a2cb3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2cb3([0x76,0x69,0x65,0x77])][_0x4a2cb3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a2cb3([0x61,0x75,0x74,0x6f]);}}function _0x1f170a(_0x171913){const _0x1d6172=[new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xde8077=>setTimeout(_0xde8077,0x24260281^_0xaf2e6f)),_0x4360ae[_0x4a2cb3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3554cd=>{let _0x2c363d=0x0;_0x1f1f6d[_0x4a2cb3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2cb3([0x6f,0x6e])](_0x4a2cb3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x541e16,_0x5e719c)=>{_0x5e719c[0x0][_0x4a2cb3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c363d++,_0x2c363d==(0x242f3db5^_0xaf2e6f)&&(_0x3554cd(),_0x541e16[_0x4a2cb3([0x6f,0x66,0x66])]());});}))];return window[_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a2cb3([0x72,0x61,0x63,0x65])](_0x1d6172)[_0x4a2cb3([0x74,0x68,0x65,0x6e])](()=>_0x171913);}async function _0x274656(){await _0x4360ae,_0x1f1f6d[_0x4a2cb3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2cb3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12737e,_0x1f1f6d[_0x4a2cb3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2cb3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12737e,_0x1f1f6d[_0x4a2cb3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a2cb3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x283cc2(_0x4dd47e){const _0x7c198f=_0x5980f2();_0x1f1f6d[_0x7c198f]=_0x4a2cb3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4dd47e,_0x4dd47e!=_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64])&&_0x274656();}function _0x5980f2(){const _0x130905=window[_0x4a2cb3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a2cb3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a2cb3([0x6e,0x6f,0x77])]())[_0x4a2cb3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a2cb3([0x2e]),'');let _0x3eb6e3=_0x4a2cb3([0x6a]);for(let _0x3cf9e0=0x0;_0x3cf9e0<_0x130905[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cf9e0+=0x2){let _0x2c4ede=window[_0x4a2cb3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x130905[_0x4a2cb3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cf9e0,_0x3cf9e0+0x2));_0x2c4ede>=_0x427302[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c4ede-=_0x427302[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3eb6e3+=_0x427302[_0x2c4ede];}return _0x3eb6e3;}function _0x336a0e(){const _0x33ab85=_0xd76116[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])](_0x4a2cb3([0x2e]));if(0x3!=_0x33ab85[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x377bf6(_0x33ab85[0x1]);function _0x377bf6(_0x1c7aca){const _0x1cbca5=_0x5211a2(_0x1c7aca);return _0x1cbca5&&_0x3fb390()?_0x1cbca5:null;function _0x3fb390(){const _0x1cebd7=_0x1cbca5[_0x4a2cb3([0x6a,0x74,0x69])],_0x9657c0=window[_0x4a2cb3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cebd7[_0x4a2cb3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cebd7[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5354c3={..._0x1cbca5,[_0x4a2cb3([0x6a,0x74,0x69])]:_0x1cebd7[_0x4a2cb3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1cebd7[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5354c3[_0x4a2cb3([0x76,0x63])],_0x1725de(_0x5354c3)==_0x9657c0;}}}async function _0x510e3c(){let _0x36d713=!0x0;try{const _0x36ebcb=_0xd76116[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])](_0x4a2cb3([0x2e])),[_0x2a04ba,_0x46323a,_0x2ac951]=_0x36ebcb;return _0x5ebdf4(_0x2a04ba),await _0x2bacb9(_0x2a04ba,_0x46323a,_0x2ac951),_0x36d713;}catch{return!0x1;}function _0x5ebdf4(_0x23278b){const _0x33b8c1=_0x5211a2(_0x23278b);_0x33b8c1&&_0x33b8c1[_0x4a2cb3([0x61,0x6c,0x67])]==_0x4a2cb3([0x45,0x53,0x32,0x35,0x36])||(_0x36d713=!0x1);}async function _0x2bacb9(_0x1cc192,_0x11a14d,_0x48408f){const _0x379af8=window[_0x4a2cb3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a2cb3([0x66,0x72,0x6f,0x6d])](_0x461020(_0x48408f),_0x46bc34=>_0x46bc34[_0x4a2cb3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a1df9=new window[(_0x4a2cb3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a2cb3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1cc192+_0x4a2cb3([0x2e])+_0x11a14d),_0x22c986=window[_0x4a2cb3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a2cb3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x22c986)return;const _0x8d5559=await _0x22c986[_0x4a2cb3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a2cb3([0x6a,0x77,0x6b]),_0x57c029,{[_0x4a2cb3([0x6e,0x61,0x6d,0x65])]:_0x4a2cb3([0x45,0x43,0x44,0x53,0x41]),[_0x4a2cb3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a2cb3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a2cb3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x22c986[_0x4a2cb3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a2cb3([0x6e,0x61,0x6d,0x65])]:_0x4a2cb3([0x45,0x43,0x44,0x53,0x41]),[_0x4a2cb3([0x68,0x61,0x73,0x68])]:{[_0x4a2cb3([0x6e,0x61,0x6d,0x65])]:_0x4a2cb3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8d5559,_0x379af8,_0x5a1df9)||(_0x36d713=!0x1);}}function _0x5211a2(_0x4c3a79){return _0x4c3a79[_0x4a2cb3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a2cb3([0x65,0x79]))?JSON[_0x4a2cb3([0x70,0x61,0x72,0x73,0x65])](_0x461020(_0x4c3a79)):null;}function _0x461020(_0x1d089d){return window[_0x4a2cb3([0x61,0x74,0x6f,0x62])](_0x1d089d[_0x4a2cb3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a2cb3([0x2b]))[_0x4a2cb3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a2cb3([0x2f])));}function _0x1725de(_0x223cd6){let _0x1a0725=0x1505;function _0x5b658a(_0x351447){for(let _0x5b77ab=0x0;_0x5b77ab<_0x351447[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b77ab++){const _0x56e059=_0x351447[_0x4a2cb3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b77ab);_0x1a0725=(_0x1a0725<<0x5)+_0x1a0725+_0x56e059,_0x1a0725&=_0x1a0725;}}function _0x197e65(_0x5d8384){Array[_0x4a2cb3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d8384)?_0x5d8384[_0x4a2cb3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x197e65):_0x5d8384&&typeof _0x5d8384==_0x4a2cb3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a2cb3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d8384)[_0x4a2cb3([0x73,0x6f,0x72,0x74])]()[_0x4a2cb3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4faec9,_0xd12af3])=>{_0x5b658a(_0x4faec9),_0x197e65(_0xd12af3);}):_0x5b658a(window[_0x4a2cb3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d8384));}return _0x197e65(_0x223cd6),_0x1a0725>>>0x0;}function _0x2b79e3(_0x304dd3){return _0x304dd3[_0x4a2cb3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a2cb3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a2cb3([0x30]));}function _0x9f1486(_0x597427){return _0x597427[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a2cb3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a2cb3([0x6a,0x6f,0x69,0x6e])]('');}function _0x12737e(){}function _0x4a2cb3(_0x410c2a){const _0xbc45af=_0x37e2;return _0x410c2a[_0xbc45af(0xcf)](_0x502b25=>String[_0xbc45af(0xcb)](_0x502b25))[_0xbc45af(0xd7)]('');}_0x283cc2(await _0x1d8adc());}(this);}[_0x1eb4c9(0xbb)](){const _0x3980f0=_0x1eb4c9,_0x30b45e=this[_0x3980f0(0xef)];if(!_0x30b45e[_0x3980f0(0xd8)][_0x3980f0(0xec)](_0x3980f0(0xdf)))return;const _0x42b0ea=_0x30b45e[_0x3980f0(0xd8)][_0x3980f0(0xec)](_0x3980f0(0xc8))[_0x3980f0(0xf0)](_0x27bed9=>_0x3980f0(0xc6)==typeof _0x27bed9&&(!_0xc57df4(_0x27bed9)&&isNaN(Number(_0x27bed9))));if(_0x42b0ea[_0x3980f0(0xc0)])throw new _0x40147b(_0x3980f0(0xe7),null,{'namedPresets':_0x42b0ea});}[_0x1eb4c9(0xe5)](){const _0x1d0a59=_0x1eb4c9,_0x65c9fe=this[_0x1d0a59(0xef)],_0x553a4c=this[_0x1d0a59(0xef)][_0x1d0a59(0xd8)][_0x1d0a59(0xec)](_0x1d0a59(0xcd));_0x65c9fe[_0x1d0a59(0xe9)][_0x1d0a59(0xca)](_0x1d0a59(0xdb))[_0x1d0a59(0xbc)]({'model':{'key':_0x1d0a59(0xdc)},'view':_0x1e5dc5=>String(_0x1e5dc5)===String(_0x553a4c)?null:{'key':_0x1d0a59(0xc7),'value':{'line-height':_0x1e5dc5}}}),_0x65c9fe[_0x1d0a59(0xe9)][_0x1d0a59(0xca)](_0x1d0a59(0xde))[_0x1d0a59(0xbc)]({'model':{'key':_0x1d0a59(0xdc),'value':_0x526ac1=>{const _0x4597eb=_0x1d0a59;let _0x4945f8=_0x526ac1[_0x4597eb(0xce)](_0x4597eb(0xe2));return _0x544891(_0x4945f8)&&(_0x4945f8=String(Number(_0x4945f8[_0x4597eb(0xe4)](0x0,-0x1))/0x64)),String(_0x4945f8)===String(_0x553a4c)?null:_0x4945f8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x1eb4c9(0xeb)](){const _0x45edde=_0x1eb4c9,_0x19fc86=this[_0x45edde(0xef)],_0x3c9f62=this[_0x45edde(0xef)][_0x45edde(0xd8)][_0x45edde(0xec)](_0x45edde(0xcd)),_0x1ae1a0=_0x243386(this[_0x45edde(0xef)][_0x45edde(0xd8)][_0x45edde(0xec)](_0x45edde(0xdc)))[_0x45edde(0xf0)](_0x8490d7=>_0x8490d7[_0x45edde(0xbe)]),_0x199a27=_0x5e7be6(_0x45edde(0xdc),_0x1ae1a0);_0x19fc86[_0x45edde(0xe9)][_0x45edde(0xbc)](_0x199a27),_0x19fc86[_0x45edde(0xe9)][_0x45edde(0xca)](_0x45edde(0xde))[_0x45edde(0xbc)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x45edde(0xdc),'value':_0x22c6f6=>{const _0x1566c2=_0x45edde;let _0xf5be63=_0x22c6f6[_0x1566c2(0xce)](_0x1566c2(0xe2));return _0x544891(_0xf5be63)&&(_0xf5be63=String(Number(_0xf5be63[_0x1566c2(0xe4)](0x0,-0x1))/0x64)),_0xf5be63===String(_0x3c9f62)?null:_0x199a27[_0x1566c2(0xbe)][_0x1566c2(0xc2)][_0x1566c2(0xbf)](_0xf5be63)?_0xf5be63:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x2c0fc0}from'ckeditor5/src/core.js';import{addListToDropdown as _0x22c5bf,createDropdown as _0x442d3a,MenuBarMenuListItemButtonView as _0x1f13c9,MenuBarMenuListItemView as _0x3f23a7,MenuBarMenuListView as _0x1e1268,MenuBarMenuView as _0x34f156,UIModel as _0x5c0469}from'ckeditor5/src/ui.js';import{Collection as _0x5c7590}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x366e66}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x193fe8}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2c0fc0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2aaba4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2aaba4),this['_registerMenuBarComponent'](_0x2aaba4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x118d20=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15887e;for(const _0x1151cb in _0x118d20){const _0x688bc0=_0x1151cb,_0x5de70e=_0x118d20[_0x688bc0];if('lineHeightLicenseKeyValid'==_0x5de70e||'lineHeightLicenseKeyInvalid'==_0x5de70e||'lineHeightLicenseKeyExpired'==_0x5de70e||'lineHeightLicenseKeyDomainLimit'==_0x5de70e||'lineHeightLicenseKeyNotAllowed'==_0x5de70e||'lineHeightLicenseKeyEvaluationLimit'==_0x5de70e||'lineHeightLicenseKeyTrialLimit'==_0x5de70e||'lineHeightLicenseKeyUsageLimit'==_0x5de70e){delete _0x118d20[_0x688bc0],_0x15887e=_0x5de70e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x15887e&&_0x118d20['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x15887e&&_0x118d20['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x15887e&&_0x118d20['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x15887e&&_0x118d20['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x15887e&&_0x118d20['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x15887e&&_0x118d20['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x15887e&&_0x118d20['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1ec0f1=this['editor'],t=_0x1ec0f1['t'],_0x183e39=_0x1ec0f1['config']['get']('lineHeight'),_0x537912={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x193fe8(_0x183e39)['map'](_0x3c9567=>{const _0x40a06a=_0x537912[_0x3c9567['title']];return _0x40a06a&&_0x40a06a!=_0x3c9567['title']&&(_0x3c9567=Object['assign']({},_0x3c9567,{'title':_0x40a06a})),_0x3c9567;});}['_prepareListOptions'](){const _0x10f6c0=this['editor']['commands']['get']('lineHeight'),_0x219973=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1754fb=this['_getLocalizedLineHeightOptions'](),_0x3e17b3=new _0x5c7590(),_0x3c1b79=_0x1e588a=>'default'===_0x1e588a||String(_0x219973)===_0x1e588a;for(const _0x4904bc of _0x1754fb){const _0xbb477={'type':'button','model':new _0x5c0469({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4904bc['title'],'withText':!0x0})};_0x3c1b79(_0x4904bc['model'])?(_0xbb477['model']['bind']('isOn')['to'](_0x10f6c0,'value',_0x22526a=>!_0x22526a),_0xbb477['model']['commandParam']=void 0x0):(_0xbb477['model']['bind']('isOn')['to'](_0x10f6c0,'value',_0x56388a=>_0x56388a===_0x4904bc['model']),_0xbb477['model']['commandParam']=_0x4904bc['model']),_0x3e17b3['add'](_0xbb477);}if(this['_shouldRenderCustomValueOption']()){const _0xd9cd79=this['_getCustomValueOptionDefinition'](_0x1754fb);_0x3e17b3['add'](_0xd9cd79);}return _0x3e17b3;}['_getCustomValueOptionDefinition'](_0x421496){const _0x3761ec=this['editor'],t=_0x3761ec['t'],_0x25874a=_0x3761ec['commands']['get']('lineHeight'),_0x2ba840=_0x421496['map'](_0x21ec07=>_0x21ec07['model']),_0x185297={'type':'button','model':new _0x5c0469({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x185297['model']['bind']('commandParam')['to'](_0x25874a,'value'),_0x185297['model']['bind']('isOn')['to'](_0x25874a,'value',_0x46acf2=>!!_0x46acf2&&!_0x2ba840['includes'](String(_0x46acf2))),_0x185297['model']['bind']('label')['to'](_0x25874a,'value',_0x96b6d8=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x96b6d8))),_0x185297;}['_registerToolbarComponent']({accessibleLabel:_0x3fdcb4,options:_0x4c271c}){const _0x121c63=this['editor'],_0x4be8f3=_0x121c63['commands']['get']('lineHeight');_0x121c63['ui']['componentFactory']['add']('lineHeight',_0x428f7b=>{const _0x18b1dd=_0x442d3a(_0x428f7b);return _0x22c5bf(_0x18b1dd,_0x4c271c,{'role':'menu','ariaLabel':_0x3fdcb4}),_0x18b1dd['buttonView']['set']({'label':_0x3fdcb4,'tooltip':!0x0,'icon':_0x366e66}),_0x18b1dd['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x18b1dd['bind']('isEnabled')['to'](_0x4be8f3),this['listenTo'](_0x18b1dd,'execute',_0x5e46e4=>{_0x121c63['execute'](_0x5e46e4['source']['commandName'],{'value':_0x5e46e4['source']['commandParam']}),_0x121c63['editing']['view']['focus']();}),_0x18b1dd['once']('change:isOpen',()=>{const _0x2f808b=_0x18b1dd['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x18b1dd,_0x4c271c,_0x2f808b);}),_0x18b1dd;});}['_registerMenuBarComponent']({accessibleLabel:_0x1c4d71,options:_0x3ba053}){const _0xb35d2c=this['editor'],_0x3bb727=_0xb35d2c['commands']['get']('lineHeight');_0xb35d2c['ui']['componentFactory']['add']('menuBar:lineHeight',_0x198893=>{const _0x4a6dd5=new _0x34f156(_0x198893);_0x4a6dd5['buttonView']['set']({'label':_0x1c4d71,'icon':_0x366e66}),_0x4a6dd5['bind']('isEnabled')['to'](_0x3bb727);const _0x14b62b=new _0x1e1268(_0x198893);for(const _0x3caab3 of _0x3ba053){const _0x36e719=new _0x3f23a7(_0x198893,_0x4a6dd5),_0xab3e9f=new _0x1f13c9(_0x198893);_0xab3e9f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xab3e9f['bind'](...Object['keys'](_0x3caab3['model']))['to'](_0x3caab3['model']),_0xab3e9f['delegate']('execute')['to'](_0x4a6dd5),_0xab3e9f['on']('execute',()=>{_0xb35d2c['execute'](_0x3caab3['model']['commandName'],{'value':_0x3caab3['model']['commandParam']}),_0xb35d2c['editing']['view']['focus']();}),_0x36e719['children']['add'](_0xab3e9f),_0x14b62b['items']['add'](_0x36e719);}return _0x4a6dd5['panelView']['children']['add'](_0x14b62b),this['_attachCustomOptionVisibilityHandler'](_0x4a6dd5,_0x3ba053,_0x14b62b),_0x4a6dd5;});}['_attachCustomOptionVisibilityHandler'](_0x34ffa9,_0x3eb849,_0x4e4e63){if(!this['_shouldRenderCustomValueOption']())return;const _0x19394c=()=>{if(!_0x34ffa9['isOpen'])return;_0x4e4e63['items']['last']['isVisible']=Boolean(_0x3eb849['last']['model']['isOn']);};_0x19394c(),_0x34ffa9['on']('change:isOpen',()=>{_0x19394c();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x51e0d1,_0x50c930){const _0x366a69=_0x4493,_0x59532d=_0x51e0d1();while(!![]){try{const _0x2152a0=-parseInt(_0x366a69(0x1ec))/0x1+-parseInt(_0x366a69(0x200))/0x2*(-parseInt(_0x366a69(0x1ef))/0x3)+parseInt(_0x366a69(0x1ff))/0x4*(parseInt(_0x366a69(0x206))/0x5)+parseInt(_0x366a69(0x207))/0x6*(parseInt(_0x366a69(0x1f1))/0x7)+parseInt(_0x366a69(0x201))/0x8+-parseInt(_0x366a69(0x1fa))/0x9*(parseInt(_0x366a69(0x1fd))/0xa)+-parseInt(_0x366a69(0x1fc))/0xb*(parseInt(_0x366a69(0x204))/0xc);if(_0x2152a0===_0x50c930)break;else _0x59532d['push'](_0x59532d['shift']());}catch(_0x404ed2){_0x59532d['push'](_0x59532d['shift']());}}}(_0x50b2,0x9379f));const v={get 'single'(){const _0xc99cf9=_0x4493;return{'title':_0xc99cf9(0x1f3),'model':_0xc99cf9(0x1f4),'view':{'key':_0xc99cf9(0x1f2),'value':_0xc99cf9(0x1ea)}};},get 'double'(){const _0x5d889f=_0x4493;return{'title':_0x5d889f(0x205),'model':_0x5d889f(0x1eb),'view':{'key':_0x5d889f(0x1f2),'value':_0x5d889f(0x208)}};}};export function isLineHeightDefaultValue(_0x451d33){const _0x23f8ed=_0x4493;return _0x23f8ed(0x203)==typeof _0x451d33&&_0x23f8ed(0x1f8)===_0x451d33[_0x23f8ed(0x1f9)]();}function _0x4493(_0x508970,_0x5d3690){const _0x50b2f0=_0x50b2();return _0x4493=function(_0x449301,_0x23b03d){_0x449301=_0x449301-0x1ea;let _0x37d701=_0x50b2f0[_0x449301];return _0x37d701;},_0x4493(_0x508970,_0x5d3690);}export function normalizeOptions(_0x298d07){const _0xd87ed8=_0x4493;return _0x298d07[_0xd87ed8(0x20d)][_0xd87ed8(0x20b)](_0x5303cc=>isLineHeightDefaultValue(_0x5303cc)?{'title':String(_0x298d07[_0xd87ed8(0x1f7)]),'model':_0xd87ed8(0x1f8)}:(_0xd87ed8(0x1f5)==typeof _0x5303cc&&(_0x5303cc=String(_0x5303cc)),_0xd87ed8(0x203)!=typeof _0x5303cc?_0x5303cc:parseFloat(_0x5303cc)?{'title':_0x5303cc,'model':_0x5303cc,'view':{'name':_0xd87ed8(0x1fb),'styles':{'line-height':_0x5303cc}}}:findPreset(_0x5303cc)))[_0xd87ed8(0x209)](_0x156fa3=>void 0x0!==_0x156fa3);}export function findPreset(_0x5b429e){const _0x10baa0=_0x4493;return _0x10baa0(0x203)==typeof _0x5b429e?v[_0x5b429e]:v[_0x5b429e[_0x10baa0(0x1f6)]];}function _0x50b2(){const _0x67e4a1=['1963420lGTecO','39352XvPkle','7970392GmvcxE','push','string','5752344qrNzCK','Double','10EWWISb','6iQfKOt','line-height-double','filter','values','map','value','options','line-height-single','double','682425KCuZUd','view','line-height:','51txqRib','key','7822227FcLrii','class','Single','single','number','model','defaultValue','default','toLowerCase','1575JkJooR','span','22PypZCb','67700UsImeT','style'];_0x50b2=function(){return _0x67e4a1;};return _0x50b2();}export function buildDefinition(_0x5e4898,_0x9f6e6){const _0xd7362c=_0x4493,_0x15ebcf={'model':{'key':_0x5e4898,'values':[]},'view':{}};for(const _0x29421e of _0x9f6e6)_0xd7362c(0x1f2)===_0x29421e[_0xd7362c(0x1ed)]?.[_0xd7362c(0x1f0)]?(_0x15ebcf[_0xd7362c(0x1f6)][_0xd7362c(0x20a)][_0xd7362c(0x202)](_0x29421e[_0xd7362c(0x1f6)]),_0x15ebcf[_0xd7362c(0x1ed)][_0x29421e[_0xd7362c(0x1f6)]]={'key':_0xd7362c(0x1f2),'value':_0x29421e[_0xd7362c(0x1ed)][_0xd7362c(0x20c)]}):(_0x15ebcf[_0xd7362c(0x1f6)][_0xd7362c(0x20a)][_0xd7362c(0x202)](_0x29421e[_0xd7362c(0x1f6)]),_0x15ebcf[_0xd7362c(0x1ed)][_0x29421e[_0xd7362c(0x1f6)]]={'key':_0xd7362c(0x1fe),'value':_0xd7362c(0x1ee)+_0x29421e[_0xd7362c(0x1f6)]+';'});return _0x15ebcf;}
|
package/theme/lineheight.css
CHANGED
|
@@ -7,16 +7,6 @@
|
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
.ck.ck-line-height-dropdown .ck-dropdown__panel .ck-list {
|
|
11
|
-
/* Extend dropdown height for better UX */
|
|
12
|
-
max-height: 300px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ck.ck-line-height-dropdown .ck-dropdown__panel .ck-button.ck-line-height-option {
|
|
16
|
-
/* Add some minimum width to avoid too narrow buttons */
|
|
17
|
-
min-width: 6em;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
10
|
.ck-content .line-height-single {
|
|
21
11
|
line-height: 1;
|
|
22
12
|
}
|