1import{PageElementBase as a}from"./CdQXFjpm.js";import{G as e}from"./DA0pkXRu.js";import{t as s}from"./CATxlt2j.js";import{TypographyModel as r}from"./C8oKskU6.js";import"./CXTOca8g.js";import"./0xmjySIm.js";class i extends a{constructor(o="root",t){super(o,t),this.widgetType="MatchCentreFootballDefault",this.widgetName="Scoreboard",this.component="MatchCentreFootballDefault",this.icon={icon:"scores",pack:"cms",color:{value:"sky",shade:"200"}},this.pseudoWidgetType="widget",this.commentarySponsorImage=new e,this.commentaryGoalImage=new e,this.competitionIcon="crest-white-outline",this.scoreboardImage=new e,this.scoreboardGoalImage=new e,this.theme="dark",this.sidebarTheme="dark",this.titles=new r({content:void 0,tag:"h5",textTransform:"none",font:"primary"}),this.context="client",this.buildContentFields=()=>[],this.buildStyleFields=()=>[{heading:"Theme",options:[{type:"radio",subType:"list",attributeKey:"theme",options:[{label:"Light",id:"light"},{label:"Dark",id:"dark"},{label:"Accent",id:"club"}]}]},{heading:"Sidebar Theme",options:[{type:"radio",subType:"list",attributeKey:"sidebarTheme",options:[{label:"Light",id:"light"},{label:"Dark",id:"dark"},{label:"Accent",id:"club"}]}]},{heading:"Titles",options:[{type:"typography-input",attributeKey:["titles"],exclude:["content","clamp","size"]}]},{heading:"Competition Icon",options:[{type:"radio",subType:"list",attributeKey:"competitionIcon",options:[{label:"White outline",id:"crest-white-outline"},{label:"Black outline",id:"crest-black-outline"},{label:"Full Colour",id:"crest-full-colour"}]}]},{heading:"Assets",options:[{type:"image-picker",size:"xs",imageSlotLabel:"Scoreboard Default",tooltip:"Image Dimensions: 1920w x 1080h <br/><br/> Supported Files: jpg, png",attributeKey:["scoreboardImage"]},{type:"image-picker",size:"xs",imageSlotLabel:"Scoreboard Goal",tooltip:"Image Dimensions: 1920w x 1080h <br/><br/> Supported Files: jpg, png",attributeKey:["scoreboardGoalImage"]},{type:"image-picker",size:"xs",imageSlotLabel:"Goal Commentary",tooltip:"Image Dimensions: 1920w x 1080h <br/><br/> Supported Files: jpg, png",attributeKey:["commentaryGoalImage"]},{type:"image-picker",size:"xs",imageSlotLabel:"Goal Commentary Sponsor",tooltip:"Sponsor Image Fits a maximum height of 40px <br/><br/> Supported Files: jpg, png",attributeKey:["commentarySponsorImage"]}]}],this.getSidebarTabs=()=>[{name:"Layout",fields:this.buildLayoutFields(),disabled:!0},{name:"Content",fields:this.buildContentFields(),disabled:!0},{name:"Style",fields:this.buildStyleFields(),default:!0}],Object.assign(this,s(t))}serializeElement(){return{...super.serializeBaseElement(),competitionIcon:this.competitionIcon,theme:this.theme,sidebarTheme:this.sidebarTheme,commentarySponsorImage:this.commentarySponsorImage,commentaryGoalImage:this.commentaryGoalImage,scoreboardImage:this.scoreboardImage,scoreboardGoalImage:this.scoreboardGoalImage,titles:this.titles}}pageActionOverrides(){return{delete:{hidden:!0},copy:{hidden:!0},"move-up":{hidden:!0},"move-down":{hidden:!0}}}duplicateElement(){return new i(this.parentID,{...this,uuid:void 0})}}export{i 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.