PageSourceSearch

https://www.wtatennis.com/resources/v7.50.45/scripts/match-type-filter.js

js wtatennis.com collected 2026-09-24 15:22:54 UTC 1,023 bytes, 1 lines download raw bytes

1import{A as t,G as e}from"./bundle-es.js";import{F as r}from"./filter.js";import"./watch.js";import"./isEqual.js";import"./underscore.js";import"./_createSizePropertyCheck.js";import"./store.js";import"./index.js";import"./_commonjsHelpers.js";import"./tournament-player-service.js";import"./api-client.js";import"./content-api.js";import"./search-api.js";class s extends r{constructor(r){super("type",{defaultValue:r.querySelector(`.js-type-filter.${t}`).dataset.type,ignoreInCount:!0},r),this.container=r;const s=this.container.querySelectorAll(".js-type-filter");e(s,this.onButtonClick.bind(this))}onButtonClick(e){const r=this.container.querySelector(`.js-type-filter.${t}`);r?.classList.remove(t),e.currentTarget.classList.add(t),super.change(e.currentTarget.dataset.type)}updateUI(e){const r=e||"",s=this.container.querySelector(`.js-type-filter[data-type="${r}"]`);if(s){const e=this.container.querySelector(`.js-type-filter.${t}`);return e?.classList.remove(t),s.classList.add(t),!0}return!1}}export{s 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.