-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.min.js
1 lines (1 loc) · 1017 Bytes
/
index.min.js
1
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.luhn=e()}}(function(){return function e(n,r,t){function o(u,i){if(!r[u]){if(!n[u]){var d="function"==typeof require&&require;if(!i&&d)return d(u,!0);if(f)return f(u,!0);var l=new Error("Cannot find module '"+u+"'");throw l.code="MODULE_NOT_FOUND",l}var p=r[u]={exports:{}};n[u][0].call(p.exports,function(e){var r=n[u][1][e];return o(r?r:e)},p,p.exports,e,n,r,t)}return r[u].exports}for(var f="function"==typeof require&&require,u=0;u<t.length;u++)o(t[u]);return o}({1:[function(e,n,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e){return function(n){for(var r=n?n.length:0,t=1,o=0;r--;)o+=(t^=1)?e[n[r]]:parseInt(n[r],10);return o%10===0&&o>0}}([0,2,4,6,8,1,3,5,7,9]),n.exports=r["default"]},{}]},{},[1])(1)});