import{C as z}from"./index.991aca48.entry.js";function O(s,c){for(var i=0;i<c.length;i++){const o=c[i];if(typeof o!="string"&&!Array.isArray(o)){for(const f in o)if(f!=="default"&&!(f in s)){const u=Object.getOwnPropertyDescriptor(o,f);u&&Object.defineProperty(s,f,u.get?u:{enumerable:!0,get:()=>o[f]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var k={};(function(s,c){(function(i){i(z)})(function(i){i.defineMode("solr",function(){var o=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,f=/[\|\!\+\-\*\?\~\^\&]/,u=/^(OR|AND|NOT|TO)$/i;function p(e){return parseFloat(e).toString()===e}function g(e){return function(n,r){for(var t=!1,a;(a=n.next())!=null&&!(a==e&&!t);)t=!t&&a=="\\";return t||(r.tokenize=l),"string"}}function d(e){return function(n,r){var t="operator";return e=="+"?t+=" positive":e=="-"?t+=" negative":e=="|"?n.eat(/\|/):e=="&"?n.eat(/\&/):e=="^"&&(t+=" boost"),r.tokenize=l,t}}function v(e){return function(n,r){for(var t=e;(e=n.peek())&&e.match(o)!=null;)t+=n.next();return r.tokenize=l,u.test(t)?"operator":p(t)?"number":n.peek()==":"?"field":"string"}}function l(e,n){var r=e.next();return r=='"'?n.tokenize=g(r):f.test(r)?n.tokenize=d(r):o.test(r)&&(n.tokenize=v(r)),n.tokenize!=l?n.tokenize(e,n):null}return{startState:function(){return{tokenize:l}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)}}}),i.defineMIME("text/x-solr","solr")})})();const x=O({__proto__:null,default:k},[k]);export{x as s};
