@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250706.0 → 0.0.0-nightly-20250709.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>T,LineHeightCommand:()=>a,LineHeightEditing:()=>v,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=264]})(e,t)}function s(){const e=["895816UkJRVD","isEnabled","editor","removeAttribute","231159MiUxeu","2321vxJiAu","3607974yEAIOB","selection","refresh","from","155795RwZyah","checkAttribute","change","9072165tgfUTy","_canHaveLineHeight","57435zCHPaL","setAttribute","536oFoenN","document","6meNnSy","getSelectedBlocks","schema","16ObBGJG","value","lineHeight","model","130670fUZPJW","execute","getAttribute","filter"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(919832===parseInt(t(272))/1+parseInt(t(292))/2+parseInt(t(266))/3*(parseInt(t(284))/4)+-parseInt(t(275))/5*(-parseInt(t(281))/6)+parseInt(t(277))/7*(parseInt(t(279))/8)+parseInt(t(268))/9+-parseInt(t(288))/10*(parseInt(t(267))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(270)](){const e=r,n=this[e(264)][e(287)][e(280)],i=(0,t.first)(n[e(269)][e(282)]());this[e(293)]=Boolean(i)&&this[e(276)](i),this[e(285)]=this[e(293)]&&i[e(290)](e(286))}[r(289)](e={}){const t=r,n=this[t(264)][t(287)],i=n[t(280)][t(269)],o=e[t(285)];n[t(274)](e=>{const n=t,r=Array[n(271)](i[n(282)]())[n(291)](e=>this[n(276)](e));for(const t of r)o?e[n(278)](n(286),o,t):e[n(265)](n(286),t)})}[r(276)](e){const t=r;return this[t(264)][t(287)][t(283)][t(273)](e,t(286))}}var c=n(783);function l(){const e=["defaultValue","view","11098971eDkHrt","style","618394rzJOhU","values","132cYTvRe","20370867civlci","default","key","5935296vyHCfC","10MrXzkA","Single","12sZjNeM","number","double","class","single","filter","20PVcCze","5721045LniIdv","options","push","line-height:","toLowerCase","value","79830pHKGoP","line-height-single","model","line-height-double","string","span","Double","map","110082CleDWJ"];return(l=function(){return e})()}!function(e){const t=h,n=e();for(;;)try{if(678157===parseInt(t(180))/1*(parseInt(t(187))/2)+-parseInt(t(195))/3*(parseInt(t(167))/4)+parseInt(t(181))/5+parseInt(t(174))/6*(-parseInt(t(200))/7)+parseInt(t(171))/8+parseInt(t(198))/9+-parseInt(t(172))/10*(parseInt(t(168))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=h;return{title:e(173),model:e(178),view:{key:e(177),value:e(188)}}},get double(){const e=h;return{title:e(193),model:e(176),view:{key:e(177),value:e(190)}}}};function d(e){const t=h;return t(191)==typeof e&&t(169)===e[t(185)]()}function h(e,t){const n=l();return(h=function(e,t){return n[e-=166]})(e,t)}function f(e){const t=h;return e[t(182)][t(194)](n=>d(n)?{title:String(e[t(196)]),model:t(169)}:(t(175)==typeof n&&(n=String(n)),t(191)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(192),styles:{"line-height":n}}}:function(e){const t=h;return t(191)==typeof e?u[e]:u[e[t(189)]]}(n)))[t(179)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=202]})(e,t)}function m(){const e=["$block","lineHeight.supportAllValues","2873925qifOse","1779005vAKVyw","define","slice","_preparePredefinedConverters","lineHeight.defaultValue","pluginName","229674zGjhih","_prepareAnyValueConverters","_validateConfig","commands","setAttributeProperties","getStyle","schema","LineHeightEditing","15936TpmLwx","upcast","config","isOfficialPlugin","map","add","3128544YvtsMS","fromCharCode","model","editor","default","826GZleMX","extend","268qgYUIZ","647282bQXFIX","init","conversion","line-height-invalid-use-of-named-presets","afterInit","get","href","lineHeight.options","values","length","isPremiumPlugin","string","includes","line-height","for","downcast","lineHeight","attributeToAttribute","1299TeCvst","style","join","filter"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(494954===parseInt(t(248))/1+parseInt(t(217))/2+parseInt(t(235))/3*(-parseInt(t(216))/4)+parseInt(t(242))/5+parseInt(t(203))/6*(-parseInt(t(214))/7)+-parseInt(t(209))/8+parseInt(t(241))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class v extends e.Plugin{static get[p(247)](){return p(202)}static get[p(206)](){return!0}static get[p(227)](){return!0}constructor(e){const t=p;super(e),e[t(205)][t(243)](t(233),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(213),2,2.5,3]})}[p(218)](){const e=p,t=this[e(212)];this[e(250)](),t[e(211)][e(254)][e(215)](e(239),{allowAttributes:e(233)}),t[e(211)][e(254)][e(252)](e(233),{isFormatting:!0}),t[e(251)][e(208)](e(233),new a(t)),this[e(212)][e(205)][e(222)](e(240))?this[e(249)]():this[e(245)]()}[p(221)](){!async function(e){const n=m([81,67,86,48,65,107,115,84,87,83,111,108,53,73,121,71,118,70,56,68,55,98,113,112,102,72,109,54,77,105,90,88,117,49,119,69,82,66,57,99,51,116,97,104,122,74,114,78,101,75,89,50,120,103,100,52,80,76,79,85,110,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 l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(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(207)](e=>String[t(210)](e))[t(237)]("")}!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([81]);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=l(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 l=!1;const u=(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(u+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])]:u}},{[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])])&&(l=!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])](()=>{l||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=l(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])](u(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:175176e4;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(223)]);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(250)](){const e=p,n=this[e(212)];if(!n[e(205)][e(222)](e(240)))return;const i=n[e(205)][e(222)](e(224))[e(238)](t=>e(228)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(226)])throw new t.CKEditorError(e(220),null,{namedPresets:i})}[p(249)](){const e=p,t=this[e(212)],n=this[e(212)][e(205)][e(222)](e(246));t[e(219)][e(231)](e(232))[e(234)]({model:{key:e(233)},view:t=>String(t)===String(n)?null:{key:e(236),value:{"line-height":t}}}),t[e(219)][e(231)](e(204))[e(234)]({model:{key:e(233),value:t=>{const i=e;let r=t[i(253)](i(230));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(244)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(245)](){const e=p,t=this[e(212)],n=this[e(212)][e(205)][e(222)](e(246)),i=f(this[e(212)][e(205)][e(222)](e(233)))[e(238)](t=>t[e(211)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(177)===e[n(197)]?.[n(170)]?(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(177),value:e[n(197)][n(186)]}):(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(199),value:n(184)+e[n(189)]+";"});return i}(e(233),i);t[e(219)][e(234)](r),t[e(219)][e(231)](e(204))[e(234)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(233),value:t=>{const i=e;let o=t[i(253)](i(230));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(244)](0,-1))/100)),o===String(n)?null:r[i(211)][i(225)][i(229)](o)?o:null}}})}}var w=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),C=n.n(_),O=n(667),E=n.n(O),x=n(357),k=n.n(x),S=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=E(),P.insert=C().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=k();b()(S.A,P);S.A&&S.A.locals&&S.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 w.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 w.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,w.createDropdown)(r);return(0,w.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 w.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new w.MenuBarMenuListView(r);for(const e of t){const t=new w.MenuBarMenuListItemView(r,o),i=new w.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=K;function K(e,t){var n=N();return(K=function(e,t){return n[e-=159]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(432645===parseInt(t(159))/1+parseInt(t(171))/2+-parseInt(t(167))/3*(parseInt(t(161))/4)+parseInt(t(172))/5*(-parseInt(t(169))/6)+parseInt(t(163))/7+parseInt(t(164))/8+parseInt(t(168))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N);class T extends e.Plugin{static get[V(160)](){return[v,A]}static get[V(170)](){return V(165)}static get[V(166)](){return!0}static get[V(162)](){return!0}}function N(){var e=["LineHeight","isOfficialPlugin","78723aTnVsc","937566GJNlCE","212622ftEnvS","pluginName","9168wFJfux","20SeWdKN","686598VgWGwx","requires","92KCaPIk","isPremiumPlugin","1890833EcfMyo","899688hNaOjj"];return(N=function(){return e})()}function M(e,t){var n=j();return(M=function(e,t){return n[e-=330]})(e,t)}function j(){var e=["898798WVlDjE","8697205ierKLA","830295TyYVtr","9913480xybtJr","9873rQoOWk","1RzfgCb","48DlRbyA","8srvkUB","60rcvbQJ","2909354wZEhYf","5751405RDPRmL"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(833727===-parseInt(t(337))/1*(-parseInt(t(332))/2)+-parseInt(t(336))/3*(-parseInt(t(338))/4)+parseInt(t(334))/5*(-parseInt(t(340))/6)+-parseInt(t(330))/7*(parseInt(t(339))/8)+parseInt(t(331))/9+parseInt(t(335))/10+parseInt(t(333))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
4
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>N,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>P});var e=n(782),t=n(584);const r=s;function o(){const e=["model","value","setAttribute","870wcJNXT","change","9351139mlcdCq","10SAsgsY","isEnabled","getAttribute","selection","refresh","40YxfqhC","checkAttribute","document","from","execute","3344568GrqVKS","28998ypxILr","editor","_canHaveLineHeight","getSelectedBlocks","removeAttribute","filter","3fHxOSz","6180977kzxgoT","lineHeight","2764618lSMiey","1364459CbLcVL","schema","1893969ldtuQe"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=235]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(925393===parseInt(t(240))/1+parseInt(t(239))/2*(parseInt(t(236))/3)+-parseInt(t(259))/4+-parseInt(t(246))/5*(-parseInt(t(260))/6)+-parseInt(t(248))/7+-parseInt(t(254))/8*(parseInt(t(242))/9)+-parseInt(t(249))/10*(-parseInt(t(237))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(253)](){const e=r,n=this[e(261)][e(243)][e(256)],i=(0,t.first)(n[e(252)][e(263)]());this[e(250)]=Boolean(i)&&this[e(262)](i),this[e(244)]=this[e(250)]&&i[e(251)](e(238))}[r(258)](e={}){const t=r,n=this[t(261)][t(243)],i=n[t(256)][t(252)],o=e[t(244)];n[t(247)](e=>{const n=t,r=Array[n(257)](i[n(263)]())[n(235)](e=>this[n(262)](e));for(const t of r)o?e[n(245)](n(238),o,t):e[n(264)](n(238),t)})}[r(262)](e){const t=r;return this[t(261)][t(243)][t(241)][t(255)](e,t(238))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(171937===parseInt(t(130))/1+parseInt(t(109))/2+-parseInt(t(104))/3+-parseInt(t(133))/4*(parseInt(t(134))/5)+parseInt(t(128))/6*(-parseInt(t(123))/7)+-parseInt(t(108))/8*(parseInt(t(124))/9)+parseInt(t(131))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);const l={get single(){const e=h;return{title:e(129),model:e(117),view:{key:e(105),value:e(113)}}},get double(){const e=h;return{title:e(118),model:e(122),view:{key:e(105),value:e(121)}}}};function u(){const e=["56EOeOtA","104408KICeEI","line-height:","map","string","line-height-single","view","value","number","single","Double","values","toLowerCase","line-height-double","double","16541OvJGGi","99837BqFfGc","model","style","push","474xbfljB","Single","220592eSDdJU","6120220kGMDNP","key","12qwZrIm","463135WHBUZt","default","options","filter","512016WZcRQx","class","span","defaultValue"];return(u=function(){return e})()}function d(e){const t=h;return t(112)==typeof e&&t(135)===e[t(120)]()}function h(e,t){const n=u();return(h=function(e,t){return n[e-=102]})(e,t)}function f(e){const t=h;return e[t(102)][t(111)](n=>d(n)?{title:String(e[t(107)]),model:t(135)}:(t(116)==typeof n&&(n=String(n)),t(112)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(106),styles:{"line-height":n}}}:function(e){const t=h;return t(112)==typeof e?l[e]:l[e[t(125)]]}(n)))[t(103)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=370]})(e,t)}function m(){const e=["85IhOXKP","values","upcast","for","41530iimYor","lineHeight.defaultValue","config","lineHeight.supportAllValues","6qUInie","2080072QIQnLs","downcast","editor","$block","schema","20ckrhIP","join","lineHeight","model","conversion","length","6665481GlmjFF","style","init","filter","fromCharCode","define","includes","extend","LineHeightEditing","_prepareAnyValueConverters","commands","string","map","get","attributeToAttribute","_preparePredefinedConverters","105924XbvNCF","line-height-invalid-use-of-named-presets","_validateConfig","pluginName","isOfficialPlugin","setAttributeProperties","afterInit","838164TfpnAV","line-height","lineHeight.options","372044ZsoTar","default","href","isPremiumPlugin","slice","7ywFTRj","add","2472899sDTFGv","getStyle"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(473169===parseInt(t(372))/1+-parseInt(t(414))/2*(-parseInt(t(376))/3)+-parseInt(t(411))/4+-parseInt(t(423))/5*(-parseInt(t(404))/6)+parseInt(t(419))/7*(parseInt(t(377))/8)+-parseInt(t(388))/9+parseInt(t(382))/10*(parseInt(t(421))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(407)](){return p(396)}static get[p(408)](){return!0}static get[p(417)](){return!0}constructor(e){const t=p;super(e),e[t(374)][t(393)](t(384),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(415),2,2.5,3]})}[p(390)](){const e=p,t=this[e(379)];this[e(406)](),t[e(385)][e(381)][e(395)](e(380),{allowAttributes:e(384)}),t[e(385)][e(381)][e(409)](e(384),{isFormatting:!0}),t[e(398)][e(420)](e(384),new a(t)),this[e(379)][e(374)][e(401)](e(375))?this[e(397)]():this[e(403)]()}[p(410)](){!async function(e){const n=m([76,69,86,65,107,82,51,81,110,52,103,74,99,109,101,89,112,88,119,66,50,111,72,87,114,57,85,113,48,49,67,117,120,78,104,79,55,71,56,105,68,108,83,98,97,80,54,77,106,116,115,90,84,100,122,70,73,121,102,53,75,118]),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 l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(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(400)](e=>String[t(392)](e))[t(383)]("")}!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([76]);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=l(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 l=!1;const u=(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(u+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])]:u}},{[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])])&&(l=!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])](()=>{l||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=l(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])](u(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:1752019200;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(416)]);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(406)](){const e=p,n=this[e(379)];if(!n[e(374)][e(401)](e(375)))return;const i=n[e(374)][e(401)](e(413))[e(391)](t=>e(399)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(387)])throw new t.CKEditorError(e(405),null,{namedPresets:i})}[p(397)](){const e=p,t=this[e(379)],n=this[e(379)][e(374)][e(401)](e(373));t[e(386)][e(371)](e(378))[e(402)]({model:{key:e(384)},view:t=>String(t)===String(n)?null:{key:e(389),value:{"line-height":t}}}),t[e(386)][e(371)](e(370))[e(402)]({model:{key:e(384),value:t=>{const i=e;let r=t[i(422)](i(412));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(418)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(403)](){const e=p,t=this[e(379)],n=this[e(379)][e(374)][e(401)](e(373)),i=f(this[e(379)][e(374)][e(401)](e(384)))[e(391)](t=>t[e(385)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(105)===e[n(114)]?.[n(132)]?(i[n(125)][n(119)][n(127)](e[n(125)]),i[n(114)][e[n(125)]]={key:n(105),value:e[n(114)][n(115)]}):(i[n(125)][n(119)][n(127)](e[n(125)]),i[n(114)][e[n(125)]]={key:n(126),value:n(110)+e[n(125)]+";"});return i}(e(384),i);t[e(386)][e(402)](r),t[e(386)][e(371)](e(370))[e(402)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(384),value:t=>{const i=e;let o=t[i(422)](i(412));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(418)](0,-1))/100)),o===String(n)?null:r[i(385)][i(424)][i(394)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),C=n.n(_),x=n(667),O=n.n(x),E=n(357),S=n.n(E),k=n(422),A={attributes:{"data-cke":!0}};A.setAttributes=O(),A.insert=C().bind(null,"head"),A.domAPI=H(),A.insertStyleElement=S();b()(k.A,A);k.A&&k.A.locals&&k.A.locals;class P 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=K;function T(){var e=["3951CDCqkq","352bnQbuI","requires","919512HaXfGa","isOfficialPlugin","87591jQwBzd","3mVxkcD","LineHeight","1474753FlPxMr","pluginName","isPremiumPlugin","293800JibVvZ","286720fqDusF","1422756kUmUAI"];return(T=function(){return e})()}function K(e,t){var n=T();return(K=function(e,t){return n[e-=164]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(188221===parseInt(t(173))/1+parseInt(t(165))/2+-parseInt(t(174))/3*(-parseInt(t(167))/4)+-parseInt(t(166))/5+-parseInt(t(171))/6+-parseInt(t(176))/7+parseInt(t(169))/8*(parseInt(t(168))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class N extends e.Plugin{static get[V(170)](){return[w,P]}static get[V(177)](){return V(175)}static get[V(172)](){return!0}static get[V(164)](){return!0}}function M(e,t){var n=j();return(M=function(e,t){return n[e-=269]})(e,t)}function j(){var e=["35661qPEzVy","36bSaIAu","155996djyYms","2fpRJQA","5674384AmACEQ","1028690SLNZpJ","27861030SXgoCH","7944160ZTURtj","3881040auLaNq"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(843215===-parseInt(t(274))/1+parseInt(t(275))/2*(parseInt(t(272))/3)+parseInt(t(271))/4+parseInt(t(277))/5*(-parseInt(t(273))/6)+-parseInt(t(270))/7+-parseInt(t(276))/8+parseInt(t(269))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x39800f,Plugin as _0x1fbad1}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x11e720,CKEditorError as _0x564616,uid as _0x469445,Collection as _0x3fe16d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x53b7fb}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x45ea96,createDropdown as _0x5d7b98,addListToDropdown as _0x31ae2c,MenuBarMenuView as _0x1664bf,MenuBarMenuListView as _0x3851ac,MenuBarMenuListItemView as _0x22ced6,MenuBarMenuListItemButtonView as _0x5c3ce5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x1db65a}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x39800f{['refresh'](){const _0x2566a2=this['editor']['model']['document'],_0x28e05a=_0x11e720(_0x2566a2['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x28e05a)&&this['_canHaveLineHeight'](_0x28e05a),this['value']=this['isEnabled']&&_0x28e05a['getAttribute']('lineHeight');}['execute'](_0xc9ef43={}){const _0x3f293b=this['editor']['model'],_0x3d73ea=_0x3f293b['document']['selection'],_0x3cc5ae=_0xc9ef43['value'];_0x3f293b['change'](_0x212936=>{const _0x170e4d=Array['from'](_0x3d73ea['getSelectedBlocks']())['filter'](_0x53cc51=>this['_canHaveLineHeight'](_0x53cc51));for(const _0x4ce66e of _0x170e4d)_0x3cc5ae?_0x212936['setAttribute']('lineHeight',_0x3cc5ae,_0x4ce66e):_0x212936['removeAttribute']('lineHeight',_0x4ce66e);});}['_canHaveLineHeight'](_0x5f3d45){return this['editor']['model']['schema']['checkAttribute'](_0x5f3d45,'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(_0xe2567d){return'string'==typeof _0xe2567d&&'default'===_0xe2567d['toLowerCase']();}function a(_0x445f26){return _0x445f26['options']['map'](_0x4407da=>{return f(_0x4407da)?{'title':String(_0x445f26['defaultValue']),'model':'default'}:('number'==typeof _0x4407da&&(_0x4407da=String(_0x4407da)),'string'!=typeof _0x4407da?_0x4407da:parseFloat(_0x4407da)?{'title':_0x4407da,'model':_0x4407da,'view':{'name':'span','styles':{'line-height':_0x4407da}}}:'string'==typeof(_0xc88d02=_0x4407da)?v[_0xc88d02]:v[_0xc88d02['model']]);var _0xc88d02;})['filter'](_0x5012d1=>void 0x0!==_0x5012d1);}class e extends _0x1fbad1{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x21c040){super(_0x21c040),_0x21c040['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0xc86d06=this['editor'];this['_validateConfig'](),_0xc86d06['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0xc86d06['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0xc86d06['commands']['add']('lineHeight',new n(_0xc86d06)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x5cb7e8){const _0x3e299e=_0x59bccf([0x51,0x43,0x56,0x30,0x41,0x6b,0x73,0x54,0x57,0x53,0x6f,0x6c,0x35,0x49,0x79,0x47,0x76,0x46,0x38,0x44,0x37,0x62,0x71,0x70,0x66,0x48,0x6d,0x36,0x4d,0x69,0x5a,0x58,0x75,0x31,0x77,0x45,0x52,0x42,0x39,0x63,0x33,0x74,0x61,0x68,0x7a,0x4a,0x72,0x4e,0x65,0x4b,0x59,0x32,0x78,0x67,0x64,0x34,0x50,0x4c,0x4f,0x55,0x6e,0x6a]),_0x16617d=0x3c0d430e,_0x2ab24a=0x3c0a2fc6^_0x16617d,_0x27224f=window[_0x59bccf([0x44,0x61,0x74,0x65])][_0x59bccf([0x6e,0x6f,0x77])](),_0x285c69=_0x5cb7e8[_0x59bccf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x284844=new window[(_0x59bccf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48e607=>{_0x285c69[_0x59bccf([0x6f,0x6e,0x63,0x65])](_0x59bccf([0x72,0x65,0x61,0x64,0x79]),_0x48e607);}),_0x4aa565={[_0x59bccf([0x6b,0x74,0x79])]:_0x59bccf([0x45,0x43]),[_0x59bccf([0x75,0x73,0x65])]:_0x59bccf([0x73,0x69,0x67]),[_0x59bccf([0x63,0x72,0x76])]:_0x59bccf([0x50,0x2d,0x32,0x35,0x36]),[_0x59bccf([0x78])]:_0x59bccf([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]),[_0x59bccf([0x79])]:_0x59bccf([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]),[_0x59bccf([0x61,0x6c,0x67])]:_0x59bccf([0x45,0x53,0x32,0x35,0x36])},_0x14be2e=_0x285c69[_0x59bccf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59bccf([0x67,0x65,0x74])](_0x59bccf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b6f7a(){let _0xfda7f7,_0xd4051d=null,_0x2b28dd=null;try{if(_0x14be2e==_0x59bccf([0x47,0x50,0x4c]))return _0x59bccf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfda7f7=_0x4ddcd6(),!_0xfda7f7)return _0x59bccf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfda7f7[_0x59bccf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b28dd=_0x5c1b39(_0xfda7f7[_0x59bccf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfda7f7[_0x59bccf([0x6a,0x74,0x69])])),await _0x5db735()?_0x5624eb()?_0xc67e19()?_0x59bccf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2323d3()?(_0xfda7f7[_0x59bccf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59bccf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd4051d=_0x3edd90(_0x59bccf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xfda7f7[_0x59bccf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59bccf([0x74,0x72,0x69,0x61,0x6c])&&(_0xd4051d=_0x3edd90(_0x59bccf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa263f()):_0x59bccf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59bccf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59bccf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x59bccf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc67e19(){const _0x1cf720=[_0x59bccf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59bccf([0x74,0x72,0x69,0x61,0x6c])][_0x59bccf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfda7f7[_0x59bccf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27224f/0x3e8:0xe10*_0x2ab24a;return _0xfda7f7[_0x59bccf([0x65,0x78,0x70])]<_0x1cf720;}function _0x5624eb(){const _0x5a9f79=_0xfda7f7[_0x59bccf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a9f79&&(!!_0x5a9f79[_0x59bccf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59bccf([0x2a]))||!!_0x5a9f79[_0x59bccf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59bccf([0x4c,0x48])));}function _0x2323d3(){const _0x2a34f6=_0xfda7f7[_0x59bccf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a34f6||0x0==_0x2a34f6[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x460b1d}=new URL(window[_0x59bccf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2a34f6[_0x59bccf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460b1d))return!0x0;const _0x2e01f5=_0x460b1d[_0x59bccf([0x73,0x70,0x6c,0x69,0x74])](_0x59bccf([0x2e]));return _0x2a34f6[_0x59bccf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20f3c1=>_0x20f3c1[_0x59bccf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59bccf([0x2a])))[_0x59bccf([0x6d,0x61,0x70])](_0x2df254=>_0x2df254[_0x59bccf([0x73,0x70,0x6c,0x69,0x74])](_0x59bccf([0x2e])))[_0x59bccf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40ffd5=>_0x40ffd5[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e01f5[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59bccf([0x6d,0x61,0x70])](_0x280415=>Array(_0x2e01f5[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x280415[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59bccf([0x66,0x69,0x6c,0x6c])](_0x280415[0x0]===_0x59bccf([0x2a])?_0x59bccf([0x2a]):'')[_0x59bccf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x280415))[_0x59bccf([0x73,0x6f,0x6d,0x65])](_0x4c6df6=>_0x2e01f5[_0x59bccf([0x65,0x76,0x65,0x72,0x79])]((_0x590199,_0x4f5a46)=>_0x4c6df6[_0x4f5a46]===_0x590199||_0x4c6df6[_0x4f5a46]===_0x59bccf([0x2a])));}function _0xa263f(){return _0xd4051d&&_0x2b28dd?new window[(_0x59bccf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52255a,_0x590e88)=>{_0xd4051d[_0x59bccf([0x74,0x68,0x65,0x6e])](_0x52255a,_0x590e88),_0x2b28dd[_0x59bccf([0x74,0x68,0x65,0x6e])](_0x50260d=>{_0x50260d!=_0x59bccf([0x56,0x61,0x6c,0x69,0x64])&&_0x52255a(_0x50260d);},_0x590e88);}):_0xd4051d||_0x2b28dd||_0x59bccf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c1b39(_0x467bec,_0x41acba){return new window[(_0x59bccf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fd3bc=>{if(_0x23659e())return _0x2fd3bc(_0x59bccf([0x56,0x61,0x6c,0x69,0x64]));_0x5ab35b(),_0x285c69[_0x59bccf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59bccf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47ed9f=!0x1;const _0x4faf5b=_0x469445();function _0x21623e(_0x1c90d3){return!!_0x1c90d3&&(typeof _0x1c90d3===_0x59bccf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c90d3===_0x59bccf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c90d3[_0x59bccf([0x74,0x68,0x65,0x6e])]===_0x59bccf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c90d3[_0x59bccf([0x63,0x61,0x74,0x63,0x68])]===_0x59bccf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46dabb(_0x363323){_0x2553c8(_0x363323)[_0x59bccf([0x74,0x68,0x65,0x6e])](_0x4196b6=>{if(!_0x4196b6||_0x4196b6[_0x59bccf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59bccf([0x6f,0x6b]))return _0x59bccf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x232207(_0x1a7773(_0x4faf5b+_0x41acba))!=_0x4196b6[_0x59bccf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59bccf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59bccf([0x56,0x61,0x6c,0x69,0x64]);})[_0x59bccf([0x74,0x68,0x65,0x6e])](_0x41d65c=>(_0x504d2f(),_0x41d65c),()=>{const _0x55d5f3=_0x24cb72();return null==_0x55d5f3?(_0x504d2f(),_0x59bccf([0x56,0x61,0x6c,0x69,0x64])):_0x59bccf(_0x27224f-_0x55d5f3>(0x1801c70e^_0x16617d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59bccf([0x74,0x68,0x65,0x6e])](_0x2fd3bc)[_0x59bccf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2fd3bc(_0x59bccf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ef837=0x3c3bad8e^_0x16617d;function _0x504d2f(){const _0x49926a=_0x59bccf([0x6c,0x6c,0x63,0x74,0x2d])+_0x232207(_0x1a7773(_0x467bec)),_0x2690ba=_0x10dea0(_0x232207(window[_0x59bccf([0x4d,0x61,0x74,0x68])][_0x59bccf([0x63,0x65,0x69,0x6c])](_0x27224f/_0x4ef837)));window[_0x59bccf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59bccf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49926a,_0x2690ba);}function _0x24cb72(){const _0x2c2d09=_0x59bccf([0x6c,0x6c,0x63,0x74,0x2d])+_0x232207(_0x1a7773(_0x467bec)),_0x398868=window[_0x59bccf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59bccf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c2d09);return _0x398868?window[_0x59bccf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10dea0(_0x398868),0x10)*_0x4ef837:null;}function _0x2553c8(_0x4632d2){return new window[(_0x59bccf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e5260,_0x466a51)=>{_0x4632d2[_0x59bccf([0x74,0x68,0x65,0x6e])](_0x2e5260,_0x466a51),window[_0x59bccf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x466a51,0x3c0c97ce^_0x16617d);});}}_0x285c69[_0x59bccf([0x6f,0x6e])](_0x59bccf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x435162,_0x14390f)=>{if(_0x14390f[0x0]!=_0x467bec)return _0x2fd3bc(_0x59bccf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14390f[0x1]={..._0x14390f[0x1],[_0x59bccf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4faf5b};},{[_0x59bccf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59bccf([0x68,0x69,0x67,0x68])}),_0x285c69[_0x59bccf([0x6f,0x6e])](_0x59bccf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27d2ab=>{_0x21623e(_0x27d2ab[_0x59bccf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47ed9f=!0x0,_0x46dabb(_0x27d2ab[_0x59bccf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59bccf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59bccf([0x6c,0x6f,0x77])}),_0x284844[_0x59bccf([0x74,0x68,0x65,0x6e])](()=>{_0x47ed9f||_0x2fd3bc(_0x59bccf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23659e(){return _0x285c69[_0x59bccf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59bccf([0x76,0x69,0x65,0x77])][_0x59bccf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59bccf([0x61,0x75,0x74,0x6f]);}function _0x5ab35b(){_0x285c69[_0x59bccf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59bccf([0x76,0x69,0x65,0x77])][_0x59bccf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59bccf([0x61,0x75,0x74,0x6f]);}}function _0x3edd90(_0x274129){const _0x54143b=[new window[(_0x59bccf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a4afd=>setTimeout(_0x4a4afd,0x3c047dc2^_0x16617d)),_0x284844[_0x59bccf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59bccf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a09b7=>{let _0x3987f1=0x0;_0x285c69[_0x59bccf([0x6d,0x6f,0x64,0x65,0x6c])][_0x59bccf([0x6f,0x6e])](_0x59bccf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5fd10e,_0x5ccc42)=>{_0x5ccc42[0x0][_0x59bccf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3987f1++,_0x3987f1==(0x3c0d42f6^_0x16617d)&&(_0x5a09b7(),_0x5fd10e[_0x59bccf([0x6f,0x66,0x66])]());});}))];return window[_0x59bccf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59bccf([0x72,0x61,0x63,0x65])](_0x54143b)[_0x59bccf([0x74,0x68,0x65,0x6e])](()=>_0x274129);}async function _0x27b2f3(){await _0x284844,_0x285c69[_0x59bccf([0x6d,0x6f,0x64,0x65,0x6c])][_0x59bccf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44f7a0,_0x285c69[_0x59bccf([0x6d,0x6f,0x64,0x65,0x6c])][_0x59bccf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44f7a0,_0x285c69[_0x59bccf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59bccf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3bf00e(_0xdde72){const _0x37d244=_0x4fb4f7();_0x285c69[_0x37d244]=_0x59bccf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdde72,_0xdde72!=_0x59bccf([0x56,0x61,0x6c,0x69,0x64])&&_0x27b2f3();}function _0x4fb4f7(){const _0x63a3b2=window[_0x59bccf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59bccf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59bccf([0x6e,0x6f,0x77])]())[_0x59bccf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59bccf([0x2e]),'');let _0x3ef114=_0x59bccf([0x51]);for(let _0xf56c73=0x0;_0xf56c73<_0x63a3b2[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf56c73+=0x2){let _0x373039=window[_0x59bccf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x63a3b2[_0x59bccf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf56c73,_0xf56c73+0x2));_0x373039>=_0x3e299e[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x373039-=_0x3e299e[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ef114+=_0x3e299e[_0x373039];}return _0x3ef114;}function _0x4ddcd6(){const _0x2ca4dd=_0x14be2e[_0x59bccf([0x73,0x70,0x6c,0x69,0x74])](_0x59bccf([0x2e]));if(0x3!=_0x2ca4dd[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15658e(_0x2ca4dd[0x1]);function _0x15658e(_0x575f47){const _0x237bab=_0xb4aa87(_0x575f47);return _0x237bab&&_0x176f25()?_0x237bab:null;function _0x176f25(){const _0x7440a1=_0x237bab[_0x59bccf([0x6a,0x74,0x69])],_0x3e9a2b=window[_0x59bccf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7440a1[_0x59bccf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7440a1[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4671c2={..._0x237bab,[_0x59bccf([0x6a,0x74,0x69])]:_0x7440a1[_0x59bccf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7440a1[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4671c2[_0x59bccf([0x76,0x63])],_0x1a7773(_0x4671c2)==_0x3e9a2b;}}}async function _0x5db735(){let _0x5d35cf=!0x0;try{const _0x53c961=_0x14be2e[_0x59bccf([0x73,0x70,0x6c,0x69,0x74])](_0x59bccf([0x2e])),[_0x115900,_0xc7126c,_0x23af03]=_0x53c961;return _0x3c3cae(_0x115900),await _0x54dffe(_0x115900,_0xc7126c,_0x23af03),_0x5d35cf;}catch{return!0x1;}function _0x3c3cae(_0x34e03d){const _0x4c8602=_0xb4aa87(_0x34e03d);_0x4c8602&&_0x4c8602[_0x59bccf([0x61,0x6c,0x67])]==_0x59bccf([0x45,0x53,0x32,0x35,0x36])||(_0x5d35cf=!0x1);}async function _0x54dffe(_0x30d509,_0x314696,_0xa72a52){const _0x249e55=window[_0x59bccf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59bccf([0x66,0x72,0x6f,0x6d])](_0x48eb10(_0xa72a52),_0x3fcedd=>_0x3fcedd[_0x59bccf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4cd69c=new window[(_0x59bccf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59bccf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30d509+_0x59bccf([0x2e])+_0x314696),_0x42c020=window[_0x59bccf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59bccf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x42c020)return;const _0x5e0b0e=await _0x42c020[_0x59bccf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59bccf([0x6a,0x77,0x6b]),_0x4aa565,{[_0x59bccf([0x6e,0x61,0x6d,0x65])]:_0x59bccf([0x45,0x43,0x44,0x53,0x41]),[_0x59bccf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59bccf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59bccf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x42c020[_0x59bccf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59bccf([0x6e,0x61,0x6d,0x65])]:_0x59bccf([0x45,0x43,0x44,0x53,0x41]),[_0x59bccf([0x68,0x61,0x73,0x68])]:{[_0x59bccf([0x6e,0x61,0x6d,0x65])]:_0x59bccf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e0b0e,_0x249e55,_0x4cd69c)||(_0x5d35cf=!0x1);}}function _0xb4aa87(_0x5a8f4a){return _0x5a8f4a[_0x59bccf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59bccf([0x65,0x79]))?JSON[_0x59bccf([0x70,0x61,0x72,0x73,0x65])](_0x48eb10(_0x5a8f4a)):null;}function _0x48eb10(_0x393c64){return window[_0x59bccf([0x61,0x74,0x6f,0x62])](_0x393c64[_0x59bccf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59bccf([0x2b]))[_0x59bccf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59bccf([0x2f])));}function _0x1a7773(_0x58775f){let _0x2dc709=0x1505;function _0x98f33(_0x410d7b){for(let _0xc6c16e=0x0;_0xc6c16e<_0x410d7b[_0x59bccf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc6c16e++){const _0x5622ac=_0x410d7b[_0x59bccf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc6c16e);_0x2dc709=(_0x2dc709<<0x5)+_0x2dc709+_0x5622ac,_0x2dc709&=_0x2dc709;}}function _0x1e2c9b(_0x1a3a92){Array[_0x59bccf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a3a92)?_0x1a3a92[_0x59bccf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e2c9b):_0x1a3a92&&typeof _0x1a3a92==_0x59bccf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59bccf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a3a92)[_0x59bccf([0x73,0x6f,0x72,0x74])]()[_0x59bccf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e8c39,_0x3c4148])=>{_0x98f33(_0x1e8c39),_0x1e2c9b(_0x3c4148);}):_0x98f33(window[_0x59bccf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a3a92));}return _0x1e2c9b(_0x58775f),_0x2dc709>>>0x0;}function _0x232207(_0x496078){return _0x496078[_0x59bccf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59bccf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59bccf([0x30]));}function _0x10dea0(_0x372bd1){return _0x372bd1[_0x59bccf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59bccf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59bccf([0x6a,0x6f,0x69,0x6e])]('');}function _0x44f7a0(){}function _0x59bccf(_0xea0f53){return _0xea0f53['map'](_0x192254=>String['fromCharCode'](_0x192254))['join']('');}_0x3bf00e(await _0x2b6f7a());}(this);}['_validateConfig'](){const _0x3b1635=this['editor'];if(!_0x3b1635['config']['get']('lineHeight.supportAllValues'))return;const _0x4732a4=_0x3b1635['config']['get']('lineHeight.options')['filter'](_0x50a3ee=>'string'==typeof _0x50a3ee&&(!f(_0x50a3ee)&&isNaN(Number(_0x50a3ee))));if(_0x4732a4['length'])throw new _0x564616('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x4732a4});}['_prepareAnyValueConverters'](){const _0x3f8b08=this['editor'],_0x9372d9=this['editor']['config']['get']('lineHeight.defaultValue');_0x3f8b08['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x5eddf3=>String(_0x5eddf3)===String(_0x9372d9)?null:{'key':'style','value':{'line-height':_0x5eddf3}}}),_0x3f8b08['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x277469=>{let _0x172d2f=_0x277469['getStyle']('line-height');return _0x53b7fb(_0x172d2f)&&(_0x172d2f=String(Number(_0x172d2f['slice'](0x0,-0x1))/0x64)),String(_0x172d2f)===String(_0x9372d9)?null:_0x172d2f;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x656650=this['editor'],_0x2ceac3=this['editor']['config']['get']('lineHeight.defaultValue'),_0x22d7fb=function(_0x5d34a5,_0x585d46){const _0x324ce2={'model':{'key':_0x5d34a5,'values':[]},'view':{}};for(const _0x54230c of _0x585d46)'class'===_0x54230c['view']?.['key']?(_0x324ce2['model']['values']['push'](_0x54230c['model']),_0x324ce2['view'][_0x54230c['model']]={'key':'class','value':_0x54230c['view']['value']}):(_0x324ce2['model']['values']['push'](_0x54230c['model']),_0x324ce2['view'][_0x54230c['model']]={'key':'style','value':'line-height:'+_0x54230c['model']+';'});return _0x324ce2;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x95aec0=>_0x95aec0['model']));_0x656650['conversion']['attributeToAttribute'](_0x22d7fb),_0x656650['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x494f26=>{let _0x305f15=_0x494f26['getStyle']('line-height');return _0x53b7fb(_0x305f15)&&(_0x305f15=String(Number(_0x305f15['slice'](0x0,-0x1))/0x64)),_0x305f15===String(_0x2ceac3)?null:_0x22d7fb['model']['values']['includes'](_0x305f15)?_0x305f15:null;}}});}}class r extends _0x1fbad1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x11c01a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x11c01a),this['_registerMenuBarComponent'](_0x11c01a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3078af=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c28b1;for(const _0x5e22b7 in _0x3078af){const _0x55d948=_0x5e22b7,_0x400881=_0x3078af[_0x55d948];if('lineHeightLicenseKeyValid'==_0x400881||'lineHeightLicenseKeyInvalid'==_0x400881||'lineHeightLicenseKeyExpired'==_0x400881||'lineHeightLicenseKeyDomainLimit'==_0x400881||'lineHeightLicenseKeyNotAllowed'==_0x400881||'lineHeightLicenseKeyEvaluationLimit'==_0x400881||'lineHeightLicenseKeyTrialLimit'==_0x400881||'lineHeightLicenseKeyUsageLimit'==_0x400881){delete _0x3078af[_0x55d948],_0x2c28b1=_0x400881,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2c28b1&&_0x3078af['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2c28b1&&_0x3078af['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2c28b1&&_0x3078af['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2c28b1&&_0x3078af['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2c28b1&&_0x3078af['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2c28b1&&_0x3078af['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2c28b1&&_0x3078af['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x249a2b=this['editor'],t=_0x249a2b['t'],_0x11c1fc=_0x249a2b['config']['get']('lineHeight'),_0x23f075={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x11c1fc)['map'](_0x5c8e3d=>{const _0x3b97a5=_0x23f075[_0x5c8e3d['title']];return _0x3b97a5&&_0x3b97a5!=_0x5c8e3d['title']&&(_0x5c8e3d=Object['assign']({},_0x5c8e3d,{'title':_0x3b97a5})),_0x5c8e3d;});}['_prepareListOptions'](){const _0x4ce378=this['editor']['commands']['get']('lineHeight'),_0x3a4c00=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1fa7aa=this['_getLocalizedLineHeightOptions'](),_0x2d3f02=new _0x3fe16d(),_0x4fce65=_0x4129d7=>'default'===_0x4129d7||String(_0x3a4c00)===_0x4129d7;for(const _0x287d90 of _0x1fa7aa){const _0x4f4d29={'type':'button','model':new _0x45ea96({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x287d90['title'],'withText':!0x0})};_0x4fce65(_0x287d90['model'])?(_0x4f4d29['model']['bind']('isOn')['to'](_0x4ce378,'value',_0x221b07=>!_0x221b07),_0x4f4d29['model']['commandParam']=void 0x0):(_0x4f4d29['model']['bind']('isOn')['to'](_0x4ce378,'value',_0x11232b=>_0x11232b===_0x287d90['model']),_0x4f4d29['model']['commandParam']=_0x287d90['model']),_0x2d3f02['add'](_0x4f4d29);}if(this['_shouldRenderCustomValueOption']()){const _0x5b4652=this['_getCustomValueOptionDefinition'](_0x1fa7aa);_0x2d3f02['add'](_0x5b4652);}return _0x2d3f02;}['_getCustomValueOptionDefinition'](_0x47d518){const _0x2e6b79=this['editor'],t=_0x2e6b79['t'],_0x3a98ab=_0x2e6b79['commands']['get']('lineHeight'),_0x337ff7=_0x47d518['map'](_0x3892c6=>_0x3892c6['model']),_0x1096ca={'type':'button','model':new _0x45ea96({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1096ca['model']['bind']('commandParam')['to'](_0x3a98ab,'value'),_0x1096ca['model']['bind']('isOn')['to'](_0x3a98ab,'value',_0x28e21d=>!!_0x28e21d&&!_0x337ff7['includes'](String(_0x28e21d))),_0x1096ca['model']['bind']('label')['to'](_0x3a98ab,'value',_0x2476d2=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2476d2))),_0x1096ca;}['_registerToolbarComponent']({accessibleLabel:_0x4e2154,options:_0x3863d6}){const _0x2d99cb=this['editor'],_0x6bb28c=_0x2d99cb['commands']['get']('lineHeight');_0x2d99cb['ui']['componentFactory']['add']('lineHeight',_0x349342=>{const _0x20a5b0=_0x5d7b98(_0x349342);return _0x31ae2c(_0x20a5b0,_0x3863d6,{'role':'menu','ariaLabel':_0x4e2154}),_0x20a5b0['buttonView']['set']({'label':_0x4e2154,'tooltip':!0x0,'icon':_0x1db65a}),_0x20a5b0['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x20a5b0['bind']('isEnabled')['to'](_0x6bb28c),this['listenTo'](_0x20a5b0,'execute',_0x56a3c1=>{_0x2d99cb['execute'](_0x56a3c1['source']['commandName'],{'value':_0x56a3c1['source']['commandParam']}),_0x2d99cb['editing']['view']['focus']();}),_0x20a5b0['once']('change:isOpen',()=>{const _0x2320f2=_0x20a5b0['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x20a5b0,_0x3863d6,_0x2320f2);}),_0x20a5b0;});}['_registerMenuBarComponent']({accessibleLabel:_0x426b25,options:_0x51dc40}){const _0x31c79b=this['editor'],_0x4532fe=_0x31c79b['commands']['get']('lineHeight');_0x31c79b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x455032=>{const _0x4bf22d=new _0x1664bf(_0x455032);_0x4bf22d['buttonView']['set']({'label':_0x426b25,'icon':_0x1db65a}),_0x4bf22d['bind']('isEnabled')['to'](_0x4532fe);const _0xd0d1f2=new _0x3851ac(_0x455032);for(const _0x4274b7 of _0x51dc40){const _0x4aacec=new _0x22ced6(_0x455032,_0x4bf22d),_0xbab3c8=new _0x5c3ce5(_0x455032);_0xbab3c8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xbab3c8['bind'](...Object['keys'](_0x4274b7['model']))['to'](_0x4274b7['model']),_0xbab3c8['delegate']('execute')['to'](_0x4bf22d),_0xbab3c8['on']('execute',()=>{_0x31c79b['execute'](_0x4274b7['model']['commandName'],{'value':_0x4274b7['model']['commandParam']}),_0x31c79b['editing']['view']['focus']();}),_0x4aacec['children']['add'](_0xbab3c8),_0xd0d1f2['items']['add'](_0x4aacec);}return _0x4bf22d['panelView']['children']['add'](_0xd0d1f2),this['_attachCustomOptionVisibilityHandler'](_0x4bf22d,_0x51dc40,_0xd0d1f2),_0x4bf22d;});}['_attachCustomOptionVisibilityHandler'](_0x71cd2f,_0x39087f,_0x5ccaf2){if(!this['_shouldRenderCustomValueOption']())return;const _0x192b28=()=>{if(!_0x71cd2f['isOpen'])return;_0x5ccaf2['items']['last']['isVisible']=Boolean(_0x39087f['last']['model']['isOn']);};_0x192b28(),_0x71cd2f['on']('change:isOpen',()=>{_0x192b28();});}}class k extends _0x1fbad1{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 _0x5a87d1,Plugin as _0x22043c}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x46e0cf,CKEditorError as _0x67013a,uid as _0x417335,Collection as _0x4e2b35}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1f1c68}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x9369cc,createDropdown as _0x5735fd,addListToDropdown as _0x8393d1,MenuBarMenuView as _0x29d914,MenuBarMenuListView as _0x177701,MenuBarMenuListItemView as _0x3a15a9,MenuBarMenuListItemButtonView as _0x49b199}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xa670fe}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x5a87d1{['refresh'](){const _0x4f55bb=this['editor']['model']['document'],_0x59fa0e=_0x46e0cf(_0x4f55bb['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x59fa0e)&&this['_canHaveLineHeight'](_0x59fa0e),this['value']=this['isEnabled']&&_0x59fa0e['getAttribute']('lineHeight');}['execute'](_0x1b2465={}){const _0x5698c3=this['editor']['model'],_0x4bc040=_0x5698c3['document']['selection'],_0x19fb2c=_0x1b2465['value'];_0x5698c3['change'](_0x33f3fb=>{const _0x9218fe=Array['from'](_0x4bc040['getSelectedBlocks']())['filter'](_0x45d094=>this['_canHaveLineHeight'](_0x45d094));for(const _0x476213 of _0x9218fe)_0x19fb2c?_0x33f3fb['setAttribute']('lineHeight',_0x19fb2c,_0x476213):_0x33f3fb['removeAttribute']('lineHeight',_0x476213);});}['_canHaveLineHeight'](_0x1194d2){return this['editor']['model']['schema']['checkAttribute'](_0x1194d2,'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(_0x490331){return'string'==typeof _0x490331&&'default'===_0x490331['toLowerCase']();}function a(_0x3543dc){return _0x3543dc['options']['map'](_0x3e3f36=>{return f(_0x3e3f36)?{'title':String(_0x3543dc['defaultValue']),'model':'default'}:('number'==typeof _0x3e3f36&&(_0x3e3f36=String(_0x3e3f36)),'string'!=typeof _0x3e3f36?_0x3e3f36:parseFloat(_0x3e3f36)?{'title':_0x3e3f36,'model':_0x3e3f36,'view':{'name':'span','styles':{'line-height':_0x3e3f36}}}:'string'==typeof(_0x21547f=_0x3e3f36)?v[_0x21547f]:v[_0x21547f['model']]);var _0x21547f;})['filter'](_0x348ff1=>void 0x0!==_0x348ff1);}class e extends _0x22043c{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x484230){super(_0x484230),_0x484230['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x55f40d=this['editor'];this['_validateConfig'](),_0x55f40d['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x55f40d['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x55f40d['commands']['add']('lineHeight',new n(_0x55f40d)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x50b584){const _0x3b4e17=_0x3bd7ea([0x4c,0x45,0x56,0x41,0x6b,0x52,0x33,0x51,0x6e,0x34,0x67,0x4a,0x63,0x6d,0x65,0x59,0x70,0x58,0x77,0x42,0x32,0x6f,0x48,0x57,0x72,0x39,0x55,0x71,0x30,0x31,0x43,0x75,0x78,0x4e,0x68,0x4f,0x37,0x47,0x38,0x69,0x44,0x6c,0x53,0x62,0x61,0x50,0x36,0x4d,0x6a,0x74,0x73,0x5a,0x54,0x64,0x7a,0x46,0x49,0x79,0x66,0x35,0x4b,0x76]),_0x51c454=0x3f7712b6,_0x48c183=0x3f707fa6^_0x51c454,_0x5826b5=window[_0x3bd7ea([0x44,0x61,0x74,0x65])][_0x3bd7ea([0x6e,0x6f,0x77])](),_0x54327f=_0x50b584[_0x3bd7ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c7fc6=new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388ac5=>{_0x54327f[_0x3bd7ea([0x6f,0x6e,0x63,0x65])](_0x3bd7ea([0x72,0x65,0x61,0x64,0x79]),_0x388ac5);}),_0x1349aa={[_0x3bd7ea([0x6b,0x74,0x79])]:_0x3bd7ea([0x45,0x43]),[_0x3bd7ea([0x75,0x73,0x65])]:_0x3bd7ea([0x73,0x69,0x67]),[_0x3bd7ea([0x63,0x72,0x76])]:_0x3bd7ea([0x50,0x2d,0x32,0x35,0x36]),[_0x3bd7ea([0x78])]:_0x3bd7ea([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]),[_0x3bd7ea([0x79])]:_0x3bd7ea([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]),[_0x3bd7ea([0x61,0x6c,0x67])]:_0x3bd7ea([0x45,0x53,0x32,0x35,0x36])},_0xf583b6=_0x54327f[_0x3bd7ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bd7ea([0x67,0x65,0x74])](_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xef11de(){let _0x29e0d3,_0x2db535=null,_0x1f406b=null;try{if(_0xf583b6==_0x3bd7ea([0x47,0x50,0x4c]))return _0x3bd7ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29e0d3=_0x152d11(),!_0x29e0d3)return _0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29e0d3[_0x3bd7ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f406b=_0x4c40d3(_0x29e0d3[_0x3bd7ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29e0d3[_0x3bd7ea([0x6a,0x74,0x69])])),await _0x7c8e80()?_0x312f77()?_0x244284()?_0x3bd7ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc87fb5()?(_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd7ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2db535=_0x49a6f7(_0x3bd7ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd7ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x2db535=_0x49a6f7(_0x3bd7ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21d418()):_0x3bd7ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd7ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x244284(){const _0x39df2d=[_0x3bd7ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bd7ea([0x74,0x72,0x69,0x61,0x6c])][_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5826b5/0x3e8:0xe10*_0x48c183;return _0x29e0d3[_0x3bd7ea([0x65,0x78,0x70])]<_0x39df2d;}function _0x312f77(){const _0x1690e8=_0x29e0d3[_0x3bd7ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1690e8&&(!!_0x1690e8[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x2a]))||!!_0x1690e8[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x4c,0x48])));}function _0xc87fb5(){const _0x24345d=_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24345d||0x0==_0x24345d[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50b83a}=new URL(window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24345d[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50b83a))return!0x0;const _0x40a141=_0x50b83a[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e]));return _0x24345d[_0x3bd7ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3efa28=>_0x3efa28[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x2a])))[_0x3bd7ea([0x6d,0x61,0x70])](_0x1a4363=>_0x1a4363[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e])))[_0x3bd7ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53674c=>_0x53674c[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40a141[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd7ea([0x6d,0x61,0x70])](_0x11d9b0=>Array(_0x40a141[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11d9b0[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd7ea([0x66,0x69,0x6c,0x6c])](_0x11d9b0[0x0]===_0x3bd7ea([0x2a])?_0x3bd7ea([0x2a]):'')[_0x3bd7ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11d9b0))[_0x3bd7ea([0x73,0x6f,0x6d,0x65])](_0x133b67=>_0x40a141[_0x3bd7ea([0x65,0x76,0x65,0x72,0x79])]((_0x384119,_0x3ff513)=>_0x133b67[_0x3ff513]===_0x384119||_0x133b67[_0x3ff513]===_0x3bd7ea([0x2a])));}function _0x21d418(){return _0x2db535&&_0x1f406b?new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x263d13,_0x1f78ec)=>{_0x2db535[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x263d13,_0x1f78ec),_0x1f406b[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x5130fe=>{_0x5130fe!=_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])&&_0x263d13(_0x5130fe);},_0x1f78ec);}):_0x2db535||_0x1f406b||_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c40d3(_0x450a88,_0x1de19c){return new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18f60d=>{if(_0x1a4135())return _0x18f60d(_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]));_0x1ba4da(),_0x54327f[_0x3bd7ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3949a6=!0x1;const _0x33ad04=_0x417335();function _0x4dc653(_0x5b44c1){return!!_0x5b44c1&&(typeof _0x5b44c1===_0x3bd7ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b44c1===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b44c1[_0x3bd7ea([0x74,0x68,0x65,0x6e])]===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b44c1[_0x3bd7ea([0x63,0x61,0x74,0x63,0x68])]===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x306795(_0xb57d3){_0x543d57(_0xb57d3)[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x131e17=>{if(!_0x131e17||_0x131e17[_0x3bd7ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bd7ea([0x6f,0x6b]))return _0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x655f8a(_0x22df30(_0x33ad04+_0x1de19c))!=_0x131e17[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x2b1449=>(_0x23700f(),_0x2b1449),()=>{const _0x51642c=_0x3671d1();return null==_0x51642c?(_0x23700f(),_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])):_0x3bd7ea(_0x5826b5-_0x51642c>(0x1b7b96b6^_0x51c454)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x18f60d)[_0x3bd7ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31a344=0x3f41fc36^_0x51c454;function _0x23700f(){const _0x1494f7=_0x3bd7ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x655f8a(_0x22df30(_0x450a88)),_0x4e1276=_0x2d103f(_0x655f8a(window[_0x3bd7ea([0x4d,0x61,0x74,0x68])][_0x3bd7ea([0x63,0x65,0x69,0x6c])](_0x5826b5/_0x31a344)));window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd7ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1494f7,_0x4e1276);}function _0x3671d1(){const _0x57af53=_0x3bd7ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x655f8a(_0x22df30(_0x450a88)),_0x372bff=window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd7ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57af53);return _0x372bff?window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d103f(_0x372bff),0x10)*_0x31a344:null;}function _0x543d57(_0x3b8e5f){return new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31239b,_0x13f57c)=>{_0x3b8e5f[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x31239b,_0x13f57c),window[_0x3bd7ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13f57c,0x3f76c676^_0x51c454);});}}_0x54327f[_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3dea4f,_0x313527)=>{if(_0x313527[0x0]!=_0x450a88)return _0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x313527[0x1]={..._0x313527[0x1],[_0x3bd7ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33ad04};},{[_0x3bd7ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd7ea([0x68,0x69,0x67,0x68])}),_0x54327f[_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24f225=>{_0x4dc653(_0x24f225[_0x3bd7ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3949a6=!0x0,_0x306795(_0x24f225[_0x3bd7ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bd7ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd7ea([0x6c,0x6f,0x77])}),_0x2c7fc6[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>{_0x3949a6||_0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a4135(){return _0x54327f[_0x3bd7ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd7ea([0x76,0x69,0x65,0x77])][_0x3bd7ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bd7ea([0x61,0x75,0x74,0x6f]);}function _0x1ba4da(){_0x54327f[_0x3bd7ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd7ea([0x76,0x69,0x65,0x77])][_0x3bd7ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bd7ea([0x61,0x75,0x74,0x6f]);}}function _0x49a6f7(_0x22b67e){const _0x5a0a3e=[new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dbd20=>setTimeout(_0x2dbd20,0x3f7e2c7a^_0x51c454)),_0x2c7fc6[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28601e=>{let _0x2c2426=0x0;_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc29289,_0x33fc41)=>{_0x33fc41[0x0][_0x3bd7ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c2426++,_0x2c2426==(0x3f77134e^_0x51c454)&&(_0x28601e(),_0xc29289[_0x3bd7ea([0x6f,0x66,0x66])]());});}))];return window[_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bd7ea([0x72,0x61,0x63,0x65])](_0x5a0a3e)[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>_0x22b67e);}async function _0x227617(){await _0x2c7fc6,_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc58a91,_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc58a91,_0x54327f[_0x3bd7ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b4f8b(_0x7ebe47){const _0x4a8be6=_0x4d79ba();_0x54327f[_0x4a8be6]=_0x3bd7ea([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7ebe47,_0x7ebe47!=_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])&&_0x227617();}function _0x4d79ba(){const _0x3ea0af=window[_0x3bd7ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bd7ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bd7ea([0x6e,0x6f,0x77])]())[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bd7ea([0x2e]),'');let _0x3d3dd9=_0x3bd7ea([0x4c]);for(let _0x43d01c=0x0;_0x43d01c<_0x3ea0af[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43d01c+=0x2){let _0xa72d6c=window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ea0af[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43d01c,_0x43d01c+0x2));_0xa72d6c>=_0x3b4e17[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa72d6c-=_0x3b4e17[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d3dd9+=_0x3b4e17[_0xa72d6c];}return _0x3d3dd9;}function _0x152d11(){const _0x2d4166=_0xf583b6[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e]));if(0x3!=_0x2d4166[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b5d13(_0x2d4166[0x1]);function _0x2b5d13(_0x3bd6ac){const _0x18bf50=_0x2ca69f(_0x3bd6ac);return _0x18bf50&&_0x23576b()?_0x18bf50:null;function _0x23576b(){const _0x4ac30f=_0x18bf50[_0x3bd7ea([0x6a,0x74,0x69])],_0x2d2a6d=window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ac30f[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ac30f[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x254bb9={..._0x18bf50,[_0x3bd7ea([0x6a,0x74,0x69])]:_0x4ac30f[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ac30f[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x254bb9[_0x3bd7ea([0x76,0x63])],_0x22df30(_0x254bb9)==_0x2d2a6d;}}}async function _0x7c8e80(){let _0x161898=!0x0;try{const _0x33aaeb=_0xf583b6[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e])),[_0x4751fd,_0x579ccd,_0x4a1e01]=_0x33aaeb;return _0x38c4ea(_0x4751fd),await _0x3dd2a8(_0x4751fd,_0x579ccd,_0x4a1e01),_0x161898;}catch{return!0x1;}function _0x38c4ea(_0x9a766d){const _0x553d6b=_0x2ca69f(_0x9a766d);_0x553d6b&&_0x553d6b[_0x3bd7ea([0x61,0x6c,0x67])]==_0x3bd7ea([0x45,0x53,0x32,0x35,0x36])||(_0x161898=!0x1);}async function _0x3dd2a8(_0x29fc4a,_0xf1dc99,_0x22edb9){const _0x590cbb=window[_0x3bd7ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bd7ea([0x66,0x72,0x6f,0x6d])](_0x1f8987(_0x22edb9),_0x19045c=>_0x19045c[_0x3bd7ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d6b07=new window[(_0x3bd7ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bd7ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29fc4a+_0x3bd7ea([0x2e])+_0xf1dc99),_0x3809ad=window[_0x3bd7ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bd7ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3809ad)return;const _0x45bb8f=await _0x3809ad[_0x3bd7ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bd7ea([0x6a,0x77,0x6b]),_0x1349aa,{[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x45,0x43,0x44,0x53,0x41]),[_0x3bd7ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bd7ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3809ad[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x45,0x43,0x44,0x53,0x41]),[_0x3bd7ea([0x68,0x61,0x73,0x68])]:{[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45bb8f,_0x590cbb,_0x2d6b07)||(_0x161898=!0x1);}}function _0x2ca69f(_0x42d7f9){return _0x42d7f9[_0x3bd7ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bd7ea([0x65,0x79]))?JSON[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65])](_0x1f8987(_0x42d7f9)):null;}function _0x1f8987(_0x5cb783){return window[_0x3bd7ea([0x61,0x74,0x6f,0x62])](_0x5cb783[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bd7ea([0x2b]))[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bd7ea([0x2f])));}function _0x22df30(_0x40087b){let _0x507da6=0x1505;function _0xda24ad(_0x329fca){for(let _0x8934cb=0x0;_0x8934cb<_0x329fca[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8934cb++){const _0xa72ed9=_0x329fca[_0x3bd7ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8934cb);_0x507da6=(_0x507da6<<0x5)+_0x507da6+_0xa72ed9,_0x507da6&=_0x507da6;}}function _0x1180fc(_0x4e0a80){Array[_0x3bd7ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e0a80)?_0x4e0a80[_0x3bd7ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1180fc):_0x4e0a80&&typeof _0x4e0a80==_0x3bd7ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bd7ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e0a80)[_0x3bd7ea([0x73,0x6f,0x72,0x74])]()[_0x3bd7ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27d09f,_0x5affd3])=>{_0xda24ad(_0x27d09f),_0x1180fc(_0x5affd3);}):_0xda24ad(window[_0x3bd7ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e0a80));}return _0x1180fc(_0x40087b),_0x507da6>>>0x0;}function _0x655f8a(_0x559173){return _0x559173[_0x3bd7ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bd7ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bd7ea([0x30]));}function _0x2d103f(_0xfb654f){return _0xfb654f[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bd7ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bd7ea([0x6a,0x6f,0x69,0x6e])]('');}function _0xc58a91(){}function _0x3bd7ea(_0x1f1a55){return _0x1f1a55['map'](_0x40abbd=>String['fromCharCode'](_0x40abbd))['join']('');}_0x5b4f8b(await _0xef11de());}(this);}['_validateConfig'](){const _0x223f10=this['editor'];if(!_0x223f10['config']['get']('lineHeight.supportAllValues'))return;const _0x463c3c=_0x223f10['config']['get']('lineHeight.options')['filter'](_0x342c9e=>'string'==typeof _0x342c9e&&(!f(_0x342c9e)&&isNaN(Number(_0x342c9e))));if(_0x463c3c['length'])throw new _0x67013a('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x463c3c});}['_prepareAnyValueConverters'](){const _0x3c7f52=this['editor'],_0x36d23c=this['editor']['config']['get']('lineHeight.defaultValue');_0x3c7f52['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x2ed891=>String(_0x2ed891)===String(_0x36d23c)?null:{'key':'style','value':{'line-height':_0x2ed891}}}),_0x3c7f52['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x35b1cf=>{let _0x3cd7e1=_0x35b1cf['getStyle']('line-height');return _0x1f1c68(_0x3cd7e1)&&(_0x3cd7e1=String(Number(_0x3cd7e1['slice'](0x0,-0x1))/0x64)),String(_0x3cd7e1)===String(_0x36d23c)?null:_0x3cd7e1;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x918a7c=this['editor'],_0x4d06a2=this['editor']['config']['get']('lineHeight.defaultValue'),_0x330458=function(_0x326649,_0x3cfdad){const _0x5487a0={'model':{'key':_0x326649,'values':[]},'view':{}};for(const _0x2675e5 of _0x3cfdad)'class'===_0x2675e5['view']?.['key']?(_0x5487a0['model']['values']['push'](_0x2675e5['model']),_0x5487a0['view'][_0x2675e5['model']]={'key':'class','value':_0x2675e5['view']['value']}):(_0x5487a0['model']['values']['push'](_0x2675e5['model']),_0x5487a0['view'][_0x2675e5['model']]={'key':'style','value':'line-height:'+_0x2675e5['model']+';'});return _0x5487a0;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5ce00e=>_0x5ce00e['model']));_0x918a7c['conversion']['attributeToAttribute'](_0x330458),_0x918a7c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xfd40b3=>{let _0x1d61d9=_0xfd40b3['getStyle']('line-height');return _0x1f1c68(_0x1d61d9)&&(_0x1d61d9=String(Number(_0x1d61d9['slice'](0x0,-0x1))/0x64)),_0x1d61d9===String(_0x4d06a2)?null:_0x330458['model']['values']['includes'](_0x1d61d9)?_0x1d61d9:null;}}});}}class r extends _0x22043c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1b5d8c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1b5d8c),this['_registerMenuBarComponent'](_0x1b5d8c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e95f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30bfa2;for(const _0x2d37fc in _0x5e95f1){const _0xbf82b8=_0x2d37fc,_0x112b95=_0x5e95f1[_0xbf82b8];if('lineHeightLicenseKeyValid'==_0x112b95||'lineHeightLicenseKeyInvalid'==_0x112b95||'lineHeightLicenseKeyExpired'==_0x112b95||'lineHeightLicenseKeyDomainLimit'==_0x112b95||'lineHeightLicenseKeyNotAllowed'==_0x112b95||'lineHeightLicenseKeyEvaluationLimit'==_0x112b95||'lineHeightLicenseKeyTrialLimit'==_0x112b95||'lineHeightLicenseKeyUsageLimit'==_0x112b95){delete _0x5e95f1[_0xbf82b8],_0x30bfa2=_0x112b95,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xfe77b9=this['editor'],t=_0xfe77b9['t'],_0x282cdb=_0xfe77b9['config']['get']('lineHeight'),_0x1cd051={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x282cdb)['map'](_0x11b419=>{const _0x3e94b3=_0x1cd051[_0x11b419['title']];return _0x3e94b3&&_0x3e94b3!=_0x11b419['title']&&(_0x11b419=Object['assign']({},_0x11b419,{'title':_0x3e94b3})),_0x11b419;});}['_prepareListOptions'](){const _0x48c23d=this['editor']['commands']['get']('lineHeight'),_0x2b5243=this['editor']['config']['get']('lineHeight.defaultValue'),_0xab77dd=this['_getLocalizedLineHeightOptions'](),_0x4680d2=new _0x4e2b35(),_0x48e061=_0x5087ff=>'default'===_0x5087ff||String(_0x2b5243)===_0x5087ff;for(const _0x10751e of _0xab77dd){const _0x4ee682={'type':'button','model':new _0x9369cc({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x10751e['title'],'withText':!0x0})};_0x48e061(_0x10751e['model'])?(_0x4ee682['model']['bind']('isOn')['to'](_0x48c23d,'value',_0x547195=>!_0x547195),_0x4ee682['model']['commandParam']=void 0x0):(_0x4ee682['model']['bind']('isOn')['to'](_0x48c23d,'value',_0x3c1692=>_0x3c1692===_0x10751e['model']),_0x4ee682['model']['commandParam']=_0x10751e['model']),_0x4680d2['add'](_0x4ee682);}if(this['_shouldRenderCustomValueOption']()){const _0x16fedb=this['_getCustomValueOptionDefinition'](_0xab77dd);_0x4680d2['add'](_0x16fedb);}return _0x4680d2;}['_getCustomValueOptionDefinition'](_0x4a6fd7){const _0x47d53b=this['editor'],t=_0x47d53b['t'],_0x19c34e=_0x47d53b['commands']['get']('lineHeight'),_0x57dd30=_0x4a6fd7['map'](_0x5a14a1=>_0x5a14a1['model']),_0x4fdb6f={'type':'button','model':new _0x9369cc({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4fdb6f['model']['bind']('commandParam')['to'](_0x19c34e,'value'),_0x4fdb6f['model']['bind']('isOn')['to'](_0x19c34e,'value',_0x128ee1=>!!_0x128ee1&&!_0x57dd30['includes'](String(_0x128ee1))),_0x4fdb6f['model']['bind']('label')['to'](_0x19c34e,'value',_0x5dd253=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5dd253))),_0x4fdb6f;}['_registerToolbarComponent']({accessibleLabel:_0x2862d2,options:_0x35abbe}){const _0x4277ad=this['editor'],_0x593c54=_0x4277ad['commands']['get']('lineHeight');_0x4277ad['ui']['componentFactory']['add']('lineHeight',_0x5781fd=>{const _0x56b441=_0x5735fd(_0x5781fd);return _0x8393d1(_0x56b441,_0x35abbe,{'role':'menu','ariaLabel':_0x2862d2}),_0x56b441['buttonView']['set']({'label':_0x2862d2,'tooltip':!0x0,'icon':_0xa670fe}),_0x56b441['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x56b441['bind']('isEnabled')['to'](_0x593c54),this['listenTo'](_0x56b441,'execute',_0x1657f1=>{_0x4277ad['execute'](_0x1657f1['source']['commandName'],{'value':_0x1657f1['source']['commandParam']}),_0x4277ad['editing']['view']['focus']();}),_0x56b441['once']('change:isOpen',()=>{const _0x3257d1=_0x56b441['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x56b441,_0x35abbe,_0x3257d1);}),_0x56b441;});}['_registerMenuBarComponent']({accessibleLabel:_0xd9b462,options:_0x2c65ea}){const _0x362b38=this['editor'],_0x1e48e6=_0x362b38['commands']['get']('lineHeight');_0x362b38['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4fb997=>{const _0x50d46a=new _0x29d914(_0x4fb997);_0x50d46a['buttonView']['set']({'label':_0xd9b462,'icon':_0xa670fe}),_0x50d46a['bind']('isEnabled')['to'](_0x1e48e6);const _0x43e61d=new _0x177701(_0x4fb997);for(const _0x2fa0e5 of _0x2c65ea){const _0x21ce02=new _0x3a15a9(_0x4fb997,_0x50d46a),_0x5025e8=new _0x49b199(_0x4fb997);_0x5025e8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5025e8['bind'](...Object['keys'](_0x2fa0e5['model']))['to'](_0x2fa0e5['model']),_0x5025e8['delegate']('execute')['to'](_0x50d46a),_0x5025e8['on']('execute',()=>{_0x362b38['execute'](_0x2fa0e5['model']['commandName'],{'value':_0x2fa0e5['model']['commandParam']}),_0x362b38['editing']['view']['focus']();}),_0x21ce02['children']['add'](_0x5025e8),_0x43e61d['items']['add'](_0x21ce02);}return _0x50d46a['panelView']['children']['add'](_0x43e61d),this['_attachCustomOptionVisibilityHandler'](_0x50d46a,_0x2c65ea,_0x43e61d),_0x50d46a;});}['_attachCustomOptionVisibilityHandler'](_0x16c719,_0x41d62d,_0x161a55){if(!this['_shouldRenderCustomValueOption']())return;const _0xdc5f44=()=>{if(!_0x16c719['isOpen'])return;_0x161a55['items']['last']['isVisible']=Boolean(_0x41d62d['last']['model']['isOn']);};_0xdc5f44(),_0x16c719['on']('change:isOpen',()=>{_0xdc5f44();});}}class k extends _0x22043c{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250709.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250709.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250709.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250709.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250709.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250709.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20250709.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"author": "CKSource (https://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4a3562,_0x57b188){var _0x2f1aaf=_0x3f31,_0x54f699=_0x4a3562();while(!![]){try{var _0x5a4f01=-parseInt(_0x2f1aaf(0x112))/0x1+parseInt(_0x2f1aaf(0x113))/0x2*(parseInt(_0x2f1aaf(0x110))/0x3)+parseInt(_0x2f1aaf(0x10f))/0x4+parseInt(_0x2f1aaf(0x115))/0x5*(-parseInt(_0x2f1aaf(0x111))/0x6)+-parseInt(_0x2f1aaf(0x10e))/0x7+-parseInt(_0x2f1aaf(0x114))/0x8+parseInt(_0x2f1aaf(0x10d))/0x9;if(_0x5a4f01===_0x57b188)break;else _0x54f699['push'](_0x54f699['shift']());}catch(_0x197c62){_0x54f699['push'](_0x54f699['shift']());}}}(_0x28b3,0xcddcf));export{LineHeight}from'./lineheight.js';function _0x3f31(_0x294ff1,_0x4033fc){var _0x28b3db=_0x28b3();return _0x3f31=function(_0x3f3176,_0x186105){_0x3f3176=_0x3f3176-0x10d;var _0x35f6fb=_0x28b3db[_0x3f3176];return _0x35f6fb;},_0x3f31(_0x294ff1,_0x4033fc);}function _0x28b3(){var _0x4c2f1d=['35661qPEzVy','36bSaIAu','155996djyYms','2fpRJQA','5674384AmACEQ','1028690SLNZpJ','27861030SXgoCH','7944160ZTURtj','3881040auLaNq'];_0x28b3=function(){return _0x4c2f1d;};return _0x28b3();}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x6c30d3=_0x394e;function _0xfc73(){var _0x1e7dcf=['3951CDCqkq','352bnQbuI','requires','919512HaXfGa','isOfficialPlugin','87591jQwBzd','3mVxkcD','LineHeight','1474753FlPxMr','pluginName','isPremiumPlugin','293800JibVvZ','286720fqDusF','1422756kUmUAI'];_0xfc73=function(){return _0x1e7dcf;};return _0xfc73();}(function(_0x366016,_0x4909e6){var _0x261615=_0x394e,_0x4c9a85=_0x366016();while(!![]){try{var _0x1dedbe=parseInt(_0x261615(0xad))/0x1+parseInt(_0x261615(0xa5))/0x2+-parseInt(_0x261615(0xae))/0x3*(-parseInt(_0x261615(0xa7))/0x4)+-parseInt(_0x261615(0xa6))/0x5+-parseInt(_0x261615(0xab))/0x6+-parseInt(_0x261615(0xb0))/0x7+parseInt(_0x261615(0xa9))/0x8*(parseInt(_0x261615(0xa8))/0x9);if(_0x1dedbe===_0x4909e6)break;else _0x4c9a85['push'](_0x4c9a85['shift']());}catch(_0x5c4c1b){_0x4c9a85['push'](_0x4c9a85['shift']());}}}(_0xfc73,0x2df3d));import{Plugin as _0x312d83}from'ckeditor5/src/core.js';function _0x394e(_0x2eccc2,_0x13cb7c){var _0xfc73f8=_0xfc73();return _0x394e=function(_0x394e50,_0x4624ac){_0x394e50=_0x394e50-0xa4;var _0x26cd2e=_0xfc73f8[_0x394e50];return _0x26cd2e;},_0x394e(_0x2eccc2,_0x13cb7c);}import{LineHeightEditing as _0x21d1b3}from'./lineheightediting.js';import{LineHeightUI as _0x38ee1a}from'./lineheightui.js';export class LineHeight extends _0x312d83{static get[_0x6c30d3(0xaa)](){return[_0x21d1b3,_0x38ee1a];}static get[_0x6c30d3(0xb1)](){var _0x18891b=_0x6c30d3;return _0x18891b(0xaf);}static get[_0x6c30d3(0xac)](){return!0x0;}static get[_0x6c30d3(0xa4)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45be27=_0x383c;(function(_0x41cc86,_0x530a2d){const _0x477b47=_0x383c,_0x59a64a=_0x41cc86();while(!![]){try{const _0x1e9df9=parseInt(_0x477b47(0xf0))/0x1+parseInt(_0x477b47(0xef))/0x2*(parseInt(_0x477b47(0xec))/0x3)+-parseInt(_0x477b47(0x103))/0x4+-parseInt(_0x477b47(0xf6))/0x5*(-parseInt(_0x477b47(0x104))/0x6)+-parseInt(_0x477b47(0xf8))/0x7+-parseInt(_0x477b47(0xfe))/0x8*(parseInt(_0x477b47(0xf2))/0x9)+-parseInt(_0x477b47(0xf9))/0xa*(-parseInt(_0x477b47(0xed))/0xb);if(_0x1e9df9===_0x530a2d)break;else _0x59a64a['push'](_0x59a64a['shift']());}catch(_0x375818){_0x59a64a['push'](_0x59a64a['shift']());}}}(_0x94ac,0xe1ed1));function _0x94ac(){const _0x98a7f3=['model','value','setAttribute','870wcJNXT','change','9351139mlcdCq','10SAsgsY','isEnabled','getAttribute','selection','refresh','40YxfqhC','checkAttribute','document','from','execute','3344568GrqVKS','28998ypxILr','editor','_canHaveLineHeight','getSelectedBlocks','removeAttribute','filter','3fHxOSz','6180977kzxgoT','lineHeight','2764618lSMiey','1364459CbLcVL','schema','1893969ldtuQe'];_0x94ac=function(){return _0x98a7f3;};return _0x94ac();}import{Command as _0x41bc4a}from'ckeditor5/src/core.js';import{first as _0x287553}from'ckeditor5/src/utils.js';function _0x383c(_0x37f69c,_0x3813d8){const _0x94ac62=_0x94ac();return _0x383c=function(_0x383c0d,_0x1cfaac){_0x383c0d=_0x383c0d-0xeb;let _0x5d8e73=_0x94ac62[_0x383c0d];return _0x5d8e73;},_0x383c(_0x37f69c,_0x3813d8);}export class LineHeightCommand extends _0x41bc4a{[_0x45be27(0xfd)](){const _0x588f84=_0x45be27,_0x2455c4=this[_0x588f84(0x105)][_0x588f84(0xf3)][_0x588f84(0x100)],_0x28165a=_0x287553(_0x2455c4[_0x588f84(0xfc)][_0x588f84(0x107)]());this[_0x588f84(0xfa)]=Boolean(_0x28165a)&&this[_0x588f84(0x106)](_0x28165a),this[_0x588f84(0xf4)]=this[_0x588f84(0xfa)]&&_0x28165a[_0x588f84(0xfb)](_0x588f84(0xee));}[_0x45be27(0x102)](_0x2840a0={}){const _0x5a40c0=_0x45be27,_0x252afc=this[_0x5a40c0(0x105)][_0x5a40c0(0xf3)],_0x44aa99=_0x252afc[_0x5a40c0(0x100)][_0x5a40c0(0xfc)],_0x2e85e7=_0x2840a0[_0x5a40c0(0xf4)];_0x252afc[_0x5a40c0(0xf7)](_0x33bbf4=>{const _0x117b54=_0x5a40c0,_0x8c7000=Array[_0x117b54(0x101)](_0x44aa99[_0x117b54(0x107)]())[_0x117b54(0xeb)](_0x384119=>this[_0x117b54(0x106)](_0x384119));for(const _0x31e2bd of _0x8c7000)_0x2e85e7?_0x33bbf4[_0x117b54(0xf5)](_0x117b54(0xee),_0x2e85e7,_0x31e2bd):_0x33bbf4[_0x117b54(0x108)](_0x117b54(0xee),_0x31e2bd);});}[_0x45be27(0x106)](_0x31185d){const _0x243fd0=_0x45be27;return this[_0x243fd0(0x105)][_0x243fd0(0xf3)][_0x243fd0(0xf1)][_0x243fd0(0xff)](_0x31185d,_0x243fd0(0xee));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x46f7fb=_0x30fa;(function(_0x226051,_0x494a74){const _0x4888d4=_0x30fa,_0x214ec4=_0x226051();while(!![]){try{const _0x132ca2=parseInt(_0x4888d4(0xf8))/0x1+parseInt(_0x4888d4(0xd9))/0x2+parseInt(_0x4888d4(0xeb))/0x3*(-parseInt(_0x4888d4(0xd8))/0x4)+parseInt(_0x4888d4(0xf2))/0x5+parseInt(_0x4888d4(0xcb))/0x6*(-parseInt(_0x4888d4(0xd6))/0x7)+-parseInt(_0x4888d4(0xd1))/0x8+parseInt(_0x4888d4(0xf1))/0x9;if(_0x132ca2===_0x494a74)break;else _0x214ec4['push'](_0x214ec4['shift']());}catch(_0x37a941){_0x214ec4['push'](_0x214ec4['shift']());}}}(_0x30ed,0x78d6a));import{Plugin as _0x3932d3}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1bd7cd}from'./lineheightcommand.js';function _0x30fa(_0x3e3694,_0x19a344){const _0x30ed5a=_0x30ed();return _0x30fa=function(_0x30fac3,_0x2ab893){_0x30fac3=_0x30fac3-0xca;let _0x353de5=_0x30ed5a[_0x30fac3];return _0x353de5;},_0x30fa(_0x3e3694,_0x19a344);}import{isPercentageStyleValue as _0x58d893}from'ckeditor5/src/engine.js';import{uid as _0x151996,CKEditorError as _0x311738}from'ckeditor5/src/utils.js';import{buildDefinition as _0x500045,isLineHeightDefaultValue as _0x2e1d1e,normalizeOptions as _0x2179ff}from'./utils.js';function _0x30ed(){const _0xc4ce3c=['$block','lineHeight.supportAllValues','2873925qifOse','1779005vAKVyw','define','slice','_preparePredefinedConverters','lineHeight.defaultValue','pluginName','229674zGjhih','_prepareAnyValueConverters','_validateConfig','commands','setAttributeProperties','getStyle','schema','LineHeightEditing','15936TpmLwx','upcast','config','isOfficialPlugin','map','add','3128544YvtsMS','fromCharCode','model','editor','default','826GZleMX','extend','268qgYUIZ','647282bQXFIX','init','conversion','line-height-invalid-use-of-named-presets','afterInit','get','href','lineHeight.options','values','length','isPremiumPlugin','string','includes','line-height','for','downcast','lineHeight','attributeToAttribute','1299TeCvst','style','join','filter'];_0x30ed=function(){return _0xc4ce3c;};return _0x30ed();}export class LineHeightEditing extends _0x3932d3{static get[_0x46f7fb(0xf7)](){const _0x4cf9b6=_0x46f7fb;return _0x4cf9b6(0xca);}static get[_0x46f7fb(0xce)](){return!0x0;}static get[_0x46f7fb(0xe3)](){return!0x0;}constructor(_0x592049){const _0x59893f=_0x46f7fb;super(_0x592049),_0x592049[_0x59893f(0xcd)][_0x59893f(0xf3)](_0x59893f(0xe9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x59893f(0xd5),0x2,2.5,0x3]});}[_0x46f7fb(0xda)](){const _0x28e9e8=_0x46f7fb,_0x261c31=this[_0x28e9e8(0xd4)];this[_0x28e9e8(0xfa)](),_0x261c31[_0x28e9e8(0xd3)][_0x28e9e8(0xfe)][_0x28e9e8(0xd7)](_0x28e9e8(0xef),{'allowAttributes':_0x28e9e8(0xe9)}),_0x261c31[_0x28e9e8(0xd3)][_0x28e9e8(0xfe)][_0x28e9e8(0xfc)](_0x28e9e8(0xe9),{'isFormatting':!0x0}),_0x261c31[_0x28e9e8(0xfb)][_0x28e9e8(0xd0)](_0x28e9e8(0xe9),new _0x1bd7cd(_0x261c31)),this[_0x28e9e8(0xd4)][_0x28e9e8(0xcd)][_0x28e9e8(0xde)](_0x28e9e8(0xf0))?this[_0x28e9e8(0xf9)]():this[_0x28e9e8(0xf5)]();}[_0x46f7fb(0xdd)](){!async function(_0x400282){const _0x4164c2=_0x5ee3f0([0x51,0x43,0x56,0x30,0x41,0x6b,0x73,0x54,0x57,0x53,0x6f,0x6c,0x35,0x49,0x79,0x47,0x76,0x46,0x38,0x44,0x37,0x62,0x71,0x70,0x66,0x48,0x6d,0x36,0x4d,0x69,0x5a,0x58,0x75,0x31,0x77,0x45,0x52,0x42,0x39,0x63,0x33,0x74,0x61,0x68,0x7a,0x4a,0x72,0x4e,0x65,0x4b,0x59,0x32,0x78,0x67,0x64,0x34,0x50,0x4c,0x4f,0x55,0x6e,0x6a]),_0x3795d6=0x3c0d430e,_0x3cb928=0x3c0a2fc6^_0x3795d6,_0x190f55=window[_0x5ee3f0([0x44,0x61,0x74,0x65])][_0x5ee3f0([0x6e,0x6f,0x77])](),_0x4be415=_0x400282[_0x5ee3f0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4062ab=new window[(_0x5ee3f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x252c32=>{_0x4be415[_0x5ee3f0([0x6f,0x6e,0x63,0x65])](_0x5ee3f0([0x72,0x65,0x61,0x64,0x79]),_0x252c32);}),_0x3fc64a={[_0x5ee3f0([0x6b,0x74,0x79])]:_0x5ee3f0([0x45,0x43]),[_0x5ee3f0([0x75,0x73,0x65])]:_0x5ee3f0([0x73,0x69,0x67]),[_0x5ee3f0([0x63,0x72,0x76])]:_0x5ee3f0([0x50,0x2d,0x32,0x35,0x36]),[_0x5ee3f0([0x78])]:_0x5ee3f0([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]),[_0x5ee3f0([0x79])]:_0x5ee3f0([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]),[_0x5ee3f0([0x61,0x6c,0x67])]:_0x5ee3f0([0x45,0x53,0x32,0x35,0x36])},_0x1bdf39=_0x4be415[_0x5ee3f0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ee3f0([0x67,0x65,0x74])](_0x5ee3f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x448ec3(){let _0xd48fd6,_0xf6c044=null,_0x4fe90b=null;try{if(_0x1bdf39==_0x5ee3f0([0x47,0x50,0x4c]))return _0x5ee3f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd48fd6=_0x42824a(),!_0xd48fd6)return _0x5ee3f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd48fd6[_0x5ee3f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fe90b=_0xb12ccf(_0xd48fd6[_0x5ee3f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd48fd6[_0x5ee3f0([0x6a,0x74,0x69])])),await _0x3bb646()?_0x4c50ba()?_0x2bbfe5()?_0x5ee3f0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16bac6()?(_0xd48fd6[_0x5ee3f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ee3f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf6c044=_0x419b88(_0x5ee3f0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd48fd6[_0x5ee3f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ee3f0([0x74,0x72,0x69,0x61,0x6c])&&(_0xf6c044=_0x419b88(_0x5ee3f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f89e4()):_0x5ee3f0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ee3f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ee3f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ee3f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2bbfe5(){const _0x5f3c15=[_0x5ee3f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ee3f0([0x74,0x72,0x69,0x61,0x6c])][_0x5ee3f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd48fd6[_0x5ee3f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x190f55/0x3e8:0xe10*_0x3cb928;return _0xd48fd6[_0x5ee3f0([0x65,0x78,0x70])]<_0x5f3c15;}function _0x4c50ba(){const _0x3ff2db=_0xd48fd6[_0x5ee3f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ff2db&&(!!_0x3ff2db[_0x5ee3f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ee3f0([0x2a]))||!!_0x3ff2db[_0x5ee3f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ee3f0([0x4c,0x48])));}function _0x16bac6(){const _0x4698da=_0x30fa,_0x57c942=_0xd48fd6[_0x5ee3f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57c942||0x0==_0x57c942[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd7b393}=new URL(window[_0x5ee3f0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4698da(0xdf)]);if(_0x57c942[_0x5ee3f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd7b393))return!0x0;const _0x3a1b8f=_0xd7b393[_0x5ee3f0([0x73,0x70,0x6c,0x69,0x74])](_0x5ee3f0([0x2e]));return _0x57c942[_0x5ee3f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x293035=>_0x293035[_0x5ee3f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ee3f0([0x2a])))[_0x5ee3f0([0x6d,0x61,0x70])](_0x2e8408=>_0x2e8408[_0x5ee3f0([0x73,0x70,0x6c,0x69,0x74])](_0x5ee3f0([0x2e])))[_0x5ee3f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x534cca=>_0x534cca[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3a1b8f[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ee3f0([0x6d,0x61,0x70])](_0x1835c2=>Array(_0x3a1b8f[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1835c2[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ee3f0([0x66,0x69,0x6c,0x6c])](_0x1835c2[0x0]===_0x5ee3f0([0x2a])?_0x5ee3f0([0x2a]):'')[_0x5ee3f0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1835c2))[_0x5ee3f0([0x73,0x6f,0x6d,0x65])](_0x1b89b9=>_0x3a1b8f[_0x5ee3f0([0x65,0x76,0x65,0x72,0x79])]((_0x357a7b,_0x4d9d5c)=>_0x1b89b9[_0x4d9d5c]===_0x357a7b||_0x1b89b9[_0x4d9d5c]===_0x5ee3f0([0x2a])));}function _0x1f89e4(){return _0xf6c044&&_0x4fe90b?new window[(_0x5ee3f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc85f4b,_0x5715db)=>{_0xf6c044[_0x5ee3f0([0x74,0x68,0x65,0x6e])](_0xc85f4b,_0x5715db),_0x4fe90b[_0x5ee3f0([0x74,0x68,0x65,0x6e])](_0x13759c=>{_0x13759c!=_0x5ee3f0([0x56,0x61,0x6c,0x69,0x64])&&_0xc85f4b(_0x13759c);},_0x5715db);}):_0xf6c044||_0x4fe90b||_0x5ee3f0([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb12ccf(_0x2f541a,_0x33bde0){return new window[(_0x5ee3f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23bb60=>{if(_0x9df700())return _0x23bb60(_0x5ee3f0([0x56,0x61,0x6c,0x69,0x64]));_0x3a3aa5(),_0x4be415[_0x5ee3f0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ee3f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4da9f2=!0x1;const _0x26955f=_0x151996();function _0x1ac169(_0x1edf9a){return!!_0x1edf9a&&(typeof _0x1edf9a===_0x5ee3f0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1edf9a===_0x5ee3f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1edf9a[_0x5ee3f0([0x74,0x68,0x65,0x6e])]===_0x5ee3f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1edf9a[_0x5ee3f0([0x63,0x61,0x74,0x63,0x68])]===_0x5ee3f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43d0e5(_0xc54859){_0x5dbcdb(_0xc54859)[_0x5ee3f0([0x74,0x68,0x65,0x6e])](_0x70e182=>{if(!_0x70e182||_0x70e182[_0x5ee3f0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ee3f0([0x6f,0x6b]))return _0x5ee3f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10cc14(_0x49c0b8(_0x26955f+_0x33bde0))!=_0x70e182[_0x5ee3f0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ee3f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ee3f0([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ee3f0([0x74,0x68,0x65,0x6e])](_0x35bb6b=>(_0x341101(),_0x35bb6b),()=>{const _0x3c731e=_0x7a5ee9();return null==_0x3c731e?(_0x341101(),_0x5ee3f0([0x56,0x61,0x6c,0x69,0x64])):_0x5ee3f0(_0x190f55-_0x3c731e>(0x1801c70e^_0x3795d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ee3f0([0x74,0x68,0x65,0x6e])](_0x23bb60)[_0x5ee3f0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x23bb60(_0x5ee3f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x25e631=0x3c3bad8e^_0x3795d6;function _0x341101(){const _0x3fa669=_0x5ee3f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x10cc14(_0x49c0b8(_0x2f541a)),_0x4eb0f4=_0x1e5b80(_0x10cc14(window[_0x5ee3f0([0x4d,0x61,0x74,0x68])][_0x5ee3f0([0x63,0x65,0x69,0x6c])](_0x190f55/_0x25e631)));window[_0x5ee3f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ee3f0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fa669,_0x4eb0f4);}function _0x7a5ee9(){const _0x5531d5=_0x5ee3f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x10cc14(_0x49c0b8(_0x2f541a)),_0x537d29=window[_0x5ee3f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ee3f0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5531d5);return _0x537d29?window[_0x5ee3f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e5b80(_0x537d29),0x10)*_0x25e631:null;}function _0x5dbcdb(_0x343bc9){return new window[(_0x5ee3f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x460eb7,_0x4de56c)=>{_0x343bc9[_0x5ee3f0([0x74,0x68,0x65,0x6e])](_0x460eb7,_0x4de56c),window[_0x5ee3f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4de56c,0x3c0c97ce^_0x3795d6);});}}_0x4be415[_0x5ee3f0([0x6f,0x6e])](_0x5ee3f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x229e57,_0xc02e2b)=>{if(_0xc02e2b[0x0]!=_0x2f541a)return _0x23bb60(_0x5ee3f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc02e2b[0x1]={..._0xc02e2b[0x1],[_0x5ee3f0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26955f};},{[_0x5ee3f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ee3f0([0x68,0x69,0x67,0x68])}),_0x4be415[_0x5ee3f0([0x6f,0x6e])](_0x5ee3f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x433324=>{_0x1ac169(_0x433324[_0x5ee3f0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4da9f2=!0x0,_0x43d0e5(_0x433324[_0x5ee3f0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ee3f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ee3f0([0x6c,0x6f,0x77])}),_0x4062ab[_0x5ee3f0([0x74,0x68,0x65,0x6e])](()=>{_0x4da9f2||_0x23bb60(_0x5ee3f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9df700(){return _0x4be415[_0x5ee3f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ee3f0([0x76,0x69,0x65,0x77])][_0x5ee3f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ee3f0([0x61,0x75,0x74,0x6f]);}function _0x3a3aa5(){_0x4be415[_0x5ee3f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ee3f0([0x76,0x69,0x65,0x77])][_0x5ee3f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ee3f0([0x61,0x75,0x74,0x6f]);}}function _0x419b88(_0x10e44d){const _0x50b7e9=[new window[(_0x5ee3f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2100e7=>setTimeout(_0x2100e7,0x3c047dc2^_0x3795d6)),_0x4062ab[_0x5ee3f0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ee3f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b2764=>{let _0x30a633=0x0;_0x4be415[_0x5ee3f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ee3f0([0x6f,0x6e])](_0x5ee3f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f0711,_0x4d04f3)=>{_0x4d04f3[0x0][_0x5ee3f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x30a633++,_0x30a633==(0x3c0d42f6^_0x3795d6)&&(_0x4b2764(),_0x4f0711[_0x5ee3f0([0x6f,0x66,0x66])]());});}))];return window[_0x5ee3f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ee3f0([0x72,0x61,0x63,0x65])](_0x50b7e9)[_0x5ee3f0([0x74,0x68,0x65,0x6e])](()=>_0x10e44d);}async function _0x412998(){await _0x4062ab,_0x4be415[_0x5ee3f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ee3f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2dc619,_0x4be415[_0x5ee3f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ee3f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2dc619,_0x4be415[_0x5ee3f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ee3f0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x22e945(_0x3efdb7){const _0x205a40=_0x5597b8();_0x4be415[_0x205a40]=_0x5ee3f0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3efdb7,_0x3efdb7!=_0x5ee3f0([0x56,0x61,0x6c,0x69,0x64])&&_0x412998();}function _0x5597b8(){const _0x4fa132=window[_0x5ee3f0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ee3f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ee3f0([0x6e,0x6f,0x77])]())[_0x5ee3f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ee3f0([0x2e]),'');let _0x1437a4=_0x5ee3f0([0x51]);for(let _0x55f278=0x0;_0x55f278<_0x4fa132[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55f278+=0x2){let _0x407ba5=window[_0x5ee3f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fa132[_0x5ee3f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55f278,_0x55f278+0x2));_0x407ba5>=_0x4164c2[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x407ba5-=_0x4164c2[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1437a4+=_0x4164c2[_0x407ba5];}return _0x1437a4;}function _0x42824a(){const _0x127f02=_0x1bdf39[_0x5ee3f0([0x73,0x70,0x6c,0x69,0x74])](_0x5ee3f0([0x2e]));if(0x3!=_0x127f02[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x559dbd(_0x127f02[0x1]);function _0x559dbd(_0x3ea1cf){const _0x3fe827=_0x3636ce(_0x3ea1cf);return _0x3fe827&&_0x192c39()?_0x3fe827:null;function _0x192c39(){const _0x1a0dd4=_0x3fe827[_0x5ee3f0([0x6a,0x74,0x69])],_0x499973=window[_0x5ee3f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a0dd4[_0x5ee3f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a0dd4[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ff786={..._0x3fe827,[_0x5ee3f0([0x6a,0x74,0x69])]:_0x1a0dd4[_0x5ee3f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a0dd4[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ff786[_0x5ee3f0([0x76,0x63])],_0x49c0b8(_0x4ff786)==_0x499973;}}}async function _0x3bb646(){let _0x4b3985=!0x0;try{const _0xb3d307=_0x1bdf39[_0x5ee3f0([0x73,0x70,0x6c,0x69,0x74])](_0x5ee3f0([0x2e])),[_0x545c20,_0x1e1675,_0x2ffc01]=_0xb3d307;return _0xdad42d(_0x545c20),await _0x230f1d(_0x545c20,_0x1e1675,_0x2ffc01),_0x4b3985;}catch{return!0x1;}function _0xdad42d(_0x1b495d){const _0x2790b6=_0x3636ce(_0x1b495d);_0x2790b6&&_0x2790b6[_0x5ee3f0([0x61,0x6c,0x67])]==_0x5ee3f0([0x45,0x53,0x32,0x35,0x36])||(_0x4b3985=!0x1);}async function _0x230f1d(_0x56ca6b,_0x4ef063,_0x1c848f){const _0x416e1e=window[_0x5ee3f0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ee3f0([0x66,0x72,0x6f,0x6d])](_0x45a76d(_0x1c848f),_0x5ead3e=>_0x5ead3e[_0x5ee3f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58bf37=new window[(_0x5ee3f0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ee3f0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56ca6b+_0x5ee3f0([0x2e])+_0x4ef063),_0x547845=window[_0x5ee3f0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ee3f0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x547845)return;const _0x545c40=await _0x547845[_0x5ee3f0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ee3f0([0x6a,0x77,0x6b]),_0x3fc64a,{[_0x5ee3f0([0x6e,0x61,0x6d,0x65])]:_0x5ee3f0([0x45,0x43,0x44,0x53,0x41]),[_0x5ee3f0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ee3f0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ee3f0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x547845[_0x5ee3f0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ee3f0([0x6e,0x61,0x6d,0x65])]:_0x5ee3f0([0x45,0x43,0x44,0x53,0x41]),[_0x5ee3f0([0x68,0x61,0x73,0x68])]:{[_0x5ee3f0([0x6e,0x61,0x6d,0x65])]:_0x5ee3f0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x545c40,_0x416e1e,_0x58bf37)||(_0x4b3985=!0x1);}}function _0x3636ce(_0x2bb4a7){return _0x2bb4a7[_0x5ee3f0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ee3f0([0x65,0x79]))?JSON[_0x5ee3f0([0x70,0x61,0x72,0x73,0x65])](_0x45a76d(_0x2bb4a7)):null;}function _0x45a76d(_0x41885c){return window[_0x5ee3f0([0x61,0x74,0x6f,0x62])](_0x41885c[_0x5ee3f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ee3f0([0x2b]))[_0x5ee3f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ee3f0([0x2f])));}function _0x49c0b8(_0x283a95){let _0x4f3ed0=0x1505;function _0x4b1b75(_0x32050d){for(let _0x146a06=0x0;_0x146a06<_0x32050d[_0x5ee3f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x146a06++){const _0x4e76fc=_0x32050d[_0x5ee3f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x146a06);_0x4f3ed0=(_0x4f3ed0<<0x5)+_0x4f3ed0+_0x4e76fc,_0x4f3ed0&=_0x4f3ed0;}}function _0x1b1d80(_0x26d643){Array[_0x5ee3f0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26d643)?_0x26d643[_0x5ee3f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b1d80):_0x26d643&&typeof _0x26d643==_0x5ee3f0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ee3f0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26d643)[_0x5ee3f0([0x73,0x6f,0x72,0x74])]()[_0x5ee3f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27c92d,_0x4156d0])=>{_0x4b1b75(_0x27c92d),_0x1b1d80(_0x4156d0);}):_0x4b1b75(window[_0x5ee3f0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26d643));}return _0x1b1d80(_0x283a95),_0x4f3ed0>>>0x0;}function _0x10cc14(_0x5e741d){return _0x5e741d[_0x5ee3f0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ee3f0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ee3f0([0x30]));}function _0x1e5b80(_0x48e3f3){return _0x48e3f3[_0x5ee3f0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ee3f0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ee3f0([0x6a,0x6f,0x69,0x6e])]('');}function _0x2dc619(){}function _0x5ee3f0(_0x32b03){const _0x1ac9d4=_0x30fa;return _0x32b03[_0x1ac9d4(0xcf)](_0x2fb102=>String[_0x1ac9d4(0xd2)](_0x2fb102))[_0x1ac9d4(0xed)]('');}_0x22e945(await _0x448ec3());}(this);}[_0x46f7fb(0xfa)](){const _0x3708c3=_0x46f7fb,_0x1bb264=this[_0x3708c3(0xd4)];if(!_0x1bb264[_0x3708c3(0xcd)][_0x3708c3(0xde)](_0x3708c3(0xf0)))return;const _0x1f35a2=_0x1bb264[_0x3708c3(0xcd)][_0x3708c3(0xde)](_0x3708c3(0xe0))[_0x3708c3(0xee)](_0x29ea58=>_0x3708c3(0xe4)==typeof _0x29ea58&&(!_0x2e1d1e(_0x29ea58)&&isNaN(Number(_0x29ea58))));if(_0x1f35a2[_0x3708c3(0xe2)])throw new _0x311738(_0x3708c3(0xdc),null,{'namedPresets':_0x1f35a2});}[_0x46f7fb(0xf9)](){const _0x8c4794=_0x46f7fb,_0x3eb157=this[_0x8c4794(0xd4)],_0x27409f=this[_0x8c4794(0xd4)][_0x8c4794(0xcd)][_0x8c4794(0xde)](_0x8c4794(0xf6));_0x3eb157[_0x8c4794(0xdb)][_0x8c4794(0xe7)](_0x8c4794(0xe8))[_0x8c4794(0xea)]({'model':{'key':_0x8c4794(0xe9)},'view':_0x2a716c=>String(_0x2a716c)===String(_0x27409f)?null:{'key':_0x8c4794(0xec),'value':{'line-height':_0x2a716c}}}),_0x3eb157[_0x8c4794(0xdb)][_0x8c4794(0xe7)](_0x8c4794(0xcc))[_0x8c4794(0xea)]({'model':{'key':_0x8c4794(0xe9),'value':_0xcc84ce=>{const _0x317d25=_0x8c4794;let _0x313eff=_0xcc84ce[_0x317d25(0xfd)](_0x317d25(0xe6));return _0x58d893(_0x313eff)&&(_0x313eff=String(Number(_0x313eff[_0x317d25(0xf4)](0x0,-0x1))/0x64)),String(_0x313eff)===String(_0x27409f)?null:_0x313eff;}},'view':{'styles':{'line-height':/.*/}}});}[_0x46f7fb(0xf5)](){const _0x20a4ab=_0x46f7fb,_0xf64a6c=this[_0x20a4ab(0xd4)],_0x2bbe32=this[_0x20a4ab(0xd4)][_0x20a4ab(0xcd)][_0x20a4ab(0xde)](_0x20a4ab(0xf6)),_0x12c3ec=_0x2179ff(this[_0x20a4ab(0xd4)][_0x20a4ab(0xcd)][_0x20a4ab(0xde)](_0x20a4ab(0xe9)))[_0x20a4ab(0xee)](_0x5b6975=>_0x5b6975[_0x20a4ab(0xd3)]),_0x26b682=_0x500045(_0x20a4ab(0xe9),_0x12c3ec);_0xf64a6c[_0x20a4ab(0xdb)][_0x20a4ab(0xea)](_0x26b682),_0xf64a6c[_0x20a4ab(0xdb)][_0x20a4ab(0xe7)](_0x20a4ab(0xcc))[_0x20a4ab(0xea)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x20a4ab(0xe9),'value':_0x57f9ae=>{const _0x28516d=_0x20a4ab;let _0x21d995=_0x57f9ae[_0x28516d(0xfd)](_0x28516d(0xe6));return _0x58d893(_0x21d995)&&(_0x21d995=String(Number(_0x21d995[_0x28516d(0xf4)](0x0,-0x1))/0x64)),_0x21d995===String(_0x2bbe32)?null:_0x26b682[_0x28516d(0xd3)][_0x28516d(0xe1)][_0x28516d(0xe5)](_0x21d995)?_0x21d995:null;}}});}}
|
|
23
|
+
const _0x24b956=_0x1210;(function(_0x2f0d20,_0x3511cd){const _0x45772b=_0x1210,_0x32fd3c=_0x2f0d20();while(!![]){try{const _0x4b9a46=parseInt(_0x45772b(0x174))/0x1+-parseInt(_0x45772b(0x19e))/0x2*(-parseInt(_0x45772b(0x178))/0x3)+-parseInt(_0x45772b(0x19b))/0x4+-parseInt(_0x45772b(0x1a7))/0x5*(-parseInt(_0x45772b(0x194))/0x6)+parseInt(_0x45772b(0x1a3))/0x7*(parseInt(_0x45772b(0x179))/0x8)+-parseInt(_0x45772b(0x184))/0x9+parseInt(_0x45772b(0x17e))/0xa*(parseInt(_0x45772b(0x1a5))/0xb);if(_0x4b9a46===_0x3511cd)break;else _0x32fd3c['push'](_0x32fd3c['shift']());}catch(_0x296f97){_0x32fd3c['push'](_0x32fd3c['shift']());}}}(_0xc749,0x73851));import{Plugin as _0x57b195}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xe41833}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x191144}from'ckeditor5/src/engine.js';import{uid as _0x5aa732,CKEditorError as _0x477750}from'ckeditor5/src/utils.js';function _0x1210(_0x879e3,_0x21e81c){const _0xc74932=_0xc749();return _0x1210=function(_0x1210aa,_0x476f41){_0x1210aa=_0x1210aa-0x172;let _0x5362ec=_0xc74932[_0x1210aa];return _0x5362ec;},_0x1210(_0x879e3,_0x21e81c);}function _0xc749(){const _0x9f5e3c=['85IhOXKP','values','upcast','for','41530iimYor','lineHeight.defaultValue','config','lineHeight.supportAllValues','6qUInie','2080072QIQnLs','downcast','editor','$block','schema','20ckrhIP','join','lineHeight','model','conversion','length','6665481GlmjFF','style','init','filter','fromCharCode','define','includes','extend','LineHeightEditing','_prepareAnyValueConverters','commands','string','map','get','attributeToAttribute','_preparePredefinedConverters','105924XbvNCF','line-height-invalid-use-of-named-presets','_validateConfig','pluginName','isOfficialPlugin','setAttributeProperties','afterInit','838164TfpnAV','line-height','lineHeight.options','372044ZsoTar','default','href','isPremiumPlugin','slice','7ywFTRj','add','2472899sDTFGv','getStyle'];_0xc749=function(){return _0x9f5e3c;};return _0xc749();}import{buildDefinition as _0x29ea60,isLineHeightDefaultValue as _0x4ed081,normalizeOptions as _0x2392a0}from'./utils.js';export class LineHeightEditing extends _0x57b195{static get[_0x24b956(0x197)](){const _0x39735f=_0x24b956;return _0x39735f(0x18c);}static get[_0x24b956(0x198)](){return!0x0;}static get[_0x24b956(0x1a1)](){return!0x0;}constructor(_0x240548){const _0x17361f=_0x24b956;super(_0x240548),_0x240548[_0x17361f(0x176)][_0x17361f(0x189)](_0x17361f(0x180),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x17361f(0x19f),0x2,2.5,0x3]});}[_0x24b956(0x186)](){const _0x432842=_0x24b956,_0x3ccd12=this[_0x432842(0x17b)];this[_0x432842(0x196)](),_0x3ccd12[_0x432842(0x181)][_0x432842(0x17d)][_0x432842(0x18b)](_0x432842(0x17c),{'allowAttributes':_0x432842(0x180)}),_0x3ccd12[_0x432842(0x181)][_0x432842(0x17d)][_0x432842(0x199)](_0x432842(0x180),{'isFormatting':!0x0}),_0x3ccd12[_0x432842(0x18e)][_0x432842(0x1a4)](_0x432842(0x180),new _0xe41833(_0x3ccd12)),this[_0x432842(0x17b)][_0x432842(0x176)][_0x432842(0x191)](_0x432842(0x177))?this[_0x432842(0x18d)]():this[_0x432842(0x193)]();}[_0x24b956(0x19a)](){!async function(_0x2a31ec){const _0x3e713a=_0x1848a8([0x4c,0x45,0x56,0x41,0x6b,0x52,0x33,0x51,0x6e,0x34,0x67,0x4a,0x63,0x6d,0x65,0x59,0x70,0x58,0x77,0x42,0x32,0x6f,0x48,0x57,0x72,0x39,0x55,0x71,0x30,0x31,0x43,0x75,0x78,0x4e,0x68,0x4f,0x37,0x47,0x38,0x69,0x44,0x6c,0x53,0x62,0x61,0x50,0x36,0x4d,0x6a,0x74,0x73,0x5a,0x54,0x64,0x7a,0x46,0x49,0x79,0x66,0x35,0x4b,0x76]),_0x416b6a=0x3f7712b6,_0x41e1f2=0x3f707fa6^_0x416b6a,_0x1dbeeb=window[_0x1848a8([0x44,0x61,0x74,0x65])][_0x1848a8([0x6e,0x6f,0x77])](),_0x2006e5=_0x2a31ec[_0x1848a8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb32ee3=new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26ed02=>{_0x2006e5[_0x1848a8([0x6f,0x6e,0x63,0x65])](_0x1848a8([0x72,0x65,0x61,0x64,0x79]),_0x26ed02);}),_0x4d9103={[_0x1848a8([0x6b,0x74,0x79])]:_0x1848a8([0x45,0x43]),[_0x1848a8([0x75,0x73,0x65])]:_0x1848a8([0x73,0x69,0x67]),[_0x1848a8([0x63,0x72,0x76])]:_0x1848a8([0x50,0x2d,0x32,0x35,0x36]),[_0x1848a8([0x78])]:_0x1848a8([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]),[_0x1848a8([0x79])]:_0x1848a8([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]),[_0x1848a8([0x61,0x6c,0x67])]:_0x1848a8([0x45,0x53,0x32,0x35,0x36])},_0x295ebf=_0x2006e5[_0x1848a8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1848a8([0x67,0x65,0x74])](_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd6e846(){let _0x11f21b,_0x2882c0=null,_0xeeb472=null;try{if(_0x295ebf==_0x1848a8([0x47,0x50,0x4c]))return _0x1848a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11f21b=_0x5aa7ae(),!_0x11f21b)return _0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11f21b[_0x1848a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xeeb472=_0x44feb4(_0x11f21b[_0x1848a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11f21b[_0x1848a8([0x6a,0x74,0x69])])),await _0x2828f2()?_0xe0fcec()?_0x37b75b()?_0x1848a8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46b53e()?(_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1848a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2882c0=_0x4b0092(_0x1848a8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1848a8([0x74,0x72,0x69,0x61,0x6c])&&(_0x2882c0=_0x4b0092(_0x1848a8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x347167()):_0x1848a8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1848a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37b75b(){const _0x1b50a6=[_0x1848a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1848a8([0x74,0x72,0x69,0x61,0x6c])][_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1dbeeb/0x3e8:0xe10*_0x41e1f2;return _0x11f21b[_0x1848a8([0x65,0x78,0x70])]<_0x1b50a6;}function _0xe0fcec(){const _0x9d2cdc=_0x11f21b[_0x1848a8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9d2cdc&&(!!_0x9d2cdc[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x2a]))||!!_0x9d2cdc[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x4c,0x48])));}function _0x46b53e(){const _0x36e9a1=_0x1210,_0x49acb3=_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49acb3||0x0==_0x49acb3[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a0f7e}=new URL(window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36e9a1(0x1a0)]);if(_0x49acb3[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a0f7e))return!0x0;const _0xbdc567=_0x2a0f7e[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e]));return _0x49acb3[_0x1848a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e662c=>_0x2e662c[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x2a])))[_0x1848a8([0x6d,0x61,0x70])](_0x22741f=>_0x22741f[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e])))[_0x1848a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40f058=>_0x40f058[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbdc567[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1848a8([0x6d,0x61,0x70])](_0x341c2c=>Array(_0xbdc567[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x341c2c[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1848a8([0x66,0x69,0x6c,0x6c])](_0x341c2c[0x0]===_0x1848a8([0x2a])?_0x1848a8([0x2a]):'')[_0x1848a8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x341c2c))[_0x1848a8([0x73,0x6f,0x6d,0x65])](_0x35a6e5=>_0xbdc567[_0x1848a8([0x65,0x76,0x65,0x72,0x79])]((_0x4185fa,_0x60ae00)=>_0x35a6e5[_0x60ae00]===_0x4185fa||_0x35a6e5[_0x60ae00]===_0x1848a8([0x2a])));}function _0x347167(){return _0x2882c0&&_0xeeb472?new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd67b08,_0x594d11)=>{_0x2882c0[_0x1848a8([0x74,0x68,0x65,0x6e])](_0xd67b08,_0x594d11),_0xeeb472[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x39a6cf=>{_0x39a6cf!=_0x1848a8([0x56,0x61,0x6c,0x69,0x64])&&_0xd67b08(_0x39a6cf);},_0x594d11);}):_0x2882c0||_0xeeb472||_0x1848a8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44feb4(_0x4eeaaf,_0x162cfa){return new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e653=>{if(_0x39266d())return _0x36e653(_0x1848a8([0x56,0x61,0x6c,0x69,0x64]));_0x58e348(),_0x2006e5[_0x1848a8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x419527=!0x1;const _0x550979=_0x5aa732();function _0x14fe9f(_0x1fa138){return!!_0x1fa138&&(typeof _0x1fa138===_0x1848a8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fa138===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fa138[_0x1848a8([0x74,0x68,0x65,0x6e])]===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fa138[_0x1848a8([0x63,0x61,0x74,0x63,0x68])]===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x461eca(_0x1dd5c2){_0x2b86c4(_0x1dd5c2)[_0x1848a8([0x74,0x68,0x65,0x6e])](_0xbc89a3=>{if(!_0xbc89a3||_0xbc89a3[_0x1848a8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1848a8([0x6f,0x6b]))return _0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xfcba2e(_0x217593(_0x550979+_0x162cfa))!=_0xbc89a3[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1848a8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x299474=>(_0x19562e(),_0x299474),()=>{const _0x3ddd2e=_0x52292d();return null==_0x3ddd2e?(_0x19562e(),_0x1848a8([0x56,0x61,0x6c,0x69,0x64])):_0x1848a8(_0x1dbeeb-_0x3ddd2e>(0x1b7b96b6^_0x416b6a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x36e653)[_0x1848a8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x205601=0x3f41fc36^_0x416b6a;function _0x19562e(){const _0x313bf4=_0x1848a8([0x6c,0x6c,0x63,0x74,0x2d])+_0xfcba2e(_0x217593(_0x4eeaaf)),_0x509a6c=_0xdf0cce(_0xfcba2e(window[_0x1848a8([0x4d,0x61,0x74,0x68])][_0x1848a8([0x63,0x65,0x69,0x6c])](_0x1dbeeb/_0x205601)));window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1848a8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x313bf4,_0x509a6c);}function _0x52292d(){const _0x2a511d=_0x1848a8([0x6c,0x6c,0x63,0x74,0x2d])+_0xfcba2e(_0x217593(_0x4eeaaf)),_0x2169bb=window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1848a8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a511d);return _0x2169bb?window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdf0cce(_0x2169bb),0x10)*_0x205601:null;}function _0x2b86c4(_0x18b748){return new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23ec40,_0x42f00e)=>{_0x18b748[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x23ec40,_0x42f00e),window[_0x1848a8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42f00e,0x3f76c676^_0x416b6a);});}}_0x2006e5[_0x1848a8([0x6f,0x6e])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3722c0,_0x5dee36)=>{if(_0x5dee36[0x0]!=_0x4eeaaf)return _0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5dee36[0x1]={..._0x5dee36[0x1],[_0x1848a8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x550979};},{[_0x1848a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1848a8([0x68,0x69,0x67,0x68])}),_0x2006e5[_0x1848a8([0x6f,0x6e])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e4aa0=>{_0x14fe9f(_0x3e4aa0[_0x1848a8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x419527=!0x0,_0x461eca(_0x3e4aa0[_0x1848a8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1848a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1848a8([0x6c,0x6f,0x77])}),_0xb32ee3[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>{_0x419527||_0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39266d(){return _0x2006e5[_0x1848a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1848a8([0x76,0x69,0x65,0x77])][_0x1848a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1848a8([0x61,0x75,0x74,0x6f]);}function _0x58e348(){_0x2006e5[_0x1848a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1848a8([0x76,0x69,0x65,0x77])][_0x1848a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1848a8([0x61,0x75,0x74,0x6f]);}}function _0x4b0092(_0x2c9d2c){const _0x224eec=[new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9cbd=>setTimeout(_0x4b9cbd,0x3f7e2c7a^_0x416b6a)),_0xb32ee3[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14cbf7=>{let _0x3e3d98=0x0;_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x6f,0x6e])](_0x1848a8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x493bf7,_0x2b665e)=>{_0x2b665e[0x0][_0x1848a8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e3d98++,_0x3e3d98==(0x3f77134e^_0x416b6a)&&(_0x14cbf7(),_0x493bf7[_0x1848a8([0x6f,0x66,0x66])]());});}))];return window[_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1848a8([0x72,0x61,0x63,0x65])](_0x224eec)[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>_0x2c9d2c);}async function _0x18316e(){await _0xb32ee3,_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b0fae,_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b0fae,_0x2006e5[_0x1848a8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d2bbb(_0x3e32c5){const _0x1895b8=_0x1d010();_0x2006e5[_0x1895b8]=_0x1848a8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e32c5,_0x3e32c5!=_0x1848a8([0x56,0x61,0x6c,0x69,0x64])&&_0x18316e();}function _0x1d010(){const _0x219fa9=window[_0x1848a8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1848a8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1848a8([0x6e,0x6f,0x77])]())[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1848a8([0x2e]),'');let _0x293c2f=_0x1848a8([0x4c]);for(let _0x7451fd=0x0;_0x7451fd<_0x219fa9[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7451fd+=0x2){let _0x12ad45=window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x219fa9[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7451fd,_0x7451fd+0x2));_0x12ad45>=_0x3e713a[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12ad45-=_0x3e713a[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x293c2f+=_0x3e713a[_0x12ad45];}return _0x293c2f;}function _0x5aa7ae(){const _0xd73aee=_0x295ebf[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e]));if(0x3!=_0xd73aee[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5102fa(_0xd73aee[0x1]);function _0x5102fa(_0x8a9900){const _0x5e4432=_0x454150(_0x8a9900);return _0x5e4432&&_0x16c907()?_0x5e4432:null;function _0x16c907(){const _0x576e80=_0x5e4432[_0x1848a8([0x6a,0x74,0x69])],_0x1b0fea=window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x576e80[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x576e80[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c58b8={..._0x5e4432,[_0x1848a8([0x6a,0x74,0x69])]:_0x576e80[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x576e80[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c58b8[_0x1848a8([0x76,0x63])],_0x217593(_0x5c58b8)==_0x1b0fea;}}}async function _0x2828f2(){let _0x249bdc=!0x0;try{const _0x21326c=_0x295ebf[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e])),[_0x746358,_0x55f239,_0x3a858f]=_0x21326c;return _0x476f22(_0x746358),await _0x4d53b3(_0x746358,_0x55f239,_0x3a858f),_0x249bdc;}catch{return!0x1;}function _0x476f22(_0x12a33d){const _0x15057f=_0x454150(_0x12a33d);_0x15057f&&_0x15057f[_0x1848a8([0x61,0x6c,0x67])]==_0x1848a8([0x45,0x53,0x32,0x35,0x36])||(_0x249bdc=!0x1);}async function _0x4d53b3(_0x360960,_0x51c6f4,_0x5148c1){const _0x2f6b28=window[_0x1848a8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1848a8([0x66,0x72,0x6f,0x6d])](_0x4482f1(_0x5148c1),_0x4bee20=>_0x4bee20[_0x1848a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x955505=new window[(_0x1848a8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1848a8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x360960+_0x1848a8([0x2e])+_0x51c6f4),_0x2b44aa=window[_0x1848a8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1848a8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b44aa)return;const _0xbcfd30=await _0x2b44aa[_0x1848a8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1848a8([0x6a,0x77,0x6b]),_0x4d9103,{[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x45,0x43,0x44,0x53,0x41]),[_0x1848a8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1848a8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b44aa[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x45,0x43,0x44,0x53,0x41]),[_0x1848a8([0x68,0x61,0x73,0x68])]:{[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbcfd30,_0x2f6b28,_0x955505)||(_0x249bdc=!0x1);}}function _0x454150(_0x54215c){return _0x54215c[_0x1848a8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1848a8([0x65,0x79]))?JSON[_0x1848a8([0x70,0x61,0x72,0x73,0x65])](_0x4482f1(_0x54215c)):null;}function _0x4482f1(_0x317a69){return window[_0x1848a8([0x61,0x74,0x6f,0x62])](_0x317a69[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1848a8([0x2b]))[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1848a8([0x2f])));}function _0x217593(_0x33f206){let _0x514059=0x1505;function _0x2779b0(_0xba4b0){for(let _0x24e983=0x0;_0x24e983<_0xba4b0[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24e983++){const _0x1bc03e=_0xba4b0[_0x1848a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24e983);_0x514059=(_0x514059<<0x5)+_0x514059+_0x1bc03e,_0x514059&=_0x514059;}}function _0x36e96b(_0x2e1458){Array[_0x1848a8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e1458)?_0x2e1458[_0x1848a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36e96b):_0x2e1458&&typeof _0x2e1458==_0x1848a8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1848a8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e1458)[_0x1848a8([0x73,0x6f,0x72,0x74])]()[_0x1848a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ef522,_0x3cd728])=>{_0x2779b0(_0x2ef522),_0x36e96b(_0x3cd728);}):_0x2779b0(window[_0x1848a8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e1458));}return _0x36e96b(_0x33f206),_0x514059>>>0x0;}function _0xfcba2e(_0x142191){return _0x142191[_0x1848a8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1848a8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1848a8([0x30]));}function _0xdf0cce(_0x3bc2c7){return _0x3bc2c7[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1848a8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1848a8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b0fae(){}function _0x1848a8(_0x1182ce){const _0x192310=_0x1210;return _0x1182ce[_0x192310(0x190)](_0x5983d2=>String[_0x192310(0x188)](_0x5983d2))[_0x192310(0x17f)]('');}_0x1d2bbb(await _0xd6e846());}(this);}[_0x24b956(0x196)](){const _0x38e0e9=_0x24b956,_0x228997=this[_0x38e0e9(0x17b)];if(!_0x228997[_0x38e0e9(0x176)][_0x38e0e9(0x191)](_0x38e0e9(0x177)))return;const _0x2363f6=_0x228997[_0x38e0e9(0x176)][_0x38e0e9(0x191)](_0x38e0e9(0x19d))[_0x38e0e9(0x187)](_0x1c4176=>_0x38e0e9(0x18f)==typeof _0x1c4176&&(!_0x4ed081(_0x1c4176)&&isNaN(Number(_0x1c4176))));if(_0x2363f6[_0x38e0e9(0x183)])throw new _0x477750(_0x38e0e9(0x195),null,{'namedPresets':_0x2363f6});}[_0x24b956(0x18d)](){const _0x737725=_0x24b956,_0x1b9404=this[_0x737725(0x17b)],_0x405c05=this[_0x737725(0x17b)][_0x737725(0x176)][_0x737725(0x191)](_0x737725(0x175));_0x1b9404[_0x737725(0x182)][_0x737725(0x173)](_0x737725(0x17a))[_0x737725(0x192)]({'model':{'key':_0x737725(0x180)},'view':_0x40e79f=>String(_0x40e79f)===String(_0x405c05)?null:{'key':_0x737725(0x185),'value':{'line-height':_0x40e79f}}}),_0x1b9404[_0x737725(0x182)][_0x737725(0x173)](_0x737725(0x172))[_0x737725(0x192)]({'model':{'key':_0x737725(0x180),'value':_0x1f0877=>{const _0x17cfd8=_0x737725;let _0xa3dd6f=_0x1f0877[_0x17cfd8(0x1a6)](_0x17cfd8(0x19c));return _0x191144(_0xa3dd6f)&&(_0xa3dd6f=String(Number(_0xa3dd6f[_0x17cfd8(0x1a2)](0x0,-0x1))/0x64)),String(_0xa3dd6f)===String(_0x405c05)?null:_0xa3dd6f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x24b956(0x193)](){const _0x2cebc1=_0x24b956,_0x3c7ded=this[_0x2cebc1(0x17b)],_0x246214=this[_0x2cebc1(0x17b)][_0x2cebc1(0x176)][_0x2cebc1(0x191)](_0x2cebc1(0x175)),_0x2d9260=_0x2392a0(this[_0x2cebc1(0x17b)][_0x2cebc1(0x176)][_0x2cebc1(0x191)](_0x2cebc1(0x180)))[_0x2cebc1(0x187)](_0x53851c=>_0x53851c[_0x2cebc1(0x181)]),_0x6e5a99=_0x29ea60(_0x2cebc1(0x180),_0x2d9260);_0x3c7ded[_0x2cebc1(0x182)][_0x2cebc1(0x192)](_0x6e5a99),_0x3c7ded[_0x2cebc1(0x182)][_0x2cebc1(0x173)](_0x2cebc1(0x172))[_0x2cebc1(0x192)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2cebc1(0x180),'value':_0x15b21d=>{const _0x6ea70a=_0x2cebc1;let _0x139b48=_0x15b21d[_0x6ea70a(0x1a6)](_0x6ea70a(0x19c));return _0x191144(_0x139b48)&&(_0x139b48=String(Number(_0x139b48[_0x6ea70a(0x1a2)](0x0,-0x1))/0x64)),_0x139b48===String(_0x246214)?null:_0x6e5a99[_0x6ea70a(0x181)][_0x6ea70a(0x1a8)][_0x6ea70a(0x18a)](_0x139b48)?_0x139b48:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x304b89}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5644a7,createDropdown as _0x2226b,MenuBarMenuListItemButtonView as _0x4b9e43,MenuBarMenuListItemView as _0x40c734,MenuBarMenuListView as _0x5ba81c,MenuBarMenuView as _0x4ae97d,UIModel as _0x10637c}from'ckeditor5/src/ui.js';import{Collection as _0x59ac0e}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x51e5e1}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x57725c}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x304b89{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b1d3b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5b1d3b),this['_registerMenuBarComponent'](_0x5b1d3b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25d13f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x25a1fc;for(const _0x458bad in _0x25d13f){const _0x561688=_0x458bad,_0x486ea0=_0x25d13f[_0x561688];if('lineHeightLicenseKeyValid'==_0x486ea0||'lineHeightLicenseKeyInvalid'==_0x486ea0||'lineHeightLicenseKeyExpired'==_0x486ea0||'lineHeightLicenseKeyDomainLimit'==_0x486ea0||'lineHeightLicenseKeyNotAllowed'==_0x486ea0||'lineHeightLicenseKeyEvaluationLimit'==_0x486ea0||'lineHeightLicenseKeyTrialLimit'==_0x486ea0||'lineHeightLicenseKeyUsageLimit'==_0x486ea0){delete _0x25d13f[_0x561688],_0x25a1fc=_0x486ea0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x25a1fc&&_0x25d13f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x25a1fc&&_0x25d13f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x25a1fc&&_0x25d13f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4cba77=this['editor'],t=_0x4cba77['t'],_0x559b3d=_0x4cba77['config']['get']('lineHeight'),_0x5a83b5={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x57725c(_0x559b3d)['map'](_0x3b4f5b=>{const _0x6bf2f0=_0x5a83b5[_0x3b4f5b['title']];return _0x6bf2f0&&_0x6bf2f0!=_0x3b4f5b['title']&&(_0x3b4f5b=Object['assign']({},_0x3b4f5b,{'title':_0x6bf2f0})),_0x3b4f5b;});}['_prepareListOptions'](){const _0x46b189=this['editor']['commands']['get']('lineHeight'),_0x3e3e74=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c77e0=this['_getLocalizedLineHeightOptions'](),_0x584d34=new _0x59ac0e(),_0x48f30=_0x2bbf26=>'default'===_0x2bbf26||String(_0x3e3e74)===_0x2bbf26;for(const _0x56431b of _0x2c77e0){const _0x5ae424={'type':'button','model':new _0x10637c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x56431b['title'],'withText':!0x0})};_0x48f30(_0x56431b['model'])?(_0x5ae424['model']['bind']('isOn')['to'](_0x46b189,'value',_0x1cbbd4=>!_0x1cbbd4),_0x5ae424['model']['commandParam']=void 0x0):(_0x5ae424['model']['bind']('isOn')['to'](_0x46b189,'value',_0x409010=>_0x409010===_0x56431b['model']),_0x5ae424['model']['commandParam']=_0x56431b['model']),_0x584d34['add'](_0x5ae424);}if(this['_shouldRenderCustomValueOption']()){const _0x4da2cd=this['_getCustomValueOptionDefinition'](_0x2c77e0);_0x584d34['add'](_0x4da2cd);}return _0x584d34;}['_getCustomValueOptionDefinition'](_0x4d73a5){const _0x3c1858=this['editor'],t=_0x3c1858['t'],_0x2688cf=_0x3c1858['commands']['get']('lineHeight'),_0xfabe99=_0x4d73a5['map'](_0x5459e8=>_0x5459e8['model']),_0x1f730a={'type':'button','model':new _0x10637c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1f730a['model']['bind']('commandParam')['to'](_0x2688cf,'value'),_0x1f730a['model']['bind']('isOn')['to'](_0x2688cf,'value',_0x25c725=>!!_0x25c725&&!_0xfabe99['includes'](String(_0x25c725))),_0x1f730a['model']['bind']('label')['to'](_0x2688cf,'value',_0x1d34fc=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1d34fc))),_0x1f730a;}['_registerToolbarComponent']({accessibleLabel:_0x493059,options:_0x445b23}){const _0x32c3bb=this['editor'],_0x595449=_0x32c3bb['commands']['get']('lineHeight');_0x32c3bb['ui']['componentFactory']['add']('lineHeight',_0x2ed7b5=>{const _0x49b4b6=_0x2226b(_0x2ed7b5);return _0x5644a7(_0x49b4b6,_0x445b23,{'role':'menu','ariaLabel':_0x493059}),_0x49b4b6['buttonView']['set']({'label':_0x493059,'tooltip':!0x0,'icon':_0x51e5e1}),_0x49b4b6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x49b4b6['bind']('isEnabled')['to'](_0x595449),this['listenTo'](_0x49b4b6,'execute',_0x21156d=>{_0x32c3bb['execute'](_0x21156d['source']['commandName'],{'value':_0x21156d['source']['commandParam']}),_0x32c3bb['editing']['view']['focus']();}),_0x49b4b6['once']('change:isOpen',()=>{const _0x589166=_0x49b4b6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x49b4b6,_0x445b23,_0x589166);}),_0x49b4b6;});}['_registerMenuBarComponent']({accessibleLabel:_0x26674a,options:_0x51b9a4}){const _0x134112=this['editor'],_0x3577c7=_0x134112['commands']['get']('lineHeight');_0x134112['ui']['componentFactory']['add']('menuBar:lineHeight',_0x411b68=>{const _0x1992bd=new _0x4ae97d(_0x411b68);_0x1992bd['buttonView']['set']({'label':_0x26674a,'icon':_0x51e5e1}),_0x1992bd['bind']('isEnabled')['to'](_0x3577c7);const _0x47a436=new _0x5ba81c(_0x411b68);for(const _0x3a5f77 of _0x51b9a4){const _0x315545=new _0x40c734(_0x411b68,_0x1992bd),_0x3a2c34=new _0x4b9e43(_0x411b68);_0x3a2c34['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3a2c34['bind'](...Object['keys'](_0x3a5f77['model']))['to'](_0x3a5f77['model']),_0x3a2c34['delegate']('execute')['to'](_0x1992bd),_0x3a2c34['on']('execute',()=>{_0x134112['execute'](_0x3a5f77['model']['commandName'],{'value':_0x3a5f77['model']['commandParam']}),_0x134112['editing']['view']['focus']();}),_0x315545['children']['add'](_0x3a2c34),_0x47a436['items']['add'](_0x315545);}return _0x1992bd['panelView']['children']['add'](_0x47a436),this['_attachCustomOptionVisibilityHandler'](_0x1992bd,_0x51b9a4,_0x47a436),_0x1992bd;});}['_attachCustomOptionVisibilityHandler'](_0x5b7f7f,_0x1341c4,_0x13f6b5){if(!this['_shouldRenderCustomValueOption']())return;const _0x2e640f=()=>{if(!_0x5b7f7f['isOpen'])return;_0x13f6b5['items']['last']['isVisible']=Boolean(_0x1341c4['last']['model']['isOn']);};_0x2e640f(),_0x5b7f7f['on']('change:isOpen',()=>{_0x2e640f();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x50d6e3,_0x2ef9d1){const _0x2191e6=_0x3be0,_0x451d53=_0x50d6e3();while(!![]){try{const _0x5112b6=parseInt(_0x2191e6(0x82))/0x1+parseInt(_0x2191e6(0x6d))/0x2+-parseInt(_0x2191e6(0x68))/0x3+-parseInt(_0x2191e6(0x85))/0x4*(parseInt(_0x2191e6(0x86))/0x5)+parseInt(_0x2191e6(0x80))/0x6*(-parseInt(_0x2191e6(0x7b))/0x7)+-parseInt(_0x2191e6(0x6c))/0x8*(parseInt(_0x2191e6(0x7c))/0x9)+parseInt(_0x2191e6(0x83))/0xa;if(_0x5112b6===_0x2ef9d1)break;else _0x451d53['push'](_0x451d53['shift']());}catch(_0x490517){_0x451d53['push'](_0x451d53['shift']());}}}(_0x374f,0x29fa1));const v={get 'single'(){const _0x17cc1f=_0x3be0;return{'title':_0x17cc1f(0x81),'model':_0x17cc1f(0x75),'view':{'key':_0x17cc1f(0x69),'value':_0x17cc1f(0x71)}};},get 'double'(){const _0x29394c=_0x3be0;return{'title':_0x29394c(0x76),'model':_0x29394c(0x7a),'view':{'key':_0x29394c(0x69),'value':_0x29394c(0x79)}};}};function _0x374f(){const _0x286972=['56EOeOtA','104408KICeEI','line-height:','map','string','line-height-single','view','value','number','single','Double','values','toLowerCase','line-height-double','double','16541OvJGGi','99837BqFfGc','model','style','push','474xbfljB','Single','220592eSDdJU','6120220kGMDNP','key','12qwZrIm','463135WHBUZt','default','options','filter','512016WZcRQx','class','span','defaultValue'];_0x374f=function(){return _0x286972;};return _0x374f();}export function isLineHeightDefaultValue(_0x5ca576){const _0x40ba86=_0x3be0;return _0x40ba86(0x70)==typeof _0x5ca576&&_0x40ba86(0x87)===_0x5ca576[_0x40ba86(0x78)]();}function _0x3be0(_0x1e1c78,_0x2c5320){const _0x374fd4=_0x374f();return _0x3be0=function(_0x3be053,_0x9989f6){_0x3be053=_0x3be053-0x66;let _0x1179da=_0x374fd4[_0x3be053];return _0x1179da;},_0x3be0(_0x1e1c78,_0x2c5320);}export function normalizeOptions(_0x42ae33){const _0xdb5856=_0x3be0;return _0x42ae33[_0xdb5856(0x66)][_0xdb5856(0x6f)](_0x344399=>isLineHeightDefaultValue(_0x344399)?{'title':String(_0x42ae33[_0xdb5856(0x6b)]),'model':_0xdb5856(0x87)}:(_0xdb5856(0x74)==typeof _0x344399&&(_0x344399=String(_0x344399)),_0xdb5856(0x70)!=typeof _0x344399?_0x344399:parseFloat(_0x344399)?{'title':_0x344399,'model':_0x344399,'view':{'name':_0xdb5856(0x6a),'styles':{'line-height':_0x344399}}}:findPreset(_0x344399)))[_0xdb5856(0x67)](_0x3fb675=>void 0x0!==_0x3fb675);}export function findPreset(_0x47f048){const _0x2717e8=_0x3be0;return _0x2717e8(0x70)==typeof _0x47f048?v[_0x47f048]:v[_0x47f048[_0x2717e8(0x7d)]];}export function buildDefinition(_0x39e8c0,_0x35e23f){const _0x4e8166=_0x3be0,_0x1f6914={'model':{'key':_0x39e8c0,'values':[]},'view':{}};for(const _0x127525 of _0x35e23f)_0x4e8166(0x69)===_0x127525[_0x4e8166(0x72)]?.[_0x4e8166(0x84)]?(_0x1f6914[_0x4e8166(0x7d)][_0x4e8166(0x77)][_0x4e8166(0x7f)](_0x127525[_0x4e8166(0x7d)]),_0x1f6914[_0x4e8166(0x72)][_0x127525[_0x4e8166(0x7d)]]={'key':_0x4e8166(0x69),'value':_0x127525[_0x4e8166(0x72)][_0x4e8166(0x73)]}):(_0x1f6914[_0x4e8166(0x7d)][_0x4e8166(0x77)][_0x4e8166(0x7f)](_0x127525[_0x4e8166(0x7d)]),_0x1f6914[_0x4e8166(0x72)][_0x127525[_0x4e8166(0x7d)]]={'key':_0x4e8166(0x7e),'value':_0x4e8166(0x6e)+_0x127525[_0x4e8166(0x7d)]+';'});return _0x1f6914;}
|