"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var printWarning,__DEV__=!(exports.default=void 0),warning=function(){},_default=(__DEV__&&(printWarning=function(r,n){var e=arguments.length;n=new Array(1<e?e-1:0);for(var a=1;a<e;a++)n[a-1]=arguments[a];var t=0,r="Warning: "+r.replace(/%s/g,function(){return n[t++]});"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(r){}},warning=function(r,n,e){var a=arguments.length;e=new Array(2<a?a-2:0);for(var t=2;t<a;t++)e[t-2]=arguments[t];if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");r||printWarning.apply(null,[n].concat(e))}),exports.default=warning);