iconfont.js 2.1 KB

1
  1. window._iconfont_svg_string_4304849='<svg><symbol id="newicon-a-ziyuan71" viewBox="0 0 1024 1024"><path d="M42.537295 1024h938.92541a583.723469 583.723469 0 0 0-238.457247-486.22923 319.184961 319.184961 0 1 0-462.010916 0A583.723469 583.723469 0 0 0 42.537295 1024z" ></path></symbol><symbol id="newicon-a-ziyuan7" viewBox="0 0 1024 1024"><path d="M42.537295 1024h938.92541a583.723469 583.723469 0 0 0-238.457247-486.22923 319.184961 319.184961 0 1 0-462.010916 0A583.723469 583.723469 0 0 0 42.537295 1024z" ></path></symbol><symbol id="newicon-a-ziyuan3" viewBox="0 0 1412 1024"><path d="M776.93858 35.859239l618.373931 851.249397a85.984788 85.984788 0 0 1-71.65399 136.85912H88.34374a85.984788 85.984788 0 0 1-71.653989-136.85912L637.213301 35.859239a85.984788 85.984788 0 0 1 139.725279 0z" ></path></symbol></svg>',function(n){var t=(t=document.getElementsByTagName("script"))[t.length-1],e=t.getAttribute("data-injectcss"),t=t.getAttribute("data-disable-injectsvg");if(!t){var o,i,a,d,c,s=function(t,e){e.parentNode.insertBefore(t,e)};if(e&&!n.__iconfont__svg__cssinject__){n.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}o=function(){var t,e=document.createElement("div");e.innerHTML=n._iconfont_svg_string_4304849,(e=e.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",e=e,(t=document.body).firstChild?s(e,t.firstChild):t.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(o,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),o()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=o,d=n.document,c=!1,r(),d.onreadystatechange=function(){"complete"==d.readyState&&(d.onreadystatechange=null,l())})}function l(){c||(c=!0,a())}function r(){try{d.documentElement.doScroll("left")}catch(t){return void setTimeout(r,50)}l()}}(window);