1"use strict";(globalThis.webpackChunklwjgl_org=globalThis.webpackChunklwjgl_org||[]).push([["281"],{5432(t,e,i){function s(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,{VR:()=>tN});let r=(t,e,i)=>{let s=t instanceof RegExp?n(t,i):t,r=e instanceof RegExp?n(e,i):e,l=null!==s&&null!=r&&h(s,r,i);return l&&{start:l[0],end:l[1],pre:i.slice(0,l[0]),body:i.slice(l[0]+s.length,l[1]),post:i.slice(l[1]+r.length)}},n=(t,e)=>{let i=e.match(t);return i?i[0]:null},h=(t,e,i)=>{let s,r,n,h,l,o=i.indexOf(t),a=i.indexOf(e,o+1),p=o;if(o>=0&&a>0){if(t===e)return[o,a];for(s=[],n=i.length;p>=0&&!l;){if(p===o)s.push(p),o=i.indexOf(t,p+1);else if(1===s.length){let t=s.pop();void 0!==t&&(l=[t,a])}else void 0!==(r=s.pop())&&r<n&&(n=r,h=a),a=i.indexOf(e,p+1);p=o<a&&o>=0?o:a}s.length&&void 0!==h&&(l=[n,h])}return l},l="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",p="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0",c=RegExp(l,"g"),f=RegExp(o,"g"),g=RegExp(a,"g"),d=RegExp(p,"g"),v=RegExp(u,"g"),w=/\\\\/g,m=/\\{/g,b=/\\}/g,y=/\\,/g,S=/\\./g;function M(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}function x(t){return t.replace(c,"\\").replace(f,"{").replace(g,"}").replace(d,",").replace(v,".")}function E(t){return"{"+t+"}"}function $(t){return/^-?0\d/.test(t)}function W(t,e){return t<=e}function O(t,e){return t>=e}let A=t=>{if("string"!=typeof t)throw TypeError("invalid pattern");if(t.length>65536)throw TypeError("pattern is too long")};function P(t,e,i){if(!e.has(t))throw TypeError("attempted to "+i+" private field on non-instance");return e.get(t)}function R(t,e){var i=P(t,e,"get");return i.get?i.get.call(t):i.value}function k(t,e){if(e.has(t))throw TypeError("Cannot initialize the same private elements twice on an object")}function j(t,e,i){k(t,e),e.set(t,i)}function N(t,e,i){var s=P(t,e,"set");if(s.set)s.set.call(t,i);else{if(!s.writable)throw TypeError("attempted to set read only private field");s.value=i}return i}function C(t,e,i){if(!e.has(t))throw TypeError("attempted to get private field on non-instance");return i}function T(t,e){k(t,e),e.add(t)}function L(t,e,i){if(t!==e)throw TypeError("Private static access of wrong provenance");return i}let z={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},_=t=>t.replace(/[[\]\\-]/g,"\\$&"),G=(t,e)=>{if("["!==t.charAt(e))throw Error("not in a brace expression");let i=[],s=[],r=e+1,n=!1,h=!1,l=!1,o=!1,a=e,p="";t:for(;r<t.length;){let u=t.charAt(r);if(("!"===u||"^"===u)&&r===e+1){o=!0,r++;continue}if("]"===u&&n&&!l){a=r+1;break}if(n=!0,"\\"===u&&!l){l=!0,r++;continue}if("["===u&&!l){for(let[n,[l,o,a]]of Object.entries(z))if(t.startsWith(n,r)){if(p)return["$.",!1,t.length-e,!0];r+=n.length,a?s.push(l):i.push(l),h=h||o;continue t}}if(l=!1,p){u>p?i.push(_(p)+"-"+_(u)):u===p&&i.push(_(u)),p="",r++;continue}if(t.startsWith("-]",r+1)){i.push(_(u+"-")),r+=2;continue}if(t.startsWith("-",r+1)){p=u,r+=2;continue}i.push(_(u)),r++}if(a<r)return["",!1,0,!1];if(!i.length&&!s.length)return["$.",!1,t.length-e,!0];if(0===s.length&&1===i.length&&/^\\?.$/.test(i[0])&&!o)return[(2===i[0].length?i[0].slice(-1):i[0]).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),!1,a-e,!1];let u="["+(o?"^":"")+i.join("")+"]",c="["+(o?"":"^")+s.join("")+"]";return[i.length&&s.length?"("+u+"|"+c+")":i.length?u:c,h,a-e,!0]},I=function(t){let{windowsPathsNoEscape:e=!1,magicalBraces:i=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i?e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"):e?t.replace(/\[([^\/\\{}])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\{}])\]/g,"$1$2").replace(/\\([^\/{}])/g,"$1")},B=new Set(["!","?","+","*","@"]),Z=t=>B.has(t),F="(?!\\.)",J=new Set(["[","."]),H=new Set(["..","."]),D=new Set("().*{}+?[]^$\\!"),U=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),V="[^/]",q=V+"*?",K=V+"+?";
1var Q=new WeakMap,X=new WeakMap,Y=new WeakMap,tt=new WeakMap,te=new WeakMap,ti=new WeakMap,ts=new WeakMap,tr=new WeakMap,tn=new WeakMap,th=new WeakMap,tl=new WeakMap,to=new WeakSet,ta=new WeakSet;class tp{get hasMagic(){if(void 0!==R(this,X))return R(this,X);for(let t of R(this,tt))if("string"!=typeof t&&(t.type||t.hasMagic))return N(this,X,!0);return R(this,X)}toString(){return void 0!==R(this,th)?R(this,th):this.type?N(this,th,this.type+"("+R(this,tt).map(t=>String(t)).join("|")+")"):N(this,th,R(this,tt).map(t=>String(t)).join(""))}push(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];for(let t of e)if(""!==t){if("string"!=typeof t&&!(t instanceof tp&&R(t,te)===this))throw Error("invalid part: "+t);R(this,tt).push(t)}}toJSON(){var t;let e=null===this.type?R(this,tt).slice().map(t=>"string"==typeof t?t:t.toJSON()):[this.type,...R(this,tt).map(t=>t.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===R(this,Q)||R(R(this,Q),tr)&&(null==(t=R(this,te))?void 0:t.type)==="!")&&e.push({}),e}isStart(){var t;if(R(this,Q)===this)return!0;if(!(null==(t=R(this,te))?void 0:t.isStart()))return!1;if(0===R(this,ti))return!0;let e=R(this,te);for(let t=0;t<R(this,ti);t++){let i=R(e,tt)[t];if(!(i instanceof tp&&"!"===i.type))return!1}return!0}isEnd(){var t,e,i;if(R(this,Q)===this||(null==(t=R(this,te))?void 0:t.type)==="!")return!0;if(!(null==(e=R(this,te))?void 0:e.isEnd()))return!1;if(!this.type)return null==(i=R(this,te))?void 0:i.isEnd();let s=R(this,te)?R(R(this,te),tt).length:0;return R(this,ti)===s-1}copyIn(t){"string"==typeof t?this.push(t):this.push(t.clone(this))}clone(t){let e=new tp(this.type,t);for(let t of R(this,tt))e.copyIn(t);return e}static fromGlob(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=new tp(null,void 0,e);return L(tp,tp,tc).call(tp,t,i,0,e),i}toMMPattern(){if(this!==R(this,Q))return R(this,Q).toMMPattern();let t=this.toString(),[e,i,s,r]=this.toRegExpSource();return s||R(this,X)||R(this,tn).nocase&&!R(this,tn).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()?Object.assign(RegExp(`^${e}$`,(R(this,tn).nocase?"i":"")+(r?"u":"")),{_src:e,_glob:t}):i}get options(){return R(this,tn)}toRegExpSource(t){var e;let i=null!=t?t:!!R(this,tn).dot;if(R(this,Q)===this&&C(this,to,tu).call(this),!this.type){let s=this.isStart()&&this.isEnd()&&!R(this,tt).some(t=>"string"!=typeof t),r=R(this,tt).map(e=>{let[i,r,n,h]="string"==typeof e?L(tp,tp,tg).call(tp,e,R(this,X),s):e.toRegExpSource(t);return N(this,X,R(this,X)||n),N(this,Y,R(this,Y)||h),i}).join(""),n="";if(this.isStart()&&"string"==typeof R(this,tt)[0]&&!(1===R(this,tt).length&&H.has(R(this,tt)[0]))){let e=i&&J.has(r.charAt(0))||r.startsWith("\\.")&&J.has(r.charAt(2))||r.startsWith("\\.\\.")&&J.has(r.charAt(4)),s=!i&&!t&&J.has(r.charAt(0));n=e?"(?!(?:^|/)\\.\\.?(?:$|/))":s?F:""}let h="";return this.isEnd()&&R(R(this,Q),tr)&&(null==(e=R(this,te))?void 0:e.type)==="!"&&(h="(?:$|\\/)"),[n+r+h,I(r),N(this,X,!!R(this,X)),R(this,Y)]}let s="*"===this.type||"+"===this.type,r="!"===this.type?"(?:(?!(?:":"(?:",n=C(this,ta,tf).call(this,i);if(this.isStart()&&this.isEnd()&&!n&&"!"!==this.type){let t=this.toString();return N(this,tt,[t]),this.type=null,N(this,X,void 0),[t,I(this.toString()),!1,!1]}let h=!s||t||i||!F?"":C(this,ta,tf).call(this,!0);h===n&&(h=""),h&&(n=`(?:${n})(?:${h})*?`);return["!"===this.type&&R(this,tl)?(this.isStart()&&!i?F:"")+K:r+n+("!"===this.type?"))"+(!this.isStart()||i||t?"":F)+q+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&h?")":"*"===this.type&&h?")?":`)${this.type}`),I(n),N(this,X,!!R(this,X)),R(this,Y)]}constructor(t,e,i={}){T(this,to),T(this,ta),s(this,"type",void 0),j(this,Q,{writable:!0,value:void 0}),j(this,X,{writable:!0,value:void 0}),j(this,Y,{writable:!0,value:!1}),j(this,tt,{writable:!0,value:[]}),j(this,te,{writable:!0,value:void 0}),j(this,ti,{writable:!0,value:void 0}),j(this,ts,{writable:!0,value:void 0}),j(this,tr,{writable:!0,value:!1}),j(this,tn,{writable:!0,value:void 0}),j(this,th,{writable:!0,value:void 0}),j(this,tl,{writable:!0,value:!1}),this.type=t,t&&N(this,X,!0),N(this,te,e),N(this,Q,R(this,te)?R(R(this,te),Q):this),N(this,tn,R(this,Q)===this?i:R(R(this,Q),tn)),N(this,ts,R(this,Q)===this?[]:R(R(this,Q),ts)),"!"!==t||R(R(this,Q),tr)||R(this,ts).push(this),N(this,ti,R(this,te)?R(R(this,te),tt).length:0)}}function tu(){let t;if(this!==R(this,Q))throw Error("should only call on root");
1if(R(this,tr))return this;for(this.toString(),N(this,tr,!0);t=R(this,ts).pop();){if("!"!==t.type)continue;let e=t,i=R(e,te);for(;i;){for(let s=R(e,ti)+1;!i.type&&s<R(i,tt).length;s++)for(let e of R(t,tt)){if("string"==typeof e)throw Error("string part in extglob AST??");e.copyIn(R(i,tt)[s])}i=R(e=i,te)}}return this}function tc(t,e,i,s){let r=!1,n=!1,h=-1,l=!1;if(null===e.type){let o=i,a="";for(;o<t.length;){let i=t.charAt(o++);if(r||"\\"===i){r=!r,a+=i;continue}if(n){o===h+1?("^"===i||"!"===i)&&(l=!0):"]"!==i||o===h+2&&l||(n=!1),a+=i;continue}if("["===i){n=!0,h=o,l=!1,a+=i;continue}if(!s.noext&&Z(i)&&"("===t.charAt(o)){e.push(a),a="";let r=new tp(i,e);o=L(tp,tp,tc).call(tp,t,r,o,s),e.push(r);continue}a+=i}return e.push(a),o}let o=i+1,a=new tp(null,e),p=[],u="";for(;o<t.length;){let i=t.charAt(o++);if(r||"\\"===i){r=!r,u+=i;continue}if(n){o===h+1?("^"===i||"!"===i)&&(l=!0):"]"!==i||o===h+2&&l||(n=!1),u+=i;continue}if("["===i){n=!0,h=o,l=!1,u+=i;continue}if(Z(i)&&"("===t.charAt(o)){a.push(u),u="";let e=new tp(i,a);a.push(e),o=L(tp,tp,tc).call(tp,t,e,o,s);continue}if("|"===i){a.push(u),u="",p.push(a),a=new tp(null,e);continue}if(")"===i)return""===u&&0===R(e,tt).length&&N(e,tl,!0),a.push(u),u="",e.push(...p,a),o;u+=i}return e.type=null,N(e,X,void 0),N(e,tt,[t.substring(i-1)]),o}function tf(t){return R(this,tt).map(e=>{if("string"==typeof e)throw Error("string type in extglob ast??");let[i,s,r,n]=e.toRegExpSource(t);return N(this,Y,R(this,Y)||n),i}).filter(t=>!(this.isStart()&&this.isEnd())||!!t).join("|")}function tg(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=!1,r="",n=!1;for(let h=0;h<t.length;h++){let l=t.charAt(h);if(s){s=!1,r+=(D.has(l)?"\\":"")+l;continue}if("\\"===l){h===t.length-1?r+="\\\\":s=!0;continue}if("["===l){let[i,s,l,o]=G(t,h);if(l){r+=i,n=n||s,h+=l-1,e=e||o;continue}}if("*"===l){r+=i&&"*"===t?K:q,e=!0;continue}if("?"===l){r+=V,e=!0;continue}r+=U(l)}return[r,I(t),!!e,n]}let td=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return A(e),(!!i.nocomment||"#"!==e.charAt(0))&&new tN(e,i).match(t)},tv=/^\*+([^+@!?\*\[\(]*)$/,tw=/^\*+\.\*+$/,tm=t=>!t.startsWith(".")&&t.includes("."),tb=t=>"."!==t&&".."!==t&&t.includes("."),ty=/^\.\*+$/,tS=t=>"."!==t&&".."!==t&&t.startsWith("."),tM=/^\*+$/,tx=t=>0!==t.length&&!t.startsWith("."),tE=t=>0!==t.length&&"."!==t&&".."!==t,t$=/^\?+([^+@!?\*\[\(]*)?$/,tW=t=>{let[e]=t,i=e.length;return t=>t.length===i&&!t.startsWith(".")},tO=t=>{let[e]=t,i=e.length;return t=>t.length===i&&"."!==t&&".."!==t},tA="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";td.sep="win32"===tA?"\\":"/";let tP=Symbol("globstar **");td.GLOBSTAR=tP;td.filter=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i=>td(i,t,e)};let tR=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({},t,e)};td.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return td;let e=td;return Object.assign(function(i,s){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e(i,s,tR(t,r))},{Minimatch:class extends e.Minimatch{static defaults(i){return e.defaults(tR(t,i)).Minimatch}constructor(e,i={}){super(e,tR(t,i))}},AST:class extends e.AST{static fromGlob(i){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.AST.fromGlob(i,tR(t,s))}constructor(e,i,s={}){super(e,i,tR(t,s))}},unescape:function(i){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.unescape(i,tR(t,s))},escape:function(i){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.escape(i,tR(t,s))},filter:function(i){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.filter(i,tR(t,s))},defaults:i=>e.defaults(tR(t,i)),makeRe:function(i){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.makeRe(i,tR(t,s))},braceExpand:function(i){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.braceExpand(i,tR(t,s))},match:function(i,s){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.match(i,s,tR(t,r))},sep:e.sep,GLOBSTAR:tP})};let tk=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(A(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t))return[t];var i=t;return i?("{}"===i.slice(0,2)&&(i="\\{\\}"+i.slice(2)),(function t(e,i){let s=[],n=r("{","}",e);if(!n)return[e];let h=n.pre,l=n.post.length?t(n.post,!1):[""];
1if(/\$$/.test(n.pre))for(let t=0;t<l.length;t++){let e=h+"{"+n.body+"}"+l[t];s.push(e)}else{let o,p,u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),f=u||c,g=n.body.indexOf(",")>=0;if(!f&&!g)return n.post.match(/,(?!,).*\}/)?t(e=n.pre+"{"+n.body+a+n.post):[e];if(f)o=n.body.split(/\.\./);else if(1===(o=function t(e){if(!e)return[""];let i=[],s=r("{","}",e);if(!s)return e.split(",");let{pre:n,body:h,post:l}=s,o=n.split(",");o[o.length-1]+="{"+h+"}";let a=t(l);return l.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),i.push.apply(i,o),i}(n.body)).length&&void 0!==o[0]&&1===(o=t(o[0],!1).map(E)).length)return l.map(t=>n.pre+o[0]+t);if(f&&void 0!==o[0]&&void 0!==o[1]){let t=M(o[0]),e=M(o[1]),i=Math.max(o[0].length,o[1].length),s=3===o.length&&void 0!==o[2]?Math.abs(M(o[2])):1,r=W;e<t&&(s*=-1,r=O);let n=o.some($);p=[];for(let h=t;r(h,e);h+=s){let t;if(c)"\\"===(t=String.fromCharCode(h))&&(t="");else if(t=String(h),n){let e=i-t.length;if(e>0){let i=Array(e+1).join("0");t=h<0?"-"+i+t.slice(1):i+t}}p.push(t)}}else{p=[];for(let e=0;e<o.length;e++)p.push.apply(p,t(o[e],!1))}for(let t=0;t<p.length;t++)for(let e=0;e<l.length;e++){let r=h+p[t]+l[e];(!i||f||r)&&s.push(r)}}return s})(i.replace(w,l).replace(m,o).replace(b,a).replace(y,p).replace(S,u),!0).map(x)):[]};td.braceExpand=tk,td.makeRe=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new tN(t,e).makeRe()},td.match=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=new tN(e,i);return t=t.filter(t=>s.match(t)),s.options.nonull&&!t.length&&t.push(e),t};let tj=/[?*]|[+@!]\(.*?\)|\[|\]/;class tN{hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let t of this.set)for(let e of t)if("string"!=typeof e)return!0;return!1}debug(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i]}make(){let t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0)){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return console.error(...e)}),this.debug(this.pattern,this.globSet);let i=this.globSet.map(t=>this.slashSplit(t));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let s=this.globParts.map((t,e,i)=>{if(this.isWindows&&this.windowsNoMagicRoot){let e=""===t[0]&&""===t[1]&&("?"===t[2]||!tj.test(t[2]))&&!tj.test(t[3]),i=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map(t=>this.parse(t))];if(i)return[t[0],...t.slice(1).map(t=>this.parse(t))]}return t.map(t=>this.parse(t))});if(this.debug(this.pattern,s),this.set=s.filter(t=>-1===t.indexOf(!1)),this.isWindows)for(let t=0;t<this.set.length;t++){let e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let i=0;i<t[e].length;i++)"**"===t[e][i]&&(t[e][i]="*");let{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let i=e;for(;"**"===t[i+1];)i++;i!==e&&t.splice(e,i-e)}return t})}levelOneOptimize(t){return t.map(t=>0===(t=t.reduce((t,e)=>{let i=t[t.length-1];return"**"===e&&"**"===i||(".."===e&&i&&".."!==i&&"."!==i&&"**"!==i?t.pop():t.push(e)),t},[])).length?[""]:t)}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let i=1;i<t.length-1;i++){let s=t[i];(1!==i||""!==s||""!==t[0])&&("."===s||""===s)&&(e=!0,t.splice(i,1),i--)}"."===t[0]&&2===t.length&&("."===t[1]||""===t[1])&&(e=!0,t.pop())}let i=0;for(;-1!==(i=t.indexOf("..",i+1));){let s=t[i-1];s&&"."!==s&&".."!==s&&"**"!==s&&(e=!0,t.splice(i-1,2),i-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do for(let i of(e=!1,t)){let s=-1;for(;-1!==(s=i.indexOf("**",s+1));){let r=s;for(;"**"===i[r+1];)r++;r>s&&i.splice(s+1,r-s);let n=i[s+1],h=i[s+2],l=i[s+3];if(".."!==n||!h||"."===h||".."===h||!l||"."===l||".."===l)continue;e=!0,i.splice(s,1);let o=i.slice(0);o[s]="**",t.push(o),s--}if(!this.preserveMultipleSlashes){for(let t=1;t<i.length-1;t++){let s=i[t];(1!==t||""!==s||""!==i[0])&&("."===s||""===s)&&(e=!0,i.splice(t,1),t--)}"."===i[0]&&2===i.length&&("."===i[1]||""===i[1])&&(e=!0,i.pop())}let r=0;for(;-1!==(r=i.indexOf("..",r+1));){let t=i[r-1];if(t&&"."!==t&&".."!==t&&"**"!==t){e=!0;let t=1===r&&"**"===i[r+1]?["."]:[];i.splice(r-1,2,...t),0===i.length&&i.push(""),r-=2}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let i=e+1;i<t.length;i++){let s=this.partsMatch(t[e],t[i],!this.preserveMultipleSlashes);if(s){t[e]=[],t[i]=s;break}}return t.filter(t=>t.length)}partsMatch(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=0,r=0,n=[],h="";for(;s<t.length&&r<e.length;)if(t[s]===e[r])n.push("b"===h?e[r]:t[s]),s++,r++;else if(i&&"**"===t[s]&&e[r]===t[s+1])n.push(t[s]),s++;else if(i&&"**"===e[r]&&t[s]===e[r+1])n.push(e[r]),r++;else if("*"===t[s]&&e[r]&&(this.options.dot||!e[r].startsWith("."))&&"**"!==e[r]){if("b"===h)return!1;h="a",n.push(t[s]),s++,r++}else{if("*"!==e[r]||!t[s]||!this.options.dot&&t[s].startsWith(".")||"**"===t[s]||"a"===h)return!1;h="b",n.push(e[r]),s++,r++}return t.length===e.length&&n}parseNegate(){if(this.nonegate)return;let t=this.pattern,e=!1,i=0;for(let s=0;s<t.length&&"!"===t.charAt(s);s++)e=!e,i++;i&&(this.pattern=t.slice(i)),this.negate=e}matchOne(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=this.options;if(this.isWindows){let i="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),s=!i&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),r="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),n=!r&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3]),h=s?3:i?0:void 0,l=n?3:r?0:void 0;if("number"==typeof h&&"number"==typeof l){let[i,s]=[t[h],e[l]];i.toLowerCase()===s.toLowerCase()&&(e[l]=i,l>h?e=e.slice(l):h>l&&(t=t.slice(h)))}}let{optimizationLevel:r=1}=this.options;r>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var n=0,h=0,l=t.length,o=e.length;n<l&&h<o;n++,h++){let r;this.debug("matchOne loop");var a=e[h],p=t[n];if(this.debug(e,a,p),!1===a)return!1;if(a===tP){this.debug("GLOBSTAR",[e,a,p]);
1var u=n,c=h+1;if(c===o){for(this.debug("** at the end");n<l;n++)if("."===t[n]||".."===t[n]||!s.dot&&"."===t[n].charAt(0))return!1;return!0}for(;u<l;){var f=t[u];if(this.debug("\nglobstar while",t,u,e,c,f),this.matchOne(t.slice(u),e.slice(c),i))return this.debug("globstar found match!",u,l,f),!0;if("."===f||".."===f||!s.dot&&"."===f.charAt(0)){this.debug("dot detected!",t,u,e,c);break}this.debug("globstar swallow a segment, and continue"),u++}if(i&&(this.debug("\n>>> no match, partial?",t,u,e,c),u===l))return!0;return!1}if("string"==typeof a?(r=p===a,this.debug("string match",a,p,r)):(r=a.test(p),this.debug("pattern match",a,p,r)),!r)return!1}if(n===l&&h===o)return!0;if(n===l)return i;if(h===o)return n===l-1&&""===t[n];throw Error("wtf?")}braceExpand(){return tk(this.pattern,this.options)}parse(t){let e;A(t);let i=this.options;if("**"===t)return tP;if(""===t)return"";let s=null;(e=t.match(tM))?s=i.dot?tE:tx:(e=t.match(tv))?s=(i.nocase?i.dot?t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)):t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)):i.dot?t=>e=>e.endsWith(t):t=>e=>!e.startsWith(".")&&e.endsWith(t))(e[1]):(e=t.match(t$))?s=(i.nocase?i.dot?t=>{let[e,i=""]=t,s=tO([e]);return i?(i=i.toLowerCase(),t=>s(t)&&t.toLowerCase().endsWith(i)):s}:t=>{let[e,i=""]=t,s=tW([e]);return i?(i=i.toLowerCase(),t=>s(t)&&t.toLowerCase().endsWith(i)):s}:i.dot?t=>{let[e,i=""]=t,s=tO([e]);return i?t=>s(t)&&t.endsWith(i):s}:t=>{let[e,i=""]=t,s=tW([e]);return i?t=>s(t)&&t.endsWith(i):s})(e):(e=t.match(tw))?s=i.dot?tb:tm:(e=t.match(ty))&&(s=tS);let r=tp.fromGlob(t,this.options).toMMPattern();return s&&"object"==typeof r&&Reflect.defineProperty(r,"test",{value:s}),r}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;let t=this.set;if(!t.length)return this.regexp=!1,this.regexp;let e=this.options,i=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",s=new Set(e.nocase?["i"]:[]),r=t.map(t=>{let e=t.map(t=>{if(t instanceof RegExp)for(let e of t.flags.split(""))s.add(e);return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):t===tP?tP:t._src});e.forEach((t,s)=>{let r=e[s+1],n=e[s-1];t===tP&&n!==tP&&(void 0===n?void 0!==r&&r!==tP?e[s+1]="(?:\\/|"+i+"\\/)?"+r:e[s]=i:void 0===r?e[s-1]=n+"(?:\\/|\\/"+i+")?":r!==tP&&(e[s-1]=n+"(?:\\/|\\/"+i+"\\/)"+r,e[s+1]=tP))});let r=e.filter(t=>t!==tP);
1if(this.partial&&r.length>=1){let t=[];for(let e=1;e<=r.length;e++)t.push(r.slice(0,e).join("/"));return"(?:"+t.join("|")+")"}return r.join("/")}).join("|"),[n,h]=t.length>1?["(?:",")"]:["",""];r="^"+n+r+h+"$",this.partial&&(r="^(?:\\/|"+n+r.slice(1,-1)+h+")$"),this.negate&&(r="^(?!"+r+").+$");try{this.regexp=new RegExp(r,[...s].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.partial;if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;let i=this.options;this.isWindows&&(t=t.split("\\").join("/"));let s=this.slashSplit(t);this.debug(this.pattern,"split",s);let r=this.set;this.debug(this.pattern,"set",r);let n=s[s.length-1];if(!n)for(let t=s.length-2;!n&&t>=0;t--)n=s[t];for(let t=0;t<r.length;t++){let h=r[t],l=s;if(i.matchBase&&1===h.length&&(l=[n]),this.matchOne(l,h,e)){if(i.flipNegate)return!0;return!this.negate}}return!i.flipNegate&&this.negate}static defaults(t){return td.defaults(t).Minimatch}constructor(t,e={}){s(this,"options",void 0),s(this,"set",void 0),s(this,"pattern",void 0),s(this,"windowsPathsNoEscape",void 0),s(this,"nonegate",void 0),s(this,"negate",void 0),s(this,"comment",void 0),s(this,"empty",void 0),s(this,"preserveMultipleSlashes",void 0),s(this,"partial",void 0),s(this,"globSet",void 0),s(this,"globParts",void 0),s(this,"nocase",void 0),s(this,"isWindows",void 0),s(this,"platform",void 0),s(this,"windowsNoMagicRoot",void 0),s(this,"regexp",void 0),A(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||tA,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}}td.AST=tp,td.Minimatch=tN,td.escape=function(t){let{windowsPathsNoEscape:e=!1,magicalBraces:i=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},td.unescape=I}}]);
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.