You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(function(a){a.combinations=function(a){if(Object.prototype.toString.call(a)!=="[object Array]"){throw new Error("combinations method was passed a non-array argument")}var b=[],c=[],d=a.length?1:0,e=a.length;for(var f=0;f<e;++f){if(Object.prototype.toString.call(a[f])!=="[object Array]"){throw new Error("combinations method was passed a non-array argument")}d=d*a[f].length}for(var g=0;g<d;++g){var h=g,c=[],i=[];for(var j=0;j<e;++j){c[j]=h%a[j].length;h=Math.floor(h/a[j].length)}for(var j=0;j<c.length;++j){i.push(a[j][c[j]])}b.push(i)}return b}})(jQuery)