@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250713.0 → 0.0.0-nightly-20250715.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>k,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>x});var e=n(782),t=n(584);const r=s;function o(){const e=["removeAttribute","_canHaveLineHeight","205665Ywdpdp","filter","value","342622eIzYLC","lineHeight","selection","refresh","isEnabled","checkAttribute","execute","156300ewVMXi","6pdYZOu","schema","editor","from","487686qbWuOW","283028wwMlog","getAttribute","setAttribute","208JVysLV","document","29457LxTvzc","change","2wJhnLO","getSelectedBlocks","802910ZWllVg","model","209RSSKQc"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=249]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(127890===-parseInt(t(271))/1+-parseInt(t(264))/2*(-parseInt(t(256))/3)+parseInt(t(257))/4+-parseInt(t(266))/5+-parseInt(t(252))/6*(-parseInt(t(274))/7)+parseInt(t(260))/8*(-parseInt(t(262))/9)+-parseInt(t(251))/10*(-parseInt(t(268))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(277)](){const e=r,n=this[e(254)][e(267)][e(261)],i=(0,t.first)(n[e(276)][e(265)]());this[e(278)]=Boolean(i)&&this[e(270)](i),this[e(273)]=this[e(278)]&&i[e(258)](e(275))}[r(250)](e={}){const t=r,n=this[t(254)][t(267)],i=n[t(261)][t(276)],o=e[t(273)];n[t(263)](e=>{const n=t,r=Array[n(255)](i[n(265)]())[n(272)](e=>this[n(270)](e));for(const t of r)o?e[n(259)](n(275),o,t):e[n(269)](n(275),t)})}[r(270)](e){const t=r;return this[t(254)][t(267)][t(253)][t(249)](e,t(275))}}var c=n(783);function u(e,t){const n=l();return(u=function(e,t){return n[e-=474]})(e,t)}function l(){const e=["line-height:","span","single","18920hernEm","view","map","1246102BlQLTu","621coVTZL","class","value","line-height-single","110KdhatV","double","number","2205756bLjAYI","filter","default","1565452aplmEs","6dPvfpP","values","options","defaultValue","line-height-double","toLowerCase","style","push","3599540ckBlhs","key","Double","1skvZXX","Single","1329440PqjHsD","3795606XeBDjf","string","model"];return(l=function(){return e})()}!function(e){const t=u,n=e();for(;;)try{if(614899===-parseInt(t(505))/1*(parseInt(t(482))/2)+-parseInt(t(494))/3*(-parseInt(t(493))/4)+-parseInt(t(502))/5+-parseInt(t(508))/6+parseInt(t(490))/7+-parseInt(t(479))/8*(-parseInt(t(483))/9)+parseInt(t(507))/10*(parseInt(t(487))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const d={get single(){const e=u;return{title:e(506),model:e(478),view:{key:e(484),value:e(486)}}},get double(){const e=u;return{title:e(504),model:e(488),view:{key:e(484),value:e(498)}}}};function h(e){const t=u;return t(474)==typeof e&&t(492)===e[t(499)]()}function f(e){const t=u;return e[t(496)][t(481)](n=>h(n)?{title:String(e[t(497)]),model:t(492)}:(t(489)==typeof n&&(n=String(n)),t(474)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(477),styles:{"line-height":n}}}:function(e){const t=u;return t(474)==typeof e?d[e]:d[e[t(475)]]}(n)))[t(491)](e=>void 0!==e)}const p=m;function g(){const e=["_preparePredefinedConverters","lineHeight","$block","default","extend","add","get","init","filter","_prepareAnyValueConverters","44585eUhZKa","setAttributeProperties","length","includes","15ejDHLj","8052zcPsKi","define","LineHeightEditing","pluginName","join","href","766734DhaChM","slice","config","isOfficialPlugin","commands","_validateConfig","for","upcast","conversion","14OeiAYb","string","47194TIqrXg","downcast","afterInit","model","300RPWuee","schema","style","lineHeight.options","line-height","fromCharCode","attributeToAttribute","getStyle","editor","isPremiumPlugin","3456ZfPkvG","lineHeight.defaultValue","1166772gpLDcM","line-height-invalid-use-of-named-presets","lineHeight.supportAllValues","8767KuAnfU","map","2109660wXmMgs","values","536MnWyKa"];return(g=function(){return e})()}function m(e,t){const n=g();return(m=function(e,t){return n[e-=283]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(281316===parseInt(t(330))/1*(-parseInt(t(294))/2)+-parseInt(t(312))/3+parseInt(t(317))/4+-parseInt(t(334))/5*(-parseInt(t(285))/6)+-parseInt(t(296))/7*(parseInt(t(319))/8)+parseInt(t(310))/9*(-parseInt(t(300))/10)+parseInt(t(315))/11*(parseInt(t(335))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(g);class w extends e.Plugin{static get[p(338)](){return p(337)}static get[p(288)](){return!0}static get[p(309)](){return!0}constructor(e){const t=p;super(e),e[t(287)][t(336)](t(321),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(323),2,2.5,3]})}[p(327)](){const e=p,t=this[e(308)];this[e(290)](),t[e(299)][e(301)][e(324)](e(322),{allowAttributes:e(321)}),t[e(299)][e(301)][e(331)](e(321),{isFormatting:!0}),t[e(289)][e(325)](e(321),new a(t)),this[e(308)][e(287)][e(326)](e(314))?this[e(329)]():this[e(320)]()}[p(298)](){!async function(e){const n=g([98,102,101,55,67,71,85,78,115,50,49,80,119,90,69,74,83,72,112,75,81,53,99,48,54,100,113,107,120,108,88,68,117,65,111,118,122,77,87,66,89,52,104,97,116,114,103,82,70,86,56,84,57,121,73,76,51,110,79,105,109,106]),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 u(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(e)):null}function l(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(316)](e=>String[t(305)](e))[t(283)]("")}!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([98]);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=u(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 u=!1;const l=(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(l+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])]:l}},{[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])])&&(u=!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])](()=>{u||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=u(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])](l(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:1752364800;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(284)]);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(290)](){const e=p,n=this[e(308)];if(!n[e(287)][e(326)](e(314)))return;const i=n[e(287)][e(326)](e(303))[e(328)](t=>e(295)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(332)])throw new t.CKEditorError(e(313),null,{namedPresets:i})}[p(329)](){const e=p,t=this[e(308)],n=this[e(308)][e(287)][e(326)](e(311));t[e(293)][e(291)](e(297))[e(306)]({model:{key:e(321)},view:t=>String(t)===String(n)?null:{key:e(302),value:{"line-height":t}}}),t[e(293)][e(291)](e(292))[e(306)]({model:{key:e(321),value:t=>{const i=e;let r=t[i(307)](i(304));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(286)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(320)](){const e=p,t=this[e(308)],n=this[e(308)][e(287)][e(326)](e(311)),i=f(this[e(308)][e(287)][e(326)](e(321)))[e(328)](t=>t[e(299)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(484)===e[n(480)]?.[n(503)]?(i[n(475)][n(495)][n(501)](e[n(475)]),i[n(480)][e[n(475)]]={key:n(484),value:e[n(480)][n(485)]}):(i[n(475)][n(495)][n(501)](e[n(475)]),i[n(480)][e[n(475)]]={key:n(500),value:n(476)+e[n(475)]+";"});return i}(e(321),i);t[e(293)][e(306)](r),t[e(293)][e(291)](e(292))[e(306)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(321),value:t=>{const i=e;let o=t[i(307)](i(304));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(286)](0,-1))/100)),o===String(n)?null:r[i(299)][i(318)][i(333)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),_=n(262),O=n.n(_),E=n(667),C=n.n(E),T=n(357),S=n.n(T),A=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=C(),P.insert=O().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=S();L()(A.A,P);A.A&&A.A.locals&&A.A.locals;class x extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var N=V;function V(e,t){var n=K();return(V=function(e,t){return n[e-=367]})(e,t)}!function(e){for(var t=V,n=e();;)try{if(184640===parseInt(t(372))/1*(-parseInt(t(378))/2)+parseInt(t(373))/3+-parseInt(t(375))/4*(parseInt(t(376))/5)+-parseInt(t(370))/6+-parseInt(t(374))/7+parseInt(t(379))/8*(parseInt(t(368))/9)+-parseInt(t(381))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class k extends e.Plugin{static get[N(377)](){return[w,x]}static get[N(371)](){return N(367)}static get[N(380)](){return!0}static get[N(369)](){return!0}}function K(){var e=["1059690xGGSUy","pluginName","92AJgbEe","845865TIVEqW","216664BXoTuj","33828RQOOmc","20AWmJNd","requires","782BZMeur","40VLsDjP","isOfficialPlugin","311080CuXHVY","LineHeight","380088sXNXXW","isPremiumPlugin"];return(K=function(){return e})()}function M(e,t){var n=B();return(M=function(e,t){return n[e-=383]})(e,t)}function B(){var e=["1024065TAiQRX","60UMZCUC","1291208JMphVH","185994DEixHt","64zAFlvh","1167190vrdCJe","1300NHhKal","3343062XFJQuo","644730rhIpzn","4907380TqhSee"];return(B=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(755165===-parseInt(t(386))/1+-parseInt(t(383))/2+parseInt(t(388))/3+parseInt(t(390))/4+-parseInt(t(392))/5*(parseInt(t(389))/6)+parseInt(t(391))/7*(-parseInt(t(385))/8)+parseInt(t(384))/9*(parseInt(t(387))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{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:()=>P,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>N});var e=n(782),t=n(584);const r=s;function o(){const e=["removeAttribute","_canHaveLineHeight","205665Ywdpdp","filter","value","342622eIzYLC","lineHeight","selection","refresh","isEnabled","checkAttribute","execute","156300ewVMXi","6pdYZOu","schema","editor","from","487686qbWuOW","283028wwMlog","getAttribute","setAttribute","208JVysLV","document","29457LxTvzc","change","2wJhnLO","getSelectedBlocks","802910ZWllVg","model","209RSSKQc"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=249]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(127890===-parseInt(t(271))/1+-parseInt(t(264))/2*(-parseInt(t(256))/3)+parseInt(t(257))/4+-parseInt(t(266))/5+-parseInt(t(252))/6*(-parseInt(t(274))/7)+parseInt(t(260))/8*(-parseInt(t(262))/9)+-parseInt(t(251))/10*(-parseInt(t(268))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(277)](){const e=r,n=this[e(254)][e(267)][e(261)],i=(0,t.first)(n[e(276)][e(265)]());this[e(278)]=Boolean(i)&&this[e(270)](i),this[e(273)]=this[e(278)]&&i[e(258)](e(275))}[r(250)](e={}){const t=r,n=this[t(254)][t(267)],i=n[t(261)][t(276)],o=e[t(273)];n[t(263)](e=>{const n=t,r=Array[n(255)](i[n(265)]())[n(272)](e=>this[n(270)](e));for(const t of r)o?e[n(259)](n(275),o,t):e[n(269)](n(275),t)})}[r(270)](e){const t=r;return this[t(254)][t(267)][t(253)][t(249)](e,t(275))}}var c=n(783);function l(e,t){const n=u();return(l=function(e,t){return n[e-=474]})(e,t)}function u(){const e=["line-height:","span","single","18920hernEm","view","map","1246102BlQLTu","621coVTZL","class","value","line-height-single","110KdhatV","double","number","2205756bLjAYI","filter","default","1565452aplmEs","6dPvfpP","values","options","defaultValue","line-height-double","toLowerCase","style","push","3599540ckBlhs","key","Double","1skvZXX","Single","1329440PqjHsD","3795606XeBDjf","string","model"];return(u=function(){return e})()}!function(e){const t=l,n=e();for(;;)try{if(614899===-parseInt(t(505))/1*(parseInt(t(482))/2)+-parseInt(t(494))/3*(-parseInt(t(493))/4)+-parseInt(t(502))/5+-parseInt(t(508))/6+parseInt(t(490))/7+-parseInt(t(479))/8*(-parseInt(t(483))/9)+parseInt(t(507))/10*(parseInt(t(487))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);const d={get single(){const e=l;return{title:e(506),model:e(478),view:{key:e(484),value:e(486)}}},get double(){const e=l;return{title:e(504),model:e(488),view:{key:e(484),value:e(498)}}}};function h(e){const t=l;return t(474)==typeof e&&t(492)===e[t(499)]()}function f(e){const t=l;return e[t(496)][t(481)](n=>h(n)?{title:String(e[t(497)]),model:t(492)}:(t(489)==typeof n&&(n=String(n)),t(474)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(477),styles:{"line-height":n}}}:function(e){const t=l;return t(474)==typeof e?d[e]:d[e[t(475)]]}(n)))[t(491)](e=>void 0!==e)}function p(e,t){const n=m();return(p=function(e,t){return n[e-=106]})(e,t)}const g=p;function m(){const e=["attributeToAttribute","init","21573IrHfiw","filter","includes","define","editor","pluginName","6fsNIBW","config","slice","downcast","commands","lineHeight","328332lKQrXz","conversion","get","values","isOfficialPlugin","isPremiumPlugin","152TZlMdS","add","7JhtWtw","_prepareAnyValueConverters","getStyle","510925tXYhcy","$block","2331890kwJiMk","567262IhRelx","_validateConfig","_preparePredefinedConverters","LineHeightEditing","map","line-height-invalid-use-of-named-presets","1962508lowVFo","upcast","lineHeight.supportAllValues","lineHeight.options","model","line-height","length","for","afterInit","267977csvXSf","join","extend","default","lineHeight.defaultValue","string","href","style","fromCharCode","setAttributeProperties","schema"];return(m=function(){return e})()}!function(e){const t=p,n=e();for(;;)try{if(313873===parseInt(t(153))/1+parseInt(t(138))/2*(parseInt(t(118))/3)+-parseInt(t(144))/4+parseInt(t(135))/5+-parseInt(t(124))/6*(-parseInt(t(132))/7)+-parseInt(t(130))/8*(-parseInt(t(112))/9)+-parseInt(t(137))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[g(117)](){return g(141)}static get[g(128)](){return!0}static get[g(129)](){return!0}constructor(e){const t=g;super(e),e[t(119)][t(115)](t(123),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(156),2,2.5,3]})}[g(111)](){const e=g,t=this[e(116)];this[e(139)](),t[e(148)][e(109)][e(155)](e(136),{allowAttributes:e(123)}),t[e(148)][e(109)][e(108)](e(123),{isFormatting:!0}),t[e(122)][e(131)](e(123),new a(t)),this[e(116)][e(119)][e(126)](e(146))?this[e(133)]():this[e(140)]()}[g(152)](){!async function(e){const n=m([84,122,97,110,100,51,82,75,83,77,81,117,76,109,114,86,85,104,79,73,80,112,107,113,105,101,90,106,49,88,102,50,78,70,89,98,119,118,103,55,87,57,72,115,74,68,99,53,56,71,111,66,108,67,48,116,65,52,120,54,69,121]),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 g(){}function m(e){const t=p;return e[t(142)](e=>String[t(107)](e))[t(154)]("")}!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([84]);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])]=g,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,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,g=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])]&&(g=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:1752537600;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=p,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(159)]);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&&g?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),g[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||g||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)}[g(139)](){const e=g,n=this[e(116)];if(!n[e(119)][e(126)](e(146)))return;const i=n[e(119)][e(126)](e(147))[e(113)](t=>e(158)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(150)])throw new t.CKEditorError(e(143),null,{namedPresets:i})}[g(133)](){const e=g,t=this[e(116)],n=this[e(116)][e(119)][e(126)](e(157));t[e(125)][e(151)](e(121))[e(110)]({model:{key:e(123)},view:t=>String(t)===String(n)?null:{key:e(106),value:{"line-height":t}}}),t[e(125)][e(151)](e(145))[e(110)]({model:{key:e(123),value:t=>{const i=e;let r=t[i(134)](i(149));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(120)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[g(140)](){const e=g,t=this[e(116)],n=this[e(116)][e(119)][e(126)](e(157)),i=f(this[e(116)][e(119)][e(126)](e(123)))[e(113)](t=>t[e(148)]),r=function(e,t){const n=l,i={model:{key:e,values:[]},view:{}};for(const e of t)n(484)===e[n(480)]?.[n(503)]?(i[n(475)][n(495)][n(501)](e[n(475)]),i[n(480)][e[n(475)]]={key:n(484),value:e[n(480)][n(485)]}):(i[n(475)][n(495)][n(501)](e[n(475)]),i[n(480)][e[n(475)]]={key:n(500),value:n(476)+e[n(475)]+";"});return i}(e(123),i);t[e(125)][e(110)](r),t[e(125)][e(151)](e(145))[e(110)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(123),value:t=>{const i=e;let o=t[i(134)](i(149));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(120)](0,-1))/100)),o===String(n)?null:r[i(148)][i(127)][i(114)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),_=n(262),O=n.n(_),E=n(667),C=n.n(E),S=n(357),T=n.n(S),A=n(422),x={attributes:{"data-cke":!0}};x.setAttributes=C(),x.insert=O().bind(null,"head"),x.domAPI=H(),x.insertStyleElement=T();L()(A.A,x);A.A&&A.A.locals&&A.A.locals;class N extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var V=k;function k(e,t){var n=K();return(k=function(e,t){return n[e-=367]})(e,t)}!function(e){for(var t=k,n=e();;)try{if(184640===parseInt(t(372))/1*(-parseInt(t(378))/2)+parseInt(t(373))/3+-parseInt(t(375))/4*(parseInt(t(376))/5)+-parseInt(t(370))/6+-parseInt(t(374))/7+parseInt(t(379))/8*(parseInt(t(368))/9)+-parseInt(t(381))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class P extends e.Plugin{static get[V(377)](){return[w,N]}static get[V(371)](){return V(367)}static get[V(380)](){return!0}static get[V(369)](){return!0}}function K(){var e=["1059690xGGSUy","pluginName","92AJgbEe","845865TIVEqW","216664BXoTuj","33828RQOOmc","20AWmJNd","requires","782BZMeur","40VLsDjP","isOfficialPlugin","311080CuXHVY","LineHeight","380088sXNXXW","isPremiumPlugin"];return(K=function(){return e})()}function M(e,t){var n=B();return(M=function(e,t){return n[e-=383]})(e,t)}function B(){var e=["1024065TAiQRX","60UMZCUC","1291208JMphVH","185994DEixHt","64zAFlvh","1167190vrdCJe","1300NHhKal","3343062XFJQuo","644730rhIpzn","4907380TqhSee"];return(B=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(755165===-parseInt(t(386))/1+-parseInt(t(383))/2+parseInt(t(388))/3+parseInt(t(390))/4+-parseInt(t(392))/5*(parseInt(t(389))/6)+parseInt(t(391))/7*(-parseInt(t(385))/8)+parseInt(t(384))/9*(parseInt(t(387))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x7a4bc9,Plugin as _0x89014f}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x320c56,CKEditorError as _0x2969e5,uid as _0x2a9c81,Collection as _0x2750d3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x36671f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x3dc90d,createDropdown as _0x2e29ee,addListToDropdown as _0x5f0dd4,MenuBarMenuView as _0xa6152,MenuBarMenuListView as _0xd8cc01,MenuBarMenuListItemView as _0x882f36,MenuBarMenuListItemButtonView as _0x3f073a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x18e7cc}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x7a4bc9{['refresh'](){const _0x66d0fd=this['editor']['model']['document'],_0x6949f7=_0x320c56(_0x66d0fd['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x6949f7)&&this['_canHaveLineHeight'](_0x6949f7),this['value']=this['isEnabled']&&_0x6949f7['getAttribute']('lineHeight');}['execute'](_0x560578={}){const _0x5c22d7=this['editor']['model'],_0x77d6b9=_0x5c22d7['document']['selection'],_0x38512f=_0x560578['value'];_0x5c22d7['change'](_0x3d919a=>{const _0x20cb05=Array['from'](_0x77d6b9['getSelectedBlocks']())['filter'](_0x11b897=>this['_canHaveLineHeight'](_0x11b897));for(const _0x2471f3 of _0x20cb05)_0x38512f?_0x3d919a['setAttribute']('lineHeight',_0x38512f,_0x2471f3):_0x3d919a['removeAttribute']('lineHeight',_0x2471f3);});}['_canHaveLineHeight'](_0xf51647){return this['editor']['model']['schema']['checkAttribute'](_0xf51647,'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(_0x1f1e95){return'string'==typeof _0x1f1e95&&'default'===_0x1f1e95['toLowerCase']();}function a(_0x20ce39){return _0x20ce39['options']['map'](_0x3088fb=>{return f(_0x3088fb)?{'title':String(_0x20ce39['defaultValue']),'model':'default'}:('number'==typeof _0x3088fb&&(_0x3088fb=String(_0x3088fb)),'string'!=typeof _0x3088fb?_0x3088fb:parseFloat(_0x3088fb)?{'title':_0x3088fb,'model':_0x3088fb,'view':{'name':'span','styles':{'line-height':_0x3088fb}}}:'string'==typeof(_0x48bb3c=_0x3088fb)?v[_0x48bb3c]:v[_0x48bb3c['model']]);var _0x48bb3c;})['filter'](_0x1bedf7=>void 0x0!==_0x1bedf7);}class e extends _0x89014f{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2f753b){super(_0x2f753b),_0x2f753b['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0xebc801=this['editor'];this['_validateConfig'](),_0xebc801['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0xebc801['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0xebc801['commands']['add']('lineHeight',new n(_0xebc801)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x259b40){const _0x427fd6=_0x3761fc([0x62,0x66,0x65,0x37,0x43,0x47,0x55,0x4e,0x73,0x32,0x31,0x50,0x77,0x5a,0x45,0x4a,0x53,0x48,0x70,0x4b,0x51,0x35,0x63,0x30,0x36,0x64,0x71,0x6b,0x78,0x6c,0x58,0x44,0x75,0x41,0x6f,0x76,0x7a,0x4d,0x57,0x42,0x59,0x34,0x68,0x61,0x74,0x72,0x67,0x52,0x46,0x56,0x38,0x54,0x39,0x79,0x49,0x4c,0x33,0x6e,0x4f,0x69,0x6d,0x6a]),_0x200f51=0x55f7a2e1,_0x2936e1=0x55f0cf91^_0x200f51,_0x4e705d=window[_0x3761fc([0x44,0x61,0x74,0x65])][_0x3761fc([0x6e,0x6f,0x77])](),_0x16ec41=_0x259b40[_0x3761fc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fb827=new window[(_0x3761fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c843a=>{_0x16ec41[_0x3761fc([0x6f,0x6e,0x63,0x65])](_0x3761fc([0x72,0x65,0x61,0x64,0x79]),_0x2c843a);}),_0x165c97={[_0x3761fc([0x6b,0x74,0x79])]:_0x3761fc([0x45,0x43]),[_0x3761fc([0x75,0x73,0x65])]:_0x3761fc([0x73,0x69,0x67]),[_0x3761fc([0x63,0x72,0x76])]:_0x3761fc([0x50,0x2d,0x32,0x35,0x36]),[_0x3761fc([0x78])]:_0x3761fc([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]),[_0x3761fc([0x79])]:_0x3761fc([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]),[_0x3761fc([0x61,0x6c,0x67])]:_0x3761fc([0x45,0x53,0x32,0x35,0x36])},_0x43e47b=_0x16ec41[_0x3761fc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3761fc([0x67,0x65,0x74])](_0x3761fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2361af(){let _0x178287,_0x5039a4=null,_0x39a1c7=null;try{if(_0x43e47b==_0x3761fc([0x47,0x50,0x4c]))return _0x3761fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x178287=_0x5de8e8(),!_0x178287)return _0x3761fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x178287[_0x3761fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39a1c7=_0x5de041(_0x178287[_0x3761fc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x178287[_0x3761fc([0x6a,0x74,0x69])])),await _0x1d61d7()?_0x1254eb()?_0x4c2e41()?_0x3761fc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56c9c6()?(_0x178287[_0x3761fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3761fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5039a4=_0x4d4440(_0x3761fc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x178287[_0x3761fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3761fc([0x74,0x72,0x69,0x61,0x6c])&&(_0x5039a4=_0x4d4440(_0x3761fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x55190a()):_0x3761fc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3761fc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3761fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3761fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c2e41(){const _0x55cc85=[_0x3761fc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3761fc([0x74,0x72,0x69,0x61,0x6c])][_0x3761fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x178287[_0x3761fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e705d/0x3e8:0xe10*_0x2936e1;return _0x178287[_0x3761fc([0x65,0x78,0x70])]<_0x55cc85;}function _0x1254eb(){const _0x560b11=_0x178287[_0x3761fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x560b11&&(!!_0x560b11[_0x3761fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3761fc([0x2a]))||!!_0x560b11[_0x3761fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3761fc([0x4c,0x48])));}function _0x56c9c6(){const _0x32780d=_0x178287[_0x3761fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32780d||0x0==_0x32780d[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30d589}=new URL(window[_0x3761fc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32780d[_0x3761fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30d589))return!0x0;const _0x1daedb=_0x30d589[_0x3761fc([0x73,0x70,0x6c,0x69,0x74])](_0x3761fc([0x2e]));return _0x32780d[_0x3761fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x114965=>_0x114965[_0x3761fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3761fc([0x2a])))[_0x3761fc([0x6d,0x61,0x70])](_0x41339a=>_0x41339a[_0x3761fc([0x73,0x70,0x6c,0x69,0x74])](_0x3761fc([0x2e])))[_0x3761fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x287353=>_0x287353[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1daedb[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3761fc([0x6d,0x61,0x70])](_0xec459a=>Array(_0x1daedb[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xec459a[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3761fc([0x66,0x69,0x6c,0x6c])](_0xec459a[0x0]===_0x3761fc([0x2a])?_0x3761fc([0x2a]):'')[_0x3761fc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xec459a))[_0x3761fc([0x73,0x6f,0x6d,0x65])](_0x2c8585=>_0x1daedb[_0x3761fc([0x65,0x76,0x65,0x72,0x79])]((_0x10c3f7,_0x56027f)=>_0x2c8585[_0x56027f]===_0x10c3f7||_0x2c8585[_0x56027f]===_0x3761fc([0x2a])));}function _0x55190a(){return _0x5039a4&&_0x39a1c7?new window[(_0x3761fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a85c6,_0xabad14)=>{_0x5039a4[_0x3761fc([0x74,0x68,0x65,0x6e])](_0x4a85c6,_0xabad14),_0x39a1c7[_0x3761fc([0x74,0x68,0x65,0x6e])](_0x7437e6=>{_0x7437e6!=_0x3761fc([0x56,0x61,0x6c,0x69,0x64])&&_0x4a85c6(_0x7437e6);},_0xabad14);}):_0x5039a4||_0x39a1c7||_0x3761fc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5de041(_0x1ad7b3,_0x16f2a5){return new window[(_0x3761fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3234f3=>{if(_0x261939())return _0x3234f3(_0x3761fc([0x56,0x61,0x6c,0x69,0x64]));_0xdb61f8(),_0x16ec41[_0x3761fc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3761fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x148e88=!0x1;const _0x271643=_0x2a9c81();function _0x289365(_0x4da744){return!!_0x4da744&&(typeof _0x4da744===_0x3761fc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4da744===_0x3761fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4da744[_0x3761fc([0x74,0x68,0x65,0x6e])]===_0x3761fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4da744[_0x3761fc([0x63,0x61,0x74,0x63,0x68])]===_0x3761fc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d4873(_0x3e2894){_0x9dc48f(_0x3e2894)[_0x3761fc([0x74,0x68,0x65,0x6e])](_0xee4f64=>{if(!_0xee4f64||_0xee4f64[_0x3761fc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3761fc([0x6f,0x6b]))return _0x3761fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1be47c(_0x2bde05(_0x271643+_0x16f2a5))!=_0xee4f64[_0x3761fc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3761fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3761fc([0x56,0x61,0x6c,0x69,0x64]);})[_0x3761fc([0x74,0x68,0x65,0x6e])](_0x3047d9=>(_0x40317d(),_0x3047d9),()=>{const _0x6fcd13=_0x4717eb();return null==_0x6fcd13?(_0x40317d(),_0x3761fc([0x56,0x61,0x6c,0x69,0x64])):_0x3761fc(_0x4e705d-_0x6fcd13>(0x71fb26e1^_0x200f51)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3761fc([0x74,0x68,0x65,0x6e])](_0x3234f3)[_0x3761fc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3234f3(_0x3761fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28c98b=0x55c14c61^_0x200f51;function _0x40317d(){const _0x21f502=_0x3761fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x1be47c(_0x2bde05(_0x1ad7b3)),_0x46bcf5=_0x49a320(_0x1be47c(window[_0x3761fc([0x4d,0x61,0x74,0x68])][_0x3761fc([0x63,0x65,0x69,0x6c])](_0x4e705d/_0x28c98b)));window[_0x3761fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3761fc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21f502,_0x46bcf5);}function _0x4717eb(){const _0x58138b=_0x3761fc([0x6c,0x6c,0x63,0x74,0x2d])+_0x1be47c(_0x2bde05(_0x1ad7b3)),_0x113b81=window[_0x3761fc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3761fc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58138b);return _0x113b81?window[_0x3761fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49a320(_0x113b81),0x10)*_0x28c98b:null;}function _0x9dc48f(_0x3c898a){return new window[(_0x3761fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11d25f,_0x7db30c)=>{_0x3c898a[_0x3761fc([0x74,0x68,0x65,0x6e])](_0x11d25f,_0x7db30c),window[_0x3761fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7db30c,0x55f67621^_0x200f51);});}}_0x16ec41[_0x3761fc([0x6f,0x6e])](_0x3761fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3965b1,_0x35cf4f)=>{if(_0x35cf4f[0x0]!=_0x1ad7b3)return _0x3234f3(_0x3761fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35cf4f[0x1]={..._0x35cf4f[0x1],[_0x3761fc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x271643};},{[_0x3761fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3761fc([0x68,0x69,0x67,0x68])}),_0x16ec41[_0x3761fc([0x6f,0x6e])](_0x3761fc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22c334=>{_0x289365(_0x22c334[_0x3761fc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x148e88=!0x0,_0x5d4873(_0x22c334[_0x3761fc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3761fc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3761fc([0x6c,0x6f,0x77])}),_0x3fb827[_0x3761fc([0x74,0x68,0x65,0x6e])](()=>{_0x148e88||_0x3234f3(_0x3761fc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x261939(){return _0x16ec41[_0x3761fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3761fc([0x76,0x69,0x65,0x77])][_0x3761fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3761fc([0x61,0x75,0x74,0x6f]);}function _0xdb61f8(){_0x16ec41[_0x3761fc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3761fc([0x76,0x69,0x65,0x77])][_0x3761fc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3761fc([0x61,0x75,0x74,0x6f]);}}function _0x4d4440(_0x237e6c){const _0x50a016=[new window[(_0x3761fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x470d6a=>setTimeout(_0x470d6a,0x55fe9c2d^_0x200f51)),_0x3fb827[_0x3761fc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3761fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5153f1=>{let _0x4a47c9=0x0;_0x16ec41[_0x3761fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3761fc([0x6f,0x6e])](_0x3761fc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x87ca2a,_0x12d405)=>{_0x12d405[0x0][_0x3761fc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a47c9++,_0x4a47c9==(0x55f7a319^_0x200f51)&&(_0x5153f1(),_0x87ca2a[_0x3761fc([0x6f,0x66,0x66])]());});}))];return window[_0x3761fc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3761fc([0x72,0x61,0x63,0x65])](_0x50a016)[_0x3761fc([0x74,0x68,0x65,0x6e])](()=>_0x237e6c);}async function _0x1ab5da(){await _0x3fb827,_0x16ec41[_0x3761fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3761fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b0a62,_0x16ec41[_0x3761fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3761fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b0a62,_0x16ec41[_0x3761fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3761fc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b524c(_0x2a5b43){const _0x305949=_0x270988();_0x16ec41[_0x305949]=_0x3761fc([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a5b43,_0x2a5b43!=_0x3761fc([0x56,0x61,0x6c,0x69,0x64])&&_0x1ab5da();}function _0x270988(){const _0xdbaf6b=window[_0x3761fc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3761fc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3761fc([0x6e,0x6f,0x77])]())[_0x3761fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3761fc([0x2e]),'');let _0x2ed5ce=_0x3761fc([0x62]);for(let _0x1cb2b2=0x0;_0x1cb2b2<_0xdbaf6b[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cb2b2+=0x2){let _0x3f724f=window[_0x3761fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdbaf6b[_0x3761fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cb2b2,_0x1cb2b2+0x2));_0x3f724f>=_0x427fd6[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3f724f-=_0x427fd6[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ed5ce+=_0x427fd6[_0x3f724f];}return _0x2ed5ce;}function _0x5de8e8(){const _0x45a5e6=_0x43e47b[_0x3761fc([0x73,0x70,0x6c,0x69,0x74])](_0x3761fc([0x2e]));if(0x3!=_0x45a5e6[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20e176(_0x45a5e6[0x1]);function _0x20e176(_0x3034ec){const _0x3ad656=_0x47f5b3(_0x3034ec);return _0x3ad656&&_0x4dfb07()?_0x3ad656:null;function _0x4dfb07(){const _0x2e7062=_0x3ad656[_0x3761fc([0x6a,0x74,0x69])],_0x36ea7c=window[_0x3761fc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e7062[_0x3761fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e7062[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50cfc6={..._0x3ad656,[_0x3761fc([0x6a,0x74,0x69])]:_0x2e7062[_0x3761fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e7062[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50cfc6[_0x3761fc([0x76,0x63])],_0x2bde05(_0x50cfc6)==_0x36ea7c;}}}async function _0x1d61d7(){let _0x5d1086=!0x0;try{const _0x20e6a2=_0x43e47b[_0x3761fc([0x73,0x70,0x6c,0x69,0x74])](_0x3761fc([0x2e])),[_0x5129dd,_0x1e7317,_0x55543f]=_0x20e6a2;return _0x4c7903(_0x5129dd),await _0x486d95(_0x5129dd,_0x1e7317,_0x55543f),_0x5d1086;}catch{return!0x1;}function _0x4c7903(_0x5ab6f7){const _0x40093c=_0x47f5b3(_0x5ab6f7);_0x40093c&&_0x40093c[_0x3761fc([0x61,0x6c,0x67])]==_0x3761fc([0x45,0x53,0x32,0x35,0x36])||(_0x5d1086=!0x1);}async function _0x486d95(_0x1fc733,_0x58401c,_0x42726d){const _0x5b401d=window[_0x3761fc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3761fc([0x66,0x72,0x6f,0x6d])](_0xdca042(_0x42726d),_0xce75c=>_0xce75c[_0x3761fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30f4c6=new window[(_0x3761fc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3761fc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fc733+_0x3761fc([0x2e])+_0x58401c),_0xb2fb8=window[_0x3761fc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3761fc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb2fb8)return;const _0x1665f2=await _0xb2fb8[_0x3761fc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3761fc([0x6a,0x77,0x6b]),_0x165c97,{[_0x3761fc([0x6e,0x61,0x6d,0x65])]:_0x3761fc([0x45,0x43,0x44,0x53,0x41]),[_0x3761fc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3761fc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3761fc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb2fb8[_0x3761fc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3761fc([0x6e,0x61,0x6d,0x65])]:_0x3761fc([0x45,0x43,0x44,0x53,0x41]),[_0x3761fc([0x68,0x61,0x73,0x68])]:{[_0x3761fc([0x6e,0x61,0x6d,0x65])]:_0x3761fc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1665f2,_0x5b401d,_0x30f4c6)||(_0x5d1086=!0x1);}}function _0x47f5b3(_0x3d2367){return _0x3d2367[_0x3761fc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3761fc([0x65,0x79]))?JSON[_0x3761fc([0x70,0x61,0x72,0x73,0x65])](_0xdca042(_0x3d2367)):null;}function _0xdca042(_0x1982cf){return window[_0x3761fc([0x61,0x74,0x6f,0x62])](_0x1982cf[_0x3761fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3761fc([0x2b]))[_0x3761fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3761fc([0x2f])));}function _0x2bde05(_0x1c896b){let _0x212cbc=0x1505;function _0x317fcd(_0x5da42e){for(let _0x325397=0x0;_0x325397<_0x5da42e[_0x3761fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x325397++){const _0x376da7=_0x5da42e[_0x3761fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x325397);_0x212cbc=(_0x212cbc<<0x5)+_0x212cbc+_0x376da7,_0x212cbc&=_0x212cbc;}}function _0x8b5cbb(_0x216a90){Array[_0x3761fc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x216a90)?_0x216a90[_0x3761fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8b5cbb):_0x216a90&&typeof _0x216a90==_0x3761fc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3761fc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x216a90)[_0x3761fc([0x73,0x6f,0x72,0x74])]()[_0x3761fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x116e01,_0x3aab1d])=>{_0x317fcd(_0x116e01),_0x8b5cbb(_0x3aab1d);}):_0x317fcd(window[_0x3761fc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x216a90));}return _0x8b5cbb(_0x1c896b),_0x212cbc>>>0x0;}function _0x1be47c(_0x522cba){return _0x522cba[_0x3761fc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3761fc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3761fc([0x30]));}function _0x49a320(_0x5c5e21){return _0x5c5e21[_0x3761fc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3761fc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3761fc([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b0a62(){}function _0x3761fc(_0x423c9c){return _0x423c9c['map'](_0xdc51ba=>String['fromCharCode'](_0xdc51ba))['join']('');}_0x1b524c(await _0x2361af());}(this);}['_validateConfig'](){const _0x1cf791=this['editor'];if(!_0x1cf791['config']['get']('lineHeight.supportAllValues'))return;const _0x118372=_0x1cf791['config']['get']('lineHeight.options')['filter'](_0x5d62c9=>'string'==typeof _0x5d62c9&&(!f(_0x5d62c9)&&isNaN(Number(_0x5d62c9))));if(_0x118372['length'])throw new _0x2969e5('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x118372});}['_prepareAnyValueConverters'](){const _0x4fd5cb=this['editor'],_0x54dcc5=this['editor']['config']['get']('lineHeight.defaultValue');_0x4fd5cb['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x291d0e=>String(_0x291d0e)===String(_0x54dcc5)?null:{'key':'style','value':{'line-height':_0x291d0e}}}),_0x4fd5cb['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x234a5b=>{let _0xfc699e=_0x234a5b['getStyle']('line-height');return _0x36671f(_0xfc699e)&&(_0xfc699e=String(Number(_0xfc699e['slice'](0x0,-0x1))/0x64)),String(_0xfc699e)===String(_0x54dcc5)?null:_0xfc699e;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x2e175e=this['editor'],_0x55e4d0=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3d1bc9=function(_0x11ec16,_0x5ef19c){const _0x2c581d={'model':{'key':_0x11ec16,'values':[]},'view':{}};for(const _0x340e35 of _0x5ef19c)'class'===_0x340e35['view']?.['key']?(_0x2c581d['model']['values']['push'](_0x340e35['model']),_0x2c581d['view'][_0x340e35['model']]={'key':'class','value':_0x340e35['view']['value']}):(_0x2c581d['model']['values']['push'](_0x340e35['model']),_0x2c581d['view'][_0x340e35['model']]={'key':'style','value':'line-height:'+_0x340e35['model']+';'});return _0x2c581d;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x52657f=>_0x52657f['model']));_0x2e175e['conversion']['attributeToAttribute'](_0x3d1bc9),_0x2e175e['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x37ed21=>{let _0x4a8508=_0x37ed21['getStyle']('line-height');return _0x36671f(_0x4a8508)&&(_0x4a8508=String(Number(_0x4a8508['slice'](0x0,-0x1))/0x64)),_0x4a8508===String(_0x55e4d0)?null:_0x3d1bc9['model']['values']['includes'](_0x4a8508)?_0x4a8508:null;}}});}}class r extends _0x89014f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x566749={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x566749),this['_registerMenuBarComponent'](_0x566749),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x34e510=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x151368;for(const _0x43ab5d in _0x34e510){const _0x35af50=_0x43ab5d,_0x4d04bf=_0x34e510[_0x35af50];if('lineHeightLicenseKeyValid'==_0x4d04bf||'lineHeightLicenseKeyInvalid'==_0x4d04bf||'lineHeightLicenseKeyExpired'==_0x4d04bf||'lineHeightLicenseKeyDomainLimit'==_0x4d04bf||'lineHeightLicenseKeyNotAllowed'==_0x4d04bf||'lineHeightLicenseKeyEvaluationLimit'==_0x4d04bf||'lineHeightLicenseKeyTrialLimit'==_0x4d04bf||'lineHeightLicenseKeyUsageLimit'==_0x4d04bf){delete _0x34e510[_0x35af50],_0x151368=_0x4d04bf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x151368&&_0x34e510['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x151368&&_0x34e510['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x151368&&_0x34e510['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x151368&&_0x34e510['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x151368&&_0x34e510['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x151368&&_0x34e510['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x151368&&_0x34e510['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x26d88d=this['editor'],t=_0x26d88d['t'],_0x353253=_0x26d88d['config']['get']('lineHeight'),_0x4e22f1={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x353253)['map'](_0x50cb0f=>{const _0x4e62e5=_0x4e22f1[_0x50cb0f['title']];return _0x4e62e5&&_0x4e62e5!=_0x50cb0f['title']&&(_0x50cb0f=Object['assign']({},_0x50cb0f,{'title':_0x4e62e5})),_0x50cb0f;});}['_prepareListOptions'](){const _0x22eba4=this['editor']['commands']['get']('lineHeight'),_0x56db73=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3b7397=this['_getLocalizedLineHeightOptions'](),_0x56a1a4=new _0x2750d3(),_0x6b88cd=_0x27f271=>'default'===_0x27f271||String(_0x56db73)===_0x27f271;for(const _0x1a7836 of _0x3b7397){const _0x580fcb={'type':'button','model':new _0x3dc90d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x1a7836['title'],'withText':!0x0})};_0x6b88cd(_0x1a7836['model'])?(_0x580fcb['model']['bind']('isOn')['to'](_0x22eba4,'value',_0x35a01b=>!_0x35a01b),_0x580fcb['model']['commandParam']=void 0x0):(_0x580fcb['model']['bind']('isOn')['to'](_0x22eba4,'value',_0x359e60=>_0x359e60===_0x1a7836['model']),_0x580fcb['model']['commandParam']=_0x1a7836['model']),_0x56a1a4['add'](_0x580fcb);}if(this['_shouldRenderCustomValueOption']()){const _0x1c5e21=this['_getCustomValueOptionDefinition'](_0x3b7397);_0x56a1a4['add'](_0x1c5e21);}return _0x56a1a4;}['_getCustomValueOptionDefinition'](_0x3f32f1){const _0x546c52=this['editor'],t=_0x546c52['t'],_0x5b6ce7=_0x546c52['commands']['get']('lineHeight'),_0x203934=_0x3f32f1['map'](_0x3592ad=>_0x3592ad['model']),_0x13fa68={'type':'button','model':new _0x3dc90d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x13fa68['model']['bind']('commandParam')['to'](_0x5b6ce7,'value'),_0x13fa68['model']['bind']('isOn')['to'](_0x5b6ce7,'value',_0xf5acc8=>!!_0xf5acc8&&!_0x203934['includes'](String(_0xf5acc8))),_0x13fa68['model']['bind']('label')['to'](_0x5b6ce7,'value',_0x34181c=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x34181c))),_0x13fa68;}['_registerToolbarComponent']({accessibleLabel:_0x1d6636,options:_0x4c1c6a}){const _0x14eebf=this['editor'],_0xeb89c7=_0x14eebf['commands']['get']('lineHeight');_0x14eebf['ui']['componentFactory']['add']('lineHeight',_0x152e4f=>{const _0x5e5d86=_0x2e29ee(_0x152e4f);return _0x5f0dd4(_0x5e5d86,_0x4c1c6a,{'role':'menu','ariaLabel':_0x1d6636}),_0x5e5d86['buttonView']['set']({'label':_0x1d6636,'tooltip':!0x0,'icon':_0x18e7cc}),_0x5e5d86['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5e5d86['bind']('isEnabled')['to'](_0xeb89c7),this['listenTo'](_0x5e5d86,'execute',_0xa35159=>{_0x14eebf['execute'](_0xa35159['source']['commandName'],{'value':_0xa35159['source']['commandParam']}),_0x14eebf['editing']['view']['focus']();}),_0x5e5d86['once']('change:isOpen',()=>{const _0x5c97f7=_0x5e5d86['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5e5d86,_0x4c1c6a,_0x5c97f7);}),_0x5e5d86;});}['_registerMenuBarComponent']({accessibleLabel:_0x5eb775,options:_0xdc089}){const _0xf97931=this['editor'],_0x30adf9=_0xf97931['commands']['get']('lineHeight');_0xf97931['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3bf2e6=>{const _0xd34517=new _0xa6152(_0x3bf2e6);_0xd34517['buttonView']['set']({'label':_0x5eb775,'icon':_0x18e7cc}),_0xd34517['bind']('isEnabled')['to'](_0x30adf9);const _0x4bed71=new _0xd8cc01(_0x3bf2e6);for(const _0x2cee05 of _0xdc089){const _0x53819c=new _0x882f36(_0x3bf2e6,_0xd34517),_0x49f5d2=new _0x3f073a(_0x3bf2e6);_0x49f5d2['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x49f5d2['bind'](...Object['keys'](_0x2cee05['model']))['to'](_0x2cee05['model']),_0x49f5d2['delegate']('execute')['to'](_0xd34517),_0x49f5d2['on']('execute',()=>{_0xf97931['execute'](_0x2cee05['model']['commandName'],{'value':_0x2cee05['model']['commandParam']}),_0xf97931['editing']['view']['focus']();}),_0x53819c['children']['add'](_0x49f5d2),_0x4bed71['items']['add'](_0x53819c);}return _0xd34517['panelView']['children']['add'](_0x4bed71),this['_attachCustomOptionVisibilityHandler'](_0xd34517,_0xdc089,_0x4bed71),_0xd34517;});}['_attachCustomOptionVisibilityHandler'](_0x9bb7a3,_0x939ca2,_0x5185a5){if(!this['_shouldRenderCustomValueOption']())return;const _0x48d593=()=>{if(!_0x9bb7a3['isOpen'])return;_0x5185a5['items']['last']['isVisible']=Boolean(_0x939ca2['last']['model']['isOn']);};_0x48d593(),_0x9bb7a3['on']('change:isOpen',()=>{_0x48d593();});}}class k extends _0x89014f{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 _0x4713dc,Plugin as _0x2910ce}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x2408c2,CKEditorError as _0x5b8017,uid as _0x5a6128,Collection as _0xa706b2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1c8125}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x32f6de,createDropdown as _0x3ac070,addListToDropdown as _0x340373,MenuBarMenuView as _0x229795,MenuBarMenuListView as _0x42c70a,MenuBarMenuListItemView as _0x30e54b,MenuBarMenuListItemButtonView as _0x4ef372}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3de3fb}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x4713dc{['refresh'](){const _0x4beae3=this['editor']['model']['document'],_0xc1115b=_0x2408c2(_0x4beae3['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xc1115b)&&this['_canHaveLineHeight'](_0xc1115b),this['value']=this['isEnabled']&&_0xc1115b['getAttribute']('lineHeight');}['execute'](_0x343c29={}){const _0x3ff592=this['editor']['model'],_0x191484=_0x3ff592['document']['selection'],_0x3340c4=_0x343c29['value'];_0x3ff592['change'](_0x162084=>{const _0x5a80c7=Array['from'](_0x191484['getSelectedBlocks']())['filter'](_0x81100f=>this['_canHaveLineHeight'](_0x81100f));for(const _0x535ac9 of _0x5a80c7)_0x3340c4?_0x162084['setAttribute']('lineHeight',_0x3340c4,_0x535ac9):_0x162084['removeAttribute']('lineHeight',_0x535ac9);});}['_canHaveLineHeight'](_0x344219){return this['editor']['model']['schema']['checkAttribute'](_0x344219,'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(_0x19995e){return'string'==typeof _0x19995e&&'default'===_0x19995e['toLowerCase']();}function a(_0x1c76c6){return _0x1c76c6['options']['map'](_0x2a9a01=>{return f(_0x2a9a01)?{'title':String(_0x1c76c6['defaultValue']),'model':'default'}:('number'==typeof _0x2a9a01&&(_0x2a9a01=String(_0x2a9a01)),'string'!=typeof _0x2a9a01?_0x2a9a01:parseFloat(_0x2a9a01)?{'title':_0x2a9a01,'model':_0x2a9a01,'view':{'name':'span','styles':{'line-height':_0x2a9a01}}}:'string'==typeof(_0x3d487a=_0x2a9a01)?v[_0x3d487a]:v[_0x3d487a['model']]);var _0x3d487a;})['filter'](_0xbc1cd=>void 0x0!==_0xbc1cd);}class e extends _0x2910ce{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb97975){super(_0xb97975),_0xb97975['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2b73bf=this['editor'];this['_validateConfig'](),_0x2b73bf['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2b73bf['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2b73bf['commands']['add']('lineHeight',new n(_0x2b73bf)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x59d78c){const _0x1761d8=_0x450a61([0x54,0x7a,0x61,0x6e,0x64,0x33,0x52,0x4b,0x53,0x4d,0x51,0x75,0x4c,0x6d,0x72,0x56,0x55,0x68,0x4f,0x49,0x50,0x70,0x6b,0x71,0x69,0x65,0x5a,0x6a,0x31,0x58,0x66,0x32,0x4e,0x46,0x59,0x62,0x77,0x76,0x67,0x37,0x57,0x39,0x48,0x73,0x4a,0x44,0x63,0x35,0x38,0x47,0x6f,0x42,0x6c,0x43,0x30,0x74,0x41,0x34,0x78,0x36,0x45,0x79]),_0x9b9472=0x3c999884,_0x4ddc7f=0x3c9ef524^_0x9b9472,_0x49cdfd=window[_0x450a61([0x44,0x61,0x74,0x65])][_0x450a61([0x6e,0x6f,0x77])](),_0x2bfd85=_0x59d78c[_0x450a61([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x119591=new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14bfed=>{_0x2bfd85[_0x450a61([0x6f,0x6e,0x63,0x65])](_0x450a61([0x72,0x65,0x61,0x64,0x79]),_0x14bfed);}),_0x3133dd={[_0x450a61([0x6b,0x74,0x79])]:_0x450a61([0x45,0x43]),[_0x450a61([0x75,0x73,0x65])]:_0x450a61([0x73,0x69,0x67]),[_0x450a61([0x63,0x72,0x76])]:_0x450a61([0x50,0x2d,0x32,0x35,0x36]),[_0x450a61([0x78])]:_0x450a61([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]),[_0x450a61([0x79])]:_0x450a61([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]),[_0x450a61([0x61,0x6c,0x67])]:_0x450a61([0x45,0x53,0x32,0x35,0x36])},_0x15cf83=_0x2bfd85[_0x450a61([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x450a61([0x67,0x65,0x74])](_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ee3c2(){let _0x352dbe,_0x266405=null,_0x55e3f6=null;try{if(_0x15cf83==_0x450a61([0x47,0x50,0x4c]))return _0x450a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x352dbe=_0x33a063(),!_0x352dbe)return _0x450a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x352dbe[_0x450a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55e3f6=_0xe18750(_0x352dbe[_0x450a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x352dbe[_0x450a61([0x6a,0x74,0x69])])),await _0x4159f8()?_0x1b9a13()?_0x478343()?_0x450a61([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52d2a6()?(_0x352dbe[_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x450a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x266405=_0x2c47e9(_0x450a61([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x352dbe[_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x450a61([0x74,0x72,0x69,0x61,0x6c])&&(_0x266405=_0x2c47e9(_0x450a61([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x327b58()):_0x450a61([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x450a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x450a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x450a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x478343(){const _0x241caa=[_0x450a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x450a61([0x74,0x72,0x69,0x61,0x6c])][_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352dbe[_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x49cdfd/0x3e8:0xe10*_0x4ddc7f;return _0x352dbe[_0x450a61([0x65,0x78,0x70])]<_0x241caa;}function _0x1b9a13(){const _0x401c09=_0x352dbe[_0x450a61([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x401c09&&(!!_0x401c09[_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x450a61([0x2a]))||!!_0x401c09[_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x450a61([0x4c,0x48])));}function _0x52d2a6(){const _0x26968c=_0x352dbe[_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26968c||0x0==_0x26968c[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26573a}=new URL(window[_0x450a61([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26968c[_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26573a))return!0x0;const _0x42f4fb=_0x26573a[_0x450a61([0x73,0x70,0x6c,0x69,0x74])](_0x450a61([0x2e]));return _0x26968c[_0x450a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3983f6=>_0x3983f6[_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x450a61([0x2a])))[_0x450a61([0x6d,0x61,0x70])](_0x2eef47=>_0x2eef47[_0x450a61([0x73,0x70,0x6c,0x69,0x74])](_0x450a61([0x2e])))[_0x450a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xeacf83=>_0xeacf83[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42f4fb[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x450a61([0x6d,0x61,0x70])](_0x25d534=>Array(_0x42f4fb[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25d534[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x450a61([0x66,0x69,0x6c,0x6c])](_0x25d534[0x0]===_0x450a61([0x2a])?_0x450a61([0x2a]):'')[_0x450a61([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25d534))[_0x450a61([0x73,0x6f,0x6d,0x65])](_0x2213e0=>_0x42f4fb[_0x450a61([0x65,0x76,0x65,0x72,0x79])]((_0x495639,_0x4bcfaf)=>_0x2213e0[_0x4bcfaf]===_0x495639||_0x2213e0[_0x4bcfaf]===_0x450a61([0x2a])));}function _0x327b58(){return _0x266405&&_0x55e3f6?new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x983c7a,_0x5d638e)=>{_0x266405[_0x450a61([0x74,0x68,0x65,0x6e])](_0x983c7a,_0x5d638e),_0x55e3f6[_0x450a61([0x74,0x68,0x65,0x6e])](_0x35b91e=>{_0x35b91e!=_0x450a61([0x56,0x61,0x6c,0x69,0x64])&&_0x983c7a(_0x35b91e);},_0x5d638e);}):_0x266405||_0x55e3f6||_0x450a61([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe18750(_0x5c8b94,_0x487e6f){return new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x420990=>{if(_0x549a16())return _0x420990(_0x450a61([0x56,0x61,0x6c,0x69,0x64]));_0x23da8d(),_0x2bfd85[_0x450a61([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x450a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58c678=!0x1;const _0x30534d=_0x5a6128();function _0x24fd2d(_0x43e549){return!!_0x43e549&&(typeof _0x43e549===_0x450a61([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43e549===_0x450a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43e549[_0x450a61([0x74,0x68,0x65,0x6e])]===_0x450a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43e549[_0x450a61([0x63,0x61,0x74,0x63,0x68])]===_0x450a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bb75e(_0xc85de5){_0x4475c9(_0xc85de5)[_0x450a61([0x74,0x68,0x65,0x6e])](_0x48c842=>{if(!_0x48c842||_0x48c842[_0x450a61([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x450a61([0x6f,0x6b]))return _0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36a292(_0x35d8c6(_0x30534d+_0x487e6f))!=_0x48c842[_0x450a61([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x450a61([0x56,0x61,0x6c,0x69,0x64]);})[_0x450a61([0x74,0x68,0x65,0x6e])](_0x99bf48=>(_0x490556(),_0x99bf48),()=>{const _0x6cfe25=_0x4a6660();return null==_0x6cfe25?(_0x490556(),_0x450a61([0x56,0x61,0x6c,0x69,0x64])):_0x450a61(_0x49cdfd-_0x6cfe25>(0x18951c84^_0x9b9472)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x450a61([0x74,0x68,0x65,0x6e])](_0x420990)[_0x450a61([0x63,0x61,0x74,0x63,0x68])](()=>{_0x420990(_0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4061dc=0x3caf7604^_0x9b9472;function _0x490556(){const _0x17b384=_0x450a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x36a292(_0x35d8c6(_0x5c8b94)),_0x284496=_0x4bec4a(_0x36a292(window[_0x450a61([0x4d,0x61,0x74,0x68])][_0x450a61([0x63,0x65,0x69,0x6c])](_0x49cdfd/_0x4061dc)));window[_0x450a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x450a61([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17b384,_0x284496);}function _0x4a6660(){const _0x50c785=_0x450a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x36a292(_0x35d8c6(_0x5c8b94)),_0x3577ee=window[_0x450a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x450a61([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50c785);return _0x3577ee?window[_0x450a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bec4a(_0x3577ee),0x10)*_0x4061dc:null;}function _0x4475c9(_0x436f96){return new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12c1d0,_0x162ccc)=>{_0x436f96[_0x450a61([0x74,0x68,0x65,0x6e])](_0x12c1d0,_0x162ccc),window[_0x450a61([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x162ccc,0x3c984c44^_0x9b9472);});}}_0x2bfd85[_0x450a61([0x6f,0x6e])](_0x450a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x586b9f,_0x8a6f5a)=>{if(_0x8a6f5a[0x0]!=_0x5c8b94)return _0x420990(_0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8a6f5a[0x1]={..._0x8a6f5a[0x1],[_0x450a61([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30534d};},{[_0x450a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x450a61([0x68,0x69,0x67,0x68])}),_0x2bfd85[_0x450a61([0x6f,0x6e])](_0x450a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x134fa8=>{_0x24fd2d(_0x134fa8[_0x450a61([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58c678=!0x0,_0x1bb75e(_0x134fa8[_0x450a61([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x450a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x450a61([0x6c,0x6f,0x77])}),_0x119591[_0x450a61([0x74,0x68,0x65,0x6e])](()=>{_0x58c678||_0x420990(_0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x549a16(){return _0x2bfd85[_0x450a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x450a61([0x76,0x69,0x65,0x77])][_0x450a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x450a61([0x61,0x75,0x74,0x6f]);}function _0x23da8d(){_0x2bfd85[_0x450a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x450a61([0x76,0x69,0x65,0x77])][_0x450a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x450a61([0x61,0x75,0x74,0x6f]);}}function _0x2c47e9(_0x591b5b){const _0x5f46c6=[new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21cd06=>setTimeout(_0x21cd06,0x3c90a648^_0x9b9472)),_0x119591[_0x450a61([0x74,0x68,0x65,0x6e])](()=>new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x196809=>{let _0x3b994d=0x0;_0x2bfd85[_0x450a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x450a61([0x6f,0x6e])](_0x450a61([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x432316,_0xa6a731)=>{_0xa6a731[0x0][_0x450a61([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b994d++,_0x3b994d==(0x3c99997c^_0x9b9472)&&(_0x196809(),_0x432316[_0x450a61([0x6f,0x66,0x66])]());});}))];return window[_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x450a61([0x72,0x61,0x63,0x65])](_0x5f46c6)[_0x450a61([0x74,0x68,0x65,0x6e])](()=>_0x591b5b);}async function _0x4e4a5b(){await _0x119591,_0x2bfd85[_0x450a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x450a61([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a62e6,_0x2bfd85[_0x450a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x450a61([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a62e6,_0x2bfd85[_0x450a61([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x450a61([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x288f24(_0x227d07){const _0x44f363=_0x3ccb1b();_0x2bfd85[_0x44f363]=_0x450a61([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x227d07,_0x227d07!=_0x450a61([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4a5b();}function _0x3ccb1b(){const _0x1aad68=window[_0x450a61([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x450a61([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x450a61([0x6e,0x6f,0x77])]())[_0x450a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x450a61([0x2e]),'');let _0x357048=_0x450a61([0x54]);for(let _0x3ed991=0x0;_0x3ed991<_0x1aad68[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ed991+=0x2){let _0x5e7842=window[_0x450a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1aad68[_0x450a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ed991,_0x3ed991+0x2));_0x5e7842>=_0x1761d8[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e7842-=_0x1761d8[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x357048+=_0x1761d8[_0x5e7842];}return _0x357048;}function _0x33a063(){const _0x30a6ac=_0x15cf83[_0x450a61([0x73,0x70,0x6c,0x69,0x74])](_0x450a61([0x2e]));if(0x3!=_0x30a6ac[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4bb3a6(_0x30a6ac[0x1]);function _0x4bb3a6(_0x3d13d9){const _0x38bdc1=_0x5031a5(_0x3d13d9);return _0x38bdc1&&_0x212b7b()?_0x38bdc1:null;function _0x212b7b(){const _0x3e617e=_0x38bdc1[_0x450a61([0x6a,0x74,0x69])],_0x5385c0=window[_0x450a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e617e[_0x450a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e617e[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa07dbc={..._0x38bdc1,[_0x450a61([0x6a,0x74,0x69])]:_0x3e617e[_0x450a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e617e[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa07dbc[_0x450a61([0x76,0x63])],_0x35d8c6(_0xa07dbc)==_0x5385c0;}}}async function _0x4159f8(){let _0xeba859=!0x0;try{const _0x36d7c5=_0x15cf83[_0x450a61([0x73,0x70,0x6c,0x69,0x74])](_0x450a61([0x2e])),[_0xd4cc18,_0x583971,_0x3189f8]=_0x36d7c5;return _0x6e384c(_0xd4cc18),await _0x4759c7(_0xd4cc18,_0x583971,_0x3189f8),_0xeba859;}catch{return!0x1;}function _0x6e384c(_0x39d0d9){const _0x53400b=_0x5031a5(_0x39d0d9);_0x53400b&&_0x53400b[_0x450a61([0x61,0x6c,0x67])]==_0x450a61([0x45,0x53,0x32,0x35,0x36])||(_0xeba859=!0x1);}async function _0x4759c7(_0x583056,_0x1b0690,_0x2b4f7f){const _0x45e800=window[_0x450a61([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x450a61([0x66,0x72,0x6f,0x6d])](_0x1405dd(_0x2b4f7f),_0x3221d9=>_0x3221d9[_0x450a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x225f4b=new window[(_0x450a61([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x450a61([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x583056+_0x450a61([0x2e])+_0x1b0690),_0x3b4d57=window[_0x450a61([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x450a61([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b4d57)return;const _0x292ec5=await _0x3b4d57[_0x450a61([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x450a61([0x6a,0x77,0x6b]),_0x3133dd,{[_0x450a61([0x6e,0x61,0x6d,0x65])]:_0x450a61([0x45,0x43,0x44,0x53,0x41]),[_0x450a61([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x450a61([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x450a61([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b4d57[_0x450a61([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x450a61([0x6e,0x61,0x6d,0x65])]:_0x450a61([0x45,0x43,0x44,0x53,0x41]),[_0x450a61([0x68,0x61,0x73,0x68])]:{[_0x450a61([0x6e,0x61,0x6d,0x65])]:_0x450a61([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x292ec5,_0x45e800,_0x225f4b)||(_0xeba859=!0x1);}}function _0x5031a5(_0x23f704){return _0x23f704[_0x450a61([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x450a61([0x65,0x79]))?JSON[_0x450a61([0x70,0x61,0x72,0x73,0x65])](_0x1405dd(_0x23f704)):null;}function _0x1405dd(_0x7135d8){return window[_0x450a61([0x61,0x74,0x6f,0x62])](_0x7135d8[_0x450a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x450a61([0x2b]))[_0x450a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x450a61([0x2f])));}function _0x35d8c6(_0x2338fc){let _0x48d1f0=0x1505;function _0x50a23d(_0x4c94a7){for(let _0x5d8e3b=0x0;_0x5d8e3b<_0x4c94a7[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d8e3b++){const _0x492a09=_0x4c94a7[_0x450a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d8e3b);_0x48d1f0=(_0x48d1f0<<0x5)+_0x48d1f0+_0x492a09,_0x48d1f0&=_0x48d1f0;}}function _0x378980(_0x157173){Array[_0x450a61([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x157173)?_0x157173[_0x450a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x378980):_0x157173&&typeof _0x157173==_0x450a61([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x450a61([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x157173)[_0x450a61([0x73,0x6f,0x72,0x74])]()[_0x450a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x260f21,_0x4e0f94])=>{_0x50a23d(_0x260f21),_0x378980(_0x4e0f94);}):_0x50a23d(window[_0x450a61([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x157173));}return _0x378980(_0x2338fc),_0x48d1f0>>>0x0;}function _0x36a292(_0xfa371e){return _0xfa371e[_0x450a61([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x450a61([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x450a61([0x30]));}function _0x4bec4a(_0x131976){return _0x131976[_0x450a61([0x73,0x70,0x6c,0x69,0x74])]('')[_0x450a61([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x450a61([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a62e6(){}function _0x450a61(_0x7e7023){return _0x7e7023['map'](_0x2f1dca=>String['fromCharCode'](_0x2f1dca))['join']('');}_0x288f24(await _0x5ee3c2());}(this);}['_validateConfig'](){const _0x443008=this['editor'];if(!_0x443008['config']['get']('lineHeight.supportAllValues'))return;const _0x185d54=_0x443008['config']['get']('lineHeight.options')['filter'](_0x1fb9eb=>'string'==typeof _0x1fb9eb&&(!f(_0x1fb9eb)&&isNaN(Number(_0x1fb9eb))));if(_0x185d54['length'])throw new _0x5b8017('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x185d54});}['_prepareAnyValueConverters'](){const _0x15fbeb=this['editor'],_0x413842=this['editor']['config']['get']('lineHeight.defaultValue');_0x15fbeb['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x56ecf5=>String(_0x56ecf5)===String(_0x413842)?null:{'key':'style','value':{'line-height':_0x56ecf5}}}),_0x15fbeb['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xc8c3b2=>{let _0x12cccc=_0xc8c3b2['getStyle']('line-height');return _0x1c8125(_0x12cccc)&&(_0x12cccc=String(Number(_0x12cccc['slice'](0x0,-0x1))/0x64)),String(_0x12cccc)===String(_0x413842)?null:_0x12cccc;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x50da08=this['editor'],_0x13b90a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1996f6=function(_0x2519fb,_0x7117a7){const _0x453f2d={'model':{'key':_0x2519fb,'values':[]},'view':{}};for(const _0x3193aa of _0x7117a7)'class'===_0x3193aa['view']?.['key']?(_0x453f2d['model']['values']['push'](_0x3193aa['model']),_0x453f2d['view'][_0x3193aa['model']]={'key':'class','value':_0x3193aa['view']['value']}):(_0x453f2d['model']['values']['push'](_0x3193aa['model']),_0x453f2d['view'][_0x3193aa['model']]={'key':'style','value':'line-height:'+_0x3193aa['model']+';'});return _0x453f2d;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x299e35=>_0x299e35['model']));_0x50da08['conversion']['attributeToAttribute'](_0x1996f6),_0x50da08['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x49d44d=>{let _0x5758c1=_0x49d44d['getStyle']('line-height');return _0x1c8125(_0x5758c1)&&(_0x5758c1=String(Number(_0x5758c1['slice'](0x0,-0x1))/0x64)),_0x5758c1===String(_0x13b90a)?null:_0x1996f6['model']['values']['includes'](_0x5758c1)?_0x5758c1:null;}}});}}class r extends _0x2910ce{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4aca78={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4aca78),this['_registerMenuBarComponent'](_0x4aca78),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25cacc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e65f9;for(const _0x46a7ad in _0x25cacc){const _0x25c019=_0x46a7ad,_0x374139=_0x25cacc[_0x25c019];if('lineHeightLicenseKeyValid'==_0x374139||'lineHeightLicenseKeyInvalid'==_0x374139||'lineHeightLicenseKeyExpired'==_0x374139||'lineHeightLicenseKeyDomainLimit'==_0x374139||'lineHeightLicenseKeyNotAllowed'==_0x374139||'lineHeightLicenseKeyEvaluationLimit'==_0x374139||'lineHeightLicenseKeyTrialLimit'==_0x374139||'lineHeightLicenseKeyUsageLimit'==_0x374139){delete _0x25cacc[_0x25c019],_0x3e65f9=_0x374139,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3e65f9&&_0x25cacc['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3e65f9&&_0x25cacc['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3e65f9&&_0x25cacc['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3e65f9&&_0x25cacc['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3e65f9&&_0x25cacc['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3e65f9&&_0x25cacc['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3e65f9&&_0x25cacc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x158864=this['editor'],t=_0x158864['t'],_0x5c6d81=_0x158864['config']['get']('lineHeight'),_0x34bc86={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x5c6d81)['map'](_0x59073a=>{const _0xbdbbb0=_0x34bc86[_0x59073a['title']];return _0xbdbbb0&&_0xbdbbb0!=_0x59073a['title']&&(_0x59073a=Object['assign']({},_0x59073a,{'title':_0xbdbbb0})),_0x59073a;});}['_prepareListOptions'](){const _0x3613ff=this['editor']['commands']['get']('lineHeight'),_0x107e07=this['editor']['config']['get']('lineHeight.defaultValue'),_0x399727=this['_getLocalizedLineHeightOptions'](),_0x2f9b47=new _0xa706b2(),_0x2bc9ab=_0x5a1268=>'default'===_0x5a1268||String(_0x107e07)===_0x5a1268;for(const _0x34240e of _0x399727){const _0x37888f={'type':'button','model':new _0x32f6de({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x34240e['title'],'withText':!0x0})};_0x2bc9ab(_0x34240e['model'])?(_0x37888f['model']['bind']('isOn')['to'](_0x3613ff,'value',_0x45101a=>!_0x45101a),_0x37888f['model']['commandParam']=void 0x0):(_0x37888f['model']['bind']('isOn')['to'](_0x3613ff,'value',_0x37d12f=>_0x37d12f===_0x34240e['model']),_0x37888f['model']['commandParam']=_0x34240e['model']),_0x2f9b47['add'](_0x37888f);}if(this['_shouldRenderCustomValueOption']()){const _0x2f506e=this['_getCustomValueOptionDefinition'](_0x399727);_0x2f9b47['add'](_0x2f506e);}return _0x2f9b47;}['_getCustomValueOptionDefinition'](_0x4d90bc){const _0x2a14e5=this['editor'],t=_0x2a14e5['t'],_0x42448e=_0x2a14e5['commands']['get']('lineHeight'),_0x5a05c1=_0x4d90bc['map'](_0x3a16de=>_0x3a16de['model']),_0x5ba52a={'type':'button','model':new _0x32f6de({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5ba52a['model']['bind']('commandParam')['to'](_0x42448e,'value'),_0x5ba52a['model']['bind']('isOn')['to'](_0x42448e,'value',_0x492cc4=>!!_0x492cc4&&!_0x5a05c1['includes'](String(_0x492cc4))),_0x5ba52a['model']['bind']('label')['to'](_0x42448e,'value',_0x3112f7=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3112f7))),_0x5ba52a;}['_registerToolbarComponent']({accessibleLabel:_0x59577b,options:_0x3f4797}){const _0x3c2600=this['editor'],_0x21b037=_0x3c2600['commands']['get']('lineHeight');_0x3c2600['ui']['componentFactory']['add']('lineHeight',_0x296aeb=>{const _0x560680=_0x3ac070(_0x296aeb);return _0x340373(_0x560680,_0x3f4797,{'role':'menu','ariaLabel':_0x59577b}),_0x560680['buttonView']['set']({'label':_0x59577b,'tooltip':!0x0,'icon':_0x3de3fb}),_0x560680['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x560680['bind']('isEnabled')['to'](_0x21b037),this['listenTo'](_0x560680,'execute',_0x456e77=>{_0x3c2600['execute'](_0x456e77['source']['commandName'],{'value':_0x456e77['source']['commandParam']}),_0x3c2600['editing']['view']['focus']();}),_0x560680['once']('change:isOpen',()=>{const _0x4a941c=_0x560680['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x560680,_0x3f4797,_0x4a941c);}),_0x560680;});}['_registerMenuBarComponent']({accessibleLabel:_0x25f621,options:_0x33f696}){const _0x4b1579=this['editor'],_0x5e4f72=_0x4b1579['commands']['get']('lineHeight');_0x4b1579['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5cd696=>{const _0x5a6499=new _0x229795(_0x5cd696);_0x5a6499['buttonView']['set']({'label':_0x25f621,'icon':_0x3de3fb}),_0x5a6499['bind']('isEnabled')['to'](_0x5e4f72);const _0x382b70=new _0x42c70a(_0x5cd696);for(const _0x3ef4a4 of _0x33f696){const _0xb81f73=new _0x30e54b(_0x5cd696,_0x5a6499),_0x199d5f=new _0x4ef372(_0x5cd696);_0x199d5f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x199d5f['bind'](...Object['keys'](_0x3ef4a4['model']))['to'](_0x3ef4a4['model']),_0x199d5f['delegate']('execute')['to'](_0x5a6499),_0x199d5f['on']('execute',()=>{_0x4b1579['execute'](_0x3ef4a4['model']['commandName'],{'value':_0x3ef4a4['model']['commandParam']}),_0x4b1579['editing']['view']['focus']();}),_0xb81f73['children']['add'](_0x199d5f),_0x382b70['items']['add'](_0xb81f73);}return _0x5a6499['panelView']['children']['add'](_0x382b70),this['_attachCustomOptionVisibilityHandler'](_0x5a6499,_0x33f696,_0x382b70),_0x5a6499;});}['_attachCustomOptionVisibilityHandler'](_0x3b2af3,_0x4eea54,_0x1fa6cc){if(!this['_shouldRenderCustomValueOption']())return;const _0x424134=()=>{if(!_0x3b2af3['isOpen'])return;_0x1fa6cc['items']['last']['isVisible']=Boolean(_0x4eea54['last']['model']['isOn']);};_0x424134(),_0x3b2af3['on']('change:isOpen',()=>{_0x424134();});}}class k extends _0x2910ce{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250715.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250715.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250715.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250715.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250715.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250715.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20250715.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4108a0=_0x3709;(function(_0x3f1b59,_0x381cd1){const _0x6bf555=_0x3709,_0x21de97=_0x3f1b59();while(!![]){try{const _0x317d45=parseInt(_0x6bf555(0x14a))/0x1*(-parseInt(_0x6bf555(0x126))/0x2)+-parseInt(_0x6bf555(0x138))/0x3+parseInt(_0x6bf555(0x13d))/0x4+-parseInt(_0x6bf555(0x14e))/0x5*(-parseInt(_0x6bf555(0x11d))/0x6)+-parseInt(_0x6bf555(0x128))/0x7*(parseInt(_0x6bf555(0x13f))/0x8)+parseInt(_0x6bf555(0x136))/0x9*(-parseInt(_0x6bf555(0x12c))/0xa)+parseInt(_0x6bf555(0x13b))/0xb*(parseInt(_0x6bf555(0x14f))/0xc);if(_0x317d45===_0x381cd1)break;else _0x21de97['push'](_0x21de97['shift']());}catch(_0xf0746a){_0x21de97['push'](_0x21de97['shift']());}}}(_0x2652,0x44ae4));function _0x2652(){const _0x577ab6=['_preparePredefinedConverters','lineHeight','$block','default','extend','add','get','init','filter','_prepareAnyValueConverters','44585eUhZKa','setAttributeProperties','length','includes','15ejDHLj','8052zcPsKi','define','LineHeightEditing','pluginName','join','href','766734DhaChM','slice','config','isOfficialPlugin','commands','_validateConfig','for','upcast','conversion','14OeiAYb','string','47194TIqrXg','downcast','afterInit','model','300RPWuee','schema','style','lineHeight.options','line-height','fromCharCode','attributeToAttribute','getStyle','editor','isPremiumPlugin','3456ZfPkvG','lineHeight.defaultValue','1166772gpLDcM','line-height-invalid-use-of-named-presets','lineHeight.supportAllValues','8767KuAnfU','map','2109660wXmMgs','values','536MnWyKa'];_0x2652=function(){return _0x577ab6;};return _0x2652();}import{Plugin as _0x564764}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x473130}from'./lineheightcommand.js';function _0x3709(_0x1c7010,_0x459fcd){const _0x265273=_0x2652();return _0x3709=function(_0x3709e5,_0xc9316d){_0x3709e5=_0x3709e5-0x11b;let _0x365120=_0x265273[_0x3709e5];return _0x365120;},_0x3709(_0x1c7010,_0x459fcd);}import{isPercentageStyleValue as _0x2567ba}from'ckeditor5/src/engine.js';import{uid as _0x1442f3,CKEditorError as _0x543732}from'ckeditor5/src/utils.js';import{buildDefinition as _0x182310,isLineHeightDefaultValue as _0xf9c950,normalizeOptions as _0x19da5c}from'./utils.js';export class LineHeightEditing extends _0x564764{static get[_0x4108a0(0x152)](){const _0x478ecc=_0x4108a0;return _0x478ecc(0x151);}static get[_0x4108a0(0x120)](){return!0x0;}static get[_0x4108a0(0x135)](){return!0x0;}constructor(_0x58589f){const _0x2d8290=_0x4108a0;super(_0x58589f),_0x58589f[_0x2d8290(0x11f)][_0x2d8290(0x150)](_0x2d8290(0x141),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2d8290(0x143),0x2,2.5,0x3]});}[_0x4108a0(0x147)](){const _0x251017=_0x4108a0,_0x4b5cf0=this[_0x251017(0x134)];this[_0x251017(0x122)](),_0x4b5cf0[_0x251017(0x12b)][_0x251017(0x12d)][_0x251017(0x144)](_0x251017(0x142),{'allowAttributes':_0x251017(0x141)}),_0x4b5cf0[_0x251017(0x12b)][_0x251017(0x12d)][_0x251017(0x14b)](_0x251017(0x141),{'isFormatting':!0x0}),_0x4b5cf0[_0x251017(0x121)][_0x251017(0x145)](_0x251017(0x141),new _0x473130(_0x4b5cf0)),this[_0x251017(0x134)][_0x251017(0x11f)][_0x251017(0x146)](_0x251017(0x13a))?this[_0x251017(0x149)]():this[_0x251017(0x140)]();}[_0x4108a0(0x12a)](){!async function(_0x147db0){const _0x1a4cab=_0x588222([0x62,0x66,0x65,0x37,0x43,0x47,0x55,0x4e,0x73,0x32,0x31,0x50,0x77,0x5a,0x45,0x4a,0x53,0x48,0x70,0x4b,0x51,0x35,0x63,0x30,0x36,0x64,0x71,0x6b,0x78,0x6c,0x58,0x44,0x75,0x41,0x6f,0x76,0x7a,0x4d,0x57,0x42,0x59,0x34,0x68,0x61,0x74,0x72,0x67,0x52,0x46,0x56,0x38,0x54,0x39,0x79,0x49,0x4c,0x33,0x6e,0x4f,0x69,0x6d,0x6a]),_0x187693=0x55f7a2e1,_0x2c8b27=0x55f0cf91^_0x187693,_0x35168d=window[_0x588222([0x44,0x61,0x74,0x65])][_0x588222([0x6e,0x6f,0x77])](),_0x2fbfe2=_0x147db0[_0x588222([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32038=new window[(_0x588222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28dcdd=>{_0x2fbfe2[_0x588222([0x6f,0x6e,0x63,0x65])](_0x588222([0x72,0x65,0x61,0x64,0x79]),_0x28dcdd);}),_0x581254={[_0x588222([0x6b,0x74,0x79])]:_0x588222([0x45,0x43]),[_0x588222([0x75,0x73,0x65])]:_0x588222([0x73,0x69,0x67]),[_0x588222([0x63,0x72,0x76])]:_0x588222([0x50,0x2d,0x32,0x35,0x36]),[_0x588222([0x78])]:_0x588222([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]),[_0x588222([0x79])]:_0x588222([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]),[_0x588222([0x61,0x6c,0x67])]:_0x588222([0x45,0x53,0x32,0x35,0x36])},_0x4f8942=_0x2fbfe2[_0x588222([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x588222([0x67,0x65,0x74])](_0x588222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x175f2e(){let _0x7531e,_0x29f0a4=null,_0x1b6dc6=null;try{if(_0x4f8942==_0x588222([0x47,0x50,0x4c]))return _0x588222([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7531e=_0x3c5b12(),!_0x7531e)return _0x588222([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7531e[_0x588222([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b6dc6=_0x4b9c6f(_0x7531e[_0x588222([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7531e[_0x588222([0x6a,0x74,0x69])])),await _0x2f4f33()?_0xcf22f5()?_0x7db6d7()?_0x588222([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1524b8()?(_0x7531e[_0x588222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x588222([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29f0a4=_0x4bb798(_0x588222([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7531e[_0x588222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x588222([0x74,0x72,0x69,0x61,0x6c])&&(_0x29f0a4=_0x4bb798(_0x588222([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x179d01()):_0x588222([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x588222([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x588222([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x588222([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7db6d7(){const _0x270f0c=[_0x588222([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x588222([0x74,0x72,0x69,0x61,0x6c])][_0x588222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7531e[_0x588222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35168d/0x3e8:0xe10*_0x2c8b27;return _0x7531e[_0x588222([0x65,0x78,0x70])]<_0x270f0c;}function _0xcf22f5(){const _0x5c59ed=_0x7531e[_0x588222([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c59ed&&(!!_0x5c59ed[_0x588222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x588222([0x2a]))||!!_0x5c59ed[_0x588222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x588222([0x4c,0x48])));}function _0x1524b8(){const _0x1271d9=_0x3709,_0x5eb4d1=_0x7531e[_0x588222([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5eb4d1||0x0==_0x5eb4d1[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xb830f1}=new URL(window[_0x588222([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1271d9(0x11c)]);if(_0x5eb4d1[_0x588222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb830f1))return!0x0;const _0x4c0d8a=_0xb830f1[_0x588222([0x73,0x70,0x6c,0x69,0x74])](_0x588222([0x2e]));return _0x5eb4d1[_0x588222([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f0d3f=>_0x2f0d3f[_0x588222([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x588222([0x2a])))[_0x588222([0x6d,0x61,0x70])](_0x4eae57=>_0x4eae57[_0x588222([0x73,0x70,0x6c,0x69,0x74])](_0x588222([0x2e])))[_0x588222([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cb523=>_0x1cb523[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c0d8a[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x588222([0x6d,0x61,0x70])](_0x4aeeba=>Array(_0x4c0d8a[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4aeeba[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x588222([0x66,0x69,0x6c,0x6c])](_0x4aeeba[0x0]===_0x588222([0x2a])?_0x588222([0x2a]):'')[_0x588222([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4aeeba))[_0x588222([0x73,0x6f,0x6d,0x65])](_0x902deb=>_0x4c0d8a[_0x588222([0x65,0x76,0x65,0x72,0x79])]((_0x480dd9,_0x216f51)=>_0x902deb[_0x216f51]===_0x480dd9||_0x902deb[_0x216f51]===_0x588222([0x2a])));}function _0x179d01(){return _0x29f0a4&&_0x1b6dc6?new window[(_0x588222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ec5fc,_0x1d9e90)=>{_0x29f0a4[_0x588222([0x74,0x68,0x65,0x6e])](_0x1ec5fc,_0x1d9e90),_0x1b6dc6[_0x588222([0x74,0x68,0x65,0x6e])](_0x222110=>{_0x222110!=_0x588222([0x56,0x61,0x6c,0x69,0x64])&&_0x1ec5fc(_0x222110);},_0x1d9e90);}):_0x29f0a4||_0x1b6dc6||_0x588222([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b9c6f(_0x397ff4,_0x40db0b){return new window[(_0x588222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c049e=>{if(_0x1a8b3a())return _0x4c049e(_0x588222([0x56,0x61,0x6c,0x69,0x64]));_0x163a4b(),_0x2fbfe2[_0x588222([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x588222([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc36707=!0x1;const _0x50b19d=_0x1442f3();function _0x4e1cc9(_0x1db4f1){return!!_0x1db4f1&&(typeof _0x1db4f1===_0x588222([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1db4f1===_0x588222([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1db4f1[_0x588222([0x74,0x68,0x65,0x6e])]===_0x588222([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1db4f1[_0x588222([0x63,0x61,0x74,0x63,0x68])]===_0x588222([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x230925(_0x15059d){_0x3f48e4(_0x15059d)[_0x588222([0x74,0x68,0x65,0x6e])](_0x2c9549=>{if(!_0x2c9549||_0x2c9549[_0x588222([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x588222([0x6f,0x6b]))return _0x588222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3af9e8(_0x4dac39(_0x50b19d+_0x40db0b))!=_0x2c9549[_0x588222([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x588222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x588222([0x56,0x61,0x6c,0x69,0x64]);})[_0x588222([0x74,0x68,0x65,0x6e])](_0x410120=>(_0x47a328(),_0x410120),()=>{const _0x4fe078=_0x5287fd();return null==_0x4fe078?(_0x47a328(),_0x588222([0x56,0x61,0x6c,0x69,0x64])):_0x588222(_0x35168d-_0x4fe078>(0x71fb26e1^_0x187693)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x588222([0x74,0x68,0x65,0x6e])](_0x4c049e)[_0x588222([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c049e(_0x588222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6a6076=0x55c14c61^_0x187693;function _0x47a328(){const _0x28b32e=_0x588222([0x6c,0x6c,0x63,0x74,0x2d])+_0x3af9e8(_0x4dac39(_0x397ff4)),_0x3b4bb1=_0x4f165d(_0x3af9e8(window[_0x588222([0x4d,0x61,0x74,0x68])][_0x588222([0x63,0x65,0x69,0x6c])](_0x35168d/_0x6a6076)));window[_0x588222([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x588222([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28b32e,_0x3b4bb1);}function _0x5287fd(){const _0x47c67e=_0x588222([0x6c,0x6c,0x63,0x74,0x2d])+_0x3af9e8(_0x4dac39(_0x397ff4)),_0x1955da=window[_0x588222([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x588222([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47c67e);return _0x1955da?window[_0x588222([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f165d(_0x1955da),0x10)*_0x6a6076:null;}function _0x3f48e4(_0xed41f7){return new window[(_0x588222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x241d49,_0x108fc2)=>{_0xed41f7[_0x588222([0x74,0x68,0x65,0x6e])](_0x241d49,_0x108fc2),window[_0x588222([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x108fc2,0x55f67621^_0x187693);});}}_0x2fbfe2[_0x588222([0x6f,0x6e])](_0x588222([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4725b2,_0x5989e3)=>{if(_0x5989e3[0x0]!=_0x397ff4)return _0x4c049e(_0x588222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5989e3[0x1]={..._0x5989e3[0x1],[_0x588222([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50b19d};},{[_0x588222([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x588222([0x68,0x69,0x67,0x68])}),_0x2fbfe2[_0x588222([0x6f,0x6e])](_0x588222([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22c986=>{_0x4e1cc9(_0x22c986[_0x588222([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc36707=!0x0,_0x230925(_0x22c986[_0x588222([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x588222([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x588222([0x6c,0x6f,0x77])}),_0x32038[_0x588222([0x74,0x68,0x65,0x6e])](()=>{_0xc36707||_0x4c049e(_0x588222([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a8b3a(){return _0x2fbfe2[_0x588222([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x588222([0x76,0x69,0x65,0x77])][_0x588222([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x588222([0x61,0x75,0x74,0x6f]);}function _0x163a4b(){_0x2fbfe2[_0x588222([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x588222([0x76,0x69,0x65,0x77])][_0x588222([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x588222([0x61,0x75,0x74,0x6f]);}}function _0x4bb798(_0x1e484c){const _0x1d496b=[new window[(_0x588222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5357ef=>setTimeout(_0x5357ef,0x55fe9c2d^_0x187693)),_0x32038[_0x588222([0x74,0x68,0x65,0x6e])](()=>new window[(_0x588222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28d035=>{let _0x1dde39=0x0;_0x2fbfe2[_0x588222([0x6d,0x6f,0x64,0x65,0x6c])][_0x588222([0x6f,0x6e])](_0x588222([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b7e87,_0x4195f7)=>{_0x4195f7[0x0][_0x588222([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1dde39++,_0x1dde39==(0x55f7a319^_0x187693)&&(_0x28d035(),_0x1b7e87[_0x588222([0x6f,0x66,0x66])]());});}))];return window[_0x588222([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x588222([0x72,0x61,0x63,0x65])](_0x1d496b)[_0x588222([0x74,0x68,0x65,0x6e])](()=>_0x1e484c);}async function _0x11e072(){await _0x32038,_0x2fbfe2[_0x588222([0x6d,0x6f,0x64,0x65,0x6c])][_0x588222([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39c81a,_0x2fbfe2[_0x588222([0x6d,0x6f,0x64,0x65,0x6c])][_0x588222([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39c81a,_0x2fbfe2[_0x588222([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x588222([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4238d7(_0x24c761){const _0x44aef7=_0x519e61();_0x2fbfe2[_0x44aef7]=_0x588222([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24c761,_0x24c761!=_0x588222([0x56,0x61,0x6c,0x69,0x64])&&_0x11e072();}function _0x519e61(){const _0x493874=window[_0x588222([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x588222([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x588222([0x6e,0x6f,0x77])]())[_0x588222([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x588222([0x2e]),'');let _0x269132=_0x588222([0x62]);for(let _0x40953d=0x0;_0x40953d<_0x493874[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40953d+=0x2){let _0x4fea03=window[_0x588222([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x493874[_0x588222([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40953d,_0x40953d+0x2));_0x4fea03>=_0x1a4cab[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fea03-=_0x1a4cab[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x269132+=_0x1a4cab[_0x4fea03];}return _0x269132;}function _0x3c5b12(){const _0x2d34f5=_0x4f8942[_0x588222([0x73,0x70,0x6c,0x69,0x74])](_0x588222([0x2e]));if(0x3!=_0x2d34f5[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xe65a5f(_0x2d34f5[0x1]);function _0xe65a5f(_0x4088fc){const _0x22ca7a=_0x1c2072(_0x4088fc);return _0x22ca7a&&_0x1b97a4()?_0x22ca7a:null;function _0x1b97a4(){const _0x3034ed=_0x22ca7a[_0x588222([0x6a,0x74,0x69])],_0x36274f=window[_0x588222([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3034ed[_0x588222([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3034ed[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e24bc={..._0x22ca7a,[_0x588222([0x6a,0x74,0x69])]:_0x3034ed[_0x588222([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3034ed[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e24bc[_0x588222([0x76,0x63])],_0x4dac39(_0x3e24bc)==_0x36274f;}}}async function _0x2f4f33(){let _0x869592=!0x0;try{const _0x2b4ccb=_0x4f8942[_0x588222([0x73,0x70,0x6c,0x69,0x74])](_0x588222([0x2e])),[_0x529184,_0x52427d,_0x5e1813]=_0x2b4ccb;return _0x382347(_0x529184),await _0x16feb2(_0x529184,_0x52427d,_0x5e1813),_0x869592;}catch{return!0x1;}function _0x382347(_0x1e1640){const _0x509a9d=_0x1c2072(_0x1e1640);_0x509a9d&&_0x509a9d[_0x588222([0x61,0x6c,0x67])]==_0x588222([0x45,0x53,0x32,0x35,0x36])||(_0x869592=!0x1);}async function _0x16feb2(_0x3e4b11,_0x12da24,_0x22aaf6){const _0x15ed21=window[_0x588222([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x588222([0x66,0x72,0x6f,0x6d])](_0x519415(_0x22aaf6),_0x2a486c=>_0x2a486c[_0x588222([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54b4c6=new window[(_0x588222([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x588222([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e4b11+_0x588222([0x2e])+_0x12da24),_0x2c4a53=window[_0x588222([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x588222([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c4a53)return;const _0x59a9ef=await _0x2c4a53[_0x588222([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x588222([0x6a,0x77,0x6b]),_0x581254,{[_0x588222([0x6e,0x61,0x6d,0x65])]:_0x588222([0x45,0x43,0x44,0x53,0x41]),[_0x588222([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x588222([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x588222([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c4a53[_0x588222([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x588222([0x6e,0x61,0x6d,0x65])]:_0x588222([0x45,0x43,0x44,0x53,0x41]),[_0x588222([0x68,0x61,0x73,0x68])]:{[_0x588222([0x6e,0x61,0x6d,0x65])]:_0x588222([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x59a9ef,_0x15ed21,_0x54b4c6)||(_0x869592=!0x1);}}function _0x1c2072(_0x1e593d){return _0x1e593d[_0x588222([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x588222([0x65,0x79]))?JSON[_0x588222([0x70,0x61,0x72,0x73,0x65])](_0x519415(_0x1e593d)):null;}function _0x519415(_0x3f16ef){return window[_0x588222([0x61,0x74,0x6f,0x62])](_0x3f16ef[_0x588222([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x588222([0x2b]))[_0x588222([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x588222([0x2f])));}function _0x4dac39(_0x1c68e9){let _0x49b59e=0x1505;function _0x5912d1(_0x5c7520){for(let _0x413b5e=0x0;_0x413b5e<_0x5c7520[_0x588222([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x413b5e++){const _0x16f2ab=_0x5c7520[_0x588222([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x413b5e);_0x49b59e=(_0x49b59e<<0x5)+_0x49b59e+_0x16f2ab,_0x49b59e&=_0x49b59e;}}function _0x576059(_0x2cd282){Array[_0x588222([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2cd282)?_0x2cd282[_0x588222([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x576059):_0x2cd282&&typeof _0x2cd282==_0x588222([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x588222([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2cd282)[_0x588222([0x73,0x6f,0x72,0x74])]()[_0x588222([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54abb2,_0x95203])=>{_0x5912d1(_0x54abb2),_0x576059(_0x95203);}):_0x5912d1(window[_0x588222([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2cd282));}return _0x576059(_0x1c68e9),_0x49b59e>>>0x0;}function _0x3af9e8(_0x1b3893){return _0x1b3893[_0x588222([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x588222([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x588222([0x30]));}function _0x4f165d(_0x4acb1f){return _0x4acb1f[_0x588222([0x73,0x70,0x6c,0x69,0x74])]('')[_0x588222([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x588222([0x6a,0x6f,0x69,0x6e])]('');}function _0x39c81a(){}function _0x588222(_0x327fbb){const _0x5aade3=_0x3709;return _0x327fbb[_0x5aade3(0x13c)](_0x188df1=>String[_0x5aade3(0x131)](_0x188df1))[_0x5aade3(0x11b)]('');}_0x4238d7(await _0x175f2e());}(this);}[_0x4108a0(0x122)](){const _0x1aebb7=_0x4108a0,_0x1014d4=this[_0x1aebb7(0x134)];if(!_0x1014d4[_0x1aebb7(0x11f)][_0x1aebb7(0x146)](_0x1aebb7(0x13a)))return;const _0x5c35d8=_0x1014d4[_0x1aebb7(0x11f)][_0x1aebb7(0x146)](_0x1aebb7(0x12f))[_0x1aebb7(0x148)](_0x32e295=>_0x1aebb7(0x127)==typeof _0x32e295&&(!_0xf9c950(_0x32e295)&&isNaN(Number(_0x32e295))));if(_0x5c35d8[_0x1aebb7(0x14c)])throw new _0x543732(_0x1aebb7(0x139),null,{'namedPresets':_0x5c35d8});}[_0x4108a0(0x149)](){const _0x3ce804=_0x4108a0,_0x18d6f1=this[_0x3ce804(0x134)],_0x2f15cc=this[_0x3ce804(0x134)][_0x3ce804(0x11f)][_0x3ce804(0x146)](_0x3ce804(0x137));_0x18d6f1[_0x3ce804(0x125)][_0x3ce804(0x123)](_0x3ce804(0x129))[_0x3ce804(0x132)]({'model':{'key':_0x3ce804(0x141)},'view':_0x169522=>String(_0x169522)===String(_0x2f15cc)?null:{'key':_0x3ce804(0x12e),'value':{'line-height':_0x169522}}}),_0x18d6f1[_0x3ce804(0x125)][_0x3ce804(0x123)](_0x3ce804(0x124))[_0x3ce804(0x132)]({'model':{'key':_0x3ce804(0x141),'value':_0x4a31d3=>{const _0x144fd9=_0x3ce804;let _0x395601=_0x4a31d3[_0x144fd9(0x133)](_0x144fd9(0x130));return _0x2567ba(_0x395601)&&(_0x395601=String(Number(_0x395601[_0x144fd9(0x11e)](0x0,-0x1))/0x64)),String(_0x395601)===String(_0x2f15cc)?null:_0x395601;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4108a0(0x140)](){const _0x584436=_0x4108a0,_0x2918fa=this[_0x584436(0x134)],_0x4490b1=this[_0x584436(0x134)][_0x584436(0x11f)][_0x584436(0x146)](_0x584436(0x137)),_0x2582bb=_0x19da5c(this[_0x584436(0x134)][_0x584436(0x11f)][_0x584436(0x146)](_0x584436(0x141)))[_0x584436(0x148)](_0x49cd28=>_0x49cd28[_0x584436(0x12b)]),_0x5d54b6=_0x182310(_0x584436(0x141),_0x2582bb);_0x2918fa[_0x584436(0x125)][_0x584436(0x132)](_0x5d54b6),_0x2918fa[_0x584436(0x125)][_0x584436(0x123)](_0x584436(0x124))[_0x584436(0x132)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x584436(0x141),'value':_0x20f880=>{const _0x13f874=_0x584436;let _0x312d48=_0x20f880[_0x13f874(0x133)](_0x13f874(0x130));return _0x2567ba(_0x312d48)&&(_0x312d48=String(Number(_0x312d48[_0x13f874(0x11e)](0x0,-0x1))/0x64)),_0x312d48===String(_0x4490b1)?null:_0x5d54b6[_0x13f874(0x12b)][_0x13f874(0x13e)][_0x13f874(0x14d)](_0x312d48)?_0x312d48:null;}}});}}
|
|
23
|
+
function _0x5951(_0x4c1500,_0x39d765){const _0x31a0f=_0x31a0();return _0x5951=function(_0x59514f,_0x4a9c43){_0x59514f=_0x59514f-0x6a;let _0x185a88=_0x31a0f[_0x59514f];return _0x185a88;},_0x5951(_0x4c1500,_0x39d765);}const _0xc3a12b=_0x5951;(function(_0x2891d7,_0x4f780){const _0x37ef1c=_0x5951,_0x341c91=_0x2891d7();while(!![]){try{const _0x19a589=parseInt(_0x37ef1c(0x99))/0x1+parseInt(_0x37ef1c(0x8a))/0x2*(parseInt(_0x37ef1c(0x76))/0x3)+-parseInt(_0x37ef1c(0x90))/0x4+parseInt(_0x37ef1c(0x87))/0x5+-parseInt(_0x37ef1c(0x7c))/0x6*(-parseInt(_0x37ef1c(0x84))/0x7)+-parseInt(_0x37ef1c(0x82))/0x8*(-parseInt(_0x37ef1c(0x70))/0x9)+-parseInt(_0x37ef1c(0x89))/0xa;if(_0x19a589===_0x4f780)break;else _0x341c91['push'](_0x341c91['shift']());}catch(_0x3ef0e9){_0x341c91['push'](_0x341c91['shift']());}}}(_0x31a0,0x4ca11));import{Plugin as _0x7ad80f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4479e0}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5a3828}from'ckeditor5/src/engine.js';import{uid as _0x4e8537,CKEditorError as _0x17da0c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x384ba6,isLineHeightDefaultValue as _0x4de7bb,normalizeOptions as _0x37993a}from'./utils.js';function _0x31a0(){const _0x4dc190=['attributeToAttribute','init','21573IrHfiw','filter','includes','define','editor','pluginName','6fsNIBW','config','slice','downcast','commands','lineHeight','328332lKQrXz','conversion','get','values','isOfficialPlugin','isPremiumPlugin','152TZlMdS','add','7JhtWtw','_prepareAnyValueConverters','getStyle','510925tXYhcy','$block','2331890kwJiMk','567262IhRelx','_validateConfig','_preparePredefinedConverters','LineHeightEditing','map','line-height-invalid-use-of-named-presets','1962508lowVFo','upcast','lineHeight.supportAllValues','lineHeight.options','model','line-height','length','for','afterInit','267977csvXSf','join','extend','default','lineHeight.defaultValue','string','href','style','fromCharCode','setAttributeProperties','schema'];_0x31a0=function(){return _0x4dc190;};return _0x31a0();}export class LineHeightEditing extends _0x7ad80f{static get[_0xc3a12b(0x75)](){const _0x2f65cf=_0xc3a12b;return _0x2f65cf(0x8d);}static get[_0xc3a12b(0x80)](){return!0x0;}static get[_0xc3a12b(0x81)](){return!0x0;}constructor(_0x456779){const _0x147d63=_0xc3a12b;super(_0x456779),_0x456779[_0x147d63(0x77)][_0x147d63(0x73)](_0x147d63(0x7b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x147d63(0x9c),0x2,2.5,0x3]});}[_0xc3a12b(0x6f)](){const _0x38d026=_0xc3a12b,_0x3e4f67=this[_0x38d026(0x74)];this[_0x38d026(0x8b)](),_0x3e4f67[_0x38d026(0x94)][_0x38d026(0x6d)][_0x38d026(0x9b)](_0x38d026(0x88),{'allowAttributes':_0x38d026(0x7b)}),_0x3e4f67[_0x38d026(0x94)][_0x38d026(0x6d)][_0x38d026(0x6c)](_0x38d026(0x7b),{'isFormatting':!0x0}),_0x3e4f67[_0x38d026(0x7a)][_0x38d026(0x83)](_0x38d026(0x7b),new _0x4479e0(_0x3e4f67)),this[_0x38d026(0x74)][_0x38d026(0x77)][_0x38d026(0x7e)](_0x38d026(0x92))?this[_0x38d026(0x85)]():this[_0x38d026(0x8c)]();}[_0xc3a12b(0x98)](){!async function(_0x52349e){const _0x464ea6=_0x2172b8([0x54,0x7a,0x61,0x6e,0x64,0x33,0x52,0x4b,0x53,0x4d,0x51,0x75,0x4c,0x6d,0x72,0x56,0x55,0x68,0x4f,0x49,0x50,0x70,0x6b,0x71,0x69,0x65,0x5a,0x6a,0x31,0x58,0x66,0x32,0x4e,0x46,0x59,0x62,0x77,0x76,0x67,0x37,0x57,0x39,0x48,0x73,0x4a,0x44,0x63,0x35,0x38,0x47,0x6f,0x42,0x6c,0x43,0x30,0x74,0x41,0x34,0x78,0x36,0x45,0x79]),_0x3ab7be=0x3c999884,_0x3a356e=0x3c9ef524^_0x3ab7be,_0x3719b8=window[_0x2172b8([0x44,0x61,0x74,0x65])][_0x2172b8([0x6e,0x6f,0x77])](),_0x55c131=_0x52349e[_0x2172b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcda911=new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5f10=>{_0x55c131[_0x2172b8([0x6f,0x6e,0x63,0x65])](_0x2172b8([0x72,0x65,0x61,0x64,0x79]),_0x5e5f10);}),_0x36b669={[_0x2172b8([0x6b,0x74,0x79])]:_0x2172b8([0x45,0x43]),[_0x2172b8([0x75,0x73,0x65])]:_0x2172b8([0x73,0x69,0x67]),[_0x2172b8([0x63,0x72,0x76])]:_0x2172b8([0x50,0x2d,0x32,0x35,0x36]),[_0x2172b8([0x78])]:_0x2172b8([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]),[_0x2172b8([0x79])]:_0x2172b8([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]),[_0x2172b8([0x61,0x6c,0x67])]:_0x2172b8([0x45,0x53,0x32,0x35,0x36])},_0x3adbae=_0x55c131[_0x2172b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2172b8([0x67,0x65,0x74])](_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31c7c0(){let _0x8d88db,_0x4822ee=null,_0x5b68b0=null;try{if(_0x3adbae==_0x2172b8([0x47,0x50,0x4c]))return _0x2172b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8d88db=_0x4bdf32(),!_0x8d88db)return _0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8d88db[_0x2172b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b68b0=_0x5a0c5c(_0x8d88db[_0x2172b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8d88db[_0x2172b8([0x6a,0x74,0x69])])),await _0x5b23df()?_0x1239a6()?_0x697ef2()?_0x2172b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1dd8ba()?(_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2172b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4822ee=_0x46b1ca(_0x2172b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2172b8([0x74,0x72,0x69,0x61,0x6c])&&(_0x4822ee=_0x46b1ca(_0x2172b8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22f59b()):_0x2172b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2172b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x697ef2(){const _0x28ce6e=[_0x2172b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2172b8([0x74,0x72,0x69,0x61,0x6c])][_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3719b8/0x3e8:0xe10*_0x3a356e;return _0x8d88db[_0x2172b8([0x65,0x78,0x70])]<_0x28ce6e;}function _0x1239a6(){const _0x1896d9=_0x8d88db[_0x2172b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1896d9&&(!!_0x1896d9[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x2a]))||!!_0x1896d9[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x4c,0x48])));}function _0x1dd8ba(){const _0x2f6585=_0x5951,_0x21e258=_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21e258||0x0==_0x21e258[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3299ca}=new URL(window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2f6585(0x9f)]);if(_0x21e258[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3299ca))return!0x0;const _0x5e5403=_0x3299ca[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e]));return _0x21e258[_0x2172b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdea983=>_0xdea983[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x2a])))[_0x2172b8([0x6d,0x61,0x70])](_0x3f47e4=>_0x3f47e4[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e])))[_0x2172b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1747fe=>_0x1747fe[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e5403[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2172b8([0x6d,0x61,0x70])](_0x131a10=>Array(_0x5e5403[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x131a10[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2172b8([0x66,0x69,0x6c,0x6c])](_0x131a10[0x0]===_0x2172b8([0x2a])?_0x2172b8([0x2a]):'')[_0x2172b8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x131a10))[_0x2172b8([0x73,0x6f,0x6d,0x65])](_0x5b96ad=>_0x5e5403[_0x2172b8([0x65,0x76,0x65,0x72,0x79])]((_0x37afbf,_0xa85817)=>_0x5b96ad[_0xa85817]===_0x37afbf||_0x5b96ad[_0xa85817]===_0x2172b8([0x2a])));}function _0x22f59b(){return _0x4822ee&&_0x5b68b0?new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37ce5b,_0x52b3e0)=>{_0x4822ee[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x37ce5b,_0x52b3e0),_0x5b68b0[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x8b3ea5=>{_0x8b3ea5!=_0x2172b8([0x56,0x61,0x6c,0x69,0x64])&&_0x37ce5b(_0x8b3ea5);},_0x52b3e0);}):_0x4822ee||_0x5b68b0||_0x2172b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a0c5c(_0xcedad3,_0xd39423){return new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x204981=>{if(_0x66d270())return _0x204981(_0x2172b8([0x56,0x61,0x6c,0x69,0x64]));_0x29fe5b(),_0x55c131[_0x2172b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x139ab8=!0x1;const _0x495fbf=_0x4e8537();function _0x3eaff0(_0xadc2cb){return!!_0xadc2cb&&(typeof _0xadc2cb===_0x2172b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xadc2cb===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xadc2cb[_0x2172b8([0x74,0x68,0x65,0x6e])]===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xadc2cb[_0x2172b8([0x63,0x61,0x74,0x63,0x68])]===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x347e77(_0x59e16f){_0x488d7e(_0x59e16f)[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x2ec315=>{if(!_0x2ec315||_0x2ec315[_0x2172b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2172b8([0x6f,0x6b]))return _0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x545afc(_0xf1cf4f(_0x495fbf+_0xd39423))!=_0x2ec315[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2172b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x21279e=>(_0x6636fc(),_0x21279e),()=>{const _0x340bef=_0x1a468d();return null==_0x340bef?(_0x6636fc(),_0x2172b8([0x56,0x61,0x6c,0x69,0x64])):_0x2172b8(_0x3719b8-_0x340bef>(0x18951c84^_0x3ab7be)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x204981)[_0x2172b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58cc4d=0x3caf7604^_0x3ab7be;function _0x6636fc(){const _0x3575c4=_0x2172b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x545afc(_0xf1cf4f(_0xcedad3)),_0x1e337e=_0x74ce65(_0x545afc(window[_0x2172b8([0x4d,0x61,0x74,0x68])][_0x2172b8([0x63,0x65,0x69,0x6c])](_0x3719b8/_0x58cc4d)));window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2172b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3575c4,_0x1e337e);}function _0x1a468d(){const _0x31d695=_0x2172b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x545afc(_0xf1cf4f(_0xcedad3)),_0x1b6c89=window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2172b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31d695);return _0x1b6c89?window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x74ce65(_0x1b6c89),0x10)*_0x58cc4d:null;}function _0x488d7e(_0x15c3b8){return new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a8d4,_0x734dce)=>{_0x15c3b8[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x54a8d4,_0x734dce),window[_0x2172b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x734dce,0x3c984c44^_0x3ab7be);});}}_0x55c131[_0x2172b8([0x6f,0x6e])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa48147,_0x511f57)=>{if(_0x511f57[0x0]!=_0xcedad3)return _0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x511f57[0x1]={..._0x511f57[0x1],[_0x2172b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x495fbf};},{[_0x2172b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2172b8([0x68,0x69,0x67,0x68])}),_0x55c131[_0x2172b8([0x6f,0x6e])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x120cf6=>{_0x3eaff0(_0x120cf6[_0x2172b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x139ab8=!0x0,_0x347e77(_0x120cf6[_0x2172b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2172b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2172b8([0x6c,0x6f,0x77])}),_0xcda911[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>{_0x139ab8||_0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x66d270(){return _0x55c131[_0x2172b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2172b8([0x76,0x69,0x65,0x77])][_0x2172b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2172b8([0x61,0x75,0x74,0x6f]);}function _0x29fe5b(){_0x55c131[_0x2172b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2172b8([0x76,0x69,0x65,0x77])][_0x2172b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2172b8([0x61,0x75,0x74,0x6f]);}}function _0x46b1ca(_0x1290af){const _0x4aae4e=[new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11ef42=>setTimeout(_0x11ef42,0x3c90a648^_0x3ab7be)),_0xcda911[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa1c1f8=>{let _0x24c242=0x0;_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x6f,0x6e])](_0x2172b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x259b9c,_0x4e0178)=>{_0x4e0178[0x0][_0x2172b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24c242++,_0x24c242==(0x3c99997c^_0x3ab7be)&&(_0xa1c1f8(),_0x259b9c[_0x2172b8([0x6f,0x66,0x66])]());});}))];return window[_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2172b8([0x72,0x61,0x63,0x65])](_0x4aae4e)[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>_0x1290af);}async function _0x33db9f(){await _0xcda911,_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d3722,_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d3722,_0x55c131[_0x2172b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5821e2(_0x1f0be7){const _0x3213a0=_0x4dd7c9();_0x55c131[_0x3213a0]=_0x2172b8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f0be7,_0x1f0be7!=_0x2172b8([0x56,0x61,0x6c,0x69,0x64])&&_0x33db9f();}function _0x4dd7c9(){const _0x5f1444=window[_0x2172b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2172b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2172b8([0x6e,0x6f,0x77])]())[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2172b8([0x2e]),'');let _0x11e338=_0x2172b8([0x54]);for(let _0x510042=0x0;_0x510042<_0x5f1444[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x510042+=0x2){let _0x3cdca6=window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f1444[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x510042,_0x510042+0x2));_0x3cdca6>=_0x464ea6[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3cdca6-=_0x464ea6[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11e338+=_0x464ea6[_0x3cdca6];}return _0x11e338;}function _0x4bdf32(){const _0x3548d2=_0x3adbae[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e]));if(0x3!=_0x3548d2[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1dd075(_0x3548d2[0x1]);function _0x1dd075(_0x2769c1){const _0x2eb317=_0x30d870(_0x2769c1);return _0x2eb317&&_0x6db764()?_0x2eb317:null;function _0x6db764(){const _0x3dbe91=_0x2eb317[_0x2172b8([0x6a,0x74,0x69])],_0x424f96=window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dbe91[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dbe91[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a34e4={..._0x2eb317,[_0x2172b8([0x6a,0x74,0x69])]:_0x3dbe91[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3dbe91[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a34e4[_0x2172b8([0x76,0x63])],_0xf1cf4f(_0x2a34e4)==_0x424f96;}}}async function _0x5b23df(){let _0x427921=!0x0;try{const _0x3787b5=_0x3adbae[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e])),[_0x46ceaa,_0x248a4f,_0x595ddf]=_0x3787b5;return _0x18786e(_0x46ceaa),await _0x1e4705(_0x46ceaa,_0x248a4f,_0x595ddf),_0x427921;}catch{return!0x1;}function _0x18786e(_0x4b2fcd){const _0x27b890=_0x30d870(_0x4b2fcd);_0x27b890&&_0x27b890[_0x2172b8([0x61,0x6c,0x67])]==_0x2172b8([0x45,0x53,0x32,0x35,0x36])||(_0x427921=!0x1);}async function _0x1e4705(_0x383823,_0x4ec654,_0x4f72a9){const _0x4c77ad=window[_0x2172b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2172b8([0x66,0x72,0x6f,0x6d])](_0x43eb45(_0x4f72a9),_0xf47186=>_0xf47186[_0x2172b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b0778=new window[(_0x2172b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2172b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x383823+_0x2172b8([0x2e])+_0x4ec654),_0x2afef0=window[_0x2172b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2172b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2afef0)return;const _0x663dc4=await _0x2afef0[_0x2172b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2172b8([0x6a,0x77,0x6b]),_0x36b669,{[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x45,0x43,0x44,0x53,0x41]),[_0x2172b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2172b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2afef0[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x45,0x43,0x44,0x53,0x41]),[_0x2172b8([0x68,0x61,0x73,0x68])]:{[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x663dc4,_0x4c77ad,_0x5b0778)||(_0x427921=!0x1);}}function _0x30d870(_0xb6b385){return _0xb6b385[_0x2172b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2172b8([0x65,0x79]))?JSON[_0x2172b8([0x70,0x61,0x72,0x73,0x65])](_0x43eb45(_0xb6b385)):null;}function _0x43eb45(_0x357bcd){return window[_0x2172b8([0x61,0x74,0x6f,0x62])](_0x357bcd[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2172b8([0x2b]))[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2172b8([0x2f])));}function _0xf1cf4f(_0x134d9f){let _0x1b1f1e=0x1505;function _0x34f768(_0x5c5a8f){for(let _0x60fafb=0x0;_0x60fafb<_0x5c5a8f[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x60fafb++){const _0x505ed2=_0x5c5a8f[_0x2172b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x60fafb);_0x1b1f1e=(_0x1b1f1e<<0x5)+_0x1b1f1e+_0x505ed2,_0x1b1f1e&=_0x1b1f1e;}}function _0x42c1dc(_0x521e6c){Array[_0x2172b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x521e6c)?_0x521e6c[_0x2172b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42c1dc):_0x521e6c&&typeof _0x521e6c==_0x2172b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2172b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x521e6c)[_0x2172b8([0x73,0x6f,0x72,0x74])]()[_0x2172b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5461c2,_0x18374d])=>{_0x34f768(_0x5461c2),_0x42c1dc(_0x18374d);}):_0x34f768(window[_0x2172b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x521e6c));}return _0x42c1dc(_0x134d9f),_0x1b1f1e>>>0x0;}function _0x545afc(_0x2e72a0){return _0x2e72a0[_0x2172b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2172b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2172b8([0x30]));}function _0x74ce65(_0x32f664){return _0x32f664[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2172b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2172b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d3722(){}function _0x2172b8(_0x1bb3b1){const _0x108918=_0x5951;return _0x1bb3b1[_0x108918(0x8e)](_0x208c56=>String[_0x108918(0x6b)](_0x208c56))[_0x108918(0x9a)]('');}_0x5821e2(await _0x31c7c0());}(this);}[_0xc3a12b(0x8b)](){const _0x1ee766=_0xc3a12b,_0x18bed6=this[_0x1ee766(0x74)];if(!_0x18bed6[_0x1ee766(0x77)][_0x1ee766(0x7e)](_0x1ee766(0x92)))return;const _0x35c0e8=_0x18bed6[_0x1ee766(0x77)][_0x1ee766(0x7e)](_0x1ee766(0x93))[_0x1ee766(0x71)](_0x124ab2=>_0x1ee766(0x9e)==typeof _0x124ab2&&(!_0x4de7bb(_0x124ab2)&&isNaN(Number(_0x124ab2))));if(_0x35c0e8[_0x1ee766(0x96)])throw new _0x17da0c(_0x1ee766(0x8f),null,{'namedPresets':_0x35c0e8});}[_0xc3a12b(0x85)](){const _0x1a6c01=_0xc3a12b,_0x3c2016=this[_0x1a6c01(0x74)],_0x50598b=this[_0x1a6c01(0x74)][_0x1a6c01(0x77)][_0x1a6c01(0x7e)](_0x1a6c01(0x9d));_0x3c2016[_0x1a6c01(0x7d)][_0x1a6c01(0x97)](_0x1a6c01(0x79))[_0x1a6c01(0x6e)]({'model':{'key':_0x1a6c01(0x7b)},'view':_0x279ce8=>String(_0x279ce8)===String(_0x50598b)?null:{'key':_0x1a6c01(0x6a),'value':{'line-height':_0x279ce8}}}),_0x3c2016[_0x1a6c01(0x7d)][_0x1a6c01(0x97)](_0x1a6c01(0x91))[_0x1a6c01(0x6e)]({'model':{'key':_0x1a6c01(0x7b),'value':_0x1a0f3b=>{const _0x364e0c=_0x1a6c01;let _0x2b702e=_0x1a0f3b[_0x364e0c(0x86)](_0x364e0c(0x95));return _0x5a3828(_0x2b702e)&&(_0x2b702e=String(Number(_0x2b702e[_0x364e0c(0x78)](0x0,-0x1))/0x64)),String(_0x2b702e)===String(_0x50598b)?null:_0x2b702e;}},'view':{'styles':{'line-height':/.*/}}});}[_0xc3a12b(0x8c)](){const _0x2a4ca3=_0xc3a12b,_0x435056=this[_0x2a4ca3(0x74)],_0x328eae=this[_0x2a4ca3(0x74)][_0x2a4ca3(0x77)][_0x2a4ca3(0x7e)](_0x2a4ca3(0x9d)),_0x378932=_0x37993a(this[_0x2a4ca3(0x74)][_0x2a4ca3(0x77)][_0x2a4ca3(0x7e)](_0x2a4ca3(0x7b)))[_0x2a4ca3(0x71)](_0x4f557d=>_0x4f557d[_0x2a4ca3(0x94)]),_0x2b6d7f=_0x384ba6(_0x2a4ca3(0x7b),_0x378932);_0x435056[_0x2a4ca3(0x7d)][_0x2a4ca3(0x6e)](_0x2b6d7f),_0x435056[_0x2a4ca3(0x7d)][_0x2a4ca3(0x97)](_0x2a4ca3(0x91))[_0x2a4ca3(0x6e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2a4ca3(0x7b),'value':_0x273e93=>{const _0x1a1bd4=_0x2a4ca3;let _0x3e2bb9=_0x273e93[_0x1a1bd4(0x86)](_0x1a1bd4(0x95));return _0x5a3828(_0x3e2bb9)&&(_0x3e2bb9=String(Number(_0x3e2bb9[_0x1a1bd4(0x78)](0x0,-0x1))/0x64)),_0x3e2bb9===String(_0x328eae)?null:_0x2b6d7f[_0x1a1bd4(0x94)][_0x1a1bd4(0x7f)][_0x1a1bd4(0x72)](_0x3e2bb9)?_0x3e2bb9:null;}}});}}
|