j1-template 2021.0.3 → 2021.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +10 -10
  3. data/assets/data/quicklinks.html +2 -2
  4. data/assets/themes/j1/adapter/js/mmenu.js +18 -22
  5. data/assets/themes/j1/adapter/js/{lunr_search.js → quicksearch.js} +11 -11
  6. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.eot → eot/fa-brands-400.eot} +0 -0
  7. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.eot → eot/fa-regular-400.eot} +0 -0
  8. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.eot → eot/fa-solid-900.eot} +0 -0
  9. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.svg → svg/fa-brands-400.svg} +0 -0
  10. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.svg → svg/fa-regular-400.svg} +0 -0
  11. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.svg → svg/fa-solid-900.svg} +0 -0
  12. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.ttf → ttf/fa-brands-400.ttf} +0 -0
  13. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.ttf → ttf/fa-regular-400.ttf} +0 -0
  14. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.ttf → ttf/fa-solid-900.ttf} +0 -0
  15. data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.eot → eot/materialdesignicons-webfont.eot} +0 -0
  16. data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.svg → svg/materialdesignicons-webfont.svg} +0 -0
  17. data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.ttf → ttf/materialdesignicons-webfont.ttf} +0 -0
  18. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.eot → eot/Roboto-Bold.eot} +0 -0
  19. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.eot → eot/Roboto-Light.eot} +0 -0
  20. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.eot → eot/Roboto-Medium.eot} +0 -0
  21. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.eot → eot/Roboto-Regular.eot} +0 -0
  22. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.eot → eot/Roboto-Thin.eot} +0 -0
  23. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Black.ttf → ttf/Roboto-Black.ttf} +0 -0
  24. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BlackItalic.ttf → ttf/Roboto-BlackItalic.ttf} +0 -0
  25. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.ttf → ttf/Roboto-Bold.ttf} +0 -0
  26. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BoldItalic.ttf → ttf/Roboto-BoldItalic.ttf} +0 -0
  27. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Italic.ttf → ttf/Roboto-Italic.ttf} +0 -0
  28. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.ttf → ttf/Roboto-Light.ttf} +0 -0
  29. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-LightItalic.ttf → ttf/Roboto-LightItalic.ttf} +0 -0
  30. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.ttf → ttf/Roboto-Medium.ttf} +0 -0
  31. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-MediumItalic.ttf → ttf/Roboto-MediumItalic.ttf} +0 -0
  32. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.ttf → ttf/Roboto-Regular.ttf} +0 -0
  33. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.ttf → ttf/Roboto-Thin.ttf} +0 -0
  34. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-ThinItalic.ttf → ttf/Roboto-ThinItalic.ttf} +0 -0
  35. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc.png +0 -0
  36. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc_disabled.png +0 -0
  37. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_both.png +0 -0
  38. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc.png +0 -0
  39. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc_disabled.png +0 -0
  40. data/assets/themes/j1/modules/datatables/css/datatables.css +1113 -0
  41. data/assets/themes/j1/modules/datatables/css/datatables.min.css +136 -0
  42. data/assets/themes/j1/modules/datatables/css/theme/uno.css +473 -0
  43. data/assets/themes/j1/modules/datatables/js/datatables.js +95360 -0
  44. data/assets/themes/j1/modules/datatables/js/datatables.min.js +533 -0
  45. data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.css → quicksearch.css} +0 -0
  46. data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.min.css → quicksearch.min.css} +0 -0
  47. data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.js +304 -0
  48. data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.min.js +1 -0
  49. data/assets/themes/j1/modules/lunrSearch/js/{lunr_search.js → quicksearch.js} +22 -3
  50. data/assets/themes/j1/modules/lunrSearch/js/{lunr_search.min.js → quicksearch.min.js} +0 -0
  51. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.js +381 -0
  52. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.min.js +1 -0
  53. data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.js +284 -0
  54. data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.min.js +18 -0
  55. data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.js +384 -0
  56. data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.min.js +18 -0
  57. data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.js +450 -0
  58. data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.min.js +18 -0
  59. data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.js +599 -0
  60. data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.min.js +18 -0
  61. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.js +541 -0
  62. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.min.js +18 -0
  63. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.js +703 -0
  64. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.min.js +18 -0
  65. data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.js +565 -0
  66. data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.min.js +18 -0
  67. data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.js +617 -0
  68. data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.min.js +18 -0
  69. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.js +188 -0
  70. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.min.js +1 -0
  71. data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.js +5 -0
  72. data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.min.js +1 -0
  73. data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.js +79 -0
  74. data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.min.js +1 -0
  75. data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.js +448 -0
  76. data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.min.js +18 -0
  77. data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.js +258 -0
  78. data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.min.js +18 -0
  79. data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.js +570 -0
  80. data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.min.js +18 -0
  81. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.js +558 -0
  82. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.min.js +18 -0
  83. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.js +391 -0
  84. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.min.js +18 -0
  85. data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.js +256 -0
  86. data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.min.js +18 -0
  87. data/assets/themes/j1/modules/lunrSearch/languages/lunr.th.js +97 -0
  88. data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.js +1087 -0
  89. data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.min.js +18 -0
  90. data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.js +84 -0
  91. data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.min.js +1 -0
  92. data/lib/j1/version.rb +1 -1
  93. data/lib/starter_web/Gemfile +1 -2
  94. data/lib/starter_web/_config.yml +2 -2
  95. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1mn-subset +26 -0
  96. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1p-subset +26 -0
  97. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoemoji-subset +3 -0
  98. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoserif-subset +26 -0
  99. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-mplus +16 -0
  100. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoemoji +201 -0
  101. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoserif +201 -0
  102. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-roboto +11 -0
  103. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Black.ttf +0 -0
  104. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BlackItalic.ttf +0 -0
  105. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Bold.ttf +0 -0
  106. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BoldItalic.ttf +0 -0
  107. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Italic.ttf +0 -0
  108. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Light.ttf +0 -0
  109. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-LightItalic.ttf +0 -0
  110. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Medium.ttf +0 -0
  111. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-MediumItalic.ttf +0 -0
  112. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Regular.ttf +0 -0
  113. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Thin.ttf +0 -0
  114. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-ThinItalic.ttf +0 -0
  115. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold-subset.ttf +0 -0
  116. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold_italic-subset.ttf +0 -0
  117. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-italic-subset.ttf +0 -0
  118. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-regular-subset.ttf +0 -0
  119. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/mplus1p-regular-fallback.ttf +0 -0
  120. data/lib/starter_web/_data/asciidoc2pdf/fonts/notoemoji-subset.ttf +0 -0
  121. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold-subset.ttf +0 -0
  122. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold_italic-subset.ttf +0 -0
  123. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-italic-subset.ttf +0 -0
  124. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-regular-subset.ttf +0 -0
  125. data/lib/starter_web/_data/asciidoc2pdf/themes/base-theme.yml +130 -0
  126. data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-theme.yml +36 -0
  127. data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml +15 -0
  128. data/lib/starter_web/_data/asciidoc2pdf/themes/default-theme.yml +298 -0
  129. data/lib/starter_web/_data/asciidoc2pdf/themes/default-with-fallback-font-theme.yml +21 -0
  130. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +315 -0
  131. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +73 -0
  132. data/lib/starter_web/_data/modules/navigator.yml +4 -6
  133. data/lib/starter_web/_data/modules/{lunr_search.yml → quicksearch.yml} +3 -3
  134. data/lib/starter_web/_data/modules/themer.yml +1 -1
  135. data/lib/starter_web/_data/resources.yml +34 -37
  136. data/lib/starter_web/_includes/attributes.asciidoc +3 -1
  137. data/lib/starter_web/_plugins/lunr_index.rb +19 -8
  138. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  139. data/lib/starter_web/dot.gitattributes +2 -16
  140. data/lib/starter_web/package.json +6 -6
  141. data/lib/starter_web/pages/protected/site_search.adoc +2 -7
  142. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +1 -1
  143. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +2 -2
  144. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +2 -2
  145. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +146 -47
  146. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  147. data/lib/starter_web/utilsrv/package.json +1 -1
  148. metadata +127 -49
  149. data/assets/themes/j1/core/fonts/materialdesign_icons/license.md +0 -97
  150. data/assets/themes/j1/core/fonts/roboto/fonts/OpenSansEmoji.ttf +0 -0
  151. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold-ascii.ttf +0 -0
  152. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold_italic-ascii.ttf +0 -0
  153. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-italic-ascii.ttf +0 -0
  154. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-regular-ascii-conums.ttf +0 -0
  155. data/lib/starter_web/_data/modules/defaults/lunr_search.yml +0 -171
