(function(doc){varscriptElm=doc.scripts[doc.scripts.length-1];varwarn=['[ionicons] Deprecated script, please remove: '+scriptElm.outerHTML];warn.push('To improve performance it is recommended to set the differential scripts in the head as follows:')varparts=scriptElm.src.split('/');parts.pop();parts.push('ionicons');varurl=parts.join('/');varscriptElm=doc.createElement('script');scriptElm.setAttribute('type','module');scriptElm.src=url+'/ionicons.esm.js';warn.push(scriptElm.outerHTML);scriptElm.setAttribute('data-stencil-namespace','ionicons');doc.head.appendChild(scriptElm);scriptElm=doc.createElement('script');scriptElm.setAttribute('nomodule','');scriptElm.src=url+'/ionicons.js';warn.push(scriptElm.outerHTML);scriptElm.setAttribute('data-stencil-namespace','ionicons');doc.head.appendChild(scriptElm)console.warn(warn.join('\n'));})(document);