smartenv/docs/scripts/docstrap.lib.js

11 lines
340 KiB
JavaScript
Raw Normal View History

2016-03-03 00:50:13 +00:00
if(!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){function c(a){var b="length"in a&&a.length,c=_.type(a);return"function"===c||_.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}function d(a,b,c){if(_.isFunction(b))return _.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return _.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(ha.test(b))return _.filter(b,a,c);b=_.filter(b,a)}return _.grep(a,function(a){return U.call(b,a)>=0!==c})}function e(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function f(a){var b=oa[a]={};return _.each(a.match(na)||[],function(a,c){b[c]=!0}),b}function g(){Z.removeEventListener("DOMContentLoaded",g,!1),a.removeEventListener("load",g,!1),_.ready()}function h(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=_.expando+h.uid++}function i(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(ua,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:ta.test(c)?_.parseJSON(c):c}catch(e){}sa.set(a,b,c)}else c=void 0;return c}function j(){return!0}function k(){return!1}function l(){try{return Z.activeElement}catch(a){}}function m(a,b){return _.nodeName(a,"table")&&_.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function n(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function o(a){var b=Ka.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function p(a,b){for(var c=0,d=a.length;d>c;c++)ra.set(a[c],"globalEval",!b||ra.get(b[c],"globalEval"))}function q(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(ra.hasData(a)&&(f=ra.access(a),g=ra.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)_.event.add(b,e,j[e][c])}sa.hasData(a)&&(h=sa.access(a),i=_.extend({},h),sa.set(b,i))}}function r(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&_.nodeName(a,b)?_.merge([a],c):c}function s(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ya.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}function t(b,c){var d,e=_(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:_.css(e[0],"display");return e.detach(),f}function u(a){var b=Z,c=Oa[a];return c||(c=t(a,b),"none"!==c&&c||(Na=(Na||_("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=Na[0].contentDocument,b.write(),b.close(),c=t(a,b),Na.detach()),Oa[a]=c),c}function v(a,b,c){var d,e,f,g,h=a.style;return c=c||Ra(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||_.contains(a.ownerDocument,a)||(g=_.style(a,b)),Qa.test(g)&&Pa.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function w(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}function x(a,b){if(b in a)return b;for(var c=b[0].toUpperCase()+b.slice(1),d=b,e=Xa.length;e--;)if(b=Xa[e]+c,b in a)return b;return d}function y(a,b,c){var d=Ta.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function z(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=_.css(a,c+wa[f],!0,e)),d?("content"===c&&(g-=_.css(a,"padding"+wa[f],!0,e)),"margin"!==c&&(g-=_.css(a,"border"+wa[f]+"Width",!0,e))):(g+=_.css(a,"padding"+wa[f],!0,e),"padding"!==c&&(g+=_.css(a,"border"+wa[f]+"Width",!0,e)));return g}function A(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ra(a),g="border-box"===_.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=v(a,b,f),(0>e||null==e)&&(e=a.style[b]),Qa.tes
if("string"!=typeof a)return this.pushStack(_(a).filter(function(){for(b=0;c>b;b++)if(_.contains(e[b],this))return!0}));for(b=0;c>b;b++)_.find(a,e[b],d);return d=this.pushStack(c>1?_.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(a){return!!d(this,"string"==typeof a&&fa.test(a)?_(a):a||[],!1).length}});var ia,ja=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ka=_.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:ja.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||ia).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof _?b[0]:b,_.merge(this,_.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:Z,!0)),ga.test(c[1])&&_.isPlainObject(b))for(c in b)_.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=Z.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=Z,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):_.isFunction(a)?"undefined"!=typeof ia.ready?ia.ready(a):a(_):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),_.makeArray(a,this))};ka.prototype=_.fn,ia=_(Z);var la=/^(?:parents|prev(?:Until|All))/,ma={children:!0,contents:!0,next:!0,prev:!0};_.extend({dir:function(a,b,c){for(var d=[],e=void 0!==c;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(e&&_(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),_.fn.extend({has:function(a){var b=_(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(_.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=fa.test(a)||"string"!=typeof a?_(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&_.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?_.unique(f):f)},index:function(a){return a?"string"==typeof a?U.call(_(a),this[0]):U.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(_.unique(_.merge(this.get(),_(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),_.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return _.dir(a,"parentNode")},parentsUntil:function(a,b,c){return _.dir(a,"parentNode",c)},next:function(a){return e(a,"nextSibling")},prev:function(a){return e(a,"previousSibling")},nextAll:function(a){return _.dir(a,"nextSibling")},prevAll:function(a){return _.dir(a,"previousSibling")},nextUntil:function(a,b,c){return _.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return _.dir(a,"previousSibling",c)},siblings:function(a){return _.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return _.sibling(a.firstChild)},contents:function(a){return a.contentDocument||_.merge([],a.childNodes)}},function(a,b){_.fn[a]=function(c,d){var e=_.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=_.filter(d,e)),this.length>1&&(ma[a]||_.unique(e),la.test(a)&&e.reverse()),this.pushStack(e)}});var na=/\S+/g,oa={};_.Callbacks=function(a){a="string"==typeof a?oa[a]||f(a):_.extend({},a);var b,c,d,e,g,h,i=[],j=!a.once&&[],k=function(f){for(b=a.memory&&f,c=!0,h=e||0,e=0,g=i.length,d=!0;i&&g>h;h++)if(i[h].apply(f[0],f[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,i&&(j?j.length&&k(j.shift()):b?i=[]:l.disable())},l={add:function(){if(i){var c=i.length;!function f(b){_.each(b,function(b,c){var d=_.type(c);"function"===d?a.unique&&l.has(c)||i.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),d?g=i.length:b&&(e=c,k(b))}return this},remove:function(){return i&&_.each(arguments,function(a,b){for(var c;(c=_.inArray(b,i,c))>-1;)i.splice(c,1),d&&(g>=c&&g--,h>=c&&h--)}),this},has:function(a){return a?_.inArray(a,i)>-1:!(!i||!i.length)},empty:function(){return i=[],g=0,t
e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),_.each(["toggle","show","hide"],function(a,b){var c=_.fn[b];_.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(E(b,!0),a,d,e)}}),_.each({slideDown:E("show"),slideUp:E("hide"),slideToggle:E("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){_.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),_.timers=[],_.fx.tick=function(){var a,b=0,c=_.timers;for(Ya=_.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||_.fx.stop(),Ya=void 0},_.fx.timer=function(a){_.timers.push(a),a()?_.fx.start():_.timers.pop()},_.fx.interval=13,_.fx.start=function(){Za||(Za=setInterval(_.fx.tick,_.fx.interval))},_.fx.stop=function(){clearInterval(Za),Za=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(a,b){return a=_.fx?_.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=Z.createElement("input"),b=Z.createElement("select"),c=b.appendChild(Z.createElement("option"));a.type="checkbox",Y.checkOn=""!==a.value,Y.optSelected=c.selected,b.disabled=!0,Y.optDisabled=!c.disabled,a=Z.createElement("input"),a.value="t",a.type="radio",Y.radioValue="t"===a.value}();var db,eb,fb=_.expr.attrHandle;_.fn.extend({attr:function(a,b){return qa(this,_.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){_.removeAttr(this,a)})}}),_.extend({attr:function(a,b,c){var d,e,f=a.nodeType;return a&&3!==f&&8!==f&&2!==f?typeof a.getAttribute===za?_.prop(a,b,c):(1===f&&_.isXMLDoc(a)||(b=b.toLowerCase(),d=_.attrHooks[b]||(_.expr.match.bool.test(b)?eb:db)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=_.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void _.removeAttr(a,b)):void 0},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(na);if(f&&1===a.nodeType)for(;c=f[e++];)d=_.propFix[c]||c,_.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!Y.radioValue&&"radio"===b&&_.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),eb={set:function(a,b,c){return b===!1?_.removeAttr(a,c):a.setAttribute(c,c),c}},_.each(_.expr.match.bool.source.match(/\w+/g),function(a,b){var c=fb[b]||_.find.attr;fb[b]=function(a,b,d){var e,f;return d||(f=fb[b],fb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,fb[b]=f),e}});var gb=/^(?:input|select|textarea|button)$/i;_.fn.extend({prop:function(a,b){return qa(this,_.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[_.propFix[a]||a]})}}),_.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;return a&&3!==g&&8!==g&&2!==g?(f=1!==g||!_.isXMLDoc(a),f&&(b=_.propFix[b]||b,e=_.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]):void 0},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||gb.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),Y.optSelected||(_.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this});var hb=/[\t\r\n\f]/g;_.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(_.isFunction(a))return this.each(function(b){_(this).addClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(na)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(hb," "):" ")){for(f=0;e=b[f++];)d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=_.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g
a.parentNode.insertBefore(k,a),a.parentNode.removeChild(a),k.appendChild(a),k.parentNode.insertBefore(j,k),k.parentNode.removeChild(k),j.appendChild(k)),r("afterHighlightNode",this,{container:j,codeContainer:k,node:a,count:e})}}}}(),a.Sunlight={version:"1.22.0",Highlighter:s,createAnalyzer:function(){return e(t)},globalOptions:B,highlightAll:function(a){var c,d=new s(a),e=b.getElementsByTagName("*");for(c=0;c<e.length;c++)d.highlightNode(e[c])},registerLanguage:function(a,b){var c,d,e;if(!a)throw'Languages must be registered with an identifier, e.g. "php" for PHP';b=i(i({},D),b),b.name=a,b.keywords=p(b.keywords||[],"\\b",b.caseInsensitive),b.operators=p(b.operators||[],"",b.caseInsensitive);for(c in b.customTokens)b.customTokens[c]=p(b.customTokens[c].values,b.customTokens[c].boundary,b.caseInsensitive);d=[];for(e in b.embeddedLanguages)d.push({parentLanguage:b.name,language:e,switchTo:b.embeddedLanguages[e].switchTo,switchBack:b.embeddedLanguages[e].switchBack});b.embeddedLanguages=d,C[b.name]=b},isRegistered:function(a){return C[a]!==c},bind:function(a,b){if(!E[a])throw'Unknown event "'+a+'"';E[a].push(b)},util:{last:g,regexEscape:k,eol:w,clone:j,escapeSequences:["\\n","\\t","\\r","\\\\","\\v","\\f"],contains:h,matchWord:n,createHashMap:p,createBetweenRule:m,createProceduralRule:l,getNextNonWsToken:function(a,b){return o(a,b,1,function(a){return"default"===a.name})},getPreviousNonWsToken:function(a,b){return o(a,b,-1,function(a){return"default"===a.name})},getNextWhile:function(a,b,c){return o(a,b,1,c)},getPreviousWhile:function(a,b,c){return o(a,b,-1,c)},whitespace:{token:"default",optional:!0},getComputedStyle:u}},a.Sunlight.registerLanguage(z,{punctuation:/(?!x)x/,numberParser:x})}(this,document),function(a,b){function c(a){for(var b,c=a.count();b=a.token(--c);){if("operator"===b.name&&(">"===b.value||"/>"===b.value||"</"===b.value))return!1;if("tagName"===b.name||"xmlOpenTag"===b.name)return!0}return!1}if(a===b||a.registerLanguage===b)throw"Include sunlight.js before including language files";a.registerLanguage("xml",{caseInsensitive:!0,scopes:{comment:[["<!--","-->"],["<%--","--%>"]],cdata:[["<![CDATA[","]]>"]],doctype:[["<!DOCTYPE",">"]]},punctuation:/(?!x)x/,numberParser:function(){},customTokens:{xmlOpenTag:{values:["<?xml"],boundary:""},xmlCloseTag:{values:["?>"],boundary:""},aspOpenTag:{values:["<%@","<%$","<%#","<%=","<%"],boundary:""},aspCloseTag:{values:["%>"],boundary:""}},customParseRules:[function(b){var c,d,e=b.reader.current(),f=e,g=b.reader.getLine(),h=b.reader.getColumn();if(!/[A-Za-z_]/.test(e))return null;if(c=b.token(b.count()-1),!c||"operator"!==c.name||!a.util.contains(["<","</"],c.value))return null;for(;(d=b.reader.peek())&&/[.\w-]/.test(d);)f+=b.reader.read();return b.createToken("tagName",f,g,h)},function(a){var b,d,e=a.reader.current(),f=a.reader.getLine(),g=a.reader.getColumn();if('"'!==e&&"'"!==e)return null;if(!c(a))return null;for(b=e;(d=a.reader.peek())&&(b+=a.reader.read(),d!==e););return a.createToken("string",b,f,g)},function(a){var b,d,e=a.reader.current(),f=1,g=a.reader.getLine(),h=a.reader.getColumn();if(!/[A-Za-z_]/.test(e))return null;if(!c(a))return null;for(b=a.reader.peek();b.length===f;){if(/<$/.test(b))return null;if(/>$/.test(b))return d=d||e+b.substring(0,b.length-1),a.reader.read(d.length-1),a.createToken("attribute",d,g,h);!d&&/[=\s:]$/.test(b)&&(d=e+b.substring(0,b.length-1)),b=a.reader.peek(++f)}return null},function(a){var b,c=a.reader.current(),d=1,e=a.reader.getLine(),f=a.reader.getColumn();if("&"!==c)return null;for(b=a.reader.peek(d);b.length===d;){if(";"===b.charAt(b.length-1))return a.createToken("entity",c+a.reader.read(d),e,f);if(!/[A-Za-z0-9]$/.test(b))break;b=a.reader.peek(++d)}return null},function(a){var b,c="<%--",d=a.reader.getLine(),e=a.reader.getColumn();if("<"!==a.reader.current()||"%--"!==a.reader.peek(3))return null;for(a.reader.read(3);b=a.reader.peek();){if("--%>"===a.reader.peek(4)){c+=a.reader.read(4);break}c+=a.reader.read()}return a.createToken("comment",c,d,e)}],embeddedLanguages:{css:{switchTo:function(a){var b,c=a.token(a.count()-1);if(
token:"keyword",values:["using"]},{token:"default"},{token:"ident"},a.util.whitespace])(b.tokens);return!1},c(function(b){var c,d=[[{token:"keyword",values:["class","interface","event","struct","enum","delegate","public","private","protected","internal","static","virtual","sealed","params"]},a.util.whitespace],[{token:"keyword",values:["typeof","default"]},a.util.whitespace,{token:"punctuation",values:["("]},a.util.whitespace],[{token:"keyword",values:["as"]},a.util.whitespace]],e=[[a.util.whitespace,{token:"punctuation",values:["["]},a.util.whitespace,{token:"punctuation",values:["]"]}],[{token:"default"},{token:"ident"}]];for(c=0;c<d.length;c++)if(a.util.createProceduralRule(b.index-1,-1,d[c],!1)(b.tokens))return!0;for(c=0;c<e.length;c++)if(a.util.createProceduralRule(b.index+1,1,e[c],!1)(b.tokens))return!0;return!1})]},operators:["++","+=","+","--","-=","-","*=","*","/=","/","%=","%","&&","||","|=","|","&=","&","^=","^",">>=",">>","<<=","<<","<=","<",">=",">","==","!=","!","~","??","?","::",":",".","=>","="]})}(this.Sunlight),function(a,b){function c(a){for(var c,d,e=a.count(),f="",g=!0,h=1;(c=a.token(--e))!==b&&("punctuation"!==c.name||"}"!==c.value);)if("punctuation"===c.name&&"{"===c.value)return null;for(d=a.reader.peek();d.length===h;){if(letter=d.charAt(d.length-1),/[^\w-]$/.test(d)){if(g=!1,"{"===letter)break;if(";"===letter)return null}g&&(f+=letter),d=a.reader.peek(++h)}return f}if(a===b||a.registerLanguage===b)throw"Include sunlight.js before including language files";a.registerLanguage("css",{caseInsensitive:!0,keywords:["background-color","background-image","background-repeat","background-attachment","background-position","background-clip","background-origin","background-size","background","border-collapse","border-top-style","border-right-style","border-left-style","border-bottom-style","border-style","border-top-width","border-right-width","border-left-width","border-bottom-width","border-width","border-top-color","border-right-color","border-left-color","border-bottom-color","border-color","border-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-image-repeat","border-image-source","border-image-slice","border-image-width","border-image-outset","border-image","border-top","border-bottom","border-right","border-left","border-spacing","border","box-decoration-break","box-shadow","voice-volume","voice-balance","pause-before","pause-after","pause","rest-before","rest-after","rest","cue-before","cue-after","cue","mark-before","mark-after","mark","voice-family","voice-rate","voice-pitch","voice-pitch-range","voice-stress","voice-duration","phonemes","speak-header","speak-numeral","speak-punctuation","pitch-range","play-during","richness","speak","speech-rate","appearance","icon","box-sizing","outline-width","outline-style","outline-color","outline-offset","outline","resize","cursor","nav-index","nav-up","nav-right","nav-down","nav-left","display","position","float","clear","visibility","bottom","top","left","right","overflow","overflow-x","overflow-y","overflow-style","marquee-style","marquee-direction","marquee-play-count","marquee-speed","padding-top","padding-right","padding-bottom","padding-left","padding","margin-top","margin-right","margin-bottom","margin-left","margin","width","height","min-width","max-width","min-height","max-height","rotation-point","rotation","white-space-collapsing","white-space","line-break","word-break","hyphens","hyphenate-character","hyphenate-limit-before","hyphenate-limit-after","hyphenate-limit-lines","hyphenate-limit-last","hyphenate-resource","text-wrap","word-wrap","text-align-first","text-align-last","text-align","text-justify","word-spacing","letter-spacing","text-trim","text-autospace","text-indent","hanging-punctuation","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-skip","text-decoration","text-underline-position","text-emphasis-position","text-emphasis-style","text-emphasis-color","text-emphasis","text-shadow","text-outline","text-transform","vertical-
if(!g)return!1;for(e=c.index;d=c.tokens[--e];)if("punctuation"===d.name&&"("===d.value)return f=a.util.getPreviousNonWsToken(c.tokens,e),f&&"keyword"===f.name?!1:!0;return!1})}(),c(function(b){var c,d=[[{token:"ident"},a.util.whitespace,{token:"keyword",values:["extends","implements"]},a.util.whitespace],[{token:"keyword",values:["class","interface","enum","public","private","protected","static","final"]},a.util.whitespace],[{token:"keyword",values:["extends"]},{token:"default"},{token:"ident"},{token:"default"},{token:"operator",values:["&"]},{token:"default"}]],e=[[a.util.whitespace,{token:"punctuation",values:["["]},a.util.whitespace,{token:"punctuation",values:["]"]}],[{token:"default"},{token:"ident"}]],f=[{opener:{token:"keyword",values:["implements","throws"]},closer:{token:"punctuation",values:["{"]}}];for(c=0;c<d.length;c++)if(a.util.createProceduralRule(b.index-1,-1,d[c],!1)(b.tokens))return!0;for(c=0;c<e.length;c++)if(a.util.createProceduralRule(b.index+1,1,e[c],!1)(b.tokens))return!0;for(c=0;c<f.length;c++)if(a.util.createBetweenRule(b.index,f[c].opener,f[c].closer,!1)(b.tokens))return!0;return!1})]},operators:["++","+=","+","--","-=","-","*=","*","/=","/","%=","%","&&","||","|=","|","&=","&","^=","^",">>>=",">>>",">>=",">>","<<=","<<","<=","<",">=",">","==","!=","!","~","?",":",".","="]})}(this.Sunlight),function(a,b){if(a===b||a.registerLanguage===b)throw"Include sunlight.js before including language files";a.registerLanguage("javascript",{keywords:["break","case","catch","continue","default","delete","do","else","finally","for","function","if","in","instanceof","new","return","switch","this","throw","try","typeof","var","void","while","with","true","false","null"],customTokens:{reservedWord:{values:["abstract","boolean","byte","char","class","const","debugger","double","enum","export","extends","final","float","goto","implements","import","int","interface","long","native","package","private","protected","public","short","static","super","synchronized","throws","transient","volatile"],boundary:"\\b"},globalVariable:{values:["NaN","Infinity","undefined"],boundary:"\\b"},globalFunction:{values:["encodeURI","encodeURIComponent","decodeURI","decodeURIComponent","parseInt","parseFloat","isNaN","isFinite","eval"],boundary:"\\b"},globalObject:{values:["Math","JSON","XMLHttpRequest","XDomainRequest","ActiveXObject","Boolean","Date","Array","Image","Function","Object","Number","RegExp","String"],boundary:"\\b"}},scopes:{string:[['"','"',a.util.escapeSequences.concat(['\\"'])],["'","'",a.util.escapeSequences.concat(["\\'","\\\\"])]],comment:[["//","\n",null,!0],["/*","*/"]]},customParseRules:[function(c){var d,e,f,g=c.reader.peek(),h="/",i=c.reader.getLine(),j=c.reader.getColumn(),k=!1;if("/"!==c.reader.current()||"/"===g||"*"===g)return null;if(d=function(){var d=c.token(c.count()-1),e=null;return""!==c.defaultData.text&&(e=c.createToken("default",c.defaultData.text)),e||(e=d),e===b?!0:"default"===e.name&&e.value.indexOf("\n")>-1?!0:a.util.contains(["keyword","ident","number"],d.name)?!1:"punctuation"!==d.name||a.util.contains(["(","{","[",",",";"],d.value)?!0:!1}(),!d)return null;for(;c.reader.peek()!==c.reader.EOF;)if(e=c.reader.peek(2),"\\/"!==e&&"\\\\"!==e)if("\\["!==e&&"\\]"!==e){if("["===f?k=!0:"]"===f&&(k=!1),h+=f=c.reader.read(),"/"===f&&!k)break}else h+=c.reader.read(2);else h+=c.reader.read(2);for(;c.reader.peek()!==c.reader.EOF&&/[A-Za-z]/.test(c.reader.peek());)h+=c.reader.read();return c.createToken("regexLiteral",h,i,j)}],identFirstLetter:/[$A-Za-z_]/,identAfterFirstLetter:/[\w\$]/,namedIdentRules:{follows:[[{token:"keyword",values:["function"]},a.util.whitespace]]},operators:["++","+=","+","--","-=","-","*=","*","/=","/","%=","%","&&","||","|=","|","&=","&","^=","^",">>>=",">>>",">>=",">>","<<=","<<","<=","<",">=",">","===","==","!==","!=","!","~","?",":",".","="]})}(this.Sunlight),function(a,b){function c(b,c){var e=a.util.createHashMap(b,d,!1);return function(b){var d=a.util.getPreviousNonWsToken(b.getAllTokens(),b.count());return d?"punctuation"!==d.name||"("!==d.value&&("operator"!==d.name||"#'"!
return function(c){var d,e=a.util.matchWord(c,b,"keyword",!0);return e?(d=a.util.getPreviousWhile(c.getAllTokens(),c.count(),function(a){return"default"===a.name||"comment"===a.name}),!d||"punctuation"===d.name&&a.util.contains(["{","}",";"],d.value)?(c.reader.read(e.value.length-1),e):null):null}}()],identFirstLetter:/[A-Za-z_-]/,identAfterFirstLetter:/[\w-]/,operators:["~*","~","^~","=","::",":"]})}(this.Sunlight),function(a,b){if(a===b||a.registerLanguage===b)throw"Include sunlight.js before including language files";a.registerLanguage("objective-c",{keywords:["and","default","noexcept","template","and_eq","delete","not","this","alignof","double","not_eq","thread_local","asm","dynamic_cast","nullptr","throw","auto","else","operator","true","bitand","enum","or","try","bitor","explicittodo","or_eq","typedef","bool","export","private","typeid","break","externtodo","protected","typename","case","false","public","union","catch","float","register","using","char","for","reinterpret_cast","unsigned","char16_t","friend","return","void","char32_t","goto","short","wchar_t","if","signed","virtual","compl","inline","sizeof","volatile","const","int","static","while","constexpr","long","static_assert","xor","const_cast","mutable","static_cast","xor_eq","continue","namespace","struct","decltype","new","switch","id","self","nil","super","in","out","inout","bycopy","byval","oneway","SEL","BOOL","YES","NO","@interface","@implementation","@end","@class","@private","@public","@package","@protected","@protocol","@optional","@required","@property","@synthesize","@dynamic","@selector","@try","@catch","@finally","@throw","@synchronized","@encode","__attribute__","__weak","__strong"],customTokens:{constant:{values:["EXIT_SUCCESS","EXIT_FAILURE","SIG_DFL","SIG_IGN","SIG_ERR","SIGABRT","SIGFPE","SIGILL","SIGINT","SIGSEGV","SIGTERM"],boundary:"\\b"}},scopes:{string:[['"','"',a.util.escapeSequences.concat(['\\"'])],['@"','"',["\\\\",'\\"']]],"char":[["'","'",["\\'","\\\\"]]],comment:[["//","\n",null,!0],["/*","*/"]],preprocessorDirective:[["#","\n",null,!0]]},customParseRules:[function(b){var c,d,e,f,g,h,i,j,k,l;if(!b.language.identFirstLetter.test(b.reader.current()))return null;for(d=0;(c=b.reader.peek(++d))&&c.length===d&&b.language.identAfterFirstLetter.test(a.util.last(c)););for(e=b.reader.current()+c.substring(0,c.length-1),d-=1,f=!1;(c=b.reader.peek(++d))&&c.length===d;)if(!/\s$/.test(c)){if(g=/([\]:])$/.exec(c),null===g)return null;f=":"===g[1]&&!/::$/.test(b.reader.peek(d+1));break}for(h=0,i=0,k=b.count(),l=1;j=b.token(--k);){if(l>1&&!f)return null;if("punctuation"===j.name)switch(j.value){case";":case"{":case"}":return null;case"(":h--;break;case")":h++;break;case"[":if(0===i&&0===h)return l>=1?(j=b.createToken(f&&l>1?"messageArgumentName":"messageDestination",e,b.reader.getLine(),b.reader.getColumn()),b.reader.read(e.length-1),j):null;i--;break;case"]":i++}0===i&&0===h&&"default"===j.name&&l++}return null},function(){var b=a.util.createHashMap(["getter","setter","readonly","readwrite","assign","retain","copy","nonatomic"],"\\b");return function(c){var d,e,f=a.util.matchWord(c,b,"keyword",!0);if(!f)return null;for(e=c.count();d=c.token(--e);)if("punctuation"===d.name){if("("===d.value)return d=a.util.getPreviousNonWsToken(c.getAllTokens(),e),d&&"keyword"===d.name&&"@property"===d.value?(f.line=c.reader.getLine(),f.column=c.reader.getColumn(),c.reader.read(f.value.length-1),f):null;if(";"===d.value)return null}return null}}()],identFirstLetter:/[A-Za-z_]/,identAfterFirstLetter:/\w/,namedIdentRules:{custom:[function(b){var c=/^(NS|CG).+$/,d=a.util.getNextNonWsToken(b.tokens,b.index);return c.test(b.tokens[b.index].value)&&(!d||"punctuation"!==d.name||"("!==d.value)},function(b){var c=a.util.getNextNonWsToken(b.tokens,b.index);return c&&"messageDestination"===c.name&&("class"===c.value||"alloc"===c.value)},function(b){var c,d,e;if(!a.util.createProceduralRule(b.index+1,1,[{token:"default"},{token:"ident"}])(b.tokens))return!1;if(a.util.createProceduralRule(b.index+1,1,[{token:"default"},{token:"ident"},a.util.whitespace,{token:"operator",v
boundary:"\\b"},languageConstruct:{values:["isset","array","unset","list","echo","include_once","include","require_once","require","print","empty","return","die","eval","exit"],boundary:"\\b"},constant:{values:["__CLASS__","__DIR__","__FILE__","__LINE__","__FUNCTION__","__METHOD__","__NAMESPACE__","ZEND_THREAD_SAFE","ZEND_DEBUG_BUILD","XSL_CLONE_NEVER","XSL_CLONE_AUTO","XSL_CLONE_ALWAYS","XSD_UNSIGNEDSHORT","XSD_UNSIGNEDLONG","XSD_UNSIGNEDINT","XSD_UNSIGNEDBYTE","XSD_TOKEN","XSD_TIME","XSD_STRING","XSD_SHORT","XSD_QNAME","XSD_POSITIVEINTEGER","XSD_NOTATION","XSD_NORMALIZEDSTRING","XSD_NONPOSITIVEINTEGER","XSD_NONNEGATIVEINTEGER","XSD_NMTOKENS","XSD_NMTOKEN","XSD_NEGATIVEINTEGER","XSD_NCNAME","XSD_NAMESPACE","XSD_NAME","XSD_LONG","XSD_LANGUAGE","XSD_INTEGER","XSD_INT","XSD_IDREFS","XSD_IDREF","XSD_ID","XSD_HEXBINARY","XSD_GYEARMONTH","XSD_GYEAR","XSD_GMONTHDAY","XSD_GMONTH","XSD_GDAY","XSD_FLOAT","XSD_ENTITY","XSD_ENTITIES","XSD_DURATION","XSD_DOUBLE","XSD_DECIMAL","XSD_DATETIME","XSD_DATE","XSD_BYTE","XSD_BOOLEAN","XSD_BASE64BINARY","XSD_ANYXML","XSD_ANYURI","XSD_ANYTYPE","XSD_1999_TIMEINSTANT","XSD_1999_NAMESPACE","XML_TEXT_NODE","XML_SAX_IMPL","XML_PI_NODE","XML_OPTION_TARGET_ENCODING","XML_OPTION_SKIP_WHITE","XML_OPTION_SKIP_TAGSTART","XML_OPTION_CASE_FOLDING","XML_NOTATION_NODE","XML_NAMESPACE_DECL_NODE","XML_LOCAL_NAMESPACE","XML_HTML_DOCUMENT_NODE","XML_ERROR_UNKNOWN_ENCODING","XML_ERROR_UNDEFINED_ENTITY","XML_ERROR_UNCLOSED_TOKEN","XML_ERROR_UNCLOSED_CDATA_SECTION","XML_ERROR_TAG_MISMATCH","XML_ERROR_SYNTAX","XML_ERROR_RECURSIVE_ENTITY_REF","XML_ERROR_PARTIAL_CHAR","XML_ERROR_PARAM_ENTITY_REF","XML_ERROR_NO_MEMORY","XML_ERROR_NO_ELEMENTS","XML_ERROR_NONE","XML_ERROR_MISPLACED_XML_PI","XML_ERROR_JUNK_AFTER_DOC_ELEMENT","XML_ERROR_INVALID_TOKEN","XML_ERROR_INCORRECT_ENCODING","XML_ERROR_EXTERNAL_ENTITY_HANDLING","XML_ERROR_DUPLICATE_ATTRIBUTE","XML_ERROR_BINARY_ENTITY_REF","XML_ERROR_BAD_CHAR_REF","XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF","XML_ERROR_ASYNC_ENTITY","XML_ENTITY_REF_NODE","XML_ENTITY_NODE","XML_ENTITY_DECL_NODE","XML_ELEMENT_NODE","XML_ELEMENT_DECL_NODE","XML_DTD_NODE","XML_DOCUMENT_TYPE_NODE","XML_DOCUMENT_NODE","XML_DOCUMENT_FRAG_NODE","XML_COMMENT_NODE","XML_CDATA_SECTION_NODE","XML_ATTRIBUTE_NOTATION","XML_ATTRIBUTE_NODE","XML_ATTRIBUTE_NMTOKENS","XML_ATTRIBUTE_NMTOKEN","XML_ATTRIBUTE_IDREFS","XML_ATTRIBUTE_IDREF","XML_ATTRIBUTE_ID","XML_ATTRIBUTE_ENUMERATION","XML_ATTRIBUTE_ENTITY","XML_ATTRIBUTE_DECL_NODE","XML_ATTRIBUTE_CDATA","X509_PURPOSE_SSL_SERVER","X509_PURPOSE_SSL_CLIENT","X509_PURPOSE_SMIME_SIGN","X509_PURPOSE_SMIME_ENCRYPT","X509_PURPOSE_NS_SSL_SERVER","X509_PURPOSE_CRL_SIGN","X509_PURPOSE_ANY","WSDL_CACHE_NONE","WSDL_CACHE_MEMORY","WSDL_CACHE_DISK","WSDL_CACHE_BOTH","VT_VARIANT","VT_UNKNOWN","VT_UINT","VT_UI4","VT_UI2","VT_UI1","VT_R8","VT_R4","VT_NULL","VT_INT","VT_I4","VT_I2","VT_I1","VT_ERROR","VT_EMPTY","VT_DISPATCH","VT_DECIMAL","VT_DATE","VT_CY","VT_BYREF","VT_BSTR","VT_BOOL","VT_ARRAY","VARCMP_NULL","VARCMP_LT","VARCMP_GT","VARCMP_EQ","UPLOAD_ERR_PARTIAL","UPLOAD_ERR_OK","UPLOAD_ERR_NO_TMP_DIR","UPLOAD_ERR_NO_FILE","UPLOAD_ERR_INI_SIZE","UPLOAD_ERR_FORM_SIZE","UPLOAD_ERR_EXTENSION","UPLOAD_ERR_CANT_WRITE","UNKNOWN_TYPE","T_XOR_EQUAL","T_WHITESPACE","T_WHILE","T_VARIABLE","T_VAR","T_USE","T_UNSET_CAST","T_UNSET","T_TRY","T_THROW","T_SWITCH","T_STRING_VARNAME","T_STRING_CAST","T_STRING","T_STATIC","T_START_HEREDOC","T_SR_EQUAL","T_SR","T_SL_EQUAL","T_SL","T_RETURN","T_REQUIRE_ONCE","T_REQUIRE","T_PUBLIC","T_PROTECTED","T_PRIVATE","T_PRINT","T_PLUS_EQUAL","T_PAAMAYIM_NEKUDOTAYIM","T_OR_EQUAL","T_OPEN_TAG_WITH_ECHO","T_OPEN_TAG","T_OBJECT_OPERATOR","T_OBJECT_CAST","T_NUM_STRING","T_NS_SEPARATOR","T_NS_C","T_NEW","T_NAMESPACE","T_MUL_EQUAL","T_MOD_EQUAL","T_MINUS_EQUAL","T_METHOD_C","T_LOGICAL_XOR","T_LOGICAL_OR","T_LOGICAL_AND","T_LNUMBER","T_LIST","T_LINE","T_IS_SMALLER_OR_EQUAL","T_IS_NOT_IDENTICAL","T_IS_NOT_EQUAL","T_IS_IDENTICAL","T_IS_GREATER_OR_EQUAL","T_IS_EQUAL","T_ISSET","T_INT_CAST","T_INTERFACE","T_INSTANCEOF","T_INLINE_HTML","T_INCLUDE_ONCE","T_INCLUDE","T_INC","T_IMPLEM
for(;(e=d.reader.peek())&&!b.test(e);)f+=d.reader.read();return d.createToken(a.util.contains(c,f.toUpperCase())?"specialVariable":"variable",f,g,h)}}()],namedIdentRules:{custom:[function(b){var c=b.tokens[b.index-1];return c?"default"===c.name&&c.value.indexOf(a.util.eol)>=0?(c=b.tokens[b.index-2],c&&"operator"===c.name&&"`"===c.value?!1:!0):(c=a.util.getPreviousNonWsToken(b.tokens,b.index),c&&("operator"===c.name&&"="===c.value||"punctuation"===c.name&&"{"===c.value)?!0:!1):!0},function(b){var c,d=a.util.getNextNonWsToken(b.tokens,b.index);return d&&"operator"===d.name&&"."===d.value?!1:(c=a.util.createBetweenRule(b.index,{token:"punctuation",values:["["]},{token:"punctuation",values:["]"]}),c(b.tokens)?!0:!1)}]},operators:["@(","::","..",".","=","!=","!","|",">>",">","++","+=","+","`","*=","*","/=","/","--","-=","-","%{","%=","%","${","&"]})}(this.Sunlight),function(a,b){if(a===b||a.registerLanguage===b)throw"Include sunlight.js before including language files";a.registerLanguage("python",{keywords:["False","class","finally","is","return","None","continue","for","lambda","try","True","def","from","nonlocal","while","and","del","global","not","with","as","elif","if","or","yield","assert","else","import","pass","break","except","in","raise"],customTokens:{ellipsis:{values:["..."],boundary:""},delimiter:{values:["(",")","[","]","{","}",",",":",".",";","@","=","+=","-=","*=","/=","//=","%=","&=","|=","^=",">>=","<<=","**="],boundary:""},constant:{values:["NotImplemented","Ellipsis","False","True","None","__debug__"],boundary:"\\b"},attribute:{values:["__doc__","__name__","__module__","__defaults__","__code__","__globals__","__dict__","__closure__","__annotations__","__kwedefaults__","__self__","__func__","__bases__"],boundary:"\\b"},specialMethod:{values:["__next__","__new__","__init__","__del__","__repr__","__str__","__format__","__lt__","__le__","__eq__","__ne__","__gt__","__ge__","__hash__","__bool__","__call__","__prepare__","__getattr__","__getattribute__","__setattr__","__setattribute__","__delattr__","__dir__","__get__","__set__","__delete__","__slots__","__instancecheck__","__subclasscheck__","__getitem__","__setitem__","__delitem__","__iter__","__reversed__","__contains__","__add__","__sub__","__mul__","__truediv__","__floordiv__","__mod__","__divmod__","__pow__","__lshift__","__rshift__","__and__","__xor__","__or__","__radd__","__rsub__","__rmul__","__rtruediv__","__rfloordiv__","__rmod__","__rdivmod__","__rpow__","__rlshift__","__rrshift__","__rand__","__xror__","__ror__","__iadd__","__isub__","__imul__","__itruediv__","__ifloordiv__","__imod__","__idivmod__","__ipow__","__ilshift__","__irshift__","__iand__","__xror__","__ior__","__neg__","__pos__","__abs__","__invert__","__complex__","__int__","__float__","__round__","__index__","__enter__","__exit__"],boundary:"\\b"},"function":{values:["abs","dict","help","min","setattr","all","dir","hex","next","slice","any","divmod","id","object","sorted","ascii","enumerate","input","oct","staticmethod","bin","eval","int","open","str","bool","exec","isinstance","ord","sum","bytearray","filter","issubclass","pow","super","bytes","float","iter","print","tuple","callable","format","len","property","type","chr","frozenset","list","range","vars","classmethod","getattr","locals","repr","zip","compile","globals","map","reversed","__import__","complex","hasattr","max","round","delattr","hash","memoryview","set"],boundary:"\\b"}},scopes:{longString:[['"""','"""',a.util.escapeSequences.concat(['\\"'])],["'''","'''",a.util.escapeSequences.concat(["\\'"])]],rawLongString:[['r"""','"""'],['R"""','"""'],["r'''","'''"],["R'''","'''"]],binaryLongString:[['br"""','"""'],['bR"""','"""'],['Br"""','"""'],['BR"""','"""'],["br'''","'''"],["bR'''","'''"],["Br'''","'''"],["BR'''","'''"],['b"""','"""',a.util.escapeSequences.concat(['\\"'])],['B"""','"""',a.util.escapeSequences.concat(['\\"'])],["b'''","'''",a.util.escapeSequences.concat(["\\'"])],["B'''","'''",a.util.escapeSequences.concat(["\\'"])]],string:[['"','"',a.util.escapeSequences.concat(['\\"'])],["'","'",a.util.escapeSequences.concat([
c="iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41Ljg3O4BdAAAAl0lEQVQ4jWP4P9n9PyWYgTYGzAr+///Q9P//Ty/HjhfEETDg1oH/YPDgNKbm4wsIuGBO+H84WJJKhhd2dkA0v3tEZhjcPQox4MVN7P7fUEHAgM112DX++Qkx+PEFMqPxwSmIAQenkWHAvCicAUucAbCAfX2PQCCCEtDGKkz86RXEgL39BAwAKcAFbh/6/39GIL3yAj0NAAB+LQeDCZ9tvgAAAABJRU5ErkJggg==",d=document.createElement("ul"),e=document.createElement("li"),f=String.fromCharCode(8212),g=createLink("#","collapse code block",f),g.onclick=function(){var b=sunlight.util.getComputedStyle(a.codeContainer,"height"),c=sunlight.util.getComputedStyle(a.codeContainer,"overflowY");return function(){var d=sunlight.util.getComputedStyle(a.codeContainer,"height")!==b;return this.replaceChild(document.createTextNode(d?f:"+"),this.firstChild),this.setAttribute("title",(d?"collapse":"expand")+" clode block"),a.codeContainer.style.height=d?b:"0px",a.codeContainer.style.overflowY=d?c:"hidden",!1}}(),e.appendChild(g),h=document.createElement("li"),i=createLink("#","view raw code","raw"),i.onclick=function(){var b;return function(){var c;return b?(b.parentNode.removeChild(b),b=null,a.node.style.display="block",this.replaceChild(document.createTextNode("raw"),this.firstChild),this.setAttribute("title","view raw code")):(c=getTextRecursive(a.node),b=document.createElement("textarea"),b.value=c,b.setAttribute("readonly","readonly"),b.style.width=parseInt(sunlight.util.getComputedStyle(a.node,"width"))-5+"px",b.style.height=sunlight.util.getComputedStyle(a.node,"height"),b.style.border="none",b.style.overflowX="hidden",b.setAttribute("wrap","off"),a.codeContainer.insertBefore(b,a.node),a.node.style.display="none",this.replaceChild(document.createTextNode("highlighted"),this.firstChild),this.setAttribute("title","view highlighted code"),b.select()),!1}}(),h.appendChild(i),j=document.createElement("li"),k=createLink("http://sunlightjs.com/","Sunlight: JavaScript syntax highlighter by Tommy Montgomery"),l=document.createElement("img"),l.setAttribute("src","data:image/png;base64,"+c),l.setAttribute("alt","about"),k.appendChild(l),j.appendChild(k),d.appendChild(j),d.appendChild(h),d.appendChild(e),b.appendChild(d),a.container.insertBefore(b,a.container.firstChild),this.options.autoCollapse&&g.onclick.call(g))}),sunlight.globalOptions.showMenu=!1,sunlight.globalOptions.autoCollapse=!1}(this.Sunlight,document),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";function b(b){return!b.nodeName||-1!==a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"])}function c(b){return a.isFunction(b)||a.isPlainObject(b)?b:{top:b,left:b}}var d=a.scrollTo=function(b,c,d){return a(window).scrollTo(b,c,d)};return d.defaults={axis:"xy",duration:0,limit:!0},a.fn.scrollTo=function(e,f,g){"object"==typeof f&&(g=f,f=0),"function"==typeof g&&(g={onAfter:g}),"max"===e&&(e=9e9),g=a.extend({},d.defaults,g),f=f||g.duration;var h=g.queue&&1<g.axis.length;return h&&(f/=2),g.offset=c(g.offset),g.over=c(g.over),this.each(function(){function i(b){var c=a.extend({},g,{queue:!0,duration:f,complete:b&&function(){b.call(l,n,g)}});m.animate(o,c)}if(null!==e){var j,k=b(this),l=k?this.contentWindow||window:this,m=a(l),n=e,o={};switch(typeof n){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(n)){n=c(n);break}n=k?a(n):a(n,l);case"object":if(0===n.length)return;(n.is||n.style)&&(j=(n=a(n)).offset())}var p=a.isFunction(g.offset)&&g.offset(l,n)||g.offset;a.each(g.axis.split(""),function(a,b){var c="x"===b?"Left":"Top",e=c.toLowerCase(),f="scroll"+c,q=m[f](),r=d.max(l,b);j?(o[f]=j[e]+(k?0:q-m.offset()[e]),g.margin&&(o[f]-=parseInt(n.css("margin"+c),10)||0,o[f]-=parseInt(n.css("border"+c+"Width"),10)||0),o[f]+=p[e]||0,g.over[e]&&(o[f]+=n["x"===b?"width":"height"]()*g.over[e])):(c=n[e],o[f]=c.slice&&"%"===c.slice(-1)?parseFloat(c)/100*r:c),g.limit&&/^\d+$/.test(o[f])&&(o[f]=0>=o[f]?0:Math.min(o[f],r)),!a&&1<g.axis.le
width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.6",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a