(function(){if("undefined"!=typeof window&&window.addEventListener){var n=Object.create(null),r,t=function(){clearTimeout(r);r=setTimeout(f,100)},i=function(){},e=function(){if(window.addEventListener("resize",t,!1),window.addEventListener("orientationchange",t,!1),window.MutationObserver){var n=new MutationObserver(t);n.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0});i=function(){try{n.disconnect();window.removeEventListener("resize",t,!1);window.removeEventListener("orientationchange",t,!1)}catch(i){}}}else document.documentElement.addEventListener("DOMSubtreeModified",t,!1),i=function(){document.documentElement.removeEventListener("DOMSubtreeModified",t,!1);window.removeEventListener("resize",t,!1);window.removeEventListener("orientationchange",t,!1)}},o=function(n){function i(n){if(void 0!==n.protocol)var t=n;else t=document.createElement("a"),t.href=n;return t.protocol.replace(/:/g,"")+t.host}if(window.XMLHttpRequest){var t=new XMLHttpRequest,r=i(location);n=i(n);t=void 0===t.withCredentials&&""!==n&&n!==r?XDomainRequest||void 0:XMLHttpRequest}return t},f=function(){function l(){--c;0===c&&(i(),e())}function v(t){return function(){!0!==n[t.base]&&(t.useEl.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+t.hash),t.useEl.hasAttribute("href")&&t.useEl.setAttribute("href","#"+t.hash))}}function p(n){return function(){var i=document.body,t=document.createElement("x");n.onload=null;t.innerHTML=n.responseText;(t=t.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",i.insertBefore(t,i.firstChild));l()}}function y(n){return function(){n.onerror=null;n.ontimeout=null;l()}}var t,u,c=0,f,s,h,r,a;for(i(),f=document.getElementsByTagName("use"),u=0;u<f.length;u+=1){try{s=f[u].getBoundingClientRect()}catch(w){s=!1}h=(t=f[u].getAttribute("href")||f[u].getAttributeNS("http://www.w3.org/1999/xlink","href")||f[u].getAttribute("xlink:href"))&&t.split?t.split("#"):["",""];r=h[0];h=h[1];a=s&&0===s.left&&0===s.right&&0===s.top&&0===s.bottom;s&&0===s.width&&0===s.height&&!a?(f[u].hasAttribute("href")&&f[u].setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t),r.length&&(t=n[r],!0!==t&&setTimeout(v({useEl:f[u],base:r,hash:h}),0),void 0===t&&(h=o(r),void 0!==h&&(t=new h,n[r]=t,t.onload=p(t),t.onerror=y(t),t.ontimeout=y(t),t.open("GET",r),t.send(),c+=1)))):a?r.length&&n[r]&&setTimeout(v({useEl:f[u],base:r,hash:h}),0):void 0===n[r]?n[r]=!0:n[r].onload&&(n[r].abort(),delete n[r].onload,n[r]=!0)}f="";c+=1;l()},u=function(){window.removeEventListener("load",u,!1);r=setTimeout(f,0)};"complete"!==document.readyState?window.addEventListener("load",u,!1):u()}})()