????
Current Path : C:/inetpub/vhost/sdoc.nextform.vn/www/assets/ |
Current File : C:/inetpub/vhost/sdoc.nextform.vn/www/assets/capitalize-f7a57a5c.js |
import{F as f}from"./index-727ccf4d.js";import{i as s,j as i}from"./useTheme-41684c89.js";import{w as n}from"./withStyles-da525f81.js";var u=s();const m=u;function p(r,t){return n(r,f({defaultTheme:m},t))}function o(r){var t,a,e="";if(typeof r=="string"||typeof r=="number")e+=r;else if(typeof r=="object")if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(a=o(r[t]))&&(e&&(e+=" "),e+=a);else for(t in r)r[t]&&(e&&(e+=" "),e+=t);return e}function y(){for(var r,t,a=0,e="";a<arguments.length;)(r=arguments[a++])&&(t=o(r))&&(e&&(e+=" "),e+=t);return e}function w(r){if(typeof r!="string")throw new Error(i(7));return r.charAt(0).toUpperCase()+r.slice(1)}export{w as a,y as c,m as d,p as w};