*/,R.Pipeline=function(){this._stack=[]},R.Pipeline.registeredFunctions=Object.create(null),R.Pipeline.registerFunction=function(e,t){tinthis.registeredFunctions&&R.utils.warn("Overwriting existing registered function: "+t),e.label=t,R.Pipeline.registeredFunctions[e.label]=e},R.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.labelinthis.registeredFunctions||R.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},R.Pipeline.load=function(e){vart=newR.Pipeline;returne.forEach((function(e){varr=R.Pipeline.registeredFunctions[e];if(!r)thrownewError("Cannot load unregistered function: "+e);t.add(r)})),t},R.Pipeline.prototype.add=function(){vare=Array.prototype.slice.call(arguments);e.forEach((function(e){R.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},R.Pipeline.prototype.after=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);varr=this._stack.indexOf(e);if(-1==r)thrownewError("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},R.Pipeline.prototype.before=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);varr=this._stack.indexOf(e);if(-1==r)thrownewError("Cannot find existingFn");this._stack.splice(r,0,t)},R.Pipeline.prototype.remove=function(e){vart=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},R.Pipeline.prototype.run=function(e){for(vart=this._stack.length,r=0;r<t;r++){for(varn=this._stack[r],i=[],s=0;s<e.length;s++){varo=n(e[s],s,e);if(void0!==o&&""!==o)if(Array.isArray(o))for(vara=0;a<o.length;a++)i.push(o[a]);elsei.push(o)}e=i}returne},R.Pipeline.prototype.runString=function(e,t){varr=newR.Token(e,t);returnthis.run([r]).map((function(e){returne.toString()}))},R.Pipeline.prototype.reset=function(){this._stack=[]},R.Pipeline.prototype.toJSON=function(){returnthis._stack.map((function(e){returnR.Pipeline.warnIfFunctionNotRegistered(e),e.label}))}
*/,R.Pipeline=function(){this._stack=[]},R.Pipeline.registeredFunctions=Object.create(null),R.Pipeline.registerFunction=function(e,t){tinthis.registeredFunctions&&R.utils.warn("Overwriting existing registered function: "+t),e.label=t,R.Pipeline.registeredFunctions[e.label]=e},R.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.labelinthis.registeredFunctions||R.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},R.Pipeline.load=function(e){vart=newR.Pipeline;returne.forEach((function(e){varr=R.Pipeline.registeredFunctions[e];if(!r)thrownewError("Cannot load unregistered function: "+e);t.add(r)})),t},R.Pipeline.prototype.add=function(){vare=Array.prototype.slice.call(arguments);e.forEach((function(e){R.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},R.Pipeline.prototype.after=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);varr=this._stack.indexOf(e);if(-1==r)thrownewError("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},R.Pipeline.prototype.before=function(e,t){R.Pipeline.warnIfFunctionNotRegistered(t);varr=this._stack.indexOf(e);if(-1==r)thrownewError("Cannot find existingFn");this._stack.splice(r,0,t)},R.Pipeline.prototype.remove=function(e){vart=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},R.Pipeline.prototype.run=function(e){for(vart=this._stack.length,r=0;r<t;r++){for(varn=this._stack[r],i=[],s=0;s<e.length;s++){varo=n(e[s],s,e);if(null!=o&&""!==o)if(Array.isArray(o))for(vara=0;a<o.length;a++)i.push(o[a]);elsei.push(o)}e=i}returne},R.Pipeline.prototype.runString=function(e,t){varr=newR.Token(e,t);returnthis.run([r]).map((function(e){returne.toString()}))},R.Pipeline.prototype.reset=function(){this._stack=[]},R.Pipeline.prototype.toJSON=function(){returnthis._stack.map((function(e){returnR.Pipeline.warnIfFunctionNotRegistered(e),e.label}))}
/*!
* lunr.Vector
* Copyright (C) 2019 Oliver Nightingale
@@ -55,5 +55,5 @@
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/varn=/["'&<>]/;e.exports=function(e){vart,r=""+e,i=n.exec(r);if(!i)returnr;vars="",o=0,a=0;for(o=i.index;o<r.length;o++){switch(r.charCodeAt(o)){case34:t=""";break;case38:t="&";break;case39:t="'";break;case60:t="<";break;case62:t=">";break;default:continue}a!==o&&(s+=r.substring(a,o)),a=o+1,s+=t}returna!==o?s+r.substring(a,o):s}},function(e,t,r){"use strict";constn=/[|\\{}()[\]^$+*?.-]/g;e.exports=e=>{if("string"!=typeofe)thrownewTypeError("Expected a string");returne.replace(n,"\\$&")}},function(e,t,r){"use strict";r.r(t);varn=r(0),i=r(1),s=function(e){vart="function"==typeofSymbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)returnr.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&n>=e.length&&(e=void0),{value:e&&e[n++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(e,t){varr="function"==typeofSymbol&&e[Symbol.iterator];if(!r)returne;varn,i,s=r.call(e),o=[];try{for(;(void0===t||t-->0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throwi.error}}returno};vara=r(2),u=function(){return(u=Object.assign||function(e){for(vart,r=1,n=arguments.length;r<n;r++)for(variint=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);returne}).apply(this,arguments)};varl,c,h=function(e){vart="function"==typeofSymbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)returnr.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&n>=e.length&&(e=void0),{value:e&&e[n++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(e,t){varr="function"==typeofSymbol&&e[Symbol.iterator];if(!r)returne;varn,i,s=r.call(e),o=[];try{for(;(void0===t||t-->0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throwi.error}}returno},f=function(){for(vare=[],t=0;t<arguments.length;t++)e=e.concat(d(arguments[t]));returne},p=function(){functione(e){vart=e.config,r=e.docs,l=e.pipeline,c=e.index;this.documents=function(e){vart,r,n=newMap;try{for(vara=s(e),u=a.next();!u.done;u=a.next()){varl=u.value,c=o(l.location.split("#"),2),h=c[0],d=c[1],f=l.location,p=l.title,y=i(l.text).replace(/\s+(?=[,.:;!?])/g,"").replace(/\s+/g," ");if(d){varm=n.get(h);m.linked?n.set(f,{location:f,title:p,text:y,parent:m}):(m.title=l.title,m.text=y,m.linked=!0)}elsen.set(f,{location:f,title:p,text:y,linked:!1})}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throwt.error}}returnn}(r),this.highlight=function(e){vart=newRegExp(e.separator,"img"),r=function(e,t,r){returnt+"<em>"+r+"</em>"};returnfunction(n){n=n.replace(/[\s*+-:~^]+/g," ").trim();vari=newRegExp("(^|"+e.separator+")("+a(n).replace(t,"|")+")","img");returnfunction(e){returnu(u({},e),{title:e.title.replace(i,r),text:e.text.replace(i,r)})}}}(t),this.index=void0===c?n((function(){vare,t;l=l||{trimmer:!0,stopwords:!0},this.pipeline.reset(),l.trimmer&&this.pipeline.add(n.trimmer),l.stopwords&&this.pipeline.add(n.stopWordFilter),this.field("title",{boost:10}),this.field("text"),this.ref("location");try{for(vari=h(r),s=i.next();!s.done;s=i.next()){varo=s.value;this.add(o)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throwe.error}}})):n.Index.load("string"==typeofc?JSON.parse(c):c)}returne.prototype.search=function(e){vart=this;if(e)try{varr=this.index.search(e).reduce((function(e,r){varn=t.documents.get(r.ref);if(void0!==n)if("parent"inn){vari=n.parent.location;e.set(i,f(e.get(i)||[],[r]))}else{i=n.location;e.set(i,e.get(i)||[])}returne}),newMap),n=this.highlight(e);returnf(r).map((function(e){varr=d(e,2),i=r[0],s=r[1];return{article:n(t.documents.get(i)),sections:s.map((function(e){returnn(t.documents.get(e.ref))}))}}))}catch(t){console.warn("Invalid query: "+e+" – see https://bit.ly/2s3ChXG")}return[]},e.prototype.toString=function(){returnJSON.stringify(this.index)},e}();functiony(e){switch(e.type){casel.SETUP:returnc=newp(e.data),{type:l.DUMP,data:c.toString()};casel.QUERY:return{type:l.RESULT,data:c?c.search(e.data):[]};default:thrownewTypeError("Invalid message type")}}!function(e){e[e.SETUP=0]="SETUP",e[e.DUMP=1]="DUMP",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"}(l||(l={})),r.d(t,"handler",(function(){returny})),addEventListener("message",(function(e){postMessage(y(e.data))}))}]);
*/varn=/["'&<>]/;e.exports=function(e){vart,r=""+e,i=n.exec(r);if(!i)returnr;vars="",o=0,a=0;for(o=i.index;o<r.length;o++){switch(r.charCodeAt(o)){case34:t=""";break;case38:t="&";break;case39:t="'";break;case60:t="<";break;case62:t=">";break;default:continue}a!==o&&(s+=r.substring(a,o)),a=o+1,s+=t}returna!==o?s+r.substring(a,o):s}},function(e,t,r){"use strict";constn=/[|\\{}()[\]^$+*?.-]/g;e.exports=e=>{if("string"!=typeofe)thrownewTypeError("Expected a string");returne.replace(n,"\\$&")}},function(e,t,r){"use strict";r.r(t);varn=r(0),i=r(1),s=function(e){vart="function"==typeofSymbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)returnr.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&n>=e.length&&(e=void0),{value:e&&e[n++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(e,t){varr="function"==typeofSymbol&&e[Symbol.iterator];if(!r)returne;varn,i,s=r.call(e),o=[];try{for(;(void0===t||t-->0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throwi.error}}returno};vara=r(2),u=function(){return(u=Object.assign||function(e){for(vart,r=1,n=arguments.length;r<n;r++)for(variint=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);returne}).apply(this,arguments)};varl,c,h=function(e){vart="function"==typeofSymbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)returnr.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&n>=e.length&&(e=void0),{value:e&&e[n++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(e,t){varr="function"==typeofSymbol&&e[Symbol.iterator];if(!r)returne;varn,i,s=r.call(e),o=[];try{for(;(void0===t||t-->0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throwi.error}}returno},f=function(){for(vare=[],t=0;t<arguments.length;t++)e=e.concat(d(arguments[t]));returne},p=function(){functione(e){vart=e.config,r=e.docs,l=e.pipeline,c=e.index;this.documents=function(e){vart,r,n=newMap;try{for(vara=s(e),u=a.next();!u.done;u=a.next()){varl=u.value,c=o(l.location.split("#"),2),h=c[0],d=c[1],f=l.location,p=l.title,y=i(l.text).replace(/\s+(?=[,.:;!?])/g,"").replace(/\s+/g," ");if(d){varm=n.get(h);m.linked?n.set(f,{location:f,title:p,text:y,parent:m}):(m.title=l.title,m.text=y,m.linked=!0)}elsen.set(f,{location:f,title:p,text:y,linked:!1})}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throwt.error}}returnn}(r),this.highlight=function(e){vart=newRegExp(e.separator,"img"),r=function(e,t,r){returnt+"<em>"+r+"</em>"};returnfunction(n){n=n.replace(/[\s*+-:~^]+/g," ").trim();vari=newRegExp("(^|"+e.separator+")("+a(n).replace(t,"|")+")","img");returnfunction(e){returnu(u({},e),{title:e.title.replace(i,r),text:e.text.replace(i,r)})}}}(t),this.index=void0===c?n((function(){vare,t;l=l||{trimmer:!0,stopwords:!0},this.pipeline.reset(),l.trimmer&&this.pipeline.add(n.trimmer),l.stopwords&&this.pipeline.add(n.stopWordFilter),this.field("title",{boost:10}),this.field("text"),this.ref("location");try{for(vari=h(r),s=i.next();!s.done;s=i.next()){varo=s.value;this.add(o)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throwe.error}}})):n.Index.load("string"==typeofc?JSON.parse(c):c)}returne.prototype.search=function(e){vart=this;if(e)try{varr=this.index.search(e).reduce((function(e,r){varn=t.documents.get(r.ref);if(void0!==n)if("parent"inn){vari=n.parent.location;e.set(i,f(e.get(i)||[],[r]))}else{i=n.location;e.set(i,e.get(i)||[])}returne}),newMap),n=this.highlight(e);returnf(r).map((function(e){varr=d(e,2),i=r[0],s=r[1];return{article:n(t.documents.get(i)),sections:s.map((function(e){returnn(t.documents.get(e.ref))}))}}))}catch(t){console.warn("Invalid query: "+e+" – see https://bit.ly/2s3ChXG")}return[]},e.prototype.toString=function(){returnJSON.stringify(this.index)},e}();functiony(e){switch(e.type){casel.SETUP:returnc=newp(e.data),{type:l.DUMP,data:c.toString()};casel.QUERY:return{type:l.RESULT,data:c?c.search(e.data):[]};default:thrownewTypeError("Invalid message type")}}!function(e){e[e.SETUP=0]="SETUP",e[e.DUMP=1]="DUMP",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"}(l||(l={})),r.d(t,"handler",(function(){returny})),self.addEventListener("message",(function(e){self.postMessage(y(e.data))}))}]);
{% include "assets/images/icons/fontawesome/" ~ social.type ~ ".svg" %}
{% include "assets/images/icons/fontawesome/" ~ social.icon ~ ".svg" %}
</a>
{% endfor %}
</div>
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.