@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250701.0 → 0.0.0-nightly-20250702.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md.
4
- */(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>N,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);function r(){const e=["getSelectedBlocks","refresh","4598073bKWTHI","value","model","document","1571452BsvTlg","schema","execute","2772Cxwgbm","setAttribute","126978Dpygoa","lineHeight","522255HdHRAS","2AemqMS","3325864vkUCvc","checkAttribute","selection","_canHaveLineHeight","1395wgAeql","from","1782935miUrAG","filter","isEnabled","editor","removeAttribute","change","getAttribute"];return(r=function(){return e})()}const o=s;function s(e,t){const n=r();return(s=function(e,t){return n[e-=375]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(218999===parseInt(t(382))/1*(-parseInt(t(385))/2)+parseInt(t(384))/3+parseInt(t(377))/4+-parseInt(t(390))/5*(-parseInt(t(380))/6)+-parseInt(t(392))/7+parseInt(t(386))/8+-parseInt(t(401))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(r);class a extends e.Command{[o(400)](){const e=o,n=this[e(395)][e(375)][e(376)],i=(0,t.first)(n[e(388)][e(399)]());this[e(394)]=Boolean(i)&&this[e(389)](i),this[e(402)]=this[e(394)]&&i[e(398)](e(383))}[o(379)](e={}){const t=o,n=this[t(395)][t(375)],i=n[t(376)][t(388)],r=e[t(402)];n[t(397)](e=>{const n=t,o=Array[n(391)](i[n(399)]())[n(393)](e=>this[n(389)](e));for(const t of o)r?e[n(381)](n(383),r,t):e[n(396)](n(383),t)})}[o(389)](e){const t=o;return this[t(395)][t(375)][t(378)][t(387)](e,t(383))}}var c=n(783);!function(e){const t=d,n=e();for(;;)try{if(604063===-parseInt(t(492))/1+-parseInt(t(512))/2*(-parseInt(t(495))/3)+parseInt(t(511))/4*(parseInt(t(518))/5)+parseInt(t(519))/6*(parseInt(t(497))/7)+parseInt(t(513))/8+-parseInt(t(506))/9*(parseInt(t(509))/10)+-parseInt(t(508))/11*(parseInt(t(516))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(f);const l={get single(){const e=d;return{title:e(499),model:e(500),view:{key:e(498),value:e(490)}}},get double(){const e=d;return{title:e(517),model:e(491),view:{key:e(498),value:e(520)}}}};function u(e){const t=d;return t(515)==typeof e&&t(504)===e[t(505)]()}function d(e,t){const n=f();return(d=function(e,t){return n[e-=490]})(e,t)}function h(e){const t=d;return e[t(525)][t(523)](n=>u(n)?{title:String(e[t(503)]),model:t(504)}:(t(501)==typeof n&&(n=String(n)),t(515)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(507),styles:{"line-height":n}}}:function(e){const t=d;return t(515)==typeof e?l[e]:l[e[t(502)]]}(n)))[t(521)](e=>void 0!==e)}function f(){const e=["1963420lGTecO","39352XvPkle","7970392GmvcxE","push","string","5752344qrNzCK","Double","10EWWISb","6iQfKOt","line-height-double","filter","values","map","value","options","line-height-single","double","682425KCuZUd","view","line-height:","51txqRib","key","7822227FcLrii","class","Single","single","number","model","defaultValue","default","toLowerCase","1575JkJooR","span","22PypZCb","67700UsImeT","style"];return(f=function(){return e})()}const p=m;function g(){const e=["_validateConfig","attributeToAttribute","369975hOuOBV","model","includes","length","5ZIyyhX","values","278692qORUMf","36gqAOLz","schema","string","style","lineHeight.options","define","for","fromCharCode","pluginName","lineHeight.defaultValue","getStyle","map","commands","init","710982mjlqlB","isOfficialPlugin","1644357IbgKWF","$block","46570TspPvu","join","config","extend","setAttributeProperties","downcast","lineHeight","afterInit","upcast","lineHeight.supportAllValues","default","isPremiumPlugin","line-height","572920QGtCVU","slice","_prepareAnyValueConverters","LineHeightEditing","line-height-invalid-use-of-named-presets","add","conversion","80NTCrIh","_preparePredefinedConverters","get","186298Szbswf","2msfeCl","editor","filter","href"];return(g=function(){return e})()}function m(e,t){const n=g();return(m=function(e,t){return n[e-=187]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(152410===parseInt(t(214))/1*(-parseInt(t(238))/2)+parseInt(t(189))/3+parseInt(t(195))/4+-parseInt(t(193))/5*(-parseInt(t(210))/6)+parseInt(t(237))/7*(parseInt(t(234))/8)+parseInt(t(196))/9*(-parseInt(t(227))/10)+-parseInt(t(212))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(g);class w extends e.Plugin{static get[p(204)](){return p(230)}static get[p(211)](){return!0}static get[p(225)](){return!0}constructor(e){const t=p;super(e),e[t(216)][t(201)](t(220),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(224),2,2.5,3]})}[p(209)](){const e=p,t=this[e(239)];this[e(187)](),t[e(190)][e(197)][e(217)](e(213),{allowAttributes:e(220)}),t[e(190)][e(197)][e(218)](e(220),{isFormatting:!0}),t[e(208)][e(232)](e(220),new a(t)),this[e(239)][e(216)][e(236)](e(223))?this[e(229)]():this[e(235)]()}[p(221)](){!async function(e){const n=g([106,69,113,48,109,68,101,112,118,86,52,88,103,51,53,97,83,90,98,79,57,66,99,65,114,107,77,70,67,100,80,105,102,78,120,82,50,84,117,119,108,56,71,54,72,75,55,85,76,73,116,121,89,81,74,111,104,49,122,87,115,110]),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(207)](e=>String[t(203)](e))[t(215)]("")}!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([106]);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:1751328e3;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(241)]);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(187)](){const e=p,n=this[e(239)];if(!n[e(216)][e(236)](e(223)))return;const i=n[e(216)][e(236)](e(200))[e(240)](t=>e(198)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(192)])throw new t.CKEditorError(e(231),null,{namedPresets:i})}[p(229)](){const e=p,t=this[e(239)],n=this[e(239)][e(216)][e(236)](e(205));t[e(233)][e(202)](e(219))[e(188)]({model:{key:e(220)},view:t=>String(t)===String(n)?null:{key:e(199),value:{"line-height":t}}}),t[e(233)][e(202)](e(222))[e(188)]({model:{key:e(220),value:t=>{const i=e;let r=t[i(206)](i(226));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(228)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(235)](){const e=p,t=this[e(239)],n=this[e(239)][e(216)][e(236)](e(205)),i=h(this[e(239)][e(216)][e(236)](e(220)))[e(240)](t=>t[e(190)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(498)===e[n(493)]?.[n(496)]?(i[n(502)][n(522)][n(514)](e[n(502)]),i[n(493)][e[n(502)]]={key:n(498),value:e[n(493)][n(524)]}):(i[n(502)][n(522)][n(514)](e[n(502)]),i[n(493)][e[n(502)]]={key:n(510),value:n(494)+e[n(502)]+";"});return i}(e(220),i);t[e(233)][e(188)](r),t[e(233)][e(202)](e(222))[e(188)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(220),value:t=>{const i=e;let o=t[i(206)](i(226));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(228)](0,-1))/100)),o===String(n)?null:r[i(190)][i(194)][i(191)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),O=n(262),C=n.n(O),_=n(667),x=n.n(_),E=n(357),S=n.n(E),k=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=x(),P.insert=C().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=S();b()(k.A,P);k.A&&k.A.locals&&k.A.locals;class A extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return h(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()})}}function K(e,t){var n=V();return(K=function(e,t){return n[e-=112]})(e,t)}var T=K;function V(){var e=["10382WXoXSN","LineHeight","22GwOfrL","1182fsKaFo","3664090UOXrLp","isPremiumPlugin","72HYnCrs","256266OPXDXo","4488016hZZkxo","313KSYrtE","4uVieeG","isOfficialPlugin","pluginName","1413672TXiyhC","496EAZPih","2199045xikBtc","20363sNusMz","requires"];return(V=function(){return e})()}!function(e){for(var t=K,n=e();;)try{if(937521===parseInt(t(129))/1*(-parseInt(t(120))/2)+parseInt(t(115))/3+-parseInt(t(112))/4*(parseInt(t(117))/5)+-parseInt(t(123))/6*(parseInt(t(118))/7)+-parseInt(t(116))/8*(-parseInt(t(127))/9)+-parseInt(t(124))/10*(parseInt(t(122))/11)+parseInt(t(126))/12*(parseInt(t(128))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(V);class N extends e.Plugin{static get[T(119)](){return[w,A]}static get[T(114)](){return T(121)}static get[T(113)](){return!0}static get[T(125)](){return!0}}function M(){var e=["494263ZIHfYF","1948108OUfMFW","3790464DwFTIn","3990DpPBmX","2956770UIkJSg","53576442SvWQkG","1085049CQdPDR","12312IOdxwc","104ynUndD"];return(M=function(){return e})()}function B(e,t){var n=M();return(B=function(e,t){return n[e-=288]})(e,t)}!function(e){for(var t=B,n=e();;)try{if(919410===-parseInt(t(291))/1+-parseInt(t(289))/2+-parseInt(t(296))/3+-parseInt(t(295))/4+-parseInt(t(288))/5*(parseInt(t(292))/6)+parseInt(t(294))/7*(parseInt(t(293))/8)+parseInt(t(290))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
4
+ */(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>T,LineHeightCommand:()=>s,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=o;function o(e,t){const n=a();return(o=function(e,t){return n[e-=217]})(e,t)}!function(e){const t=o,n=e();for(;;)try{if(908797===-parseInt(t(218))/1*(-parseInt(t(233))/2)+-parseInt(t(239))/3+-parseInt(t(226))/4+parseInt(t(236))/5*(-parseInt(t(240))/6)+-parseInt(t(223))/7+-parseInt(t(227))/8+parseInt(t(232))/9*(parseInt(t(217))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[r(237)](){const e=r,n=this[e(228)][e(244)][e(222)],i=(0,t.first)(n[e(242)][e(245)]());this[e(224)]=Boolean(i)&&this[e(235)](i),this[e(238)]=this[e(224)]&&i[e(241)](e(231))}[r(219)](e={}){const t=r,n=this[t(228)][t(244)],i=n[t(222)][t(242)],o=e[t(238)];n[t(220)](e=>{const n=t,r=Array[n(229)](i[n(245)]())[n(230)](e=>this[n(235)](e));for(const t of r)o?e[n(225)](n(231),o,t):e[n(243)](n(231),t)})}[r(235)](e){const t=r;return this[t(228)][t(244)][t(221)][t(234)](e,t(231))}}function a(){const e=["editor","from","filter","lineHeight","60462baWExe","97406FgzHeG","checkAttribute","_canHaveLineHeight","15yVGajw","refresh","value","5101662oYSaFy","274698YBPujk","getAttribute","selection","removeAttribute","model","getSelectedBlocks","7520NdyzpP","7IMvBSJ","execute","change","schema","document","8661590oqjBLL","isEnabled","setAttribute","1767224KVXlOC","7735848VsiNzk"];return(a=function(){return e})()}var c=n(783);!function(e){const t=f,n=e();for(;;)try{if(747295===-parseInt(t(502))/1*(parseInt(t(507))/2)+parseInt(t(528))/3+-parseInt(t(506))/4+parseInt(t(525))/5*(-parseInt(t(521))/6)+-parseInt(t(517))/7*(-parseInt(t(510))/8)+-parseInt(t(509))/9+parseInt(t(520))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=f;return{title:e(508),model:e(495),view:{key:e(505),value:e(514)}}},get double(){const e=f;return{title:e(500),model:e(512),view:{key:e(505),value:e(511)}}}};function u(e){const t=f;return t(519)==typeof e&&t(526)===e[t(515)]()}function d(e){const t=f;return e[t(497)][t(504)](n=>u(n)?{title:String(e[t(503)]),model:t(526)}:(t(527)==typeof n&&(n=String(n)),t(519)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(522),styles:{"line-height":n}}}:function(e){const t=f;return t(519)==typeof e?l[e]:l[e[t(523)]]}(n)))[t(498)](e=>void 0!==e)}function h(){const e=["11920270BuCtYR","2022iAmBWn","span","model","push","17745CAMlMB","default","number","4309029EMcJMp","single","value","options","filter","key","Double","values","1YZcTsG","defaultValue","map","class","2566784SLsaQw","2006868nnLSAH","Single","2449341YDnVjJ","504BCCNXP","line-height-double","double","line-height:","line-height-single","toLowerCase","style","136913ntvgkL","view","string"];return(h=function(){return e})()}function f(e,t){const n=h();return(f=function(e,t){return n[e-=495]})(e,t)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=144]})(e,t)}function m(){const e=["474QkZxiE","map","pluginName","16WDwxAa","LineHeightEditing","$block","1067969KlKqjM","671tTobwa","string","length","line-height-invalid-use-of-named-presets","extend","conversion","setAttributeProperties","href","join","values","955798zZPTsp","lineHeight.options","136720HUHQLS","lineHeight.supportAllValues","schema","44845nrTrlX","add","slice","lineHeight","_preparePredefinedConverters","attributeToAttribute","model","48045zPamjO","editor","lineHeight.defaultValue","afterInit","for","fromCharCode","includes","_validateConfig","isOfficialPlugin","5460993FIUlKV","init","get","isPremiumPlugin","_prepareAnyValueConverters","style","filter","config","downcast","getStyle","define","line-height","commands","80CwGlLC","upcast","595099WBTsIu","default"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(450888===-parseInt(t(175))/1+-parseInt(t(194))/2+parseInt(t(151))/3*(-parseInt(t(173))/4)+parseInt(t(144))/5*(parseInt(t(177))/6)+-parseInt(t(183))/7*(parseInt(t(180))/8)+parseInt(t(160))/9+parseInt(t(196))/10*(parseInt(t(184))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(179)](){return p(181)}static get[p(159)](){return!0}static get[p(163)](){return!0}constructor(e){const t=p;super(e),e[t(167)][t(170)](t(147),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(176),2,2.5,3]})}[p(161)](){const e=p,t=this[e(152)];this[e(158)](),t[e(150)][e(198)][e(188)](e(182),{allowAttributes:e(147)}),t[e(150)][e(198)][e(190)](e(147),{isFormatting:!0}),t[e(172)][e(145)](e(147),new s(t)),this[e(152)][e(167)][e(162)](e(197))?this[e(164)]():this[e(148)]()}[p(154)](){!async function(e){const n=m([90,65,57,110,69,111,75,87,113,82,78,55,51,103,109,100,67,66,74,56,49,76,80,52,48,83,77,116,50,97,72,73,122,71,84,99,81,68,85,79,104,114,54,120,86,106,121,119,53,105,70,98,117,118,89,107,108,112,115,102,88,101]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(178)](e=>String[t(156)](e))[t(192)]("")}!function(e){const t=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let t=m([90]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(u+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(l=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751414400;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(191)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(158)](){const e=p,n=this[e(152)];if(!n[e(167)][e(162)](e(197)))return;const i=n[e(167)][e(162)](e(195))[e(166)](t=>e(185)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(186)])throw new t.CKEditorError(e(187),null,{namedPresets:i})}[p(164)](){const e=p,t=this[e(152)],n=this[e(152)][e(167)][e(162)](e(153));t[e(189)][e(155)](e(168))[e(149)]({model:{key:e(147)},view:t=>String(t)===String(n)?null:{key:e(165),value:{"line-height":t}}}),t[e(189)][e(155)](e(174))[e(149)]({model:{key:e(147),value:t=>{const i=e;let r=t[i(169)](i(171));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(146)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(148)](){const e=p,t=this[e(152)],n=this[e(152)][e(167)][e(162)](e(153)),i=d(this[e(152)][e(167)][e(162)](e(147)))[e(166)](t=>t[e(150)]),r=function(e,t){const n=f,i={model:{key:e,values:[]},view:{}};for(const e of t)n(505)===e[n(518)]?.[n(499)]?(i[n(523)][n(501)][n(524)](e[n(523)]),i[n(518)][e[n(523)]]={key:n(505),value:e[n(518)][n(496)]}):(i[n(523)][n(501)][n(524)](e[n(523)]),i[n(518)][e[n(523)]]={key:n(516),value:n(513)+e[n(523)]+";"});return i}(e(147),i);t[e(189)][e(149)](r),t[e(189)][e(155)](e(174))[e(149)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(147),value:t=>{const i=e;let o=t[i(169)](i(171));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(146)](0,-1))/100)),o===String(n)?null:r[i(150)][i(193)][i(157)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),C=n(262),_=n.n(C),E=n(667),O=n.n(E),S=n(357),x=n.n(S),k=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=O(),P.insert=_().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=x();b()(k.A,P);k.A&&k.A.locals&&k.A.locals;class A extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return d(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var K=V;function V(e,t){var n=M();return(V=function(e,t){return n[e-=171]})(e,t)}!function(e){for(var t=V,n=e();;)try{if(362971===-parseInt(t(183))/1+parseInt(t(180))/2+-parseInt(t(182))/3+-parseInt(t(176))/4*(parseInt(t(175))/5)+-parseInt(t(177))/6+-parseInt(t(172))/7*(parseInt(t(184))/8)+parseInt(t(181))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M);class T extends e.Plugin{static get[K(179)](){return[w,A]}static get[K(171)](){return K(174)}static get[K(173)](){return!0}static get[K(178)](){return!0}}function M(){var e=["requires","1414818LkHGUM","10279602ynLJaC","348879rgCGDo","322870rghGyi","49480KFaTYE","pluginName","14kYgIZo","isOfficialPlugin","LineHeight","1093060SucaFC","8WdogXG","3587154tigJxY","isPremiumPlugin"];return(M=function(){return e})()}function N(){var e=["80OFItsN","43887190sHEXYl","2440077KYdNDP","335vSfMLh","91434dCiWCM","10793223CtreFG","1641677uFSKmw","2laduDz","779212jMwIQw","2133892WQNAXP"];return(N=function(){return e})()}function B(e,t){var n=N();return(B=function(e,t){return n[e-=152]})(e,t)}!function(e){for(var t=B,n=e();;)try{if(866264===-parseInt(t(161))/1*(-parseInt(t(152))/2)+parseInt(t(157))/3+-parseInt(t(154))/4+-parseInt(t(158))/5*(-parseInt(t(159))/6)+-parseInt(t(153))/7*(-parseInt(t(155))/8)+parseInt(t(160))/9+-parseInt(t(156))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x346b9a,Plugin as _0x4776a6}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1e4254,CKEditorError as _0x8d2177,uid as _0x2026b9,Collection as _0x18ba2d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x149eef}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3ec6fb,createDropdown as _0x584b72,addListToDropdown as _0x5abcc2,MenuBarMenuView as _0x3f3087,MenuBarMenuListView as _0x21c351,MenuBarMenuListItemView as _0x3c77ce,MenuBarMenuListItemButtonView as _0x1ed62a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x589a3b}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x346b9a{['refresh'](){const _0x5b891e=this['editor']['model']['document'],_0x1f104e=_0x1e4254(_0x5b891e['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x1f104e)&&this['_canHaveLineHeight'](_0x1f104e),this['value']=this['isEnabled']&&_0x1f104e['getAttribute']('lineHeight');}['execute'](_0x18df49={}){const _0x29d1c7=this['editor']['model'],_0x5eb7a5=_0x29d1c7['document']['selection'],_0x3b1798=_0x18df49['value'];_0x29d1c7['change'](_0x437c1e=>{const _0x415592=Array['from'](_0x5eb7a5['getSelectedBlocks']())['filter'](_0x5f25ce=>this['_canHaveLineHeight'](_0x5f25ce));for(const _0x29bb48 of _0x415592)_0x3b1798?_0x437c1e['setAttribute']('lineHeight',_0x3b1798,_0x29bb48):_0x437c1e['removeAttribute']('lineHeight',_0x29bb48);});}['_canHaveLineHeight'](_0x256569){return this['editor']['model']['schema']['checkAttribute'](_0x256569,'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(_0x4991f4){return'string'==typeof _0x4991f4&&'default'===_0x4991f4['toLowerCase']();}function a(_0x407f1a){return _0x407f1a['options']['map'](_0x402766=>{return f(_0x402766)?{'title':String(_0x407f1a['defaultValue']),'model':'default'}:('number'==typeof _0x402766&&(_0x402766=String(_0x402766)),'string'!=typeof _0x402766?_0x402766:parseFloat(_0x402766)?{'title':_0x402766,'model':_0x402766,'view':{'name':'span','styles':{'line-height':_0x402766}}}:'string'==typeof(_0x489edd=_0x402766)?v[_0x489edd]:v[_0x489edd['model']]);var _0x489edd;})['filter'](_0xe13f25=>void 0x0!==_0xe13f25);}class e extends _0x4776a6{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37672e){super(_0x37672e),_0x37672e['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x42bc11=this['editor'];this['_validateConfig'](),_0x42bc11['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x42bc11['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x42bc11['commands']['add']('lineHeight',new n(_0x42bc11)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2500f9){const _0x454e4a=_0x3b742e([0x6a,0x45,0x71,0x30,0x6d,0x44,0x65,0x70,0x76,0x56,0x34,0x58,0x67,0x33,0x35,0x61,0x53,0x5a,0x62,0x4f,0x39,0x42,0x63,0x41,0x72,0x6b,0x4d,0x46,0x43,0x64,0x50,0x69,0x66,0x4e,0x78,0x52,0x32,0x54,0x75,0x77,0x6c,0x38,0x47,0x36,0x48,0x4b,0x37,0x55,0x4c,0x49,0x74,0x79,0x59,0x51,0x4a,0x6f,0x68,0x31,0x7a,0x57,0x73,0x6e]),_0x1ceabd=0x242f3c4d,_0x29b3a3=0x2428501d^_0x1ceabd,_0x541a2b=window[_0x3b742e([0x44,0x61,0x74,0x65])][_0x3b742e([0x6e,0x6f,0x77])](),_0x4e6e5c=_0x2500f9[_0x3b742e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d089c=new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf6cc43=>{_0x4e6e5c[_0x3b742e([0x6f,0x6e,0x63,0x65])](_0x3b742e([0x72,0x65,0x61,0x64,0x79]),_0xf6cc43);}),_0x382d60={[_0x3b742e([0x6b,0x74,0x79])]:_0x3b742e([0x45,0x43]),[_0x3b742e([0x75,0x73,0x65])]:_0x3b742e([0x73,0x69,0x67]),[_0x3b742e([0x63,0x72,0x76])]:_0x3b742e([0x50,0x2d,0x32,0x35,0x36]),[_0x3b742e([0x78])]:_0x3b742e([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]),[_0x3b742e([0x79])]:_0x3b742e([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]),[_0x3b742e([0x61,0x6c,0x67])]:_0x3b742e([0x45,0x53,0x32,0x35,0x36])},_0x28c337=_0x4e6e5c[_0x3b742e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b742e([0x67,0x65,0x74])](_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5042ff(){let _0x502198,_0x4c266e=null,_0x99ddc5=null;try{if(_0x28c337==_0x3b742e([0x47,0x50,0x4c]))return _0x3b742e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x502198=_0x367080(),!_0x502198)return _0x3b742e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x502198[_0x3b742e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x99ddc5=_0x5854dc(_0x502198[_0x3b742e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x502198[_0x3b742e([0x6a,0x74,0x69])])),await _0xc156d3()?_0x34589c()?_0x5ade44()?_0x3b742e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7da793()?(_0x502198[_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b742e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c266e=_0x27e7e8(_0x3b742e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x502198[_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b742e([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c266e=_0x27e7e8(_0x3b742e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4be5d9()):_0x3b742e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b742e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b742e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b742e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5ade44(){const _0x2c590d=[_0x3b742e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b742e([0x74,0x72,0x69,0x61,0x6c])][_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x502198[_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x541a2b/0x3e8:0xe10*_0x29b3a3;return _0x502198[_0x3b742e([0x65,0x78,0x70])]<_0x2c590d;}function _0x34589c(){const _0x380b8b=_0x502198[_0x3b742e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x380b8b&&(!!_0x380b8b[_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b742e([0x2a]))||!!_0x380b8b[_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b742e([0x4c,0x48])));}function _0x7da793(){const _0x5846e6=_0x502198[_0x3b742e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5846e6||0x0==_0x5846e6[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x216f90}=new URL(window[_0x3b742e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5846e6[_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x216f90))return!0x0;const _0x4e39f7=_0x216f90[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])](_0x3b742e([0x2e]));return _0x5846e6[_0x3b742e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30c236=>_0x30c236[_0x3b742e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b742e([0x2a])))[_0x3b742e([0x6d,0x61,0x70])](_0x1c53ff=>_0x1c53ff[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])](_0x3b742e([0x2e])))[_0x3b742e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20cada=>_0x20cada[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e39f7[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b742e([0x6d,0x61,0x70])](_0x3fdb11=>Array(_0x4e39f7[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3fdb11[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b742e([0x66,0x69,0x6c,0x6c])](_0x3fdb11[0x0]===_0x3b742e([0x2a])?_0x3b742e([0x2a]):'')[_0x3b742e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3fdb11))[_0x3b742e([0x73,0x6f,0x6d,0x65])](_0x50f857=>_0x4e39f7[_0x3b742e([0x65,0x76,0x65,0x72,0x79])]((_0x578bf4,_0x553b67)=>_0x50f857[_0x553b67]===_0x578bf4||_0x50f857[_0x553b67]===_0x3b742e([0x2a])));}function _0x4be5d9(){return _0x4c266e&&_0x99ddc5?new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23c87a,_0xeacff3)=>{_0x4c266e[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x23c87a,_0xeacff3),_0x99ddc5[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x3d8403=>{_0x3d8403!=_0x3b742e([0x56,0x61,0x6c,0x69,0x64])&&_0x23c87a(_0x3d8403);},_0xeacff3);}):_0x4c266e||_0x99ddc5||_0x3b742e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5854dc(_0x2f1e21,_0x5e7f63){return new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x262ed3=>{if(_0x2b006e())return _0x262ed3(_0x3b742e([0x56,0x61,0x6c,0x69,0x64]));_0x1b6c7d(),_0x4e6e5c[_0x3b742e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b742e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c1f16=!0x1;const _0x31d386=_0x2026b9();function _0x3cf41c(_0x1c5956){return!!_0x1c5956&&(typeof _0x1c5956===_0x3b742e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c5956===_0x3b742e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c5956[_0x3b742e([0x74,0x68,0x65,0x6e])]===_0x3b742e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c5956[_0x3b742e([0x63,0x61,0x74,0x63,0x68])]===_0x3b742e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f4e51(_0x372c82){_0x58862a(_0x372c82)[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x28fd30=>{if(!_0x28fd30||_0x28fd30[_0x3b742e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b742e([0x6f,0x6b]))return _0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d8b13(_0x221399(_0x31d386+_0x5e7f63))!=_0x28fd30[_0x3b742e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b742e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x1c4de9=>(_0x181183(),_0x1c4de9),()=>{const _0x1efc03=_0x230dae();return null==_0x1efc03?(_0x181183(),_0x3b742e([0x56,0x61,0x6c,0x69,0x64])):_0x3b742e(_0x541a2b-_0x1efc03>(0x23b84d^_0x1ceabd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x262ed3)[_0x3b742e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x262ed3(_0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x405180=0x2419d2cd^_0x1ceabd;function _0x181183(){const _0x11dce6=_0x3b742e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d8b13(_0x221399(_0x2f1e21)),_0x37569b=_0x4449fb(_0x3d8b13(window[_0x3b742e([0x4d,0x61,0x74,0x68])][_0x3b742e([0x63,0x65,0x69,0x6c])](_0x541a2b/_0x405180)));window[_0x3b742e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b742e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11dce6,_0x37569b);}function _0x230dae(){const _0x40d83b=_0x3b742e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d8b13(_0x221399(_0x2f1e21)),_0x35efe7=window[_0x3b742e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b742e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40d83b);return _0x35efe7?window[_0x3b742e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4449fb(_0x35efe7),0x10)*_0x405180:null;}function _0x58862a(_0x364a80){return new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c0c49,_0x19f3ef)=>{_0x364a80[_0x3b742e([0x74,0x68,0x65,0x6e])](_0x1c0c49,_0x19f3ef),window[_0x3b742e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19f3ef,0x242ee88d^_0x1ceabd);});}}_0x4e6e5c[_0x3b742e([0x6f,0x6e])](_0x3b742e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c9db1,_0x3e6dde)=>{if(_0x3e6dde[0x0]!=_0x2f1e21)return _0x262ed3(_0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e6dde[0x1]={..._0x3e6dde[0x1],[_0x3b742e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31d386};},{[_0x3b742e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b742e([0x68,0x69,0x67,0x68])}),_0x4e6e5c[_0x3b742e([0x6f,0x6e])](_0x3b742e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58917e=>{_0x3cf41c(_0x58917e[_0x3b742e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c1f16=!0x0,_0x4f4e51(_0x58917e[_0x3b742e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b742e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b742e([0x6c,0x6f,0x77])}),_0x2d089c[_0x3b742e([0x74,0x68,0x65,0x6e])](()=>{_0x5c1f16||_0x262ed3(_0x3b742e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b006e(){return _0x4e6e5c[_0x3b742e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b742e([0x76,0x69,0x65,0x77])][_0x3b742e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b742e([0x61,0x75,0x74,0x6f]);}function _0x1b6c7d(){_0x4e6e5c[_0x3b742e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b742e([0x76,0x69,0x65,0x77])][_0x3b742e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b742e([0x61,0x75,0x74,0x6f]);}}function _0x27e7e8(_0x3bd247){const _0x3b0cb9=[new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7f85=>setTimeout(_0x5d7f85,0x24260281^_0x1ceabd)),_0x2d089c[_0x3b742e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40329f=>{let _0x260fef=0x0;_0x4e6e5c[_0x3b742e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b742e([0x6f,0x6e])](_0x3b742e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b6934,_0x173bb2)=>{_0x173bb2[0x0][_0x3b742e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x260fef++,_0x260fef==(0x242f3db5^_0x1ceabd)&&(_0x40329f(),_0x4b6934[_0x3b742e([0x6f,0x66,0x66])]());});}))];return window[_0x3b742e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b742e([0x72,0x61,0x63,0x65])](_0x3b0cb9)[_0x3b742e([0x74,0x68,0x65,0x6e])](()=>_0x3bd247);}async function _0x5552ef(){await _0x2d089c,_0x4e6e5c[_0x3b742e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b742e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5491a3,_0x4e6e5c[_0x3b742e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b742e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5491a3,_0x4e6e5c[_0x3b742e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b742e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4676a7(_0x213b64){const _0x37895b=_0x3c769c();_0x4e6e5c[_0x37895b]=_0x3b742e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x213b64,_0x213b64!=_0x3b742e([0x56,0x61,0x6c,0x69,0x64])&&_0x5552ef();}function _0x3c769c(){const _0x1f5681=window[_0x3b742e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b742e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b742e([0x6e,0x6f,0x77])]())[_0x3b742e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b742e([0x2e]),'');let _0x5e549c=_0x3b742e([0x6a]);for(let _0x58f202=0x0;_0x58f202<_0x1f5681[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58f202+=0x2){let _0xb22f1d=window[_0x3b742e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f5681[_0x3b742e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58f202,_0x58f202+0x2));_0xb22f1d>=_0x454e4a[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb22f1d-=_0x454e4a[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e549c+=_0x454e4a[_0xb22f1d];}return _0x5e549c;}function _0x367080(){const _0x96676e=_0x28c337[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])](_0x3b742e([0x2e]));if(0x3!=_0x96676e[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d9c86(_0x96676e[0x1]);function _0x5d9c86(_0x5173d0){const _0x3dfde1=_0x5cd463(_0x5173d0);return _0x3dfde1&&_0xd76b2()?_0x3dfde1:null;function _0xd76b2(){const _0x109e02=_0x3dfde1[_0x3b742e([0x6a,0x74,0x69])],_0x3cb6ac=window[_0x3b742e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109e02[_0x3b742e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x109e02[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x586bbf={..._0x3dfde1,[_0x3b742e([0x6a,0x74,0x69])]:_0x109e02[_0x3b742e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x109e02[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x586bbf[_0x3b742e([0x76,0x63])],_0x221399(_0x586bbf)==_0x3cb6ac;}}}async function _0xc156d3(){let _0x2ee886=!0x0;try{const _0x5bc3b0=_0x28c337[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])](_0x3b742e([0x2e])),[_0x2b586,_0x3b1513,_0x280fab]=_0x5bc3b0;return _0x2cd998(_0x2b586),await _0xdd1894(_0x2b586,_0x3b1513,_0x280fab),_0x2ee886;}catch{return!0x1;}function _0x2cd998(_0x49cdaf){const _0x259ae3=_0x5cd463(_0x49cdaf);_0x259ae3&&_0x259ae3[_0x3b742e([0x61,0x6c,0x67])]==_0x3b742e([0x45,0x53,0x32,0x35,0x36])||(_0x2ee886=!0x1);}async function _0xdd1894(_0x4c2b5a,_0x485e9f,_0x240fef){const _0x16a72c=window[_0x3b742e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b742e([0x66,0x72,0x6f,0x6d])](_0x25e4d8(_0x240fef),_0x3e657a=>_0x3e657a[_0x3b742e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a5f1f=new window[(_0x3b742e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b742e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c2b5a+_0x3b742e([0x2e])+_0x485e9f),_0x1dfebe=window[_0x3b742e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b742e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dfebe)return;const _0x31b6ad=await _0x1dfebe[_0x3b742e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b742e([0x6a,0x77,0x6b]),_0x382d60,{[_0x3b742e([0x6e,0x61,0x6d,0x65])]:_0x3b742e([0x45,0x43,0x44,0x53,0x41]),[_0x3b742e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b742e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b742e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dfebe[_0x3b742e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b742e([0x6e,0x61,0x6d,0x65])]:_0x3b742e([0x45,0x43,0x44,0x53,0x41]),[_0x3b742e([0x68,0x61,0x73,0x68])]:{[_0x3b742e([0x6e,0x61,0x6d,0x65])]:_0x3b742e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31b6ad,_0x16a72c,_0x3a5f1f)||(_0x2ee886=!0x1);}}function _0x5cd463(_0x11b075){return _0x11b075[_0x3b742e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b742e([0x65,0x79]))?JSON[_0x3b742e([0x70,0x61,0x72,0x73,0x65])](_0x25e4d8(_0x11b075)):null;}function _0x25e4d8(_0x409127){return window[_0x3b742e([0x61,0x74,0x6f,0x62])](_0x409127[_0x3b742e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b742e([0x2b]))[_0x3b742e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b742e([0x2f])));}function _0x221399(_0x1339ae){let _0x2c1051=0x1505;function _0x1572e1(_0x41283f){for(let _0x213eb5=0x0;_0x213eb5<_0x41283f[_0x3b742e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x213eb5++){const _0x69502d=_0x41283f[_0x3b742e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x213eb5);_0x2c1051=(_0x2c1051<<0x5)+_0x2c1051+_0x69502d,_0x2c1051&=_0x2c1051;}}function _0x27abc3(_0x2e67cc){Array[_0x3b742e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e67cc)?_0x2e67cc[_0x3b742e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27abc3):_0x2e67cc&&typeof _0x2e67cc==_0x3b742e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b742e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e67cc)[_0x3b742e([0x73,0x6f,0x72,0x74])]()[_0x3b742e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a413c,_0x4174bb])=>{_0x1572e1(_0x4a413c),_0x27abc3(_0x4174bb);}):_0x1572e1(window[_0x3b742e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e67cc));}return _0x27abc3(_0x1339ae),_0x2c1051>>>0x0;}function _0x3d8b13(_0x2739a2){return _0x2739a2[_0x3b742e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b742e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b742e([0x30]));}function _0x4449fb(_0xdeae4e){return _0xdeae4e[_0x3b742e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b742e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b742e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5491a3(){}function _0x3b742e(_0x5d5b80){return _0x5d5b80['map'](_0x351163=>String['fromCharCode'](_0x351163))['join']('');}_0x4676a7(await _0x5042ff());}(this);}['_validateConfig'](){const _0x58f419=this['editor'];if(!_0x58f419['config']['get']('lineHeight.supportAllValues'))return;const _0x50d04f=_0x58f419['config']['get']('lineHeight.options')['filter'](_0x3324e8=>'string'==typeof _0x3324e8&&(!f(_0x3324e8)&&isNaN(Number(_0x3324e8))));if(_0x50d04f['length'])throw new _0x8d2177('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x50d04f});}['_prepareAnyValueConverters'](){const _0x155034=this['editor'],_0x2895f7=this['editor']['config']['get']('lineHeight.defaultValue');_0x155034['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x312abc=>String(_0x312abc)===String(_0x2895f7)?null:{'key':'style','value':{'line-height':_0x312abc}}}),_0x155034['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1a13d4=>{let _0x1d1a34=_0x1a13d4['getStyle']('line-height');return _0x149eef(_0x1d1a34)&&(_0x1d1a34=String(Number(_0x1d1a34['slice'](0x0,-0x1))/0x64)),String(_0x1d1a34)===String(_0x2895f7)?null:_0x1d1a34;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1f7445=this['editor'],_0x21e02e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x327b95=function(_0xa1fa07,_0xca3172){const _0x36e5f3={'model':{'key':_0xa1fa07,'values':[]},'view':{}};for(const _0x587c39 of _0xca3172)'class'===_0x587c39['view']?.['key']?(_0x36e5f3['model']['values']['push'](_0x587c39['model']),_0x36e5f3['view'][_0x587c39['model']]={'key':'class','value':_0x587c39['view']['value']}):(_0x36e5f3['model']['values']['push'](_0x587c39['model']),_0x36e5f3['view'][_0x587c39['model']]={'key':'style','value':'line-height:'+_0x587c39['model']+';'});return _0x36e5f3;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x19ba89=>_0x19ba89['model']));_0x1f7445['conversion']['attributeToAttribute'](_0x327b95),_0x1f7445['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x42f0f5=>{let _0x12739d=_0x42f0f5['getStyle']('line-height');return _0x149eef(_0x12739d)&&(_0x12739d=String(Number(_0x12739d['slice'](0x0,-0x1))/0x64)),_0x12739d===String(_0x21e02e)?null:_0x327b95['model']['values']['includes'](_0x12739d)?_0x12739d:null;}}});}}class r extends _0x4776a6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5f14db={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5f14db),this['_registerMenuBarComponent'](_0x5f14db),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2be874=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a0f99;for(const _0x33718 in _0x2be874){const _0x5b2274=_0x33718,_0x3c0879=_0x2be874[_0x5b2274];if('lineHeightLicenseKeyValid'==_0x3c0879||'lineHeightLicenseKeyInvalid'==_0x3c0879||'lineHeightLicenseKeyExpired'==_0x3c0879||'lineHeightLicenseKeyDomainLimit'==_0x3c0879||'lineHeightLicenseKeyNotAllowed'==_0x3c0879||'lineHeightLicenseKeyEvaluationLimit'==_0x3c0879||'lineHeightLicenseKeyTrialLimit'==_0x3c0879||'lineHeightLicenseKeyUsageLimit'==_0x3c0879){delete _0x2be874[_0x5b2274],_0x4a0f99=_0x3c0879,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4a0f99&&_0x2be874['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4a0f99&&_0x2be874['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4a0f99&&_0x2be874['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4a0f99&&_0x2be874['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4a0f99&&_0x2be874['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4a0f99&&_0x2be874['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4a0f99&&_0x2be874['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x201fc2=this['editor'],t=_0x201fc2['t'],_0x236278=_0x201fc2['config']['get']('lineHeight'),_0x3b67d5={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x236278)['map'](_0x31f116=>{const _0x52431b=_0x3b67d5[_0x31f116['title']];return _0x52431b&&_0x52431b!=_0x31f116['title']&&(_0x31f116=Object['assign']({},_0x31f116,{'title':_0x52431b})),_0x31f116;});}['_prepareListOptions'](){const _0x45a3ad=this['editor']['commands']['get']('lineHeight'),_0x7dc773=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3a36e9=this['_getLocalizedLineHeightOptions'](),_0x36286d=new _0x18ba2d(),_0x4bba7c=_0x4160ce=>'default'===_0x4160ce||String(_0x7dc773)===_0x4160ce;for(const _0x2686d9 of _0x3a36e9){const _0x10423f={'type':'button','model':new _0x3ec6fb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2686d9['title'],'withText':!0x0})};_0x4bba7c(_0x2686d9['model'])?(_0x10423f['model']['bind']('isOn')['to'](_0x45a3ad,'value',_0x5e7f9e=>!_0x5e7f9e),_0x10423f['model']['commandParam']=void 0x0):(_0x10423f['model']['bind']('isOn')['to'](_0x45a3ad,'value',_0x133c6a=>_0x133c6a===_0x2686d9['model']),_0x10423f['model']['commandParam']=_0x2686d9['model']),_0x36286d['add'](_0x10423f);}if(this['_shouldRenderCustomValueOption']()){const _0x4ee001=this['_getCustomValueOptionDefinition'](_0x3a36e9);_0x36286d['add'](_0x4ee001);}return _0x36286d;}['_getCustomValueOptionDefinition'](_0x19525a){const _0x4ab861=this['editor'],t=_0x4ab861['t'],_0x55b27c=_0x4ab861['commands']['get']('lineHeight'),_0x3f8b86=_0x19525a['map'](_0x1c45a7=>_0x1c45a7['model']),_0x4761b1={'type':'button','model':new _0x3ec6fb({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4761b1['model']['bind']('commandParam')['to'](_0x55b27c,'value'),_0x4761b1['model']['bind']('isOn')['to'](_0x55b27c,'value',_0x348874=>!!_0x348874&&!_0x3f8b86['includes'](String(_0x348874))),_0x4761b1['model']['bind']('label')['to'](_0x55b27c,'value',_0x2e877f=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2e877f))),_0x4761b1;}['_registerToolbarComponent']({accessibleLabel:_0x4ae39a,options:_0x5a17a9}){const _0x1213d3=this['editor'],_0x3d9626=_0x1213d3['commands']['get']('lineHeight');_0x1213d3['ui']['componentFactory']['add']('lineHeight',_0x3a9a86=>{const _0x8656f2=_0x584b72(_0x3a9a86);return _0x5abcc2(_0x8656f2,_0x5a17a9,{'role':'menu','ariaLabel':_0x4ae39a}),_0x8656f2['buttonView']['set']({'label':_0x4ae39a,'tooltip':!0x0,'icon':_0x589a3b}),_0x8656f2['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x8656f2['bind']('isEnabled')['to'](_0x3d9626),this['listenTo'](_0x8656f2,'execute',_0x12ee5b=>{_0x1213d3['execute'](_0x12ee5b['source']['commandName'],{'value':_0x12ee5b['source']['commandParam']}),_0x1213d3['editing']['view']['focus']();}),_0x8656f2['once']('change:isOpen',()=>{const _0x1b537c=_0x8656f2['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x8656f2,_0x5a17a9,_0x1b537c);}),_0x8656f2;});}['_registerMenuBarComponent']({accessibleLabel:_0x2bfcd7,options:_0x43d769}){const _0x553749=this['editor'],_0x3242fe=_0x553749['commands']['get']('lineHeight');_0x553749['ui']['componentFactory']['add']('menuBar:lineHeight',_0x134344=>{const _0x491021=new _0x3f3087(_0x134344);_0x491021['buttonView']['set']({'label':_0x2bfcd7,'icon':_0x589a3b}),_0x491021['bind']('isEnabled')['to'](_0x3242fe);const _0x1dda28=new _0x21c351(_0x134344);for(const _0x16f18e of _0x43d769){const _0x657e34=new _0x3c77ce(_0x134344,_0x491021),_0x390132=new _0x1ed62a(_0x134344);_0x390132['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x390132['bind'](...Object['keys'](_0x16f18e['model']))['to'](_0x16f18e['model']),_0x390132['delegate']('execute')['to'](_0x491021),_0x390132['on']('execute',()=>{_0x553749['execute'](_0x16f18e['model']['commandName'],{'value':_0x16f18e['model']['commandParam']}),_0x553749['editing']['view']['focus']();}),_0x657e34['children']['add'](_0x390132),_0x1dda28['items']['add'](_0x657e34);}return _0x491021['panelView']['children']['add'](_0x1dda28),this['_attachCustomOptionVisibilityHandler'](_0x491021,_0x43d769,_0x1dda28),_0x491021;});}['_attachCustomOptionVisibilityHandler'](_0x123b08,_0x535797,_0x308e77){if(!this['_shouldRenderCustomValueOption']())return;const _0x3e92ed=()=>{if(!_0x123b08['isOpen'])return;_0x308e77['items']['last']['isVisible']=Boolean(_0x535797['last']['model']['isOn']);};_0x3e92ed(),_0x123b08['on']('change:isOpen',()=>{_0x3e92ed();});}}class k extends _0x4776a6{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
23
+ import{Command as _0x572879,Plugin as _0x572734}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3d9915,CKEditorError as _0x24562e,uid as _0x28aac2,Collection as _0x4b7292}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x4ed8be}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x4bdda3,createDropdown as _0xd83fa5,addListToDropdown as _0x29ffd8,MenuBarMenuView as _0x2ec5a9,MenuBarMenuListView as _0x5b4a6b,MenuBarMenuListItemView as _0x5cd765,MenuBarMenuListItemButtonView as _0x23ba64}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x17b5cf}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x572879{['refresh'](){const _0x335e9d=this['editor']['model']['document'],_0x50aedf=_0x3d9915(_0x335e9d['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x50aedf)&&this['_canHaveLineHeight'](_0x50aedf),this['value']=this['isEnabled']&&_0x50aedf['getAttribute']('lineHeight');}['execute'](_0x4a908e={}){const _0x2a3109=this['editor']['model'],_0x42c8e6=_0x2a3109['document']['selection'],_0x574c1a=_0x4a908e['value'];_0x2a3109['change'](_0x5c6654=>{const _0x5b8d3f=Array['from'](_0x42c8e6['getSelectedBlocks']())['filter'](_0x1131fa=>this['_canHaveLineHeight'](_0x1131fa));for(const _0x81864b of _0x5b8d3f)_0x574c1a?_0x5c6654['setAttribute']('lineHeight',_0x574c1a,_0x81864b):_0x5c6654['removeAttribute']('lineHeight',_0x81864b);});}['_canHaveLineHeight'](_0x351c80){return this['editor']['model']['schema']['checkAttribute'](_0x351c80,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x66292c){return'string'==typeof _0x66292c&&'default'===_0x66292c['toLowerCase']();}function a(_0x279505){return _0x279505['options']['map'](_0x152130=>{return f(_0x152130)?{'title':String(_0x279505['defaultValue']),'model':'default'}:('number'==typeof _0x152130&&(_0x152130=String(_0x152130)),'string'!=typeof _0x152130?_0x152130:parseFloat(_0x152130)?{'title':_0x152130,'model':_0x152130,'view':{'name':'span','styles':{'line-height':_0x152130}}}:'string'==typeof(_0x2479e0=_0x152130)?v[_0x2479e0]:v[_0x2479e0['model']]);var _0x2479e0;})['filter'](_0x191ddc=>void 0x0!==_0x191ddc);}class e extends _0x572734{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3573f1){super(_0x3573f1),_0x3573f1['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2dfc4f=this['editor'];this['_validateConfig'](),_0x2dfc4f['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2dfc4f['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2dfc4f['commands']['add']('lineHeight',new n(_0x2dfc4f)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4e5eb3){const _0x2ffc48=_0x2dc924([0x5a,0x41,0x39,0x6e,0x45,0x6f,0x4b,0x57,0x71,0x52,0x4e,0x37,0x33,0x67,0x6d,0x64,0x43,0x42,0x4a,0x38,0x31,0x4c,0x50,0x34,0x30,0x53,0x4d,0x74,0x32,0x61,0x48,0x49,0x7a,0x47,0x54,0x63,0x51,0x44,0x55,0x4f,0x68,0x72,0x36,0x78,0x56,0x6a,0x79,0x77,0x35,0x69,0x46,0x62,0x75,0x76,0x59,0x6b,0x6c,0x70,0x73,0x66,0x58,0x65]),_0x40e1e8=0x23ee94aa,_0x485f23=0x23e9f8c2^_0x40e1e8,_0x9f2a06=window[_0x2dc924([0x44,0x61,0x74,0x65])][_0x2dc924([0x6e,0x6f,0x77])](),_0x570287=_0x4e5eb3[_0x2dc924([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x81998d=new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x294396=>{_0x570287[_0x2dc924([0x6f,0x6e,0x63,0x65])](_0x2dc924([0x72,0x65,0x61,0x64,0x79]),_0x294396);}),_0x3fa322={[_0x2dc924([0x6b,0x74,0x79])]:_0x2dc924([0x45,0x43]),[_0x2dc924([0x75,0x73,0x65])]:_0x2dc924([0x73,0x69,0x67]),[_0x2dc924([0x63,0x72,0x76])]:_0x2dc924([0x50,0x2d,0x32,0x35,0x36]),[_0x2dc924([0x78])]:_0x2dc924([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2dc924([0x79])]:_0x2dc924([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2dc924([0x61,0x6c,0x67])]:_0x2dc924([0x45,0x53,0x32,0x35,0x36])},_0xdd9cc0=_0x570287[_0x2dc924([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dc924([0x67,0x65,0x74])](_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45d86f(){let _0x47c9d4,_0xa110f5=null,_0x3601a9=null;try{if(_0xdd9cc0==_0x2dc924([0x47,0x50,0x4c]))return _0x2dc924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47c9d4=_0x257473(),!_0x47c9d4)return _0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47c9d4[_0x2dc924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3601a9=_0x3ee3c0(_0x47c9d4[_0x2dc924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47c9d4[_0x2dc924([0x6a,0x74,0x69])])),await _0x220c89()?_0x4c6b0e()?_0x21deae()?_0x2dc924([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3306e3()?(_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dc924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa110f5=_0x1136a7(_0x2dc924([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dc924([0x74,0x72,0x69,0x61,0x6c])&&(_0xa110f5=_0x1136a7(_0x2dc924([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbba0c()):_0x2dc924([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21deae(){const _0x380abf=[_0x2dc924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dc924([0x74,0x72,0x69,0x61,0x6c])][_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9f2a06/0x3e8:0xe10*_0x485f23;return _0x47c9d4[_0x2dc924([0x65,0x78,0x70])]<_0x380abf;}function _0x4c6b0e(){const _0x386a0e=_0x47c9d4[_0x2dc924([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x386a0e&&(!!_0x386a0e[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x2a]))||!!_0x386a0e[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x4c,0x48])));}function _0x3306e3(){const _0x2c9ebc=_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c9ebc||0x0==_0x2c9ebc[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x125890}=new URL(window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c9ebc[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x125890))return!0x0;const _0x10dbe9=_0x125890[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e]));return _0x2c9ebc[_0x2dc924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3baea1=>_0x3baea1[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x2a])))[_0x2dc924([0x6d,0x61,0x70])](_0x136843=>_0x136843[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e])))[_0x2dc924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x230a19=>_0x230a19[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x10dbe9[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc924([0x6d,0x61,0x70])](_0x4baa53=>Array(_0x10dbe9[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4baa53[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc924([0x66,0x69,0x6c,0x6c])](_0x4baa53[0x0]===_0x2dc924([0x2a])?_0x2dc924([0x2a]):'')[_0x2dc924([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4baa53))[_0x2dc924([0x73,0x6f,0x6d,0x65])](_0x522652=>_0x10dbe9[_0x2dc924([0x65,0x76,0x65,0x72,0x79])]((_0x956d49,_0x2dd899)=>_0x522652[_0x2dd899]===_0x956d49||_0x522652[_0x2dd899]===_0x2dc924([0x2a])));}function _0xbba0c(){return _0xa110f5&&_0x3601a9?new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x551fd2,_0x5835a5)=>{_0xa110f5[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x551fd2,_0x5835a5),_0x3601a9[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x1de917=>{_0x1de917!=_0x2dc924([0x56,0x61,0x6c,0x69,0x64])&&_0x551fd2(_0x1de917);},_0x5835a5);}):_0xa110f5||_0x3601a9||_0x2dc924([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ee3c0(_0x4608af,_0xf3dea4){return new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x213838=>{if(_0x5f362e())return _0x213838(_0x2dc924([0x56,0x61,0x6c,0x69,0x64]));_0x24df4f(),_0x570287[_0x2dc924([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x593817=!0x1;const _0x1befda=_0x28aac2();function _0x508fc6(_0x42d0e5){return!!_0x42d0e5&&(typeof _0x42d0e5===_0x2dc924([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42d0e5===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42d0e5[_0x2dc924([0x74,0x68,0x65,0x6e])]===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42d0e5[_0x2dc924([0x63,0x61,0x74,0x63,0x68])]===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a7f77(_0x1c3b5d){_0x4ea7f3(_0x1c3b5d)[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x538934=>{if(!_0x538934||_0x538934[_0x2dc924([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dc924([0x6f,0x6b]))return _0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35c3ce(_0x3bb94f(_0x1befda+_0xf3dea4))!=_0x538934[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc924([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x21a7f9=>(_0x555bf8(),_0x21a7f9),()=>{const _0x45bc74=_0x22ab0a();return null==_0x45bc74?(_0x555bf8(),_0x2dc924([0x56,0x61,0x6c,0x69,0x64])):_0x2dc924(_0x9f2a06-_0x45bc74>(0x7e210aa^_0x40e1e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x213838)[_0x2dc924([0x63,0x61,0x74,0x63,0x68])](()=>{_0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37b5d0=0x23d87a2a^_0x40e1e8;function _0x555bf8(){const _0x3f4282=_0x2dc924([0x6c,0x6c,0x63,0x74,0x2d])+_0x35c3ce(_0x3bb94f(_0x4608af)),_0x3db7a0=_0x40b324(_0x35c3ce(window[_0x2dc924([0x4d,0x61,0x74,0x68])][_0x2dc924([0x63,0x65,0x69,0x6c])](_0x9f2a06/_0x37b5d0)));window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc924([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f4282,_0x3db7a0);}function _0x22ab0a(){const _0x39b7a4=_0x2dc924([0x6c,0x6c,0x63,0x74,0x2d])+_0x35c3ce(_0x3bb94f(_0x4608af)),_0x1fbdd5=window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc924([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39b7a4);return _0x1fbdd5?window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40b324(_0x1fbdd5),0x10)*_0x37b5d0:null;}function _0x4ea7f3(_0x1951eb){return new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36f7d5,_0x420df8)=>{_0x1951eb[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x36f7d5,_0x420df8),window[_0x2dc924([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x420df8,0x23ef406a^_0x40e1e8);});}}_0x570287[_0x2dc924([0x6f,0x6e])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b3ae1,_0x3222bd)=>{if(_0x3222bd[0x0]!=_0x4608af)return _0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3222bd[0x1]={..._0x3222bd[0x1],[_0x2dc924([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1befda};},{[_0x2dc924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc924([0x68,0x69,0x67,0x68])}),_0x570287[_0x2dc924([0x6f,0x6e])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19338e=>{_0x508fc6(_0x19338e[_0x2dc924([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x593817=!0x0,_0x2a7f77(_0x19338e[_0x2dc924([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dc924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc924([0x6c,0x6f,0x77])}),_0x81998d[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>{_0x593817||_0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f362e(){return _0x570287[_0x2dc924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc924([0x76,0x69,0x65,0x77])][_0x2dc924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dc924([0x61,0x75,0x74,0x6f]);}function _0x24df4f(){_0x570287[_0x2dc924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc924([0x76,0x69,0x65,0x77])][_0x2dc924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dc924([0x61,0x75,0x74,0x6f]);}}function _0x1136a7(_0x15f5d7){const _0xaa9648=[new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c22d=>setTimeout(_0x39c22d,0x23e7aa66^_0x40e1e8)),_0x81998d[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13ae75=>{let _0x4bdcc5=0x0;_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x6f,0x6e])](_0x2dc924([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17a346,_0x1ba351)=>{_0x1ba351[0x0][_0x2dc924([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4bdcc5++,_0x4bdcc5==(0x23ee9552^_0x40e1e8)&&(_0x13ae75(),_0x17a346[_0x2dc924([0x6f,0x66,0x66])]());});}))];return window[_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dc924([0x72,0x61,0x63,0x65])](_0xaa9648)[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>_0x15f5d7);}async function _0x488f05(){await _0x81998d,_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a808a,_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a808a,_0x570287[_0x2dc924([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4111af(_0x564ec1){const _0x2b8cb2=_0x4ea8e8();_0x570287[_0x2b8cb2]=_0x2dc924([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x564ec1,_0x564ec1!=_0x2dc924([0x56,0x61,0x6c,0x69,0x64])&&_0x488f05();}function _0x4ea8e8(){const _0xeb5acb=window[_0x2dc924([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dc924([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dc924([0x6e,0x6f,0x77])]())[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dc924([0x2e]),'');let _0x488b6f=_0x2dc924([0x5a]);for(let _0x393aa9=0x0;_0x393aa9<_0xeb5acb[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x393aa9+=0x2){let _0x2c29af=window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xeb5acb[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x393aa9,_0x393aa9+0x2));_0x2c29af>=_0x2ffc48[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c29af-=_0x2ffc48[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x488b6f+=_0x2ffc48[_0x2c29af];}return _0x488b6f;}function _0x257473(){const _0x48d9de=_0xdd9cc0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e]));if(0x3!=_0x48d9de[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5257c7(_0x48d9de[0x1]);function _0x5257c7(_0x3831c2){const _0x3945fc=_0x3f9faa(_0x3831c2);return _0x3945fc&&_0x58541f()?_0x3945fc:null;function _0x58541f(){const _0x56deb3=_0x3945fc[_0x2dc924([0x6a,0x74,0x69])],_0x45d74f=window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56deb3[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56deb3[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc98acc={..._0x3945fc,[_0x2dc924([0x6a,0x74,0x69])]:_0x56deb3[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56deb3[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc98acc[_0x2dc924([0x76,0x63])],_0x3bb94f(_0xc98acc)==_0x45d74f;}}}async function _0x220c89(){let _0x127527=!0x0;try{const _0x1bb283=_0xdd9cc0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e])),[_0x1db45a,_0x1d0681,_0x23241d]=_0x1bb283;return _0x5672f1(_0x1db45a),await _0x4cc8fc(_0x1db45a,_0x1d0681,_0x23241d),_0x127527;}catch{return!0x1;}function _0x5672f1(_0x1292a6){const _0x2d32f9=_0x3f9faa(_0x1292a6);_0x2d32f9&&_0x2d32f9[_0x2dc924([0x61,0x6c,0x67])]==_0x2dc924([0x45,0x53,0x32,0x35,0x36])||(_0x127527=!0x1);}async function _0x4cc8fc(_0x15ca2d,_0x55cc1f,_0x4feabd){const _0x4f2db4=window[_0x2dc924([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dc924([0x66,0x72,0x6f,0x6d])](_0x560690(_0x4feabd),_0x1be3a8=>_0x1be3a8[_0x2dc924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f852e=new window[(_0x2dc924([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dc924([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15ca2d+_0x2dc924([0x2e])+_0x55cc1f),_0x198945=window[_0x2dc924([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dc924([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x198945)return;const _0x66d30e=await _0x198945[_0x2dc924([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dc924([0x6a,0x77,0x6b]),_0x3fa322,{[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x45,0x43,0x44,0x53,0x41]),[_0x2dc924([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dc924([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x198945[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x45,0x43,0x44,0x53,0x41]),[_0x2dc924([0x68,0x61,0x73,0x68])]:{[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x66d30e,_0x4f2db4,_0x3f852e)||(_0x127527=!0x1);}}function _0x3f9faa(_0x177117){return _0x177117[_0x2dc924([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dc924([0x65,0x79]))?JSON[_0x2dc924([0x70,0x61,0x72,0x73,0x65])](_0x560690(_0x177117)):null;}function _0x560690(_0x68f538){return window[_0x2dc924([0x61,0x74,0x6f,0x62])](_0x68f538[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dc924([0x2b]))[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dc924([0x2f])));}function _0x3bb94f(_0x339650){let _0x167541=0x1505;function _0x3a9453(_0x183c0b){for(let _0xa59ecc=0x0;_0xa59ecc<_0x183c0b[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa59ecc++){const _0x489605=_0x183c0b[_0x2dc924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa59ecc);_0x167541=(_0x167541<<0x5)+_0x167541+_0x489605,_0x167541&=_0x167541;}}function _0x5b3447(_0x3d2e0a){Array[_0x2dc924([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d2e0a)?_0x3d2e0a[_0x2dc924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b3447):_0x3d2e0a&&typeof _0x3d2e0a==_0x2dc924([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dc924([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d2e0a)[_0x2dc924([0x73,0x6f,0x72,0x74])]()[_0x2dc924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28eb23,_0x3b5aa0])=>{_0x3a9453(_0x28eb23),_0x5b3447(_0x3b5aa0);}):_0x3a9453(window[_0x2dc924([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d2e0a));}return _0x5b3447(_0x339650),_0x167541>>>0x0;}function _0x35c3ce(_0x528d14){return _0x528d14[_0x2dc924([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dc924([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dc924([0x30]));}function _0x40b324(_0xbeb0a0){return _0xbeb0a0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dc924([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dc924([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a808a(){}function _0x2dc924(_0x1cce80){return _0x1cce80['map'](_0x54ad2f=>String['fromCharCode'](_0x54ad2f))['join']('');}_0x4111af(await _0x45d86f());}(this);}['_validateConfig'](){const _0x47c08e=this['editor'];if(!_0x47c08e['config']['get']('lineHeight.supportAllValues'))return;const _0x7667e6=_0x47c08e['config']['get']('lineHeight.options')['filter'](_0x193a2e=>'string'==typeof _0x193a2e&&(!f(_0x193a2e)&&isNaN(Number(_0x193a2e))));if(_0x7667e6['length'])throw new _0x24562e('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x7667e6});}['_prepareAnyValueConverters'](){const _0x4c39f6=this['editor'],_0x570109=this['editor']['config']['get']('lineHeight.defaultValue');_0x4c39f6['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x561e77=>String(_0x561e77)===String(_0x570109)?null:{'key':'style','value':{'line-height':_0x561e77}}}),_0x4c39f6['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x2656e9=>{let _0x4ce016=_0x2656e9['getStyle']('line-height');return _0x4ed8be(_0x4ce016)&&(_0x4ce016=String(Number(_0x4ce016['slice'](0x0,-0x1))/0x64)),String(_0x4ce016)===String(_0x570109)?null:_0x4ce016;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3fc459=this['editor'],_0x20bef0=this['editor']['config']['get']('lineHeight.defaultValue'),_0x195964=function(_0x442739,_0x164964){const _0x240753={'model':{'key':_0x442739,'values':[]},'view':{}};for(const _0x19047d of _0x164964)'class'===_0x19047d['view']?.['key']?(_0x240753['model']['values']['push'](_0x19047d['model']),_0x240753['view'][_0x19047d['model']]={'key':'class','value':_0x19047d['view']['value']}):(_0x240753['model']['values']['push'](_0x19047d['model']),_0x240753['view'][_0x19047d['model']]={'key':'style','value':'line-height:'+_0x19047d['model']+';'});return _0x240753;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1b140c=>_0x1b140c['model']));_0x3fc459['conversion']['attributeToAttribute'](_0x195964),_0x3fc459['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x50cc05=>{let _0x8f601b=_0x50cc05['getStyle']('line-height');return _0x4ed8be(_0x8f601b)&&(_0x8f601b=String(Number(_0x8f601b['slice'](0x0,-0x1))/0x64)),_0x8f601b===String(_0x20bef0)?null:_0x195964['model']['values']['includes'](_0x8f601b)?_0x8f601b:null;}}});}}class r extends _0x572734{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x533c01={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x533c01),this['_registerMenuBarComponent'](_0x533c01),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x652ce8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c1533;for(const _0x3cb1d9 in _0x652ce8){const _0x305986=_0x3cb1d9,_0x2ddc55=_0x652ce8[_0x305986];if('lineHeightLicenseKeyValid'==_0x2ddc55||'lineHeightLicenseKeyInvalid'==_0x2ddc55||'lineHeightLicenseKeyExpired'==_0x2ddc55||'lineHeightLicenseKeyDomainLimit'==_0x2ddc55||'lineHeightLicenseKeyNotAllowed'==_0x2ddc55||'lineHeightLicenseKeyEvaluationLimit'==_0x2ddc55||'lineHeightLicenseKeyTrialLimit'==_0x2ddc55||'lineHeightLicenseKeyUsageLimit'==_0x2ddc55){delete _0x652ce8[_0x305986],_0x2c1533=_0x2ddc55,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2c1533&&_0x652ce8['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2c1533&&_0x652ce8['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2c1533&&_0x652ce8['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x17b27d=this['editor'],t=_0x17b27d['t'],_0x3248dc=_0x17b27d['config']['get']('lineHeight'),_0x37d04e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x3248dc)['map'](_0x1a94bf=>{const _0x4eff62=_0x37d04e[_0x1a94bf['title']];return _0x4eff62&&_0x4eff62!=_0x1a94bf['title']&&(_0x1a94bf=Object['assign']({},_0x1a94bf,{'title':_0x4eff62})),_0x1a94bf;});}['_prepareListOptions'](){const _0x288184=this['editor']['commands']['get']('lineHeight'),_0x3f1347=this['editor']['config']['get']('lineHeight.defaultValue'),_0x7c532d=this['_getLocalizedLineHeightOptions'](),_0x3f4d76=new _0x4b7292(),_0x354f66=_0x55490e=>'default'===_0x55490e||String(_0x3f1347)===_0x55490e;for(const _0x2ad9a7 of _0x7c532d){const _0x2158f6={'type':'button','model':new _0x4bdda3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2ad9a7['title'],'withText':!0x0})};_0x354f66(_0x2ad9a7['model'])?(_0x2158f6['model']['bind']('isOn')['to'](_0x288184,'value',_0x65666d=>!_0x65666d),_0x2158f6['model']['commandParam']=void 0x0):(_0x2158f6['model']['bind']('isOn')['to'](_0x288184,'value',_0x1e5cfa=>_0x1e5cfa===_0x2ad9a7['model']),_0x2158f6['model']['commandParam']=_0x2ad9a7['model']),_0x3f4d76['add'](_0x2158f6);}if(this['_shouldRenderCustomValueOption']()){const _0x3970e2=this['_getCustomValueOptionDefinition'](_0x7c532d);_0x3f4d76['add'](_0x3970e2);}return _0x3f4d76;}['_getCustomValueOptionDefinition'](_0x21e54b){const _0x4b8fbd=this['editor'],t=_0x4b8fbd['t'],_0x2fd058=_0x4b8fbd['commands']['get']('lineHeight'),_0x5a5fba=_0x21e54b['map'](_0x737156=>_0x737156['model']),_0x14bd69={'type':'button','model':new _0x4bdda3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x14bd69['model']['bind']('commandParam')['to'](_0x2fd058,'value'),_0x14bd69['model']['bind']('isOn')['to'](_0x2fd058,'value',_0x446430=>!!_0x446430&&!_0x5a5fba['includes'](String(_0x446430))),_0x14bd69['model']['bind']('label')['to'](_0x2fd058,'value',_0x1dcdc6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1dcdc6))),_0x14bd69;}['_registerToolbarComponent']({accessibleLabel:_0x532d8a,options:_0x2fcc9a}){const _0x318e52=this['editor'],_0x32c70c=_0x318e52['commands']['get']('lineHeight');_0x318e52['ui']['componentFactory']['add']('lineHeight',_0x23ccb8=>{const _0x5acfe7=_0xd83fa5(_0x23ccb8);return _0x29ffd8(_0x5acfe7,_0x2fcc9a,{'role':'menu','ariaLabel':_0x532d8a}),_0x5acfe7['buttonView']['set']({'label':_0x532d8a,'tooltip':!0x0,'icon':_0x17b5cf}),_0x5acfe7['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5acfe7['bind']('isEnabled')['to'](_0x32c70c),this['listenTo'](_0x5acfe7,'execute',_0x266d43=>{_0x318e52['execute'](_0x266d43['source']['commandName'],{'value':_0x266d43['source']['commandParam']}),_0x318e52['editing']['view']['focus']();}),_0x5acfe7['once']('change:isOpen',()=>{const _0x5d00a3=_0x5acfe7['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5acfe7,_0x2fcc9a,_0x5d00a3);}),_0x5acfe7;});}['_registerMenuBarComponent']({accessibleLabel:_0x41ca69,options:_0x549e74}){const _0xbb723d=this['editor'],_0x13774f=_0xbb723d['commands']['get']('lineHeight');_0xbb723d['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2608c5=>{const _0x21b36c=new _0x2ec5a9(_0x2608c5);_0x21b36c['buttonView']['set']({'label':_0x41ca69,'icon':_0x17b5cf}),_0x21b36c['bind']('isEnabled')['to'](_0x13774f);const _0x537491=new _0x5b4a6b(_0x2608c5);for(const _0x46a28c of _0x549e74){const _0x5a26d9=new _0x5cd765(_0x2608c5,_0x21b36c),_0x260b61=new _0x23ba64(_0x2608c5);_0x260b61['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x260b61['bind'](...Object['keys'](_0x46a28c['model']))['to'](_0x46a28c['model']),_0x260b61['delegate']('execute')['to'](_0x21b36c),_0x260b61['on']('execute',()=>{_0xbb723d['execute'](_0x46a28c['model']['commandName'],{'value':_0x46a28c['model']['commandParam']}),_0xbb723d['editing']['view']['focus']();}),_0x5a26d9['children']['add'](_0x260b61),_0x537491['items']['add'](_0x5a26d9);}return _0x21b36c['panelView']['children']['add'](_0x537491),this['_attachCustomOptionVisibilityHandler'](_0x21b36c,_0x549e74,_0x537491),_0x21b36c;});}['_attachCustomOptionVisibilityHandler'](_0x1e559e,_0x1221d7,_0x169bbe){if(!this['_shouldRenderCustomValueOption']())return;const _0x4a8661=()=>{if(!_0x1e559e['isOpen'])return;_0x169bbe['items']['last']['isVisible']=Boolean(_0x1221d7['last']['model']['isOn']);};_0x4a8661(),_0x1e559e['on']('change:isOpen',()=>{_0x4a8661();});}}class k extends _0x572734{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-line-height",
3
- "version": "0.0.0-nightly-20250701.0",
3
+ "version": "0.0.0-nightly-20250702.0",
4
4
  "description": "Line height feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,12 +13,12 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250701.0",
17
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250701.0",
18
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250701.0",
19
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250701.0",
20
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250701.0",
21
- "ckeditor5": "0.0.0-nightly-20250701.0"
16
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250702.0",
17
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250702.0",
18
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250702.0",
19
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250702.0",
20
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250702.0",
21
+ "ckeditor5": "0.0.0-nightly-20250702.0"
22
22
  },
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "author": "CKSource (https://cksource.com/)",
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c80(){var _0x2bd0a3=['494263ZIHfYF','1948108OUfMFW','3790464DwFTIn','3990DpPBmX','2956770UIkJSg','53576442SvWQkG','1085049CQdPDR','12312IOdxwc','104ynUndD'];_0x2c80=function(){return _0x2bd0a3;};return _0x2c80();}(function(_0x120998,_0x2caebe){var _0x5258b6=_0x59a3,_0x3d94ca=_0x120998();while(!![]){try{var _0x24ba92=-parseInt(_0x5258b6(0x123))/0x1+-parseInt(_0x5258b6(0x121))/0x2+-parseInt(_0x5258b6(0x128))/0x3+-parseInt(_0x5258b6(0x127))/0x4+-parseInt(_0x5258b6(0x120))/0x5*(parseInt(_0x5258b6(0x124))/0x6)+parseInt(_0x5258b6(0x126))/0x7*(parseInt(_0x5258b6(0x125))/0x8)+parseInt(_0x5258b6(0x122))/0x9;if(_0x24ba92===_0x2caebe)break;else _0x3d94ca['push'](_0x3d94ca['shift']());}catch(_0x2ff767){_0x3d94ca['push'](_0x3d94ca['shift']());}}}(_0x2c80,0xe0772));export{LineHeight}from'./lineheight.js';function _0x59a3(_0x2dd965,_0x53492e){var _0x2c808c=_0x2c80();return _0x59a3=function(_0x59a326,_0x530230){_0x59a326=_0x59a326-0x120;var _0x57e2a0=_0x2c808c[_0x59a326];return _0x57e2a0;},_0x59a3(_0x2dd965,_0x53492e);}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
23
+ (function(_0x420917,_0x2922ca){var _0x1e2eb6=_0xf5c9,_0x23eed6=_0x420917();while(!![]){try{var _0x19531e=-parseInt(_0x1e2eb6(0xa1))/0x1*(-parseInt(_0x1e2eb6(0x98))/0x2)+parseInt(_0x1e2eb6(0x9d))/0x3+-parseInt(_0x1e2eb6(0x9a))/0x4+-parseInt(_0x1e2eb6(0x9e))/0x5*(-parseInt(_0x1e2eb6(0x9f))/0x6)+-parseInt(_0x1e2eb6(0x99))/0x7*(-parseInt(_0x1e2eb6(0x9b))/0x8)+parseInt(_0x1e2eb6(0xa0))/0x9+-parseInt(_0x1e2eb6(0x9c))/0xa;if(_0x19531e===_0x2922ca)break;else _0x23eed6['push'](_0x23eed6['shift']());}catch(_0x1d5b3b){_0x23eed6['push'](_0x23eed6['shift']());}}}(_0x32a8,0xd37d8));export{LineHeight}from'./lineheight.js';function _0x32a8(){var _0x106867=['80OFItsN','43887190sHEXYl','2440077KYdNDP','335vSfMLh','91434dCiWCM','10793223CtreFG','1641677uFSKmw','2laduDz','779212jMwIQw','2133892WQNAXP'];_0x32a8=function(){return _0x106867;};return _0x32a8();}function _0xf5c9(_0x50e37f,_0x12e0e4){var _0x32a837=_0x32a8();return _0xf5c9=function(_0xf5c99a,_0x353b9d){_0xf5c99a=_0xf5c99a-0x98;var _0x2258ff=_0x32a837[_0xf5c99a];return _0x2258ff;},_0xf5c9(_0x50e37f,_0x12e0e4);}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
package/src/lineheight.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c73(_0x28099c,_0x22bc23){var _0x24a04d=_0x24a0();return _0x3c73=function(_0x3c73c2,_0x46817f){_0x3c73c2=_0x3c73c2-0x70;var _0x511e3c=_0x24a04d[_0x3c73c2];return _0x511e3c;},_0x3c73(_0x28099c,_0x22bc23);}var _0x3b3061=_0x3c73;(function(_0xba1a70,_0x262f30){var _0x108c89=_0x3c73,_0x15158b=_0xba1a70();while(!![]){try{var _0x5aa480=parseInt(_0x108c89(0x81))/0x1*(-parseInt(_0x108c89(0x78))/0x2)+parseInt(_0x108c89(0x73))/0x3+-parseInt(_0x108c89(0x70))/0x4*(parseInt(_0x108c89(0x75))/0x5)+-parseInt(_0x108c89(0x7b))/0x6*(parseInt(_0x108c89(0x76))/0x7)+-parseInt(_0x108c89(0x74))/0x8*(-parseInt(_0x108c89(0x7f))/0x9)+-parseInt(_0x108c89(0x7c))/0xa*(parseInt(_0x108c89(0x7a))/0xb)+parseInt(_0x108c89(0x7e))/0xc*(parseInt(_0x108c89(0x80))/0xd);if(_0x5aa480===_0x262f30)break;else _0x15158b['push'](_0x15158b['shift']());}catch(_0x22e006){_0x15158b['push'](_0x15158b['shift']());}}}(_0x24a0,0xe4e31));import{Plugin as _0x5fa07d}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x46f9d7}from'./lineheightediting.js';import{LineHeightUI as _0x4d9a16}from'./lineheightui.js';function _0x24a0(){var _0x3ddb1e=['10382WXoXSN','LineHeight','22GwOfrL','1182fsKaFo','3664090UOXrLp','isPremiumPlugin','72HYnCrs','256266OPXDXo','4488016hZZkxo','313KSYrtE','4uVieeG','isOfficialPlugin','pluginName','1413672TXiyhC','496EAZPih','2199045xikBtc','20363sNusMz','requires'];_0x24a0=function(){return _0x3ddb1e;};return _0x24a0();}export class LineHeight extends _0x5fa07d{static get[_0x3b3061(0x77)](){return[_0x46f9d7,_0x4d9a16];}static get[_0x3b3061(0x72)](){var _0x4e4db7=_0x3b3061;return _0x4e4db7(0x79);}static get[_0x3b3061(0x71)](){return!0x0;}static get[_0x3b3061(0x7d)](){return!0x0;}}
23
+ var _0xd84914=_0x7a02;function _0x7a02(_0x89b9eb,_0x313ffc){var _0x287ef1=_0x287e();return _0x7a02=function(_0x7a02f,_0x2729f0){_0x7a02f=_0x7a02f-0xab;var _0x43b93b=_0x287ef1[_0x7a02f];return _0x43b93b;},_0x7a02(_0x89b9eb,_0x313ffc);}(function(_0x2c0d31,_0x5551ee){var _0x15e1ff=_0x7a02,_0x4a2be9=_0x2c0d31();while(!![]){try{var _0x3d605e=-parseInt(_0x15e1ff(0xb7))/0x1+parseInt(_0x15e1ff(0xb4))/0x2+-parseInt(_0x15e1ff(0xb6))/0x3+-parseInt(_0x15e1ff(0xb0))/0x4*(parseInt(_0x15e1ff(0xaf))/0x5)+-parseInt(_0x15e1ff(0xb1))/0x6+-parseInt(_0x15e1ff(0xac))/0x7*(parseInt(_0x15e1ff(0xb8))/0x8)+parseInt(_0x15e1ff(0xb5))/0x9;if(_0x3d605e===_0x5551ee)break;else _0x4a2be9['push'](_0x4a2be9['shift']());}catch(_0x43615b){_0x4a2be9['push'](_0x4a2be9['shift']());}}}(_0x287e,0x589db));import{Plugin as _0x5309a6}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x2d0752}from'./lineheightediting.js';import{LineHeightUI as _0x3cabb6}from'./lineheightui.js';export class LineHeight extends _0x5309a6{static get[_0xd84914(0xb3)](){return[_0x2d0752,_0x3cabb6];}static get[_0xd84914(0xab)](){var _0x5dbb99=_0xd84914;return _0x5dbb99(0xae);}static get[_0xd84914(0xad)](){return!0x0;}static get[_0xd84914(0xb2)](){return!0x0;}}function _0x287e(){var _0x1b4494=['requires','1414818LkHGUM','10279602ynLJaC','348879rgCGDo','322870rghGyi','49480KFaTYE','pluginName','14kYgIZo','isOfficialPlugin','LineHeight','1093060SucaFC','8WdogXG','3587154tigJxY','isPremiumPlugin'];_0x287e=function(){return _0x1b4494;};return _0x287e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3d80(){const _0x3d7d29=['getSelectedBlocks','refresh','4598073bKWTHI','value','model','document','1571452BsvTlg','schema','execute','2772Cxwgbm','setAttribute','126978Dpygoa','lineHeight','522255HdHRAS','2AemqMS','3325864vkUCvc','checkAttribute','selection','_canHaveLineHeight','1395wgAeql','from','1782935miUrAG','filter','isEnabled','editor','removeAttribute','change','getAttribute'];_0x3d80=function(){return _0x3d7d29;};return _0x3d80();}const _0x5ce7b9=_0x344e;(function(_0xbcaab9,_0x138c32){const _0x406633=_0x344e,_0xad4fd3=_0xbcaab9();while(!![]){try{const _0x7677d3=parseInt(_0x406633(0x17e))/0x1*(-parseInt(_0x406633(0x181))/0x2)+parseInt(_0x406633(0x180))/0x3+parseInt(_0x406633(0x179))/0x4+-parseInt(_0x406633(0x186))/0x5*(-parseInt(_0x406633(0x17c))/0x6)+-parseInt(_0x406633(0x188))/0x7+parseInt(_0x406633(0x182))/0x8+-parseInt(_0x406633(0x191))/0x9;if(_0x7677d3===_0x138c32)break;else _0xad4fd3['push'](_0xad4fd3['shift']());}catch(_0x274399){_0xad4fd3['push'](_0xad4fd3['shift']());}}}(_0x3d80,0x35777));import{Command as _0x137b9f}from'ckeditor5/src/core.js';import{first as _0x33ce0e}from'ckeditor5/src/utils.js';function _0x344e(_0x273ae9,_0x23dde9){const _0x3d80b0=_0x3d80();return _0x344e=function(_0x344e8a,_0xaff5ec){_0x344e8a=_0x344e8a-0x177;let _0x4e9674=_0x3d80b0[_0x344e8a];return _0x4e9674;},_0x344e(_0x273ae9,_0x23dde9);}export class LineHeightCommand extends _0x137b9f{[_0x5ce7b9(0x190)](){const _0x523eb2=_0x5ce7b9,_0x362fbc=this[_0x523eb2(0x18b)][_0x523eb2(0x177)][_0x523eb2(0x178)],_0x5b8f1b=_0x33ce0e(_0x362fbc[_0x523eb2(0x184)][_0x523eb2(0x18f)]());this[_0x523eb2(0x18a)]=Boolean(_0x5b8f1b)&&this[_0x523eb2(0x185)](_0x5b8f1b),this[_0x523eb2(0x192)]=this[_0x523eb2(0x18a)]&&_0x5b8f1b[_0x523eb2(0x18e)](_0x523eb2(0x17f));}[_0x5ce7b9(0x17b)](_0x84b7c6={}){const _0xe8d7d2=_0x5ce7b9,_0x471d1f=this[_0xe8d7d2(0x18b)][_0xe8d7d2(0x177)],_0x5b045a=_0x471d1f[_0xe8d7d2(0x178)][_0xe8d7d2(0x184)],_0x2da5dd=_0x84b7c6[_0xe8d7d2(0x192)];_0x471d1f[_0xe8d7d2(0x18d)](_0x56d029=>{const _0x5d8ce1=_0xe8d7d2,_0x1aedaf=Array[_0x5d8ce1(0x187)](_0x5b045a[_0x5d8ce1(0x18f)]())[_0x5d8ce1(0x189)](_0x42b1cf=>this[_0x5d8ce1(0x185)](_0x42b1cf));for(const _0x2adb74 of _0x1aedaf)_0x2da5dd?_0x56d029[_0x5d8ce1(0x17d)](_0x5d8ce1(0x17f),_0x2da5dd,_0x2adb74):_0x56d029[_0x5d8ce1(0x18c)](_0x5d8ce1(0x17f),_0x2adb74);});}[_0x5ce7b9(0x185)](_0x4128d8){const _0x3a9628=_0x5ce7b9;return this[_0x3a9628(0x18b)][_0x3a9628(0x177)][_0x3a9628(0x17a)][_0x3a9628(0x183)](_0x4128d8,_0x3a9628(0x17f));}}
23
+ const _0x1761ef=_0x60ee;(function(_0x162572,_0x14f1f4){const _0x46b3ed=_0x60ee,_0x1d5199=_0x162572();while(!![]){try{const _0x28d413=-parseInt(_0x46b3ed(0xda))/0x1*(-parseInt(_0x46b3ed(0xe9))/0x2)+-parseInt(_0x46b3ed(0xef))/0x3+-parseInt(_0x46b3ed(0xe2))/0x4+parseInt(_0x46b3ed(0xec))/0x5*(-parseInt(_0x46b3ed(0xf0))/0x6)+-parseInt(_0x46b3ed(0xdf))/0x7+-parseInt(_0x46b3ed(0xe3))/0x8+parseInt(_0x46b3ed(0xe8))/0x9*(parseInt(_0x46b3ed(0xd9))/0xa);if(_0x28d413===_0x14f1f4)break;else _0x1d5199['push'](_0x1d5199['shift']());}catch(_0xd36d41){_0x1d5199['push'](_0x1d5199['shift']());}}}(_0xc478,0xdddfd));import{Command as _0x3e6130}from'ckeditor5/src/core.js';function _0x60ee(_0x2382f3,_0xbbcdad){const _0xc478c=_0xc478();return _0x60ee=function(_0x60eec6,_0xa6ba15){_0x60eec6=_0x60eec6-0xd9;let _0x3c2171=_0xc478c[_0x60eec6];return _0x3c2171;},_0x60ee(_0x2382f3,_0xbbcdad);}import{first as _0x4b1f2b}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3e6130{[_0x1761ef(0xed)](){const _0x354a6c=_0x1761ef,_0x340875=this[_0x354a6c(0xe4)][_0x354a6c(0xf4)][_0x354a6c(0xde)],_0x4ff49f=_0x4b1f2b(_0x340875[_0x354a6c(0xf2)][_0x354a6c(0xf5)]());this[_0x354a6c(0xe0)]=Boolean(_0x4ff49f)&&this[_0x354a6c(0xeb)](_0x4ff49f),this[_0x354a6c(0xee)]=this[_0x354a6c(0xe0)]&&_0x4ff49f[_0x354a6c(0xf1)](_0x354a6c(0xe7));}[_0x1761ef(0xdb)](_0x2e18cb={}){const _0x5b8169=_0x1761ef,_0x27c8c5=this[_0x5b8169(0xe4)][_0x5b8169(0xf4)],_0x235388=_0x27c8c5[_0x5b8169(0xde)][_0x5b8169(0xf2)],_0x4f813d=_0x2e18cb[_0x5b8169(0xee)];_0x27c8c5[_0x5b8169(0xdc)](_0x5a0385=>{const _0x11fe10=_0x5b8169,_0x4cc8b5=Array[_0x11fe10(0xe5)](_0x235388[_0x11fe10(0xf5)]())[_0x11fe10(0xe6)](_0x92a866=>this[_0x11fe10(0xeb)](_0x92a866));for(const _0x4116b6 of _0x4cc8b5)_0x4f813d?_0x5a0385[_0x11fe10(0xe1)](_0x11fe10(0xe7),_0x4f813d,_0x4116b6):_0x5a0385[_0x11fe10(0xf3)](_0x11fe10(0xe7),_0x4116b6);});}[_0x1761ef(0xeb)](_0x3d5a79){const _0x319d61=_0x1761ef;return this[_0x319d61(0xe4)][_0x319d61(0xf4)][_0x319d61(0xdd)][_0x319d61(0xea)](_0x3d5a79,_0x319d61(0xe7));}}function _0xc478(){const _0xa190f3=['editor','from','filter','lineHeight','60462baWExe','97406FgzHeG','checkAttribute','_canHaveLineHeight','15yVGajw','refresh','value','5101662oYSaFy','274698YBPujk','getAttribute','selection','removeAttribute','model','getSelectedBlocks','7520NdyzpP','7IMvBSJ','execute','change','schema','document','8661590oqjBLL','isEnabled','setAttribute','1767224KVXlOC','7735848VsiNzk'];_0xc478=function(){return _0xa190f3;};return _0xc478();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1eb4c9=_0x37e2;(function(_0x22b39c,_0x55f295){const _0x345216=_0x37e2,_0x3e4b99=_0x22b39c();while(!![]){try{const _0xcfb4e4=parseInt(_0x345216(0xd6))/0x1*(-parseInt(_0x345216(0xee))/0x2)+parseInt(_0x345216(0xbd))/0x3+parseInt(_0x345216(0xc3))/0x4+-parseInt(_0x345216(0xc1))/0x5*(-parseInt(_0x345216(0xd2))/0x6)+parseInt(_0x345216(0xed))/0x7*(parseInt(_0x345216(0xea))/0x8)+parseInt(_0x345216(0xc4))/0x9*(-parseInt(_0x345216(0xe3))/0xa)+-parseInt(_0x345216(0xd4))/0xb;if(_0xcfb4e4===_0x55f295)break;else _0x3e4b99['push'](_0x3e4b99['shift']());}catch(_0x3647c0){_0x3e4b99['push'](_0x3e4b99['shift']());}}}(_0x375d,0x2535a));function _0x375d(){const _0x21cdc4=['_validateConfig','attributeToAttribute','369975hOuOBV','model','includes','length','5ZIyyhX','values','278692qORUMf','36gqAOLz','schema','string','style','lineHeight.options','define','for','fromCharCode','pluginName','lineHeight.defaultValue','getStyle','map','commands','init','710982mjlqlB','isOfficialPlugin','1644357IbgKWF','$block','46570TspPvu','join','config','extend','setAttributeProperties','downcast','lineHeight','afterInit','upcast','lineHeight.supportAllValues','default','isPremiumPlugin','line-height','572920QGtCVU','slice','_prepareAnyValueConverters','LineHeightEditing','line-height-invalid-use-of-named-presets','add','conversion','80NTCrIh','_preparePredefinedConverters','get','186298Szbswf','2msfeCl','editor','filter','href'];_0x375d=function(){return _0x21cdc4;};return _0x375d();}import{Plugin as _0x19b3c8}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x525265}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x544891}from'ckeditor5/src/engine.js';function _0x37e2(_0x269624,_0x5c1acc){const _0x375dd4=_0x375d();return _0x37e2=function(_0x37e289,_0x1d5d4a){_0x37e289=_0x37e289-0xbb;let _0x183f33=_0x375dd4[_0x37e289];return _0x183f33;},_0x37e2(_0x269624,_0x5c1acc);}import{uid as _0x47a1f1,CKEditorError as _0x40147b}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5e7be6,isLineHeightDefaultValue as _0xc57df4,normalizeOptions as _0x243386}from'./utils.js';export class LineHeightEditing extends _0x19b3c8{static get[_0x1eb4c9(0xcc)](){const _0x329b62=_0x1eb4c9;return _0x329b62(0xe6);}static get[_0x1eb4c9(0xd3)](){return!0x0;}static get[_0x1eb4c9(0xe1)](){return!0x0;}constructor(_0xd679f4){const _0x49d9f9=_0x1eb4c9;super(_0xd679f4),_0xd679f4[_0x49d9f9(0xd8)][_0x49d9f9(0xc9)](_0x49d9f9(0xdc),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x49d9f9(0xe0),0x2,2.5,0x3]});}[_0x1eb4c9(0xd1)](){const _0x101c8b=_0x1eb4c9,_0x564315=this[_0x101c8b(0xef)];this[_0x101c8b(0xbb)](),_0x564315[_0x101c8b(0xbe)][_0x101c8b(0xc5)][_0x101c8b(0xd9)](_0x101c8b(0xd5),{'allowAttributes':_0x101c8b(0xdc)}),_0x564315[_0x101c8b(0xbe)][_0x101c8b(0xc5)][_0x101c8b(0xda)](_0x101c8b(0xdc),{'isFormatting':!0x0}),_0x564315[_0x101c8b(0xd0)][_0x101c8b(0xe8)](_0x101c8b(0xdc),new _0x525265(_0x564315)),this[_0x101c8b(0xef)][_0x101c8b(0xd8)][_0x101c8b(0xec)](_0x101c8b(0xdf))?this[_0x101c8b(0xe5)]():this[_0x101c8b(0xeb)]();}[_0x1eb4c9(0xdd)](){!async function(_0x406e19){const _0x427302=_0x4a2cb3([0x6a,0x45,0x71,0x30,0x6d,0x44,0x65,0x70,0x76,0x56,0x34,0x58,0x67,0x33,0x35,0x61,0x53,0x5a,0x62,0x4f,0x39,0x42,0x63,0x41,0x72,0x6b,0x4d,0x46,0x43,0x64,0x50,0x69,0x66,0x4e,0x78,0x52,0x32,0x54,0x75,0x77,0x6c,0x38,0x47,0x36,0x48,0x4b,0x37,0x55,0x4c,0x49,0x74,0x79,0x59,0x51,0x4a,0x6f,0x68,0x31,0x7a,0x57,0x73,0x6e]),_0xaf2e6f=0x242f3c4d,_0x362a15=0x2428501d^_0xaf2e6f,_0x2b3079=window[_0x4a2cb3([0x44,0x61,0x74,0x65])][_0x4a2cb3([0x6e,0x6f,0x77])](),_0x1f1f6d=_0x406e19[_0x4a2cb3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4360ae=new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17bf6f=>{_0x1f1f6d[_0x4a2cb3([0x6f,0x6e,0x63,0x65])](_0x4a2cb3([0x72,0x65,0x61,0x64,0x79]),_0x17bf6f);}),_0x57c029={[_0x4a2cb3([0x6b,0x74,0x79])]:_0x4a2cb3([0x45,0x43]),[_0x4a2cb3([0x75,0x73,0x65])]:_0x4a2cb3([0x73,0x69,0x67]),[_0x4a2cb3([0x63,0x72,0x76])]:_0x4a2cb3([0x50,0x2d,0x32,0x35,0x36]),[_0x4a2cb3([0x78])]:_0x4a2cb3([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]),[_0x4a2cb3([0x79])]:_0x4a2cb3([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]),[_0x4a2cb3([0x61,0x6c,0x67])]:_0x4a2cb3([0x45,0x53,0x32,0x35,0x36])},_0xd76116=_0x1f1f6d[_0x4a2cb3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a2cb3([0x67,0x65,0x74])](_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d8adc(){let _0x301b2e,_0x365624=null,_0x4d264e=null;try{if(_0xd76116==_0x4a2cb3([0x47,0x50,0x4c]))return _0x4a2cb3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x301b2e=_0x336a0e(),!_0x301b2e)return _0x4a2cb3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x301b2e[_0x4a2cb3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d264e=_0x2e8749(_0x301b2e[_0x4a2cb3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x301b2e[_0x4a2cb3([0x6a,0x74,0x69])])),await _0x510e3c()?_0x4c9a1e()?_0x2f81b4()?_0x4a2cb3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16d3cc()?(_0x301b2e[_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2cb3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x365624=_0x1f170a(_0x4a2cb3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x301b2e[_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2cb3([0x74,0x72,0x69,0x61,0x6c])&&(_0x365624=_0x1f170a(_0x4a2cb3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3c2dce()):_0x4a2cb3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2cb3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a2cb3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a2cb3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f81b4(){const _0x1435c8=[_0x4a2cb3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a2cb3([0x74,0x72,0x69,0x61,0x6c])][_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x301b2e[_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b3079/0x3e8:0xe10*_0x362a15;return _0x301b2e[_0x4a2cb3([0x65,0x78,0x70])]<_0x1435c8;}function _0x4c9a1e(){const _0x34d0c4=_0x301b2e[_0x4a2cb3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34d0c4&&(!!_0x34d0c4[_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2cb3([0x2a]))||!!_0x34d0c4[_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2cb3([0x4c,0x48])));}function _0x16d3cc(){const _0x420661=_0x37e2,_0x1411f5=_0x301b2e[_0x4a2cb3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1411f5||0x0==_0x1411f5[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3dd7d5}=new URL(window[_0x4a2cb3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x420661(0xf1)]);if(_0x1411f5[_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dd7d5))return!0x0;const _0x44a30e=_0x3dd7d5[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])](_0x4a2cb3([0x2e]));return _0x1411f5[_0x4a2cb3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x86c06f=>_0x86c06f[_0x4a2cb3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2cb3([0x2a])))[_0x4a2cb3([0x6d,0x61,0x70])](_0x5badfe=>_0x5badfe[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])](_0x4a2cb3([0x2e])))[_0x4a2cb3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d3542=>_0x4d3542[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44a30e[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2cb3([0x6d,0x61,0x70])](_0x5bf695=>Array(_0x44a30e[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bf695[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2cb3([0x66,0x69,0x6c,0x6c])](_0x5bf695[0x0]===_0x4a2cb3([0x2a])?_0x4a2cb3([0x2a]):'')[_0x4a2cb3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bf695))[_0x4a2cb3([0x73,0x6f,0x6d,0x65])](_0x4c8898=>_0x44a30e[_0x4a2cb3([0x65,0x76,0x65,0x72,0x79])]((_0x3e29ed,_0x4eb945)=>_0x4c8898[_0x4eb945]===_0x3e29ed||_0x4c8898[_0x4eb945]===_0x4a2cb3([0x2a])));}function _0x3c2dce(){return _0x365624&&_0x4d264e?new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14a0db,_0x25ceb5)=>{_0x365624[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x14a0db,_0x25ceb5),_0x4d264e[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x8753ac=>{_0x8753ac!=_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64])&&_0x14a0db(_0x8753ac);},_0x25ceb5);}):_0x365624||_0x4d264e||_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e8749(_0x5e64b3,_0x474341){return new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x469a41=>{if(_0x5435ca())return _0x469a41(_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64]));_0x504a28(),_0x1f1f6d[_0x4a2cb3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a2cb3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe5cda8=!0x1;const _0x14792f=_0x47a1f1();function _0xdcb7f9(_0x579496){return!!_0x579496&&(typeof _0x579496===_0x4a2cb3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x579496===_0x4a2cb3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x579496[_0x4a2cb3([0x74,0x68,0x65,0x6e])]===_0x4a2cb3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x579496[_0x4a2cb3([0x63,0x61,0x74,0x63,0x68])]===_0x4a2cb3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5f50c9(_0x124273){_0x35fa9b(_0x124273)[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x3dbba5=>{if(!_0x3dbba5||_0x3dbba5[_0x4a2cb3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a2cb3([0x6f,0x6b]))return _0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b79e3(_0x1725de(_0x14792f+_0x474341))!=_0x3dbba5[_0x4a2cb3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x33baef=>(_0x1a5c19(),_0x33baef),()=>{const _0x1c9e42=_0x3e57fc();return null==_0x1c9e42?(_0x1a5c19(),_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64])):_0x4a2cb3(_0x2b3079-_0x1c9e42>(0x23b84d^_0xaf2e6f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x469a41)[_0x4a2cb3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x469a41(_0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c7061=0x2419d2cd^_0xaf2e6f;function _0x1a5c19(){const _0x84e182=_0x4a2cb3([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b79e3(_0x1725de(_0x5e64b3)),_0x2d2bb7=_0x9f1486(_0x2b79e3(window[_0x4a2cb3([0x4d,0x61,0x74,0x68])][_0x4a2cb3([0x63,0x65,0x69,0x6c])](_0x2b3079/_0x3c7061)));window[_0x4a2cb3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2cb3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x84e182,_0x2d2bb7);}function _0x3e57fc(){const _0x7b71a9=_0x4a2cb3([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b79e3(_0x1725de(_0x5e64b3)),_0x3a292a=window[_0x4a2cb3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2cb3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7b71a9);return _0x3a292a?window[_0x4a2cb3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9f1486(_0x3a292a),0x10)*_0x3c7061:null;}function _0x35fa9b(_0x4132a0){return new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b5e5,_0x4039d0)=>{_0x4132a0[_0x4a2cb3([0x74,0x68,0x65,0x6e])](_0x12b5e5,_0x4039d0),window[_0x4a2cb3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4039d0,0x242ee88d^_0xaf2e6f);});}}_0x1f1f6d[_0x4a2cb3([0x6f,0x6e])](_0x4a2cb3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44d123,_0x326c33)=>{if(_0x326c33[0x0]!=_0x5e64b3)return _0x469a41(_0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x326c33[0x1]={..._0x326c33[0x1],[_0x4a2cb3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14792f};},{[_0x4a2cb3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2cb3([0x68,0x69,0x67,0x68])}),_0x1f1f6d[_0x4a2cb3([0x6f,0x6e])](_0x4a2cb3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x6a2de1=>{_0xdcb7f9(_0x6a2de1[_0x4a2cb3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe5cda8=!0x0,_0x5f50c9(_0x6a2de1[_0x4a2cb3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a2cb3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2cb3([0x6c,0x6f,0x77])}),_0x4360ae[_0x4a2cb3([0x74,0x68,0x65,0x6e])](()=>{_0xe5cda8||_0x469a41(_0x4a2cb3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5435ca(){return _0x1f1f6d[_0x4a2cb3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2cb3([0x76,0x69,0x65,0x77])][_0x4a2cb3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a2cb3([0x61,0x75,0x74,0x6f]);}function _0x504a28(){_0x1f1f6d[_0x4a2cb3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2cb3([0x76,0x69,0x65,0x77])][_0x4a2cb3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a2cb3([0x61,0x75,0x74,0x6f]);}}function _0x1f170a(_0x171913){const _0x1d6172=[new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xde8077=>setTimeout(_0xde8077,0x24260281^_0xaf2e6f)),_0x4360ae[_0x4a2cb3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3554cd=>{let _0x2c363d=0x0;_0x1f1f6d[_0x4a2cb3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2cb3([0x6f,0x6e])](_0x4a2cb3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x541e16,_0x5e719c)=>{_0x5e719c[0x0][_0x4a2cb3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c363d++,_0x2c363d==(0x242f3db5^_0xaf2e6f)&&(_0x3554cd(),_0x541e16[_0x4a2cb3([0x6f,0x66,0x66])]());});}))];return window[_0x4a2cb3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a2cb3([0x72,0x61,0x63,0x65])](_0x1d6172)[_0x4a2cb3([0x74,0x68,0x65,0x6e])](()=>_0x171913);}async function _0x274656(){await _0x4360ae,_0x1f1f6d[_0x4a2cb3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2cb3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12737e,_0x1f1f6d[_0x4a2cb3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2cb3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12737e,_0x1f1f6d[_0x4a2cb3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a2cb3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x283cc2(_0x4dd47e){const _0x7c198f=_0x5980f2();_0x1f1f6d[_0x7c198f]=_0x4a2cb3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4dd47e,_0x4dd47e!=_0x4a2cb3([0x56,0x61,0x6c,0x69,0x64])&&_0x274656();}function _0x5980f2(){const _0x130905=window[_0x4a2cb3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a2cb3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a2cb3([0x6e,0x6f,0x77])]())[_0x4a2cb3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a2cb3([0x2e]),'');let _0x3eb6e3=_0x4a2cb3([0x6a]);for(let _0x3cf9e0=0x0;_0x3cf9e0<_0x130905[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cf9e0+=0x2){let _0x2c4ede=window[_0x4a2cb3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x130905[_0x4a2cb3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cf9e0,_0x3cf9e0+0x2));_0x2c4ede>=_0x427302[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c4ede-=_0x427302[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3eb6e3+=_0x427302[_0x2c4ede];}return _0x3eb6e3;}function _0x336a0e(){const _0x33ab85=_0xd76116[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])](_0x4a2cb3([0x2e]));if(0x3!=_0x33ab85[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x377bf6(_0x33ab85[0x1]);function _0x377bf6(_0x1c7aca){const _0x1cbca5=_0x5211a2(_0x1c7aca);return _0x1cbca5&&_0x3fb390()?_0x1cbca5:null;function _0x3fb390(){const _0x1cebd7=_0x1cbca5[_0x4a2cb3([0x6a,0x74,0x69])],_0x9657c0=window[_0x4a2cb3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cebd7[_0x4a2cb3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cebd7[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5354c3={..._0x1cbca5,[_0x4a2cb3([0x6a,0x74,0x69])]:_0x1cebd7[_0x4a2cb3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1cebd7[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5354c3[_0x4a2cb3([0x76,0x63])],_0x1725de(_0x5354c3)==_0x9657c0;}}}async function _0x510e3c(){let _0x36d713=!0x0;try{const _0x36ebcb=_0xd76116[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])](_0x4a2cb3([0x2e])),[_0x2a04ba,_0x46323a,_0x2ac951]=_0x36ebcb;return _0x5ebdf4(_0x2a04ba),await _0x2bacb9(_0x2a04ba,_0x46323a,_0x2ac951),_0x36d713;}catch{return!0x1;}function _0x5ebdf4(_0x23278b){const _0x33b8c1=_0x5211a2(_0x23278b);_0x33b8c1&&_0x33b8c1[_0x4a2cb3([0x61,0x6c,0x67])]==_0x4a2cb3([0x45,0x53,0x32,0x35,0x36])||(_0x36d713=!0x1);}async function _0x2bacb9(_0x1cc192,_0x11a14d,_0x48408f){const _0x379af8=window[_0x4a2cb3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a2cb3([0x66,0x72,0x6f,0x6d])](_0x461020(_0x48408f),_0x46bc34=>_0x46bc34[_0x4a2cb3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a1df9=new window[(_0x4a2cb3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a2cb3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1cc192+_0x4a2cb3([0x2e])+_0x11a14d),_0x22c986=window[_0x4a2cb3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a2cb3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x22c986)return;const _0x8d5559=await _0x22c986[_0x4a2cb3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a2cb3([0x6a,0x77,0x6b]),_0x57c029,{[_0x4a2cb3([0x6e,0x61,0x6d,0x65])]:_0x4a2cb3([0x45,0x43,0x44,0x53,0x41]),[_0x4a2cb3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a2cb3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a2cb3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x22c986[_0x4a2cb3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a2cb3([0x6e,0x61,0x6d,0x65])]:_0x4a2cb3([0x45,0x43,0x44,0x53,0x41]),[_0x4a2cb3([0x68,0x61,0x73,0x68])]:{[_0x4a2cb3([0x6e,0x61,0x6d,0x65])]:_0x4a2cb3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8d5559,_0x379af8,_0x5a1df9)||(_0x36d713=!0x1);}}function _0x5211a2(_0x4c3a79){return _0x4c3a79[_0x4a2cb3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a2cb3([0x65,0x79]))?JSON[_0x4a2cb3([0x70,0x61,0x72,0x73,0x65])](_0x461020(_0x4c3a79)):null;}function _0x461020(_0x1d089d){return window[_0x4a2cb3([0x61,0x74,0x6f,0x62])](_0x1d089d[_0x4a2cb3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a2cb3([0x2b]))[_0x4a2cb3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a2cb3([0x2f])));}function _0x1725de(_0x223cd6){let _0x1a0725=0x1505;function _0x5b658a(_0x351447){for(let _0x5b77ab=0x0;_0x5b77ab<_0x351447[_0x4a2cb3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b77ab++){const _0x56e059=_0x351447[_0x4a2cb3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b77ab);_0x1a0725=(_0x1a0725<<0x5)+_0x1a0725+_0x56e059,_0x1a0725&=_0x1a0725;}}function _0x197e65(_0x5d8384){Array[_0x4a2cb3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d8384)?_0x5d8384[_0x4a2cb3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x197e65):_0x5d8384&&typeof _0x5d8384==_0x4a2cb3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a2cb3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d8384)[_0x4a2cb3([0x73,0x6f,0x72,0x74])]()[_0x4a2cb3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4faec9,_0xd12af3])=>{_0x5b658a(_0x4faec9),_0x197e65(_0xd12af3);}):_0x5b658a(window[_0x4a2cb3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d8384));}return _0x197e65(_0x223cd6),_0x1a0725>>>0x0;}function _0x2b79e3(_0x304dd3){return _0x304dd3[_0x4a2cb3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a2cb3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a2cb3([0x30]));}function _0x9f1486(_0x597427){return _0x597427[_0x4a2cb3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a2cb3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a2cb3([0x6a,0x6f,0x69,0x6e])]('');}function _0x12737e(){}function _0x4a2cb3(_0x410c2a){const _0xbc45af=_0x37e2;return _0x410c2a[_0xbc45af(0xcf)](_0x502b25=>String[_0xbc45af(0xcb)](_0x502b25))[_0xbc45af(0xd7)]('');}_0x283cc2(await _0x1d8adc());}(this);}[_0x1eb4c9(0xbb)](){const _0x3980f0=_0x1eb4c9,_0x30b45e=this[_0x3980f0(0xef)];if(!_0x30b45e[_0x3980f0(0xd8)][_0x3980f0(0xec)](_0x3980f0(0xdf)))return;const _0x42b0ea=_0x30b45e[_0x3980f0(0xd8)][_0x3980f0(0xec)](_0x3980f0(0xc8))[_0x3980f0(0xf0)](_0x27bed9=>_0x3980f0(0xc6)==typeof _0x27bed9&&(!_0xc57df4(_0x27bed9)&&isNaN(Number(_0x27bed9))));if(_0x42b0ea[_0x3980f0(0xc0)])throw new _0x40147b(_0x3980f0(0xe7),null,{'namedPresets':_0x42b0ea});}[_0x1eb4c9(0xe5)](){const _0x1d0a59=_0x1eb4c9,_0x65c9fe=this[_0x1d0a59(0xef)],_0x553a4c=this[_0x1d0a59(0xef)][_0x1d0a59(0xd8)][_0x1d0a59(0xec)](_0x1d0a59(0xcd));_0x65c9fe[_0x1d0a59(0xe9)][_0x1d0a59(0xca)](_0x1d0a59(0xdb))[_0x1d0a59(0xbc)]({'model':{'key':_0x1d0a59(0xdc)},'view':_0x1e5dc5=>String(_0x1e5dc5)===String(_0x553a4c)?null:{'key':_0x1d0a59(0xc7),'value':{'line-height':_0x1e5dc5}}}),_0x65c9fe[_0x1d0a59(0xe9)][_0x1d0a59(0xca)](_0x1d0a59(0xde))[_0x1d0a59(0xbc)]({'model':{'key':_0x1d0a59(0xdc),'value':_0x526ac1=>{const _0x4597eb=_0x1d0a59;let _0x4945f8=_0x526ac1[_0x4597eb(0xce)](_0x4597eb(0xe2));return _0x544891(_0x4945f8)&&(_0x4945f8=String(Number(_0x4945f8[_0x4597eb(0xe4)](0x0,-0x1))/0x64)),String(_0x4945f8)===String(_0x553a4c)?null:_0x4945f8;}},'view':{'styles':{'line-height':/.*/}}});}[_0x1eb4c9(0xeb)](){const _0x45edde=_0x1eb4c9,_0x19fc86=this[_0x45edde(0xef)],_0x3c9f62=this[_0x45edde(0xef)][_0x45edde(0xd8)][_0x45edde(0xec)](_0x45edde(0xcd)),_0x1ae1a0=_0x243386(this[_0x45edde(0xef)][_0x45edde(0xd8)][_0x45edde(0xec)](_0x45edde(0xdc)))[_0x45edde(0xf0)](_0x8490d7=>_0x8490d7[_0x45edde(0xbe)]),_0x199a27=_0x5e7be6(_0x45edde(0xdc),_0x1ae1a0);_0x19fc86[_0x45edde(0xe9)][_0x45edde(0xbc)](_0x199a27),_0x19fc86[_0x45edde(0xe9)][_0x45edde(0xca)](_0x45edde(0xde))[_0x45edde(0xbc)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x45edde(0xdc),'value':_0x22c6f6=>{const _0x1566c2=_0x45edde;let _0xf5be63=_0x22c6f6[_0x1566c2(0xce)](_0x1566c2(0xe2));return _0x544891(_0xf5be63)&&(_0xf5be63=String(Number(_0xf5be63[_0x1566c2(0xe4)](0x0,-0x1))/0x64)),_0xf5be63===String(_0x3c9f62)?null:_0x199a27[_0x1566c2(0xbe)][_0x1566c2(0xc2)][_0x1566c2(0xbf)](_0xf5be63)?_0xf5be63:null;}}});}}
23
+ const _0xc62320=_0x2c09;(function(_0xbb3095,_0x56d85d){const _0x5be5c1=_0x2c09,_0x35eafd=_0xbb3095();while(!![]){try{const _0x1a7287=-parseInt(_0x5be5c1(0xaf))/0x1+-parseInt(_0x5be5c1(0xc2))/0x2+parseInt(_0x5be5c1(0x97))/0x3*(-parseInt(_0x5be5c1(0xad))/0x4)+parseInt(_0x5be5c1(0x90))/0x5*(parseInt(_0x5be5c1(0xb1))/0x6)+-parseInt(_0x5be5c1(0xb7))/0x7*(parseInt(_0x5be5c1(0xb4))/0x8)+parseInt(_0x5be5c1(0xa0))/0x9+parseInt(_0x5be5c1(0xc4))/0xa*(parseInt(_0x5be5c1(0xb8))/0xb);if(_0x1a7287===_0x56d85d)break;else _0x35eafd['push'](_0x35eafd['shift']());}catch(_0x3830a9){_0x35eafd['push'](_0x35eafd['shift']());}}}(_0xf86d,0x6e148));import{Plugin as _0x57dbde}from'ckeditor5/src/core.js';function _0x2c09(_0x3a5eab,_0x241432){const _0x2c09ca=_0xf86d();return _0x2c09=function(_0x23eee3,_0x36d997){_0x23eee3=_0x23eee3-0x90;let _0xb31cde=_0x2c09ca[_0x23eee3];return _0xb31cde;},_0x2c09(_0x3a5eab,_0x241432);}import{LineHeightCommand as _0x31c462}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x35e8fb}from'ckeditor5/src/engine.js';function _0xf86d(){const _0x4803ac=['474QkZxiE','map','pluginName','16WDwxAa','LineHeightEditing','$block','1067969KlKqjM','671tTobwa','string','length','line-height-invalid-use-of-named-presets','extend','conversion','setAttributeProperties','href','join','values','955798zZPTsp','lineHeight.options','136720HUHQLS','lineHeight.supportAllValues','schema','44845nrTrlX','add','slice','lineHeight','_preparePredefinedConverters','attributeToAttribute','model','48045zPamjO','editor','lineHeight.defaultValue','afterInit','for','fromCharCode','includes','_validateConfig','isOfficialPlugin','5460993FIUlKV','init','get','isPremiumPlugin','_prepareAnyValueConverters','style','filter','config','downcast','getStyle','define','line-height','commands','80CwGlLC','upcast','595099WBTsIu','default'];_0xf86d=function(){return _0x4803ac;};return _0xf86d();}import{uid as _0x5a10fb,CKEditorError as _0xcb3f56}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4500c9,isLineHeightDefaultValue as _0x3929f3,normalizeOptions as _0xce7057}from'./utils.js';export class LineHeightEditing extends _0x57dbde{static get[_0xc62320(0xb3)](){const _0x41d772=_0xc62320;return _0x41d772(0xb5);}static get[_0xc62320(0x9f)](){return!0x0;}static get[_0xc62320(0xa3)](){return!0x0;}constructor(_0x3e80c8){const _0x2a55b1=_0xc62320;super(_0x3e80c8),_0x3e80c8[_0x2a55b1(0xa7)][_0x2a55b1(0xaa)](_0x2a55b1(0x93),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2a55b1(0xb0),0x2,2.5,0x3]});}[_0xc62320(0xa1)](){const _0x1000e0=_0xc62320,_0x350e77=this[_0x1000e0(0x98)];this[_0x1000e0(0x9e)](),_0x350e77[_0x1000e0(0x96)][_0x1000e0(0xc6)][_0x1000e0(0xbc)](_0x1000e0(0xb6),{'allowAttributes':_0x1000e0(0x93)}),_0x350e77[_0x1000e0(0x96)][_0x1000e0(0xc6)][_0x1000e0(0xbe)](_0x1000e0(0x93),{'isFormatting':!0x0}),_0x350e77[_0x1000e0(0xac)][_0x1000e0(0x91)](_0x1000e0(0x93),new _0x31c462(_0x350e77)),this[_0x1000e0(0x98)][_0x1000e0(0xa7)][_0x1000e0(0xa2)](_0x1000e0(0xc5))?this[_0x1000e0(0xa4)]():this[_0x1000e0(0x94)]();}[_0xc62320(0x9a)](){!async function(_0x557b3c){const _0x3bae39=_0x23065c([0x5a,0x41,0x39,0x6e,0x45,0x6f,0x4b,0x57,0x71,0x52,0x4e,0x37,0x33,0x67,0x6d,0x64,0x43,0x42,0x4a,0x38,0x31,0x4c,0x50,0x34,0x30,0x53,0x4d,0x74,0x32,0x61,0x48,0x49,0x7a,0x47,0x54,0x63,0x51,0x44,0x55,0x4f,0x68,0x72,0x36,0x78,0x56,0x6a,0x79,0x77,0x35,0x69,0x46,0x62,0x75,0x76,0x59,0x6b,0x6c,0x70,0x73,0x66,0x58,0x65]),_0x127cf9=0x23ee94aa,_0x2756a1=0x23e9f8c2^_0x127cf9,_0x30e9be=window[_0x23065c([0x44,0x61,0x74,0x65])][_0x23065c([0x6e,0x6f,0x77])](),_0x20efe2=_0x557b3c[_0x23065c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x294d2b=new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x112f38=>{_0x20efe2[_0x23065c([0x6f,0x6e,0x63,0x65])](_0x23065c([0x72,0x65,0x61,0x64,0x79]),_0x112f38);}),_0x2d3f82={[_0x23065c([0x6b,0x74,0x79])]:_0x23065c([0x45,0x43]),[_0x23065c([0x75,0x73,0x65])]:_0x23065c([0x73,0x69,0x67]),[_0x23065c([0x63,0x72,0x76])]:_0x23065c([0x50,0x2d,0x32,0x35,0x36]),[_0x23065c([0x78])]:_0x23065c([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x23065c([0x79])]:_0x23065c([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x23065c([0x61,0x6c,0x67])]:_0x23065c([0x45,0x53,0x32,0x35,0x36])},_0x3e73b2=_0x20efe2[_0x23065c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23065c([0x67,0x65,0x74])](_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2339a2(){let _0xe1ead6,_0xb8e8f5=null,_0x54a7cb=null;try{if(_0x3e73b2==_0x23065c([0x47,0x50,0x4c]))return _0x23065c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe1ead6=_0x3e17cc(),!_0xe1ead6)return _0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe1ead6[_0x23065c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54a7cb=_0xc8fc7(_0xe1ead6[_0x23065c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe1ead6[_0x23065c([0x6a,0x74,0x69])])),await _0x17c46c()?_0x209354()?_0x5da7f()?_0x23065c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a478d()?(_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23065c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb8e8f5=_0x3c19c8(_0x23065c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23065c([0x74,0x72,0x69,0x61,0x6c])&&(_0xb8e8f5=_0x3c19c8(_0x23065c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e8b35()):_0x23065c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23065c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5da7f(){const _0x4abd5b=[_0x23065c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23065c([0x74,0x72,0x69,0x61,0x6c])][_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30e9be/0x3e8:0xe10*_0x2756a1;return _0xe1ead6[_0x23065c([0x65,0x78,0x70])]<_0x4abd5b;}function _0x209354(){const _0x4fbed5=_0xe1ead6[_0x23065c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4fbed5&&(!!_0x4fbed5[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x2a]))||!!_0x4fbed5[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x4c,0x48])));}function _0x3a478d(){const _0x550608=_0x2c09,_0xe4d41f=_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe4d41f||0x0==_0xe4d41f[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdf0bce}=new URL(window[_0x23065c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x550608(0xbf)]);if(_0xe4d41f[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf0bce))return!0x0;const _0x52347e=_0xdf0bce[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e]));return _0xe4d41f[_0x23065c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x483510=>_0x483510[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x2a])))[_0x23065c([0x6d,0x61,0x70])](_0x3f2e9a=>_0x3f2e9a[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e])))[_0x23065c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38b4c0=>_0x38b4c0[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52347e[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23065c([0x6d,0x61,0x70])](_0x478239=>Array(_0x52347e[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x478239[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23065c([0x66,0x69,0x6c,0x6c])](_0x478239[0x0]===_0x23065c([0x2a])?_0x23065c([0x2a]):'')[_0x23065c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x478239))[_0x23065c([0x73,0x6f,0x6d,0x65])](_0x4af057=>_0x52347e[_0x23065c([0x65,0x76,0x65,0x72,0x79])]((_0x3e9637,_0x3ccad1)=>_0x4af057[_0x3ccad1]===_0x3e9637||_0x4af057[_0x3ccad1]===_0x23065c([0x2a])));}function _0x1e8b35(){return _0xb8e8f5&&_0x54a7cb?new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x528975,_0x38f46a)=>{_0xb8e8f5[_0x23065c([0x74,0x68,0x65,0x6e])](_0x528975,_0x38f46a),_0x54a7cb[_0x23065c([0x74,0x68,0x65,0x6e])](_0x5a3195=>{_0x5a3195!=_0x23065c([0x56,0x61,0x6c,0x69,0x64])&&_0x528975(_0x5a3195);},_0x38f46a);}):_0xb8e8f5||_0x54a7cb||_0x23065c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc8fc7(_0x4a53d8,_0x20a4bf){return new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2cad=>{if(_0x5d8859())return _0x4d2cad(_0x23065c([0x56,0x61,0x6c,0x69,0x64]));_0x3ef2c8(),_0x20efe2[_0x23065c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd5c968=!0x1;const _0x11baa2=_0x5a10fb();function _0x4bda61(_0x30cfc1){return!!_0x30cfc1&&(typeof _0x30cfc1===_0x23065c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30cfc1===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30cfc1[_0x23065c([0x74,0x68,0x65,0x6e])]===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30cfc1[_0x23065c([0x63,0x61,0x74,0x63,0x68])]===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a37c2(_0x4b6656){_0x3d8757(_0x4b6656)[_0x23065c([0x74,0x68,0x65,0x6e])](_0x2094d3=>{if(!_0x2094d3||_0x2094d3[_0x23065c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23065c([0x6f,0x6b]))return _0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51c13b(_0x3a1d4f(_0x11baa2+_0x20a4bf))!=_0x2094d3[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23065c([0x56,0x61,0x6c,0x69,0x64]);})[_0x23065c([0x74,0x68,0x65,0x6e])](_0x1ddff4=>(_0x340cab(),_0x1ddff4),()=>{const _0x5e0634=_0x2d5a5f();return null==_0x5e0634?(_0x340cab(),_0x23065c([0x56,0x61,0x6c,0x69,0x64])):_0x23065c(_0x30e9be-_0x5e0634>(0x7e210aa^_0x127cf9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23065c([0x74,0x68,0x65,0x6e])](_0x4d2cad)[_0x23065c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x463f9e=0x23d87a2a^_0x127cf9;function _0x340cab(){const _0x16c788=_0x23065c([0x6c,0x6c,0x63,0x74,0x2d])+_0x51c13b(_0x3a1d4f(_0x4a53d8)),_0x49117e=_0x15bc38(_0x51c13b(window[_0x23065c([0x4d,0x61,0x74,0x68])][_0x23065c([0x63,0x65,0x69,0x6c])](_0x30e9be/_0x463f9e)));window[_0x23065c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23065c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16c788,_0x49117e);}function _0x2d5a5f(){const _0x445792=_0x23065c([0x6c,0x6c,0x63,0x74,0x2d])+_0x51c13b(_0x3a1d4f(_0x4a53d8)),_0x6071cc=window[_0x23065c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23065c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x445792);return _0x6071cc?window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15bc38(_0x6071cc),0x10)*_0x463f9e:null;}function _0x3d8757(_0x4aa9f5){return new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x135cb9,_0x51b460)=>{_0x4aa9f5[_0x23065c([0x74,0x68,0x65,0x6e])](_0x135cb9,_0x51b460),window[_0x23065c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51b460,0x23ef406a^_0x127cf9);});}}_0x20efe2[_0x23065c([0x6f,0x6e])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8c5433,_0x73cea2)=>{if(_0x73cea2[0x0]!=_0x4a53d8)return _0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x73cea2[0x1]={..._0x73cea2[0x1],[_0x23065c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11baa2};},{[_0x23065c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23065c([0x68,0x69,0x67,0x68])}),_0x20efe2[_0x23065c([0x6f,0x6e])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32fe2e=>{_0x4bda61(_0x32fe2e[_0x23065c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd5c968=!0x0,_0x5a37c2(_0x32fe2e[_0x23065c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23065c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23065c([0x6c,0x6f,0x77])}),_0x294d2b[_0x23065c([0x74,0x68,0x65,0x6e])](()=>{_0xd5c968||_0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d8859(){return _0x20efe2[_0x23065c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23065c([0x76,0x69,0x65,0x77])][_0x23065c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23065c([0x61,0x75,0x74,0x6f]);}function _0x3ef2c8(){_0x20efe2[_0x23065c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23065c([0x76,0x69,0x65,0x77])][_0x23065c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23065c([0x61,0x75,0x74,0x6f]);}}function _0x3c19c8(_0x4b633a){const _0x57742e=[new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25b7f4=>setTimeout(_0x25b7f4,0x23e7aa66^_0x127cf9)),_0x294d2b[_0x23065c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50969b=>{let _0x335878=0x0;_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x6f,0x6e])](_0x23065c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a3f07,_0x1487c9)=>{_0x1487c9[0x0][_0x23065c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x335878++,_0x335878==(0x23ee9552^_0x127cf9)&&(_0x50969b(),_0x2a3f07[_0x23065c([0x6f,0x66,0x66])]());});}))];return window[_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23065c([0x72,0x61,0x63,0x65])](_0x57742e)[_0x23065c([0x74,0x68,0x65,0x6e])](()=>_0x4b633a);}async function _0x3a3121(){await _0x294d2b,_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25d5db,_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25d5db,_0x20efe2[_0x23065c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23065c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d08b6(_0x341352){const _0x5556e5=_0x2a244b();_0x20efe2[_0x5556e5]=_0x23065c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x341352,_0x341352!=_0x23065c([0x56,0x61,0x6c,0x69,0x64])&&_0x3a3121();}function _0x2a244b(){const _0x45b204=window[_0x23065c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23065c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23065c([0x6e,0x6f,0x77])]())[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23065c([0x2e]),'');let _0x562b28=_0x23065c([0x5a]);for(let _0x4ddae3=0x0;_0x4ddae3<_0x45b204[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ddae3+=0x2){let _0x21c3ee=window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45b204[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ddae3,_0x4ddae3+0x2));_0x21c3ee>=_0x3bae39[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21c3ee-=_0x3bae39[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x562b28+=_0x3bae39[_0x21c3ee];}return _0x562b28;}function _0x3e17cc(){const _0x585555=_0x3e73b2[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e]));if(0x3!=_0x585555[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24857c(_0x585555[0x1]);function _0x24857c(_0x3f5b04){const _0x516e46=_0xaaf321(_0x3f5b04);return _0x516e46&&_0x7ee8af()?_0x516e46:null;function _0x7ee8af(){const _0x2a1f01=_0x516e46[_0x23065c([0x6a,0x74,0x69])],_0x34257d=window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a1f01[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a1f01[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x396e2a={..._0x516e46,[_0x23065c([0x6a,0x74,0x69])]:_0x2a1f01[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a1f01[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x396e2a[_0x23065c([0x76,0x63])],_0x3a1d4f(_0x396e2a)==_0x34257d;}}}async function _0x17c46c(){let _0x195499=!0x0;try{const _0x48fa0f=_0x3e73b2[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e])),[_0xb00868,_0x3e4ae5,_0x3f5b93]=_0x48fa0f;return _0x50def9(_0xb00868),await _0x5864e9(_0xb00868,_0x3e4ae5,_0x3f5b93),_0x195499;}catch{return!0x1;}function _0x50def9(_0x49d7ad){const _0xa38e11=_0xaaf321(_0x49d7ad);_0xa38e11&&_0xa38e11[_0x23065c([0x61,0x6c,0x67])]==_0x23065c([0x45,0x53,0x32,0x35,0x36])||(_0x195499=!0x1);}async function _0x5864e9(_0x2122f0,_0x43d66f,_0xda059e){const _0x302ae6=window[_0x23065c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23065c([0x66,0x72,0x6f,0x6d])](_0x109cc7(_0xda059e),_0x1f824e=>_0x1f824e[_0x23065c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x258886=new window[(_0x23065c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23065c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2122f0+_0x23065c([0x2e])+_0x43d66f),_0xd6c871=window[_0x23065c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23065c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd6c871)return;const _0x51b211=await _0xd6c871[_0x23065c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23065c([0x6a,0x77,0x6b]),_0x2d3f82,{[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x45,0x43,0x44,0x53,0x41]),[_0x23065c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23065c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd6c871[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x45,0x43,0x44,0x53,0x41]),[_0x23065c([0x68,0x61,0x73,0x68])]:{[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51b211,_0x302ae6,_0x258886)||(_0x195499=!0x1);}}function _0xaaf321(_0x1d9463){return _0x1d9463[_0x23065c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23065c([0x65,0x79]))?JSON[_0x23065c([0x70,0x61,0x72,0x73,0x65])](_0x109cc7(_0x1d9463)):null;}function _0x109cc7(_0xe2777b){return window[_0x23065c([0x61,0x74,0x6f,0x62])](_0xe2777b[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23065c([0x2b]))[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23065c([0x2f])));}function _0x3a1d4f(_0x15171a){let _0x1aaa2f=0x1505;function _0x977ab(_0x1a7eea){for(let _0x32e2c5=0x0;_0x32e2c5<_0x1a7eea[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32e2c5++){const _0xca9cb9=_0x1a7eea[_0x23065c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32e2c5);_0x1aaa2f=(_0x1aaa2f<<0x5)+_0x1aaa2f+_0xca9cb9,_0x1aaa2f&=_0x1aaa2f;}}function _0x5d1107(_0x79b4bc){Array[_0x23065c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x79b4bc)?_0x79b4bc[_0x23065c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d1107):_0x79b4bc&&typeof _0x79b4bc==_0x23065c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23065c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x79b4bc)[_0x23065c([0x73,0x6f,0x72,0x74])]()[_0x23065c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ef36c,_0x98ad9e])=>{_0x977ab(_0x5ef36c),_0x5d1107(_0x98ad9e);}):_0x977ab(window[_0x23065c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x79b4bc));}return _0x5d1107(_0x15171a),_0x1aaa2f>>>0x0;}function _0x51c13b(_0x17f5fa){return _0x17f5fa[_0x23065c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23065c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23065c([0x30]));}function _0x15bc38(_0x210846){return _0x210846[_0x23065c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23065c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23065c([0x6a,0x6f,0x69,0x6e])]('');}function _0x25d5db(){}function _0x23065c(_0x539c1b){const _0x58962d=_0x2c09;return _0x539c1b[_0x58962d(0xb2)](_0x5d2600=>String[_0x58962d(0x9c)](_0x5d2600))[_0x58962d(0xc0)]('');}_0x5d08b6(await _0x2339a2());}(this);}[_0xc62320(0x9e)](){const _0x58e446=_0xc62320,_0x3e8361=this[_0x58e446(0x98)];if(!_0x3e8361[_0x58e446(0xa7)][_0x58e446(0xa2)](_0x58e446(0xc5)))return;const _0x2e8410=_0x3e8361[_0x58e446(0xa7)][_0x58e446(0xa2)](_0x58e446(0xc3))[_0x58e446(0xa6)](_0x39773c=>_0x58e446(0xb9)==typeof _0x39773c&&(!_0x3929f3(_0x39773c)&&isNaN(Number(_0x39773c))));if(_0x2e8410[_0x58e446(0xba)])throw new _0xcb3f56(_0x58e446(0xbb),null,{'namedPresets':_0x2e8410});}[_0xc62320(0xa4)](){const _0xd582af=_0xc62320,_0x451c31=this[_0xd582af(0x98)],_0x40721b=this[_0xd582af(0x98)][_0xd582af(0xa7)][_0xd582af(0xa2)](_0xd582af(0x99));_0x451c31[_0xd582af(0xbd)][_0xd582af(0x9b)](_0xd582af(0xa8))[_0xd582af(0x95)]({'model':{'key':_0xd582af(0x93)},'view':_0xffb0b6=>String(_0xffb0b6)===String(_0x40721b)?null:{'key':_0xd582af(0xa5),'value':{'line-height':_0xffb0b6}}}),_0x451c31[_0xd582af(0xbd)][_0xd582af(0x9b)](_0xd582af(0xae))[_0xd582af(0x95)]({'model':{'key':_0xd582af(0x93),'value':_0x202c5a=>{const _0x3c8025=_0xd582af;let _0x7963f8=_0x202c5a[_0x3c8025(0xa9)](_0x3c8025(0xab));return _0x35e8fb(_0x7963f8)&&(_0x7963f8=String(Number(_0x7963f8[_0x3c8025(0x92)](0x0,-0x1))/0x64)),String(_0x7963f8)===String(_0x40721b)?null:_0x7963f8;}},'view':{'styles':{'line-height':/.*/}}});}[_0xc62320(0x94)](){const _0x33d46e=_0xc62320,_0x59f7e4=this[_0x33d46e(0x98)],_0x1cddf8=this[_0x33d46e(0x98)][_0x33d46e(0xa7)][_0x33d46e(0xa2)](_0x33d46e(0x99)),_0x382b64=_0xce7057(this[_0x33d46e(0x98)][_0x33d46e(0xa7)][_0x33d46e(0xa2)](_0x33d46e(0x93)))[_0x33d46e(0xa6)](_0x30915a=>_0x30915a[_0x33d46e(0x96)]),_0x543ed7=_0x4500c9(_0x33d46e(0x93),_0x382b64);_0x59f7e4[_0x33d46e(0xbd)][_0x33d46e(0x95)](_0x543ed7),_0x59f7e4[_0x33d46e(0xbd)][_0x33d46e(0x9b)](_0x33d46e(0xae))[_0x33d46e(0x95)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x33d46e(0x93),'value':_0x45c6cb=>{const _0x3c0ab3=_0x33d46e;let _0x454a6a=_0x45c6cb[_0x3c0ab3(0xa9)](_0x3c0ab3(0xab));return _0x35e8fb(_0x454a6a)&&(_0x454a6a=String(Number(_0x454a6a[_0x3c0ab3(0x92)](0x0,-0x1))/0x64)),_0x454a6a===String(_0x1cddf8)?null:_0x543ed7[_0x3c0ab3(0x96)][_0x3c0ab3(0xc1)][_0x3c0ab3(0x9d)](_0x454a6a)?_0x454a6a:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2c0fc0}from'ckeditor5/src/core.js';import{addListToDropdown as _0x22c5bf,createDropdown as _0x442d3a,MenuBarMenuListItemButtonView as _0x1f13c9,MenuBarMenuListItemView as _0x3f23a7,MenuBarMenuListView as _0x1e1268,MenuBarMenuView as _0x34f156,UIModel as _0x5c0469}from'ckeditor5/src/ui.js';import{Collection as _0x5c7590}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x366e66}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x193fe8}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x2c0fc0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2aaba4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2aaba4),this['_registerMenuBarComponent'](_0x2aaba4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x118d20=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x15887e;for(const _0x1151cb in _0x118d20){const _0x688bc0=_0x1151cb,_0x5de70e=_0x118d20[_0x688bc0];if('lineHeightLicenseKeyValid'==_0x5de70e||'lineHeightLicenseKeyInvalid'==_0x5de70e||'lineHeightLicenseKeyExpired'==_0x5de70e||'lineHeightLicenseKeyDomainLimit'==_0x5de70e||'lineHeightLicenseKeyNotAllowed'==_0x5de70e||'lineHeightLicenseKeyEvaluationLimit'==_0x5de70e||'lineHeightLicenseKeyTrialLimit'==_0x5de70e||'lineHeightLicenseKeyUsageLimit'==_0x5de70e){delete _0x118d20[_0x688bc0],_0x15887e=_0x5de70e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x15887e&&_0x118d20['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x15887e&&_0x118d20['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x15887e&&_0x118d20['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x15887e&&_0x118d20['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x15887e&&_0x118d20['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x15887e&&_0x118d20['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x15887e&&_0x118d20['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1ec0f1=this['editor'],t=_0x1ec0f1['t'],_0x183e39=_0x1ec0f1['config']['get']('lineHeight'),_0x537912={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x193fe8(_0x183e39)['map'](_0x3c9567=>{const _0x40a06a=_0x537912[_0x3c9567['title']];return _0x40a06a&&_0x40a06a!=_0x3c9567['title']&&(_0x3c9567=Object['assign']({},_0x3c9567,{'title':_0x40a06a})),_0x3c9567;});}['_prepareListOptions'](){const _0x10f6c0=this['editor']['commands']['get']('lineHeight'),_0x219973=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1754fb=this['_getLocalizedLineHeightOptions'](),_0x3e17b3=new _0x5c7590(),_0x3c1b79=_0x1e588a=>'default'===_0x1e588a||String(_0x219973)===_0x1e588a;for(const _0x4904bc of _0x1754fb){const _0xbb477={'type':'button','model':new _0x5c0469({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4904bc['title'],'withText':!0x0})};_0x3c1b79(_0x4904bc['model'])?(_0xbb477['model']['bind']('isOn')['to'](_0x10f6c0,'value',_0x22526a=>!_0x22526a),_0xbb477['model']['commandParam']=void 0x0):(_0xbb477['model']['bind']('isOn')['to'](_0x10f6c0,'value',_0x56388a=>_0x56388a===_0x4904bc['model']),_0xbb477['model']['commandParam']=_0x4904bc['model']),_0x3e17b3['add'](_0xbb477);}if(this['_shouldRenderCustomValueOption']()){const _0xd9cd79=this['_getCustomValueOptionDefinition'](_0x1754fb);_0x3e17b3['add'](_0xd9cd79);}return _0x3e17b3;}['_getCustomValueOptionDefinition'](_0x421496){const _0x3761ec=this['editor'],t=_0x3761ec['t'],_0x25874a=_0x3761ec['commands']['get']('lineHeight'),_0x2ba840=_0x421496['map'](_0x21ec07=>_0x21ec07['model']),_0x185297={'type':'button','model':new _0x5c0469({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x185297['model']['bind']('commandParam')['to'](_0x25874a,'value'),_0x185297['model']['bind']('isOn')['to'](_0x25874a,'value',_0x46acf2=>!!_0x46acf2&&!_0x2ba840['includes'](String(_0x46acf2))),_0x185297['model']['bind']('label')['to'](_0x25874a,'value',_0x96b6d8=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x96b6d8))),_0x185297;}['_registerToolbarComponent']({accessibleLabel:_0x3fdcb4,options:_0x4c271c}){const _0x121c63=this['editor'],_0x4be8f3=_0x121c63['commands']['get']('lineHeight');_0x121c63['ui']['componentFactory']['add']('lineHeight',_0x428f7b=>{const _0x18b1dd=_0x442d3a(_0x428f7b);return _0x22c5bf(_0x18b1dd,_0x4c271c,{'role':'menu','ariaLabel':_0x3fdcb4}),_0x18b1dd['buttonView']['set']({'label':_0x3fdcb4,'tooltip':!0x0,'icon':_0x366e66}),_0x18b1dd['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x18b1dd['bind']('isEnabled')['to'](_0x4be8f3),this['listenTo'](_0x18b1dd,'execute',_0x5e46e4=>{_0x121c63['execute'](_0x5e46e4['source']['commandName'],{'value':_0x5e46e4['source']['commandParam']}),_0x121c63['editing']['view']['focus']();}),_0x18b1dd['once']('change:isOpen',()=>{const _0x2f808b=_0x18b1dd['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x18b1dd,_0x4c271c,_0x2f808b);}),_0x18b1dd;});}['_registerMenuBarComponent']({accessibleLabel:_0x1c4d71,options:_0x3ba053}){const _0xb35d2c=this['editor'],_0x3bb727=_0xb35d2c['commands']['get']('lineHeight');_0xb35d2c['ui']['componentFactory']['add']('menuBar:lineHeight',_0x198893=>{const _0x4a6dd5=new _0x34f156(_0x198893);_0x4a6dd5['buttonView']['set']({'label':_0x1c4d71,'icon':_0x366e66}),_0x4a6dd5['bind']('isEnabled')['to'](_0x3bb727);const _0x14b62b=new _0x1e1268(_0x198893);for(const _0x3caab3 of _0x3ba053){const _0x36e719=new _0x3f23a7(_0x198893,_0x4a6dd5),_0xab3e9f=new _0x1f13c9(_0x198893);_0xab3e9f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0xab3e9f['bind'](...Object['keys'](_0x3caab3['model']))['to'](_0x3caab3['model']),_0xab3e9f['delegate']('execute')['to'](_0x4a6dd5),_0xab3e9f['on']('execute',()=>{_0xb35d2c['execute'](_0x3caab3['model']['commandName'],{'value':_0x3caab3['model']['commandParam']}),_0xb35d2c['editing']['view']['focus']();}),_0x36e719['children']['add'](_0xab3e9f),_0x14b62b['items']['add'](_0x36e719);}return _0x4a6dd5['panelView']['children']['add'](_0x14b62b),this['_attachCustomOptionVisibilityHandler'](_0x4a6dd5,_0x3ba053,_0x14b62b),_0x4a6dd5;});}['_attachCustomOptionVisibilityHandler'](_0x34ffa9,_0x3eb849,_0x4e4e63){if(!this['_shouldRenderCustomValueOption']())return;const _0x19394c=()=>{if(!_0x34ffa9['isOpen'])return;_0x4e4e63['items']['last']['isVisible']=Boolean(_0x3eb849['last']['model']['isOn']);};_0x19394c(),_0x34ffa9['on']('change:isOpen',()=>{_0x19394c();});}}
23
+ import{Plugin as _0x26582d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4f375d,createDropdown as _0x27f6f9,MenuBarMenuListItemButtonView as _0x15bd2d,MenuBarMenuListItemView as _0x2ec11f,MenuBarMenuListView as _0xe08435,MenuBarMenuView as _0x4f8964,UIModel as _0x44762f}from'ckeditor5/src/ui.js';import{Collection as _0x82f7f1}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5d350f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x142f9b}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x26582d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25b54d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x25b54d),this['_registerMenuBarComponent'](_0x25b54d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x547d48=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1cd40f;for(const _0x102d61 in _0x547d48){const _0x2b5be7=_0x102d61,_0x5dbaf8=_0x547d48[_0x2b5be7];if('lineHeightLicenseKeyValid'==_0x5dbaf8||'lineHeightLicenseKeyInvalid'==_0x5dbaf8||'lineHeightLicenseKeyExpired'==_0x5dbaf8||'lineHeightLicenseKeyDomainLimit'==_0x5dbaf8||'lineHeightLicenseKeyNotAllowed'==_0x5dbaf8||'lineHeightLicenseKeyEvaluationLimit'==_0x5dbaf8||'lineHeightLicenseKeyTrialLimit'==_0x5dbaf8||'lineHeightLicenseKeyUsageLimit'==_0x5dbaf8){delete _0x547d48[_0x2b5be7],_0x1cd40f=_0x5dbaf8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1cd40f&&_0x547d48['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1cd40f&&_0x547d48['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1cd40f&&_0x547d48['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2bb9e7=this['editor'],t=_0x2bb9e7['t'],_0x5a4483=_0x2bb9e7['config']['get']('lineHeight'),_0x2f4b04={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x142f9b(_0x5a4483)['map'](_0x2fe4a2=>{const _0x237177=_0x2f4b04[_0x2fe4a2['title']];return _0x237177&&_0x237177!=_0x2fe4a2['title']&&(_0x2fe4a2=Object['assign']({},_0x2fe4a2,{'title':_0x237177})),_0x2fe4a2;});}['_prepareListOptions'](){const _0x22d6b8=this['editor']['commands']['get']('lineHeight'),_0x5999ad=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4ba060=this['_getLocalizedLineHeightOptions'](),_0x2e9268=new _0x82f7f1(),_0x33b886=_0x5db0d0=>'default'===_0x5db0d0||String(_0x5999ad)===_0x5db0d0;for(const _0x29365f of _0x4ba060){const _0x1fdfcb={'type':'button','model':new _0x44762f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x29365f['title'],'withText':!0x0})};_0x33b886(_0x29365f['model'])?(_0x1fdfcb['model']['bind']('isOn')['to'](_0x22d6b8,'value',_0x31223e=>!_0x31223e),_0x1fdfcb['model']['commandParam']=void 0x0):(_0x1fdfcb['model']['bind']('isOn')['to'](_0x22d6b8,'value',_0x97cc95=>_0x97cc95===_0x29365f['model']),_0x1fdfcb['model']['commandParam']=_0x29365f['model']),_0x2e9268['add'](_0x1fdfcb);}if(this['_shouldRenderCustomValueOption']()){const _0x4cab87=this['_getCustomValueOptionDefinition'](_0x4ba060);_0x2e9268['add'](_0x4cab87);}return _0x2e9268;}['_getCustomValueOptionDefinition'](_0x5e86d1){const _0x2e5738=this['editor'],t=_0x2e5738['t'],_0x41d24a=_0x2e5738['commands']['get']('lineHeight'),_0x2cad8c=_0x5e86d1['map'](_0x142421=>_0x142421['model']),_0x18d213={'type':'button','model':new _0x44762f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x18d213['model']['bind']('commandParam')['to'](_0x41d24a,'value'),_0x18d213['model']['bind']('isOn')['to'](_0x41d24a,'value',_0x2cfabe=>!!_0x2cfabe&&!_0x2cad8c['includes'](String(_0x2cfabe))),_0x18d213['model']['bind']('label')['to'](_0x41d24a,'value',_0x4084df=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4084df))),_0x18d213;}['_registerToolbarComponent']({accessibleLabel:_0x2a3ab0,options:_0xbf6310}){const _0x558b2e=this['editor'],_0x47b332=_0x558b2e['commands']['get']('lineHeight');_0x558b2e['ui']['componentFactory']['add']('lineHeight',_0x4979eb=>{const _0x2933a8=_0x27f6f9(_0x4979eb);return _0x4f375d(_0x2933a8,_0xbf6310,{'role':'menu','ariaLabel':_0x2a3ab0}),_0x2933a8['buttonView']['set']({'label':_0x2a3ab0,'tooltip':!0x0,'icon':_0x5d350f}),_0x2933a8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2933a8['bind']('isEnabled')['to'](_0x47b332),this['listenTo'](_0x2933a8,'execute',_0x54e75b=>{_0x558b2e['execute'](_0x54e75b['source']['commandName'],{'value':_0x54e75b['source']['commandParam']}),_0x558b2e['editing']['view']['focus']();}),_0x2933a8['once']('change:isOpen',()=>{const _0x1122b1=_0x2933a8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2933a8,_0xbf6310,_0x1122b1);}),_0x2933a8;});}['_registerMenuBarComponent']({accessibleLabel:_0x18a0f1,options:_0x24aa0c}){const _0x297e8b=this['editor'],_0x2cdee8=_0x297e8b['commands']['get']('lineHeight');_0x297e8b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2a1d71=>{const _0x1f0e6e=new _0x4f8964(_0x2a1d71);_0x1f0e6e['buttonView']['set']({'label':_0x18a0f1,'icon':_0x5d350f}),_0x1f0e6e['bind']('isEnabled')['to'](_0x2cdee8);const _0x2443ac=new _0xe08435(_0x2a1d71);for(const _0x4f3dfd of _0x24aa0c){const _0x40afc8=new _0x2ec11f(_0x2a1d71,_0x1f0e6e),_0x5c7923=new _0x15bd2d(_0x2a1d71);_0x5c7923['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5c7923['bind'](...Object['keys'](_0x4f3dfd['model']))['to'](_0x4f3dfd['model']),_0x5c7923['delegate']('execute')['to'](_0x1f0e6e),_0x5c7923['on']('execute',()=>{_0x297e8b['execute'](_0x4f3dfd['model']['commandName'],{'value':_0x4f3dfd['model']['commandParam']}),_0x297e8b['editing']['view']['focus']();}),_0x40afc8['children']['add'](_0x5c7923),_0x2443ac['items']['add'](_0x40afc8);}return _0x1f0e6e['panelView']['children']['add'](_0x2443ac),this['_attachCustomOptionVisibilityHandler'](_0x1f0e6e,_0x24aa0c,_0x2443ac),_0x1f0e6e;});}['_attachCustomOptionVisibilityHandler'](_0x527c48,_0xd35ba7,_0x24c56f){if(!this['_shouldRenderCustomValueOption']())return;const _0x317eb0=()=>{if(!_0x527c48['isOpen'])return;_0x24c56f['items']['last']['isVisible']=Boolean(_0xd35ba7['last']['model']['isOn']);};_0x317eb0(),_0x527c48['on']('change:isOpen',()=>{_0x317eb0();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x51e0d1,_0x50c930){const _0x366a69=_0x4493,_0x59532d=_0x51e0d1();while(!![]){try{const _0x2152a0=-parseInt(_0x366a69(0x1ec))/0x1+-parseInt(_0x366a69(0x200))/0x2*(-parseInt(_0x366a69(0x1ef))/0x3)+parseInt(_0x366a69(0x1ff))/0x4*(parseInt(_0x366a69(0x206))/0x5)+parseInt(_0x366a69(0x207))/0x6*(parseInt(_0x366a69(0x1f1))/0x7)+parseInt(_0x366a69(0x201))/0x8+-parseInt(_0x366a69(0x1fa))/0x9*(parseInt(_0x366a69(0x1fd))/0xa)+-parseInt(_0x366a69(0x1fc))/0xb*(parseInt(_0x366a69(0x204))/0xc);if(_0x2152a0===_0x50c930)break;else _0x59532d['push'](_0x59532d['shift']());}catch(_0x404ed2){_0x59532d['push'](_0x59532d['shift']());}}}(_0x50b2,0x9379f));const v={get 'single'(){const _0xc99cf9=_0x4493;return{'title':_0xc99cf9(0x1f3),'model':_0xc99cf9(0x1f4),'view':{'key':_0xc99cf9(0x1f2),'value':_0xc99cf9(0x1ea)}};},get 'double'(){const _0x5d889f=_0x4493;return{'title':_0x5d889f(0x205),'model':_0x5d889f(0x1eb),'view':{'key':_0x5d889f(0x1f2),'value':_0x5d889f(0x208)}};}};export function isLineHeightDefaultValue(_0x451d33){const _0x23f8ed=_0x4493;return _0x23f8ed(0x203)==typeof _0x451d33&&_0x23f8ed(0x1f8)===_0x451d33[_0x23f8ed(0x1f9)]();}function _0x4493(_0x508970,_0x5d3690){const _0x50b2f0=_0x50b2();return _0x4493=function(_0x449301,_0x23b03d){_0x449301=_0x449301-0x1ea;let _0x37d701=_0x50b2f0[_0x449301];return _0x37d701;},_0x4493(_0x508970,_0x5d3690);}export function normalizeOptions(_0x298d07){const _0xd87ed8=_0x4493;return _0x298d07[_0xd87ed8(0x20d)][_0xd87ed8(0x20b)](_0x5303cc=>isLineHeightDefaultValue(_0x5303cc)?{'title':String(_0x298d07[_0xd87ed8(0x1f7)]),'model':_0xd87ed8(0x1f8)}:(_0xd87ed8(0x1f5)==typeof _0x5303cc&&(_0x5303cc=String(_0x5303cc)),_0xd87ed8(0x203)!=typeof _0x5303cc?_0x5303cc:parseFloat(_0x5303cc)?{'title':_0x5303cc,'model':_0x5303cc,'view':{'name':_0xd87ed8(0x1fb),'styles':{'line-height':_0x5303cc}}}:findPreset(_0x5303cc)))[_0xd87ed8(0x209)](_0x156fa3=>void 0x0!==_0x156fa3);}export function findPreset(_0x5b429e){const _0x10baa0=_0x4493;return _0x10baa0(0x203)==typeof _0x5b429e?v[_0x5b429e]:v[_0x5b429e[_0x10baa0(0x1f6)]];}function _0x50b2(){const _0x67e4a1=['1963420lGTecO','39352XvPkle','7970392GmvcxE','push','string','5752344qrNzCK','Double','10EWWISb','6iQfKOt','line-height-double','filter','values','map','value','options','line-height-single','double','682425KCuZUd','view','line-height:','51txqRib','key','7822227FcLrii','class','Single','single','number','model','defaultValue','default','toLowerCase','1575JkJooR','span','22PypZCb','67700UsImeT','style'];_0x50b2=function(){return _0x67e4a1;};return _0x50b2();}export function buildDefinition(_0x5e4898,_0x9f6e6){const _0xd7362c=_0x4493,_0x15ebcf={'model':{'key':_0x5e4898,'values':[]},'view':{}};for(const _0x29421e of _0x9f6e6)_0xd7362c(0x1f2)===_0x29421e[_0xd7362c(0x1ed)]?.[_0xd7362c(0x1f0)]?(_0x15ebcf[_0xd7362c(0x1f6)][_0xd7362c(0x20a)][_0xd7362c(0x202)](_0x29421e[_0xd7362c(0x1f6)]),_0x15ebcf[_0xd7362c(0x1ed)][_0x29421e[_0xd7362c(0x1f6)]]={'key':_0xd7362c(0x1f2),'value':_0x29421e[_0xd7362c(0x1ed)][_0xd7362c(0x20c)]}):(_0x15ebcf[_0xd7362c(0x1f6)][_0xd7362c(0x20a)][_0xd7362c(0x202)](_0x29421e[_0xd7362c(0x1f6)]),_0x15ebcf[_0xd7362c(0x1ed)][_0x29421e[_0xd7362c(0x1f6)]]={'key':_0xd7362c(0x1fe),'value':_0xd7362c(0x1ee)+_0x29421e[_0xd7362c(0x1f6)]+';'});return _0x15ebcf;}
23
+ (function(_0x215d68,_0x2b0e3e){const _0x27a89a=_0x34d7,_0x1bdb24=_0x215d68();while(!![]){try{const _0x4acc10=-parseInt(_0x27a89a(0x1f6))/0x1*(parseInt(_0x27a89a(0x1fb))/0x2)+parseInt(_0x27a89a(0x210))/0x3+-parseInt(_0x27a89a(0x1fa))/0x4+parseInt(_0x27a89a(0x20d))/0x5*(-parseInt(_0x27a89a(0x209))/0x6)+-parseInt(_0x27a89a(0x205))/0x7*(-parseInt(_0x27a89a(0x1fe))/0x8)+-parseInt(_0x27a89a(0x1fd))/0x9+parseInt(_0x27a89a(0x208))/0xa;if(_0x4acc10===_0x2b0e3e)break;else _0x1bdb24['push'](_0x1bdb24['shift']());}catch(_0x262746){_0x1bdb24['push'](_0x1bdb24['shift']());}}}(_0x196e,0xb671f));const v={get 'single'(){const _0x2086ef=_0x34d7;return{'title':_0x2086ef(0x1fc),'model':_0x2086ef(0x1ef),'view':{'key':_0x2086ef(0x1f9),'value':_0x2086ef(0x202)}};},get 'double'(){const _0x397214=_0x34d7;return{'title':_0x397214(0x1f4),'model':_0x397214(0x200),'view':{'key':_0x397214(0x1f9),'value':_0x397214(0x1ff)}};}};export function isLineHeightDefaultValue(_0x55eb40){const _0x249ba4=_0x34d7;return _0x249ba4(0x207)==typeof _0x55eb40&&_0x249ba4(0x20e)===_0x55eb40[_0x249ba4(0x203)]();}export function normalizeOptions(_0x1c1f33){const _0x52096f=_0x34d7;return _0x1c1f33[_0x52096f(0x1f1)][_0x52096f(0x1f8)](_0x223d21=>isLineHeightDefaultValue(_0x223d21)?{'title':String(_0x1c1f33[_0x52096f(0x1f7)]),'model':_0x52096f(0x20e)}:(_0x52096f(0x20f)==typeof _0x223d21&&(_0x223d21=String(_0x223d21)),_0x52096f(0x207)!=typeof _0x223d21?_0x223d21:parseFloat(_0x223d21)?{'title':_0x223d21,'model':_0x223d21,'view':{'name':_0x52096f(0x20a),'styles':{'line-height':_0x223d21}}}:findPreset(_0x223d21)))[_0x52096f(0x1f2)](_0xd4d996=>void 0x0!==_0xd4d996);}export function findPreset(_0x5798a7){const _0x3436db=_0x34d7;return _0x3436db(0x207)==typeof _0x5798a7?v[_0x5798a7]:v[_0x5798a7[_0x3436db(0x20b)]];}function _0x196e(){const _0x5d1d70=['11920270BuCtYR','2022iAmBWn','span','model','push','17745CAMlMB','default','number','4309029EMcJMp','single','value','options','filter','key','Double','values','1YZcTsG','defaultValue','map','class','2566784SLsaQw','2006868nnLSAH','Single','2449341YDnVjJ','504BCCNXP','line-height-double','double','line-height:','line-height-single','toLowerCase','style','136913ntvgkL','view','string'];_0x196e=function(){return _0x5d1d70;};return _0x196e();}function _0x34d7(_0x55c3fb,_0x46ab09){const _0x196e6f=_0x196e();return _0x34d7=function(_0x34d7ef,_0x93a0ab){_0x34d7ef=_0x34d7ef-0x1ef;let _0x557ef1=_0x196e6f[_0x34d7ef];return _0x557ef1;},_0x34d7(_0x55c3fb,_0x46ab09);}export function buildDefinition(_0x2d0f7d,_0x1af9ff){const _0x391209=_0x34d7,_0x515c11={'model':{'key':_0x2d0f7d,'values':[]},'view':{}};for(const _0x3c32cf of _0x1af9ff)_0x391209(0x1f9)===_0x3c32cf[_0x391209(0x206)]?.[_0x391209(0x1f3)]?(_0x515c11[_0x391209(0x20b)][_0x391209(0x1f5)][_0x391209(0x20c)](_0x3c32cf[_0x391209(0x20b)]),_0x515c11[_0x391209(0x206)][_0x3c32cf[_0x391209(0x20b)]]={'key':_0x391209(0x1f9),'value':_0x3c32cf[_0x391209(0x206)][_0x391209(0x1f0)]}):(_0x515c11[_0x391209(0x20b)][_0x391209(0x1f5)][_0x391209(0x20c)](_0x3c32cf[_0x391209(0x20b)]),_0x515c11[_0x391209(0x206)][_0x3c32cf[_0x391209(0x20b)]]={'key':_0x391209(0x204),'value':_0x391209(0x201)+_0x3c32cf[_0x391209(0x20b)]+';'});return _0x515c11;}