@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250701.1 → 0.0.0-nightly-20250702.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 u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>j,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=s;function o(){const e=["editor","819066WnfwUu","refresh","14YrGLlb","from","4qDRjpV","removeAttribute","10wEygZw","schema","change","getAttribute","getSelectedBlocks","filter","value","3637092jsNquE","63376ngtyDP","setAttribute","21703561aQxSZT","999ZOmDAm","checkAttribute","553025HChGBY","isEnabled","document","execute","lineHeight","model","selection","848070odlOvJ","_canHaveLineHeight","2922114joKMAl"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=214]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(556451===-parseInt(t(222))/1+-parseInt(t(230))/2*(-parseInt(t(226))/3)+-parseInt(t(239))/4+-parseInt(t(215))/5+-parseInt(t(224))/6*(parseInt(t(228))/7)+parseInt(t(240))/8*(parseInt(t(243))/9)+parseInt(t(232))/10*(parseInt(t(242))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(227)](){const e=r,n=this[e(225)][e(220)][e(217)],i=(0,t.first)(n[e(221)][e(236)]());this[e(216)]=Boolean(i)&&this[e(223)](i),this[e(238)]=this[e(216)]&&i[e(235)](e(219))}[r(218)](e={}){const t=r,n=this[t(225)][t(220)],i=n[t(217)][t(221)],o=e[t(238)];n[t(234)](e=>{const n=t,r=Array[n(229)](i[n(236)]())[n(237)](e=>this[n(223)](e));for(const t of r)o?e[n(241)](n(219),o,t):e[n(231)](n(219),t)})}[r(223)](e){const t=r;return this[t(225)][t(220)][t(233)][t(214)](e,t(219))}}var c=n(783);!function(e){const t=d,n=e();for(;;)try{if(384348===parseInt(t(451))/1+parseInt(t(445))/2*(parseInt(t(458))/3)+parseInt(t(467))/4*(parseInt(t(473))/5)+-parseInt(t(444))/6+parseInt(t(453))/7*(parseInt(t(461))/8)+parseInt(t(475))/9*(-parseInt(t(460))/10)+parseInt(t(446))/11*(-parseInt(t(456))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const u={get single(){const e=d;return{title:e(472),model:e(466),view:{key:e(463),value:e(447)}}},get double(){const e=d;return{title:e(462),model:e(457),view:{key:e(463),value:e(464)}}}};function l(e){const t=d;return t(478)==typeof e&&t(443)===e[t(454)]()}function d(e,t){const n=h();return(d=function(e,t){return n[e-=443]})(e,t)}function h(){const e=["values","Single","15PgoWVA","style","62730UdJgbN","push","value","string","default","291924aMmLPa","2174wRjYSJ","2053777CJQXnd","line-height-single","filter","number","options","677139iZVbNM","defaultValue","21RFEtxm","toLowerCase","view","132tPYddj","double","2037HboXou","line-height:","420rKxsuu","1596408tZWppD","Double","class","line-height-double","model","single","1020872KeLici","key","span","map"];return(h=function(){return e})()}function f(e){const t=d;return e[t(450)][t(470)](n=>l(n)?{title:String(e[t(452)]),model:t(443)}:(t(449)==typeof n&&(n=String(n)),t(478)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(469),styles:{"line-height":n}}}:function(e){const t=d;return t(478)==typeof e?u[e]:u[e[t(465)]]}(n)))[t(448)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=360]})(e,t)}function m(){const e=["lineHeight.options","line-height","_preparePredefinedConverters","conversion","70002TcrYxr","line-height-invalid-use-of-named-presets","setAttributeProperties","schema","slice","init","_validateConfig","downcast","getStyle","upcast","commands","3040664wvYumg","7343322JHIvjv","2297076OLMxsj","lineHeight.supportAllValues","6rbtCsq","3707530cbzLjy","get","lineHeight","for","values","model","LineHeightEditing","_prepareAnyValueConverters","default","isPremiumPlugin","isOfficialPlugin","includes","afterInit","join","extend","href","fromCharCode","define","length","map","attributeToAttribute","85664RIgmYf","$block","filter","config","editor","string","pluginName","2552QczRNO","lineHeight.defaultValue","style","1104862RggQIq","add"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(777124===parseInt(t(382))/1+parseInt(t(392))/2*(-parseInt(t(360))/3)+-parseInt(t(409))/4+parseInt(t(361))/5+parseInt(t(411))/6+-parseInt(t(410))/7+parseInt(t(389))/8*(parseInt(t(398))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(388)](){return p(367)}static get[p(371)](){return!0}static get[p(370)](){return!0}constructor(e){const t=p;super(e),e[t(385)][t(378)](t(363),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(369),2,2.5,3]})}[p(403)](){const e=p,t=this[e(386)];this[e(404)](),t[e(366)][e(401)][e(375)](e(383),{allowAttributes:e(363)}),t[e(366)][e(401)][e(400)](e(363),{isFormatting:!0}),t[e(408)][e(393)](e(363),new a(t)),this[e(386)][e(385)][e(362)](e(412))?this[e(368)]():this[e(396)]()}[p(373)](){!async function(e){const n=m([88,75,114,108,84,90,103,98,121,77,107,99,56,74,71,104,102,66,52,82,73,86,67,112,117,76,101,65,72,109,80,49,105,69,54,122,55,97,48,118,70,110,116,111,115,78,113,119,100,85,83,120,53,51,89,87,68,81,79,57,50,106]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(380)](e=>String[t(377)](e))[t(374)]("")}!function(e){const t=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let t=m([88]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(l+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751328e3;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(376)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(404)](){const e=p,n=this[e(386)];if(!n[e(385)][e(362)](e(412)))return;const i=n[e(385)][e(362)](e(394))[e(384)](t=>e(387)==typeof t&&!l(t)&&isNaN(Number(t)));if(i[e(379)])throw new t.CKEditorError(e(399),null,{namedPresets:i})}[p(368)](){const e=p,t=this[e(386)],n=this[e(386)][e(385)][e(362)](e(390));t[e(397)][e(364)](e(405))[e(381)]({model:{key:e(363)},view:t=>String(t)===String(n)?null:{key:e(391),value:{"line-height":t}}}),t[e(397)][e(364)](e(407))[e(381)]({model:{key:e(363),value:t=>{const i=e;let r=t[i(406)](i(395));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(402)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(396)](){const e=p,t=this[e(386)],n=this[e(386)][e(385)][e(362)](e(390)),i=f(this[e(386)][e(385)][e(362)](e(363)))[e(384)](t=>t[e(366)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(463)===e[n(455)]?.[n(468)]?(i[n(465)][n(471)][n(476)](e[n(465)]),i[n(455)][e[n(465)]]={key:n(463),value:e[n(455)][n(477)]}):(i[n(465)][n(471)][n(476)](e[n(465)]),i[n(455)][e[n(465)]]={key:n(474),value:n(459)+e[n(465)]+";"});return i}(e(363),i);t[e(397)][e(381)](r),t[e(397)][e(364)](e(407))[e(381)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(363),value:t=>{const i=e;let o=t[i(406)](i(395));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(402)](0,-1))/100)),o===String(n)?null:r[i(366)][i(365)][i(372)](o)?o:null}}})}}var v=n(311),y=n(355),b=n(673),I=n.n(b),L=n(545),H=n.n(L),_=n(262),O=n.n(_),C=n(667),x=n.n(C),E=n(357),S=n.n(E),k=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=x(),P.insert=O().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=S();I()(k.A,P);k.A&&k.A.locals&&k.A.locals;class A extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var V=N;function N(e,t){var n=K();return(N=function(e,t){return n[e-=375]})(e,t)}function K(){var e=["isPremiumPlugin","isOfficialPlugin","3824ZEtexV","431778rlrbfN","requires","1944264moUARo","7BtrNIF","1017495rjkQMH","LineHeight","120OVODej","pluginName","759435nfbgVb","565524SwjEMl","287053pxXKHG"];return(K=function(){return e})()}!function(e){for(var t=N,n=e();;)try{if(167371===-parseInt(t(377))/1+parseInt(t(376))/2+-parseInt(t(387))/3*(parseInt(t(380))/4)+parseInt(t(375))/5+-parseInt(t(381))/6*(parseInt(t(384))/7)+parseInt(t(383))/8+-parseInt(t(385))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class j extends e.Plugin{static get[V(382)](){return[w,A]}static get[V(388)](){return V(386)}static get[V(379)](){return!0}static get[V(378)](){return!0}}function M(){var e=["3724yFCKSg","3128VFeCbA","11myNrIC","235158aokbvm","4VpRPLf","377628tbsujg","1271622MCoGdj","5554370LmBaUN","105QslHSs","10386wBzejA","9odMPNj","17524788nknLvO"];return(M=function(){return e})()}function T(e,t){var n=M();return(T=function(e,t){return n[e-=286]})(e,t)}!function(e){for(var t=T,n=e();;)try{if(301479===-parseInt(t(296))/1+-parseInt(t(286))/2+-parseInt(t(287))/3*(parseInt(t(297))/4)+parseInt(t(289))/5*(parseInt(t(290))/6)+parseInt(t(293))/7*(parseInt(t(294))/8)+parseInt(t(291))/9*(-parseInt(t(288))/10)+parseInt(t(295))/11*(parseInt(t(292))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
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:()=>s,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=o;function o(e,t){const n=a();return(o=function(e,t){return n[e-=217]})(e,t)}!function(e){const t=o,n=e();for(;;)try{if(908797===-parseInt(t(218))/1*(-parseInt(t(233))/2)+-parseInt(t(239))/3+-parseInt(t(226))/4+parseInt(t(236))/5*(-parseInt(t(240))/6)+-parseInt(t(223))/7+-parseInt(t(227))/8+parseInt(t(232))/9*(parseInt(t(217))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[r(237)](){const e=r,n=this[e(228)][e(244)][e(222)],i=(0,t.first)(n[e(242)][e(245)]());this[e(224)]=Boolean(i)&&this[e(235)](i),this[e(238)]=this[e(224)]&&i[e(241)](e(231))}[r(219)](e={}){const t=r,n=this[t(228)][t(244)],i=n[t(222)][t(242)],o=e[t(238)];n[t(220)](e=>{const n=t,r=Array[n(229)](i[n(245)]())[n(230)](e=>this[n(235)](e));for(const t of r)o?e[n(225)](n(231),o,t):e[n(243)](n(231),t)})}[r(235)](e){const t=r;return this[t(228)][t(244)][t(221)][t(234)](e,t(231))}}function a(){const e=["editor","from","filter","lineHeight","60462baWExe","97406FgzHeG","checkAttribute","_canHaveLineHeight","15yVGajw","refresh","value","5101662oYSaFy","274698YBPujk","getAttribute","selection","removeAttribute","model","getSelectedBlocks","7520NdyzpP","7IMvBSJ","execute","change","schema","document","8661590oqjBLL","isEnabled","setAttribute","1767224KVXlOC","7735848VsiNzk"];return(a=function(){return e})()}var c=n(783);!function(e){const t=f,n=e();for(;;)try{if(747295===-parseInt(t(502))/1*(parseInt(t(507))/2)+parseInt(t(528))/3+-parseInt(t(506))/4+parseInt(t(525))/5*(-parseInt(t(521))/6)+-parseInt(t(517))/7*(-parseInt(t(510))/8)+-parseInt(t(509))/9+parseInt(t(520))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=f;return{title:e(508),model:e(495),view:{key:e(505),value:e(514)}}},get double(){const e=f;return{title:e(500),model:e(512),view:{key:e(505),value:e(511)}}}};function u(e){const t=f;return t(519)==typeof e&&t(526)===e[t(515)]()}function d(e){const t=f;return e[t(497)][t(504)](n=>u(n)?{title:String(e[t(503)]),model:t(526)}:(t(527)==typeof n&&(n=String(n)),t(519)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(522),styles:{"line-height":n}}}:function(e){const t=f;return t(519)==typeof e?l[e]:l[e[t(523)]]}(n)))[t(498)](e=>void 0!==e)}function h(){const e=["11920270BuCtYR","2022iAmBWn","span","model","push","17745CAMlMB","default","number","4309029EMcJMp","single","value","options","filter","key","Double","values","1YZcTsG","defaultValue","map","class","2566784SLsaQw","2006868nnLSAH","Single","2449341YDnVjJ","504BCCNXP","line-height-double","double","line-height:","line-height-single","toLowerCase","style","136913ntvgkL","view","string"];return(h=function(){return e})()}function f(e,t){const n=h();return(f=function(e,t){return n[e-=495]})(e,t)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=144]})(e,t)}function m(){const e=["474QkZxiE","map","pluginName","16WDwxAa","LineHeightEditing","$block","1067969KlKqjM","671tTobwa","string","length","line-height-invalid-use-of-named-presets","extend","conversion","setAttributeProperties","href","join","values","955798zZPTsp","lineHeight.options","136720HUHQLS","lineHeight.supportAllValues","schema","44845nrTrlX","add","slice","lineHeight","_preparePredefinedConverters","attributeToAttribute","model","48045zPamjO","editor","lineHeight.defaultValue","afterInit","for","fromCharCode","includes","_validateConfig","isOfficialPlugin","5460993FIUlKV","init","get","isPremiumPlugin","_prepareAnyValueConverters","style","filter","config","downcast","getStyle","define","line-height","commands","80CwGlLC","upcast","595099WBTsIu","default"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(450888===-parseInt(t(175))/1+-parseInt(t(194))/2+parseInt(t(151))/3*(-parseInt(t(173))/4)+parseInt(t(144))/5*(parseInt(t(177))/6)+-parseInt(t(183))/7*(parseInt(t(180))/8)+parseInt(t(160))/9+parseInt(t(196))/10*(parseInt(t(184))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(179)](){return p(181)}static get[p(159)](){return!0}static get[p(163)](){return!0}constructor(e){const t=p;super(e),e[t(167)][t(170)](t(147),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(176),2,2.5,3]})}[p(161)](){const e=p,t=this[e(152)];this[e(158)](),t[e(150)][e(198)][e(188)](e(182),{allowAttributes:e(147)}),t[e(150)][e(198)][e(190)](e(147),{isFormatting:!0}),t[e(172)][e(145)](e(147),new s(t)),this[e(152)][e(167)][e(162)](e(197))?this[e(164)]():this[e(148)]()}[p(154)](){!async function(e){const n=m([90,65,57,110,69,111,75,87,113,82,78,55,51,103,109,100,67,66,74,56,49,76,80,52,48,83,77,116,50,97,72,73,122,71,84,99,81,68,85,79,104,114,54,120,86,106,121,119,53,105,70,98,117,118,89,107,108,112,115,102,88,101]),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(178)](e=>String[t(156)](e))[t(192)]("")}!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([90]);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:1751414400;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(191)]);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(158)](){const e=p,n=this[e(152)];if(!n[e(167)][e(162)](e(197)))return;const i=n[e(167)][e(162)](e(195))[e(166)](t=>e(185)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(186)])throw new t.CKEditorError(e(187),null,{namedPresets:i})}[p(164)](){const e=p,t=this[e(152)],n=this[e(152)][e(167)][e(162)](e(153));t[e(189)][e(155)](e(168))[e(149)]({model:{key:e(147)},view:t=>String(t)===String(n)?null:{key:e(165),value:{"line-height":t}}}),t[e(189)][e(155)](e(174))[e(149)]({model:{key:e(147),value:t=>{const i=e;let r=t[i(169)](i(171));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(146)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(148)](){const e=p,t=this[e(152)],n=this[e(152)][e(167)][e(162)](e(153)),i=d(this[e(152)][e(167)][e(162)](e(147)))[e(166)](t=>t[e(150)]),r=function(e,t){const n=f,i={model:{key:e,values:[]},view:{}};for(const e of t)n(505)===e[n(518)]?.[n(499)]?(i[n(523)][n(501)][n(524)](e[n(523)]),i[n(518)][e[n(523)]]={key:n(505),value:e[n(518)][n(496)]}):(i[n(523)][n(501)][n(524)](e[n(523)]),i[n(518)][e[n(523)]]={key:n(516),value:n(513)+e[n(523)]+";"});return i}(e(147),i);t[e(189)][e(149)](r),t[e(189)][e(155)](e(174))[e(149)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(147),value:t=>{const i=e;let o=t[i(169)](i(171));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(146)](0,-1))/100)),o===String(n)?null:r[i(150)][i(193)][i(157)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),C=n(262),_=n.n(C),E=n(667),O=n.n(E),S=n(357),x=n.n(S),k=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=O(),P.insert=_().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=x();b()(k.A,P);k.A&&k.A.locals&&k.A.locals;class A extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return d(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 K=V;function V(e,t){var n=M();return(V=function(e,t){return n[e-=171]})(e,t)}!function(e){for(var t=V,n=e();;)try{if(362971===-parseInt(t(183))/1+parseInt(t(180))/2+-parseInt(t(182))/3+-parseInt(t(176))/4*(parseInt(t(175))/5)+-parseInt(t(177))/6+-parseInt(t(172))/7*(parseInt(t(184))/8)+parseInt(t(181))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M);class T extends e.Plugin{static get[K(179)](){return[w,A]}static get[K(171)](){return K(174)}static get[K(173)](){return!0}static get[K(178)](){return!0}}function M(){var e=["requires","1414818LkHGUM","10279602ynLJaC","348879rgCGDo","322870rghGyi","49480KFaTYE","pluginName","14kYgIZo","isOfficialPlugin","LineHeight","1093060SucaFC","8WdogXG","3587154tigJxY","isPremiumPlugin"];return(M=function(){return e})()}function N(){var e=["80OFItsN","43887190sHEXYl","2440077KYdNDP","335vSfMLh","91434dCiWCM","10793223CtreFG","1641677uFSKmw","2laduDz","779212jMwIQw","2133892WQNAXP"];return(N=function(){return e})()}function B(e,t){var n=N();return(B=function(e,t){return n[e-=152]})(e,t)}!function(e){for(var t=B,n=e();;)try{if(866264===-parseInt(t(161))/1*(-parseInt(t(152))/2)+parseInt(t(157))/3+-parseInt(t(154))/4+-parseInt(t(158))/5*(-parseInt(t(159))/6)+-parseInt(t(153))/7*(-parseInt(t(155))/8)+parseInt(t(160))/9+-parseInt(t(156))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N)})(),(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 _0x511311,Plugin as _0x5d965d}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1dbac3,CKEditorError as _0x2e624c,uid as _0x293a51,Collection as _0x32793c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x248d26}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x502b17,createDropdown as _0x10f7c5,addListToDropdown as _0x431647,MenuBarMenuView as _0x55d5f8,MenuBarMenuListView as _0x4555d3,MenuBarMenuListItemView as _0x1a5648,MenuBarMenuListItemButtonView as _0xb3e173}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x19dcf5}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x511311{['refresh'](){const _0x5c0346=this['editor']['model']['document'],_0x43018f=_0x1dbac3(_0x5c0346['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x43018f)&&this['_canHaveLineHeight'](_0x43018f),this['value']=this['isEnabled']&&_0x43018f['getAttribute']('lineHeight');}['execute'](_0x977062={}){const _0x19813c=this['editor']['model'],_0x221cd9=_0x19813c['document']['selection'],_0xc4f978=_0x977062['value'];_0x19813c['change'](_0x111b69=>{const _0x19c2d1=Array['from'](_0x221cd9['getSelectedBlocks']())['filter'](_0x1c4b1f=>this['_canHaveLineHeight'](_0x1c4b1f));for(const _0x3bcccb of _0x19c2d1)_0xc4f978?_0x111b69['setAttribute']('lineHeight',_0xc4f978,_0x3bcccb):_0x111b69['removeAttribute']('lineHeight',_0x3bcccb);});}['_canHaveLineHeight'](_0x3aebae){return this['editor']['model']['schema']['checkAttribute'](_0x3aebae,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x1601a4){return'string'==typeof _0x1601a4&&'default'===_0x1601a4['toLowerCase']();}function a(_0x3fb820){return _0x3fb820['options']['map'](_0x5a3a50=>{return f(_0x5a3a50)?{'title':String(_0x3fb820['defaultValue']),'model':'default'}:('number'==typeof _0x5a3a50&&(_0x5a3a50=String(_0x5a3a50)),'string'!=typeof _0x5a3a50?_0x5a3a50:parseFloat(_0x5a3a50)?{'title':_0x5a3a50,'model':_0x5a3a50,'view':{'name':'span','styles':{'line-height':_0x5a3a50}}}:'string'==typeof(_0x56df0f=_0x5a3a50)?v[_0x56df0f]:v[_0x56df0f['model']]);var _0x56df0f;})['filter'](_0x28ca97=>void 0x0!==_0x28ca97);}class e extends _0x5d965d{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1654f2){super(_0x1654f2),_0x1654f2['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3c6921=this['editor'];this['_validateConfig'](),_0x3c6921['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3c6921['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3c6921['commands']['add']('lineHeight',new n(_0x3c6921)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3eb446){const _0xddbc8b=_0x5dfcf4([0x58,0x4b,0x72,0x6c,0x54,0x5a,0x67,0x62,0x79,0x4d,0x6b,0x63,0x38,0x4a,0x47,0x68,0x66,0x42,0x34,0x52,0x49,0x56,0x43,0x70,0x75,0x4c,0x65,0x41,0x48,0x6d,0x50,0x31,0x69,0x45,0x36,0x7a,0x37,0x61,0x30,0x76,0x46,0x6e,0x74,0x6f,0x73,0x4e,0x71,0x77,0x64,0x55,0x53,0x78,0x35,0x33,0x59,0x57,0x44,0x51,0x4f,0x39,0x32,0x6a]),_0x2cd818=0x127f1987,_0x241184=0x127875d7^_0x2cd818,_0x3135c7=window[_0x5dfcf4([0x44,0x61,0x74,0x65])][_0x5dfcf4([0x6e,0x6f,0x77])](),_0x2d38a0=_0x3eb446[_0x5dfcf4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20fbbc=new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaa7bae=>{_0x2d38a0[_0x5dfcf4([0x6f,0x6e,0x63,0x65])](_0x5dfcf4([0x72,0x65,0x61,0x64,0x79]),_0xaa7bae);}),_0x18091a={[_0x5dfcf4([0x6b,0x74,0x79])]:_0x5dfcf4([0x45,0x43]),[_0x5dfcf4([0x75,0x73,0x65])]:_0x5dfcf4([0x73,0x69,0x67]),[_0x5dfcf4([0x63,0x72,0x76])]:_0x5dfcf4([0x50,0x2d,0x32,0x35,0x36]),[_0x5dfcf4([0x78])]:_0x5dfcf4([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5dfcf4([0x79])]:_0x5dfcf4([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5dfcf4([0x61,0x6c,0x67])]:_0x5dfcf4([0x45,0x53,0x32,0x35,0x36])},_0x915bba=_0x2d38a0[_0x5dfcf4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5dfcf4([0x67,0x65,0x74])](_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xae92db(){let _0x2f2e1a,_0x35c00f=null,_0x1c21d6=null;try{if(_0x915bba==_0x5dfcf4([0x47,0x50,0x4c]))return _0x5dfcf4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f2e1a=_0x57ba10(),!_0x2f2e1a)return _0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f2e1a[_0x5dfcf4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c21d6=_0x2231eb(_0x2f2e1a[_0x5dfcf4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f2e1a[_0x5dfcf4([0x6a,0x74,0x69])])),await _0x9873f7()?_0x3b678b()?_0x284ab2()?_0x5dfcf4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfe131()?(_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dfcf4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35c00f=_0x49f3ea(_0x5dfcf4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dfcf4([0x74,0x72,0x69,0x61,0x6c])&&(_0x35c00f=_0x49f3ea(_0x5dfcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46f1fe()):_0x5dfcf4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5dfcf4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x284ab2(){const _0x4568d7=[_0x5dfcf4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5dfcf4([0x74,0x72,0x69,0x61,0x6c])][_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3135c7/0x3e8:0xe10*_0x241184;return _0x2f2e1a[_0x5dfcf4([0x65,0x78,0x70])]<_0x4568d7;}function _0x3b678b(){const _0x3bf5a1=_0x2f2e1a[_0x5dfcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bf5a1&&(!!_0x3bf5a1[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x2a]))||!!_0x3bf5a1[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x4c,0x48])));}function _0xfe131(){const _0x32a997=_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32a997||0x0==_0x32a997[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31ee9c}=new URL(window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32a997[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ee9c))return!0x0;const _0x8b6f87=_0x31ee9c[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e]));return _0x32a997[_0x5dfcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x145a42=>_0x145a42[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x2a])))[_0x5dfcf4([0x6d,0x61,0x70])](_0x1956c2=>_0x1956c2[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e])))[_0x5dfcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ceb33=>_0x2ceb33[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8b6f87[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dfcf4([0x6d,0x61,0x70])](_0x1406eb=>Array(_0x8b6f87[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1406eb[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dfcf4([0x66,0x69,0x6c,0x6c])](_0x1406eb[0x0]===_0x5dfcf4([0x2a])?_0x5dfcf4([0x2a]):'')[_0x5dfcf4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1406eb))[_0x5dfcf4([0x73,0x6f,0x6d,0x65])](_0x37a0fa=>_0x8b6f87[_0x5dfcf4([0x65,0x76,0x65,0x72,0x79])]((_0x490692,_0x202068)=>_0x37a0fa[_0x202068]===_0x490692||_0x37a0fa[_0x202068]===_0x5dfcf4([0x2a])));}function _0x46f1fe(){return _0x35c00f&&_0x1c21d6?new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1137de,_0x9a3b7b)=>{_0x35c00f[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x1137de,_0x9a3b7b),_0x1c21d6[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x297e92=>{_0x297e92!=_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])&&_0x1137de(_0x297e92);},_0x9a3b7b);}):_0x35c00f||_0x1c21d6||_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2231eb(_0x5b9615,_0x66d33c){return new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3475f2=>{if(_0x4103e5())return _0x3475f2(_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]));_0x22b99a(),_0x2d38a0[_0x5dfcf4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dfee3=!0x1;const _0x25b777=_0x293a51();function _0x7a9ea8(_0x43d097){return!!_0x43d097&&(typeof _0x43d097===_0x5dfcf4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43d097===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43d097[_0x5dfcf4([0x74,0x68,0x65,0x6e])]===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43d097[_0x5dfcf4([0x63,0x61,0x74,0x63,0x68])]===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xed142d(_0x2a9500){_0x519405(_0x2a9500)[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x451438=>{if(!_0x451438||_0x451438[_0x5dfcf4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5dfcf4([0x6f,0x6b]))return _0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x271fbf(_0x494356(_0x25b777+_0x66d33c))!=_0x451438[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]);})[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x322903=>(_0x49f721(),_0x322903),()=>{const _0x536960=_0x4514ee();return null==_0x536960?(_0x49f721(),_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])):_0x5dfcf4(_0x3135c7-_0x536960>(0x36739d87^_0x2cd818)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x3475f2)[_0x5dfcf4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c998c=0x1249f707^_0x2cd818;function _0x49f721(){const _0x1b50e7=_0x5dfcf4([0x6c,0x6c,0x63,0x74,0x2d])+_0x271fbf(_0x494356(_0x5b9615)),_0x1e3de5=_0x120069(_0x271fbf(window[_0x5dfcf4([0x4d,0x61,0x74,0x68])][_0x5dfcf4([0x63,0x65,0x69,0x6c])](_0x3135c7/_0x2c998c)));window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dfcf4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b50e7,_0x1e3de5);}function _0x4514ee(){const _0xde62d8=_0x5dfcf4([0x6c,0x6c,0x63,0x74,0x2d])+_0x271fbf(_0x494356(_0x5b9615)),_0x587ee1=window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dfcf4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xde62d8);return _0x587ee1?window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x120069(_0x587ee1),0x10)*_0x2c998c:null;}function _0x519405(_0x2caab6){return new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x176127,_0x53dad1)=>{_0x2caab6[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x176127,_0x53dad1),window[_0x5dfcf4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53dad1,0x127ecd47^_0x2cd818);});}}_0x2d38a0[_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a3ad5,_0x1fc0de)=>{if(_0x1fc0de[0x0]!=_0x5b9615)return _0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fc0de[0x1]={..._0x1fc0de[0x1],[_0x5dfcf4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25b777};},{[_0x5dfcf4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dfcf4([0x68,0x69,0x67,0x68])}),_0x2d38a0[_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf5c926=>{_0x7a9ea8(_0xf5c926[_0x5dfcf4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dfee3=!0x0,_0xed142d(_0xf5c926[_0x5dfcf4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5dfcf4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dfcf4([0x6c,0x6f,0x77])}),_0x20fbbc[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>{_0x3dfee3||_0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4103e5(){return _0x2d38a0[_0x5dfcf4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dfcf4([0x76,0x69,0x65,0x77])][_0x5dfcf4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5dfcf4([0x61,0x75,0x74,0x6f]);}function _0x22b99a(){_0x2d38a0[_0x5dfcf4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dfcf4([0x76,0x69,0x65,0x77])][_0x5dfcf4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5dfcf4([0x61,0x75,0x74,0x6f]);}}function _0x49f3ea(_0x2ab4f4){const _0x1f76bc=[new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14076e=>setTimeout(_0x14076e,0x1276274b^_0x2cd818)),_0x20fbbc[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34d0e3=>{let _0x5ebf8e=0x0;_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x171c94,_0x34de40)=>{_0x34de40[0x0][_0x5dfcf4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ebf8e++,_0x5ebf8e==(0x127f187f^_0x2cd818)&&(_0x34d0e3(),_0x171c94[_0x5dfcf4([0x6f,0x66,0x66])]());});}))];return window[_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5dfcf4([0x72,0x61,0x63,0x65])](_0x1f76bc)[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>_0x2ab4f4);}async function _0x41f177(){await _0x20fbbc,_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e5381,_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e5381,_0x2d38a0[_0x5dfcf4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a32fe(_0x5a4a6d){const _0x303bb2=_0x34b4ab();_0x2d38a0[_0x303bb2]=_0x5dfcf4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a4a6d,_0x5a4a6d!=_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])&&_0x41f177();}function _0x34b4ab(){const _0x16404b=window[_0x5dfcf4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5dfcf4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5dfcf4([0x6e,0x6f,0x77])]())[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5dfcf4([0x2e]),'');let _0x49dcf8=_0x5dfcf4([0x58]);for(let _0x3eef05=0x0;_0x3eef05<_0x16404b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3eef05+=0x2){let _0x553d84=window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16404b[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3eef05,_0x3eef05+0x2));_0x553d84>=_0xddbc8b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x553d84-=_0xddbc8b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49dcf8+=_0xddbc8b[_0x553d84];}return _0x49dcf8;}function _0x57ba10(){const _0x5a50d5=_0x915bba[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e]));if(0x3!=_0x5a50d5[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57f45c(_0x5a50d5[0x1]);function _0x57f45c(_0x391e81){const _0x97020f=_0x40aced(_0x391e81);return _0x97020f&&_0x2df325()?_0x97020f:null;function _0x2df325(){const _0x213921=_0x97020f[_0x5dfcf4([0x6a,0x74,0x69])],_0x2e1be6=window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x213921[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x213921[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47d1b3={..._0x97020f,[_0x5dfcf4([0x6a,0x74,0x69])]:_0x213921[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x213921[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47d1b3[_0x5dfcf4([0x76,0x63])],_0x494356(_0x47d1b3)==_0x2e1be6;}}}async function _0x9873f7(){let _0x4cd55c=!0x0;try{const _0x549585=_0x915bba[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e])),[_0x5286e5,_0x3dd00c,_0x2d972a]=_0x549585;return _0x52e482(_0x5286e5),await _0x537fa7(_0x5286e5,_0x3dd00c,_0x2d972a),_0x4cd55c;}catch{return!0x1;}function _0x52e482(_0x98d5c7){const _0x525abd=_0x40aced(_0x98d5c7);_0x525abd&&_0x525abd[_0x5dfcf4([0x61,0x6c,0x67])]==_0x5dfcf4([0x45,0x53,0x32,0x35,0x36])||(_0x4cd55c=!0x1);}async function _0x537fa7(_0x43ac8a,_0x5ea782,_0x5f2c68){const _0x3f4e85=window[_0x5dfcf4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5dfcf4([0x66,0x72,0x6f,0x6d])](_0x302d8c(_0x5f2c68),_0xb2cd9=>_0xb2cd9[_0x5dfcf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4efe96=new window[(_0x5dfcf4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5dfcf4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43ac8a+_0x5dfcf4([0x2e])+_0x5ea782),_0x516d35=window[_0x5dfcf4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5dfcf4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x516d35)return;const _0x12f0ec=await _0x516d35[_0x5dfcf4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5dfcf4([0x6a,0x77,0x6b]),_0x18091a,{[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x45,0x43,0x44,0x53,0x41]),[_0x5dfcf4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5dfcf4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x516d35[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x45,0x43,0x44,0x53,0x41]),[_0x5dfcf4([0x68,0x61,0x73,0x68])]:{[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12f0ec,_0x3f4e85,_0x4efe96)||(_0x4cd55c=!0x1);}}function _0x40aced(_0x1b826d){return _0x1b826d[_0x5dfcf4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5dfcf4([0x65,0x79]))?JSON[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65])](_0x302d8c(_0x1b826d)):null;}function _0x302d8c(_0x13ee1d){return window[_0x5dfcf4([0x61,0x74,0x6f,0x62])](_0x13ee1d[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5dfcf4([0x2b]))[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5dfcf4([0x2f])));}function _0x494356(_0x5258f0){let _0x3411db=0x1505;function _0x11e7af(_0xe60169){for(let _0x21214d=0x0;_0x21214d<_0xe60169[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21214d++){const _0x2f9b0d=_0xe60169[_0x5dfcf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21214d);_0x3411db=(_0x3411db<<0x5)+_0x3411db+_0x2f9b0d,_0x3411db&=_0x3411db;}}function _0x517a4d(_0x2e4f8b){Array[_0x5dfcf4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e4f8b)?_0x2e4f8b[_0x5dfcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x517a4d):_0x2e4f8b&&typeof _0x2e4f8b==_0x5dfcf4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5dfcf4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e4f8b)[_0x5dfcf4([0x73,0x6f,0x72,0x74])]()[_0x5dfcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x591303,_0x50069c])=>{_0x11e7af(_0x591303),_0x517a4d(_0x50069c);}):_0x11e7af(window[_0x5dfcf4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e4f8b));}return _0x517a4d(_0x5258f0),_0x3411db>>>0x0;}function _0x271fbf(_0x1c7ecd){return _0x1c7ecd[_0x5dfcf4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5dfcf4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5dfcf4([0x30]));}function _0x120069(_0x54ff7c){return _0x54ff7c[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5dfcf4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5dfcf4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e5381(){}function _0x5dfcf4(_0xa2d3ed){return _0xa2d3ed['map'](_0x5cd19d=>String['fromCharCode'](_0x5cd19d))['join']('');}_0x4a32fe(await _0xae92db());}(this);}['_validateConfig'](){const _0x3f4b12=this['editor'];if(!_0x3f4b12['config']['get']('lineHeight.supportAllValues'))return;const _0x2835c2=_0x3f4b12['config']['get']('lineHeight.options')['filter'](_0x13a995=>'string'==typeof _0x13a995&&(!f(_0x13a995)&&isNaN(Number(_0x13a995))));if(_0x2835c2['length'])throw new _0x2e624c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2835c2});}['_prepareAnyValueConverters'](){const _0x17293b=this['editor'],_0xbb098=this['editor']['config']['get']('lineHeight.defaultValue');_0x17293b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x14f215=>String(_0x14f215)===String(_0xbb098)?null:{'key':'style','value':{'line-height':_0x14f215}}}),_0x17293b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x9c9d20=>{let _0x1d9590=_0x9c9d20['getStyle']('line-height');return _0x248d26(_0x1d9590)&&(_0x1d9590=String(Number(_0x1d9590['slice'](0x0,-0x1))/0x64)),String(_0x1d9590)===String(_0xbb098)?null:_0x1d9590;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0xf4ac34=this['editor'],_0x50a878=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5d46a1=function(_0x20e38a,_0x7844f6){const _0xcab1f2={'model':{'key':_0x20e38a,'values':[]},'view':{}};for(const _0x5231b1 of _0x7844f6)'class'===_0x5231b1['view']?.['key']?(_0xcab1f2['model']['values']['push'](_0x5231b1['model']),_0xcab1f2['view'][_0x5231b1['model']]={'key':'class','value':_0x5231b1['view']['value']}):(_0xcab1f2['model']['values']['push'](_0x5231b1['model']),_0xcab1f2['view'][_0x5231b1['model']]={'key':'style','value':'line-height:'+_0x5231b1['model']+';'});return _0xcab1f2;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x36653b=>_0x36653b['model']));_0xf4ac34['conversion']['attributeToAttribute'](_0x5d46a1),_0xf4ac34['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1b73bb=>{let _0x35a039=_0x1b73bb['getStyle']('line-height');return _0x248d26(_0x35a039)&&(_0x35a039=String(Number(_0x35a039['slice'](0x0,-0x1))/0x64)),_0x35a039===String(_0x50a878)?null:_0x5d46a1['model']['values']['includes'](_0x35a039)?_0x35a039:null;}}});}}class r extends _0x5d965d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1e298={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1e298),this['_registerMenuBarComponent'](_0x1e298),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d14c5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf33617;for(const _0x150474 in _0x1d14c5){const _0x2a111e=_0x150474,_0x446361=_0x1d14c5[_0x2a111e];if('lineHeightLicenseKeyValid'==_0x446361||'lineHeightLicenseKeyInvalid'==_0x446361||'lineHeightLicenseKeyExpired'==_0x446361||'lineHeightLicenseKeyDomainLimit'==_0x446361||'lineHeightLicenseKeyNotAllowed'==_0x446361||'lineHeightLicenseKeyEvaluationLimit'==_0x446361||'lineHeightLicenseKeyTrialLimit'==_0x446361||'lineHeightLicenseKeyUsageLimit'==_0x446361){delete _0x1d14c5[_0x2a111e],_0xf33617=_0x446361,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xf33617&&_0x1d14c5['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xf33617&&_0x1d14c5['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xf33617&&_0x1d14c5['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x33e243=this['editor'],t=_0x33e243['t'],_0x1ca323=_0x33e243['config']['get']('lineHeight'),_0x450e4c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x1ca323)['map'](_0x3bbd69=>{const _0x210675=_0x450e4c[_0x3bbd69['title']];return _0x210675&&_0x210675!=_0x3bbd69['title']&&(_0x3bbd69=Object['assign']({},_0x3bbd69,{'title':_0x210675})),_0x3bbd69;});}['_prepareListOptions'](){const _0x382452=this['editor']['commands']['get']('lineHeight'),_0xd07cd8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x252c72=this['_getLocalizedLineHeightOptions'](),_0x2eb42d=new _0x32793c(),_0x32dae8=_0x59f836=>'default'===_0x59f836||String(_0xd07cd8)===_0x59f836;for(const _0x6a2e21 of _0x252c72){const _0x40fd57={'type':'button','model':new _0x502b17({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x6a2e21['title'],'withText':!0x0})};_0x32dae8(_0x6a2e21['model'])?(_0x40fd57['model']['bind']('isOn')['to'](_0x382452,'value',_0x354537=>!_0x354537),_0x40fd57['model']['commandParam']=void 0x0):(_0x40fd57['model']['bind']('isOn')['to'](_0x382452,'value',_0x456968=>_0x456968===_0x6a2e21['model']),_0x40fd57['model']['commandParam']=_0x6a2e21['model']),_0x2eb42d['add'](_0x40fd57);}if(this['_shouldRenderCustomValueOption']()){const _0x36fc7d=this['_getCustomValueOptionDefinition'](_0x252c72);_0x2eb42d['add'](_0x36fc7d);}return _0x2eb42d;}['_getCustomValueOptionDefinition'](_0x315833){const _0x425637=this['editor'],t=_0x425637['t'],_0x47be31=_0x425637['commands']['get']('lineHeight'),_0x59ada4=_0x315833['map'](_0x5cf8e4=>_0x5cf8e4['model']),_0x30f923={'type':'button','model':new _0x502b17({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x30f923['model']['bind']('commandParam')['to'](_0x47be31,'value'),_0x30f923['model']['bind']('isOn')['to'](_0x47be31,'value',_0x922183=>!!_0x922183&&!_0x59ada4['includes'](String(_0x922183))),_0x30f923['model']['bind']('label')['to'](_0x47be31,'value',_0x2ea6ae=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2ea6ae))),_0x30f923;}['_registerToolbarComponent']({accessibleLabel:_0x16738a,options:_0x1885b6}){const _0x4d6558=this['editor'],_0x7cc4a5=_0x4d6558['commands']['get']('lineHeight');_0x4d6558['ui']['componentFactory']['add']('lineHeight',_0x34e06a=>{const _0x250a9a=_0x10f7c5(_0x34e06a);return _0x431647(_0x250a9a,_0x1885b6,{'role':'menu','ariaLabel':_0x16738a}),_0x250a9a['buttonView']['set']({'label':_0x16738a,'tooltip':!0x0,'icon':_0x19dcf5}),_0x250a9a['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x250a9a['bind']('isEnabled')['to'](_0x7cc4a5),this['listenTo'](_0x250a9a,'execute',_0x3376b7=>{_0x4d6558['execute'](_0x3376b7['source']['commandName'],{'value':_0x3376b7['source']['commandParam']}),_0x4d6558['editing']['view']['focus']();}),_0x250a9a['once']('change:isOpen',()=>{const _0x5926e9=_0x250a9a['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x250a9a,_0x1885b6,_0x5926e9);}),_0x250a9a;});}['_registerMenuBarComponent']({accessibleLabel:_0x466397,options:_0x2551e3}){const _0x4a81e9=this['editor'],_0x3b0821=_0x4a81e9['commands']['get']('lineHeight');_0x4a81e9['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1a37d2=>{const _0x58c54c=new _0x55d5f8(_0x1a37d2);_0x58c54c['buttonView']['set']({'label':_0x466397,'icon':_0x19dcf5}),_0x58c54c['bind']('isEnabled')['to'](_0x3b0821);const _0x336ab7=new _0x4555d3(_0x1a37d2);for(const _0x30f30f of _0x2551e3){const _0x27ae39=new _0x1a5648(_0x1a37d2,_0x58c54c),_0x2a8078=new _0xb3e173(_0x1a37d2);_0x2a8078['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2a8078['bind'](...Object['keys'](_0x30f30f['model']))['to'](_0x30f30f['model']),_0x2a8078['delegate']('execute')['to'](_0x58c54c),_0x2a8078['on']('execute',()=>{_0x4a81e9['execute'](_0x30f30f['model']['commandName'],{'value':_0x30f30f['model']['commandParam']}),_0x4a81e9['editing']['view']['focus']();}),_0x27ae39['children']['add'](_0x2a8078),_0x336ab7['items']['add'](_0x27ae39);}return _0x58c54c['panelView']['children']['add'](_0x336ab7),this['_attachCustomOptionVisibilityHandler'](_0x58c54c,_0x2551e3,_0x336ab7),_0x58c54c;});}['_attachCustomOptionVisibilityHandler'](_0x3a06ce,_0x586b54,_0x25176f){if(!this['_shouldRenderCustomValueOption']())return;const _0x45af26=()=>{if(!_0x3a06ce['isOpen'])return;_0x25176f['items']['last']['isVisible']=Boolean(_0x586b54['last']['model']['isOn']);};_0x45af26(),_0x3a06ce['on']('change:isOpen',()=>{_0x45af26();});}}class k extends _0x5d965d{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
|
23
|
+
import{Command as _0x572879,Plugin as _0x572734}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3d9915,CKEditorError as _0x24562e,uid as _0x28aac2,Collection as _0x4b7292}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x4ed8be}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x4bdda3,createDropdown as _0xd83fa5,addListToDropdown as _0x29ffd8,MenuBarMenuView as _0x2ec5a9,MenuBarMenuListView as _0x5b4a6b,MenuBarMenuListItemView as _0x5cd765,MenuBarMenuListItemButtonView as _0x23ba64}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x17b5cf}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x572879{['refresh'](){const _0x335e9d=this['editor']['model']['document'],_0x50aedf=_0x3d9915(_0x335e9d['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x50aedf)&&this['_canHaveLineHeight'](_0x50aedf),this['value']=this['isEnabled']&&_0x50aedf['getAttribute']('lineHeight');}['execute'](_0x4a908e={}){const _0x2a3109=this['editor']['model'],_0x42c8e6=_0x2a3109['document']['selection'],_0x574c1a=_0x4a908e['value'];_0x2a3109['change'](_0x5c6654=>{const _0x5b8d3f=Array['from'](_0x42c8e6['getSelectedBlocks']())['filter'](_0x1131fa=>this['_canHaveLineHeight'](_0x1131fa));for(const _0x81864b of _0x5b8d3f)_0x574c1a?_0x5c6654['setAttribute']('lineHeight',_0x574c1a,_0x81864b):_0x5c6654['removeAttribute']('lineHeight',_0x81864b);});}['_canHaveLineHeight'](_0x351c80){return this['editor']['model']['schema']['checkAttribute'](_0x351c80,'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(_0x66292c){return'string'==typeof _0x66292c&&'default'===_0x66292c['toLowerCase']();}function a(_0x279505){return _0x279505['options']['map'](_0x152130=>{return f(_0x152130)?{'title':String(_0x279505['defaultValue']),'model':'default'}:('number'==typeof _0x152130&&(_0x152130=String(_0x152130)),'string'!=typeof _0x152130?_0x152130:parseFloat(_0x152130)?{'title':_0x152130,'model':_0x152130,'view':{'name':'span','styles':{'line-height':_0x152130}}}:'string'==typeof(_0x2479e0=_0x152130)?v[_0x2479e0]:v[_0x2479e0['model']]);var _0x2479e0;})['filter'](_0x191ddc=>void 0x0!==_0x191ddc);}class e extends _0x572734{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3573f1){super(_0x3573f1),_0x3573f1['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2dfc4f=this['editor'];this['_validateConfig'](),_0x2dfc4f['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2dfc4f['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2dfc4f['commands']['add']('lineHeight',new n(_0x2dfc4f)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4e5eb3){const _0x2ffc48=_0x2dc924([0x5a,0x41,0x39,0x6e,0x45,0x6f,0x4b,0x57,0x71,0x52,0x4e,0x37,0x33,0x67,0x6d,0x64,0x43,0x42,0x4a,0x38,0x31,0x4c,0x50,0x34,0x30,0x53,0x4d,0x74,0x32,0x61,0x48,0x49,0x7a,0x47,0x54,0x63,0x51,0x44,0x55,0x4f,0x68,0x72,0x36,0x78,0x56,0x6a,0x79,0x77,0x35,0x69,0x46,0x62,0x75,0x76,0x59,0x6b,0x6c,0x70,0x73,0x66,0x58,0x65]),_0x40e1e8=0x23ee94aa,_0x485f23=0x23e9f8c2^_0x40e1e8,_0x9f2a06=window[_0x2dc924([0x44,0x61,0x74,0x65])][_0x2dc924([0x6e,0x6f,0x77])](),_0x570287=_0x4e5eb3[_0x2dc924([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x81998d=new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x294396=>{_0x570287[_0x2dc924([0x6f,0x6e,0x63,0x65])](_0x2dc924([0x72,0x65,0x61,0x64,0x79]),_0x294396);}),_0x3fa322={[_0x2dc924([0x6b,0x74,0x79])]:_0x2dc924([0x45,0x43]),[_0x2dc924([0x75,0x73,0x65])]:_0x2dc924([0x73,0x69,0x67]),[_0x2dc924([0x63,0x72,0x76])]:_0x2dc924([0x50,0x2d,0x32,0x35,0x36]),[_0x2dc924([0x78])]:_0x2dc924([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]),[_0x2dc924([0x79])]:_0x2dc924([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]),[_0x2dc924([0x61,0x6c,0x67])]:_0x2dc924([0x45,0x53,0x32,0x35,0x36])},_0xdd9cc0=_0x570287[_0x2dc924([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dc924([0x67,0x65,0x74])](_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45d86f(){let _0x47c9d4,_0xa110f5=null,_0x3601a9=null;try{if(_0xdd9cc0==_0x2dc924([0x47,0x50,0x4c]))return _0x2dc924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47c9d4=_0x257473(),!_0x47c9d4)return _0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47c9d4[_0x2dc924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3601a9=_0x3ee3c0(_0x47c9d4[_0x2dc924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47c9d4[_0x2dc924([0x6a,0x74,0x69])])),await _0x220c89()?_0x4c6b0e()?_0x21deae()?_0x2dc924([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3306e3()?(_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dc924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa110f5=_0x1136a7(_0x2dc924([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dc924([0x74,0x72,0x69,0x61,0x6c])&&(_0xa110f5=_0x1136a7(_0x2dc924([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbba0c()):_0x2dc924([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21deae(){const _0x380abf=[_0x2dc924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dc924([0x74,0x72,0x69,0x61,0x6c])][_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9f2a06/0x3e8:0xe10*_0x485f23;return _0x47c9d4[_0x2dc924([0x65,0x78,0x70])]<_0x380abf;}function _0x4c6b0e(){const _0x386a0e=_0x47c9d4[_0x2dc924([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x386a0e&&(!!_0x386a0e[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x2a]))||!!_0x386a0e[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x4c,0x48])));}function _0x3306e3(){const _0x2c9ebc=_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c9ebc||0x0==_0x2c9ebc[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x125890}=new URL(window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c9ebc[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x125890))return!0x0;const _0x10dbe9=_0x125890[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e]));return _0x2c9ebc[_0x2dc924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3baea1=>_0x3baea1[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x2a])))[_0x2dc924([0x6d,0x61,0x70])](_0x136843=>_0x136843[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e])))[_0x2dc924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x230a19=>_0x230a19[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x10dbe9[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc924([0x6d,0x61,0x70])](_0x4baa53=>Array(_0x10dbe9[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4baa53[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc924([0x66,0x69,0x6c,0x6c])](_0x4baa53[0x0]===_0x2dc924([0x2a])?_0x2dc924([0x2a]):'')[_0x2dc924([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4baa53))[_0x2dc924([0x73,0x6f,0x6d,0x65])](_0x522652=>_0x10dbe9[_0x2dc924([0x65,0x76,0x65,0x72,0x79])]((_0x956d49,_0x2dd899)=>_0x522652[_0x2dd899]===_0x956d49||_0x522652[_0x2dd899]===_0x2dc924([0x2a])));}function _0xbba0c(){return _0xa110f5&&_0x3601a9?new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x551fd2,_0x5835a5)=>{_0xa110f5[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x551fd2,_0x5835a5),_0x3601a9[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x1de917=>{_0x1de917!=_0x2dc924([0x56,0x61,0x6c,0x69,0x64])&&_0x551fd2(_0x1de917);},_0x5835a5);}):_0xa110f5||_0x3601a9||_0x2dc924([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ee3c0(_0x4608af,_0xf3dea4){return new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x213838=>{if(_0x5f362e())return _0x213838(_0x2dc924([0x56,0x61,0x6c,0x69,0x64]));_0x24df4f(),_0x570287[_0x2dc924([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x593817=!0x1;const _0x1befda=_0x28aac2();function _0x508fc6(_0x42d0e5){return!!_0x42d0e5&&(typeof _0x42d0e5===_0x2dc924([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42d0e5===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42d0e5[_0x2dc924([0x74,0x68,0x65,0x6e])]===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42d0e5[_0x2dc924([0x63,0x61,0x74,0x63,0x68])]===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a7f77(_0x1c3b5d){_0x4ea7f3(_0x1c3b5d)[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x538934=>{if(!_0x538934||_0x538934[_0x2dc924([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dc924([0x6f,0x6b]))return _0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35c3ce(_0x3bb94f(_0x1befda+_0xf3dea4))!=_0x538934[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc924([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x21a7f9=>(_0x555bf8(),_0x21a7f9),()=>{const _0x45bc74=_0x22ab0a();return null==_0x45bc74?(_0x555bf8(),_0x2dc924([0x56,0x61,0x6c,0x69,0x64])):_0x2dc924(_0x9f2a06-_0x45bc74>(0x7e210aa^_0x40e1e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x213838)[_0x2dc924([0x63,0x61,0x74,0x63,0x68])](()=>{_0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37b5d0=0x23d87a2a^_0x40e1e8;function _0x555bf8(){const _0x3f4282=_0x2dc924([0x6c,0x6c,0x63,0x74,0x2d])+_0x35c3ce(_0x3bb94f(_0x4608af)),_0x3db7a0=_0x40b324(_0x35c3ce(window[_0x2dc924([0x4d,0x61,0x74,0x68])][_0x2dc924([0x63,0x65,0x69,0x6c])](_0x9f2a06/_0x37b5d0)));window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc924([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f4282,_0x3db7a0);}function _0x22ab0a(){const _0x39b7a4=_0x2dc924([0x6c,0x6c,0x63,0x74,0x2d])+_0x35c3ce(_0x3bb94f(_0x4608af)),_0x1fbdd5=window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc924([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39b7a4);return _0x1fbdd5?window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40b324(_0x1fbdd5),0x10)*_0x37b5d0:null;}function _0x4ea7f3(_0x1951eb){return new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36f7d5,_0x420df8)=>{_0x1951eb[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x36f7d5,_0x420df8),window[_0x2dc924([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x420df8,0x23ef406a^_0x40e1e8);});}}_0x570287[_0x2dc924([0x6f,0x6e])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b3ae1,_0x3222bd)=>{if(_0x3222bd[0x0]!=_0x4608af)return _0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3222bd[0x1]={..._0x3222bd[0x1],[_0x2dc924([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1befda};},{[_0x2dc924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc924([0x68,0x69,0x67,0x68])}),_0x570287[_0x2dc924([0x6f,0x6e])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19338e=>{_0x508fc6(_0x19338e[_0x2dc924([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x593817=!0x0,_0x2a7f77(_0x19338e[_0x2dc924([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dc924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc924([0x6c,0x6f,0x77])}),_0x81998d[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>{_0x593817||_0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f362e(){return _0x570287[_0x2dc924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc924([0x76,0x69,0x65,0x77])][_0x2dc924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dc924([0x61,0x75,0x74,0x6f]);}function _0x24df4f(){_0x570287[_0x2dc924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc924([0x76,0x69,0x65,0x77])][_0x2dc924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dc924([0x61,0x75,0x74,0x6f]);}}function _0x1136a7(_0x15f5d7){const _0xaa9648=[new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c22d=>setTimeout(_0x39c22d,0x23e7aa66^_0x40e1e8)),_0x81998d[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13ae75=>{let _0x4bdcc5=0x0;_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x6f,0x6e])](_0x2dc924([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17a346,_0x1ba351)=>{_0x1ba351[0x0][_0x2dc924([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4bdcc5++,_0x4bdcc5==(0x23ee9552^_0x40e1e8)&&(_0x13ae75(),_0x17a346[_0x2dc924([0x6f,0x66,0x66])]());});}))];return window[_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dc924([0x72,0x61,0x63,0x65])](_0xaa9648)[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>_0x15f5d7);}async function _0x488f05(){await _0x81998d,_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a808a,_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a808a,_0x570287[_0x2dc924([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4111af(_0x564ec1){const _0x2b8cb2=_0x4ea8e8();_0x570287[_0x2b8cb2]=_0x2dc924([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x564ec1,_0x564ec1!=_0x2dc924([0x56,0x61,0x6c,0x69,0x64])&&_0x488f05();}function _0x4ea8e8(){const _0xeb5acb=window[_0x2dc924([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dc924([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dc924([0x6e,0x6f,0x77])]())[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dc924([0x2e]),'');let _0x488b6f=_0x2dc924([0x5a]);for(let _0x393aa9=0x0;_0x393aa9<_0xeb5acb[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x393aa9+=0x2){let _0x2c29af=window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xeb5acb[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x393aa9,_0x393aa9+0x2));_0x2c29af>=_0x2ffc48[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c29af-=_0x2ffc48[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x488b6f+=_0x2ffc48[_0x2c29af];}return _0x488b6f;}function _0x257473(){const _0x48d9de=_0xdd9cc0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e]));if(0x3!=_0x48d9de[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5257c7(_0x48d9de[0x1]);function _0x5257c7(_0x3831c2){const _0x3945fc=_0x3f9faa(_0x3831c2);return _0x3945fc&&_0x58541f()?_0x3945fc:null;function _0x58541f(){const _0x56deb3=_0x3945fc[_0x2dc924([0x6a,0x74,0x69])],_0x45d74f=window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56deb3[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56deb3[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc98acc={..._0x3945fc,[_0x2dc924([0x6a,0x74,0x69])]:_0x56deb3[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56deb3[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc98acc[_0x2dc924([0x76,0x63])],_0x3bb94f(_0xc98acc)==_0x45d74f;}}}async function _0x220c89(){let _0x127527=!0x0;try{const _0x1bb283=_0xdd9cc0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e])),[_0x1db45a,_0x1d0681,_0x23241d]=_0x1bb283;return _0x5672f1(_0x1db45a),await _0x4cc8fc(_0x1db45a,_0x1d0681,_0x23241d),_0x127527;}catch{return!0x1;}function _0x5672f1(_0x1292a6){const _0x2d32f9=_0x3f9faa(_0x1292a6);_0x2d32f9&&_0x2d32f9[_0x2dc924([0x61,0x6c,0x67])]==_0x2dc924([0x45,0x53,0x32,0x35,0x36])||(_0x127527=!0x1);}async function _0x4cc8fc(_0x15ca2d,_0x55cc1f,_0x4feabd){const _0x4f2db4=window[_0x2dc924([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dc924([0x66,0x72,0x6f,0x6d])](_0x560690(_0x4feabd),_0x1be3a8=>_0x1be3a8[_0x2dc924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f852e=new window[(_0x2dc924([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dc924([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15ca2d+_0x2dc924([0x2e])+_0x55cc1f),_0x198945=window[_0x2dc924([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dc924([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x198945)return;const _0x66d30e=await _0x198945[_0x2dc924([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dc924([0x6a,0x77,0x6b]),_0x3fa322,{[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x45,0x43,0x44,0x53,0x41]),[_0x2dc924([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dc924([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x198945[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x45,0x43,0x44,0x53,0x41]),[_0x2dc924([0x68,0x61,0x73,0x68])]:{[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x66d30e,_0x4f2db4,_0x3f852e)||(_0x127527=!0x1);}}function _0x3f9faa(_0x177117){return _0x177117[_0x2dc924([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dc924([0x65,0x79]))?JSON[_0x2dc924([0x70,0x61,0x72,0x73,0x65])](_0x560690(_0x177117)):null;}function _0x560690(_0x68f538){return window[_0x2dc924([0x61,0x74,0x6f,0x62])](_0x68f538[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dc924([0x2b]))[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dc924([0x2f])));}function _0x3bb94f(_0x339650){let _0x167541=0x1505;function _0x3a9453(_0x183c0b){for(let _0xa59ecc=0x0;_0xa59ecc<_0x183c0b[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa59ecc++){const _0x489605=_0x183c0b[_0x2dc924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa59ecc);_0x167541=(_0x167541<<0x5)+_0x167541+_0x489605,_0x167541&=_0x167541;}}function _0x5b3447(_0x3d2e0a){Array[_0x2dc924([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d2e0a)?_0x3d2e0a[_0x2dc924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b3447):_0x3d2e0a&&typeof _0x3d2e0a==_0x2dc924([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dc924([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d2e0a)[_0x2dc924([0x73,0x6f,0x72,0x74])]()[_0x2dc924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28eb23,_0x3b5aa0])=>{_0x3a9453(_0x28eb23),_0x5b3447(_0x3b5aa0);}):_0x3a9453(window[_0x2dc924([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d2e0a));}return _0x5b3447(_0x339650),_0x167541>>>0x0;}function _0x35c3ce(_0x528d14){return _0x528d14[_0x2dc924([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dc924([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dc924([0x30]));}function _0x40b324(_0xbeb0a0){return _0xbeb0a0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dc924([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dc924([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a808a(){}function _0x2dc924(_0x1cce80){return _0x1cce80['map'](_0x54ad2f=>String['fromCharCode'](_0x54ad2f))['join']('');}_0x4111af(await _0x45d86f());}(this);}['_validateConfig'](){const _0x47c08e=this['editor'];if(!_0x47c08e['config']['get']('lineHeight.supportAllValues'))return;const _0x7667e6=_0x47c08e['config']['get']('lineHeight.options')['filter'](_0x193a2e=>'string'==typeof _0x193a2e&&(!f(_0x193a2e)&&isNaN(Number(_0x193a2e))));if(_0x7667e6['length'])throw new _0x24562e('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x7667e6});}['_prepareAnyValueConverters'](){const _0x4c39f6=this['editor'],_0x570109=this['editor']['config']['get']('lineHeight.defaultValue');_0x4c39f6['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x561e77=>String(_0x561e77)===String(_0x570109)?null:{'key':'style','value':{'line-height':_0x561e77}}}),_0x4c39f6['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x2656e9=>{let _0x4ce016=_0x2656e9['getStyle']('line-height');return _0x4ed8be(_0x4ce016)&&(_0x4ce016=String(Number(_0x4ce016['slice'](0x0,-0x1))/0x64)),String(_0x4ce016)===String(_0x570109)?null:_0x4ce016;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3fc459=this['editor'],_0x20bef0=this['editor']['config']['get']('lineHeight.defaultValue'),_0x195964=function(_0x442739,_0x164964){const _0x240753={'model':{'key':_0x442739,'values':[]},'view':{}};for(const _0x19047d of _0x164964)'class'===_0x19047d['view']?.['key']?(_0x240753['model']['values']['push'](_0x19047d['model']),_0x240753['view'][_0x19047d['model']]={'key':'class','value':_0x19047d['view']['value']}):(_0x240753['model']['values']['push'](_0x19047d['model']),_0x240753['view'][_0x19047d['model']]={'key':'style','value':'line-height:'+_0x19047d['model']+';'});return _0x240753;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1b140c=>_0x1b140c['model']));_0x3fc459['conversion']['attributeToAttribute'](_0x195964),_0x3fc459['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x50cc05=>{let _0x8f601b=_0x50cc05['getStyle']('line-height');return _0x4ed8be(_0x8f601b)&&(_0x8f601b=String(Number(_0x8f601b['slice'](0x0,-0x1))/0x64)),_0x8f601b===String(_0x20bef0)?null:_0x195964['model']['values']['includes'](_0x8f601b)?_0x8f601b:null;}}});}}class r extends _0x572734{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x533c01={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x533c01),this['_registerMenuBarComponent'](_0x533c01),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x652ce8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c1533;for(const _0x3cb1d9 in _0x652ce8){const _0x305986=_0x3cb1d9,_0x2ddc55=_0x652ce8[_0x305986];if('lineHeightLicenseKeyValid'==_0x2ddc55||'lineHeightLicenseKeyInvalid'==_0x2ddc55||'lineHeightLicenseKeyExpired'==_0x2ddc55||'lineHeightLicenseKeyDomainLimit'==_0x2ddc55||'lineHeightLicenseKeyNotAllowed'==_0x2ddc55||'lineHeightLicenseKeyEvaluationLimit'==_0x2ddc55||'lineHeightLicenseKeyTrialLimit'==_0x2ddc55||'lineHeightLicenseKeyUsageLimit'==_0x2ddc55){delete _0x652ce8[_0x305986],_0x2c1533=_0x2ddc55,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2c1533&&_0x652ce8['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2c1533&&_0x652ce8['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2c1533&&_0x652ce8['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x17b27d=this['editor'],t=_0x17b27d['t'],_0x3248dc=_0x17b27d['config']['get']('lineHeight'),_0x37d04e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x3248dc)['map'](_0x1a94bf=>{const _0x4eff62=_0x37d04e[_0x1a94bf['title']];return _0x4eff62&&_0x4eff62!=_0x1a94bf['title']&&(_0x1a94bf=Object['assign']({},_0x1a94bf,{'title':_0x4eff62})),_0x1a94bf;});}['_prepareListOptions'](){const _0x288184=this['editor']['commands']['get']('lineHeight'),_0x3f1347=this['editor']['config']['get']('lineHeight.defaultValue'),_0x7c532d=this['_getLocalizedLineHeightOptions'](),_0x3f4d76=new _0x4b7292(),_0x354f66=_0x55490e=>'default'===_0x55490e||String(_0x3f1347)===_0x55490e;for(const _0x2ad9a7 of _0x7c532d){const _0x2158f6={'type':'button','model':new _0x4bdda3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2ad9a7['title'],'withText':!0x0})};_0x354f66(_0x2ad9a7['model'])?(_0x2158f6['model']['bind']('isOn')['to'](_0x288184,'value',_0x65666d=>!_0x65666d),_0x2158f6['model']['commandParam']=void 0x0):(_0x2158f6['model']['bind']('isOn')['to'](_0x288184,'value',_0x1e5cfa=>_0x1e5cfa===_0x2ad9a7['model']),_0x2158f6['model']['commandParam']=_0x2ad9a7['model']),_0x3f4d76['add'](_0x2158f6);}if(this['_shouldRenderCustomValueOption']()){const _0x3970e2=this['_getCustomValueOptionDefinition'](_0x7c532d);_0x3f4d76['add'](_0x3970e2);}return _0x3f4d76;}['_getCustomValueOptionDefinition'](_0x21e54b){const _0x4b8fbd=this['editor'],t=_0x4b8fbd['t'],_0x2fd058=_0x4b8fbd['commands']['get']('lineHeight'),_0x5a5fba=_0x21e54b['map'](_0x737156=>_0x737156['model']),_0x14bd69={'type':'button','model':new _0x4bdda3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x14bd69['model']['bind']('commandParam')['to'](_0x2fd058,'value'),_0x14bd69['model']['bind']('isOn')['to'](_0x2fd058,'value',_0x446430=>!!_0x446430&&!_0x5a5fba['includes'](String(_0x446430))),_0x14bd69['model']['bind']('label')['to'](_0x2fd058,'value',_0x1dcdc6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1dcdc6))),_0x14bd69;}['_registerToolbarComponent']({accessibleLabel:_0x532d8a,options:_0x2fcc9a}){const _0x318e52=this['editor'],_0x32c70c=_0x318e52['commands']['get']('lineHeight');_0x318e52['ui']['componentFactory']['add']('lineHeight',_0x23ccb8=>{const _0x5acfe7=_0xd83fa5(_0x23ccb8);return _0x29ffd8(_0x5acfe7,_0x2fcc9a,{'role':'menu','ariaLabel':_0x532d8a}),_0x5acfe7['buttonView']['set']({'label':_0x532d8a,'tooltip':!0x0,'icon':_0x17b5cf}),_0x5acfe7['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5acfe7['bind']('isEnabled')['to'](_0x32c70c),this['listenTo'](_0x5acfe7,'execute',_0x266d43=>{_0x318e52['execute'](_0x266d43['source']['commandName'],{'value':_0x266d43['source']['commandParam']}),_0x318e52['editing']['view']['focus']();}),_0x5acfe7['once']('change:isOpen',()=>{const _0x5d00a3=_0x5acfe7['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5acfe7,_0x2fcc9a,_0x5d00a3);}),_0x5acfe7;});}['_registerMenuBarComponent']({accessibleLabel:_0x41ca69,options:_0x549e74}){const _0xbb723d=this['editor'],_0x13774f=_0xbb723d['commands']['get']('lineHeight');_0xbb723d['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2608c5=>{const _0x21b36c=new _0x2ec5a9(_0x2608c5);_0x21b36c['buttonView']['set']({'label':_0x41ca69,'icon':_0x17b5cf}),_0x21b36c['bind']('isEnabled')['to'](_0x13774f);const _0x537491=new _0x5b4a6b(_0x2608c5);for(const _0x46a28c of _0x549e74){const _0x5a26d9=new _0x5cd765(_0x2608c5,_0x21b36c),_0x260b61=new _0x23ba64(_0x2608c5);_0x260b61['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x260b61['bind'](...Object['keys'](_0x46a28c['model']))['to'](_0x46a28c['model']),_0x260b61['delegate']('execute')['to'](_0x21b36c),_0x260b61['on']('execute',()=>{_0xbb723d['execute'](_0x46a28c['model']['commandName'],{'value':_0x46a28c['model']['commandParam']}),_0xbb723d['editing']['view']['focus']();}),_0x5a26d9['children']['add'](_0x260b61),_0x537491['items']['add'](_0x5a26d9);}return _0x21b36c['panelView']['children']['add'](_0x537491),this['_attachCustomOptionVisibilityHandler'](_0x21b36c,_0x549e74,_0x537491),_0x21b36c;});}['_attachCustomOptionVisibilityHandler'](_0x1e559e,_0x1221d7,_0x169bbe){if(!this['_shouldRenderCustomValueOption']())return;const _0x4a8661=()=>{if(!_0x1e559e['isOpen'])return;_0x169bbe['items']['last']['isVisible']=Boolean(_0x1221d7['last']['model']['isOn']);};_0x4a8661(),_0x1e559e['on']('change:isOpen',()=>{_0x4a8661();});}}class k extends _0x572734{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-20250702.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-20250702.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250702.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250702.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250702.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250702.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20250702.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
|
-
|
|
23
|
+
(function(_0x420917,_0x2922ca){var _0x1e2eb6=_0xf5c9,_0x23eed6=_0x420917();while(!![]){try{var _0x19531e=-parseInt(_0x1e2eb6(0xa1))/0x1*(-parseInt(_0x1e2eb6(0x98))/0x2)+parseInt(_0x1e2eb6(0x9d))/0x3+-parseInt(_0x1e2eb6(0x9a))/0x4+-parseInt(_0x1e2eb6(0x9e))/0x5*(-parseInt(_0x1e2eb6(0x9f))/0x6)+-parseInt(_0x1e2eb6(0x99))/0x7*(-parseInt(_0x1e2eb6(0x9b))/0x8)+parseInt(_0x1e2eb6(0xa0))/0x9+-parseInt(_0x1e2eb6(0x9c))/0xa;if(_0x19531e===_0x2922ca)break;else _0x23eed6['push'](_0x23eed6['shift']());}catch(_0x1d5b3b){_0x23eed6['push'](_0x23eed6['shift']());}}}(_0x32a8,0xd37d8));export{LineHeight}from'./lineheight.js';function _0x32a8(){var _0x106867=['80OFItsN','43887190sHEXYl','2440077KYdNDP','335vSfMLh','91434dCiWCM','10793223CtreFG','1641677uFSKmw','2laduDz','779212jMwIQw','2133892WQNAXP'];_0x32a8=function(){return _0x106867;};return _0x32a8();}function _0xf5c9(_0x50e37f,_0x12e0e4){var _0x32a837=_0x32a8();return _0xf5c9=function(_0xf5c99a,_0x353b9d){_0xf5c99a=_0xf5c99a-0x98;var _0x2258ff=_0x32a837[_0xf5c99a];return _0x2258ff;},_0xf5c9(_0x50e37f,_0x12e0e4);}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 _0xd84914=_0x7a02;function _0x7a02(_0x89b9eb,_0x313ffc){var _0x287ef1=_0x287e();return _0x7a02=function(_0x7a02f,_0x2729f0){_0x7a02f=_0x7a02f-0xab;var _0x43b93b=_0x287ef1[_0x7a02f];return _0x43b93b;},_0x7a02(_0x89b9eb,_0x313ffc);}(function(_0x2c0d31,_0x5551ee){var _0x15e1ff=_0x7a02,_0x4a2be9=_0x2c0d31();while(!![]){try{var _0x3d605e=-parseInt(_0x15e1ff(0xb7))/0x1+parseInt(_0x15e1ff(0xb4))/0x2+-parseInt(_0x15e1ff(0xb6))/0x3+-parseInt(_0x15e1ff(0xb0))/0x4*(parseInt(_0x15e1ff(0xaf))/0x5)+-parseInt(_0x15e1ff(0xb1))/0x6+-parseInt(_0x15e1ff(0xac))/0x7*(parseInt(_0x15e1ff(0xb8))/0x8)+parseInt(_0x15e1ff(0xb5))/0x9;if(_0x3d605e===_0x5551ee)break;else _0x4a2be9['push'](_0x4a2be9['shift']());}catch(_0x43615b){_0x4a2be9['push'](_0x4a2be9['shift']());}}}(_0x287e,0x589db));import{Plugin as _0x5309a6}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x2d0752}from'./lineheightediting.js';import{LineHeightUI as _0x3cabb6}from'./lineheightui.js';export class LineHeight extends _0x5309a6{static get[_0xd84914(0xb3)](){return[_0x2d0752,_0x3cabb6];}static get[_0xd84914(0xab)](){var _0x5dbb99=_0xd84914;return _0x5dbb99(0xae);}static get[_0xd84914(0xad)](){return!0x0;}static get[_0xd84914(0xb2)](){return!0x0;}}function _0x287e(){var _0x1b4494=['requires','1414818LkHGUM','10279602ynLJaC','348879rgCGDo','322870rghGyi','49480KFaTYE','pluginName','14kYgIZo','isOfficialPlugin','LineHeight','1093060SucaFC','8WdogXG','3587154tigJxY','isPremiumPlugin'];_0x287e=function(){return _0x1b4494;};return _0x287e();}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1761ef=_0x60ee;(function(_0x162572,_0x14f1f4){const _0x46b3ed=_0x60ee,_0x1d5199=_0x162572();while(!![]){try{const _0x28d413=-parseInt(_0x46b3ed(0xda))/0x1*(-parseInt(_0x46b3ed(0xe9))/0x2)+-parseInt(_0x46b3ed(0xef))/0x3+-parseInt(_0x46b3ed(0xe2))/0x4+parseInt(_0x46b3ed(0xec))/0x5*(-parseInt(_0x46b3ed(0xf0))/0x6)+-parseInt(_0x46b3ed(0xdf))/0x7+-parseInt(_0x46b3ed(0xe3))/0x8+parseInt(_0x46b3ed(0xe8))/0x9*(parseInt(_0x46b3ed(0xd9))/0xa);if(_0x28d413===_0x14f1f4)break;else _0x1d5199['push'](_0x1d5199['shift']());}catch(_0xd36d41){_0x1d5199['push'](_0x1d5199['shift']());}}}(_0xc478,0xdddfd));import{Command as _0x3e6130}from'ckeditor5/src/core.js';function _0x60ee(_0x2382f3,_0xbbcdad){const _0xc478c=_0xc478();return _0x60ee=function(_0x60eec6,_0xa6ba15){_0x60eec6=_0x60eec6-0xd9;let _0x3c2171=_0xc478c[_0x60eec6];return _0x3c2171;},_0x60ee(_0x2382f3,_0xbbcdad);}import{first as _0x4b1f2b}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3e6130{[_0x1761ef(0xed)](){const _0x354a6c=_0x1761ef,_0x340875=this[_0x354a6c(0xe4)][_0x354a6c(0xf4)][_0x354a6c(0xde)],_0x4ff49f=_0x4b1f2b(_0x340875[_0x354a6c(0xf2)][_0x354a6c(0xf5)]());this[_0x354a6c(0xe0)]=Boolean(_0x4ff49f)&&this[_0x354a6c(0xeb)](_0x4ff49f),this[_0x354a6c(0xee)]=this[_0x354a6c(0xe0)]&&_0x4ff49f[_0x354a6c(0xf1)](_0x354a6c(0xe7));}[_0x1761ef(0xdb)](_0x2e18cb={}){const _0x5b8169=_0x1761ef,_0x27c8c5=this[_0x5b8169(0xe4)][_0x5b8169(0xf4)],_0x235388=_0x27c8c5[_0x5b8169(0xde)][_0x5b8169(0xf2)],_0x4f813d=_0x2e18cb[_0x5b8169(0xee)];_0x27c8c5[_0x5b8169(0xdc)](_0x5a0385=>{const _0x11fe10=_0x5b8169,_0x4cc8b5=Array[_0x11fe10(0xe5)](_0x235388[_0x11fe10(0xf5)]())[_0x11fe10(0xe6)](_0x92a866=>this[_0x11fe10(0xeb)](_0x92a866));for(const _0x4116b6 of _0x4cc8b5)_0x4f813d?_0x5a0385[_0x11fe10(0xe1)](_0x11fe10(0xe7),_0x4f813d,_0x4116b6):_0x5a0385[_0x11fe10(0xf3)](_0x11fe10(0xe7),_0x4116b6);});}[_0x1761ef(0xeb)](_0x3d5a79){const _0x319d61=_0x1761ef;return this[_0x319d61(0xe4)][_0x319d61(0xf4)][_0x319d61(0xdd)][_0x319d61(0xea)](_0x3d5a79,_0x319d61(0xe7));}}function _0xc478(){const _0xa190f3=['editor','from','filter','lineHeight','60462baWExe','97406FgzHeG','checkAttribute','_canHaveLineHeight','15yVGajw','refresh','value','5101662oYSaFy','274698YBPujk','getAttribute','selection','removeAttribute','model','getSelectedBlocks','7520NdyzpP','7IMvBSJ','execute','change','schema','document','8661590oqjBLL','isEnabled','setAttribute','1767224KVXlOC','7735848VsiNzk'];_0xc478=function(){return _0xa190f3;};return _0xc478();}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x38e6aa=_0x487a;(function(_0x4a9da8,_0x5a292a){const _0x522c2f=_0x487a,_0xb194f8=_0x4a9da8();while(!![]){try{const _0x283eb9=parseInt(_0x522c2f(0x17e))/0x1+parseInt(_0x522c2f(0x188))/0x2*(-parseInt(_0x522c2f(0x168))/0x3)+-parseInt(_0x522c2f(0x199))/0x4+parseInt(_0x522c2f(0x169))/0x5+parseInt(_0x522c2f(0x19b))/0x6+-parseInt(_0x522c2f(0x19a))/0x7+parseInt(_0x522c2f(0x185))/0x8*(parseInt(_0x522c2f(0x18e))/0x9);if(_0x283eb9===_0x5a292a)break;else _0xb194f8['push'](_0xb194f8['shift']());}catch(_0x4577d7){_0xb194f8['push'](_0xb194f8['shift']());}}}(_0x4364,0xbdba4));import{Plugin as _0x2a580b}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x340e92}from'./lineheightcommand.js';function _0x487a(_0x2ce5e1,_0x4d7b13){const _0x436453=_0x4364();return _0x487a=function(_0x487aa9,_0x5f457f){_0x487aa9=_0x487aa9-0x168;let _0x456b79=_0x436453[_0x487aa9];return _0x456b79;},_0x487a(_0x2ce5e1,_0x4d7b13);}import{isPercentageStyleValue as _0x3186b6}from'ckeditor5/src/engine.js';function _0x4364(){const _0x52e1a9=['lineHeight.options','line-height','_preparePredefinedConverters','conversion','70002TcrYxr','line-height-invalid-use-of-named-presets','setAttributeProperties','schema','slice','init','_validateConfig','downcast','getStyle','upcast','commands','3040664wvYumg','7343322JHIvjv','2297076OLMxsj','lineHeight.supportAllValues','6rbtCsq','3707530cbzLjy','get','lineHeight','for','values','model','LineHeightEditing','_prepareAnyValueConverters','default','isPremiumPlugin','isOfficialPlugin','includes','afterInit','join','extend','href','fromCharCode','define','length','map','attributeToAttribute','85664RIgmYf','$block','filter','config','editor','string','pluginName','2552QczRNO','lineHeight.defaultValue','style','1104862RggQIq','add'];_0x4364=function(){return _0x52e1a9;};return _0x4364();}import{uid as _0x33f26a,CKEditorError as _0xf9d25}from'ckeditor5/src/utils.js';import{buildDefinition as _0x20b276,isLineHeightDefaultValue as _0x2433a2,normalizeOptions as _0x4bcc99}from'./utils.js';export class LineHeightEditing extends _0x2a580b{static get[_0x38e6aa(0x184)](){const _0x85f55a=_0x38e6aa;return _0x85f55a(0x16f);}static get[_0x38e6aa(0x173)](){return!0x0;}static get[_0x38e6aa(0x172)](){return!0x0;}constructor(_0x3e3da7){const _0x1f2d27=_0x38e6aa;super(_0x3e3da7),_0x3e3da7[_0x1f2d27(0x181)][_0x1f2d27(0x17a)](_0x1f2d27(0x16b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1f2d27(0x171),0x2,2.5,0x3]});}[_0x38e6aa(0x193)](){const _0x215ffa=_0x38e6aa,_0x563d83=this[_0x215ffa(0x182)];this[_0x215ffa(0x194)](),_0x563d83[_0x215ffa(0x16e)][_0x215ffa(0x191)][_0x215ffa(0x177)](_0x215ffa(0x17f),{'allowAttributes':_0x215ffa(0x16b)}),_0x563d83[_0x215ffa(0x16e)][_0x215ffa(0x191)][_0x215ffa(0x190)](_0x215ffa(0x16b),{'isFormatting':!0x0}),_0x563d83[_0x215ffa(0x198)][_0x215ffa(0x189)](_0x215ffa(0x16b),new _0x340e92(_0x563d83)),this[_0x215ffa(0x182)][_0x215ffa(0x181)][_0x215ffa(0x16a)](_0x215ffa(0x19c))?this[_0x215ffa(0x170)]():this[_0x215ffa(0x18c)]();}[_0x38e6aa(0x175)](){!async function(_0x3e9db9){const _0x1f12d6=_0x4df8bf([0x58,0x4b,0x72,0x6c,0x54,0x5a,0x67,0x62,0x79,0x4d,0x6b,0x63,0x38,0x4a,0x47,0x68,0x66,0x42,0x34,0x52,0x49,0x56,0x43,0x70,0x75,0x4c,0x65,0x41,0x48,0x6d,0x50,0x31,0x69,0x45,0x36,0x7a,0x37,0x61,0x30,0x76,0x46,0x6e,0x74,0x6f,0x73,0x4e,0x71,0x77,0x64,0x55,0x53,0x78,0x35,0x33,0x59,0x57,0x44,0x51,0x4f,0x39,0x32,0x6a]),_0x5d4bb5=0x127f1987,_0x4893ef=0x127875d7^_0x5d4bb5,_0x39449d=window[_0x4df8bf([0x44,0x61,0x74,0x65])][_0x4df8bf([0x6e,0x6f,0x77])](),_0x4a7622=_0x3e9db9[_0x4df8bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c573b=new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x295e60=>{_0x4a7622[_0x4df8bf([0x6f,0x6e,0x63,0x65])](_0x4df8bf([0x72,0x65,0x61,0x64,0x79]),_0x295e60);}),_0x42794b={[_0x4df8bf([0x6b,0x74,0x79])]:_0x4df8bf([0x45,0x43]),[_0x4df8bf([0x75,0x73,0x65])]:_0x4df8bf([0x73,0x69,0x67]),[_0x4df8bf([0x63,0x72,0x76])]:_0x4df8bf([0x50,0x2d,0x32,0x35,0x36]),[_0x4df8bf([0x78])]:_0x4df8bf([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4df8bf([0x79])]:_0x4df8bf([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4df8bf([0x61,0x6c,0x67])]:_0x4df8bf([0x45,0x53,0x32,0x35,0x36])},_0x26db7d=_0x4a7622[_0x4df8bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4df8bf([0x67,0x65,0x74])](_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x96654c(){let _0x4b9e30,_0x17482d=null,_0x4d6180=null;try{if(_0x26db7d==_0x4df8bf([0x47,0x50,0x4c]))return _0x4df8bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b9e30=_0x37ebe5(),!_0x4b9e30)return _0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b9e30[_0x4df8bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d6180=_0x5bf3cb(_0x4b9e30[_0x4df8bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b9e30[_0x4df8bf([0x6a,0x74,0x69])])),await _0x330dbf()?_0x3db5ef()?_0x35e523()?_0x4df8bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47ef73()?(_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df8bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17482d=_0x1aa89b(_0x4df8bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df8bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x17482d=_0x1aa89b(_0x4df8bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa8cce7()):_0x4df8bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4df8bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35e523(){const _0x134635=[_0x4df8bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4df8bf([0x74,0x72,0x69,0x61,0x6c])][_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39449d/0x3e8:0xe10*_0x4893ef;return _0x4b9e30[_0x4df8bf([0x65,0x78,0x70])]<_0x134635;}function _0x3db5ef(){const _0x56ff8d=_0x4b9e30[_0x4df8bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56ff8d&&(!!_0x56ff8d[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x2a]))||!!_0x56ff8d[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x4c,0x48])));}function _0x47ef73(){const _0x3327ca=_0x487a,_0x111d4a=_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x111d4a||0x0==_0x111d4a[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xba2b20}=new URL(window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3327ca(0x178)]);if(_0x111d4a[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba2b20))return!0x0;const _0x3c14dd=_0xba2b20[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e]));return _0x111d4a[_0x4df8bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa05c79=>_0xa05c79[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x2a])))[_0x4df8bf([0x6d,0x61,0x70])](_0x45a0f5=>_0x45a0f5[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e])))[_0x4df8bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13b58f=>_0x13b58f[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c14dd[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4df8bf([0x6d,0x61,0x70])](_0x44d1d0=>Array(_0x3c14dd[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44d1d0[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4df8bf([0x66,0x69,0x6c,0x6c])](_0x44d1d0[0x0]===_0x4df8bf([0x2a])?_0x4df8bf([0x2a]):'')[_0x4df8bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44d1d0))[_0x4df8bf([0x73,0x6f,0x6d,0x65])](_0x3338b3=>_0x3c14dd[_0x4df8bf([0x65,0x76,0x65,0x72,0x79])]((_0x321bc5,_0x433226)=>_0x3338b3[_0x433226]===_0x321bc5||_0x3338b3[_0x433226]===_0x4df8bf([0x2a])));}function _0xa8cce7(){return _0x17482d&&_0x4d6180?new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x624948,_0xcabb3b)=>{_0x17482d[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x624948,_0xcabb3b),_0x4d6180[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x31cd2d=>{_0x31cd2d!=_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])&&_0x624948(_0x31cd2d);},_0xcabb3b);}):_0x17482d||_0x4d6180||_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bf3cb(_0xf18a23,_0x17f3b2){return new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49affd=>{if(_0x58a3e9())return _0x49affd(_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]));_0x1a8dcf(),_0x4a7622[_0x4df8bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b480d=!0x1;const _0x403b68=_0x33f26a();function _0x476846(_0x4b4cb3){return!!_0x4b4cb3&&(typeof _0x4b4cb3===_0x4df8bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b4cb3===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b4cb3[_0x4df8bf([0x74,0x68,0x65,0x6e])]===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b4cb3[_0x4df8bf([0x63,0x61,0x74,0x63,0x68])]===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x394b5b(_0x28d0ee){_0x4ae2a7(_0x28d0ee)[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x5ae412=>{if(!_0x5ae412||_0x5ae412[_0x4df8bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4df8bf([0x6f,0x6b]))return _0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38a996(_0x52040d(_0x403b68+_0x17f3b2))!=_0x5ae412[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x1f9f77=>(_0x440e6d(),_0x1f9f77),()=>{const _0x676b22=_0x26d00a();return null==_0x676b22?(_0x440e6d(),_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])):_0x4df8bf(_0x39449d-_0x676b22>(0x36739d87^_0x5d4bb5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x49affd)[_0x4df8bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b5f6=0x1249f707^_0x5d4bb5;function _0x440e6d(){const _0x24095c=_0x4df8bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a996(_0x52040d(_0xf18a23)),_0x5c4fe3=_0x5a5e19(_0x38a996(window[_0x4df8bf([0x4d,0x61,0x74,0x68])][_0x4df8bf([0x63,0x65,0x69,0x6c])](_0x39449d/_0x24b5f6)));window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df8bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24095c,_0x5c4fe3);}function _0x26d00a(){const _0x332a2a=_0x4df8bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a996(_0x52040d(_0xf18a23)),_0x241b86=window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df8bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x332a2a);return _0x241b86?window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5e19(_0x241b86),0x10)*_0x24b5f6:null;}function _0x4ae2a7(_0x2c98ec){return new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3104c2,_0x52066d)=>{_0x2c98ec[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x3104c2,_0x52066d),window[_0x4df8bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52066d,0x127ecd47^_0x5d4bb5);});}}_0x4a7622[_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18dce7,_0x20ccb7)=>{if(_0x20ccb7[0x0]!=_0xf18a23)return _0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20ccb7[0x1]={..._0x20ccb7[0x1],[_0x4df8bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x403b68};},{[_0x4df8bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df8bf([0x68,0x69,0x67,0x68])}),_0x4a7622[_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ccec7=>{_0x476846(_0x1ccec7[_0x4df8bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b480d=!0x0,_0x394b5b(_0x1ccec7[_0x4df8bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4df8bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df8bf([0x6c,0x6f,0x77])}),_0x2c573b[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>{_0x1b480d||_0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58a3e9(){return _0x4a7622[_0x4df8bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df8bf([0x76,0x69,0x65,0x77])][_0x4df8bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4df8bf([0x61,0x75,0x74,0x6f]);}function _0x1a8dcf(){_0x4a7622[_0x4df8bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df8bf([0x76,0x69,0x65,0x77])][_0x4df8bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4df8bf([0x61,0x75,0x74,0x6f]);}}function _0x1aa89b(_0x3d1bd3){const _0x2fa121=[new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x363a71=>setTimeout(_0x363a71,0x1276274b^_0x5d4bb5)),_0x2c573b[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x289e3c=>{let _0x4edf2c=0x0;_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e8cc2,_0x265e8b)=>{_0x265e8b[0x0][_0x4df8bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4edf2c++,_0x4edf2c==(0x127f187f^_0x5d4bb5)&&(_0x289e3c(),_0x2e8cc2[_0x4df8bf([0x6f,0x66,0x66])]());});}))];return window[_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4df8bf([0x72,0x61,0x63,0x65])](_0x2fa121)[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>_0x3d1bd3);}async function _0x397778(){await _0x2c573b,_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8703,_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8703,_0x4a7622[_0x4df8bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f4d7a(_0x528b26){const _0x2b1f6c=_0x65b560();_0x4a7622[_0x2b1f6c]=_0x4df8bf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x528b26,_0x528b26!=_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])&&_0x397778();}function _0x65b560(){const _0xfc469=window[_0x4df8bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4df8bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4df8bf([0x6e,0x6f,0x77])]())[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4df8bf([0x2e]),'');let _0x284bf3=_0x4df8bf([0x58]);for(let _0x3f73d5=0x0;_0x3f73d5<_0xfc469[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f73d5+=0x2){let _0xb3e9ac=window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfc469[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f73d5,_0x3f73d5+0x2));_0xb3e9ac>=_0x1f12d6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb3e9ac-=_0x1f12d6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x284bf3+=_0x1f12d6[_0xb3e9ac];}return _0x284bf3;}function _0x37ebe5(){const _0x21d0d1=_0x26db7d[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e]));if(0x3!=_0x21d0d1[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14d9ef(_0x21d0d1[0x1]);function _0x14d9ef(_0x34ce3f){const _0x509049=_0x316c0c(_0x34ce3f);return _0x509049&&_0x407de8()?_0x509049:null;function _0x407de8(){const _0x182461=_0x509049[_0x4df8bf([0x6a,0x74,0x69])],_0x3a37a5=window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x182461[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x182461[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47901c={..._0x509049,[_0x4df8bf([0x6a,0x74,0x69])]:_0x182461[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x182461[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47901c[_0x4df8bf([0x76,0x63])],_0x52040d(_0x47901c)==_0x3a37a5;}}}async function _0x330dbf(){let _0x1fe530=!0x0;try{const _0x220de7=_0x26db7d[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e])),[_0xd7c0e8,_0x3b4993,_0x2f2fb2]=_0x220de7;return _0xd9fc0e(_0xd7c0e8),await _0xbb53a1(_0xd7c0e8,_0x3b4993,_0x2f2fb2),_0x1fe530;}catch{return!0x1;}function _0xd9fc0e(_0x2d6393){const _0x4c7a95=_0x316c0c(_0x2d6393);_0x4c7a95&&_0x4c7a95[_0x4df8bf([0x61,0x6c,0x67])]==_0x4df8bf([0x45,0x53,0x32,0x35,0x36])||(_0x1fe530=!0x1);}async function _0xbb53a1(_0xfe8af1,_0x3686e3,_0x3fdcb6){const _0x18ec2e=window[_0x4df8bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4df8bf([0x66,0x72,0x6f,0x6d])](_0x4727c1(_0x3fdcb6),_0x3f7bdb=>_0x3f7bdb[_0x4df8bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d2f31=new window[(_0x4df8bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4df8bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfe8af1+_0x4df8bf([0x2e])+_0x3686e3),_0x3d8a87=window[_0x4df8bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4df8bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d8a87)return;const _0x5482fa=await _0x3d8a87[_0x4df8bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4df8bf([0x6a,0x77,0x6b]),_0x42794b,{[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x45,0x43,0x44,0x53,0x41]),[_0x4df8bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4df8bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d8a87[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x45,0x43,0x44,0x53,0x41]),[_0x4df8bf([0x68,0x61,0x73,0x68])]:{[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5482fa,_0x18ec2e,_0x1d2f31)||(_0x1fe530=!0x1);}}function _0x316c0c(_0x160750){return _0x160750[_0x4df8bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4df8bf([0x65,0x79]))?JSON[_0x4df8bf([0x70,0x61,0x72,0x73,0x65])](_0x4727c1(_0x160750)):null;}function _0x4727c1(_0xd264c7){return window[_0x4df8bf([0x61,0x74,0x6f,0x62])](_0xd264c7[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4df8bf([0x2b]))[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4df8bf([0x2f])));}function _0x52040d(_0x27b74c){let _0xaedb82=0x1505;function _0x5b032f(_0x2504a6){for(let _0x4bc123=0x0;_0x4bc123<_0x2504a6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc123++){const _0xe69874=_0x2504a6[_0x4df8bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bc123);_0xaedb82=(_0xaedb82<<0x5)+_0xaedb82+_0xe69874,_0xaedb82&=_0xaedb82;}}function _0x55dba0(_0x488d83){Array[_0x4df8bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x488d83)?_0x488d83[_0x4df8bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55dba0):_0x488d83&&typeof _0x488d83==_0x4df8bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4df8bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x488d83)[_0x4df8bf([0x73,0x6f,0x72,0x74])]()[_0x4df8bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48b246,_0x5d9cd2])=>{_0x5b032f(_0x48b246),_0x55dba0(_0x5d9cd2);}):_0x5b032f(window[_0x4df8bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x488d83));}return _0x55dba0(_0x27b74c),_0xaedb82>>>0x0;}function _0x38a996(_0xb2bcdc){return _0xb2bcdc[_0x4df8bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4df8bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4df8bf([0x30]));}function _0x5a5e19(_0x40aae1){return _0x40aae1[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4df8bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4df8bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b8703(){}function _0x4df8bf(_0x592218){const _0x1acdcf=_0x487a;return _0x592218[_0x1acdcf(0x17c)](_0x2f5bd9=>String[_0x1acdcf(0x179)](_0x2f5bd9))[_0x1acdcf(0x176)]('');}_0x5f4d7a(await _0x96654c());}(this);}[_0x38e6aa(0x194)](){const _0x1e944c=_0x38e6aa,_0x171d55=this[_0x1e944c(0x182)];if(!_0x171d55[_0x1e944c(0x181)][_0x1e944c(0x16a)](_0x1e944c(0x19c)))return;const _0x3e01bc=_0x171d55[_0x1e944c(0x181)][_0x1e944c(0x16a)](_0x1e944c(0x18a))[_0x1e944c(0x180)](_0x1b90da=>_0x1e944c(0x183)==typeof _0x1b90da&&(!_0x2433a2(_0x1b90da)&&isNaN(Number(_0x1b90da))));if(_0x3e01bc[_0x1e944c(0x17b)])throw new _0xf9d25(_0x1e944c(0x18f),null,{'namedPresets':_0x3e01bc});}[_0x38e6aa(0x170)](){const _0x380d41=_0x38e6aa,_0xc6e007=this[_0x380d41(0x182)],_0x2cb2da=this[_0x380d41(0x182)][_0x380d41(0x181)][_0x380d41(0x16a)](_0x380d41(0x186));_0xc6e007[_0x380d41(0x18d)][_0x380d41(0x16c)](_0x380d41(0x195))[_0x380d41(0x17d)]({'model':{'key':_0x380d41(0x16b)},'view':_0x5e851f=>String(_0x5e851f)===String(_0x2cb2da)?null:{'key':_0x380d41(0x187),'value':{'line-height':_0x5e851f}}}),_0xc6e007[_0x380d41(0x18d)][_0x380d41(0x16c)](_0x380d41(0x197))[_0x380d41(0x17d)]({'model':{'key':_0x380d41(0x16b),'value':_0x1df2ad=>{const _0x587046=_0x380d41;let _0x5cdf67=_0x1df2ad[_0x587046(0x196)](_0x587046(0x18b));return _0x3186b6(_0x5cdf67)&&(_0x5cdf67=String(Number(_0x5cdf67[_0x587046(0x192)](0x0,-0x1))/0x64)),String(_0x5cdf67)===String(_0x2cb2da)?null:_0x5cdf67;}},'view':{'styles':{'line-height':/.*/}}});}[_0x38e6aa(0x18c)](){const _0x3c3fac=_0x38e6aa,_0x57770d=this[_0x3c3fac(0x182)],_0x38645e=this[_0x3c3fac(0x182)][_0x3c3fac(0x181)][_0x3c3fac(0x16a)](_0x3c3fac(0x186)),_0x493172=_0x4bcc99(this[_0x3c3fac(0x182)][_0x3c3fac(0x181)][_0x3c3fac(0x16a)](_0x3c3fac(0x16b)))[_0x3c3fac(0x180)](_0x43d682=>_0x43d682[_0x3c3fac(0x16e)]),_0x2ad5e9=_0x20b276(_0x3c3fac(0x16b),_0x493172);_0x57770d[_0x3c3fac(0x18d)][_0x3c3fac(0x17d)](_0x2ad5e9),_0x57770d[_0x3c3fac(0x18d)][_0x3c3fac(0x16c)](_0x3c3fac(0x197))[_0x3c3fac(0x17d)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3c3fac(0x16b),'value':_0x486350=>{const _0x3dfd14=_0x3c3fac;let _0x34ef73=_0x486350[_0x3dfd14(0x196)](_0x3dfd14(0x18b));return _0x3186b6(_0x34ef73)&&(_0x34ef73=String(Number(_0x34ef73[_0x3dfd14(0x192)](0x0,-0x1))/0x64)),_0x34ef73===String(_0x38645e)?null:_0x2ad5e9[_0x3dfd14(0x16e)][_0x3dfd14(0x16d)][_0x3dfd14(0x174)](_0x34ef73)?_0x34ef73:null;}}});}}
|
|
23
|
+
const _0xc62320=_0x2c09;(function(_0xbb3095,_0x56d85d){const _0x5be5c1=_0x2c09,_0x35eafd=_0xbb3095();while(!![]){try{const _0x1a7287=-parseInt(_0x5be5c1(0xaf))/0x1+-parseInt(_0x5be5c1(0xc2))/0x2+parseInt(_0x5be5c1(0x97))/0x3*(-parseInt(_0x5be5c1(0xad))/0x4)+parseInt(_0x5be5c1(0x90))/0x5*(parseInt(_0x5be5c1(0xb1))/0x6)+-parseInt(_0x5be5c1(0xb7))/0x7*(parseInt(_0x5be5c1(0xb4))/0x8)+parseInt(_0x5be5c1(0xa0))/0x9+parseInt(_0x5be5c1(0xc4))/0xa*(parseInt(_0x5be5c1(0xb8))/0xb);if(_0x1a7287===_0x56d85d)break;else _0x35eafd['push'](_0x35eafd['shift']());}catch(_0x3830a9){_0x35eafd['push'](_0x35eafd['shift']());}}}(_0xf86d,0x6e148));import{Plugin as _0x57dbde}from'ckeditor5/src/core.js';function _0x2c09(_0x3a5eab,_0x241432){const _0x2c09ca=_0xf86d();return _0x2c09=function(_0x23eee3,_0x36d997){_0x23eee3=_0x23eee3-0x90;let _0xb31cde=_0x2c09ca[_0x23eee3];return _0xb31cde;},_0x2c09(_0x3a5eab,_0x241432);}import{LineHeightCommand as _0x31c462}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x35e8fb}from'ckeditor5/src/engine.js';function _0xf86d(){const _0x4803ac=['474QkZxiE','map','pluginName','16WDwxAa','LineHeightEditing','$block','1067969KlKqjM','671tTobwa','string','length','line-height-invalid-use-of-named-presets','extend','conversion','setAttributeProperties','href','join','values','955798zZPTsp','lineHeight.options','136720HUHQLS','lineHeight.supportAllValues','schema','44845nrTrlX','add','slice','lineHeight','_preparePredefinedConverters','attributeToAttribute','model','48045zPamjO','editor','lineHeight.defaultValue','afterInit','for','fromCharCode','includes','_validateConfig','isOfficialPlugin','5460993FIUlKV','init','get','isPremiumPlugin','_prepareAnyValueConverters','style','filter','config','downcast','getStyle','define','line-height','commands','80CwGlLC','upcast','595099WBTsIu','default'];_0xf86d=function(){return _0x4803ac;};return _0xf86d();}import{uid as _0x5a10fb,CKEditorError as _0xcb3f56}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4500c9,isLineHeightDefaultValue as _0x3929f3,normalizeOptions as _0xce7057}from'./utils.js';export class LineHeightEditing extends _0x57dbde{static get[_0xc62320(0xb3)](){const _0x41d772=_0xc62320;return _0x41d772(0xb5);}static get[_0xc62320(0x9f)](){return!0x0;}static get[_0xc62320(0xa3)](){return!0x0;}constructor(_0x3e80c8){const _0x2a55b1=_0xc62320;super(_0x3e80c8),_0x3e80c8[_0x2a55b1(0xa7)][_0x2a55b1(0xaa)](_0x2a55b1(0x93),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2a55b1(0xb0),0x2,2.5,0x3]});}[_0xc62320(0xa1)](){const _0x1000e0=_0xc62320,_0x350e77=this[_0x1000e0(0x98)];this[_0x1000e0(0x9e)](),_0x350e77[_0x1000e0(0x96)][_0x1000e0(0xc6)][_0x1000e0(0xbc)](_0x1000e0(0xb6),{'allowAttributes':_0x1000e0(0x93)}),_0x350e77[_0x1000e0(0x96)][_0x1000e0(0xc6)][_0x1000e0(0xbe)](_0x1000e0(0x93),{'isFormatting':!0x0}),_0x350e77[_0x1000e0(0xac)][_0x1000e0(0x91)](_0x1000e0(0x93),new _0x31c462(_0x350e77)),this[_0x1000e0(0x98)][_0x1000e0(0xa7)][_0x1000e0(0xa2)](_0x1000e0(0xc5))?this[_0x1000e0(0xa4)]():this[_0x1000e0(0x94)]();}[_0xc62320(0x9a)](){!async function(_0x557b3c){const _0x3bae39=_0x23065c([0x5a,0x41,0x39,0x6e,0x45,0x6f,0x4b,0x57,0x71,0x52,0x4e,0x37,0x33,0x67,0x6d,0x64,0x43,0x42,0x4a,0x38,0x31,0x4c,0x50,0x34,0x30,0x53,0x4d,0x74,0x32,0x61,0x48,0x49,0x7a,0x47,0x54,0x63,0x51,0x44,0x55,0x4f,0x68,0x72,0x36,0x78,0x56,0x6a,0x79,0x77,0x35,0x69,0x46,0x62,0x75,0x76,0x59,0x6b,0x6c,0x70,0x73,0x66,0x58,0x65]),_0x127cf9=0x23ee94aa,_0x2756a1=0x23e9f8c2^_0x127cf9,_0x30e9be=window[_0x23065c([0x44,0x61,0x74,0x65])][_0x23065c([0x6e,0x6f,0x77])](),_0x20efe2=_0x557b3c[_0x23065c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x294d2b=new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x112f38=>{_0x20efe2[_0x23065c([0x6f,0x6e,0x63,0x65])](_0x23065c([0x72,0x65,0x61,0x64,0x79]),_0x112f38);}),_0x2d3f82={[_0x23065c([0x6b,0x74,0x79])]:_0x23065c([0x45,0x43]),[_0x23065c([0x75,0x73,0x65])]:_0x23065c([0x73,0x69,0x67]),[_0x23065c([0x63,0x72,0x76])]:_0x23065c([0x50,0x2d,0x32,0x35,0x36]),[_0x23065c([0x78])]:_0x23065c([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]),[_0x23065c([0x79])]:_0x23065c([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]),[_0x23065c([0x61,0x6c,0x67])]:_0x23065c([0x45,0x53,0x32,0x35,0x36])},_0x3e73b2=_0x20efe2[_0x23065c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23065c([0x67,0x65,0x74])](_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2339a2(){let _0xe1ead6,_0xb8e8f5=null,_0x54a7cb=null;try{if(_0x3e73b2==_0x23065c([0x47,0x50,0x4c]))return _0x23065c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe1ead6=_0x3e17cc(),!_0xe1ead6)return _0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe1ead6[_0x23065c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54a7cb=_0xc8fc7(_0xe1ead6[_0x23065c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe1ead6[_0x23065c([0x6a,0x74,0x69])])),await _0x17c46c()?_0x209354()?_0x5da7f()?_0x23065c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a478d()?(_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23065c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb8e8f5=_0x3c19c8(_0x23065c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23065c([0x74,0x72,0x69,0x61,0x6c])&&(_0xb8e8f5=_0x3c19c8(_0x23065c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e8b35()):_0x23065c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23065c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5da7f(){const _0x4abd5b=[_0x23065c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23065c([0x74,0x72,0x69,0x61,0x6c])][_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30e9be/0x3e8:0xe10*_0x2756a1;return _0xe1ead6[_0x23065c([0x65,0x78,0x70])]<_0x4abd5b;}function _0x209354(){const _0x4fbed5=_0xe1ead6[_0x23065c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4fbed5&&(!!_0x4fbed5[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x2a]))||!!_0x4fbed5[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x4c,0x48])));}function _0x3a478d(){const _0x550608=_0x2c09,_0xe4d41f=_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe4d41f||0x0==_0xe4d41f[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdf0bce}=new URL(window[_0x23065c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x550608(0xbf)]);if(_0xe4d41f[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf0bce))return!0x0;const _0x52347e=_0xdf0bce[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e]));return _0xe4d41f[_0x23065c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x483510=>_0x483510[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x2a])))[_0x23065c([0x6d,0x61,0x70])](_0x3f2e9a=>_0x3f2e9a[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e])))[_0x23065c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38b4c0=>_0x38b4c0[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52347e[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23065c([0x6d,0x61,0x70])](_0x478239=>Array(_0x52347e[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x478239[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23065c([0x66,0x69,0x6c,0x6c])](_0x478239[0x0]===_0x23065c([0x2a])?_0x23065c([0x2a]):'')[_0x23065c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x478239))[_0x23065c([0x73,0x6f,0x6d,0x65])](_0x4af057=>_0x52347e[_0x23065c([0x65,0x76,0x65,0x72,0x79])]((_0x3e9637,_0x3ccad1)=>_0x4af057[_0x3ccad1]===_0x3e9637||_0x4af057[_0x3ccad1]===_0x23065c([0x2a])));}function _0x1e8b35(){return _0xb8e8f5&&_0x54a7cb?new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x528975,_0x38f46a)=>{_0xb8e8f5[_0x23065c([0x74,0x68,0x65,0x6e])](_0x528975,_0x38f46a),_0x54a7cb[_0x23065c([0x74,0x68,0x65,0x6e])](_0x5a3195=>{_0x5a3195!=_0x23065c([0x56,0x61,0x6c,0x69,0x64])&&_0x528975(_0x5a3195);},_0x38f46a);}):_0xb8e8f5||_0x54a7cb||_0x23065c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc8fc7(_0x4a53d8,_0x20a4bf){return new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2cad=>{if(_0x5d8859())return _0x4d2cad(_0x23065c([0x56,0x61,0x6c,0x69,0x64]));_0x3ef2c8(),_0x20efe2[_0x23065c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd5c968=!0x1;const _0x11baa2=_0x5a10fb();function _0x4bda61(_0x30cfc1){return!!_0x30cfc1&&(typeof _0x30cfc1===_0x23065c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30cfc1===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30cfc1[_0x23065c([0x74,0x68,0x65,0x6e])]===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30cfc1[_0x23065c([0x63,0x61,0x74,0x63,0x68])]===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a37c2(_0x4b6656){_0x3d8757(_0x4b6656)[_0x23065c([0x74,0x68,0x65,0x6e])](_0x2094d3=>{if(!_0x2094d3||_0x2094d3[_0x23065c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23065c([0x6f,0x6b]))return _0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51c13b(_0x3a1d4f(_0x11baa2+_0x20a4bf))!=_0x2094d3[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23065c([0x56,0x61,0x6c,0x69,0x64]);})[_0x23065c([0x74,0x68,0x65,0x6e])](_0x1ddff4=>(_0x340cab(),_0x1ddff4),()=>{const _0x5e0634=_0x2d5a5f();return null==_0x5e0634?(_0x340cab(),_0x23065c([0x56,0x61,0x6c,0x69,0x64])):_0x23065c(_0x30e9be-_0x5e0634>(0x7e210aa^_0x127cf9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23065c([0x74,0x68,0x65,0x6e])](_0x4d2cad)[_0x23065c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x463f9e=0x23d87a2a^_0x127cf9;function _0x340cab(){const _0x16c788=_0x23065c([0x6c,0x6c,0x63,0x74,0x2d])+_0x51c13b(_0x3a1d4f(_0x4a53d8)),_0x49117e=_0x15bc38(_0x51c13b(window[_0x23065c([0x4d,0x61,0x74,0x68])][_0x23065c([0x63,0x65,0x69,0x6c])](_0x30e9be/_0x463f9e)));window[_0x23065c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23065c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16c788,_0x49117e);}function _0x2d5a5f(){const _0x445792=_0x23065c([0x6c,0x6c,0x63,0x74,0x2d])+_0x51c13b(_0x3a1d4f(_0x4a53d8)),_0x6071cc=window[_0x23065c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23065c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x445792);return _0x6071cc?window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15bc38(_0x6071cc),0x10)*_0x463f9e:null;}function _0x3d8757(_0x4aa9f5){return new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x135cb9,_0x51b460)=>{_0x4aa9f5[_0x23065c([0x74,0x68,0x65,0x6e])](_0x135cb9,_0x51b460),window[_0x23065c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51b460,0x23ef406a^_0x127cf9);});}}_0x20efe2[_0x23065c([0x6f,0x6e])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8c5433,_0x73cea2)=>{if(_0x73cea2[0x0]!=_0x4a53d8)return _0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x73cea2[0x1]={..._0x73cea2[0x1],[_0x23065c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11baa2};},{[_0x23065c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23065c([0x68,0x69,0x67,0x68])}),_0x20efe2[_0x23065c([0x6f,0x6e])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32fe2e=>{_0x4bda61(_0x32fe2e[_0x23065c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd5c968=!0x0,_0x5a37c2(_0x32fe2e[_0x23065c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23065c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23065c([0x6c,0x6f,0x77])}),_0x294d2b[_0x23065c([0x74,0x68,0x65,0x6e])](()=>{_0xd5c968||_0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d8859(){return _0x20efe2[_0x23065c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23065c([0x76,0x69,0x65,0x77])][_0x23065c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23065c([0x61,0x75,0x74,0x6f]);}function _0x3ef2c8(){_0x20efe2[_0x23065c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23065c([0x76,0x69,0x65,0x77])][_0x23065c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23065c([0x61,0x75,0x74,0x6f]);}}function _0x3c19c8(_0x4b633a){const _0x57742e=[new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25b7f4=>setTimeout(_0x25b7f4,0x23e7aa66^_0x127cf9)),_0x294d2b[_0x23065c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50969b=>{let _0x335878=0x0;_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x6f,0x6e])](_0x23065c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a3f07,_0x1487c9)=>{_0x1487c9[0x0][_0x23065c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x335878++,_0x335878==(0x23ee9552^_0x127cf9)&&(_0x50969b(),_0x2a3f07[_0x23065c([0x6f,0x66,0x66])]());});}))];return window[_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23065c([0x72,0x61,0x63,0x65])](_0x57742e)[_0x23065c([0x74,0x68,0x65,0x6e])](()=>_0x4b633a);}async function _0x3a3121(){await _0x294d2b,_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25d5db,_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25d5db,_0x20efe2[_0x23065c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23065c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d08b6(_0x341352){const _0x5556e5=_0x2a244b();_0x20efe2[_0x5556e5]=_0x23065c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x341352,_0x341352!=_0x23065c([0x56,0x61,0x6c,0x69,0x64])&&_0x3a3121();}function _0x2a244b(){const _0x45b204=window[_0x23065c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23065c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23065c([0x6e,0x6f,0x77])]())[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23065c([0x2e]),'');let _0x562b28=_0x23065c([0x5a]);for(let _0x4ddae3=0x0;_0x4ddae3<_0x45b204[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ddae3+=0x2){let _0x21c3ee=window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45b204[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ddae3,_0x4ddae3+0x2));_0x21c3ee>=_0x3bae39[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21c3ee-=_0x3bae39[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x562b28+=_0x3bae39[_0x21c3ee];}return _0x562b28;}function _0x3e17cc(){const _0x585555=_0x3e73b2[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e]));if(0x3!=_0x585555[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24857c(_0x585555[0x1]);function _0x24857c(_0x3f5b04){const _0x516e46=_0xaaf321(_0x3f5b04);return _0x516e46&&_0x7ee8af()?_0x516e46:null;function _0x7ee8af(){const _0x2a1f01=_0x516e46[_0x23065c([0x6a,0x74,0x69])],_0x34257d=window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a1f01[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a1f01[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x396e2a={..._0x516e46,[_0x23065c([0x6a,0x74,0x69])]:_0x2a1f01[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a1f01[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x396e2a[_0x23065c([0x76,0x63])],_0x3a1d4f(_0x396e2a)==_0x34257d;}}}async function _0x17c46c(){let _0x195499=!0x0;try{const _0x48fa0f=_0x3e73b2[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e])),[_0xb00868,_0x3e4ae5,_0x3f5b93]=_0x48fa0f;return _0x50def9(_0xb00868),await _0x5864e9(_0xb00868,_0x3e4ae5,_0x3f5b93),_0x195499;}catch{return!0x1;}function _0x50def9(_0x49d7ad){const _0xa38e11=_0xaaf321(_0x49d7ad);_0xa38e11&&_0xa38e11[_0x23065c([0x61,0x6c,0x67])]==_0x23065c([0x45,0x53,0x32,0x35,0x36])||(_0x195499=!0x1);}async function _0x5864e9(_0x2122f0,_0x43d66f,_0xda059e){const _0x302ae6=window[_0x23065c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23065c([0x66,0x72,0x6f,0x6d])](_0x109cc7(_0xda059e),_0x1f824e=>_0x1f824e[_0x23065c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x258886=new window[(_0x23065c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23065c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2122f0+_0x23065c([0x2e])+_0x43d66f),_0xd6c871=window[_0x23065c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23065c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd6c871)return;const _0x51b211=await _0xd6c871[_0x23065c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23065c([0x6a,0x77,0x6b]),_0x2d3f82,{[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x45,0x43,0x44,0x53,0x41]),[_0x23065c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23065c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd6c871[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x45,0x43,0x44,0x53,0x41]),[_0x23065c([0x68,0x61,0x73,0x68])]:{[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51b211,_0x302ae6,_0x258886)||(_0x195499=!0x1);}}function _0xaaf321(_0x1d9463){return _0x1d9463[_0x23065c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23065c([0x65,0x79]))?JSON[_0x23065c([0x70,0x61,0x72,0x73,0x65])](_0x109cc7(_0x1d9463)):null;}function _0x109cc7(_0xe2777b){return window[_0x23065c([0x61,0x74,0x6f,0x62])](_0xe2777b[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23065c([0x2b]))[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23065c([0x2f])));}function _0x3a1d4f(_0x15171a){let _0x1aaa2f=0x1505;function _0x977ab(_0x1a7eea){for(let _0x32e2c5=0x0;_0x32e2c5<_0x1a7eea[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32e2c5++){const _0xca9cb9=_0x1a7eea[_0x23065c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32e2c5);_0x1aaa2f=(_0x1aaa2f<<0x5)+_0x1aaa2f+_0xca9cb9,_0x1aaa2f&=_0x1aaa2f;}}function _0x5d1107(_0x79b4bc){Array[_0x23065c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x79b4bc)?_0x79b4bc[_0x23065c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d1107):_0x79b4bc&&typeof _0x79b4bc==_0x23065c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23065c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x79b4bc)[_0x23065c([0x73,0x6f,0x72,0x74])]()[_0x23065c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ef36c,_0x98ad9e])=>{_0x977ab(_0x5ef36c),_0x5d1107(_0x98ad9e);}):_0x977ab(window[_0x23065c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x79b4bc));}return _0x5d1107(_0x15171a),_0x1aaa2f>>>0x0;}function _0x51c13b(_0x17f5fa){return _0x17f5fa[_0x23065c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23065c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23065c([0x30]));}function _0x15bc38(_0x210846){return _0x210846[_0x23065c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23065c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23065c([0x6a,0x6f,0x69,0x6e])]('');}function _0x25d5db(){}function _0x23065c(_0x539c1b){const _0x58962d=_0x2c09;return _0x539c1b[_0x58962d(0xb2)](_0x5d2600=>String[_0x58962d(0x9c)](_0x5d2600))[_0x58962d(0xc0)]('');}_0x5d08b6(await _0x2339a2());}(this);}[_0xc62320(0x9e)](){const _0x58e446=_0xc62320,_0x3e8361=this[_0x58e446(0x98)];if(!_0x3e8361[_0x58e446(0xa7)][_0x58e446(0xa2)](_0x58e446(0xc5)))return;const _0x2e8410=_0x3e8361[_0x58e446(0xa7)][_0x58e446(0xa2)](_0x58e446(0xc3))[_0x58e446(0xa6)](_0x39773c=>_0x58e446(0xb9)==typeof _0x39773c&&(!_0x3929f3(_0x39773c)&&isNaN(Number(_0x39773c))));if(_0x2e8410[_0x58e446(0xba)])throw new _0xcb3f56(_0x58e446(0xbb),null,{'namedPresets':_0x2e8410});}[_0xc62320(0xa4)](){const _0xd582af=_0xc62320,_0x451c31=this[_0xd582af(0x98)],_0x40721b=this[_0xd582af(0x98)][_0xd582af(0xa7)][_0xd582af(0xa2)](_0xd582af(0x99));_0x451c31[_0xd582af(0xbd)][_0xd582af(0x9b)](_0xd582af(0xa8))[_0xd582af(0x95)]({'model':{'key':_0xd582af(0x93)},'view':_0xffb0b6=>String(_0xffb0b6)===String(_0x40721b)?null:{'key':_0xd582af(0xa5),'value':{'line-height':_0xffb0b6}}}),_0x451c31[_0xd582af(0xbd)][_0xd582af(0x9b)](_0xd582af(0xae))[_0xd582af(0x95)]({'model':{'key':_0xd582af(0x93),'value':_0x202c5a=>{const _0x3c8025=_0xd582af;let _0x7963f8=_0x202c5a[_0x3c8025(0xa9)](_0x3c8025(0xab));return _0x35e8fb(_0x7963f8)&&(_0x7963f8=String(Number(_0x7963f8[_0x3c8025(0x92)](0x0,-0x1))/0x64)),String(_0x7963f8)===String(_0x40721b)?null:_0x7963f8;}},'view':{'styles':{'line-height':/.*/}}});}[_0xc62320(0x94)](){const _0x33d46e=_0xc62320,_0x59f7e4=this[_0x33d46e(0x98)],_0x1cddf8=this[_0x33d46e(0x98)][_0x33d46e(0xa7)][_0x33d46e(0xa2)](_0x33d46e(0x99)),_0x382b64=_0xce7057(this[_0x33d46e(0x98)][_0x33d46e(0xa7)][_0x33d46e(0xa2)](_0x33d46e(0x93)))[_0x33d46e(0xa6)](_0x30915a=>_0x30915a[_0x33d46e(0x96)]),_0x543ed7=_0x4500c9(_0x33d46e(0x93),_0x382b64);_0x59f7e4[_0x33d46e(0xbd)][_0x33d46e(0x95)](_0x543ed7),_0x59f7e4[_0x33d46e(0xbd)][_0x33d46e(0x9b)](_0x33d46e(0xae))[_0x33d46e(0x95)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x33d46e(0x93),'value':_0x45c6cb=>{const _0x3c0ab3=_0x33d46e;let _0x454a6a=_0x45c6cb[_0x3c0ab3(0xa9)](_0x3c0ab3(0xab));return _0x35e8fb(_0x454a6a)&&(_0x454a6a=String(Number(_0x454a6a[_0x3c0ab3(0x92)](0x0,-0x1))/0x64)),_0x454a6a===String(_0x1cddf8)?null:_0x543ed7[_0x3c0ab3(0x96)][_0x3c0ab3(0xc1)][_0x3c0ab3(0x9d)](_0x454a6a)?_0x454a6a:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x26582d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4f375d,createDropdown as _0x27f6f9,MenuBarMenuListItemButtonView as _0x15bd2d,MenuBarMenuListItemView as _0x2ec11f,MenuBarMenuListView as _0xe08435,MenuBarMenuView as _0x4f8964,UIModel as _0x44762f}from'ckeditor5/src/ui.js';import{Collection as _0x82f7f1}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5d350f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x142f9b}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x26582d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25b54d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x25b54d),this['_registerMenuBarComponent'](_0x25b54d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x547d48=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1cd40f;for(const _0x102d61 in _0x547d48){const _0x2b5be7=_0x102d61,_0x5dbaf8=_0x547d48[_0x2b5be7];if('lineHeightLicenseKeyValid'==_0x5dbaf8||'lineHeightLicenseKeyInvalid'==_0x5dbaf8||'lineHeightLicenseKeyExpired'==_0x5dbaf8||'lineHeightLicenseKeyDomainLimit'==_0x5dbaf8||'lineHeightLicenseKeyNotAllowed'==_0x5dbaf8||'lineHeightLicenseKeyEvaluationLimit'==_0x5dbaf8||'lineHeightLicenseKeyTrialLimit'==_0x5dbaf8||'lineHeightLicenseKeyUsageLimit'==_0x5dbaf8){delete _0x547d48[_0x2b5be7],_0x1cd40f=_0x5dbaf8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1cd40f&&_0x547d48['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1cd40f&&_0x547d48['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1cd40f&&_0x547d48['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2bb9e7=this['editor'],t=_0x2bb9e7['t'],_0x5a4483=_0x2bb9e7['config']['get']('lineHeight'),_0x2f4b04={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x142f9b(_0x5a4483)['map'](_0x2fe4a2=>{const _0x237177=_0x2f4b04[_0x2fe4a2['title']];return _0x237177&&_0x237177!=_0x2fe4a2['title']&&(_0x2fe4a2=Object['assign']({},_0x2fe4a2,{'title':_0x237177})),_0x2fe4a2;});}['_prepareListOptions'](){const _0x22d6b8=this['editor']['commands']['get']('lineHeight'),_0x5999ad=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4ba060=this['_getLocalizedLineHeightOptions'](),_0x2e9268=new _0x82f7f1(),_0x33b886=_0x5db0d0=>'default'===_0x5db0d0||String(_0x5999ad)===_0x5db0d0;for(const _0x29365f of _0x4ba060){const _0x1fdfcb={'type':'button','model':new _0x44762f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x29365f['title'],'withText':!0x0})};_0x33b886(_0x29365f['model'])?(_0x1fdfcb['model']['bind']('isOn')['to'](_0x22d6b8,'value',_0x31223e=>!_0x31223e),_0x1fdfcb['model']['commandParam']=void 0x0):(_0x1fdfcb['model']['bind']('isOn')['to'](_0x22d6b8,'value',_0x97cc95=>_0x97cc95===_0x29365f['model']),_0x1fdfcb['model']['commandParam']=_0x29365f['model']),_0x2e9268['add'](_0x1fdfcb);}if(this['_shouldRenderCustomValueOption']()){const _0x4cab87=this['_getCustomValueOptionDefinition'](_0x4ba060);_0x2e9268['add'](_0x4cab87);}return _0x2e9268;}['_getCustomValueOptionDefinition'](_0x5e86d1){const _0x2e5738=this['editor'],t=_0x2e5738['t'],_0x41d24a=_0x2e5738['commands']['get']('lineHeight'),_0x2cad8c=_0x5e86d1['map'](_0x142421=>_0x142421['model']),_0x18d213={'type':'button','model':new _0x44762f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x18d213['model']['bind']('commandParam')['to'](_0x41d24a,'value'),_0x18d213['model']['bind']('isOn')['to'](_0x41d24a,'value',_0x2cfabe=>!!_0x2cfabe&&!_0x2cad8c['includes'](String(_0x2cfabe))),_0x18d213['model']['bind']('label')['to'](_0x41d24a,'value',_0x4084df=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4084df))),_0x18d213;}['_registerToolbarComponent']({accessibleLabel:_0x2a3ab0,options:_0xbf6310}){const _0x558b2e=this['editor'],_0x47b332=_0x558b2e['commands']['get']('lineHeight');_0x558b2e['ui']['componentFactory']['add']('lineHeight',_0x4979eb=>{const _0x2933a8=_0x27f6f9(_0x4979eb);return _0x4f375d(_0x2933a8,_0xbf6310,{'role':'menu','ariaLabel':_0x2a3ab0}),_0x2933a8['buttonView']['set']({'label':_0x2a3ab0,'tooltip':!0x0,'icon':_0x5d350f}),_0x2933a8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2933a8['bind']('isEnabled')['to'](_0x47b332),this['listenTo'](_0x2933a8,'execute',_0x54e75b=>{_0x558b2e['execute'](_0x54e75b['source']['commandName'],{'value':_0x54e75b['source']['commandParam']}),_0x558b2e['editing']['view']['focus']();}),_0x2933a8['once']('change:isOpen',()=>{const _0x1122b1=_0x2933a8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2933a8,_0xbf6310,_0x1122b1);}),_0x2933a8;});}['_registerMenuBarComponent']({accessibleLabel:_0x18a0f1,options:_0x24aa0c}){const _0x297e8b=this['editor'],_0x2cdee8=_0x297e8b['commands']['get']('lineHeight');_0x297e8b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2a1d71=>{const _0x1f0e6e=new _0x4f8964(_0x2a1d71);_0x1f0e6e['buttonView']['set']({'label':_0x18a0f1,'icon':_0x5d350f}),_0x1f0e6e['bind']('isEnabled')['to'](_0x2cdee8);const _0x2443ac=new _0xe08435(_0x2a1d71);for(const _0x4f3dfd of _0x24aa0c){const _0x40afc8=new _0x2ec11f(_0x2a1d71,_0x1f0e6e),_0x5c7923=new _0x15bd2d(_0x2a1d71);_0x5c7923['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5c7923['bind'](...Object['keys'](_0x4f3dfd['model']))['to'](_0x4f3dfd['model']),_0x5c7923['delegate']('execute')['to'](_0x1f0e6e),_0x5c7923['on']('execute',()=>{_0x297e8b['execute'](_0x4f3dfd['model']['commandName'],{'value':_0x4f3dfd['model']['commandParam']}),_0x297e8b['editing']['view']['focus']();}),_0x40afc8['children']['add'](_0x5c7923),_0x2443ac['items']['add'](_0x40afc8);}return _0x1f0e6e['panelView']['children']['add'](_0x2443ac),this['_attachCustomOptionVisibilityHandler'](_0x1f0e6e,_0x24aa0c,_0x2443ac),_0x1f0e6e;});}['_attachCustomOptionVisibilityHandler'](_0x527c48,_0xd35ba7,_0x24c56f){if(!this['_shouldRenderCustomValueOption']())return;const _0x317eb0=()=>{if(!_0x527c48['isOpen'])return;_0x24c56f['items']['last']['isVisible']=Boolean(_0xd35ba7['last']['model']['isOn']);};_0x317eb0(),_0x527c48['on']('change:isOpen',()=>{_0x317eb0();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x215d68,_0x2b0e3e){const _0x27a89a=_0x34d7,_0x1bdb24=_0x215d68();while(!![]){try{const _0x4acc10=-parseInt(_0x27a89a(0x1f6))/0x1*(parseInt(_0x27a89a(0x1fb))/0x2)+parseInt(_0x27a89a(0x210))/0x3+-parseInt(_0x27a89a(0x1fa))/0x4+parseInt(_0x27a89a(0x20d))/0x5*(-parseInt(_0x27a89a(0x209))/0x6)+-parseInt(_0x27a89a(0x205))/0x7*(-parseInt(_0x27a89a(0x1fe))/0x8)+-parseInt(_0x27a89a(0x1fd))/0x9+parseInt(_0x27a89a(0x208))/0xa;if(_0x4acc10===_0x2b0e3e)break;else _0x1bdb24['push'](_0x1bdb24['shift']());}catch(_0x262746){_0x1bdb24['push'](_0x1bdb24['shift']());}}}(_0x196e,0xb671f));const v={get 'single'(){const _0x2086ef=_0x34d7;return{'title':_0x2086ef(0x1fc),'model':_0x2086ef(0x1ef),'view':{'key':_0x2086ef(0x1f9),'value':_0x2086ef(0x202)}};},get 'double'(){const _0x397214=_0x34d7;return{'title':_0x397214(0x1f4),'model':_0x397214(0x200),'view':{'key':_0x397214(0x1f9),'value':_0x397214(0x1ff)}};}};export function isLineHeightDefaultValue(_0x55eb40){const _0x249ba4=_0x34d7;return _0x249ba4(0x207)==typeof _0x55eb40&&_0x249ba4(0x20e)===_0x55eb40[_0x249ba4(0x203)]();}export function normalizeOptions(_0x1c1f33){const _0x52096f=_0x34d7;return _0x1c1f33[_0x52096f(0x1f1)][_0x52096f(0x1f8)](_0x223d21=>isLineHeightDefaultValue(_0x223d21)?{'title':String(_0x1c1f33[_0x52096f(0x1f7)]),'model':_0x52096f(0x20e)}:(_0x52096f(0x20f)==typeof _0x223d21&&(_0x223d21=String(_0x223d21)),_0x52096f(0x207)!=typeof _0x223d21?_0x223d21:parseFloat(_0x223d21)?{'title':_0x223d21,'model':_0x223d21,'view':{'name':_0x52096f(0x20a),'styles':{'line-height':_0x223d21}}}:findPreset(_0x223d21)))[_0x52096f(0x1f2)](_0xd4d996=>void 0x0!==_0xd4d996);}export function findPreset(_0x5798a7){const _0x3436db=_0x34d7;return _0x3436db(0x207)==typeof _0x5798a7?v[_0x5798a7]:v[_0x5798a7[_0x3436db(0x20b)]];}function _0x196e(){const _0x5d1d70=['11920270BuCtYR','2022iAmBWn','span','model','push','17745CAMlMB','default','number','4309029EMcJMp','single','value','options','filter','key','Double','values','1YZcTsG','defaultValue','map','class','2566784SLsaQw','2006868nnLSAH','Single','2449341YDnVjJ','504BCCNXP','line-height-double','double','line-height:','line-height-single','toLowerCase','style','136913ntvgkL','view','string'];_0x196e=function(){return _0x5d1d70;};return _0x196e();}function _0x34d7(_0x55c3fb,_0x46ab09){const _0x196e6f=_0x196e();return _0x34d7=function(_0x34d7ef,_0x93a0ab){_0x34d7ef=_0x34d7ef-0x1ef;let _0x557ef1=_0x196e6f[_0x34d7ef];return _0x557ef1;},_0x34d7(_0x55c3fb,_0x46ab09);}export function buildDefinition(_0x2d0f7d,_0x1af9ff){const _0x391209=_0x34d7,_0x515c11={'model':{'key':_0x2d0f7d,'values':[]},'view':{}};for(const _0x3c32cf of _0x1af9ff)_0x391209(0x1f9)===_0x3c32cf[_0x391209(0x206)]?.[_0x391209(0x1f3)]?(_0x515c11[_0x391209(0x20b)][_0x391209(0x1f5)][_0x391209(0x20c)](_0x3c32cf[_0x391209(0x20b)]),_0x515c11[_0x391209(0x206)][_0x3c32cf[_0x391209(0x20b)]]={'key':_0x391209(0x1f9),'value':_0x3c32cf[_0x391209(0x206)][_0x391209(0x1f0)]}):(_0x515c11[_0x391209(0x20b)][_0x391209(0x1f5)][_0x391209(0x20c)](_0x3c32cf[_0x391209(0x20b)]),_0x515c11[_0x391209(0x206)][_0x3c32cf[_0x391209(0x20b)]]={'key':_0x391209(0x204),'value':_0x391209(0x201)+_0x3c32cf[_0x391209(0x20b)]+';'});return _0x515c11;}
|