1"use strict";(self.webpackChunkzutabis_preact_gitlab=self.webpackChunkzutabis_preact_gitlab||[]).push([[3783],{83826:function(t,e,s){s.d(e,{IK:function(){return G},Jq:function(){return T},RA:function(){return C},WQ:function(){return U}});var r=s(89045);function n(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||c(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var s,r=a(t);if(e){var n=a(this).constructor;s=Reflect.construct(r,arguments,n)}else s=r.apply(this,arguments);return function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,s)}}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var s=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=s){var r,n,i,o,a=[],h=!0,u=!1;try{if(i=(s=s.call(t)).next,0===e){if(Object(s)!==s)return;h=!1}else for(;!(h=(r=i.call(s)).done)&&(a.push(r.value),a.length!==e);h=!0);}catch(t){u=!0,n=t}finally{try{if(!h&&null!=s.return&&(o=s.return(),Object(o)!==o))return}finally{if(u)throw n}}return a}}(t,e)||c(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){var s="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!s){if(Array.isArray(t)||(s=c(t))||e&&t&&"number"==typeof t.length){s&&(t=s);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){s=s.call(t)},n:function(){var t=s.next();return o=t.done,t},e:function(t){a=!0,i=t},f:function(){try{o||null==s.return||s.return()}finally{if(a)throw i}}}}function c(t,e){if(t){if("string"==typeof t)return f(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,r=new Array(e);s<e;s++)r[s]=t[s];return r}function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var s=0;s<e.length;s++){var r=e[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(n=r.key,i=void 0,i=function(t,e){if("object"!==l(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var r=s.call(t,e||"default");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===l(i)?i:String(i)),r)}var n,i}function k(t,e,s){return e&&d(t.prototype,e),s&&d(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t}var v,g=function(){function t(e,s,r,n,i,o,a,h,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,f=arguments.length>10?arguments[10]:void 0;p(this,t),this.p=e,this.stack=s,this.state=r,this.reducePos=n,this.pos=i,this.score=o,this.buffer=a,this.bufferBase=h,this.curContext=u,this.lookAhead=c,this.parent=f}return k(t,[{key:"toString",value:function(){return"[".concat(this.stack.filter((function(t,e){return e%3==0}
1)).concat(this.state),"]@").concat(this.pos).concat(this.score?"!"+this.score:"")}},{key:"context",get:function(){return this.curContext?this.curContext.context:null}},{key:"pushState",value:function(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length),this.state=t}},{key:"reduce",value:function(t){var e,s=t>>19,r=65535&t,n=this.p.parser,i=n.dynamicPrecedence(r);if(i&&(this.score+=i),0==s)return this.pushState(n.getGoto(this.state,r,!0),this.reducePos),r<n.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,4,!0),void this.reduceContext(r,this.reducePos);var o=this.stack.length-3*(s-1)-(262144&t?6:0),a=o?this.stack[o-2]:this.p.ranges[0].from,h=this.reducePos-a;h>=2e3&&!(null===(e=this.p.parser.nodeSet.types[r])||void 0===e?void 0:e.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=h):this.p.lastBigReductionSize<h&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=h));var u=o?this.stack[o-1]:0,c=this.bufferBase+this.buffer.length-u;if(r<n.minRepeatTerm||131072&t){var f=n.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,a,f,c+4,!0)}if(262144&t)this.state=this.stack[o];else{var l=this.stack[o-3];this.state=n.getGoto(l,r,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(r,a)}},{key:"storeNode",value:function(t,e,s){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:4,n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(0==t&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){var i=this,o=this.buffer.length;if(0==o&&i.parent&&(o=i.bufferBase-i.parent.bufferBase,i=i.parent),o>0&&0==i.buffer[o-4]&&i.buffer[o-1]>-1){if(e==s)return;if(i.buffer[o-2]>=e)return void(i.buffer[o-2]=s)}}if(n&&this.pos!=s){var a=this.buffer.length;if(a>0&&0!=this.buffer[a-4])for(;a>0&&this.buffer[a-2]>s;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,r>4&&(r-=4);this.buffer[a]=t,this.buffer[a+1]=e,this.buffer[a+2]=s,this.buffer[a+3]=r}else this.buffer.push(t,e,s,r)}},{key:"shift",value:function(t,e,s){var r=this.pos;if(131072&t)this.pushState(65535&t,this.pos);else if(0==(262144&t)){var n=t,i=this.p.parser;(s>this.pos||e<=i.maxNode)&&(this.pos=s,i.stateFlag(n,1)||(this.reducePos=s)),this.pushState(n,r),this.shiftContext(e,r),e<=i.maxNode&&this.buffer.push(e,r,s,4)}else this.pos=s,this.shiftContext(e,r),e<=this.p.parser.maxNode&&this.buffer.push(e,r,s,4)}},{key:"apply",value:function(t,e,s){65536&t?this.reduce(t):this.shift(t,e,s)}},{key:"useNode",value:function(t,e){var s=this.p.reused.length-1;(s<0||this.p.reused[s]!=t)&&(this.p.reused.push(t),s++);var r=this.pos;this.reducePos=this.pos=r+t.length,this.pushState(e,r),this.buffer.push(s,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}},{key:"split",value:function(){for(var e=this,s=e.buffer.length;s>0&&e.buffer[s-2]>e.reducePos;)s-=4;for(var r=e.buffer.slice(s),n=e.bufferBase+s;e&&n==e.bufferBase;)e=e.parent;return new t(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,n,this.curContext,this.lookAhead,e)}},{key:"recoverByDelete",value:function(t,e){var s=t<=this.p.parser.maxNode;s&&this.storeNode(t,this.pos,e,4),this.storeNode(0,this.pos,e,s?8:4),this.pos=this.reducePos=e,this.score-=190}},{key:"canShift",value:function(t){for(var e=new m(this);;){var s=this.p.parser.stateSlot(e.state,4)||this.p.parser.hasAction(e.state,t);if(0==s)return!1;if(0==(65536&s))return!0;e.reduce(s)}}},{key:"recoverByInsert",value:function(t){if(this.stack.length>=300)return[];var e=this.p.parser.nextStates(this.state);if(e.length>8||this.stack.length>=120){for(var s,r=[],n=0;n<e.length;n+=2)(s=e[n+1])!=this.state&&this.p.parser.hasAction(s,t)&&r.push(e[n],s);if(this.stack.length<120)for(var i=function(){var t=e[o+1];r.some((function(e,s){return 1&s&&e==t}))||r.push(e[o],t)},o=0;r.length<8&&o<e.length;o+=2)i();e=r}for(var a=[],h=0;h<e.length&&a.length<4;h+=2){var u=e[h+1];if(u!=this.state){var c=this.split();c.pushState(u,this.pos),c.storeNode(0,c.pos,c.pos,4,!0),c.shiftContext(e[h],this.pos),c.score-=200,a.push(c)}}return a}},{key:"forceReduce",value:function(){var t=this.p.parser.stateSlot(this.state,5);if(0==(65536&t))return!1;var e=this.p.parser;if(!e.validAction(this.state,t)){var s=t>>19,r=65535&t,n=this.stack.length-3*s;if(n<0||e.getGoto(this.stack[n],r,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}},{key:"forceAll",value:function(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}},{key:"deadEnd",get:function(){if(3!=this.stack.length)return!1;var t=this.p.parser;return 65535==t.data[t.stateSlot(this.state,1)]&&!t.stateSlot(this.state,4)}},{key:"restart",value:function(){this.state=this.stack[0],this.stack.length=0}},{key:"sameState",value:function(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(var e=0;e<this.stack.length;e+=3)if(this.stack[e]!=t.stack[e])return!1;return!0}},{key:"parser",get:function(){return this.p.parser}},{key:"dialectEnabled",value:function(t){return this.p.parser.dialect.flags[t]}},{key:"shiftContext",value:function(t,e){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(e)))}},{key:"reduceContext",value:function(t,e){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(e)))}},{key:"emitContext",value:function(){var t=this.buffer.length-1;(t<0||-3!=this.buffer[t])&&this.buffer.push(this.curContext.hash,this.reducePos,this.reducePos,-3)}},{key:"emitLookAhead",value:function(){var t=this.buffer.length-1;(t<0||-4!=this.buffer[t])&&this.buffer.push(this.lookAhead,this.reducePos,this.reducePos,-4)}},{key:"updateContext",value:function(t){if(t!=this.curContext.context){var e=new y(this.curContext.tracker,t);e.hash!=this.curContext.hash&&this.emitContext(),this.curContext=e}}},{key:"setLookAhead",value:function(t){t>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}},{key:"close",value:function(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}],[{key:"start",value:function(e,s){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=e.parser.context;return new t(e,[],s,r,r,0,[],0,n?new y(n,n.start):null,0,null)}}]),t}(),y=k((function t(e,s){p(this,t),this.tracker=e,this.context=s,this.hash=e.strict?e.hash(s):0}));!function(t){t[t.Insert=200]="Insert",t[t.Delete=190]="Delete",t[t.Reduce=100]="Reduce",t[t.MaxNext=4]="MaxNext",t[t.MaxInsertStackDepth=300]="MaxInsertStackDepth",t[t.DampenInsertStackDepth=120]="DampenInsertStackDepth",t[t.MinBigReduction=2e3]="MinBigReduction"}(v||(v={}));var m=function(){function t(e){p(this,t),this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}return k(t,[{key:"reduce",value:function(t){var e=65535&t,s=t>>19;0==s?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0
1),this.base+=3):this.base-=3*(s-1);var r=this.start.p.parser.getGoto(this.stack[this.base-3],e,!0);this.state=r}}]),t}(),b=function(){function t(e,s,r){p(this,t),this.stack=e,this.pos=s,this.index=r,this.buffer=e.buffer,0==this.index&&this.maybeNext()}return k(t,[{key:"maybeNext",value:function(){var t=this.stack.parent;null!=t&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}},{key:"id",get:function(){return this.buffer[this.index-4]}},{key:"start",get:function(){return this.buffer[this.index-3]}},{key:"end",get:function(){return this.buffer[this.index-2]}},{key:"size",get:function(){return this.buffer[this.index-1]}},{key:"next",value:function(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}},{key:"fork",value:function(){return new t(this.stack,this.pos,this.index)}}],[{key:"create",value:function(e){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.bufferBase+e.buffer.length;return new t(e,s,s-e.bufferBase)}}]),t}();function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Uint16Array;if("string"!=typeof t)return t;for(var s=null,r=0,n=0;r<t.length;){for(var i=0;;){var o=t.charCodeAt(r++),a=!1;if(126==o){i=65535;break}o>=92&&o--,o>=34&&o--;var h=o-32;if(h>=46&&(h-=46,a=!0),i+=h,a)break;i*=46}s?s[n++]=i:s=new e(i)}return s}var S=k((function t(){p(this,t),this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0})),P=new S,A=function(){function t(e,s){p(this,t),this.input=e,this.ranges=s,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=P,this.rangeIndex=0,this.pos=this.chunkPos=s[0].from,this.range=s[0],this.end=s[s.length-1].to,this.readNext()}return k(t,[{key:"resolveOffset",value:function(t,e){for(var s=this.range,r=this.rangeIndex,n=this.pos+t;n<s.from;){if(!r)return null;var i=this.ranges[--r];n-=s.from-i.to,s=i}for(;e<0?n>s.to:n>=s.to;){if(r==this.ranges.length-1)return null;var o=this.ranges[++r];n+=o.from-s.to,s=o}return n}},{key:"clipPos",value:function(t){if(t>=this.range.from&&t<this.range.to)return t;var e,s=u(this.ranges);try{for(s.s();!(e=s.n()).done;){var r=e.value;if(r.to>t)return Math.max(t,r.from)}}catch(t){s.e(t)}finally{s.f()}return this.end}},{key:"peek",value:function(t){var e,s,r=this.chunkOff+t;if(r>=0&&r<this.chunk.length)e=this.pos+t,s=this.chunk.charCodeAt(r);else{var n=this.resolveOffset(t,1);if(null==n)return-1;if((e=n)>=this.chunk2Pos&&e<this.chunk2Pos+this.chunk2.length)s=this.chunk2.charCodeAt(e-this.chunk2Pos);else{for(var i=this.rangeIndex,o=this.range;o.to<=e;)o=this.ranges[++i];this.chunk2=this.input.chunk(this.chunk2Pos=e),e+this.chunk2.length>o.to&&(this.chunk2=this.chunk2.slice(0,o.to-e)),s=this.chunk2.charCodeAt(0)}}return e>=this.token.lookAhead&&(this.token.lookAhead=e+1),s}},{key:"acceptToken",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=e?this.resolveOffset(e,-1):this.pos;if(null==s||s<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t,this.token.end=s}},{key:"getChunk",value:function(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){var t=this.chunk,e=this.chunkPos;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=e,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;var s=this.input.chunk(this.pos),r=this.pos+s.length;this.chunk=r>this.range.to?s.slice(0,this.range.to-this.pos):s,this.chunkPos=this.pos,this.chunkOff=0}}},{key:"readNext",value:function(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}},{key:"advance",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext(
1)}},{key:"setDone",value:function(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}},{key:"reset",value:function(t,e){if(e?(this.token=e,e.start=t,e.lookAhead=t+1,e.value=e.extended=-1):this.token=P,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;t>=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}},{key:"read",value:function(t,e){if(t>=this.chunkPos&&e<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,e-this.chunkPos);if(t>=this.chunk2Pos&&e<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,e-this.chunk2Pos);if(t>=this.range.from&&e<=this.range.to)return this.input.read(t,e);var s,r="",n=u(this.ranges);try{for(n.s();!(s=n.n()).done;){var i=s.value;if(i.from>=e)break;i.to>t&&(r+=this.input.read(Math.max(i.from,t),Math.min(i.to,e)))}}catch(t){n.e(t)}finally{n.f()}return r}}]),t}(),w=function(){function t(e,s){p(this,t),this.data=e,this.id=s}return k(t,[{key:"token",value:function(t,e){var s=e.p.parser;R(this.data,t,e,this.id,s.data,s.tokenPrecTable)}}]),t}();w.prototype.contextual=w.prototype.fallback=w.prototype.extend=!1;var C=function(){function t(e,s,r){p(this,t),this.precTable=s,this.elseToken=r,this.data="string"==typeof e?x(e):e}return k(t,[{key:"token",value:function(t,e){for(var s,r=t.pos;s=t.pos,R(this.data,t,e,0,this.data,this.precTable),!(t.token.value>-1);){if(null==this.elseToken)return;if(t.next<0)break;t.advance(),t.reset(s+1,t.token)}s>r&&(t.reset(r,t.token),t.acceptToken(this.elseToken,s-r))}}]),t}();C.prototype.contextual=w.prototype.fallback=w.prototype.extend=!1;var T=k((function t(e){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};p(this,t),this.token=e,this.contextual=!!s.contextual,this.fallback=!!s.fallback,this.extend=!!s.extend}));function R(t,e,s,r,n,i){var o,a,h,u,c,f=0,l=1<<r,p=s.p.parser.dialect;t:for(;0!=(l&t[f]);){for(var d=t[f+1],k=f+3;k<d;k+=2)if((t[k+1]&l)>0){var v=t[k];if(p.allows(v)&&(-1==e.token.value||e.token.value==v||(o=v,a=e.token.value,c=void 0,(c=N(h=n,u=i,a))<0||N(h,u,o)<c))){e.acceptToken(v);break}}var g=e.next,y=0,m=t[f+2];if(!(e.next<0&&m>y&&65535==t[d+3*m-3]&&65535==t[d+3*m-3])){for(;y<m;){var b=y+m>>1,x=d+b+(b<<1),S=t[x],P=t[x+1]||65536;if(g<S)m=b;else{if(!(g>=P)){f=t[x+2],e.advance();continue t}y=b+1}}break}f=t[d+3*m-1]}}function N(t,e,s){for(var r,n=e;65535!=(r=t[n]);n++)if(r==s)return n-e;return-1}var O,I="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG),z=null;function D(t,e,s){var n=t.cursor(r.vj.IncludeAnonymous);for(n.moveTo(e);;)if(!(s<0?n.childBefore(e):n.childAfter(e)))for(;;){if((s<0?n.to<e:n.from>e)&&!n.type.isError)return s<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(s<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return s<0?0:t.length}}!function(t){t[t.Margin=25]="Margin"}(O||(O={}));var B,M=function(){function t(e,s){p(this,t),this.fragments=e,this.nodeSet=s,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}return k(t,[{key:"nextFragment",value:function(){var t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?D(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?D(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}},{key:"nodeAt",value:function(t){if(t<this.nextStart)return null;for(;this.fragment&&this.safeTo<=t;)this.nextFragment();if(!this.fragment)return null;for(;;){var e=this.trees.length-1;if(e<0)return this.nextFragment(),null;var s=this.trees[e],n=this.index[e];if(n!=s.children.length){var i=s.children[n],o=this.start[e]+s.positions[n];if(o>t)return this.nextStart=o,null;if(i instanceof r.mp){if(o==t){if(o<this.safeFrom)return null;var a=o+i.length;if(a<=this.safeTo){var h=i.prop(r.md.lookAhead);if(!h||a+h<this.fragment.to)return i}}this.index[e]++,o+i.length>=Math.max(this.safeFrom,t)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[e]++,this.nextStart=o+i.length}else this.trees.pop(),this.start.pop(),this.index.pop()}}}]),t}(),j=function(){function t(e,s){p(this,t),this.stream=s,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((function(t){return new S}))}return k(t,[{key:"getActions",value:function(t){for(var e=0,s=null,r=t.p.parser,n=r.tokenizers,i=r.stateSlot(t.state,3),o=t.curContext?t.curContext.hash:0,a=0,h=0;h<n.length;h++)if(0!=(1<<h&i)){var u=n[h],c=this.tokens[h];if((!s||u.fallback)&&((u.contextual||c.start!=t.pos||c.mask!=i||c.context!=o)&&(this.updateCachedToken(c,u,t),c.mask=i,c.context=o),c.lookAhead>c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){var f=e;if(c.extended>-1&&(e=this.addActions(t,c.extended,c.end,e)),e=this.addActions(t,c.value,c.end,e),!u.extend&&(s=c,e>f))break}}for(;this.actions.length>e;)this.actions.pop();return a&&t.setLookAhead(a),s||t.pos!=this.stream.end||((s=new S).value=t.p.parser.eofTerm,s.start=s.end=t.pos,e=this.addActions(t,s.value,s.end,e)),this.mainToken=s,this.actions}},{key:"getMainToken",value:function(t){if(this.mainToken)return this.mainToken;var e=new S,s=t.pos,r=t.p;return e.start=s,e.end=Math.min(s+1,r.stream.end),e.value=s==r.stream.end?r.parser.eofTerm:0,e}},{key:"updateCachedToken",value:function(t,e,s){var r=this.stream.clipPos(s.pos);if(e.token(this.stream.reset(r,t),s),t.value>-1){for(var n=s.p.parser,i=0;i<n.specialized.length;i++)if(n.specialized[i]==t.value){var o=n.specializers[i](this.stream.read(t.start,t.end),s);if(o>=0&&s.p.parser.dialect.allows(o>>1)){0==(1&o)?t.value=o>>1:t.extended=o>>1;break}}}else t.value=0,t.end=this.stream.clipPos(r+1)}},{key:"putAction",value:function(t,e,s,r){for(var n=0;n<r;n+=3)if(this.actions[n]==t)return r;return this.actions[r++]=t,this.actions[r++]=e,this.actions[r++]=s,r}},{key:"addActions",value:function(t,e,s,r){for(var n=t.state,i=t.p.parser,o=i.data,a=0;a<2;a++)for(var h=i.stateSlot(n,a?2:1);;h+=3){if(65535==o[h]){if(1!=o[h+1]){0==r&&2==o[h+1]&&(r=this.putAction(W(o,h+2),e,s,r));break}h=W(o,h+2)}o[h]==e&&(r=this.putAction(W(o,h+1),e,s,r))}return r}}]),t}();!function(t){t[t.Distance=5]="Distance",t[t.MaxRemainingPerStep=3]="MaxRemainingPerStep",t[t.MinBufferLengthPrune=500]="MinBufferLengthPrune",t[t.ForceReduceLimit=10]="ForceReduceLimit",t[t.CutDepth=15e3]="CutDepth",t[t.CutTo=9e3]="CutTo",t[t.MaxLeftAssociativeReductionCount=300]="MaxLeftAssociativeReductionCount",t[t.MaxStackCount=12]="MaxStackCount"}(B||(B={}));var L=function(){function t(e,s,r,n){p(this,t),this.parser=e,this.input=s,this.ranges=n,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new A(s,n),this.tokens=new j(e,this.stream),this.topTerm=e.top[1];var i=n[0].from;this.stacks=[g.start(this,e.top[0],i)],this.fragments=r.length&&this.stream.end-i>4*e.bufferLength?new M(r,e.nodeSet):null}return k(t,[{key:"parsedPos",get:function(){return this.minStackPos}},{key:"advance",value:function(){var t,e,s=this.stacks,r=this.minStackPos,n=this.stacks=[];if(this.bigReductionCount>300&&1==s.length){for(var i=h(s,1)[0];i.forceReduce()&&i.stack.length&&i.stack[i.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(var o=0;o<s.length;o++)for(var a=s[o];;){if(this.tokens.mainToken=null,a.pos>r)n.push(a);
1else{if(this.advanceStack(a,n,s))continue;t||(t=[],e=[]),t.push(a);var c=this.tokens.getMainToken(a);e.push(c.value,c.end)}break}if(!n.length){var f=t&&function(t){var e,s=null,r=u(t);try{for(r.s();!(e=r.n()).done;){var n=e.value,i=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=i&&n.pos>i)&&n.p.parser.stateFlag(n.state,2)&&(!s||s.score<n.score)&&(s=n)}}catch(t){r.e(t)}finally{r.f()}return s}(t);if(f)return this.stackToTree(f);if(this.parser.strict)throw I&&t&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&t){var l=null!=this.stoppedAt&&t[0].pos>this.stoppedAt?t[0]:this.runRecovery(t,e,n);if(l)return this.stackToTree(l.forceAll())}if(this.recovering){var p=1==this.recovering?1:3*this.recovering;if(n.length>p)for(n.sort((function(t,e){return e.score-t.score}));n.length>p;)n.pop();n.some((function(t){return t.reducePos>r}))&&this.recovering--}else if(n.length>1){t:for(var d=0;d<n.length-1;d++)for(var k=n[d],v=d+1;v<n.length;v++){var g=n[v];if(k.sameState(g)||k.buffer.length>500&&g.buffer.length>500){if(!((k.score-g.score||k.buffer.length-g.buffer.length)>0)){n.splice(d--,1);continue t}n.splice(v--,1)}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(var y=1;y<n.length;y++)n[y].pos<this.minStackPos&&(this.minStackPos=n[y].pos);return null}},{key:"stopAt",value:function(t){if(null!=this.stoppedAt&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}},{key:"advanceStack",value:function(t,e,s){var n=t.pos,i=this.parser,o=I?this.stackID(t)+" -> ":"";if(null!=this.stoppedAt&&n>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments)for(var a=t.curContext&&t.curContext.tracker.strict,h=a?t.curContext.hash:0,u=this.fragments.nodeAt(n);u;){var c=this.parser.nodeSet.types[u.type.id]==u.type?i.getGoto(t.state,u.type.id):-1;if(c>-1&&u.length&&(!a||(u.prop(r.md.contextHash)||0)==h))return t.useNode(u,c),I&&console.log(o+this.stackID(t)+" (via reuse of ".concat(i.getName(u.type.id),")")),!0;if(!(u instanceof r.mp)||0==u.children.length||u.positions[0]>0)break;var f=u.children[0];if(!(f instanceof r.mp&&0==u.positions[0]))break;u=f}var l=i.stateSlot(t.state,4);if(l>0)return t.reduce(l),I&&console.log(o+this.stackID(t)+" (via always-reduce ".concat(i.getName(65535&l),")")),!0;if(t.stack.length>=15e3)for(;t.stack.length>9e3&&t.forceReduce(););for(var p=this.tokens.getActions(t),d=0;d<p.length;){var k=p[d++],v=p[d++],g=p[d++],y=d==p.length||!s,m=y?t:t.split();if(m.apply(k,v,g),I&&console.log(o+this.stackID(m)+" (via ".concat(0==(65536&k)?"shift":"reduce of ".concat(i.getName(65535&k))," for ").concat(i.getName(v)," @ ").concat(n).concat(m==t?"":", split",")")),y)return!0;m.pos>n?e.push(m):s.push(m)}return!1}},{key:"advanceFully",value:function(t,e){for(var s=t.pos;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>s)return F(t,e),!0}}},{key:"runRecovery",value:function(t,e,s){for(var r=null,n=!1,i=0;i<t.length;i++){var o=t[i],a=e[i<<1],h=e[1+(i<<1)],c=I?this.stackID(o)+" -> ":"";if(o.deadEnd){if(n)continue;if(n=!0,o.restart(),I&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,s))continue}for(var f=o.split(),l=c,p=0;f.forceReduce()&&p<10;p++){if(I&&console.log(l+this.stackID(f)+" (via force-reduce)"),this.advanceFully(f,s))break;I&&(l=this.stackID(f)+" -> ")}var d,k=u(o.recoverByInsert(a));try{for(k.s();!(d=k.n()).done;){var v=d.value;I&&console.log(c+this.stackID(v)+" (via recover-insert)"),this.advanceFully(v,s)}}catch(t){k.e(t)}finally{k.f()}this.stream.end>o.pos?(h==o.pos&&(h++,a=0),o.recoverByDelete(a,h),I&&console.log(c+this.stackID(o)+" (via recover-delete ".concat(this.parser.getName(a),")")),F(o,s)):(!r||r.score<o.score)&&(r=o)}return r}},{key:"stackToTree",value:function(t){return t.close(),r.mp.build({buffer:b.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}}
1,{key:"stackID",value:function(t){var e=(z||(z=new WeakMap)).get(t);return e||z.set(t,e=String.fromCodePoint(this.nextStackID++)),e+t}}]),t}();function F(t,e){for(var s=0;s<e.length;s++){var r=e[s];if(r.pos==t.pos&&r.sameState(t))return void(e[s].score<t.score&&(e[s]=t))}e.push(t)}var E=function(){function t(e,s,r){p(this,t),this.source=e,this.flags=s,this.disabled=r}return k(t,[{key:"allows",value:function(t){return!this.disabled||0==this.disabled[t]}}]),t}(),_=function(t){return t},G=k((function t(e){p(this,t),this.start=e.start,this.shift=e.shift||_,this.reduce=e.reduce||_,this.reuse=e.reuse||_,this.hash=e.hash||function(){return 0},this.strict=!1!==e.strict})),U=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}(s,t);var e=o(s);function s(t){var i,o;if(p(this,s),(o=e.call(this)).wrappers=[],14!=t.version)throw new RangeError("Parser version (".concat(t.version,") doesn't match runtime version (",14,")"));var a=t.nodeNames.split(" ");o.minRepeatTerm=a.length;for(var h=0;h<t.repeatNodeCount;h++)a.push("");for(var c=Object.keys(t.topRules).map((function(e){return t.topRules[e][1]})),f=[],l=0;l<a.length;l++)f.push([]);function d(t,e,s){f[t].push([e,e.deserialize(String(s))])}if(t.nodeProps){var k,v=u(t.nodeProps);try{for(v.s();!(k=v.n()).done;){var g=k.value,y=g[0];"string"==typeof y&&(y=r.md[y]);for(var m=1;m<g.length;){var b=g[m++];if(b>=0)d(b,y,g[m++]);else{for(var S=g[m+-b],P=-b;P>0;P--)d(g[m++],y,S);m++}}}}catch(t){v.e(t)}finally{v.f()}}o.nodeSet=new r.Lj(a.map((function(e,s){return r.Jq.define({name:s>=o.minRepeatTerm?void 0:e,id:s,props:f[s],top:c.indexOf(s)>-1,error:0==s,skipped:t.skippedNodes&&t.skippedNodes.indexOf(s)>-1})}))),t.propSources&&(o.nodeSet=(i=o.nodeSet).extend.apply(i,n(t.propSources))),o.strict=!1,o.bufferLength=r.L3;var A=x(t.tokenData);o.context=t.context,o.specializerSpecs=t.specialized||[],o.specialized=new Uint16Array(o.specializerSpecs.length);for(var C=0;C<o.specializerSpecs.length;C++)o.specialized[C]=o.specializerSpecs[C].term;return o.specializers=o.specializerSpecs.map(q),o.states=x(t.states,Uint32Array),o.data=x(t.stateData),o.goto=x(t.goto),o.maxTerm=t.maxTerm,o.tokenizers=t.tokenizers.map((function(t){return"number"==typeof t?new w(A,t):t})),o.topRules=t.topRules,o.dialects=t.dialects||{},o.dynamicPrecedences=t.dynamicPrecedences||null,o.tokenPrecTable=t.tokenPrec,o.termNames=t.termNames||null,o.maxNode=o.nodeSet.types.length-1,o.dialect=o.parseDialect(),o.top=o.topRules[Object.keys(o.topRules)[0]],o}return k(s,[{key:"createParse",value:function(t,e,s){var r,n=new L(this,t,e,s),i=u(this.wrappers);try{for(i.s();!(r=i.n()).done;){n=(0,r.value)(n,t,e,s)}}catch(t){i.e(t)}finally{i.f()}return n}},{key:"getGoto",value:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.goto;if(e>=r[0])return-1;for(var n=r[e+1];;){var i=r[n++],o=1&i,a=r[n++];if(o&&s)return a;for(var h=n+(i>>1);n<h;n++)if(r[n]==t)return a;
1if(o)return-1}}},{key:"hasAction",value:function(t,e){for(var s=this.data,r=0;r<2;r++)for(var n,i=this.stateSlot(t,r?2:1);;i+=3){if(65535==(n=s[i])){if(1!=s[i+1]){if(2==s[i+1])return W(s,i+2);break}n=s[i=W(s,i+2)]}if(n==e||0==n)return W(s,i+1)}return 0}},{key:"stateSlot",value:function(t,e){return this.states[6*t+e]}},{key:"stateFlag",value:function(t,e){return(this.stateSlot(t,0)&e)>0}},{key:"validAction",value:function(t,e){if(e==this.stateSlot(t,4))return!0;for(var s=this.stateSlot(t,1);;s+=3){if(65535==this.data[s]){if(1!=this.data[s+1])return!1;s=W(this.data,s+2)}if(e==W(this.data,s+1))return!0}}},{key:"nextStates",value:function(t){for(var e=this,s=[],r=function(t){if(65535==e.data[t]){if(1!=e.data[t+1])return n=t,"break";t=W(e.data,t+2)}if(0==(1&e.data[t+2])){var r=e.data[t+1];s.some((function(t,e){return 1&e&&t==r}))||s.push(e.data[t],r)}n=t},n=this.stateSlot(t,1);;n+=3){if("break"===r(n))break}return s}},{key:"configure",value:function(t){var e,r=Object.assign(Object.create(s.prototype),this);if(t.props&&(r.nodeSet=(e=this.nodeSet).extend.apply(e,n(t.props))),t.top){var i=this.topRules[t.top];if(!i)throw new RangeError("Invalid top rule name ".concat(t.top));r.top=i}return t.tokenizers&&(r.tokenizers=this.tokenizers.map((function(e){var s=t.tokenizers.find((function(t){return t.from==e}));return s?s.to:e}))),t.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((function(e,s){var n=t.specializers.find((function(t){return t.from==e.external}));if(!n)return e;var i=Object.assign(Object.assign({},e),{external:n.to});return r.specializers[s]=q(i),i}))),t.contextTracker&&(r.context=t.contextTracker),t.dialect&&(r.dialect=this.parseDialect(t.dialect)),null!=t.strict&&(r.strict=t.strict),t.wrap&&(r.wrappers=r.wrappers.concat(t.wrap)),null!=t.bufferLength&&(r.bufferLength=t.bufferLength),r}},{key:"hasWrappers",value:function(){return this.wrappers.length>0}},{key:"getName",value:function(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}},{key:"eofTerm",get:function(){return this.maxNode+1}},{key:"topNode",get:function(){return this.nodeSet.types[this.top[1]]}},{key:"dynamicPrecedence",value:function(t){var e=this.dynamicPrecedences;return null==e?0:e[t]||0}},{key:"parseDialect",value:function(t){var e=Object.keys(this.dialects),s=e.map((function(){return!1}));if(t){var r,n=u(t.split(" "));try{for(n.s();!(r=n.n()).done;){var i=r.value,o=e.indexOf(i);o>=0&&(s[o]=!0)}}catch(t){n.e(t)}finally{n.f()}}for(var a=null,h=0;h<e.length;h++)if(!s[h])for(var c,f=this.dialects[e[h]];65535!=(c=this.data[f++]);)(a||(a=new Uint8Array(this.maxTerm+1)))[c]=1;return new E(t,s,a)}}],[{key:"deserialize",value:function(t){return new s(t)}}]),s}(r._b);function W(t,e){return t[e]|t[e+1]<<16}function q(t){if(t.external){var e=t.extend?1:0;return function(s,r){return t.external(s,r)<<1|e}}return t.get}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.