PageSourceSearch

https://santacruceradeaguas.com/o/frontend-editor-ckeditor-web/__l…/@ckeditor$ckeditor5-style$dist$index.js.js

js santacruceradeaguas.com collected 2026-10-06 09:34:36 UTC 22,762 bytes, 11 lines download raw bytes

1import{Accessibility as Y,Command as I,CommandCollection as X,Context as Z,ContextPlugin as ee,EditingKeystrokeHandler as te,Editor as re,ElementApiMixin as oe,MultiCommand as ie,PendingActions as se,Plugin as m,_DEFAULT_ACCESSIBILITY_GROUP_ID as ne,_getEditorUsageData as le,attachToForm as ae,secureSourceElement as fe}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-core$dist$index.js.js";import{AccessibilityHelp as me,AccessibilityHelpContentView as ue,AriaLiveAnnouncer as de,AriaLiveAnnouncerPoliteness as he,AriaLiveAnnouncerRegionView as xe,AriaLiveAnnouncerView as ge,AutocompleteView as ye,Badge as we,BalloonPanelView as be,BalloonToolbar as Se,BlockButtonView as ke,BlockToolbar as _e,BodyCollection as Ve,BoxedEditorUIView as Ae,ButtonLabelView as Be,ButtonLabelWithHighlightView as Ce,ButtonView as D,CollapsibleView as Te,ColorGridView as Ie,ColorGridsFragmentView as De,ColorPickerFragmentView as Ee,ColorPickerInputRowView as Fe,ColorPickerView as ve,ColorSelectorView as Le,ColorTileView as Me,ComponentFactory as Ue,ContextualBalloon as Pe,CssTransitionDisablerMixin as Re,DefaultMenuBarItems as Oe,Dialog as Ne,DialogActionsView as He,DialogContentView as Ge,DialogView as We,DialogViewPosition as ze,DocumentColorCollection as je,DraggableViewMixin as qe,DropdownButtonView as Ke,DropdownMenuButtonView as $e,DropdownMenuListItemButtonView as Je,DropdownMenuListItemView as Qe,DropdownMenuListView as Ye,DropdownMenuNestedMenuPanelView as Xe,DropdownMenuNestedMenuView as Ze,DropdownMenuPanelPositioningFunctions as et,DropdownMenuRootListView as tt,DropdownPanelView as rt,DropdownView as ot,EditableUIView as it,EditorUI as st,EditorUIView as nt,EvaluationBadge as lt,FileDialogButtonView as at,FileDialogListItemButtonView as ft,FileDialogViewMixin as ct,FocusCycler as E,FormHeaderView as pt,FormRowView as mt,HighlightedTextView as ut,IconView as dt,IframeView as ht,InlineEditableUIView as xt,InputBase as gt,InputNumberView as yt,InputTextView as wt,InputView as bt,ItemsView as St,LabelView as F,LabelWithHighlightView as kt,LabeledFieldView as _t,LabeledInputView as Vt,ListItemButtonView as At,ListItemGroupView as Bt,ListItemView as Ct,ListSeparatorView as Tt,ListView as It,MenuBarMenuButtonView as Dt,MenuBarMenuListItemButtonView as Et,MenuBarMenuListItemFileDialogButtonView as Ft,MenuBarMenuListItemView as vt,MenuBarMenuListView as Lt,MenuBarMenuPanelView as Mt,MenuBarMenuView as Ut,MenuBarView as Pt,NESTED_TOOLBAR_ICONS as Rt,Notification as Ot,PoweredBy as Nt,SearchInfoView as Ht,SearchResultsView as Gt,SearchTextView as Wt,SliderView as zt,SpinnerView as jt,SplitButtonView as qt,StickyPanelView as Kt,SwitchButtonView as $t,Template as Jt,TextareaView as Qt,ToolbarLineBreakView as Yt,ToolbarSeparatorView as Xt,ToolbarView as Zt,TooltipManager as er,UIModel as tr,View as d,ViewCollection as v,ViewModel as rr,_CheckIconHolderView as or,_CollapsibleView as ir,_ContextualBalloonRotatorView as sr,_DropdownMenuBehaviors as nr,_DropdownRootMenuBehaviors as lr,_MenuBarBehaviors as ar,_MenuBarMenuBehaviors as fr,_MenuBarMenuViewPanelPositioningFunctions as cr,_SearchInfoView as pr,_SearchTextQueryView as mr,_TemplateBinding as ur,_TemplateIfBinding as dr,_TemplateToBinding as hr,_convertColor as xr,_convertColorToHex as gr,_preventUiViewDefault as yr,_processMenuBarConfig as wr,_registerCustomElement as br,_tryNormalizeHexColor as Sr,addKeyboardHandlingForGrid as L,addListToDropdown as kr,addMenuToDropdown as _r,addToolbarToDropdown as Vr,clickOutsideHandler as Ar,createDropdown as M,createLabeledDropdown as Br,createLabeledInputNumber as Cr,createLabeledInputText as Tr,createLabeledTextarea as Ir,filterGroupAndItemNames as Dr,focusChildOnDropdownOpen as Er,getLocalizedColorOptions as Fr,isFocusable as vr,isViewWithFocusCycler as Lr,normalizeColorOptions as Mr,normalizeMenuBarConfig as Ur,normalizeSingleColorDefinition as Pr,normalizeToolbarConfig as Rr,submitHandler as Or}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-ui$dist$index.js.js";import{CKEditorError as Gr,Collection as Wr,Config as zr,DOCUMENTATION_URL as jr,DomEmitterMixin as qr,ElementReplacer as Kr,EmitterMixin as $r,EventInfo as Jr,FocusTracker as A,KeystrokeHandler as B,Locale as Qr,ObservableMixin as Yr,Rect as Xr,Re
vendor: 17,612 bytes, line 1
1sizeObserver as Zr,_clearTranslations as eo,_getEmitterId as to,_getEmitterListenedTo as ro,_getUserAgent as oo,_isAndroid as io,_isBlink as so,_isGecko as no,_isMac as lo,_isMediaForcedColors as ao,_isMotionReduced as fo,_isRegExpUnicodePropertySupported as co,_isSafari as po,_isWindows as mo,_isiOS as uo,_setEmitterId as ho,_translate as xo,_unifyTranslations as go,abortableDebounce as yo,add as wo,areConnectedThroughProperties as bo,collectStylesheets as So,compareArrays as ko,count as _o,crc32 as Vo,createElement as Ao,delay as Bo,diff as Co,diffToChanges as To,env as Io,exponentialDelay as Do,fastDiff as Eo,findClosestScrollableAncestor as Fo,first as U,formatHtml as vo,getAncestors as Lo,getBorderWidths as Mo,getCode as Uo,getCommonAncestor as Po,getDataFromElement as Ro,getEnvKeystrokeText as Oo,getLanguageDirection as No,getLocalizedArrowKeyCodeDirection as Ho,getOptimalPosition as Go,getPositionedAncestor as Wo,getRangeFromMouseEvent as zo,getVisualViewportOffset as jo,global as qo,indexOf as Ko,insertAt as $o,insertToPriorityArray as Jo,isArrowKeyCode as Qo,isCombiningMark as Yo,isComment as Xo,isForwardArrowKeyCode as Zo,isHighSurrogateHalf as ei,isInsideCombinedSymbol as ti,isInsideEmojiSequence as ri,isInsideSurrogatePair as oi,isIterable as ii,isLowSurrogateHalf as si,isNode as ni,isRange as li,isText as ai,isValidAttributeName as fi,isViewWithFocusTracker as ci,isVisible as pi,isWindow as mi,keyCodes as ui,logError as di,logWarning as P,mapsEqual as hi,nth as xi,objectToMap as gi,parseBase64EncodedObject as yi,parseKeystroke as wi,priorities as bi,releaseDate as Si,remove as ki,retry as _i,scrollAncestorsToShowTarget as Vi,scrollViewportToShowTarget as Ai,setDataInElement as Bi,spliceArray as Ci,spy as Ti,toArray as Ii,toMap as Di,toUnit as Ei,uid as Fi,version as vi,wait as Li}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-utils$dist$index.js.js";function C(s){return s!==null&&(typeof s=="object"||typeof s=="function")}import{Delete as Ni,DeleteCommand as Hi,Input as Gi,InsertTextCommand as Wi,TextTransformation as zi,TextWatcher as ji,TwoStepCaretMovement as qi,Typing as Ki,TypingChangeBuffer as $i,_DeleteObserver as Ji,findAttributeRange as R,findAttributeRangeBound as O,getLastTextLine as Qi,inlineHighlight as Yi}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-typing$dist$index.js.js";var x=class extends D{styleDefinition;previewView;constructor(e,t){super(e),this.styleDefinition=t,this.previewView=this._createPreview(),this.set({label:t.name,class:"ck-style-grid__button",withText:!0}),this.extendTemplate({attributes:{role:"option"}}),this.children.add(this.previewView,0)}_createPreview(){let e=new d(this.locale);return e.setTemplate({tag:"div",attributes:{class:["ck","ck-reset_all-excluded","ck-style-grid__button__preview","ck-content"],"aria-hidden":"true"},children:[this.styleDefinition.previewTemplate]}),e}},g=class extends d{focusTracker;keystrokes;children;constructor(e,t){super(e),this.focusTracker=new A,this.keystrokes=new B,this.set("activeStyles",[]),this.set("enabledStyles",[]),this.children=this.createCollection(),this.children.delegate("execute").to(this);for(let r of t){let o=new x(e,r);this.children.add(o)}this.on("change:activeStyles",()=>{for(let r of this.children)r.isOn=this.activeStyles.includes(r.styleDefinition.name)}),this.on("change:enabledStyles",()=>{for(let r of this.children)r.isEnabled=this.enabledStyles.includes(r.styleDefinition.name)}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-grid"],role:"listbox"},children:this.children})}render(){super.render();for(let e of this.children)this.focusTracker.add(e.element);L({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.children,numberOfColumns:3,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection}),this.keystrokes.listenTo(this.element)}focus(){this.children.first.focus()}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}},h=class extends d{gridView;labelView;constructor(e,t,r){super(e),this.labelView=new F(e),this.labelView.text=t,this.gridView=new g(e,r),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-panel__style-group"],role:"group","aria-labelledby":this.labelView.id},children:[this.labelView,this.gridView]})}},y=class extends d{focusTracker;keystrokes;children;blockStylesGroupView;inlineStylesGroupView;_focusables;_focusCycler;constructor(e,t){super(e);let r=e.t;this.focusTracker=new A,this.keystrokes=new B,this.children=this.createCollection(),this.blockStylesGroupView=new h(e,r("Block styles"),t.block),this.inlineStylesGroupView=new h(e,r("Text styles"),t.inline),this.set("activeStyles",[]),this.set("enabledStyles",[]),this._focusables=new v,this._focusCycler=new E({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:["shift + tab"],focusNext:["tab"]}}),t.block.length&&this.children.add(this.blockStylesGroupView),t.inline.length&&this.children.add(this.inlineStylesGroupView),this.blockStylesGroupView.gridView.delegate("execute").to(this),this.inlineStylesGroupView.gridView.delegate("execute").to(this),this.blockStylesGroupView.gridView.bind("activeStyles","enabledStyles").to(this,"activeStyles","enabledStyles"),this.inlineStylesGroupView.gridView.bind("activeStyles","enabledStyles").to(this,"activeStyles","enabledStyles"),this.setTemplate({tag:"div",attributes:{class:["ck","ck-style-panel"]},children:this.children})}render(){super.render(),this._focusables.add(this.blockStylesGroupView.gridView),this._focusables.add(this.inlineStylesGroupView.gridView),this.focusTracker.add(this.blockStylesGroupView.gridView.element),this.focusTracker.add(this.inlineStylesGroupView.gridView.element),this.keystrokes.listenTo(this.element)}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}},G=["caption","colgroup","dd","dt","figcaption","legend","li","optgroup","option","rp","rt","summary","tbody","td","tfoot","th","thead","tr"],c=class extends m{_htmlSupport;static get pluginName(){return"StyleUtils"}static get isOfficialPlugin(){return!0}constructor(e){super(e),this.decorate("isStyleEnabledForBlock"),this.decorate("isStyleActiveForBlock"),this.decorate("getAffectedBlocks"),this.decorate("isStyleEnabledForInlineSelection"),this.decorate("isStyleActiveForInlineSelection"),this.decorate("getAffectedInlineSelectable"),this.decorate("getStylePreview"),this.decorate("configureGHSDataFilter")}init(){this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport")}normalizeConfig(e,t=[]){let r={block:[],inline:[]};for(let o of t){let i=[],l=[];for(let n of e.getDefinitionsForView(o.element)){let p="appliesToBlock"in n?n.appliesToBlock:!1;if(n.isBlock||p){if(typeof p=="string")i.push(p);else if(n.isBlock){let f=n;i.push(n.model),f.paragraphLikeModel&&i.push(f.paragraphLikeModel)}}else l.push(n.model)}let a=this.getStylePreview(o,[{text:"AaBbCcDdEeFfGgHhIiJj"}]);i.length?r.block.push({...o,previewTemplate:a,modelElements:i,isBlock:!0}):r.inline.push({...o,previewTemplate:a,ghsAttributes:l})}return r}isStyleEnabledForBlock(e,t){let r=this.editor.model,o=this._htmlSupport.getGhsAttributeNameForElement(e.element);return r.schema.checkAttribute(t,o)?e.modelElements.includes(t.name):!1}isStyleActiveForBlock(e,t){let r=this._htmlSupport.getGhsAttributeNameForElement(e.element),o=t.getAttribute(r);return this.hasAllClasses(o,e.classes)}getAffectedBlocks(e,t){return e.modelElements.includes(t.name)?[t]:null}isStyleEnabledForInlineSelection(e,t){let r=this.editor.model;for(let o of e.ghsAttributes)if(r.schema.checkAttributeInSelection(t,o))return!0;return!1}isStyleActiveForInlineSelection(e,t){for(let r of e.ghsAttributes){let o=this._getValueFromFirstAllowedNode(t,r);if(this.hasAllClasses(o,e.classes))return!0}return!1}getAffectedInlineSelectable(e,t){return t}getStylePreview(e,t){let{element:r,classes:o}=e;return{tag:z(r)?r:"div",attributes:{class:o},children:t}}hasAllClasses(e,t){return C(e)&&W(e)&&t.every(r=>e.classes.includes(r))}configureGHSDataFilter({block:e,inline:t}){let r=this.editor.plugins.get("DataFilter");r.loadAllowedConfig(e.map(N)),r.loadAllowedConfig(t.map(N))}_getValueFromFirstAllowedNode(e,t){let o=this.editor.model.schema;if(e.isCollapsed)return e.getAttribute(t);for(let i of e.getRanges())for(let l of i.getItems())if(o.checkAttribute(l,t))return l.getAttribute(t);return null}};function W(s){return!!s.classes&&Array.isArray(s.classes)}function z(s){return!G.includes(s)}function N({element:s,classes:e}){return{name:s,classes:e}}var w=class extends m{static get pluginName(){return"StyleUI"}static get isOfficialPlugin(){return!0}static get requires(){return[c]}init(){let e=this.editor,t=e.plugins.get("DataSchema"),r=e.plugins.get("StyleUtils"),o=e.config.get("style.definitions"),i=r.normalizeConfig(t,o);e.ui.componentFactory.add("style",l=>{let a=l.t,n=M(l),p=e.commands.get("style");return n.once("change:isOpen",()=>{let f=new y(l,i);n.panelView.children.add(f),f.delegate("execute").to(n),f.bind("activeStyles").to(p,"value"),f.bind("enabledStyles").to(p,"enabledStyles")}),n.bind("isEnabled").to(p),n.buttonView.withText=!0,n.buttonView.bind("label").to(p,"value",f=>f.length>1?a("Multiple styles"):f.length===1?f[0]:a("Styles")),n.bind("class").to(p,"value",f=>{let u=["ck-style-dropdown"];return f.length>1&&u.push("ck-style-dropdown_multiple-active"),u.join(" ")}),n.on("execute",f=>{e.execute("style",{styleName:f.source.styleDefinition.name}),e.editing.view.focus()}),n})}},b=class extends I{_styleDefinitions;_styleUtils;constructor(e,t){super(e),this.set("value",[]),this.set("enabledStyles",[]),this._styleDefinitions=t,this._styleUtils=this.editor.plugins.get(c)}refresh(){let e=this.editor.model,t=e.document.selection,r=new Set,o=new Set;for(let l of this._styleDefinitions.inline)this._styleUtils.isStyleEnabledForInlineSelection(l,t)&&o.add(l.name),this._styleUtils.isStyleActiveForInlineSelection(l,t)&&r.add(l.name);let i=U(t.getSelectedBlocks())||t.getFirstPosition().parent;if(i){let l=i.getAncestors({includeSelf:!0,parentFirst:!0});for(let a of l){if(a.is("rootElement"))break;for(let n of this._styleDefinitions.block)this._styleUtils.isStyleEnabledForBlock(n,a)&&(o.add(n.name),this._styleUtils.isStyleActiveForBlock(n,a)&&r.add(n.name));if(e.schema.isObject(a))break}}this.enabledStyles=Array.from(o).sort(),this.isEnabled=this.enabledStyles.length>0,this.value=this.isEnabled?Array.from(r).sort():[]}execute({styleName:e,forceValue:t}){if(!this.enabledStyles.includes(e)){P("style-command-executed-with-incorrect-style-name");return}let r=this.editor.model,o=r.document.selection,i=this.editor.plugins.get("GeneralHtmlSupport"),l=[...this._styleDefinitions.inline,...this._styleDefinitions.block],a=l.filter(({name:f})=>this.value.includes(f)),n=l.find(({name:f})=>f==e),p=t===void 0?!this.value.includes(n.name):t;r.change(()=>{let f;q(n)?f=this._findAffectedBlocks(K(o),n):f=[this._styleUtils.getAffectedInlineSelectable(n,o)];for(let u of f)p?i.addModelHtmlClass(n.element,n.classes,u):i.removeModelHtmlClass(n.element,j(a,n),u)})}_findAffectedBlocks(e,t){let r=new Set;for(let o of e){let i=o.getAncestors({includeSelf:!0,parentFirst:!0});for(let l of i){if(l.is("rootElement"))break;let a=this._styleUtils.getAffectedBlocks(t,l);if(a){for(let n of a)r.add(n);break}}}return r}};function j(s,e){return s.reduce((t,r)=>r.name===e.name?t:t.filter(o=>!r.classes.includes(o)),e.classes)}function q(s){return"isBlock"in s}function K(s){let e=Array.from(s.getSelectedBlocks());return e.length?e:[s.getFirstPosition().parent]}var S=class extends m{_listUtils;_styleUtils;_htmlSupport;static get pluginName(){return"ListStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[c,"GeneralHtmlSupport"]}init(){let e=this.editor;e.plugins.has("ListEditing")&&(this._styleUtils=e.plugins.get(c),this._listUtils=this.editor.plugins.get("ListUtils"),this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport"),this.listenTo(this._styleUtils,"isStyleEnabledForBlock",(t,[r,o])=>{this._isStyleEnabledForBlock(r,o)&&(t.return=!0,t.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"isStyleActiveForBlock",(t,[r,o])=>{this._isStyleActiveForBlock(r,o)&&(t.return=!0,t.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedBlocks",(t,[r,o])=>{let i=this._getAffectedBlocks(r,o);i&&(t.return=i,t.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"getStylePreview",(t,[r,o])=>{let i=this._getStylePreview(r,o);i&&(t.return=i,t.stop())},{priority:"high"}))}_isStyleEnabledForBlock(e,t){let r=this.editor.model;if(!["ol","ul","li"].includes(e.element)||!this._listUtils.isListItemBlock(t))return!1;let o=this._htmlSupport.getGhsAttributeNameForElement(e.element);if(e.element=="ol"||e.element=="ul"){if(!r.schema.checkAttribute(t,o))return!1;let l=this._listUtils.isNumberedListType(t.getAttribute("listType"))?"ol":"ul";return e.element==l}else return r.schema.checkAttribute(t,o)}_isStyleActiveForBlock(e,t){let r=this._htmlSupport.getGhsAttributeNameForElement(e.element),o=t.getAttribute(r);return this._styleUtils.hasAllClasses(o,e.classes)}_getAffectedBlocks(e,t){return this._isStyleEnabledForBlock(e,t)?e.element=="li"?this._listUtils.expandListBlocksToCompleteItems(t,{withNested:!1}):this._listUtils.expandListBlocksToCompleteList(t):null}_getStylePreview(e,t){let{element:r,classes:o}=e;return r=="ol"||r=="ul"?{tag:r,attributes:{class:o},children:[{tag:"li",children:t}]}:r=="li"?{tag:"ol",children:[{tag:r,attributes:{class:o},children:t}]}:null}},k=class extends m{_tableUtils;_styleUtils;static get pluginName(){return"TableStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[c]}init(){let e=this.editor;e.plugins.has("TableEditing")&&(this._styleUtils=e.plugins.get(c),this._tableUtils=this.editor.plugins.get("TableUtils"),this.listenTo(this._styleUtils,"isStyleEnabledForBlock",(t,[r,o])=>{this._isApplicable(r,o)&&(t.return=this._isStyleEnabledForBlock(r,o),t.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedBlocks",(t,[r,o])=>{this._isApplicable(r,o)&&(t.return=this._getAffectedBlocks(r,o),t.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"configureGHSDataFilter",(t,[{block:r}])=>{this.editor.plugins.get("DataFilter").loadAllowedConfig(r.filter(i=>i.element=="figcaption").map(i=>({name:"caption",classes:i.classes})))}))}_isApplicable(e,t){return["td","th"].includes(e.element)?t.name=="tableCell":["thead","tbody"].includes(e.element)?t.name=="table":!1}_isStyleEnabledForBlock(e,t){if(["td","th"].includes(e.element)){let r=this._tableUtils.getCellLocation(t),i=t.parent.parent,l=i.getAttribute("headingRows")||0,a=i.getAttribute("headingColumns")||0,n=r.row<l||r.column<a;return e.element=="th"?n:!n}if(["thead","tbody"].includes(e.element)){let r=t.getAttribute("headingRows")||0;return e.element=="thead"?r>0:r<this._tableUtils.getRows(t)}return!1}_getAffectedBlocks(e,t){return this._isStyleEnabledForBlock(e,t)?[t]:null}},_=class extends m{_styleUtils;_htmlSupport;static get pluginName(){return"LinkStyleSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[c,"GeneralHtmlSupport"]}init(){let e=this.editor;e.plugins.has("LinkEditing")&&(this._styleUtils=e.plugins.get(c),this._htmlSupport=this.editor.plugins.get("GeneralHtmlSupport"),this.listenTo(this._styleUtils,"isStyleEnabledForInlineSelection",(t,[r,o])=>{r.element=="a"&&(t.return=this._isStyleEnabled(r,o),t.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"isStyleActiveForInlineSelection",(t,[r,o])=>{r.element=="a"&&(t.return=this._isStyleActive(r,o),t.stop())},{priority:"high"}),this.listenTo(this._styleUtils,"getAffectedInlineSelectable",(t,[r,o])=>{if(r.element!="a")return;let i=this._getAffectedSelectable(r,o);i&&(t.return=i,t.stop())},{priority:"high"}))}_isStyleEnabled(e,t){let r=this.editor.model;if(t.isCollapsed)return t.hasAttribute("linkHref");for(let o of t.getRanges())for(let i of o.getItems())if((i.is("$textProxy")||r.schema.isInline(i))&&i.hasAttribute("linkHref"))return!0;return!1}_isStyleActive(e,t){let r=this.editor.model,o=this._htmlSupport.getGhsAttributeNameForElement(e.element);if(t.isCollapsed){if(t.hasAttribute("linkHref")){let i=t.getAttribute(o);if(this._styleUtils.hasAllClasses(i,e.classes))return!0}return!1}for(let i of t.getRanges())for(let l of i.getItems())if((l.is("$textProxy")||r.schema.isInline(l))&&l.hasAttribute("linkHref")){let a=l.getAttribute(o);return this._styleUtils.hasAllClasses(a,e.classes)}return!1}_getAffectedSelectable(e,t){let r=this.editor.model;if(t.isCollapsed){let i=t.getAttribute("linkHref");return R(t.getFirstPosition(),"linkHref",i,r)}let o=[];for(let i of t.getRanges()){let l=r.createRange(H(i.start,"linkHref",!0,r),H(i.end,"linkHref",!1,r));for(let a of l.getItems())(a.is("$textProxy")||r.schema.isInline(a))&&a.hasAttribute("linkHref")&&o.push(this.editor.model.createRangeOn(a))}return $(o)}};function H(s,e,t,r){let o=s.textNode||(t?s.nodeAfter:s.nodeBefore);if(!o||!o.hasAttribute(e))return s;let i=o.getAttribute(e);return O(s,e,i,t,r)}function $(s){for(let e=1;e<s.length;e++){let t=s[e-1].getJoined(s[e]);t&&s.splice(--e,2,t)}return s}var V=class extends m{static get pluginName(){return"StyleEditing"}static get isOfficialPlugin(){return!0}static get requires(){return["GeneralHtmlSupport",c,S,k,_]}init(){let e=this.editor,t=e.plugins.get("DataSchema"),r=e.plugins.get("StyleUtils"),o=e.config.get("style.definitions"),i=r.normalizeConfig(t,o);
1e.commands.add("style",new b(e,i)),r.configureGHSDataFilter(i)}},T=class extends m{static get pluginName(){return"Style"}static get isOfficialPlugin(){return!0}static get requires(){return[V,w]}};export{_ as LinkStyleSupport,S as ListStyleSupport,T as Style,b as StyleCommand,V as StyleEditing,w as StyleUI,c as StyleUtils,k as TableStyleSupport,x as _StyleGridButtonView,g as _StyleGridView,h as _StyleGroupView,y as _StylePanelView};
2/*! Bundled license information:
3
4@ckeditor/ckeditor5-style/dist/index.js:
5  (**
6   * @license 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  (* istanbul ignore next -- @preserve *)
10*/
11//# sourceMappingURL=@ckeditor$ckeditor5-style$dist$index.js.(YOGT4XBS).js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.