@ckeditor/ckeditor5-line-height 47.2.0-alpha.3 → 47.2.0-alpha.4
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/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},238:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},265: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")},354:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(453),r=n.n(i),o=n(374),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},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},374:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},410:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},450:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var f=n(d),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)t[f].references++,t[f].updater(h);else{var p=r(h,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},453:e=>{"use strict";e.exports=function(e){return e[1]}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},774: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)}}}},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:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>x});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-=223]})(e,t)}function s(){const e=["5608PJaKuf","_canHaveLineHeight","8290MbCxpY","1035IEbUiw","model","232qumyOv","getSelectedBlocks","38dyqjBJ","filter","1741908haYmOl","getAttribute","checkAttribute","14285fpItuc","setAttribute","selection","change","document","1743880iLHusX","1270650aSHZro","execute","from","1377978bYJAcn","removeAttribute","lineHeight","schema","isEnabled","value","editor","refresh"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(213288===parseInt(t(239))/1*(-parseInt(t(234))/2)+parseInt(t(250))/3+parseInt(t(237))/4*(-parseInt(t(244))/5)+-parseInt(t(224))/6+parseInt(t(241))/7+-parseInt(t(232))/8*(parseInt(t(235))/9)+parseInt(t(249))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(231)](){const e=r,n=this[e(230)][e(236)][e(248)],i=(0,t.first)(n[e(246)][e(238)]());this[e(228)]=Boolean(i)&&this[e(233)](i),this[e(229)]=this[e(228)]&&i[e(242)](e(226))}[r(251)](e={}){const t=r,n=this[t(230)][t(236)],i=n[t(248)][t(246)],o=e[t(229)];n[t(247)](e=>{const n=t,r=Array[n(223)](i[n(238)]())[n(240)](e=>this[n(233)](e));for(const t of r)o?e[n(245)](n(226),o,t):e[n(225)](n(226),t)})}[r(233)](e){const t=r;return this[t(230)][t(236)][t(227)][t(243)](e,t(226))}}var c=n(783);function u(e,t){const n=h();return(u=function(e,t){return n[e-=450]})(e,t)}!function(e){const t=u,n=e();for(;;)try{if(277498===parseInt(t(456))/1+parseInt(t(476))/2*(-parseInt(t(475))/3)+parseInt(t(454))/4*(-parseInt(t(461))/5)+-parseInt(t(462))/6+-parseInt(t(465))/7*(parseInt(t(471))/8)+parseInt(t(473))/9+parseInt(t(482))/10*(parseInt(t(453))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=u;return{title:e(466),model:e(483),view:{key:e(481),value:e(460)}}},get double(){const e=u;return{title:e(463),model:e(450),view:{key:e(481),value:e(478)}}}};function d(e){const t=u;return t(484)==typeof e&&t(467)===e[t(459)]()}function f(e){const t=u;return e[t(469)][t(455)](n=>d(n)?{title:String(e[t(480)]),model:t(467)}:(t(479)==typeof n&&(n=String(n)),t(484)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(474),styles:{"line-height":n}}}:function(e){const t=u;return t(484)==typeof e?l[e]:l[e[t(468)]]}(n)))[t(452)](e=>void 0!==e)}function h(){const e=["32bBzZFI","value","line-height-double","number","defaultValue","class","100CmPNRO","single","string","double","line-height:","filter","1985962NuSyAi","1121356HELbbV","map","54601CSysvZ","style","view","toLowerCase","line-height-single","5vweSoT","1878864DIAskw","Double","values","3826571tZCyGq","Single","default","model","options","key","8FOMfGZ","push","728325wAxIxN","span","98121MSlVJB"];return(h=function(){return e})()}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=399]})(e,t)}function m(){const e=["16500cRttjS","editor","line-height-invalid-use-of-named-presets","12fcFgqX","filter","$block","init","getStyle","fromCharCode","pluginName","lineHeight","_validateConfig","slice","get","36EEctTe","model","extend","18903Gcnnrd","add","for","110OodTWT","isOfficialPlugin","lineHeight.supportAllValues","includes","commands","afterInit","_prepareAnyValueConverters","1376Iozlfs","default","11277XMimrf","713608ouIoiL","isPremiumPlugin","502KlTDSl","conversion","lineHeight.options","string","LineHeightEditing","attributeToAttribute","schema","values","165772DKZkJM","setAttributeProperties","lineHeight.defaultValue","define","style","10565737Bdeksa","config","line-height","join","map","downcast","922201FpASdq","9250Drcpoa","length","_preparePredefinedConverters","href","upcast"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(958974===-parseInt(t(404))/1+parseInt(t(406))/2*(parseInt(t(448))/3)+-parseInt(t(414))/4*(parseInt(t(451))/5)+parseInt(t(434))/6*(-parseInt(t(425))/7)+-parseInt(t(401))/8*(-parseInt(t(403))/9)+parseInt(t(426))/10*(-parseInt(t(431))/11)+-parseInt(t(445))/12*(-parseInt(t(419))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(440)](){return p(410)}static get[p(452)](){return!0}static get[p(405)](){return!0}constructor(e){const t=p;super(e),e[t(420)][t(417)](t(441),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(402),2,2.5,3]})}[p(437)](){const e=p,t=this[e(432)];this[e(442)](),t[e(446)][e(412)][e(447)](e(436),{allowAttributes:e(441)}),t[e(446)][e(412)][e(415)](e(441),{isFormatting:!0}),t[e(455)][e(449)](e(441),new a(t)),this[e(432)][e(420)][e(444)](e(453))?this[e(400)]():this[e(428)]()}[p(399)](){!async function(e){const n=m([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function f(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(423)](e=>String[t(439)](e))[t(422)]("")}!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([80]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?f(d(l+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+f(d(e)),n=h(f(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])+f(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1761955200;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(429)]);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(442)](){const e=p,n=this[e(432)];if(!n[e(420)][e(444)](e(453)))return;const i=n[e(420)][e(444)](e(408))[e(435)](t=>e(409)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(427)])throw new t.CKEditorError(e(433),null,{namedPresets:i})}[p(400)](){const e=p,t=this[e(432)],n=this[e(432)][e(420)][e(444)](e(416));t[e(407)][e(450)](e(424))[e(411)]({model:{key:e(441)},view:t=>String(t)===String(n)?null:{key:e(418),value:{"line-height":t}}}),t[e(407)][e(450)](e(430))[e(411)]({model:{key:e(441),value:t=>{const i=e;let r=t[i(438)](i(421));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(443)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(428)](){const e=p,t=this[e(432)],n=this[e(432)][e(420)][e(444)](e(416)),i=f(this[e(432)][e(420)][e(444)](e(441)))[e(435)](t=>t[e(446)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(481)===e[n(458)]?.[n(470)]?(i[n(468)][n(464)][n(472)](e[n(468)]),i[n(458)][e[n(468)]]={key:n(481),value:e[n(458)][n(477)]}):(i[n(468)][n(464)][n(472)](e[n(468)]),i[n(458)][e[n(468)]]={key:n(457),value:n(451)+e[n(468)]+";"});return i}(e(441),i);t[e(407)][e(411)](r),t[e(407)][e(450)](e(430))[e(411)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(441),value:t=>{const i=e;let o=t[i(438)](i(421));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(443)](0,-1))/100)),o===String(n)?null:r[i(446)][i(413)][i(454)](o)?o:null}}})}}var v=n(311),I=n(355),y=n(450),b=n.n(y),L=n(774),H=n.n(L),_=n(265),O=n.n(_),E=n(410),S=n.n(E),C=n(238),A=n.n(C),T=n(354),N={attributes:{"data-cke":!0}};N.setAttributes=S(),N.insert=O().bind(null,"head"),N.domAPI=H(),N.insertStyleElement=A();b()(T.A,N);T.A&&T.A.locals&&T.A.locals;class x extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:I.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:I.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=P;function P(e,t){var n=K();return(P=function(e,t){return n[e-=193]})(e,t)}function K(){var e=["143KnrsqW","LineHeight","requires","isOfficialPlugin","pluginName","249676ZMpvDl","609544eKemlg","isPremiumPlugin","1769916sGjMaQ","28IIUdzU","5384rCaIzA","99072qIaRle","1038VAbFnf","1685nMFbAb","564ONpbJb","130jWUOUZ","450060XjfkRN"];return(K=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(294843===parseInt(t(205))/1+-parseInt(t(193))/2*(parseInt(t(197))/3)+-parseInt(t(208))/4+-parseInt(t(196))/5*(-parseInt(t(195))/6)+-parseInt(t(209))/7*(-parseInt(t(206))/8)+parseInt(t(194))/9*(parseInt(t(198))/10)+parseInt(t(200))/11*(parseInt(t(199))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class V extends e.Plugin{static get[k(202)](){return[w,x]}static get[k(204)](){return k(201)}static get[k(203)](){return!0}static get[k(207)](){return!0}}function M(e,t){var n=B();return(M=function(e,t){return n[e-=118]})(e,t)}function B(){var e=["684387ZjHORA","521660JQZtee","543755OqBNwk","4977DfmIXi","1928JZCpPD","254574tSXsxS","6ATEztX","38884YXZhpt","75cDgdOc","130artfnT","13034uWHbag"];return(B=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(264820===-parseInt(t(123))/1+parseInt(t(121))/2+-parseInt(t(128))/3*(parseInt(t(127))/4)+-parseInt(t(122))/5*(-parseInt(t(126))/6)+parseInt(t(119))/7*(parseInt(t(124))/8)+parseInt(t(125))/9*(-parseInt(t(118))/10)+parseInt(t(120))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={237:e=>{"use strict";e.exports=CKEditor5.dll},238:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},265: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")},354:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(453),r=n.n(i),o=n(374),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},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},374:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},410:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},450:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var f=n(d),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==f)t[f].references++,t[f].updater(h);else{var p=r(h,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},453:e=>{"use strict";e.exports=function(e){return e[1]}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},774: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)}}}},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:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>m,LineHeightUI:()=>x});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-=223]})(e,t)}function s(){const e=["5608PJaKuf","_canHaveLineHeight","8290MbCxpY","1035IEbUiw","model","232qumyOv","getSelectedBlocks","38dyqjBJ","filter","1741908haYmOl","getAttribute","checkAttribute","14285fpItuc","setAttribute","selection","change","document","1743880iLHusX","1270650aSHZro","execute","from","1377978bYJAcn","removeAttribute","lineHeight","schema","isEnabled","value","editor","refresh"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(213288===parseInt(t(239))/1*(-parseInt(t(234))/2)+parseInt(t(250))/3+parseInt(t(237))/4*(-parseInt(t(244))/5)+-parseInt(t(224))/6+parseInt(t(241))/7+-parseInt(t(232))/8*(parseInt(t(235))/9)+parseInt(t(249))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(231)](){const e=r,n=this[e(230)][e(236)][e(248)],i=(0,t.first)(n[e(246)][e(238)]());this[e(228)]=Boolean(i)&&this[e(233)](i),this[e(229)]=this[e(228)]&&i[e(242)](e(226))}[r(251)](e={}){const t=r,n=this[t(230)][t(236)],i=n[t(248)][t(246)],o=e[t(229)];n[t(247)](e=>{const n=t,r=Array[n(223)](i[n(238)]())[n(240)](e=>this[n(233)](e));for(const t of r)o?e[n(245)](n(226),o,t):e[n(225)](n(226),t)})}[r(233)](e){const t=r;return this[t(230)][t(236)][t(227)][t(243)](e,t(226))}}var c=n(783);function u(e,t){const n=h();return(u=function(e,t){return n[e-=450]})(e,t)}!function(e){const t=u,n=e();for(;;)try{if(277498===parseInt(t(456))/1+parseInt(t(476))/2*(-parseInt(t(475))/3)+parseInt(t(454))/4*(-parseInt(t(461))/5)+-parseInt(t(462))/6+-parseInt(t(465))/7*(parseInt(t(471))/8)+parseInt(t(473))/9+parseInt(t(482))/10*(parseInt(t(453))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=u;return{title:e(466),model:e(483),view:{key:e(481),value:e(460)}}},get double(){const e=u;return{title:e(463),model:e(450),view:{key:e(481),value:e(478)}}}};function d(e){const t=u;return t(484)==typeof e&&t(467)===e[t(459)]()}function f(e){const t=u;return e[t(469)][t(455)](n=>d(n)?{title:String(e[t(480)]),model:t(467)}:(t(479)==typeof n&&(n=String(n)),t(484)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(474),styles:{"line-height":n}}}:function(e){const t=u;return t(484)==typeof e?l[e]:l[e[t(468)]]}(n)))[t(452)](e=>void 0!==e)}function h(){const e=["32bBzZFI","value","line-height-double","number","defaultValue","class","100CmPNRO","single","string","double","line-height:","filter","1985962NuSyAi","1121356HELbbV","map","54601CSysvZ","style","view","toLowerCase","line-height-single","5vweSoT","1878864DIAskw","Double","values","3826571tZCyGq","Single","default","model","options","key","8FOMfGZ","push","728325wAxIxN","span","98121MSlVJB"];return(h=function(){return e})()}const p=g;function g(e,t){const n=w();return(g=function(e,t){return n[e-=275]})(e,t)}!function(e){const t=g,n=e();for(;;)try{if(513471===-parseInt(t(304))/1*(-parseInt(t(311))/2)+-parseInt(t(318))/3*(parseInt(t(298))/4)+-parseInt(t(288))/5+-parseInt(t(281))/6*(-parseInt(t(316))/7)+parseInt(t(302))/8*(parseInt(t(305))/9)+-parseInt(t(280))/10+-parseInt(t(276))/11*(parseInt(t(312))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(w);class m extends e.Plugin{static get[p(285)](){return p(313)}static get[p(310)](){return!0}static get[p(314)](){return!0}constructor(e){const t=p;super(e),e[t(303)][t(292)](t(295),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(287),2,2.5,3]})}[p(279)](){const e=p,t=this[e(329)];this[e(291)](),t[e(315)][e(317)][e(321)](e(278),{allowAttributes:e(295)}),t[e(315)][e(317)][e(293)](e(295),{isFormatting:!0}),t[e(284)][e(300)](e(295),new a(t)),this[e(329)][e(303)][e(328)](e(277))?this[e(296)]():this[e(290)]()}[p(289)](){!async function(e){const n=m([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function f(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function h(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(306)](e=>String[t(309)](e))[t(294)]("")}!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([80]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?f(d(l+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+f(d(e)),n=h(f(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])+f(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1762041600;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(326)]);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(291)](){const e=p,n=this[e(329)];if(!n[e(303)][e(328)](e(277)))return;const i=n[e(303)][e(328)](e(301))[e(307)](t=>e(286)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(299)])throw new t.CKEditorError(e(282),null,{namedPresets:i})}[p(296)](){const e=p,t=this[e(329)],n=this[e(329)][e(303)][e(328)](e(330));t[e(327)][e(324)](e(320))[e(308)]({model:{key:e(295)},view:t=>String(t)===String(n)?null:{key:e(322),value:{"line-height":t}}}),t[e(327)][e(324)](e(323))[e(308)]({model:{key:e(295),value:t=>{const i=e;let r=t[i(325)](i(319));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(297)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(290)](){const e=p,t=this[e(329)],n=this[e(329)][e(303)][e(328)](e(330)),i=f(this[e(329)][e(303)][e(328)](e(295)))[e(307)](t=>t[e(315)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(481)===e[n(458)]?.[n(470)]?(i[n(468)][n(464)][n(472)](e[n(468)]),i[n(458)][e[n(468)]]={key:n(481),value:e[n(458)][n(477)]}):(i[n(468)][n(464)][n(472)](e[n(468)]),i[n(458)][e[n(468)]]={key:n(457),value:n(451)+e[n(468)]+";"});return i}(e(295),i);t[e(327)][e(308)](r),t[e(327)][e(324)](e(323))[e(308)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(295),value:t=>{const i=e;let o=t[i(325)](i(319));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(297)](0,-1))/100)),o===String(n)?null:r[i(315)][i(275)][i(283)](o)?o:null}}})}}function w(){const e=["821726KTBADZ","24ADNtBr","LineHeightEditing","isPremiumPlugin","model","42lxVzpd","schema","622503iKbBTk","line-height","downcast","extend","style","upcast","for","getStyle","href","conversion","get","editor","lineHeight.defaultValue","values","6065939rzIEey","lineHeight.supportAllValues","$block","init","202830inXkvf","977694cRaqMr","line-height-invalid-use-of-named-presets","includes","commands","pluginName","string","default","3477775QzNARQ","afterInit","_preparePredefinedConverters","_validateConfig","define","setAttributeProperties","join","lineHeight","_prepareAnyValueConverters","slice","4ufVLEH","length","add","lineHeight.options","2152bokuZe","config","2eEmgqH","24768leFFEE","map","filter","attributeToAttribute","fromCharCode","isOfficialPlugin"];return(w=function(){return e})()}var v=n(311),y=n(355),I=n(450),b=n.n(I),L=n(774),H=n.n(L),_=n(265),O=n.n(_),E=n(410),A=n.n(E),C=n(238),S=n.n(C),N=n(354),T={attributes:{"data-cke":!0}};T.setAttributes=A(),T.insert=O().bind(null,"head"),T.domAPI=H(),T.insertStyleElement=S();b()(N.A,T);N.A&&N.A.locals&&N.A.locals;class x extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var k=P;function P(e,t){var n=K();return(P=function(e,t){return n[e-=193]})(e,t)}function K(){var e=["143KnrsqW","LineHeight","requires","isOfficialPlugin","pluginName","249676ZMpvDl","609544eKemlg","isPremiumPlugin","1769916sGjMaQ","28IIUdzU","5384rCaIzA","99072qIaRle","1038VAbFnf","1685nMFbAb","564ONpbJb","130jWUOUZ","450060XjfkRN"];return(K=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(294843===parseInt(t(205))/1+-parseInt(t(193))/2*(parseInt(t(197))/3)+-parseInt(t(208))/4+-parseInt(t(196))/5*(-parseInt(t(195))/6)+-parseInt(t(209))/7*(-parseInt(t(206))/8)+parseInt(t(194))/9*(parseInt(t(198))/10)+parseInt(t(200))/11*(parseInt(t(199))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class V extends e.Plugin{static get[k(202)](){return[m,x]}static get[k(204)](){return k(201)}static get[k(203)](){return!0}static get[k(207)](){return!0}}function M(e,t){var n=B();return(M=function(e,t){return n[e-=118]})(e,t)}function B(){var e=["684387ZjHORA","521660JQZtee","543755OqBNwk","4977DfmIXi","1928JZCpPD","254574tSXsxS","6ATEztX","38884YXZhpt","75cDgdOc","130artfnT","13034uWHbag"];return(B=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(264820===-parseInt(t(123))/1+parseInt(t(121))/2+-parseInt(t(128))/3*(parseInt(t(127))/4)+-parseInt(t(122))/5*(-parseInt(t(126))/6)+parseInt(t(119))/7*(parseInt(t(124))/8)+parseInt(t(125))/9*(-parseInt(t(118))/10)+parseInt(t(120))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(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 _0x37f6e5,Plugin as _0x29c7cd}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x475483,CKEditorError as _0x45e967,uid as _0xdb3b83,Collection as _0x576e6f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x39a00e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x92a9af,createDropdown as _0x177e8c,addListToDropdown as _0x55a5a2,MenuBarMenuView as _0x3e892f,MenuBarMenuListView as _0x59ba95,MenuBarMenuListItemView as _0x166b01,MenuBarMenuListItemButtonView as _0x579321}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x345fa2}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x37f6e5{['refresh'](){const _0x3e4577=this['editor']['model']['document'],_0x58e87f=_0x475483(_0x3e4577['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x58e87f)&&this['_canHaveLineHeight'](_0x58e87f),this['value']=this['isEnabled']&&_0x58e87f['getAttribute']('lineHeight');}['execute'](_0x34bc7a={}){const _0x5e2979=this['editor']['model'],_0x1a0aaa=_0x5e2979['document']['selection'],_0x4e0b58=_0x34bc7a['value'];_0x5e2979['change'](_0x3e70f8=>{const _0x2f010d=Array['from'](_0x1a0aaa['getSelectedBlocks']())['filter'](_0x102d5b=>this['_canHaveLineHeight'](_0x102d5b));for(const _0x334a0a of _0x2f010d)_0x4e0b58?_0x3e70f8['setAttribute']('lineHeight',_0x4e0b58,_0x334a0a):_0x3e70f8['removeAttribute']('lineHeight',_0x334a0a);});}['_canHaveLineHeight'](_0x1b558a){return this['editor']['model']['schema']['checkAttribute'](_0x1b558a,'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(_0x5c77b2){return'string'==typeof _0x5c77b2&&'default'===_0x5c77b2['toLowerCase']();}function a(_0x350b1a){return _0x350b1a['options']['map'](_0x3d66ab=>{return f(_0x3d66ab)?{'title':String(_0x350b1a['defaultValue']),'model':'default'}:('number'==typeof _0x3d66ab&&(_0x3d66ab=String(_0x3d66ab)),'string'!=typeof _0x3d66ab?_0x3d66ab:parseFloat(_0x3d66ab)?{'title':_0x3d66ab,'model':_0x3d66ab,'view':{'name':'span','styles':{'line-height':_0x3d66ab}}}:'string'==typeof(_0x372db8=_0x3d66ab)?v[_0x372db8]:v[_0x372db8['model']]);var _0x372db8;})['filter'](_0x155ef3=>void 0x0!==_0x155ef3);}class e extends _0x29c7cd{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x28adef){super(_0x28adef),_0x28adef['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3790aa=this['editor'];this['_validateConfig'](),_0x3790aa['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3790aa['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3790aa['commands']['add']('lineHeight',new n(_0x3790aa)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x1c0426){const _0x2b0b43=_0x38d564([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x13b938=0x45ddd215,_0x49b3f7=0x45daa5cd^_0x13b938,_0x13335e=window[_0x38d564([0x44,0x61,0x74,0x65])][_0x38d564([0x6e,0x6f,0x77])](),_0x35d76e=_0x1c0426[_0x38d564([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e5d4e=new window[(_0x38d564([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23ab61=>{_0x35d76e[_0x38d564([0x6f,0x6e,0x63,0x65])](_0x38d564([0x72,0x65,0x61,0x64,0x79]),_0x23ab61);}),_0x599a83={[_0x38d564([0x6b,0x74,0x79])]:_0x38d564([0x45,0x43]),[_0x38d564([0x75,0x73,0x65])]:_0x38d564([0x73,0x69,0x67]),[_0x38d564([0x63,0x72,0x76])]:_0x38d564([0x50,0x2d,0x32,0x35,0x36]),[_0x38d564([0x78])]:_0x38d564([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]),[_0x38d564([0x79])]:_0x38d564([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]),[_0x38d564([0x61,0x6c,0x67])]:_0x38d564([0x45,0x53,0x32,0x35,0x36])},_0x18bec4=_0x35d76e[_0x38d564([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38d564([0x67,0x65,0x74])](_0x38d564([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x109f94(){let _0x553658,_0x29caf2=null,_0x364bbb=null;try{if(_0x18bec4==_0x38d564([0x47,0x50,0x4c]))return _0x38d564([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x553658=_0x2a6d0a(),!_0x553658)return _0x38d564([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x553658[_0x38d564([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x364bbb=_0x46915c(_0x553658[_0x38d564([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x553658[_0x38d564([0x6a,0x74,0x69])])),await _0x46b3bc()?_0x28acd0()?_0x4cd84c()?_0x38d564([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40dd20()?(_0x553658[_0x38d564([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38d564([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29caf2=_0x63523d(_0x38d564([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x553658[_0x38d564([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38d564([0x74,0x72,0x69,0x61,0x6c])&&(_0x29caf2=_0x63523d(_0x38d564([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x274743()):_0x38d564([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38d564([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38d564([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38d564([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4cd84c(){const _0x5006f2=[_0x38d564([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38d564([0x74,0x72,0x69,0x61,0x6c])][_0x38d564([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x553658[_0x38d564([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13335e/0x3e8:0xe10*_0x49b3f7;return _0x553658[_0x38d564([0x65,0x78,0x70])]<_0x5006f2;}function _0x28acd0(){const _0x44c5e5=_0x553658[_0x38d564([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44c5e5&&(!!_0x44c5e5[_0x38d564([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38d564([0x2a]))||!!_0x44c5e5[_0x38d564([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38d564([0x4c,0x48])));}function _0x40dd20(){const _0x3fc0ea=_0x553658[_0x38d564([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fc0ea||0x0==_0x3fc0ea[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1799cb}=new URL(window[_0x38d564([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3fc0ea[_0x38d564([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1799cb))return!0x0;const _0x45b46b=_0x1799cb[_0x38d564([0x73,0x70,0x6c,0x69,0x74])](_0x38d564([0x2e]));return _0x3fc0ea[_0x38d564([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29b863=>_0x29b863[_0x38d564([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38d564([0x2a])))[_0x38d564([0x6d,0x61,0x70])](_0x263b59=>_0x263b59[_0x38d564([0x73,0x70,0x6c,0x69,0x74])](_0x38d564([0x2e])))[_0x38d564([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b2de8=>_0x1b2de8[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45b46b[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38d564([0x6d,0x61,0x70])](_0x1c266e=>Array(_0x45b46b[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c266e[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38d564([0x66,0x69,0x6c,0x6c])](_0x1c266e[0x0]===_0x38d564([0x2a])?_0x38d564([0x2a]):'')[_0x38d564([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c266e))[_0x38d564([0x73,0x6f,0x6d,0x65])](_0x3df2eb=>_0x45b46b[_0x38d564([0x65,0x76,0x65,0x72,0x79])]((_0x275bb3,_0x48cdc8)=>_0x3df2eb[_0x48cdc8]===_0x275bb3||_0x3df2eb[_0x48cdc8]===_0x38d564([0x2a])));}function _0x274743(){return _0x29caf2&&_0x364bbb?new window[(_0x38d564([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x828e74,_0x5ce954)=>{_0x29caf2[_0x38d564([0x74,0x68,0x65,0x6e])](_0x828e74,_0x5ce954),_0x364bbb[_0x38d564([0x74,0x68,0x65,0x6e])](_0x3d3a81=>{_0x3d3a81!=_0x38d564([0x56,0x61,0x6c,0x69,0x64])&&_0x828e74(_0x3d3a81);},_0x5ce954);}):_0x29caf2||_0x364bbb||_0x38d564([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46915c(_0x400b0d,_0x2eef94){return new window[(_0x38d564([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ec200=>{if(_0xc3d869())return _0x1ec200(_0x38d564([0x56,0x61,0x6c,0x69,0x64]));_0x1c6fd7(),_0x35d76e[_0x38d564([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38d564([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23c738=!0x1;const _0x5743d3=_0xdb3b83();function _0x22b984(_0x450703){return!!_0x450703&&(typeof _0x450703===_0x38d564([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x450703===_0x38d564([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x450703[_0x38d564([0x74,0x68,0x65,0x6e])]===_0x38d564([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x450703[_0x38d564([0x63,0x61,0x74,0x63,0x68])]===_0x38d564([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c9f92(_0x11560c){_0x46dde1(_0x11560c)[_0x38d564([0x74,0x68,0x65,0x6e])](_0x129dc9=>{if(!_0x129dc9||_0x129dc9[_0x38d564([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38d564([0x6f,0x6b]))return _0x38d564([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x9cbfd3(_0x534c8c(_0x5743d3+_0x2eef94))!=_0x129dc9[_0x38d564([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38d564([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38d564([0x56,0x61,0x6c,0x69,0x64]);})[_0x38d564([0x74,0x68,0x65,0x6e])](_0x5c9652=>(_0x542d74(),_0x5c9652),()=>{const _0x1c9b4a=_0x16013a();return null==_0x1c9b4a?(_0x542d74(),_0x38d564([0x56,0x61,0x6c,0x69,0x64])):_0x38d564(_0x13335e-_0x1c9b4a>(0x61d15615^_0x13b938)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38d564([0x74,0x68,0x65,0x6e])](_0x1ec200)[_0x38d564([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ec200(_0x38d564([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56f9d3=0x45eb3c95^_0x13b938;function _0x542d74(){const _0x4e5603=_0x38d564([0x6c,0x6c,0x63,0x74,0x2d])+_0x9cbfd3(_0x534c8c(_0x400b0d)),_0x265abc=_0x3fc30d(_0x9cbfd3(window[_0x38d564([0x4d,0x61,0x74,0x68])][_0x38d564([0x63,0x65,0x69,0x6c])](_0x13335e/_0x56f9d3)));window[_0x38d564([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38d564([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e5603,_0x265abc);}function _0x16013a(){const _0xc5fa53=_0x38d564([0x6c,0x6c,0x63,0x74,0x2d])+_0x9cbfd3(_0x534c8c(_0x400b0d)),_0x5d6fa1=window[_0x38d564([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38d564([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc5fa53);return _0x5d6fa1?window[_0x38d564([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fc30d(_0x5d6fa1),0x10)*_0x56f9d3:null;}function _0x46dde1(_0x280e4e){return new window[(_0x38d564([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26abaf,_0x11208e)=>{_0x280e4e[_0x38d564([0x74,0x68,0x65,0x6e])](_0x26abaf,_0x11208e),window[_0x38d564([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11208e,0x45dc06d5^_0x13b938);});}}_0x35d76e[_0x38d564([0x6f,0x6e])](_0x38d564([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x272d86,_0x4d734e)=>{if(_0x4d734e[0x0]!=_0x400b0d)return _0x1ec200(_0x38d564([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d734e[0x1]={..._0x4d734e[0x1],[_0x38d564([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5743d3};},{[_0x38d564([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38d564([0x68,0x69,0x67,0x68])}),_0x35d76e[_0x38d564([0x6f,0x6e])](_0x38d564([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42e055=>{_0x22b984(_0x42e055[_0x38d564([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23c738=!0x0,_0x4c9f92(_0x42e055[_0x38d564([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38d564([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38d564([0x6c,0x6f,0x77])}),_0x1e5d4e[_0x38d564([0x74,0x68,0x65,0x6e])](()=>{_0x23c738||_0x1ec200(_0x38d564([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc3d869(){return _0x35d76e[_0x38d564([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38d564([0x76,0x69,0x65,0x77])][_0x38d564([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38d564([0x61,0x75,0x74,0x6f]);}function _0x1c6fd7(){_0x35d76e[_0x38d564([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38d564([0x76,0x69,0x65,0x77])][_0x38d564([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38d564([0x61,0x75,0x74,0x6f]);}}function _0x63523d(_0x8f21f9){const _0x2ffb35=[new window[(_0x38d564([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2544b9=>setTimeout(_0x2544b9,0x45d4ecd9^_0x13b938)),_0x1e5d4e[_0x38d564([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38d564([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34b520=>{let _0x502643=0x0;_0x35d76e[_0x38d564([0x6d,0x6f,0x64,0x65,0x6c])][_0x38d564([0x6f,0x6e])](_0x38d564([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d1579,_0x521aba)=>{_0x521aba[0x0][_0x38d564([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x502643++,_0x502643==(0x45ddd3ed^_0x13b938)&&(_0x34b520(),_0x5d1579[_0x38d564([0x6f,0x66,0x66])]());});}))];return window[_0x38d564([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38d564([0x72,0x61,0x63,0x65])](_0x2ffb35)[_0x38d564([0x74,0x68,0x65,0x6e])](()=>_0x8f21f9);}async function _0x276b8c(){await _0x1e5d4e,_0x35d76e[_0x38d564([0x6d,0x6f,0x64,0x65,0x6c])][_0x38d564([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12bfb4,_0x35d76e[_0x38d564([0x6d,0x6f,0x64,0x65,0x6c])][_0x38d564([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12bfb4,_0x35d76e[_0x38d564([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38d564([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2eec92(_0x15469a){const _0x2619d4=_0x13a171();_0x35d76e[_0x2619d4]=_0x38d564([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x15469a,_0x15469a!=_0x38d564([0x56,0x61,0x6c,0x69,0x64])&&_0x276b8c();}function _0x13a171(){const _0x55ddfd=window[_0x38d564([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38d564([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38d564([0x6e,0x6f,0x77])]())[_0x38d564([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38d564([0x2e]),'');let _0x5173c7=_0x38d564([0x50]);for(let _0x518c42=0x0;_0x518c42<_0x55ddfd[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x518c42+=0x2){let _0x3bc08e=window[_0x38d564([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55ddfd[_0x38d564([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x518c42,_0x518c42+0x2));_0x3bc08e>=_0x2b0b43[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3bc08e-=_0x2b0b43[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5173c7+=_0x2b0b43[_0x3bc08e];}return _0x5173c7;}function _0x2a6d0a(){const _0x72d935=_0x18bec4[_0x38d564([0x73,0x70,0x6c,0x69,0x74])](_0x38d564([0x2e]));if(0x3!=_0x72d935[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2bb8da(_0x72d935[0x1]);function _0x2bb8da(_0x16aae4){const _0xfe8ead=_0x5dcf85(_0x16aae4);return _0xfe8ead&&_0x10e267()?_0xfe8ead:null;function _0x10e267(){const _0x2523b5=_0xfe8ead[_0x38d564([0x6a,0x74,0x69])],_0x9c7240=window[_0x38d564([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2523b5[_0x38d564([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2523b5[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8f3596={..._0xfe8ead,[_0x38d564([0x6a,0x74,0x69])]:_0x2523b5[_0x38d564([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2523b5[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8f3596[_0x38d564([0x76,0x63])],_0x534c8c(_0x8f3596)==_0x9c7240;}}}async function _0x46b3bc(){let _0x23bfe2=!0x0;try{const _0xe1aedc=_0x18bec4[_0x38d564([0x73,0x70,0x6c,0x69,0x74])](_0x38d564([0x2e])),[_0x4e9f17,_0x24183f,_0x5db97b]=_0xe1aedc;return _0x22957a(_0x4e9f17),await _0x83b9bf(_0x4e9f17,_0x24183f,_0x5db97b),_0x23bfe2;}catch{return!0x1;}function _0x22957a(_0x4bc469){const _0x307b8d=_0x5dcf85(_0x4bc469);_0x307b8d&&_0x307b8d[_0x38d564([0x61,0x6c,0x67])]==_0x38d564([0x45,0x53,0x32,0x35,0x36])||(_0x23bfe2=!0x1);}async function _0x83b9bf(_0x1e5420,_0x39a443,_0x451040){const _0x300bd2=window[_0x38d564([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38d564([0x66,0x72,0x6f,0x6d])](_0x17f36d(_0x451040),_0x2c09c3=>_0x2c09c3[_0x38d564([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4bab33=new window[(_0x38d564([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38d564([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e5420+_0x38d564([0x2e])+_0x39a443),_0x13f036=window[_0x38d564([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38d564([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13f036)return;const _0x241ccb=await _0x13f036[_0x38d564([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38d564([0x6a,0x77,0x6b]),_0x599a83,{[_0x38d564([0x6e,0x61,0x6d,0x65])]:_0x38d564([0x45,0x43,0x44,0x53,0x41]),[_0x38d564([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38d564([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38d564([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13f036[_0x38d564([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38d564([0x6e,0x61,0x6d,0x65])]:_0x38d564([0x45,0x43,0x44,0x53,0x41]),[_0x38d564([0x68,0x61,0x73,0x68])]:{[_0x38d564([0x6e,0x61,0x6d,0x65])]:_0x38d564([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x241ccb,_0x300bd2,_0x4bab33)||(_0x23bfe2=!0x1);}}function _0x5dcf85(_0x15ea28){return _0x15ea28[_0x38d564([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38d564([0x65,0x79]))?JSON[_0x38d564([0x70,0x61,0x72,0x73,0x65])](_0x17f36d(_0x15ea28)):null;}function _0x17f36d(_0x59cc13){return window[_0x38d564([0x61,0x74,0x6f,0x62])](_0x59cc13[_0x38d564([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38d564([0x2b]))[_0x38d564([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38d564([0x2f])));}function _0x534c8c(_0x57baf7){let _0x4e84b4=0x1505;function _0xf1893a(_0x1fce06){for(let _0x4af221=0x0;_0x4af221<_0x1fce06[_0x38d564([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4af221++){const _0x3984a7=_0x1fce06[_0x38d564([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4af221);_0x4e84b4=(_0x4e84b4<<0x5)+_0x4e84b4+_0x3984a7,_0x4e84b4&=_0x4e84b4;}}function _0x414c9a(_0x731099){Array[_0x38d564([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x731099)?_0x731099[_0x38d564([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x414c9a):_0x731099&&typeof _0x731099==_0x38d564([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38d564([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x731099)[_0x38d564([0x73,0x6f,0x72,0x74])]()[_0x38d564([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5be047,_0x127d7d])=>{_0xf1893a(_0x5be047),_0x414c9a(_0x127d7d);}):_0xf1893a(window[_0x38d564([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x731099));}return _0x414c9a(_0x57baf7),_0x4e84b4>>>0x0;}function _0x9cbfd3(_0x2ee93e){return _0x2ee93e[_0x38d564([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38d564([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38d564([0x30]));}function _0x3fc30d(_0xca1e3e){return _0xca1e3e[_0x38d564([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38d564([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38d564([0x6a,0x6f,0x69,0x6e])]('');}function _0x12bfb4(){}function _0x38d564(_0x435ddf){return _0x435ddf['map'](_0x35bf66=>String['fromCharCode'](_0x35bf66))['join']('');}_0x2eec92(await _0x109f94());}(this);}['_validateConfig'](){const _0x9deef1=this['editor'];if(!_0x9deef1['config']['get']('lineHeight.supportAllValues'))return;const _0x36d662=_0x9deef1['config']['get']('lineHeight.options')['filter'](_0x1267bf=>'string'==typeof _0x1267bf&&(!f(_0x1267bf)&&isNaN(Number(_0x1267bf))));if(_0x36d662['length'])throw new _0x45e967('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x36d662});}['_prepareAnyValueConverters'](){const _0x42a4eb=this['editor'],_0x1c4bed=this['editor']['config']['get']('lineHeight.defaultValue');_0x42a4eb['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x38b3fa=>String(_0x38b3fa)===String(_0x1c4bed)?null:{'key':'style','value':{'line-height':_0x38b3fa}}}),_0x42a4eb['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x588ce1=>{let _0x5b5ab8=_0x588ce1['getStyle']('line-height');return _0x39a00e(_0x5b5ab8)&&(_0x5b5ab8=String(Number(_0x5b5ab8['slice'](0x0,-0x1))/0x64)),String(_0x5b5ab8)===String(_0x1c4bed)?null:_0x5b5ab8;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x775525=this['editor'],_0x4eab9c=this['editor']['config']['get']('lineHeight.defaultValue'),_0x44143e=function(_0x39781a,_0x5760e4){const _0xafb817={'model':{'key':_0x39781a,'values':[]},'view':{}};for(const _0x219ab4 of _0x5760e4)'class'===_0x219ab4['view']?.['key']?(_0xafb817['model']['values']['push'](_0x219ab4['model']),_0xafb817['view'][_0x219ab4['model']]={'key':'class','value':_0x219ab4['view']['value']}):(_0xafb817['model']['values']['push'](_0x219ab4['model']),_0xafb817['view'][_0x219ab4['model']]={'key':'style','value':'line-height:'+_0x219ab4['model']+';'});return _0xafb817;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x2807e0=>_0x2807e0['model']));_0x775525['conversion']['attributeToAttribute'](_0x44143e),_0x775525['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x3c2d3a=>{let _0xca1c19=_0x3c2d3a['getStyle']('line-height');return _0x39a00e(_0xca1c19)&&(_0xca1c19=String(Number(_0xca1c19['slice'](0x0,-0x1))/0x64)),_0xca1c19===String(_0x4eab9c)?null:_0x44143e['model']['values']['includes'](_0xca1c19)?_0xca1c19:null;}}});}}class r extends _0x29c7cd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x40ead2={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x40ead2),this['_registerMenuBarComponent'](_0x40ead2),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11d9de=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2d7746;for(const _0x1339b8 in _0x11d9de){const _0x23e899=_0x1339b8,_0x46df9d=_0x11d9de[_0x23e899];if('lineHeightLicenseKeyValid'==_0x46df9d||'lineHeightLicenseKeyInvalid'==_0x46df9d||'lineHeightLicenseKeyExpired'==_0x46df9d||'lineHeightLicenseKeyDomainLimit'==_0x46df9d||'lineHeightLicenseKeyNotAllowed'==_0x46df9d||'lineHeightLicenseKeyEvaluationLimit'==_0x46df9d||'lineHeightLicenseKeyTrialLimit'==_0x46df9d||'lineHeightLicenseKeyUsageLimit'==_0x46df9d){delete _0x11d9de[_0x23e899],_0x2d7746=_0x46df9d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2d7746&&_0x11d9de['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2d7746&&_0x11d9de['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2d7746&&_0x11d9de['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2d7746&&_0x11d9de['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2d7746&&_0x11d9de['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2d7746&&_0x11d9de['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2d7746&&_0x11d9de['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5f0174=this['editor'],t=_0x5f0174['t'],_0x3c87bc=_0x5f0174['config']['get']('lineHeight'),_0x5d2466={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x3c87bc)['map'](_0x49ae47=>{const _0x5ce5b9=_0x5d2466[_0x49ae47['title']];return _0x5ce5b9&&_0x5ce5b9!=_0x49ae47['title']&&(_0x49ae47=Object['assign']({},_0x49ae47,{'title':_0x5ce5b9})),_0x49ae47;});}['_prepareListOptions'](){const _0x3ac3ca=this['editor']['commands']['get']('lineHeight'),_0x7d04c3=this['editor']['config']['get']('lineHeight.defaultValue'),_0x467e06=this['_getLocalizedLineHeightOptions'](),_0x5d599b=new _0x576e6f(),_0xae7bda=_0x33a6e7=>'default'===_0x33a6e7||String(_0x7d04c3)===_0x33a6e7;for(const _0x4288f7 of _0x467e06){const _0x2af2ec={'type':'button','model':new _0x92a9af({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4288f7['title'],'withText':!0x0})};_0xae7bda(_0x4288f7['model'])?(_0x2af2ec['model']['bind']('isOn')['to'](_0x3ac3ca,'value',_0x2076fd=>!_0x2076fd),_0x2af2ec['model']['commandParam']=void 0x0):(_0x2af2ec['model']['bind']('isOn')['to'](_0x3ac3ca,'value',_0x3cfdf7=>_0x3cfdf7===_0x4288f7['model']),_0x2af2ec['model']['commandParam']=_0x4288f7['model']),_0x5d599b['add'](_0x2af2ec);}if(this['_shouldRenderCustomValueOption']()){const _0x44ba97=this['_getCustomValueOptionDefinition'](_0x467e06);_0x5d599b['add'](_0x44ba97);}return _0x5d599b;}['_getCustomValueOptionDefinition'](_0x228e46){const _0x2cb425=this['editor'],t=_0x2cb425['t'],_0x5c9497=_0x2cb425['commands']['get']('lineHeight'),_0x5b19b6=_0x228e46['map'](_0x59a34d=>_0x59a34d['model']),_0x592d41={'type':'button','model':new _0x92a9af({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x592d41['model']['bind']('commandParam')['to'](_0x5c9497,'value'),_0x592d41['model']['bind']('isOn')['to'](_0x5c9497,'value',_0x58f7f6=>!!_0x58f7f6&&!_0x5b19b6['includes'](String(_0x58f7f6))),_0x592d41['model']['bind']('label')['to'](_0x5c9497,'value',_0x51c1a5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x51c1a5))),_0x592d41;}['_registerToolbarComponent']({accessibleLabel:_0x40d45e,options:_0xf3c7a9}){const _0x5a2bf1=this['editor'],_0x201428=_0x5a2bf1['commands']['get']('lineHeight');_0x5a2bf1['ui']['componentFactory']['add']('lineHeight',_0x71198a=>{const _0x1a479c=_0x177e8c(_0x71198a);return _0x55a5a2(_0x1a479c,_0xf3c7a9,{'role':'menu','ariaLabel':_0x40d45e}),_0x1a479c['buttonView']['set']({'label':_0x40d45e,'tooltip':!0x0,'icon':_0x345fa2}),_0x1a479c['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1a479c['bind']('isEnabled')['to'](_0x201428),this['listenTo'](_0x1a479c,'execute',_0x1415ca=>{_0x5a2bf1['execute'](_0x1415ca['source']['commandName'],{'value':_0x1415ca['source']['commandParam']}),_0x5a2bf1['editing']['view']['focus']();}),_0x1a479c['once']('change:isOpen',()=>{const _0x3f107f=_0x1a479c['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1a479c,_0xf3c7a9,_0x3f107f);}),_0x1a479c;});}['_registerMenuBarComponent']({accessibleLabel:_0x4949e2,options:_0x26274a}){const _0x2054b8=this['editor'],_0x1a5025=_0x2054b8['commands']['get']('lineHeight');_0x2054b8['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2b719e=>{const _0x1b67df=new _0x3e892f(_0x2b719e);_0x1b67df['buttonView']['set']({'label':_0x4949e2,'icon':_0x345fa2}),_0x1b67df['bind']('isEnabled')['to'](_0x1a5025);const _0x2cba62=new _0x59ba95(_0x2b719e);for(const _0x2f066a of _0x26274a){const _0x44172c=new _0x166b01(_0x2b719e,_0x1b67df),_0x5c1ce8=new _0x579321(_0x2b719e);_0x5c1ce8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5c1ce8['bind'](...Object['keys'](_0x2f066a['model']))['to'](_0x2f066a['model']),_0x5c1ce8['delegate']('execute')['to'](_0x1b67df),_0x5c1ce8['on']('execute',()=>{_0x2054b8['execute'](_0x2f066a['model']['commandName'],{'value':_0x2f066a['model']['commandParam']}),_0x2054b8['editing']['view']['focus']();}),_0x44172c['children']['add'](_0x5c1ce8),_0x2cba62['items']['add'](_0x44172c);}return _0x1b67df['panelView']['children']['add'](_0x2cba62),this['_attachCustomOptionVisibilityHandler'](_0x1b67df,_0x26274a,_0x2cba62),_0x1b67df;});}['_attachCustomOptionVisibilityHandler'](_0x2f28d2,_0x298a0b,_0x233c89){if(!this['_shouldRenderCustomValueOption']())return;const _0x4b6288=()=>{if(!_0x2f28d2['isOpen'])return;_0x233c89['items']['last']['isVisible']=Boolean(_0x298a0b['last']['model']['isOn']);};_0x4b6288(),_0x2f28d2['on']('change:isOpen',()=>{_0x4b6288();});}}class k extends _0x29c7cd{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 _0x285ed8,Plugin as _0x5465aa}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x59f2f8,CKEditorError as _0x319a41,uid as _0x4c9f5d,Collection as _0x3da3f3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x225adc}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x609154,createDropdown as _0x2d8e1b,addListToDropdown as _0x1a7d5e,MenuBarMenuView as _0x77c39b,MenuBarMenuListView as _0x87ed3a,MenuBarMenuListItemView as _0x4a875b,MenuBarMenuListItemButtonView as _0x12beb6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x2ebf34}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x285ed8{['refresh'](){const _0x208a15=this['editor']['model']['document'],_0x73d014=_0x59f2f8(_0x208a15['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x73d014)&&this['_canHaveLineHeight'](_0x73d014),this['value']=this['isEnabled']&&_0x73d014['getAttribute']('lineHeight');}['execute'](_0x196076={}){const _0x4be5f6=this['editor']['model'],_0x514e45=_0x4be5f6['document']['selection'],_0x1da429=_0x196076['value'];_0x4be5f6['change'](_0x3f79a2=>{const _0x40d92=Array['from'](_0x514e45['getSelectedBlocks']())['filter'](_0x130ae1=>this['_canHaveLineHeight'](_0x130ae1));for(const _0x5a30e3 of _0x40d92)_0x1da429?_0x3f79a2['setAttribute']('lineHeight',_0x1da429,_0x5a30e3):_0x3f79a2['removeAttribute']('lineHeight',_0x5a30e3);});}['_canHaveLineHeight'](_0x5d24af){return this['editor']['model']['schema']['checkAttribute'](_0x5d24af,'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(_0x47a0e1){return'string'==typeof _0x47a0e1&&'default'===_0x47a0e1['toLowerCase']();}function a(_0x45c7ee){return _0x45c7ee['options']['map'](_0x4999a1=>{return f(_0x4999a1)?{'title':String(_0x45c7ee['defaultValue']),'model':'default'}:('number'==typeof _0x4999a1&&(_0x4999a1=String(_0x4999a1)),'string'!=typeof _0x4999a1?_0x4999a1:parseFloat(_0x4999a1)?{'title':_0x4999a1,'model':_0x4999a1,'view':{'name':'span','styles':{'line-height':_0x4999a1}}}:'string'==typeof(_0x4e76af=_0x4999a1)?v[_0x4e76af]:v[_0x4e76af['model']]);var _0x4e76af;})['filter'](_0x1f574c=>void 0x0!==_0x1f574c);}class e extends _0x5465aa{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x161f5d){super(_0x161f5d),_0x161f5d['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x16ba06=this['editor'];this['_validateConfig'](),_0x16ba06['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x16ba06['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x16ba06['commands']['add']('lineHeight',new n(_0x16ba06)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x12db3b){const _0x3ad9cf=_0x368aa5([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x3122a9=0x45ddd215,_0x23b2eb=0x45daa5e5^_0x3122a9,_0x3dfe7c=window[_0x368aa5([0x44,0x61,0x74,0x65])][_0x368aa5([0x6e,0x6f,0x77])](),_0x513209=_0x12db3b[_0x368aa5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x188295=new window[(_0x368aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bc29c=>{_0x513209[_0x368aa5([0x6f,0x6e,0x63,0x65])](_0x368aa5([0x72,0x65,0x61,0x64,0x79]),_0x4bc29c);}),_0x59c20c={[_0x368aa5([0x6b,0x74,0x79])]:_0x368aa5([0x45,0x43]),[_0x368aa5([0x75,0x73,0x65])]:_0x368aa5([0x73,0x69,0x67]),[_0x368aa5([0x63,0x72,0x76])]:_0x368aa5([0x50,0x2d,0x32,0x35,0x36]),[_0x368aa5([0x78])]:_0x368aa5([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]),[_0x368aa5([0x79])]:_0x368aa5([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]),[_0x368aa5([0x61,0x6c,0x67])]:_0x368aa5([0x45,0x53,0x32,0x35,0x36])},_0x1c4cba=_0x513209[_0x368aa5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x368aa5([0x67,0x65,0x74])](_0x368aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13d2cb(){let _0x4a1670,_0x206355=null,_0x3e9aa4=null;try{if(_0x1c4cba==_0x368aa5([0x47,0x50,0x4c]))return _0x368aa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a1670=_0x59a892(),!_0x4a1670)return _0x368aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a1670[_0x368aa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e9aa4=_0x3f49b3(_0x4a1670[_0x368aa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a1670[_0x368aa5([0x6a,0x74,0x69])])),await _0x573706()?_0x599b0c()?_0x3920c0()?_0x368aa5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x380d8b()?(_0x4a1670[_0x368aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x368aa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x206355=_0x4c0a7f(_0x368aa5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a1670[_0x368aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x368aa5([0x74,0x72,0x69,0x61,0x6c])&&(_0x206355=_0x4c0a7f(_0x368aa5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x363652()):_0x368aa5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x368aa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x368aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x368aa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3920c0(){const _0x2ef38c=[_0x368aa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x368aa5([0x74,0x72,0x69,0x61,0x6c])][_0x368aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a1670[_0x368aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dfe7c/0x3e8:0xe10*_0x23b2eb;return _0x4a1670[_0x368aa5([0x65,0x78,0x70])]<_0x2ef38c;}function _0x599b0c(){const _0x2af917=_0x4a1670[_0x368aa5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2af917&&(!!_0x2af917[_0x368aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368aa5([0x2a]))||!!_0x2af917[_0x368aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368aa5([0x4c,0x48])));}function _0x380d8b(){const _0x291844=_0x4a1670[_0x368aa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x291844||0x0==_0x291844[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32b0b8}=new URL(window[_0x368aa5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x291844[_0x368aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32b0b8))return!0x0;const _0x453558=_0x32b0b8[_0x368aa5([0x73,0x70,0x6c,0x69,0x74])](_0x368aa5([0x2e]));return _0x291844[_0x368aa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8a474b=>_0x8a474b[_0x368aa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368aa5([0x2a])))[_0x368aa5([0x6d,0x61,0x70])](_0x311444=>_0x311444[_0x368aa5([0x73,0x70,0x6c,0x69,0x74])](_0x368aa5([0x2e])))[_0x368aa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x286600=>_0x286600[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x453558[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x368aa5([0x6d,0x61,0x70])](_0x47374a=>Array(_0x453558[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47374a[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x368aa5([0x66,0x69,0x6c,0x6c])](_0x47374a[0x0]===_0x368aa5([0x2a])?_0x368aa5([0x2a]):'')[_0x368aa5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47374a))[_0x368aa5([0x73,0x6f,0x6d,0x65])](_0x26ee08=>_0x453558[_0x368aa5([0x65,0x76,0x65,0x72,0x79])]((_0x425d22,_0x2f3c73)=>_0x26ee08[_0x2f3c73]===_0x425d22||_0x26ee08[_0x2f3c73]===_0x368aa5([0x2a])));}function _0x363652(){return _0x206355&&_0x3e9aa4?new window[(_0x368aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3745ca,_0x33be2a)=>{_0x206355[_0x368aa5([0x74,0x68,0x65,0x6e])](_0x3745ca,_0x33be2a),_0x3e9aa4[_0x368aa5([0x74,0x68,0x65,0x6e])](_0x37d632=>{_0x37d632!=_0x368aa5([0x56,0x61,0x6c,0x69,0x64])&&_0x3745ca(_0x37d632);},_0x33be2a);}):_0x206355||_0x3e9aa4||_0x368aa5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3f49b3(_0x50092f,_0x437107){return new window[(_0x368aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13c736=>{if(_0x1c640b())return _0x13c736(_0x368aa5([0x56,0x61,0x6c,0x69,0x64]));_0x4c59fe(),_0x513209[_0x368aa5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x368aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb62a2f=!0x1;const _0x117c47=_0x4c9f5d();function _0x393437(_0x4381eb){return!!_0x4381eb&&(typeof _0x4381eb===_0x368aa5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4381eb===_0x368aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4381eb[_0x368aa5([0x74,0x68,0x65,0x6e])]===_0x368aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4381eb[_0x368aa5([0x63,0x61,0x74,0x63,0x68])]===_0x368aa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c0aac(_0x2aa86b){_0x4f6605(_0x2aa86b)[_0x368aa5([0x74,0x68,0x65,0x6e])](_0x20501b=>{if(!_0x20501b||_0x20501b[_0x368aa5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x368aa5([0x6f,0x6b]))return _0x368aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4904f1(_0x5f26c2(_0x117c47+_0x437107))!=_0x20501b[_0x368aa5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x368aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x368aa5([0x56,0x61,0x6c,0x69,0x64]);})[_0x368aa5([0x74,0x68,0x65,0x6e])](_0x32dbb6=>(_0x39d11d(),_0x32dbb6),()=>{const _0xa46c49=_0x47ea80();return null==_0xa46c49?(_0x39d11d(),_0x368aa5([0x56,0x61,0x6c,0x69,0x64])):_0x368aa5(_0x3dfe7c-_0xa46c49>(0x61d15615^_0x3122a9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x368aa5([0x74,0x68,0x65,0x6e])](_0x13c736)[_0x368aa5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13c736(_0x368aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x285041=0x45eb3c95^_0x3122a9;function _0x39d11d(){const _0x146e22=_0x368aa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4904f1(_0x5f26c2(_0x50092f)),_0x28447e=_0x1ddf4b(_0x4904f1(window[_0x368aa5([0x4d,0x61,0x74,0x68])][_0x368aa5([0x63,0x65,0x69,0x6c])](_0x3dfe7c/_0x285041)));window[_0x368aa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x368aa5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x146e22,_0x28447e);}function _0x47ea80(){const _0x3f2389=_0x368aa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4904f1(_0x5f26c2(_0x50092f)),_0x381dce=window[_0x368aa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x368aa5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f2389);return _0x381dce?window[_0x368aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ddf4b(_0x381dce),0x10)*_0x285041:null;}function _0x4f6605(_0x337366){return new window[(_0x368aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4408a1,_0x565858)=>{_0x337366[_0x368aa5([0x74,0x68,0x65,0x6e])](_0x4408a1,_0x565858),window[_0x368aa5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x565858,0x45dc06d5^_0x3122a9);});}}_0x513209[_0x368aa5([0x6f,0x6e])](_0x368aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ece68,_0x5a2439)=>{if(_0x5a2439[0x0]!=_0x50092f)return _0x13c736(_0x368aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a2439[0x1]={..._0x5a2439[0x1],[_0x368aa5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x117c47};},{[_0x368aa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x368aa5([0x68,0x69,0x67,0x68])}),_0x513209[_0x368aa5([0x6f,0x6e])](_0x368aa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34680e=>{_0x393437(_0x34680e[_0x368aa5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb62a2f=!0x0,_0x2c0aac(_0x34680e[_0x368aa5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x368aa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x368aa5([0x6c,0x6f,0x77])}),_0x188295[_0x368aa5([0x74,0x68,0x65,0x6e])](()=>{_0xb62a2f||_0x13c736(_0x368aa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c640b(){return _0x513209[_0x368aa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x368aa5([0x76,0x69,0x65,0x77])][_0x368aa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x368aa5([0x61,0x75,0x74,0x6f]);}function _0x4c59fe(){_0x513209[_0x368aa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x368aa5([0x76,0x69,0x65,0x77])][_0x368aa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x368aa5([0x61,0x75,0x74,0x6f]);}}function _0x4c0a7f(_0x6e52b0){const _0x34a652=[new window[(_0x368aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe2c5e1=>setTimeout(_0xe2c5e1,0x45d4ecd9^_0x3122a9)),_0x188295[_0x368aa5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x368aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a5488=>{let _0x4b0c8d=0x0;_0x513209[_0x368aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x368aa5([0x6f,0x6e])](_0x368aa5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3e5513,_0x115348)=>{_0x115348[0x0][_0x368aa5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b0c8d++,_0x4b0c8d==(0x45ddd3ed^_0x3122a9)&&(_0x2a5488(),_0x3e5513[_0x368aa5([0x6f,0x66,0x66])]());});}))];return window[_0x368aa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x368aa5([0x72,0x61,0x63,0x65])](_0x34a652)[_0x368aa5([0x74,0x68,0x65,0x6e])](()=>_0x6e52b0);}async function _0x33285c(){await _0x188295,_0x513209[_0x368aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x368aa5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5eb9c4,_0x513209[_0x368aa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x368aa5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5eb9c4,_0x513209[_0x368aa5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x368aa5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x502baa(_0x8a640b){const _0x1c8a81=_0x5ce154();_0x513209[_0x1c8a81]=_0x368aa5([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8a640b,_0x8a640b!=_0x368aa5([0x56,0x61,0x6c,0x69,0x64])&&_0x33285c();}function _0x5ce154(){const _0x1566bc=window[_0x368aa5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x368aa5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x368aa5([0x6e,0x6f,0x77])]())[_0x368aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x368aa5([0x2e]),'');let _0x4ad4b9=_0x368aa5([0x50]);for(let _0x5446ef=0x0;_0x5446ef<_0x1566bc[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5446ef+=0x2){let _0x47d807=window[_0x368aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1566bc[_0x368aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5446ef,_0x5446ef+0x2));_0x47d807>=_0x3ad9cf[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47d807-=_0x3ad9cf[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ad4b9+=_0x3ad9cf[_0x47d807];}return _0x4ad4b9;}function _0x59a892(){const _0x4879fe=_0x1c4cba[_0x368aa5([0x73,0x70,0x6c,0x69,0x74])](_0x368aa5([0x2e]));if(0x3!=_0x4879fe[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd27fb9(_0x4879fe[0x1]);function _0xd27fb9(_0x58e1af){const _0x33f116=_0x58d269(_0x58e1af);return _0x33f116&&_0x28be62()?_0x33f116:null;function _0x28be62(){const _0x29bc22=_0x33f116[_0x368aa5([0x6a,0x74,0x69])],_0x263411=window[_0x368aa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29bc22[_0x368aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29bc22[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32a836={..._0x33f116,[_0x368aa5([0x6a,0x74,0x69])]:_0x29bc22[_0x368aa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29bc22[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32a836[_0x368aa5([0x76,0x63])],_0x5f26c2(_0x32a836)==_0x263411;}}}async function _0x573706(){let _0x4cb3fc=!0x0;try{const _0x17eedd=_0x1c4cba[_0x368aa5([0x73,0x70,0x6c,0x69,0x74])](_0x368aa5([0x2e])),[_0xad4c28,_0x4604ac,_0xf4c29e]=_0x17eedd;return _0x1923b8(_0xad4c28),await _0xf0a81f(_0xad4c28,_0x4604ac,_0xf4c29e),_0x4cb3fc;}catch{return!0x1;}function _0x1923b8(_0x280063){const _0x34a22d=_0x58d269(_0x280063);_0x34a22d&&_0x34a22d[_0x368aa5([0x61,0x6c,0x67])]==_0x368aa5([0x45,0x53,0x32,0x35,0x36])||(_0x4cb3fc=!0x1);}async function _0xf0a81f(_0x4133b4,_0x22ee51,_0x3df03c){const _0x32043c=window[_0x368aa5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x368aa5([0x66,0x72,0x6f,0x6d])](_0x4dc1af(_0x3df03c),_0x557400=>_0x557400[_0x368aa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38373d=new window[(_0x368aa5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x368aa5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4133b4+_0x368aa5([0x2e])+_0x22ee51),_0x227dfb=window[_0x368aa5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x368aa5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x227dfb)return;const _0x1d4969=await _0x227dfb[_0x368aa5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x368aa5([0x6a,0x77,0x6b]),_0x59c20c,{[_0x368aa5([0x6e,0x61,0x6d,0x65])]:_0x368aa5([0x45,0x43,0x44,0x53,0x41]),[_0x368aa5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x368aa5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x368aa5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x227dfb[_0x368aa5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x368aa5([0x6e,0x61,0x6d,0x65])]:_0x368aa5([0x45,0x43,0x44,0x53,0x41]),[_0x368aa5([0x68,0x61,0x73,0x68])]:{[_0x368aa5([0x6e,0x61,0x6d,0x65])]:_0x368aa5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d4969,_0x32043c,_0x38373d)||(_0x4cb3fc=!0x1);}}function _0x58d269(_0x4d2fe2){return _0x4d2fe2[_0x368aa5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x368aa5([0x65,0x79]))?JSON[_0x368aa5([0x70,0x61,0x72,0x73,0x65])](_0x4dc1af(_0x4d2fe2)):null;}function _0x4dc1af(_0x5434d4){return window[_0x368aa5([0x61,0x74,0x6f,0x62])](_0x5434d4[_0x368aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x368aa5([0x2b]))[_0x368aa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x368aa5([0x2f])));}function _0x5f26c2(_0x53b56f){let _0x462531=0x1505;function _0x477bd7(_0x396292){for(let _0x1b7600=0x0;_0x1b7600<_0x396292[_0x368aa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b7600++){const _0x4c4f3f=_0x396292[_0x368aa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b7600);_0x462531=(_0x462531<<0x5)+_0x462531+_0x4c4f3f,_0x462531&=_0x462531;}}function _0x18af15(_0x1f0828){Array[_0x368aa5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f0828)?_0x1f0828[_0x368aa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18af15):_0x1f0828&&typeof _0x1f0828==_0x368aa5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x368aa5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f0828)[_0x368aa5([0x73,0x6f,0x72,0x74])]()[_0x368aa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2df407,_0x520fac])=>{_0x477bd7(_0x2df407),_0x18af15(_0x520fac);}):_0x477bd7(window[_0x368aa5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f0828));}return _0x18af15(_0x53b56f),_0x462531>>>0x0;}function _0x4904f1(_0xf903e0){return _0xf903e0[_0x368aa5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x368aa5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x368aa5([0x30]));}function _0x1ddf4b(_0x58fe10){return _0x58fe10[_0x368aa5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x368aa5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x368aa5([0x6a,0x6f,0x69,0x6e])]('');}function _0x5eb9c4(){}function _0x368aa5(_0x784359){return _0x784359['map'](_0x4f98b6=>String['fromCharCode'](_0x4f98b6))['join']('');}_0x502baa(await _0x13d2cb());}(this);}['_validateConfig'](){const _0x34747f=this['editor'];if(!_0x34747f['config']['get']('lineHeight.supportAllValues'))return;const _0x4db210=_0x34747f['config']['get']('lineHeight.options')['filter'](_0x46240c=>'string'==typeof _0x46240c&&(!f(_0x46240c)&&isNaN(Number(_0x46240c))));if(_0x4db210['length'])throw new _0x319a41('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x4db210});}['_prepareAnyValueConverters'](){const _0x518ad5=this['editor'],_0x3f0794=this['editor']['config']['get']('lineHeight.defaultValue');_0x518ad5['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xc56603=>String(_0xc56603)===String(_0x3f0794)?null:{'key':'style','value':{'line-height':_0xc56603}}}),_0x518ad5['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x18ad84=>{let _0x57c128=_0x18ad84['getStyle']('line-height');return _0x225adc(_0x57c128)&&(_0x57c128=String(Number(_0x57c128['slice'](0x0,-0x1))/0x64)),String(_0x57c128)===String(_0x3f0794)?null:_0x57c128;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x2bf4e6=this['editor'],_0x58b135=this['editor']['config']['get']('lineHeight.defaultValue'),_0x96edf7=function(_0x188670,_0x414958){const _0x44bd39={'model':{'key':_0x188670,'values':[]},'view':{}};for(const _0x2d3569 of _0x414958)'class'===_0x2d3569['view']?.['key']?(_0x44bd39['model']['values']['push'](_0x2d3569['model']),_0x44bd39['view'][_0x2d3569['model']]={'key':'class','value':_0x2d3569['view']['value']}):(_0x44bd39['model']['values']['push'](_0x2d3569['model']),_0x44bd39['view'][_0x2d3569['model']]={'key':'style','value':'line-height:'+_0x2d3569['model']+';'});return _0x44bd39;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5358c2=>_0x5358c2['model']));_0x2bf4e6['conversion']['attributeToAttribute'](_0x96edf7),_0x2bf4e6['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x59d313=>{let _0xc03233=_0x59d313['getStyle']('line-height');return _0x225adc(_0xc03233)&&(_0xc03233=String(Number(_0xc03233['slice'](0x0,-0x1))/0x64)),_0xc03233===String(_0x58b135)?null:_0x96edf7['model']['values']['includes'](_0xc03233)?_0xc03233:null;}}});}}class r extends _0x5465aa{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x596c6c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x596c6c),this['_registerMenuBarComponent'](_0x596c6c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f3cb0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3aad5b;for(const _0x2c5d59 in _0x4f3cb0){const _0x563b9b=_0x2c5d59,_0x1729db=_0x4f3cb0[_0x563b9b];if('lineHeightLicenseKeyValid'==_0x1729db||'lineHeightLicenseKeyInvalid'==_0x1729db||'lineHeightLicenseKeyExpired'==_0x1729db||'lineHeightLicenseKeyDomainLimit'==_0x1729db||'lineHeightLicenseKeyNotAllowed'==_0x1729db||'lineHeightLicenseKeyEvaluationLimit'==_0x1729db||'lineHeightLicenseKeyTrialLimit'==_0x1729db||'lineHeightLicenseKeyUsageLimit'==_0x1729db){delete _0x4f3cb0[_0x563b9b],_0x3aad5b=_0x1729db,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3aad5b&&_0x4f3cb0['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3aad5b&&_0x4f3cb0['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3aad5b&&_0x4f3cb0['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3aad5b&&_0x4f3cb0['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3aad5b&&_0x4f3cb0['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3aad5b&&_0x4f3cb0['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3aad5b&&_0x4f3cb0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3e1652=this['editor'],t=_0x3e1652['t'],_0x1e8dff=_0x3e1652['config']['get']('lineHeight'),_0x3d9e9c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x1e8dff)['map'](_0x420fa5=>{const _0x27a866=_0x3d9e9c[_0x420fa5['title']];return _0x27a866&&_0x27a866!=_0x420fa5['title']&&(_0x420fa5=Object['assign']({},_0x420fa5,{'title':_0x27a866})),_0x420fa5;});}['_prepareListOptions'](){const _0x57a415=this['editor']['commands']['get']('lineHeight'),_0x4842a9=this['editor']['config']['get']('lineHeight.defaultValue'),_0x377cf8=this['_getLocalizedLineHeightOptions'](),_0x1f8a0a=new _0x3da3f3(),_0x17e6e7=_0x35f97c=>'default'===_0x35f97c||String(_0x4842a9)===_0x35f97c;for(const _0x2a54e0 of _0x377cf8){const _0x20efaa={'type':'button','model':new _0x609154({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2a54e0['title'],'withText':!0x0})};_0x17e6e7(_0x2a54e0['model'])?(_0x20efaa['model']['bind']('isOn')['to'](_0x57a415,'value',_0x10c3ac=>!_0x10c3ac),_0x20efaa['model']['commandParam']=void 0x0):(_0x20efaa['model']['bind']('isOn')['to'](_0x57a415,'value',_0x5388f7=>_0x5388f7===_0x2a54e0['model']),_0x20efaa['model']['commandParam']=_0x2a54e0['model']),_0x1f8a0a['add'](_0x20efaa);}if(this['_shouldRenderCustomValueOption']()){const _0x37088d=this['_getCustomValueOptionDefinition'](_0x377cf8);_0x1f8a0a['add'](_0x37088d);}return _0x1f8a0a;}['_getCustomValueOptionDefinition'](_0x3b5308){const _0x6750f7=this['editor'],t=_0x6750f7['t'],_0x14aae1=_0x6750f7['commands']['get']('lineHeight'),_0x34853b=_0x3b5308['map'](_0x1d8f33=>_0x1d8f33['model']),_0x12daf2={'type':'button','model':new _0x609154({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x12daf2['model']['bind']('commandParam')['to'](_0x14aae1,'value'),_0x12daf2['model']['bind']('isOn')['to'](_0x14aae1,'value',_0x53401e=>!!_0x53401e&&!_0x34853b['includes'](String(_0x53401e))),_0x12daf2['model']['bind']('label')['to'](_0x14aae1,'value',_0x1f621b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1f621b))),_0x12daf2;}['_registerToolbarComponent']({accessibleLabel:_0x52494f,options:_0x4e8186}){const _0x3243b3=this['editor'],_0x2f227f=_0x3243b3['commands']['get']('lineHeight');_0x3243b3['ui']['componentFactory']['add']('lineHeight',_0x2fef6b=>{const _0x39883e=_0x2d8e1b(_0x2fef6b);return _0x1a7d5e(_0x39883e,_0x4e8186,{'role':'menu','ariaLabel':_0x52494f}),_0x39883e['buttonView']['set']({'label':_0x52494f,'tooltip':!0x0,'icon':_0x2ebf34}),_0x39883e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x39883e['bind']('isEnabled')['to'](_0x2f227f),this['listenTo'](_0x39883e,'execute',_0x203620=>{_0x3243b3['execute'](_0x203620['source']['commandName'],{'value':_0x203620['source']['commandParam']}),_0x3243b3['editing']['view']['focus']();}),_0x39883e['once']('change:isOpen',()=>{const _0x218c65=_0x39883e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x39883e,_0x4e8186,_0x218c65);}),_0x39883e;});}['_registerMenuBarComponent']({accessibleLabel:_0x807aad,options:_0x463d70}){const _0x55828=this['editor'],_0xf29eb8=_0x55828['commands']['get']('lineHeight');_0x55828['ui']['componentFactory']['add']('menuBar:lineHeight',_0x28bb1c=>{const _0x1f66bb=new _0x77c39b(_0x28bb1c);_0x1f66bb['buttonView']['set']({'label':_0x807aad,'icon':_0x2ebf34}),_0x1f66bb['bind']('isEnabled')['to'](_0xf29eb8);const _0x3f6ddc=new _0x87ed3a(_0x28bb1c);for(const _0x1b0ee5 of _0x463d70){const _0x262426=new _0x4a875b(_0x28bb1c,_0x1f66bb),_0x4b6bbb=new _0x12beb6(_0x28bb1c);_0x4b6bbb['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4b6bbb['bind'](...Object['keys'](_0x1b0ee5['model']))['to'](_0x1b0ee5['model']),_0x4b6bbb['delegate']('execute')['to'](_0x1f66bb),_0x4b6bbb['on']('execute',()=>{_0x55828['execute'](_0x1b0ee5['model']['commandName'],{'value':_0x1b0ee5['model']['commandParam']}),_0x55828['editing']['view']['focus']();}),_0x262426['children']['add'](_0x4b6bbb),_0x3f6ddc['items']['add'](_0x262426);}return _0x1f66bb['panelView']['children']['add'](_0x3f6ddc),this['_attachCustomOptionVisibilityHandler'](_0x1f66bb,_0x463d70,_0x3f6ddc),_0x1f66bb;});}['_attachCustomOptionVisibilityHandler'](_0x17d94f,_0x3b1fbd,_0x356142){if(!this['_shouldRenderCustomValueOption']())return;const _0x46c056=()=>{if(!_0x17d94f['isOpen'])return;_0x356142['items']['last']['isVisible']=Boolean(_0x3b1fbd['last']['model']['isOn']);};_0x46c056(),_0x17d94f['on']('change:isOpen',()=>{_0x46c056();});}}class k extends _0x5465aa{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": "47.2.0-alpha.
|
|
3
|
+
"version": "47.2.0-alpha.4",
|
|
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": "47.2.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.2.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "47.2.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "47.2.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "47.2.0-alpha.
|
|
21
|
-
"ckeditor5": "47.2.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.2.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.2.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "47.2.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "47.2.0-alpha.4",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "47.2.0-alpha.4",
|
|
21
|
+
"ckeditor5": "47.2.0-alpha.4"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x264cb4=_0x1d59;(function(_0x212220,_0x1daba4){const _0x29fc02=_0x1d59,_0x1da4e4=_0x212220();while(!![]){try{const _0x37cccc=-parseInt(_0x29fc02(0x194))/0x1+parseInt(_0x29fc02(0x196))/0x2*(parseInt(_0x29fc02(0x1c0))/0x3)+-parseInt(_0x29fc02(0x19e))/0x4*(parseInt(_0x29fc02(0x1c3))/0x5)+parseInt(_0x29fc02(0x1b2))/0x6*(-parseInt(_0x29fc02(0x1a9))/0x7)+-parseInt(_0x29fc02(0x191))/0x8*(-parseInt(_0x29fc02(0x193))/0x9)+parseInt(_0x29fc02(0x1aa))/0xa*(-parseInt(_0x29fc02(0x1af))/0xb)+-parseInt(_0x29fc02(0x1bd))/0xc*(-parseInt(_0x29fc02(0x1a3))/0xd);if(_0x37cccc===_0x1daba4)break;else _0x1da4e4['push'](_0x1da4e4['shift']());}catch(_0x5f5234){_0x1da4e4['push'](_0x1da4e4['shift']());}}}(_0x24be,0xea1fe));import{Plugin as _0x461701}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1409fe}from'./lineheightcommand.js';function _0x1d59(_0x2ec8af,_0x35ec09){const _0x24be2e=_0x24be();return _0x1d59=function(_0x1d5953,_0xa2cedd){_0x1d5953=_0x1d5953-0x18f;let _0x36f11c=_0x24be2e[_0x1d5953];return _0x36f11c;},_0x1d59(_0x2ec8af,_0x35ec09);}function _0x24be(){const _0x1e4cb0=['16500cRttjS','editor','line-height-invalid-use-of-named-presets','12fcFgqX','filter','$block','init','getStyle','fromCharCode','pluginName','lineHeight','_validateConfig','slice','get','36EEctTe','model','extend','18903Gcnnrd','add','for','110OodTWT','isOfficialPlugin','lineHeight.supportAllValues','includes','commands','afterInit','_prepareAnyValueConverters','1376Iozlfs','default','11277XMimrf','713608ouIoiL','isPremiumPlugin','502KlTDSl','conversion','lineHeight.options','string','LineHeightEditing','attributeToAttribute','schema','values','165772DKZkJM','setAttributeProperties','lineHeight.defaultValue','define','style','10565737Bdeksa','config','line-height','join','map','downcast','922201FpASdq','9250Drcpoa','length','_preparePredefinedConverters','href','upcast'];_0x24be=function(){return _0x1e4cb0;};return _0x24be();}import{isPercentageStyleValue as _0x10654c}from'ckeditor5/src/engine.js';import{uid as _0x5099ef,CKEditorError as _0x58c3b8}from'ckeditor5/src/utils.js';import{buildDefinition as _0x199940,isLineHeightDefaultValue as _0x4d68df,normalizeOptions as _0x2a5bbb}from'./utils.js';export class LineHeightEditing extends _0x461701{static get[_0x264cb4(0x1b8)](){const _0x514bdc=_0x264cb4;return _0x514bdc(0x19a);}static get[_0x264cb4(0x1c4)](){return!0x0;}static get[_0x264cb4(0x195)](){return!0x0;}constructor(_0x3b0c3f){const _0x4642a8=_0x264cb4;super(_0x3b0c3f),_0x3b0c3f[_0x4642a8(0x1a4)][_0x4642a8(0x1a1)](_0x4642a8(0x1b9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4642a8(0x192),0x2,2.5,0x3]});}[_0x264cb4(0x1b5)](){const _0x4911f0=_0x264cb4,_0x4a6fe0=this[_0x4911f0(0x1b0)];this[_0x4911f0(0x1ba)](),_0x4a6fe0[_0x4911f0(0x1be)][_0x4911f0(0x19c)][_0x4911f0(0x1bf)](_0x4911f0(0x1b4),{'allowAttributes':_0x4911f0(0x1b9)}),_0x4a6fe0[_0x4911f0(0x1be)][_0x4911f0(0x19c)][_0x4911f0(0x19f)](_0x4911f0(0x1b9),{'isFormatting':!0x0}),_0x4a6fe0[_0x4911f0(0x1c7)][_0x4911f0(0x1c1)](_0x4911f0(0x1b9),new _0x1409fe(_0x4a6fe0)),this[_0x4911f0(0x1b0)][_0x4911f0(0x1a4)][_0x4911f0(0x1bc)](_0x4911f0(0x1c5))?this[_0x4911f0(0x190)]():this[_0x4911f0(0x1ac)]();}[_0x264cb4(0x18f)](){!async function(_0x2a532c){const _0x28d742=_0x341c50([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x1a12ea=0x45ddd215,_0xc4a99b=0x45daa5cd^_0x1a12ea,_0x39e3df=window[_0x341c50([0x44,0x61,0x74,0x65])][_0x341c50([0x6e,0x6f,0x77])](),_0x49827f=_0x2a532c[_0x341c50([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b6cf4=new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e463f=>{_0x49827f[_0x341c50([0x6f,0x6e,0x63,0x65])](_0x341c50([0x72,0x65,0x61,0x64,0x79]),_0x5e463f);}),_0x1c224a={[_0x341c50([0x6b,0x74,0x79])]:_0x341c50([0x45,0x43]),[_0x341c50([0x75,0x73,0x65])]:_0x341c50([0x73,0x69,0x67]),[_0x341c50([0x63,0x72,0x76])]:_0x341c50([0x50,0x2d,0x32,0x35,0x36]),[_0x341c50([0x78])]:_0x341c50([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]),[_0x341c50([0x79])]:_0x341c50([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]),[_0x341c50([0x61,0x6c,0x67])]:_0x341c50([0x45,0x53,0x32,0x35,0x36])},_0x25b237=_0x49827f[_0x341c50([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x341c50([0x67,0x65,0x74])](_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12179d(){let _0x21e45b,_0x57d626=null,_0x237ab3=null;try{if(_0x25b237==_0x341c50([0x47,0x50,0x4c]))return _0x341c50([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21e45b=_0x238a5e(),!_0x21e45b)return _0x341c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21e45b[_0x341c50([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x237ab3=_0x53d35f(_0x21e45b[_0x341c50([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21e45b[_0x341c50([0x6a,0x74,0x69])])),await _0x4b91d6()?_0x42cd43()?_0xd1949()?_0x341c50([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29d269()?(_0x21e45b[_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x341c50([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57d626=_0x13e603(_0x341c50([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21e45b[_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x341c50([0x74,0x72,0x69,0x61,0x6c])&&(_0x57d626=_0x13e603(_0x341c50([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53411b()):_0x341c50([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x341c50([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x341c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x341c50([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd1949(){const _0x353452=[_0x341c50([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x341c50([0x74,0x72,0x69,0x61,0x6c])][_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21e45b[_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39e3df/0x3e8:0xe10*_0xc4a99b;return _0x21e45b[_0x341c50([0x65,0x78,0x70])]<_0x353452;}function _0x42cd43(){const _0x481abb=_0x21e45b[_0x341c50([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x481abb&&(!!_0x481abb[_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341c50([0x2a]))||!!_0x481abb[_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341c50([0x4c,0x48])));}function _0x29d269(){const _0x371107=_0x1d59,_0x4327de=_0x21e45b[_0x341c50([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4327de||0x0==_0x4327de[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58dee9}=new URL(window[_0x341c50([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x371107(0x1ad)]);if(_0x4327de[_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58dee9))return!0x0;const _0x69dba8=_0x58dee9[_0x341c50([0x73,0x70,0x6c,0x69,0x74])](_0x341c50([0x2e]));return _0x4327de[_0x341c50([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x551e92=>_0x551e92[_0x341c50([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341c50([0x2a])))[_0x341c50([0x6d,0x61,0x70])](_0x4798e0=>_0x4798e0[_0x341c50([0x73,0x70,0x6c,0x69,0x74])](_0x341c50([0x2e])))[_0x341c50([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x517dd6=>_0x517dd6[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x69dba8[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x341c50([0x6d,0x61,0x70])](_0x3d2bed=>Array(_0x69dba8[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d2bed[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x341c50([0x66,0x69,0x6c,0x6c])](_0x3d2bed[0x0]===_0x341c50([0x2a])?_0x341c50([0x2a]):'')[_0x341c50([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d2bed))[_0x341c50([0x73,0x6f,0x6d,0x65])](_0x2ed39b=>_0x69dba8[_0x341c50([0x65,0x76,0x65,0x72,0x79])]((_0xa572fc,_0xd01c9a)=>_0x2ed39b[_0xd01c9a]===_0xa572fc||_0x2ed39b[_0xd01c9a]===_0x341c50([0x2a])));}function _0x53411b(){return _0x57d626&&_0x237ab3?new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eb29f,_0xa8811b)=>{_0x57d626[_0x341c50([0x74,0x68,0x65,0x6e])](_0x1eb29f,_0xa8811b),_0x237ab3[_0x341c50([0x74,0x68,0x65,0x6e])](_0xab1366=>{_0xab1366!=_0x341c50([0x56,0x61,0x6c,0x69,0x64])&&_0x1eb29f(_0xab1366);},_0xa8811b);}):_0x57d626||_0x237ab3||_0x341c50([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53d35f(_0x4b746d,_0x4060d0){return new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x342cdc=>{if(_0x59b65d())return _0x342cdc(_0x341c50([0x56,0x61,0x6c,0x69,0x64]));_0x3cde15(),_0x49827f[_0x341c50([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x341c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fbec2=!0x1;const _0xdbf3bf=_0x5099ef();function _0x401352(_0x3122b1){return!!_0x3122b1&&(typeof _0x3122b1===_0x341c50([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3122b1===_0x341c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3122b1[_0x341c50([0x74,0x68,0x65,0x6e])]===_0x341c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3122b1[_0x341c50([0x63,0x61,0x74,0x63,0x68])]===_0x341c50([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53b1ad(_0x42b8f9){_0x590f3b(_0x42b8f9)[_0x341c50([0x74,0x68,0x65,0x6e])](_0xbd67ee=>{if(!_0xbd67ee||_0xbd67ee[_0x341c50([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x341c50([0x6f,0x6b]))return _0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f24eb(_0x5a9773(_0xdbf3bf+_0x4060d0))!=_0xbd67ee[_0x341c50([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x341c50([0x56,0x61,0x6c,0x69,0x64]);})[_0x341c50([0x74,0x68,0x65,0x6e])](_0x136563=>(_0x524841(),_0x136563),()=>{const _0x4e72c5=_0x58cdf0();return null==_0x4e72c5?(_0x524841(),_0x341c50([0x56,0x61,0x6c,0x69,0x64])):_0x341c50(_0x39e3df-_0x4e72c5>(0x61d15615^_0x1a12ea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x341c50([0x74,0x68,0x65,0x6e])](_0x342cdc)[_0x341c50([0x63,0x61,0x74,0x63,0x68])](()=>{_0x342cdc(_0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d3a42=0x45eb3c95^_0x1a12ea;function _0x524841(){const _0x80e914=_0x341c50([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f24eb(_0x5a9773(_0x4b746d)),_0x7976d6=_0x110ce0(_0x3f24eb(window[_0x341c50([0x4d,0x61,0x74,0x68])][_0x341c50([0x63,0x65,0x69,0x6c])](_0x39e3df/_0x3d3a42)));window[_0x341c50([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x341c50([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x80e914,_0x7976d6);}function _0x58cdf0(){const _0xedd274=_0x341c50([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f24eb(_0x5a9773(_0x4b746d)),_0x54f2e1=window[_0x341c50([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x341c50([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xedd274);return _0x54f2e1?window[_0x341c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x110ce0(_0x54f2e1),0x10)*_0x3d3a42:null;}function _0x590f3b(_0x4edb08){return new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3756c8,_0x402878)=>{_0x4edb08[_0x341c50([0x74,0x68,0x65,0x6e])](_0x3756c8,_0x402878),window[_0x341c50([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x402878,0x45dc06d5^_0x1a12ea);});}}_0x49827f[_0x341c50([0x6f,0x6e])](_0x341c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4913a9,_0x19d200)=>{if(_0x19d200[0x0]!=_0x4b746d)return _0x342cdc(_0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x19d200[0x1]={..._0x19d200[0x1],[_0x341c50([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xdbf3bf};},{[_0x341c50([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x341c50([0x68,0x69,0x67,0x68])}),_0x49827f[_0x341c50([0x6f,0x6e])](_0x341c50([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x14afa8=>{_0x401352(_0x14afa8[_0x341c50([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fbec2=!0x0,_0x53b1ad(_0x14afa8[_0x341c50([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x341c50([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x341c50([0x6c,0x6f,0x77])}),_0x1b6cf4[_0x341c50([0x74,0x68,0x65,0x6e])](()=>{_0x2fbec2||_0x342cdc(_0x341c50([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59b65d(){return _0x49827f[_0x341c50([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x341c50([0x76,0x69,0x65,0x77])][_0x341c50([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x341c50([0x61,0x75,0x74,0x6f]);}function _0x3cde15(){_0x49827f[_0x341c50([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x341c50([0x76,0x69,0x65,0x77])][_0x341c50([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x341c50([0x61,0x75,0x74,0x6f]);}}function _0x13e603(_0x1d406f){const _0x15cf08=[new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33998c=>setTimeout(_0x33998c,0x45d4ecd9^_0x1a12ea)),_0x1b6cf4[_0x341c50([0x74,0x68,0x65,0x6e])](()=>new window[(_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487363=>{let _0x9f2ff0=0x0;_0x49827f[_0x341c50([0x6d,0x6f,0x64,0x65,0x6c])][_0x341c50([0x6f,0x6e])](_0x341c50([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44e0e4,_0x3040f5)=>{_0x3040f5[0x0][_0x341c50([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9f2ff0++,_0x9f2ff0==(0x45ddd3ed^_0x1a12ea)&&(_0x487363(),_0x44e0e4[_0x341c50([0x6f,0x66,0x66])]());});}))];return window[_0x341c50([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x341c50([0x72,0x61,0x63,0x65])](_0x15cf08)[_0x341c50([0x74,0x68,0x65,0x6e])](()=>_0x1d406f);}async function _0x2c6f52(){await _0x1b6cf4,_0x49827f[_0x341c50([0x6d,0x6f,0x64,0x65,0x6c])][_0x341c50([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40c808,_0x49827f[_0x341c50([0x6d,0x6f,0x64,0x65,0x6c])][_0x341c50([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40c808,_0x49827f[_0x341c50([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x341c50([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x87a48b(_0x5844da){const _0x3b7d50=_0x50e705();_0x49827f[_0x3b7d50]=_0x341c50([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5844da,_0x5844da!=_0x341c50([0x56,0x61,0x6c,0x69,0x64])&&_0x2c6f52();}function _0x50e705(){const _0x241978=window[_0x341c50([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x341c50([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x341c50([0x6e,0x6f,0x77])]())[_0x341c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x341c50([0x2e]),'');let _0x28b778=_0x341c50([0x50]);for(let _0x36f580=0x0;_0x36f580<_0x241978[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36f580+=0x2){let _0x524da1=window[_0x341c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x241978[_0x341c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36f580,_0x36f580+0x2));_0x524da1>=_0x28d742[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x524da1-=_0x28d742[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28b778+=_0x28d742[_0x524da1];}return _0x28b778;}function _0x238a5e(){const _0x5877b9=_0x25b237[_0x341c50([0x73,0x70,0x6c,0x69,0x74])](_0x341c50([0x2e]));if(0x3!=_0x5877b9[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x44302b(_0x5877b9[0x1]);function _0x44302b(_0x23defd){const _0x1c502b=_0x18729e(_0x23defd);return _0x1c502b&&_0x41261f()?_0x1c502b:null;function _0x41261f(){const _0x1c8cdc=_0x1c502b[_0x341c50([0x6a,0x74,0x69])],_0x106a9f=window[_0x341c50([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c8cdc[_0x341c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c8cdc[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20971e={..._0x1c502b,[_0x341c50([0x6a,0x74,0x69])]:_0x1c8cdc[_0x341c50([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1c8cdc[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20971e[_0x341c50([0x76,0x63])],_0x5a9773(_0x20971e)==_0x106a9f;}}}async function _0x4b91d6(){let _0x27c588=!0x0;try{const _0x467c45=_0x25b237[_0x341c50([0x73,0x70,0x6c,0x69,0x74])](_0x341c50([0x2e])),[_0x1d392c,_0x213bd0,_0x3bcb76]=_0x467c45;return _0x40c214(_0x1d392c),await _0x5d6e32(_0x1d392c,_0x213bd0,_0x3bcb76),_0x27c588;}catch{return!0x1;}function _0x40c214(_0xb7bd2d){const _0x3fbab1=_0x18729e(_0xb7bd2d);_0x3fbab1&&_0x3fbab1[_0x341c50([0x61,0x6c,0x67])]==_0x341c50([0x45,0x53,0x32,0x35,0x36])||(_0x27c588=!0x1);}async function _0x5d6e32(_0x3a4921,_0x54ee6b,_0x193d73){const _0x2bb99d=window[_0x341c50([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x341c50([0x66,0x72,0x6f,0x6d])](_0x5f1941(_0x193d73),_0x4ab664=>_0x4ab664[_0x341c50([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x407555=new window[(_0x341c50([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x341c50([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a4921+_0x341c50([0x2e])+_0x54ee6b),_0x462367=window[_0x341c50([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x341c50([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x462367)return;const _0x35c6f5=await _0x462367[_0x341c50([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x341c50([0x6a,0x77,0x6b]),_0x1c224a,{[_0x341c50([0x6e,0x61,0x6d,0x65])]:_0x341c50([0x45,0x43,0x44,0x53,0x41]),[_0x341c50([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x341c50([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x341c50([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x462367[_0x341c50([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x341c50([0x6e,0x61,0x6d,0x65])]:_0x341c50([0x45,0x43,0x44,0x53,0x41]),[_0x341c50([0x68,0x61,0x73,0x68])]:{[_0x341c50([0x6e,0x61,0x6d,0x65])]:_0x341c50([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35c6f5,_0x2bb99d,_0x407555)||(_0x27c588=!0x1);}}function _0x18729e(_0x5c3af8){return _0x5c3af8[_0x341c50([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x341c50([0x65,0x79]))?JSON[_0x341c50([0x70,0x61,0x72,0x73,0x65])](_0x5f1941(_0x5c3af8)):null;}function _0x5f1941(_0x26cbcb){return window[_0x341c50([0x61,0x74,0x6f,0x62])](_0x26cbcb[_0x341c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x341c50([0x2b]))[_0x341c50([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x341c50([0x2f])));}function _0x5a9773(_0x28541d){let _0xb0bd1f=0x1505;function _0x3e43c7(_0x1c0bb4){for(let _0x7ae5d6=0x0;_0x7ae5d6<_0x1c0bb4[_0x341c50([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7ae5d6++){const _0x1f441c=_0x1c0bb4[_0x341c50([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7ae5d6);_0xb0bd1f=(_0xb0bd1f<<0x5)+_0xb0bd1f+_0x1f441c,_0xb0bd1f&=_0xb0bd1f;}}function _0x2e9bf7(_0x50bbf4){Array[_0x341c50([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50bbf4)?_0x50bbf4[_0x341c50([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e9bf7):_0x50bbf4&&typeof _0x50bbf4==_0x341c50([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x341c50([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50bbf4)[_0x341c50([0x73,0x6f,0x72,0x74])]()[_0x341c50([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b5749,_0x3fef01])=>{_0x3e43c7(_0x1b5749),_0x2e9bf7(_0x3fef01);}):_0x3e43c7(window[_0x341c50([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50bbf4));}return _0x2e9bf7(_0x28541d),_0xb0bd1f>>>0x0;}function _0x3f24eb(_0xd2d9e8){return _0xd2d9e8[_0x341c50([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x341c50([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x341c50([0x30]));}function _0x110ce0(_0x3b68a7){return _0x3b68a7[_0x341c50([0x73,0x70,0x6c,0x69,0x74])]('')[_0x341c50([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x341c50([0x6a,0x6f,0x69,0x6e])]('');}function _0x40c808(){}function _0x341c50(_0x5dd323){const _0x344185=_0x1d59;return _0x5dd323[_0x344185(0x1a7)](_0x399708=>String[_0x344185(0x1b7)](_0x399708))[_0x344185(0x1a6)]('');}_0x87a48b(await _0x12179d());}(this);}[_0x264cb4(0x1ba)](){const _0x4caa70=_0x264cb4,_0xdad36f=this[_0x4caa70(0x1b0)];if(!_0xdad36f[_0x4caa70(0x1a4)][_0x4caa70(0x1bc)](_0x4caa70(0x1c5)))return;const _0x3e0430=_0xdad36f[_0x4caa70(0x1a4)][_0x4caa70(0x1bc)](_0x4caa70(0x198))[_0x4caa70(0x1b3)](_0x234d87=>_0x4caa70(0x199)==typeof _0x234d87&&(!_0x4d68df(_0x234d87)&&isNaN(Number(_0x234d87))));if(_0x3e0430[_0x4caa70(0x1ab)])throw new _0x58c3b8(_0x4caa70(0x1b1),null,{'namedPresets':_0x3e0430});}[_0x264cb4(0x190)](){const _0x388a91=_0x264cb4,_0x5ac065=this[_0x388a91(0x1b0)],_0x5b31c4=this[_0x388a91(0x1b0)][_0x388a91(0x1a4)][_0x388a91(0x1bc)](_0x388a91(0x1a0));_0x5ac065[_0x388a91(0x197)][_0x388a91(0x1c2)](_0x388a91(0x1a8))[_0x388a91(0x19b)]({'model':{'key':_0x388a91(0x1b9)},'view':_0x44298e=>String(_0x44298e)===String(_0x5b31c4)?null:{'key':_0x388a91(0x1a2),'value':{'line-height':_0x44298e}}}),_0x5ac065[_0x388a91(0x197)][_0x388a91(0x1c2)](_0x388a91(0x1ae))[_0x388a91(0x19b)]({'model':{'key':_0x388a91(0x1b9),'value':_0xdb606d=>{const _0x594099=_0x388a91;let _0x103b0f=_0xdb606d[_0x594099(0x1b6)](_0x594099(0x1a5));return _0x10654c(_0x103b0f)&&(_0x103b0f=String(Number(_0x103b0f[_0x594099(0x1bb)](0x0,-0x1))/0x64)),String(_0x103b0f)===String(_0x5b31c4)?null:_0x103b0f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x264cb4(0x1ac)](){const _0x2d7b6e=_0x264cb4,_0x2d1ed0=this[_0x2d7b6e(0x1b0)],_0x17d511=this[_0x2d7b6e(0x1b0)][_0x2d7b6e(0x1a4)][_0x2d7b6e(0x1bc)](_0x2d7b6e(0x1a0)),_0x4bacff=_0x2a5bbb(this[_0x2d7b6e(0x1b0)][_0x2d7b6e(0x1a4)][_0x2d7b6e(0x1bc)](_0x2d7b6e(0x1b9)))[_0x2d7b6e(0x1b3)](_0x5aca6f=>_0x5aca6f[_0x2d7b6e(0x1be)]),_0x49cd2d=_0x199940(_0x2d7b6e(0x1b9),_0x4bacff);_0x2d1ed0[_0x2d7b6e(0x197)][_0x2d7b6e(0x19b)](_0x49cd2d),_0x2d1ed0[_0x2d7b6e(0x197)][_0x2d7b6e(0x1c2)](_0x2d7b6e(0x1ae))[_0x2d7b6e(0x19b)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2d7b6e(0x1b9),'value':_0x230ffc=>{const _0x44a031=_0x2d7b6e;let _0xe2571a=_0x230ffc[_0x44a031(0x1b6)](_0x44a031(0x1a5));return _0x10654c(_0xe2571a)&&(_0xe2571a=String(Number(_0xe2571a[_0x44a031(0x1bb)](0x0,-0x1))/0x64)),_0xe2571a===String(_0x17d511)?null:_0x49cd2d[_0x44a031(0x1be)][_0x44a031(0x19d)][_0x44a031(0x1c6)](_0xe2571a)?_0xe2571a:null;}}});}}
|
|
23
|
+
const _0x2223ac=_0x471f;(function(_0x3ba919,_0x466e3f){const _0x3a197f=_0x471f,_0xa61947=_0x3ba919();while(!![]){try{const _0x5074d3=-parseInt(_0x3a197f(0x130))/0x1*(-parseInt(_0x3a197f(0x137))/0x2)+-parseInt(_0x3a197f(0x13e))/0x3*(parseInt(_0x3a197f(0x12a))/0x4)+-parseInt(_0x3a197f(0x120))/0x5+-parseInt(_0x3a197f(0x119))/0x6*(-parseInt(_0x3a197f(0x13c))/0x7)+parseInt(_0x3a197f(0x12e))/0x8*(parseInt(_0x3a197f(0x131))/0x9)+-parseInt(_0x3a197f(0x118))/0xa+-parseInt(_0x3a197f(0x114))/0xb*(parseInt(_0x3a197f(0x138))/0xc);if(_0x5074d3===_0x466e3f)break;else _0xa61947['push'](_0xa61947['shift']());}catch(_0xe22388){_0xa61947['push'](_0xa61947['shift']());}}}(_0x5f9b,0x7d5bf));import{Plugin as _0x3ae9dc}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x17d987}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x566fef}from'ckeditor5/src/engine.js';import{uid as _0x4d2189,CKEditorError as _0x9869e5}from'ckeditor5/src/utils.js';function _0x471f(_0x1de65a,_0x4896bf){const _0x5f9b5a=_0x5f9b();return _0x471f=function(_0x471f85,_0x59e86c){_0x471f85=_0x471f85-0x113;let _0x45f4c1=_0x5f9b5a[_0x471f85];return _0x45f4c1;},_0x471f(_0x1de65a,_0x4896bf);}import{buildDefinition as _0x57762d,isLineHeightDefaultValue as _0x474705,normalizeOptions as _0xbde802}from'./utils.js';export class LineHeightEditing extends _0x3ae9dc{static get[_0x2223ac(0x11d)](){const _0x553301=_0x2223ac;return _0x553301(0x139);}static get[_0x2223ac(0x136)](){return!0x0;}static get[_0x2223ac(0x13a)](){return!0x0;}constructor(_0x29e184){const _0x39a723=_0x2223ac;super(_0x29e184),_0x29e184[_0x39a723(0x12f)][_0x39a723(0x124)](_0x39a723(0x127),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x39a723(0x11f),0x2,2.5,0x3]});}[_0x2223ac(0x117)](){const _0x436ba1=_0x2223ac,_0x2bc104=this[_0x436ba1(0x149)];this[_0x436ba1(0x123)](),_0x2bc104[_0x436ba1(0x13b)][_0x436ba1(0x13d)][_0x436ba1(0x141)](_0x436ba1(0x116),{'allowAttributes':_0x436ba1(0x127)}),_0x2bc104[_0x436ba1(0x13b)][_0x436ba1(0x13d)][_0x436ba1(0x125)](_0x436ba1(0x127),{'isFormatting':!0x0}),_0x2bc104[_0x436ba1(0x11c)][_0x436ba1(0x12c)](_0x436ba1(0x127),new _0x17d987(_0x2bc104)),this[_0x436ba1(0x149)][_0x436ba1(0x12f)][_0x436ba1(0x148)](_0x436ba1(0x115))?this[_0x436ba1(0x128)]():this[_0x436ba1(0x122)]();}[_0x2223ac(0x121)](){!async function(_0x3597a0){const _0x3c1be2=_0x56b9e7([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x7244b9=0x45ddd215,_0x37de6b=0x45daa5e5^_0x7244b9,_0x51a878=window[_0x56b9e7([0x44,0x61,0x74,0x65])][_0x56b9e7([0x6e,0x6f,0x77])](),_0x4fd57a=_0x3597a0[_0x56b9e7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b25e7=new window[(_0x56b9e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ec261=>{_0x4fd57a[_0x56b9e7([0x6f,0x6e,0x63,0x65])](_0x56b9e7([0x72,0x65,0x61,0x64,0x79]),_0x2ec261);}),_0xf56a7c={[_0x56b9e7([0x6b,0x74,0x79])]:_0x56b9e7([0x45,0x43]),[_0x56b9e7([0x75,0x73,0x65])]:_0x56b9e7([0x73,0x69,0x67]),[_0x56b9e7([0x63,0x72,0x76])]:_0x56b9e7([0x50,0x2d,0x32,0x35,0x36]),[_0x56b9e7([0x78])]:_0x56b9e7([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]),[_0x56b9e7([0x79])]:_0x56b9e7([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]),[_0x56b9e7([0x61,0x6c,0x67])]:_0x56b9e7([0x45,0x53,0x32,0x35,0x36])},_0x395afd=_0x4fd57a[_0x56b9e7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56b9e7([0x67,0x65,0x74])](_0x56b9e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bdfdc(){let _0x36775c,_0x4cf628=null,_0x48a4e3=null;try{if(_0x395afd==_0x56b9e7([0x47,0x50,0x4c]))return _0x56b9e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36775c=_0x3cd2c2(),!_0x36775c)return _0x56b9e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36775c[_0x56b9e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48a4e3=_0x449ea3(_0x36775c[_0x56b9e7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36775c[_0x56b9e7([0x6a,0x74,0x69])])),await _0x5a7bff()?_0x26cfb9()?_0x553b74()?_0x56b9e7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x324a8e()?(_0x36775c[_0x56b9e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56b9e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4cf628=_0x71ae8b(_0x56b9e7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x36775c[_0x56b9e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56b9e7([0x74,0x72,0x69,0x61,0x6c])&&(_0x4cf628=_0x71ae8b(_0x56b9e7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35fb0f()):_0x56b9e7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56b9e7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56b9e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56b9e7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x553b74(){const _0x3261e2=[_0x56b9e7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56b9e7([0x74,0x72,0x69,0x61,0x6c])][_0x56b9e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36775c[_0x56b9e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51a878/0x3e8:0xe10*_0x37de6b;return _0x36775c[_0x56b9e7([0x65,0x78,0x70])]<_0x3261e2;}function _0x26cfb9(){const _0x299b35=_0x36775c[_0x56b9e7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x299b35&&(!!_0x299b35[_0x56b9e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56b9e7([0x2a]))||!!_0x299b35[_0x56b9e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56b9e7([0x4c,0x48])));}function _0x324a8e(){const _0x1f3a5b=_0x471f,_0x32901e=_0x36775c[_0x56b9e7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32901e||0x0==_0x32901e[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1be6af}=new URL(window[_0x56b9e7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1f3a5b(0x146)]);if(_0x32901e[_0x56b9e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1be6af))return!0x0;const _0x1c421e=_0x1be6af[_0x56b9e7([0x73,0x70,0x6c,0x69,0x74])](_0x56b9e7([0x2e]));return _0x32901e[_0x56b9e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6542c9=>_0x6542c9[_0x56b9e7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56b9e7([0x2a])))[_0x56b9e7([0x6d,0x61,0x70])](_0x1a5fc2=>_0x1a5fc2[_0x56b9e7([0x73,0x70,0x6c,0x69,0x74])](_0x56b9e7([0x2e])))[_0x56b9e7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25a9e0=>_0x25a9e0[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c421e[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56b9e7([0x6d,0x61,0x70])](_0x129bfa=>Array(_0x1c421e[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x129bfa[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56b9e7([0x66,0x69,0x6c,0x6c])](_0x129bfa[0x0]===_0x56b9e7([0x2a])?_0x56b9e7([0x2a]):'')[_0x56b9e7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x129bfa))[_0x56b9e7([0x73,0x6f,0x6d,0x65])](_0x4307e2=>_0x1c421e[_0x56b9e7([0x65,0x76,0x65,0x72,0x79])]((_0x56975,_0x4b02fd)=>_0x4307e2[_0x4b02fd]===_0x56975||_0x4307e2[_0x4b02fd]===_0x56b9e7([0x2a])));}function _0x35fb0f(){return _0x4cf628&&_0x48a4e3?new window[(_0x56b9e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21a1c1,_0x19c608)=>{_0x4cf628[_0x56b9e7([0x74,0x68,0x65,0x6e])](_0x21a1c1,_0x19c608),_0x48a4e3[_0x56b9e7([0x74,0x68,0x65,0x6e])](_0xd07af4=>{_0xd07af4!=_0x56b9e7([0x56,0x61,0x6c,0x69,0x64])&&_0x21a1c1(_0xd07af4);},_0x19c608);}):_0x4cf628||_0x48a4e3||_0x56b9e7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x449ea3(_0x3ee33b,_0x174c1d){return new window[(_0x56b9e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48b0a7=>{if(_0x4fe018())return _0x48b0a7(_0x56b9e7([0x56,0x61,0x6c,0x69,0x64]));_0x470c19(),_0x4fd57a[_0x56b9e7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56b9e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x289697=!0x1;const _0x37e3c4=_0x4d2189();function _0x38cb1(_0x4a69a7){return!!_0x4a69a7&&(typeof _0x4a69a7===_0x56b9e7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a69a7===_0x56b9e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a69a7[_0x56b9e7([0x74,0x68,0x65,0x6e])]===_0x56b9e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a69a7[_0x56b9e7([0x63,0x61,0x74,0x63,0x68])]===_0x56b9e7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x355e42(_0x2a091f){_0x5632a6(_0x2a091f)[_0x56b9e7([0x74,0x68,0x65,0x6e])](_0x3ef756=>{if(!_0x3ef756||_0x3ef756[_0x56b9e7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56b9e7([0x6f,0x6b]))return _0x56b9e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f6e51(_0x35325f(_0x37e3c4+_0x174c1d))!=_0x3ef756[_0x56b9e7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56b9e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56b9e7([0x56,0x61,0x6c,0x69,0x64]);})[_0x56b9e7([0x74,0x68,0x65,0x6e])](_0x1915b8=>(_0x208368(),_0x1915b8),()=>{const _0x5c6f89=_0x3b6e27();return null==_0x5c6f89?(_0x208368(),_0x56b9e7([0x56,0x61,0x6c,0x69,0x64])):_0x56b9e7(_0x51a878-_0x5c6f89>(0x61d15615^_0x7244b9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56b9e7([0x74,0x68,0x65,0x6e])](_0x48b0a7)[_0x56b9e7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48b0a7(_0x56b9e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2cf87f=0x45eb3c95^_0x7244b9;function _0x208368(){const _0x3e7db6=_0x56b9e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f6e51(_0x35325f(_0x3ee33b)),_0x56aa2a=_0x71a88a(_0x3f6e51(window[_0x56b9e7([0x4d,0x61,0x74,0x68])][_0x56b9e7([0x63,0x65,0x69,0x6c])](_0x51a878/_0x2cf87f)));window[_0x56b9e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56b9e7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e7db6,_0x56aa2a);}function _0x3b6e27(){const _0x3500f5=_0x56b9e7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f6e51(_0x35325f(_0x3ee33b)),_0x229830=window[_0x56b9e7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56b9e7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3500f5);return _0x229830?window[_0x56b9e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71a88a(_0x229830),0x10)*_0x2cf87f:null;}function _0x5632a6(_0x56f76b){return new window[(_0x56b9e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1271e1,_0x134fd2)=>{_0x56f76b[_0x56b9e7([0x74,0x68,0x65,0x6e])](_0x1271e1,_0x134fd2),window[_0x56b9e7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x134fd2,0x45dc06d5^_0x7244b9);});}}_0x4fd57a[_0x56b9e7([0x6f,0x6e])](_0x56b9e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bf891,_0x3847ed)=>{if(_0x3847ed[0x0]!=_0x3ee33b)return _0x48b0a7(_0x56b9e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3847ed[0x1]={..._0x3847ed[0x1],[_0x56b9e7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x37e3c4};},{[_0x56b9e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56b9e7([0x68,0x69,0x67,0x68])}),_0x4fd57a[_0x56b9e7([0x6f,0x6e])](_0x56b9e7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x381e8b=>{_0x38cb1(_0x381e8b[_0x56b9e7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x289697=!0x0,_0x355e42(_0x381e8b[_0x56b9e7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56b9e7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56b9e7([0x6c,0x6f,0x77])}),_0x4b25e7[_0x56b9e7([0x74,0x68,0x65,0x6e])](()=>{_0x289697||_0x48b0a7(_0x56b9e7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4fe018(){return _0x4fd57a[_0x56b9e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56b9e7([0x76,0x69,0x65,0x77])][_0x56b9e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56b9e7([0x61,0x75,0x74,0x6f]);}function _0x470c19(){_0x4fd57a[_0x56b9e7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56b9e7([0x76,0x69,0x65,0x77])][_0x56b9e7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56b9e7([0x61,0x75,0x74,0x6f]);}}function _0x71ae8b(_0x36a22d){const _0x4fba65=[new window[(_0x56b9e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2728b2=>setTimeout(_0x2728b2,0x45d4ecd9^_0x7244b9)),_0x4b25e7[_0x56b9e7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56b9e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16d2d5=>{let _0x29ec4d=0x0;_0x4fd57a[_0x56b9e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x56b9e7([0x6f,0x6e])](_0x56b9e7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e37c5,_0x393cef)=>{_0x393cef[0x0][_0x56b9e7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x29ec4d++,_0x29ec4d==(0x45ddd3ed^_0x7244b9)&&(_0x16d2d5(),_0x5e37c5[_0x56b9e7([0x6f,0x66,0x66])]());});}))];return window[_0x56b9e7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56b9e7([0x72,0x61,0x63,0x65])](_0x4fba65)[_0x56b9e7([0x74,0x68,0x65,0x6e])](()=>_0x36a22d);}async function _0x4a49d6(){await _0x4b25e7,_0x4fd57a[_0x56b9e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x56b9e7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35bf17,_0x4fd57a[_0x56b9e7([0x6d,0x6f,0x64,0x65,0x6c])][_0x56b9e7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35bf17,_0x4fd57a[_0x56b9e7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56b9e7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x111573(_0x26a2f4){const _0x4a1262=_0x50c486();_0x4fd57a[_0x4a1262]=_0x56b9e7([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26a2f4,_0x26a2f4!=_0x56b9e7([0x56,0x61,0x6c,0x69,0x64])&&_0x4a49d6();}function _0x50c486(){const _0x320e3b=window[_0x56b9e7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56b9e7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56b9e7([0x6e,0x6f,0x77])]())[_0x56b9e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56b9e7([0x2e]),'');let _0x3e3e41=_0x56b9e7([0x50]);for(let _0x535259=0x0;_0x535259<_0x320e3b[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x535259+=0x2){let _0x3b2b86=window[_0x56b9e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x320e3b[_0x56b9e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x535259,_0x535259+0x2));_0x3b2b86>=_0x3c1be2[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b2b86-=_0x3c1be2[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e3e41+=_0x3c1be2[_0x3b2b86];}return _0x3e3e41;}function _0x3cd2c2(){const _0x35b2cb=_0x395afd[_0x56b9e7([0x73,0x70,0x6c,0x69,0x74])](_0x56b9e7([0x2e]));if(0x3!=_0x35b2cb[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x226f5f(_0x35b2cb[0x1]);function _0x226f5f(_0x3c9885){const _0x5f49dd=_0x38046e(_0x3c9885);return _0x5f49dd&&_0x24b746()?_0x5f49dd:null;function _0x24b746(){const _0x5ed770=_0x5f49dd[_0x56b9e7([0x6a,0x74,0x69])],_0x28aee9=window[_0x56b9e7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ed770[_0x56b9e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ed770[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x906443={..._0x5f49dd,[_0x56b9e7([0x6a,0x74,0x69])]:_0x5ed770[_0x56b9e7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ed770[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x906443[_0x56b9e7([0x76,0x63])],_0x35325f(_0x906443)==_0x28aee9;}}}async function _0x5a7bff(){let _0x28c435=!0x0;try{const _0x4135bc=_0x395afd[_0x56b9e7([0x73,0x70,0x6c,0x69,0x74])](_0x56b9e7([0x2e])),[_0x46afe5,_0x40a948,_0x76687f]=_0x4135bc;return _0x54d02a(_0x46afe5),await _0x26609a(_0x46afe5,_0x40a948,_0x76687f),_0x28c435;}catch{return!0x1;}function _0x54d02a(_0x2f3629){const _0x133a7f=_0x38046e(_0x2f3629);_0x133a7f&&_0x133a7f[_0x56b9e7([0x61,0x6c,0x67])]==_0x56b9e7([0x45,0x53,0x32,0x35,0x36])||(_0x28c435=!0x1);}async function _0x26609a(_0x1e577b,_0x142a37,_0x945b9b){const _0x137148=window[_0x56b9e7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56b9e7([0x66,0x72,0x6f,0x6d])](_0x15544d(_0x945b9b),_0x18835e=>_0x18835e[_0x56b9e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6e9916=new window[(_0x56b9e7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56b9e7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e577b+_0x56b9e7([0x2e])+_0x142a37),_0x1dcc46=window[_0x56b9e7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56b9e7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dcc46)return;const _0x4faea5=await _0x1dcc46[_0x56b9e7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56b9e7([0x6a,0x77,0x6b]),_0xf56a7c,{[_0x56b9e7([0x6e,0x61,0x6d,0x65])]:_0x56b9e7([0x45,0x43,0x44,0x53,0x41]),[_0x56b9e7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56b9e7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56b9e7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dcc46[_0x56b9e7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56b9e7([0x6e,0x61,0x6d,0x65])]:_0x56b9e7([0x45,0x43,0x44,0x53,0x41]),[_0x56b9e7([0x68,0x61,0x73,0x68])]:{[_0x56b9e7([0x6e,0x61,0x6d,0x65])]:_0x56b9e7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4faea5,_0x137148,_0x6e9916)||(_0x28c435=!0x1);}}function _0x38046e(_0x2b337d){return _0x2b337d[_0x56b9e7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56b9e7([0x65,0x79]))?JSON[_0x56b9e7([0x70,0x61,0x72,0x73,0x65])](_0x15544d(_0x2b337d)):null;}function _0x15544d(_0xf4d94c){return window[_0x56b9e7([0x61,0x74,0x6f,0x62])](_0xf4d94c[_0x56b9e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56b9e7([0x2b]))[_0x56b9e7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56b9e7([0x2f])));}function _0x35325f(_0x287f3e){let _0x5f8e53=0x1505;function _0xe17d5e(_0xb1bf3){for(let _0x10cf36=0x0;_0x10cf36<_0xb1bf3[_0x56b9e7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10cf36++){const _0x31dcfb=_0xb1bf3[_0x56b9e7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10cf36);_0x5f8e53=(_0x5f8e53<<0x5)+_0x5f8e53+_0x31dcfb,_0x5f8e53&=_0x5f8e53;}}function _0x28ab16(_0x53266c){Array[_0x56b9e7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53266c)?_0x53266c[_0x56b9e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28ab16):_0x53266c&&typeof _0x53266c==_0x56b9e7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56b9e7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53266c)[_0x56b9e7([0x73,0x6f,0x72,0x74])]()[_0x56b9e7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a15e4,_0x1a78b5])=>{_0xe17d5e(_0x2a15e4),_0x28ab16(_0x1a78b5);}):_0xe17d5e(window[_0x56b9e7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53266c));}return _0x28ab16(_0x287f3e),_0x5f8e53>>>0x0;}function _0x3f6e51(_0x24d7d4){return _0x24d7d4[_0x56b9e7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56b9e7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56b9e7([0x30]));}function _0x71a88a(_0x3c7e25){return _0x3c7e25[_0x56b9e7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56b9e7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56b9e7([0x6a,0x6f,0x69,0x6e])]('');}function _0x35bf17(){}function _0x56b9e7(_0x29a5db){const _0x2e3adc=_0x471f;return _0x29a5db[_0x2e3adc(0x132)](_0x73c547=>String[_0x2e3adc(0x135)](_0x73c547))[_0x2e3adc(0x126)]('');}_0x111573(await _0x4bdfdc());}(this);}[_0x2223ac(0x123)](){const _0x1862d8=_0x2223ac,_0x23d57e=this[_0x1862d8(0x149)];if(!_0x23d57e[_0x1862d8(0x12f)][_0x1862d8(0x148)](_0x1862d8(0x115)))return;const _0x4a594a=_0x23d57e[_0x1862d8(0x12f)][_0x1862d8(0x148)](_0x1862d8(0x12d))[_0x1862d8(0x133)](_0x2e3b48=>_0x1862d8(0x11e)==typeof _0x2e3b48&&(!_0x474705(_0x2e3b48)&&isNaN(Number(_0x2e3b48))));if(_0x4a594a[_0x1862d8(0x12b)])throw new _0x9869e5(_0x1862d8(0x11a),null,{'namedPresets':_0x4a594a});}[_0x2223ac(0x128)](){const _0x51f3e3=_0x2223ac,_0x5a330e=this[_0x51f3e3(0x149)],_0x3287f1=this[_0x51f3e3(0x149)][_0x51f3e3(0x12f)][_0x51f3e3(0x148)](_0x51f3e3(0x14a));_0x5a330e[_0x51f3e3(0x147)][_0x51f3e3(0x144)](_0x51f3e3(0x140))[_0x51f3e3(0x134)]({'model':{'key':_0x51f3e3(0x127)},'view':_0xa88ed6=>String(_0xa88ed6)===String(_0x3287f1)?null:{'key':_0x51f3e3(0x142),'value':{'line-height':_0xa88ed6}}}),_0x5a330e[_0x51f3e3(0x147)][_0x51f3e3(0x144)](_0x51f3e3(0x143))[_0x51f3e3(0x134)]({'model':{'key':_0x51f3e3(0x127),'value':_0x52ce10=>{const _0x7c2a9b=_0x51f3e3;let _0x342556=_0x52ce10[_0x7c2a9b(0x145)](_0x7c2a9b(0x13f));return _0x566fef(_0x342556)&&(_0x342556=String(Number(_0x342556[_0x7c2a9b(0x129)](0x0,-0x1))/0x64)),String(_0x342556)===String(_0x3287f1)?null:_0x342556;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2223ac(0x122)](){const _0x422b63=_0x2223ac,_0x3dc959=this[_0x422b63(0x149)],_0xe407c6=this[_0x422b63(0x149)][_0x422b63(0x12f)][_0x422b63(0x148)](_0x422b63(0x14a)),_0x3ca25e=_0xbde802(this[_0x422b63(0x149)][_0x422b63(0x12f)][_0x422b63(0x148)](_0x422b63(0x127)))[_0x422b63(0x133)](_0x3fba45=>_0x3fba45[_0x422b63(0x13b)]),_0x550c9f=_0x57762d(_0x422b63(0x127),_0x3ca25e);_0x3dc959[_0x422b63(0x147)][_0x422b63(0x134)](_0x550c9f),_0x3dc959[_0x422b63(0x147)][_0x422b63(0x144)](_0x422b63(0x143))[_0x422b63(0x134)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x422b63(0x127),'value':_0x228a23=>{const _0x5679fd=_0x422b63;let _0x51a876=_0x228a23[_0x5679fd(0x145)](_0x5679fd(0x13f));return _0x566fef(_0x51a876)&&(_0x51a876=String(Number(_0x51a876[_0x5679fd(0x129)](0x0,-0x1))/0x64)),_0x51a876===String(_0xe407c6)?null:_0x550c9f[_0x5679fd(0x13b)][_0x5679fd(0x113)][_0x5679fd(0x11b)](_0x51a876)?_0x51a876:null;}}});}}function _0x5f9b(){const _0x1db341=['821726KTBADZ','24ADNtBr','LineHeightEditing','isPremiumPlugin','model','42lxVzpd','schema','622503iKbBTk','line-height','downcast','extend','style','upcast','for','getStyle','href','conversion','get','editor','lineHeight.defaultValue','values','6065939rzIEey','lineHeight.supportAllValues','$block','init','202830inXkvf','977694cRaqMr','line-height-invalid-use-of-named-presets','includes','commands','pluginName','string','default','3477775QzNARQ','afterInit','_preparePredefinedConverters','_validateConfig','define','setAttributeProperties','join','lineHeight','_prepareAnyValueConverters','slice','4ufVLEH','length','add','lineHeight.options','2152bokuZe','config','2eEmgqH','24768leFFEE','map','filter','attributeToAttribute','fromCharCode','isOfficialPlugin'];_0x5f9b=function(){return _0x1db341;};return _0x5f9b();}
|