4 lines
217 KiB
JavaScript
Raw Normal View History

var ar=Object.defineProperty;var lr=(vt,nt,G)=>nt in vt?ar(vt,nt,{enumerable:!0,configurable:!0,writable:!0,value:G}):vt[nt]=G;var R=(vt,nt,G)=>(lr(vt,typeof nt!="symbol"?nt+"":nt,G),G);(self.webpackChunk=self.webpackChunk||[]).push([["contributors-graph-code-frequency-graph-recent-commits-graph"],{"./node_modules/dayjs/plugin/advancedFormat.js":function(vt){(function(nt,G){vt.exports=G()})(this,function(){"use strict";return function(nt,G){var d=G.prototype,W=d.format;d.format=function(X){var Q=this,ut=this.$locale();if(!this.isValid())return W.bind(this)(X);var j=this.$utils(),at=(X||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(K){switch(K){case"Q":return Math.ceil((Q.$M+1)/3);case"Do":return ut.ordinal(Q.$D);case"gggg":return Q.weekYear();case"GGGG":return Q.isoWeekYear();case"wo":return ut.ordinal(Q.week(),"W");case"w":case"ww":return j.s(Q.week(),K==="w"?1:2,"0");case"W":case"WW":return j.s(Q.isoWeek(),K==="W"?1:2,"0");case"k":case"kk":return j.s(String(Q.$H===0?24:Q.$H),K==="k"?1:2,"0");case"X":return Math.floor(Q.$d.getTime()/1e3);case"x":return Q.$d.getTime();case"z":return"["+Q.offsetName()+"]";case"zzz":return"["+Q.offsetName("long")+"]";default:return K}});return W.bind(this)(at)}}})},"./node_modules/dayjs/plugin/customParseFormat.js":function(vt){(function(nt,G){vt.exports=G()})(this,function(){"use strict";var nt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},G=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,d=/\d\d/,W=/\d\d?/,X=/\d*[^-_:/,()\s\d]+/,Q={},ut=function(z){return(z=+z)+(z>68?1900:2e3)},j=function(z){return function(q){this[z]=+q}},at=[/[+-]\d\d:?(\d\d)?|Z/,function(z){(this.zone||(this.zone={})).offset=function(q){if(!q||q==="Z")return 0;var ct=q.match(/([+-]|\d\d)/g),ht=60*ct[1]+(+ct[2]||0);return ht===0?0:ct[0]==="+"?-ht:ht}(z)}],K=function(z){var q=Q[z];return q&&(q.indexOf?q:q.s.concat(q.f))},lt=function(z,q){var ct,ht=Q.meridiem;if(ht){for(var Pt=1;Pt<=24;Pt+=1)if(z.indexOf(ht(Pt,0,q))>-1){ct=Pt>12;break}}else ct=z===(q?"pm":"PM");return ct},et={A:[X,function(z){this.afternoon=lt(z,!1)}],a:[X,function(z){this.afternoon=lt(z,!0)}],S:[/\d/,function(z){this.milliseconds=100*+z}],SS:[d,function(z){this.milliseconds=10*+z}],SSS:[/\d{3}/,function(z){this.milliseconds=+z}],s:[W,j("seconds")],ss:[W,j("seconds")],m:[W,j("minutes")],mm:[W,j("minutes")],H:[W,j("hours")],h:[W,j("hours")],HH:[W,j("hours")],hh:[W,j("hours")],D:[W,j("day")],DD:[d,j("day")],Do:[X,function(z){var q=Q.ordinal,ct=z.match(/\d+/);if(this.day=ct[0],q)for(var ht=1;ht<=31;ht+=1)q(ht).replace(/\[|\]/g,"")===z&&(this.day=ht)}],M:[W,j("month")],MM:[d,j("month")],MMM:[X,function(z){var q=K("months"),ct=(K("monthsShort")||q.map(function(ht){return ht.slice(0,3)})).indexOf(z)+1;if(ct<1)throw new Error;this.month=ct%12||ct}],MMMM:[X,function(z){var q=K("months").indexOf(z)+1;if(q<1)throw new Error;this.month=q%12||q}],Y:[/[+-]?\d+/,j("year")],YY:[d,function(z){this.year=ut(z)}],YYYY:[/\d{4}/,j("year")],Z:at,ZZ:at};function ft(z){var q,ct;q=z,ct=Q&&Q.formats;for(var ht=(z=q.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Tt,jt,Dt){var xt=Dt&&Dt.toUpperCase();return jt||ct[Dt]||nt[Dt]||ct[xt].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Vt,N,tt){return N||tt.slice(1)})})).match(G),Pt=ht.length,Bt=0;Bt<Pt;Bt+=1){var Kt=ht[Bt],Gt=et[Kt],Wt=Gt&&Gt[0],At=Gt&&Gt[1];ht[Bt]=At?{regex:Wt,parser:At}:Kt.replace(/^\[|\]$/g,"")}return function(Tt){for(var jt={},Dt=0,xt=0;Dt<Pt;Dt+=1){var Vt=ht[Dt];if(typeof Vt=="string")xt+=Vt.length;else{var N=Vt.regex,tt=Vt.parser,st=Tt.slice(xt),wt=N.exec(st)[0];tt.call(jt,wt),Tt=Tt.replace(wt,"")}}return function(bt){var ot=bt.afternoon;if(ot!==void 0){var Lt=bt.hours;ot?Lt<12&&(bt.hours+=12):Lt===12&&(bt.hours=0),delete bt.afternoon}}(jt),jt}}return function(z,q,ct){ct.p.customParseFormat=!0,z&&z.parseTwoDigitYear&&(ut=z.parseTwoDigitYear);var ht=q.prototype,Pt=ht.parse;ht.parse=function(Bt){var Kt=Bt.date,Gt=Bt.utc,Wt=Bt.args;thi
`)>-1?s.split(`
`):s}function Ao(s,t){const{element:e,datasetIndex:i,index:n}=t,o=s.getDatasetMeta(i).controller,{label:a,value:l}=o.getLabelAndValue(n);return{chart:s,label:a,parsed:o.getParsed(n),raw:s.data.datasets[i].data[n],formattedValue:l,dataset:o.getDataset(),dataIndex:n,datasetIndex:i,element:e}}function ho(s,t){const e=s.chart.ctx,{body:i,footer:n,title:o}=s,{boxWidth:a,boxHeight:l}=t,h=(0,d.a0)(t.bodyFont),u=(0,d.a0)(t.titleFont),p=(0,d.a0)(t.footerFont),b=o.length,_=n.length,y=i.length,M=(0,d.E)(t.padding);let S=M.height,D=0,P=i.reduce((L,A)=>L+A.before.length+A.lines.length+A.after.length,0);if(P+=s.beforeBody.length+s.afterBody.length,b&&(S+=b*u.lineHeight+(b-1)*t.titleSpacing+t.titleMarginBottom),P){const L=t.displayColors?Math.max(l,h.lineHeight):h.lineHeight;S+=y*L+(P-y)*h.lineHeight+(P-1)*t.bodySpacing}_&&(S+=t.footerMarginTop+_*p.lineHeight+(_-1)*t.footerSpacing);let O=0;const E=function(L){D=Math.max(D,e.measureText(L).width+O)};return e.save(),e.font=u.string,(0,d.F)(s.title,E),e.font=h.string,(0,d.F)(s.beforeBody.concat(s.afterBody),E),O=t.displayColors?a+2+t.boxPadding:0,(0,d.F)(i,L=>{(0,d.F)(L.before,E),(0,d.F)(L.lines,E),(0,d.F)(L.after,E)}),O=0,e.font=p.string,(0,d.F)(s.footer,E),e.restore(),D+=M.width,{width:D,height:S}}function To(s,t){const{y:e,height:i}=t;return e<i/2?"top":e>s.height-i/2?"bottom":"center"}function Lo(s,t,e,i){const{x:n,width:o}=i,a=e.caretSize+e.caretPadding;if(s==="left"&&n+o+a>t.width||s==="right"&&n-o-a<0)return!0}function Eo(s,t,e,i){const{x:n,width:o}=e,{width:a,chartArea:{left:l,right:h}}=s;let u="center";return i==="center"?u=n<=(l+h)/2?"left":"right":n<=o/2?u="left":n>=a-o/2&&(u="right"),Lo(u,s,t,e)&&(u="center"),u}function uo(s,t,e){const i=e.yAlign||t.yAlign||To(s,e);return{xAlign:e.xAlign||t.xAlign||Eo(s,t,e,i),yAlign:i}}function Ro(s,t){let{x:e,width:i}=s;return t==="right"?e-=i:t==="center"&&(e-=i/2),e}function Fo(s,t,e){let{y:i,height:n}=s;return t==="top"?i+=e:t==="bottom"?i-=n+e:i-=n/2,i}function fo(s,t,e,i){const{caretSize:n,caretPadding:o,cornerRadius:a}=s,{xAlign:l,yAlign:h}=e,u=n+o,{topLeft:p,topRight:b,bottomLeft:_,bottomRight:y}=(0,d.aw)(a);let M=Ro(t,l);const S=Fo(t,h,u);return h==="center"?l==="left"?M+=u:l==="right"&&(M-=u):l==="left"?M-=Math.max(p,_)+n:l==="right"&&(M+=Math.max(b,y)+n),{x:(0,d.S)(M,0,i.width-t.width),y:(0,d.S)(S,0,i.height-t.height)}}function Bn(s,t,e){const i=(0,d.E)(e.padding);return t==="center"?s.x+s.width/2:t==="right"?s.x+s.width-i.right:s.x+i.left}function go(s){return _e([],ke(s))}function Io(s,t,e){return(0,d.j)(s,{tooltip:t,tooltipItems:e,type:"tooltip"})}function po(s,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?s.override(e):s}const mo={beforeTitle:d.aF,title(s){if(s.length>0){const t=s[0],e=t.chart.data.labels,i=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return e[t.dataIndex]}return""},afterTitle:d.aF,beforeBody:d.aF,beforeLabel:d.aF,label(s){if(this&&this.options&&this.options.mode==="dataset")return s.label+": "+s.formattedValue||s.formattedValue;let t=s.dataset.label||"";t&&(t+=": ");const e=s.formattedValue;return(0,d.k)(e)||(t+=e),t},labelColor(s){const e=s.chart.getDatasetMeta(s.datasetIndex).controller.getStyle(s.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(s){const e=s.chart.getDatasetMeta(s.datasetIndex).controller.getStyle(s.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:d.aF,afterBody:d.aF,beforeFooter:d.aF,footer:d.aF,afterFooter:d.aF};function Ut(s,t,e,i){const n=s[t].call(e,i);return typeof n>"u"?mo[t].call(e,i):n}class no extends ee{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.opti