@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250707.0 → 0.0.0-nightly-20250709.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>K,LineHeightCommand:()=>a,LineHeightEditing:()=>v,LineHeightUI:()=>P});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=264]})(e,t)}function s(){const e=["895816UkJRVD","isEnabled","editor","removeAttribute","231159MiUxeu","2321vxJiAu","3607974yEAIOB","selection","refresh","from","155795RwZyah","checkAttribute","change","9072165tgfUTy","_canHaveLineHeight","57435zCHPaL","setAttribute","536oFoenN","document","6meNnSy","getSelectedBlocks","schema","16ObBGJG","value","lineHeight","model","130670fUZPJW","execute","getAttribute","filter"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(919832===parseInt(t(272))/1+parseInt(t(292))/2+parseInt(t(266))/3*(parseInt(t(284))/4)+-parseInt(t(275))/5*(-parseInt(t(281))/6)+parseInt(t(277))/7*(parseInt(t(279))/8)+parseInt(t(268))/9+-parseInt(t(288))/10*(parseInt(t(267))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(270)](){const e=r,n=this[e(264)][e(287)][e(280)],i=(0,t.first)(n[e(269)][e(282)]());this[e(293)]=Boolean(i)&&this[e(276)](i),this[e(285)]=this[e(293)]&&i[e(290)](e(286))}[r(289)](e={}){const t=r,n=this[t(264)][t(287)],i=n[t(280)][t(269)],o=e[t(285)];n[t(274)](e=>{const n=t,r=Array[n(271)](i[n(282)]())[n(291)](e=>this[n(276)](e));for(const t of r)o?e[n(278)](n(286),o,t):e[n(265)](n(286),t)})}[r(276)](e){const t=r;return this[t(264)][t(287)][t(283)][t(273)](e,t(286))}}var c=n(783);function l(){const e=["defaultValue","view","11098971eDkHrt","style","618394rzJOhU","values","132cYTvRe","20370867civlci","default","key","5935296vyHCfC","10MrXzkA","Single","12sZjNeM","number","double","class","single","filter","20PVcCze","5721045LniIdv","options","push","line-height:","toLowerCase","value","79830pHKGoP","line-height-single","model","line-height-double","string","span","Double","map","110082CleDWJ"];return(l=function(){return e})()}!function(e){const t=h,n=e();for(;;)try{if(678157===parseInt(t(180))/1*(parseInt(t(187))/2)+-parseInt(t(195))/3*(parseInt(t(167))/4)+parseInt(t(181))/5+parseInt(t(174))/6*(-parseInt(t(200))/7)+parseInt(t(171))/8+parseInt(t(198))/9+-parseInt(t(172))/10*(parseInt(t(168))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=h;return{title:e(173),model:e(178),view:{key:e(177),value:e(188)}}},get double(){const e=h;return{title:e(193),model:e(176),view:{key:e(177),value:e(190)}}}};function d(e){const t=h;return t(191)==typeof e&&t(169)===e[t(185)]()}function h(e,t){const n=l();return(h=function(e,t){return n[e-=166]})(e,t)}function f(e){const t=h;return e[t(182)][t(194)](n=>d(n)?{title:String(e[t(196)]),model:t(169)}:(t(175)==typeof n&&(n=String(n)),t(191)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(192),styles:{"line-height":n}}}:function(e){const t=h;return t(191)==typeof e?u[e]:u[e[t(189)]]}(n)))[t(179)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=441]})(e,t)}function m(){const e=["downcast","160431jfUJHc","values","init","69959uAfsIF","href","style","isPremiumPlugin","model","_preparePredefinedConverters","extend","lineHeight","lineHeight.defaultValue","lineHeight.supportAllValues","839208GRFjQC","upcast","schema","afterInit","commands","get","1464CnFAxD","7348104lQlSGe","define","fromCharCode","setAttributeProperties","11IQMidL","10QhENft","isOfficialPlugin","map","1767980wqPAJs","join","conversion","$block","getStyle","pluginName","6qoegOZ","12131jjVonx","length","add","config","default","slice","8OOOnOx","attributeToAttribute","_validateConfig","lineHeight.options","_prepareAnyValueConverters","LineHeightEditing","1279413sBAENm","editor","includes","for","line-height","line-height-invalid-use-of-named-presets","string","filter"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(237495===parseInt(t(488))/1*(-parseInt(t(463))/2)+parseInt(t(485))/3*(parseInt(t(470))/4)+parseInt(t(457))/5+parseInt(t(442))/6+parseInt(t(464))/7*(parseInt(t(448))/8)+parseInt(t(476))/9*(parseInt(t(454))/10)+-parseInt(t(453))/11*(parseInt(t(449))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class v extends e.Plugin{static get[p(462)](){return p(475)}static get[p(455)](){return!0}static get[p(491)](){return!0}constructor(e){const t=p;super(e),e[t(467)][t(450)](t(495),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(468),2,2.5,3]})}[p(487)](){const e=p,t=this[e(477)];this[e(472)](),t[e(492)][e(444)][e(494)](e(460),{allowAttributes:e(495)}),t[e(492)][e(444)][e(452)](e(495),{isFormatting:!0}),t[e(446)][e(466)](e(495),new a(t)),this[e(477)][e(467)][e(447)](e(441))?this[e(474)]():this[e(493)]()}[p(445)](){!async function(e){const n=m([105,48,117,115,81,108,121,83,65,52,112,56,100,50,57,79,106,101,116,88,90,87,66,55,74,54,68,104,113,67,82,102,99,98,97,103,109,122,119,114,75,49,76,118,71,85,78,110,86,107,72,111,69,120,70,51,73,84,77,80,53,89]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(456)](e=>String[t(451)](e))[t(458)]("")}!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([105]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(u+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(l=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751846400;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(489)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(472)](){const e=p,n=this[e(477)];if(!n[e(467)][e(447)](e(441)))return;const i=n[e(467)][e(447)](e(473))[e(483)](t=>e(482)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(465)])throw new t.CKEditorError(e(481),null,{namedPresets:i})}[p(474)](){const e=p,t=this[e(477)],n=this[e(477)][e(467)][e(447)](e(496));t[e(459)][e(479)](e(484))[e(471)]({model:{key:e(495)},view:t=>String(t)===String(n)?null:{key:e(490),value:{"line-height":t}}}),t[e(459)][e(479)](e(443))[e(471)]({model:{key:e(495),value:t=>{const i=e;let r=t[i(461)](i(480));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(469)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(493)](){const e=p,t=this[e(477)],n=this[e(477)][e(467)][e(447)](e(496)),i=f(this[e(477)][e(467)][e(447)](e(495)))[e(483)](t=>t[e(492)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(177)===e[n(197)]?.[n(170)]?(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(177),value:e[n(197)][n(186)]}):(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(199),value:n(184)+e[n(189)]+";"});return i}(e(495),i);t[e(459)][e(471)](r),t[e(459)][e(479)](e(443))[e(471)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(495),value:t=>{const i=e;let o=t[i(461)](i(480));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(469)](0,-1))/100)),o===String(n)?null:r[i(492)][i(486)][i(478)](o)?o:null}}})}}var w=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),O=n(262),_=n.n(O),C=n(667),E=n.n(C),x=n(357),k=n.n(x),A=n(422),S={attributes:{"data-cke":!0}};S.setAttributes=E(),S.insert=_().bind(null,"head"),S.domAPI=H(),S.insertStyleElement=k();b()(A.A,S);A.A&&A.A.locals&&A.A.locals;class P extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new w.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new w.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,w.createDropdown)(r);return(0,w.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new w.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new w.MenuBarMenuListView(r);for(const e of t){const t=new w.MenuBarMenuListItemView(r,o),i=new w.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var V=N;function N(e,t){var n=T();return(N=function(e,t){return n[e-=159]})(e,t)}!function(e){for(var t=N,n=e();;)try{if(432645===parseInt(t(159))/1+parseInt(t(171))/2+-parseInt(t(167))/3*(parseInt(t(161))/4)+parseInt(t(172))/5*(-parseInt(t(169))/6)+parseInt(t(163))/7+parseInt(t(164))/8+parseInt(t(168))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class K extends e.Plugin{static get[V(160)](){return[v,P]}static get[V(170)](){return V(165)}static get[V(166)](){return!0}static get[V(162)](){return!0}}function T(){var e=["LineHeight","isOfficialPlugin","78723aTnVsc","937566GJNlCE","212622ftEnvS","pluginName","9168wFJfux","20SeWdKN","686598VgWGwx","requires","92KCaPIk","isPremiumPlugin","1890833EcfMyo","899688hNaOjj"];return(T=function(){return e})()}function M(e,t){var n=j();return(M=function(e,t){return n[e-=330]})(e,t)}function j(){var e=["898798WVlDjE","8697205ierKLA","830295TyYVtr","9913480xybtJr","9873rQoOWk","1RzfgCb","48DlRbyA","8srvkUB","60rcvbQJ","2909354wZEhYf","5751405RDPRmL"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(833727===-parseInt(t(337))/1*(-parseInt(t(332))/2)+-parseInt(t(336))/3*(-parseInt(t(338))/4)+parseInt(t(334))/5*(-parseInt(t(340))/6)+-parseInt(t(330))/7*(parseInt(t(339))/8)+parseInt(t(331))/9+parseInt(t(335))/10+parseInt(t(333))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
4
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>N,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>P});var e=n(782),t=n(584);const r=s;function o(){const e=["model","value","setAttribute","870wcJNXT","change","9351139mlcdCq","10SAsgsY","isEnabled","getAttribute","selection","refresh","40YxfqhC","checkAttribute","document","from","execute","3344568GrqVKS","28998ypxILr","editor","_canHaveLineHeight","getSelectedBlocks","removeAttribute","filter","3fHxOSz","6180977kzxgoT","lineHeight","2764618lSMiey","1364459CbLcVL","schema","1893969ldtuQe"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=235]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(925393===parseInt(t(240))/1+parseInt(t(239))/2*(parseInt(t(236))/3)+-parseInt(t(259))/4+-parseInt(t(246))/5*(-parseInt(t(260))/6)+-parseInt(t(248))/7+-parseInt(t(254))/8*(parseInt(t(242))/9)+-parseInt(t(249))/10*(-parseInt(t(237))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(253)](){const e=r,n=this[e(261)][e(243)][e(256)],i=(0,t.first)(n[e(252)][e(263)]());this[e(250)]=Boolean(i)&&this[e(262)](i),this[e(244)]=this[e(250)]&&i[e(251)](e(238))}[r(258)](e={}){const t=r,n=this[t(261)][t(243)],i=n[t(256)][t(252)],o=e[t(244)];n[t(247)](e=>{const n=t,r=Array[n(257)](i[n(263)]())[n(235)](e=>this[n(262)](e));for(const t of r)o?e[n(245)](n(238),o,t):e[n(264)](n(238),t)})}[r(262)](e){const t=r;return this[t(261)][t(243)][t(241)][t(255)](e,t(238))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(171937===parseInt(t(130))/1+parseInt(t(109))/2+-parseInt(t(104))/3+-parseInt(t(133))/4*(parseInt(t(134))/5)+parseInt(t(128))/6*(-parseInt(t(123))/7)+-parseInt(t(108))/8*(parseInt(t(124))/9)+parseInt(t(131))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);const l={get single(){const e=h;return{title:e(129),model:e(117),view:{key:e(105),value:e(113)}}},get double(){const e=h;return{title:e(118),model:e(122),view:{key:e(105),value:e(121)}}}};function u(){const e=["56EOeOtA","104408KICeEI","line-height:","map","string","line-height-single","view","value","number","single","Double","values","toLowerCase","line-height-double","double","16541OvJGGi","99837BqFfGc","model","style","push","474xbfljB","Single","220592eSDdJU","6120220kGMDNP","key","12qwZrIm","463135WHBUZt","default","options","filter","512016WZcRQx","class","span","defaultValue"];return(u=function(){return e})()}function d(e){const t=h;return t(112)==typeof e&&t(135)===e[t(120)]()}function h(e,t){const n=u();return(h=function(e,t){return n[e-=102]})(e,t)}function f(e){const t=h;return e[t(102)][t(111)](n=>d(n)?{title:String(e[t(107)]),model:t(135)}:(t(116)==typeof n&&(n=String(n)),t(112)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(106),styles:{"line-height":n}}}:function(e){const t=h;return t(112)==typeof e?l[e]:l[e[t(125)]]}(n)))[t(103)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=370]})(e,t)}function m(){const e=["85IhOXKP","values","upcast","for","41530iimYor","lineHeight.defaultValue","config","lineHeight.supportAllValues","6qUInie","2080072QIQnLs","downcast","editor","$block","schema","20ckrhIP","join","lineHeight","model","conversion","length","6665481GlmjFF","style","init","filter","fromCharCode","define","includes","extend","LineHeightEditing","_prepareAnyValueConverters","commands","string","map","get","attributeToAttribute","_preparePredefinedConverters","105924XbvNCF","line-height-invalid-use-of-named-presets","_validateConfig","pluginName","isOfficialPlugin","setAttributeProperties","afterInit","838164TfpnAV","line-height","lineHeight.options","372044ZsoTar","default","href","isPremiumPlugin","slice","7ywFTRj","add","2472899sDTFGv","getStyle"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(473169===parseInt(t(372))/1+-parseInt(t(414))/2*(-parseInt(t(376))/3)+-parseInt(t(411))/4+-parseInt(t(423))/5*(-parseInt(t(404))/6)+parseInt(t(419))/7*(parseInt(t(377))/8)+-parseInt(t(388))/9+parseInt(t(382))/10*(parseInt(t(421))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(407)](){return p(396)}static get[p(408)](){return!0}static get[p(417)](){return!0}constructor(e){const t=p;super(e),e[t(374)][t(393)](t(384),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(415),2,2.5,3]})}[p(390)](){const e=p,t=this[e(379)];this[e(406)](),t[e(385)][e(381)][e(395)](e(380),{allowAttributes:e(384)}),t[e(385)][e(381)][e(409)](e(384),{isFormatting:!0}),t[e(398)][e(420)](e(384),new a(t)),this[e(379)][e(374)][e(401)](e(375))?this[e(397)]():this[e(403)]()}[p(410)](){!async function(e){const n=m([76,69,86,65,107,82,51,81,110,52,103,74,99,109,101,89,112,88,119,66,50,111,72,87,114,57,85,113,48,49,67,117,120,78,104,79,55,71,56,105,68,108,83,98,97,80,54,77,106,116,115,90,84,100,122,70,73,121,102,53,75,118]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(400)](e=>String[t(392)](e))[t(383)]("")}!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([76]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(u+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(l=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1752019200;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(416)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(406)](){const e=p,n=this[e(379)];if(!n[e(374)][e(401)](e(375)))return;const i=n[e(374)][e(401)](e(413))[e(391)](t=>e(399)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(387)])throw new t.CKEditorError(e(405),null,{namedPresets:i})}[p(397)](){const e=p,t=this[e(379)],n=this[e(379)][e(374)][e(401)](e(373));t[e(386)][e(371)](e(378))[e(402)]({model:{key:e(384)},view:t=>String(t)===String(n)?null:{key:e(389),value:{"line-height":t}}}),t[e(386)][e(371)](e(370))[e(402)]({model:{key:e(384),value:t=>{const i=e;let r=t[i(422)](i(412));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(418)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(403)](){const e=p,t=this[e(379)],n=this[e(379)][e(374)][e(401)](e(373)),i=f(this[e(379)][e(374)][e(401)](e(384)))[e(391)](t=>t[e(385)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(105)===e[n(114)]?.[n(132)]?(i[n(125)][n(119)][n(127)](e[n(125)]),i[n(114)][e[n(125)]]={key:n(105),value:e[n(114)][n(115)]}):(i[n(125)][n(119)][n(127)](e[n(125)]),i[n(114)][e[n(125)]]={key:n(126),value:n(110)+e[n(125)]+";"});return i}(e(384),i);t[e(386)][e(402)](r),t[e(386)][e(371)](e(370))[e(402)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(384),value:t=>{const i=e;let o=t[i(422)](i(412));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(418)](0,-1))/100)),o===String(n)?null:r[i(385)][i(424)][i(394)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),C=n.n(_),x=n(667),O=n.n(x),E=n(357),S=n.n(E),k=n(422),A={attributes:{"data-cke":!0}};A.setAttributes=O(),A.insert=C().bind(null,"head"),A.domAPI=H(),A.insertStyleElement=S();b()(k.A,A);k.A&&k.A.locals&&k.A.locals;class P 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 T(){var e=["3951CDCqkq","352bnQbuI","requires","919512HaXfGa","isOfficialPlugin","87591jQwBzd","3mVxkcD","LineHeight","1474753FlPxMr","pluginName","isPremiumPlugin","293800JibVvZ","286720fqDusF","1422756kUmUAI"];return(T=function(){return e})()}function K(e,t){var n=T();return(K=function(e,t){return n[e-=164]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(188221===parseInt(t(173))/1+parseInt(t(165))/2+-parseInt(t(174))/3*(-parseInt(t(167))/4)+-parseInt(t(166))/5+-parseInt(t(171))/6+-parseInt(t(176))/7+parseInt(t(169))/8*(parseInt(t(168))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class N extends e.Plugin{static get[V(170)](){return[w,P]}static get[V(177)](){return V(175)}static get[V(172)](){return!0}static get[V(164)](){return!0}}function M(e,t){var n=j();return(M=function(e,t){return n[e-=269]})(e,t)}function j(){var e=["35661qPEzVy","36bSaIAu","155996djyYms","2fpRJQA","5674384AmACEQ","1028690SLNZpJ","27861030SXgoCH","7944160ZTURtj","3881040auLaNq"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(843215===-parseInt(t(274))/1+parseInt(t(275))/2*(parseInt(t(272))/3)+parseInt(t(271))/4+parseInt(t(277))/5*(-parseInt(t(273))/6)+-parseInt(t(270))/7+-parseInt(t(276))/8+parseInt(t(269))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x4a2c0b,Plugin as _0x685d0c}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1f30b6,CKEditorError as _0x4ad44d,uid as _0xd6426d,Collection as _0xa94018}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1bfe1f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x152312,createDropdown as _0x49d52e,addListToDropdown as _0x2081be,MenuBarMenuView as _0x5ea6ab,MenuBarMenuListView as _0x4d51bc,MenuBarMenuListItemView as _0x1a4d39,MenuBarMenuListItemButtonView as _0x15deba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x36f6da}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x4a2c0b{['refresh'](){const _0x7fc934=this['editor']['model']['document'],_0x2f09e7=_0x1f30b6(_0x7fc934['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2f09e7)&&this['_canHaveLineHeight'](_0x2f09e7),this['value']=this['isEnabled']&&_0x2f09e7['getAttribute']('lineHeight');}['execute'](_0x2c00bf={}){const _0x1fc55c=this['editor']['model'],_0x107fa5=_0x1fc55c['document']['selection'],_0x5a3e96=_0x2c00bf['value'];_0x1fc55c['change'](_0x59a2cd=>{const _0x1f6b36=Array['from'](_0x107fa5['getSelectedBlocks']())['filter'](_0x41237f=>this['_canHaveLineHeight'](_0x41237f));for(const _0x3dd4da of _0x1f6b36)_0x5a3e96?_0x59a2cd['setAttribute']('lineHeight',_0x5a3e96,_0x3dd4da):_0x59a2cd['removeAttribute']('lineHeight',_0x3dd4da);});}['_canHaveLineHeight'](_0x194972){return this['editor']['model']['schema']['checkAttribute'](_0x194972,'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(_0x3554d8){return'string'==typeof _0x3554d8&&'default'===_0x3554d8['toLowerCase']();}function a(_0x1e3486){return _0x1e3486['options']['map'](_0x4f64c0=>{return f(_0x4f64c0)?{'title':String(_0x1e3486['defaultValue']),'model':'default'}:('number'==typeof _0x4f64c0&&(_0x4f64c0=String(_0x4f64c0)),'string'!=typeof _0x4f64c0?_0x4f64c0:parseFloat(_0x4f64c0)?{'title':_0x4f64c0,'model':_0x4f64c0,'view':{'name':'span','styles':{'line-height':_0x4f64c0}}}:'string'==typeof(_0x284113=_0x4f64c0)?v[_0x284113]:v[_0x284113['model']]);var _0x284113;})['filter'](_0x2d2dbc=>void 0x0!==_0x2d2dbc);}class e extends _0x685d0c{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e0eff){super(_0x5e0eff),_0x5e0eff['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1218ea=this['editor'];this['_validateConfig'](),_0x1218ea['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1218ea['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1218ea['commands']['add']('lineHeight',new n(_0x1218ea)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2fd0ae){const _0x3017cc=_0x2445c3([0x69,0x30,0x75,0x73,0x51,0x6c,0x79,0x53,0x41,0x34,0x70,0x38,0x64,0x32,0x39,0x4f,0x6a,0x65,0x74,0x58,0x5a,0x57,0x42,0x37,0x4a,0x36,0x44,0x68,0x71,0x43,0x52,0x66,0x63,0x62,0x61,0x67,0x6d,0x7a,0x77,0x72,0x4b,0x31,0x4c,0x76,0x47,0x55,0x4e,0x6e,0x56,0x6b,0x48,0x6f,0x45,0x78,0x46,0x33,0x49,0x54,0x4d,0x50,0x35,0x59]),_0x4f0609=0x7ba26401,_0x1422a8=0x7ba508e1^_0x4f0609,_0x3e34d8=window[_0x2445c3([0x44,0x61,0x74,0x65])][_0x2445c3([0x6e,0x6f,0x77])](),_0x73f31d=_0x2fd0ae[_0x2445c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfefd9b=new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bd2bc=>{_0x73f31d[_0x2445c3([0x6f,0x6e,0x63,0x65])](_0x2445c3([0x72,0x65,0x61,0x64,0x79]),_0x5bd2bc);}),_0x1ff4a1={[_0x2445c3([0x6b,0x74,0x79])]:_0x2445c3([0x45,0x43]),[_0x2445c3([0x75,0x73,0x65])]:_0x2445c3([0x73,0x69,0x67]),[_0x2445c3([0x63,0x72,0x76])]:_0x2445c3([0x50,0x2d,0x32,0x35,0x36]),[_0x2445c3([0x78])]:_0x2445c3([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]),[_0x2445c3([0x79])]:_0x2445c3([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]),[_0x2445c3([0x61,0x6c,0x67])]:_0x2445c3([0x45,0x53,0x32,0x35,0x36])},_0x3c72e2=_0x73f31d[_0x2445c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2445c3([0x67,0x65,0x74])](_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b5cd8(){let _0x2a4ce0,_0x1b13ad=null,_0x540cd9=null;try{if(_0x3c72e2==_0x2445c3([0x47,0x50,0x4c]))return _0x2445c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a4ce0=_0x33c00c(),!_0x2a4ce0)return _0x2445c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a4ce0[_0x2445c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x540cd9=_0x1a875e(_0x2a4ce0[_0x2445c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a4ce0[_0x2445c3([0x6a,0x74,0x69])])),await _0x36a0dd()?_0x28abfb()?_0x48aed7()?_0x2445c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29e424()?(_0x2a4ce0[_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2445c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b13ad=_0x38615d(_0x2445c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a4ce0[_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2445c3([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b13ad=_0x38615d(_0x2445c3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcfb5da()):_0x2445c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2445c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2445c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2445c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48aed7(){const _0x20a7d0=[_0x2445c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2445c3([0x74,0x72,0x69,0x61,0x6c])][_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4ce0[_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e34d8/0x3e8:0xe10*_0x1422a8;return _0x2a4ce0[_0x2445c3([0x65,0x78,0x70])]<_0x20a7d0;}function _0x28abfb(){const _0x124502=_0x2a4ce0[_0x2445c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x124502&&(!!_0x124502[_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2445c3([0x2a]))||!!_0x124502[_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2445c3([0x4c,0x48])));}function _0x29e424(){const _0x4349c9=_0x2a4ce0[_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4349c9||0x0==_0x4349c9[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x556b64}=new URL(window[_0x2445c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4349c9[_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x556b64))return!0x0;const _0x13a27f=_0x556b64[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])](_0x2445c3([0x2e]));return _0x4349c9[_0x2445c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56c1fd=>_0x56c1fd[_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2445c3([0x2a])))[_0x2445c3([0x6d,0x61,0x70])](_0x371922=>_0x371922[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])](_0x2445c3([0x2e])))[_0x2445c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5256c3=>_0x5256c3[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13a27f[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2445c3([0x6d,0x61,0x70])](_0x259cdd=>Array(_0x13a27f[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x259cdd[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2445c3([0x66,0x69,0x6c,0x6c])](_0x259cdd[0x0]===_0x2445c3([0x2a])?_0x2445c3([0x2a]):'')[_0x2445c3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x259cdd))[_0x2445c3([0x73,0x6f,0x6d,0x65])](_0x11442b=>_0x13a27f[_0x2445c3([0x65,0x76,0x65,0x72,0x79])]((_0x1629f5,_0x46048f)=>_0x11442b[_0x46048f]===_0x1629f5||_0x11442b[_0x46048f]===_0x2445c3([0x2a])));}function _0xcfb5da(){return _0x1b13ad&&_0x540cd9?new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cfff0,_0x314bad)=>{_0x1b13ad[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x1cfff0,_0x314bad),_0x540cd9[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x5bdc8b=>{_0x5bdc8b!=_0x2445c3([0x56,0x61,0x6c,0x69,0x64])&&_0x1cfff0(_0x5bdc8b);},_0x314bad);}):_0x1b13ad||_0x540cd9||_0x2445c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a875e(_0x29615c,_0x17c10e){return new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x246be7=>{if(_0x311d38())return _0x246be7(_0x2445c3([0x56,0x61,0x6c,0x69,0x64]));_0x5907f3(),_0x73f31d[_0x2445c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2445c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c489f=!0x1;const _0x53afaf=_0xd6426d();function _0x45a5a9(_0x362789){return!!_0x362789&&(typeof _0x362789===_0x2445c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x362789===_0x2445c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x362789[_0x2445c3([0x74,0x68,0x65,0x6e])]===_0x2445c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x362789[_0x2445c3([0x63,0x61,0x74,0x63,0x68])]===_0x2445c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xcd321b(_0x41ff2c){_0x5582ff(_0x41ff2c)[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x402c51=>{if(!_0x402c51||_0x402c51[_0x2445c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2445c3([0x6f,0x6b]))return _0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5335ee(_0x60992f(_0x53afaf+_0x17c10e))!=_0x402c51[_0x2445c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2445c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x3e1be2=>(_0x36c1fe(),_0x3e1be2),()=>{const _0x5e795c=_0x2a4a77();return null==_0x5e795c?(_0x36c1fe(),_0x2445c3([0x56,0x61,0x6c,0x69,0x64])):_0x2445c3(_0x3e34d8-_0x5e795c>(0x5faee001^_0x4f0609)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x246be7)[_0x2445c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x246be7(_0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x427004=0x7b948a81^_0x4f0609;function _0x36c1fe(){const _0x18442e=_0x2445c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5335ee(_0x60992f(_0x29615c)),_0x174dd1=_0x1a3601(_0x5335ee(window[_0x2445c3([0x4d,0x61,0x74,0x68])][_0x2445c3([0x63,0x65,0x69,0x6c])](_0x3e34d8/_0x427004)));window[_0x2445c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2445c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18442e,_0x174dd1);}function _0x2a4a77(){const _0x465b57=_0x2445c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5335ee(_0x60992f(_0x29615c)),_0x354199=window[_0x2445c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2445c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x465b57);return _0x354199?window[_0x2445c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a3601(_0x354199),0x10)*_0x427004:null;}function _0x5582ff(_0x1ccb73){return new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a54aa,_0x1eaad4)=>{_0x1ccb73[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x1a54aa,_0x1eaad4),window[_0x2445c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1eaad4,0x7ba3b0c1^_0x4f0609);});}}_0x73f31d[_0x2445c3([0x6f,0x6e])](_0x2445c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bc512,_0x3b0a64)=>{if(_0x3b0a64[0x0]!=_0x29615c)return _0x246be7(_0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b0a64[0x1]={..._0x3b0a64[0x1],[_0x2445c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53afaf};},{[_0x2445c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2445c3([0x68,0x69,0x67,0x68])}),_0x73f31d[_0x2445c3([0x6f,0x6e])](_0x2445c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4346d2=>{_0x45a5a9(_0x4346d2[_0x2445c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c489f=!0x0,_0xcd321b(_0x4346d2[_0x2445c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2445c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2445c3([0x6c,0x6f,0x77])}),_0xfefd9b[_0x2445c3([0x74,0x68,0x65,0x6e])](()=>{_0x1c489f||_0x246be7(_0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x311d38(){return _0x73f31d[_0x2445c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2445c3([0x76,0x69,0x65,0x77])][_0x2445c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2445c3([0x61,0x75,0x74,0x6f]);}function _0x5907f3(){_0x73f31d[_0x2445c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2445c3([0x76,0x69,0x65,0x77])][_0x2445c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2445c3([0x61,0x75,0x74,0x6f]);}}function _0x38615d(_0x182466){const _0x56a36e=[new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39767f=>setTimeout(_0x39767f,0x7bab5acd^_0x4f0609)),_0xfefd9b[_0x2445c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x352080=>{let _0x1a7f2d=0x0;_0x73f31d[_0x2445c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2445c3([0x6f,0x6e])](_0x2445c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x210ff8,_0x3d7ae3)=>{_0x3d7ae3[0x0][_0x2445c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a7f2d++,_0x1a7f2d==(0x7ba265f9^_0x4f0609)&&(_0x352080(),_0x210ff8[_0x2445c3([0x6f,0x66,0x66])]());});}))];return window[_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2445c3([0x72,0x61,0x63,0x65])](_0x56a36e)[_0x2445c3([0x74,0x68,0x65,0x6e])](()=>_0x182466);}async function _0x1695c6(){await _0xfefd9b,_0x73f31d[_0x2445c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2445c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e7043,_0x73f31d[_0x2445c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2445c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e7043,_0x73f31d[_0x2445c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2445c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59ed4b(_0x159498){const _0x35bab5=_0x4ffc9b();_0x73f31d[_0x35bab5]=_0x2445c3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x159498,_0x159498!=_0x2445c3([0x56,0x61,0x6c,0x69,0x64])&&_0x1695c6();}function _0x4ffc9b(){const _0xf4540d=window[_0x2445c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2445c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2445c3([0x6e,0x6f,0x77])]())[_0x2445c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2445c3([0x2e]),'');let _0x2c76d2=_0x2445c3([0x69]);for(let _0x458f55=0x0;_0x458f55<_0xf4540d[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x458f55+=0x2){let _0x425ce1=window[_0x2445c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf4540d[_0x2445c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x458f55,_0x458f55+0x2));_0x425ce1>=_0x3017cc[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x425ce1-=_0x3017cc[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c76d2+=_0x3017cc[_0x425ce1];}return _0x2c76d2;}function _0x33c00c(){const _0x3c480f=_0x3c72e2[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])](_0x2445c3([0x2e]));if(0x3!=_0x3c480f[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb52131(_0x3c480f[0x1]);function _0xb52131(_0x951d26){const _0x2ecc66=_0x43a4b4(_0x951d26);return _0x2ecc66&&_0x25d5c0()?_0x2ecc66:null;function _0x25d5c0(){const _0x368382=_0x2ecc66[_0x2445c3([0x6a,0x74,0x69])],_0x20c20f=window[_0x2445c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x368382[_0x2445c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x368382[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa95dc6={..._0x2ecc66,[_0x2445c3([0x6a,0x74,0x69])]:_0x368382[_0x2445c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x368382[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa95dc6[_0x2445c3([0x76,0x63])],_0x60992f(_0xa95dc6)==_0x20c20f;}}}async function _0x36a0dd(){let _0xfe95a0=!0x0;try{const _0x34f187=_0x3c72e2[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])](_0x2445c3([0x2e])),[_0x55fd40,_0x212aef,_0x5d360d]=_0x34f187;return _0x4b3d04(_0x55fd40),await _0x502ba2(_0x55fd40,_0x212aef,_0x5d360d),_0xfe95a0;}catch{return!0x1;}function _0x4b3d04(_0x3d7147){const _0x84947b=_0x43a4b4(_0x3d7147);_0x84947b&&_0x84947b[_0x2445c3([0x61,0x6c,0x67])]==_0x2445c3([0x45,0x53,0x32,0x35,0x36])||(_0xfe95a0=!0x1);}async function _0x502ba2(_0x4b5f46,_0x481ba1,_0x2c300d){const _0x3a6bab=window[_0x2445c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2445c3([0x66,0x72,0x6f,0x6d])](_0x4d182c(_0x2c300d),_0x5dcd7b=>_0x5dcd7b[_0x2445c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x145ea7=new window[(_0x2445c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2445c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b5f46+_0x2445c3([0x2e])+_0x481ba1),_0x188438=window[_0x2445c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2445c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x188438)return;const _0x2e73ce=await _0x188438[_0x2445c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2445c3([0x6a,0x77,0x6b]),_0x1ff4a1,{[_0x2445c3([0x6e,0x61,0x6d,0x65])]:_0x2445c3([0x45,0x43,0x44,0x53,0x41]),[_0x2445c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2445c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2445c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x188438[_0x2445c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2445c3([0x6e,0x61,0x6d,0x65])]:_0x2445c3([0x45,0x43,0x44,0x53,0x41]),[_0x2445c3([0x68,0x61,0x73,0x68])]:{[_0x2445c3([0x6e,0x61,0x6d,0x65])]:_0x2445c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e73ce,_0x3a6bab,_0x145ea7)||(_0xfe95a0=!0x1);}}function _0x43a4b4(_0x1e02b6){return _0x1e02b6[_0x2445c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2445c3([0x65,0x79]))?JSON[_0x2445c3([0x70,0x61,0x72,0x73,0x65])](_0x4d182c(_0x1e02b6)):null;}function _0x4d182c(_0xc2e6dd){return window[_0x2445c3([0x61,0x74,0x6f,0x62])](_0xc2e6dd[_0x2445c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2445c3([0x2b]))[_0x2445c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2445c3([0x2f])));}function _0x60992f(_0xd0e8fb){let _0x4bb553=0x1505;function _0x56a409(_0x1d82f5){for(let _0x274923=0x0;_0x274923<_0x1d82f5[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x274923++){const _0x35aa05=_0x1d82f5[_0x2445c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x274923);_0x4bb553=(_0x4bb553<<0x5)+_0x4bb553+_0x35aa05,_0x4bb553&=_0x4bb553;}}function _0x168946(_0x52b14f){Array[_0x2445c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52b14f)?_0x52b14f[_0x2445c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x168946):_0x52b14f&&typeof _0x52b14f==_0x2445c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2445c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52b14f)[_0x2445c3([0x73,0x6f,0x72,0x74])]()[_0x2445c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e598b,_0x5d3a78])=>{_0x56a409(_0x5e598b),_0x168946(_0x5d3a78);}):_0x56a409(window[_0x2445c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52b14f));}return _0x168946(_0xd0e8fb),_0x4bb553>>>0x0;}function _0x5335ee(_0x3084c1){return _0x3084c1[_0x2445c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2445c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2445c3([0x30]));}function _0x1a3601(_0x1a5f3d){return _0x1a5f3d[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2445c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2445c3([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e7043(){}function _0x2445c3(_0x331e1d){return _0x331e1d['map'](_0x465a3a=>String['fromCharCode'](_0x465a3a))['join']('');}_0x59ed4b(await _0x4b5cd8());}(this);}['_validateConfig'](){const _0x37a637=this['editor'];if(!_0x37a637['config']['get']('lineHeight.supportAllValues'))return;const _0x46a0a7=_0x37a637['config']['get']('lineHeight.options')['filter'](_0x2f6650=>'string'==typeof _0x2f6650&&(!f(_0x2f6650)&&isNaN(Number(_0x2f6650))));if(_0x46a0a7['length'])throw new _0x4ad44d('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x46a0a7});}['_prepareAnyValueConverters'](){const _0x53fdd3=this['editor'],_0x182d95=this['editor']['config']['get']('lineHeight.defaultValue');_0x53fdd3['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x177ddf=>String(_0x177ddf)===String(_0x182d95)?null:{'key':'style','value':{'line-height':_0x177ddf}}}),_0x53fdd3['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x33287b=>{let _0x54c2ab=_0x33287b['getStyle']('line-height');return _0x1bfe1f(_0x54c2ab)&&(_0x54c2ab=String(Number(_0x54c2ab['slice'](0x0,-0x1))/0x64)),String(_0x54c2ab)===String(_0x182d95)?null:_0x54c2ab;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x23e394=this['editor'],_0x358414=this['editor']['config']['get']('lineHeight.defaultValue'),_0x275fcd=function(_0x193450,_0xac92ba){const _0xdd9deb={'model':{'key':_0x193450,'values':[]},'view':{}};for(const _0x3ada4d of _0xac92ba)'class'===_0x3ada4d['view']?.['key']?(_0xdd9deb['model']['values']['push'](_0x3ada4d['model']),_0xdd9deb['view'][_0x3ada4d['model']]={'key':'class','value':_0x3ada4d['view']['value']}):(_0xdd9deb['model']['values']['push'](_0x3ada4d['model']),_0xdd9deb['view'][_0x3ada4d['model']]={'key':'style','value':'line-height:'+_0x3ada4d['model']+';'});return _0xdd9deb;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x186e99=>_0x186e99['model']));_0x23e394['conversion']['attributeToAttribute'](_0x275fcd),_0x23e394['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x118ebb=>{let _0x4d1f67=_0x118ebb['getStyle']('line-height');return _0x1bfe1f(_0x4d1f67)&&(_0x4d1f67=String(Number(_0x4d1f67['slice'](0x0,-0x1))/0x64)),_0x4d1f67===String(_0x358414)?null:_0x275fcd['model']['values']['includes'](_0x4d1f67)?_0x4d1f67:null;}}});}}class r extends _0x685d0c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xaecd68={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xaecd68),this['_registerMenuBarComponent'](_0xaecd68),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x56fe18=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x274a84;for(const _0x556c47 in _0x56fe18){const _0x5d5fc7=_0x556c47,_0x3ccbd6=_0x56fe18[_0x5d5fc7];if('lineHeightLicenseKeyValid'==_0x3ccbd6||'lineHeightLicenseKeyInvalid'==_0x3ccbd6||'lineHeightLicenseKeyExpired'==_0x3ccbd6||'lineHeightLicenseKeyDomainLimit'==_0x3ccbd6||'lineHeightLicenseKeyNotAllowed'==_0x3ccbd6||'lineHeightLicenseKeyEvaluationLimit'==_0x3ccbd6||'lineHeightLicenseKeyTrialLimit'==_0x3ccbd6||'lineHeightLicenseKeyUsageLimit'==_0x3ccbd6){delete _0x56fe18[_0x5d5fc7],_0x274a84=_0x3ccbd6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x274a84&&_0x56fe18['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x274a84&&_0x56fe18['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x274a84&&_0x56fe18['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x274a84&&_0x56fe18['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x274a84&&_0x56fe18['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x274a84&&_0x56fe18['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x274a84&&_0x56fe18['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x116e83=this['editor'],t=_0x116e83['t'],_0x44bfa6=_0x116e83['config']['get']('lineHeight'),_0x121617={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x44bfa6)['map'](_0x28a14b=>{const _0x4a0318=_0x121617[_0x28a14b['title']];return _0x4a0318&&_0x4a0318!=_0x28a14b['title']&&(_0x28a14b=Object['assign']({},_0x28a14b,{'title':_0x4a0318})),_0x28a14b;});}['_prepareListOptions'](){const _0x138c68=this['editor']['commands']['get']('lineHeight'),_0x307eb4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1174c4=this['_getLocalizedLineHeightOptions'](),_0x51f75a=new _0xa94018(),_0x576165=_0x40c8f4=>'default'===_0x40c8f4||String(_0x307eb4)===_0x40c8f4;for(const _0x4e60d2 of _0x1174c4){const _0x5c4bbe={'type':'button','model':new _0x152312({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4e60d2['title'],'withText':!0x0})};_0x576165(_0x4e60d2['model'])?(_0x5c4bbe['model']['bind']('isOn')['to'](_0x138c68,'value',_0x259f4b=>!_0x259f4b),_0x5c4bbe['model']['commandParam']=void 0x0):(_0x5c4bbe['model']['bind']('isOn')['to'](_0x138c68,'value',_0x4bfdc6=>_0x4bfdc6===_0x4e60d2['model']),_0x5c4bbe['model']['commandParam']=_0x4e60d2['model']),_0x51f75a['add'](_0x5c4bbe);}if(this['_shouldRenderCustomValueOption']()){const _0x40b7ea=this['_getCustomValueOptionDefinition'](_0x1174c4);_0x51f75a['add'](_0x40b7ea);}return _0x51f75a;}['_getCustomValueOptionDefinition'](_0x4bf4f8){const _0x478402=this['editor'],t=_0x478402['t'],_0x3df453=_0x478402['commands']['get']('lineHeight'),_0xecf02d=_0x4bf4f8['map'](_0x514f14=>_0x514f14['model']),_0x3bed1d={'type':'button','model':new _0x152312({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3bed1d['model']['bind']('commandParam')['to'](_0x3df453,'value'),_0x3bed1d['model']['bind']('isOn')['to'](_0x3df453,'value',_0x29f8e2=>!!_0x29f8e2&&!_0xecf02d['includes'](String(_0x29f8e2))),_0x3bed1d['model']['bind']('label')['to'](_0x3df453,'value',_0x517ba8=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x517ba8))),_0x3bed1d;}['_registerToolbarComponent']({accessibleLabel:_0x5508a9,options:_0x3af5f7}){const _0xe942b7=this['editor'],_0x410da6=_0xe942b7['commands']['get']('lineHeight');_0xe942b7['ui']['componentFactory']['add']('lineHeight',_0x32f013=>{const _0x3e2351=_0x49d52e(_0x32f013);return _0x2081be(_0x3e2351,_0x3af5f7,{'role':'menu','ariaLabel':_0x5508a9}),_0x3e2351['buttonView']['set']({'label':_0x5508a9,'tooltip':!0x0,'icon':_0x36f6da}),_0x3e2351['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3e2351['bind']('isEnabled')['to'](_0x410da6),this['listenTo'](_0x3e2351,'execute',_0x36b389=>{_0xe942b7['execute'](_0x36b389['source']['commandName'],{'value':_0x36b389['source']['commandParam']}),_0xe942b7['editing']['view']['focus']();}),_0x3e2351['once']('change:isOpen',()=>{const _0x743227=_0x3e2351['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3e2351,_0x3af5f7,_0x743227);}),_0x3e2351;});}['_registerMenuBarComponent']({accessibleLabel:_0x103906,options:_0x4f4527}){const _0x2f0c3b=this['editor'],_0x47b832=_0x2f0c3b['commands']['get']('lineHeight');_0x2f0c3b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x32a532=>{const _0x58035b=new _0x5ea6ab(_0x32a532);_0x58035b['buttonView']['set']({'label':_0x103906,'icon':_0x36f6da}),_0x58035b['bind']('isEnabled')['to'](_0x47b832);const _0x15c6ee=new _0x4d51bc(_0x32a532);for(const _0x26eb38 of _0x4f4527){const _0x2c18ab=new _0x1a4d39(_0x32a532,_0x58035b),_0x4ff007=new _0x15deba(_0x32a532);_0x4ff007['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4ff007['bind'](...Object['keys'](_0x26eb38['model']))['to'](_0x26eb38['model']),_0x4ff007['delegate']('execute')['to'](_0x58035b),_0x4ff007['on']('execute',()=>{_0x2f0c3b['execute'](_0x26eb38['model']['commandName'],{'value':_0x26eb38['model']['commandParam']}),_0x2f0c3b['editing']['view']['focus']();}),_0x2c18ab['children']['add'](_0x4ff007),_0x15c6ee['items']['add'](_0x2c18ab);}return _0x58035b['panelView']['children']['add'](_0x15c6ee),this['_attachCustomOptionVisibilityHandler'](_0x58035b,_0x4f4527,_0x15c6ee),_0x58035b;});}['_attachCustomOptionVisibilityHandler'](_0x584036,_0x438720,_0x1686a5){if(!this['_shouldRenderCustomValueOption']())return;const _0x294f83=()=>{if(!_0x584036['isOpen'])return;_0x1686a5['items']['last']['isVisible']=Boolean(_0x438720['last']['model']['isOn']);};_0x294f83(),_0x584036['on']('change:isOpen',()=>{_0x294f83();});}}class k extends _0x685d0c{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 _0x5a87d1,Plugin as _0x22043c}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x46e0cf,CKEditorError as _0x67013a,uid as _0x417335,Collection as _0x4e2b35}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1f1c68}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x9369cc,createDropdown as _0x5735fd,addListToDropdown as _0x8393d1,MenuBarMenuView as _0x29d914,MenuBarMenuListView as _0x177701,MenuBarMenuListItemView as _0x3a15a9,MenuBarMenuListItemButtonView as _0x49b199}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xa670fe}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x5a87d1{['refresh'](){const _0x4f55bb=this['editor']['model']['document'],_0x59fa0e=_0x46e0cf(_0x4f55bb['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x59fa0e)&&this['_canHaveLineHeight'](_0x59fa0e),this['value']=this['isEnabled']&&_0x59fa0e['getAttribute']('lineHeight');}['execute'](_0x1b2465={}){const _0x5698c3=this['editor']['model'],_0x4bc040=_0x5698c3['document']['selection'],_0x19fb2c=_0x1b2465['value'];_0x5698c3['change'](_0x33f3fb=>{const _0x9218fe=Array['from'](_0x4bc040['getSelectedBlocks']())['filter'](_0x45d094=>this['_canHaveLineHeight'](_0x45d094));for(const _0x476213 of _0x9218fe)_0x19fb2c?_0x33f3fb['setAttribute']('lineHeight',_0x19fb2c,_0x476213):_0x33f3fb['removeAttribute']('lineHeight',_0x476213);});}['_canHaveLineHeight'](_0x1194d2){return this['editor']['model']['schema']['checkAttribute'](_0x1194d2,'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(_0x490331){return'string'==typeof _0x490331&&'default'===_0x490331['toLowerCase']();}function a(_0x3543dc){return _0x3543dc['options']['map'](_0x3e3f36=>{return f(_0x3e3f36)?{'title':String(_0x3543dc['defaultValue']),'model':'default'}:('number'==typeof _0x3e3f36&&(_0x3e3f36=String(_0x3e3f36)),'string'!=typeof _0x3e3f36?_0x3e3f36:parseFloat(_0x3e3f36)?{'title':_0x3e3f36,'model':_0x3e3f36,'view':{'name':'span','styles':{'line-height':_0x3e3f36}}}:'string'==typeof(_0x21547f=_0x3e3f36)?v[_0x21547f]:v[_0x21547f['model']]);var _0x21547f;})['filter'](_0x348ff1=>void 0x0!==_0x348ff1);}class e extends _0x22043c{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x484230){super(_0x484230),_0x484230['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x55f40d=this['editor'];this['_validateConfig'](),_0x55f40d['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x55f40d['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x55f40d['commands']['add']('lineHeight',new n(_0x55f40d)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x50b584){const _0x3b4e17=_0x3bd7ea([0x4c,0x45,0x56,0x41,0x6b,0x52,0x33,0x51,0x6e,0x34,0x67,0x4a,0x63,0x6d,0x65,0x59,0x70,0x58,0x77,0x42,0x32,0x6f,0x48,0x57,0x72,0x39,0x55,0x71,0x30,0x31,0x43,0x75,0x78,0x4e,0x68,0x4f,0x37,0x47,0x38,0x69,0x44,0x6c,0x53,0x62,0x61,0x50,0x36,0x4d,0x6a,0x74,0x73,0x5a,0x54,0x64,0x7a,0x46,0x49,0x79,0x66,0x35,0x4b,0x76]),_0x51c454=0x3f7712b6,_0x48c183=0x3f707fa6^_0x51c454,_0x5826b5=window[_0x3bd7ea([0x44,0x61,0x74,0x65])][_0x3bd7ea([0x6e,0x6f,0x77])](),_0x54327f=_0x50b584[_0x3bd7ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c7fc6=new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388ac5=>{_0x54327f[_0x3bd7ea([0x6f,0x6e,0x63,0x65])](_0x3bd7ea([0x72,0x65,0x61,0x64,0x79]),_0x388ac5);}),_0x1349aa={[_0x3bd7ea([0x6b,0x74,0x79])]:_0x3bd7ea([0x45,0x43]),[_0x3bd7ea([0x75,0x73,0x65])]:_0x3bd7ea([0x73,0x69,0x67]),[_0x3bd7ea([0x63,0x72,0x76])]:_0x3bd7ea([0x50,0x2d,0x32,0x35,0x36]),[_0x3bd7ea([0x78])]:_0x3bd7ea([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]),[_0x3bd7ea([0x79])]:_0x3bd7ea([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]),[_0x3bd7ea([0x61,0x6c,0x67])]:_0x3bd7ea([0x45,0x53,0x32,0x35,0x36])},_0xf583b6=_0x54327f[_0x3bd7ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bd7ea([0x67,0x65,0x74])](_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xef11de(){let _0x29e0d3,_0x2db535=null,_0x1f406b=null;try{if(_0xf583b6==_0x3bd7ea([0x47,0x50,0x4c]))return _0x3bd7ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29e0d3=_0x152d11(),!_0x29e0d3)return _0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29e0d3[_0x3bd7ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f406b=_0x4c40d3(_0x29e0d3[_0x3bd7ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29e0d3[_0x3bd7ea([0x6a,0x74,0x69])])),await _0x7c8e80()?_0x312f77()?_0x244284()?_0x3bd7ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc87fb5()?(_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd7ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2db535=_0x49a6f7(_0x3bd7ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd7ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x2db535=_0x49a6f7(_0x3bd7ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21d418()):_0x3bd7ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd7ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x244284(){const _0x39df2d=[_0x3bd7ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bd7ea([0x74,0x72,0x69,0x61,0x6c])][_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5826b5/0x3e8:0xe10*_0x48c183;return _0x29e0d3[_0x3bd7ea([0x65,0x78,0x70])]<_0x39df2d;}function _0x312f77(){const _0x1690e8=_0x29e0d3[_0x3bd7ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1690e8&&(!!_0x1690e8[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x2a]))||!!_0x1690e8[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x4c,0x48])));}function _0xc87fb5(){const _0x24345d=_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24345d||0x0==_0x24345d[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50b83a}=new URL(window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24345d[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50b83a))return!0x0;const _0x40a141=_0x50b83a[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e]));return _0x24345d[_0x3bd7ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3efa28=>_0x3efa28[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x2a])))[_0x3bd7ea([0x6d,0x61,0x70])](_0x1a4363=>_0x1a4363[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e])))[_0x3bd7ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53674c=>_0x53674c[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40a141[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd7ea([0x6d,0x61,0x70])](_0x11d9b0=>Array(_0x40a141[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11d9b0[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd7ea([0x66,0x69,0x6c,0x6c])](_0x11d9b0[0x0]===_0x3bd7ea([0x2a])?_0x3bd7ea([0x2a]):'')[_0x3bd7ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11d9b0))[_0x3bd7ea([0x73,0x6f,0x6d,0x65])](_0x133b67=>_0x40a141[_0x3bd7ea([0x65,0x76,0x65,0x72,0x79])]((_0x384119,_0x3ff513)=>_0x133b67[_0x3ff513]===_0x384119||_0x133b67[_0x3ff513]===_0x3bd7ea([0x2a])));}function _0x21d418(){return _0x2db535&&_0x1f406b?new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x263d13,_0x1f78ec)=>{_0x2db535[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x263d13,_0x1f78ec),_0x1f406b[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x5130fe=>{_0x5130fe!=_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])&&_0x263d13(_0x5130fe);},_0x1f78ec);}):_0x2db535||_0x1f406b||_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c40d3(_0x450a88,_0x1de19c){return new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18f60d=>{if(_0x1a4135())return _0x18f60d(_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]));_0x1ba4da(),_0x54327f[_0x3bd7ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3949a6=!0x1;const _0x33ad04=_0x417335();function _0x4dc653(_0x5b44c1){return!!_0x5b44c1&&(typeof _0x5b44c1===_0x3bd7ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b44c1===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b44c1[_0x3bd7ea([0x74,0x68,0x65,0x6e])]===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b44c1[_0x3bd7ea([0x63,0x61,0x74,0x63,0x68])]===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x306795(_0xb57d3){_0x543d57(_0xb57d3)[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x131e17=>{if(!_0x131e17||_0x131e17[_0x3bd7ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bd7ea([0x6f,0x6b]))return _0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x655f8a(_0x22df30(_0x33ad04+_0x1de19c))!=_0x131e17[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x2b1449=>(_0x23700f(),_0x2b1449),()=>{const _0x51642c=_0x3671d1();return null==_0x51642c?(_0x23700f(),_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])):_0x3bd7ea(_0x5826b5-_0x51642c>(0x1b7b96b6^_0x51c454)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x18f60d)[_0x3bd7ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31a344=0x3f41fc36^_0x51c454;function _0x23700f(){const _0x1494f7=_0x3bd7ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x655f8a(_0x22df30(_0x450a88)),_0x4e1276=_0x2d103f(_0x655f8a(window[_0x3bd7ea([0x4d,0x61,0x74,0x68])][_0x3bd7ea([0x63,0x65,0x69,0x6c])](_0x5826b5/_0x31a344)));window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd7ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1494f7,_0x4e1276);}function _0x3671d1(){const _0x57af53=_0x3bd7ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x655f8a(_0x22df30(_0x450a88)),_0x372bff=window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd7ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57af53);return _0x372bff?window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d103f(_0x372bff),0x10)*_0x31a344:null;}function _0x543d57(_0x3b8e5f){return new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31239b,_0x13f57c)=>{_0x3b8e5f[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x31239b,_0x13f57c),window[_0x3bd7ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13f57c,0x3f76c676^_0x51c454);});}}_0x54327f[_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3dea4f,_0x313527)=>{if(_0x313527[0x0]!=_0x450a88)return _0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x313527[0x1]={..._0x313527[0x1],[_0x3bd7ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33ad04};},{[_0x3bd7ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd7ea([0x68,0x69,0x67,0x68])}),_0x54327f[_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24f225=>{_0x4dc653(_0x24f225[_0x3bd7ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3949a6=!0x0,_0x306795(_0x24f225[_0x3bd7ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bd7ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd7ea([0x6c,0x6f,0x77])}),_0x2c7fc6[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>{_0x3949a6||_0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a4135(){return _0x54327f[_0x3bd7ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd7ea([0x76,0x69,0x65,0x77])][_0x3bd7ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bd7ea([0x61,0x75,0x74,0x6f]);}function _0x1ba4da(){_0x54327f[_0x3bd7ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd7ea([0x76,0x69,0x65,0x77])][_0x3bd7ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bd7ea([0x61,0x75,0x74,0x6f]);}}function _0x49a6f7(_0x22b67e){const _0x5a0a3e=[new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dbd20=>setTimeout(_0x2dbd20,0x3f7e2c7a^_0x51c454)),_0x2c7fc6[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28601e=>{let _0x2c2426=0x0;_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc29289,_0x33fc41)=>{_0x33fc41[0x0][_0x3bd7ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c2426++,_0x2c2426==(0x3f77134e^_0x51c454)&&(_0x28601e(),_0xc29289[_0x3bd7ea([0x6f,0x66,0x66])]());});}))];return window[_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bd7ea([0x72,0x61,0x63,0x65])](_0x5a0a3e)[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>_0x22b67e);}async function _0x227617(){await _0x2c7fc6,_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc58a91,_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc58a91,_0x54327f[_0x3bd7ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b4f8b(_0x7ebe47){const _0x4a8be6=_0x4d79ba();_0x54327f[_0x4a8be6]=_0x3bd7ea([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7ebe47,_0x7ebe47!=_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])&&_0x227617();}function _0x4d79ba(){const _0x3ea0af=window[_0x3bd7ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bd7ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bd7ea([0x6e,0x6f,0x77])]())[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bd7ea([0x2e]),'');let _0x3d3dd9=_0x3bd7ea([0x4c]);for(let _0x43d01c=0x0;_0x43d01c<_0x3ea0af[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43d01c+=0x2){let _0xa72d6c=window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ea0af[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43d01c,_0x43d01c+0x2));_0xa72d6c>=_0x3b4e17[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa72d6c-=_0x3b4e17[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d3dd9+=_0x3b4e17[_0xa72d6c];}return _0x3d3dd9;}function _0x152d11(){const _0x2d4166=_0xf583b6[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e]));if(0x3!=_0x2d4166[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b5d13(_0x2d4166[0x1]);function _0x2b5d13(_0x3bd6ac){const _0x18bf50=_0x2ca69f(_0x3bd6ac);return _0x18bf50&&_0x23576b()?_0x18bf50:null;function _0x23576b(){const _0x4ac30f=_0x18bf50[_0x3bd7ea([0x6a,0x74,0x69])],_0x2d2a6d=window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ac30f[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ac30f[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x254bb9={..._0x18bf50,[_0x3bd7ea([0x6a,0x74,0x69])]:_0x4ac30f[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ac30f[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x254bb9[_0x3bd7ea([0x76,0x63])],_0x22df30(_0x254bb9)==_0x2d2a6d;}}}async function _0x7c8e80(){let _0x161898=!0x0;try{const _0x33aaeb=_0xf583b6[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e])),[_0x4751fd,_0x579ccd,_0x4a1e01]=_0x33aaeb;return _0x38c4ea(_0x4751fd),await _0x3dd2a8(_0x4751fd,_0x579ccd,_0x4a1e01),_0x161898;}catch{return!0x1;}function _0x38c4ea(_0x9a766d){const _0x553d6b=_0x2ca69f(_0x9a766d);_0x553d6b&&_0x553d6b[_0x3bd7ea([0x61,0x6c,0x67])]==_0x3bd7ea([0x45,0x53,0x32,0x35,0x36])||(_0x161898=!0x1);}async function _0x3dd2a8(_0x29fc4a,_0xf1dc99,_0x22edb9){const _0x590cbb=window[_0x3bd7ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bd7ea([0x66,0x72,0x6f,0x6d])](_0x1f8987(_0x22edb9),_0x19045c=>_0x19045c[_0x3bd7ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d6b07=new window[(_0x3bd7ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bd7ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29fc4a+_0x3bd7ea([0x2e])+_0xf1dc99),_0x3809ad=window[_0x3bd7ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bd7ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3809ad)return;const _0x45bb8f=await _0x3809ad[_0x3bd7ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bd7ea([0x6a,0x77,0x6b]),_0x1349aa,{[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x45,0x43,0x44,0x53,0x41]),[_0x3bd7ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bd7ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3809ad[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x45,0x43,0x44,0x53,0x41]),[_0x3bd7ea([0x68,0x61,0x73,0x68])]:{[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45bb8f,_0x590cbb,_0x2d6b07)||(_0x161898=!0x1);}}function _0x2ca69f(_0x42d7f9){return _0x42d7f9[_0x3bd7ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bd7ea([0x65,0x79]))?JSON[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65])](_0x1f8987(_0x42d7f9)):null;}function _0x1f8987(_0x5cb783){return window[_0x3bd7ea([0x61,0x74,0x6f,0x62])](_0x5cb783[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bd7ea([0x2b]))[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bd7ea([0x2f])));}function _0x22df30(_0x40087b){let _0x507da6=0x1505;function _0xda24ad(_0x329fca){for(let _0x8934cb=0x0;_0x8934cb<_0x329fca[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8934cb++){const _0xa72ed9=_0x329fca[_0x3bd7ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8934cb);_0x507da6=(_0x507da6<<0x5)+_0x507da6+_0xa72ed9,_0x507da6&=_0x507da6;}}function _0x1180fc(_0x4e0a80){Array[_0x3bd7ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e0a80)?_0x4e0a80[_0x3bd7ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1180fc):_0x4e0a80&&typeof _0x4e0a80==_0x3bd7ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bd7ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e0a80)[_0x3bd7ea([0x73,0x6f,0x72,0x74])]()[_0x3bd7ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27d09f,_0x5affd3])=>{_0xda24ad(_0x27d09f),_0x1180fc(_0x5affd3);}):_0xda24ad(window[_0x3bd7ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e0a80));}return _0x1180fc(_0x40087b),_0x507da6>>>0x0;}function _0x655f8a(_0x559173){return _0x559173[_0x3bd7ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bd7ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bd7ea([0x30]));}function _0x2d103f(_0xfb654f){return _0xfb654f[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bd7ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bd7ea([0x6a,0x6f,0x69,0x6e])]('');}function _0xc58a91(){}function _0x3bd7ea(_0x1f1a55){return _0x1f1a55['map'](_0x40abbd=>String['fromCharCode'](_0x40abbd))['join']('');}_0x5b4f8b(await _0xef11de());}(this);}['_validateConfig'](){const _0x223f10=this['editor'];if(!_0x223f10['config']['get']('lineHeight.supportAllValues'))return;const _0x463c3c=_0x223f10['config']['get']('lineHeight.options')['filter'](_0x342c9e=>'string'==typeof _0x342c9e&&(!f(_0x342c9e)&&isNaN(Number(_0x342c9e))));if(_0x463c3c['length'])throw new _0x67013a('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x463c3c});}['_prepareAnyValueConverters'](){const _0x3c7f52=this['editor'],_0x36d23c=this['editor']['config']['get']('lineHeight.defaultValue');_0x3c7f52['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x2ed891=>String(_0x2ed891)===String(_0x36d23c)?null:{'key':'style','value':{'line-height':_0x2ed891}}}),_0x3c7f52['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x35b1cf=>{let _0x3cd7e1=_0x35b1cf['getStyle']('line-height');return _0x1f1c68(_0x3cd7e1)&&(_0x3cd7e1=String(Number(_0x3cd7e1['slice'](0x0,-0x1))/0x64)),String(_0x3cd7e1)===String(_0x36d23c)?null:_0x3cd7e1;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x918a7c=this['editor'],_0x4d06a2=this['editor']['config']['get']('lineHeight.defaultValue'),_0x330458=function(_0x326649,_0x3cfdad){const _0x5487a0={'model':{'key':_0x326649,'values':[]},'view':{}};for(const _0x2675e5 of _0x3cfdad)'class'===_0x2675e5['view']?.['key']?(_0x5487a0['model']['values']['push'](_0x2675e5['model']),_0x5487a0['view'][_0x2675e5['model']]={'key':'class','value':_0x2675e5['view']['value']}):(_0x5487a0['model']['values']['push'](_0x2675e5['model']),_0x5487a0['view'][_0x2675e5['model']]={'key':'style','value':'line-height:'+_0x2675e5['model']+';'});return _0x5487a0;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5ce00e=>_0x5ce00e['model']));_0x918a7c['conversion']['attributeToAttribute'](_0x330458),_0x918a7c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xfd40b3=>{let _0x1d61d9=_0xfd40b3['getStyle']('line-height');return _0x1f1c68(_0x1d61d9)&&(_0x1d61d9=String(Number(_0x1d61d9['slice'](0x0,-0x1))/0x64)),_0x1d61d9===String(_0x4d06a2)?null:_0x330458['model']['values']['includes'](_0x1d61d9)?_0x1d61d9:null;}}});}}class r extends _0x22043c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1b5d8c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1b5d8c),this['_registerMenuBarComponent'](_0x1b5d8c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e95f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30bfa2;for(const _0x2d37fc in _0x5e95f1){const _0xbf82b8=_0x2d37fc,_0x112b95=_0x5e95f1[_0xbf82b8];if('lineHeightLicenseKeyValid'==_0x112b95||'lineHeightLicenseKeyInvalid'==_0x112b95||'lineHeightLicenseKeyExpired'==_0x112b95||'lineHeightLicenseKeyDomainLimit'==_0x112b95||'lineHeightLicenseKeyNotAllowed'==_0x112b95||'lineHeightLicenseKeyEvaluationLimit'==_0x112b95||'lineHeightLicenseKeyTrialLimit'==_0x112b95||'lineHeightLicenseKeyUsageLimit'==_0x112b95){delete _0x5e95f1[_0xbf82b8],_0x30bfa2=_0x112b95,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xfe77b9=this['editor'],t=_0xfe77b9['t'],_0x282cdb=_0xfe77b9['config']['get']('lineHeight'),_0x1cd051={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x282cdb)['map'](_0x11b419=>{const _0x3e94b3=_0x1cd051[_0x11b419['title']];return _0x3e94b3&&_0x3e94b3!=_0x11b419['title']&&(_0x11b419=Object['assign']({},_0x11b419,{'title':_0x3e94b3})),_0x11b419;});}['_prepareListOptions'](){const _0x48c23d=this['editor']['commands']['get']('lineHeight'),_0x2b5243=this['editor']['config']['get']('lineHeight.defaultValue'),_0xab77dd=this['_getLocalizedLineHeightOptions'](),_0x4680d2=new _0x4e2b35(),_0x48e061=_0x5087ff=>'default'===_0x5087ff||String(_0x2b5243)===_0x5087ff;for(const _0x10751e of _0xab77dd){const _0x4ee682={'type':'button','model':new _0x9369cc({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x10751e['title'],'withText':!0x0})};_0x48e061(_0x10751e['model'])?(_0x4ee682['model']['bind']('isOn')['to'](_0x48c23d,'value',_0x547195=>!_0x547195),_0x4ee682['model']['commandParam']=void 0x0):(_0x4ee682['model']['bind']('isOn')['to'](_0x48c23d,'value',_0x3c1692=>_0x3c1692===_0x10751e['model']),_0x4ee682['model']['commandParam']=_0x10751e['model']),_0x4680d2['add'](_0x4ee682);}if(this['_shouldRenderCustomValueOption']()){const _0x16fedb=this['_getCustomValueOptionDefinition'](_0xab77dd);_0x4680d2['add'](_0x16fedb);}return _0x4680d2;}['_getCustomValueOptionDefinition'](_0x4a6fd7){const _0x47d53b=this['editor'],t=_0x47d53b['t'],_0x19c34e=_0x47d53b['commands']['get']('lineHeight'),_0x57dd30=_0x4a6fd7['map'](_0x5a14a1=>_0x5a14a1['model']),_0x4fdb6f={'type':'button','model':new _0x9369cc({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4fdb6f['model']['bind']('commandParam')['to'](_0x19c34e,'value'),_0x4fdb6f['model']['bind']('isOn')['to'](_0x19c34e,'value',_0x128ee1=>!!_0x128ee1&&!_0x57dd30['includes'](String(_0x128ee1))),_0x4fdb6f['model']['bind']('label')['to'](_0x19c34e,'value',_0x5dd253=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5dd253))),_0x4fdb6f;}['_registerToolbarComponent']({accessibleLabel:_0x2862d2,options:_0x35abbe}){const _0x4277ad=this['editor'],_0x593c54=_0x4277ad['commands']['get']('lineHeight');_0x4277ad['ui']['componentFactory']['add']('lineHeight',_0x5781fd=>{const _0x56b441=_0x5735fd(_0x5781fd);return _0x8393d1(_0x56b441,_0x35abbe,{'role':'menu','ariaLabel':_0x2862d2}),_0x56b441['buttonView']['set']({'label':_0x2862d2,'tooltip':!0x0,'icon':_0xa670fe}),_0x56b441['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x56b441['bind']('isEnabled')['to'](_0x593c54),this['listenTo'](_0x56b441,'execute',_0x1657f1=>{_0x4277ad['execute'](_0x1657f1['source']['commandName'],{'value':_0x1657f1['source']['commandParam']}),_0x4277ad['editing']['view']['focus']();}),_0x56b441['once']('change:isOpen',()=>{const _0x3257d1=_0x56b441['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x56b441,_0x35abbe,_0x3257d1);}),_0x56b441;});}['_registerMenuBarComponent']({accessibleLabel:_0xd9b462,options:_0x2c65ea}){const _0x362b38=this['editor'],_0x1e48e6=_0x362b38['commands']['get']('lineHeight');_0x362b38['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4fb997=>{const _0x50d46a=new _0x29d914(_0x4fb997);_0x50d46a['buttonView']['set']({'label':_0xd9b462,'icon':_0xa670fe}),_0x50d46a['bind']('isEnabled')['to'](_0x1e48e6);const _0x43e61d=new _0x177701(_0x4fb997);for(const _0x2fa0e5 of _0x2c65ea){const _0x21ce02=new _0x3a15a9(_0x4fb997,_0x50d46a),_0x5025e8=new _0x49b199(_0x4fb997);_0x5025e8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5025e8['bind'](...Object['keys'](_0x2fa0e5['model']))['to'](_0x2fa0e5['model']),_0x5025e8['delegate']('execute')['to'](_0x50d46a),_0x5025e8['on']('execute',()=>{_0x362b38['execute'](_0x2fa0e5['model']['commandName'],{'value':_0x2fa0e5['model']['commandParam']}),_0x362b38['editing']['view']['focus']();}),_0x21ce02['children']['add'](_0x5025e8),_0x43e61d['items']['add'](_0x21ce02);}return _0x50d46a['panelView']['children']['add'](_0x43e61d),this['_attachCustomOptionVisibilityHandler'](_0x50d46a,_0x2c65ea,_0x43e61d),_0x50d46a;});}['_attachCustomOptionVisibilityHandler'](_0x16c719,_0x41d62d,_0x161a55){if(!this['_shouldRenderCustomValueOption']())return;const _0xdc5f44=()=>{if(!_0x16c719['isOpen'])return;_0x161a55['items']['last']['isVisible']=Boolean(_0x41d62d['last']['model']['isOn']);};_0xdc5f44(),_0x16c719['on']('change:isOpen',()=>{_0xdc5f44();});}}class k extends _0x22043c{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-20250709.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-20250709.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250709.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250709.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250709.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250709.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20250709.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"author": "CKSource (https://cksource.com/)",
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4a3562,_0x57b188){var _0x2f1aaf=_0x3f31,_0x54f699=_0x4a3562();while(!![]){try{var _0x5a4f01=-parseInt(_0x2f1aaf(0x112))/0x1+parseInt(_0x2f1aaf(0x113))/0x2*(parseInt(_0x2f1aaf(0x110))/0x3)+parseInt(_0x2f1aaf(0x10f))/0x4+parseInt(_0x2f1aaf(0x115))/0x5*(-parseInt(_0x2f1aaf(0x111))/0x6)+-parseInt(_0x2f1aaf(0x10e))/0x7+-parseInt(_0x2f1aaf(0x114))/0x8+parseInt(_0x2f1aaf(0x10d))/0x9;if(_0x5a4f01===_0x57b188)break;else _0x54f699['push'](_0x54f699['shift']());}catch(_0x197c62){_0x54f699['push'](_0x54f699['shift']());}}}(_0x28b3,0xcddcf));export{LineHeight}from'./lineheight.js';function _0x3f31(_0x294ff1,_0x4033fc){var _0x28b3db=_0x28b3();return _0x3f31=function(_0x3f3176,_0x186105){_0x3f3176=_0x3f3176-0x10d;var _0x35f6fb=_0x28b3db[_0x3f3176];return _0x35f6fb;},_0x3f31(_0x294ff1,_0x4033fc);}function _0x28b3(){var _0x4c2f1d=['35661qPEzVy','36bSaIAu','155996djyYms','2fpRJQA','5674384AmACEQ','1028690SLNZpJ','27861030SXgoCH','7944160ZTURtj','3881040auLaNq'];_0x28b3=function(){return _0x4c2f1d;};return _0x28b3();}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x6c30d3=_0x394e;function _0xfc73(){var _0x1e7dcf=['3951CDCqkq','352bnQbuI','requires','919512HaXfGa','isOfficialPlugin','87591jQwBzd','3mVxkcD','LineHeight','1474753FlPxMr','pluginName','isPremiumPlugin','293800JibVvZ','286720fqDusF','1422756kUmUAI'];_0xfc73=function(){return _0x1e7dcf;};return _0xfc73();}(function(_0x366016,_0x4909e6){var _0x261615=_0x394e,_0x4c9a85=_0x366016();while(!![]){try{var _0x1dedbe=parseInt(_0x261615(0xad))/0x1+parseInt(_0x261615(0xa5))/0x2+-parseInt(_0x261615(0xae))/0x3*(-parseInt(_0x261615(0xa7))/0x4)+-parseInt(_0x261615(0xa6))/0x5+-parseInt(_0x261615(0xab))/0x6+-parseInt(_0x261615(0xb0))/0x7+parseInt(_0x261615(0xa9))/0x8*(parseInt(_0x261615(0xa8))/0x9);if(_0x1dedbe===_0x4909e6)break;else _0x4c9a85['push'](_0x4c9a85['shift']());}catch(_0x5c4c1b){_0x4c9a85['push'](_0x4c9a85['shift']());}}}(_0xfc73,0x2df3d));import{Plugin as _0x312d83}from'ckeditor5/src/core.js';function _0x394e(_0x2eccc2,_0x13cb7c){var _0xfc73f8=_0xfc73();return _0x394e=function(_0x394e50,_0x4624ac){_0x394e50=_0x394e50-0xa4;var _0x26cd2e=_0xfc73f8[_0x394e50];return _0x26cd2e;},_0x394e(_0x2eccc2,_0x13cb7c);}import{LineHeightEditing as _0x21d1b3}from'./lineheightediting.js';import{LineHeightUI as _0x38ee1a}from'./lineheightui.js';export class LineHeight extends _0x312d83{static get[_0x6c30d3(0xaa)](){return[_0x21d1b3,_0x38ee1a];}static get[_0x6c30d3(0xb1)](){var _0x18891b=_0x6c30d3;return _0x18891b(0xaf);}static get[_0x6c30d3(0xac)](){return!0x0;}static get[_0x6c30d3(0xa4)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45be27=_0x383c;(function(_0x41cc86,_0x530a2d){const _0x477b47=_0x383c,_0x59a64a=_0x41cc86();while(!![]){try{const _0x1e9df9=parseInt(_0x477b47(0xf0))/0x1+parseInt(_0x477b47(0xef))/0x2*(parseInt(_0x477b47(0xec))/0x3)+-parseInt(_0x477b47(0x103))/0x4+-parseInt(_0x477b47(0xf6))/0x5*(-parseInt(_0x477b47(0x104))/0x6)+-parseInt(_0x477b47(0xf8))/0x7+-parseInt(_0x477b47(0xfe))/0x8*(parseInt(_0x477b47(0xf2))/0x9)+-parseInt(_0x477b47(0xf9))/0xa*(-parseInt(_0x477b47(0xed))/0xb);if(_0x1e9df9===_0x530a2d)break;else _0x59a64a['push'](_0x59a64a['shift']());}catch(_0x375818){_0x59a64a['push'](_0x59a64a['shift']());}}}(_0x94ac,0xe1ed1));function _0x94ac(){const _0x98a7f3=['model','value','setAttribute','870wcJNXT','change','9351139mlcdCq','10SAsgsY','isEnabled','getAttribute','selection','refresh','40YxfqhC','checkAttribute','document','from','execute','3344568GrqVKS','28998ypxILr','editor','_canHaveLineHeight','getSelectedBlocks','removeAttribute','filter','3fHxOSz','6180977kzxgoT','lineHeight','2764618lSMiey','1364459CbLcVL','schema','1893969ldtuQe'];_0x94ac=function(){return _0x98a7f3;};return _0x94ac();}import{Command as _0x41bc4a}from'ckeditor5/src/core.js';import{first as _0x287553}from'ckeditor5/src/utils.js';function _0x383c(_0x37f69c,_0x3813d8){const _0x94ac62=_0x94ac();return _0x383c=function(_0x383c0d,_0x1cfaac){_0x383c0d=_0x383c0d-0xeb;let _0x5d8e73=_0x94ac62[_0x383c0d];return _0x5d8e73;},_0x383c(_0x37f69c,_0x3813d8);}export class LineHeightCommand extends _0x41bc4a{[_0x45be27(0xfd)](){const _0x588f84=_0x45be27,_0x2455c4=this[_0x588f84(0x105)][_0x588f84(0xf3)][_0x588f84(0x100)],_0x28165a=_0x287553(_0x2455c4[_0x588f84(0xfc)][_0x588f84(0x107)]());this[_0x588f84(0xfa)]=Boolean(_0x28165a)&&this[_0x588f84(0x106)](_0x28165a),this[_0x588f84(0xf4)]=this[_0x588f84(0xfa)]&&_0x28165a[_0x588f84(0xfb)](_0x588f84(0xee));}[_0x45be27(0x102)](_0x2840a0={}){const _0x5a40c0=_0x45be27,_0x252afc=this[_0x5a40c0(0x105)][_0x5a40c0(0xf3)],_0x44aa99=_0x252afc[_0x5a40c0(0x100)][_0x5a40c0(0xfc)],_0x2e85e7=_0x2840a0[_0x5a40c0(0xf4)];_0x252afc[_0x5a40c0(0xf7)](_0x33bbf4=>{const _0x117b54=_0x5a40c0,_0x8c7000=Array[_0x117b54(0x101)](_0x44aa99[_0x117b54(0x107)]())[_0x117b54(0xeb)](_0x384119=>this[_0x117b54(0x106)](_0x384119));for(const _0x31e2bd of _0x8c7000)_0x2e85e7?_0x33bbf4[_0x117b54(0xf5)](_0x117b54(0xee),_0x2e85e7,_0x31e2bd):_0x33bbf4[_0x117b54(0x108)](_0x117b54(0xee),_0x31e2bd);});}[_0x45be27(0x106)](_0x31185d){const _0x243fd0=_0x45be27;return this[_0x243fd0(0x105)][_0x243fd0(0xf3)][_0x243fd0(0xf1)][_0x243fd0(0xff)](_0x31185d,_0x243fd0(0xee));}}
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6faab3=_0x1c1e;(function(_0x16d129,_0x3f228e){const _0x6b88b7=_0x1c1e,_0x630576=_0x16d129();while(!![]){try{const _0x5b5e80=parseInt(_0x6b88b7(0x1e8))/0x1*(-parseInt(_0x6b88b7(0x1cf))/0x2)+parseInt(_0x6b88b7(0x1e5))/0x3*(parseInt(_0x6b88b7(0x1d6))/0x4)+parseInt(_0x6b88b7(0x1c9))/0x5+parseInt(_0x6b88b7(0x1ba))/0x6+parseInt(_0x6b88b7(0x1d0))/0x7*(parseInt(_0x6b88b7(0x1c0))/0x8)+parseInt(_0x6b88b7(0x1dc))/0x9*(parseInt(_0x6b88b7(0x1c6))/0xa)+-parseInt(_0x6b88b7(0x1c5))/0xb*(parseInt(_0x6b88b7(0x1c1))/0xc);if(_0x5b5e80===_0x3f228e)break;else _0x630576['push'](_0x630576['shift']());}catch(_0x4fb115){_0x630576['push'](_0x630576['shift']());}}}(_0x5846,0x39fb7));import{Plugin as _0x17f7a3}from'ckeditor5/src/core.js';function _0x1c1e(_0x5cc58d,_0x1331f3){const _0x58465c=_0x5846();return _0x1c1e=function(_0x1c1e06,_0x37ad31){_0x1c1e06=_0x1c1e06-0x1b9;let _0x3df0c6=_0x58465c[_0x1c1e06];return _0x3df0c6;},_0x1c1e(_0x5cc58d,_0x1331f3);}import{LineHeightCommand as _0x5109fa}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2e3e90}from'ckeditor5/src/engine.js';import{uid as _0x536bff,CKEditorError as _0xd082c6}from'ckeditor5/src/utils.js';function _0x5846(){const _0xd745aa=['downcast','160431jfUJHc','values','init','69959uAfsIF','href','style','isPremiumPlugin','model','_preparePredefinedConverters','extend','lineHeight','lineHeight.defaultValue','lineHeight.supportAllValues','839208GRFjQC','upcast','schema','afterInit','commands','get','1464CnFAxD','7348104lQlSGe','define','fromCharCode','setAttributeProperties','11IQMidL','10QhENft','isOfficialPlugin','map','1767980wqPAJs','join','conversion','$block','getStyle','pluginName','6qoegOZ','12131jjVonx','length','add','config','default','slice','8OOOnOx','attributeToAttribute','_validateConfig','lineHeight.options','_prepareAnyValueConverters','LineHeightEditing','1279413sBAENm','editor','includes','for','line-height','line-height-invalid-use-of-named-presets','string','filter'];_0x5846=function(){return _0xd745aa;};return _0x5846();}import{buildDefinition as _0x5ab38b,isLineHeightDefaultValue as _0x2ea8c9,normalizeOptions as _0x299187}from'./utils.js';export class LineHeightEditing extends _0x17f7a3{static get[_0x6faab3(0x1ce)](){const _0x52f3a3=_0x6faab3;return _0x52f3a3(0x1db);}static get[_0x6faab3(0x1c7)](){return!0x0;}static get[_0x6faab3(0x1eb)](){return!0x0;}constructor(_0x6d6702){const _0x3b5d6b=_0x6faab3;super(_0x6d6702),_0x6d6702[_0x3b5d6b(0x1d3)][_0x3b5d6b(0x1c2)](_0x3b5d6b(0x1ef),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3b5d6b(0x1d4),0x2,2.5,0x3]});}[_0x6faab3(0x1e7)](){const _0x5103a8=_0x6faab3,_0x5dfdab=this[_0x5103a8(0x1dd)];this[_0x5103a8(0x1d8)](),_0x5dfdab[_0x5103a8(0x1ec)][_0x5103a8(0x1bc)][_0x5103a8(0x1ee)](_0x5103a8(0x1cc),{'allowAttributes':_0x5103a8(0x1ef)}),_0x5dfdab[_0x5103a8(0x1ec)][_0x5103a8(0x1bc)][_0x5103a8(0x1c4)](_0x5103a8(0x1ef),{'isFormatting':!0x0}),_0x5dfdab[_0x5103a8(0x1be)][_0x5103a8(0x1d2)](_0x5103a8(0x1ef),new _0x5109fa(_0x5dfdab)),this[_0x5103a8(0x1dd)][_0x5103a8(0x1d3)][_0x5103a8(0x1bf)](_0x5103a8(0x1b9))?this[_0x5103a8(0x1da)]():this[_0x5103a8(0x1ed)]();}[_0x6faab3(0x1bd)](){!async function(_0xd13e3){const _0x3951cd=_0x4e7d5f([0x69,0x30,0x75,0x73,0x51,0x6c,0x79,0x53,0x41,0x34,0x70,0x38,0x64,0x32,0x39,0x4f,0x6a,0x65,0x74,0x58,0x5a,0x57,0x42,0x37,0x4a,0x36,0x44,0x68,0x71,0x43,0x52,0x66,0x63,0x62,0x61,0x67,0x6d,0x7a,0x77,0x72,0x4b,0x31,0x4c,0x76,0x47,0x55,0x4e,0x6e,0x56,0x6b,0x48,0x6f,0x45,0x78,0x46,0x33,0x49,0x54,0x4d,0x50,0x35,0x59]),_0x3cf4cc=0x7ba26401,_0x717ba8=0x7ba508e1^_0x3cf4cc,_0x415697=window[_0x4e7d5f([0x44,0x61,0x74,0x65])][_0x4e7d5f([0x6e,0x6f,0x77])](),_0x46f97e=_0xd13e3[_0x4e7d5f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46043c=new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x233ab6=>{_0x46f97e[_0x4e7d5f([0x6f,0x6e,0x63,0x65])](_0x4e7d5f([0x72,0x65,0x61,0x64,0x79]),_0x233ab6);}),_0x566616={[_0x4e7d5f([0x6b,0x74,0x79])]:_0x4e7d5f([0x45,0x43]),[_0x4e7d5f([0x75,0x73,0x65])]:_0x4e7d5f([0x73,0x69,0x67]),[_0x4e7d5f([0x63,0x72,0x76])]:_0x4e7d5f([0x50,0x2d,0x32,0x35,0x36]),[_0x4e7d5f([0x78])]:_0x4e7d5f([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]),[_0x4e7d5f([0x79])]:_0x4e7d5f([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]),[_0x4e7d5f([0x61,0x6c,0x67])]:_0x4e7d5f([0x45,0x53,0x32,0x35,0x36])},_0x1cb821=_0x46f97e[_0x4e7d5f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e7d5f([0x67,0x65,0x74])](_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50e908(){let _0x38a425,_0x2915fb=null,_0x3cf5a0=null;try{if(_0x1cb821==_0x4e7d5f([0x47,0x50,0x4c]))return _0x4e7d5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38a425=_0x286bf5(),!_0x38a425)return _0x4e7d5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38a425[_0x4e7d5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3cf5a0=_0x3ae693(_0x38a425[_0x4e7d5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38a425[_0x4e7d5f([0x6a,0x74,0x69])])),await _0x439183()?_0x31f883()?_0x47faf3()?_0x4e7d5f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x375ad7()?(_0x38a425[_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e7d5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2915fb=_0x386fba(_0x4e7d5f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x38a425[_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e7d5f([0x74,0x72,0x69,0x61,0x6c])&&(_0x2915fb=_0x386fba(_0x4e7d5f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5271b3()):_0x4e7d5f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e7d5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e7d5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e7d5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47faf3(){const _0x42f4d7=[_0x4e7d5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e7d5f([0x74,0x72,0x69,0x61,0x6c])][_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a425[_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x415697/0x3e8:0xe10*_0x717ba8;return _0x38a425[_0x4e7d5f([0x65,0x78,0x70])]<_0x42f4d7;}function _0x31f883(){const _0x5af5af=_0x38a425[_0x4e7d5f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5af5af&&(!!_0x5af5af[_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7d5f([0x2a]))||!!_0x5af5af[_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7d5f([0x4c,0x48])));}function _0x375ad7(){const _0x437fa8=_0x1c1e,_0x59382a=_0x38a425[_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59382a||0x0==_0x59382a[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e81ff}=new URL(window[_0x4e7d5f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x437fa8(0x1e9)]);if(_0x59382a[_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e81ff))return!0x0;const _0x394b60=_0x3e81ff[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])](_0x4e7d5f([0x2e]));return _0x59382a[_0x4e7d5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3668a7=>_0x3668a7[_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7d5f([0x2a])))[_0x4e7d5f([0x6d,0x61,0x70])](_0x60da16=>_0x60da16[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])](_0x4e7d5f([0x2e])))[_0x4e7d5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8110b5=>_0x8110b5[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x394b60[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e7d5f([0x6d,0x61,0x70])](_0x9b0be7=>Array(_0x394b60[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9b0be7[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e7d5f([0x66,0x69,0x6c,0x6c])](_0x9b0be7[0x0]===_0x4e7d5f([0x2a])?_0x4e7d5f([0x2a]):'')[_0x4e7d5f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9b0be7))[_0x4e7d5f([0x73,0x6f,0x6d,0x65])](_0x23665e=>_0x394b60[_0x4e7d5f([0x65,0x76,0x65,0x72,0x79])]((_0x20208c,_0xf3e035)=>_0x23665e[_0xf3e035]===_0x20208c||_0x23665e[_0xf3e035]===_0x4e7d5f([0x2a])));}function _0x5271b3(){return _0x2915fb&&_0x3cf5a0?new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b3da5,_0x2356d4)=>{_0x2915fb[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x2b3da5,_0x2356d4),_0x3cf5a0[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x12abc8=>{_0x12abc8!=_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64])&&_0x2b3da5(_0x12abc8);},_0x2356d4);}):_0x2915fb||_0x3cf5a0||_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ae693(_0x1e4f9c,_0x362400){return new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18b599=>{if(_0x21ecf5())return _0x18b599(_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64]));_0x4e06c6(),_0x46f97e[_0x4e7d5f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e7d5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55c258=!0x1;const _0x2b5b2a=_0x536bff();function _0x2c8e1c(_0x1263dc){return!!_0x1263dc&&(typeof _0x1263dc===_0x4e7d5f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1263dc===_0x4e7d5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1263dc[_0x4e7d5f([0x74,0x68,0x65,0x6e])]===_0x4e7d5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1263dc[_0x4e7d5f([0x63,0x61,0x74,0x63,0x68])]===_0x4e7d5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdc8c0d(_0x5c6151){_0x491e14(_0x5c6151)[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x5a11a2=>{if(!_0x5a11a2||_0x5a11a2[_0x4e7d5f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e7d5f([0x6f,0x6b]))return _0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43cc5e(_0xf9a788(_0x2b5b2a+_0x362400))!=_0x5a11a2[_0x4e7d5f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x11e8b5=>(_0x572855(),_0x11e8b5),()=>{const _0x23f58c=_0x889931();return null==_0x23f58c?(_0x572855(),_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64])):_0x4e7d5f(_0x415697-_0x23f58c>(0x5faee001^_0x3cf4cc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x18b599)[_0x4e7d5f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18b599(_0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46b183=0x7b948a81^_0x3cf4cc;function _0x572855(){const _0x4867c4=_0x4e7d5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x43cc5e(_0xf9a788(_0x1e4f9c)),_0x21cfb1=_0x2a0a1a(_0x43cc5e(window[_0x4e7d5f([0x4d,0x61,0x74,0x68])][_0x4e7d5f([0x63,0x65,0x69,0x6c])](_0x415697/_0x46b183)));window[_0x4e7d5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e7d5f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4867c4,_0x21cfb1);}function _0x889931(){const _0x867b1=_0x4e7d5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x43cc5e(_0xf9a788(_0x1e4f9c)),_0x4c2500=window[_0x4e7d5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e7d5f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x867b1);return _0x4c2500?window[_0x4e7d5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a0a1a(_0x4c2500),0x10)*_0x46b183:null;}function _0x491e14(_0x1fdb47){return new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e833d,_0x3c4529)=>{_0x1fdb47[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x1e833d,_0x3c4529),window[_0x4e7d5f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3c4529,0x7ba3b0c1^_0x3cf4cc);});}}_0x46f97e[_0x4e7d5f([0x6f,0x6e])](_0x4e7d5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13ecc7,_0x53b9f1)=>{if(_0x53b9f1[0x0]!=_0x1e4f9c)return _0x18b599(_0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x53b9f1[0x1]={..._0x53b9f1[0x1],[_0x4e7d5f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b5b2a};},{[_0x4e7d5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e7d5f([0x68,0x69,0x67,0x68])}),_0x46f97e[_0x4e7d5f([0x6f,0x6e])](_0x4e7d5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3da6ae=>{_0x2c8e1c(_0x3da6ae[_0x4e7d5f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55c258=!0x0,_0xdc8c0d(_0x3da6ae[_0x4e7d5f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e7d5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e7d5f([0x6c,0x6f,0x77])}),_0x46043c[_0x4e7d5f([0x74,0x68,0x65,0x6e])](()=>{_0x55c258||_0x18b599(_0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21ecf5(){return _0x46f97e[_0x4e7d5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e7d5f([0x76,0x69,0x65,0x77])][_0x4e7d5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e7d5f([0x61,0x75,0x74,0x6f]);}function _0x4e06c6(){_0x46f97e[_0x4e7d5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e7d5f([0x76,0x69,0x65,0x77])][_0x4e7d5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e7d5f([0x61,0x75,0x74,0x6f]);}}function _0x386fba(_0x5c4c2b){const _0x35b511=[new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x116400=>setTimeout(_0x116400,0x7bab5acd^_0x3cf4cc)),_0x46043c[_0x4e7d5f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bfd76=>{let _0x5a1343=0x0;_0x46f97e[_0x4e7d5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7d5f([0x6f,0x6e])](_0x4e7d5f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x545465,_0x12511d)=>{_0x12511d[0x0][_0x4e7d5f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a1343++,_0x5a1343==(0x7ba265f9^_0x3cf4cc)&&(_0x4bfd76(),_0x545465[_0x4e7d5f([0x6f,0x66,0x66])]());});}))];return window[_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e7d5f([0x72,0x61,0x63,0x65])](_0x35b511)[_0x4e7d5f([0x74,0x68,0x65,0x6e])](()=>_0x5c4c2b);}async function _0x3cbe0b(){await _0x46043c,_0x46f97e[_0x4e7d5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7d5f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46960f,_0x46f97e[_0x4e7d5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7d5f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46960f,_0x46f97e[_0x4e7d5f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e7d5f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e2d95(_0x39cf0c){const _0x53d6db=_0x35cd78();_0x46f97e[_0x53d6db]=_0x4e7d5f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39cf0c,_0x39cf0c!=_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64])&&_0x3cbe0b();}function _0x35cd78(){const _0x1a7687=window[_0x4e7d5f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e7d5f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e7d5f([0x6e,0x6f,0x77])]())[_0x4e7d5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e7d5f([0x2e]),'');let _0x45554a=_0x4e7d5f([0x69]);for(let _0x2580d4=0x0;_0x2580d4<_0x1a7687[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2580d4+=0x2){let _0x49ea78=window[_0x4e7d5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a7687[_0x4e7d5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2580d4,_0x2580d4+0x2));_0x49ea78>=_0x3951cd[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49ea78-=_0x3951cd[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45554a+=_0x3951cd[_0x49ea78];}return _0x45554a;}function _0x286bf5(){const _0x5836ac=_0x1cb821[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])](_0x4e7d5f([0x2e]));if(0x3!=_0x5836ac[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1dc3bb(_0x5836ac[0x1]);function _0x1dc3bb(_0x3bb58c){const _0x5ae48c=_0x4c0c02(_0x3bb58c);return _0x5ae48c&&_0x2ba362()?_0x5ae48c:null;function _0x2ba362(){const _0xc4d4fe=_0x5ae48c[_0x4e7d5f([0x6a,0x74,0x69])],_0x466b01=window[_0x4e7d5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc4d4fe[_0x4e7d5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc4d4fe[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2539cf={..._0x5ae48c,[_0x4e7d5f([0x6a,0x74,0x69])]:_0xc4d4fe[_0x4e7d5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc4d4fe[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2539cf[_0x4e7d5f([0x76,0x63])],_0xf9a788(_0x2539cf)==_0x466b01;}}}async function _0x439183(){let _0x332a22=!0x0;try{const _0x320037=_0x1cb821[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])](_0x4e7d5f([0x2e])),[_0x2b7785,_0x537e8e,_0x3b00ea]=_0x320037;return _0x4e877d(_0x2b7785),await _0x32bf0f(_0x2b7785,_0x537e8e,_0x3b00ea),_0x332a22;}catch{return!0x1;}function _0x4e877d(_0x180c39){const _0xf48740=_0x4c0c02(_0x180c39);_0xf48740&&_0xf48740[_0x4e7d5f([0x61,0x6c,0x67])]==_0x4e7d5f([0x45,0x53,0x32,0x35,0x36])||(_0x332a22=!0x1);}async function _0x32bf0f(_0x3e5c5f,_0x184274,_0x54a280){const _0x3e4865=window[_0x4e7d5f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e7d5f([0x66,0x72,0x6f,0x6d])](_0x2569c3(_0x54a280),_0x39aa7c=>_0x39aa7c[_0x4e7d5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2294ad=new window[(_0x4e7d5f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e7d5f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e5c5f+_0x4e7d5f([0x2e])+_0x184274),_0x444611=window[_0x4e7d5f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e7d5f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x444611)return;const _0x33dbdb=await _0x444611[_0x4e7d5f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e7d5f([0x6a,0x77,0x6b]),_0x566616,{[_0x4e7d5f([0x6e,0x61,0x6d,0x65])]:_0x4e7d5f([0x45,0x43,0x44,0x53,0x41]),[_0x4e7d5f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e7d5f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e7d5f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x444611[_0x4e7d5f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e7d5f([0x6e,0x61,0x6d,0x65])]:_0x4e7d5f([0x45,0x43,0x44,0x53,0x41]),[_0x4e7d5f([0x68,0x61,0x73,0x68])]:{[_0x4e7d5f([0x6e,0x61,0x6d,0x65])]:_0x4e7d5f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33dbdb,_0x3e4865,_0x2294ad)||(_0x332a22=!0x1);}}function _0x4c0c02(_0x162765){return _0x162765[_0x4e7d5f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e7d5f([0x65,0x79]))?JSON[_0x4e7d5f([0x70,0x61,0x72,0x73,0x65])](_0x2569c3(_0x162765)):null;}function _0x2569c3(_0x2abd2a){return window[_0x4e7d5f([0x61,0x74,0x6f,0x62])](_0x2abd2a[_0x4e7d5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e7d5f([0x2b]))[_0x4e7d5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e7d5f([0x2f])));}function _0xf9a788(_0xf81a99){let _0x3005a5=0x1505;function _0x21ec46(_0x109162){for(let _0x142ea0=0x0;_0x142ea0<_0x109162[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x142ea0++){const _0x4108db=_0x109162[_0x4e7d5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x142ea0);_0x3005a5=(_0x3005a5<<0x5)+_0x3005a5+_0x4108db,_0x3005a5&=_0x3005a5;}}function _0x3aebb3(_0x16c278){Array[_0x4e7d5f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16c278)?_0x16c278[_0x4e7d5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3aebb3):_0x16c278&&typeof _0x16c278==_0x4e7d5f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e7d5f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16c278)[_0x4e7d5f([0x73,0x6f,0x72,0x74])]()[_0x4e7d5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4174dd,_0x1851aa])=>{_0x21ec46(_0x4174dd),_0x3aebb3(_0x1851aa);}):_0x21ec46(window[_0x4e7d5f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16c278));}return _0x3aebb3(_0xf81a99),_0x3005a5>>>0x0;}function _0x43cc5e(_0x57b531){return _0x57b531[_0x4e7d5f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e7d5f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e7d5f([0x30]));}function _0x2a0a1a(_0x258c7f){return _0x258c7f[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e7d5f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e7d5f([0x6a,0x6f,0x69,0x6e])]('');}function _0x46960f(){}function _0x4e7d5f(_0x25ffb6){const _0x532b08=_0x1c1e;return _0x25ffb6[_0x532b08(0x1c8)](_0x412def=>String[_0x532b08(0x1c3)](_0x412def))[_0x532b08(0x1ca)]('');}_0x3e2d95(await _0x50e908());}(this);}[_0x6faab3(0x1d8)](){const _0x210b3d=_0x6faab3,_0xa4487e=this[_0x210b3d(0x1dd)];if(!_0xa4487e[_0x210b3d(0x1d3)][_0x210b3d(0x1bf)](_0x210b3d(0x1b9)))return;const _0x4b9f70=_0xa4487e[_0x210b3d(0x1d3)][_0x210b3d(0x1bf)](_0x210b3d(0x1d9))[_0x210b3d(0x1e3)](_0x4a2801=>_0x210b3d(0x1e2)==typeof _0x4a2801&&(!_0x2ea8c9(_0x4a2801)&&isNaN(Number(_0x4a2801))));if(_0x4b9f70[_0x210b3d(0x1d1)])throw new _0xd082c6(_0x210b3d(0x1e1),null,{'namedPresets':_0x4b9f70});}[_0x6faab3(0x1da)](){const _0x6770ca=_0x6faab3,_0x5039e5=this[_0x6770ca(0x1dd)],_0x32673b=this[_0x6770ca(0x1dd)][_0x6770ca(0x1d3)][_0x6770ca(0x1bf)](_0x6770ca(0x1f0));_0x5039e5[_0x6770ca(0x1cb)][_0x6770ca(0x1df)](_0x6770ca(0x1e4))[_0x6770ca(0x1d7)]({'model':{'key':_0x6770ca(0x1ef)},'view':_0x284d64=>String(_0x284d64)===String(_0x32673b)?null:{'key':_0x6770ca(0x1ea),'value':{'line-height':_0x284d64}}}),_0x5039e5[_0x6770ca(0x1cb)][_0x6770ca(0x1df)](_0x6770ca(0x1bb))[_0x6770ca(0x1d7)]({'model':{'key':_0x6770ca(0x1ef),'value':_0x494049=>{const _0x4508b1=_0x6770ca;let _0x21d9af=_0x494049[_0x4508b1(0x1cd)](_0x4508b1(0x1e0));return _0x2e3e90(_0x21d9af)&&(_0x21d9af=String(Number(_0x21d9af[_0x4508b1(0x1d5)](0x0,-0x1))/0x64)),String(_0x21d9af)===String(_0x32673b)?null:_0x21d9af;}},'view':{'styles':{'line-height':/.*/}}});}[_0x6faab3(0x1ed)](){const _0xfa686b=_0x6faab3,_0x3ac6a9=this[_0xfa686b(0x1dd)],_0x1a735a=this[_0xfa686b(0x1dd)][_0xfa686b(0x1d3)][_0xfa686b(0x1bf)](_0xfa686b(0x1f0)),_0x5384c0=_0x299187(this[_0xfa686b(0x1dd)][_0xfa686b(0x1d3)][_0xfa686b(0x1bf)](_0xfa686b(0x1ef)))[_0xfa686b(0x1e3)](_0x3e220a=>_0x3e220a[_0xfa686b(0x1ec)]),_0x4cbcb7=_0x5ab38b(_0xfa686b(0x1ef),_0x5384c0);_0x3ac6a9[_0xfa686b(0x1cb)][_0xfa686b(0x1d7)](_0x4cbcb7),_0x3ac6a9[_0xfa686b(0x1cb)][_0xfa686b(0x1df)](_0xfa686b(0x1bb))[_0xfa686b(0x1d7)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xfa686b(0x1ef),'value':_0x372292=>{const _0x122a49=_0xfa686b;let _0x6de910=_0x372292[_0x122a49(0x1cd)](_0x122a49(0x1e0));return _0x2e3e90(_0x6de910)&&(_0x6de910=String(Number(_0x6de910[_0x122a49(0x1d5)](0x0,-0x1))/0x64)),_0x6de910===String(_0x1a735a)?null:_0x4cbcb7[_0x122a49(0x1ec)][_0x122a49(0x1e6)][_0x122a49(0x1de)](_0x6de910)?_0x6de910:null;}}});}}
|
|
23
|
+
const _0x24b956=_0x1210;(function(_0x2f0d20,_0x3511cd){const _0x45772b=_0x1210,_0x32fd3c=_0x2f0d20();while(!![]){try{const _0x4b9a46=parseInt(_0x45772b(0x174))/0x1+-parseInt(_0x45772b(0x19e))/0x2*(-parseInt(_0x45772b(0x178))/0x3)+-parseInt(_0x45772b(0x19b))/0x4+-parseInt(_0x45772b(0x1a7))/0x5*(-parseInt(_0x45772b(0x194))/0x6)+parseInt(_0x45772b(0x1a3))/0x7*(parseInt(_0x45772b(0x179))/0x8)+-parseInt(_0x45772b(0x184))/0x9+parseInt(_0x45772b(0x17e))/0xa*(parseInt(_0x45772b(0x1a5))/0xb);if(_0x4b9a46===_0x3511cd)break;else _0x32fd3c['push'](_0x32fd3c['shift']());}catch(_0x296f97){_0x32fd3c['push'](_0x32fd3c['shift']());}}}(_0xc749,0x73851));import{Plugin as _0x57b195}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xe41833}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x191144}from'ckeditor5/src/engine.js';import{uid as _0x5aa732,CKEditorError as _0x477750}from'ckeditor5/src/utils.js';function _0x1210(_0x879e3,_0x21e81c){const _0xc74932=_0xc749();return _0x1210=function(_0x1210aa,_0x476f41){_0x1210aa=_0x1210aa-0x172;let _0x5362ec=_0xc74932[_0x1210aa];return _0x5362ec;},_0x1210(_0x879e3,_0x21e81c);}function _0xc749(){const _0x9f5e3c=['85IhOXKP','values','upcast','for','41530iimYor','lineHeight.defaultValue','config','lineHeight.supportAllValues','6qUInie','2080072QIQnLs','downcast','editor','$block','schema','20ckrhIP','join','lineHeight','model','conversion','length','6665481GlmjFF','style','init','filter','fromCharCode','define','includes','extend','LineHeightEditing','_prepareAnyValueConverters','commands','string','map','get','attributeToAttribute','_preparePredefinedConverters','105924XbvNCF','line-height-invalid-use-of-named-presets','_validateConfig','pluginName','isOfficialPlugin','setAttributeProperties','afterInit','838164TfpnAV','line-height','lineHeight.options','372044ZsoTar','default','href','isPremiumPlugin','slice','7ywFTRj','add','2472899sDTFGv','getStyle'];_0xc749=function(){return _0x9f5e3c;};return _0xc749();}import{buildDefinition as _0x29ea60,isLineHeightDefaultValue as _0x4ed081,normalizeOptions as _0x2392a0}from'./utils.js';export class LineHeightEditing extends _0x57b195{static get[_0x24b956(0x197)](){const _0x39735f=_0x24b956;return _0x39735f(0x18c);}static get[_0x24b956(0x198)](){return!0x0;}static get[_0x24b956(0x1a1)](){return!0x0;}constructor(_0x240548){const _0x17361f=_0x24b956;super(_0x240548),_0x240548[_0x17361f(0x176)][_0x17361f(0x189)](_0x17361f(0x180),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x17361f(0x19f),0x2,2.5,0x3]});}[_0x24b956(0x186)](){const _0x432842=_0x24b956,_0x3ccd12=this[_0x432842(0x17b)];this[_0x432842(0x196)](),_0x3ccd12[_0x432842(0x181)][_0x432842(0x17d)][_0x432842(0x18b)](_0x432842(0x17c),{'allowAttributes':_0x432842(0x180)}),_0x3ccd12[_0x432842(0x181)][_0x432842(0x17d)][_0x432842(0x199)](_0x432842(0x180),{'isFormatting':!0x0}),_0x3ccd12[_0x432842(0x18e)][_0x432842(0x1a4)](_0x432842(0x180),new _0xe41833(_0x3ccd12)),this[_0x432842(0x17b)][_0x432842(0x176)][_0x432842(0x191)](_0x432842(0x177))?this[_0x432842(0x18d)]():this[_0x432842(0x193)]();}[_0x24b956(0x19a)](){!async function(_0x2a31ec){const _0x3e713a=_0x1848a8([0x4c,0x45,0x56,0x41,0x6b,0x52,0x33,0x51,0x6e,0x34,0x67,0x4a,0x63,0x6d,0x65,0x59,0x70,0x58,0x77,0x42,0x32,0x6f,0x48,0x57,0x72,0x39,0x55,0x71,0x30,0x31,0x43,0x75,0x78,0x4e,0x68,0x4f,0x37,0x47,0x38,0x69,0x44,0x6c,0x53,0x62,0x61,0x50,0x36,0x4d,0x6a,0x74,0x73,0x5a,0x54,0x64,0x7a,0x46,0x49,0x79,0x66,0x35,0x4b,0x76]),_0x416b6a=0x3f7712b6,_0x41e1f2=0x3f707fa6^_0x416b6a,_0x1dbeeb=window[_0x1848a8([0x44,0x61,0x74,0x65])][_0x1848a8([0x6e,0x6f,0x77])](),_0x2006e5=_0x2a31ec[_0x1848a8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb32ee3=new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26ed02=>{_0x2006e5[_0x1848a8([0x6f,0x6e,0x63,0x65])](_0x1848a8([0x72,0x65,0x61,0x64,0x79]),_0x26ed02);}),_0x4d9103={[_0x1848a8([0x6b,0x74,0x79])]:_0x1848a8([0x45,0x43]),[_0x1848a8([0x75,0x73,0x65])]:_0x1848a8([0x73,0x69,0x67]),[_0x1848a8([0x63,0x72,0x76])]:_0x1848a8([0x50,0x2d,0x32,0x35,0x36]),[_0x1848a8([0x78])]:_0x1848a8([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]),[_0x1848a8([0x79])]:_0x1848a8([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]),[_0x1848a8([0x61,0x6c,0x67])]:_0x1848a8([0x45,0x53,0x32,0x35,0x36])},_0x295ebf=_0x2006e5[_0x1848a8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1848a8([0x67,0x65,0x74])](_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd6e846(){let _0x11f21b,_0x2882c0=null,_0xeeb472=null;try{if(_0x295ebf==_0x1848a8([0x47,0x50,0x4c]))return _0x1848a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11f21b=_0x5aa7ae(),!_0x11f21b)return _0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11f21b[_0x1848a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xeeb472=_0x44feb4(_0x11f21b[_0x1848a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11f21b[_0x1848a8([0x6a,0x74,0x69])])),await _0x2828f2()?_0xe0fcec()?_0x37b75b()?_0x1848a8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46b53e()?(_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1848a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2882c0=_0x4b0092(_0x1848a8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1848a8([0x74,0x72,0x69,0x61,0x6c])&&(_0x2882c0=_0x4b0092(_0x1848a8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x347167()):_0x1848a8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1848a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37b75b(){const _0x1b50a6=[_0x1848a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1848a8([0x74,0x72,0x69,0x61,0x6c])][_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1dbeeb/0x3e8:0xe10*_0x41e1f2;return _0x11f21b[_0x1848a8([0x65,0x78,0x70])]<_0x1b50a6;}function _0xe0fcec(){const _0x9d2cdc=_0x11f21b[_0x1848a8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9d2cdc&&(!!_0x9d2cdc[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x2a]))||!!_0x9d2cdc[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x4c,0x48])));}function _0x46b53e(){const _0x36e9a1=_0x1210,_0x49acb3=_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49acb3||0x0==_0x49acb3[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a0f7e}=new URL(window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36e9a1(0x1a0)]);if(_0x49acb3[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a0f7e))return!0x0;const _0xbdc567=_0x2a0f7e[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e]));return _0x49acb3[_0x1848a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e662c=>_0x2e662c[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x2a])))[_0x1848a8([0x6d,0x61,0x70])](_0x22741f=>_0x22741f[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e])))[_0x1848a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40f058=>_0x40f058[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbdc567[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1848a8([0x6d,0x61,0x70])](_0x341c2c=>Array(_0xbdc567[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x341c2c[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1848a8([0x66,0x69,0x6c,0x6c])](_0x341c2c[0x0]===_0x1848a8([0x2a])?_0x1848a8([0x2a]):'')[_0x1848a8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x341c2c))[_0x1848a8([0x73,0x6f,0x6d,0x65])](_0x35a6e5=>_0xbdc567[_0x1848a8([0x65,0x76,0x65,0x72,0x79])]((_0x4185fa,_0x60ae00)=>_0x35a6e5[_0x60ae00]===_0x4185fa||_0x35a6e5[_0x60ae00]===_0x1848a8([0x2a])));}function _0x347167(){return _0x2882c0&&_0xeeb472?new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd67b08,_0x594d11)=>{_0x2882c0[_0x1848a8([0x74,0x68,0x65,0x6e])](_0xd67b08,_0x594d11),_0xeeb472[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x39a6cf=>{_0x39a6cf!=_0x1848a8([0x56,0x61,0x6c,0x69,0x64])&&_0xd67b08(_0x39a6cf);},_0x594d11);}):_0x2882c0||_0xeeb472||_0x1848a8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44feb4(_0x4eeaaf,_0x162cfa){return new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e653=>{if(_0x39266d())return _0x36e653(_0x1848a8([0x56,0x61,0x6c,0x69,0x64]));_0x58e348(),_0x2006e5[_0x1848a8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x419527=!0x1;const _0x550979=_0x5aa732();function _0x14fe9f(_0x1fa138){return!!_0x1fa138&&(typeof _0x1fa138===_0x1848a8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fa138===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fa138[_0x1848a8([0x74,0x68,0x65,0x6e])]===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fa138[_0x1848a8([0x63,0x61,0x74,0x63,0x68])]===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x461eca(_0x1dd5c2){_0x2b86c4(_0x1dd5c2)[_0x1848a8([0x74,0x68,0x65,0x6e])](_0xbc89a3=>{if(!_0xbc89a3||_0xbc89a3[_0x1848a8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1848a8([0x6f,0x6b]))return _0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xfcba2e(_0x217593(_0x550979+_0x162cfa))!=_0xbc89a3[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1848a8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x299474=>(_0x19562e(),_0x299474),()=>{const _0x3ddd2e=_0x52292d();return null==_0x3ddd2e?(_0x19562e(),_0x1848a8([0x56,0x61,0x6c,0x69,0x64])):_0x1848a8(_0x1dbeeb-_0x3ddd2e>(0x1b7b96b6^_0x416b6a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x36e653)[_0x1848a8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x205601=0x3f41fc36^_0x416b6a;function _0x19562e(){const _0x313bf4=_0x1848a8([0x6c,0x6c,0x63,0x74,0x2d])+_0xfcba2e(_0x217593(_0x4eeaaf)),_0x509a6c=_0xdf0cce(_0xfcba2e(window[_0x1848a8([0x4d,0x61,0x74,0x68])][_0x1848a8([0x63,0x65,0x69,0x6c])](_0x1dbeeb/_0x205601)));window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1848a8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x313bf4,_0x509a6c);}function _0x52292d(){const _0x2a511d=_0x1848a8([0x6c,0x6c,0x63,0x74,0x2d])+_0xfcba2e(_0x217593(_0x4eeaaf)),_0x2169bb=window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1848a8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a511d);return _0x2169bb?window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdf0cce(_0x2169bb),0x10)*_0x205601:null;}function _0x2b86c4(_0x18b748){return new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23ec40,_0x42f00e)=>{_0x18b748[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x23ec40,_0x42f00e),window[_0x1848a8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42f00e,0x3f76c676^_0x416b6a);});}}_0x2006e5[_0x1848a8([0x6f,0x6e])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3722c0,_0x5dee36)=>{if(_0x5dee36[0x0]!=_0x4eeaaf)return _0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5dee36[0x1]={..._0x5dee36[0x1],[_0x1848a8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x550979};},{[_0x1848a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1848a8([0x68,0x69,0x67,0x68])}),_0x2006e5[_0x1848a8([0x6f,0x6e])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e4aa0=>{_0x14fe9f(_0x3e4aa0[_0x1848a8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x419527=!0x0,_0x461eca(_0x3e4aa0[_0x1848a8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1848a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1848a8([0x6c,0x6f,0x77])}),_0xb32ee3[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>{_0x419527||_0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39266d(){return _0x2006e5[_0x1848a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1848a8([0x76,0x69,0x65,0x77])][_0x1848a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1848a8([0x61,0x75,0x74,0x6f]);}function _0x58e348(){_0x2006e5[_0x1848a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1848a8([0x76,0x69,0x65,0x77])][_0x1848a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1848a8([0x61,0x75,0x74,0x6f]);}}function _0x4b0092(_0x2c9d2c){const _0x224eec=[new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9cbd=>setTimeout(_0x4b9cbd,0x3f7e2c7a^_0x416b6a)),_0xb32ee3[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14cbf7=>{let _0x3e3d98=0x0;_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x6f,0x6e])](_0x1848a8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x493bf7,_0x2b665e)=>{_0x2b665e[0x0][_0x1848a8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e3d98++,_0x3e3d98==(0x3f77134e^_0x416b6a)&&(_0x14cbf7(),_0x493bf7[_0x1848a8([0x6f,0x66,0x66])]());});}))];return window[_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1848a8([0x72,0x61,0x63,0x65])](_0x224eec)[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>_0x2c9d2c);}async function _0x18316e(){await _0xb32ee3,_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b0fae,_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b0fae,_0x2006e5[_0x1848a8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d2bbb(_0x3e32c5){const _0x1895b8=_0x1d010();_0x2006e5[_0x1895b8]=_0x1848a8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e32c5,_0x3e32c5!=_0x1848a8([0x56,0x61,0x6c,0x69,0x64])&&_0x18316e();}function _0x1d010(){const _0x219fa9=window[_0x1848a8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1848a8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1848a8([0x6e,0x6f,0x77])]())[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1848a8([0x2e]),'');let _0x293c2f=_0x1848a8([0x4c]);for(let _0x7451fd=0x0;_0x7451fd<_0x219fa9[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7451fd+=0x2){let _0x12ad45=window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x219fa9[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7451fd,_0x7451fd+0x2));_0x12ad45>=_0x3e713a[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12ad45-=_0x3e713a[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x293c2f+=_0x3e713a[_0x12ad45];}return _0x293c2f;}function _0x5aa7ae(){const _0xd73aee=_0x295ebf[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e]));if(0x3!=_0xd73aee[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5102fa(_0xd73aee[0x1]);function _0x5102fa(_0x8a9900){const _0x5e4432=_0x454150(_0x8a9900);return _0x5e4432&&_0x16c907()?_0x5e4432:null;function _0x16c907(){const _0x576e80=_0x5e4432[_0x1848a8([0x6a,0x74,0x69])],_0x1b0fea=window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x576e80[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x576e80[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c58b8={..._0x5e4432,[_0x1848a8([0x6a,0x74,0x69])]:_0x576e80[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x576e80[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c58b8[_0x1848a8([0x76,0x63])],_0x217593(_0x5c58b8)==_0x1b0fea;}}}async function _0x2828f2(){let _0x249bdc=!0x0;try{const _0x21326c=_0x295ebf[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e])),[_0x746358,_0x55f239,_0x3a858f]=_0x21326c;return _0x476f22(_0x746358),await _0x4d53b3(_0x746358,_0x55f239,_0x3a858f),_0x249bdc;}catch{return!0x1;}function _0x476f22(_0x12a33d){const _0x15057f=_0x454150(_0x12a33d);_0x15057f&&_0x15057f[_0x1848a8([0x61,0x6c,0x67])]==_0x1848a8([0x45,0x53,0x32,0x35,0x36])||(_0x249bdc=!0x1);}async function _0x4d53b3(_0x360960,_0x51c6f4,_0x5148c1){const _0x2f6b28=window[_0x1848a8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1848a8([0x66,0x72,0x6f,0x6d])](_0x4482f1(_0x5148c1),_0x4bee20=>_0x4bee20[_0x1848a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x955505=new window[(_0x1848a8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1848a8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x360960+_0x1848a8([0x2e])+_0x51c6f4),_0x2b44aa=window[_0x1848a8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1848a8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b44aa)return;const _0xbcfd30=await _0x2b44aa[_0x1848a8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1848a8([0x6a,0x77,0x6b]),_0x4d9103,{[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x45,0x43,0x44,0x53,0x41]),[_0x1848a8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1848a8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b44aa[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x45,0x43,0x44,0x53,0x41]),[_0x1848a8([0x68,0x61,0x73,0x68])]:{[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbcfd30,_0x2f6b28,_0x955505)||(_0x249bdc=!0x1);}}function _0x454150(_0x54215c){return _0x54215c[_0x1848a8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1848a8([0x65,0x79]))?JSON[_0x1848a8([0x70,0x61,0x72,0x73,0x65])](_0x4482f1(_0x54215c)):null;}function _0x4482f1(_0x317a69){return window[_0x1848a8([0x61,0x74,0x6f,0x62])](_0x317a69[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1848a8([0x2b]))[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1848a8([0x2f])));}function _0x217593(_0x33f206){let _0x514059=0x1505;function _0x2779b0(_0xba4b0){for(let _0x24e983=0x0;_0x24e983<_0xba4b0[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24e983++){const _0x1bc03e=_0xba4b0[_0x1848a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24e983);_0x514059=(_0x514059<<0x5)+_0x514059+_0x1bc03e,_0x514059&=_0x514059;}}function _0x36e96b(_0x2e1458){Array[_0x1848a8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e1458)?_0x2e1458[_0x1848a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36e96b):_0x2e1458&&typeof _0x2e1458==_0x1848a8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1848a8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e1458)[_0x1848a8([0x73,0x6f,0x72,0x74])]()[_0x1848a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ef522,_0x3cd728])=>{_0x2779b0(_0x2ef522),_0x36e96b(_0x3cd728);}):_0x2779b0(window[_0x1848a8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e1458));}return _0x36e96b(_0x33f206),_0x514059>>>0x0;}function _0xfcba2e(_0x142191){return _0x142191[_0x1848a8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1848a8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1848a8([0x30]));}function _0xdf0cce(_0x3bc2c7){return _0x3bc2c7[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1848a8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1848a8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b0fae(){}function _0x1848a8(_0x1182ce){const _0x192310=_0x1210;return _0x1182ce[_0x192310(0x190)](_0x5983d2=>String[_0x192310(0x188)](_0x5983d2))[_0x192310(0x17f)]('');}_0x1d2bbb(await _0xd6e846());}(this);}[_0x24b956(0x196)](){const _0x38e0e9=_0x24b956,_0x228997=this[_0x38e0e9(0x17b)];if(!_0x228997[_0x38e0e9(0x176)][_0x38e0e9(0x191)](_0x38e0e9(0x177)))return;const _0x2363f6=_0x228997[_0x38e0e9(0x176)][_0x38e0e9(0x191)](_0x38e0e9(0x19d))[_0x38e0e9(0x187)](_0x1c4176=>_0x38e0e9(0x18f)==typeof _0x1c4176&&(!_0x4ed081(_0x1c4176)&&isNaN(Number(_0x1c4176))));if(_0x2363f6[_0x38e0e9(0x183)])throw new _0x477750(_0x38e0e9(0x195),null,{'namedPresets':_0x2363f6});}[_0x24b956(0x18d)](){const _0x737725=_0x24b956,_0x1b9404=this[_0x737725(0x17b)],_0x405c05=this[_0x737725(0x17b)][_0x737725(0x176)][_0x737725(0x191)](_0x737725(0x175));_0x1b9404[_0x737725(0x182)][_0x737725(0x173)](_0x737725(0x17a))[_0x737725(0x192)]({'model':{'key':_0x737725(0x180)},'view':_0x40e79f=>String(_0x40e79f)===String(_0x405c05)?null:{'key':_0x737725(0x185),'value':{'line-height':_0x40e79f}}}),_0x1b9404[_0x737725(0x182)][_0x737725(0x173)](_0x737725(0x172))[_0x737725(0x192)]({'model':{'key':_0x737725(0x180),'value':_0x1f0877=>{const _0x17cfd8=_0x737725;let _0xa3dd6f=_0x1f0877[_0x17cfd8(0x1a6)](_0x17cfd8(0x19c));return _0x191144(_0xa3dd6f)&&(_0xa3dd6f=String(Number(_0xa3dd6f[_0x17cfd8(0x1a2)](0x0,-0x1))/0x64)),String(_0xa3dd6f)===String(_0x405c05)?null:_0xa3dd6f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x24b956(0x193)](){const _0x2cebc1=_0x24b956,_0x3c7ded=this[_0x2cebc1(0x17b)],_0x246214=this[_0x2cebc1(0x17b)][_0x2cebc1(0x176)][_0x2cebc1(0x191)](_0x2cebc1(0x175)),_0x2d9260=_0x2392a0(this[_0x2cebc1(0x17b)][_0x2cebc1(0x176)][_0x2cebc1(0x191)](_0x2cebc1(0x180)))[_0x2cebc1(0x187)](_0x53851c=>_0x53851c[_0x2cebc1(0x181)]),_0x6e5a99=_0x29ea60(_0x2cebc1(0x180),_0x2d9260);_0x3c7ded[_0x2cebc1(0x182)][_0x2cebc1(0x192)](_0x6e5a99),_0x3c7ded[_0x2cebc1(0x182)][_0x2cebc1(0x173)](_0x2cebc1(0x172))[_0x2cebc1(0x192)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2cebc1(0x180),'value':_0x15b21d=>{const _0x6ea70a=_0x2cebc1;let _0x139b48=_0x15b21d[_0x6ea70a(0x1a6)](_0x6ea70a(0x19c));return _0x191144(_0x139b48)&&(_0x139b48=String(Number(_0x139b48[_0x6ea70a(0x1a2)](0x0,-0x1))/0x64)),_0x139b48===String(_0x246214)?null:_0x6e5a99[_0x6ea70a(0x181)][_0x6ea70a(0x1a8)][_0x6ea70a(0x18a)](_0x139b48)?_0x139b48:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x304b89}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5644a7,createDropdown as _0x2226b,MenuBarMenuListItemButtonView as _0x4b9e43,MenuBarMenuListItemView as _0x40c734,MenuBarMenuListView as _0x5ba81c,MenuBarMenuView as _0x4ae97d,UIModel as _0x10637c}from'ckeditor5/src/ui.js';import{Collection as _0x59ac0e}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x51e5e1}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x57725c}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x304b89{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b1d3b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5b1d3b),this['_registerMenuBarComponent'](_0x5b1d3b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25d13f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x25a1fc;for(const _0x458bad in _0x25d13f){const _0x561688=_0x458bad,_0x486ea0=_0x25d13f[_0x561688];if('lineHeightLicenseKeyValid'==_0x486ea0||'lineHeightLicenseKeyInvalid'==_0x486ea0||'lineHeightLicenseKeyExpired'==_0x486ea0||'lineHeightLicenseKeyDomainLimit'==_0x486ea0||'lineHeightLicenseKeyNotAllowed'==_0x486ea0||'lineHeightLicenseKeyEvaluationLimit'==_0x486ea0||'lineHeightLicenseKeyTrialLimit'==_0x486ea0||'lineHeightLicenseKeyUsageLimit'==_0x486ea0){delete _0x25d13f[_0x561688],_0x25a1fc=_0x486ea0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x25a1fc&&_0x25d13f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x25a1fc&&_0x25d13f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x25a1fc&&_0x25d13f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4cba77=this['editor'],t=_0x4cba77['t'],_0x559b3d=_0x4cba77['config']['get']('lineHeight'),_0x5a83b5={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x57725c(_0x559b3d)['map'](_0x3b4f5b=>{const _0x6bf2f0=_0x5a83b5[_0x3b4f5b['title']];return _0x6bf2f0&&_0x6bf2f0!=_0x3b4f5b['title']&&(_0x3b4f5b=Object['assign']({},_0x3b4f5b,{'title':_0x6bf2f0})),_0x3b4f5b;});}['_prepareListOptions'](){const _0x46b189=this['editor']['commands']['get']('lineHeight'),_0x3e3e74=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c77e0=this['_getLocalizedLineHeightOptions'](),_0x584d34=new _0x59ac0e(),_0x48f30=_0x2bbf26=>'default'===_0x2bbf26||String(_0x3e3e74)===_0x2bbf26;for(const _0x56431b of _0x2c77e0){const _0x5ae424={'type':'button','model':new _0x10637c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x56431b['title'],'withText':!0x0})};_0x48f30(_0x56431b['model'])?(_0x5ae424['model']['bind']('isOn')['to'](_0x46b189,'value',_0x1cbbd4=>!_0x1cbbd4),_0x5ae424['model']['commandParam']=void 0x0):(_0x5ae424['model']['bind']('isOn')['to'](_0x46b189,'value',_0x409010=>_0x409010===_0x56431b['model']),_0x5ae424['model']['commandParam']=_0x56431b['model']),_0x584d34['add'](_0x5ae424);}if(this['_shouldRenderCustomValueOption']()){const _0x4da2cd=this['_getCustomValueOptionDefinition'](_0x2c77e0);_0x584d34['add'](_0x4da2cd);}return _0x584d34;}['_getCustomValueOptionDefinition'](_0x4d73a5){const _0x3c1858=this['editor'],t=_0x3c1858['t'],_0x2688cf=_0x3c1858['commands']['get']('lineHeight'),_0xfabe99=_0x4d73a5['map'](_0x5459e8=>_0x5459e8['model']),_0x1f730a={'type':'button','model':new _0x10637c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1f730a['model']['bind']('commandParam')['to'](_0x2688cf,'value'),_0x1f730a['model']['bind']('isOn')['to'](_0x2688cf,'value',_0x25c725=>!!_0x25c725&&!_0xfabe99['includes'](String(_0x25c725))),_0x1f730a['model']['bind']('label')['to'](_0x2688cf,'value',_0x1d34fc=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1d34fc))),_0x1f730a;}['_registerToolbarComponent']({accessibleLabel:_0x493059,options:_0x445b23}){const _0x32c3bb=this['editor'],_0x595449=_0x32c3bb['commands']['get']('lineHeight');_0x32c3bb['ui']['componentFactory']['add']('lineHeight',_0x2ed7b5=>{const _0x49b4b6=_0x2226b(_0x2ed7b5);return _0x5644a7(_0x49b4b6,_0x445b23,{'role':'menu','ariaLabel':_0x493059}),_0x49b4b6['buttonView']['set']({'label':_0x493059,'tooltip':!0x0,'icon':_0x51e5e1}),_0x49b4b6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x49b4b6['bind']('isEnabled')['to'](_0x595449),this['listenTo'](_0x49b4b6,'execute',_0x21156d=>{_0x32c3bb['execute'](_0x21156d['source']['commandName'],{'value':_0x21156d['source']['commandParam']}),_0x32c3bb['editing']['view']['focus']();}),_0x49b4b6['once']('change:isOpen',()=>{const _0x589166=_0x49b4b6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x49b4b6,_0x445b23,_0x589166);}),_0x49b4b6;});}['_registerMenuBarComponent']({accessibleLabel:_0x26674a,options:_0x51b9a4}){const _0x134112=this['editor'],_0x3577c7=_0x134112['commands']['get']('lineHeight');_0x134112['ui']['componentFactory']['add']('menuBar:lineHeight',_0x411b68=>{const _0x1992bd=new _0x4ae97d(_0x411b68);_0x1992bd['buttonView']['set']({'label':_0x26674a,'icon':_0x51e5e1}),_0x1992bd['bind']('isEnabled')['to'](_0x3577c7);const _0x47a436=new _0x5ba81c(_0x411b68);for(const _0x3a5f77 of _0x51b9a4){const _0x315545=new _0x40c734(_0x411b68,_0x1992bd),_0x3a2c34=new _0x4b9e43(_0x411b68);_0x3a2c34['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3a2c34['bind'](...Object['keys'](_0x3a5f77['model']))['to'](_0x3a5f77['model']),_0x3a2c34['delegate']('execute')['to'](_0x1992bd),_0x3a2c34['on']('execute',()=>{_0x134112['execute'](_0x3a5f77['model']['commandName'],{'value':_0x3a5f77['model']['commandParam']}),_0x134112['editing']['view']['focus']();}),_0x315545['children']['add'](_0x3a2c34),_0x47a436['items']['add'](_0x315545);}return _0x1992bd['panelView']['children']['add'](_0x47a436),this['_attachCustomOptionVisibilityHandler'](_0x1992bd,_0x51b9a4,_0x47a436),_0x1992bd;});}['_attachCustomOptionVisibilityHandler'](_0x5b7f7f,_0x1341c4,_0x13f6b5){if(!this['_shouldRenderCustomValueOption']())return;const _0x2e640f=()=>{if(!_0x5b7f7f['isOpen'])return;_0x13f6b5['items']['last']['isVisible']=Boolean(_0x1341c4['last']['model']['isOn']);};_0x2e640f(),_0x5b7f7f['on']('change:isOpen',()=>{_0x2e640f();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x50d6e3,_0x2ef9d1){const _0x2191e6=_0x3be0,_0x451d53=_0x50d6e3();while(!![]){try{const _0x5112b6=parseInt(_0x2191e6(0x82))/0x1+parseInt(_0x2191e6(0x6d))/0x2+-parseInt(_0x2191e6(0x68))/0x3+-parseInt(_0x2191e6(0x85))/0x4*(parseInt(_0x2191e6(0x86))/0x5)+parseInt(_0x2191e6(0x80))/0x6*(-parseInt(_0x2191e6(0x7b))/0x7)+-parseInt(_0x2191e6(0x6c))/0x8*(parseInt(_0x2191e6(0x7c))/0x9)+parseInt(_0x2191e6(0x83))/0xa;if(_0x5112b6===_0x2ef9d1)break;else _0x451d53['push'](_0x451d53['shift']());}catch(_0x490517){_0x451d53['push'](_0x451d53['shift']());}}}(_0x374f,0x29fa1));const v={get 'single'(){const _0x17cc1f=_0x3be0;return{'title':_0x17cc1f(0x81),'model':_0x17cc1f(0x75),'view':{'key':_0x17cc1f(0x69),'value':_0x17cc1f(0x71)}};},get 'double'(){const _0x29394c=_0x3be0;return{'title':_0x29394c(0x76),'model':_0x29394c(0x7a),'view':{'key':_0x29394c(0x69),'value':_0x29394c(0x79)}};}};function _0x374f(){const _0x286972=['56EOeOtA','104408KICeEI','line-height:','map','string','line-height-single','view','value','number','single','Double','values','toLowerCase','line-height-double','double','16541OvJGGi','99837BqFfGc','model','style','push','474xbfljB','Single','220592eSDdJU','6120220kGMDNP','key','12qwZrIm','463135WHBUZt','default','options','filter','512016WZcRQx','class','span','defaultValue'];_0x374f=function(){return _0x286972;};return _0x374f();}export function isLineHeightDefaultValue(_0x5ca576){const _0x40ba86=_0x3be0;return _0x40ba86(0x70)==typeof _0x5ca576&&_0x40ba86(0x87)===_0x5ca576[_0x40ba86(0x78)]();}function _0x3be0(_0x1e1c78,_0x2c5320){const _0x374fd4=_0x374f();return _0x3be0=function(_0x3be053,_0x9989f6){_0x3be053=_0x3be053-0x66;let _0x1179da=_0x374fd4[_0x3be053];return _0x1179da;},_0x3be0(_0x1e1c78,_0x2c5320);}export function normalizeOptions(_0x42ae33){const _0xdb5856=_0x3be0;return _0x42ae33[_0xdb5856(0x66)][_0xdb5856(0x6f)](_0x344399=>isLineHeightDefaultValue(_0x344399)?{'title':String(_0x42ae33[_0xdb5856(0x6b)]),'model':_0xdb5856(0x87)}:(_0xdb5856(0x74)==typeof _0x344399&&(_0x344399=String(_0x344399)),_0xdb5856(0x70)!=typeof _0x344399?_0x344399:parseFloat(_0x344399)?{'title':_0x344399,'model':_0x344399,'view':{'name':_0xdb5856(0x6a),'styles':{'line-height':_0x344399}}}:findPreset(_0x344399)))[_0xdb5856(0x67)](_0x3fb675=>void 0x0!==_0x3fb675);}export function findPreset(_0x47f048){const _0x2717e8=_0x3be0;return _0x2717e8(0x70)==typeof _0x47f048?v[_0x47f048]:v[_0x47f048[_0x2717e8(0x7d)]];}export function buildDefinition(_0x39e8c0,_0x35e23f){const _0x4e8166=_0x3be0,_0x1f6914={'model':{'key':_0x39e8c0,'values':[]},'view':{}};for(const _0x127525 of _0x35e23f)_0x4e8166(0x69)===_0x127525[_0x4e8166(0x72)]?.[_0x4e8166(0x84)]?(_0x1f6914[_0x4e8166(0x7d)][_0x4e8166(0x77)][_0x4e8166(0x7f)](_0x127525[_0x4e8166(0x7d)]),_0x1f6914[_0x4e8166(0x72)][_0x127525[_0x4e8166(0x7d)]]={'key':_0x4e8166(0x69),'value':_0x127525[_0x4e8166(0x72)][_0x4e8166(0x73)]}):(_0x1f6914[_0x4e8166(0x7d)][_0x4e8166(0x77)][_0x4e8166(0x7f)](_0x127525[_0x4e8166(0x7d)]),_0x1f6914[_0x4e8166(0x72)][_0x127525[_0x4e8166(0x7d)]]={'key':_0x4e8166(0x7e),'value':_0x4e8166(0x6e)+_0x127525[_0x4e8166(0x7d)]+';'});return _0x1f6914;}
|