9 lines
305 KiB
JavaScript
9 lines
305 KiB
JavaScript
|
!function(a,b){function c(a){var b=a.length,c=fb.type(a);return fb.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||"function"!==c&&(0===b||"number"==typeof b&&b>0&&b-1 in a)}function d(a){var b=ob[a]={};return fb.each(a.match(hb)||[],function(a,c){b[c]=!0}),b}function e(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=fb.expando+Math.random()}function f(a,c,d){var e;if(d===b&&1===a.nodeType)if(e="data-"+c.replace(sb,"-$1").toLowerCase(),d=a.getAttribute(e),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:rb.test(d)?JSON.parse(d):d}catch(f){}pb.set(a,c,d)}else d=b;return d}function g(){return!0}function h(){return!1}function i(){try{return T.activeElement}catch(a){}}function j(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function k(a,b,c){if(fb.isFunction(b))return fb.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return fb.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(Cb.test(b))return fb.filter(b,a,c);b=fb.filter(b,a)}return fb.grep(a,function(a){return bb.call(b,a)>=0!==c})}function l(a,b){return fb.nodeName(a,"table")&&fb.nodeName(1===b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function m(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function n(a){var b=Nb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function o(a,b){for(var c=a.length,d=0;c>d;d++)qb.set(a[d],"globalEval",!b||qb.get(b[d],"globalEval"))}function p(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(qb.hasData(a)&&(f=qb.access(a),g=qb.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++)fb.event.add(b,e,j[e][c])}pb.hasData(a)&&(h=pb.access(a),i=fb.extend({},h),pb.set(b,i))}}function q(a,c){var d=a.getElementsByTagName?a.getElementsByTagName(c||"*"):a.querySelectorAll?a.querySelectorAll(c||"*"):[];return c===b||c&&fb.nodeName(a,c)?fb.merge([a],d):d}function r(a,b){var c=b.nodeName.toLowerCase();"input"===c&&Kb.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}function s(a,b){if(b in a)return b;for(var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=_b.length;e--;)if(b=_b[e]+c,b in a)return b;return d}function t(a,b){return a=b||a,"none"===fb.css(a,"display")||!fb.contains(a.ownerDocument,a)}function u(b){return a.getComputedStyle(b,null)}function v(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=qb.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&t(d)&&(f[g]=qb.access(d,"olddisplay",z(d.nodeName)))):f[g]||(e=t(d),(c&&"none"!==c||!e)&&qb.set(d,"olddisplay",e?c:fb.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function w(a,b,c){var d=Ub.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function x(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+=fb.css(a,c+$b[f],!0,e)),d?("content"===c&&(g-=fb.css(a,"padding"+$b[f],!0,e)),"margin"!==c&&(g-=fb.css(a,"border"+$b[f]+"Width",!0,e))):(g+=fb.css(a,"padding"+$b[f],!0,e),"padding"!==c&&(g+=fb.css(a,"border"+$b[f]+"Width",!0,e)));return g}function y(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=u(a),g=fb.support.boxSizing&&"border-box"===fb.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Qb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Vb.test(e))return e;d=g&&(fb.support.boxSizingReliable||e===a.style[b]),e=parseFloat(e)||0}return e+x(a,b,c||(g?"border":"content"),d,f)+"px"}function z(a){var b=T,c=Xb[a];return c||(c=A(a,b),"none"!==c&&c||(Rb=(Rb||fb("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(b.documentElement),b=(Rb[0].contentWindow||Rb[0].contentDocument).document,b.write("<!doctype html><html><body>"),b.close(),c=A(a,b),Rb.detach()),Xb[a]=c),c}function A(a,b){var c=fb(b.createElement(a)).appendTo(b.body),d=fb.css(c[0],"display");return
|
||
|
l.prototype=z.filters=z.pseudos,z.setFilters=new l,C=c.compile=function(a,b){var c,d=[],e=[],f=T[a+" "];if(!f){for(b||(b=m(a)),c=b.length;c--;)f=s(b[c]),f[N]?d.push(f):e.push(f);f=T(a,t(e,d))}return f},x.sortStable=N.split("").sort(V).join("")===N,x.detectDuplicates=U,F(),x.sortDetached=f(function(a){return 1&a.compareDocumentPosition(G.createElement("div"))}),f(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||g("type|href|height|width",function(a,c,d){return d?b:a.getAttribute(c,"type"===c.toLowerCase()?1:2)}),x.attributes&&f(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||g("value",function(a,c,d){return d||"input"!==a.nodeName.toLowerCase()?b:a.defaultValue}),f(function(a){return null==a.getAttribute("disabled")})||g(db,function(a,c,d){var e;return d?b:(e=a.getAttributeNode(c))&&e.specified?e.value:a[c]===!0?c.toLowerCase():null}),fb.find=c,fb.expr=c.selectors,fb.expr[":"]=fb.expr.pseudos,fb.unique=c.uniqueSort,fb.text=c.getText,fb.isXMLDoc=c.isXML,fb.contains=c.contains}(a);var ob={};fb.Callbacks=function(a){a="string"==typeof a?ob[a]||d(a):fb.extend({},a);var c,e,f,g,h,i,j=[],k=!a.once&&[],l=function(b){for(c=a.memory&&b,e=!0,i=g||0,g=0,h=j.length,f=!0;j&&h>i;i++)if(j[i].apply(b[0],b[1])===!1&&a.stopOnFalse){c=!1;break}f=!1,j&&(k?k.length&&l(k.shift()):c?j=[]:m.disable())},m={add:function(){if(j){var b=j.length;!function d(b){fb.each(b,function(b,c){var e=fb.type(c);"function"===e?a.unique&&m.has(c)||j.push(c):c&&c.length&&"string"!==e&&d(c)})}(arguments),f?h=j.length:c&&(g=b,l(c))}return this},remove:function(){return j&&fb.each(arguments,function(a,b){for(var c;(c=fb.inArray(b,j,c))>-1;)j.splice(c,1),f&&(h>=c&&h--,i>=c&&i--)}),this},has:function(a){return a?fb.inArray(a,j)>-1:!(!j||!j.length)},empty:function(){return j=[],h=0,this},disable:function(){return j=k=c=b,this},disabled:function(){return!j},lock:function(){return k=b,c||m.disable(),this},locked:function(){return!k},fireWith:function(a,b){return!j||e&&!k||(b=b||[],b=[a,b.slice?b.slice():b],f?k.push(b):l(b)),this},fire:function(){return m.fireWith(this,arguments),this},fired:function(){return!!e}};return m},fb.extend({Deferred:function(a){var b=[["resolve","done",fb.Callbacks("once memory"),"resolved"],["reject","fail",fb.Callbacks("once memory"),"rejected"],["notify","progress",fb.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return fb.Deferred(function(c){fb.each(b,function(b,f){var g=f[0],h=fb.isFunction(a[b])&&a[b];e[f[1]](function(){var a=h&&h.apply(this,arguments);a&&fb.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[g+"With"](this===d?c.promise():this,h?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?fb.extend(a,d):d}},e={};return d.pipe=d.then,fb.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b,c,d,e=0,f=ab.call(arguments),g=f.length,h=1!==g||a&&fb.isFunction(a.promise)?g:0,i=1===h?a:fb.Deferred(),j=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?ab.call(arguments):e,d===b?i.notifyWith(c,d):--h||i.resolveWith(c,d)}};if(g>1)for(b=Array(g),c=Array(g),d=Array(g);g>e;e++)f[e]&&fb.isFunction(f[e].promise)?f[e].promise().done(j(e,d,f)).fail(i.reject).progress(j(e,c,b)):--h;return h||i.resolveWith(d,f),i.promise()}}),fb.support=function(b){var c=T.createElement("input"),d=T.createDocumentFragment(),e=T.createElement("div"),f=T.createElement("select"),g=f.appendChild(T.createElement("option"));return c.type?(c.type="checkbox",b.checkOn=""!==c.value,b.optSelected=g.selected,b.reliableMarginRight=!0,b.boxSizingReliable=!0,b.pixelPosition=!1,c.checked=!0,b.noCloneChecked=c.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disable
|
||
|
},a,c,arguments.length>1)},show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){t(this)?fb(this).show():fb(this).hide()})}}),fb.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Qb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,c,d,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var f,g,h,i=fb.camelCase(c),j=a.style;return c=fb.cssProps[i]||(fb.cssProps[i]=s(j,i)),h=fb.cssHooks[c]||fb.cssHooks[i],d===b?h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c]:(g=typeof d,"string"===g&&(f=Wb.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(fb.css(a,c)),g="number"),null==d||"number"===g&&isNaN(d)||("number"!==g||fb.cssNumber[i]||(d+="px"),fb.support.clearCloneStyle||""!==d||0!==c.indexOf("background")||(j[c]="inherit"),h&&"set"in h&&(d=h.set(a,d,e))===b||(j[c]=d)),b)}},css:function(a,c,d,e){var f,g,h,i=fb.camelCase(c);return c=fb.cssProps[i]||(fb.cssProps[i]=s(a.style,i)),h=fb.cssHooks[c]||fb.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,d)),f===b&&(f=Qb(a,c,e)),"normal"===f&&c in Zb&&(f=Zb[c]),""===d||d?(g=parseFloat(f),d===!0||fb.isNumeric(g)?g||0:f):f}}),Qb=function(a,c,d){var e,f,g,h=d||u(a),i=h?h.getPropertyValue(c)||h[c]:b,j=a.style;return h&&(""!==i||fb.contains(a.ownerDocument,a)||(i=fb.style(a,c)),Vb.test(i)&&Tb.test(c)&&(e=j.width,f=j.minWidth,g=j.maxWidth,j.minWidth=j.maxWidth=j.width=i,i=h.width,j.width=e,j.minWidth=f,j.maxWidth=g)),i},fb.each(["height","width"],function(a,c){fb.cssHooks[c]={get:function(a,d,e){return d?0===a.offsetWidth&&Sb.test(fb.css(a,"display"))?fb.swap(a,Yb,function(){return y(a,c,e)}):y(a,c,e):b},set:function(a,b,d){var e=d&&u(a);return w(a,b,d?x(a,c,d,fb.support.boxSizing&&"border-box"===fb.css(a,"boxSizing",!1,e),e):0)}}}),fb(function(){fb.support.reliableMarginRight||(fb.cssHooks.marginRight={get:function(a,c){return c?fb.swap(a,{display:"inline-block"},Qb,[a,"marginRight"]):b}}),!fb.support.pixelPosition&&fb.fn.position&&fb.each(["top","left"],function(a,c){fb.cssHooks[c]={get:function(a,d){return d?(d=Qb(a,c),Vb.test(d)?fb(a).position()[c]+"px":d):b}}})}),fb.expr&&fb.expr.filters&&(fb.expr.filters.hidden=function(a){return 0>=a.offsetWidth&&0>=a.offsetHeight},fb.expr.filters.visible=function(a){return!fb.expr.filters.hidden(a)}),fb.each({margin:"",padding:"",border:"Width"},function(a,b){fb.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+$b[d]+b]=f[d]||f[d-2]||f[0];return e}},Tb.test(a)||(fb.cssHooks[a+b].set=w)});var ac=/%20/g,bc=/\[\]$/,cc=/\r?\n/g,dc=/^(?:submit|button|image|reset|file)$/i,ec=/^(?:input|select|textarea|keygen)/i;fb.fn.extend({serialize:function(){return fb.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=fb.prop(this,"elements");return a?fb.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!fb(this).is(":disabled")&&ec.test(this.nodeName)&&!dc.test(a)&&(this.checked||!Kb.test(a))}).map(function(a,b){var c=fb(this).val();return null==c?null:fb.isArray(c)?fb.map(c,function(a){return{name:b.name,value:a.replace(cc,"\r\n")}}):{name:b.name,value:c.replace(cc,"\r\n")}}).get()}}),fb.param=function(a,c){var d,e=[],f=function(a,b){b=fb.isFunction(b)?b():null==b?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(c===b&&(c=fb.ajaxSettings&&fb.ajaxSettings.traditional),fb.isArray(a)||a.jquery&&!fb.isPlainObject(a))fb.each(a,function(){f(this.name,this.value)});else for(d in a)B(d,a[d],c,f);return e.join("&").replace(ac,"+")},fb.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 contextmenu".split(" "),function(a,b){fb.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),fb.fn.extend({hover:function(a,b){return this.mouseenter(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(!c||a.reader.current()+a.reader.peek(6)==="</style")return!1;if("operator"!==c.name||">"!==c.value)return!1;for(b=a.count()-1;c=a.token(--b);)if("tagName"===c.name){if("style"===c.value&&(c=a.token(--b),c&&"operator"===c.name&&"<"===c.value))return!0;break}return!1},switchBack:function(a){return"</style"===a.reader.peek(7)}},javascript:{switchTo:function(a){var b,c=a.token(a.count()-1);if(!c||a.reader.current()+a.reader.peek(7)==="</script")return!1;if("operator"!==c.name||">"!==c.value)return!1;for(b=a.count()-1;c=a.token(--b);)if("tagName"===c.name){if("script"===c.value&&(c=a.token(--b),c&&"operator"===c.name&&"<"===c.value))return!0;break}return!1},switchBack:function(a){return"</script"===a.reader.peek(8)}},php:{switchTo:function(a){var b=a.reader.peek(4);return"<"===a.reader.current()&&("?php"===b||/^\?(?!xml)/.test(b))},switchBack:function(a){var b=a.token(a.count()-1);return b&&"closeTag"===b.name}},csharp:{switchTo:function(a){var b=a.token(a.count()-1);return b&&"aspOpenTag"===b.name},switchBack:function(a){return"%>"===a.reader.peek(2)}},scala:{switchTo:function(a){return a.options.en
|
||
|
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-align","direction","unicode-bidi","writing-mode","text-orientation","text-combine","color","opacity","font-family","font-weight","font-stretch","font-style","font-size-adjust","font-size","font-synthesis","src","unicode-range","font-feature-settings","font-kerning","vertical-position","font-variant-ligatures","font-variant-caps","font-variant-numeric","font-variant-alternates","font-variant-east-asian","font-variant","font-feature-settings","font-language-override","font","line-height","text-height","transform-origin","transform-style","perspective-origin","perspective","backface-visibility","transform","transition-property","transition-duration","transition-timing-function","transition-delay","list-style-type","list-style-image","list-style-position","list-style","column-width","column-count","colunns","column-gap","column-rule-color","column-rule-style","column-rule-width","column-rule","break-before","break-after","break-inside","column-span","column-fill","caption-side","table-layout","empty-cells","fit-position","fit","image-orientation","orphans","page-break-after","page-break-before","page-break-inside","page","size","widows","content","z-index","counter-increment","counter-reset","azimuth","elevation
|
||
|
}(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||"#'"!==d.value)?null:a.util.matchWord(b,e,c):null}}if(a===b||a.registerLanguage===b)throw"Include sunlight.js before including language files";var d="[\\s\\(\\)]";a.registerLanguage("lisp",{scopes:{string:[['"','"']],comment:[[";","\n",null,!0]],keywordArgument:[[":",{regex:/[\s\)\(]/,length:1},null,!0]]},customTokens:{keyword:{values:["always","appending","append","as","collecting","collect","counting","count","doing","do","finally","for","if","initially","maximize","maximizing","minimize","minimizing","named","nconcing","nconc","never","repeat","return","summing","sum","thereis","unless","until","when","while","with","into","in"],boundary:"[^\\w-]"},globalVariable:{values:["*applyhook*","*break-on-signals*","*break-on-warnings*","*compile-file-pathname*","*compile-file-truename*","*compile-print*","*compile-verbose*","*debug-io*","*debugger-hook*","*gensym-counter*","*terminal-io*","*default-pathname-defaults*","*error-output*","*evalhook*","*features*","*load-pathname*","*load-print*","*load-truename*","*load-verbose*","*macroexpand-hook*","*modules*","*package*","*print-array*","*print-base*","*print-case*","*print-circle*","*print-escape*","*print-gensym*","*print-length*","*print-level*","*print-lines*","*print-miser-width*","*print-pprint-dispatch*","*print-pretty*","*print-radix*","*print-readably*
|
||
|
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
|
||
|
if("<"!==a.reader.current()||"<<"!==a.reader.peek(2))return null;for(a.reader.read(2),b=a.reader.peek();b!==a.reader.EOF&&"\n"!==b;)c+=a.reader.read(),"'"!==b?f+=a.reader.current():g=!0,b=a.reader.peek();if(b!==a.reader.EOF){for(c+=a.reader.read();a.reader.peek()!==a.reader.EOF&&a.reader.peek(f.length+2)!=="\n"+f+";";)c+=a.reader.read();a.reader.peek()!==a.reader.EOF&&(c+=a.reader.read(f.length+1))}return a.createToken(g?"nowdoc":"heredoc",c,d,e)}],identFirstLetter:/[A-Za-z_]/,identAfterFirstLetter:/\w/,namedIdentRules:{custom:[function(b){var c,d=a.util.getPreviousNonWsToken(b.tokens,b.index);return d&&"keyword"===d.name&&"new"===d.value?(c=a.util.getNextNonWsToken(b.tokens,b.index),c&&"operator"===c.name&&"\\"===c.value?!1:!0):!1},function(b){var c,d,e=a.util.getNextNonWsToken(b.tokens,b.index);if(!e||"punctuation"!==e.name||";"!==e.value&&","!==e.value)return!1;for(d=b.index;c=b.tokens[--d];)if(!("ident"===c.name||"default"===c.name||"operator"===c.name&&"\\"===c.value||"punctuation"===c.name&&","===c.value))return"keyword"===c.name&&"use"===c.value;return!1},function(b){var d,e,f,g=a.util.getNextNonWsToken(b.tokens,b.index);if(g&&"operator"===g.name&&"\\"===g.value)return!1;for(e=b.index,f=b.tokens[e];(d=b.tokens[--e])!==c;){if("keyword"===d.name&&("new"===d.value||"instanceof"===d.value))return!0;if("default"!==d.name)if("ident"!==d.name){if("operator"!==d.name||"\\"!==d.value)break;if(f&&"ident"!==f.name)return!1;f=d}else{if(f&&"ident"===f.name)return!1;f=d}}return!1}],follows:[[{token:"ident"},a.util.whitespace,{token:"keyword",values:["extends","implements"]},a.util.whitespace],[{token:"keyword",values:["class","interface","abstract","final"]},a.util.whitespace]],precedes:[[a.util.whitespace,{token:"operator",values:["::"]}],[{token:"default"},{token:"variable"}]],between:[{opener:{token:"keyword",values:["implements"]},closer:{token:"punctuation",values:["{"]}}]},operators:["::","->","++","+=","+","--","-=","-","*=","*","/=","/","%=","%","&&","||","|=","|","&=","&","^=","^",">>=",">>","<<=","<<","<=","<",">=",">","===","==","!==","!=","!","~","?:","?",":",".=",".","=>","=","\\"]})}(this.Sunlight,document),function(a,b){if(a===b||a.registerLanguage===b)throw"Include sunlight.js before including language files";a.registerLanguage("powershell",{scopes:{string:[['"','"',['\\"',"\\\\"]],["'","'",["\\'","\\\\"]]],comment:[["#","\n",null,!0]]},customParseRules:[function(){var b=["-not","-band","-bor","bnot","-replace","-ireplace","-creplace","-and","-or","-isnot","-is","-as","-F","-lt","-le","-gt","-ge","-eq","-ne","-contains","-notcontains","-like","-notlike","-match","-notmatch"],c=["elseif","begin","function","for","foreach","return","else","trap","while","using","do","data","dynamicparam","class","define","until","end","break","if","throw","param","continue","finally","in","switch","exit","filter","from","try","process","var","catch"];return function(d){var e,f,g=d.reader.current(),h=d.reader.getLine(),i=d.reader.getColumn();if(!/[A-Za-z_-]/.test(d.reader.current())||!/[\w-]/.test(d.reader.peek()))return null;for(;(e=d.reader.peek())&&/[\w-]/.test(e);)g+=d.reader.read();return f=a.util.contains(b,g)?"specialOperator":a.util.contains(c,g)?"keyword":"-"===g.charAt(0)?"switch":"ident",d.createToken(f,g,h,i)}}(),function(){var b=/[!@#%&,\.\s]/,c=["$$","$?","$^","$_","$ARGS","$CONSOLEFILENAME","$ERROR","$EVENT","$EVENTSUBSCRIBER","$EXECUTIONCONTEXT","$FALSE","$FOREACH","$HOME","$HOST","$INPUT","$LASTEXITCODE","$MATCHES","$MYINVOCATION","$NESTEDPROMPTLEVEL","$NULL","$PID","$PROFILE","$PSBOUNDPARAMETERS","$PSCMDLET","$PSCULTURE","$PSDEBUGCONTEXT","$PSHOME","$PSSCRIPTROOT","$PSUICULTURE","$PSVERSIONTABLE","$PWD","$SENDER","$SHELLID","$SOURCEARGS","$SOURCEEVENTARGS","$THIS","$TRUE"];return function(d){var e,f="$",g=d.reader.getLine(),h=d.reader.getColumn();if("$"!==d.reader.current()||b.test(d.reader.peek()))return null;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[
|
||
|
else{if("."!==d||!/\d/.test(a.reader.peek()))return null;b=d+a.reader.read(),g=!1}for(;(c=a.reader.peek())!==a.reader.EOF;){if(!/[A-Za-z0-9]/.test(c)){if("."===c&&g&&/\d$/.test(a.reader.peek(2))){b+=a.reader.read(),g=!1;continue}break}b+=a.reader.read()}return a.createToken("number",b,e,f)},operators:[".","<>","=","&=","&","*=","*","/=","/","\\=","\\","^=","^","+=","+","-=","-",">>=",">>","<<=","<<","<=",">=","<",">"]})}(this.Sunlight),function(a,b,c){function d(a){return function(c){var d=b.createElement("a");d.className=c.options.classPrefix+c.tokens[c.index].name,d.setAttribute("href",a(c.tokens[c.index].value)),d.appendChild(c.createTextNode(c.tokens[c.index])),c.addNode(d)}}if(a===c)throw"Include sunlight.js before including plugin files";var e={php:{"function":function(a){return"http://php.net/"+a},languageConstruct:function(a){return"http://php.net/"+a}},ruby:{"function":function(a){return"http://www.ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/function.html#"+a.replace(/!/g,"_bang").replace(/\?/g,"_p")}},python:{"function":function(a){return"http://docs.python.org/py3k/library/functions.html#"+a}},perl:{"function":function(a){return"http://perldoc.perl.org/functions/"+a+".html"}},lua:{"function":function(a){return"http://www.lua.org/manual/5.1/manual.html#pdf-"+a}}};a.bind("beforeAnalyze",function(b){this.options.enableDocLinks&&(b.analyzerContext.getAnalyzer=function(){var c,f,g=e[this.language.name];if(g){c=a.util.clone(b.analyzerContext.language.analyzer);for(f in g)g.hasOwnProperty(f)&&(c["handle_"+f]=d(g[f]));return c}})}),a.globalOptions.enableDocLinks=!1}(this.Sunlight,document),function(a,b,c){function d(a){var b=function c(a){return a.lastChild?3===a.lastChild.nodeType?a.lastChild:c(a.lastChild):null}(a)||{lastChild:""};return a.innerHTML.replace(/[^\n]/g,"").length-/\n$/.test(b.nodeValue)}if(a===c)throw"Include sunlight.js before including plugin files";a.bind("afterHighlightNode",function(c){var e,f,g,h,i,j,k,l,m;if(this.options.lineNumbers&&("automatic"!==this.options.lineNumbers||"block"===a.util.getComputedStyle(c.node,"display"))){for(e=b.createElement("pre"),f=d(c.node),i=this.options.lineHighlight.length>0,i&&(g=b.createElement("div"),g.className=this.options.classPrefix+"line-highlight-overlay"),e.className=this.options.classPrefix+"line-number-margin",k=b.createTextNode(a.util.eol),j=this.options.lineNumberStart;j<=this.options.lineNumberStart+f;j++)l=b.createElement("a"),m=(c.node.id?c.node.id:this.options.classPrefix+c.count)+"-line-"+j,l.setAttribute("name",m),l.setAttribute("href","#"+m),l.appendChild(b.createTextNode(j)),e.appendChild(l),e.appendChild(k.cloneNode(!1)),i&&(h=b.createElement("div"),a.util.contains(this.options.lineHighlight,j)&&(h.className=this.options.classPrefix+"line-highlight-active"),g.appendChild(h));c.codeContainer.insertBefore(e,c.codeContainer.firstChild),i&&c.codeContainer.appendChild(g),c.codeContainer.style.borderWidth="1px",c.codeContainer.style.borderStyle="solid"}}),a.globalOptions.lineNumbers="automatic",a.globalOptions.lineNumberStart=1,a.globalOptions.lineHighlight=[]}(this.Sunlight,document),function(sunlight,document,undefined){function createLink(a,b,c){var d=document.createElement("a");return d.setAttribute("href",a),d.setAttribute("title",b),c&&d.appendChild(document.createTextNode(c)),d}function getTextRecursive(a){var b="",c=0;if(3===a.nodeType)return a.nodeValue;for(b="",c=0;c<a.childNodes.length;c++)b+=getTextRecursive(a.childNodes[c]);return b}if(sunlight===undefined)throw"Include sunlight.js before including plugin files";var ieVersion=eval("0 /*@cc_on+ScriptEngineMajorVersion()@*/");sunlight.bind("afterHighlightNode",function(a){var b,c,d,e,f,g,h,i,j,k,l;ieVersion&&7>ieVersion||!this.options.showMenu||"block"!==sunlight.util.getComputedStyle(a.node,"display")||(b=document.createElement("div"),b.className=this.options.classPrefix+"menu",c="iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41Ljg3O4BdAAAAl0lEQVQ4jWP4P9n9PyWYgTYGzAr+///Q9P//Ty/H
|