@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250630.0 → 0.0.0-nightly-20250701.1

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.
@@ -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:()=>N});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})()}function w(){const e=["isPremiumPlugin","conversion","40MksXfv","354419VFDEJK","9eFZgvH","string","pluginName","lineHeight","lineHeight.options","editor","href","508630juJPJK","15280tUyYYo","line-height","$block","get","519273qeCmBi","downcast","408gdSymg","setAttributeProperties","slice","define","attributeToAttribute","schema","isOfficialPlugin","map","values","_prepareAnyValueConverters","getStyle","_preparePredefinedConverters","style","model","init","LineHeightEditing","lineHeight.supportAllValues","join","add","extend","line-height-invalid-use-of-named-presets","filter","commands","143XpEWgT","default","upcast","_validateConfig","config","fromCharCode","afterInit","8365zPFTyw","1955639kBkNwZ","length","for","199288sqpxNl","includes","lineHeight.defaultValue"];return(w=function(){return e})()}const y=I;function I(e,t){const n=w();return(I=function(e,t){return n[e-=467]})(e,t)}!function(e){const t=I,n=e();for(;;)try{if(341034===-parseInt(t(511))/1+parseInt(t(520))/2+-parseInt(t(512))/3*(-parseInt(t(505))/4)+-parseInt(t(501))/5*(parseInt(t(471))/6)+parseInt(t(502))/7+-parseInt(t(510))/8*(parseInt(t(469))/9)+-parseInt(t(519))/10*(-parseInt(t(494))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(w);class b extends e.Plugin{static get[y(514)](){return y(486)}static get[y(477)](){return!0}static get[y(508)](){return!0}constructor(e){const t=y;super(e),e[t(498)][t(474)](s,{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(495),2,2.5,3]})}[y(485)](){const e=y,t=this[e(517)];this[e(497)](),t[e(484)][e(476)][e(490)](e(467),{allowAttributes:s}),t[e(484)][e(476)][e(472)](s,{isFormatting:!0}),t[e(493)][e(489)](s,new l(t)),this[e(517)][e(498)][e(468)](e(487))?this[e(480)]():this[e(482)]()}[y(500)](){!async function(e){const t=m([99,89,65,122,68,112,72,105,79,54,77,84,75,113,108,102,121,76,111,49,107,98,56,119,114,109,106,101,74,73,115,116,117,118,78,88,80,70,53,100,97,90,81,103,51,71,104,57,85,52,69,55,82,83,50,48,86,87,67,66,120,110]),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(478)](e=>String[t(499)](e))[t(488)]("")}!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([99]);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:1751241600;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(518)]);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)}[y(497)](){const e=y,t=this[e(517)];if(!t[e(498)][e(468)](e(487)))return;const n=t[e(498)][e(468)](e(516))[e(492)](t=>e(513)==typeof t&&!f(t)&&isNaN(Number(t)));if(n[e(503)])throw new a.CKEditorError(e(491),null,{namedPresets:n})}[y(480)](){const e=y,t=this[e(517)],n=this[e(517)][e(498)][e(468)](e(507));t[e(509)][e(504)](e(470))[e(475)]({model:{key:s},view:t=>String(t)===String(n)?null:{key:e(483),value:{"line-height":t}}}),t[e(509)][e(504)](e(496))[e(475)]({model:{key:s,value:t=>{const i=e;let r=t[i(481)](i(521));return(0,p.isPercentageStyleValue)(r)&&(r=String(Number(r[i(473)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[y(482)](){const e=y,t=this[e(517)],n=this[e(517)][e(498)][e(468)](e(507)),i=m(this[e(517)][e(498)][e(468)](e(515)))[e(492)](t=>t[e(484)]),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(509)][e(475)](r),t[e(509)][e(504)](e(496))[e(475)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:s,value:t=>{const i=e;let o=t[i(481)](i(521));return(0,p.isPercentageStyleValue)(o)&&(o=String(Number(o[i(473)](0,-1))/100)),o===String(n)?null:r[i(484)][i(479)][i(506)](o)?o:null}}})}}var L=n(311),H=n(355),_=n(673),k=n.n(_),x=n(545),C=n.n(x),E=n(262),O=n.n(E),S=n(667),P=n.n(S),A=n(357),V=n.n(A),K=n(422),T={attributes:{"data-cke":!0}};T.setAttributes=P(),T.insert=O().bind(null,"head"),T.domAPI=C(),T.insertStyleElement=V();k()(K.A,T);K.A&&K.A.locals&&K.A.locals;class N 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 M=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[M(198)](){return[b,N]}static get[M(190)](){return M(195)}static get[M(194)](){return!0}static get[M(191)](){return!0}}function F(e,t){var n=U();return(F=function(e,t){return n[e-=375]})(e,t)}function U(){var e=["379267XOQvAL","9LgLnLT","5XOzEmK","1691584xvvfwQ","13024iiBoVb","63838dExCGv","674922sscooo","18016GdLrHi","6crGlmi","425770tHeBDr","6oiWvMe"];return(U=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())}}(U)})(),(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 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 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),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:()=>j,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=s;function o(){const e=["editor","819066WnfwUu","refresh","14YrGLlb","from","4qDRjpV","removeAttribute","10wEygZw","schema","change","getAttribute","getSelectedBlocks","filter","value","3637092jsNquE","63376ngtyDP","setAttribute","21703561aQxSZT","999ZOmDAm","checkAttribute","553025HChGBY","isEnabled","document","execute","lineHeight","model","selection","848070odlOvJ","_canHaveLineHeight","2922114joKMAl"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=214]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(556451===-parseInt(t(222))/1+-parseInt(t(230))/2*(-parseInt(t(226))/3)+-parseInt(t(239))/4+-parseInt(t(215))/5+-parseInt(t(224))/6*(parseInt(t(228))/7)+parseInt(t(240))/8*(parseInt(t(243))/9)+parseInt(t(232))/10*(parseInt(t(242))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(227)](){const e=r,n=this[e(225)][e(220)][e(217)],i=(0,t.first)(n[e(221)][e(236)]());this[e(216)]=Boolean(i)&&this[e(223)](i),this[e(238)]=this[e(216)]&&i[e(235)](e(219))}[r(218)](e={}){const t=r,n=this[t(225)][t(220)],i=n[t(217)][t(221)],o=e[t(238)];n[t(234)](e=>{const n=t,r=Array[n(229)](i[n(236)]())[n(237)](e=>this[n(223)](e));for(const t of r)o?e[n(241)](n(219),o,t):e[n(231)](n(219),t)})}[r(223)](e){const t=r;return this[t(225)][t(220)][t(233)][t(214)](e,t(219))}}var c=n(783);!function(e){const t=d,n=e();for(;;)try{if(384348===parseInt(t(451))/1+parseInt(t(445))/2*(parseInt(t(458))/3)+parseInt(t(467))/4*(parseInt(t(473))/5)+-parseInt(t(444))/6+parseInt(t(453))/7*(parseInt(t(461))/8)+parseInt(t(475))/9*(-parseInt(t(460))/10)+parseInt(t(446))/11*(-parseInt(t(456))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const u={get single(){const e=d;return{title:e(472),model:e(466),view:{key:e(463),value:e(447)}}},get double(){const e=d;return{title:e(462),model:e(457),view:{key:e(463),value:e(464)}}}};function l(e){const t=d;return t(478)==typeof e&&t(443)===e[t(454)]()}function d(e,t){const n=h();return(d=function(e,t){return n[e-=443]})(e,t)}function h(){const e=["values","Single","15PgoWVA","style","62730UdJgbN","push","value","string","default","291924aMmLPa","2174wRjYSJ","2053777CJQXnd","line-height-single","filter","number","options","677139iZVbNM","defaultValue","21RFEtxm","toLowerCase","view","132tPYddj","double","2037HboXou","line-height:","420rKxsuu","1596408tZWppD","Double","class","line-height-double","model","single","1020872KeLici","key","span","map"];return(h=function(){return e})()}function f(e){const t=d;return e[t(450)][t(470)](n=>l(n)?{title:String(e[t(452)]),model:t(443)}:(t(449)==typeof n&&(n=String(n)),t(478)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(469),styles:{"line-height":n}}}:function(e){const t=d;return t(478)==typeof e?u[e]:u[e[t(465)]]}(n)))[t(448)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=360]})(e,t)}function m(){const e=["lineHeight.options","line-height","_preparePredefinedConverters","conversion","70002TcrYxr","line-height-invalid-use-of-named-presets","setAttributeProperties","schema","slice","init","_validateConfig","downcast","getStyle","upcast","commands","3040664wvYumg","7343322JHIvjv","2297076OLMxsj","lineHeight.supportAllValues","6rbtCsq","3707530cbzLjy","get","lineHeight","for","values","model","LineHeightEditing","_prepareAnyValueConverters","default","isPremiumPlugin","isOfficialPlugin","includes","afterInit","join","extend","href","fromCharCode","define","length","map","attributeToAttribute","85664RIgmYf","$block","filter","config","editor","string","pluginName","2552QczRNO","lineHeight.defaultValue","style","1104862RggQIq","add"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(777124===parseInt(t(382))/1+parseInt(t(392))/2*(-parseInt(t(360))/3)+-parseInt(t(409))/4+parseInt(t(361))/5+parseInt(t(411))/6+-parseInt(t(410))/7+parseInt(t(389))/8*(parseInt(t(398))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(388)](){return p(367)}static get[p(371)](){return!0}static get[p(370)](){return!0}constructor(e){const t=p;super(e),e[t(385)][t(378)](t(363),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(369),2,2.5,3]})}[p(403)](){const e=p,t=this[e(386)];this[e(404)](),t[e(366)][e(401)][e(375)](e(383),{allowAttributes:e(363)}),t[e(366)][e(401)][e(400)](e(363),{isFormatting:!0}),t[e(408)][e(393)](e(363),new a(t)),this[e(386)][e(385)][e(362)](e(412))?this[e(368)]():this[e(396)]()}[p(373)](){!async function(e){const n=m([88,75,114,108,84,90,103,98,121,77,107,99,56,74,71,104,102,66,52,82,73,86,67,112,117,76,101,65,72,109,80,49,105,69,54,122,55,97,48,118,70,110,116,111,115,78,113,119,100,85,83,120,53,51,89,87,68,81,79,57,50,106]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[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])},a=r[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)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[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 h(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 f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(380)](e=>String[t(377)](e))[t(374)]("")}!function(e){const t=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 t=m([88]);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>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=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 o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[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,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[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])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[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,t.uid)();function p(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(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(l+n))!=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(i-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])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(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])](f(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)})}}r[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])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(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])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[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 a(){r[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=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),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)),o=(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]),s,{[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,o)||(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])])?i/1e3:1751328e3;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,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(376)]);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])&&(n=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])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||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)}[p(404)](){const e=p,n=this[e(386)];if(!n[e(385)][e(362)](e(412)))return;const i=n[e(385)][e(362)](e(394))[e(384)](t=>e(387)==typeof t&&!l(t)&&isNaN(Number(t)));if(i[e(379)])throw new t.CKEditorError(e(399),null,{namedPresets:i})}[p(368)](){const e=p,t=this[e(386)],n=this[e(386)][e(385)][e(362)](e(390));t[e(397)][e(364)](e(405))[e(381)]({model:{key:e(363)},view:t=>String(t)===String(n)?null:{key:e(391),value:{"line-height":t}}}),t[e(397)][e(364)](e(407))[e(381)]({model:{key:e(363),value:t=>{const i=e;let r=t[i(406)](i(395));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(402)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(396)](){const e=p,t=this[e(386)],n=this[e(386)][e(385)][e(362)](e(390)),i=f(this[e(386)][e(385)][e(362)](e(363)))[e(384)](t=>t[e(366)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(463)===e[n(455)]?.[n(468)]?(i[n(465)][n(471)][n(476)](e[n(465)]),i[n(455)][e[n(465)]]={key:n(463),value:e[n(455)][n(477)]}):(i[n(465)][n(471)][n(476)](e[n(465)]),i[n(455)][e[n(465)]]={key:n(474),value:n(459)+e[n(465)]+";"});return i}(e(363),i);t[e(397)][e(381)](r),t[e(397)][e(364)](e(407))[e(381)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(363),value:t=>{const i=e;let o=t[i(406)](i(395));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(402)](0,-1))/100)),o===String(n)?null:r[i(366)][i(365)][i(372)](o)?o:null}}})}}var v=n(311),y=n(355),b=n(673),I=n.n(b),L=n(545),H=n.n(L),_=n(262),O=n.n(_),C=n(667),x=n.n(C),E=n(357),S=n.n(E),k=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=x(),P.insert=O().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=S();I()(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 f(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()})}}var V=N;function N(e,t){var n=K();return(N=function(e,t){return n[e-=375]})(e,t)}function K(){var e=["isPremiumPlugin","isOfficialPlugin","3824ZEtexV","431778rlrbfN","requires","1944264moUARo","7BtrNIF","1017495rjkQMH","LineHeight","120OVODej","pluginName","759435nfbgVb","565524SwjEMl","287053pxXKHG"];return(K=function(){return e})()}!function(e){for(var t=N,n=e();;)try{if(167371===-parseInt(t(377))/1+parseInt(t(376))/2+-parseInt(t(387))/3*(parseInt(t(380))/4)+parseInt(t(375))/5+-parseInt(t(381))/6*(parseInt(t(384))/7)+parseInt(t(383))/8+-parseInt(t(385))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class j extends e.Plugin{static get[V(382)](){return[w,A]}static get[V(388)](){return V(386)}static get[V(379)](){return!0}static get[V(378)](){return!0}}function M(){var e=["3724yFCKSg","3128VFeCbA","11myNrIC","235158aokbvm","4VpRPLf","377628tbsujg","1271622MCoGdj","5554370LmBaUN","105QslHSs","10386wBzejA","9odMPNj","17524788nknLvO"];return(M=function(){return e})()}function T(e,t){var n=M();return(T=function(e,t){return n[e-=286]})(e,t)}!function(e){for(var t=T,n=e();;)try{if(301479===-parseInt(t(296))/1+-parseInt(t(286))/2+-parseInt(t(287))/3*(parseInt(t(297))/4)+parseInt(t(289))/5*(parseInt(t(290))/6)+parseInt(t(293))/7*(parseInt(t(294))/8)+parseInt(t(291))/9*(-parseInt(t(288))/10)+parseInt(t(295))/11*(parseInt(t(292))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
@@ -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 _0x296803,Plugin as _0x3da74b}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x24dd23,CKEditorError as _0x2dc729,uid as _0x522f81,Collection as _0x10c76e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x30160b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0xa82162,createDropdown as _0x89fd70,addListToDropdown as _0x214e5d,MenuBarMenuView as _0x5f0084,MenuBarMenuListView as _0x43c5a2,MenuBarMenuListItemView as _0x5a182e,MenuBarMenuListItemButtonView as _0x2e5c1f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x480dcb}from'@ckeditor/ckeditor5-icons/dist/index.js';const o='lineHeight';class n extends _0x296803{['refresh'](){const _0x551cbd=this['editor']['model']['document'],_0x52fc82=_0x24dd23(_0x551cbd['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x52fc82)&&this['_canHaveLineHeight'](_0x52fc82),this['value']=this['isEnabled']&&_0x52fc82['getAttribute'](o);}['execute'](_0x4fcb08={}){const _0x4a5420=this['editor']['model'],_0x5cf1e5=_0x4a5420['document']['selection'],_0x3c1efb=_0x4fcb08['value'];_0x4a5420['change'](_0x3a0f46=>{const _0x4d017a=Array['from'](_0x5cf1e5['getSelectedBlocks']())['filter'](_0xec0fe6=>this['_canHaveLineHeight'](_0xec0fe6));for(const _0x16e47b of _0x4d017a)_0x3c1efb?_0x3a0f46['setAttribute'](o,_0x3c1efb,_0x16e47b):_0x3a0f46['removeAttribute'](o,_0x16e47b);});}['_canHaveLineHeight'](_0x2b47ed){return this['editor']['model']['schema']['checkAttribute'](_0x2b47ed,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(_0x1cc435){return'string'==typeof _0x1cc435&&'default'===_0x1cc435['toLowerCase']();}function d(_0x26338c){return _0x26338c['options']['map'](_0x1d7cda=>{return a(_0x1d7cda)?{'title':String(_0x26338c['defaultValue']),'model':'default'}:('number'==typeof _0x1d7cda&&(_0x1d7cda=String(_0x1d7cda)),'string'!=typeof _0x1d7cda?_0x1d7cda:parseFloat(_0x1d7cda)?{'title':_0x1d7cda,'model':_0x1d7cda,'view':{'name':'span','styles':{'line-height':_0x1d7cda}}}:'string'==typeof(_0x1afc91=_0x1d7cda)?v[_0x1afc91]:v[_0x1afc91['model']]);var _0x1afc91;})['filter'](_0x450b04=>void 0x0!==_0x450b04);}class e extends _0x3da74b{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x545068){super(_0x545068),_0x545068['config']['define'](o,{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x37cab9=this['editor'];this['_validateConfig'](),_0x37cab9['model']['schema']['extend']('$block',{'allowAttributes':o}),_0x37cab9['model']['schema']['setAttributeProperties'](o,{'isFormatting':!0x0}),_0x37cab9['commands']['add'](o,new n(_0x37cab9)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0xe10de9){const _0x18e2a4=_0x3fe0c2([0x63,0x59,0x41,0x7a,0x44,0x70,0x48,0x69,0x4f,0x36,0x4d,0x54,0x4b,0x71,0x6c,0x66,0x79,0x4c,0x6f,0x31,0x6b,0x62,0x38,0x77,0x72,0x6d,0x6a,0x65,0x4a,0x49,0x73,0x74,0x75,0x76,0x4e,0x58,0x50,0x46,0x35,0x64,0x61,0x5a,0x51,0x67,0x33,0x47,0x68,0x39,0x55,0x34,0x45,0x37,0x52,0x53,0x32,0x30,0x56,0x57,0x43,0x42,0x78,0x6e]),_0x2c657a=0x40e14109,_0x42b4c2=0x40e62d31^_0x2c657a,_0x2d81ba=window[_0x3fe0c2([0x44,0x61,0x74,0x65])][_0x3fe0c2([0x6e,0x6f,0x77])](),_0x2bac67=_0xe10de9[_0x3fe0c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8cacde=new window[(_0x3fe0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcd0c81=>{_0x2bac67[_0x3fe0c2([0x6f,0x6e,0x63,0x65])](_0x3fe0c2([0x72,0x65,0x61,0x64,0x79]),_0xcd0c81);}),_0x554c95={[_0x3fe0c2([0x6b,0x74,0x79])]:_0x3fe0c2([0x45,0x43]),[_0x3fe0c2([0x75,0x73,0x65])]:_0x3fe0c2([0x73,0x69,0x67]),[_0x3fe0c2([0x63,0x72,0x76])]:_0x3fe0c2([0x50,0x2d,0x32,0x35,0x36]),[_0x3fe0c2([0x78])]:_0x3fe0c2([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]),[_0x3fe0c2([0x79])]:_0x3fe0c2([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]),[_0x3fe0c2([0x61,0x6c,0x67])]:_0x3fe0c2([0x45,0x53,0x32,0x35,0x36])},_0x519e62=_0x2bac67[_0x3fe0c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3fe0c2([0x67,0x65,0x74])](_0x3fe0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x250f47(){let _0x10cd27,_0x241477=null,_0x4571f0=null;try{if(_0x519e62==_0x3fe0c2([0x47,0x50,0x4c]))return _0x3fe0c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x10cd27=_0x415743(),!_0x10cd27)return _0x3fe0c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x10cd27[_0x3fe0c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4571f0=_0x5686e6(_0x10cd27[_0x3fe0c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x10cd27[_0x3fe0c2([0x6a,0x74,0x69])])),await _0x11baa0()?_0x41d51f()?_0x51e0bf()?_0x3fe0c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x502bb3()?(_0x10cd27[_0x3fe0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe0c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x241477=_0x3a2724(_0x3fe0c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x10cd27[_0x3fe0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3fe0c2([0x74,0x72,0x69,0x61,0x6c])&&(_0x241477=_0x3a2724(_0x3fe0c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x263d74()):_0x3fe0c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe0c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3fe0c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3fe0c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51e0bf(){const _0x3c6e8e=[_0x3fe0c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3fe0c2([0x74,0x72,0x69,0x61,0x6c])][_0x3fe0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10cd27[_0x3fe0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d81ba/0x3e8:0xe10*_0x42b4c2;return _0x10cd27[_0x3fe0c2([0x65,0x78,0x70])]<_0x3c6e8e;}function _0x41d51f(){const _0x2dca78=_0x10cd27[_0x3fe0c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2dca78&&(!!_0x2dca78[_0x3fe0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe0c2([0x2a]))||!!_0x2dca78[_0x3fe0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe0c2([0x4c,0x48])));}function _0x502bb3(){const _0x447e8a=_0x10cd27[_0x3fe0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x447e8a||0x0==_0x447e8a[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x557fb1}=new URL(window[_0x3fe0c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x447e8a[_0x3fe0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x557fb1))return!0x0;const _0x20263f=_0x557fb1[_0x3fe0c2([0x73,0x70,0x6c,0x69,0x74])](_0x3fe0c2([0x2e]));return _0x447e8a[_0x3fe0c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27d0b8=>_0x27d0b8[_0x3fe0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe0c2([0x2a])))[_0x3fe0c2([0x6d,0x61,0x70])](_0x54eab0=>_0x54eab0[_0x3fe0c2([0x73,0x70,0x6c,0x69,0x74])](_0x3fe0c2([0x2e])))[_0x3fe0c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a4352=>_0x5a4352[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x20263f[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fe0c2([0x6d,0x61,0x70])](_0x52add8=>Array(_0x20263f[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x52add8[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3fe0c2([0x66,0x69,0x6c,0x6c])](_0x52add8[0x0]===_0x3fe0c2([0x2a])?_0x3fe0c2([0x2a]):'')[_0x3fe0c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x52add8))[_0x3fe0c2([0x73,0x6f,0x6d,0x65])](_0x3399f1=>_0x20263f[_0x3fe0c2([0x65,0x76,0x65,0x72,0x79])]((_0x4a2cc4,_0x50df73)=>_0x3399f1[_0x50df73]===_0x4a2cc4||_0x3399f1[_0x50df73]===_0x3fe0c2([0x2a])));}function _0x263d74(){return _0x241477&&_0x4571f0?new window[(_0x3fe0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x119b74,_0x3ebbb6)=>{_0x241477[_0x3fe0c2([0x74,0x68,0x65,0x6e])](_0x119b74,_0x3ebbb6),_0x4571f0[_0x3fe0c2([0x74,0x68,0x65,0x6e])](_0x44478a=>{_0x44478a!=_0x3fe0c2([0x56,0x61,0x6c,0x69,0x64])&&_0x119b74(_0x44478a);},_0x3ebbb6);}):_0x241477||_0x4571f0||_0x3fe0c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5686e6(_0x10e9a6,_0x188353){return new window[(_0x3fe0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fca57=>{if(_0x1f3768())return _0x3fca57(_0x3fe0c2([0x56,0x61,0x6c,0x69,0x64]));_0x191f93(),_0x2bac67[_0x3fe0c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3fe0c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x566239=!0x1;const _0x50f70f=_0x522f81();function _0x34d8d5(_0x60f13a){return!!_0x60f13a&&(typeof _0x60f13a===_0x3fe0c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x60f13a===_0x3fe0c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x60f13a[_0x3fe0c2([0x74,0x68,0x65,0x6e])]===_0x3fe0c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x60f13a[_0x3fe0c2([0x63,0x61,0x74,0x63,0x68])]===_0x3fe0c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bd8d5(_0x441ae2){_0xf7adff(_0x441ae2)[_0x3fe0c2([0x74,0x68,0x65,0x6e])](_0x81e58e=>{if(!_0x81e58e||_0x81e58e[_0x3fe0c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3fe0c2([0x6f,0x6b]))return _0x3fe0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd9a71(_0x334f2e(_0x50f70f+_0x188353))!=_0x81e58e[_0x3fe0c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3fe0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3fe0c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe0c2([0x74,0x68,0x65,0x6e])](_0x455be2=>(_0x3f71bc(),_0x455be2),()=>{const _0x451107=_0x505d02();return null==_0x451107?(_0x3f71bc(),_0x3fe0c2([0x56,0x61,0x6c,0x69,0x64])):_0x3fe0c2(_0x2d81ba-_0x451107>(0x64edc509^_0x2c657a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3fe0c2([0x74,0x68,0x65,0x6e])](_0x3fca57)[_0x3fe0c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fca57(_0x3fe0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5933b3=0x40d7af89^_0x2c657a;function _0x3f71bc(){const _0x3faf83=_0x3fe0c2([0x6c,0x6c,0x63,0x74,0x2d])+_0xd9a71(_0x334f2e(_0x10e9a6)),_0x3285c3=_0x1997bb(_0xd9a71(window[_0x3fe0c2([0x4d,0x61,0x74,0x68])][_0x3fe0c2([0x63,0x65,0x69,0x6c])](_0x2d81ba/_0x5933b3)));window[_0x3fe0c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe0c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3faf83,_0x3285c3);}function _0x505d02(){const _0x3493a9=_0x3fe0c2([0x6c,0x6c,0x63,0x74,0x2d])+_0xd9a71(_0x334f2e(_0x10e9a6)),_0x5ee163=window[_0x3fe0c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3fe0c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3493a9);return _0x5ee163?window[_0x3fe0c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1997bb(_0x5ee163),0x10)*_0x5933b3:null;}function _0xf7adff(_0xb8b95d){return new window[(_0x3fe0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1605ce,_0x1cedb7)=>{_0xb8b95d[_0x3fe0c2([0x74,0x68,0x65,0x6e])](_0x1605ce,_0x1cedb7),window[_0x3fe0c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cedb7,0x40e095c9^_0x2c657a);});}}_0x2bac67[_0x3fe0c2([0x6f,0x6e])](_0x3fe0c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2cb5eb,_0x51e35b)=>{if(_0x51e35b[0x0]!=_0x10e9a6)return _0x3fca57(_0x3fe0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51e35b[0x1]={..._0x51e35b[0x1],[_0x3fe0c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50f70f};},{[_0x3fe0c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe0c2([0x68,0x69,0x67,0x68])}),_0x2bac67[_0x3fe0c2([0x6f,0x6e])](_0x3fe0c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2af764=>{_0x34d8d5(_0x2af764[_0x3fe0c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x566239=!0x0,_0x4bd8d5(_0x2af764[_0x3fe0c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3fe0c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3fe0c2([0x6c,0x6f,0x77])}),_0x8cacde[_0x3fe0c2([0x74,0x68,0x65,0x6e])](()=>{_0x566239||_0x3fca57(_0x3fe0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f3768(){return _0x2bac67[_0x3fe0c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe0c2([0x76,0x69,0x65,0x77])][_0x3fe0c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3fe0c2([0x61,0x75,0x74,0x6f]);}function _0x191f93(){_0x2bac67[_0x3fe0c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe0c2([0x76,0x69,0x65,0x77])][_0x3fe0c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fe0c2([0x61,0x75,0x74,0x6f]);}}function _0x3a2724(_0x537bf9){const _0x555c61=[new window[(_0x3fe0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49b802=>setTimeout(_0x49b802,0x40e87fc5^_0x2c657a)),_0x8cacde[_0x3fe0c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3fe0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x112bda=>{let _0x50fea1=0x0;_0x2bac67[_0x3fe0c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe0c2([0x6f,0x6e])](_0x3fe0c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20036a,_0x3eb2c4)=>{_0x3eb2c4[0x0][_0x3fe0c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50fea1++,_0x50fea1==(0x40e140f1^_0x2c657a)&&(_0x112bda(),_0x20036a[_0x3fe0c2([0x6f,0x66,0x66])]());});}))];return window[_0x3fe0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fe0c2([0x72,0x61,0x63,0x65])](_0x555c61)[_0x3fe0c2([0x74,0x68,0x65,0x6e])](()=>_0x537bf9);}async function _0x239a64(){await _0x8cacde,_0x2bac67[_0x3fe0c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe0c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d329c,_0x2bac67[_0x3fe0c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3fe0c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d329c,_0x2bac67[_0x3fe0c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3fe0c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b356f(_0x38464d){const _0x2ecc93=_0x3a7cce();_0x2bac67[_0x2ecc93]=_0x3fe0c2([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38464d,_0x38464d!=_0x3fe0c2([0x56,0x61,0x6c,0x69,0x64])&&_0x239a64();}function _0x3a7cce(){const _0x3299c0=window[_0x3fe0c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3fe0c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3fe0c2([0x6e,0x6f,0x77])]())[_0x3fe0c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3fe0c2([0x2e]),'');let _0x422bc3=_0x3fe0c2([0x63]);for(let _0x1674db=0x0;_0x1674db<_0x3299c0[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1674db+=0x2){let _0x2cf433=window[_0x3fe0c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3299c0[_0x3fe0c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1674db,_0x1674db+0x2));_0x2cf433>=_0x18e2a4[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cf433-=_0x18e2a4[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x422bc3+=_0x18e2a4[_0x2cf433];}return _0x422bc3;}function _0x415743(){const _0x13f474=_0x519e62[_0x3fe0c2([0x73,0x70,0x6c,0x69,0x74])](_0x3fe0c2([0x2e]));if(0x3!=_0x13f474[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ab7c5(_0x13f474[0x1]);function _0x1ab7c5(_0x1e2ee4){const _0x4a4709=_0x545b23(_0x1e2ee4);return _0x4a4709&&_0x28ab5f()?_0x4a4709:null;function _0x28ab5f(){const _0x23a65d=_0x4a4709[_0x3fe0c2([0x6a,0x74,0x69])],_0x334e64=window[_0x3fe0c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23a65d[_0x3fe0c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23a65d[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd48dc3={..._0x4a4709,[_0x3fe0c2([0x6a,0x74,0x69])]:_0x23a65d[_0x3fe0c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23a65d[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd48dc3[_0x3fe0c2([0x76,0x63])],_0x334f2e(_0xd48dc3)==_0x334e64;}}}async function _0x11baa0(){let _0x2db3a5=!0x0;try{const _0x3f8712=_0x519e62[_0x3fe0c2([0x73,0x70,0x6c,0x69,0x74])](_0x3fe0c2([0x2e])),[_0xb80946,_0x4f6617,_0x375cf4]=_0x3f8712;return _0x4bd147(_0xb80946),await _0x4a4cb7(_0xb80946,_0x4f6617,_0x375cf4),_0x2db3a5;}catch{return!0x1;}function _0x4bd147(_0x5f15b8){const _0x1bbe42=_0x545b23(_0x5f15b8);_0x1bbe42&&_0x1bbe42[_0x3fe0c2([0x61,0x6c,0x67])]==_0x3fe0c2([0x45,0x53,0x32,0x35,0x36])||(_0x2db3a5=!0x1);}async function _0x4a4cb7(_0x250228,_0x27a20a,_0x2e9e3c){const _0x47f050=window[_0x3fe0c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3fe0c2([0x66,0x72,0x6f,0x6d])](_0x38124c(_0x2e9e3c),_0x470046=>_0x470046[_0x3fe0c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c4f28=new window[(_0x3fe0c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3fe0c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x250228+_0x3fe0c2([0x2e])+_0x27a20a),_0x3de2e9=window[_0x3fe0c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3fe0c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3de2e9)return;const _0x4fdf1e=await _0x3de2e9[_0x3fe0c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3fe0c2([0x6a,0x77,0x6b]),_0x554c95,{[_0x3fe0c2([0x6e,0x61,0x6d,0x65])]:_0x3fe0c2([0x45,0x43,0x44,0x53,0x41]),[_0x3fe0c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3fe0c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3fe0c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3de2e9[_0x3fe0c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3fe0c2([0x6e,0x61,0x6d,0x65])]:_0x3fe0c2([0x45,0x43,0x44,0x53,0x41]),[_0x3fe0c2([0x68,0x61,0x73,0x68])]:{[_0x3fe0c2([0x6e,0x61,0x6d,0x65])]:_0x3fe0c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fdf1e,_0x47f050,_0x3c4f28)||(_0x2db3a5=!0x1);}}function _0x545b23(_0x16b3a5){return _0x16b3a5[_0x3fe0c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3fe0c2([0x65,0x79]))?JSON[_0x3fe0c2([0x70,0x61,0x72,0x73,0x65])](_0x38124c(_0x16b3a5)):null;}function _0x38124c(_0x35ad6d){return window[_0x3fe0c2([0x61,0x74,0x6f,0x62])](_0x35ad6d[_0x3fe0c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3fe0c2([0x2b]))[_0x3fe0c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3fe0c2([0x2f])));}function _0x334f2e(_0x43e61d){let _0x50fc61=0x1505;function _0x16810f(_0x2321fe){for(let _0x3493bb=0x0;_0x3493bb<_0x2321fe[_0x3fe0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3493bb++){const _0x1d6b77=_0x2321fe[_0x3fe0c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3493bb);_0x50fc61=(_0x50fc61<<0x5)+_0x50fc61+_0x1d6b77,_0x50fc61&=_0x50fc61;}}function _0x1ed5ef(_0x182de6){Array[_0x3fe0c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x182de6)?_0x182de6[_0x3fe0c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ed5ef):_0x182de6&&typeof _0x182de6==_0x3fe0c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3fe0c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x182de6)[_0x3fe0c2([0x73,0x6f,0x72,0x74])]()[_0x3fe0c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x170da3,_0x4f3fba])=>{_0x16810f(_0x170da3),_0x1ed5ef(_0x4f3fba);}):_0x16810f(window[_0x3fe0c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x182de6));}return _0x1ed5ef(_0x43e61d),_0x50fc61>>>0x0;}function _0xd9a71(_0x1c6aa7){return _0x1c6aa7[_0x3fe0c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3fe0c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3fe0c2([0x30]));}function _0x1997bb(_0xb7a709){return _0xb7a709[_0x3fe0c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3fe0c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3fe0c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d329c(){}function _0x3fe0c2(_0x17fc4a){return _0x17fc4a['map'](_0x1c58f6=>String['fromCharCode'](_0x1c58f6))['join']('');}_0x3b356f(await _0x250f47());}(this);}['_validateConfig'](){const _0x5e037f=this['editor'];if(!_0x5e037f['config']['get']('lineHeight.supportAllValues'))return;const _0x4dde34=_0x5e037f['config']['get']('lineHeight.options')['filter'](_0x1f11cf=>'string'==typeof _0x1f11cf&&(!a(_0x1f11cf)&&isNaN(Number(_0x1f11cf))));if(_0x4dde34['length'])throw new _0x2dc729('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x4dde34});}['_prepareAnyValueConverters'](){const _0x14a9b3=this['editor'],_0x103017=this['editor']['config']['get']('lineHeight.defaultValue');_0x14a9b3['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':o},'view':_0x70495a=>String(_0x70495a)===String(_0x103017)?null:{'key':'style','value':{'line-height':_0x70495a}}}),_0x14a9b3['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':o,'value':_0x23f132=>{let _0x4eaf87=_0x23f132['getStyle']('line-height');return _0x30160b(_0x4eaf87)&&(_0x4eaf87=String(Number(_0x4eaf87['slice'](0x0,-0x1))/0x64)),String(_0x4eaf87)===String(_0x103017)?null:_0x4eaf87;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0xce0c5e=this['editor'],_0x3cf8a9=this['editor']['config']['get']('lineHeight.defaultValue'),_0x31a3be=d(this['editor']['config']['get']('lineHeight'))['filter'](_0x353af7=>_0x353af7['model']),_0x4e5272=function(_0x172b62,_0x2b0424){const _0x51acec={'model':{'key':_0x172b62,'values':[]},'view':{}};for(const _0x10bc1e of _0x2b0424)'class'===_0x10bc1e['view']?.['key']?(_0x51acec['model']['values']['push'](_0x10bc1e['model']),_0x51acec['view'][_0x10bc1e['model']]={'key':'class','value':_0x10bc1e['view']['value']}):(_0x51acec['model']['values']['push'](_0x10bc1e['model']),_0x51acec['view'][_0x10bc1e['model']]={'key':'style','value':'line-height:'+_0x10bc1e['model']+';'});return _0x51acec;}(o,_0x31a3be);_0xce0c5e['conversion']['attributeToAttribute'](_0x4e5272),_0xce0c5e['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':o,'value':_0x18fdeb=>{let _0x221694=_0x18fdeb['getStyle']('line-height');return _0x30160b(_0x221694)&&(_0x221694=String(Number(_0x221694['slice'](0x0,-0x1))/0x64)),_0x221694===String(_0x3cf8a9)?null:_0x4e5272['model']['values']['includes'](_0x221694)?_0x221694:null;}}});}}class r extends _0x3da74b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x17b340={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x17b340),this['_registerMenuBarComponent'](_0x17b340),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e2736=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x38e9bc;for(const _0x123662 in _0x5e2736){const _0x48a838=_0x123662,_0xf55f0e=_0x5e2736[_0x48a838];if('lineHeightLicenseKeyValid'==_0xf55f0e||'lineHeightLicenseKeyInvalid'==_0xf55f0e||'lineHeightLicenseKeyExpired'==_0xf55f0e||'lineHeightLicenseKeyDomainLimit'==_0xf55f0e||'lineHeightLicenseKeyNotAllowed'==_0xf55f0e||'lineHeightLicenseKeyEvaluationLimit'==_0xf55f0e||'lineHeightLicenseKeyTrialLimit'==_0xf55f0e||'lineHeightLicenseKeyUsageLimit'==_0xf55f0e){delete _0x5e2736[_0x48a838],_0x38e9bc=_0xf55f0e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x38e9bc&&_0x5e2736['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x38e9bc&&_0x5e2736['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x38e9bc&&_0x5e2736['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x38e9bc&&_0x5e2736['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x38e9bc&&_0x5e2736['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x38e9bc&&_0x5e2736['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x38e9bc&&_0x5e2736['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1a6869=this['editor'],t=_0x1a6869['t'],_0x22523f=_0x1a6869['config']['get']('lineHeight'),_0x4e66b4={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return d(_0x22523f)['map'](_0x418f38=>{const _0x311ca1=_0x4e66b4[_0x418f38['title']];return _0x311ca1&&_0x311ca1!=_0x418f38['title']&&(_0x418f38=Object['assign']({},_0x418f38,{'title':_0x311ca1})),_0x418f38;});}['_prepareListOptions'](){const _0x4227cb=this['editor']['commands']['get']('lineHeight'),_0x35c8bf=this['_getLocalizedLineHeightOptions'](),_0x4f6422=new _0x10c76e();for(const _0x2a5981 of _0x35c8bf){const _0x55515c={'type':'button','model':new _0xa82162({'commandName':o,'class':'ck-line-height-option','role':'menuitemradio','label':_0x2a5981['title'],'withText':!0x0})};'default'===_0x2a5981['model']?(_0x55515c['model']['bind']('isOn')['to'](_0x4227cb,'value',_0x14c451=>!_0x14c451),_0x55515c['model']['commandParam']=void 0x0):(_0x55515c['model']['bind']('isOn')['to'](_0x4227cb,'value',_0x14280b=>_0x14280b===_0x2a5981['model']),_0x55515c['model']['commandParam']=_0x2a5981['model']),_0x4f6422['add'](_0x55515c);}if(this['_shouldRenderCustomValueOption']()){const _0x2f3353=this['_getCustomValueOptionDefinition'](_0x35c8bf);_0x4f6422['add'](_0x2f3353);}return _0x4f6422;}['_getCustomValueOptionDefinition'](_0x39ea0c){const _0x49821d=this['editor'],t=_0x49821d['t'],_0x15d7d6=_0x49821d['commands']['get'](o),_0x2be6cd=_0x39ea0c['map'](_0x4e6edf=>_0x4e6edf['model']),_0x193fd0={'type':'button','model':new _0xa82162({'commandName':o,'class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x193fd0['model']['bind']('commandParam')['to'](_0x15d7d6,'value'),_0x193fd0['model']['bind']('isOn')['to'](_0x15d7d6,'value',_0x10a2b6=>!_0x2be6cd['includes'](String(_0x10a2b6))),_0x193fd0['model']['bind']('label')['to'](_0x15d7d6,'value',_0x51a2ad=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x51a2ad))),_0x193fd0;}['_registerToolbarComponent']({accessibleLabel:_0x4689b8,options:_0x3a84d2}){const _0x47b7fc=this['editor'],_0x58a6bb=_0x47b7fc['commands']['get']('lineHeight');_0x47b7fc['ui']['componentFactory']['add'](o,_0x1177c4=>{const _0xc33f92=_0x89fd70(_0x1177c4);return _0x214e5d(_0xc33f92,_0x3a84d2,{'role':'menu','ariaLabel':_0x4689b8}),_0xc33f92['buttonView']['set']({'label':_0x4689b8,'tooltip':!0x0,'icon':_0x480dcb}),_0xc33f92['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xc33f92['bind']('isEnabled')['to'](_0x58a6bb),this['listenTo'](_0xc33f92,'execute',_0x44aac0=>{_0x47b7fc['execute'](_0x44aac0['source']['commandName'],{'value':_0x44aac0['source']['commandParam']}),_0x47b7fc['editing']['view']['focus']();}),_0xc33f92['once']('change:isOpen',()=>{const _0x13bccc=_0xc33f92['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xc33f92,_0x3a84d2,_0x13bccc);}),_0xc33f92;});}['_registerMenuBarComponent']({accessibleLabel:_0x44332f,options:_0x1f02fc}){const _0x5bf5d8=this['editor'],_0x534665=_0x5bf5d8['commands']['get']('lineHeight');_0x5bf5d8['ui']['componentFactory']['add']('menuBar:'+o,_0x4488e8=>{const _0xd9fe03=new _0x5f0084(_0x4488e8);_0xd9fe03['buttonView']['set']({'label':_0x44332f,'icon':_0x480dcb}),_0xd9fe03['bind']('isEnabled')['to'](_0x534665);const _0x49eda2=new _0x43c5a2(_0x4488e8);for(const _0x2ee02e of _0x1f02fc){const _0x32adb5=new _0x5a182e(_0x4488e8,_0xd9fe03),_0x11c833=new _0x2e5c1f(_0x4488e8);_0x11c833['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x11c833['bind'](...Object['keys'](_0x2ee02e['model']))['to'](_0x2ee02e['model']),_0x11c833['delegate']('execute')['to'](_0xd9fe03),_0x11c833['on']('execute',()=>{_0x5bf5d8['execute'](_0x2ee02e['model']['commandName'],{'value':_0x2ee02e['model']['commandParam']}),_0x5bf5d8['editing']['view']['focus']();}),_0x32adb5['children']['add'](_0x11c833),_0x49eda2['items']['add'](_0x32adb5);}return _0xd9fe03['panelView']['children']['add'](_0x49eda2),this['_attachCustomOptionVisibilityHandler'](_0xd9fe03,_0x1f02fc,_0x49eda2),_0xd9fe03;});}['_attachCustomOptionVisibilityHandler'](_0x5a5777,_0x44ae92,_0x4bb17c){if(!this['_shouldRenderCustomValueOption']())return;const _0x47a8fb=()=>{if(!_0x5a5777['isOpen'])return;_0x4bb17c['items']['last']['isVisible']=Boolean(_0x44ae92['last']['model']['isOn']);};_0x47a8fb(),_0x5a5777['on']('change:isOpen',()=>{_0x47a8fb();});}}class k extends _0x3da74b{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 _0x511311,Plugin as _0x5d965d}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1dbac3,CKEditorError as _0x2e624c,uid as _0x293a51,Collection as _0x32793c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x248d26}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x502b17,createDropdown as _0x10f7c5,addListToDropdown as _0x431647,MenuBarMenuView as _0x55d5f8,MenuBarMenuListView as _0x4555d3,MenuBarMenuListItemView as _0x1a5648,MenuBarMenuListItemButtonView as _0xb3e173}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x19dcf5}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x511311{['refresh'](){const _0x5c0346=this['editor']['model']['document'],_0x43018f=_0x1dbac3(_0x5c0346['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x43018f)&&this['_canHaveLineHeight'](_0x43018f),this['value']=this['isEnabled']&&_0x43018f['getAttribute']('lineHeight');}['execute'](_0x977062={}){const _0x19813c=this['editor']['model'],_0x221cd9=_0x19813c['document']['selection'],_0xc4f978=_0x977062['value'];_0x19813c['change'](_0x111b69=>{const _0x19c2d1=Array['from'](_0x221cd9['getSelectedBlocks']())['filter'](_0x1c4b1f=>this['_canHaveLineHeight'](_0x1c4b1f));for(const _0x3bcccb of _0x19c2d1)_0xc4f978?_0x111b69['setAttribute']('lineHeight',_0xc4f978,_0x3bcccb):_0x111b69['removeAttribute']('lineHeight',_0x3bcccb);});}['_canHaveLineHeight'](_0x3aebae){return this['editor']['model']['schema']['checkAttribute'](_0x3aebae,'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(_0x1601a4){return'string'==typeof _0x1601a4&&'default'===_0x1601a4['toLowerCase']();}function a(_0x3fb820){return _0x3fb820['options']['map'](_0x5a3a50=>{return f(_0x5a3a50)?{'title':String(_0x3fb820['defaultValue']),'model':'default'}:('number'==typeof _0x5a3a50&&(_0x5a3a50=String(_0x5a3a50)),'string'!=typeof _0x5a3a50?_0x5a3a50:parseFloat(_0x5a3a50)?{'title':_0x5a3a50,'model':_0x5a3a50,'view':{'name':'span','styles':{'line-height':_0x5a3a50}}}:'string'==typeof(_0x56df0f=_0x5a3a50)?v[_0x56df0f]:v[_0x56df0f['model']]);var _0x56df0f;})['filter'](_0x28ca97=>void 0x0!==_0x28ca97);}class e extends _0x5d965d{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1654f2){super(_0x1654f2),_0x1654f2['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3c6921=this['editor'];this['_validateConfig'](),_0x3c6921['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3c6921['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3c6921['commands']['add']('lineHeight',new n(_0x3c6921)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3eb446){const _0xddbc8b=_0x5dfcf4([0x58,0x4b,0x72,0x6c,0x54,0x5a,0x67,0x62,0x79,0x4d,0x6b,0x63,0x38,0x4a,0x47,0x68,0x66,0x42,0x34,0x52,0x49,0x56,0x43,0x70,0x75,0x4c,0x65,0x41,0x48,0x6d,0x50,0x31,0x69,0x45,0x36,0x7a,0x37,0x61,0x30,0x76,0x46,0x6e,0x74,0x6f,0x73,0x4e,0x71,0x77,0x64,0x55,0x53,0x78,0x35,0x33,0x59,0x57,0x44,0x51,0x4f,0x39,0x32,0x6a]),_0x2cd818=0x127f1987,_0x241184=0x127875d7^_0x2cd818,_0x3135c7=window[_0x5dfcf4([0x44,0x61,0x74,0x65])][_0x5dfcf4([0x6e,0x6f,0x77])](),_0x2d38a0=_0x3eb446[_0x5dfcf4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20fbbc=new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaa7bae=>{_0x2d38a0[_0x5dfcf4([0x6f,0x6e,0x63,0x65])](_0x5dfcf4([0x72,0x65,0x61,0x64,0x79]),_0xaa7bae);}),_0x18091a={[_0x5dfcf4([0x6b,0x74,0x79])]:_0x5dfcf4([0x45,0x43]),[_0x5dfcf4([0x75,0x73,0x65])]:_0x5dfcf4([0x73,0x69,0x67]),[_0x5dfcf4([0x63,0x72,0x76])]:_0x5dfcf4([0x50,0x2d,0x32,0x35,0x36]),[_0x5dfcf4([0x78])]:_0x5dfcf4([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]),[_0x5dfcf4([0x79])]:_0x5dfcf4([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]),[_0x5dfcf4([0x61,0x6c,0x67])]:_0x5dfcf4([0x45,0x53,0x32,0x35,0x36])},_0x915bba=_0x2d38a0[_0x5dfcf4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5dfcf4([0x67,0x65,0x74])](_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xae92db(){let _0x2f2e1a,_0x35c00f=null,_0x1c21d6=null;try{if(_0x915bba==_0x5dfcf4([0x47,0x50,0x4c]))return _0x5dfcf4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f2e1a=_0x57ba10(),!_0x2f2e1a)return _0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f2e1a[_0x5dfcf4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c21d6=_0x2231eb(_0x2f2e1a[_0x5dfcf4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f2e1a[_0x5dfcf4([0x6a,0x74,0x69])])),await _0x9873f7()?_0x3b678b()?_0x284ab2()?_0x5dfcf4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfe131()?(_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dfcf4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35c00f=_0x49f3ea(_0x5dfcf4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dfcf4([0x74,0x72,0x69,0x61,0x6c])&&(_0x35c00f=_0x49f3ea(_0x5dfcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46f1fe()):_0x5dfcf4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5dfcf4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x284ab2(){const _0x4568d7=[_0x5dfcf4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5dfcf4([0x74,0x72,0x69,0x61,0x6c])][_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3135c7/0x3e8:0xe10*_0x241184;return _0x2f2e1a[_0x5dfcf4([0x65,0x78,0x70])]<_0x4568d7;}function _0x3b678b(){const _0x3bf5a1=_0x2f2e1a[_0x5dfcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bf5a1&&(!!_0x3bf5a1[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x2a]))||!!_0x3bf5a1[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x4c,0x48])));}function _0xfe131(){const _0x32a997=_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32a997||0x0==_0x32a997[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31ee9c}=new URL(window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32a997[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ee9c))return!0x0;const _0x8b6f87=_0x31ee9c[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e]));return _0x32a997[_0x5dfcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x145a42=>_0x145a42[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x2a])))[_0x5dfcf4([0x6d,0x61,0x70])](_0x1956c2=>_0x1956c2[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e])))[_0x5dfcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ceb33=>_0x2ceb33[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8b6f87[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dfcf4([0x6d,0x61,0x70])](_0x1406eb=>Array(_0x8b6f87[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1406eb[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dfcf4([0x66,0x69,0x6c,0x6c])](_0x1406eb[0x0]===_0x5dfcf4([0x2a])?_0x5dfcf4([0x2a]):'')[_0x5dfcf4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1406eb))[_0x5dfcf4([0x73,0x6f,0x6d,0x65])](_0x37a0fa=>_0x8b6f87[_0x5dfcf4([0x65,0x76,0x65,0x72,0x79])]((_0x490692,_0x202068)=>_0x37a0fa[_0x202068]===_0x490692||_0x37a0fa[_0x202068]===_0x5dfcf4([0x2a])));}function _0x46f1fe(){return _0x35c00f&&_0x1c21d6?new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1137de,_0x9a3b7b)=>{_0x35c00f[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x1137de,_0x9a3b7b),_0x1c21d6[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x297e92=>{_0x297e92!=_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])&&_0x1137de(_0x297e92);},_0x9a3b7b);}):_0x35c00f||_0x1c21d6||_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2231eb(_0x5b9615,_0x66d33c){return new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3475f2=>{if(_0x4103e5())return _0x3475f2(_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]));_0x22b99a(),_0x2d38a0[_0x5dfcf4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dfee3=!0x1;const _0x25b777=_0x293a51();function _0x7a9ea8(_0x43d097){return!!_0x43d097&&(typeof _0x43d097===_0x5dfcf4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43d097===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43d097[_0x5dfcf4([0x74,0x68,0x65,0x6e])]===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43d097[_0x5dfcf4([0x63,0x61,0x74,0x63,0x68])]===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xed142d(_0x2a9500){_0x519405(_0x2a9500)[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x451438=>{if(!_0x451438||_0x451438[_0x5dfcf4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5dfcf4([0x6f,0x6b]))return _0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x271fbf(_0x494356(_0x25b777+_0x66d33c))!=_0x451438[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]);})[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x322903=>(_0x49f721(),_0x322903),()=>{const _0x536960=_0x4514ee();return null==_0x536960?(_0x49f721(),_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])):_0x5dfcf4(_0x3135c7-_0x536960>(0x36739d87^_0x2cd818)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x3475f2)[_0x5dfcf4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c998c=0x1249f707^_0x2cd818;function _0x49f721(){const _0x1b50e7=_0x5dfcf4([0x6c,0x6c,0x63,0x74,0x2d])+_0x271fbf(_0x494356(_0x5b9615)),_0x1e3de5=_0x120069(_0x271fbf(window[_0x5dfcf4([0x4d,0x61,0x74,0x68])][_0x5dfcf4([0x63,0x65,0x69,0x6c])](_0x3135c7/_0x2c998c)));window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dfcf4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b50e7,_0x1e3de5);}function _0x4514ee(){const _0xde62d8=_0x5dfcf4([0x6c,0x6c,0x63,0x74,0x2d])+_0x271fbf(_0x494356(_0x5b9615)),_0x587ee1=window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dfcf4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xde62d8);return _0x587ee1?window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x120069(_0x587ee1),0x10)*_0x2c998c:null;}function _0x519405(_0x2caab6){return new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x176127,_0x53dad1)=>{_0x2caab6[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x176127,_0x53dad1),window[_0x5dfcf4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53dad1,0x127ecd47^_0x2cd818);});}}_0x2d38a0[_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a3ad5,_0x1fc0de)=>{if(_0x1fc0de[0x0]!=_0x5b9615)return _0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fc0de[0x1]={..._0x1fc0de[0x1],[_0x5dfcf4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25b777};},{[_0x5dfcf4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dfcf4([0x68,0x69,0x67,0x68])}),_0x2d38a0[_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf5c926=>{_0x7a9ea8(_0xf5c926[_0x5dfcf4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dfee3=!0x0,_0xed142d(_0xf5c926[_0x5dfcf4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5dfcf4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dfcf4([0x6c,0x6f,0x77])}),_0x20fbbc[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>{_0x3dfee3||_0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4103e5(){return _0x2d38a0[_0x5dfcf4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dfcf4([0x76,0x69,0x65,0x77])][_0x5dfcf4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5dfcf4([0x61,0x75,0x74,0x6f]);}function _0x22b99a(){_0x2d38a0[_0x5dfcf4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dfcf4([0x76,0x69,0x65,0x77])][_0x5dfcf4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5dfcf4([0x61,0x75,0x74,0x6f]);}}function _0x49f3ea(_0x2ab4f4){const _0x1f76bc=[new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14076e=>setTimeout(_0x14076e,0x1276274b^_0x2cd818)),_0x20fbbc[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34d0e3=>{let _0x5ebf8e=0x0;_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x171c94,_0x34de40)=>{_0x34de40[0x0][_0x5dfcf4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ebf8e++,_0x5ebf8e==(0x127f187f^_0x2cd818)&&(_0x34d0e3(),_0x171c94[_0x5dfcf4([0x6f,0x66,0x66])]());});}))];return window[_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5dfcf4([0x72,0x61,0x63,0x65])](_0x1f76bc)[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>_0x2ab4f4);}async function _0x41f177(){await _0x20fbbc,_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e5381,_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e5381,_0x2d38a0[_0x5dfcf4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a32fe(_0x5a4a6d){const _0x303bb2=_0x34b4ab();_0x2d38a0[_0x303bb2]=_0x5dfcf4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a4a6d,_0x5a4a6d!=_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])&&_0x41f177();}function _0x34b4ab(){const _0x16404b=window[_0x5dfcf4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5dfcf4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5dfcf4([0x6e,0x6f,0x77])]())[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5dfcf4([0x2e]),'');let _0x49dcf8=_0x5dfcf4([0x58]);for(let _0x3eef05=0x0;_0x3eef05<_0x16404b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3eef05+=0x2){let _0x553d84=window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16404b[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3eef05,_0x3eef05+0x2));_0x553d84>=_0xddbc8b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x553d84-=_0xddbc8b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49dcf8+=_0xddbc8b[_0x553d84];}return _0x49dcf8;}function _0x57ba10(){const _0x5a50d5=_0x915bba[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e]));if(0x3!=_0x5a50d5[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57f45c(_0x5a50d5[0x1]);function _0x57f45c(_0x391e81){const _0x97020f=_0x40aced(_0x391e81);return _0x97020f&&_0x2df325()?_0x97020f:null;function _0x2df325(){const _0x213921=_0x97020f[_0x5dfcf4([0x6a,0x74,0x69])],_0x2e1be6=window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x213921[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x213921[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47d1b3={..._0x97020f,[_0x5dfcf4([0x6a,0x74,0x69])]:_0x213921[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x213921[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47d1b3[_0x5dfcf4([0x76,0x63])],_0x494356(_0x47d1b3)==_0x2e1be6;}}}async function _0x9873f7(){let _0x4cd55c=!0x0;try{const _0x549585=_0x915bba[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e])),[_0x5286e5,_0x3dd00c,_0x2d972a]=_0x549585;return _0x52e482(_0x5286e5),await _0x537fa7(_0x5286e5,_0x3dd00c,_0x2d972a),_0x4cd55c;}catch{return!0x1;}function _0x52e482(_0x98d5c7){const _0x525abd=_0x40aced(_0x98d5c7);_0x525abd&&_0x525abd[_0x5dfcf4([0x61,0x6c,0x67])]==_0x5dfcf4([0x45,0x53,0x32,0x35,0x36])||(_0x4cd55c=!0x1);}async function _0x537fa7(_0x43ac8a,_0x5ea782,_0x5f2c68){const _0x3f4e85=window[_0x5dfcf4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5dfcf4([0x66,0x72,0x6f,0x6d])](_0x302d8c(_0x5f2c68),_0xb2cd9=>_0xb2cd9[_0x5dfcf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4efe96=new window[(_0x5dfcf4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5dfcf4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43ac8a+_0x5dfcf4([0x2e])+_0x5ea782),_0x516d35=window[_0x5dfcf4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5dfcf4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x516d35)return;const _0x12f0ec=await _0x516d35[_0x5dfcf4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5dfcf4([0x6a,0x77,0x6b]),_0x18091a,{[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x45,0x43,0x44,0x53,0x41]),[_0x5dfcf4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5dfcf4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x516d35[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x45,0x43,0x44,0x53,0x41]),[_0x5dfcf4([0x68,0x61,0x73,0x68])]:{[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12f0ec,_0x3f4e85,_0x4efe96)||(_0x4cd55c=!0x1);}}function _0x40aced(_0x1b826d){return _0x1b826d[_0x5dfcf4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5dfcf4([0x65,0x79]))?JSON[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65])](_0x302d8c(_0x1b826d)):null;}function _0x302d8c(_0x13ee1d){return window[_0x5dfcf4([0x61,0x74,0x6f,0x62])](_0x13ee1d[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5dfcf4([0x2b]))[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5dfcf4([0x2f])));}function _0x494356(_0x5258f0){let _0x3411db=0x1505;function _0x11e7af(_0xe60169){for(let _0x21214d=0x0;_0x21214d<_0xe60169[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21214d++){const _0x2f9b0d=_0xe60169[_0x5dfcf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21214d);_0x3411db=(_0x3411db<<0x5)+_0x3411db+_0x2f9b0d,_0x3411db&=_0x3411db;}}function _0x517a4d(_0x2e4f8b){Array[_0x5dfcf4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e4f8b)?_0x2e4f8b[_0x5dfcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x517a4d):_0x2e4f8b&&typeof _0x2e4f8b==_0x5dfcf4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5dfcf4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e4f8b)[_0x5dfcf4([0x73,0x6f,0x72,0x74])]()[_0x5dfcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x591303,_0x50069c])=>{_0x11e7af(_0x591303),_0x517a4d(_0x50069c);}):_0x11e7af(window[_0x5dfcf4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e4f8b));}return _0x517a4d(_0x5258f0),_0x3411db>>>0x0;}function _0x271fbf(_0x1c7ecd){return _0x1c7ecd[_0x5dfcf4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5dfcf4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5dfcf4([0x30]));}function _0x120069(_0x54ff7c){return _0x54ff7c[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5dfcf4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5dfcf4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e5381(){}function _0x5dfcf4(_0xa2d3ed){return _0xa2d3ed['map'](_0x5cd19d=>String['fromCharCode'](_0x5cd19d))['join']('');}_0x4a32fe(await _0xae92db());}(this);}['_validateConfig'](){const _0x3f4b12=this['editor'];if(!_0x3f4b12['config']['get']('lineHeight.supportAllValues'))return;const _0x2835c2=_0x3f4b12['config']['get']('lineHeight.options')['filter'](_0x13a995=>'string'==typeof _0x13a995&&(!f(_0x13a995)&&isNaN(Number(_0x13a995))));if(_0x2835c2['length'])throw new _0x2e624c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2835c2});}['_prepareAnyValueConverters'](){const _0x17293b=this['editor'],_0xbb098=this['editor']['config']['get']('lineHeight.defaultValue');_0x17293b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x14f215=>String(_0x14f215)===String(_0xbb098)?null:{'key':'style','value':{'line-height':_0x14f215}}}),_0x17293b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x9c9d20=>{let _0x1d9590=_0x9c9d20['getStyle']('line-height');return _0x248d26(_0x1d9590)&&(_0x1d9590=String(Number(_0x1d9590['slice'](0x0,-0x1))/0x64)),String(_0x1d9590)===String(_0xbb098)?null:_0x1d9590;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0xf4ac34=this['editor'],_0x50a878=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5d46a1=function(_0x20e38a,_0x7844f6){const _0xcab1f2={'model':{'key':_0x20e38a,'values':[]},'view':{}};for(const _0x5231b1 of _0x7844f6)'class'===_0x5231b1['view']?.['key']?(_0xcab1f2['model']['values']['push'](_0x5231b1['model']),_0xcab1f2['view'][_0x5231b1['model']]={'key':'class','value':_0x5231b1['view']['value']}):(_0xcab1f2['model']['values']['push'](_0x5231b1['model']),_0xcab1f2['view'][_0x5231b1['model']]={'key':'style','value':'line-height:'+_0x5231b1['model']+';'});return _0xcab1f2;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x36653b=>_0x36653b['model']));_0xf4ac34['conversion']['attributeToAttribute'](_0x5d46a1),_0xf4ac34['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1b73bb=>{let _0x35a039=_0x1b73bb['getStyle']('line-height');return _0x248d26(_0x35a039)&&(_0x35a039=String(Number(_0x35a039['slice'](0x0,-0x1))/0x64)),_0x35a039===String(_0x50a878)?null:_0x5d46a1['model']['values']['includes'](_0x35a039)?_0x35a039:null;}}});}}class r extends _0x5d965d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1e298={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1e298),this['_registerMenuBarComponent'](_0x1e298),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d14c5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf33617;for(const _0x150474 in _0x1d14c5){const _0x2a111e=_0x150474,_0x446361=_0x1d14c5[_0x2a111e];if('lineHeightLicenseKeyValid'==_0x446361||'lineHeightLicenseKeyInvalid'==_0x446361||'lineHeightLicenseKeyExpired'==_0x446361||'lineHeightLicenseKeyDomainLimit'==_0x446361||'lineHeightLicenseKeyNotAllowed'==_0x446361||'lineHeightLicenseKeyEvaluationLimit'==_0x446361||'lineHeightLicenseKeyTrialLimit'==_0x446361||'lineHeightLicenseKeyUsageLimit'==_0x446361){delete _0x1d14c5[_0x2a111e],_0xf33617=_0x446361,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xf33617&&_0x1d14c5['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xf33617&&_0x1d14c5['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xf33617&&_0x1d14c5['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x33e243=this['editor'],t=_0x33e243['t'],_0x1ca323=_0x33e243['config']['get']('lineHeight'),_0x450e4c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x1ca323)['map'](_0x3bbd69=>{const _0x210675=_0x450e4c[_0x3bbd69['title']];return _0x210675&&_0x210675!=_0x3bbd69['title']&&(_0x3bbd69=Object['assign']({},_0x3bbd69,{'title':_0x210675})),_0x3bbd69;});}['_prepareListOptions'](){const _0x382452=this['editor']['commands']['get']('lineHeight'),_0xd07cd8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x252c72=this['_getLocalizedLineHeightOptions'](),_0x2eb42d=new _0x32793c(),_0x32dae8=_0x59f836=>'default'===_0x59f836||String(_0xd07cd8)===_0x59f836;for(const _0x6a2e21 of _0x252c72){const _0x40fd57={'type':'button','model':new _0x502b17({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x6a2e21['title'],'withText':!0x0})};_0x32dae8(_0x6a2e21['model'])?(_0x40fd57['model']['bind']('isOn')['to'](_0x382452,'value',_0x354537=>!_0x354537),_0x40fd57['model']['commandParam']=void 0x0):(_0x40fd57['model']['bind']('isOn')['to'](_0x382452,'value',_0x456968=>_0x456968===_0x6a2e21['model']),_0x40fd57['model']['commandParam']=_0x6a2e21['model']),_0x2eb42d['add'](_0x40fd57);}if(this['_shouldRenderCustomValueOption']()){const _0x36fc7d=this['_getCustomValueOptionDefinition'](_0x252c72);_0x2eb42d['add'](_0x36fc7d);}return _0x2eb42d;}['_getCustomValueOptionDefinition'](_0x315833){const _0x425637=this['editor'],t=_0x425637['t'],_0x47be31=_0x425637['commands']['get']('lineHeight'),_0x59ada4=_0x315833['map'](_0x5cf8e4=>_0x5cf8e4['model']),_0x30f923={'type':'button','model':new _0x502b17({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x30f923['model']['bind']('commandParam')['to'](_0x47be31,'value'),_0x30f923['model']['bind']('isOn')['to'](_0x47be31,'value',_0x922183=>!!_0x922183&&!_0x59ada4['includes'](String(_0x922183))),_0x30f923['model']['bind']('label')['to'](_0x47be31,'value',_0x2ea6ae=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2ea6ae))),_0x30f923;}['_registerToolbarComponent']({accessibleLabel:_0x16738a,options:_0x1885b6}){const _0x4d6558=this['editor'],_0x7cc4a5=_0x4d6558['commands']['get']('lineHeight');_0x4d6558['ui']['componentFactory']['add']('lineHeight',_0x34e06a=>{const _0x250a9a=_0x10f7c5(_0x34e06a);return _0x431647(_0x250a9a,_0x1885b6,{'role':'menu','ariaLabel':_0x16738a}),_0x250a9a['buttonView']['set']({'label':_0x16738a,'tooltip':!0x0,'icon':_0x19dcf5}),_0x250a9a['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x250a9a['bind']('isEnabled')['to'](_0x7cc4a5),this['listenTo'](_0x250a9a,'execute',_0x3376b7=>{_0x4d6558['execute'](_0x3376b7['source']['commandName'],{'value':_0x3376b7['source']['commandParam']}),_0x4d6558['editing']['view']['focus']();}),_0x250a9a['once']('change:isOpen',()=>{const _0x5926e9=_0x250a9a['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x250a9a,_0x1885b6,_0x5926e9);}),_0x250a9a;});}['_registerMenuBarComponent']({accessibleLabel:_0x466397,options:_0x2551e3}){const _0x4a81e9=this['editor'],_0x3b0821=_0x4a81e9['commands']['get']('lineHeight');_0x4a81e9['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1a37d2=>{const _0x58c54c=new _0x55d5f8(_0x1a37d2);_0x58c54c['buttonView']['set']({'label':_0x466397,'icon':_0x19dcf5}),_0x58c54c['bind']('isEnabled')['to'](_0x3b0821);const _0x336ab7=new _0x4555d3(_0x1a37d2);for(const _0x30f30f of _0x2551e3){const _0x27ae39=new _0x1a5648(_0x1a37d2,_0x58c54c),_0x2a8078=new _0xb3e173(_0x1a37d2);_0x2a8078['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2a8078['bind'](...Object['keys'](_0x30f30f['model']))['to'](_0x30f30f['model']),_0x2a8078['delegate']('execute')['to'](_0x58c54c),_0x2a8078['on']('execute',()=>{_0x4a81e9['execute'](_0x30f30f['model']['commandName'],{'value':_0x30f30f['model']['commandParam']}),_0x4a81e9['editing']['view']['focus']();}),_0x27ae39['children']['add'](_0x2a8078),_0x336ab7['items']['add'](_0x27ae39);}return _0x58c54c['panelView']['children']['add'](_0x336ab7),this['_attachCustomOptionVisibilityHandler'](_0x58c54c,_0x2551e3,_0x336ab7),_0x58c54c;});}['_attachCustomOptionVisibilityHandler'](_0x3a06ce,_0x586b54,_0x25176f){if(!this['_shouldRenderCustomValueOption']())return;const _0x45af26=()=>{if(!_0x3a06ce['isOpen'])return;_0x25176f['items']['last']['isVisible']=Boolean(_0x586b54['last']['model']['isOn']);};_0x45af26(),_0x3a06ce['on']('change:isOpen',()=>{_0x45af26();});}}class k extends _0x5d965d{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-20250630.0",
3
+ "version": "0.0.0-nightly-20250701.1",
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-20250630.0",
17
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250630.0",
18
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250630.0",
19
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250630.0",
20
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250630.0",
21
- "ckeditor5": "0.0.0-nightly-20250630.0"
16
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250701.1",
17
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250701.1",
18
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250701.1",
19
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250701.1",
20
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250701.1",
21
+ "ckeditor5": "0.0.0-nightly-20250701.1"
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(_0x33ba94,_0xab8f93){var _0x59ec5e=_0x386a,_0x35d2f6=_0x33ba94();while(!![]){try{var _0x5528e6=-parseInt(_0x59ec5e(0x17c))/0x1*(parseInt(_0x59ec5e(0x17f))/0x2)+parseInt(_0x59ec5e(0x181))/0x3*(parseInt(_0x59ec5e(0x17e))/0x4)+parseInt(_0x59ec5e(0x179))/0x5*(parseInt(_0x59ec5e(0x17d))/0x6)+-parseInt(_0x59ec5e(0x177))/0x7+parseInt(_0x59ec5e(0x17a))/0x8+parseInt(_0x59ec5e(0x178))/0x9*(parseInt(_0x59ec5e(0x180))/0xa)+parseInt(_0x59ec5e(0x17b))/0xb;if(_0x5528e6===_0xab8f93)break;else _0x35d2f6['push'](_0x35d2f6['shift']());}catch(_0x45631f){_0x35d2f6['push'](_0x35d2f6['shift']());}}}(_0xf5c2,0x1ffc1));function _0x386a(_0x497e34,_0x28d25c){var _0xf5c291=_0xf5c2();return _0x386a=function(_0x386a90,_0x514dab){_0x386a90=_0x386a90-0x177;var _0x6671b=_0xf5c291[_0x386a90];return _0x6671b;},_0x386a(_0x497e34,_0x28d25c);}function _0xf5c2(){var _0x50f682=['379267XOQvAL','9LgLnLT','5XOzEmK','1691584xvvfwQ','13024iiBoVb','63838dExCGv','674922sscooo','18016GdLrHi','6crGlmi','425770tHeBDr','6oiWvMe'];_0xf5c2=function(){return _0x50f682;};return _0xf5c2();}export{LineHeight}from'./lineheight.js';export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
23
+ function _0x1878(){var _0x13001e=['3724yFCKSg','3128VFeCbA','11myNrIC','235158aokbvm','4VpRPLf','377628tbsujg','1271622MCoGdj','5554370LmBaUN','105QslHSs','10386wBzejA','9odMPNj','17524788nknLvO'];_0x1878=function(){return _0x13001e;};return _0x1878();}(function(_0x45fc9f,_0x437525){var _0x381aed=_0x1789,_0x3dd5f5=_0x45fc9f();while(!![]){try{var _0xdb764c=-parseInt(_0x381aed(0x128))/0x1+-parseInt(_0x381aed(0x11e))/0x2+-parseInt(_0x381aed(0x11f))/0x3*(parseInt(_0x381aed(0x129))/0x4)+parseInt(_0x381aed(0x121))/0x5*(parseInt(_0x381aed(0x122))/0x6)+parseInt(_0x381aed(0x125))/0x7*(parseInt(_0x381aed(0x126))/0x8)+parseInt(_0x381aed(0x123))/0x9*(-parseInt(_0x381aed(0x120))/0xa)+parseInt(_0x381aed(0x127))/0xb*(parseInt(_0x381aed(0x124))/0xc);if(_0xdb764c===_0x437525)break;else _0x3dd5f5['push'](_0x3dd5f5['shift']());}catch(_0x3e7b16){_0x3dd5f5['push'](_0x3dd5f5['shift']());}}}(_0x1878,0x499a7));export{LineHeight}from'./lineheight.js';export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';function _0x1789(_0x5eae45,_0x13d52b){var _0x18780d=_0x1878();return _0x1789=function(_0x1789be,_0x1a24ca){_0x1789be=_0x1789be-0x11e;var _0x1d3582=_0x18780d[_0x1789be];return _0x1d3582;},_0x1789(_0x5eae45,_0x13d52b);}import'./augmentation.js';
package/src/lineheight.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x28e334=_0x5e13;(function(_0x33d941,_0x184f61){var _0x45b889=_0x5e13,_0x48823b=_0x33d941();while(!![]){try{var _0x1132b4=parseInt(_0x45b889(0xc8))/0x1*(-parseInt(_0x45b889(0xbc))/0x2)+-parseInt(_0x45b889(0xbb))/0x3+-parseInt(_0x45b889(0xbd))/0x4+-parseInt(_0x45b889(0xc0))/0x5+-parseInt(_0x45b889(0xc5))/0x6+parseInt(_0x45b889(0xc7))/0x7+parseInt(_0x45b889(0xc1))/0x8*(parseInt(_0x45b889(0xc4))/0x9);if(_0x1132b4===_0x184f61)break;else _0x48823b['push'](_0x48823b['shift']());}catch(_0x3199fc){_0x48823b['push'](_0x48823b['shift']());}}}(_0x2812,0x8d29c));import{Plugin as _0x459afe}from'ckeditor5/src/core.js';function _0x2812(){var _0x1e476f=['requires','5327511oIOsxp','1oSAXjP','856656pWVbGZ','1415146SvLyCt','3585748IFYKCO','pluginName','isPremiumPlugin','4183180OpvKBN','369176mLIUof','isOfficialPlugin','LineHeight','657ZtQJJb','4952412nLTrtr'];_0x2812=function(){return _0x1e476f;};return _0x2812();}import{LineHeightEditing as _0x352589}from'./lineheightediting.js';import{LineHeightUI as _0x5e6cc7}from'./lineheightui.js';function _0x5e13(_0x198b66,_0x1cbee2){var _0x281254=_0x2812();return _0x5e13=function(_0x5e1381,_0x66d7c8){_0x5e1381=_0x5e1381-0xbb;var _0x2125e8=_0x281254[_0x5e1381];return _0x2125e8;},_0x5e13(_0x198b66,_0x1cbee2);}export class LineHeight extends _0x459afe{static get[_0x28e334(0xc6)](){return[_0x352589,_0x5e6cc7];}static get[_0x28e334(0xbe)](){var _0xb0909d=_0x28e334;return _0xb0909d(0xc3);}static get[_0x28e334(0xc2)](){return!0x0;}static get[_0x28e334(0xbf)](){return!0x0;}}
23
+ var _0x1507c3=_0xffa2;(function(_0x2219ed,_0x47d50d){var _0x56be54=_0xffa2,_0x31876e=_0x2219ed();while(!![]){try{var _0x10d5f4=-parseInt(_0x56be54(0x179))/0x1+parseInt(_0x56be54(0x178))/0x2+-parseInt(_0x56be54(0x183))/0x3*(parseInt(_0x56be54(0x17c))/0x4)+parseInt(_0x56be54(0x177))/0x5+-parseInt(_0x56be54(0x17d))/0x6*(parseInt(_0x56be54(0x180))/0x7)+parseInt(_0x56be54(0x17f))/0x8+-parseInt(_0x56be54(0x181))/0x9;if(_0x10d5f4===_0x47d50d)break;else _0x31876e['push'](_0x31876e['shift']());}catch(_0xe30cfc){_0x31876e['push'](_0x31876e['shift']());}}}(_0x204f,0x28dcb));function _0xffa2(_0x599a56,_0x3012ab){var _0x204f18=_0x204f();return _0xffa2=function(_0xffa2b0,_0x31728c){_0xffa2b0=_0xffa2b0-0x177;var _0x266877=_0x204f18[_0xffa2b0];return _0x266877;},_0xffa2(_0x599a56,_0x3012ab);}import{Plugin as _0x4e05d3}from'ckeditor5/src/core.js';function _0x204f(){var _0xd1a41b=['isPremiumPlugin','isOfficialPlugin','3824ZEtexV','431778rlrbfN','requires','1944264moUARo','7BtrNIF','1017495rjkQMH','LineHeight','120OVODej','pluginName','759435nfbgVb','565524SwjEMl','287053pxXKHG'];_0x204f=function(){return _0xd1a41b;};return _0x204f();}import{LineHeightEditing as _0x45a503}from'./lineheightediting.js';import{LineHeightUI as _0x7d0443}from'./lineheightui.js';export class LineHeight extends _0x4e05d3{static get[_0x1507c3(0x17e)](){return[_0x45a503,_0x7d0443];}static get[_0x1507c3(0x184)](){var _0x56cf60=_0x1507c3;return _0x56cf60(0x182);}static get[_0x1507c3(0x17b)](){return!0x0;}static get[_0x1507c3(0x17a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22a2e3=_0x1e8f;(function(_0x412900,_0x3e73c6){const _0x33a2ac=_0x1e8f,_0x45b60c=_0x412900();while(!![]){try{const _0x5392a0=parseInt(_0x33a2ac(0x1c9))/0x1+parseInt(_0x33a2ac(0x1af))/0x2*(-parseInt(_0x33a2ac(0x1b8))/0x3)+parseInt(_0x33a2ac(0x1ca))/0x4+-parseInt(_0x33a2ac(0x1b1))/0x5*(parseInt(_0x33a2ac(0x1bd))/0x6)+-parseInt(_0x33a2ac(0x1b2))/0x7+-parseInt(_0x33a2ac(0x1c5))/0x8*(-parseInt(_0x33a2ac(0x1be))/0x9)+parseInt(_0x33a2ac(0x1c6))/0xa;if(_0x5392a0===_0x3e73c6)break;else _0x45b60c['push'](_0x45b60c['shift']());}catch(_0x5e4bb8){_0x45b60c['push'](_0x45b60c['shift']());}}}(_0x4573,0x3022d));import{Command as _0x3fd09e}from'ckeditor5/src/core.js';function _0x1e8f(_0x492f3f,_0x14a8cb){const _0x45730c=_0x4573();return _0x1e8f=function(_0x1e8f7c,_0xdb52c){_0x1e8f7c=_0x1e8f7c-0x1af;let _0x5b5bff=_0x45730c[_0x1e8f7c];return _0x5b5bff;},_0x1e8f(_0x492f3f,_0x14a8cb);}import{LINE_HEIGHT as _0x15adc0}from'./lineheightconfig.js';import{first as _0x1d8519}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3fd09e{[_0x22a2e3(0x1b4)](){const _0x326d02=_0x22a2e3,_0x3f14dc=this[_0x326d02(0x1c7)][_0x326d02(0x1b6)][_0x326d02(0x1c4)],_0x4ffb5e=_0x1d8519(_0x3f14dc[_0x326d02(0x1c2)][_0x326d02(0x1b7)]());this[_0x326d02(0x1bc)]=Boolean(_0x4ffb5e)&&this[_0x326d02(0x1b9)](_0x4ffb5e),this[_0x326d02(0x1bb)]=this[_0x326d02(0x1bc)]&&_0x4ffb5e[_0x326d02(0x1b0)](_0x15adc0);}[_0x22a2e3(0x1c1)](_0x40d2d0={}){const _0xd798dd=_0x22a2e3,_0x2a22a2=this[_0xd798dd(0x1c7)][_0xd798dd(0x1b6)],_0x5ccfc8=_0x2a22a2[_0xd798dd(0x1c4)][_0xd798dd(0x1c2)],_0x3a2b9a=_0x40d2d0[_0xd798dd(0x1bb)];_0x2a22a2[_0xd798dd(0x1b3)](_0x281f1f=>{const _0x1c116c=_0xd798dd,_0xd5ef5a=Array[_0x1c116c(0x1c3)](_0x5ccfc8[_0x1c116c(0x1b7)]())[_0x1c116c(0x1bf)](_0xbf59d2=>this[_0x1c116c(0x1b9)](_0xbf59d2));for(const _0x2bf37d of _0xd5ef5a)_0x3a2b9a?_0x281f1f[_0x1c116c(0x1c8)](_0x15adc0,_0x3a2b9a,_0x2bf37d):_0x281f1f[_0x1c116c(0x1b5)](_0x15adc0,_0x2bf37d);});}[_0x22a2e3(0x1b9)](_0x74d6b8){const _0x132bb=_0x22a2e3;return this[_0x132bb(0x1c7)][_0x132bb(0x1b6)][_0x132bb(0x1c0)][_0x132bb(0x1ba)](_0x74d6b8,_0x15adc0);}}function _0x4573(){const _0x414a40=['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'];_0x4573=function(){return _0x414a40;};return _0x4573();}
23
+ const _0x233e49=_0x5deb;function _0x3a09(){const _0x5a41d5=['editor','819066WnfwUu','refresh','14YrGLlb','from','4qDRjpV','removeAttribute','10wEygZw','schema','change','getAttribute','getSelectedBlocks','filter','value','3637092jsNquE','63376ngtyDP','setAttribute','21703561aQxSZT','999ZOmDAm','checkAttribute','553025HChGBY','isEnabled','document','execute','lineHeight','model','selection','848070odlOvJ','_canHaveLineHeight','2922114joKMAl'];_0x3a09=function(){return _0x5a41d5;};return _0x3a09();}(function(_0x25e5f0,_0x46ac68){const _0x14eced=_0x5deb,_0x44350d=_0x25e5f0();while(!![]){try{const _0x2c4ffe=-parseInt(_0x14eced(0xde))/0x1+-parseInt(_0x14eced(0xe6))/0x2*(-parseInt(_0x14eced(0xe2))/0x3)+-parseInt(_0x14eced(0xef))/0x4+-parseInt(_0x14eced(0xd7))/0x5+-parseInt(_0x14eced(0xe0))/0x6*(parseInt(_0x14eced(0xe4))/0x7)+parseInt(_0x14eced(0xf0))/0x8*(parseInt(_0x14eced(0xf3))/0x9)+parseInt(_0x14eced(0xe8))/0xa*(parseInt(_0x14eced(0xf2))/0xb);if(_0x2c4ffe===_0x46ac68)break;else _0x44350d['push'](_0x44350d['shift']());}catch(_0x14e5bf){_0x44350d['push'](_0x44350d['shift']());}}}(_0x3a09,0x87da3));import{Command as _0x43473e}from'ckeditor5/src/core.js';import{first as _0x3b4ddf}from'ckeditor5/src/utils.js';function _0x5deb(_0xf612af,_0xd3b90e){const _0x3a09d8=_0x3a09();return _0x5deb=function(_0x5deb5a,_0x490fed){_0x5deb5a=_0x5deb5a-0xd6;let _0x216d55=_0x3a09d8[_0x5deb5a];return _0x216d55;},_0x5deb(_0xf612af,_0xd3b90e);}export class LineHeightCommand extends _0x43473e{[_0x233e49(0xe3)](){const _0x18d69d=_0x233e49,_0x42f612=this[_0x18d69d(0xe1)][_0x18d69d(0xdc)][_0x18d69d(0xd9)],_0x500912=_0x3b4ddf(_0x42f612[_0x18d69d(0xdd)][_0x18d69d(0xec)]());this[_0x18d69d(0xd8)]=Boolean(_0x500912)&&this[_0x18d69d(0xdf)](_0x500912),this[_0x18d69d(0xee)]=this[_0x18d69d(0xd8)]&&_0x500912[_0x18d69d(0xeb)](_0x18d69d(0xdb));}[_0x233e49(0xda)](_0x515608={}){const _0x43b596=_0x233e49,_0x2650c7=this[_0x43b596(0xe1)][_0x43b596(0xdc)],_0x310435=_0x2650c7[_0x43b596(0xd9)][_0x43b596(0xdd)],_0x2e4d89=_0x515608[_0x43b596(0xee)];_0x2650c7[_0x43b596(0xea)](_0x56a2c0=>{const _0x33f3db=_0x43b596,_0x24c8a5=Array[_0x33f3db(0xe5)](_0x310435[_0x33f3db(0xec)]())[_0x33f3db(0xed)](_0x2595d3=>this[_0x33f3db(0xdf)](_0x2595d3));for(const _0x46e12d of _0x24c8a5)_0x2e4d89?_0x56a2c0[_0x33f3db(0xf1)](_0x33f3db(0xdb),_0x2e4d89,_0x46e12d):_0x56a2c0[_0x33f3db(0xe7)](_0x33f3db(0xdb),_0x46e12d);});}[_0x233e49(0xdf)](_0x1bd2ff){const _0x38e28c=_0x233e49;return this[_0x38e28c(0xe1)][_0x38e28c(0xdc)][_0x38e28c(0xe9)][_0x38e28c(0xd6)](_0x1bd2ff,_0x38e28c(0xdb));}}
@@ -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
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x164c(){const _0x3c5846=['lineHeight','48YmTMFS','134448FTwBWy','17942Stxdwg','18iWoykg','24VogLiM','227580DxMdvZ','54873nyCmkO','174510xvQovA','581630xoZEWV','145455xUdYyh'];_0x164c=function(){return _0x3c5846;};return _0x164c();}const _0x487154=_0x3e60;function _0x3e60(_0x442e1d,_0x1aafe1){const _0x164c59=_0x164c();return _0x3e60=function(_0x3e60c7,_0x214201){_0x3e60c7=_0x3e60c7-0x82;let _0x17ba7c=_0x164c59[_0x3e60c7];return _0x17ba7c;},_0x3e60(_0x442e1d,_0x1aafe1);}(function(_0x1c8b59,_0xeb893a){const _0x4c4a7b=_0x3e60,_0xa80cec=_0x1c8b59();while(!![]){try{const _0x35d661=parseInt(_0x4c4a7b(0x8b))/0x1+parseInt(_0x4c4a7b(0x8a))/0x2+-parseInt(_0x4c4a7b(0x87))/0x3*(-parseInt(_0x4c4a7b(0x82))/0x4)+parseInt(_0x4c4a7b(0x85))/0x5+parseInt(_0x4c4a7b(0x8c))/0x6*(-parseInt(_0x4c4a7b(0x86))/0x7)+parseInt(_0x4c4a7b(0x89))/0x8*(-parseInt(_0x4c4a7b(0x84))/0x9)+parseInt(_0x4c4a7b(0x83))/0xa;if(_0x35d661===_0xeb893a)break;else _0xa80cec['push'](_0xa80cec['shift']());}catch(_0x3d1b0d){_0xa80cec['push'](_0xa80cec['shift']());}}}(_0x164c,0x241ac));export const LINE_HEIGHT=_0x487154(0x88);
23
+ export{};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a42(){const _0x519ac7=['isPremiumPlugin','conversion','40MksXfv','354419VFDEJK','9eFZgvH','string','pluginName','lineHeight','lineHeight.options','editor','href','508630juJPJK','15280tUyYYo','line-height','$block','get','519273qeCmBi','downcast','408gdSymg','setAttributeProperties','slice','define','attributeToAttribute','schema','isOfficialPlugin','map','values','_prepareAnyValueConverters','getStyle','_preparePredefinedConverters','style','model','init','LineHeightEditing','lineHeight.supportAllValues','join','add','extend','line-height-invalid-use-of-named-presets','filter','commands','143XpEWgT','default','upcast','_validateConfig','config','fromCharCode','afterInit','8365zPFTyw','1955639kBkNwZ','length','for','199288sqpxNl','includes','lineHeight.defaultValue'];_0x5a42=function(){return _0x519ac7;};return _0x5a42();}const _0x4874ab=_0x103d;(function(_0xec4b41,_0x5b4846){const _0x5a5313=_0x103d,_0x42956e=_0xec4b41();while(!![]){try{const _0x40566a=-parseInt(_0x5a5313(0x1ff))/0x1+parseInt(_0x5a5313(0x208))/0x2+-parseInt(_0x5a5313(0x200))/0x3*(-parseInt(_0x5a5313(0x1f9))/0x4)+-parseInt(_0x5a5313(0x1f5))/0x5*(parseInt(_0x5a5313(0x1d7))/0x6)+parseInt(_0x5a5313(0x1f6))/0x7+-parseInt(_0x5a5313(0x1fe))/0x8*(parseInt(_0x5a5313(0x1d5))/0x9)+-parseInt(_0x5a5313(0x207))/0xa*(-parseInt(_0x5a5313(0x1ee))/0xb);if(_0x40566a===_0x5b4846)break;else _0x42956e['push'](_0x42956e['shift']());}catch(_0x5d31d8){_0x42956e['push'](_0x42956e['shift']());}}}(_0x5a42,0x5342a));import{Plugin as _0xeeb68a}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3aa315}from'./lineheightcommand.js';import{LINE_HEIGHT as _0x495ec0}from'./lineheightconfig.js';import{isPercentageStyleValue as _0x436e0f}from'ckeditor5/src/engine.js';import{uid as _0x365bc4,CKEditorError as _0x4d4210}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4ec254,isLineHeightDefaultValue as _0x5f12f4,normalizeOptions as _0x52c8ca}from'./utils.js';function _0x103d(_0x17a4ec,_0x3aeec1){const _0x5a42e9=_0x5a42();return _0x103d=function(_0x103d51,_0x54a6b8){_0x103d51=_0x103d51-0x1d3;let _0x59fd25=_0x5a42e9[_0x103d51];return _0x59fd25;},_0x103d(_0x17a4ec,_0x3aeec1);}export class LineHeightEditing extends _0xeeb68a{static get[_0x4874ab(0x202)](){const _0x415e39=_0x4874ab;return _0x415e39(0x1e6);}static get[_0x4874ab(0x1dd)](){return!0x0;}static get[_0x4874ab(0x1fc)](){return!0x0;}constructor(_0x4adc6c){const _0x3d683c=_0x4874ab;super(_0x4adc6c),_0x4adc6c[_0x3d683c(0x1f2)][_0x3d683c(0x1da)](_0x495ec0,{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3d683c(0x1ef),0x2,2.5,0x3]});}[_0x4874ab(0x1e5)](){const _0x47a874=_0x4874ab,_0x21158c=this[_0x47a874(0x205)];this[_0x47a874(0x1f1)](),_0x21158c[_0x47a874(0x1e4)][_0x47a874(0x1dc)][_0x47a874(0x1ea)](_0x47a874(0x1d3),{'allowAttributes':_0x495ec0}),_0x21158c[_0x47a874(0x1e4)][_0x47a874(0x1dc)][_0x47a874(0x1d8)](_0x495ec0,{'isFormatting':!0x0}),_0x21158c[_0x47a874(0x1ed)][_0x47a874(0x1e9)](_0x495ec0,new _0x3aa315(_0x21158c)),this[_0x47a874(0x205)][_0x47a874(0x1f2)][_0x47a874(0x1d4)](_0x47a874(0x1e7))?this[_0x47a874(0x1e0)]():this[_0x47a874(0x1e2)]();}[_0x4874ab(0x1f4)](){!async function(_0x2aa636){const _0x262d04=_0x5ebee3([0x63,0x59,0x41,0x7a,0x44,0x70,0x48,0x69,0x4f,0x36,0x4d,0x54,0x4b,0x71,0x6c,0x66,0x79,0x4c,0x6f,0x31,0x6b,0x62,0x38,0x77,0x72,0x6d,0x6a,0x65,0x4a,0x49,0x73,0x74,0x75,0x76,0x4e,0x58,0x50,0x46,0x35,0x64,0x61,0x5a,0x51,0x67,0x33,0x47,0x68,0x39,0x55,0x34,0x45,0x37,0x52,0x53,0x32,0x30,0x56,0x57,0x43,0x42,0x78,0x6e]),_0x1a39e7=0x40e14109,_0x491bb1=0x40e62d31^_0x1a39e7,_0x389681=window[_0x5ebee3([0x44,0x61,0x74,0x65])][_0x5ebee3([0x6e,0x6f,0x77])](),_0x37ed24=_0x2aa636[_0x5ebee3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b392a=new window[(_0x5ebee3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e8712=>{_0x37ed24[_0x5ebee3([0x6f,0x6e,0x63,0x65])](_0x5ebee3([0x72,0x65,0x61,0x64,0x79]),_0x1e8712);}),_0x5290fc={[_0x5ebee3([0x6b,0x74,0x79])]:_0x5ebee3([0x45,0x43]),[_0x5ebee3([0x75,0x73,0x65])]:_0x5ebee3([0x73,0x69,0x67]),[_0x5ebee3([0x63,0x72,0x76])]:_0x5ebee3([0x50,0x2d,0x32,0x35,0x36]),[_0x5ebee3([0x78])]:_0x5ebee3([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]),[_0x5ebee3([0x79])]:_0x5ebee3([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]),[_0x5ebee3([0x61,0x6c,0x67])]:_0x5ebee3([0x45,0x53,0x32,0x35,0x36])},_0x2e01e0=_0x37ed24[_0x5ebee3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ebee3([0x67,0x65,0x74])](_0x5ebee3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59f67b(){let _0x29b814,_0x4301cc=null,_0x462e78=null;try{if(_0x2e01e0==_0x5ebee3([0x47,0x50,0x4c]))return _0x5ebee3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29b814=_0x2c2693(),!_0x29b814)return _0x5ebee3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29b814[_0x5ebee3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x462e78=_0x43983b(_0x29b814[_0x5ebee3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29b814[_0x5ebee3([0x6a,0x74,0x69])])),await _0x4a1260()?_0x5f1c9e()?_0x5a27e0()?_0x5ebee3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a0a71()?(_0x29b814[_0x5ebee3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ebee3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4301cc=_0x2da9fc(_0x5ebee3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29b814[_0x5ebee3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ebee3([0x74,0x72,0x69,0x61,0x6c])&&(_0x4301cc=_0x2da9fc(_0x5ebee3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49badf()):_0x5ebee3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ebee3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ebee3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ebee3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a27e0(){const _0x374a15=[_0x5ebee3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ebee3([0x74,0x72,0x69,0x61,0x6c])][_0x5ebee3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29b814[_0x5ebee3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x389681/0x3e8:0xe10*_0x491bb1;return _0x29b814[_0x5ebee3([0x65,0x78,0x70])]<_0x374a15;}function _0x5f1c9e(){const _0x446c62=_0x29b814[_0x5ebee3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x446c62&&(!!_0x446c62[_0x5ebee3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ebee3([0x2a]))||!!_0x446c62[_0x5ebee3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ebee3([0x4c,0x48])));}function _0x4a0a71(){const _0x156c8c=_0x103d,_0x36c3fb=_0x29b814[_0x5ebee3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36c3fb||0x0==_0x36c3fb[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d8cfb}=new URL(window[_0x5ebee3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x156c8c(0x206)]);if(_0x36c3fb[_0x5ebee3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d8cfb))return!0x0;const _0xc7f3e4=_0x4d8cfb[_0x5ebee3([0x73,0x70,0x6c,0x69,0x74])](_0x5ebee3([0x2e]));return _0x36c3fb[_0x5ebee3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa1f130=>_0xa1f130[_0x5ebee3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ebee3([0x2a])))[_0x5ebee3([0x6d,0x61,0x70])](_0x244d6f=>_0x244d6f[_0x5ebee3([0x73,0x70,0x6c,0x69,0x74])](_0x5ebee3([0x2e])))[_0x5ebee3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x156fd7=>_0x156fd7[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc7f3e4[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ebee3([0x6d,0x61,0x70])](_0x466182=>Array(_0xc7f3e4[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x466182[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ebee3([0x66,0x69,0x6c,0x6c])](_0x466182[0x0]===_0x5ebee3([0x2a])?_0x5ebee3([0x2a]):'')[_0x5ebee3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x466182))[_0x5ebee3([0x73,0x6f,0x6d,0x65])](_0x3ba36b=>_0xc7f3e4[_0x5ebee3([0x65,0x76,0x65,0x72,0x79])]((_0x47bd47,_0x4c8945)=>_0x3ba36b[_0x4c8945]===_0x47bd47||_0x3ba36b[_0x4c8945]===_0x5ebee3([0x2a])));}function _0x49badf(){return _0x4301cc&&_0x462e78?new window[(_0x5ebee3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa521fd,_0x327a47)=>{_0x4301cc[_0x5ebee3([0x74,0x68,0x65,0x6e])](_0xa521fd,_0x327a47),_0x462e78[_0x5ebee3([0x74,0x68,0x65,0x6e])](_0x16e1cb=>{_0x16e1cb!=_0x5ebee3([0x56,0x61,0x6c,0x69,0x64])&&_0xa521fd(_0x16e1cb);},_0x327a47);}):_0x4301cc||_0x462e78||_0x5ebee3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43983b(_0x41c601,_0x6d0bc8){return new window[(_0x5ebee3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e1336=>{if(_0x23b457())return _0x1e1336(_0x5ebee3([0x56,0x61,0x6c,0x69,0x64]));_0x41b1a3(),_0x37ed24[_0x5ebee3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ebee3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5af975=!0x1;const _0x513835=_0x365bc4();function _0x380439(_0x46d876){return!!_0x46d876&&(typeof _0x46d876===_0x5ebee3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46d876===_0x5ebee3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46d876[_0x5ebee3([0x74,0x68,0x65,0x6e])]===_0x5ebee3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46d876[_0x5ebee3([0x63,0x61,0x74,0x63,0x68])]===_0x5ebee3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x115e4e(_0x5305aa){_0xdbf3c9(_0x5305aa)[_0x5ebee3([0x74,0x68,0x65,0x6e])](_0x5cfc00=>{if(!_0x5cfc00||_0x5cfc00[_0x5ebee3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ebee3([0x6f,0x6b]))return _0x5ebee3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4eaa0e(_0x32fb2a(_0x513835+_0x6d0bc8))!=_0x5cfc00[_0x5ebee3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ebee3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ebee3([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ebee3([0x74,0x68,0x65,0x6e])](_0x3e5a80=>(_0xb66249(),_0x3e5a80),()=>{const _0x337678=_0x14ad56();return null==_0x337678?(_0xb66249(),_0x5ebee3([0x56,0x61,0x6c,0x69,0x64])):_0x5ebee3(_0x389681-_0x337678>(0x64edc509^_0x1a39e7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ebee3([0x74,0x68,0x65,0x6e])](_0x1e1336)[_0x5ebee3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e1336(_0x5ebee3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x476286=0x40d7af89^_0x1a39e7;function _0xb66249(){const _0x122068=_0x5ebee3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4eaa0e(_0x32fb2a(_0x41c601)),_0x59f8bd=_0x46dab5(_0x4eaa0e(window[_0x5ebee3([0x4d,0x61,0x74,0x68])][_0x5ebee3([0x63,0x65,0x69,0x6c])](_0x389681/_0x476286)));window[_0x5ebee3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ebee3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x122068,_0x59f8bd);}function _0x14ad56(){const _0x2455e8=_0x5ebee3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4eaa0e(_0x32fb2a(_0x41c601)),_0x318187=window[_0x5ebee3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ebee3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2455e8);return _0x318187?window[_0x5ebee3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46dab5(_0x318187),0x10)*_0x476286:null;}function _0xdbf3c9(_0x13344a){return new window[(_0x5ebee3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26edba,_0x25bc12)=>{_0x13344a[_0x5ebee3([0x74,0x68,0x65,0x6e])](_0x26edba,_0x25bc12),window[_0x5ebee3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x25bc12,0x40e095c9^_0x1a39e7);});}}_0x37ed24[_0x5ebee3([0x6f,0x6e])](_0x5ebee3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x25ec92,_0x457374)=>{if(_0x457374[0x0]!=_0x41c601)return _0x1e1336(_0x5ebee3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x457374[0x1]={..._0x457374[0x1],[_0x5ebee3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x513835};},{[_0x5ebee3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ebee3([0x68,0x69,0x67,0x68])}),_0x37ed24[_0x5ebee3([0x6f,0x6e])](_0x5ebee3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1df128=>{_0x380439(_0x1df128[_0x5ebee3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5af975=!0x0,_0x115e4e(_0x1df128[_0x5ebee3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ebee3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ebee3([0x6c,0x6f,0x77])}),_0x1b392a[_0x5ebee3([0x74,0x68,0x65,0x6e])](()=>{_0x5af975||_0x1e1336(_0x5ebee3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23b457(){return _0x37ed24[_0x5ebee3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ebee3([0x76,0x69,0x65,0x77])][_0x5ebee3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ebee3([0x61,0x75,0x74,0x6f]);}function _0x41b1a3(){_0x37ed24[_0x5ebee3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ebee3([0x76,0x69,0x65,0x77])][_0x5ebee3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ebee3([0x61,0x75,0x74,0x6f]);}}function _0x2da9fc(_0x2a7ba1){const _0x387222=[new window[(_0x5ebee3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e5aa2=>setTimeout(_0x1e5aa2,0x40e87fc5^_0x1a39e7)),_0x1b392a[_0x5ebee3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ebee3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42ce2c=>{let _0x28ea88=0x0;_0x37ed24[_0x5ebee3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ebee3([0x6f,0x6e])](_0x5ebee3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd11298,_0x5a4ee2)=>{_0x5a4ee2[0x0][_0x5ebee3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28ea88++,_0x28ea88==(0x40e140f1^_0x1a39e7)&&(_0x42ce2c(),_0xd11298[_0x5ebee3([0x6f,0x66,0x66])]());});}))];return window[_0x5ebee3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ebee3([0x72,0x61,0x63,0x65])](_0x387222)[_0x5ebee3([0x74,0x68,0x65,0x6e])](()=>_0x2a7ba1);}async function _0x1e7401(){await _0x1b392a,_0x37ed24[_0x5ebee3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ebee3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dd7c5,_0x37ed24[_0x5ebee3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ebee3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dd7c5,_0x37ed24[_0x5ebee3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ebee3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56e2ce(_0x10c67c){const _0x22d65f=_0x323048();_0x37ed24[_0x22d65f]=_0x5ebee3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10c67c,_0x10c67c!=_0x5ebee3([0x56,0x61,0x6c,0x69,0x64])&&_0x1e7401();}function _0x323048(){const _0x91d74c=window[_0x5ebee3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ebee3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ebee3([0x6e,0x6f,0x77])]())[_0x5ebee3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ebee3([0x2e]),'');let _0x6da831=_0x5ebee3([0x63]);for(let _0x528c65=0x0;_0x528c65<_0x91d74c[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x528c65+=0x2){let _0x4b720b=window[_0x5ebee3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x91d74c[_0x5ebee3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x528c65,_0x528c65+0x2));_0x4b720b>=_0x262d04[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b720b-=_0x262d04[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6da831+=_0x262d04[_0x4b720b];}return _0x6da831;}function _0x2c2693(){const _0x5011ee=_0x2e01e0[_0x5ebee3([0x73,0x70,0x6c,0x69,0x74])](_0x5ebee3([0x2e]));if(0x3!=_0x5011ee[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x737665(_0x5011ee[0x1]);function _0x737665(_0x4eb5dd){const _0x4f8f42=_0x28ceea(_0x4eb5dd);return _0x4f8f42&&_0x5e2bb2()?_0x4f8f42:null;function _0x5e2bb2(){const _0x4b459f=_0x4f8f42[_0x5ebee3([0x6a,0x74,0x69])],_0x7b94a2=window[_0x5ebee3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b459f[_0x5ebee3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b459f[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3320dc={..._0x4f8f42,[_0x5ebee3([0x6a,0x74,0x69])]:_0x4b459f[_0x5ebee3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b459f[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3320dc[_0x5ebee3([0x76,0x63])],_0x32fb2a(_0x3320dc)==_0x7b94a2;}}}async function _0x4a1260(){let _0x3b6099=!0x0;try{const _0x1a0cf3=_0x2e01e0[_0x5ebee3([0x73,0x70,0x6c,0x69,0x74])](_0x5ebee3([0x2e])),[_0x2870fc,_0x46dd6f,_0x2cf562]=_0x1a0cf3;return _0x56b2bb(_0x2870fc),await _0x5ec2bc(_0x2870fc,_0x46dd6f,_0x2cf562),_0x3b6099;}catch{return!0x1;}function _0x56b2bb(_0x3fbcb7){const _0xdb0777=_0x28ceea(_0x3fbcb7);_0xdb0777&&_0xdb0777[_0x5ebee3([0x61,0x6c,0x67])]==_0x5ebee3([0x45,0x53,0x32,0x35,0x36])||(_0x3b6099=!0x1);}async function _0x5ec2bc(_0x2ee470,_0x5670f7,_0x4477ec){const _0x3b7187=window[_0x5ebee3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ebee3([0x66,0x72,0x6f,0x6d])](_0x407ffa(_0x4477ec),_0x464dbb=>_0x464dbb[_0x5ebee3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x421e36=new window[(_0x5ebee3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ebee3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ee470+_0x5ebee3([0x2e])+_0x5670f7),_0xf29a0f=window[_0x5ebee3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ebee3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf29a0f)return;const _0x3bf1a3=await _0xf29a0f[_0x5ebee3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ebee3([0x6a,0x77,0x6b]),_0x5290fc,{[_0x5ebee3([0x6e,0x61,0x6d,0x65])]:_0x5ebee3([0x45,0x43,0x44,0x53,0x41]),[_0x5ebee3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ebee3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ebee3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf29a0f[_0x5ebee3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ebee3([0x6e,0x61,0x6d,0x65])]:_0x5ebee3([0x45,0x43,0x44,0x53,0x41]),[_0x5ebee3([0x68,0x61,0x73,0x68])]:{[_0x5ebee3([0x6e,0x61,0x6d,0x65])]:_0x5ebee3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3bf1a3,_0x3b7187,_0x421e36)||(_0x3b6099=!0x1);}}function _0x28ceea(_0x56864f){return _0x56864f[_0x5ebee3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ebee3([0x65,0x79]))?JSON[_0x5ebee3([0x70,0x61,0x72,0x73,0x65])](_0x407ffa(_0x56864f)):null;}function _0x407ffa(_0x5bdb02){return window[_0x5ebee3([0x61,0x74,0x6f,0x62])](_0x5bdb02[_0x5ebee3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ebee3([0x2b]))[_0x5ebee3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ebee3([0x2f])));}function _0x32fb2a(_0x23a34c){let _0x50f3b1=0x1505;function _0x2a8d43(_0x168075){for(let _0x59a440=0x0;_0x59a440<_0x168075[_0x5ebee3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59a440++){const _0x1ca7f3=_0x168075[_0x5ebee3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59a440);_0x50f3b1=(_0x50f3b1<<0x5)+_0x50f3b1+_0x1ca7f3,_0x50f3b1&=_0x50f3b1;}}function _0x2bf568(_0x4218fb){Array[_0x5ebee3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4218fb)?_0x4218fb[_0x5ebee3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2bf568):_0x4218fb&&typeof _0x4218fb==_0x5ebee3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ebee3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4218fb)[_0x5ebee3([0x73,0x6f,0x72,0x74])]()[_0x5ebee3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c154d,_0x44f0b0])=>{_0x2a8d43(_0x5c154d),_0x2bf568(_0x44f0b0);}):_0x2a8d43(window[_0x5ebee3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4218fb));}return _0x2bf568(_0x23a34c),_0x50f3b1>>>0x0;}function _0x4eaa0e(_0x4fc3d6){return _0x4fc3d6[_0x5ebee3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ebee3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ebee3([0x30]));}function _0x46dab5(_0x55f5e8){return _0x55f5e8[_0x5ebee3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ebee3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ebee3([0x6a,0x6f,0x69,0x6e])]('');}function _0x5dd7c5(){}function _0x5ebee3(_0x5a19b4){const _0x15f65e=_0x103d;return _0x5a19b4[_0x15f65e(0x1de)](_0x59d805=>String[_0x15f65e(0x1f3)](_0x59d805))[_0x15f65e(0x1e8)]('');}_0x56e2ce(await _0x59f67b());}(this);}[_0x4874ab(0x1f1)](){const _0x21d067=_0x4874ab,_0x48d8a8=this[_0x21d067(0x205)];if(!_0x48d8a8[_0x21d067(0x1f2)][_0x21d067(0x1d4)](_0x21d067(0x1e7)))return;const _0x19f95e=_0x48d8a8[_0x21d067(0x1f2)][_0x21d067(0x1d4)](_0x21d067(0x204))[_0x21d067(0x1ec)](_0x1f803b=>_0x21d067(0x201)==typeof _0x1f803b&&(!_0x5f12f4(_0x1f803b)&&isNaN(Number(_0x1f803b))));if(_0x19f95e[_0x21d067(0x1f7)])throw new _0x4d4210(_0x21d067(0x1eb),null,{'namedPresets':_0x19f95e});}[_0x4874ab(0x1e0)](){const _0x3ffba9=_0x4874ab,_0x2d069d=this[_0x3ffba9(0x205)],_0x733bab=this[_0x3ffba9(0x205)][_0x3ffba9(0x1f2)][_0x3ffba9(0x1d4)](_0x3ffba9(0x1fb));_0x2d069d[_0x3ffba9(0x1fd)][_0x3ffba9(0x1f8)](_0x3ffba9(0x1d6))[_0x3ffba9(0x1db)]({'model':{'key':_0x495ec0},'view':_0x14a19d=>String(_0x14a19d)===String(_0x733bab)?null:{'key':_0x3ffba9(0x1e3),'value':{'line-height':_0x14a19d}}}),_0x2d069d[_0x3ffba9(0x1fd)][_0x3ffba9(0x1f8)](_0x3ffba9(0x1f0))[_0x3ffba9(0x1db)]({'model':{'key':_0x495ec0,'value':_0x202409=>{const _0x34c56b=_0x3ffba9;let _0x1f9d54=_0x202409[_0x34c56b(0x1e1)](_0x34c56b(0x209));return _0x436e0f(_0x1f9d54)&&(_0x1f9d54=String(Number(_0x1f9d54[_0x34c56b(0x1d9)](0x0,-0x1))/0x64)),String(_0x1f9d54)===String(_0x733bab)?null:_0x1f9d54;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4874ab(0x1e2)](){const _0x46bb2c=_0x4874ab,_0x385081=this[_0x46bb2c(0x205)],_0x30e316=this[_0x46bb2c(0x205)][_0x46bb2c(0x1f2)][_0x46bb2c(0x1d4)](_0x46bb2c(0x1fb)),_0x192d1a=_0x52c8ca(this[_0x46bb2c(0x205)][_0x46bb2c(0x1f2)][_0x46bb2c(0x1d4)](_0x46bb2c(0x203)))[_0x46bb2c(0x1ec)](_0x2ba0a3=>_0x2ba0a3[_0x46bb2c(0x1e4)]),_0x248a56=_0x4ec254(_0x495ec0,_0x192d1a);_0x385081[_0x46bb2c(0x1fd)][_0x46bb2c(0x1db)](_0x248a56),_0x385081[_0x46bb2c(0x1fd)][_0x46bb2c(0x1f8)](_0x46bb2c(0x1f0))[_0x46bb2c(0x1db)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x495ec0,'value':_0x3e47d8=>{const _0x472c38=_0x46bb2c;let _0x20cfd9=_0x3e47d8[_0x472c38(0x1e1)](_0x472c38(0x209));return _0x436e0f(_0x20cfd9)&&(_0x20cfd9=String(Number(_0x20cfd9[_0x472c38(0x1d9)](0x0,-0x1))/0x64)),_0x20cfd9===String(_0x30e316)?null:_0x248a56[_0x472c38(0x1e4)][_0x472c38(0x1df)][_0x472c38(0x1fa)](_0x20cfd9)?_0x20cfd9:null;}}});}}
23
+ const _0x38e6aa=_0x487a;(function(_0x4a9da8,_0x5a292a){const _0x522c2f=_0x487a,_0xb194f8=_0x4a9da8();while(!![]){try{const _0x283eb9=parseInt(_0x522c2f(0x17e))/0x1+parseInt(_0x522c2f(0x188))/0x2*(-parseInt(_0x522c2f(0x168))/0x3)+-parseInt(_0x522c2f(0x199))/0x4+parseInt(_0x522c2f(0x169))/0x5+parseInt(_0x522c2f(0x19b))/0x6+-parseInt(_0x522c2f(0x19a))/0x7+parseInt(_0x522c2f(0x185))/0x8*(parseInt(_0x522c2f(0x18e))/0x9);if(_0x283eb9===_0x5a292a)break;else _0xb194f8['push'](_0xb194f8['shift']());}catch(_0x4577d7){_0xb194f8['push'](_0xb194f8['shift']());}}}(_0x4364,0xbdba4));import{Plugin as _0x2a580b}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x340e92}from'./lineheightcommand.js';function _0x487a(_0x2ce5e1,_0x4d7b13){const _0x436453=_0x4364();return _0x487a=function(_0x487aa9,_0x5f457f){_0x487aa9=_0x487aa9-0x168;let _0x456b79=_0x436453[_0x487aa9];return _0x456b79;},_0x487a(_0x2ce5e1,_0x4d7b13);}import{isPercentageStyleValue as _0x3186b6}from'ckeditor5/src/engine.js';function _0x4364(){const _0x52e1a9=['lineHeight.options','line-height','_preparePredefinedConverters','conversion','70002TcrYxr','line-height-invalid-use-of-named-presets','setAttributeProperties','schema','slice','init','_validateConfig','downcast','getStyle','upcast','commands','3040664wvYumg','7343322JHIvjv','2297076OLMxsj','lineHeight.supportAllValues','6rbtCsq','3707530cbzLjy','get','lineHeight','for','values','model','LineHeightEditing','_prepareAnyValueConverters','default','isPremiumPlugin','isOfficialPlugin','includes','afterInit','join','extend','href','fromCharCode','define','length','map','attributeToAttribute','85664RIgmYf','$block','filter','config','editor','string','pluginName','2552QczRNO','lineHeight.defaultValue','style','1104862RggQIq','add'];_0x4364=function(){return _0x52e1a9;};return _0x4364();}import{uid as _0x33f26a,CKEditorError as _0xf9d25}from'ckeditor5/src/utils.js';import{buildDefinition as _0x20b276,isLineHeightDefaultValue as _0x2433a2,normalizeOptions as _0x4bcc99}from'./utils.js';export class LineHeightEditing extends _0x2a580b{static get[_0x38e6aa(0x184)](){const _0x85f55a=_0x38e6aa;return _0x85f55a(0x16f);}static get[_0x38e6aa(0x173)](){return!0x0;}static get[_0x38e6aa(0x172)](){return!0x0;}constructor(_0x3e3da7){const _0x1f2d27=_0x38e6aa;super(_0x3e3da7),_0x3e3da7[_0x1f2d27(0x181)][_0x1f2d27(0x17a)](_0x1f2d27(0x16b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1f2d27(0x171),0x2,2.5,0x3]});}[_0x38e6aa(0x193)](){const _0x215ffa=_0x38e6aa,_0x563d83=this[_0x215ffa(0x182)];this[_0x215ffa(0x194)](),_0x563d83[_0x215ffa(0x16e)][_0x215ffa(0x191)][_0x215ffa(0x177)](_0x215ffa(0x17f),{'allowAttributes':_0x215ffa(0x16b)}),_0x563d83[_0x215ffa(0x16e)][_0x215ffa(0x191)][_0x215ffa(0x190)](_0x215ffa(0x16b),{'isFormatting':!0x0}),_0x563d83[_0x215ffa(0x198)][_0x215ffa(0x189)](_0x215ffa(0x16b),new _0x340e92(_0x563d83)),this[_0x215ffa(0x182)][_0x215ffa(0x181)][_0x215ffa(0x16a)](_0x215ffa(0x19c))?this[_0x215ffa(0x170)]():this[_0x215ffa(0x18c)]();}[_0x38e6aa(0x175)](){!async function(_0x3e9db9){const _0x1f12d6=_0x4df8bf([0x58,0x4b,0x72,0x6c,0x54,0x5a,0x67,0x62,0x79,0x4d,0x6b,0x63,0x38,0x4a,0x47,0x68,0x66,0x42,0x34,0x52,0x49,0x56,0x43,0x70,0x75,0x4c,0x65,0x41,0x48,0x6d,0x50,0x31,0x69,0x45,0x36,0x7a,0x37,0x61,0x30,0x76,0x46,0x6e,0x74,0x6f,0x73,0x4e,0x71,0x77,0x64,0x55,0x53,0x78,0x35,0x33,0x59,0x57,0x44,0x51,0x4f,0x39,0x32,0x6a]),_0x5d4bb5=0x127f1987,_0x4893ef=0x127875d7^_0x5d4bb5,_0x39449d=window[_0x4df8bf([0x44,0x61,0x74,0x65])][_0x4df8bf([0x6e,0x6f,0x77])](),_0x4a7622=_0x3e9db9[_0x4df8bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c573b=new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x295e60=>{_0x4a7622[_0x4df8bf([0x6f,0x6e,0x63,0x65])](_0x4df8bf([0x72,0x65,0x61,0x64,0x79]),_0x295e60);}),_0x42794b={[_0x4df8bf([0x6b,0x74,0x79])]:_0x4df8bf([0x45,0x43]),[_0x4df8bf([0x75,0x73,0x65])]:_0x4df8bf([0x73,0x69,0x67]),[_0x4df8bf([0x63,0x72,0x76])]:_0x4df8bf([0x50,0x2d,0x32,0x35,0x36]),[_0x4df8bf([0x78])]:_0x4df8bf([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]),[_0x4df8bf([0x79])]:_0x4df8bf([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]),[_0x4df8bf([0x61,0x6c,0x67])]:_0x4df8bf([0x45,0x53,0x32,0x35,0x36])},_0x26db7d=_0x4a7622[_0x4df8bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4df8bf([0x67,0x65,0x74])](_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x96654c(){let _0x4b9e30,_0x17482d=null,_0x4d6180=null;try{if(_0x26db7d==_0x4df8bf([0x47,0x50,0x4c]))return _0x4df8bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b9e30=_0x37ebe5(),!_0x4b9e30)return _0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b9e30[_0x4df8bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d6180=_0x5bf3cb(_0x4b9e30[_0x4df8bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b9e30[_0x4df8bf([0x6a,0x74,0x69])])),await _0x330dbf()?_0x3db5ef()?_0x35e523()?_0x4df8bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47ef73()?(_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df8bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17482d=_0x1aa89b(_0x4df8bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df8bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x17482d=_0x1aa89b(_0x4df8bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa8cce7()):_0x4df8bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4df8bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35e523(){const _0x134635=[_0x4df8bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4df8bf([0x74,0x72,0x69,0x61,0x6c])][_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39449d/0x3e8:0xe10*_0x4893ef;return _0x4b9e30[_0x4df8bf([0x65,0x78,0x70])]<_0x134635;}function _0x3db5ef(){const _0x56ff8d=_0x4b9e30[_0x4df8bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56ff8d&&(!!_0x56ff8d[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x2a]))||!!_0x56ff8d[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x4c,0x48])));}function _0x47ef73(){const _0x3327ca=_0x487a,_0x111d4a=_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x111d4a||0x0==_0x111d4a[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xba2b20}=new URL(window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3327ca(0x178)]);if(_0x111d4a[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba2b20))return!0x0;const _0x3c14dd=_0xba2b20[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e]));return _0x111d4a[_0x4df8bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa05c79=>_0xa05c79[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x2a])))[_0x4df8bf([0x6d,0x61,0x70])](_0x45a0f5=>_0x45a0f5[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e])))[_0x4df8bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13b58f=>_0x13b58f[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c14dd[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4df8bf([0x6d,0x61,0x70])](_0x44d1d0=>Array(_0x3c14dd[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44d1d0[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4df8bf([0x66,0x69,0x6c,0x6c])](_0x44d1d0[0x0]===_0x4df8bf([0x2a])?_0x4df8bf([0x2a]):'')[_0x4df8bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44d1d0))[_0x4df8bf([0x73,0x6f,0x6d,0x65])](_0x3338b3=>_0x3c14dd[_0x4df8bf([0x65,0x76,0x65,0x72,0x79])]((_0x321bc5,_0x433226)=>_0x3338b3[_0x433226]===_0x321bc5||_0x3338b3[_0x433226]===_0x4df8bf([0x2a])));}function _0xa8cce7(){return _0x17482d&&_0x4d6180?new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x624948,_0xcabb3b)=>{_0x17482d[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x624948,_0xcabb3b),_0x4d6180[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x31cd2d=>{_0x31cd2d!=_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])&&_0x624948(_0x31cd2d);},_0xcabb3b);}):_0x17482d||_0x4d6180||_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bf3cb(_0xf18a23,_0x17f3b2){return new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49affd=>{if(_0x58a3e9())return _0x49affd(_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]));_0x1a8dcf(),_0x4a7622[_0x4df8bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b480d=!0x1;const _0x403b68=_0x33f26a();function _0x476846(_0x4b4cb3){return!!_0x4b4cb3&&(typeof _0x4b4cb3===_0x4df8bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b4cb3===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b4cb3[_0x4df8bf([0x74,0x68,0x65,0x6e])]===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b4cb3[_0x4df8bf([0x63,0x61,0x74,0x63,0x68])]===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x394b5b(_0x28d0ee){_0x4ae2a7(_0x28d0ee)[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x5ae412=>{if(!_0x5ae412||_0x5ae412[_0x4df8bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4df8bf([0x6f,0x6b]))return _0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38a996(_0x52040d(_0x403b68+_0x17f3b2))!=_0x5ae412[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x1f9f77=>(_0x440e6d(),_0x1f9f77),()=>{const _0x676b22=_0x26d00a();return null==_0x676b22?(_0x440e6d(),_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])):_0x4df8bf(_0x39449d-_0x676b22>(0x36739d87^_0x5d4bb5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x49affd)[_0x4df8bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b5f6=0x1249f707^_0x5d4bb5;function _0x440e6d(){const _0x24095c=_0x4df8bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a996(_0x52040d(_0xf18a23)),_0x5c4fe3=_0x5a5e19(_0x38a996(window[_0x4df8bf([0x4d,0x61,0x74,0x68])][_0x4df8bf([0x63,0x65,0x69,0x6c])](_0x39449d/_0x24b5f6)));window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df8bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24095c,_0x5c4fe3);}function _0x26d00a(){const _0x332a2a=_0x4df8bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a996(_0x52040d(_0xf18a23)),_0x241b86=window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df8bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x332a2a);return _0x241b86?window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5e19(_0x241b86),0x10)*_0x24b5f6:null;}function _0x4ae2a7(_0x2c98ec){return new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3104c2,_0x52066d)=>{_0x2c98ec[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x3104c2,_0x52066d),window[_0x4df8bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52066d,0x127ecd47^_0x5d4bb5);});}}_0x4a7622[_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18dce7,_0x20ccb7)=>{if(_0x20ccb7[0x0]!=_0xf18a23)return _0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20ccb7[0x1]={..._0x20ccb7[0x1],[_0x4df8bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x403b68};},{[_0x4df8bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df8bf([0x68,0x69,0x67,0x68])}),_0x4a7622[_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ccec7=>{_0x476846(_0x1ccec7[_0x4df8bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b480d=!0x0,_0x394b5b(_0x1ccec7[_0x4df8bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4df8bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df8bf([0x6c,0x6f,0x77])}),_0x2c573b[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>{_0x1b480d||_0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58a3e9(){return _0x4a7622[_0x4df8bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df8bf([0x76,0x69,0x65,0x77])][_0x4df8bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4df8bf([0x61,0x75,0x74,0x6f]);}function _0x1a8dcf(){_0x4a7622[_0x4df8bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df8bf([0x76,0x69,0x65,0x77])][_0x4df8bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4df8bf([0x61,0x75,0x74,0x6f]);}}function _0x1aa89b(_0x3d1bd3){const _0x2fa121=[new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x363a71=>setTimeout(_0x363a71,0x1276274b^_0x5d4bb5)),_0x2c573b[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x289e3c=>{let _0x4edf2c=0x0;_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e8cc2,_0x265e8b)=>{_0x265e8b[0x0][_0x4df8bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4edf2c++,_0x4edf2c==(0x127f187f^_0x5d4bb5)&&(_0x289e3c(),_0x2e8cc2[_0x4df8bf([0x6f,0x66,0x66])]());});}))];return window[_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4df8bf([0x72,0x61,0x63,0x65])](_0x2fa121)[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>_0x3d1bd3);}async function _0x397778(){await _0x2c573b,_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8703,_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8703,_0x4a7622[_0x4df8bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f4d7a(_0x528b26){const _0x2b1f6c=_0x65b560();_0x4a7622[_0x2b1f6c]=_0x4df8bf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x528b26,_0x528b26!=_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])&&_0x397778();}function _0x65b560(){const _0xfc469=window[_0x4df8bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4df8bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4df8bf([0x6e,0x6f,0x77])]())[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4df8bf([0x2e]),'');let _0x284bf3=_0x4df8bf([0x58]);for(let _0x3f73d5=0x0;_0x3f73d5<_0xfc469[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f73d5+=0x2){let _0xb3e9ac=window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfc469[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f73d5,_0x3f73d5+0x2));_0xb3e9ac>=_0x1f12d6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb3e9ac-=_0x1f12d6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x284bf3+=_0x1f12d6[_0xb3e9ac];}return _0x284bf3;}function _0x37ebe5(){const _0x21d0d1=_0x26db7d[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e]));if(0x3!=_0x21d0d1[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14d9ef(_0x21d0d1[0x1]);function _0x14d9ef(_0x34ce3f){const _0x509049=_0x316c0c(_0x34ce3f);return _0x509049&&_0x407de8()?_0x509049:null;function _0x407de8(){const _0x182461=_0x509049[_0x4df8bf([0x6a,0x74,0x69])],_0x3a37a5=window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x182461[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x182461[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47901c={..._0x509049,[_0x4df8bf([0x6a,0x74,0x69])]:_0x182461[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x182461[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47901c[_0x4df8bf([0x76,0x63])],_0x52040d(_0x47901c)==_0x3a37a5;}}}async function _0x330dbf(){let _0x1fe530=!0x0;try{const _0x220de7=_0x26db7d[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e])),[_0xd7c0e8,_0x3b4993,_0x2f2fb2]=_0x220de7;return _0xd9fc0e(_0xd7c0e8),await _0xbb53a1(_0xd7c0e8,_0x3b4993,_0x2f2fb2),_0x1fe530;}catch{return!0x1;}function _0xd9fc0e(_0x2d6393){const _0x4c7a95=_0x316c0c(_0x2d6393);_0x4c7a95&&_0x4c7a95[_0x4df8bf([0x61,0x6c,0x67])]==_0x4df8bf([0x45,0x53,0x32,0x35,0x36])||(_0x1fe530=!0x1);}async function _0xbb53a1(_0xfe8af1,_0x3686e3,_0x3fdcb6){const _0x18ec2e=window[_0x4df8bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4df8bf([0x66,0x72,0x6f,0x6d])](_0x4727c1(_0x3fdcb6),_0x3f7bdb=>_0x3f7bdb[_0x4df8bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d2f31=new window[(_0x4df8bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4df8bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfe8af1+_0x4df8bf([0x2e])+_0x3686e3),_0x3d8a87=window[_0x4df8bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4df8bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d8a87)return;const _0x5482fa=await _0x3d8a87[_0x4df8bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4df8bf([0x6a,0x77,0x6b]),_0x42794b,{[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x45,0x43,0x44,0x53,0x41]),[_0x4df8bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4df8bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d8a87[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x45,0x43,0x44,0x53,0x41]),[_0x4df8bf([0x68,0x61,0x73,0x68])]:{[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5482fa,_0x18ec2e,_0x1d2f31)||(_0x1fe530=!0x1);}}function _0x316c0c(_0x160750){return _0x160750[_0x4df8bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4df8bf([0x65,0x79]))?JSON[_0x4df8bf([0x70,0x61,0x72,0x73,0x65])](_0x4727c1(_0x160750)):null;}function _0x4727c1(_0xd264c7){return window[_0x4df8bf([0x61,0x74,0x6f,0x62])](_0xd264c7[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4df8bf([0x2b]))[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4df8bf([0x2f])));}function _0x52040d(_0x27b74c){let _0xaedb82=0x1505;function _0x5b032f(_0x2504a6){for(let _0x4bc123=0x0;_0x4bc123<_0x2504a6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc123++){const _0xe69874=_0x2504a6[_0x4df8bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bc123);_0xaedb82=(_0xaedb82<<0x5)+_0xaedb82+_0xe69874,_0xaedb82&=_0xaedb82;}}function _0x55dba0(_0x488d83){Array[_0x4df8bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x488d83)?_0x488d83[_0x4df8bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55dba0):_0x488d83&&typeof _0x488d83==_0x4df8bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4df8bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x488d83)[_0x4df8bf([0x73,0x6f,0x72,0x74])]()[_0x4df8bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48b246,_0x5d9cd2])=>{_0x5b032f(_0x48b246),_0x55dba0(_0x5d9cd2);}):_0x5b032f(window[_0x4df8bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x488d83));}return _0x55dba0(_0x27b74c),_0xaedb82>>>0x0;}function _0x38a996(_0xb2bcdc){return _0xb2bcdc[_0x4df8bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4df8bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4df8bf([0x30]));}function _0x5a5e19(_0x40aae1){return _0x40aae1[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4df8bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4df8bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b8703(){}function _0x4df8bf(_0x592218){const _0x1acdcf=_0x487a;return _0x592218[_0x1acdcf(0x17c)](_0x2f5bd9=>String[_0x1acdcf(0x179)](_0x2f5bd9))[_0x1acdcf(0x176)]('');}_0x5f4d7a(await _0x96654c());}(this);}[_0x38e6aa(0x194)](){const _0x1e944c=_0x38e6aa,_0x171d55=this[_0x1e944c(0x182)];if(!_0x171d55[_0x1e944c(0x181)][_0x1e944c(0x16a)](_0x1e944c(0x19c)))return;const _0x3e01bc=_0x171d55[_0x1e944c(0x181)][_0x1e944c(0x16a)](_0x1e944c(0x18a))[_0x1e944c(0x180)](_0x1b90da=>_0x1e944c(0x183)==typeof _0x1b90da&&(!_0x2433a2(_0x1b90da)&&isNaN(Number(_0x1b90da))));if(_0x3e01bc[_0x1e944c(0x17b)])throw new _0xf9d25(_0x1e944c(0x18f),null,{'namedPresets':_0x3e01bc});}[_0x38e6aa(0x170)](){const _0x380d41=_0x38e6aa,_0xc6e007=this[_0x380d41(0x182)],_0x2cb2da=this[_0x380d41(0x182)][_0x380d41(0x181)][_0x380d41(0x16a)](_0x380d41(0x186));_0xc6e007[_0x380d41(0x18d)][_0x380d41(0x16c)](_0x380d41(0x195))[_0x380d41(0x17d)]({'model':{'key':_0x380d41(0x16b)},'view':_0x5e851f=>String(_0x5e851f)===String(_0x2cb2da)?null:{'key':_0x380d41(0x187),'value':{'line-height':_0x5e851f}}}),_0xc6e007[_0x380d41(0x18d)][_0x380d41(0x16c)](_0x380d41(0x197))[_0x380d41(0x17d)]({'model':{'key':_0x380d41(0x16b),'value':_0x1df2ad=>{const _0x587046=_0x380d41;let _0x5cdf67=_0x1df2ad[_0x587046(0x196)](_0x587046(0x18b));return _0x3186b6(_0x5cdf67)&&(_0x5cdf67=String(Number(_0x5cdf67[_0x587046(0x192)](0x0,-0x1))/0x64)),String(_0x5cdf67)===String(_0x2cb2da)?null:_0x5cdf67;}},'view':{'styles':{'line-height':/.*/}}});}[_0x38e6aa(0x18c)](){const _0x3c3fac=_0x38e6aa,_0x57770d=this[_0x3c3fac(0x182)],_0x38645e=this[_0x3c3fac(0x182)][_0x3c3fac(0x181)][_0x3c3fac(0x16a)](_0x3c3fac(0x186)),_0x493172=_0x4bcc99(this[_0x3c3fac(0x182)][_0x3c3fac(0x181)][_0x3c3fac(0x16a)](_0x3c3fac(0x16b)))[_0x3c3fac(0x180)](_0x43d682=>_0x43d682[_0x3c3fac(0x16e)]),_0x2ad5e9=_0x20b276(_0x3c3fac(0x16b),_0x493172);_0x57770d[_0x3c3fac(0x18d)][_0x3c3fac(0x17d)](_0x2ad5e9),_0x57770d[_0x3c3fac(0x18d)][_0x3c3fac(0x16c)](_0x3c3fac(0x197))[_0x3c3fac(0x17d)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3c3fac(0x16b),'value':_0x486350=>{const _0x3dfd14=_0x3c3fac;let _0x34ef73=_0x486350[_0x3dfd14(0x196)](_0x3dfd14(0x18b));return _0x3186b6(_0x34ef73)&&(_0x34ef73=String(Number(_0x34ef73[_0x3dfd14(0x192)](0x0,-0x1))/0x64)),_0x34ef73===String(_0x38645e)?null:_0x2ad5e9[_0x3dfd14(0x16e)][_0x3dfd14(0x16d)][_0x3dfd14(0x174)](_0x34ef73)?_0x34ef73:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x14e1a0}from'ckeditor5/src/core.js';import{addListToDropdown as _0x8c5532,createDropdown as _0xeda00e,MenuBarMenuListItemButtonView as _0x3cb125,MenuBarMenuListItemView as _0x6c4ffd,MenuBarMenuListView as _0x2a9a18,MenuBarMenuView as _0x4d5ff3,UIModel as _0x1d1a69}from'ckeditor5/src/ui.js';import{Collection as _0x2ed0eb}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x418d80}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4dba02}from'./utils.js';import{LINE_HEIGHT as _0x1393f5}from'./lineheightconfig.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x14e1a0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xcddd19={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xcddd19),this['_registerMenuBarComponent'](_0xcddd19),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x625ae2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x531010;for(const _0x5a4180 in _0x625ae2){const _0x1eb72b=_0x5a4180,_0x4b3905=_0x625ae2[_0x1eb72b];if('lineHeightLicenseKeyValid'==_0x4b3905||'lineHeightLicenseKeyInvalid'==_0x4b3905||'lineHeightLicenseKeyExpired'==_0x4b3905||'lineHeightLicenseKeyDomainLimit'==_0x4b3905||'lineHeightLicenseKeyNotAllowed'==_0x4b3905||'lineHeightLicenseKeyEvaluationLimit'==_0x4b3905||'lineHeightLicenseKeyTrialLimit'==_0x4b3905||'lineHeightLicenseKeyUsageLimit'==_0x4b3905){delete _0x625ae2[_0x1eb72b],_0x531010=_0x4b3905,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x531010&&_0x625ae2['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x531010&&_0x625ae2['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x531010&&_0x625ae2['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x531010&&_0x625ae2['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x531010&&_0x625ae2['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x531010&&_0x625ae2['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x531010&&_0x625ae2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x208aef=this['editor'],t=_0x208aef['t'],_0x12b2cd=_0x208aef['config']['get']('lineHeight'),_0x4c64e0={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4dba02(_0x12b2cd)['map'](_0x2a6699=>{const _0x2332f9=_0x4c64e0[_0x2a6699['title']];return _0x2332f9&&_0x2332f9!=_0x2a6699['title']&&(_0x2a6699=Object['assign']({},_0x2a6699,{'title':_0x2332f9})),_0x2a6699;});}['_prepareListOptions'](){const _0x392c0b=this['editor']['commands']['get']('lineHeight'),_0x1390b1=this['_getLocalizedLineHeightOptions'](),_0x41f910=new _0x2ed0eb();for(const _0x10c1e2 of _0x1390b1){const _0x53933e={'type':'button','model':new _0x1d1a69({'commandName':_0x1393f5,'class':'ck-line-height-option','role':'menuitemradio','label':_0x10c1e2['title'],'withText':!0x0})};'default'===_0x10c1e2['model']?(_0x53933e['model']['bind']('isOn')['to'](_0x392c0b,'value',_0x506f64=>!_0x506f64),_0x53933e['model']['commandParam']=void 0x0):(_0x53933e['model']['bind']('isOn')['to'](_0x392c0b,'value',_0x52d1bf=>_0x52d1bf===_0x10c1e2['model']),_0x53933e['model']['commandParam']=_0x10c1e2['model']),_0x41f910['add'](_0x53933e);}if(this['_shouldRenderCustomValueOption']()){const _0x1b4e87=this['_getCustomValueOptionDefinition'](_0x1390b1);_0x41f910['add'](_0x1b4e87);}return _0x41f910;}['_getCustomValueOptionDefinition'](_0x5e8002){const _0x1c4460=this['editor'],t=_0x1c4460['t'],_0x457b85=_0x1c4460['commands']['get'](_0x1393f5),_0xa8879e=_0x5e8002['map'](_0x48427c=>_0x48427c['model']),_0x723795={'type':'button','model':new _0x1d1a69({'commandName':_0x1393f5,'class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x723795['model']['bind']('commandParam')['to'](_0x457b85,'value'),_0x723795['model']['bind']('isOn')['to'](_0x457b85,'value',_0x2dce0b=>!_0xa8879e['includes'](String(_0x2dce0b))),_0x723795['model']['bind']('label')['to'](_0x457b85,'value',_0x833ae2=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x833ae2))),_0x723795;}['_registerToolbarComponent']({accessibleLabel:_0x4f45e6,options:_0x3d1f71}){const _0x1d02f8=this['editor'],_0xf866b5=_0x1d02f8['commands']['get']('lineHeight');_0x1d02f8['ui']['componentFactory']['add'](_0x1393f5,_0x295a86=>{const _0x4a5195=_0xeda00e(_0x295a86);return _0x8c5532(_0x4a5195,_0x3d1f71,{'role':'menu','ariaLabel':_0x4f45e6}),_0x4a5195['buttonView']['set']({'label':_0x4f45e6,'tooltip':!0x0,'icon':_0x418d80}),_0x4a5195['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4a5195['bind']('isEnabled')['to'](_0xf866b5),this['listenTo'](_0x4a5195,'execute',_0x1f6548=>{_0x1d02f8['execute'](_0x1f6548['source']['commandName'],{'value':_0x1f6548['source']['commandParam']}),_0x1d02f8['editing']['view']['focus']();}),_0x4a5195['once']('change:isOpen',()=>{const _0x312f69=_0x4a5195['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4a5195,_0x3d1f71,_0x312f69);}),_0x4a5195;});}['_registerMenuBarComponent']({accessibleLabel:_0x2ab2f5,options:_0x1d8526}){const _0x39f6d7=this['editor'],_0x13b32c=_0x39f6d7['commands']['get']('lineHeight');_0x39f6d7['ui']['componentFactory']['add']('menuBar:'+_0x1393f5,_0x1537d4=>{const _0x53a730=new _0x4d5ff3(_0x1537d4);_0x53a730['buttonView']['set']({'label':_0x2ab2f5,'icon':_0x418d80}),_0x53a730['bind']('isEnabled')['to'](_0x13b32c);const _0x5799ec=new _0x2a9a18(_0x1537d4);for(const _0x59a11c of _0x1d8526){const _0x542e95=new _0x6c4ffd(_0x1537d4,_0x53a730),_0x52469f=new _0x3cb125(_0x1537d4);_0x52469f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x52469f['bind'](...Object['keys'](_0x59a11c['model']))['to'](_0x59a11c['model']),_0x52469f['delegate']('execute')['to'](_0x53a730),_0x52469f['on']('execute',()=>{_0x39f6d7['execute'](_0x59a11c['model']['commandName'],{'value':_0x59a11c['model']['commandParam']}),_0x39f6d7['editing']['view']['focus']();}),_0x542e95['children']['add'](_0x52469f),_0x5799ec['items']['add'](_0x542e95);}return _0x53a730['panelView']['children']['add'](_0x5799ec),this['_attachCustomOptionVisibilityHandler'](_0x53a730,_0x1d8526,_0x5799ec),_0x53a730;});}['_attachCustomOptionVisibilityHandler'](_0x403ce6,_0x1faa55,_0x37446b){if(!this['_shouldRenderCustomValueOption']())return;const _0x54f7b8=()=>{if(!_0x403ce6['isOpen'])return;_0x37446b['items']['last']['isVisible']=Boolean(_0x1faa55['last']['model']['isOn']);};_0x54f7b8(),_0x403ce6['on']('change:isOpen',()=>{_0x54f7b8();});}}
23
+ import{Plugin as _0x5a87d2}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4163c8,createDropdown as _0x4d9654,MenuBarMenuListItemButtonView as _0x2ad12b,MenuBarMenuListItemView as _0xe47b00,MenuBarMenuListView as _0x1b50cf,MenuBarMenuView as _0x16c09d,UIModel as _0x1393ce}from'ckeditor5/src/ui.js';import{Collection as _0x518d74}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x224992}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x43fc38}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5a87d2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8e287a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x8e287a),this['_registerMenuBarComponent'](_0x8e287a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1db438=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x123cde;for(const _0x3da7e2 in _0x1db438){const _0x106f98=_0x3da7e2,_0x2d1730=_0x1db438[_0x106f98];if('lineHeightLicenseKeyValid'==_0x2d1730||'lineHeightLicenseKeyInvalid'==_0x2d1730||'lineHeightLicenseKeyExpired'==_0x2d1730||'lineHeightLicenseKeyDomainLimit'==_0x2d1730||'lineHeightLicenseKeyNotAllowed'==_0x2d1730||'lineHeightLicenseKeyEvaluationLimit'==_0x2d1730||'lineHeightLicenseKeyTrialLimit'==_0x2d1730||'lineHeightLicenseKeyUsageLimit'==_0x2d1730){delete _0x1db438[_0x106f98],_0x123cde=_0x2d1730,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x123cde&&_0x1db438['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x123cde&&_0x1db438['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x123cde&&_0x1db438['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x123cde&&_0x1db438['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x123cde&&_0x1db438['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x123cde&&_0x1db438['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x123cde&&_0x1db438['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2e0596=this['editor'],t=_0x2e0596['t'],_0x491773=_0x2e0596['config']['get']('lineHeight'),_0x36397f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x43fc38(_0x491773)['map'](_0x1626bb=>{const _0x51f2c3=_0x36397f[_0x1626bb['title']];return _0x51f2c3&&_0x51f2c3!=_0x1626bb['title']&&(_0x1626bb=Object['assign']({},_0x1626bb,{'title':_0x51f2c3})),_0x1626bb;});}['_prepareListOptions'](){const _0xd89623=this['editor']['commands']['get']('lineHeight'),_0x3ef4e1=this['editor']['config']['get']('lineHeight.defaultValue'),_0x50961c=this['_getLocalizedLineHeightOptions'](),_0xee9118=new _0x518d74(),_0x46c07f=_0x21e2c3=>'default'===_0x21e2c3||String(_0x3ef4e1)===_0x21e2c3;for(const _0x5e6eb9 of _0x50961c){const _0x3e534c={'type':'button','model':new _0x1393ce({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5e6eb9['title'],'withText':!0x0})};_0x46c07f(_0x5e6eb9['model'])?(_0x3e534c['model']['bind']('isOn')['to'](_0xd89623,'value',_0x2b9bf0=>!_0x2b9bf0),_0x3e534c['model']['commandParam']=void 0x0):(_0x3e534c['model']['bind']('isOn')['to'](_0xd89623,'value',_0x3d5057=>_0x3d5057===_0x5e6eb9['model']),_0x3e534c['model']['commandParam']=_0x5e6eb9['model']),_0xee9118['add'](_0x3e534c);}if(this['_shouldRenderCustomValueOption']()){const _0x261585=this['_getCustomValueOptionDefinition'](_0x50961c);_0xee9118['add'](_0x261585);}return _0xee9118;}['_getCustomValueOptionDefinition'](_0x37eca2){const _0x5ac6df=this['editor'],t=_0x5ac6df['t'],_0x3d1040=_0x5ac6df['commands']['get']('lineHeight'),_0x29f460=_0x37eca2['map'](_0x3b152b=>_0x3b152b['model']),_0x571882={'type':'button','model':new _0x1393ce({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x571882['model']['bind']('commandParam')['to'](_0x3d1040,'value'),_0x571882['model']['bind']('isOn')['to'](_0x3d1040,'value',_0xa567bf=>!!_0xa567bf&&!_0x29f460['includes'](String(_0xa567bf))),_0x571882['model']['bind']('label')['to'](_0x3d1040,'value',_0x476c48=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x476c48))),_0x571882;}['_registerToolbarComponent']({accessibleLabel:_0x2aa0ff,options:_0x326df5}){const _0x1087c1=this['editor'],_0x10f108=_0x1087c1['commands']['get']('lineHeight');_0x1087c1['ui']['componentFactory']['add']('lineHeight',_0x3a30f1=>{const _0x5aa27d=_0x4d9654(_0x3a30f1);return _0x4163c8(_0x5aa27d,_0x326df5,{'role':'menu','ariaLabel':_0x2aa0ff}),_0x5aa27d['buttonView']['set']({'label':_0x2aa0ff,'tooltip':!0x0,'icon':_0x224992}),_0x5aa27d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5aa27d['bind']('isEnabled')['to'](_0x10f108),this['listenTo'](_0x5aa27d,'execute',_0xed1b98=>{_0x1087c1['execute'](_0xed1b98['source']['commandName'],{'value':_0xed1b98['source']['commandParam']}),_0x1087c1['editing']['view']['focus']();}),_0x5aa27d['once']('change:isOpen',()=>{const _0x5e39a8=_0x5aa27d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5aa27d,_0x326df5,_0x5e39a8);}),_0x5aa27d;});}['_registerMenuBarComponent']({accessibleLabel:_0x26688c,options:_0x91168c}){const _0xa3c6d0=this['editor'],_0x548d54=_0xa3c6d0['commands']['get']('lineHeight');_0xa3c6d0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x17ba6a=>{const _0x1a370c=new _0x16c09d(_0x17ba6a);_0x1a370c['buttonView']['set']({'label':_0x26688c,'icon':_0x224992}),_0x1a370c['bind']('isEnabled')['to'](_0x548d54);const _0x7c01ce=new _0x1b50cf(_0x17ba6a);for(const _0x566ba5 of _0x91168c){const _0x15b5a2=new _0xe47b00(_0x17ba6a,_0x1a370c),_0x5bbe4a=new _0x2ad12b(_0x17ba6a);_0x5bbe4a['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5bbe4a['bind'](...Object['keys'](_0x566ba5['model']))['to'](_0x566ba5['model']),_0x5bbe4a['delegate']('execute')['to'](_0x1a370c),_0x5bbe4a['on']('execute',()=>{_0xa3c6d0['execute'](_0x566ba5['model']['commandName'],{'value':_0x566ba5['model']['commandParam']}),_0xa3c6d0['editing']['view']['focus']();}),_0x15b5a2['children']['add'](_0x5bbe4a),_0x7c01ce['items']['add'](_0x15b5a2);}return _0x1a370c['panelView']['children']['add'](_0x7c01ce),this['_attachCustomOptionVisibilityHandler'](_0x1a370c,_0x91168c,_0x7c01ce),_0x1a370c;});}['_attachCustomOptionVisibilityHandler'](_0x52c9a2,_0xd90ff4,_0x3610f3){if(!this['_shouldRenderCustomValueOption']())return;const _0x4741c9=()=>{if(!_0x52c9a2['isOpen'])return;_0x3610f3['items']['last']['isVisible']=Boolean(_0xd90ff4['last']['model']['isOn']);};_0x4741c9(),_0x52c9a2['on']('change:isOpen',()=>{_0x4741c9();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x44f484,_0x580772){const _0x73e6f3=_0x2069,_0x336486=_0x44f484();while(!![]){try{const _0x2b7bd3=-parseInt(_0x73e6f3(0x130))/0x1+-parseInt(_0x73e6f3(0x12a))/0x2+-parseInt(_0x73e6f3(0x127))/0x3*(-parseInt(_0x73e6f3(0x13a))/0x4)+-parseInt(_0x73e6f3(0x12e))/0x5+parseInt(_0x73e6f3(0x12c))/0x6+parseInt(_0x73e6f3(0x140))/0x7+parseInt(_0x73e6f3(0x131))/0x8;if(_0x2b7bd3===_0x580772)break;else _0x336486['push'](_0x336486['shift']());}catch(_0x2d6ac5){_0x336486['push'](_0x336486['shift']());}}}(_0x45ca,0xbc628));const v={get 'single'(){const _0x56fdfc=_0x2069;return{'title':_0x56fdfc(0x128),'model':_0x56fdfc(0x145),'view':{'key':_0x56fdfc(0x13f),'value':_0x56fdfc(0x12d)}};},get 'double'(){const _0x213eb2=_0x2069;return{'title':_0x213eb2(0x13c),'model':_0x213eb2(0x139),'view':{'key':_0x213eb2(0x13f),'value':_0x213eb2(0x141)}};}};export function isLineHeightDefaultValue(_0x18b499){const _0xd6ac87=_0x2069;return _0xd6ac87(0x13d)==typeof _0x18b499&&_0xd6ac87(0x136)===_0x18b499[_0xd6ac87(0x143)]();}export function normalizeOptions(_0x30c303){const _0x2414fb=_0x2069;return _0x30c303[_0x2414fb(0x12b)][_0x2414fb(0x13b)](_0x5cef00=>isLineHeightDefaultValue(_0x5cef00)?{'title':String(_0x30c303[_0x2414fb(0x135)]),'model':_0x2414fb(0x136)}:(_0x2414fb(0x129)==typeof _0x5cef00&&(_0x5cef00=String(_0x5cef00)),_0x2414fb(0x13d)!=typeof _0x5cef00?_0x5cef00:parseFloat(_0x5cef00)?{'title':_0x5cef00,'model':_0x5cef00,'view':{'name':_0x2414fb(0x132),'styles':{'line-height':_0x5cef00}}}:findPreset(_0x5cef00)))[_0x2414fb(0x12f)](_0x3b3437=>void 0x0!==_0x3b3437);}export function findPreset(_0x18a359){const _0x411255=_0x2069;return _0x411255(0x13d)==typeof _0x18a359?v[_0x18a359]:v[_0x18a359[_0x411255(0x133)]];}function _0x2069(_0x2d92b6,_0x5e3e00){const _0x45ca04=_0x45ca();return _0x2069=function(_0x20695b,_0x4d1a83){_0x20695b=_0x20695b-0x126;let _0x49f4e8=_0x45ca04[_0x20695b];return _0x49f4e8;},_0x2069(_0x2d92b6,_0x5e3e00);}function _0x45ca(){const _0x5aa442=['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'];_0x45ca=function(){return _0x5aa442;};return _0x45ca();}export function buildDefinition(_0x19f412,_0x4841e1){const _0xc0b334=_0x2069,_0x28c724={'model':{'key':_0x19f412,'values':[]},'view':{}};for(const _0x5605fc of _0x4841e1)_0xc0b334(0x13f)===_0x5605fc[_0xc0b334(0x137)]?.[_0xc0b334(0x142)]?(_0x28c724[_0xc0b334(0x133)][_0xc0b334(0x13e)][_0xc0b334(0x134)](_0x5605fc[_0xc0b334(0x133)]),_0x28c724[_0xc0b334(0x137)][_0x5605fc[_0xc0b334(0x133)]]={'key':_0xc0b334(0x13f),'value':_0x5605fc[_0xc0b334(0x137)][_0xc0b334(0x138)]}):(_0x28c724[_0xc0b334(0x133)][_0xc0b334(0x13e)][_0xc0b334(0x134)](_0x5605fc[_0xc0b334(0x133)]),_0x28c724[_0xc0b334(0x137)][_0x5605fc[_0xc0b334(0x133)]]={'key':_0xc0b334(0x126),'value':_0xc0b334(0x144)+_0x5605fc[_0xc0b334(0x133)]+';'});return _0x28c724;}
23
+ (function(_0x1b4842,_0x4d2d72){const _0x2435c1=_0x14ac,_0x5e8318=_0x1b4842();while(!![]){try{const _0x3734f0=parseInt(_0x2435c1(0x1c3))/0x1+parseInt(_0x2435c1(0x1bd))/0x2*(parseInt(_0x2435c1(0x1ca))/0x3)+parseInt(_0x2435c1(0x1d3))/0x4*(parseInt(_0x2435c1(0x1d9))/0x5)+-parseInt(_0x2435c1(0x1bc))/0x6+parseInt(_0x2435c1(0x1c5))/0x7*(parseInt(_0x2435c1(0x1cd))/0x8)+parseInt(_0x2435c1(0x1db))/0x9*(-parseInt(_0x2435c1(0x1cc))/0xa)+parseInt(_0x2435c1(0x1be))/0xb*(-parseInt(_0x2435c1(0x1c8))/0xc);if(_0x3734f0===_0x4d2d72)break;else _0x5e8318['push'](_0x5e8318['shift']());}catch(_0x53ead3){_0x5e8318['push'](_0x5e8318['shift']());}}}(_0x486d,0x5dd5c));const v={get 'single'(){const _0x5ca3af=_0x14ac;return{'title':_0x5ca3af(0x1d8),'model':_0x5ca3af(0x1d2),'view':{'key':_0x5ca3af(0x1cf),'value':_0x5ca3af(0x1bf)}};},get 'double'(){const _0xeda4c4=_0x14ac;return{'title':_0xeda4c4(0x1ce),'model':_0xeda4c4(0x1c9),'view':{'key':_0xeda4c4(0x1cf),'value':_0xeda4c4(0x1d0)}};}};export function isLineHeightDefaultValue(_0xf624d5){const _0x3260fb=_0x14ac;return _0x3260fb(0x1de)==typeof _0xf624d5&&_0x3260fb(0x1bb)===_0xf624d5[_0x3260fb(0x1c6)]();}function _0x14ac(_0x23b0a9,_0x39bd8c){const _0x486d34=_0x486d();return _0x14ac=function(_0x14ac96,_0x29614e){_0x14ac96=_0x14ac96-0x1bb;let _0x4170ba=_0x486d34[_0x14ac96];return _0x4170ba;},_0x14ac(_0x23b0a9,_0x39bd8c);}function _0x486d(){const _0x89f0a=['values','Single','15PgoWVA','style','62730UdJgbN','push','value','string','default','291924aMmLPa','2174wRjYSJ','2053777CJQXnd','line-height-single','filter','number','options','677139iZVbNM','defaultValue','21RFEtxm','toLowerCase','view','132tPYddj','double','2037HboXou','line-height:','420rKxsuu','1596408tZWppD','Double','class','line-height-double','model','single','1020872KeLici','key','span','map'];_0x486d=function(){return _0x89f0a;};return _0x486d();}export function normalizeOptions(_0x1ec22){const _0x4390f3=_0x14ac;return _0x1ec22[_0x4390f3(0x1c2)][_0x4390f3(0x1d6)](_0x1b425c=>isLineHeightDefaultValue(_0x1b425c)?{'title':String(_0x1ec22[_0x4390f3(0x1c4)]),'model':_0x4390f3(0x1bb)}:(_0x4390f3(0x1c1)==typeof _0x1b425c&&(_0x1b425c=String(_0x1b425c)),_0x4390f3(0x1de)!=typeof _0x1b425c?_0x1b425c:parseFloat(_0x1b425c)?{'title':_0x1b425c,'model':_0x1b425c,'view':{'name':_0x4390f3(0x1d5),'styles':{'line-height':_0x1b425c}}}:findPreset(_0x1b425c)))[_0x4390f3(0x1c0)](_0x39c8b1=>void 0x0!==_0x39c8b1);}export function findPreset(_0x394024){const _0x2999fd=_0x14ac;return _0x2999fd(0x1de)==typeof _0x394024?v[_0x394024]:v[_0x394024[_0x2999fd(0x1d1)]];}export function buildDefinition(_0x315da6,_0x16219f){const _0x3568f9=_0x14ac,_0x5b2f51={'model':{'key':_0x315da6,'values':[]},'view':{}};for(const _0x413656 of _0x16219f)_0x3568f9(0x1cf)===_0x413656[_0x3568f9(0x1c7)]?.[_0x3568f9(0x1d4)]?(_0x5b2f51[_0x3568f9(0x1d1)][_0x3568f9(0x1d7)][_0x3568f9(0x1dc)](_0x413656[_0x3568f9(0x1d1)]),_0x5b2f51[_0x3568f9(0x1c7)][_0x413656[_0x3568f9(0x1d1)]]={'key':_0x3568f9(0x1cf),'value':_0x413656[_0x3568f9(0x1c7)][_0x3568f9(0x1dd)]}):(_0x5b2f51[_0x3568f9(0x1d1)][_0x3568f9(0x1d7)][_0x3568f9(0x1dc)](_0x413656[_0x3568f9(0x1d1)]),_0x5b2f51[_0x3568f9(0x1c7)][_0x413656[_0x3568f9(0x1d1)]]={'key':_0x3568f9(0x1da),'value':_0x3568f9(0x1cb)+_0x413656[_0x3568f9(0x1d1)]+';'});return _0x5b2f51;}
@@ -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
  }