@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250707.0 → 0.0.1

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/LICENSE.md CHANGED
@@ -1,18 +1,18 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor&nbsp;5 Line height feature** (https://ckeditor.com/ckeditor-5/)<br>
4
+ **CKEditor 5 Line height feature** https://github.com/ckeditor/ckeditor5 <br>
5
5
  Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- CKEditor&nbsp;5 Line height feature is licensed under a commercial license and is protected by copyright law.
7
+ CKEditor 5 Line height feature is licensed under a commercial license and is protected by copyright law.
8
8
  For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
9
9
 
10
- Sources of Intellectual Property Included in CKEditor&nbsp;5 Line height feature
11
- --------------------------------------------------------------------------------
10
+ Sources of Intellectual Property Included in CKEditor
11
+ -----------------------------------------------------
12
12
 
13
- Where not otherwise indicated, all CKEditor&nbsp;5 Line height feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
13
+ Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
14
14
 
15
15
  Trademarks
16
16
  ----------
17
17
 
18
- **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
18
+ **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com). All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
package/README.md CHANGED
@@ -1,45 +1,4 @@
1
- CKEditor 5 line height feature
2
- ===========================
1
+ CKEditor 5 Line height
2
+ ======================
3
3
 
4
- [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-line-height.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-line-height)
5
-
6
- This package contains the Line height feature for CKEditor&nbsp;5. It lets you adjust the vertical spacing between lines of text, controlling how tightly or loosely text is packed within paragraphs.
7
-
8
- This is a premium feature. Sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free), or see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing) for more information.
9
-
10
- ## Installation
11
-
12
- This plugin is part of the `ckeditor5-premium-features` package. Install the whole package to use it.
13
-
14
- ```bash
15
- npm install ckeditor5-premium-features
16
- ```
17
-
18
- ## Create free account
19
-
20
- If you want to check full CKEditor&nbsp;5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free).
21
-
22
- ## Demo
23
-
24
- Check out the demo in the [line height feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/line-height.html#demo).
25
-
26
- ## Documentation
27
-
28
- See the [`@ckeditor/ckeditor5-line-height` package](https://ckeditor.com/docs/ckeditor5/latest/api/line-height.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
29
-
30
- ## Getting support
31
-
32
- The CKEditor&nbsp;5 Line height feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers, and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating the CKEditor&nbsp;5 Line height feature with your application.
33
-
34
- As a licensed CKEditor&nbsp;5 Line height feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
35
-
36
- ## License
37
-
38
- **CKEditor&nbsp;5 Line height feature** (https://ckeditor.com/ckeditor-5/)<br>
39
- Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
40
-
41
- CKEditor&nbsp;5 Line height feature is licensed under a commercial license and is protected by copyright law. For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
42
-
43
- ### Trademarks
44
-
45
- **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
4
+ This is an initial package for development purposes. It does not contain code yet.
package/package.json CHANGED
@@ -1,66 +1,14 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-line-height",
3
- "version": "0.0.0-nightly-20250707.0",
4
- "description": "Line height feature for CKEditor 5.",
3
+ "version": "0.0.1",
5
4
  "keywords": [
6
5
  "ckeditor",
7
6
  "ckeditor5",
8
7
  "ckeditor 5",
9
- "ckeditor5-feature",
10
- "ckeditor5-plugin",
11
- "ckeditor5-dll"
8
+ "ckeditor5-lib"
12
9
  ],
13
- "type": "module",
14
- "main": "src/index.js",
15
- "dependencies": {
16
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250707.0",
17
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250707.0",
18
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250707.0",
19
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250707.0",
20
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250707.0",
21
- "ckeditor5": "0.0.0-nightly-20250707.0"
22
- },
23
- "license": "SEE LICENSE IN LICENSE.md",
24
- "author": "CKSource (https://cksource.com/)",
10
+ "author": "CKSource (http://cksource.com/)",
11
+ "license": "GPL-2.0-or-later",
25
12
  "homepage": "https://ckeditor.com/ckeditor-5",
26
- "bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
27
- "files": [
28
- "dist",
29
- "lang",
30
- "src/**/*.js",
31
- "src/**/*.d.ts",
32
- "theme",
33
- "build",
34
- "ckeditor5-metadata.json",
35
- "CHANGELOG.md"
36
- ],
37
- "sideEffects": [
38
- "*.css",
39
- "build/**/*.js",
40
- "dist/translations/*.umd.js"
41
- ],
42
- "types": "src/index.d.ts",
43
- "exports": {
44
- ".": {
45
- "types": "./src/index.d.ts",
46
- "import": "./src/index.js",
47
- "default": "./src/index.js"
48
- },
49
- "./dist/*": {
50
- "types": "./src/index.d.ts",
51
- "import": "./dist/*",
52
- "default": "./dist/*"
53
- },
54
- "./src/*": {
55
- "types": "./src/*.d.ts",
56
- "import": "./src/*",
57
- "default": "./src/*"
58
- },
59
- "./build/*": "./build/*",
60
- "./lang/*": "./lang/*",
61
- "./theme/*": "./theme/*",
62
- "./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
63
- "./package.json": "./package.json"
64
- },
65
- "obfuscated": true
13
+ "bugs": "https://github.com/ckeditor/ckeditor5/issues"
66
14
  }
package/CHANGELOG.md DELETED
@@ -1,4 +0,0 @@
1
- Changelog
2
- =========
3
-
4
- All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
@@ -1,4 +0,0 @@
1
- /*!
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md.
4
- */(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>K,LineHeightCommand:()=>a,LineHeightEditing:()=>v,LineHeightUI:()=>P});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=264]})(e,t)}function s(){const e=["895816UkJRVD","isEnabled","editor","removeAttribute","231159MiUxeu","2321vxJiAu","3607974yEAIOB","selection","refresh","from","155795RwZyah","checkAttribute","change","9072165tgfUTy","_canHaveLineHeight","57435zCHPaL","setAttribute","536oFoenN","document","6meNnSy","getSelectedBlocks","schema","16ObBGJG","value","lineHeight","model","130670fUZPJW","execute","getAttribute","filter"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(919832===parseInt(t(272))/1+parseInt(t(292))/2+parseInt(t(266))/3*(parseInt(t(284))/4)+-parseInt(t(275))/5*(-parseInt(t(281))/6)+parseInt(t(277))/7*(parseInt(t(279))/8)+parseInt(t(268))/9+-parseInt(t(288))/10*(parseInt(t(267))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(270)](){const e=r,n=this[e(264)][e(287)][e(280)],i=(0,t.first)(n[e(269)][e(282)]());this[e(293)]=Boolean(i)&&this[e(276)](i),this[e(285)]=this[e(293)]&&i[e(290)](e(286))}[r(289)](e={}){const t=r,n=this[t(264)][t(287)],i=n[t(280)][t(269)],o=e[t(285)];n[t(274)](e=>{const n=t,r=Array[n(271)](i[n(282)]())[n(291)](e=>this[n(276)](e));for(const t of r)o?e[n(278)](n(286),o,t):e[n(265)](n(286),t)})}[r(276)](e){const t=r;return this[t(264)][t(287)][t(283)][t(273)](e,t(286))}}var c=n(783);function l(){const e=["defaultValue","view","11098971eDkHrt","style","618394rzJOhU","values","132cYTvRe","20370867civlci","default","key","5935296vyHCfC","10MrXzkA","Single","12sZjNeM","number","double","class","single","filter","20PVcCze","5721045LniIdv","options","push","line-height:","toLowerCase","value","79830pHKGoP","line-height-single","model","line-height-double","string","span","Double","map","110082CleDWJ"];return(l=function(){return e})()}!function(e){const t=h,n=e();for(;;)try{if(678157===parseInt(t(180))/1*(parseInt(t(187))/2)+-parseInt(t(195))/3*(parseInt(t(167))/4)+parseInt(t(181))/5+parseInt(t(174))/6*(-parseInt(t(200))/7)+parseInt(t(171))/8+parseInt(t(198))/9+-parseInt(t(172))/10*(parseInt(t(168))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=h;return{title:e(173),model:e(178),view:{key:e(177),value:e(188)}}},get double(){const e=h;return{title:e(193),model:e(176),view:{key:e(177),value:e(190)}}}};function d(e){const t=h;return t(191)==typeof e&&t(169)===e[t(185)]()}function h(e,t){const n=l();return(h=function(e,t){return n[e-=166]})(e,t)}function f(e){const t=h;return e[t(182)][t(194)](n=>d(n)?{title:String(e[t(196)]),model:t(169)}:(t(175)==typeof n&&(n=String(n)),t(191)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(192),styles:{"line-height":n}}}:function(e){const t=h;return t(191)==typeof e?u[e]:u[e[t(189)]]}(n)))[t(179)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=441]})(e,t)}function m(){const e=["downcast","160431jfUJHc","values","init","69959uAfsIF","href","style","isPremiumPlugin","model","_preparePredefinedConverters","extend","lineHeight","lineHeight.defaultValue","lineHeight.supportAllValues","839208GRFjQC","upcast","schema","afterInit","commands","get","1464CnFAxD","7348104lQlSGe","define","fromCharCode","setAttributeProperties","11IQMidL","10QhENft","isOfficialPlugin","map","1767980wqPAJs","join","conversion","$block","getStyle","pluginName","6qoegOZ","12131jjVonx","length","add","config","default","slice","8OOOnOx","attributeToAttribute","_validateConfig","lineHeight.options","_prepareAnyValueConverters","LineHeightEditing","1279413sBAENm","editor","includes","for","line-height","line-height-invalid-use-of-named-presets","string","filter"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(237495===parseInt(t(488))/1*(-parseInt(t(463))/2)+parseInt(t(485))/3*(parseInt(t(470))/4)+parseInt(t(457))/5+parseInt(t(442))/6+parseInt(t(464))/7*(parseInt(t(448))/8)+parseInt(t(476))/9*(parseInt(t(454))/10)+-parseInt(t(453))/11*(parseInt(t(449))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class v extends e.Plugin{static get[p(462)](){return p(475)}static get[p(455)](){return!0}static get[p(491)](){return!0}constructor(e){const t=p;super(e),e[t(467)][t(450)](t(495),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(468),2,2.5,3]})}[p(487)](){const e=p,t=this[e(477)];this[e(472)](),t[e(492)][e(444)][e(494)](e(460),{allowAttributes:e(495)}),t[e(492)][e(444)][e(452)](e(495),{isFormatting:!0}),t[e(446)][e(466)](e(495),new a(t)),this[e(477)][e(467)][e(447)](e(441))?this[e(474)]():this[e(493)]()}[p(445)](){!async function(e){const n=m([105,48,117,115,81,108,121,83,65,52,112,56,100,50,57,79,106,101,116,88,90,87,66,55,74,54,68,104,113,67,82,102,99,98,97,103,109,122,119,114,75,49,76,118,71,85,78,110,86,107,72,111,69,120,70,51,73,84,77,80,53,89]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(456)](e=>String[t(451)](e))[t(458)]("")}!function(e){const t=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let t=m([105]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(u+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(l=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751846400;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(489)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(472)](){const e=p,n=this[e(477)];if(!n[e(467)][e(447)](e(441)))return;const i=n[e(467)][e(447)](e(473))[e(483)](t=>e(482)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(465)])throw new t.CKEditorError(e(481),null,{namedPresets:i})}[p(474)](){const e=p,t=this[e(477)],n=this[e(477)][e(467)][e(447)](e(496));t[e(459)][e(479)](e(484))[e(471)]({model:{key:e(495)},view:t=>String(t)===String(n)?null:{key:e(490),value:{"line-height":t}}}),t[e(459)][e(479)](e(443))[e(471)]({model:{key:e(495),value:t=>{const i=e;let r=t[i(461)](i(480));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(469)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(493)](){const e=p,t=this[e(477)],n=this[e(477)][e(467)][e(447)](e(496)),i=f(this[e(477)][e(467)][e(447)](e(495)))[e(483)](t=>t[e(492)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(177)===e[n(197)]?.[n(170)]?(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(177),value:e[n(197)][n(186)]}):(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(199),value:n(184)+e[n(189)]+";"});return i}(e(495),i);t[e(459)][e(471)](r),t[e(459)][e(479)](e(443))[e(471)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(495),value:t=>{const i=e;let o=t[i(461)](i(480));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(469)](0,-1))/100)),o===String(n)?null:r[i(492)][i(486)][i(478)](o)?o:null}}})}}var w=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),O=n(262),_=n.n(O),C=n(667),E=n.n(C),x=n(357),k=n.n(x),A=n(422),S={attributes:{"data-cke":!0}};S.setAttributes=E(),S.insert=_().bind(null,"head"),S.domAPI=H(),S.insertStyleElement=k();b()(A.A,S);A.A&&A.A.locals&&A.A.locals;class P extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new w.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new w.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,w.createDropdown)(r);return(0,w.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new w.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new w.MenuBarMenuListView(r);for(const e of t){const t=new w.MenuBarMenuListItemView(r,o),i=new w.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var V=N;function N(e,t){var n=T();return(N=function(e,t){return n[e-=159]})(e,t)}!function(e){for(var t=N,n=e();;)try{if(432645===parseInt(t(159))/1+parseInt(t(171))/2+-parseInt(t(167))/3*(parseInt(t(161))/4)+parseInt(t(172))/5*(-parseInt(t(169))/6)+parseInt(t(163))/7+parseInt(t(164))/8+parseInt(t(168))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class K extends e.Plugin{static get[V(160)](){return[v,P]}static get[V(170)](){return V(165)}static get[V(166)](){return!0}static get[V(162)](){return!0}}function T(){var e=["LineHeight","isOfficialPlugin","78723aTnVsc","937566GJNlCE","212622ftEnvS","pluginName","9168wFJfux","20SeWdKN","686598VgWGwx","requires","92KCaPIk","isPremiumPlugin","1890833EcfMyo","899688hNaOjj"];return(T=function(){return e})()}function M(e,t){var n=j();return(M=function(e,t){return n[e-=330]})(e,t)}function j(){var e=["898798WVlDjE","8697205ierKLA","830295TyYVtr","9913480xybtJr","9873rQoOWk","1RzfgCb","48DlRbyA","8srvkUB","60rcvbQJ","2909354wZEhYf","5751405RDPRmL"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(833727===-parseInt(t(337))/1*(-parseInt(t(332))/2)+-parseInt(t(336))/3*(-parseInt(t(338))/4)+parseInt(t(334))/5*(-parseInt(t(340))/6)+-parseInt(t(330))/7*(parseInt(t(339))/8)+parseInt(t(331))/9+parseInt(t(335))/10+parseInt(t(333))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
@@ -1,18 +0,0 @@
1
- {
2
- "plugins": [
3
- {
4
- "name": "Line height",
5
- "className": "LineHeight",
6
- "description": "Allows setting line height for text.",
7
- "docs": "features/line-height.html",
8
- "path": "src/lineheight.js",
9
- "uiComponents": [
10
- {
11
- "name": "lineHeight",
12
- "type": "SplitButton",
13
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/line-height.svg"
14
- }
15
- ]
16
- }
17
- ]
18
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- .ck-content .line-height-single{
6
- line-height:1;
7
- }
8
-
9
- .ck-content .line-height-double{
10
- line-height:2;
11
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
package/dist/index.css DELETED
@@ -1,20 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /*
6
- * What you're currently looking at is the source code of a legally protected, proprietary software.
7
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
8
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
9
- *
10
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
11
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
12
- */
13
-
14
- .ck-content .line-height-single {
15
- line-height: 1;
16
- }
17
-
18
- .ck-content .line-height-double {
19
- line-height: 2;
20
- }
package/dist/index.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- import{Command as _0x4a2c0b,Plugin as _0x685d0c}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1f30b6,CKEditorError as _0x4ad44d,uid as _0xd6426d,Collection as _0xa94018}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1bfe1f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x152312,createDropdown as _0x49d52e,addListToDropdown as _0x2081be,MenuBarMenuView as _0x5ea6ab,MenuBarMenuListView as _0x4d51bc,MenuBarMenuListItemView as _0x1a4d39,MenuBarMenuListItemButtonView as _0x15deba}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x36f6da}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x4a2c0b{['refresh'](){const _0x7fc934=this['editor']['model']['document'],_0x2f09e7=_0x1f30b6(_0x7fc934['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2f09e7)&&this['_canHaveLineHeight'](_0x2f09e7),this['value']=this['isEnabled']&&_0x2f09e7['getAttribute']('lineHeight');}['execute'](_0x2c00bf={}){const _0x1fc55c=this['editor']['model'],_0x107fa5=_0x1fc55c['document']['selection'],_0x5a3e96=_0x2c00bf['value'];_0x1fc55c['change'](_0x59a2cd=>{const _0x1f6b36=Array['from'](_0x107fa5['getSelectedBlocks']())['filter'](_0x41237f=>this['_canHaveLineHeight'](_0x41237f));for(const _0x3dd4da of _0x1f6b36)_0x5a3e96?_0x59a2cd['setAttribute']('lineHeight',_0x5a3e96,_0x3dd4da):_0x59a2cd['removeAttribute']('lineHeight',_0x3dd4da);});}['_canHaveLineHeight'](_0x194972){return this['editor']['model']['schema']['checkAttribute'](_0x194972,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x3554d8){return'string'==typeof _0x3554d8&&'default'===_0x3554d8['toLowerCase']();}function a(_0x1e3486){return _0x1e3486['options']['map'](_0x4f64c0=>{return f(_0x4f64c0)?{'title':String(_0x1e3486['defaultValue']),'model':'default'}:('number'==typeof _0x4f64c0&&(_0x4f64c0=String(_0x4f64c0)),'string'!=typeof _0x4f64c0?_0x4f64c0:parseFloat(_0x4f64c0)?{'title':_0x4f64c0,'model':_0x4f64c0,'view':{'name':'span','styles':{'line-height':_0x4f64c0}}}:'string'==typeof(_0x284113=_0x4f64c0)?v[_0x284113]:v[_0x284113['model']]);var _0x284113;})['filter'](_0x2d2dbc=>void 0x0!==_0x2d2dbc);}class e extends _0x685d0c{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e0eff){super(_0x5e0eff),_0x5e0eff['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1218ea=this['editor'];this['_validateConfig'](),_0x1218ea['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1218ea['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1218ea['commands']['add']('lineHeight',new n(_0x1218ea)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2fd0ae){const _0x3017cc=_0x2445c3([0x69,0x30,0x75,0x73,0x51,0x6c,0x79,0x53,0x41,0x34,0x70,0x38,0x64,0x32,0x39,0x4f,0x6a,0x65,0x74,0x58,0x5a,0x57,0x42,0x37,0x4a,0x36,0x44,0x68,0x71,0x43,0x52,0x66,0x63,0x62,0x61,0x67,0x6d,0x7a,0x77,0x72,0x4b,0x31,0x4c,0x76,0x47,0x55,0x4e,0x6e,0x56,0x6b,0x48,0x6f,0x45,0x78,0x46,0x33,0x49,0x54,0x4d,0x50,0x35,0x59]),_0x4f0609=0x7ba26401,_0x1422a8=0x7ba508e1^_0x4f0609,_0x3e34d8=window[_0x2445c3([0x44,0x61,0x74,0x65])][_0x2445c3([0x6e,0x6f,0x77])](),_0x73f31d=_0x2fd0ae[_0x2445c3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfefd9b=new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bd2bc=>{_0x73f31d[_0x2445c3([0x6f,0x6e,0x63,0x65])](_0x2445c3([0x72,0x65,0x61,0x64,0x79]),_0x5bd2bc);}),_0x1ff4a1={[_0x2445c3([0x6b,0x74,0x79])]:_0x2445c3([0x45,0x43]),[_0x2445c3([0x75,0x73,0x65])]:_0x2445c3([0x73,0x69,0x67]),[_0x2445c3([0x63,0x72,0x76])]:_0x2445c3([0x50,0x2d,0x32,0x35,0x36]),[_0x2445c3([0x78])]:_0x2445c3([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2445c3([0x79])]:_0x2445c3([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2445c3([0x61,0x6c,0x67])]:_0x2445c3([0x45,0x53,0x32,0x35,0x36])},_0x3c72e2=_0x73f31d[_0x2445c3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2445c3([0x67,0x65,0x74])](_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b5cd8(){let _0x2a4ce0,_0x1b13ad=null,_0x540cd9=null;try{if(_0x3c72e2==_0x2445c3([0x47,0x50,0x4c]))return _0x2445c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a4ce0=_0x33c00c(),!_0x2a4ce0)return _0x2445c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a4ce0[_0x2445c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x540cd9=_0x1a875e(_0x2a4ce0[_0x2445c3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a4ce0[_0x2445c3([0x6a,0x74,0x69])])),await _0x36a0dd()?_0x28abfb()?_0x48aed7()?_0x2445c3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29e424()?(_0x2a4ce0[_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2445c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b13ad=_0x38615d(_0x2445c3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a4ce0[_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2445c3([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b13ad=_0x38615d(_0x2445c3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcfb5da()):_0x2445c3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2445c3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2445c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2445c3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48aed7(){const _0x20a7d0=[_0x2445c3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2445c3([0x74,0x72,0x69,0x61,0x6c])][_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a4ce0[_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e34d8/0x3e8:0xe10*_0x1422a8;return _0x2a4ce0[_0x2445c3([0x65,0x78,0x70])]<_0x20a7d0;}function _0x28abfb(){const _0x124502=_0x2a4ce0[_0x2445c3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x124502&&(!!_0x124502[_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2445c3([0x2a]))||!!_0x124502[_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2445c3([0x4c,0x48])));}function _0x29e424(){const _0x4349c9=_0x2a4ce0[_0x2445c3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4349c9||0x0==_0x4349c9[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x556b64}=new URL(window[_0x2445c3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4349c9[_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x556b64))return!0x0;const _0x13a27f=_0x556b64[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])](_0x2445c3([0x2e]));return _0x4349c9[_0x2445c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56c1fd=>_0x56c1fd[_0x2445c3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2445c3([0x2a])))[_0x2445c3([0x6d,0x61,0x70])](_0x371922=>_0x371922[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])](_0x2445c3([0x2e])))[_0x2445c3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5256c3=>_0x5256c3[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13a27f[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2445c3([0x6d,0x61,0x70])](_0x259cdd=>Array(_0x13a27f[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x259cdd[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2445c3([0x66,0x69,0x6c,0x6c])](_0x259cdd[0x0]===_0x2445c3([0x2a])?_0x2445c3([0x2a]):'')[_0x2445c3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x259cdd))[_0x2445c3([0x73,0x6f,0x6d,0x65])](_0x11442b=>_0x13a27f[_0x2445c3([0x65,0x76,0x65,0x72,0x79])]((_0x1629f5,_0x46048f)=>_0x11442b[_0x46048f]===_0x1629f5||_0x11442b[_0x46048f]===_0x2445c3([0x2a])));}function _0xcfb5da(){return _0x1b13ad&&_0x540cd9?new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cfff0,_0x314bad)=>{_0x1b13ad[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x1cfff0,_0x314bad),_0x540cd9[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x5bdc8b=>{_0x5bdc8b!=_0x2445c3([0x56,0x61,0x6c,0x69,0x64])&&_0x1cfff0(_0x5bdc8b);},_0x314bad);}):_0x1b13ad||_0x540cd9||_0x2445c3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a875e(_0x29615c,_0x17c10e){return new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x246be7=>{if(_0x311d38())return _0x246be7(_0x2445c3([0x56,0x61,0x6c,0x69,0x64]));_0x5907f3(),_0x73f31d[_0x2445c3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2445c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c489f=!0x1;const _0x53afaf=_0xd6426d();function _0x45a5a9(_0x362789){return!!_0x362789&&(typeof _0x362789===_0x2445c3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x362789===_0x2445c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x362789[_0x2445c3([0x74,0x68,0x65,0x6e])]===_0x2445c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x362789[_0x2445c3([0x63,0x61,0x74,0x63,0x68])]===_0x2445c3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xcd321b(_0x41ff2c){_0x5582ff(_0x41ff2c)[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x402c51=>{if(!_0x402c51||_0x402c51[_0x2445c3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2445c3([0x6f,0x6b]))return _0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5335ee(_0x60992f(_0x53afaf+_0x17c10e))!=_0x402c51[_0x2445c3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2445c3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x3e1be2=>(_0x36c1fe(),_0x3e1be2),()=>{const _0x5e795c=_0x2a4a77();return null==_0x5e795c?(_0x36c1fe(),_0x2445c3([0x56,0x61,0x6c,0x69,0x64])):_0x2445c3(_0x3e34d8-_0x5e795c>(0x5faee001^_0x4f0609)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x246be7)[_0x2445c3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x246be7(_0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x427004=0x7b948a81^_0x4f0609;function _0x36c1fe(){const _0x18442e=_0x2445c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5335ee(_0x60992f(_0x29615c)),_0x174dd1=_0x1a3601(_0x5335ee(window[_0x2445c3([0x4d,0x61,0x74,0x68])][_0x2445c3([0x63,0x65,0x69,0x6c])](_0x3e34d8/_0x427004)));window[_0x2445c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2445c3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18442e,_0x174dd1);}function _0x2a4a77(){const _0x465b57=_0x2445c3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5335ee(_0x60992f(_0x29615c)),_0x354199=window[_0x2445c3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2445c3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x465b57);return _0x354199?window[_0x2445c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a3601(_0x354199),0x10)*_0x427004:null;}function _0x5582ff(_0x1ccb73){return new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a54aa,_0x1eaad4)=>{_0x1ccb73[_0x2445c3([0x74,0x68,0x65,0x6e])](_0x1a54aa,_0x1eaad4),window[_0x2445c3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1eaad4,0x7ba3b0c1^_0x4f0609);});}}_0x73f31d[_0x2445c3([0x6f,0x6e])](_0x2445c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bc512,_0x3b0a64)=>{if(_0x3b0a64[0x0]!=_0x29615c)return _0x246be7(_0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b0a64[0x1]={..._0x3b0a64[0x1],[_0x2445c3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53afaf};},{[_0x2445c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2445c3([0x68,0x69,0x67,0x68])}),_0x73f31d[_0x2445c3([0x6f,0x6e])](_0x2445c3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4346d2=>{_0x45a5a9(_0x4346d2[_0x2445c3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c489f=!0x0,_0xcd321b(_0x4346d2[_0x2445c3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2445c3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2445c3([0x6c,0x6f,0x77])}),_0xfefd9b[_0x2445c3([0x74,0x68,0x65,0x6e])](()=>{_0x1c489f||_0x246be7(_0x2445c3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x311d38(){return _0x73f31d[_0x2445c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2445c3([0x76,0x69,0x65,0x77])][_0x2445c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2445c3([0x61,0x75,0x74,0x6f]);}function _0x5907f3(){_0x73f31d[_0x2445c3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2445c3([0x76,0x69,0x65,0x77])][_0x2445c3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2445c3([0x61,0x75,0x74,0x6f]);}}function _0x38615d(_0x182466){const _0x56a36e=[new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39767f=>setTimeout(_0x39767f,0x7bab5acd^_0x4f0609)),_0xfefd9b[_0x2445c3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x352080=>{let _0x1a7f2d=0x0;_0x73f31d[_0x2445c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2445c3([0x6f,0x6e])](_0x2445c3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x210ff8,_0x3d7ae3)=>{_0x3d7ae3[0x0][_0x2445c3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a7f2d++,_0x1a7f2d==(0x7ba265f9^_0x4f0609)&&(_0x352080(),_0x210ff8[_0x2445c3([0x6f,0x66,0x66])]());});}))];return window[_0x2445c3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2445c3([0x72,0x61,0x63,0x65])](_0x56a36e)[_0x2445c3([0x74,0x68,0x65,0x6e])](()=>_0x182466);}async function _0x1695c6(){await _0xfefd9b,_0x73f31d[_0x2445c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2445c3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e7043,_0x73f31d[_0x2445c3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2445c3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e7043,_0x73f31d[_0x2445c3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2445c3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59ed4b(_0x159498){const _0x35bab5=_0x4ffc9b();_0x73f31d[_0x35bab5]=_0x2445c3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x159498,_0x159498!=_0x2445c3([0x56,0x61,0x6c,0x69,0x64])&&_0x1695c6();}function _0x4ffc9b(){const _0xf4540d=window[_0x2445c3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2445c3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2445c3([0x6e,0x6f,0x77])]())[_0x2445c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2445c3([0x2e]),'');let _0x2c76d2=_0x2445c3([0x69]);for(let _0x458f55=0x0;_0x458f55<_0xf4540d[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x458f55+=0x2){let _0x425ce1=window[_0x2445c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf4540d[_0x2445c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x458f55,_0x458f55+0x2));_0x425ce1>=_0x3017cc[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x425ce1-=_0x3017cc[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c76d2+=_0x3017cc[_0x425ce1];}return _0x2c76d2;}function _0x33c00c(){const _0x3c480f=_0x3c72e2[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])](_0x2445c3([0x2e]));if(0x3!=_0x3c480f[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb52131(_0x3c480f[0x1]);function _0xb52131(_0x951d26){const _0x2ecc66=_0x43a4b4(_0x951d26);return _0x2ecc66&&_0x25d5c0()?_0x2ecc66:null;function _0x25d5c0(){const _0x368382=_0x2ecc66[_0x2445c3([0x6a,0x74,0x69])],_0x20c20f=window[_0x2445c3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x368382[_0x2445c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x368382[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa95dc6={..._0x2ecc66,[_0x2445c3([0x6a,0x74,0x69])]:_0x368382[_0x2445c3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x368382[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa95dc6[_0x2445c3([0x76,0x63])],_0x60992f(_0xa95dc6)==_0x20c20f;}}}async function _0x36a0dd(){let _0xfe95a0=!0x0;try{const _0x34f187=_0x3c72e2[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])](_0x2445c3([0x2e])),[_0x55fd40,_0x212aef,_0x5d360d]=_0x34f187;return _0x4b3d04(_0x55fd40),await _0x502ba2(_0x55fd40,_0x212aef,_0x5d360d),_0xfe95a0;}catch{return!0x1;}function _0x4b3d04(_0x3d7147){const _0x84947b=_0x43a4b4(_0x3d7147);_0x84947b&&_0x84947b[_0x2445c3([0x61,0x6c,0x67])]==_0x2445c3([0x45,0x53,0x32,0x35,0x36])||(_0xfe95a0=!0x1);}async function _0x502ba2(_0x4b5f46,_0x481ba1,_0x2c300d){const _0x3a6bab=window[_0x2445c3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2445c3([0x66,0x72,0x6f,0x6d])](_0x4d182c(_0x2c300d),_0x5dcd7b=>_0x5dcd7b[_0x2445c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x145ea7=new window[(_0x2445c3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2445c3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b5f46+_0x2445c3([0x2e])+_0x481ba1),_0x188438=window[_0x2445c3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2445c3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x188438)return;const _0x2e73ce=await _0x188438[_0x2445c3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2445c3([0x6a,0x77,0x6b]),_0x1ff4a1,{[_0x2445c3([0x6e,0x61,0x6d,0x65])]:_0x2445c3([0x45,0x43,0x44,0x53,0x41]),[_0x2445c3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2445c3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2445c3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x188438[_0x2445c3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2445c3([0x6e,0x61,0x6d,0x65])]:_0x2445c3([0x45,0x43,0x44,0x53,0x41]),[_0x2445c3([0x68,0x61,0x73,0x68])]:{[_0x2445c3([0x6e,0x61,0x6d,0x65])]:_0x2445c3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e73ce,_0x3a6bab,_0x145ea7)||(_0xfe95a0=!0x1);}}function _0x43a4b4(_0x1e02b6){return _0x1e02b6[_0x2445c3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2445c3([0x65,0x79]))?JSON[_0x2445c3([0x70,0x61,0x72,0x73,0x65])](_0x4d182c(_0x1e02b6)):null;}function _0x4d182c(_0xc2e6dd){return window[_0x2445c3([0x61,0x74,0x6f,0x62])](_0xc2e6dd[_0x2445c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2445c3([0x2b]))[_0x2445c3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2445c3([0x2f])));}function _0x60992f(_0xd0e8fb){let _0x4bb553=0x1505;function _0x56a409(_0x1d82f5){for(let _0x274923=0x0;_0x274923<_0x1d82f5[_0x2445c3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x274923++){const _0x35aa05=_0x1d82f5[_0x2445c3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x274923);_0x4bb553=(_0x4bb553<<0x5)+_0x4bb553+_0x35aa05,_0x4bb553&=_0x4bb553;}}function _0x168946(_0x52b14f){Array[_0x2445c3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52b14f)?_0x52b14f[_0x2445c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x168946):_0x52b14f&&typeof _0x52b14f==_0x2445c3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2445c3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52b14f)[_0x2445c3([0x73,0x6f,0x72,0x74])]()[_0x2445c3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e598b,_0x5d3a78])=>{_0x56a409(_0x5e598b),_0x168946(_0x5d3a78);}):_0x56a409(window[_0x2445c3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52b14f));}return _0x168946(_0xd0e8fb),_0x4bb553>>>0x0;}function _0x5335ee(_0x3084c1){return _0x3084c1[_0x2445c3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2445c3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2445c3([0x30]));}function _0x1a3601(_0x1a5f3d){return _0x1a5f3d[_0x2445c3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2445c3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2445c3([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e7043(){}function _0x2445c3(_0x331e1d){return _0x331e1d['map'](_0x465a3a=>String['fromCharCode'](_0x465a3a))['join']('');}_0x59ed4b(await _0x4b5cd8());}(this);}['_validateConfig'](){const _0x37a637=this['editor'];if(!_0x37a637['config']['get']('lineHeight.supportAllValues'))return;const _0x46a0a7=_0x37a637['config']['get']('lineHeight.options')['filter'](_0x2f6650=>'string'==typeof _0x2f6650&&(!f(_0x2f6650)&&isNaN(Number(_0x2f6650))));if(_0x46a0a7['length'])throw new _0x4ad44d('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x46a0a7});}['_prepareAnyValueConverters'](){const _0x53fdd3=this['editor'],_0x182d95=this['editor']['config']['get']('lineHeight.defaultValue');_0x53fdd3['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x177ddf=>String(_0x177ddf)===String(_0x182d95)?null:{'key':'style','value':{'line-height':_0x177ddf}}}),_0x53fdd3['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x33287b=>{let _0x54c2ab=_0x33287b['getStyle']('line-height');return _0x1bfe1f(_0x54c2ab)&&(_0x54c2ab=String(Number(_0x54c2ab['slice'](0x0,-0x1))/0x64)),String(_0x54c2ab)===String(_0x182d95)?null:_0x54c2ab;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x23e394=this['editor'],_0x358414=this['editor']['config']['get']('lineHeight.defaultValue'),_0x275fcd=function(_0x193450,_0xac92ba){const _0xdd9deb={'model':{'key':_0x193450,'values':[]},'view':{}};for(const _0x3ada4d of _0xac92ba)'class'===_0x3ada4d['view']?.['key']?(_0xdd9deb['model']['values']['push'](_0x3ada4d['model']),_0xdd9deb['view'][_0x3ada4d['model']]={'key':'class','value':_0x3ada4d['view']['value']}):(_0xdd9deb['model']['values']['push'](_0x3ada4d['model']),_0xdd9deb['view'][_0x3ada4d['model']]={'key':'style','value':'line-height:'+_0x3ada4d['model']+';'});return _0xdd9deb;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x186e99=>_0x186e99['model']));_0x23e394['conversion']['attributeToAttribute'](_0x275fcd),_0x23e394['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x118ebb=>{let _0x4d1f67=_0x118ebb['getStyle']('line-height');return _0x1bfe1f(_0x4d1f67)&&(_0x4d1f67=String(Number(_0x4d1f67['slice'](0x0,-0x1))/0x64)),_0x4d1f67===String(_0x358414)?null:_0x275fcd['model']['values']['includes'](_0x4d1f67)?_0x4d1f67:null;}}});}}class r extends _0x685d0c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xaecd68={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xaecd68),this['_registerMenuBarComponent'](_0xaecd68),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x56fe18=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x274a84;for(const _0x556c47 in _0x56fe18){const _0x5d5fc7=_0x556c47,_0x3ccbd6=_0x56fe18[_0x5d5fc7];if('lineHeightLicenseKeyValid'==_0x3ccbd6||'lineHeightLicenseKeyInvalid'==_0x3ccbd6||'lineHeightLicenseKeyExpired'==_0x3ccbd6||'lineHeightLicenseKeyDomainLimit'==_0x3ccbd6||'lineHeightLicenseKeyNotAllowed'==_0x3ccbd6||'lineHeightLicenseKeyEvaluationLimit'==_0x3ccbd6||'lineHeightLicenseKeyTrialLimit'==_0x3ccbd6||'lineHeightLicenseKeyUsageLimit'==_0x3ccbd6){delete _0x56fe18[_0x5d5fc7],_0x274a84=_0x3ccbd6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x274a84&&_0x56fe18['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x274a84&&_0x56fe18['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x274a84&&_0x56fe18['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x274a84&&_0x56fe18['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x274a84&&_0x56fe18['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x274a84&&_0x56fe18['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x274a84&&_0x56fe18['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x116e83=this['editor'],t=_0x116e83['t'],_0x44bfa6=_0x116e83['config']['get']('lineHeight'),_0x121617={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x44bfa6)['map'](_0x28a14b=>{const _0x4a0318=_0x121617[_0x28a14b['title']];return _0x4a0318&&_0x4a0318!=_0x28a14b['title']&&(_0x28a14b=Object['assign']({},_0x28a14b,{'title':_0x4a0318})),_0x28a14b;});}['_prepareListOptions'](){const _0x138c68=this['editor']['commands']['get']('lineHeight'),_0x307eb4=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1174c4=this['_getLocalizedLineHeightOptions'](),_0x51f75a=new _0xa94018(),_0x576165=_0x40c8f4=>'default'===_0x40c8f4||String(_0x307eb4)===_0x40c8f4;for(const _0x4e60d2 of _0x1174c4){const _0x5c4bbe={'type':'button','model':new _0x152312({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4e60d2['title'],'withText':!0x0})};_0x576165(_0x4e60d2['model'])?(_0x5c4bbe['model']['bind']('isOn')['to'](_0x138c68,'value',_0x259f4b=>!_0x259f4b),_0x5c4bbe['model']['commandParam']=void 0x0):(_0x5c4bbe['model']['bind']('isOn')['to'](_0x138c68,'value',_0x4bfdc6=>_0x4bfdc6===_0x4e60d2['model']),_0x5c4bbe['model']['commandParam']=_0x4e60d2['model']),_0x51f75a['add'](_0x5c4bbe);}if(this['_shouldRenderCustomValueOption']()){const _0x40b7ea=this['_getCustomValueOptionDefinition'](_0x1174c4);_0x51f75a['add'](_0x40b7ea);}return _0x51f75a;}['_getCustomValueOptionDefinition'](_0x4bf4f8){const _0x478402=this['editor'],t=_0x478402['t'],_0x3df453=_0x478402['commands']['get']('lineHeight'),_0xecf02d=_0x4bf4f8['map'](_0x514f14=>_0x514f14['model']),_0x3bed1d={'type':'button','model':new _0x152312({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3bed1d['model']['bind']('commandParam')['to'](_0x3df453,'value'),_0x3bed1d['model']['bind']('isOn')['to'](_0x3df453,'value',_0x29f8e2=>!!_0x29f8e2&&!_0xecf02d['includes'](String(_0x29f8e2))),_0x3bed1d['model']['bind']('label')['to'](_0x3df453,'value',_0x517ba8=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x517ba8))),_0x3bed1d;}['_registerToolbarComponent']({accessibleLabel:_0x5508a9,options:_0x3af5f7}){const _0xe942b7=this['editor'],_0x410da6=_0xe942b7['commands']['get']('lineHeight');_0xe942b7['ui']['componentFactory']['add']('lineHeight',_0x32f013=>{const _0x3e2351=_0x49d52e(_0x32f013);return _0x2081be(_0x3e2351,_0x3af5f7,{'role':'menu','ariaLabel':_0x5508a9}),_0x3e2351['buttonView']['set']({'label':_0x5508a9,'tooltip':!0x0,'icon':_0x36f6da}),_0x3e2351['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x3e2351['bind']('isEnabled')['to'](_0x410da6),this['listenTo'](_0x3e2351,'execute',_0x36b389=>{_0xe942b7['execute'](_0x36b389['source']['commandName'],{'value':_0x36b389['source']['commandParam']}),_0xe942b7['editing']['view']['focus']();}),_0x3e2351['once']('change:isOpen',()=>{const _0x743227=_0x3e2351['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x3e2351,_0x3af5f7,_0x743227);}),_0x3e2351;});}['_registerMenuBarComponent']({accessibleLabel:_0x103906,options:_0x4f4527}){const _0x2f0c3b=this['editor'],_0x47b832=_0x2f0c3b['commands']['get']('lineHeight');_0x2f0c3b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x32a532=>{const _0x58035b=new _0x5ea6ab(_0x32a532);_0x58035b['buttonView']['set']({'label':_0x103906,'icon':_0x36f6da}),_0x58035b['bind']('isEnabled')['to'](_0x47b832);const _0x15c6ee=new _0x4d51bc(_0x32a532);for(const _0x26eb38 of _0x4f4527){const _0x2c18ab=new _0x1a4d39(_0x32a532,_0x58035b),_0x4ff007=new _0x15deba(_0x32a532);_0x4ff007['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4ff007['bind'](...Object['keys'](_0x26eb38['model']))['to'](_0x26eb38['model']),_0x4ff007['delegate']('execute')['to'](_0x58035b),_0x4ff007['on']('execute',()=>{_0x2f0c3b['execute'](_0x26eb38['model']['commandName'],{'value':_0x26eb38['model']['commandParam']}),_0x2f0c3b['editing']['view']['focus']();}),_0x2c18ab['children']['add'](_0x4ff007),_0x15c6ee['items']['add'](_0x2c18ab);}return _0x58035b['panelView']['children']['add'](_0x15c6ee),this['_attachCustomOptionVisibilityHandler'](_0x58035b,_0x4f4527,_0x15c6ee),_0x58035b;});}['_attachCustomOptionVisibilityHandler'](_0x584036,_0x438720,_0x1686a5){if(!this['_shouldRenderCustomValueOption']())return;const _0x294f83=()=>{if(!_0x584036['isOpen'])return;_0x1686a5['items']['last']['isVisible']=Boolean(_0x438720['last']['model']['isOn']);};_0x294f83(),_0x584036['on']('change:isOpen',()=>{_0x294f83();});}}class k extends _0x685d0c{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
@@ -1,6 +0,0 @@
1
- {
2
- "Line height": "The label of the line height toolbar button.",
3
- "LINE_HEIGHT_CUSTOM_OPTION_LABEL": "Dropdown option label for the custom line height, e.g., \"Custom: 1.75\".",
4
- "LINE_HEIGHT_SINGLE_OPTION_LABEL": "Dropdown option label for the \"Single\" line height option.",
5
- "LINE_HEIGHT_DOUBLE_OPTION_LABEL": "Dropdown option label for the \"Double\" line height option."
6
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [LineHeight.pluginName]: LineHeight;
9
- [LineHeightEditing.pluginName]: LineHeightEditing;
10
- [LineHeightUI.pluginName]: LineHeightUI;
11
- }
12
- interface EditorConfig {
13
- /**
14
- * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
15
- *
16
- * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
17
- */
18
- lineHeight?: LineHeightConfig;
19
- }
20
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export{};
package/src/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module line-height
7
- */
8
- export { LineHeight } from './lineheight.js';
9
- export { LineHeightEditing } from './lineheightediting.js';
10
- export { LineHeightUI } from './lineheightui.js';
11
- export { LineHeightCommand } from './lineheightcommand.js';
12
- export type { LineHeightConfig, LineHeightOption } from './lineheightconfig.js';
13
- import './augmentation.js';
package/src/index.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- (function(_0x57d748,_0x5c1b0e){var _0x3d6599=_0x1ae6,_0x4c0b7d=_0x57d748();while(!![]){try{var _0x1814ea=-parseInt(_0x3d6599(0x151))/0x1*(-parseInt(_0x3d6599(0x14c))/0x2)+-parseInt(_0x3d6599(0x150))/0x3*(-parseInt(_0x3d6599(0x152))/0x4)+parseInt(_0x3d6599(0x14e))/0x5*(-parseInt(_0x3d6599(0x154))/0x6)+-parseInt(_0x3d6599(0x14a))/0x7*(parseInt(_0x3d6599(0x153))/0x8)+parseInt(_0x3d6599(0x14b))/0x9+parseInt(_0x3d6599(0x14f))/0xa+parseInt(_0x3d6599(0x14d))/0xb;if(_0x1814ea===_0x5c1b0e)break;else _0x4c0b7d['push'](_0x4c0b7d['shift']());}catch(_0x2e83a6){_0x4c0b7d['push'](_0x4c0b7d['shift']());}}}(_0x16c2,0xcb8bf));export{LineHeight}from'./lineheight.js';function _0x1ae6(_0x25dc0c,_0x1d2fbd){var _0x16c26e=_0x16c2();return _0x1ae6=function(_0x1ae63d,_0x168c76){_0x1ae63d=_0x1ae63d-0x14a;var _0x1be99b=_0x16c26e[_0x1ae63d];return _0x1be99b;},_0x1ae6(_0x25dc0c,_0x1d2fbd);}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';function _0x16c2(){var _0x5beb59=['898798WVlDjE','8697205ierKLA','830295TyYVtr','9913480xybtJr','9873rQoOWk','1RzfgCb','48DlRbyA','8srvkUB','60rcvbQJ','2909354wZEhYf','5751405RDPRmL'];_0x16c2=function(){return _0x5beb59;};return _0x16c2();}import'./augmentation.js';
@@ -1,34 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module line-height/lineheight
7
- * @publicApi
8
- */
9
- import { Plugin } from 'ckeditor5/src/core.js';
10
- import { LineHeightEditing } from './lineheightediting.js';
11
- import { LineHeightUI } from './lineheightui.js';
12
- /**
13
- * The line height plugin.
14
- *
15
- * For a detailed overview, check the {@glink features/line-height Line height feature documentation}.
16
- */
17
- export declare class LineHeight extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get requires(): readonly [typeof LineHeightEditing, typeof LineHeightUI];
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "LineHeight";
26
- /**
27
- * @inheritDoc
28
- */
29
- static get isOfficialPlugin(): true;
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isPremiumPlugin(): true;
34
- }
package/src/lineheight.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x3d6fae=_0xa7a3;(function(_0x23c38e,_0xe1721d){var _0x55e95b=_0xa7a3,_0x48179e=_0x23c38e();while(!![]){try{var _0x6f729d=parseInt(_0x55e95b(0x9f))/0x1+parseInt(_0x55e95b(0xab))/0x2+-parseInt(_0x55e95b(0xa7))/0x3*(parseInt(_0x55e95b(0xa1))/0x4)+parseInt(_0x55e95b(0xac))/0x5*(-parseInt(_0x55e95b(0xa9))/0x6)+parseInt(_0x55e95b(0xa3))/0x7+parseInt(_0x55e95b(0xa4))/0x8+parseInt(_0x55e95b(0xa8))/0x9;if(_0x6f729d===_0xe1721d)break;else _0x48179e['push'](_0x48179e['shift']());}catch(_0x3c9943){_0x48179e['push'](_0x48179e['shift']());}}}(_0x5573,0x69a05));import{Plugin as _0x908319}from'ckeditor5/src/core.js';import{LineHeightEditing as _0xb7c9ea}from'./lineheightediting.js';import{LineHeightUI as _0x33cdb4}from'./lineheightui.js';function _0xa7a3(_0x59ca5c,_0x3ecd84){var _0x55730d=_0x5573();return _0xa7a3=function(_0xa7a3b0,_0x3896eb){_0xa7a3b0=_0xa7a3b0-0x9f;var _0x274783=_0x55730d[_0xa7a3b0];return _0x274783;},_0xa7a3(_0x59ca5c,_0x3ecd84);}export class LineHeight extends _0x908319{static get[_0x3d6fae(0xa0)](){return[_0xb7c9ea,_0x33cdb4];}static get[_0x3d6fae(0xaa)](){var _0x2e036e=_0x3d6fae;return _0x2e036e(0xa5);}static get[_0x3d6fae(0xa6)](){return!0x0;}static get[_0x3d6fae(0xa2)](){return!0x0;}}function _0x5573(){var _0x17306a=['LineHeight','isOfficialPlugin','78723aTnVsc','937566GJNlCE','212622ftEnvS','pluginName','9168wFJfux','20SeWdKN','686598VgWGwx','requires','92KCaPIk','isPremiumPlugin','1890833EcfMyo','899688hNaOjj'];_0x5573=function(){return _0x17306a;};return _0x5573();}
@@ -1,26 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module line-height/lineheightcommand
7
- * @publicApi
8
- */
9
- import { Command } from 'ckeditor5/src/core.js';
10
- /**
11
- * The line height command. It applies the line height on block elements.
12
- */
13
- export declare class LineHeightCommand extends Command {
14
- /**
15
- * @inheritDoc
16
- */
17
- refresh(): void;
18
- /**
19
- * Executes the command.
20
- *
21
- * @param options.value The value to apply. When `undefined`, the command will remove the attribute.
22
- */
23
- execute(options?: {
24
- value?: string;
25
- }): void;
26
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x53da25=_0x4d94;(function(_0x10f328,_0x21c072){const _0x4df9c5=_0x4d94,_0x440df1=_0x10f328();while(!![]){try{const _0x3dd6b5=parseInt(_0x4df9c5(0x110))/0x1+parseInt(_0x4df9c5(0x124))/0x2+parseInt(_0x4df9c5(0x10a))/0x3*(parseInt(_0x4df9c5(0x11c))/0x4)+-parseInt(_0x4df9c5(0x113))/0x5*(-parseInt(_0x4df9c5(0x119))/0x6)+parseInt(_0x4df9c5(0x115))/0x7*(parseInt(_0x4df9c5(0x117))/0x8)+parseInt(_0x4df9c5(0x10c))/0x9+-parseInt(_0x4df9c5(0x120))/0xa*(parseInt(_0x4df9c5(0x10b))/0xb);if(_0x3dd6b5===_0x21c072)break;else _0x440df1['push'](_0x440df1['shift']());}catch(_0x4095c1){_0x440df1['push'](_0x440df1['shift']());}}}(_0x502d,0xe0918));function _0x4d94(_0x5622ec,_0x498ce5){const _0x502dfc=_0x502d();return _0x4d94=function(_0x4d9471,_0x2e3fac){_0x4d9471=_0x4d9471-0x108;let _0x85c25c=_0x502dfc[_0x4d9471];return _0x85c25c;},_0x4d94(_0x5622ec,_0x498ce5);}function _0x502d(){const _0x464a94=['895816UkJRVD','isEnabled','editor','removeAttribute','231159MiUxeu','2321vxJiAu','3607974yEAIOB','selection','refresh','from','155795RwZyah','checkAttribute','change','9072165tgfUTy','_canHaveLineHeight','57435zCHPaL','setAttribute','536oFoenN','document','6meNnSy','getSelectedBlocks','schema','16ObBGJG','value','lineHeight','model','130670fUZPJW','execute','getAttribute','filter'];_0x502d=function(){return _0x464a94;};return _0x502d();}import{Command as _0x43372a}from'ckeditor5/src/core.js';import{first as _0x40137a}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x43372a{[_0x53da25(0x10e)](){const _0x1469ca=_0x53da25,_0x58512b=this[_0x1469ca(0x108)][_0x1469ca(0x11f)][_0x1469ca(0x118)],_0x200806=_0x40137a(_0x58512b[_0x1469ca(0x10d)][_0x1469ca(0x11a)]());this[_0x1469ca(0x125)]=Boolean(_0x200806)&&this[_0x1469ca(0x114)](_0x200806),this[_0x1469ca(0x11d)]=this[_0x1469ca(0x125)]&&_0x200806[_0x1469ca(0x122)](_0x1469ca(0x11e));}[_0x53da25(0x121)](_0x164634={}){const _0x5c6ef=_0x53da25,_0x40b414=this[_0x5c6ef(0x108)][_0x5c6ef(0x11f)],_0x44d3f3=_0x40b414[_0x5c6ef(0x118)][_0x5c6ef(0x10d)],_0x2b73c6=_0x164634[_0x5c6ef(0x11d)];_0x40b414[_0x5c6ef(0x112)](_0x241f4b=>{const _0x116378=_0x5c6ef,_0x1b90e6=Array[_0x116378(0x10f)](_0x44d3f3[_0x116378(0x11a)]())[_0x116378(0x123)](_0x1566a1=>this[_0x116378(0x114)](_0x1566a1));for(const _0x2362bc of _0x1b90e6)_0x2b73c6?_0x241f4b[_0x116378(0x116)](_0x116378(0x11e),_0x2b73c6,_0x2362bc):_0x241f4b[_0x116378(0x109)](_0x116378(0x11e),_0x2362bc);});}[_0x53da25(0x114)](_0x16db6d){const _0x58561c=_0x53da25;return this[_0x58561c(0x108)][_0x58561c(0x11f)][_0x58561c(0x11b)][_0x58561c(0x111)](_0x16db6d,_0x58561c(0x11e));}}
@@ -1,66 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module line-height/lineheightconfig
7
- * @publicApi
8
- */
9
- import type { DowncastAttributeDescriptor } from 'ckeditor5/src/engine.js';
10
- /**
11
- * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
12
- *
13
- * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
14
- */
15
- export interface LineHeightConfig {
16
- /**
17
- * Available line height options. The default value is:
18
- *
19
- * ```ts
20
- * const lineHeightConfig = {
21
- * options: [ 0.5, 1, 1.5, 2, 2.5 ]
22
- * };
23
- * ```
24
- *
25
- * **Note**: Line height values have to be provided in a format without units.
26
- * The available values are always multipliers of the default line height applied to the edited content.
27
- */
28
- options?: Array<string | number | LineHeightOption>;
29
- /**
30
- * By default, the plugin removes any `line-height` value that does not match the plugin's configuration.
31
- * It means that if you paste content with line heights that the editor does not understand, the `line-height` attribute
32
- * will be removed and the content will be displayed with the default line height.
33
- *
34
- * You can preserve pasted line heights values by switching the `supportAllValues` option to `true`:
35
- *
36
- * ```ts
37
- * const lineHeightConfig = {
38
- * supportAllValues: true
39
- * };
40
- * ```
41
- *
42
- * With this configuration line heights not specified in the editor configuration will not be removed when pasting the content.
43
- */
44
- supportAllValues?: boolean;
45
- /**
46
- * Default value of line height attribute. Defaults to `1.5`.
47
- */
48
- defaultValue?: number;
49
- }
50
- /**
51
- * Configuration for one of the dropdown options.
52
- */
53
- export interface LineHeightOption {
54
- /**
55
- * The user-readable title of the option.
56
- */
57
- title: string;
58
- /**
59
- * The line height value (CSS line-height property value, string).
60
- */
61
- model: string;
62
- /**
63
- * View element configuration.
64
- */
65
- view?: DowncastAttributeDescriptor;
66
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export{};
@@ -1,41 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module line-height/lineheightediting
7
- */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
- /**
10
- * The line height editing feature.
11
- *
12
- * It introduces the {@link module:line-height/lineheightcommand~LineHeightCommand command} and the `lineHeight`
13
- * attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}
14
- * as a `style="line-height: ..."` style.
15
- */
16
- export declare class LineHeightEditing extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "LineHeightEditing";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isOfficialPlugin(): true;
25
- /**
26
- * @inheritDoc
27
- */
28
- static get isPremiumPlugin(): true;
29
- /**
30
- * @inheritDoc
31
- */
32
- constructor(editor: Editor);
33
- /**
34
- * @inheritDoc
35
- */
36
- init(): void;
37
- /**
38
- * @inheritDoc
39
- */
40
- afterInit(): void;
41
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x6faab3=_0x1c1e;(function(_0x16d129,_0x3f228e){const _0x6b88b7=_0x1c1e,_0x630576=_0x16d129();while(!![]){try{const _0x5b5e80=parseInt(_0x6b88b7(0x1e8))/0x1*(-parseInt(_0x6b88b7(0x1cf))/0x2)+parseInt(_0x6b88b7(0x1e5))/0x3*(parseInt(_0x6b88b7(0x1d6))/0x4)+parseInt(_0x6b88b7(0x1c9))/0x5+parseInt(_0x6b88b7(0x1ba))/0x6+parseInt(_0x6b88b7(0x1d0))/0x7*(parseInt(_0x6b88b7(0x1c0))/0x8)+parseInt(_0x6b88b7(0x1dc))/0x9*(parseInt(_0x6b88b7(0x1c6))/0xa)+-parseInt(_0x6b88b7(0x1c5))/0xb*(parseInt(_0x6b88b7(0x1c1))/0xc);if(_0x5b5e80===_0x3f228e)break;else _0x630576['push'](_0x630576['shift']());}catch(_0x4fb115){_0x630576['push'](_0x630576['shift']());}}}(_0x5846,0x39fb7));import{Plugin as _0x17f7a3}from'ckeditor5/src/core.js';function _0x1c1e(_0x5cc58d,_0x1331f3){const _0x58465c=_0x5846();return _0x1c1e=function(_0x1c1e06,_0x37ad31){_0x1c1e06=_0x1c1e06-0x1b9;let _0x3df0c6=_0x58465c[_0x1c1e06];return _0x3df0c6;},_0x1c1e(_0x5cc58d,_0x1331f3);}import{LineHeightCommand as _0x5109fa}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x2e3e90}from'ckeditor5/src/engine.js';import{uid as _0x536bff,CKEditorError as _0xd082c6}from'ckeditor5/src/utils.js';function _0x5846(){const _0xd745aa=['downcast','160431jfUJHc','values','init','69959uAfsIF','href','style','isPremiumPlugin','model','_preparePredefinedConverters','extend','lineHeight','lineHeight.defaultValue','lineHeight.supportAllValues','839208GRFjQC','upcast','schema','afterInit','commands','get','1464CnFAxD','7348104lQlSGe','define','fromCharCode','setAttributeProperties','11IQMidL','10QhENft','isOfficialPlugin','map','1767980wqPAJs','join','conversion','$block','getStyle','pluginName','6qoegOZ','12131jjVonx','length','add','config','default','slice','8OOOnOx','attributeToAttribute','_validateConfig','lineHeight.options','_prepareAnyValueConverters','LineHeightEditing','1279413sBAENm','editor','includes','for','line-height','line-height-invalid-use-of-named-presets','string','filter'];_0x5846=function(){return _0xd745aa;};return _0x5846();}import{buildDefinition as _0x5ab38b,isLineHeightDefaultValue as _0x2ea8c9,normalizeOptions as _0x299187}from'./utils.js';export class LineHeightEditing extends _0x17f7a3{static get[_0x6faab3(0x1ce)](){const _0x52f3a3=_0x6faab3;return _0x52f3a3(0x1db);}static get[_0x6faab3(0x1c7)](){return!0x0;}static get[_0x6faab3(0x1eb)](){return!0x0;}constructor(_0x6d6702){const _0x3b5d6b=_0x6faab3;super(_0x6d6702),_0x6d6702[_0x3b5d6b(0x1d3)][_0x3b5d6b(0x1c2)](_0x3b5d6b(0x1ef),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x3b5d6b(0x1d4),0x2,2.5,0x3]});}[_0x6faab3(0x1e7)](){const _0x5103a8=_0x6faab3,_0x5dfdab=this[_0x5103a8(0x1dd)];this[_0x5103a8(0x1d8)](),_0x5dfdab[_0x5103a8(0x1ec)][_0x5103a8(0x1bc)][_0x5103a8(0x1ee)](_0x5103a8(0x1cc),{'allowAttributes':_0x5103a8(0x1ef)}),_0x5dfdab[_0x5103a8(0x1ec)][_0x5103a8(0x1bc)][_0x5103a8(0x1c4)](_0x5103a8(0x1ef),{'isFormatting':!0x0}),_0x5dfdab[_0x5103a8(0x1be)][_0x5103a8(0x1d2)](_0x5103a8(0x1ef),new _0x5109fa(_0x5dfdab)),this[_0x5103a8(0x1dd)][_0x5103a8(0x1d3)][_0x5103a8(0x1bf)](_0x5103a8(0x1b9))?this[_0x5103a8(0x1da)]():this[_0x5103a8(0x1ed)]();}[_0x6faab3(0x1bd)](){!async function(_0xd13e3){const _0x3951cd=_0x4e7d5f([0x69,0x30,0x75,0x73,0x51,0x6c,0x79,0x53,0x41,0x34,0x70,0x38,0x64,0x32,0x39,0x4f,0x6a,0x65,0x74,0x58,0x5a,0x57,0x42,0x37,0x4a,0x36,0x44,0x68,0x71,0x43,0x52,0x66,0x63,0x62,0x61,0x67,0x6d,0x7a,0x77,0x72,0x4b,0x31,0x4c,0x76,0x47,0x55,0x4e,0x6e,0x56,0x6b,0x48,0x6f,0x45,0x78,0x46,0x33,0x49,0x54,0x4d,0x50,0x35,0x59]),_0x3cf4cc=0x7ba26401,_0x717ba8=0x7ba508e1^_0x3cf4cc,_0x415697=window[_0x4e7d5f([0x44,0x61,0x74,0x65])][_0x4e7d5f([0x6e,0x6f,0x77])](),_0x46f97e=_0xd13e3[_0x4e7d5f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x46043c=new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x233ab6=>{_0x46f97e[_0x4e7d5f([0x6f,0x6e,0x63,0x65])](_0x4e7d5f([0x72,0x65,0x61,0x64,0x79]),_0x233ab6);}),_0x566616={[_0x4e7d5f([0x6b,0x74,0x79])]:_0x4e7d5f([0x45,0x43]),[_0x4e7d5f([0x75,0x73,0x65])]:_0x4e7d5f([0x73,0x69,0x67]),[_0x4e7d5f([0x63,0x72,0x76])]:_0x4e7d5f([0x50,0x2d,0x32,0x35,0x36]),[_0x4e7d5f([0x78])]:_0x4e7d5f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4e7d5f([0x79])]:_0x4e7d5f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4e7d5f([0x61,0x6c,0x67])]:_0x4e7d5f([0x45,0x53,0x32,0x35,0x36])},_0x1cb821=_0x46f97e[_0x4e7d5f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e7d5f([0x67,0x65,0x74])](_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50e908(){let _0x38a425,_0x2915fb=null,_0x3cf5a0=null;try{if(_0x1cb821==_0x4e7d5f([0x47,0x50,0x4c]))return _0x4e7d5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38a425=_0x286bf5(),!_0x38a425)return _0x4e7d5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38a425[_0x4e7d5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3cf5a0=_0x3ae693(_0x38a425[_0x4e7d5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38a425[_0x4e7d5f([0x6a,0x74,0x69])])),await _0x439183()?_0x31f883()?_0x47faf3()?_0x4e7d5f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x375ad7()?(_0x38a425[_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e7d5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2915fb=_0x386fba(_0x4e7d5f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x38a425[_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e7d5f([0x74,0x72,0x69,0x61,0x6c])&&(_0x2915fb=_0x386fba(_0x4e7d5f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5271b3()):_0x4e7d5f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e7d5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e7d5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e7d5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47faf3(){const _0x42f4d7=[_0x4e7d5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e7d5f([0x74,0x72,0x69,0x61,0x6c])][_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38a425[_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x415697/0x3e8:0xe10*_0x717ba8;return _0x38a425[_0x4e7d5f([0x65,0x78,0x70])]<_0x42f4d7;}function _0x31f883(){const _0x5af5af=_0x38a425[_0x4e7d5f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5af5af&&(!!_0x5af5af[_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7d5f([0x2a]))||!!_0x5af5af[_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7d5f([0x4c,0x48])));}function _0x375ad7(){const _0x437fa8=_0x1c1e,_0x59382a=_0x38a425[_0x4e7d5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59382a||0x0==_0x59382a[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e81ff}=new URL(window[_0x4e7d5f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x437fa8(0x1e9)]);if(_0x59382a[_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e81ff))return!0x0;const _0x394b60=_0x3e81ff[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])](_0x4e7d5f([0x2e]));return _0x59382a[_0x4e7d5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3668a7=>_0x3668a7[_0x4e7d5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e7d5f([0x2a])))[_0x4e7d5f([0x6d,0x61,0x70])](_0x60da16=>_0x60da16[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])](_0x4e7d5f([0x2e])))[_0x4e7d5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8110b5=>_0x8110b5[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x394b60[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e7d5f([0x6d,0x61,0x70])](_0x9b0be7=>Array(_0x394b60[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9b0be7[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e7d5f([0x66,0x69,0x6c,0x6c])](_0x9b0be7[0x0]===_0x4e7d5f([0x2a])?_0x4e7d5f([0x2a]):'')[_0x4e7d5f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9b0be7))[_0x4e7d5f([0x73,0x6f,0x6d,0x65])](_0x23665e=>_0x394b60[_0x4e7d5f([0x65,0x76,0x65,0x72,0x79])]((_0x20208c,_0xf3e035)=>_0x23665e[_0xf3e035]===_0x20208c||_0x23665e[_0xf3e035]===_0x4e7d5f([0x2a])));}function _0x5271b3(){return _0x2915fb&&_0x3cf5a0?new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b3da5,_0x2356d4)=>{_0x2915fb[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x2b3da5,_0x2356d4),_0x3cf5a0[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x12abc8=>{_0x12abc8!=_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64])&&_0x2b3da5(_0x12abc8);},_0x2356d4);}):_0x2915fb||_0x3cf5a0||_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ae693(_0x1e4f9c,_0x362400){return new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18b599=>{if(_0x21ecf5())return _0x18b599(_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64]));_0x4e06c6(),_0x46f97e[_0x4e7d5f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e7d5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55c258=!0x1;const _0x2b5b2a=_0x536bff();function _0x2c8e1c(_0x1263dc){return!!_0x1263dc&&(typeof _0x1263dc===_0x4e7d5f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1263dc===_0x4e7d5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1263dc[_0x4e7d5f([0x74,0x68,0x65,0x6e])]===_0x4e7d5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1263dc[_0x4e7d5f([0x63,0x61,0x74,0x63,0x68])]===_0x4e7d5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdc8c0d(_0x5c6151){_0x491e14(_0x5c6151)[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x5a11a2=>{if(!_0x5a11a2||_0x5a11a2[_0x4e7d5f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e7d5f([0x6f,0x6b]))return _0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43cc5e(_0xf9a788(_0x2b5b2a+_0x362400))!=_0x5a11a2[_0x4e7d5f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x11e8b5=>(_0x572855(),_0x11e8b5),()=>{const _0x23f58c=_0x889931();return null==_0x23f58c?(_0x572855(),_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64])):_0x4e7d5f(_0x415697-_0x23f58c>(0x5faee001^_0x3cf4cc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x18b599)[_0x4e7d5f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18b599(_0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46b183=0x7b948a81^_0x3cf4cc;function _0x572855(){const _0x4867c4=_0x4e7d5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x43cc5e(_0xf9a788(_0x1e4f9c)),_0x21cfb1=_0x2a0a1a(_0x43cc5e(window[_0x4e7d5f([0x4d,0x61,0x74,0x68])][_0x4e7d5f([0x63,0x65,0x69,0x6c])](_0x415697/_0x46b183)));window[_0x4e7d5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e7d5f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4867c4,_0x21cfb1);}function _0x889931(){const _0x867b1=_0x4e7d5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x43cc5e(_0xf9a788(_0x1e4f9c)),_0x4c2500=window[_0x4e7d5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e7d5f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x867b1);return _0x4c2500?window[_0x4e7d5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a0a1a(_0x4c2500),0x10)*_0x46b183:null;}function _0x491e14(_0x1fdb47){return new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e833d,_0x3c4529)=>{_0x1fdb47[_0x4e7d5f([0x74,0x68,0x65,0x6e])](_0x1e833d,_0x3c4529),window[_0x4e7d5f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3c4529,0x7ba3b0c1^_0x3cf4cc);});}}_0x46f97e[_0x4e7d5f([0x6f,0x6e])](_0x4e7d5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13ecc7,_0x53b9f1)=>{if(_0x53b9f1[0x0]!=_0x1e4f9c)return _0x18b599(_0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x53b9f1[0x1]={..._0x53b9f1[0x1],[_0x4e7d5f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b5b2a};},{[_0x4e7d5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e7d5f([0x68,0x69,0x67,0x68])}),_0x46f97e[_0x4e7d5f([0x6f,0x6e])](_0x4e7d5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3da6ae=>{_0x2c8e1c(_0x3da6ae[_0x4e7d5f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55c258=!0x0,_0xdc8c0d(_0x3da6ae[_0x4e7d5f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e7d5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e7d5f([0x6c,0x6f,0x77])}),_0x46043c[_0x4e7d5f([0x74,0x68,0x65,0x6e])](()=>{_0x55c258||_0x18b599(_0x4e7d5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21ecf5(){return _0x46f97e[_0x4e7d5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e7d5f([0x76,0x69,0x65,0x77])][_0x4e7d5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e7d5f([0x61,0x75,0x74,0x6f]);}function _0x4e06c6(){_0x46f97e[_0x4e7d5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e7d5f([0x76,0x69,0x65,0x77])][_0x4e7d5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e7d5f([0x61,0x75,0x74,0x6f]);}}function _0x386fba(_0x5c4c2b){const _0x35b511=[new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x116400=>setTimeout(_0x116400,0x7bab5acd^_0x3cf4cc)),_0x46043c[_0x4e7d5f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bfd76=>{let _0x5a1343=0x0;_0x46f97e[_0x4e7d5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7d5f([0x6f,0x6e])](_0x4e7d5f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x545465,_0x12511d)=>{_0x12511d[0x0][_0x4e7d5f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a1343++,_0x5a1343==(0x7ba265f9^_0x3cf4cc)&&(_0x4bfd76(),_0x545465[_0x4e7d5f([0x6f,0x66,0x66])]());});}))];return window[_0x4e7d5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e7d5f([0x72,0x61,0x63,0x65])](_0x35b511)[_0x4e7d5f([0x74,0x68,0x65,0x6e])](()=>_0x5c4c2b);}async function _0x3cbe0b(){await _0x46043c,_0x46f97e[_0x4e7d5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7d5f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46960f,_0x46f97e[_0x4e7d5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e7d5f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46960f,_0x46f97e[_0x4e7d5f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e7d5f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e2d95(_0x39cf0c){const _0x53d6db=_0x35cd78();_0x46f97e[_0x53d6db]=_0x4e7d5f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39cf0c,_0x39cf0c!=_0x4e7d5f([0x56,0x61,0x6c,0x69,0x64])&&_0x3cbe0b();}function _0x35cd78(){const _0x1a7687=window[_0x4e7d5f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e7d5f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e7d5f([0x6e,0x6f,0x77])]())[_0x4e7d5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e7d5f([0x2e]),'');let _0x45554a=_0x4e7d5f([0x69]);for(let _0x2580d4=0x0;_0x2580d4<_0x1a7687[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2580d4+=0x2){let _0x49ea78=window[_0x4e7d5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a7687[_0x4e7d5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2580d4,_0x2580d4+0x2));_0x49ea78>=_0x3951cd[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x49ea78-=_0x3951cd[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x45554a+=_0x3951cd[_0x49ea78];}return _0x45554a;}function _0x286bf5(){const _0x5836ac=_0x1cb821[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])](_0x4e7d5f([0x2e]));if(0x3!=_0x5836ac[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1dc3bb(_0x5836ac[0x1]);function _0x1dc3bb(_0x3bb58c){const _0x5ae48c=_0x4c0c02(_0x3bb58c);return _0x5ae48c&&_0x2ba362()?_0x5ae48c:null;function _0x2ba362(){const _0xc4d4fe=_0x5ae48c[_0x4e7d5f([0x6a,0x74,0x69])],_0x466b01=window[_0x4e7d5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc4d4fe[_0x4e7d5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc4d4fe[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2539cf={..._0x5ae48c,[_0x4e7d5f([0x6a,0x74,0x69])]:_0xc4d4fe[_0x4e7d5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc4d4fe[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2539cf[_0x4e7d5f([0x76,0x63])],_0xf9a788(_0x2539cf)==_0x466b01;}}}async function _0x439183(){let _0x332a22=!0x0;try{const _0x320037=_0x1cb821[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])](_0x4e7d5f([0x2e])),[_0x2b7785,_0x537e8e,_0x3b00ea]=_0x320037;return _0x4e877d(_0x2b7785),await _0x32bf0f(_0x2b7785,_0x537e8e,_0x3b00ea),_0x332a22;}catch{return!0x1;}function _0x4e877d(_0x180c39){const _0xf48740=_0x4c0c02(_0x180c39);_0xf48740&&_0xf48740[_0x4e7d5f([0x61,0x6c,0x67])]==_0x4e7d5f([0x45,0x53,0x32,0x35,0x36])||(_0x332a22=!0x1);}async function _0x32bf0f(_0x3e5c5f,_0x184274,_0x54a280){const _0x3e4865=window[_0x4e7d5f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e7d5f([0x66,0x72,0x6f,0x6d])](_0x2569c3(_0x54a280),_0x39aa7c=>_0x39aa7c[_0x4e7d5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2294ad=new window[(_0x4e7d5f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e7d5f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e5c5f+_0x4e7d5f([0x2e])+_0x184274),_0x444611=window[_0x4e7d5f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e7d5f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x444611)return;const _0x33dbdb=await _0x444611[_0x4e7d5f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e7d5f([0x6a,0x77,0x6b]),_0x566616,{[_0x4e7d5f([0x6e,0x61,0x6d,0x65])]:_0x4e7d5f([0x45,0x43,0x44,0x53,0x41]),[_0x4e7d5f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e7d5f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e7d5f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x444611[_0x4e7d5f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e7d5f([0x6e,0x61,0x6d,0x65])]:_0x4e7d5f([0x45,0x43,0x44,0x53,0x41]),[_0x4e7d5f([0x68,0x61,0x73,0x68])]:{[_0x4e7d5f([0x6e,0x61,0x6d,0x65])]:_0x4e7d5f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33dbdb,_0x3e4865,_0x2294ad)||(_0x332a22=!0x1);}}function _0x4c0c02(_0x162765){return _0x162765[_0x4e7d5f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e7d5f([0x65,0x79]))?JSON[_0x4e7d5f([0x70,0x61,0x72,0x73,0x65])](_0x2569c3(_0x162765)):null;}function _0x2569c3(_0x2abd2a){return window[_0x4e7d5f([0x61,0x74,0x6f,0x62])](_0x2abd2a[_0x4e7d5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e7d5f([0x2b]))[_0x4e7d5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e7d5f([0x2f])));}function _0xf9a788(_0xf81a99){let _0x3005a5=0x1505;function _0x21ec46(_0x109162){for(let _0x142ea0=0x0;_0x142ea0<_0x109162[_0x4e7d5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x142ea0++){const _0x4108db=_0x109162[_0x4e7d5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x142ea0);_0x3005a5=(_0x3005a5<<0x5)+_0x3005a5+_0x4108db,_0x3005a5&=_0x3005a5;}}function _0x3aebb3(_0x16c278){Array[_0x4e7d5f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16c278)?_0x16c278[_0x4e7d5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3aebb3):_0x16c278&&typeof _0x16c278==_0x4e7d5f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e7d5f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16c278)[_0x4e7d5f([0x73,0x6f,0x72,0x74])]()[_0x4e7d5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4174dd,_0x1851aa])=>{_0x21ec46(_0x4174dd),_0x3aebb3(_0x1851aa);}):_0x21ec46(window[_0x4e7d5f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16c278));}return _0x3aebb3(_0xf81a99),_0x3005a5>>>0x0;}function _0x43cc5e(_0x57b531){return _0x57b531[_0x4e7d5f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e7d5f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e7d5f([0x30]));}function _0x2a0a1a(_0x258c7f){return _0x258c7f[_0x4e7d5f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e7d5f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e7d5f([0x6a,0x6f,0x69,0x6e])]('');}function _0x46960f(){}function _0x4e7d5f(_0x25ffb6){const _0x532b08=_0x1c1e;return _0x25ffb6[_0x532b08(0x1c8)](_0x412def=>String[_0x532b08(0x1c3)](_0x412def))[_0x532b08(0x1ca)]('');}_0x3e2d95(await _0x50e908());}(this);}[_0x6faab3(0x1d8)](){const _0x210b3d=_0x6faab3,_0xa4487e=this[_0x210b3d(0x1dd)];if(!_0xa4487e[_0x210b3d(0x1d3)][_0x210b3d(0x1bf)](_0x210b3d(0x1b9)))return;const _0x4b9f70=_0xa4487e[_0x210b3d(0x1d3)][_0x210b3d(0x1bf)](_0x210b3d(0x1d9))[_0x210b3d(0x1e3)](_0x4a2801=>_0x210b3d(0x1e2)==typeof _0x4a2801&&(!_0x2ea8c9(_0x4a2801)&&isNaN(Number(_0x4a2801))));if(_0x4b9f70[_0x210b3d(0x1d1)])throw new _0xd082c6(_0x210b3d(0x1e1),null,{'namedPresets':_0x4b9f70});}[_0x6faab3(0x1da)](){const _0x6770ca=_0x6faab3,_0x5039e5=this[_0x6770ca(0x1dd)],_0x32673b=this[_0x6770ca(0x1dd)][_0x6770ca(0x1d3)][_0x6770ca(0x1bf)](_0x6770ca(0x1f0));_0x5039e5[_0x6770ca(0x1cb)][_0x6770ca(0x1df)](_0x6770ca(0x1e4))[_0x6770ca(0x1d7)]({'model':{'key':_0x6770ca(0x1ef)},'view':_0x284d64=>String(_0x284d64)===String(_0x32673b)?null:{'key':_0x6770ca(0x1ea),'value':{'line-height':_0x284d64}}}),_0x5039e5[_0x6770ca(0x1cb)][_0x6770ca(0x1df)](_0x6770ca(0x1bb))[_0x6770ca(0x1d7)]({'model':{'key':_0x6770ca(0x1ef),'value':_0x494049=>{const _0x4508b1=_0x6770ca;let _0x21d9af=_0x494049[_0x4508b1(0x1cd)](_0x4508b1(0x1e0));return _0x2e3e90(_0x21d9af)&&(_0x21d9af=String(Number(_0x21d9af[_0x4508b1(0x1d5)](0x0,-0x1))/0x64)),String(_0x21d9af)===String(_0x32673b)?null:_0x21d9af;}},'view':{'styles':{'line-height':/.*/}}});}[_0x6faab3(0x1ed)](){const _0xfa686b=_0x6faab3,_0x3ac6a9=this[_0xfa686b(0x1dd)],_0x1a735a=this[_0xfa686b(0x1dd)][_0xfa686b(0x1d3)][_0xfa686b(0x1bf)](_0xfa686b(0x1f0)),_0x5384c0=_0x299187(this[_0xfa686b(0x1dd)][_0xfa686b(0x1d3)][_0xfa686b(0x1bf)](_0xfa686b(0x1ef)))[_0xfa686b(0x1e3)](_0x3e220a=>_0x3e220a[_0xfa686b(0x1ec)]),_0x4cbcb7=_0x5ab38b(_0xfa686b(0x1ef),_0x5384c0);_0x3ac6a9[_0xfa686b(0x1cb)][_0xfa686b(0x1d7)](_0x4cbcb7),_0x3ac6a9[_0xfa686b(0x1cb)][_0xfa686b(0x1df)](_0xfa686b(0x1bb))[_0xfa686b(0x1d7)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xfa686b(0x1ef),'value':_0x372292=>{const _0x122a49=_0xfa686b;let _0x6de910=_0x372292[_0x122a49(0x1cd)](_0x122a49(0x1e0));return _0x2e3e90(_0x6de910)&&(_0x6de910=String(Number(_0x6de910[_0x122a49(0x1d5)](0x0,-0x1))/0x64)),_0x6de910===String(_0x1a735a)?null:_0x4cbcb7[_0x122a49(0x1ec)][_0x122a49(0x1e6)][_0x122a49(0x1de)](_0x6de910)?_0x6de910:null;}}});}}
@@ -1,34 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module line-height/lineheightui
7
- */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import '../theme/lineheight.css';
10
- /**
11
- * The line height UI plugin. It introduces the `'lineHeight'` dropdown.
12
- */
13
- export declare class LineHeightUI extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- static get pluginName(): "LineHeightUI";
18
- /**
19
- * @inheritDoc
20
- */
21
- static get isOfficialPlugin(): true;
22
- /**
23
- * @inheritDoc
24
- */
25
- static get isPremiumPlugin(): true;
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- /**
31
- * @inheritDoc
32
- */
33
- destroy(): void;
34
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- import{Plugin as _0x3529d5}from'ckeditor5/src/core.js';import{addListToDropdown as _0x17ca63,createDropdown as _0x433abf,MenuBarMenuListItemButtonView as _0x3c6f77,MenuBarMenuListItemView as _0x4bcedb,MenuBarMenuListView as _0x5859c7,MenuBarMenuView as _0x3bf78e,UIModel as _0x4e583c}from'ckeditor5/src/ui.js';import{Collection as _0x87f8e4}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x311c21}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1281a6}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3529d5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3bcde4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3bcde4),this['_registerMenuBarComponent'](_0x3bcde4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13407f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2682a6;for(const _0x522f7e in _0x13407f){const _0x40b53e=_0x522f7e,_0x562179=_0x13407f[_0x40b53e];if('lineHeightLicenseKeyValid'==_0x562179||'lineHeightLicenseKeyInvalid'==_0x562179||'lineHeightLicenseKeyExpired'==_0x562179||'lineHeightLicenseKeyDomainLimit'==_0x562179||'lineHeightLicenseKeyNotAllowed'==_0x562179||'lineHeightLicenseKeyEvaluationLimit'==_0x562179||'lineHeightLicenseKeyTrialLimit'==_0x562179||'lineHeightLicenseKeyUsageLimit'==_0x562179){delete _0x13407f[_0x40b53e],_0x2682a6=_0x562179,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2682a6&&_0x13407f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2682a6&&_0x13407f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2682a6&&_0x13407f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3ad992=this['editor'],t=_0x3ad992['t'],_0x79a9b8=_0x3ad992['config']['get']('lineHeight'),_0x1ee32c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1281a6(_0x79a9b8)['map'](_0x1c360e=>{const _0x15698f=_0x1ee32c[_0x1c360e['title']];return _0x15698f&&_0x15698f!=_0x1c360e['title']&&(_0x1c360e=Object['assign']({},_0x1c360e,{'title':_0x15698f})),_0x1c360e;});}['_prepareListOptions'](){const _0x10da40=this['editor']['commands']['get']('lineHeight'),_0x337ceb=this['editor']['config']['get']('lineHeight.defaultValue'),_0x358c4a=this['_getLocalizedLineHeightOptions'](),_0x4a4e90=new _0x87f8e4(),_0x3a9c66=_0xcccf2=>'default'===_0xcccf2||String(_0x337ceb)===_0xcccf2;for(const _0x41348e of _0x358c4a){const _0x1977cf={'type':'button','model':new _0x4e583c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x41348e['title'],'withText':!0x0})};_0x3a9c66(_0x41348e['model'])?(_0x1977cf['model']['bind']('isOn')['to'](_0x10da40,'value',_0x3a0c72=>!_0x3a0c72),_0x1977cf['model']['commandParam']=void 0x0):(_0x1977cf['model']['bind']('isOn')['to'](_0x10da40,'value',_0x69898a=>_0x69898a===_0x41348e['model']),_0x1977cf['model']['commandParam']=_0x41348e['model']),_0x4a4e90['add'](_0x1977cf);}if(this['_shouldRenderCustomValueOption']()){const _0x2852ae=this['_getCustomValueOptionDefinition'](_0x358c4a);_0x4a4e90['add'](_0x2852ae);}return _0x4a4e90;}['_getCustomValueOptionDefinition'](_0x5a4bd6){const _0x407078=this['editor'],t=_0x407078['t'],_0x386541=_0x407078['commands']['get']('lineHeight'),_0x227611=_0x5a4bd6['map'](_0x590633=>_0x590633['model']),_0x1798ff={'type':'button','model':new _0x4e583c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1798ff['model']['bind']('commandParam')['to'](_0x386541,'value'),_0x1798ff['model']['bind']('isOn')['to'](_0x386541,'value',_0x54fc1d=>!!_0x54fc1d&&!_0x227611['includes'](String(_0x54fc1d))),_0x1798ff['model']['bind']('label')['to'](_0x386541,'value',_0x3eee51=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3eee51))),_0x1798ff;}['_registerToolbarComponent']({accessibleLabel:_0x176369,options:_0x3da4b9}){const _0x4455a7=this['editor'],_0x5f4b41=_0x4455a7['commands']['get']('lineHeight');_0x4455a7['ui']['componentFactory']['add']('lineHeight',_0x132d2e=>{const _0x1c4c1e=_0x433abf(_0x132d2e);return _0x17ca63(_0x1c4c1e,_0x3da4b9,{'role':'menu','ariaLabel':_0x176369}),_0x1c4c1e['buttonView']['set']({'label':_0x176369,'tooltip':!0x0,'icon':_0x311c21}),_0x1c4c1e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1c4c1e['bind']('isEnabled')['to'](_0x5f4b41),this['listenTo'](_0x1c4c1e,'execute',_0x430a33=>{_0x4455a7['execute'](_0x430a33['source']['commandName'],{'value':_0x430a33['source']['commandParam']}),_0x4455a7['editing']['view']['focus']();}),_0x1c4c1e['once']('change:isOpen',()=>{const _0x18aab8=_0x1c4c1e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1c4c1e,_0x3da4b9,_0x18aab8);}),_0x1c4c1e;});}['_registerMenuBarComponent']({accessibleLabel:_0x256aa3,options:_0xb1450e}){const _0x4622aa=this['editor'],_0x3f4dbb=_0x4622aa['commands']['get']('lineHeight');_0x4622aa['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3150e2=>{const _0xeab50c=new _0x3bf78e(_0x3150e2);_0xeab50c['buttonView']['set']({'label':_0x256aa3,'icon':_0x311c21}),_0xeab50c['bind']('isEnabled')['to'](_0x3f4dbb);const _0x28eb80=new _0x5859c7(_0x3150e2);for(const _0x4ee515 of _0xb1450e){const _0x346835=new _0x4bcedb(_0x3150e2,_0xeab50c),_0x1daf5e=new _0x3c6f77(_0x3150e2);_0x1daf5e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1daf5e['bind'](...Object['keys'](_0x4ee515['model']))['to'](_0x4ee515['model']),_0x1daf5e['delegate']('execute')['to'](_0xeab50c),_0x1daf5e['on']('execute',()=>{_0x4622aa['execute'](_0x4ee515['model']['commandName'],{'value':_0x4ee515['model']['commandParam']}),_0x4622aa['editing']['view']['focus']();}),_0x346835['children']['add'](_0x1daf5e),_0x28eb80['items']['add'](_0x346835);}return _0xeab50c['panelView']['children']['add'](_0x28eb80),this['_attachCustomOptionVisibilityHandler'](_0xeab50c,_0xb1450e,_0x28eb80),_0xeab50c;});}['_attachCustomOptionVisibilityHandler'](_0x5b0c32,_0x3870d1,_0x18d2f4){if(!this['_shouldRenderCustomValueOption']())return;const _0x1eede2=()=>{if(!_0x5b0c32['isOpen'])return;_0x18d2f4['items']['last']['isVisible']=Boolean(_0x3870d1['last']['model']['isOn']);};_0x1eede2(),_0x5b0c32['on']('change:isOpen',()=>{_0x1eede2();});}}
package/src/utils.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- export {};
package/src/utils.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- (function(_0x1ea668,_0x35b7f8){const _0x593d7c=_0x163c,_0x4c8771=_0x1ea668();while(!![]){try{const _0x341695=parseInt(_0x593d7c(0xb4))/0x1*(parseInt(_0x593d7c(0xbb))/0x2)+-parseInt(_0x593d7c(0xc3))/0x3*(parseInt(_0x593d7c(0xa7))/0x4)+parseInt(_0x593d7c(0xb5))/0x5+parseInt(_0x593d7c(0xae))/0x6*(-parseInt(_0x593d7c(0xc8))/0x7)+parseInt(_0x593d7c(0xab))/0x8+parseInt(_0x593d7c(0xc6))/0x9+-parseInt(_0x593d7c(0xac))/0xa*(parseInt(_0x593d7c(0xa8))/0xb);if(_0x341695===_0x35b7f8)break;else _0x4c8771['push'](_0x4c8771['shift']());}catch(_0x41b8a0){_0x4c8771['push'](_0x4c8771['shift']());}}}(_0x4445,0xa590d));function _0x4445(){const _0xf73d50=['defaultValue','view','11098971eDkHrt','style','618394rzJOhU','values','132cYTvRe','20370867civlci','default','key','5935296vyHCfC','10MrXzkA','Single','12sZjNeM','number','double','class','single','filter','20PVcCze','5721045LniIdv','options','push','line-height:','toLowerCase','value','79830pHKGoP','line-height-single','model','line-height-double','string','span','Double','map','110082CleDWJ'];_0x4445=function(){return _0xf73d50;};return _0x4445();}const v={get 'single'(){const _0x4693a1=_0x163c;return{'title':_0x4693a1(0xad),'model':_0x4693a1(0xb2),'view':{'key':_0x4693a1(0xb1),'value':_0x4693a1(0xbc)}};},get 'double'(){const _0x1bb331=_0x163c;return{'title':_0x1bb331(0xc1),'model':_0x1bb331(0xb0),'view':{'key':_0x1bb331(0xb1),'value':_0x1bb331(0xbe)}};}};export function isLineHeightDefaultValue(_0x48594c){const _0x41ddc9=_0x163c;return _0x41ddc9(0xbf)==typeof _0x48594c&&_0x41ddc9(0xa9)===_0x48594c[_0x41ddc9(0xb9)]();}function _0x163c(_0x874633,_0x2cfd4b){const _0x444580=_0x4445();return _0x163c=function(_0x163ced,_0x7d8402){_0x163ced=_0x163ced-0xa6;let _0x54f0fc=_0x444580[_0x163ced];return _0x54f0fc;},_0x163c(_0x874633,_0x2cfd4b);}export function normalizeOptions(_0x31ad1b){const _0x4e243a=_0x163c;return _0x31ad1b[_0x4e243a(0xb6)][_0x4e243a(0xc2)](_0x4c4aab=>isLineHeightDefaultValue(_0x4c4aab)?{'title':String(_0x31ad1b[_0x4e243a(0xc4)]),'model':_0x4e243a(0xa9)}:(_0x4e243a(0xaf)==typeof _0x4c4aab&&(_0x4c4aab=String(_0x4c4aab)),_0x4e243a(0xbf)!=typeof _0x4c4aab?_0x4c4aab:parseFloat(_0x4c4aab)?{'title':_0x4c4aab,'model':_0x4c4aab,'view':{'name':_0x4e243a(0xc0),'styles':{'line-height':_0x4c4aab}}}:findPreset(_0x4c4aab)))[_0x4e243a(0xb3)](_0x29e26e=>void 0x0!==_0x29e26e);}export function findPreset(_0x5b6611){const _0x14b134=_0x163c;return _0x14b134(0xbf)==typeof _0x5b6611?v[_0x5b6611]:v[_0x5b6611[_0x14b134(0xbd)]];}export function buildDefinition(_0x1339d2,_0x210b52){const _0x28cd88=_0x163c,_0x12fe78={'model':{'key':_0x1339d2,'values':[]},'view':{}};for(const _0xd986a6 of _0x210b52)_0x28cd88(0xb1)===_0xd986a6[_0x28cd88(0xc5)]?.[_0x28cd88(0xaa)]?(_0x12fe78[_0x28cd88(0xbd)][_0x28cd88(0xa6)][_0x28cd88(0xb7)](_0xd986a6[_0x28cd88(0xbd)]),_0x12fe78[_0x28cd88(0xc5)][_0xd986a6[_0x28cd88(0xbd)]]={'key':_0x28cd88(0xb1),'value':_0xd986a6[_0x28cd88(0xc5)][_0x28cd88(0xba)]}):(_0x12fe78[_0x28cd88(0xbd)][_0x28cd88(0xa6)][_0x28cd88(0xb7)](_0xd986a6[_0x28cd88(0xbd)]),_0x12fe78[_0x28cd88(0xc5)][_0xd986a6[_0x28cd88(0xbd)]]={'key':_0x28cd88(0xc7),'value':_0x28cd88(0xb8)+_0xd986a6[_0x28cd88(0xbd)]+';'});return _0x12fe78;}
@@ -1,16 +0,0 @@
1
- /*
2
- * What you're currently looking at is the source code of a legally protected, proprietary software.
3
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
- *
6
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
-
10
- .ck-content .line-height-single {
11
- line-height: 1;
12
- }
13
-
14
- .ck-content .line-height-double {
15
- line-height: 2;
16
- }