import{Command as ae,Plugin as h}from"@ckeditor/ckeditor5-core";import{ColorSelectorView as T,createDropdown as S,addListToDropdown as L,MenuBarMenuView as z,MenuBarMenuListView as E,MenuBarMenuListItemView as _,MenuBarMenuListItemButtonView as D,UIModel as I,normalizeColorOptions as ce,getLocalizedColorOptions as ue,focusChildOnDropdownOpen as me}from"@ckeditor/ckeditor5-ui";import{Collection as $,CKEditorError as U}from"@ckeditor/ckeditor5-utils";import{IconFontFamily as R,IconFontSize as G,IconFontColor as de,IconFontBackground as fe}from"@ckeditor/ckeditor5-icons";import{isLengthStyleValue as pe,isPercentageStyleValue as ge,addBackgroundStylesRules as be}from"@ckeditor/ckeditor5-engine";/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class C extends ae{attributeKey;constructor(e,o){super(e),this.attributeKey=o}refresh(){const e=this.editor.model,o=e.document;this.value=o.selection.getAttribute(this.attributeKey),this.isEnabled=e.schema.checkAttributeInSelection(o.selection,this.attributeKey)}execute(e={}){const o=this.editor.model,i=o.document.selection,r=e.value,c=e.batch,l=s=>{if(i.isCollapsed)r?s.setSelectionAttribute(this.attributeKey,r):s.removeSelectionAttribute(this.attributeKey);else{const u=o.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const m of u)r?s.setAttribute(this.attributeKey,r,m):s.removeAttribute(this.attributeKey,m)}};c?o.enqueueChange(c,s=>{l(s)}):o.change(s=>{l(s)})}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/const p="fontSize",g="fontFamily",w="fontColor",y="fontBackgroundColor";function O(t,e){const o={model:{key:t,values:[]},view:{},upcastAlso:{}};for(const n of e)o.model.values.push(n.model),o.view[n.model]=n.view,n.upcastAlso&&(o.upcastAlso[n.model]=n.upcastAlso);return o}function k(t){return e=>he(e.getStyle(t))}function N(t){return(e,{writer:o})=>o.createAttributeElement("span",{style:`${t}:${e}`},{priority:7})}function M({dropdownView:t,colors:e,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:r,documentColorsCount:c,colorPickerViewConfig:l}){const s=t.locale,u=new T(s,{colors:e,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:r,documentColorsCount:c,colorPickerViewConfig:l});return t.colorSelectorView=u,t.panelView.children.add(u),u}function he(t){return t.replace(/\s/g,"")}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class K extends C{constructor(e){super(e,g)}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/function A(t){return t.map(we).filter(e=>e!==void 0)}function V(t){return t.replace(/["']/g,"").split(",").map(e=>e.trim())}function we(t){if(typeof t=="object")return t;if(t==="default")return{title:"Default",model:void 0};if(typeof t=="string")return ye(t)}function ye(t){const e=V(t),o=e[0],n=e.map(ve).join(", ");return{title:o,model:n,view:{name:"span",styles:{"font-family":n},priority:7}}}function ve(t){return t=t.trim(),t.indexOf(" ")>0&&(t=`'${t}'`),t}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class q extends h{static get pluginName(){return"FontFamilyEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(g,{options:["default","Arial, Helvetica, sans-serif","Courier New, Courier, monospace","Georgia, serif","Lucida Sans Unicode, Lucida Grande, sans-serif","Tahoma, Geneva, sans-serif","Times New Roman, Times, serif","Trebuchet MS, Helvetica, sans-serif","Verdana, Geneva, sans-serif"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:g}),e.model.schema.setAttributeProperties(g,{isFormatting:!0,copyOnEnter:!0});const o=A(e.config.get("fontFamily.options")).filter(i=>i.model),n=O(g,o);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(n),e.commands.add(g,new K(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:g,view:(o,{writer:n})=>n.createAttributeElement("span",{style:"font-family:"+o},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:g,value:o=>o.getStyle("font-family")},view:{name:"span",styles:{"font-family":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{face:/.*/}},model:{key:g,value:o=>o.getAttribute("face")}})}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class j extends h{static get pluginName(){return"FontFamilyUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,o=e.t,n=this._getLocalizedOptions(),i=e.commands.get(g),r=o("Font Family"),c=Ce(n,i);e.ui.componentFactory.add(g,l=>{const s=S(l);return L(s,c,{role:"menu",ariaLabel:r}),s.buttonView.set({label:r,icon:R,tooltip:!0}),s.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),s.bind("isEnabled").to(i),this.listenTo(s,"execute",u=>{e.execute(u.source.commandName,{value:u.source.commandParam}),e.editing.view.focus()}),s}),e.ui.componentFactory.add(`menuBar:${g}`,l=>{const s=new z(l);s.buttonView.set({label:r,icon:R}),s.bind("isEnabled").to(i);const u=new E(l);for(const m of c){const a=new _(l,s),d=new D(l);d.set({role:"menuitemradio",isToggleable:!0}),d.bind(...Object.keys(m.model)).to(m.model),d.delegate("execute").to(s),d.on("execute",()=>{e.execute(m.model.commandName,{value:m.model.commandParam}),e.editing.view.focus()}),a.children.add(d),u.items.add(a)}return s.panelView.children.add(u),s})}_getLocalizedOptions(){const e=this.editor,o=e.t;return A(e.config.get(g).options).map(i=>(i.title==="Default"&&(i.title=o("Default")),i))}}function Ce(t,e){const o=new $;for(const n of t){const i={type:"button",model:new I({commandName:g,commandParam:n.model,label:n.title,role:"menuitemradio",withText:!0})};i.model.bind("isOn").to(e,"value",r=>{if(r===n.model)return!0;if(!r||!n.model)return!1;const c=V(r)[0].toLowerCase(),l=V(n.model)[0].toLowerCase();return c===l}),n.view&&typeof n.view!="string"&&n.view.styles&&i.model.set("labelStyle",`font-family: ${n.view.styles["font-family"]}`),o.add(i)}return o}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class H extends h{static get requires(){return[q,j]}static get pluginName(){return"FontFamily"}static get isOfficialPlugin(){return!0}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class Y extends C{constructor(e){super(e,p)}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/function F(t){return t.map(e=>Fe(e)).filter(e=>e!==void 0)}const W={get tiny(){return{title:"Tiny",model:"tiny",view:{name:"span",classes:"text-tiny",priority:7}}},get small(){return{title:"Small",model:"small",view:{name:"span",classes:"text-small",priority:7}}},get big(){return{title:"Big",model:"big",view:{name:"span",classes:"text-big",priority:7}}},get huge(){return{title:"Huge",model:"huge",view:{name:"span",classes:"text-huge",priority:7}}}};function Fe(t){if(typeof t=="number"&&(t=String(t)),typeof t=="object"&&ze(t))return B(t);const e=Se(t);if(e)return B(e);if(t==="default")return{model:void 0,title:"Default"};if(!Oe(t))return xe(t)}function xe(t){return typeof t=="string"&&(t={title:t,model:`${parseFloat(t)}px`}),t.view={name:"span",styles:{"font-size":t.model}},B(t)}function B(t){return t.view&&typeof t.view!="string"&&!t.view.priority&&(t.view.priority=7),t}function Se(t){return typeof t=="string"?W[t]:W[t.model]}function ze(t){return t.title&&t.model&&t.view}function Oe(t){let e;if(typeof t=="object")if(t.model)e=parseFloat(t.model);else throw new U("font-size-invalid-definition",null,t);else e=parseFloat(t);return isNaN(e)}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/const Z=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class J extends h{static get pluginName(){return"FontSizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(p,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:p}),e.model.schema.setAttributeProperties(p,{isFormatting:!0,copyOnEnter:!0});const o=e.config.get("fontSize.supportAllValues"),n=F(this.editor.config.get("fontSize.options")).filter(r=>r.model),i=O(p,n);o?(this._prepareAnyValueConverters(i),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(i),e.commands.add(p,new Y(e))}_prepareAnyValueConverters(e){const o=this.editor,n=e.model.values.filter(i=>!pe(String(i))&&!ge(String(i)));if(n.length)throw new U("font-size-invalid-use-of-named-presets",null,{presets:n});o.conversion.for("downcast").attributeToElement({model:p,view:(i,{writer:r})=>{if(i)return r.createAttributeElement("span",{style:"font-size:"+i},{priority:7})}}),o.conversion.for("upcast").elementToAttribute({model:{key:p,value:i=>i.getStyle("font-size")},view:{name:"span",styles:{"font-size":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{size:/^[+-]?\d{1,3}$/}},model:{key:p,value:o=>{const n=o.getAttribute("size"),i=n[0]==="-"||n[0]==="+";let r=parseInt(n,10);i&&(r=3+r);const c=Z.length-1,l=Math.min(Math.max(r,0),c);return Z[l]}}})}}function ke(t,{insertAt:e}={}){if(typeof document>"u")return;const o=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",window.litNonce&&n.setAttribute("nonce",window.litNonce),e==="top"&&o.firstChild?o.insertBefore(n,o.firstChild):o.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}ke(":root{--ck-content-font-size-tiny:0.7em;--ck-content-font-size-small:0.85em;--ck-content-font-size-big:1.4em;--ck-content-font-size-huge:1.8em}.ck-content .text-tiny{font-size:var(--ck-content-font-size-tiny)}.ck-content .text-small{font-size:var(--ck-content-font-size-small)}.ck-content .text-big{font-size:var(--ck-content-font-size-big)}.ck-content .text-huge{font-size:var(--ck-content-font-size-huge)}");/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class Q extends h{static get pluginName(){return"FontSizeUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,o=e.t,n=this._getLocalizedOptions(),i=e.commands.get(p),r=o("Font Size"),c=Ne(n,i);e.ui.componentFactory.add(p,l=>{const s=S(l);return L(s,c,{role:"menu",ariaLabel:r}),s.buttonView.set({label:r,icon:G,tooltip:!0}),s.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),s.bind("isEnabled").to(i),this.listenTo(s,"execute",u=>{e.execute(u.source.commandName,{value:u.source.commandParam}),e.editing.view.focus()}),s}),e.ui.componentFactory.add(`menuBar:${p}`,l=>{const s=new z(l);s.buttonView.set({label:r,icon:G}),s.bind("isEnabled").to(i);const u=new E(l);for(const m of c){const a=new _(l,s),d=new D(l);d.set({role:"menuitemradio",isToggleable:!0}),d.bind(...Object.keys(m.model)).to(m.model),d.delegate("execute").to(s),d.on("execute",()=>{e.execute(m.model.commandName,{value:m.model.commandParam}),e.editing.view.focus()}),a.children.add(d),u.items.add(a)}return s.panelView.children.add(u),s})}_getLocalizedOptions(){const e=this.editor,o=e.t,n={Default:o("Default"),Tiny:o("Tiny"),Small:o("Small"),Big:o("Big"),Huge:o("Huge")};return F(e.config.get(p).options).map(r=>{const c=n[r.title];return c&&c!=r.title&&(r=Object.assign({},r,{title:c})),r})}}function Ne(t,e){const o=new $;for(const n of t){const i={type:"button",model:new I({commandName:p,commandParam:n.model,label:n.title,class:"ck-fontsize-option",role:"menuitemradio",withText:!0})};n.view&&typeof n.view!="string"&&(n.view.styles&&i.model.set("labelStyle",`font-size:${n.view.styles["font-size"]}`),n.view.classes&&i.model.set("class",`${i.model.class} ${n.view.classes}`)),i.model.bind("isOn").to(e,"value",r=>r===n.model),o.add(i)}return o}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class X extends h{static get requires(){return[J,Q]}static get pluginName(){return"FontSize"}static get isOfficialPlugin(){return!0}normalizeSizeOptions(e){return F(e)}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class ee extends C{constructor(e){super(e,w)}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class te extends h{static get pluginName(){return"FontColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(w,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{color:/[\s\S]+/}},model:{key:w,value:k("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:w,value:o=>o.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:w,view:N("color")}),e.commands.add(w,new ee(e)),e.model.schema.extend("$text",{allowAttributes:w}),e.model.schema.setAttributeProperties(w,{isFormatting:!0,copyOnEnter:!0})}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class P extends h{commandName;componentName;icon;dropdownLabel;columns;constructor(e,{commandName:o,componentName:n,icon:i,dropdownLabel:r}){super(e),this.commandName=o,this.componentName=n,this.icon=i,this.dropdownLabel=r,this.columns=e.config.get(`${this.componentName}.columns`)}init(){const e=this.editor,o=e.locale,n=o.t,i=e.commands.get(this.commandName),r=e.config.get(this.componentName),c=ce(r.colors),l=ue(o,c),s=r.documentColors,u=r.colorPicker!==!1;e.ui.componentFactory.add(this.componentName,m=>{const a=S(m);let d=!1;const f=M({dropdownView:a,colors:l.map(b=>({label:b.label,color:b.model,options:{hasBorder:b.hasBorder}})),columns:this.columns,removeButtonLabel:n("Remove color"),colorPickerLabel:n("Color picker"),documentColorsLabel:s!==0?n("Document colors"):"",documentColorsCount:s===void 0?this.columns:s,colorPickerViewConfig:u?r.colorPicker||{}:!1});return f.bind("selectedColor").to(i,"value"),a.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),a.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),a.bind("isEnabled").to(i),f.on("execute",(b,v)=>{a.isOpen&&e.execute(this.commandName,{value:v.value,batch:this._undoStepBatch}),v.source!=="colorPicker"&&e.editing.view.focus(),v.source==="colorPickerSaveButton"&&(a.isOpen=!1)}),f.on("colorPicker:show",()=>{this._undoStepBatch=e.model.createBatch()}),f.on("colorPicker:cancel",()=>{this._undoStepBatch.operations.length&&(a.isOpen=!1,e.execute("undo",this._undoStepBatch)),e.editing.view.focus()}),a.on("change:isOpen",(b,v,x)=>{d||(d=!0,a.colorSelectorView.appendUI()),x&&(s!==0&&f.updateDocumentColors(e.model,this.componentName),f.updateSelectedColors(),f.showColorGridsFragment())}),me(a,()=>a.colorSelectorView.colorGridsFragmentView.staticColorsGrid.items.find(b=>b.isOn)),a}),e.ui.componentFactory.add(`menuBar:${this.componentName}`,m=>{const a=new z(m);a.buttonView.set({label:this.dropdownLabel,icon:this.icon}),a.bind("isEnabled").to(i);let d=!1;const f=new T(m,{colors:l.map(b=>({label:b.label,color:b.model,options:{hasBorder:b.hasBorder}})),columns:this.columns,removeButtonLabel:n("Remove color"),colorPickerLabel:n("Color picker"),documentColorsLabel:s!==0?n("Document colors"):"",documentColorsCount:s===void 0?this.columns:s,colorPickerViewConfig:!1});return f.bind("selectedColor").to(i,"value"),f.delegate("execute").to(a),f.on("execute",(b,v)=>{e.execute(this.commandName,{value:v.value,batch:this._undoStepBatch}),e.editing.view.focus()}),a.on("change:isOpen",(b,v,x)=>{d||(d=!0,f.appendUI()),x&&(s!==0&&f.updateDocumentColors(e.model,this.componentName),f.updateSelectedColors(),f.showColorGridsFragment())}),a.panelView.children.add(f),a})}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class oe extends P{constructor(e){const o=e.locale.t;super(e,{commandName:w,componentName:w,icon:de,dropdownLabel:o("Font Color")})}static get pluginName(){return"FontColorUI"}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class ne extends h{static get requires(){return[te,oe]}static get pluginName(){return"FontColor"}static get isOfficialPlugin(){return!0}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class ie extends C{constructor(e){super(e,y)}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class se extends h{static get pluginName(){return"FontBackgroundColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(y,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.data.addStyleProcessorRules(be),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:y,value:k("background-color")}}),e.conversion.for("downcast").attributeToElement({model:y,view:N("background-color")}),e.commands.add(y,new ie(e)),e.model.schema.extend("$text",{allowAttributes:y}),e.model.schema.setAttributeProperties(y,{isFormatting:!0,copyOnEnter:!0})}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class re extends P{constructor(e){const o=e.locale.t;super(e,{commandName:y,componentName:y,icon:fe,dropdownLabel:o("Font Background Color")})}static get pluginName(){return"FontBackgroundColorUI"}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class le extends h{static get requires(){return[se,re]}static get pluginName(){return"FontBackgroundColor"}static get isOfficialPlugin(){return!0}}/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/class Ae extends h{static get requires(){return[H,X,ne,le]}static get pluginName(){return"Font"}static get isOfficialPlugin(){return!0}}export{Ae as Font,le as FontBackgroundColor,ie as FontBackgroundColorCommand,se as FontBackgroundColorEditing,re as FontBackgroundColorUI,ne as FontColor,ee as FontColorCommand,te as FontColorEditing,oe as FontColorUI,P as FontColorUIBase,C as FontCommand,H as FontFamily,K as FontFamilyCommand,q as FontFamilyEditing,j as FontFamilyUI,X as FontSize,Y as FontSizeCommand,J as FontSizeEditing,Q as FontSizeUI,M as _addFontColorSelectorToDropdown,O as _buildFontDefinition,A as _normalizeFontFamilyOptions,F as _normalizeFontSizeOptions,N as _renderDowncastFontElement,k as _renderUpcastFontColorAttribute};
