UNPKG

console-tags.js

Version:

Utilities, formats and field validation rules

2 lines 2.58 kB
!function(o){var n={};function t(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return o[e].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=o,t.c=n,t.d=function(o,n,e){t.o(o,n)||Object.defineProperty(o,n,{enumerable:!0,get:e})},t.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},t.t=function(o,n){if(1&n&&(o=t(o)),8&n)return o;if(4&n&&"object"==typeof o&&o&&o.__esModule)return o;var e=Object.create(null);if(t.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:o}),2&n&&"string"!=typeof o)for(var r in o)t.d(e,r,function(n){return o[n]}.bind(null,r));return e},t.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return t.d(n,"a",n),n},t.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)},t.p="/",t(t.s=0)}([function(o,n,t){o.exports=t(1)},function(o,n,t){"use strict";t.r(n),t.d(n,"custom",(function(){return e})),t.d(n,"success",(function(){return r})),t.d(n,"error",(function(){return f})),t.d(n,"warning",(function(){return c}));var e=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#607d8b",e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#fff",r="%c"+o+"%c"+n,f="background: "+t+"; color: "+e+"; font-weight: bold; padding: 5px;",c="background: #fafafa; color: #888; font-weight: bold; padding: 5px;";console.log(r,f,c)},r=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t="%c"+o+"%c"+n,e="background: #4caf50; color: #fff; font-weight: bold; padding: 5px;",r="background: #fafafa; color: #888; font-weight: bold; padding: 5px;";console.log(t,e,r)},f=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t="%c"+o+"%c"+n,e="background: #ef5350; color: #fff; font-weight: bold; padding: 5px;",r="background: #fafafa; color: #888; font-weight: bold; padding: 5px;";console.log(t,e,r)},c=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t="%c"+o+"%c"+n,e="background: #ffc400; color: #fff; font-weight: bold; padding: 5px;",r="background: #fafafa; color: #888; font-weight: bold; padding: 5px;";console.log(t,e,r)}}]); //# sourceMappingURL=console-tags.min.js.map