UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

2 lines 1 kB
import{n as e}from"./rolldown-runtime-DkW27tQK.js";function t(e){return parseFloat(e).toString()===e}function n(e){return function(t,n){for(var r=!1,i;(i=t.next())!=null&&!(i==e&&!r);)r=!r&&i==`\\`;return r||(n.tokenize=a),`string`}}function r(e){return function(t,n){return e==`|`?t.eat(/\|/):e==`&`&&t.eat(/\&/),n.tokenize=a,`operator`}}function i(e){return function(n,r){for(var i=e;(e=n.peek())&&e.match(o)!=null;)i+=n.next();return r.tokenize=a,c.test(i)?`operator`:t(i)?`number`:n.peek()==`:`?`propertyName`:`string`}}function a(e,t){var c=e.next();return c==`"`?t.tokenize=n(c):s.test(c)?t.tokenize=r(c):o.test(c)&&(t.tokenize=i(c)),t.tokenize==a?null:t.tokenize(e,t)}var o,s,c,l;function u(){return(u=e((()=>{o=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,s=/[\|\!\+\-\*\?\~\^\&]/,c=/^(OR|AND|NOT|TO)$/,l={name:`solr`,startState:function(){return{tokenize:a}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}})))()}u();export{l as solr}; //# sourceMappingURL=solr-CCCyg-ZR.js.map