@ckeditor/ckeditor5-line-height 0.0.0-nightly-20251018.0 → 0.0.0-nightly-20251019.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/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 h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},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:()=>N});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-=479]})(e,t)}function s(){const e=["63ZyWZQa","schema","refresh","change","value","getAttribute","5107620ZIOmxD","filter","document","1949482dPGaxC","lineHeight","execute","removeAttribute","isEnabled","_canHaveLineHeight","setAttribute","selection","model","10492352pTuhSi","checkAttribute","from","4164iPeSqP","editor","4508820KXRcYh","getSelectedBlocks","13607013dgyRHJ","1836870doTcGB","1XqlTYK","9510RnGCYQ"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(997542===parseInt(t(498))/1*(parseInt(t(480))/2)+-parseInt(t(506))/3+parseInt(t(494))/4+parseInt(t(499))/5*(-parseInt(t(492))/6)+parseInt(t(496))/7+-parseInt(t(489))/8+-parseInt(t(500))/9*(-parseInt(t(497))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(502)](){const e=r,n=this[e(493)][e(488)][e(479)],i=(0,t.first)(n[e(487)][e(495)]());this[e(484)]=Boolean(i)&&this[e(485)](i),this[e(504)]=this[e(484)]&&i[e(505)](e(481))}[r(482)](e={}){const t=r,n=this[t(493)][t(488)],i=n[t(479)][t(487)],o=e[t(504)];n[t(503)](e=>{const n=t,r=Array[n(491)](i[n(495)]())[n(507)](e=>this[n(485)](e));for(const t of r)o?e[n(486)](n(481),o,t):e[n(483)](n(481),t)})}[r(485)](e){const t=r;return this[t(493)][t(488)][t(501)][t(490)](e,t(481))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(833480===-parseInt(t(430))/1*(-parseInt(t(424))/2)+-parseInt(t(438))/3*(parseInt(t(441))/4)+parseInt(t(432))/5*(-parseInt(t(416))/6)+-parseInt(t(435))/7+-parseInt(t(426))/8*(parseInt(t(421))/9)+-parseInt(t(439))/10+parseInt(t(412))/11*(parseInt(t(417))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);const u={get single(){const e=h;return{title:e(422),model:e(425),view:{key:e(428),value:e(420)}}},get double(){const e=h;return{title:e(443),model:e(429),view:{key:e(428),value:e(414)}}}};function l(e){const t=h;return t(411)==typeof e&&t(413)===e[t(440)]()}function d(){const e=["key","defaultValue","3lIEyRJ","14578440XdtHDF","toLowerCase","2010844FSwoZQ","style","Double","filter","number","model","string","506VAgkFh","default","line-height-double","span","218388vBqquQ","936420hNGfGw","push","view","line-height-single","9MoyROw","Single","values","13910jchywU","single","2325272hkJFwO","options","class","double","180XaIfoc","map","105UtakdZ","line-height:","value","6947206lkkcjp"];return(d=function(){return e})()}function h(e,t){const n=d();return(h=function(e,t){return n[e-=409]})(e,t)}function f(e){const t=h;return e[t(427)][t(431)](n=>l(n)?{title:String(e[t(437)]),model:t(413)}:(t(409)==typeof n&&(n=String(n)),t(411)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(415),styles:{"line-height":n}}}:function(e){const t=h;return t(411)==typeof e?u[e]:u[e[t(410)]]}(n)))[t(444)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=246]})(e,t)}function m(){const e=["lineHeight.defaultValue","_preparePredefinedConverters","filter","73611dpqDYG","href","commands","afterInit","_prepareAnyValueConverters","values","schema","slice","map","getStyle","downcast","104foTEHO","lineHeight.supportAllValues","290kYavfR","upcast","18165XmGUGU","config","lineHeight.options","7359CHKkOS","setAttributeProperties","_validateConfig","define","add","for","init","conversion","pluginName","178284hQwCAz","join","300112vbdZnM","attributeToAttribute","isOfficialPlugin","5244NEAgNn","style","editor","length","14680upUCoR","includes","line-height-invalid-use-of-named-presets","fromCharCode","extend","$block","isPremiumPlugin","model","784808UeLFSA","174vwveAw","line-height","3ZgCzZT","default","lineHeight","get","string","LineHeightEditing"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(258952===parseInt(t(300))/1+parseInt(t(259))/2+-parseInt(t(262))/3*(-parseInt(t(298))/4)+-parseInt(t(251))/5*(-parseInt(t(260))/6)+-parseInt(t(286))/7*(parseInt(t(282))/8)+-parseInt(t(271))/9*(parseInt(t(284))/10)+-parseInt(t(289))/11*(parseInt(t(247))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(297)](){return p(267)}static get[p(246)](){return!0}static get[p(257)](){return!0}constructor(e){const t=p;super(e),e[t(287)][t(292)](t(264),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(263),2,2.5,3]})}[p(295)](){const e=p,t=this[e(249)];this[e(291)](),t[e(258)][e(277)][e(255)](e(256),{allowAttributes:e(264)}),t[e(258)][e(277)][e(290)](e(264),{isFormatting:!0}),t[e(273)][e(293)](e(264),new a(t)),this[e(249)][e(287)][e(265)](e(283))?this[e(275)]():this[e(269)]()}[p(274)](){!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 h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(279)](e=>String[t(254)](e))[t(299)]("")}!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])?h(d(l+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1760745600;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(272)]);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(249)];if(!n[e(287)][e(265)](e(283)))return;const i=n[e(287)][e(265)](e(288))[e(270)](t=>e(266)==typeof t&&!l(t)&&isNaN(Number(t)));if(i[e(250)])throw new t.CKEditorError(e(253),null,{namedPresets:i})}[p(275)](){const e=p,t=this[e(249)],n=this[e(249)][e(287)][e(265)](e(268));t[e(296)][e(294)](e(281))[e(301)]({model:{key:e(264)},view:t=>String(t)===String(n)?null:{key:e(248),value:{"line-height":t}}}),t[e(296)][e(294)](e(285))[e(301)]({model:{key:e(264),value:t=>{const i=e;let r=t[i(280)](i(261));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(278)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(269)](){const e=p,t=this[e(249)],n=this[e(249)][e(287)][e(265)](e(268)),i=f(this[e(249)][e(287)][e(265)](e(264)))[e(270)](t=>t[e(258)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(428)===e[n(419)]?.[n(436)]?(i[n(410)][n(423)][n(418)](e[n(410)]),i[n(419)][e[n(410)]]={key:n(428),value:e[n(419)][n(434)]}):(i[n(410)][n(423)][n(418)](e[n(410)]),i[n(419)][e[n(410)]]={key:n(442),value:n(433)+e[n(410)]+";"});return i}(e(264),i);t[e(296)][e(301)](r),t[e(296)][e(294)](e(285))[e(301)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(264),value:t=>{const i=e;let o=t[i(280)](i(261));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(278)](0,-1))/100)),o===String(n)?null:r[i(258)][i(276)][i(252)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(450),L=n.n(I),b=n(774),H=n.n(b),_=n(265),O=n.n(_),E=n(410),C=n.n(E),S=n(238),T=n.n(S),A=n(354),k={attributes:{"data-cke":!0}};k.setAttributes=C(),k.insert=O().bind(null,"head"),k.domAPI=H(),k.insertStyleElement=T();L()(A.A,k);A.A&&A.A.locals&&A.A.locals;class N extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return 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 x=K;function P(){var e=["338JwNEgN","isOfficialPlugin","isPremiumPlugin","8usITjl","12HSOfiy","37oMImrG","79180WvKdLL","pluginName","1784292iwFJCz","requires","9470083nWGPfe","LineHeight","3020865eVYYdf","52884CZWZXb","53394ATGSxm","1177bVgqzT","12mlEtSf","2114019wsLuMs"];return(P=function(){return e})()}function K(e,t){var n=P();return(K=function(e,t){return n[e-=216]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(712271===-parseInt(t(229))/1*(-parseInt(t(220))/2)+-parseInt(t(228))/3*(parseInt(t(219))/4)+parseInt(t(218))/5*(parseInt(t(222))/6)+parseInt(t(216))/7+-parseInt(t(227))/8*(-parseInt(t(223))/9)+-parseInt(t(230))/10*(-parseInt(t(221))/11)+parseInt(t(232))/12*(-parseInt(t(224))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class V extends e.Plugin{static get[x(233)](){return[w,N]}static get[x(231)](){return x(217)}static get[x(225)](){return!0}static get[x(226)](){return!0}}function M(){var e=["9IFUCOy","125256NoQqLZ","319704ofyncT","16394QjeHXK","723402QyOSqZ","692328gLthgd","45aiCAPn","470445iTyCPk","1271470DCHxYG"];return(M=function(){return e})()}function B(e,t){var n=M();return(B=function(e,t){return n[e-=138]})(e,t)}!function(e){for(var t=B,n=e();;)try{if(194556===-parseInt(t(139))/1*(-parseInt(t(142))/2)+-parseInt(t(146))/3+parseInt(t(141))/4+parseInt(t(138))/5+parseInt(t(143))/6+-parseInt(t(144))/7+parseInt(t(140))/8*(-parseInt(t(145))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M)})(),(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 l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},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],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},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:()=>g,LineHeightUI:()=>N});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-=479]})(e,t)}function s(){const e=["63ZyWZQa","schema","refresh","change","value","getAttribute","5107620ZIOmxD","filter","document","1949482dPGaxC","lineHeight","execute","removeAttribute","isEnabled","_canHaveLineHeight","setAttribute","selection","model","10492352pTuhSi","checkAttribute","from","4164iPeSqP","editor","4508820KXRcYh","getSelectedBlocks","13607013dgyRHJ","1836870doTcGB","1XqlTYK","9510RnGCYQ"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(997542===parseInt(t(498))/1*(parseInt(t(480))/2)+-parseInt(t(506))/3+parseInt(t(494))/4+parseInt(t(499))/5*(-parseInt(t(492))/6)+parseInt(t(496))/7+-parseInt(t(489))/8+-parseInt(t(500))/9*(-parseInt(t(497))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(502)](){const e=r,n=this[e(493)][e(488)][e(479)],i=(0,t.first)(n[e(487)][e(495)]());this[e(484)]=Boolean(i)&&this[e(485)](i),this[e(504)]=this[e(484)]&&i[e(505)](e(481))}[r(482)](e={}){const t=r,n=this[t(493)][t(488)],i=n[t(479)][t(487)],o=e[t(504)];n[t(503)](e=>{const n=t,r=Array[n(491)](i[n(495)]())[n(507)](e=>this[n(485)](e));for(const t of r)o?e[n(486)](n(481),o,t):e[n(483)](n(481),t)})}[r(485)](e){const t=r;return this[t(493)][t(488)][t(501)][t(490)](e,t(481))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(833480===-parseInt(t(430))/1*(-parseInt(t(424))/2)+-parseInt(t(438))/3*(parseInt(t(441))/4)+parseInt(t(432))/5*(-parseInt(t(416))/6)+-parseInt(t(435))/7+-parseInt(t(426))/8*(parseInt(t(421))/9)+-parseInt(t(439))/10+parseInt(t(412))/11*(parseInt(t(417))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);const l={get single(){const e=h;return{title:e(422),model:e(425),view:{key:e(428),value:e(420)}}},get double(){const e=h;return{title:e(443),model:e(429),view:{key:e(428),value:e(414)}}}};function u(e){const t=h;return t(411)==typeof e&&t(413)===e[t(440)]()}function d(){const e=["key","defaultValue","3lIEyRJ","14578440XdtHDF","toLowerCase","2010844FSwoZQ","style","Double","filter","number","model","string","506VAgkFh","default","line-height-double","span","218388vBqquQ","936420hNGfGw","push","view","line-height-single","9MoyROw","Single","values","13910jchywU","single","2325272hkJFwO","options","class","double","180XaIfoc","map","105UtakdZ","line-height:","value","6947206lkkcjp"];return(d=function(){return e})()}function h(e,t){const n=d();return(h=function(e,t){return n[e-=409]})(e,t)}function f(e){const t=h;return e[t(427)][t(431)](n=>u(n)?{title:String(e[t(437)]),model:t(413)}:(t(409)==typeof n&&(n=String(n)),t(411)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(415),styles:{"line-height":n}}}:function(e){const t=h;return t(411)==typeof e?l[e]:l[e[t(410)]]}(n)))[t(444)](e=>void 0!==e)}const p=m;!function(e){const t=m,n=e();for(;;)try{if(320703===parseInt(t(205))/1*(parseInt(t(178))/2)+-parseInt(t(213))/3*(parseInt(t(204))/4)+-parseInt(t(176))/5+-parseInt(t(200))/6+-parseInt(t(216))/7*(parseInt(t(171))/8)+-parseInt(t(170))/9+parseInt(t(174))/10*(parseInt(t(167))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(w);class g extends e.Plugin{static get[p(215)](){return p(169)}static get[p(190)](){return!0}static get[p(196)](){return!0}constructor(e){const t=p;super(e),e[t(197)][t(184)](t(192),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(179),2,2.5,3]})}[p(181)](){const e=p,t=this[e(172)];this[e(212)](),t[e(207)][e(195)][e(177)](e(187),{allowAttributes:e(192)}),t[e(207)][e(195)][e(199)](e(192),{isFormatting:!0}),t[e(198)][e(193)](e(192),new a(t)),this[e(172)][e(197)][e(217)](e(214))?this[e(202)]():this[e(203)]()}[p(175)](){!async function(e){const n=g([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[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(191)](e=>String[t(201)](e))[t(182)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([80]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1760832e3;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=m,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(210)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[p(212)](){const e=p,n=this[e(172)];if(!n[e(197)][e(217)](e(214)))return;const i=n[e(197)][e(217)](e(194))[e(208)](t=>e(206)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(209)])throw new t.CKEditorError(e(165),null,{namedPresets:i})}[p(202)](){const e=p,t=this[e(172)],n=this[e(172)][e(197)][e(217)](e(163));t[e(180)][e(211)](e(173))[e(189)]({model:{key:e(192)},view:t=>String(t)===String(n)?null:{key:e(166),value:{"line-height":t}}}),t[e(180)][e(211)](e(168))[e(189)]({model:{key:e(192),value:t=>{const i=e;let r=t[i(186)](i(185));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(164)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(203)](){const e=p,t=this[e(172)],n=this[e(172)][e(197)][e(217)](e(163)),i=f(this[e(172)][e(197)][e(217)](e(192)))[e(208)](t=>t[e(207)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(428)===e[n(419)]?.[n(436)]?(i[n(410)][n(423)][n(418)](e[n(410)]),i[n(419)][e[n(410)]]={key:n(428),value:e[n(419)][n(434)]}):(i[n(410)][n(423)][n(418)](e[n(410)]),i[n(419)][e[n(410)]]={key:n(442),value:n(433)+e[n(410)]+";"});return i}(e(192),i);t[e(180)][e(189)](r),t[e(180)][e(211)](e(168))[e(189)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(192),value:t=>{const i=e;let o=t[i(186)](i(185));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(164)](0,-1))/100)),o===String(n)?null:r[i(207)][i(188)][i(183)](o)?o:null}}})}}function m(e,t){const n=w();return(m=function(e,t){return n[e-=163]})(e,t)}function w(){const e=["1325232yddKud","2336eWDQwJ","editor","downcast","2305770wmsnNk","afterInit","1245940EvslAY","extend","16708DSBogL","default","conversion","init","join","includes","define","line-height","getStyle","$block","values","attributeToAttribute","isOfficialPlugin","map","lineHeight","add","lineHeight.options","schema","isPremiumPlugin","config","commands","setAttributeProperties","2947002cbotpW","fromCharCode","_prepareAnyValueConverters","_preparePredefinedConverters","664PNkYsQ","39mRJAIE","string","model","filter","length","href","for","_validateConfig","7977XeYlOF","lineHeight.supportAllValues","pluginName","1428HnaVzv","get","lineHeight.defaultValue","slice","line-height-invalid-use-of-named-presets","style","66eJKUYC","upcast","LineHeightEditing"];return(w=function(){return e})()}var y=n(311),v=n(355),I=n(450),L=n.n(I),b=n(774),H=n.n(b),_=n(265),O=n.n(_),E=n(410),C=n.n(E),S=n(238),T=n.n(S),k=n(354),A={attributes:{"data-cke":!0}};A.setAttributes=C(),A.insert=O().bind(null,"head"),A.domAPI=H(),A.insertStyleElement=T();L()(k.A,A);k.A&&k.A.locals&&k.A.locals;class N extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return 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 y.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 y.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,y.createDropdown)(r);return(0,y.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:v.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 y.MenuBarMenuView(r);o.buttonView.set({label:e,icon:v.IconLineHeight}),o.bind("isEnabled").to(i);const s=new y.MenuBarMenuListView(r);for(const e of t){const t=new y.MenuBarMenuListItemView(r,o),i=new y.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 x=K;function P(){var e=["338JwNEgN","isOfficialPlugin","isPremiumPlugin","8usITjl","12HSOfiy","37oMImrG","79180WvKdLL","pluginName","1784292iwFJCz","requires","9470083nWGPfe","LineHeight","3020865eVYYdf","52884CZWZXb","53394ATGSxm","1177bVgqzT","12mlEtSf","2114019wsLuMs"];return(P=function(){return e})()}function K(e,t){var n=P();return(K=function(e,t){return n[e-=216]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(712271===-parseInt(t(229))/1*(-parseInt(t(220))/2)+-parseInt(t(228))/3*(parseInt(t(219))/4)+parseInt(t(218))/5*(parseInt(t(222))/6)+parseInt(t(216))/7+-parseInt(t(227))/8*(-parseInt(t(223))/9)+-parseInt(t(230))/10*(-parseInt(t(221))/11)+parseInt(t(232))/12*(-parseInt(t(224))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class V extends e.Plugin{static get[x(233)](){return[g,N]}static get[x(231)](){return x(217)}static get[x(225)](){return!0}static get[x(226)](){return!0}}function M(){var e=["9IFUCOy","125256NoQqLZ","319704ofyncT","16394QjeHXK","723402QyOSqZ","692328gLthgd","45aiCAPn","470445iTyCPk","1271470DCHxYG"];return(M=function(){return e})()}function B(e,t){var n=M();return(B=function(e,t){return n[e-=138]})(e,t)}!function(e){for(var t=B,n=e();;)try{if(194556===-parseInt(t(139))/1*(-parseInt(t(142))/2)+-parseInt(t(146))/3+parseInt(t(141))/4+parseInt(t(138))/5+parseInt(t(143))/6+-parseInt(t(144))/7+parseInt(t(140))/8*(-parseInt(t(145))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M)})(),(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 _0x27858a,Plugin as _0x199b4a}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x405a49,CKEditorError as _0x3b202e,uid as _0x2ea50c,Collection as _0x145919}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1dbb92}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x5626a3,createDropdown as _0x256e39,addListToDropdown as _0x39cd0b,MenuBarMenuView as _0x5675e2,MenuBarMenuListView as _0x1f63fd,MenuBarMenuListItemView as _0x375754,MenuBarMenuListItemButtonView as _0x44d0e0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3c9af6}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x27858a{['refresh'](){const _0x5505ad=this['editor']['model']['document'],_0x3c1f02=_0x405a49(_0x5505ad['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x3c1f02)&&this['_canHaveLineHeight'](_0x3c1f02),this['value']=this['isEnabled']&&_0x3c1f02['getAttribute']('lineHeight');}['execute'](_0x5e9d50={}){const _0x26220b=this['editor']['model'],_0x310838=_0x26220b['document']['selection'],_0x1ccecd=_0x5e9d50['value'];_0x26220b['change'](_0x2e9068=>{const _0x2c2d5b=Array['from'](_0x310838['getSelectedBlocks']())['filter'](_0x28c507=>this['_canHaveLineHeight'](_0x28c507));for(const _0x1dd594 of _0x2c2d5b)_0x1ccecd?_0x2e9068['setAttribute']('lineHeight',_0x1ccecd,_0x1dd594):_0x2e9068['removeAttribute']('lineHeight',_0x1dd594);});}['_canHaveLineHeight'](_0x59b893){return this['editor']['model']['schema']['checkAttribute'](_0x59b893,'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(_0x5d23ad){return'string'==typeof _0x5d23ad&&'default'===_0x5d23ad['toLowerCase']();}function a(_0x3c04ab){return _0x3c04ab['options']['map'](_0x575ea4=>{return f(_0x575ea4)?{'title':String(_0x3c04ab['defaultValue']),'model':'default'}:('number'==typeof _0x575ea4&&(_0x575ea4=String(_0x575ea4)),'string'!=typeof _0x575ea4?_0x575ea4:parseFloat(_0x575ea4)?{'title':_0x575ea4,'model':_0x575ea4,'view':{'name':'span','styles':{'line-height':_0x575ea4}}}:'string'==typeof(_0x10d130=_0x575ea4)?v[_0x10d130]:v[_0x10d130['model']]);var _0x10d130;})['filter'](_0xb1d83e=>void 0x0!==_0xb1d83e);}class e extends _0x199b4a{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x323d02){super(_0x323d02),_0x323d02['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x50ee36=this['editor'];this['_validateConfig'](),_0x50ee36['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x50ee36['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x50ee36['commands']['add']('lineHeight',new n(_0x50ee36)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4ca82b){const _0x598454=_0x405c44([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]),_0x452e7a=0x45ddd215,_0x269cfa=0x45daa49d^_0x452e7a,_0x2f4f19=window[_0x405c44([0x44,0x61,0x74,0x65])][_0x405c44([0x6e,0x6f,0x77])](),_0x2df10f=_0x4ca82b[_0x405c44([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x6330ea=new window[(_0x405c44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x384b0c=>{_0x2df10f[_0x405c44([0x6f,0x6e,0x63,0x65])](_0x405c44([0x72,0x65,0x61,0x64,0x79]),_0x384b0c);}),_0x13d509={[_0x405c44([0x6b,0x74,0x79])]:_0x405c44([0x45,0x43]),[_0x405c44([0x75,0x73,0x65])]:_0x405c44([0x73,0x69,0x67]),[_0x405c44([0x63,0x72,0x76])]:_0x405c44([0x50,0x2d,0x32,0x35,0x36]),[_0x405c44([0x78])]:_0x405c44([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]),[_0x405c44([0x79])]:_0x405c44([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]),[_0x405c44([0x61,0x6c,0x67])]:_0x405c44([0x45,0x53,0x32,0x35,0x36])},_0x21c3e3=_0x2df10f[_0x405c44([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x405c44([0x67,0x65,0x74])](_0x405c44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x423911(){let _0x532a73,_0x10772e=null,_0x127059=null;try{if(_0x21c3e3==_0x405c44([0x47,0x50,0x4c]))return _0x405c44([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x532a73=_0x50e347(),!_0x532a73)return _0x405c44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x532a73[_0x405c44([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x127059=_0x400e75(_0x532a73[_0x405c44([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x532a73[_0x405c44([0x6a,0x74,0x69])])),await _0x2cb9e0()?_0x3bbe97()?_0x5ce841()?_0x405c44([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13b25c()?(_0x532a73[_0x405c44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x405c44([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10772e=_0x14c441(_0x405c44([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x532a73[_0x405c44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x405c44([0x74,0x72,0x69,0x61,0x6c])&&(_0x10772e=_0x14c441(_0x405c44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1872c1()):_0x405c44([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x405c44([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x405c44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x405c44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ce841(){const _0x4f655c=[_0x405c44([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x405c44([0x74,0x72,0x69,0x61,0x6c])][_0x405c44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x532a73[_0x405c44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f4f19/0x3e8:0xe10*_0x269cfa;return _0x532a73[_0x405c44([0x65,0x78,0x70])]<_0x4f655c;}function _0x3bbe97(){const _0x538ef8=_0x532a73[_0x405c44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x538ef8&&(!!_0x538ef8[_0x405c44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x405c44([0x2a]))||!!_0x538ef8[_0x405c44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x405c44([0x4c,0x48])));}function _0x13b25c(){const _0x36f6e6=_0x532a73[_0x405c44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36f6e6||0x0==_0x36f6e6[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36c618}=new URL(window[_0x405c44([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x36f6e6[_0x405c44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c618))return!0x0;const _0x131b6e=_0x36c618[_0x405c44([0x73,0x70,0x6c,0x69,0x74])](_0x405c44([0x2e]));return _0x36f6e6[_0x405c44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59333f=>_0x59333f[_0x405c44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x405c44([0x2a])))[_0x405c44([0x6d,0x61,0x70])](_0x28f13e=>_0x28f13e[_0x405c44([0x73,0x70,0x6c,0x69,0x74])](_0x405c44([0x2e])))[_0x405c44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x402a95=>_0x402a95[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x131b6e[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x405c44([0x6d,0x61,0x70])](_0x506956=>Array(_0x131b6e[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x506956[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x405c44([0x66,0x69,0x6c,0x6c])](_0x506956[0x0]===_0x405c44([0x2a])?_0x405c44([0x2a]):'')[_0x405c44([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x506956))[_0x405c44([0x73,0x6f,0x6d,0x65])](_0x548d75=>_0x131b6e[_0x405c44([0x65,0x76,0x65,0x72,0x79])]((_0x33fd99,_0x358bcc)=>_0x548d75[_0x358bcc]===_0x33fd99||_0x548d75[_0x358bcc]===_0x405c44([0x2a])));}function _0x1872c1(){return _0x10772e&&_0x127059?new window[(_0x405c44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f041f,_0x4cbd85)=>{_0x10772e[_0x405c44([0x74,0x68,0x65,0x6e])](_0x3f041f,_0x4cbd85),_0x127059[_0x405c44([0x74,0x68,0x65,0x6e])](_0x84deee=>{_0x84deee!=_0x405c44([0x56,0x61,0x6c,0x69,0x64])&&_0x3f041f(_0x84deee);},_0x4cbd85);}):_0x10772e||_0x127059||_0x405c44([0x56,0x61,0x6c,0x69,0x64]);}}function _0x400e75(_0x1b8d26,_0x2057d5){return new window[(_0x405c44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x287e15=>{if(_0x4309a3())return _0x287e15(_0x405c44([0x56,0x61,0x6c,0x69,0x64]));_0xecab57(),_0x2df10f[_0x405c44([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x405c44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x567c1a=!0x1;const _0x3e547e=_0x2ea50c();function _0x175d02(_0x35be48){return!!_0x35be48&&(typeof _0x35be48===_0x405c44([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35be48===_0x405c44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35be48[_0x405c44([0x74,0x68,0x65,0x6e])]===_0x405c44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35be48[_0x405c44([0x63,0x61,0x74,0x63,0x68])]===_0x405c44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe450a8(_0x263b3e){_0x516cd1(_0x263b3e)[_0x405c44([0x74,0x68,0x65,0x6e])](_0x3da42b=>{if(!_0x3da42b||_0x3da42b[_0x405c44([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x405c44([0x6f,0x6b]))return _0x405c44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x218fe6(_0x15b6c8(_0x3e547e+_0x2057d5))!=_0x3da42b[_0x405c44([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x405c44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x405c44([0x56,0x61,0x6c,0x69,0x64]);})[_0x405c44([0x74,0x68,0x65,0x6e])](_0x4dabb5=>(_0x560e44(),_0x4dabb5),()=>{const _0x2849c4=_0x18cb24();return null==_0x2849c4?(_0x560e44(),_0x405c44([0x56,0x61,0x6c,0x69,0x64])):_0x405c44(_0x2f4f19-_0x2849c4>(0x61d15615^_0x452e7a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x405c44([0x74,0x68,0x65,0x6e])](_0x287e15)[_0x405c44([0x63,0x61,0x74,0x63,0x68])](()=>{_0x287e15(_0x405c44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b9cbd=0x45eb3c95^_0x452e7a;function _0x560e44(){const _0x24cb49=_0x405c44([0x6c,0x6c,0x63,0x74,0x2d])+_0x218fe6(_0x15b6c8(_0x1b8d26)),_0x473286=_0x1af248(_0x218fe6(window[_0x405c44([0x4d,0x61,0x74,0x68])][_0x405c44([0x63,0x65,0x69,0x6c])](_0x2f4f19/_0x4b9cbd)));window[_0x405c44([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x405c44([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24cb49,_0x473286);}function _0x18cb24(){const _0x163ba6=_0x405c44([0x6c,0x6c,0x63,0x74,0x2d])+_0x218fe6(_0x15b6c8(_0x1b8d26)),_0x1f62f2=window[_0x405c44([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x405c44([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x163ba6);return _0x1f62f2?window[_0x405c44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af248(_0x1f62f2),0x10)*_0x4b9cbd:null;}function _0x516cd1(_0x48cab0){return new window[(_0x405c44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d97c8,_0x4f8cf8)=>{_0x48cab0[_0x405c44([0x74,0x68,0x65,0x6e])](_0x4d97c8,_0x4f8cf8),window[_0x405c44([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f8cf8,0x45dc06d5^_0x452e7a);});}}_0x2df10f[_0x405c44([0x6f,0x6e])](_0x405c44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20500c,_0x3bbc41)=>{if(_0x3bbc41[0x0]!=_0x1b8d26)return _0x287e15(_0x405c44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bbc41[0x1]={..._0x3bbc41[0x1],[_0x405c44([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e547e};},{[_0x405c44([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x405c44([0x68,0x69,0x67,0x68])}),_0x2df10f[_0x405c44([0x6f,0x6e])](_0x405c44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c31f4=>{_0x175d02(_0x2c31f4[_0x405c44([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x567c1a=!0x0,_0xe450a8(_0x2c31f4[_0x405c44([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x405c44([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x405c44([0x6c,0x6f,0x77])}),_0x6330ea[_0x405c44([0x74,0x68,0x65,0x6e])](()=>{_0x567c1a||_0x287e15(_0x405c44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4309a3(){return _0x2df10f[_0x405c44([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x405c44([0x76,0x69,0x65,0x77])][_0x405c44([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x405c44([0x61,0x75,0x74,0x6f]);}function _0xecab57(){_0x2df10f[_0x405c44([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x405c44([0x76,0x69,0x65,0x77])][_0x405c44([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x405c44([0x61,0x75,0x74,0x6f]);}}function _0x14c441(_0x53b89a){const _0x24adee=[new window[(_0x405c44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b959a=>setTimeout(_0x2b959a,0x45d4ecd9^_0x452e7a)),_0x6330ea[_0x405c44([0x74,0x68,0x65,0x6e])](()=>new window[(_0x405c44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154ddf=>{let _0x5f3ca4=0x0;_0x2df10f[_0x405c44([0x6d,0x6f,0x64,0x65,0x6c])][_0x405c44([0x6f,0x6e])](_0x405c44([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b6930,_0x5c9940)=>{_0x5c9940[0x0][_0x405c44([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5f3ca4++,_0x5f3ca4==(0x45ddd3ed^_0x452e7a)&&(_0x154ddf(),_0x4b6930[_0x405c44([0x6f,0x66,0x66])]());});}))];return window[_0x405c44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x405c44([0x72,0x61,0x63,0x65])](_0x24adee)[_0x405c44([0x74,0x68,0x65,0x6e])](()=>_0x53b89a);}async function _0x31532d(){await _0x6330ea,_0x2df10f[_0x405c44([0x6d,0x6f,0x64,0x65,0x6c])][_0x405c44([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27fdd8,_0x2df10f[_0x405c44([0x6d,0x6f,0x64,0x65,0x6c])][_0x405c44([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27fdd8,_0x2df10f[_0x405c44([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x405c44([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fbf87(_0x282f2b){const _0x2f2fce=_0x3f957d();_0x2df10f[_0x2f2fce]=_0x405c44([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x282f2b,_0x282f2b!=_0x405c44([0x56,0x61,0x6c,0x69,0x64])&&_0x31532d();}function _0x3f957d(){const _0x17b62f=window[_0x405c44([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x405c44([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x405c44([0x6e,0x6f,0x77])]())[_0x405c44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x405c44([0x2e]),'');let _0x42a35f=_0x405c44([0x50]);for(let _0x517ed1=0x0;_0x517ed1<_0x17b62f[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x517ed1+=0x2){let _0x5dd233=window[_0x405c44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17b62f[_0x405c44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x517ed1,_0x517ed1+0x2));_0x5dd233>=_0x598454[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dd233-=_0x598454[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42a35f+=_0x598454[_0x5dd233];}return _0x42a35f;}function _0x50e347(){const _0x2d85ce=_0x21c3e3[_0x405c44([0x73,0x70,0x6c,0x69,0x74])](_0x405c44([0x2e]));if(0x3!=_0x2d85ce[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46967a(_0x2d85ce[0x1]);function _0x46967a(_0x50563c){const _0x301517=_0x1ce98b(_0x50563c);return _0x301517&&_0x169aa6()?_0x301517:null;function _0x169aa6(){const _0x40c7e6=_0x301517[_0x405c44([0x6a,0x74,0x69])],_0x78c8ce=window[_0x405c44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40c7e6[_0x405c44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40c7e6[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32b5d0={..._0x301517,[_0x405c44([0x6a,0x74,0x69])]:_0x40c7e6[_0x405c44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40c7e6[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32b5d0[_0x405c44([0x76,0x63])],_0x15b6c8(_0x32b5d0)==_0x78c8ce;}}}async function _0x2cb9e0(){let _0x23f703=!0x0;try{const _0x18179c=_0x21c3e3[_0x405c44([0x73,0x70,0x6c,0x69,0x74])](_0x405c44([0x2e])),[_0xcd4caa,_0x2b6ade,_0x14f4e4]=_0x18179c;return _0x5b92ec(_0xcd4caa),await _0x3787e2(_0xcd4caa,_0x2b6ade,_0x14f4e4),_0x23f703;}catch{return!0x1;}function _0x5b92ec(_0x473266){const _0x1ef0f4=_0x1ce98b(_0x473266);_0x1ef0f4&&_0x1ef0f4[_0x405c44([0x61,0x6c,0x67])]==_0x405c44([0x45,0x53,0x32,0x35,0x36])||(_0x23f703=!0x1);}async function _0x3787e2(_0x1d641e,_0x42690f,_0x291915){const _0x5dda88=window[_0x405c44([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x405c44([0x66,0x72,0x6f,0x6d])](_0x258d38(_0x291915),_0x332394=>_0x332394[_0x405c44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a88c9=new window[(_0x405c44([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x405c44([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d641e+_0x405c44([0x2e])+_0x42690f),_0x11bd64=window[_0x405c44([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x405c44([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11bd64)return;const _0x4e9ebc=await _0x11bd64[_0x405c44([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x405c44([0x6a,0x77,0x6b]),_0x13d509,{[_0x405c44([0x6e,0x61,0x6d,0x65])]:_0x405c44([0x45,0x43,0x44,0x53,0x41]),[_0x405c44([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x405c44([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x405c44([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11bd64[_0x405c44([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x405c44([0x6e,0x61,0x6d,0x65])]:_0x405c44([0x45,0x43,0x44,0x53,0x41]),[_0x405c44([0x68,0x61,0x73,0x68])]:{[_0x405c44([0x6e,0x61,0x6d,0x65])]:_0x405c44([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e9ebc,_0x5dda88,_0x2a88c9)||(_0x23f703=!0x1);}}function _0x1ce98b(_0x33c120){return _0x33c120[_0x405c44([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x405c44([0x65,0x79]))?JSON[_0x405c44([0x70,0x61,0x72,0x73,0x65])](_0x258d38(_0x33c120)):null;}function _0x258d38(_0x6e071e){return window[_0x405c44([0x61,0x74,0x6f,0x62])](_0x6e071e[_0x405c44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x405c44([0x2b]))[_0x405c44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x405c44([0x2f])));}function _0x15b6c8(_0x2291d3){let _0x4cc930=0x1505;function _0x923b59(_0x19dc82){for(let _0x87bd60=0x0;_0x87bd60<_0x19dc82[_0x405c44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x87bd60++){const _0x37bcff=_0x19dc82[_0x405c44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x87bd60);_0x4cc930=(_0x4cc930<<0x5)+_0x4cc930+_0x37bcff,_0x4cc930&=_0x4cc930;}}function _0x39edc6(_0x1a7e8d){Array[_0x405c44([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a7e8d)?_0x1a7e8d[_0x405c44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39edc6):_0x1a7e8d&&typeof _0x1a7e8d==_0x405c44([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x405c44([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a7e8d)[_0x405c44([0x73,0x6f,0x72,0x74])]()[_0x405c44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x309f05,_0x4d334])=>{_0x923b59(_0x309f05),_0x39edc6(_0x4d334);}):_0x923b59(window[_0x405c44([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a7e8d));}return _0x39edc6(_0x2291d3),_0x4cc930>>>0x0;}function _0x218fe6(_0x13bb20){return _0x13bb20[_0x405c44([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x405c44([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x405c44([0x30]));}function _0x1af248(_0x38fdfb){return _0x38fdfb[_0x405c44([0x73,0x70,0x6c,0x69,0x74])]('')[_0x405c44([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x405c44([0x6a,0x6f,0x69,0x6e])]('');}function _0x27fdd8(){}function _0x405c44(_0x4e099f){return _0x4e099f['map'](_0x1fcedf=>String['fromCharCode'](_0x1fcedf))['join']('');}_0x1fbf87(await _0x423911());}(this);}['_validateConfig'](){const _0x5d3fa1=this['editor'];if(!_0x5d3fa1['config']['get']('lineHeight.supportAllValues'))return;const _0x4c0daf=_0x5d3fa1['config']['get']('lineHeight.options')['filter'](_0x345f1f=>'string'==typeof _0x345f1f&&(!f(_0x345f1f)&&isNaN(Number(_0x345f1f))));if(_0x4c0daf['length'])throw new _0x3b202e('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x4c0daf});}['_prepareAnyValueConverters'](){const _0x5a67a4=this['editor'],_0x4e494e=this['editor']['config']['get']('lineHeight.defaultValue');_0x5a67a4['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x9834e4=>String(_0x9834e4)===String(_0x4e494e)?null:{'key':'style','value':{'line-height':_0x9834e4}}}),_0x5a67a4['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x275340=>{let _0x2a4bc5=_0x275340['getStyle']('line-height');return _0x1dbb92(_0x2a4bc5)&&(_0x2a4bc5=String(Number(_0x2a4bc5['slice'](0x0,-0x1))/0x64)),String(_0x2a4bc5)===String(_0x4e494e)?null:_0x2a4bc5;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x5d2724=this['editor'],_0x262e5a=this['editor']['config']['get']('lineHeight.defaultValue'),_0xffe030=function(_0x3a3415,_0x5485a4){const _0x56fb2c={'model':{'key':_0x3a3415,'values':[]},'view':{}};for(const _0x14fb4d of _0x5485a4)'class'===_0x14fb4d['view']?.['key']?(_0x56fb2c['model']['values']['push'](_0x14fb4d['model']),_0x56fb2c['view'][_0x14fb4d['model']]={'key':'class','value':_0x14fb4d['view']['value']}):(_0x56fb2c['model']['values']['push'](_0x14fb4d['model']),_0x56fb2c['view'][_0x14fb4d['model']]={'key':'style','value':'line-height:'+_0x14fb4d['model']+';'});return _0x56fb2c;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x4e51fe=>_0x4e51fe['model']));_0x5d2724['conversion']['attributeToAttribute'](_0xffe030),_0x5d2724['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x3ed7cb=>{let _0x5ee47e=_0x3ed7cb['getStyle']('line-height');return _0x1dbb92(_0x5ee47e)&&(_0x5ee47e=String(Number(_0x5ee47e['slice'](0x0,-0x1))/0x64)),_0x5ee47e===String(_0x262e5a)?null:_0xffe030['model']['values']['includes'](_0x5ee47e)?_0x5ee47e:null;}}});}}class r extends _0x199b4a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f9e21={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4f9e21),this['_registerMenuBarComponent'](_0x4f9e21),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x174ad8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d18eb;for(const _0x420960 in _0x174ad8){const _0x420179=_0x420960,_0x36aad1=_0x174ad8[_0x420179];if('lineHeightLicenseKeyValid'==_0x36aad1||'lineHeightLicenseKeyInvalid'==_0x36aad1||'lineHeightLicenseKeyExpired'==_0x36aad1||'lineHeightLicenseKeyDomainLimit'==_0x36aad1||'lineHeightLicenseKeyNotAllowed'==_0x36aad1||'lineHeightLicenseKeyEvaluationLimit'==_0x36aad1||'lineHeightLicenseKeyTrialLimit'==_0x36aad1||'lineHeightLicenseKeyUsageLimit'==_0x36aad1){delete _0x174ad8[_0x420179],_0x1d18eb=_0x36aad1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1d18eb&&_0x174ad8['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1d18eb&&_0x174ad8['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1d18eb&&_0x174ad8['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1d18eb&&_0x174ad8['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1d18eb&&_0x174ad8['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1d18eb&&_0x174ad8['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1d18eb&&_0x174ad8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xfc1839=this['editor'],t=_0xfc1839['t'],_0x46ecb9=_0xfc1839['config']['get']('lineHeight'),_0x3ab1ab={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x46ecb9)['map'](_0x2e5e06=>{const _0x4ad32d=_0x3ab1ab[_0x2e5e06['title']];return _0x4ad32d&&_0x4ad32d!=_0x2e5e06['title']&&(_0x2e5e06=Object['assign']({},_0x2e5e06,{'title':_0x4ad32d})),_0x2e5e06;});}['_prepareListOptions'](){const _0x37de45=this['editor']['commands']['get']('lineHeight'),_0x4e03cc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2d48b0=this['_getLocalizedLineHeightOptions'](),_0x11c77=new _0x145919(),_0x4d51a6=_0x32473a=>'default'===_0x32473a||String(_0x4e03cc)===_0x32473a;for(const _0x2208a6 of _0x2d48b0){const _0x2849f0={'type':'button','model':new _0x5626a3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2208a6['title'],'withText':!0x0})};_0x4d51a6(_0x2208a6['model'])?(_0x2849f0['model']['bind']('isOn')['to'](_0x37de45,'value',_0x2505b9=>!_0x2505b9),_0x2849f0['model']['commandParam']=void 0x0):(_0x2849f0['model']['bind']('isOn')['to'](_0x37de45,'value',_0x37a24d=>_0x37a24d===_0x2208a6['model']),_0x2849f0['model']['commandParam']=_0x2208a6['model']),_0x11c77['add'](_0x2849f0);}if(this['_shouldRenderCustomValueOption']()){const _0x5295ff=this['_getCustomValueOptionDefinition'](_0x2d48b0);_0x11c77['add'](_0x5295ff);}return _0x11c77;}['_getCustomValueOptionDefinition'](_0x3a0822){const _0x732cf7=this['editor'],t=_0x732cf7['t'],_0x434842=_0x732cf7['commands']['get']('lineHeight'),_0x3e91d9=_0x3a0822['map'](_0x22017c=>_0x22017c['model']),_0x3fa707={'type':'button','model':new _0x5626a3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3fa707['model']['bind']('commandParam')['to'](_0x434842,'value'),_0x3fa707['model']['bind']('isOn')['to'](_0x434842,'value',_0x570b19=>!!_0x570b19&&!_0x3e91d9['includes'](String(_0x570b19))),_0x3fa707['model']['bind']('label')['to'](_0x434842,'value',_0x16fe12=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x16fe12))),_0x3fa707;}['_registerToolbarComponent']({accessibleLabel:_0x186537,options:_0x51f876}){const _0x52df7d=this['editor'],_0x4eb8f0=_0x52df7d['commands']['get']('lineHeight');_0x52df7d['ui']['componentFactory']['add']('lineHeight',_0x515236=>{const _0x1bd4ab=_0x256e39(_0x515236);return _0x39cd0b(_0x1bd4ab,_0x51f876,{'role':'menu','ariaLabel':_0x186537}),_0x1bd4ab['buttonView']['set']({'label':_0x186537,'tooltip':!0x0,'icon':_0x3c9af6}),_0x1bd4ab['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1bd4ab['bind']('isEnabled')['to'](_0x4eb8f0),this['listenTo'](_0x1bd4ab,'execute',_0x109e9a=>{_0x52df7d['execute'](_0x109e9a['source']['commandName'],{'value':_0x109e9a['source']['commandParam']}),_0x52df7d['editing']['view']['focus']();}),_0x1bd4ab['once']('change:isOpen',()=>{const _0x34fe38=_0x1bd4ab['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1bd4ab,_0x51f876,_0x34fe38);}),_0x1bd4ab;});}['_registerMenuBarComponent']({accessibleLabel:_0x2ee228,options:_0x27e89e}){const _0x5b2854=this['editor'],_0x1abdd6=_0x5b2854['commands']['get']('lineHeight');_0x5b2854['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2de90e=>{const _0x517238=new _0x5675e2(_0x2de90e);_0x517238['buttonView']['set']({'label':_0x2ee228,'icon':_0x3c9af6}),_0x517238['bind']('isEnabled')['to'](_0x1abdd6);const _0x2fa688=new _0x1f63fd(_0x2de90e);for(const _0x68cb7b of _0x27e89e){const _0x25d26d=new _0x375754(_0x2de90e,_0x517238),_0x5bf76f=new _0x44d0e0(_0x2de90e);_0x5bf76f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5bf76f['bind'](...Object['keys'](_0x68cb7b['model']))['to'](_0x68cb7b['model']),_0x5bf76f['delegate']('execute')['to'](_0x517238),_0x5bf76f['on']('execute',()=>{_0x5b2854['execute'](_0x68cb7b['model']['commandName'],{'value':_0x68cb7b['model']['commandParam']}),_0x5b2854['editing']['view']['focus']();}),_0x25d26d['children']['add'](_0x5bf76f),_0x2fa688['items']['add'](_0x25d26d);}return _0x517238['panelView']['children']['add'](_0x2fa688),this['_attachCustomOptionVisibilityHandler'](_0x517238,_0x27e89e,_0x2fa688),_0x517238;});}['_attachCustomOptionVisibilityHandler'](_0x1fc7a3,_0x24bcc0,_0x4f01e3){if(!this['_shouldRenderCustomValueOption']())return;const _0x10079f=()=>{if(!_0x1fc7a3['isOpen'])return;_0x4f01e3['items']['last']['isVisible']=Boolean(_0x24bcc0['last']['model']['isOn']);};_0x10079f(),_0x1fc7a3['on']('change:isOpen',()=>{_0x10079f();});}}class k extends _0x199b4a{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 _0x56be92,Plugin as _0x2fe849}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x10f091,CKEditorError as _0x328bef,uid as _0x482870,Collection as _0x3f9173}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x152417}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x5454f5,createDropdown as _0x1bcbb0,addListToDropdown as _0x4ef927,MenuBarMenuView as _0x42292f,MenuBarMenuListView as _0x231e5d,MenuBarMenuListItemView as _0x24e223,MenuBarMenuListItemButtonView as _0x593e0d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3388de}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x56be92{['refresh'](){const _0x382bbd=this['editor']['model']['document'],_0x3abf46=_0x10f091(_0x382bbd['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x3abf46)&&this['_canHaveLineHeight'](_0x3abf46),this['value']=this['isEnabled']&&_0x3abf46['getAttribute']('lineHeight');}['execute'](_0x57f1a7={}){const _0x11a044=this['editor']['model'],_0x11d611=_0x11a044['document']['selection'],_0x55261b=_0x57f1a7['value'];_0x11a044['change'](_0x2a31a9=>{const _0x83559=Array['from'](_0x11d611['getSelectedBlocks']())['filter'](_0x260dd2=>this['_canHaveLineHeight'](_0x260dd2));for(const _0x45d6bf of _0x83559)_0x55261b?_0x2a31a9['setAttribute']('lineHeight',_0x55261b,_0x45d6bf):_0x2a31a9['removeAttribute']('lineHeight',_0x45d6bf);});}['_canHaveLineHeight'](_0x4a96a3){return this['editor']['model']['schema']['checkAttribute'](_0x4a96a3,'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(_0x1490e8){return'string'==typeof _0x1490e8&&'default'===_0x1490e8['toLowerCase']();}function a(_0x4299e1){return _0x4299e1['options']['map'](_0x3a2533=>{return f(_0x3a2533)?{'title':String(_0x4299e1['defaultValue']),'model':'default'}:('number'==typeof _0x3a2533&&(_0x3a2533=String(_0x3a2533)),'string'!=typeof _0x3a2533?_0x3a2533:parseFloat(_0x3a2533)?{'title':_0x3a2533,'model':_0x3a2533,'view':{'name':'span','styles':{'line-height':_0x3a2533}}}:'string'==typeof(_0x21a2b8=_0x3a2533)?v[_0x21a2b8]:v[_0x21a2b8['model']]);var _0x21a2b8;})['filter'](_0x2426ef=>void 0x0!==_0x2426ef);}class e extends _0x2fe849{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4adb32){super(_0x4adb32),_0x4adb32['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x15edd0=this['editor'];this['_validateConfig'](),_0x15edd0['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x15edd0['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x15edd0['commands']['add']('lineHeight',new n(_0x15edd0)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x288887){const _0x409c09=_0x196ba4([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]),_0x1c2111=0x45ddd215,_0x3b5c76=0x45daa4b5^_0x1c2111,_0x19039f=window[_0x196ba4([0x44,0x61,0x74,0x65])][_0x196ba4([0x6e,0x6f,0x77])](),_0x7430ab=_0x288887[_0x196ba4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x69ec49=new window[(_0x196ba4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1c9b=>{_0x7430ab[_0x196ba4([0x6f,0x6e,0x63,0x65])](_0x196ba4([0x72,0x65,0x61,0x64,0x79]),_0x5b1c9b);}),_0x1847ad={[_0x196ba4([0x6b,0x74,0x79])]:_0x196ba4([0x45,0x43]),[_0x196ba4([0x75,0x73,0x65])]:_0x196ba4([0x73,0x69,0x67]),[_0x196ba4([0x63,0x72,0x76])]:_0x196ba4([0x50,0x2d,0x32,0x35,0x36]),[_0x196ba4([0x78])]:_0x196ba4([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]),[_0x196ba4([0x79])]:_0x196ba4([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]),[_0x196ba4([0x61,0x6c,0x67])]:_0x196ba4([0x45,0x53,0x32,0x35,0x36])},_0x10526b=_0x7430ab[_0x196ba4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x196ba4([0x67,0x65,0x74])](_0x196ba4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d5ffd(){let _0x90617,_0x1e9cd8=null,_0x1e899d=null;try{if(_0x10526b==_0x196ba4([0x47,0x50,0x4c]))return _0x196ba4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x90617=_0x50df66(),!_0x90617)return _0x196ba4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x90617[_0x196ba4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e899d=_0x705c3a(_0x90617[_0x196ba4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x90617[_0x196ba4([0x6a,0x74,0x69])])),await _0x9f84bc()?_0x2a1184()?_0xe8c3c4()?_0x196ba4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38c347()?(_0x90617[_0x196ba4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x196ba4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e9cd8=_0x2b9810(_0x196ba4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x90617[_0x196ba4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x196ba4([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e9cd8=_0x2b9810(_0x196ba4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x306674()):_0x196ba4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x196ba4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x196ba4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x196ba4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe8c3c4(){const _0x5c1d99=[_0x196ba4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x196ba4([0x74,0x72,0x69,0x61,0x6c])][_0x196ba4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x90617[_0x196ba4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19039f/0x3e8:0xe10*_0x3b5c76;return _0x90617[_0x196ba4([0x65,0x78,0x70])]<_0x5c1d99;}function _0x2a1184(){const _0x3bac19=_0x90617[_0x196ba4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bac19&&(!!_0x3bac19[_0x196ba4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196ba4([0x2a]))||!!_0x3bac19[_0x196ba4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196ba4([0x4c,0x48])));}function _0x38c347(){const _0x3a4dd8=_0x90617[_0x196ba4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a4dd8||0x0==_0x3a4dd8[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e51c5}=new URL(window[_0x196ba4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a4dd8[_0x196ba4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e51c5))return!0x0;const _0x44add3=_0x4e51c5[_0x196ba4([0x73,0x70,0x6c,0x69,0x74])](_0x196ba4([0x2e]));return _0x3a4dd8[_0x196ba4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22195c=>_0x22195c[_0x196ba4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196ba4([0x2a])))[_0x196ba4([0x6d,0x61,0x70])](_0x2f8048=>_0x2f8048[_0x196ba4([0x73,0x70,0x6c,0x69,0x74])](_0x196ba4([0x2e])))[_0x196ba4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e1f68=>_0x4e1f68[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44add3[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x196ba4([0x6d,0x61,0x70])](_0x4b6aa7=>Array(_0x44add3[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4b6aa7[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x196ba4([0x66,0x69,0x6c,0x6c])](_0x4b6aa7[0x0]===_0x196ba4([0x2a])?_0x196ba4([0x2a]):'')[_0x196ba4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4b6aa7))[_0x196ba4([0x73,0x6f,0x6d,0x65])](_0x3c72fc=>_0x44add3[_0x196ba4([0x65,0x76,0x65,0x72,0x79])]((_0x36b945,_0x1b11fc)=>_0x3c72fc[_0x1b11fc]===_0x36b945||_0x3c72fc[_0x1b11fc]===_0x196ba4([0x2a])));}function _0x306674(){return _0x1e9cd8&&_0x1e899d?new window[(_0x196ba4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42b2f5,_0x465496)=>{_0x1e9cd8[_0x196ba4([0x74,0x68,0x65,0x6e])](_0x42b2f5,_0x465496),_0x1e899d[_0x196ba4([0x74,0x68,0x65,0x6e])](_0x2ef961=>{_0x2ef961!=_0x196ba4([0x56,0x61,0x6c,0x69,0x64])&&_0x42b2f5(_0x2ef961);},_0x465496);}):_0x1e9cd8||_0x1e899d||_0x196ba4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x705c3a(_0x359ce9,_0xc7144d){return new window[(_0x196ba4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x555ccf=>{if(_0x4a5b1b())return _0x555ccf(_0x196ba4([0x56,0x61,0x6c,0x69,0x64]));_0x1ffb95(),_0x7430ab[_0x196ba4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x196ba4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42ab77=!0x1;const _0x47b392=_0x482870();function _0x4562ea(_0x2a6416){return!!_0x2a6416&&(typeof _0x2a6416===_0x196ba4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a6416===_0x196ba4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a6416[_0x196ba4([0x74,0x68,0x65,0x6e])]===_0x196ba4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a6416[_0x196ba4([0x63,0x61,0x74,0x63,0x68])]===_0x196ba4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x599f88(_0x185754){_0x51d8fe(_0x185754)[_0x196ba4([0x74,0x68,0x65,0x6e])](_0x5445ed=>{if(!_0x5445ed||_0x5445ed[_0x196ba4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x196ba4([0x6f,0x6b]))return _0x196ba4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d0f6e(_0x578a7f(_0x47b392+_0xc7144d))!=_0x5445ed[_0x196ba4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x196ba4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x196ba4([0x56,0x61,0x6c,0x69,0x64]);})[_0x196ba4([0x74,0x68,0x65,0x6e])](_0x5e91e2=>(_0x225ac4(),_0x5e91e2),()=>{const _0x2c8517=_0x417764();return null==_0x2c8517?(_0x225ac4(),_0x196ba4([0x56,0x61,0x6c,0x69,0x64])):_0x196ba4(_0x19039f-_0x2c8517>(0x61d15615^_0x1c2111)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x196ba4([0x74,0x68,0x65,0x6e])](_0x555ccf)[_0x196ba4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x555ccf(_0x196ba4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1dc9c1=0x45eb3c95^_0x1c2111;function _0x225ac4(){const _0x538e1d=_0x196ba4([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d0f6e(_0x578a7f(_0x359ce9)),_0x2a35a0=_0x44cd87(_0x4d0f6e(window[_0x196ba4([0x4d,0x61,0x74,0x68])][_0x196ba4([0x63,0x65,0x69,0x6c])](_0x19039f/_0x1dc9c1)));window[_0x196ba4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x196ba4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x538e1d,_0x2a35a0);}function _0x417764(){const _0x370bbc=_0x196ba4([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d0f6e(_0x578a7f(_0x359ce9)),_0x39be5e=window[_0x196ba4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x196ba4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x370bbc);return _0x39be5e?window[_0x196ba4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44cd87(_0x39be5e),0x10)*_0x1dc9c1:null;}function _0x51d8fe(_0x191fa1){return new window[(_0x196ba4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x322c20,_0x44fee2)=>{_0x191fa1[_0x196ba4([0x74,0x68,0x65,0x6e])](_0x322c20,_0x44fee2),window[_0x196ba4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44fee2,0x45dc06d5^_0x1c2111);});}}_0x7430ab[_0x196ba4([0x6f,0x6e])](_0x196ba4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39d780,_0x511403)=>{if(_0x511403[0x0]!=_0x359ce9)return _0x555ccf(_0x196ba4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x511403[0x1]={..._0x511403[0x1],[_0x196ba4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47b392};},{[_0x196ba4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x196ba4([0x68,0x69,0x67,0x68])}),_0x7430ab[_0x196ba4([0x6f,0x6e])](_0x196ba4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x518bab=>{_0x4562ea(_0x518bab[_0x196ba4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42ab77=!0x0,_0x599f88(_0x518bab[_0x196ba4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x196ba4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x196ba4([0x6c,0x6f,0x77])}),_0x69ec49[_0x196ba4([0x74,0x68,0x65,0x6e])](()=>{_0x42ab77||_0x555ccf(_0x196ba4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a5b1b(){return _0x7430ab[_0x196ba4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x196ba4([0x76,0x69,0x65,0x77])][_0x196ba4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x196ba4([0x61,0x75,0x74,0x6f]);}function _0x1ffb95(){_0x7430ab[_0x196ba4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x196ba4([0x76,0x69,0x65,0x77])][_0x196ba4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x196ba4([0x61,0x75,0x74,0x6f]);}}function _0x2b9810(_0x5da4ff){const _0x233d20=[new window[(_0x196ba4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x144673=>setTimeout(_0x144673,0x45d4ecd9^_0x1c2111)),_0x69ec49[_0x196ba4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x196ba4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f0430=>{let _0x28a45e=0x0;_0x7430ab[_0x196ba4([0x6d,0x6f,0x64,0x65,0x6c])][_0x196ba4([0x6f,0x6e])](_0x196ba4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4fbfcf,_0x5d90ac)=>{_0x5d90ac[0x0][_0x196ba4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28a45e++,_0x28a45e==(0x45ddd3ed^_0x1c2111)&&(_0x5f0430(),_0x4fbfcf[_0x196ba4([0x6f,0x66,0x66])]());});}))];return window[_0x196ba4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x196ba4([0x72,0x61,0x63,0x65])](_0x233d20)[_0x196ba4([0x74,0x68,0x65,0x6e])](()=>_0x5da4ff);}async function _0x3c7697(){await _0x69ec49,_0x7430ab[_0x196ba4([0x6d,0x6f,0x64,0x65,0x6c])][_0x196ba4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34b22f,_0x7430ab[_0x196ba4([0x6d,0x6f,0x64,0x65,0x6c])][_0x196ba4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34b22f,_0x7430ab[_0x196ba4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x196ba4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51e813(_0x2a7747){const _0x57a305=_0x2195c5();_0x7430ab[_0x57a305]=_0x196ba4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a7747,_0x2a7747!=_0x196ba4([0x56,0x61,0x6c,0x69,0x64])&&_0x3c7697();}function _0x2195c5(){const _0x4e0dbf=window[_0x196ba4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x196ba4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x196ba4([0x6e,0x6f,0x77])]())[_0x196ba4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x196ba4([0x2e]),'');let _0x5210eb=_0x196ba4([0x50]);for(let _0x373b52=0x0;_0x373b52<_0x4e0dbf[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x373b52+=0x2){let _0x1134a7=window[_0x196ba4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e0dbf[_0x196ba4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x373b52,_0x373b52+0x2));_0x1134a7>=_0x409c09[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1134a7-=_0x409c09[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5210eb+=_0x409c09[_0x1134a7];}return _0x5210eb;}function _0x50df66(){const _0x56215c=_0x10526b[_0x196ba4([0x73,0x70,0x6c,0x69,0x74])](_0x196ba4([0x2e]));if(0x3!=_0x56215c[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c0377(_0x56215c[0x1]);function _0x2c0377(_0x219c49){const _0x4901cb=_0x4c57ec(_0x219c49);return _0x4901cb&&_0x34504d()?_0x4901cb:null;function _0x34504d(){const _0x23b29f=_0x4901cb[_0x196ba4([0x6a,0x74,0x69])],_0x2874fc=window[_0x196ba4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23b29f[_0x196ba4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23b29f[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ed1ca={..._0x4901cb,[_0x196ba4([0x6a,0x74,0x69])]:_0x23b29f[_0x196ba4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23b29f[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ed1ca[_0x196ba4([0x76,0x63])],_0x578a7f(_0x3ed1ca)==_0x2874fc;}}}async function _0x9f84bc(){let _0x14652f=!0x0;try{const _0x4d125d=_0x10526b[_0x196ba4([0x73,0x70,0x6c,0x69,0x74])](_0x196ba4([0x2e])),[_0x420d24,_0x3d449b,_0x32010a]=_0x4d125d;return _0x54acbe(_0x420d24),await _0x2ab9b7(_0x420d24,_0x3d449b,_0x32010a),_0x14652f;}catch{return!0x1;}function _0x54acbe(_0x38ad3d){const _0xcf2c98=_0x4c57ec(_0x38ad3d);_0xcf2c98&&_0xcf2c98[_0x196ba4([0x61,0x6c,0x67])]==_0x196ba4([0x45,0x53,0x32,0x35,0x36])||(_0x14652f=!0x1);}async function _0x2ab9b7(_0x411441,_0x3e70bb,_0x21d400){const _0x12d789=window[_0x196ba4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x196ba4([0x66,0x72,0x6f,0x6d])](_0x5f081e(_0x21d400),_0x555694=>_0x555694[_0x196ba4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x233921=new window[(_0x196ba4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x196ba4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x411441+_0x196ba4([0x2e])+_0x3e70bb),_0x3a4de8=window[_0x196ba4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x196ba4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a4de8)return;const _0x2ad857=await _0x3a4de8[_0x196ba4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x196ba4([0x6a,0x77,0x6b]),_0x1847ad,{[_0x196ba4([0x6e,0x61,0x6d,0x65])]:_0x196ba4([0x45,0x43,0x44,0x53,0x41]),[_0x196ba4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x196ba4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x196ba4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a4de8[_0x196ba4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x196ba4([0x6e,0x61,0x6d,0x65])]:_0x196ba4([0x45,0x43,0x44,0x53,0x41]),[_0x196ba4([0x68,0x61,0x73,0x68])]:{[_0x196ba4([0x6e,0x61,0x6d,0x65])]:_0x196ba4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ad857,_0x12d789,_0x233921)||(_0x14652f=!0x1);}}function _0x4c57ec(_0x1567cc){return _0x1567cc[_0x196ba4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x196ba4([0x65,0x79]))?JSON[_0x196ba4([0x70,0x61,0x72,0x73,0x65])](_0x5f081e(_0x1567cc)):null;}function _0x5f081e(_0x55ab2b){return window[_0x196ba4([0x61,0x74,0x6f,0x62])](_0x55ab2b[_0x196ba4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x196ba4([0x2b]))[_0x196ba4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x196ba4([0x2f])));}function _0x578a7f(_0x8faace){let _0x4214fa=0x1505;function _0x3ff67d(_0x57426c){for(let _0x6554c=0x0;_0x6554c<_0x57426c[_0x196ba4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6554c++){const _0x221760=_0x57426c[_0x196ba4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6554c);_0x4214fa=(_0x4214fa<<0x5)+_0x4214fa+_0x221760,_0x4214fa&=_0x4214fa;}}function _0x1b0a3b(_0x903e7a){Array[_0x196ba4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x903e7a)?_0x903e7a[_0x196ba4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b0a3b):_0x903e7a&&typeof _0x903e7a==_0x196ba4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x196ba4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x903e7a)[_0x196ba4([0x73,0x6f,0x72,0x74])]()[_0x196ba4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f82ac,_0x271931])=>{_0x3ff67d(_0x1f82ac),_0x1b0a3b(_0x271931);}):_0x3ff67d(window[_0x196ba4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x903e7a));}return _0x1b0a3b(_0x8faace),_0x4214fa>>>0x0;}function _0x4d0f6e(_0x347991){return _0x347991[_0x196ba4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x196ba4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x196ba4([0x30]));}function _0x44cd87(_0x21376f){return _0x21376f[_0x196ba4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x196ba4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x196ba4([0x6a,0x6f,0x69,0x6e])]('');}function _0x34b22f(){}function _0x196ba4(_0x4a59de){return _0x4a59de['map'](_0x18d04c=>String['fromCharCode'](_0x18d04c))['join']('');}_0x51e813(await _0x1d5ffd());}(this);}['_validateConfig'](){const _0x1762ac=this['editor'];if(!_0x1762ac['config']['get']('lineHeight.supportAllValues'))return;const _0x5ad89b=_0x1762ac['config']['get']('lineHeight.options')['filter'](_0x4dc5e3=>'string'==typeof _0x4dc5e3&&(!f(_0x4dc5e3)&&isNaN(Number(_0x4dc5e3))));if(_0x5ad89b['length'])throw new _0x328bef('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5ad89b});}['_prepareAnyValueConverters'](){const _0x36792a=this['editor'],_0x3ffd32=this['editor']['config']['get']('lineHeight.defaultValue');_0x36792a['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4308bc=>String(_0x4308bc)===String(_0x3ffd32)?null:{'key':'style','value':{'line-height':_0x4308bc}}}),_0x36792a['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x2c2913=>{let _0x3925e2=_0x2c2913['getStyle']('line-height');return _0x152417(_0x3925e2)&&(_0x3925e2=String(Number(_0x3925e2['slice'](0x0,-0x1))/0x64)),String(_0x3925e2)===String(_0x3ffd32)?null:_0x3925e2;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x5b1fc5=this['editor'],_0x1e1a62=this['editor']['config']['get']('lineHeight.defaultValue'),_0x627b73=function(_0x5676b5,_0x32bd54){const _0x1c4167={'model':{'key':_0x5676b5,'values':[]},'view':{}};for(const _0x118394 of _0x32bd54)'class'===_0x118394['view']?.['key']?(_0x1c4167['model']['values']['push'](_0x118394['model']),_0x1c4167['view'][_0x118394['model']]={'key':'class','value':_0x118394['view']['value']}):(_0x1c4167['model']['values']['push'](_0x118394['model']),_0x1c4167['view'][_0x118394['model']]={'key':'style','value':'line-height:'+_0x118394['model']+';'});return _0x1c4167;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x68ae82=>_0x68ae82['model']));_0x5b1fc5['conversion']['attributeToAttribute'](_0x627b73),_0x5b1fc5['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x550bce=>{let _0x2e471=_0x550bce['getStyle']('line-height');return _0x152417(_0x2e471)&&(_0x2e471=String(Number(_0x2e471['slice'](0x0,-0x1))/0x64)),_0x2e471===String(_0x1e1a62)?null:_0x627b73['model']['values']['includes'](_0x2e471)?_0x2e471:null;}}});}}class r extends _0x2fe849{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1c4bfb={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1c4bfb),this['_registerMenuBarComponent'](_0x1c4bfb),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2f51c7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b3f9f;for(const _0x472aca in _0x2f51c7){const _0x525c10=_0x472aca,_0xfc46fe=_0x2f51c7[_0x525c10];if('lineHeightLicenseKeyValid'==_0xfc46fe||'lineHeightLicenseKeyInvalid'==_0xfc46fe||'lineHeightLicenseKeyExpired'==_0xfc46fe||'lineHeightLicenseKeyDomainLimit'==_0xfc46fe||'lineHeightLicenseKeyNotAllowed'==_0xfc46fe||'lineHeightLicenseKeyEvaluationLimit'==_0xfc46fe||'lineHeightLicenseKeyTrialLimit'==_0xfc46fe||'lineHeightLicenseKeyUsageLimit'==_0xfc46fe){delete _0x2f51c7[_0x525c10],_0x3b3f9f=_0xfc46fe,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3b3f9f&&_0x2f51c7['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3b3f9f&&_0x2f51c7['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3b3f9f&&_0x2f51c7['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3b3f9f&&_0x2f51c7['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3b3f9f&&_0x2f51c7['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3b3f9f&&_0x2f51c7['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3b3f9f&&_0x2f51c7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2ef3ce=this['editor'],t=_0x2ef3ce['t'],_0x327ab2=_0x2ef3ce['config']['get']('lineHeight'),_0x3db7e2={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x327ab2)['map'](_0x5318cc=>{const _0x5e064a=_0x3db7e2[_0x5318cc['title']];return _0x5e064a&&_0x5e064a!=_0x5318cc['title']&&(_0x5318cc=Object['assign']({},_0x5318cc,{'title':_0x5e064a})),_0x5318cc;});}['_prepareListOptions'](){const _0x3abcb6=this['editor']['commands']['get']('lineHeight'),_0x3e9847=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4af138=this['_getLocalizedLineHeightOptions'](),_0x44f286=new _0x3f9173(),_0x41c80e=_0x23a841=>'default'===_0x23a841||String(_0x3e9847)===_0x23a841;for(const _0x2fbc77 of _0x4af138){const _0x20ec9d={'type':'button','model':new _0x5454f5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2fbc77['title'],'withText':!0x0})};_0x41c80e(_0x2fbc77['model'])?(_0x20ec9d['model']['bind']('isOn')['to'](_0x3abcb6,'value',_0x591ee7=>!_0x591ee7),_0x20ec9d['model']['commandParam']=void 0x0):(_0x20ec9d['model']['bind']('isOn')['to'](_0x3abcb6,'value',_0x2538ea=>_0x2538ea===_0x2fbc77['model']),_0x20ec9d['model']['commandParam']=_0x2fbc77['model']),_0x44f286['add'](_0x20ec9d);}if(this['_shouldRenderCustomValueOption']()){const _0x454af3=this['_getCustomValueOptionDefinition'](_0x4af138);_0x44f286['add'](_0x454af3);}return _0x44f286;}['_getCustomValueOptionDefinition'](_0x42a359){const _0x22b85d=this['editor'],t=_0x22b85d['t'],_0x73b0f6=_0x22b85d['commands']['get']('lineHeight'),_0x1bfc00=_0x42a359['map'](_0x2f4af4=>_0x2f4af4['model']),_0x10d91a={'type':'button','model':new _0x5454f5({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x10d91a['model']['bind']('commandParam')['to'](_0x73b0f6,'value'),_0x10d91a['model']['bind']('isOn')['to'](_0x73b0f6,'value',_0x165d4a=>!!_0x165d4a&&!_0x1bfc00['includes'](String(_0x165d4a))),_0x10d91a['model']['bind']('label')['to'](_0x73b0f6,'value',_0x409e3d=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x409e3d))),_0x10d91a;}['_registerToolbarComponent']({accessibleLabel:_0x54dfbf,options:_0x25ecf9}){const _0x1b06c5=this['editor'],_0xcd664d=_0x1b06c5['commands']['get']('lineHeight');_0x1b06c5['ui']['componentFactory']['add']('lineHeight',_0x481729=>{const _0x4a77ef=_0x1bcbb0(_0x481729);return _0x4ef927(_0x4a77ef,_0x25ecf9,{'role':'menu','ariaLabel':_0x54dfbf}),_0x4a77ef['buttonView']['set']({'label':_0x54dfbf,'tooltip':!0x0,'icon':_0x3388de}),_0x4a77ef['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4a77ef['bind']('isEnabled')['to'](_0xcd664d),this['listenTo'](_0x4a77ef,'execute',_0x31ff95=>{_0x1b06c5['execute'](_0x31ff95['source']['commandName'],{'value':_0x31ff95['source']['commandParam']}),_0x1b06c5['editing']['view']['focus']();}),_0x4a77ef['once']('change:isOpen',()=>{const _0x47edfd=_0x4a77ef['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4a77ef,_0x25ecf9,_0x47edfd);}),_0x4a77ef;});}['_registerMenuBarComponent']({accessibleLabel:_0x5ea094,options:_0x22cfd5}){const _0x172418=this['editor'],_0x551f29=_0x172418['commands']['get']('lineHeight');_0x172418['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4f50bd=>{const _0x19d900=new _0x42292f(_0x4f50bd);_0x19d900['buttonView']['set']({'label':_0x5ea094,'icon':_0x3388de}),_0x19d900['bind']('isEnabled')['to'](_0x551f29);const _0x4abb8c=new _0x231e5d(_0x4f50bd);for(const _0x26c976 of _0x22cfd5){const _0x5c2fdf=new _0x24e223(_0x4f50bd,_0x19d900),_0x1288cd=new _0x593e0d(_0x4f50bd);_0x1288cd['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1288cd['bind'](...Object['keys'](_0x26c976['model']))['to'](_0x26c976['model']),_0x1288cd['delegate']('execute')['to'](_0x19d900),_0x1288cd['on']('execute',()=>{_0x172418['execute'](_0x26c976['model']['commandName'],{'value':_0x26c976['model']['commandParam']}),_0x172418['editing']['view']['focus']();}),_0x5c2fdf['children']['add'](_0x1288cd),_0x4abb8c['items']['add'](_0x5c2fdf);}return _0x19d900['panelView']['children']['add'](_0x4abb8c),this['_attachCustomOptionVisibilityHandler'](_0x19d900,_0x22cfd5,_0x4abb8c),_0x19d900;});}['_attachCustomOptionVisibilityHandler'](_0x32cfd1,_0x1f069c,_0x39057e){if(!this['_shouldRenderCustomValueOption']())return;const _0x57b2c6=()=>{if(!_0x32cfd1['isOpen'])return;_0x39057e['items']['last']['isVisible']=Boolean(_0x1f069c['last']['model']['isOn']);};_0x57b2c6(),_0x32cfd1['on']('change:isOpen',()=>{_0x57b2c6();});}}class k extends _0x2fe849{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251019.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20251019.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20251019.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251019.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251019.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251019.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20251019.0"
|
|
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 _0x9a344f=_0x24f9;function _0x24f9(_0xf900c4,_0x552c98){const _0x91eb41=_0x91eb();return _0x24f9=function(_0x24f90e,_0x492dcf){_0x24f90e=_0x24f90e-0xf6;let _0x309f9e=_0x91eb41[_0x24f90e];return _0x309f9e;},_0x24f9(_0xf900c4,_0x552c98);}(function(_0x40d34b,_0x561458){const _0x343452=_0x24f9,_0x4c8318=_0x40d34b();while(!![]){try{const _0x1d6537=parseInt(_0x343452(0x12c))/0x1+parseInt(_0x343452(0x103))/0x2+-parseInt(_0x343452(0x106))/0x3*(-parseInt(_0x343452(0x12a))/0x4)+-parseInt(_0x343452(0xfb))/0x5*(-parseInt(_0x343452(0x104))/0x6)+-parseInt(_0x343452(0x11e))/0x7*(parseInt(_0x343452(0x11a))/0x8)+-parseInt(_0x343452(0x10f))/0x9*(parseInt(_0x343452(0x11c))/0xa)+-parseInt(_0x343452(0x121))/0xb*(parseInt(_0x343452(0xf7))/0xc);if(_0x1d6537===_0x561458)break;else _0x4c8318['push'](_0x4c8318['shift']());}catch(_0x238a95){_0x4c8318['push'](_0x4c8318['shift']());}}}(_0x91eb,0x3f388));import{Plugin as _0x2ed083}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xf3257a}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4f6c4b}from'ckeditor5/src/engine.js';import{uid as _0x481d4e,CKEditorError as _0x587a44}from'ckeditor5/src/utils.js';function _0x91eb(){const _0xe86c0d=['lineHeight.defaultValue','_preparePredefinedConverters','filter','73611dpqDYG','href','commands','afterInit','_prepareAnyValueConverters','values','schema','slice','map','getStyle','downcast','104foTEHO','lineHeight.supportAllValues','290kYavfR','upcast','18165XmGUGU','config','lineHeight.options','7359CHKkOS','setAttributeProperties','_validateConfig','define','add','for','init','conversion','pluginName','178284hQwCAz','join','300112vbdZnM','attributeToAttribute','isOfficialPlugin','5244NEAgNn','style','editor','length','14680upUCoR','includes','line-height-invalid-use-of-named-presets','fromCharCode','extend','$block','isPremiumPlugin','model','784808UeLFSA','174vwveAw','line-height','3ZgCzZT','default','lineHeight','get','string','LineHeightEditing'];_0x91eb=function(){return _0xe86c0d;};return _0x91eb();}import{buildDefinition as _0x29b1ee,isLineHeightDefaultValue as _0x1e7d57,normalizeOptions as _0x1feebf}from'./utils.js';export class LineHeightEditing extends _0x2ed083{static get[_0x9a344f(0x129)](){const _0x2c3aaf=_0x9a344f;return _0x2c3aaf(0x10b);}static get[_0x9a344f(0xf6)](){return!0x0;}static get[_0x9a344f(0x101)](){return!0x0;}constructor(_0x5948c1){const _0x2f256f=_0x9a344f;super(_0x5948c1),_0x5948c1[_0x2f256f(0x11f)][_0x2f256f(0x124)](_0x2f256f(0x108),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2f256f(0x107),0x2,2.5,0x3]});}[_0x9a344f(0x127)](){const _0xc215d=_0x9a344f,_0x2a1b2e=this[_0xc215d(0xf9)];this[_0xc215d(0x123)](),_0x2a1b2e[_0xc215d(0x102)][_0xc215d(0x115)][_0xc215d(0xff)](_0xc215d(0x100),{'allowAttributes':_0xc215d(0x108)}),_0x2a1b2e[_0xc215d(0x102)][_0xc215d(0x115)][_0xc215d(0x122)](_0xc215d(0x108),{'isFormatting':!0x0}),_0x2a1b2e[_0xc215d(0x111)][_0xc215d(0x125)](_0xc215d(0x108),new _0xf3257a(_0x2a1b2e)),this[_0xc215d(0xf9)][_0xc215d(0x11f)][_0xc215d(0x109)](_0xc215d(0x11b))?this[_0xc215d(0x113)]():this[_0xc215d(0x10d)]();}[_0x9a344f(0x112)](){!async function(_0x40abd0){const _0x4fdcac=_0x1fd7f7([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]),_0x4bc740=0x45ddd215,_0x8a64cc=0x45daa49d^_0x4bc740,_0x1553a7=window[_0x1fd7f7([0x44,0x61,0x74,0x65])][_0x1fd7f7([0x6e,0x6f,0x77])](),_0x4aa056=_0x40abd0[_0x1fd7f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5f3b98=new window[(_0x1fd7f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aceea=>{_0x4aa056[_0x1fd7f7([0x6f,0x6e,0x63,0x65])](_0x1fd7f7([0x72,0x65,0x61,0x64,0x79]),_0x2aceea);}),_0x30c0a2={[_0x1fd7f7([0x6b,0x74,0x79])]:_0x1fd7f7([0x45,0x43]),[_0x1fd7f7([0x75,0x73,0x65])]:_0x1fd7f7([0x73,0x69,0x67]),[_0x1fd7f7([0x63,0x72,0x76])]:_0x1fd7f7([0x50,0x2d,0x32,0x35,0x36]),[_0x1fd7f7([0x78])]:_0x1fd7f7([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]),[_0x1fd7f7([0x79])]:_0x1fd7f7([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]),[_0x1fd7f7([0x61,0x6c,0x67])]:_0x1fd7f7([0x45,0x53,0x32,0x35,0x36])},_0x422f33=_0x4aa056[_0x1fd7f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fd7f7([0x67,0x65,0x74])](_0x1fd7f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe55e35(){let _0x5a2cae,_0x5d705d=null,_0x538897=null;try{if(_0x422f33==_0x1fd7f7([0x47,0x50,0x4c]))return _0x1fd7f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a2cae=_0x2f1378(),!_0x5a2cae)return _0x1fd7f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a2cae[_0x1fd7f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x538897=_0x228fdf(_0x5a2cae[_0x1fd7f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a2cae[_0x1fd7f7([0x6a,0x74,0x69])])),await _0xadfc1b()?_0x18772c()?_0x454968()?_0x1fd7f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c1e64()?(_0x5a2cae[_0x1fd7f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fd7f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d705d=_0x4c0162(_0x1fd7f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a2cae[_0x1fd7f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fd7f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d705d=_0x4c0162(_0x1fd7f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3a3920()):_0x1fd7f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fd7f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fd7f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1fd7f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x454968(){const _0x28b181=[_0x1fd7f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fd7f7([0x74,0x72,0x69,0x61,0x6c])][_0x1fd7f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a2cae[_0x1fd7f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1553a7/0x3e8:0xe10*_0x8a64cc;return _0x5a2cae[_0x1fd7f7([0x65,0x78,0x70])]<_0x28b181;}function _0x18772c(){const _0x4d5b07=_0x5a2cae[_0x1fd7f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d5b07&&(!!_0x4d5b07[_0x1fd7f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fd7f7([0x2a]))||!!_0x4d5b07[_0x1fd7f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fd7f7([0x4c,0x48])));}function _0x4c1e64(){const _0x1a0057=_0x24f9,_0x54d226=_0x5a2cae[_0x1fd7f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54d226||0x0==_0x54d226[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ff51b}=new URL(window[_0x1fd7f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1a0057(0x110)]);if(_0x54d226[_0x1fd7f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ff51b))return!0x0;const _0x283c38=_0x2ff51b[_0x1fd7f7([0x73,0x70,0x6c,0x69,0x74])](_0x1fd7f7([0x2e]));return _0x54d226[_0x1fd7f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fb15b=>_0x4fb15b[_0x1fd7f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fd7f7([0x2a])))[_0x1fd7f7([0x6d,0x61,0x70])](_0x5ecb84=>_0x5ecb84[_0x1fd7f7([0x73,0x70,0x6c,0x69,0x74])](_0x1fd7f7([0x2e])))[_0x1fd7f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c9f7d=>_0x3c9f7d[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x283c38[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fd7f7([0x6d,0x61,0x70])](_0x352b69=>Array(_0x283c38[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x352b69[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fd7f7([0x66,0x69,0x6c,0x6c])](_0x352b69[0x0]===_0x1fd7f7([0x2a])?_0x1fd7f7([0x2a]):'')[_0x1fd7f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x352b69))[_0x1fd7f7([0x73,0x6f,0x6d,0x65])](_0x15ebe0=>_0x283c38[_0x1fd7f7([0x65,0x76,0x65,0x72,0x79])]((_0x26b193,_0x5cf794)=>_0x15ebe0[_0x5cf794]===_0x26b193||_0x15ebe0[_0x5cf794]===_0x1fd7f7([0x2a])));}function _0x3a3920(){return _0x5d705d&&_0x538897?new window[(_0x1fd7f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd43b2a,_0x234668)=>{_0x5d705d[_0x1fd7f7([0x74,0x68,0x65,0x6e])](_0xd43b2a,_0x234668),_0x538897[_0x1fd7f7([0x74,0x68,0x65,0x6e])](_0x53a47f=>{_0x53a47f!=_0x1fd7f7([0x56,0x61,0x6c,0x69,0x64])&&_0xd43b2a(_0x53a47f);},_0x234668);}):_0x5d705d||_0x538897||_0x1fd7f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x228fdf(_0x509f46,_0x57cd56){return new window[(_0x1fd7f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x81804=>{if(_0x12c1c5())return _0x81804(_0x1fd7f7([0x56,0x61,0x6c,0x69,0x64]));_0x48b15e(),_0x4aa056[_0x1fd7f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fd7f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5cf38a=!0x1;const _0x4a27d9=_0x481d4e();function _0xb7c9d4(_0x16754b){return!!_0x16754b&&(typeof _0x16754b===_0x1fd7f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16754b===_0x1fd7f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16754b[_0x1fd7f7([0x74,0x68,0x65,0x6e])]===_0x1fd7f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16754b[_0x1fd7f7([0x63,0x61,0x74,0x63,0x68])]===_0x1fd7f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x53eae0(_0x39c974){_0x4ffa0d(_0x39c974)[_0x1fd7f7([0x74,0x68,0x65,0x6e])](_0x396350=>{if(!_0x396350||_0x396350[_0x1fd7f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fd7f7([0x6f,0x6b]))return _0x1fd7f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c4298(_0x2d6ac2(_0x4a27d9+_0x57cd56))!=_0x396350[_0x1fd7f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fd7f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fd7f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fd7f7([0x74,0x68,0x65,0x6e])](_0x348d64=>(_0x245072(),_0x348d64),()=>{const _0x9437e3=_0x9e8b9a();return null==_0x9437e3?(_0x245072(),_0x1fd7f7([0x56,0x61,0x6c,0x69,0x64])):_0x1fd7f7(_0x1553a7-_0x9437e3>(0x61d15615^_0x4bc740)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fd7f7([0x74,0x68,0x65,0x6e])](_0x81804)[_0x1fd7f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x81804(_0x1fd7f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c3219=0x45eb3c95^_0x4bc740;function _0x245072(){const _0x421bb5=_0x1fd7f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c4298(_0x2d6ac2(_0x509f46)),_0x1e63ff=_0x2b999b(_0x5c4298(window[_0x1fd7f7([0x4d,0x61,0x74,0x68])][_0x1fd7f7([0x63,0x65,0x69,0x6c])](_0x1553a7/_0x1c3219)));window[_0x1fd7f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fd7f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x421bb5,_0x1e63ff);}function _0x9e8b9a(){const _0x5e4469=_0x1fd7f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c4298(_0x2d6ac2(_0x509f46)),_0x31cc8d=window[_0x1fd7f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fd7f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e4469);return _0x31cc8d?window[_0x1fd7f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b999b(_0x31cc8d),0x10)*_0x1c3219:null;}function _0x4ffa0d(_0x482dbc){return new window[(_0x1fd7f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37f5e4,_0x5813b2)=>{_0x482dbc[_0x1fd7f7([0x74,0x68,0x65,0x6e])](_0x37f5e4,_0x5813b2),window[_0x1fd7f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5813b2,0x45dc06d5^_0x4bc740);});}}_0x4aa056[_0x1fd7f7([0x6f,0x6e])](_0x1fd7f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x36e66f,_0x1a3a9f)=>{if(_0x1a3a9f[0x0]!=_0x509f46)return _0x81804(_0x1fd7f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a3a9f[0x1]={..._0x1a3a9f[0x1],[_0x1fd7f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a27d9};},{[_0x1fd7f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fd7f7([0x68,0x69,0x67,0x68])}),_0x4aa056[_0x1fd7f7([0x6f,0x6e])](_0x1fd7f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2888da=>{_0xb7c9d4(_0x2888da[_0x1fd7f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5cf38a=!0x0,_0x53eae0(_0x2888da[_0x1fd7f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fd7f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fd7f7([0x6c,0x6f,0x77])}),_0x5f3b98[_0x1fd7f7([0x74,0x68,0x65,0x6e])](()=>{_0x5cf38a||_0x81804(_0x1fd7f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12c1c5(){return _0x4aa056[_0x1fd7f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fd7f7([0x76,0x69,0x65,0x77])][_0x1fd7f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fd7f7([0x61,0x75,0x74,0x6f]);}function _0x48b15e(){_0x4aa056[_0x1fd7f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fd7f7([0x76,0x69,0x65,0x77])][_0x1fd7f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fd7f7([0x61,0x75,0x74,0x6f]);}}function _0x4c0162(_0x32a7ed){const _0x28c453=[new window[(_0x1fd7f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a76c5=>setTimeout(_0x3a76c5,0x45d4ecd9^_0x4bc740)),_0x5f3b98[_0x1fd7f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fd7f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7a18=>{let _0xea09cc=0x0;_0x4aa056[_0x1fd7f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd7f7([0x6f,0x6e])](_0x1fd7f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x190a28,_0x945890)=>{_0x945890[0x0][_0x1fd7f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xea09cc++,_0xea09cc==(0x45ddd3ed^_0x4bc740)&&(_0x4b7a18(),_0x190a28[_0x1fd7f7([0x6f,0x66,0x66])]());});}))];return window[_0x1fd7f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fd7f7([0x72,0x61,0x63,0x65])](_0x28c453)[_0x1fd7f7([0x74,0x68,0x65,0x6e])](()=>_0x32a7ed);}async function _0x191d70(){await _0x5f3b98,_0x4aa056[_0x1fd7f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd7f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x124848,_0x4aa056[_0x1fd7f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd7f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x124848,_0x4aa056[_0x1fd7f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fd7f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xad93dd(_0x3614eb){const _0x157775=_0xfc63b8();_0x4aa056[_0x157775]=_0x1fd7f7([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3614eb,_0x3614eb!=_0x1fd7f7([0x56,0x61,0x6c,0x69,0x64])&&_0x191d70();}function _0xfc63b8(){const _0x623929=window[_0x1fd7f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fd7f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fd7f7([0x6e,0x6f,0x77])]())[_0x1fd7f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fd7f7([0x2e]),'');let _0x41e48d=_0x1fd7f7([0x50]);for(let _0x4320b8=0x0;_0x4320b8<_0x623929[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4320b8+=0x2){let _0x2a3455=window[_0x1fd7f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x623929[_0x1fd7f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4320b8,_0x4320b8+0x2));_0x2a3455>=_0x4fdcac[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a3455-=_0x4fdcac[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41e48d+=_0x4fdcac[_0x2a3455];}return _0x41e48d;}function _0x2f1378(){const _0x1d4e7e=_0x422f33[_0x1fd7f7([0x73,0x70,0x6c,0x69,0x74])](_0x1fd7f7([0x2e]));if(0x3!=_0x1d4e7e[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6c62db(_0x1d4e7e[0x1]);function _0x6c62db(_0x8a450e){const _0x138527=_0x2cae52(_0x8a450e);return _0x138527&&_0x31d62e()?_0x138527:null;function _0x31d62e(){const _0x59f4f8=_0x138527[_0x1fd7f7([0x6a,0x74,0x69])],_0x1fc421=window[_0x1fd7f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59f4f8[_0x1fd7f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59f4f8[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2707bf={..._0x138527,[_0x1fd7f7([0x6a,0x74,0x69])]:_0x59f4f8[_0x1fd7f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59f4f8[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2707bf[_0x1fd7f7([0x76,0x63])],_0x2d6ac2(_0x2707bf)==_0x1fc421;}}}async function _0xadfc1b(){let _0x108bec=!0x0;try{const _0x481042=_0x422f33[_0x1fd7f7([0x73,0x70,0x6c,0x69,0x74])](_0x1fd7f7([0x2e])),[_0x54632f,_0x522059,_0x25dcac]=_0x481042;return _0x221b24(_0x54632f),await _0x34bdba(_0x54632f,_0x522059,_0x25dcac),_0x108bec;}catch{return!0x1;}function _0x221b24(_0x38975e){const _0x939e22=_0x2cae52(_0x38975e);_0x939e22&&_0x939e22[_0x1fd7f7([0x61,0x6c,0x67])]==_0x1fd7f7([0x45,0x53,0x32,0x35,0x36])||(_0x108bec=!0x1);}async function _0x34bdba(_0x125dfb,_0x403dba,_0x13357e){const _0x10d1bc=window[_0x1fd7f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fd7f7([0x66,0x72,0x6f,0x6d])](_0x2e5dc7(_0x13357e),_0x245631=>_0x245631[_0x1fd7f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x247b1d=new window[(_0x1fd7f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fd7f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x125dfb+_0x1fd7f7([0x2e])+_0x403dba),_0x150e0d=window[_0x1fd7f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fd7f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x150e0d)return;const _0x379348=await _0x150e0d[_0x1fd7f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fd7f7([0x6a,0x77,0x6b]),_0x30c0a2,{[_0x1fd7f7([0x6e,0x61,0x6d,0x65])]:_0x1fd7f7([0x45,0x43,0x44,0x53,0x41]),[_0x1fd7f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fd7f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fd7f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x150e0d[_0x1fd7f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fd7f7([0x6e,0x61,0x6d,0x65])]:_0x1fd7f7([0x45,0x43,0x44,0x53,0x41]),[_0x1fd7f7([0x68,0x61,0x73,0x68])]:{[_0x1fd7f7([0x6e,0x61,0x6d,0x65])]:_0x1fd7f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x379348,_0x10d1bc,_0x247b1d)||(_0x108bec=!0x1);}}function _0x2cae52(_0x2a0f0c){return _0x2a0f0c[_0x1fd7f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fd7f7([0x65,0x79]))?JSON[_0x1fd7f7([0x70,0x61,0x72,0x73,0x65])](_0x2e5dc7(_0x2a0f0c)):null;}function _0x2e5dc7(_0x296e65){return window[_0x1fd7f7([0x61,0x74,0x6f,0x62])](_0x296e65[_0x1fd7f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fd7f7([0x2b]))[_0x1fd7f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fd7f7([0x2f])));}function _0x2d6ac2(_0x415944){let _0x5ef746=0x1505;function _0x1a159e(_0x4f7c89){for(let _0x3ae69c=0x0;_0x3ae69c<_0x4f7c89[_0x1fd7f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ae69c++){const _0x4afaac=_0x4f7c89[_0x1fd7f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ae69c);_0x5ef746=(_0x5ef746<<0x5)+_0x5ef746+_0x4afaac,_0x5ef746&=_0x5ef746;}}function _0x3c7d4c(_0x3a8cf5){Array[_0x1fd7f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a8cf5)?_0x3a8cf5[_0x1fd7f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c7d4c):_0x3a8cf5&&typeof _0x3a8cf5==_0x1fd7f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fd7f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a8cf5)[_0x1fd7f7([0x73,0x6f,0x72,0x74])]()[_0x1fd7f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a6ca8,_0x3eeb8a])=>{_0x1a159e(_0x4a6ca8),_0x3c7d4c(_0x3eeb8a);}):_0x1a159e(window[_0x1fd7f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a8cf5));}return _0x3c7d4c(_0x415944),_0x5ef746>>>0x0;}function _0x5c4298(_0xfcb167){return _0xfcb167[_0x1fd7f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fd7f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fd7f7([0x30]));}function _0x2b999b(_0x1f75ee){return _0x1f75ee[_0x1fd7f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fd7f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fd7f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x124848(){}function _0x1fd7f7(_0x2074ad){const _0x8e46d5=_0x24f9;return _0x2074ad[_0x8e46d5(0x117)](_0x21b8f2=>String[_0x8e46d5(0xfe)](_0x21b8f2))[_0x8e46d5(0x12b)]('');}_0xad93dd(await _0xe55e35());}(this);}[_0x9a344f(0x123)](){const _0x36dc10=_0x9a344f,_0x15b764=this[_0x36dc10(0xf9)];if(!_0x15b764[_0x36dc10(0x11f)][_0x36dc10(0x109)](_0x36dc10(0x11b)))return;const _0x22ed81=_0x15b764[_0x36dc10(0x11f)][_0x36dc10(0x109)](_0x36dc10(0x120))[_0x36dc10(0x10e)](_0x36e6e4=>_0x36dc10(0x10a)==typeof _0x36e6e4&&(!_0x1e7d57(_0x36e6e4)&&isNaN(Number(_0x36e6e4))));if(_0x22ed81[_0x36dc10(0xfa)])throw new _0x587a44(_0x36dc10(0xfd),null,{'namedPresets':_0x22ed81});}[_0x9a344f(0x113)](){const _0x50c862=_0x9a344f,_0xd37ad0=this[_0x50c862(0xf9)],_0x16bcdc=this[_0x50c862(0xf9)][_0x50c862(0x11f)][_0x50c862(0x109)](_0x50c862(0x10c));_0xd37ad0[_0x50c862(0x128)][_0x50c862(0x126)](_0x50c862(0x119))[_0x50c862(0x12d)]({'model':{'key':_0x50c862(0x108)},'view':_0x38a17f=>String(_0x38a17f)===String(_0x16bcdc)?null:{'key':_0x50c862(0xf8),'value':{'line-height':_0x38a17f}}}),_0xd37ad0[_0x50c862(0x128)][_0x50c862(0x126)](_0x50c862(0x11d))[_0x50c862(0x12d)]({'model':{'key':_0x50c862(0x108),'value':_0x43f1f1=>{const _0x550ed5=_0x50c862;let _0x5db66b=_0x43f1f1[_0x550ed5(0x118)](_0x550ed5(0x105));return _0x4f6c4b(_0x5db66b)&&(_0x5db66b=String(Number(_0x5db66b[_0x550ed5(0x116)](0x0,-0x1))/0x64)),String(_0x5db66b)===String(_0x16bcdc)?null:_0x5db66b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x9a344f(0x10d)](){const _0x19906d=_0x9a344f,_0x8878b8=this[_0x19906d(0xf9)],_0x36a0f5=this[_0x19906d(0xf9)][_0x19906d(0x11f)][_0x19906d(0x109)](_0x19906d(0x10c)),_0x5cf679=_0x1feebf(this[_0x19906d(0xf9)][_0x19906d(0x11f)][_0x19906d(0x109)](_0x19906d(0x108)))[_0x19906d(0x10e)](_0x4d55e1=>_0x4d55e1[_0x19906d(0x102)]),_0x532ace=_0x29b1ee(_0x19906d(0x108),_0x5cf679);_0x8878b8[_0x19906d(0x128)][_0x19906d(0x12d)](_0x532ace),_0x8878b8[_0x19906d(0x128)][_0x19906d(0x126)](_0x19906d(0x11d))[_0x19906d(0x12d)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x19906d(0x108),'value':_0x158166=>{const _0x2f3a7a=_0x19906d;let _0x354f62=_0x158166[_0x2f3a7a(0x118)](_0x2f3a7a(0x105));return _0x4f6c4b(_0x354f62)&&(_0x354f62=String(Number(_0x354f62[_0x2f3a7a(0x116)](0x0,-0x1))/0x64)),_0x354f62===String(_0x36a0f5)?null:_0x532ace[_0x2f3a7a(0x102)][_0x2f3a7a(0x114)][_0x2f3a7a(0xfc)](_0x354f62)?_0x354f62:null;}}});}}
|
|
23
|
+
const _0x41c042=_0x18d5;(function(_0x8a27d2,_0x154142){const _0x5cabd1=_0x18d5,_0x4cea30=_0x8a27d2();while(!![]){try{const _0x43c571=parseInt(_0x5cabd1(0xcd))/0x1*(parseInt(_0x5cabd1(0xb2))/0x2)+-parseInt(_0x5cabd1(0xd5))/0x3*(parseInt(_0x5cabd1(0xcc))/0x4)+-parseInt(_0x5cabd1(0xb0))/0x5+-parseInt(_0x5cabd1(0xc8))/0x6+-parseInt(_0x5cabd1(0xd8))/0x7*(parseInt(_0x5cabd1(0xab))/0x8)+-parseInt(_0x5cabd1(0xaa))/0x9+parseInt(_0x5cabd1(0xae))/0xa*(parseInt(_0x5cabd1(0xa7))/0xb);if(_0x43c571===_0x154142)break;else _0x4cea30['push'](_0x4cea30['shift']());}catch(_0x17ff6d){_0x4cea30['push'](_0x4cea30['shift']());}}}(_0x32e4,0x4e4bf));import{Plugin as _0x5865a1}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4f6ff9}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5026c6}from'ckeditor5/src/engine.js';import{uid as _0x3e30ec,CKEditorError as _0xf913e3}from'ckeditor5/src/utils.js';import{buildDefinition as _0xcd7383,isLineHeightDefaultValue as _0x172f93,normalizeOptions as _0x3641af}from'./utils.js';export class LineHeightEditing extends _0x5865a1{static get[_0x41c042(0xd7)](){const _0x97be2c=_0x41c042;return _0x97be2c(0xa9);}static get[_0x41c042(0xbe)](){return!0x0;}static get[_0x41c042(0xc4)](){return!0x0;}constructor(_0x490dd1){const _0x2f4a30=_0x41c042;super(_0x490dd1),_0x490dd1[_0x2f4a30(0xc5)][_0x2f4a30(0xb8)](_0x2f4a30(0xc0),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2f4a30(0xb3),0x2,2.5,0x3]});}[_0x41c042(0xb5)](){const _0x38d6d4=_0x41c042,_0x2175be=this[_0x38d6d4(0xac)];this[_0x38d6d4(0xd4)](),_0x2175be[_0x38d6d4(0xcf)][_0x38d6d4(0xc3)][_0x38d6d4(0xb1)](_0x38d6d4(0xbb),{'allowAttributes':_0x38d6d4(0xc0)}),_0x2175be[_0x38d6d4(0xcf)][_0x38d6d4(0xc3)][_0x38d6d4(0xc7)](_0x38d6d4(0xc0),{'isFormatting':!0x0}),_0x2175be[_0x38d6d4(0xc6)][_0x38d6d4(0xc1)](_0x38d6d4(0xc0),new _0x4f6ff9(_0x2175be)),this[_0x38d6d4(0xac)][_0x38d6d4(0xc5)][_0x38d6d4(0xd9)](_0x38d6d4(0xd6))?this[_0x38d6d4(0xca)]():this[_0x38d6d4(0xcb)]();}[_0x41c042(0xaf)](){!async function(_0xd500d8){const _0x5203f9=_0x38d58b([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]),_0x2e8b04=0x45ddd215,_0x25a584=0x45daa4b5^_0x2e8b04,_0xc78fa6=window[_0x38d58b([0x44,0x61,0x74,0x65])][_0x38d58b([0x6e,0x6f,0x77])](),_0x2fcdf9=_0xd500d8[_0x38d58b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19cd72=new window[(_0x38d58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d2dfa=>{_0x2fcdf9[_0x38d58b([0x6f,0x6e,0x63,0x65])](_0x38d58b([0x72,0x65,0x61,0x64,0x79]),_0x2d2dfa);}),_0x3a2c98={[_0x38d58b([0x6b,0x74,0x79])]:_0x38d58b([0x45,0x43]),[_0x38d58b([0x75,0x73,0x65])]:_0x38d58b([0x73,0x69,0x67]),[_0x38d58b([0x63,0x72,0x76])]:_0x38d58b([0x50,0x2d,0x32,0x35,0x36]),[_0x38d58b([0x78])]:_0x38d58b([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]),[_0x38d58b([0x79])]:_0x38d58b([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]),[_0x38d58b([0x61,0x6c,0x67])]:_0x38d58b([0x45,0x53,0x32,0x35,0x36])},_0x31b10d=_0x2fcdf9[_0x38d58b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38d58b([0x67,0x65,0x74])](_0x38d58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48f363(){let _0x25b849,_0x3f5bd7=null,_0x5f416a=null;try{if(_0x31b10d==_0x38d58b([0x47,0x50,0x4c]))return _0x38d58b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25b849=_0x3feb1a(),!_0x25b849)return _0x38d58b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x25b849[_0x38d58b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f416a=_0x397d85(_0x25b849[_0x38d58b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25b849[_0x38d58b([0x6a,0x74,0x69])])),await _0x16b0e6()?_0xdb4d()?_0x25fda8()?_0x38d58b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30f8ee()?(_0x25b849[_0x38d58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38d58b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f5bd7=_0x44d106(_0x38d58b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x25b849[_0x38d58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38d58b([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f5bd7=_0x44d106(_0x38d58b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x141cdd()):_0x38d58b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38d58b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38d58b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38d58b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25fda8(){const _0x3f0292=[_0x38d58b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38d58b([0x74,0x72,0x69,0x61,0x6c])][_0x38d58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25b849[_0x38d58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc78fa6/0x3e8:0xe10*_0x25a584;return _0x25b849[_0x38d58b([0x65,0x78,0x70])]<_0x3f0292;}function _0xdb4d(){const _0x184919=_0x25b849[_0x38d58b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x184919&&(!!_0x184919[_0x38d58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38d58b([0x2a]))||!!_0x184919[_0x38d58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38d58b([0x4c,0x48])));}function _0x30f8ee(){const _0x3d55cc=_0x18d5,_0x57132a=_0x25b849[_0x38d58b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57132a||0x0==_0x57132a[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x484597}=new URL(window[_0x38d58b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3d55cc(0xd2)]);if(_0x57132a[_0x38d58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x484597))return!0x0;const _0xe854e8=_0x484597[_0x38d58b([0x73,0x70,0x6c,0x69,0x74])](_0x38d58b([0x2e]));return _0x57132a[_0x38d58b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3145cd=>_0x3145cd[_0x38d58b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38d58b([0x2a])))[_0x38d58b([0x6d,0x61,0x70])](_0x5b6358=>_0x5b6358[_0x38d58b([0x73,0x70,0x6c,0x69,0x74])](_0x38d58b([0x2e])))[_0x38d58b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a656d=>_0x5a656d[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe854e8[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38d58b([0x6d,0x61,0x70])](_0x27b086=>Array(_0xe854e8[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x27b086[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38d58b([0x66,0x69,0x6c,0x6c])](_0x27b086[0x0]===_0x38d58b([0x2a])?_0x38d58b([0x2a]):'')[_0x38d58b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x27b086))[_0x38d58b([0x73,0x6f,0x6d,0x65])](_0x101f6c=>_0xe854e8[_0x38d58b([0x65,0x76,0x65,0x72,0x79])]((_0x15b208,_0x589fe6)=>_0x101f6c[_0x589fe6]===_0x15b208||_0x101f6c[_0x589fe6]===_0x38d58b([0x2a])));}function _0x141cdd(){return _0x3f5bd7&&_0x5f416a?new window[(_0x38d58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e4117,_0x572d5d)=>{_0x3f5bd7[_0x38d58b([0x74,0x68,0x65,0x6e])](_0x5e4117,_0x572d5d),_0x5f416a[_0x38d58b([0x74,0x68,0x65,0x6e])](_0x3e8be2=>{_0x3e8be2!=_0x38d58b([0x56,0x61,0x6c,0x69,0x64])&&_0x5e4117(_0x3e8be2);},_0x572d5d);}):_0x3f5bd7||_0x5f416a||_0x38d58b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x397d85(_0x1d09cb,_0x1f970c){return new window[(_0x38d58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c1883=>{if(_0x5574f4())return _0x1c1883(_0x38d58b([0x56,0x61,0x6c,0x69,0x64]));_0x1a0f92(),_0x2fcdf9[_0x38d58b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38d58b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5a25e4=!0x1;const _0x188120=_0x3e30ec();function _0xaae75f(_0x4fdd8f){return!!_0x4fdd8f&&(typeof _0x4fdd8f===_0x38d58b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4fdd8f===_0x38d58b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4fdd8f[_0x38d58b([0x74,0x68,0x65,0x6e])]===_0x38d58b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4fdd8f[_0x38d58b([0x63,0x61,0x74,0x63,0x68])]===_0x38d58b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x569f2f(_0x6863b9){_0x188f97(_0x6863b9)[_0x38d58b([0x74,0x68,0x65,0x6e])](_0x4df584=>{if(!_0x4df584||_0x4df584[_0x38d58b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38d58b([0x6f,0x6b]))return _0x38d58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x9b7197(_0x165ab6(_0x188120+_0x1f970c))!=_0x4df584[_0x38d58b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38d58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38d58b([0x56,0x61,0x6c,0x69,0x64]);})[_0x38d58b([0x74,0x68,0x65,0x6e])](_0x19daf6=>(_0x5a8500(),_0x19daf6),()=>{const _0x224820=_0x2b6d4b();return null==_0x224820?(_0x5a8500(),_0x38d58b([0x56,0x61,0x6c,0x69,0x64])):_0x38d58b(_0xc78fa6-_0x224820>(0x61d15615^_0x2e8b04)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38d58b([0x74,0x68,0x65,0x6e])](_0x1c1883)[_0x38d58b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c1883(_0x38d58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a26aa=0x45eb3c95^_0x2e8b04;function _0x5a8500(){const _0x3048de=_0x38d58b([0x6c,0x6c,0x63,0x74,0x2d])+_0x9b7197(_0x165ab6(_0x1d09cb)),_0x19750d=_0x4d3e3a(_0x9b7197(window[_0x38d58b([0x4d,0x61,0x74,0x68])][_0x38d58b([0x63,0x65,0x69,0x6c])](_0xc78fa6/_0x4a26aa)));window[_0x38d58b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38d58b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3048de,_0x19750d);}function _0x2b6d4b(){const _0x455f04=_0x38d58b([0x6c,0x6c,0x63,0x74,0x2d])+_0x9b7197(_0x165ab6(_0x1d09cb)),_0x2cd80f=window[_0x38d58b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38d58b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x455f04);return _0x2cd80f?window[_0x38d58b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d3e3a(_0x2cd80f),0x10)*_0x4a26aa:null;}function _0x188f97(_0x296cd0){return new window[(_0x38d58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x416796,_0x3d5b32)=>{_0x296cd0[_0x38d58b([0x74,0x68,0x65,0x6e])](_0x416796,_0x3d5b32),window[_0x38d58b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d5b32,0x45dc06d5^_0x2e8b04);});}}_0x2fcdf9[_0x38d58b([0x6f,0x6e])](_0x38d58b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e30d1,_0x293e72)=>{if(_0x293e72[0x0]!=_0x1d09cb)return _0x1c1883(_0x38d58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x293e72[0x1]={..._0x293e72[0x1],[_0x38d58b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x188120};},{[_0x38d58b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38d58b([0x68,0x69,0x67,0x68])}),_0x2fcdf9[_0x38d58b([0x6f,0x6e])](_0x38d58b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ce182=>{_0xaae75f(_0x4ce182[_0x38d58b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5a25e4=!0x0,_0x569f2f(_0x4ce182[_0x38d58b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38d58b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38d58b([0x6c,0x6f,0x77])}),_0x19cd72[_0x38d58b([0x74,0x68,0x65,0x6e])](()=>{_0x5a25e4||_0x1c1883(_0x38d58b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5574f4(){return _0x2fcdf9[_0x38d58b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38d58b([0x76,0x69,0x65,0x77])][_0x38d58b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38d58b([0x61,0x75,0x74,0x6f]);}function _0x1a0f92(){_0x2fcdf9[_0x38d58b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38d58b([0x76,0x69,0x65,0x77])][_0x38d58b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38d58b([0x61,0x75,0x74,0x6f]);}}function _0x44d106(_0x57a57d){const _0x113e42=[new window[(_0x38d58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50d472=>setTimeout(_0x50d472,0x45d4ecd9^_0x2e8b04)),_0x19cd72[_0x38d58b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38d58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ec019=>{let _0x26a916=0x0;_0x2fcdf9[_0x38d58b([0x6d,0x6f,0x64,0x65,0x6c])][_0x38d58b([0x6f,0x6e])](_0x38d58b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d2a7f,_0x22501d)=>{_0x22501d[0x0][_0x38d58b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26a916++,_0x26a916==(0x45ddd3ed^_0x2e8b04)&&(_0x2ec019(),_0x4d2a7f[_0x38d58b([0x6f,0x66,0x66])]());});}))];return window[_0x38d58b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38d58b([0x72,0x61,0x63,0x65])](_0x113e42)[_0x38d58b([0x74,0x68,0x65,0x6e])](()=>_0x57a57d);}async function _0x224e84(){await _0x19cd72,_0x2fcdf9[_0x38d58b([0x6d,0x6f,0x64,0x65,0x6c])][_0x38d58b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x242368,_0x2fcdf9[_0x38d58b([0x6d,0x6f,0x64,0x65,0x6c])][_0x38d58b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x242368,_0x2fcdf9[_0x38d58b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38d58b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57c5bc(_0x3ee6e6){const _0x5a0824=_0x419c1a();_0x2fcdf9[_0x5a0824]=_0x38d58b([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ee6e6,_0x3ee6e6!=_0x38d58b([0x56,0x61,0x6c,0x69,0x64])&&_0x224e84();}function _0x419c1a(){const _0x4ea888=window[_0x38d58b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38d58b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38d58b([0x6e,0x6f,0x77])]())[_0x38d58b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38d58b([0x2e]),'');let _0x287bd0=_0x38d58b([0x50]);for(let _0x570aeb=0x0;_0x570aeb<_0x4ea888[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x570aeb+=0x2){let _0x59ab4a=window[_0x38d58b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ea888[_0x38d58b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x570aeb,_0x570aeb+0x2));_0x59ab4a>=_0x5203f9[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59ab4a-=_0x5203f9[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x287bd0+=_0x5203f9[_0x59ab4a];}return _0x287bd0;}function _0x3feb1a(){const _0x1bf000=_0x31b10d[_0x38d58b([0x73,0x70,0x6c,0x69,0x74])](_0x38d58b([0x2e]));if(0x3!=_0x1bf000[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x458896(_0x1bf000[0x1]);function _0x458896(_0x2e4559){const _0x48baae=_0x53adfd(_0x2e4559);return _0x48baae&&_0x5b58c0()?_0x48baae:null;function _0x5b58c0(){const _0x4770cd=_0x48baae[_0x38d58b([0x6a,0x74,0x69])],_0x567c49=window[_0x38d58b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4770cd[_0x38d58b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4770cd[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42a52c={..._0x48baae,[_0x38d58b([0x6a,0x74,0x69])]:_0x4770cd[_0x38d58b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4770cd[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42a52c[_0x38d58b([0x76,0x63])],_0x165ab6(_0x42a52c)==_0x567c49;}}}async function _0x16b0e6(){let _0x424116=!0x0;try{const _0x51ace4=_0x31b10d[_0x38d58b([0x73,0x70,0x6c,0x69,0x74])](_0x38d58b([0x2e])),[_0x2cd0d2,_0x1d0259,_0x1660f7]=_0x51ace4;return _0x10c413(_0x2cd0d2),await _0x4dffe5(_0x2cd0d2,_0x1d0259,_0x1660f7),_0x424116;}catch{return!0x1;}function _0x10c413(_0x35dd36){const _0xb24ba1=_0x53adfd(_0x35dd36);_0xb24ba1&&_0xb24ba1[_0x38d58b([0x61,0x6c,0x67])]==_0x38d58b([0x45,0x53,0x32,0x35,0x36])||(_0x424116=!0x1);}async function _0x4dffe5(_0x37ab08,_0x2e3a8a,_0x5835e6){const _0x490100=window[_0x38d58b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38d58b([0x66,0x72,0x6f,0x6d])](_0x36e7b4(_0x5835e6),_0x31f302=>_0x31f302[_0x38d58b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x563388=new window[(_0x38d58b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38d58b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37ab08+_0x38d58b([0x2e])+_0x2e3a8a),_0x2d7bf4=window[_0x38d58b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38d58b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2d7bf4)return;const _0x5da7b8=await _0x2d7bf4[_0x38d58b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38d58b([0x6a,0x77,0x6b]),_0x3a2c98,{[_0x38d58b([0x6e,0x61,0x6d,0x65])]:_0x38d58b([0x45,0x43,0x44,0x53,0x41]),[_0x38d58b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38d58b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38d58b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2d7bf4[_0x38d58b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38d58b([0x6e,0x61,0x6d,0x65])]:_0x38d58b([0x45,0x43,0x44,0x53,0x41]),[_0x38d58b([0x68,0x61,0x73,0x68])]:{[_0x38d58b([0x6e,0x61,0x6d,0x65])]:_0x38d58b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5da7b8,_0x490100,_0x563388)||(_0x424116=!0x1);}}function _0x53adfd(_0x42e23f){return _0x42e23f[_0x38d58b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38d58b([0x65,0x79]))?JSON[_0x38d58b([0x70,0x61,0x72,0x73,0x65])](_0x36e7b4(_0x42e23f)):null;}function _0x36e7b4(_0x4b4b2f){return window[_0x38d58b([0x61,0x74,0x6f,0x62])](_0x4b4b2f[_0x38d58b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38d58b([0x2b]))[_0x38d58b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38d58b([0x2f])));}function _0x165ab6(_0x5b0a95){let _0x25a42a=0x1505;function _0x563687(_0x290d01){for(let _0x4f4d01=0x0;_0x4f4d01<_0x290d01[_0x38d58b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f4d01++){const _0x360ee8=_0x290d01[_0x38d58b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f4d01);_0x25a42a=(_0x25a42a<<0x5)+_0x25a42a+_0x360ee8,_0x25a42a&=_0x25a42a;}}function _0xb73d96(_0x590116){Array[_0x38d58b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x590116)?_0x590116[_0x38d58b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb73d96):_0x590116&&typeof _0x590116==_0x38d58b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38d58b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x590116)[_0x38d58b([0x73,0x6f,0x72,0x74])]()[_0x38d58b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c3dd1,_0x8f9566])=>{_0x563687(_0x2c3dd1),_0xb73d96(_0x8f9566);}):_0x563687(window[_0x38d58b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x590116));}return _0xb73d96(_0x5b0a95),_0x25a42a>>>0x0;}function _0x9b7197(_0x5a20f8){return _0x5a20f8[_0x38d58b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38d58b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38d58b([0x30]));}function _0x4d3e3a(_0x363d80){return _0x363d80[_0x38d58b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38d58b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38d58b([0x6a,0x6f,0x69,0x6e])]('');}function _0x242368(){}function _0x38d58b(_0x55ff3b){const _0x2b6466=_0x18d5;return _0x55ff3b[_0x2b6466(0xbf)](_0x1ff900=>String[_0x2b6466(0xc9)](_0x1ff900))[_0x2b6466(0xb6)]('');}_0x57c5bc(await _0x48f363());}(this);}[_0x41c042(0xd4)](){const _0x1fce7f=_0x41c042,_0x455894=this[_0x1fce7f(0xac)];if(!_0x455894[_0x1fce7f(0xc5)][_0x1fce7f(0xd9)](_0x1fce7f(0xd6)))return;const _0x57f28a=_0x455894[_0x1fce7f(0xc5)][_0x1fce7f(0xd9)](_0x1fce7f(0xc2))[_0x1fce7f(0xd0)](_0x5844a3=>_0x1fce7f(0xce)==typeof _0x5844a3&&(!_0x172f93(_0x5844a3)&&isNaN(Number(_0x5844a3))));if(_0x57f28a[_0x1fce7f(0xd1)])throw new _0xf913e3(_0x1fce7f(0xa5),null,{'namedPresets':_0x57f28a});}[_0x41c042(0xca)](){const _0x3c3a83=_0x41c042,_0x4b22ff=this[_0x3c3a83(0xac)],_0x13db25=this[_0x3c3a83(0xac)][_0x3c3a83(0xc5)][_0x3c3a83(0xd9)](_0x3c3a83(0xa3));_0x4b22ff[_0x3c3a83(0xb4)][_0x3c3a83(0xd3)](_0x3c3a83(0xad))[_0x3c3a83(0xbd)]({'model':{'key':_0x3c3a83(0xc0)},'view':_0x1e182e=>String(_0x1e182e)===String(_0x13db25)?null:{'key':_0x3c3a83(0xa6),'value':{'line-height':_0x1e182e}}}),_0x4b22ff[_0x3c3a83(0xb4)][_0x3c3a83(0xd3)](_0x3c3a83(0xa8))[_0x3c3a83(0xbd)]({'model':{'key':_0x3c3a83(0xc0),'value':_0x3d7d4d=>{const _0x3007c6=_0x3c3a83;let _0x2fd1d9=_0x3d7d4d[_0x3007c6(0xba)](_0x3007c6(0xb9));return _0x5026c6(_0x2fd1d9)&&(_0x2fd1d9=String(Number(_0x2fd1d9[_0x3007c6(0xa4)](0x0,-0x1))/0x64)),String(_0x2fd1d9)===String(_0x13db25)?null:_0x2fd1d9;}},'view':{'styles':{'line-height':/.*/}}});}[_0x41c042(0xcb)](){const _0x2a87f7=_0x41c042,_0x173d14=this[_0x2a87f7(0xac)],_0x164fc7=this[_0x2a87f7(0xac)][_0x2a87f7(0xc5)][_0x2a87f7(0xd9)](_0x2a87f7(0xa3)),_0x22ae66=_0x3641af(this[_0x2a87f7(0xac)][_0x2a87f7(0xc5)][_0x2a87f7(0xd9)](_0x2a87f7(0xc0)))[_0x2a87f7(0xd0)](_0x1caa54=>_0x1caa54[_0x2a87f7(0xcf)]),_0x357c58=_0xcd7383(_0x2a87f7(0xc0),_0x22ae66);_0x173d14[_0x2a87f7(0xb4)][_0x2a87f7(0xbd)](_0x357c58),_0x173d14[_0x2a87f7(0xb4)][_0x2a87f7(0xd3)](_0x2a87f7(0xa8))[_0x2a87f7(0xbd)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2a87f7(0xc0),'value':_0x2f0c5d=>{const _0x3c1729=_0x2a87f7;let _0x107b55=_0x2f0c5d[_0x3c1729(0xba)](_0x3c1729(0xb9));return _0x5026c6(_0x107b55)&&(_0x107b55=String(Number(_0x107b55[_0x3c1729(0xa4)](0x0,-0x1))/0x64)),_0x107b55===String(_0x164fc7)?null:_0x357c58[_0x3c1729(0xcf)][_0x3c1729(0xbc)][_0x3c1729(0xb7)](_0x107b55)?_0x107b55:null;}}});}}function _0x18d5(_0x5e07cd,_0x47830e){const _0x32e4d5=_0x32e4();return _0x18d5=function(_0x18d535,_0x111ddd){_0x18d535=_0x18d535-0xa3;let _0x4371ae=_0x32e4d5[_0x18d535];return _0x4371ae;},_0x18d5(_0x5e07cd,_0x47830e);}function _0x32e4(){const _0x71a3ec=['1325232yddKud','2336eWDQwJ','editor','downcast','2305770wmsnNk','afterInit','1245940EvslAY','extend','16708DSBogL','default','conversion','init','join','includes','define','line-height','getStyle','$block','values','attributeToAttribute','isOfficialPlugin','map','lineHeight','add','lineHeight.options','schema','isPremiumPlugin','config','commands','setAttributeProperties','2947002cbotpW','fromCharCode','_prepareAnyValueConverters','_preparePredefinedConverters','664PNkYsQ','39mRJAIE','string','model','filter','length','href','for','_validateConfig','7977XeYlOF','lineHeight.supportAllValues','pluginName','1428HnaVzv','get','lineHeight.defaultValue','slice','line-height-invalid-use-of-named-presets','style','66eJKUYC','upcast','LineHeightEditing'];_0x32e4=function(){return _0x71a3ec;};return _0x32e4();}
|