import{A as p}from"./index.f4d41e67.entry.js";import{m as s}from"./multiplex.70993bf9.js";function b(u,a){return a.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(t){if(t!=="default"&&!(t in u)){var r=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(u,t,r.get?r:{enumerable:!0,get:function(){return i[t]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var d={exports:{}};(function(u,a){(function(i){i(p.exports,s.exports)})(function(i){i.defineMode("twig:inner",function(){var t=["and","as","autoescape","endautoescape","block","do","endblock","else","elseif","extends","for","endfor","embed","endembed","filter","endfilter","flush","from","if","endif","in","is","include","import","not","or","set","spaceless","endspaceless","with","endwith","trans","endtrans","blocktrans","endblocktrans","macro","endmacro","use","verbatim","endverbatim"],r=/^[+\-*&%=<>!?|~^]/,l=/^[:\[\(\{]/,f=["true","false","null","empty","defined","divisibleby","divisible by","even","odd","iterable","sameas","same as"],c=/^(\d[+\-\*\/])?\d+(\.\d+)?/;t=new RegExp("(("+t.join(")|(")+"))\\b"),f=new RegExp("(("+f.join(")|(")+"))\\b");function g(e,n){var o=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(f))return"atom";if(e.match(c))return"number"}if(n.sign){if(n.sign=!1,e.match(f))return"atom";if(e.match(c))return"number"}if(n.instring)return o==n.instring&&(n.instring=!1),e.next(),"string";if(o=="'"||o=='"')return n.instring=o,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(r))return n.operator=!0,"operator";if(e.match(l))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(t))return"keyword";if(e.match(f))return"atom";if(e.match(c))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(o=e.eat(/\{|%/))return n.intag=o,o=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{}},token:function(e,n){return g(e,n)}}}),i.defineMode("twig",function(t,r){var l=i.getMode(t,"twig:inner");return!r||!r.base?l:i.multiplexingMode(i.getMode(t,r.base),{open:/\{[{#%]/,close:/[}#%]\}/,mode:l,parseDelimiters:!0})}),i.defineMIME("text/x-twig","twig")})})();var m=d.exports,w=b({__proto__:null,default:m},[d.exports]);export{w as t};
