1import{PageElementBase as s}from"./CdQXFjpm.js";import{S as o}from"./BNATrUYe.js";import{t as n}from"./CATxlt2j.js";import"./CXTOca8g.js";import"./0xmjySIm.js";class e extends s{constructor(i="root",t){super(i,t),this.widgetType="ProfileMatches",this.widgetName="Matches",this.component="ProfileMatches",this.icon={icon:"matches",pack:"cms"},this.pseudoWidgetType="widget",this.theme="light",this.title="Last 5 Matches",this.count=5,this.options=o,this.buildContentFields=()=>[{heading:"Content",options:[{type:"input",attributeKey:"title"},{type:"number",attributeKey:"count"}]}],this.buildStyleFields=()=>[{heading:"Theme",options:[{type:"radio",subType:"list",attributeKey:"theme",options:[{label:"Light",id:"light"},{label:"Dark",id:"dark"},{label:"Accent",id:"club"}]}]}],this.getSidebarTabs=()=>[{name:"Layout",fields:this.buildLayoutFields(),disabled:!0},{name:"Content",fields:this.buildContentFields(),default:!0},{name:"Style",fields:this.buildStyleFields()}],Object.assign(this,n(t))}serializeElement(){return{...super.serializeBaseElement(),theme:this.theme,title:this.title,count:this.count,options:this.options}}duplicateElement(){return new e(this.parentID,{...this,uuid:void 0})}pageActionOverrides(){return{delete:{hidden:!0},copy:{hidden:!0}}}}export{e as default};
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.