@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250702.0 → 0.0.0-nightly-20250703.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>T,LineHeightCommand:()=>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})();
|
|
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:()=>K,LineHeightCommand:()=>a,LineHeightEditing:()=>v,LineHeightUI:()=>V});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=264]})(e,t)}function s(){const e=["895816UkJRVD","isEnabled","editor","removeAttribute","231159MiUxeu","2321vxJiAu","3607974yEAIOB","selection","refresh","from","155795RwZyah","checkAttribute","change","9072165tgfUTy","_canHaveLineHeight","57435zCHPaL","setAttribute","536oFoenN","document","6meNnSy","getSelectedBlocks","schema","16ObBGJG","value","lineHeight","model","130670fUZPJW","execute","getAttribute","filter"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(919832===parseInt(t(272))/1+parseInt(t(292))/2+parseInt(t(266))/3*(parseInt(t(284))/4)+-parseInt(t(275))/5*(-parseInt(t(281))/6)+parseInt(t(277))/7*(parseInt(t(279))/8)+parseInt(t(268))/9+-parseInt(t(288))/10*(parseInt(t(267))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(270)](){const e=r,n=this[e(264)][e(287)][e(280)],i=(0,t.first)(n[e(269)][e(282)]());this[e(293)]=Boolean(i)&&this[e(276)](i),this[e(285)]=this[e(293)]&&i[e(290)](e(286))}[r(289)](e={}){const t=r,n=this[t(264)][t(287)],i=n[t(280)][t(269)],o=e[t(285)];n[t(274)](e=>{const n=t,r=Array[n(271)](i[n(282)]())[n(291)](e=>this[n(276)](e));for(const t of r)o?e[n(278)](n(286),o,t):e[n(265)](n(286),t)})}[r(276)](e){const t=r;return this[t(264)][t(287)][t(283)][t(273)](e,t(286))}}var c=n(783);function l(){const e=["defaultValue","view","11098971eDkHrt","style","618394rzJOhU","values","132cYTvRe","20370867civlci","default","key","5935296vyHCfC","10MrXzkA","Single","12sZjNeM","number","double","class","single","filter","20PVcCze","5721045LniIdv","options","push","line-height:","toLowerCase","value","79830pHKGoP","line-height-single","model","line-height-double","string","span","Double","map","110082CleDWJ"];return(l=function(){return e})()}!function(e){const t=h,n=e();for(;;)try{if(678157===parseInt(t(180))/1*(parseInt(t(187))/2)+-parseInt(t(195))/3*(parseInt(t(167))/4)+parseInt(t(181))/5+parseInt(t(174))/6*(-parseInt(t(200))/7)+parseInt(t(171))/8+parseInt(t(198))/9+-parseInt(t(172))/10*(parseInt(t(168))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=h;return{title:e(173),model:e(178),view:{key:e(177),value:e(188)}}},get double(){const e=h;return{title:e(193),model:e(176),view:{key:e(177),value:e(190)}}}};function d(e){const t=h;return t(191)==typeof e&&t(169)===e[t(185)]()}function h(e,t){const n=l();return(h=function(e,t){return n[e-=166]})(e,t)}function f(e){const t=h;return e[t(182)][t(194)](n=>d(n)?{title:String(e[t(196)]),model:t(169)}:(t(175)==typeof n&&(n=String(n)),t(191)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(192),styles:{"line-height":n}}}:function(e){const t=h;return t(191)==typeof e?u[e]:u[e[t(189)]]}(n)))[t(179)](e=>void 0!==e)}function p(){const e=["downcast","13127972gnDKVi","add","pluginName","string","isOfficialPlugin","for","join","values","editor","line-height","model","filter","upcast","lineHeight.options","init","attributeToAttribute","LineHeightEditing","slice","commands","fromCharCode","afterInit","map","line-height-invalid-use-of-named-presets","_preparePredefinedConverters","schema","63UOONtl","lineHeight.supportAllValues","325645GXvCpV","style","getStyle","1576519ONarhz","define","16YXJJDF","includes","extend","54XpgjoZ","22924PNceMC","_validateConfig","866840UGEPVr","config","get","lineHeight.defaultValue","483uFXbfO","setAttributeProperties","$block","2289310FgKSiN","52789rLAlvV","lineHeight","default","length","href","isPremiumPlugin","_prepareAnyValueConverters","conversion"];return(p=function(){return e})()}const g=m;function m(e,t){const n=p();return(m=function(e,t){return n[e-=346]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(474921===-parseInt(t(384))/1*(parseInt(t(370))/2)+parseInt(t(380))/3*(-parseInt(t(374))/4)+parseInt(t(365))/5*(-parseInt(t(373))/6)+parseInt(t(368))/7+-parseInt(t(376))/8*(-parseInt(t(363))/9)+parseInt(t(383))/10+parseInt(t(393))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);class v extends e.Plugin{static get[g(395)](){return g(354)}static get[g(397)](){return!0}static get[g(389)](){return!0}constructor(e){const t=g;super(e),e[t(377)][t(369)](t(385),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(386),2,2.5,3]})}[g(352)](){const e=g,t=this[e(346)];this[e(375)](),t[e(348)][e(362)][e(372)](e(382),{allowAttributes:e(385)}),t[e(348)][e(362)][e(381)](e(385),{isFormatting:!0}),t[e(356)][e(394)](e(385),new a(t)),this[e(346)][e(377)][e(378)](e(364))?this[e(390)]():this[e(361)]()}[g(358)](){!async function(e){const n=g([109,72,74,110,105,65,68,75,108,54,118,101,113,116,49,102,119,117,76,98,84,88,80,120,83,82,89,86,73,67,122,85,55,56,111,106,90,103,97,53,107,99,69,57,115,70,87,112,100,71,48,50,104,114,52,66,79,78,121,77,51,81]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(359)](e=>String[t(357)](e))[t(399)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([109]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751500800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=m,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(388)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[g(375)](){const e=g,n=this[e(346)];if(!n[e(377)][e(378)](e(364)))return;const i=n[e(377)][e(378)](e(351))[e(349)](t=>e(396)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(387)])throw new t.CKEditorError(e(360),null,{namedPresets:i})}[g(390)](){const e=g,t=this[e(346)],n=this[e(346)][e(377)][e(378)](e(379));t[e(391)][e(398)](e(392))[e(353)]({model:{key:e(385)},view:t=>String(t)===String(n)?null:{key:e(366),value:{"line-height":t}}}),t[e(391)][e(398)](e(350))[e(353)]({model:{key:e(385),value:t=>{const i=e;let r=t[i(367)](i(347));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(355)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[g(361)](){const e=g,t=this[e(346)],n=this[e(346)][e(377)][e(378)](e(379)),i=f(this[e(346)][e(377)][e(378)](e(385)))[e(349)](t=>t[e(348)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(177)===e[n(197)]?.[n(170)]?(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(177),value:e[n(197)][n(186)]}):(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(199),value:n(184)+e[n(189)]+";"});return i}(e(385),i);t[e(391)][e(353)](r),t[e(391)][e(398)](e(350))[e(353)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(385),value:t=>{const i=e;let o=t[i(367)](i(347));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(355)](0,-1))/100)),o===String(n)?null:r[i(348)][i(400)][i(371)](o)?o:null}}})}}var w=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),C=n.n(_),O=n(667),E=n.n(O),x=n(357),k=n.n(x),P=n(422),S={attributes:{"data-cke":!0}};S.setAttributes=E(),S.insert=C().bind(null,"head"),S.domAPI=H(),S.insertStyleElement=k();b()(P.A,S);P.A&&P.A.locals&&P.A.locals;class V extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new w.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new w.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,w.createDropdown)(r);return(0,w.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new w.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new w.MenuBarMenuListView(r);for(const e of t){const t=new w.MenuBarMenuListItemView(r,o),i=new w.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var A=N;function N(e,t){var n=T();return(N=function(e,t){return n[e-=159]})(e,t)}!function(e){for(var t=N,n=e();;)try{if(432645===parseInt(t(159))/1+parseInt(t(171))/2+-parseInt(t(167))/3*(parseInt(t(161))/4)+parseInt(t(172))/5*(-parseInt(t(169))/6)+parseInt(t(163))/7+parseInt(t(164))/8+parseInt(t(168))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class K extends e.Plugin{static get[A(160)](){return[v,V]}static get[A(170)](){return A(165)}static get[A(166)](){return!0}static get[A(162)](){return!0}}function T(){var e=["LineHeight","isOfficialPlugin","78723aTnVsc","937566GJNlCE","212622ftEnvS","pluginName","9168wFJfux","20SeWdKN","686598VgWGwx","requires","92KCaPIk","isPremiumPlugin","1890833EcfMyo","899688hNaOjj"];return(T=function(){return e})()}function M(e,t){var n=j();return(M=function(e,t){return n[e-=330]})(e,t)}function j(){var e=["898798WVlDjE","8697205ierKLA","830295TyYVtr","9913480xybtJr","9873rQoOWk","1RzfgCb","48DlRbyA","8srvkUB","60rcvbQJ","2909354wZEhYf","5751405RDPRmL"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(833727===-parseInt(t(337))/1*(-parseInt(t(332))/2)+-parseInt(t(336))/3*(-parseInt(t(338))/4)+parseInt(t(334))/5*(-parseInt(t(340))/6)+-parseInt(t(330))/7*(parseInt(t(339))/8)+parseInt(t(331))/9+parseInt(t(335))/10+parseInt(t(333))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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};
|
|
23
|
+
import{Command as _0x193775,Plugin as _0x13b176}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1276ac,CKEditorError as _0x16e2ad,uid as _0x53724c,Collection as _0x2c9420}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x580cf0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x296faa,createDropdown as _0x131e13,addListToDropdown as _0x379a16,MenuBarMenuView as _0x26a63e,MenuBarMenuListView as _0x2d568a,MenuBarMenuListItemView as _0x46f96e,MenuBarMenuListItemButtonView as _0xec22d0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3a0b62}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x193775{['refresh'](){const _0x51b0f7=this['editor']['model']['document'],_0x306a98=_0x1276ac(_0x51b0f7['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x306a98)&&this['_canHaveLineHeight'](_0x306a98),this['value']=this['isEnabled']&&_0x306a98['getAttribute']('lineHeight');}['execute'](_0x483fa0={}){const _0x3bc367=this['editor']['model'],_0x302904=_0x3bc367['document']['selection'],_0x5600ee=_0x483fa0['value'];_0x3bc367['change'](_0xa17ea0=>{const _0x18ae9e=Array['from'](_0x302904['getSelectedBlocks']())['filter'](_0x327039=>this['_canHaveLineHeight'](_0x327039));for(const _0x216dff of _0x18ae9e)_0x5600ee?_0xa17ea0['setAttribute']('lineHeight',_0x5600ee,_0x216dff):_0xa17ea0['removeAttribute']('lineHeight',_0x216dff);});}['_canHaveLineHeight'](_0x1380ad){return this['editor']['model']['schema']['checkAttribute'](_0x1380ad,'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(_0x1c5a01){return'string'==typeof _0x1c5a01&&'default'===_0x1c5a01['toLowerCase']();}function a(_0x30c360){return _0x30c360['options']['map'](_0x5b3e96=>{return f(_0x5b3e96)?{'title':String(_0x30c360['defaultValue']),'model':'default'}:('number'==typeof _0x5b3e96&&(_0x5b3e96=String(_0x5b3e96)),'string'!=typeof _0x5b3e96?_0x5b3e96:parseFloat(_0x5b3e96)?{'title':_0x5b3e96,'model':_0x5b3e96,'view':{'name':'span','styles':{'line-height':_0x5b3e96}}}:'string'==typeof(_0x19d7cc=_0x5b3e96)?v[_0x19d7cc]:v[_0x19d7cc['model']]);var _0x19d7cc;})['filter'](_0x4b522a=>void 0x0!==_0x4b522a);}class e extends _0x13b176{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x427749){super(_0x427749),_0x427749['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x4df75=this['editor'];this['_validateConfig'](),_0x4df75['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x4df75['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x4df75['commands']['add']('lineHeight',new n(_0x4df75)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x49fd4f){const _0x3d99f7=_0x2328c1([0x6d,0x48,0x4a,0x6e,0x69,0x41,0x44,0x4b,0x6c,0x36,0x76,0x65,0x71,0x74,0x31,0x66,0x77,0x75,0x4c,0x62,0x54,0x58,0x50,0x78,0x53,0x52,0x59,0x56,0x49,0x43,0x7a,0x55,0x37,0x38,0x6f,0x6a,0x5a,0x67,0x61,0x35,0x6b,0x63,0x45,0x39,0x73,0x46,0x57,0x70,0x64,0x47,0x30,0x32,0x68,0x72,0x34,0x42,0x4f,0x4e,0x79,0x4d,0x33,0x51]),_0x43487b=0x2fb10d7d,_0x320a55=0x2fb661fd^_0x43487b,_0x234051=window[_0x2328c1([0x44,0x61,0x74,0x65])][_0x2328c1([0x6e,0x6f,0x77])](),_0x3b2c1c=_0x49fd4f[_0x2328c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e88d9=new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3baf5d=>{_0x3b2c1c[_0x2328c1([0x6f,0x6e,0x63,0x65])](_0x2328c1([0x72,0x65,0x61,0x64,0x79]),_0x3baf5d);}),_0x4d7d4c={[_0x2328c1([0x6b,0x74,0x79])]:_0x2328c1([0x45,0x43]),[_0x2328c1([0x75,0x73,0x65])]:_0x2328c1([0x73,0x69,0x67]),[_0x2328c1([0x63,0x72,0x76])]:_0x2328c1([0x50,0x2d,0x32,0x35,0x36]),[_0x2328c1([0x78])]:_0x2328c1([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]),[_0x2328c1([0x79])]:_0x2328c1([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]),[_0x2328c1([0x61,0x6c,0x67])]:_0x2328c1([0x45,0x53,0x32,0x35,0x36])},_0x23594a=_0x3b2c1c[_0x2328c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2328c1([0x67,0x65,0x74])](_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b274d(){let _0x11a381,_0xa347ac=null,_0xe16862=null;try{if(_0x23594a==_0x2328c1([0x47,0x50,0x4c]))return _0x2328c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11a381=_0x39b980(),!_0x11a381)return _0x2328c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11a381[_0x2328c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe16862=_0x1da663(_0x11a381[_0x2328c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11a381[_0x2328c1([0x6a,0x74,0x69])])),await _0x3f86c0()?_0xe67e70()?_0xc1bc74()?_0x2328c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5eb538()?(_0x11a381[_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2328c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa347ac=_0x399392(_0x2328c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11a381[_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2328c1([0x74,0x72,0x69,0x61,0x6c])&&(_0xa347ac=_0x399392(_0x2328c1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34d147()):_0x2328c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2328c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2328c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2328c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc1bc74(){const _0x3c16d6=[_0x2328c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2328c1([0x74,0x72,0x69,0x61,0x6c])][_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a381[_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x234051/0x3e8:0xe10*_0x320a55;return _0x11a381[_0x2328c1([0x65,0x78,0x70])]<_0x3c16d6;}function _0xe67e70(){const _0x49a5c8=_0x11a381[_0x2328c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49a5c8&&(!!_0x49a5c8[_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2328c1([0x2a]))||!!_0x49a5c8[_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2328c1([0x4c,0x48])));}function _0x5eb538(){const _0x5840e7=_0x11a381[_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5840e7||0x0==_0x5840e7[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6a5d86}=new URL(window[_0x2328c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5840e7[_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a5d86))return!0x0;const _0x14e641=_0x6a5d86[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])](_0x2328c1([0x2e]));return _0x5840e7[_0x2328c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fbc3d=>_0x2fbc3d[_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2328c1([0x2a])))[_0x2328c1([0x6d,0x61,0x70])](_0x3167b2=>_0x3167b2[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])](_0x2328c1([0x2e])))[_0x2328c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x491043=>_0x491043[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14e641[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2328c1([0x6d,0x61,0x70])](_0x963b9c=>Array(_0x14e641[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x963b9c[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2328c1([0x66,0x69,0x6c,0x6c])](_0x963b9c[0x0]===_0x2328c1([0x2a])?_0x2328c1([0x2a]):'')[_0x2328c1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x963b9c))[_0x2328c1([0x73,0x6f,0x6d,0x65])](_0x5566f0=>_0x14e641[_0x2328c1([0x65,0x76,0x65,0x72,0x79])]((_0x4abdb0,_0x321050)=>_0x5566f0[_0x321050]===_0x4abdb0||_0x5566f0[_0x321050]===_0x2328c1([0x2a])));}function _0x34d147(){return _0xa347ac&&_0xe16862?new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40897a,_0x9d29a0)=>{_0xa347ac[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x40897a,_0x9d29a0),_0xe16862[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x5c9796=>{_0x5c9796!=_0x2328c1([0x56,0x61,0x6c,0x69,0x64])&&_0x40897a(_0x5c9796);},_0x9d29a0);}):_0xa347ac||_0xe16862||_0x2328c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1da663(_0x3876e1,_0x2d15ab){return new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fc275=>{if(_0x3e3b80())return _0x3fc275(_0x2328c1([0x56,0x61,0x6c,0x69,0x64]));_0x42ea86(),_0x3b2c1c[_0x2328c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2328c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ef9bb=!0x1;const _0x180951=_0x53724c();function _0x132895(_0x3f09c8){return!!_0x3f09c8&&(typeof _0x3f09c8===_0x2328c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f09c8===_0x2328c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f09c8[_0x2328c1([0x74,0x68,0x65,0x6e])]===_0x2328c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f09c8[_0x2328c1([0x63,0x61,0x74,0x63,0x68])]===_0x2328c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b6736(_0x304954){_0x2d822e(_0x304954)[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x4dd1ca=>{if(!_0x4dd1ca||_0x4dd1ca[_0x2328c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2328c1([0x6f,0x6b]))return _0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27d4c6(_0x21c7d0(_0x180951+_0x2d15ab))!=_0x4dd1ca[_0x2328c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2328c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2328c1([0x74,0x68,0x65,0x6e])](_0xe610e0=>(_0x48e297(),_0xe610e0),()=>{const _0x302f3c=_0x2e3d4c();return null==_0x302f3c?(_0x48e297(),_0x2328c1([0x56,0x61,0x6c,0x69,0x64])):_0x2328c1(_0x234051-_0x302f3c>(0xbbd897d^_0x43487b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x3fc275)[_0x2328c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fc275(_0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x241c92=0x2f87e3fd^_0x43487b;function _0x48e297(){const _0x2bdb9=_0x2328c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x27d4c6(_0x21c7d0(_0x3876e1)),_0x1267bb=_0xb7a250(_0x27d4c6(window[_0x2328c1([0x4d,0x61,0x74,0x68])][_0x2328c1([0x63,0x65,0x69,0x6c])](_0x234051/_0x241c92)));window[_0x2328c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2328c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bdb9,_0x1267bb);}function _0x2e3d4c(){const _0x3b2a91=_0x2328c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x27d4c6(_0x21c7d0(_0x3876e1)),_0x28272c=window[_0x2328c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2328c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b2a91);return _0x28272c?window[_0x2328c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb7a250(_0x28272c),0x10)*_0x241c92:null;}function _0x2d822e(_0x5cf938){return new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x304cef,_0x26450d)=>{_0x5cf938[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x304cef,_0x26450d),window[_0x2328c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26450d,0x2fb0d9bd^_0x43487b);});}}_0x3b2c1c[_0x2328c1([0x6f,0x6e])](_0x2328c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b8f4,_0x578b8b)=>{if(_0x578b8b[0x0]!=_0x3876e1)return _0x3fc275(_0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x578b8b[0x1]={..._0x578b8b[0x1],[_0x2328c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x180951};},{[_0x2328c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2328c1([0x68,0x69,0x67,0x68])}),_0x3b2c1c[_0x2328c1([0x6f,0x6e])](_0x2328c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52c145=>{_0x132895(_0x52c145[_0x2328c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ef9bb=!0x0,_0x5b6736(_0x52c145[_0x2328c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2328c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2328c1([0x6c,0x6f,0x77])}),_0x5e88d9[_0x2328c1([0x74,0x68,0x65,0x6e])](()=>{_0x1ef9bb||_0x3fc275(_0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e3b80(){return _0x3b2c1c[_0x2328c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2328c1([0x76,0x69,0x65,0x77])][_0x2328c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2328c1([0x61,0x75,0x74,0x6f]);}function _0x42ea86(){_0x3b2c1c[_0x2328c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2328c1([0x76,0x69,0x65,0x77])][_0x2328c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2328c1([0x61,0x75,0x74,0x6f]);}}function _0x399392(_0x5ca55e){const _0xa6602a=[new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xee75ee=>setTimeout(_0xee75ee,0x2fb833b1^_0x43487b)),_0x5e88d9[_0x2328c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56558a=>{let _0x4c395a=0x0;_0x3b2c1c[_0x2328c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2328c1([0x6f,0x6e])](_0x2328c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x372c3e,_0x593379)=>{_0x593379[0x0][_0x2328c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c395a++,_0x4c395a==(0x2fb10c85^_0x43487b)&&(_0x56558a(),_0x372c3e[_0x2328c1([0x6f,0x66,0x66])]());});}))];return window[_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2328c1([0x72,0x61,0x63,0x65])](_0xa6602a)[_0x2328c1([0x74,0x68,0x65,0x6e])](()=>_0x5ca55e);}async function _0x739794(){await _0x5e88d9,_0x3b2c1c[_0x2328c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2328c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55e9cb,_0x3b2c1c[_0x2328c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2328c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55e9cb,_0x3b2c1c[_0x2328c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2328c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12eed3(_0x151689){const _0x40a9b0=_0x58709f();_0x3b2c1c[_0x40a9b0]=_0x2328c1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x151689,_0x151689!=_0x2328c1([0x56,0x61,0x6c,0x69,0x64])&&_0x739794();}function _0x58709f(){const _0x2bfc36=window[_0x2328c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2328c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2328c1([0x6e,0x6f,0x77])]())[_0x2328c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2328c1([0x2e]),'');let _0x11e3f3=_0x2328c1([0x6d]);for(let _0x1b3ffc=0x0;_0x1b3ffc<_0x2bfc36[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b3ffc+=0x2){let _0x7a196f=window[_0x2328c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bfc36[_0x2328c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b3ffc,_0x1b3ffc+0x2));_0x7a196f>=_0x3d99f7[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7a196f-=_0x3d99f7[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11e3f3+=_0x3d99f7[_0x7a196f];}return _0x11e3f3;}function _0x39b980(){const _0x3e5de2=_0x23594a[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])](_0x2328c1([0x2e]));if(0x3!=_0x3e5de2[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x133386(_0x3e5de2[0x1]);function _0x133386(_0x24ce74){const _0x5b0b61=_0x237df6(_0x24ce74);return _0x5b0b61&&_0x1dd43a()?_0x5b0b61:null;function _0x1dd43a(){const _0x465b36=_0x5b0b61[_0x2328c1([0x6a,0x74,0x69])],_0x4e2db7=window[_0x2328c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x465b36[_0x2328c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x465b36[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57e5f4={..._0x5b0b61,[_0x2328c1([0x6a,0x74,0x69])]:_0x465b36[_0x2328c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x465b36[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57e5f4[_0x2328c1([0x76,0x63])],_0x21c7d0(_0x57e5f4)==_0x4e2db7;}}}async function _0x3f86c0(){let _0x5d32f0=!0x0;try{const _0x61748f=_0x23594a[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])](_0x2328c1([0x2e])),[_0x4aac92,_0x1b58b1,_0x31e1bc]=_0x61748f;return _0x261ad2(_0x4aac92),await _0x42fbba(_0x4aac92,_0x1b58b1,_0x31e1bc),_0x5d32f0;}catch{return!0x1;}function _0x261ad2(_0x402223){const _0x384f61=_0x237df6(_0x402223);_0x384f61&&_0x384f61[_0x2328c1([0x61,0x6c,0x67])]==_0x2328c1([0x45,0x53,0x32,0x35,0x36])||(_0x5d32f0=!0x1);}async function _0x42fbba(_0xd860d8,_0x3c0555,_0xf8e183){const _0x1c21c4=window[_0x2328c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2328c1([0x66,0x72,0x6f,0x6d])](_0x213e8c(_0xf8e183),_0x3a092a=>_0x3a092a[_0x2328c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37f963=new window[(_0x2328c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2328c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd860d8+_0x2328c1([0x2e])+_0x3c0555),_0x37b688=window[_0x2328c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2328c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37b688)return;const _0x279214=await _0x37b688[_0x2328c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2328c1([0x6a,0x77,0x6b]),_0x4d7d4c,{[_0x2328c1([0x6e,0x61,0x6d,0x65])]:_0x2328c1([0x45,0x43,0x44,0x53,0x41]),[_0x2328c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2328c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2328c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37b688[_0x2328c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2328c1([0x6e,0x61,0x6d,0x65])]:_0x2328c1([0x45,0x43,0x44,0x53,0x41]),[_0x2328c1([0x68,0x61,0x73,0x68])]:{[_0x2328c1([0x6e,0x61,0x6d,0x65])]:_0x2328c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x279214,_0x1c21c4,_0x37f963)||(_0x5d32f0=!0x1);}}function _0x237df6(_0x15f445){return _0x15f445[_0x2328c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2328c1([0x65,0x79]))?JSON[_0x2328c1([0x70,0x61,0x72,0x73,0x65])](_0x213e8c(_0x15f445)):null;}function _0x213e8c(_0x36188e){return window[_0x2328c1([0x61,0x74,0x6f,0x62])](_0x36188e[_0x2328c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2328c1([0x2b]))[_0x2328c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2328c1([0x2f])));}function _0x21c7d0(_0x32dc3a){let _0x26280a=0x1505;function _0x4bf1f9(_0x4aca34){for(let _0x2656a5=0x0;_0x2656a5<_0x4aca34[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2656a5++){const _0x570d40=_0x4aca34[_0x2328c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2656a5);_0x26280a=(_0x26280a<<0x5)+_0x26280a+_0x570d40,_0x26280a&=_0x26280a;}}function _0x436f4a(_0x565366){Array[_0x2328c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x565366)?_0x565366[_0x2328c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x436f4a):_0x565366&&typeof _0x565366==_0x2328c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2328c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x565366)[_0x2328c1([0x73,0x6f,0x72,0x74])]()[_0x2328c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36aa09,_0x3c192c])=>{_0x4bf1f9(_0x36aa09),_0x436f4a(_0x3c192c);}):_0x4bf1f9(window[_0x2328c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x565366));}return _0x436f4a(_0x32dc3a),_0x26280a>>>0x0;}function _0x27d4c6(_0x9f2db2){return _0x9f2db2[_0x2328c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2328c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2328c1([0x30]));}function _0xb7a250(_0x18114a){return _0x18114a[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2328c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2328c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x55e9cb(){}function _0x2328c1(_0x42b8c3){return _0x42b8c3['map'](_0x108104=>String['fromCharCode'](_0x108104))['join']('');}_0x12eed3(await _0x1b274d());}(this);}['_validateConfig'](){const _0xb6631a=this['editor'];if(!_0xb6631a['config']['get']('lineHeight.supportAllValues'))return;const _0x5ecc04=_0xb6631a['config']['get']('lineHeight.options')['filter'](_0x59c565=>'string'==typeof _0x59c565&&(!f(_0x59c565)&&isNaN(Number(_0x59c565))));if(_0x5ecc04['length'])throw new _0x16e2ad('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5ecc04});}['_prepareAnyValueConverters'](){const _0x1fe12b=this['editor'],_0x1df3f2=this['editor']['config']['get']('lineHeight.defaultValue');_0x1fe12b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x32c895=>String(_0x32c895)===String(_0x1df3f2)?null:{'key':'style','value':{'line-height':_0x32c895}}}),_0x1fe12b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1647b6=>{let _0x199d0c=_0x1647b6['getStyle']('line-height');return _0x580cf0(_0x199d0c)&&(_0x199d0c=String(Number(_0x199d0c['slice'](0x0,-0x1))/0x64)),String(_0x199d0c)===String(_0x1df3f2)?null:_0x199d0c;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x598fec=this['editor'],_0x130473=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1e2893=function(_0x552861,_0x1f6d15){const _0xa47c67={'model':{'key':_0x552861,'values':[]},'view':{}};for(const _0x3c05fe of _0x1f6d15)'class'===_0x3c05fe['view']?.['key']?(_0xa47c67['model']['values']['push'](_0x3c05fe['model']),_0xa47c67['view'][_0x3c05fe['model']]={'key':'class','value':_0x3c05fe['view']['value']}):(_0xa47c67['model']['values']['push'](_0x3c05fe['model']),_0xa47c67['view'][_0x3c05fe['model']]={'key':'style','value':'line-height:'+_0x3c05fe['model']+';'});return _0xa47c67;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x135eca=>_0x135eca['model']));_0x598fec['conversion']['attributeToAttribute'](_0x1e2893),_0x598fec['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xcc0130=>{let _0x159abe=_0xcc0130['getStyle']('line-height');return _0x580cf0(_0x159abe)&&(_0x159abe=String(Number(_0x159abe['slice'](0x0,-0x1))/0x64)),_0x159abe===String(_0x130473)?null:_0x1e2893['model']['values']['includes'](_0x159abe)?_0x159abe:null;}}});}}class r extends _0x13b176{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f31ad={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1f31ad),this['_registerMenuBarComponent'](_0x1f31ad),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d93fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1247d4;for(const _0x48a478 in _0x1d93fb){const _0x66afef=_0x48a478,_0x2901e6=_0x1d93fb[_0x66afef];if('lineHeightLicenseKeyValid'==_0x2901e6||'lineHeightLicenseKeyInvalid'==_0x2901e6||'lineHeightLicenseKeyExpired'==_0x2901e6||'lineHeightLicenseKeyDomainLimit'==_0x2901e6||'lineHeightLicenseKeyNotAllowed'==_0x2901e6||'lineHeightLicenseKeyEvaluationLimit'==_0x2901e6||'lineHeightLicenseKeyTrialLimit'==_0x2901e6||'lineHeightLicenseKeyUsageLimit'==_0x2901e6){delete _0x1d93fb[_0x66afef],_0x1247d4=_0x2901e6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1247d4&&_0x1d93fb['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1247d4&&_0x1d93fb['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1247d4&&_0x1d93fb['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1247d4&&_0x1d93fb['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1247d4&&_0x1d93fb['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1247d4&&_0x1d93fb['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1247d4&&_0x1d93fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xddf3c3=this['editor'],t=_0xddf3c3['t'],_0x2be426=_0xddf3c3['config']['get']('lineHeight'),_0x1d6aa7={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x2be426)['map'](_0xf416be=>{const _0x4a6bca=_0x1d6aa7[_0xf416be['title']];return _0x4a6bca&&_0x4a6bca!=_0xf416be['title']&&(_0xf416be=Object['assign']({},_0xf416be,{'title':_0x4a6bca})),_0xf416be;});}['_prepareListOptions'](){const _0x42d3d3=this['editor']['commands']['get']('lineHeight'),_0x50a6c1=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2ee4f7=this['_getLocalizedLineHeightOptions'](),_0x313c97=new _0x2c9420(),_0x176e1c=_0xa80b57=>'default'===_0xa80b57||String(_0x50a6c1)===_0xa80b57;for(const _0x37b0b8 of _0x2ee4f7){const _0x419ab8={'type':'button','model':new _0x296faa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x37b0b8['title'],'withText':!0x0})};_0x176e1c(_0x37b0b8['model'])?(_0x419ab8['model']['bind']('isOn')['to'](_0x42d3d3,'value',_0x189223=>!_0x189223),_0x419ab8['model']['commandParam']=void 0x0):(_0x419ab8['model']['bind']('isOn')['to'](_0x42d3d3,'value',_0x272d88=>_0x272d88===_0x37b0b8['model']),_0x419ab8['model']['commandParam']=_0x37b0b8['model']),_0x313c97['add'](_0x419ab8);}if(this['_shouldRenderCustomValueOption']()){const _0x18d20f=this['_getCustomValueOptionDefinition'](_0x2ee4f7);_0x313c97['add'](_0x18d20f);}return _0x313c97;}['_getCustomValueOptionDefinition'](_0x597609){const _0x106ccc=this['editor'],t=_0x106ccc['t'],_0x32113e=_0x106ccc['commands']['get']('lineHeight'),_0x1830c6=_0x597609['map'](_0x5b744e=>_0x5b744e['model']),_0x221399={'type':'button','model':new _0x296faa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x221399['model']['bind']('commandParam')['to'](_0x32113e,'value'),_0x221399['model']['bind']('isOn')['to'](_0x32113e,'value',_0x329896=>!!_0x329896&&!_0x1830c6['includes'](String(_0x329896))),_0x221399['model']['bind']('label')['to'](_0x32113e,'value',_0x449619=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x449619))),_0x221399;}['_registerToolbarComponent']({accessibleLabel:_0x11c549,options:_0x47eb8c}){const _0x5f0807=this['editor'],_0x2167e5=_0x5f0807['commands']['get']('lineHeight');_0x5f0807['ui']['componentFactory']['add']('lineHeight',_0x129d9f=>{const _0x273003=_0x131e13(_0x129d9f);return _0x379a16(_0x273003,_0x47eb8c,{'role':'menu','ariaLabel':_0x11c549}),_0x273003['buttonView']['set']({'label':_0x11c549,'tooltip':!0x0,'icon':_0x3a0b62}),_0x273003['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x273003['bind']('isEnabled')['to'](_0x2167e5),this['listenTo'](_0x273003,'execute',_0x3c48e2=>{_0x5f0807['execute'](_0x3c48e2['source']['commandName'],{'value':_0x3c48e2['source']['commandParam']}),_0x5f0807['editing']['view']['focus']();}),_0x273003['once']('change:isOpen',()=>{const _0x4301fc=_0x273003['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x273003,_0x47eb8c,_0x4301fc);}),_0x273003;});}['_registerMenuBarComponent']({accessibleLabel:_0x7c7734,options:_0x14f52d}){const _0x4dad41=this['editor'],_0x1bffb0=_0x4dad41['commands']['get']('lineHeight');_0x4dad41['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5eb760=>{const _0xe055cf=new _0x26a63e(_0x5eb760);_0xe055cf['buttonView']['set']({'label':_0x7c7734,'icon':_0x3a0b62}),_0xe055cf['bind']('isEnabled')['to'](_0x1bffb0);const _0x33bd9d=new _0x2d568a(_0x5eb760);for(const _0x35f067 of _0x14f52d){const _0x1385e5=new _0x46f96e(_0x5eb760,_0xe055cf),_0x1038c3=new _0xec22d0(_0x5eb760);_0x1038c3['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1038c3['bind'](...Object['keys'](_0x35f067['model']))['to'](_0x35f067['model']),_0x1038c3['delegate']('execute')['to'](_0xe055cf),_0x1038c3['on']('execute',()=>{_0x4dad41['execute'](_0x35f067['model']['commandName'],{'value':_0x35f067['model']['commandParam']}),_0x4dad41['editing']['view']['focus']();}),_0x1385e5['children']['add'](_0x1038c3),_0x33bd9d['items']['add'](_0x1385e5);}return _0xe055cf['panelView']['children']['add'](_0x33bd9d),this['_attachCustomOptionVisibilityHandler'](_0xe055cf,_0x14f52d,_0x33bd9d),_0xe055cf;});}['_attachCustomOptionVisibilityHandler'](_0x1ce298,_0x39cae7,_0x5af5e6){if(!this['_shouldRenderCustomValueOption']())return;const _0x9e767=()=>{if(!_0x1ce298['isOpen'])return;_0x5af5e6['items']['last']['isVisible']=Boolean(_0x39cae7['last']['model']['isOn']);};_0x9e767(),_0x1ce298['on']('change:isOpen',()=>{_0x9e767();});}}class k extends _0x13b176{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-20250703.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-20250703.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250703.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250703.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250703.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250703.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20250703.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"author": "CKSource (https://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x57d748,_0x5c1b0e){var _0x3d6599=_0x1ae6,_0x4c0b7d=_0x57d748();while(!![]){try{var _0x1814ea=-parseInt(_0x3d6599(0x151))/0x1*(-parseInt(_0x3d6599(0x14c))/0x2)+-parseInt(_0x3d6599(0x150))/0x3*(-parseInt(_0x3d6599(0x152))/0x4)+parseInt(_0x3d6599(0x14e))/0x5*(-parseInt(_0x3d6599(0x154))/0x6)+-parseInt(_0x3d6599(0x14a))/0x7*(parseInt(_0x3d6599(0x153))/0x8)+parseInt(_0x3d6599(0x14b))/0x9+parseInt(_0x3d6599(0x14f))/0xa+parseInt(_0x3d6599(0x14d))/0xb;if(_0x1814ea===_0x5c1b0e)break;else _0x4c0b7d['push'](_0x4c0b7d['shift']());}catch(_0x2e83a6){_0x4c0b7d['push'](_0x4c0b7d['shift']());}}}(_0x16c2,0xcb8bf));export{LineHeight}from'./lineheight.js';function _0x1ae6(_0x25dc0c,_0x1d2fbd){var _0x16c26e=_0x16c2();return _0x1ae6=function(_0x1ae63d,_0x168c76){_0x1ae63d=_0x1ae63d-0x14a;var _0x1be99b=_0x16c26e[_0x1ae63d];return _0x1be99b;},_0x1ae6(_0x25dc0c,_0x1d2fbd);}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';function _0x16c2(){var _0x5beb59=['898798WVlDjE','8697205ierKLA','830295TyYVtr','9913480xybtJr','9873rQoOWk','1RzfgCb','48DlRbyA','8srvkUB','60rcvbQJ','2909354wZEhYf','5751405RDPRmL'];_0x16c2=function(){return _0x5beb59;};return _0x16c2();}import'./augmentation.js';
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3d6fae=_0xa7a3;(function(_0x23c38e,_0xe1721d){var _0x55e95b=_0xa7a3,_0x48179e=_0x23c38e();while(!![]){try{var _0x6f729d=parseInt(_0x55e95b(0x9f))/0x1+parseInt(_0x55e95b(0xab))/0x2+-parseInt(_0x55e95b(0xa7))/0x3*(parseInt(_0x55e95b(0xa1))/0x4)+parseInt(_0x55e95b(0xac))/0x5*(-parseInt(_0x55e95b(0xa9))/0x6)+parseInt(_0x55e95b(0xa3))/0x7+parseInt(_0x55e95b(0xa4))/0x8+parseInt(_0x55e95b(0xa8))/0x9;if(_0x6f729d===_0xe1721d)break;else _0x48179e['push'](_0x48179e['shift']());}catch(_0x3c9943){_0x48179e['push'](_0x48179e['shift']());}}}(_0x5573,0x69a05));import{Plugin as _0x908319}from'ckeditor5/src/core.js';import{LineHeightEditing as _0xb7c9ea}from'./lineheightediting.js';import{LineHeightUI as _0x33cdb4}from'./lineheightui.js';function _0xa7a3(_0x59ca5c,_0x3ecd84){var _0x55730d=_0x5573();return _0xa7a3=function(_0xa7a3b0,_0x3896eb){_0xa7a3b0=_0xa7a3b0-0x9f;var _0x274783=_0x55730d[_0xa7a3b0];return _0x274783;},_0xa7a3(_0x59ca5c,_0x3ecd84);}export class LineHeight extends _0x908319{static get[_0x3d6fae(0xa0)](){return[_0xb7c9ea,_0x33cdb4];}static get[_0x3d6fae(0xaa)](){var _0x2e036e=_0x3d6fae;return _0x2e036e(0xa5);}static get[_0x3d6fae(0xa6)](){return!0x0;}static get[_0x3d6fae(0xa2)](){return!0x0;}}function _0x5573(){var _0x17306a=['LineHeight','isOfficialPlugin','78723aTnVsc','937566GJNlCE','212622ftEnvS','pluginName','9168wFJfux','20SeWdKN','686598VgWGwx','requires','92KCaPIk','isPremiumPlugin','1890833EcfMyo','899688hNaOjj'];_0x5573=function(){return _0x17306a;};return _0x5573();}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53da25=_0x4d94;(function(_0x10f328,_0x21c072){const _0x4df9c5=_0x4d94,_0x440df1=_0x10f328();while(!![]){try{const _0x3dd6b5=parseInt(_0x4df9c5(0x110))/0x1+parseInt(_0x4df9c5(0x124))/0x2+parseInt(_0x4df9c5(0x10a))/0x3*(parseInt(_0x4df9c5(0x11c))/0x4)+-parseInt(_0x4df9c5(0x113))/0x5*(-parseInt(_0x4df9c5(0x119))/0x6)+parseInt(_0x4df9c5(0x115))/0x7*(parseInt(_0x4df9c5(0x117))/0x8)+parseInt(_0x4df9c5(0x10c))/0x9+-parseInt(_0x4df9c5(0x120))/0xa*(parseInt(_0x4df9c5(0x10b))/0xb);if(_0x3dd6b5===_0x21c072)break;else _0x440df1['push'](_0x440df1['shift']());}catch(_0x4095c1){_0x440df1['push'](_0x440df1['shift']());}}}(_0x502d,0xe0918));function _0x4d94(_0x5622ec,_0x498ce5){const _0x502dfc=_0x502d();return _0x4d94=function(_0x4d9471,_0x2e3fac){_0x4d9471=_0x4d9471-0x108;let _0x85c25c=_0x502dfc[_0x4d9471];return _0x85c25c;},_0x4d94(_0x5622ec,_0x498ce5);}function _0x502d(){const _0x464a94=['895816UkJRVD','isEnabled','editor','removeAttribute','231159MiUxeu','2321vxJiAu','3607974yEAIOB','selection','refresh','from','155795RwZyah','checkAttribute','change','9072165tgfUTy','_canHaveLineHeight','57435zCHPaL','setAttribute','536oFoenN','document','6meNnSy','getSelectedBlocks','schema','16ObBGJG','value','lineHeight','model','130670fUZPJW','execute','getAttribute','filter'];_0x502d=function(){return _0x464a94;};return _0x502d();}import{Command as _0x43372a}from'ckeditor5/src/core.js';import{first as _0x40137a}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x43372a{[_0x53da25(0x10e)](){const _0x1469ca=_0x53da25,_0x58512b=this[_0x1469ca(0x108)][_0x1469ca(0x11f)][_0x1469ca(0x118)],_0x200806=_0x40137a(_0x58512b[_0x1469ca(0x10d)][_0x1469ca(0x11a)]());this[_0x1469ca(0x125)]=Boolean(_0x200806)&&this[_0x1469ca(0x114)](_0x200806),this[_0x1469ca(0x11d)]=this[_0x1469ca(0x125)]&&_0x200806[_0x1469ca(0x122)](_0x1469ca(0x11e));}[_0x53da25(0x121)](_0x164634={}){const _0x5c6ef=_0x53da25,_0x40b414=this[_0x5c6ef(0x108)][_0x5c6ef(0x11f)],_0x44d3f3=_0x40b414[_0x5c6ef(0x118)][_0x5c6ef(0x10d)],_0x2b73c6=_0x164634[_0x5c6ef(0x11d)];_0x40b414[_0x5c6ef(0x112)](_0x241f4b=>{const _0x116378=_0x5c6ef,_0x1b90e6=Array[_0x116378(0x10f)](_0x44d3f3[_0x116378(0x11a)]())[_0x116378(0x123)](_0x1566a1=>this[_0x116378(0x114)](_0x1566a1));for(const _0x2362bc of _0x1b90e6)_0x2b73c6?_0x241f4b[_0x116378(0x116)](_0x116378(0x11e),_0x2b73c6,_0x2362bc):_0x241f4b[_0x116378(0x109)](_0x116378(0x11e),_0x2362bc);});}[_0x53da25(0x114)](_0x16db6d){const _0x58561c=_0x53da25;return this[_0x58561c(0x108)][_0x58561c(0x11f)][_0x58561c(0x11b)][_0x58561c(0x111)](_0x16db6d,_0x58561c(0x11e));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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;}}});}}
|
|
23
|
+
function _0x2747(){const _0x51605c=['downcast','13127972gnDKVi','add','pluginName','string','isOfficialPlugin','for','join','values','editor','line-height','model','filter','upcast','lineHeight.options','init','attributeToAttribute','LineHeightEditing','slice','commands','fromCharCode','afterInit','map','line-height-invalid-use-of-named-presets','_preparePredefinedConverters','schema','63UOONtl','lineHeight.supportAllValues','325645GXvCpV','style','getStyle','1576519ONarhz','define','16YXJJDF','includes','extend','54XpgjoZ','22924PNceMC','_validateConfig','866840UGEPVr','config','get','lineHeight.defaultValue','483uFXbfO','setAttributeProperties','$block','2289310FgKSiN','52789rLAlvV','lineHeight','default','length','href','isPremiumPlugin','_prepareAnyValueConverters','conversion'];_0x2747=function(){return _0x51605c;};return _0x2747();}const _0x53aba2=_0x392b;(function(_0x14c1c8,_0x1dfaa2){const _0x4f8b3c=_0x392b,_0x11dd54=_0x14c1c8();while(!![]){try{const _0x438726=-parseInt(_0x4f8b3c(0x180))/0x1*(parseInt(_0x4f8b3c(0x172))/0x2)+parseInt(_0x4f8b3c(0x17c))/0x3*(-parseInt(_0x4f8b3c(0x176))/0x4)+parseInt(_0x4f8b3c(0x16d))/0x5*(-parseInt(_0x4f8b3c(0x175))/0x6)+parseInt(_0x4f8b3c(0x170))/0x7+-parseInt(_0x4f8b3c(0x178))/0x8*(-parseInt(_0x4f8b3c(0x16b))/0x9)+parseInt(_0x4f8b3c(0x17f))/0xa+parseInt(_0x4f8b3c(0x189))/0xb;if(_0x438726===_0x1dfaa2)break;else _0x11dd54['push'](_0x11dd54['shift']());}catch(_0x4a812f){_0x11dd54['push'](_0x11dd54['shift']());}}}(_0x2747,0x73f29));import{Plugin as _0x3136d1}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x529267}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5b9d89}from'ckeditor5/src/engine.js';function _0x392b(_0x3f235b,_0x8bb5ba){const _0x274716=_0x2747();return _0x392b=function(_0x392b23,_0x383c72){_0x392b23=_0x392b23-0x15a;let _0x52cc75=_0x274716[_0x392b23];return _0x52cc75;},_0x392b(_0x3f235b,_0x8bb5ba);}import{uid as _0x1597cf,CKEditorError as _0x5632de}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1ff34e,isLineHeightDefaultValue as _0x24a538,normalizeOptions as _0x555cc4}from'./utils.js';export class LineHeightEditing extends _0x3136d1{static get[_0x53aba2(0x18b)](){const _0x4eb92b=_0x53aba2;return _0x4eb92b(0x162);}static get[_0x53aba2(0x18d)](){return!0x0;}static get[_0x53aba2(0x185)](){return!0x0;}constructor(_0x5e293d){const _0x467760=_0x53aba2;super(_0x5e293d),_0x5e293d[_0x467760(0x179)][_0x467760(0x171)](_0x467760(0x181),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x467760(0x182),0x2,2.5,0x3]});}[_0x53aba2(0x160)](){const _0x1fec11=_0x53aba2,_0x4cdf43=this[_0x1fec11(0x15a)];this[_0x1fec11(0x177)](),_0x4cdf43[_0x1fec11(0x15c)][_0x1fec11(0x16a)][_0x1fec11(0x174)](_0x1fec11(0x17e),{'allowAttributes':_0x1fec11(0x181)}),_0x4cdf43[_0x1fec11(0x15c)][_0x1fec11(0x16a)][_0x1fec11(0x17d)](_0x1fec11(0x181),{'isFormatting':!0x0}),_0x4cdf43[_0x1fec11(0x164)][_0x1fec11(0x18a)](_0x1fec11(0x181),new _0x529267(_0x4cdf43)),this[_0x1fec11(0x15a)][_0x1fec11(0x179)][_0x1fec11(0x17a)](_0x1fec11(0x16c))?this[_0x1fec11(0x186)]():this[_0x1fec11(0x169)]();}[_0x53aba2(0x166)](){!async function(_0x39d4a0){const _0x4b05ac=_0x1d7c03([0x6d,0x48,0x4a,0x6e,0x69,0x41,0x44,0x4b,0x6c,0x36,0x76,0x65,0x71,0x74,0x31,0x66,0x77,0x75,0x4c,0x62,0x54,0x58,0x50,0x78,0x53,0x52,0x59,0x56,0x49,0x43,0x7a,0x55,0x37,0x38,0x6f,0x6a,0x5a,0x67,0x61,0x35,0x6b,0x63,0x45,0x39,0x73,0x46,0x57,0x70,0x64,0x47,0x30,0x32,0x68,0x72,0x34,0x42,0x4f,0x4e,0x79,0x4d,0x33,0x51]),_0x2779c4=0x2fb10d7d,_0x3b01d2=0x2fb661fd^_0x2779c4,_0x51e642=window[_0x1d7c03([0x44,0x61,0x74,0x65])][_0x1d7c03([0x6e,0x6f,0x77])](),_0x18490a=_0x39d4a0[_0x1d7c03([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xeec3b=new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25adbc=>{_0x18490a[_0x1d7c03([0x6f,0x6e,0x63,0x65])](_0x1d7c03([0x72,0x65,0x61,0x64,0x79]),_0x25adbc);}),_0x4eba85={[_0x1d7c03([0x6b,0x74,0x79])]:_0x1d7c03([0x45,0x43]),[_0x1d7c03([0x75,0x73,0x65])]:_0x1d7c03([0x73,0x69,0x67]),[_0x1d7c03([0x63,0x72,0x76])]:_0x1d7c03([0x50,0x2d,0x32,0x35,0x36]),[_0x1d7c03([0x78])]:_0x1d7c03([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]),[_0x1d7c03([0x79])]:_0x1d7c03([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]),[_0x1d7c03([0x61,0x6c,0x67])]:_0x1d7c03([0x45,0x53,0x32,0x35,0x36])},_0x5f4347=_0x18490a[_0x1d7c03([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d7c03([0x67,0x65,0x74])](_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x345edf(){let _0x3769c3,_0x3fb5b0=null,_0x346ecf=null;try{if(_0x5f4347==_0x1d7c03([0x47,0x50,0x4c]))return _0x1d7c03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3769c3=_0xf2cab2(),!_0x3769c3)return _0x1d7c03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3769c3[_0x1d7c03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x346ecf=_0x463107(_0x3769c3[_0x1d7c03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3769c3[_0x1d7c03([0x6a,0x74,0x69])])),await _0xa0e0b8()?_0x4f0593()?_0x3d4a73()?_0x1d7c03([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52d6ab()?(_0x3769c3[_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d7c03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fb5b0=_0x848425(_0x1d7c03([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3769c3[_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d7c03([0x74,0x72,0x69,0x61,0x6c])&&(_0x3fb5b0=_0x848425(_0x1d7c03([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a28f9()):_0x1d7c03([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d7c03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d7c03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d7c03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d4a73(){const _0x37b37f=[_0x1d7c03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d7c03([0x74,0x72,0x69,0x61,0x6c])][_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3769c3[_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51e642/0x3e8:0xe10*_0x3b01d2;return _0x3769c3[_0x1d7c03([0x65,0x78,0x70])]<_0x37b37f;}function _0x4f0593(){const _0x19fe39=_0x3769c3[_0x1d7c03([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19fe39&&(!!_0x19fe39[_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7c03([0x2a]))||!!_0x19fe39[_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7c03([0x4c,0x48])));}function _0x52d6ab(){const _0x5ecf87=_0x392b,_0x5c6bb3=_0x3769c3[_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c6bb3||0x0==_0x5c6bb3[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f240d}=new URL(window[_0x1d7c03([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ecf87(0x184)]);if(_0x5c6bb3[_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f240d))return!0x0;const _0x52ddd8=_0x5f240d[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])](_0x1d7c03([0x2e]));return _0x5c6bb3[_0x1d7c03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24e534=>_0x24e534[_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7c03([0x2a])))[_0x1d7c03([0x6d,0x61,0x70])](_0x2d79f3=>_0x2d79f3[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])](_0x1d7c03([0x2e])))[_0x1d7c03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20d931=>_0x20d931[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52ddd8[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d7c03([0x6d,0x61,0x70])](_0x524ab4=>Array(_0x52ddd8[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x524ab4[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d7c03([0x66,0x69,0x6c,0x6c])](_0x524ab4[0x0]===_0x1d7c03([0x2a])?_0x1d7c03([0x2a]):'')[_0x1d7c03([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x524ab4))[_0x1d7c03([0x73,0x6f,0x6d,0x65])](_0x30206e=>_0x52ddd8[_0x1d7c03([0x65,0x76,0x65,0x72,0x79])]((_0x1c84bc,_0x303977)=>_0x30206e[_0x303977]===_0x1c84bc||_0x30206e[_0x303977]===_0x1d7c03([0x2a])));}function _0x5a28f9(){return _0x3fb5b0&&_0x346ecf?new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x369940,_0x404849)=>{_0x3fb5b0[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x369940,_0x404849),_0x346ecf[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x17a662=>{_0x17a662!=_0x1d7c03([0x56,0x61,0x6c,0x69,0x64])&&_0x369940(_0x17a662);},_0x404849);}):_0x3fb5b0||_0x346ecf||_0x1d7c03([0x56,0x61,0x6c,0x69,0x64]);}}function _0x463107(_0x5077af,_0x5e1aa1){return new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48b242=>{if(_0x1bfcbb())return _0x48b242(_0x1d7c03([0x56,0x61,0x6c,0x69,0x64]));_0x29e81d(),_0x18490a[_0x1d7c03([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d7c03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d7a4f=!0x1;const _0x1f922b=_0x1597cf();function _0x336c5e(_0x4e83f9){return!!_0x4e83f9&&(typeof _0x4e83f9===_0x1d7c03([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e83f9===_0x1d7c03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e83f9[_0x1d7c03([0x74,0x68,0x65,0x6e])]===_0x1d7c03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e83f9[_0x1d7c03([0x63,0x61,0x74,0x63,0x68])]===_0x1d7c03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e02ef(_0x13ddf4){_0x5567dc(_0x13ddf4)[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x369624=>{if(!_0x369624||_0x369624[_0x1d7c03([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d7c03([0x6f,0x6b]))return _0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x183ddc(_0x819278(_0x1f922b+_0x5e1aa1))!=_0x369624[_0x1d7c03([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d7c03([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x5fc5cc=>(_0x3625d4(),_0x5fc5cc),()=>{const _0x119359=_0x3190f3();return null==_0x119359?(_0x3625d4(),_0x1d7c03([0x56,0x61,0x6c,0x69,0x64])):_0x1d7c03(_0x51e642-_0x119359>(0xbbd897d^_0x2779c4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x48b242)[_0x1d7c03([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48b242(_0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55cd41=0x2f87e3fd^_0x2779c4;function _0x3625d4(){const _0x235746=_0x1d7c03([0x6c,0x6c,0x63,0x74,0x2d])+_0x183ddc(_0x819278(_0x5077af)),_0x32bd25=_0x5cff8a(_0x183ddc(window[_0x1d7c03([0x4d,0x61,0x74,0x68])][_0x1d7c03([0x63,0x65,0x69,0x6c])](_0x51e642/_0x55cd41)));window[_0x1d7c03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d7c03([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x235746,_0x32bd25);}function _0x3190f3(){const _0x2946ac=_0x1d7c03([0x6c,0x6c,0x63,0x74,0x2d])+_0x183ddc(_0x819278(_0x5077af)),_0xbe8a11=window[_0x1d7c03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d7c03([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2946ac);return _0xbe8a11?window[_0x1d7c03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cff8a(_0xbe8a11),0x10)*_0x55cd41:null;}function _0x5567dc(_0x164c6f){return new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c1fcd,_0x55963b)=>{_0x164c6f[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x5c1fcd,_0x55963b),window[_0x1d7c03([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55963b,0x2fb0d9bd^_0x2779c4);});}}_0x18490a[_0x1d7c03([0x6f,0x6e])](_0x1d7c03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x424954,_0x35bb3c)=>{if(_0x35bb3c[0x0]!=_0x5077af)return _0x48b242(_0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35bb3c[0x1]={..._0x35bb3c[0x1],[_0x1d7c03([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f922b};},{[_0x1d7c03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d7c03([0x68,0x69,0x67,0x68])}),_0x18490a[_0x1d7c03([0x6f,0x6e])](_0x1d7c03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x495730=>{_0x336c5e(_0x495730[_0x1d7c03([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d7a4f=!0x0,_0x3e02ef(_0x495730[_0x1d7c03([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d7c03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d7c03([0x6c,0x6f,0x77])}),_0xeec3b[_0x1d7c03([0x74,0x68,0x65,0x6e])](()=>{_0x5d7a4f||_0x48b242(_0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bfcbb(){return _0x18490a[_0x1d7c03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d7c03([0x76,0x69,0x65,0x77])][_0x1d7c03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d7c03([0x61,0x75,0x74,0x6f]);}function _0x29e81d(){_0x18490a[_0x1d7c03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d7c03([0x76,0x69,0x65,0x77])][_0x1d7c03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d7c03([0x61,0x75,0x74,0x6f]);}}function _0x848425(_0x4fc8a7){const _0x12c380=[new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x367b29=>setTimeout(_0x367b29,0x2fb833b1^_0x2779c4)),_0xeec3b[_0x1d7c03([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb9efd7=>{let _0x188b99=0x0;_0x18490a[_0x1d7c03([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7c03([0x6f,0x6e])](_0x1d7c03([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3bba7c,_0x411774)=>{_0x411774[0x0][_0x1d7c03([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x188b99++,_0x188b99==(0x2fb10c85^_0x2779c4)&&(_0xb9efd7(),_0x3bba7c[_0x1d7c03([0x6f,0x66,0x66])]());});}))];return window[_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d7c03([0x72,0x61,0x63,0x65])](_0x12c380)[_0x1d7c03([0x74,0x68,0x65,0x6e])](()=>_0x4fc8a7);}async function _0x39e644(){await _0xeec3b,_0x18490a[_0x1d7c03([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7c03([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3421e7,_0x18490a[_0x1d7c03([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7c03([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3421e7,_0x18490a[_0x1d7c03([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d7c03([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb29cd5(_0x2675e0){const _0x4d6fc8=_0x45f979();_0x18490a[_0x4d6fc8]=_0x1d7c03([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2675e0,_0x2675e0!=_0x1d7c03([0x56,0x61,0x6c,0x69,0x64])&&_0x39e644();}function _0x45f979(){const _0x515744=window[_0x1d7c03([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d7c03([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d7c03([0x6e,0x6f,0x77])]())[_0x1d7c03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d7c03([0x2e]),'');let _0x29dc27=_0x1d7c03([0x6d]);for(let _0x4e4628=0x0;_0x4e4628<_0x515744[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e4628+=0x2){let _0x5dba2c=window[_0x1d7c03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x515744[_0x1d7c03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e4628,_0x4e4628+0x2));_0x5dba2c>=_0x4b05ac[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dba2c-=_0x4b05ac[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29dc27+=_0x4b05ac[_0x5dba2c];}return _0x29dc27;}function _0xf2cab2(){const _0x227dc8=_0x5f4347[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])](_0x1d7c03([0x2e]));if(0x3!=_0x227dc8[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x406544(_0x227dc8[0x1]);function _0x406544(_0x3ab6b3){const _0x188e1e=_0x209ebe(_0x3ab6b3);return _0x188e1e&&_0x2c4863()?_0x188e1e:null;function _0x2c4863(){const _0x4df60b=_0x188e1e[_0x1d7c03([0x6a,0x74,0x69])],_0x3555ea=window[_0x1d7c03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4df60b[_0x1d7c03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4df60b[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x143195={..._0x188e1e,[_0x1d7c03([0x6a,0x74,0x69])]:_0x4df60b[_0x1d7c03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4df60b[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x143195[_0x1d7c03([0x76,0x63])],_0x819278(_0x143195)==_0x3555ea;}}}async function _0xa0e0b8(){let _0x1e6cd2=!0x0;try{const _0x520b05=_0x5f4347[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])](_0x1d7c03([0x2e])),[_0x3944eb,_0x24d849,_0x15feab]=_0x520b05;return _0x1ac93a(_0x3944eb),await _0x1c0c9f(_0x3944eb,_0x24d849,_0x15feab),_0x1e6cd2;}catch{return!0x1;}function _0x1ac93a(_0x1cbc24){const _0x3ee567=_0x209ebe(_0x1cbc24);_0x3ee567&&_0x3ee567[_0x1d7c03([0x61,0x6c,0x67])]==_0x1d7c03([0x45,0x53,0x32,0x35,0x36])||(_0x1e6cd2=!0x1);}async function _0x1c0c9f(_0x23ac07,_0x2ae25b,_0x45f4a3){const _0x521a49=window[_0x1d7c03([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d7c03([0x66,0x72,0x6f,0x6d])](_0x131849(_0x45f4a3),_0x8f1514=>_0x8f1514[_0x1d7c03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5aa80e=new window[(_0x1d7c03([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d7c03([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23ac07+_0x1d7c03([0x2e])+_0x2ae25b),_0x445227=window[_0x1d7c03([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d7c03([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x445227)return;const _0x577c77=await _0x445227[_0x1d7c03([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d7c03([0x6a,0x77,0x6b]),_0x4eba85,{[_0x1d7c03([0x6e,0x61,0x6d,0x65])]:_0x1d7c03([0x45,0x43,0x44,0x53,0x41]),[_0x1d7c03([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d7c03([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d7c03([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x445227[_0x1d7c03([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d7c03([0x6e,0x61,0x6d,0x65])]:_0x1d7c03([0x45,0x43,0x44,0x53,0x41]),[_0x1d7c03([0x68,0x61,0x73,0x68])]:{[_0x1d7c03([0x6e,0x61,0x6d,0x65])]:_0x1d7c03([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x577c77,_0x521a49,_0x5aa80e)||(_0x1e6cd2=!0x1);}}function _0x209ebe(_0x19e988){return _0x19e988[_0x1d7c03([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d7c03([0x65,0x79]))?JSON[_0x1d7c03([0x70,0x61,0x72,0x73,0x65])](_0x131849(_0x19e988)):null;}function _0x131849(_0x1c7416){return window[_0x1d7c03([0x61,0x74,0x6f,0x62])](_0x1c7416[_0x1d7c03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d7c03([0x2b]))[_0x1d7c03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d7c03([0x2f])));}function _0x819278(_0xfcdbe9){let _0x48b224=0x1505;function _0xf308c0(_0x321c5d){for(let _0x21da01=0x0;_0x21da01<_0x321c5d[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21da01++){const _0x2a82a9=_0x321c5d[_0x1d7c03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21da01);_0x48b224=(_0x48b224<<0x5)+_0x48b224+_0x2a82a9,_0x48b224&=_0x48b224;}}function _0x42e8bf(_0x261500){Array[_0x1d7c03([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x261500)?_0x261500[_0x1d7c03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42e8bf):_0x261500&&typeof _0x261500==_0x1d7c03([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d7c03([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x261500)[_0x1d7c03([0x73,0x6f,0x72,0x74])]()[_0x1d7c03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f57bd,_0x134c7c])=>{_0xf308c0(_0x2f57bd),_0x42e8bf(_0x134c7c);}):_0xf308c0(window[_0x1d7c03([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x261500));}return _0x42e8bf(_0xfcdbe9),_0x48b224>>>0x0;}function _0x183ddc(_0x1418bb){return _0x1418bb[_0x1d7c03([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d7c03([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d7c03([0x30]));}function _0x5cff8a(_0x2a6f4b){return _0x2a6f4b[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d7c03([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d7c03([0x6a,0x6f,0x69,0x6e])]('');}function _0x3421e7(){}function _0x1d7c03(_0x2acb3a){const _0xc50649=_0x392b;return _0x2acb3a[_0xc50649(0x167)](_0x46d14e=>String[_0xc50649(0x165)](_0x46d14e))[_0xc50649(0x18f)]('');}_0xb29cd5(await _0x345edf());}(this);}[_0x53aba2(0x177)](){const _0xc5d4e1=_0x53aba2,_0x56bd1e=this[_0xc5d4e1(0x15a)];if(!_0x56bd1e[_0xc5d4e1(0x179)][_0xc5d4e1(0x17a)](_0xc5d4e1(0x16c)))return;const _0x1a5640=_0x56bd1e[_0xc5d4e1(0x179)][_0xc5d4e1(0x17a)](_0xc5d4e1(0x15f))[_0xc5d4e1(0x15d)](_0x15842c=>_0xc5d4e1(0x18c)==typeof _0x15842c&&(!_0x24a538(_0x15842c)&&isNaN(Number(_0x15842c))));if(_0x1a5640[_0xc5d4e1(0x183)])throw new _0x5632de(_0xc5d4e1(0x168),null,{'namedPresets':_0x1a5640});}[_0x53aba2(0x186)](){const _0x247bdd=_0x53aba2,_0x27edbe=this[_0x247bdd(0x15a)],_0x3070f6=this[_0x247bdd(0x15a)][_0x247bdd(0x179)][_0x247bdd(0x17a)](_0x247bdd(0x17b));_0x27edbe[_0x247bdd(0x187)][_0x247bdd(0x18e)](_0x247bdd(0x188))[_0x247bdd(0x161)]({'model':{'key':_0x247bdd(0x181)},'view':_0x1e01f1=>String(_0x1e01f1)===String(_0x3070f6)?null:{'key':_0x247bdd(0x16e),'value':{'line-height':_0x1e01f1}}}),_0x27edbe[_0x247bdd(0x187)][_0x247bdd(0x18e)](_0x247bdd(0x15e))[_0x247bdd(0x161)]({'model':{'key':_0x247bdd(0x181),'value':_0x3f386f=>{const _0x16e1db=_0x247bdd;let _0x5b9497=_0x3f386f[_0x16e1db(0x16f)](_0x16e1db(0x15b));return _0x5b9d89(_0x5b9497)&&(_0x5b9497=String(Number(_0x5b9497[_0x16e1db(0x163)](0x0,-0x1))/0x64)),String(_0x5b9497)===String(_0x3070f6)?null:_0x5b9497;}},'view':{'styles':{'line-height':/.*/}}});}[_0x53aba2(0x169)](){const _0xfb76fb=_0x53aba2,_0x1e16a9=this[_0xfb76fb(0x15a)],_0x5c6ad9=this[_0xfb76fb(0x15a)][_0xfb76fb(0x179)][_0xfb76fb(0x17a)](_0xfb76fb(0x17b)),_0x3ffd29=_0x555cc4(this[_0xfb76fb(0x15a)][_0xfb76fb(0x179)][_0xfb76fb(0x17a)](_0xfb76fb(0x181)))[_0xfb76fb(0x15d)](_0x23388b=>_0x23388b[_0xfb76fb(0x15c)]),_0x5d423f=_0x1ff34e(_0xfb76fb(0x181),_0x3ffd29);_0x1e16a9[_0xfb76fb(0x187)][_0xfb76fb(0x161)](_0x5d423f),_0x1e16a9[_0xfb76fb(0x187)][_0xfb76fb(0x18e)](_0xfb76fb(0x15e))[_0xfb76fb(0x161)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xfb76fb(0x181),'value':_0x39d369=>{const _0x755757=_0xfb76fb;let _0x209012=_0x39d369[_0x755757(0x16f)](_0x755757(0x15b));return _0x5b9d89(_0x209012)&&(_0x209012=String(Number(_0x209012[_0x755757(0x163)](0x0,-0x1))/0x64)),_0x209012===String(_0x5c6ad9)?null:_0x5d423f[_0x755757(0x15c)][_0x755757(0x190)][_0x755757(0x173)](_0x209012)?_0x209012:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x3529d5}from'ckeditor5/src/core.js';import{addListToDropdown as _0x17ca63,createDropdown as _0x433abf,MenuBarMenuListItemButtonView as _0x3c6f77,MenuBarMenuListItemView as _0x4bcedb,MenuBarMenuListView as _0x5859c7,MenuBarMenuView as _0x3bf78e,UIModel as _0x4e583c}from'ckeditor5/src/ui.js';import{Collection as _0x87f8e4}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x311c21}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1281a6}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3529d5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3bcde4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3bcde4),this['_registerMenuBarComponent'](_0x3bcde4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13407f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2682a6;for(const _0x522f7e in _0x13407f){const _0x40b53e=_0x522f7e,_0x562179=_0x13407f[_0x40b53e];if('lineHeightLicenseKeyValid'==_0x562179||'lineHeightLicenseKeyInvalid'==_0x562179||'lineHeightLicenseKeyExpired'==_0x562179||'lineHeightLicenseKeyDomainLimit'==_0x562179||'lineHeightLicenseKeyNotAllowed'==_0x562179||'lineHeightLicenseKeyEvaluationLimit'==_0x562179||'lineHeightLicenseKeyTrialLimit'==_0x562179||'lineHeightLicenseKeyUsageLimit'==_0x562179){delete _0x13407f[_0x40b53e],_0x2682a6=_0x562179,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2682a6&&_0x13407f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2682a6&&_0x13407f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2682a6&&_0x13407f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3ad992=this['editor'],t=_0x3ad992['t'],_0x79a9b8=_0x3ad992['config']['get']('lineHeight'),_0x1ee32c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1281a6(_0x79a9b8)['map'](_0x1c360e=>{const _0x15698f=_0x1ee32c[_0x1c360e['title']];return _0x15698f&&_0x15698f!=_0x1c360e['title']&&(_0x1c360e=Object['assign']({},_0x1c360e,{'title':_0x15698f})),_0x1c360e;});}['_prepareListOptions'](){const _0x10da40=this['editor']['commands']['get']('lineHeight'),_0x337ceb=this['editor']['config']['get']('lineHeight.defaultValue'),_0x358c4a=this['_getLocalizedLineHeightOptions'](),_0x4a4e90=new _0x87f8e4(),_0x3a9c66=_0xcccf2=>'default'===_0xcccf2||String(_0x337ceb)===_0xcccf2;for(const _0x41348e of _0x358c4a){const _0x1977cf={'type':'button','model':new _0x4e583c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x41348e['title'],'withText':!0x0})};_0x3a9c66(_0x41348e['model'])?(_0x1977cf['model']['bind']('isOn')['to'](_0x10da40,'value',_0x3a0c72=>!_0x3a0c72),_0x1977cf['model']['commandParam']=void 0x0):(_0x1977cf['model']['bind']('isOn')['to'](_0x10da40,'value',_0x69898a=>_0x69898a===_0x41348e['model']),_0x1977cf['model']['commandParam']=_0x41348e['model']),_0x4a4e90['add'](_0x1977cf);}if(this['_shouldRenderCustomValueOption']()){const _0x2852ae=this['_getCustomValueOptionDefinition'](_0x358c4a);_0x4a4e90['add'](_0x2852ae);}return _0x4a4e90;}['_getCustomValueOptionDefinition'](_0x5a4bd6){const _0x407078=this['editor'],t=_0x407078['t'],_0x386541=_0x407078['commands']['get']('lineHeight'),_0x227611=_0x5a4bd6['map'](_0x590633=>_0x590633['model']),_0x1798ff={'type':'button','model':new _0x4e583c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1798ff['model']['bind']('commandParam')['to'](_0x386541,'value'),_0x1798ff['model']['bind']('isOn')['to'](_0x386541,'value',_0x54fc1d=>!!_0x54fc1d&&!_0x227611['includes'](String(_0x54fc1d))),_0x1798ff['model']['bind']('label')['to'](_0x386541,'value',_0x3eee51=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3eee51))),_0x1798ff;}['_registerToolbarComponent']({accessibleLabel:_0x176369,options:_0x3da4b9}){const _0x4455a7=this['editor'],_0x5f4b41=_0x4455a7['commands']['get']('lineHeight');_0x4455a7['ui']['componentFactory']['add']('lineHeight',_0x132d2e=>{const _0x1c4c1e=_0x433abf(_0x132d2e);return _0x17ca63(_0x1c4c1e,_0x3da4b9,{'role':'menu','ariaLabel':_0x176369}),_0x1c4c1e['buttonView']['set']({'label':_0x176369,'tooltip':!0x0,'icon':_0x311c21}),_0x1c4c1e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1c4c1e['bind']('isEnabled')['to'](_0x5f4b41),this['listenTo'](_0x1c4c1e,'execute',_0x430a33=>{_0x4455a7['execute'](_0x430a33['source']['commandName'],{'value':_0x430a33['source']['commandParam']}),_0x4455a7['editing']['view']['focus']();}),_0x1c4c1e['once']('change:isOpen',()=>{const _0x18aab8=_0x1c4c1e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1c4c1e,_0x3da4b9,_0x18aab8);}),_0x1c4c1e;});}['_registerMenuBarComponent']({accessibleLabel:_0x256aa3,options:_0xb1450e}){const _0x4622aa=this['editor'],_0x3f4dbb=_0x4622aa['commands']['get']('lineHeight');_0x4622aa['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3150e2=>{const _0xeab50c=new _0x3bf78e(_0x3150e2);_0xeab50c['buttonView']['set']({'label':_0x256aa3,'icon':_0x311c21}),_0xeab50c['bind']('isEnabled')['to'](_0x3f4dbb);const _0x28eb80=new _0x5859c7(_0x3150e2);for(const _0x4ee515 of _0xb1450e){const _0x346835=new _0x4bcedb(_0x3150e2,_0xeab50c),_0x1daf5e=new _0x3c6f77(_0x3150e2);_0x1daf5e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1daf5e['bind'](...Object['keys'](_0x4ee515['model']))['to'](_0x4ee515['model']),_0x1daf5e['delegate']('execute')['to'](_0xeab50c),_0x1daf5e['on']('execute',()=>{_0x4622aa['execute'](_0x4ee515['model']['commandName'],{'value':_0x4ee515['model']['commandParam']}),_0x4622aa['editing']['view']['focus']();}),_0x346835['children']['add'](_0x1daf5e),_0x28eb80['items']['add'](_0x346835);}return _0xeab50c['panelView']['children']['add'](_0x28eb80),this['_attachCustomOptionVisibilityHandler'](_0xeab50c,_0xb1450e,_0x28eb80),_0xeab50c;});}['_attachCustomOptionVisibilityHandler'](_0x5b0c32,_0x3870d1,_0x18d2f4){if(!this['_shouldRenderCustomValueOption']())return;const _0x1eede2=()=>{if(!_0x5b0c32['isOpen'])return;_0x18d2f4['items']['last']['isVisible']=Boolean(_0x3870d1['last']['model']['isOn']);};_0x1eede2(),_0x5b0c32['on']('change:isOpen',()=>{_0x1eede2();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ea668,_0x35b7f8){const _0x593d7c=_0x163c,_0x4c8771=_0x1ea668();while(!![]){try{const _0x341695=parseInt(_0x593d7c(0xb4))/0x1*(parseInt(_0x593d7c(0xbb))/0x2)+-parseInt(_0x593d7c(0xc3))/0x3*(parseInt(_0x593d7c(0xa7))/0x4)+parseInt(_0x593d7c(0xb5))/0x5+parseInt(_0x593d7c(0xae))/0x6*(-parseInt(_0x593d7c(0xc8))/0x7)+parseInt(_0x593d7c(0xab))/0x8+parseInt(_0x593d7c(0xc6))/0x9+-parseInt(_0x593d7c(0xac))/0xa*(parseInt(_0x593d7c(0xa8))/0xb);if(_0x341695===_0x35b7f8)break;else _0x4c8771['push'](_0x4c8771['shift']());}catch(_0x41b8a0){_0x4c8771['push'](_0x4c8771['shift']());}}}(_0x4445,0xa590d));function _0x4445(){const _0xf73d50=['defaultValue','view','11098971eDkHrt','style','618394rzJOhU','values','132cYTvRe','20370867civlci','default','key','5935296vyHCfC','10MrXzkA','Single','12sZjNeM','number','double','class','single','filter','20PVcCze','5721045LniIdv','options','push','line-height:','toLowerCase','value','79830pHKGoP','line-height-single','model','line-height-double','string','span','Double','map','110082CleDWJ'];_0x4445=function(){return _0xf73d50;};return _0x4445();}const v={get 'single'(){const _0x4693a1=_0x163c;return{'title':_0x4693a1(0xad),'model':_0x4693a1(0xb2),'view':{'key':_0x4693a1(0xb1),'value':_0x4693a1(0xbc)}};},get 'double'(){const _0x1bb331=_0x163c;return{'title':_0x1bb331(0xc1),'model':_0x1bb331(0xb0),'view':{'key':_0x1bb331(0xb1),'value':_0x1bb331(0xbe)}};}};export function isLineHeightDefaultValue(_0x48594c){const _0x41ddc9=_0x163c;return _0x41ddc9(0xbf)==typeof _0x48594c&&_0x41ddc9(0xa9)===_0x48594c[_0x41ddc9(0xb9)]();}function _0x163c(_0x874633,_0x2cfd4b){const _0x444580=_0x4445();return _0x163c=function(_0x163ced,_0x7d8402){_0x163ced=_0x163ced-0xa6;let _0x54f0fc=_0x444580[_0x163ced];return _0x54f0fc;},_0x163c(_0x874633,_0x2cfd4b);}export function normalizeOptions(_0x31ad1b){const _0x4e243a=_0x163c;return _0x31ad1b[_0x4e243a(0xb6)][_0x4e243a(0xc2)](_0x4c4aab=>isLineHeightDefaultValue(_0x4c4aab)?{'title':String(_0x31ad1b[_0x4e243a(0xc4)]),'model':_0x4e243a(0xa9)}:(_0x4e243a(0xaf)==typeof _0x4c4aab&&(_0x4c4aab=String(_0x4c4aab)),_0x4e243a(0xbf)!=typeof _0x4c4aab?_0x4c4aab:parseFloat(_0x4c4aab)?{'title':_0x4c4aab,'model':_0x4c4aab,'view':{'name':_0x4e243a(0xc0),'styles':{'line-height':_0x4c4aab}}}:findPreset(_0x4c4aab)))[_0x4e243a(0xb3)](_0x29e26e=>void 0x0!==_0x29e26e);}export function findPreset(_0x5b6611){const _0x14b134=_0x163c;return _0x14b134(0xbf)==typeof _0x5b6611?v[_0x5b6611]:v[_0x5b6611[_0x14b134(0xbd)]];}export function buildDefinition(_0x1339d2,_0x210b52){const _0x28cd88=_0x163c,_0x12fe78={'model':{'key':_0x1339d2,'values':[]},'view':{}};for(const _0xd986a6 of _0x210b52)_0x28cd88(0xb1)===_0xd986a6[_0x28cd88(0xc5)]?.[_0x28cd88(0xaa)]?(_0x12fe78[_0x28cd88(0xbd)][_0x28cd88(0xa6)][_0x28cd88(0xb7)](_0xd986a6[_0x28cd88(0xbd)]),_0x12fe78[_0x28cd88(0xc5)][_0xd986a6[_0x28cd88(0xbd)]]={'key':_0x28cd88(0xb1),'value':_0xd986a6[_0x28cd88(0xc5)][_0x28cd88(0xba)]}):(_0x12fe78[_0x28cd88(0xbd)][_0x28cd88(0xa6)][_0x28cd88(0xb7)](_0xd986a6[_0x28cd88(0xbd)]),_0x12fe78[_0x28cd88(0xc5)][_0xd986a6[_0x28cd88(0xbd)]]={'key':_0x28cd88(0xc7),'value':_0x28cd88(0xb8)+_0xd986a6[_0x28cd88(0xbd)]+';'});return _0x12fe78;}
|