@ckeditor/ckeditor5-line-height 46.0.0-alpha.4 → 46.0.0-alpha.5
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:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>m,LineHeightUI:()=>k});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=253]})(e,t)}const o=r;function s(){const e=["checkAttribute","30PyjgPd","selection","editor","schema","197995bNuyrr","getSelectedBlocks","filter","358985hqoGan","897799OpnoOW","202761bHyWlS","202966gMJjgM","from","getAttribute","model","setAttribute","value","2eGcOLX","10572QXsFYR","7748mzXRDx","9cuNnEa","removeAttribute","12JrkoQb","8IHFNzv","_canHaveLineHeight","change","1486932gmaZQQ","isEnabled","lineHeight","document","execute","refresh"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(758646===parseInt(t(272))/1*(-parseInt(t(278))/2)+parseInt(t(281))/3*(parseInt(t(255))/4)+parseInt(t(266))/5+-parseInt(t(283))/6*(-parseInt(t(270))/7)+parseInt(t(284))/8*(-parseInt(t(271))/9)+parseInt(t(262))/10*(parseInt(t(269))/11)+-parseInt(t(279))/12*(parseInt(t(280))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(260)](){const e=o,n=this[e(264)][e(275)][e(258)],i=(0,t.first)(n[e(263)][e(267)]());this[e(256)]=Boolean(i)&&this[e(253)](i),this[e(277)]=this[e(256)]&&i[e(274)](e(257))}[o(259)](e={}){const t=o,n=this[t(264)][t(275)],i=n[t(258)][t(263)],r=e[t(277)];n[t(254)](e=>{const n=t,o=Array[n(273)](i[n(267)]())[n(268)](e=>this[n(253)](e));for(const t of o)r?e[n(276)](n(257),r,t):e[n(282)](n(257),t)})}[o(253)](e){const t=o;return this[t(264)][t(275)][t(265)][t(261)](e,t(257))}}var c=n(783);function u(e,t){const n=l();return(u=function(e,t){return n[e-=301]})(e,t)}function l(){const e=["254200llqLcy","9456192xKNSgo","push","number","189987gVNZhi","line-height-single","line-height:","value","3wBkASn","string","666gOHEGM","view","default","1367542Yehozf","options","894746kXqSla","class","line-height-double","single","span","Single","map","double","258fzmZuS","10RmTZOJ","model","values","584035Dqjjuh","filter","defaultValue","Double","29548qxilXv","style","toLowerCase","key"];return(l=function(){return e})()}!function(e){const t=u,n=e();for(;;)try{if(973807===-parseInt(t(315))/1+-parseInt(t(303))/2*(parseInt(t(331))/3)+parseInt(t(319))/4*(parseInt(t(312))/5)+parseInt(t(311))/6*(parseInt(t(327))/7)+-parseInt(t(324))/8+-parseInt(t(333))/9*(-parseInt(t(323))/10)+parseInt(t(301))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const d={get single(){const e=u;return{title:e(308),model:e(306),view:{key:e(304),value:e(328)}}},get double(){const e=u;return{title:e(318),model:e(310),view:{key:e(304),value:e(305)}}}};function h(e){const t=u;return t(332)==typeof e&&t(335)===e[t(321)]()}function f(e){const t=u;return e[t(302)][t(309)](n=>h(n)?{title:String(e[t(317)]),model:t(335)}:(t(326)==typeof n&&(n=String(n)),t(332)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(307),styles:{"line-height":n}}}:function(e){const t=u;return t(332)==typeof e?d[e]:d[e[t(313)]]}(n)))[t(316)](e=>void 0!==e)}const p=g;function g(e,t){const n=w();return(g=function(e,t){return n[e-=434]})(e,t)}!function(e){const t=g,n=e();for(;;)try{if(484577===parseInt(t(467))/1*(-parseInt(t(457))/2)+-parseInt(t(446))/3+parseInt(t(466))/4+parseInt(t(483))/5+-parseInt(t(481))/6+-parseInt(t(451))/7*(parseInt(t(475))/8)+parseInt(t(440))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(w);class m extends e.Plugin{static get[p(445)](){return p(465)}static get[p(473)](){return!0}static get[p(444)](){return!0}constructor(e){const t=p;super(e),e[t(477)][t(447)](t(435),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(484),2,2.5,3]})}[p(476)](){const e=p,t=this[e(442)];this[e(438)](),t[e(480)][e(463)][e(478)](e(437),{allowAttributes:e(435)}),t[e(480)][e(463)][e(474)](e(435),{isFormatting:!0}),t[e(456)][e(443)](e(435),new a(t)),this[e(442)][e(477)][e(472)](e(439))?this[e(452)]():this[e(486)]()}[p(482)](){!async function(e){const n=m([73,65,117,88,102,76,114,97,54,84,119,66,113,67,112,122,106,71,87,57,68,110,83,107,86,81,70,116,53,109,105,100,52,103,72,80,77,82,111,55,56,78,98,75,69,120,90,89,99,85,49,79,104,108,48,50,101,74,121,118,115,51]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(469)](e=>String[t(460)](e))[t(448)]("")}!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([73]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(l+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751673600;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(479)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(438)](){const e=p,n=this[e(442)];if(!n[e(477)][e(472)](e(439)))return;const i=n[e(477)][e(472)](e(461))[e(458)](t=>e(462)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(470)])throw new t.CKEditorError(e(468),null,{namedPresets:i})}[p(452)](){const e=p,t=this[e(442)],n=this[e(442)][e(477)][e(472)](e(464));t[e(436)][e(454)](e(453))[e(485)]({model:{key:e(435)},view:t=>String(t)===String(n)?null:{key:e(450),value:{"line-height":t}}}),t[e(436)][e(454)](e(441))[e(485)]({model:{key:e(435),value:t=>{const i=e;let r=t[i(459)](i(434));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(449)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(486)](){const e=p,t=this[e(442)],n=this[e(442)][e(477)][e(472)](e(464)),i=f(this[e(442)][e(477)][e(472)](e(435)))[e(458)](t=>t[e(480)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(304)===e[n(334)]?.[n(322)]?(i[n(313)][n(314)][n(325)](e[n(313)]),i[n(334)][e[n(313)]]={key:n(304),value:e[n(334)][n(330)]}):(i[n(313)][n(314)][n(325)](e[n(313)]),i[n(334)][e[n(313)]]={key:n(320),value:n(329)+e[n(313)]+";"});return i}(e(435),i);t[e(436)][e(485)](r),t[e(436)][e(454)](e(441))[e(485)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(435),value:t=>{const i=e;let o=t[i(459)](i(434));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(449)](0,-1))/100)),o===String(n)?null:r[i(480)][i(471)][i(455)](o)?o:null}}})}}function w(){const e=["includes","commands","2bxlrKj","filter","getStyle","fromCharCode","lineHeight.options","string","schema","lineHeight.defaultValue","LineHeightEditing","3470960NREjqo","104529kJqINr","line-height-invalid-use-of-named-presets","map","length","values","get","isOfficialPlugin","setAttributeProperties","93400waMGNN","init","config","extend","href","model","4487394drRCYd","afterInit","3208075EDltEC","default","attributeToAttribute","_preparePredefinedConverters","line-height","lineHeight","conversion","$block","_validateConfig","lineHeight.supportAllValues","1600038VmATIi","upcast","editor","add","isPremiumPlugin","pluginName","735171EeGKnK","define","join","slice","style","63YWZydO","_prepareAnyValueConverters","downcast","for"];return(w=function(){return e})()}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),O=n.n(_),E=n(667),S=n.n(E),x=n(357),C=n.n(x),N=n(422),A={attributes:{"data-cke":!0}};A.setAttributes=S(),A.insert=O().bind(null,"head"),A.domAPI=H(),A.insertStyleElement=C();b()(N.A,A);N.A&&N.A.locals&&N.A.locals;class k 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 T=P;function P(e,t){var n=K();return(P=function(e,t){return n[e-=241]})(e,t)}function K(){var e=["pluginName","12101544iUqFOk","isPremiumPlugin","13626547LNXsRa","requires","1582554HFvqit","19008410iEeegr","64mAznVV","1054067jbzcpr","3xRVDvo","24329bBaCAd","106xwHgym","isOfficialPlugin","12EZStGm","LineHeight","672376rtxiIH","35OyHZBI"];return(K=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(979136===-parseInt(t(249))/1*(parseInt(t(250))/2)+-parseInt(t(248))/3*(parseInt(t(254))/4)+-parseInt(t(255))/5*(-parseInt(t(244))/6)+parseInt(t(247))/7*(-parseInt(t(246))/8)+-parseInt(t(257))/9+parseInt(t(245))/10+-parseInt(t(242))/11*(-parseInt(t(252))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class V extends e.Plugin{static get[T(243)](){return[m,k]}static get[T(256)](){return T(253)}static get[T(251)](){return!0}static get[T(241)](){return!0}}function j(){var e=["166062QWjjAn","5031kDaoxv","5tZwpLx","1101360pqbuKR","2387358ofPFef","443429OtnMQk","1333336eHjvOx","994648PsJgzn","278uSLAXq"];return(j=function(){return e})()}function M(e,t){var n=j();return(M=function(e,t){return n[e-=477]})(e,t)}!function(e){for(var t=M,n=e();;)try{if(366954===parseInt(t(482))/1*(parseInt(t(480))/2)+-parseInt(t(484))/3+-parseInt(t(478))/4*(-parseInt(t(483))/5)+parseInt(t(481))/6+parseInt(t(477))/7+-parseInt(t(479))/8+-parseInt(t(485))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(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 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:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=253]})(e,t)}const o=r;function s(){const e=["checkAttribute","30PyjgPd","selection","editor","schema","197995bNuyrr","getSelectedBlocks","filter","358985hqoGan","897799OpnoOW","202761bHyWlS","202966gMJjgM","from","getAttribute","model","setAttribute","value","2eGcOLX","10572QXsFYR","7748mzXRDx","9cuNnEa","removeAttribute","12JrkoQb","8IHFNzv","_canHaveLineHeight","change","1486932gmaZQQ","isEnabled","lineHeight","document","execute","refresh"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(758646===parseInt(t(272))/1*(-parseInt(t(278))/2)+parseInt(t(281))/3*(parseInt(t(255))/4)+parseInt(t(266))/5+-parseInt(t(283))/6*(-parseInt(t(270))/7)+parseInt(t(284))/8*(-parseInt(t(271))/9)+parseInt(t(262))/10*(parseInt(t(269))/11)+-parseInt(t(279))/12*(parseInt(t(280))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(260)](){const e=o,n=this[e(264)][e(275)][e(258)],i=(0,t.first)(n[e(263)][e(267)]());this[e(256)]=Boolean(i)&&this[e(253)](i),this[e(277)]=this[e(256)]&&i[e(274)](e(257))}[o(259)](e={}){const t=o,n=this[t(264)][t(275)],i=n[t(258)][t(263)],r=e[t(277)];n[t(254)](e=>{const n=t,o=Array[n(273)](i[n(267)]())[n(268)](e=>this[n(253)](e));for(const t of o)r?e[n(276)](n(257),r,t):e[n(282)](n(257),t)})}[o(253)](e){const t=o;return this[t(264)][t(275)][t(265)][t(261)](e,t(257))}}var c=n(783);function u(e,t){const n=l();return(u=function(e,t){return n[e-=301]})(e,t)}function l(){const e=["254200llqLcy","9456192xKNSgo","push","number","189987gVNZhi","line-height-single","line-height:","value","3wBkASn","string","666gOHEGM","view","default","1367542Yehozf","options","894746kXqSla","class","line-height-double","single","span","Single","map","double","258fzmZuS","10RmTZOJ","model","values","584035Dqjjuh","filter","defaultValue","Double","29548qxilXv","style","toLowerCase","key"];return(l=function(){return e})()}!function(e){const t=u,n=e();for(;;)try{if(973807===-parseInt(t(315))/1+-parseInt(t(303))/2*(parseInt(t(331))/3)+parseInt(t(319))/4*(parseInt(t(312))/5)+parseInt(t(311))/6*(parseInt(t(327))/7)+-parseInt(t(324))/8+-parseInt(t(333))/9*(-parseInt(t(323))/10)+parseInt(t(301))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const d={get single(){const e=u;return{title:e(308),model:e(306),view:{key:e(304),value:e(328)}}},get double(){const e=u;return{title:e(318),model:e(310),view:{key:e(304),value:e(305)}}}};function h(e){const t=u;return t(332)==typeof e&&t(335)===e[t(321)]()}function f(e){const t=u;return e[t(302)][t(309)](n=>h(n)?{title:String(e[t(317)]),model:t(335)}:(t(326)==typeof n&&(n=String(n)),t(332)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(307),styles:{"line-height":n}}}:function(e){const t=u;return t(332)==typeof e?d[e]:d[e[t(313)]]}(n)))[t(316)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=116]})(e,t)}function m(){const e=["24399BOmkLB","join","_validateConfig","conversion","filter","isPremiumPlugin","editor","fromCharCode","lineHeight.supportAllValues","lineHeight.options","init","2vDtZOS","_prepareAnyValueConverters","LineHeightEditing","href","length","line-height","default","6812246eyzCmu","6RuoGyG","add","34291056FeMTDG","$block","afterInit","config","40lvdXMi","includes","extend","schema","for","_preparePredefinedConverters","get","170zFoFpt","348KlZchr","13799WjQYZJ","isOfficialPlugin","lineHeight.defaultValue","upcast","downcast","map","2044125bkdQjD","lineHeight","values","style","825451FXKleI","attributeToAttribute","setAttributeProperties","define","model","string","2755090NQhKnE","getStyle","commands","line-height-invalid-use-of-named-presets","pluginName","slice"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(717878===parseInt(t(140))/1*(-parseInt(t(117))/2)+parseInt(t(162))/3*(parseInt(t(139))/4)+parseInt(t(156))/5*(parseInt(t(125))/6)+-parseInt(t(124))/7+parseInt(t(131))/8*(-parseInt(t(146))/9)+-parseInt(t(138))/10*(parseInt(t(150))/11)+parseInt(t(127))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(160)](){return p(119)}static get[p(141)](){return!0}static get[p(167)](){return!0}constructor(e){const t=p;super(e),e[t(130)][t(153)](t(147),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(123),2,2.5,3]})}[p(116)](){const e=p,t=this[e(168)];this[e(164)](),t[e(154)][e(134)][e(133)](e(128),{allowAttributes:e(147)}),t[e(154)][e(134)][e(152)](e(147),{isFormatting:!0}),t[e(158)][e(126)](e(147),new a(t)),this[e(168)][e(130)][e(137)](e(170))?this[e(118)]():this[e(136)]()}[p(129)](){!async function(e){const n=m([99,87,85,53,98,110,65,83,100,112,108,90,114,113,72,89,51,81,102,86,122,106,71,52,117,76,101,69,56,120,115,57,105,66,67,116,97,55,77,80,118,119,79,49,78,73,111,84,54,88,68,75,121,104,70,74,50,109,82,107,48,103]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(145)](e=>String[t(169)](e))[t(163)]("")}!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([99]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(l+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:175176e4;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(120)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(164)](){const e=p,n=this[e(168)];if(!n[e(130)][e(137)](e(170)))return;const i=n[e(130)][e(137)](e(171))[e(166)](t=>e(155)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(121)])throw new t.CKEditorError(e(159),null,{namedPresets:i})}[p(118)](){const e=p,t=this[e(168)],n=this[e(168)][e(130)][e(137)](e(142));t[e(165)][e(135)](e(144))[e(151)]({model:{key:e(147)},view:t=>String(t)===String(n)?null:{key:e(149),value:{"line-height":t}}}),t[e(165)][e(135)](e(143))[e(151)]({model:{key:e(147),value:t=>{const i=e;let r=t[i(157)](i(122));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(161)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(136)](){const e=p,t=this[e(168)],n=this[e(168)][e(130)][e(137)](e(142)),i=f(this[e(168)][e(130)][e(137)](e(147)))[e(166)](t=>t[e(154)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(304)===e[n(334)]?.[n(322)]?(i[n(313)][n(314)][n(325)](e[n(313)]),i[n(334)][e[n(313)]]={key:n(304),value:e[n(334)][n(330)]}):(i[n(313)][n(314)][n(325)](e[n(313)]),i[n(334)][e[n(313)]]={key:n(320),value:n(329)+e[n(313)]+";"});return i}(e(147),i);t[e(165)][e(151)](r),t[e(165)][e(135)](e(143))[e(151)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(147),value:t=>{const i=e;let o=t[i(157)](i(122));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(161)](0,-1))/100)),o===String(n)?null:r[i(154)][i(148)][i(132)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),O=n(262),_=n.n(O),E=n(667),S=n.n(E),x=n(357),C=n.n(x),N=n(422),k={attributes:{"data-cke":!0}};k.setAttributes=S(),k.insert=_().bind(null,"head"),k.domAPI=H(),k.insertStyleElement=C();L()(N.A,k);N.A&&N.A.locals&&N.A.locals;class A extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return 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 T=P;function P(e,t){var n=K();return(P=function(e,t){return n[e-=241]})(e,t)}function K(){var e=["pluginName","12101544iUqFOk","isPremiumPlugin","13626547LNXsRa","requires","1582554HFvqit","19008410iEeegr","64mAznVV","1054067jbzcpr","3xRVDvo","24329bBaCAd","106xwHgym","isOfficialPlugin","12EZStGm","LineHeight","672376rtxiIH","35OyHZBI"];return(K=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(979136===-parseInt(t(249))/1*(parseInt(t(250))/2)+-parseInt(t(248))/3*(parseInt(t(254))/4)+-parseInt(t(255))/5*(-parseInt(t(244))/6)+parseInt(t(247))/7*(-parseInt(t(246))/8)+-parseInt(t(257))/9+parseInt(t(245))/10+-parseInt(t(242))/11*(-parseInt(t(252))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class V extends e.Plugin{static get[T(243)](){return[w,A]}static get[T(256)](){return T(253)}static get[T(251)](){return!0}static get[T(241)](){return!0}}function M(){var e=["166062QWjjAn","5031kDaoxv","5tZwpLx","1101360pqbuKR","2387358ofPFef","443429OtnMQk","1333336eHjvOx","994648PsJgzn","278uSLAXq"];return(M=function(){return e})()}function j(e,t){var n=M();return(j=function(e,t){return n[e-=477]})(e,t)}!function(e){for(var t=j,n=e();;)try{if(366954===parseInt(t(482))/1*(parseInt(t(480))/2)+-parseInt(t(484))/3+-parseInt(t(478))/4*(-parseInt(t(483))/5)+parseInt(t(481))/6+parseInt(t(477))/7+-parseInt(t(479))/8+-parseInt(t(485))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x41891d,Plugin as _0x5b7c20}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x14ec43,CKEditorError as _0xf3e92e,uid as _0x20d2ed,Collection as _0x59f313}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x43a66a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x299052,createDropdown as _0x17e999,addListToDropdown as _0x54725a,MenuBarMenuView as _0xc8402c,MenuBarMenuListView as _0x54d504,MenuBarMenuListItemView as _0x2724fb,MenuBarMenuListItemButtonView as _0x3b0c54}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xdc06f6}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x41891d{['refresh'](){const _0xceb945=this['editor']['model']['document'],_0x2cf385=_0x14ec43(_0xceb945['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2cf385)&&this['_canHaveLineHeight'](_0x2cf385),this['value']=this['isEnabled']&&_0x2cf385['getAttribute']('lineHeight');}['execute'](_0x383554={}){const _0x53ccc1=this['editor']['model'],_0x321524=_0x53ccc1['document']['selection'],_0x534d91=_0x383554['value'];_0x53ccc1['change'](_0x48e562=>{const _0xdc2ee9=Array['from'](_0x321524['getSelectedBlocks']())['filter'](_0x21bc9f=>this['_canHaveLineHeight'](_0x21bc9f));for(const _0x15d257 of _0xdc2ee9)_0x534d91?_0x48e562['setAttribute']('lineHeight',_0x534d91,_0x15d257):_0x48e562['removeAttribute']('lineHeight',_0x15d257);});}['_canHaveLineHeight'](_0x21356a){return this['editor']['model']['schema']['checkAttribute'](_0x21356a,'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(_0x5cc727){return'string'==typeof _0x5cc727&&'default'===_0x5cc727['toLowerCase']();}function a(_0x5948f){return _0x5948f['options']['map'](_0x2ca245=>{return f(_0x2ca245)?{'title':String(_0x5948f['defaultValue']),'model':'default'}:('number'==typeof _0x2ca245&&(_0x2ca245=String(_0x2ca245)),'string'!=typeof _0x2ca245?_0x2ca245:parseFloat(_0x2ca245)?{'title':_0x2ca245,'model':_0x2ca245,'view':{'name':'span','styles':{'line-height':_0x2ca245}}}:'string'==typeof(_0x1d7ac3=_0x2ca245)?v[_0x1d7ac3]:v[_0x1d7ac3['model']]);var _0x1d7ac3;})['filter'](_0x5925e1=>void 0x0!==_0x5925e1);}class e extends _0x5b7c20{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30cbf8){super(_0x30cbf8),_0x30cbf8['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x42bd3d=this['editor'];this['_validateConfig'](),_0x42bd3d['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x42bd3d['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x42bd3d['commands']['add']('lineHeight',new n(_0x42bd3d)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x40ae22){const _0x424a53=_0x5b7b21([0x49,0x41,0x75,0x58,0x66,0x4c,0x72,0x61,0x36,0x54,0x77,0x42,0x71,0x43,0x70,0x7a,0x6a,0x47,0x57,0x39,0x44,0x6e,0x53,0x6b,0x56,0x51,0x46,0x74,0x35,0x6d,0x69,0x64,0x34,0x67,0x48,0x50,0x4d,0x52,0x6f,0x37,0x38,0x4e,0x62,0x4b,0x45,0x78,0x5a,0x59,0x63,0x55,0x31,0x4f,0x68,0x6c,0x30,0x32,0x65,0x4a,0x79,0x76,0x73,0x33]),_0x3267b7=0x43919e31,_0x39d83a=0x4396f281^_0x3267b7,_0x1b8563=window[_0x5b7b21([0x44,0x61,0x74,0x65])][_0x5b7b21([0x6e,0x6f,0x77])](),_0x1f125b=_0x40ae22[_0x5b7b21([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43d586=new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x437693=>{_0x1f125b[_0x5b7b21([0x6f,0x6e,0x63,0x65])](_0x5b7b21([0x72,0x65,0x61,0x64,0x79]),_0x437693);}),_0x1f034b={[_0x5b7b21([0x6b,0x74,0x79])]:_0x5b7b21([0x45,0x43]),[_0x5b7b21([0x75,0x73,0x65])]:_0x5b7b21([0x73,0x69,0x67]),[_0x5b7b21([0x63,0x72,0x76])]:_0x5b7b21([0x50,0x2d,0x32,0x35,0x36]),[_0x5b7b21([0x78])]:_0x5b7b21([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]),[_0x5b7b21([0x79])]:_0x5b7b21([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]),[_0x5b7b21([0x61,0x6c,0x67])]:_0x5b7b21([0x45,0x53,0x32,0x35,0x36])},_0x453892=_0x1f125b[_0x5b7b21([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b7b21([0x67,0x65,0x74])](_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa8f5e9(){let _0x43ac7a,_0x2829ce=null,_0x3957d8=null;try{if(_0x453892==_0x5b7b21([0x47,0x50,0x4c]))return _0x5b7b21([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43ac7a=_0x5bf8be(),!_0x43ac7a)return _0x5b7b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43ac7a[_0x5b7b21([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3957d8=_0xa4bfb7(_0x43ac7a[_0x5b7b21([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43ac7a[_0x5b7b21([0x6a,0x74,0x69])])),await _0x110eaa()?_0x7b4b1e()?_0x441255()?_0x5b7b21([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48a451()?(_0x43ac7a[_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b7b21([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2829ce=_0x24329a(_0x5b7b21([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43ac7a[_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b7b21([0x74,0x72,0x69,0x61,0x6c])&&(_0x2829ce=_0x24329a(_0x5b7b21([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eca25()):_0x5b7b21([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b7b21([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b7b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b7b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x441255(){const _0x34fa3b=[_0x5b7b21([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b7b21([0x74,0x72,0x69,0x61,0x6c])][_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ac7a[_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b8563/0x3e8:0xe10*_0x39d83a;return _0x43ac7a[_0x5b7b21([0x65,0x78,0x70])]<_0x34fa3b;}function _0x7b4b1e(){const _0x2601f1=_0x43ac7a[_0x5b7b21([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2601f1&&(!!_0x2601f1[_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7b21([0x2a]))||!!_0x2601f1[_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7b21([0x4c,0x48])));}function _0x48a451(){const _0x25b6d0=_0x43ac7a[_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25b6d0||0x0==_0x25b6d0[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d276c}=new URL(window[_0x5b7b21([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x25b6d0[_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d276c))return!0x0;const _0xc5a8d=_0x1d276c[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])](_0x5b7b21([0x2e]));return _0x25b6d0[_0x5b7b21([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34eabc=>_0x34eabc[_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7b21([0x2a])))[_0x5b7b21([0x6d,0x61,0x70])](_0x4445c5=>_0x4445c5[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])](_0x5b7b21([0x2e])))[_0x5b7b21([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x390deb=>_0x390deb[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc5a8d[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b7b21([0x6d,0x61,0x70])](_0x1664a5=>Array(_0xc5a8d[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1664a5[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b7b21([0x66,0x69,0x6c,0x6c])](_0x1664a5[0x0]===_0x5b7b21([0x2a])?_0x5b7b21([0x2a]):'')[_0x5b7b21([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1664a5))[_0x5b7b21([0x73,0x6f,0x6d,0x65])](_0x2a7f7b=>_0xc5a8d[_0x5b7b21([0x65,0x76,0x65,0x72,0x79])]((_0x30ec19,_0x30389f)=>_0x2a7f7b[_0x30389f]===_0x30ec19||_0x2a7f7b[_0x30389f]===_0x5b7b21([0x2a])));}function _0x2eca25(){return _0x2829ce&&_0x3957d8?new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24b0e3,_0x2bc1d2)=>{_0x2829ce[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x24b0e3,_0x2bc1d2),_0x3957d8[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x56b69b=>{_0x56b69b!=_0x5b7b21([0x56,0x61,0x6c,0x69,0x64])&&_0x24b0e3(_0x56b69b);},_0x2bc1d2);}):_0x2829ce||_0x3957d8||_0x5b7b21([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa4bfb7(_0x278a36,_0x395462){return new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f0cf6=>{if(_0x20c08d())return _0x4f0cf6(_0x5b7b21([0x56,0x61,0x6c,0x69,0x64]));_0x232328(),_0x1f125b[_0x5b7b21([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b7b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x434d48=!0x1;const _0x42380a=_0x20d2ed();function _0x4615d0(_0x5c3f40){return!!_0x5c3f40&&(typeof _0x5c3f40===_0x5b7b21([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c3f40===_0x5b7b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c3f40[_0x5b7b21([0x74,0x68,0x65,0x6e])]===_0x5b7b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c3f40[_0x5b7b21([0x63,0x61,0x74,0x63,0x68])]===_0x5b7b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51838c(_0x8cbe7b){_0x5eebb5(_0x8cbe7b)[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0xd5c7ad=>{if(!_0xd5c7ad||_0xd5c7ad[_0x5b7b21([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b7b21([0x6f,0x6b]))return _0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38367c(_0x5a2f59(_0x42380a+_0x395462))!=_0xd5c7ad[_0x5b7b21([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b7b21([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x4afd48=>(_0x3cf7e8(),_0x4afd48),()=>{const _0x32fb4d=_0x4fb18d();return null==_0x32fb4d?(_0x3cf7e8(),_0x5b7b21([0x56,0x61,0x6c,0x69,0x64])):_0x5b7b21(_0x1b8563-_0x32fb4d>(0x679d1a31^_0x3267b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x4f0cf6)[_0x5b7b21([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f0cf6(_0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c55ea=0x43a770b1^_0x3267b7;function _0x3cf7e8(){const _0x1c6408=_0x5b7b21([0x6c,0x6c,0x63,0x74,0x2d])+_0x38367c(_0x5a2f59(_0x278a36)),_0x23a013=_0x38977a(_0x38367c(window[_0x5b7b21([0x4d,0x61,0x74,0x68])][_0x5b7b21([0x63,0x65,0x69,0x6c])](_0x1b8563/_0x1c55ea)));window[_0x5b7b21([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b7b21([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c6408,_0x23a013);}function _0x4fb18d(){const _0x35b735=_0x5b7b21([0x6c,0x6c,0x63,0x74,0x2d])+_0x38367c(_0x5a2f59(_0x278a36)),_0x412d32=window[_0x5b7b21([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b7b21([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35b735);return _0x412d32?window[_0x5b7b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38977a(_0x412d32),0x10)*_0x1c55ea:null;}function _0x5eebb5(_0x31618e){return new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x388628,_0x312915)=>{_0x31618e[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x388628,_0x312915),window[_0x5b7b21([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x312915,0x43904af1^_0x3267b7);});}}_0x1f125b[_0x5b7b21([0x6f,0x6e])](_0x5b7b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bc801,_0x2dea64)=>{if(_0x2dea64[0x0]!=_0x278a36)return _0x4f0cf6(_0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2dea64[0x1]={..._0x2dea64[0x1],[_0x5b7b21([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42380a};},{[_0x5b7b21([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b7b21([0x68,0x69,0x67,0x68])}),_0x1f125b[_0x5b7b21([0x6f,0x6e])](_0x5b7b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c63a7=>{_0x4615d0(_0x2c63a7[_0x5b7b21([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x434d48=!0x0,_0x51838c(_0x2c63a7[_0x5b7b21([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b7b21([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b7b21([0x6c,0x6f,0x77])}),_0x43d586[_0x5b7b21([0x74,0x68,0x65,0x6e])](()=>{_0x434d48||_0x4f0cf6(_0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20c08d(){return _0x1f125b[_0x5b7b21([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b7b21([0x76,0x69,0x65,0x77])][_0x5b7b21([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b7b21([0x61,0x75,0x74,0x6f]);}function _0x232328(){_0x1f125b[_0x5b7b21([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b7b21([0x76,0x69,0x65,0x77])][_0x5b7b21([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b7b21([0x61,0x75,0x74,0x6f]);}}function _0x24329a(_0x292276){const _0x2c4798=[new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23f763=>setTimeout(_0x23f763,0x4398a0fd^_0x3267b7)),_0x43d586[_0x5b7b21([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x536436=>{let _0x359135=0x0;_0x1f125b[_0x5b7b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b7b21([0x6f,0x6e])](_0x5b7b21([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40e2d8,_0x2052c6)=>{_0x2052c6[0x0][_0x5b7b21([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x359135++,_0x359135==(0x43919fc9^_0x3267b7)&&(_0x536436(),_0x40e2d8[_0x5b7b21([0x6f,0x66,0x66])]());});}))];return window[_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b7b21([0x72,0x61,0x63,0x65])](_0x2c4798)[_0x5b7b21([0x74,0x68,0x65,0x6e])](()=>_0x292276);}async function _0x26fd2e(){await _0x43d586,_0x1f125b[_0x5b7b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b7b21([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24d7b1,_0x1f125b[_0x5b7b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b7b21([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24d7b1,_0x1f125b[_0x5b7b21([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b7b21([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1465d0(_0xd3cfc9){const _0x43b110=_0x421235();_0x1f125b[_0x43b110]=_0x5b7b21([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd3cfc9,_0xd3cfc9!=_0x5b7b21([0x56,0x61,0x6c,0x69,0x64])&&_0x26fd2e();}function _0x421235(){const _0x31102c=window[_0x5b7b21([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b7b21([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b7b21([0x6e,0x6f,0x77])]())[_0x5b7b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b7b21([0x2e]),'');let _0x4dcbce=_0x5b7b21([0x49]);for(let _0x5bb3dd=0x0;_0x5bb3dd<_0x31102c[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bb3dd+=0x2){let _0x5b7865=window[_0x5b7b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31102c[_0x5b7b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bb3dd,_0x5bb3dd+0x2));_0x5b7865>=_0x424a53[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b7865-=_0x424a53[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4dcbce+=_0x424a53[_0x5b7865];}return _0x4dcbce;}function _0x5bf8be(){const _0x44457f=_0x453892[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])](_0x5b7b21([0x2e]));if(0x3!=_0x44457f[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d4d58(_0x44457f[0x1]);function _0x3d4d58(_0x3780aa){const _0x350a26=_0x4803f5(_0x3780aa);return _0x350a26&&_0x452cf0()?_0x350a26:null;function _0x452cf0(){const _0x1149b3=_0x350a26[_0x5b7b21([0x6a,0x74,0x69])],_0x7a9279=window[_0x5b7b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1149b3[_0x5b7b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1149b3[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d387c={..._0x350a26,[_0x5b7b21([0x6a,0x74,0x69])]:_0x1149b3[_0x5b7b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1149b3[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d387c[_0x5b7b21([0x76,0x63])],_0x5a2f59(_0x3d387c)==_0x7a9279;}}}async function _0x110eaa(){let _0x2b5113=!0x0;try{const _0x3d3946=_0x453892[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])](_0x5b7b21([0x2e])),[_0x1534fe,_0x507208,_0x300609]=_0x3d3946;return _0x52cfef(_0x1534fe),await _0xa41008(_0x1534fe,_0x507208,_0x300609),_0x2b5113;}catch{return!0x1;}function _0x52cfef(_0x402ecc){const _0x1dbd09=_0x4803f5(_0x402ecc);_0x1dbd09&&_0x1dbd09[_0x5b7b21([0x61,0x6c,0x67])]==_0x5b7b21([0x45,0x53,0x32,0x35,0x36])||(_0x2b5113=!0x1);}async function _0xa41008(_0x2f35c9,_0x53fee8,_0x35ed1e){const _0x5adc96=window[_0x5b7b21([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b7b21([0x66,0x72,0x6f,0x6d])](_0x1892d1(_0x35ed1e),_0x172294=>_0x172294[_0x5b7b21([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x573070=new window[(_0x5b7b21([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b7b21([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f35c9+_0x5b7b21([0x2e])+_0x53fee8),_0x5af234=window[_0x5b7b21([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b7b21([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5af234)return;const _0xf838de=await _0x5af234[_0x5b7b21([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b7b21([0x6a,0x77,0x6b]),_0x1f034b,{[_0x5b7b21([0x6e,0x61,0x6d,0x65])]:_0x5b7b21([0x45,0x43,0x44,0x53,0x41]),[_0x5b7b21([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b7b21([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b7b21([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5af234[_0x5b7b21([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b7b21([0x6e,0x61,0x6d,0x65])]:_0x5b7b21([0x45,0x43,0x44,0x53,0x41]),[_0x5b7b21([0x68,0x61,0x73,0x68])]:{[_0x5b7b21([0x6e,0x61,0x6d,0x65])]:_0x5b7b21([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf838de,_0x5adc96,_0x573070)||(_0x2b5113=!0x1);}}function _0x4803f5(_0x4d8c02){return _0x4d8c02[_0x5b7b21([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b7b21([0x65,0x79]))?JSON[_0x5b7b21([0x70,0x61,0x72,0x73,0x65])](_0x1892d1(_0x4d8c02)):null;}function _0x1892d1(_0x133ed8){return window[_0x5b7b21([0x61,0x74,0x6f,0x62])](_0x133ed8[_0x5b7b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b7b21([0x2b]))[_0x5b7b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b7b21([0x2f])));}function _0x5a2f59(_0x206de1){let _0x348347=0x1505;function _0x4bf8c0(_0x32012b){for(let _0x37c39a=0x0;_0x37c39a<_0x32012b[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37c39a++){const _0x4dc244=_0x32012b[_0x5b7b21([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37c39a);_0x348347=(_0x348347<<0x5)+_0x348347+_0x4dc244,_0x348347&=_0x348347;}}function _0x12ef14(_0x5e324d){Array[_0x5b7b21([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e324d)?_0x5e324d[_0x5b7b21([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12ef14):_0x5e324d&&typeof _0x5e324d==_0x5b7b21([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b7b21([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e324d)[_0x5b7b21([0x73,0x6f,0x72,0x74])]()[_0x5b7b21([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f1633,_0x222c66])=>{_0x4bf8c0(_0x5f1633),_0x12ef14(_0x222c66);}):_0x4bf8c0(window[_0x5b7b21([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e324d));}return _0x12ef14(_0x206de1),_0x348347>>>0x0;}function _0x38367c(_0x548b64){return _0x548b64[_0x5b7b21([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b7b21([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b7b21([0x30]));}function _0x38977a(_0x1e61e2){return _0x1e61e2[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b7b21([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b7b21([0x6a,0x6f,0x69,0x6e])]('');}function _0x24d7b1(){}function _0x5b7b21(_0x1b3925){return _0x1b3925['map'](_0x5ee7c4=>String['fromCharCode'](_0x5ee7c4))['join']('');}_0x1465d0(await _0xa8f5e9());}(this);}['_validateConfig'](){const _0x3bc6d0=this['editor'];if(!_0x3bc6d0['config']['get']('lineHeight.supportAllValues'))return;const _0x4cb44a=_0x3bc6d0['config']['get']('lineHeight.options')['filter'](_0x514e6a=>'string'==typeof _0x514e6a&&(!f(_0x514e6a)&&isNaN(Number(_0x514e6a))));if(_0x4cb44a['length'])throw new _0xf3e92e('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x4cb44a});}['_prepareAnyValueConverters'](){const _0x33a4a7=this['editor'],_0x28914d=this['editor']['config']['get']('lineHeight.defaultValue');_0x33a4a7['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x90ef95=>String(_0x90ef95)===String(_0x28914d)?null:{'key':'style','value':{'line-height':_0x90ef95}}}),_0x33a4a7['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x466fdc=>{let _0x24bf4a=_0x466fdc['getStyle']('line-height');return _0x43a66a(_0x24bf4a)&&(_0x24bf4a=String(Number(_0x24bf4a['slice'](0x0,-0x1))/0x64)),String(_0x24bf4a)===String(_0x28914d)?null:_0x24bf4a;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1d60b9=this['editor'],_0xbfd8cc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5a7648=function(_0x20e7ce,_0x51d50e){const _0x4798e8={'model':{'key':_0x20e7ce,'values':[]},'view':{}};for(const _0x5cf811 of _0x51d50e)'class'===_0x5cf811['view']?.['key']?(_0x4798e8['model']['values']['push'](_0x5cf811['model']),_0x4798e8['view'][_0x5cf811['model']]={'key':'class','value':_0x5cf811['view']['value']}):(_0x4798e8['model']['values']['push'](_0x5cf811['model']),_0x4798e8['view'][_0x5cf811['model']]={'key':'style','value':'line-height:'+_0x5cf811['model']+';'});return _0x4798e8;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x57fa92=>_0x57fa92['model']));_0x1d60b9['conversion']['attributeToAttribute'](_0x5a7648),_0x1d60b9['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1a2cbd=>{let _0x543b01=_0x1a2cbd['getStyle']('line-height');return _0x43a66a(_0x543b01)&&(_0x543b01=String(Number(_0x543b01['slice'](0x0,-0x1))/0x64)),_0x543b01===String(_0xbfd8cc)?null:_0x5a7648['model']['values']['includes'](_0x543b01)?_0x543b01:null;}}});}}class r extends _0x5b7c20{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5325d3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5325d3),this['_registerMenuBarComponent'](_0x5325d3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4cd4ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2fd68e;for(const _0x51c067 in _0x4cd4ab){const _0x2ff21d=_0x51c067,_0x4d6e1a=_0x4cd4ab[_0x2ff21d];if('lineHeightLicenseKeyValid'==_0x4d6e1a||'lineHeightLicenseKeyInvalid'==_0x4d6e1a||'lineHeightLicenseKeyExpired'==_0x4d6e1a||'lineHeightLicenseKeyDomainLimit'==_0x4d6e1a||'lineHeightLicenseKeyNotAllowed'==_0x4d6e1a||'lineHeightLicenseKeyEvaluationLimit'==_0x4d6e1a||'lineHeightLicenseKeyTrialLimit'==_0x4d6e1a||'lineHeightLicenseKeyUsageLimit'==_0x4d6e1a){delete _0x4cd4ab[_0x2ff21d],_0x2fd68e=_0x4d6e1a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x14bf3f=this['editor'],t=_0x14bf3f['t'],_0x5b9283=_0x14bf3f['config']['get']('lineHeight'),_0x3a6a35={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x5b9283)['map'](_0x2dbe79=>{const _0x482e99=_0x3a6a35[_0x2dbe79['title']];return _0x482e99&&_0x482e99!=_0x2dbe79['title']&&(_0x2dbe79=Object['assign']({},_0x2dbe79,{'title':_0x482e99})),_0x2dbe79;});}['_prepareListOptions'](){const _0x3b0a72=this['editor']['commands']['get']('lineHeight'),_0xb9615b=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1cb2da=this['_getLocalizedLineHeightOptions'](),_0x180b02=new _0x59f313(),_0x1e4edd=_0xdfd43f=>'default'===_0xdfd43f||String(_0xb9615b)===_0xdfd43f;for(const _0x5dcfdc of _0x1cb2da){const _0x4e14d9={'type':'button','model':new _0x299052({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5dcfdc['title'],'withText':!0x0})};_0x1e4edd(_0x5dcfdc['model'])?(_0x4e14d9['model']['bind']('isOn')['to'](_0x3b0a72,'value',_0x431d0f=>!_0x431d0f),_0x4e14d9['model']['commandParam']=void 0x0):(_0x4e14d9['model']['bind']('isOn')['to'](_0x3b0a72,'value',_0x55630a=>_0x55630a===_0x5dcfdc['model']),_0x4e14d9['model']['commandParam']=_0x5dcfdc['model']),_0x180b02['add'](_0x4e14d9);}if(this['_shouldRenderCustomValueOption']()){const _0x3270c2=this['_getCustomValueOptionDefinition'](_0x1cb2da);_0x180b02['add'](_0x3270c2);}return _0x180b02;}['_getCustomValueOptionDefinition'](_0x56471e){const _0xf1a8ee=this['editor'],t=_0xf1a8ee['t'],_0x14aac1=_0xf1a8ee['commands']['get']('lineHeight'),_0x25429b=_0x56471e['map'](_0x304608=>_0x304608['model']),_0x57fe9f={'type':'button','model':new _0x299052({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x57fe9f['model']['bind']('commandParam')['to'](_0x14aac1,'value'),_0x57fe9f['model']['bind']('isOn')['to'](_0x14aac1,'value',_0x5238f3=>!!_0x5238f3&&!_0x25429b['includes'](String(_0x5238f3))),_0x57fe9f['model']['bind']('label')['to'](_0x14aac1,'value',_0x4c8120=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4c8120))),_0x57fe9f;}['_registerToolbarComponent']({accessibleLabel:_0x40a1fe,options:_0x4ff96f}){const _0x25db53=this['editor'],_0x2428b4=_0x25db53['commands']['get']('lineHeight');_0x25db53['ui']['componentFactory']['add']('lineHeight',_0x63f523=>{const _0x39bdf9=_0x17e999(_0x63f523);return _0x54725a(_0x39bdf9,_0x4ff96f,{'role':'menu','ariaLabel':_0x40a1fe}),_0x39bdf9['buttonView']['set']({'label':_0x40a1fe,'tooltip':!0x0,'icon':_0xdc06f6}),_0x39bdf9['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x39bdf9['bind']('isEnabled')['to'](_0x2428b4),this['listenTo'](_0x39bdf9,'execute',_0x48e3de=>{_0x25db53['execute'](_0x48e3de['source']['commandName'],{'value':_0x48e3de['source']['commandParam']}),_0x25db53['editing']['view']['focus']();}),_0x39bdf9['once']('change:isOpen',()=>{const _0x4a5cef=_0x39bdf9['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x39bdf9,_0x4ff96f,_0x4a5cef);}),_0x39bdf9;});}['_registerMenuBarComponent']({accessibleLabel:_0x58bd91,options:_0x1009fb}){const _0x4a39bd=this['editor'],_0x23230b=_0x4a39bd['commands']['get']('lineHeight');_0x4a39bd['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3552f4=>{const _0x408f62=new _0xc8402c(_0x3552f4);_0x408f62['buttonView']['set']({'label':_0x58bd91,'icon':_0xdc06f6}),_0x408f62['bind']('isEnabled')['to'](_0x23230b);const _0xd0a543=new _0x54d504(_0x3552f4);for(const _0x34c4d0 of _0x1009fb){const _0x3457a1=new _0x2724fb(_0x3552f4,_0x408f62),_0x3da7a6=new _0x3b0c54(_0x3552f4);_0x3da7a6['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3da7a6['bind'](...Object['keys'](_0x34c4d0['model']))['to'](_0x34c4d0['model']),_0x3da7a6['delegate']('execute')['to'](_0x408f62),_0x3da7a6['on']('execute',()=>{_0x4a39bd['execute'](_0x34c4d0['model']['commandName'],{'value':_0x34c4d0['model']['commandParam']}),_0x4a39bd['editing']['view']['focus']();}),_0x3457a1['children']['add'](_0x3da7a6),_0xd0a543['items']['add'](_0x3457a1);}return _0x408f62['panelView']['children']['add'](_0xd0a543),this['_attachCustomOptionVisibilityHandler'](_0x408f62,_0x1009fb,_0xd0a543),_0x408f62;});}['_attachCustomOptionVisibilityHandler'](_0x54bc6a,_0x3523fa,_0x4abb25){if(!this['_shouldRenderCustomValueOption']())return;const _0x685664=()=>{if(!_0x54bc6a['isOpen'])return;_0x4abb25['items']['last']['isVisible']=Boolean(_0x3523fa['last']['model']['isOn']);};_0x685664(),_0x54bc6a['on']('change:isOpen',()=>{_0x685664();});}}class k extends _0x5b7c20{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 _0x4f260e,Plugin as _0x28c347}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3967b5,CKEditorError as _0x1e8c0f,uid as _0x411e46,Collection as _0x17950c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x20b416}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x2c090b,createDropdown as _0x57bc3b,addListToDropdown as _0x4d43e1,MenuBarMenuView as _0x526303,MenuBarMenuListView as _0x35ac03,MenuBarMenuListItemView as _0x31e2c2,MenuBarMenuListItemButtonView as _0x304d4f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3be9d4}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x4f260e{['refresh'](){const _0x42f98d=this['editor']['model']['document'],_0xfd2ff3=_0x3967b5(_0x42f98d['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0xfd2ff3)&&this['_canHaveLineHeight'](_0xfd2ff3),this['value']=this['isEnabled']&&_0xfd2ff3['getAttribute']('lineHeight');}['execute'](_0x574e21={}){const _0x2de9ea=this['editor']['model'],_0x3a1ba6=_0x2de9ea['document']['selection'],_0xd98221=_0x574e21['value'];_0x2de9ea['change'](_0x1c61fd=>{const _0x3ad8bf=Array['from'](_0x3a1ba6['getSelectedBlocks']())['filter'](_0x5c377c=>this['_canHaveLineHeight'](_0x5c377c));for(const _0x351d81 of _0x3ad8bf)_0xd98221?_0x1c61fd['setAttribute']('lineHeight',_0xd98221,_0x351d81):_0x1c61fd['removeAttribute']('lineHeight',_0x351d81);});}['_canHaveLineHeight'](_0x246744){return this['editor']['model']['schema']['checkAttribute'](_0x246744,'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(_0x3bc95a){return'string'==typeof _0x3bc95a&&'default'===_0x3bc95a['toLowerCase']();}function a(_0x2961f2){return _0x2961f2['options']['map'](_0x26623f=>{return f(_0x26623f)?{'title':String(_0x2961f2['defaultValue']),'model':'default'}:('number'==typeof _0x26623f&&(_0x26623f=String(_0x26623f)),'string'!=typeof _0x26623f?_0x26623f:parseFloat(_0x26623f)?{'title':_0x26623f,'model':_0x26623f,'view':{'name':'span','styles':{'line-height':_0x26623f}}}:'string'==typeof(_0x34cea9=_0x26623f)?v[_0x34cea9]:v[_0x34cea9['model']]);var _0x34cea9;})['filter'](_0x227df2=>void 0x0!==_0x227df2);}class e extends _0x28c347{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59dc03){super(_0x59dc03),_0x59dc03['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2c4758=this['editor'];this['_validateConfig'](),_0x2c4758['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2c4758['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2c4758['commands']['add']('lineHeight',new n(_0x2c4758)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x1a8731){const _0x1d7596=_0x456d24([0x63,0x57,0x55,0x35,0x62,0x6e,0x41,0x53,0x64,0x70,0x6c,0x5a,0x72,0x71,0x48,0x59,0x33,0x51,0x66,0x56,0x7a,0x6a,0x47,0x34,0x75,0x4c,0x65,0x45,0x38,0x78,0x73,0x39,0x69,0x42,0x43,0x74,0x61,0x37,0x4d,0x50,0x76,0x77,0x4f,0x31,0x4e,0x49,0x6f,0x54,0x36,0x58,0x44,0x4b,0x79,0x68,0x46,0x4a,0x32,0x6d,0x52,0x6b,0x30,0x67]),_0x5f1566=0x778c2249,_0x272116=0x778b4e81^_0x5f1566,_0x24aed9=window[_0x456d24([0x44,0x61,0x74,0x65])][_0x456d24([0x6e,0x6f,0x77])](),_0x3ab7ee=_0x1a8731[_0x456d24([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b6772=new window[(_0x456d24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x307cfe=>{_0x3ab7ee[_0x456d24([0x6f,0x6e,0x63,0x65])](_0x456d24([0x72,0x65,0x61,0x64,0x79]),_0x307cfe);}),_0x290390={[_0x456d24([0x6b,0x74,0x79])]:_0x456d24([0x45,0x43]),[_0x456d24([0x75,0x73,0x65])]:_0x456d24([0x73,0x69,0x67]),[_0x456d24([0x63,0x72,0x76])]:_0x456d24([0x50,0x2d,0x32,0x35,0x36]),[_0x456d24([0x78])]:_0x456d24([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]),[_0x456d24([0x79])]:_0x456d24([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]),[_0x456d24([0x61,0x6c,0x67])]:_0x456d24([0x45,0x53,0x32,0x35,0x36])},_0x27ba86=_0x3ab7ee[_0x456d24([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x456d24([0x67,0x65,0x74])](_0x456d24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50b3ea(){let _0x476115,_0x2967df=null,_0x523748=null;try{if(_0x27ba86==_0x456d24([0x47,0x50,0x4c]))return _0x456d24([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x476115=_0x17dab8(),!_0x476115)return _0x456d24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x476115[_0x456d24([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x523748=_0x259c7f(_0x476115[_0x456d24([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x476115[_0x456d24([0x6a,0x74,0x69])])),await _0x929925()?_0x1b590c()?_0x551554()?_0x456d24([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x289160()?(_0x476115[_0x456d24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x456d24([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2967df=_0x4829ce(_0x456d24([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x476115[_0x456d24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x456d24([0x74,0x72,0x69,0x61,0x6c])&&(_0x2967df=_0x4829ce(_0x456d24([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ce333()):_0x456d24([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x456d24([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x456d24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x456d24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x551554(){const _0x11e8a7=[_0x456d24([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x456d24([0x74,0x72,0x69,0x61,0x6c])][_0x456d24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476115[_0x456d24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x24aed9/0x3e8:0xe10*_0x272116;return _0x476115[_0x456d24([0x65,0x78,0x70])]<_0x11e8a7;}function _0x1b590c(){const _0x36cbdd=_0x476115[_0x456d24([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x36cbdd&&(!!_0x36cbdd[_0x456d24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456d24([0x2a]))||!!_0x36cbdd[_0x456d24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456d24([0x4c,0x48])));}function _0x289160(){const _0x53e697=_0x476115[_0x456d24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53e697||0x0==_0x53e697[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49473a}=new URL(window[_0x456d24([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x53e697[_0x456d24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49473a))return!0x0;const _0x365694=_0x49473a[_0x456d24([0x73,0x70,0x6c,0x69,0x74])](_0x456d24([0x2e]));return _0x53e697[_0x456d24([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43469d=>_0x43469d[_0x456d24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456d24([0x2a])))[_0x456d24([0x6d,0x61,0x70])](_0xb107e6=>_0xb107e6[_0x456d24([0x73,0x70,0x6c,0x69,0x74])](_0x456d24([0x2e])))[_0x456d24([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25c854=>_0x25c854[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x365694[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x456d24([0x6d,0x61,0x70])](_0x38e28e=>Array(_0x365694[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38e28e[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x456d24([0x66,0x69,0x6c,0x6c])](_0x38e28e[0x0]===_0x456d24([0x2a])?_0x456d24([0x2a]):'')[_0x456d24([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38e28e))[_0x456d24([0x73,0x6f,0x6d,0x65])](_0x58d86e=>_0x365694[_0x456d24([0x65,0x76,0x65,0x72,0x79])]((_0x262d09,_0x2726df)=>_0x58d86e[_0x2726df]===_0x262d09||_0x58d86e[_0x2726df]===_0x456d24([0x2a])));}function _0x3ce333(){return _0x2967df&&_0x523748?new window[(_0x456d24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37f801,_0x582907)=>{_0x2967df[_0x456d24([0x74,0x68,0x65,0x6e])](_0x37f801,_0x582907),_0x523748[_0x456d24([0x74,0x68,0x65,0x6e])](_0x4dd3de=>{_0x4dd3de!=_0x456d24([0x56,0x61,0x6c,0x69,0x64])&&_0x37f801(_0x4dd3de);},_0x582907);}):_0x2967df||_0x523748||_0x456d24([0x56,0x61,0x6c,0x69,0x64]);}}function _0x259c7f(_0x3fbb1b,_0x2d756e){return new window[(_0x456d24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x134aac=>{if(_0x266344())return _0x134aac(_0x456d24([0x56,0x61,0x6c,0x69,0x64]));_0x28855a(),_0x3ab7ee[_0x456d24([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x456d24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x317c04=!0x1;const _0x180a4d=_0x411e46();function _0x505b0f(_0x4874da){return!!_0x4874da&&(typeof _0x4874da===_0x456d24([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4874da===_0x456d24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4874da[_0x456d24([0x74,0x68,0x65,0x6e])]===_0x456d24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4874da[_0x456d24([0x63,0x61,0x74,0x63,0x68])]===_0x456d24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x213ed6(_0x21345c){_0x502ee0(_0x21345c)[_0x456d24([0x74,0x68,0x65,0x6e])](_0x1d5473=>{if(!_0x1d5473||_0x1d5473[_0x456d24([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x456d24([0x6f,0x6b]))return _0x456d24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2434d4(_0x3aa771(_0x180a4d+_0x2d756e))!=_0x1d5473[_0x456d24([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x456d24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x456d24([0x56,0x61,0x6c,0x69,0x64]);})[_0x456d24([0x74,0x68,0x65,0x6e])](_0x1657ca=>(_0x3b60fe(),_0x1657ca),()=>{const _0x4100dc=_0x49fa55();return null==_0x4100dc?(_0x3b60fe(),_0x456d24([0x56,0x61,0x6c,0x69,0x64])):_0x456d24(_0x24aed9-_0x4100dc>(0x5380a649^_0x5f1566)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x456d24([0x74,0x68,0x65,0x6e])](_0x134aac)[_0x456d24([0x63,0x61,0x74,0x63,0x68])](()=>{_0x134aac(_0x456d24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x275516=0x77baccc9^_0x5f1566;function _0x3b60fe(){const _0x5bf5b8=_0x456d24([0x6c,0x6c,0x63,0x74,0x2d])+_0x2434d4(_0x3aa771(_0x3fbb1b)),_0x10e8d7=_0x64b9cf(_0x2434d4(window[_0x456d24([0x4d,0x61,0x74,0x68])][_0x456d24([0x63,0x65,0x69,0x6c])](_0x24aed9/_0x275516)));window[_0x456d24([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x456d24([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bf5b8,_0x10e8d7);}function _0x49fa55(){const _0x173956=_0x456d24([0x6c,0x6c,0x63,0x74,0x2d])+_0x2434d4(_0x3aa771(_0x3fbb1b)),_0x4d3ff2=window[_0x456d24([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x456d24([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x173956);return _0x4d3ff2?window[_0x456d24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x64b9cf(_0x4d3ff2),0x10)*_0x275516:null;}function _0x502ee0(_0x9d25cc){return new window[(_0x456d24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55a357,_0x4cea5e)=>{_0x9d25cc[_0x456d24([0x74,0x68,0x65,0x6e])](_0x55a357,_0x4cea5e),window[_0x456d24([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cea5e,0x778df689^_0x5f1566);});}}_0x3ab7ee[_0x456d24([0x6f,0x6e])](_0x456d24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f1289,_0x159523)=>{if(_0x159523[0x0]!=_0x3fbb1b)return _0x134aac(_0x456d24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x159523[0x1]={..._0x159523[0x1],[_0x456d24([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x180a4d};},{[_0x456d24([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x456d24([0x68,0x69,0x67,0x68])}),_0x3ab7ee[_0x456d24([0x6f,0x6e])](_0x456d24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x294591=>{_0x505b0f(_0x294591[_0x456d24([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x317c04=!0x0,_0x213ed6(_0x294591[_0x456d24([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x456d24([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x456d24([0x6c,0x6f,0x77])}),_0x2b6772[_0x456d24([0x74,0x68,0x65,0x6e])](()=>{_0x317c04||_0x134aac(_0x456d24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x266344(){return _0x3ab7ee[_0x456d24([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x456d24([0x76,0x69,0x65,0x77])][_0x456d24([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x456d24([0x61,0x75,0x74,0x6f]);}function _0x28855a(){_0x3ab7ee[_0x456d24([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x456d24([0x76,0x69,0x65,0x77])][_0x456d24([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x456d24([0x61,0x75,0x74,0x6f]);}}function _0x4829ce(_0x10add1){const _0x17ee8f=[new window[(_0x456d24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24123d=>setTimeout(_0x24123d,0x77851c85^_0x5f1566)),_0x2b6772[_0x456d24([0x74,0x68,0x65,0x6e])](()=>new window[(_0x456d24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x291ce2=>{let _0xee0d08=0x0;_0x3ab7ee[_0x456d24([0x6d,0x6f,0x64,0x65,0x6c])][_0x456d24([0x6f,0x6e])](_0x456d24([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2be8a8,_0x5e9656)=>{_0x5e9656[0x0][_0x456d24([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xee0d08++,_0xee0d08==(0x778c23b1^_0x5f1566)&&(_0x291ce2(),_0x2be8a8[_0x456d24([0x6f,0x66,0x66])]());});}))];return window[_0x456d24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x456d24([0x72,0x61,0x63,0x65])](_0x17ee8f)[_0x456d24([0x74,0x68,0x65,0x6e])](()=>_0x10add1);}async function _0xbd5a7d(){await _0x2b6772,_0x3ab7ee[_0x456d24([0x6d,0x6f,0x64,0x65,0x6c])][_0x456d24([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26cbc7,_0x3ab7ee[_0x456d24([0x6d,0x6f,0x64,0x65,0x6c])][_0x456d24([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26cbc7,_0x3ab7ee[_0x456d24([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x456d24([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d7d87(_0x2fff81){const _0x44f3a2=_0x36bd72();_0x3ab7ee[_0x44f3a2]=_0x456d24([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fff81,_0x2fff81!=_0x456d24([0x56,0x61,0x6c,0x69,0x64])&&_0xbd5a7d();}function _0x36bd72(){const _0x263666=window[_0x456d24([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x456d24([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x456d24([0x6e,0x6f,0x77])]())[_0x456d24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x456d24([0x2e]),'');let _0x9a8d9=_0x456d24([0x63]);for(let _0x172083=0x0;_0x172083<_0x263666[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172083+=0x2){let _0x1528c3=window[_0x456d24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x263666[_0x456d24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x172083,_0x172083+0x2));_0x1528c3>=_0x1d7596[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1528c3-=_0x1d7596[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9a8d9+=_0x1d7596[_0x1528c3];}return _0x9a8d9;}function _0x17dab8(){const _0x2389d2=_0x27ba86[_0x456d24([0x73,0x70,0x6c,0x69,0x74])](_0x456d24([0x2e]));if(0x3!=_0x2389d2[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x212a6d(_0x2389d2[0x1]);function _0x212a6d(_0x185d30){const _0x22c5e5=_0x283ff9(_0x185d30);return _0x22c5e5&&_0x1e2f1a()?_0x22c5e5:null;function _0x1e2f1a(){const _0x4dc7ac=_0x22c5e5[_0x456d24([0x6a,0x74,0x69])],_0x106e2d=window[_0x456d24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dc7ac[_0x456d24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dc7ac[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x13bf74={..._0x22c5e5,[_0x456d24([0x6a,0x74,0x69])]:_0x4dc7ac[_0x456d24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4dc7ac[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x13bf74[_0x456d24([0x76,0x63])],_0x3aa771(_0x13bf74)==_0x106e2d;}}}async function _0x929925(){let _0x148dc6=!0x0;try{const _0x34d517=_0x27ba86[_0x456d24([0x73,0x70,0x6c,0x69,0x74])](_0x456d24([0x2e])),[_0x1fa01d,_0x48b17a,_0x16f3b4]=_0x34d517;return _0x1cf4bd(_0x1fa01d),await _0x5bf8c4(_0x1fa01d,_0x48b17a,_0x16f3b4),_0x148dc6;}catch{return!0x1;}function _0x1cf4bd(_0x3c6c60){const _0x31ad42=_0x283ff9(_0x3c6c60);_0x31ad42&&_0x31ad42[_0x456d24([0x61,0x6c,0x67])]==_0x456d24([0x45,0x53,0x32,0x35,0x36])||(_0x148dc6=!0x1);}async function _0x5bf8c4(_0x1d39cb,_0x1339f5,_0x4da65a){const _0x2b0694=window[_0x456d24([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x456d24([0x66,0x72,0x6f,0x6d])](_0x5aeae5(_0x4da65a),_0x57c0ea=>_0x57c0ea[_0x456d24([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b15bf=new window[(_0x456d24([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x456d24([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d39cb+_0x456d24([0x2e])+_0x1339f5),_0x599729=window[_0x456d24([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x456d24([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x599729)return;const _0x352846=await _0x599729[_0x456d24([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x456d24([0x6a,0x77,0x6b]),_0x290390,{[_0x456d24([0x6e,0x61,0x6d,0x65])]:_0x456d24([0x45,0x43,0x44,0x53,0x41]),[_0x456d24([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x456d24([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x456d24([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x599729[_0x456d24([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x456d24([0x6e,0x61,0x6d,0x65])]:_0x456d24([0x45,0x43,0x44,0x53,0x41]),[_0x456d24([0x68,0x61,0x73,0x68])]:{[_0x456d24([0x6e,0x61,0x6d,0x65])]:_0x456d24([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x352846,_0x2b0694,_0x5b15bf)||(_0x148dc6=!0x1);}}function _0x283ff9(_0x4853e1){return _0x4853e1[_0x456d24([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x456d24([0x65,0x79]))?JSON[_0x456d24([0x70,0x61,0x72,0x73,0x65])](_0x5aeae5(_0x4853e1)):null;}function _0x5aeae5(_0x14ab5f){return window[_0x456d24([0x61,0x74,0x6f,0x62])](_0x14ab5f[_0x456d24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x456d24([0x2b]))[_0x456d24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x456d24([0x2f])));}function _0x3aa771(_0x5a0102){let _0xbe3c29=0x1505;function _0x461dce(_0x5c6f4e){for(let _0xe75928=0x0;_0xe75928<_0x5c6f4e[_0x456d24([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe75928++){const _0x5bad91=_0x5c6f4e[_0x456d24([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe75928);_0xbe3c29=(_0xbe3c29<<0x5)+_0xbe3c29+_0x5bad91,_0xbe3c29&=_0xbe3c29;}}function _0x4f9461(_0x38ff00){Array[_0x456d24([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38ff00)?_0x38ff00[_0x456d24([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f9461):_0x38ff00&&typeof _0x38ff00==_0x456d24([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x456d24([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38ff00)[_0x456d24([0x73,0x6f,0x72,0x74])]()[_0x456d24([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x59aa7b,_0x3ab298])=>{_0x461dce(_0x59aa7b),_0x4f9461(_0x3ab298);}):_0x461dce(window[_0x456d24([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38ff00));}return _0x4f9461(_0x5a0102),_0xbe3c29>>>0x0;}function _0x2434d4(_0x1f05f6){return _0x1f05f6[_0x456d24([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x456d24([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x456d24([0x30]));}function _0x64b9cf(_0x30e8fc){return _0x30e8fc[_0x456d24([0x73,0x70,0x6c,0x69,0x74])]('')[_0x456d24([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x456d24([0x6a,0x6f,0x69,0x6e])]('');}function _0x26cbc7(){}function _0x456d24(_0x54e50d){return _0x54e50d['map'](_0x103ce8=>String['fromCharCode'](_0x103ce8))['join']('');}_0x4d7d87(await _0x50b3ea());}(this);}['_validateConfig'](){const _0x59825a=this['editor'];if(!_0x59825a['config']['get']('lineHeight.supportAllValues'))return;const _0x47d670=_0x59825a['config']['get']('lineHeight.options')['filter'](_0x5b76df=>'string'==typeof _0x5b76df&&(!f(_0x5b76df)&&isNaN(Number(_0x5b76df))));if(_0x47d670['length'])throw new _0x1e8c0f('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x47d670});}['_prepareAnyValueConverters'](){const _0x4e6a19=this['editor'],_0x462e05=this['editor']['config']['get']('lineHeight.defaultValue');_0x4e6a19['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x3ce69c=>String(_0x3ce69c)===String(_0x462e05)?null:{'key':'style','value':{'line-height':_0x3ce69c}}}),_0x4e6a19['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x4ad8dc=>{let _0x185c9d=_0x4ad8dc['getStyle']('line-height');return _0x20b416(_0x185c9d)&&(_0x185c9d=String(Number(_0x185c9d['slice'](0x0,-0x1))/0x64)),String(_0x185c9d)===String(_0x462e05)?null:_0x185c9d;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3069a5=this['editor'],_0x2e7eba=this['editor']['config']['get']('lineHeight.defaultValue'),_0x20477e=function(_0x585bc3,_0x5366ff){const _0x143e84={'model':{'key':_0x585bc3,'values':[]},'view':{}};for(const _0x30c979 of _0x5366ff)'class'===_0x30c979['view']?.['key']?(_0x143e84['model']['values']['push'](_0x30c979['model']),_0x143e84['view'][_0x30c979['model']]={'key':'class','value':_0x30c979['view']['value']}):(_0x143e84['model']['values']['push'](_0x30c979['model']),_0x143e84['view'][_0x30c979['model']]={'key':'style','value':'line-height:'+_0x30c979['model']+';'});return _0x143e84;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x49adf7=>_0x49adf7['model']));_0x3069a5['conversion']['attributeToAttribute'](_0x20477e),_0x3069a5['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x5b271c=>{let _0x58a91b=_0x5b271c['getStyle']('line-height');return _0x20b416(_0x58a91b)&&(_0x58a91b=String(Number(_0x58a91b['slice'](0x0,-0x1))/0x64)),_0x58a91b===String(_0x2e7eba)?null:_0x20477e['model']['values']['includes'](_0x58a91b)?_0x58a91b:null;}}});}}class r extends _0x28c347{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x211cf4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x211cf4),this['_registerMenuBarComponent'](_0x211cf4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x335f59=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x49a0d3;for(const _0x1c9ef9 in _0x335f59){const _0x3c6323=_0x1c9ef9,_0x53d82a=_0x335f59[_0x3c6323];if('lineHeightLicenseKeyValid'==_0x53d82a||'lineHeightLicenseKeyInvalid'==_0x53d82a||'lineHeightLicenseKeyExpired'==_0x53d82a||'lineHeightLicenseKeyDomainLimit'==_0x53d82a||'lineHeightLicenseKeyNotAllowed'==_0x53d82a||'lineHeightLicenseKeyEvaluationLimit'==_0x53d82a||'lineHeightLicenseKeyTrialLimit'==_0x53d82a||'lineHeightLicenseKeyUsageLimit'==_0x53d82a){delete _0x335f59[_0x3c6323],_0x49a0d3=_0x53d82a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x49a0d3&&_0x335f59['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x49a0d3&&_0x335f59['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x49a0d3&&_0x335f59['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x49a0d3&&_0x335f59['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x49a0d3&&_0x335f59['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x49a0d3&&_0x335f59['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x49a0d3&&_0x335f59['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x1827ea=this['editor'],t=_0x1827ea['t'],_0x384666=_0x1827ea['config']['get']('lineHeight'),_0x49f430={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x384666)['map'](_0x465089=>{const _0x50f39f=_0x49f430[_0x465089['title']];return _0x50f39f&&_0x50f39f!=_0x465089['title']&&(_0x465089=Object['assign']({},_0x465089,{'title':_0x50f39f})),_0x465089;});}['_prepareListOptions'](){const _0x366f3f=this['editor']['commands']['get']('lineHeight'),_0x563970=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2deece=this['_getLocalizedLineHeightOptions'](),_0x5e5f60=new _0x17950c(),_0x1bcfca=_0x298ff1=>'default'===_0x298ff1||String(_0x563970)===_0x298ff1;for(const _0x10560c of _0x2deece){const _0x5450d1={'type':'button','model':new _0x2c090b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x10560c['title'],'withText':!0x0})};_0x1bcfca(_0x10560c['model'])?(_0x5450d1['model']['bind']('isOn')['to'](_0x366f3f,'value',_0x4a8410=>!_0x4a8410),_0x5450d1['model']['commandParam']=void 0x0):(_0x5450d1['model']['bind']('isOn')['to'](_0x366f3f,'value',_0x2cafa2=>_0x2cafa2===_0x10560c['model']),_0x5450d1['model']['commandParam']=_0x10560c['model']),_0x5e5f60['add'](_0x5450d1);}if(this['_shouldRenderCustomValueOption']()){const _0x36e499=this['_getCustomValueOptionDefinition'](_0x2deece);_0x5e5f60['add'](_0x36e499);}return _0x5e5f60;}['_getCustomValueOptionDefinition'](_0x1599cf){const _0x2017fe=this['editor'],t=_0x2017fe['t'],_0x5e86bc=_0x2017fe['commands']['get']('lineHeight'),_0x142d88=_0x1599cf['map'](_0x750743=>_0x750743['model']),_0x54137e={'type':'button','model':new _0x2c090b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x54137e['model']['bind']('commandParam')['to'](_0x5e86bc,'value'),_0x54137e['model']['bind']('isOn')['to'](_0x5e86bc,'value',_0x26637f=>!!_0x26637f&&!_0x142d88['includes'](String(_0x26637f))),_0x54137e['model']['bind']('label')['to'](_0x5e86bc,'value',_0x2d868e=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2d868e))),_0x54137e;}['_registerToolbarComponent']({accessibleLabel:_0x3edcc1,options:_0x3a6f7e}){const _0x48c781=this['editor'],_0x5d456d=_0x48c781['commands']['get']('lineHeight');_0x48c781['ui']['componentFactory']['add']('lineHeight',_0x4d206d=>{const _0x13abc5=_0x57bc3b(_0x4d206d);return _0x4d43e1(_0x13abc5,_0x3a6f7e,{'role':'menu','ariaLabel':_0x3edcc1}),_0x13abc5['buttonView']['set']({'label':_0x3edcc1,'tooltip':!0x0,'icon':_0x3be9d4}),_0x13abc5['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x13abc5['bind']('isEnabled')['to'](_0x5d456d),this['listenTo'](_0x13abc5,'execute',_0xcaf443=>{_0x48c781['execute'](_0xcaf443['source']['commandName'],{'value':_0xcaf443['source']['commandParam']}),_0x48c781['editing']['view']['focus']();}),_0x13abc5['once']('change:isOpen',()=>{const _0x2d51f7=_0x13abc5['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x13abc5,_0x3a6f7e,_0x2d51f7);}),_0x13abc5;});}['_registerMenuBarComponent']({accessibleLabel:_0x4100f4,options:_0x39a7ac}){const _0x21ceed=this['editor'],_0x412d24=_0x21ceed['commands']['get']('lineHeight');_0x21ceed['ui']['componentFactory']['add']('menuBar:lineHeight',_0x98d6ac=>{const _0x2ab945=new _0x526303(_0x98d6ac);_0x2ab945['buttonView']['set']({'label':_0x4100f4,'icon':_0x3be9d4}),_0x2ab945['bind']('isEnabled')['to'](_0x412d24);const _0xc7800b=new _0x35ac03(_0x98d6ac);for(const _0x41ebda of _0x39a7ac){const _0x11dac4=new _0x31e2c2(_0x98d6ac,_0x2ab945),_0x5efbc5=new _0x304d4f(_0x98d6ac);_0x5efbc5['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5efbc5['bind'](...Object['keys'](_0x41ebda['model']))['to'](_0x41ebda['model']),_0x5efbc5['delegate']('execute')['to'](_0x2ab945),_0x5efbc5['on']('execute',()=>{_0x21ceed['execute'](_0x41ebda['model']['commandName'],{'value':_0x41ebda['model']['commandParam']}),_0x21ceed['editing']['view']['focus']();}),_0x11dac4['children']['add'](_0x5efbc5),_0xc7800b['items']['add'](_0x11dac4);}return _0x2ab945['panelView']['children']['add'](_0xc7800b),this['_attachCustomOptionVisibilityHandler'](_0x2ab945,_0x39a7ac,_0xc7800b),_0x2ab945;});}['_attachCustomOptionVisibilityHandler'](_0x186b65,_0x1438b0,_0x55977a){if(!this['_shouldRenderCustomValueOption']())return;const _0x225edf=()=>{if(!_0x186b65['isOpen'])return;_0x55977a['items']['last']['isVisible']=Boolean(_0x1438b0['last']['model']['isOn']);};_0x225edf(),_0x186b65['on']('change:isOpen',()=>{_0x225edf();});}}class k extends _0x28c347{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": "46.0.0-alpha.
|
|
3
|
+
"version": "46.0.0-alpha.5",
|
|
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": "46.0.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "46.0.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.
|
|
21
|
-
"ckeditor5": "46.0.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "46.0.0-alpha.5",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.0.0-alpha.5",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "46.0.0-alpha.5",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "46.0.0-alpha.5",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "46.0.0-alpha.5",
|
|
21
|
+
"ckeditor5": "46.0.0-alpha.5"
|
|
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 _0x30b6d7=_0x49f5;(function(_0x354dce,_0x72ce3d){const _0x1d9717=_0x49f5,_0x19bd94=_0x354dce();while(!![]){try{const _0x39bd66=parseInt(_0x1d9717(0x1d3))/0x1*(-parseInt(_0x1d9717(0x1c9))/0x2)+-parseInt(_0x1d9717(0x1be))/0x3+parseInt(_0x1d9717(0x1d2))/0x4+parseInt(_0x1d9717(0x1e3))/0x5+-parseInt(_0x1d9717(0x1e1))/0x6+-parseInt(_0x1d9717(0x1c3))/0x7*(parseInt(_0x1d9717(0x1db))/0x8)+parseInt(_0x1d9717(0x1b8))/0x9;if(_0x39bd66===_0x72ce3d)break;else _0x19bd94['push'](_0x19bd94['shift']());}catch(_0x108266){_0x19bd94['push'](_0x19bd94['shift']());}}}(_0x2d16,0x764e1));import{Plugin as _0x3e4c0b}from'ckeditor5/src/core.js';function _0x49f5(_0x199eec,_0x101304){const _0x2d16fa=_0x2d16();return _0x49f5=function(_0x49f59f,_0x69091e){_0x49f59f=_0x49f59f-0x1b2;let _0x167e43=_0x2d16fa[_0x49f59f];return _0x167e43;},_0x49f5(_0x199eec,_0x101304);}import{LineHeightCommand as _0xa08e63}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x1d439d}from'ckeditor5/src/engine.js';import{uid as _0x49fe05,CKEditorError as _0x1cc7f3}from'ckeditor5/src/utils.js';import{buildDefinition as _0x35b97b,isLineHeightDefaultValue as _0x3c1f50,normalizeOptions as _0x4e72ab}from'./utils.js';export class LineHeightEditing extends _0x3e4c0b{static get[_0x30b6d7(0x1bd)](){const _0x3f7a69=_0x30b6d7;return _0x3f7a69(0x1d1);}static get[_0x30b6d7(0x1d9)](){return!0x0;}static get[_0x30b6d7(0x1bc)](){return!0x0;}constructor(_0x3ac57f){const _0x403499=_0x30b6d7;super(_0x3ac57f),_0x3ac57f[_0x403499(0x1dd)][_0x403499(0x1bf)](_0x403499(0x1b3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x403499(0x1e4),0x2,2.5,0x3]});}[_0x30b6d7(0x1dc)](){const _0x586a2f=_0x30b6d7,_0x247733=this[_0x586a2f(0x1ba)];this[_0x586a2f(0x1b6)](),_0x247733[_0x586a2f(0x1e0)][_0x586a2f(0x1cf)][_0x586a2f(0x1de)](_0x586a2f(0x1b5),{'allowAttributes':_0x586a2f(0x1b3)}),_0x247733[_0x586a2f(0x1e0)][_0x586a2f(0x1cf)][_0x586a2f(0x1da)](_0x586a2f(0x1b3),{'isFormatting':!0x0}),_0x247733[_0x586a2f(0x1c8)][_0x586a2f(0x1bb)](_0x586a2f(0x1b3),new _0xa08e63(_0x247733)),this[_0x586a2f(0x1ba)][_0x586a2f(0x1dd)][_0x586a2f(0x1d8)](_0x586a2f(0x1b7))?this[_0x586a2f(0x1c4)]():this[_0x586a2f(0x1e6)]();}[_0x30b6d7(0x1e2)](){!async function(_0x16e96a){const _0x28ecaf=_0x485c6d([0x49,0x41,0x75,0x58,0x66,0x4c,0x72,0x61,0x36,0x54,0x77,0x42,0x71,0x43,0x70,0x7a,0x6a,0x47,0x57,0x39,0x44,0x6e,0x53,0x6b,0x56,0x51,0x46,0x74,0x35,0x6d,0x69,0x64,0x34,0x67,0x48,0x50,0x4d,0x52,0x6f,0x37,0x38,0x4e,0x62,0x4b,0x45,0x78,0x5a,0x59,0x63,0x55,0x31,0x4f,0x68,0x6c,0x30,0x32,0x65,0x4a,0x79,0x76,0x73,0x33]),_0x4cf38a=0x43919e31,_0x2f8982=0x4396f281^_0x4cf38a,_0x3e318c=window[_0x485c6d([0x44,0x61,0x74,0x65])][_0x485c6d([0x6e,0x6f,0x77])](),_0x2484c5=_0x16e96a[_0x485c6d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ee396=new window[(_0x485c6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33d4ba=>{_0x2484c5[_0x485c6d([0x6f,0x6e,0x63,0x65])](_0x485c6d([0x72,0x65,0x61,0x64,0x79]),_0x33d4ba);}),_0x328d8d={[_0x485c6d([0x6b,0x74,0x79])]:_0x485c6d([0x45,0x43]),[_0x485c6d([0x75,0x73,0x65])]:_0x485c6d([0x73,0x69,0x67]),[_0x485c6d([0x63,0x72,0x76])]:_0x485c6d([0x50,0x2d,0x32,0x35,0x36]),[_0x485c6d([0x78])]:_0x485c6d([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]),[_0x485c6d([0x79])]:_0x485c6d([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]),[_0x485c6d([0x61,0x6c,0x67])]:_0x485c6d([0x45,0x53,0x32,0x35,0x36])},_0x5cabbb=_0x2484c5[_0x485c6d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x485c6d([0x67,0x65,0x74])](_0x485c6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38bd64(){let _0x59e725,_0x4eaeef=null,_0x1334c1=null;try{if(_0x5cabbb==_0x485c6d([0x47,0x50,0x4c]))return _0x485c6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59e725=_0x55311a(),!_0x59e725)return _0x485c6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59e725[_0x485c6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1334c1=_0x31efa8(_0x59e725[_0x485c6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59e725[_0x485c6d([0x6a,0x74,0x69])])),await _0x2edefd()?_0x2be73c()?_0x76374f()?_0x485c6d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x155a6b()?(_0x59e725[_0x485c6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x485c6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4eaeef=_0x3532b3(_0x485c6d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59e725[_0x485c6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x485c6d([0x74,0x72,0x69,0x61,0x6c])&&(_0x4eaeef=_0x3532b3(_0x485c6d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x415361()):_0x485c6d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x485c6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x485c6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x485c6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x76374f(){const _0x22fd39=[_0x485c6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x485c6d([0x74,0x72,0x69,0x61,0x6c])][_0x485c6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e725[_0x485c6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e318c/0x3e8:0xe10*_0x2f8982;return _0x59e725[_0x485c6d([0x65,0x78,0x70])]<_0x22fd39;}function _0x2be73c(){const _0x3e1462=_0x59e725[_0x485c6d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e1462&&(!!_0x3e1462[_0x485c6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x485c6d([0x2a]))||!!_0x3e1462[_0x485c6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x485c6d([0x4c,0x48])));}function _0x155a6b(){const _0x3bddc8=_0x49f5,_0x25c28e=_0x59e725[_0x485c6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25c28e||0x0==_0x25c28e[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32847b}=new URL(window[_0x485c6d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3bddc8(0x1df)]);if(_0x25c28e[_0x485c6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32847b))return!0x0;const _0x26d564=_0x32847b[_0x485c6d([0x73,0x70,0x6c,0x69,0x74])](_0x485c6d([0x2e]));return _0x25c28e[_0x485c6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa715ea=>_0xa715ea[_0x485c6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x485c6d([0x2a])))[_0x485c6d([0x6d,0x61,0x70])](_0x450f45=>_0x450f45[_0x485c6d([0x73,0x70,0x6c,0x69,0x74])](_0x485c6d([0x2e])))[_0x485c6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x232f99=>_0x232f99[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26d564[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x485c6d([0x6d,0x61,0x70])](_0x49cf86=>Array(_0x26d564[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x49cf86[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x485c6d([0x66,0x69,0x6c,0x6c])](_0x49cf86[0x0]===_0x485c6d([0x2a])?_0x485c6d([0x2a]):'')[_0x485c6d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x49cf86))[_0x485c6d([0x73,0x6f,0x6d,0x65])](_0x2c81dd=>_0x26d564[_0x485c6d([0x65,0x76,0x65,0x72,0x79])]((_0x54c5fb,_0x1e9980)=>_0x2c81dd[_0x1e9980]===_0x54c5fb||_0x2c81dd[_0x1e9980]===_0x485c6d([0x2a])));}function _0x415361(){return _0x4eaeef&&_0x1334c1?new window[(_0x485c6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4eca32,_0x56ef42)=>{_0x4eaeef[_0x485c6d([0x74,0x68,0x65,0x6e])](_0x4eca32,_0x56ef42),_0x1334c1[_0x485c6d([0x74,0x68,0x65,0x6e])](_0x2fa0f1=>{_0x2fa0f1!=_0x485c6d([0x56,0x61,0x6c,0x69,0x64])&&_0x4eca32(_0x2fa0f1);},_0x56ef42);}):_0x4eaeef||_0x1334c1||_0x485c6d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x31efa8(_0x411c5f,_0x272fd4){return new window[(_0x485c6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x106766=>{if(_0x54b2de())return _0x106766(_0x485c6d([0x56,0x61,0x6c,0x69,0x64]));_0x572778(),_0x2484c5[_0x485c6d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x485c6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x270a16=!0x1;const _0x1bf579=_0x49fe05();function _0x32b698(_0x2551d3){return!!_0x2551d3&&(typeof _0x2551d3===_0x485c6d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2551d3===_0x485c6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2551d3[_0x485c6d([0x74,0x68,0x65,0x6e])]===_0x485c6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2551d3[_0x485c6d([0x63,0x61,0x74,0x63,0x68])]===_0x485c6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4e461d(_0x56d6d9){_0x28e1e0(_0x56d6d9)[_0x485c6d([0x74,0x68,0x65,0x6e])](_0x19630c=>{if(!_0x19630c||_0x19630c[_0x485c6d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x485c6d([0x6f,0x6b]))return _0x485c6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ac287(_0x116f14(_0x1bf579+_0x272fd4))!=_0x19630c[_0x485c6d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x485c6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x485c6d([0x56,0x61,0x6c,0x69,0x64]);})[_0x485c6d([0x74,0x68,0x65,0x6e])](_0x28a403=>(_0x3fcd62(),_0x28a403),()=>{const _0x4b50f9=_0x417b1d();return null==_0x4b50f9?(_0x3fcd62(),_0x485c6d([0x56,0x61,0x6c,0x69,0x64])):_0x485c6d(_0x3e318c-_0x4b50f9>(0x679d1a31^_0x4cf38a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x485c6d([0x74,0x68,0x65,0x6e])](_0x106766)[_0x485c6d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x106766(_0x485c6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x21a758=0x43a770b1^_0x4cf38a;function _0x3fcd62(){const _0x536c30=_0x485c6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ac287(_0x116f14(_0x411c5f)),_0x1bb0fb=_0x1ba28a(_0x2ac287(window[_0x485c6d([0x4d,0x61,0x74,0x68])][_0x485c6d([0x63,0x65,0x69,0x6c])](_0x3e318c/_0x21a758)));window[_0x485c6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x485c6d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x536c30,_0x1bb0fb);}function _0x417b1d(){const _0x2577eb=_0x485c6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ac287(_0x116f14(_0x411c5f)),_0x51c1ff=window[_0x485c6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x485c6d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2577eb);return _0x51c1ff?window[_0x485c6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ba28a(_0x51c1ff),0x10)*_0x21a758:null;}function _0x28e1e0(_0x253c1d){return new window[(_0x485c6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x53b21e,_0x3a6ea8)=>{_0x253c1d[_0x485c6d([0x74,0x68,0x65,0x6e])](_0x53b21e,_0x3a6ea8),window[_0x485c6d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a6ea8,0x43904af1^_0x4cf38a);});}}_0x2484c5[_0x485c6d([0x6f,0x6e])](_0x485c6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc8720c,_0x2a607a)=>{if(_0x2a607a[0x0]!=_0x411c5f)return _0x106766(_0x485c6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a607a[0x1]={..._0x2a607a[0x1],[_0x485c6d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bf579};},{[_0x485c6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x485c6d([0x68,0x69,0x67,0x68])}),_0x2484c5[_0x485c6d([0x6f,0x6e])](_0x485c6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x150a1a=>{_0x32b698(_0x150a1a[_0x485c6d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x270a16=!0x0,_0x4e461d(_0x150a1a[_0x485c6d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x485c6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x485c6d([0x6c,0x6f,0x77])}),_0x4ee396[_0x485c6d([0x74,0x68,0x65,0x6e])](()=>{_0x270a16||_0x106766(_0x485c6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54b2de(){return _0x2484c5[_0x485c6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x485c6d([0x76,0x69,0x65,0x77])][_0x485c6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x485c6d([0x61,0x75,0x74,0x6f]);}function _0x572778(){_0x2484c5[_0x485c6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x485c6d([0x76,0x69,0x65,0x77])][_0x485c6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x485c6d([0x61,0x75,0x74,0x6f]);}}function _0x3532b3(_0x706d6d){const _0x5add79=[new window[(_0x485c6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x592bcf=>setTimeout(_0x592bcf,0x4398a0fd^_0x4cf38a)),_0x4ee396[_0x485c6d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x485c6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58bdd6=>{let _0x5d0f1e=0x0;_0x2484c5[_0x485c6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x485c6d([0x6f,0x6e])](_0x485c6d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a312a,_0x4a44e5)=>{_0x4a44e5[0x0][_0x485c6d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d0f1e++,_0x5d0f1e==(0x43919fc9^_0x4cf38a)&&(_0x58bdd6(),_0x3a312a[_0x485c6d([0x6f,0x66,0x66])]());});}))];return window[_0x485c6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x485c6d([0x72,0x61,0x63,0x65])](_0x5add79)[_0x485c6d([0x74,0x68,0x65,0x6e])](()=>_0x706d6d);}async function _0x1f59a6(){await _0x4ee396,_0x2484c5[_0x485c6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x485c6d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x598ac2,_0x2484c5[_0x485c6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x485c6d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x598ac2,_0x2484c5[_0x485c6d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x485c6d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x77f5c(_0x2c5f67){const _0x59d98b=_0x17a889();_0x2484c5[_0x59d98b]=_0x485c6d([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c5f67,_0x2c5f67!=_0x485c6d([0x56,0x61,0x6c,0x69,0x64])&&_0x1f59a6();}function _0x17a889(){const _0x577ce3=window[_0x485c6d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x485c6d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x485c6d([0x6e,0x6f,0x77])]())[_0x485c6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x485c6d([0x2e]),'');let _0x534089=_0x485c6d([0x49]);for(let _0x44c6df=0x0;_0x44c6df<_0x577ce3[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44c6df+=0x2){let _0x287e0b=window[_0x485c6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x577ce3[_0x485c6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44c6df,_0x44c6df+0x2));_0x287e0b>=_0x28ecaf[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x287e0b-=_0x28ecaf[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x534089+=_0x28ecaf[_0x287e0b];}return _0x534089;}function _0x55311a(){const _0x3055f2=_0x5cabbb[_0x485c6d([0x73,0x70,0x6c,0x69,0x74])](_0x485c6d([0x2e]));if(0x3!=_0x3055f2[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25fd2d(_0x3055f2[0x1]);function _0x25fd2d(_0x419555){const _0x4419f8=_0x4a892d(_0x419555);return _0x4419f8&&_0x1e1ce6()?_0x4419f8:null;function _0x1e1ce6(){const _0xc174a9=_0x4419f8[_0x485c6d([0x6a,0x74,0x69])],_0xa3aa9c=window[_0x485c6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc174a9[_0x485c6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc174a9[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe38bd3={..._0x4419f8,[_0x485c6d([0x6a,0x74,0x69])]:_0xc174a9[_0x485c6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc174a9[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe38bd3[_0x485c6d([0x76,0x63])],_0x116f14(_0xe38bd3)==_0xa3aa9c;}}}async function _0x2edefd(){let _0x5de7b3=!0x0;try{const _0x53268b=_0x5cabbb[_0x485c6d([0x73,0x70,0x6c,0x69,0x74])](_0x485c6d([0x2e])),[_0x585e01,_0x5e2f87,_0x3f49a9]=_0x53268b;return _0x49bf25(_0x585e01),await _0x40d32b(_0x585e01,_0x5e2f87,_0x3f49a9),_0x5de7b3;}catch{return!0x1;}function _0x49bf25(_0x11b035){const _0x149c54=_0x4a892d(_0x11b035);_0x149c54&&_0x149c54[_0x485c6d([0x61,0x6c,0x67])]==_0x485c6d([0x45,0x53,0x32,0x35,0x36])||(_0x5de7b3=!0x1);}async function _0x40d32b(_0x2eca9e,_0x7fe01a,_0x46cc41){const _0x570a24=window[_0x485c6d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x485c6d([0x66,0x72,0x6f,0x6d])](_0x368dfd(_0x46cc41),_0x40f387=>_0x40f387[_0x485c6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6750da=new window[(_0x485c6d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x485c6d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2eca9e+_0x485c6d([0x2e])+_0x7fe01a),_0x12cb1b=window[_0x485c6d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x485c6d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12cb1b)return;const _0x3fdd73=await _0x12cb1b[_0x485c6d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x485c6d([0x6a,0x77,0x6b]),_0x328d8d,{[_0x485c6d([0x6e,0x61,0x6d,0x65])]:_0x485c6d([0x45,0x43,0x44,0x53,0x41]),[_0x485c6d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x485c6d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x485c6d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12cb1b[_0x485c6d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x485c6d([0x6e,0x61,0x6d,0x65])]:_0x485c6d([0x45,0x43,0x44,0x53,0x41]),[_0x485c6d([0x68,0x61,0x73,0x68])]:{[_0x485c6d([0x6e,0x61,0x6d,0x65])]:_0x485c6d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3fdd73,_0x570a24,_0x6750da)||(_0x5de7b3=!0x1);}}function _0x4a892d(_0x19f5a2){return _0x19f5a2[_0x485c6d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x485c6d([0x65,0x79]))?JSON[_0x485c6d([0x70,0x61,0x72,0x73,0x65])](_0x368dfd(_0x19f5a2)):null;}function _0x368dfd(_0x4e019a){return window[_0x485c6d([0x61,0x74,0x6f,0x62])](_0x4e019a[_0x485c6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x485c6d([0x2b]))[_0x485c6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x485c6d([0x2f])));}function _0x116f14(_0x4eaf29){let _0x519c28=0x1505;function _0x5c3b37(_0x1215ef){for(let _0x3a8fc3=0x0;_0x3a8fc3<_0x1215ef[_0x485c6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a8fc3++){const _0x2d90e2=_0x1215ef[_0x485c6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a8fc3);_0x519c28=(_0x519c28<<0x5)+_0x519c28+_0x2d90e2,_0x519c28&=_0x519c28;}}function _0x487513(_0x20a6f0){Array[_0x485c6d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20a6f0)?_0x20a6f0[_0x485c6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x487513):_0x20a6f0&&typeof _0x20a6f0==_0x485c6d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x485c6d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20a6f0)[_0x485c6d([0x73,0x6f,0x72,0x74])]()[_0x485c6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39d22c,_0x435bd1])=>{_0x5c3b37(_0x39d22c),_0x487513(_0x435bd1);}):_0x5c3b37(window[_0x485c6d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20a6f0));}return _0x487513(_0x4eaf29),_0x519c28>>>0x0;}function _0x2ac287(_0x36411b){return _0x36411b[_0x485c6d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x485c6d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x485c6d([0x30]));}function _0x1ba28a(_0x1679d6){return _0x1679d6[_0x485c6d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x485c6d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x485c6d([0x6a,0x6f,0x69,0x6e])]('');}function _0x598ac2(){}function _0x485c6d(_0x3715e1){const _0x127242=_0x49f5;return _0x3715e1[_0x127242(0x1d5)](_0x12f12f=>String[_0x127242(0x1cc)](_0x12f12f))[_0x127242(0x1c0)]('');}_0x77f5c(await _0x38bd64());}(this);}[_0x30b6d7(0x1b6)](){const _0x459b4b=_0x30b6d7,_0x47c090=this[_0x459b4b(0x1ba)];if(!_0x47c090[_0x459b4b(0x1dd)][_0x459b4b(0x1d8)](_0x459b4b(0x1b7)))return;const _0x3d973d=_0x47c090[_0x459b4b(0x1dd)][_0x459b4b(0x1d8)](_0x459b4b(0x1cd))[_0x459b4b(0x1ca)](_0x3342db=>_0x459b4b(0x1ce)==typeof _0x3342db&&(!_0x3c1f50(_0x3342db)&&isNaN(Number(_0x3342db))));if(_0x3d973d[_0x459b4b(0x1d6)])throw new _0x1cc7f3(_0x459b4b(0x1d4),null,{'namedPresets':_0x3d973d});}[_0x30b6d7(0x1c4)](){const _0x3a19c8=_0x30b6d7,_0x53c41f=this[_0x3a19c8(0x1ba)],_0x28f917=this[_0x3a19c8(0x1ba)][_0x3a19c8(0x1dd)][_0x3a19c8(0x1d8)](_0x3a19c8(0x1d0));_0x53c41f[_0x3a19c8(0x1b4)][_0x3a19c8(0x1c6)](_0x3a19c8(0x1c5))[_0x3a19c8(0x1e5)]({'model':{'key':_0x3a19c8(0x1b3)},'view':_0x51a50c=>String(_0x51a50c)===String(_0x28f917)?null:{'key':_0x3a19c8(0x1c2),'value':{'line-height':_0x51a50c}}}),_0x53c41f[_0x3a19c8(0x1b4)][_0x3a19c8(0x1c6)](_0x3a19c8(0x1b9))[_0x3a19c8(0x1e5)]({'model':{'key':_0x3a19c8(0x1b3),'value':_0xed5896=>{const _0xfaea4d=_0x3a19c8;let _0x4b1d73=_0xed5896[_0xfaea4d(0x1cb)](_0xfaea4d(0x1b2));return _0x1d439d(_0x4b1d73)&&(_0x4b1d73=String(Number(_0x4b1d73[_0xfaea4d(0x1c1)](0x0,-0x1))/0x64)),String(_0x4b1d73)===String(_0x28f917)?null:_0x4b1d73;}},'view':{'styles':{'line-height':/.*/}}});}[_0x30b6d7(0x1e6)](){const _0x1c446a=_0x30b6d7,_0x66eca1=this[_0x1c446a(0x1ba)],_0x37c695=this[_0x1c446a(0x1ba)][_0x1c446a(0x1dd)][_0x1c446a(0x1d8)](_0x1c446a(0x1d0)),_0x2aff6c=_0x4e72ab(this[_0x1c446a(0x1ba)][_0x1c446a(0x1dd)][_0x1c446a(0x1d8)](_0x1c446a(0x1b3)))[_0x1c446a(0x1ca)](_0x16e91e=>_0x16e91e[_0x1c446a(0x1e0)]),_0x591aec=_0x35b97b(_0x1c446a(0x1b3),_0x2aff6c);_0x66eca1[_0x1c446a(0x1b4)][_0x1c446a(0x1e5)](_0x591aec),_0x66eca1[_0x1c446a(0x1b4)][_0x1c446a(0x1c6)](_0x1c446a(0x1b9))[_0x1c446a(0x1e5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x1c446a(0x1b3),'value':_0x51a247=>{const _0x1b65db=_0x1c446a;let _0x576e58=_0x51a247[_0x1b65db(0x1cb)](_0x1b65db(0x1b2));return _0x1d439d(_0x576e58)&&(_0x576e58=String(Number(_0x576e58[_0x1b65db(0x1c1)](0x0,-0x1))/0x64)),_0x576e58===String(_0x37c695)?null:_0x591aec[_0x1b65db(0x1e0)][_0x1b65db(0x1d7)][_0x1b65db(0x1c7)](_0x576e58)?_0x576e58:null;}}});}}function _0x2d16(){const _0x5b27ce=['includes','commands','2bxlrKj','filter','getStyle','fromCharCode','lineHeight.options','string','schema','lineHeight.defaultValue','LineHeightEditing','3470960NREjqo','104529kJqINr','line-height-invalid-use-of-named-presets','map','length','values','get','isOfficialPlugin','setAttributeProperties','93400waMGNN','init','config','extend','href','model','4487394drRCYd','afterInit','3208075EDltEC','default','attributeToAttribute','_preparePredefinedConverters','line-height','lineHeight','conversion','$block','_validateConfig','lineHeight.supportAllValues','1600038VmATIi','upcast','editor','add','isPremiumPlugin','pluginName','735171EeGKnK','define','join','slice','style','63YWZydO','_prepareAnyValueConverters','downcast','for'];_0x2d16=function(){return _0x5b27ce;};return _0x2d16();}
|
|
23
|
+
const _0x46fc07=_0x2900;(function(_0xb721cf,_0x1633bd){const _0x29a9ff=_0x2900,_0x2a85f6=_0xb721cf();while(!![]){try{const _0x5c2ece=parseInt(_0x29a9ff(0x8c))/0x1*(-parseInt(_0x29a9ff(0x75))/0x2)+parseInt(_0x29a9ff(0xa2))/0x3*(parseInt(_0x29a9ff(0x8b))/0x4)+parseInt(_0x29a9ff(0x9c))/0x5*(parseInt(_0x29a9ff(0x7d))/0x6)+-parseInt(_0x29a9ff(0x7c))/0x7+parseInt(_0x29a9ff(0x83))/0x8*(-parseInt(_0x29a9ff(0x92))/0x9)+-parseInt(_0x29a9ff(0x8a))/0xa*(parseInt(_0x29a9ff(0x96))/0xb)+parseInt(_0x29a9ff(0x7f))/0xc;if(_0x5c2ece===_0x1633bd)break;else _0x2a85f6['push'](_0x2a85f6['shift']());}catch(_0x361441){_0x2a85f6['push'](_0x2a85f6['shift']());}}}(_0x15c2,0xaf436));import{Plugin as _0x5de5d8}from'ckeditor5/src/core.js';function _0x2900(_0x2c5177,_0x340294){const _0x15c231=_0x15c2();return _0x2900=function(_0x2900a1,_0x2bfd39){_0x2900a1=_0x2900a1-0x74;let _0x40769c=_0x15c231[_0x2900a1];return _0x40769c;},_0x2900(_0x2c5177,_0x340294);}function _0x15c2(){const _0x262ce1=['24399BOmkLB','join','_validateConfig','conversion','filter','isPremiumPlugin','editor','fromCharCode','lineHeight.supportAllValues','lineHeight.options','init','2vDtZOS','_prepareAnyValueConverters','LineHeightEditing','href','length','line-height','default','6812246eyzCmu','6RuoGyG','add','34291056FeMTDG','$block','afterInit','config','40lvdXMi','includes','extend','schema','for','_preparePredefinedConverters','get','170zFoFpt','348KlZchr','13799WjQYZJ','isOfficialPlugin','lineHeight.defaultValue','upcast','downcast','map','2044125bkdQjD','lineHeight','values','style','825451FXKleI','attributeToAttribute','setAttributeProperties','define','model','string','2755090NQhKnE','getStyle','commands','line-height-invalid-use-of-named-presets','pluginName','slice'];_0x15c2=function(){return _0x262ce1;};return _0x15c2();}import{LineHeightCommand as _0x33337f}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x556496}from'ckeditor5/src/engine.js';import{uid as _0x5051ea,CKEditorError as _0x1dd54d}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5a44c9,isLineHeightDefaultValue as _0x4d7780,normalizeOptions as _0x374764}from'./utils.js';export class LineHeightEditing extends _0x5de5d8{static get[_0x46fc07(0xa0)](){const _0x3c5fa8=_0x46fc07;return _0x3c5fa8(0x77);}static get[_0x46fc07(0x8d)](){return!0x0;}static get[_0x46fc07(0xa7)](){return!0x0;}constructor(_0x4abae6){const _0x118c82=_0x46fc07;super(_0x4abae6),_0x4abae6[_0x118c82(0x82)][_0x118c82(0x99)](_0x118c82(0x93),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x118c82(0x7b),0x2,2.5,0x3]});}[_0x46fc07(0x74)](){const _0x55c76a=_0x46fc07,_0x4d5a89=this[_0x55c76a(0xa8)];this[_0x55c76a(0xa4)](),_0x4d5a89[_0x55c76a(0x9a)][_0x55c76a(0x86)][_0x55c76a(0x85)](_0x55c76a(0x80),{'allowAttributes':_0x55c76a(0x93)}),_0x4d5a89[_0x55c76a(0x9a)][_0x55c76a(0x86)][_0x55c76a(0x98)](_0x55c76a(0x93),{'isFormatting':!0x0}),_0x4d5a89[_0x55c76a(0x9e)][_0x55c76a(0x7e)](_0x55c76a(0x93),new _0x33337f(_0x4d5a89)),this[_0x55c76a(0xa8)][_0x55c76a(0x82)][_0x55c76a(0x89)](_0x55c76a(0xaa))?this[_0x55c76a(0x76)]():this[_0x55c76a(0x88)]();}[_0x46fc07(0x81)](){!async function(_0xc8fa0f){const _0x35fa2a=_0xbe11eb([0x63,0x57,0x55,0x35,0x62,0x6e,0x41,0x53,0x64,0x70,0x6c,0x5a,0x72,0x71,0x48,0x59,0x33,0x51,0x66,0x56,0x7a,0x6a,0x47,0x34,0x75,0x4c,0x65,0x45,0x38,0x78,0x73,0x39,0x69,0x42,0x43,0x74,0x61,0x37,0x4d,0x50,0x76,0x77,0x4f,0x31,0x4e,0x49,0x6f,0x54,0x36,0x58,0x44,0x4b,0x79,0x68,0x46,0x4a,0x32,0x6d,0x52,0x6b,0x30,0x67]),_0x3f71b2=0x778c2249,_0x5d27fc=0x778b4e81^_0x3f71b2,_0x308080=window[_0xbe11eb([0x44,0x61,0x74,0x65])][_0xbe11eb([0x6e,0x6f,0x77])](),_0x55856e=_0xc8fa0f[_0xbe11eb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe5c5cd=new window[(_0xbe11eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x551fda=>{_0x55856e[_0xbe11eb([0x6f,0x6e,0x63,0x65])](_0xbe11eb([0x72,0x65,0x61,0x64,0x79]),_0x551fda);}),_0x19d4d0={[_0xbe11eb([0x6b,0x74,0x79])]:_0xbe11eb([0x45,0x43]),[_0xbe11eb([0x75,0x73,0x65])]:_0xbe11eb([0x73,0x69,0x67]),[_0xbe11eb([0x63,0x72,0x76])]:_0xbe11eb([0x50,0x2d,0x32,0x35,0x36]),[_0xbe11eb([0x78])]:_0xbe11eb([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]),[_0xbe11eb([0x79])]:_0xbe11eb([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]),[_0xbe11eb([0x61,0x6c,0x67])]:_0xbe11eb([0x45,0x53,0x32,0x35,0x36])},_0x82f44c=_0x55856e[_0xbe11eb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbe11eb([0x67,0x65,0x74])](_0xbe11eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x141f58(){let _0x12cbe4,_0x102ce9=null,_0x316f5f=null;try{if(_0x82f44c==_0xbe11eb([0x47,0x50,0x4c]))return _0xbe11eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12cbe4=_0x30db5a(),!_0x12cbe4)return _0xbe11eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12cbe4[_0xbe11eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x316f5f=_0x4009d7(_0x12cbe4[_0xbe11eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12cbe4[_0xbe11eb([0x6a,0x74,0x69])])),await _0x5e4f49()?_0x1060aa()?_0xeb8f3e()?_0xbe11eb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a4894()?(_0x12cbe4[_0xbe11eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbe11eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x102ce9=_0x58a089(_0xbe11eb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12cbe4[_0xbe11eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbe11eb([0x74,0x72,0x69,0x61,0x6c])&&(_0x102ce9=_0x58a089(_0xbe11eb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20f4aa()):_0xbe11eb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbe11eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbe11eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xbe11eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xeb8f3e(){const _0x11ba6b=[_0xbe11eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbe11eb([0x74,0x72,0x69,0x61,0x6c])][_0xbe11eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12cbe4[_0xbe11eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x308080/0x3e8:0xe10*_0x5d27fc;return _0x12cbe4[_0xbe11eb([0x65,0x78,0x70])]<_0x11ba6b;}function _0x1060aa(){const _0x3efc94=_0x12cbe4[_0xbe11eb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3efc94&&(!!_0x3efc94[_0xbe11eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe11eb([0x2a]))||!!_0x3efc94[_0xbe11eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe11eb([0x4c,0x48])));}function _0x4a4894(){const _0x381013=_0x2900,_0x569092=_0x12cbe4[_0xbe11eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x569092||0x0==_0x569092[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16e132}=new URL(window[_0xbe11eb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x381013(0x78)]);if(_0x569092[_0xbe11eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16e132))return!0x0;const _0x5b24b2=_0x16e132[_0xbe11eb([0x73,0x70,0x6c,0x69,0x74])](_0xbe11eb([0x2e]));return _0x569092[_0xbe11eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x175f77=>_0x175f77[_0xbe11eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe11eb([0x2a])))[_0xbe11eb([0x6d,0x61,0x70])](_0x158f23=>_0x158f23[_0xbe11eb([0x73,0x70,0x6c,0x69,0x74])](_0xbe11eb([0x2e])))[_0xbe11eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x497e64=>_0x497e64[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b24b2[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbe11eb([0x6d,0x61,0x70])](_0xb10787=>Array(_0x5b24b2[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb10787[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbe11eb([0x66,0x69,0x6c,0x6c])](_0xb10787[0x0]===_0xbe11eb([0x2a])?_0xbe11eb([0x2a]):'')[_0xbe11eb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb10787))[_0xbe11eb([0x73,0x6f,0x6d,0x65])](_0x4e8c57=>_0x5b24b2[_0xbe11eb([0x65,0x76,0x65,0x72,0x79])]((_0x3a2866,_0x270147)=>_0x4e8c57[_0x270147]===_0x3a2866||_0x4e8c57[_0x270147]===_0xbe11eb([0x2a])));}function _0x20f4aa(){return _0x102ce9&&_0x316f5f?new window[(_0xbe11eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22b67b,_0x5f50b4)=>{_0x102ce9[_0xbe11eb([0x74,0x68,0x65,0x6e])](_0x22b67b,_0x5f50b4),_0x316f5f[_0xbe11eb([0x74,0x68,0x65,0x6e])](_0x1b3649=>{_0x1b3649!=_0xbe11eb([0x56,0x61,0x6c,0x69,0x64])&&_0x22b67b(_0x1b3649);},_0x5f50b4);}):_0x102ce9||_0x316f5f||_0xbe11eb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4009d7(_0x377293,_0x1a468f){return new window[(_0xbe11eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27784c=>{if(_0x243514())return _0x27784c(_0xbe11eb([0x56,0x61,0x6c,0x69,0x64]));_0x23b182(),_0x55856e[_0xbe11eb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbe11eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d5e77=!0x1;const _0x4f4514=_0x5051ea();function _0x1e7225(_0x252eef){return!!_0x252eef&&(typeof _0x252eef===_0xbe11eb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x252eef===_0xbe11eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x252eef[_0xbe11eb([0x74,0x68,0x65,0x6e])]===_0xbe11eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x252eef[_0xbe11eb([0x63,0x61,0x74,0x63,0x68])]===_0xbe11eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3836d8(_0x28f504){_0x1694c1(_0x28f504)[_0xbe11eb([0x74,0x68,0x65,0x6e])](_0x3d948e=>{if(!_0x3d948e||_0x3d948e[_0xbe11eb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbe11eb([0x6f,0x6b]))return _0xbe11eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4aacf4(_0x43514d(_0x4f4514+_0x1a468f))!=_0x3d948e[_0xbe11eb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbe11eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbe11eb([0x56,0x61,0x6c,0x69,0x64]);})[_0xbe11eb([0x74,0x68,0x65,0x6e])](_0x43d706=>(_0x2c9308(),_0x43d706),()=>{const _0x42dc76=_0x4bdbe6();return null==_0x42dc76?(_0x2c9308(),_0xbe11eb([0x56,0x61,0x6c,0x69,0x64])):_0xbe11eb(_0x308080-_0x42dc76>(0x5380a649^_0x3f71b2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbe11eb([0x74,0x68,0x65,0x6e])](_0x27784c)[_0xbe11eb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27784c(_0xbe11eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2832db=0x77baccc9^_0x3f71b2;function _0x2c9308(){const _0x103f9b=_0xbe11eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x4aacf4(_0x43514d(_0x377293)),_0x108541=_0x151991(_0x4aacf4(window[_0xbe11eb([0x4d,0x61,0x74,0x68])][_0xbe11eb([0x63,0x65,0x69,0x6c])](_0x308080/_0x2832db)));window[_0xbe11eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbe11eb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x103f9b,_0x108541);}function _0x4bdbe6(){const _0x5317d8=_0xbe11eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x4aacf4(_0x43514d(_0x377293)),_0x9b9e42=window[_0xbe11eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbe11eb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5317d8);return _0x9b9e42?window[_0xbe11eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x151991(_0x9b9e42),0x10)*_0x2832db:null;}function _0x1694c1(_0x4282bb){return new window[(_0xbe11eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41577c,_0x1f3f33)=>{_0x4282bb[_0xbe11eb([0x74,0x68,0x65,0x6e])](_0x41577c,_0x1f3f33),window[_0xbe11eb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f3f33,0x778df689^_0x3f71b2);});}}_0x55856e[_0xbe11eb([0x6f,0x6e])](_0xbe11eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c0ae3,_0x643205)=>{if(_0x643205[0x0]!=_0x377293)return _0x27784c(_0xbe11eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x643205[0x1]={..._0x643205[0x1],[_0xbe11eb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4f4514};},{[_0xbe11eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbe11eb([0x68,0x69,0x67,0x68])}),_0x55856e[_0xbe11eb([0x6f,0x6e])](_0xbe11eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xad0add=>{_0x1e7225(_0xad0add[_0xbe11eb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d5e77=!0x0,_0x3836d8(_0xad0add[_0xbe11eb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbe11eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbe11eb([0x6c,0x6f,0x77])}),_0xe5c5cd[_0xbe11eb([0x74,0x68,0x65,0x6e])](()=>{_0x1d5e77||_0x27784c(_0xbe11eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x243514(){return _0x55856e[_0xbe11eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbe11eb([0x76,0x69,0x65,0x77])][_0xbe11eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbe11eb([0x61,0x75,0x74,0x6f]);}function _0x23b182(){_0x55856e[_0xbe11eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbe11eb([0x76,0x69,0x65,0x77])][_0xbe11eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbe11eb([0x61,0x75,0x74,0x6f]);}}function _0x58a089(_0x3e1473){const _0x55f3b7=[new window[(_0xbe11eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57549a=>setTimeout(_0x57549a,0x77851c85^_0x3f71b2)),_0xe5c5cd[_0xbe11eb([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbe11eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b6de=>{let _0x4d0019=0x0;_0x55856e[_0xbe11eb([0x6d,0x6f,0x64,0x65,0x6c])][_0xbe11eb([0x6f,0x6e])](_0xbe11eb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc50b9,_0x5d3e86)=>{_0x5d3e86[0x0][_0xbe11eb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d0019++,_0x4d0019==(0x778c23b1^_0x3f71b2)&&(_0x57b6de(),_0xc50b9[_0xbe11eb([0x6f,0x66,0x66])]());});}))];return window[_0xbe11eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbe11eb([0x72,0x61,0x63,0x65])](_0x55f3b7)[_0xbe11eb([0x74,0x68,0x65,0x6e])](()=>_0x3e1473);}async function _0x20b43c(){await _0xe5c5cd,_0x55856e[_0xbe11eb([0x6d,0x6f,0x64,0x65,0x6c])][_0xbe11eb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42479e,_0x55856e[_0xbe11eb([0x6d,0x6f,0x64,0x65,0x6c])][_0xbe11eb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42479e,_0x55856e[_0xbe11eb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbe11eb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36b435(_0x4be95e){const _0xcbdd4b=_0x5cae8e();_0x55856e[_0xcbdd4b]=_0xbe11eb([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4be95e,_0x4be95e!=_0xbe11eb([0x56,0x61,0x6c,0x69,0x64])&&_0x20b43c();}function _0x5cae8e(){const _0x19f266=window[_0xbe11eb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbe11eb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbe11eb([0x6e,0x6f,0x77])]())[_0xbe11eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbe11eb([0x2e]),'');let _0x386afe=_0xbe11eb([0x63]);for(let _0x4cdae0=0x0;_0x4cdae0<_0x19f266[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cdae0+=0x2){let _0x45f2b7=window[_0xbe11eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19f266[_0xbe11eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cdae0,_0x4cdae0+0x2));_0x45f2b7>=_0x35fa2a[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45f2b7-=_0x35fa2a[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x386afe+=_0x35fa2a[_0x45f2b7];}return _0x386afe;}function _0x30db5a(){const _0x13b6df=_0x82f44c[_0xbe11eb([0x73,0x70,0x6c,0x69,0x74])](_0xbe11eb([0x2e]));if(0x3!=_0x13b6df[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x200b0b(_0x13b6df[0x1]);function _0x200b0b(_0x33c60e){const _0x430aa8=_0x5c353b(_0x33c60e);return _0x430aa8&&_0xbba6ca()?_0x430aa8:null;function _0xbba6ca(){const _0x29da60=_0x430aa8[_0xbe11eb([0x6a,0x74,0x69])],_0x2d01eb=window[_0xbe11eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29da60[_0xbe11eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29da60[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x27af3b={..._0x430aa8,[_0xbe11eb([0x6a,0x74,0x69])]:_0x29da60[_0xbe11eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29da60[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x27af3b[_0xbe11eb([0x76,0x63])],_0x43514d(_0x27af3b)==_0x2d01eb;}}}async function _0x5e4f49(){let _0x4dfd00=!0x0;try{const _0x354961=_0x82f44c[_0xbe11eb([0x73,0x70,0x6c,0x69,0x74])](_0xbe11eb([0x2e])),[_0x387b85,_0x2e6cfa,_0x1f7ac9]=_0x354961;return _0x2b4663(_0x387b85),await _0x37e409(_0x387b85,_0x2e6cfa,_0x1f7ac9),_0x4dfd00;}catch{return!0x1;}function _0x2b4663(_0xce98fb){const _0x188aa1=_0x5c353b(_0xce98fb);_0x188aa1&&_0x188aa1[_0xbe11eb([0x61,0x6c,0x67])]==_0xbe11eb([0x45,0x53,0x32,0x35,0x36])||(_0x4dfd00=!0x1);}async function _0x37e409(_0x259fe3,_0x29b18f,_0x220a33){const _0x3d0219=window[_0xbe11eb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbe11eb([0x66,0x72,0x6f,0x6d])](_0x3f49e4(_0x220a33),_0x5af59e=>_0x5af59e[_0xbe11eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f9d21=new window[(_0xbe11eb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbe11eb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x259fe3+_0xbe11eb([0x2e])+_0x29b18f),_0x124403=window[_0xbe11eb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbe11eb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x124403)return;const _0x53655b=await _0x124403[_0xbe11eb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbe11eb([0x6a,0x77,0x6b]),_0x19d4d0,{[_0xbe11eb([0x6e,0x61,0x6d,0x65])]:_0xbe11eb([0x45,0x43,0x44,0x53,0x41]),[_0xbe11eb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbe11eb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbe11eb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x124403[_0xbe11eb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbe11eb([0x6e,0x61,0x6d,0x65])]:_0xbe11eb([0x45,0x43,0x44,0x53,0x41]),[_0xbe11eb([0x68,0x61,0x73,0x68])]:{[_0xbe11eb([0x6e,0x61,0x6d,0x65])]:_0xbe11eb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x53655b,_0x3d0219,_0x2f9d21)||(_0x4dfd00=!0x1);}}function _0x5c353b(_0x268f06){return _0x268f06[_0xbe11eb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbe11eb([0x65,0x79]))?JSON[_0xbe11eb([0x70,0x61,0x72,0x73,0x65])](_0x3f49e4(_0x268f06)):null;}function _0x3f49e4(_0x1ba439){return window[_0xbe11eb([0x61,0x74,0x6f,0x62])](_0x1ba439[_0xbe11eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbe11eb([0x2b]))[_0xbe11eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbe11eb([0x2f])));}function _0x43514d(_0x3c3512){let _0x16608e=0x1505;function _0x1255c2(_0x216d79){for(let _0x106dcf=0x0;_0x106dcf<_0x216d79[_0xbe11eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x106dcf++){const _0xe8795f=_0x216d79[_0xbe11eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x106dcf);_0x16608e=(_0x16608e<<0x5)+_0x16608e+_0xe8795f,_0x16608e&=_0x16608e;}}function _0x14f40a(_0x35de81){Array[_0xbe11eb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35de81)?_0x35de81[_0xbe11eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14f40a):_0x35de81&&typeof _0x35de81==_0xbe11eb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbe11eb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35de81)[_0xbe11eb([0x73,0x6f,0x72,0x74])]()[_0xbe11eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x406c1c,_0x146adc])=>{_0x1255c2(_0x406c1c),_0x14f40a(_0x146adc);}):_0x1255c2(window[_0xbe11eb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35de81));}return _0x14f40a(_0x3c3512),_0x16608e>>>0x0;}function _0x4aacf4(_0x4c8726){return _0x4c8726[_0xbe11eb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbe11eb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbe11eb([0x30]));}function _0x151991(_0x251271){return _0x251271[_0xbe11eb([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbe11eb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbe11eb([0x6a,0x6f,0x69,0x6e])]('');}function _0x42479e(){}function _0xbe11eb(_0x137280){const _0x4f3d6e=_0x2900;return _0x137280[_0x4f3d6e(0x91)](_0x131ea0=>String[_0x4f3d6e(0xa9)](_0x131ea0))[_0x4f3d6e(0xa3)]('');}_0x36b435(await _0x141f58());}(this);}[_0x46fc07(0xa4)](){const _0x4cf826=_0x46fc07,_0x1058d9=this[_0x4cf826(0xa8)];if(!_0x1058d9[_0x4cf826(0x82)][_0x4cf826(0x89)](_0x4cf826(0xaa)))return;const _0x1b8395=_0x1058d9[_0x4cf826(0x82)][_0x4cf826(0x89)](_0x4cf826(0xab))[_0x4cf826(0xa6)](_0x749dcd=>_0x4cf826(0x9b)==typeof _0x749dcd&&(!_0x4d7780(_0x749dcd)&&isNaN(Number(_0x749dcd))));if(_0x1b8395[_0x4cf826(0x79)])throw new _0x1dd54d(_0x4cf826(0x9f),null,{'namedPresets':_0x1b8395});}[_0x46fc07(0x76)](){const _0x2ca2c7=_0x46fc07,_0x27e74b=this[_0x2ca2c7(0xa8)],_0x291042=this[_0x2ca2c7(0xa8)][_0x2ca2c7(0x82)][_0x2ca2c7(0x89)](_0x2ca2c7(0x8e));_0x27e74b[_0x2ca2c7(0xa5)][_0x2ca2c7(0x87)](_0x2ca2c7(0x90))[_0x2ca2c7(0x97)]({'model':{'key':_0x2ca2c7(0x93)},'view':_0x26c76b=>String(_0x26c76b)===String(_0x291042)?null:{'key':_0x2ca2c7(0x95),'value':{'line-height':_0x26c76b}}}),_0x27e74b[_0x2ca2c7(0xa5)][_0x2ca2c7(0x87)](_0x2ca2c7(0x8f))[_0x2ca2c7(0x97)]({'model':{'key':_0x2ca2c7(0x93),'value':_0x2c1ec7=>{const _0x1ab9ae=_0x2ca2c7;let _0x4cd570=_0x2c1ec7[_0x1ab9ae(0x9d)](_0x1ab9ae(0x7a));return _0x556496(_0x4cd570)&&(_0x4cd570=String(Number(_0x4cd570[_0x1ab9ae(0xa1)](0x0,-0x1))/0x64)),String(_0x4cd570)===String(_0x291042)?null:_0x4cd570;}},'view':{'styles':{'line-height':/.*/}}});}[_0x46fc07(0x88)](){const _0x341b01=_0x46fc07,_0x1a054d=this[_0x341b01(0xa8)],_0x30240c=this[_0x341b01(0xa8)][_0x341b01(0x82)][_0x341b01(0x89)](_0x341b01(0x8e)),_0x2ad579=_0x374764(this[_0x341b01(0xa8)][_0x341b01(0x82)][_0x341b01(0x89)](_0x341b01(0x93)))[_0x341b01(0xa6)](_0x5df7c7=>_0x5df7c7[_0x341b01(0x9a)]),_0x24a852=_0x5a44c9(_0x341b01(0x93),_0x2ad579);_0x1a054d[_0x341b01(0xa5)][_0x341b01(0x97)](_0x24a852),_0x1a054d[_0x341b01(0xa5)][_0x341b01(0x87)](_0x341b01(0x8f))[_0x341b01(0x97)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x341b01(0x93),'value':_0x2aa0e2=>{const _0x3152ab=_0x341b01;let _0x1e00f2=_0x2aa0e2[_0x3152ab(0x9d)](_0x3152ab(0x7a));return _0x556496(_0x1e00f2)&&(_0x1e00f2=String(Number(_0x1e00f2[_0x3152ab(0xa1)](0x0,-0x1))/0x64)),_0x1e00f2===String(_0x30240c)?null:_0x24a852[_0x3152ab(0x9a)][_0x3152ab(0x94)][_0x3152ab(0x84)](_0x1e00f2)?_0x1e00f2:null;}}});}}
|