hooks.428ba1c3.js 474 B

1
  1. import{b as f,U as r,al as s,am as l,an as I}from"./index.4d3e3847.js";function u(e,o){const t=/^IF-/;if(t.test(e)){const n=e.split(t)[1],c=n.slice(0,n.indexOf(" ")==-1?n.length:n.indexOf(" ")),i=n.slice(n.indexOf(" ")+1,n.length);return f({name:"FontIcon",render(){return r(s,{icon:c,iconType:i,...o})}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?e:f({name:"Icon",render(){const n=o&&o.online?l:I;return r(n,{icon:e,...o})}})}export{u};