4 lines
41 KiB
JavaScript
4 lines
41 KiB
JavaScript
|
(self.webpackChunk=self.webpackChunk||[]).push([["contributors-graph"],{"./node_modules/hammerjs/hammer.js":function(pe,Qt,C){var f;(function(x,ve,ze,P){"use strict";var Gt=["","webkit","Moz","MS","ms","o"],ge=ve.createElement("div"),Te="function",it=Math.round,G=Math.abs,At=Date.now;function Mt(e,n,s){return setTimeout(Nt(e,s),n)}function ot(e,n,s){return Array.isArray(e)?(X(e,s[n],s),!0):!1}function X(e,n,s){var a;if(e)if(e.forEach)e.forEach(n,s);else if(e.length!==P)for(a=0;a<e.length;)n.call(s,e[a],a,e),a++;else for(a in e)e.hasOwnProperty(a)&&n.call(s,e[a],a,e)}function Bt(e,n,s){var a="DEPRECATED METHOD: "+n+`
|
||
|
`+s+` AT
|
||
|
`;return function(){var h=new Error("get-stack-trace"),d=h&&h.stack?h.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",E=x.console&&(x.console.warn||x.console.log);return E&&E.call(x.console,a,d),e.apply(this,arguments)}}var z;typeof Object.assign!="function"?z=function(n){if(n===P||n===null)throw new TypeError("Cannot convert undefined or null to object");for(var s=Object(n),a=1;a<arguments.length;a++){var h=arguments[a];if(h!==P&&h!==null)for(var d in h)h.hasOwnProperty(d)&&(s[d]=h[d])}return s}:z=Object.assign;var qt=Bt(function(n,s,a){for(var h=Object.keys(s),d=0;d<h.length;)(!a||a&&n[h[d]]===P)&&(n[h[d]]=s[h[d]]),d++;return n},"extend","Use `assign`."),ye=Bt(function(n,s){return qt(n,s,!0)},"merge","Use `assign`.");function N(e,n,s){var a=n.prototype,h;h=e.prototype=Object.create(a),h.constructor=e,h._super=a,s&&z(h,s)}function Nt(e,n){return function(){return e.apply(n,arguments)}}function wt(e,n){return typeof e==Te?e.apply(n&&n[0]||P,n):e}function Kt(e,n){return e===P?n:e}function yt(e,n,s){X(xt(n),function(a){e.addEventListener(a,s,!1)})}function Et(e,n,s){X(xt(n),function(a){e.removeEventListener(a,s,!1)})}function Jt(e,n){for(;e;){if(e==n)return!0;e=e.parentNode}return!1}function B(e,n){return e.indexOf(n)>-1}function xt(e){return e.trim().split(/\s+/g)}function st(e,n,s){if(e.indexOf&&!s)return e.indexOf(n);for(var a=0;a<e.length;){if(s&&e[a][s]==n||!s&&e[a]===n)return a;a++}return-1}function _t(e){return Array.prototype.slice.call(e,0)}function k(e,n,s){for(var a=[],h=[],d=0;d<e.length;){var E=n?e[d][n]:e[d];st(h,E)<0&&a.push(e[d]),h[d]=E,d++}return s&&(n?a=a.sort(function(M,L){return M[n]>L[n]}):a=a.sort()),a}function bt(e,n){for(var s,a,h=n[0].toUpperCase()+n.slice(1),d=0;d<Gt.length;){if(s=Gt[d],a=s?s+h:n,a in e)return a;d++}return P}var Ee=1;function lt(){return Ee++}function T(e){var n=e.ownerDocument||e;return n.defaultView||n.parentWindow||x}var ut=/mobile|tablet|ip(ad|hone|od)|android/i,Lt="ontouchstart"in x,Dt=bt(x,"PointerEvent")!==P,V=Lt&&ut.test(navigator.userAgent),q="touch",xe="pen",kt="mouse",$t="kinect",Rt=25,y=1,K=2,b=4,O=8,St=1,U=2,ct=4,ht=8,rt=16,F=U|ct,J=ht|rt,te=F|J,ee=["x","y"],Ct=["clientX","clientY"];function w(e,n){var s=this;this.manager=e,this.callback=n,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(a){wt(e.options.enable,[e])&&s.handler(a)},this.init()}w.prototype={handler:function(){},init:function(){this.evEl&&yt(this.element,this.evEl,this.domHandler),this.evTarget&&yt(this.target,this.evTarget,this.domHandler),this.evWin&&yt(T(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&Et(this.element,this.evEl,this.domHandler),this.evTarget&&Et(this.target,this.evTarget,this.domHandler),this.evWin&&Et(T(this.element),this.evWin,this.domHandler)}};function ne(e){var n,s=e.options.inputClass;return s?n=s:Dt?n=tt:V?n=Pt:Lt?n=Yt:n=dt,new n(e,zt)}function zt(e,n,s){var a=s.pointers.length,h=s.changedPointers.length,d=n&y&&a-h===0,E=n&(b|O)&&a-h===0;s.isFirst=!!d,s.isFinal=!!E,d&&(e.session={}),s.eventType=n,Ut(e,s),e.emit("hammer.input",s),e.recognize(s),e.session.prevInput=s}function Ut(e,n){var s=e.session,a=n.pointers,h=a.length;s.firstInput||(s.firstInput=jt(n)),h>1&&!s.firstMultiple?s.firstMultiple=jt(n):h===1&&(s.firstMultiple=!1);var d=s.firstInput,E=s.firstMultiple,I=E?E.center:d.center,M=n.center=$(a);n.timeStamp=At(),n.deltaTime=n.timeStamp-d.timeStamp,n.angle=ft(I,M),n.distance=It(I,M),Ft(s,n),n.offsetDirection=Ht(n.deltaX,n.deltaY);var L=Xt(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=L.x,n.overallVelocityY=L.y,n.overallVelocity=G(L.x)>G(L.y)?L.x:L.y,n.scale=E?be(E.pointers,a):1,n.rotation=E?ie(E.pointers,a):0,n.maxPointers=s.prevInput?n.pointers.length>s.prevInput.maxPointers?n.pointers.length:s.prevInput.maxPointers:n.pointers.length,_e(s,n);var Q=e.element;Jt(n.srcEvent.target,Q)&&(Q=n.srcEvent.target),n.target=Q}function Ft(e,n){var s=n.center,a=e.offsetDelta||{},h=e.prevDelta||{},d=e.prevInput||{};(n.eventType===y||d.even
|