@@ -0,0 +1,18 @@
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&&L.cursor++),h=L.cursor)}function u(){for(;!L.in_grouping(W,97,259);){if(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")}});
@@ -0,0 +1,391 @@
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
+ /**
19
+ * export the module via AMD, CommonJS or as a browser global
20
+ * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
21
+ */
22
+ ;
23
+ (function(root, factory) {
24
+ if (typeof define === 'function' && define.amd) {
25
+ // AMD. Register as an anonymous module.
26
+ define(factory)
27
+ } else if (typeof exports === 'object') {
28
+ /**
29
+ * Node. Does not work with strict CommonJS, but
30
+ * only CommonJS-like environments that support module.exports,
31
+ * like Node.
32
+ */
33
+ module.exports = factory()
34
+ } else {
35
+ // Browser globals (root is window)
36
+ factory()(root.lunr);
37
+ }
38
+ }(this, function() {
39
+ /**
40
+ * Just return a value to define the module export.
41
+ * This example returns an object, but the module
42
+ * can return a function as the exported value.
43
+ */
44
+ return function(lunr) {
45
+ /* throw error if lunr is not yet included */
46
+ if ('undefined' === typeof lunr) {
47
+ throw new Error('Lunr is not present. Please include / require Lunr before this script.');
48
+ }
49
+
50
+ /* throw error if lunr stemmer support is not yet included */
51
+ if ('undefined' === typeof lunr.stemmerSupport) {
52
+ throw new Error('Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.');
53
+ }
54
+
55
+ /* register specific locale function */
56
+ lunr.ru = function() {
57
+ this.pipeline.reset();
58
+ this.pipeline.add(
59
+ lunr.ru.trimmer,
60
+ lunr.ru.stopWordFilter,
61
+ lunr.ru.stemmer
62
+ );
63
+
64
+ // for lunr version 2
65
+ // this is necessary so that every searched word is also stemmed before
66
+ // in lunr <= 1 this is not needed, as it is done using the normal pipeline
67
+ if (this.searchPipeline) {
68
+ this.searchPipeline.reset();
69
+ this.searchPipeline.add(lunr.ru.stemmer)
70
+ }
71
+ };
72
+
73
+ /* lunr trimmer function */
74
+ lunr.ru.wordCharacters = "\u0400-\u0484\u0487-\u052F\u1D2B\u1D78\u2DE0-\u2DFF\uA640-\uA69F\uFE2E\uFE2F";
75
+ lunr.ru.trimmer = lunr.trimmerSupport.generateTrimmer(lunr.ru.wordCharacters);
76
+
77
+ lunr.Pipeline.registerFunction(lunr.ru.trimmer, 'trimmer-ru');
78
+
79
+ /* lunr stemmer function */
80
+ lunr.ru.stemmer = (function() {
81
+ /* create the wrapped stemmer object */
82
+ var Among = lunr.stemmerSupport.Among,
83
+ SnowballProgram = lunr.stemmerSupport.SnowballProgram,
84
+ st = new function RussianStemmer() {
85
+ var a_0 = [new Among("\u0432", -1, 1), new Among("\u0438\u0432", 0, 2),
86
+ new Among("\u044B\u0432", 0, 2),
87
+ new Among("\u0432\u0448\u0438", -1, 1),
88
+ new Among("\u0438\u0432\u0448\u0438", 3, 2),
89
+ new Among("\u044B\u0432\u0448\u0438", 3, 2),
90
+ new Among("\u0432\u0448\u0438\u0441\u044C", -1, 1),
91
+ new Among("\u0438\u0432\u0448\u0438\u0441\u044C", 6, 2),
92
+ new Among("\u044B\u0432\u0448\u0438\u0441\u044C", 6, 2)
93
+ ],
94
+ a_1 = [
95
+ new Among("\u0435\u0435", -1, 1), new Among("\u0438\u0435", -1, 1),
96
+ new Among("\u043E\u0435", -1, 1), new Among("\u044B\u0435", -1, 1),
97
+ new Among("\u0438\u043C\u0438", -1, 1),
98
+ new Among("\u044B\u043C\u0438", -1, 1),
99
+ new Among("\u0435\u0439", -1, 1), new Among("\u0438\u0439", -1, 1),
100
+ new Among("\u043E\u0439", -1, 1), new Among("\u044B\u0439", -1, 1),
101
+ new Among("\u0435\u043C", -1, 1), new Among("\u0438\u043C", -1, 1),
102
+ new Among("\u043E\u043C", -1, 1), new Among("\u044B\u043C", -1, 1),
103
+ new Among("\u0435\u0433\u043E", -1, 1),
104
+ new Among("\u043E\u0433\u043E", -1, 1),
105
+ new Among("\u0435\u043C\u0443", -1, 1),
106
+ new Among("\u043E\u043C\u0443", -1, 1),
107
+ new Among("\u0438\u0445", -1, 1), new Among("\u044B\u0445", -1, 1),
108
+ new Among("\u0435\u044E", -1, 1), new Among("\u043E\u044E", -1, 1),
109
+ new Among("\u0443\u044E", -1, 1), new Among("\u044E\u044E", -1, 1),
110
+ new Among("\u0430\u044F", -1, 1), new Among("\u044F\u044F", -1, 1)
111
+ ],
112
+ a_2 = [
113
+ new Among("\u0435\u043C", -1, 1), new Among("\u043D\u043D", -1, 1),
114
+ new Among("\u0432\u0448", -1, 1),
115
+ new Among("\u0438\u0432\u0448", 2, 2),
116
+ new Among("\u044B\u0432\u0448", 2, 2), new Among("\u0449", -1, 1),
117
+ new Among("\u044E\u0449", 5, 1),
118
+ new Among("\u0443\u044E\u0449", 6, 2)
119
+ ],
120
+ a_3 = [
121
+ new Among("\u0441\u044C", -1, 1), new Among("\u0441\u044F", -1, 1)
122
+ ],
123
+ a_4 = [
124
+ new Among("\u043B\u0430", -1, 1),
125
+ new Among("\u0438\u043B\u0430", 0, 2),
126
+ new Among("\u044B\u043B\u0430", 0, 2),
127
+ new Among("\u043D\u0430", -1, 1),
128
+ new Among("\u0435\u043D\u0430", 3, 2),
129
+ new Among("\u0435\u0442\u0435", -1, 1),
130
+ new Among("\u0438\u0442\u0435", -1, 2),
131
+ new Among("\u0439\u0442\u0435", -1, 1),
132
+ new Among("\u0435\u0439\u0442\u0435", 7, 2),
133
+ new Among("\u0443\u0439\u0442\u0435", 7, 2),
134
+ new Among("\u043B\u0438", -1, 1),
135
+ new Among("\u0438\u043B\u0438", 10, 2),
136
+ new Among("\u044B\u043B\u0438", 10, 2), new Among("\u0439", -1, 1),
137
+ new Among("\u0435\u0439", 13, 2), new Among("\u0443\u0439", 13, 2),
138
+ new Among("\u043B", -1, 1), new Among("\u0438\u043B", 16, 2),
139
+ new Among("\u044B\u043B", 16, 2), new Among("\u0435\u043C", -1, 1),
140
+ new Among("\u0438\u043C", -1, 2), new Among("\u044B\u043C", -1, 2),
141
+ new Among("\u043D", -1, 1), new Among("\u0435\u043D", 22, 2),
142
+ new Among("\u043B\u043E", -1, 1),
143
+ new Among("\u0438\u043B\u043E", 24, 2),
144
+ new Among("\u044B\u043B\u043E", 24, 2),
145
+ new Among("\u043D\u043E", -1, 1),
146
+ new Among("\u0435\u043D\u043E", 27, 2),
147
+ new Among("\u043D\u043D\u043E", 27, 1),
148
+ new Among("\u0435\u0442", -1, 1),
149
+ new Among("\u0443\u0435\u0442", 30, 2),
150
+ new Among("\u0438\u0442", -1, 2), new Among("\u044B\u0442", -1, 2),
151
+ new Among("\u044E\u0442", -1, 1),
152
+ new Among("\u0443\u044E\u0442", 34, 2),
153
+ new Among("\u044F\u0442", -1, 2), new Among("\u043D\u044B", -1, 1),
154
+ new Among("\u0435\u043D\u044B", 37, 2),
155
+ new Among("\u0442\u044C", -1, 1),
156
+ new Among("\u0438\u0442\u044C", 39, 2),
157
+ new Among("\u044B\u0442\u044C", 39, 2),
158
+ new Among("\u0435\u0448\u044C", -1, 1),
159
+ new Among("\u0438\u0448\u044C", -1, 2), new Among("\u044E", -1, 2),
160
+ new Among("\u0443\u044E", 44, 2)
161
+ ],
162
+ a_5 = [
163
+ new Among("\u0430", -1, 1), new Among("\u0435\u0432", -1, 1),
164
+ new Among("\u043E\u0432", -1, 1), new Among("\u0435", -1, 1),
165
+ new Among("\u0438\u0435", 3, 1), new Among("\u044C\u0435", 3, 1),
166
+ new Among("\u0438", -1, 1), new Among("\u0435\u0438", 6, 1),
167
+ new Among("\u0438\u0438", 6, 1),
168
+ new Among("\u0430\u043C\u0438", 6, 1),
169
+ new Among("\u044F\u043C\u0438", 6, 1),
170
+ new Among("\u0438\u044F\u043C\u0438", 10, 1),
171
+ new Among("\u0439", -1, 1), new Among("\u0435\u0439", 12, 1),
172
+ new Among("\u0438\u0435\u0439", 13, 1),
173
+ new Among("\u0438\u0439", 12, 1), new Among("\u043E\u0439", 12, 1),
174
+ new Among("\u0430\u043C", -1, 1), new Among("\u0435\u043C", -1, 1),
175
+ new Among("\u0438\u0435\u043C", 18, 1),
176
+ new Among("\u043E\u043C", -1, 1), new Among("\u044F\u043C", -1, 1),
177
+ new Among("\u0438\u044F\u043C", 21, 1), new Among("\u043E", -1, 1),
178
+ new Among("\u0443", -1, 1), new Among("\u0430\u0445", -1, 1),
179
+ new Among("\u044F\u0445", -1, 1),
180
+ new Among("\u0438\u044F\u0445", 26, 1), new Among("\u044B", -1, 1),
181
+ new Among("\u044C", -1, 1), new Among("\u044E", -1, 1),
182
+ new Among("\u0438\u044E", 30, 1), new Among("\u044C\u044E", 30, 1),
183
+ new Among("\u044F", -1, 1), new Among("\u0438\u044F", 33, 1),
184
+ new Among("\u044C\u044F", 33, 1)
185
+ ],
186
+ a_6 = [
187
+ new Among("\u043E\u0441\u0442", -1, 1),
188
+ new Among("\u043E\u0441\u0442\u044C", -1, 1)
189
+ ],
190
+ a_7 = [
191
+ new Among("\u0435\u0439\u0448\u0435", -1, 1),
192
+ new Among("\u043D", -1, 2), new Among("\u0435\u0439\u0448", -1, 1),
193
+ new Among("\u044C", -1, 3)
194
+ ],
195
+ g_v = [33, 65, 8, 232],
196
+ I_p2, I_pV, sbp = new SnowballProgram();
197
+ this.setCurrent = function(word) {
198
+ sbp.setCurrent(word);
199
+ };
200
+ this.getCurrent = function() {
201
+ return sbp.getCurrent();
202
+ };
203
+
204
+ function habr3() {
205
+ while (!sbp.in_grouping(g_v, 1072, 1103)) {
206
+ if (sbp.cursor >= sbp.limit)
207
+ return false;
208
+ sbp.cursor++;
209
+ }
210
+ return true;
211
+ }
212
+
213
+ function habr4() {
214
+ while (!sbp.out_grouping(g_v, 1072, 1103)) {
215
+ if (sbp.cursor >= sbp.limit)
216
+ return false;
217
+ sbp.cursor++;
218
+ }
219
+ return true;
220
+ }
221
+
222
+ function r_mark_regions() {
223
+ I_pV = sbp.limit;
224
+ I_p2 = I_pV;
225
+ if (habr3()) {
226
+ I_pV = sbp.cursor;
227
+ if (habr4())
228
+ if (habr3())
229
+ if (habr4())
230
+ I_p2 = sbp.cursor;
231
+ }
232
+ }
233
+
234
+ function r_R2() {
235
+ return I_p2 <= sbp.cursor;
236
+ }
237
+
238
+ function habr2(a, n) {
239
+ var among_var, v_1;
240
+ sbp.ket = sbp.cursor;
241
+ among_var = sbp.find_among_b(a, n);
242
+ if (among_var) {
243
+ sbp.bra = sbp.cursor;
244
+ switch (among_var) {
245
+ case 1:
246
+ v_1 = sbp.limit - sbp.cursor;
247
+ if (!sbp.eq_s_b(1, "\u0430")) {
248
+ sbp.cursor = sbp.limit - v_1;
249
+ if (!sbp.eq_s_b(1, "\u044F"))
250
+ return false;
251
+ }
252
+ case 2:
253
+ sbp.slice_del();
254
+ break;
255
+ }
256
+ return true;
257
+ }
258
+ return false;
259
+ }
260
+
261
+ function r_perfective_gerund() {
262
+ return habr2(a_0, 9);
263
+ }
264
+
265
+ function habr1(a, n) {
266
+ var among_var;
267
+ sbp.ket = sbp.cursor;
268
+ among_var = sbp.find_among_b(a, n);
269
+ if (among_var) {
270
+ sbp.bra = sbp.cursor;
271
+ if (among_var == 1)
272
+ sbp.slice_del();
273
+ return true;
274
+ }
275
+ return false;
276
+ }
277
+
278
+ function r_adjective() {
279
+ return habr1(a_1, 26);
280
+ }
281
+
282
+ function r_adjectival() {
283
+ var among_var;
284
+ if (r_adjective()) {
285
+ habr2(a_2, 8);
286
+ return true;
287
+ }
288
+ return false;
289
+ }
290
+
291
+ function r_reflexive() {
292
+ return habr1(a_3, 2);
293
+ }
294
+
295
+ function r_verb() {
296
+ return habr2(a_4, 46);
297
+ }
298
+
299
+ function r_noun() {
300
+ habr1(a_5, 36);
301
+ }
302
+
303
+ function r_derivational() {
304
+ var among_var;
305
+ sbp.ket = sbp.cursor;
306
+ among_var = sbp.find_among_b(a_6, 2);
307
+ if (among_var) {
308
+ sbp.bra = sbp.cursor;
309
+ if (r_R2() && among_var == 1)
310
+ sbp.slice_del();
311
+ }
312
+ }
313
+
314
+ function r_tidy_up() {
315
+ var among_var;
316
+ sbp.ket = sbp.cursor;
317
+ among_var = sbp.find_among_b(a_7, 4);
318
+ if (among_var) {
319
+ sbp.bra = sbp.cursor;
320
+ switch (among_var) {
321
+ case 1:
322
+ sbp.slice_del();
323
+ sbp.ket = sbp.cursor;
324
+ if (!sbp.eq_s_b(1, "\u043D"))
325
+ break;
326
+ sbp.bra = sbp.cursor;
327
+ case 2:
328
+ if (!sbp.eq_s_b(1, "\u043D"))
329
+ break;
330
+ case 3:
331
+ sbp.slice_del();
332
+ break;
333
+ }
334
+ }
335
+ }
336
+ this.stem = function() {
337
+ r_mark_regions();
338
+ sbp.cursor = sbp.limit;
339
+ if (sbp.cursor < I_pV)
340
+ return false;
341
+ sbp.limit_backward = I_pV;
342
+ if (!r_perfective_gerund()) {
343
+ sbp.cursor = sbp.limit;
344
+ if (!r_reflexive())
345
+ sbp.cursor = sbp.limit;
346
+ if (!r_adjectival()) {
347
+ sbp.cursor = sbp.limit;
348
+ if (!r_verb()) {
349
+ sbp.cursor = sbp.limit;
350
+ r_noun();
351
+ }
352
+ }
353
+ }
354
+ sbp.cursor = sbp.limit;
355
+ sbp.ket = sbp.cursor;
356
+ if (sbp.eq_s_b(1, "\u0438")) {
357
+ sbp.bra = sbp.cursor;
358
+ sbp.slice_del();
359
+ } else
360
+ sbp.cursor = sbp.limit;
361
+ r_derivational();
362
+ sbp.cursor = sbp.limit;
363
+ r_tidy_up();
364
+ return true;
365
+ }
366
+ };
367
+
368
+ /* and return a function that stems a word for the current locale */
369
+ return function(token) {
370
+ // for lunr version 2
371
+ if (typeof token.update === "function") {
372
+ return token.update(function(word) {
373
+ st.setCurrent(word);
374
+ st.stem();
375
+ return st.getCurrent();
376
+ })
377
+ } else { // for lunr version <= 1
378
+ st.setCurrent(token);
379
+ st.stem();
380
+ return st.getCurrent();
381
+ }
382
+ }
383
+ })();
384
+
385
+ lunr.Pipeline.registerFunction(lunr.ru.stemmer, 'stemmer-ru');
386
+
387
+ lunr.ru.stopWordFilter = lunr.generateStopWordFilter('алло без близко более больше будем будет будете будешь будто буду будут будь бы бывает бывь был была были было быть в важная важное важные важный вам вами вас ваш ваша ваше ваши вверх вдали вдруг ведь везде весь вниз внизу во вокруг вон восемнадцатый восемнадцать восемь восьмой вот впрочем времени время все всегда всего всем всеми всему всех всею всю всюду вся всё второй вы г где говорил говорит год года году да давно даже далеко дальше даром два двадцатый двадцать две двенадцатый двенадцать двух девятнадцатый девятнадцать девятый девять действительно дел день десятый десять для до довольно долго должно другая другие других друго другое другой е его ее ей ему если есть еще ещё ею её ж же жизнь за занят занята занято заняты затем зато зачем здесь значит и из или им именно иметь ими имя иногда их к каждая каждое каждые каждый кажется как какая какой кем когда кого ком кому конечно которая которого которой которые который которых кроме кругом кто куда лет ли лишь лучше люди м мало между меля менее меньше меня миллионов мимо мира мне много многочисленная многочисленное многочисленные многочисленный мной мною мог могут мож может можно можхо мои мой мор мочь моя моё мы на наверху над надо назад наиболее наконец нам нами нас начала наш наша наше наши не него недавно недалеко нее ней нельзя нем немного нему непрерывно нередко несколько нет нею неё ни нибудь ниже низко никогда никуда ними них ничего но ну нужно нх о об оба обычно один одиннадцатый одиннадцать однажды однако одного одной около он она они оно опять особенно от отовсюду отсюда очень первый перед по под пожалуйста позже пока пор пора после посреди потом потому почему почти прекрасно при про просто против процентов пятнадцатый пятнадцать пятый пять раз разве рано раньше рядом с сам сама сами самим самими самих само самого самой самом самому саму свое своего своей свои своих свою сеаой себе себя сегодня седьмой сейчас семнадцатый семнадцать семь сих сказал сказала сказать сколько слишком сначала снова со собой собою совсем спасибо стал суть т та так такая также такие такое такой там твой твоя твоё те тебе тебя тем теми теперь тех то тобой тобою тогда того тоже только том тому тот тою третий три тринадцатый тринадцать ту туда тут ты тысяч у уж уже уметь хорошо хотеть хоть хотя хочешь часто чаще чего человек чем чему через четвертый четыре четырнадцатый четырнадцать что чтоб чтобы чуть шестнадцатый шестнадцать шестой шесть эта эти этим этими этих это этого этой этом этому этот эту я а'.split(' '));
388
+
389
+ lunr.Pipeline.registerFunction(lunr.ru.stopWordFilter, 'stopWordFilter-ru');
390
+ };
391
+ }))
@@ -0,0 +1,18 @@
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<b)&&(W.limit_backward=b,o()||(W.cursor=W.limit,f()||(W.cursor=W.limit),m()||(W.cursor=W.limit,l()||(W.cursor=W.limit,a()))),W.cursor=W.limit,W.ket=W.cursor,W.eq_s_b(1,"и")?(W.bra=W.cursor,W.slice_del()):W.cursor=W.limit,p(),W.cursor=W.limit,d(),!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.ru.stemmer,"stemmer-ru"),e.ru.stopWordFilter=e.generateStopWordFilter("алло без близко более больше будем будет будете будешь будто буду будут будь бы бывает бывь был была были было быть в важная важное важные важный вам вами вас ваш ваша ваше ваши вверх вдали вдруг ведь везде весь вниз внизу во вокруг вон восемнадцатый восемнадцать восемь восьмой вот впрочем времени время все всегда всего всем всеми всему всех всею всю всюду вся всё второй вы г где говорил говорит год года году да давно даже далеко дальше даром два двадцатый двадцать две двенадцатый двенадцать двух девятнадцатый девятнадцать девятый девять действительно дел день десятый десять для до довольно долго должно другая другие других друго другое другой е его ее ей ему если есть еще ещё ею её ж же жизнь за занят занята занято заняты затем зато зачем здесь значит и из или им именно иметь ими имя иногда их к каждая каждое каждые каждый кажется как какая какой кем когда кого ком кому конечно которая которого которой которые который которых кроме кругом кто куда лет ли лишь лучше люди м мало между меля менее меньше меня миллионов мимо мира мне много многочисленная многочисленное многочисленные многочисленный мной мною мог могут мож может можно можхо мои мой мор мочь моя моё мы на наверху над надо назад наиболее наконец нам нами нас начала наш наша наше наши не него недавно недалеко нее ней нельзя нем немного нему непрерывно нередко несколько нет нею неё ни нибудь ниже низко никогда никуда ними них ничего но ну нужно нх о об оба обычно один одиннадцатый одиннадцать однажды однако одного одной около он она они оно опять особенно от отовсюду отсюда очень первый перед по под пожалуйста позже пока пор пора после посреди потом потому почему почти прекрасно при про просто против процентов пятнадцатый пятнадцать пятый пять раз разве рано раньше рядом с сам сама сами самим самими самих само самого самой самом самому саму свое своего своей свои своих свою сеаой себе себя сегодня седьмой сейчас семнадцатый семнадцать семь сих сказал сказала сказать сколько слишком сначала снова со собой собою совсем спасибо стал суть т та так такая также такие такое такой там твой твоя твоё те тебе тебя тем теми теперь тех то тобой тобою тогда того тоже только том тому тот тою третий три тринадцатый тринадцать ту туда тут ты тысяч у уж уже уметь хорошо хотеть хоть хотя хочешь часто чаще чего человек чем чему через четвертый четыре четырнадцатый четырнадцать что чтоб чтобы чуть шестнадцатый шестнадцать шестой шесть эта эти этим этими этих это этого этой этом этому этот эту я \ufeffа".split(" ")),e.Pipeline.registerFunction(e.ru.stopWordFilter,"stopWordFilter-ru")}});
@@ -0,0 +1,256 @@
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
+ /**
19
+ * export the module via AMD, CommonJS or as a browser global
20
+ * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js
21
+ */
22
+ ;
23
+ (function(root, factory) {
24
+ if (typeof define === 'function' && define.amd) {
25
+ // AMD. Register as an anonymous module.
26
+ define(factory)
27
+ } else if (typeof exports === 'object') {
28
+ /**
29
+ * Node. Does not work with strict CommonJS, but
30
+ * only CommonJS-like environments that support module.exports,
31
+ * like Node.
32
+ */
33
+ module.exports = factory()
34
+ } else {
35
+ // Browser globals (root is window)
36
+ factory()(root.lunr);
37
+ }
38
+ }(this, function() {
39
+ /**
40
+ * Just return a value to define the module export.
41
+ * This example returns an object, but the module
42
+ * can return a function as the exported value.
43
+ */
44
+ return function(lunr) {
45
+ /* throw error if lunr is not yet included */
46
+ if ('undefined' === typeof lunr) {
47
+ throw new Error('Lunr is not present. Please include / require Lunr before this script.');
48
+ }
49
+
50
+ /* throw error if lunr stemmer support is not yet included */
51
+ if ('undefined' === typeof lunr.stemmerSupport) {
52
+ throw new Error('Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.');
53
+ }
54
+
55
+ /* register specific locale function */
56
+ lunr.sv = function() {
57
+ this.pipeline.reset();
58
+ this.pipeline.add(
59
+ lunr.sv.trimmer,
60
+ lunr.sv.stopWordFilter,
61
+ lunr.sv.stemmer
62
+ );
63
+
64
+ // for lunr version 2
65
+ // this is necessary so that every searched word is also stemmed before
66
+ // in lunr <= 1 this is not needed, as it is done using the normal pipeline
67
+ if (this.searchPipeline) {
68
+ this.searchPipeline.reset();
69
+ this.searchPipeline.add(lunr.sv.stemmer)
70
+ }
71
+ };
72
+
73
+ /* lunr trimmer function */
74
+ lunr.sv.wordCharacters = "A-Za-z\xAA\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02E0-\u02E4\u1D00-\u1D25\u1D2C-\u1D5C\u1D62-\u1D65\u1D6B-\u1D77\u1D79-\u1DBE\u1E00-\u1EFF\u2071\u207F\u2090-\u209C\u212A\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB64\uFB00-\uFB06\uFF21-\uFF3A\uFF41-\uFF5A";
75
+ lunr.sv.trimmer = lunr.trimmerSupport.generateTrimmer(lunr.sv.wordCharacters);
76
+
77
+ lunr.Pipeline.registerFunction(lunr.sv.trimmer, 'trimmer-sv');
78
+
79
+ /* lunr stemmer function */
80
+ lunr.sv.stemmer = (function() {
81
+ /* create the wrapped stemmer object */
82
+ var Among = lunr.stemmerSupport.Among,
83
+ SnowballProgram = lunr.stemmerSupport.SnowballProgram,
84
+ st = new function SwedishStemmer() {
85
+ var a_0 = [new Among("a", -1, 1), new Among("arna", 0, 1),
86
+ new Among("erna", 0, 1), new Among("heterna", 2, 1),
87
+ new Among("orna", 0, 1), new Among("ad", -1, 1),
88
+ new Among("e", -1, 1), new Among("ade", 6, 1),
89
+ new Among("ande", 6, 1), new Among("arne", 6, 1),
90
+ new Among("are", 6, 1), new Among("aste", 6, 1),
91
+ new Among("en", -1, 1), new Among("anden", 12, 1),
92
+ new Among("aren", 12, 1), new Among("heten", 12, 1),
93
+ new Among("ern", -1, 1), new Among("ar", -1, 1),
94
+ new Among("er", -1, 1), new Among("heter", 18, 1),
95
+ new Among("or", -1, 1), new Among("s", -1, 2),
96
+ new Among("as", 21, 1), new Among("arnas", 22, 1),
97
+ new Among("ernas", 22, 1), new Among("ornas", 22, 1),
98
+ new Among("es", 21, 1), new Among("ades", 26, 1),
99
+ new Among("andes", 26, 1), new Among("ens", 21, 1),
100
+ new Among("arens", 29, 1), new Among("hetens", 29, 1),
101
+ new Among("erns", 21, 1), new Among("at", -1, 1),
102
+ new Among("andet", -1, 1), new Among("het", -1, 1),
103
+ new Among("ast", -1, 1)
104
+ ],
105
+ a_1 = [new Among("dd", -1, -1),
106
+ new Among("gd", -1, -1), new Among("nn", -1, -1),
107
+ new Among("dt", -1, -1), new Among("gt", -1, -1),
108
+ new Among("kt", -1, -1), new Among("tt", -1, -1)
109
+ ],
110
+ a_2 = [
111
+ new Among("ig", -1, 1), new Among("lig", 0, 1),
112
+ new Among("els", -1, 1), new Among("fullt", -1, 3),
113
+ new Among("l\u00F6st", -1, 2)
114
+ ],
115
+ g_v = [17, 65, 16, 1, 0, 0, 0, 0,
116
+ 0, 0, 0, 0, 0, 0, 0, 0, 24, 0, 32
117
+ ],
118
+ g_s_ending = [119, 127, 149],
119
+ I_x, I_p1, sbp = new SnowballProgram();
120
+ this.setCurrent = function(word) {
121
+ sbp.setCurrent(word);
122
+ };
123
+ this.getCurrent = function() {
124
+ return sbp.getCurrent();
125
+ };
126
+
127
+ function r_mark_regions() {
128
+ var v_1, c = sbp.cursor + 3;
129
+ I_p1 = sbp.limit;
130
+ if (0 <= c || c <= sbp.limit) {
131
+ I_x = c;
132
+ while (true) {
133
+ v_1 = sbp.cursor;
134
+ if (sbp.in_grouping(g_v, 97, 246)) {
135
+ sbp.cursor = v_1;
136
+ break;
137
+ }
138
+ sbp.cursor = v_1;
139
+ if (sbp.cursor >= sbp.limit)
140
+ return;
141
+ sbp.cursor++;
142
+ }
143
+ while (!sbp.out_grouping(g_v, 97, 246)) {
144
+ if (sbp.cursor >= sbp.limit)
145
+ return;
146
+ sbp.cursor++;
147
+ }
148
+ I_p1 = sbp.cursor;
149
+ if (I_p1 < I_x)
150
+ I_p1 = I_x;
151
+ }
152
+ }
153
+
154
+ function r_main_suffix() {
155
+ var among_var, v_2 = sbp.limit_backward;
156
+ if (sbp.cursor >= I_p1) {
157
+ sbp.limit_backward = I_p1;
158
+ sbp.cursor = sbp.limit;
159
+ sbp.ket = sbp.cursor;
160
+ among_var = sbp.find_among_b(a_0, 37);
161
+ sbp.limit_backward = v_2;
162
+ if (among_var) {
163
+ sbp.bra = sbp.cursor;
164
+ switch (among_var) {
165
+ case 1:
166
+ sbp.slice_del();
167
+ break;
168
+ case 2:
169
+ if (sbp.in_grouping_b(g_s_ending, 98, 121))
170
+ sbp.slice_del();
171
+ break;
172
+ }
173
+ }
174
+ }
175
+ }
176
+
177
+ function r_consonant_pair() {
178
+ var v_1 = sbp.limit_backward;
179
+ if (sbp.cursor >= I_p1) {
180
+ sbp.limit_backward = I_p1;
181
+ sbp.cursor = sbp.limit;
182
+ if (sbp.find_among_b(a_1, 7)) {
183
+ sbp.cursor = sbp.limit;
184
+ sbp.ket = sbp.cursor;
185
+ if (sbp.cursor > sbp.limit_backward) {
186
+ sbp.bra = --sbp.cursor;
187
+ sbp.slice_del();
188
+ }
189
+ }
190
+ sbp.limit_backward = v_1;
191
+ }
192
+ }
193
+
194
+ function r_other_suffix() {
195
+ var among_var, v_2;
196
+ if (sbp.cursor >= I_p1) {
197
+ v_2 = sbp.limit_backward;
198
+ sbp.limit_backward = I_p1;
199
+ sbp.cursor = sbp.limit;
200
+ sbp.ket = sbp.cursor;
201
+ among_var = sbp.find_among_b(a_2, 5);
202
+ if (among_var) {
203
+ sbp.bra = sbp.cursor;
204
+ switch (among_var) {
205
+ case 1:
206
+ sbp.slice_del();
207
+ break;
208
+ case 2:
209
+ sbp.slice_from("l\u00F6s");
210
+ break;
211
+ case 3:
212
+ sbp.slice_from("full");
213
+ break;
214
+ }
215
+ }
216
+ sbp.limit_backward = v_2;
217
+ }
218
+ }
219
+ this.stem = function() {
220
+ var v_1 = sbp.cursor;
221
+ r_mark_regions();
222
+ sbp.limit_backward = v_1;
223
+ sbp.cursor = sbp.limit;
224
+ r_main_suffix();
225
+ sbp.cursor = sbp.limit;
226
+ r_consonant_pair();
227
+ sbp.cursor = sbp.limit;
228
+ r_other_suffix();
229
+ return true;
230
+ }
231
+ };
232
+
233
+ /* and return a function that stems a word for the current locale */
234
+ return function(token) {
235
+ // for lunr version 2
236
+ if (typeof token.update === "function") {
237
+ return token.update(function(word) {
238
+ st.setCurrent(word);
239
+ st.stem();
240
+ return st.getCurrent();
241
+ })
242
+ } else { // for lunr version <= 1
243
+ st.setCurrent(token);
244
+ st.stem();
245
+ return st.getCurrent();
246
+ }
247
+ }
248
+ })();
249
+
250
+ lunr.Pipeline.registerFunction(lunr.sv.stemmer, 'stemmer-sv');
251
+
252
+ lunr.sv.stopWordFilter = lunr.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(' '));
253
+
254
+ lunr.Pipeline.registerFunction(lunr.sv.stopWordFilter, 'stopWordFilter-sv');
255
+ };
256
+ }))