PageSourceSearch

https://www.wiganwarriors.com/_nuxt/BzbYzoe3.js

js wiganwarriors.com collected 2026-10-02 11:15:19 UTC 2,867 bytes, 1 lines download raw bytes

1import{PageElementBase as l}from"./CTfzp0o-.js";import{TypographyModel as r}from"./C8oKskU6.js";import{z as o,C as g}from"./BVTKzqvz.js";import{d}from"./ghde6Rcn.js";import"./CATxlt2j.js";import"./CXTOca8g.js";import"./0xmjySIm.js";class h extends l{constructor(s="root",e){super(s,e),this.widgetType="ParticipantRankings",this.widgetName="Participant Rankings",this.component="WidgetParticipantRankings",this.icon={icon:"ranking-table",pack:"cms"},this.pseudoWidgetType="widget",this.rankings=void 0,this.cols=[{title:"",id:"playerPosition"},{title:"",id:"title"},{title:"Prize Money",id:"prizeMoney"}],this.receiveImageFromMediaLibrary=a=>{this.highlightedPlayerBackground.image={...this.highlightedPlayerBackground,image:a}},this.buildLayoutFields=()=>[{heading:"Highlight Top Player",options:[{type:"switch",label:"When set to active, the top rank is highlighted",attributeKey:["highlightTopPlayer"]}]}],this.buildContentFields=()=>{const{$gc:a}=o();return[{heading:"Table Type",options:[{type:"select",attributeKey:["tableType"],placeholder:"Select Table Type",items:this.rankings?this.rankings:a().darts.web().getRankings().then(i=>(!this.tableType&&i.data.length&&(this.tableType=i.data[0].id),this.rankings=i.data.map(t=>({name:t.attributes.name,id:t.id})),i.data.map(t=>({name:t.attributes.name,id:t.id}))))},{type:"switch",label:"Table Shows All Tables",attributeKey:"showAllTables"}]}]},this.buildStyleFields=()=>[{heading:"Theme",options:[{type:"radio",subType:"list",options:[{label:"Light",id:"light"},{label:"Dark",id:"dark"},{label:"Accent",id:"club"}],attributeKey:["theme"]}]},{heading:"Highlighted Player Background",toggleable:!0,toggleAttributeKey:["showHighlightedPlayerBackground"],options:[{type:"background-selector",attributeKey:["highlightedPlayerBackground"]}]}],this.getSidebarTabs=()=>[{name:"Layout",fields:this.buildLayoutFields()},{name:"Content",fields:this.buildContentFields()},{name:"Style",fields:this.buildStyleFields()}],this.title=(e==null?void 0:e.title)||new r,this.theme=(e==null?void 0:e.theme)||"light",this.highlightTopPlayer=(e==null?void 0:e.highlightTopPlayer)||!1,this.highlightedPlayerBackground=(e==null?void 0:e.highlightedPlayerBackground)||g({color:{value:"primary",shade:500},image:""}),this.showHighlightedPlayerBackground=(e==null?void 0:e.showHighlightedPlayerBackground)||!1,this.showAllTables=(e==null?void 0:e.showAllTables)||!1,this.tableType=e==null?void 0:e.tableType}serializeElement(){return{...this.serializeBaseElement(),cols:this.cols,title:this.title,theme:this.theme,highlightTopPlayer:this.highlightTopPlayer,highlightedPlayerBackground:this.highlightedPlayerBackground,showHighlightedPlayerBackground:this.showHighlightedPlayerBackground,showAllTables:this.showAllTables,tableType:this.tableType}}duplicateElement(){return new h(this.parentID,d({...this,uuid:void 0}))}}export{h 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.