vendor: 4,877 bytes, line 1
1"use strict";(globalThis.webpackChunkswrc_plugin=globalThis.webpackChunkswrc_plugin||[]).push([[629],{652:(e,t,n)=>{n.d(t,{s:()=>r});const r='<svg preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M22.1 16.64 15.093 4.504c-1.144-2.005-4.038-2.005-5.179 0L2.904 16.64c-1.145 2.005.28 4.496 2.589 4.496h13.993c2.31 0 3.759-2.516 2.614-4.496zm-9.6 1.803c-.61 0-1.116-.506-1.116-1.115 0-.61.506-1.116 1.116-1.116.609 0 1.115.506 1.09 1.144.03.58-.506 1.087-1.09 1.087zm1.017-7.212c-.05.864-.103 1.725-.153 2.59-.024.279-.024.534-.024.81a.84.84 0 0 1-.84.811.822.822 0 0 1-.84-.786c-.074-1.346-.152-2.668-.226-4.014-.025-.354-.05-.712-.079-1.066 0-.585.33-1.067.865-1.219a1.12 1.12 0 0 1 1.297.634c.078.177.103.354.103.56-.025.564-.079 1.124-.103 1.68z" fill="currentColor"/>\n</svg>\n'},629:(e,t,n)=>{n.r(t),n.d(t,{MatchupBar:()=>V});var r=n(948),o=n(72),i=n(652),a=n(311),s=n(637),c=n(655);function l(e){return"number"==typeof e}function u(e){return"string"==typeof e}function d(e){return"boolean"==typeof e}function f(e){return"[object Object]"===Object.prototype.toString.call(e)}function p(e){return Math.abs(e)}function h(e){return Math.sign(e)}function m(e,t){return p(e-t)}function g(e){return y(e).map(Number)}function b(e){return e[v(e)]}function v(e){return Math.max(0,e.length-1)}function x(e,t){return t===v(e)}function w(e,t=0){return Array.from(Array(e),((e,n)=>t+n))}function y(e){return Object.keys(e)}function k(e,t){return[e,t].reduce(((e,t)=>(y(t).forEach((n=>{const r=e[n],o=t[n],i=f(r)&&f(o);e[n]=i?k(r,o):o})),e)),{})}function S(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function z(){let e=[];const t={add:function(n,r,o,i={passive:!0}){let a;if("addEventListener"in n)n.addEventListener(r,o,i),a=()=>n.removeEventListener(r,o,i);else{const e=n;e.addListener(o),a=()=>e.removeListener(o)}return e.push(a),t},clear:function(){e=e.filter((e=>e()))}};return t}function $(e=0,t=0){const n=p(e-t);function r(t){return t<e}function o(e){return e>t}function i(e){return r(e)||o(e)}return{length:n,max:t,min:e,constrain:function(n){return i(n)?r(n)?e:t:n},reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function _(e,t,n){const{constrain:r}=$(0,e),o=e+1;let i=a(t);function a(e){return n?p((o+e)%o):r(e)}function s(){return i}function c(){return _(e,s(),n)}const l={get:s,set:function(e){return i=a(e),l},add:function(e){return c().set(s()+e)},clone:c};return l}function D(e,t,n,r,o,i,a,s,c,l,u,f,g,b,v,x,w,y,k){const{cross:_,direction:D}=e,C=["INPUT","SELECT","TEXTAREA"],I={passive:!1},E=z(),L=z(),M=$(50,225).constrain(b.measure(20)),A={mouse:300,touch:400},F={mouse:500,touch:600},T=v?43:25;let O=!1,R=0,P=0,U=!1,j=!1,H=!1,N=!1;function V(e){if(!S(e,r)&&e.touches.length>=2)return B(e);const t=i.readPoint(e),n=i.readPoint(e,_),a=m(t,R),c=m(n,P);if(!(j||N||e.cancelable&&(j=a>c,j)))return B(e);const u=i.pointerMove(e);a>x&&(H=!0),l.useFriction(.3).useDuration(.75),s.start(),o.add(D(u)),e.preventDefault()}function B(e){const t=u.byDistance(0,!1).index!==f.get(),n=i.pointerUp(e)*(v?F:A)[N?"mouse":"touch"],r=function(e,t){const n=f.add(-1*h(e)),r=u.byDistance(e,!v).distance;return v||p(e)<M?r:w&&t?.5*r:u.byIndex(n.get(),0).distance}(D(n),t),o=function(e,t){if(0===e||0===t||p(e)<=p(t))return 0;const n=m(p(e),p(t));return p(n/e)}(n,r),a=T-10*o,s=y+o/50;j=!1,U=!1,L.clear(),l.useDuration(a).useFriction(s),c.distance(r,!v),N=!1,g.emit("pointerUp")}function G(e){H&&(e.stopPropagation(),e.preventDefault(),H=!1)}return{init:function(e){if(!k)return;function s(s){(d(k)||k(e,s))&&function(e){const s=S(e,r);N=s,H=v&&s&&!e.buttons&&O,O=m(o.get(),a.get())>=2,(!s||0===e.button)&&(function(e){const t=e.nodeName||"";return C.includes(t)}(e.target)||(U=!0,i.pointerDown(e),l.useFriction(0).useDuration(0),o.set(a),function(){const e=N?n:t;L.add(e,"touchmove",V,I).add(e,"touchend",B).add(e,"mousemove",V,I).add(e,"mouseup",B)}(),R=i.readPoint(e),P=i.readPoint(e,_),g.emit("pointerDown")))}(s)}const c=t;E.add(c,"dragstart",(e=>e.preventDefault()),I).add(c,"touchmove",(()=>{}),I).add(c,"touchend",(()=>{})).add(c,"touchstart",s).add(c,"mousedown",s).add(c,"touchcancel",B).add(c,"contextmenu",B).add(c,"click",G,!0)},destroy:function(){E.clear(),L.clear()},pointerDown:function(){return U}}}function C(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){const o="client"+("x"===(r||e.scroll)?"X":"Y");return(S(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){const t=i(e)-i(r),a=o(e)-o(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;const t=i(r)-i(n),a=o(e)-o(n),s=o(e)-o(r)>170,c=t/a;return a&&!s&&p(c)>.1?c:0},readPoint:i}}function I(e,t,n,r,o,i,a){const s=[e].concat(r);let c,l,u=[],f=!1;function h(e){return o.measureSize(a.measure(e))}
vendor: 12,017 bytes, line 1
1return{init:function(o){i&&(l=h(e),u=r.map(h),c=new ResizeObserver((n=>{(d(i)||i(o,n))&&function(n){for(const i of n){if(f)return;const n=i.target===e,a=r.indexOf(i.target),s=n?l:u[a];if(p(h(n?e:r[a])-s)>=.5){o.reInit(),t.emit("resize");break}}}(n)})),n.requestAnimationFrame((()=>{s.forEach((e=>c.observe(e)))})))},destroy:function(){f=!0,c&&c.disconnect()}}}function E(e,t,n,r,o){const i=o.measure(10),a=o.measure(50),s=$(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}return{shouldConstrain:l,constrain:function(o){if(!l())return;const c=e.reachedMin(t.get())?"min":"max",u=p(e[c]-t.get()),d=n.get()-t.get(),f=s.constrain(u/a);n.subtract(d*f),!o&&p(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){c=!e}}}function L(e,t,n,r){const o=t.min+.1,i=t.max+.1,{reachedMin:a,reachedMax:s}=$(o,i);return{loop:function(t){if(!function(e){return 1===e?s(n.get()):-1===e&&a(n.get())}(t))return;const o=e*(-1*t);r.forEach((e=>e.add(o)))}}}function M(e){let t=e;function n(e){return l(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function A(e,t){const n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style;let o=null,i=!1;return{clear:function(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;const a=function(e){return Math.round(100*e)/100}(e.direction(t));a!==o&&(r.transform=n(a),o=a)},toggleActive:function(e){i=!e}}}function F(e,t,n,r,o,i,a,s,c){const l=g(o),u=g(o).reverse(),d=function(){const e=a[0];return h(p(u,e),n,!1)}().concat(function(){const e=t-a[0]-1;return h(p(l,e),-n,!0)}());function f(e,t){return e.reduce(((e,t)=>e-o[t]),t)}function p(e,t){return e.reduce(((e,n)=>f(e,t)>0?e.concat([n]):e),[])}function h(o,a,l){const u=function(e){return i.map(((n,o)=>({start:n-r[o]+.5+e,end:n+t-.5+e})))}(a);return o.map((t=>{const r=l?0:-n,o=l?n:0,i=l?"end":"start",a=u[t][i];return{index:t,loopPoint:a,slideLocation:M(-1),translate:A(e,c[t]),target:()=>s.get()>a?r:o}}))}return{canLoop:function(){return d.every((({index:e})=>f(l.filter((t=>t!==e)),t)<=.1))},clear:function(){d.forEach((e=>e.translate.clear()))},loop:function(){d.forEach((e=>{const{target:t,translate:n,slideLocation:r}=e,o=t();o!==r.get()&&(n.to(o),r.set(o))}))},loopPoints:d}}function T(e,t,n){let r,o=!1;return{init:function(i){n&&(r=new MutationObserver((e=>{o||(d(n)||n(i,e))&&function(e){for(const n of e)if("childList"===n.type){i.reInit(),t.emit("slidesChanged");break}}(e)})),r.observe(e,{childList:!0}))},destroy:function(){r&&r.disconnect(),o=!0}}}function O(e,t,n,r,o,i,a){const{align:s,axis:c,direction:f,startIndex:k,loop:S,duration:O,dragFree:R,dragThreshold:P,inViewThreshold:U,slidesToScroll:j,skipSnaps:H,containScroll:N,watchResize:V,watchSlides:B,watchDrag:G,watchFocus:W}=i,q={measure:function(e){const{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},Y=q.measure(t),Q=n.map(q.measure),X=function(e,t){const n="rtl"===t,r="y"===e,o=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){const{height:t,width:n}=e;return r?t:n},direction:function(e){return e*o}}}(c,f),J=X.measureSize(Y),K=function(e){return{measure:function(t){return e*(t/100)}}}(J),Z=function(e,t){const n={start:function(){return 0},center:function(e){return r(e)/2},end:r};function r(e){return t-e}return{measure:function(r,o){return u(e)?n[e](r):e(t,r,o)}}}(s,J),ee=!S&&!!N,te=S||!!N,{slideSizes:ne,slideSizesWithGaps:re,startGap:oe,endGap:ie}=function(e,t,n,r,o,i){const{measureSize:a,startEdge:s,endEdge:c}=e,l=n[0]&&o,u=function(){if(!l)return 0;const e=n[0];return p(t[s]-e[s])}(),d=function(){if(!l)return 0;const e=i.getComputedStyle(b(r));return parseFloat(e.getPropertyValue(`margin-${c}`))}(),f=n.map(a),h=n.map(((e,t,n)=>{const r=!t,o=x(n,t);return r?f[t]+u:o?f[t]+d:n[t+1][s]-e[s]})).map(p);return{slideSizes:f,slideSizesWithGaps:h,startGap:u,endGap:d}}(X,Y,Q,n,te,o),ae=function(e,t,n,r,o,i,a,s,c){const{startEdge:u,endEdge:d,direction:f}=e,h=l(n);return{groupSlides:function(e){return h?function(e,t){return g(e).filter((e=>e%t==0)).map((n=>e.slice(n,n+t)))}(e,n):function(e){return e.length?g(e).reduce(((n,l,h)=>{const m=b(n)||0,g=0===m,x=l===v(e),w=o[u]-i[m][u],y=o[u]-i[l][d],k=!r&&g?f(a):0,S=p(y-(!r&&x?f(s):0)-(w+k));return h&&S>t+c&&n.push(l),x&&n.push(e.length),n}),[]).map(((t,n,r)=>{const o=Math.max(r[n-1]||0);return e.slice(o,t)})):[]}(e)}}}(X,J,j,S,Y,Q,oe,ie,2),{snaps:se,snapsAligned:ce}=function(e,t,n,r,o){const{startEdge:i,endEdge:a}=e,{groupSlides:s}=o,c=s(r).map((e=>b(e)[a]-e[0][i])).map(p).map(t.measure),l=r.map((e=>n[i]-e[i])).map((e=>-p(e))),u=s(l).map((e=>e[0])).map(((e,t)=>e+c[t]));return{snaps:l,snapsAligned:u}}(X,Z,Y,Q,ae),le=-b(se)+b(re),{snapsContained:ue,scrollContainLimit:de}=function(e,t,n,r){const o=$(-t+e,0),i=n.map(((e,t)=>{const{min:r,max:i}=o,a=o.constrain(e),c=!t,l=x(n,t);return c?i:l||s(r,a)?r:s(i,a)?i:a})).map((e=>parseFloat(e.toFixed(3)))),a=function(){const e=i[0],t=b(i);return $(i.lastIndexOf(e),i.indexOf(t)+1)}();function s(e,t){return m(e,t)<=1}return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return i;const{min:n,max:s}=a;return i.slice(n,s)}(),scrollContainLimit:a}}(J,le,ce,N),fe=ee?ue:ce,{limit:pe}=function(e,t,n){const r=t[0];return{limit:$(n?r-e:b(t),r)}}(le,fe,S),he=_(v(fe),k,S),me=he.clone(),ge=g(n),be=function(e,t,n,r){const o=z(),i=1e3/60;let a=null,s=0,c=0;function l(e){if(!c)return;a||(a=e,n(),n());const o=e-a;for(a=e,s+=o;s>=i;)n(),s-=i;r(s/i),c&&(c=t.requestAnimationFrame(l))}function u(){t.cancelAnimationFrame(c),a=null,s=0,c=0}return{init:function(){o.add(e,"visibilitychange",(()=>{e.hidden&&(a=null,s=0)}))},destroy:function(){u(),o.clear()},start:function(){c||(c=t.requestAnimationFrame(l))},stop:u,update:n,render:r}}(r,o,(()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(Le)),(e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:a,dragHandler:s,animation:c,eventHandler:l,scrollBounds:u,options:{loop:d}},f)=>{const p=e.settled(),h=!u.shouldConstrain(),m=d?p:p&&h,g=m&&!s.pointerDown();g&&c.stop();const b=n.get()*f+o.get()*(1-f);r.set(b),d&&(i.loop(e.direction()),a.loop()),t.to(r.get()),g&&l.emit("settle"),m||l.emit("scroll")})(Le,e))),ve=fe[he.get()],xe=M(ve),we=M(ve),ye=M(ve),ke=M(ve),Se=function(e,t,n,r,o){let i=0,a=0,s=o,c=.68,l=e.get(),u=0;function d(e){return s=e,m}function f(e){return c=e,m}const m={direction:function(){return a},duration:function(){return s},velocity:function(){return i},seek:function(){const t=r.get()-e.get();let o=0;return s?(n.set(e),i+=t/s,i*=c,l+=i,e.add(i),o=l-u):(i=0,n.set(r),e.set(r),o=t),a=h(o),u=l,m},settled:function(){return p(r.get()-t.get())<.001},useBaseFriction:function(){return f(.68)},useBaseDuration:function(){return d(o)},useFriction:f,useDuration:d};return m}(xe,ye,we,ke,O),ze=function(e,t,n,r,o){const{reachedAny:i,removeOffset:a,constrain:s}=r;function c(e){return e.concat().sort(((e,t)=>p(e)-p(t)))[0]}function l(t,r){const o=[t,t+n,t-n];if(!e)return t;if(!r)return c(o);const i=o.filter((e=>h(e)===r));return i.length?c(i):b(o)-n}return{byDistance:function(n,r){const c=o.get()+n,{index:u,distance:d}=function(n){const r=e?a(n):s(n),o=t.map(((e,t)=>({diff:l(e-r,0),index:t}))).sort(((e,t)=>p(e.diff)-p(t.diff))),{index:i}=o[0];return{index:i,distance:r}}(c),f=!e&&i(c);return!r||f?{index:u,distance:n}:{index:u,distance:n+l(t[u]-d,0)}},byIndex:function(e,n){return{index:e,distance:l(t[e]-o.get(),n)}},shortcut:l}}(S,fe,le,pe,ke),$e=function(e,t,n,r,o,i,a){function s(o){const s=o.distance,c=o.index!==t.get();i.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(o.index),a.emit("select"))}return{distance:function(e,t){s(o.byDistance(e,t))},index:function(e,n){const r=t.clone().set(e);s(o.byIndex(r.get(),n))}}}(be,he,me,Se,ze,ke,a),_e=function(e){const{max:t,length:n}=e;return{get:function(e){return n?(e-t)/-n:0}}}(pe),De=z(),Ce=function(e,t,n,r){const o={};let i,a=null,s=null,c=!1;return{init:function(){i=new IntersectionObserver((e=>{c||(e.forEach((e=>{const n=t.indexOf(e.target);o[n]=e})),a=null,s=null,n.emit("slidesInView"))}),{root:e.parentElement,threshold:r}),t.forEach((e=>i.observe(e)))},destroy:function(){i&&i.disconnect(),c=!0},get:function(e=!0){if(e&&a)return a;if(!e&&s)return s;const t=function(e){return y(o).reduce(((t,n)=>{const r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t}),[])}(e);return e&&(a=t),e||(s=t),t}}}(t,n,a,U),{slideRegistry:Ie}=function(e,t,n,r,o,i){const{groupSlides:a}=o,{min:s,max:c}=r;return{slideRegistry:function(){const r=a(i),o=!e||"keepSnaps"===t;return 1===n.length?[i]:o?r:r.slice(s,c).map(((e,t,n)=>{const r=!t,o=x(n,t);return r?w(b(n[0])+1):o?w(v(i)-b(n)[0]+1,b(n)[0]):e}))}()}}(ee,N,fe,de,ae,ge),Ee=function(e,t,n,r,o,i,a,s){const c={passive:!0,capture:!0};let u=0;function f(e){"Tab"===e.code&&(u=(new Date).getTime())}return{init:function(p){s&&(i.add(document,"keydown",f,!1),t.forEach(((t,f)=>{i.add(t,"focus",(t=>{(d(s)||s(p,t))&&function(t){if((new Date).getTime()-u>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;const i=n.findIndex((e=>e.includes(t)));l(i)&&(o.useDuration(0),r.index(i,0),a.emit("slideFocus"))}(f)}),c)})))}}}(e,n,Ie,$e,Se,De,a,W),Le={ownerDocument:r,ownerWindow:o,eventHandler:a,containerRect:Y,slideRects:Q,animation:be,axis:X,dragHandler:D(X,e,r,o,ke,C(X,o),xe,be,$e,Se,ze,he,a,K,R,P,H,.68,G),eventStore:De,percentOfView:K,index:he,indexPrevious:me,limit:pe,location:xe,offsetLocation:ye,previousLocation:we,options:i,resizeHandler:I(t,a,o,n,X,V,q),scrollBody:Se,scrollBounds:E(pe,ye,ke,Se,K),scrollLooper:L(le,pe,ye,[xe,ye,we,ke]),scrollProgress:_e,scrollSnapList:fe.map(_e.get),scrollSnaps:fe,scrollTarget:ze,scrollTo:$e,slideLooper:F(X,J,le,ne,re,se,fe,ye,n),slideFocus:Ee,slidesHandler:T(t,a,B),slidesInView:Ce,slideIndexes:ge,slideRegistry:Ie,slidesToScroll:ae,target:ke,translate:A(X,t)};return Le}const R={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function P(e){function t(e,t){return k(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){const r=n.breakpoints||{},o=y(r).filter((t=>e.matchMedia(t).matches)).map((e=>r[e])).reduce(((e,n)=>t(e,n)),{});return t(n,o)},optionsMediaQueries:function(t){return t.map((e=>y(e.breakpoints||{}))).reduce(((e,t)=>e.concat(t)),[]).map(e.matchMedia)}}}function U(e,t,n){const r=e.ownerDocument,o=r.defaultView,i=P(o),a=function(e){let t=[];return{init:function(n,r){return t=r.filter((({options:t})=>!1!==e.optionsAtMedia(t).active)),t.forEach((t=>t.init(n,e))),r.reduce(((e,t)=>Object.assign(e,{[t.name]:t})),{})},destroy:function(){t=t.filter((e=>e.destroy()))}}}(i),s=z(),c=function(){let e,t={};function n(e){return t[e]||[]}const r={init:function(t){e=t},emit:function(t){return n(t).forEach((n=>n(e,t))),r},off:function(e,o){return t[e]=n(e).filter((e=>e!==o)),r},on:function(e,o){return t[e]=n(e).concat([o]),r},clear:function(){t={}}};return r}(),{mergeOptions:l,optionsAtMedia:d,optionsMediaQueries:f}=i,{on:p,off:h,emit:m}=c,g=C;let b,v,x,w,y=!1,k=l(R,U.globalOptions),S=l(k),$=[];function _(t){const n=O(e,x,w,r,o,t,c);return t.loop&&!n.slideLooper.canLoop()?_(Object.assign({},t,{loop:!1})):n}function D(t,n){y||(k=l(k,t),S=d(k),$=n||$,function(){const{container:t,slides:n}=S;x=(u(t)?e.querySelector(t):t)||e.children[0];const r=u(n)?x.querySelectorAll(n):n;w=[].slice.call(r||x.children)}(),b=_(S),f([k,...$.map((({options:e})=>
1e))]).forEach((e=>s.add(e,"change",C))),S.active&&(b.translate.to(b.location.get()),b.animation.init(),b.slidesInView.init(),b.slideFocus.init(M),b.eventHandler.init(M),b.resizeHandler.init(M),b.slidesHandler.init(M),b.options.loop&&b.slideLooper.loop(),x.offsetParent&&w.length&&b.dragHandler.init(M),v=a.init(M,$)))}function C(e,t){const n=L();I(),D(l({startIndex:n},e),t),c.emit("reInit")}function I(){b.dragHandler.destroy(),b.eventStore.clear(),b.translate.clear(),b.slideLooper.clear(),b.resizeHandler.destroy(),b.slidesHandler.destroy(),b.slidesInView.destroy(),b.animation.destroy(),a.destroy(),s.clear()}function E(e,t,n){!S.active||y||(b.scrollBody.useBaseFriction().useDuration(!0===t?0:S.duration),b.scrollTo.index(e,n||0))}function L(){return b.index.get()}const M={canScrollNext:function(){return b.index.add(1).get()!==L()},canScrollPrev:function(){return b.index.add(-1).get()!==L()},containerNode:function(){return x},internalEngine:function(){return b},destroy:function(){y||(y=!0,s.clear(),I(),c.emit("destroy"),c.clear())},off:h,on:p,emit:m,plugins:function(){return v},previousScrollSnap:function(){return b.indexPrevious.get()},reInit:g,rootNode:function(){return e},scrollNext:function(e){E(b.index.add(1).get(),e,-1)},scrollPrev:function(e){E(b.index.add(-1).get(),e,1)},scrollProgress:function(){return b.scrollProgress.get(b.offsetLocation.get())},scrollSnapList:function(){return b.scrollSnapList},scrollTo:E,selectedScrollSnap:L,slideNodes:function(){return w},slidesInView:function(){return b.slidesInView.get()},slidesNotInView:function(){return b.slidesInView.get(!1)}};return D(t,n),setTimeout((()=>c.emit("init")),0),M}U.globalOptions=void 0;var j=Object.defineProperty,H=Object.getOwnPropertyDescriptor,N=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?H(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&j(t,n,i),i};let V=class extends r.a{constructor(){super(...arguments),this.league="",this.leagues=[],this.books=[],this.emblaInstance=null,this._updateCarouselControls=()=>{if(!this.shadowRoot)return;const e=this.shadowRoot.querySelector(".embla__prev"),t=this.shadowRoot.querySelector(".embla__next");!e||!t||(this.emblaInstance.canScrollPrev()?e.style.display="flex":e.style.display="none",this.emblaInstance.canScrollNext()?t.style.display="flex":t.style.display="none")},this._fetchUpcomingGamesTask=new o.h(this,{task:async([e,t],{signal:n})=>{var i;if(this.lastDate=null,!(0,o.i)(e))throw new Error(r.b.INVALID_LEAGUE);const a=t.map((e=>e.id)),s=await fetch((0,o.o)(e,a),{signal:n});if(!s.ok)throw new Error(`Failed to fetch odds: ${s.status} ${s.statusText}`);const c=await s.json();if((null==(i=null==c?void 0:c.data)?void 0:i.length)>0)return c;throw Error(r.b.NO_UPCOMING_GAMES)},args:()=>[this.league,this.books]}),this._handleLeagueChange=e=>{const t=e.target;document.startViewTransition?document.startViewTransition((()=>{this.league=t.value})):this.league=t.value},this.selectInputHtml=()=>r.x`<srwc-select-dropdown 2 label="select league" 3 _id="league-select" 4 .selected="${this.league}" 5 .options="${this.leagues.map((({name:e,id:t})=>({label:e.toUpperCase(),value:t})))}" 6 .onChange="${this._handleLeagueChange}"></srwc-select-dropdown>`,this.lastDate="",this._renderDateCard=({scheduled:e})=>{const t=new Date(e).toLocaleDateString(),n=(new Date).toLocaleDateString();return t!==this.lastDate?(this.lastDate=t,r.x` 7 <div class="select-none embla__slide px-3 flex justify-center"> 8 <div class="embla__slide__number flex flex-col justify-center text-center"> 9 <p class="text-xs text-base-300 font-body-bold font-bold"> 10 ${t===n?"Today":(0,o.e)(e)} 11 </p> 12 <p class="text-base flex items-center justify-center gap-1"> 13 <span class="font-body-bold font-bold">${new Date(e).getDate()}</span> ${(0,o.j)(e)} 14 </p> 15 </div> 16 </div> 17 `):r.E},this._renderMatchUpCard=e=>{var t,n,i,a,s,l,u,d,f,p,h,m,g;const{competitors:b,markets:v,scheduled:x}=e,{away:w,home:y}=b;let k=(null==(a=null==(i=null==(n=null==(t=null==v?void 0:v.spread)?void 0:t.books)?void 0:n.find((e=>{var t;return null==(t=null==e?void 0:e.away)?void 0:t.best})))?void 0:i.away)?void 0:a.spread)??r.N;("mlb"===this.league||"nhl"===this.league)&&(k=(null==(d=null==(u=null==(l=null==(s=null==v?void 0:v.moneyline)?void 0:s.books)?void 0:l.find((e=>{var t;return null==(t=null==e?void 0:e.away)?void 0:t.best})))?void 0:u.away)?void 0:d.odds)??r.N);const S=(null==(h=null==(p=null==(f=null==v?void 0:v.total)?void 0:f.books)?void 0:p.find((e=>{var t;return null==(t=null==e?void 0:e.over)?void 0:t.best})))?void 0:h.total)??r.N,z=function(e){const t=new Date(e);return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",hour12:!0}).format(t)}(x),$=`${w.market} ${w.name} vs ${y.market} ${y.name} on ${function(e){const t=new Date(e);return new Intl.DateTimeFormat("en-US",{year:"numeric",month:"long",day:"numeric"}).format(t)}(x)} at ${z}`;return r.x` 18 <a 19 title="${$}" 20 aria-label="${$}" 21 href="${null==(g=(m=c.$).generateLinkToMatchup)?void 0:g.call(m,e)}" 22 class="embla__slide group h-[70px] flex flex-col overflow-hidden border border-base-200 rounded-sm text-xs select-none flex-[0_0_165px] mx-1"> 23 <time 24 class="block p-1 pl-2 transition-colors group-hover:bg-base-200 border-b border-base-200" 25 datetime="${x}"> 26 ${z} 27 </time> 28 <div class="flex flex-row min-h-0 justify-center items center flex-1 font-bold font-body-bold"> 29 <div class="flex flex-col justify-between py-1 px-2 border-r border-base-200 w-1/2"> 30 <p class="flex items-center gap-1"> 31 ${(0,o.i)(this.league)?r.x`<img 32 alt="${w.market} ${w.name}" 33 width="12" 34 height="12" 35 class="size-3" 36 onerror="${'this.style="visibility:hidden"'}" 37 src="${o.c.teamLogo(this.league,w.abbreviation)}" /> `:r.E} 38 ${w.abbreviation} 39 </p> 40 <p class="flex items-center gap-1"> 41 ${(0,o.i)(this.league)?r.x`<img 42 alt="${y.market} ${y.name}" 43 width="12" 44 height="12" 45 class="size-3" 46 onerror="${'this.style="visibility:hidden"'}" 47 src="${o.c.teamLogo(this.league,y.abbreviation)}" /> `:r.E} 48 ${y.abbreviation} 49 </p> 50 </div> 51 <div class="flex flex-col justify-between p-1 text-center px-2 w-1/2 text-base-content">
52 <span class="whitespace-nowrap text-success text-sm" title="Moneyline"> 53 ${k||r.N} 54 </span> 55 <span class="whitespace-nowrap" title="Total">${S?`o/u ${S}`:r.N}</span> 56 </div> 57 </div> 58 </a> 59 `},this.skeletonWeekDays=()=>r.x` 60 <div class="flex items-center flex-col justify-center space-y-1"> 61 <div class="h-4 w-8 bg-base-200 rounded-sm"></div> 62 <div class="h-6 w-16 bg-base-200 rounded-sm"></div> 63 </div> 64 `,this.skeletonMatchUp=e=>{const t=Array.from({length:e});return r.x`${t.map((()=>r.x`<div class="h-[70px] w-40 flex-shrink-0 bg-base-200 rounded-sm"></div>`))}`},this._onClickPrev=()=>{this.emblaInstance&&this.emblaInstance.scrollPrev()},this._onClickNext=()=>{this.emblaInstance&&this.emblaInstance.scrollNext()}}updated(){if(this.emblaInstance&&(this.emblaInstance.destroy(),this.emblaInstance=null),this.shadowRoot){const e=this.shadowRoot.querySelector(".embla"),t=e&&e.querySelector(".embla__viewport");if(t){const e={dragFree:!0,slidesToScroll:3};this.emblaInstance=U(t,e),this.emblaInstance.on("select",this._updateCarouselControls),this.emblaInstance.on("reInit",(0,o.k)(this._updateCarouselControls,150)),this._updateCarouselControls()}}}render(){return r.x` 65 <div global-css class="flex flex gap-x-2 items-center"> 66 <div class="flex-shrink-0 min-w-20">${this.selectInputHtml()}</div> 67 ${this._fetchUpcomingGamesTask.render({pending:()=>r.x`${this._renderSkeleton()} `,complete:e=>{const t=e.data;return r.x` 68 <section class="embla flex overflow-hidden w-full justify-content-between relative"> 69 70 <div class="hidden embla__prev h-full absolute left-0 z-10"> 71 <div class="left-gradient h-full w-12 lg:w-28 absolute top-0 left-0"></div> 72 <button 73 class="cursor-pointer hidden my-3 text-base-300 w-10 p-2 hover:text-base-content transition z-10 lg:block" 74 @click=${this._onClickPrev}> 75 ${(0,s.o)(a.s)} 76 </button> 77 </div> 78 79 80 <div class="embla__viewport overflow-hidden z-0"> 81 <div class="embla__container flex"> 82 ${t.map((e=>r.x`${this._renderDateCard(e)} ${this._renderMatchUpCard(e)}`))} 83 </div> 84 </div> 85 86 87 <div class="embla__next h-full z-10 absolute right-0"> 88 <div class="right-gradient w-12 lg:w-28 h-full absolute top-0 right-0 z-0"></div> 89 <button 90 class="cursor-pointer hidden my-3 text-base-300 ml-auto w-10 z-10 p-2 hover:text-base-content transition lg:block" 91 @click=${this._onClickNext}> 92 ${(0,s.o)('<svg viewBox="0 0 24 25" preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="m18.712 13.27-8.07 8.07a.997.997 0 0 1-1.409 0l-.941-.94a.996.996 0 0 1-.002-1.408l6.396-6.426L8.29 6.141a.997.997 0 0 1 .002-1.408l.941-.941a.997.997 0 0 1 1.41 0l8.069 8.07c.39.389.39 1.02 0 1.409z" fill="currentColor"/>\n <mask id="77imiy2qxa" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="8" y="3" width="12" height="19">\n <path d="m18.712 13.27-8.07 8.07a.997.997 0 0 1-1.409 0l-.941-.94a.996.996 0 0 1-.002-1.408l6.396-6.426L8.29 6.141a.997.997 0 0 1 .002-1.408l.941-.941a.997.997 0 0 1 1.41 0l8.069 8.07c.39.389.39 1.02 0 1.409z" fill="transparent"/>\n </mask>\n</svg>\n')} 93 </button> 94 </div> 95 </section> 96 `},error:()=>r.x`${this._renderDead()}`})} 97 </div> 98 `}_renderSkeleton(){return r.x` 99 <div class="animate-pulse flex space-x-2 overflow-hidden"> 100 ${this.skeletonWeekDays()} ${this.skeletonMatchUp(4)} ${this.skeletonWeekDays()} ${this.skeletonMatchUp(2)} 101 </div> 102 `}_renderDead(){return r.x` 103 <div class="flex items-center space-x-2 h-[70px]"> 104 <span class="w-5">${(0,s.o)(i.s)}</span> 105 <p class="text-xs max-w-sm mx-auto">${r.b.NO_MATCHUP_DATA}</p> 106 </div> 107 `}};V.styles=[r.g,r.i` 108 .left-gradient { 109 background: linear-gradient(to left, transparent, var(--colors-base-100)); 110 } 111 .right-gradient { 112 background: linear-gradient(to right, transparent, var(--colors-base-100)); 113 } 114 /* layer: properties */ 115@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-border-spacing-x:0;--un-border-spacing-y:0;--un-bg-opacity:100%;--un-border-opacity:100%;--un-text-opacity:100%;--un-outline-opacity:100%;--un-content:"";--un-space-x-reverse:0;--un-space-y-reverse:0;}}
116@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;} 117@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;} 118@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;} 119@property --un-space-x-reverse{syntax:"*";inherits:false;initial-value:0;} 120@property --un-space-y-reverse{syntax:"*";inherits:false;initial-value:0;} 121/* layer: theme */ 122:root, :host { 123--spacing: 0.25rem; 124--fontWeight-bold: 700; 125--font-body-bold: var(--srwc-font-body-bold, arial, sans-serif); 126--radius-sm: var(--srwc-radius-sm, 0.25rem); 127--default-transition-timingFunction: cubic-bezier(0.4, 0, 0.2, 1); 128--default-transition-duration: 150ms; 129--fontWeight-normal: 400; 130--container-sm: 24rem; 131--radius-lg: var(--srwc-radius-lg, 0.5rem); 132--colors-base-100: var(--srwc-color-base-100, oklch(1 0 0)); 133--colors-base-200: var(--srwc-color-base-200, oklch(0.92 0.0155 257.2)); 134--colors-base-content: var(--srwc-color-base-content, oklch(0.28 0.0296 256.85)); 135--colors-base-300: var(--srwc-color-base-300, oklch(0.4 0.0154 237.02)); 136--colors-primary: var(--srwc-color-primary, oklch(45% .24 277.023)); 137--colors-primary-content: var(--srwc-color-primary-content, oklch(1 0 0)); 138--colors-warning: var(--srwc-color-warning, oklch(0.83 0.1642 83.42)); 139--text-sm-fontSize: 0.875rem; 140--text-sm-lineHeight: 1.25rem; 141--text-xs-fontSize: 0.75rem; 142--text-xs-lineHeight: 1rem; 143--text-base-fontSize: 1rem; 144--text-base-lineHeight: 1.5rem; 145--colors-success: var(--srwc-color-success, oklch(0.66 0.1209 163.1)); 146--font-body: var(--srwc-font-body, arial, sans-serif); 147--default-font-family: var(--font-sans); 148--default-monoFont-family: var(--font-mono); 149--container-4xl: 56rem; 150--container-xs: 20rem; 151--container-2xs: 18rem; 152} 153/* layer: base */ 154/* 155 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 156 2. Remove default margins and padding 157 3. Reset all borders. 158*/ 159 160*, 161::after, 162::before, 163::backdrop, 164::file-selector-button { 165 box-sizing: border-box; /* 1 */ 166 margin: 0; /* 2 */ 167 padding: 0; /* 2 */ 168 border: 0 solid; /* 3 */ 169} 170 171/* 172 1. Use a consistent sensible line-height in all browsers. 173 2. Prevent adjustments of font size after orientation changes in iOS. 174 3. Use a more readable tab size. 175 4. Use the user's configured \`sans\` font-family by default. 176 5. Use the user's configured \`sans\` font-feature-settings by default. 177 6. Use the user's configured \`sans\` font-variation-settings by default. 178 7. Disable tap highlights on iOS. 179*/ 180 181html, 182:host { 183 line-height: 1.5; /* 1 */ 184 -webkit-text-size-adjust: 100%; /* 2 */ 185 tab-size: 4; /* 3 */ 186 font-family: var( 187 --default-font-family, 188 ui-sans-serif, 189 system-ui
vendor: 2,234 bytes, lines 189-309
189, 190 sans-serif, 191 'Apple Color Emoji', 192 'Segoe UI Emoji', 193 'Segoe UI Symbol', 194 'Noto Color Emoji' 195 ); /* 4 */ 196 font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */ 197 font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */ 198 -webkit-tap-highlight-color: transparent; /* 7 */ 199} 200 201/* 202 1. Add the correct height in Firefox. 203 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) 204 3. Reset the default border style to a 1px solid border. 205*/ 206 207hr { 208 height: 0; /* 1 */ 209 color: inherit; /* 2 */ 210 border-top-width: 1px; /* 3 */ 211} 212 213/* 214 Add the correct text decoration in Chrome, Edge, and Safari. 215*/ 216 217abbr:where([title]) { 218 -webkit-text-decoration: underline dotted; 219 text-decoration: underline dotted; 220} 221 222/* 223 Remove the default font size and weight for headings. 224*/ 225 226h1, 227h2, 228h3, 229h4, 230h5, 231h6 { 232 font-size: inherit; 233 font-weight: inherit; 234} 235 236/* 237 Reset links to optimize for opt-in styling instead of opt-out. 238*/ 239 240a { 241 color: inherit; 242 -webkit-text-decoration: inherit; 243 text-decoration: inherit; 244} 245 246/* 247 Add the correct font weight in Edge and Safari. 248*/ 249 250b, 251strong { 252 font-weight: bolder; 253} 254 255/* 256 1. Use the user's configured \`mono\` font-family by default. 257 2. Use the user's configured \`mono\` font-feature-settings by default. 258 3. Use the user's configured \`mono\` font-variation-settings by default. 259 4. Correct the odd \`em\` font sizing in all browsers. 260*/ 261 262code, 263kbd, 264samp, 265pre { 266 font-family: var( 267 --default-monoFont-family, 268 ui-monospace, 269 SFMono-Regular, 270 Menlo, 271 Monaco, 272 Consolas, 273 'Liberation Mono', 274 'Courier New', 275 monospace 276 ); /* 1 */ 277 font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */ 278 font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */ 279 font-size: 1em; /* 4 */ 280} 281 282/* 283 Add the correct font size in all browsers. 284*/ 285 286small { 287 font-size: 80%; 288} 289 290/* 291 Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers. 292*/ 293 294sub, 295sup { 296 font-size: 75%; 297 line-height: 0; 298 position: relative; 299 vertical-align: baseline; 300} 301 302sub { 303 bottom: -0.25em; 304} 305 306sup { 307 top: -0.5em; 308} 309
vendor: 4,258 bytes, lines 310-506
310/* 311 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) 312 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) 313 3. Remove gaps between table borders by default. 314*/ 315 316table { 317 text-indent: 0; /* 1 */ 318 border-color: inherit; /* 2 */ 319 border-collapse: collapse; /* 3 */ 320} 321 322/* 323 Use the modern Firefox focus style for all focusable elements. 324*/ 325 326:-moz-focusring { 327 outline: auto; 328} 329 330/* 331 Add the correct vertical alignment in Chrome and Firefox. 332*/ 333 334progress { 335 vertical-align: baseline; 336} 337 338/* 339 Add the correct display in Chrome and Safari. 340*/ 341 342summary { 343 display: list-item; 344} 345 346/* 347 Make lists unstyled by default. 348*/ 349 350ol, 351ul, 352menu { 353 list-style: none; 354} 355 356/* 357 1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14) 358 2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) 359 This can trigger a poorly considered lint error in some tools but is included by design. 360*/ 361 362img, 363svg, 364video, 365canvas, 366audio, 367iframe, 368embed, 369object { 370 display: block; /* 1 */ 371 vertical-align: middle; /* 2 */ 372} 373 374/* 375 Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) 376*/ 377 378img, 379video { 380 max-width: 100%; 381 height: auto; 382} 383 384/* 385 1. Inherit font styles in all browsers. 386 2. Remove border radius in all browsers. 387 3. Remove background color in all browsers. 388 4. Ensure consistent opacity for disabled states in all browsers. 389*/ 390 391button, 392input, 393select, 394optgroup, 395textarea, 396::file-selector-button { 397 font: inherit; /* 1 */ 398 font-feature-settings: inherit; /* 1 */ 399 font-variation-settings: inherit; /* 1 */ 400 letter-spacing: inherit; /* 1 */ 401 color: inherit; /* 1 */ 402 border-radius: 0; /* 2 */ 403 background-color: transparent; /* 3 */ 404 opacity: 1; /* 4 */ 405} 406 407/* 408 Restore default font weight. 409*/ 410 411:where(select:is([multiple], [size])) optgroup { 412 font-weight: bolder; 413} 414 415/* 416 Restore indentation. 417*/ 418 419:where(select:is([multiple], [size])) optgroup option { 420 padding-inline-start: 20px; 421} 422 423/* 424 Restore space after button. 425*/ 426 427::file-selector-button { 428 margin-inline-end: 4px; 429} 430 431/* 432 Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) 433*/ 434 435::placeholder { 436 opacity: 1; 437} 438 439/* 440 Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not 441 crash when using \`color-mix(â¦)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194) 442*/ 443 444@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or 445 (contain-intrinsic-size: 1px) /* Safari 17+ */ { 446 ::placeholder { 447 color: color-mix(in oklab, currentcolor 50%, transparent); 448 } 449} 450 451/* 452 Prevent resizing textareas horizontally by default. 453*/ 454 455textarea { 456 resize: vertical; 457} 458 459/* 460 Remove the inner padding in Chrome and Safari on macOS. 461*/ 462 463::-webkit-search-decoration { 464 -webkit-appearance: none; 465} 466 467/* 468 1. Ensure date/time inputs have the same height when empty in iOS Safari. 469 2. Ensure text alignment can be changed on date/time inputs in iOS Safari. 470*/ 471 472::-webkit-date-and-time-value { 473 min-height: 1lh; /* 1 */ 474 text-align: inherit; /* 2 */ 475} 476 477/* 478 Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`. 479*/ 480 481::-webkit-datetime-edit { 482 display: inline-flex; 483} 484 485/* 486 Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers. 487*/ 488 489::-webkit-datetime-edit-fields-wrapper { 490 padding: 0; 491} 492 493::-webkit-datetime-edit, 494::-webkit-datetime-edit-year-field, 495::-webkit-datetime-edit-month-field, 496::-webkit-datetime-edit-day-field, 497::-webkit-datetime-edit-hour-field, 498::-webkit-datetime-edit-minute-field, 499::-webkit-datetime-edit-second-field, 500::-webkit-datetime-edit-millisecond-field, 501::-webkit-datetime-edit-meridiem-field { 502 padding-block: 0; 503} 504 505/* 506
506Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) 507*/ 508 509:-moz-ui-invalid { 510 box-shadow: none; 511} 512 513/* 514 Correct the inability to style the border radius in iOS Safari. 515*/ 516 517button, 518input:where([type='button'], [type='reset'], [type='submit']), 519::file-selector-button { 520 appearance: button; 521} 522 523/* 524 Correct the cursor style of increment and decrement buttons in Safari. 525*/ 526 527::-webkit-inner-spin-button, 528::-webkit-outer-spin-button { 529 height: auto; 530} 531 532/* 533 Make elements with the HTML hidden attribute stay hidden by default. 534*/ 535 536[hidden]:where(:not([hidden='until-found'])) { 537 display: none !important; 538} 539/* layer: shortcuts */ 540.global-css, 541[global-css=""]{color:color-mix(in srgb, var(--colors-base-content) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-content, oklch(0.28 0.0296 256.85)) */;font-family:var(--font-body);background-color:color-mix(in srgb, var(--colors-base-100) var(--srwc-bg-opacity), transparent) /* var(--srwc-color-base-100, oklch(1 0 0)) */;} 542@supports (color: color-mix(in lab, red, red)){ 543.global-css{background-color:color-mix(in oklab, var(--colors-base-100) var(--srwc-bg-opacity), transparent) /* var(--srwc-color-base-100, oklch(1 0 0)) */;} 544.global-css{color:color-mix(in oklab, var(--colors-base-content) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-content, oklch(0.28 0.0296 256.85)) */;} 545[global-css=""]{background-color:color-mix(in oklab, var(--colors-base-100) var(--srwc-bg-opacity), transparent) /* var(--srwc-color-base-100, oklch(1 0 0)) */;} 546[global-css=""]{color:color-mix(in oklab, var(--colors-base-content) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-content, oklch(0.28 0.0296 256.85)) */;} 547} 548/* layer: default */ 549.text-base{font-size:var(--text-base-fontSize);line-height:var(--srwc-leading, var(--text-base-lineHeight));} 550.text-sm{font-size:var(--text-sm-fontSize);line-height:var(--srwc-leading, var(--text-sm-lineHeight));} 551.text-xs{font-size:var(--text-xs-fontSize);line-height:var(--srwc-leading, var(--text-xs-lineHeight));} 552.text-base-300{color:color-mix(in srgb, var(--colors-base-300) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-300, oklch(0.4 0.0154 237.02)) */;} 553.text-base-content{color:color-mix(in srgb, var(--colors-base-content) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-content, oklch(0.28 0.0296 256.85)) */;} 554.text-success{color:color-mix(in srgb, var(--colors-success) var(--srwc-text-opacity), transparent) /* var(--srwc-color-success, oklch(0.66 0.1209 163.1)) */;} 555.hover\\:text-base-content:hover{color:color-mix(in srgb, var(--colors-base-content) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-content, oklch(0.28 0.0296 256.85)) */;} 556.font-body-bold{font-family:var(--font-body-bold);} 557.font-bold{--srwc-font-weight:var(--fontWeight-bold);font-weight:var(--fontWeight-bold);} 558.mx-1{margin-inline:calc(var(--spacing) * 1);} 559.mx-auto{margin-inline:auto;} 560.my-3{margin-block:calc(var(--spacing) * 3);} 561.ml-auto{margin-left:auto;} 562.p-1{padding:calc(var(--spacing) * 1);} 563.p-2{padding:calc(var(--spacing) * 2);} 564.px-2{padding-inline:calc(var(--spacing) * 2);} 565.px-3{padding-inline:calc(var(--spacing) * 3);} 566.py-1{padding-block:calc(var(--spacing) * 1);} 567.pl-2{padding-left:calc(var(--spacing) * 2);} 568.text-center{text-align:center;} 569.border{border-width:1px;} 570.border-b{border-bottom-width:1px;} 571.border-r{border-right-width:1px;} 572.border-base-200{border-color:color-mix(in srgb, var(--colors-base-200) var(--srwc-border-opacity), transparent) /* var(--srwc-color-base-200, oklch(0.92 0.0155 257.2)) */;} 573.rounded-sm{border-radius:var(--radius-sm);} 574.bg-base-200, 575.group:hover .group-hover\\:bg-base-200{background-color:color-mix(in srgb, var(--colors-base-200) var(--srwc-bg-opacity), transparent) /* var(--srwc-color-base-200, oklch(0.92 0.0155 257.2)) */;} 576.flex{display:flex;} 577.flex-\\[0_0_165px\\]{flex:0 0 165px;} 578.flex-1{flex:1 1 0%;} 579.flex-shrink-0{flex-shrink:0;} 580.flex-row{flex-direction:row;} 581.flex-col{flex-direction:column;} 582.gap-1{gap:calc(var(--spacing) * 1);} 583.gap-x-2{column-gap:calc(var(--spacing) * 2);} 584.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3);} 585.h-\\[70px\\]{height:70px;} 586.h-4{height:calc(var(--spacing) * 4);} 587.h-6{height:calc(var(--spacing) * 6);} 588.h-full{height:100%;} 589.max-w-sm{max-width:var(--container-sm);} 590.min-h-0{min-height:calc(var(--spacing) * 0);} 591.min-w-20{min-width:calc(var(--spacing) * 20);} 592.w-1\\/2{width:50%;} 593.w-10{width:calc(var(--spacing) * 10);} 594.w-12{width:calc(var(--spacing) * 12);} 595.w-16{width:calc(var(--spacing) * 16);} 596.w-40{width:calc(var(--spacing) * 40);} 597.w-5{width:calc(var(--spacing) * 5);} 598.w-8{width:calc(var(--spacing) * 8);} 599.w-full{width:100%;} 600.block{display:block;} 601.hidden{display:none;} 602.cursor-pointer{cursor:pointer;} 603.select-none{-webkit-user-select:none;user-select:none;} 604.whitespace-nowrap{white-space:nowrap;} 605.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--srwc-ease, var(--default-transition-timingFunction));transition-duration:var(--srwc-duration, var(--default-transition-duration));} 606.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--srwc-ease, var(--default-transition-timingFunction));transition-duration:var(--srwc-duration, var(--default-transition-duration));} 607.items-center{align-items:center;} 608.left-0{left:calc(var(--spacing) * 0);}
609.right-0{right:calc(var(--spacing) * 0);} 610.top-0{top:calc(var(--spacing) * 0);} 611.justify-center{justify-content:center;} 612.justify-between{justify-content:space-between;} 613.absolute{position:absolute;} 614.relative{position:relative;} 615.static{position:static;} 616.z-0{z-index:0;} 617.z-10{z-index:10;} 618.overflow-hidden{overflow:hidden;} 619@keyframes pulse{0%, 100% {opacity:1} 50% {opacity:.5}} 620.animate-pulse{animation:pulse 2s cubic-bezier(0.4,0,.6,1) infinite;} 621.space-x-2>:not(:last-child){--srwc-space-x-reverse:0;margin-inline-start: calc(calc(var(--spacing) * 2) * var(--srwc-space-x-reverse));margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--srwc-space-x-reverse)));} 622.space-y-1>:not(:last-child){--srwc-space-y-reverse:0;margin-block-start: calc(calc(var(--spacing) * 1) * var(--srwc-space-y-reverse));margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--srwc-space-y-reverse)));} 623@supports (color: color-mix(in lab, red, red)){ 624.text-base-300{color:color-mix(in oklab, var(--colors-base-300) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-300, oklch(0.4 0.0154 237.02)) */;} 625.text-base-content{color:color-mix(in oklab, var(--colors-base-content) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-content, oklch(0.28 0.0296 256.85)) */;} 626.text-success{color:color-mix(in oklab, var(--colors-success) var(--srwc-text-opacity), transparent) /* var(--srwc-color-success, oklch(0.66 0.1209 163.1)) */;} 627.hover\\:text-base-content:hover{color:color-mix(in oklab, var(--colors-base-content) var(--srwc-text-opacity), transparent) /* var(--srwc-color-base-content, oklch(0.28 0.0296 256.85)) */;} 628.border-base-200{border-color:color-mix(in oklab, var(--colors-base-200) var(--srwc-border-opacity), transparent) /* var(--srwc-color-base-200, oklch(0.92 0.0155 257.2)) */;} 629.bg-base-200{background-color:color-mix(in oklab, var(--colors-base-200) var(--srwc-bg-opacity), transparent) /* var(--srwc-color-base-200, oklch(0.92 0.0155 257.2)) */;} 630.group:hover .group-hover\\:bg-base-200{background-color:color-mix(in oklab, var(--colors-base-200) var(--srwc-bg-opacity), transparent) /* var(--srwc-color-base-200, oklch(0.92 0.0155 257.2)) */;} 631} 632@media (min-width: 64rem){ 633.lg\\:w-28{width:calc(var(--spacing) * 28);} 634.lg\\:block{display:block;} 635}; 636 `],N([(0,r.n)({type:String,reflect:!0})],V.prototype,"league",2),N([(0,r.n)({type:Array,reflect:!0})],V.prototype,"leagues",2),N([(0,r.n)({type:Array,reflect:!0})],V.prototype,"books",2),V=N([(0,r.t)(`${r.P}-matchup-bar`)],V)}}]);
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.