noredink-ui/styleguide-app/assets/generated_svgs.js

24 lines
51 KiB
JavaScript
Raw Normal View History

(function () {
2018-05-04 14:43:35 +03:00
var hack = document.documentElement.doScroll;
var loaded = (hack ? /^loaded|^c/ : /^loaded|^i|^c/).test(document.readyState);
2018-05-04 14:43:35 +03:00
function onLoad() {
var container = document.createElement("div");
container.style.display = "none";
container.id = "icon-sprite";
container.setAttribute("data-build-datetime", "2018-05-02 08:12:17.887294");
container.innerHTML =
"<svg><symbol id=\"icon-underline\" viewBox=\"0 0 17 19\"><g fill-rule=\"nonzero\"><path d=\"M2 17h14.3v1.4H2zM16.3.754c-.187.02-.456.063-.808.13a2.266 2.266 0 0 0-.884.354c-.245.161-.418.451-.518.87-.1.42-.15 1.048-.15 1.886V9.1c0 1.502-.509 2.711-1.528 3.627-1.018.915-2.366 1.373-4.042 1.373-1.954 0-3.465-.442-4.536-1.325-1.07-.883-1.605-2.115-1.605-3.694V2.06c0-.226-.044-.42-.13-.58-.088-.162-.254-.307-.499-.436A2.58 2.58 0 0 0 .981.841a7.637 7.637 0 0 0-.6-.106V0h7.196v.735a6.16 6.16 0 0 0-.629.073 4.518 4.518 0 0 0-.648.16c-.245.076-.409.205-.493.386a1.43 1.43 0 0 0-.126.61v6.923c0 1.36.3 2.35.9 2.97.6.618 1.47.928 2.611.928 1.122 0 2.002-.342 2.64-1.025.638-.684.958-1.69.958-3.018V4.091c0-.826-.057-1.443-.17-1.852-.113-.41-.285-.705-.517-.885-.168-.142-.46-.27-.875-.387a8.863 8.863 0 0 0-.876-.213V0H16.3v.754z\"/></g></symbol><symbol id=\"icon-search\" viewBox=\"0 0 25 25\"><path d=\"M17.308 10.577c0-1.853-.66-3.439-1.976-4.756-1.317-1.316-2.903-1.976-4.755-1.976-1.853 0-3.439.66-4.756 1.976-1.316 1.317-1.976 2.903-1.976 4.756 0 1.852.66 3.438 1.976 4.755 1.317 1.316 2.903 1.976 4.756 1.976 1.852 0 3.438-.66 4.755-1.976 1.316-1.317 1.976-2.903 1.976-4.755zM25 23.078c0 .52-.19.971-.57 1.352-.38.38-.832.57-1.352.57-.542 0-.992-.19-1.353-.57l-5.154-5.139c-1.792 1.243-3.791 1.864-5.994 1.864a10.38 10.38 0 0 1-4.11-.835 10.598 10.598 0 0 1-3.38-2.253c-.947-.947-1.698-2.073-2.253-3.381A10.372 10.372 0 0 1 0 10.576c0-1.432.277-2.802.834-4.108a10.59 10.59 0 0 1 2.252-3.382A10.59 10.59 0 0 1 6.468.834 10.372 10.372 0 0 1 10.577 0c1.432 0 2.802.277 4.109.834 1.308.555 2.434 1.306 3.38 2.252a10.598 10.598 0 0 1 2.254 3.382 10.38 10.38 0 0 1 .835 4.109c0 2.203-.621 4.202-1.864 5.994l5.154 5.154c.37.37.555.821.555 1.353z\" fill-rule=\"evenodd\"/></symbol><symbol id=\"icon-checkmark\" viewBox=\"0 0 21.7 17.1\"><path d=\"M7.6 17.1c-.5 0-1-.2-1.4-.6L.6 11.1c-.8-.8-.8-2-.1-2.8.8-.8 2-.8 2.8-.1l4.1 4L18.2.7c.8-.8 2-.9 2.8-.1s.9 2 .1 2.8l-12 13c-.4.5-.9.7-1.5.7.1 0 0 0 0 0\"/></symbol><symbol id=\"icon-skip\" viewBox=\"0 0 40 25\"><path d=\"M24.8 23.437c0 .416-.16.811-.447 1.104-.286.293-.676.46-1.08.46h-.882c-.845 0-1.53-.7-1.53-1.564v-8.874L4.406 24.58l-.23.14h-.105a2.158 2.158 0 0 1-.917.203c-1.134.035-2.088-.859-2.154-2.016V2.063C1.04.89 2.003-.034 3.154.001c.341.006.676.09.977.252h.106l.138.079L20.86 10.407V1.566C20.86.7 21.545 0 22.39 0h.882c.404 0 .794.167 1.08.46.287.293.447.689.447 1.105l.001 21.87z\" fill-rule=\"evenodd\"/></symbol><symbol id=\"icon-arrow-down\" viewBox=\"0 0 25 15\"><path d=\"M19.268 20.732a2.5 2.5 0 1 1-3.536 3.536l-10-10a2.5 2.5 0 0 1 0-3.536l10-10a2.5 2.5 0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4 8.2L1.7 6.8c-.2-.1-.6 0-.7.2-.2.3-.1.6.2.8l2.3 1.4c.1.1.3.1.4.1l.3-.3c.1-.1.1-.3.1-.5-.1-.1-.2-.3-.3-.3zM20.6 17.8l-2.2-1.4c-.3-.2-.6-.1-.8.2-.2.3-.1.6.2.8l2.3 1.4c.3.1.6 0 .7-.2.2-.3.1-.6-.2-.8zM3.5 16.4l-2.3 1.4c-.1 0-.2.2-.3.3 0 .2 0 .3.1.5.1.1.2.2.4.3.1 0 .3 0 .4-.1L4 17.4c.3-.2.3-.5.2-.8-.1-.2-.5-.3-.7-.2zM3.7 13.1c0-.3-.3-.6-.6-.6H.6c-.3
document.body.insertBefore(container, document.getElementById("svg-target"));
2018-05-04 14:43:35 +03:00
}
if (!loaded) {
document.addEventListener('DOMContentLoaded', function listener() {
document.removeEventListener('DOMContentLoaded', listener);
2018-05-04 14:43:35 +03:00
onLoad();
});
} else {
onLoad();
}
}())