├── 404.html
├── CNAME
├── README.md
├── Y4a13cI.png
├── assets
├── images
│ └── favicon.png
├── javascripts
│ ├── bundle.5f27aba8.min.js
│ ├── bundle.5f27aba8.min.js.map
│ ├── lunr
│ │ ├── min
│ │ │ ├── lunr.ar.min.js
│ │ │ ├── lunr.da.min.js
│ │ │ ├── lunr.de.min.js
│ │ │ ├── lunr.du.min.js
│ │ │ ├── lunr.es.min.js
│ │ │ ├── lunr.fi.min.js
│ │ │ ├── lunr.fr.min.js
│ │ │ ├── lunr.hu.min.js
│ │ │ ├── lunr.it.min.js
│ │ │ ├── lunr.ja.min.js
│ │ │ ├── lunr.jp.min.js
│ │ │ ├── lunr.multi.min.js
│ │ │ ├── lunr.nl.min.js
│ │ │ ├── lunr.no.min.js
│ │ │ ├── lunr.pt.min.js
│ │ │ ├── lunr.ro.min.js
│ │ │ ├── lunr.ru.min.js
│ │ │ ├── lunr.stemmer.support.min.js
│ │ │ ├── lunr.sv.min.js
│ │ │ ├── lunr.tr.min.js
│ │ │ └── lunr.vi.min.js
│ │ └── tinyseg.min.js
│ ├── vendor.d710d30a.min.js
│ ├── vendor.d710d30a.min.js.map
│ └── worker
│ │ ├── search.27c6a5e6.min.js
│ │ └── search.27c6a5e6.min.js.map
└── stylesheets
│ ├── main.18ac144a.min.css
│ ├── main.18ac144a.min.css.map
│ ├── palette.616af814.min.css
│ └── palette.616af814.min.css.map
├── build.bat
├── callbacks
└── index.html
├── client
└── index.html
├── index.html
├── ragebot
└── index.html
├── renderer
└── index.html
├── search
└── search_index.json
├── sitemap.xml
├── sitemap.xml.gz
├── sourceengine
├── clientstate
│ └── index.html
├── debugoverlay
│ └── index.html
├── engine
│ └── index.html
├── entitylist
│ └── index.html
├── globalvars
│ └── index.html
├── ragebot
│ └── index.html
├── se
│ └── index.html
├── surface
│ └── index.html
├── trace
│ └── index.html
└── types
│ ├── convar_t
│ └── index.html
│ ├── entity_t
│ └── index.html
│ ├── game_event_t
│ └── index.html
│ ├── player_info_t
│ └── index.html
│ ├── shot_info_t
│ └── index.html
│ ├── trace_t
│ └── index.html
│ ├── usercmd_t
│ └── index.html
│ └── view_setup_t
│ └── index.html
├── src
├── docs
│ ├── callbacks.md
│ ├── client.md
│ ├── index.md
│ ├── ragebot.md
│ ├── renderer.md
│ ├── sourceengine
│ │ ├── clientstate.md
│ │ ├── debugoverlay.md
│ │ ├── engine.md
│ │ ├── entitylist.md
│ │ ├── globalvars.md
│ │ ├── se.md
│ │ ├── trace.md
│ │ └── types
│ │ │ ├── convar_t.md
│ │ │ ├── entity_t.md
│ │ │ ├── game_event_t.md
│ │ │ ├── player_info_t.md
│ │ │ ├── shot_info_t.md
│ │ │ ├── trace_t.md
│ │ │ ├── usercmd_t.md
│ │ │ └── view_setup_t.md
│ ├── types
│ │ ├── angle_t.md
│ │ ├── color_t.md
│ │ ├── vec2_t.md
│ │ ├── vec3_t.md
│ │ └── vec4_t.md
│ └── ui
│ │ ├── types
│ │ ├── check_box_t.md
│ │ ├── color_edit_t.md
│ │ ├── combo_box_t.md
│ │ ├── key_bind_t.md
│ │ ├── multi_combo_box_t.md
│ │ ├── slider_float_t.md
│ │ ├── slider_int_t.md
│ │ └── text_input_t.md
│ │ ├── ui.md
│ │ └── vars.md
├── mkdocs.yml
└── snippets
│ ├── build.bat
│ ├── icon.png
│ ├── nixware-lua-api-snippets-1.1.5.vsix
│ ├── package.json
│ └── snippets.json
├── types
├── angle_t
│ └── index.html
├── color_t
│ └── index.html
├── rect_t
│ └── index.html
├── vec2_t
│ └── index.html
├── vec3_t
│ └── index.html
└── vec4_t
│ └── index.html
└── ui
├── index.html
├── types
├── check_box_t
│ └── index.html
├── color_edit_t
│ └── index.html
├── combo_box_t
│ └── index.html
├── key_bind_t
│ └── index.html
├── multi_combo_box_t
│ └── index.html
├── slider_float_t
│ └── index.html
├── slider_int_t
│ └── index.html
└── text_input_t
│ └── index.html
├── ui
└── index.html
└── vars
└── index.html
/CNAME:
--------------------------------------------------------------------------------
1 | api.nixware.cc
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Documentation of the nixware lua api [https://api.nixware.cc/](https://api.nixware.cc/)
2 |
--------------------------------------------------------------------------------
/Y4a13cI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nixer1337/nixware-api/1a8f61286254ec2ea7f11179b187ee0f79816cec/Y4a13cI.png
--------------------------------------------------------------------------------
/assets/images/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nixer1337/nixware-api/1a8f61286254ec2ea7f11179b187ee0f79816cec/assets/images/favicon.png
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.ar.min.js:
--------------------------------------------------------------------------------
1 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.ar=function(){this.pipeline.reset(),this.pipeline.add(e.ar.trimmer,e.ar.stopWordFilter,e.ar.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.ar.stemmer))},e.ar.wordCharacters="ء-ٛٱـ",e.ar.trimmer=e.trimmerSupport.generateTrimmer(e.ar.wordCharacters),e.Pipeline.registerFunction(e.ar.trimmer,"trimmer-ar"),e.ar.stemmer=function(){var e=this;return e.result=!1,e.preRemoved=!1,e.sufRemoved=!1,e.pre={pre1:"ف ك ب و س ل ن ا ي ت",pre2:"ال لل",pre3:"بال وال فال تال كال ولل",pre4:"فبال كبال وبال وكال"},e.suf={suf1:"ه ك ت ن ا ي",suf2:"نك نه ها وك يا اه ون ين تن تم نا وا ان كم كن ني نن ما هم هن تك ته ات يه",suf3:"تين كهم نيه نهم ونه وها يهم ونا ونك وني وهم تكم تنا تها تني تهم كما كها ناه نكم هنا تان يها",suf4:"كموه ناها ونني ونهم تكما تموه تكاه كماه ناكم ناهم نيها وننا"},e.patterns=JSON.parse('{"pt43":[{"pt":[{"c":"ا","l":1}]},{"pt":[{"c":"ا,ت,ن,ي","l":0}],"mPt":[{"c":"ف","l":0,"m":1},{"c":"ع","l":1,"m":2},{"c":"ل","l":2,"m":3}]},{"pt":[{"c":"و","l":2}],"mPt":[{"c":"ف","l":0,"m":0},{"c":"ع","l":1,"m":1},{"c":"ل","l":2,"m":3}]},{"pt":[{"c":"ا","l":2}]},{"pt":[{"c":"ي","l":2}],"mPt":[{"c":"ف","l":0,"m":0},{"c":"ع","l":1,"m":1},{"c":"ا","l":2},{"c":"ل","l":3,"m":3}]},{"pt":[{"c":"م","l":0}]}],"pt53":[{"pt":[{"c":"ت","l":0},{"c":"ا","l":2}]},{"pt":[{"c":"ا,ن,ت,ي","l":0},{"c":"ت","l":2}],"mPt":[{"c":"ا","l":0},{"c":"ف","l":1,"m":1},{"c":"ت","l":2},{"c":"ع","l":3,"m":3},{"c":"ا","l":4},{"c":"ل","l":5,"m":4}]},{"pt":[{"c":"ا","l":0},{"c":"ا","l":2}],"mPt":[{"c":"ا","l":0},{"c":"ف","l":1,"m":1},{"c":"ع","l":2,"m":3},{"c":"ل","l":3,"m":4},{"c":"ا","l":4},{"c":"ل","l":5,"m":4}]},{"pt":[{"c":"ا","l":0},{"c":"ا","l":3}],"mPt":[{"c":"ف","l":0,"m":1},{"c":"ع","l":1,"m":2},{"c":"ل","l":2,"m":4}]},{"pt":[{"c":"ا","l":3},{"c":"ن","l":4}]},{"pt":[{"c":"ت","l":0},{"c":"ي","l":3}]},{"pt":[{"c":"م","l":0},{"c":"و","l":3}]},{"pt":[{"c":"ا","l":1},{"c":"و","l":3}]},{"pt":[{"c":"و","l":1},{"c":"ا","l":2}]},{"pt":[{"c":"م","l":0},{"c":"ا","l":3}]},{"pt":[{"c":"م","l":0},{"c":"ي","l":3}]},{"pt":[{"c":"ا","l":2},{"c":"ن","l":3}]},{"pt":[{"c":"م","l":0},{"c":"ن","l":1}],"mPt":[{"c":"ا","l":0},{"c":"ن","l":1},{"c":"ف","l":2,"m":2},{"c":"ع","l":3,"m":3},{"c":"ا","l":4},{"c":"ل","l":5,"m":4}]},{"pt":[{"c":"م","l":0},{"c":"ت","l":2}],"mPt":[{"c":"ا","l":0},{"c":"ف","l":1,"m":1},{"c":"ت","l":2},{"c":"ع","l":3,"m":3},{"c":"ا","l":4},{"c":"ل","l":5,"m":4}]},{"pt":[{"c":"م","l":0},{"c":"ا","l":2}]},{"pt":[{"c":"م","l":1},{"c":"ا","l":3}]},{"pt":[{"c":"ي,ت,ا,ن","l":0},{"c":"ت","l":1}],"mPt":[{"c":"ف","l":0,"m":2},{"c":"ع","l":1,"m":3},{"c":"ا","l":2},{"c":"ل","l":3,"m":4}]},{"pt":[{"c":"ت,ي,ا,ن","l":0},{"c":"ت","l":2}],"mPt":[{"c":"ا","l":0},{"c":"ف","l":1,"m":1},{"c":"ت","l":2},{"c":"ع","l":3,"m":3},{"c":"ا","l":4},{"c":"ل","l":5,"m":4}]},{"pt":[{"c":"ا","l":2},{"c":"ي","l":3}]},{"pt":[{"c":"ا,ي,ت,ن","l":0},{"c":"ن","l":1}],"mPt":[{"c":"ا","l":0},{"c":"ن","l":1},{"c":"ف","l":2,"m":2},{"c":"ع","l":3,"m":3},{"c":"ا","l":4},{"c":"ل","l":5,"m":4}]},{"pt":[{"c":"ا","l":3},{"c":"ء","l":4}]}],"pt63":[{"pt":[{"c":"ا","l":0},{"c":"ت","l":2},{"c":"ا","l":4}]},{"pt":[{"c":"ا,ت,ن,ي","l":0},{"c":"س","l":1},{"c":"ت","l":2}],"mPt":[{"c":"ا","l":0},{"c":"س","l":1},{"c":"ت","l":2},{"c":"ف","l":3,"m":3},{"c":"ع","l":4,"m":4},{"c":"ا","l":5},{"c":"ل","l":6,"m":5}]},{"pt":[{"c":"ا,ن,ت,ي","l":0},{"c":"و","l":3}]},{"pt":[{"c":"م","l":0},{"c":"س","l":1},{"c":"ت","l":2}],"mPt":[{"c":"ا","l":0},{"c":"س","l":1},{"c":"ت","l":2},{"c":"ف","l":3,"m":3},{"c":"ع","l":4,"m":4},{"c":"ا","l":5},{"c":"ل","l":6,"m":5}]},{"pt":[{"c":"ي","l":1},{"c":"ي","l":3},{"c":"ا","l":4},{"c":"ء","l":5}]},{"pt":[{"c":"ا","l":0},{"c":"ن","l":1},{"c":"ا","l":4}]}],"pt54":[{"pt":[{"c":"ت","l":0}]},{"pt":[{"c":"ا,ي,ت,ن","l":0}],"mPt":[{"c":"ا","l":0},{"c":"ف","l":1,"m":1},{"c":"ع","l":2,"m":2},{"c":"ل","l":3,"m":3},{"c":"ر","l":4,"m":4},{"c":"ا","l":5},{"c":"ر","l":6,"m":4}]},{"pt":[{"c":"م","l":0}],"mPt":[{"c":"ا","l":0},{"c":"ف","l":1,"m":1},{"c":"ع","l":2,"m":2},{"c":"ل","l":3,"m":3},{"c":"ر","l":4,"m":4},{"c":"ا","l":5},{"c":"ر","l":6,"m":4}]},{"pt":[{"c":"ا","l":2}]},{"pt":[{"c":"ا","l":0},{"c":"ن","l":2}]}],"pt64":[{"pt":[{"c":"ا","l":0},{"c":"ا","l":4}]},{"pt":[{"c":"م","l":0},{"c":"ت","l":1}]}],"pt73":[{"pt":[{"c":"ا","l":0},{"c":"س","l":1},{"c":"ت","l":2},{"c":"ا","l":5}]}],"pt75":[{"pt":[{"c":"ا","l":0},{"c":"ا","l":5}]}]}'),e.execArray=["cleanWord","removeDiacritics","cleanAlef","removeStopWords","normalizeHamzaAndAlef","removeStartWaw","removePre432","removeEndTaa","wordCheck"],e.stem=function(){var r=0;for(e.result=!1,e.preRemoved=!1,e.sufRemoved=!1;r=0)return!0},e.normalizeHamzaAndAlef=function(){return e.word=e.word.replace("ؤ","ء"),e.word=e.word.replace("ئ","ء"),e.word=e.word.replace(/([\u0627])\1+/gi,"ا"),!1},e.removeEndTaa=function(){return!(e.word.length>2)||(e.word=e.word.replace(/[\u0627]$/,""),e.word=e.word.replace("ة",""),!1)},e.removeStartWaw=function(){return e.word.length>3&&"و"==e.word[0]&&"و"==e.word[1]&&(e.word=e.word.slice(1)),!1},e.removePre432=function(){var r=e.word;if(e.word.length>=7){var t=new RegExp("^("+e.pre.pre4.split(" ").join("|")+")");e.word=e.word.replace(t,"")}if(e.word==r&&e.word.length>=6){var c=new RegExp("^("+e.pre.pre3.split(" ").join("|")+")");e.word=e.word.replace(c,"")}if(e.word==r&&e.word.length>=5){var l=new RegExp("^("+e.pre.pre2.split(" ").join("|")+")");e.word=e.word.replace(l,"")}return r!=e.word&&(e.preRemoved=!0),!1},e.patternCheck=function(r){for(var t=0;t3){var t=new RegExp("^("+e.pre.pre1.split(" ").join("|")+")");e.word=e.word.replace(t,"")}return r!=e.word&&(e.preRemoved=!0),!1},e.removeSuf1=function(){var r=e.word;if(0==e.sufRemoved&&e.word.length>3){var t=new RegExp("("+e.suf.suf1.split(" ").join("|")+")$");e.word=e.word.replace(t,"")}return r!=e.word&&(e.sufRemoved=!0),!1},e.removeSuf432=function(){var r=e.word;if(e.word.length>=6){var t=new RegExp("("+e.suf.suf4.split(" ").join("|")+")$");e.word=e.word.replace(t,"")}if(e.word==r&&e.word.length>=5){var c=new RegExp("("+e.suf.suf3.split(" ").join("|")+")$");e.word=e.word.replace(c,"")}if(e.word==r&&e.word.length>=4){var l=new RegExp("("+e.suf.suf2.split(" ").join("|")+")$");e.word=e.word.replace(l,"")}return r!=e.word&&(e.sufRemoved=!0),!1},e.wordCheck=function(){for(var r=(e.word,[e.removeSuf432,e.removeSuf1,e.removePre1]),t=0,c=!1;e.word.length>=7&&!e.result&&t=f.limit)return;f.cursor++}for(;!f.out_grouping(w,97,248);){if(f.cursor>=f.limit)return;f.cursor++}d=f.cursor,d=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(c,32),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del();break;case 2:f.in_grouping_b(p,97,229)&&f.slice_del()}}function t(){var e,r=f.limit-f.cursor;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.find_among_b(l,4)?(f.bra=f.cursor,f.limit_backward=e,f.cursor=f.limit-r,f.cursor>f.limit_backward&&(f.cursor--,f.bra=f.cursor,f.slice_del())):f.limit_backward=e)}function s(){var e,r,i,n=f.limit-f.cursor;if(f.ket=f.cursor,f.eq_s_b(2,"st")&&(f.bra=f.cursor,f.eq_s_b(2,"ig")&&f.slice_del()),f.cursor=f.limit-n,f.cursor>=d&&(r=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,e=f.find_among_b(m,5),f.limit_backward=r,e))switch(f.bra=f.cursor,e){case 1:f.slice_del(),i=f.limit-f.cursor,t(),f.cursor=f.limit-i;break;case 2:f.slice_from("løs")}}function o(){var e;f.cursor>=d&&(e=f.limit_backward,f.limit_backward=d,f.ket=f.cursor,f.out_grouping_b(w,97,248)?(f.bra=f.cursor,u=f.slice_to(u),f.limit_backward=e,f.eq_v_b(u)&&f.slice_del()):f.limit_backward=e)}var a,d,u,c=[new r("hed",-1,1),new r("ethed",0,1),new r("ered",-1,1),new r("e",-1,1),new r("erede",3,1),new r("ende",3,1),new r("erende",5,1),new r("ene",3,1),new r("erne",3,1),new r("ere",3,1),new r("en",-1,1),new r("heden",10,1),new r("eren",10,1),new r("er",-1,1),new r("heder",13,1),new r("erer",13,1),new r("s",-1,2),new r("heds",16,1),new r("es",16,1),new r("endes",18,1),new r("erendes",19,1),new r("enes",18,1),new r("ernes",18,1),new r("eres",18,1),new r("ens",16,1),new r("hedens",24,1),new r("erens",24,1),new r("ers",16,1),new r("ets",16,1),new r("erets",28,1),new r("et",-1,1),new r("eret",30,1)],l=[new r("gd",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("elig",1,1),new r("els",-1,1),new r("løst",-1,2)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],p=[239,254,42,3,0,0,0,0,0,0,0,0,0,0,0,0,16],f=new i;this.setCurrent=function(e){f.setCurrent(e)},this.getCurrent=function(){return f.getCurrent()},this.stem=function(){var r=f.cursor;return e(),f.limit_backward=r,f.cursor=f.limit,n(),f.cursor=f.limit,t(),f.cursor=f.limit,s(),f.cursor=f.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.da.stemmer,"stemmer-da"),e.da.stopWordFilter=e.generateStopWordFilter("ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu når og også om op os over på selv sig sin sine sit skal skulle som sådan thi til ud under var vi vil ville vor være været".split(" ")),e.Pipeline.registerFunction(e.da.stopWordFilter,"stopWordFilter-da")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.de.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `German` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.de=function(){this.pipeline.reset(),this.pipeline.add(e.de.trimmer,e.de.stopWordFilter,e.de.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.de.stemmer))},e.de.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.de.trimmer=e.trimmerSupport.generateTrimmer(e.de.wordCharacters),e.Pipeline.registerFunction(e.de.trimmer,"trimmer-de"),e.de.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){function e(e,r,n){return!(!v.eq_s(1,e)||(v.ket=v.cursor,!v.in_grouping(p,97,252)))&&(v.slice_from(r),v.cursor=n,!0)}function i(){for(var r,n,i,s,t=v.cursor;;)if(r=v.cursor,v.bra=r,v.eq_s(1,"ß"))v.ket=v.cursor,v.slice_from("ss");else{if(r>=v.limit)break;v.cursor=r+1}for(v.cursor=t;;)for(n=v.cursor;;){if(i=v.cursor,v.in_grouping(p,97,252)){if(s=v.cursor,v.bra=s,e("u","U",i))break;if(v.cursor=s,e("y","Y",i))break}if(i>=v.limit)return void(v.cursor=n);v.cursor=i+1}}function s(){for(;!v.in_grouping(p,97,252);){if(v.cursor>=v.limit)return!0;v.cursor++}for(;!v.out_grouping(p,97,252);){if(v.cursor>=v.limit)return!0;v.cursor++}return!1}function t(){m=v.limit,l=m;var e=v.cursor+3;0<=e&&e<=v.limit&&(d=e,s()||(m=v.cursor,m=v.limit)return;v.cursor++}}}function c(){return m<=v.cursor}function u(){return l<=v.cursor}function a(){var e,r,n,i,s=v.limit-v.cursor;if(v.ket=v.cursor,(e=v.find_among_b(w,7))&&(v.bra=v.cursor,c()))switch(e){case 1:v.slice_del();break;case 2:v.slice_del(),v.ket=v.cursor,v.eq_s_b(1,"s")&&(v.bra=v.cursor,v.eq_s_b(3,"nis")&&v.slice_del());break;case 3:v.in_grouping_b(g,98,116)&&v.slice_del()}if(v.cursor=v.limit-s,v.ket=v.cursor,(e=v.find_among_b(f,4))&&(v.bra=v.cursor,c()))switch(e){case 1:v.slice_del();break;case 2:if(v.in_grouping_b(k,98,116)){var t=v.cursor-3;v.limit_backward<=t&&t<=v.limit&&(v.cursor=t,v.slice_del())}}if(v.cursor=v.limit-s,v.ket=v.cursor,(e=v.find_among_b(_,8))&&(v.bra=v.cursor,u()))switch(e){case 1:v.slice_del(),v.ket=v.cursor,v.eq_s_b(2,"ig")&&(v.bra=v.cursor,r=v.limit-v.cursor,v.eq_s_b(1,"e")||(v.cursor=v.limit-r,u()&&v.slice_del()));break;case 2:n=v.limit-v.cursor,v.eq_s_b(1,"e")||(v.cursor=v.limit-n,v.slice_del());break;case 3:if(v.slice_del(),v.ket=v.cursor,i=v.limit-v.cursor,!v.eq_s_b(2,"er")&&(v.cursor=v.limit-i,!v.eq_s_b(2,"en")))break;v.bra=v.cursor,c()&&v.slice_del();break;case 4:v.slice_del(),v.ket=v.cursor,e=v.find_among_b(b,2),e&&(v.bra=v.cursor,u()&&1==e&&v.slice_del())}}var d,l,m,h=[new r("",-1,6),new r("U",0,2),new r("Y",0,1),new r("ä",0,3),new r("ö",0,4),new r("ü",0,5)],w=[new r("e",-1,2),new r("em",-1,1),new r("en",-1,2),new r("ern",-1,1),new r("er",-1,1),new r("s",-1,3),new r("es",5,2)],f=[new r("en",-1,1),new r("er",-1,1),new r("st",-1,2),new r("est",2,1)],b=[new r("ig",-1,1),new r("lich",-1,1)],_=[new r("end",-1,1),new r("ig",-1,2),new r("ung",-1,1),new r("lich",-1,3),new r("isch",-1,2),new r("ik",-1,2),new r("heit",-1,3),new r("keit",-1,4)],p=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32,8],g=[117,30,5],k=[117,30,4],v=new n;this.setCurrent=function(e){v.setCurrent(e)},this.getCurrent=function(){return v.getCurrent()},this.stem=function(){var e=v.cursor;return i(),v.cursor=e,t(),v.limit_backward=e,v.cursor=v.limit,a(),v.cursor=v.limit_backward,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}}(),e.Pipeline.registerFunction(e.de.stemmer,"stemmer-de"),e.de.stopWordFilter=e.generateStopWordFilter("aber alle allem allen aller alles als also am an ander andere anderem anderen anderer anderes anderm andern anderr anders auch auf aus bei bin bis bist da damit dann das dasselbe dazu daß dein deine deinem deinen deiner deines dem demselben den denn denselben der derer derselbe derselben des desselben dessen dich die dies diese dieselbe dieselben diesem diesen dieser dieses dir doch dort du durch ein eine einem einen einer eines einig einige einigem einigen einiger einiges einmal er es etwas euch euer eure eurem euren eurer eures für gegen gewesen hab habe haben hat hatte hatten hier hin hinter ich ihm ihn ihnen ihr ihre ihrem ihren ihrer ihres im in indem ins ist jede jedem jeden jeder jedes jene jenem jenen jener jenes jetzt kann kein keine keinem keinen keiner keines können könnte machen man manche manchem manchen mancher manches mein meine meinem meinen meiner meines mich mir mit muss musste nach nicht nichts noch nun nur ob oder ohne sehr sein seine seinem seinen seiner seines selbst sich sie sind so solche solchem solchen solcher solches soll sollte sondern sonst um und uns unse unsem unsen unser unses unter viel vom von vor war waren warst was weg weil weiter welche welchem welchen welcher welches wenn werde werden wie wieder will wir wird wirst wo wollen wollte während würde würden zu zum zur zwar zwischen über".split(" ")),e.Pipeline.registerFunction(e.de.stopWordFilter,"stopWordFilter-de")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.du.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Dutch` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");console.warn('[Lunr Languages] Please use the "nl" instead of the "du". The "nl" code is the standard code for Dutch language, and "du" will be removed in the next major versions.'),e.du=function(){this.pipeline.reset(),this.pipeline.add(e.du.trimmer,e.du.stopWordFilter,e.du.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.du.stemmer))},e.du.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.du.trimmer=e.trimmerSupport.generateTrimmer(e.du.wordCharacters),e.Pipeline.registerFunction(e.du.trimmer,"trimmer-du"),e.du.stemmer=function(){var r=e.stemmerSupport.Among,i=e.stemmerSupport.SnowballProgram,n=new function(){function e(){for(var e,r,i,o=C.cursor;;){if(C.bra=C.cursor,e=C.find_among(b,11))switch(C.ket=C.cursor,e){case 1:C.slice_from("a");continue;case 2:C.slice_from("e");continue;case 3:C.slice_from("i");continue;case 4:C.slice_from("o");continue;case 5:C.slice_from("u");continue;case 6:if(C.cursor>=C.limit)break;C.cursor++;continue}break}for(C.cursor=o,C.bra=o,C.eq_s(1,"y")?(C.ket=C.cursor,C.slice_from("Y")):C.cursor=o;;)if(r=C.cursor,C.in_grouping(q,97,232)){if(i=C.cursor,C.bra=i,C.eq_s(1,"i"))C.ket=C.cursor,C.in_grouping(q,97,232)&&(C.slice_from("I"),C.cursor=r);else if(C.cursor=i,C.eq_s(1,"y"))C.ket=C.cursor,C.slice_from("Y"),C.cursor=r;else if(n(r))break}else if(n(r))break}function n(e){return C.cursor=e,e>=C.limit||(C.cursor++,!1)}function o(){_=C.limit,f=_,t()||(_=C.cursor,_<3&&(_=3),t()||(f=C.cursor))}function t(){for(;!C.in_grouping(q,97,232);){if(C.cursor>=C.limit)return!0;C.cursor++}for(;!C.out_grouping(q,97,232);){if(C.cursor>=C.limit)return!0;C.cursor++}return!1}function s(){for(var e;;)if(C.bra=C.cursor,e=C.find_among(p,3))switch(C.ket=C.cursor,e){case 1:C.slice_from("y");break;case 2:C.slice_from("i");break;case 3:if(C.cursor>=C.limit)return;C.cursor++}}function u(){return _<=C.cursor}function c(){return f<=C.cursor}function a(){var e=C.limit-C.cursor;C.find_among_b(g,3)&&(C.cursor=C.limit-e,C.ket=C.cursor,C.cursor>C.limit_backward&&(C.cursor--,C.bra=C.cursor,C.slice_del()))}function l(){var e;w=!1,C.ket=C.cursor,C.eq_s_b(1,"e")&&(C.bra=C.cursor,u()&&(e=C.limit-C.cursor,C.out_grouping_b(q,97,232)&&(C.cursor=C.limit-e,C.slice_del(),w=!0,a())))}function m(){var e;u()&&(e=C.limit-C.cursor,C.out_grouping_b(q,97,232)&&(C.cursor=C.limit-e,C.eq_s_b(3,"gem")||(C.cursor=C.limit-e,C.slice_del(),a())))}function d(){var e,r,i,n,o,t,s=C.limit-C.cursor;if(C.ket=C.cursor,e=C.find_among_b(h,5))switch(C.bra=C.cursor,e){case 1:u()&&C.slice_from("heid");break;case 2:m();break;case 3:u()&&C.out_grouping_b(z,97,232)&&C.slice_del()}if(C.cursor=C.limit-s,l(),C.cursor=C.limit-s,C.ket=C.cursor,C.eq_s_b(4,"heid")&&(C.bra=C.cursor,c()&&(r=C.limit-C.cursor,C.eq_s_b(1,"c")||(C.cursor=C.limit-r,C.slice_del(),C.ket=C.cursor,C.eq_s_b(2,"en")&&(C.bra=C.cursor,m())))),C.cursor=C.limit-s,C.ket=C.cursor,e=C.find_among_b(k,6))switch(C.bra=C.cursor,e){case 1:if(c()){if(C.slice_del(),i=C.limit-C.cursor,C.ket=C.cursor,C.eq_s_b(2,"ig")&&(C.bra=C.cursor,c()&&(n=C.limit-C.cursor,!C.eq_s_b(1,"e")))){C.cursor=C.limit-n,C.slice_del();break}C.cursor=C.limit-i,a()}break;case 2:c()&&(o=C.limit-C.cursor,C.eq_s_b(1,"e")||(C.cursor=C.limit-o,C.slice_del()));break;case 3:c()&&(C.slice_del(),l());break;case 4:c()&&C.slice_del();break;case 5:c()&&w&&C.slice_del()}C.cursor=C.limit-s,C.out_grouping_b(j,73,232)&&(t=C.limit-C.cursor,C.find_among_b(v,4)&&C.out_grouping_b(q,97,232)&&(C.cursor=C.limit-t,C.ket=C.cursor,C.cursor>C.limit_backward&&(C.cursor--,C.bra=C.cursor,C.slice_del())))}var f,_,w,b=[new r("",-1,6),new r("á",0,1),new r("ä",0,1),new r("é",0,2),new r("ë",0,2),new r("í",0,3),new r("ï",0,3),new r("ó",0,4),new r("ö",0,4),new r("ú",0,5),new r("ü",0,5)],p=[new r("",-1,3),new r("I",0,2),new r("Y",0,1)],g=[new r("dd",-1,-1),new r("kk",-1,-1),new r("tt",-1,-1)],h=[new r("ene",-1,2),new r("se",-1,3),new r("en",-1,2),new r("heden",2,1),new r("s",-1,3)],k=[new r("end",-1,1),new r("ig",-1,2),new r("ing",-1,1),new r("lijk",-1,3),new r("baar",-1,4),new r("bar",-1,5)],v=[new r("aa",-1,-1),new r("ee",-1,-1),new r("oo",-1,-1),new r("uu",-1,-1)],q=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],j=[1,0,0,17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],z=[17,67,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],C=new i;this.setCurrent=function(e){C.setCurrent(e)},this.getCurrent=function(){return C.getCurrent()},this.stem=function(){var r=C.cursor;return e(),C.cursor=r,o(),C.limit_backward=r,C.cursor=C.limit,d(),C.cursor=C.limit_backward,s(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.du.stemmer,"stemmer-du"),e.du.stopWordFilter=e.generateStopWordFilter(" aan al alles als altijd andere ben bij daar dan dat de der deze die dit doch doen door dus een eens en er ge geen geweest haar had heb hebben heeft hem het hier hij hoe hun iemand iets ik in is ja je kan kon kunnen maar me meer men met mij mijn moet na naar niet niets nog nu of om omdat onder ons ook op over reeds te tegen toch toen tot u uit uw van veel voor want waren was wat werd wezen wie wil worden wordt zal ze zelf zich zij zijn zo zonder zou".split(" ")),e.Pipeline.registerFunction(e.du.stopWordFilter,"stopWordFilter-du")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.es.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Spanish` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,s){"function"==typeof define&&define.amd?define(s):"object"==typeof exports?module.exports=s():s()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.es=function(){this.pipeline.reset(),this.pipeline.add(e.es.trimmer,e.es.stopWordFilter,e.es.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.es.stemmer))},e.es.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.es.trimmer=e.trimmerSupport.generateTrimmer(e.es.wordCharacters),e.Pipeline.registerFunction(e.es.trimmer,"trimmer-es"),e.es.stemmer=function(){var s=e.stemmerSupport.Among,r=e.stemmerSupport.SnowballProgram,n=new function(){function e(){if(A.out_grouping(x,97,252)){for(;!A.in_grouping(x,97,252);){if(A.cursor>=A.limit)return!0;A.cursor++}return!1}return!0}function n(){if(A.in_grouping(x,97,252)){var s=A.cursor;if(e()){if(A.cursor=s,!A.in_grouping(x,97,252))return!0;for(;!A.out_grouping(x,97,252);){if(A.cursor>=A.limit)return!0;A.cursor++}}return!1}return!0}function i(){var s,r=A.cursor;if(n()){if(A.cursor=r,!A.out_grouping(x,97,252))return;if(s=A.cursor,e()){if(A.cursor=s,!A.in_grouping(x,97,252)||A.cursor>=A.limit)return;A.cursor++}}g=A.cursor}function a(){for(;!A.in_grouping(x,97,252);){if(A.cursor>=A.limit)return!1;A.cursor++}for(;!A.out_grouping(x,97,252);){if(A.cursor>=A.limit)return!1;A.cursor++}return!0}function t(){var e=A.cursor;g=A.limit,p=g,v=g,i(),A.cursor=e,a()&&(p=A.cursor,a()&&(v=A.cursor))}function o(){for(var e;;){if(A.bra=A.cursor,e=A.find_among(k,6))switch(A.ket=A.cursor,e){case 1:A.slice_from("a");continue;case 2:A.slice_from("e");continue;case 3:A.slice_from("i");continue;case 4:A.slice_from("o");continue;case 5:A.slice_from("u");continue;case 6:if(A.cursor>=A.limit)break;A.cursor++;continue}break}}function u(){return g<=A.cursor}function w(){return p<=A.cursor}function c(){return v<=A.cursor}function m(){var e;if(A.ket=A.cursor,A.find_among_b(y,13)&&(A.bra=A.cursor,(e=A.find_among_b(q,11))&&u()))switch(e){case 1:A.bra=A.cursor,A.slice_from("iendo");break;case 2:A.bra=A.cursor,A.slice_from("ando");break;case 3:A.bra=A.cursor,A.slice_from("ar");break;case 4:A.bra=A.cursor,A.slice_from("er");break;case 5:A.bra=A.cursor,A.slice_from("ir");break;case 6:A.slice_del();break;case 7:A.eq_s_b(1,"u")&&A.slice_del()}}function l(e,s){if(!c())return!0;A.slice_del(),A.ket=A.cursor;var r=A.find_among_b(e,s);return r&&(A.bra=A.cursor,1==r&&c()&&A.slice_del()),!1}function d(e){return!c()||(A.slice_del(),A.ket=A.cursor,A.eq_s_b(2,e)&&(A.bra=A.cursor,c()&&A.slice_del()),!1)}function b(){var e;if(A.ket=A.cursor,e=A.find_among_b(S,46)){switch(A.bra=A.cursor,e){case 1:if(!c())return!1;A.slice_del();break;case 2:if(d("ic"))return!1;break;case 3:if(!c())return!1;A.slice_from("log");break;case 4:if(!c())return!1;A.slice_from("u");break;case 5:if(!c())return!1;A.slice_from("ente");break;case 6:if(!w())return!1;A.slice_del(),A.ket=A.cursor,e=A.find_among_b(C,4),e&&(A.bra=A.cursor,c()&&(A.slice_del(),1==e&&(A.ket=A.cursor,A.eq_s_b(2,"at")&&(A.bra=A.cursor,c()&&A.slice_del()))));break;case 7:if(l(P,3))return!1;break;case 8:if(l(F,3))return!1;break;case 9:if(d("at"))return!1}return!0}return!1}function f(){var e,s;if(A.cursor>=g&&(s=A.limit_backward,A.limit_backward=g,A.ket=A.cursor,e=A.find_among_b(W,12),A.limit_backward=s,e)){if(A.bra=A.cursor,1==e){if(!A.eq_s_b(1,"u"))return!1;A.slice_del()}return!0}return!1}function _(){var e,s,r,n;if(A.cursor>=g&&(s=A.limit_backward,A.limit_backward=g,A.ket=A.cursor,e=A.find_among_b(L,96),A.limit_backward=s,e))switch(A.bra=A.cursor,e){case 1:r=A.limit-A.cursor,A.eq_s_b(1,"u")?(n=A.limit-A.cursor,A.eq_s_b(1,"g")?A.cursor=A.limit-n:A.cursor=A.limit-r):A.cursor=A.limit-r,A.bra=A.cursor;case 2:A.slice_del()}}function h(){var e,s;if(A.ket=A.cursor,e=A.find_among_b(z,8))switch(A.bra=A.cursor,e){case 1:u()&&A.slice_del();break;case 2:u()&&(A.slice_del(),A.ket=A.cursor,A.eq_s_b(1,"u")&&(A.bra=A.cursor,s=A.limit-A.cursor,A.eq_s_b(1,"g")&&(A.cursor=A.limit-s,u()&&A.slice_del())))}}var v,p,g,k=[new s("",-1,6),new s("á",0,1),new s("é",0,2),new s("í",0,3),new s("ó",0,4),new s("ú",0,5)],y=[new s("la",-1,-1),new s("sela",0,-1),new s("le",-1,-1),new s("me",-1,-1),new s("se",-1,-1),new s("lo",-1,-1),new s("selo",5,-1),new s("las",-1,-1),new s("selas",7,-1),new s("les",-1,-1),new s("los",-1,-1),new s("selos",10,-1),new s("nos",-1,-1)],q=[new s("ando",-1,6),new s("iendo",-1,6),new s("yendo",-1,7),new s("ándo",-1,2),new s("iéndo",-1,1),new s("ar",-1,6),new s("er",-1,6),new s("ir",-1,6),new s("ár",-1,3),new s("ér",-1,4),new s("ír",-1,5)],C=[new s("ic",-1,-1),new s("ad",-1,-1),new s("os",-1,-1),new s("iv",-1,1)],P=[new s("able",-1,1),new s("ible",-1,1),new s("ante",-1,1)],F=[new s("ic",-1,1),new s("abil",-1,1),new s("iv",-1,1)],S=[new s("ica",-1,1),new s("ancia",-1,2),new s("encia",-1,5),new s("adora",-1,2),new s("osa",-1,1),new s("ista",-1,1),new s("iva",-1,9),new s("anza",-1,1),new s("logía",-1,3),new s("idad",-1,8),new s("able",-1,1),new s("ible",-1,1),new s("ante",-1,2),new s("mente",-1,7),new s("amente",13,6),new s("ación",-1,2),new s("ución",-1,4),new s("ico",-1,1),new s("ismo",-1,1),new s("oso",-1,1),new s("amiento",-1,1),new s("imiento",-1,1),new s("ivo",-1,9),new s("ador",-1,2),new s("icas",-1,1),new s("ancias",-1,2),new s("encias",-1,5),new s("adoras",-1,2),new s("osas",-1,1),new s("istas",-1,1),new s("ivas",-1,9),new s("anzas",-1,1),new s("logías",-1,3),new s("idades",-1,8),new s("ables",-1,1),new s("ibles",-1,1),new s("aciones",-1,2),new s("uciones",-1,4),new s("adores",-1,2),new s("antes",-1,2),new s("icos",-1,1),new s("ismos",-1,1),new s("osos",-1,1),new s("amientos",-1,1),new s("imientos",-1,1),new s("ivos",-1,9)],W=[new s("ya",-1,1),new s("ye",-1,1),new s("yan",-1,1),new s("yen",-1,1),new s("yeron",-1,1),new s("yendo",-1,1),new s("yo",-1,1),new s("yas",-1,1),new s("yes",-1,1),new s("yais",-1,1),new s("yamos",-1,1),new s("yó",-1,1)],L=[new s("aba",-1,2),new s("ada",-1,2),new s("ida",-1,2),new s("ara",-1,2),new s("iera",-1,2),new s("ía",-1,2),new s("aría",5,2),new s("ería",5,2),new s("iría",5,2),new s("ad",-1,2),new s("ed",-1,2),new s("id",-1,2),new s("ase",-1,2),new s("iese",-1,2),new s("aste",-1,2),new s("iste",-1,2),new s("an",-1,2),new s("aban",16,2),new s("aran",16,2),new s("ieran",16,2),new s("ían",16,2),new s("arían",20,2),new s("erían",20,2),new s("irían",20,2),new s("en",-1,1),new s("asen",24,2),new s("iesen",24,2),new s("aron",-1,2),new s("ieron",-1,2),new s("arán",-1,2),new s("erán",-1,2),new s("irán",-1,2),new s("ado",-1,2),new s("ido",-1,2),new s("ando",-1,2),new s("iendo",-1,2),new s("ar",-1,2),new s("er",-1,2),new s("ir",-1,2),new s("as",-1,2),new s("abas",39,2),new s("adas",39,2),new s("idas",39,2),new s("aras",39,2),new s("ieras",39,2),new s("ías",39,2),new s("arías",45,2),new s("erías",45,2),new s("irías",45,2),new s("es",-1,1),new s("ases",49,2),new s("ieses",49,2),new s("abais",-1,2),new s("arais",-1,2),new s("ierais",-1,2),new s("íais",-1,2),new s("aríais",55,2),new s("eríais",55,2),new s("iríais",55,2),new s("aseis",-1,2),new s("ieseis",-1,2),new s("asteis",-1,2),new s("isteis",-1,2),new s("áis",-1,2),new s("éis",-1,1),new s("aréis",64,2),new s("eréis",64,2),new s("iréis",64,2),new s("ados",-1,2),new s("idos",-1,2),new s("amos",-1,2),new s("ábamos",70,2),new s("áramos",70,2),new s("iéramos",70,2),new s("íamos",70,2),new s("aríamos",74,2),new s("eríamos",74,2),new s("iríamos",74,2),new s("emos",-1,1),new s("aremos",78,2),new s("eremos",78,2),new s("iremos",78,2),new s("ásemos",78,2),new s("iésemos",78,2),new s("imos",-1,2),new s("arás",-1,2),new s("erás",-1,2),new s("irás",-1,2),new s("ís",-1,2),new s("ará",-1,2),new s("erá",-1,2),new s("irá",-1,2),new s("aré",-1,2),new s("eré",-1,2),new s("iré",-1,2),new s("ió",-1,2)],z=[new s("a",-1,1),new s("e",-1,2),new s("o",-1,1),new s("os",-1,1),new s("á",-1,1),new s("é",-1,2),new s("í",-1,1),new s("ó",-1,1)],x=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,1,17,4,10],A=new r;this.setCurrent=function(e){A.setCurrent(e)},this.getCurrent=function(){return A.getCurrent()},this.stem=function(){var e=A.cursor;return t(),A.limit_backward=e,A.cursor=A.limit,m(),A.cursor=A.limit,b()||(A.cursor=A.limit,f()||(A.cursor=A.limit,_())),A.cursor=A.limit,h(),A.cursor=A.limit_backward,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.es.stemmer,"stemmer-es"),e.es.stopWordFilter=e.generateStopWordFilter("a al algo algunas algunos ante antes como con contra cual cuando de del desde donde durante e el ella ellas ellos en entre era erais eran eras eres es esa esas ese eso esos esta estaba estabais estaban estabas estad estada estadas estado estados estamos estando estar estaremos estará estarán estarás estaré estaréis estaría estaríais estaríamos estarían estarías estas este estemos esto estos estoy estuve estuviera estuvierais estuvieran estuvieras estuvieron estuviese estuvieseis estuviesen estuvieses estuvimos estuviste estuvisteis estuviéramos estuviésemos estuvo está estábamos estáis están estás esté estéis estén estés fue fuera fuerais fueran fueras fueron fuese fueseis fuesen fueses fui fuimos fuiste fuisteis fuéramos fuésemos ha habida habidas habido habidos habiendo habremos habrá habrán habrás habré habréis habría habríais habríamos habrían habrías habéis había habíais habíamos habían habías han has hasta hay haya hayamos hayan hayas hayáis he hemos hube hubiera hubierais hubieran hubieras hubieron hubiese hubieseis hubiesen hubieses hubimos hubiste hubisteis hubiéramos hubiésemos hubo la las le les lo los me mi mis mucho muchos muy más mí mía mías mío míos nada ni no nos nosotras nosotros nuestra nuestras nuestro nuestros o os otra otras otro otros para pero poco por porque que quien quienes qué se sea seamos sean seas seremos será serán serás seré seréis sería seríais seríamos serían serías seáis sido siendo sin sobre sois somos son soy su sus suya suyas suyo suyos sí también tanto te tendremos tendrá tendrán tendrás tendré tendréis tendría tendríais tendríamos tendrían tendrías tened tenemos tenga tengamos tengan tengas tengo tengáis tenida tenidas tenido tenidos teniendo tenéis tenía teníais teníamos tenían tenías ti tiene tienen tienes todo todos tu tus tuve tuviera tuvierais tuvieran tuvieras tuvieron tuviese tuvieseis tuviesen tuvieses tuvimos tuviste tuvisteis tuviéramos tuviésemos tuvo tuya tuyas tuyo tuyos tú un una uno unos vosotras vosotros vuestra vuestras vuestro vuestros y ya yo él éramos".split(" ")),e.Pipeline.registerFunction(e.es.stopWordFilter,"stopWordFilter-es")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.fi.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Finnish` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(i,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():e()(i.lunr)}(this,function(){return function(i){if(void 0===i)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===i.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");i.fi=function(){this.pipeline.reset(),this.pipeline.add(i.fi.trimmer,i.fi.stopWordFilter,i.fi.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(i.fi.stemmer))},i.fi.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",i.fi.trimmer=i.trimmerSupport.generateTrimmer(i.fi.wordCharacters),i.Pipeline.registerFunction(i.fi.trimmer,"trimmer-fi"),i.fi.stemmer=function(){var e=i.stemmerSupport.Among,r=i.stemmerSupport.SnowballProgram,n=new function(){function i(){f=A.limit,d=f,n()||(f=A.cursor,n()||(d=A.cursor))}function n(){for(var i;;){if(i=A.cursor,A.in_grouping(W,97,246))break;if(A.cursor=i,i>=A.limit)return!0;A.cursor++}for(A.cursor=i;!A.out_grouping(W,97,246);){if(A.cursor>=A.limit)return!0;A.cursor++}return!1}function t(){return d<=A.cursor}function s(){var i,e;if(A.cursor>=f)if(e=A.limit_backward,A.limit_backward=f,A.ket=A.cursor,i=A.find_among_b(h,10)){switch(A.bra=A.cursor,A.limit_backward=e,i){case 1:if(!A.in_grouping_b(x,97,246))return;break;case 2:if(!t())return}A.slice_del()}else A.limit_backward=e}function o(){var i,e,r;if(A.cursor>=f)if(e=A.limit_backward,A.limit_backward=f,A.ket=A.cursor,i=A.find_among_b(v,9))switch(A.bra=A.cursor,A.limit_backward=e,i){case 1:r=A.limit-A.cursor,A.eq_s_b(1,"k")||(A.cursor=A.limit-r,A.slice_del());break;case 2:A.slice_del(),A.ket=A.cursor,A.eq_s_b(3,"kse")&&(A.bra=A.cursor,A.slice_from("ksi"));break;case 3:A.slice_del();break;case 4:A.find_among_b(p,6)&&A.slice_del();break;case 5:A.find_among_b(g,6)&&A.slice_del();break;case 6:A.find_among_b(j,2)&&A.slice_del()}else A.limit_backward=e}function l(){return A.find_among_b(q,7)}function a(){return A.eq_s_b(1,"i")&&A.in_grouping_b(L,97,246)}function u(){var i,e,r;if(A.cursor>=f)if(e=A.limit_backward,A.limit_backward=f,A.ket=A.cursor,i=A.find_among_b(C,30)){switch(A.bra=A.cursor,A.limit_backward=e,i){case 1:if(!A.eq_s_b(1,"a"))return;break;case 2:case 9:if(!A.eq_s_b(1,"e"))return;break;case 3:if(!A.eq_s_b(1,"i"))return;break;case 4:if(!A.eq_s_b(1,"o"))return;break;case 5:if(!A.eq_s_b(1,"ä"))return;break;case 6:if(!A.eq_s_b(1,"ö"))return;break;case 7:if(r=A.limit-A.cursor,!l()&&(A.cursor=A.limit-r,!A.eq_s_b(2,"ie"))){A.cursor=A.limit-r;break}if(A.cursor=A.limit-r,A.cursor<=A.limit_backward){A.cursor=A.limit-r;break}A.cursor--,A.bra=A.cursor;break;case 8:if(!A.in_grouping_b(W,97,246)||!A.out_grouping_b(W,97,246))return}A.slice_del(),k=!0}else A.limit_backward=e}function c(){var i,e,r;if(A.cursor>=d)if(e=A.limit_backward,A.limit_backward=d,A.ket=A.cursor,i=A.find_among_b(P,14)){if(A.bra=A.cursor,A.limit_backward=e,1==i){if(r=A.limit-A.cursor,A.eq_s_b(2,"po"))return;A.cursor=A.limit-r}A.slice_del()}else A.limit_backward=e}function m(){var i;A.cursor>=f&&(i=A.limit_backward,A.limit_backward=f,A.ket=A.cursor,A.find_among_b(F,2)?(A.bra=A.cursor,A.limit_backward=i,A.slice_del()):A.limit_backward=i)}function w(){var i,e,r,n,t,s;if(A.cursor>=f){if(e=A.limit_backward,A.limit_backward=f,A.ket=A.cursor,A.eq_s_b(1,"t")&&(A.bra=A.cursor,r=A.limit-A.cursor,A.in_grouping_b(W,97,246)&&(A.cursor=A.limit-r,A.slice_del(),A.limit_backward=e,n=A.limit-A.cursor,A.cursor>=d&&(A.cursor=d,t=A.limit_backward,A.limit_backward=A.cursor,A.cursor=A.limit-n,A.ket=A.cursor,i=A.find_among_b(S,2))))){if(A.bra=A.cursor,A.limit_backward=t,1==i){if(s=A.limit-A.cursor,A.eq_s_b(2,"po"))return;A.cursor=A.limit-s}return void A.slice_del()}A.limit_backward=e}}function _(){var i,e,r,n;if(A.cursor>=f){for(i=A.limit_backward,A.limit_backward=f,e=A.limit-A.cursor,l()&&(A.cursor=A.limit-e,A.ket=A.cursor,A.cursor>A.limit_backward&&(A.cursor--,A.bra=A.cursor,A.slice_del())),A.cursor=A.limit-e,A.ket=A.cursor,A.in_grouping_b(y,97,228)&&(A.bra=A.cursor,A.out_grouping_b(W,97,246)&&A.slice_del()),A.cursor=A.limit-e,A.ket=A.cursor,A.eq_s_b(1,"j")&&(A.bra=A.cursor,r=A.limit-A.cursor,A.eq_s_b(1,"o")?A.slice_del():(A.cursor=A.limit-r,A.eq_s_b(1,"u")&&A.slice_del())),A.cursor=A.limit-e,A.ket=A.cursor,A.eq_s_b(1,"o")&&(A.bra=A.cursor,A.eq_s_b(1,"j")&&A.slice_del()),A.cursor=A.limit-e,A.limit_backward=i;;){if(n=A.limit-A.cursor,A.out_grouping_b(W,97,246)){A.cursor=A.limit-n;break}if(A.cursor=A.limit-n,A.cursor<=A.limit_backward)return;A.cursor--}A.ket=A.cursor,A.cursor>A.limit_backward&&(A.cursor--,A.bra=A.cursor,b=A.slice_to(),A.eq_v_b(b)&&A.slice_del())}}var k,b,d,f,h=[new e("pa",-1,1),new e("sti",-1,2),new e("kaan",-1,1),new e("han",-1,1),new e("kin",-1,1),new e("hän",-1,1),new e("kään",-1,1),new e("ko",-1,1),new e("pä",-1,1),new e("kö",-1,1)],p=[new e("lla",-1,-1),new e("na",-1,-1),new e("ssa",-1,-1),new e("ta",-1,-1),new e("lta",3,-1),new e("sta",3,-1)],g=[new e("llä",-1,-1),new e("nä",-1,-1),new e("ssä",-1,-1),new e("tä",-1,-1),new e("ltä",3,-1),new e("stä",3,-1)],j=[new e("lle",-1,-1),new e("ine",-1,-1)],v=[new e("nsa",-1,3),new e("mme",-1,3),new e("nne",-1,3),new e("ni",-1,2),new e("si",-1,1),new e("an",-1,4),new e("en",-1,6),new e("än",-1,5),new e("nsä",-1,3)],q=[new e("aa",-1,-1),new e("ee",-1,-1),new e("ii",-1,-1),new e("oo",-1,-1),new e("uu",-1,-1),new e("ää",-1,-1),new e("öö",-1,-1)],C=[new e("a",-1,8),new e("lla",0,-1),new e("na",0,-1),new e("ssa",0,-1),new e("ta",0,-1),new e("lta",4,-1),new e("sta",4,-1),new e("tta",4,9),new e("lle",-1,-1),new e("ine",-1,-1),new e("ksi",-1,-1),new e("n",-1,7),new e("han",11,1),new e("den",11,-1,a),new e("seen",11,-1,l),new e("hen",11,2),new e("tten",11,-1,a),new e("hin",11,3),new e("siin",11,-1,a),new e("hon",11,4),new e("hän",11,5),new e("hön",11,6),new e("ä",-1,8),new e("llä",22,-1),new e("nä",22,-1),new e("ssä",22,-1),new e("tä",22,-1),new e("ltä",26,-1),new e("stä",26,-1),new e("ttä",26,9)],P=[new e("eja",-1,-1),new e("mma",-1,1),new e("imma",1,-1),new e("mpa",-1,1),new e("impa",3,-1),new e("mmi",-1,1),new e("immi",5,-1),new e("mpi",-1,1),new e("impi",7,-1),new e("ejä",-1,-1),new e("mmä",-1,1),new e("immä",10,-1),new e("mpä",-1,1),new e("impä",12,-1)],F=[new e("i",-1,-1),new e("j",-1,-1)],S=[new e("mma",-1,1),new e("imma",0,-1)],y=[17,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8],W=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32],L=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32],x=[17,97,24,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32],A=new r;this.setCurrent=function(i){A.setCurrent(i)},this.getCurrent=function(){return A.getCurrent()},this.stem=function(){var e=A.cursor;return i(),k=!1,A.limit_backward=e,A.cursor=A.limit,s(),A.cursor=A.limit,o(),A.cursor=A.limit,u(),A.cursor=A.limit,c(),A.cursor=A.limit,k?(m(),A.cursor=A.limit):(A.cursor=A.limit,w(),A.cursor=A.limit),_(),!0}};return function(i){return"function"==typeof i.update?i.update(function(i){return n.setCurrent(i),n.stem(),n.getCurrent()}):(n.setCurrent(i),n.stem(),n.getCurrent())}}(),i.Pipeline.registerFunction(i.fi.stemmer,"stemmer-fi"),i.fi.stopWordFilter=i.generateStopWordFilter("ei eivät emme en et ette että he heidän heidät heihin heille heillä heiltä heissä heistä heitä hän häneen hänelle hänellä häneltä hänen hänessä hänestä hänet häntä itse ja johon joiden joihin joiksi joilla joille joilta joina joissa joista joita joka joksi jolla jolle jolta jona jonka jos jossa josta jota jotka kanssa keiden keihin keiksi keille keillä keiltä keinä keissä keistä keitä keneen keneksi kenelle kenellä keneltä kenen kenenä kenessä kenestä kenet ketkä ketkä ketä koska kuin kuka kun me meidän meidät meihin meille meillä meiltä meissä meistä meitä mihin miksi mikä mille millä miltä minkä minkä minua minulla minulle minulta minun minussa minusta minut minuun minä minä missä mistä mitkä mitä mukaan mutta ne niiden niihin niiksi niille niillä niiltä niin niin niinä niissä niistä niitä noiden noihin noiksi noilla noille noilta noin noina noissa noista noita nuo nyt näiden näihin näiksi näille näillä näiltä näinä näissä näistä näitä nämä ole olemme olen olet olette oli olimme olin olisi olisimme olisin olisit olisitte olisivat olit olitte olivat olla olleet ollut on ovat poikki se sekä sen siihen siinä siitä siksi sille sillä sillä siltä sinua sinulla sinulle sinulta sinun sinussa sinusta sinut sinuun sinä sinä sitä tai te teidän teidät teihin teille teillä teiltä teissä teistä teitä tuo tuohon tuoksi tuolla tuolle tuolta tuon tuona tuossa tuosta tuota tähän täksi tälle tällä tältä tämä tämän tänä tässä tästä tätä vaan vai vaikka yli".split(" ")),i.Pipeline.registerFunction(i.fi.stopWordFilter,"stopWordFilter-fi")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.fr.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `French` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.fr=function(){this.pipeline.reset(),this.pipeline.add(e.fr.trimmer,e.fr.stopWordFilter,e.fr.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.fr.stemmer))},e.fr.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.fr.trimmer=e.trimmerSupport.generateTrimmer(e.fr.wordCharacters),e.Pipeline.registerFunction(e.fr.trimmer,"trimmer-fr"),e.fr.stemmer=function(){var r=e.stemmerSupport.Among,s=e.stemmerSupport.SnowballProgram,i=new function(){function e(e,r,s){return!(!W.eq_s(1,e)||(W.ket=W.cursor,!W.in_grouping(F,97,251)))&&(W.slice_from(r),W.cursor=s,!0)}function i(e,r,s){return!!W.eq_s(1,e)&&(W.ket=W.cursor,W.slice_from(r),W.cursor=s,!0)}function n(){for(var r,s;;){if(r=W.cursor,W.in_grouping(F,97,251)){if(W.bra=W.cursor,s=W.cursor,e("u","U",r))continue;if(W.cursor=s,e("i","I",r))continue;if(W.cursor=s,i("y","Y",r))continue}if(W.cursor=r,W.bra=r,!e("y","Y",r)){if(W.cursor=r,W.eq_s(1,"q")&&(W.bra=W.cursor,i("u","U",r)))continue;if(W.cursor=r,r>=W.limit)return;W.cursor++}}}function t(){for(;!W.in_grouping(F,97,251);){if(W.cursor>=W.limit)return!0;W.cursor++}for(;!W.out_grouping(F,97,251);){if(W.cursor>=W.limit)return!0;W.cursor++}return!1}function u(){var e=W.cursor;if(q=W.limit,g=q,p=q,W.in_grouping(F,97,251)&&W.in_grouping(F,97,251)&&W.cursor=W.limit){W.cursor=q;break}W.cursor++}while(!W.in_grouping(F,97,251))}q=W.cursor,W.cursor=e,t()||(g=W.cursor,t()||(p=W.cursor))}function o(){for(var e,r;;){if(r=W.cursor,W.bra=r,!(e=W.find_among(h,4)))break;switch(W.ket=W.cursor,e){case 1:W.slice_from("i");break;case 2:W.slice_from("u");break;case 3:W.slice_from("y");break;case 4:if(W.cursor>=W.limit)return;W.cursor++}}}function c(){return q<=W.cursor}function a(){return g<=W.cursor}function l(){return p<=W.cursor}function w(){var e,r;if(W.ket=W.cursor,e=W.find_among_b(C,43)){switch(W.bra=W.cursor,e){case 1:if(!l())return!1;W.slice_del();break;case 2:if(!l())return!1;W.slice_del(),W.ket=W.cursor,W.eq_s_b(2,"ic")&&(W.bra=W.cursor,l()?W.slice_del():W.slice_from("iqU"));break;case 3:if(!l())return!1;W.slice_from("log");break;case 4:if(!l())return!1;W.slice_from("u");break;case 5:if(!l())return!1;W.slice_from("ent");break;case 6:if(!c())return!1;if(W.slice_del(),W.ket=W.cursor,e=W.find_among_b(z,6))switch(W.bra=W.cursor,e){case 1:l()&&(W.slice_del(),W.ket=W.cursor,W.eq_s_b(2,"at")&&(W.bra=W.cursor,l()&&W.slice_del()));break;case 2:l()?W.slice_del():a()&&W.slice_from("eux");break;case 3:l()&&W.slice_del();break;case 4:c()&&W.slice_from("i")}break;case 7:if(!l())return!1;if(W.slice_del(),W.ket=W.cursor,e=W.find_among_b(y,3))switch(W.bra=W.cursor,e){case 1:l()?W.slice_del():W.slice_from("abl");break;case 2:l()?W.slice_del():W.slice_from("iqU");break;case 3:l()&&W.slice_del()}break;case 8:if(!l())return!1;if(W.slice_del(),W.ket=W.cursor,W.eq_s_b(2,"at")&&(W.bra=W.cursor,l()&&(W.slice_del(),W.ket=W.cursor,W.eq_s_b(2,"ic")))){W.bra=W.cursor,l()?W.slice_del():W.slice_from("iqU");break}break;case 9:W.slice_from("eau");break;case 10:if(!a())return!1;W.slice_from("al");break;case 11:if(l())W.slice_del();else{if(!a())return!1;W.slice_from("eux")}break;case 12:if(!a()||!W.out_grouping_b(F,97,251))return!1;W.slice_del();break;case 13:return c()&&W.slice_from("ant"),!1;case 14:return c()&&W.slice_from("ent"),!1;case 15:return r=W.limit-W.cursor,W.in_grouping_b(F,97,251)&&c()&&(W.cursor=W.limit-r,W.slice_del()),!1}return!0}return!1}function f(){var e,r;if(W.cursor=q){if(s=W.limit_backward,W.limit_backward=q,W.ket=W.cursor,e=W.find_among_b(P,7))switch(W.bra=W.cursor,e){case 1:if(l()){if(i=W.limit-W.cursor,!W.eq_s_b(1,"s")&&(W.cursor=W.limit-i,!W.eq_s_b(1,"t")))break;W.slice_del()}break;case 2:W.slice_from("i");break;case 3:W.slice_del();break;case 4:W.eq_s_b(2,"gu")&&W.slice_del()}W.limit_backward=s}}function b(){var e=W.limit-W.cursor;W.find_among_b(U,5)&&(W.cursor=W.limit-e,W.ket=W.cursor,W.cursor>W.limit_backward&&(W.cursor--,W.bra=W.cursor,W.slice_del()))}function d(){for(var e,r=1;W.out_grouping_b(F,97,251);)r--;if(r<=0){if(W.ket=W.cursor,e=W.limit-W.cursor,!W.eq_s_b(1,"é")&&(W.cursor=W.limit-e,!W.eq_s_b(1,"è")))return;W.bra=W.cursor,W.slice_from("e")}}function k(){if(!w()&&(W.cursor=W.limit,!f()&&(W.cursor=W.limit,!m())))return W.cursor=W.limit,void _();W.cursor=W.limit,W.ket=W.cursor,W.eq_s_b(1,"Y")?(W.bra=W.cursor,W.slice_from("i")):(W.cursor=W.limit,W.eq_s_b(1,"ç")&&(W.bra=W.cursor,W.slice_from("c")))}var p,g,q,v=[new r("col",-1,-1),new r("par",-1,-1),new r("tap",-1,-1)],h=[new r("",-1,4),new r("I",0,1),new r("U",0,2),new r("Y",0,3)],z=[new r("iqU",-1,3),new r("abl",-1,3),new r("Ièr",-1,4),new r("ièr",-1,4),new r("eus",-1,2),new r("iv",-1,1)],y=[new r("ic",-1,2),new r("abil",-1,1),new r("iv",-1,3)],C=[new r("iqUe",-1,1),new r("atrice",-1,2),new r("ance",-1,1),new r("ence",-1,5),new r("logie",-1,3),new r("able",-1,1),new r("isme",-1,1),new r("euse",-1,11),new r("iste",-1,1),new r("ive",-1,8),new r("if",-1,8),new r("usion",-1,4),new r("ation",-1,2),new r("ution",-1,4),new r("ateur",-1,2),new r("iqUes",-1,1),new r("atrices",-1,2),new r("ances",-1,1),new r("ences",-1,5),new r("logies",-1,3),new r("ables",-1,1),new r("ismes",-1,1),new r("euses",-1,11),new r("istes",-1,1),new r("ives",-1,8),new r("ifs",-1,8),new r("usions",-1,4),new r("ations",-1,2),new r("utions",-1,4),new r("ateurs",-1,2),new r("ments",-1,15),new r("ements",30,6),new r("issements",31,12),new r("ités",-1,7),new r("ment",-1,15),new r("ement",34,6),new r("issement",35,12),new r("amment",34,13),new r("emment",34,14),new r("aux",-1,10),new r("eaux",39,9),new r("eux",-1,1),new r("ité",-1,7)],x=[new r("ira",-1,1),new r("ie",-1,1),new r("isse",-1,1),new r("issante",-1,1),new r("i",-1,1),new r("irai",4,1),new r("ir",-1,1),new r("iras",-1,1),new r("ies",-1,1),new r("îmes",-1,1),new r("isses",-1,1),new r("issantes",-1,1),new r("îtes",-1,1),new r("is",-1,1),new r("irais",13,1),new r("issais",13,1),new r("irions",-1,1),new r("issions",-1,1),new r("irons",-1,1),new r("issons",-1,1),new r("issants",-1,1),new r("it",-1,1),new r("irait",21,1),new r("issait",21,1),new r("issant",-1,1),new r("iraIent",-1,1),new r("issaIent",-1,1),new r("irent",-1,1),new r("issent",-1,1),new r("iront",-1,1),new r("ît",-1,1),new r("iriez",-1,1),new r("issiez",-1,1),new r("irez",-1,1),new r("issez",-1,1)],I=[new r("a",-1,3),new r("era",0,2),new r("asse",-1,3),new r("ante",-1,3),new r("ée",-1,2),new r("ai",-1,3),new r("erai",5,2),new r("er",-1,2),new r("as",-1,3),new r("eras",8,2),new r("âmes",-1,3),new r("asses",-1,3),new r("antes",-1,3),new r("âtes",-1,3),new r("ées",-1,2),new r("ais",-1,3),new r("erais",15,2),new r("ions",-1,1),new r("erions",17,2),new r("assions",17,3),new r("erons",-1,2),new r("ants",-1,3),new r("és",-1,2),new r("ait",-1,3),new r("erait",23,2),new r("ant",-1,3),new r("aIent",-1,3),new r("eraIent",26,2),new r("èrent",-1,2),new r("assent",-1,3),new r("eront",-1,2),new r("ât",-1,3),new r("ez",-1,2),new r("iez",32,2),new r("eriez",33,2),new r("assiez",33,3),new r("erez",32,2),new r("é",-1,2)],P=[new r("e",-1,3),new r("Ière",0,2),new r("ière",0,2),new r("ion",-1,1),new r("Ier",-1,2),new r("ier",-1,2),new r("ë",-1,4)],U=[new r("ell",-1,-1),new r("eill",-1,-1),new r("enn",-1,-1),new r("onn",-1,-1),new r("ett",-1,-1)],F=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,128,130,103,8,5],S=[1,65,20,0,0,0,0,0,0,0,0,0,0,0,0,0,128],W=new s;this.setCurrent=function(e){W.setCurrent(e)},this.getCurrent=function(){return W.getCurrent()},this.stem=function(){var e=W.cursor;return n(),W.cursor=e,u(),W.limit_backward=e,W.cursor=W.limit,k(),W.cursor=W.limit,b(),W.cursor=W.limit,d(),W.cursor=W.limit_backward,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}}(),e.Pipeline.registerFunction(e.fr.stemmer,"stemmer-fr"),e.fr.stopWordFilter=e.generateStopWordFilter("ai aie aient aies ait as au aura aurai auraient aurais aurait auras aurez auriez aurions aurons auront aux avaient avais avait avec avez aviez avions avons ayant ayez ayons c ce ceci celà ces cet cette d dans de des du elle en es est et eu eue eues eurent eus eusse eussent eusses eussiez eussions eut eux eûmes eût eûtes furent fus fusse fussent fusses fussiez fussions fut fûmes fût fûtes ici il ils j je l la le les leur leurs lui m ma mais me mes moi mon même n ne nos notre nous on ont ou par pas pour qu que quel quelle quelles quels qui s sa sans se sera serai seraient serais serait seras serez seriez serions serons seront ses soi soient sois soit sommes son sont soyez soyons suis sur t ta te tes toi ton tu un une vos votre vous y à étaient étais était étant étiez étions été étée étées étés êtes".split(" ")),e.Pipeline.registerFunction(e.fr.stopWordFilter,"stopWordFilter-fr")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.hu.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Hungarian` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():n()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.hu=function(){this.pipeline.reset(),this.pipeline.add(e.hu.trimmer,e.hu.stopWordFilter,e.hu.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.hu.stemmer))},e.hu.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.hu.trimmer=e.trimmerSupport.generateTrimmer(e.hu.wordCharacters),e.Pipeline.registerFunction(e.hu.trimmer,"trimmer-hu"),e.hu.stemmer=function(){var n=e.stemmerSupport.Among,r=e.stemmerSupport.SnowballProgram,i=new function(){function e(){var e,n=L.cursor;if(d=L.limit,L.in_grouping(W,97,252))for(;;){if(e=L.cursor,L.out_grouping(W,97,252))return L.cursor=e,L.find_among(g,8)||(L.cursor=e,e=L.limit)return void(d=e);L.cursor++}if(L.cursor=n,L.out_grouping(W,97,252)){for(;!L.in_grouping(W,97,252);){if(L.cursor>=L.limit)return;L.cursor++}d=L.cursor}}function i(){return d<=L.cursor}function a(){var e;if(L.ket=L.cursor,(e=L.find_among_b(h,2))&&(L.bra=L.cursor,i()))switch(e){case 1:L.slice_from("a");break;case 2:L.slice_from("e")}}function t(){var e=L.limit-L.cursor;return!!L.find_among_b(p,23)&&(L.cursor=L.limit-e,!0)}function s(){if(L.cursor>L.limit_backward){L.cursor--,L.ket=L.cursor;var e=L.cursor-1;L.limit_backward<=e&&e<=L.limit&&(L.cursor=e,L.bra=e,L.slice_del())}}function c(){var e;if(L.ket=L.cursor,(e=L.find_among_b(_,2))&&(L.bra=L.cursor,i())){if((1==e||2==e)&&!t())return;L.slice_del(),s()}}function o(){L.ket=L.cursor,L.find_among_b(v,44)&&(L.bra=L.cursor,i()&&(L.slice_del(),a()))}function w(){var e;if(L.ket=L.cursor,(e=L.find_among_b(z,3))&&(L.bra=L.cursor,i()))switch(e){case 1:L.slice_from("e");break;case 2:case 3:L.slice_from("a")}}function l(){var e;if(L.ket=L.cursor,(e=L.find_among_b(y,6))&&(L.bra=L.cursor,i()))switch(e){case 1:case 2:L.slice_del();break;case 3:L.slice_from("a");break;case 4:L.slice_from("e")}}function u(){var e;if(L.ket=L.cursor,(e=L.find_among_b(j,2))&&(L.bra=L.cursor,i())){if((1==e||2==e)&&!t())return;L.slice_del(),s()}}function m(){var e;if(L.ket=L.cursor,(e=L.find_among_b(C,7))&&(L.bra=L.cursor,i()))switch(e){case 1:L.slice_from("a");break;case 2:L.slice_from("e");break;case 3:case 4:case 5:case 6:case 7:L.slice_del()}}function k(){var e;if(L.ket=L.cursor,(e=L.find_among_b(P,12))&&(L.bra=L.cursor,i()))switch(e){case 1:case 4:case 7:case 9:L.slice_del();break;case 2:case 5:case 8:L.slice_from("e");break;case 3:case 6:L.slice_from("a")}}function f(){var e;if(L.ket=L.cursor,(e=L.find_among_b(F,31))&&(L.bra=L.cursor,i()))switch(e){case 1:case 4:case 7:case 8:case 9:case 12:case 13:case 16:case 17:case 18:L.slice_del();break;case 2:case 5:case 10:case 14:case 19:L.slice_from("a");break;case 3:case 6:case 11:case 15:case 20:L.slice_from("e")}}function b(){var e;if(L.ket=L.cursor,(e=L.find_among_b(S,42))&&(L.bra=L.cursor,i()))switch(e){case 1:case 4:case 5:case 6:case 9:case 10:case 11:case 14:case 15:case 16:case 17:case 20:case 21:case 24:case 25:case 26:case 29:L.slice_del();break;case 2:case 7:case 12:case 18:case 22:case 27:L.slice_from("a");break;case 3:case 8:case 13:case 19:case 23:case 28:L.slice_from("e")}}var d,g=[new n("cs",-1,-1),new n("dzs",-1,-1),new n("gy",-1,-1),new n("ly",-1,-1),new n("ny",-1,-1),new n("sz",-1,-1),new n("ty",-1,-1),new n("zs",-1,-1)],h=[new n("á",-1,1),new n("é",-1,2)],p=[new n("bb",-1,-1),new n("cc",-1,-1),new n("dd",-1,-1),new n("ff",-1,-1),new n("gg",-1,-1),new n("jj",-1,-1),new n("kk",-1,-1),new n("ll",-1,-1),new n("mm",-1,-1),new n("nn",-1,-1),new n("pp",-1,-1),new n("rr",-1,-1),new n("ccs",-1,-1),new n("ss",-1,-1),new n("zzs",-1,-1),new n("tt",-1,-1),new n("vv",-1,-1),new n("ggy",-1,-1),new n("lly",-1,-1),new n("nny",-1,-1),new n("tty",-1,-1),new n("ssz",-1,-1),new n("zz",-1,-1)],_=[new n("al",-1,1),new n("el",-1,2)],v=[new n("ba",-1,-1),new n("ra",-1,-1),new n("be",-1,-1),new n("re",-1,-1),new n("ig",-1,-1),new n("nak",-1,-1),new n("nek",-1,-1),new n("val",-1,-1),new n("vel",-1,-1),new n("ul",-1,-1),new n("nál",-1,-1),new n("nél",-1,-1),new n("ból",-1,-1),new n("ról",-1,-1),new n("tól",-1,-1),new n("bõl",-1,-1),new n("rõl",-1,-1),new n("tõl",-1,-1),new n("ül",-1,-1),new n("n",-1,-1),new n("an",19,-1),new n("ban",20,-1),new n("en",19,-1),new n("ben",22,-1),new n("képpen",22,-1),new n("on",19,-1),new n("ön",19,-1),new n("képp",-1,-1),new n("kor",-1,-1),new n("t",-1,-1),new n("at",29,-1),new n("et",29,-1),new n("ként",29,-1),new n("anként",32,-1),new n("enként",32,-1),new n("onként",32,-1),new n("ot",29,-1),new n("ért",29,-1),new n("öt",29,-1),new n("hez",-1,-1),new n("hoz",-1,-1),new n("höz",-1,-1),new n("vá",-1,-1),new n("vé",-1,-1)],z=[new n("án",-1,2),new n("én",-1,1),new n("ánként",-1,3)],y=[new n("stul",-1,2),new n("astul",0,1),new n("ástul",0,3),new n("stül",-1,2),new n("estül",3,1),new n("éstül",3,4)],j=[new n("á",-1,1),new n("é",-1,2)],C=[new n("k",-1,7),new n("ak",0,4),new n("ek",0,6),new n("ok",0,5),new n("ák",0,1),new n("ék",0,2),new n("ök",0,3)],P=[new n("éi",-1,7),new n("áéi",0,6),new n("ééi",0,5),new n("é",-1,9),new n("ké",3,4),new n("aké",4,1),new n("eké",4,1),new n("oké",4,1),new n("áké",4,3),new n("éké",4,2),new n("öké",4,1),new n("éé",3,8)],F=[new n("a",-1,18),new n("ja",0,17),new n("d",-1,16),new n("ad",2,13),new n("ed",2,13),new n("od",2,13),new n("ád",2,14),new n("éd",2,15),new n("öd",2,13),new n("e",-1,18),new n("je",9,17),new n("nk",-1,4),new n("unk",11,1),new n("ánk",11,2),new n("énk",11,3),new n("ünk",11,1),new n("uk",-1,8),new n("juk",16,7),new n("ájuk",17,5),new n("ük",-1,8),new n("jük",19,7),new n("éjük",20,6),new n("m",-1,12),new n("am",22,9),new n("em",22,9),new n("om",22,9),new n("ám",22,10),new n("ém",22,11),new n("o",-1,18),new n("á",-1,19),new n("é",-1,20)],S=[new n("id",-1,10),new n("aid",0,9),new n("jaid",1,6),new n("eid",0,9),new n("jeid",3,6),new n("áid",0,7),new n("éid",0,8),new n("i",-1,15),new n("ai",7,14),new n("jai",8,11),new n("ei",7,14),new n("jei",10,11),new n("ái",7,12),new n("éi",7,13),new n("itek",-1,24),new n("eitek",14,21),new n("jeitek",15,20),new n("éitek",14,23),new n("ik",-1,29),new n("aik",18,26),new n("jaik",19,25),new n("eik",18,26),new n("jeik",21,25),new n("áik",18,27),new n("éik",18,28),new n("ink",-1,20),new n("aink",25,17),new n("jaink",26,16),new n("eink",25,17),new n("jeink",28,16),new n("áink",25,18),new n("éink",25,19),new n("aitok",-1,21),new n("jaitok",32,20),new n("áitok",-1,22),new n("im",-1,5),new n("aim",35,4),new n("jaim",36,1),new n("eim",35,4),new n("jeim",38,1),new n("áim",35,2),new n("éim",35,3)],W=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,1,17,52,14],L=new r;this.setCurrent=function(e){L.setCurrent(e)},this.getCurrent=function(){return L.getCurrent()},this.stem=function(){var n=L.cursor;return e(),L.limit_backward=n,L.cursor=L.limit,c(),L.cursor=L.limit,o(),L.cursor=L.limit,w(),L.cursor=L.limit,l(),L.cursor=L.limit,u(),L.cursor=L.limit,k(),L.cursor=L.limit,f(),L.cursor=L.limit,b(),L.cursor=L.limit,m(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}}(),e.Pipeline.registerFunction(e.hu.stemmer,"stemmer-hu"),e.hu.stopWordFilter=e.generateStopWordFilter("a abban ahhoz ahogy ahol aki akik akkor alatt amely amelyek amelyekben amelyeket amelyet amelynek ami amikor amit amolyan amíg annak arra arról az azok azon azonban azt aztán azután azzal azért be belül benne bár cikk cikkek cikkeket csak de e ebben eddig egy egyes egyetlen egyik egyre egyéb egész ehhez ekkor el ellen elsõ elég elõ elõször elõtt emilyen ennek erre ez ezek ezen ezt ezzel ezért fel felé hanem hiszen hogy hogyan igen ill ill. illetve ilyen ilyenkor ismét ison itt jobban jó jól kell kellett keressünk keresztül ki kívül között közül legalább legyen lehet lehetett lenne lenni lesz lett maga magát majd majd meg mellett mely melyek mert mi mikor milyen minden mindenki mindent mindig mint mintha mit mivel miért most már más másik még míg nagy nagyobb nagyon ne nekem neki nem nincs néha néhány nélkül olyan ott pedig persze rá s saját sem semmi sok sokat sokkal szemben szerint szinte számára talán tehát teljes tovább továbbá több ugyanis utolsó után utána vagy vagyis vagyok valaki valami valamint való van vannak vele vissza viszont volna volt voltak voltam voltunk által általában át én éppen és így õ õk õket össze úgy új újabb újra".split(" ")),e.Pipeline.registerFunction(e.hu.stopWordFilter,"stopWordFilter-hu")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.it.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Italian` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.it=function(){this.pipeline.reset(),this.pipeline.add(e.it.trimmer,e.it.stopWordFilter,e.it.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.it.stemmer))},e.it.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.it.trimmer=e.trimmerSupport.generateTrimmer(e.it.wordCharacters),e.Pipeline.registerFunction(e.it.trimmer,"trimmer-it"),e.it.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){function e(e,r,n){return!(!x.eq_s(1,e)||(x.ket=x.cursor,!x.in_grouping(L,97,249)))&&(x.slice_from(r),x.cursor=n,!0)}function i(){for(var r,n,i,o,t=x.cursor;;){if(x.bra=x.cursor,r=x.find_among(h,7))switch(x.ket=x.cursor,r){case 1:x.slice_from("à");continue;case 2:x.slice_from("è");continue;case 3:x.slice_from("ì");continue;case 4:x.slice_from("ò");continue;case 5:x.slice_from("ù");continue;case 6:x.slice_from("qU");continue;case 7:if(x.cursor>=x.limit)break;x.cursor++;continue}break}for(x.cursor=t;;)for(n=x.cursor;;){if(i=x.cursor,x.in_grouping(L,97,249)){if(x.bra=x.cursor,o=x.cursor,e("u","U",i))break;if(x.cursor=o,e("i","I",i))break}if(x.cursor=i,x.cursor>=x.limit)return void(x.cursor=n);x.cursor++}}function o(e){if(x.cursor=e,!x.in_grouping(L,97,249))return!1;for(;!x.out_grouping(L,97,249);){if(x.cursor>=x.limit)return!1;x.cursor++}return!0}function t(){if(x.in_grouping(L,97,249)){var e=x.cursor;if(x.out_grouping(L,97,249)){for(;!x.in_grouping(L,97,249);){if(x.cursor>=x.limit)return o(e);x.cursor++}return!0}return o(e)}return!1}function s(){var e,r=x.cursor;if(!t()){if(x.cursor=r,!x.out_grouping(L,97,249))return;if(e=x.cursor,x.out_grouping(L,97,249)){for(;!x.in_grouping(L,97,249);){if(x.cursor>=x.limit)return x.cursor=e,void(x.in_grouping(L,97,249)&&x.cursor=x.limit)return;x.cursor++}k=x.cursor}function a(){for(;!x.in_grouping(L,97,249);){if(x.cursor>=x.limit)return!1;x.cursor++}for(;!x.out_grouping(L,97,249);){if(x.cursor>=x.limit)return!1;x.cursor++}return!0}function u(){var e=x.cursor;k=x.limit,p=k,g=k,s(),x.cursor=e,a()&&(p=x.cursor,a()&&(g=x.cursor))}function c(){for(var e;;){if(x.bra=x.cursor,!(e=x.find_among(q,3)))break;switch(x.ket=x.cursor,e){case 1:x.slice_from("i");break;case 2:x.slice_from("u");break;case 3:if(x.cursor>=x.limit)return;x.cursor++}}}function w(){return k<=x.cursor}function l(){return p<=x.cursor}function m(){return g<=x.cursor}function f(){var e;if(x.ket=x.cursor,x.find_among_b(C,37)&&(x.bra=x.cursor,(e=x.find_among_b(z,5))&&w()))switch(e){case 1:x.slice_del();break;case 2:x.slice_from("e")}}function v(){var e;if(x.ket=x.cursor,!(e=x.find_among_b(S,51)))return!1;switch(x.bra=x.cursor,e){case 1:if(!m())return!1;x.slice_del();break;case 2:if(!m())return!1;x.slice_del(),x.ket=x.cursor,x.eq_s_b(2,"ic")&&(x.bra=x.cursor,m()&&x.slice_del());break;case 3:if(!m())return!1;x.slice_from("log");break;case 4:if(!m())return!1;x.slice_from("u");break;case 5:if(!m())return!1;x.slice_from("ente");break;case 6:if(!w())return!1;x.slice_del();break;case 7:if(!l())return!1;x.slice_del(),x.ket=x.cursor,e=x.find_among_b(P,4),e&&(x.bra=x.cursor,m()&&(x.slice_del(),1==e&&(x.ket=x.cursor,x.eq_s_b(2,"at")&&(x.bra=x.cursor,m()&&x.slice_del()))));break;case 8:if(!m())return!1;x.slice_del(),x.ket=x.cursor,e=x.find_among_b(F,3),e&&(x.bra=x.cursor,1==e&&m()&&x.slice_del());break;case 9:if(!m())return!1;x.slice_del(),x.ket=x.cursor,x.eq_s_b(2,"at")&&(x.bra=x.cursor,m()&&(x.slice_del(),x.ket=x.cursor,x.eq_s_b(2,"ic")&&(x.bra=x.cursor,m()&&x.slice_del())))}return!0}function b(){var e,r;x.cursor>=k&&(r=x.limit_backward,x.limit_backward=k,x.ket=x.cursor,e=x.find_among_b(W,87),e&&(x.bra=x.cursor,1==e&&x.slice_del()),x.limit_backward=r)}function d(){var e=x.limit-x.cursor;if(x.ket=x.cursor,x.in_grouping_b(y,97,242)&&(x.bra=x.cursor,w()&&(x.slice_del(),x.ket=x.cursor,x.eq_s_b(1,"i")&&(x.bra=x.cursor,w()))))return void x.slice_del();x.cursor=x.limit-e}function _(){d(),x.ket=x.cursor,x.eq_s_b(1,"h")&&(x.bra=x.cursor,x.in_grouping_b(U,99,103)&&w()&&x.slice_del())}var g,p,k,h=[new r("",-1,7),new r("qu",0,6),new r("á",0,1),new r("é",0,2),new r("í",0,3),new r("ó",0,4),new r("ú",0,5)],q=[new r("",-1,3),new r("I",0,1),new r("U",0,2)],C=[new r("la",-1,-1),new r("cela",0,-1),new r("gliela",0,-1),new r("mela",0,-1),new r("tela",0,-1),new r("vela",0,-1),new r("le",-1,-1),new r("cele",6,-1),new r("gliele",6,-1),new r("mele",6,-1),new r("tele",6,-1),new r("vele",6,-1),new r("ne",-1,-1),new r("cene",12,-1),new r("gliene",12,-1),new r("mene",12,-1),new r("sene",12,-1),new r("tene",12,-1),new r("vene",12,-1),new r("ci",-1,-1),new r("li",-1,-1),new r("celi",20,-1),new r("glieli",20,-1),new r("meli",20,-1),new r("teli",20,-1),new r("veli",20,-1),new r("gli",20,-1),new r("mi",-1,-1),new r("si",-1,-1),new r("ti",-1,-1),new r("vi",-1,-1),new r("lo",-1,-1),new r("celo",31,-1),new r("glielo",31,-1),new r("melo",31,-1),new r("telo",31,-1),new r("velo",31,-1)],z=[new r("ando",-1,1),new r("endo",-1,1),new r("ar",-1,2),new r("er",-1,2),new r("ir",-1,2)],P=[new r("ic",-1,-1),new r("abil",-1,-1),new r("os",-1,-1),new r("iv",-1,1)],F=[new r("ic",-1,1),new r("abil",-1,1),new r("iv",-1,1)],S=[new r("ica",-1,1),new r("logia",-1,3),new r("osa",-1,1),new r("ista",-1,1),new r("iva",-1,9),new r("anza",-1,1),new r("enza",-1,5),new r("ice",-1,1),new r("atrice",7,1),new r("iche",-1,1),new r("logie",-1,3),new r("abile",-1,1),new r("ibile",-1,1),new r("usione",-1,4),new r("azione",-1,2),new r("uzione",-1,4),new r("atore",-1,2),new r("ose",-1,1),new r("ante",-1,1),new r("mente",-1,1),new r("amente",19,7),new r("iste",-1,1),new r("ive",-1,9),new r("anze",-1,1),new r("enze",-1,5),new r("ici",-1,1),new r("atrici",25,1),new r("ichi",-1,1),new r("abili",-1,1),new r("ibili",-1,1),new r("ismi",-1,1),new r("usioni",-1,4),new r("azioni",-1,2),new r("uzioni",-1,4),new r("atori",-1,2),new r("osi",-1,1),new r("anti",-1,1),new r("amenti",-1,6),new r("imenti",-1,6),new r("isti",-1,1),new r("ivi",-1,9),new r("ico",-1,1),new r("ismo",-1,1),new r("oso",-1,1),new r("amento",-1,6),new r("imento",-1,6),new r("ivo",-1,9),new r("ità",-1,8),new r("istà",-1,1),new r("istè",-1,1),new r("istì",-1,1)],W=[new r("isca",-1,1),new r("enda",-1,1),new r("ata",-1,1),new r("ita",-1,1),new r("uta",-1,1),new r("ava",-1,1),new r("eva",-1,1),new r("iva",-1,1),new r("erebbe",-1,1),new r("irebbe",-1,1),new r("isce",-1,1),new r("ende",-1,1),new r("are",-1,1),new r("ere",-1,1),new r("ire",-1,1),new r("asse",-1,1),new r("ate",-1,1),new r("avate",16,1),new r("evate",16,1),new r("ivate",16,1),new r("ete",-1,1),new r("erete",20,1),new r("irete",20,1),new r("ite",-1,1),new r("ereste",-1,1),new r("ireste",-1,1),new r("ute",-1,1),new r("erai",-1,1),new r("irai",-1,1),new r("isci",-1,1),new r("endi",-1,1),new r("erei",-1,1),new r("irei",-1,1),new r("assi",-1,1),new r("ati",-1,1),new r("iti",-1,1),new r("eresti",-1,1),new r("iresti",-1,1),new r("uti",-1,1),new r("avi",-1,1),new r("evi",-1,1),new r("ivi",-1,1),new r("isco",-1,1),new r("ando",-1,1),new r("endo",-1,1),new r("Yamo",-1,1),new r("iamo",-1,1),new r("avamo",-1,1),new r("evamo",-1,1),new r("ivamo",-1,1),new r("eremo",-1,1),new r("iremo",-1,1),new r("assimo",-1,1),new r("ammo",-1,1),new r("emmo",-1,1),new r("eremmo",54,1),new r("iremmo",54,1),new r("immo",-1,1),new r("ano",-1,1),new r("iscano",58,1),new r("avano",58,1),new r("evano",58,1),new r("ivano",58,1),new r("eranno",-1,1),new r("iranno",-1,1),new r("ono",-1,1),new r("iscono",65,1),new r("arono",65,1),new r("erono",65,1),new r("irono",65,1),new r("erebbero",-1,1),new r("irebbero",-1,1),new r("assero",-1,1),new r("essero",-1,1),new r("issero",-1,1),new r("ato",-1,1),new r("ito",-1,1),new r("uto",-1,1),new r("avo",-1,1),new r("evo",-1,1),new r("ivo",-1,1),new r("ar",-1,1),new r("ir",-1,1),new r("erà",-1,1),new r("irà",-1,1),new r("erò",-1,1),new r("irò",-1,1)],L=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2,1],y=[17,65,0,0,0,0,0,0,0,0,0,0,0,0,0,128,128,8,2],U=[17],x=new n;this.setCurrent=function(e){x.setCurrent(e)},this.getCurrent=function(){return x.getCurrent()},this.stem=function(){var e=x.cursor;return i(),x.cursor=e,u(),x.limit_backward=e,x.cursor=x.limit,f(),x.cursor=x.limit,v()||(x.cursor=x.limit,b()),x.cursor=x.limit,_(),x.cursor=x.limit_backward,c(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}}(),e.Pipeline.registerFunction(e.it.stemmer,"stemmer-it"),e.it.stopWordFilter=e.generateStopWordFilter("a abbia abbiamo abbiano abbiate ad agl agli ai al all alla alle allo anche avemmo avendo avesse avessero avessi avessimo aveste avesti avete aveva avevamo avevano avevate avevi avevo avrai avranno avrebbe avrebbero avrei avremmo avremo avreste avresti avrete avrà avrò avuta avute avuti avuto c che chi ci coi col come con contro cui da dagl dagli dai dal dall dalla dalle dallo degl degli dei del dell della delle dello di dov dove e ebbe ebbero ebbi ed era erano eravamo eravate eri ero essendo faccia facciamo facciano facciate faccio facemmo facendo facesse facessero facessi facessimo faceste facesti faceva facevamo facevano facevate facevi facevo fai fanno farai faranno farebbe farebbero farei faremmo faremo fareste faresti farete farà farò fece fecero feci fosse fossero fossi fossimo foste fosti fu fui fummo furono gli ha hai hanno ho i il in io l la le lei li lo loro lui ma mi mia mie miei mio ne negl negli nei nel nell nella nelle nello noi non nostra nostre nostri nostro o per perché più quale quanta quante quanti quanto quella quelle quelli quello questa queste questi questo sarai saranno sarebbe sarebbero sarei saremmo saremo sareste saresti sarete sarà sarò se sei si sia siamo siano siate siete sono sta stai stando stanno starai staranno starebbe starebbero starei staremmo staremo stareste staresti starete starà starò stava stavamo stavano stavate stavi stavo stemmo stesse stessero stessi stessimo steste stesti stette stettero stetti stia stiamo stiano stiate sto su sua sue sugl sugli sui sul sull sulla sulle sullo suo suoi ti tra tu tua tue tuo tuoi tutti tutto un una uno vi voi vostra vostre vostri vostro è".split(" ")),e.Pipeline.registerFunction(e.it.stopWordFilter,"stopWordFilter-it")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.ja.min.js:
--------------------------------------------------------------------------------
1 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");var r="2"==e.version[0];e.ja=function(){this.pipeline.reset(),this.pipeline.add(e.ja.trimmer,e.ja.stopWordFilter,e.ja.stemmer),r?this.tokenizer=e.ja.tokenizer:(e.tokenizer&&(e.tokenizer=e.ja.tokenizer),this.tokenizerFn&&(this.tokenizerFn=e.ja.tokenizer))};var t=new e.TinySegmenter;e.ja.tokenizer=function(i){var n,o,s,p,a,u,m,l,c,f;if(!arguments.length||null==i||void 0==i)return[];if(Array.isArray(i))return i.map(function(t){return r?new e.Token(t.toLowerCase()):t.toLowerCase()});for(o=i.toString().toLowerCase().replace(/^\s+/,""),n=o.length-1;n>=0;n--)if(/\S/.test(o.charAt(n))){o=o.substring(0,n+1);break}for(a=[],s=o.length,c=0,l=0;c<=s;c++)if(u=o.charAt(c),m=c-l,u.match(/\s/)||c==s){if(m>0)for(p=t.segment(o.slice(l,c)).filter(function(e){return!!e}),f=l,n=0;n=C.limit)break;C.cursor++;continue}break}for(C.cursor=o,C.bra=o,C.eq_s(1,"y")?(C.ket=C.cursor,C.slice_from("Y")):C.cursor=o;;)if(e=C.cursor,C.in_grouping(q,97,232)){if(i=C.cursor,C.bra=i,C.eq_s(1,"i"))C.ket=C.cursor,C.in_grouping(q,97,232)&&(C.slice_from("I"),C.cursor=e);else if(C.cursor=i,C.eq_s(1,"y"))C.ket=C.cursor,C.slice_from("Y"),C.cursor=e;else if(n(e))break}else if(n(e))break}function n(r){return C.cursor=r,r>=C.limit||(C.cursor++,!1)}function o(){_=C.limit,d=_,t()||(_=C.cursor,_<3&&(_=3),t()||(d=C.cursor))}function t(){for(;!C.in_grouping(q,97,232);){if(C.cursor>=C.limit)return!0;C.cursor++}for(;!C.out_grouping(q,97,232);){if(C.cursor>=C.limit)return!0;C.cursor++}return!1}function s(){for(var r;;)if(C.bra=C.cursor,r=C.find_among(p,3))switch(C.ket=C.cursor,r){case 1:C.slice_from("y");break;case 2:C.slice_from("i");break;case 3:if(C.cursor>=C.limit)return;C.cursor++}}function u(){return _<=C.cursor}function c(){return d<=C.cursor}function a(){var r=C.limit-C.cursor;C.find_among_b(g,3)&&(C.cursor=C.limit-r,C.ket=C.cursor,C.cursor>C.limit_backward&&(C.cursor--,C.bra=C.cursor,C.slice_del()))}function l(){var r;w=!1,C.ket=C.cursor,C.eq_s_b(1,"e")&&(C.bra=C.cursor,u()&&(r=C.limit-C.cursor,C.out_grouping_b(q,97,232)&&(C.cursor=C.limit-r,C.slice_del(),w=!0,a())))}function m(){var r;u()&&(r=C.limit-C.cursor,C.out_grouping_b(q,97,232)&&(C.cursor=C.limit-r,C.eq_s_b(3,"gem")||(C.cursor=C.limit-r,C.slice_del(),a())))}function f(){var r,e,i,n,o,t,s=C.limit-C.cursor;if(C.ket=C.cursor,r=C.find_among_b(h,5))switch(C.bra=C.cursor,r){case 1:u()&&C.slice_from("heid");break;case 2:m();break;case 3:u()&&C.out_grouping_b(j,97,232)&&C.slice_del()}if(C.cursor=C.limit-s,l(),C.cursor=C.limit-s,C.ket=C.cursor,C.eq_s_b(4,"heid")&&(C.bra=C.cursor,c()&&(e=C.limit-C.cursor,C.eq_s_b(1,"c")||(C.cursor=C.limit-e,C.slice_del(),C.ket=C.cursor,C.eq_s_b(2,"en")&&(C.bra=C.cursor,m())))),C.cursor=C.limit-s,C.ket=C.cursor,r=C.find_among_b(k,6))switch(C.bra=C.cursor,r){case 1:if(c()){if(C.slice_del(),i=C.limit-C.cursor,C.ket=C.cursor,C.eq_s_b(2,"ig")&&(C.bra=C.cursor,c()&&(n=C.limit-C.cursor,!C.eq_s_b(1,"e")))){C.cursor=C.limit-n,C.slice_del();break}C.cursor=C.limit-i,a()}break;case 2:c()&&(o=C.limit-C.cursor,C.eq_s_b(1,"e")||(C.cursor=C.limit-o,C.slice_del()));break;case 3:c()&&(C.slice_del(),l());break;case 4:c()&&C.slice_del();break;case 5:c()&&w&&C.slice_del()}C.cursor=C.limit-s,C.out_grouping_b(z,73,232)&&(t=C.limit-C.cursor,C.find_among_b(v,4)&&C.out_grouping_b(q,97,232)&&(C.cursor=C.limit-t,C.ket=C.cursor,C.cursor>C.limit_backward&&(C.cursor--,C.bra=C.cursor,C.slice_del())))}var d,_,w,b=[new e("",-1,6),new e("á",0,1),new e("ä",0,1),new e("é",0,2),new e("ë",0,2),new e("í",0,3),new e("ï",0,3),new e("ó",0,4),new e("ö",0,4),new e("ú",0,5),new e("ü",0,5)],p=[new e("",-1,3),new e("I",0,2),new e("Y",0,1)],g=[new e("dd",-1,-1),new e("kk",-1,-1),new e("tt",-1,-1)],h=[new e("ene",-1,2),new e("se",-1,3),new e("en",-1,2),new e("heden",2,1),new e("s",-1,3)],k=[new e("end",-1,1),new e("ig",-1,2),new e("ing",-1,1),new e("lijk",-1,3),new e("baar",-1,4),new e("bar",-1,5)],v=[new e("aa",-1,-1),new e("ee",-1,-1),new e("oo",-1,-1),new e("uu",-1,-1)],q=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],z=[1,0,0,17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],j=[17,67,16,1,0,0,0,0,0,0,0,0,0,0,0,0,128],C=new i;this.setCurrent=function(r){C.setCurrent(r)},this.getCurrent=function(){return C.getCurrent()},this.stem=function(){var e=C.cursor;return r(),C.cursor=e,o(),C.limit_backward=e,C.cursor=C.limit,f(),C.cursor=C.limit_backward,s(),!0}};return function(r){return"function"==typeof r.update?r.update(function(r){return n.setCurrent(r),n.stem(),n.getCurrent()}):(n.setCurrent(r),n.stem(),n.getCurrent())}}(),r.Pipeline.registerFunction(r.nl.stemmer,"stemmer-nl"),r.nl.stopWordFilter=r.generateStopWordFilter(" aan al alles als altijd andere ben bij daar dan dat de der deze die dit doch doen door dus een eens en er ge geen geweest haar had heb hebben heeft hem het hier hij hoe hun iemand iets ik in is ja je kan kon kunnen maar me meer men met mij mijn moet na naar niet niets nog nu of om omdat onder ons ook op over reeds te tegen toch toen tot u uit uw van veel voor want waren was wat werd wezen wie wil worden wordt zal ze zelf zich zij zijn zo zonder zou".split(" ")),r.Pipeline.registerFunction(r.nl.stopWordFilter,"stopWordFilter-nl")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.no.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Norwegian` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.no=function(){this.pipeline.reset(),this.pipeline.add(e.no.trimmer,e.no.stopWordFilter,e.no.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.no.stemmer))},e.no.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.no.trimmer=e.trimmerSupport.generateTrimmer(e.no.wordCharacters),e.Pipeline.registerFunction(e.no.trimmer,"trimmer-no"),e.no.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){function e(){var e,r=w.cursor+3;if(a=w.limit,0<=r||r<=w.limit){for(s=r;;){if(e=w.cursor,w.in_grouping(d,97,248)){w.cursor=e;break}if(e>=w.limit)return;w.cursor=e+1}for(;!w.out_grouping(d,97,248);){if(w.cursor>=w.limit)return;w.cursor++}a=w.cursor,a=a&&(r=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,e=w.find_among_b(m,29),w.limit_backward=r,e))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:n=w.limit-w.cursor,w.in_grouping_b(c,98,122)?w.slice_del():(w.cursor=w.limit-n,w.eq_s_b(1,"k")&&w.out_grouping_b(d,97,248)&&w.slice_del());break;case 3:w.slice_from("er")}}function t(){var e,r=w.limit-w.cursor;w.cursor>=a&&(e=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,w.find_among_b(u,2)?(w.bra=w.cursor,w.limit_backward=e,w.cursor=w.limit-r,w.cursor>w.limit_backward&&(w.cursor--,w.bra=w.cursor,w.slice_del())):w.limit_backward=e)}function o(){var e,r;w.cursor>=a&&(r=w.limit_backward,w.limit_backward=a,w.ket=w.cursor,e=w.find_among_b(l,11),e?(w.bra=w.cursor,w.limit_backward=r,1==e&&w.slice_del()):w.limit_backward=r)}var s,a,m=[new r("a",-1,1),new r("e",-1,1),new r("ede",1,1),new r("ande",1,1),new r("ende",1,1),new r("ane",1,1),new r("ene",1,1),new r("hetene",6,1),new r("erte",1,3),new r("en",-1,1),new r("heten",9,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",12,1),new r("s",-1,2),new r("as",14,1),new r("es",14,1),new r("edes",16,1),new r("endes",16,1),new r("enes",16,1),new r("hetenes",19,1),new r("ens",14,1),new r("hetens",21,1),new r("ers",14,1),new r("ets",14,1),new r("et",-1,1),new r("het",25,1),new r("ert",-1,3),new r("ast",-1,1)],u=[new r("dt",-1,-1),new r("vt",-1,-1)],l=[new r("leg",-1,1),new r("eleg",0,1),new r("ig",-1,1),new r("eig",2,1),new r("lig",2,1),new r("elig",4,1),new r("els",-1,1),new r("lov",-1,1),new r("elov",7,1),new r("slov",7,1),new r("hetslov",9,1)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],c=[119,125,149,1],w=new n;this.setCurrent=function(e){w.setCurrent(e)},this.getCurrent=function(){return w.getCurrent()},this.stem=function(){var r=w.cursor;return e(),w.limit_backward=r,w.cursor=w.limit,i(),w.cursor=w.limit,t(),w.cursor=w.limit,o(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return i.setCurrent(e),i.stem(),i.getCurrent()}):(i.setCurrent(e),i.stem(),i.getCurrent())}}(),e.Pipeline.registerFunction(e.no.stemmer,"stemmer-no"),e.no.stopWordFilter=e.generateStopWordFilter("alle at av bare begge ble blei bli blir blitt både båe da de deg dei deim deira deires dem den denne der dere deres det dette di din disse ditt du dykk dykkar då eg ein eit eitt eller elles en enn er et ett etter for fordi fra før ha hadde han hans har hennar henne hennes her hjå ho hoe honom hoss hossen hun hva hvem hver hvilke hvilken hvis hvor hvordan hvorfor i ikke ikkje ikkje ingen ingi inkje inn inni ja jeg kan kom korleis korso kun kunne kva kvar kvarhelst kven kvi kvifor man mange me med medan meg meget mellom men mi min mine mitt mot mykje ned no noe noen noka noko nokon nokor nokre nå når og også om opp oss over på samme seg selv si si sia sidan siden sin sine sitt sjøl skal skulle slik so som som somme somt så sånn til um upp ut uten var vart varte ved vere verte vi vil ville vore vors vort vår være være vært å".split(" ")),e.Pipeline.registerFunction(e.no.stopWordFilter,"stopWordFilter-no")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.pt.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Portuguese` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.pt=function(){this.pipeline.reset(),this.pipeline.add(e.pt.trimmer,e.pt.stopWordFilter,e.pt.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.pt.stemmer))},e.pt.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.pt.trimmer=e.trimmerSupport.generateTrimmer(e.pt.wordCharacters),e.Pipeline.registerFunction(e.pt.trimmer,"trimmer-pt"),e.pt.stemmer=function(){var r=e.stemmerSupport.Among,s=e.stemmerSupport.SnowballProgram,n=new function(){function e(){for(var e;;){if(z.bra=z.cursor,e=z.find_among(k,3))switch(z.ket=z.cursor,e){case 1:z.slice_from("a~");continue;case 2:z.slice_from("o~");continue;case 3:if(z.cursor>=z.limit)break;z.cursor++;continue}break}}function n(){if(z.out_grouping(y,97,250)){for(;!z.in_grouping(y,97,250);){if(z.cursor>=z.limit)return!0;z.cursor++}return!1}return!0}function i(){if(z.in_grouping(y,97,250))for(;!z.out_grouping(y,97,250);){if(z.cursor>=z.limit)return!1;z.cursor++}return g=z.cursor,!0}function o(){var e,r,s=z.cursor;if(z.in_grouping(y,97,250))if(e=z.cursor,n()){if(z.cursor=e,i())return}else g=z.cursor;if(z.cursor=s,z.out_grouping(y,97,250)){if(r=z.cursor,n()){if(z.cursor=r,!z.in_grouping(y,97,250)||z.cursor>=z.limit)return;z.cursor++}g=z.cursor}}function t(){for(;!z.in_grouping(y,97,250);){if(z.cursor>=z.limit)return!1;z.cursor++}for(;!z.out_grouping(y,97,250);){if(z.cursor>=z.limit)return!1;z.cursor++}return!0}function a(){var e=z.cursor;g=z.limit,b=g,h=g,o(),z.cursor=e,t()&&(b=z.cursor,t()&&(h=z.cursor))}function u(){for(var e;;){if(z.bra=z.cursor,e=z.find_among(q,3))switch(z.ket=z.cursor,e){case 1:z.slice_from("ã");continue;case 2:z.slice_from("õ");continue;case 3:if(z.cursor>=z.limit)break;z.cursor++;continue}break}}function w(){return g<=z.cursor}function m(){return b<=z.cursor}function c(){return h<=z.cursor}function l(){var e;if(z.ket=z.cursor,!(e=z.find_among_b(F,45)))return!1;switch(z.bra=z.cursor,e){case 1:if(!c())return!1;z.slice_del();break;case 2:if(!c())return!1;z.slice_from("log");break;case 3:if(!c())return!1;z.slice_from("u");break;case 4:if(!c())return!1;z.slice_from("ente");break;case 5:if(!m())return!1;z.slice_del(),z.ket=z.cursor,e=z.find_among_b(j,4),e&&(z.bra=z.cursor,c()&&(z.slice_del(),1==e&&(z.ket=z.cursor,z.eq_s_b(2,"at")&&(z.bra=z.cursor,c()&&z.slice_del()))));break;case 6:if(!c())return!1;z.slice_del(),z.ket=z.cursor,e=z.find_among_b(C,3),e&&(z.bra=z.cursor,1==e&&c()&&z.slice_del());break;case 7:if(!c())return!1;z.slice_del(),z.ket=z.cursor,e=z.find_among_b(P,3),e&&(z.bra=z.cursor,1==e&&c()&&z.slice_del());break;case 8:if(!c())return!1;z.slice_del(),z.ket=z.cursor,z.eq_s_b(2,"at")&&(z.bra=z.cursor,c()&&z.slice_del());break;case 9:if(!w()||!z.eq_s_b(1,"e"))return!1;z.slice_from("ir")}return!0}function f(){var e,r;if(z.cursor>=g){if(r=z.limit_backward,z.limit_backward=g,z.ket=z.cursor,e=z.find_among_b(S,120))return z.bra=z.cursor,1==e&&z.slice_del(),z.limit_backward=r,!0;z.limit_backward=r}return!1}function d(){var e;z.ket=z.cursor,(e=z.find_among_b(W,7))&&(z.bra=z.cursor,1==e&&w()&&z.slice_del())}function v(e,r){if(z.eq_s_b(1,e)){z.bra=z.cursor;var s=z.limit-z.cursor;if(z.eq_s_b(1,r))return z.cursor=z.limit-s,w()&&z.slice_del(),!1}return!0}function p(){var e;if(z.ket=z.cursor,e=z.find_among_b(L,4))switch(z.bra=z.cursor,e){case 1:w()&&(z.slice_del(),z.ket=z.cursor,z.limit-z.cursor,v("u","g")&&v("i","c"));break;case 2:z.slice_from("c")}}function _(){if(!l()&&(z.cursor=z.limit,!f()))return z.cursor=z.limit,void d();z.cursor=z.limit,z.ket=z.cursor,z.eq_s_b(1,"i")&&(z.bra=z.cursor,z.eq_s_b(1,"c")&&(z.cursor=z.limit,w()&&z.slice_del()))}var h,b,g,k=[new r("",-1,3),new r("ã",0,1),new r("õ",0,2)],q=[new r("",-1,3),new r("a~",0,1),new r("o~",0,2)],j=[new r("ic",-1,-1),new r("ad",-1,-1),new r("os",-1,-1),new r("iv",-1,1)],C=[new r("ante",-1,1),new r("avel",-1,1),new r("ível",-1,1)],P=[new r("ic",-1,1),new r("abil",-1,1),new r("iv",-1,1)],F=[new r("ica",-1,1),new r("ância",-1,1),new r("ência",-1,4),new r("ira",-1,9),new r("adora",-1,1),new r("osa",-1,1),new r("ista",-1,1),new r("iva",-1,8),new r("eza",-1,1),new r("logía",-1,2),new r("idade",-1,7),new r("ante",-1,1),new r("mente",-1,6),new r("amente",12,5),new r("ável",-1,1),new r("ível",-1,1),new r("ución",-1,3),new r("ico",-1,1),new r("ismo",-1,1),new r("oso",-1,1),new r("amento",-1,1),new r("imento",-1,1),new r("ivo",-1,8),new r("aça~o",-1,1),new r("ador",-1,1),new r("icas",-1,1),new r("ências",-1,4),new r("iras",-1,9),new r("adoras",-1,1),new r("osas",-1,1),new r("istas",-1,1),new r("ivas",-1,8),new r("ezas",-1,1),new r("logías",-1,2),new r("idades",-1,7),new r("uciones",-1,3),new r("adores",-1,1),new r("antes",-1,1),new r("aço~es",-1,1),new r("icos",-1,1),new r("ismos",-1,1),new r("osos",-1,1),new r("amentos",-1,1),new r("imentos",-1,1),new r("ivos",-1,8)],S=[new r("ada",-1,1),new r("ida",-1,1),new r("ia",-1,1),new r("aria",2,1),new r("eria",2,1),new r("iria",2,1),new r("ara",-1,1),new r("era",-1,1),new r("ira",-1,1),new r("ava",-1,1),new r("asse",-1,1),new r("esse",-1,1),new r("isse",-1,1),new r("aste",-1,1),new r("este",-1,1),new r("iste",-1,1),new r("ei",-1,1),new r("arei",16,1),new r("erei",16,1),new r("irei",16,1),new r("am",-1,1),new r("iam",20,1),new r("ariam",21,1),new r("eriam",21,1),new r("iriam",21,1),new r("aram",20,1),new r("eram",20,1),new r("iram",20,1),new r("avam",20,1),new r("em",-1,1),new r("arem",29,1),new r("erem",29,1),new r("irem",29,1),new r("assem",29,1),new r("essem",29,1),new r("issem",29,1),new r("ado",-1,1),new r("ido",-1,1),new r("ando",-1,1),new r("endo",-1,1),new r("indo",-1,1),new r("ara~o",-1,1),new r("era~o",-1,1),new r("ira~o",-1,1),new r("ar",-1,1),new r("er",-1,1),new r("ir",-1,1),new r("as",-1,1),new r("adas",47,1),new r("idas",47,1),new r("ias",47,1),new r("arias",50,1),new r("erias",50,1),new r("irias",50,1),new r("aras",47,1),new r("eras",47,1),new r("iras",47,1),new r("avas",47,1),new r("es",-1,1),new r("ardes",58,1),new r("erdes",58,1),new r("irdes",58,1),new r("ares",58,1),new r("eres",58,1),new r("ires",58,1),new r("asses",58,1),new r("esses",58,1),new r("isses",58,1),new r("astes",58,1),new r("estes",58,1),new r("istes",58,1),new r("is",-1,1),new r("ais",71,1),new r("eis",71,1),new r("areis",73,1),new r("ereis",73,1),new r("ireis",73,1),new r("áreis",73,1),new r("éreis",73,1),new r("íreis",73,1),new r("ásseis",73,1),new r("ésseis",73,1),new r("ísseis",73,1),new r("áveis",73,1),new r("íeis",73,1),new r("aríeis",84,1),new r("eríeis",84,1),new r("iríeis",84,1),new r("ados",-1,1),new r("idos",-1,1),new r("amos",-1,1),new r("áramos",90,1),new r("éramos",90,1),new r("íramos",90,1),new r("ávamos",90,1),new r("íamos",90,1),new r("aríamos",95,1),new r("eríamos",95,1),new r("iríamos",95,1),new r("emos",-1,1),new r("aremos",99,1),new r("eremos",99,1),new r("iremos",99,1),new r("ássemos",99,1),new r("êssemos",99,1),new r("íssemos",99,1),new r("imos",-1,1),new r("armos",-1,1),new r("ermos",-1,1),new r("irmos",-1,1),new r("ámos",-1,1),new r("arás",-1,1),new r("erás",-1,1),new r("irás",-1,1),new r("eu",-1,1),new r("iu",-1,1),new r("ou",-1,1),new r("ará",-1,1),new r("erá",-1,1),new r("irá",-1,1)],W=[new r("a",-1,1),new r("i",-1,1),new r("o",-1,1),new r("os",-1,1),new r("á",-1,1),new r("í",-1,1),new r("ó",-1,1)],L=[new r("e",-1,1),new r("ç",-1,2),new r("é",-1,1),new r("ê",-1,1)],y=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,3,19,12,2],z=new s;this.setCurrent=function(e){z.setCurrent(e)},this.getCurrent=function(){return z.getCurrent()},this.stem=function(){var r=z.cursor;return e(),z.cursor=r,a(),z.limit_backward=r,z.cursor=z.limit,_(),z.cursor=z.limit,p(),z.cursor=z.limit_backward,u(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.pt.stemmer,"stemmer-pt"),e.pt.stopWordFilter=e.generateStopWordFilter("a ao aos aquela aquelas aquele aqueles aquilo as até com como da das de dela delas dele deles depois do dos e ela elas ele eles em entre era eram essa essas esse esses esta estamos estas estava estavam este esteja estejam estejamos estes esteve estive estivemos estiver estivera estiveram estiverem estivermos estivesse estivessem estivéramos estivéssemos estou está estávamos estão eu foi fomos for fora foram forem formos fosse fossem fui fôramos fôssemos haja hajam hajamos havemos hei houve houvemos houver houvera houveram houverei houverem houveremos houveria houveriam houvermos houverá houverão houveríamos houvesse houvessem houvéramos houvéssemos há hão isso isto já lhe lhes mais mas me mesmo meu meus minha minhas muito na nas nem no nos nossa nossas nosso nossos num numa não nós o os ou para pela pelas pelo pelos por qual quando que quem se seja sejam sejamos sem serei seremos seria seriam será serão seríamos seu seus somos sou sua suas são só também te tem temos tenha tenham tenhamos tenho terei teremos teria teriam terá terão teríamos teu teus teve tinha tinham tive tivemos tiver tivera tiveram tiverem tivermos tivesse tivessem tivéramos tivéssemos tu tua tuas tém tínhamos um uma você vocês vos à às éramos".split(" ")),e.Pipeline.registerFunction(e.pt.stopWordFilter,"stopWordFilter-pt")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.ro.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Romanian` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,i){"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i():i()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.ro=function(){this.pipeline.reset(),this.pipeline.add(e.ro.trimmer,e.ro.stopWordFilter,e.ro.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.ro.stemmer))},e.ro.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.ro.trimmer=e.trimmerSupport.generateTrimmer(e.ro.wordCharacters),e.Pipeline.registerFunction(e.ro.trimmer,"trimmer-ro"),e.ro.stemmer=function(){var i=e.stemmerSupport.Among,r=e.stemmerSupport.SnowballProgram,n=new function(){function e(e,i){L.eq_s(1,e)&&(L.ket=L.cursor,L.in_grouping(W,97,259)&&L.slice_from(i))}function n(){for(var i,r;;){if(i=L.cursor,L.in_grouping(W,97,259)&&(r=L.cursor,L.bra=r,e("u","U"),L.cursor=r,e("i","I")),L.cursor=i,L.cursor>=L.limit)break;L.cursor++}}function t(){if(L.out_grouping(W,97,259)){for(;!L.in_grouping(W,97,259);){if(L.cursor>=L.limit)return!0;L.cursor++}return!1}return!0}function a(){if(L.in_grouping(W,97,259))for(;!L.out_grouping(W,97,259);){if(L.cursor>=L.limit)return!0;L.cursor++}return!1}function o(){var e,i,r=L.cursor;if(L.in_grouping(W,97,259)){if(e=L.cursor,!t())return void(h=L.cursor);if(L.cursor=e,!a())return void(h=L.cursor)}L.cursor=r,L.out_grouping(W,97,259)&&(i=L.cursor,t()&&(L.cursor=i,L.in_grouping(W,97,259)&&L.cursor=L.limit)return!1;L.cursor++}for(;!L.out_grouping(W,97,259);){if(L.cursor>=L.limit)return!1;L.cursor++}return!0}function c(){var e=L.cursor;h=L.limit,k=h,g=h,o(),L.cursor=e,u()&&(k=L.cursor,u()&&(g=L.cursor))}function s(){for(var e;;){if(L.bra=L.cursor,e=L.find_among(z,3))switch(L.ket=L.cursor,e){case 1:L.slice_from("i");continue;case 2:L.slice_from("u");continue;case 3:if(L.cursor>=L.limit)break;L.cursor++;continue}break}}function w(){return h<=L.cursor}function m(){return k<=L.cursor}function l(){return g<=L.cursor}function f(){var e,i;if(L.ket=L.cursor,(e=L.find_among_b(C,16))&&(L.bra=L.cursor,m()))switch(e){case 1:L.slice_del();break;case 2:L.slice_from("a");break;case 3:L.slice_from("e");break;case 4:L.slice_from("i");break;case 5:i=L.limit-L.cursor,L.eq_s_b(2,"ab")||(L.cursor=L.limit-i,L.slice_from("i"));break;case 6:L.slice_from("at");break;case 7:L.slice_from("aţi")}}function p(){var e,i=L.limit-L.cursor;if(L.ket=L.cursor,(e=L.find_among_b(P,46))&&(L.bra=L.cursor,m())){switch(e){case 1:L.slice_from("abil");break;case 2:L.slice_from("ibil");break;case 3:L.slice_from("iv");break;case 4:L.slice_from("ic");break;case 5:L.slice_from("at");break;case 6:L.slice_from("it")}return _=!0,L.cursor=L.limit-i,!0}return!1}function d(){var e,i;for(_=!1;;)if(i=L.limit-L.cursor,!p()){L.cursor=L.limit-i;break}if(L.ket=L.cursor,(e=L.find_among_b(F,62))&&(L.bra=L.cursor,l())){switch(e){case 1:L.slice_del();break;case 2:L.eq_s_b(1,"ţ")&&(L.bra=L.cursor,L.slice_from("t"));break;case 3:L.slice_from("ist")}_=!0}}function b(){var e,i,r;if(L.cursor>=h){if(i=L.limit_backward,L.limit_backward=h,L.ket=L.cursor,e=L.find_among_b(q,94))switch(L.bra=L.cursor,e){case 1:if(r=L.limit-L.cursor,!L.out_grouping_b(W,97,259)&&(L.cursor=L.limit-r,!L.eq_s_b(1,"u")))break;case 2:L.slice_del()}L.limit_backward=i}}function v(){var e;L.ket=L.cursor,(e=L.find_among_b(S,5))&&(L.bra=L.cursor,w()&&1==e&&L.slice_del())}var _,g,k,h,z=[new i("",-1,3),new i("I",0,1),new i("U",0,2)],C=[new i("ea",-1,3),new i("aţia",-1,7),new i("aua",-1,2),new i("iua",-1,4),new i("aţie",-1,7),new i("ele",-1,3),new i("ile",-1,5),new i("iile",6,4),new i("iei",-1,4),new i("atei",-1,6),new i("ii",-1,4),new i("ului",-1,1),new i("ul",-1,1),new i("elor",-1,3),new i("ilor",-1,4),new i("iilor",14,4)],P=[new i("icala",-1,4),new i("iciva",-1,4),new i("ativa",-1,5),new i("itiva",-1,6),new i("icale",-1,4),new i("aţiune",-1,5),new i("iţiune",-1,6),new i("atoare",-1,5),new i("itoare",-1,6),new i("ătoare",-1,5),new i("icitate",-1,4),new i("abilitate",-1,1),new i("ibilitate",-1,2),new i("ivitate",-1,3),new i("icive",-1,4),new i("ative",-1,5),new i("itive",-1,6),new i("icali",-1,4),new i("atori",-1,5),new i("icatori",18,4),new i("itori",-1,6),new i("ători",-1,5),new i("icitati",-1,4),new i("abilitati",-1,1),new i("ivitati",-1,3),new i("icivi",-1,4),new i("ativi",-1,5),new i("itivi",-1,6),new i("icităi",-1,4),new i("abilităi",-1,1),new i("ivităi",-1,3),new i("icităţi",-1,4),new i("abilităţi",-1,1),new i("ivităţi",-1,3),new i("ical",-1,4),new i("ator",-1,5),new i("icator",35,4),new i("itor",-1,6),new i("ător",-1,5),new i("iciv",-1,4),new i("ativ",-1,5),new i("itiv",-1,6),new i("icală",-1,4),new i("icivă",-1,4),new i("ativă",-1,5),new i("itivă",-1,6)],F=[new i("ica",-1,1),new i("abila",-1,1),new i("ibila",-1,1),new i("oasa",-1,1),new i("ata",-1,1),new i("ita",-1,1),new i("anta",-1,1),new i("ista",-1,3),new i("uta",-1,1),new i("iva",-1,1),new i("ic",-1,1),new i("ice",-1,1),new i("abile",-1,1),new i("ibile",-1,1),new i("isme",-1,3),new i("iune",-1,2),new i("oase",-1,1),new i("ate",-1,1),new i("itate",17,1),new i("ite",-1,1),new i("ante",-1,1),new i("iste",-1,3),new i("ute",-1,1),new i("ive",-1,1),new i("ici",-1,1),new i("abili",-1,1),new i("ibili",-1,1),new i("iuni",-1,2),new i("atori",-1,1),new i("osi",-1,1),new i("ati",-1,1),new i("itati",30,1),new i("iti",-1,1),new i("anti",-1,1),new i("isti",-1,3),new i("uti",-1,1),new i("işti",-1,3),new i("ivi",-1,1),new i("ităi",-1,1),new i("oşi",-1,1),new i("ităţi",-1,1),new i("abil",-1,1),new i("ibil",-1,1),new i("ism",-1,3),new i("ator",-1,1),new i("os",-1,1),new i("at",-1,1),new i("it",-1,1),new i("ant",-1,1),new i("ist",-1,3),new i("ut",-1,1),new i("iv",-1,1),new i("ică",-1,1),new i("abilă",-1,1),new i("ibilă",-1,1),new i("oasă",-1,1),new i("ată",-1,1),new i("ită",-1,1),new i("antă",-1,1),new i("istă",-1,3),new i("ută",-1,1),new i("ivă",-1,1)],q=[new i("ea",-1,1),new i("ia",-1,1),new i("esc",-1,1),new i("ăsc",-1,1),new i("ind",-1,1),new i("ând",-1,1),new i("are",-1,1),new i("ere",-1,1),new i("ire",-1,1),new i("âre",-1,1),new i("se",-1,2),new i("ase",10,1),new i("sese",10,2),new i("ise",10,1),new i("use",10,1),new i("âse",10,1),new i("eşte",-1,1),new i("ăşte",-1,1),new i("eze",-1,1),new i("ai",-1,1),new i("eai",19,1),new i("iai",19,1),new i("sei",-1,2),new i("eşti",-1,1),new i("ăşti",-1,1),new i("ui",-1,1),new i("ezi",-1,1),new i("âi",-1,1),new i("aşi",-1,1),new i("seşi",-1,2),new i("aseşi",29,1),new i("seseşi",29,2),new i("iseşi",29,1),new i("useşi",29,1),new i("âseşi",29,1),new i("işi",-1,1),new i("uşi",-1,1),new i("âşi",-1,1),new i("aţi",-1,2),new i("eaţi",38,1),new i("iaţi",38,1),new i("eţi",-1,2),new i("iţi",-1,2),new i("âţi",-1,2),new i("arăţi",-1,1),new i("serăţi",-1,2),new i("aserăţi",45,1),new i("seserăţi",45,2),new i("iserăţi",45,1),new i("userăţi",45,1),new i("âserăţi",45,1),new i("irăţi",-1,1),new i("urăţi",-1,1),new i("ârăţi",-1,1),new i("am",-1,1),new i("eam",54,1),new i("iam",54,1),new i("em",-1,2),new i("asem",57,1),new i("sesem",57,2),new i("isem",57,1),new i("usem",57,1),new i("âsem",57,1),new i("im",-1,2),new i("âm",-1,2),new i("ăm",-1,2),new i("arăm",65,1),new i("serăm",65,2),new i("aserăm",67,1),new i("seserăm",67,2),new i("iserăm",67,1),new i("userăm",67,1),new i("âserăm",67,1),new i("irăm",65,1),new i("urăm",65,1),new i("ârăm",65,1),new i("au",-1,1),new i("eau",76,1),new i("iau",76,1),new i("indu",-1,1),new i("ându",-1,1),new i("ez",-1,1),new i("ească",-1,1),new i("ară",-1,1),new i("seră",-1,2),new i("aseră",84,1),new i("seseră",84,2),new i("iseră",84,1),new i("useră",84,1),new i("âseră",84,1),new i("iră",-1,1),new i("ură",-1,1),new i("âră",-1,1),new i("ează",-1,1)],S=[new i("a",-1,1),new i("e",-1,1),new i("ie",1,1),new i("i",-1,1),new i("ă",-1,1)],W=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,2,32,0,0,4],L=new r;this.setCurrent=function(e){L.setCurrent(e)},this.getCurrent=function(){return L.getCurrent()},this.stem=function(){var e=L.cursor;return n(),L.cursor=e,c(),L.limit_backward=e,L.cursor=L.limit,f(),L.cursor=L.limit,d(),L.cursor=L.limit,_||(L.cursor=L.limit,b(),L.cursor=L.limit),v(),L.cursor=L.limit_backward,s(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.ro.stemmer,"stemmer-ro"),e.ro.stopWordFilter=e.generateStopWordFilter("acea aceasta această aceea acei aceia acel acela acele acelea acest acesta aceste acestea aceşti aceştia acolo acord acum ai aia aibă aici al ale alea altceva altcineva am ar are asemenea asta astea astăzi asupra au avea avem aveţi azi aş aşadar aţi bine bucur bună ca care caut ce cel ceva chiar cinci cine cineva contra cu cum cumva curând curînd când cât câte câtva câţi cînd cît cîte cîtva cîţi că căci cărei căror cărui către da dacă dar datorită dată dau de deci deja deoarece departe deşi din dinaintea dintr- dintre doi doilea două drept după dă ea ei el ele eram este eu eşti face fata fi fie fiecare fii fim fiu fiţi frumos fără graţie halbă iar ieri la le li lor lui lângă lîngă mai mea mei mele mereu meu mi mie mine mult multă mulţi mulţumesc mâine mîine mă ne nevoie nici nicăieri nimeni nimeri nimic nişte noastre noastră noi noroc nostru nouă noştri nu opt ori oricare orice oricine oricum oricând oricât oricînd oricît oriunde patra patru patrulea pe pentru peste pic poate pot prea prima primul prin puţin puţina puţină până pînă rog sa sale sau se spate spre sub sunt suntem sunteţi sută sînt sîntem sînteţi să săi său ta tale te timp tine toate toată tot totuşi toţi trei treia treilea tu tăi tău un una unde undeva unei uneia unele uneori unii unor unora unu unui unuia unul vi voastre voastră voi vostru vouă voştri vreme vreo vreun vă zece zero zi zice îi îl îmi împotriva în înainte înaintea încotro încât încît între întrucât întrucît îţi ăla ălea ăsta ăstea ăştia şapte şase şi ştiu ţi ţie".split(" ")),e.Pipeline.registerFunction(e.ro.stopWordFilter,"stopWordFilter-ro")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.ru.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Russian` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():n()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.ru=function(){this.pipeline.reset(),this.pipeline.add(e.ru.trimmer,e.ru.stopWordFilter,e.ru.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.ru.stemmer))},e.ru.wordCharacters="Ѐ-҄҇-ԯᴫᵸⷠ-ⷿꙀ-ꚟ︮︯",e.ru.trimmer=e.trimmerSupport.generateTrimmer(e.ru.wordCharacters),e.Pipeline.registerFunction(e.ru.trimmer,"trimmer-ru"),e.ru.stemmer=function(){var n=e.stemmerSupport.Among,r=e.stemmerSupport.SnowballProgram,t=new function(){function e(){for(;!W.in_grouping(S,1072,1103);){if(W.cursor>=W.limit)return!1;W.cursor++}return!0}function t(){for(;!W.out_grouping(S,1072,1103);){if(W.cursor>=W.limit)return!1;W.cursor++}return!0}function w(){b=W.limit,_=b,e()&&(b=W.cursor,t()&&e()&&t()&&(_=W.cursor))}function i(){return _<=W.cursor}function u(e,n){var r,t;if(W.ket=W.cursor,r=W.find_among_b(e,n)){switch(W.bra=W.cursor,r){case 1:if(t=W.limit-W.cursor,!W.eq_s_b(1,"а")&&(W.cursor=W.limit-t,!W.eq_s_b(1,"я")))return!1;case 2:W.slice_del()}return!0}return!1}function o(){return u(h,9)}function s(e,n){var r;return W.ket=W.cursor,!!(r=W.find_among_b(e,n))&&(W.bra=W.cursor,1==r&&W.slice_del(),!0)}function c(){return s(g,26)}function m(){return!!c()&&(u(C,8),!0)}function f(){return s(k,2)}function l(){return u(P,46)}function a(){s(v,36)}function p(){var e;W.ket=W.cursor,(e=W.find_among_b(F,2))&&(W.bra=W.cursor,i()&&1==e&&W.slice_del())}function d(){var e;if(W.ket=W.cursor,e=W.find_among_b(q,4))switch(W.bra=W.cursor,e){case 1:if(W.slice_del(),W.ket=W.cursor,!W.eq_s_b(1,"н"))break;W.bra=W.cursor;case 2:if(!W.eq_s_b(1,"н"))break;case 3:W.slice_del()}}var _,b,h=[new n("в",-1,1),new n("ив",0,2),new n("ыв",0,2),new n("вши",-1,1),new n("ивши",3,2),new n("ывши",3,2),new n("вшись",-1,1),new n("ившись",6,2),new n("ывшись",6,2)],g=[new n("ее",-1,1),new n("ие",-1,1),new n("ое",-1,1),new n("ые",-1,1),new n("ими",-1,1),new n("ыми",-1,1),new n("ей",-1,1),new n("ий",-1,1),new n("ой",-1,1),new n("ый",-1,1),new n("ем",-1,1),new n("им",-1,1),new n("ом",-1,1),new n("ым",-1,1),new n("его",-1,1),new n("ого",-1,1),new n("ему",-1,1),new n("ому",-1,1),new n("их",-1,1),new n("ых",-1,1),new n("ею",-1,1),new n("ою",-1,1),new n("ую",-1,1),new n("юю",-1,1),new n("ая",-1,1),new n("яя",-1,1)],C=[new n("ем",-1,1),new n("нн",-1,1),new n("вш",-1,1),new n("ивш",2,2),new n("ывш",2,2),new n("щ",-1,1),new n("ющ",5,1),new n("ующ",6,2)],k=[new n("сь",-1,1),new n("ся",-1,1)],P=[new n("ла",-1,1),new n("ила",0,2),new n("ыла",0,2),new n("на",-1,1),new n("ена",3,2),new n("ете",-1,1),new n("ите",-1,2),new n("йте",-1,1),new n("ейте",7,2),new n("уйте",7,2),new n("ли",-1,1),new n("или",10,2),new n("ыли",10,2),new n("й",-1,1),new n("ей",13,2),new n("уй",13,2),new n("л",-1,1),new n("ил",16,2),new n("ыл",16,2),new n("ем",-1,1),new n("им",-1,2),new n("ым",-1,2),new n("н",-1,1),new n("ен",22,2),new n("ло",-1,1),new n("ило",24,2),new n("ыло",24,2),new n("но",-1,1),new n("ено",27,2),new n("нно",27,1),new n("ет",-1,1),new n("ует",30,2),new n("ит",-1,2),new n("ыт",-1,2),new n("ют",-1,1),new n("уют",34,2),new n("ят",-1,2),new n("ны",-1,1),new n("ены",37,2),new n("ть",-1,1),new n("ить",39,2),new n("ыть",39,2),new n("ешь",-1,1),new n("ишь",-1,2),new n("ю",-1,2),new n("ую",44,2)],v=[new n("а",-1,1),new n("ев",-1,1),new n("ов",-1,1),new n("е",-1,1),new n("ие",3,1),new n("ье",3,1),new n("и",-1,1),new n("еи",6,1),new n("ии",6,1),new n("ами",6,1),new n("ями",6,1),new n("иями",10,1),new n("й",-1,1),new n("ей",12,1),new n("ией",13,1),new n("ий",12,1),new n("ой",12,1),new n("ам",-1,1),new n("ем",-1,1),new n("ием",18,1),new n("ом",-1,1),new n("ям",-1,1),new n("иям",21,1),new n("о",-1,1),new n("у",-1,1),new n("ах",-1,1),new n("ях",-1,1),new n("иях",26,1),new n("ы",-1,1),new n("ь",-1,1),new n("ю",-1,1),new n("ию",30,1),new n("ью",30,1),new n("я",-1,1),new n("ия",33,1),new n("ья",33,1)],F=[new n("ост",-1,1),new n("ость",-1,1)],q=[new n("ейше",-1,1),new n("н",-1,2),new n("ейш",-1,1),new n("ь",-1,3)],S=[33,65,8,232],W=new r;this.setCurrent=function(e){W.setCurrent(e)},this.getCurrent=function(){return W.getCurrent()},this.stem=function(){return w(),W.cursor=W.limit,!(W.cursor=i&&(e-=i,t[e>>3]&1<<(7&e)))return this.cursor++,!0}return!1},in_grouping_b:function(t,i,s){if(this.cursor>this.limit_backward){var e=r.charCodeAt(this.cursor-1);if(e<=s&&e>=i&&(e-=i,t[e>>3]&1<<(7&e)))return this.cursor--,!0}return!1},out_grouping:function(t,i,s){if(this.cursors||e>3]&1<<(7&e)))return this.cursor++,!0}return!1},out_grouping_b:function(t,i,s){if(this.cursor>this.limit_backward){var e=r.charCodeAt(this.cursor-1);if(e>s||e>3]&1<<(7&e)))return this.cursor--,!0}return!1},eq_s:function(t,i){if(this.limit-this.cursor>1),f=0,l=o0||e==s||c)break;c=!0}}for(;;){var _=t[s];if(o>=_.s_size){if(this.cursor=n+_.s_size,!_.method)return _.result;var b=_.method();if(this.cursor=n+_.s_size,b)return _.result}if((s=_.substring_i)<0)return 0}},find_among_b:function(t,i){for(var s=0,e=i,n=this.cursor,u=this.limit_backward,o=0,h=0,c=!1;;){for(var a=s+(e-s>>1),f=0,l=o=0;m--){if(n-l==u){f=-1;break}if(f=r.charCodeAt(n-1-l)-_.s[m])break;l++}if(f<0?(e=a,h=l):(s=a,o=l),e-s<=1){if(s>0||e==s||c)break;c=!0}}for(;;){var _=t[s];if(o>=_.s_size){if(this.cursor=n-_.s_size,!_.method)return _.result;var b=_.method();if(this.cursor=n-_.s_size,b)return _.result}if((s=_.substring_i)<0)return 0}},replace_s:function(t,i,s){var e=s.length-(i-t),n=r.substring(0,t),u=r.substring(i);return r=n+s+u,this.limit+=e,this.cursor>=i?this.cursor+=e:this.cursor>t&&(this.cursor=t),e},slice_check:function(){if(this.bra<0||this.bra>this.ket||this.ket>this.limit||this.limit>r.length)throw"faulty slice operation"},slice_from:function(r){this.slice_check(),this.replace_s(this.bra,this.ket,r)},slice_del:function(){this.slice_from("")},insert:function(r,t,i){var s=this.replace_s(r,t,i);r<=this.bra&&(this.bra+=s),r<=this.ket&&(this.ket+=s)},slice_to:function(){return this.slice_check(),r.substring(this.bra,this.ket)},eq_v_b:function(r){return this.eq_s_b(r.length,r)}}}},r.trimmerSupport={generateTrimmer:function(r){var t=new RegExp("^[^"+r+"]+"),i=new RegExp("[^"+r+"]+$");return function(r){return"function"==typeof r.update?r.update(function(r){return r.replace(t,"").replace(i,"")}):r.replace(t,"").replace(i,"")}}}}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.sv.min.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * Lunr languages, `Swedish` language
3 | * https://github.com/MihaiValentin/lunr-languages
4 | *
5 | * Copyright 2014, Mihai Valentin
6 | * http://www.mozilla.org/MPL/
7 | */
8 | /*!
9 | * based on
10 | * Snowball JavaScript Library v0.3
11 | * http://code.google.com/p/urim/
12 | * http://snowball.tartarus.org/
13 | *
14 | * Copyright 2010, Oleg Mazko
15 | * http://www.mozilla.org/MPL/
16 | */
17 |
18 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.sv=function(){this.pipeline.reset(),this.pipeline.add(e.sv.trimmer,e.sv.stopWordFilter,e.sv.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sv.stemmer))},e.sv.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA-Za-z",e.sv.trimmer=e.trimmerSupport.generateTrimmer(e.sv.wordCharacters),e.Pipeline.registerFunction(e.sv.trimmer,"trimmer-sv"),e.sv.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,t=new function(){function e(){var e,r=w.cursor+3;if(o=w.limit,0<=r||r<=w.limit){for(a=r;;){if(e=w.cursor,w.in_grouping(l,97,246)){w.cursor=e;break}if(w.cursor=e,w.cursor>=w.limit)return;w.cursor++}for(;!w.out_grouping(l,97,246);){if(w.cursor>=w.limit)return;w.cursor++}o=w.cursor,o=o&&(w.limit_backward=o,w.cursor=w.limit,w.ket=w.cursor,e=w.find_among_b(u,37),w.limit_backward=r,e))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:w.in_grouping_b(d,98,121)&&w.slice_del()}}function i(){var e=w.limit_backward;w.cursor>=o&&(w.limit_backward=o,w.cursor=w.limit,w.find_among_b(c,7)&&(w.cursor=w.limit,w.ket=w.cursor,w.cursor>w.limit_backward&&(w.bra=--w.cursor,w.slice_del())),w.limit_backward=e)}function s(){var e,r;if(w.cursor>=o){if(r=w.limit_backward,w.limit_backward=o,w.cursor=w.limit,w.ket=w.cursor,e=w.find_among_b(m,5))switch(w.bra=w.cursor,e){case 1:w.slice_del();break;case 2:w.slice_from("lös");break;case 3:w.slice_from("full")}w.limit_backward=r}}var a,o,u=[new r("a",-1,1),new r("arna",0,1),new r("erna",0,1),new r("heterna",2,1),new r("orna",0,1),new r("ad",-1,1),new r("e",-1,1),new r("ade",6,1),new r("ande",6,1),new r("arne",6,1),new r("are",6,1),new r("aste",6,1),new r("en",-1,1),new r("anden",12,1),new r("aren",12,1),new r("heten",12,1),new r("ern",-1,1),new r("ar",-1,1),new r("er",-1,1),new r("heter",18,1),new r("or",-1,1),new r("s",-1,2),new r("as",21,1),new r("arnas",22,1),new r("ernas",22,1),new r("ornas",22,1),new r("es",21,1),new r("ades",26,1),new r("andes",26,1),new r("ens",21,1),new r("arens",29,1),new r("hetens",29,1),new r("erns",21,1),new r("at",-1,1),new r("andet",-1,1),new r("het",-1,1),new r("ast",-1,1)],c=[new r("dd",-1,-1),new r("gd",-1,-1),new r("nn",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1),new r("tt",-1,-1)],m=[new r("ig",-1,1),new r("lig",0,1),new r("els",-1,1),new r("fullt",-1,3),new r("löst",-1,2)],l=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,24,0,32],d=[119,127,149],w=new n;this.setCurrent=function(e){w.setCurrent(e)},this.getCurrent=function(){return w.getCurrent()},this.stem=function(){var r=w.cursor;return e(),w.limit_backward=r,w.cursor=w.limit,t(),w.cursor=w.limit,i(),w.cursor=w.limit,s(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return t.setCurrent(e),t.stem(),t.getCurrent()}):(t.setCurrent(e),t.stem(),t.getCurrent())}}(),e.Pipeline.registerFunction(e.sv.stemmer,"stemmer-sv"),e.sv.stopWordFilter=e.generateStopWordFilter("alla allt att av blev bli blir blivit de dem den denna deras dess dessa det detta dig din dina ditt du där då efter ej eller en er era ert ett från för ha hade han hans har henne hennes hon honom hur här i icke ingen inom inte jag ju kan kunde man med mellan men mig min mina mitt mot mycket ni nu när någon något några och om oss på samma sedan sig sin sina sitta själv skulle som så sådan sådana sådant till under upp ut utan vad var vara varför varit varje vars vart vem vi vid vilka vilkas vilken vilket vår våra vårt än är åt över".split(" ")),e.Pipeline.registerFunction(e.sv.stopWordFilter,"stopWordFilter-sv")}});
--------------------------------------------------------------------------------
/assets/javascripts/lunr/min/lunr.vi.min.js:
--------------------------------------------------------------------------------
1 | !function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.vi=function(){this.pipeline.reset(),this.pipeline.add(e.vi.stopWordFilter,e.vi.trimmer)},e.vi.wordCharacters="[A-Za-ẓ̀͐́͑̉̃̓ÂâÊêÔôĂ-ăĐ-đƠ-ơƯ-ư]",e.vi.trimmer=e.trimmerSupport.generateTrimmer(e.vi.wordCharacters),e.Pipeline.registerFunction(e.vi.trimmer,"trimmer-vi"),e.vi.stopWordFilter=e.generateStopWordFilter("là cái nhưng mà".split(" "))}});
--------------------------------------------------------------------------------
/assets/stylesheets/palette.616af814.min.css:
--------------------------------------------------------------------------------
1 | [data-md-color-accent=red]{--md-accent-fg-color: hsla(348deg, 100%, 55%, 1);--md-accent-fg-color--transparent: hsla(348deg, 100%, 55%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=pink]{--md-accent-fg-color: hsla(339deg, 100%, 48%, 1);--md-accent-fg-color--transparent: hsla(339deg, 100%, 48%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=purple]{--md-accent-fg-color: hsla(291deg, 96%, 62%, 1);--md-accent-fg-color--transparent: hsla(291deg, 96%, 62%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=deep-purple]{--md-accent-fg-color: hsla(256deg, 100%, 65%, 1);--md-accent-fg-color--transparent: hsla(256deg, 100%, 65%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=indigo]{--md-accent-fg-color: hsla(231deg, 99%, 66%, 1);--md-accent-fg-color--transparent: hsla(231deg, 99%, 66%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=blue]{--md-accent-fg-color: hsla(218deg, 100%, 63%, 1);--md-accent-fg-color--transparent: hsla(218deg, 100%, 63%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=light-blue]{--md-accent-fg-color: hsla(203deg, 100%, 46%, 1);--md-accent-fg-color--transparent: hsla(203deg, 100%, 46%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=cyan]{--md-accent-fg-color: hsla(188deg, 100%, 42%, 1);--md-accent-fg-color--transparent: hsla(188deg, 100%, 42%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=teal]{--md-accent-fg-color: hsla(172deg, 100%, 37%, 1);--md-accent-fg-color--transparent: hsla(172deg, 100%, 37%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=green]{--md-accent-fg-color: hsla(145deg, 100%, 39%, 1);--md-accent-fg-color--transparent: hsla(145deg, 100%, 39%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=light-green]{--md-accent-fg-color: hsla(97deg, 81%, 48%, 1);--md-accent-fg-color--transparent: hsla(97deg, 81%, 48%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-accent=lime]{--md-accent-fg-color: hsla(75deg, 100%, 46%, 1);--md-accent-fg-color--transparent: hsla(75deg, 100%, 46%, 0.1);--md-accent-bg-color: hsla(0, 0%, 0%, 0.87);--md-accent-bg-color--light: hsla(0, 0%, 0%, 0.54)}[data-md-color-accent=yellow]{--md-accent-fg-color: hsla(50deg, 100%, 50%, 1);--md-accent-fg-color--transparent: hsla(50deg, 100%, 50%, 0.1);--md-accent-bg-color: hsla(0, 0%, 0%, 0.87);--md-accent-bg-color--light: hsla(0, 0%, 0%, 0.54)}[data-md-color-accent=amber]{--md-accent-fg-color: hsla(40deg, 100%, 50%, 1);--md-accent-fg-color--transparent: hsla(40deg, 100%, 50%, 0.1);--md-accent-bg-color: hsla(0, 0%, 0%, 0.87);--md-accent-bg-color--light: hsla(0, 0%, 0%, 0.54)}[data-md-color-accent=orange]{--md-accent-fg-color: hsla(34deg, 100%, 50%, 1);--md-accent-fg-color--transparent: hsla(34deg, 100%, 50%, 0.1);--md-accent-bg-color: hsla(0, 0%, 0%, 0.87);--md-accent-bg-color--light: hsla(0, 0%, 0%, 0.54)}[data-md-color-accent=deep-orange]{--md-accent-fg-color: hsla(14deg, 100%, 63%, 1);--md-accent-fg-color--transparent: hsla(14deg, 100%, 63%, 0.1);--md-accent-bg-color: hsla(0, 0%, 100%, 1);--md-accent-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=red]{--md-primary-fg-color: hsla(1deg, 83%, 63%, 1);--md-primary-fg-color--light: hsla(0deg, 69%, 67%, 1);--md-primary-fg-color--dark: hsla(1deg, 77%, 55%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=pink]{--md-primary-fg-color: hsla(340deg, 82%, 52%, 1);--md-primary-fg-color--light: hsla(340deg, 82%, 59%, 1);--md-primary-fg-color--dark: hsla(336deg, 78%, 43%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=purple]{--md-primary-fg-color: hsla(291deg, 47%, 51%, 1);--md-primary-fg-color--light: hsla(291deg, 47%, 60%, 1);--md-primary-fg-color--dark: hsla(287deg, 65%, 40%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=deep-purple]{--md-primary-fg-color: hsla(262deg, 47%, 55%, 1);--md-primary-fg-color--light: hsla(262deg, 47%, 63%, 1);--md-primary-fg-color--dark: hsla(262deg, 52%, 47%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=indigo]{--md-primary-fg-color: hsla(231deg, 48%, 48%, 1);--md-primary-fg-color--light: hsla(231deg, 44%, 56%, 1);--md-primary-fg-color--dark: hsla(232deg, 54%, 41%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=blue]{--md-primary-fg-color: hsla(207deg, 90%, 54%, 1);--md-primary-fg-color--light: hsla(207deg, 90%, 61%, 1);--md-primary-fg-color--dark: hsla(210deg, 79%, 46%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=light-blue]{--md-primary-fg-color: hsla(199deg, 98%, 48%, 1);--md-primary-fg-color--light: hsla(199deg, 92%, 56%, 1);--md-primary-fg-color--dark: hsla(201deg, 98%, 41%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=cyan]{--md-primary-fg-color: hsla(187deg, 100%, 42%, 1);--md-primary-fg-color--light: hsla(187deg, 71%, 50%, 1);--md-primary-fg-color--dark: hsla(186deg, 100%, 33%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=teal]{--md-primary-fg-color: hsla(174deg, 100%, 29%, 1);--md-primary-fg-color--light: hsla(174deg, 63%, 40%, 1);--md-primary-fg-color--dark: hsla(173deg, 100%, 24%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=green]{--md-primary-fg-color: hsla(122deg, 39%, 49%, 1);--md-primary-fg-color--light: hsla(123deg, 38%, 57%, 1);--md-primary-fg-color--dark: hsla(123deg, 43%, 39%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=light-green]{--md-primary-fg-color: hsla(88deg, 50%, 53%, 1);--md-primary-fg-color--light: hsla(88deg, 50%, 60%, 1);--md-primary-fg-color--dark: hsla(92deg, 48%, 42%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=lime]{--md-primary-fg-color: hsla(66deg, 70%, 54%, 1);--md-primary-fg-color--light: hsla(66deg, 70%, 61%, 1);--md-primary-fg-color--dark: hsla(62deg, 61%, 44%, 1);--md-primary-bg-color: hsla(0, 0%, 0%, 0.87);--md-primary-bg-color--light: hsla(0, 0%, 0%, 0.54)}[data-md-color-primary=yellow]{--md-primary-fg-color: hsla(54deg, 100%, 62%, 1);--md-primary-fg-color--light: hsla(54deg, 100%, 67%, 1);--md-primary-fg-color--dark: hsla(43deg, 96%, 58%, 1);--md-primary-bg-color: hsla(0, 0%, 0%, 0.87);--md-primary-bg-color--light: hsla(0, 0%, 0%, 0.54)}[data-md-color-primary=amber]{--md-primary-fg-color: hsla(45deg, 100%, 51%, 1);--md-primary-fg-color--light: hsla(45deg, 100%, 58%, 1);--md-primary-fg-color--dark: hsla(38deg, 100%, 50%, 1);--md-primary-bg-color: hsla(0, 0%, 0%, 0.87);--md-primary-bg-color--light: hsla(0, 0%, 0%, 0.54)}[data-md-color-primary=orange]{--md-primary-fg-color: hsla(36deg, 100%, 57%, 1);--md-primary-fg-color--light: hsla(36deg, 100%, 57%, 1);--md-primary-fg-color--dark: hsla(33deg, 100%, 49%, 1);--md-primary-bg-color: hsla(0, 0%, 0%, 0.87);--md-primary-bg-color--light: hsla(0, 0%, 0%, 0.54)}[data-md-color-primary=deep-orange]{--md-primary-fg-color: hsla(14deg, 100%, 63%, 1);--md-primary-fg-color--light: hsla(14deg, 100%, 70%, 1);--md-primary-fg-color--dark: hsla(14deg, 91%, 54%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=brown]{--md-primary-fg-color: hsla(16deg, 25%, 38%, 1);--md-primary-fg-color--light: hsla(16deg, 18%, 47%, 1);--md-primary-fg-color--dark: hsla(14deg, 26%, 29%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=grey]{--md-primary-fg-color: hsla(0deg, 0%, 46%, 1);--md-primary-fg-color--light: hsla(0deg, 0%, 62%, 1);--md-primary-fg-color--dark: hsla(0deg, 0%, 38%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=blue-grey]{--md-primary-fg-color: hsla(199deg, 18%, 40%, 1);--md-primary-fg-color--light: hsla(200deg, 18%, 46%, 1);--md-primary-fg-color--dark: hsla(199deg, 18%, 33%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7)}[data-md-color-primary=white]{--md-primary-fg-color: hsla(0, 0%, 100%, 1);--md-primary-fg-color--light: hsla(0, 0%, 100%, 0.7);--md-primary-fg-color--dark: hsla(0, 0%, 0%, 0.07);--md-primary-bg-color: hsla(0, 0%, 0%, 0.87);--md-primary-bg-color--light: hsla(0, 0%, 0%, 0.54);--md-text-link-color: hsla(231deg, 48%, 48%, 1)}[data-md-color-primary=white] .md-hero--expand{border-bottom:.05rem solid rgba(0,0,0,.07)}@media screen and (max-width: 76.1875em){[data-md-color-primary=white] .md-hero{border-bottom:.05rem solid rgba(0,0,0,.07)}}@media screen and (min-width: 60em){[data-md-color-primary=white] .md-search__input{background-color:rgba(0,0,0,.07)}[data-md-color-primary=white] .md-search__input+.md-search__icon{color:rgba(0,0,0,.87)}[data-md-color-primary=white] .md-search__input::-webkit-input-placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=white] .md-search__input::-moz-placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=white] .md-search__input::-ms-input-placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=white] .md-search__input::placeholder{color:rgba(0,0,0,.54)}[data-md-color-primary=white] .md-search__input:hover{background-color:rgba(0,0,0,.32)}}@media screen and (min-width: 76.25em){[data-md-color-primary=white] .md-tabs{border-bottom:.05rem solid rgba(0,0,0,.07)}}[data-md-color-primary=black]{--md-primary-fg-color: hsla(0, 0%, 0%, 1);--md-primary-fg-color--light: hsla(0, 0%, 0%, 0.54);--md-primary-fg-color--dark: hsla(0, 0%, 0%, 1);--md-primary-bg-color: hsla(0, 0%, 100%, 1);--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7);--md-text-link-color: hsla(231deg, 48%, 48%, 1)}[data-md-color-primary=black] .md-header{background-color:#000}[data-md-color-primary=black] .md-hero{background-color:#000}@media screen and (max-width: 59.9375em){[data-md-color-primary=black] .md-nav__source{background-color:rgba(0,0,0,.87)}}@media screen and (min-width: 60em){[data-md-color-primary=black] .md-search__input{background-color:rgba(255,255,255,.12)}[data-md-color-primary=black] .md-search__input:hover{background-color:rgba(255,255,255,.3)}}@media screen and (max-width: 76.1875em){html [data-md-color-primary=black] .md-nav--primary .md-nav__title[for=__drawer]{background-color:#000}}@media screen and (min-width: 76.25em){[data-md-color-primary=black] .md-tabs{background-color:#000}}[data-md-color-scheme=slate]{--md-default-fg-color: hsla(0, 0%, 100%, 1);--md-default-fg-color--light: hsla(0, 0%, 100%, 0.87);--md-default-fg-color--lighter: hsla(0, 0%, 100%, 0.32);--md-default-fg-color--lightest: hsla(0, 0%, 100%, 0.12);--md-default-bg-color: hsla(232, 15%, 21%, 1);--md-default-bg-color--light: hsla(232, 15%, 21%, 0.54);--md-default-bg-color--lighter: hsla(232, 15%, 21%, 0.26);--md-default-bg-color--lightest: hsla(232, 15%, 21%, 0.07);--md-code-bg-color: hsla(232, 15%, 18%, 1);--md-code-fg-color: hsla(60, 30%, 96%, 1);--md-text-color: var(--md-default-fg-color--light);--md-text-link-color: var(--md-primary-fg-color);--md-admonition-bg-color: hsla(0, 0%, 100%, 0.025);--md-admonition-fg-color: var(--md-default-fg-color);--md-footer-bg-color: hsla(232, 15%, 12%, 0.87);--md-footer-bg-color--dark: hsla(232, 15%, 10%, 1)}
2 |
3 | /*# sourceMappingURL=palette.616af814.min.css.map*/
--------------------------------------------------------------------------------
/build.bat:
--------------------------------------------------------------------------------
1 | cd ./src
2 | mkdocs build
3 |
4 | RD /S /Q "./site/assets"
5 |
6 | set "src=./site/"
7 | set "dst=../"
8 | robocopy "%src%" "%dst%" /e /is /mov
9 |
10 | RD /S /Q "./site"
--------------------------------------------------------------------------------
/sitemap.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | None
5 | 2023-01-21
6 | daily
7 |
8 |
9 | None
10 | 2023-01-21
11 | daily
12 |
13 |
14 | None
15 | 2023-01-21
16 | daily
17 |
18 |
19 | None
20 | 2023-01-21
21 | daily
22 |
23 |
24 | None
25 | 2023-01-21
26 | daily
27 |
28 |
29 | None
30 | 2023-01-21
31 | daily
32 |
33 |
34 | None
35 | 2023-01-21
36 | daily
37 |
38 |
39 | None
40 | 2023-01-21
41 | daily
42 |
43 |
44 | None
45 | 2023-01-21
46 | daily
47 |
48 |
49 | None
50 | 2023-01-21
51 | daily
52 |
53 |
54 | None
55 | 2023-01-21
56 | daily
57 |
58 |
59 | None
60 | 2023-01-21
61 | daily
62 |
63 |
64 | None
65 | 2023-01-21
66 | daily
67 |
68 |
69 | None
70 | 2023-01-21
71 | daily
72 |
73 |
74 | None
75 | 2023-01-21
76 | daily
77 |
78 |
79 | None
80 | 2023-01-21
81 | daily
82 |
83 |
84 | None
85 | 2023-01-21
86 | daily
87 |
88 |
89 | None
90 | 2023-01-21
91 | daily
92 |
93 |
94 | None
95 | 2023-01-21
96 | daily
97 |
98 |
99 | None
100 | 2023-01-21
101 | daily
102 |
103 |
104 | None
105 | 2023-01-21
106 | daily
107 |
108 |
109 | None
110 | 2023-01-21
111 | daily
112 |
113 |
114 | None
115 | 2023-01-21
116 | daily
117 |
118 |
119 | None
120 | 2023-01-21
121 | daily
122 |
123 |
124 | None
125 | 2023-01-21
126 | daily
127 |
128 |
129 | None
130 | 2023-01-21
131 | daily
132 |
133 |
134 | None
135 | 2023-01-21
136 | daily
137 |
138 |
139 | None
140 | 2023-01-21
141 | daily
142 |
143 |
144 | None
145 | 2023-01-21
146 | daily
147 |
148 |
149 | None
150 | 2023-01-21
151 | daily
152 |
153 |
154 | None
155 | 2023-01-21
156 | daily
157 |
158 |
159 | None
160 | 2023-01-21
161 | daily
162 |
163 |
164 | None
165 | 2023-01-21
166 | daily
167 |
168 |
169 | None
170 | 2023-01-21
171 | daily
172 |
173 |
174 | None
175 | 2023-01-21
176 | daily
177 |
178 |
--------------------------------------------------------------------------------
/sitemap.xml.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nixer1337/nixware-api/1a8f61286254ec2ea7f11179b187ee0f79816cec/sitemap.xml.gz
--------------------------------------------------------------------------------
/src/docs/callbacks.md:
--------------------------------------------------------------------------------
1 | # callbacks
2 |
3 | ## **paint()**
4 |
5 | Callback for drawing
6 | ```lua
7 | local font = renderer.setup_font("C:/windows/fonts/tahomabd.ttf", 50)
8 |
9 | local function on_paint()
10 | renderer.text("hello world!", font, vec2_t.new(20, 20), 50, color_t.new(255, 255, 255, 255))
11 | renderer.rect_filled(vec2_t.new(30, 30), vec2_t.new(40, 40), color_t.new(255, 0, 0, 255))
12 | end
13 |
14 | client.register_callback("paint", on_paint)
15 | ```
16 |
17 | ---
18 |
19 | ## **unload()**
20 |
21 | Script unload callback
22 | ```lua
23 | local function on_unload()
24 | -- restore modifed data
25 | end
26 |
27 | client.register_callback("unload", on_unload)
28 | ```
29 |
30 | ---
31 |
32 | ## **create_move(cmd)**
33 | Type | Name | Description
34 | ------------ | ------------- | ------------
35 | [usercmd_t](../sourceengine/types/usercmd_t/) | cmd | Current command
36 |
37 | CreateMove callback. Can used for command or send packet modification
38 | ```lua
39 | local MAX_CHOKE = 14
40 |
41 | client.register_callback("create_move", function(cmd)
42 | -- pitch down
43 | cmd.viewangles.pitch = 90
44 |
45 | -- backwards
46 | cmd.viewangles.yaw = cmd.viewangles.yaw + 180
47 |
48 | -- fakelag
49 | cmd.send_packet = clientstate.get_choked_commands() >= MAX_CHOKE
50 | end)
51 | ```
52 | ---
53 |
54 | ## **frame_stage_notify(stage)**
55 | Type | Name | Description
56 | ------------ | ------------- | ------------
57 | number | stage | Current stage
58 |
59 | FrameStageNotify callback. Calls every game stage [developer.valvesoftware.com/wiki/Frame_Order](https://developer.valvesoftware.com/wiki/Frame_Order)
60 | ```lua
61 | local FRAME_RENDER_START = 5
62 |
63 | client.register_callback("frame_stage_notify", function(stage)
64 | if stage ~= FRAME_RENDER_START then return end
65 |
66 | -- run code on frame render start
67 | end)
68 | ```
69 | ---
70 |
71 | ## **fire_game_event(event)**
72 | Type | Name | Description
73 | ------------ | ------------- | ------------
74 | [game_event_t](../sourceengine/types/game_event_t/) | event | Event
75 |
76 | FireGameEvent callback. Calls on event
77 | ```lua
78 | client.register_callback("round_start", function(event)
79 | client.notify("Round started!")
80 | end)
81 | ```
82 |
83 | ---
84 |
85 | ## **shot_fired(shot_info)**
86 | Type | Name | Description
87 | ------------ | ------------- | ------------
88 | [shot_info_t](../sourceengine/types/shot_info_t/) | shot_info | Shot info
89 |
90 | ShotFired callback. Calls on shot
91 | ```lua
92 | client.register_callback("shot_fired", function(shot_info)
93 | if shot_info.result ~= "hit" and not shot_info.manual then
94 | client.notify("missed shot due to " .. shot_info.result)
95 | end
96 | end)
97 | ```
98 |
99 | ---
100 |
101 | ## **override_view(view_setup)**
102 | Type | Name | Description
103 | ------------ | ------------- | ------------
104 | [view_setup_t](../sourceengine/types/view_setup_t/) | view_setup | Viewsetup object
105 |
106 | OverrideView callback. Lets you override the camera position and angles
107 | ```lua
108 | client.register_callback("override_view", function(view_setup)
109 | view_setup.fov = 110 -- forcing view fov
110 | end)
111 | ```
112 |
113 | ---
114 |
115 | ## **net_update_end()**
116 |
117 | Fired after an entity update packet is received from the server. ( FRAME_NET_UPDATE_END )
--------------------------------------------------------------------------------
/src/docs/client.md:
--------------------------------------------------------------------------------
1 | # client table
2 |
3 | ## Functions
4 |
5 | ## **load_script(scriptname)**
6 |
7 | Type | Name | Description
8 | ------------ | ------------- | ------------
9 | string | scriptname | Script name
10 |
11 | Load the script
12 | ```lua
13 | client.load_script("example.lua")
14 | ```
15 |
16 | ---
17 |
18 | ## **unload_script(scriptname)**
19 |
20 | Type | Name | Description
21 | ------------ | ------------- | ------------
22 | string | scriptname | Script name
23 |
24 | Unload the script
25 | ```lua
26 | client.unload_script("example.lua")
27 | ```
28 |
29 | ---
30 |
31 | ## **get_script_name()**: string
32 |
33 | Returns current script name
34 | ```lua
35 | local current_script_name = client.get_script_name()
36 | ```
37 |
38 | ---
39 |
40 | ## **register_callback(eventname, fn)**
41 | Type | Name | Description
42 | ------------ | ------------- | ------------
43 | string | eventname | Callback name
44 | function | fn | Lua function()
45 |
46 | Register the callback
47 | ```lua
48 | local function on_create_move(cmd)
49 | print(cmd.command_number)
50 | end
51 |
52 | client.register_callback("create_move", on_create_move)
53 | ```
54 | ---
55 |
56 | ## **get_username()**: string
57 |
58 | Returns your cheat username
59 | ```lua
60 | local username = client.get_username()
61 | ```
62 | ---
63 |
64 | ## **notify(text)**
65 | Type | Name | Description
66 | ------------ | ------------- | ------------
67 | string | text | Notification text
68 |
69 | Pushing notification
70 | ```lua
71 | client.notify("Hello world!")
72 | ```
73 | ---
74 |
75 | ## **get_time_stamp()**: number
76 |
77 | Returns the unix timestamp
78 | ```lua
79 | local timestamp = client.get_time_stamp()
80 | ```
81 | ---
82 |
83 | ## **get_system_time()**: number, number, number
84 |
85 | Returns the windows time
86 | ```lua
87 | local hours, minutes, seconds = client.get_system_time()
88 | ```
89 | ---
90 |
91 | ## **find_pattern(module, pattern)**: number
92 | Type | Name | Description
93 | ------------ | ------------- | ------------
94 | string | module | Module
95 | string | pattern | Pattern
96 |
97 | Returns pattern address
98 | ```lua
99 | local line_goes_through_smoke_addr = client.find_pattern("client.dll", "55 8B EC 83 EC 08 8B 15 ? ? ? ? 0F 57 C0")
100 | ```
--------------------------------------------------------------------------------
/src/docs/index.md:
--------------------------------------------------------------------------------
1 | # Home
2 |
3 | Nixware Lua API documentation.
4 |
5 | ---
6 |
7 | # Loading Lua scripts
8 |
9 | 1. Drop script into `Counter-Strike Global Offensive\nix\scripts` folder.
10 | 2. Click `refresh` in actions list on cheat menu.
11 | 3. Select the script from list and press `load script`.
12 |
13 | ---
14 |
15 | # LuaJIT
16 |
17 | We have [LuaJIT](https://luajit.org/) (2.0.5) supported
18 |
19 | FFI tutorial - [luajit.org/ext_ffi_tutorial.html](https://luajit.org/ext_ffi_tutorial.html)
20 |
21 | ---
22 |
23 | # VSCode snippets
24 |
25 | Install from marketplace: [marketplace.visualstudio.com/items?itemName=Nixer1337.nixware-lua-api-snippets](https://marketplace.visualstudio.com/items?itemName=Nixer1337.nixware-lua-api-snippets)
26 |
27 | 
28 |
29 | ---
30 |
31 | # Compiling Lua scripts
32 |
33 | Using: `luajit.exe -b script.lua compiled.lua`.
34 |
35 | [Download compiler](https://nixware.cc/attachments/211/)
--------------------------------------------------------------------------------
/src/docs/ragebot.md:
--------------------------------------------------------------------------------
1 | # ragebot table
2 |
3 | !!! info
4 | All functions from this table should be called from "create_move" callback.
5 |
6 | ## Functions
7 |
8 | ## **ignore_player(index)**
9 | Type | Name | Description
10 | ------------ | ------------- | ------------
11 | number | index | Entity index
12 |
13 | Disable ragebot on this player
14 | ```lua
15 | local entity_index = player:get_index()
16 | ragebot.ignore_player(entity_index)
17 | ```
18 | ---
19 |
20 | ## **override_wall_penetration(index, penetrate)**
21 | Type | Name | Description
22 | ------------ | ------------- | ------------
23 | number | index | Entity index
24 | bool | penetrate | Enables wall penetration on player
25 |
26 | Overrides wall penetration on player
27 | ```lua
28 | local entity_index = player:get_index()
29 | ragebot.override_wall_penetration(entity_index, false) -- disable autowall on this player
30 | ```
31 | ---
32 |
33 | ## **override_desync_correction(index, correct)**
34 | Type | Name | Description
35 | ------------ | ------------- | ------------
36 | number | index | Entity index
37 | bool | correct | Enables resolver on player
38 |
39 | Overrides desync correction on player
40 | ```lua
41 | local entity_index = player:get_index()
42 | ragebot.override_desync_correction(entity_index, false) -- disable resolver on this player
43 | ```
44 | ---
45 |
46 | ## **override_hitscan(index, hitbox, scan)**
47 | Type | Name | Description
48 | ------------ | ------------- | ------------
49 | number | index | Entity index
50 | number | hitbox | Hitbox
51 | bool | scan | Enables scan this hitbox
52 |
53 | Overrides hitscan on player
54 | ```lua
55 | local SCAN_HEAD = 0
56 | local SCAN_CHEST = 1
57 | local SCAN_PELVIS = 2
58 | local SCAN_STOMACH = 3
59 | local SCAN_LEGS = 4
60 | local SCAN_FOOT = 5
61 |
62 | -- force head
63 | local entity_index = player:get_index()
64 | ragebot.override_hitscan(entity_index, SCAN_HEAD, true)
65 | ragebot.override_hitscan(entity_index, SCAN_CHEST, false)
66 | ragebot.override_hitscan(entity_index, SCAN_PELVIS, false)
67 | ragebot.override_hitscan(entity_index, SCAN_STOMACH, false)
68 | ragebot.override_hitscan(entity_index, SCAN_LEGS, false)
69 | ragebot.override_hitscan(entity_index, SCAN_FOOT, false)
70 |
71 | ```
72 | ---
73 |
74 | ## **override_skip_unsafe_points(index, hitbox, scan)**
75 | Type | Name | Description
76 | ------------ | ------------- | ------------
77 | number | index | Entity index
78 | number | hitbox | Hitbox
79 | bool | scan | Enables scan this hitbox
80 |
81 | Overrides skip unsafe points on player
82 | ```lua
83 | local SCAN_HEAD = 0
84 | local SCAN_CHEST = 1
85 | local SCAN_PELVIS = 2
86 | local SCAN_STOMACH = 3
87 | local SCAN_LEGS = 4
88 | local SCAN_FOOT = 5
89 |
90 | local entity_index = player:get_index()
91 |
92 | ragebot.override_skip_unsafe_points(entity_index, SCAN_HEAD, true)
93 | ragebot.override_skip_unsafe_points(entity_index, SCAN_CHEST, false)
94 | ragebot.override_skip_unsafe_points(entity_index, SCAN_PELVIS, false)
95 | ragebot.override_skip_unsafe_points(entity_index, SCAN_STOMACH, false)
96 | ragebot.override_skip_unsafe_points(entity_index, SCAN_LEGS, false)
97 | ragebot.override_skip_unsafe_points(entity_index, SCAN_FOOT, false)
98 |
99 | ```
100 | ---
101 |
102 | ## **override_min_damage(index, damage)**
103 | Type | Name | Description
104 | ------------ | ------------- | ------------
105 | number | index | Entity index
106 | number | damage | Min damage
107 |
108 | Overrides min damage on player
109 | ```lua
110 | local entity_index = player:get_index()
111 | ragebot.override_min_damage(entity_index, 10)
112 | ```
113 | ---
114 |
115 | ## **override_safe_point(index, mode)**
116 | Type | Name | Description
117 | ------------ | ------------- | ------------
118 | number | index | Entity index
119 | number | mode | Safepoint mode
120 |
121 | Overrides safepoint mode on player
122 |
123 | 0 - default
124 |
125 | 1 - prefer
126 |
127 | 2 - force
128 |
129 | ```lua
130 | local entity_index = player:get_index()
131 | ragebot.override_safe_point(entity_index, 2) -- force safepoints
132 | ```
133 | ---
134 |
135 | ## **override_max_misses(index, misses)**
136 | Type | Name | Description
137 | ------------ | ------------- | ------------
138 | number | index | Entity index
139 | number | misses | Max misses
140 |
141 | Overrides max misses on player
142 | ```lua
143 | local entity_index = player:get_index()
144 | ragebot.override_max_misses(entity_index, 0)
145 | ```
146 | ---
147 |
148 | ## **override_head_scale(index, scale)**
149 | Type | Name | Description
150 | ------------ | ------------- | ------------
151 | number | index | Entity index
152 | number | scale | Head pointscale
153 |
154 | Overrides head point scale on player
155 | ```lua
156 | local entity_index = player:get_index()
157 | ragebot.override_head_scale(entity_index, 50)
158 | ```
159 | ---
160 |
161 | ## **override_body_scale(index, scale)**
162 | Type | Name | Description
163 | ------------ | ------------- | ------------
164 | number | index | Entity index
165 | number | scale | Body pointscale
166 |
167 | Overrides body point scale on player
168 | ```lua
169 | local entity_index = player:get_index()
170 | ragebot.override_body_scale(entity_index, 50)
171 | ```
172 | ---
173 |
--------------------------------------------------------------------------------
/src/docs/renderer.md:
--------------------------------------------------------------------------------
1 | # renderer table
2 |
3 | ## Functions
4 |
5 | ## **setup_font(filename, size, flags)**: font
6 |
7 | Type | Name | Description
8 | ------------ | ------------- | ------------
9 | string | filename | Font file path
10 | number | size | Font size in pixels
11 | number | flags | Freetype font flags
12 |
13 | Creates new font
14 | ```lua
15 |
16 | --[[
17 | Freetype font flags:
18 | -- By default, hinting is enabled and the font's native hinter is preferred over the auto-hinter.
19 | NoHinting = 1 -- Disable hinting. This generally generates 'blurrier' bitmap glyphs when the glyph are rendered in any of the anti-aliased modes.
20 | NoAutoHint = 2 -- Disable auto-hinter.
21 | ForceAutoHint = 4 -- Indicates that the auto-hinter is preferred over the font's native hinter.
22 | LightHinting = 8 -- A lighter hinting algorithm for gray-level modes. Many generated glyphs are fuzzier but better resemble their m_original shape. This is achieved by snapping glyphs to the pixel grid only vertically (Y-axis), as is done by Microsoft's ClearType and Adobe's proprietary font renderer. This preserves inter-glyph spacing in horizontal text.
23 | MonoHinting = 16 -- Strong hinting algorithm that should only be used for monochrome output.
24 | Bold = 32 -- Styling: Should we artificially embolden the font?
25 | Oblique = 64 -- Styling: Should we slant the font, emulating italic style?
26 | Monochrome = 128 -- Disable anti-aliasing. Combine this with MonoHinting for best results!
27 | ]]
28 |
29 |
30 | local tahoma_bold = renderer.setup_font("C:/windows/fonts/tahomabd.ttf", 50, 0)
31 | ```
32 | ---
33 |
34 | ## **setup_texture(filename)**: texture
35 |
36 | Type | Name | Description
37 | ------------ | ------------- | ------------
38 | string | filename | Texture file path
39 |
40 | Creates new texture
41 | ```lua
42 | local my_texture = renderer.setup_texture("C:/nixware/example.png")
43 | ```
44 | ---
45 |
46 | ## **text(text, font, pos, size, color)**
47 |
48 | Type | Name | Description
49 | ------------ | ------------- | ------------
50 | string | text | Text
51 | font | font | Font
52 | [vec2_t](../types/vec2_t/) | pos | Text position
53 | number | size | Font size in pixels
54 | [color_t](../types/color_t/) | color | Text color
55 |
56 | Drawing the text
57 | ```lua
58 | local tahoma_bold = renderer.setup_font("C:/windows/fonts/tahomabd.ttf", 50, 0)
59 |
60 | local function on_paint()
61 | renderer.text("hello world!", tahoma_bold, vec2_t.new(10, 10), 50, color_t.new(255, 255, 255, 255))
62 | end
63 |
64 | client.register_callback("paint", on_paint)
65 | ```
66 | ---
67 |
68 | ## **texture(tex, from, to, color)**
69 |
70 | Type | Name | Description
71 | ------------ | ------------- | ------------
72 | texture | tex | Texture
73 | [vec2_t](../types/vec2_t/) | from | Start position
74 | [vec2_t](../types/vec2_t/) | to | End position
75 | [color_t](../types/color_t/) | color | Texture color ( default value: color_t.new(255, 255, 255, 255) )
76 |
77 | Drawing the texture
78 | ```lua
79 | local my_texture = renderer.setup_texture("C:/nixware/example.png")
80 |
81 | local function on_paint()
82 | renderer.texture(my_texture, vec2_t.new(0, 0), vec2_t.new(500, 500), color_t.new(255, 255, 255, 255))
83 | end
84 |
85 | client.register_callback("paint", on_paint)
86 | ```
87 | ---
88 |
89 | ## **get_text_size(font, size, text)**: [vec2_t](../types/vec2_t/)
90 |
91 | Type | Name | Description
92 | ------------ | ------------- | ------------
93 | number | font | Font
94 | number | size | Font size
95 | string | text | Text
96 |
97 | Returns the text size
98 | ```lua
99 | local tahoma_bold = renderer.setup_font("C:/windows/fonts/tahomabd.ttf", 50, 0)
100 |
101 | local function on_paint()
102 | local hello_world_size = renderer.get_text_size(tahoma_bold, 50, "hello world!")
103 | end
104 |
105 | client.register_callback("paint", on_paint)
106 | ```
107 | ---
108 |
109 | ## **get_cursor_pos()**: [vec2_t](../types/vec2_t/)
110 |
111 | Returns the cursor position
112 | ```lua
113 | local function on_paint()
114 | local mouse_pos = renderer.get_cursor_pos()
115 | end
116 |
117 | client.register_callback("paint", on_paint)
118 | ```
119 | ---
120 |
121 | ## **line(from, to, color)**
122 |
123 | Type | Name | Description
124 | ------------ | ------------- | ------------
125 | [vec2_t](../types/vec2_t/) | from | Start position
126 | [vec2_t](../types/vec2_t/) | to | End position
127 | [color_t](../types/color_t/) | color | Color
128 |
129 | Drawing the line
130 | ```lua
131 | local function on_paint()
132 | renderer.line(vec2_t.new(5, 5), vec2_t.new(20, 20), color_t.new(255, 0, 0, 255))
133 | end
134 |
135 | client.register_callback("paint", on_paint)
136 | ```
137 | ---
138 |
139 | ## **rect(from, to, color)**
140 |
141 | Type | Name | Description
142 | ------------ | ------------- | ------------
143 | [vec2_t](../types/vec2_t/) | from | Start position
144 | [vec2_t](../types/vec2_t/) | to | End position
145 | [color_t](../types/color_t/) | color | Color
146 |
147 | Drawing the rect
148 | ```lua
149 | local function on_paint()
150 | renderer.rect(vec2_t.new(5, 5), vec2_t.new(20, 20), color_t.new(255, 0, 0, 255))
151 | end
152 |
153 | client.register_callback("paint", on_paint)
154 | ```
155 | ---
156 |
157 | ## **rect_filled(from, to, color)**
158 |
159 | Type | Name | Description
160 | ------------ | ------------- | ------------
161 | [vec2_t](../types/vec2_t/) | from | Start position
162 | [vec2_t](../types/vec2_t/) | to | End position
163 | [color_t](../types/color_t/) | color | Rect color
164 |
165 | Drawing the filled rect
166 | ```lua
167 | local function on_paint()
168 | renderer.rect_filled(vec2_t.new(5, 5), vec2_t.new(20, 20), color_t.new(255, 0, 0, 255))
169 | end
170 |
171 | client.register_callback("paint", on_paint)
172 | ```
173 | ---
174 |
175 | ## **rect_filled_fade(from, to, col_upr_left, col_upr_right, col_bot_right, col_bot_left)**
176 |
177 | Type | Name | Description
178 | ------------ | ------------- | ------------
179 | [vec2_t](../types/vec2_t/) | from | Start position
180 | [vec2_t](../types/vec2_t/) | to | End position
181 | [color_t](../types/color_t/) | col_upr_left | Upper left color
182 | [color_t](../types/color_t/) | col_upr_right | Upper right color
183 | [color_t](../types/color_t/) | col_bot_right | Bottom right color
184 | [color_t](../types/color_t/) | col_bot_left | Bottom left color
185 |
186 | Drawing the faded rect
187 | ```lua
188 | local function on_paint()
189 | renderer.rect_filled_fade(vec2_t.new(5, 5), vec2_t.new(20, 20), color_t.new(255, 0, 0, 255), color_t.new(255, 0, 0, 255), color_t.new(0, 0, 0, 255), color_t.new(0, 0, 0, 255))
190 | end
191 |
192 | client.register_callback("paint", on_paint)
193 | ```
194 | ---
195 |
196 | ## **circle_fade(pos, radius, color_in, color_out)**
197 |
198 | Type | Name | Description
199 | ------------ | ------------- | ------------
200 | [vec2_t](../types/vec2_t/) | pos | Position
201 | number | radius | Circle radius
202 | [color_t](../types/color_t/) | color_in | Circle color
203 | [color_t](../types/color_t/) | color_out | Circle color
204 |
205 | Drawing the faded circle
206 | ```lua
207 | local function on_paint()
208 | renderer.circle_fade(vec2_t.new(100, 100), 30, color_t.new(255, 0, 0, 0), color_t.new(255, 0, 0, 255))
209 | end
210 |
211 | client.register_callback("paint", on_paint)
212 | ```
213 | ---
214 |
215 | ## **circle(pos, radius, segments, filled, color)**
216 |
217 | Type | Name | Description
218 | ------------ | ------------- | ------------
219 | [vec2_t](../types/vec2_t/) | pos | Position
220 | number | radius | Circle radius
221 | number | segments | Circle segments
222 | bool | filled | Filled circle
223 | [color_t](../types/color_t/) | color | Circle color
224 |
225 | Drawing the circle
226 | ```lua
227 | local function on_paint()
228 | renderer.circle(vec2_t.new(100, 100), 50, 50, false, color_t.new(255, 0, 0, 255))
229 | end
230 |
231 | client.register_callback("paint", on_paint)
232 | ```
233 | ---
234 |
235 | ## **filled_polygon(points, color)**
236 |
237 | Type | Name | Description
238 | ------------ | ------------- | ------------
239 | [vec2_t](../types/vec2_t/) array | points | Points
240 | [color_t](../types/color_t/) | color | Color
241 |
242 | Drawing the textured polygon
243 | ```lua
244 | local function on_paint()
245 | -- trigon
246 | local points = { vec2_t.new(5, 5), vec2_t.new(15, 5), vec2_t.new(10, 15) }
247 | renderer.filled_polygon(points, color_t.new(255, 255, 255, 255))
248 | end
249 |
250 | client.register_callback("paint", on_paint)
251 | ```
--------------------------------------------------------------------------------
/src/docs/sourceengine/clientstate.md:
--------------------------------------------------------------------------------
1 | # clientstate table
2 |
3 | ## Functions
4 |
5 | ## **get_choked_commands()**: number
6 |
7 | Returns the number of choked commands
8 | ```lua
9 | local choked = clientstate.get_choked_commands()
10 | ```
11 | ---
12 |
13 | ## **force_full_update()**
14 |
15 | Forcing cl_fullupdate
16 | ```lua
17 | clientstate.force_full_update()
18 | ```
--------------------------------------------------------------------------------
/src/docs/sourceengine/debugoverlay.md:
--------------------------------------------------------------------------------
1 | # debugoverlay table
2 |
3 | ## Functions
4 |
5 | ## **add_box_overlay(origin, mins, max, orientation, color, duration)**
6 | Type | Name
7 | ------------ | -------------
8 | [vec3_t](../../types/vec3_t/) | origin
9 | [vec3_t](../../types/vec3_t/) | mins
10 | [vec3_t](../../types/vec3_t/) | max
11 | [angle_t](../../types/angle_t/) | rotation
12 | [color_t](../../types/color_t/) | color
13 | number | duration
14 |
15 | Drawing the box overlay for a specific time
16 | ```lua
17 | debugoverlay.add_box_overlay(world_pos, vec3_t.new(-2, -2, -2), vec3_t.new(2, 2, 2), angle_t.new(0, 0, 0), color_t.new(255, 255, 255, 255), 5.0)
18 | ```
19 | ---
20 |
21 | ## **add_sphere_overlay(origin, radius, theta, phi, color, duration)**
22 | Type | Name
23 | ------------ | -------------
24 | [vec3_t](../../types/vec3_t/) | origin
25 | number | radius
26 | number | theta
27 | number | phi
28 | [color_t](../../types/color_t/) | color
29 | number | duration
30 |
31 | Drawing the sphere overlay for a specific time
32 | ```lua
33 | debugoverlay.add_sphere_overlay(world_pos, 3, 10, 10, color_t.new(255, 255, 255, 255), 5.0)
34 | ```
35 | ---
--------------------------------------------------------------------------------
/src/docs/sourceengine/engine.md:
--------------------------------------------------------------------------------
1 | # engine table
2 |
3 | ## Functions
4 |
5 | ## **get_screen_size()**: [vec2_t](../../types/vec2_t/)
6 |
7 | Returns the screen size
8 | ```lua
9 | local screen_size = engine.get_screen_size()
10 | ```
11 | ---
12 |
13 | ## **is_connected()**: bool
14 |
15 | Returns true if connected to server
16 | ```lua
17 | local is_connected = engine.is_connected()
18 | ```
19 | ---
20 |
21 | ## **is_in_game()**: bool
22 |
23 | Returns true if in game
24 | ```lua
25 | local is_in_game = engine.is_in_game()
26 | ```
27 | ---
28 |
29 | ## **get_local_player()**: number
30 |
31 | Returns the local player index
32 | ```lua
33 | local lp_index = engine.get_local_player()
34 | ```
35 | ---
36 |
37 | ## **get_player_info(index)**: [player_info_t](../types/player_info_t/)
38 | Type | Name | Description
39 | ------------ | ------------- | ------------
40 | number | index | Entity index
41 |
42 | Returns the [player_info_t](../types/player_info_t/) object
43 | ```lua
44 | local local_info = engine.get_player_info(engine.get_local_player())
45 | ```
46 | ---
47 |
48 | ## **get_level_name_short()**: string
49 |
50 | Returns current level name (example: de_mirage)
51 | ```lua
52 | local current_map = engine.get_level_name_short()
53 | ```
54 | ---
55 |
56 | ## **get_player_for_user_id(userid)**: number
57 | Type | Name | Description
58 | ------------ | ------------- | ------------
59 | number | userid | User ID
60 |
61 | Returns the player index from user id
62 | ```lua
63 | local ent_idx = engine.get_player_for_user_id(userid)
64 | ```
65 | ---
66 |
67 | ## **set_view_angles(viewangles)**
68 | Type | Name | Description
69 | ------------ | ------------- | ------------
70 | [angle_t](../../types/angle_t/) | viewangles | Viewangles
71 |
72 | Setting the viewangles
73 | ```lua
74 | engine.set_view_angles(angle_t.new(0, 0, 0))
75 | ```
76 | ---
77 |
78 | ## **get_view_angles()**: [angle_t](../../types/angle_t/)
79 |
80 | Returns the camera angles
81 | ```lua
82 | local view_ang = engine.get_view_angles()
83 | ```
84 | ---
85 |
86 | ## **execute_client_cmd(cmd)**
87 | Type | Name | Description
88 | ------------ | ------------- | ------------
89 | string | cmd | Console command
90 |
91 | Executes command in console
92 | ```lua
93 | engine.execute_client_cmd("clear")
94 | ```
--------------------------------------------------------------------------------
/src/docs/sourceengine/entitylist.md:
--------------------------------------------------------------------------------
1 | # entitylist table
2 |
3 | ## Functions
4 |
5 | ## **get_highest_entity_index()**: number
6 |
7 | Returns the highest entity index
8 | ```lua
9 | local idx = entitylist.get_highest_entity_index()
10 | ```
11 | ---
12 |
13 | ## **get_local_player()**: [entity_t](../types/entity_t/)
14 |
15 | Returns the local player object
16 | ```lua
17 | local localplayer = entitylist.get_local_player()
18 | ```
19 | ---
20 |
21 | ## **get_entity_by_index(index)**: [entity_t](../types/entity_t/)
22 | Type | Name | Description
23 | ------------ | ------------- | ------------
24 | number | index | Entity index
25 |
26 | Returns the [entity_t](../types/entity_t/) object by index
27 | ```lua
28 | local lp = entitylist.get_entity_by_index(entitylist.get_local_player())
29 | ```
30 | ---
31 |
32 | ## **get_entity_from_handle(handle)**: [entity_t](../types/entity_t/)
33 | Type | Name | Description
34 | ------------ | ------------- | ------------
35 | number | handle | Entity handle
36 |
37 | Returns the [entity_t](../types/entity_t/) object by handle
38 |
39 | ```lua
40 | local m_hActiveWeapon = se.get_netvar("DT_BaseCombatCharacter", "m_hActiveWeapon")
41 |
42 | -- getting local weapon
43 | local active_weapon_handle = local_player:get_prop_int(m_hActiveWeapon)
44 | local active_weapon = entitylist.get_entity_from_handle(active_weapon_handle)
45 | ```
46 | ---
47 |
48 | ## **get_players(type)**: [entity_t](../types/entity_t/) array
49 | Type | Name | Description
50 | ------------ | ------------- | ------------
51 | number | type | Type
52 |
53 | Returns the players array
54 |
55 | 0 - enemies only
56 |
57 | 1 - teammates only
58 |
59 | 2 - all players
60 |
61 | ```lua
62 | local players = entitylist.get_players(0)
63 | for i = 1, #players do
64 | local player = players[i]
65 | end
66 | ```
67 | ---
68 |
69 | ## **get_entities_by_class_name(classname)**: [entity_t](../types/entity_t/) array
70 | Type | Name | Description
71 | ------------ | ------------- | ------------
72 | string | classname | Class name
73 |
74 | Returns the entities array by class name
75 | ```lua
76 | local entities = entitylist.get_entities_by_class_name("CFogController")
77 | ```
78 | ---
79 |
80 | ## **get_entities_by_class_id(classid)**: [entity_t](../types/entity_t/) array
81 | Type | Name | Description
82 | ------------ | ------------- | ------------
83 | number | classid | Class id
84 |
85 | Returns the entities array by class id
86 | ```lua
87 | local entities = entitylist.get_entities_by_class_id(78)
88 | ```
--------------------------------------------------------------------------------
/src/docs/sourceengine/globalvars.md:
--------------------------------------------------------------------------------
1 | # globalvars table
2 |
3 | ## Functions
4 |
5 | ## **get_real_time()**: number
6 |
7 | Returns the client time
8 | ```lua
9 | local rt = globalvars.get_real_time()
10 | ```
11 | ---
12 |
13 | ## **get_frame_count()**: number
14 |
15 | Returns the frame count
16 | ```lua
17 | local frame_count = globalvars.frame_count()
18 | ```
19 | ---
20 |
21 | ## **get_absolute_frametime()**: number
22 |
23 | Returns the absolute frame time
24 | ```lua
25 | local absolute_frametime = globalvars.get_absolute_frametime()
26 | ```
27 | ---
28 |
29 | ## **get_current_time()**: number
30 |
31 | Returns the server time
32 | ```lua
33 | local current_time = globalvars.get_current_time()
34 | ```
35 | ---
36 |
37 | ## **get_frame_time()**: number
38 |
39 | Returns the frame time
40 | ```lua
41 | local frame_time = globalvars.get_frame_time()
42 | ```
43 | ---
44 |
45 | ## **get_max_clients()**: number
46 |
47 | Returns the max clients value
48 | ```lua
49 | local max_clients = globalvars.get_max_clients()
50 | ```
51 | ---
52 |
53 | ## **get_tick_count()**: number
54 |
55 | Returns the current tickcount
56 | ```lua
57 | local tick_count = globalvars.get_tick_count()
58 | ```
59 | ---
60 |
61 | ## **get_interval_per_tick()**: number
62 |
63 | Returns the interval per tick
64 | ```lua
65 | local tick_count = globalvars.get_interval_per_tick()
66 | ```
--------------------------------------------------------------------------------
/src/docs/sourceengine/se.md:
--------------------------------------------------------------------------------
1 | # se table (source engine utilities)
2 |
3 | ## Functions
4 |
5 | ## **world_to_screen(pos)**: [vec2_t](../../types/vec2_t/)
6 |
7 | Type | Name | Description
8 | ------------ | ------------- | ------------
9 | [vec3_t](../../types/vec3_t/) | pos | World position
10 |
11 | Returns two screen coordinates [vec2_t](../../types/vec2_t/), or nil if the world position is not visible on your screen.
12 | ```lua
13 | local pos2d = se.world_to_screen(pos)
14 | if pos2d ~= nil then
15 | renderer.text("pos: " .. pos2d.x .. ", " .. pos2d.y, font, pos2d, 0, color_t.new(255, 255, 255, 255))
16 | end
17 | ```
18 | ---
19 |
20 | ## **set_clantag(tag)**
21 |
22 | Type | Name | Description
23 | ------------ | ------------- | ------------
24 | string | tag | Wanted clantag
25 |
26 | Setting the clantag
27 | ```lua
28 | se.set_clantag("nixware.cc")
29 | ```
30 | ---
31 |
32 | ## **set_name(name)**
33 |
34 | Type | Name | Description
35 | ------------ | ------------- | ------------
36 | string | name | Wanted name
37 |
38 | Setting the name
39 | ```lua
40 | se.set_name("nixware.cc")
41 | ```
42 | ---
43 |
44 | ## **get_convar(name)**: [convar_t](../types/convar_t/)
45 |
46 | Type | Name | Description
47 | ------------ | ------------- | ------------
48 | string | name | Console variable name
49 |
50 | Finds convar by name. Returns nil if failed
51 | ```lua
52 | local sv_skyname = se.get_convar("sv_skyname")
53 | ```
54 | ---
55 |
56 | ## **get_netvar(table, netvar)**: number
57 | Type | Name | Description
58 | ------------ | ------------- | ------------
59 | string | table | Table name
60 | string | netvar | Netvar name
61 |
62 | Returns the netvar offset, or nil if failed
63 | ```lua
64 | se.get_netvar("DT_BasePlayer", "m_iHealth")
65 | ```
66 | ---
67 |
68 | ## **get_latency()**: number
69 |
70 | Returns current latency
71 | ```lua
72 | local ping = se.get_latency()
73 | ```
74 |
75 | ---
76 |
77 | ## **create_interface(module_name, interface_version)**: number
78 | Type | Name | Description
79 | ------------ | ------------- | ------------
80 | string | module_name | Module name
81 | string | interface_version | Interface version
82 |
83 | Returns the interface address
84 | ```lua
85 | local g_model_info = se.create_interface("engine.dll", "VModelInfoClient004")
86 | ```
--------------------------------------------------------------------------------
/src/docs/sourceengine/trace.md:
--------------------------------------------------------------------------------
1 | # trace table
2 |
3 | ## Functions
4 |
5 | ## **line(skip_entindex, mask, start, end)**: [trace_t](../types/trace_t/)
6 | Type | Name | Description
7 | ------------ | ------------- | ------------
8 | number | skip_entindex | Skip entity index
9 | number | mask | Trace mask
10 | [vec3_t](../../types/vec3_t/) | start | Start trace position
11 | [vec3_t](../../types/vec3_t/) | end | End trace position
12 |
13 | Returns trace object
14 | ```lua
15 | function deg_to_rad(val) return val * (3.141593 / 180.0) end
16 | function angle_vectors(angles)
17 | local cp, sp = math.cos(deg_to_rad(angles.pitch)), math.sin(deg_to_rad(angles.pitch))
18 | local cy, sy = math.cos(deg_to_rad(angles.yaw)), math.sin(deg_to_rad(angles.yaw))
19 | local cr, sr = math.cos(deg_to_rad(angles.roll)), math.sin(deg_to_rad(angles.roll))
20 |
21 | local forward = vec3_t.new(0, 0, 0)
22 |
23 | forward.x = cp * cy
24 | forward.y = cp * sy
25 | forward.z = -sp
26 |
27 | return forward
28 | end
29 |
30 | local verdana = renderer.setup_font("C:/windows/fonts/verdana.ttf", 14, 0)
31 | local m_vecViewOffset = se.get_netvar("DT_BasePlayer", "m_vecViewOffset[0]")
32 |
33 | local player_vtable = ffi.cast("int*", client.find_pattern("client.dll", "55 8B EC 83 E4 F8 83 EC 18 56 57 8B F9 89 7C 24 0C") + 0x47)[0]
34 | local get_abs_origin = ffi.cast("float*(__thiscall*)(int)", ffi.cast("int*", player_vtable + 0x28)[0])
35 |
36 | function on_paint()
37 | local local_player = entitylist.get_local_player()
38 | if local_player == nil or not local_player:is_alive() then
39 | return
40 | end
41 |
42 | local viewangles = engine.get_view_angles()
43 | local trace_end = angle_vectors(viewangles)
44 |
45 | local abs_origin = get_abs_origin(local_player:get_address())
46 | local view_offset = local_player:get_prop_vector(m_vecViewOffset)
47 | local trace_start = vec3_t.new(abs_origin[0] + view_offset.x, abs_origin[1] + view_offset.y, abs_origin[2] + view_offset.z)
48 |
49 | trace_end.x = trace_start.x + trace_end.x * 8192.0
50 | trace_end.y = trace_start.y + trace_end.y * 8192.0
51 | trace_end.z = trace_start.z + trace_end.z * 8192.0
52 |
53 | local trace_out = trace.line(engine.get_local_player(), 0x46004003, trace_start, trace_end)
54 |
55 | local pos2d = se.world_to_screen(trace_out.endpos)
56 | if pos2d == nil then return end
57 |
58 | renderer.text("normal_x:" .. trace_out.normal.x, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
59 | pos2d.y = pos2d.y + 15
60 | renderer.text("normal_y:" .. trace_out.normal.y, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
61 | pos2d.y = pos2d.y + 15
62 | renderer.text("normal_z:" .. trace_out.normal.z, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
63 | pos2d.y = pos2d.y + 15
64 | renderer.text("dist:" .. trace_out.dist, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
65 | pos2d.y = pos2d.y + 15
66 | renderer.text("fraction:" .. trace_out.fraction, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
67 | pos2d.y = pos2d.y + 15
68 | renderer.text("contents:" .. trace_out.contents, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
69 | pos2d.y = pos2d.y + 15
70 | renderer.text("disp_flags:" .. trace_out.disp_flags, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
71 | pos2d.y = pos2d.y + 15
72 | renderer.text("allsolid:" .. tostring(trace_out.allsolid), verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
73 | pos2d.y = pos2d.y + 15
74 | renderer.text("startsolid:" .. tostring(trace_out.startsolid), verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
75 | pos2d.y = pos2d.y + 15
76 | renderer.text("hit_entity_index:" .. trace_out.hit_entity_index, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
77 | pos2d.y = pos2d.y + 15
78 | renderer.text("hitgroup:" .. trace_out.hitgroup, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
79 | pos2d.y = pos2d.y + 15
80 | renderer.text("hitbox:" .. trace_out.hitbox, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
81 | pos2d.y = pos2d.y + 15
82 | end
83 |
84 |
85 | client.register_callback("paint", on_paint)
86 | ```
87 |
88 | ## **hull(mask, start, end, mins, maxs, trace_type, should_hit_entity_callback)**: [trace_t](../types/trace_t/)
89 | Type | Name | Description
90 | ------------ | ------------- | ------------
91 | number | mask | Trace mask
92 | [vec3_t](../../types/vec3_t/) | start | Start trace position
93 | [vec3_t](../../types/vec3_t/) | end | End trace position
94 | [vec3_t](../../types/vec3_t/) | mins | Trace mins
95 | [vec3_t](../../types/vec3_t/) | maxs | Trace maxs
96 | number | trace_type | Trace filter type
97 | function | should_hit_entity_callback | Trace filter callback
98 |
99 | Returns trace object
100 | ```lua
101 | function deg_to_rad(val) return val * (3.141593 / 180.0) end
102 | function angle_vectors(angles)
103 | local cp, sp = math.cos(deg_to_rad(angles.pitch)), math.sin(deg_to_rad(angles.pitch))
104 | local cy, sy = math.cos(deg_to_rad(angles.yaw)), math.sin(deg_to_rad(angles.yaw))
105 | local cr, sr = math.cos(deg_to_rad(angles.roll)), math.sin(deg_to_rad(angles.roll))
106 |
107 | local forward = vec3_t.new(0, 0, 0)
108 |
109 | forward.x = cp * cy
110 | forward.y = cp * sy
111 | forward.z = -sp
112 |
113 | return forward
114 | end
115 |
116 | local verdana = renderer.setup_font("C:/windows/fonts/verdana.ttf", 14, 0)
117 | local m_vecViewOffset = se.get_netvar("DT_BasePlayer", "m_vecViewOffset[0]")
118 |
119 | local player_vtable = ffi.cast("int*", client.find_pattern("client.dll", "55 8B EC 83 E4 F8 83 EC 18 56 57 8B F9 89 7C 24 0C") + 0x47)[0]
120 | local get_abs_origin = ffi.cast("float*(__thiscall*)(int)", ffi.cast("int*", player_vtable + 0x28)[0])
121 |
122 | function should_hit_ent_fn(entity_index, contents_mask)
123 | if entity_index == engine.get_local_player() then return false end
124 |
125 | -- client.notify("should_hit_ent")
126 |
127 | return true
128 | end
129 |
130 | function on_paint()
131 | local local_player = entitylist.get_local_player()
132 | if local_player == nil or not local_player:is_alive() then
133 | return
134 | end
135 |
136 | local viewangles = engine.get_view_angles()
137 | local trace_end = angle_vectors(viewangles)
138 |
139 | local abs_origin = get_abs_origin(local_player:get_address())
140 | local view_offset = local_player:get_prop_vector(m_vecViewOffset)
141 | local trace_start = vec3_t.new(abs_origin[0] + view_offset.x, abs_origin[1] + view_offset.y, abs_origin[2] + view_offset.z)
142 |
143 | trace_end.x = trace_start.x + trace_end.x * 8192.0
144 | trace_end.y = trace_start.y + trace_end.y * 8192.0
145 | trace_end.z = trace_start.z + trace_end.z * 8192.0
146 |
147 | local trace_out = trace.hull(0x46004003, trace_start, trace_end, vec3_t.new(-5, -5, -5), vec3_t.new(-5, -5, -5), 0, should_hit_ent_fn)
148 |
149 | local pos2d = se.world_to_screen(trace_out.endpos)
150 | if pos2d == nil then return end
151 |
152 | renderer.text("normal_x:" .. trace_out.normal.x, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
153 | pos2d.y = pos2d.y + 15
154 | renderer.text("normal_y:" .. trace_out.normal.y, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
155 | pos2d.y = pos2d.y + 15
156 | renderer.text("normal_z:" .. trace_out.normal.z, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
157 | pos2d.y = pos2d.y + 15
158 | renderer.text("dist:" .. trace_out.dist, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
159 | pos2d.y = pos2d.y + 15
160 | renderer.text("fraction:" .. trace_out.fraction, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
161 | pos2d.y = pos2d.y + 15
162 | renderer.text("contents:" .. trace_out.contents, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
163 | pos2d.y = pos2d.y + 15
164 | renderer.text("disp_flags:" .. trace_out.disp_flags, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
165 | pos2d.y = pos2d.y + 15
166 | renderer.text("allsolid:" .. tostring(trace_out.allsolid), verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
167 | pos2d.y = pos2d.y + 15
168 | renderer.text("startsolid:" .. tostring(trace_out.startsolid), verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
169 | pos2d.y = pos2d.y + 15
170 | renderer.text("hit_entity_index:" .. trace_out.hit_entity_index, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
171 | pos2d.y = pos2d.y + 15
172 | renderer.text("hitgroup:" .. trace_out.hitgroup, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
173 | pos2d.y = pos2d.y + 15
174 | renderer.text("hitbox:" .. trace_out.hitbox, verdana, pos2d, 0, color_t.new(255, 255, 255, 255))
175 | pos2d.y = pos2d.y + 15
176 | end
177 |
178 |
179 | client.register_callback("paint", on_paint)
180 | ```
--------------------------------------------------------------------------------
/src/docs/sourceengine/types/convar_t.md:
--------------------------------------------------------------------------------
1 | # convar_t
2 |
3 | ## Functions
4 |
5 | ## **get_int()**: number
6 |
7 | Returns the int value
8 | ```lua
9 | local convar = se.get_convar("r_jiggle_bones")
10 | local value = convar:get_int()
11 | ```
12 | ---
13 |
14 | ## **get_float()**: number
15 |
16 | Returns the float value
17 | ```lua
18 | local convar = se.get_convar("r_aspectratio")
19 | local value = convar:get_float()
20 | ```
21 | ---
22 |
23 | ## **get_string()**: string
24 |
25 | Returns the string
26 | ```lua
27 | local convar = se.get_convar("sv_skyname")
28 | local str = convar:get_string()
29 | ```
30 | ---
31 |
32 | ## **set_int(value)**
33 | Type | Name
34 | ------------ | -------------
35 | number | value
36 |
37 | Setting the int value
38 | ```lua
39 | local convar = se.get_convar("r_jigglebones")
40 | convar:set_int(0)
41 | ```
42 | ---
43 |
44 | ## **set_float(value)**
45 | Type | Name
46 | ------------ | -------------
47 | number | value
48 |
49 | Setting the float value
50 | ```lua
51 | local convar = se.get_convar("r_aspectratio")
52 | convar:set_float(1.333)
53 | ```
54 | ---
55 |
56 | ## **set_string(value)**
57 | Type | Name
58 | ------------ | -------------
59 | string | value
60 |
61 | Setting the string
62 | ```lua
63 | local convar = se.get_convar("sv_skyname")
64 | convar:set_string("sky_dust")
65 | ```
--------------------------------------------------------------------------------
/src/docs/sourceengine/types/entity_t.md:
--------------------------------------------------------------------------------
1 | # entity_t
2 |
3 | ## Functions
4 |
5 | ## **is_dormant()**: bool
6 |
7 | Returns true if entity is in dormant
8 | ```lua
9 | local is_dormant = entity:is_dormant()
10 | ```
11 |
12 | ---
13 |
14 | ## **is_alive()**: bool
15 |
16 | Returns true if entity is alive
17 | ```lua
18 | local is_alive = entity:is_alive()
19 | ```
20 |
21 | ---
22 |
23 | ## **get_bbox()**: [rect_t](../../../types/rect_t/)
24 |
25 | Returns the bounding box, or nil if the world position is not visible on your screen.
26 | ```lua
27 | local bbox = entity:get_bbox()
28 | if bbox ~= nil then
29 | renderer.rect(vec2_t.new(bbox.left, bbox.top), vec2_t.new(bbox.right, bbox.bottom), color_t.new(255, 255, 255, 255))
30 | end
31 | ```
32 |
33 | ---
34 |
35 | ## **get_player_hitbox_pos(hitbox_num)**: [vec3_t](../../../types/vec3_t/)
36 | Type | Name | Description
37 | ------------ | ------------- | ------------
38 | number | hitbox_num | Hitbox number
39 |
40 | Returns the hitbox pos
41 | ```lua
42 | local headpos = entity:get_player_hitbox_pos(0)
43 | ```
44 |
45 | ---
46 |
47 | ## **get_index()**: number
48 |
49 | Returns the entity index
50 | ```lua
51 | local index = entity:get_index()
52 | ```
53 |
54 | ---
55 |
56 | ## **get_prop_bool(offset)**: bool
57 | Type | Name | Description
58 | ------------ | ------------- | ------------
59 | number | offset | Prop offset
60 |
61 | Returns the boolean value by offset
62 |
63 | ---
64 |
65 | ## **get_prop_int(offset)**: number
66 | Type | Name | Description
67 | ------------ | ------------- | ------------
68 | number | offset | Prop offset
69 |
70 | Returns the integer value by offset
71 |
72 | ---
73 |
74 | ## **get_prop_float(offset)**: number
75 | Type | Name | Description
76 | ------------ | ------------- | ------------
77 | number | offset | Prop offset
78 |
79 | Returns the float value by offset
80 |
81 | ---
82 |
83 | ## **get_prop_short(offset)**: number
84 | Type | Name | Description
85 | ------------ | ------------- | ------------
86 | number | offset | Prop offset
87 |
88 | Returns the short value by offset
89 |
90 | ---
91 |
92 | ## **get_prop_double(offset)**: number
93 | Type | Name | Description
94 | ------------ | ------------- | ------------
95 | number | offset | Prop offset
96 |
97 | Returns the double value by offset
98 |
99 | ---
100 |
101 | ## **get_prop_vector(offset)**: [vec3_t](../../../types/vec3_t/)
102 | Type | Name | Description
103 | ------------ | ------------- | ------------
104 | number | offset | Prop offset
105 |
106 | Returns the vector by offset
107 |
108 | ---
109 |
110 | ## **get_prop_angle(offset)**: [angle_t](../../../types/angle_t/)
111 | Type | Name | Description
112 | ------------ | ------------- | ------------
113 | number | offset | Prop offset
114 |
115 | Returns the angle by offset
116 |
117 | ---
118 |
119 | ## **set_prop_bool(offset, value)**
120 | Type | Name | Description
121 | ------------ | ------------- | ------------
122 | number | offset | Prop offset
123 | bool | value | Value
124 |
125 | Setting the boolean value by offset
126 |
127 | ---
128 |
129 | ## **set_prop_int(offset, value)**
130 | Type | Name | Description
131 | ------------ | ------------- | ------------
132 | number | offset | Prop offset
133 | number | value | Value
134 |
135 | Setting the integer value by offset
136 |
137 | ---
138 |
139 | ## **set_prop_float(offset, value)**
140 | Type | Name | Description
141 | ------------ | ------------- | ------------
142 | number | offset | Prop offset
143 | number | value | Value
144 |
145 | Setting the float value by offset
146 |
147 | ---
148 |
149 | ## **set_prop_short(offset, value)**
150 | Type | Name | Description
151 | ------------ | ------------- | ------------
152 | number | offset | Prop offset
153 | number | value | Value
154 |
155 | Setting the short value by offset
156 |
157 | ---
158 |
159 | ## **set_prop_double(offset, value)**
160 | Type | Name | Description
161 | ------------ | ------------- | ------------
162 | number | offset | Prop offset
163 | number | value | Value
164 |
165 | Setting the double value by offset
166 |
167 | ---
168 |
169 | ## **set_prop_vector(offset, value)**
170 | Type | Name | Description
171 | ------------ | ------------- | ------------
172 | number | offset | Prop offset
173 | [vec3_t](../../../types/vec3_t/) | value | Value
174 |
175 | Setting the vector by offset
176 |
177 | ---
178 |
179 | ## **set_prop_angle(offset, value)**
180 | Type | Name | Description
181 | ------------ | ------------- | ------------
182 | number | offset | Prop offset
183 | [angle_t](../../../types/angle_t/) | value | Value
184 |
185 | Setting the angle by offset
--------------------------------------------------------------------------------
/src/docs/sourceengine/types/game_event_t.md:
--------------------------------------------------------------------------------
1 | # game_event_t
2 |
3 | ## Functions
4 |
5 | ## **get_name():** string
6 |
7 | Returns the event name
8 | ```lua
9 | local event_name = event:get_name()
10 | ```
11 | ---
12 |
13 | ## **get_bool(key_name, def_value):** bool
14 | Type | Name | Description
15 | ------------ | ------------- | ------------
16 | string | key_name | Event key name
17 | bool | def_value | Default return value if key not found
18 |
19 | Returns the boolean value from event
20 | ```lua
21 | client.register_callback("player_chat", function(event)
22 | local teamonly = event:get_bool("teamonly", false)
23 | end)
24 | ```
25 |
26 | ---
27 |
28 | ## **get_int(key_name, def_value):** number
29 | Type | Name | Description
30 | ------------ | ------------- | ------------
31 | string | key_name | Event key name
32 | bool | def_value | Default return value if key not found
33 |
34 | Returns the int value from event
35 | ```lua
36 | client.register_callback("player_death", function(event)
37 | local attacker = event:get_int("attacker", 0)
38 | end)
39 | ```
40 |
41 | ---
42 |
43 | ## **get_float(key_name, def_value):** number
44 | Type | Name | Description
45 | ------------ | ------------- | ------------
46 | string | key_name | Event key name
47 | bool | def_value | Default return value if key not found
48 |
49 | Returns the float value from event
50 | ```lua
51 | client.register_callback("bullet_impact", function(event)
52 | local impact_x = event:get_float("x", 0)
53 | end)
54 | ```
55 |
56 | ---
57 |
58 | ## **get_string(key_name, def_value):** string
59 | Type | Name | Description
60 | ------------ | ------------- | ------------
61 | string | key_name | Event key name
62 | string | def_value | Default return value if key not found
63 |
64 | Returns the string from event
65 | ```lua
66 | client.register_callback("bullet_impact", function(event)
67 | local weapon = event:get_string("weapon", "")
68 | end)
69 | ```
70 |
71 | ---
72 |
73 | ## **set_bool(key_name, value)**
74 | Type | Name | Description
75 | ------------ | ------------- | ------------
76 | string | key_name | Event key name
77 | bool | value | New value
78 |
79 | Changes the key value
80 | ```lua
81 | client.register_callback("player_chat", function(event)
82 | event:set_bool("teamonly", false)
83 | end)
84 | ```
85 |
86 | ---
87 |
88 | ## **set_int(key_name, value)**
89 | Type | Name | Description
90 | ------------ | ------------- | ------------
91 | string | key_name | Event key name
92 | number | value | New value
93 |
94 | Changes the key value
95 | ```lua
96 | client.register_callback("player_death", function(event)
97 | event:set_int("attacker", 0)
98 | end)
99 | ```
100 |
101 | ---
102 |
103 | ## **set_float(key_name, value)**
104 | Type | Name | Description
105 | ------------ | ------------- | ------------
106 | string | key_name | Event key name
107 | number | value | New value
108 |
109 | Changes the key value
110 | ```lua
111 | client.register_callback("bullet_impact", function(event)
112 | event:set_float("x", 0)
113 | end)
114 | ```
115 |
116 | ---
117 |
118 | ## **set_string(key_name, value)**
119 | Type | Name | Description
120 | ------------ | ------------- | ------------
121 | string | key_name | Event key name
122 | string | value | New value
123 |
124 | Changes the key value
125 | ```lua
126 | client.register_callback("player_death", function(event)
127 | event:set_string("weapon", "knife_karambit")
128 | end)
129 | ```
130 |
--------------------------------------------------------------------------------
/src/docs/sourceengine/types/player_info_t.md:
--------------------------------------------------------------------------------
1 | # player_info_t
2 |
3 | Type | Name | Description
4 | ------------ | -------------| -------------
5 | string | steam_id64 | Returns the steam id 64
6 | string | name | Returns the player name
7 | number | user_id | Returns the user ID
8 | bool | is_bot | Returns true if player is bot
--------------------------------------------------------------------------------
/src/docs/sourceengine/types/shot_info_t.md:
--------------------------------------------------------------------------------
1 | # shot_info_t
2 |
3 | Type | Name | Description
4 | ------------ | ------------- | -------------
5 | bool | manual | Is manual shot
6 | [entity_t](../entity_t/) | target_index | Target entity index
7 | number | backtrack | How many ticks have been backtracked
8 | number | hitchance | Shot hitchance
9 | number | hitbox | Target hitbox
10 | number | server_hitgroup | Server hitgroup (on hit)
11 | string | result | Result of current shot (hit/spread/desync/unk)
12 | number | client_damage | Expected damage
13 | number | server_damage | Actual damage (on hit)
14 | number | tick | Shot tick
15 | bool | safe_point | Did shoot into safe point
16 | [vec3_t](../../../types/vec3_t/) | aim_point | Aimpoint position
--------------------------------------------------------------------------------
/src/docs/sourceengine/types/trace_t.md:
--------------------------------------------------------------------------------
1 | # trace_t
2 |
3 | Type | Name
4 | ------------ | -------------
5 | [vec3_t](../../../types/vec3_t/) | startpos
6 | [vec3_t](../../../types/vec3_t/) | endpos
7 | [vec3_t](../../../types/vec3_t/) | normal
8 | number | dist
9 | number | fraction
10 | number | contents
11 | number | disp_flags
12 | bool | allsolid
13 | bool | startsolid
14 | number | hit_entity_index
15 | number | hitgroup
16 | number | hitbox
--------------------------------------------------------------------------------
/src/docs/sourceengine/types/usercmd_t.md:
--------------------------------------------------------------------------------
1 | # usercmd_t
2 |
3 | Type | Name
4 | ------------ | -------------
5 | bool | send_packet
6 | number | command_number
7 | number | tick_count
8 | [angle_t](../../../types/angle_t/) | viewangles
9 | number | forwardmove
10 | number | sidemove
11 | number | upmove
12 | number | buttons
13 | number | random_seed
14 | number | mousedx
15 | number | mousedy
--------------------------------------------------------------------------------
/src/docs/sourceengine/types/view_setup_t.md:
--------------------------------------------------------------------------------
1 | # view_setup_t
2 |
3 | Type | Name | Description
4 | ------------ | ------------- | -------------
5 | [vec3_t](../../../types/vec3_t/) | camera_pos | Camera position
6 | number | pitch | Pitch view angle
7 | number | yaw | Yaw view angle
8 | number | fov | Field of view
--------------------------------------------------------------------------------
/src/docs/types/angle_t.md:
--------------------------------------------------------------------------------
1 | # angle_t
2 |
3 | Type | Name
4 | ------------ | -------------
5 | number | pitch
6 | number | yaw
7 | number | roll
8 |
9 | ## Functions
10 |
11 | ## **new(pitch, yaw, roll)**: angle_t
12 | Type | Name
13 | ------------ | -------------
14 | number | pitch
15 | number | yaw
16 | number | roll
17 |
18 | Constructor
19 | ```lua
20 | local angle = angle_t.new(0, 0, 0)
21 | ```
--------------------------------------------------------------------------------
/src/docs/types/color_t.md:
--------------------------------------------------------------------------------
1 | # color_t
2 |
3 | Type | Name | Description
4 | ------------ | ------------- | -------------
5 | number | red | Red color range as a percentage in the range [0.0, 1.0]
6 | number | green | Green color range as a percentage in the range [0.0, 1.0]
7 | number | blue | Blue color range as a percentage in the range [0.0, 1.0]
8 | number | alpha | Alpha color range as a percentage in the range [0.0, 1.0]
9 |
10 | ## Functions
11 |
12 | ## **new(red, green, blue, alpha)**: color_t
13 | Type | Name | Description
14 | ------------ | ------------- | -------------
15 | number | red | Red color range as a percentage in the range [0, 255]
16 | number | green | Green color range as a percentage in the range [0, 255]
17 | number | blue | Blue color range as a percentage in the range [0, 255]
18 | number | alpha | Alpha color range as a percentage in the range [0, 255]
19 |
20 | Constructor
21 | ```lua
22 | local color = color_t.new(255, 0, 0, 255)
23 | ```
--------------------------------------------------------------------------------
/src/docs/types/vec2_t.md:
--------------------------------------------------------------------------------
1 | # vec2_t
2 |
3 | Type | Name
4 | ------------ | -------------
5 | number | x
6 | number | y
7 |
8 | ## Functions
9 |
10 | ## **new(x, y)**: vec2_t
11 | Type | Name
12 | ------------ | -------------
13 | number | x
14 | number | y
15 |
16 | Constructor
17 | ```lua
18 | local vector2d = vec2_t.new(0, 0)
19 | ```
20 | ---
21 |
22 | ## **length()**: number
23 |
24 | Returns the length of vector
25 | ```lua
26 | local vector = vec2_t.new(100, 100)
27 | local vector_length = vector:length()
28 | ```
--------------------------------------------------------------------------------
/src/docs/types/vec3_t.md:
--------------------------------------------------------------------------------
1 | # vec3_t
2 |
3 | Type | Name
4 | ------------ | -------------
5 | number | x
6 | number | y
7 | number | z
8 |
9 | ## Functions
10 |
11 | ## **new(x, y, z)**: vec3_t
12 | Type | Name
13 | ------------ | -------------
14 | number | x
15 | number | y
16 | number | z
17 |
18 | Constructor
19 | ```lua
20 | local vector = vec3_t.new(0, 0, 0)
21 | ```
22 | ---
23 |
24 | ## **length()**: number
25 |
26 | Returns the length of vector
27 | ```lua
28 | local vector = vec3_t.new(100, 100, 100)
29 | local vector_length = vector:length()
30 | ```
31 | ---
32 |
33 | ## **dist_to(other)**: number
34 | Type | Name
35 | ------------ | -------------
36 | vec3_t | other
37 |
38 | Returns the distance between 2 vectors
39 | ```lua
40 | local vector = vec3_t.new(-100, -100, -100)
41 | local vector2 = vec3_t.new(100, 100, 100)
42 |
43 | local distance = vector:dist_to(vector2)
44 | ```
--------------------------------------------------------------------------------
/src/docs/types/vec4_t.md:
--------------------------------------------------------------------------------
1 | # vec4_t
2 |
3 | Type | Name
4 | ------------ | -------------
5 | number | x
6 | number | y
7 | number | z
8 | number | w
9 |
10 | ## Functions
11 |
12 | ## **new(x, y, z, w)**: vec4_t
13 | Type | Name
14 | ------------ | -------------
15 | number | x
16 | number | y
17 | number | z
18 | number | w
19 |
20 | Constructor
21 | ```lua
22 | local vec4 = vec4_t.new(0, 0, 0, 0)
23 | ```
--------------------------------------------------------------------------------
/src/docs/ui/types/check_box_t.md:
--------------------------------------------------------------------------------
1 | # checkbox_t
2 |
3 | ## Functions
4 |
5 | ## **get_value()**: bool
6 |
7 | Returns value from ui checkbox
8 | ```lua
9 | local legit_enable = ui.get_check_box("legit_enable")
10 | local is_legit_enabled = legit_enable:get_value()
11 | ```
12 | ---
13 |
14 | ## **set_value(val)**
15 | Type | Name | Description
16 | ------------ | ------------- | ------------
17 | bool | val | Value
18 |
19 | Setting checkbox value
20 | ```lua
21 | local legit_enable = ui.get_check_box("legit_enable")
22 | legit_enable:set_value(false)
23 | ```
24 |
25 | ---
26 |
27 | ## **set_visible(val)**
28 | Type | Name | Description
29 | ------------ | ------------- | ------------
30 | bool | val | Visiblity
31 |
32 | Setting checkbox visiblity, works only for script variables
33 | ```lua
34 | local test_var = ui.add_check_box("test", "test_var", false)
35 | test_var:set_visible(false)
36 | ```
37 |
38 | ---
39 |
40 | ## **set_label(label)**
41 | Type | Name | Description
42 | ------------ | ------------- | ------------
43 | string | label | New label
44 |
45 | Setting checkbox label, works only for script variables
46 | ```lua
47 | local test_var = ui.add_check_box("test", "test_var", false)
48 | test_var:set_label("123123")
49 | ```
--------------------------------------------------------------------------------
/src/docs/ui/types/color_edit_t.md:
--------------------------------------------------------------------------------
1 | # color_edit_t
2 |
3 | ## Functions
4 |
5 | ## **get_value()**: color_t
6 |
7 | Returns value from color edit
8 | ```lua
9 | local misc_ui_color = ui.get_color_edit("misc_ui_color")
10 | local ui_color = misc_ui_color:get_value()
11 | ```
12 | ---
13 |
14 | ## **set_value(val)**
15 | Type | Name | Description
16 | ------------ | ------------- | ------------
17 | color_t | val | Value
18 |
19 | Setting color edit value
20 | ```lua
21 | local misc_ui_color = ui.get_color_edit("misc_ui_color")
22 | misc_ui_color:set_value(color_t.new(0, 255, 0, 255))
23 | ```
24 | ---
25 |
26 | ## **set_visible(val)**
27 | Type | Name | Description
28 | ------------ | ------------- | ------------
29 | bool | val | Visiblity
30 |
31 | Setting color edit visiblity, works only for script variables
32 | ```lua
33 | local my_coloredit = ui.add_color_edit("lua coloredit", "lua_color", true, color_t.new(255, 255, 255, 255))
34 | my_coloredit:set_visible(false)
35 | ```
36 |
37 | ---
38 |
39 | ## **set_label(label)**
40 | Type | Name | Description
41 | ------------ | ------------- | ------------
42 | string | label | New label
43 |
44 | Setting color edit label, works only for script variables
45 | ```lua
46 | local my_coloredit = ui.add_color_edit("lua coloredit", "lua_color", true, color_t.new(255, 255, 255, 255))
47 | my_coloredit:set_label("123123")
48 | ```
--------------------------------------------------------------------------------
/src/docs/ui/types/combo_box_t.md:
--------------------------------------------------------------------------------
1 | # combo_box_t
2 |
3 | ## Functions
4 |
5 | ## **get_value()**: number
6 |
7 | Returns value from combo box
8 | ```lua
9 | local ragebot_active_exploit = ui.get_combo_box("ragebot_active_exploit")
10 | local active_exploit = ragebot_active_exploit:get_value()
11 | ```
12 | ---
13 |
14 | ## **set_value(val)**
15 | Type | Name | Description
16 | ------------ | ------------- | ------------
17 | number | val | Value
18 |
19 | Setting combobox value
20 | ```lua
21 | local ragebot_active_exploit = ui.get_combo_box("ragebot_active_exploit")
22 | ragebot_active_exploit:set_value(0)
23 | ```
24 | ---
25 |
26 | ## **set_visible(val)**
27 | Type | Name | Description
28 | ------------ | ------------- | ------------
29 | bool | val | Visiblity
30 |
31 | Setting combobox visiblity, works only for script variables
32 | ```lua
33 | local my_combo = ui.add_combo_box("lua combo", "lua_integer", { "item1", "item2", "item3" }, 0)
34 | my_combo:set_visible(false)
35 | ```
36 | ---
37 |
38 | ## **set_label(label)**
39 | Type | Name | Description
40 | ------------ | ------------- | ------------
41 | string | label | New label
42 |
43 | Setting combobox label, works only for script variables
44 | ```lua
45 | local my_combo = ui.add_combo_box("lua combo", "lua_integer", { "item1", "item2", "item3" }, 0)
46 | my_combo:set_label("123123")
47 | ```
48 |
49 | ---
50 |
51 | ## **set_items(items)**
52 | Type | Name | Description
53 | ------------ | ------------- | ------------
54 | string array | items | New items
55 |
56 | Setting combobox items, works only for script variables
57 | ```lua
58 | local my_combo = ui.add_combo_box("lua combo", "lua_integer", { "item1", "item2", "item3" }, 0)
59 | my_combo:set_items( { "1", "2", "3", "4" })
60 | ```
--------------------------------------------------------------------------------
/src/docs/ui/types/key_bind_t.md:
--------------------------------------------------------------------------------
1 | # key_bind_t
2 |
3 | ## Functions
4 |
5 | ## **get_key()**: number
6 |
7 | Returns the key code from keybind
8 | ```lua
9 | local rage_enable_bind = ui.get_key_bind("rage_enable_bind")
10 | local rage_enable_bind_key = rage_enable_bind:get_key()
11 | ```
12 | ---
13 |
14 | ## **get_type()**: number
15 |
16 | Returns keybind type
17 | ```lua
18 | local rage_enable_bind = ui.get_key_bind("rage_enable_bind")
19 | local rage_enable_bind_type = rage_enable_bind:get_type()
20 | ```
21 | ---
22 |
23 | ## **set_key(key)**
24 | Type | Name | Description
25 | ------------ | ------------- | ------------
26 | number | key | Key code
27 |
28 | Setting the key for keybind
29 | ```lua
30 | -- https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
31 | local rage_enable_bind = ui.get_key_bind("rage_enable_bind")
32 | rage_enable_bind:set_key(0x01) -- Left mouse button
33 | ```
34 | ---
35 |
36 | ## **set_type(type)**
37 | Type | Name | Description
38 | ------------ | ------------- | ------------
39 | number | type | Bind type
40 |
41 | Setting the type for keybind
42 | ```lua
43 | local rage_enable_bind = ui.get_key_bind("rage_enable_bind")
44 | rage_enable_bind:set_type(0) -- always on
45 | ```
46 | ---
47 |
48 | ## **is_active()**: bool
49 |
50 | Returns keybind state
51 | ```lua
52 | local rage_enable_bind = ui.get_key_bind("rage_enable_bind")
53 | local bind_active = rage_enable_bind:is_active()
54 | ```
55 | ---
56 |
57 | ## **set_visible(val)**
58 | Type | Name | Description
59 | ------------ | ------------- | ------------
60 | bool | val | Visiblity
61 |
62 | Setting keybind visiblity, works only for script variables
63 | ```lua
64 | local my_keybind = ui.add_key_bind("lua key bind", "lua_keybind", 0, 0)
65 | my_keybind:set_visible(false)
66 | ```
67 | ---
68 |
69 | ## **set_label(label)**
70 | Type | Name | Description
71 | ------------ | ------------- | ------------
72 | string | label | New label
73 |
74 | Setting keybind label, works only for script variables
75 | ```lua
76 | local my_keybind = ui.add_key_bind("lua key bind", "lua_keybind", 0, 0)
77 | my_keybind:set_label("123123")
78 | ```
--------------------------------------------------------------------------------
/src/docs/ui/types/multi_combo_box_t.md:
--------------------------------------------------------------------------------
1 | # multi_combo_box_t
2 |
3 | ## Functions
4 |
5 | ## **get_value(index)**: number
6 | Type | Name | Description
7 | ------------ | ------------- | ------------
8 | number | index | Element index
9 |
10 | Returns value from multi combo box
11 | ```lua
12 | local visuals_other_removals = ui.get_multi_combo_box("visuals_other_removals")
13 | local scope_borders_removal = visuals_other_removals:get_value(0)
14 | ```
15 | ---
16 |
17 | ## **set_value(index, val)**
18 | Type | Name | Description
19 | ------------ | ------------- | ------------
20 | number | index | Element index
21 | number | val | Value
22 |
23 | Setting multi combo box value
24 | ```lua
25 | local visuals_other_removals = ui.get_multi_combo_box("visuals_other_removals")
26 | ragebot_active_exploit:set_value(0, true)
27 | ```
28 | ---
29 |
30 | ## **set_visible(val)**
31 | Type | Name | Description
32 | ------------ | ------------- | ------------
33 | bool | val | Visiblity
34 |
35 | Setting multi combo box visiblity, works only for script variables
36 | ```lua
37 | local my_multi_combo = ui.add_multi_combo_box("multi combo", "lua_multi_combo", { "item1", "item2", "item3" }, { false, false, false })
38 | my_multi_combo:set_visible(false)
39 | ```
40 | ---
41 |
42 | ## **set_label(label)**
43 | Type | Name | Description
44 | ------------ | ------------- | ------------
45 | string | label | New label
46 |
47 | Setting multi combo box label, works only for script variables
48 | ```lua
49 | local my_multi_combo = ui.add_multi_combo_box("multi combo", "lua_multi_combo", { "item1", "item2", "item3" }, { false, false, false })
50 | my_multi_combo:set_label("123123")
51 | ```
52 | ---
53 |
54 | ## **set_items(items)**
55 | Type | Name | Description
56 | ------------ | ------------- | ------------
57 | string array | items | New items
58 |
59 | Setting combobox items, works only for script variables
60 | ```lua
61 | local my_multi_combo = ui.add_multi_combo_box("multi combo", "lua_multi_combo", { "item1", "item2", "item3" }, { false, false, false })
62 | my_multi_combo:set_items( { "1", "2", "3", "4" })
63 | ```
--------------------------------------------------------------------------------
/src/docs/ui/types/slider_float_t.md:
--------------------------------------------------------------------------------
1 | # slider_float_t
2 |
3 | ## Functions
4 |
5 | ## **get_value()**: number
6 |
7 | Returns value from slider float
8 | ```lua
9 | local skins_aspect_ratio = ui.get_slider_float("skins_aspect_ratio")
10 | local aspect_ratio = skins_aspect_ratio:get_value()
11 | ```
12 | ---
13 |
14 | ## **set_value(val)**
15 | Type | Name | Description
16 | ------------ | ------------- | ------------
17 | number | val | Value
18 |
19 | Setting slider float value
20 | ```lua
21 | local skins_aspect_ratio = ui.get_slider_float("skins_aspect_ratio")
22 | skins_aspect_ratio:set_value(1.333)
23 | ```
24 | ---
25 |
26 | ## **set_visible(val)**
27 | Type | Name | Description
28 | ------------ | ------------- | ------------
29 | bool | val | Visiblity
30 |
31 | Setting slider float visiblity, works only for script variables
32 | ```lua
33 | local slider = ui.add_slider_float("lua float slider", "lua_float", 0.0, 1.0, 0.3)
34 | slider:set_visible(false)
35 | ```
36 | ---
37 |
38 | ## **set_label(label)**
39 | Type | Name | Description
40 | ------------ | ------------- | ------------
41 | string | label | New label
42 |
43 | Setting slider float label, works only for script variables
44 | ```lua
45 | local slider = ui.add_slider_float("lua float slider", "lua_float", 0.0, 1.0, 0.3)
46 | slider:set_label("123123")
47 | ```
--------------------------------------------------------------------------------
/src/docs/ui/types/slider_int_t.md:
--------------------------------------------------------------------------------
1 | # slider_int_t
2 |
3 | ## Functions
4 |
5 | ## **get_value()**: number
6 |
7 | Returns value from slider int
8 | ```lua
9 | local visuals_other_nightmode = ui.get_slider_int("visuals_other_nightmode")
10 | local nightmode_amt = visuals_other_nightmode:get_value()
11 | ```
12 | ---
13 |
14 | ## **set_value(val)**
15 | Type | Name | Description
16 | ------------ | ------------- | ------------
17 | number | val | Value
18 |
19 | Setting slider int value
20 | ```lua
21 | local visuals_other_nightmode = ui.get_slider_int("visuals_other_nightmode")
22 | visuals_other_nightmode:set_value(0)
23 | ```
24 | ---
25 |
26 | ## **set_visible(val)**
27 | Type | Name | Description
28 | ------------ | ------------- | ------------
29 | bool | val | Visiblity
30 |
31 | Setting slider int visiblity, works only for script variables
32 | ```lua
33 | local my_slider_int = ui.add_slider_int("lua int slider", "lua_integer", 0, 100, 50)
34 | my_slider_int:set_visible(false)
35 | ```
36 | ---
37 |
38 | ## **set_label(label)**
39 | Type | Name | Description
40 | ------------ | ------------- | ------------
41 | string | label | New label
42 |
43 | Setting slider int label, works only for script variables
44 | ```lua
45 | local my_slider_int = ui.add_slider_int("lua int slider", "lua_integer", 0, 100, 50)
46 | my_slider_int:set_label("123123")
47 | ```
--------------------------------------------------------------------------------
/src/docs/ui/types/text_input_t.md:
--------------------------------------------------------------------------------
1 | # text_input_t
2 |
3 | ## Functions
4 |
5 | ## **get_value()**: string
6 |
7 | Returns value from text input
8 | ```lua
9 | local some_string_var = ui.add_text_input("some label", "some_key", "default")
10 | local str = some_string_var:get_value()
11 | ```
12 | ---
13 |
14 | ## **set_value(val)**
15 | Type | Name | Description
16 | ------------ | ------------- | ------------
17 | string | val | Value
18 |
19 | Setting text input value
20 | ```lua
21 | local some_string_var = ui.add_text_input("some label", "some_key", "default")
22 | some_string_var:set_value("text")
23 | ```
24 | ---
25 |
26 | ## **set_visible(val)**
27 | Type | Name | Description
28 | ------------ | ------------- | ------------
29 | bool | val | Visiblity
30 |
31 | Setting text input visiblity, works only for script variables
32 | ```lua
33 | local text_input = ui.add_text_input("some text", "lua_text", "default")
34 | text_input:set_visible(false)
35 | ```
36 | ---
37 |
38 | ## **set_label(label)**
39 | Type | Name | Description
40 | ------------ | ------------- | ------------
41 | string | label | New label
42 |
43 | Setting text input label, works only for script variables
44 | ```lua
45 | local text_input = ui.add_text_input("some text", "lua_text", "default")
46 | text_input:set_label("123123")
47 | ```
--------------------------------------------------------------------------------
/src/docs/ui/ui.md:
--------------------------------------------------------------------------------
1 | # ui table
2 |
3 | ## Functions
4 |
5 | ## **add_check_box(label, var_name, def_value)**: [check_box_t](../types/check_box_t)
6 |
7 | Type | Name | Description
8 | ------------ | ------------- | ------------
9 | string | label | Checkbox label
10 | string | var_name | Variable key
11 | bool | def_value | Default value
12 |
13 | Creates checkbox in menu
14 | ```lua
15 | local my_checkbox = ui.add_check_box("lua checkbox", "lua_boolean", false)
16 | ```
17 | ---
18 |
19 | ## **get_check_box(var_name)**: [check_box_t](../types/check_box_t)
20 |
21 | Type | Name | Description
22 | ------------ | ------------- | ------------
23 | string | var_name | Variable key
24 |
25 | Returns checkbox object from menu
26 | ```lua
27 | local my_checkbox = ui.get_check_box("legit_enable")
28 | ```
29 | ---
30 |
31 | ## **add_slider_int(label, var_name, min, max, def_value)**: [slider_int_t](../types/slider_int_t)
32 |
33 | Type | Name | Description
34 | ------------ | ------------- | ------------
35 | string | label | Slider label
36 | string | var_name | Variable key
37 | number | min | Min value
38 | number | max | Max value
39 | number | def_value | Default value
40 |
41 | Creates int slider in menu
42 | ```lua
43 | local my_slider_int = ui.add_slider_int("lua int slider", "lua_integer", 0, 100, 50)
44 | ```
45 | ---
46 |
47 | ## **get_slider_int(var_name)**: [slider_int_t](../types/slider_int_t)
48 |
49 | Type | Name | Description
50 | ------------ | ------------- | ------------
51 | string | var_name | Variable key
52 |
53 | Returns slider int object from menu
54 | ```lua
55 | local visuals_other_nightmode = ui.get_slider_int("visuals_other_nightmode")
56 | ```
57 | ---
58 |
59 | ## **add_combo_box(label, var_name, items, def_value)**: [combo_box_t](../types/combo_box_t)
60 |
61 | Type | Name | Description
62 | ------------ | ------------- | ------------
63 | string | label | Combobox label
64 | string | var_name | Variable key
65 | string array | items | Combo items
66 | number | def_value | Default value
67 |
68 | Creates combo box in menu
69 | ```lua
70 | local my_combo = ui.add_combo_box("lua combo", "lua_integer", { "item1", "item2", "item3" }, 0)
71 | ```
72 | ---
73 |
74 | ## **get_combo_box(var_name)**: [combo_box_t](../types/combo_box_t)
75 |
76 | Type | Name | Description
77 | ------------ | ------------- | ------------
78 | string | var_name | Variable key
79 |
80 | Returns combo box object from menu
81 | ```lua
82 | local rage_active_exploit = ui.get_combo_box("rage_active_exploit")
83 | ```
84 | ---
85 |
86 | ## **add_multi_combo_box(label, var_name, items, def_values)**: [multi_combo_box_t](../types/multi_combo_box_t)
87 |
88 | Type | Name | Description
89 | ------------ | ------------- | ------------
90 | string | label | Multicombobox label
91 | string | var_name | Variable key
92 | string array | items | Items
93 | bool array | def_values | Default values
94 |
95 | Creates combo box in menu
96 | ```lua
97 | local my_multi_combo = ui.add_multi_combo_box("multi combo", "lua_multi_combo", { "item1", "item2", "item3" }, { false, false, false })
98 | ```
99 | ---
100 |
101 | ## **get_multi_combo_box(var_name)**: [multi_combo_box_t](../types/multi_combo_box_t)
102 |
103 | Type | Name | Description
104 | ------------ | ------------- | ------------
105 | string | var_name | Variable key
106 |
107 | Returns multi combo box object from menu
108 | ```lua
109 | local visuals_other_removals = ui.get_multi_combo_box("visuals_other_removals")
110 | ```
111 | ---
112 |
113 | ## **add_text_input(label, var_name, def_value)**: [text_input_t](../types/text_input_t)
114 |
115 | Type | Name | Description
116 | ------------ | ------------- | ------------
117 | string | label | Slider label
118 | string | var_name | Variable key
119 | string | def_value | Default value
120 |
121 | Creates text input in menu
122 | ```lua
123 | local text_input = ui.add_text_input("some text", "lua_text", "default")
124 | ```
125 | ---
126 |
127 | ## **add_slider_float(label, var_name, min, max, def_value)**: [slider_float_t](../types/slider_float_t)
128 |
129 | Type | Name | Description
130 | ------------ | ------------- | ------------
131 | string | label | Slider label
132 | string | var_name | Variable key
133 | number | min | Min value
134 | number | max | Max value
135 | number | def_value | Default value
136 |
137 | Creates float slider in menu
138 | ```lua
139 | local slider = ui.add_slider_float("lua float slider", "lua_float", 0.0, 1.0, 0.3)
140 | ```
141 | ---
142 |
143 | ## **get_slider_float(var_name)**: [slider_float_t](../types/slider_float_t)
144 |
145 | Type | Name | Description
146 | ------------ | ------------- | ------------
147 | string | var_name | Variable key
148 |
149 | Returns slider float object from menu
150 | ```lua
151 | local slider = local skins_aspect_ratio = ui.get_slider_float("skins_aspect_ratio")
152 | ```
153 | ---
154 |
155 | ## **add_key_bind(label, var_name, def_key, def_mode)**: [key_bind_t](../types/key_bind_t)
156 |
157 | Type | Name | Description
158 | ------------ | ------------- | ------------
159 | string | label | Keybind label
160 | string | var_name | Variable key
161 | number | def_key | Default key
162 | number | def_mode | Default mode
163 |
164 | Creates key bind in menu
165 | ```lua
166 | local my_keybind = ui.add_key_bind("lua key bind", "lua_keybind", 0, 0)
167 | ```
168 | ---
169 |
170 | ## **get_key_bind(var_name)**: [key_bind_t](../types/key_bind_t)
171 |
172 | Type | Name | Description
173 | ------------ | ------------- | ------------
174 | string | var_name | Variable key
175 |
176 | Returns keybind object from menu
177 | ```lua
178 | local rage_enable_bind = ui.get_key_bind("rage_enable_bind")
179 | ```
180 | ---
181 |
182 | ## **add_color_edit(label, var_name, show_alpha, def_color)**: [color_edit_t](../types/color_edit_t)
183 |
184 | Type | Name | Description
185 | ------------ | ------------- | ------------
186 | string | label | Coloredit label
187 | string | var_name | Variable key
188 | bool | show_alpha | Enables the alpha modifer
189 | [color_t](../../types/color_t) | def_color | Default color
190 |
191 | Creates color edit in menu
192 | ```lua
193 | local my_coloredit = ui.add_color_edit("lua coloredit", "lua_color", true, color_t.new(255, 255, 255, 255))
194 | ```
195 | ---
196 |
197 | ## **get_color_edit(var_name)**: [color_edit_t](../types/color_edit_t)
198 |
199 | Type | Name | Description
200 | ------------ | ------------- | ------------
201 | string | var_name | Variable key
202 |
203 | Returns color edit object from menu
204 | ```lua
205 | local misc_ui_color = ui.get_color_edit("misc_ui_color")
206 | ```
207 | ---
208 |
209 | ## **is_visible()**: bool
210 |
211 | Returns true if menu opened
212 | ```lua
213 | local is_menu_opened = ui.is_visible()
214 | ```
215 | ---
216 |
217 | ## **set_visible(value)**
218 |
219 | Type | Name | Description
220 | ------------ | ------------- | ------------
221 | bool | value | Set menu visible or not
222 |
223 | Setting menu visibility
224 | ```lua
225 | -- close menu
226 | ui.set_visible(false)
227 | ```
228 | ---
229 |
230 | ## **get_menu_rect()**: [vec4_t](../../types/vec4_t)
231 |
232 | Returns menu coordinates
233 | ```lua
234 | local menu_rect = ui.get_menu_rect()
235 | renderer.rect_filled(vec2_t.new(menu_rect.z + 10, menu_rect.y), vec2_t.new(menu_rect.z + 50, menu_rect.w), color_t.new(255, 255, 255, 255))
236 | ```
--------------------------------------------------------------------------------
/src/mkdocs.yml:
--------------------------------------------------------------------------------
1 | site_name: Nixware Lua API
2 | nav:
3 | - Home: index.md
4 | - ui:
5 | - ui: ui/ui.md
6 | - vars: ui/vars.md
7 | - types:
8 | - check_box_t: ui/types/check_box_t.md
9 | - color_edit_t: ui/types/color_edit_t.md
10 | - combo_box_t: ui/types/combo_box_t.md
11 | - multi_combo_box_t: ui/types/multi_combo_box_t.md
12 | - key_bind_t: ui/types/key_bind_t.md
13 | - slider_float_t: ui/types/slider_float_t.md
14 | - slider_int_t: ui/types/slider_int_t.md
15 | - text_input_t: ui/types/text_input_t.md
16 | - client: client.md
17 | - renderer: renderer.md
18 | - ragebot: ragebot.md
19 | - types:
20 | - vec2_t: types/vec2_t.md
21 | - vec3_t: types/vec3_t.md
22 | - vec4_t: types/vec4_t.md
23 | - angle_t: types/angle_t.md
24 | - color_t: types/color_t.md
25 | - source engine:
26 | - types:
27 | - game_event_t: sourceengine/types/game_event_t.md
28 | - usercmd_t: sourceengine/types/usercmd_t.md
29 | - convar_t: sourceengine/types/convar_t.md
30 | - entity_t: sourceengine/types/entity_t.md
31 | - player_info_t: sourceengine/types/player_info_t.md
32 | - trace_t: sourceengine/types/trace_t.md
33 | - shot_info_t: sourceengine/types/shot_info_t.md
34 | - view_setup_t: sourceengine/types/view_setup_t.md
35 | - se: sourceengine/se.md
36 | - engine: sourceengine/engine.md
37 | - trace: sourceengine/trace.md
38 | - entitylist: sourceengine/entitylist.md
39 | - globalvars: sourceengine/globalvars.md
40 | - clientstate: sourceengine/clientstate.md
41 | - callbacks: callbacks.md
42 | theme:
43 | logo: https://nixware.cc/styles/default/xenforo/ava.png
44 | name: material
45 | markdown_extensions:
46 | - codehilite:
47 | linenums: true
48 | - admonition
--------------------------------------------------------------------------------
/src/snippets/build.bat:
--------------------------------------------------------------------------------
1 | vsce package
--------------------------------------------------------------------------------
/src/snippets/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nixer1337/nixware-api/1a8f61286254ec2ea7f11179b187ee0f79816cec/src/snippets/icon.png
--------------------------------------------------------------------------------
/src/snippets/nixware-lua-api-snippets-1.1.5.vsix:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Nixer1337/nixware-api/1a8f61286254ec2ea7f11179b187ee0f79816cec/src/snippets/nixware-lua-api-snippets-1.1.5.vsix
--------------------------------------------------------------------------------
/src/snippets/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nixware-lua-api-snippets",
3 | "displayName": "Nixware Lua API Snippets",
4 | "description": "Code snippets for the Nixware Lua API.",
5 | "publisher": "Nixer1337",
6 | "icon": "icon.png",
7 | "homepage": "https://api.nixware.cc",
8 | "version": "1.1.5",
9 | "engines": {
10 | "vscode": "^1.46.0"
11 | },
12 | "keywords": [
13 | "lua",
14 | "nixware"
15 | ],
16 | "categories": [
17 | "Snippets"
18 | ],
19 | "contributes": {
20 | "snippets": [
21 | {
22 | "language": "lua",
23 | "path": "./snippets.json"
24 | }
25 | ]
26 | }
27 | }
28 |
--------------------------------------------------------------------------------