react-scoreboard
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.reactDockerTemplate=t(require("react")):e.reactDockerTemplate=t(e.React)}(this,function(e){return function(e){function t(e){delete installedChunks[e]}function r(e){var t=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.src=f.p+""+e+"."+v+".hot-update.js",t.appendChild(r)}function o(){return new Promise(function(e,t){if("undefined"==typeof XMLHttpRequest)return t(new Error("No browser support"));try{var r=new XMLHttpRequest,o=f.p+""+v+".hot-update.json";r.open("GET",o,!0),r.timeout=1e4,r.send(null)}catch(e){return t(e)}r.onreadystatechange=function(){if(4===r.readyState)if(0===r.status)t(new Error("Manifest request to "+o+" timed out."));else if(404===r.status)e();else if(200!==r.status&&304!==r.status)t(new Error("Manifest request to "+o+" failed."));else{try{var n=JSON.parse(r.responseText)}catch(e){return void t(e)}e(n)}}})}function n(e){var t=N[e];if(!t)return f;var r=function(r){return t.hot.active?(N[r]?N[r].parents.indexOf(e)<0&&N[r].parents.push(e):(_=[e],h=r),t.children.indexOf(r)<0&&t.children.push(r)):(console.warn("[HMR] unexpected require("+r+") from disposed module "+e),_=[]),f(r)};for(var o in f)Object.prototype.hasOwnProperty.call(f,o)&&"e"!==o&&Object.defineProperty(r,o,function(e){return{configurable:!0,enumerable:!0,get:function(){return f[e]},set:function(t){f[e]=t}}}(o));return r.e=function(e){function t(){P--,"prepare"===k&&(R[e]||d(e),0===P&&0===E&&u())}return"ready"===k&&i("prepare"),P++,f.e(e).then(t,function(e){throw t(),e})},r}function a(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:h!==e,active:!0,accept:function(e,r){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var o=0;o<e.length;o++)t._acceptedDependencies[e[o]]=r||function(){};else t._acceptedDependencies[e]=r||function(){}},decline:function(e){if(void 0===e)t._selfDeclined=!0;else if("object"==typeof e)for(var r=0;r<e.length;r++)t._declinedDependencies[e[r]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var r=t._disposeHandlers.indexOf(e);r>=0&&t._disposeHandlers.splice(r,1)},check:s,apply:p,status:function(e){if(!e)return k;j.push(e)},addStatusHandler:function(e){j.push(e)},removeStatusHandler:function(e){var t=j.indexOf(e);t>=0&&j.splice(t,1)},data:w[e]};return h=void 0,t}function i(e){k=e;for(var t=0;t<j.length;t++)j[t].call(null,e)}function c(e){return+e+""===e?+e:e}function s(e){if("idle"!==k)throw new Error("check() is only allowed in idle status");return x=e,i("check"),o().then(function(e){if(!e)return i("idle"),null;D={},R={},M=e.c,y=e.h,i("prepare");var t=new Promise(function(e,t){m={resolve:e,reject:t}});g={};return d(0),"prepare"===k&&0===P&&0===E&&u(),t})}function l(e,t){if(M[e]&&D[e]){D[e]=!1;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(g[r]=t[r]);0==--E&&0===P&&u()}}function d(e){M[e]?(D[e]=!0,E++,r(e)):R[e]=!0}function u(){i("ready");var e=m;if(m=null,e)if(x)p(x).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var r in g)Object.prototype.hasOwnProperty.call(g,r)&&t.push(c(r));e.resolve(t)}}function p(r){function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];e.indexOf(o)<0&&e.push(o)}}if("ready"!==k)throw new Error("apply() is only allowed in ready status");r=r||{};var n,a,s,l,d,u={},p=[],b={},h=function(){console.warn("[HMR] unexpected require("+x.moduleId+") to disposed module")};for(var m in g)if(Object.prototype.hasOwnProperty.call(g,m)){d=c(m);var x;x=g[m]?function(e){for(var t=[e],r={},n=t.slice().map(function(e){return{chain:[e],id:e}});n.length>0;){var a=n.pop(),i=a.id,c=a.chain;if((l=N[i])&&!l.hot._selfAccepted){if(l.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:i};if(l.hot._main)return{type:"unaccepted",chain:c,moduleId:i};for(var s=0;s<l.parents.length;s++){var d=l.parents[s],u=N[d];if(u){if(u.hot._declinedDependencies[i])return{type:"declined",chain:c.concat([d]),moduleId:i,parentId:d};t.indexOf(d)>=0||(u.hot._acceptedDependencies[i]?(r[d]||(r[d]=[]),o(r[d],[i])):(delete r[d],t.push(d),n.push({chain:c.concat([d]),id:d})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:r}}(d):{type:"disposed",moduleId:m};var O=!1,j=!1,E=!1,P="";switch(x.chain&&(P="\nUpdate propagation: "+x.chain.join(" -> ")),x.type){case"self-declined":r.onDeclined&&r.onDeclined(x),r.ignoreDeclined||(O=new Error("Aborted because of self decline: "+x.moduleId+P));break;case"declined":r.onDeclined&&r.onDeclined(x),r.ignoreDeclined||(O=new Error("Aborted because of declined dependency: "+x.moduleId+" in "+x.parentId+P));break;case"unaccepted":r.onUnaccepted&&r.onUnaccepted(x),r.ignoreUnaccepted||(O=new Error("Aborted because "+d+" is not accepted"+P));break;case"accepted":r.onAccepted&&r.onAccepted(x),j=!0;break;case"disposed":r.onDisposed&&r.onDisposed(x),E=!0;break;default:throw new Error("Unexception type "+x.type)}if(O)return i("abort"),Promise.reject(O);if(j){b[d]=g[d],o(p,x.outdatedModules);for(d in x.outdatedDependencies)Object.prototype.hasOwnProperty.call(x.outdatedDependencies,d)&&(u[d]||(u[d]=[]),o(u[d],x.outdatedDependencies[d]))}E&&(o(p,[x.moduleId]),b[d]=h)}var R=[];for(a=0;a<p.length;a++)d=p[a],N[d]&&N[d].hot._selfAccepted&&R.push({module:d,errorHandler:N[d].hot._selfAccepted});i("dispose"),Object.keys(M).forEach(function(e){!1===M[e]&&t(e)});for(var D,C=p.slice();C.length>0;)if(d=C.pop(),l=N[d]){var T={},S=l.hot._disposeHandlers;for(s=0;s<S.length;s++)(n=S[s])(T);for(w[d]=T,l.hot.active=!1,delete N[d],s=0;s<l.children.length;s++){var U=N[l.children[s]];U&&((D=U.parents.indexOf(d))>=0&&U.parents.splice(D,1))}}var A,z;for(d in u)if(Object.prototype.hasOwnProperty.call(u,d)&&(l=N[d]))for(z=u[d],s=0;s<z.length;s++)A=z[s],(D=l.children.indexOf(A))>=0&&l.children.splice(D,1);i("apply"),v=y;for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e[d]=b[d]);var I=null;for(d in u)if(Object.prototype.hasOwnProperty.call(u,d)){l=N[d],z=u[d];var H=[];for(a=0;a<z.length;a++)A=z[a],n=l.hot._acceptedDependencies[A],H.indexOf(n)>=0||H.push(n);for(a=0;a<H.length;a++){n=H[a];try{n(z)}catch(e){r.onErrored&&r.onErrored({type:"accept-errored",moduleId:d,dependencyId:z[a],error:e}),r.ignoreErrored||I||(I=e)}}}for(a=0;a<R.length;a++){var L=R[a];d=L.module,_=[d];try{f(d)}catch(e){if("function"==typeof L.errorHandler)try{L.errorHandler(e)}catch(t){r.onErrored&&r.onErrored({type:"self-accept-error-handler-errored",moduleId:d,error:t,orginalError:e}),r.ignoreErrored||I||(I=t),I||(I=e)}else r.onErrored&&r.onErrored({type:"self-accept-errored",moduleId:d,error:e}),r.ignoreErrored||I||(I=e)}}return I?(i("fail"),Promise.reject(I)):(i("idle"),new Promise(function(e){e(p)}))}function f(t){if(N[t])return N[t].exports;var r=N[t]={i:t,l:!1,exports:{},hot:a(t),parents:(O=_,_=[],O),children:[]};return e[t].call(r.exports,r,r.exports,n(t)),r.l=!0,r.exports}var b=this.webpackHotUpdatereactDockerTemplate;this.webpackHotUpdatereactDockerTemplate=function(e,t){l(e,t),b&&b(e,t)};var h,m,g,y,x=!0,v="564908c4f35172fd9a51",w={},_=[],O=[],j=[],k="idle",E=0,P=0,R={},D={},M={},N={};return f.m=e,f.c=N,f.i=function(e){return e},f.d=function(e,t,r){f.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="",f.h=function(){return v},n(24)(f.s=24)}([function(t,r){t.exports=e},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){return s.default.createElement("div",{className:"single-digit-box","data-type":this.props.type,"data-digits":this.props.digits},s.default.createElement("div",{className:"digit-live digit-style"},this.props.digit),s.default.createElement("div",{className:"digit-silhouette digit-style"}))}}]),t}(c.Component);t.default=l},function(e,t,r){t=e.exports=r(5)(void 0),t.push([e.i,"@font-face{font-family:DS-Digital;src:url("+r(6)+");src:url("+r(6)+'?#iefix) format("embedded-opentype"),url('+r(20)+') format("woff2"),url('+r(19)+') format("woff"),url('+r(18)+') format("truetype");font-weight:400;font-style:normal}',""])},function(e,t,r){t=e.exports=r(5)(void 0),t.push([e.i,'a,abbr,acronym,address,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,i,img,ins,kbd,label,legend,li,mark,menu,nav,ol,output,p,pre,q,ruby,s,samp,section,small,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}ol,ul{list-style:none}*{box-sizing:border-box}[class*=flex-] img{max-width:100%;height:auto}a{background-color:transparent;-webkit-text-decoration-skip:objects}img{border-style:none}html{font-size:16px}body{font-family:Open Sans,sans-serif}.react-scoreboard{width:100%;padding:40px 15px;background-color:#313131;border-radius:4px;display:block;outline:2px solid #434343;outline-offset:-13px;margin-left:auto;margin-right:auto;max-width:450px}.react-scoreboard.theme--dragon{background-color:#b22222;outline-color:#fff}.react-scoreboard.theme--whale{background-color:#0074d9;outline-color:#fff}.react-scoreboard.theme--unicorn{background-color:#ec5590;outline-color:#fff}.react-scoreboard.theme--unicorn-dark{background-color:#404043;outline-color:#59595d}.react-scoreboard.theme--ice{background-color:#fff;outline-color:#d5f0f7}.react-scoreboard[data-layout=with-logos]{max-width:650px}@media (max-width:767px){.react-scoreboard{max-width:400px;padding:30px 20px}}@media (max-width:480px){.react-scoreboard{max-width:100%;padding:30px 10px}.react-scoreboard[data-layout=with-logos]{max-width:100%}}.react-scoreboard .integer-box{margin:0 0 10px;padding:0 6px;border:1px solid #434343;background-color:#313131;border-radius:4px;display:inline-block;text-align:center;-webkit-box-shadow:inset 0 0 15px 0 rgba(0,0,0,.7);-moz-box-shadow:inset 0 0 15px 0 rgba(0,0,0,.7);box-shadow:inset 0 0 15px 0 rgba(0,0,0,.7);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.react-scoreboard .integer-box.theme--dragon{background-color:#901b1b;border-color:#5c1212}.react-scoreboard .integer-box.theme--dragon.integer-score .digit-text,.react-scoreboard .integer-box.theme--dragon.integer-time .digit-text{color:#f9bc32}.react-scoreboard .integer-box.theme--whale{background-color:#00437d;border-color:#003d73;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.react-scoreboard .integer-box.theme--whale.integer-score .digit-text,.react-scoreboard .integer-box.theme--whale.integer-time .digit-text{color:#ff9d00}.react-scoreboard .integer-box.theme--unicorn{background-color:#272727}.react-scoreboard .integer-box.theme--unicorn.integer-score .digit-text,.react-scoreboard .integer-box.theme--unicorn.integer-time .digit-text{color:#ea3773}.react-scoreboard .integer-box.theme--unicorn-dark{background-color:#272727}.react-scoreboard .integer-box.theme--unicorn-dark.integer-score .digit-text,.react-scoreboard .integer-box.theme--unicorn-dark.integer-time .digit-text{color:#ea3773}.react-scoreboard .integer-box.theme--ice{background-color:#d5f0f7;border-color:#d5f0f7;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.react-scoreboard .integer-box.theme--ice.integer-time .digit-text{color:#226d84}.react-scoreboard .integer-box.theme--ice.integer-score .digit-text{color:#de3248}.react-scoreboard .single-digit-box{text-align:right;width:100%;position:relative}.react-scoreboard .single-digit-box[data-digits="1"]{width:100%}.react-scoreboard .single-digit-box[data-digits="2"]{width:50%}.react-scoreboard .single-digit-box[data-digits="3"]{width:33.33%}.react-scoreboard .single-digit-box[data-digits="4"]{width:25%}.react-scoreboard .single-digit-box .digit-live{position:absolute;top:0;right:0}.react-scoreboard .single-digit-box .digit-silhouette{opacity:.08;position:relative;top:0;right:0}.react-scoreboard .single-digit-box .digit-silhouette:after{content:"8"}.react-scoreboard .single-digit-box .digit-live,.react-scoreboard .single-digit-box .digit-silhouette{padding:0 6px}.react-scoreboard .single-digit-box .digit-style{font-size:4rem;line-height:4rem;font-weight:400;color:#f9bc32;font-family:DS-Digital,sans-serif}.react-scoreboard .single-digit-box[data-type=time] .digit-style{font-size:5rem;line-height:5rem}.react-scoreboard .single-digit-box[data-type=score] .digit-style{font-size:4rem;line-height:4rem;color:#d10505}.react-scoreboard .single-digit-box[data-type=score] .digit-silhouette{opacity:.14}.react-scoreboard .single-digit-box[data-type=period] .digit-style{font-size:3.3rem;line-height:3.3rem;color:#f9bc32}@media (max-width:767px){.react-scoreboard .single-digit-box[data-type=time] .digit-style{font-size:4.7rem;line-height:4.7rem}.react-scoreboard .single-digit-box[data-type=score] .digit-style{font-size:3.4rem;line-height:3.4rem}.react-scoreboard .single-digit-box[data-type=period] .digit-style{font-size:3rem;line-height:3rem}}@media (max-width:480px){.react-scoreboard .single-digit-box[data-type=time] .digit-style{font-size:4rem;line-height:4rem}.react-scoreboard .single-digit-box[data-type=score] .digit-style{font-size:3rem;line-height:3rem}.react-scoreboard .single-digit-box[data-type=period] .digit-style{font-size:2.6rem;line-height:2.6rem}}.react-scoreboard .label-box{margin:0 0 10px;padding:4px 0;border:0;background-color:rgba(0,0,0,.4);border-radius:4px;text-align:center}.react-scoreboard .label-box.theme--dragon{background-color:#b22222}.react-scoreboard .label-box.theme--dragon>.label-text{color:#fff}.react-scoreboard .label-box.theme--whale{background-color:#0059a6}.react-scoreboard .label-box.theme--whale>.label-text{color:#fff}.react-scoreboard .label-box.theme--unicorn{background-color:#ee679c}.react-scoreboard .label-box.theme--unicorn>.label-text{color:#fff;font-weight:400}.react-scoreboard .label-box.theme--unicorn-dark{background-color:#ea3773}.react-scoreboard .label-box.theme--unicorn-dark>.label-text{color:#fff;font-weight:400}.react-scoreboard .label-box.theme--ice{background-color:#729ca8}.react-scoreboard .label-box.theme--ice>.label-text{color:#fff}.react-scoreboard .label-box>.label-text{font-size:1.6rem;line-height:1.6rem;font-weight:300;color:#858585;font-family:DS-Digital,sans-serif;text-transform:uppercase}.react-scoreboard .label-box.period-label{margin-left:auto;margin-right:auto;width:55%}@media (max-width:767px){.react-scoreboard .label-box{padding:4px 0}.react-scoreboard .label-box>.label-text{font-size:1.2rem;line-height:1.2rem}}@media (max-width:480px){.react-scoreboard .label-box.period-label{width:90%}}.react-scoreboard .colon-box{font-size:4.8rem;line-height:4.8rem;font-weight:400;color:#f9bc32;font-family:DS-Digital,sans-serif}.react-scoreboard .colon-box.theme--dragon{color:#f9bc32}.react-scoreboard .colon-box.theme--whale{color:#ff9d00}.react-scoreboard .colon-box.theme--unicorn{color:#fff}.react-scoreboard .colon-box.theme--unicorn-dark{color:#ea3773}.react-scoreboard .colon-box.theme--ice{color:#226d84}@media (max-width:767px){.react-scoreboard .colon-box{font-size:4.4rem;line-height:4.4rem}}@media (max-width:480px){.react-scoreboard .colon-box{font-size:3.7rem;line-height:3.7rem}}.react-scoreboard .team-logo{text-align:center}.react-scoreboard .possession-indicators{width:100%;margin:27px 0 10px;text-align:center;margin-left:auto;margin-right:auto}.react-scoreboard .possession-indicators.theme--dragon .triangle-left{border-color:transparent rgba(0,0,0,.35) transparent transparent}.react-scoreboard .possession-indicators.theme--dragon .triangle-right{border-color:transparent transparent transparent rgba(0,0,0,.35)}.react-scoreboard .possession-indicators.theme--dragon[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #fff}.react-scoreboard .possession-indicators.theme--dragon[data-team-possession=home] .triangle-left{border-color:transparent #fff transparent transparent}.react-scoreboard .possession-indicators.theme--whale .triangle-left{border-color:transparent rgba(0,0,0,.35) transparent transparent}.react-scoreboard .possession-indicators.theme--whale .triangle-right{border-color:transparent transparent transparent rgba(0,0,0,.35)}.react-scoreboard .possession-indicators.theme--whale[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #ff9d00}.react-scoreboard .possession-indicators.theme--whale[data-team-possession=home] .triangle-left{border-color:transparent #ff9d00 transparent transparent}.react-scoreboard .possession-indicators.theme--unicorn .triangle-left{border-color:transparent rgba(0,0,0,.35) transparent transparent}.react-scoreboard .possession-indicators.theme--unicorn .triangle-right{border-color:transparent transparent transparent rgba(0,0,0,.35)}.react-scoreboard .possession-indicators.theme--unicorn[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #fff}.react-scoreboard .possession-indicators.theme--unicorn[data-team-possession=home] .triangle-left{border-color:transparent #fff transparent transparent}.react-scoreboard .possession-indicators.theme--unicorn-dark .triangle-left{border-color:transparent rgba(0,0,0,.35) transparent transparent}.react-scoreboard .possession-indicators.theme--unicorn-dark .triangle-right{border-color:transparent transparent transparent rgba(0,0,0,.35)}.react-scoreboard .possession-indicators.theme--unicorn-dark[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #ea3773}.react-scoreboard .possession-indicators.theme--unicorn-dark[data-team-possession=home] .triangle-left{border-color:transparent #ea3773 transparent transparent}.react-scoreboard .possession-indicators.theme--ice .triangle-left{border-color:transparent #226d84 transparent transparent}.react-scoreboard .possession-indicators.theme--ice .triangle-right{border-color:transparent transparent transparent #226d84}.react-scoreboard .possession-indicators.theme--ice[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #de3248}.react-scoreboard .possession-indicators.theme--ice[data-team-possession=home] .triangle-left{border-color:transparent #de3248 transparent transparent}.react-scoreboard .possession-indicators .triangle{display:inline-block;width:0;height:0;border-style:solid}.react-scoreboard .possession-indicators .triangle-left{border-width:13px 17px 13px 0;border-color:transparent rgba(0,0,0,.4) transparent transparent;margin:0 5px 0 0}.react-scoreboard .possession-indicators .triangle-right{border-width:13px 0 13px 17px;border-color:transparent transparent transparent rgba(0,0,0,.4);margin:0 0 0 5px}.react-scoreboard .possession-indicators[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #f9bc32}.react-scoreboard .possession-indicators[data-team-possession=home] .triangle-left{border-color:transparent #f9bc32 transparent transparent}@media (max-width:767px){.react-scoreboard .possession-indicators{margin:25px 0 4px}.react-scoreboard .possession-indicators .triangle-left{border-width:12px 15px 12px 0}.react-scoreboard .possession-indicators .triangle-right{border-width:12px 0 12px 15px}}@media (max-width:480px){.react-scoreboard .possession-indicators{margin:15px 0 4px}.react-scoreboard .possession-indicators .triangle-left{border-width:10px 13px 10px 0}.react-scoreboard .possession-indicators .triangle-right{border-width:10px 0 10px 13px}}.react-scoreboard .period-indicators{text-align:center}.react-scoreboard .period-indicators.theme--dragon>.indicator-item{background-color:rgba(0,0,0,.35)}.react-scoreboard .period-indicators.theme--dragon>.indicator-item[data-active=true],.react-scoreboard .period-indicators.theme--whale>.indicator-item{background-color:#fff}.react-scoreboard .period-indicators.theme--whale>.indicator-item[data-active=true]{background-color:#ff9d00}.react-scoreboard .period-indicators.theme--unicorn>.indicator-item{background-color:rgba(0,0,0,.35)}.react-scoreboard .period-indicators.theme--unicorn>.indicator-item[data-active=true]{background-color:#fff}.react-scoreboard .period-indicators.theme--unicorn-dark>.indicator-item{background-color:rgba(0,0,0,.35)}.react-scoreboard .period-indicators.theme--unicorn-dark>.indicator-item[data-active=true]{background-color:#ea3773}.react-scoreboard .period-indicators.theme--ice>.indicator-item{background-color:#226d84}.react-scoreboard .period-indicators.theme--ice>.indicator-item[data-active=true]{background-color:#de3248}.react-scoreboard .period-indicators>.indicator-item{width:9px;height:9px;margin:0 5px;padding:0;background-color:#858585;display:inline-block;border-radius:50%}.react-scoreboard .period-indicators>.indicator-item[data-active=true]{background-color:#f9bc32}@media (max-width:480px){.react-scoreboard .period-indicators>.indicator-item{width:8px;height:8px;margin:0 4px;border-radius:50%}}.react-scoreboard .flex-row{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;box-sizing:border-box;position:relative;min-height:1px;padding:0 15px;white-space:no-wrap}.react-scoreboard .col-content{width:100%;margin-left:auto;margin-right:auto}.react-scoreboard .col-content[data-layout=with-logos]{width:64%}.react-scoreboard .col-logo{width:18%}.react-scoreboard .col-score{width:50%}.react-scoreboard .col-score.col-home{padding-right:15px}.react-scoreboard .col-score.col-away{padding-left:15px}.react-scoreboard .col-minutes,.react-scoreboard .col-seconds{width:44%}.react-scoreboard .colon-box{width:12%;text-align:center}.react-scoreboard .col-period{width:50%;margin-left:auto;margin-right:auto;text-align:center}.react-scoreboard .period-box{width:54px;margin-left:auto;margin-right:auto}@media (max-width:767px){.react-scoreboard .period-box{width:50px}}@media (max-width:480px){.react-scoreboard .period-box{width:48px}.react-scoreboard .col-content[data-layout=with-logos]{width:100%}.react-scoreboard .col-logo[data-layout=with-logos]{display:none}}',""])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={placeValueLookup:function(e){return{ones:0,tens:1,hundreds:2}[e]}};t.default=o},function(e,t){function r(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=o(n);return[r].concat(n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"})).concat([a]).join("\n")}return[r].join("\n")}function o(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var o=r(t,e);return t[2]?"@media "+t[2]+"{"+o+"}":o}).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},n=0;n<this.length;n++){var a=this[n][0];"number"==typeof a&&(o[a]=!0)}for(n=0;n<e.length;n++){var i=e[n];"number"==typeof i[0]&&o[i[0]]||(r&&!i[2]?i[2]=r:r&&(i[2]="("+i[2]+") and ("+r+")"),t.push(i))}},t}},function(e,t,r){e.exports=r.p+"e3debd6b1458c1763139fa3d811b7117.eot"},function(e,t,r){function o(e,t){for(var r=0;r<e.length;r++){var o=e[r],n=b[o.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](o.parts[a]);for(;a<o.parts.length;a++)n.parts.push(d(o.parts[a],t))}else{for(var i=[],a=0;a<o.parts.length;a++)i.push(d(o.parts[a],t));b[o.id]={id:o.id,refs:1,parts:i}}}}function n(e,t){for(var r=[],o={},n=0;n<e.length;n++){var a=e[n],i=t.base?a[0]+t.base:a[0],c=a[1],s=a[2],l=a[3],d={css:c,media:s,sourceMap:l};o[i]?o[i].parts.push(d):r.push(o[i]={id:i,parts:[d]})}return r}function a(e,t){var r=m(e.insertInto);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=x[x.length-1];if("top"===e.insertAt)o?o.nextSibling?r.insertBefore(t,o.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function i(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=x.indexOf(e);t>=0&&x.splice(t,1)}function c(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),a(e,t),t}function s(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),a(e,t),t}function l(e,t){Object.keys(t).forEach(function(r){e.setAttribute(r,t[r])})}function d(e,t){var r,o,n,a;if(t.transform&&e.css){if(!(a=t.transform(e.css)))return function(){};e.css=a}if(t.singleton){var l=y++;r=g||(g=c(t)),o=u.bind(null,r,l,!1),n=u.bind(null,r,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=s(t),o=f.bind(null,r,t),n=function(){i(r),r.href&&URL.revokeObjectURL(r.href)}):(r=c(t),o=p.bind(null,r),n=function(){i(r)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}function u(e,t,r,o){var n=r?"":o.css;if(e.styleSheet)e.styleSheet.cssText=w(t,n);else{var a=document.createTextNode(n),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t){var r=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function f(e,t,r){var o=r.css,n=r.sourceMap,a=void 0===t.convertToAbsoluteUrls&&n;(t.convertToAbsoluteUrls||a)&&(o=v(o)),n&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var i=new Blob([o],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}var b={},h=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),m=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e.call(this,r)),t[r]}}(function(e){return document.querySelector(e)}),g=null,y=0,x=[],v=r(23);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=h()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var r=n(e,t);return o(r,t),function(e){for(var a=[],i=0;i<r.length;i++){var c=r[i],s=b[c.id];s.refs--,a.push(s)}if(e){o(n(e,t),t)}for(var i=0;i<a.length;i++){var s=a[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete b[s.id]}}}};var w=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=r(9),d=o(l),u=r(17),p=o(u),f=r(10),b=o(f),h=r(15),m=o(h),g=r(16),y=o(g),x=r(14),v=o(x),w=r(11),_=o(w),O=r(13),j=o(O),k=r(1),E=(o(k),r(21));o(E);r(22);var P=function(e){function t(){return n(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.home_score,o=e.home_label,n=e.home_logo,a=e.time,i=e.total_periods,c=e.period_label,s=e.cur_period,l=e.away_score,u=e.away_label,f=e.away_logo,h=e.team_possession,g=e.period_indicators;t=void 0===t?p.default.dark:p.default[t];var x="default";void 0!==n&&void 0!==f&&(x="with-logos");var w=null;void 0!==h&&(w=React.createElement(v.default,{team_possession:h,theme:t}));var O=null;void 0!==n&&(O=React.createElement(y.default,{src:n,team:"home",layout:x}));var k=null;void 0!==f&&(k=React.createElement(y.default,{src:f,team:"away",layout:x}));var E=React.createElement(_.default,null);"true"==g&&(E=null);var P=null;return"true"==g&&(P=React.createElement(j.default,{total_periods:i,cur_period:s,theme:t})),React.createElement("section",{className:"react-scoreboard "+t,"data-layout":x},React.createElement("div",{className:"flex-row"},React.createElement("div",{className:"col-content","data-layout":x},React.createElement(d.default,{time:a,theme:t}))),React.createElement("div",{className:"flex-row"},O,React.createElement("div",{className:"col-content","data-layout":x},React.createElement("div",{className:"flex-row"},React.createElement("div",{className:"col-score col-home"},React.createElement(b.default,{label:o,theme:t}),React.createElement(m.default,{score:r,theme:t})),React.createElement("div",{className:"col-score col-away"},React.createElement(b.default,{label:u,theme:t}),React.createElement(m.default,{score:l,theme:t})),React.createElement("div",{className:"col-period","data-layout":x},w,React.createElement(b.default,{label:c,theme:t}),E,P))),k))}}]),t}(s.Component);t.default=P},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=o(s),d=r(1),u=o(d),p=r(4),f=o(p),b=function(e){function t(){var e,r,o,i;n(this,t);for(var c=arguments.length,s=Array(c),l=0;l<c;l++)s[l]=arguments[l];return r=o=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.displayMinutes=function(e){return("0"+Math.floor(e/60)).slice(-2)},o.displaySeconds=function(e){return("0"+(e-60*Math.floor(e/60))).slice(-2)},o.displayDigit=function(e,t,r){for(var n="seconds"===t?o.displaySeconds(e):o.displayMinutes(e),a=[],i=0;i<n.length;i++)a.push(n.charAt(i));return a[f.default.placeValueLookup(r)]},i=r,a(o,i)}return i(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.time;return l.default.createElement("div",{className:"flex-row"},l.default.createElement("div",{className:"col-minutes"},l.default.createElement("div",{className:"integer-box "+t},l.default.createElement(u.default,{digit:this.displayDigit(r,"minutes","ones"),type:"time",digits:"2"}),l.default.createElement(u.default,{digit:this.displayDigit(r,"minutes","tens"),type:"time",digits:"2"}))),l.default.createElement("div",{className:"colon-box"},":"),l.default.createElement("div",{className:"col-seconds"},l.default.createElement("div",{className:"integer-box "+t},l.default.createElement(u.default,{digit:this.displayDigit(r,"seconds","ones"),type:"time",digits:"2"}),l.default.createElement(u.default,{digit:this.displayDigit(r,"seconds","tens"),type:"time",digits:"2"}))))}}]),t}(s.Component);t.default=b},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.type,o=e.label,n="period"===r?"label-box period-label "+t:"label-box "+t;return s.default.createElement("div",{className:n},s.default.createElement("span",{className:"label-text"},o))}}]),t}(c.Component);t.default=l},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=o(s),d=r(1),u=o(d),p=function(e){function t(){return n(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),c(t,[{key:"render",value:function(){return l.default.createElement("div",{className:"period-box"},l.default.createElement("div",{className:"integer-box"},l.default.createElement(u.default,{digit:2,type:"period"})))}}]),t}(s.Component);t.default=p},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){return s.default.createElement("li",{className:"indicator-item","data-active":this.props.active})}}]),t}(c.Component);t.default=l},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=o(s),d=r(12),u=o(d),p=function(e){function t(){var e,r,o,i;n(this,t);for(var c=arguments.length,s=Array(c),l=0;l<c;l++)s[l]=arguments[l];return r=o=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.setActiveState=function(e){return e<=o.props.cur_period},i=r,a(o,i)}return i(t,e),c(t,[{key:"render",value:function(){for(var e=this,t=this.props.total_periods,r=[],o=0;o<t;o++)r.push(o+1);var n=r.map(function(t){return l.default.createElement(u.default,{key:t,item:t,cur_period:e.props.cur_period,active:e.setActiveState(t)})});return l.default.createElement("ul",{className:"period-indicators "+this.props.theme},n)}}]),t}(s.Component);t.default=p},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.team_possession;return s.default.createElement("div",{className:"possession-indicators "+t,"data-team-possession":r},s.default.createElement("div",{className:"triangle triangle-left"}),s.default.createElement("div",{className:"triangle triangle-right"}))}}]),t}(c.Component);t.default=l},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=o(s),d=r(1),u=o(d),p=r(4),f=o(p),b=function(e){function t(){var e,r,o,i;n(this,t);for(var c=arguments.length,s=Array(c),l=0;l<c;l++)s[l]=arguments[l];return r=o=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.displayDigitX=function(e,t){return(""+e).split("")[f.default.placeValueLookup(t)]},o.displayDigit=function(e,t){var r=(""+e).split(""),o=0;if(1===r.length){if("ones"!==t)return"";o=0}else if(2===r.length)if("ones"===t)o=1;else{if("tens"!==t)return"";o=0}else 3===r.length&&("ones"===t?o=2:"tens"===t?o=1:"hundreds"===t&&(o=0));return r[o]},i=r,a(o,i)}return i(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.score;return l.default.createElement("div",{className:"integer-box "+t},l.default.createElement(u.default,{digit:this.displayDigit(r,"hundreds"),type:"score",digits:"3"}),l.default.createElement(u.default,{digit:this.displayDigit(r,"tens"),type:"score",digits:"3"}),l.default.createElement(u.default,{digit:this.displayDigit(r,"ones"),type:"score",digits:"3"}))}}]),t}(s.Component);t.default=b},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){return s.default.createElement("div",{className:"col-logo","data-layout":this.props.layout},s.default.createElement("div",{className:"team-logo"},s.default.createElement("img",{src:this.props.src,"data-team":this.props.team})))}}]),t}(c.Component);t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={dark:"theme--dark",unicorn:"theme--unicorn","unicorn-dark":"theme--unicorn-dark",dragon:"theme--dragon",whale:"theme--whale",ice:"theme--ice"};t.default=o},function(e,t,r){e.exports=r.p+"5410cf1ee3575a3152a562e859dbe1ba.ttf"},function(e,t,r){e.exports=r.p+"713883650aa62dd893e4980ee5b6e958.woff"},function(e,t,r){e.exports=r.p+"87d82b45ad1d662d72765e15c462c2fd.woff2"},function(e,t,r){var o=r(2);"string"==typeof o&&(o=[[e.i,o,""]]);var n={};n.transform=void 0;var a=r(7)(o,n);o.locals&&(e.exports=o.locals),o.locals||e.hot.accept(2,function(){var t=r(2);"string"==typeof t&&(t=[[e.i,t,""]]),a(t)}),e.hot.dispose(function(){a()})},function(e,t,r){var o=r(3);"string"==typeof o&&(o=[[e.i,o,""]]);var n={};n.transform=void 0;var a=r(7)(o,n);o.locals&&(e.exports=o.locals),o.locals||e.hot.accept(3,function(){var t=r(3);"string"==typeof t&&(t=[[e.i,t,""]]),a(t)}),e.hot.dispose(function(){a()})},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,o=r+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var n=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(n))return e;var a;return a=0===n.indexOf("//")?n:0===n.indexOf("/")?r+n:o+n.replace(/^\.\//,""),"url("+JSON.stringify(a)+")"})}},function(e,t,r){e.exports=r(8)}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.reactDockerTemplate=t(require("react")):e.reactDockerTemplate=t(e.React)}(this,function(e){return function(e){function t(e){delete installedChunks[e]}function r(e){var t=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.src=f.p+""+e+"."+v+".hot-update.js",t.appendChild(r)}function o(){return new Promise(function(e,t){if("undefined"==typeof XMLHttpRequest)return t(new Error("No browser support"));try{var r=new XMLHttpRequest,o=f.p+""+v+".hot-update.json";r.open("GET",o,!0),r.timeout=1e4,r.send(null)}catch(e){return t(e)}r.onreadystatechange=function(){if(4===r.readyState)if(0===r.status)t(new Error("Manifest request to "+o+" timed out."));else if(404===r.status)e();else if(200!==r.status&&304!==r.status)t(new Error("Manifest request to "+o+" failed."));else{try{var n=JSON.parse(r.responseText)}catch(e){return void t(e)}e(n)}}})}function n(e){var t=N[e];if(!t)return f;var r=function(r){return t.hot.active?(N[r]?N[r].parents.indexOf(e)<0&&N[r].parents.push(e):(_=[e],h=r),t.children.indexOf(r)<0&&t.children.push(r)):(console.warn("[HMR] unexpected require("+r+") from disposed module "+e),_=[]),f(r)};for(var o in f)Object.prototype.hasOwnProperty.call(f,o)&&"e"!==o&&Object.defineProperty(r,o,function(e){return{configurable:!0,enumerable:!0,get:function(){return f[e]},set:function(t){f[e]=t}}}(o));return r.e=function(e){function t(){P--,"prepare"===k&&(R[e]||d(e),0===P&&0===E&&u())}return"ready"===k&&i("prepare"),P++,f.e(e).then(t,function(e){throw t(),e})},r}function a(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:h!==e,active:!0,accept:function(e,r){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var o=0;o<e.length;o++)t._acceptedDependencies[e[o]]=r||function(){};else t._acceptedDependencies[e]=r||function(){}},decline:function(e){if(void 0===e)t._selfDeclined=!0;else if("object"==typeof e)for(var r=0;r<e.length;r++)t._declinedDependencies[e[r]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var r=t._disposeHandlers.indexOf(e);r>=0&&t._disposeHandlers.splice(r,1)},check:s,apply:p,status:function(e){if(!e)return k;j.push(e)},addStatusHandler:function(e){j.push(e)},removeStatusHandler:function(e){var t=j.indexOf(e);t>=0&&j.splice(t,1)},data:w[e]};return h=void 0,t}function i(e){k=e;for(var t=0;t<j.length;t++)j[t].call(null,e)}function c(e){return+e+""===e?+e:e}function s(e){if("idle"!==k)throw new Error("check() is only allowed in idle status");return x=e,i("check"),o().then(function(e){if(!e)return i("idle"),null;D={},R={},M=e.c,y=e.h,i("prepare");var t=new Promise(function(e,t){m={resolve:e,reject:t}});g={};return d(0),"prepare"===k&&0===P&&0===E&&u(),t})}function l(e,t){if(M[e]&&D[e]){D[e]=!1;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(g[r]=t[r]);0==--E&&0===P&&u()}}function d(e){M[e]?(D[e]=!0,E++,r(e)):R[e]=!0}function u(){i("ready");var e=m;if(m=null,e)if(x)p(x).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var r in g)Object.prototype.hasOwnProperty.call(g,r)&&t.push(c(r));e.resolve(t)}}function p(r){function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];e.indexOf(o)<0&&e.push(o)}}if("ready"!==k)throw new Error("apply() is only allowed in ready status");r=r||{};var n,a,s,l,d,u={},p=[],b={},h=function(){console.warn("[HMR] unexpected require("+x.moduleId+") to disposed module")};for(var m in g)if(Object.prototype.hasOwnProperty.call(g,m)){d=c(m);var x;x=g[m]?function(e){for(var t=[e],r={},n=t.slice().map(function(e){return{chain:[e],id:e}});n.length>0;){var a=n.pop(),i=a.id,c=a.chain;if((l=N[i])&&!l.hot._selfAccepted){if(l.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:i};if(l.hot._main)return{type:"unaccepted",chain:c,moduleId:i};for(var s=0;s<l.parents.length;s++){var d=l.parents[s],u=N[d];if(u){if(u.hot._declinedDependencies[i])return{type:"declined",chain:c.concat([d]),moduleId:i,parentId:d};t.indexOf(d)>=0||(u.hot._acceptedDependencies[i]?(r[d]||(r[d]=[]),o(r[d],[i])):(delete r[d],t.push(d),n.push({chain:c.concat([d]),id:d})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:r}}(d):{type:"disposed",moduleId:m};var O=!1,j=!1,E=!1,P="";switch(x.chain&&(P="\nUpdate propagation: "+x.chain.join(" -> ")),x.type){case"self-declined":r.onDeclined&&r.onDeclined(x),r.ignoreDeclined||(O=new Error("Aborted because of self decline: "+x.moduleId+P));break;case"declined":r.onDeclined&&r.onDeclined(x),r.ignoreDeclined||(O=new Error("Aborted because of declined dependency: "+x.moduleId+" in "+x.parentId+P));break;case"unaccepted":r.onUnaccepted&&r.onUnaccepted(x),r.ignoreUnaccepted||(O=new Error("Aborted because "+d+" is not accepted"+P));break;case"accepted":r.onAccepted&&r.onAccepted(x),j=!0;break;case"disposed":r.onDisposed&&r.onDisposed(x),E=!0;break;default:throw new Error("Unexception type "+x.type)}if(O)return i("abort"),Promise.reject(O);if(j){b[d]=g[d],o(p,x.outdatedModules);for(d in x.outdatedDependencies)Object.prototype.hasOwnProperty.call(x.outdatedDependencies,d)&&(u[d]||(u[d]=[]),o(u[d],x.outdatedDependencies[d]))}E&&(o(p,[x.moduleId]),b[d]=h)}var R=[];for(a=0;a<p.length;a++)d=p[a],N[d]&&N[d].hot._selfAccepted&&R.push({module:d,errorHandler:N[d].hot._selfAccepted});i("dispose"),Object.keys(M).forEach(function(e){!1===M[e]&&t(e)});for(var D,C=p.slice();C.length>0;)if(d=C.pop(),l=N[d]){var T={},S=l.hot._disposeHandlers;for(s=0;s<S.length;s++)(n=S[s])(T);for(w[d]=T,l.hot.active=!1,delete N[d],s=0;s<l.children.length;s++){var U=N[l.children[s]];U&&((D=U.parents.indexOf(d))>=0&&U.parents.splice(D,1))}}var A,z;for(d in u)if(Object.prototype.hasOwnProperty.call(u,d)&&(l=N[d]))for(z=u[d],s=0;s<z.length;s++)A=z[s],(D=l.children.indexOf(A))>=0&&l.children.splice(D,1);i("apply"),v=y;for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e[d]=b[d]);var I=null;for(d in u)if(Object.prototype.hasOwnProperty.call(u,d)){l=N[d],z=u[d];var H=[];for(a=0;a<z.length;a++)A=z[a],n=l.hot._acceptedDependencies[A],H.indexOf(n)>=0||H.push(n);for(a=0;a<H.length;a++){n=H[a];try{n(z)}catch(e){r.onErrored&&r.onErrored({type:"accept-errored",moduleId:d,dependencyId:z[a],error:e}),r.ignoreErrored||I||(I=e)}}}for(a=0;a<R.length;a++){var L=R[a];d=L.module,_=[d];try{f(d)}catch(e){if("function"==typeof L.errorHandler)try{L.errorHandler(e)}catch(t){r.onErrored&&r.onErrored({type:"self-accept-error-handler-errored",moduleId:d,error:t,orginalError:e}),r.ignoreErrored||I||(I=t),I||(I=e)}else r.onErrored&&r.onErrored({type:"self-accept-errored",moduleId:d,error:e}),r.ignoreErrored||I||(I=e)}}return I?(i("fail"),Promise.reject(I)):(i("idle"),new Promise(function(e){e(p)}))}function f(t){if(N[t])return N[t].exports;var r=N[t]={i:t,l:!1,exports:{},hot:a(t),parents:(O=_,_=[],O),children:[]};return e[t].call(r.exports,r,r.exports,n(t)),r.l=!0,r.exports}var b=this.webpackHotUpdatereactDockerTemplate;this.webpackHotUpdatereactDockerTemplate=function(e,t){l(e,t),b&&b(e,t)};var h,m,g,y,x=!0,v="03cad5984351af2b077a",w={},_=[],O=[],j=[],k="idle",E=0,P=0,R={},D={},M={},N={};return f.m=e,f.c=N,f.i=function(e){return e},f.d=function(e,t,r){f.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="",f.h=function(){return v},n(24)(f.s=24)}([function(t,r){t.exports=e},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){return s.default.createElement("div",{className:"single-digit-box","data-type":this.props.type,"data-digits":this.props.digits},s.default.createElement("div",{className:"digit-live digit-style"},this.props.digit),s.default.createElement("div",{className:"digit-silhouette digit-style"}))}}]),t}(c.Component);t.default=l},function(e,t,r){t=e.exports=r(5)(void 0),t.push([e.i,"@font-face{font-family:DS-Digital;src:url("+r(6)+");src:url("+r(6)+'?#iefix) format("embedded-opentype"),url('+r(20)+') format("woff2"),url('+r(19)+') format("woff"),url('+r(18)+') format("truetype");font-weight:400;font-style:normal}',""])},function(e,t,r){t=e.exports=r(5)(void 0),t.push([e.i,'a,abbr,acronym,address,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,i,img,ins,kbd,label,legend,li,mark,menu,nav,ol,output,p,pre,q,ruby,s,samp,section,small,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}ol,ul{list-style:none}*{box-sizing:border-box}[class*=flex-] img{max-width:100%;height:auto}a{background-color:transparent;-webkit-text-decoration-skip:objects}img{border-style:none}html{font-size:16px}body{font-family:Open Sans,sans-serif}.react-scoreboard{width:100%;padding:35px 15px;background-color:#313131;border-radius:4px;display:block;outline:2px solid #434343;outline-offset:-13px;margin-left:auto;margin-right:auto;max-width:450px}.react-scoreboard.theme--dragon{background-color:#b22222;outline-color:#fff}.react-scoreboard.theme--whale{background-color:#0074d9;outline-color:#fff}.react-scoreboard.theme--unicorn{background-color:#ec5590;outline-color:#fff}.react-scoreboard.theme--unicorn-dark{background-color:#404043;outline-color:#59595d}.react-scoreboard.theme--ice{background-color:#fff;outline-color:#d5f0f7}.react-scoreboard[data-layout=with-logos]{max-width:650px}@media (max-width:767px){.react-scoreboard{max-width:400px;padding:30px 20px}}@media (max-width:480px){.react-scoreboard{max-width:100%;padding:30px 10px}.react-scoreboard[data-layout=with-logos]{max-width:100%}}.react-scoreboard .integer-box{padding:0 6px;border:1px solid #434343;background-color:#313131;border-radius:4px;display:inline-block;text-align:center;-webkit-box-shadow:inset 0 0 15px 0 rgba(0,0,0,.7);-moz-box-shadow:inset 0 0 15px 0 rgba(0,0,0,.7);box-shadow:inset 0 0 15px 0 rgba(0,0,0,.7);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.react-scoreboard .integer-box.theme--dragon{background-color:#901b1b;border-color:#5c1212}.react-scoreboard .integer-box.theme--dragon.integer-score .digit-text,.react-scoreboard .integer-box.theme--dragon.integer-time .digit-text{color:#f9bc32}.react-scoreboard .integer-box.theme--whale{background-color:#00437d;border-color:#003d73;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.react-scoreboard .integer-box.theme--whale.integer-score .digit-text,.react-scoreboard .integer-box.theme--whale.integer-time .digit-text{color:#ff9d00}.react-scoreboard .integer-box.theme--unicorn{background-color:#272727}.react-scoreboard .integer-box.theme--unicorn.integer-score .digit-text,.react-scoreboard .integer-box.theme--unicorn.integer-time .digit-text{color:#ea3773}.react-scoreboard .integer-box.theme--unicorn-dark{background-color:#272727}.react-scoreboard .integer-box.theme--unicorn-dark.integer-score .digit-text,.react-scoreboard .integer-box.theme--unicorn-dark.integer-time .digit-text{color:#ea3773}.react-scoreboard .integer-box.theme--ice{background-color:#d5f0f7;border-color:#d5f0f7;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.react-scoreboard .integer-box.theme--ice.integer-time .digit-text{color:#226d84}.react-scoreboard .integer-box.theme--ice.integer-score .digit-text{color:#de3248}.react-scoreboard .single-digit-box{text-align:right;width:100%;position:relative}.react-scoreboard .single-digit-box[data-digits="1"]{width:100%}.react-scoreboard .single-digit-box[data-digits="2"]{width:50%}.react-scoreboard .single-digit-box[data-digits="3"]{width:33.33%}.react-scoreboard .single-digit-box[data-digits="4"]{width:25%}.react-scoreboard .single-digit-box .digit-live{position:absolute;top:0;right:0}.react-scoreboard .single-digit-box .digit-silhouette{opacity:.08;position:relative;top:0;right:0}.react-scoreboard .single-digit-box .digit-silhouette:after{content:"8"}.react-scoreboard .single-digit-box .digit-live,.react-scoreboard .single-digit-box .digit-silhouette{padding:0 6px}.react-scoreboard .single-digit-box .digit-style{font-size:4rem;line-height:4rem;font-weight:400;color:#f9bc32;font-family:DS-Digital,sans-serif}.react-scoreboard .single-digit-box[data-type=time] .digit-style{font-size:5rem;line-height:5rem}.react-scoreboard .single-digit-box[data-type=score] .digit-style{font-size:4rem;line-height:4rem;color:#d10505}.react-scoreboard .single-digit-box[data-type=score] .digit-silhouette{opacity:.14}.react-scoreboard .single-digit-box[data-type=period] .digit-style{font-size:3.3rem;line-height:3.3rem;color:#f9bc32}@media (max-width:767px){.react-scoreboard .single-digit-box[data-type=time] .digit-style{font-size:4.7rem;line-height:4.7rem}.react-scoreboard .single-digit-box[data-type=score] .digit-style{font-size:3.4rem;line-height:3.4rem}.react-scoreboard .single-digit-box[data-type=period] .digit-style{font-size:3rem;line-height:3rem}}@media (max-width:480px){.react-scoreboard .single-digit-box[data-type=time] .digit-style{font-size:4rem;line-height:4rem}.react-scoreboard .single-digit-box[data-type=score] .digit-style{font-size:3rem;line-height:3rem}.react-scoreboard .single-digit-box[data-type=period] .digit-style{font-size:2.6rem;line-height:2.6rem}}.react-scoreboard .label-box{margin:10px 0;padding:4px 0;border:0;background-color:rgba(0,0,0,.4);border-radius:4px;text-align:center}.react-scoreboard .label-box.theme--dragon{background-color:#b22222}.react-scoreboard .label-box.theme--dragon>.label-text{color:#fff}.react-scoreboard .label-box.theme--whale{background-color:#0059a6}.react-scoreboard .label-box.theme--whale>.label-text{color:#fff}.react-scoreboard .label-box.theme--unicorn{background-color:#ee679c}.react-scoreboard .label-box.theme--unicorn>.label-text{color:#fff;font-weight:400}.react-scoreboard .label-box.theme--unicorn-dark{background-color:#ea3773}.react-scoreboard .label-box.theme--unicorn-dark>.label-text{color:#fff;font-weight:400}.react-scoreboard .label-box.theme--ice{background-color:#729ca8}.react-scoreboard .label-box.theme--ice>.label-text{color:#fff}.react-scoreboard .label-box>.label-text{font-size:1.6rem;line-height:1.6rem;font-weight:300;color:#858585;font-family:DS-Digital,sans-serif;text-transform:uppercase}.react-scoreboard .label-box.period-label{margin-left:auto;margin-right:auto;width:55%}@media (max-width:767px){.react-scoreboard .label-box{padding:4px 0}.react-scoreboard .label-box>.label-text{font-size:1.2rem;line-height:1.2rem}}@media (max-width:480px){.react-scoreboard .label-box.period-label{width:90%}}.react-scoreboard .colon-box{font-size:4.8rem;line-height:4.8rem;font-weight:400;color:#f9bc32;font-family:DS-Digital,sans-serif}.react-scoreboard .colon-box.theme--dragon{color:#f9bc32}.react-scoreboard .colon-box.theme--whale{color:#ff9d00}.react-scoreboard .colon-box.theme--unicorn{color:#fff}.react-scoreboard .colon-box.theme--unicorn-dark{color:#ea3773}.react-scoreboard .colon-box.theme--ice{color:#226d84}@media (max-width:767px){.react-scoreboard .colon-box{font-size:4.4rem;line-height:4.4rem}}@media (max-width:480px){.react-scoreboard .colon-box{font-size:3.7rem;line-height:3.7rem}}.react-scoreboard .team-logo{text-align:center}.react-scoreboard .possession-indicators{width:100%;margin:27px 0 10px;text-align:center;margin-left:auto;margin-right:auto}.react-scoreboard .possession-indicators.theme--dragon .triangle-left{border-color:transparent rgba(0,0,0,.35) transparent transparent}.react-scoreboard .possession-indicators.theme--dragon .triangle-right{border-color:transparent transparent transparent rgba(0,0,0,.35)}.react-scoreboard .possession-indicators.theme--dragon[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #fff}.react-scoreboard .possession-indicators.theme--dragon[data-team-possession=home] .triangle-left{border-color:transparent #fff transparent transparent}.react-scoreboard .possession-indicators.theme--whale .triangle-left{border-color:transparent rgba(0,0,0,.35) transparent transparent}.react-scoreboard .possession-indicators.theme--whale .triangle-right{border-color:transparent transparent transparent rgba(0,0,0,.35)}.react-scoreboard .possession-indicators.theme--whale[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #ff9d00}.react-scoreboard .possession-indicators.theme--whale[data-team-possession=home] .triangle-left{border-color:transparent #ff9d00 transparent transparent}.react-scoreboard .possession-indicators.theme--unicorn .triangle-left{border-color:transparent rgba(0,0,0,.35) transparent transparent}.react-scoreboard .possession-indicators.theme--unicorn .triangle-right{border-color:transparent transparent transparent rgba(0,0,0,.35)}.react-scoreboard .possession-indicators.theme--unicorn[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #fff}.react-scoreboard .possession-indicators.theme--unicorn[data-team-possession=home] .triangle-left{border-color:transparent #fff transparent transparent}.react-scoreboard .possession-indicators.theme--unicorn-dark .triangle-left{border-color:transparent rgba(0,0,0,.35) transparent transparent}.react-scoreboard .possession-indicators.theme--unicorn-dark .triangle-right{border-color:transparent transparent transparent rgba(0,0,0,.35)}.react-scoreboard .possession-indicators.theme--unicorn-dark[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #ea3773}.react-scoreboard .possession-indicators.theme--unicorn-dark[data-team-possession=home] .triangle-left{border-color:transparent #ea3773 transparent transparent}.react-scoreboard .possession-indicators.theme--ice .triangle-left{border-color:transparent #226d84 transparent transparent}.react-scoreboard .possession-indicators.theme--ice .triangle-right{border-color:transparent transparent transparent #226d84}.react-scoreboard .possession-indicators.theme--ice[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #de3248}.react-scoreboard .possession-indicators.theme--ice[data-team-possession=home] .triangle-left{border-color:transparent #de3248 transparent transparent}.react-scoreboard .possession-indicators .triangle{display:inline-block;width:0;height:0;border-style:solid}.react-scoreboard .possession-indicators .triangle-left{border-width:13px 17px 13px 0;border-color:transparent rgba(0,0,0,.4) transparent transparent;margin:0 5px 0 0}.react-scoreboard .possession-indicators .triangle-right{border-width:13px 0 13px 17px;border-color:transparent transparent transparent rgba(0,0,0,.4);margin:0 0 0 5px}.react-scoreboard .possession-indicators[data-team-possession=away] .triangle-right{border-color:transparent transparent transparent #f9bc32}.react-scoreboard .possession-indicators[data-team-possession=home] .triangle-left{border-color:transparent #f9bc32 transparent transparent}@media (max-width:767px){.react-scoreboard .possession-indicators{margin:25px 0 4px}.react-scoreboard .possession-indicators .triangle-left{border-width:12px 15px 12px 0}.react-scoreboard .possession-indicators .triangle-right{border-width:12px 0 12px 15px}}@media (max-width:480px){.react-scoreboard .possession-indicators{margin:15px 0 4px}.react-scoreboard .possession-indicators .triangle-left{border-width:10px 13px 10px 0}.react-scoreboard .possession-indicators .triangle-right{border-width:10px 0 10px 13px}}.react-scoreboard .period-indicators{text-align:center;margin-top:5px}.react-scoreboard .period-indicators.theme--dragon>.indicator-item{background-color:rgba(0,0,0,.35)}.react-scoreboard .period-indicators.theme--dragon>.indicator-item[data-active=true],.react-scoreboard .period-indicators.theme--whale>.indicator-item{background-color:#fff}.react-scoreboard .period-indicators.theme--whale>.indicator-item[data-active=true]{background-color:#ff9d00}.react-scoreboard .period-indicators.theme--unicorn>.indicator-item{background-color:rgba(0,0,0,.35)}.react-scoreboard .period-indicators.theme--unicorn>.indicator-item[data-active=true]{background-color:#fff}.react-scoreboard .period-indicators.theme--unicorn-dark>.indicator-item{background-color:rgba(0,0,0,.35)}.react-scoreboard .period-indicators.theme--unicorn-dark>.indicator-item[data-active=true]{background-color:#ea3773}.react-scoreboard .period-indicators.theme--ice>.indicator-item{background-color:#226d84}.react-scoreboard .period-indicators.theme--ice>.indicator-item[data-active=true]{background-color:#de3248}.react-scoreboard .period-indicators>.indicator-item{width:9px;height:9px;margin:0 5px;padding:0;background-color:#858585;display:inline-block;border-radius:50%}.react-scoreboard .period-indicators>.indicator-item[data-active=true]{background-color:#f9bc32}@media (max-width:480px){.react-scoreboard .period-indicators>.indicator-item{width:8px;height:8px;margin:0 4px;border-radius:50%}}.react-scoreboard .flex-row{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;box-sizing:border-box;position:relative;min-height:1px;padding:0 15px;white-space:no-wrap}.react-scoreboard .col-content{width:100%;margin-left:auto;margin-right:auto}.react-scoreboard .col-content[data-layout=with-logos]{width:64%}.react-scoreboard .col-logo{width:18%}.react-scoreboard .col-score{width:50%}.react-scoreboard .col-score.col-home{padding-right:15px}.react-scoreboard .col-score.col-away{padding-left:15px}.react-scoreboard .col-minutes,.react-scoreboard .col-seconds{width:44%}.react-scoreboard .colon-box{width:12%;text-align:center}.react-scoreboard .col-period{width:50%;margin-left:auto;margin-right:auto;text-align:center}.react-scoreboard .period-box{width:54px;margin-left:auto;margin-right:auto}@media (max-width:767px){.react-scoreboard .period-box{width:50px}}@media (max-width:480px){.react-scoreboard .period-box{width:48px}.react-scoreboard .col-content[data-layout=with-logos]{width:100%}.react-scoreboard .col-logo[data-layout=with-logos]{display:none}}',""])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={placeValueLookup:function(e){return{ones:0,tens:1,hundreds:2}[e]}};t.default=o},function(e,t){function r(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=o(n);return[r].concat(n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"})).concat([a]).join("\n")}return[r].join("\n")}function o(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var o=r(t,e);return t[2]?"@media "+t[2]+"{"+o+"}":o}).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},n=0;n<this.length;n++){var a=this[n][0];"number"==typeof a&&(o[a]=!0)}for(n=0;n<e.length;n++){var i=e[n];"number"==typeof i[0]&&o[i[0]]||(r&&!i[2]?i[2]=r:r&&(i[2]="("+i[2]+") and ("+r+")"),t.push(i))}},t}},function(e,t,r){e.exports=r.p+"e3debd6b1458c1763139fa3d811b7117.eot"},function(e,t,r){function o(e,t){for(var r=0;r<e.length;r++){var o=e[r],n=b[o.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](o.parts[a]);for(;a<o.parts.length;a++)n.parts.push(d(o.parts[a],t))}else{for(var i=[],a=0;a<o.parts.length;a++)i.push(d(o.parts[a],t));b[o.id]={id:o.id,refs:1,parts:i}}}}function n(e,t){for(var r=[],o={},n=0;n<e.length;n++){var a=e[n],i=t.base?a[0]+t.base:a[0],c=a[1],s=a[2],l=a[3],d={css:c,media:s,sourceMap:l};o[i]?o[i].parts.push(d):r.push(o[i]={id:i,parts:[d]})}return r}function a(e,t){var r=m(e.insertInto);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=x[x.length-1];if("top"===e.insertAt)o?o.nextSibling?r.insertBefore(t,o.nextSibling):r.appendChild(t):r.insertBefore(t,r.firstChild),x.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(t)}}function i(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=x.indexOf(e);t>=0&&x.splice(t,1)}function c(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),a(e,t),t}function s(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),a(e,t),t}function l(e,t){Object.keys(t).forEach(function(r){e.setAttribute(r,t[r])})}function d(e,t){var r,o,n,a;if(t.transform&&e.css){if(!(a=t.transform(e.css)))return function(){};e.css=a}if(t.singleton){var l=y++;r=g||(g=c(t)),o=u.bind(null,r,l,!1),n=u.bind(null,r,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=s(t),o=f.bind(null,r,t),n=function(){i(r),r.href&&URL.revokeObjectURL(r.href)}):(r=c(t),o=p.bind(null,r),n=function(){i(r)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else n()}}function u(e,t,r,o){var n=r?"":o.css;if(e.styleSheet)e.styleSheet.cssText=w(t,n);else{var a=document.createTextNode(n),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t){var r=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function f(e,t,r){var o=r.css,n=r.sourceMap,a=void 0===t.convertToAbsoluteUrls&&n;(t.convertToAbsoluteUrls||a)&&(o=v(o)),n&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var i=new Blob([o],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}var b={},h=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),m=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e.call(this,r)),t[r]}}(function(e){return document.querySelector(e)}),g=null,y=0,x=[],v=r(23);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=h()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var r=n(e,t);return o(r,t),function(e){for(var a=[],i=0;i<r.length;i++){var c=r[i],s=b[c.id];s.refs--,a.push(s)}if(e){o(n(e,t),t)}for(var i=0;i<a.length;i++){var s=a[i];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete b[s.id]}}}};var w=function(){var e=[];return function(t,r){return e[t]=r,e.filter(Boolean).join("\n")}}()},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=r(9),d=o(l),u=r(17),p=o(u),f=r(10),b=o(f),h=r(15),m=o(h),g=r(16),y=o(g),x=r(14),v=o(x),w=r(11),_=o(w),O=r(13),j=o(O),k=r(1),E=(o(k),r(21));o(E);r(22);var P=function(e){function t(){return n(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.home_score,o=e.home_label,n=e.home_logo,a=e.time,i=e.total_periods,c=e.period_label,s=e.cur_period,l=e.away_score,u=e.away_label,f=e.away_logo,h=e.team_possession,g=e.period_box,x=e.period_indicators;t=void 0===t?p.default.dark:p.default[t];var w="default";n&&n.length>0&&f&&f.length>0&&(w="with-logos");var O=null;void 0!==h&&(O=React.createElement(v.default,{team_possession:h,theme:t}));var k=null;n&&n.length>0&&(k=React.createElement(y.default,{src:n,team:"home",layout:w}));var E=null;f&&f.length>0&&(E=React.createElement(y.default,{src:f,team:"away",layout:w}));var P=null;1==g&&(P=React.createElement(_.default,{total_periods:i,cur_period:s}));var R=null;return 1==x&&(R=React.createElement(j.default,{total_periods:i,cur_period:s,theme:t})),React.createElement("section",{className:"react-scoreboard "+t,"data-layout":w},React.createElement("div",{className:"flex-row"},React.createElement("div",{className:"col-content","data-layout":w},React.createElement(d.default,{time:a,theme:t}))),React.createElement("div",{className:"flex-row"},k,React.createElement("div",{className:"col-content","data-layout":w},React.createElement("div",{className:"flex-row"},React.createElement("div",{className:"col-score col-home"},React.createElement(b.default,{label:o,theme:t}),React.createElement(m.default,{score:r,theme:t})),React.createElement("div",{className:"col-score col-away"},React.createElement(b.default,{label:u,theme:t}),React.createElement(m.default,{score:l,theme:t})),React.createElement("div",{className:"col-period","data-layout":w},O,React.createElement(b.default,{label:c,theme:t}),P,R))),E))}}]),t}(s.Component);t.default=P},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=o(s),d=r(1),u=o(d),p=r(4),f=o(p),b=function(e){function t(){var e,r,o,i;n(this,t);for(var c=arguments.length,s=Array(c),l=0;l<c;l++)s[l]=arguments[l];return r=o=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.displayMinutes=function(e){return("0"+Math.floor(e/60)).slice(-2)},o.displaySeconds=function(e){return("0"+(e-60*Math.floor(e/60))).slice(-2)},o.displayDigit=function(e,t,r){for(var n="seconds"===t?o.displaySeconds(e):o.displayMinutes(e),a=[],i=0;i<n.length;i++)a.push(n.charAt(i));return a[f.default.placeValueLookup(r)]},i=r,a(o,i)}return i(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.time;return l.default.createElement("div",{className:"flex-row"},l.default.createElement("div",{className:"col-minutes"},l.default.createElement("div",{className:"integer-box "+t},l.default.createElement(u.default,{digit:this.displayDigit(r,"minutes","ones"),type:"time",digits:"2"}),l.default.createElement(u.default,{digit:this.displayDigit(r,"minutes","tens"),type:"time",digits:"2"}))),l.default.createElement("div",{className:"colon-box"},":"),l.default.createElement("div",{className:"col-seconds"},l.default.createElement("div",{className:"integer-box "+t},l.default.createElement(u.default,{digit:this.displayDigit(r,"seconds","ones"),type:"time",digits:"2"}),l.default.createElement(u.default,{digit:this.displayDigit(r,"seconds","tens"),type:"time",digits:"2"}))))}}]),t}(s.Component);t.default=b},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.type,o=e.label,n="period"===r?"label-box period-label "+t:"label-box "+t;return s.default.createElement("div",{className:n},s.default.createElement("span",{className:"label-text"},o))}}]),t}(c.Component);t.default=l},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=o(s),d=r(1),u=o(d),p=function(e){function t(){return n(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),c(t,[{key:"render",value:function(){return l.default.createElement("div",{className:"period-box"},l.default.createElement("div",{className:"integer-box"},l.default.createElement(u.default,{digit:this.props.cur_period,type:"period"})))}}]),t}(s.Component);t.default=p},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){return s.default.createElement("li",{className:"indicator-item","data-active":this.props.active})}}]),t}(c.Component);t.default=l},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=o(s),d=r(12),u=o(d),p=function(e){function t(){var e,r,o,i;n(this,t);for(var c=arguments.length,s=Array(c),l=0;l<c;l++)s[l]=arguments[l];return r=o=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.setActiveState=function(e){return e<=o.props.cur_period},i=r,a(o,i)}return i(t,e),c(t,[{key:"render",value:function(){for(var e=this,t=this.props.total_periods,r=[],o=0;o<t;o++)r.push(o+1);var n=r.map(function(t){return l.default.createElement(u.default,{key:t,item:t,cur_period:e.props.cur_period,active:e.setActiveState(t)})});return l.default.createElement("ul",{className:"period-indicators "+this.props.theme},n)}}]),t}(s.Component);t.default=p},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.team_possession;return s.default.createElement("div",{className:"possession-indicators "+t,"data-team-possession":r},s.default.createElement("div",{className:"triangle triangle-left"}),s.default.createElement("div",{className:"triangle triangle-right"}))}}]),t}(c.Component);t.default=l},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),s=r(0),l=o(s),d=r(1),u=o(d),p=r(4),f=o(p),b=function(e){function t(){var e,r,o,i;n(this,t);for(var c=arguments.length,s=Array(c),l=0;l<c;l++)s[l]=arguments[l];return r=o=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),o.displayDigitX=function(e,t){return(""+e).split("")[f.default.placeValueLookup(t)]},o.displayDigit=function(e,t){var r=(""+e).split(""),o=0;if(1===r.length){if("ones"!==t)return"";o=0}else if(2===r.length)if("ones"===t)o=1;else{if("tens"!==t)return"";o=0}else 3===r.length&&("ones"===t?o=2:"tens"===t?o=1:"hundreds"===t&&(o=0));return r[o]},i=r,a(o,i)}return i(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.theme,r=e.score;return l.default.createElement("div",{className:"integer-box "+t},l.default.createElement(u.default,{digit:this.displayDigit(r,"hundreds"),type:"score",digits:"3"}),l.default.createElement(u.default,{digit:this.displayDigit(r,"tens"),type:"score",digits:"3"}),l.default.createElement(u.default,{digit:this.displayDigit(r,"ones"),type:"score",digits:"3"}))}}]),t}(s.Component);t.default=b},function(e,t,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),c=r(0),s=function(e){return e&&e.__esModule?e:{default:e}}(c),l=function(e){function t(){return o(this,t),n(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),i(t,[{key:"render",value:function(){return s.default.createElement("div",{className:"col-logo","data-layout":this.props.layout},s.default.createElement("div",{className:"team-logo"},s.default.createElement("img",{src:this.props.src,"data-team":this.props.team})))}}]),t}(c.Component);t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={dark:"theme--dark",unicorn:"theme--unicorn","unicorn-dark":"theme--unicorn-dark",dragon:"theme--dragon",whale:"theme--whale",ice:"theme--ice"};t.default=o},function(e,t,r){e.exports=r.p+"5410cf1ee3575a3152a562e859dbe1ba.ttf"},function(e,t,r){e.exports=r.p+"713883650aa62dd893e4980ee5b6e958.woff"},function(e,t,r){e.exports=r.p+"87d82b45ad1d662d72765e15c462c2fd.woff2"},function(e,t,r){var o=r(2);"string"==typeof o&&(o=[[e.i,o,""]]);var n={};n.transform=void 0;var a=r(7)(o,n);o.locals&&(e.exports=o.locals),o.locals||e.hot.accept(2,function(){var t=r(2);"string"==typeof t&&(t=[[e.i,t,""]]),a(t)}),e.hot.dispose(function(){a()})},function(e,t,r){var o=r(3);"string"==typeof o&&(o=[[e.i,o,""]]);var n={};n.transform=void 0;var a=r(7)(o,n);o.locals&&(e.exports=o.locals),o.locals||e.hot.accept(3,function(){var t=r(3);"string"==typeof t&&(t=[[e.i,t,""]]),a(t)}),e.hot.dispose(function(){a()})},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var r=t.protocol+"//"+t.host,o=r+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var n=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(n))return e;var a;return a=0===n.indexOf("//")?n:0===n.indexOf("/")?r+n:o+n.replace(/^\.\//,""),"url("+JSON.stringify(a)+")"})}},function(e,t,r){e.exports=r(8)}])}); |
{ | ||
"name": "react-scoreboard", | ||
"description": "Scoreboard component for React JS", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "dist/main.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
# react-scoreboard | ||
react-scoreboard is a scoreboard component written for React. | ||
[Live Component Demo](https://michaelferrell.github.io/react-scoreboard/public/) | ||
[Live Component Demo](https://michaelferrell.github.io/react-scoreboard/demo/dist/) | ||
@@ -6,0 +6,0 @@ ## Contribute |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
106781
7