You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
49 KiB
JavaScript

3 years ago
!function(r){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.card=r()}}(function(){return function r(e,t,a){function n(o,d){if(!t[o]){if(!e[o]){var c="function"==typeof require&&require;if(!d&&c)return c(o,!0);if(i)return i(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var l=t[o]={exports:{}};e[o][0].call(l.exports,function(r){var t=e[o][1][r];return n(t?t:r)},l,l.exports,r,e,t,a)}return t[o].exports}for(var i="function"==typeof require&&require,o=0;o<a.length;o++)n(a[o]);return n}({1:[function(r,e,t){e.exports=r("./lib/extend")},{"./lib/extend":2}],2:[function(r,e,t){function a(){var r,e,t,i,o,d,c=arguments[0]||{},p=1,l=arguments.length,s=!1;for("boolean"==typeof c&&(s=c,c=arguments[1]||{},p=2),"object"==typeof c||n.fn(c)||(c={});l>p;p++)if(r=arguments[p],null!=r){"string"==typeof r&&(r=r.split(""));for(e in r)t=c[e],i=r[e],c!==i&&(s&&i&&(n.hash(i)||(o=n.array(i)))?(o?(o=!1,d=t&&n.array(t)?t:[]):d=t&&n.hash(t)?t:{},c[e]=a(s,d,i)):"undefined"!=typeof i&&(c[e]=i))}return c}var n=r("is");a.version="1.1.3",e.exports=a},{is:3}],3:[function(r,e,t){var a,n=Object.prototype,i=n.hasOwnProperty,o=n.toString;"function"==typeof Symbol&&(a=Symbol.prototype.valueOf);var d=function(r){return r!==r},c={"boolean":1,number:1,string:1,undefined:1},p=/^([A-Za-z0-9+\/]{4})*([A-Za-z0-9+\/]{4}|[A-Za-z0-9+\/]{3}=|[A-Za-z0-9+\/]{2}==)$/,l=/^[A-Fa-f0-9]+$/,s=e.exports={};s.a=s.type=function(r,e){return typeof r===e},s.defined=function(r){return"undefined"!=typeof r},s.empty=function(r){var e,t=o.call(r);if("[object Array]"===t||"[object Arguments]"===t||"[object String]"===t)return 0===r.length;if("[object Object]"===t){for(e in r)if(i.call(r,e))return!1;return!0}return!r},s.equal=function(r,e){if(r===e)return!0;var t,a=o.call(r);if(a!==o.call(e))return!1;if("[object Object]"===a){for(t in r)if(!(s.equal(r[t],e[t])&&t in e))return!1;for(t in e)if(!(s.equal(r[t],e[t])&&t in r))return!1;return!0}if("[object Array]"===a){if(t=r.length,t!==e.length)return!1;for(;--t;)if(!s.equal(r[t],e[t]))return!1;return!0}return"[object Function]"===a?r.prototype===e.prototype:"[object Date]"===a?r.getTime()===e.getTime():!1},s.hosted=function(r,e){var t=typeof e[r];return"object"===t?!!e[r]:!c[t]},s.instance=s["instanceof"]=function(r,e){return r instanceof e},s.nil=s["null"]=function(r){return null===r},s.undef=s.undefined=function(r){return"undefined"==typeof r},s.args=s.arguments=function(r){var e="[object Arguments]"===o.call(r),t=!s.array(r)&&s.arraylike(r)&&s.object(r)&&s.fn(r.callee);return e||t},s.array=Array.isArray||function(r){return"[object Array]"===o.call(r)},s.args.empty=function(r){return s.args(r)&&0===r.length},s.array.empty=function(r){return s.array(r)&&0===r.length},s.arraylike=function(r){return!!r&&!s.bool(r)&&i.call(r,"length")&&isFinite(r.length)&&s.number(r.length)&&r.length>=0},s.bool=s["boolean"]=function(r){return"[object Boolean]"===o.call(r)},s["false"]=function(r){return s.bool(r)&&Boolean(Number(r))===!1},s["true"]=function(r){return s.bool(r)&&Boolean(Number(r))===!0},s.date=function(r){return"[object Date]"===o.call(r)},s.element=function(r){return void 0!==r&&"undefined"!=typeof HTMLElement&&r instanceof HTMLElement&&1===r.nodeType},s.error=function(r){return"[object Error]"===o.call(r)},s.fn=s["function"]=function(r){var e="undefined"!=typeof window&&r===window.alert;return e||"[object Function]"===o.call(r)},s.number=function(r){return"[object Number]"===o.call(r)},s.infinite=function(r){return r===1/0||r===-(1/0)},s.decimal=function(r){return s.number(r)&&!d(r)&&!s.infinite(r)&&r%1!==0},s.divisibleBy=function(r,e){var t=s.infinite(r),a=s.infinite(e),n=s.number(r)&&!d(r)&&s.number(e)&&!d(e)&&0!==e;return t||a||n&&r%e===0},s.integer=s["int"]=function(r){return s.number(r)&&!d(r)&&r%1===0},s.maximum=function(r,e){if(d(r))throw new TypeError("NaN is not a valid value");if(!s.arraylike(e))
},{sassify:6}]},{},[9])(9)});