!function(){"use strict";var e=function(e,t,n){for(var o=function(e){for(var t="",n=0;n<e.childNodes.length;n++){var o=e.childNodes[n];if("code"===o.tagName.toLowerCase())for(var a=0;a<o.childNodes.length;a++){var i=o.childNodes[a];if("#text"===i.nodeName&&!/^\s*$/.test(i.nodeValue)){t=i.nodeValue;break}}}return t},a=function(e){return e.textContent||e.innerText},i=document.querySelectorAll("article"),r=document.querySelectorAll("pre."+t+",div."+t),d=void 0===n?{}:n,l=0;l<r.length;l++){var c=r[l],s=document.createElement("div");s.className=t,s.style.visibility="hidden",s.style.position="absolute";var u="pre"===c.tagName.toLowerCase()?o(c):a(c);i[0].appendChild(s);e.parse(u).drawSVG(s,d),s.style.visibility="visible",s.style.position="static",c.parentNode.insertBefore(s,c),c.parentNode.removeChild(c)}};!function(e){document.addEventListener?document.addEventListener("DOMContentLoaded",e):document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&e()})}(function(){"undefined"!=typeof flowchart&&e(flowchart,"uml-flowchart"),"undefined"!=typeof Diagram&&e(Diagram,"uml-sequence-diagram",{theme:"simple"})})}();