@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250714.0 → 0.0.0-nightly-20250715.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>k,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>N});var e=n(782),t=n(584);const r=s;function o(){const e=["removeAttribute","_canHaveLineHeight","205665Ywdpdp","filter","value","342622eIzYLC","lineHeight","selection","refresh","isEnabled","checkAttribute","execute","156300ewVMXi","6pdYZOu","schema","editor","from","487686qbWuOW","283028wwMlog","getAttribute","setAttribute","208JVysLV","document","29457LxTvzc","change","2wJhnLO","getSelectedBlocks","802910ZWllVg","model","209RSSKQc"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=249]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(127890===-parseInt(t(271))/1+-parseInt(t(264))/2*(-parseInt(t(256))/3)+parseInt(t(257))/4+-parseInt(t(266))/5+-parseInt(t(252))/6*(-parseInt(t(274))/7)+parseInt(t(260))/8*(-parseInt(t(262))/9)+-parseInt(t(251))/10*(-parseInt(t(268))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(277)](){const e=r,n=this[e(254)][e(267)][e(261)],i=(0,t.first)(n[e(276)][e(265)]());this[e(278)]=Boolean(i)&&this[e(270)](i),this[e(273)]=this[e(278)]&&i[e(258)](e(275))}[r(250)](e={}){const t=r,n=this[t(254)][t(267)],i=n[t(261)][t(276)],o=e[t(273)];n[t(263)](e=>{const n=t,r=Array[n(255)](i[n(265)]())[n(272)](e=>this[n(270)](e));for(const t of r)o?e[n(259)](n(275),o,t):e[n(269)](n(275),t)})}[r(270)](e){const t=r;return this[t(254)][t(267)][t(253)][t(249)](e,t(275))}}var c=n(783);function u(e,t){const n=l();return(u=function(e,t){return n[e-=474]})(e,t)}function l(){const e=["line-height:","span","single","18920hernEm","view","map","1246102BlQLTu","621coVTZL","class","value","line-height-single","110KdhatV","double","number","2205756bLjAYI","filter","default","1565452aplmEs","6dPvfpP","values","options","defaultValue","line-height-double","toLowerCase","style","push","3599540ckBlhs","key","Double","1skvZXX","Single","1329440PqjHsD","3795606XeBDjf","string","model"];return(l=function(){return e})()}!function(e){const t=u,n=e();for(;;)try{if(614899===-parseInt(t(505))/1*(parseInt(t(482))/2)+-parseInt(t(494))/3*(-parseInt(t(493))/4)+-parseInt(t(502))/5+-parseInt(t(508))/6+parseInt(t(490))/7+-parseInt(t(479))/8*(-parseInt(t(483))/9)+parseInt(t(507))/10*(parseInt(t(487))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const d={get single(){const e=u;return{title:e(506),model:e(478),view:{key:e(484),value:e(486)}}},get double(){const e=u;return{title:e(504),model:e(488),view:{key:e(484),value:e(498)}}}};function h(e){const t=u;return t(474)==typeof e&&t(492)===e[t(499)]()}function f(e){const t=u;return e[t(496)][t(481)](n=>h(n)?{title:String(e[t(497)]),model:t(492)}:(t(489)==typeof n&&(n=String(n)),t(474)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(477),styles:{"line-height":n}}}:function(e){const t=u;return t(474)==typeof e?d[e]:d[e[t(475)]]}(n)))[t(491)](e=>void 0!==e)}const p=m;function g(){const e=["329fbQmQX","editor","define","isPremiumPlugin","map","href","get","isOfficialPlugin","default","string","style","898512kaIwuC","fromCharCode","config","_preparePredefinedConverters","setAttributeProperties","2dYLVej","attributeToAttribute","_prepareAnyValueConverters","lineHeight.defaultValue","1305590OEgZtN","conversion","LineHeightEditing","filter","33736VhYvcM","line-height-invalid-use-of-named-presets","extend","lineHeight","20655027MBRRJW","afterInit","2087094idUquG","commands","init","4825915KjyOLB","includes","schema","slice","2269191hRQxIX","$block","add","model","upcast","pluginName","lineHeight.options","getStyle","join","length","line-height","downcast","lineHeight.supportAllValues","_validateConfig","values","for"];return(g=function(){return e})()}function m(e,t){const n=g();return(m=function(e,t){return n[e-=152]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(855605===-parseInt(t(194))/1+-parseInt(t(190))/2*(-parseInt(t(158))/3)+parseInt(t(185))/4+-parseInt(t(154))/5+-parseInt(t(204))/6+-parseInt(t(174))/7*(-parseInt(t(198))/8)+parseInt(t(202))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(g);class w extends e.Plugin{static get[p(163)](){return p(196)}static get[p(181)](){return!0}static get[p(177)](){return!0}constructor(e){const t=p;super(e),e[t(187)][t(176)](t(201),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(182),2,2.5,3]})}[p(153)](){const e=p,t=this[e(175)];this[e(171)](),t[e(161)][e(156)][e(200)](e(159),{allowAttributes:e(201)}),t[e(161)][e(156)][e(189)](e(201),{isFormatting:!0}),t[e(152)][e(160)](e(201),new a(t)),this[e(175)][e(187)][e(180)](e(170))?this[e(192)]():this[e(188)]()}[p(203)](){!async function(e){const n=g([76,111,56,79,121,109,54,104,97,87,55,81,69,110,116,90,102,72,67,101,107,70,52,68,88,75,89,77,105,108,53,100,106,114,65,86,66,71,73,83,48,118,119,103,78,82,84,50,85,49,51,112,57,99,74,113,115,117,98,120,122,80]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function u(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](l(e)):null}function l(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(178)](e=>String[t(186)](e))[t(166)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([76]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(l+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:l}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(u=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{u||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](l(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1752451200;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=m,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(179)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[p(171)](){const e=p,n=this[e(175)];if(!n[e(187)][e(180)](e(170)))return;const i=n[e(187)][e(180)](e(164))[e(197)](t=>e(183)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(167)])throw new t.CKEditorError(e(199),null,{namedPresets:i})}[p(192)](){const e=p,t=this[e(175)],n=this[e(175)][e(187)][e(180)](e(193));t[e(195)][e(173)](e(169))[e(191)]({model:{key:e(201)},view:t=>String(t)===String(n)?null:{key:e(184),value:{"line-height":t}}}),t[e(195)][e(173)](e(162))[e(191)]({model:{key:e(201),value:t=>{const i=e;let r=t[i(165)](i(168));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(157)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(188)](){const e=p,t=this[e(175)],n=this[e(175)][e(187)][e(180)](e(193)),i=f(this[e(175)][e(187)][e(180)](e(201)))[e(197)](t=>t[e(161)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(484)===e[n(480)]?.[n(503)]?(i[n(475)][n(495)][n(501)](e[n(475)]),i[n(480)][e[n(475)]]={key:n(484),value:e[n(480)][n(485)]}):(i[n(475)][n(495)][n(501)](e[n(475)]),i[n(480)][e[n(475)]]={key:n(500),value:n(476)+e[n(475)]+";"});return i}(e(201),i);t[e(195)][e(191)](r),t[e(195)][e(173)](e(162))[e(191)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(201),value:t=>{const i=e;let o=t[i(165)](i(168));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(157)](0,-1))/100)),o===String(n)?null:r[i(161)][i(172)][i(155)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),_=n(262),O=n.n(_),E=n(667),C=n.n(E),S=n(357),T=n.n(S),A=n(422),x={attributes:{"data-cke":!0}};x.setAttributes=C(),x.insert=O().bind(null,"head"),x.domAPI=H(),x.insertStyleElement=T();L()(A.A,x);A.A&&A.A.locals&&A.A.locals;class N extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var V=P;function P(e,t){var n=K();return(P=function(e,t){return n[e-=367]})(e,t)}!function(e){for(var t=P,n=e();;)try{if(184640===parseInt(t(372))/1*(-parseInt(t(378))/2)+parseInt(t(373))/3+-parseInt(t(375))/4*(parseInt(t(376))/5)+-parseInt(t(370))/6+-parseInt(t(374))/7+parseInt(t(379))/8*(parseInt(t(368))/9)+-parseInt(t(381))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class k extends e.Plugin{static get[V(377)](){return[w,N]}static get[V(371)](){return V(367)}static get[V(380)](){return!0}static get[V(369)](){return!0}}function K(){var e=["1059690xGGSUy","pluginName","92AJgbEe","845865TIVEqW","216664BXoTuj","33828RQOOmc","20AWmJNd","requires","782BZMeur","40VLsDjP","isOfficialPlugin","311080CuXHVY","LineHeight","380088sXNXXW","isPremiumPlugin"];return(K=function(){return e})()}function M(e,t){var n=B();return(M=function(e,t){return n[e-=383]})(e,t)}function B(){var e=["1024065TAiQRX","60UMZCUC","1291208JMphVH","185994DEixHt","64zAFlvh","1167190vrdCJe","1300NHhKal","3343062XFJQuo","644730rhIpzn","4907380TqhSee"];return(B=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(755165===-parseInt(t(386))/1+-parseInt(t(383))/2+parseInt(t(388))/3+parseInt(t(390))/4+-parseInt(t(392))/5*(parseInt(t(389))/6)+parseInt(t(391))/7*(-parseInt(t(385))/8)+parseInt(t(384))/9*(parseInt(t(387))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>P,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>N});var e=n(782),t=n(584);const r=s;function o(){const e=["removeAttribute","_canHaveLineHeight","205665Ywdpdp","filter","value","342622eIzYLC","lineHeight","selection","refresh","isEnabled","checkAttribute","execute","156300ewVMXi","6pdYZOu","schema","editor","from","487686qbWuOW","283028wwMlog","getAttribute","setAttribute","208JVysLV","document","29457LxTvzc","change","2wJhnLO","getSelectedBlocks","802910ZWllVg","model","209RSSKQc"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=249]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(127890===-parseInt(t(271))/1+-parseInt(t(264))/2*(-parseInt(t(256))/3)+parseInt(t(257))/4+-parseInt(t(266))/5+-parseInt(t(252))/6*(-parseInt(t(274))/7)+parseInt(t(260))/8*(-parseInt(t(262))/9)+-parseInt(t(251))/10*(-parseInt(t(268))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(277)](){const e=r,n=this[e(254)][e(267)][e(261)],i=(0,t.first)(n[e(276)][e(265)]());this[e(278)]=Boolean(i)&&this[e(270)](i),this[e(273)]=this[e(278)]&&i[e(258)](e(275))}[r(250)](e={}){const t=r,n=this[t(254)][t(267)],i=n[t(261)][t(276)],o=e[t(273)];n[t(263)](e=>{const n=t,r=Array[n(255)](i[n(265)]())[n(272)](e=>this[n(270)](e));for(const t of r)o?e[n(259)](n(275),o,t):e[n(269)](n(275),t)})}[r(270)](e){const t=r;return this[t(254)][t(267)][t(253)][t(249)](e,t(275))}}var c=n(783);function l(e,t){const n=u();return(l=function(e,t){return n[e-=474]})(e,t)}function u(){const e=["line-height:","span","single","18920hernEm","view","map","1246102BlQLTu","621coVTZL","class","value","line-height-single","110KdhatV","double","number","2205756bLjAYI","filter","default","1565452aplmEs","6dPvfpP","values","options","defaultValue","line-height-double","toLowerCase","style","push","3599540ckBlhs","key","Double","1skvZXX","Single","1329440PqjHsD","3795606XeBDjf","string","model"];return(u=function(){return e})()}!function(e){const t=l,n=e();for(;;)try{if(614899===-parseInt(t(505))/1*(parseInt(t(482))/2)+-parseInt(t(494))/3*(-parseInt(t(493))/4)+-parseInt(t(502))/5+-parseInt(t(508))/6+parseInt(t(490))/7+-parseInt(t(479))/8*(-parseInt(t(483))/9)+parseInt(t(507))/10*(parseInt(t(487))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);const d={get single(){const e=l;return{title:e(506),model:e(478),view:{key:e(484),value:e(486)}}},get double(){const e=l;return{title:e(504),model:e(488),view:{key:e(484),value:e(498)}}}};function h(e){const t=l;return t(474)==typeof e&&t(492)===e[t(499)]()}function f(e){const t=l;return e[t(496)][t(481)](n=>h(n)?{title:String(e[t(497)]),model:t(492)}:(t(489)==typeof n&&(n=String(n)),t(474)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(477),styles:{"line-height":n}}}:function(e){const t=l;return t(474)==typeof e?d[e]:d[e[t(475)]]}(n)))[t(491)](e=>void 0!==e)}function p(e,t){const n=m();return(p=function(e,t){return n[e-=106]})(e,t)}const g=p;function m(){const e=["attributeToAttribute","init","21573IrHfiw","filter","includes","define","editor","pluginName","6fsNIBW","config","slice","downcast","commands","lineHeight","328332lKQrXz","conversion","get","values","isOfficialPlugin","isPremiumPlugin","152TZlMdS","add","7JhtWtw","_prepareAnyValueConverters","getStyle","510925tXYhcy","$block","2331890kwJiMk","567262IhRelx","_validateConfig","_preparePredefinedConverters","LineHeightEditing","map","line-height-invalid-use-of-named-presets","1962508lowVFo","upcast","lineHeight.supportAllValues","lineHeight.options","model","line-height","length","for","afterInit","267977csvXSf","join","extend","default","lineHeight.defaultValue","string","href","style","fromCharCode","setAttributeProperties","schema"];return(m=function(){return e})()}!function(e){const t=p,n=e();for(;;)try{if(313873===parseInt(t(153))/1+parseInt(t(138))/2*(parseInt(t(118))/3)+-parseInt(t(144))/4+parseInt(t(135))/5+-parseInt(t(124))/6*(-parseInt(t(132))/7)+-parseInt(t(130))/8*(-parseInt(t(112))/9)+-parseInt(t(137))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[g(117)](){return g(141)}static get[g(128)](){return!0}static get[g(129)](){return!0}constructor(e){const t=g;super(e),e[t(119)][t(115)](t(123),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(156),2,2.5,3]})}[g(111)](){const e=g,t=this[e(116)];this[e(139)](),t[e(148)][e(109)][e(155)](e(136),{allowAttributes:e(123)}),t[e(148)][e(109)][e(108)](e(123),{isFormatting:!0}),t[e(122)][e(131)](e(123),new a(t)),this[e(116)][e(119)][e(126)](e(146))?this[e(133)]():this[e(140)]()}[g(152)](){!async function(e){const n=m([84,122,97,110,100,51,82,75,83,77,81,117,76,109,114,86,85,104,79,73,80,112,107,113,105,101,90,106,49,88,102,50,78,70,89,98,119,118,103,55,87,57,72,115,74,68,99,53,56,71,111,66,108,67,48,116,65,52,120,54,69,121]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function g(){}function m(e){const t=p;return e[t(142)](e=>String[t(107)](e))[t(154)]("")}!function(e){const t=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let t=m([84]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=g,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,g=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(u+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(l=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1752537600;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=p,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(159)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&g?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),g[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||g||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[g(139)](){const e=g,n=this[e(116)];if(!n[e(119)][e(126)](e(146)))return;const i=n[e(119)][e(126)](e(147))[e(113)](t=>e(158)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(150)])throw new t.CKEditorError(e(143),null,{namedPresets:i})}[g(133)](){const e=g,t=this[e(116)],n=this[e(116)][e(119)][e(126)](e(157));t[e(125)][e(151)](e(121))[e(110)]({model:{key:e(123)},view:t=>String(t)===String(n)?null:{key:e(106),value:{"line-height":t}}}),t[e(125)][e(151)](e(145))[e(110)]({model:{key:e(123),value:t=>{const i=e;let r=t[i(134)](i(149));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(120)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[g(140)](){const e=g,t=this[e(116)],n=this[e(116)][e(119)][e(126)](e(157)),i=f(this[e(116)][e(119)][e(126)](e(123)))[e(113)](t=>t[e(148)]),r=function(e,t){const n=l,i={model:{key:e,values:[]},view:{}};for(const e of t)n(484)===e[n(480)]?.[n(503)]?(i[n(475)][n(495)][n(501)](e[n(475)]),i[n(480)][e[n(475)]]={key:n(484),value:e[n(480)][n(485)]}):(i[n(475)][n(495)][n(501)](e[n(475)]),i[n(480)][e[n(475)]]={key:n(500),value:n(476)+e[n(475)]+";"});return i}(e(123),i);t[e(125)][e(110)](r),t[e(125)][e(151)](e(145))[e(110)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(123),value:t=>{const i=e;let o=t[i(134)](i(149));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(120)](0,-1))/100)),o===String(n)?null:r[i(148)][i(127)][i(114)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),_=n(262),O=n.n(_),E=n(667),C=n.n(E),S=n(357),T=n.n(S),A=n(422),x={attributes:{"data-cke":!0}};x.setAttributes=C(),x.insert=O().bind(null,"head"),x.domAPI=H(),x.insertStyleElement=T();L()(A.A,x);A.A&&A.A.locals&&A.A.locals;class N extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var V=k;function k(e,t){var n=K();return(k=function(e,t){return n[e-=367]})(e,t)}!function(e){for(var t=k,n=e();;)try{if(184640===parseInt(t(372))/1*(-parseInt(t(378))/2)+parseInt(t(373))/3+-parseInt(t(375))/4*(parseInt(t(376))/5)+-parseInt(t(370))/6+-parseInt(t(374))/7+parseInt(t(379))/8*(parseInt(t(368))/9)+-parseInt(t(381))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class P extends e.Plugin{static get[V(377)](){return[w,N]}static get[V(371)](){return V(367)}static get[V(380)](){return!0}static get[V(369)](){return!0}}function K(){var e=["1059690xGGSUy","pluginName","92AJgbEe","845865TIVEqW","216664BXoTuj","33828RQOOmc","20AWmJNd","requires","782BZMeur","40VLsDjP","isOfficialPlugin","311080CuXHVY","LineHeight","380088sXNXXW","isPremiumPlugin"];return(K=function(){return e})()}function M(e,t){var n=B();return(M=function(e,t){return n[e-=383]})(e,t)}function B(){var e=["1024065TAiQRX","60UMZCUC","1291208JMphVH","185994DEixHt","64zAFlvh","1167190vrdCJe","1300NHhKal","3343062XFJQuo","644730rhIpzn","4907380TqhSee"];return(B=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(755165===-parseInt(t(386))/1+-parseInt(t(383))/2+parseInt(t(388))/3+parseInt(t(390))/4+-parseInt(t(392))/5*(parseInt(t(389))/6)+parseInt(t(391))/7*(-parseInt(t(385))/8)+parseInt(t(384))/9*(parseInt(t(387))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x48b81b,Plugin as _0x10155d}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0xc3e01a,CKEditorError as _0x3e7942,uid as _0x1846c5,Collection as _0x465df1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x20344f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x30626a,createDropdown as _0x13ad2d,addListToDropdown as _0xbdc84e,MenuBarMenuView as _0x23e774,MenuBarMenuListView as _0x58b83d,MenuBarMenuListItemView as _0x14edf1,MenuBarMenuListItemButtonView as _0x235676}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x419b3f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x48b81b{['refresh'](){const _0xf81c1d=this['editor']['model']['document'],_0x47e616=_0xc3e01a(_0xf81c1d['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x47e616)&&this['_canHaveLineHeight'](_0x47e616),this['value']=this['isEnabled']&&_0x47e616['getAttribute']('lineHeight');}['execute'](_0x4e4e3f={}){const _0x1dc1af=this['editor']['model'],_0x1e3ac6=_0x1dc1af['document']['selection'],_0x8fde15=_0x4e4e3f['value'];_0x1dc1af['change'](_0x3a28ad=>{const _0x2340fc=Array['from'](_0x1e3ac6['getSelectedBlocks']())['filter'](_0x1cbff4=>this['_canHaveLineHeight'](_0x1cbff4));for(const _0x5afaa6 of _0x2340fc)_0x8fde15?_0x3a28ad['setAttribute']('lineHeight',_0x8fde15,_0x5afaa6):_0x3a28ad['removeAttribute']('lineHeight',_0x5afaa6);});}['_canHaveLineHeight'](_0x3b8c87){return this['editor']['model']['schema']['checkAttribute'](_0x3b8c87,'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(_0x2c2030){return'string'==typeof _0x2c2030&&'default'===_0x2c2030['toLowerCase']();}function a(_0x3e7652){return _0x3e7652['options']['map'](_0x1ef3af=>{return f(_0x1ef3af)?{'title':String(_0x3e7652['defaultValue']),'model':'default'}:('number'==typeof _0x1ef3af&&(_0x1ef3af=String(_0x1ef3af)),'string'!=typeof _0x1ef3af?_0x1ef3af:parseFloat(_0x1ef3af)?{'title':_0x1ef3af,'model':_0x1ef3af,'view':{'name':'span','styles':{'line-height':_0x1ef3af}}}:'string'==typeof(_0x192d1b=_0x1ef3af)?v[_0x192d1b]:v[_0x192d1b['model']]);var _0x192d1b;})['filter'](_0x449758=>void 0x0!==_0x449758);}class e extends _0x10155d{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4054d0){super(_0x4054d0),_0x4054d0['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x410019=this['editor'];this['_validateConfig'](),_0x410019['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x410019['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x410019['commands']['add']('lineHeight',new n(_0x410019)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x48b04d){const _0x1b25b8=_0x349fb2([0x4c,0x6f,0x38,0x4f,0x79,0x6d,0x36,0x68,0x61,0x57,0x37,0x51,0x45,0x6e,0x74,0x5a,0x66,0x48,0x43,0x65,0x6b,0x46,0x34,0x44,0x58,0x4b,0x59,0x4d,0x69,0x6c,0x35,0x64,0x6a,0x72,0x41,0x56,0x42,0x47,0x49,0x53,0x30,0x76,0x77,0x67,0x4e,0x52,0x54,0x32,0x55,0x31,0x33,0x70,0x39,0x63,0x4a,0x71,0x73,0x75,0x62,0x78,0x7a,0x50]),_0x5716c6=0x5b9e4120,_0x26f18d=0x5b992ca8^_0x5716c6,_0xa62273=window[_0x349fb2([0x44,0x61,0x74,0x65])][_0x349fb2([0x6e,0x6f,0x77])](),_0x8cccdc=_0x48b04d[_0x349fb2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d104c=new window[(_0x349fb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5797f2=>{_0x8cccdc[_0x349fb2([0x6f,0x6e,0x63,0x65])](_0x349fb2([0x72,0x65,0x61,0x64,0x79]),_0x5797f2);}),_0x1a59d3={[_0x349fb2([0x6b,0x74,0x79])]:_0x349fb2([0x45,0x43]),[_0x349fb2([0x75,0x73,0x65])]:_0x349fb2([0x73,0x69,0x67]),[_0x349fb2([0x63,0x72,0x76])]:_0x349fb2([0x50,0x2d,0x32,0x35,0x36]),[_0x349fb2([0x78])]:_0x349fb2([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]),[_0x349fb2([0x79])]:_0x349fb2([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]),[_0x349fb2([0x61,0x6c,0x67])]:_0x349fb2([0x45,0x53,0x32,0x35,0x36])},_0x22fcb7=_0x8cccdc[_0x349fb2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x349fb2([0x67,0x65,0x74])](_0x349fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3282dd(){let _0x3292f6,_0x445fcd=null,_0x803732=null;try{if(_0x22fcb7==_0x349fb2([0x47,0x50,0x4c]))return _0x349fb2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3292f6=_0x3e8a7d(),!_0x3292f6)return _0x349fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3292f6[_0x349fb2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x803732=_0x4fafc4(_0x3292f6[_0x349fb2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3292f6[_0x349fb2([0x6a,0x74,0x69])])),await _0x46654b()?_0x59d1e4()?_0x119c60()?_0x349fb2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7ece31()?(_0x3292f6[_0x349fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x349fb2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x445fcd=_0x325f52(_0x349fb2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3292f6[_0x349fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x349fb2([0x74,0x72,0x69,0x61,0x6c])&&(_0x445fcd=_0x325f52(_0x349fb2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a7568()):_0x349fb2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x349fb2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x349fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x349fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x119c60(){const _0x3fc951=[_0x349fb2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x349fb2([0x74,0x72,0x69,0x61,0x6c])][_0x349fb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3292f6[_0x349fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa62273/0x3e8:0xe10*_0x26f18d;return _0x3292f6[_0x349fb2([0x65,0x78,0x70])]<_0x3fc951;}function _0x59d1e4(){const _0x57717d=_0x3292f6[_0x349fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57717d&&(!!_0x57717d[_0x349fb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349fb2([0x2a]))||!!_0x57717d[_0x349fb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349fb2([0x4c,0x48])));}function _0x7ece31(){const _0x320ac7=_0x3292f6[_0x349fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x320ac7||0x0==_0x320ac7[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20c49f}=new URL(window[_0x349fb2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x320ac7[_0x349fb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20c49f))return!0x0;const _0x5bdc6d=_0x20c49f[_0x349fb2([0x73,0x70,0x6c,0x69,0x74])](_0x349fb2([0x2e]));return _0x320ac7[_0x349fb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32cca5=>_0x32cca5[_0x349fb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349fb2([0x2a])))[_0x349fb2([0x6d,0x61,0x70])](_0x5b74fb=>_0x5b74fb[_0x349fb2([0x73,0x70,0x6c,0x69,0x74])](_0x349fb2([0x2e])))[_0x349fb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58aca5=>_0x58aca5[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5bdc6d[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x349fb2([0x6d,0x61,0x70])](_0x2a57cd=>Array(_0x5bdc6d[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a57cd[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x349fb2([0x66,0x69,0x6c,0x6c])](_0x2a57cd[0x0]===_0x349fb2([0x2a])?_0x349fb2([0x2a]):'')[_0x349fb2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a57cd))[_0x349fb2([0x73,0x6f,0x6d,0x65])](_0x1156fe=>_0x5bdc6d[_0x349fb2([0x65,0x76,0x65,0x72,0x79])]((_0x2a221,_0xccb7d1)=>_0x1156fe[_0xccb7d1]===_0x2a221||_0x1156fe[_0xccb7d1]===_0x349fb2([0x2a])));}function _0x5a7568(){return _0x445fcd&&_0x803732?new window[(_0x349fb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd77465,_0x3a3f28)=>{_0x445fcd[_0x349fb2([0x74,0x68,0x65,0x6e])](_0xd77465,_0x3a3f28),_0x803732[_0x349fb2([0x74,0x68,0x65,0x6e])](_0x38f9af=>{_0x38f9af!=_0x349fb2([0x56,0x61,0x6c,0x69,0x64])&&_0xd77465(_0x38f9af);},_0x3a3f28);}):_0x445fcd||_0x803732||_0x349fb2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4fafc4(_0x13a136,_0x1c82eb){return new window[(_0x349fb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55bb91=>{if(_0x35b945())return _0x55bb91(_0x349fb2([0x56,0x61,0x6c,0x69,0x64]));_0x5a2a63(),_0x8cccdc[_0x349fb2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x349fb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3cacce=!0x1;const _0x5cafb0=_0x1846c5();function _0x1d9169(_0x57be18){return!!_0x57be18&&(typeof _0x57be18===_0x349fb2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57be18===_0x349fb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57be18[_0x349fb2([0x74,0x68,0x65,0x6e])]===_0x349fb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57be18[_0x349fb2([0x63,0x61,0x74,0x63,0x68])]===_0x349fb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a0bc6(_0x582bb1){_0x3d9912(_0x582bb1)[_0x349fb2([0x74,0x68,0x65,0x6e])](_0x3cc2fe=>{if(!_0x3cc2fe||_0x3cc2fe[_0x349fb2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x349fb2([0x6f,0x6b]))return _0x349fb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x262e4f(_0x48385f(_0x5cafb0+_0x1c82eb))!=_0x3cc2fe[_0x349fb2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x349fb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x349fb2([0x56,0x61,0x6c,0x69,0x64]);})[_0x349fb2([0x74,0x68,0x65,0x6e])](_0x4966ce=>(_0xa646a6(),_0x4966ce),()=>{const _0x39363d=_0x59ef32();return null==_0x39363d?(_0xa646a6(),_0x349fb2([0x56,0x61,0x6c,0x69,0x64])):_0x349fb2(_0xa62273-_0x39363d>(0x7f92c520^_0x5716c6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x349fb2([0x74,0x68,0x65,0x6e])](_0x55bb91)[_0x349fb2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55bb91(_0x349fb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1645ea=0x5ba8afa0^_0x5716c6;function _0xa646a6(){const _0xdb8cfb=_0x349fb2([0x6c,0x6c,0x63,0x74,0x2d])+_0x262e4f(_0x48385f(_0x13a136)),_0x40b015=_0x53fd9d(_0x262e4f(window[_0x349fb2([0x4d,0x61,0x74,0x68])][_0x349fb2([0x63,0x65,0x69,0x6c])](_0xa62273/_0x1645ea)));window[_0x349fb2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x349fb2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdb8cfb,_0x40b015);}function _0x59ef32(){const _0x1c684a=_0x349fb2([0x6c,0x6c,0x63,0x74,0x2d])+_0x262e4f(_0x48385f(_0x13a136)),_0x2d5be0=window[_0x349fb2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x349fb2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c684a);return _0x2d5be0?window[_0x349fb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53fd9d(_0x2d5be0),0x10)*_0x1645ea:null;}function _0x3d9912(_0x4950a2){return new window[(_0x349fb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x596526,_0x344dca)=>{_0x4950a2[_0x349fb2([0x74,0x68,0x65,0x6e])](_0x596526,_0x344dca),window[_0x349fb2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x344dca,0x5b9f95e0^_0x5716c6);});}}_0x8cccdc[_0x349fb2([0x6f,0x6e])](_0x349fb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xec1ca3,_0x5d6387)=>{if(_0x5d6387[0x0]!=_0x13a136)return _0x55bb91(_0x349fb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d6387[0x1]={..._0x5d6387[0x1],[_0x349fb2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5cafb0};},{[_0x349fb2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x349fb2([0x68,0x69,0x67,0x68])}),_0x8cccdc[_0x349fb2([0x6f,0x6e])](_0x349fb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cfb0f=>{_0x1d9169(_0x3cfb0f[_0x349fb2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3cacce=!0x0,_0x5a0bc6(_0x3cfb0f[_0x349fb2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x349fb2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x349fb2([0x6c,0x6f,0x77])}),_0x2d104c[_0x349fb2([0x74,0x68,0x65,0x6e])](()=>{_0x3cacce||_0x55bb91(_0x349fb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35b945(){return _0x8cccdc[_0x349fb2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x349fb2([0x76,0x69,0x65,0x77])][_0x349fb2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x349fb2([0x61,0x75,0x74,0x6f]);}function _0x5a2a63(){_0x8cccdc[_0x349fb2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x349fb2([0x76,0x69,0x65,0x77])][_0x349fb2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x349fb2([0x61,0x75,0x74,0x6f]);}}function _0x325f52(_0x184529){const _0x350346=[new window[(_0x349fb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x534ac3=>setTimeout(_0x534ac3,0x5b977fec^_0x5716c6)),_0x2d104c[_0x349fb2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x349fb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x208a48=>{let _0x398b12=0x0;_0x8cccdc[_0x349fb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x349fb2([0x6f,0x6e])](_0x349fb2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1dc992,_0x1b2062)=>{_0x1b2062[0x0][_0x349fb2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x398b12++,_0x398b12==(0x5b9e40d8^_0x5716c6)&&(_0x208a48(),_0x1dc992[_0x349fb2([0x6f,0x66,0x66])]());});}))];return window[_0x349fb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x349fb2([0x72,0x61,0x63,0x65])](_0x350346)[_0x349fb2([0x74,0x68,0x65,0x6e])](()=>_0x184529);}async function _0x796c4c(){await _0x2d104c,_0x8cccdc[_0x349fb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x349fb2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x567fa5,_0x8cccdc[_0x349fb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x349fb2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x567fa5,_0x8cccdc[_0x349fb2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x349fb2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x148873(_0x412087){const _0x1a0c70=_0x154738();_0x8cccdc[_0x1a0c70]=_0x349fb2([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x412087,_0x412087!=_0x349fb2([0x56,0x61,0x6c,0x69,0x64])&&_0x796c4c();}function _0x154738(){const _0x367cc1=window[_0x349fb2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x349fb2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x349fb2([0x6e,0x6f,0x77])]())[_0x349fb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x349fb2([0x2e]),'');let _0x54884a=_0x349fb2([0x4c]);for(let _0x4061ea=0x0;_0x4061ea<_0x367cc1[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4061ea+=0x2){let _0x45c511=window[_0x349fb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x367cc1[_0x349fb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4061ea,_0x4061ea+0x2));_0x45c511>=_0x1b25b8[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45c511-=_0x1b25b8[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54884a+=_0x1b25b8[_0x45c511];}return _0x54884a;}function _0x3e8a7d(){const _0x420e94=_0x22fcb7[_0x349fb2([0x73,0x70,0x6c,0x69,0x74])](_0x349fb2([0x2e]));if(0x3!=_0x420e94[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4aba51(_0x420e94[0x1]);function _0x4aba51(_0x119247){const _0x5e3248=_0x14e527(_0x119247);return _0x5e3248&&_0x5e99ab()?_0x5e3248:null;function _0x5e99ab(){const _0x119530=_0x5e3248[_0x349fb2([0x6a,0x74,0x69])],_0x2cbf1f=window[_0x349fb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x119530[_0x349fb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x119530[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22bfbf={..._0x5e3248,[_0x349fb2([0x6a,0x74,0x69])]:_0x119530[_0x349fb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x119530[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22bfbf[_0x349fb2([0x76,0x63])],_0x48385f(_0x22bfbf)==_0x2cbf1f;}}}async function _0x46654b(){let _0xcdeefc=!0x0;try{const _0x13599b=_0x22fcb7[_0x349fb2([0x73,0x70,0x6c,0x69,0x74])](_0x349fb2([0x2e])),[_0x4c77cf,_0x1280f7,_0x2f4906]=_0x13599b;return _0x3aa881(_0x4c77cf),await _0x287a5d(_0x4c77cf,_0x1280f7,_0x2f4906),_0xcdeefc;}catch{return!0x1;}function _0x3aa881(_0x1ba8a2){const _0x195116=_0x14e527(_0x1ba8a2);_0x195116&&_0x195116[_0x349fb2([0x61,0x6c,0x67])]==_0x349fb2([0x45,0x53,0x32,0x35,0x36])||(_0xcdeefc=!0x1);}async function _0x287a5d(_0x599fb9,_0x525f61,_0x2a6ca0){const _0x488765=window[_0x349fb2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x349fb2([0x66,0x72,0x6f,0x6d])](_0x331376(_0x2a6ca0),_0x14c141=>_0x14c141[_0x349fb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1234e5=new window[(_0x349fb2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x349fb2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x599fb9+_0x349fb2([0x2e])+_0x525f61),_0x1ba901=window[_0x349fb2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x349fb2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ba901)return;const _0x4cf682=await _0x1ba901[_0x349fb2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x349fb2([0x6a,0x77,0x6b]),_0x1a59d3,{[_0x349fb2([0x6e,0x61,0x6d,0x65])]:_0x349fb2([0x45,0x43,0x44,0x53,0x41]),[_0x349fb2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x349fb2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x349fb2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ba901[_0x349fb2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x349fb2([0x6e,0x61,0x6d,0x65])]:_0x349fb2([0x45,0x43,0x44,0x53,0x41]),[_0x349fb2([0x68,0x61,0x73,0x68])]:{[_0x349fb2([0x6e,0x61,0x6d,0x65])]:_0x349fb2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cf682,_0x488765,_0x1234e5)||(_0xcdeefc=!0x1);}}function _0x14e527(_0x72dbba){return _0x72dbba[_0x349fb2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x349fb2([0x65,0x79]))?JSON[_0x349fb2([0x70,0x61,0x72,0x73,0x65])](_0x331376(_0x72dbba)):null;}function _0x331376(_0x38b342){return window[_0x349fb2([0x61,0x74,0x6f,0x62])](_0x38b342[_0x349fb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x349fb2([0x2b]))[_0x349fb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x349fb2([0x2f])));}function _0x48385f(_0x114785){let _0xcb4f6a=0x1505;function _0x3b4824(_0x41f40a){for(let _0x326a87=0x0;_0x326a87<_0x41f40a[_0x349fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x326a87++){const _0x2c0857=_0x41f40a[_0x349fb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x326a87);_0xcb4f6a=(_0xcb4f6a<<0x5)+_0xcb4f6a+_0x2c0857,_0xcb4f6a&=_0xcb4f6a;}}function _0x338a93(_0x45b2a6){Array[_0x349fb2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45b2a6)?_0x45b2a6[_0x349fb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x338a93):_0x45b2a6&&typeof _0x45b2a6==_0x349fb2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x349fb2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45b2a6)[_0x349fb2([0x73,0x6f,0x72,0x74])]()[_0x349fb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3db5c9,_0x52c6cf])=>{_0x3b4824(_0x3db5c9),_0x338a93(_0x52c6cf);}):_0x3b4824(window[_0x349fb2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45b2a6));}return _0x338a93(_0x114785),_0xcb4f6a>>>0x0;}function _0x262e4f(_0x34121d){return _0x34121d[_0x349fb2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x349fb2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x349fb2([0x30]));}function _0x53fd9d(_0x2a57e5){return _0x2a57e5[_0x349fb2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x349fb2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x349fb2([0x6a,0x6f,0x69,0x6e])]('');}function _0x567fa5(){}function _0x349fb2(_0x110182){return _0x110182['map'](_0x47c445=>String['fromCharCode'](_0x47c445))['join']('');}_0x148873(await _0x3282dd());}(this);}['_validateConfig'](){const _0x5421b7=this['editor'];if(!_0x5421b7['config']['get']('lineHeight.supportAllValues'))return;const _0x5a0b68=_0x5421b7['config']['get']('lineHeight.options')['filter'](_0x3f23f5=>'string'==typeof _0x3f23f5&&(!f(_0x3f23f5)&&isNaN(Number(_0x3f23f5))));if(_0x5a0b68['length'])throw new _0x3e7942('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5a0b68});}['_prepareAnyValueConverters'](){const _0x3cd050=this['editor'],_0x2e004c=this['editor']['config']['get']('lineHeight.defaultValue');_0x3cd050['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x49c2fa=>String(_0x49c2fa)===String(_0x2e004c)?null:{'key':'style','value':{'line-height':_0x49c2fa}}}),_0x3cd050['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xeec2ef=>{let _0x5509e5=_0xeec2ef['getStyle']('line-height');return _0x20344f(_0x5509e5)&&(_0x5509e5=String(Number(_0x5509e5['slice'](0x0,-0x1))/0x64)),String(_0x5509e5)===String(_0x2e004c)?null:_0x5509e5;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x113b58=this['editor'],_0x2c59fc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x288d3b=function(_0x80e963,_0x56188d){const _0x5a64dc={'model':{'key':_0x80e963,'values':[]},'view':{}};for(const _0x4090fa of _0x56188d)'class'===_0x4090fa['view']?.['key']?(_0x5a64dc['model']['values']['push'](_0x4090fa['model']),_0x5a64dc['view'][_0x4090fa['model']]={'key':'class','value':_0x4090fa['view']['value']}):(_0x5a64dc['model']['values']['push'](_0x4090fa['model']),_0x5a64dc['view'][_0x4090fa['model']]={'key':'style','value':'line-height:'+_0x4090fa['model']+';'});return _0x5a64dc;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x3f5183=>_0x3f5183['model']));_0x113b58['conversion']['attributeToAttribute'](_0x288d3b),_0x113b58['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x149191=>{let _0x3fc443=_0x149191['getStyle']('line-height');return _0x20344f(_0x3fc443)&&(_0x3fc443=String(Number(_0x3fc443['slice'](0x0,-0x1))/0x64)),_0x3fc443===String(_0x2c59fc)?null:_0x288d3b['model']['values']['includes'](_0x3fc443)?_0x3fc443:null;}}});}}class r extends _0x10155d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x454a97={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x454a97),this['_registerMenuBarComponent'](_0x454a97),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f2247=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40c854;for(const _0x3c8f96 in _0x4f2247){const _0x43dd50=_0x3c8f96,_0x38d900=_0x4f2247[_0x43dd50];if('lineHeightLicenseKeyValid'==_0x38d900||'lineHeightLicenseKeyInvalid'==_0x38d900||'lineHeightLicenseKeyExpired'==_0x38d900||'lineHeightLicenseKeyDomainLimit'==_0x38d900||'lineHeightLicenseKeyNotAllowed'==_0x38d900||'lineHeightLicenseKeyEvaluationLimit'==_0x38d900||'lineHeightLicenseKeyTrialLimit'==_0x38d900||'lineHeightLicenseKeyUsageLimit'==_0x38d900){delete _0x4f2247[_0x43dd50],_0x40c854=_0x38d900,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x40c854&&_0x4f2247['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x40c854&&_0x4f2247['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x40c854&&_0x4f2247['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x40c854&&_0x4f2247['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x40c854&&_0x4f2247['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x40c854&&_0x4f2247['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x40c854&&_0x4f2247['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2bec68=this['editor'],t=_0x2bec68['t'],_0x49c9c1=_0x2bec68['config']['get']('lineHeight'),_0x462e5a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x49c9c1)['map'](_0x27bb0e=>{const _0x20670b=_0x462e5a[_0x27bb0e['title']];return _0x20670b&&_0x20670b!=_0x27bb0e['title']&&(_0x27bb0e=Object['assign']({},_0x27bb0e,{'title':_0x20670b})),_0x27bb0e;});}['_prepareListOptions'](){const _0x241339=this['editor']['commands']['get']('lineHeight'),_0x31084a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4fb4ba=this['_getLocalizedLineHeightOptions'](),_0x21d93f=new _0x465df1(),_0x53bc9d=_0x44f9e5=>'default'===_0x44f9e5||String(_0x31084a)===_0x44f9e5;for(const _0x2e71e4 of _0x4fb4ba){const _0xa978cd={'type':'button','model':new _0x30626a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2e71e4['title'],'withText':!0x0})};_0x53bc9d(_0x2e71e4['model'])?(_0xa978cd['model']['bind']('isOn')['to'](_0x241339,'value',_0x14066e=>!_0x14066e),_0xa978cd['model']['commandParam']=void 0x0):(_0xa978cd['model']['bind']('isOn')['to'](_0x241339,'value',_0x354ca1=>_0x354ca1===_0x2e71e4['model']),_0xa978cd['model']['commandParam']=_0x2e71e4['model']),_0x21d93f['add'](_0xa978cd);}if(this['_shouldRenderCustomValueOption']()){const _0x5e0382=this['_getCustomValueOptionDefinition'](_0x4fb4ba);_0x21d93f['add'](_0x5e0382);}return _0x21d93f;}['_getCustomValueOptionDefinition'](_0x4cbe68){const _0x160f14=this['editor'],t=_0x160f14['t'],_0x4f01c5=_0x160f14['commands']['get']('lineHeight'),_0x100766=_0x4cbe68['map'](_0x5ec004=>_0x5ec004['model']),_0x302cdc={'type':'button','model':new _0x30626a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x302cdc['model']['bind']('commandParam')['to'](_0x4f01c5,'value'),_0x302cdc['model']['bind']('isOn')['to'](_0x4f01c5,'value',_0x594843=>!!_0x594843&&!_0x100766['includes'](String(_0x594843))),_0x302cdc['model']['bind']('label')['to'](_0x4f01c5,'value',_0x4ac03b=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4ac03b))),_0x302cdc;}['_registerToolbarComponent']({accessibleLabel:_0x147b09,options:_0x47cb7b}){const _0x23122b=this['editor'],_0x21f3f4=_0x23122b['commands']['get']('lineHeight');_0x23122b['ui']['componentFactory']['add']('lineHeight',_0x255ad6=>{const _0x2c03ec=_0x13ad2d(_0x255ad6);return _0xbdc84e(_0x2c03ec,_0x47cb7b,{'role':'menu','ariaLabel':_0x147b09}),_0x2c03ec['buttonView']['set']({'label':_0x147b09,'tooltip':!0x0,'icon':_0x419b3f}),_0x2c03ec['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2c03ec['bind']('isEnabled')['to'](_0x21f3f4),this['listenTo'](_0x2c03ec,'execute',_0x5e6ec7=>{_0x23122b['execute'](_0x5e6ec7['source']['commandName'],{'value':_0x5e6ec7['source']['commandParam']}),_0x23122b['editing']['view']['focus']();}),_0x2c03ec['once']('change:isOpen',()=>{const _0x510f82=_0x2c03ec['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2c03ec,_0x47cb7b,_0x510f82);}),_0x2c03ec;});}['_registerMenuBarComponent']({accessibleLabel:_0x1eb177,options:_0x5bba28}){const _0x8c96ee=this['editor'],_0x4e5154=_0x8c96ee['commands']['get']('lineHeight');_0x8c96ee['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2a6097=>{const _0x4fda40=new _0x23e774(_0x2a6097);_0x4fda40['buttonView']['set']({'label':_0x1eb177,'icon':_0x419b3f}),_0x4fda40['bind']('isEnabled')['to'](_0x4e5154);const _0x3cc49b=new _0x58b83d(_0x2a6097);for(const _0x121e90 of _0x5bba28){const _0xd43fb9=new _0x14edf1(_0x2a6097,_0x4fda40),_0x148c2c=new _0x235676(_0x2a6097);_0x148c2c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x148c2c['bind'](...Object['keys'](_0x121e90['model']))['to'](_0x121e90['model']),_0x148c2c['delegate']('execute')['to'](_0x4fda40),_0x148c2c['on']('execute',()=>{_0x8c96ee['execute'](_0x121e90['model']['commandName'],{'value':_0x121e90['model']['commandParam']}),_0x8c96ee['editing']['view']['focus']();}),_0xd43fb9['children']['add'](_0x148c2c),_0x3cc49b['items']['add'](_0xd43fb9);}return _0x4fda40['panelView']['children']['add'](_0x3cc49b),this['_attachCustomOptionVisibilityHandler'](_0x4fda40,_0x5bba28,_0x3cc49b),_0x4fda40;});}['_attachCustomOptionVisibilityHandler'](_0x1dab07,_0x48b92f,_0x440aa7){if(!this['_shouldRenderCustomValueOption']())return;const _0x2ceefb=()=>{if(!_0x1dab07['isOpen'])return;_0x440aa7['items']['last']['isVisible']=Boolean(_0x48b92f['last']['model']['isOn']);};_0x2ceefb(),_0x1dab07['on']('change:isOpen',()=>{_0x2ceefb();});}}class k extends _0x10155d{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
|
23
|
+
import{Command as _0x4713dc,Plugin as _0x2910ce}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x2408c2,CKEditorError as _0x5b8017,uid as _0x5a6128,Collection as _0xa706b2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1c8125}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x32f6de,createDropdown as _0x3ac070,addListToDropdown as _0x340373,MenuBarMenuView as _0x229795,MenuBarMenuListView as _0x42c70a,MenuBarMenuListItemView as _0x30e54b,MenuBarMenuListItemButtonView as _0x4ef372}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3de3fb}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x4713dc{['refresh'](){const _0x4beae3=this['editor']['model']['document'],_0xc1115b=_0x2408c2(_0x4beae3['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xc1115b)&&this['_canHaveLineHeight'](_0xc1115b),this['value']=this['isEnabled']&&_0xc1115b['getAttribute']('lineHeight');}['execute'](_0x343c29={}){const _0x3ff592=this['editor']['model'],_0x191484=_0x3ff592['document']['selection'],_0x3340c4=_0x343c29['value'];_0x3ff592['change'](_0x162084=>{const _0x5a80c7=Array['from'](_0x191484['getSelectedBlocks']())['filter'](_0x81100f=>this['_canHaveLineHeight'](_0x81100f));for(const _0x535ac9 of _0x5a80c7)_0x3340c4?_0x162084['setAttribute']('lineHeight',_0x3340c4,_0x535ac9):_0x162084['removeAttribute']('lineHeight',_0x535ac9);});}['_canHaveLineHeight'](_0x344219){return this['editor']['model']['schema']['checkAttribute'](_0x344219,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x19995e){return'string'==typeof _0x19995e&&'default'===_0x19995e['toLowerCase']();}function a(_0x1c76c6){return _0x1c76c6['options']['map'](_0x2a9a01=>{return f(_0x2a9a01)?{'title':String(_0x1c76c6['defaultValue']),'model':'default'}:('number'==typeof _0x2a9a01&&(_0x2a9a01=String(_0x2a9a01)),'string'!=typeof _0x2a9a01?_0x2a9a01:parseFloat(_0x2a9a01)?{'title':_0x2a9a01,'model':_0x2a9a01,'view':{'name':'span','styles':{'line-height':_0x2a9a01}}}:'string'==typeof(_0x3d487a=_0x2a9a01)?v[_0x3d487a]:v[_0x3d487a['model']]);var _0x3d487a;})['filter'](_0xbc1cd=>void 0x0!==_0xbc1cd);}class e extends _0x2910ce{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb97975){super(_0xb97975),_0xb97975['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2b73bf=this['editor'];this['_validateConfig'](),_0x2b73bf['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2b73bf['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2b73bf['commands']['add']('lineHeight',new n(_0x2b73bf)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x59d78c){const _0x1761d8=_0x450a61([0x54,0x7a,0x61,0x6e,0x64,0x33,0x52,0x4b,0x53,0x4d,0x51,0x75,0x4c,0x6d,0x72,0x56,0x55,0x68,0x4f,0x49,0x50,0x70,0x6b,0x71,0x69,0x65,0x5a,0x6a,0x31,0x58,0x66,0x32,0x4e,0x46,0x59,0x62,0x77,0x76,0x67,0x37,0x57,0x39,0x48,0x73,0x4a,0x44,0x63,0x35,0x38,0x47,0x6f,0x42,0x6c,0x43,0x30,0x74,0x41,0x34,0x78,0x36,0x45,0x79]),_0x9b9472=0x3c999884,_0x4ddc7f=0x3c9ef524^_0x9b9472,_0x49cdfd=window[_0x450a61([0x44,0x61,0x74,0x65])][_0x450a61([0x6e,0x6f,0x77])](),_0x2bfd85=_0x59d78c[_0x450a61([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x119591=new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14bfed=>{_0x2bfd85[_0x450a61([0x6f,0x6e,0x63,0x65])](_0x450a61([0x72,0x65,0x61,0x64,0x79]),_0x14bfed);}),_0x3133dd={[_0x450a61([0x6b,0x74,0x79])]:_0x450a61([0x45,0x43]),[_0x450a61([0x75,0x73,0x65])]:_0x450a61([0x73,0x69,0x67]),[_0x450a61([0x63,0x72,0x76])]:_0x450a61([0x50,0x2d,0x32,0x35,0x36]),[_0x450a61([0x78])]:_0x450a61([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x450a61([0x79])]:_0x450a61([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x450a61([0x61,0x6c,0x67])]:_0x450a61([0x45,0x53,0x32,0x35,0x36])},_0x15cf83=_0x2bfd85[_0x450a61([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x450a61([0x67,0x65,0x74])](_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ee3c2(){let _0x352dbe,_0x266405=null,_0x55e3f6=null;try{if(_0x15cf83==_0x450a61([0x47,0x50,0x4c]))return _0x450a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x352dbe=_0x33a063(),!_0x352dbe)return _0x450a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x352dbe[_0x450a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55e3f6=_0xe18750(_0x352dbe[_0x450a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x352dbe[_0x450a61([0x6a,0x74,0x69])])),await _0x4159f8()?_0x1b9a13()?_0x478343()?_0x450a61([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52d2a6()?(_0x352dbe[_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x450a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x266405=_0x2c47e9(_0x450a61([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x352dbe[_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x450a61([0x74,0x72,0x69,0x61,0x6c])&&(_0x266405=_0x2c47e9(_0x450a61([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x327b58()):_0x450a61([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x450a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x450a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x450a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x478343(){const _0x241caa=[_0x450a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x450a61([0x74,0x72,0x69,0x61,0x6c])][_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x352dbe[_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x49cdfd/0x3e8:0xe10*_0x4ddc7f;return _0x352dbe[_0x450a61([0x65,0x78,0x70])]<_0x241caa;}function _0x1b9a13(){const _0x401c09=_0x352dbe[_0x450a61([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x401c09&&(!!_0x401c09[_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x450a61([0x2a]))||!!_0x401c09[_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x450a61([0x4c,0x48])));}function _0x52d2a6(){const _0x26968c=_0x352dbe[_0x450a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26968c||0x0==_0x26968c[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26573a}=new URL(window[_0x450a61([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26968c[_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26573a))return!0x0;const _0x42f4fb=_0x26573a[_0x450a61([0x73,0x70,0x6c,0x69,0x74])](_0x450a61([0x2e]));return _0x26968c[_0x450a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3983f6=>_0x3983f6[_0x450a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x450a61([0x2a])))[_0x450a61([0x6d,0x61,0x70])](_0x2eef47=>_0x2eef47[_0x450a61([0x73,0x70,0x6c,0x69,0x74])](_0x450a61([0x2e])))[_0x450a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xeacf83=>_0xeacf83[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42f4fb[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x450a61([0x6d,0x61,0x70])](_0x25d534=>Array(_0x42f4fb[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25d534[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x450a61([0x66,0x69,0x6c,0x6c])](_0x25d534[0x0]===_0x450a61([0x2a])?_0x450a61([0x2a]):'')[_0x450a61([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25d534))[_0x450a61([0x73,0x6f,0x6d,0x65])](_0x2213e0=>_0x42f4fb[_0x450a61([0x65,0x76,0x65,0x72,0x79])]((_0x495639,_0x4bcfaf)=>_0x2213e0[_0x4bcfaf]===_0x495639||_0x2213e0[_0x4bcfaf]===_0x450a61([0x2a])));}function _0x327b58(){return _0x266405&&_0x55e3f6?new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x983c7a,_0x5d638e)=>{_0x266405[_0x450a61([0x74,0x68,0x65,0x6e])](_0x983c7a,_0x5d638e),_0x55e3f6[_0x450a61([0x74,0x68,0x65,0x6e])](_0x35b91e=>{_0x35b91e!=_0x450a61([0x56,0x61,0x6c,0x69,0x64])&&_0x983c7a(_0x35b91e);},_0x5d638e);}):_0x266405||_0x55e3f6||_0x450a61([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe18750(_0x5c8b94,_0x487e6f){return new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x420990=>{if(_0x549a16())return _0x420990(_0x450a61([0x56,0x61,0x6c,0x69,0x64]));_0x23da8d(),_0x2bfd85[_0x450a61([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x450a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58c678=!0x1;const _0x30534d=_0x5a6128();function _0x24fd2d(_0x43e549){return!!_0x43e549&&(typeof _0x43e549===_0x450a61([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43e549===_0x450a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43e549[_0x450a61([0x74,0x68,0x65,0x6e])]===_0x450a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43e549[_0x450a61([0x63,0x61,0x74,0x63,0x68])]===_0x450a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bb75e(_0xc85de5){_0x4475c9(_0xc85de5)[_0x450a61([0x74,0x68,0x65,0x6e])](_0x48c842=>{if(!_0x48c842||_0x48c842[_0x450a61([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x450a61([0x6f,0x6b]))return _0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36a292(_0x35d8c6(_0x30534d+_0x487e6f))!=_0x48c842[_0x450a61([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x450a61([0x56,0x61,0x6c,0x69,0x64]);})[_0x450a61([0x74,0x68,0x65,0x6e])](_0x99bf48=>(_0x490556(),_0x99bf48),()=>{const _0x6cfe25=_0x4a6660();return null==_0x6cfe25?(_0x490556(),_0x450a61([0x56,0x61,0x6c,0x69,0x64])):_0x450a61(_0x49cdfd-_0x6cfe25>(0x18951c84^_0x9b9472)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x450a61([0x74,0x68,0x65,0x6e])](_0x420990)[_0x450a61([0x63,0x61,0x74,0x63,0x68])](()=>{_0x420990(_0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4061dc=0x3caf7604^_0x9b9472;function _0x490556(){const _0x17b384=_0x450a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x36a292(_0x35d8c6(_0x5c8b94)),_0x284496=_0x4bec4a(_0x36a292(window[_0x450a61([0x4d,0x61,0x74,0x68])][_0x450a61([0x63,0x65,0x69,0x6c])](_0x49cdfd/_0x4061dc)));window[_0x450a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x450a61([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17b384,_0x284496);}function _0x4a6660(){const _0x50c785=_0x450a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x36a292(_0x35d8c6(_0x5c8b94)),_0x3577ee=window[_0x450a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x450a61([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50c785);return _0x3577ee?window[_0x450a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bec4a(_0x3577ee),0x10)*_0x4061dc:null;}function _0x4475c9(_0x436f96){return new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12c1d0,_0x162ccc)=>{_0x436f96[_0x450a61([0x74,0x68,0x65,0x6e])](_0x12c1d0,_0x162ccc),window[_0x450a61([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x162ccc,0x3c984c44^_0x9b9472);});}}_0x2bfd85[_0x450a61([0x6f,0x6e])](_0x450a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x586b9f,_0x8a6f5a)=>{if(_0x8a6f5a[0x0]!=_0x5c8b94)return _0x420990(_0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8a6f5a[0x1]={..._0x8a6f5a[0x1],[_0x450a61([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30534d};},{[_0x450a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x450a61([0x68,0x69,0x67,0x68])}),_0x2bfd85[_0x450a61([0x6f,0x6e])](_0x450a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x134fa8=>{_0x24fd2d(_0x134fa8[_0x450a61([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58c678=!0x0,_0x1bb75e(_0x134fa8[_0x450a61([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x450a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x450a61([0x6c,0x6f,0x77])}),_0x119591[_0x450a61([0x74,0x68,0x65,0x6e])](()=>{_0x58c678||_0x420990(_0x450a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x549a16(){return _0x2bfd85[_0x450a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x450a61([0x76,0x69,0x65,0x77])][_0x450a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x450a61([0x61,0x75,0x74,0x6f]);}function _0x23da8d(){_0x2bfd85[_0x450a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x450a61([0x76,0x69,0x65,0x77])][_0x450a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x450a61([0x61,0x75,0x74,0x6f]);}}function _0x2c47e9(_0x591b5b){const _0x5f46c6=[new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21cd06=>setTimeout(_0x21cd06,0x3c90a648^_0x9b9472)),_0x119591[_0x450a61([0x74,0x68,0x65,0x6e])](()=>new window[(_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x196809=>{let _0x3b994d=0x0;_0x2bfd85[_0x450a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x450a61([0x6f,0x6e])](_0x450a61([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x432316,_0xa6a731)=>{_0xa6a731[0x0][_0x450a61([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b994d++,_0x3b994d==(0x3c99997c^_0x9b9472)&&(_0x196809(),_0x432316[_0x450a61([0x6f,0x66,0x66])]());});}))];return window[_0x450a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x450a61([0x72,0x61,0x63,0x65])](_0x5f46c6)[_0x450a61([0x74,0x68,0x65,0x6e])](()=>_0x591b5b);}async function _0x4e4a5b(){await _0x119591,_0x2bfd85[_0x450a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x450a61([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a62e6,_0x2bfd85[_0x450a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x450a61([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a62e6,_0x2bfd85[_0x450a61([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x450a61([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x288f24(_0x227d07){const _0x44f363=_0x3ccb1b();_0x2bfd85[_0x44f363]=_0x450a61([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x227d07,_0x227d07!=_0x450a61([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4a5b();}function _0x3ccb1b(){const _0x1aad68=window[_0x450a61([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x450a61([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x450a61([0x6e,0x6f,0x77])]())[_0x450a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x450a61([0x2e]),'');let _0x357048=_0x450a61([0x54]);for(let _0x3ed991=0x0;_0x3ed991<_0x1aad68[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ed991+=0x2){let _0x5e7842=window[_0x450a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1aad68[_0x450a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ed991,_0x3ed991+0x2));_0x5e7842>=_0x1761d8[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e7842-=_0x1761d8[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x357048+=_0x1761d8[_0x5e7842];}return _0x357048;}function _0x33a063(){const _0x30a6ac=_0x15cf83[_0x450a61([0x73,0x70,0x6c,0x69,0x74])](_0x450a61([0x2e]));if(0x3!=_0x30a6ac[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4bb3a6(_0x30a6ac[0x1]);function _0x4bb3a6(_0x3d13d9){const _0x38bdc1=_0x5031a5(_0x3d13d9);return _0x38bdc1&&_0x212b7b()?_0x38bdc1:null;function _0x212b7b(){const _0x3e617e=_0x38bdc1[_0x450a61([0x6a,0x74,0x69])],_0x5385c0=window[_0x450a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e617e[_0x450a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e617e[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa07dbc={..._0x38bdc1,[_0x450a61([0x6a,0x74,0x69])]:_0x3e617e[_0x450a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e617e[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa07dbc[_0x450a61([0x76,0x63])],_0x35d8c6(_0xa07dbc)==_0x5385c0;}}}async function _0x4159f8(){let _0xeba859=!0x0;try{const _0x36d7c5=_0x15cf83[_0x450a61([0x73,0x70,0x6c,0x69,0x74])](_0x450a61([0x2e])),[_0xd4cc18,_0x583971,_0x3189f8]=_0x36d7c5;return _0x6e384c(_0xd4cc18),await _0x4759c7(_0xd4cc18,_0x583971,_0x3189f8),_0xeba859;}catch{return!0x1;}function _0x6e384c(_0x39d0d9){const _0x53400b=_0x5031a5(_0x39d0d9);_0x53400b&&_0x53400b[_0x450a61([0x61,0x6c,0x67])]==_0x450a61([0x45,0x53,0x32,0x35,0x36])||(_0xeba859=!0x1);}async function _0x4759c7(_0x583056,_0x1b0690,_0x2b4f7f){const _0x45e800=window[_0x450a61([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x450a61([0x66,0x72,0x6f,0x6d])](_0x1405dd(_0x2b4f7f),_0x3221d9=>_0x3221d9[_0x450a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x225f4b=new window[(_0x450a61([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x450a61([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x583056+_0x450a61([0x2e])+_0x1b0690),_0x3b4d57=window[_0x450a61([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x450a61([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b4d57)return;const _0x292ec5=await _0x3b4d57[_0x450a61([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x450a61([0x6a,0x77,0x6b]),_0x3133dd,{[_0x450a61([0x6e,0x61,0x6d,0x65])]:_0x450a61([0x45,0x43,0x44,0x53,0x41]),[_0x450a61([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x450a61([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x450a61([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b4d57[_0x450a61([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x450a61([0x6e,0x61,0x6d,0x65])]:_0x450a61([0x45,0x43,0x44,0x53,0x41]),[_0x450a61([0x68,0x61,0x73,0x68])]:{[_0x450a61([0x6e,0x61,0x6d,0x65])]:_0x450a61([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x292ec5,_0x45e800,_0x225f4b)||(_0xeba859=!0x1);}}function _0x5031a5(_0x23f704){return _0x23f704[_0x450a61([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x450a61([0x65,0x79]))?JSON[_0x450a61([0x70,0x61,0x72,0x73,0x65])](_0x1405dd(_0x23f704)):null;}function _0x1405dd(_0x7135d8){return window[_0x450a61([0x61,0x74,0x6f,0x62])](_0x7135d8[_0x450a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x450a61([0x2b]))[_0x450a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x450a61([0x2f])));}function _0x35d8c6(_0x2338fc){let _0x48d1f0=0x1505;function _0x50a23d(_0x4c94a7){for(let _0x5d8e3b=0x0;_0x5d8e3b<_0x4c94a7[_0x450a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d8e3b++){const _0x492a09=_0x4c94a7[_0x450a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d8e3b);_0x48d1f0=(_0x48d1f0<<0x5)+_0x48d1f0+_0x492a09,_0x48d1f0&=_0x48d1f0;}}function _0x378980(_0x157173){Array[_0x450a61([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x157173)?_0x157173[_0x450a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x378980):_0x157173&&typeof _0x157173==_0x450a61([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x450a61([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x157173)[_0x450a61([0x73,0x6f,0x72,0x74])]()[_0x450a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x260f21,_0x4e0f94])=>{_0x50a23d(_0x260f21),_0x378980(_0x4e0f94);}):_0x50a23d(window[_0x450a61([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x157173));}return _0x378980(_0x2338fc),_0x48d1f0>>>0x0;}function _0x36a292(_0xfa371e){return _0xfa371e[_0x450a61([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x450a61([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x450a61([0x30]));}function _0x4bec4a(_0x131976){return _0x131976[_0x450a61([0x73,0x70,0x6c,0x69,0x74])]('')[_0x450a61([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x450a61([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a62e6(){}function _0x450a61(_0x7e7023){return _0x7e7023['map'](_0x2f1dca=>String['fromCharCode'](_0x2f1dca))['join']('');}_0x288f24(await _0x5ee3c2());}(this);}['_validateConfig'](){const _0x443008=this['editor'];if(!_0x443008['config']['get']('lineHeight.supportAllValues'))return;const _0x185d54=_0x443008['config']['get']('lineHeight.options')['filter'](_0x1fb9eb=>'string'==typeof _0x1fb9eb&&(!f(_0x1fb9eb)&&isNaN(Number(_0x1fb9eb))));if(_0x185d54['length'])throw new _0x5b8017('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x185d54});}['_prepareAnyValueConverters'](){const _0x15fbeb=this['editor'],_0x413842=this['editor']['config']['get']('lineHeight.defaultValue');_0x15fbeb['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x56ecf5=>String(_0x56ecf5)===String(_0x413842)?null:{'key':'style','value':{'line-height':_0x56ecf5}}}),_0x15fbeb['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0xc8c3b2=>{let _0x12cccc=_0xc8c3b2['getStyle']('line-height');return _0x1c8125(_0x12cccc)&&(_0x12cccc=String(Number(_0x12cccc['slice'](0x0,-0x1))/0x64)),String(_0x12cccc)===String(_0x413842)?null:_0x12cccc;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x50da08=this['editor'],_0x13b90a=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1996f6=function(_0x2519fb,_0x7117a7){const _0x453f2d={'model':{'key':_0x2519fb,'values':[]},'view':{}};for(const _0x3193aa of _0x7117a7)'class'===_0x3193aa['view']?.['key']?(_0x453f2d['model']['values']['push'](_0x3193aa['model']),_0x453f2d['view'][_0x3193aa['model']]={'key':'class','value':_0x3193aa['view']['value']}):(_0x453f2d['model']['values']['push'](_0x3193aa['model']),_0x453f2d['view'][_0x3193aa['model']]={'key':'style','value':'line-height:'+_0x3193aa['model']+';'});return _0x453f2d;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x299e35=>_0x299e35['model']));_0x50da08['conversion']['attributeToAttribute'](_0x1996f6),_0x50da08['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x49d44d=>{let _0x5758c1=_0x49d44d['getStyle']('line-height');return _0x1c8125(_0x5758c1)&&(_0x5758c1=String(Number(_0x5758c1['slice'](0x0,-0x1))/0x64)),_0x5758c1===String(_0x13b90a)?null:_0x1996f6['model']['values']['includes'](_0x5758c1)?_0x5758c1:null;}}});}}class r extends _0x2910ce{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4aca78={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x4aca78),this['_registerMenuBarComponent'](_0x4aca78),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25cacc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e65f9;for(const _0x46a7ad in _0x25cacc){const _0x25c019=_0x46a7ad,_0x374139=_0x25cacc[_0x25c019];if('lineHeightLicenseKeyValid'==_0x374139||'lineHeightLicenseKeyInvalid'==_0x374139||'lineHeightLicenseKeyExpired'==_0x374139||'lineHeightLicenseKeyDomainLimit'==_0x374139||'lineHeightLicenseKeyNotAllowed'==_0x374139||'lineHeightLicenseKeyEvaluationLimit'==_0x374139||'lineHeightLicenseKeyTrialLimit'==_0x374139||'lineHeightLicenseKeyUsageLimit'==_0x374139){delete _0x25cacc[_0x25c019],_0x3e65f9=_0x374139,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x3e65f9&&_0x25cacc['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x3e65f9&&_0x25cacc['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x3e65f9&&_0x25cacc['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x3e65f9&&_0x25cacc['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x3e65f9&&_0x25cacc['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x3e65f9&&_0x25cacc['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x3e65f9&&_0x25cacc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x158864=this['editor'],t=_0x158864['t'],_0x5c6d81=_0x158864['config']['get']('lineHeight'),_0x34bc86={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x5c6d81)['map'](_0x59073a=>{const _0xbdbbb0=_0x34bc86[_0x59073a['title']];return _0xbdbbb0&&_0xbdbbb0!=_0x59073a['title']&&(_0x59073a=Object['assign']({},_0x59073a,{'title':_0xbdbbb0})),_0x59073a;});}['_prepareListOptions'](){const _0x3613ff=this['editor']['commands']['get']('lineHeight'),_0x107e07=this['editor']['config']['get']('lineHeight.defaultValue'),_0x399727=this['_getLocalizedLineHeightOptions'](),_0x2f9b47=new _0xa706b2(),_0x2bc9ab=_0x5a1268=>'default'===_0x5a1268||String(_0x107e07)===_0x5a1268;for(const _0x34240e of _0x399727){const _0x37888f={'type':'button','model':new _0x32f6de({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x34240e['title'],'withText':!0x0})};_0x2bc9ab(_0x34240e['model'])?(_0x37888f['model']['bind']('isOn')['to'](_0x3613ff,'value',_0x45101a=>!_0x45101a),_0x37888f['model']['commandParam']=void 0x0):(_0x37888f['model']['bind']('isOn')['to'](_0x3613ff,'value',_0x37d12f=>_0x37d12f===_0x34240e['model']),_0x37888f['model']['commandParam']=_0x34240e['model']),_0x2f9b47['add'](_0x37888f);}if(this['_shouldRenderCustomValueOption']()){const _0x2f506e=this['_getCustomValueOptionDefinition'](_0x399727);_0x2f9b47['add'](_0x2f506e);}return _0x2f9b47;}['_getCustomValueOptionDefinition'](_0x4d90bc){const _0x2a14e5=this['editor'],t=_0x2a14e5['t'],_0x42448e=_0x2a14e5['commands']['get']('lineHeight'),_0x5a05c1=_0x4d90bc['map'](_0x3a16de=>_0x3a16de['model']),_0x5ba52a={'type':'button','model':new _0x32f6de({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x5ba52a['model']['bind']('commandParam')['to'](_0x42448e,'value'),_0x5ba52a['model']['bind']('isOn')['to'](_0x42448e,'value',_0x492cc4=>!!_0x492cc4&&!_0x5a05c1['includes'](String(_0x492cc4))),_0x5ba52a['model']['bind']('label')['to'](_0x42448e,'value',_0x3112f7=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3112f7))),_0x5ba52a;}['_registerToolbarComponent']({accessibleLabel:_0x59577b,options:_0x3f4797}){const _0x3c2600=this['editor'],_0x21b037=_0x3c2600['commands']['get']('lineHeight');_0x3c2600['ui']['componentFactory']['add']('lineHeight',_0x296aeb=>{const _0x560680=_0x3ac070(_0x296aeb);return _0x340373(_0x560680,_0x3f4797,{'role':'menu','ariaLabel':_0x59577b}),_0x560680['buttonView']['set']({'label':_0x59577b,'tooltip':!0x0,'icon':_0x3de3fb}),_0x560680['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x560680['bind']('isEnabled')['to'](_0x21b037),this['listenTo'](_0x560680,'execute',_0x456e77=>{_0x3c2600['execute'](_0x456e77['source']['commandName'],{'value':_0x456e77['source']['commandParam']}),_0x3c2600['editing']['view']['focus']();}),_0x560680['once']('change:isOpen',()=>{const _0x4a941c=_0x560680['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x560680,_0x3f4797,_0x4a941c);}),_0x560680;});}['_registerMenuBarComponent']({accessibleLabel:_0x25f621,options:_0x33f696}){const _0x4b1579=this['editor'],_0x5e4f72=_0x4b1579['commands']['get']('lineHeight');_0x4b1579['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5cd696=>{const _0x5a6499=new _0x229795(_0x5cd696);_0x5a6499['buttonView']['set']({'label':_0x25f621,'icon':_0x3de3fb}),_0x5a6499['bind']('isEnabled')['to'](_0x5e4f72);const _0x382b70=new _0x42c70a(_0x5cd696);for(const _0x3ef4a4 of _0x33f696){const _0xb81f73=new _0x30e54b(_0x5cd696,_0x5a6499),_0x199d5f=new _0x4ef372(_0x5cd696);_0x199d5f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x199d5f['bind'](...Object['keys'](_0x3ef4a4['model']))['to'](_0x3ef4a4['model']),_0x199d5f['delegate']('execute')['to'](_0x5a6499),_0x199d5f['on']('execute',()=>{_0x4b1579['execute'](_0x3ef4a4['model']['commandName'],{'value':_0x3ef4a4['model']['commandParam']}),_0x4b1579['editing']['view']['focus']();}),_0xb81f73['children']['add'](_0x199d5f),_0x382b70['items']['add'](_0xb81f73);}return _0x5a6499['panelView']['children']['add'](_0x382b70),this['_attachCustomOptionVisibilityHandler'](_0x5a6499,_0x33f696,_0x382b70),_0x5a6499;});}['_attachCustomOptionVisibilityHandler'](_0x3b2af3,_0x4eea54,_0x1fa6cc){if(!this['_shouldRenderCustomValueOption']())return;const _0x424134=()=>{if(!_0x3b2af3['isOpen'])return;_0x1fa6cc['items']['last']['isVisible']=Boolean(_0x4eea54['last']['model']['isOn']);};_0x424134(),_0x3b2af3['on']('change:isOpen',()=>{_0x424134();});}}class k extends _0x2910ce{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20250715.0",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
21
|
-
"ckeditor5": "0.0.0-nightly-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250715.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250715.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250715.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250715.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250715.0",
|
|
21
|
+
"ckeditor5": "0.0.0-nightly-20250715.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
24
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4cf067=_0x4260;(function(_0x52c067,_0x35e448){const _0x72c8a0=_0x4260,_0xe1b86e=_0x52c067();while(!![]){try{const _0x7bd063=-parseInt(_0x72c8a0(0xc2))/0x1+-parseInt(_0x72c8a0(0xbe))/0x2*(-parseInt(_0x72c8a0(0x9e))/0x3)+parseInt(_0x72c8a0(0xb9))/0x4+-parseInt(_0x72c8a0(0x9a))/0x5+-parseInt(_0x72c8a0(0xcc))/0x6+-parseInt(_0x72c8a0(0xae))/0x7*(-parseInt(_0x72c8a0(0xc6))/0x8)+parseInt(_0x72c8a0(0xca))/0x9;if(_0x7bd063===_0x35e448)break;else _0xe1b86e['push'](_0xe1b86e['shift']());}catch(_0x340581){_0xe1b86e['push'](_0xe1b86e['shift']());}}}(_0xdc12,0xd0e35));import{Plugin as _0x1c7422}from'ckeditor5/src/core.js';function _0xdc12(){const _0x7b67cb=['329fbQmQX','editor','define','isPremiumPlugin','map','href','get','isOfficialPlugin','default','string','style','898512kaIwuC','fromCharCode','config','_preparePredefinedConverters','setAttributeProperties','2dYLVej','attributeToAttribute','_prepareAnyValueConverters','lineHeight.defaultValue','1305590OEgZtN','conversion','LineHeightEditing','filter','33736VhYvcM','line-height-invalid-use-of-named-presets','extend','lineHeight','20655027MBRRJW','afterInit','2087094idUquG','commands','init','4825915KjyOLB','includes','schema','slice','2269191hRQxIX','$block','add','model','upcast','pluginName','lineHeight.options','getStyle','join','length','line-height','downcast','lineHeight.supportAllValues','_validateConfig','values','for'];_0xdc12=function(){return _0x7b67cb;};return _0xdc12();}import{LineHeightCommand as _0x2220da}from'./lineheightcommand.js';function _0x4260(_0x2dd1b5,_0x4ceced){const _0xdc122f=_0xdc12();return _0x4260=function(_0x426038,_0x1b3d79){_0x426038=_0x426038-0x98;let _0x3f1a68=_0xdc122f[_0x426038];return _0x3f1a68;},_0x4260(_0x2dd1b5,_0x4ceced);}import{isPercentageStyleValue as _0xd60a83}from'ckeditor5/src/engine.js';import{uid as _0x2924f6,CKEditorError as _0x57acde}from'ckeditor5/src/utils.js';import{buildDefinition as _0xdcfef8,isLineHeightDefaultValue as _0x520f1b,normalizeOptions as _0x41b913}from'./utils.js';export class LineHeightEditing extends _0x1c7422{static get[_0x4cf067(0xa3)](){const _0x428dc5=_0x4cf067;return _0x428dc5(0xc4);}static get[_0x4cf067(0xb5)](){return!0x0;}static get[_0x4cf067(0xb1)](){return!0x0;}constructor(_0x85c091){const _0x26a315=_0x4cf067;super(_0x85c091),_0x85c091[_0x26a315(0xbb)][_0x26a315(0xb0)](_0x26a315(0xc9),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x26a315(0xb6),0x2,2.5,0x3]});}[_0x4cf067(0x99)](){const _0x6eebc1=_0x4cf067,_0x222b68=this[_0x6eebc1(0xaf)];this[_0x6eebc1(0xab)](),_0x222b68[_0x6eebc1(0xa1)][_0x6eebc1(0x9c)][_0x6eebc1(0xc8)](_0x6eebc1(0x9f),{'allowAttributes':_0x6eebc1(0xc9)}),_0x222b68[_0x6eebc1(0xa1)][_0x6eebc1(0x9c)][_0x6eebc1(0xbd)](_0x6eebc1(0xc9),{'isFormatting':!0x0}),_0x222b68[_0x6eebc1(0x98)][_0x6eebc1(0xa0)](_0x6eebc1(0xc9),new _0x2220da(_0x222b68)),this[_0x6eebc1(0xaf)][_0x6eebc1(0xbb)][_0x6eebc1(0xb4)](_0x6eebc1(0xaa))?this[_0x6eebc1(0xc0)]():this[_0x6eebc1(0xbc)]();}[_0x4cf067(0xcb)](){!async function(_0x981c5){const _0x4b06aa=_0x2f1329([0x4c,0x6f,0x38,0x4f,0x79,0x6d,0x36,0x68,0x61,0x57,0x37,0x51,0x45,0x6e,0x74,0x5a,0x66,0x48,0x43,0x65,0x6b,0x46,0x34,0x44,0x58,0x4b,0x59,0x4d,0x69,0x6c,0x35,0x64,0x6a,0x72,0x41,0x56,0x42,0x47,0x49,0x53,0x30,0x76,0x77,0x67,0x4e,0x52,0x54,0x32,0x55,0x31,0x33,0x70,0x39,0x63,0x4a,0x71,0x73,0x75,0x62,0x78,0x7a,0x50]),_0x2aef5f=0x5b9e4120,_0x2a8a2d=0x5b992ca8^_0x2aef5f,_0x1a196d=window[_0x2f1329([0x44,0x61,0x74,0x65])][_0x2f1329([0x6e,0x6f,0x77])](),_0x2cd4ea=_0x981c5[_0x2f1329([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x345319=new window[(_0x2f1329([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x71b5ff=>{_0x2cd4ea[_0x2f1329([0x6f,0x6e,0x63,0x65])](_0x2f1329([0x72,0x65,0x61,0x64,0x79]),_0x71b5ff);}),_0x218a87={[_0x2f1329([0x6b,0x74,0x79])]:_0x2f1329([0x45,0x43]),[_0x2f1329([0x75,0x73,0x65])]:_0x2f1329([0x73,0x69,0x67]),[_0x2f1329([0x63,0x72,0x76])]:_0x2f1329([0x50,0x2d,0x32,0x35,0x36]),[_0x2f1329([0x78])]:_0x2f1329([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]),[_0x2f1329([0x79])]:_0x2f1329([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]),[_0x2f1329([0x61,0x6c,0x67])]:_0x2f1329([0x45,0x53,0x32,0x35,0x36])},_0x39acad=_0x2cd4ea[_0x2f1329([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f1329([0x67,0x65,0x74])](_0x2f1329([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x57801b(){let _0x1836d5,_0x1dc439=null,_0x24e7e6=null;try{if(_0x39acad==_0x2f1329([0x47,0x50,0x4c]))return _0x2f1329([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1836d5=_0x17d924(),!_0x1836d5)return _0x2f1329([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1836d5[_0x2f1329([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24e7e6=_0x1eed59(_0x1836d5[_0x2f1329([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1836d5[_0x2f1329([0x6a,0x74,0x69])])),await _0x2b7786()?_0x3e277e()?_0x5b7387()?_0x2f1329([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x241e86()?(_0x1836d5[_0x2f1329([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f1329([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1dc439=_0x2b177e(_0x2f1329([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1836d5[_0x2f1329([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f1329([0x74,0x72,0x69,0x61,0x6c])&&(_0x1dc439=_0x2b177e(_0x2f1329([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x538228()):_0x2f1329([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f1329([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f1329([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f1329([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b7387(){const _0x1689f0=[_0x2f1329([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f1329([0x74,0x72,0x69,0x61,0x6c])][_0x2f1329([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1836d5[_0x2f1329([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a196d/0x3e8:0xe10*_0x2a8a2d;return _0x1836d5[_0x2f1329([0x65,0x78,0x70])]<_0x1689f0;}function _0x3e277e(){const _0x39599c=_0x1836d5[_0x2f1329([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39599c&&(!!_0x39599c[_0x2f1329([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1329([0x2a]))||!!_0x39599c[_0x2f1329([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1329([0x4c,0x48])));}function _0x241e86(){const _0x16c001=_0x4260,_0x4c757a=_0x1836d5[_0x2f1329([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c757a||0x0==_0x4c757a[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36a9b9}=new URL(window[_0x2f1329([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x16c001(0xb3)]);if(_0x4c757a[_0x2f1329([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36a9b9))return!0x0;const _0x29f810=_0x36a9b9[_0x2f1329([0x73,0x70,0x6c,0x69,0x74])](_0x2f1329([0x2e]));return _0x4c757a[_0x2f1329([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5988ba=>_0x5988ba[_0x2f1329([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f1329([0x2a])))[_0x2f1329([0x6d,0x61,0x70])](_0x3fd08b=>_0x3fd08b[_0x2f1329([0x73,0x70,0x6c,0x69,0x74])](_0x2f1329([0x2e])))[_0x2f1329([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f2afd=>_0x3f2afd[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29f810[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f1329([0x6d,0x61,0x70])](_0x980e42=>Array(_0x29f810[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x980e42[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f1329([0x66,0x69,0x6c,0x6c])](_0x980e42[0x0]===_0x2f1329([0x2a])?_0x2f1329([0x2a]):'')[_0x2f1329([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x980e42))[_0x2f1329([0x73,0x6f,0x6d,0x65])](_0x232e5c=>_0x29f810[_0x2f1329([0x65,0x76,0x65,0x72,0x79])]((_0x341c8d,_0x1b5c58)=>_0x232e5c[_0x1b5c58]===_0x341c8d||_0x232e5c[_0x1b5c58]===_0x2f1329([0x2a])));}function _0x538228(){return _0x1dc439&&_0x24e7e6?new window[(_0x2f1329([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc7b01,_0x3097df)=>{_0x1dc439[_0x2f1329([0x74,0x68,0x65,0x6e])](_0xc7b01,_0x3097df),_0x24e7e6[_0x2f1329([0x74,0x68,0x65,0x6e])](_0x389bc6=>{_0x389bc6!=_0x2f1329([0x56,0x61,0x6c,0x69,0x64])&&_0xc7b01(_0x389bc6);},_0x3097df);}):_0x1dc439||_0x24e7e6||_0x2f1329([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1eed59(_0x15eb43,_0x134638){return new window[(_0x2f1329([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b1197=>{if(_0x3a9602())return _0x2b1197(_0x2f1329([0x56,0x61,0x6c,0x69,0x64]));_0x4ebc9a(),_0x2cd4ea[_0x2f1329([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f1329([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x211a77=!0x1;const _0x13e8cf=_0x2924f6();function _0x4520ea(_0xa20209){return!!_0xa20209&&(typeof _0xa20209===_0x2f1329([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa20209===_0x2f1329([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa20209[_0x2f1329([0x74,0x68,0x65,0x6e])]===_0x2f1329([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa20209[_0x2f1329([0x63,0x61,0x74,0x63,0x68])]===_0x2f1329([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18023b(_0x45650e){_0x5383ab(_0x45650e)[_0x2f1329([0x74,0x68,0x65,0x6e])](_0x55fc6c=>{if(!_0x55fc6c||_0x55fc6c[_0x2f1329([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f1329([0x6f,0x6b]))return _0x2f1329([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x560996(_0x142a0f(_0x13e8cf+_0x134638))!=_0x55fc6c[_0x2f1329([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f1329([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f1329([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f1329([0x74,0x68,0x65,0x6e])](_0x28c9f6=>(_0x20728f(),_0x28c9f6),()=>{const _0xe3cb44=_0x281fd4();return null==_0xe3cb44?(_0x20728f(),_0x2f1329([0x56,0x61,0x6c,0x69,0x64])):_0x2f1329(_0x1a196d-_0xe3cb44>(0x7f92c520^_0x2aef5f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f1329([0x74,0x68,0x65,0x6e])](_0x2b1197)[_0x2f1329([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b1197(_0x2f1329([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x507f5d=0x5ba8afa0^_0x2aef5f;function _0x20728f(){const _0x4ca184=_0x2f1329([0x6c,0x6c,0x63,0x74,0x2d])+_0x560996(_0x142a0f(_0x15eb43)),_0x584263=_0x5a3d05(_0x560996(window[_0x2f1329([0x4d,0x61,0x74,0x68])][_0x2f1329([0x63,0x65,0x69,0x6c])](_0x1a196d/_0x507f5d)));window[_0x2f1329([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f1329([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ca184,_0x584263);}function _0x281fd4(){const _0x410b0a=_0x2f1329([0x6c,0x6c,0x63,0x74,0x2d])+_0x560996(_0x142a0f(_0x15eb43)),_0xcbb064=window[_0x2f1329([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f1329([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x410b0a);return _0xcbb064?window[_0x2f1329([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a3d05(_0xcbb064),0x10)*_0x507f5d:null;}function _0x5383ab(_0x9d51b4){return new window[(_0x2f1329([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x582c5f,_0x43c0b4)=>{_0x9d51b4[_0x2f1329([0x74,0x68,0x65,0x6e])](_0x582c5f,_0x43c0b4),window[_0x2f1329([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43c0b4,0x5b9f95e0^_0x2aef5f);});}}_0x2cd4ea[_0x2f1329([0x6f,0x6e])](_0x2f1329([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17bf50,_0x4332fa)=>{if(_0x4332fa[0x0]!=_0x15eb43)return _0x2b1197(_0x2f1329([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4332fa[0x1]={..._0x4332fa[0x1],[_0x2f1329([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x13e8cf};},{[_0x2f1329([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f1329([0x68,0x69,0x67,0x68])}),_0x2cd4ea[_0x2f1329([0x6f,0x6e])](_0x2f1329([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37b28a=>{_0x4520ea(_0x37b28a[_0x2f1329([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x211a77=!0x0,_0x18023b(_0x37b28a[_0x2f1329([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f1329([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f1329([0x6c,0x6f,0x77])}),_0x345319[_0x2f1329([0x74,0x68,0x65,0x6e])](()=>{_0x211a77||_0x2b1197(_0x2f1329([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a9602(){return _0x2cd4ea[_0x2f1329([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f1329([0x76,0x69,0x65,0x77])][_0x2f1329([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f1329([0x61,0x75,0x74,0x6f]);}function _0x4ebc9a(){_0x2cd4ea[_0x2f1329([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f1329([0x76,0x69,0x65,0x77])][_0x2f1329([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f1329([0x61,0x75,0x74,0x6f]);}}function _0x2b177e(_0x292940){const _0x56cf63=[new window[(_0x2f1329([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c9e32=>setTimeout(_0x1c9e32,0x5b977fec^_0x2aef5f)),_0x345319[_0x2f1329([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f1329([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bc760=>{let _0x9b2240=0x0;_0x2cd4ea[_0x2f1329([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1329([0x6f,0x6e])](_0x2f1329([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49ccc4,_0x32204f)=>{_0x32204f[0x0][_0x2f1329([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9b2240++,_0x9b2240==(0x5b9e40d8^_0x2aef5f)&&(_0x4bc760(),_0x49ccc4[_0x2f1329([0x6f,0x66,0x66])]());});}))];return window[_0x2f1329([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f1329([0x72,0x61,0x63,0x65])](_0x56cf63)[_0x2f1329([0x74,0x68,0x65,0x6e])](()=>_0x292940);}async function _0x552575(){await _0x345319,_0x2cd4ea[_0x2f1329([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1329([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x452e00,_0x2cd4ea[_0x2f1329([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f1329([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x452e00,_0x2cd4ea[_0x2f1329([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f1329([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x96b0cb(_0x231c44){const _0x51ddd4=_0x16feee();_0x2cd4ea[_0x51ddd4]=_0x2f1329([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x231c44,_0x231c44!=_0x2f1329([0x56,0x61,0x6c,0x69,0x64])&&_0x552575();}function _0x16feee(){const _0x56509d=window[_0x2f1329([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f1329([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f1329([0x6e,0x6f,0x77])]())[_0x2f1329([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f1329([0x2e]),'');let _0x28962c=_0x2f1329([0x4c]);for(let _0x40397b=0x0;_0x40397b<_0x56509d[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40397b+=0x2){let _0x5dbaa6=window[_0x2f1329([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56509d[_0x2f1329([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40397b,_0x40397b+0x2));_0x5dbaa6>=_0x4b06aa[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dbaa6-=_0x4b06aa[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28962c+=_0x4b06aa[_0x5dbaa6];}return _0x28962c;}function _0x17d924(){const _0x4394af=_0x39acad[_0x2f1329([0x73,0x70,0x6c,0x69,0x74])](_0x2f1329([0x2e]));if(0x3!=_0x4394af[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c2a38(_0x4394af[0x1]);function _0x1c2a38(_0x3b8b6f){const _0x3544cf=_0x57dfb5(_0x3b8b6f);return _0x3544cf&&_0x598c3e()?_0x3544cf:null;function _0x598c3e(){const _0x4149e4=_0x3544cf[_0x2f1329([0x6a,0x74,0x69])],_0x2251b9=window[_0x2f1329([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4149e4[_0x2f1329([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4149e4[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3a98af={..._0x3544cf,[_0x2f1329([0x6a,0x74,0x69])]:_0x4149e4[_0x2f1329([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4149e4[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3a98af[_0x2f1329([0x76,0x63])],_0x142a0f(_0x3a98af)==_0x2251b9;}}}async function _0x2b7786(){let _0x3a1de6=!0x0;try{const _0x47af72=_0x39acad[_0x2f1329([0x73,0x70,0x6c,0x69,0x74])](_0x2f1329([0x2e])),[_0x307225,_0x364a2a,_0xb216a4]=_0x47af72;return _0x4a182c(_0x307225),await _0x55c2c2(_0x307225,_0x364a2a,_0xb216a4),_0x3a1de6;}catch{return!0x1;}function _0x4a182c(_0x3b658f){const _0x8d702c=_0x57dfb5(_0x3b658f);_0x8d702c&&_0x8d702c[_0x2f1329([0x61,0x6c,0x67])]==_0x2f1329([0x45,0x53,0x32,0x35,0x36])||(_0x3a1de6=!0x1);}async function _0x55c2c2(_0x2ad5b3,_0x32d74c,_0x103497){const _0x5dcde4=window[_0x2f1329([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f1329([0x66,0x72,0x6f,0x6d])](_0x3ae195(_0x103497),_0x2eebd4=>_0x2eebd4[_0x2f1329([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x533774=new window[(_0x2f1329([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f1329([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ad5b3+_0x2f1329([0x2e])+_0x32d74c),_0x51bbe3=window[_0x2f1329([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f1329([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51bbe3)return;const _0x451679=await _0x51bbe3[_0x2f1329([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f1329([0x6a,0x77,0x6b]),_0x218a87,{[_0x2f1329([0x6e,0x61,0x6d,0x65])]:_0x2f1329([0x45,0x43,0x44,0x53,0x41]),[_0x2f1329([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f1329([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f1329([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51bbe3[_0x2f1329([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f1329([0x6e,0x61,0x6d,0x65])]:_0x2f1329([0x45,0x43,0x44,0x53,0x41]),[_0x2f1329([0x68,0x61,0x73,0x68])]:{[_0x2f1329([0x6e,0x61,0x6d,0x65])]:_0x2f1329([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x451679,_0x5dcde4,_0x533774)||(_0x3a1de6=!0x1);}}function _0x57dfb5(_0x12a067){return _0x12a067[_0x2f1329([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f1329([0x65,0x79]))?JSON[_0x2f1329([0x70,0x61,0x72,0x73,0x65])](_0x3ae195(_0x12a067)):null;}function _0x3ae195(_0x56697d){return window[_0x2f1329([0x61,0x74,0x6f,0x62])](_0x56697d[_0x2f1329([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f1329([0x2b]))[_0x2f1329([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f1329([0x2f])));}function _0x142a0f(_0x3ad16a){let _0x301703=0x1505;function _0x265075(_0x3149c9){for(let _0x882ee5=0x0;_0x882ee5<_0x3149c9[_0x2f1329([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x882ee5++){const _0xb90368=_0x3149c9[_0x2f1329([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x882ee5);_0x301703=(_0x301703<<0x5)+_0x301703+_0xb90368,_0x301703&=_0x301703;}}function _0x3d5b8d(_0x34a6a2){Array[_0x2f1329([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34a6a2)?_0x34a6a2[_0x2f1329([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d5b8d):_0x34a6a2&&typeof _0x34a6a2==_0x2f1329([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f1329([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34a6a2)[_0x2f1329([0x73,0x6f,0x72,0x74])]()[_0x2f1329([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x160443,_0x10fece])=>{_0x265075(_0x160443),_0x3d5b8d(_0x10fece);}):_0x265075(window[_0x2f1329([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34a6a2));}return _0x3d5b8d(_0x3ad16a),_0x301703>>>0x0;}function _0x560996(_0x4a13ce){return _0x4a13ce[_0x2f1329([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f1329([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f1329([0x30]));}function _0x5a3d05(_0x53c3d3){return _0x53c3d3[_0x2f1329([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f1329([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f1329([0x6a,0x6f,0x69,0x6e])]('');}function _0x452e00(){}function _0x2f1329(_0x4ef906){const _0x2d4be4=_0x4260;return _0x4ef906[_0x2d4be4(0xb2)](_0x304d43=>String[_0x2d4be4(0xba)](_0x304d43))[_0x2d4be4(0xa6)]('');}_0x96b0cb(await _0x57801b());}(this);}[_0x4cf067(0xab)](){const _0x58253b=_0x4cf067,_0x1453c7=this[_0x58253b(0xaf)];if(!_0x1453c7[_0x58253b(0xbb)][_0x58253b(0xb4)](_0x58253b(0xaa)))return;const _0x1e2918=_0x1453c7[_0x58253b(0xbb)][_0x58253b(0xb4)](_0x58253b(0xa4))[_0x58253b(0xc5)](_0x22150f=>_0x58253b(0xb7)==typeof _0x22150f&&(!_0x520f1b(_0x22150f)&&isNaN(Number(_0x22150f))));if(_0x1e2918[_0x58253b(0xa7)])throw new _0x57acde(_0x58253b(0xc7),null,{'namedPresets':_0x1e2918});}[_0x4cf067(0xc0)](){const _0x3236e7=_0x4cf067,_0x53c5b1=this[_0x3236e7(0xaf)],_0x5184e0=this[_0x3236e7(0xaf)][_0x3236e7(0xbb)][_0x3236e7(0xb4)](_0x3236e7(0xc1));_0x53c5b1[_0x3236e7(0xc3)][_0x3236e7(0xad)](_0x3236e7(0xa9))[_0x3236e7(0xbf)]({'model':{'key':_0x3236e7(0xc9)},'view':_0x5ebbf2=>String(_0x5ebbf2)===String(_0x5184e0)?null:{'key':_0x3236e7(0xb8),'value':{'line-height':_0x5ebbf2}}}),_0x53c5b1[_0x3236e7(0xc3)][_0x3236e7(0xad)](_0x3236e7(0xa2))[_0x3236e7(0xbf)]({'model':{'key':_0x3236e7(0xc9),'value':_0x44f466=>{const _0x10fdd1=_0x3236e7;let _0x1d9d63=_0x44f466[_0x10fdd1(0xa5)](_0x10fdd1(0xa8));return _0xd60a83(_0x1d9d63)&&(_0x1d9d63=String(Number(_0x1d9d63[_0x10fdd1(0x9d)](0x0,-0x1))/0x64)),String(_0x1d9d63)===String(_0x5184e0)?null:_0x1d9d63;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4cf067(0xbc)](){const _0x58ee74=_0x4cf067,_0x16e4a9=this[_0x58ee74(0xaf)],_0xdb7784=this[_0x58ee74(0xaf)][_0x58ee74(0xbb)][_0x58ee74(0xb4)](_0x58ee74(0xc1)),_0x5ea14e=_0x41b913(this[_0x58ee74(0xaf)][_0x58ee74(0xbb)][_0x58ee74(0xb4)](_0x58ee74(0xc9)))[_0x58ee74(0xc5)](_0x3af887=>_0x3af887[_0x58ee74(0xa1)]),_0x27a145=_0xdcfef8(_0x58ee74(0xc9),_0x5ea14e);_0x16e4a9[_0x58ee74(0xc3)][_0x58ee74(0xbf)](_0x27a145),_0x16e4a9[_0x58ee74(0xc3)][_0x58ee74(0xad)](_0x58ee74(0xa2))[_0x58ee74(0xbf)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x58ee74(0xc9),'value':_0x14c76f=>{const _0xfd6efd=_0x58ee74;let _0x4ac1c5=_0x14c76f[_0xfd6efd(0xa5)](_0xfd6efd(0xa8));return _0xd60a83(_0x4ac1c5)&&(_0x4ac1c5=String(Number(_0x4ac1c5[_0xfd6efd(0x9d)](0x0,-0x1))/0x64)),_0x4ac1c5===String(_0xdb7784)?null:_0x27a145[_0xfd6efd(0xa1)][_0xfd6efd(0xac)][_0xfd6efd(0x9b)](_0x4ac1c5)?_0x4ac1c5:null;}}});}}
|
|
23
|
+
function _0x5951(_0x4c1500,_0x39d765){const _0x31a0f=_0x31a0();return _0x5951=function(_0x59514f,_0x4a9c43){_0x59514f=_0x59514f-0x6a;let _0x185a88=_0x31a0f[_0x59514f];return _0x185a88;},_0x5951(_0x4c1500,_0x39d765);}const _0xc3a12b=_0x5951;(function(_0x2891d7,_0x4f780){const _0x37ef1c=_0x5951,_0x341c91=_0x2891d7();while(!![]){try{const _0x19a589=parseInt(_0x37ef1c(0x99))/0x1+parseInt(_0x37ef1c(0x8a))/0x2*(parseInt(_0x37ef1c(0x76))/0x3)+-parseInt(_0x37ef1c(0x90))/0x4+parseInt(_0x37ef1c(0x87))/0x5+-parseInt(_0x37ef1c(0x7c))/0x6*(-parseInt(_0x37ef1c(0x84))/0x7)+-parseInt(_0x37ef1c(0x82))/0x8*(-parseInt(_0x37ef1c(0x70))/0x9)+-parseInt(_0x37ef1c(0x89))/0xa;if(_0x19a589===_0x4f780)break;else _0x341c91['push'](_0x341c91['shift']());}catch(_0x3ef0e9){_0x341c91['push'](_0x341c91['shift']());}}}(_0x31a0,0x4ca11));import{Plugin as _0x7ad80f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4479e0}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5a3828}from'ckeditor5/src/engine.js';import{uid as _0x4e8537,CKEditorError as _0x17da0c}from'ckeditor5/src/utils.js';import{buildDefinition as _0x384ba6,isLineHeightDefaultValue as _0x4de7bb,normalizeOptions as _0x37993a}from'./utils.js';function _0x31a0(){const _0x4dc190=['attributeToAttribute','init','21573IrHfiw','filter','includes','define','editor','pluginName','6fsNIBW','config','slice','downcast','commands','lineHeight','328332lKQrXz','conversion','get','values','isOfficialPlugin','isPremiumPlugin','152TZlMdS','add','7JhtWtw','_prepareAnyValueConverters','getStyle','510925tXYhcy','$block','2331890kwJiMk','567262IhRelx','_validateConfig','_preparePredefinedConverters','LineHeightEditing','map','line-height-invalid-use-of-named-presets','1962508lowVFo','upcast','lineHeight.supportAllValues','lineHeight.options','model','line-height','length','for','afterInit','267977csvXSf','join','extend','default','lineHeight.defaultValue','string','href','style','fromCharCode','setAttributeProperties','schema'];_0x31a0=function(){return _0x4dc190;};return _0x31a0();}export class LineHeightEditing extends _0x7ad80f{static get[_0xc3a12b(0x75)](){const _0x2f65cf=_0xc3a12b;return _0x2f65cf(0x8d);}static get[_0xc3a12b(0x80)](){return!0x0;}static get[_0xc3a12b(0x81)](){return!0x0;}constructor(_0x456779){const _0x147d63=_0xc3a12b;super(_0x456779),_0x456779[_0x147d63(0x77)][_0x147d63(0x73)](_0x147d63(0x7b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x147d63(0x9c),0x2,2.5,0x3]});}[_0xc3a12b(0x6f)](){const _0x38d026=_0xc3a12b,_0x3e4f67=this[_0x38d026(0x74)];this[_0x38d026(0x8b)](),_0x3e4f67[_0x38d026(0x94)][_0x38d026(0x6d)][_0x38d026(0x9b)](_0x38d026(0x88),{'allowAttributes':_0x38d026(0x7b)}),_0x3e4f67[_0x38d026(0x94)][_0x38d026(0x6d)][_0x38d026(0x6c)](_0x38d026(0x7b),{'isFormatting':!0x0}),_0x3e4f67[_0x38d026(0x7a)][_0x38d026(0x83)](_0x38d026(0x7b),new _0x4479e0(_0x3e4f67)),this[_0x38d026(0x74)][_0x38d026(0x77)][_0x38d026(0x7e)](_0x38d026(0x92))?this[_0x38d026(0x85)]():this[_0x38d026(0x8c)]();}[_0xc3a12b(0x98)](){!async function(_0x52349e){const _0x464ea6=_0x2172b8([0x54,0x7a,0x61,0x6e,0x64,0x33,0x52,0x4b,0x53,0x4d,0x51,0x75,0x4c,0x6d,0x72,0x56,0x55,0x68,0x4f,0x49,0x50,0x70,0x6b,0x71,0x69,0x65,0x5a,0x6a,0x31,0x58,0x66,0x32,0x4e,0x46,0x59,0x62,0x77,0x76,0x67,0x37,0x57,0x39,0x48,0x73,0x4a,0x44,0x63,0x35,0x38,0x47,0x6f,0x42,0x6c,0x43,0x30,0x74,0x41,0x34,0x78,0x36,0x45,0x79]),_0x3ab7be=0x3c999884,_0x3a356e=0x3c9ef524^_0x3ab7be,_0x3719b8=window[_0x2172b8([0x44,0x61,0x74,0x65])][_0x2172b8([0x6e,0x6f,0x77])](),_0x55c131=_0x52349e[_0x2172b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcda911=new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5f10=>{_0x55c131[_0x2172b8([0x6f,0x6e,0x63,0x65])](_0x2172b8([0x72,0x65,0x61,0x64,0x79]),_0x5e5f10);}),_0x36b669={[_0x2172b8([0x6b,0x74,0x79])]:_0x2172b8([0x45,0x43]),[_0x2172b8([0x75,0x73,0x65])]:_0x2172b8([0x73,0x69,0x67]),[_0x2172b8([0x63,0x72,0x76])]:_0x2172b8([0x50,0x2d,0x32,0x35,0x36]),[_0x2172b8([0x78])]:_0x2172b8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2172b8([0x79])]:_0x2172b8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2172b8([0x61,0x6c,0x67])]:_0x2172b8([0x45,0x53,0x32,0x35,0x36])},_0x3adbae=_0x55c131[_0x2172b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2172b8([0x67,0x65,0x74])](_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31c7c0(){let _0x8d88db,_0x4822ee=null,_0x5b68b0=null;try{if(_0x3adbae==_0x2172b8([0x47,0x50,0x4c]))return _0x2172b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8d88db=_0x4bdf32(),!_0x8d88db)return _0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8d88db[_0x2172b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b68b0=_0x5a0c5c(_0x8d88db[_0x2172b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8d88db[_0x2172b8([0x6a,0x74,0x69])])),await _0x5b23df()?_0x1239a6()?_0x697ef2()?_0x2172b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1dd8ba()?(_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2172b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4822ee=_0x46b1ca(_0x2172b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2172b8([0x74,0x72,0x69,0x61,0x6c])&&(_0x4822ee=_0x46b1ca(_0x2172b8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x22f59b()):_0x2172b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2172b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2172b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x697ef2(){const _0x28ce6e=[_0x2172b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2172b8([0x74,0x72,0x69,0x61,0x6c])][_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3719b8/0x3e8:0xe10*_0x3a356e;return _0x8d88db[_0x2172b8([0x65,0x78,0x70])]<_0x28ce6e;}function _0x1239a6(){const _0x1896d9=_0x8d88db[_0x2172b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1896d9&&(!!_0x1896d9[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x2a]))||!!_0x1896d9[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x4c,0x48])));}function _0x1dd8ba(){const _0x2f6585=_0x5951,_0x21e258=_0x8d88db[_0x2172b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21e258||0x0==_0x21e258[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3299ca}=new URL(window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2f6585(0x9f)]);if(_0x21e258[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3299ca))return!0x0;const _0x5e5403=_0x3299ca[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e]));return _0x21e258[_0x2172b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdea983=>_0xdea983[_0x2172b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2172b8([0x2a])))[_0x2172b8([0x6d,0x61,0x70])](_0x3f47e4=>_0x3f47e4[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e])))[_0x2172b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1747fe=>_0x1747fe[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e5403[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2172b8([0x6d,0x61,0x70])](_0x131a10=>Array(_0x5e5403[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x131a10[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2172b8([0x66,0x69,0x6c,0x6c])](_0x131a10[0x0]===_0x2172b8([0x2a])?_0x2172b8([0x2a]):'')[_0x2172b8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x131a10))[_0x2172b8([0x73,0x6f,0x6d,0x65])](_0x5b96ad=>_0x5e5403[_0x2172b8([0x65,0x76,0x65,0x72,0x79])]((_0x37afbf,_0xa85817)=>_0x5b96ad[_0xa85817]===_0x37afbf||_0x5b96ad[_0xa85817]===_0x2172b8([0x2a])));}function _0x22f59b(){return _0x4822ee&&_0x5b68b0?new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37ce5b,_0x52b3e0)=>{_0x4822ee[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x37ce5b,_0x52b3e0),_0x5b68b0[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x8b3ea5=>{_0x8b3ea5!=_0x2172b8([0x56,0x61,0x6c,0x69,0x64])&&_0x37ce5b(_0x8b3ea5);},_0x52b3e0);}):_0x4822ee||_0x5b68b0||_0x2172b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a0c5c(_0xcedad3,_0xd39423){return new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x204981=>{if(_0x66d270())return _0x204981(_0x2172b8([0x56,0x61,0x6c,0x69,0x64]));_0x29fe5b(),_0x55c131[_0x2172b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x139ab8=!0x1;const _0x495fbf=_0x4e8537();function _0x3eaff0(_0xadc2cb){return!!_0xadc2cb&&(typeof _0xadc2cb===_0x2172b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xadc2cb===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xadc2cb[_0x2172b8([0x74,0x68,0x65,0x6e])]===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xadc2cb[_0x2172b8([0x63,0x61,0x74,0x63,0x68])]===_0x2172b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x347e77(_0x59e16f){_0x488d7e(_0x59e16f)[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x2ec315=>{if(!_0x2ec315||_0x2ec315[_0x2172b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2172b8([0x6f,0x6b]))return _0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x545afc(_0xf1cf4f(_0x495fbf+_0xd39423))!=_0x2ec315[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2172b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x21279e=>(_0x6636fc(),_0x21279e),()=>{const _0x340bef=_0x1a468d();return null==_0x340bef?(_0x6636fc(),_0x2172b8([0x56,0x61,0x6c,0x69,0x64])):_0x2172b8(_0x3719b8-_0x340bef>(0x18951c84^_0x3ab7be)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x204981)[_0x2172b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58cc4d=0x3caf7604^_0x3ab7be;function _0x6636fc(){const _0x3575c4=_0x2172b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x545afc(_0xf1cf4f(_0xcedad3)),_0x1e337e=_0x74ce65(_0x545afc(window[_0x2172b8([0x4d,0x61,0x74,0x68])][_0x2172b8([0x63,0x65,0x69,0x6c])](_0x3719b8/_0x58cc4d)));window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2172b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3575c4,_0x1e337e);}function _0x1a468d(){const _0x31d695=_0x2172b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x545afc(_0xf1cf4f(_0xcedad3)),_0x1b6c89=window[_0x2172b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2172b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31d695);return _0x1b6c89?window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x74ce65(_0x1b6c89),0x10)*_0x58cc4d:null;}function _0x488d7e(_0x15c3b8){return new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a8d4,_0x734dce)=>{_0x15c3b8[_0x2172b8([0x74,0x68,0x65,0x6e])](_0x54a8d4,_0x734dce),window[_0x2172b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x734dce,0x3c984c44^_0x3ab7be);});}}_0x55c131[_0x2172b8([0x6f,0x6e])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa48147,_0x511f57)=>{if(_0x511f57[0x0]!=_0xcedad3)return _0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x511f57[0x1]={..._0x511f57[0x1],[_0x2172b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x495fbf};},{[_0x2172b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2172b8([0x68,0x69,0x67,0x68])}),_0x55c131[_0x2172b8([0x6f,0x6e])](_0x2172b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x120cf6=>{_0x3eaff0(_0x120cf6[_0x2172b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x139ab8=!0x0,_0x347e77(_0x120cf6[_0x2172b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2172b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2172b8([0x6c,0x6f,0x77])}),_0xcda911[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>{_0x139ab8||_0x204981(_0x2172b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x66d270(){return _0x55c131[_0x2172b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2172b8([0x76,0x69,0x65,0x77])][_0x2172b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2172b8([0x61,0x75,0x74,0x6f]);}function _0x29fe5b(){_0x55c131[_0x2172b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2172b8([0x76,0x69,0x65,0x77])][_0x2172b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2172b8([0x61,0x75,0x74,0x6f]);}}function _0x46b1ca(_0x1290af){const _0x4aae4e=[new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11ef42=>setTimeout(_0x11ef42,0x3c90a648^_0x3ab7be)),_0xcda911[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa1c1f8=>{let _0x24c242=0x0;_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x6f,0x6e])](_0x2172b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x259b9c,_0x4e0178)=>{_0x4e0178[0x0][_0x2172b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24c242++,_0x24c242==(0x3c99997c^_0x3ab7be)&&(_0xa1c1f8(),_0x259b9c[_0x2172b8([0x6f,0x66,0x66])]());});}))];return window[_0x2172b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2172b8([0x72,0x61,0x63,0x65])](_0x4aae4e)[_0x2172b8([0x74,0x68,0x65,0x6e])](()=>_0x1290af);}async function _0x33db9f(){await _0xcda911,_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d3722,_0x55c131[_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2172b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d3722,_0x55c131[_0x2172b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2172b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5821e2(_0x1f0be7){const _0x3213a0=_0x4dd7c9();_0x55c131[_0x3213a0]=_0x2172b8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f0be7,_0x1f0be7!=_0x2172b8([0x56,0x61,0x6c,0x69,0x64])&&_0x33db9f();}function _0x4dd7c9(){const _0x5f1444=window[_0x2172b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2172b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2172b8([0x6e,0x6f,0x77])]())[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2172b8([0x2e]),'');let _0x11e338=_0x2172b8([0x54]);for(let _0x510042=0x0;_0x510042<_0x5f1444[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x510042+=0x2){let _0x3cdca6=window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f1444[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x510042,_0x510042+0x2));_0x3cdca6>=_0x464ea6[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3cdca6-=_0x464ea6[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11e338+=_0x464ea6[_0x3cdca6];}return _0x11e338;}function _0x4bdf32(){const _0x3548d2=_0x3adbae[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e]));if(0x3!=_0x3548d2[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1dd075(_0x3548d2[0x1]);function _0x1dd075(_0x2769c1){const _0x2eb317=_0x30d870(_0x2769c1);return _0x2eb317&&_0x6db764()?_0x2eb317:null;function _0x6db764(){const _0x3dbe91=_0x2eb317[_0x2172b8([0x6a,0x74,0x69])],_0x424f96=window[_0x2172b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3dbe91[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dbe91[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a34e4={..._0x2eb317,[_0x2172b8([0x6a,0x74,0x69])]:_0x3dbe91[_0x2172b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3dbe91[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a34e4[_0x2172b8([0x76,0x63])],_0xf1cf4f(_0x2a34e4)==_0x424f96;}}}async function _0x5b23df(){let _0x427921=!0x0;try{const _0x3787b5=_0x3adbae[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])](_0x2172b8([0x2e])),[_0x46ceaa,_0x248a4f,_0x595ddf]=_0x3787b5;return _0x18786e(_0x46ceaa),await _0x1e4705(_0x46ceaa,_0x248a4f,_0x595ddf),_0x427921;}catch{return!0x1;}function _0x18786e(_0x4b2fcd){const _0x27b890=_0x30d870(_0x4b2fcd);_0x27b890&&_0x27b890[_0x2172b8([0x61,0x6c,0x67])]==_0x2172b8([0x45,0x53,0x32,0x35,0x36])||(_0x427921=!0x1);}async function _0x1e4705(_0x383823,_0x4ec654,_0x4f72a9){const _0x4c77ad=window[_0x2172b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2172b8([0x66,0x72,0x6f,0x6d])](_0x43eb45(_0x4f72a9),_0xf47186=>_0xf47186[_0x2172b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b0778=new window[(_0x2172b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2172b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x383823+_0x2172b8([0x2e])+_0x4ec654),_0x2afef0=window[_0x2172b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2172b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2afef0)return;const _0x663dc4=await _0x2afef0[_0x2172b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2172b8([0x6a,0x77,0x6b]),_0x36b669,{[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x45,0x43,0x44,0x53,0x41]),[_0x2172b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2172b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2afef0[_0x2172b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x45,0x43,0x44,0x53,0x41]),[_0x2172b8([0x68,0x61,0x73,0x68])]:{[_0x2172b8([0x6e,0x61,0x6d,0x65])]:_0x2172b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x663dc4,_0x4c77ad,_0x5b0778)||(_0x427921=!0x1);}}function _0x30d870(_0xb6b385){return _0xb6b385[_0x2172b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2172b8([0x65,0x79]))?JSON[_0x2172b8([0x70,0x61,0x72,0x73,0x65])](_0x43eb45(_0xb6b385)):null;}function _0x43eb45(_0x357bcd){return window[_0x2172b8([0x61,0x74,0x6f,0x62])](_0x357bcd[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2172b8([0x2b]))[_0x2172b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2172b8([0x2f])));}function _0xf1cf4f(_0x134d9f){let _0x1b1f1e=0x1505;function _0x34f768(_0x5c5a8f){for(let _0x60fafb=0x0;_0x60fafb<_0x5c5a8f[_0x2172b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x60fafb++){const _0x505ed2=_0x5c5a8f[_0x2172b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x60fafb);_0x1b1f1e=(_0x1b1f1e<<0x5)+_0x1b1f1e+_0x505ed2,_0x1b1f1e&=_0x1b1f1e;}}function _0x42c1dc(_0x521e6c){Array[_0x2172b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x521e6c)?_0x521e6c[_0x2172b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42c1dc):_0x521e6c&&typeof _0x521e6c==_0x2172b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2172b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x521e6c)[_0x2172b8([0x73,0x6f,0x72,0x74])]()[_0x2172b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5461c2,_0x18374d])=>{_0x34f768(_0x5461c2),_0x42c1dc(_0x18374d);}):_0x34f768(window[_0x2172b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x521e6c));}return _0x42c1dc(_0x134d9f),_0x1b1f1e>>>0x0;}function _0x545afc(_0x2e72a0){return _0x2e72a0[_0x2172b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2172b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2172b8([0x30]));}function _0x74ce65(_0x32f664){return _0x32f664[_0x2172b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2172b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2172b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d3722(){}function _0x2172b8(_0x1bb3b1){const _0x108918=_0x5951;return _0x1bb3b1[_0x108918(0x8e)](_0x208c56=>String[_0x108918(0x6b)](_0x208c56))[_0x108918(0x9a)]('');}_0x5821e2(await _0x31c7c0());}(this);}[_0xc3a12b(0x8b)](){const _0x1ee766=_0xc3a12b,_0x18bed6=this[_0x1ee766(0x74)];if(!_0x18bed6[_0x1ee766(0x77)][_0x1ee766(0x7e)](_0x1ee766(0x92)))return;const _0x35c0e8=_0x18bed6[_0x1ee766(0x77)][_0x1ee766(0x7e)](_0x1ee766(0x93))[_0x1ee766(0x71)](_0x124ab2=>_0x1ee766(0x9e)==typeof _0x124ab2&&(!_0x4de7bb(_0x124ab2)&&isNaN(Number(_0x124ab2))));if(_0x35c0e8[_0x1ee766(0x96)])throw new _0x17da0c(_0x1ee766(0x8f),null,{'namedPresets':_0x35c0e8});}[_0xc3a12b(0x85)](){const _0x1a6c01=_0xc3a12b,_0x3c2016=this[_0x1a6c01(0x74)],_0x50598b=this[_0x1a6c01(0x74)][_0x1a6c01(0x77)][_0x1a6c01(0x7e)](_0x1a6c01(0x9d));_0x3c2016[_0x1a6c01(0x7d)][_0x1a6c01(0x97)](_0x1a6c01(0x79))[_0x1a6c01(0x6e)]({'model':{'key':_0x1a6c01(0x7b)},'view':_0x279ce8=>String(_0x279ce8)===String(_0x50598b)?null:{'key':_0x1a6c01(0x6a),'value':{'line-height':_0x279ce8}}}),_0x3c2016[_0x1a6c01(0x7d)][_0x1a6c01(0x97)](_0x1a6c01(0x91))[_0x1a6c01(0x6e)]({'model':{'key':_0x1a6c01(0x7b),'value':_0x1a0f3b=>{const _0x364e0c=_0x1a6c01;let _0x2b702e=_0x1a0f3b[_0x364e0c(0x86)](_0x364e0c(0x95));return _0x5a3828(_0x2b702e)&&(_0x2b702e=String(Number(_0x2b702e[_0x364e0c(0x78)](0x0,-0x1))/0x64)),String(_0x2b702e)===String(_0x50598b)?null:_0x2b702e;}},'view':{'styles':{'line-height':/.*/}}});}[_0xc3a12b(0x8c)](){const _0x2a4ca3=_0xc3a12b,_0x435056=this[_0x2a4ca3(0x74)],_0x328eae=this[_0x2a4ca3(0x74)][_0x2a4ca3(0x77)][_0x2a4ca3(0x7e)](_0x2a4ca3(0x9d)),_0x378932=_0x37993a(this[_0x2a4ca3(0x74)][_0x2a4ca3(0x77)][_0x2a4ca3(0x7e)](_0x2a4ca3(0x7b)))[_0x2a4ca3(0x71)](_0x4f557d=>_0x4f557d[_0x2a4ca3(0x94)]),_0x2b6d7f=_0x384ba6(_0x2a4ca3(0x7b),_0x378932);_0x435056[_0x2a4ca3(0x7d)][_0x2a4ca3(0x6e)](_0x2b6d7f),_0x435056[_0x2a4ca3(0x7d)][_0x2a4ca3(0x97)](_0x2a4ca3(0x91))[_0x2a4ca3(0x6e)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2a4ca3(0x7b),'value':_0x273e93=>{const _0x1a1bd4=_0x2a4ca3;let _0x3e2bb9=_0x273e93[_0x1a1bd4(0x86)](_0x1a1bd4(0x95));return _0x5a3828(_0x3e2bb9)&&(_0x3e2bb9=String(Number(_0x3e2bb9[_0x1a1bd4(0x78)](0x0,-0x1))/0x64)),_0x3e2bb9===String(_0x328eae)?null:_0x2b6d7f[_0x1a1bd4(0x94)][_0x1a1bd4(0x7f)][_0x1a1bd4(0x72)](_0x3e2bb9)?_0x3e2bb9:null;}}});}}
|