import{b as B}from"./chunk-XUHMPXWX.min.js";var D=B((l,p)=>{(function(i,r){typeof define=="function"&&define.amd?define(r):typeof l=="object"?p.exports=r():r()(i.lunr)})(l,function(){return function(i){if(typeof i>"u")throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(typeof i.stemmerSupport>"u")throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");i.da=function(){this.pipeline.reset(),this.pipeline.add(i.da.trimmer,i.da.stopWordFilter,i.da.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(i.da.stemmer))},i.da.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",i.da.trimmer=i.trimmerSupport.generateTrimmer(i.da.wordCharacters),i.Pipeline.registerFunction(i.da.trimmer,"trimmer-da"),i.da.stemmer=function(){var r=i.stemmerSupport.Among,g=i.stemmerSupport.SnowballProgram,u=new function(){var o=[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)],h=[new r("gd",-1,-1),new r("dt",-1,-1),new r("gt",-1,-1),new r("kt",-1,-1)],b=[new r("ig",-1,1),new r("lig",0,1),new r("elig",1,1),new r("els",-1,1),new r("l\xF8st",-1,2)],d=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,48,0,128],v=[239,254,42,3,0,0,0,0,0,0,0,0,0,0,0,0,16],c,n,m,e=new g;this.setCurrent=function(t){e.setCurrent(t)},this.getCurrent=function(){return e.getCurrent()};function k(){var t,s=e.cursor+3;if(n=e.limit,0<=s&&s<=e.limit){for(c=s;;){if(t=e.cursor,e.in_grouping(d,97,248)){e.cursor=t;break}if(e.cursor=t,t>=e.limit)return;e.cursor++}for(;!e.out_grouping(d,97,248);){if(e.cursor>=e.limit)return;e.cursor++}n=e.cursor,n=n&&(s=e.limit_backward,e.limit_backward=n,e.ket=e.cursor,t=e.find_among_b(o,32),e.limit_backward=s,t))switch(e.bra=e.cursor,t){case 1:e.slice_del();break;case 2:e.in_grouping_b(v,97,229)&&e.slice_del();break}}function w(){var t=e.limit-e.cursor,s;e.cursor>=n&&(s=e.limit_backward,e.limit_backward=n,e.ket=e.cursor,e.find_among_b(h,4)?(e.bra=e.cursor,e.limit_backward=s,e.cursor=e.limit-t,e.cursor>e.limit_backward&&(e.cursor--,e.bra=e.cursor,e.slice_del())):e.limit_backward=s)}function A(){var t,s=e.limit-e.cursor,_,f;if(e.ket=e.cursor,e.eq_s_b(2,"st")&&(e.bra=e.cursor,e.eq_s_b(2,"ig")&&e.slice_del()),e.cursor=e.limit-s,e.cursor>=n&&(_=e.limit_backward,e.limit_backward=n,e.ket=e.cursor,t=e.find_among_b(b,5),e.limit_backward=_,t))switch(e.bra=e.cursor,t){case 1:e.slice_del(),f=e.limit-e.cursor,w(),e.cursor=e.limit-f;break;case 2:e.slice_from("l\xF8s");break}}function C(){var t;e.cursor>=n&&(t=e.limit_backward,e.limit_backward=n,e.ket=e.cursor,e.out_grouping_b(d,97,248)?(e.bra=e.cursor,m=e.slice_to(m),e.limit_backward=t,e.eq_v_b(m)&&e.slice_del()):e.limit_backward=t)}this.stem=function(){var t=e.cursor;return k(),e.limit_backward=t,e.cursor=e.limit,F(),e.cursor=e.limit,w(),e.cursor=e.limit,A(),e.cursor=e.limit,C(),!0}};return function(a){return typeof a.update=="function"?a.update(function(o){return u.setCurrent(o),u.stem(),u.getCurrent()}):(u.setCurrent(a),u.stem(),u.getCurrent())}}(),i.Pipeline.registerFunction(i.da.stemmer,"stemmer-da"),i.da.stopWordFilter=i.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\xE5r og ogs\xE5 om op os over p\xE5 selv sig sin sine sit skal skulle som s\xE5dan thi til ud under var vi vil ville vor v\xE6re v\xE6ret".split(" ")),i.Pipeline.registerFunction(i.da.stopWordFilter,"stopWordFilter-da")}})});export default D(); /*! Bundled license information: lunr-languages/lunr.da.js: (*! * Lunr languages, `Danish` language * https://github.com/MihaiValentin/lunr-languages * * Copyright 2014, Mihai Valentin * http://www.mozilla.org/MPL/ *) (*! * based on * Snowball JavaScript Library v0.3 * http://code.google.com/p/urim/ * http://snowball.tartarus.org/ * * Copyright 2010, Oleg Mazko * http://www.mozilla.org/MPL/ *) */ //# sourceMappingURL=lunr.da-ABNGX3GR.min.js.map