PageSourceSearch

https://www.sportsbettingdime.com/app/themes/bramble/public/build/assets/app-CGDNglZW.js

js sportsbettingdime.com collected 2026-10-02 03:38:49 UTC 13,058 bytes, 1 lines download raw bytes

1const E=e=>e.toLowerCase().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-");function F(){window._srwc&&typeof window._srwc.setConfig=="function"&&window._srwc.setConfig({apiUrlBase:window.location.origin,"player-props":{generateLinkToMatchup:()=>null},generateLinkToMatchup:e=>{var r,a,d,w,s,i,m,g;let t=(e==null?void 0:e.league)||"",o=E(((a=(r=e==null?void 0:e.competitors)==null?void 0:r.home)==null?void 0:a.name)||""),n=E(((w=(d=e==null?void 0:e.competitors)==null?void 0:d.away)==null?void 0:w.name)||"");if((t==="ncaafb"||t==="ncaamb")&&(o=E(((i=(s=e==null?void 0:e.competitors)==null?void 0:s.home)==null?void 0:i.market)||""),n=E(((g=(m=e==null?void 0:e.competitors)==null?void 0:m.away)==null?void 0:g.market)||"")),t=t==="ncaafb"?"college-football":t,t=t==="ncaamb"?"college-basketball":t,o&&n&&t){const[p,v]=[o,n].sort();return`${window.location.origin}/${t}/odds/matchup/${p}-vs-${v}/`.toLowerCase()}return"/"}}),window.generateMatchupLink=function(e){var r,a,d,w;let t="",o="",n=e.league?e.league.toLowerCase():"";if(n===""&&e._id){const s=e._id.match(/-(NFL|NBA|NHL|MLB|NCAAB|NCAAF)-/g);Array.isArray(s)&&s.length===1&&(n=s[0].replace(/-/g,"").toLowerCase())}if((r=e==null?void 0:e.home)!=null&&r.name&&((a=e==null?void 0:e.away)!=null&&a.name)){const s=n==="ncaab"||n==="ncaaf"?e.home.market:e.home.name,i=n==="ncaab"||n==="ncaaf"?e.away.market:e.away.name;t=E(s),o=E(i)}else if((d=e==null?void 0:e.home)!=null&&d.team&&((w=e==null?void 0:e.away)!=null&&w.team)){const s=n==="ncaab"||n==="ncaaf"?e.home.stageName:e.home.team,i=n==="ncaab"||n==="ncaaf"?e.away.stageName:e.away.team;t=E(s),o=E(i)}if(n=n=="ncaaf"?"college-football":n,n=n=="ncaab"?"college-basketball":n,t&&o){const s=t<o?t:o,i=t>o?t:o;return`/${n}/odds/matchup/${s}-vs-${i}/`}return"/"}}const H=300;function R(){var e;(e=document.getElementById("global-nav-drawer-slide"))==null||e.addEventListener("click",function(t){if(!(t.target instanceof Element))return;const o=t.target.closest("li.menu-list-item");if(!o)return;const n=o.getAttribute("data-open")==="true",r=t.target.closest(".drawer-menu-previous-button"),a=o.querySelector(".drawer-menu-item");n&&!r||a&&W(a,o)})}function W(e,t){e.classList.contains("hidden")?$(e,t):z(e,t)}function $(e,t){e.classList.remove("hidden"),t.setAttribute("data-open","true"),requestAnimationFrame(()=>e.classList.add("translate-x-full"))}function z(e,t){t.setAttribute("data-open","false"),e.classList.remove("translate-x-full"),setTimeout(()=>e.classList.add("hidden"),H)}function U(){document.querySelectorAll("[data-tabs]").forEach(e=>{e.addEventListener("click",t=>{t.target.classList.contains("tab")&&V(t,e)})})}function V(e,t){const o=e.target,n=o.getAttribute("data-tab-index");t.querySelectorAll(".tab").forEach(a=>a.classList.remove("tab-active")),o.classList.add("tab-active","tab-active-animate"),t.querySelectorAll("[data-tab-content-index]").forEach(a=>{a.classList.add("hidden"),a.classList.remove("block")});const r=t.querySelector(`[data-tab-content-index="${n}"]`);r&&(r.classList.remove("hidden"),r.classList.add("block"))}function K(){var e;(e=document.querySelector("#news-category-select"))==null||e.addEventListener("change",t=>{const o=t.target;window.location.href=o.value})}const G=()=>{document.addEventListener("operator_click",e=>{var o;const t=e;if((o=t==null?void 0:t.detail)!=null&&o.context){const{bet_type:n,prop:r,brand:a}=t.detail.context,d={event:t.detail.event,market:n||r,operator:a};dataLayer.push(d)}})},J={tag:"bet-bonus",impression:{selector:".bet-bonus",once:!0,threshold:.25,dimensions:{shortcodeId:{attr:"id"},variant:"bonus offer"}},clicks:[{selector:".bet-bonus a",action:"operator-click",category:"bet-shortcodes",nameFromHref:!0,componentScope:!1,dimensions:{shortcodeId:{attr:"id",from:".bet-bonus"},component:"bet-bonus",variant:"bonus offer"}}]},Q=Object.freeze(Object.defineProperty({__proto__:null,tracking:J},Symbol.toStringTag,{value:"Module"})),X={tag:"bet-promo",impression:{selector:".bet-promo",once:!0,threshold:.25,dimensions:{shortcodeId:{attr:"id"},variant:"promo offer"}},clicks:[{selector:".bet-promo a",action:"operator-click",category:"bet-shortcodes",nameFromHref:!0,componentScope:!1,dimensions:{shortcodeId:{attr:"id",from:".bet-promo"},component:"bet-promo",variant:"promo offer"}}]},Y=Object.freeze(Object.defineProperty({__proto__:null,tracking:X},Symbol.toStringTag,{value:"Module"})),Z={tag:"bet-tabs",impression:{selector:".bet-tabs",once:!0,threshold:.25,dimensions:{shortcodeId:{attr:"id"},variant:"tabs comparison"}},clicks:[{selector:".bet-tabs a",action:"operator-click",category:"bet-shortcodes",nameFromHref:!0,componentScope:!1,dimensions:{shortcodeId:{attr:"id",from:".bet-tabs"},component:"bet-tabs",variant:"tabs comparison"},predicate:e=>!e.classList.contains("review")}]},ee=Object.freeze(Object.defineProperty({__proto__:null,tracking:Z},Symbol.toStringTag,{value:"Module"})),te={tag:"srwc-best-odds-dialog-content",impression:{once:!0,threshold:.25}
1},oe=Object.freeze(Object.defineProperty({__proto__:null,tracking:te},Symbol.toStringTag,{value:"Module"})),ne={tag:"srwc-odds-table",impression:{once:!0,threshold:.25}},re=Object.freeze(Object.defineProperty({__proto__:null,tracking:ne},Symbol.toStringTag,{value:"Module"}));async function se(){const e=Object.assign({"./bet-bonus.ts":Q,"./bet-promo.ts":Y,"./bet-tabs.ts":ee,"./srwc-best-odds-dialog-content.ts":oe,"./srwc-odds-table.ts":re}),t=[];for(const[o,n]of Object.entries(e)){if(o.endsWith("registry.ts"))continue;const r=n.tracking;r&&(Array.isArray(r)?r.forEach(a=>a&&a.tag&&t.push(a)):r.tag&&t.push(r))}return t}function D(){return window._paq||(window._paq=[]),window._paq}function ae(e,t){const o=["trackContentImpression",e,t];D().push(o)}function ie(e,t,o,n){const r=["trackEvent",e,t];o&&r.push(o),D().push(r)}function N(...e){D().push(e)}function ce(e,t={}){const o=new WeakSet,n=new MutationObserver(w),r=new Map;function a(s,i,m,g){if(r.has(s))return r.get(s);const p=new IntersectionObserver(_=>{_.forEach(T=>{var S,f;if(!T.isIntersecting)return;const k=T.target,h={component:g.tag};if((S=g.impression)!=null&&S.dimensions){for(const[u,b]of Object.entries(g.impression.dimensions))if(typeof b=="string")h[u]=b;else if(b){if(b.constant)h[u]=b.constant;else if(b.attr)h[u]=k.getAttribute(b.attr)||void 0;else if(b.selector){const C=k.querySelector(b.selector);C&&(h[u]=((f=C.textContent)==null?void 0:f.trim())||void 0)}}}h.author||N("deleteCustomDimension",1),Object.entries(h).forEach(([u,b])=>{b&&u==="component"&&N("setCustomDimension",2,b)}),ae(s,window.location.href),Object.entries(h).forEach(([u])=>{u==="component"&&N("deleteCustomDimension",2)}),m&&p.unobserve(k)})},{threshold:i}),v={observer:p,once:m,def:g};return r.set(s,v),v}function d(){e.forEach(s=>{const i=s.impression,m=(i==null?void 0:i.selector)||s.tag,g=(i==null?void 0:i.threshold)??t.globalThreshold??.25,p=(i==null?void 0:i.once)??!0,{observer:v}=a(m,g,p,s);document.querySelectorAll(m).forEach(_=>{o.has(_)||(v.observe(_),o.add(_))})})}function w(s){for(const i of s)i.addedNodes.forEach(m=>{m instanceof HTMLElement&&e.forEach(g=>{var v,_,T;const p=((v=g.impression)==null?void 0:v.selector)||g.tag;if((_=m.matches)!=null&&_.call(m,p)){const k=r.get(p);k&&!o.has(m)&&(k.observer.observe(m),o.add(m))}(T=m.querySelectorAll)==null||T.call(m,p).forEach(k=>{const h=r.get(p);h&&!o.has(k)&&(h.observer.observe(k),o.add(k))})})})}return d(),n.observe(document.documentElement,{childList:!0,subtree:!0}),()=>{n.disconnect(),r.forEach(s=>s.observer.disconnect()),r.clear()}}const P=new WeakMap;function le(e,t){if(!e)return;let o=e;for(;o&&!o.hasAttribute("books");){const a=o.getRootNode();a&&"host"in a&&a.host?o=a.host:o=o.parentElement}if(!o)return;let n;try{n=new URL(t,document.location.origin).href}catch{return}let r=P.get(o);if(!r){r=new Map;const a=o.getAttribute("books");if(a)try{const d=JSON.parse(a);for(const w of d)if(w.clickUrl)try{const s=new URL(w.clickUrl,document.location.origin);r.set(s.href,w.id)}catch{}}catch{}P.set(o,r)}return r.get(n)}function de(e,t){if(t===e)return!0;const o=e.getRootNode();if(o&&"host"in o&&o.host===t)return!0;let n=e;for(;n;){if(n===t)return!0;n=n.parentElement,!n&&o&&"host"in o&&(n=o.host)}return!1}function fe(e,t={}){const o=t.defaultCategory||"Component",n=t.globalCategory,r=t.dimensions||{},a=new WeakSet;function d(w){var p,v,_,T,k;const s=Date.now(),i=100,m=w.target;if(!m||a.has(w))return;a.add(w);const g=w.composedPath&&w.composedPath()||[m];for(const h of e){if(!h.clicks||!h.tag)continue;let S=null;for(const f of g)if(f instanceof HTMLElement&&f.tagName.toLowerCase()===h.tag){S=f;break}for(const f of h.clicks){let u=null;const b=f.selector.split(">").map(c=>c.trim()),C=b[b.length-1];for(const c of g){if(Date.now()-s>i)return;if(c instanceof HTMLElement&&!(f.componentScope&&(!S||!de(c,S))))try{if(!c.matches(C))continue;if(b.length===1){u=c;break}let l=c,y=!0;for(let M=b.length-1;M>=0&&l;M--){const x=b[M];if(!l.matches(x)){y=!1;break}if(l=l.parentElement,!l&&M>0){const j=c.getRootNode();if(j&&"host"in j&&j.host){y=!1;break}}}if(y){u=c;break}}catch{continue}}if(!u)continue;const O=f.action,I=n||f.category||o;if(f.predicate&&!f.predicate(u))continue;const L=le(S,u.href||"");let q="";if(f.nameText)q=f.nameText;else if(f.nameFromHref&&u instanceof HTMLAnchorElement){const c=(u.href||"").match(/\/([^/]+)\/?$/);q=c?c[1]:""}else if(f.nameSelector){let c=u;if(f.nameSelectorFrom&&(c=u.closest(f.nameSelectorFrom)),c){const l=c.querySelector(f.nameSelector);l&&(q=l.getAttribute("alt")||l.getAttribute("title")||((p=l.textContent)==null?void 0:p.trim())||"")}}else f.variantAttr&&u.hasAttribute(f.variantAttr)&&(q=u.getAttribute(f.variantAttr)||"");q||(q=((v=u.textContent)==null?void 0:v.trim())||"");const A={component:h.tag,actionType:O,bookId:L};if(f.dimensions){for(const[c,l]of Object.entries(f.dimensions))if(typeof l=="string")A[c]=l;else if(l){if(l.constant)A[c]=l.constant;else if(l.attr){let y=null;l.from?y=u.closest(l.from):S&&S.hasAttribute(l.attr)?y=S:y=u,y&&y.hasAttribute(l.attr)&&(A[c]=y.getAttribute(l.attr)||void 0)}else if(l.selector){const y=u.querySelector(l.selector);y&&(A[c]=((_=y.textContent)==null?void 0:_.trim())||void 0)}}}if(!A.author){const c=((T=document.querySelector('meta[name="author"]'))==null?void 0:T.getAttribute("content"))||"no-author";A.author=c}if(!A.contentBucket){const c=((k=document.querySelector('meta[name="bucket-type"]'))==null?void 0:k.getAttribute("content"))||"no-bucket";A.contentBucket=c}Object.entries(A).forEach(([c,l])=>{if(!l)return;const y=r[c];typeof y=="number"&&N("setCustomDimensionValue",y,l)}),ie(I,O,q),Object.entries(A).forEach(([c,l])=>{if(!l)return;const y=r[c];typeof y=="number"&&N("deleteCustomDimension",y)});return}}}return document.addEventListener("click",d),()=>document.removeEventListener("click",d)}const ue={author:1,component:2,affiliate:void 0,variant:3,contentBucket:4,actionType:void 0,league:5,bookId:6,shortcodeId:void 0};function me(e){return{...ue,...e||{}}}async function be(e={}){const{impressionThreshold:t,globalCategory:o,dimensionIds:n,debug:r=!0}=e;window._paq=window._paq||[];const a=await se();ce(a,{globalThreshold:t});const d=me(n);fe(a,{globalCategory:o,dimensions:d,defaultCategory:"Component"}),document.addEventListener("operator_click",w=>{var _,T,k,h,S,f,u,b,C;const s=w,i=s.detail,m=((_=i==null?void 0:i.context)==null?void 0:_.operator)||"unknown";let g=((T=i==null?void 0:i.context)==null?void 0:T.element)||"";if(!g&&s.target){const O=s.target,I=((k=s.composedPath)==null?void 0:k.call(s))||[O];for(const L of I)if(L instanceof HTMLElement&&L.tagName.startsWith("SRWC-")){g=L.tagName.toLowerCase();break}}const p=((h=document.querySelector('meta[name="author"]'))==null?void 0:h.getAttribute("content"))||"no-author";
1typeof d.author=="number"&&((S=window._paq)==null||S.push(["setCustomDimensionValue",d.author,p]));const v=((f=document.querySelector('meta[name="bucket-type"]'))==null?void 0:f.getAttribute("content"))||"no-bucket";typeof d.contentBucket=="number"&&((u=window._paq)==null||u.push(["setCustomDimensionValue",d.contentBucket,v])),g&&typeof d.component=="number"&&((b=window._paq)==null||b.push(["setCustomDimensionValue",d.component,g])),(C=window._paq)==null||C.push(["trackEvent","srwc-click","operator-click",m]),setTimeout(()=>{var O,I,L;typeof d.author=="number"&&((O=window._paq)==null||O.push(["deleteCustomDimension",d.author])),typeof d.contentBucket=="number"&&((I=window._paq)==null||I.push(["deleteCustomDimension",d.contentBucket])),typeof d.component=="number"&&((L=window._paq)==null||L.push(["deleteCustomDimension",d.component]))},50)})}function B(){if(window.__SAS_PIWIK_BOOTSTRAPPED__)return;window.__SAS_PIWIK_BOOTSTRAPPED__=!0;const e=window.SAS_PIWIK_OPTS||{};e.impressionThreshold==null&&(e.impressionThreshold=.25),e.debug==null&&(e.debug=!0),be(e).catch(t=>{console.error("[sas-piwik-web] ❌ Bootstrap failed",t)})}document.readyState==="complete"||document.readyState==="interactive"?queueMicrotask(B):document.addEventListener("DOMContentLoaded",B,{once:!0});F();R();K();U();G();

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.