Difference between revisions of "GB-6a-1.abc"

From Folkopedia
Jump to navigation Jump to search
(Replaced content with "X:1<br> Q:1/4=120<br> T:GB/6a/1 All Around My Hat Version 1 of 2<br> C:Sung by Mr Edmund Knight, Washington, Sussex. XII. 07<br> Q:1/8=200<br> M:6/8<br> L:1/8<br> K:GMix<br>...")
 
Line 10: Line 10:
 
G3 ABc |d3 edc |(d3 d2) d |de c c2 e |d2 c A2 B |c2 A d2 G |<br>
 
G3 ABc |d3 edc |(d3 d2) d |de c c2 e |d2 c A2 B |c2 A d2 G |<br>
 
G2 F HD2 D |G3 AGF |G3 ABc |d2 d c2 B |G6 |]<br>
 
G2 F HD2 D |G3 AGF |G3 ABc |d2 d c2 B |G6 |]<br>
 
/*!
 
* jQuery JavaScript Library v1.5
 
* http://jquery.com/
 
*
 
* Copyright 2011, John Resig
 
* Dual licensed under the MIT or GPL Version 2 licenses.
 
* http://jquery.org/license
 
*
 
* Includes Sizzle.js
 
* http://sizzlejs.com/
 
* Copyright 2011, The Dojo Foundation
 
* Released under the MIT, BSD, and GPL Licenses.
 
*
 
* Date: Mon Jan 31 08:31:29 2011 -0500
 
*/
 
(function(a,b){function b$(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function bX(a){if(!bR[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bR[a]=c}return bR[a]}function bW(a,b){var c={};d.each(bV.concat.apply([],bV.slice(0,b)),function(){c[this]=a});return c}function bJ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f=a.converters,g,h=e.length,i,j=e[0],k,l,m,n,o;for(g=1;g<h;g++){k=j,j=e[g];if(j==="*")j=k;else if(k!=="*"&&k!==j){l=k+" "+j,m=f[l]||f["* "+j];if(!m){o=b;for(n in f){i=n.split(" ");if(i[0]===k||i[0]==="*"){o=f[i[1]+" "+j];if(o){n=f[n],n===!0?m=o:o===!0&&(m=n);break}}}}!m&&!o&&d.error("No conversion from "+l.replace(" "," to ")),m!==!0&&(c=m?m(c):o(n(c)))}}return c}function bI(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bH(a,b,c,e){d.isArray(b)&&b.length?d.each(b,function(b,f){c||bp.test(a)?e(a,f):bH(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)}):c||b==null||typeof b!=="object"?e(a,b):d.isArray(b)||d.isEmptyObject(b)?e(a,""):d.each(b,function(b,d){bH(a+"["+b+"]",d,c,e)})}function bG(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bD,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(g[l]?l=b:(c.dataTypes.unshift(l),l=bG(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bG(a,c,d,e,"*",g));return l}function bF(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bz),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bn(a,b,c){var e=b==="width"?bh:bi,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function _(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function $(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(J.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(q,"`").replace(r,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,p,q=[],r=[],s=d._data(this,u);typeof s==="function"&&(s=s.events);if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(o,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,p=f.handleObj.origHandler.apply(f.elem,arguments);if(p===!1||a.isPropagationStopped()){c=f.level,p===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,b,c){c[0].type=a;return d.event.handle.apply(b,c)}function w(){return!0}function v(){return!1}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.getElementsByTagName("head")[0]||c.documentElement,e=c.createElement("script");e.type="text/javascript",d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a,c){if(a==null){if(e)return e;e=a={}}c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.then(c.cancel,b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments,c=b.length,e=c<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),f=e.promise(),g;c>1?(g=Array(c),d.each(b,function(a,b){d.when(b).then(function(b){g[a]=arguments.length>1?E.call(arguments,0):b,--c||e.resolveWith(f,g)},e.reject)})):e!==a&&e.resolve(a);return f},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return a.jQuery=a.$=d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="  <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option"));if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:b.getElementsByTagName("input")[0].value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,_scriptEval:null,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},g.disabled=!0,d.support.optDisabled=!h.disabled,d.support.scriptEval=function(){if(d.support._scriptEval===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();e.type="text/javascript";try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(d.support._scriptEval=!0,delete a[f]):d.support._scriptEval=!1,b.removeChild(e),b=e=f=null}return d.support._scriptEval};try{delete b.test}catch(i){d.support.deleteExpando=!1}b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function j(){d.support.noCloneEvent=!1,b.detachEvent("onclick",j)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var k=c.createDocumentFragment();k.appendChild(b.firstChild),d.support.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var l=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d};d.support.submitBubbles=l("submit"),d.support.changeBubbles=l("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!d.isEmptyObject(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={}),typeof c==="object"&&(f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c)),i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,g=b.nodeType,h=g?d.cache:b,i=g?b[d.expando]:d.expando;if(!h[i])return;if(c){var j=e?h[i][f]:h[i];if(j){delete j[c];if(!d.isEmptyObject(j))return}}if(e){delete h[i][f];if(!d.isEmptyObject(h[i]))return}var k=h[i][f];d.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},h[i][f]=k):g&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=f(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var g=/[\n\t\r]/g,h=/\s+/,i=/\r/g,j=/^(?:href|src|style)$/,k=/^(?:button|input)$/i,l=/^(?:button|input|object|select|textarea)$/i,m=/^a(?:rea)?$/i,n=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(h);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",i=f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(i+=" "+b[j]);f.className=d.trim(i)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(h);for(var e=0,f=this.length;e<f;e++){var i=this[e];if(i.nodeType===1&&i.className)if(a){var j=(" "+i.className+" ").replace(g," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");i.className=d.trim(j)}else i.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,i=d(this),j=b,k=a.split(h);while(f=k[g++])j=e?j:!i.hasClass(f),i[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(g," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,j=c.type==="select-one";if(f<0)return null;for(var k=j?f:0,l=j?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(j)return a;g.push(a)}}return g}if(n.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(i,"")}return b}var o=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this.nodeType===1){o&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&n.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=j.test(c);if(c==="selected"&&!d.support.optSelected){var n=a.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&k.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:l.test(a.nodeName)||m.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var o=/\.(.*)$/,p=/^(?:textarea|input|select)$/i,q=/\./g,r=/ /g,s=/[^\w\s.|`]/g,t=function(a){return a.replace(s,"\\$&")},u="events";d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a);if(f===!1)f=v;else if(!f)return;var h,i;f.handler&&(h=f,f=h.handler),f.guid||(f.guid=d.guid++);var j=d._data(c);if(!j)return;var k=j[u],l=j.handle;typeof k==="function"?(l=k.handle,k=k.events):k||(c.nodeType||(j[u]=j=function(){}),j.events=k={}),l||(j.handle=l=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(l.elem,arguments):b}),l.elem=c,e=e.split(" ");var m,n=0,o;while(m=e[n++]){i=h?d.extend({},h):{handler:f,data:g},m.indexOf(".")>-1?(o=m.split("."),m=o.shift(),i.namespace=o.slice(0).sort().join(".")):(o=[],i.namespace=""),i.type=m,i.guid||(i.guid=f.guid);var p=k[m],q=d.event.special[m]||{};if(!p){p=k[m]=[];if(!q.setup||q.setup.call(c,g,o,l)===!1)c.addEventListener?c.addEventListener(m,l,!1):c.attachEvent&&c.attachEvent("on"+m,l)}q.add&&(q.add.call(c,i),i.handler.guid||(i.handler.guid=f.guid)),p.push(i),d.event.global[m]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),w=s&&s[u];if(!s||!w)return;typeof w==="function"&&(s=w,w=w.events),c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in w)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),t).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=w[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete w[h]}if(d.isEmptyObject(w)){var x=s.handle;x&&(x.elem=null),delete s.events,delete s.handle,typeof s==="function"?d.removeData(a,u,!0):d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=e.nodeType?d._data(e,"handle"):(d._data(e,u)||{}).handle;h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(o,""),n=d.nodeName(l,"a")&&m==="click",p=d.event.special[m]||{};if((!p._default||p._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,u),typeof i==="function"&&(i=i.events),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(c){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,c){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var c=a.target,e=c.type;if((e==="submit"||e==="image")&&d(c).closest("form").length){a.liveFired=b;return C("submit",this,arguments)}}),d.event.add(this,"keypress.specialSubmit",function(a){var c=a.target,e=c.type;if((e==="text"||e==="password")&&d(c).closest("form").length&&a.keyCode===13){a.liveFired=b;return C("submit",this,arguments)}});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(p.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f){a.type="change",a.liveFired=b;return d.event.trigger(a,arguments[1],c)}}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in z)d.event.add(this,c+".specialChange",z[c]);return p.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return p.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(var p in a)n[c](p,e,a[p],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=o.exec(h),k="",j&&(k=j[0],h=h.replace(o,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function s(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var j=d[g];if(j){var k=!1;j=j[a];while(j){if(j.sizcache===c){k=d[j.sizset];break}if(j.nodeType===1){f||(j.sizcache=c,j.sizset=g);if(typeof b!=="string"){if(j===b){k=!0;break}}else if(i.filter(b,[j]).length>0){k=j;break}}j=j[a]}d[g]=k}}}function r(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0;[0,0].sort(function(){h=!1;return 0});var i=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var l,m,o,p,q,r,s,u,v=!0,w=i.isXML(d),x=[],y=b;do{a.exec(""),l=a.exec(y);if(l){y=l[3],x.push(l[1]);if(l[2]){p=l[3];break}}}while(l);if(x.length>1&&k.exec(b))if(x.length===2&&j.relative[x[0]])m=t(x[0]+x[1],d);else{m=j.relative[x[0]]?[d]:i(x.shift(),d);while(x.length)b=x.shift(),j.relative[b]&&(b+=x.shift()),m=t(b,m)}else{!g&&x.length>1&&d.nodeType===9&&!w&&j.match.ID.test(x[0])&&!j.match.ID.test(x[x.length-1])&&(q=i.find(x.shift(),d,w),d=q.expr?i.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:n(g)}:i.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),m=q.expr?i.filter(q.expr,q.set):q.set,x.length>0?o=n(m):v=!1;while(x.length)r=x.pop(),s=r,j.relative[r]?s=x.pop():r="",s==null&&(s=d),j.relative[r](o,s,w)}else o=x=[]}o||(o=m),o||i.error(r||b);if(f.call(o)==="[object Array]")if(v)if(d&&d.nodeType===1)for(u=0;o[u]!=null;u++)o[u]&&(o[u]===!0||o[u].nodeType===1&&i.contains(d,o[u]))&&e.push(m[u]);else for(u=0;o[u]!=null;u++)o[u]&&o[u].nodeType===1&&e.push(m[u]);else e.push.apply(e,o);else n(o,e);p&&(i(p,h,e,g),i.uniqueSort(e));return e};i.uniqueSort=function(a){if(p){g=h,a.sort(p);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},i.matches=function(a,b){return i(a,null,null,b)},i.matchesSelector=function(a,b){return i(b,null,null,[a]).length>0},i.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=j.order.length;e<f;e++){var g,h=j.order[e];if(g=j.leftMatch[h].exec(a)){var i=g[1];g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(/\\/g,""),d=j.find[h](g,b,c);if(d!=null){a=a.replace(j.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},i.filter=function(a,c,d,e){var f,g,h=a,k=[],l=c,m=c&&c[0]&&i.isXML(c[0]);while(a&&c.length){for(var n in j.filter)if((f=j.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=j.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;l===k&&(k=[]);if(j.preFilter[n]){f=j.preFilter[n](f,l,d,k,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=l[s])!=null;s++)if(p){o=q(p,f,s,l);var t=e^!!o;d&&o!=null?t?g=!0:l[s]=!1:t&&(k.push(p),g=!0)}if(o!==b){d||(l=k),a=a.replace(j.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)i.error(a);else break;h=a}return l},i.error=function(a){throw"Syntax error, unrecognized expression: "+a};var j=i.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!/\W/.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&i.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!/\W/.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&i.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=s;typeof b==="string"&&!/\W/.test(b)&&(b=b.toLowerCase(),d=b,g=r),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=s;typeof b==="string"&&!/\W/.test(b)&&(b=b.toLowerCase(),d=b,g=r),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(/\\/g,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a,b){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||i.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&i.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(/\\/g,"");!f&&j.attrMap[g]&&(a[1]=j.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(/\\/g,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=i(b[3],null,null,c);else{var g=i.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(j.match.POS.test(b[0])||j.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!i(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=j.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||i.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,k=g.length;h<k;h++)if(g[h]===a)return!1;return!0}i.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=j.attrHandle[c]?j.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=j.setFilters[e];if(f)return f(a,c,b,d)}}},k=j.match.POS,l=function(a,b){return"\\"+(b-0+1)};for(var m in j.match)j.match[m]=new RegExp(j.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source),j.leftMatch[m]=new RegExp(/(^(?:.|\r|\n)*?)/.source+j.match[m].source.replace(/\\(\d+)/g,l));var n=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(o){n=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var p,q;c.documentElement.compareDocumentPosition?p=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(p=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return q(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return q(e[k],f[k]);return k===c?q(a,f[k],-1):q(e[k],b,1)},q=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),i.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=i.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(j.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},j.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(j.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(j.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=i,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){i=function(b,e,f,g){e=e||c;if(!g&&!i.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return n(e.getElementsByTagName(b),f);if(h[2]&&j.find.CLASS&&e.getElementsByClassName)return n(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return n([e.body],f);if(h&&h[3]){var k=e.getElementById(h[3]);if(!k||!k.parentNode)return n([],f);if(k.id===h[3])return n([k],f)}try{return n(e.querySelectorAll(b),f)}catch(l){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e.getAttribute("id"),o=m||d,p=e.parentNode,q=/^\s*[+~]/.test(b);m?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),q&&p&&(e=e.parentNode);try{if(!q||p)return n(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(r){}finally{m||e.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)i[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(i.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!i.isXML(a))try{if(d||!j.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return i(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;j.order.splice(1,0,"CLASS"),j.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?i.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?i.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:i.contains=function(){return!1},i.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var t=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=j.match.PSEUDO.exec(a))e+=c[0],a=a.replace(j.match.PSEUDO,"");a=j.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)i(a,f[g],d);return i.filter(e,d)};d.find=i,d.expr=i.selectors,d.expr[":"]=d.expr.filters,d.unique=i.uniqueSort,d.text=i.getText,d.isXMLDoc=i.isXML,d.contains=i.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!0:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).before(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,_)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if(!d.support.noCloneEvent&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){f=a.getElementsByTagName("*"),g=e.getElementsByTagName("*");for(h=0;f[h];++h)$(f[h],g[h]);$(a,e)}if(b){Z(a,e);if(c&&"getElementsByTagName"in a){f=a.getElementsByTagName("*"),g=e.getElementsByTagName("*");if(f.length)for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var ba=/alpha\([^)]*\)/i,bb=/opacity=([^)]*)/,bc=/-([a-z])/ig,bd=/([A-Z])/g,be=/^-?\d+(?:px)?$/i,bf=/^-?\d/,bg={position:"absolute",visibility:"hidden",display:"block"},bh=["Left","Right"],bi=["Top","Bottom"],bj,bk,bl,bm=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bj(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bj)return bj(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bc,bm)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bn(a,b,e):d.swap(a,bg,function(){f=bn(a,b,e)});if(f<=0){f=bj(a,b,b),f==="0px"&&bl&&(f=bl(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!be.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=ba.test(f)?f.replace(ba,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bk=function(a,c,e){var f,g,h;e=e.replace(bd,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.documentElement.currentStyle&&(bl=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!be.test(d)&&bf.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bj=bk||bl,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bo=/%20/g,bp=/\[\]$/,bq=/\r?\n/g,br=/#.*$/,bs=/^(.*?):\s*(.*?)\r?$/mg,bt=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bu=/^(?:GET|HEAD)$/,bv=/^\/\//,bw=/\?/,bx=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,by=/^(?:select|textarea)/i,bz=/\s+/,bA=/([?&])_=[^&]*/,bB=/^(\w+:)\/\/([^\/?#:]+)(?::(\d+))?/,bC=d.fn.load,bD={},bE={};d.fn.extend({load:function(a,b,c){if(typeof a!=="string"&&bC)return bC.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}var g="GET";b&&(d.isFunction(b)?(c=b,b=null):typeof b==="object"&&(b=d.param(b,d.ajaxSettings.traditional),g="POST"));var h=this;d.ajax({url:a,type:g,dataType:"html",data:b,complete:function(a,b,e){e=a.responseText,a.isResolved()&&(a.done(function(a){e=a}),h.html(f?d("<div>").append(e.replace(bx,"")).find(f):e)),c&&h.each(c,[e,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||by.test(this.nodeName)||bt.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(bq,"\r\n")}}):{name:b.name,value:c.replace(bq,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,b){d[b]=function(a,c,e,f){d.isFunction(c)&&(f=f||e,e=c,c=null);return d.ajax({type:b,url:a,data:c,success:e,dataType:f})}}),d.extend({getScript:function(a,b){return d.get(a,null,b,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a){d.extend(!0,d.ajaxSettings,a),a.context&&(d.ajaxSettings.context=a.context)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bF(bD),ajaxTransport:bF(bE),ajax:function(a,e){function w(a,c,e,l){if(t!==2){t=2,p&&clearTimeout(p),o=b,m=l||"",v.readyState=a?4:0;var n,q,r,s=e?bI(f,v,e):b,u,w;if(a>=200&&a<300||a===304){if(f.ifModified){if(u=v.getResponseHeader("Last-Modified"))d.lastModified[f.url]=u;if(w=v.getResponseHeader("Etag"))d.etag[f.url]=w}if(a===304)c="notmodified",n=!0;else try{q=bJ(f,s),c="success",n=!0}catch(x){c="parsererror",r=x}}else r=c,a&&(c="error",a<0&&(a=0));v.status=a,v.statusText=c,n?i.resolveWith(g,[q,c,v]):i.rejectWith(g,[v,c,r]),v.statusCode(k),k=b,f.global&&h.trigger("ajax"+(n?"Success":"Error"),[v,f,n?q:r]),j.resolveWith(g,[v,c]),f.global&&(h.trigger("ajaxComplete",[v,f]),--d.active||d.event.trigger("ajaxStop"))}}typeof e!=="object"&&(e=a,a=b),e=e||{};var f=d.extend(!0,{},d.ajaxSettings,e),g=(f.context=("context"in e?e:d.ajaxSettings).context)||f,h=g===f?d.event:d(g),i=d.Deferred(),j=d._Deferred(),k=f.statusCode||{},l={},m,n,o,p,q=c.location,r=q.protocol||"http:",s,t=0,u,v={readyState:0,setRequestHeader:function(a,b){t===0&&(l[a.toLowerCase()]=b);return this},getAllResponseHeaders:function(){return t===2?m:null},getResponseHeader:function(a){var b;if(t===2){if(!n){n={};while(b=bs.exec(m))n[b[1].toLowerCase()]=b[2]}b=n[a.toLowerCase()]}return b||null},abort:function(a){a=a||"abort",o&&o.abort(a),w(0,a);return this}};i.promise(v),v.success=v.done,v.error=v.fail,v.complete=j.done,v.statusCode=function(a){if(a){var b;if(t<2)for(b in a)k[b]=[k[b],a[b]];else b=a[v.status],v.then(b,b)}return this},f.url=(""+(a||f.url)).replace(br,"").replace(bv,r+"//"),f.dataTypes=d.trim(f.dataType||"*").toLowerCase().split(bz),f.crossDomain||(s=bB.exec(f.url.toLowerCase()),f.crossDomain=s&&(s[1]!=r||s[2]!=q.hostname||(s[3]||(s[1]==="http:"?80:443))!=(q.port||(r==="http:"?80:443)))),f.data&&f.processData&&typeof f.data!=="string"&&(f.data=d.param(f.data,f.traditional)),bG(bD,f,e,v),f.type=f.type.toUpperCase(),f.hasContent=!bu.test(f.type),f.global&&d.active++===0&&d.event.trigger("ajaxStart");if(!f.hasContent){f.data&&(f.url+=(bw.test(f.url)?"&":"?")+f.data);if(f.cache===!1){var x=d.now(),y=f.url.replace(bA,"$1_="+x);f.url=y+(y===f.url?(bw.test(f.url)?"&":"?")+"_="+x:"")}}if(f.data&&f.hasContent&&f.contentType!==!1||e.contentType)l["content-type"]=f.contentType;f.ifModified&&(d.lastModified[f.url]&&(l["if-modified-since"]=d.lastModified[f.url]),d.etag[f.url]&&(l["if-none-match"]=d.etag[f.url])),l.accept=f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"];for(u in f.headers)l[u.toLowerCase()]=f.headers[u];if(!f.beforeSend||f.beforeSend.call(g,v,f)!==!1&&t!==2){for(u in {success:1,error:1,complete:1})v[u](f[u]);o=bG(bE,f,e,v);if(o){t=v.readyState=1,f.global&&h.trigger("ajaxSend",[v,f]),f.async&&f.timeout>0&&(p=setTimeout(function(){v.abort("timeout")},f.timeout));try{o.send(l,w)}catch(z){status<2?w(-1,z):d.error(z)}}else w(-1,"No Transport")}else w(0,"abort"),v=!1;return v},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery)d.each(a,function(){f(this.name,this.value)});else for(var g in a)bH(g,a[g],c,f);return e.join("&").replace(bo,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bK=d.now(),bL=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bK++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){e=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==!1&&(bL.test(b.url)||e&&bL.test(b.data))){var f,g=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h=a[g],i=b.url,j=b.data,k="$1"+g+"$2";b.jsonp!==!1&&(i=i.replace(bL,k),b.url===i&&(e&&(j=j.replace(bL,k)),b.data===j&&(i+=(/\?/.test(i)?"&":"?")+b.jsonp+"="+g))),b.url=i,b.data=j,a[g]=function(a){f=[a]},b.complete=[function(){a[g]=h;if(h)f&&d.isFunction(h)&&a[g](f[0]);else try{delete a[g]}catch(b){}},b.complete],b.converters["script json"]=function(){f||d.error(g+" was not called");return f[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript"},contents:{script:/javascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bM=d.now(),bN={},bO,bP;d.ajaxSettings.xhr=a.ActiveXObject?function(){if(a.location.protocol!=="file:")try{return new a.XMLHttpRequest}catch(b){}try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}:function(){return new a.XMLHttpRequest};try{bP=d.ajaxSettings.xhr()}catch(bQ){}d.support.ajax=!!bP,d.support.cors=bP&&"withCredentials"in bP,bP=b,d.support.ajax&&d.ajaxTransport(function(b){if(!b.crossDomain||d.support.cors){var c;return{send:function(e,f){bO||(bO=1,d(a).bind("unload",function(){d.each(bN,function(a,b){b.onreadystatechange&&b.onreadystatechange(1)})}));var g=b.xhr(),h;b.username?g.open(b.type,b.url,b.async,b.username,b.password):g.open(b.type,b.url,b.async),(!b.crossDomain||b.hasContent)&&!e["x-requested-with"]&&(e["x-requested-with"]="XMLHttpRequest");try{d.each(e,function(a,b){g.setRequestHeader(a,b)})}catch(i){}g.send(b.hasContent&&b.data||null),c=function(a,e){if(c&&(e||g.readyState===4)){c=0,h&&(g.onreadystatechange=d.noop,delete bN[h]);if(e)g.readyState!==4&&g.abort();else{var i=g.status,j,k=g.getAllResponseHeaders(),l={},m=g.responseXML;m&&m.documentElement&&(l.xml=m),l.text=g.responseText;try{j=g.statusText}catch(n){j=""}i=i===0?!b.crossDomain||j?k?304:0:302:i==1223?204:i,f(i,j,l,k)}}},b.async&&g.readyState!==4?(h=bM++,bN[h]=g,g.onreadystatechange=c):c()},abort:function(){c&&c(0,1)}}}});var bR={},bS=/^(?:toggle|show|hide)$/,bT=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,bU,bV=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(bW("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",bX(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(bW("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(bW("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=bX(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(bS.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=bT.exec(e),j=f.cur()||0;if(i){var k=parseFloat(i[2]),l=i[3]||"px";l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:bW("show",1),slideUp:bW("hide",1),slideToggle:bW("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(d.css(this.elem,this.prop));return a||0},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||"px",this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!bU&&(bU=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(bU),bU=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var bY=/^t(?:able|d|h)$/i,bZ=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=b$(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!bY.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=bZ.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!bZ.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=b$(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=b$(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}})})(window);
 
/*
 
* Raphael 1.4.3 - JavaScript Vector Library
 
*
 
* Copyright (c) 2010 Dmitry Baranovskiy (http://raphaeljs.com)
 
* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
 
*/
 
Raphael=(function(){function aB(){if(aB.is(arguments[0],aW)){var d=arguments[0],e=C[bl](aB,d.splice(0,3+aB.is(d[0],ay))),S=e.set();for(var R=0,bq=d[p];R<bq;R++){var E=d[R]||{};ba.test(E.type)&&S[f](e[E.type]().attr(E))}return S}return C[bl](aB,arguments)}aB.version="1.4.3";var a=/[, ]+/,ba=/^(circle|rect|path|ellipse|text|image)$/,bn="prototype",ac="hasOwnProperty",W=document,aI=window,o={was:Object[bn][ac].call(aI,"Raphael"),is:aI.Raphael},bi=function(){},a6="appendChild",bl="apply",bg="concat",Q="createTouch" in W,aH="",aA=" ",G="split",N="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend orientationchange touchcancel gesturestart gesturechange gestureend"[G](aA),bb={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},aO="join",p="length",bp=String[bn].toLowerCase,ak=Math,h=ak.max,a4=ak.min,ay="number",ab="string",aW="array",aQ="toString",aT="fill",aL=Object[bn][aQ],bd={},a7=ak.pow,f="push",bj=/^(?=[\da-f]$)/,c=/^url\(['"]?([^\)]+?)['"]?\)$/i,D=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+(?:\s*,\s*[\d\.]+)?)\s*\)|rgba?\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%(?:\s*,\s*[\d\.]+%))\s*\)|hs[bl]\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|hs[bl]\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\))\s*$/i,Z=ak.round,B="setAttribute",af=parseFloat,O=parseInt,aU=" progid:DXImageTransform.Microsoft",a9=String[bn].toUpperCase,m={blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/",opacity:1,path:"M0,0",r:0,rotation:0,rx:0,ry:0,scale:"1 1",src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",translation:"0 0",width:0,x:0,y:0},ai={along:"along",blur:ay,"clip-rect":"csv",cx:ay,cy:ay,fill:"colour","fill-opacity":ay,"font-size":ay,height:ay,opacity:ay,path:"path",r:ay,rotation:"csv",rx:ay,ry:ay,scale:"csv",stroke:"colour","stroke-opacity":ay,"stroke-width":ay,translation:"csv",width:ay,x:ay,y:ay},bc="replace";aB.type=(aI.SVGAngle||W.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML");if(aB.type=="VML"){var aq=W.createElement("div");aq.innerHTML="<!--[if vml]><br><br><![endif]-->";if(aq.childNodes[p]!=2){return aB.type=null}aq=null}aB.svg=!(aB.vml=aB.type=="VML");bi[bn]=aB[bn];aB._id=0;aB._oid=0;aB.fn={};aB.is=function(e,d){d=bp.call(d);return(d=="object"&&e===Object(e))||(d=="undefined"&&typeof e==d)||(d=="null"&&e==null)||bp.call(aL.call(e).slice(8,-1))==d};aB.setWindow=function(d){aI=d;W=aI.document};var aX=function(e){if(aB.vml){var d=/^\s+|\s+$/g;aX=au(function(S){var bq;S=(S+aH)[bc](d,aH);try{var br=new aI.ActiveXObject("htmlfile");br.write("<body>");br.close();bq=br.body}catch(bt){bq=aI.createPopup().document.body}var R=bq.createTextRange();try{bq.style.color=S;var bs=R.queryCommandValue("ForeColor");bs=((bs&255)<<16)|(bs&65280)|((bs&16711680)>>>16);return"#"+("000000"+bs[aQ](16)).slice(-6)}catch(bt){return"none"}})}else{var E=W.createElement("i");E.title="Rapha\xebl Colour Picker";E.style.display="none";W.body[a6](E);aX=au(function(R){E.style.color=R;return W.defaultView.getComputedStyle(E,aH).getPropertyValue("color")})}return aX(e)};var av=function(){return"hsb("+[this.h,this.s,this.b]+")"},z=function(){return this.hex};aB.hsb2rgb=au(function(bt,br,bx){if(aB.is(bt,"object")&&"h" in bt&&"s" in bt&&"b" in bt){bx=bt.b;br=bt.s;bt=bt.h}var R,S,by;if(bx==0){return{r:0,g:0,b:0,hex:"#000"}}if(bt>1||br>1||bx>1){bt/=255;br/=255;bx/=255}var bq=~~(bt*6),bu=(bt*6)-bq,E=bx*(1-br),e=bx*(1-(br*bu)),bz=bx*(1-(br*(1-bu)));R=[bx,e,E,E,bz,bx,bx][bq];S=[bz,bx,bx,e,E,E,bz][bq];by=[E,E,bz,bx,bx,e,E][bq];R*=255;S*=255;by*=255;var bv={r:R,g:S,b:by,toString:z},d=(~~R)[aQ](16),bs=(~~S)[aQ](16),bw=(~~by)[aQ](16);d=d[bc](bj,"0");bs=bs[bc](bj,"0");bw=bw[bc](bj,"0");bv.hex="#"+d+bs+bw;return bv},aB);aB.rgb2hsb=au(function(d,e,bs){if(aB.is(d,"object")&&"r" in d&&"g" in d&&"b" in d){bs=d.b;e=d.g;d=d.r}if(aB.is(d,ab)){var bu=aB.getRGB(d);d=bu.r;e=bu.g;bs=bu.b}if(d>1||e>1||bs>1){d/=255;e/=255;bs/=255}var br=h(d,e,bs),E=a4(d,e,bs),S,R,bq=br;if(E==br){return{h:0,s:0,b:br}}else{var bt=(br-E);R=bt/br;if(d==br){S=(e-bs)/bt}else{if(e==br){S=2+((bs-d)/bt)}else{S=4+((d-e)/bt)}}S/=6;S<0&&S++;S>1&&S--}return{h:S,s:R,b:bq,toString:av}},aB);var aY=/,?([achlmqrstvxz]),?/gi,a0=/\s*,\s*/,k={hs:1,rg:1};aB._path2string=function(){return this.join(",")[bc](aY,"$1")};function au(R,e,d){function E(){var S=Array[bn].slice.call(arguments,0),br=S[aO]("\u25ba"),bq=E.cache=E.cache||{},bs=E.count=E.count||[];if(bq[ac](br)){return d?d(bq[br]):bq[br]}bs[p]>=1000&&delete bq[bs.shift()];bs[f](br);bq[br]=R[bl](e,S);return d?d(bq[br]):bq[br]}return E}aB.getRGB=au(function(e){if(!e||!!((e=e+aH).indexOf("-")+1)){return{r:-1,g:-1,b:-1,hex:"none",error:1}}if(e=="none"){return{r:-1,g:-1,b:-1,hex:"none"}}!(k[ac](e.substring(0,2))||e.charAt()=="#")&&(e=aX(e));var br,E,R,bu,bq,bv,bs=e.match(D);if(bs){if(bs[2]){bu=O(bs[2].substring(5),16);R=O(bs[2].substring(3,5),16);E=O(bs[2].substring(1,3),16)}if(bs[3]){bu=O((bv=bs[3].charAt(3))+bv,16);R=O((bv=bs[3].charAt(2))+bv,16);E=O((bv=bs[3].charAt(1))+bv,16)}if(bs[4]){bs=bs[4][G](a0);E=af(bs[0]);R=af(bs[1]);bu=af(bs[2]);bq=af(bs[3])}if(bs[5]){bs=bs[5][G](a0);E=af(bs[0])*2.55;R=af(bs[1])*2.55;bu=af(bs[2])*2.55;bq=af(bs[3])}if(bs[6]){bs=bs[6][G](a0);E=af(bs[0]);R=af(bs[1]);bu=af(bs[2]);return aB.hsb2rgb(E,R,bu)}if(bs[7]){bs=bs[7][G](a0);E=af(bs[0])*2.55;R=af(bs[1])*2.55;bu=af(bs[2])*2.55;return aB.hsb2rgb(E,R,bu)}bs={r:E,g:R,b:bu};var d=(~~E)[aQ](16),S=(~~R)[aQ](16),bt=(~~bu)[aQ](16);d=d[bc](bj,"0");S=S[bc](bj,"0");bt=bt[bc](bj,"0");bs.hex="#"+d+S+bt;isFinite(af(bq))&&(bs.o=bq);return bs}return{r:-1,g:-1,b:-1,hex:"none",error:1}},aB);aB.getColor=function(e){var E=this.getColor.start=this.getColor.start||{h:0,s:1,b:e||0.75},d=this.hsb2rgb(E.h,E.s,E.b);E.h+=0.075;if(E.h>1){E.h=0;E.s-=0.2;E.s<=0&&(this.getColor.start={h:0,s:1,b:E.b})}return d.hex};aB.getColor.reset=function(){delete this.start};var aJ=/([achlmqstvz])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?\s*,?\s*)+)/ig,az=/(-?\d*\.?\d*(?:e[-+]?\d+)?)\s*,?\s*/ig;aB.parsePathString=au(function(d){if(!d){return null}var E={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},e=[];if(aB.is(d,aW)&&aB.is(d[0],aW)){e=aK(d)}if(!e[p]){(d+aH)[bc](aJ,function(S,R,bs){var br=[],bq=bp.call(R);bs[bc](az,function(bu,bt){bt&&br[f](+bt)});if(bq=="m"&&br[p]>2){e[f]([R][bg](br.splice(0,2)));bq="l";R=R=="m"?"l":"L"}while(br[p]>=E[bq]){e[f]([R][bg](br.splice(0,E[bq])));if(!E[bq]){break}}})}e[aQ]=aB._path2string;return e});aB.findDotsAtSegment=function(e,d,bF,bD,br,S,bt,bs,bz){var bx=1-bz,bw=a7(bx,3)*e+a7(bx,2)*3*bz*bF+bx*3*bz*bz*br+a7(bz,3)*bt,bu=a7(bx,3)*d+a7(bx,2)*3*bz*bD+bx*3*bz*bz*S+a7(bz,3)*bs,bB=e+2*bz*(bF-e)+bz*bz*(br-2*bF+e),bA=d+2*bz*(bD-d)+bz*bz*(S-2*bD+d),bE=bF+2*bz*(br-bF)+bz*bz*(bt-2*br+bF),bC=bD+2*bz*(S-bD)+bz*bz*(bs-2*S+bD),by=(1-bz)*e+bz*bF,bv=(1-bz)*d+bz*bD,R=(1-bz)*br+bz*bt,E=(1-bz)*S+bz*bs,bq=(90-ak.atan((bB-bE)/(bA-bC))*180/ak.PI);
 
(bB>bE||bA<bC)&&(bq+=180);return{x:bw,y:bu,m:{x:bB,y:bA},n:{x:bE,y:bC},start:{x:by,y:bv},end:{x:R,y:E},alpha:bq}};var ae=au(function(bv){if(!bv){return{x:0,y:0,width:0,height:0}}bv=P(bv);var bs=0,br=0,R=[],e=[],E;for(var S=0,bu=bv[p];S<bu;S++){E=bv[S];if(E[0]=="M"){bs=E[1];br=E[2];R[f](bs);e[f](br)}else{var bq=aV(bs,br,E[1],E[2],E[3],E[4],E[5],E[6]);R=R[bg](bq.min.x,bq.max.x);e=e[bg](bq.min.y,bq.max.y);bs=E[5];br=E[6]}}var d=a4[bl](0,R),bt=a4[bl](0,e);return{x:d,y:bt,width:h[bl](0,R)-d,height:h[bl](0,e)-bt}}),aK=function(bq){var E=[];if(!aB.is(bq,aW)||!aB.is(bq&&bq[0],aW)){bq=aB.parsePathString(bq)}for(var e=0,R=bq[p];e<R;e++){E[e]=[];for(var d=0,S=bq[e][p];d<S;d++){E[e][d]=bq[e][d]}}E[aQ]=aB._path2string;return E},an=au(function(R){if(!aB.is(R,aW)||!aB.is(R&&R[0],aW)){R=aB.parsePathString(R)}var bu=[],bw=0,bv=0,bz=0,by=0,E=0;if(R[0][0]=="M"){bw=R[0][1];bv=R[0][2];bz=bw;by=bv;E++;bu[f](["M",bw,bv])}for(var br=E,bA=R[p];br<bA;br++){var d=bu[br]=[],bx=R[br];if(bx[0]!=bp.call(bx[0])){d[0]=bp.call(bx[0]);switch(d[0]){case"a":d[1]=bx[1];d[2]=bx[2];d[3]=bx[3];d[4]=bx[4];d[5]=bx[5];d[6]=+(bx[6]-bw).toFixed(3);d[7]=+(bx[7]-bv).toFixed(3);break;case"v":d[1]=+(bx[1]-bv).toFixed(3);break;case"m":bz=bx[1];by=bx[2];default:for(var bq=1,bs=bx[p];bq<bs;bq++){d[bq]=+(bx[bq]-((bq%2)?bw:bv)).toFixed(3)}}}else{d=bu[br]=[];if(bx[0]=="m"){bz=bx[1]+bw;by=bx[2]+bv}for(var S=0,e=bx[p];S<e;S++){bu[br][S]=bx[S]}}var bt=bu[br][p];switch(bu[br][0]){case"z":bw=bz;bv=by;break;case"h":bw+=+bu[br][bt-1];break;case"v":bv+=+bu[br][bt-1];break;default:bw+=+bu[br][bt-2];bv+=+bu[br][bt-1]}}bu[aQ]=aB._path2string;return bu},0,aK),w=au(function(R){if(!aB.is(R,aW)||!aB.is(R&&R[0],aW)){R=aB.parsePathString(R)}var bt=[],bv=0,bu=0,by=0,bx=0,E=0;if(R[0][0]=="M"){bv=+R[0][1];bu=+R[0][2];by=bv;bx=bu;E++;bt[0]=["M",bv,bu]}for(var br=E,bz=R[p];br<bz;br++){var d=bt[br]=[],bw=R[br];if(bw[0]!=a9.call(bw[0])){d[0]=a9.call(bw[0]);switch(d[0]){case"A":d[1]=bw[1];d[2]=bw[2];d[3]=bw[3];d[4]=bw[4];d[5]=bw[5];d[6]=+(bw[6]+bv);d[7]=+(bw[7]+bu);break;case"V":d[1]=+bw[1]+bu;break;case"H":d[1]=+bw[1]+bv;break;case"M":by=+bw[1]+bv;bx=+bw[2]+bu;default:for(var bq=1,bs=bw[p];bq<bs;bq++){d[bq]=+bw[bq]+((bq%2)?bv:bu)}}}else{for(var S=0,e=bw[p];S<e;S++){bt[br][S]=bw[S]}}switch(d[0]){case"Z":bv=by;bu=bx;break;case"H":bv=d[1];break;case"V":bu=d[1];break;default:bv=bt[br][bt[br][p]-2];bu=bt[br][bt[br][p]-1]}}bt[aQ]=aB._path2string;return bt},null,aK),bm=function(e,R,d,E){return[e,R,d,E,d,E]},a5=function(e,R,br,S,d,E){var bq=1/3,bs=2/3;return[bq*e+bs*br,bq*R+bs*S,bq*d+bs*br,bq*E+bs*S,d,E]},V=function(bz,b4,bI,bG,bA,bu,S,by,b3,bB){var R=ak.PI,bF=R*120/180,d=R/180*(+bA||0),bM=[],bJ,b0=au(function(b6,b9,b5){var b8=b6*ak.cos(b5)-b9*ak.sin(b5),b7=b6*ak.sin(b5)+b9*ak.cos(b5);return{x:b8,y:b7}});if(!bB){bJ=b0(bz,b4,-d);bz=bJ.x;b4=bJ.y;bJ=b0(by,b3,-d);by=bJ.x;b3=bJ.y;var e=ak.cos(R/180*bA),bw=ak.sin(R/180*bA),bO=(bz-by)/2,bN=(b4-b3)/2;var bY=(bO*bO)/(bI*bI)+(bN*bN)/(bG*bG);if(bY>1){bY=ak.sqrt(bY);bI=bY*bI;bG=bY*bG}var E=bI*bI,bR=bG*bG,bT=(bu==S?-1:1)*ak.sqrt(ak.abs((E*bR-E*bN*bN-bR*bO*bO)/(E*bN*bN+bR*bO*bO))),bD=bT*bI*bN/bG+(bz+by)/2,bC=bT*-bG*bO/bI+(b4+b3)/2,bt=ak.asin(((b4-bC)/bG).toFixed(7)),bs=ak.asin(((b3-bC)/bG).toFixed(7));bt=bz<bD?R-bt:bt;bs=by<bD?R-bs:bs;bt<0&&(bt=R*2+bt);bs<0&&(bs=R*2+bs);if(S&&bt>bs){bt=bt-R*2}if(!S&&bs>bt){bs=bs-R*2}}else{bt=bB[0];bs=bB[1];bD=bB[2];bC=bB[3]}var bx=bs-bt;if(ak.abs(bx)>bF){var bE=bs,bH=by,bv=b3;bs=bt+bF*(S&&bs>bt?1:-1);by=bD+bI*ak.cos(bs);b3=bC+bG*ak.sin(bs);bM=V(by,b3,bI,bG,bA,0,S,bH,bv,[bs,bE,bD,bC])}bx=bs-bt;var br=ak.cos(bt),b2=ak.sin(bt),bq=ak.cos(bs),b1=ak.sin(bs),bP=ak.tan(bx/4),bS=4/3*bI*bP,bQ=4/3*bG*bP,bZ=[bz,b4],bX=[bz+bS*b2,b4-bQ*br],bW=[by+bS*b1,b3-bQ*bq],bU=[by,b3];bX[0]=2*bZ[0]-bX[0];bX[1]=2*bZ[1]-bX[1];if(bB){return[bX,bW,bU][bg](bM)}else{bM=[bX,bW,bU][bg](bM)[aO]()[G](",");var bK=[];for(var bV=0,bL=bM[p];bV<bL;bV++){bK[bV]=bV%2?b0(bM[bV-1],bM[bV],d).y:b0(bM[bV],bM[bV+1],d).x}return bK}},Y=function(e,d,R,E,bt,bs,br,bq,bu){var S=1-bu;return{x:a7(S,3)*e+a7(S,2)*3*bu*R+S*3*bu*bu*bt+a7(bu,3)*br,y:a7(S,3)*d+a7(S,2)*3*bu*E+S*3*bu*bu*bs+a7(bu,3)*bq}},aV=au(function(E,d,S,R,bA,bz,bw,bt){var by=(bA-2*S+E)-(bw-2*bA+S),bv=2*(S-E)-2*(bA-S),bs=E-S,br=(-bv+ak.sqrt(bv*bv-4*by*bs))/2/by,bq=(-bv-ak.sqrt(bv*bv-4*by*bs))/2/by,bu=[d,bt],bx=[E,bw],e;ak.abs(br)>1000000000000&&(br=0.5);ak.abs(bq)>1000000000000&&(bq=0.5);if(br>0&&br<1){e=Y(E,d,S,R,bA,bz,bw,bt,br);bx[f](e.x);bu[f](e.y)}if(bq>0&&bq<1){e=Y(E,d,S,R,bA,bz,bw,bt,bq);bx[f](e.x);bu[f](e.y)}by=(bz-2*R+d)-(bt-2*bz+R);bv=2*(R-d)-2*(bz-R);bs=d-R;br=(-bv+ak.sqrt(bv*bv-4*by*bs))/2/by;bq=(-bv-ak.sqrt(bv*bv-4*by*bs))/2/by;ak.abs(br)>1000000000000&&(br=0.5);ak.abs(bq)>1000000000000&&(bq=0.5);if(br>0&&br<1){e=Y(E,d,S,R,bA,bz,bw,bt,br);bx[f](e.x);bu[f](e.y)}if(bq>0&&bq<1){e=Y(E,d,S,R,bA,bz,bw,bt,bq);bx[f](e.x);bu[f](e.y)}return{min:{x:a4[bl](0,bx),y:a4[bl](0,bu)},max:{x:h[bl](0,bx),y:h[bl](0,bu)}}}),P=au(function(bz,bu){var R=w(bz),bv=bu&&w(bu),bw={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},d={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},bq=function(bB,bC){var bA,bD;if(!bB){return["C",bC.x,bC.y,bC.x,bC.y,bC.x,bC.y]}!(bB[0] in {T:1,Q:1})&&(bC.qx=bC.qy=null);switch(bB[0]){case"M":bC.X=bB[1];bC.Y=bB[2];break;case"A":bB=["C"][bg](V[bl](0,[bC.x,bC.y][bg](bB.slice(1))));break;case"S":bA=bC.x+(bC.x-(bC.bx||bC.x));bD=bC.y+(bC.y-(bC.by||bC.y));bB=["C",bA,bD][bg](bB.slice(1));break;case"T":bC.qx=bC.x+(bC.x-(bC.qx||bC.x));bC.qy=bC.y+(bC.y-(bC.qy||bC.y));bB=["C"][bg](a5(bC.x,bC.y,bC.qx,bC.qy,bB[1],bB[2]));break;case"Q":bC.qx=bB[1];bC.qy=bB[2];bB=["C"][bg](a5(bC.x,bC.y,bB[1],bB[2],bB[3],bB[4]));break;case"L":bB=["C"][bg](bm(bC.x,bC.y,bB[1],bB[2]));break;case"H":bB=["C"][bg](bm(bC.x,bC.y,bB[1],bC.y));break;case"V":bB=["C"][bg](bm(bC.x,bC.y,bC.x,bB[1]));break;case"Z":bB=["C"][bg](bm(bC.x,bC.y,bC.X,bC.Y));break}return bB},e=function(bA,bB){if(bA[bB][p]>7){bA[bB].shift();var bC=bA[bB];while(bC[p]){bA.splice(bB++,0,["C"][bg](bC.splice(0,6)))}bA.splice(bB,1);bx=h(R[p],bv&&bv[p]||0)}},E=function(bE,bD,bB,bA,bC){if(bE&&bD&&bE[bC][0]=="M"&&bD[bC][0]!="M"){bD.splice(bC,0,["M",bA.x,bA.y]);bB.bx=0;bB.by=0;bB.x=bE[bC][1];bB.y=bE[bC][2];bx=h(R[p],bv&&bv[p]||0)}};for(var bs=0,bx=h(R[p],bv&&bv[p]||0);bs<bx;bs++){R[bs]=bq(R[bs],bw);e(R,bs);bv&&(bv[bs]=bq(bv[bs],d));bv&&e(bv,bs);E(R,bv,bw,d,bs);E(bv,R,d,bw,bs);var br=R[bs],by=bv&&bv[bs],S=br[p],bt=bv&&by[p];bw.x=br[S-2];bw.y=br[S-1];bw.bx=af(br[S-4])||bw.x;bw.by=af(br[S-3])||bw.y;d.bx=bv&&(af(by[bt-4])||d.x);d.by=bv&&(af(by[bt-3])||d.y);d.x=bv&&by[bt-2];d.y=bv&&by[bt-1]}return bv?[R,bv]:R},null,aK),u=au(function(bu){var bt=[];for(var bq=0,bv=bu[p];bq<bv;bq++){var e={},bs=bu[bq].match(/^([^:]*):?([\d\.]*)/);e.color=aB.getRGB(bs[1]);if(e.color.error){return null}e.color=e.color.hex;bs[2]&&(e.offset=bs[2]+"%");bt[f](e)}for(bq=1,bv=bt[p]-1;bq<bv;bq++){if(!bt[bq].offset){var E=af(bt[bq-1].offset||0),R=0;for(var S=bq+1;S<bv;S++){if(bt[S].offset){R=bt[S].offset;break}}if(!R){R=100;S=bv}R=af(R);var br=(R-E)/(S-bq+1);for(;bq<S;bq++){E+=br;bt[bq].offset=E+"%"
 
}}}return bt}),aC=function(d,S,E,R){var e;if(aB.is(d,ab)||aB.is(d,"object")){e=aB.is(d,ab)?W.getElementById(d):d;if(e.tagName){if(S==null){return{container:e,width:e.style.pixelWidth||e.offsetWidth,height:e.style.pixelHeight||e.offsetHeight}}else{return{container:e,width:S,height:E}}}}else{return{container:1,x:d,y:S,width:E,height:R}}},a1=function(d,E){var e=this;for(var R in E){if(E[ac](R)&&!(R in d)){switch(typeof E[R]){case"function":(function(S){d[R]=d===e?S:function(){return S[bl](e,arguments)}})(E[R]);break;case"object":d[R]=d[R]||{};a1.call(this,d[R],E[R]);break;default:d[R]=E[R];break}}}},ax=function(d,e){d==e.top&&(e.top=d.prev);d==e.bottom&&(e.bottom=d.next);d.next&&(d.next.prev=d.prev);d.prev&&(d.prev.next=d.next)},ah=function(d,e){if(e.top===d){return}ax(d,e);d.next=null;d.prev=e.top;e.top.next=d;e.top=d},n=function(d,e){if(e.bottom===d){return}ax(d,e);d.next=e.bottom;d.prev=null;e.bottom.prev=d;e.bottom=d},H=function(e,d,E){ax(e,E);d==E.top&&(E.top=e);d.next&&(d.next.prev=e);e.next=d.next;e.prev=d;d.next=e},aE=function(e,d,E){ax(e,E);d==E.bottom&&(E.bottom=e);d.prev&&(d.prev.next=e);e.prev=d.prev;d.prev=e;e.next=d},x=function(d){return function(){throw new Error("Rapha\xebl: you are calling to method \u201c"+d+"\u201d of removed object")}},aG=/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/;if(aB.svg){bi[bn].svgns="http://www.w3.org/2000/svg";bi[bn].xlink="http://www.w3.org/1999/xlink";Z=function(d){return +d+(~~d===d)*0.5};var a3=function(E,d){if(d){for(var e in d){if(d[ac](e)){E[B](e,d[e]+aH)}}}else{E=W.createElementNS(bi[bn].svgns,E);E.style.webkitTapHighlightColor="rgba(0,0,0,0)";return E}};aB[aQ]=function(){return"Your browser supports SVG.\nYou are running Rapha\xebl "+this.version};var v=function(d,R){var e=a3("path");R.canvas&&R.canvas[a6](e);var E=new aM(e,R);E.type="path";aj(E,{fill:"none",stroke:"#000",path:d});return E};var b=function(R,by,d){var bv="linear",bs=0.5,bq=0.5,bA=R.style;by=(by+aH)[bc](aG,function(bD,bB,bE){bv="radial";if(bB&&bE){bs=af(bB);bq=af(bE);var bC=((bq>0.5)*2-1);a7(bs-0.5,2)+a7(bq-0.5,2)>0.25&&(bq=ak.sqrt(0.25-a7(bs-0.5,2))*bC+0.5)&&bq!=0.5&&(bq=bq.toFixed(5)-0.00001*bC)}return aH});by=by[G](/\s*\-\s*/);if(bv=="linear"){var br=by.shift();br=-af(br);if(isNaN(br)){return null}var S=[0,0,ak.cos(br*ak.PI/180),ak.sin(br*ak.PI/180)],bx=1/(h(ak.abs(S[2]),ak.abs(S[3]))||1);S[2]*=bx;S[3]*=bx;if(S[2]<0){S[0]=-S[2];S[2]=0}if(S[3]<0){S[1]=-S[3];S[3]=0}}var bu=u(by);if(!bu){return null}var e=R.getAttribute(aT);e=e.match(/^url\(#(.*)\)$/);e&&d.defs.removeChild(W.getElementById(e[1]));var E=a3(bv+"Gradient");E.id="r"+(aB._id++)[aQ](36);a3(E,bv=="radial"?{fx:bs,fy:bq}:{x1:S[0],y1:S[1],x2:S[2],y2:S[3]});d.defs[a6](E);for(var bt=0,bz=bu[p];bt<bz;bt++){var bw=a3("stop");a3(bw,{offset:bu[bt].offset?bu[bt].offset:!bt?"0%":"100%","stop-color":bu[bt].color||"#fff"});E[a6](bw)}a3(R,{fill:"url(#"+E.id+")",opacity:1,"fill-opacity":1});bA.fill=aH;bA.opacity=1;bA.fillOpacity=1;return 1};var X=function(e){var d=e.getBBox();a3(e.pattern,{patternTransform:aB.format("translate({0},{1})",d.x,d.y)})};var aj=function(by,bH){var bB={"":[0],none:[0],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},bD=by.node,bz=by.attrs,bv=by.rotate(),br=function(bO,bN){bN=bB[bp.call(bN)];if(bN){var bL=bO.attrs["stroke-width"]||"1",bJ={round:bL,square:bL,butt:0}[bO.attrs["stroke-linecap"]||bH["stroke-linecap"]]||0,bM=[];var bK=bN[p];while(bK--){bM[bK]=bN[bK]*bL+((bK%2)?1:-1)*bJ}a3(bD,{"stroke-dasharray":bM[aO](",")})}};bH[ac]("rotation")&&(bv=bH.rotation);var bu=(bv+aH)[G](a);if(!(bu.length-1)){bu=null}else{bu[1]=+bu[1];bu[2]=+bu[2]}af(bv)&&by.rotate(0,true);for(var bC in bH){if(bH[ac](bC)){if(!m[ac](bC)){continue}var bA=bH[bC];bz[bC]=bA;switch(bC){case"blur":by.blur(bA);break;case"rotation":by.rotate(bA,true);break;case"href":case"title":case"target":var bF=bD.parentNode;if(bp.call(bF.tagName)!="a"){var S=a3("a");bF.insertBefore(S,bD);S[a6](bD);bF=S}bF.setAttributeNS(by.paper.xlink,bC,bA);break;case"cursor":bD.style.cursor=bA;break;case"clip-rect":var e=(bA+aH)[G](a);if(e[p]==4){by.clip&&by.clip.parentNode.parentNode.removeChild(by.clip.parentNode);var E=a3("clipPath"),bE=a3("rect");E.id="r"+(aB._id++)[aQ](36);a3(bE,{x:e[0],y:e[1],width:e[2],height:e[3]});E[a6](bE);by.paper.defs[a6](E);a3(bD,{"clip-path":"url(#"+E.id+")"});by.clip=bE}if(!bA){var bG=W.getElementById(bD.getAttribute("clip-path")[bc](/(^url\(#|\)$)/g,aH));bG&&bG.parentNode.removeChild(bG);a3(bD,{"clip-path":aH});delete by.clip}break;case"path":if(by.type=="path"){a3(bD,{d:bA?bz.path=w(bA):"M0,0"})}break;case"width":bD[B](bC,bA);if(bz.fx){bC="x";bA=bz.x}else{break}case"x":if(bz.fx){bA=-bz.x-(bz.width||0)}case"rx":if(bC=="rx"&&by.type=="rect"){break}case"cx":bu&&(bC=="x"||bC=="cx")&&(bu[1]+=bA-bz[bC]);bD[B](bC,Z(bA));by.pattern&&X(by);break;case"height":bD[B](bC,bA);if(bz.fy){bC="y";bA=bz.y}else{break}case"y":if(bz.fy){bA=-bz.y-(bz.height||0)}case"ry":if(bC=="ry"&&by.type=="rect"){break}case"cy":bu&&(bC=="y"||bC=="cy")&&(bu[2]+=bA-bz[bC]);bD[B](bC,Z(bA));by.pattern&&X(by);break;case"r":if(by.type=="rect"){a3(bD,{rx:bA,ry:bA})}else{bD[B](bC,bA)}break;case"src":if(by.type=="image"){bD.setAttributeNS(by.paper.xlink,"href",bA)}break;case"stroke-width":bD.style.strokeWidth=bA;bD[B](bC,bA);if(bz["stroke-dasharray"]){br(by,bz["stroke-dasharray"])}break;case"stroke-dasharray":br(by,bA);break;case"translation":var bs=(bA+aH)[G](a);bs[0]=+bs[0]||0;bs[1]=+bs[1]||0;if(bu){bu[1]+=bs[0];bu[2]+=bs[1]}y.call(by,bs[0],bs[1]);break;case"scale":bs=(bA+aH)[G](a);by.scale(+bs[0]||1,+bs[1]||+bs[0]||1,isNaN(af(bs[2]))?null:+bs[2],isNaN(af(bs[3]))?null:+bs[3]);break;case aT:var bq=(bA+aH).match(c);if(bq){E=a3("pattern");var bx=a3("image");E.id="r"+(aB._id++)[aQ](36);a3(E,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1});a3(bx,{x:0,y:0});bx.setAttributeNS(by.paper.xlink,"href",bq[1]);E[a6](bx);var bI=W.createElement("img");bI.style.cssText="position:absolute;left:-9999em;top-9999em";bI.onload=function(){a3(E,{width:this.offsetWidth,height:this.offsetHeight});a3(bx,{width:this.offsetWidth,height:this.offsetHeight});W.body.removeChild(this);by.paper.safari()};W.body[a6](bI);bI.src=bq[1];by.paper.defs[a6](E);bD.style.fill="url(#"+E.id+")";a3(bD,{fill:"url(#"+E.id+")"});by.pattern=E;by.pattern&&X(by);break}var R=aB.getRGB(bA);if(!R.error){delete bH.gradient;delete bz.gradient;!aB.is(bz.opacity,"undefined")&&aB.is(bH.opacity,"undefined")&&a3(bD,{opacity:bz.opacity});!aB.is(bz["fill-opacity"],"undefined")&&aB.is(bH["fill-opacity"],"undefined")&&a3(bD,{"fill-opacity":bz["fill-opacity"]})}else{if((({circle:1,ellipse:1})[ac](by.type)||(bA+aH).charAt()!="r")&&b(bD,bA,by.paper)){bz.gradient=bA;bz.fill="none";break}}R[ac]("o")&&a3(bD,{"fill-opacity":R.o/100});case"stroke":R=aB.getRGB(bA);bD[B](bC,R.hex);bC=="stroke"&&R[ac]("o")&&a3(bD,{"stroke-opacity":R.o/100});break;case"gradient":(({circle:1,ellipse:1})[ac](by.type)||(bA+aH).charAt()!="r")&&b(bD,bA,by.paper);
 
break;case"opacity":case"fill-opacity":if(bz.gradient){var d=W.getElementById(bD.getAttribute(aT)[bc](/^url\(#|\)$/g,aH));if(d){var bt=d.getElementsByTagName("stop");bt[bt[p]-1][B]("stop-opacity",bA)}break}default:bC=="font-size"&&(bA=O(bA,10)+"px");var bw=bC[bc](/(\-.)/g,function(bJ){return a9.call(bJ.substring(1))});bD.style[bw]=bA;bD[B](bC,bA);break}}}M(by,bH);if(bu){by.rotate(bu.join(aA))}else{af(bv)&&by.rotate(bv,true)}};var l=1.2,M=function(d,R){if(d.type!="text"||!(R[ac]("text")||R[ac]("font")||R[ac]("font-size")||R[ac]("x")||R[ac]("y"))){return}var bt=d.attrs,e=d.node,bv=e.firstChild?O(W.defaultView.getComputedStyle(e.firstChild,aH).getPropertyValue("font-size"),10):10;if(R[ac]("text")){bt.text=R.text;while(e.firstChild){e.removeChild(e.firstChild)}var E=(R.text+aH)[G]("\n");for(var S=0,bu=E[p];S<bu;S++){if(E[S]){var br=a3("tspan");S&&a3(br,{dy:bv*l,x:bt.x});br[a6](W.createTextNode(E[S]));e[a6](br)}}}else{E=e.getElementsByTagName("tspan");for(S=0,bu=E[p];S<bu;S++){S&&a3(E[S],{dy:bv*l,x:bt.x})}}a3(e,{y:bt.y});var bq=d.getBBox(),bs=bt.y-(bq.y+bq.height/2);bs&&isFinite(bs)&&a3(e,{y:bt.y+bs})},aM=function(e,d){var R=0,E=0;this[0]=e;this.id=aB._oid++;this.node=e;e.raphael=this;this.paper=d;this.attrs=this.attrs||{};this.transformations=[];this._={tx:0,ty:0,rt:{deg:0,cx:0,cy:0},sx:1,sy:1};!d.bottom&&(d.bottom=this);this.prev=d.top;d.top&&(d.top.next=this);d.top=this;this.next=null};aM[bn].rotate=function(e,d,R){if(this.removed){return this}if(e==null){if(this._.rt.cx){return[this._.rt.deg,this._.rt.cx,this._.rt.cy][aO](aA)}return this._.rt.deg}var E=this.getBBox();e=(e+aH)[G](a);if(e[p]-1){d=af(e[1]);R=af(e[2])}e=af(e[0]);if(d!=null){this._.rt.deg=e}else{this._.rt.deg+=e}(R==null)&&(d=null);this._.rt.cx=d;this._.rt.cy=R;d=d==null?E.x+E.width/2:d;R=R==null?E.y+E.height/2:R;if(this._.rt.deg){this.transformations[0]=aB.format("rotate({0} {1} {2})",this._.rt.deg,d,R);this.clip&&a3(this.clip,{transform:aB.format("rotate({0} {1} {2})",-this._.rt.deg,d,R)})}else{this.transformations[0]=aH;this.clip&&a3(this.clip,{transform:aH})}a3(this.node,{transform:this.transformations[aO](aA)});return this};aM[bn].hide=function(){!this.removed&&(this.node.style.display="none");return this};aM[bn].show=function(){!this.removed&&(this.node.style.display="");return this};aM[bn].remove=function(){if(this.removed){return}ax(this,this.paper);this.node.parentNode.removeChild(this.node);for(var d in this){delete this[d]}this.removed=true};aM[bn].getBBox=function(){if(this.removed){return this}if(this.type=="path"){return ae(this.attrs.path)}if(this.node.style.display=="none"){this.show();var E=true}var br={};try{br=this.node.getBBox()}catch(S){}finally{br=br||{}}if(this.type=="text"){br={x:br.x,y:Infinity,width:0,height:0};for(var d=0,R=this.node.getNumberOfChars();d<R;d++){var bq=this.node.getExtentOfChar(d);(bq.y<br.y)&&(br.y=bq.y);(bq.y+bq.height-br.y>br.height)&&(br.height=bq.y+bq.height-br.y);(bq.x+bq.width-br.x>br.width)&&(br.width=bq.x+bq.width-br.x)}}E&&this.hide();return br};aM[bn].attr=function(E,br){if(this.removed){return this}if(E==null){var S={};for(var R in this.attrs){if(this.attrs[ac](R)){S[R]=this.attrs[R]}}this._.rt.deg&&(S.rotation=this.rotate());(this._.sx!=1||this._.sy!=1)&&(S.scale=this.scale());S.gradient&&S.fill=="none"&&(S.fill=S.gradient)&&delete S.gradient;return S}if(br==null&&aB.is(E,ab)){if(E=="translation"){return y.call(this)}if(E=="rotation"){return this.rotate()}if(E=="scale"){return this.scale()}if(E==aT&&this.attrs.fill=="none"&&this.attrs.gradient){return this.attrs.gradient}return this.attrs[E]}if(br==null&&aB.is(E,aW)){var d={};for(var e=0,bq=E.length;e<bq;e++){d[E[e]]=this.attr(E[e])}return d}if(br!=null){var bs={};bs[E]=br;aj(this,bs)}else{if(E!=null&&aB.is(E,"object")){aj(this,E)}}return this};aM[bn].toFront=function(){if(this.removed){return this}this.node.parentNode[a6](this.node);var d=this.paper;d.top!=this&&ah(this,d);return this};aM[bn].toBack=function(){if(this.removed){return this}if(this.node.parentNode.firstChild!=this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild);n(this,this.paper);var d=this.paper}return this};aM[bn].insertAfter=function(d){if(this.removed){return this}var e=d.node;if(e.nextSibling){e.parentNode.insertBefore(this.node,e.nextSibling)}else{e.parentNode[a6](this.node)}H(this,d,this.paper);return this};aM[bn].insertBefore=function(d){if(this.removed){return this}var e=d.node;e.parentNode.insertBefore(this.node,e);aE(this,d,this.paper);return this};aM[bn].blur=function(e){var d=this;if(+e!==0){var E=a3("filter"),R=a3("feGaussianBlur");d.attrs.blur=e;E.id="r"+(aB._id++)[aQ](36);a3(R,{stdDeviation:+e||1.5});E.appendChild(R);d.paper.defs.appendChild(E);d._blur=E;a3(d.node,{filter:"url(#"+E.id+")"})}else{if(d._blur){d._blur.parentNode.removeChild(d._blur);delete d._blur;delete d.attrs.blur}d.node.removeAttribute("filter")}};var aa=function(e,d,bq,S){d=Z(d);bq=Z(bq);var R=a3("circle");e.canvas&&e.canvas[a6](R);var E=new aM(R,e);E.attrs={cx:d,cy:bq,r:S,fill:"none",stroke:"#000"};E.type="circle";a3(R,E.attrs);return E};var aZ=function(E,d,bs,e,bq,br){d=Z(d);bs=Z(bs);var S=a3("rect");E.canvas&&E.canvas[a6](S);var R=new aM(S,E);R.attrs={x:d,y:bs,width:e,height:bq,r:br||0,rx:br||0,ry:br||0,fill:"none",stroke:"#000"};R.type="rect";a3(S,R.attrs);return R};var at=function(e,d,br,bq,S){d=Z(d);br=Z(br);var R=a3("ellipse");e.canvas&&e.canvas[a6](R);var E=new aM(R,e);E.attrs={cx:d,cy:br,rx:bq,ry:S,fill:"none",stroke:"#000"};E.type="ellipse";a3(R,E.attrs);return E};var t=function(E,br,d,bs,e,bq){var S=a3("image");a3(S,{x:d,y:bs,width:e,height:bq,preserveAspectRatio:"none"});S.setAttributeNS(E.xlink,"href",br);E.canvas&&E.canvas[a6](S);var R=new aM(S,E);R.attrs={x:d,y:bs,width:e,height:bq,src:br};R.type="image";return R};var ag=function(e,d,bq,S){var R=a3("text");a3(R,{x:d,y:bq,"text-anchor":"middle"});e.canvas&&e.canvas[a6](R);var E=new aM(R,e);E.attrs={x:d,y:bq,"text-anchor":"middle",text:S,font:m.font,stroke:"none",fill:"#000"};E.type="text";aj(E,E.attrs);return E};var bk=function(e,d){this.width=e||this.width;this.height=d||this.height;this.canvas[B]("width",this.width);this.canvas[B]("height",this.height);return this};var C=function(){var R=aC[bl](0,arguments),E=R&&R.container,e=R.x,br=R.y,S=R.width,d=R.height;if(!E){throw new Error("SVG container not found.")}var bq=a3("svg");e=e||0;br=br||0;S=S||512;d=d||342;a3(bq,{xmlns:"http://www.w3.org/2000/svg",version:1.1,width:S,height:d});if(E==1){bq.style.cssText="position:absolute;left:"+e+"px;top:"+br+"px";W.body[a6](bq)}else{if(E.firstChild){E.insertBefore(bq,E.firstChild)}else{E[a6](bq)}}E=new bi;E.width=S;E.height=d;E.canvas=bq;a1.call(E,E,aB.fn);E.clear();return E};bi[bn].clear=function(){var d=this.canvas;while(d.firstChild){d.removeChild(d.firstChild)}this.bottom=this.top=null;(this.desc=a3("desc"))[a6](W.createTextNode("Created with Rapha\xebl"));d[a6](this.desc);d[a6](this.defs=a3("defs"))};bi[bn].remove=function(){this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);
 
for(var d in this){this[d]=x(d)}}}if(aB.vml){var K={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},aF=/([clmz]),?([^clmz]*)/gi,bo=/-?[^,\s-]+/g,aP=1000+aA+1000,s=10,q={path:1,rect:1},a2=function(bv){var bs=/[ahqstv]/ig,E=w;(bv+aH).match(bs)&&(E=P);bs=/[clmz]/g;if(E==w&&!(bv+aH).match(bs)){var br=(bv+aH)[bc](aF,function(bz,bB,bx){var bA=[],bw=bp.call(bB)=="m",by=K[bB];bx[bc](bo,function(bC){if(bw&&bA[p]==2){by+=bA+K[bB=="m"?"l":"L"];bA=[]}bA[f](Z(bC*s))});return by+bA});return br}var bt=E(bv),e,d;br=[];for(var S=0,bu=bt[p];S<bu;S++){e=bt[S];d=bp.call(bt[S][0]);d=="z"&&(d="x");for(var R=1,bq=e[p];R<bq;R++){d+=Z(e[R]*s)+(R!=bq-1?",":aH)}br[f](d)}return br[aO](aA)};aB[aQ]=function(){return"Your browser doesn\u2019t support SVG. Falling down to VML.\nYou are running Rapha\xebl "+this.version};v=function(E,e){var bq=ar("group");bq.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px";bq.coordsize=e.coordsize;bq.coordorigin=e.coordorigin;var S=ar("shape"),R=S.style;R.width=e.width+"px";R.height=e.height+"px";S.coordsize=aP;S.coordorigin=e.coordorigin;bq[a6](S);var br=new aM(S,bq,e),d={fill:"none",stroke:"#000"};E&&(d.path=E);br.isAbsolute=true;br.type="path";br.path=[];br.Path=aH;aj(br,d);e.canvas[a6](bq);return br};aj=function(bu,bB){bu.attrs=bu.attrs||{};var by=bu.node,bC=bu.attrs,br=by.style,R,bA=(bB.x!=bC.x||bB.y!=bC.y||bB.width!=bC.width||bB.height!=bC.height||bB.r!=bC.r)&&bu.type=="rect",bG=bu;for(var bs in bB){if(bB[ac](bs)){bC[bs]=bB[bs]}}if(bA){bC.path=am(bC.x,bC.y,bC.width,bC.height,bC.r);bu.X=bC.x;bu.Y=bC.y;bu.W=bC.width;bu.H=bC.height}bB.href&&(by.href=bB.href);bB.title&&(by.title=bB.title);bB.target&&(by.target=bB.target);bB.cursor&&(br.cursor=bB.cursor);"blur" in bB&&bu.blur(bB.blur);if(bB.path&&bu.type=="path"||bA){by.path=a2(bC.path)}if(bB.rotation!=null){bu.rotate(bB.rotation,true)}if(bB.translation){R=(bB.translation+aH)[G](a);y.call(bu,R[0],R[1]);if(bu._.rt.cx!=null){bu._.rt.cx+=+R[0];bu._.rt.cy+=+R[1];bu.setBox(bu.attrs,R[0],R[1])}}if(bB.scale){R=(bB.scale+aH)[G](a);bu.scale(+R[0]||1,+R[1]||+R[0]||1,+R[2]||null,+R[3]||null)}if("clip-rect" in bB){var d=(bB["clip-rect"]+aH)[G](a);if(d[p]==4){d[2]=+d[2]+(+d[0]);d[3]=+d[3]+(+d[1]);var bt=by.clipRect||W.createElement("div"),bF=bt.style,bq=by.parentNode;bF.clip=aB.format("rect({1}px {2}px {3}px {0}px)",d);if(!by.clipRect){bF.position="absolute";bF.top=0;bF.left=0;bF.width=bu.paper.width+"px";bF.height=bu.paper.height+"px";bq.parentNode.insertBefore(bt,bq);bt[a6](bq);by.clipRect=bt}}if(!bB["clip-rect"]){by.clipRect&&(by.clipRect.style.clip=aH)}}if(bu.type=="image"&&bB.src){by.src=bB.src}if(bu.type=="image"&&bB.opacity){by.filterOpacity=aU+".Alpha(opacity="+(bB.opacity*100)+")";br.filter=(by.filterMatrix||aH)+(by.filterOpacity||aH)}bB.font&&(br.font=bB.font);bB["font-family"]&&(br.fontFamily='"'+bB["font-family"][G](",")[0][bc](/^['"]+|['"]+$/g,aH)+'"');bB["font-size"]&&(br.fontSize=bB["font-size"]);bB["font-weight"]&&(br.fontWeight=bB["font-weight"]);bB["font-style"]&&(br.fontStyle=bB["font-style"]);if(bB.opacity!=null||bB["stroke-width"]!=null||bB.fill!=null||bB.stroke!=null||bB["stroke-width"]!=null||bB["stroke-opacity"]!=null||bB["fill-opacity"]!=null||bB["stroke-dasharray"]!=null||bB["stroke-miterlimit"]!=null||bB["stroke-linejoin"]!=null||bB["stroke-linecap"]!=null){by=bu.shape||by;var bz=(by.getElementsByTagName(aT)&&by.getElementsByTagName(aT)[0]),bD=false;!bz&&(bD=bz=ar(aT));if("fill-opacity" in bB||"opacity" in bB){var e=((+bC["fill-opacity"]+1||2)-1)*((+bC.opacity+1||2)-1)*((+aB.getRGB(bB.fill).o+1||2)-1);e<0&&(e=0);e>1&&(e=1);bz.opacity=e}bB.fill&&(bz.on=true);if(bz.on==null||bB.fill=="none"){bz.on=false}if(bz.on&&bB.fill){var E=bB.fill.match(c);if(E){bz.src=E[1];bz.type="tile"}else{bz.color=aB.getRGB(bB.fill).hex;bz.src=aH;bz.type="solid";if(aB.getRGB(bB.fill).error&&(bG.type in {circle:1,ellipse:1}||(bB.fill+aH).charAt()!="r")&&b(bG,bB.fill)){bC.fill="none";bC.gradient=bB.fill}}}bD&&by[a6](bz);var S=(by.getElementsByTagName("stroke")&&by.getElementsByTagName("stroke")[0]),bE=false;!S&&(bE=S=ar("stroke"));if((bB.stroke&&bB.stroke!="none")||bB["stroke-width"]||bB["stroke-opacity"]!=null||bB["stroke-dasharray"]||bB["stroke-miterlimit"]||bB["stroke-linejoin"]||bB["stroke-linecap"]){S.on=true}(bB.stroke=="none"||S.on==null||bB.stroke==0||bB["stroke-width"]==0)&&(S.on=false);var bx=aB.getRGB(bB.stroke);S.on&&bB.stroke&&(S.color=bx.hex);e=((+bC["stroke-opacity"]+1||2)-1)*((+bC.opacity+1||2)-1)*((+bx.o+1||2)-1);var bv=(af(bB["stroke-width"])||1)*0.75;e<0&&(e=0);e>1&&(e=1);bB["stroke-width"]==null&&(bv=bC["stroke-width"]);bB["stroke-width"]&&(S.weight=bv);bv&&bv<1&&(e*=bv)&&(S.weight=1);S.opacity=e;bB["stroke-linejoin"]&&(S.joinstyle=bB["stroke-linejoin"]||"miter");S.miterlimit=bB["stroke-miterlimit"]||8;bB["stroke-linecap"]&&(S.endcap=bB["stroke-linecap"]=="butt"?"flat":bB["stroke-linecap"]=="square"?"square":"round");if(bB["stroke-dasharray"]){var bw={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};S.dashstyle=bw[ac](bB["stroke-dasharray"])?bw[bB["stroke-dasharray"]]:aH}bE&&by[a6](S)}if(bG.type=="text"){br=bG.paper.span.style;bC.font&&(br.font=bC.font);bC["font-family"]&&(br.fontFamily=bC["font-family"]);bC["font-size"]&&(br.fontSize=bC["font-size"]);bC["font-weight"]&&(br.fontWeight=bC["font-weight"]);bC["font-style"]&&(br.fontStyle=bC["font-style"]);bG.node.string&&(bG.paper.span.innerHTML=(bG.node.string+aH)[bc](/</g,"&#60;")[bc](/&/g,"&#38;")[bc](/\n/g,"<br>"));bG.W=bC.w=bG.paper.span.offsetWidth;bG.H=bC.h=bG.paper.span.offsetHeight;bG.X=bC.x;bG.Y=bC.y+Z(bG.H/2);switch(bC["text-anchor"]){case"start":bG.node.style["v-text-align"]="left";bG.bbx=Z(bG.W/2);break;case"end":bG.node.style["v-text-align"]="right";bG.bbx=-Z(bG.W/2);break;default:bG.node.style["v-text-align"]="center";break}}};b=function(d,br){d.attrs=d.attrs||{};var bs=d.attrs,bu,S="linear",bq=".5 .5";d.attrs.gradient=br;br=(br+aH)[bc](aG,function(bx,by,bw){S="radial";if(by&&bw){by=af(by);bw=af(bw);a7(by-0.5,2)+a7(bw-0.5,2)>0.25&&(bw=ak.sqrt(0.25-a7(by-0.5,2))*((bw>0.5)*2-1)+0.5);bq=by+aA+bw}return aH});br=br[G](/\s*\-\s*/);if(S=="linear"){var e=br.shift();e=-af(e);if(isNaN(e)){return null}}var R=u(br);if(!R){return null}d=d.shape||d.node;bu=d.getElementsByTagName(aT)[0]||ar(aT);!bu.parentNode&&d.appendChild(bu);if(R[p]){bu.on=true;bu.method="none";bu.color=R[0].color;bu.color2=R[R[p]-1].color;var bv=[];for(var E=0,bt=R[p];E<bt;E++){R[E].offset&&bv[f](R[E].offset+aA+R[E].color)}bu.colors&&(bu.colors.value=bv[p]?bv[aO]():"0% "+bu.color);if(S=="radial"){bu.type="gradientradial";bu.focus="100%";bu.focussize=bq;bu.focusposition=bq}else{bu.type="gradient";bu.angle=(270-e)%360}}return 1};aM=function(S,br,d){var bq=0,E=0,e=0,R=1;this[0]=S;this.id=aB._oid++;this.node=S;S.raphael=this;this.X=0;this.Y=0;this.attrs={};this.Group=br;this.paper=d;this._={tx:0,ty:0,rt:{deg:0},sx:1,sy:1};!d.bottom&&(d.bottom=this);
 
this.prev=d.top;d.top&&(d.top.next=this);d.top=this;this.next=null};aM[bn].rotate=function(e,d,E){if(this.removed){return this}if(e==null){if(this._.rt.cx){return[this._.rt.deg,this._.rt.cx,this._.rt.cy][aO](aA)}return this._.rt.deg}e=(e+aH)[G](a);if(e[p]-1){d=af(e[1]);E=af(e[2])}e=af(e[0]);if(d!=null){this._.rt.deg=e}else{this._.rt.deg+=e}E==null&&(d=null);this._.rt.cx=d;this._.rt.cy=E;this.setBox(this.attrs,d,E);this.Group.style.rotation=this._.rt.deg;return this};aM[bn].setBox=function(R,S,E){if(this.removed){return this}var d=this.Group.style,bq=(this.shape&&this.shape.style)||this.node.style;R=R||{};for(var br in R){if(R[ac](br)){this.attrs[br]=R[br]}}S=S||this._.rt.cx;E=E||this._.rt.cy;var bu=this.attrs,bx,bw,by,bt;switch(this.type){case"circle":bx=bu.cx-bu.r;bw=bu.cy-bu.r;by=bt=bu.r*2;break;case"ellipse":bx=bu.cx-bu.rx;bw=bu.cy-bu.ry;by=bu.rx*2;bt=bu.ry*2;break;case"image":bx=+bu.x;bw=+bu.y;by=bu.width||0;bt=bu.height||0;break;case"text":this.textpath.v=["m",Z(bu.x),", ",Z(bu.y-2),"l",Z(bu.x)+1,", ",Z(bu.y-2)][aO](aH);bx=bu.x-Z(this.W/2);bw=bu.y-this.H/2;by=this.W;bt=this.H;break;case"rect":case"path":if(!this.attrs.path){bx=0;bw=0;by=this.paper.width;bt=this.paper.height}else{var bs=ae(this.attrs.path);bx=bs.x;bw=bs.y;by=bs.width;bt=bs.height}break;default:bx=0;bw=0;by=this.paper.width;bt=this.paper.height;break}S=(S==null)?bx+by/2:S;E=(E==null)?bw+bt/2:E;var e=S-this.paper.width/2,bv=E-this.paper.height/2,bz;d.left!=(bz=e+"px")&&(d.left=bz);d.top!=(bz=bv+"px")&&(d.top=bz);this.X=q[ac](this.type)?-e:bx;this.Y=q[ac](this.type)?-bv:bw;this.W=by;this.H=bt;if(q[ac](this.type)){bq.left!=(bz=-e*s+"px")&&(bq.left=bz);bq.top!=(bz=-bv*s+"px")&&(bq.top=bz)}else{if(this.type=="text"){bq.left!=(bz=-e+"px")&&(bq.left=bz);bq.top!=(bz=-bv+"px")&&(bq.top=bz)}else{d.width!=(bz=this.paper.width+"px")&&(d.width=bz);d.height!=(bz=this.paper.height+"px")&&(d.height=bz);bq.left!=(bz=bx-e+"px")&&(bq.left=bz);bq.top!=(bz=bw-bv+"px")&&(bq.top=bz);bq.width!=(bz=by+"px")&&(bq.width=bz);bq.height!=(bz=bt+"px")&&(bq.height=bz)}}};aM[bn].hide=function(){!this.removed&&(this.Group.style.display="none");return this};aM[bn].show=function(){!this.removed&&(this.Group.style.display="block");return this};aM[bn].getBBox=function(){if(this.removed){return this}if(q[ac](this.type)){return ae(this.attrs.path)}return{x:this.X+(this.bbx||0),y:this.Y,width:this.W,height:this.H}};aM[bn].remove=function(){if(this.removed){return}ax(this,this.paper);this.node.parentNode.removeChild(this.node);this.Group.parentNode.removeChild(this.Group);this.shape&&this.shape.parentNode.removeChild(this.shape);for(var d in this){delete this[d]}this.removed=true};aM[bn].attr=function(e,bq){if(this.removed){return this}if(e==null){var R={};for(var E in this.attrs){if(this.attrs[ac](E)){R[E]=this.attrs[E]}}this._.rt.deg&&(R.rotation=this.rotate());(this._.sx!=1||this._.sy!=1)&&(R.scale=this.scale());R.gradient&&R.fill=="none"&&(R.fill=R.gradient)&&delete R.gradient;return R}if(bq==null&&aB.is(e,ab)){if(e=="translation"){return y.call(this)}if(e=="rotation"){return this.rotate()}if(e=="scale"){return this.scale()}if(e==aT&&this.attrs.fill=="none"&&this.attrs.gradient){return this.attrs.gradient}return this.attrs[e]}if(this.attrs&&bq==null&&aB.is(e,aW)){var S,d={};for(E=0,S=e[p];E<S;E++){d[e[E]]=this.attr(e[E])}return d}var br;if(bq!=null){br={};br[e]=bq}bq==null&&aB.is(e,"object")&&(br=e);if(br){if(br.text&&this.type=="text"){this.node.string=br.text}aj(this,br);if(br.gradient&&(({circle:1,ellipse:1})[ac](this.type)||(br.gradient+aH).charAt()!="r")){b(this,br.gradient)}(!q[ac](this.type)||this._.rt.deg)&&this.setBox(this.attrs)}return this};aM[bn].toFront=function(){!this.removed&&this.Group.parentNode[a6](this.Group);this.paper.top!=this&&ah(this,this.paper);return this};aM[bn].toBack=function(){if(this.removed){return this}if(this.Group.parentNode.firstChild!=this.Group){this.Group.parentNode.insertBefore(this.Group,this.Group.parentNode.firstChild);n(this,this.paper)}return this};aM[bn].insertAfter=function(d){if(this.removed){return this}if(d.Group.nextSibling){d.Group.parentNode.insertBefore(this.Group,d.Group.nextSibling)}else{d.Group.parentNode[a6](this.Group)}H(this,d,this.paper);return this};aM[bn].insertBefore=function(d){if(this.removed){return this}d.Group.parentNode.insertBefore(this.Group,d.Group);aE(this,d,this.paper);return this};var bh=/ progid:\S+Blur\([^\)]+\)/g;aM[bn].blur=function(d){var e=this.node.style,E=e.filter;E=E.replace(bh,"");if(+d!==0){this.attrs.blur=d;e.filter=E+aU+".Blur(pixelradius="+(+d||1.5)+")";e.margin=Raphael.format("-{0}px 0 0 -{0}px",Math.round(+d||1.5))}else{e.filter=E;e.margin=0;delete this.attrs.blur}};aa=function(e,d,bs,bq){var S=ar("group"),br=ar("oval"),E=br.style;S.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px";S.coordsize=aP;S.coordorigin=e.coordorigin;S[a6](br);var R=new aM(br,S,e);R.type="circle";aj(R,{stroke:"#000",fill:"none"});R.attrs.cx=d;R.attrs.cy=bs;R.attrs.r=bq;R.setBox({x:d-bq,y:bs-bq,width:bq*2,height:bq*2});e.canvas[a6](S);return R};function am(d,S,e,E,R){if(R){return aB.format("M{0},{1}l{2},0a{3},{3},0,0,1,{3},{3}l0,{5}a{3},{3},0,0,1,{4},{3}l{6},0a{3},{3},0,0,1,{4},{4}l0,{7}a{3},{3},0,0,1,{3},{4}z",d+R,S,e-R*2,R,-R,E-R*2,R*2-e,R*2-E)}else{return aB.format("M{0},{1}l{2},0,0,{3},{4},0z",d,S,e,E,-e)}}aZ=function(e,br,S,bs,E,d){var bt=am(br,S,bs,E,d),R=e.path(bt),bq=R.attrs;R.X=bq.x=br;R.Y=bq.y=S;R.W=bq.width=bs;R.H=bq.height=E;bq.r=d;bq.path=bt;R.type="rect";return R};at=function(d,bt,bs,E,e){var S=ar("group"),R=ar("oval"),br=R.style;S.style.cssText="position:absolute;left:0;top:0;width:"+d.width+"px;height:"+d.height+"px";S.coordsize=aP;S.coordorigin=d.coordorigin;S[a6](R);var bq=new aM(R,S,d);bq.type="ellipse";aj(bq,{stroke:"#000"});bq.attrs.cx=bt;bq.attrs.cy=bs;bq.attrs.rx=E;bq.attrs.ry=e;bq.setBox({x:bt-E,y:bs-e,width:E*2,height:e*2});d.canvas[a6](S);return bq};t=function(e,d,bt,bs,bu,R){var S=ar("group"),E=ar("image"),br=E.style;S.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px";S.coordsize=aP;S.coordorigin=e.coordorigin;E.src=d;S[a6](E);var bq=new aM(E,S,e);bq.type="image";bq.attrs.src=d;bq.attrs.x=bt;bq.attrs.y=bs;bq.attrs.w=bu;bq.attrs.h=R;bq.setBox({x:bt,y:bs,width:bu,height:R});e.canvas[a6](S);return bq};ag=function(e,bt,bs,bu){var S=ar("group"),R=ar("shape"),br=R.style,bv=ar("path"),d=bv.style,E=ar("textpath");S.style.cssText="position:absolute;left:0;top:0;width:"+e.width+"px;height:"+e.height+"px";S.coordsize=aP;S.coordorigin=e.coordorigin;bv.v=aB.format("m{0},{1}l{2},{1}",Z(bt*10),Z(bs*10),Z(bt*10)+1);bv.textpathok=true;br.width=e.width;br.height=e.height;E.string=bu+aH;E.on=true;R[a6](E);R[a6](bv);S[a6](R);var bq=new aM(E,S,e);bq.shape=R;bq.textpath=bv;bq.type="text";bq.attrs.text=bu;bq.attrs.x=bt;bq.attrs.y=bs;bq.attrs.w=1;bq.attrs.h=1;aj(bq,{font:m.font,stroke:"none",fill:"#000"});bq.setBox();e.canvas[a6](S);return bq};bk=function(E,d){var e=this.canvas.style;E==+E&&(E+="px");
 
d==+d&&(d+="px");e.width=E;e.height=d;e.clip="rect(0 "+E+" "+d+" 0)";return this};var ar;W.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!W.namespaces.rvml&&W.namespaces.add("rvml","urn:schemas-microsoft-com:vml");ar=function(d){return W.createElement("<rvml:"+d+' class="rvml">')}}catch(ap){ar=function(d){return W.createElement("<"+d+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}C=function(){var E=aC[bl](0,arguments),d=E.container,bt=E.height,bu,e=E.width,bs=E.x,br=E.y;if(!d){throw new Error("VML container not found.")}var S=new bi,bq=S.canvas=W.createElement("div"),R=bq.style;bs=bs||0;br=br||0;e=e||512;bt=bt||342;e==+e&&(e+="px");bt==+bt&&(bt+="px");S.width=1000;S.height=1000;S.coordsize=s*1000+aA+s*1000;S.coordorigin="0 0";S.span=W.createElement("span");S.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";bq[a6](S.span);R.cssText=aB.format("width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",e,bt);if(d==1){W.body[a6](bq);R.left=bs+"px";R.top=br+"px";R.position="absolute"}else{if(d.firstChild){d.insertBefore(bq,d.firstChild)}else{d[a6](bq)}}a1.call(S,S,aB.fn);return S};bi[bn].clear=function(){this.canvas.innerHTML=aH;this.span=W.createElement("span");this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;";this.canvas[a6](this.span);this.bottom=this.top=null};bi[bn].remove=function(){this.canvas.parentNode.removeChild(this.canvas);for(var d in this){this[d]=x(d)}return true}}if((/^Apple|^Google/).test(aI.navigator.vendor)&&(!(aI.navigator.userAgent.indexOf("Version/4.0")+1)||aI.navigator.platform.slice(0,2)=="iP")){bi[bn].safari=function(){var d=this.rect(-99,-99,this.width+99,this.height+99);aI.setTimeout(function(){d.remove()})}}else{bi[bn].safari=function(){}}var L=function(){this.returnValue=false},bf=function(){return this.originalEvent.preventDefault()},aS=function(){this.cancelBubble=true},aw=function(){return this.originalEvent.stopPropagation()},ao=(function(){if(W.addEventListener){return function(bq,R,E,e){var d=Q&&bb[R]?bb[R]:R;var S=function(bu){if(Q&&bb[ac](R)){for(var bs=0,bt=bu.targetTouches&&bu.targetTouches.length;bs<bt;bs++){if(bu.targetTouches[bs].target==bq){var br=bu;bu=bu.targetTouches[bs];bu.originalEvent=br;bu.preventDefault=bf;bu.stopPropagation=aw;break}}}return E.call(e,bu)};bq.addEventListener(d,S,false);return function(){bq.removeEventListener(d,S,false);return true}}}else{if(W.attachEvent){return function(bq,R,E,e){var S=function(br){br=br||aI.event;br.preventDefault=br.preventDefault||L;br.stopPropagation=br.stopPropagation||aS;return E.call(e,br)};bq.attachEvent("on"+R,S);var d=function(){bq.detachEvent("on"+R,S);return true};return d}}}})();for(var al=N[p];al--;){(function(d){aB[d]=aM[bn][d]=function(e){if(aB.is(e,"function")){this.events=this.events||[];this.events.push({name:d,f:e,unbind:ao(this.shape||this.node||W,d,e,this)})}return this};aB["un"+d]=aM[bn]["un"+d]=function(R){var E=this.events,e=E[p];while(e--){if(E[e].name==d&&E[e].f==R){E[e].unbind();E.splice(e,1);!E.length&&delete this.events;return this}}return this}})(N[al])}aM[bn].hover=function(e,d){return this.mouseover(e).mouseout(d)};aM[bn].unhover=function(e,d){return this.unmouseover(e).unmouseout(d)};aM[bn].drag=function(E,bq,S){this._drag={};var R=this.mousedown(function(br){(br.originalEvent?br.originalEvent:br).preventDefault();this._drag.x=br.clientX;this._drag.y=br.clientY;this._drag.id=br.identifier;bq&&bq.call(this,br.clientX,br.clientY);Raphael.mousemove(e).mouseup(d)}),e=function(bt){var br=bt.clientX,bv=bt.clientY;if(Q){var bs=bt.touches.length,bu;while(bs--){bu=bt.touches[bs];if(bu.identifier==R._drag.id){br=bu.clientX;bv=bu.clientY;(bt.originalEvent?bt.originalEvent:bt).preventDefault();break}}}else{bt.preventDefault()}E&&E.call(R,br-R._drag.x,bv-R._drag.y,br,bv)},d=function(){R._drag={};Raphael.unmousemove(e).unmouseup(d);S&&S.call(R)};return this};bi[bn].circle=function(d,E,e){return aa(this,d||0,E||0,e||0)};bi[bn].rect=function(d,S,e,E,R){return aZ(this,d||0,S||0,e||0,E||0,R||0)};bi[bn].ellipse=function(d,R,E,e){return at(this,d||0,R||0,E||0,e||0)};bi[bn].path=function(d){d&&!aB.is(d,ab)&&!aB.is(d[0],aW)&&(d+=aH);return v(aB.format[bl](aB,arguments),this)};bi[bn].image=function(R,d,S,e,E){return t(this,R||"about:blank",d||0,S||0,e||0,E||0)};bi[bn].text=function(d,E,e){return ag(this,d||0,E||0,e||aH)};bi[bn].set=function(d){arguments[p]>1&&(d=Array[bn].splice.call(arguments,0,arguments[p]));return new ad(d)};bi[bn].setSize=bk;bi[bn].top=bi[bn].bottom=null;bi[bn].raphael=aB;function A(){return this.x+aA+this.y}aM[bn].resetScale=function(){if(this.removed){return this}this._.sx=1;this._.sy=1;this.attrs.scale="1 1"};aM[bn].scale=function(bw,bv,E,e){if(this.removed){return this}if(bw==null&&bv==null){return{x:this._.sx,y:this._.sy,toString:A}}bv=bv||bw;!+bv&&(bv=bw);var bA,by,bz,bx,bM=this.attrs;if(bw!=0){var bu=this.getBBox(),br=bu.x+bu.width/2,R=bu.y+bu.height/2,bL=bw/this._.sx,bK=bv/this._.sy;E=(+E||E==0)?E:br;e=(+e||e==0)?e:R;var bt=~~(bw/ak.abs(bw)),bq=~~(bv/ak.abs(bv)),bD=this.node.style,bO=E+(br-E)*bL,bN=e+(R-e)*bK;switch(this.type){case"rect":case"image":var bs=bM.width*bt*bL,bC=bM.height*bq*bK;this.attr({height:bC,r:bM.r*a4(bt*bL,bq*bK),width:bs,x:bO-bs/2,y:bN-bC/2});break;case"circle":case"ellipse":this.attr({rx:bM.rx*bt*bL,ry:bM.ry*bq*bK,r:bM.r*a4(bt*bL,bq*bK),cx:bO,cy:bN});break;case"text":this.attr({x:bO,y:bN});break;case"path":var bF=an(bM.path),bG=true;for(var bI=0,bB=bF[p];bI<bB;bI++){var bE=bF[bI],S=a9.call(bE[0]);if(S=="M"&&bG){continue}else{bG=false}if(S=="A"){bE[bF[bI][p]-2]*=bL;bE[bF[bI][p]-1]*=bK;bE[1]*=bt*bL;bE[2]*=bq*bK;bE[5]=+!(bt+bq?!+bE[5]:+bE[5])}else{if(S=="H"){for(var bH=1,bJ=bE[p];bH<bJ;bH++){bE[bH]*=bL}}else{if(S=="V"){for(bH=1,bJ=bE[p];bH<bJ;bH++){bE[bH]*=bK}}else{for(bH=1,bJ=bE[p];bH<bJ;bH++){bE[bH]*=(bH%2)?bL:bK}}}}}var d=ae(bF);bA=bO-d.x-d.width/2;by=bN-d.y-d.height/2;bF[0][1]+=bA;bF[0][2]+=by;this.attr({path:bF});break}if(this.type in {text:1,image:1}&&(bt!=1||bq!=1)){if(this.transformations){this.transformations[2]="scale("[bg](bt,",",bq,")");this.node[B]("transform",this.transformations[aO](aA));bA=(bt==-1)?-bM.x-(bs||0):bM.x;by=(bq==-1)?-bM.y-(bC||0):bM.y;this.attr({x:bA,y:by});bM.fx=bt-1;bM.fy=bq-1}else{this.node.filterMatrix=aU+".Matrix(M11="[bg](bt,", M12=0, M21=0, M22=",bq,", Dx=0, Dy=0, sizingmethod='auto expand', filtertype='bilinear')");bD.filter=(this.node.filterMatrix||aH)+(this.node.filterOpacity||aH)}}else{if(this.transformations){this.transformations[2]=aH;this.node[B]("transform",this.transformations[aO](aA));bM.fx=0;bM.fy=0}else{this.node.filterMatrix=aH;bD.filter=(this.node.filterMatrix||aH)+(this.node.filterOpacity||aH)}}bM.scale=[bw,bv,E,e][aO](aA);this._.sx=bw;this._.sy=bv}return this};aM[bn].clone=function(){if(this.removed){return null}var d=this.attr();delete d.scale;delete d.translation;return this.paper[this.type]().attr(d)
 
};var g=au(function(E,d,br,bq,bx,bw,bv,bu,R){var bt=0,S;for(var bs=0;bs<1.001;bs+=0.001){var e=aB.findDotsAtSegment(E,d,br,bq,bx,bw,bv,bu,bs);bs&&(bt+=a7(a7(S.x-e.x,2)+a7(S.y-e.y,2),0.5));if(bt>=R){return e}S=e}}),aR=function(d,e){return function(bz,S,bq){bz=P(bz);var bv,bu,E,br,R="",by={},bw,bt=0;for(var bs=0,bx=bz.length;bs<bx;bs++){E=bz[bs];if(E[0]=="M"){bv=+E[1];bu=+E[2]}else{br=r(bv,bu,E[1],E[2],E[3],E[4],E[5],E[6]);if(bt+br>S){if(e&&!by.start){bw=g(bv,bu,E[1],E[2],E[3],E[4],E[5],E[6],S-bt);R+=["C",bw.start.x,bw.start.y,bw.m.x,bw.m.y,bw.x,bw.y];if(bq){return R}by.start=R;R=["M",bw.x,bw.y+"C",bw.n.x,bw.n.y,bw.end.x,bw.end.y,E[5],E[6]][aO]();bt+=br;bv=+E[5];bu=+E[6];continue}if(!d&&!e){bw=g(bv,bu,E[1],E[2],E[3],E[4],E[5],E[6],S-bt);return{x:bw.x,y:bw.y,alpha:bw.alpha}}}bt+=br;bv=+E[5];bu=+E[6]}R+=E}by.end=R;bw=d?bt:e?by:aB.findDotsAtSegment(bv,bu,E[1],E[2],E[3],E[4],E[5],E[6],1);bw.alpha&&(bw={x:bw.x,y:bw.y,alpha:bw.alpha});return bw}},r=au(function(E,d,bq,S,bw,bv,bu,bt){var R={x:0,y:0},bs=0;for(var br=0;br<1.01;br+=0.01){var e=Y(E,d,bq,S,bw,bv,bu,bt,br);br&&(bs+=a7(a7(R.x-e.x,2)+a7(R.y-e.y,2),0.5));R=e}return bs});var aD=aR(1),J=aR(),U=aR(0,1);aM[bn].getTotalLength=function(){if(this.type!="path"){return}if(this.node.getTotalLength){return this.node.getTotalLength()}return aD(this.attrs.path)};aM[bn].getPointAtLength=function(d){if(this.type!="path"){return}return J(this.attrs.path,d)};aM[bn].getSubpath=function(E,e){if(this.type!="path"){return}if(ak.abs(this.getTotalLength()-e)<0.000001){return U(this.attrs.path,E).end}var d=U(this.attrs.path,e,1);return E?U(d,E).end:d};aB.easing_formulas={linear:function(d){return d},"<":function(d){return a7(d,3)},">":function(d){return a7(d-1,3)+1},"<>":function(d){d=d*2;if(d<1){return a7(d,3)/2}d-=2;return(a7(d,3)+2)/2},backIn:function(e){var d=1.70158;return e*e*((d+1)*e-d)},backOut:function(e){e=e-1;var d=1.70158;return e*e*((d+1)*e+d)+1},elastic:function(E){if(E==0||E==1){return E}var e=0.3,d=e/4;return a7(2,-10*E)*ak.sin((E-d)*(2*ak.PI)/e)+1},bounce:function(R){var e=7.5625,E=2.75,d;if(R<(1/E)){d=e*R*R}else{if(R<(2/E)){R-=(1.5/E);d=e*R*R+0.75}else{if(R<(2.5/E)){R-=(2.25/E);d=e*R*R+0.9375}else{R-=(2.625/E);d=e*R*R+0.984375}}}return d}};var T={length:0},be=function(){var bs=+new Date;for(var bE in T){if(bE!="length"&&T[ac](bE)){var bJ=T[bE];if(bJ.stop||bJ.el.removed){delete T[bE];T[p]--;continue}var bq=bs-bJ.start,bB=bJ.ms,bA=bJ.easing,bF=bJ.from,bx=bJ.diff,E=bJ.to,bw=bJ.t,bz=bJ.prev||0,br=bJ.el,R=bJ.callback,by={},d;if(bq<bB){var S=aB.easing_formulas[bA]?aB.easing_formulas[bA](bq/bB):bq/bB;for(var bC in bF){if(bF[ac](bC)){switch(ai[bC]){case"along":d=S*bB*bx[bC];E.back&&(d=E.len-d);var bD=J(E[bC],d);br.translate(bx.sx-bx.x||0,bx.sy-bx.y||0);bx.x=bD.x;bx.y=bD.y;br.translate(bD.x-bx.sx,bD.y-bx.sy);E.rot&&br.rotate(bx.r+bD.alpha,bD.x,bD.y);break;case ay:d=+bF[bC]+S*bB*bx[bC];break;case"colour":d="rgb("+[I(Z(bF[bC].r+S*bB*bx[bC].r)),I(Z(bF[bC].g+S*bB*bx[bC].g)),I(Z(bF[bC].b+S*bB*bx[bC].b))][aO](",")+")";break;case"path":d=[];for(var bH=0,bv=bF[bC][p];bH<bv;bH++){d[bH]=[bF[bC][bH][0]];for(var bG=1,bI=bF[bC][bH][p];bG<bI;bG++){d[bH][bG]=+bF[bC][bH][bG]+S*bB*bx[bC][bH][bG]}d[bH]=d[bH][aO](aA)}d=d[aO](aA);break;case"csv":switch(bC){case"translation":var bu=bx[bC][0]*(bq-bz),bt=bx[bC][1]*(bq-bz);bw.x+=bu;bw.y+=bt;d=bu+aA+bt;break;case"rotation":d=+bF[bC][0]+S*bB*bx[bC][0];bF[bC][1]&&(d+=","+bF[bC][1]+","+bF[bC][2]);break;case"scale":d=[+bF[bC][0]+S*bB*bx[bC][0],+bF[bC][1]+S*bB*bx[bC][1],(2 in E[bC]?E[bC][2]:aH),(3 in E[bC]?E[bC][3]:aH)][aO](aA);break;case"clip-rect":d=[];bH=4;while(bH--){d[bH]=+bF[bC][bH]+S*bB*bx[bC][bH]}break}break}by[bC]=d}}br.attr(by);br._run&&br._run.call(br)}else{if(E.along){bD=J(E.along,E.len*!E.back);br.translate(bx.sx-(bx.x||0)+bD.x-bx.sx,bx.sy-(bx.y||0)+bD.y-bx.sy);E.rot&&br.rotate(bx.r+bD.alpha,bD.x,bD.y)}(bw.x||bw.y)&&br.translate(-bw.x,-bw.y);E.scale&&(E.scale+=aH);br.attr(E);delete T[bE];T[p]--;br.in_animation=null;aB.is(R,"function")&&R.call(br)}bJ.prev=bq}}aB.svg&&br&&br.paper&&br.paper.safari();T[p]&&aI.setTimeout(be)},I=function(d){return h(a4(d,255),0)},y=function(d,E){if(d==null){return{x:this._.tx,y:this._.ty,toString:A}}this._.tx+=+d;this._.ty+=+E;switch(this.type){case"circle":case"ellipse":this.attr({cx:+d+this.attrs.cx,cy:+E+this.attrs.cy});break;case"rect":case"image":case"text":this.attr({x:+d+this.attrs.x,y:+E+this.attrs.y});break;case"path":var e=an(this.attrs.path);e[0][1]+=+d;e[0][2]+=+E;this.attr({path:e});break}return this};aM[bn].animateWith=function(e,E,d,S,R){T[e.id]&&(E.start=T[e.id].start);return this.animate(E,d,S,R)};aM[bn].animateAlong=aN();aM[bn].animateAlongBack=aN(1);function aN(d){return function(R,E,e,bq){var S={back:d};aB.is(e,"function")?(bq=e):(S.rot=e);R&&R.constructor==aM&&(R=R.attrs.path);R&&(S.along=R);return this.animate(S,E,bq)}}aM[bn].onAnimation=function(d){this._run=d||0;return this};aM[bn].animate=function(bE,bv,bu,E){if(aB.is(bu,"function")||!bu){E=bu||null}var bz={},e={},bs={};for(var bw in bE){if(bE[ac](bw)){if(ai[ac](bw)){bz[bw]=this.attr(bw);(bz[bw]==null)&&(bz[bw]=m[bw]);e[bw]=bE[bw];switch(ai[bw]){case"along":var bC=aD(bE[bw]),bx=J(bE[bw],bC*!!bE.back),R=this.getBBox();bs[bw]=bC/bv;bs.tx=R.x;bs.ty=R.y;bs.sx=bx.x;bs.sy=bx.y;e.rot=bE.rot;e.back=bE.back;e.len=bC;bE.rot&&(bs.r=af(this.rotate())||0);break;case ay:bs[bw]=(e[bw]-bz[bw])/bv;break;case"colour":bz[bw]=aB.getRGB(bz[bw]);var by=aB.getRGB(e[bw]);bs[bw]={r:(by.r-bz[bw].r)/bv,g:(by.g-bz[bw].g)/bv,b:(by.b-bz[bw].b)/bv};break;case"path":var S=P(bz[bw],e[bw]);bz[bw]=S[0];var bt=S[1];bs[bw]=[];for(var bB=0,br=bz[bw][p];bB<br;bB++){bs[bw][bB]=[0];for(var bA=1,bD=bz[bw][bB][p];bA<bD;bA++){bs[bw][bB][bA]=(bt[bB][bA]-bz[bw][bB][bA])/bv}}break;case"csv":var d=(bE[bw]+aH)[G](a),bq=(bz[bw]+aH)[G](a);switch(bw){case"translation":bz[bw]=[0,0];bs[bw]=[d[0]/bv,d[1]/bv];break;case"rotation":bz[bw]=(bq[1]==d[1]&&bq[2]==d[2])?bq:[0,d[1],d[2]];bs[bw]=[(d[0]-bz[bw][0])/bv,0,0];break;case"scale":bE[bw]=d;bz[bw]=(bz[bw]+aH)[G](a);bs[bw]=[(d[0]-bz[bw][0])/bv,(d[1]-bz[bw][1])/bv,0,0];break;case"clip-rect":bz[bw]=(bz[bw]+aH)[G](a);bs[bw]=[];bB=4;while(bB--){bs[bw][bB]=(d[bB]-bz[bw][bB])/bv}break}e[bw]=d}}}}this.stop();this.in_animation=1;T[this.id]={start:bE.start||+new Date,ms:bv,easing:bu,from:bz,diff:bs,to:e,el:this,callback:E,t:{x:0,y:0}};++T[p]==1&&be();return this};aM[bn].stop=function(){T[this.id]&&T[p]--;delete T[this.id];return this};aM[bn].translate=function(d,e){return this.attr({translation:d+" "+e})};aM[bn][aQ]=function(){return"Rapha\xebl\u2019s object"};aB.ae=T;var ad=function(d){this.items=[];this[p]=0;this.type="set";if(d){for(var e=0,E=d[p];e<E;e++){if(d[e]&&(d[e].constructor==aM||d[e].constructor==ad)){this[this.items[p]]=this.items[this.items[p]]=d[e];this[p]++}}}};ad[bn][f]=function(){var R,d;for(var e=0,E=arguments[p];e<E;e++){R=arguments[e];if(R&&(R.constructor==aM||R.constructor==ad)){d=this.items[p];this[d]=this.items[d]=R;this[p]++}}return this};ad[bn].pop=function(){delete this[this[p]--];return this.items.pop()
 
};for(var F in aM[bn]){if(aM[bn][ac](F)){ad[bn][F]=(function(d){return function(){for(var e=0,E=this.items[p];e<E;e++){this.items[e][d][bl](this.items[e],arguments)}return this}})(F)}}ad[bn].attr=function(e,bq){if(e&&aB.is(e,aW)&&aB.is(e[0],"object")){for(var d=0,S=e[p];d<S;d++){this.items[d].attr(e[d])}}else{for(var E=0,R=this.items[p];E<R;E++){this.items[E].attr(e,bq)}}return this};ad[bn].animate=function(e,d,bq,bs){(aB.is(bq,"function")||!bq)&&(bs=bq||null);var S=this.items[p],E=S,bt,br=this,R;bs&&(R=function(){!--S&&bs.call(br)});bq=aB.is(bq,ab)?bq:R;bt=this.items[--E].animate(e,d,bq,R);while(E--){this.items[E].animateWith(bt,e,d,bq,R)}return this};ad[bn].insertAfter=function(e){var d=this.items[p];while(d--){this.items[d].insertAfter(e)}return this};ad[bn].getBBox=function(){var d=[],bq=[],e=[],R=[];for(var E=this.items[p];E--;){var S=this.items[E].getBBox();d[f](S.x);bq[f](S.y);e[f](S.x+S.width);R[f](S.y+S.height)}d=a4[bl](0,d);bq=a4[bl](0,bq);return{x:d,y:bq,width:h[bl](0,e)-d,height:h[bl](0,R)-bq}};ad[bn].clone=function(E){E=new ad;for(var d=0,e=this.items[p];d<e;d++){E[f](this.items[d].clone())}return E};aB.registerFont=function(e){if(!e.face){return e}this.fonts=this.fonts||{};var R={w:e.w,face:{},glyphs:{}},E=e.face["font-family"];for(var br in e.face){if(e.face[ac](br)){R.face[br]=e.face[br]}}if(this.fonts[E]){this.fonts[E][f](R)}else{this.fonts[E]=[R]}if(!e.svg){R.face["units-per-em"]=O(e.face["units-per-em"],10);for(var S in e.glyphs){if(e.glyphs[ac](S)){var bq=e.glyphs[S];R.glyphs[S]={w:bq.w,k:{},d:bq.d&&"M"+bq.d[bc](/[mlcxtrv]/g,function(bs){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[bs]||"M"})+"z"};if(bq.k){for(var d in bq.k){if(bq[ac](d)){R.glyphs[S].k[d]=bq.k[d]}}}}}}return e};bi[bn].getFont=function(bs,bt,e,R){R=R||"normal";e=e||"normal";bt=+bt||{normal:400,bold:700,lighter:300,bolder:800}[bt]||400;if(!aB.fonts){return}var S=aB.fonts[bs];if(!S){var E=new RegExp("(^|\\s)"+bs[bc](/[^\w\d\s+!~.:_-]/g,aH)+"(\\s|$)","i");for(var d in aB.fonts){if(aB.fonts[ac](d)){if(E.test(d)){S=aB.fonts[d];break}}}}var bq;if(S){for(var br=0,bu=S[p];br<bu;br++){bq=S[br];if(bq.face["font-weight"]==bt&&(bq.face["font-style"]==e||!bq.face["font-style"])&&bq.face["font-stretch"]==R){break}}}return bq};bi[bn].print=function(R,E,d,br,bs,bB){bB=bB||"middle";var bx=this.set(),bA=(d+aH)[G](aH),by=0,bu=aH,bC;aB.is(br,d)&&(br=this.getFont(br));if(br){bC=(bs||16)/br.face["units-per-em"];var e=br.face.bbox.split(a),bq=+e[0],bt=+e[1]+(bB=="baseline"?e[3]-e[1]+(+br.face.descent):(e[3]-e[1])/2);for(var bw=0,S=bA[p];bw<S;bw++){var bv=bw&&br.glyphs[bA[bw-1]]||{},bz=br.glyphs[bA[bw]];by+=bw?(bv.w||br.w)+(bv.k&&bv.k[bA[bw]]||0):0;bz&&bz.d&&bx[f](this.path(bz.d).attr({fill:"#000",stroke:"none",translation:[by,0]}))}bx.scale(bC,bC,bq,bt).translate(R-bq,E-bt)}return bx};var a8=/\{(\d+)\}/g;aB.format=function(e,E){var d=aB.is(E,aW)?[0][bg](E):arguments;e&&aB.is(e,ab)&&d[p]-1&&(e=e[bc](a8,function(S,R){return d[++R]==null?aH:d[R]}));return e||aH};aB.ninja=function(){o.was?(Raphael=o.is):delete Raphael;return aB};aB.el=aM[bn];return aB})();if(document.Prototype===undefined){Object.clone=function(c){var a={};for(var b in c){a[b]=c[b]}return a};Object.keys=function(a){var b=[];for(var c in a){if(a.hasOwnProperty(c)){b.push(c)}}return b};Array.prototype.clone=function(c){var a=[];for(var b=0;b<c.length;b++){a.push(c[b])}return a};String.prototype.gsub=function(b,a){return this.split(b).join(a)};String.prototype.strip=function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")};String.prototype.startsWith=function(a){return this.indexOf(a)===0};String.prototype.endsWith=function(a){var b=this.length-a.length;return b>=0&&this.lastIndexOf(a)===b};Array.prototype.each=function(c,b){for(var a=0,d=this.length;a<d;a++){c.apply(b,[this[a],a])}};Array.prototype.last=function(){if(this.length===0){return null}return this[this.length-1]};Array.prototype.compact=function(){var a=[];for(var b=0;b<this.length;b++){if(this[b]){a.push(this[b])}}return a};Array.prototype.detect=function(b){for(var a=0;a<this.length;a++){if(b(this[a])){return true}}return false}}function str_repeat(b,a){for(var c=[];a>0;c[--a]=b){}return(c.join(""))}function sprintf(){var g=0,e,h=arguments[g++],l=[],d,k,n,b;while(h){if(d=/^[^\x25]+/.exec(h)){l.push(d[0])}else{if(d=/^\x25{2}/.exec(h)){l.push("%")}else{if(d=/^\x25(?:(\d+)\$)?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(h)){if(((e=arguments[d[1]||g++])==null)||(e==undefined)){throw ("Too few arguments.")}if(/[^s]/.test(d[7])&&(typeof(e)!="number")){throw ("Expecting number but found "+typeof(e))}switch(d[7]){case"b":e=e.toString(2);break;case"c":e=String.fromCharCode(e);break;case"d":e=parseInt(e);break;case"e":e=d[6]?e.toExponential(d[6]):e.toExponential();break;case"f":e=d[6]?parseFloat(e).toFixed(d[6]):parseFloat(e);break;case"o":e=e.toString(8);break;case"s":e=((e=String(e))&&d[6]?e.substring(0,d[6]):e);break;case"u":e=Math.abs(e);break;case"x":e=e.toString(16);break;case"X":e=e.toString(16).toUpperCase();break}e=(/[def]/.test(d[7])&&d[2]&&e>0?"+"+e:e);n=d[3]?d[3]=="0"?"0":d[3].charAt(1):" ";b=d[5]-String(e).length;k=d[5]?str_repeat(n,b):"";l.push(d[4]?e+k:k+e)}else{throw ("Huh ?!")}}}h=h.substring(d[0].length)}return l.join("")}var ABCGlyphs=function(){var a={"rests.whole":{d:[["M",0.06,0.03],["l",0.09,-0.06],["l",5.46,0],["l",5.49,0],["l",0.09,0.06],["l",0.06,0.09],["l",0,2.19],["l",0,2.19],["l",-0.06,0.09],["l",-0.09,0.06],["l",-5.49,0],["l",-5.46,0],["l",-0.09,-0.06],["l",-0.06,-0.09],["l",0,-2.19],["l",0,-2.19],["z"]],w:11.25,h:4.68},"rests.half":{d:[["M",0.06,-4.62],["l",0.09,-0.06],["l",5.46,0],["l",5.49,0],["l",0.09,0.06],["l",0.06,0.09],["l",0,2.19],["l",0,2.19],["l",-0.06,0.09],["l",-0.09,0.06],["l",-5.49,0],["l",-5.46,0],["l",-0.09,-0.06],["l",-0.06,-0.09],["l",0,-2.19],["l",0,-2.19],["z"]],w:11.25,h:4.68},"rests.quarter":{d:[["M",1.89,-11.82],["c",0.12,-0.06,0.24,-0.06,0.36,-0.03],["c",0.09,0.06,4.74,5.58,4.86,5.82],["c",0.21,0.39,0.15,0.78,-0.15,1.26],["c",-0.24,0.33,-0.72,0.81,-1.62,1.56],["c",-0.45,0.36,-0.87,0.75,-0.96,0.84],["c",-0.93,0.99,-1.14,2.49,-0.6,3.63],["c",0.18,0.39,0.27,0.48,1.32,1.68],["c",1.92,2.25,1.83,2.16,1.83,2.34],["c",-0,0.18,-0.18,0.36,-0.36,0.39],["c",-0.15,-0,-0.27,-0.06,-0.48,-0.27],["c",-0.75,-0.75,-2.46,-1.29,-3.39,-1.08],["c",-0.45,0.09,-0.69,0.27,-0.9,0.69],["c",-0.12,0.3,-0.21,0.66,-0.24,1.14],["c",-0.03,0.66,0.09,1.35,0.3,2.01],["c",0.15,0.42,0.24,0.66,0.45,0.96],["c",0.18,0.24,0.18,0.33,0.03,0.42],["c",-0.12,0.06,-0.18,0.03,-0.45,-0.3],["c",-1.08,-1.38,-2.07,-3.36,-2.4,-4.83],["c",-0.27,-1.05,-0.15,-1.77,0.27,-2.07],["c",0.21,-0.12,0.42,-0.15,0.87,-0.15],["c",0.87,0.06,2.1,0.39,3.3,0.9],["l",0.39,0.18],["l",-1.65,-1.95],["c",-2.52,-2.97,-2.61,-3.09,-2.7,-3.27],["c",-0.09,-0.24,-0.12,-0.48,-0.03,-0.75],["c",0.15,-0.48,0.57,-0.96,1.83,-2.01],["c",0.45,-0.36,0.84,-0.72,0.93,-0.78],["c",0.69,-0.75,1.02,-1.8,0.9,-2.79],["c",-0.06,-0.33,-0.21,-0.84,-0.39,-1.11],["c",-0.09,-0.15,-0.45,-0.6,-0.81,-1.05],["c",-0.36,-0.42,-0.69,-0.81,-0.72,-0.87],["c",-0.09,-0.18,-0,-0.42,0.21,-0.51],["z"]],w:7.888,h:21.435},"rests.8th":{d:[["M",1.68,-6.12],["c",0.66,-0.09,1.23,0.09,1.68,0.51],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.09,0.33,0.18,0.66,0.21,0.72],["c",0.12,0.27,0.33,0.45,0.6,0.48],["c",0.12,0,0.18,0,0.33,-0.09],["c",0.39,-0.18,1.32,-1.29,1.68,-1.98],["c",0.09,-0.21,0.24,-0.3,0.39,-0.3],["c",0.12,0,0.27,0.09,0.33,0.18],["c",0.03,0.06,-0.27,1.11,-1.86,6.42],["c",-1.02,3.48,-1.89,6.39,-1.92,6.42],["c",0,0.03,-0.12,0.12,-0.24,0.15],["c",-0.18,0.09,-0.21,0.09,-0.45,0.09],["c",-0.24,0,-0.3,0,-0.48,-0.06],["c",-0.09,-0.06,-0.21,-0.12,-0.21,-0.15],["c",-0.06,-0.03,0.15,-0.57,1.68,-4.92],["c",0.96,-2.67,1.74,-4.89,1.71,-4.89],["l",-0.51,0.15],["c",-1.08,0.36,-1.74,0.48,-2.55,0.48],["c",-0.66,0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.33,-0.45,0.84,-0.81,1.38,-0.9],["z"]],w:7.534,h:13.883},"rests.16th":{d:[["M",3.33,-6.12],["c",0.66,-0.09,1.23,0.09,1.68,0.51],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.09,0.33,0.18,0.66,0.21,0.72],["c",0.15,0.39,0.57,0.57,0.87,0.42],["c",0.39,-0.18,1.2,-1.23,1.62,-2.07],["c",0.06,-0.15,0.24,-0.24,0.36,-0.24],["c",0.12,0,0.27,0.09,0.33,0.18],["c",0.03,0.06,-0.45,1.86,-2.67,10.17],["c",-1.5,5.55,-2.73,10.14,-2.76,10.17],["c",-0.03,0.03,-0.12,0.12,-0.24,0.15],["c",-0.18,0.09,-0.21,0.09,-0.45,0.09],["c",-0.24,0,-0.3,0,-0.48,-0.06],["c",-0.09,-0.06,-0.21,-0.12,-0.21,-0.15],["c",-0.06,-0.03,0.12,-0.57,1.44,-4.92],["c",0.81,-2.67,1.47,-4.86,1.47,-4.89],["c",-0.03,0,-0.27,0.06,-0.54,0.15],["c",-1.08,0.36,-1.77,0.48,-2.58,0.48],["c",-0.66,0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.72,-1.05,2.22,-1.23,3.06,-0.42],["c",0.3,0.33,0.42,0.6,0.6,1.38],["c",0.09,0.45,0.21,0.78,0.33,0.9],["c",0.09,0.09,0.27,0.18,0.45,0.21],["c",0.12,0,0.18,0,0.33,-0.09],["c",0.33,-0.15,1.02,-0.93,1.41,-1.59],["c",0.12,-0.21,0.18,-0.39,0.39,-1.08],["c",0.66,-2.1,1.17,-3.84,1.17,-3.87],["c",0,0,-0.21,0.06,-0.42,0.15],["c",-0.51,0.15,-1.2,0.33,-1.68,0.42],["c",-0.33,0.06,-0.51,0.06,-0.96,0.06],["c",-0.66,0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.33,-0.45,0.84,-0.81,1.38,-0.9],["z"]],w:9.724,h:21.383},"rests.32nd":{d:[["M",4.23,-13.62],["c",0.66,-0.09,1.23,0.09,1.68,0.51],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.09,0.33,0.18,0.66,0.21,0.72],["c",0.12,0.27,0.33,0.45,0.6,0.48],["c",0.12,0,0.18,0,0.27,-0.06],["c",0.33,-0.21,0.99,-1.11,1.44,-1.98],["c",0.09,-0.24,0.21,-0.33,0.39,-0.33],["c",0.12,0,0.27,0.09,0.33,0.18],["c",0.03,0.06,-0.57,2.67,-3.21,13.89],["c",-1.8,7.62,-3.3,13.89,-3.3,13.92],["c",-0.03,0.06,-0.12,0.12,-0.24,0.18],["c",-0.21,0.09,-0.24,0.09,-0.48,0.09],["c",-0.24,-0,-0.3,-0,-0.48,-0.06],["c",-0.09,-0.06,-0.21,-0.12,-0.21,-0.15],["c",-0.06,-0.03,0.09,-0.57,1.23,-4.92],["c",0.69,-2.67,1.26,-4.86,1.29,-4.89],["c",0,-0.03,-0.12,-0.03,-0.48,0.12],["c",-1.17,0.39,-2.22,0.57,-3,0.54],["c",-0.42,-0.03,-0.75,-0.12,-1.11,-0.3],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.72,-1.05,2.22,-1.23,3.06,-0.42],["c",0.3,0.33,0.42,0.6,0.6,1.38],["c",0.09,0.45,0.21,0.78,0.33,0.9],["c",0.12,0.09,0.3,0.18,0.48,0.21],["c",0.12,-0,0.18,-0,0.3,-0.09],["c",0.42,-0.21,1.29,-1.29,1.56,-1.89],["c",0.03,-0.12,1.23,-4.59,1.23,-4.65],["c",0,-0.03,-0.18,0.03,-0.39,0.12],["c",-0.63,0.18,-1.2,0.36,-1.74,0.45],["c",-0.39,0.06,-0.54,0.06,-1.02,0.06],["c",-0.66,-0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.72,-1.05,2.22,-1.23,3.06,-0.42],["c",0.3,0.33,0.42,0.6,0.6,1.38],["c",0.09,0.45,0.21,0.78,0.33,0.9],["c",0.18,0.18,0.51,0.27,0.72,0.15],["c",0.3,-0.12,0.69,-0.57,1.08,-1.17],["c",0.42,-0.6,0.39,-0.51,1.05,-3.03],["c",0.33,-1.26,0.6,-2.31,0.6,-2.34],["c",0,-0,-0.21,0.03,-0.45,0.12],["c",-0.57,0.18,-1.14,0.33,-1.62,0.42],["c",-0.33,0.06,-0.51,0.06,-0.96,0.06],["c",-0.66,-0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.33,-0.45,0.84,-0.81,1.38,-0.9],["z"]],w:11.373,h:28.883},"rests.64th":{d:[["M",5.13,-13.62],["c",0.66,-0.09,1.23,0.09,1.68,0.51],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.15,0.63,0.21,0.81,0.33,0.96],["c",0.18,0.21,0.54,0.3,0.75,0.18],["c",0.24,-0.12,0.63,-0.66,1.08,-1.56],["c",0.33,-0.66,0.39,-0.72,0.6,-0.72],["c",0.12,0,0.27,0.09,0.33,0.18],["c",0.03,0.06,-0.69,3.66,-3.54,17.64],["c",-1.95,9.66,-3.57,17.61,-3.57,17.64],["c",-0.03,0.06,-0.12,0.12,-0.24,0.18],["c",-0.21,0.09,-0.24,0.09,-0.48,0.09],["c",-0.24,0,-0.3,0,-0.48,-0.06],["c",-0.09,-0.06,-0.21,-0.12,-0.21,-0.15],["c",-0.06,-0.03,0.06,-0.57,1.05,-4.95],["c",0.6,-2.7,1.08,-4.89,1.08,-4.92],["c",0,0,-0.24,0.06,-0.51,0.15],["c",-0.66,0.24,-1.2,0.36,-1.77,0.48],["c",-0.42,0.06,-0.57,0.06,-1.05,0.06],["c",-0.69,0,-0.87,-0.03,-1.35,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.72,-1.05,2.22,-1.23,3.06,-0.42],["c",0.3,0.33,0.42,0.6,0.6,1.38],["c",0.09,0.45,0.21,0.78,0.33,0.9],["c",0.09,0.09,0.27,0.18,0.45,0.21],["c",0.21,0.03,0.39,-0.09,0.72,-0.42],["c",0.45,-0.45,1.02,-1.26,1.17,-1.65],["c",0.03,-0.09,0.27,-1.14,0.54,-2.34],["c",0.27,-1.2,0.48,-2.19,0.51,-2.22],["c",0,-0.03,-0.09,-0.03,-0.48,0.12],["c",-1.17,0.39,-2.22,0.57,-3,0.54],["c",-0.42,-0.03,-0.75,-0.12,-1.11,-0.3],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.36,-0.54,0.96,-0.87,1.65,-0.93],["c",0.54,-0.03,1.02,0.15,1.41,0.54],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.09,0.33,0.18,0.66,0.21,0.72],["c",0.15,0.39,0.57,0.57,0.9,0.42],["c",0.36,-0.18,1.2,-1.26,1.47,-1.89],["c",0.03,-0.09,0.3,-1.2,0.57,-2.43],["l",0.51,-2.28],["l",-0.54,0.18],["c",-1.11,0.36,-1.8,0.48,-2.61,0.48],["c",-0.66,0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.36,-0.54,0.96,-0.87,1.65,-0.93],["c",0.54,-0.03,1.02,0.15,1.41,0.54],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.15,0.63,0.21,0.81,0.33,0.96],["c",0.21,0.21,0.54,0.3,0.75,0.18],["c",0.36,-0.18,0.93,-0.93,1.29,-1.68],["c",0.12,-0.24,0.18,-0.48,0.63,-2.55],["l",0.51,-2.31],["c",0,-0.03,-0.18,0.03,-0.39,0.12],["c",-1.14,0.36,-2.1,0.54,-2.82,0.51],["c",-0.42,-0.03,-0.75,-0.12,-1.11,-0.3],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.33,-0.45,0.84,-0.81,1.38,-0.9],["z"]],w:12.453,h:36.383},"rests.128th":{d:[["M",6.03,-21.12],["c",0.66,-0.09,1.23,0.09,1.68,0.51],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.09,0.33,0.18,0.66,0.21,0.72],["c",0.12,0.27,0.33,0.45,0.6,0.48],["c",0.21,0,0.33,-0.06,0.54,-0.36],["c",0.15,-0.21,0.54,-0.93,0.78,-1.47],["c",0.15,-0.33,0.18,-0.39,0.3,-0.48],["c",0.18,-0.09,0.45,0,0.51,0.15],["c",0.03,0.09,-7.11,42.75,-7.17,42.84],["c",-0.03,0.03,-0.15,0.09,-0.24,0.15],["c",-0.18,0.06,-0.24,0.06,-0.45,0.06],["c",-0.24,-0,-0.3,-0,-0.48,-0.06],["c",-0.09,-0.06,-0.21,-0.12,-0.21,-0.15],["c",-0.06,-0.03,0.03,-0.57,0.84,-4.98],["c",0.51,-2.7,0.93,-4.92,0.9,-4.92],["c",0,-0,-0.15,0.06,-0.36,0.12],["c",-0.78,0.27,-1.62,0.48,-2.31,0.57],["c",-0.15,0.03,-0.54,0.03,-0.81,0.03],["c",-0.66,-0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.36,-0.54,0.96,-0.87,1.65,-0.93],["c",0.54,-0.03,1.02,0.15,1.41,0.54],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.09,0.33,0.18,0.66,0.21,0.72],["c",0.12,0.27,0.33,0.45,0.63,0.48],["c",0.12,-0,0.18,-0,0.3,-0.09],["c",0.42,-0.21,1.14,-1.11,1.5,-1.83],["c",0.12,-0.27,0.12,-0.27,0.54,-2.52],["c",0.24,-1.23,0.42,-2.25,0.39,-2.25],["c",0,-0,-0.24,0.06,-0.51,0.18],["c",-1.26,0.39,-2.25,0.57,-3.06,0.54],["c",-0.42,-0.03,-0.75,-0.12,-1.11,-0.3],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.36,-0.54,0.96,-0.87,1.65,-0.93],["c",0.54,-0.03,1.02,0.15,1.41,0.54],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.15,0.63,0.21,0.81,0.33,0.96],["c",0.18,0.21,0.51,0.3,0.75,0.18],["c",0.36,-0.15,1.05,-0.99,1.41,-1.77],["l",0.15,-0.3],["l",0.42,-2.25],["c",0.21,-1.26,0.42,-2.28,0.39,-2.28],["l",-0.51,0.15],["c",-1.11,0.39,-1.89,0.51,-2.7,0.51],["c",-0.66,-0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.36,-0.54,0.96,-0.87,1.65,-0.93],["c",0.54,-0.03,1.02,0.15,1.41,0.54],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.15,0.63,0.21,0.81,0.33,0.96],["c",0.18,0.18,0.48,0.27,0.72,0.21],["c",0.33,-0.12,1.14,-1.26,1.41,-1.95],["c",0,-0.09,0.21,-1.11,0.45,-2.34],["c",0.21,-1.2,0.39,-2.22,0.39,-2.28],["c",0.03,-0.03,0,-0.03,-0.45,0.12],["c",-0.57,0.18,-1.2,0.33,-1.71,0.42],["c",-0.3,0.06,-0.51,0.06,-0.93,0.06],["c",-0.66,-0,-0.84,-0.03,-1.32,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.36,-0.54,0.96,-0.87,1.65,-0.93],["c",0.54,-0.03,1.02,0.15,1.41,0.54],["c",0.27,0.3,0.39,0.54,0.57,1.26],["c",0.09,0.33,0.18,0.66,0.21,0.72],["c",0.12,0.27,0.33,0.45,0.6,0.48],["c",0.18,-0,0.36,-0.09,0.57,-0.33],["c",0.33,-0.36,0.78,-1.14,0.93,-1.56],["c",0.03,-0.12,0.24,-1.2,0.45,-2.4],["c",0.24,-1.2,0.42,-2.22,0.42,-2.28],["c",0.03,-0.03,0,-0.03,-0.39,0.09],["c",-1.05,0.36,-1.8,0.48,-2.58,0.48],["c",-0.63,-0,-0.84,-0.03,-1.29,-0.27],["c",-1.32,-0.63,-1.77,-2.16,-1.02,-3.3],["c",0.33,-0.45,0.84,-0.81,1.38,-0.9],["z"]],w:12.992,h:43.883},"accidentals.sharp":{d:[["M",5.73,-11.19],["c",0.21,-0.12,0.54,-0.03,0.66,0.24],["c",0.06,0.12,0.06,0.21,0.06,2.31],["c",0,1.23,0,2.22,0.03,2.22],["c",0,-0,0.27,-0.12,0.6,-0.24],["c",0.69,-0.27,0.78,-0.3,0.96,-0.15],["c",0.21,0.15,0.21,0.18,0.21,1.38],["c",0,1.02,0,1.11,-0.06,1.2],["c",-0.03,0.06,-0.09,0.12,-0.12,0.15],["c",-0.06,0.03,-0.42,0.21,-0.84,0.36],["l",-0.75,0.33],["l",-0.03,2.43],["c",0,1.32,0,2.43,0.03,2.43],["c",0,-0,0.27,-0.12,0.6,-0.24],["c",0.69,-0.27,0.78,-0.3,0.96,-0.15],["c",0.21,0.15,0.21,0.18,0.21,1.38],["c",0,1.02,0,1.11,-0.06,1.2],["c",-0.03,0.06,-0.09,0.12,-0.12,0.15],["c",-0.06,0.03,-0.42,0.21,-0.84,0.36],["l",-0.75,0.33],["l",-0.03,2.52],["c",0,2.28,-0.03,2.55,-0.06,2.64],["c",-0.21,0.36,-0.72,0.36,-0.93,-0],["c",-0.03,-0.09,-0.06,-0.33,-0.06,-2.43],["l",0,-2.31],["l",-1.29,0.51],["l",-1.26,0.51],["l",0,2.43],["c",0,2.58,0,2.52,-0.15,2.67],["c",-0.06,0.09,-0.27,0.18,-0.36,0.18],["c",-0.12,-0,-0.33,-0.09,-0.39,-0.18],["c",-0.15,-0.15,-0.15,-0.09,-0.15,-2.43],["c",0,-1.23,0,-2.22,-0.03,-2.22],["c",0,-0,-0.27,0.12,-0.6,0.24],["c",-0.69,0.27,-0.78,0.3,-0.96,0.15],["c",-0.21,-0.15,-0.21,-0.18,-0.21,-1.38],["c",0,-1.02,0,-1.11,0.06,-1.2],["c",0.03,-0.06,0.09,-0.12,0.12,-0.15],["c",0.06,-0.03,0.42,-0.21,0.84,-0.36],["l",0.78,-0.33],["l",0,-2.43],["c",0,-1.32,0,-2.43,-0.03,-2.43],["c",0,-0,-0.27,0.12,-0.6,0.24],["c",-0.69,0.27,-0.78,0.3,-0.96,0.15],["c",-0.21,-0.15,-0.21,-0.18,-0.21,-1.38],["c",0,-1.02,0,-1.11,0.06,-1.2],["c",0.03,-0.06,0.09,-0.12,0.12,-0.15],["c",0.06,-0.03,0.42,-0.21,0.84,-0.36],["l",0.78,-0.33],["l",0,-2.52],["c",0,-2.28,0.03,-2.55,0.06,-2.64],["c",0.21,-0.36,0.72,-0.36,0.93,0],["c",0.03,0.09,0.06,0.33,0.06,2.43],["l",0.03,2.31],["l",1.26,-0.51],["l",1.26,-0.51],["l",0,-2.43],["c",0,-2.28,0,-2.43,0.06,-2.55],["c",0.06,-0.12,0.12,-0.18,0.27,-0.24],["z"],["m",-0.33,10.65],["l",0,-2.43],["l",-1.29,0.51],["l",-1.26,0.51],["l",0,2.46],["l",0,2.43],["l",0.09,-0.03],["c",0.06,-0.03,0.63,-0.27,1.29,-0.51],["l",1.17,-0.48],["l",0,-2.46],["z"]],w:8.25,h:22.462},"accidentals.halfsharp":{d:[["M",2.43,-10.05],["c",0.21,-0.12,0.54,-0.03,0.66,0.24],["c",0.06,0.12,0.06,0.21,0.06,2.01],["c",0,1.05,0,1.89,0.03,1.89],["l",0.72,-0.48],["c",0.69,-0.48,0.69,-0.51,0.87,-0.51],["c",0.15,0,0.18,0.03,0.27,0.09],["c",0.21,0.15,0.21,0.18,0.21,1.41],["c",0,1.11,-0.03,1.14,-0.09,1.23],["c",-0.03,0.03,-0.48,0.39,-1.02,0.75],["l",-0.99,0.66],["l",0,2.37],["c",0,1.32,0,2.37,0.03,2.37],["l",0.72,-0.48],["c",0.69,-0.48,0.69,-0.51,0.87,-0.51],["c",0.15,0,0.18,0.03,0.27,0.09],["c",0.21,0.15,0.21,0.18,0.21,1.41],["c",0,1.11,-0.03,1.14,-0.09,1.23],["c",-0.03,0.03,-0.48,0.39,-1.02,0.75],["l",-0.99,0.66],["l",0,2.25],["c",0,1.95,0,2.28,-0.06,2.37],["c",-0.06,0.12,-0.12,0.21,-0.24,0.27],["c",-0.27,0.12,-0.54,0.03,-0.69,-0.24],["c",-0.06,-0.12,-0.06,-0.21,-0.06,-2.01],["c",0,-1.05,0,-1.89,-0.03,-1.89],["l",-0.72,0.48],["c",-0.69,0.48,-0.69,0.48,-0.87,0.48],["c",-0.15,0,-0.18,0,-0.27,-0.06],["c",-0.21,-0.15,-0.21,-0.18,-0.21,-1.41],["c",0,-1.11,0.03,-1.14,0.09,-1.23],["c",0.03,-0.03,0.48,-0.39,1.02,-0.75],["l",0.99,-0.66],["l",0,-2.37],["c",0,-1.32,0,-2.37,-0.03,-2.37],["l",-0.72,0.48],["c",-0.69,0.48,-0.69,0.48,-0.87,0.48],["c",-0.15,0,-0.18,0,-0.27,-0.06],["c",-0.21,-0.15,-0.21,-0.18,-0.21,-1.41],["c",0,-1.11,0.03,-1.14,0.09,-1.23],["c",0.03,-0.03,0.48,-0.39,1.02,-0.75],["l",0.99,-0.66],["l",0,-2.25],["c",0,-2.13,0,-2.28,0.06,-2.4],["c",0.06,-0.12,0.12,-0.18,0.27,-0.24],["z"]],w:5.25,h:20.174},"accidentals.nat":{d:[["M",0.204,-11.4],["c",0.24,-0.06,0.78,0,0.99,0.15],["c",0.03,0.03,0.03,0.48,0,2.61],["c",-0.03,1.44,-0.03,2.61,-0.03,2.61],["c",0,0.03,0.75,-0.09,1.68,-0.24],["c",0.96,-0.18,1.71,-0.27,1.74,-0.27],["c",0.15,0.03,0.27,0.15,0.36,0.3],["l",0.06,0.12],["l",0.09,8.67],["c",0.09,6.96,0.12,8.67,0.09,8.67],["c",-0.03,0.03,-0.12,0.06,-0.21,0.09],["c",-0.24,0.09,-0.72,0.09,-0.96,0],["c",-0.09,-0.03,-0.18,-0.06,-0.21,-0.09],["c",-0.03,-0.03,-0.03,-0.48,0,-2.61],["c",0.03,-1.44,0.03,-2.61,0.03,-2.61],["c",0,-0.03,-0.75,0.09,-1.68,0.24],["c",-0.96,0.18,-1.71,0.27,-1.74,0.27],["c",-0.15,-0.03,-0.27,-0.15,-0.36,-0.3],["l",-0.06,-0.15],["l",-0.09,-7.53],["c",-0.06,-4.14,-0.09,-8.04,-0.12,-8.67],["l",0,-1.11],["l",0.15,-0.06],["c",0.09,-0.03,0.21,-0.06,0.27,-0.09],["z"],["m",3.75,8.4],["c",0,-0.33,0,-0.42,-0.03,-0.42],["c",-0.12,0,-2.79,0.45,-2.79,0.48],["c",-0.03,0,-0.09,6.3,-0.09,6.33],["c",0.03,0,2.79,-0.45,2.82,-0.48],["c",0,0,0.09,-4.53,0.09,-5.91],["z"]],w:5.411,h:22.8},"accidentals.flat":{d:[["M",-0.36,-14.07],["c",0.33,-0.06,0.87,0,1.08,0.15],["c",0.06,0.03,0.06,0.36,-0.03,5.25],["c",-0.06,2.85,-0.09,5.19,-0.09,5.19],["c",0,0.03,0.12,-0.03,0.24,-0.12],["c",0.63,-0.42,1.41,-0.66,2.19,-0.72],["c",0.81,-0.03,1.47,0.21,2.04,0.78],["c",0.57,0.54,0.87,1.26,0.93,2.04],["c",0.03,0.57,-0.09,1.08,-0.36,1.62],["c",-0.42,0.81,-1.02,1.38,-2.82,2.61],["c",-1.14,0.78,-1.44,1.02,-1.8,1.44],["c",-0.18,0.18,-0.39,0.39,-0.45,0.42],["c",-0.27,0.18,-0.57,0.15,-0.81,-0.06],["c",-0.06,-0.09,-0.12,-0.18,-0.15,-0.27],["c",-0.03,-0.06,-0.09,-3.27,-0.18,-8.34],["c",-0.09,-4.53,-0.15,-8.58,-0.18,-9.03],["l",0,-0.78],["l",0.12,-0.06],["c",0.06,-0.03,0.18,-0.09,0.27,-0.12],["z"],["m",3.18,11.01],["c",-0.21,-0.12,-0.54,-0.15,-0.81,-0.06],["c",-0.54,0.15,-0.99,0.63,-1.17,1.26],["c",-0.06,0.3,-0.12,2.88,-0.06,3.87],["c",0.03,0.42,0.03,0.81,0.06,0.9],["l",0.03,0.12],["l",0.45,-0.39],["c",0.63,-0.54,1.26,-1.17,1.56,-1.59],["c",0.3,-0.42,0.6,-0.99,0.72,-1.41],["c",0.18,-0.69,0.09,-1.47,-0.18,-2.07],["c",-0.15,-0.3,-0.33,-0.51,-0.6,-0.63],["z"]],w:6.75,h:18.801},"accidentals.halfflat":{d:[["M",4.83,-14.07],["c",0.33,-0.06,0.87,0,1.08,0.15],["c",0.06,0.03,0.06,0.6,-0.12,9.06],["c",-0.09,5.55,-0.15,9.06,-0.18,9.12],["c",-0.03,0.09,-0.09,0.18,-0.15,0.27],["c",-0.24,0.21,-0.54,0.24,-0.81,0.06],["c",-0.06,-0.03,-0.27,-0.24,-0.45,-0.42],["c",-0.36,-0.42,-0.66,-0.66,-1.8,-1.44],["c",-1.23,-0.84,-1.83,-1.32,-2.25,-1.77],["c",-0.66,-0.78,-0.96,-1.56,-0.93,-2.46],["c",0.09,-1.41,1.11,-2.58,2.4,-2.79],["c",0.3,-0.06,0.84,-0.03,1.23,0.06],["c",0.54,0.12,1.08,0.33,1.53,0.63],["c",0.12,0.09,0.24,0.15,0.24,0.12],["c",0,0,-0.12,-8.37,-0.18,-9.75],["l",0,-0.66],["l",0.12,-0.06],["c",0.06,-0.03,0.18,-0.09,0.27,-0.12],["z"],["m",-1.65,10.95],["c",-0.6,-0.18,-1.08,0.09,-1.38,0.69],["c",-0.27,0.6,-0.36,1.38,-0.18,2.07],["c",0.12,0.42,0.42,0.99,0.72,1.41],["c",0.3,0.42,0.93,1.05,1.56,1.59],["l",0.48,0.39],["l",0,-0.12],["c",0.03,-0.09,0.03,-0.48,0.06,-0.9],["c",0.03,-0.57,0.03,-1.08,0,-2.22],["c",-0.03,-1.62,-0.03,-1.62,-0.24,-2.07],["c",-0.21,-0.42,-0.6,-0.75,-1.02,-0.84],["z"]],w:6.728,h:18.801},"accidentals.dblflat":{d:[["M",-0.36,-14.07],["c",0.33,-0.06,0.87,0,1.08,0.15],["c",0.06,0.03,0.06,0.33,-0.03,4.89],["c",-0.06,2.67,-0.09,5.01,-0.09,5.22],["l",0,0.36],["l",0.15,-0.15],["c",0.36,-0.3,0.75,-0.51,1.2,-0.63],["c",0.33,-0.09,0.96,-0.09,1.26,-0.03],["c",0.27,0.09,0.63,0.27,0.87,0.45],["l",0.21,0.15],["l",0,-0.27],["c",0,-0.15,-0.03,-2.43,-0.09,-5.1],["c",-0.09,-4.56,-0.09,-4.86,-0.03,-4.89],["c",0.15,-0.12,0.39,-0.15,0.72,-0.15],["c",0.3,0,0.54,0.03,0.69,0.15],["c",0.06,0.03,0.06,0.33,-0.03,4.95],["c",-0.06,2.7,-0.09,5.04,-0.09,5.22],["l",0.03,0.3],["l",0.21,-0.15],["c",0.69,-0.48,1.44,-0.69,2.28,-0.69],["c",0.51,0,0.78,0.03,1.2,0.21],["c",1.32,0.63,2.01,2.28,1.53,3.69],["c",-0.21,0.57,-0.51,1.02,-1.05,1.56],["c",-0.42,0.42,-0.81,0.72,-1.92,1.5],["c",-1.26,0.87,-1.5,1.08,-1.86,1.5],["c",-0.39,0.45,-0.54,0.54,-0.81,0.51],["c",-0.18,0,-0.21,0,-0.33,-0.06],["l",-0.21,-0.21],["l",-0.06,-0.12],["l",-0.03,-0.99],["c",-0.03,-0.54,-0.03,-1.29,-0.06,-1.68],["l",0,-0.69],["l",-0.21,0.24],["c",-0.36,0.42,-0.75,0.75,-1.8,1.62],["c",-1.02,0.84,-1.2,0.99,-1.44,1.38],["c",-0.36,0.51,-0.54,0.6,-0.9,0.51],["c",-0.15,-0.03,-0.39,-0.27,-0.42,-0.42],["c",-0.03,-0.06,-0.09,-3.27,-0.18,-8.34],["c",-0.09,-4.53,-0.15,-8.58,-0.18,-9.03],["l",0,-0.78],["l",0.12,-0.06],["c",0.06,-0.03,0.18,-0.09,0.27,-0.12],["z"],["m",2.52,10.98],["c",-0.18,-0.09,-0.48,-0.12,-0.66,-0.06],["c",-0.39,0.15,-0.69,0.54,-0.84,1.14],["c",-0.06,0.24,-0.06,0.39,-0.09,1.74],["c",-0.03,1.44,0,2.73,0.06,3.18],["l",0.03,0.15],["l",0.27,-0.27],["c",0.93,-0.96,1.5,-1.95,1.74,-3.06],["c",0.06,-0.27,0.06,-0.39,0.06,-0.96],["c",0,-0.54,0,-0.69,-0.06,-0.93],["c",-0.09,-0.51,-0.27,-0.81,-0.51,-0.93],["z"],["m",5.43,0],["c",-0.18,-0.09,-0.51,-0.12,-0.72,-0.06],["c",-0.54,0.12,-0.96,0.63,-1.17,1.26],["c",-0.06,0.3,-0.12,2.88,-0.06,3.9],["c",0.03,0.42,0.03,0.81,0.06,0.9],["l",0.03,0.12],["l",0.36,-0.3],["c",0.42,-0.36,1.02,-0.96,1.29,-1.29],["c",0.36,-0.45,0.66,-0.99,0.81,-1.41],["c",0.42,-1.23,0.15,-2.76,-0.6,-3.12],["z"]],w:11.613,h:18.804},"accidentals.dblsharp":{d:[["M",-0.186,-3.96],["c",0.06,-0.03,0.12,-0.06,0.15,-0.06],["c",0.09,0,2.76,0.27,2.79,0.3],["c",0.12,0.03,0.15,0.12,0.15,0.51],["c",0.06,0.96,0.24,1.59,0.57,2.1],["c",0.06,0.09,0.15,0.21,0.18,0.24],["l",0.09,0.06],["l",0.09,-0.06],["c",0.03,-0.03,0.12,-0.15,0.18,-0.24],["c",0.33,-0.51,0.51,-1.14,0.57,-2.1],["c",0,-0.39,0.03,-0.45,0.12,-0.51],["c",0.03,0,0.66,-0.09,1.44,-0.15],["c",1.47,-0.15,1.5,-0.15,1.56,-0.03],["c",0.03,0.06,0,0.42,-0.09,1.44],["c",-0.09,0.72,-0.15,1.35,-0.15,1.38],["c",0,0.03,-0.03,0.09,-0.06,0.12],["c",-0.06,0.06,-0.12,0.09,-0.51,0.09],["c",-1.08,0.06,-1.8,0.3,-2.28,0.75],["l",-0.12,0.09],["l",0.09,0.09],["c",0.12,0.15,0.39,0.33,0.63,0.45],["c",0.42,0.18,0.96,0.27,1.68,0.33],["c",0.39,-0,0.45,0.03,0.51,0.09],["c",0.03,0.03,0.06,0.09,0.06,0.12],["c",0,0.03,0.06,0.66,0.15,1.38],["c",0.09,1.02,0.12,1.38,0.09,1.44],["c",-0.06,0.12,-0.09,0.12,-1.56,-0.03],["c",-0.78,-0.06,-1.41,-0.15,-1.44,-0.15],["c",-0.09,-0.06,-0.12,-0.12,-0.12,-0.54],["c",-0.06,-0.93,-0.24,-1.56,-0.57,-2.07],["c",-0.06,-0.09,-0.15,-0.21,-0.18,-0.24],["l",-0.09,-0.06],["l",-0.09,0.06],["c",-0.03,0.03,-0.12,0.15,-0.18,0.24],["c",-0.33,0.51,-0.51,1.14,-0.57,2.07],["c",0,0.42,-0.03,0.48,-0.12,0.54],["c",-0.03,0,-0.66,0.09,-1.44,0.15],["c",-1.47,0.15,-1.5,0.15,-1.56,0.03],["c",-0.03,-0.06,0,-0.42,0.09,-1.44],["c",0.09,-0.72,0.15,-1.35,0.15,-1.38],["c",0,-0.03,0.03,-0.09,0.06,-0.12],["c",0.06,-0.06,0.12,-0.09,0.51,-0.09],["c",0.72,-0.06,1.26,-0.15,1.68,-0.33],["c",0.24,-0.12,0.51,-0.3,0.63,-0.45],["l",0.09,-0.09],["l",-0.12,-0.09],["c",-0.48,-0.45,-1.2,-0.69,-2.28,-0.75],["c",-0.39,0,-0.45,-0.03,-0.51,-0.09],["c",-0.03,-0.03,-0.06,-0.09,-0.06,-0.12],["c",0,-0.03,-0.06,-0.63,-0.12,-1.38],["c",-0.09,-0.72,-0.15,-1.35,-0.15,-1.38],["z"]],w:7.961,h:7.977},"dots.dot":{d:[["M",1.32,-1.68],["c",0.09,-0.03,0.27,-0.06,0.39,-0.06],["c",0.96,0,1.74,0.78,1.74,1.71],["c",0,0.96,-0.78,1.74,-1.71,1.74],["c",-0.96,0,-1.74,-0.78,-1.74,-1.71],["c",0,-0.78,0.54,-1.5,1.32,-1.68],["z"]],w:3.45,h:3.45},"noteheads.dbl":{d:[["M",-0.69,-4.02],["c",0.18,-0.09,0.36,-0.09,0.54,0],["c",0.18,0.09,0.24,0.15,0.33,0.3],["c",0.06,0.15,0.06,0.18,0.06,1.41],["l",-0,1.23],["l",0.12,-0.18],["c",0.72,-1.26,2.64,-2.31,4.86,-2.64],["c",0.81,-0.15,1.11,-0.15,2.13,-0.15],["c",0.99,0,1.29,0,2.1,0.15],["c",0.75,0.12,1.38,0.27,2.04,0.54],["c",1.35,0.51,2.34,1.26,2.82,2.1],["l",0.12,0.18],["l",0,-1.23],["c",0,-1.2,0,-1.26,0.06,-1.38],["c",0.09,-0.18,0.15,-0.24,0.33,-0.33],["c",0.18,-0.09,0.36,-0.09,0.54,0],["c",0.18,0.09,0.24,0.15,0.33,0.3],["l",0.06,0.15],["l",0,3.54],["l",0,3.54],["l",-0.06,0.15],["c",-0.09,0.18,-0.15,0.24,-0.33,0.33],["c",-0.18,0.09,-0.36,0.09,-0.54,0],["c",-0.18,-0.09,-0.24,-0.15,-0.33,-0.33],["c",-0.06,-0.12,-0.06,-0.18,-0.06,-1.38],["l",0,-1.23],["l",-0.12,0.18],["c",-0.48,0.84,-1.47,1.59,-2.82,2.1],["c",-0.84,0.33,-1.71,0.54,-2.85,0.66],["c",-0.45,0.06,-2.16,0.06,-2.61,0],["c",-1.14,-0.12,-2.01,-0.33,-2.85,-0.66],["c",-1.35,-0.51,-2.34,-1.26,-2.82,-2.1],["l",-0.12,-0.18],["l",0,1.23],["c",0,1.23,0,1.26,-0.06,1.38],["c",-0.09,0.18,-0.15,0.24,-0.33,0.33],["c",-0.18,0.09,-0.36,0.09,-0.54,0],["c",-0.18,-0.09,-0.24,-0.15,-0.33,-0.33],["l",-0.06,-0.15],["l",0,-3.54],["c",0,-3.48,0,-3.54,0.06,-3.66],["c",0.09,-0.18,0.15,-0.24,0.33,-0.33],["z"],["m",7.71,0.63],["c",-0.36,-0.06,-0.9,-0.06,-1.14,0],["c",-0.3,0.03,-0.66,0.24,-0.87,0.42],["c",-0.6,0.54,-0.9,1.62,-0.75,2.82],["c",0.12,0.93,0.51,1.68,1.11,2.31],["c",0.75,0.72,1.83,1.2,2.85,1.26],["c",1.05,0.06,1.83,-0.54,2.1,-1.65],["c",0.21,-0.9,0.12,-1.95,-0.24,-2.82],["c",-0.36,-0.81,-1.08,-1.53,-1.95,-1.95],["c",-0.3,-0.15,-0.78,-0.3,-1.11,-0.39],["z"]],w:16.83,h:8.145},"noteheads.whole":{d:[["M",6.51,-4.05],["c",0.51,-0.03,2.01,0,2.52,0.03],["c",1.41,0.18,2.64,0.51,3.72,1.08],["c",1.2,0.63,1.95,1.41,2.19,2.31],["c",0.09,0.33,0.09,0.9,-0,1.23],["c",-0.24,0.9,-0.99,1.68,-2.19,2.31],["c",-1.08,0.57,-2.28,0.9,-3.75,1.08],["c",-0.66,0.06,-2.31,0.06,-2.97,0],["c",-1.47,-0.18,-2.67,-0.51,-3.75,-1.08],["c",-1.2,-0.63,-1.95,-1.41,-2.19,-2.31],["c",-0.09,-0.33,-0.09,-0.9,-0,-1.23],["c",0.24,-0.9,0.99,-1.68,2.19,-2.31],["c",1.2,-0.63,2.61,-0.99,4.23,-1.11],["z"],["m",0.57,0.66],["c",-0.87,-0.15,-1.53,0,-2.04,0.51],["c",-0.15,0.15,-0.24,0.27,-0.33,0.48],["c",-0.24,0.51,-0.36,1.08,-0.33,1.77],["c",0.03,0.69,0.18,1.26,0.42,1.77],["c",0.6,1.17,1.74,1.98,3.18,2.22],["c",1.11,0.21,1.95,-0.15,2.34,-0.99],["c",0.24,-0.51,0.36,-1.08,0.33,-1.8],["c",-0.06,-1.11,-0.45,-2.04,-1.17,-2.76],["c",-0.63,-0.63,-1.47,-1.05,-2.4,-1.2],["z"]],w:14.985,h:8.097},"noteheads.half":{d:[["M",7.44,-4.05],["c",0.06,-0.03,0.27,-0.03,0.48,-0.03],["c",1.05,0,1.71,0.24,2.1,0.81],["c",0.42,0.6,0.45,1.35,0.18,2.4],["c",-0.42,1.59,-1.14,2.73,-2.16,3.39],["c",-1.41,0.93,-3.18,1.44,-5.4,1.53],["c",-1.17,0.03,-1.89,-0.21,-2.28,-0.81],["c",-0.42,-0.6,-0.45,-1.35,-0.18,-2.4],["c",0.42,-1.59,1.14,-2.73,2.16,-3.39],["c",0.63,-0.42,1.23,-0.72,1.98,-0.96],["c",0.9,-0.3,1.65,-0.42,3.12,-0.54],["z"],["m",1.29,0.87],["c",-0.27,-0.09,-0.63,-0.12,-0.9,-0.03],["c",-0.72,0.24,-1.53,0.69,-3.27,1.8],["c",-2.34,1.5,-3.3,2.25,-3.57,2.79],["c",-0.36,0.72,-0.06,1.5,0.66,1.77],["c",0.24,0.12,0.69,0.09,0.99,0],["c",0.84,-0.3,1.92,-0.93,4.14,-2.37],["c",1.62,-1.08,2.37,-1.71,2.61,-2.19],["c",0.36,-0.72,0.06,-1.5,-0.66,-1.77],["z"]],w:10.37,h:8.132},"noteheads.quarter":{d:[["M",6.09,-4.05],["c",0.36,-0.03,1.2,0,1.53,0.06],["c",1.17,0.24,1.89,0.84,2.16,1.83],["c",0.06,0.18,0.06,0.3,0.06,0.66],["c",0,0.45,0,0.63,-0.15,1.08],["c",-0.66,2.04,-3.06,3.93,-5.52,4.38],["c",-0.54,0.09,-1.44,0.09,-1.83,0.03],["c",-1.23,-0.27,-1.98,-0.87,-2.25,-1.86],["c",-0.06,-0.18,-0.06,-0.3,-0.06,-0.66],["c",0,-0.45,0,-0.63,0.15,-1.08],["c",0.24,-0.78,0.75,-1.53,1.44,-2.22],["c",1.2,-1.2,2.85,-2.01,4.47,-2.22],["z"]],w:9.81,h:8.094},"scripts.ufermata":{d:[["M",-0.75,-10.77],["c",0.12,0,0.45,-0.03,0.69,-0.03],["c",2.91,-0.03,5.55,1.53,7.41,4.35],["c",1.17,1.71,1.95,3.72,2.43,6.03],["c",0.12,0.51,0.12,0.57,0.03,0.69],["c",-0.12,0.21,-0.48,0.27,-0.69,0.12],["c",-0.12,-0.09,-0.18,-0.24,-0.27,-0.69],["c",-0.78,-3.63,-3.42,-6.54,-6.78,-7.38],["c",-0.78,-0.21,-1.2,-0.24,-2.07,-0.24],["c",-0.63,-0,-0.84,-0,-1.2,0.06],["c",-1.83,0.27,-3.42,1.08,-4.8,2.37],["c",-1.41,1.35,-2.4,3.21,-2.85,5.19],["c",-0.09,0.45,-0.15,0.6,-0.27,0.69],["c",-0.21,0.15,-0.57,0.09,-0.69,-0.12],["c",-0.09,-0.12,-0.09,-0.18,0.03,-0.69],["c",0.33,-1.62,0.78,-3,1.47,-4.38],["c",1.77,-3.54,4.44,-5.67,7.56,-5.97],["z"],["m",0.33,7.47],["c",1.38,-0.3,2.58,0.9,2.31,2.25],["c",-0.15,0.72,-0.78,1.35,-1.47,1.5],["c",-1.38,0.27,-2.58,-0.93,-2.31,-2.31],["c",0.15,-0.69,0.78,-1.29,1.47,-1.44],["z"]],w:19.748,h:11.289},"scripts.dfermata":{d:[["M",-9.63,-0.42],["c",0.15,-0.09,0.36,-0.06,0.51,0.03],["c",0.12,0.09,0.18,0.24,0.27,0.66],["c",0.78,3.66,3.42,6.57,6.78,7.41],["c",0.78,0.21,1.2,0.24,2.07,0.24],["c",0.63,-0,0.84,-0,1.2,-0.06],["c",1.83,-0.27,3.42,-1.08,4.8,-2.37],["c",1.41,-1.35,2.4,-3.21,2.85,-5.22],["c",0.09,-0.42,0.15,-0.57,0.27,-0.66],["c",0.21,-0.15,0.57,-0.09,0.69,0.12],["c",0.09,0.12,0.09,0.18,-0.03,0.69],["c",-0.33,1.62,-0.78,3,-1.47,4.38],["c",-1.92,3.84,-4.89,6,-8.31,6],["c",-3.42,0,-6.39,-2.16,-8.31,-6],["c",-0.48,-0.96,-0.84,-1.92,-1.14,-2.97],["c",-0.18,-0.69,-0.42,-1.74,-0.42,-1.92],["c",0,-0.12,0.09,-0.27,0.24,-0.33],["z"],["m",9.21,0],["c",1.2,-0.27,2.34,0.63,2.34,1.86],["c",-0,0.9,-0.66,1.68,-1.5,1.89],["c",-1.38,0.27,-2.58,-0.93,-2.31,-2.31],["c",0.15,-0.69,0.78,-1.29,1.47,-1.44],["z"]],w:19.744,h:11.274},"scripts.sforzato":{d:[["M",-6.45,-3.69],["c",0.06,-0.03,0.15,-0.06,0.18,-0.06],["c",0.06,0,2.85,0.72,6.24,1.59],["l",6.33,1.65],["c",0.33,0.06,0.45,0.21,0.45,0.51],["c",0,0.3,-0.12,0.45,-0.45,0.51],["l",-6.33,1.65],["c",-3.39,0.87,-6.18,1.59,-6.21,1.59],["c",-0.21,-0,-0.48,-0.24,-0.51,-0.45],["c",0,-0.15,0.06,-0.36,0.18,-0.45],["c",0.09,-0.06,0.87,-0.27,3.84,-1.05],["c",2.04,-0.54,3.84,-0.99,4.02,-1.02],["c",0.15,-0.06,1.14,-0.24,2.22,-0.42],["c",1.05,-0.18,1.92,-0.36,1.92,-0.36],["c",0,-0,-0.87,-0.18,-1.92,-0.36],["c",-1.08,-0.18,-2.07,-0.36,-2.22,-0.42],["c",-0.18,-0.03,-1.98,-0.48,-4.02,-1.02],["c",-2.97,-0.78,-3.75,-0.99,-3.84,-1.05],["c",-0.12,-0.09,-0.18,-0.3,-0.18,-0.45],["c",0.03,-0.15,0.15,-0.3,0.3,-0.39],["z"]],w:13.5,h:7.5},"scripts.staccato":{d:[["M",-0.36,-1.47],["c",0.93,-0.21,1.86,0.51,1.86,1.47],["c",-0,0.93,-0.87,1.65,-1.8,1.47],["c",-0.54,-0.12,-1.02,-0.57,-1.14,-1.08],["c",-0.21,-0.81,0.27,-1.65,1.08,-1.86],["z"]],w:2.989,h:3.004},"scripts.tenuto":{d:[["M",-4.2,-0.48],["l",0.12,-0.06],["l",4.08,0],["l",4.08,0],["l",0.12,0.06],["c",0.39,0.21,0.39,0.75,0,0.96],["l",-0.12,0.06],["l",-4.08,0],["l",-4.08,0],["l",-0.12,-0.06],["c",-0.39,-0.21,-0.39,-0.75,0,-0.96],["z"]],w:8.985,h:1.08},"scripts.umarcato":{d:[["M",-0.15,-8.19],["c",0.15,-0.12,0.36,-0.03,0.45,0.15],["c",0.21,0.42,3.45,7.65,3.45,7.71],["c",-0,0.12,-0.12,0.27,-0.21,0.3],["c",-0.03,0.03,-0.51,0.03,-1.14,0.03],["c",-1.05,0,-1.08,0,-1.17,-0.06],["c",-0.09,-0.06,-0.24,-0.36,-1.17,-2.4],["c",-0.57,-1.29,-1.05,-2.34,-1.08,-2.34],["c",-0,-0.03,-0.51,1.02,-1.08,2.34],["c",-0.93,2.07,-1.08,2.34,-1.14,2.4],["c",-0.06,0.03,-0.15,0.06,-0.18,0.06],["c",-0.15,0,-0.33,-0.18,-0.33,-0.33],["c",-0,-0.06,3.24,-7.32,3.45,-7.71],["c",0.03,-0.06,0.09,-0.15,0.15,-0.15],["z"]],w:7.5,h:8.245},"scripts.dmarcato":{d:[["M",-3.57,0.03],["c",0.03,0,0.57,-0.03,1.17,-0.03],["c",1.05,0,1.08,0,1.17,0.06],["c",0.09,0.06,0.24,0.36,1.17,2.4],["c",0.57,1.29,1.05,2.34,1.08,2.34],["c",0,0.03,0.51,-1.02,1.08,-2.34],["c",0.93,-2.07,1.08,-2.34,1.14,-2.4],["c",0.06,-0.03,0.15,-0.06,0.18,-0.06],["c",0.15,0,0.33,0.18,0.33,0.33],["c",0,0.09,-3.45,7.74,-3.54,7.83],["c",-0.12,0.12,-0.3,0.12,-0.42,0],["c",-0.09,-0.09,-3.54,-7.74,-3.54,-7.83],["c",0,-0.09,0.12,-0.27,0.18,-0.3],["z"]],w:7.5,h:8.25},"scripts.stopped":{d:[["M",-0.27,-4.08],["c",0.18,-0.09,0.36,-0.09,0.54,0],["c",0.18,0.09,0.24,0.15,0.33,0.3],["l",0.06,0.15],["l",-0,1.5],["l",-0,1.47],["l",1.47,0],["l",1.5,0],["l",0.15,0.06],["c",0.15,0.09,0.21,0.15,0.3,0.33],["c",0.09,0.18,0.09,0.36,-0,0.54],["c",-0.09,0.18,-0.15,0.24,-0.33,0.33],["c",-0.12,0.06,-0.18,0.06,-1.62,0.06],["l",-1.47,0],["l",-0,1.47],["l",-0,1.47],["l",-0.06,0.15],["c",-0.09,0.18,-0.15,0.24,-0.33,0.33],["c",-0.18,0.09,-0.36,0.09,-0.54,0],["c",-0.18,-0.09,-0.24,-0.15,-0.33,-0.33],["l",-0.06,-0.15],["l",-0,-1.47],["l",-0,-1.47],["l",-1.47,0],["c",-1.44,0,-1.5,0,-1.62,-0.06],["c",-0.18,-0.09,-0.24,-0.15,-0.33,-0.33],["c",-0.09,-0.18,-0.09,-0.36,-0,-0.54],["c",0.09,-0.18,0.15,-0.24,0.33,-0.33],["l",0.15,-0.06],["l",1.47,0],["l",1.47,0],["l",-0,-1.47],["c",-0,-1.44,-0,-1.5,0.06,-1.62],["c",0.09,-0.18,0.15,-0.24,0.33,-0.33],["z"]],w:8.295,h:8.295},"scripts.upbow":{d:[["M",-4.65,-15.54],["c",0.12,-0.09,0.36,-0.06,0.48,0.03],["c",0.03,0.03,0.09,0.09,0.12,0.15],["c",0.03,0.06,0.66,2.13,1.41,4.62],["c",1.35,4.41,1.38,4.56,2.01,6.96],["l",0.63,2.46],["l",0.63,-2.46],["c",0.63,-2.4,0.66,-2.55,2.01,-6.96],["c",0.75,-2.49,1.38,-4.56,1.41,-4.62],["c",0.06,-0.15,0.18,-0.21,0.36,-0.24],["c",0.15,0,0.3,0.06,0.39,0.18],["c",0.15,0.21,0.24,-0.18,-2.1,7.56],["c",-1.2,3.96,-2.22,7.32,-2.25,7.41],["c",0,0.12,-0.06,0.27,-0.09,0.3],["c",-0.12,0.21,-0.6,0.21,-0.72,0],["c",-0.03,-0.03,-0.09,-0.18,-0.09,-0.3],["c",-0.03,-0.09,-1.05,-3.45,-2.25,-7.41],["c",-2.34,-7.74,-2.25,-7.35,-2.1,-7.56],["c",0.03,-0.03,0.09,-0.09,0.15,-0.12],["z"]],w:9.73,h:15.608},"scripts.downbow":{d:[["M",-5.55,-9.93],["l",0.09,-0.06],["l",5.46,0],["l",5.46,0],["l",0.09,0.06],["l",0.06,0.09],["l",0,4.77],["c",0,5.28,0,4.89,-0.18,5.01],["c",-0.18,0.12,-0.42,0.06,-0.54,-0.12],["c",-0.06,-0.09,-0.06,-0.18,-0.06,-2.97],["l",0,-2.85],["l",-4.83,0],["l",-4.83,0],["l",0,2.85],["c",0,2.79,0,2.88,-0.06,2.97],["c",-0.15,0.24,-0.51,0.24,-0.66,0],["c",-0.06,-0.09,-0.06,-0.21,-0.06,-4.89],["l",0,-4.77],["z"]],w:11.22,h:9.992},"scripts.turn":{d:[["M",-4.77,-3.9],["c",0.36,-0.06,1.05,-0.06,1.44,0.03],["c",0.78,0.15,1.5,0.51,2.34,1.14],["c",0.6,0.45,1.05,0.87,2.22,2.01],["c",1.11,1.08,1.62,1.5,2.22,1.86],["c",0.6,0.36,1.32,0.57,1.92,0.57],["c",0.9,-0,1.71,-0.57,1.89,-1.35],["c",0.24,-0.93,-0.39,-1.89,-1.35,-2.1],["l",-0.15,-0.06],["l",-0.09,0.15],["c",-0.03,0.09,-0.15,0.24,-0.24,0.33],["c",-0.72,0.72,-2.04,0.54,-2.49,-0.36],["c",-0.48,-0.93,0.03,-1.86,1.17,-2.19],["c",0.3,-0.09,1.02,-0.09,1.35,-0],["c",0.99,0.27,1.74,0.87,2.25,1.83],["c",0.69,1.41,0.63,3,-0.21,4.26],["c",-0.21,0.3,-0.69,0.81,-0.99,1.02],["c",-0.3,0.21,-0.84,0.45,-1.17,0.54],["c",-1.23,0.36,-2.49,0.15,-3.72,-0.6],["c",-0.75,-0.48,-1.41,-1.02,-2.85,-2.46],["c",-1.11,-1.08,-1.62,-1.5,-2.22,-1.86],["c",-0.6,-0.36,-1.32,-0.57,-1.92,-0.57],["c",-0.9,0,-1.71,0.57,-1.89,1.35],["c",-0.24,0.93,0.39,1.89,1.35,2.1],["l",0.15,0.06],["l",0.09,-0.15],["c",0.03,-0.09,0.15,-0.24,0.24,-0.33],["c",0.72,-0.72,2.04,-0.54,2.49,0.36],["c",0.48,0.93,-0.03,1.86,-1.17,2.19],["c",-0.3,0.09,-1.02,0.09,-1.35,0],["c",-0.99,-0.27,-1.74,-0.87,-2.25,-1.83],["c",-0.69,-1.41,-0.63,-3,0.21,-4.26],["c",0.21,-0.3,0.69,-0.81,0.99,-1.02],["c",0.48,-0.33,1.11,-0.57,1.74,-0.66],["z"]],w:16.366,h:7.893},"scripts.trill":{d:[["M",-0.51,-16.02],["c",0.12,-0.09,0.21,-0.18,0.21,-0.18],["l",-0.81,4.02],["l",-0.81,4.02],["c",0.03,0,0.51,-0.27,1.08,-0.6],["c",0.6,-0.3,1.14,-0.63,1.26,-0.66],["c",1.14,-0.54,2.31,-0.6,3.09,-0.18],["c",0.27,0.15,0.54,0.36,0.6,0.51],["l",0.06,0.12],["l",0.21,-0.21],["c",0.9,-0.81,2.22,-0.99,3.12,-0.42],["c",0.6,0.42,0.9,1.14,0.78,2.07],["c",-0.15,1.29,-1.05,2.31,-1.95,2.25],["c",-0.48,-0.03,-0.78,-0.3,-0.96,-0.81],["c",-0.09,-0.27,-0.09,-0.9,-0.03,-1.2],["c",0.21,-0.75,0.81,-1.23,1.59,-1.32],["l",0.24,-0.03],["l",-0.09,-0.12],["c",-0.51,-0.66,-1.62,-0.63,-2.31,0.03],["c",-0.39,0.42,-0.3,0.09,-1.23,4.77],["l",-0.81,4.14],["c",-0.03,0,-0.12,-0.03,-0.21,-0.09],["c",-0.33,-0.15,-0.54,-0.18,-0.99,-0.18],["c",-0.42,0,-0.66,0.03,-1.05,0.18],["c",-0.12,0.06,-0.21,0.09,-0.21,0.09],["c",0,-0.03,0.36,-1.86,0.81,-4.11],["c",0.9,-4.47,0.87,-4.26,0.69,-4.53],["c",-0.21,-0.36,-0.66,-0.51,-1.17,-0.36],["c",-0.15,0.06,-2.22,1.14,-2.58,1.38],["c",-0.12,0.09,-0.12,0.09,-0.21,0.6],["l",-0.09,0.51],["l",0.21,0.24],["c",0.63,0.75,1.02,1.47,1.2,2.19],["c",0.06,0.27,0.06,0.36,0.06,0.81],["c",0,0.42,0,0.54,-0.06,0.78],["c",-0.15,0.54,-0.33,0.93,-0.63,1.35],["c",-0.18,0.24,-0.57,0.63,-0.81,0.78],["c",-0.24,0.15,-0.63,0.36,-0.84,0.42],["c",-0.27,0.06,-0.66,0.06,-0.87,0.03],["c",-0.81,-0.18,-1.32,-1.05,-1.38,-2.46],["c",-0.03,-0.6,0.03,-0.99,0.33,-2.46],["c",0.21,-1.08,0.24,-1.32,0.21,-1.29],["c",-1.2,0.48,-2.4,0.75,-3.21,0.72],["c",-0.69,-0.06,-1.17,-0.3,-1.41,-0.72],["c",-0.39,-0.75,-0.12,-1.8,0.66,-2.46],["c",0.24,-0.18,0.69,-0.42,1.02,-0.51],["c",0.69,-0.18,1.53,-0.15,2.31,0.09],["c",0.3,0.09,0.75,0.3,0.99,0.45],["c",0.12,0.09,0.15,0.09,0.15,0.03],["c",0.03,-0.03,0.33,-1.59,0.72,-3.45],["c",0.36,-1.86,0.66,-3.42,0.69,-3.45],["c",0,-0.03,0.03,-0.03,0.21,0.03],["c",0.21,0.06,0.27,0.06,0.48,0.06],["c",0.42,-0.03,0.78,-0.18,1.26,-0.48],["c",0.15,-0.12,0.36,-0.27,0.48,-0.39],["z"],["m",-5.73,7.68],["c",-0.27,-0.03,-0.96,-0.06,-1.2,-0.03],["c",-0.81,0.12,-1.35,0.57,-1.5,1.2],["c",-0.18,0.66,0.12,1.14,0.75,1.29],["c",0.66,0.12,1.92,-0.12,3.18,-0.66],["l",0.33,-0.15],["l",0.09,-0.39],["c",0.06,-0.21,0.09,-0.42,0.09,-0.45],["c",0,-0.03,-0.45,-0.3,-0.75,-0.45],["c",-0.27,-0.15,-0.66,-0.27,-0.99,-0.36],["z"],["m",4.29,3.63],["c",-0.24,-0.39,-0.51,-0.75,-0.51,-0.69],["c",-0.06,0.12,-0.39,1.92,-0.45,2.28],["c",-0.09,0.54,-0.12,1.14,-0.06,1.38],["c",0.06,0.42,0.21,0.6,0.51,0.57],["c",0.39,-0.06,0.75,-0.48,0.93,-1.14],["c",0.09,-0.33,0.09,-1.05,-0,-1.38],["c",-0.09,-0.39,-0.24,-0.69,-0.42,-1.02],["z"]],w:17.963,h:16.49},"scripts.segno":{d:[["M",-3.72,-11.22],["c",0.78,-0.09,1.59,0.03,2.31,0.42],["c",1.2,0.6,2.01,1.71,2.31,3.09],["c",0.09,0.42,0.09,1.2,0.03,1.5],["c",-0.15,0.45,-0.39,0.81,-0.66,0.93],["c",-0.33,0.18,-0.84,0.21,-1.23,0.15],["c",-0.81,-0.18,-1.32,-0.93,-1.26,-1.89],["c",0.03,-0.36,0.09,-0.57,0.24,-0.9],["c",0.15,-0.33,0.45,-0.6,0.72,-0.75],["c",0.12,-0.06,0.18,-0.09,0.18,-0.12],["c",0,-0.03,-0.03,-0.15,-0.09,-0.24],["c",-0.18,-0.45,-0.54,-0.87,-0.96,-1.08],["c",-1.11,-0.57,-2.34,-0.18,-2.88,0.9],["c",-0.24,0.51,-0.33,1.11,-0.24,1.83],["c",0.27,1.92,1.5,3.54,3.93,5.13],["c",0.48,0.33,1.26,0.78,1.29,0.78],["c",0.03,0,1.35,-2.19,2.94,-4.89],["l",2.88,-4.89],["l",0.84,0],["l",0.87,0],["l",-0.03,0.06],["c",-0.15,0.21,-6.15,10.41,-6.15,10.44],["c",0,0,0.21,0.15,0.48,0.27],["c",2.61,1.47,4.35,3.03,5.13,4.65],["c",1.14,2.34,0.51,5.07,-1.44,6.39],["c",-0.66,0.42,-1.32,0.63,-2.13,0.69],["c",-2.01,0.09,-3.81,-1.41,-4.26,-3.54],["c",-0.09,-0.42,-0.09,-1.2,-0.03,-1.5],["c",0.15,-0.45,0.39,-0.81,0.66,-0.93],["c",0.33,-0.18,0.84,-0.21,1.23,-0.15],["c",0.81,0.18,1.32,0.93,1.26,1.89],["c",-0.03,0.36,-0.09,0.57,-0.24,0.9],["c",-0.15,0.33,-0.45,0.6,-0.72,0.75],["c",-0.12,0.06,-0.18,0.09,-0.18,0.12],["c",0,0.03,0.03,0.15,0.09,0.24],["c",0.18,0.45,0.54,0.87,0.96,1.08],["c",1.11,0.57,2.34,0.18,2.88,-0.9],["c",0.24,-0.51,0.33,-1.11,0.24,-1.83],["c",-0.27,-1.92,-1.5,-3.54,-3.93,-5.13],["c",-0.48,-0.33,-1.26,-0.78,-1.29,-0.78],["c",-0.03,0,-1.35,2.19,-2.91,4.89],["l",-2.88,4.89],["l",-0.87,0],["l",-0.87,0],["l",0.03,-0.06],["c",0.15,-0.21,6.15,-10.41,6.15,-10.44],["c",0,0,-0.21,-0.15,-0.48,-0.3],["c",-2.61,-1.44,-4.35,-3,-5.13,-4.62],["c",-0.9,-1.89,-0.72,-4.02,0.48,-5.52],["c",0.69,-0.84,1.68,-1.41,2.73,-1.53],["z"],["m",8.76,9.09],["c",0.03,-0.03,0.15,-0.03,0.27,-0.03],["c",0.33,0.03,0.57,0.18,0.72,0.48],["c",0.09,0.18,0.09,0.57,0,0.75],["c",-0.09,0.18,-0.21,0.3,-0.36,0.39],["c",-0.15,0.06,-0.21,0.06,-0.39,0.06],["c",-0.21,0,-0.27,0,-0.39,-0.06],["c",-0.3,-0.15,-0.48,-0.45,-0.48,-0.75],["c",0,-0.39,0.24,-0.72,0.63,-0.84],["z"],["m",-10.53,2.61],["c",0.03,-0.03,0.15,-0.03,0.27,-0.03],["c",0.33,0.03,0.57,0.18,0.72,0.48],["c",0.09,0.18,0.09,0.57,0,0.75],["c",-0.09,0.18,-0.21,0.3,-0.36,0.39],["c",-0.15,0.06,-0.21,0.06,-0.39,0.06],["c",-0.21,0,-0.27,0,-0.39,-0.06],["c",-0.3,-0.15,-0.48,-0.45,-0.48,-0.75],["c",0,-0.39,0.24,-0.72,0.63,-0.84],["z"]],w:15,h:22.504},"scripts.coda":{d:[["M",-0.21,-10.47],["c",0.18,-0.12,0.42,-0.06,0.54,0.12],["c",0.06,0.09,0.06,0.18,0.06,1.5],["l",0,1.38],["l",0.18,0],["c",0.39,0.06,0.96,0.24,1.38,0.48],["c",1.68,0.93,2.82,3.24,3.03,6.12],["c",0.03,0.24,0.03,0.45,0.03,0.45],["c",0,0.03,0.6,0.03,1.35,0.03],["c",1.5,0,1.47,0,1.59,0.18],["c",0.09,0.12,0.09,0.3,-0,0.42],["c",-0.12,0.18,-0.09,0.18,-1.59,0.18],["c",-0.75,0,-1.35,0,-1.35,0.03],["c",-0,0,-0,0.21,-0.03,0.42],["c",-0.24,3.15,-1.53,5.58,-3.45,6.36],["c",-0.27,0.12,-0.72,0.24,-0.96,0.27],["l",-0.18,-0],["l",-0,1.38],["c",-0,1.32,-0,1.41,-0.06,1.5],["c",-0.15,0.24,-0.51,0.24,-0.66,-0],["c",-0.06,-0.09,-0.06,-0.18,-0.06,-1.5],["l",-0,-1.38],["l",-0.18,-0],["c",-0.39,-0.06,-0.96,-0.24,-1.38,-0.48],["c",-1.68,-0.93,-2.82,-3.24,-3.03,-6.15],["c",-0.03,-0.21,-0.03,-0.42,-0.03,-0.42],["c",0,-0.03,-0.6,-0.03,-1.35,-0.03],["c",-1.5,-0,-1.47,-0,-1.59,-0.18],["c",-0.09,-0.12,-0.09,-0.3,0,-0.42],["c",0.12,-0.18,0.09,-0.18,1.59,-0.18],["c",0.75,-0,1.35,-0,1.35,-0.03],["c",0,-0,0,-0.21,0.03,-0.45],["c",0.24,-3.12,1.53,-5.55,3.45,-6.33],["c",0.27,-0.12,0.72,-0.24,0.96,-0.27],["l",0.18,-0],["l",0,-1.38],["c",0,-1.53,0,-1.5,0.18,-1.62],["z"],["m",-0.18,6.93],["c",0,-2.97,0,-3.15,-0.06,-3.15],["c",-0.09,0,-0.51,0.15,-0.66,0.21],["c",-0.87,0.51,-1.38,1.62,-1.56,3.51],["c",-0.06,0.54,-0.12,1.59,-0.12,2.16],["l",0,0.42],["l",1.2,0],["l",1.2,0],["l",0,-3.15],["z"],["m",1.17,-3.06],["c",-0.09,-0.03,-0.21,-0.06,-0.27,-0.09],["l",-0.12,0],["l",0,3.15],["l",0,3.15],["l",1.2,0],["l",1.2,0],["l",0,-0.81],["c",-0.06,-2.4,-0.33,-3.69,-0.93,-4.59],["c",-0.27,-0.39,-0.66,-0.69,-1.08,-0.81],["z"],["m",-1.17,10.14],["l",0,-3.15],["l",-1.2,-0],["l",-1.2,-0],["l",0,0.81],["c",0.03,0.96,0.06,1.47,0.15,2.13],["c",0.24,2.04,0.96,3.12,2.13,3.36],["l",0.12,-0],["l",0,-3.15],["z"],["m",3.18,-2.34],["l",0,-0.81],["l",-1.2,0],["l",-1.2,0],["l",0,3.15],["l",0,3.15],["l",0.12,0],["c",1.17,-0.24,1.89,-1.32,2.13,-3.36],["c",0.09,-0.66,0.12,-1.17,0.15,-2.13],["z"]],w:16.035,h:21.062},"scripts.comma":{d:[["M",1.14,-4.62],["c",0.3,-0.12,0.69,-0.03,0.93,0.15],["c",0.12,0.12,0.36,0.45,0.51,0.78],["c",0.9,1.77,0.54,4.05,-1.08,6.75],["c",-0.36,0.63,-0.87,1.38,-0.96,1.44],["c",-0.18,0.12,-0.42,0.06,-0.54,-0.12],["c",-0.09,-0.18,-0.09,-0.3,0.12,-0.6],["c",0.96,-1.44,1.44,-2.97,1.38,-4.35],["c",-0.06,-0.93,-0.3,-1.68,-0.78,-2.46],["c",-0.27,-0.39,-0.33,-0.63,-0.24,-0.96],["c",0.09,-0.27,0.36,-0.54,0.66,-0.63],["z"]],w:3.042,h:9.237},"scripts.roll":{d:[["M",1.95,-6],["c",0.21,-0.09,0.36,-0.09,0.57,0],["c",0.39,0.15,0.63,0.39,1.47,1.35],["c",0.66,0.75,0.78,0.87,1.08,1.05],["c",0.75,0.45,1.65,0.42,2.4,-0.06],["c",0.12,-0.09,0.27,-0.27,0.54,-0.6],["c",0.42,-0.54,0.51,-0.63,0.69,-0.63],["c",0.09,0,0.3,0.12,0.36,0.21],["c",0.09,0.12,0.12,0.3,0.03,0.42],["c",-0.06,0.12,-3.15,3.9,-3.3,4.08],["c",-0.06,0.06,-0.18,0.12,-0.27,0.18],["c",-0.27,0.12,-0.6,0.06,-0.99,-0.27],["c",-0.27,-0.21,-0.42,-0.39,-1.08,-1.14],["c",-0.63,-0.72,-0.81,-0.9,-1.17,-1.08],["c",-0.36,-0.18,-0.57,-0.21,-0.99,-0.21],["c",-0.39,0,-0.63,0.03,-0.93,0.18],["c",-0.36,0.15,-0.51,0.27,-0.9,0.81],["c",-0.24,0.27,-0.45,0.51,-0.48,0.54],["c",-0.12,0.09,-0.27,0.06,-0.39,0],["c",-0.24,-0.15,-0.33,-0.39,-0.21,-0.6],["c",0.09,-0.12,3.18,-3.87,3.33,-4.02],["c",0.06,-0.06,0.18,-0.15,0.24,-0.21],["z"]],w:10.817,h:6.125},"scripts.prall":{d:[["M",-4.38,-3.69],["c",0.06,-0.03,0.18,-0.06,0.24,-0.06],["c",0.3,0,0.27,-0.03,1.89,1.95],["l",1.53,1.83],["c",0.03,-0,0.57,-0.84,1.23,-1.83],["c",1.14,-1.68,1.23,-1.83,1.35,-1.89],["c",0.06,-0.03,0.18,-0.06,0.24,-0.06],["c",0.3,0,0.27,-0.03,1.89,1.95],["l",1.53,1.83],["l",0.48,-0.69],["c",0.51,-0.78,0.54,-0.84,0.69,-0.9],["c",0.42,-0.18,0.87,0.15,0.81,0.6],["c",-0.03,0.12,-0.3,0.51,-1.5,2.37],["c",-1.38,2.07,-1.5,2.22,-1.62,2.28],["c",-0.06,0.03,-0.18,0.06,-0.24,0.06],["c",-0.3,0,-0.27,0.03,-1.89,-1.95],["l",-1.53,-1.83],["c",-0.03,0,-0.57,0.84,-1.23,1.83],["c",-1.14,1.68,-1.23,1.83,-1.35,1.89],["c",-0.06,0.03,-0.18,0.06,-0.24,0.06],["c",-0.3,0,-0.27,0.03,-1.89,-1.95],["l",-1.53,-1.83],["l",-0.48,0.69],["c",-0.51,0.78,-0.54,0.84,-0.69,0.9],["c",-0.42,0.18,-0.87,-0.15,-0.81,-0.6],["c",0.03,-0.12,0.3,-0.51,1.5,-2.37],["c",1.38,-2.07,1.5,-2.22,1.62,-2.28],["z"]],w:15.011,h:7.5},"scripts.mordent":{d:[["M",-0.21,-4.95],["c",0.27,-0.15,0.63,0,0.75,0.27],["c",0.06,0.12,0.06,0.24,0.06,1.44],["l",0,1.29],["l",0.57,-0.84],["c",0.51,-0.75,0.57,-0.84,0.69,-0.9],["c",0.06,-0.03,0.18,-0.06,0.24,-0.06],["c",0.3,0,0.27,-0.03,1.89,1.95],["l",1.53,1.83],["l",0.48,-0.69],["c",0.51,-0.78,0.54,-0.84,0.69,-0.9],["c",0.42,-0.18,0.87,0.15,0.81,0.6],["c",-0.03,0.12,-0.3,0.51,-1.5,2.37],["c",-1.38,2.07,-1.5,2.22,-1.62,2.28],["c",-0.06,0.03,-0.18,0.06,-0.24,0.06],["c",-0.3,0,-0.27,0.03,-1.83,-1.89],["c",-0.81,-0.99,-1.5,-1.8,-1.53,-1.86],["c",-0.06,-0.03,-0.06,-0.03,-0.12,0.03],["c",-0.06,0.06,-0.06,0.15,-0.06,2.28],["c",-0,1.95,-0,2.25,-0.06,2.34],["c",-0.18,0.45,-0.81,0.48,-1.05,0.03],["c",-0.03,-0.06,-0.06,-0.24,-0.06,-1.41],["l",-0,-1.35],["l",-0.57,0.84],["c",-0.54,0.78,-0.6,0.87,-0.72,0.93],["c",-0.06,0.03,-0.18,0.06,-0.24,0.06],["c",-0.3,0,-0.27,0.03,-1.89,-1.95],["l",-1.53,-1.83],["l",-0.48,0.69],["c",-0.51,0.78,-0.54,0.84,-0.69,0.9],["c",-0.42,0.18,-0.87,-0.15,-0.81,-0.6],["c",0.03,-0.12,0.3,-0.51,1.5,-2.37],["c",1.38,-2.07,1.5,-2.22,1.62,-2.28],["c",0.06,-0.03,0.18,-0.06,0.24,-0.06],["c",0.3,0,0.27,-0.03,1.89,1.95],["l",1.53,1.83],["c",0.03,-0,0.06,-0.06,0.09,-0.09],["c",0.06,-0.12,0.06,-0.15,0.06,-2.28],["c",-0,-1.92,-0,-2.22,0.06,-2.31],["c",0.06,-0.15,0.15,-0.24,0.3,-0.3],["z"]],w:15.011,h:10.012},"flags.u8th":{d:[["M",-0.42,3.75],["l",0,-3.75],["l",0.21,0],["l",0.21,0],["l",0,0.18],["c",0,0.3,0.06,0.84,0.12,1.23],["c",0.24,1.53,0.9,3.12,2.13,5.16],["l",0.99,1.59],["c",0.87,1.44,1.38,2.34,1.77,3.09],["c",0.81,1.68,1.2,3.06,1.26,4.53],["c",0.03,1.53,-0.21,3.27,-0.75,5.01],["c",-0.21,0.69,-0.51,1.5,-0.6,1.59],["c",-0.09,0.12,-0.27,0.21,-0.42,0.21],["c",-0.15,0,-0.42,-0.12,-0.51,-0.21],["c",-0.15,-0.18,-0.18,-0.42,-0.09,-0.66],["c",0.15,-0.33,0.45,-1.2,0.57,-1.62],["c",0.42,-1.38,0.6,-2.58,0.6,-3.9],["c",0,-0.66,0,-0.81,-0.06,-1.11],["c",-0.39,-2.07,-1.8,-4.26,-4.59,-7.14],["l",-0.42,-0.45],["l",-0.21,0],["l",-0.21,0],["l",0,-3.75],["z"]],w:6.692,h:22.59},"flags.u16th":{d:[["M",-0.42,7.5],["l",0,-7.5],["l",0.21,0],["l",0.21,0],["l",0,0.39],["c",0.06,1.08,0.39,2.19,0.99,3.39],["c",0.45,0.9,0.87,1.59,1.95,3.12],["c",1.29,1.86,1.77,2.64,2.22,3.57],["c",0.45,0.93,0.72,1.8,0.87,2.64],["c",0.06,0.51,0.06,1.5,0,1.92],["c",-0.12,0.6,-0.3,1.2,-0.54,1.71],["l",-0.09,0.24],["l",0.18,0.45],["c",0.51,1.2,0.72,2.22,0.69,3.42],["c",-0.06,1.53,-0.39,3.03,-0.99,4.53],["c",-0.3,0.75,-0.36,0.81,-0.57,0.9],["c",-0.15,0.09,-0.33,0.06,-0.48,-0],["c",-0.18,-0.09,-0.27,-0.18,-0.33,-0.33],["c",-0.09,-0.18,-0.06,-0.3,0.12,-0.75],["c",0.66,-1.41,1.02,-2.88,1.08,-4.32],["c",0,-0.6,-0.03,-1.05,-0.18,-1.59],["c",-0.3,-1.2,-0.99,-2.4,-2.25,-3.87],["c",-0.42,-0.48,-1.53,-1.62,-2.19,-2.22],["l",-0.45,-0.42],["l",-0.03,1.11],["l",0,1.11],["l",-0.21,-0],["l",-0.21,-0],["l",0,-7.5],["z"],["m",1.65,0.09],["c",-0.3,-0.3,-0.69,-0.72,-0.9,-0.87],["l",-0.33,-0.33],["l",0,0.15],["c",0,0.3,0.06,0.81,0.15,1.26],["c",0.27,1.29,0.87,2.61,2.04,4.29],["c",0.15,0.24,0.6,0.87,0.96,1.38],["l",1.08,1.53],["l",0.42,0.63],["c",0.03,0,0.12,-0.36,0.21,-0.72],["c",0.06,-0.33,0.06,-1.2,0,-1.62],["c",-0.33,-1.71,-1.44,-3.48,-3.63,-5.7],["z"]],w:6.693,h:26.337},"flags.u32nd":{d:[["M",-0.42,11.247],["l",0,-11.25],["l",0.21,0],["l",0.21,0],["l",0,0.36],["c",0.09,1.68,0.69,3.27,2.07,5.46],["l",0.87,1.35],["c",1.02,1.62,1.47,2.37,1.86,3.18],["c",0.48,1.02,0.78,1.92,0.93,2.88],["c",0.06,0.48,0.06,1.5,0,1.89],["c",-0.09,0.42,-0.21,0.87,-0.36,1.26],["l",-0.12,0.3],["l",0.15,0.39],["c",0.69,1.56,0.84,2.88,0.54,4.38],["c",-0.09,0.45,-0.27,1.08,-0.45,1.47],["l",-0.12,0.24],["l",0.18,0.36],["c",0.33,0.72,0.57,1.56,0.69,2.34],["c",0.12,1.02,-0.06,2.52,-0.42,3.84],["c",-0.27,0.93,-0.75,2.13,-0.93,2.31],["c",-0.18,0.15,-0.45,0.18,-0.66,0.09],["c",-0.18,-0.09,-0.27,-0.18,-0.33,-0.33],["c",-0.09,-0.18,-0.06,-0.3,0.06,-0.6],["c",0.21,-0.36,0.42,-0.9,0.57,-1.38],["c",0.51,-1.41,0.69,-3.06,0.48,-4.08],["c",-0.15,-0.81,-0.57,-1.68,-1.2,-2.55],["c",-0.72,-0.99,-1.83,-2.13,-3.3,-3.33],["l",-0.48,-0.42],["l",-0.03,1.53],["l",0,1.56],["l",-0.21,0],["l",-0.21,0],["l",0,-11.25],["z"],["m",1.26,-3.96],["c",-0.27,-0.3,-0.54,-0.6,-0.66,-0.72],["l",-0.18,-0.21],["l",0,0.42],["c",0.06,0.87,0.24,1.74,0.66,2.67],["c",0.36,0.87,0.96,1.86,1.92,3.18],["c",0.21,0.33,0.63,0.87,0.87,1.23],["c",0.27,0.39,0.6,0.84,0.75,1.08],["l",0.27,0.39],["l",0.03,-0.12],["c",0.12,-0.45,0.15,-1.05,0.09,-1.59],["c",-0.27,-1.86,-1.38,-3.78,-3.75,-6.33],["z"],["m",-0.27,6.09],["c",-0.27,-0.21,-0.48,-0.42,-0.51,-0.45],["c",-0.06,-0.03,-0.06,-0.03,-0.06,0.21],["c",0,0.9,0.3,2.04,0.81,3.09],["c",0.48,1.02,0.96,1.77,2.37,3.63],["c",0.6,0.78,1.05,1.44,1.29,1.77],["c",0.06,0.12,0.15,0.21,0.15,0.18],["c",0.03,-0.03,0.18,-0.57,0.24,-0.87],["c",0.06,-0.45,0.06,-1.32,-0.03,-1.74],["c",-0.09,-0.48,-0.24,-0.9,-0.51,-1.44],["c",-0.66,-1.35,-1.83,-2.7,-3.75,-4.38],["z"]],w:6.697,h:32.145},"flags.u64th":{d:[["M",-0.42,15],["l",0,-15],["l",0.21,0],["l",0.21,0],["l",0,0.36],["c",0.06,1.2,0.39,2.37,1.02,3.66],["c",0.39,0.81,0.84,1.56,1.8,3.09],["c",0.81,1.26,1.05,1.68,1.35,2.22],["c",0.87,1.5,1.35,2.79,1.56,4.08],["c",0.06,0.54,0.06,1.56,-0.03,2.04],["c",-0.09,0.48,-0.21,0.99,-0.36,1.35],["l",-0.12,0.27],["l",0.12,0.27],["c",0.09,0.15,0.21,0.45,0.27,0.66],["c",0.69,1.89,0.63,3.66,-0.18,5.46],["l",-0.18,0.39],["l",0.15,0.33],["c",0.3,0.66,0.51,1.44,0.63,2.1],["c",0.06,0.48,0.06,1.35,0,1.71],["c",-0.15,0.57,-0.42,1.2,-0.78,1.68],["l",-0.21,0.27],["l",0.18,0.33],["c",0.57,1.05,0.93,2.13,1.02,3.18],["c",0.06,0.72,0,1.83,-0.21,2.79],["c",-0.18,1.02,-0.63,2.34,-1.02,3.09],["c",-0.15,0.33,-0.48,0.45,-0.78,0.3],["c",-0.18,-0.09,-0.27,-0.18,-0.33,-0.33],["c",-0.09,-0.18,-0.06,-0.3,0.03,-0.54],["c",0.75,-1.5,1.23,-3.45,1.17,-4.89],["c",-0.06,-1.02,-0.42,-2.01,-1.17,-3.15],["c",-0.48,-0.72,-1.02,-1.35,-1.89,-2.22],["c",-0.57,-0.57,-1.56,-1.5,-1.92,-1.77],["l",-0.12,-0.09],["l",0,1.68],["l",0,1.68],["l",-0.21,0],["l",-0.21,0],["l",0,-15],["z"],["m",0.93,-8.07],["c",-0.27,-0.3,-0.48,-0.54,-0.51,-0.54],["c",-0,0,-0,0.69,0.03,1.02],["c",0.15,1.47,0.75,2.94,2.04,4.83],["l",1.08,1.53],["c",0.39,0.57,0.84,1.2,0.99,1.44],["c",0.15,0.24,0.3,0.45,0.3,0.45],["c",-0,0,0.03,-0.09,0.06,-0.21],["c",0.36,-1.59,-0.15,-3.33,-1.47,-5.4],["c",-0.63,-0.93,-1.35,-1.83,-2.52,-3.12],["z"],["m",0.06,6.72],["c",-0.24,-0.21,-0.48,-0.42,-0.51,-0.45],["l",-0.06,-0.06],["l",0,0.33],["c",0,1.2,0.3,2.34,0.93,3.6],["c",0.45,0.9,0.96,1.68,2.25,3.51],["c",0.39,0.54,0.84,1.17,1.02,1.44],["c",0.21,0.33,0.33,0.51,0.33,0.48],["c",0.06,-0.09,0.21,-0.63,0.3,-0.99],["c",0.06,-0.33,0.06,-0.45,0.06,-0.96],["c",-0,-0.6,-0.03,-0.84,-0.18,-1.35],["c",-0.3,-1.08,-1.02,-2.28,-2.13,-3.57],["c",-0.39,-0.45,-1.44,-1.47,-2.01,-1.98],["z"],["m",0,6.72],["c",-0.24,-0.21,-0.48,-0.39,-0.51,-0.42],["l",-0.06,-0.06],["l",0,0.33],["c",0,1.41,0.45,2.82,1.38,4.35],["c",0.42,0.72,0.72,1.14,1.86,2.73],["c",0.36,0.45,0.75,0.99,0.87,1.2],["c",0.15,0.21,0.3,0.36,0.3,0.36],["c",0.06,0,0.3,-0.48,0.39,-0.75],["c",0.09,-0.36,0.12,-0.63,0.12,-1.05],["c",-0.06,-1.05,-0.45,-2.04,-1.2,-3.18],["c",-0.57,-0.87,-1.11,-1.53,-2.07,-2.49],["c",-0.36,-0.33,-0.84,-0.78,-1.08,-1.02],["z"]],w:6.682,h:39.694},"flags.d8th":{d:[["M",5.67,-21.63],["c",0.24,-0.12,0.54,-0.06,0.69,0.15],["c",0.06,0.06,0.21,0.36,0.39,0.66],["c",0.84,1.77,1.26,3.36,1.32,5.1],["c",0.03,1.29,-0.21,2.37,-0.81,3.63],["c",-0.6,1.23,-1.26,2.13,-3.21,4.38],["c",-1.35,1.53,-1.86,2.19,-2.4,2.97],["c",-0.63,0.93,-1.11,1.92,-1.38,2.79],["c",-0.15,0.54,-0.27,1.35,-0.27,1.8],["l",0,0.15],["l",-0.21,-0],["l",-0.21,-0],["l",0,-3.75],["l",0,-3.75],["l",0.21,0],["l",0.21,0],["l",0.48,-0.3],["c",1.83,-1.11,3.12,-2.1,4.17,-3.12],["c",0.78,-0.81,1.32,-1.53,1.71,-2.31],["c",0.45,-0.93,0.6,-1.74,0.51,-2.88],["c",-0.12,-1.56,-0.63,-3.18,-1.47,-4.68],["c",-0.12,-0.21,-0.15,-0.33,-0.06,-0.51],["c",0.06,-0.15,0.15,-0.24,0.33,-0.33],["z"]],w:8.492,h:21.691},"flags.ugrace":{d:[["M",6.03,6.93],["c",0.15,-0.09,0.33,-0.06,0.51,0],["c",0.15,0.09,0.21,0.15,0.3,0.33],["c",0.09,0.18,0.06,0.39,-0.03,0.54],["c",-0.06,0.15,-10.89,8.88,-11.07,8.97],["c",-0.15,0.09,-0.33,0.06,-0.48,0],["c",-0.18,-0.09,-0.24,-0.15,-0.33,-0.33],["c",-0.09,-0.18,-0.06,-0.39,0.03,-0.54],["c",0.06,-0.15,10.89,-8.88,11.07,-8.97],["z"]],w:12.019,h:9.954},"flags.dgrace":{d:[["M",-6.06,-15.93],["c",0.18,-0.09,0.33,-0.12,0.48,-0.06],["c",0.18,0.09,14.01,8.04,14.1,8.1],["c",0.12,0.12,0.18,0.33,0.18,0.51],["c",-0.03,0.21,-0.15,0.39,-0.36,0.48],["c",-0.18,0.09,-0.33,0.12,-0.48,0.06],["c",-0.18,-0.09,-14.01,-8.04,-14.1,-8.1],["c",-0.12,-0.12,-0.18,-0.33,-0.18,-0.51],["c",0.03,-0.21,0.15,-0.39,0.36,-0.48],["z"]],w:15.12,h:9.212},"flags.d16th":{d:[["M",6.84,-22.53],["c",0.27,-0.12,0.57,-0.06,0.72,0.15],["c",0.15,0.15,0.33,0.87,0.45,1.56],["c",0.06,0.33,0.06,1.35,0,1.65],["c",-0.06,0.33,-0.15,0.78,-0.27,1.11],["c",-0.12,0.33,-0.45,0.96,-0.66,1.32],["l",-0.18,0.27],["l",0.09,0.18],["c",0.48,1.02,0.72,2.25,0.69,3.3],["c",-0.06,1.23,-0.42,2.28,-1.26,3.45],["c",-0.57,0.87,-0.99,1.32,-3,3.39],["c",-1.56,1.56,-2.22,2.4,-2.76,3.45],["c",-0.42,0.84,-0.66,1.8,-0.66,2.55],["l",0,0.15],["l",-0.21,-0],["l",-0.21,-0],["l",0,-7.5],["l",0,-7.5],["l",0.21,-0],["l",0.21,-0],["l",0,1.14],["l",0,1.11],["l",0.27,-0.15],["c",1.11,-0.57,1.77,-0.99,2.52,-1.47],["c",2.37,-1.56,3.69,-3.15,4.05,-4.83],["c",0.03,-0.18,0.03,-0.39,0.03,-0.78],["c",0,-0.6,-0.03,-0.93,-0.24,-1.5],["c",-0.06,-0.18,-0.12,-0.39,-0.15,-0.45],["c",-0.03,-0.24,0.12,-0.48,0.36,-0.6],["z"],["m",-0.63,7.5],["c",-0.06,-0.18,-0.15,-0.36,-0.15,-0.36],["c",-0.03,0,-0.03,0.03,-0.06,0.06],["c",-0.06,0.12,-0.96,1.02,-1.95,1.98],["c",-0.63,0.57,-1.26,1.17,-1.44,1.35],["c",-1.53,1.62,-2.28,2.85,-2.55,4.32],["c",-0.03,0.18,-0.03,0.54,-0.06,0.99],["l",0,0.69],["l",0.18,-0.09],["c",0.93,-0.54,2.1,-1.29,2.82,-1.83],["c",0.69,-0.51,1.02,-0.81,1.53,-1.29],["c",1.86,-1.89,2.37,-3.66,1.68,-5.82],["z"]],w:8.475,h:22.591},"flags.d32nd":{d:[["M",6.794,-29.13],["c",0.27,-0.12,0.57,-0.06,0.72,0.15],["c",0.12,0.12,0.27,0.63,0.36,1.11],["c",0.33,1.59,0.06,3.06,-0.81,4.47],["l",-0.18,0.27],["l",0.09,0.15],["c",0.12,0.24,0.33,0.69,0.45,1.05],["c",0.63,1.83,0.45,3.57,-0.57,5.22],["l",-0.18,0.3],["l",0.15,0.27],["c",0.42,0.87,0.6,1.71,0.57,2.61],["c",-0.06,1.29,-0.48,2.46,-1.35,3.78],["c",-0.54,0.81,-0.93,1.29,-2.46,3],["c",-0.51,0.54,-1.05,1.17,-1.26,1.41],["c",-1.56,1.86,-2.25,3.36,-2.37,5.01],["l",0,0.33],["l",-0.21,-0],["l",-0.21,-0],["l",0,-11.25],["l",0,-11.25],["l",0.21,0],["l",0.21,0],["l",0,1.35],["l",0.03,1.35],["l",0.78,-0.39],["c",1.38,-0.69,2.34,-1.26,3.24,-1.92],["c",1.38,-1.02,2.28,-2.13,2.64,-3.21],["c",0.15,-0.48,0.18,-0.72,0.18,-1.29],["c",0,-0.57,-0.06,-0.9,-0.24,-1.47],["c",-0.06,-0.18,-0.12,-0.39,-0.15,-0.45],["c",-0.03,-0.24,0.12,-0.48,0.36,-0.6],["z"],["m",-0.63,7.2],["c",-0.09,-0.18,-0.12,-0.21,-0.12,-0.15],["c",-0.03,0.09,-1.02,1.08,-2.04,2.04],["c",-1.17,1.08,-1.65,1.56,-2.07,2.04],["c",-0.84,0.96,-1.38,1.86,-1.68,2.76],["c",-0.21,0.57,-0.27,0.99,-0.3,1.65],["l",0,0.54],["l",0.66,-0.33],["c",3.57,-1.86,5.49,-3.69,5.94,-5.7],["c",0.06,-0.39,0.06,-1.2,-0.03,-1.65],["c",-0.06,-0.39,-0.24,-0.9,-0.36,-1.2],["z"],["m",-0.06,7.2],["c",-0.06,-0.15,-0.12,-0.33,-0.15,-0.45],["l",-0.06,-0.18],["l",-0.18,0.21],["l",-1.83,1.83],["c",-0.87,0.9,-1.77,1.8,-1.95,2.01],["c",-1.08,1.29,-1.62,2.31,-1.89,3.51],["c",-0.06,0.3,-0.06,0.51,-0.09,0.93],["l",0,0.57],["l",0.09,-0.06],["c",0.75,-0.45,1.89,-1.26,2.52,-1.74],["c",0.81,-0.66,1.74,-1.53,2.22,-2.16],["c",1.26,-1.53,1.68,-3.06,1.32,-4.47],["z"]],w:8.475,h:29.191},"flags.d64th":{d:[["M",7.08,-32.88],["c",0.3,-0.12,0.66,-0.03,0.78,0.24],["c",0.18,0.33,0.27,2.1,0.15,2.64],["c",-0.09,0.39,-0.21,0.78,-0.39,1.08],["l",-0.15,0.3],["l",0.09,0.27],["c",0.03,0.12,0.09,0.45,0.12,0.69],["c",0.27,1.44,0.18,2.55,-0.3,3.6],["l",-0.12,0.33],["l",0.06,0.42],["c",0.27,1.35,0.33,2.82,0.21,3.63],["c",-0.12,0.6,-0.3,1.23,-0.57,1.8],["l",-0.15,0.27],["l",0.03,0.42],["c",0.06,1.02,0.06,2.7,0.03,3.06],["c",-0.15,1.47,-0.66,2.76,-1.74,4.41],["c",-0.45,0.69,-0.75,1.11,-1.74,2.37],["c",-1.05,1.38,-1.5,1.98,-1.95,2.73],["c",-0.93,1.5,-1.38,2.82,-1.44,4.2],["l",0,0.42],["l",-0.21,-0],["l",-0.21,-0],["l",0,-15],["l",0,-15],["l",0.21,-0],["l",0.21,-0],["l",0,1.86],["l",0,1.89],["c",0,-0,0.21,-0.03,0.45,-0.09],["c",2.22,-0.39,4.08,-1.11,5.19,-2.01],["c",0.63,-0.54,1.02,-1.14,1.2,-1.8],["c",0.06,-0.3,0.06,-1.14,-0.03,-1.65],["c",-0.03,-0.18,-0.06,-0.39,-0.09,-0.48],["c",-0.03,-0.24,0.12,-0.48,0.36,-0.6],["z"],["m",-0.45,6.15],["c",-0.03,-0.18,-0.06,-0.42,-0.06,-0.54],["l",-0.03,-0.18],["l",-0.33,0.3],["c",-0.42,0.36,-0.87,0.72,-1.68,1.29],["c",-1.98,1.38,-2.25,1.59,-2.85,2.16],["c",-0.75,0.69,-1.23,1.44,-1.47,2.19],["c",-0.15,0.45,-0.18,0.63,-0.21,1.35],["l",0,0.66],["l",0.39,-0.18],["c",1.83,-0.9,3.45,-1.95,4.47,-2.91],["c",0.93,-0.9,1.53,-1.83,1.74,-2.82],["c",0.06,-0.33,0.06,-0.87,0.03,-1.32],["z"],["m",-0.27,4.86],["c",-0.03,-0.21,-0.06,-0.36,-0.06,-0.36],["c",0,-0.03,-0.12,0.09,-0.24,0.24],["c",-0.39,0.48,-0.99,1.08,-2.16,2.19],["c",-1.47,1.38,-1.92,1.83,-2.46,2.49],["c",-0.66,0.87,-1.08,1.74,-1.29,2.58],["c",-0.09,0.42,-0.15,0.87,-0.15,1.44],["l",0,0.54],["l",0.48,-0.33],["c",1.5,-1.02,2.58,-1.89,3.51,-2.82],["c",1.47,-1.47,2.25,-2.85,2.4,-4.26],["c",0.03,-0.39,0.03,-1.17,-0.03,-1.71],["z"],["m",-0.66,7.68],["c",0.03,-0.15,0.03,-0.6,0.03,-0.99],["l",0,-0.72],["l",-0.27,0.33],["l",-1.74,1.98],["c",-1.77,1.92,-2.43,2.76,-2.97,3.9],["c",-0.51,1.02,-0.72,1.77,-0.75,2.91],["c",0,0.63,0,0.63,0.06,0.6],["c",0.03,-0.03,0.3,-0.27,0.63,-0.54],["c",0.66,-0.6,1.86,-1.8,2.31,-2.31],["c",1.65,-1.89,2.52,-3.54,2.7,-5.16],["z"]],w:8.485,h:32.932},"clefs.C":{d:[["M",0.06,-14.94],["l",0.09,-0.06],["l",1.92,0],["l",1.92,0],["l",0.09,0.06],["l",0.06,0.09],["l",0,14.85],["l",0,14.82],["l",-0.06,0.09],["l",-0.09,0.06],["l",-1.92,0],["l",-1.92,0],["l",-0.09,-0.06],["l",-0.06,-0.09],["l",0,-14.82],["l",0,-14.85],["z"],["m",5.37,0],["c",0.09,-0.06,0.09,-0.06,0.57,-0.06],["c",0.45,0,0.45,0,0.54,0.06],["l",0.06,0.09],["l",0,7.14],["l",0,7.11],["l",0.09,-0.06],["c",0.18,-0.18,0.72,-0.84,0.96,-1.2],["c",0.3,-0.45,0.66,-1.17,0.84,-1.65],["c",0.36,-0.9,0.57,-1.83,0.6,-2.79],["c",0.03,-0.48,0.03,-0.54,0.09,-0.63],["c",0.12,-0.18,0.36,-0.21,0.54,-0.12],["c",0.18,0.09,0.21,0.15,0.24,0.66],["c",0.06,0.87,0.21,1.56,0.57,2.22],["c",0.51,1.02,1.26,1.68,2.22,1.92],["c",0.21,0.06,0.33,0.06,0.78,0.06],["c",0.45,-0,0.57,-0,0.84,-0.06],["c",0.45,-0.12,0.81,-0.33,1.08,-0.6],["c",0.57,-0.57,0.87,-1.41,0.99,-2.88],["c",0.06,-0.54,0.06,-3,0,-3.57],["c",-0.21,-2.58,-0.84,-3.87,-2.16,-4.5],["c",-0.48,-0.21,-1.17,-0.36,-1.77,-0.36],["c",-0.69,0,-1.29,0.27,-1.5,0.72],["c",-0.06,0.15,-0.06,0.21,-0.06,0.42],["c",0,0.24,0,0.3,0.06,0.45],["c",0.12,0.24,0.24,0.39,0.63,0.66],["c",0.42,0.3,0.57,0.48,0.69,0.72],["c",0.06,0.15,0.06,0.21,0.06,0.48],["c",0,0.39,-0.03,0.63,-0.21,0.96],["c",-0.3,0.6,-0.87,1.08,-1.5,1.26],["c",-0.27,0.06,-0.87,0.06,-1.14,0],["c",-0.78,-0.24,-1.44,-0.87,-1.65,-1.68],["c",-0.12,-0.42,-0.09,-1.17,0.09,-1.71],["c",0.51,-1.65,1.98,-2.82,3.81,-3.09],["c",0.84,-0.09,2.46,0.03,3.51,0.27],["c",2.22,0.57,3.69,1.8,4.44,3.75],["c",0.36,0.93,0.57,2.13,0.57,3.36],["c",-0,1.44,-0.48,2.73,-1.38,3.81],["c",-1.26,1.5,-3.27,2.43,-5.28,2.43],["c",-0.48,-0,-0.51,-0,-0.75,-0.09],["c",-0.15,-0.03,-0.48,-0.21,-0.78,-0.36],["c",-0.69,-0.36,-0.87,-0.42,-1.26,-0.42],["c",-0.27,-0,-0.3,-0,-0.51,0.09],["c",-0.57,0.3,-0.81,0.9,-0.81,2.1],["c",-0,1.23,0.24,1.83,0.81,2.13],["c",0.21,0.09,0.24,0.09,0.51,0.09],["c",0.39,-0,0.57,-0.06,1.26,-0.42],["c",0.3,-0.15,0.63,-0.33,0.78,-0.36],["c",0.24,-0.09,0.27,-0.09,0.75,-0.09],["c",2.01,-0,4.02,0.93,5.28,2.4],["c",0.9,1.11,1.38,2.4,1.38,3.84],["c",-0,1.5,-0.3,2.88,-0.84,3.96],["c",-0.78,1.59,-2.19,2.64,-4.17,3.15],["c",-1.05,0.24,-2.67,0.36,-3.51,0.27],["c",-1.83,-0.27,-3.3,-1.44,-3.81,-3.09],["c",-0.18,-0.54,-0.21,-1.29,-0.09,-1.74],["c",0.15,-0.6,0.63,-1.2,1.23,-1.47],["c",0.36,-0.18,0.57,-0.21,0.99,-0.21],["c",0.42,0,0.63,0.03,1.02,0.21],["c",0.42,0.21,0.84,0.63,1.05,1.05],["c",0.18,0.36,0.21,0.6,0.21,0.96],["c",-0,0.3,-0,0.36,-0.06,0.51],["c",-0.12,0.24,-0.27,0.42,-0.69,0.72],["c",-0.57,0.42,-0.69,0.63,-0.69,1.08],["c",-0,0.24,-0,0.3,0.06,0.45],["c",0.12,0.21,0.3,0.39,0.57,0.54],["c",0.42,0.18,0.87,0.21,1.53,0.15],["c",1.08,-0.15,1.8,-0.57,2.34,-1.32],["c",0.54,-0.75,0.84,-1.83,0.99,-3.51],["c",0.06,-0.57,0.06,-3.03,-0,-3.57],["c",-0.12,-1.47,-0.42,-2.31,-0.99,-2.88],["c",-0.27,-0.27,-0.63,-0.48,-1.08,-0.6],["c",-0.27,-0.06,-0.39,-0.06,-0.84,-0.06],["c",-0.45,0,-0.57,0,-0.78,0.06],["c",-1.14,0.27,-2.01,1.17,-2.46,2.49],["c",-0.21,0.57,-0.3,0.99,-0.33,1.65],["c",-0.03,0.51,-0.06,0.57,-0.24,0.66],["c",-0.12,0.06,-0.27,0.06,-0.39,0],["c",-0.21,-0.09,-0.21,-0.15,-0.24,-0.75],["c",-0.09,-1.92,-0.78,-3.72,-2.01,-5.19],["c",-0.18,-0.21,-0.36,-0.42,-0.39,-0.45],["l",-0.09,-0.06],["l",-0,7.11],["l",-0,7.14],["l",-0.06,0.09],["c",-0.09,0.06,-0.09,0.06,-0.54,0.06],["c",-0.48,0,-0.48,0,-0.57,-0.06],["l",-0.06,-0.09],["l",-0,-14.82],["l",-0,-14.85],["z"]],w:20.31,h:29.97},"clefs.F":{d:[["M",6.3,-7.8],["c",0.36,-0.03,1.65,0,2.13,0.03],["c",3.6,0.42,6.03,2.1,6.93,4.86],["c",0.27,0.84,0.36,1.5,0.36,2.58],["c",0,0.9,-0.03,1.35,-0.18,2.16],["c",-0.78,3.78,-3.54,7.08,-8.37,9.96],["c",-1.74,1.05,-3.87,2.13,-6.18,3.12],["c",-0.39,0.18,-0.75,0.33,-0.81,0.36],["c",-0.06,0.03,-0.15,0.06,-0.18,0.06],["c",-0.15,0,-0.33,-0.18,-0.33,-0.33],["c",0,-0.15,0.06,-0.21,0.51,-0.48],["c",3,-1.77,5.13,-3.21,6.84,-4.74],["c",0.51,-0.45,1.59,-1.5,1.95,-1.95],["c",1.89,-2.19,2.88,-4.32,3.15,-6.78],["c",0.06,-0.42,0.06,-1.77,0,-2.19],["c",-0.24,-2.01,-0.93,-3.63,-2.04,-4.71],["c",-0.63,-0.63,-1.29,-1.02,-2.07,-1.2],["c",-1.62,-0.39,-3.36,0.15,-4.56,1.44],["c",-0.54,0.6,-1.05,1.47,-1.32,2.22],["l",-0.09,0.21],["l",0.24,-0.12],["c",0.39,-0.21,0.63,-0.24,1.11,-0.24],["c",0.3,0,0.45,0,0.66,0.06],["c",1.92,0.48,2.85,2.55,1.95,4.38],["c",-0.45,0.99,-1.41,1.62,-2.46,1.71],["c",-1.47,0.09,-2.91,-0.87,-3.39,-2.25],["c",-0.18,-0.57,-0.21,-1.32,-0.03,-2.28],["c",0.39,-2.25,1.83,-4.2,3.81,-5.19],["c",0.69,-0.36,1.59,-0.6,2.37,-0.69],["z"],["m",11.58,2.52],["c",0.84,-0.21,1.71,0.3,1.89,1.14],["c",0.3,1.17,-0.72,2.19,-1.89,1.89],["c",-0.99,-0.21,-1.5,-1.32,-1.02,-2.25],["c",0.18,-0.39,0.6,-0.69,1.02,-0.78],["z"],["m",0,7.5],["c",0.84,-0.21,1.71,0.3,1.89,1.14],["c",0.21,0.87,-0.3,1.71,-1.14,1.89],["c",-0.87,0.21,-1.71,-0.3,-1.89,-1.14],["c",-0.21,-0.84,0.3,-1.71,1.14,-1.89],["z"]],w:20.153,h:23.142},"clefs.G":{d:[["M",9.69,-37.41],["c",0.09,-0.09,0.24,-0.06,0.36,0],["c",0.12,0.09,0.57,0.6,0.96,1.11],["c",1.77,2.34,3.21,5.85,3.57,8.73],["c",0.21,1.56,0.03,3.27,-0.45,4.86],["c",-0.69,2.31,-1.92,4.47,-4.23,7.44],["c",-0.3,0.39,-0.57,0.72,-0.6,0.75],["c",-0.03,0.06,0,0.15,0.18,0.78],["c",0.54,1.68,1.38,4.44,1.68,5.49],["l",0.09,0.42],["l",0.39,-0],["c",1.47,0.09,2.76,0.51,3.96,1.29],["c",1.83,1.23,3.06,3.21,3.39,5.52],["c",0.09,0.45,0.12,1.29,0.06,1.74],["c",-0.09,1.02,-0.33,1.83,-0.75,2.73],["c",-0.84,1.71,-2.28,3.06,-4.02,3.72],["l",-0.33,0.12],["l",0.03,1.26],["c",0,1.74,-0.06,3.63,-0.21,4.62],["c",-0.45,3.06,-2.19,5.49,-4.47,6.21],["c",-0.57,0.18,-0.9,0.21,-1.59,0.21],["c",-0.69,-0,-1.02,-0.03,-1.65,-0.21],["c",-1.14,-0.27,-2.13,-0.84,-2.94,-1.65],["c",-0.99,-0.99,-1.56,-2.16,-1.71,-3.54],["c",-0.09,-0.81,0.06,-1.53,0.45,-2.13],["c",0.63,-0.99,1.83,-1.56,3,-1.53],["c",1.5,0.09,2.64,1.32,2.73,2.94],["c",0.06,1.47,-0.93,2.7,-2.37,2.97],["c",-0.45,0.06,-0.84,0.03,-1.29,-0.09],["l",-0.21,-0.09],["l",0.09,0.12],["c",0.39,0.54,0.78,0.93,1.32,1.26],["c",1.35,0.87,3.06,1.02,4.35,0.36],["c",1.44,-0.72,2.52,-2.28,2.97,-4.35],["c",0.15,-0.66,0.24,-1.5,0.3,-3.03],["c",0.03,-0.84,0.03,-2.94,-0,-3],["c",-0.03,-0,-0.18,-0,-0.36,0.03],["c",-0.66,0.12,-0.99,0.12,-1.83,0.12],["c",-1.05,-0,-1.71,-0.06,-2.61,-0.3],["c",-4.02,-0.99,-7.11,-4.35,-7.8,-8.46],["c",-0.12,-0.66,-0.12,-0.99,-0.12,-1.83],["c",-0,-0.84,-0,-1.14,0.15,-1.92],["c",0.36,-2.28,1.41,-4.62,3.3,-7.29],["l",2.79,-3.6],["c",0.54,-0.66,0.96,-1.2,0.96,-1.23],["c",-0,-0.03,-0.09,-0.33,-0.18,-0.69],["c",-0.96,-3.21,-1.41,-5.28,-1.59,-7.68],["c",-0.12,-1.38,-0.15,-3.09,-0.06,-3.96],["c",0.33,-2.67,1.38,-5.07,3.12,-7.08],["c",0.36,-0.42,0.99,-1.05,1.17,-1.14],["z"],["m",2.01,4.71],["c",-0.15,-0.3,-0.3,-0.54,-0.3,-0.54],["c",-0.03,0,-0.18,0.09,-0.3,0.21],["c",-2.4,1.74,-3.87,4.2,-4.26,7.11],["c",-0.06,0.54,-0.06,1.41,-0.03,1.89],["c",0.09,1.29,0.48,3.12,1.08,5.22],["c",0.15,0.42,0.24,0.78,0.24,0.81],["c",0,0.03,0.84,-1.11,1.23,-1.68],["c",1.89,-2.73,2.88,-5.07,3.15,-7.53],["c",0.09,-0.57,0.12,-1.74,0.06,-2.37],["c",-0.09,-1.23,-0.27,-1.92,-0.87,-3.12],["z"],["m",-2.94,20.7],["c",-0.21,-0.72,-0.39,-1.32,-0.42,-1.32],["c",0,0,-1.2,1.47,-1.86,2.37],["c",-2.79,3.63,-4.02,6.3,-4.35,9.3],["c",-0.03,0.21,-0.03,0.69,-0.03,1.08],["c",0,0.69,0,0.75,0.06,1.11],["c",0.12,0.54,0.27,0.99,0.51,1.47],["c",0.69,1.38,1.83,2.55,3.42,3.42],["c",0.96,0.54,2.07,0.9,3.21,1.08],["c",0.78,0.12,2.04,0.12,2.94,-0.03],["c",0.51,-0.06,0.45,-0.03,0.42,-0.3],["c",-0.24,-3.33,-0.72,-6.33,-1.62,-10.08],["c",-0.09,-0.39,-0.18,-0.75,-0.18,-0.78],["c",-0.03,-0.03,-0.42,-0,-0.81,0.09],["c",-0.9,0.18,-1.65,0.57,-2.22,1.14],["c",-0.72,0.72,-1.08,1.65,-1.05,2.64],["c",0.06,0.96,0.48,1.83,1.23,2.58],["c",0.36,0.36,0.72,0.63,1.17,0.9],["c",0.33,0.18,0.36,0.21,0.42,0.33],["c",0.18,0.42,-0.18,0.9,-0.6,0.87],["c",-0.18,-0.03,-0.84,-0.36,-1.26,-0.63],["c",-0.78,-0.51,-1.38,-1.11,-1.86,-1.83],["c",-1.77,-2.7,-0.99,-6.42,1.71,-8.19],["c",0.3,-0.21,0.81,-0.48,1.17,-0.63],["c",0.3,-0.09,1.02,-0.3,1.14,-0.3],["c",0.06,-0,0.09,-0,0.09,-0.03],["c",0.03,-0.03,-0.51,-1.92,-1.23,-4.26],["z"],["m",3.78,7.41],["c",-0.18,-0.03,-0.36,-0.06,-0.39,-0.06],["c",-0.03,0,0,0.21,0.18,1.02],["c",0.75,3.18,1.26,6.3,1.5,9.09],["c",0.06,0.72,0,0.69,0.51,0.42],["c",0.78,-0.36,1.44,-0.96,1.98,-1.77],["c",1.08,-1.62,1.2,-3.69,0.3,-5.55],["c",-0.81,-1.62,-2.31,-2.79,-4.08,-3.15],["z"]],w:19.051,h:57.057},"clefs.perc":{d:[["M",5.07,-7.44],["l",0.09,-0.06],["l",1.53,0],["l",1.53,0],["l",0.09,0.06],["l",0.06,0.09],["l",0,7.35],["l",0,7.32],["l",-0.06,0.09],["l",-0.09,0.06],["l",-1.53,-0],["l",-1.53,-0],["l",-0.09,-0.06],["l",-0.06,-0.09],["l",0,-7.32],["l",0,-7.35],["z"],["m",6.63,0],["l",0.09,-0.06],["l",1.53,0],["l",1.53,0],["l",0.09,0.06],["l",0.06,0.09],["l",0,7.35],["l",0,7.32],["l",-0.06,0.09],["l",-0.09,0.06],["l",-1.53,-0],["l",-1.53,-0],["l",-0.09,-0.06],["l",-0.06,-0.09],["l",0,-7.32],["l",0,-7.35],["z"]],w:9.99,h:14.97},"timesig.common":{d:[["M",6.66,-7.826],["c",0.72,-0.06,1.41,-0.03,1.98,0.09],["c",1.2,0.27,2.34,0.96,3.09,1.92],["c",0.63,0.81,1.08,1.86,1.14,2.73],["c",0.06,1.02,-0.51,1.92,-1.44,2.22],["c",-0.24,0.09,-0.3,0.09,-0.63,0.09],["c",-0.33,-0,-0.42,-0,-0.63,-0.06],["c",-0.66,-0.24,-1.14,-0.63,-1.41,-1.2],["c",-0.15,-0.3,-0.21,-0.51,-0.24,-0.9],["c",-0.06,-1.08,0.57,-2.04,1.56,-2.37],["c",0.18,-0.06,0.27,-0.06,0.63,-0.06],["l",0.45,0],["c",0.06,0.03,0.09,0.03,0.09,0],["c",0,0,-0.09,-0.12,-0.24,-0.27],["c",-1.02,-1.11,-2.55,-1.68,-4.08,-1.5],["c",-1.29,0.15,-2.04,0.69,-2.4,1.74],["c",-0.36,0.93,-0.42,1.89,-0.42,5.37],["c",0,2.97,0.06,3.96,0.24,4.77],["c",0.24,1.08,0.63,1.68,1.41,2.07],["c",0.81,0.39,2.16,0.45,3.18,0.09],["c",1.29,-0.45,2.37,-1.53,3.03,-2.97],["c",0.15,-0.33,0.33,-0.87,0.39,-1.17],["c",0.09,-0.24,0.15,-0.36,0.3,-0.39],["c",0.21,-0.03,0.42,0.15,0.39,0.36],["c",-0.06,0.39,-0.42,1.38,-0.69,1.89],["c",-0.96,1.8,-2.49,2.94,-4.23,3.18],["c",-0.99,0.12,-2.58,-0.06,-3.63,-0.45],["c",-0.96,-0.36,-1.71,-0.84,-2.4,-1.5],["c",-1.11,-1.11,-1.8,-2.61,-2.04,-4.56],["c",-0.06,-0.6,-0.06,-2.01,0,-2.61],["c",0.24,-1.95,0.9,-3.45,2.01,-4.56],["c",0.69,-0.66,1.44,-1.11,2.37,-1.47],["c",0.63,-0.24,1.47,-0.42,2.22,-0.48],["z"]],w:13.038,h:15.697},"timesig.cut":{d:[["M",6.24,-10.44],["c",0.09,-0.06,0.09,-0.06,0.48,-0.06],["c",0.36,0,0.36,0,0.45,0.06],["l",0.06,0.09],["l",0,1.23],["l",0,1.26],["l",0.27,0],["c",1.26,0,2.49,0.45,3.48,1.29],["c",1.05,0.87,1.8,2.28,1.89,3.48],["c",0.06,1.02,-0.51,1.92,-1.44,2.22],["c",-0.24,0.09,-0.3,0.09,-0.63,0.09],["c",-0.33,-0,-0.42,-0,-0.63,-0.06],["c",-0.66,-0.24,-1.14,-0.63,-1.41,-1.2],["c",-0.15,-0.3,-0.21,-0.51,-0.24,-0.9],["c",-0.06,-1.08,0.57,-2.04,1.56,-2.37],["c",0.18,-0.06,0.27,-0.06,0.63,-0.06],["l",0.45,-0],["c",0.06,0.03,0.09,0.03,0.09,-0],["c",0,-0.03,-0.45,-0.51,-0.66,-0.69],["c",-0.87,-0.69,-1.83,-1.05,-2.94,-1.11],["l",-0.42,0],["l",0,7.17],["l",0,7.14],["l",0.42,0],["c",0.69,-0.03,1.23,-0.18,1.86,-0.51],["c",1.05,-0.51,1.89,-1.47,2.46,-2.7],["c",0.15,-0.33,0.33,-0.87,0.39,-1.17],["c",0.09,-0.24,0.15,-0.36,0.3,-0.39],["c",0.21,-0.03,0.42,0.15,0.39,0.36],["c",-0.03,0.24,-0.21,0.78,-0.39,1.2],["c",-0.96,2.37,-2.94,3.9,-5.13,3.9],["l",-0.3,0],["l",0,1.26],["l",0,1.23],["l",-0.06,0.09],["c",-0.09,0.06,-0.09,0.06,-0.45,0.06],["c",-0.39,0,-0.39,0,-0.48,-0.06],["l",-0.06,-0.09],["l",0,-1.29],["l",0,-1.29],["l",-0.21,-0.03],["c",-1.23,-0.21,-2.31,-0.63,-3.21,-1.29],["c",-0.15,-0.09,-0.45,-0.36,-0.66,-0.57],["c",-1.11,-1.11,-1.8,-2.61,-2.04,-4.56],["c",-0.06,-0.6,-0.06,-2.01,0,-2.61],["c",0.24,-1.95,0.93,-3.45,2.04,-4.59],["c",0.42,-0.39,0.78,-0.66,1.26,-0.93],["c",0.75,-0.45,1.65,-0.75,2.61,-0.9],["l",0.21,-0.03],["l",0,-1.29],["l",0,-1.29],["z"],["m",-0.06,10.44],["c",0,-5.58,0,-6.99,-0.03,-6.99],["c",-0.15,0,-0.63,0.27,-0.87,0.45],["c",-0.45,0.36,-0.75,0.93,-0.93,1.77],["c",-0.18,0.81,-0.24,1.8,-0.24,4.74],["c",0,2.97,0.06,3.96,0.24,4.77],["c",0.24,1.08,0.66,1.68,1.41,2.07],["c",0.12,0.06,0.3,0.12,0.33,0.15],["l",0.09,0],["l",0,-6.96],["z"]],w:13.038,h:20.97},"0":{d:[["M",4.83,-14.97],["c",0.33,-0.03,1.11,0,1.47,0.06],["c",1.68,0.36,2.97,1.59,3.78,3.6],["c",1.2,2.97,0.81,6.96,-0.9,9.27],["c",-0.78,1.08,-1.71,1.71,-2.91,1.95],["c",-0.45,0.09,-1.32,0.09,-1.77,0],["c",-0.81,-0.18,-1.47,-0.51,-2.07,-1.02],["c",-2.34,-2.07,-3.15,-6.72,-1.74,-10.2],["c",0.87,-2.16,2.28,-3.42,4.14,-3.66],["z"],["m",1.11,0.87],["c",-0.21,-0.06,-0.69,-0.09,-0.87,-0.06],["c",-0.54,0.12,-0.87,0.42,-1.17,0.99],["c",-0.36,0.66,-0.51,1.56,-0.6,3],["c",-0.03,0.75,-0.03,4.59,-0,5.31],["c",0.09,1.5,0.27,2.4,0.6,3.06],["c",0.24,0.48,0.57,0.78,0.96,0.9],["c",0.27,0.09,0.78,0.09,1.05,-0],["c",0.39,-0.12,0.72,-0.42,0.96,-0.9],["c",0.33,-0.66,0.51,-1.56,0.6,-3.06],["c",0.03,-0.72,0.03,-4.56,-0,-5.31],["c",-0.09,-1.47,-0.27,-2.37,-0.6,-3.03],["c",-0.24,-0.48,-0.54,-0.78,-0.93,-0.9],["z"]],w:10.78,h:14.959},"1":{d:[["M",3.3,-15.06],["c",0.06,-0.06,0.21,-0.03,0.66,0.15],["c",0.81,0.39,1.08,0.39,1.83,0.03],["c",0.21,-0.09,0.39,-0.15,0.42,-0.15],["c",0.12,0,0.21,0.09,0.27,0.21],["c",0.06,0.12,0.06,0.33,0.06,5.94],["c",0,3.93,0,5.85,0.03,6.03],["c",0.06,0.36,0.15,0.69,0.27,0.96],["c",0.36,0.75,0.93,1.17,1.68,1.26],["c",0.3,0.03,0.39,0.09,0.39,0.3],["c",0,0.15,-0.03,0.18,-0.09,0.24],["c",-0.06,0.06,-0.09,0.06,-0.48,0.06],["c",-0.42,-0,-0.69,-0.03,-2.1,-0.24],["c",-0.9,-0.15,-1.77,-0.15,-2.67,-0],["c",-1.41,0.21,-1.68,0.24,-2.1,0.24],["c",-0.39,-0,-0.42,-0,-0.48,-0.06],["c",-0.06,-0.06,-0.06,-0.09,-0.06,-0.24],["c",0,-0.21,0.06,-0.27,0.36,-0.3],["c",0.75,-0.09,1.32,-0.51,1.68,-1.26],["c",0.12,-0.27,0.21,-0.6,0.27,-0.96],["c",0.03,-0.18,0.03,-1.59,0.03,-4.29],["c",0,-3.87,0,-4.05,-0.06,-4.14],["c",-0.09,-0.15,-0.18,-0.24,-0.39,-0.24],["c",-0.12,-0,-0.15,0.03,-0.21,0.06],["c",-0.03,0.06,-0.45,0.99,-0.96,2.13],["c",-0.48,1.14,-0.9,2.1,-0.93,2.16],["c",-0.06,0.15,-0.21,0.24,-0.33,0.24],["c",-0.24,0,-0.42,-0.18,-0.42,-0.39],["c",0,-0.06,3.27,-7.62,3.33,-7.74],["z"]],w:8.94,h:15.058},"2":{d:[["M",4.23,-14.97],["c",0.57,-0.06,1.68,0,2.34,0.18],["c",0.69,0.18,1.5,0.54,2.01,0.9],["c",1.35,0.96,1.95,2.25,1.77,3.81],["c",-0.15,1.35,-0.66,2.34,-1.68,3.15],["c",-0.6,0.48,-1.44,0.93,-3.12,1.65],["c",-1.32,0.57,-1.8,0.81,-2.37,1.14],["c",-0.57,0.33,-0.57,0.33,-0.24,0.27],["c",0.39,-0.09,1.26,-0.09,1.68,0],["c",0.72,0.15,1.41,0.45,2.1,0.9],["c",0.99,0.63,1.86,0.87,2.55,0.75],["c",0.24,-0.06,0.42,-0.15,0.57,-0.3],["c",0.12,-0.09,0.3,-0.42,0.3,-0.51],["c",0,-0.09,0.12,-0.21,0.24,-0.24],["c",0.18,-0.03,0.39,0.12,0.39,0.3],["c",0,0.12,-0.15,0.57,-0.3,0.87],["c",-0.54,1.02,-1.56,1.74,-2.79,2.01],["c",-0.42,0.09,-1.23,0.09,-1.62,0.03],["c",-0.81,-0.18,-1.32,-0.45,-2.01,-1.11],["c",-0.45,-0.45,-0.63,-0.57,-0.96,-0.69],["c",-0.84,-0.27,-1.89,0.12,-2.25,0.9],["c",-0.12,0.21,-0.21,0.54,-0.21,0.72],["c",0,0.12,-0.12,0.21,-0.27,0.24],["c",-0.15,0,-0.27,-0.03,-0.33,-0.15],["c",-0.09,-0.21,0.09,-1.08,0.33,-1.71],["c",0.24,-0.66,0.66,-1.26,1.29,-1.89],["c",0.45,-0.45,0.9,-0.81,1.92,-1.56],["c",1.29,-0.93,1.89,-1.44,2.34,-1.98],["c",0.87,-1.05,1.26,-2.19,1.2,-3.63],["c",-0.06,-1.29,-0.39,-2.31,-0.96,-2.91],["c",-0.36,-0.33,-0.72,-0.51,-1.17,-0.54],["c",-0.84,-0.03,-1.53,0.42,-1.59,1.05],["c",-0.03,0.33,0.12,0.6,0.57,1.14],["c",0.45,0.54,0.54,0.87,0.42,1.41],["c",-0.15,0.63,-0.54,1.11,-1.08,1.38],["c",-0.63,0.33,-1.2,0.33,-1.83,0],["c",-0.24,-0.12,-0.33,-0.18,-0.54,-0.39],["c",-0.18,-0.18,-0.27,-0.3,-0.36,-0.51],["c",-0.24,-0.45,-0.27,-0.84,-0.21,-1.38],["c",0.12,-0.75,0.45,-1.41,1.02,-1.98],["c",0.72,-0.72,1.74,-1.17,2.85,-1.32],["z"]],w:10.764,h:14.993},"3":{d:[["M",3.78,-14.97],["c",0.3,-0.03,1.41,0,1.83,0.06],["c",2.22,0.3,3.51,1.32,3.72,2.91],["c",0.03,0.33,0.03,1.26,-0.03,1.65],["c",-0.12,0.84,-0.48,1.47,-1.05,1.77],["c",-0.27,0.15,-0.36,0.24,-0.45,0.39],["c",-0.09,0.21,-0.09,0.36,0,0.57],["c",0.09,0.15,0.18,0.24,0.51,0.39],["c",0.75,0.42,1.23,1.14,1.41,2.13],["c",0.06,0.42,0.06,1.35,0,1.71],["c",-0.18,0.81,-0.48,1.38,-1.02,1.95],["c",-0.75,0.72,-1.8,1.2,-3.18,1.38],["c",-0.42,0.06,-1.56,0.06,-1.95,0],["c",-1.89,-0.33,-3.18,-1.29,-3.51,-2.64],["c",-0.03,-0.12,-0.03,-0.33,-0.03,-0.6],["c",0,-0.36,0,-0.42,0.06,-0.63],["c",0.12,-0.3,0.27,-0.51,0.51,-0.75],["c",0.24,-0.24,0.45,-0.39,0.75,-0.51],["c",0.21,-0.06,0.27,-0.06,0.6,-0.06],["c",0.33,0,0.39,0,0.6,0.06],["c",0.3,0.12,0.51,0.27,0.75,0.51],["c",0.36,0.33,0.57,0.75,0.6,1.2],["c",0,0.21,0,0.27,-0.06,0.42],["c",-0.09,0.18,-0.12,0.24,-0.54,0.54],["c",-0.51,0.36,-0.63,0.54,-0.6,0.87],["c",0.06,0.54,0.54,0.9,1.38,0.99],["c",0.36,0.06,0.72,0.03,0.96,-0.06],["c",0.81,-0.27,1.29,-1.23,1.44,-2.79],["c",0.03,-0.45,0.03,-1.95,-0.03,-2.37],["c",-0.09,-0.75,-0.33,-1.23,-0.75,-1.44],["c",-0.33,-0.18,-0.45,-0.18,-1.98,-0.18],["c",-1.35,0,-1.41,0,-1.5,-0.06],["c",-0.18,-0.12,-0.24,-0.39,-0.12,-0.6],["c",0.12,-0.15,0.15,-0.15,1.68,-0.15],["c",1.5,0,1.62,0,1.89,-0.15],["c",0.18,-0.09,0.42,-0.36,0.54,-0.57],["c",0.18,-0.42,0.27,-0.9,0.3,-1.95],["c",0.03,-1.2,-0.06,-1.8,-0.36,-2.37],["c",-0.24,-0.48,-0.63,-0.81,-1.14,-0.96],["c",-0.3,-0.06,-1.08,-0.06,-1.38,0.03],["c",-0.6,0.15,-0.9,0.42,-0.96,0.84],["c",-0.03,0.3,0.06,0.45,0.63,0.84],["c",0.33,0.24,0.42,0.39,0.45,0.63],["c",0.03,0.72,-0.57,1.5,-1.32,1.65],["c",-1.05,0.27,-2.1,-0.57,-2.1,-1.65],["c",0,-0.45,0.15,-0.96,0.39,-1.38],["c",0.12,-0.21,0.54,-0.63,0.81,-0.81],["c",0.57,-0.42,1.38,-0.69,2.25,-0.81],["z"]],w:9.735,h:14.967},"4":{d:[["M",8.64,-14.94],["c",0.27,-0.09,0.42,-0.12,0.54,-0.03],["c",0.09,0.06,0.15,0.21,0.15,0.3],["c",-0.03,0.06,-1.92,2.31,-4.23,5.04],["c",-2.31,2.73,-4.23,4.98,-4.26,5.01],["c",-0.03,0.06,0.12,0.06,2.55,0.06],["l",2.61,0],["l",0,-2.37],["c",0,-2.19,0.03,-2.37,0.06,-2.46],["c",0.03,-0.06,0.21,-0.18,0.57,-0.42],["c",1.08,-0.72,1.38,-1.08,1.86,-2.16],["c",0.12,-0.3,0.24,-0.54,0.27,-0.57],["c",0.12,-0.12,0.39,-0.06,0.45,0.12],["c",0.06,0.09,0.06,0.57,0.06,3.96],["l",0,3.9],["l",1.08,0],["c",1.05,0,1.11,0,1.2,0.06],["c",0.24,0.15,0.24,0.54,0,0.69],["c",-0.09,0.06,-0.15,0.06,-1.2,0.06],["l",-1.08,0],["l",0,0.33],["c",0,0.57,0.09,1.11,0.3,1.53],["c",0.36,0.75,0.93,1.17,1.68,1.26],["c",0.3,0.03,0.39,0.09,0.39,0.3],["c",0,0.15,-0.03,0.18,-0.09,0.24],["c",-0.06,0.06,-0.09,0.06,-0.48,0.06],["c",-0.42,0,-0.69,-0.03,-2.1,-0.24],["c",-0.9,-0.15,-1.77,-0.15,-2.67,0],["c",-1.41,0.21,-1.68,0.24,-2.1,0.24],["c",-0.39,0,-0.42,0,-0.48,-0.06],["c",-0.06,-0.06,-0.06,-0.09,-0.06,-0.24],["c",0,-0.21,0.06,-0.27,0.36,-0.3],["c",0.75,-0.09,1.32,-0.51,1.68,-1.26],["c",0.21,-0.42,0.3,-0.96,0.3,-1.53],["l",0,-0.33],["l",-2.7,0],["c",-2.91,0,-2.85,0,-3.09,-0.15],["c",-0.18,-0.12,-0.3,-0.39,-0.27,-0.54],["c",0.03,-0.06,0.18,-0.24,0.33,-0.45],["c",0.75,-0.9,1.59,-2.07,2.13,-3.03],["c",0.33,-0.54,0.84,-1.62,1.05,-2.16],["c",0.57,-1.41,0.84,-2.64,0.9,-4.05],["c",0.03,-0.63,0.06,-0.72,0.24,-0.81],["l",0.12,-0.06],["l",0.45,0.12],["c",0.66,0.18,1.02,0.24,1.47,0.27],["c",0.6,0.03,1.23,-0.09,2.01,-0.33],["z"]],w:11.795,h:14.994},"5":{d:[["M",1.02,-14.94],["c",0.12,-0.09,0.03,-0.09,1.08,0.06],["c",2.49,0.36,4.35,0.36,6.96,-0.06],["c",0.57,-0.09,0.66,-0.06,0.81,0.06],["c",0.15,0.18,0.12,0.24,-0.15,0.51],["c",-1.29,1.26,-3.24,2.04,-5.58,2.31],["c",-0.6,0.09,-1.2,0.12,-1.71,0.12],["c",-0.39,0,-0.45,0,-0.57,0.06],["c",-0.09,0.06,-0.15,0.12,-0.21,0.21],["l",-0.06,0.12],["l",0,1.65],["l",0,1.65],["l",0.21,-0.21],["c",0.66,-0.57,1.41,-0.96,2.19,-1.14],["c",0.33,-0.06,1.41,-0.06,1.95,0],["c",2.61,0.36,4.02,1.74,4.26,4.14],["c",0.03,0.45,0.03,1.08,-0.03,1.44],["c",-0.18,1.02,-0.78,2.01,-1.59,2.7],["c",-0.72,0.57,-1.62,1.02,-2.49,1.2],["c",-1.38,0.27,-3.03,0.06,-4.2,-0.54],["c",-1.08,-0.54,-1.71,-1.32,-1.86,-2.28],["c",-0.09,-0.69,0.09,-1.29,0.57,-1.74],["c",0.24,-0.24,0.45,-0.39,0.75,-0.51],["c",0.21,-0.06,0.27,-0.06,0.6,-0.06],["c",0.33,0,0.39,0,0.6,0.06],["c",0.3,0.12,0.51,0.27,0.75,0.51],["c",0.36,0.33,0.57,0.75,0.6,1.2],["c",0,0.21,0,0.27,-0.06,0.42],["c",-0.09,0.18,-0.12,0.24,-0.54,0.54],["c",-0.18,0.12,-0.36,0.3,-0.42,0.33],["c",-0.36,0.42,-0.18,0.99,0.36,1.26],["c",0.51,0.27,1.47,0.36,2.01,0.27],["c",0.93,-0.21,1.47,-1.17,1.65,-2.91],["c",0.06,-0.45,0.06,-1.89,0,-2.31],["c",-0.15,-1.2,-0.51,-2.1,-1.05,-2.55],["c",-0.21,-0.18,-0.54,-0.36,-0.81,-0.39],["c",-0.3,-0.06,-0.84,-0.03,-1.26,0.06],["c",-0.93,0.18,-1.65,0.6,-2.16,1.2],["c",-0.15,0.21,-0.27,0.3,-0.39,0.3],["c",-0.15,0,-0.3,-0.09,-0.36,-0.18],["c",-0.06,-0.09,-0.06,-0.15,-0.06,-3.66],["c",0,-3.39,0,-3.57,0.06,-3.66],["c",0.03,-0.06,0.09,-0.15,0.15,-0.18],["z"]],w:10.212,h:14.997},"6":{d:[["M",4.98,-14.97],["c",0.36,-0.03,1.2,0,1.59,0.06],["c",0.9,0.15,1.68,0.51,2.25,1.05],["c",0.57,0.51,0.87,1.23,0.84,1.98],["c",-0.03,0.51,-0.21,0.9,-0.6,1.26],["c",-0.24,0.24,-0.45,0.39,-0.75,0.51],["c",-0.21,0.06,-0.27,0.06,-0.6,0.06],["c",-0.33,0,-0.39,0,-0.6,-0.06],["c",-0.3,-0.12,-0.51,-0.27,-0.75,-0.51],["c",-0.39,-0.36,-0.57,-0.78,-0.57,-1.26],["c",0,-0.27,0,-0.3,0.09,-0.42],["c",0.03,-0.09,0.18,-0.21,0.3,-0.3],["c",0.12,-0.09,0.3,-0.21,0.39,-0.27],["c",0.09,-0.06,0.21,-0.18,0.27,-0.24],["c",0.06,-0.12,0.09,-0.15,0.09,-0.33],["c",0,-0.18,-0.03,-0.24,-0.09,-0.36],["c",-0.24,-0.39,-0.75,-0.6,-1.38,-0.57],["c",-0.54,0.03,-0.9,0.18,-1.23,0.48],["c",-0.81,0.72,-1.08,2.16,-0.96,5.37],["l",0,0.63],["l",0.3,-0.12],["c",0.78,-0.27,1.29,-0.33,2.1,-0.27],["c",1.47,0.12,2.49,0.54,3.27,1.29],["c",0.48,0.51,0.81,1.11,0.96,1.89],["c",0.06,0.27,0.06,0.42,0.06,0.93],["c",0,0.54,0,0.69,-0.06,0.96],["c",-0.15,0.78,-0.48,1.38,-0.96,1.89],["c",-0.54,0.51,-1.17,0.87,-1.98,1.08],["c",-1.14,0.3,-2.4,0.33,-3.24,0.03],["c",-1.5,-0.48,-2.64,-1.89,-3.27,-4.02],["c",-0.36,-1.23,-0.51,-2.82,-0.42,-4.08],["c",0.3,-3.66,2.28,-6.3,4.95,-6.66],["z"],["m",0.66,7.41],["c",-0.27,-0.09,-0.81,-0.12,-1.08,-0.06],["c",-0.72,0.18,-1.08,0.69,-1.23,1.71],["c",-0.06,0.54,-0.06,3,0,3.54],["c",0.18,1.26,0.72,1.77,1.8,1.74],["c",0.39,-0.03,0.63,-0.09,0.9,-0.27],["c",0.66,-0.42,0.9,-1.32,0.9,-3.24],["c",0,-2.22,-0.36,-3.12,-1.29,-3.42],["z"]],w:9.956,h:14.982},"7":{d:[["M",0.21,-14.97],["c",0.21,-0.06,0.45,0,0.54,0.15],["c",0.06,0.09,0.06,0.15,0.06,0.39],["c",0,0.24,0,0.33,0.06,0.42],["c",0.06,0.12,0.21,0.24,0.27,0.24],["c",0.03,0,0.12,-0.12,0.24,-0.21],["c",0.96,-1.2,2.58,-1.35,3.99,-0.42],["c",0.15,0.12,0.42,0.3,0.54,0.45],["c",0.48,0.39,0.81,0.57,1.29,0.6],["c",0.69,0.03,1.5,-0.3,2.13,-0.87],["c",0.09,-0.09,0.27,-0.3,0.39,-0.45],["c",0.12,-0.15,0.24,-0.27,0.3,-0.3],["c",0.18,-0.06,0.39,0.03,0.51,0.21],["c",0.06,0.18,0.06,0.24,-0.27,0.72],["c",-0.18,0.24,-0.54,0.78,-0.78,1.17],["c",-2.37,3.54,-3.54,6.27,-3.87,9],["c",-0.03,0.33,-0.03,0.66,-0.03,1.26],["c",0,0.9,0,1.08,0.15,1.89],["c",0.06,0.45,0.06,0.48,0.03,0.6],["c",-0.06,0.09,-0.21,0.21,-0.3,0.21],["c",-0.03,0,-0.27,-0.06,-0.54,-0.15],["c",-0.84,-0.27,-1.11,-0.3,-1.65,-0.3],["c",-0.57,0,-0.84,0.03,-1.56,0.27],["c",-0.6,0.18,-0.69,0.21,-0.81,0.15],["c",-0.12,-0.06,-0.21,-0.18,-0.21,-0.3],["c",0,-0.15,0.6,-1.44,1.2,-2.61],["c",1.14,-2.22,2.73,-4.68,5.1,-8.01],["c",0.21,-0.27,0.36,-0.48,0.33,-0.48],["c",0,0,-0.12,0.06,-0.27,0.12],["c",-0.54,0.3,-0.99,0.39,-1.56,0.39],["c",-0.75,0.03,-1.2,-0.18,-1.83,-0.75],["c",-0.99,-0.9,-1.83,-1.17,-2.31,-0.72],["c",-0.18,0.15,-0.36,0.51,-0.45,0.84],["c",-0.06,0.24,-0.06,0.33,-0.09,1.98],["c",0,1.62,-0.03,1.74,-0.06,1.8],["c",-0.15,0.24,-0.54,0.24,-0.69,0],["c",-0.06,-0.09,-0.06,-0.15,-0.06,-3.57],["c",0,-3.42,0,-3.48,0.06,-3.57],["c",0.03,-0.06,0.09,-0.12,0.15,-0.15],["z"]],w:10.561,h:15.093},"8":{d:[["M",4.98,-14.97],["c",0.33,-0.03,1.02,-0.03,1.32,0],["c",1.32,0.12,2.49,0.6,3.21,1.32],["c",0.39,0.39,0.66,0.81,0.78,1.29],["c",0.09,0.36,0.09,1.08,0,1.44],["c",-0.21,0.84,-0.66,1.59,-1.59,2.55],["l",-0.3,0.3],["l",0.27,0.18],["c",1.47,0.93,2.31,2.31,2.25,3.75],["c",-0.03,0.75,-0.24,1.35,-0.63,1.95],["c",-0.45,0.66,-1.02,1.14,-1.83,1.53],["c",-1.8,0.87,-4.2,0.87,-6,0.03],["c",-1.62,-0.78,-2.52,-2.16,-2.46,-3.66],["c",0.06,-0.99,0.54,-1.77,1.8,-2.97],["c",0.54,-0.51,0.54,-0.54,0.48,-0.57],["c",-0.39,-0.27,-0.96,-0.78,-1.2,-1.14],["c",-0.75,-1.11,-0.87,-2.4,-0.3,-3.6],["c",0.69,-1.35,2.25,-2.25,4.2,-2.4],["z"],["m",1.53,0.69],["c",-0.42,-0.09,-1.11,-0.12,-1.38,-0.06],["c",-0.3,0.06,-0.6,0.18,-0.81,0.3],["c",-0.21,0.12,-0.6,0.51,-0.72,0.72],["c",-0.51,0.87,-0.42,1.89,0.21,2.52],["c",0.21,0.21,0.36,0.3,1.95,1.23],["c",0.96,0.54,1.74,0.99,1.77,1.02],["c",0.09,0,0.63,-0.6,0.99,-1.11],["c",0.21,-0.36,0.48,-0.87,0.57,-1.23],["c",0.06,-0.24,0.06,-0.36,0.06,-0.72],["c",0,-0.45,-0.03,-0.66,-0.15,-0.99],["c",-0.39,-0.81,-1.29,-1.44,-2.49,-1.68],["z"],["m",-1.44,8.07],["l",-1.89,-1.08],["c",-0.03,0,-0.18,0.15,-0.39,0.33],["c",-1.2,1.08,-1.65,1.95,-1.59,3],["c",0.09,1.59,1.35,2.85,3.21,3.24],["c",0.33,0.06,0.45,0.06,0.93,0.06],["c",0.63,-0,0.81,-0.03,1.29,-0.27],["c",0.9,-0.42,1.47,-1.41,1.41,-2.4],["c",-0.06,-0.66,-0.39,-1.29,-0.9,-1.65],["c",-0.12,-0.09,-1.05,-0.63,-2.07,-1.23],["z"]],w:10.926,h:14.989},"9":{d:[["M",4.23,-14.97],["c",0.42,-0.03,1.29,0,1.62,0.06],["c",0.51,0.12,0.93,0.3,1.38,0.57],["c",1.53,1.02,2.52,3.24,2.73,5.94],["c",0.18,2.55,-0.48,4.98,-1.83,6.57],["c",-1.05,1.26,-2.4,1.89,-3.93,1.83],["c",-1.23,-0.06,-2.31,-0.45,-3.03,-1.14],["c",-0.57,-0.51,-0.87,-1.23,-0.84,-1.98],["c",0.03,-0.51,0.21,-0.9,0.6,-1.26],["c",0.24,-0.24,0.45,-0.39,0.75,-0.51],["c",0.21,-0.06,0.27,-0.06,0.6,-0.06],["c",0.33,-0,0.39,-0,0.6,0.06],["c",0.3,0.12,0.51,0.27,0.75,0.51],["c",0.39,0.36,0.57,0.78,0.57,1.26],["c",0,0.27,0,0.3,-0.09,0.42],["c",-0.03,0.09,-0.18,0.21,-0.3,0.3],["c",-0.12,0.09,-0.3,0.21,-0.39,0.27],["c",-0.09,0.06,-0.21,0.18,-0.27,0.24],["c",-0.06,0.12,-0.06,0.15,-0.06,0.33],["c",0,0.18,0,0.24,0.06,0.36],["c",0.24,0.39,0.75,0.6,1.38,0.57],["c",0.54,-0.03,0.9,-0.18,1.23,-0.48],["c",0.81,-0.72,1.08,-2.16,0.96,-5.37],["l",0,-0.63],["l",-0.3,0.12],["c",-0.78,0.27,-1.29,0.33,-2.1,0.27],["c",-1.47,-0.12,-2.49,-0.54,-3.27,-1.29],["c",-0.48,-0.51,-0.81,-1.11,-0.96,-1.89],["c",-0.06,-0.27,-0.06,-0.42,-0.06,-0.96],["c",0,-0.51,0,-0.66,0.06,-0.93],["c",0.15,-0.78,0.48,-1.38,0.96,-1.89],["c",0.15,-0.12,0.33,-0.27,0.42,-0.36],["c",0.69,-0.51,1.62,-0.81,2.76,-0.93],["z"],["m",1.17,0.66],["c",-0.21,-0.06,-0.57,-0.06,-0.81,-0.03],["c",-0.78,0.12,-1.26,0.69,-1.41,1.74],["c",-0.12,0.63,-0.15,1.95,-0.09,2.79],["c",0.12,1.71,0.63,2.4,1.77,2.46],["c",1.08,0.03,1.62,-0.48,1.8,-1.74],["c",0.06,-0.54,0.06,-3,0,-3.54],["c",-0.15,-1.05,-0.51,-1.53,-1.26,-1.68],["z"]],w:9.959,h:14.986},f:{d:[["M",9.93,-14.28],["c",1.53,-0.18,2.88,0.45,3.12,1.5],["c",0.12,0.51,0,1.32,-0.27,1.86],["c",-0.15,0.3,-0.42,0.57,-0.63,0.69],["c",-0.69,0.36,-1.56,0.03,-1.83,-0.69],["c",-0.09,-0.24,-0.09,-0.69,0,-0.87],["c",0.06,-0.12,0.21,-0.24,0.45,-0.42],["c",0.42,-0.24,0.57,-0.45,0.6,-0.72],["c",0.03,-0.33,-0.09,-0.39,-0.63,-0.42],["c",-0.3,0,-0.45,0,-0.6,0.03],["c",-0.81,0.21,-1.35,0.93,-1.74,2.46],["c",-0.06,0.27,-0.48,2.25,-0.48,2.31],["c",0,0.03,0.39,0.03,0.9,0.03],["c",0.72,0,0.9,0,0.99,0.06],["c",0.42,0.15,0.45,0.72,0.03,0.9],["c",-0.12,0.06,-0.24,0.06,-1.17,0.06],["l",-1.05,0],["l",-0.78,2.55],["c",-0.45,1.41,-0.87,2.79,-0.96,3.06],["c",-0.87,2.37,-2.37,4.74,-3.78,5.91],["c",-1.05,0.9,-2.04,1.23,-3.09,1.08],["c",-1.11,-0.18,-1.89,-0.78,-2.04,-1.59],["c",-0.12,-0.66,0.15,-1.71,0.54,-2.19],["c",0.69,-0.75,1.86,-0.54,2.22,0.39],["c",0.06,0.15,0.09,0.27,0.09,0.48],["c",-0,0.24,-0.03,0.27,-0.12,0.42],["c",-0.03,0.09,-0.15,0.18,-0.27,0.27],["c",-0.09,0.06,-0.27,0.21,-0.36,0.27],["c",-0.24,0.18,-0.36,0.36,-0.39,0.6],["c",-0.03,0.33,0.09,0.39,0.63,0.42],["c",0.42,0,0.63,-0.03,0.9,-0.15],["c",0.6,-0.3,0.96,-0.96,1.38,-2.64],["c",0.09,-0.42,0.63,-2.55,1.17,-4.77],["l",1.02,-4.08],["c",-0,-0.03,-0.36,-0.03,-0.81,-0.03],["c",-0.72,0,-0.81,0,-0.93,-0.06],["c",-0.42,-0.18,-0.39,-0.75,0.03,-0.9],["c",0.09,-0.06,0.27,-0.06,1.05,-0.06],["l",0.96,0],["l",0,-0.09],["c",0.06,-0.18,0.3,-0.72,0.51,-1.17],["c",1.2,-2.46,3.3,-4.23,5.34,-4.5],["z"]],w:16.155,h:19.445},m:{d:[["M",2.79,-8.91],["c",0.09,0,0.3,-0.03,0.45,-0.03],["c",0.24,0.03,0.3,0.03,0.45,0.12],["c",0.36,0.15,0.63,0.54,0.75,1.02],["l",0.03,0.21],["l",0.33,-0.3],["c",0.69,-0.69,1.38,-1.02,2.07,-1.02],["c",0.27,0,0.33,0,0.48,0.06],["c",0.21,0.09,0.48,0.36,0.63,0.6],["c",0.03,0.09,0.12,0.27,0.18,0.42],["c",0.03,0.15,0.09,0.27,0.12,0.27],["c",0,0,0.09,-0.09,0.18,-0.21],["c",0.33,-0.39,0.87,-0.81,1.29,-0.99],["c",0.78,-0.33,1.47,-0.21,2.01,0.33],["c",0.3,0.33,0.48,0.69,0.6,1.14],["c",0.09,0.42,0.06,0.54,-0.54,3.06],["c",-0.33,1.29,-0.57,2.4,-0.57,2.43],["c",0,0.12,0.09,0.21,0.21,0.21],["c",0.24,-0,0.75,-0.3,1.2,-0.72],["c",0.45,-0.39,0.6,-0.45,0.78,-0.27],["c",0.18,0.18,0.09,0.36,-0.45,0.87],["c",-1.05,0.96,-1.83,1.47,-2.58,1.71],["c",-0.93,0.33,-1.53,0.21,-1.8,-0.33],["c",-0.06,-0.15,-0.06,-0.21,-0.06,-0.45],["c",0,-0.24,0.03,-0.48,0.6,-2.82],["c",0.42,-1.71,0.6,-2.64,0.63,-2.79],["c",0.03,-0.57,-0.3,-0.75,-0.84,-0.48],["c",-0.24,0.12,-0.54,0.39,-0.66,0.63],["c",-0.03,0.09,-0.42,1.38,-0.9,3],["c",-0.9,3.15,-0.84,3,-1.14,3.15],["l",-0.15,0.09],["l",-0.78,0],["c",-0.6,0,-0.78,0,-0.84,-0.06],["c",-0.09,-0.03,-0.18,-0.18,-0.18,-0.27],["c",0,-0.03,0.36,-1.38,0.84,-2.97],["c",0.57,-2.04,0.81,-2.97,0.84,-3.12],["c",0.03,-0.54,-0.3,-0.72,-0.84,-0.45],["c",-0.24,0.12,-0.57,0.42,-0.66,0.63],["c",-0.06,0.09,-0.51,1.44,-1.05,2.97],["c",-0.51,1.56,-0.99,2.85,-0.99,2.91],["c",-0.06,0.12,-0.21,0.24,-0.36,0.3],["c",-0.12,0.06,-0.21,0.06,-0.9,0.06],["c",-0.6,0,-0.78,0,-0.84,-0.06],["c",-0.09,-0.03,-0.18,-0.18,-0.18,-0.27],["c",0,-0.03,0.45,-1.38,0.99,-2.97],["c",1.05,-3.18,1.05,-3.18,0.93,-3.45],["c",-0.12,-0.27,-0.39,-0.3,-0.72,-0.15],["c",-0.54,0.27,-1.14,1.17,-1.56,2.4],["c",-0.06,0.15,-0.15,0.3,-0.18,0.36],["c",-0.21,0.21,-0.57,0.27,-0.72,0.09],["c",-0.09,-0.09,-0.06,-0.21,0.06,-0.63],["c",0.48,-1.26,1.26,-2.46,2.01,-3.21],["c",0.57,-0.54,1.2,-0.87,1.83,-1.02],["z"]],w:14.687,h:9.126},p:{d:[["M",1.92,-8.7],["c",0.27,-0.09,0.81,-0.06,1.11,0.03],["c",0.54,0.18,0.93,0.51,1.17,0.99],["c",0.09,0.15,0.15,0.33,0.18,0.36],["l",-0,0.12],["l",0.3,-0.27],["c",0.66,-0.6,1.35,-1.02,2.13,-1.2],["c",0.21,-0.06,0.33,-0.06,0.78,-0.06],["c",0.45,0,0.51,0,0.84,0.09],["c",1.29,0.33,2.07,1.32,2.25,2.79],["c",0.09,0.81,-0.09,2.01,-0.45,2.79],["c",-0.54,1.26,-1.86,2.55,-3.18,3.03],["c",-0.45,0.18,-0.81,0.24,-1.29,0.24],["c",-0.69,-0.03,-1.35,-0.18,-1.86,-0.45],["c",-0.3,-0.15,-0.51,-0.18,-0.69,-0.09],["c",-0.09,0.03,-0.18,0.09,-0.18,0.12],["c",-0.09,0.12,-1.05,2.94,-1.05,3.06],["c",0,0.24,0.18,0.48,0.51,0.63],["c",0.18,0.06,0.54,0.15,0.75,0.15],["c",0.21,0,0.36,0.06,0.42,0.18],["c",0.12,0.18,0.06,0.42,-0.12,0.54],["c",-0.09,0.03,-0.15,0.03,-0.78,0],["c",-1.98,-0.15,-3.81,-0.15,-5.79,0],["c",-0.63,0.03,-0.69,0.03,-0.78,0],["c",-0.24,-0.15,-0.24,-0.57,0.03,-0.66],["c",0.06,-0.03,0.48,-0.09,0.99,-0.12],["c",0.87,-0.06,1.11,-0.09,1.35,-0.21],["c",0.18,-0.06,0.33,-0.18,0.39,-0.3],["c",0.06,-0.12,3.24,-9.42,3.27,-9.6],["c",0.06,-0.33,0.03,-0.57,-0.15,-0.69],["c",-0.09,-0.06,-0.12,-0.06,-0.3,-0.06],["c",-0.69,0.06,-1.53,1.02,-2.28,2.61],["c",-0.09,0.21,-0.21,0.45,-0.27,0.51],["c",-0.09,0.12,-0.33,0.24,-0.48,0.24],["c",-0.18,0,-0.36,-0.15,-0.36,-0.3],["c",0,-0.24,0.78,-1.83,1.26,-2.55],["c",0.72,-1.11,1.47,-1.74,2.28,-1.92],["z"],["m",5.37,1.47],["c",-0.27,-0.12,-0.75,-0.03,-1.14,0.21],["c",-0.75,0.48,-1.47,1.68,-1.89,3.15],["c",-0.45,1.47,-0.42,2.34,0,2.7],["c",0.45,0.39,1.26,0.21,1.83,-0.36],["c",0.51,-0.51,0.99,-1.68,1.38,-3.27],["c",0.3,-1.17,0.33,-1.74,0.15,-2.13],["c",-0.09,-0.15,-0.15,-0.21,-0.33,-0.3],["z"]],w:14.689,h:13.127},r:{d:[["M",6.33,-9.12],["c",0.27,-0.03,0.93,0,1.2,0.06],["c",0.84,0.21,1.23,0.81,1.02,1.53],["c",-0.24,0.75,-0.9,1.17,-1.56,0.96],["c",-0.33,-0.09,-0.51,-0.3,-0.66,-0.75],["c",-0.03,-0.12,-0.09,-0.24,-0.12,-0.3],["c",-0.09,-0.15,-0.3,-0.24,-0.48,-0.24],["c",-0.57,0,-1.38,0.54,-1.65,1.08],["c",-0.06,0.15,-0.33,1.17,-0.9,3.27],["c",-0.57,2.31,-0.81,3.12,-0.87,3.21],["c",-0.03,0.06,-0.12,0.15,-0.18,0.21],["l",-0.12,0.06],["l",-0.81,0.03],["c",-0.69,0,-0.81,0,-0.9,-0.03],["c",-0.09,-0.06,-0.18,-0.21,-0.18,-0.3],["c",0,-0.06,0.39,-1.62,0.9,-3.51],["c",0.84,-3.24,0.87,-3.45,0.87,-3.72],["c",0,-0.21,0,-0.27,-0.03,-0.36],["c",-0.12,-0.15,-0.21,-0.24,-0.42,-0.24],["c",-0.24,0,-0.45,0.15,-0.78,0.42],["c",-0.33,0.36,-0.45,0.54,-0.72,1.14],["c",-0.03,0.12,-0.21,0.24,-0.36,0.27],["c",-0.12,0,-0.15,0,-0.24,-0.06],["c",-0.18,-0.12,-0.18,-0.21,-0.06,-0.54],["c",0.21,-0.57,0.42,-0.93,0.78,-1.32],["c",0.54,-0.51,1.2,-0.81,1.95,-0.87],["c",0.81,-0.03,1.53,0.3,1.92,0.87],["l",0.12,0.18],["l",0.09,-0.09],["c",0.57,-0.45,1.41,-0.84,2.19,-0.96],["z"]],w:9.41,h:9.132},s:{d:[["M",4.47,-8.73],["c",0.09,0,0.36,-0.03,0.57,-0.03],["c",0.75,0.03,1.29,0.24,1.71,0.63],["c",0.51,0.54,0.66,1.26,0.36,1.83],["c",-0.24,0.42,-0.63,0.57,-1.11,0.42],["c",-0.33,-0.09,-0.6,-0.36,-0.6,-0.57],["c",0,-0.03,0.06,-0.21,0.15,-0.39],["c",0.12,-0.21,0.15,-0.33,0.18,-0.48],["c",0,-0.24,-0.06,-0.48,-0.15,-0.6],["c",-0.15,-0.21,-0.42,-0.24,-0.75,-0.15],["c",-0.27,0.06,-0.48,0.18,-0.69,0.36],["c",-0.39,0.39,-0.51,0.96,-0.33,1.38],["c",0.09,0.21,0.42,0.51,0.78,0.72],["c",1.11,0.69,1.59,1.11,1.89,1.68],["c",0.21,0.39,0.24,0.78,0.15,1.29],["c",-0.18,1.2,-1.17,2.16,-2.52,2.52],["c",-1.02,0.24,-1.95,0.12,-2.7,-0.42],["c",-0.72,-0.51,-0.99,-1.47,-0.6,-2.19],["c",0.24,-0.48,0.72,-0.63,1.17,-0.42],["c",0.33,0.18,0.54,0.45,0.57,0.81],["c",0,0.21,-0.03,0.3,-0.33,0.51],["c",-0.33,0.24,-0.39,0.42,-0.27,0.69],["c",0.06,0.15,0.21,0.27,0.45,0.33],["c",0.3,0.09,0.87,0.09,1.2,-0],["c",0.75,-0.21,1.23,-0.72,1.29,-1.35],["c",0.03,-0.42,-0.15,-0.81,-0.54,-1.2],["c",-0.24,-0.24,-0.48,-0.42,-1.41,-1.02],["c",-0.69,-0.42,-1.05,-0.93,-1.05,-1.47],["c",0,-0.39,0.12,-0.87,0.3,-1.23],["c",0.27,-0.57,0.78,-1.05,1.38,-1.35],["c",0.24,-0.12,0.63,-0.27,0.9,-0.3],["z"]],w:6.632,h:8.758},z:{d:[["M",2.64,-7.95],["c",0.36,-0.09,0.81,-0.03,1.71,0.27],["c",0.78,0.21,0.96,0.27,1.74,0.3],["c",0.87,0.06,1.02,0.03,1.38,-0.21],["c",0.21,-0.15,0.33,-0.15,0.48,-0.06],["c",0.15,0.09,0.21,0.3,0.15,0.45],["c",-0.03,0.06,-1.26,1.26,-2.76,2.67],["l",-2.73,2.55],["l",0.54,0.03],["c",0.54,0.03,0.72,0.03,2.01,0.15],["c",0.36,0.03,0.9,0.06,1.2,0.09],["c",0.66,0,0.81,-0.03,1.02,-0.24],["c",0.3,-0.3,0.39,-0.72,0.27,-1.23],["c",-0.06,-0.27,-0.06,-0.27,-0.03,-0.39],["c",0.15,-0.3,0.54,-0.27,0.69,0.03],["c",0.15,0.33,0.27,1.02,0.27,1.5],["c",0,1.47,-1.11,2.7,-2.52,2.79],["c",-0.57,0.03,-1.02,-0.09,-2.01,-0.51],["c",-1.02,-0.42,-1.23,-0.48,-2.13,-0.54],["c",-0.81,-0.06,-0.96,-0.03,-1.26,0.18],["c",-0.12,0.06,-0.24,0.12,-0.27,0.12],["c",-0.27,0,-0.45,-0.3,-0.36,-0.51],["c",0.03,-0.06,1.32,-1.32,2.91,-2.79],["l",2.88,-2.73],["c",-0.03,0,-0.21,0.03,-0.42,0.06],["c",-0.21,0.03,-0.78,0.09,-1.23,0.12],["c",-1.11,0.12,-1.23,0.15,-1.95,0.27],["c",-0.72,0.15,-1.17,0.18,-1.29,0.09],["c",-0.27,-0.18,-0.21,-0.75,0.12,-1.26],["c",0.39,-0.6,0.93,-1.02,1.59,-1.2],["z"]],w:8.573,h:8.743},"+":{d:[["M",3.48,-11.19],["c",0.18,-0.09,0.36,-0.09,0.54,0],["c",0.18,0.09,0.24,0.15,0.33,0.3],["l",0.06,0.15],["l",0,1.29],["l",0,1.29],["l",1.29,0],["c",1.23,0,1.29,0,1.41,0.06],["c",0.06,0.03,0.15,0.09,0.18,0.12],["c",0.12,0.09,0.21,0.33,0.21,0.48],["c",0,0.15,-0.09,0.39,-0.21,0.48],["c",-0.03,0.03,-0.12,0.09,-0.18,0.12],["c",-0.12,0.06,-0.18,0.06,-1.41,0.06],["l",-1.29,0],["l",0,1.29],["c",0,1.23,0,1.29,-0.06,1.41],["c",-0.09,0.18,-0.15,0.24,-0.3,0.33],["c",-0.21,0.09,-0.39,0.09,-0.57,0],["c",-0.18,-0.09,-0.24,-0.15,-0.33,-0.33],["c",-0.06,-0.12,-0.06,-0.18,-0.06,-1.41],["l",0,-1.29],["l",-1.29,0],["c",-1.23,0,-1.29,0,-1.41,-0.06],["c",-0.18,-0.09,-0.24,-0.15,-0.33,-0.33],["c",-0.09,-0.18,-0.09,-0.36,0,-0.54],["c",0.09,-0.18,0.15,-0.24,0.33,-0.33],["l",0.15,-0.06],["l",1.26,0],["l",1.29,0],["l",0,-1.29],["c",0,-1.23,0,-1.29,0.06,-1.41],["c",0.09,-0.18,0.15,-0.24,0.33,-0.33],["z"]],w:7.507,h:7.515},",":{d:[["M",1.32,-3.36],["c",0.57,-0.15,1.17,0.03,1.59,0.45],["c",0.45,0.45,0.6,0.96,0.51,1.89],["c",-0.09,1.23,-0.42,2.46,-0.99,3.93],["c",-0.3,0.72,-0.72,1.62,-0.78,1.68],["c",-0.18,0.21,-0.51,0.18,-0.66,-0.06],["c",-0.03,-0.06,-0.06,-0.15,-0.06,-0.18],["c",0,-0.06,0.12,-0.33,0.24,-0.63],["c",0.84,-1.8,1.02,-2.61,0.69,-3.24],["c",-0.12,-0.24,-0.27,-0.36,-0.75,-0.6],["c",-0.36,-0.15,-0.42,-0.21,-0.6,-0.39],["c",-0.69,-0.69,-0.69,-1.71,0,-2.4],["c",0.21,-0.21,0.51,-0.39,0.81,-0.45],["z"]],w:3.452,h:8.143},"-":{d:[["M",0.18,-5.34],["c",0.09,-0.06,0.15,-0.06,2.31,-0.06],["c",2.46,0,2.37,0,2.46,0.21],["c",0.12,0.21,0.03,0.42,-0.15,0.54],["c",-0.09,0.06,-0.15,0.06,-2.28,0.06],["c",-2.16,0,-2.22,0,-2.31,-0.06],["c",-0.27,-0.15,-0.27,-0.54,-0.03,-0.69],["z"]],w:5.001,h:0.81},".":{d:[["M",1.32,-3.36],["c",1.05,-0.27,2.1,0.57,2.1,1.65],["c",0,1.08,-1.05,1.92,-2.1,1.65],["c",-0.9,-0.21,-1.5,-1.14,-1.26,-2.04],["c",0.12,-0.63,0.63,-1.11,1.26,-1.26],["z"]],w:3.413,h:3.402}};
 
this.printSymbol=function(b,g,c,f){if(!a[c]){return null}var d=this.pathClone(a[c].d);d[0][1]+=b;d[0][2]+=g;var e=f.path().attr({path:d,stroke:"none",fill:"#000000"});return e};this.getPathForSymbol=function(b,g,e,d,c){var d=d||1;var c=c||1;if(!a[e]){return null}var f=this.pathClone(a[e].d);if(d!=1||c!=1){this.pathScale(f,d,c)}f[0][1]+=b;f[0][2]+=g;return f};this.getSymbolWidth=function(b){if(a[b]){return a[b].w}return 0};this.getSymbolHeight=function(b){if(a[b]){return a[b].h}return 0};this.getSymbolAlign=function(b){if(b.substring(0,7)==="scripts"&&b!=="scripts.roll"){return"center"}return"left"};this.pathClone=function(g){var d=[];for(var c=0,e=g.length;c<e;c++){d[c]=[];for(var b=0,f=g[c].length;b<f;b++){d[c][b]=g[c][b]}}return d};this.pathScale=function(f,e,c){for(var b=0,d=f.length;b<d;b++){var g=f[b];for(j=1,jj=g.length;j<jj;j++){g[j]*=(j%2)?e:c}}};this.getYCorr=function(b){switch(b){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":return -3;case"timesig.common":case"timesig.cut":return -1;case"flags.d32nd":return -1;case"flags.d64th":return -2;case"flags.u32nd":return 1;case"flags.u64th":return 3;case"rests.whole":return 1;case"rests.half":return -1;case"rests.8th":return -1;case"rests.quarter":return -2;case"rests.16th":return -1;case"rests.32nd":return -1;case"rests.64th":return -1;default:return 0}}};function ABCStaffGroupElement(){this.voices=[];this.staffs=[];this.stafflines=[]}ABCStaffGroupElement.prototype.addVoice=function(c,b,a){this.voices[this.voices.length]=c;if(!this.staffs[b]){this.staffs[this.staffs.length]={top:0,highest:7,lowest:7};this.stafflines[this.stafflines.length]=a}c.staff=this.staffs[b]};ABCStaffGroupElement.prototype.finished=function(){for(var a=0;a<this.voices.length;a++){if(!this.voices[a].layoutEnded()){return false}}return true};ABCStaffGroupElement.prototype.layout=function(f,n){this.spacingunits=0;this.minspace=1000;var k=n.paddingleft;var a=0;for(var d=0;d<this.voices.length;d++){if(this.voices[d].header){var o=n.paper.text(100,-10,this.voices[d].header).attr({"font-size":12,"font-family":"serif"});a=Math.max(a,o.getBBox().width);o.remove()}}k=k+a*1.1;this.startx=k;var c=0;for(var d=0;d<this.voices.length;d++){this.voices[d].beginLayout(k)}while(!this.finished()){c=null;for(var d=0;d<this.voices.length;d++){if(!this.voices[d].layoutEnded()&&(!c||this.voices[d].getDurationIndex()<c)){c=this.voices[d].getDurationIndex()}}var m=[];var l=[];for(var d=0;d<this.voices.length;d++){if(this.voices[d].getDurationIndex()!=c){l.push(this.voices[d])}else{m.push(this.voices[d])}}var h=0;for(var d=0;d<m.length;d++){if(m[d].nextx>k){k=m[d].nextx;h=m[d].spacingunits}}this.spacingunits+=h;this.minspace=Math.min(this.minspace,h);for(var d=0;d<l.length;d++){if(l[d].spacingunits-=h){}}for(var d=0;d<m.length;d++){var e=m[d].layoutOneItem(k,f);var p=e-k;if(p>0){k=e;for(var b=0;b<d;b++){m[b].shiftRight(p)}}}for(var d=0;d<m.length;d++){var g=m[d];g.updateIndices()}}for(var d=0;d<this.voices.length;d++){if(this.voices[d].nextx>k){k=this.voices[d].nextx;h=this.voices[d].spacingunits}}this.spacingunits+=h;this.w=k;for(var d=0;d<this.voices.length;d++){this.voices[d].w=this.w}};ABCStaffGroupElement.prototype.draw=function(e,h){this.y=h;for(var d=0;d<this.staffs.length;d++){var c=this.staffs[d].highest-((d==0)?20:15);var b=this.staffs[d].lowest-((d==this.staffs.length-1)?0:0);this.staffs[d].top=h;if(c>0){h+=c*AbcSpacing.STEP}this.staffs[d].y=h;h+=AbcSpacing.STAVEHEIGHT*0.9;if(b<0){h-=b*AbcSpacing.STEP}this.staffs[d].bottom=h}this.height=h-this.y;var g=0;for(var d=0;d<this.voices.length;d++){this.voices[d].draw(e,g);g=this.voices[d].barbottom}if(this.staffs.length>1){e.y=this.staffs[0].y;var f=e.calcY(10);e.y=this.staffs[this.staffs.length-1].y;var a=e.calcY(2);e.printStem(this.startx,0.6,f,a)}for(var d=0;d<this.staffs.length;d++){if(this.stafflines[d]===0){continue}e.y=this.staffs[d].y;e.printStave(this.startx,this.w)}};function ABCVoiceElement(b,a){this.children=[];this.beams=[];this.otherchildren=[];this.w=0;this.duplicate=false;this.voicenumber=b;this.voicetotal=a}ABCVoiceElement.prototype.addChild=function(a){this.children[this.children.length]=a};ABCVoiceElement.prototype.addOther=function(a){if(a instanceof ABCBeamElem){this.beams.push(a)}else{this.otherchildren.push(a)}};ABCVoiceElement.prototype.updateIndices=function(){if(!this.layoutEnded()){this.durationindex+=this.children[this.i].duration;this.i++;this.minx=this.nextminx}};ABCVoiceElement.prototype.layoutEnded=function(){return(this.i>=this.children.length)};ABCVoiceElement.prototype.getDurationIndex=function(){return this.durationindex-(this.children[this.i]&&(this.children[this.i].duration>0)?0:5e-7)};ABCVoiceElement.prototype.beginLayout=function(a){this.i=0;this.durationindex=0;this.ii=this.children.length;this.startx=a;this.minx=a;this.nextminx=a;this.nextx=a;this.spacingunits=0};ABCVoiceElement.prototype.layoutOneItem=function(a,d){var c=this.children[this.i];if(!c){return 0}var b=a-this.minx;if(b<c.getExtraWidth()){a+=c.getExtraWidth()-b}c.x=a;a+=(d*Math.sqrt(c.duration*8));this.nextminx=c.x+c.getMinWidth();(this.i!=this.ii-1)&&(this.nextminx+=c.minspacing);if(this.nextminx>a){a=this.nextminx;this.spacingunits=0}else{this.spacingunits=Math.sqrt(c.duration*8)}this.nextx=a;this.staff.highest=Math.max(c.top,this.staff.highest);this.staff.lowest=Math.min(c.bottom,this.staff.lowest);return c.x};ABCVoiceElement.prototype.shiftRight=function(a){var b=this.children[this.i];if(!b){return}b.x+=a;this.nextminx+=a;this.nextx+=a};ABCVoiceElement.prototype.draw=function(e,f){var c=this.w-1;e.y=this.staff.y;e.staffbottom=this.staff.bottom;this.barbottom=e.calcY(2);if(this.header){var d=12-(this.voicenumber+1)*(12/(this.voicetotal+1));e.paper.text((this.startx-e.paddingleft)/2+e.paddingleft,e.calcY(d),this.header).attr({"font-size":12,"font-family":"serif"})}for(var a=0,b=this.children.length;a<b;a++){this.children[a].draw(e,(this.barto||a==b-1)?f:0)}this.beams.each(function(g){g.draw(e)});this.otherchildren.each(function(g){g.draw(e,this.startx+10,c)})};function ABCAbsoluteElement(c,b,a){this.abcelem=c;this.duration=b;this.minspacing=a||0;this.x=0;this.children=[];this.heads=[];this.extra=[];this.extraw=0;this.decs=[];this.w=0;this.right=[];this.invisible=false;this.bottom=7;this.top=7}ABCAbsoluteElement.prototype.getMinWidth=function(){return this.w};ABCAbsoluteElement.prototype.getExtraWidth=function(){return -this.extraw};ABCAbsoluteElement.prototype.addExtra=function(a){if(a.dx<this.extraw){this.extraw=a.dx}this.extra[this.extra.length]=a;this.addChild(a)};ABCAbsoluteElement.prototype.addHead=function(a){if(a.dx<this.extraw){this.extraw=a.dx}this.heads[this.heads.length]=a;this.addRight(a)};ABCAbsoluteElement.prototype.addRight=function(a){if(a.dx+a.w>this.w){this.w=a.dx+a.w}this.right[this.right.length]=a;this.addChild(a)};ABCAbsoluteElement.prototype.addChild=function(a){a.parent=this;this.children[this.children.length]=a;this.pushTop(a.top);this.pushBottom(a.bottom)
 
};ABCAbsoluteElement.prototype.pushTop=function(a){this.top=Math.max(a,this.top)};ABCAbsoluteElement.prototype.pushBottom=function(a){this.bottom=Math.min(a,this.bottom)};ABCAbsoluteElement.prototype.draw=function(e,f){this.elemset=e.paper.set();if(this.invisible){return}e.beginGroup();for(var d=0;d<this.children.length;d++){this.elemset.push(this.children[d].draw(e,this.x,f))}this.elemset.push(e.endGroup());var c=this;this.elemset.mouseup(function(k){e.notifySelect(c)});this.abcelem.abselem=this;var h=AbcSpacing.STEP*e.scale;var g=function(){this.dy=0},b=function(l,k){k=Math.round(k/h)*h;this.translate(0,-this.dy);this.dy=k;this.translate(0,this.dy)},a=function(){var k=-Math.round(this.dy/h);c.abcelem.pitches[0].pitch+=k;c.abcelem.pitches[0].verticalPos+=k;e.notifyChange()};if(this.abcelem.el_type=="note"&&e.editable){this.elemset.drag(b,g,a)}};ABCAbsoluteElement.prototype.highlight=function(){this.elemset.attr({fill:"#ff0000"})};ABCAbsoluteElement.prototype.unhighlight=function(){this.elemset.attr({fill:"#000000"})};function ABCRelativeElement(f,b,a,e,d){d=d||{};this.x=0;this.c=f;this.dx=b;this.w=a;this.pitch=e;this.scalex=d.scalex||1;this.scaley=d.scaley||1;this.type=d.type||"symbol";this.pitch2=d.pitch2;this.linewidth=d.linewidth;this.attributes=d.attributes;this.top=e+((d.extreme=="above")?7:0);this.bottom=e-((d.extreme=="below")?7:0)}ABCRelativeElement.prototype.draw=function(b,a,c){this.x=a+this.dx;switch(this.type){case"symbol":if(this.c===null){return null}this.graphelem=b.printSymbol(this.x,this.pitch,this.c,this.scalex,this.scaley);break;case"debug":this.graphelem=b.debugMsg(this.x,this.c);break;case"debugLow":this.graphelem=b.debugMsgLow(this.x,this.c);break;case"text":this.graphelem=b.printText(this.x,this.pitch,this.c);break;case"bar":this.graphelem=b.printStem(this.x,this.linewidth,b.calcY(this.pitch),(c)?c:b.calcY(this.pitch2));break;case"stem":this.graphelem=b.printStem(this.x,this.linewidth,b.calcY(this.pitch),b.calcY(this.pitch2));break;case"ledger":this.graphelem=b.printStaveLine(this.x,this.x+this.w,this.pitch);break}if(this.scalex!=1&&this.graphelem){this.graphelem.scale(this.scalex,this.scaley,this.x,b.calcY(this.pitch))}if(this.attributes){this.graphelem.attr(this.attributes)}return this.graphelem};function ABCEndingElem(c,b,a){this.text=c;this.anchor1=b;this.anchor2=a}ABCEndingElem.prototype.draw=function(c,d,b){var a;if(this.anchor1){d=this.anchor1.x+this.anchor1.w;a=sprintf("M %f %f L %f %f",d,c.y,d,c.y+10);c.printPath({path:a,stroke:"#000000",fill:"#000000"});c.printText(d+5,18.5,this.text).attr({"font-size":"10px"})}if(this.anchor2){b=this.anchor2.x;a=sprintf("M %f %f L %f %f",b,c.y,b,c.y+10);c.printPath({path:a,stroke:"#000000",fill:"#000000"})}a=sprintf("M %f %f L %f %f",d,c.y,b,c.y);c.printPath({path:a,stroke:"#000000",fill:"#000000"})};function ABCTieElem(d,b,a,c){this.anchor1=d;this.anchor2=b;this.above=a;this.force=c}ABCTieElem.prototype.draw=function(e,g,c){var f;var d;if(this.startlimitelem){g=this.startlimitelem.x+this.startlimitelem.w}if(this.endlimitelem){c=this.endlimitelem.x}if(this.anchor1){g=this.anchor1.x;f=this.anchor1.pitch;if(!this.anchor2){d=this.anchor1.pitch}}if(this.anchor2){c=this.anchor2.x;d=this.anchor2.pitch;if(!this.anchor1){f=this.anchor2.pitch}}if(this.anchor1&&this.anchor2){if((!this.force&&this.anchor1.parent.beam&&this.anchor2.parent.beam&&this.anchor1.parent.beam.asc===this.anchor2.parent.beam.asc)||((this.force=="up")||this.force=="down")&&this.anchor1.parent.beam&&this.anchor2.parent.beam&&this.anchor1.parent.beam==this.anchor2.parent.beam){this.above=!this.anchor1.parent.beam.asc;var b=true}}var a=0;if(this.force=="up"&&!b){a=7}if(this.force=="down"&&!b){a=-7}e.drawArc(g,c,f+a,d+a,this.above)};function ABCTripletElem(d,c,b,a){this.anchor1=c;this.anchor2=b;this.above=a;this.number=d}ABCTripletElem.prototype.draw=function(d,g,c){if(this.anchor1&&this.anchor2){var f=this.above?14:-1;if(this.anchor1.parent.beam&&this.anchor1.parent.beam===this.anchor2.parent.beam){var b=this.anchor1.parent.beam;this.above=b.asc;f=b.pos}else{this.drawLine(d,d.calcY(f))}var e=this.anchor1.x+this.anchor2.x;var a=0;if(b){if(this.above){e+=(this.anchor2.w+this.anchor1.w);a=4}else{a=-4}}else{e+=this.anchor2.w}d.printText(e/2,f+a,this.number,"middle").attr({"font-size":"10px"})}};ABCTripletElem.prototype.drawLine=function(c,e){var b;var d=this.anchor1.x;b=sprintf("M %f %f L %f %f",d,e,d,e+5);c.printPath({path:b,stroke:"#000000"});var a=this.anchor2.x+this.anchor2.w;b=sprintf("M %f %f L %f %f",a,e,a,e+5);c.printPath({path:b,stroke:"#000000"});b=sprintf("M %f %f L %f %f",d,e,(d+a)/2-5,e);c.printPath({path:b,stroke:"#000000"});b=sprintf("M %f %f L %f %f",(d+a)/2+5,e,a,e);c.printPath({path:b,stroke:"#000000"})};function ABCBeamElem(a,b){this.isflat=(b);this.isgrace=(a&&a==="grace");this.forceup=(a&&a==="up");this.forcedown=(a&&a==="down");this.elems=[];this.total=0;this.dy=(this.asc)?AbcSpacing.STEP*1.2:-AbcSpacing.STEP*1.2;if(this.isgrace){this.dy=this.dy*0.4}this.allrests=true}ABCBeamElem.prototype.add=function(a){var b=a.abcelem.averagepitch;if(b===undefined){return}this.allrests=this.allrests&&a.abcelem.rest;a.beam=this;this.elems.push(a);var b=a.abcelem.averagepitch;this.total+=b;if(!this.min||a.abcelem.minpitch<this.min){this.min=a.abcelem.minpitch}if(!this.max||a.abcelem.maxpitch>this.max){this.max=a.abcelem.maxpitch}};ABCBeamElem.prototype.average=function(){try{return this.total/this.elems.length}catch(a){return 0}};ABCBeamElem.prototype.draw=function(a){if(this.elems.length===0||this.allrests){return}this.drawBeam(a);this.drawStems(a)};ABCBeamElem.prototype.drawBeam=function(k){var b=this.average();var h=(this.isgrace)?5:7;var a=5;this.asc=(this.forceup||this.isgrace||b<6)&&(!this.forcedown);this.pos=Math.round(this.asc?Math.max(b+h,this.max+a):Math.min(b-h,this.min-a));var f=this.elems[0].abcelem.averagepitch-this.elems[this.elems.length-1].abcelem.averagepitch;if(this.isflat){f=0}var e=this.elems.length/2;if(f>e){f=e}if(f<-e){f=-e}this.starty=k.calcY(this.pos+Math.floor(f/2));this.endy=k.calcY(this.pos+Math.floor(-f/2));var d=this.elems[0].heads[(this.asc)?0:this.elems[0].heads.length-1];var g=this.elems[this.elems.length-1].heads[(this.asc)?0:this.elems[this.elems.length-1].heads.length-1];this.startx=d.x;if(this.asc){this.startx+=d.w-0.6}this.endx=g.x;if(this.asc){this.endx+=g.w}var c="M"+this.startx+" "+this.starty+" L"+this.endx+" "+this.endy+"L"+this.endx+" "+(this.endy+this.dy)+" L"+this.startx+" "+(this.starty+this.dy)+"z";k.printPath({path:c,stroke:"none",fill:"#000000"})};ABCBeamElem.prototype.drawStems=function(r){var a=[];r.beginGroup();for(var g=0,q=this.elems.length;g<q;g++){if(this.elems[g].abcelem.rest){continue}var m=this.elems[g].heads[(this.asc)?0:this.elems[g].heads.length-1];var e=(this.isgrace)?1/3:1/5;var b=m.pitch+((this.asc)?e:-e);var o=r.calcY(b);var p=m.x+((this.asc)?m.w:0);var l=this.getBarYAt(p);var s=(this.asc)?-0.6:0.6;r.printStem(p,s,o,l);var n=(this.asc)?1.5*AbcSpacing.STEP:-1.5*AbcSpacing.STEP;
 
(this.isgrace)&&(n=n*2/3);for(var c=getDurlog(this.elems[g].duration);c<-3;c++){if(a[-4-c]){a[-4-c].single=false}else{a[-4-c]={x:p+((this.asc)?-0.6:0),y:l+n*(-4-c+1),durlog:c,single:true}}}for(var f=a.length-1;f>=0;f--){if(g===q-1||getDurlog(this.elems[g+1].duration)>(-f-4)){var k=p;var h=l+n*(f+1);if(a[f].single){k=(g===0)?p+5:p-5;h=this.getBarYAt(k)+n*(f+1)}var d="M"+a[f].x+" "+a[f].y+" L"+k+" "+h+"L"+k+" "+(h+this.dy)+" L"+a[f].x+" "+(a[f].y+this.dy)+"z";r.printPath({path:d,stroke:"none",fill:"#000000"});a=a.slice(0,f)}}}r.endGroup()};ABCBeamElem.prototype.getBarYAt=function(a){return this.starty+(this.endy-this.starty)/(this.endx-this.startx)*(a-this.startx)};var getDuration=function(a){var b=0;if(a.duration){b=a.duration}return b};var getDurlog=function(a){return Math.floor(Math.log(a)/Math.log(2))};function ABCLayout(b,a){this.glyphs=b;this.isBagpipes=a;this.chartable={rest:{0:"rests.whole",1:"rests.half",2:"rests.quarter",3:"rests.8th",4:"rests.16th",5:"rests.32nd",6:"rests.64th",7:"rests.128th"},note:{"-1":"noteheads.dbl",0:"noteheads.whole",1:"noteheads.half",2:"noteheads.quarter",3:"noteheads.quarter",4:"noteheads.quarter",5:"noteheads.quarter",6:"noteheads.quarter"},uflags:{3:"flags.u8th",4:"flags.u16th",5:"flags.u32nd",6:"flags.u64th"},dflags:{3:"flags.d8th",4:"flags.d16th",5:"flags.d32nd",6:"flags.d64th"}};this.slurs={};this.ties=[];this.slursbyvoice={};this.tiesbyvoice={};this.endingsbyvoice={};this.s=0;this.v=0;this.stafflines=5}ABCLayout.prototype.getCurrentVoiceId=function(){return"s"+this.s+"v"+this.v};ABCLayout.prototype.pushCrossLineElems=function(){this.slursbyvoice[this.getCurrentVoiceId()]=this.slurs;this.tiesbyvoice[this.getCurrentVoiceId()]=this.ties;this.endingsbyvoice[this.getCurrentVoiceId()]=this.partstartelem};ABCLayout.prototype.popCrossLineElems=function(){this.slurs=this.slursbyvoice[this.getCurrentVoiceId()]||{};this.ties=this.tiesbyvoice[this.getCurrentVoiceId()]||[];this.partstartelem=this.endingsbyvoice[this.getCurrentVoiceId()]};ABCLayout.prototype.getElem=function(){if(this.abcline.length<=this.pos){return null}return this.abcline[this.pos]};ABCLayout.prototype.getNextElem=function(){if(this.abcline.length<=this.pos+1){return null}return this.abcline[this.pos+1]};ABCLayout.prototype.printABCLine=function(a){this.staffgroup=new ABCStaffGroupElement();for(this.s=0;this.s<a.length;this.s++){this.printABCStaff(a[this.s])}return this.staffgroup};ABCLayout.prototype.printABCStaff=function(a){var b="";if(a.bracket){b+="bracket "+a.bracket+" "}if(a.brace){b+="brace "+a.brace+" "}for(this.v=0;this.v<a.voices.length;this.v++){this.voice=new ABCVoiceElement(this.v,a.voices.length);if(this.v===0){this.voice.barfrom=(a.connectBarLines==="start"||a.connectBarLines==="continue");this.voice.barto=(a.connectBarLines==="continue"||a.connectBarLines==="end")}else{this.voice.duplicate=true}if(a.title&&a.title[this.v]){this.voice.header=a.title[this.v]}this.voice.addChild(this.printClef(a.clef));this.voice.addChild(this.printKeySignature(a.key));if(a.meter){this.voice.addChild(this.printTimeSignature(a.meter))}this.printABCVoice(a.voices[this.v]);this.staffgroup.addVoice(this.voice,this.s,this.stafflines)}};ABCLayout.prototype.printABCVoice=function(b){this.popCrossLineElems();this.stemdir=(this.isBagpipes)?"down":null;this.abcline=b;if(this.partstartelem){this.partstartelem=new ABCEndingElem("",null,null);this.voice.addOther(this.partstartelem)}for(var a in this.slurs){if(this.slurs.hasOwnProperty(a)){this.slurs[a]=new ABCTieElem(null,null,this.slurs[a].above,this.slurs[a].force);this.voice.addOther(this.slurs[a])}}for(var c=0;c<this.ties.length;c++){this.ties[c]=new ABCTieElem(null,null,this.ties[c].above,this.ties[c].force);this.voice.addOther(this.ties[c])}for(this.pos=0;this.pos<this.abcline.length;this.pos++){var d=this.printABCElement();for(var c=0;c<d.length;c++){this.voice.addChild(d[c])}}this.pushCrossLineElems()};ABCLayout.prototype.printABCElement=function(){var c=[];var b=this.getElem();switch(b.el_type){case"note":c=this.printBeam();break;case"bar":c[0]=this.printBarLine(b);if(this.voice.duplicate){c[0].invisible=true}break;case"meter":c[0]=this.printTimeSignature(b);if(this.voice.duplicate){c[0].invisible=true}break;case"clef":c[0]=this.printClef(b);if(this.voice.duplicate){c[0].invisible=true}break;case"key":c[0]=this.printKeySignature(b);if(this.voice.duplicate){c[0].invisible=true}break;case"stem":this.stemdir=b.direction;break;case"part":var a=new ABCAbsoluteElement(b,0,0);a.addChild(new ABCRelativeElement(b.title,0,0,18,{type:"text",attributes:{"font-weight":"bold","font-size":"16px","font-family":"serif"}}));c[0]=a;break;default:var a=new ABCAbsoluteElement(b,0,0);a.addChild(new ABCRelativeElement("element type "+b.el_type,0,0,0,{type:"debug"}));c[0]=a}return c};ABCLayout.prototype.printBeam=function(){var b=[];if(this.getElem().startBeam&&!this.getElem().endBeam){var c=new ABCBeamElem(this.stemdir);while(this.getElem()){var a=this.printNote(this.getElem(),true);b.push(a);c.add(a);if(this.getElem().endBeam){break}this.pos++}this.voice.addOther(c)}else{b[0]=this.printNote(this.getElem())}return b};function sortPitch(c){var a;do{a=true;for(var d=0;d<c.pitches.length-1;d++){if(c.pitches[d].pitch>c.pitches[d+1].pitch){a=false;var b=c.pitches[d];c.pitches[d]=c.pitches[d+1];c.pitches[d+1]=b}}}while(!a)}ABCLayout.prototype.printNote=function(K,l){var f=null;var D=null;this.roomtaken=0;this.roomtakenright=0;var H=0;var L="";var F=null;var w,G,E;var B,e,b,s;var a=getDuration(K);var C=Math.floor(Math.log(a)/Math.log(2));var A=0;for(var r=Math.pow(2,C),n=r/2;r<a;A++,r+=n,n/=2){}var t=new ABCAbsoluteElement(K,a,1);if(K.rest){var N=7;if(this.stemdir=="down"){N=3}if(this.stemdir=="up"){N=11}switch(K.rest.type){case"rest":L=this.chartable.rest[-C];K.averagepitch=N;K.minpitch=N;K.maxpitch=N;break;case"invisible":case"spacer":L=""}f=this.printNoteHead(t,L,{verticalPos:N},null,0,-this.roomtaken,null,A,0,1);if(f){t.addHead(f)}this.roomtaken+=this.accidentalshiftx;this.roomtakenright=Math.max(this.roomtakenright,this.dotshiftx)}else{sortPitch(K);var g=0;for(w=0,E=K.pitches.length;w<E;w++){g+=K.pitches[w].verticalPos}K.averagepitch=g/K.pitches.length;K.minpitch=K.pitches[0].verticalPos;K.maxpitch=K.pitches[K.pitches.length-1].verticalPos;var z=(K.averagepitch>=6)?"down":"up";if(this.stemdir){z=this.stemdir}for(w=(z=="down")?K.pitches.length-2:1;(z=="down")?w>=0:w<K.pitches.length;w=(z=="down")?w-1:w+1){var v=K.pitches[(z=="down")?w+1:w-1];var J=K.pitches[w];var M=(z=="down")?v.pitch-J.pitch:J.pitch-v.pitch;if(M<=1&&!v.printer_shift){J.printer_shift=(M)?"different":"same";if(z=="down"){this.roomtaken=this.glyphs.getSymbolWidth(this.chartable.note[-C])+2}else{H=this.glyphs.getSymbolWidth(this.chartable.note[-C])+2}}}for(w=0;w<K.pitches.length;w++){if(!l){if((z=="down"&&w!==0)||(z=="up"&&w!=E-1)){F=null}else{F=this.chartable[(z=="down")?"dflags":"uflags"][-C]}L=this.chartable.note[-C]}else{L="noteheads.quarter"}if(((this.stemdir=="up"||z=="down")&&w==E-1)||((this.stemdir=="down"||z=="up")&&w==0)){if(K.startSlur){if(K.pitches[w].startSlur){for(var G=0;
 
G<K.startSlur.length;G++){K.pitches[w].startSlur.push(K.startSlur[G].label)}}else{K.pitches[w].startSlur=K.startSlur.label}}if(K.endSlur){if(K.pitches[w].endSlur){for(var G=0;G<K.endSlur.length;G++){K.pitches[w].endSlur.push(K.endSlur[G])}}else{K.pitches[w].endSlur=K.endSlur}}if(K.endSlur){K.pitches[w].endSlur=K.endSlur}}f=this.printNoteHead(t,L,K.pitches[w],z,0,-this.roomtaken,F,A,H,1);if(f){t.addHead(f)}this.roomtaken+=this.accidentalshiftx;this.roomtakenright=Math.max(this.roomtakenright,this.dotshiftx)}if(!l&&C<=-1){e=(z=="down")?K.minpitch-7:K.minpitch+1/3;if(e>6){e=6}b=(z=="down")?K.maxpitch-1/3:K.maxpitch+7;if(b<6){b=6}s=(z==="down"||t.heads.length===0)?0:t.heads[0].w;B=(z=="down")?1:-1;t.addExtra(new ABCRelativeElement(null,s,0,e,{type:"stem",pitch2:b,linewidth:B}))}}if(K.lyric!==undefined){var u="";K.lyric.each(function(c){u+=c.syllable+c.divider+"\n"});t.addRight(new ABCRelativeElement(u,0,u.length*5,0,{type:"debugLow"}))}if(K.gracenotes!==undefined){var I=3/5;var k=null;if(K.gracenotes.length>1){k=new ABCBeamElem("grace",this.isBagpipes)}var d=[];for(G=K.gracenotes.length-1;G>=0;G--){this.roomtaken+=10;d[G]=this.roomtaken;if(K.gracenotes[G].accidental){this.roomtaken+=7}}for(G=0;G<K.gracenotes.length;G++){var h=K.gracenotes[G].verticalPos;F=(k)?null:this.chartable.uflags[(this.isBagpipes)?5:3];D=this.printNoteHead(t,"noteheads.quarter",K.gracenotes[G],"up",-d[G],-d[G],F,0,0,I);t.addExtra(D);if(k){var q={heads:[D],abcelem:{averagepitch:h,minpitch:h,maxpitch:h},duration:(this.isBagpipes)?1/32:1/16};k.add(q)}else{e=h+1/3*I;b=h+7*I;s=D.dx+D.w;B=-0.6;t.addExtra(new ABCRelativeElement(null,s,0,e,{type:"stem",pitch2:b,linewidth:B}))}if(G==0&&!this.isBagpipes){this.voice.addOther(new ABCTieElem(D,f,false,true))}}if(k){this.voice.addOther(k)}}if(K.decoration){this.printDecoration(K.decoration,K.maxpitch,(f)?f.w:0,t,this.roomtaken)}if(K.barNumber){t.addChild(new ABCRelativeElement(K.barNumber,-10,0,0,{type:"debug"}))}for(G=K.maxpitch;G>11;G--){if(G%2===0&&!K.rest){t.addChild(new ABCRelativeElement(null,-2,this.glyphs.getSymbolWidth(L)+4,G,{type:"ledger"}))}}for(G=K.minpitch;G<1;G++){if(G%2===0&&!K.rest){t.addChild(new ABCRelativeElement(null,-2,this.glyphs.getSymbolWidth(L)+4,G,{type:"ledger"}))}}if(K.chord!==undefined){for(G=0;G<K.chord.length;G++){var o=0;var m=16;switch(K.chord[G].position){case"left":this.roomtaken+=7;o=-this.roomtaken;m=K.averagepitch;t.addExtra(new ABCRelativeElement(K.chord[G].name,o,this.glyphs.getSymbolWidth(K.chord[G].name[0])+4,m,{type:"text"}));break;case"right":this.roomtakenright+=4;o=this.roomtakenright;m=K.averagepitch;t.addRight(new ABCRelativeElement(K.chord[G].name,o,this.glyphs.getSymbolWidth(K.chord[G].name[0])+4,m,{type:"text"}));break;case"below":m=-3;default:t.addChild(new ABCRelativeElement(K.chord[G].name,o,0,m,{type:"text"}))}}}if(K.startTriplet){this.triplet=new ABCTripletElem(K.startTriplet,f,null,true);this.voice.addOther(this.triplet)}if(K.endTriplet){this.triplet.anchor2=f;this.triplet=null}return t};ABCLayout.prototype.printNoteHead=function(l,w,x,n,h,e,s,o,u,y){var k=x.verticalPos;var d;var t;this.accidentalshiftx=0;this.dotshiftx=0;if(w===undefined){l.addChild(new ABCRelativeElement("pitch is undefined",0,0,0,{type:"debug"}))}else{if(w===""){d=new ABCRelativeElement(null,0,0,k)}else{var m=h;if(x.printer_shift){var q=(x.printer_shift=="same")?1:0;m=(n=="down")?-this.glyphs.getSymbolWidth(w)*y+q:this.glyphs.getSymbolWidth(w)*y-q}d=new ABCRelativeElement(w,m,this.glyphs.getSymbolWidth(w)*y,k,{scalex:y,scaley:y,extreme:((n=="down")?"below":"above")});if(s){var g=k+((n=="down")?-7:7)*y;if(y=1&(n=="down")?(g>6):(g<6)){g=6}var p=(n=="down")?h:h+d.w-0.6;l.addRight(new ABCRelativeElement(s,p,this.glyphs.getSymbolWidth(s)*y,g,{scalex:y,scaley:y}))}this.dotshiftx=d.w+u-2+5*o;for(;o>0;o--){var a=(1-k%2);l.addRight(new ABCRelativeElement("dots.dot",d.w+u-2+5*o,this.glyphs.getSymbolWidth("dots.dot"),k+a))}}}if(x.accidental){var b;switch(x.accidental){case"quartersharp":b="accidentals.halfsharp";break;case"dblsharp":b="accidentals.dblsharp";break;case"sharp":b="accidentals.sharp";break;case"quarterflat":b="accidentals.halfflat";break;case"flat":b="accidentals.flat";break;case"dblflat":b="accidentals.dblflat";break;case"natural":b="accidentals.nat"}this.accidentalshiftx=(this.glyphs.getSymbolWidth(b)*y+2);l.addExtra(new ABCRelativeElement(b,e-this.accidentalshiftx,this.glyphs.getSymbolWidth(b),k,{scalex:y,scaley:y}))}if(x.endTie){if(this.ties[0]){this.ties[0].anchor2=d;this.ties=this.ties.slice(1,this.ties.length)}}if(x.startTie){var r=new ABCTieElem(d,null,(this.stemdir=="up"||n=="down")&&this.stemdir!="down",(this.stemdir=="down"||this.stemdir=="up"));this.ties[this.ties.length]=r;this.voice.addOther(r)}if(x.endSlur){for(t=0;t<x.endSlur.length;t++){var v=x.endSlur[t];var f;if(this.slurs[v]){f=this.slurs[v].anchor2=d;delete this.slurs[v]}else{f=new ABCTieElem(null,d,n=="down",(this.stemdir=="up"||n=="down")&&this.stemdir!="down",this.stemdir);this.voice.addOther(f)}if(this.startlimitelem){f.startlimitelem=this.startlimitelem}}}if(x.startSlur){for(t=0;t<x.startSlur.length;t++){var v=x.startSlur[t].label;var f=new ABCTieElem(d,null,(this.stemdir=="up"||n=="down")&&this.stemdir!="down",this.stemdir);this.slurs[v]=f;this.voice.addOther(f)}}return d};ABCLayout.prototype.printDecoration=function(k,a,b,m,o){var d;var g=[];var e=(a>9)?a+3:12;var c;var f;o=o||0;(a===5)&&(e=14);for(f=0;f<k.length;f++){if(k[f]==="staccato"){c=((this.stemdir=="down"||a>=6)&&this.stemdir!=="up")?a+2:a-2;(a===4)&&c--;((a===6)||(a===8))&&c++;(a>9)&&e++;var n=b/2;if(this.glyphs.getSymbolAlign("scripts.staccato")!=="center"){n-=(this.glyphs.getSymbolWidth(d)/2)}m.addChild(new ABCRelativeElement("scripts.staccato",n,this.glyphs.getSymbolWidth("scripts.staccato"),c))}if(k[f]==="slide"&&m.heads[0]){c=m.heads[0].pitch;var l=new ABCRelativeElement("",-o-15,0,c-1);var h=new ABCRelativeElement("",-o-5,0,c+1);m.addChild(l);m.addChild(h);this.voice.addOther(new ABCTieElem(l,h,false))}}for(f=0;f<k.length;f++){switch(k[f]){case"trill":d="scripts.trill";break;case"roll":d="scripts.roll";break;case"marcato":d="scripts.umarcato";break;case"marcato2":d="scriopts.dmarcato";break;case"turn":d="scripts.turn";break;case"uppermordent":d="scripts.prall";break;case"mordent":case"lowermordent":d="scripts.mordent";break;case"staccato":case"slide":continue;case"downbow":d="scripts.downbow";break;case"upbow":d="scripts.upbow";break;case"fermata":d="scripts.ufermata";break;case"invertedfermata":d="scripts.dfermata";break;case"breath":d=",";break;case"accent":d="scripts.sforzato";break;case"tenuto":d="scripts.tenuto";break;case"coda":d="scripts.coda";break;case"segno":d="scripts.segno";break;case"p":case"mp":case"ppp":case"pppp":case"f":case"ff":case"fff":case"ffff":case"sfz":case"mf":d=k[f];break;default:g[g.length]=k[f];continue}c=e;e+=3;var n=b/2;if(this.glyphs.getSymbolAlign(d)!=="center"){n-=(this.glyphs.getSymbolWidth(d)/2)}m.addChild(new ABCRelativeElement(d,n,this.glyphs.getSymbolWidth(d),c))
 
}(g.length>0)&&m.addChild(new ABCRelativeElement(g.join(","),0,0,0,{type:"debug"}))};ABCLayout.prototype.printBarLine=function(c){var k=new ABCAbsoluteElement(c,0,10);var d=null;var l=0;var a=(c.type==="bar_right_repeat"||c.type==="bar_dbl_repeat");var e=(c.type!="bar_left_repeat"&&c.type!="bar_thick_thin"&&c.type!="bar_invisible");var f=(c.type==="bar_right_repeat"||c.type==="bar_dbl_repeat"||c.type==="bar_left_repeat"||c.type==="bar_thin_thick"||c.type==="bar_thick_thin");var g=(c.type==="bar_left_repeat"||c.type==="bar_thick_thin"||c.type==="bar_thin_thin"||c.type==="bar_dbl_repeat");var b=(c.type==="bar_left_repeat"||c.type==="bar_dbl_repeat");if(a||b){for(var h in this.slurs){if(this.slurs.hasOwnProperty(h)){this.slurs[h].endlimitelem=k}}this.startlimitelem=k}if(a){k.addRight(new ABCRelativeElement("dots.dot",l,1,7));k.addRight(new ABCRelativeElement("dots.dot",l,1,5));l+=6}if(e){d=new ABCRelativeElement(null,l,1,2,{type:"bar",pitch2:10,linewidth:0.6});k.addRight(d)}if(c.type==="bar_invisible"){d=new ABCRelativeElement(null,l,1,2,{type:"none",pitch2:10,linewidth:0.6});k.addRight(d)}if(c.decoration){this.printDecoration(c.decoration,12,(f)?3:1,k)}if(f){l+=4;d=new ABCRelativeElement(null,l,4,2,{type:"bar",pitch2:10,linewidth:4});k.addRight(d);l+=5}if(this.partstartelem&&c.endEnding){this.partstartelem.anchor2=d;this.partstartelem=null}if(g){l+=3;d=new ABCRelativeElement(null,l,1,2,{type:"bar",pitch2:10,linewidth:0.6});k.addRight(d)}if(b){l+=3;k.addRight(new ABCRelativeElement("dots.dot",l,1,7));k.addRight(new ABCRelativeElement("dots.dot",l,1,5))}if(c.startEnding){this.partstartelem=new ABCEndingElem(c.startEnding,d,null);this.voice.addOther(this.partstartelem)}return k};ABCLayout.prototype.printClef=function(e){var g="clefs.G";var c=0;var f=4;var d=new ABCAbsoluteElement(e,0,10);switch(e.type){case"treble":break;case"tenor":g="clefs.C";f=8;break;case"alto":g="clefs.C";f=6;break;case"bass":g="clefs.F";f=8;break;case"treble+8":c=1;break;case"tenor+8":g="clefs.C";f=8;break;case"bass+8":g="clefs.F";f=8;break;case"alto+8":g="clefs.C";f=6;break;case"treble-8":c=-1;break;case"tenor-8":g="clefs.C";f=8;break;case"bass-8":g="clefs.F";f=8;break;case"alto-8":g="clefs.C";f=6;break;case"none":g="";break;case"perc":g="clefs.perc";f=6;break;default:d.addChild(new ABCRelativeElement("clef="+e.type,0,0,0,{type:"debug"}))}if(e.verticalPos){f=e.verticalPos}var b=10;if(g!==""){d.addRight(new ABCRelativeElement(g,b,this.glyphs.getSymbolWidth(g),f))}if(c!==0){var h=2/3;var a=(this.glyphs.getSymbolWidth(g)-this.glyphs.getSymbolWidth("8")*h)/2;d.addRight(new ABCRelativeElement("8",b+a,this.glyphs.getSymbolWidth("8")*h,(c>0)?16:-2,{scalex:h,scaley:h}))}if(e.stafflines===0){this.stafflines=0}else{this.stafflines=5}return d};ABCLayout.prototype.printKeySignature=function(c){var b=new ABCAbsoluteElement(c,0,10);var a=0;if(c.accidentals){c.accidentals.each(function(e){var d=(e.acc==="sharp")?"accidentals.sharp":(e.acc==="natural")?"accidentals.nat":"accidentals.flat";b.addRight(new ABCRelativeElement(d,a,this.glyphs.getSymbolWidth(d),e.verticalPos));a+=this.glyphs.getSymbolWidth(d)+2},this)}this.startlimitelem=b;return b};ABCLayout.prototype.printTimeSignature=function(c){var b=new ABCAbsoluteElement(c,0,20);if(c.type==="specified"){for(var a=0;a<c.value.length;a++){if(a!==0){b.addRight(new ABCRelativeElement("+",a*20-9,this.glyphs.getSymbolWidth("+"),7))}b.addRight(new ABCRelativeElement(c.value[a].num,a*20,this.glyphs.getSymbolWidth(c.value[a].num.charAt(0))*c.value[a].num.length,9));b.addRight(new ABCRelativeElement(c.value[a].den,a*20,this.glyphs.getSymbolWidth(c.value[a].den.charAt(0))*c.value[a].den.length,5))}}else{if(c.type==="common_time"){b.addRight(new ABCRelativeElement("timesig.common",0,this.glyphs.getSymbolWidth("timesig.common"),7))}else{if(c.type==="cut_time"){b.addRight(new ABCRelativeElement("timesig.cut",0,this.glyphs.getSymbolWidth("timesig.cut"),7))}}}this.startlimitelem=b;return b};var AbcSpacing=function(){};AbcSpacing.FONTEM=360;AbcSpacing.FONTSIZE=30;AbcSpacing.STEP=AbcSpacing.FONTSIZE*93/720;AbcSpacing.SPACE=10;AbcSpacing.TOPNOTE=20;AbcSpacing.STAVEHEIGHT=100;function ABCPrinter(b,a){a=a||{};this.y=0;this.paper=b;this.space=3*AbcSpacing.SPACE;this.glyphs=new ABCGlyphs();this.listeners=[];this.selected=[];this.ingroup=false;this.scale=a.scale||1;this.staffwidth=a.staffwidth||740;this.paddingtop=a.paddingtop||15;this.paddingbottom=a.paddingbottom||30;this.paddingright=a.paddingright||50;this.paddingleft=a.paddingleft||15;this.editable=a.editable||false}ABCPrinter.prototype.notifySelect=function(b){this.clearSelection();this.selected=[b];b.highlight();for(var a=0;a<this.listeners.length;a++){this.listeners[a].highlight(b.abcelem)}};ABCPrinter.prototype.notifyChange=function(b){for(var a=0;a<this.listeners.length;a++){this.listeners[a].modelChanged()}};ABCPrinter.prototype.clearSelection=function(){for(var a=0;a<this.selected.length;a++){this.selected[a].unhighlight()}this.selected=[]};ABCPrinter.prototype.addSelectListener=function(a){this.listeners[this.listeners.length]=a};ABCPrinter.prototype.rangeHighlight=function(b,d){this.clearSelection();for(var k=0;k<this.staffgroups.length;k++){var f=this.staffgroups[k].voices;for(var g=0;g<f.length;g++){var a=f[g].children;for(var c=0;c<a.length;c++){var h=a[c].abcelem.startChar;var e=a[c].abcelem.endChar;if((d>h&&b<e)||((d==b)&&d==e)){this.selected[this.selected.length]=a[c];a[c].highlight()}}}}};ABCPrinter.prototype.beginGroup=function(){this.path=[];this.lastM=[0,0];this.ingroup=true};ABCPrinter.prototype.addPath=function(c){c=c||[];if(c.length==0){return}c[0][0]="m";c[0][1]-=this.lastM[0];c[0][2]-=this.lastM[1];this.lastM[0]+=c[0][1];this.lastM[1]+=c[0][2];this.path.push(c[0]);for(var a=1,b=c.length;a<b;a++){if(c[a][0]=="m"){this.lastM[0]+=c[a][1];this.lastM[1]+=c[a][2]}this.path.push(c[a])}};ABCPrinter.prototype.endGroup=function(){this.ingroup=false;if(this.path.length==0){return null}var a=this.paper.path().attr({path:this.path,stroke:"none",fill:"#000000"});if(this.scale!==1){a.scale(this.scale,this.scale,0,0)}return a};ABCPrinter.prototype.printStaveLine=function(x1,x2,pitch){var isIE=
 
/*@cc_on!@*/
 
false;var dy=0.35;var fill="#000000";if(isIE){dy=1;fill="#666666"}var y=this.calcY(pitch);var pathString=sprintf("M %f %f L %f %f L %f %f L %f %f z",x1,y-dy,x2,y-dy,x2,y+dy,x1,y+dy);var ret=this.paper.path().attr({path:pathString,stroke:"none",fill:fill}).toBack();if(this.scale!==1){ret.scale(this.scale,this.scale,0,0)}return ret};ABCPrinter.prototype.printStem=function(x,dx,y1,y2){if(dx<0){var tmp=y2;y2=y1;y1=tmp}var isIE=
 
/*@cc_on!@*/
 
false;var fill="#000000";if(isIE&&dx<1){dx=1;fill="#666666"}if(~~x===x){x+=0.05}var pathArray=[["M",x,y1],["L",x,y2],["L",x+dx,y2],["L",x+dx,y1],["z"]];if(!isIE&&this.ingroup){this.addPath(pathArray)}else{var ret=this.paper.path().attr({path:pathArray,stroke:"none",fill:fill}).toBack();if(this.scale!==1){ret.scale(this.scale,this.scale,0,0)}return ret}};ABCPrinter.prototype.printText=function(a,e,d,c){c=c||"start";
 
var b=this.paper.text(a,this.calcY(e),d).attr({"text-anchor":c,"font-size":12});if(this.scale!==1){b.scale(this.scale,this.scale,0,0)}return b};ABCPrinter.prototype.printSymbol=function(k,d,c,g,f){if(!c){return null}if(c.length>0&&c.indexOf(".")<0){var h=this.paper.set();var l=0;for(var e=0;e<c.length;e++){var b=this.glyphs.getYCorr(c.charAt(e));var a=this.glyphs.printSymbol(k+l,this.calcY(d+b),c.charAt(e),this.paper);if(a){h.push(a);l+=this.glyphs.getSymbolWidth(c.charAt(e))}else{this.debugMsg(k,"no symbol:"+c)}}if(this.scale!==1){h.scale(this.scale,this.scale,0,0)}return h}else{var b=this.glyphs.getYCorr(c);if(this.ingroup){this.addPath(this.glyphs.getPathForSymbol(k,this.calcY(d+b),c,g,f))}else{var a=this.glyphs.printSymbol(k,this.calcY(d+b),c,this.paper);if(a){if(this.scale!==1){a.scale(this.scale,this.scale,0,0)}return a}else{this.debugMsg(k,"no symbol:"+c)}}return null}};ABCPrinter.prototype.printPath=function(a){ret=this.paper.path().attr(a);(this.scale==1)||ret.scale(this.scale,this.scale,0,0);return ret};ABCPrinter.prototype.drawArc=function(p,o,s,r,q){p=p+6;o=o+4;s=s+((q)?1.5:-1.5);r=r+((q)?1.5:-1.5);var c=this.calcY(s);var b=this.calcY(r);var h=o-p;var g=b-c;var f=Math.sqrt(h*h+g*g);var e=h/f;var d=g/f;var v=f/5;var k=((q)?-1:1)*Math.min(25,Math.max(4,v));var n=p+v*e-k*d;var u=c+v*d+k*e;var l=o-v*e-k*d;var t=b-v*d+k*e;var a=2;var m=sprintf("M %f %f C %f %f %f %f %f %f C %f %f %f %f %f %f z",p,c,n,u,l,t,o,b,l-a*d,t+a*e,n-a*d,u+a*e,p,c);ret=this.paper.path().attr({path:m,stroke:"none",fill:"#000000"});if(this.scale!==1){ret.scale(this.scale,this.scale,0,0)}return ret};ABCPrinter.prototype.debugMsg=function(a,b){return this.paper.text(a,this.y,b).scale(this.scale,this.scale,0,0)};ABCPrinter.prototype.debugMsgLow=function(a,b){return this.paper.text(a,this.staffbottom,b).attr({"font-family":"serif","font-size":12,"text-anchor":"begin"}).scale(this.scale,this.scale,0,0)};ABCPrinter.prototype.calcY=function(a){return this.y+((AbcSpacing.TOPNOTE-a)*AbcSpacing.STEP)};ABCPrinter.prototype.printStave=function(a,b){this.printStaveLine(a,b,2);this.printStaveLine(a,b,4);this.printStaveLine(a,b,6);this.printStaveLine(a,b,8);this.printStaveLine(a,b,10)};ABCPrinter.prototype.printABC=function(abctune){this.layouter=new ABCLayout(this.glyphs,abctune.formatting.bagpipes);this.y=this.paddingtop;if(abctune.formatting.stretchlast){this.paper.text(200,this.y,"Format: stretchlast");this.y+=20}if(abctune.formatting.staffwidth){this.width=abctune.formatting.staffwidth}else{this.width=this.staffwidth}this.width+=this.paddingleft;this.width=this.width;if(abctune.formatting.scale){this.paper.text(200,this.y,"Format: scale="+abctune.formatting.scale);this.y+=20}this.paper.text(this.width/2,this.y,abctune.metaText.title).attr({"font-size":20,"font-family":"serif"});this.y+=20;if(abctune.lines[0]&&abctune.lines[0].subtitle){this.printSubtitleLine(abctune.lines[0]);this.y+=20}if(abctune.metaText.rhythm){this.paper.text(this.paddingleft,this.y,abctune.metaText.rhythm).attr({"text-anchor":"start","font-style":"italic","font-family":"serif","font-size":12});!(abctune.metaText.author||abctune.metaText.origin||abctune.metaText.composer)&&(this.y+=15)}if(abctune.metaText.author){this.paper.text(this.width,this.y,abctune.metaText.author).attr({"text-anchor":"end","font-style":"italic","font-family":"serif","font-size":12});this.y+=15}if(abctune.metaText.origin){this.paper.text(this.width,this.y,"("+abctune.metaText.origin+")").attr({"text-anchor":"end","font-style":"italic","font-family":"serif","font-size":12});this.y+=15}if(abctune.metaText.composer){this.paper.text(this.width,this.y,abctune.metaText.composer).attr({"text-anchor":"end","font-style":"italic","font-family":"serif","font-size":12});this.y+=15}if(abctune.metaText.tempo){var x=50;if(abctune.metaText.tempo.preString){var text=this.paper.text(x,this.y+20,abctune.metaText.tempo.preString).attr({"text-anchor":"start"});x+=(text.getBBox().width+10)}if(abctune.metaText.tempo.duration){var temposcale=0.75;var tempopitch=14.5;var duration=abctune.metaText.tempo.duration[0];var abselem=new ABCAbsoluteElement(abctune.metaText.tempo,duration,1);var durlog=Math.floor(Math.log(duration)/Math.log(2));var dot=0;for(var tot=Math.pow(2,durlog),inc=tot/2;tot<duration;dot++,tot+=inc,inc/=2){}var c=this.layouter.chartable.note[-durlog];var flag=this.layouter.chartable.uflags[-durlog];var temponote=this.layouter.printNoteHead(abselem,c,{verticalPos:tempopitch},"up",0,0,flag,dot,0,temposcale);abselem.addHead(temponote);if(duration<1){var p1=tempopitch+1/3*temposcale;var p2=tempopitch+7*temposcale;var dx=temponote.dx+temponote.w;var width=-0.6;abselem.addExtra(new ABCRelativeElement(null,dx,0,p1,{type:"stem",pitch2:p2,linewidth:width}))}abselem.x=x;abselem.draw(this,null);x+=(abselem.w+5);text=this.paper.text(x,this.y+20,"= "+abctune.metaText.tempo.bpm).attr({"text-anchor":"start"});x+=text.getBBox().width+10}if(abctune.metaText.tempo.postString){this.paper.text(x,this.y+20,abctune.metaText.tempo.postString).attr({"text-anchor":"start"})}this.y+=15}this.staffgroups=[];var maxwidth=this.width;for(var line=0;line<abctune.lines.length;line++){var abcline=abctune.lines[line];if(abcline.staff){var staffgroup=this.layouter.printABCLine(abcline.staff);var newspace=this.space;for(var it=0;it<3;it++){staffgroup.layout(newspace,this);if(line&&line==abctune.lines.length-1&&staffgroup.w/this.width<0.66){break}var relspace=staffgroup.spacingunits*newspace;var constspace=staffgroup.w-relspace;if(staffgroup.spacingunits>0){newspace=(this.width-constspace)/staffgroup.spacingunits;if(newspace*staffgroup.minspace>50){newspace=50/staffgroup.minspace}}}staffgroup.draw(this,this.y);if(staffgroup.w>maxwidth){maxwidth=staffgroup.w}this.staffgroups[this.staffgroups.length]=staffgroup;this.y=staffgroup.y+staffgroup.height;this.y+=AbcSpacing.STAVEHEIGHT*0.2}else{if(abcline.subtitle&&line!=0){this.printSubtitleLine(abcline);this.y+=20}else{if(abcline.text){if(typeof abcline.text==="string"){this.paper.text(100,this.y,"TEXT: "+abcline.text)}else{var str="";for(var i=0;i<abcline.text.length;i++){str+=" FONT "+abcline.text[i].text}this.paper.text(100,this.y,"TEXT: "+str)}this.y+=20}}}}var extraText="";if(abctune.metaText.partOrder){extraText+="Part Order: "+abctune.metaText.partOrder+"\n"}if(abctune.metaText.notes){extraText+="Notes:\n"+abctune.metaText.notes+"\n"}if(abctune.metaText.book){extraText+="Book: "+abctune.metaText.book+"\n"}if(abctune.metaText.source){extraText+="Source: "+abctune.metaText.source+"\n"}if(abctune.metaText.transcription){extraText+="Transcription: "+abctune.metaText.transcription+"\n"}if(abctune.metaText.discography){extraText+="Discography: "+abctune.metaText.discography+"\n"}if(abctune.metaText.history){extraText+="History: "+abctune.metaText.history+"\n"}if(abctune.metaText.unalignedWords){extraText+="Words:\n";for(var j=0;j<abctune.metaText.unalignedWords.length;j++){if(typeof abctune.metaText.unalignedWords[j]==="string"){extraText+=abctune.metaText.unalignedWords[j]+"\n"
 
}else{for(var k=0;k<abctune.metaText.unalignedWords[j].length;k++){extraText+=" FONT "+abctune.metaText.unalignedWords[j][k].text}extraText+="\n"}}}var text2=this.paper.text(this.paddingleft,this.y+25,extraText).attr({"text-anchor":"start","font-family":"serif","font-size":13});var height=text2.getBBox().height;text2.translate(0,height/2);var sizetoset={w:maxwidth*this.scale+this.paddingright,h:this.y*this.scale+this.paddingbottom+height};this.paper.setSize(sizetoset.w,sizetoset.h);var isIE=
 
/*@cc_on!@*/
 
false;if(isIE){this.paper.canvas.parentNode.style.width=sizetoset.w+"px";this.paper.canvas.parentNode.style.height=""+sizetoset.h+"px"}else{this.paper.canvas.parentNode.setAttribute("style","width:"+sizetoset.w+"px")}};ABCPrinter.prototype.printSubtitleLine=function(a){this.paper.text(this.width/2,this.y,a.subtitle).attr({"font-size":16}).scale(this.scale,this.scale,0,0)};function AbcTuneBook(c){var g=this;var f="";c=c.strip();var a=c.split("\nX:");for(var e=1;e<a.length;e++){a[e]="X:"+a[e]}var h=0;g.tunes=[];a.each(function(k){g.tunes.push({abc:k,startPos:h});h+=k.length});if(g.tunes.length>1&&!g.tunes[0].abc.startsWith("X:")){var b=g.tunes.shift();var d=b.abc.split("\n");d.each(function(k){if(k.startsWith("%%")){f+=k+"\n"}})}g.tunes.each(function(l){var k=l.abc.indexOf("\n\n");if(k>0){l.abc=l.abc.substring(0,k)}l.abc=f+l.abc})}function renderAbc(e,n,m,o,d){var l=function(q){return q&&!(q.propertyIsEnumerable("length"))&&typeof q==="object"&&typeof q.length==="number"};if(e===undefined||n===undefined){return}if(!l(e)){e=[e]}if(m===undefined){m={}}if(o===undefined){o={}}if(d===undefined){d={}}var g=d.startingTune?d.startingTune:0;var f=new AbcTuneBook(n);var c=new AbcParse(m);for(var h=0;h<e.length;h++){var a=e[h];if(typeof(a)==="string"){a=document.getElementById(a)}if(a){a.innerHTML="";if(g<f.tunes.length){c.parse(f.tunes[g].abc);var k=c.getTune();var b=Raphael(a,800,400);var p=new ABCPrinter(b,o);p.printABC(k)}}g++}}function AbcParseHeader(q,v,w,e){var x={acc:"sharp",note:"f"};var z={acc:"sharp",note:"c"};var a={acc:"sharp",note:"g"};var d={acc:"sharp",note:"d"};var k={acc:"sharp",note:"A"};var n={acc:"sharp",note:"e"};var t={acc:"sharp",note:"B"};var o={acc:"flat",note:"B"};var b={acc:"flat",note:"e"};var u={acc:"flat",note:"A"};var h={acc:"flat",note:"d"};var y={acc:"flat",note:"G"};var r={acc:"flat",note:"c"};var c={acc:"flat",note:"f"};var p={"C#":[x,z,a,d,k,n,t],"A#m":[x,z,a,d,k,n,t],"G#Mix":[x,z,a,d,k,n,t],"D#Dor":[x,z,a,d,k,n,t],"E#Phr":[x,z,a,d,k,n,t],"F#Lyd":[x,z,a,d,k,n,t],"B#Loc":[x,z,a,d,k,n,t],"F#":[x,z,a,d,k,n],"D#m":[x,z,a,d,k,n],"C#Mix":[x,z,a,d,k,n],"G#Dor":[x,z,a,d,k,n],"A#Phr":[x,z,a,d,k,n],BLyd:[x,z,a,d,k,n],"E#Loc":[x,z,a,d,k,n],B:[x,z,a,d,k],"G#m":[x,z,a,d,k],"F#Mix":[x,z,a,d,k],"C#Dor":[x,z,a,d,k],"D#Phr":[x,z,a,d,k],ELyd:[x,z,a,d,k],"A#Loc":[x,z,a,d,k],E:[x,z,a,d],"C#m":[x,z,a,d],BMix:[x,z,a,d],"F#Dor":[x,z,a,d],"G#Phr":[x,z,a,d],ALyd:[x,z,a,d],"D#Loc":[x,z,a,d],A:[x,z,a],"F#m":[x,z,a],EMix:[x,z,a],BDor:[x,z,a],"C#Phr":[x,z,a],DLyd:[x,z,a],"G#Loc":[x,z,a],D:[x,z],Bm:[x,z],AMix:[x,z],EDor:[x,z],"F#Phr":[x,z],GLyd:[x,z],"C#Loc":[x,z],G:[x],Em:[x],DMix:[x],ADor:[x],BPhr:[x],CLyd:[x],"F#Loc":[x],C:[],Am:[],GMix:[],DDor:[],EPhr:[],FLyd:[],BLoc:[],F:[o],Dm:[o],CMix:[o],GDor:[o],APhr:[o],BbLyd:[o],ELoc:[o],Bb:[o,b],Gm:[o,b],FMix:[o,b],CDor:[o,b],DPhr:[o,b],EbLyd:[o,b],ALoc:[o,b],Eb:[o,b,u],Cm:[o,b,u],BbMix:[o,b,u],FDor:[o,b,u],GPhr:[o,b,u],AbLyd:[o,b,u],DLoc:[o,b,u],Ab:[o,b,u,h],Fm:[o,b,u,h],EbMix:[o,b,u,h],BbDor:[o,b,u,h],CPhr:[o,b,u,h],DbLyd:[o,b,u,h],GLoc:[o,b,u,h],Db:[o,b,u,h,y],Bbm:[o,b,u,h,y],AbMix:[o,b,u,h,y],EbDor:[o,b,u,h,y],FPhr:[o,b,u,h,y],GbLyd:[o,b,u,h,y],CLoc:[o,b,u,h,y],Gb:[o,b,u,h,y,r],Ebm:[o,b,u,h,y,r],DbMix:[o,b,u,h,y,r],AbDor:[o,b,u,h,y,r],BbPhr:[o,b,u,h,y,r],CbLyd:[o,b,u,h,y,r],FLoc:[o,b,u,h,y,r],Cb:[o,b,u,h,y,r,c],Abm:[o,b,u,h,y,r,c],GbMix:[o,b,u,h,y,r,c],DbDor:[o,b,u,h,y,r,c],EbPhr:[o,b,u,h,y,r,c],FbLyd:[o,b,u,h,y,r,c],BbLoc:[o,b,u,h,y,r,c],"A#":[o,b],"B#":[],"D#":[o,b,u],"E#":[o],"G#":[o,b,u,h],Gbm:[x,z,a,d,k,n,t]};var s=function(C,A){var B=0;switch(C){case"treble":case"perc":case"none":case"treble+8":case"treble-8":break;case"bass3":case"bass":case"bass+8":case"bass-8":case"bass+16":case"bass-16":B=-12;break;case"tenor":B=-8;break;case"alto2":case"alto1":case"alto":case"alto+8":case"alto-8":B=-6;break}return B+A};this.parseFontChangeLine=function(C){var A=C.split("$");if(A.length>1&&w.setfont){var D=[{text:A[0]}];for(var B=1;B<A.length;B++){if(A[B].charAt(0)==="0"){D.push({text:A[B].substring(1)})}else{if(A[B].charAt(0)==="1"&&w.setfont[1]){D.push({font:w.setfont[1],text:A[B].substring(1)})}else{if(A[B].charAt(0)==="2"&&w.setfont[2]){D.push({font:w.setfont[2],text:A[B].substring(1)})}else{if(A[B].charAt(0)==="3"&&w.setfont[3]){D.push({font:w.setfont[3],text:A[B].substring(1)})}else{if(A[B].charAt(0)==="4"&&w.setfont[4]){D.push({font:w.setfont[4],text:A[B].substring(1)})}else{D[D.length-1].text+="$"+A[B]}}}}}}if(D.length>1){return D}}return C};this.deepCopyKey=function(B){var A={accidentals:[],root:B.root,acc:B.acc,mode:B.mode};B.accidentals.each(function(C){A.accidentals.push(Object.clone(C))});return A};var l={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11};this.addPosToKey=function(C,B){var A=C.verticalPos;B.accidentals.each(function(D){var E=l[D.note];E=E-A;D.verticalPos=E});if(A<-10){B.accidentals.each(function(D){D.verticalPos-=7;if(D.verticalPos>=11||(D.verticalPos===10&&D.acc==="flat")){D.verticalPos-=7}})}else{if(A<-4){B.accidentals.each(function(D){D.verticalPos-=7})}else{if(A>=7){B.accidentals.each(function(D){D.verticalPos+=7})}}}};this.fixKey=function(C,A){var B=Object.clone(A);this.addPosToKey(C,B);return B};var f=function(C){var A=l[C.charAt(0)];for(var B=1;B<C.length;B++){if(C.charAt(B)===","){A-=7}else{if(C.charAt(B)===","){A+=7}else{break}}}return{mid:A-6,str:C.substring(B)}};var m=function(A){for(var B=0;B<A.length;B++){if(A[B].note==="b"){A[B].note="B"}else{if(A[B].note==="a"){A[B].note="A"}else{if(A[B].note==="F"){A[B].note="f"}else{if(A[B].note==="E"){A[B].note="e"}else{if(A[B].note==="D"){A[B].note="d"}else{if(A[B].note==="C"){A[B].note="c"}else{if(A[B].note==="G"&&A[B].acc==="sharp"){A[B].note="g"}else{if(A[B].note==="g"&&A[B].acc==="flat"){A[B].note="G"}}}}}}}}}};this.parseKey=function(K){if(K.length===0){K="none"}var L=q.tokenize(K,0,K.length);var J={};switch(L[0].token){case"HP":this.addDirective("bagpipes");w.key={root:"HP",accidentals:[],acc:"",mode:""};J.foundKey=true;L.shift();break;case"Hp":this.addDirective("bagpipes");w.key={root:"Hp",accidentals:[{acc:"natural",note:"g"},{acc:"sharp",note:"f"},{acc:"sharp",note:"c"}],acc:"",mode:""};J.foundKey=true;L.shift();break;case"none":w.key={root:"none",accidentals:[],acc:"",mode:""};J.foundKey=true;L.shift();break;default:var M=q.getKeyPitch(L[0].token);if(M.len>0){J.foundKey=true;var E="";var H="";if(L[0].token.length>1){L[0].token=L[0].token.substring(1)}else{L.shift()}var O=M.token;if(L.length>0){var D=q.getSharpFlat(L[0].token);if(D.len>0){if(L[0].token.length>1){L[0].token=L[0].token.substring(1)
 
}else{L.shift()}O+=D.token;E=D.token}if(L.length>0){var I=q.getMode(L[0].token);if(I.len>0){L.shift();O+=I.token;H=I.token}}}w.key=this.deepCopyKey({accidentals:p[O]});w.key.root=M.token;w.key.acc=E;w.key.mode=H}break}if(L.length===0){return J}if(L[0].token==="exp"){L.shift()}if(L.length===0){return J}if(L[0].token==="oct"){L.shift()}if(L.length===0){return J}var N=q.getKeyAccidentals2(L);if(N.warn){v(N.warn,K,0)}if(N.accs){if(!J.foundKey){J.foundKey=true;w.key={root:"none",acc:"",mode:"",accidentals:[]}}m(N.accs);for(var G=0;G<N.accs.length;G++){var P=false;for(var F=0;F<w.key.accidentals.length&&!P;F++){if(w.key.accidentals[F].note===N.accs[G].note){P=true;w.key.accidentals[F].acc=N.accs[G].acc}}if(!P){w.key.accidentals.push(N.accs[G])}}}var C;while(L.length>0){switch(L[0].token){case"m":case"middle":L.shift();if(L.length===0){v("Expected = after middle",K,0);return J}C=L.shift();if(C.token!=="="){v("Expected = after middle",K,0);break}if(L.length===0){v("Expected parameter after middle=",K,0);return J}var B=q.getPitchFromTokens(L);if(B.warn){v(B.warn,K,0)}if(B.position){w.clef.verticalPos=B.position-6}break;case"transpose":L.shift();if(L.length===0){v("Expected = after transpose",K,0);return J}C=L.shift();if(C.token!=="="){v("Expected = after transpose",K,0);break}if(L.length===0){v("Expected parameter after transpose=",K,0);return J}if(L[0].type!=="number"){v("Expected number after transpose",K,0);break}w.clef.transpose=parseInt(L[0].token);L.shift();break;case"stafflines":L.shift();if(L.length===0){v("Expected = after stafflines",K,0);return J}C=L.shift();if(C.token!=="="){v("Expected = after stafflines",K,0);break}if(L.length===0){v("Expected parameter after stafflines=",K,0);return J}if(L[0].type!=="number"){v("Expected number after stafflines",K,0);break}w.clef.stafflines=parseInt(L[0].token);L.shift();break;case"staffscale":L.shift();if(L.length===0){v("Expected = after staffscale",K,0);return J}C=L.shift();if(C.token!=="="){v("Expected = after staffscale",K,0);break}if(L.length===0){v("Expected parameter after staffscale=",K,0);return J}if(L[0].type!=="number"){v("Expected number after staffscale",K,0);break}w.clef.staffscale=parseInt(L[0].token);L.shift();break;case"style":L.shift();if(L.length===0){v("Expected = after style",K,0);return J}C=L.shift();if(C.token!=="="){v("Expected = after style",K,0);break}if(L.length===0){v("Expected parameter after style=",K,0);return J}switch(L[0].token){case"normal":case"harmonic":case"rhythm":case"x":w.style=L[0].token;L.shift();break;default:v("error parsing style element: "+L[0].token,K,0);break}break;case"clef":L.shift();if(L.length===0){v("Expected = after clef",K,0);return J}C=L.shift();if(C.token!=="="){v("Expected = after clef",K,0);break}if(L.length===0){v("Expected parameter after clef=",K,0);return J}case"treble":case"bass":case"alto":case"tenor":case"perc":var A=L.shift();switch(A.token){case"treble":case"tenor":case"alto":case"bass":case"perc":case"none":break;case"C":A.token="alto";break;case"F":A.token="bass";break;case"G":A.token="treble";break;case"c":A.token="alto";break;case"f":A.token="bass";break;case"g":A.token="treble";break;default:v("Expected clef name. Found "+A.token,K,0);break}if(L.length>0&&L[0].type==="number"){A.token+=L[0].token;L.shift()}if(L.length>1&&(L[0].token==="-"||L[0].token==="+")&&L[1].token==="8"){A.token+=L[0].token+L[1].token;L.shift();L.shift()}w.clef={type:A.token,verticalPos:s(A.token,0)};J.foundClef=true;break;default:v("Unknown parameter: "+L[0].token,K,0);L.shift()}}return J};this.parseKeyOld=function(I){I=q.stripComment(I);var N=I;if(I.length===0){I="none"}var F=function(T){var R=q.skipWhiteSpace(T);T=T.substring(R);if(T.startsWith("m=")||T.startsWith("middle=")){T=T.substring(T.indexOf("=")+1);var Q=f(T);w.clef.verticalPos=Q.mid;T=Q.str}R=q.skipWhiteSpace(T);T=T.substring(R);if(T.startsWith("transpose=")){T=T.substring(T.indexOf("=")+1);var P=q.getInt(T);if(P.digits>0){T=T.substring(P.digits);w.clef.transpose=P.value}}R=q.skipWhiteSpace(T);T=T.substring(R);if(T.startsWith("stafflines=")){T=T.substring(T.indexOf("=")+1);var S=q.getInt(T);if(S.digits>0){T=T.substring(S.digits);w.clef.stafflines=S.value}}};var B=q.getClef(I,true);if(B.token!==undefined&&(B.explicit===true||B.token!=="none")){w.clef={type:B.token,verticalPos:s(B.token,0)};I=I.substring(B.len);F(I);return{foundClef:true}}var H={root:"none",acc:"",mode:""};var J=q.getKeyPitch(I);if(J.len>0){var M=J.token;I=I.substring(J.len);var C=q.getSharpFlat(I);if(C.len>0){M+=C.token;I=I.substring(C.len)}var G=q.getMode(I);if(G.len>0){M+=G.token;I=I.substring(G.len)}H=this.deepCopyKey({accidentals:p[M]});H.root=J.token;H.acc=C.token||"";H.mode=G.token||""}else{if(I.startsWith("HP")){this.addDirective("bagpipes");H.accidentals=[];H.root="HP";w.key=H;return{foundKey:true}}else{if(I.startsWith("Hp")){H.accidentals=[{acc:"natural",note:"g"},{acc:"sharp",note:"f"},{acc:"sharp",note:"c"}];this.addDirective("bagpipes");H.root="Hp";w.key=H;return{foundKey:true}}else{var L=q.isMatch(I,"none");if(L>0){H.accidentals=[];I=I.substring(L)}}}}var E=q.skipWhiteSpace(I);I=I.substring(E);if(I.startsWith("exp")||I.startsWith("oct")){I=I.substring(3)}var D=false;while(!D){var K=q.getKeyAccidental(I);if(K.len===0){D=true}else{I=I.substring(K.len);if(K.warn){v("error parsing extra accidentals:",N,0)}else{if(!H.accidentals){H.accidentals=[]}H.accidentals.push(K.token)}}}B=q.getClef(I,false);if(B.len>0){if(B.warn){v("error parsing clef:"+B.warn,N,0)}else{w.clef={type:B.token,verticalPos:s(B.token,0)};I=I.substring(B.len);F(I)}}i=q.skipWhiteSpace(I);I=I.substring(i);if(I.startsWith("style=")){var A=q.getToken(I,6,I.length);switch(A){case"normal":case"harmonic":case"rhythm":case"x":w.style=A;break;default:v("error parsing style element of key: ",N,0);break}I=I.substring(6+A.length)}var O={};if(B.token!==undefined){O.foundClef=true}if(H.accidentals!==undefined){H.accidentals.each(function(P){if(B.token==="bass"){if(P.note==="C"){P.note="c"}if(P.note==="D"&&P.acc!=="flat"){P.note="d"}if(P.note==="E"&&P.acc!=="flat"){P.note="e"}if(P.note==="F"&&P.acc!=="flat"){P.note="f"}if(P.note==="G"&&P.acc!=="flat"){P.note="g"}}else{if(P.note==="a"){P.note="A"}if(P.note==="b"){P.note="B"}if(P.note==="C"){P.note="c"}}});w.key=H;O.foundKey=true}return O};this.addDirective=function(ac){var aj=function(au,av){var at=q.getMeasurement(av);if(at.used===0||av.length!==0){return{error:'Directive "'+au+'" requires a measurement as a parameter.'}}return at.value};var ag=function(au,av){var at=q.getMeasurement(av);if(at.used===0||av.length!==0){return'Directive "'+au+'" requires a measurement as a parameter.'}e.formatting[au]=at.value;return null};var T=function(aw){var at={};var au=aw.last();if(au.type==="number"){at.size=parseInt(au.token);aw.pop()}if(aw.length>0){var av="";aw.each(function(ax){if(ax.token!=="-"){if(av.length>0){av+=" "}av+=ax.token}});at.font=av}return at};var F=function(at,au){if(au.length===0){return'Directive "'+at+'" requires a font as a parameter.'}w[at]=T(au);
 
return null};var K=function(at,au){if(au.length===0){return'Directive "'+at+'" requires a font as a parameter.'}e.formatting[at]=T(au);return null};var aa=q.tokenize(ac,0,ac.length);if(aa.length===0||aa[0].type!=="alpha"){return null}var B=ac.substring(ac.indexOf(aa[0].token)+aa[0].token.length);B=q.stripComment(B);var an=aa.shift().token.toLowerCase();var ao;var E="";switch(an){case"bagpipes":e.formatting.bagpipes=true;break;case"landscape":w.landscape=true;break;case"papersize":w.papersize=B;break;case"slurgraces":e.formatting.slurgraces=true;break;case"stretchlast":e.formatting.stretchlast=true;break;case"titlecaps":w.titlecaps=true;break;case"titleleft":e.formatting.titleleft=true;break;case"measurebox":e.formatting.measurebox=true;break;case"botmargin":case"botspace":case"composerspace":case"indent":case"leftmargin":case"linesep":case"musicspace":case"partsspace":case"pageheight":case"pagewidth":case"rightmargin":case"staffsep":case"staffwidth":case"subtitlespace":case"sysstaffsep":case"systemsep":case"textspace":case"titlespace":case"topmargin":case"topspace":case"vocalspace":case"wordsspace":return ag(an,aa);case"vskip":var D=aj(an,aa);if(D.error){return D.error}e.addSpacing(D);return null;break;case"scale":E="";aa.each(function(at){E+=at.token});ao=parseFloat(E);if(isNaN(ao)||ao===0){return'Directive "'+an+'" requires a number as a parameter.'}e.formatting.scale=ao;break;case"sep":if(aa.length===0){e.addSeparator()}else{var af=q.getMeasurement(aa);if(af.used===0){return'Directive "'+an+'" requires 3 numbers: space above, space below, length of line'}var Z=af.value;af=q.getMeasurement(aa);if(af.used===0){return'Directive "'+an+'" requires 3 numbers: space above, space below, length of line'}var ar=af.value;af=q.getMeasurement(aa);if(af.used===0||aa.length!==0){return'Directive "'+an+'" requires 3 numbers: space above, space below, length of line'}var S=af.value;e.addSeparator(Z,ar,S)}break;case"measurenb":if(aa.length!==1||aa[0].type!=="number"){return'Directive "'+an+'" requires a number as a parameter.'}w.barNumbers=parseInt(aa[0].token);break;case"barnumbers":if(aa.length!==1||aa[0].type!=="number"){return'Directive "'+an+'" requires a number as a parameter.'}w.barNumbers=parseInt(aa[0].token);break;case"begintext":w.inTextBlock=true;break;case"beginps":w.inPsBlock=true;v("Postscript ignored",ac,0);break;case"deco":if(B.length>0){w.ignoredDecorations.push(B.substring(0,B.indexOf(" ")))}v("Decoration redefinition ignored",ac,0);break;case"text":var ak=q.translateString(B);e.addText(this.parseFontChangeLine(ak));break;case"center":var A=q.translateString(B);e.addCentered(this.parseFontChangeLine(A));break;case"font":break;case"setfont":var Q=q.tokenize(B,0,B.length);var X=false;if(Q.length>=4){if(Q[0].token==="-"&&Q[1].type==="number"){var C=parseInt(Q[1].token);if(C>=1&&C<=4){if(!w.setfont){w.setfont=[]}var V=Q.pop();if(V.type==="number"){V=parseInt(V.token);var N="";for(var P=2;P<Q.length;P++){N+=Q[P].token}w.setfont[C]={font:N,size:V};X=true}}}}if(!X){return"Bad parameters: "+an}break;case"gchordfont":case"partsfont":case"vocalfont":case"textfont":return F(an,aa);case"barlabelfont":case"barnumberfont":case"composerfont":case"subtitlefont":case"tempofont":case"titlefont":case"voicefont":return K(an,aa);case"barnumfont":return K("barnumberfont",aa);case"staves":case"score":w.score_is_present=true;var aq=function(ay,av,ax,aw,au){if(av||w.staves.length===0){w.staves.push({index:w.staves.length,numVoices:0})}var at=w.staves.last();if(ax!==undefined){at.bracket=ax}if(aw!==undefined){at.brace=aw}if(au){at.connectBarLines="end"}if(w.voices[ay]===undefined){w.voices[ay]={staffNum:at.index,index:at.numVoices};at.numVoices++}};var ad=false;var am=false;var I=false;var ae=false;var G=false;var J=false;var H=false;var M=undefined;var ap=function(){H=true;if(M){var at="start";if(M.staffNum>0){if(w.staves[M.staffNum-1].connectBarLines==="start"||w.staves[M.staffNum-1].connectBarLines==="continue"){at="continue"}}w.staves[M.staffNum].connectBarLines=at}};while(aa.length){var ai=aa.shift();switch(ai.token){case"(":if(ad){v("Can't nest parenthesis in %%score",ac,ai.start)}else{ad=true;ae=true}break;case")":if(!ad||ae){v("Unexpected close parenthesis in %%score",ac,ai.start)}else{ad=false}break;case"[":if(am){v("Can't nest brackets in %%score",ac,ai.start)}else{am=true;G=true}break;case"]":if(!am||G){v("Unexpected close bracket in %%score",ac,ai.start)}else{am=false;w.staves[M.staffNum].bracket="end"}break;case"{":if(I){v("Can't nest braces in %%score",ac,ai.start)}else{I=true;J=true}break;case"}":if(!I||J){v("Unexpected close brace in %%score",ac,ai.start)}else{I=false;w.staves[M.staffNum].brace="end"}break;case"|":ap();break;default:var U="";while(ai.type==="alpha"||ai.type==="number"){U+=ai.token;if(ai.continueId){ai=aa.shift()}else{break}}var Y=!ad||ae;var ab=G?"start":am?"continue":undefined;var R=J?"start":I?"continue":undefined;aq(U,Y,ab,R,H);ae=false;G=false;J=false;H=false;M=w.voices[U];if(an==="staves"){ap()}break}}break;case"newpage":var O=q.getInt(B);e.addNewPage(O.digits===0?-1:O.value);break;case"abc-copyright":case"abc-creator":case"abc-version":case"abc-charset":case"abc-edited-by":e.addMetaText(an,B);break;case"header":case"footer":var ah=q.getMeat(B,0,B.length);ah=B.substring(ah.start,ah.end);if(ah.charAt(0)==='"'&&ah.charAt(ah.length-1)==='"'){ah=ah.substring(1,ah.length-2)}var W=ah.split("\t");var L={};if(W.length===1){L={left:"",center:W[0],right:""}}else{if(W.length===2){L={left:W[0],center:W[1],right:""}}else{L={left:W[0],center:W[1],right:W[2]}}}if(W.length>3){v("Too many tabs in "+an+": "+W.length+" found.",B,0)}e.addMetaTextObj(an,L);break;case"midi":var al=q.tokenize(B,0,B.length);if(al.length>0&&al[0].token==="="){al.shift()}if(al.length===0){v("Expected midi command",B,0)}else{e.formatting[an]={cmd:al.shift().token};if(al.length>0){e.formatting[an].param=al.shift().token}}break;case"indent":case"playtempo":case"auquality":case"continuous":case"nobarcheck":e.formatting[an]=B;break;default:return"Unknown directive: "+an}return null};this.setCurrentVoice=function(A){w.currentVoice=w.voices[A];e.setCurrentVoice(w.currentVoice.staffNum,w.currentVoice.index)};this.parseVoice=function(D,L,M){var Q=q.getMeat(D,L,M);var B=Q.start;var A=Q.end;var H=q.getToken(D,B,A);if(H.length===0){v("Expected a voice id",D,B);return}var O=false;if(w.voices[H]===undefined){w.voices[H]={};O=true;if(w.score_is_present){v("Can't have an unknown V: id when the %score directive is present",D,B)}}B+=H.length;B+=q.eatWhiteSpace(D,B);var F={startStaff:O};var R=function(T){var S=q.getVoiceToken(D,B,A);if(S.warn!==undefined){v("Expected value for "+T+" in voice: "+S.warn,D,B)}else{if(S.token.length===0&&D.charAt(B)!=='"'){v("Expected value for "+T+" in voice",D,B)}else{F[T]=S.token}}B+=S.len};var N=function(V,T,U){var S=q.getVoiceToken(D,B,A);if(S.warn!==undefined){v("Expected value for "+T+" in voice: "+S.warn,D,B)}else{if(S.token.length===0&&D.charAt(B)!=='"'){v("Expected value for "+T+" in voice",D,B)
 
}else{if(U==="number"){S.token=parseFloat(S.token)}w.voices[V][T]=S.token}}B+=S.len};while(B<A){var C=q.getVoiceToken(D,B,A);B+=C.len;if(C.warn){v("Error parsing voice: "+C.warn,D,B)}else{var J=null;switch(C.token){case"clef":case"cl":R("clef");var I=0;if(F.clef!==undefined){F.clef=F.clef.replace(/[',]/g,"");if(F.clef.indexOf("+16")!==-1){I+=14;F.clef=F.clef.replace("+16","")}F.verticalPos=s(F.clef,I)}break;case"treble":case"bass":case"tenor":case"alto":case"none":case"treble'":case"bass'":case"tenor'":case"alto'":case"none'":case"treble''":case"bass''":case"tenor''":case"alto''":case"none''":case"treble,":case"bass,":case"tenor,":case"alto,":case"none,":case"treble,,":case"bass,,":case"tenor,,":case"alto,,":case"none,,":var K=0;F.clef=C.token.replace(/[',]/g,"");F.verticalPos=s(F.clef,K);break;case"staves":case"stave":case"stv":R("staves");break;case"brace":case"brc":R("brace");break;case"bracket":case"brk":R("bracket");break;case"name":case"nm":R("name");break;case"subname":case"sname":case"snm":R("subname");break;case"merge":F.startStaff=false;break;case"stems":J=q.getVoiceToken(D,B,A);if(J.warn!==undefined){v("Expected value for stems in voice: "+J.warn,D,B)}else{if(J.token==="up"||J.token==="down"){w.voices[H].stem=J.token}else{v("Expected up or down for voice stem",D,B)}}B+=J.len;break;case"up":case"down":w.voices[H].stem=C.token;break;case"middle":case"m":R("verticalPos");F.verticalPos=f(F.verticalPos).mid;break;case"gchords":case"gch":w.voices[H].suppressChords=true;break;case"space":case"spc":R("spacing");break;case"scale":N(H,"scale","number");break}}B+=q.eatWhiteSpace(D,B)}if(F.startStaff||w.staves.length===0){w.staves.push({index:w.staves.length,meter:w.origMeter});if(!w.score_is_present){w.staves[w.staves.length-1].numVoices=0}}if(w.voices[H].staffNum===undefined){w.voices[H].staffNum=w.staves.length-1;var P=0;for(var E in w.voices){if(w.voices.hasOwnProperty(E)){if(w.voices[E].staffNum===w.voices[H].staffNum){P++}}}w.voices[H].index=P-1}var G=w.staves[w.voices[H].staffNum];if(!w.score_is_present){G.numVoices++}if(F.clef){G.clef={type:F.clef,verticalPos:F.verticalPos}}if(F.spacing){G.spacing_below_offset=F.spacing}if(F.verticalPos){G.verticalPos=F.verticalPos}if(F.name){if(G.name){G.name.push(F.name)}else{G.name=[F.name]}}if(F.subname){if(G.subname){G.subname.push(F.subname)}else{G.subname=[F.subname]}}this.setCurrentVoice(H)};this.setTitle=function(A){if(w.hasMainTitle){e.addSubtitle(q.translateString(q.stripComment(A)))}else{e.addMetaText("title",q.translateString(q.theReverser(q.stripComment(A))));w.hasMainTitle=true}};this.setMeter=function(I){I=q.stripComment(I);if(I==="C"){if(w.havent_set_length===true){w.default_length=0.125}return{type:"common_time"}}else{if(I==="C|"){if(w.havent_set_length===true){w.default_length=0.125}return{type:"cut_time"}}else{if(I.length===0||I.toLowerCase()==="none"){if(w.havent_set_length===true){w.default_length=0.125}return null}else{var F=q.tokenize(I,0,I.length);try{var E=function(){var K={value:0,num:""};var J=F.shift();if(J.token==="("){J=F.shift()}while(1){if(J.type!=="number"){throw"Expected top number of meter"}K.value+=parseInt(J.token);K.num+=J.token;if(F.length===0||F[0].token==="/"){return K}J=F.shift();if(J.token===")"){if(F.length===0||F[0].token==="/"){return K}throw"Unexpected paren in meter"}if(J.token!=="."&&J.token!=="+"){throw"Expected top number of meter"}K.num+=J.token;if(F.length===0){throw"Expected top number of meter"}J=F.shift()}return K};var A=function(){var K=E();if(F.length===0){throw"Expected slash in meter"}var J=F.shift();if(J.token!=="/"){throw"Expected slash in meter"}J=F.shift();if(J.type!=="number"){throw"Expected bottom number of meter"}K.den=J.token;K.value=K.value/parseInt(K.den);return K};if(F.length===0){throw"Expected meter definition in M: line"}var B={type:"specified",value:[]};var G=0;while(1){var D=A();G+=D.value;B.value.push({num:D.num,den:D.den});if(F.length===0){break}var H=F.shift();if(H.token!=="+"){throw"Extra characters in M: line"}}if(w.havent_set_length===true){w.default_length=G<0.75?0.0625:0.125}return B}catch(C){v(C,I,0)}}}}return null};this.calcTempo=function(A){var C=1/4;if(w.meter&&w.meter.type==="specified"){C=1/parseInt(w.meter.value[0].den)}else{if(w.origMeter&&w.origMeter.type==="specified"){C=1/parseInt(w.origMeter.value[0].den)}}for(var B=0;B<A.duration;B++){A.duration[B]=C*A.duration[B]}return A};this.resolveTempo=function(){if(w.tempo){this.calcTempo(w.tempo);e.metaText.tempo=w.tempo;delete w.tempo}};this.addUserDefinition=function(B,G,A){var C=B.indexOf("=",G);if(C===-1){v("Need an = in a macro definition",B,G);return}var E=B.substring(G,C).strip();var F=B.substring(C+1).strip();if(E.length!==1){v("Macro definitions can only be one character",B,G);return}var D="HIJKLMNOPQRSTUVWXYhijklmnopqrstuvw~";if(D.indexOf(E)===-1){v("Macro definitions must be H-Y, h-w, or tilde",B,G);return}if(F.length===0){v("Missing macro definition",B,G);return}if(w.macros===undefined){w.macros={}}w.macros[E]=F};this.setDefaultLength=function(C,H,B){var A=C.substring(H,B).gsub(" ","");var G=A.split("/");if(G.length===2){var F=parseInt(G[0]);var E=parseInt(G[1]);if(E>0){var D=F/E;w.default_length=D;w.havent_set_length=false}}};this.setTempo=function(J,A,D){try{var G=q.tokenize(J,A,D);if(G.length===0){throw"Missing parameter in Q: field"}var E={};var I=true;var C=G.shift();if(C.type==="quote"){E.preString=C.token;C=G.shift();if(G.length===0){return{type:"immediate",tempo:E}}}if(C.type==="alpha"&&C.token==="C"){if(G.length===0){throw"Missing tempo after C in Q: field"}C=G.shift();if(C.type==="punct"&&C.token==="="){if(G.length===0){throw"Missing tempo after = in Q: field"}C=G.shift();if(C.type!=="number"){throw"Expected number after = in Q: field"}E.duration=[1];E.bpm=parseInt(C.token)}else{if(C.type==="number"){E.duration=[parseInt(C.token)];if(G.length===0){throw"Missing = after duration in Q: field"}C=G.shift();if(C.type!=="punct"||C.token!=="="){throw"Expected = after duration in Q: field"}if(G.length===0){throw"Missing tempo after = in Q: field"}C=G.shift();if(C.type!=="number"){throw"Expected number after = in Q: field"}E.bpm=parseInt(C.token)}else{throw"Expected number or equal after C in Q: field"}}}else{if(C.type==="number"){var F=parseInt(C.token);if(G.length===0||G[0].type==="quote"){E.duration=[1];E.bpm=F}else{I=false;C=G.shift();if(C.type!=="punct"&&C.token!=="/"){throw"Expected fraction in Q: field"}C=G.shift();if(C.type!=="number"){throw"Expected fraction in Q: field"}var H=parseInt(C.token);E.duration=[F/H];while(G.length>0&&G[0].token!=="="&&G[0].type!=="quote"){C=G.shift();if(C.type!=="number"){throw"Expected fraction in Q: field"}F=parseInt(C.token);C=G.shift();if(C.type!=="punct"&&C.token!=="/"){throw"Expected fraction in Q: field"}C=G.shift();if(C.type!=="number"){throw"Expected fraction in Q: field"}H=parseInt(C.token);E.duration.push(F/H)}C=G.shift();if(C.type!=="punct"&&C.token!=="="){throw"Expected = in Q: field"}C=G.shift();if(C.type!=="number"){throw"Expected tempo in Q: field"
 
}E.bpm=parseInt(C.token)}}else{throw"Unknown value in Q: field"}}if(G.length!==0){C=G.shift();if(C.type==="quote"){E.postString=C.token;C=G.shift()}if(G.length!==0){throw"Unexpected string at end of Q: field"}}return{type:I?"delaySet":"immediate",tempo:E}}catch(B){v(B,J,A);return{type:"none"}}};this.letter_to_inline_header=function(C,E){var B=q.eatWhiteSpace(C,E);E+=B;if(C.length>=E+5&&C.charAt(E)==="["&&C.charAt(E+2)===":"){var H=C.indexOf("]",E);switch(C.substring(E,E+3)){case"[I:":var F=this.addDirective(C.substring(E+3,H));if(F){v(F,C,E)}return[H-E+1+B];case"[M:":var G=this.setMeter(C.substring(E+3,H));if(e.hasBeginMusic()&&G){e.appendStartingElement("meter",-1,-1,G)}return[H-E+1+B];case"[K:":var A=this.parseKey(C.substring(E+3,H));if(A.foundClef&&e.hasBeginMusic()){e.appendStartingElement("clef",-1,-1,w.clef)}if(A.foundKey&&e.hasBeginMusic()){e.appendStartingElement("key",-1,-1,this.fixKey(w.clef,w.key))}return[H-E+1+B];case"[P:":e.appendElement("part",-1,-1,{title:C.substring(E+3,H)});return[H-E+1+B];case"[L:":this.setDefaultLength(C,E+3,H);return[H-E+1+B];case"[Q:":if(H>0){var D=this.setTempo(C,E+3,H);if(D.type==="delaySet"){e.appendElement("tempo",-1,-1,this.calcTempo(D.tempo))}else{if(D.type==="immediate"){e.appendElement("tempo",-1,-1,D.tempo)}}return[H-E+1+B,C.charAt(E+1),C.substring(E+3,H)]}break;case"[V:":if(H>0){this.parseVoice(C,E+3,H);return[H-E+1+B,C.charAt(E+1),C.substring(E+3,H)]}break;default:}}return[0]};this.letter_to_body_header=function(B,D){if(B.length>=D+3){switch(B.substring(D,D+2)){case"I:":var E=this.addDirective(B.substring(D+2));if(E){v(E,B,D)}return[B.length];case"M:":var F=this.setMeter(B.substring(D+2));if(e.hasBeginMusic()&&F){e.appendStartingElement("meter",-1,-1,F)}return[B.length];case"K:":var A=this.parseKey(B.substring(D+2));if(A.foundClef&&e.hasBeginMusic()){e.appendStartingElement("clef",-1,-1,w.clef)}if(A.foundKey&&e.hasBeginMusic()){e.appendStartingElement("key",-1,-1,this.fixKey(w.clef,w.key))}return[B.length];case"P:":if(e.hasBeginMusic()){e.appendElement("part",-1,-1,{title:B.substring(D+2)})}return[B.length];case"L:":this.setDefaultLength(B,D+2,B.length);return[B.length];case"Q:":var G=B.indexOf("\x12",D+2);if(G===-1){G=B.length}var C=this.setTempo(B,D+2,G);if(C.type==="delaySet"){e.appendElement("tempo",-1,-1,this.calcTempo(C.tempo))}else{if(C.type==="immediate"){e.appendElement("tempo",-1,-1,C.tempo)}}return[G,B.charAt(D),B.substring(D+2).strip()];case"V:":this.parseVoice(B,2,B.length);return[B.length,B.charAt(D),B.substring(D+2).strip()];default:}}return[0]};var g={A:"author",B:"book",C:"composer",D:"discography",F:"url",G:"group",I:"instruction",N:"notes",O:"origin",R:"rhythm",S:"source",W:"unalignedWords",Z:"transcription"};this.parseHeader=function(B){if(B.startsWith("%%")){var E=this.addDirective(B.substring(2));if(E){v(E,B,2)}return{}}B=q.stripComment(B);if(B.length===0){return{}}if(B.length>=2){if(B.charAt(1)===":"){var D="";if(B.indexOf("\x12")>=0&&B.charAt(0)!=="w"){D=B.substring(B.indexOf("\x12")+1);B=B.substring(0,B.indexOf("\x12"))}var F=g[B.charAt(0)];if(F!==undefined){if(F==="unalignedWords"){e.addMetaTextArray(F,this.parseFontChangeLine(q.translateString(q.stripComment(B.substring(2)))))}else{e.addMetaText(F,q.translateString(q.stripComment(B.substring(2))))}return{}}else{switch(B.charAt(0)){case"H":e.addMetaText("history",q.translateString(q.stripComment(B.substring(2))));w.is_in_history=true;break;case"K":this.resolveTempo();var A=this.parseKey(B.substring(2));if(!w.is_in_header&&e.hasBeginMusic()){if(A.foundClef){e.appendStartingElement("clef",-1,-1,w.clef)}if(A.foundKey){e.appendStartingElement("key",-1,-1,this.fixKey(w.clef,w.key))}}w.is_in_header=false;break;case"L":this.setDefaultLength(B,2,B.length);break;case"M":w.origMeter=w.meter=this.setMeter(B.substring(2));break;case"P":if(w.is_in_header){e.addMetaText("partOrder",q.translateString(q.stripComment(B.substring(2))))}else{w.partForNextLine=q.translateString(q.stripComment(B.substring(2)))}break;case"Q":var C=this.setTempo(B,2,B.length);if(C.type==="delaySet"){w.tempo=C.tempo}else{if(C.type==="immediate"){e.metaText.tempo=C.tempo}}break;case"T":this.setTitle(B.substring(2));break;case"U":this.addUserDefinition(B,2,B.length);break;case"V":this.parseVoice(B,2,B.length);if(!w.is_in_header){return{newline:true}}break;case"s":return{symbols:true};case"w":return{words:true};case"X":break;case"E":case"m":v("Ignored header",B,0);break;default:if(D.length){D="\x12"+D}return{regular:true,str:B+D}}}if(D.length>0){return{recurse:true,str:D}}return{}}}return{regular:true,str:B}}}function AbcTune(){this.reset=function(){this.version="1.0.1";this.media="screen";this.metaText={};this.formatting={};this.lines=[];this.staffNum=0;this.voiceNum=0;this.lineNum=0};this.cleanUp=function(b,k){this.closeLine();var g=false;for(var f=0;f<this.lines.length;f++){if(this.lines[f].staff!==undefined){var a=false;for(var l=0;l<this.lines[f].staff.length;l++){if(this.lines[f].staff[l]===undefined){g=true;this.lines[f].staff[l]=null}else{for(var h=0;h<this.lines[f].staff[l].voices.length;h++){if(this.lines[f].staff[l].voices[h]===undefined){this.lines[f].staff[l].voices[h]=[]}else{if(this.containsNotes(this.lines[f].staff[l].voices[h])){a=true}}}}}if(!a){this.lines[f]=null;g=true}}}if(g){this.lines=this.lines.compact();this.lines.each(function(m){if(m.staff){m.staff=m.staff.compact()}})}function c(C){var B=[];var z;var A=function(E,p,G){if(B[G]===undefined){for(z=0;z<B.length;z++){if(B[z]!==undefined){G=z;break}}if(B[G]===undefined){var F=G*100;E.endSlur.each(function(H){if(F===H){--F}});B[G]=[F]}}for(var x=0;x<p;x++){var D=B[G].pop();E.endSlur.push(D)}if(B[G].length===0){delete B[G]}return D};var t=function(E,p,F,D){E.startSlur=[];if(B[F]===undefined){B[F]=[]}var G=F*100+1;for(var x=0;x<p;x++){if(D){D.each(function(H){if(G===H){++G}});D.each(function(H){if(G===H){++G}});D.each(function(H){if(G===H){++G}})}B[F].each(function(H){if(G===H){++G}});B[F].each(function(H){if(G===H){++G}});B[F].push(G);E.startSlur.push({label:G});G++}};for(var u=0;u<C.length;u++){var o=C[u];if(o.el_type==="note"){if(o.gracenotes){for(var v=0;v<o.gracenotes.length;v++){if(o.gracenotes[v].endSlur){var w=o.gracenotes[v].endSlur;o.gracenotes[v].endSlur=[];for(var m=0;m<w;m++){A(o.gracenotes[v],1,20)}}if(o.gracenotes[v].startSlur){z=o.gracenotes[v].startSlur;t(o.gracenotes[v],z,20)}}}if(o.endSlur){z=o.endSlur;o.endSlur=[];A(o,z,0)}if(o.startSlur){z=o.startSlur;t(o,z,0)}if(o.pitches){var y=[];for(var n=0;n<o.pitches.length;n++){if(o.pitches[n].endSlur){var r=o.pitches[n].endSlur;o.pitches[n].endSlur=[];for(var s=0;s<r;s++){var q=A(o.pitches[n],1,n+1);y.push(q)}}}for(n=0;n<o.pitches.length;n++){if(o.pitches[n].startSlur){z=o.pitches[n].startSlur;t(o.pitches[n],z,n+1,y)}}if(o.gracenotes&&o.pitches[0].endSlur&&o.pitches[0].endSlur[0]===100&&o.pitches[0].startSlur){if(o.gracenotes[0].endSlur){o.gracenotes[0].endSlur.push(o.pitches[0].startSlur[0].label)}else{o.gracenotes[0].endSlur=[o.pitches[0].startSlur[0].label]
 
}if(o.pitches[0].endSlur.length===1){delete o.pitches[0].endSlur}else{if(o.pitches[0].endSlur[0]===100){o.pitches[0].endSlur.shift()}else{if(o.pitches[0].endSlur[o.pitches[0].endSlur.length-1]===100){o.pitches[0].endSlur.pop()}}}if(B[1].length===1){delete B[1]}else{B[1].pop()}}}}}}function e(o){var n=-2;var m=5;switch(o.type){case"treble+8":case"treble-8":break;case"bass":case"bass+8":case"bass-8":o.verticalPos=20+o.verticalPos;n+=6;m+=6;break;break;case"tenor":case"tenor+8":case"tenor-8":o.verticalPos=-o.verticalPos;n=-40;m=40;break;case"alto":case"alto+8":case"alto-8":o.verticalPos=-o.verticalPos;n=-40;m=40;break}if(o.verticalPos<n){while(o.verticalPos<n){o.verticalPos+=7}}else{if(o.verticalPos>m){while(o.verticalPos>m){o.verticalPos-=7}}}}for(this.lineNum=0;this.lineNum<this.lines.length;this.lineNum++){if(this.lines[this.lineNum].staff){for(this.staffNum=0;this.staffNum<this.lines[this.lineNum].staff.length;this.staffNum++){if(this.lines[this.lineNum].staff[this.staffNum].clef){e(this.lines[this.lineNum].staff[this.staffNum].clef)}for(this.voiceNum=0;this.voiceNum<this.lines[this.lineNum].staff[this.staffNum].voices.length;this.voiceNum++){c(this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum]);for(var d=0;d<this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum].length;d++){if(this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum][d].el_type==="clef"){e(this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum][d])}}}}}}if(!this.formatting.pagewidth){this.formatting.pagewidth=b}if(!this.formatting.pageheight){this.formatting.pageheight=k}delete this.staffNum;delete this.voiceNum;delete this.lineNum;delete this.potentialStartBeam;delete this.potentialEndBeam;delete this.vskipPending};this.reset();this.getLastNote=function(){if(this.lines[this.lineNum]&&this.lines[this.lineNum].staff&&this.lines[this.lineNum].staff[this.staffNum]&&this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum]){for(var a=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum].length-1;a>=0;a--){var b=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum][a];if(b.el_type==="note"){return b}}}return null};this.addTieToLastNote=function(){var a=this.getLastNote();if(a&&a.pitches&&a.pitches.length>0){a.pitches[0].startTie={};return true}return false};this.getDuration=function(a){if(a.duration){return a.duration}return 0};this.closeLine=function(){if(this.potentialStartBeam&&this.potentialEndBeam){this.potentialStartBeam.startBeam=true;this.potentialEndBeam.endBeam=true}delete this.potentialStartBeam;delete this.potentialEndBeam};this.appendElement=function(h,k,e,a){var c=this;var g=function(n){if(n.pitches!==undefined){var l=c.lines[c.lineNum].staff[c.staffNum].clef.verticalPos;n.pitches.each(function(o){o.verticalPos=o.pitch-l})}if(n.gracenotes!==undefined){var m=c.lines[c.lineNum].staff[c.staffNum].clef.verticalPos;n.gracenotes.each(function(o){o.verticalPos=o.pitch-m})}c.lines[c.lineNum].staff[c.staffNum].voices[c.voiceNum].push(n)};a.el_type=h;if(k!==null){a.startChar=k}if(e!==null){a.endChar=e}var d=function(){c.potentialStartBeam.startBeam=true;a.endBeam=true;delete c.potentialStartBeam;delete c.potentialEndBeam};var f=function(){if(c.potentialStartBeam!==undefined&&c.potentialEndBeam!==undefined){c.potentialStartBeam.startBeam=true;c.potentialEndBeam.endBeam=true}delete c.potentialStartBeam;delete c.potentialEndBeam};if(h==="note"){var b=c.getDuration(a);if(b>=0.25){f()}else{if(a.force_end_beam_last&&c.potentialStartBeam!==undefined){f()}else{if(a.end_beam&&c.potentialStartBeam!==undefined){if(a.rest===undefined){d()}else{f()}}else{if(a.rest===undefined){if(c.potentialStartBeam===undefined){if(!a.end_beam){c.potentialStartBeam=a;delete c.potentialEndBeam}}else{c.potentialEndBeam=a}}}}}}else{f()}delete a.end_beam;delete a.force_end_beam_last;g(a)};this.appendStartingElement=function(e,a,g,c){var b=Object.clone(c);var f=this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum];for(var d=0;d<f.length;d++){if(f[d].el_type==="note"||f[d].el_type==="bar"){b.el_type=e;b.startChar=a;b.endChar=g;f.push(b);return}if(f[d].el_type===e){b.el_type=e;b.startChar=a;b.endChar=g;f[d]=b;return}}this.lines[this.lineNum].staff[this.staffNum][e]=c};this.getNumLines=function(){return this.lines.length};this.pushLine=function(a){if(this.vskipPending){a.vskip=this.vskipPending;delete this.vskipPending}this.lines.push(a)};this.addSubtitle=function(a){this.pushLine({subtitle:a})};this.addSpacing=function(a){this.vskipPending=a};this.addNewPage=function(a){this.pushLine({newpage:a})};this.addSeparator=function(c,b,a){this.pushLine({separator:{spaceAbove:c,spaceBelow:b,lineLength:a}})};this.addText=function(a){this.pushLine({text:a})};this.addCentered=function(a){this.pushLine({text:[{text:a,center:true}]})};this.containsNotes=function(b){for(var a=0;a<b.length;a++){if(b[a].el_type==="note"||b[a].el_type==="bar"){return true}}return false};this.startNewLine=function(e){var d=this;this.closeLine();var c=function(k){d.lines[d.lineNum].staff[d.staffNum].voices[d.voiceNum]=[];if(d.isFirstLine(d.lineNum)){if(k.name){if(!d.lines[d.lineNum].staff[d.staffNum].title){d.lines[d.lineNum].staff[d.staffNum].title=[]}d.lines[d.lineNum].staff[d.staffNum].title[d.voiceNum]=k.name}}else{if(k.subname){if(!d.lines[d.lineNum].staff[d.staffNum].title){d.lines[d.lineNum].staff[d.staffNum].title=[]}d.lines[d.lineNum].staff[d.staffNum].title[d.voiceNum]=k.subname}}if(k.style){d.appendElement("style",null,null,{head:k.style})}if(k.stem){d.appendElement("stem",null,null,{direction:k.stem})}else{if(d.voiceNum>0){if(d.lines[d.lineNum].staff[d.staffNum].voices[0]!==undefined){var g=false;for(var f=0;f<d.lines[d.lineNum].staff[d.staffNum].voices[0].length;f++){if(d.lines[d.lineNum].staff[d.staffNum].voices[0].el_type==="stem"){g=true}}if(!g){var h={el_type:"stem",direction:"up"};d.lines[d.lineNum].staff[d.staffNum].voices[0].splice(0,0,h)}}d.appendElement("stem",null,null,{direction:"down"})}}if(k.scale){d.appendElement("scale",null,null,{size:k.scale})}};var a=function(f){d.lines[d.lineNum].staff[d.staffNum]={voices:[],clef:f.clef,key:f.key};if(f.vocalfont){d.lines[d.lineNum].staff[d.staffNum].vocalfont=f.vocalfont}if(f.bracket){d.lines[d.lineNum].staff[d.staffNum].bracket=f.bracket}if(f.brace){d.lines[d.lineNum].staff[d.staffNum].brace=f.brace}if(f.connectBarLines){d.lines[d.lineNum].staff[d.staffNum].connectBarLines=f.connectBarLines}c(f);if(f.part){d.appendElement("part",f.startChar,f.endChar,{title:f.part})}if(f.meter!==undefined){d.lines[d.lineNum].staff[d.staffNum].meter=f.meter}};var b=function(f){d.lines[d.lineNum]={staff:[]};a(f)};if(this.lines[this.lineNum]===undefined){b(e)}else{if(this.lines[this.lineNum].staff===undefined){this.lineNum++;this.startNewLine(e)}else{if(this.lines[this.lineNum].staff[this.staffNum]===undefined){a(e)}else{if(this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum]===undefined){c(e)}else{if(!this.containsNotes(this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum])){return
 
}else{this.lineNum++;this.startNewLine(e)}}}}}};this.hasBeginMusic=function(){return this.lines.length>0};this.isFirstLine=function(a){for(var b=a-1;b>=0;b--){if(this.lines[b].staff!==undefined){return false}}return true};this.getCurrentVoice=function(){if(this.lines[this.lineNum]!==undefined&&this.lines[this.lineNum].staff[this.staffNum]!==undefined&&this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum]!==undefined){return this.lines[this.lineNum].staff[this.staffNum].voices[this.voiceNum]}else{return null}};this.setCurrentVoice=function(c,b){this.staffNum=c;this.voiceNum=b;for(var a=0;a<this.lines.length;a++){if(this.lines[a].staff){if(this.lines[a].staff[c]===undefined||this.lines[a].staff[c].voices[b]===undefined||!this.containsNotes(this.lines[a].staff[c].voices[b])){this.lineNum=a;return}}}this.lineNum=a};this.addMetaText=function(a,b){if(this.metaText[a]===undefined){this.metaText[a]=b}else{this.metaText[a]+="\n"+b}};this.addMetaTextArray=function(a,b){if(this.metaText[a]===undefined){this.metaText[a]=[b]}else{this.metaText[a].push(b)}};this.addMetaTextObj=function(a,b){this.metaText[a]=b}}function AbcTokenizer(){this.skipWhiteSpace=function(k){for(var h=0;h<k.length;h++){if(!this.isWhiteSpace(k.charAt(h))){return h}}return k.length};var g=function(k,h){return h>=k.length};this.eatWhiteSpace=function(h,k){for(var l=k;l<h.length;l++){if(!this.isWhiteSpace(h.charAt(l))){return l-k}}return l-k};this.getKeyPitch=function(k){var h=this.skipWhiteSpace(k);if(g(k,h)){return{len:0}}switch(k.charAt(h)){case"A":return{len:h+1,token:"A"};case"B":return{len:h+1,token:"B"};case"C":return{len:h+1,token:"C"};case"D":return{len:h+1,token:"D"};case"E":return{len:h+1,token:"E"};case"F":return{len:h+1,token:"F"};case"G":return{len:h+1,token:"G"}}return{len:0}};this.getSharpFlat=function(h){if(h==="bass"){return{len:0}}switch(h.charAt(0)){case"#":return{len:1,token:"#"};case"b":return{len:1,token:"b"}}return{len:0}};this.getMode=function(m){var l=function(n,o){while(o<n.length&&((n.charAt(o)>="a"&&n.charAt(o)<="z")||(n.charAt(o)>="A"&&n.charAt(o)<="Z"))){o++}return o};var k=this.skipWhiteSpace(m);if(g(m,k)){return{len:0}}var h=m.substring(k,k+3).toLowerCase();if(h.length>1&&h.charAt(1)===" "||h.charAt(1)==="^"||h.charAt(1)==="_"||h.charAt(1)==="="){h=h.charAt(0)}switch(h){case"mix":return{len:l(m,k),token:"Mix"};case"dor":return{len:l(m,k),token:"Dor"};case"phr":return{len:l(m,k),token:"Phr"};case"lyd":return{len:l(m,k),token:"Lyd"};case"loc":return{len:l(m,k),token:"Loc"};case"aeo":return{len:l(m,k),token:"m"};case"maj":return{len:l(m,k),token:""};case"ion":return{len:l(m,k),token:""};case"min":return{len:l(m,k),token:"m"};case"m":return{len:l(m,k),token:"m"}}return{len:0}};this.getClef=function(o,n){var h=o;var m=this.skipWhiteSpace(o);if(g(o,m)){return{len:0}}var q=false;var p=o.substring(m);if(p.startsWith("clef=")){q=true;p=p.substring(5);m+=5}if(p.length===0&&q){return{len:m+5,warn:"No clef specified: "+h}}var l=this.skipWhiteSpace(p);if(g(p,l)){return{len:0}}if(l>0){m+=l;p=p.substring(l)}var k=null;if(p.startsWith("treble")){k="treble"}else{if(p.startsWith("bass3")){k="bass3"}else{if(p.startsWith("bass")){k="bass"}else{if(p.startsWith("tenor")){k="tenor"}else{if(p.startsWith("alto2")){k="alto2"}else{if(p.startsWith("alto1")){k="alto1"}else{if(p.startsWith("alto")){k="alto"}else{if(!n&&(q&&p.startsWith("none"))){k="none"}else{if(p.startsWith("perc")){k="perc"}else{if(!n&&(q&&p.startsWith("C"))){k="tenor"}else{if(!n&&(q&&p.startsWith("F"))){k="bass"}else{if(!n&&(q&&p.startsWith("G"))){k="treble"}else{return{len:m+5,warn:"Unknown clef specified: "+h}}}}}}}}}}}}}p=p.substring(k.length);l=this.isMatch(p,"+8");if(l>0){k+="+8"}else{l=this.isMatch(p,"-8");if(l>0){k+="-8"}}return{len:m+k.length,token:k,explicit:q}};this.getBarLine=function(h,l){switch(h.charAt(l)){case"]":++l;switch(h.charAt(l)){case"|":return{len:2,token:"bar_thick_thin"};case"[":++l;if((h.charAt(l)>="1"&&h.charAt(l)<="9")||h.charAt(l)==='"'){return{len:2,token:"bar_invisible"}}return{len:1,warn:"Unknown bar symbol"};default:return{len:1,token:"bar_invisible"}}break;case":":++l;switch(h.charAt(l)){case":":return{len:2,token:"bar_dbl_repeat"};case"|":++l;switch(h.charAt(l)){case"]":++l;switch(h.charAt(l)){case"|":++l;if(h.charAt(l)===":"){return{len:5,token:"bar_dbl_repeat"}}return{len:3,token:"bar_right_repeat"};default:return{len:3,token:"bar_right_repeat"}}break;case"|":++l;if(h.charAt(l)===":"){return{len:4,token:"bar_dbl_repeat"}}return{len:3,token:"bar_right_repeat"};default:return{len:2,token:"bar_right_repeat"}}break;default:return{len:1,warn:"Unknown bar symbol"}}break;case"[":++l;if(h.charAt(l)==="|"){++l;switch(h.charAt(l)){case":":return{len:3,token:"bar_left_repeat"};case"]":return{len:3,token:"bar_invisible"};default:return{len:2,token:"bar_thick_thin"}}}else{if((h.charAt(l)>="1"&&h.charAt(l)<="9")||h.charAt(l)==='"'){return{len:1,token:"bar_invisible"}}return{len:0}}break;case"|":++l;switch(h.charAt(l)){case"]":return{len:2,token:"bar_thin_thick"};case"|":++l;if(h.charAt(l)===":"){return{len:3,token:"bar_left_repeat"}}return{len:2,token:"bar_thin_thin"};case":":var k=0;while(h.charAt(l+k)===":"){k++}return{len:1+k,token:"bar_left_repeat"};default:return{len:1,token:"bar_thin"}}break}return{len:0}};this.getTokenOf=function(l,k){for(var h=0;h<l.length;h++){if(k.indexOf(l.charAt(h))<0){return{len:h,token:l.substring(0,h)}}}return{len:h,token:l}};this.getToken=function(l,m,h){var k=m;while(k<h&&!this.isWhiteSpace(l.charAt(k))){k++}return l.substring(m,k)};this.isMatch=function(l,h){var k=this.skipWhiteSpace(l);if(g(l,k)){return 0}if(l.substring(k).startsWith(h)){return k+h.length}return 0};this.getPitchFromTokens=function(l){var h={};var k={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11};h.position=k[l[0].token];if(h.position===undefined){return{warn:"Pitch expected. Found: "+l[0].token}}l.shift();while(l.length){switch(l[0].token){case",":h.position-=7;l.shift();break;case"'":h.position+=7;l.shift();break;default:return h}}return h};this.getKeyAccidentals2=function(l){var h;while(l.length>0){var k;if(l[0].token==="^"){k="sharp";l.shift();if(l.length===0){return{accs:h,warn:"Expected note name after "+k}}switch(l[0].token){case"^":k="dblsharp";l.shift();break;case"/":k="quartersharp";l.shift();break}}else{if(l[0].token==="="){k="natural";l.shift()}else{if(l[0].token==="_"){k="flat";l.shift();if(l.length===0){return{accs:h,warn:"Expected note name after "+k}}switch(l[0].token){case"_":k="dblflat";l.shift();break;case"/":k="quarterflat";l.shift();break}}else{return{accs:h}}}}if(l.length===0){return{accs:h,warn:"Expected note name after "+k}}switch(l[0].token.charAt(0)){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":if(h===undefined){h=[]}h.push({acc:k,note:l[0].token.charAt(0)});if(l[0].token.length===1){l.shift()}else{l[0].token=l[0].token.substring(1)}break;default:return{accs:h,warn:"Expected note name after "+k+" Found: "+l[0].token};
 
break}}return{accs:h}};this.getKeyAccidental=function(m){var l={"^":"sharp","^^":"dblsharp","=":"natural",_:"flat",__:"dblflat","_/":"quarterflat","^/":"quartersharp"};var h=this.skipWhiteSpace(m);if(g(m,h)){return{len:0}}var k=null;switch(m.charAt(h)){case"^":case"_":case"=":k=m.charAt(h);break;default:return{len:0}}h++;if(g(m,h)){return{len:1,warn:"Expected note name after accidental"}}switch(m.charAt(h)){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":return{len:h+1,token:{acc:l[k],note:m.charAt(h)}};case"^":case"_":case"/":k+=m.charAt(h);h++;if(g(m,h)){return{len:2,warn:"Expected note name after accidental"}}switch(m.charAt(h)){case"a":case"b":case"c":case"d":case"e":case"f":case"g":case"A":case"B":case"C":case"D":case"E":case"F":case"G":return{len:h+1,token:{acc:l[k],note:m.charAt(h)}};default:return{len:2,warn:"Expected note name after accidental"}}break;default:return{len:1,warn:"Expected note name after accidental"}}};this.isWhiteSpace=function(h){return h===" "||h==="\t"||h==="\x12"};this.getMeat=function(k,m,h){var l=k.indexOf("%",m);if(l>=0&&l<h){h=l}while(m<h&&(k.charAt(m)===" "||k.charAt(m)==="\t"||k.charAt(m)==="\x12")){m++}while(m<h&&(k.charAt(h-1)===" "||k.charAt(h-1)==="\t"||k.charAt(h-1)==="\x12")){h--}return{start:m,end:h}};var d=function(h){return(h>="A"&&h<="Z")||(h>="a"&&h<="z")};var c=function(h){return(h>="0"&&h<="9")};this.tokenize=function(k,o,h){var l=this.getMeat(k,o,h);o=l.start;h=l.end;var n=[];var m;while(o<h){if(k.charAt(o)==='"'){m=o+1;while(m<h&&k.charAt(m)!=='"'){m++}n.push({type:"quote",token:k.substring(o+1,m),start:o+1,end:m});m++}else{if(d(k.charAt(o))){m=o+1;while(m<h&&d(k.charAt(m))){m++}n.push({type:"alpha",token:k.substring(o,m),continueId:c(k.charAt(m)),start:o,end:m});o=m+1}else{if(c(k.charAt(o))){m=o+1;while(m<h&&c(k.charAt(m))){m++}n.push({type:"number",token:k.substring(o,m),continueId:d(k.charAt(m)),start:o,end:m});o=m+1}else{if(k.charAt(o)===" "||k.charAt(o)==="\t"){m=o+1}else{n.push({type:"punct",token:k.charAt(o),start:o,end:o+1});m=o+1}}}}o=m}return n};this.getVoiceToken=function(k,o,h){var l=o;while(l<h&&this.isWhiteSpace(k.charAt(l))||k.charAt(l)==="="){l++}if(k.charAt(l)==='"'){var n=k.indexOf('"',l+1);if(n===-1||n>=h){return{len:1,err:"Missing close quote"}}return{len:n-o+1,token:this.translateString(k.substring(l+1,n))}}else{var m=l;while(m<h&&!this.isWhiteSpace(k.charAt(m))&&k.charAt(m)!=="="){m++}return{len:m-o+1,token:k.substring(l,m)}}};var f={"`a":"à","'a":"á","^a":"â","~a":"ã",'"a':"ä",oa:"å","=a":"ā",ua:"ă",";a":"ą","`e":"è","'e":"é","^e":"ê",'"e':"ë","=e":"ē",ue:"ĕ",";e":"ę",".e":"ė","`i":"ì","'i":"í","^i":"î",'"i':"ï","=i":"ī",ui:"ĭ",";i":"į","`o":"ò","'o":"ó","^o":"ô","~o":"õ",'"o':"ö","=o":"ō",uo:"ŏ","/o":"ø","`u":"ù","'u":"ú","^u":"û","~u":"ũ",'"u':"ü",ou:"ů","=u":"ū",uu:"ŭ",";u":"ų","`A":"À","'A":"Á","^A":"Â","~A":"Ã",'"A':"Ä",oA:"Å","=A":"Ā",uA:"Ă",";A":"Ą","`E":"È","'E":"É","^E":"Ê",'"E':"Ë","=E":"Ē",uE:"Ĕ",";E":"Ę",".E":"Ė","`I":"Ì","'I":"Í","^I":"Î","~I":"Ĩ",'"I':"Ï","=I":"Ī",uI:"Ĭ",";I":"Į",".I":"İ","`O":"Ò","'O":"Ó","^O":"Ô","~O":"Õ",'"O':"Ö","=O":"Ō",uO:"Ŏ","/O":"Ø","`U":"Ù","'U":"Ú","^U":"Û","~U":"Ũ",'"U':"Ü",oU:"Ů","=U":"Ū",uU:"Ŭ",";U":"Ų",ae:"æ",AE:"Æ",oe:"œ",OE:"Œ",ss:"ß","'c":"ć","^c":"ĉ",uc:"č",cc:"ç",".c":"ċ",cC:"Ç","'C":"Ć","^C":"Ĉ",uC:"Č",".C":"Ċ","~n":"ñ","=s":"š",vs:"š",vz:"ž"};var e={"#":"♯",b:"♭","=":"♮"};var b={"201":"♯","202":"♭","203":"♮","241":"¡","242":"¢","252":"a","262":"2","272":"o","302":"Â","312":"Ê","322":"Ò","332":"Ú","342":"â","352":"ê","362":"ò","372":"ú","243":"£","253":"«","263":"3","273":"»","303":"Ã","313":"Ë","323":"Ó","333":"Û","343":"ã","353":"ë","363":"ó","373":"û","244":"¤","254":"¬","264":"  ́","274":"1⁄4","304":"Ä","314":"Ì","324":"Ô","334":"Ü","344":"ä","354":"ì","364":"ô","374":"ü","245":"¥","255":"-","265":"μ","275":"1⁄2","305":"Å","315":"Í","325":"Õ","335":"Ý","345":"å","355":"í","365":"õ","375":"ý","246":"¦","256":"®","266":"¶","276":"3⁄4","306":"Æ","316":"Î","326":"Ö","336":"Þ","346":"æ","356":"î","366":"ö","376":"þ","247":"§","257":" ̄","267":"·","277":"¿","307":"Ç","317":"Ï","327":"×","337":"ß","347":"ç","357":"ï","367":"÷","377":"ÿ","250":" ̈","260":"°","270":" ̧","300":"À","310":"È","320":"Ð","330":"Ø","340":"à","350":"è","360":"ð","370":"ø","251":"©","261":"±","271":"1","301":"Á","311":"É","321":"Ñ","331":"Ù","341":"á","351":"é","361":"ñ","371":"ù"};this.translateString=function(l){var h=l.split("\\");if(h.length===1){return l}var k=null;h.each(function(m){if(k===null){k=m}else{var n=f[m.substring(0,2)];if(n!==undefined){k+=n+m.substring(2)}else{n=b[m.substring(0,3)];if(n!==undefined){k+=n+m.substring(3)}else{n=e[m.substring(0,1)];if(n!==undefined){k+=n+m.substring(1)}else{k+="\\"+m}}}}});return k};this.getNumber=function(h,l){var k=0;while(l<h.length){switch(h.charAt(l)){case"0":k=k*10;l++;break;case"1":k=k*10+1;l++;break;case"2":k=k*10+2;l++;break;case"3":k=k*10+3;l++;break;case"4":k=k*10+4;l++;break;case"5":k=k*10+5;l++;break;case"6":k=k*10+6;l++;break;case"7":k=k*10+7;l++;break;case"8":k=k*10+8;l++;break;case"9":k=k*10+9;l++;break;default:return{num:k,index:l}}}return{num:k,index:l}};this.getFraction=function(h,m){var l=1;var q=1;if(h.charAt(m)!=="/"){var k=this.getNumber(h,m);l=k.num;m=k.index}if(h.charAt(m)==="/"){m++;if(h.charAt(m)==="/"){var p=0.5;while(h.charAt(m++)==="/"){p=p/2}return{value:l*p,index:m-1}}else{var n=m;var o=this.getNumber(h,m);if(o.num===0&&n===m){o.num=2}if(o.num!==0){q=o.num}m=o.index}}return{value:l/q,index:m}};this.theReverser=function(h){if(h.endsWith(", The")){return"The "+h.substring(0,h.length-5)}if(h.endsWith(", A")){return"A "+h.substring(0,h.length-3)}return h};this.stripComment=function(k){var h=k.indexOf("%");if(h>=0){return k.substring(0,h).strip()}return k.strip()};this.getInt=function(m){var h=parseInt(m);if(isNaN(h)){return{digits:0}}var l=""+h;var k=m.indexOf(l);return{value:h,digits:k+l.length}};this.getFloat=function(m){var h=parseFloat(m);if(isNaN(h)){return{digits:0}}var l=""+h;var k=m.indexOf(l);return{value:h,digits:k+l.length}};this.getMeasurement=function(m){if(m.length===0){return{used:0}}var l=1;var k="";if(m[0].token==="-"){m.shift();k="-";l++}else{if(m[0].type!=="number"){return{used:0}}}k+=m.shift().token;if(m.length===0){return{used:1,value:parseInt(k)}}var h=m.shift();if(h.token==="."){l++;if(m.length===0){return{used:l,value:parseInt(k)}}if(m[0].type==="number"){h=m.shift();k=k+"."+h.token;l++;if(m.length===0){return{used:l,value:parseFloat(k)}}}h=m.shift()}switch(h.token){case"pt":return{used:l+1,value:parseFloat(k)};case"cm":return{used:l+1,value:parseFloat(k)/2.54*72};case"in":return{used:l+1,value:parseFloat(k)*72};default:m.unshift(h);return{used:l,value:parseFloat(k)}}return{used:0}};var a=function(h){while(h.indexOf("\\n")!==-1){h=h.replace("\\n","\n")
 
}return h};this.getBrackettedSubstring=function(h,k,o,m){var l=m||h.charAt(k);var n=k+1;while((n<h.length)&&(h.charAt(n)!==l)){++n}if(h.charAt(n)===l){return[n-k+1,a(h.substring(k+1,n)),true]}else{n=k+o;if(n>h.length-1){n=h.length-1}return[n-k+1,a(h.substring(k+1,n)),false]}}}function AbcParse(){var e=new AbcTune();var o=new AbcTokenizer();this.getTune=function(){return e};var z={reset:function(){for(var B in this){if(this.hasOwnProperty(B)&&typeof this[B]!=="function"){delete this[B]}}this.iChar=0;this.key={accidentals:[],root:"none",acc:"",mode:""};this.meter={type:"specified",value:[{num:"4",den:"4"}]};this.origMeter={type:"specified",value:[{num:"4",den:"4"}]};this.hasMainTitle=false;this.default_length=0.125;this.clef={type:"treble",verticalPos:0};this.next_note_duration=0;this.start_new_line=true;this.is_in_header=true;this.is_in_history=false;this.partForNextLine="";this.havent_set_length=true;this.voices={};this.staves=[];this.macros={};this.currBarNumber=1;this.inTextBlock=false;this.inPsBlock=false;this.ignoredDecorations=[];this.textBlock="";this.score_is_present=false;this.inEnding=false;this.inTie=false;this.inTieChord={}}};var A=function(B){if(!z.warnings){z.warnings=[]}z.warnings.push(B)};var y=function(F,B,E){var D=B.charAt(E);if(D===" "){D="SPACE"}var C=B.substring(0,E).gsub("\x12"," ")+"\n"+D+"\n"+B.substring(E+1).gsub("\x12"," ");C=C.gsub("&","&amp;").gsub("<","&lt;").gsub(">","&gt;").replace("\n",'<span style="text-decoration:underline;font-size:1.3em;font-weight:bold;">').replace("\n","</span>");A("Music Line:"+e.getNumLines()+":"+(E+1)+": "+F+":  "+C)};var v=new AbcParseHeader(o,y,z,e);this.getWarnings=function(){return z.warnings};var u=function(B,C){if(B.charAt(C)==='"'){var D=o.getBrackettedSubstring(B,C,5);if(!D[2]){y("Missing the closing quote while parsing the chord symbol",B,C)}if(D[0]>0&&D[1].length>0&&D[1].charAt(0)==="^"){D[1]=D[1].substring(1);D[2]="above"}else{if(D[0]>0&&D[1].length>0&&D[1].charAt(0)==="_"){D[1]=D[1].substring(1);D[2]="below"}else{if(D[0]>0&&D[1].length>0&&D[1].charAt(0)==="<"){D[1]=D[1].substring(1);D[2]="left"}else{if(D[0]>0&&D[1].length>0&&D[1].charAt(0)===">"){D[1]=D[1].substring(1);D[2]="right"}else{D[1]=D[1].replace(/([ABCDEFG])b/g,"$1♭");D[1]=D[1].replace(/([ABCDEFG])#/g,"$1♯");D[2]="default"}}}}return D}return[0,""]};var q=["trill","lowermordent","uppermordent","mordent","pralltriller","accent","emphasis","fermata","invertedfermata","tenuto","0","1","2","3","4","5","+","wedge","open","thumb","snap","turn","roll","breath","shortphrase","mediumphrase","longphrase","segno","coda","D.S.","D.C.","fine","crescendo(","crescendo)","diminuendo(","diminuendo)","p","pp","f","ff","mf","mp","ppp","pppp","fff","ffff","sfz","repeatbar","repeatbar2","slide","upbow","downbow","/","//","///","////","trem1","trem2","trem3","trem4","turnx","invertedturn","invertedturnx","trill(","trill)","arpeggio","xstem","style=normal","style=harmonic","style=rhythm","style=x"];var t=[["<","accent"],[">","accent"],["tr","trill"],["<(","crescendo("],["<)","crescendo)"],[">(","diminuendo("],[">)","diminuendo)"],["plus","+"]];var g=function(B,D){var E=z.macros[B.charAt(D)];if(E!==undefined){if(E.charAt(0)==="!"||E.charAt(0)==="+"){E=E.substring(1)}if(E.charAt(E.length-1)==="!"||E.charAt(E.length-1)==="+"){E=E.substring(0,E.length-1)}if(q.detect(function(F){return(E===F)})){return[1,E]}else{if(!z.ignoredDecorations.detect(function(F){return(E===F)})){y("Unknown macro: "+E,B,D)}return[1,""]}}switch(B.charAt(D)){case".":return[1,"staccato"];case"u":return[1,"upbow"];case"v":return[1,"downbow"];case"~":return[1,"roll"];case"!":case"+":var C=o.getBrackettedSubstring(B,D,5);if(C[1].length>0&&(C[1].charAt(0)==="^"||C[1].charAt(0)==="_")){C[1]=C[1].substring(1)}if(q.detect(function(F){return(C[1]===F)})){return C}if(t.detect(function(F){if(C[1]===F[0]){C[1]=F[1];return true}else{return false}})){return C}if(B.charAt(D)==="!"&&(C[0]===1||B.charAt(D+C[0]-1)!=="!")){return[1,null]}y("Unknown decoration: "+C[1],B,D);C[1]="";return C;case"H":return[1,"fermata"];case"J":return[1,"slide"];case"L":return[1,"accent"];case"M":return[1,"mordent"];case"O":return[1,"coda"];case"P":return[1,"pralltriller"];case"R":return[1,"roll"];case"S":return[1,"segno"];case"T":return[1,"trill"]}return[0,0]};var d=function(B,C){var D=C;while(o.isWhiteSpace(B.charAt(C))){C++}return[C-D]};var s=function(D,G){var E=o.getBarLine(D,G);if(E.len===0){return[0,""]}if(E.warn){y(E.warn,D,G);return[E.len,""]}for(var C=0;C<D.length;C++){if(D.charAt(G+E.len+C)!==" "){break}}var H=E.len;if(D.charAt(G+E.len+C)==="["){E.len+=C+1;if(D.charAt(G+E.len)==='"'){var B=o.getBrackettedSubstring(D,G+E.len,5);return[E.len+B[0],E.token,B[1]]}}var F=o.getTokenOf(D.substring(G+E.len),"1234567890-,");if(F.len===0||F.token[0]==="-"){return[H,E.token]}return[E.len+F.len,E.token,F.token]};var p=function(B,D){var C={};var E=D;while(B.charAt(D)==="("||o.isWhiteSpace(B.charAt(D))){if(B.charAt(D)==="("){if(D+1<B.length&&(B.charAt(D+1)>="2"&&B.charAt(D+1)<="9")){if(C.triplet!==undefined){y("Can't nest triplets",B,D)}else{C.triplet=B.charAt(D+1)-"0";if(D+2<B.length&&B.charAt(D+2)===":"){if(D+3<B.length&&B.charAt(D+3)===":"){if(D+4<B.length&&(B.charAt(D+4)>="1"&&B.charAt(D+4)<="9")){C.num_notes=B.charAt(D+4)-"0";D+=3}else{y("expected number after the two colons after the triplet to mark the duration",B,D)}}else{if(D+3<B.length&&(B.charAt(D+3)>="1"&&B.charAt(D+3)<="9")){if(D+4<B.length&&B.charAt(D+4)===":"){if(D+5<B.length&&(B.charAt(D+5)>="1"&&B.charAt(D+5)<="9")){C.num_notes=B.charAt(D+5)-"0";D+=4}}else{C.num_notes=C.triplet;D+=3}}else{y("expected number after the triplet to mark the duration",B,D)}}}}D++}else{if(C.startSlur===undefined){C.startSlur=1}else{C.startSlur++}}}D++}C.consumed=D-E;return C};var n=function(C,I){if(!C){y("Can't add words before the first line of mulsic",C,0);return}I=I.strip();if(I.charAt(I.length-1)!=="-"){I=I+" "}var H=[];var G=0;var E=false;var B=function(J){var K=I.substring(G,J).strip();G=J+1;if(K.length>0){if(E){K=K.gsub("~"," ")}var L=I.charAt(J);if(L!=="_"&&L!=="-"){L=" "}H.push({syllable:o.translateString(K),divider:L});E=false;return true}return false};for(var D=0;D<I.length;D++){switch(I.charAt(D)){case" ":case"\x12":B(D);break;case"-":if(!B(D)&&H.length>0){H.last().divider="-";H.push({skip:true,to:"next"})}break;case"_":B(D);H.push({skip:true,to:"slur"});break;case"*":B(D);H.push({skip:true,to:"next"});break;case"|":B(D);H.push({skip:true,to:"bar"});break;case"~":E=true;break}}var F=false;C.each(function(K){if(H.length!==0){if(H[0].skip){switch(H[0].to){case"next":if(K.el_type==="note"&&K.pitches!==null&&!F){H.shift()}break;case"slur":if(K.el_type==="note"&&K.pitches!==null){H.shift()}break;case"bar":if(K.el_type==="bar"){H.shift()}break}}else{if(K.el_type==="note"&&K.rest===undefined&&!F){var J=H.shift();if(K.lyric===undefined){K.lyric=[J]}else{K.lyric.push(J)}}}}})};var c=function(C,I){if(!C){y("Can't add symbols before the first line of mulsic",C,0);return}I=I.strip();if(I.charAt(I.length-1)!=="-"){I=I+" "
 
}var H=[];var G=0;var E=false;var B=function(J){var K=I.substring(G,J).strip();G=J+1;if(K.length>0){if(E){K=K.gsub("~"," ")}var L=I.charAt(J);if(L!=="_"&&L!=="-"){L=" "}H.push({syllable:o.translateString(K),divider:L});E=false;return true}return false};for(var D=0;D<I.length;D++){switch(I.charAt(D)){case" ":case"\x12":B(D);break;case"-":if(!B(D)&&H.length>0){H.last().divider="-";H.push({skip:true,to:"next"})}break;case"_":B(D);H.push({skip:true,to:"slur"});break;case"*":B(D);H.push({skip:true,to:"next"});break;case"|":B(D);H.push({skip:true,to:"bar"});break;case"~":E=true;break}}var F=false;C.each(function(K){if(H.length!==0){if(H[0].skip){switch(H[0].to){case"next":if(K.el_type==="note"&&K.pitches!==null&&!F){H.shift()}break;case"slur":if(K.el_type==="note"&&K.pitches!==null){H.shift()}break;case"bar":if(K.el_type==="bar"){H.shift()}break}}else{if(K.el_type==="note"&&K.rest===undefined&&!F){var J=H.shift();if(K.lyric===undefined){K.lyric=[J]}else{K.lyric.push(J)}}}}})};var b=function(B,C){switch(B.charAt(C)){case">":if(C<B.length-1&&B.charAt(C+1)===">"){return[2,1.75,0.25]}else{return[1,1.5,0.5]}break;case"<":if(C<B.length-1&&B.charAt(C+1)==="<"){return[2,0.25,1.75]}else{return[1,0.5,1.5]}break}return null};var f=function(B){if(B.duration!==undefined&&B.duration<0.25){B.end_beam=true}return B};var k={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11};var a={x:"invisible",y:"spacer",z:"rest",Z:"multimeasure"};var h=function(K,H,D,B){var I=function(L){return(L==="octave"||L==="duration"||L==="Zduration"||L==="broken_rhythm"||L==="end_slur")};var C="startSlur";var E=false;while(1){switch(K.charAt(H)){case"(":if(C==="startSlur"){if(D.startSlur===undefined){D.startSlur=1}else{D.startSlur++}}else{if(I(C)){D.endChar=H;return D}else{return null}}break;case")":if(I(C)){if(D.endSlur===undefined){D.endSlur=1}else{D.endSlur++}}else{return null}break;case"^":if(C==="startSlur"){D.accidental="sharp";C="sharp2"}else{if(C==="sharp2"){D.accidental="dblsharp";C="pitch"}else{if(I(C)){D.endChar=H;return D}else{return null}}}break;case"_":if(C==="startSlur"){D.accidental="flat";C="flat2"}else{if(C==="flat2"){D.accidental="dblflat";C="pitch"}else{if(I(C)){D.endChar=H;return D}else{return null}}}break;case"=":if(C==="startSlur"){D.accidental="natural";C="pitch"}else{if(I(C)){D.endChar=H;return D}else{return null}}break;case"A":case"B":case"C":case"D":case"E":case"F":case"G":case"a":case"b":case"c":case"d":case"e":case"f":case"g":if(C==="startSlur"||C==="sharp2"||C==="flat2"||C==="pitch"){D.pitch=k[K.charAt(H)];C="octave";if(B&&z.next_note_duration!==0){D.duration=z.next_note_duration;z.next_note_duration=0;E=true}else{D.duration=z.default_length}}else{if(I(C)){D.endChar=H;return D}else{return null}}break;case",":if(C==="octave"){D.pitch-=7}else{if(I(C)){D.endChar=H;return D}else{return null}}break;case"'":if(C==="octave"){D.pitch+=7}else{if(I(C)){D.endChar=H;return D}else{return null}}break;case"x":case"y":case"z":case"Z":if(C==="startSlur"){D.rest={type:a[K.charAt(H)]};delete D.accidental;delete D.startSlur;delete D.startTie;delete D.endSlur;delete D.endTie;delete D.end_beam;delete D.grace_notes;if(D.rest.type==="multimeasure"){D.duration=1;C="Zduration"}else{if(B&&z.next_note_duration!==0){D.duration=z.next_note_duration;z.next_note_duration=0;E=true}else{D.duration=z.default_length}C="duration"}}else{if(I(C)){D.endChar=H;return D}else{return null}}break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"0":case"/":if(C==="octave"||C==="duration"){var J=o.getFraction(K,H);if(!E){D.duration=D.duration*J.value}D.endChar=J.index;while(J.index<K.length&&(o.isWhiteSpace(K.charAt(J.index))||K.charAt(J.index)==="-")){if(K.charAt(J.index)==="-"){D.startTie={}}else{D=f(D)}J.index++}H=J.index-1;C="broken_rhythm"}else{if(C==="sharp2"){D.accidental="quartersharp";C="pitch"}else{if(C==="flat2"){D.accidental="quarterflat";C="pitch"}else{if(C==="Zduration"){var G=o.getNumber(K,H);D.duration=G.num;D.endChar=G.index;return D}else{return null}}}}break;case"-":if(C==="startSlur"){e.addTieToLastNote();D.endTie=true}else{if(C==="octave"||C==="duration"||C==="end_slur"){D.startTie={};if(!E&&B){C="broken_rhythm"}else{if(o.isWhiteSpace(K.charAt(H+1))){f(D)}D.endChar=H+1;return D}}else{if(C==="broken_rhythm"){D.endChar=H;return D}else{return null}}}break;case" ":case"\t":if(I(C)){D.end_beam=true;do{if(K.charAt(H)==="-"){D.startTie={}}H++}while(H<K.length&&(o.isWhiteSpace(K.charAt(H))||K.charAt(H)==="-"));D.endChar=H;if(!E&&B&&(K.charAt(H)==="<"||K.charAt(H)===">")){H--;C="broken_rhythm"}else{return D}}else{return null}break;case">":case"<":if(I(C)){if(B){var F=b(K,H);H+=F[0]-1;z.next_note_duration=F[2]*D.duration;D.duration=F[1]*D.duration;C="end_slur"}else{D.endChar=H;return D}}else{return null}break;default:if(I(C)){D.endChar=H;return D}return null}H++;if(H===K.length){if(I(C)){D.endChar=H;return D}else{return null}}}return null};function w(){var C={startChar:-1,endChar:-1};if(z.partForNextLine.length){C.part=z.partForNextLine}C.clef=z.currentVoice&&z.staves[z.currentVoice.staffNum].clef!==undefined?Object.clone(z.staves[z.currentVoice.staffNum].clef):Object.clone(z.clef);C.key=v.deepCopyKey(z.key);v.addPosToKey(C.clef,C.key);if(z.meter!==null){if(z.currentVoice){z.staves.each(function(D){D.meter=z.meter});C.meter=z.staves[z.currentVoice.staffNum].meter;z.staves[z.currentVoice.staffNum].meter=null}else{C.meter=z.meter}z.meter=null}else{if(z.currentVoice&&z.staves[z.currentVoice.staffNum].meter){C.meter=z.staves[z.currentVoice.staffNum].meter;z.staves[z.currentVoice.staffNum].meter=null}}if(z.currentVoice&&z.currentVoice.name){C.name=z.currentVoice.name}if(z.vocalfont){C.vocalfont=z.vocalfont}if(z.style){C.style=z.style}if(z.currentVoice){var B=z.staves[z.currentVoice.staffNum];if(B.brace){C.brace=B.brace}if(B.bracket){C.bracket=B.bracket}if(B.connectBarLines){C.connectBarLines=B.connectBarLines}if(B.name){C.name=B.name[z.currentVoice.index]}if(B.subname){C.subname=B.subname[z.currentVoice.index]}if(z.currentVoice.stem){C.stem=z.currentVoice.stem}if(z.currentVoice.scale){C.scale=z.currentVoice.scale}if(z.currentVoice.style){C.style=z.currentVoice.style}}e.startNewLine(C);z.partForNextLine="";if(z.currentVoice===undefined||(z.currentVoice.staffNum===z.staves.length-1&&z.staves[z.currentVoice.staffNum].numVoices-1===z.currentVoice.index)){if(z.barNumbers===0){z.barNumOnNextNote=z.currBarNumber}}}var x=function(C,E){if(C.charAt(E)==="{"){var D=o.getBrackettedSubstring(C,E,1,"}");if(!D[2]){y("Missing the closing '}' while parsing grace note",C,E)}if(C[E+D[0]]===")"){D[0]++;D[1]+=")"}var B=[];var G=0;var H=false;while(G<D[1].length){var F=h(D[1],G,{},false);if(F!==null){B.push(F);if(H){F.endTie=true;H=false}if(F.startTie){H=true}G=F.endChar;delete F.endChar}else{if(D[1].charAt(G)===" "){if(B.length>0){B[B.length-1].end_beam=true}}else{y("Unknown character '"+D[1].charAt(G)+"' while parsing grace note",C,E)}G++}}if(B.length){return[D[0],B]}}return[0]};var r="ABCDEFGabcdefgxyzZ[]|^_{";
 
var m=function(L){v.resolveTempo();z.is_in_header=false;var S=0;var R=z.iChar;while(o.isWhiteSpace(L.charAt(S))&&S<L.length){S++}if(S===L.length||L.charAt(S)==="%"){return}var V=z.start_new_line;z.start_new_line=true;var I=0;var O=v.letter_to_body_header(L,S);if(O[0]>0){S+=O[0]}var D={};while(S<L.length){var E=S;if(L.charAt(S)==="%"){break}var C=v.letter_to_inline_header(L,S);if(C[0]>0){S+=C[0]}else{if(V){w();V=false}while(1){var X=o.eatWhiteSpace(L,S);if(X>0){S+=X}if(S>0&&L.charAt(S-1)==="\x12"){X=v.letter_to_body_header(L,S);if(X[0]>0){S=X[0];z.start_new_line=false}}X=d(L,S);if(X[0]>0){S+=X[0]}X=u(L,S);if(X[0]>0){if(!D.chord){D.chord=[]}var H=o.translateString(X[1]);H=H.replace(/;/g,"\n");var G=false;for(var M=0;M<D.chord.length;M++){if(D.chord[M].position===X[2]){G=true;D.chord[M].name+="\n"+H}}if(G===false){D.chord.push({name:H,position:X[2]})}S+=X[0];var N=o.skipWhiteSpace(L.substring(S));if(N>0){D.force_end_beam_last=true}S+=N}else{if(r.indexOf(L.charAt(S))===-1){X=g(L,S)}else{X=[0]}if(X[0]>0){if(X[1]===null){if(S+1<L.length){w()}}else{if(X[1].length>0){if(D.decoration===undefined){D.decoration=[]}D.decoration.push(X[1])}}S+=X[0]}else{X=x(L,S);if(X[0]>0){D.gracenotes=X[1];S+=X[0]}else{break}}}}X=s(L,S);if(X[0]>0){if(D.gracenotes!==undefined){D.rest={type:"spacer"};D.duration=0.125;e.appendElement("note",R+S,R+S+X[0],D);z.measureNotEmpty=true;D={}}var U={type:X[1]};if(U.type.length===0){y("Unknown bar type",L,S)}else{if(z.inEnding&&U.type!=="bar_thin"){U.endEnding=true;z.inEnding=false}if(X[2]){U.startEnding=X[2];if(z.inEnding){U.endEnding=true}z.inEnding=true}if(D.decoration!==undefined){U.decoration=D.decoration}if(D.chord!==undefined){U.chord=D.chord}if(U.startEnding&&z.barFirstEndingNum===undefined){z.barFirstEndingNum=z.currBarNumber}else{if(U.startEnding&&U.endEnding&&z.barFirstEndingNum){z.currBarNumber=z.barFirstEndingNum}else{if(U.endEnding){z.barFirstEndingNum=undefined}}}if(U.type!=="bar_invisible"&&z.measureNotEmpty){z.currBarNumber++;if(z.barNumbers&&z.currBarNumber%z.barNumbers===0){z.barNumOnNextNote=z.currBarNumber}}e.appendElement("bar",R+S,R+S+X[0],U);z.measureNotEmpty=false;D={}}S+=X[0]}else{if(L[S]==="&"){y("Overlay not yet supported",L,S);S++}else{X=p(L,S);if(X.consumed>0){if(X.startSlur!==undefined){D.startSlur=X.startSlur}if(X.triplet!==undefined){if(I>0){y("Can't nest triplets",L,S)}else{D.startTriplet=X.triplet;I=X.num_notes===undefined?X.triplet:X.num_notes}}S+=X.consumed}if(L.charAt(S)==="["){S++;var B=null;var Q=false;while(!Q){var K=h(L,S,{},false);if(K!==null){if(K.end_beam){D.end_beam=true;delete K.end_beam}if(D.pitches===undefined){D.duration=K.duration;D.pitches=[K]}else{D.pitches.push(K)}delete K.duration;if(z.inTieChord[D.pitches.length]){K.endTie=true;z.inTieChord[D.pitches.length]=undefined}if(K.startTie){z.inTieChord[D.pitches.length]=true}S=K.endChar;delete K.endChar}else{if(L.charAt(S)===" "){y("Spaces are not allowed in chords",L,S);S++}else{if(S<L.length&&L.charAt(S)==="]"){S++;if(z.next_note_duration!==0){D.duration=D.duration*z.next_note_duration;z.next_note_duration=0}if(z.inTie){D.pitches.each(function(Y){Y.endTie=true});z.inTie=false}if(I>0){I--;if(I===0){D.endTriplet=true}}var J=false;while(S<L.length&&!J){switch(L.charAt(S)){case" ":case"\t":f(D);break;case")":if(D.endSlur===undefined){D.endSlur=1}else{D.endSlur++}break;case"-":D.pitches.each(function(Y){Y.startTie={}});z.inTie=true;break;case">":case"<":var W=b(L,S);S+=W[0]-1;z.next_note_duration=W[2];B=W[1];break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"/":var F=o.getFraction(L,S);B=F.value;S=F.index;J=true;break;default:J=true;break}if(!J){S++}}}else{y("Expected ']' to end the chords",L,S)}if(D.pitches!==undefined){if(B!==null){D.duration=D.duration*B}if(z.barNumOnNextNote){D.barNumber=z.barNumOnNextNote;z.barNumOnNextNote=null}e.appendElement("note",R+S,R+S,D);z.measureNotEmpty=true;D={}}Q=true}}}}else{var P={};var T=h(L,S,P,true);if(P.endTie!==undefined){z.inTie=true}if(T!==null){if(T.pitch!==undefined){D.pitches=[{}];if(T.accidental!==undefined){D.pitches[0].accidental=T.accidental}D.pitches[0].pitch=T.pitch;if(T.endSlur!==undefined){D.pitches[0].endSlur=T.endSlur}if(T.endTie!==undefined){D.pitches[0].endTie=T.endTie}if(T.startSlur!==undefined){D.pitches[0].startSlur=T.startSlur}if(D.startSlur!==undefined){D.pitches[0].startSlur=D.startSlur}if(T.startTie!==undefined){D.pitches[0].startTie=T.startTie}if(D.startTie!==undefined){D.pitches[0].startTie=D.startTie}}else{D.rest=T.rest;if(T.endSlur!==undefined){D.endSlur=T.endSlur}if(T.endTie!==undefined){D.rest.endTie=T.endTie}if(T.startSlur!==undefined){D.startSlur=T.startSlur}if(D.startSlur!==undefined){D.startSlur=D.startSlur}if(T.startTie!==undefined){D.rest.startTie=T.startTie}if(D.startTie!==undefined){D.rest.startTie=D.startTie}}if(T.chord!==undefined){D.chord=T.chord}if(T.duration!==undefined){D.duration=T.duration}if(T.decoration!==undefined){D.decoration=T.decoration}if(T.graceNotes!==undefined){D.graceNotes=T.graceNotes}delete D.startSlur;if(z.inTie){if(D.pitches!==undefined){D.pitches[0].endTie=true}else{D.rest.endTie=true}z.inTie=false}if(T.startTie||D.startTie){z.inTie=true}S=T.endChar;if(I>0){I--;if(I===0){D.endTriplet=true}}if(T.end_beam){f(D)}if(z.barNumOnNextNote){D.barNumber=z.barNumOnNextNote;z.barNumOnNextNote=null}e.appendElement("note",R+E,R+S,D);z.measureNotEmpty=true;D={}}}if(S===E){if(L.charAt(S)!==" "&&L.charAt(S)!=="`"){y("Unknown character ignored",L,S)}S++}}}}}};var l=function(B){var C=v.parseHeader(B);if(C.regular){m(C.str)}if(C.newline){w()}if(C.words){n(e.getCurrentVoice(),B.substring(2))}if(C.symbols){c(e.getCurrentVoice(),B.substring(2))}if(C.recurse){l(C.str)}};this.parse=function(H,F){e.reset();if(F&&F.print){e.media="print"}z.reset();H=H.gsub("\r\n","\n");H=H.gsub("\r","\n");H+="\n";H=H.replace(/\n\\.*\n/g,"\n");var D=function(K,M,N){var J="                                                                                                                                                                                                    ";var L=N?J.substring(0,N.length):"";return M+" \x12"+L};H=H.replace(/\\([ \t]*)(%.*)*\n/g,D);var C=H.split("\n");if(C.last().length===0){C.pop()}try{C.each(function(J){if(F){if(F.header_only&&z.is_in_header===false){throw"normal_abort"}if(F.stop_on_warning&&z.warnings){throw"normal_abort"}}if(z.is_in_history){if(J.charAt(1)===":"){z.is_in_history=false;l(J)}else{e.addMetaText("history",o.translateString(o.stripComment(J)))}}else{if(z.inTextBlock){if(J.startsWith("%%endtext")){e.addText(z.textBlock);z.inTextBlock=false}else{if(J.startsWith("%%")){z.textBlock+=" "+J.substring(2)}else{z.textBlock+=" "+J}}}else{if(z.inPsBlock){if(J.startsWith("%%endps")){z.inPsBlock=false}else{z.textBlock+=" "+J}}else{l(J)}}}z.iChar+=J.length+1});var I=11*72;var E=8.5*72;switch(z.papersize){case"legal":I=14*72;E=8.5*72;break;case"A4":I=11.7*72;E=8.3*72;break}if(z.landscape){var B=I;I=E;E=B}e.cleanUp(E,I)}catch(G){if(G!=="normal_abort"){throw G
 
}}}}function setAttributes(c,b){for(var a in b){c.setAttribute(a,b[a])}return c}window.onbeforeunload=function(){if(MIDIPlugin){MIDIPlugin.closePlugin()}};function MidiProxy(a,b){this.javamidi=a;this.qtmidi=b}MidiProxy.prototype.setTempo=function(a){this.javamidi.setTempo(a);this.qtmidi.setTempo(a)};MidiProxy.prototype.startTrack=function(){this.javamidi.startTrack();this.qtmidi.startTrack()};MidiProxy.prototype.endTrack=function(){this.javamidi.endTrack();this.qtmidi.endTrack()};MidiProxy.prototype.setInstrument=function(a){this.javamidi.setInstrument(a);this.qtmidi.setInstrument(a)};MidiProxy.prototype.startNote=function(c,a,b){this.javamidi.startNote(c,a,b);this.qtmidi.startNote(c,a,b)};MidiProxy.prototype.endNote=function(b,a){this.javamidi.endNote(b,a);this.qtmidi.endNote(b,a)};MidiProxy.prototype.addRest=function(a){this.javamidi.addRest(a);this.qtmidi.addRest(a)};MidiProxy.prototype.embed=function(a){this.javamidi.embed(a);this.qtmidi.embed(a,true)};function JavaMidi(a){this.playlist=[];this.trackcount=0;this.timecount=0;this.tempo=60;this.midiapi=MIDIPlugin;this.midiwriter=a}JavaMidi.prototype.setTempo=function(a){this.tempo=a};JavaMidi.prototype.startTrack=function(){this.silencelength=0;this.trackcount++;this.timecount=0;this.playlistpos=0;this.first=true;if(this.instrument){this.setInstrument(this.instrument)}};JavaMidi.prototype.endTrack=function(){};JavaMidi.prototype.setInstrument=function(a){this.instrument=a;this.midiapi.setInstrument(a)};JavaMidi.prototype.updatePos=function(){while(this.playlist[this.playlistpos]&&this.playlist[this.playlistpos].time<this.timecount){this.playlistpos++}};JavaMidi.prototype.startNote=function(d,b,c){this.timecount+=this.silencelength;this.silencelength=0;if(this.first){}this.updatePos();var a=this;this.playlist.splice(this.playlistpos,0,{time:this.timecount,funct:function(){a.midiapi.playNote(d);a.midiwriter.notifySelect(c)}})};JavaMidi.prototype.endNote=function(c,b){this.timecount+=b;this.updatePos();var a=this;this.playlist.splice(this.playlistpos,0,{time:this.timecount,funct:function(){a.midiapi.stopNote(c)}})};JavaMidi.prototype.addRest=function(a){this.silencelength+=a};JavaMidi.prototype.embed=function(b){this.playlink=setAttributes(document.createElement("a"),{style:"border:1px solid black; margin:3px;"});this.playlink.innerHTML="play";var a=this;this.playlink.onmousedown=function(){if(a.playing){this.innerHTML="play";a.pausePlay()}else{this.innerHTML="pause";a.startPlay()}};b.appendChild(this.playlink);stoplink=setAttributes(document.createElement("a"),{style:"border:1px solid black; margin:3px;"});stoplink.innerHTML="stop";var a=this;stoplink.onmousedown=function(){a.stopPlay()};b.appendChild(stoplink);this.i=0;this.currenttime=0;this.playing=false};JavaMidi.prototype.stopPlay=function(){this.i=0;this.currenttime=0;this.pausePlay();this.playlink.innerHTML="play"};JavaMidi.prototype.startPlay=function(){this.playing=true;var a=this;this.ticksperinterval=480/4;this.doPlay();this.playinterval=window.setInterval(function(){a.doPlay()},(60000/(this.tempo*4)))};JavaMidi.prototype.pausePlay=function(){this.playing=false;window.clearInterval(this.playinterval);this.midiapi.stopAllNotes()};JavaMidi.prototype.doPlay=function(){while(this.playlist[this.i]&&this.playlist[this.i].time<=this.currenttime){this.playlist[this.i].funct();this.i++}if(this.playlist[this.i]){this.currenttime+=this.ticksperinterval}else{this.stopPlay()}};function Midi(){this.trackstrings="";this.trackcount=0}Midi.prototype.setTempo=function(a){if(this.trackcount==0){this.startTrack();this.track+="%00%FF%51%03"+toHex(Math.round(60000000/a),6);this.endTrack()}};Midi.prototype.startTrack=function(){this.track="";this.silencelength=0;this.trackcount++;this.first=true;if(this.instrument){this.setInstrument(this.instrument)}};Midi.prototype.endTrack=function(){var a=toHex(this.track.length/3+4,8);this.track="MTrk"+a+this.track+"%00%FF%2F%00";this.trackstrings+=this.track};Midi.prototype.setInstrument=function(a){this.track="%00%C0"+toHex(a,2)+this.track;this.instrument=a};Midi.prototype.startNote=function(b,a){this.track+=toDurationHex(this.silencelength);this.silencelength=0;if(this.first){this.first=false;this.track+="%90"}this.track+="%"+b.toString(16)+"%"+a};Midi.prototype.endNote=function(b,a){this.track+=toDurationHex(a);this.track+="%"+b.toString(16)+"%00"};Midi.prototype.addRest=function(a){this.silencelength+=a};Midi.prototype.embed=function(b,a){var d="data:audio/midi,MThd%00%00%00%06%00%01"+toHex(this.trackcount,4)+"%01%e0"+this.trackstrings;var c=setAttributes(document.createElement("a"),{href:d});c.innerHTML="download midi";b.insertBefore(c,b.firstChild);if(a){return}var e=setAttributes(document.createElement("embed"),{src:d,type:"video/quicktime",controller:"true",autoplay:"false",loop:"false",enablejavascript:"true",style:"display:block; height: 20px;"});b.insertBefore(e,b.firstChild)};function encodeHex(c){var a="";for(var b=0;b<c.length;b+=2){a+="%";a+=c.substr(b,2)}return a}function toHex(c,b){var a=c.toString(16);while(a.length<b){a="0"+a}return encodeHex(a)}function toDurationHex(g){var d=0;var b=[];while(g!=0){b.push(g&127);g=g>>7}for(var c=b.length-1;c>=0;c--){d=d<<8;var e=b[c];if(c!==0){e=e|128}d=d|e}var f=d.toString(16).length;f+=f%2;return toHex(d,f)}function ABCMidiWriter(b,a){var a=a||{};this.parent=b;this.scale=[0,2,4,5,7,9,11];this.restart={line:0,staff:0,voice:0,pos:0};this.visited={};this.multiplier=1;this.next=null;this.qpm=a.qpm||180;this.program=a.program||2;this.javamidi=a.type=="java"||false;this.listeners=[];if(this.javamidi){MIDIPlugin=document.MIDIPlugin;setTimeout(function(){try{MIDIPlugin.openPlugin()}catch(d){var c=document.createElement("a");c.href="http://java.sun.com/products/java-media/sound/soundbanks.html";c.target="_blank";c.appendChild(document.createTextNode("Download Soundbank"));b.appendChild(c)}},0)}}ABCMidiWriter.prototype.addListener=function(a){this.listeners.push(a)};ABCMidiWriter.prototype.notifySelect=function(b){for(var a=0;a<this.listeners.length;a++){this.listeners[a].notifySelect(b.abselem)}};ABCMidiWriter.prototype.getMark=function(){return{line:this.line,staff:this.staff,voice:this.voice,pos:this.pos}};ABCMidiWriter.prototype.getMarkString=function(a){a=a||this;return"line"+a.line+"staff"+a.staff+"voice"+a.voice+"pos"+a.pos};ABCMidiWriter.prototype.goToMark=function(a){this.line=a.line;this.staff=a.staff;this.voice=a.voice;this.pos=a.pos};ABCMidiWriter.prototype.markVisited=function(){this.lastmark=this.getMarkString();this.visited[this.lastmark]=true};ABCMidiWriter.prototype.isVisited=function(){if(this.visited[this.getMarkString()]){return true}return false};ABCMidiWriter.prototype.setJumpMark=function(a){this.visited[this.lastmark]=a};ABCMidiWriter.prototype.getJumpMark=function(){return this.visited[this.getMarkString()]};ABCMidiWriter.prototype.getLine=function(){return this.abctune.lines[this.line]};ABCMidiWriter.prototype.getStaff=function(){try{return this.getLine().staff[this.staff]
 
}catch(a){}};ABCMidiWriter.prototype.getVoice=function(){return this.getStaff().voices[this.voice]};ABCMidiWriter.prototype.getElem=function(){return this.getVoice()[this.pos]};ABCMidiWriter.prototype.writeABC=function(f){try{this.midi=(this.javamidi)?new MidiProxy(new JavaMidi(this),new Midi()):new Midi();this.baraccidentals=[];this.abctune=f;this.baseduration=480*4;if(f.formatting.midi){this.midi.setInstrument(Number(f.formatting.midi.substring(8)))}else{this.midi.setInstrument(this.program)}if(f.metaText.tempo){var d=1/4;if(f.metaText.tempo.duration){d=f.metaText.tempo.duration[0]}var c=60;if(f.metaText.tempo.bpm){c=f.metaText.tempo.bpm}this.qpm=c*d*4}this.midi.setTempo(this.qpm);this.staffcount=1;for(this.staff=0;this.staff<this.staffcount;this.staff++){this.voicecount=1;for(this.voice=0;this.voice<this.voicecount;this.voice++){this.midi.startTrack();this.restart={line:0,staff:this.staff,voice:this.voice,pos:0};this.next=null;for(this.line=0;this.line<f.lines.length;this.line++){var a=f.lines[this.line];if(this.getLine().staff){this.writeABCLine()}}this.midi.endTrack()}}this.midi.embed(this.parent)}catch(b){this.parent.innerHTML="Couldn't write midi: "+b}};ABCMidiWriter.prototype.writeABCLine=function(){this.staffcount=this.getLine().staff.length;this.voicecount=this.getStaff().voices.length;this.setKeySignature(this.getStaff().key);this.writeABCVoiceLine()};ABCMidiWriter.prototype.writeABCVoiceLine=function(){this.pos=0;while(this.pos<this.getVoice().length){this.writeABCElement(this.getElem());if(this.next){this.goToMark(this.next);this.next=null;if(!this.getLine().staff){return}}else{this.pos++}}};ABCMidiWriter.prototype.writeABCElement=function(a){var b;switch(a.el_type){case"note":this.writeNote(a);break;case"key":this.setKeySignature(a);break;case"bar":this.handleBar(a);case"meter":case"clef":default:}};ABCMidiWriter.prototype.writeNote=function(e){if(e.startTriplet){this.multiplier=2/3}var a=e.duration*this.baseduration*this.multiplier;if(e.pitches){var d=[];for(var b=0;b<e.pitches.length;b++){var c=e.pitches[b];var f=c.pitch;if(c.accidental){switch(c.accidental){case"sharp":this.baraccidentals[f]=1;break;case"flat":this.baraccidentals[f]=-1;break;case"natural":this.baraccidentals[f]=0;break}}d[b]=60+12*this.extractOctave(f)+this.scale[this.extractNote(f)];if(this.baraccidentals[f]!==undefined){d[b]+=this.baraccidentals[f]}else{d[b]+=this.accidentals[this.extractNote(f)]}this.midi.startNote(d[b],64,e);if(c.startTie){this.tieduration=a}}for(b=0;b<e.pitches.length;b++){var c=e.pitches[b];var f=c.pitch;if(c.startTie){continue}if(c.endTie){this.midi.endNote(d[b],a+this.tieduration)}else{this.midi.endNote(d[b],a)}a=0;this.tieduration=0}}else{this.midi.addRest(a)}if(e.endTriplet){this.multiplier=1}};ABCMidiWriter.prototype.handleBar=function(e){this.baraccidentals=[];var f=(e.type==="bar_right_repeat"||e.type==="bar_dbl_repeat");var d=(e.startEnding)?true:false;var a=(f||d);var c=(e.type==="bar_left_repeat"||e.type==="bar_dbl_repeat"||e.type==="bar_thick_thin"||e.type==="bar_thin_thick"||e.type==="bar_thin_thin"||e.type==="bar_right_repeat");var b=null;if(this.isVisited()){b=this.getJumpMark()}else{if(d||f){if(this.visited[this.lastmark]===true){this.setJumpMark(this.getMark())}}if(a){this.markVisited()}if(f){b=this.restart;this.setJumpMark(this.getMark())}}if(c){this.restart=this.getMark()}if(b&&this.getMarkString(b)!==this.getMarkString()){this.next=b}};ABCMidiWriter.prototype.setKeySignature=function(a){this.accidentals=[0,0,0,0,0,0,0];if(this.abctune.formatting.bagpipes){a.accidentals=[{acc:"natural",note:"g"},{acc:"sharp",note:"f"},{acc:"sharp",note:"c"}]}if(!a.accidentals){return}a.accidentals.each(function(e){var f=(e.acc==="sharp")?1:(e.acc==="natural")?0:-1;var c=e.note.toLowerCase();var b=this.extractNote(c.charCodeAt(0)-"c".charCodeAt(0));this.accidentals[b]+=f},this)};ABCMidiWriter.prototype.extractNote=function(a){var a=a%7;if(a<0){a+=7}return a};ABCMidiWriter.prototype.extractOctave=function(a){return Math.floor(a/7)};function ABCPlugin(a){this.$=a;this.show_midi=true;this.hide_abc=false;this.render_before=false;this.midi_options={};this.parse_options={};this.render_options={};this.render_classname="abcrendered";this.text_classname="abctext";this.auto_render_threshold=20;this.show_text="show score for: ";this.hide_text="hide score for: "}var abc_plugin=new ABCPlugin(jQuery);jQuery(document).ready(start_abc);function start_abc(){abc_plugin.start()}ABCPlugin.prototype.start=function(){this.errors="";var b=this.getABCContainingElements(this.$("body"));var a=this;var c=b.map(function(d,e){return a.convertToDivs(e)});this.auto_render=(c.size()<=this.auto_render_threshold);c.each(function(d,e){a.render(e,a.$(e).data("abctext"))})};ABCPlugin.prototype.getABCContainingElements=function(d){var b=this.$();var c=false;var a=this;this.$(d).contents().each(function(){if(this.nodeType==3&&!c){if(this.nodeValue.match(/^\s*X:/m)){b=b.add(a.$(d));c=true}}else{if(this.nodeType==1&&!a.$(this).is("textarea")){b=b.add(a.getABCContainingElements(this))}}});return b};ABCPlugin.prototype.convertToDivs=function(e){var b=this;var d=this.$(e).contents();var a="";var h=null;var g=false;var f=0;var c=this.$();d.each(function(k,l){if(l.nodeType==3&&!l.nodeValue.match(/^\s*$/)){f=0;var m=l.nodeValue;if(m.match(/^\s*X:/m)){g=true;a="";h=b.$("<div class='"+b.text_classname+"'></div>");b.$(l).before(h);if(b.hide_abc){h.hide()}}if(g){a+=m.replace(/\n$/,"").replace(/^\n/,"");h.append(b.$(l))}}else{if(g&&b.$(l).is("br")&&f==0){a+="\n";h.append(b.$(l));f++}else{if(g){g=false;f=0;h.data("abctext",a);c=c.add(h)}}}});if(g){h.data("abctext",a);c=c.add(h)}return c.get()};ABCPlugin.prototype.render=function(c,m){var h=this.$("<div class='"+this.render_classname+"'></div>");if(this.render_before){this.$(c).before(h)}else{this.$(c).after(h)}var n=this;try{var a=new AbcTuneBook(m);var f=new AbcParse();f.parse(a.tunes[0].abc);var k=f.getTune();var b=function(){try{var p=Raphael(h.get(0),800,400);var o=new ABCPrinter(p,n.render_options);o.printABC(k)}catch(e){h.remove();h=this.$("<div class='"+n.render_classname+"'></div>");p=Raphael(h.get(0),800,400);o=new ABCPrinter(p);o.printABC(k);if(n.render_before){this.$(c).before(h)}else{this.$(c).after(h)}}if(ABCMidiWriter&&n.show_midi){midiwriter=new ABCMidiWriter(h.get(0),n.midi_options);midiwriter.writeABC(k)}};var g="<a class='abcshow' href='#'>"+this.show_text+(k.metaText.title||"untitled")+"</a>";if(this.auto_render){b()}else{var d=this.$(g);d.click(function(){b();d.hide();return false});h.before(d)}}catch(l){this.errors+=l}};
 

Latest revision as of 23:24, 7 April 2011

X:1
Q:1/4=120
T:GB/6a/1 All Around My Hat Version 1 of 2
C:Sung by Mr Edmund Knight, Washington, Sussex. XII. 07
Q:1/8=200
M:6/8
L:1/8
K:GMix
D |G3 AGF |G3 ABc |d2 d edc |d2 c A2 A |G3 AGF |
G3 ABc |d3 edc |(d3 d2) d |de c c2 e |d2 c A2 B |c2 A d2 G |
G2 F HD2 D |G3 AGF |G3 ABc |d2 d c2 B |G6 |]