diff --git a/asset-manifest.json b/asset-manifest.json index 81d3141..135bffb 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/doppelkopf-score-tracker/static/css/main.32d3e824.css", - "main.js": "/doppelkopf-score-tracker/static/js/main.7a052b0f.js", + "main.js": "/doppelkopf-score-tracker/static/js/main.c3a45c84.js", "static/media/brand-icons.svg": "/doppelkopf-score-tracker/static/media/brand-icons.6729d29753e000c17489.svg", "static/media/icons.svg": "/doppelkopf-score-tracker/static/media/icons.62d9dae4e0040e81c980.svg", "static/media/outline-icons.svg": "/doppelkopf-score-tracker/static/media/outline-icons.9c4845b4b41ef40a22fa.svg", @@ -21,10 +21,10 @@ "static/media/outline-icons.woff2": "/doppelkopf-score-tracker/static/media/outline-icons.687a4990ea22bb1a49d4.woff2", "index.html": "/doppelkopf-score-tracker/index.html", "main.32d3e824.css.map": "/doppelkopf-score-tracker/static/css/main.32d3e824.css.map", - "main.7a052b0f.js.map": "/doppelkopf-score-tracker/static/js/main.7a052b0f.js.map" + "main.c3a45c84.js.map": "/doppelkopf-score-tracker/static/js/main.c3a45c84.js.map" }, "entrypoints": [ "static/css/main.32d3e824.css", - "static/js/main.7a052b0f.js" + "static/js/main.c3a45c84.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index c2b6fbb..77464d1 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
e||125 a||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n // Test for A's keys different from B.\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || (ret === void 0 && valueA !== valueB)) {\n return false;\n }\n }\n\n return true;\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.p = \"/doppelkopf-score-tracker/\";","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t Doppelkopf Score Tracker is a little web app that helps you keep track of your Doppelkopf score. Don't worry if you accidentally reload or close the page - Doppelkopf Score Tracker will keep the score.-1&&e%1==0&&e1?o-1:0),s=1;s-1?i[o?t[a]:a]:void 0}};var Nc=Math.max;const Ic=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Yr(n);return i<0&&(i=Nc(r+i,0)),or(e,Dn(t,3),i)};const Lc=Rc(Ic);const zc=function(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:Yr(t),Yn(e,0,(t=r-t)<0?0:t)):[]};const jc=On("length");var Fc="\\ud800-\\udfff",Bc="["+Fc+"]",Vc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Uc="\\ud83c[\\udffb-\\udfff]",Wc="[^"+Fc+"]",Hc="(?:\\ud83c[\\udde6-\\uddff]){2}",$c="[\\ud800-\\udbff][\\udc00-\\udfff]",Yc="(?:"+Vc+"|"+Uc+")"+"?",qc="[\\ufe0e\\ufe0f]?",Gc=qc+Yc+("(?:\\u200d(?:"+[Wc,Hc,$c].join("|")+")"+qc+Yc+")*"),Kc="(?:"+[Wc+Vc+"?",Vc,Hc,$c,Bc].join("|")+")",Qc=RegExp(Uc+"(?="+Uc+")|"+Kc+Gc,"g");const Xc=function(e){for(var t=Qc.lastIndex=0;Qc.test(e);)++t;return t};const Zc=function(e){return Bo(e)?Xc(e):jc(e)};const Jc=function(e){if(null==e)return 0;if(Pt(e))return Sr(e)?Zc(e):e.length;var t=qt(e);return"[object Map]"==t||"[object Set]"==t?e.size:Et(e).length};var eu=nr((function(e,t){return Tc(e)?Oc(e,ya(t,1,Tc,!0)):[]}));const tu=eu;const nu=nr((function(e){return pr(ya(e,1,Tc,!0))}));const ru=function(e,t){return Jt(e,t)};var iu=function(t){function n(){return t.apply(this,arguments)||this}return Wn(n,t),n.prototype.render=function(){var t=this.props,i=t.className,a=t.name,s=o(a,"flag",i),l=p(n,this.props),c=g(n,this.props);return e.createElement(c,r({},l,{className:s}))},n}(e.PureComponent);iu.handledProps=["as","className","name"],iu.propTypes={},iu.defaultProps={as:"i"},iu.create=Pr(iu,(function(e){return{name:e}}));const ou=iu;function au(t){var n=t.className,i=o("divider",n),a=p(au,t),s=g(au,t);return e.createElement(s,r({},a,{className:i}))}au.handledProps=["as","className"],au.propTypes={};const su=au;var lu=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),i=0;in.length){for(l=0;l0||!n&&t<0)return i.index}return null}function gg(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,l=o.axis,c=a.axis,u=function(e,t,n){return"".concat(e.id,".").concat(t.id,".").concat(n.stack||n.type)}(o,a,r),d=t.length;let h;for(let f=0;fi)return e}return Math.max(i,1)}(o,t,i);if(a>0){let e,n;const r=a>1?Math.round((l-s)/(a-1)):null;for(Cm(t,c,u,ph(r)?0:s-r,s),e=0,n=a-1;e{let{datasetIndex:t,index:n}=e;const r=this.getDatasetMeta(t);if(!r)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:r.data[n],index:n}}));!kh(n,t)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,n){const r=this.options.hover,i=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),o=i(t,e),a=n?e:i(e,t);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:r=[],options:i}=this,o=t,a=this._getActiveElements(e,r,n,o),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),l=function(e,t,n,r){return n&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,n,s);n&&(this._lastEvent=null,wh(i.onHover,[e,a,this],this),s&&wh(i.onClick,[e,a,this],this));const c=!kh(a,r);return(c||t)&&(this._active=a,this._updateHoverStyles(a,r,t)),this._lastEvent=l,c}_getActiveElements(e,t,n,r){if("mouseout"===e.type)return[];if(!n)return t;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}function dv(){return _h(uv.instances,(e=>e._plugins.invalidate()))}function hv(e,t,n,r){const i=rp(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(n-t)/2,a=Math.min(o,r*t/2),s=e=>{const t=(n-Math.min(o,e))*r/2;return of(e,0,Math.min(o,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:of(i.innerStart,0,a),innerEnd:of(i.innerEnd,0,a)}}function fv(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function pv(e,t,n,r,i,o){const{x:a,y:s,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-c,0),h=u>0?u+r+n+c:0;let f=0;const p=i-l;if(r){const e=((u>0?u-r:0)+(d>0?d-r:0))/2;f=(p-(0!==e?p*e/(e+r):p))/2}const g=(p-Math.max(.001,p*d-n/Lh)/d)/2,m=l+g+f,v=i-g-f,{outerStart:y,outerEnd:b,innerStart:x,innerEnd:w}=hv(t,h,d,v-m),_=d-y,k=d-b,S=m+y/_,C=v-b/k,E=h+x,P=h+w,M=m+x/E,O=v-w/P;if(e.beginPath(),o){const t=(S+C)/2;if(e.arc(a,s,d,S,t),e.arc(a,s,d,t,C),b>0){const t=fv(k,C,a,s);e.arc(t.x,t.y,b,C,v+Vh)}const n=fv(P,v,a,s);if(e.lineTo(n.x,n.y),w>0){const t=fv(P,O,a,s);e.arc(t.x,t.y,w,v+Vh,O+Math.PI)}const r=(v-w/h+(m+x/h))/2;if(e.arc(a,s,h,v-w/h,r,!0),e.arc(a,s,h,r,m+x/h,!0),x>0){const t=fv(E,M,a,s);e.arc(t.x,t.y,x,M+Math.PI,m-Vh)}const i=fv(_,m,a,s);if(e.lineTo(i.x,i.y),y>0){const t=fv(_,S,a,s);e.arc(t.x,t.y,y,m-Vh,S)}}else{e.moveTo(a,s);const t=Math.cos(S)*d+a,n=Math.sin(S)*d+s;e.lineTo(t,n);const r=Math.cos(C)*d+a,i=Math.sin(C)*d+s;e.lineTo(r,i)}e.closePath()}function gv(e,t,n,r,i){const{fullCircles:o,startAngle:a,circumference:s,options:l}=t,{borderWidth:c,borderJoinStyle:u,borderDash:d,borderDashOffset:h}=l,f="inner"===l.borderAlign;if(!c)return;e.setLineDash(d||[]),e.lineDashOffset=h,f?(e.lineWidth=2*c,e.lineJoin=u||"round"):(e.lineWidth=c,e.lineJoin=u||"bevel");let p=t.endAngle;if(o){pv(e,t,n,r,p,i);for(let t=0;te.filter(t,r,i,n)))),e.itemSort&&(l=l.sort(((t,r)=>e.itemSort(t,r,n)))),_h(l,(t=>{const n=Xv(e.callbacks,t);r.push(Jv(n,"labelColor",this,t)),i.push(Jv(n,"labelPointStyle",this,t)),o.push(Jv(n,"labelTextColor",this,t))})),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=l,l}update(e,t){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const e=Vv[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const t=this._size=$v(this,n),a=Object.assign({},e,t),s=qv(this.chart,n,a),l=Gv(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:l.x,y:l.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){const i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){const{xAlign:r,yAlign:i}=this,{caretSize:o,cornerRadius:a}=n,{topLeft:s,topRight:l,bottomLeft:c,bottomRight:u}=op(a),{x:d,y:h}=e,{width:f,height:p}=t;let g,m,v,y,b,x;return"center"===i?(b=h+p/2,"left"===r?(g=d,m=g-o,y=b+o,x=b-o):(g=d+f,m=g+o,y=b-o,x=b+o),v=g):(m="left"===r?d+Math.max(s,c)+o:"right"===r?d+f-Math.max(l,u)-o:this.caretX,"top"===i?(y=h,b=y-o,g=m-o,v=m+o):(y=h+p,b=y+o,g=m+o,v=m-o),x=y),{x1:g,x2:m,x3:v,y1:y,y2:b,y3:x}}drawTitle(e,t,n){const r=this.title,i=r.length;let o,a,s;if(i){const l=qp(n.rtl,this.x,this.width);for(e.x=Kv(this,n.titleAlign,n),t.textAlign=l.textAlign(n.titleAlign),t.textBaseline="middle",o=sp(n.titleFont),a=n.titleSpacing,t.fillStyle=n.titleColor,t.font=o.string,s=0;s0!==e))?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Zf(e,{x:t,y:f,w:l,h:s,radius:a}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),Zf(e,{x:n,y:f+1,w:l-2,h:s-2,radius:a}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,f,l,s),e.strokeRect(t,f,l,s),e.fillStyle=o.backgroundColor,e.fillRect(n,f+1,l-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:r}=this,{bodySpacing:i,bodyAlign:o,displayColors:a,boxHeight:s,boxWidth:l,boxPadding:c}=n,u=sp(n.bodyFont);let d=u.lineHeight,h=0;const f=qp(n.rtl,this.x,this.width),p=function(n){t.fillText(n,f.x(e.x+h),e.y+d/2),e.y+=d+i},g=f.textAlign(o);let m,v,y,b,x,w,_;for(t.textAlign=o,t.textBaseline="middle",t.font=u.string,e.x=Kv(this,g,n),t.fillStyle=n.bodyColor,_h(this.beforeBody,p),h=a&&"right"!==g?"center"===o?l/2+c:l+2+c:0,b=0,w=r.length;b>1,u=-7,d=n?i-1:0,h=n?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)}function rb(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,h=0;hi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return xb(this,e,t,n);case"utf8":case"utf-8":return wb(this,e,t,n);case"ascii":return _b(this,e,t,n);case"latin1":case"binary":return kb(this,e,t,n);case"base64":return Sb(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Cb(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},lb.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Mb=4096;function Ob(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i\n
\n