@teambit/aspect 0.0.1094 → 0.0.1096

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[]).push([[924],{92509:function(__unused_webpack_module,exports,__webpack_require__){(function(global2,factory){factory(exports,__webpack_require__(22208),__webpack_require__(92297),__webpack_require__(83446))})(this,function(exports2,setArray,sourcemapCodec,traceMapping){"use strict";exports2.addSegment=void 0,exports2.addMapping=void 0,exports2.maybeAddSegment=void 0,exports2.maybeAddMapping=void 0,exports2.setSourceContent=void 0,exports2.toDecodedMap=void 0,exports2.toEncodedMap=void 0,exports2.fromMap=void 0,exports2.allMappings=void 0;let addSegmentInternal;class GenMapping{constructor({file,sourceRoot}={}){this._names=new setArray.SetArray,this._sources=new setArray.SetArray,this._sourcesContent=[],this._mappings=[],this.file=file,this.sourceRoot=sourceRoot}}exports2.addSegment=(map,genLine,genColumn,source,sourceLine,sourceColumn,name,content)=>addSegmentInternal(!1,map,genLine,genColumn,source,sourceLine,sourceColumn,name,content),exports2.maybeAddSegment=(map,genLine,genColumn,source,sourceLine,sourceColumn,name,content)=>addSegmentInternal(!0,map,genLine,genColumn,source,sourceLine,sourceColumn,name,content),exports2.addMapping=(map,mapping)=>addMappingInternal(!1,map,mapping),exports2.maybeAddMapping=(map,mapping)=>addMappingInternal(!0,map,mapping),exports2.setSourceContent=(map,source,content)=>{const{_sources:sources,_sourcesContent:sourcesContent}=map;sourcesContent[setArray.put(sources,source)]=content},exports2.toDecodedMap=map=>{const{file,sourceRoot,_mappings:mappings,_sources:sources,_sourcesContent:sourcesContent,_names:names}=map;return removeEmptyFinalLines(mappings),{version:3,file:file||void 0,names:names.array,sourceRoot:sourceRoot||void 0,sources:sources.array,sourcesContent,mappings}},exports2.toEncodedMap=map=>{const decoded=exports2.toDecodedMap(map);return Object.assign(Object.assign({},decoded),{mappings:sourcemapCodec.encode(decoded.mappings)})},exports2.allMappings=map=>{const out=[],{_mappings:mappings,_sources:sources,_names:names}=map;for(let i=0;i<mappings.length;i++){const line=mappings[i];for(let j=0;j<line.length;j++){const seg=line[j],generated={line:i+1,column:seg[0]};let source,original,name;seg.length!==1&&(source=sources.array[seg[1]],original={line:seg[2]+1,column:seg[3]},seg.length===5&&(name=names.array[seg[4]])),out.push({generated,source,original,name})}}return out},exports2.fromMap=input=>{const map=new traceMapping.TraceMap(input),gen=new GenMapping({file:map.file,sourceRoot:map.sourceRoot});return putAll(gen._names,map.names),putAll(gen._sources,map.sources),gen._sourcesContent=map.sourcesContent||map.sources.map(()=>null),gen._mappings=traceMapping.decodedMappings(map),gen},addSegmentInternal=(skipable,map,genLine,genColumn,source,sourceLine,sourceColumn,name,content)=>{const{_mappings:mappings,_sources:sources,_sourcesContent:sourcesContent,_names:names}=map,line=getLine(mappings,genLine),index=getColumnIndex(line,genColumn);if(!source)return skipable&&skipSourceless(line,index)?void 0:insert(line,index,[genColumn]);const sourcesIndex=setArray.put(sources,source),namesIndex=name?setArray.put(names,name):-1;if(sourcesIndex===sourcesContent.length&&(sourcesContent[sourcesIndex]=content??null),!(skipable&&skipSource(line,index,sourcesIndex,sourceLine,sourceColumn,namesIndex)))return insert(line,index,name?[genColumn,sourcesIndex,sourceLine,sourceColumn,namesIndex]:[genColumn,sourcesIndex,sourceLine,sourceColumn])};function getLine(mappings,index){for(let i=mappings.length;i<=index;i++)mappings[i]=[];return mappings[index]}function getColumnIndex(line,genColumn){let index=line.length;for(let i=index-1;i>=0;index=i--){const current=line[i];if(genColumn>=current[0])break}return index}function insert(array,index,value){for(let i=array.length;i>index;i--)array[i]=array[i-1];array[index]=value}function removeEmptyFinalLines(mappings){const{length}=mappings;let len=length;for(let i=len-1;i>=0&&!(mappings[i].length>0);len=i,i--);len<length&&(mappings.length=len)}function putAll(strarr,array){for(let i=0;i<array.length;i++)setArray.put(strarr,array[i])}function skipSourceless(line,index){return index===0?!0:line[index-1].length===1}function skipSource(line,index,sourcesIndex,sourceLine,sourceColumn,namesIndex){if(index===0)return!1;const prev=line[index-1];return prev.length===1?!1:sourcesIndex===prev[1]&&sourceLine===prev[2]&&sourceColumn===prev[3]&&namesIndex===(prev.length===5?prev[4]:-1)}function addMappingInternal(skipable,map,mapping){const{generated,source,original,name,content}=mapping;if(!source)return addSegmentInternal(skipable,map,generated.line-1,generated.column,null,null,null,null,null);const s=source;return addSegmentInternal(skipable,map,generated.line-1,generated.column,s,original.line-1,original.column,name,content)}exports2.GenMapping=GenMapping,Object.defineProperty(exports2,"__esModule",{value:!0})})},48435:function(module){(function(global2,factory){module.exports=factory()})(this,function(){"use strict";const schemeRegex=/^[\w+.-]+:\/\//,urlRegex=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,fileRegex=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var UrlType;(function(UrlType2){UrlType2[UrlType2.Empty=1]="Empty",UrlType2[UrlType2.Hash=2]="Hash",UrlType2[UrlType2.Query=3]="Query",UrlType2[UrlType2.RelativePath=4]="RelativePath",UrlType2[UrlType2.AbsolutePath=5]="AbsolutePath",UrlType2[UrlType2.SchemeRelative=6]="SchemeRelative",UrlType2[UrlType2.Absolute=7]="Absolute"})(UrlType||(UrlType={}));function isAbsoluteUrl(input){return schemeRegex.test(input)}function isSchemeRelativeUrl(input){return input.startsWith("//")}function isAbsolutePath(input){return input.startsWith("/")}function isFileUrl(input){return input.startsWith("file:")}function isRelative(input){return/^[.?#]/.test(input)}function parseAbsoluteUrl(input){const match=urlRegex.exec(input);return makeUrl(match[1],match[2]||"",match[3],match[4]||"",match[5]||"/",match[6]||"",match[7]||"")}function parseFileUrl(input){const match=fileRegex.exec(input),path=match[2];return makeUrl("file:","",match[1]||"","",isAbsolutePath(path)?path:"/"+path,match[3]||"",match[4]||"")}function makeUrl(scheme,user,host,port,path,query,hash){return{scheme,user,host,port,path,query,hash,type:UrlType.Absolute}}function parseUrl(input){if(isSchemeRelativeUrl(input)){const url2=parseAbsoluteUrl("http:"+input);return url2.scheme="",url2.type=UrlType.SchemeRelative,url2}if(isAbsolutePath(input)){const url2=parseAbsoluteUrl("http://foo.com"+input);return url2.scheme="",url2.host="",url2.type=UrlType.AbsolutePath,url2}if(isFileUrl(input))return parseFileUrl(input);if(isAbsoluteUrl(input))return parseAbsoluteUrl(input);const url=parseAbsoluteUrl("http://foo.com/"+input);return url.scheme="",url.host="",url.type=input?input.startsWith("?")?UrlType.Query:input.startsWith("#")?UrlType.Hash:UrlType.RelativePath:UrlType.Empty,url}function stripPathFilename(path){if(path.endsWith("/.."))return path;const index=path.lastIndexOf("/");return path.slice(0,index+1)}function mergePaths(url,base){normalizePath(base,base.type),url.path==="/"?url.path=base.path:url.path=stripPathFilename(base.path)+url.path}function normalizePath(url,type){const rel=type<=UrlType.RelativePath,pieces=url.path.split("/");let pointer=1,positive=0,addTrailingSlash=!1;for(let i=1;i<pieces.length;i++){const piece=pieces[i];if(!piece){addTrailingSlash=!0;continue}if(addTrailingSlash=!1,piece!=="."){if(piece===".."){positive?(addTrailingSlash=!0,positive--,pointer--):rel&&(pieces[pointer++]=piece);continue}pieces[pointer++]=piece,positive++}}let path="";for(let i=1;i<pointer;i++)path+="/"+pieces[i];(!path||addTrailingSlash&&!path.endsWith("/.."))&&(path+="/"),url.path=path}function resolve(input,base){if(!input&&!base)return"";const url=parseUrl(input);let inputType=url.type;if(base&&inputType!==UrlType.Absolute){const baseUrl=parseUrl(base),baseType=baseUrl.type;switch(inputType){case UrlType.Empty:url.hash=baseUrl.hash;case UrlType.Hash:url.query=baseUrl.query;case UrlType.Query:case UrlType.RelativePath:mergePaths(url,baseUrl);case UrlType.AbsolutePath:url.user=baseUrl.user,url.host=baseUrl.host,url.port=baseUrl.port;case UrlType.SchemeRelative:url.scheme=baseUrl.scheme}baseType>inputType&&(inputType=baseType)}normalizePath(url,inputType);const queryHash=url.query+url.hash;switch(inputType){case UrlType.Hash:case UrlType.Query:return queryHash;case UrlType.RelativePath:{const path=url.path.slice(1);return path?isRelative(base||input)&&!isRelative(path)?"./"+path+queryHash:path+queryHash:queryHash||"."}case UrlType.AbsolutePath:return url.path+queryHash;default:return url.scheme+"//"+url.user+url.host+url.port+url.path+queryHash}}return resolve})},22208:function(__unused_webpack_module,exports){(function(global2,factory){factory(exports)})(this,function(exports2){"use strict";exports2.get=void 0,exports2.put=void 0,exports2.pop=void 0;class SetArray{constructor(){this._indexes={__proto__:null},this.array=[]}}exports2.get=(strarr,key)=>strarr._indexes[key],exports2.put=(strarr,key)=>{const index=exports2.get(strarr,key);if(index!==void 0)return index;const{array,_indexes:indexes}=strarr;return indexes[key]=array.push(key)-1},exports2.pop=strarr=>{const{array,_indexes:indexes}=strarr;if(array.length===0)return;const last=array.pop();indexes[last]=void 0},exports2.SetArray=SetArray,Object.defineProperty(exports2,"__esModule",{value:!0})})},92297:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;(function(global2,factory){factory(exports)})(this,function(exports2){"use strict";const comma=",".charCodeAt(0),semicolon=";".charCodeAt(0),chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",intToChar=new Uint8Array(64),charToInt=new Uint8Array(128);for(let i=0;i<chars.length;i++){const c=chars.charCodeAt(i);intToChar[i]=c,charToInt[c]=i}const td=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(buf){return Buffer.from(buf.buffer,buf.byteOffset,buf.byteLength).toString()}}:{decode(buf){let out="";for(let i=0;i<buf.length;i++)out+=String.fromCharCode(buf[i]);return out}};function decode(mappings){const state=new Int32Array(5),decoded=[];let index=0;do{const semi=indexOf(mappings,index),line=[];let sorted=!0,lastCol=0;state[0]=0;for(let i=index;i<semi;i++){let seg;i=decodeInteger(mappings,i,state,0);const col=state[0];col<lastCol&&(sorted=!1),lastCol=col,hasMoreVlq(mappings,i,semi)?(i=decodeInteger(mappings,i,state,1),i=decodeInteger(mappings,i,state,2),i=decodeInteger(mappings,i,state,3),hasMoreVlq(mappings,i,semi)?(i=decodeInteger(mappings,i,state,4),seg=[col,state[1],state[2],state[3],state[4]]):seg=[col,state[1],state[2],state[3]]):seg=[col],line.push(seg)}sorted||sort(line),decoded.push(line),index=semi+1}while(index<=mappings.length);return decoded}function indexOf(mappings,index){const idx=mappings.indexOf(";",index);return idx===-1?mappings.length:idx}function decodeInteger(mappings,pos,state,j){let value=0,shift=0,integer=0;do{const c=mappings.charCodeAt(pos++);integer=charToInt[c],value|=(integer&31)<<shift,shift+=5}while(integer&32);const shouldNegate=value&1;return value>>>=1,shouldNegate&&(value=-2147483648|-value),state[j]+=value,pos}function hasMoreVlq(mappings,i,length){return i>=length?!1:mappings.charCodeAt(i)!==comma}function sort(line){line.sort(sortComparator)}function sortComparator(a,b){return a[0]-b[0]}function encode(decoded){const state=new Int32Array(5),bufLength=1024*16,subLength=bufLength-36,buf=new Uint8Array(bufLength),sub=buf.subarray(0,subLength);let pos=0,out="";for(let i=0;i<decoded.length;i++){const line=decoded[i];if(i>0&&(pos===bufLength&&(out+=td.decode(buf),pos=0),buf[pos++]=semicolon),line.length!==0){state[0]=0;for(let j=0;j<line.length;j++){const segment=line[j];pos>subLength&&(out+=td.decode(sub),buf.copyWithin(0,subLength,pos),pos-=subLength),j>0&&(buf[pos++]=comma),pos=encodeInteger(buf,pos,state,segment,0),segment.length!==1&&(pos=encodeInteger(buf,pos,state,segment,1),pos=encodeInteger(buf,pos,state,segment,2),pos=encodeInteger(buf,pos,state,segment,3),segment.length!==4&&(pos=encodeInteger(buf,pos,state,segment,4)))}}}return out+td.decode(buf.subarray(0,pos))}function encodeInteger(buf,pos,state,segment,j){const next=segment[j];let num=next-state[j];state[j]=next,num=num<0?-num<<1|1:num<<1;do{let clamped=num&31;num>>>=5,num>0&&(clamped|=32),buf[pos++]=intToChar[clamped]}while(num>0);return pos}exports2.decode=decode,exports2.encode=encode,Object.defineProperty(exports2,"__esModule",{value:!0})})},83446:function(__unused_webpack_module,exports,__webpack_require__){(function(global2,factory){factory(exports,__webpack_require__(92297),__webpack_require__(48435))})(this,function(exports2,sourcemapCodec,resolveUri){"use strict";function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var resolveUri__default=_interopDefaultLegacy(resolveUri);function resolve(input,base){return base&&!base.endsWith("/")&&(base+="/"),resolveUri__default.default(input,base)}function stripFilename(path){if(!path)return"";const index=path.lastIndexOf("/");return path.slice(0,index+1)}const COLUMN=0,SOURCES_INDEX=1,SOURCE_LINE=2,SOURCE_COLUMN=3,NAMES_INDEX=4,REV_GENERATED_LINE=1,REV_GENERATED_COLUMN=2;function maybeSort(mappings,owned){const unsortedIndex=nextUnsortedSegmentLine(mappings,0);if(unsortedIndex===mappings.length)return mappings;owned||(mappings=mappings.slice());for(let i=unsortedIndex;i<mappings.length;i=nextUnsortedSegmentLine(mappings,i+1))mappings[i]=sortSegments(mappings[i],owned);return mappings}function nextUnsortedSegmentLine(mappings,start){for(let i=start;i<mappings.length;i++)if(!isSorted(mappings[i]))return i;return mappings.length}function isSorted(line){for(let j=1;j<line.length;j++)if(line[j][COLUMN]<line[j-1][COLUMN])return!1;return!0}function sortSegments(line,owned){return owned||(line=line.slice()),line.sort(sortComparator)}function sortComparator(a,b){return a[COLUMN]-b[COLUMN]}let found=!1;function binarySearch(haystack,needle,low,high){for(;low<=high;){const mid=low+(high-low>>1),cmp=haystack[mid][COLUMN]-needle;if(cmp===0)return found=!0,mid;cmp<0?low=mid+1:high=mid-1}return found=!1,low-1}function upperBound(haystack,needle,index){for(let i=index+1;i<haystack.length&&haystack[i][COLUMN]===needle;index=i++);return index}function lowerBound(haystack,needle,index){for(let i=index-1;i>=0&&haystack[i][COLUMN]===needle;index=i--);return index}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(haystack,needle,state,key){const{lastKey,lastNeedle,lastIndex}=state;let low=0,high=haystack.length-1;if(key===lastKey){if(needle===lastNeedle)return found=lastIndex!==-1&&haystack[lastIndex][COLUMN]===needle,lastIndex;needle>=lastNeedle?low=lastIndex===-1?0:lastIndex:high=lastIndex}return state.lastKey=key,state.lastNeedle=needle,state.lastIndex=binarySearch(haystack,needle,low,high)}function buildBySources(decoded,memos){const sources=memos.map(buildNullArray);for(let i=0;i<decoded.length;i++){const line=decoded[i];for(let j=0;j<line.length;j++){const seg=line[j];if(seg.length===1)continue;const sourceIndex=seg[SOURCES_INDEX],sourceLine=seg[SOURCE_LINE],sourceColumn=seg[SOURCE_COLUMN],originalSource=sources[sourceIndex],originalLine=originalSource[sourceLine]||(originalSource[sourceLine]=[]),memo=memos[sourceIndex],index=upperBound(originalLine,sourceColumn,memoizedBinarySearch(originalLine,sourceColumn,memo,sourceLine));insert(originalLine,memo.lastIndex=index+1,[sourceColumn,i,seg[COLUMN]])}}return sources}function insert(array,index,value){for(let i=array.length;i>index;i--)array[i]=array[i-1];array[index]=value}function buildNullArray(){return{__proto__:null}}const AnyMap=function(map,mapUrl){const parsed=typeof map=="string"?JSON.parse(map):map;if(!("sections"in parsed))return new TraceMap(parsed,mapUrl);const mappings=[],sources=[],sourcesContent=[],names=[];recurse(parsed,mapUrl,mappings,sources,sourcesContent,names,0,0,1/0,1/0);const joined={version:3,file:parsed.file,names,sources,sourcesContent,mappings};return exports2.presortedDecodedMap(joined)};function recurse(input,mapUrl,mappings,sources,sourcesContent,names,lineOffset,columnOffset,stopLine,stopColumn){const{sections}=input;for(let i=0;i<sections.length;i++){const{map,offset}=sections[i];let sl=stopLine,sc=stopColumn;if(i+1<sections.length){const nextOffset=sections[i+1].offset;sl=Math.min(stopLine,lineOffset+nextOffset.line),sl===stopLine?sc=Math.min(stopColumn,columnOffset+nextOffset.column):sl<stopLine&&(sc=columnOffset+nextOffset.column)}addSection(map,mapUrl,mappings,sources,sourcesContent,names,lineOffset+offset.line,columnOffset+offset.column,sl,sc)}}function addSection(input,mapUrl,mappings,sources,sourcesContent,names,lineOffset,columnOffset,stopLine,stopColumn){if("sections"in input)return recurse(...arguments);const map=new TraceMap(input,mapUrl),sourcesOffset=sources.length,namesOffset=names.length,decoded=exports2.decodedMappings(map),{resolvedSources,sourcesContent:contents}=map;if(append(sources,resolvedSources),append(names,map.names),contents)append(sourcesContent,contents);else for(let i=0;i<resolvedSources.length;i++)sourcesContent.push(null);for(let i=0;i<decoded.length;i++){const lineI=lineOffset+i;if(lineI>stopLine)return;const out=getLine(mappings,lineI),cOffset=i===0?columnOffset:0,line=decoded[i];for(let j=0;j<line.length;j++){const seg=line[j],column=cOffset+seg[COLUMN];if(lineI===stopLine&&column>=stopColumn)return;if(seg.length===1){out.push([column]);continue}const sourcesIndex=sourcesOffset+seg[SOURCES_INDEX],sourceLine=seg[SOURCE_LINE],sourceColumn=seg[SOURCE_COLUMN];out.push(seg.length===4?[column,sourcesIndex,sourceLine,sourceColumn]:[column,sourcesIndex,sourceLine,sourceColumn,namesOffset+seg[NAMES_INDEX]])}}}function append(arr,other){for(let i=0;i<other.length;i++)arr.push(other[i])}function getLine(arr,index){for(let i=arr.length;i<=index;i++)arr[i]=[];return arr[index]}const LINE_GTR_ZERO="`line` must be greater than 0 (lines start at line 1)",COL_GTR_EQ_ZERO="`column` must be greater than or equal to 0 (columns start at column 0)",LEAST_UPPER_BOUND=-1,GREATEST_LOWER_BOUND=1;exports2.encodedMappings=void 0,exports2.decodedMappings=void 0,exports2.traceSegment=void 0,exports2.originalPositionFor=void 0,exports2.generatedPositionFor=void 0,exports2.allGeneratedPositionsFor=void 0,exports2.eachMapping=void 0,exports2.sourceContentFor=void 0,exports2.presortedDecodedMap=void 0,exports2.decodedMap=void 0,exports2.encodedMap=void 0;class TraceMap{constructor(map,mapUrl){const isString=typeof map=="string";if(!isString&&map._decodedMemo)return map;const parsed=isString?JSON.parse(map):map,{version,file,names,sourceRoot,sources,sourcesContent}=parsed;this.version=version,this.file=file,this.names=names,this.sourceRoot=sourceRoot,this.sources=sources,this.sourcesContent=sourcesContent;const from=resolve(sourceRoot||"",stripFilename(mapUrl));this.resolvedSources=sources.map(s=>resolve(s||"",from));const{mappings}=parsed;typeof mappings=="string"?(this._encoded=mappings,this._decoded=void 0):(this._encoded=void 0,this._decoded=maybeSort(mappings,isString)),this._decodedMemo=memoizedState(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{exports2.encodedMappings=map=>{var _a;return(_a=map._encoded)!==null&&_a!==void 0?_a:map._encoded=sourcemapCodec.encode(map._decoded)},exports2.decodedMappings=map=>map._decoded||(map._decoded=sourcemapCodec.decode(map._encoded)),exports2.traceSegment=(map,line,column)=>{const decoded=exports2.decodedMappings(map);if(line>=decoded.length)return null;const segments=decoded[line],index=traceSegmentInternal(segments,map._decodedMemo,line,column,GREATEST_LOWER_BOUND);return index===-1?null:segments[index]},exports2.originalPositionFor=(map,{line,column,bias})=>{if(line--,line<0)throw new Error(LINE_GTR_ZERO);if(column<0)throw new Error(COL_GTR_EQ_ZERO);const decoded=exports2.decodedMappings(map);if(line>=decoded.length)return OMapping(null,null,null,null);const segments=decoded[line],index=traceSegmentInternal(segments,map._decodedMemo,line,column,bias||GREATEST_LOWER_BOUND);if(index===-1)return OMapping(null,null,null,null);const segment=segments[index];if(segment.length===1)return OMapping(null,null,null,null);const{names,resolvedSources}=map;return OMapping(resolvedSources[segment[SOURCES_INDEX]],segment[SOURCE_LINE]+1,segment[SOURCE_COLUMN],segment.length===5?names[segment[NAMES_INDEX]]:null)},exports2.allGeneratedPositionsFor=(map,{source,line,column,bias})=>generatedPosition(map,source,line,column,bias||LEAST_UPPER_BOUND,!0),exports2.generatedPositionFor=(map,{source,line,column,bias})=>generatedPosition(map,source,line,column,bias||GREATEST_LOWER_BOUND,!1),exports2.eachMapping=(map,cb)=>{const decoded=exports2.decodedMappings(map),{names,resolvedSources}=map;for(let i=0;i<decoded.length;i++){const line=decoded[i];for(let j=0;j<line.length;j++){const seg=line[j],generatedLine=i+1,generatedColumn=seg[0];let source=null,originalLine=null,originalColumn=null,name=null;seg.length!==1&&(source=resolvedSources[seg[1]],originalLine=seg[2]+1,originalColumn=seg[3]),seg.length===5&&(name=names[seg[4]]),cb({generatedLine,generatedColumn,source,originalLine,originalColumn,name})}}},exports2.sourceContentFor=(map,source)=>{const{sources,resolvedSources,sourcesContent}=map;if(sourcesContent==null)return null;let index=sources.indexOf(source);return index===-1&&(index=resolvedSources.indexOf(source)),index===-1?null:sourcesContent[index]},exports2.presortedDecodedMap=(map,mapUrl)=>{const tracer=new TraceMap(clone(map,[]),mapUrl);return tracer._decoded=map.mappings,tracer},exports2.decodedMap=map=>clone(map,exports2.decodedMappings(map)),exports2.encodedMap=map=>clone(map,exports2.encodedMappings(map));function generatedPosition(map,source,line,column,bias,all){if(line--,line<0)throw new Error(LINE_GTR_ZERO);if(column<0)throw new Error(COL_GTR_EQ_ZERO);const{sources,resolvedSources}=map;let sourceIndex=sources.indexOf(source);if(sourceIndex===-1&&(sourceIndex=resolvedSources.indexOf(source)),sourceIndex===-1)return all?[]:GMapping(null,null);const segments=(map._bySources||(map._bySources=buildBySources(exports2.decodedMappings(map),map._bySourceMemos=sources.map(memoizedState))))[sourceIndex][line];if(segments==null)return all?[]:GMapping(null,null);const memo=map._bySourceMemos[sourceIndex];if(all)return sliceGeneratedPositions(segments,memo,line,column,bias);const index=traceSegmentInternal(segments,memo,line,column,bias);if(index===-1)return GMapping(null,null);const segment=segments[index];return GMapping(segment[REV_GENERATED_LINE]+1,segment[REV_GENERATED_COLUMN])}})();function clone(map,mappings){return{version:map.version,file:map.file,names:map.names,sourceRoot:map.sourceRoot,sources:map.sources,sourcesContent:map.sourcesContent,mappings}}function OMapping(source,line,column,name){return{source,line,column,name}}function GMapping(line,column){return{line,column}}function traceSegmentInternal(segments,memo,line,column,bias){let index=memoizedBinarySearch(segments,column,memo,line);return found?index=(bias===LEAST_UPPER_BOUND?upperBound:lowerBound)(segments,column,index):bias===LEAST_UPPER_BOUND&&index++,index===-1||index===segments.length?-1:index}function sliceGeneratedPositions(segments,memo,line,column,bias){let min=traceSegmentInternal(segments,memo,line,column,GREATEST_LOWER_BOUND);if(!found&&bias===LEAST_UPPER_BOUND&&min++,min===-1||min===segments.length)return[];const matchedColumn=found?column:segments[min][COLUMN];found||(min=lowerBound(segments,matchedColumn,min));const max=upperBound(segments,matchedColumn,min),result=[];for(;min<=max;min++){const segment=segments[min];result.push(GMapping(segment[REV_GENERATED_LINE]+1,segment[REV_GENERATED_COLUMN]))}return result}exports2.AnyMap=AnyMap,exports2.GREATEST_LOWER_BOUND=GREATEST_LOWER_BOUND,exports2.LEAST_UPPER_BOUND=LEAST_UPPER_BOUND,exports2.TraceMap=TraceMap,Object.defineProperty(exports2,"__esModule",{value:!0})})},79744:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(59394))},40461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0});var node_fs_1=__webpack_require__(98554);exports.NodeFS=node_fs_1.NodeFS,__export(__webpack_require__(90786))},98554:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const path_1=__webpack_require__(26470),fs_1=__importDefault(__webpack_require__(591)),promises_1=__importDefault(__webpack_require__(90786));class NodeFS{constructor(workingDir){this.workingDir=workingDir,this.promises=new promises_1.default}getPath(path){return path_1.join(this.workingDir,path)}access(path,mode,callback){fs_1.default.access(this.getPath(path),mode,callback)}accessSync(path,mode){fs_1.default.accessSync(this.getPath(path),mode)}appendFile(file,data,options,callback){fs_1.default.appendFile(this.getPath(file),data,options)}appendFileSync(file,data,options){fs_1.default.appendFileSync(this.getPath(file),data,options)}chmod(path,mode,callback){fs_1.default.chmod(this.getPath(path),mode,callback)}chmodSync(path,mode){fs_1.default.chmodSync(this.getPath(path),mode)}chown(path,uid,gid,callback){fs_1.default.chown(this.getPath(path),uid,gid,callback)}chownSync(path,uid,gid){fs_1.default.chownSync(this.getPath(path),uid,gid)}close(fd,callback){fs_1.default.close(fd,callback)}closeSync(fd){fs_1.default.closeSync(fd)}copyFile(src,dest,callback){fs_1.default.copyFile(src,dest,callback)}copyFileSync(src,dest,flags){fs_1.default.copyFileSync(src,dest,flags)}createReadStream(path,options){return fs_1.default.createReadStream(this.getPath(path),options)}createWriteStream(path,options){return fs_1.default.createWriteStream(this.getPath(path),options)}exists(path,callback){fs_1.default.exists(this.getPath(path),callback)}existsSync(path){return fs_1.default.existsSync(this.getPath(path))}fchmod(fd,mode,callback){fs_1.default.fchmod(fd,mode,callback)}fchmodSync(fd,mode){fs_1.default.fchmodSync(fd,mode)}fchown(fd,uid,gid,callback){fs_1.default.fchown(fd,uid,gid,callback)}fchownSync(fd,uid,gid){fs_1.default.fchownSync(fd,uid,gid)}fdatasync(fd,callback){fs_1.default.fdatasync(fd,callback)}fdatasyncSync(fd){fs_1.default.fdatasyncSync(fd)}fstat(fd,callback){fs_1.default.fstat(fd,callback)}fstatSync(fd){return fs_1.default.fstatSync(fd)}fsync(fd,callback){fs_1.default.fsync(fd,callback)}fsyncSync(fd){fs_1.default.fsyncSync(fd)}ftruncate(fd,len,callback){fs_1.default.ftruncate(fd,len,callback)}ftruncateSync(fd,len){fs_1.default.ftruncateSync(fd,len)}futimes(fd,atime,mtime,callback){fs_1.default.futimes(fd,atime,mtime,callback)}futimesSync(fd,atime,mtime){fs_1.default.futimesSync(fd,atime,mtime)}lchmod(path,mode,callback){fs_1.default.lchmod(this.getPath(path),mode,callback)}lchmodSync(path,mode){fs_1.default.lchmodSync(this.getPath(path),mode)}lchown(path,uid,gid,callback){fs_1.default.lchown(this.getPath(path),uid,gid,callback)}lchownSync(path,uid,gid){fs_1.default.lchownSync(this.getPath(path),uid,gid)}link(existingPath,newPath,callback){fs_1.default.link(existingPath,newPath,callback)}linkSync(existingPath,newPath){fs_1.default.linkSync(existingPath,newPath)}lstat(path,callback){fs_1.default.lstat(this.getPath(path),callback)}lstatSync(path){return fs_1.default.lstatSync(path)}mkdir(path,options,callback){fs_1.default.mkdir(this.getPath(path),options,callback)}mkdirSync(path,options){fs_1.default.mkdirSync(this.getPath(path),options)}mkdtemp(prefix,options,callback){fs_1.default.mkdtemp(prefix,options,callback)}mkdtempSync(prefix,options){return fs_1.default.mkdtempSync(prefix,options)}open(path,flags,mode,callback){fs_1.default.open(this.getPath(path),flags,mode,callback)}openSync(path,flags,mode){return fs_1.default.openSync(this.getPath(path),flags,mode)}read(fd,buffer,offset,length,position,callback){fs_1.default.read(fd,buffer,offset,length,position,callback)}readFile(path,options,callback){}readFileSync(path,options){return fs_1.default.readFileSync(this.getPath(path))}readSync(fd,buffer,offset,length,position){return fs_1.default.readSync(fd,buffer,offset,length,position)}readdir(path,options,callback){fs_1.default.readdir(this.getPath(path),options,callback)}readdirSync(path,options){return fs_1.default.readdirSync(this.getPath(path),options)}readlink(path,options,callback){fs_1.default.readlink(this.getPath(path),options,callback)}readlinkSync(path,options){return fs_1.default.readlinkSync(this.getPath(path),options)}realpath(path,options,callback){fs_1.default.realpath(this.getPath(path),options,callback)}realpathSync(path,options){return fs_1.default.realpathSync(this.getPath(path),options)}rename(oldPath,newPath,callback){fs_1.default.rename(oldPath,newPath,callback)}renameSync(oldPath,newPath){fs_1.default.renameSync(oldPath,newPath)}rmdir(path,callback){fs_1.default.rmdir(this.getPath(path),callback)}rmdirSync(path){fs_1.default.rmdirSync(this.getPath(path))}stat(path,callback){fs_1.default.stat(this.getPath(path),callback)}statSync(path){return fs_1.default.statSync(path)}symlink(target,path,type,callback){fs_1.default.symlink(target,this.getPath(path),type,callback)}symlinkSync(target,path,type){fs_1.default.symlinkSync(target,this.getPath(path),type)}truncate(path,len,callback){fs_1.default.truncate(this.getPath(path),len,callback)}truncateSync(path,len){fs_1.default.truncateSync(this.getPath(path),len)}unlink(path,callback){fs_1.default.unlink(this.getPath(path),callback)}unlinkSync(path){fs_1.default.unlinkSync(this.getPath(path))}unwatchFile(filename,listener){fs_1.default.unwatchFile(filename,listener)}utimes(path,atime,mtime,callback){fs_1.default.utimes(this.getPath(path),atime,mtime,callback)}utimesSync(path,atime,mtime){fs_1.default.utimesSync(this.getPath(path),atime,mtime)}watch(filename,options,listener){return fs_1.default.watch(filename,options,listener)}watchFile(filename,options,listener){fs_1.default.watchFile(filename,options,listener)}writeFile(path,data,options,callback){fs_1.default.writeFile(this.getPath(path),data,options)}writeFileSync(path,data,options){fs_1.default.writeFileSync(this.getPath(path),data,options)}writeSync(fd,buffer,offset,length,position){return fs_1.default.writeSync(fd,buffer,offset,length,position)}write(fd,buffer,offset,length,position,callback){this.write(fd,buffer,offset,length,position,callback)}}exports.NodeFS=NodeFS},90786:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const fs_1=__importDefault(__webpack_require__(591));class FsPromisesAPI{access(path,mode){return fs_1.default.promises.access(path,mode)}appendFile(path,data,options){return fs_1.default.promises.appendFile(path,data)}chmod(path,mode){return fs_1.default.promises.chmod(path,mode)}chown(path,uid,gid){return fs_1.default.promises.chown(path,uid,gid)}copyFile(src,dest,flags){return fs_1.default.promises.copyFile(src,dest,flags)}fchmod(handle,mode){return fs_1.default.promises.fchmod(handle,mode)}fchown(handle,uid,gid){return fs_1.default.promises.fchown(handle,uid,gid)}fdatasync(handle){return fs_1.default.promises.fdatasync(handle)}fstat(handle){return fs_1.default.promises.fstat(handle)}fsync(handle){return fs_1.default.promises.fsync(handle)}ftruncate(handle,len){return fs_1.default.promises.ftruncate(handle,len)}futimes(handle,atime,mtime){return fs_1.default.promises.futimes(handle,atime,mtime)}lchmod(path,mode){return fs_1.default.promises.lchmod(path,mode)}lchown(path,uid,gid){return fs_1.default.promises.lchown(path,uid,gid)}link(existingPath,newPath){return fs_1.default.promises.link(existingPath,newPath)}lstat(path){return fs_1.default.promises.lstat(path)}mkdir(path,options){return fs_1.default.promises.mkdir(path,options)}mkdtemp(prefix,options){return fs_1.default.promises.mkdtemp(prefix,options)}open(path,flags,mode){return fs_1.default.promises.open(path,flags,mode)}read(handle,buffer,offset,length,position){return fs_1.default.promises.read(handle,buffer,offset,length,position)}readFile(path,options){return fs_1.default.promises.readFile(path,options)}readdir(path,options){return fs_1.default.promises.readdir(path,options)}readlink(path,options){return fs_1.default.promises.readlink(path,options)}realpath(path,options){return fs_1.default.promises.realpath(path,options)}rename(oldPath,newPath){return fs_1.default.promises.rename(oldPath,newPath)}rmdir(path){return fs_1.default.promises.rmdir(path)}stat(path){return fs_1.default.promises.stat(path)}symlink(target,path,type){return fs_1.default.promises.symlink(target,path,type)}truncate(path,len){return fs_1.default.promises.truncate(path,len)}unlink(path){return fs_1.default.promises.unlink(path)}utimes(path,atime,mtime){return fs_1.default.promises.utimes(path,atime,mtime)}write(handle,buffer,offset,length,position){fs_1.default.promises.write(handle,buffer,offset,length)}writeFile(path,data,options){return fs_1.default.promises.writeFile(path,data,options)}}exports.default=FsPromisesAPI},59394:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(40461)),__export(__webpack_require__(48682))},48682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(95590))},95590:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const memfs_1=__webpack_require__(66612);class MemoryFS{constructor(){this.volume=new memfs_1.Volume,this.promises=this.volume.promises}access(path,mode,callback){this.volume.access(path,mode,callback)}accessSync(path,mode){this.volume.accessSync(path,mode)}appendFile(file,data,options,callback){this.volume.appendFile(file,data,options)}mkdirpSync(path){this.volume.mkdirpSync(path)}appendFileSync(file,data,options){this.volume.appendFileSync(file,data,options)}chmod(path,mode,callback){this.volume.chmod(path,mode,callback)}chmodSync(path,mode){this.volume.chmodSync(path,mode)}chown(path,uid,gid,callback){this.volume.chown(path,uid,gid,callback)}chownSync(path,uid,gid){this.volume.chownSync(path,uid,gid)}close(fd,callback){this.volume.close(fd,callback)}closeSync(fd){this.volume.closeSync(fd)}copyFile(src,dest,callback){this.volume.copyFile(src,dest,callback)}copyFileSync(src,dest,flags){this.volume.copyFileSync(src,dest,flags)}createReadStream(path,options){return this.volume.createReadStream(path,options)}createWriteStream(path,options){return this.volume.createWriteStream(path,options)}exists(path,callback){this.volume.exists(path,callback)}existsSync(path){return!1}fchmod(fd,mode,callback){this.volume.fchmod(fd,mode,callback)}fchmodSync(fd,mode){this.volume.fchmodSync(fd,mode)}fchown(fd,uid,gid,callback){this.volume.fchown(fd,uid,gid,callback)}fchownSync(fd,uid,gid){this.volume.fchownSync(fd,uid,gid)}fdatasync(fd,callback){this.volume.fdatasync(fd,callback)}fdatasyncSync(fd){this.volume.fdatasyncSync(fd)}fstat(fd,callback){this.volume.fstat(fd,callback)}fstatSync(fd){return this.volume.fstatSync(fd)}fsync(fd,callback){this.volume.fsync(fd,callback)}fsyncSync(fd){this.volume.fsyncSync(fd)}ftruncate(fd,len,callback){this.volume.ftruncate(fd,len,callback)}ftruncateSync(fd,len){this.volume.ftruncateSync(fd,len)}futimes(fd,atime,mtime,callback){this.volume.futimes(fd,atime,mtime,callback)}futimesSync(fd,atime,mtime){this.volume.futimesSync(fd,atime,mtime)}lchmod(path,mode,callback){this.volume.lchmod(path,mode,callback)}lchmodSync(path,mode){this.volume.lchmodSync(path,mode)}lchown(path,uid,gid,callback){this.volume.lchown(path,uid,gid,callback)}lchownSync(path,uid,gid){this.volume.lchownSync(path,uid,gid)}link(existingPath,newPath,callback){this.volume.link(existingPath,newPath,callback)}linkSync(existingPath,newPath){this.volume.linkSync(existingPath,newPath)}lstat(path,callback){this.volume.lstat(path,callback)}lstatSync(path){return this.volume.lstatSync(path)}mkdir(path,options,callback){this.volume.mkdir(path,options,callback)}mkdirSync(path,options){this.volume.mkdirSync(path,options)}mkdtemp(prefix,options,callback){this.volume.mkdtemp(prefix,options,callback)}mkdtempSync(prefix,options){return this.volume.mkdtempSync(prefix,options)}open(path,flags,mode,callback){this.volume.open(path,flags,mode,callback)}openSync(path,flags,mode){return this.volume.openSync(path,flags,mode)}read(fd,buffer,offset,length,position,callback){this.volume.read(fd,buffer,offset,length,position,callback)}readFile(path,options,callback){}readFileSync(path,options){return this.volume.readFileSync(path)}readSync(fd,buffer,offset,length,position){return this.volume.readSync(fd,buffer,offset,length,position)}readdir(path,options,callback){this.volume.readdir(path,options,callback)}readdirSync(path,options){return this.volume.readdirSync(path,options)}readlink(path,options,callback){this.volume.readlink(path,options,callback)}readlinkSync(path,options){return this.volume.readlinkSync(path,options)}realpath(path,options,callback){this.volume.realpath(path,options,callback)}realpathSync(path,options){return this.volume.realpathSync(path,options)}rename(oldPath,newPath,callback){this.volume.rename(oldPath,newPath,callback)}renameSync(oldPath,newPath){this.volume.renameSync(oldPath,newPath)}rmdir(path,callback){this.volume.rmdir(path,callback)}rmdirSync(path){this.volume.rmdirSync(path)}stat(path,callback){this.volume.stat(path,callback)}statSync(path){return this.volume.statSync(path)}symlink(target,path,type,callback){this.volume.symlink(target,path,type,callback)}symlinkSync(target,path,type){this.volume.symlinkSync(target,path,type)}truncate(path,len,callback){this.volume.truncate(path,len,callback)}truncateSync(path,len){this.volume.truncateSync(path,len)}unlink(path,callback){this.volume.unlink(path,callback)}unlinkSync(path){this.volume.unlinkSync(path)}unwatchFile(filename,listener){this.volume.unwatchFile(filename,listener)}utimes(path,atime,mtime,callback){this.volume.utimes(path,atime,mtime,callback)}utimesSync(path,atime,mtime){this.volume.utimesSync(path,atime,mtime)}watch(filename,options,listener){return this.volume.watch(filename,options,listener)}watchFile(filename,options,listener){this.volume.watchFile(filename,options,listener)}writeFile(path,data,options,callback){this.volume.writeFile(path,data,options)}writeFileSync(path,data,options){this.volume.writeFileSync(path,data,options)}writeSync(fd,buffer,offset,length,position){return this.volume.writeSync(fd,buffer,offset,length,position)}write(fd,buffer,offset,length,position,callback){this.write(fd,buffer,offset,length,position,callback)}}exports.MemoryFS=MemoryFS},79129:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__,process=__webpack_require__(34155);__webpack_unused_export__={value:!0},exports.Z4=unixify,__webpack_unused_export__=correctPath;var isWin=process.platform==="win32";function removeTrailingSeparator(str){var i=str.length-1;if(i<2)return str;for(;isSeparator(str,i);)i--;return str.substr(0,i+1)}function isSeparator(str,i){var char=str[i];return i>0&&(char==="/"||isWin&&char==="\\")}function normalizePath(str,stripTrailing){if(typeof str!="string")throw new TypeError("expected a string");return str=str.replace(/[\\\/]+/g,"/"),stripTrailing!==!1&&(str=removeTrailingSeparator(str)),str}function unixify(filepath){var stripTrailing=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return isWin?(filepath=normalizePath(filepath,stripTrailing),filepath.replace(/^([a-zA-Z]+:|\.\/)/,"")):filepath}function correctPath(filepath){return unixify(filepath.replace(/^\\\\\?\\.:\\/,"\\"))}},97122:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var fsProps=exports.fsProps=["constants","F_OK","R_OK","W_OK","X_OK","Stats"],fsSyncMethods=exports.fsSyncMethods=["renameSync","ftruncateSync","truncateSync","chownSync","fchownSync","lchownSync","chmodSync","fchmodSync","lchmodSync","statSync","lstatSync","fstatSync","linkSync","symlinkSync","readlinkSync","realpathSync","unlinkSync","rmdirSync","mkdirSync","mkdirpSync","readdirSync","closeSync","openSync","utimesSync","futimesSync","fsyncSync","writeSync","readSync","readFileSync","writeFileSync","appendFileSync","existsSync","accessSync","fdatasyncSync","mkdtempSync","copyFileSync","createReadStream","createWriteStream"],fsAsyncMethods=exports.fsAsyncMethods=["rename","ftruncate","truncate","chown","fchown","lchown","chmod","fchmod","lchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","mkdirp","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","exists","access","fdatasync","mkdtemp","copyFile","watchFile","unwatchFile","watch"]},62456:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(92299),encoding_1=__webpack_require__(5866),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Dirent=function(){function Dirent2(){this.name="",this.mode=0}return Dirent2.build=function(link,encoding){var dirent=new Dirent2,mode=link.getNode().mode;return dirent.name=encoding_1.strToEncoding(link.getName(),encoding),dirent.mode=mode,dirent},Dirent2.prototype._checkModeProperty=function(property){return(this.mode&S_IFMT)===property},Dirent2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Dirent2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Dirent2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Dirent2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Dirent2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Dirent2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Dirent2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Dirent2}();exports.Dirent=Dirent,exports.default=Dirent},22282:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(92299),getBigInt_1=__webpack_require__(65019),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Stats=function(){function Stats2(){}return Stats2.build=function(node,bigint){bigint===void 0&&(bigint=!1);var stats=new Stats2,uid=node.uid,gid=node.gid,atime=node.atime,mtime=node.mtime,ctime=node.ctime,getStatNumber=bigint?getBigInt_1.default:function(number){return number};stats.uid=getStatNumber(uid),stats.gid=getStatNumber(gid),stats.rdev=getStatNumber(0),stats.blksize=getStatNumber(4096),stats.ino=getStatNumber(node.ino),stats.size=getStatNumber(node.getSize()),stats.blocks=getStatNumber(1),stats.atime=atime,stats.mtime=mtime,stats.ctime=ctime,stats.birthtime=ctime,stats.atimeMs=getStatNumber(atime.getTime()),stats.mtimeMs=getStatNumber(mtime.getTime());var ctimeMs=getStatNumber(ctime.getTime());return stats.ctimeMs=ctimeMs,stats.birthtimeMs=ctimeMs,stats.dev=getStatNumber(0),stats.mode=getStatNumber(node.mode),stats.nlink=getStatNumber(node.nlink),stats},Stats2.prototype._checkModeProperty=function(property){return(Number(this.mode)&S_IFMT)===property},Stats2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Stats2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Stats2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Stats2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Stats2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Stats2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Stats2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Stats2}();exports.Stats=Stats,exports.default=Stats},92299:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}},5866:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(562),errors=__webpack_require__(12913);exports.ENCODING_UTF8="utf8";function assertEncoding(encoding){if(encoding&&!buffer_1.Buffer.isEncoding(encoding))throw new errors.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",encoding)}exports.assertEncoding=assertEncoding;function strToEncoding(str,encoding){return!encoding||encoding===exports.ENCODING_UTF8?str:encoding==="buffer"?new buffer_1.Buffer(str):new buffer_1.Buffer(str).toString(encoding)}exports.strToEncoding=strToEncoding},65019:(__unused_webpack_module,exports)=>{typeof BigInt=="function"?exports.default=BigInt:exports.default=function(){throw new Error("BigInt is not supported in this environment.")}},66612:function(module,exports,__webpack_require__){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)};Object.defineProperty(exports,"__esModule",{value:!0});var Stats_1=__webpack_require__(22282),Dirent_1=__webpack_require__(62456),volume_1=__webpack_require__(64129),_a=__webpack_require__(97122),fsSyncMethods=_a.fsSyncMethods,fsAsyncMethods=_a.fsAsyncMethods,constants_1=__webpack_require__(92299),F_OK=constants_1.constants.F_OK,R_OK=constants_1.constants.R_OK,W_OK=constants_1.constants.W_OK,X_OK=constants_1.constants.X_OK;exports.Volume=volume_1.Volume,exports.vol=new volume_1.Volume;function createFsFromVolume(vol){for(var fs={F_OK,R_OK,W_OK,X_OK,constants:constants_1.constants,Stats:Stats_1.default,Dirent:Dirent_1.default},_i=0,fsSyncMethods_1=fsSyncMethods;_i<fsSyncMethods_1.length;_i++){var method=fsSyncMethods_1[_i];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}for(var _a2=0,fsAsyncMethods_1=fsAsyncMethods;_a2<fsAsyncMethods_1.length;_a2++){var method=fsAsyncMethods_1[_a2];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}return fs.StatWatcher=vol.StatWatcher,fs.FSWatcher=vol.FSWatcher,fs.WriteStream=vol.WriteStream,fs.ReadStream=vol.ReadStream,fs.promises=vol.promises,fs._toUnixTimestamp=volume_1.toUnixTimestamp,fs}exports.createFsFromVolume=createFsFromVolume,exports.fs=createFsFromVolume(exports.vol),module.exports=__assign(__assign({},module.exports),exports.fs),module.exports.semantic=!0},562:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(48764);exports.Buffer=buffer_1.Buffer;function bufferV0P12Ponyfill(arg0){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];return new(buffer_1.Buffer.bind.apply(buffer_1.Buffer,__spreadArrays([void 0,arg0],args)))}var bufferAllocUnsafe=buffer_1.Buffer.allocUnsafe||bufferV0P12Ponyfill;exports.bufferAllocUnsafe=bufferAllocUnsafe;var bufferFrom=buffer_1.Buffer.from||bufferV0P12Ponyfill;exports.bufferFrom=bufferFrom},12913:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var assert=__webpack_require__(69282),util=__webpack_require__(89539),kCode=typeof Symbol>"u"?"_kCode":Symbol("code"),messages={};function makeNodeError(Base){return function(_super){__extends(NodeError,_super);function NodeError(key){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];var _this=_super.call(this,message(key,args))||this;return _this.code=key,_this[kCode]=key,_this.name=_super.prototype.name+" ["+_this[kCode]+"]",_this}return NodeError}(Base)}var AssertionError=function(_super){__extends(AssertionError2,_super);function AssertionError2(options){var _this=this;if(typeof options!="object"||options===null)throw new exports.TypeError("ERR_INVALID_ARG_TYPE","options","object");return options.message?_this=_super.call(this,options.message)||this:_this=_super.call(this,util.inspect(options.actual).slice(0,128)+" "+(options.operator+" "+util.inspect(options.expected).slice(0,128)))||this,_this.generatedMessage=!options.message,_this.name="AssertionError [ERR_ASSERTION]",_this.code="ERR_ASSERTION",_this.actual=options.actual,_this.expected=options.expected,_this.operator=options.operator,exports.Error.captureStackTrace(_this,options.stackStartFunction),_this}return AssertionError2}(__webpack_require__.g.Error);exports.AssertionError=AssertionError;function message(key,args){assert.strictEqual(typeof key,"string");var msg=messages[key];assert(msg,"An invalid error message key was used: "+key+".");var fmt;if(typeof msg=="function")fmt=msg;else{if(fmt=util.format,args===void 0||args.length===0)return msg;args.unshift(msg)}return String(fmt.apply(null,args))}exports.message=message;function E(sym,val){messages[sym]=typeof val=="function"?val:String(val)}exports.E=E,exports.Error=makeNodeError(__webpack_require__.g.Error),exports.TypeError=makeNodeError(__webpack_require__.g.TypeError),exports.RangeError=makeNodeError(__webpack_require__.g.RangeError),E("ERR_ARG_NOT_ITERABLE","%s must be iterable"),E("ERR_ASSERTION","%s"),E("ERR_BUFFER_OUT_OF_BOUNDS",bufferOutOfBounds),E("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),E("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),E("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),E("ERR_DNS_SET_SERVERS_FAILED",function(err,servers){return'c-ares failed to set servers: "'+err+'" ['+servers+"]"}),E("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),E("ERR_ENCODING_NOT_SUPPORTED",function(enc){return'The "'+enc+'" encoding is not supported'}),E("ERR_ENCODING_INVALID_ENCODED_DATA",function(enc){return"The encoded data was not valid for encoding "+enc}),E("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),E("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),E("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),E("ERR_INDEX_OUT_OF_RANGE","Index out of range"),E("ERR_INVALID_ARG_TYPE",invalidArgType),E("ERR_INVALID_ARRAY_LENGTH",function(name,len,actual){return assert.strictEqual(typeof actual,"number"),'The array "'+name+'" (length '+actual+") must be of length "+len+"."}),E("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),E("ERR_INVALID_CALLBACK","Callback must be a function"),E("ERR_INVALID_CHAR","Invalid character in %s"),E("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),E("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),E("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),E("ERR_INVALID_FILE_URL_PATH","File URL path %s"),E("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),E("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),E("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+String(value)+'" is invalid for option "'+name+'"'}),E("ERR_INVALID_OPT_VALUE_ENCODING",function(value){return'The value "'+String(value)+'" is invalid for option "encoding"'}),E("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),E("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),E("ERR_INVALID_THIS",'Value of "this" must be of type %s'),E("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),E("ERR_INVALID_URL","Invalid URL: %s"),E("ERR_INVALID_URL_SCHEME",function(expected){return"The URL must be "+oneOf(expected,"scheme")}),E("ERR_IPC_CHANNEL_CLOSED","Channel closed"),E("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),E("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),E("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),E("ERR_MISSING_ARGS",missingArgs),E("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),E("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),E("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),E("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),E("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),E("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),E("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),E("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),E("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),E("ERR_SOCKET_CANNOT_SEND","Unable to send data"),E("ERR_SOCKET_CLOSED","Socket is closed"),E("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),E("ERR_STDERR_CLOSE","process.stderr cannot be closed"),E("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),E("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),E("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),E("ERR_TLS_DH_PARAM_SIZE",function(size){return"DH parameter size "+size+" is less than 2048"}),E("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),E("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),E("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),E("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),E("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),E("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),E("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),E("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),E("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),E("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl");function invalidArgType(name,expected,actual){assert(name,"name is required");var determiner;expected.includes("not ")?(determiner="must not be",expected=expected.split("not ")[1]):determiner="must be";var msg;if(Array.isArray(name)){var names=name.map(function(val){return'"'+val+'"'}).join(", ");msg="The "+names+" arguments "+determiner+" "+oneOf(expected,"type")}else if(name.includes(" argument"))msg="The "+name+" "+determiner+" "+oneOf(expected,"type");else{var type=name.includes(".")?"property":"argument";msg='The "'+name+'" '+type+" "+determiner+" "+oneOf(expected,"type")}return arguments.length>=3&&(msg+=". Received type "+(actual!==null?typeof actual:"null")),msg}function missingArgs(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map(function(a){return'"'+a+'"'}),len){case 1:msg+=args[0]+" argument";break;case 2:msg+=args[0]+" and "+args[1]+" arguments";break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and "+args[len-1]+" arguments";break}return msg+" must be specified"}function oneOf(expected,thing){if(assert(expected,"expected is required"),assert(typeof thing=="string","thing is required"),Array.isArray(expected)){var len=expected.length;return assert(len>0,"At least one expected value needs to be specified"),expected=expected.map(function(i){return String(i)}),len>2?"one of "+thing+" "+expected.slice(0,len-1).join(", ")+", or "+expected[len-1]:len===2?"one of "+thing+" "+expected[0]+" or "+expected[1]:"of "+thing+" "+expected[0]}else return"of "+thing+" "+String(expected)}function bufferOutOfBounds(name,isWriting){return isWriting?"Attempt to write outside buffer bounds":'"'+name+'" is outside of buffer bounds'}},83599:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var process_1=__webpack_require__(12305),buffer_1=__webpack_require__(562),constants_1=__webpack_require__(92299),events_1=__webpack_require__(17187),Stats_1=__webpack_require__(22282),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,O_APPEND=constants_1.constants.O_APPEND;exports.SEP="/";var Node2=function(_super){__extends(Node3,_super);function Node3(ino,perm){perm===void 0&&(perm=438);var _this=_super.call(this)||this;return _this.uid=process_1.default.getuid(),_this.gid=process_1.default.getgid(),_this.atime=new Date,_this.mtime=new Date,_this.ctime=new Date,_this.perm=438,_this.mode=S_IFREG,_this.nlink=1,_this.perm=perm,_this.mode|=perm,_this.ino=ino,_this}return Node3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.getBuffer().toString(encoding)},Node3.prototype.setString=function(str){this.buf=buffer_1.bufferFrom(str,"utf8"),this.touch()},Node3.prototype.getBuffer=function(){return this.buf||this.setBuffer(buffer_1.bufferAllocUnsafe(0)),buffer_1.bufferFrom(this.buf)},Node3.prototype.setBuffer=function(buf){this.buf=buffer_1.bufferFrom(buf),this.touch()},Node3.prototype.getSize=function(){return this.buf?this.buf.length:0},Node3.prototype.setModeProperty=function(property){this.mode=this.mode&~S_IFMT|property},Node3.prototype.setIsFile=function(){this.setModeProperty(S_IFREG)},Node3.prototype.setIsDirectory=function(){this.setModeProperty(S_IFDIR)},Node3.prototype.setIsSymlink=function(){this.setModeProperty(S_IFLNK)},Node3.prototype.isFile=function(){return(this.mode&S_IFMT)===S_IFREG},Node3.prototype.isDirectory=function(){return(this.mode&S_IFMT)===S_IFDIR},Node3.prototype.isSymlink=function(){return(this.mode&S_IFMT)===S_IFLNK},Node3.prototype.makeSymlink=function(steps){this.symlink=steps,this.setIsSymlink()},Node3.prototype.write=function(buf,off,len,pos){if(off===void 0&&(off=0),len===void 0&&(len=buf.length),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),pos+len>this.buf.length){var newBuf=buffer_1.bufferAllocUnsafe(pos+len);this.buf.copy(newBuf,0,0,this.buf.length),this.buf=newBuf}return buf.copy(this.buf,pos,off,off+len),this.touch(),len},Node3.prototype.read=function(buf,off,len,pos){off===void 0&&(off=0),len===void 0&&(len=buf.byteLength),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0));var actualLen=len;return actualLen>buf.byteLength&&(actualLen=buf.byteLength),actualLen+pos>this.buf.length&&(actualLen=this.buf.length-pos),this.buf.copy(buf,off,pos,pos+actualLen),actualLen},Node3.prototype.truncate=function(len){if(len===void 0&&(len=0),!len)this.buf=buffer_1.bufferAllocUnsafe(0);else if(this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),len<=this.buf.length)this.buf=this.buf.slice(0,len);else{var buf=buffer_1.bufferAllocUnsafe(0);this.buf.copy(buf),buf.fill(0,len)}this.touch()},Node3.prototype.chmod=function(perm){this.perm=perm,this.mode=this.mode&-512|perm,this.touch()},Node3.prototype.chown=function(uid,gid){this.uid=uid,this.gid=gid,this.touch()},Node3.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},Node3.prototype.canRead=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&4||gid===this.gid&&this.perm&32||uid===this.uid&&this.perm&256)},Node3.prototype.canWrite=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&2||gid===this.gid&&this.perm&16||uid===this.uid&&this.perm&128)},Node3.prototype.del=function(){this.emit("delete",this)},Node3.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},Node3}(events_1.EventEmitter);exports.Node=Node2;var Link=function(_super){__extends(Link2,_super);function Link2(vol,parent,name){var _this=_super.call(this)||this;return _this.children={},_this.steps=[],_this.ino=0,_this.length=0,_this.vol=vol,_this.parent=parent,_this.steps=parent?parent.steps.concat([name]):[name],_this}return Link2.prototype.setNode=function(node){this.node=node,this.ino=node.ino},Link2.prototype.getNode=function(){return this.node},Link2.prototype.createChild=function(name,node){node===void 0&&(node=this.vol.createNode());var link=new Link2(this.vol,this,name);return link.setNode(node),node.isDirectory(),this.setChild(name,link),link},Link2.prototype.setChild=function(name,link){return link===void 0&&(link=new Link2(this.vol,this,name)),this.children[name]=link,link.parent=this,this.length++,this.emit("child:add",link,this),link},Link2.prototype.deleteChild=function(link){delete this.children[link.getName()],this.length--,this.emit("child:delete",link,this)},Link2.prototype.getChild=function(name){if(Object.hasOwnProperty.call(this.children,name))return this.children[name]},Link2.prototype.getPath=function(){return this.steps.join(exports.SEP)},Link2.prototype.getName=function(){return this.steps[this.steps.length-1]},Link2.prototype.walk=function(steps,stop,i){if(stop===void 0&&(stop=steps.length),i===void 0&&(i=0),i>=steps.length)return this;if(i>=stop)return this;var step=steps[i],link=this.getChild(step);return link?link.walk(steps,stop,i+1):null},Link2.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},Link2}(events_1.EventEmitter);exports.Link=Link;var File2=function(){function File3(link,node,flags,fd){this.position=0,this.link=link,this.node=node,this.flags=flags,this.fd=fd}return File3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.node.getString()},File3.prototype.setString=function(str){this.node.setString(str)},File3.prototype.getBuffer=function(){return this.node.getBuffer()},File3.prototype.setBuffer=function(buf){this.node.setBuffer(buf)},File3.prototype.getSize=function(){return this.node.getSize()},File3.prototype.truncate=function(len){this.node.truncate(len)},File3.prototype.seekTo=function(position){this.position=position},File3.prototype.stats=function(){return Stats_1.default.build(this.node)},File3.prototype.write=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.length),typeof position!="number"&&(position=this.position),this.flags&O_APPEND&&(position=this.getSize());var bytes=this.node.write(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.read=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.byteLength),typeof position!="number"&&(position=this.position);var bytes=this.node.read(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.chmod=function(perm){this.node.chmod(perm)},File3.prototype.chown=function(uid,gid){this.node.chown(uid,gid)},File3}();exports.File=File2},12305:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(34155);Object.defineProperty(exports,"__esModule",{value:!0});var maybeReturnProcess=function(){if(typeof process<"u")return process;try{return __webpack_require__(34155)}catch{return}};function createProcess(){var p=maybeReturnProcess()||{};return p.getuid||(p.getuid=function(){return 0}),p.getgid||(p.getgid=function(){return 0}),p.cwd||(p.cwd=function(){return"/"}),p.nextTick||(p.nextTick=__webpack_require__(82164).default),p.emitWarning||(p.emitWarning=function(message,type){console.warn(""+type+(type?": ":"")+message)}),p.env||(p.env={}),p}exports.createProcess=createProcess,exports.default=createProcess()},96415:function(__unused_webpack_module,exports){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});function promisify(vol,fn,getResult){return getResult===void 0&&(getResult=function(input){return input}),function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return new Promise(function(resolve,reject){vol[fn].bind(vol).apply(void 0,__spreadArrays(args,[function(error,result){return error?reject(error):resolve(getResult(result))}]))})}}var FileHandle=function(){function FileHandle2(vol,fd){this.vol=vol,this.fd=fd}return FileHandle2.prototype.appendFile=function(data,options){return promisify(this.vol,"appendFile")(this.fd,data,options)},FileHandle2.prototype.chmod=function(mode){return promisify(this.vol,"fchmod")(this.fd,mode)},FileHandle2.prototype.chown=function(uid,gid){return promisify(this.vol,"fchown")(this.fd,uid,gid)},FileHandle2.prototype.close=function(){return promisify(this.vol,"close")(this.fd)},FileHandle2.prototype.datasync=function(){return promisify(this.vol,"fdatasync")(this.fd)},FileHandle2.prototype.read=function(buffer,offset,length,position){return promisify(this.vol,"read",function(bytesRead){return{bytesRead,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.readFile=function(options){return promisify(this.vol,"readFile")(this.fd,options)},FileHandle2.prototype.stat=function(options){return promisify(this.vol,"fstat")(this.fd,options)},FileHandle2.prototype.sync=function(){return promisify(this.vol,"fsync")(this.fd)},FileHandle2.prototype.truncate=function(len){return promisify(this.vol,"ftruncate")(this.fd,len)},FileHandle2.prototype.utimes=function(atime,mtime){return promisify(this.vol,"futimes")(this.fd,atime,mtime)},FileHandle2.prototype.write=function(buffer,offset,length,position){return promisify(this.vol,"write",function(bytesWritten){return{bytesWritten,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.writeFile=function(data,options){return promisify(this.vol,"writeFile")(this.fd,data,options)},FileHandle2}();exports.FileHandle=FileHandle;function createPromisesApi(vol){return typeof Promise>"u"?null:{FileHandle,access:function(path,mode){return promisify(vol,"access")(path,mode)},appendFile:function(path,data,options){return promisify(vol,"appendFile")(path instanceof FileHandle?path.fd:path,data,options)},chmod:function(path,mode){return promisify(vol,"chmod")(path,mode)},chown:function(path,uid,gid){return promisify(vol,"chown")(path,uid,gid)},copyFile:function(src,dest,flags){return promisify(vol,"copyFile")(src,dest,flags)},lchmod:function(path,mode){return promisify(vol,"lchmod")(path,mode)},lchown:function(path,uid,gid){return promisify(vol,"lchown")(path,uid,gid)},link:function(existingPath,newPath){return promisify(vol,"link")(existingPath,newPath)},lstat:function(path,options){return promisify(vol,"lstat")(path,options)},mkdir:function(path,options){return promisify(vol,"mkdir")(path,options)},mkdtemp:function(prefix,options){return promisify(vol,"mkdtemp")(prefix,options)},open:function(path,flags,mode){return promisify(vol,"open",function(fd){return new FileHandle(vol,fd)})(path,flags,mode)},readdir:function(path,options){return promisify(vol,"readdir")(path,options)},readFile:function(id,options){return promisify(vol,"readFile")(id instanceof FileHandle?id.fd:id,options)},readlink:function(path,options){return promisify(vol,"readlink")(path,options)},realpath:function(path,options){return promisify(vol,"realpath")(path,options)},rename:function(oldPath,newPath){return promisify(vol,"rename")(oldPath,newPath)},rmdir:function(path){return promisify(vol,"rmdir")(path)},stat:function(path,options){return promisify(vol,"stat")(path,options)},symlink:function(target,path,type){return promisify(vol,"symlink")(target,path,type)},truncate:function(path,len){return promisify(vol,"truncate")(path,len)},unlink:function(path){return promisify(vol,"unlink")(path)},utimes:function(path,atime,mtime){return promisify(vol,"utimes")(path,atime,mtime)},writeFile:function(id,data,options){return promisify(vol,"writeFile")(id instanceof FileHandle?id.fd:id,data,options)}}}exports.default=createPromisesApi},82164:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _setImmediate;typeof setImmediate=="function"?_setImmediate=setImmediate.bind(__webpack_require__.g):_setImmediate=setTimeout.bind(__webpack_require__.g),exports.default=_setImmediate},46143:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function setTimeoutUnref(callback,time,args){var ref=setTimeout.apply(null,arguments);return ref&&typeof ref=="object"&&typeof ref.unref=="function"&&ref.unref(),ref}exports.default=setTimeoutUnref},64129:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}(),__spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var pathModule=__webpack_require__(26470),node_1=__webpack_require__(83599),Stats_1=__webpack_require__(22282),Dirent_1=__webpack_require__(62456),buffer_1=__webpack_require__(562),setImmediate_1=__webpack_require__(82164),process_1=__webpack_require__(12305),setTimeoutUnref_1=__webpack_require__(46143),stream_1=__webpack_require__(42830),constants_1=__webpack_require__(92299),events_1=__webpack_require__(17187),encoding_1=__webpack_require__(5866),errors=__webpack_require__(12913),extend=__webpack_require__(82630).l,util=__webpack_require__(89539),promises_1=__webpack_require__(96415),resolveCrossPlatform=pathModule.resolve,O_RDONLY=constants_1.constants.O_RDONLY,O_WRONLY=constants_1.constants.O_WRONLY,O_RDWR=constants_1.constants.O_RDWR,O_CREAT=constants_1.constants.O_CREAT,O_EXCL=constants_1.constants.O_EXCL,O_TRUNC=constants_1.constants.O_TRUNC,O_APPEND=constants_1.constants.O_APPEND,O_SYNC=constants_1.constants.O_SYNC,F_OK=constants_1.constants.F_OK,COPYFILE_EXCL=constants_1.constants.COPYFILE_EXCL,COPYFILE_FICLONE_FORCE=constants_1.constants.COPYFILE_FICLONE_FORCE,sep,relative;if(pathModule.posix){var posix=pathModule.posix;sep=posix.sep,relative=posix.relative}else sep=pathModule.sep,relative=pathModule.relative;var isWin=process_1.default.platform==="win32",kMinPoolSpace=128,ERRSTR={PATH_STR:"path must be a string or Buffer",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"},ERRSTR_OPTS=function(tipeof){return"Expected options to be either an object or a string, but got "+tipeof+" instead"},ENOENT="ENOENT",EBADF="EBADF",EINVAL="EINVAL",EPERM="EPERM",EPROTO="EPROTO",EEXIST="EEXIST",ENOTDIR="ENOTDIR",EMFILE="EMFILE",EACCES="EACCES",EISDIR="EISDIR",ENOTEMPTY="ENOTEMPTY",ENOSYS="ENOSYS";function formatError(errorCode,func,path,path2){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2="");var pathFormatted="";switch(path&&(pathFormatted=" '"+path+"'"),path2&&(pathFormatted+=" -> '"+path2+"'"),errorCode){case ENOENT:return"ENOENT: no such file or directory, "+func+pathFormatted;case EBADF:return"EBADF: bad file descriptor, "+func+pathFormatted;case EINVAL:return"EINVAL: invalid argument, "+func+pathFormatted;case EPERM:return"EPERM: operation not permitted, "+func+pathFormatted;case EPROTO:return"EPROTO: protocol error, "+func+pathFormatted;case EEXIST:return"EEXIST: file already exists, "+func+pathFormatted;case ENOTDIR:return"ENOTDIR: not a directory, "+func+pathFormatted;case EISDIR:return"EISDIR: illegal operation on a directory, "+func+pathFormatted;case EACCES:return"EACCES: permission denied, "+func+pathFormatted;case ENOTEMPTY:return"ENOTEMPTY: directory not empty, "+func+pathFormatted;case EMFILE:return"EMFILE: too many open files, "+func+pathFormatted;case ENOSYS:return"ENOSYS: function not implemented, "+func+pathFormatted;default:return errorCode+": error occurred, "+func+pathFormatted}}function createError(errorCode,func,path,path2,Constructor){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2=""),Constructor===void 0&&(Constructor=Error);var error=new Constructor(formatError(errorCode,func,path,path2));return error.code=errorCode,error}var FLAGS;(function(FLAGS2){FLAGS2[FLAGS2.r=O_RDONLY]="r",FLAGS2[FLAGS2["r+"]=O_RDWR]="r+",FLAGS2[FLAGS2.rs=O_RDONLY|O_SYNC]="rs",FLAGS2[FLAGS2.sr=FLAGS2.rs]="sr",FLAGS2[FLAGS2["rs+"]=O_RDWR|O_SYNC]="rs+",FLAGS2[FLAGS2["sr+"]=FLAGS2["rs+"]]="sr+",FLAGS2[FLAGS2.w=O_WRONLY|O_CREAT|O_TRUNC]="w",FLAGS2[FLAGS2.wx=O_WRONLY|O_CREAT|O_TRUNC|O_EXCL]="wx",FLAGS2[FLAGS2.xw=FLAGS2.wx]="xw",FLAGS2[FLAGS2["w+"]=O_RDWR|O_CREAT|O_TRUNC]="w+",FLAGS2[FLAGS2["wx+"]=O_RDWR|O_CREAT|O_TRUNC|O_EXCL]="wx+",FLAGS2[FLAGS2["xw+"]=FLAGS2["wx+"]]="xw+",FLAGS2[FLAGS2.a=O_WRONLY|O_APPEND|O_CREAT]="a",FLAGS2[FLAGS2.ax=O_WRONLY|O_APPEND|O_CREAT|O_EXCL]="ax",FLAGS2[FLAGS2.xa=FLAGS2.ax]="xa",FLAGS2[FLAGS2["a+"]=O_RDWR|O_APPEND|O_CREAT]="a+",FLAGS2[FLAGS2["ax+"]=O_RDWR|O_APPEND|O_CREAT|O_EXCL]="ax+",FLAGS2[FLAGS2["xa+"]=FLAGS2["ax+"]]="xa+"})(FLAGS=exports.FLAGS||(exports.FLAGS={}));function flagsToNumber(flags){if(typeof flags=="number")return flags;if(typeof flags=="string"){var flagsNum=FLAGS[flags];if(typeof flagsNum<"u")return flagsNum}throw new errors.TypeError("ERR_INVALID_OPT_VALUE","flags",flags)}exports.flagsToNumber=flagsToNumber;function getOptions(defaults,options){var opts;if(options){var tipeof=typeof options;switch(tipeof){case"string":opts=extend({},defaults,{encoding:options});break;case"object":opts=extend({},defaults,options);break;default:throw TypeError(ERRSTR_OPTS(tipeof))}}else return defaults;return opts.encoding!=="buffer"&&encoding_1.assertEncoding(opts.encoding),opts}function optsGenerator(defaults){return function(options){return getOptions(defaults,options)}}function validateCallback(callback){if(typeof callback!="function")throw TypeError(ERRSTR.CB);return callback}function optsAndCbGenerator(getOpts){return function(options,callback){return typeof options=="function"?[getOpts(),options]:[getOpts(options),validateCallback(callback)]}}var optsDefaults={encoding:"utf8"},getDefaultOpts=optsGenerator(optsDefaults),getDefaultOptsAndCb=optsAndCbGenerator(getDefaultOpts),readFileOptsDefaults={flag:"r"},getReadFileOptions=optsGenerator(readFileOptsDefaults),writeFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.w]},getWriteFileOptions=optsGenerator(writeFileDefaults),appendFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.a]},getAppendFileOpts=optsGenerator(appendFileDefaults),getAppendFileOptsAndCb=optsAndCbGenerator(getAppendFileOpts),realpathDefaults=optsDefaults,getRealpathOptions=optsGenerator(realpathDefaults),getRealpathOptsAndCb=optsAndCbGenerator(getRealpathOptions),mkdirDefaults={mode:511,recursive:!1},getMkdirOptions=function(options){return typeof options=="number"?extend({},mkdirDefaults,{mode:options}):extend({},mkdirDefaults,options)},rmdirDefaults={recursive:!1},getRmdirOptions=function(options){return extend({},rmdirDefaults,options)},readdirDefaults={encoding:"utf8",withFileTypes:!1},getReaddirOptions=optsGenerator(readdirDefaults),getReaddirOptsAndCb=optsAndCbGenerator(getReaddirOptions),statDefaults={bigint:!1},getStatOptions=function(options){return options===void 0&&(options={}),extend({},statDefaults,options)},getStatOptsAndCb=function(options,callback){return typeof options=="function"?[getStatOptions(),options]:[getStatOptions(options),validateCallback(callback)]};function getPathFromURLPosix(url){if(url.hostname!=="")throw new errors.TypeError("ERR_INVALID_FILE_URL_HOST",process_1.default.platform);for(var pathname=url.pathname,n=0;n<pathname.length;n++)if(pathname[n]==="%"){var third=pathname.codePointAt(n+2)|32;if(pathname[n+1]==="2"&&third===102)throw new errors.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(pathname)}function pathToFilename(path){if(typeof path!="string"&&!buffer_1.Buffer.isBuffer(path)){try{if(!(path instanceof __webpack_require__(8575).URL))throw new TypeError(ERRSTR.PATH_STR)}catch{throw new TypeError(ERRSTR.PATH_STR)}path=getPathFromURLPosix(path)}var pathString=String(path);return nullCheck(pathString),pathString}exports.pathToFilename=pathToFilename;var resolve=function(filename,base){return base===void 0&&(base=process_1.default.cwd()),resolveCrossPlatform(base,filename)};if(isWin){var _resolve_1=resolve,unixify_1=__webpack_require__(79129).Z4;resolve=function(filename,base){return unixify_1(_resolve_1(filename,base))}}function filenameToSteps(filename,base){var fullPath=resolve(filename,base),fullPathSansSlash=fullPath.substr(1);return fullPathSansSlash?fullPathSansSlash.split(sep):[]}exports.filenameToSteps=filenameToSteps;function pathToSteps(path){return filenameToSteps(pathToFilename(path))}exports.pathToSteps=pathToSteps;function dataToStr(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data.toString(encoding):data instanceof Uint8Array?buffer_1.bufferFrom(data).toString(encoding):String(data)}exports.dataToStr=dataToStr;function dataToBuffer(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data:data instanceof Uint8Array?buffer_1.bufferFrom(data):buffer_1.bufferFrom(String(data),encoding)}exports.dataToBuffer=dataToBuffer;function bufferToEncoding(buffer,encoding){return!encoding||encoding==="buffer"?buffer:buffer.toString(encoding)}exports.bufferToEncoding=bufferToEncoding;function nullCheck(path,callback){if((""+path).indexOf("\0")!==-1){var er=new Error("Path must be a string without null bytes");if(er.code=ENOENT,typeof callback!="function")throw er;return process_1.default.nextTick(callback,er),!1}return!0}function _modeToNumber(mode,def){if(typeof mode=="number")return mode;if(typeof mode=="string")return parseInt(mode,8);if(def)return modeToNumber(def)}function modeToNumber(mode,def){var result=_modeToNumber(mode,def);if(typeof result!="number"||isNaN(result))throw new TypeError(ERRSTR.MODE_INT);return result}function isFd(path){return path>>>0===path}function validateFd(fd){if(!isFd(fd))throw TypeError(ERRSTR.FD)}function toUnixTimestamp(time){if(typeof time=="string"&&+time==time)return+time;if(time instanceof Date)return time.getTime()/1e3;if(isFinite(time))return time<0?Date.now()/1e3:time;throw new Error("Cannot parse time: "+time)}exports.toUnixTimestamp=toUnixTimestamp;function validateUid(uid){if(typeof uid!="number")throw TypeError(ERRSTR.UID)}function validateGid(gid){if(typeof gid!="number")throw TypeError(ERRSTR.GID)}var Volume=function(){function Volume2(props){props===void 0&&(props={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=promises_1.default(this),this.statWatchers={},this.props=extend({Node:node_1.Node,Link:node_1.Link,File:node_1.File},props);var root=this.createLink();root.setNode(this.createNode(!0));var self2=this;this.StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(){return _super.call(this,self2)||this}return StatWatcher2}(StatWatcher);var _ReadStream=FsReadStream;this.ReadStream=function(_super){__extends(class_1,_super);function class_1(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_1}(_ReadStream);var _WriteStream=FsWriteStream;this.WriteStream=function(_super){__extends(class_2,_super);function class_2(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_2}(_WriteStream),this.FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(){return _super.call(this,self2)||this}return FSWatcher2}(FSWatcher),this.root=root}return Volume2.fromJSON=function(json,cwd){var vol=new Volume2;return vol.fromJSON(json,cwd),vol},Object.defineProperty(Volume2.prototype,"promises",{get:function(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!0,configurable:!0}),Volume2.prototype.createLink=function(parent,name,isDirectory,perm){if(isDirectory===void 0&&(isDirectory=!1),!parent)return new this.props.Link(this,null,"");if(!name)throw new Error("createLink: name cannot be empty");return parent.createChild(name,this.createNode(isDirectory,perm))},Volume2.prototype.deleteLink=function(link){var parent=link.parent;return parent?(parent.deleteChild(link),!0):!1},Volume2.prototype.newInoNumber=function(){var releasedFd=this.releasedInos.pop();return releasedFd||(this.ino=(this.ino+1)%4294967295,this.ino)},Volume2.prototype.newFdNumber=function(){var releasedFd=this.releasedFds.pop();return typeof releasedFd=="number"?releasedFd:Volume2.fd--},Volume2.prototype.createNode=function(isDirectory,perm){isDirectory===void 0&&(isDirectory=!1);var node=new this.props.Node(this.newInoNumber(),perm);return isDirectory&&node.setIsDirectory(),this.inodes[node.ino]=node,node},Volume2.prototype.getNode=function(ino){return this.inodes[ino]},Volume2.prototype.deleteNode=function(node){node.del(),delete this.inodes[node.ino],this.releasedInos.push(node.ino)},Volume2.prototype.genRndStr=function(){var str=(Math.random()+1).toString(36).substr(2,6);return str.length===6?str:this.genRndStr()},Volume2.prototype.getLink=function(steps){return this.root.walk(steps)},Volume2.prototype.getLinkOrThrow=function(filename,funcName){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.getResolvedLink=function(filenameOrSteps){for(var steps=typeof filenameOrSteps=="string"?filenameToSteps(filenameOrSteps):filenameOrSteps,link=this.root,i=0;i<steps.length;){var step=steps[i];if(link=link.getChild(step),!link)return null;var node=link.getNode();if(node.isSymlink()){steps=node.symlink.concat(steps.slice(i+1)),link=this.root,i=0;continue}i++}return link},Volume2.prototype.getResolvedLinkOrThrow=function(filename,funcName){var link=this.getResolvedLink(filename);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.resolveSymlinks=function(link){return this.getResolvedLink(link.steps.slice(1))},Volume2.prototype.getLinkAsDirOrThrow=function(filename,funcName){var link=this.getLinkOrThrow(filename,funcName);if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,filename);return link},Volume2.prototype.getLinkParent=function(steps){return this.root.walk(steps,steps.length-1)},Volume2.prototype.getLinkParentAsDirOrThrow=function(filenameOrSteps,funcName){var steps=filenameOrSteps instanceof Array?filenameOrSteps:filenameToSteps(filenameOrSteps),link=this.getLinkParent(steps);if(!link)throw createError(ENOENT,funcName,sep+steps.join(sep));if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,sep+steps.join(sep));return link},Volume2.prototype.getFileByFd=function(fd){return this.fds[String(fd)]},Volume2.prototype.getFileByFdOrThrow=function(fd,funcName){if(!isFd(fd))throw TypeError(ERRSTR.FD);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,funcName);return file},Volume2.prototype.getNodeByIdOrCreate=function(id,flags,perm){if(typeof id=="number"){var file=this.getFileByFd(id);if(!file)throw Error("File nto found");return file.node}else{var steps=pathToSteps(id),link=this.getLink(steps);if(link)return link.getNode();if(flags&O_CREAT){var dirLink=this.getLinkParent(steps);if(dirLink){var name_1=steps[steps.length-1];return link=this.createLink(dirLink,name_1,!1,perm),link.getNode()}}throw createError(ENOENT,"getNodeByIdOrCreate",pathToFilename(id))}},Volume2.prototype.wrapAsync=function(method,args,callback){var _this=this;validateCallback(callback),setImmediate_1.default(function(){try{callback(null,method.apply(_this,args))}catch(err){callback(err)}})},Volume2.prototype._toJSON=function(link,json,path){var _a;link===void 0&&(link=this.root),json===void 0&&(json={});var isEmpty=!0,children=link.children;link.getNode().isFile()&&(children=(_a={},_a[link.getName()]=link.parent.getChild(link.getName()),_a),link=link.parent);for(var name_2 in children){isEmpty=!1;var child=link.getChild(name_2);if(!child)throw new Error("_toJSON: unexpected undefined");var node=child.getNode();if(node.isFile()){var filename=child.getPath();path&&(filename=relative(path,filename)),json[filename]=node.getString()}else node.isDirectory()&&this._toJSON(child,json,path)}var dirPath=link.getPath();return path&&(dirPath=relative(path,dirPath)),dirPath&&isEmpty&&(json[dirPath]=null),json},Volume2.prototype.toJSON=function(paths,json,isRelative){json===void 0&&(json={}),isRelative===void 0&&(isRelative=!1);var links=[];if(paths){paths instanceof Array||(paths=[paths]);for(var _i=0,paths_1=paths;_i<paths_1.length;_i++){var path=paths_1[_i],filename=pathToFilename(path),link=this.getResolvedLink(filename);!link||links.push(link)}}else links.push(this.root);if(!links.length)return json;for(var _a=0,links_1=links;_a<links_1.length;_a++){var link=links_1[_a];this._toJSON(link,json,isRelative?link.getPath():"")}return json},Volume2.prototype.fromJSON=function(json,cwd){cwd===void 0&&(cwd=process_1.default.cwd());for(var filename in json){var data=json[filename];if(typeof data=="string"){filename=resolve(filename,cwd);var steps=filenameToSteps(filename);if(steps.length>1){var dirname=sep+steps.slice(0,steps.length-1).join(sep);this.mkdirpBase(dirname,511)}this.writeFileSync(filename,data)}else this.mkdirpBase(filename,511)}},Volume2.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},Volume2.prototype.mountSync=function(mountpoint,json){this.fromJSON(json,mountpoint)},Volume2.prototype.openLink=function(link,flagsNum,resolveSymlinks){if(resolveSymlinks===void 0&&(resolveSymlinks=!0),this.openFiles>=this.maxFiles)throw createError(EMFILE,"open",link.getPath());var realLink=link;if(resolveSymlinks&&(realLink=this.resolveSymlinks(link)),!realLink)throw createError(ENOENT,"open",link.getPath());var node=realLink.getNode();if(node.isDirectory()&&flagsNum!==FLAGS.r)throw createError(EISDIR,"open",link.getPath());if(!(flagsNum&O_WRONLY)&&!node.canRead())throw createError(EACCES,"open",link.getPath());flagsNum&O_RDWR;var file=new this.props.File(link,node,flagsNum,this.newFdNumber());return this.fds[file.fd]=file,this.openFiles++,flagsNum&O_TRUNC&&file.truncate(),file},Volume2.prototype.openFile=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var steps=filenameToSteps(filename),link=resolveSymlinks?this.getResolvedLink(steps):this.getLink(steps);if(!link&&flagsNum&O_CREAT){var dirLink=this.getResolvedLink(steps.slice(0,steps.length-1));if(!dirLink)throw createError(ENOENT,"open",sep+steps.join(sep));flagsNum&O_CREAT&&typeof modeNum=="number"&&(link=this.createLink(dirLink,steps[steps.length-1],!1,modeNum))}if(link)return this.openLink(link,flagsNum,resolveSymlinks);throw createError(ENOENT,"open",filename)},Volume2.prototype.openBase=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var file=this.openFile(filename,flagsNum,modeNum,resolveSymlinks);if(!file)throw createError(ENOENT,"open",filename);return file.fd},Volume2.prototype.openSync=function(path,flags,mode){mode===void 0&&(mode=438);var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);return this.openBase(fileName,flagsNum,modeNum)},Volume2.prototype.open=function(path,flags,a,b){var mode=a,callback=b;typeof a=="function"&&(mode=438,callback=a),mode=mode||438;var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);this.wrapAsync(this.openBase,[fileName,flagsNum,modeNum],callback)},Volume2.prototype.closeFile=function(file){!this.fds[file.fd]||(this.openFiles--,delete this.fds[file.fd],this.releasedFds.push(file.fd))},Volume2.prototype.closeSync=function(fd){validateFd(fd);var file=this.getFileByFdOrThrow(fd,"close");this.closeFile(file)},Volume2.prototype.close=function(fd,callback){validateFd(fd),this.wrapAsync(this.closeSync,[fd],callback)},Volume2.prototype.openFileOrGetById=function(id,flagsNum,modeNum){if(typeof id=="number"){var file=this.fds[id];if(!file)throw createError(ENOENT);return file}else return this.openFile(pathToFilename(id),flagsNum,modeNum)},Volume2.prototype.readBase=function(fd,buffer,offset,length,position){var file=this.getFileByFdOrThrow(fd);return file.read(buffer,Number(offset),Number(length),position)},Volume2.prototype.readSync=function(fd,buffer,offset,length,position){return validateFd(fd),this.readBase(fd,buffer,offset,length,position)},Volume2.prototype.read=function(fd,buffer,offset,length,position,callback){var _this=this;if(validateCallback(callback),length===0)return process_1.default.nextTick(function(){callback&&callback(null,0,buffer)});setImmediate_1.default(function(){try{var bytes=_this.readBase(fd,buffer,offset,length,position);callback(null,bytes,buffer)}catch(err){callback(err)}})},Volume2.prototype.readFileBase=function(id,flagsNum,encoding){var result,isUserFd=typeof id=="number",userOwnsFd=isUserFd&&isFd(id),fd;if(userOwnsFd)fd=id;else{var filename=pathToFilename(id),steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(link){var node=link.getNode();if(node.isDirectory())throw createError(EISDIR,"open",link.getPath())}fd=this.openSync(id,flagsNum)}try{result=bufferToEncoding(this.getFileByFdOrThrow(fd).getBuffer(),encoding)}finally{userOwnsFd||this.closeSync(fd)}return result},Volume2.prototype.readFileSync=function(file,options){var opts=getReadFileOptions(options),flagsNum=flagsToNumber(opts.flag);return this.readFileBase(file,flagsNum,opts.encoding)},Volume2.prototype.readFile=function(id,a,b){var _a=optsAndCbGenerator(getReadFileOptions)(a,b),opts=_a[0],callback=_a[1],flagsNum=flagsToNumber(opts.flag);this.wrapAsync(this.readFileBase,[id,flagsNum,opts.encoding],callback)},Volume2.prototype.writeBase=function(fd,buf,offset,length,position){var file=this.getFileByFdOrThrow(fd,"write");return file.write(buf,offset,length,position)},Volume2.prototype.writeSync=function(fd,a,b,c,d){validateFd(fd);var encoding,offset,length,position,isBuffer=typeof a!="string";isBuffer?(offset=(b||0)|0,length=c,position=d):(position=b,encoding=c);var buf=dataToBuffer(a,encoding);return isBuffer?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length),this.writeBase(fd,buf,offset,length,position)},Volume2.prototype.write=function(fd,a,b,c,d,e){var _this=this;validateFd(fd);var offset,length,position,encoding,callback,tipa=typeof a,tipb=typeof b,tipc=typeof c,tipd=typeof d;tipa!=="string"?tipb==="function"?callback=b:tipc==="function"?(offset=b|0,callback=c):tipd==="function"?(offset=b|0,length=c,callback=d):(offset=b|0,length=c,position=d,callback=e):tipb==="function"?callback=b:tipc==="function"?(position=b,callback=c):tipd==="function"&&(position=b,encoding=c,callback=d);var buf=dataToBuffer(a,encoding);tipa!=="string"?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length);var cb=validateCallback(callback);setImmediate_1.default(function(){try{var bytes=_this.writeBase(fd,buf,offset,length,position);tipa!=="string"?cb(null,bytes,buf):cb(null,bytes,a)}catch(err){cb(err)}})},Volume2.prototype.writeFileBase=function(id,buf,flagsNum,modeNum){var isUserFd=typeof id=="number",fd;isUserFd?fd=id:fd=this.openBase(pathToFilename(id),flagsNum,modeNum);var offset=0,length=buf.length,position=flagsNum&O_APPEND?void 0:0;try{for(;length>0;){var written=this.writeSync(fd,buf,offset,length,position);offset+=written,length-=written,position!==void 0&&(position+=written)}}finally{isUserFd||this.closeSync(fd)}},Volume2.prototype.writeFileSync=function(id,data,options){var opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.writeFileBase(id,buf,flagsNum,modeNum)},Volume2.prototype.writeFile=function(id,data,a,b){var options=a,callback=b;typeof a=="function"&&(options=writeFileDefaults,callback=a);var cb=validateCallback(callback),opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.wrapAsync(this.writeFileBase,[id,buf,flagsNum,modeNum],cb)},Volume2.prototype.linkBase=function(filename1,filename2){var steps1=filenameToSteps(filename1),link1=this.getLink(steps1);if(!link1)throw createError(ENOENT,"link",filename1,filename2);var steps2=filenameToSteps(filename2),dir2=this.getLinkParent(steps2);if(!dir2)throw createError(ENOENT,"link",filename1,filename2);var name=steps2[steps2.length-1];if(dir2.getChild(name))throw createError(EEXIST,"link",filename1,filename2);var node=link1.getNode();node.nlink++,dir2.createChild(name,node)},Volume2.prototype.copyFileBase=function(src,dest,flags){var buf=this.readFileSync(src);if(flags&COPYFILE_EXCL&&this.existsSync(dest))throw createError(EEXIST,"copyFile",src,dest);if(flags&COPYFILE_FICLONE_FORCE)throw createError(ENOSYS,"copyFile",src,dest);this.writeFileBase(dest,buf,FLAGS.w,438)},Volume2.prototype.copyFileSync=function(src,dest,flags){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest);return this.copyFileBase(srcFilename,destFilename,(flags||0)|0)},Volume2.prototype.copyFile=function(src,dest,a,b){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest),flags,callback;typeof a=="function"?(flags=0,callback=a):(flags=a,callback=b),validateCallback(callback),this.wrapAsync(this.copyFileBase,[srcFilename,destFilename,flags],callback)},Volume2.prototype.linkSync=function(existingPath,newPath){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.linkBase(existingPathFilename,newPathFilename)},Volume2.prototype.link=function(existingPath,newPath,callback){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.linkBase,[existingPathFilename,newPathFilename],callback)},Volume2.prototype.unlinkBase=function(filename){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,"unlink",filename);if(link.length)throw Error("Dir not empty...");this.deleteLink(link);var node=link.getNode();node.nlink--,node.nlink<=0&&this.deleteNode(node)},Volume2.prototype.unlinkSync=function(path){var filename=pathToFilename(path);this.unlinkBase(filename)},Volume2.prototype.unlink=function(path,callback){var filename=pathToFilename(path);this.wrapAsync(this.unlinkBase,[filename],callback)},Volume2.prototype.symlinkBase=function(targetFilename,pathFilename){var pathSteps=filenameToSteps(pathFilename),dirLink=this.getLinkParent(pathSteps);if(!dirLink)throw createError(ENOENT,"symlink",targetFilename,pathFilename);var name=pathSteps[pathSteps.length-1];if(dirLink.getChild(name))throw createError(EEXIST,"symlink",targetFilename,pathFilename);var symlink=dirLink.createChild(name);return symlink.getNode().makeSymlink(filenameToSteps(targetFilename)),symlink},Volume2.prototype.symlinkSync=function(target,path,type){var targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.symlinkBase(targetFilename,pathFilename)},Volume2.prototype.symlink=function(target,path,a,b){var callback=validateCallback(typeof a=="function"?a:b),targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.wrapAsync(this.symlinkBase,[targetFilename,pathFilename],callback)},Volume2.prototype.realpathBase=function(filename,encoding){var steps=filenameToSteps(filename),realLink=this.getResolvedLink(steps);if(!realLink)throw createError(ENOENT,"realpath",filename);return encoding_1.strToEncoding(realLink.getPath(),encoding)},Volume2.prototype.realpathSync=function(path,options){return this.realpathBase(pathToFilename(path),getRealpathOptions(options).encoding)},Volume2.prototype.realpath=function(path,a,b){var _a=getRealpathOptsAndCb(a,b),opts=_a[0],callback=_a[1],pathFilename=pathToFilename(path);this.wrapAsync(this.realpathBase,[pathFilename,opts.encoding],callback)},Volume2.prototype.lstatBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"lstat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.lstatSync=function(path,options){return this.lstatBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.lstat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.lstatBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.statBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getResolvedLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"stat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.statSync=function(path,options){return this.statBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.stat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.statBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.fstatBase=function(fd,bigint){bigint===void 0&&(bigint=!1);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,"fstat");return Stats_1.default.build(file.node,bigint)},Volume2.prototype.fstatSync=function(fd,options){return this.fstatBase(fd,getStatOptions(options).bigint)},Volume2.prototype.fstat=function(fd,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.fstatBase,[fd,opts.bigint],callback)},Volume2.prototype.renameBase=function(oldPathFilename,newPathFilename){var link=this.getLink(filenameToSteps(oldPathFilename));if(!link)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var newPathSteps=filenameToSteps(newPathFilename),newPathDirLink=this.getLinkParent(newPathSteps);if(!newPathDirLink)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var oldLinkParent=link.parent;oldLinkParent&&oldLinkParent.deleteChild(link);var name=newPathSteps[newPathSteps.length-1];link.steps=__spreadArrays(newPathDirLink.steps,[name]),newPathDirLink.setChild(link.getName(),link)},Volume2.prototype.renameSync=function(oldPath,newPath){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.renameBase(oldPathFilename,newPathFilename)},Volume2.prototype.rename=function(oldPath,newPath,callback){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.renameBase,[oldPathFilename,newPathFilename],callback)},Volume2.prototype.existsBase=function(filename){return!!this.statBase(filename)},Volume2.prototype.existsSync=function(path){try{return this.existsBase(pathToFilename(path))}catch{return!1}},Volume2.prototype.exists=function(path,callback){var _this=this,filename=pathToFilename(path);if(typeof callback!="function")throw Error(ERRSTR.CB);setImmediate_1.default(function(){try{callback(_this.existsBase(filename))}catch{callback(!1)}})},Volume2.prototype.accessBase=function(filename,mode){var link=this.getLinkOrThrow(filename,"access")},Volume2.prototype.accessSync=function(path,mode){mode===void 0&&(mode=F_OK);var filename=pathToFilename(path);mode=mode|0,this.accessBase(filename,mode)},Volume2.prototype.access=function(path,a,b){var mode=F_OK,callback;typeof a!="function"?(mode=a|0,callback=validateCallback(b)):callback=a;var filename=pathToFilename(path);this.wrapAsync(this.accessBase,[filename,mode],callback)},Volume2.prototype.appendFileSync=function(id,data,options){options===void 0&&(options=appendFileDefaults);var opts=getAppendFileOpts(options);(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFileSync(id,data,opts)},Volume2.prototype.appendFile=function(id,data,a,b){var _a=getAppendFileOptsAndCb(a,b),opts=_a[0],callback=_a[1];(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFile(id,data,opts,callback)},Volume2.prototype.readdirBase=function(filename,options){var steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(!link)throw createError(ENOENT,"readdir",filename);var node=link.getNode();if(!node.isDirectory())throw createError(ENOTDIR,"scandir",filename);if(options.withFileTypes){var list_1=[];for(var name_3 in link.children){var child=link.getChild(name_3);!child||list_1.push(Dirent_1.default.build(child,options.encoding))}return!isWin&&options.encoding!=="buffer"&&list_1.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0}),list_1}var list=[];for(var name_4 in link.children)list.push(encoding_1.strToEncoding(name_4,options.encoding));return!isWin&&options.encoding!=="buffer"&&list.sort(),list},Volume2.prototype.readdirSync=function(path,options){var opts=getReaddirOptions(options),filename=pathToFilename(path);return this.readdirBase(filename,opts)},Volume2.prototype.readdir=function(path,a,b){var _a=getReaddirOptsAndCb(a,b),options=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readdirBase,[filename,options],callback)},Volume2.prototype.readlinkBase=function(filename,encoding){var link=this.getLinkOrThrow(filename,"readlink"),node=link.getNode();if(!node.isSymlink())throw createError(EINVAL,"readlink",filename);var str=sep+node.symlink.join(sep);return encoding_1.strToEncoding(str,encoding)},Volume2.prototype.readlinkSync=function(path,options){var opts=getDefaultOpts(options),filename=pathToFilename(path);return this.readlinkBase(filename,opts.encoding)},Volume2.prototype.readlink=function(path,a,b){var _a=getDefaultOptsAndCb(a,b),opts=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readlinkBase,[filename,opts.encoding],callback)},Volume2.prototype.fsyncBase=function(fd){this.getFileByFdOrThrow(fd,"fsync")},Volume2.prototype.fsyncSync=function(fd){this.fsyncBase(fd)},Volume2.prototype.fsync=function(fd,callback){this.wrapAsync(this.fsyncBase,[fd],callback)},Volume2.prototype.fdatasyncBase=function(fd){this.getFileByFdOrThrow(fd,"fdatasync")},Volume2.prototype.fdatasyncSync=function(fd){this.fdatasyncBase(fd)},Volume2.prototype.fdatasync=function(fd,callback){this.wrapAsync(this.fdatasyncBase,[fd],callback)},Volume2.prototype.ftruncateBase=function(fd,len){var file=this.getFileByFdOrThrow(fd,"ftruncate");file.truncate(len)},Volume2.prototype.ftruncateSync=function(fd,len){this.ftruncateBase(fd,len)},Volume2.prototype.ftruncate=function(fd,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);this.wrapAsync(this.ftruncateBase,[fd,len],callback)},Volume2.prototype.truncateBase=function(path,len){var fd=this.openSync(path,"r+");try{this.ftruncateSync(fd,len)}finally{this.closeSync(fd)}},Volume2.prototype.truncateSync=function(id,len){if(isFd(id))return this.ftruncateSync(id,len);this.truncateBase(id,len)},Volume2.prototype.truncate=function(id,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);if(isFd(id))return this.ftruncate(id,len,callback);this.wrapAsync(this.truncateBase,[id,len],callback)},Volume2.prototype.futimesBase=function(fd,atime,mtime){var file=this.getFileByFdOrThrow(fd,"futimes"),node=file.node;node.atime=new Date(atime*1e3),node.mtime=new Date(mtime*1e3)},Volume2.prototype.futimesSync=function(fd,atime,mtime){this.futimesBase(fd,toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.futimes=function(fd,atime,mtime,callback){this.wrapAsync(this.futimesBase,[fd,toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.utimesBase=function(filename,atime,mtime){var fd=this.openSync(filename,"r+");try{this.futimesBase(fd,atime,mtime)}finally{this.closeSync(fd)}},Volume2.prototype.utimesSync=function(path,atime,mtime){this.utimesBase(pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.utimes=function(path,atime,mtime,callback){this.wrapAsync(this.utimesBase,[pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.mkdirBase=function(filename,modeNum){var steps=filenameToSteps(filename);if(!steps.length)throw createError(EISDIR,"mkdir",filename);var dir=this.getLinkParentAsDirOrThrow(filename,"mkdir"),name=steps[steps.length-1];if(dir.getChild(name))throw createError(EEXIST,"mkdir",filename);dir.createChild(name,this.createNode(!0,modeNum))},Volume2.prototype.mkdirpBase=function(filename,modeNum){for(var steps=filenameToSteps(filename),link=this.root,i=0;i<steps.length;i++){var step=steps[i];if(!link.getNode().isDirectory())throw createError(ENOTDIR,"mkdir",link.getPath());var child=link.getChild(step);if(child)if(child.getNode().isDirectory())link=child;else throw createError(ENOTDIR,"mkdir",child.getPath());else link=link.createChild(step,this.createNode(!0,modeNum))}},Volume2.prototype.mkdirSync=function(path,options){var opts=getMkdirOptions(options),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.mkdirpBase(filename,modeNum):this.mkdirBase(filename,modeNum)},Volume2.prototype.mkdir=function(path,a,b){var opts=getMkdirOptions(a),callback=validateCallback(typeof a=="function"?a:b),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.wrapAsync(this.mkdirpBase,[filename,modeNum],callback):this.wrapAsync(this.mkdirBase,[filename,modeNum],callback)},Volume2.prototype.mkdirpSync=function(path,mode){this.mkdirSync(path,{mode,recursive:!0})},Volume2.prototype.mkdirp=function(path,a,b){var mode=typeof a=="function"?void 0:a,callback=validateCallback(typeof a=="function"?a:b);this.mkdir(path,{mode,recursive:!0},callback)},Volume2.prototype.mkdtempBase=function(prefix,encoding,retry){retry===void 0&&(retry=5);var filename=prefix+this.genRndStr();try{return this.mkdirBase(filename,511),encoding_1.strToEncoding(filename,encoding)}catch(err){if(err.code===EEXIST){if(retry>1)return this.mkdtempBase(prefix,encoding,retry-1);throw Error("Could not create temp dir.")}else throw err}},Volume2.prototype.mkdtempSync=function(prefix,options){var encoding=getDefaultOpts(options).encoding;if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");return nullCheck(prefix),this.mkdtempBase(prefix,encoding)},Volume2.prototype.mkdtemp=function(prefix,a,b){var _a=getDefaultOptsAndCb(a,b),encoding=_a[0].encoding,callback=_a[1];if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");!nullCheck(prefix)||this.wrapAsync(this.mkdtempBase,[prefix,encoding],callback)},Volume2.prototype.rmdirBase=function(filename,options){var opts=getRmdirOptions(options),link=this.getLinkAsDirOrThrow(filename,"rmdir");if(link.length&&!opts.recursive)throw createError(ENOTEMPTY,"rmdir",filename);this.deleteLink(link)},Volume2.prototype.rmdirSync=function(path,options){this.rmdirBase(pathToFilename(path),options)},Volume2.prototype.rmdir=function(path,a,b){var opts=getRmdirOptions(a),callback=validateCallback(typeof a=="function"?a:b);this.wrapAsync(this.rmdirBase,[pathToFilename(path),opts],callback)},Volume2.prototype.fchmodBase=function(fd,modeNum){var file=this.getFileByFdOrThrow(fd,"fchmod");file.chmod(modeNum)},Volume2.prototype.fchmodSync=function(fd,mode){this.fchmodBase(fd,modeToNumber(mode))},Volume2.prototype.fchmod=function(fd,mode,callback){this.wrapAsync(this.fchmodBase,[fd,modeToNumber(mode)],callback)},Volume2.prototype.chmodBase=function(filename,modeNum){var fd=this.openSync(filename,"r+");try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.chmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.chmodBase(filename,modeNum)},Volume2.prototype.chmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.chmodBase,[filename,modeNum],callback)},Volume2.prototype.lchmodBase=function(filename,modeNum){var fd=this.openBase(filename,O_RDWR,0,!1);try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.lchmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.lchmodBase(filename,modeNum)},Volume2.prototype.lchmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.lchmodBase,[filename,modeNum],callback)},Volume2.prototype.fchownBase=function(fd,uid,gid){this.getFileByFdOrThrow(fd,"fchown").chown(uid,gid)},Volume2.prototype.fchownSync=function(fd,uid,gid){validateUid(uid),validateGid(gid),this.fchownBase(fd,uid,gid)},Volume2.prototype.fchown=function(fd,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.fchownBase,[fd,uid,gid],callback)},Volume2.prototype.chownBase=function(filename,uid,gid){var link=this.getResolvedLinkOrThrow(filename,"chown"),node=link.getNode();node.chown(uid,gid)},Volume2.prototype.chownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.chownBase(pathToFilename(path),uid,gid)},Volume2.prototype.chown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.chownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.lchownBase=function(filename,uid,gid){this.getLinkOrThrow(filename,"lchown").getNode().chown(uid,gid)},Volume2.prototype.lchownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.lchownBase(pathToFilename(path),uid,gid)},Volume2.prototype.lchown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.lchownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.watchFile=function(path,a,b){var filename=pathToFilename(path),options=a,listener=b;if(typeof options=="function"&&(listener=a,options=null),typeof listener!="function")throw Error('"watchFile()" requires a listener function');var interval=5007,persistent=!0;options&&typeof options=="object"&&(typeof options.interval=="number"&&(interval=options.interval),typeof options.persistent=="boolean"&&(persistent=options.persistent));var watcher=this.statWatchers[filename];return watcher||(watcher=new this.StatWatcher,watcher.start(filename,persistent,interval),this.statWatchers[filename]=watcher),watcher.addListener("change",listener),watcher},Volume2.prototype.unwatchFile=function(path,listener){var filename=pathToFilename(path),watcher=this.statWatchers[filename];!watcher||(typeof listener=="function"?watcher.removeListener("change",listener):watcher.removeAllListeners("change"),watcher.listenerCount("change")===0&&(watcher.stop(),delete this.statWatchers[filename]))},Volume2.prototype.createReadStream=function(path,options){return new this.ReadStream(path,options)},Volume2.prototype.createWriteStream=function(path,options){return new this.WriteStream(path,options)},Volume2.prototype.watch=function(path,options,listener){var filename=pathToFilename(path),givenOptions=options;typeof options=="function"&&(listener=options,givenOptions=null);var _a=getDefaultOpts(givenOptions),persistent=_a.persistent,recursive=_a.recursive,encoding=_a.encoding;persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1);var watcher=new this.FSWatcher;return watcher.start(filename,persistent,recursive,encoding),listener&&watcher.addListener("change",listener),watcher},Volume2.fd=2147483647,Volume2}();exports.Volume=Volume;function emitStop(self2){self2.emit("stop")}var StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(vol){var _this=_super.call(this)||this;return _this.onInterval=function(){try{var stats=_this.vol.statSync(_this.filename);_this.hasChanged(stats)&&(_this.emit("change",stats,_this.prev),_this.prev=stats)}finally{_this.loop()}},_this.vol=vol,_this}return StatWatcher2.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},StatWatcher2.prototype.hasChanged=function(stats){return stats.mtimeMs>this.prev.mtimeMs||stats.nlink!==this.prev.nlink},StatWatcher2.prototype.start=function(path,persistent,interval){persistent===void 0&&(persistent=!0),interval===void 0&&(interval=5007),this.filename=pathToFilename(path),this.setTimeout=persistent?setTimeout:setTimeoutUnref_1.default,this.interval=interval,this.prev=this.vol.statSync(this.filename),this.loop()},StatWatcher2.prototype.stop=function(){clearTimeout(this.timeoutRef),process_1.default.nextTick(emitStop,this)},StatWatcher2}(events_1.EventEmitter);exports.StatWatcher=StatWatcher;var pool;function allocNewPool(poolSize){pool=buffer_1.bufferAllocUnsafe(poolSize),pool.used=0}util.inherits(FsReadStream,stream_1.Readable),exports.ReadStream=FsReadStream;function FsReadStream(vol,path,options){if(!(this instanceof FsReadStream))return new FsReadStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),options.highWaterMark===void 0&&(options.highWaterMark=64*1024),stream_1.Readable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"r":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.end=options.end,this.autoClose=options.autoClose===void 0?!0:options.autoClose,this.pos=void 0,this.bytesRead=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}typeof this.fd!="number"&&this.open(),this.on("end",function(){this.autoClose&&this.destroy&&this.destroy()})}FsReadStream.prototype.open=function(){var self2=this;this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);return}self2.fd=fd,self2.emit("open",fd),self2.read()})},FsReadStream.prototype._read=function(n){if(typeof this.fd!="number")return this.once("open",function(){this._read(n)});if(this.destroyed)return;(!pool||pool.length-pool.used<kMinPoolSpace)&&allocNewPool(this._readableState.highWaterMark);var thisPool=pool,toRead=Math.min(pool.length-pool.used,n),start=pool.used;if(this.pos!==void 0&&(toRead=Math.min(this.end-this.pos+1,toRead)),toRead<=0)return this.push(null);var self2=this;this._vol.read(this.fd,pool,pool.used,toRead,this.pos,onread),this.pos!==void 0&&(this.pos+=toRead),pool.used+=toRead;function onread(er,bytesRead){if(er)self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);else{var b=null;bytesRead>0&&(self2.bytesRead+=bytesRead,b=thisPool.slice(start,start+bytesRead)),self2.push(b)}}},FsReadStream.prototype._destroy=function(err,cb){this.close(function(err2){cb(err||err2)})},FsReadStream.prototype.close=function(cb){var _this=this;if(cb&&this.once("close",cb),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",closeOnOpen);return}return process_1.default.nextTick(function(){return _this.emit("close")})}this.closed=!0,this._vol.close(this.fd,function(er){er?_this.emit("error",er):_this.emit("close")}),this.fd=null};function closeOnOpen(fd){this.close()}util.inherits(FsWriteStream,stream_1.Writable),exports.WriteStream=FsWriteStream;function FsWriteStream(vol,path,options){if(!(this instanceof FsWriteStream))return new FsWriteStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),stream_1.Writable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"w":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.autoClose=options.autoClose===void 0?!0:!!options.autoClose,this.pos=void 0,this.bytesWritten=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}options.encoding&&this.setDefaultEncoding(options.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}FsWriteStream.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",er);return}this.fd=fd,this.emit("open",fd)}.bind(this))},FsWriteStream.prototype._write=function(data,encoding,cb){if(!(data instanceof buffer_1.Buffer))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(data,encoding,cb)});var self2=this;this._vol.write(this.fd,data,0,data.length,this.pos,function(er,bytes){if(er)return self2.autoClose&&self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=data.length)},FsWriteStream.prototype._writev=function(data,cb){if(typeof this.fd!="number")return this.once("open",function(){this._writev(data,cb)});for(var self2=this,len=data.length,chunks=new Array(len),size=0,i=0;i<len;i++){var chunk=data[i].chunk;chunks[i]=chunk,size+=chunk.length}var buf=buffer_1.Buffer.concat(chunks);this._vol.write(this.fd,buf,0,buf.length,this.pos,function(er,bytes){if(er)return self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=size)},FsWriteStream.prototype._destroy=FsReadStream.prototype._destroy,FsWriteStream.prototype.close=FsReadStream.prototype.close,FsWriteStream.prototype.destroySoon=FsWriteStream.prototype.end;var FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(vol){var _this=_super.call(this)||this;return _this._filename="",_this._filenameEncoded="",_this._recursive=!1,_this._encoding=encoding_1.ENCODING_UTF8,_this._onNodeChange=function(){_this._emit("change")},_this._onParentChild=function(link){link.getName()===_this._getName()&&_this._emit("rename")},_this._emit=function(type){_this.emit("change",type,_this._filenameEncoded)},_this._persist=function(){_this._timer=setTimeout(_this._persist,1e6)},_this._vol=vol,_this}return FSWatcher2.prototype._getName=function(){return this._steps[this._steps.length-1]},FSWatcher2.prototype.start=function(path,persistent,recursive,encoding){persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1),encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),this._filename=pathToFilename(path),this._steps=filenameToSteps(this._filename),this._filenameEncoded=encoding_1.strToEncoding(this._filename),this._recursive=recursive,this._encoding=encoding;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(err){var error=new Error("watch "+this._filename+" "+err.code);throw error.code=err.code,error.errno=err.code,error}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var parent=this._link.parent;parent&&(parent.setMaxListeners(parent.getMaxListeners()+1),parent.on("child:delete",this._onParentChild)),persistent&&this._persist()},FSWatcher2.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var parent=this._link.parent;parent&&parent.removeListener("child:delete",this._onParentChild)},FSWatcher2}(events_1.EventEmitter);exports.FSWatcher=FSWatcher},1028:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Row=void 0;var row_1=__webpack_require__(30198);Object.defineProperty(exports,"Row",{enumerable:!0,get:function(){return row_1.Row}})},30198:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Row=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(41958)),row_module_scss_1=__importDefault(__webpack_require__(38556));function Row(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(row_module_scss_1.default.row,className)},rest),children)}exports.Row=Row},41958:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
1
+ (self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[]).push([[924],{92509:function(__unused_webpack_module,exports,__webpack_require__){(function(global2,factory){factory(exports,__webpack_require__(22208),__webpack_require__(92297),__webpack_require__(83446))})(this,function(exports2,setArray,sourcemapCodec,traceMapping){"use strict";exports2.addSegment=void 0,exports2.addMapping=void 0,exports2.maybeAddSegment=void 0,exports2.maybeAddMapping=void 0,exports2.setSourceContent=void 0,exports2.toDecodedMap=void 0,exports2.toEncodedMap=void 0,exports2.fromMap=void 0,exports2.allMappings=void 0;let addSegmentInternal;class GenMapping{constructor({file,sourceRoot}={}){this._names=new setArray.SetArray,this._sources=new setArray.SetArray,this._sourcesContent=[],this._mappings=[],this.file=file,this.sourceRoot=sourceRoot}}exports2.addSegment=(map,genLine,genColumn,source,sourceLine,sourceColumn,name,content)=>addSegmentInternal(!1,map,genLine,genColumn,source,sourceLine,sourceColumn,name,content),exports2.maybeAddSegment=(map,genLine,genColumn,source,sourceLine,sourceColumn,name,content)=>addSegmentInternal(!0,map,genLine,genColumn,source,sourceLine,sourceColumn,name,content),exports2.addMapping=(map,mapping)=>addMappingInternal(!1,map,mapping),exports2.maybeAddMapping=(map,mapping)=>addMappingInternal(!0,map,mapping),exports2.setSourceContent=(map,source,content)=>{const{_sources:sources,_sourcesContent:sourcesContent}=map;sourcesContent[setArray.put(sources,source)]=content},exports2.toDecodedMap=map=>{const{file,sourceRoot,_mappings:mappings,_sources:sources,_sourcesContent:sourcesContent,_names:names}=map;return removeEmptyFinalLines(mappings),{version:3,file:file||void 0,names:names.array,sourceRoot:sourceRoot||void 0,sources:sources.array,sourcesContent,mappings}},exports2.toEncodedMap=map=>{const decoded=exports2.toDecodedMap(map);return Object.assign(Object.assign({},decoded),{mappings:sourcemapCodec.encode(decoded.mappings)})},exports2.allMappings=map=>{const out=[],{_mappings:mappings,_sources:sources,_names:names}=map;for(let i=0;i<mappings.length;i++){const line=mappings[i];for(let j=0;j<line.length;j++){const seg=line[j],generated={line:i+1,column:seg[0]};let source,original,name;seg.length!==1&&(source=sources.array[seg[1]],original={line:seg[2]+1,column:seg[3]},seg.length===5&&(name=names.array[seg[4]])),out.push({generated,source,original,name})}}return out},exports2.fromMap=input=>{const map=new traceMapping.TraceMap(input),gen=new GenMapping({file:map.file,sourceRoot:map.sourceRoot});return putAll(gen._names,map.names),putAll(gen._sources,map.sources),gen._sourcesContent=map.sourcesContent||map.sources.map(()=>null),gen._mappings=traceMapping.decodedMappings(map),gen},addSegmentInternal=(skipable,map,genLine,genColumn,source,sourceLine,sourceColumn,name,content)=>{const{_mappings:mappings,_sources:sources,_sourcesContent:sourcesContent,_names:names}=map,line=getLine(mappings,genLine),index=getColumnIndex(line,genColumn);if(!source)return skipable&&skipSourceless(line,index)?void 0:insert(line,index,[genColumn]);const sourcesIndex=setArray.put(sources,source),namesIndex=name?setArray.put(names,name):-1;if(sourcesIndex===sourcesContent.length&&(sourcesContent[sourcesIndex]=content??null),!(skipable&&skipSource(line,index,sourcesIndex,sourceLine,sourceColumn,namesIndex)))return insert(line,index,name?[genColumn,sourcesIndex,sourceLine,sourceColumn,namesIndex]:[genColumn,sourcesIndex,sourceLine,sourceColumn])};function getLine(mappings,index){for(let i=mappings.length;i<=index;i++)mappings[i]=[];return mappings[index]}function getColumnIndex(line,genColumn){let index=line.length;for(let i=index-1;i>=0;index=i--){const current=line[i];if(genColumn>=current[0])break}return index}function insert(array,index,value){for(let i=array.length;i>index;i--)array[i]=array[i-1];array[index]=value}function removeEmptyFinalLines(mappings){const{length}=mappings;let len=length;for(let i=len-1;i>=0&&!(mappings[i].length>0);len=i,i--);len<length&&(mappings.length=len)}function putAll(strarr,array){for(let i=0;i<array.length;i++)setArray.put(strarr,array[i])}function skipSourceless(line,index){return index===0?!0:line[index-1].length===1}function skipSource(line,index,sourcesIndex,sourceLine,sourceColumn,namesIndex){if(index===0)return!1;const prev=line[index-1];return prev.length===1?!1:sourcesIndex===prev[1]&&sourceLine===prev[2]&&sourceColumn===prev[3]&&namesIndex===(prev.length===5?prev[4]:-1)}function addMappingInternal(skipable,map,mapping){const{generated,source,original,name,content}=mapping;if(!source)return addSegmentInternal(skipable,map,generated.line-1,generated.column,null,null,null,null,null);const s=source;return addSegmentInternal(skipable,map,generated.line-1,generated.column,s,original.line-1,original.column,name,content)}exports2.GenMapping=GenMapping,Object.defineProperty(exports2,"__esModule",{value:!0})})},48435:function(module){(function(global2,factory){module.exports=factory()})(this,function(){"use strict";const schemeRegex=/^[\w+.-]+:\/\//,urlRegex=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,fileRegex=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var UrlType;(function(UrlType2){UrlType2[UrlType2.Empty=1]="Empty",UrlType2[UrlType2.Hash=2]="Hash",UrlType2[UrlType2.Query=3]="Query",UrlType2[UrlType2.RelativePath=4]="RelativePath",UrlType2[UrlType2.AbsolutePath=5]="AbsolutePath",UrlType2[UrlType2.SchemeRelative=6]="SchemeRelative",UrlType2[UrlType2.Absolute=7]="Absolute"})(UrlType||(UrlType={}));function isAbsoluteUrl(input){return schemeRegex.test(input)}function isSchemeRelativeUrl(input){return input.startsWith("//")}function isAbsolutePath(input){return input.startsWith("/")}function isFileUrl(input){return input.startsWith("file:")}function isRelative(input){return/^[.?#]/.test(input)}function parseAbsoluteUrl(input){const match=urlRegex.exec(input);return makeUrl(match[1],match[2]||"",match[3],match[4]||"",match[5]||"/",match[6]||"",match[7]||"")}function parseFileUrl(input){const match=fileRegex.exec(input),path=match[2];return makeUrl("file:","",match[1]||"","",isAbsolutePath(path)?path:"/"+path,match[3]||"",match[4]||"")}function makeUrl(scheme,user,host,port,path,query,hash){return{scheme,user,host,port,path,query,hash,type:UrlType.Absolute}}function parseUrl(input){if(isSchemeRelativeUrl(input)){const url2=parseAbsoluteUrl("http:"+input);return url2.scheme="",url2.type=UrlType.SchemeRelative,url2}if(isAbsolutePath(input)){const url2=parseAbsoluteUrl("http://foo.com"+input);return url2.scheme="",url2.host="",url2.type=UrlType.AbsolutePath,url2}if(isFileUrl(input))return parseFileUrl(input);if(isAbsoluteUrl(input))return parseAbsoluteUrl(input);const url=parseAbsoluteUrl("http://foo.com/"+input);return url.scheme="",url.host="",url.type=input?input.startsWith("?")?UrlType.Query:input.startsWith("#")?UrlType.Hash:UrlType.RelativePath:UrlType.Empty,url}function stripPathFilename(path){if(path.endsWith("/.."))return path;const index=path.lastIndexOf("/");return path.slice(0,index+1)}function mergePaths(url,base){normalizePath(base,base.type),url.path==="/"?url.path=base.path:url.path=stripPathFilename(base.path)+url.path}function normalizePath(url,type){const rel=type<=UrlType.RelativePath,pieces=url.path.split("/");let pointer=1,positive=0,addTrailingSlash=!1;for(let i=1;i<pieces.length;i++){const piece=pieces[i];if(!piece){addTrailingSlash=!0;continue}if(addTrailingSlash=!1,piece!=="."){if(piece===".."){positive?(addTrailingSlash=!0,positive--,pointer--):rel&&(pieces[pointer++]=piece);continue}pieces[pointer++]=piece,positive++}}let path="";for(let i=1;i<pointer;i++)path+="/"+pieces[i];(!path||addTrailingSlash&&!path.endsWith("/.."))&&(path+="/"),url.path=path}function resolve(input,base){if(!input&&!base)return"";const url=parseUrl(input);let inputType=url.type;if(base&&inputType!==UrlType.Absolute){const baseUrl=parseUrl(base),baseType=baseUrl.type;switch(inputType){case UrlType.Empty:url.hash=baseUrl.hash;case UrlType.Hash:url.query=baseUrl.query;case UrlType.Query:case UrlType.RelativePath:mergePaths(url,baseUrl);case UrlType.AbsolutePath:url.user=baseUrl.user,url.host=baseUrl.host,url.port=baseUrl.port;case UrlType.SchemeRelative:url.scheme=baseUrl.scheme}baseType>inputType&&(inputType=baseType)}normalizePath(url,inputType);const queryHash=url.query+url.hash;switch(inputType){case UrlType.Hash:case UrlType.Query:return queryHash;case UrlType.RelativePath:{const path=url.path.slice(1);return path?isRelative(base||input)&&!isRelative(path)?"./"+path+queryHash:path+queryHash:queryHash||"."}case UrlType.AbsolutePath:return url.path+queryHash;default:return url.scheme+"//"+url.user+url.host+url.port+url.path+queryHash}}return resolve})},22208:function(__unused_webpack_module,exports){(function(global2,factory){factory(exports)})(this,function(exports2){"use strict";exports2.get=void 0,exports2.put=void 0,exports2.pop=void 0;class SetArray{constructor(){this._indexes={__proto__:null},this.array=[]}}exports2.get=(strarr,key)=>strarr._indexes[key],exports2.put=(strarr,key)=>{const index=exports2.get(strarr,key);if(index!==void 0)return index;const{array,_indexes:indexes}=strarr;return indexes[key]=array.push(key)-1},exports2.pop=strarr=>{const{array,_indexes:indexes}=strarr;if(array.length===0)return;const last=array.pop();indexes[last]=void 0},exports2.SetArray=SetArray,Object.defineProperty(exports2,"__esModule",{value:!0})})},92297:function(__unused_webpack_module,exports,__webpack_require__){var Buffer=__webpack_require__(48764).Buffer;(function(global2,factory){factory(exports)})(this,function(exports2){"use strict";const comma=",".charCodeAt(0),semicolon=";".charCodeAt(0),chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",intToChar=new Uint8Array(64),charToInt=new Uint8Array(128);for(let i=0;i<chars.length;i++){const c=chars.charCodeAt(i);intToChar[i]=c,charToInt[c]=i}const td=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(buf){return Buffer.from(buf.buffer,buf.byteOffset,buf.byteLength).toString()}}:{decode(buf){let out="";for(let i=0;i<buf.length;i++)out+=String.fromCharCode(buf[i]);return out}};function decode(mappings){const state=new Int32Array(5),decoded=[];let index=0;do{const semi=indexOf(mappings,index),line=[];let sorted=!0,lastCol=0;state[0]=0;for(let i=index;i<semi;i++){let seg;i=decodeInteger(mappings,i,state,0);const col=state[0];col<lastCol&&(sorted=!1),lastCol=col,hasMoreVlq(mappings,i,semi)?(i=decodeInteger(mappings,i,state,1),i=decodeInteger(mappings,i,state,2),i=decodeInteger(mappings,i,state,3),hasMoreVlq(mappings,i,semi)?(i=decodeInteger(mappings,i,state,4),seg=[col,state[1],state[2],state[3],state[4]]):seg=[col,state[1],state[2],state[3]]):seg=[col],line.push(seg)}sorted||sort(line),decoded.push(line),index=semi+1}while(index<=mappings.length);return decoded}function indexOf(mappings,index){const idx=mappings.indexOf(";",index);return idx===-1?mappings.length:idx}function decodeInteger(mappings,pos,state,j){let value=0,shift=0,integer=0;do{const c=mappings.charCodeAt(pos++);integer=charToInt[c],value|=(integer&31)<<shift,shift+=5}while(integer&32);const shouldNegate=value&1;return value>>>=1,shouldNegate&&(value=-2147483648|-value),state[j]+=value,pos}function hasMoreVlq(mappings,i,length){return i>=length?!1:mappings.charCodeAt(i)!==comma}function sort(line){line.sort(sortComparator)}function sortComparator(a,b){return a[0]-b[0]}function encode(decoded){const state=new Int32Array(5),bufLength=1024*16,subLength=bufLength-36,buf=new Uint8Array(bufLength),sub=buf.subarray(0,subLength);let pos=0,out="";for(let i=0;i<decoded.length;i++){const line=decoded[i];if(i>0&&(pos===bufLength&&(out+=td.decode(buf),pos=0),buf[pos++]=semicolon),line.length!==0){state[0]=0;for(let j=0;j<line.length;j++){const segment=line[j];pos>subLength&&(out+=td.decode(sub),buf.copyWithin(0,subLength,pos),pos-=subLength),j>0&&(buf[pos++]=comma),pos=encodeInteger(buf,pos,state,segment,0),segment.length!==1&&(pos=encodeInteger(buf,pos,state,segment,1),pos=encodeInteger(buf,pos,state,segment,2),pos=encodeInteger(buf,pos,state,segment,3),segment.length!==4&&(pos=encodeInteger(buf,pos,state,segment,4)))}}}return out+td.decode(buf.subarray(0,pos))}function encodeInteger(buf,pos,state,segment,j){const next=segment[j];let num=next-state[j];state[j]=next,num=num<0?-num<<1|1:num<<1;do{let clamped=num&31;num>>>=5,num>0&&(clamped|=32),buf[pos++]=intToChar[clamped]}while(num>0);return pos}exports2.decode=decode,exports2.encode=encode,Object.defineProperty(exports2,"__esModule",{value:!0})})},83446:function(__unused_webpack_module,exports,__webpack_require__){(function(global2,factory){factory(exports,__webpack_require__(92297),__webpack_require__(48435))})(this,function(exports2,sourcemapCodec,resolveUri){"use strict";function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var resolveUri__default=_interopDefaultLegacy(resolveUri);function resolve(input,base){return base&&!base.endsWith("/")&&(base+="/"),resolveUri__default.default(input,base)}function stripFilename(path){if(!path)return"";const index=path.lastIndexOf("/");return path.slice(0,index+1)}const COLUMN=0,SOURCES_INDEX=1,SOURCE_LINE=2,SOURCE_COLUMN=3,NAMES_INDEX=4,REV_GENERATED_LINE=1,REV_GENERATED_COLUMN=2;function maybeSort(mappings,owned){const unsortedIndex=nextUnsortedSegmentLine(mappings,0);if(unsortedIndex===mappings.length)return mappings;owned||(mappings=mappings.slice());for(let i=unsortedIndex;i<mappings.length;i=nextUnsortedSegmentLine(mappings,i+1))mappings[i]=sortSegments(mappings[i],owned);return mappings}function nextUnsortedSegmentLine(mappings,start){for(let i=start;i<mappings.length;i++)if(!isSorted(mappings[i]))return i;return mappings.length}function isSorted(line){for(let j=1;j<line.length;j++)if(line[j][COLUMN]<line[j-1][COLUMN])return!1;return!0}function sortSegments(line,owned){return owned||(line=line.slice()),line.sort(sortComparator)}function sortComparator(a,b){return a[COLUMN]-b[COLUMN]}let found=!1;function binarySearch(haystack,needle,low,high){for(;low<=high;){const mid=low+(high-low>>1),cmp=haystack[mid][COLUMN]-needle;if(cmp===0)return found=!0,mid;cmp<0?low=mid+1:high=mid-1}return found=!1,low-1}function upperBound(haystack,needle,index){for(let i=index+1;i<haystack.length&&haystack[i][COLUMN]===needle;index=i++);return index}function lowerBound(haystack,needle,index){for(let i=index-1;i>=0&&haystack[i][COLUMN]===needle;index=i--);return index}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(haystack,needle,state,key){const{lastKey,lastNeedle,lastIndex}=state;let low=0,high=haystack.length-1;if(key===lastKey){if(needle===lastNeedle)return found=lastIndex!==-1&&haystack[lastIndex][COLUMN]===needle,lastIndex;needle>=lastNeedle?low=lastIndex===-1?0:lastIndex:high=lastIndex}return state.lastKey=key,state.lastNeedle=needle,state.lastIndex=binarySearch(haystack,needle,low,high)}function buildBySources(decoded,memos){const sources=memos.map(buildNullArray);for(let i=0;i<decoded.length;i++){const line=decoded[i];for(let j=0;j<line.length;j++){const seg=line[j];if(seg.length===1)continue;const sourceIndex=seg[SOURCES_INDEX],sourceLine=seg[SOURCE_LINE],sourceColumn=seg[SOURCE_COLUMN],originalSource=sources[sourceIndex],originalLine=originalSource[sourceLine]||(originalSource[sourceLine]=[]),memo=memos[sourceIndex],index=upperBound(originalLine,sourceColumn,memoizedBinarySearch(originalLine,sourceColumn,memo,sourceLine));insert(originalLine,memo.lastIndex=index+1,[sourceColumn,i,seg[COLUMN]])}}return sources}function insert(array,index,value){for(let i=array.length;i>index;i--)array[i]=array[i-1];array[index]=value}function buildNullArray(){return{__proto__:null}}const AnyMap=function(map,mapUrl){const parsed=typeof map=="string"?JSON.parse(map):map;if(!("sections"in parsed))return new TraceMap(parsed,mapUrl);const mappings=[],sources=[],sourcesContent=[],names=[];recurse(parsed,mapUrl,mappings,sources,sourcesContent,names,0,0,1/0,1/0);const joined={version:3,file:parsed.file,names,sources,sourcesContent,mappings};return exports2.presortedDecodedMap(joined)};function recurse(input,mapUrl,mappings,sources,sourcesContent,names,lineOffset,columnOffset,stopLine,stopColumn){const{sections}=input;for(let i=0;i<sections.length;i++){const{map,offset}=sections[i];let sl=stopLine,sc=stopColumn;if(i+1<sections.length){const nextOffset=sections[i+1].offset;sl=Math.min(stopLine,lineOffset+nextOffset.line),sl===stopLine?sc=Math.min(stopColumn,columnOffset+nextOffset.column):sl<stopLine&&(sc=columnOffset+nextOffset.column)}addSection(map,mapUrl,mappings,sources,sourcesContent,names,lineOffset+offset.line,columnOffset+offset.column,sl,sc)}}function addSection(input,mapUrl,mappings,sources,sourcesContent,names,lineOffset,columnOffset,stopLine,stopColumn){if("sections"in input)return recurse(...arguments);const map=new TraceMap(input,mapUrl),sourcesOffset=sources.length,namesOffset=names.length,decoded=exports2.decodedMappings(map),{resolvedSources,sourcesContent:contents}=map;if(append(sources,resolvedSources),append(names,map.names),contents)append(sourcesContent,contents);else for(let i=0;i<resolvedSources.length;i++)sourcesContent.push(null);for(let i=0;i<decoded.length;i++){const lineI=lineOffset+i;if(lineI>stopLine)return;const out=getLine(mappings,lineI),cOffset=i===0?columnOffset:0,line=decoded[i];for(let j=0;j<line.length;j++){const seg=line[j],column=cOffset+seg[COLUMN];if(lineI===stopLine&&column>=stopColumn)return;if(seg.length===1){out.push([column]);continue}const sourcesIndex=sourcesOffset+seg[SOURCES_INDEX],sourceLine=seg[SOURCE_LINE],sourceColumn=seg[SOURCE_COLUMN];out.push(seg.length===4?[column,sourcesIndex,sourceLine,sourceColumn]:[column,sourcesIndex,sourceLine,sourceColumn,namesOffset+seg[NAMES_INDEX]])}}}function append(arr,other){for(let i=0;i<other.length;i++)arr.push(other[i])}function getLine(arr,index){for(let i=arr.length;i<=index;i++)arr[i]=[];return arr[index]}const LINE_GTR_ZERO="`line` must be greater than 0 (lines start at line 1)",COL_GTR_EQ_ZERO="`column` must be greater than or equal to 0 (columns start at column 0)",LEAST_UPPER_BOUND=-1,GREATEST_LOWER_BOUND=1;exports2.encodedMappings=void 0,exports2.decodedMappings=void 0,exports2.traceSegment=void 0,exports2.originalPositionFor=void 0,exports2.generatedPositionFor=void 0,exports2.allGeneratedPositionsFor=void 0,exports2.eachMapping=void 0,exports2.sourceContentFor=void 0,exports2.presortedDecodedMap=void 0,exports2.decodedMap=void 0,exports2.encodedMap=void 0;class TraceMap{constructor(map,mapUrl){const isString=typeof map=="string";if(!isString&&map._decodedMemo)return map;const parsed=isString?JSON.parse(map):map,{version,file,names,sourceRoot,sources,sourcesContent}=parsed;this.version=version,this.file=file,this.names=names,this.sourceRoot=sourceRoot,this.sources=sources,this.sourcesContent=sourcesContent;const from=resolve(sourceRoot||"",stripFilename(mapUrl));this.resolvedSources=sources.map(s=>resolve(s||"",from));const{mappings}=parsed;typeof mappings=="string"?(this._encoded=mappings,this._decoded=void 0):(this._encoded=void 0,this._decoded=maybeSort(mappings,isString)),this._decodedMemo=memoizedState(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{exports2.encodedMappings=map=>{var _a;return(_a=map._encoded)!==null&&_a!==void 0?_a:map._encoded=sourcemapCodec.encode(map._decoded)},exports2.decodedMappings=map=>map._decoded||(map._decoded=sourcemapCodec.decode(map._encoded)),exports2.traceSegment=(map,line,column)=>{const decoded=exports2.decodedMappings(map);if(line>=decoded.length)return null;const segments=decoded[line],index=traceSegmentInternal(segments,map._decodedMemo,line,column,GREATEST_LOWER_BOUND);return index===-1?null:segments[index]},exports2.originalPositionFor=(map,{line,column,bias})=>{if(line--,line<0)throw new Error(LINE_GTR_ZERO);if(column<0)throw new Error(COL_GTR_EQ_ZERO);const decoded=exports2.decodedMappings(map);if(line>=decoded.length)return OMapping(null,null,null,null);const segments=decoded[line],index=traceSegmentInternal(segments,map._decodedMemo,line,column,bias||GREATEST_LOWER_BOUND);if(index===-1)return OMapping(null,null,null,null);const segment=segments[index];if(segment.length===1)return OMapping(null,null,null,null);const{names,resolvedSources}=map;return OMapping(resolvedSources[segment[SOURCES_INDEX]],segment[SOURCE_LINE]+1,segment[SOURCE_COLUMN],segment.length===5?names[segment[NAMES_INDEX]]:null)},exports2.allGeneratedPositionsFor=(map,{source,line,column,bias})=>generatedPosition(map,source,line,column,bias||LEAST_UPPER_BOUND,!0),exports2.generatedPositionFor=(map,{source,line,column,bias})=>generatedPosition(map,source,line,column,bias||GREATEST_LOWER_BOUND,!1),exports2.eachMapping=(map,cb)=>{const decoded=exports2.decodedMappings(map),{names,resolvedSources}=map;for(let i=0;i<decoded.length;i++){const line=decoded[i];for(let j=0;j<line.length;j++){const seg=line[j],generatedLine=i+1,generatedColumn=seg[0];let source=null,originalLine=null,originalColumn=null,name=null;seg.length!==1&&(source=resolvedSources[seg[1]],originalLine=seg[2]+1,originalColumn=seg[3]),seg.length===5&&(name=names[seg[4]]),cb({generatedLine,generatedColumn,source,originalLine,originalColumn,name})}}},exports2.sourceContentFor=(map,source)=>{const{sources,resolvedSources,sourcesContent}=map;if(sourcesContent==null)return null;let index=sources.indexOf(source);return index===-1&&(index=resolvedSources.indexOf(source)),index===-1?null:sourcesContent[index]},exports2.presortedDecodedMap=(map,mapUrl)=>{const tracer=new TraceMap(clone(map,[]),mapUrl);return tracer._decoded=map.mappings,tracer},exports2.decodedMap=map=>clone(map,exports2.decodedMappings(map)),exports2.encodedMap=map=>clone(map,exports2.encodedMappings(map));function generatedPosition(map,source,line,column,bias,all){if(line--,line<0)throw new Error(LINE_GTR_ZERO);if(column<0)throw new Error(COL_GTR_EQ_ZERO);const{sources,resolvedSources}=map;let sourceIndex=sources.indexOf(source);if(sourceIndex===-1&&(sourceIndex=resolvedSources.indexOf(source)),sourceIndex===-1)return all?[]:GMapping(null,null);const segments=(map._bySources||(map._bySources=buildBySources(exports2.decodedMappings(map),map._bySourceMemos=sources.map(memoizedState))))[sourceIndex][line];if(segments==null)return all?[]:GMapping(null,null);const memo=map._bySourceMemos[sourceIndex];if(all)return sliceGeneratedPositions(segments,memo,line,column,bias);const index=traceSegmentInternal(segments,memo,line,column,bias);if(index===-1)return GMapping(null,null);const segment=segments[index];return GMapping(segment[REV_GENERATED_LINE]+1,segment[REV_GENERATED_COLUMN])}})();function clone(map,mappings){return{version:map.version,file:map.file,names:map.names,sourceRoot:map.sourceRoot,sources:map.sources,sourcesContent:map.sourcesContent,mappings}}function OMapping(source,line,column,name){return{source,line,column,name}}function GMapping(line,column){return{line,column}}function traceSegmentInternal(segments,memo,line,column,bias){let index=memoizedBinarySearch(segments,column,memo,line);return found?index=(bias===LEAST_UPPER_BOUND?upperBound:lowerBound)(segments,column,index):bias===LEAST_UPPER_BOUND&&index++,index===-1||index===segments.length?-1:index}function sliceGeneratedPositions(segments,memo,line,column,bias){let min=traceSegmentInternal(segments,memo,line,column,GREATEST_LOWER_BOUND);if(!found&&bias===LEAST_UPPER_BOUND&&min++,min===-1||min===segments.length)return[];const matchedColumn=found?column:segments[min][COLUMN];found||(min=lowerBound(segments,matchedColumn,min));const max=upperBound(segments,matchedColumn,min),result=[];for(;min<=max;min++){const segment=segments[min];result.push(GMapping(segment[REV_GENERATED_LINE]+1,segment[REV_GENERATED_COLUMN]))}return result}exports2.AnyMap=AnyMap,exports2.GREATEST_LOWER_BOUND=GREATEST_LOWER_BOUND,exports2.LEAST_UPPER_BOUND=LEAST_UPPER_BOUND,exports2.TraceMap=TraceMap,Object.defineProperty(exports2,"__esModule",{value:!0})})},79744:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(59394))},40461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0});var node_fs_1=__webpack_require__(98554);exports.NodeFS=node_fs_1.NodeFS,__export(__webpack_require__(90786))},98554:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const path_1=__webpack_require__(26470),fs_1=__importDefault(__webpack_require__(591)),promises_1=__importDefault(__webpack_require__(90786));class NodeFS{constructor(workingDir){this.workingDir=workingDir,this.promises=new promises_1.default}getPath(path){return path_1.join(this.workingDir,path)}access(path,mode,callback){fs_1.default.access(this.getPath(path),mode,callback)}accessSync(path,mode){fs_1.default.accessSync(this.getPath(path),mode)}appendFile(file,data,options,callback){fs_1.default.appendFile(this.getPath(file),data,options)}appendFileSync(file,data,options){fs_1.default.appendFileSync(this.getPath(file),data,options)}chmod(path,mode,callback){fs_1.default.chmod(this.getPath(path),mode,callback)}chmodSync(path,mode){fs_1.default.chmodSync(this.getPath(path),mode)}chown(path,uid,gid,callback){fs_1.default.chown(this.getPath(path),uid,gid,callback)}chownSync(path,uid,gid){fs_1.default.chownSync(this.getPath(path),uid,gid)}close(fd,callback){fs_1.default.close(fd,callback)}closeSync(fd){fs_1.default.closeSync(fd)}copyFile(src,dest,callback){fs_1.default.copyFile(src,dest,callback)}copyFileSync(src,dest,flags){fs_1.default.copyFileSync(src,dest,flags)}createReadStream(path,options){return fs_1.default.createReadStream(this.getPath(path),options)}createWriteStream(path,options){return fs_1.default.createWriteStream(this.getPath(path),options)}exists(path,callback){fs_1.default.exists(this.getPath(path),callback)}existsSync(path){return fs_1.default.existsSync(this.getPath(path))}fchmod(fd,mode,callback){fs_1.default.fchmod(fd,mode,callback)}fchmodSync(fd,mode){fs_1.default.fchmodSync(fd,mode)}fchown(fd,uid,gid,callback){fs_1.default.fchown(fd,uid,gid,callback)}fchownSync(fd,uid,gid){fs_1.default.fchownSync(fd,uid,gid)}fdatasync(fd,callback){fs_1.default.fdatasync(fd,callback)}fdatasyncSync(fd){fs_1.default.fdatasyncSync(fd)}fstat(fd,callback){fs_1.default.fstat(fd,callback)}fstatSync(fd){return fs_1.default.fstatSync(fd)}fsync(fd,callback){fs_1.default.fsync(fd,callback)}fsyncSync(fd){fs_1.default.fsyncSync(fd)}ftruncate(fd,len,callback){fs_1.default.ftruncate(fd,len,callback)}ftruncateSync(fd,len){fs_1.default.ftruncateSync(fd,len)}futimes(fd,atime,mtime,callback){fs_1.default.futimes(fd,atime,mtime,callback)}futimesSync(fd,atime,mtime){fs_1.default.futimesSync(fd,atime,mtime)}lchmod(path,mode,callback){fs_1.default.lchmod(this.getPath(path),mode,callback)}lchmodSync(path,mode){fs_1.default.lchmodSync(this.getPath(path),mode)}lchown(path,uid,gid,callback){fs_1.default.lchown(this.getPath(path),uid,gid,callback)}lchownSync(path,uid,gid){fs_1.default.lchownSync(this.getPath(path),uid,gid)}link(existingPath,newPath,callback){fs_1.default.link(existingPath,newPath,callback)}linkSync(existingPath,newPath){fs_1.default.linkSync(existingPath,newPath)}lstat(path,callback){fs_1.default.lstat(this.getPath(path),callback)}lstatSync(path){return fs_1.default.lstatSync(path)}mkdir(path,options,callback){fs_1.default.mkdir(this.getPath(path),options,callback)}mkdirSync(path,options){fs_1.default.mkdirSync(this.getPath(path),options)}mkdtemp(prefix,options,callback){fs_1.default.mkdtemp(prefix,options,callback)}mkdtempSync(prefix,options){return fs_1.default.mkdtempSync(prefix,options)}open(path,flags,mode,callback){fs_1.default.open(this.getPath(path),flags,mode,callback)}openSync(path,flags,mode){return fs_1.default.openSync(this.getPath(path),flags,mode)}read(fd,buffer,offset,length,position,callback){fs_1.default.read(fd,buffer,offset,length,position,callback)}readFile(path,options,callback){}readFileSync(path,options){return fs_1.default.readFileSync(this.getPath(path))}readSync(fd,buffer,offset,length,position){return fs_1.default.readSync(fd,buffer,offset,length,position)}readdir(path,options,callback){fs_1.default.readdir(this.getPath(path),options,callback)}readdirSync(path,options){return fs_1.default.readdirSync(this.getPath(path),options)}readlink(path,options,callback){fs_1.default.readlink(this.getPath(path),options,callback)}readlinkSync(path,options){return fs_1.default.readlinkSync(this.getPath(path),options)}realpath(path,options,callback){fs_1.default.realpath(this.getPath(path),options,callback)}realpathSync(path,options){return fs_1.default.realpathSync(this.getPath(path),options)}rename(oldPath,newPath,callback){fs_1.default.rename(oldPath,newPath,callback)}renameSync(oldPath,newPath){fs_1.default.renameSync(oldPath,newPath)}rmdir(path,callback){fs_1.default.rmdir(this.getPath(path),callback)}rmdirSync(path){fs_1.default.rmdirSync(this.getPath(path))}stat(path,callback){fs_1.default.stat(this.getPath(path),callback)}statSync(path){return fs_1.default.statSync(path)}symlink(target,path,type,callback){fs_1.default.symlink(target,this.getPath(path),type,callback)}symlinkSync(target,path,type){fs_1.default.symlinkSync(target,this.getPath(path),type)}truncate(path,len,callback){fs_1.default.truncate(this.getPath(path),len,callback)}truncateSync(path,len){fs_1.default.truncateSync(this.getPath(path),len)}unlink(path,callback){fs_1.default.unlink(this.getPath(path),callback)}unlinkSync(path){fs_1.default.unlinkSync(this.getPath(path))}unwatchFile(filename,listener){fs_1.default.unwatchFile(filename,listener)}utimes(path,atime,mtime,callback){fs_1.default.utimes(this.getPath(path),atime,mtime,callback)}utimesSync(path,atime,mtime){fs_1.default.utimesSync(this.getPath(path),atime,mtime)}watch(filename,options,listener){return fs_1.default.watch(filename,options,listener)}watchFile(filename,options,listener){fs_1.default.watchFile(filename,options,listener)}writeFile(path,data,options,callback){fs_1.default.writeFile(this.getPath(path),data,options)}writeFileSync(path,data,options){fs_1.default.writeFileSync(this.getPath(path),data,options)}writeSync(fd,buffer,offset,length,position){return fs_1.default.writeSync(fd,buffer,offset,length,position)}write(fd,buffer,offset,length,position,callback){this.write(fd,buffer,offset,length,position,callback)}}exports.NodeFS=NodeFS},90786:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const fs_1=__importDefault(__webpack_require__(591));class FsPromisesAPI{access(path,mode){return fs_1.default.promises.access(path,mode)}appendFile(path,data,options){return fs_1.default.promises.appendFile(path,data)}chmod(path,mode){return fs_1.default.promises.chmod(path,mode)}chown(path,uid,gid){return fs_1.default.promises.chown(path,uid,gid)}copyFile(src,dest,flags){return fs_1.default.promises.copyFile(src,dest,flags)}fchmod(handle,mode){return fs_1.default.promises.fchmod(handle,mode)}fchown(handle,uid,gid){return fs_1.default.promises.fchown(handle,uid,gid)}fdatasync(handle){return fs_1.default.promises.fdatasync(handle)}fstat(handle){return fs_1.default.promises.fstat(handle)}fsync(handle){return fs_1.default.promises.fsync(handle)}ftruncate(handle,len){return fs_1.default.promises.ftruncate(handle,len)}futimes(handle,atime,mtime){return fs_1.default.promises.futimes(handle,atime,mtime)}lchmod(path,mode){return fs_1.default.promises.lchmod(path,mode)}lchown(path,uid,gid){return fs_1.default.promises.lchown(path,uid,gid)}link(existingPath,newPath){return fs_1.default.promises.link(existingPath,newPath)}lstat(path){return fs_1.default.promises.lstat(path)}mkdir(path,options){return fs_1.default.promises.mkdir(path,options)}mkdtemp(prefix,options){return fs_1.default.promises.mkdtemp(prefix,options)}open(path,flags,mode){return fs_1.default.promises.open(path,flags,mode)}read(handle,buffer,offset,length,position){return fs_1.default.promises.read(handle,buffer,offset,length,position)}readFile(path,options){return fs_1.default.promises.readFile(path,options)}readdir(path,options){return fs_1.default.promises.readdir(path,options)}readlink(path,options){return fs_1.default.promises.readlink(path,options)}realpath(path,options){return fs_1.default.promises.realpath(path,options)}rename(oldPath,newPath){return fs_1.default.promises.rename(oldPath,newPath)}rmdir(path){return fs_1.default.promises.rmdir(path)}stat(path){return fs_1.default.promises.stat(path)}symlink(target,path,type){return fs_1.default.promises.symlink(target,path,type)}truncate(path,len){return fs_1.default.promises.truncate(path,len)}unlink(path){return fs_1.default.promises.unlink(path)}utimes(path,atime,mtime){return fs_1.default.promises.utimes(path,atime,mtime)}write(handle,buffer,offset,length,position){fs_1.default.promises.write(handle,buffer,offset,length)}writeFile(path,data,options){return fs_1.default.promises.writeFile(path,data,options)}}exports.default=FsPromisesAPI},59394:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(40461)),__export(__webpack_require__(48682))},48682:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}Object.defineProperty(exports,"__esModule",{value:!0}),__export(__webpack_require__(95590))},95590:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const memfs_1=__webpack_require__(66612);class MemoryFS{constructor(){this.volume=new memfs_1.Volume,this.promises=this.volume.promises}access(path,mode,callback){this.volume.access(path,mode,callback)}accessSync(path,mode){this.volume.accessSync(path,mode)}appendFile(file,data,options,callback){this.volume.appendFile(file,data,options)}mkdirpSync(path){this.volume.mkdirpSync(path)}appendFileSync(file,data,options){this.volume.appendFileSync(file,data,options)}chmod(path,mode,callback){this.volume.chmod(path,mode,callback)}chmodSync(path,mode){this.volume.chmodSync(path,mode)}chown(path,uid,gid,callback){this.volume.chown(path,uid,gid,callback)}chownSync(path,uid,gid){this.volume.chownSync(path,uid,gid)}close(fd,callback){this.volume.close(fd,callback)}closeSync(fd){this.volume.closeSync(fd)}copyFile(src,dest,callback){this.volume.copyFile(src,dest,callback)}copyFileSync(src,dest,flags){this.volume.copyFileSync(src,dest,flags)}createReadStream(path,options){return this.volume.createReadStream(path,options)}createWriteStream(path,options){return this.volume.createWriteStream(path,options)}exists(path,callback){this.volume.exists(path,callback)}existsSync(path){return!1}fchmod(fd,mode,callback){this.volume.fchmod(fd,mode,callback)}fchmodSync(fd,mode){this.volume.fchmodSync(fd,mode)}fchown(fd,uid,gid,callback){this.volume.fchown(fd,uid,gid,callback)}fchownSync(fd,uid,gid){this.volume.fchownSync(fd,uid,gid)}fdatasync(fd,callback){this.volume.fdatasync(fd,callback)}fdatasyncSync(fd){this.volume.fdatasyncSync(fd)}fstat(fd,callback){this.volume.fstat(fd,callback)}fstatSync(fd){return this.volume.fstatSync(fd)}fsync(fd,callback){this.volume.fsync(fd,callback)}fsyncSync(fd){this.volume.fsyncSync(fd)}ftruncate(fd,len,callback){this.volume.ftruncate(fd,len,callback)}ftruncateSync(fd,len){this.volume.ftruncateSync(fd,len)}futimes(fd,atime,mtime,callback){this.volume.futimes(fd,atime,mtime,callback)}futimesSync(fd,atime,mtime){this.volume.futimesSync(fd,atime,mtime)}lchmod(path,mode,callback){this.volume.lchmod(path,mode,callback)}lchmodSync(path,mode){this.volume.lchmodSync(path,mode)}lchown(path,uid,gid,callback){this.volume.lchown(path,uid,gid,callback)}lchownSync(path,uid,gid){this.volume.lchownSync(path,uid,gid)}link(existingPath,newPath,callback){this.volume.link(existingPath,newPath,callback)}linkSync(existingPath,newPath){this.volume.linkSync(existingPath,newPath)}lstat(path,callback){this.volume.lstat(path,callback)}lstatSync(path){return this.volume.lstatSync(path)}mkdir(path,options,callback){this.volume.mkdir(path,options,callback)}mkdirSync(path,options){this.volume.mkdirSync(path,options)}mkdtemp(prefix,options,callback){this.volume.mkdtemp(prefix,options,callback)}mkdtempSync(prefix,options){return this.volume.mkdtempSync(prefix,options)}open(path,flags,mode,callback){this.volume.open(path,flags,mode,callback)}openSync(path,flags,mode){return this.volume.openSync(path,flags,mode)}read(fd,buffer,offset,length,position,callback){this.volume.read(fd,buffer,offset,length,position,callback)}readFile(path,options,callback){}readFileSync(path,options){return this.volume.readFileSync(path)}readSync(fd,buffer,offset,length,position){return this.volume.readSync(fd,buffer,offset,length,position)}readdir(path,options,callback){this.volume.readdir(path,options,callback)}readdirSync(path,options){return this.volume.readdirSync(path,options)}readlink(path,options,callback){this.volume.readlink(path,options,callback)}readlinkSync(path,options){return this.volume.readlinkSync(path,options)}realpath(path,options,callback){this.volume.realpath(path,options,callback)}realpathSync(path,options){return this.volume.realpathSync(path,options)}rename(oldPath,newPath,callback){this.volume.rename(oldPath,newPath,callback)}renameSync(oldPath,newPath){this.volume.renameSync(oldPath,newPath)}rmdir(path,callback){this.volume.rmdir(path,callback)}rmdirSync(path){this.volume.rmdirSync(path)}stat(path,callback){this.volume.stat(path,callback)}statSync(path){return this.volume.statSync(path)}symlink(target,path,type,callback){this.volume.symlink(target,path,type,callback)}symlinkSync(target,path,type){this.volume.symlinkSync(target,path,type)}truncate(path,len,callback){this.volume.truncate(path,len,callback)}truncateSync(path,len){this.volume.truncateSync(path,len)}unlink(path,callback){this.volume.unlink(path,callback)}unlinkSync(path){this.volume.unlinkSync(path)}unwatchFile(filename,listener){this.volume.unwatchFile(filename,listener)}utimes(path,atime,mtime,callback){this.volume.utimes(path,atime,mtime,callback)}utimesSync(path,atime,mtime){this.volume.utimesSync(path,atime,mtime)}watch(filename,options,listener){return this.volume.watch(filename,options,listener)}watchFile(filename,options,listener){this.volume.watchFile(filename,options,listener)}writeFile(path,data,options,callback){this.volume.writeFile(path,data,options)}writeFileSync(path,data,options){this.volume.writeFileSync(path,data,options)}writeSync(fd,buffer,offset,length,position){return this.volume.writeSync(fd,buffer,offset,length,position)}write(fd,buffer,offset,length,position,callback){this.write(fd,buffer,offset,length,position,callback)}}exports.MemoryFS=MemoryFS},79129:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var __webpack_unused_export__,process=__webpack_require__(34155);__webpack_unused_export__={value:!0},exports.Z4=unixify,__webpack_unused_export__=correctPath;var isWin=process.platform==="win32";function removeTrailingSeparator(str){var i=str.length-1;if(i<2)return str;for(;isSeparator(str,i);)i--;return str.substr(0,i+1)}function isSeparator(str,i){var char=str[i];return i>0&&(char==="/"||isWin&&char==="\\")}function normalizePath(str,stripTrailing){if(typeof str!="string")throw new TypeError("expected a string");return str=str.replace(/[\\\/]+/g,"/"),stripTrailing!==!1&&(str=removeTrailingSeparator(str)),str}function unixify(filepath){var stripTrailing=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return isWin?(filepath=normalizePath(filepath,stripTrailing),filepath.replace(/^([a-zA-Z]+:|\.\/)/,"")):filepath}function correctPath(filepath){return unixify(filepath.replace(/^\\\\\?\\.:\\/,"\\"))}},97122:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var fsProps=exports.fsProps=["constants","F_OK","R_OK","W_OK","X_OK","Stats"],fsSyncMethods=exports.fsSyncMethods=["renameSync","ftruncateSync","truncateSync","chownSync","fchownSync","lchownSync","chmodSync","fchmodSync","lchmodSync","statSync","lstatSync","fstatSync","linkSync","symlinkSync","readlinkSync","realpathSync","unlinkSync","rmdirSync","mkdirSync","mkdirpSync","readdirSync","closeSync","openSync","utimesSync","futimesSync","fsyncSync","writeSync","readSync","readFileSync","writeFileSync","appendFileSync","existsSync","accessSync","fdatasyncSync","mkdtempSync","copyFileSync","createReadStream","createWriteStream"],fsAsyncMethods=exports.fsAsyncMethods=["rename","ftruncate","truncate","chown","fchown","lchown","chmod","fchmod","lchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","mkdirp","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","exists","access","fdatasync","mkdtemp","copyFile","watchFile","unwatchFile","watch"]},62456:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(95287),encoding_1=__webpack_require__(5866),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Dirent=function(){function Dirent2(){this.name="",this.mode=0}return Dirent2.build=function(link,encoding){var dirent=new Dirent2,mode=link.getNode().mode;return dirent.name=encoding_1.strToEncoding(link.getName(),encoding),dirent.mode=mode,dirent},Dirent2.prototype._checkModeProperty=function(property){return(this.mode&S_IFMT)===property},Dirent2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Dirent2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Dirent2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Dirent2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Dirent2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Dirent2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Dirent2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Dirent2}();exports.Dirent=Dirent,exports.default=Dirent},22282:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants_1=__webpack_require__(95287),getBigInt_1=__webpack_require__(65019),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,Stats=function(){function Stats2(){}return Stats2.build=function(node,bigint){bigint===void 0&&(bigint=!1);var stats=new Stats2,uid=node.uid,gid=node.gid,atime=node.atime,mtime=node.mtime,ctime=node.ctime,getStatNumber=bigint?getBigInt_1.default:function(number){return number};stats.uid=getStatNumber(uid),stats.gid=getStatNumber(gid),stats.rdev=getStatNumber(0),stats.blksize=getStatNumber(4096),stats.ino=getStatNumber(node.ino),stats.size=getStatNumber(node.getSize()),stats.blocks=getStatNumber(1),stats.atime=atime,stats.mtime=mtime,stats.ctime=ctime,stats.birthtime=ctime,stats.atimeMs=getStatNumber(atime.getTime()),stats.mtimeMs=getStatNumber(mtime.getTime());var ctimeMs=getStatNumber(ctime.getTime());return stats.ctimeMs=ctimeMs,stats.birthtimeMs=ctimeMs,stats.dev=getStatNumber(0),stats.mode=getStatNumber(node.mode),stats.nlink=getStatNumber(node.nlink),stats},Stats2.prototype._checkModeProperty=function(property){return(Number(this.mode)&S_IFMT)===property},Stats2.prototype.isDirectory=function(){return this._checkModeProperty(S_IFDIR)},Stats2.prototype.isFile=function(){return this._checkModeProperty(S_IFREG)},Stats2.prototype.isBlockDevice=function(){return this._checkModeProperty(S_IFBLK)},Stats2.prototype.isCharacterDevice=function(){return this._checkModeProperty(S_IFCHR)},Stats2.prototype.isSymbolicLink=function(){return this._checkModeProperty(S_IFLNK)},Stats2.prototype.isFIFO=function(){return this._checkModeProperty(S_IFIFO)},Stats2.prototype.isSocket=function(){return this._checkModeProperty(S_IFSOCK)},Stats2}();exports.Stats=Stats,exports.default=Stats},95287:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.constants={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:64,O_EXCL:128,O_NOCTTY:256,O_TRUNC:512,O_APPEND:1024,O_DIRECTORY:65536,O_NOATIME:262144,O_NOFOLLOW:131072,O_SYNC:1052672,O_DIRECT:16384,O_NONBLOCK:2048,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_SYMLINK_DIR:1,UV_FS_SYMLINK_JUNCTION:2,UV_FS_COPYFILE_EXCL:1,UV_FS_COPYFILE_FICLONE:2,UV_FS_COPYFILE_FICLONE_FORCE:4,COPYFILE_EXCL:1,COPYFILE_FICLONE:2,COPYFILE_FICLONE_FORCE:4}},5866:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(562),errors=__webpack_require__(12913);exports.ENCODING_UTF8="utf8";function assertEncoding(encoding){if(encoding&&!buffer_1.Buffer.isEncoding(encoding))throw new errors.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",encoding)}exports.assertEncoding=assertEncoding;function strToEncoding(str,encoding){return!encoding||encoding===exports.ENCODING_UTF8?str:encoding==="buffer"?new buffer_1.Buffer(str):new buffer_1.Buffer(str).toString(encoding)}exports.strToEncoding=strToEncoding},65019:(__unused_webpack_module,exports)=>{typeof BigInt=="function"?exports.default=BigInt:exports.default=function(){throw new Error("BigInt is not supported in this environment.")}},66612:function(module,exports,__webpack_require__){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)};Object.defineProperty(exports,"__esModule",{value:!0});var Stats_1=__webpack_require__(22282),Dirent_1=__webpack_require__(62456),volume_1=__webpack_require__(64129),_a=__webpack_require__(97122),fsSyncMethods=_a.fsSyncMethods,fsAsyncMethods=_a.fsAsyncMethods,constants_1=__webpack_require__(95287),F_OK=constants_1.constants.F_OK,R_OK=constants_1.constants.R_OK,W_OK=constants_1.constants.W_OK,X_OK=constants_1.constants.X_OK;exports.Volume=volume_1.Volume,exports.vol=new volume_1.Volume;function createFsFromVolume(vol){for(var fs={F_OK,R_OK,W_OK,X_OK,constants:constants_1.constants,Stats:Stats_1.default,Dirent:Dirent_1.default},_i=0,fsSyncMethods_1=fsSyncMethods;_i<fsSyncMethods_1.length;_i++){var method=fsSyncMethods_1[_i];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}for(var _a2=0,fsAsyncMethods_1=fsAsyncMethods;_a2<fsAsyncMethods_1.length;_a2++){var method=fsAsyncMethods_1[_a2];typeof vol[method]=="function"&&(fs[method]=vol[method].bind(vol))}return fs.StatWatcher=vol.StatWatcher,fs.FSWatcher=vol.FSWatcher,fs.WriteStream=vol.WriteStream,fs.ReadStream=vol.ReadStream,fs.promises=vol.promises,fs._toUnixTimestamp=volume_1.toUnixTimestamp,fs}exports.createFsFromVolume=createFsFromVolume,exports.fs=createFsFromVolume(exports.vol),module.exports=__assign(__assign({},module.exports),exports.fs),module.exports.semantic=!0},562:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var buffer_1=__webpack_require__(48764);exports.Buffer=buffer_1.Buffer;function bufferV0P12Ponyfill(arg0){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];return new(buffer_1.Buffer.bind.apply(buffer_1.Buffer,__spreadArrays([void 0,arg0],args)))}var bufferAllocUnsafe=buffer_1.Buffer.allocUnsafe||bufferV0P12Ponyfill;exports.bufferAllocUnsafe=bufferAllocUnsafe;var bufferFrom=buffer_1.Buffer.from||bufferV0P12Ponyfill;exports.bufferFrom=bufferFrom},12913:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var assert=__webpack_require__(69282),util=__webpack_require__(89539),kCode=typeof Symbol>"u"?"_kCode":Symbol("code"),messages={};function makeNodeError(Base){return function(_super){__extends(NodeError,_super);function NodeError(key){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];var _this=_super.call(this,message(key,args))||this;return _this.code=key,_this[kCode]=key,_this.name=_super.prototype.name+" ["+_this[kCode]+"]",_this}return NodeError}(Base)}var AssertionError=function(_super){__extends(AssertionError2,_super);function AssertionError2(options){var _this=this;if(typeof options!="object"||options===null)throw new exports.TypeError("ERR_INVALID_ARG_TYPE","options","object");return options.message?_this=_super.call(this,options.message)||this:_this=_super.call(this,util.inspect(options.actual).slice(0,128)+" "+(options.operator+" "+util.inspect(options.expected).slice(0,128)))||this,_this.generatedMessage=!options.message,_this.name="AssertionError [ERR_ASSERTION]",_this.code="ERR_ASSERTION",_this.actual=options.actual,_this.expected=options.expected,_this.operator=options.operator,exports.Error.captureStackTrace(_this,options.stackStartFunction),_this}return AssertionError2}(__webpack_require__.g.Error);exports.AssertionError=AssertionError;function message(key,args){assert.strictEqual(typeof key,"string");var msg=messages[key];assert(msg,"An invalid error message key was used: "+key+".");var fmt;if(typeof msg=="function")fmt=msg;else{if(fmt=util.format,args===void 0||args.length===0)return msg;args.unshift(msg)}return String(fmt.apply(null,args))}exports.message=message;function E(sym,val){messages[sym]=typeof val=="function"?val:String(val)}exports.E=E,exports.Error=makeNodeError(__webpack_require__.g.Error),exports.TypeError=makeNodeError(__webpack_require__.g.TypeError),exports.RangeError=makeNodeError(__webpack_require__.g.RangeError),E("ERR_ARG_NOT_ITERABLE","%s must be iterable"),E("ERR_ASSERTION","%s"),E("ERR_BUFFER_OUT_OF_BOUNDS",bufferOutOfBounds),E("ERR_CHILD_CLOSED_BEFORE_REPLY","Child closed before reply received"),E("ERR_CONSOLE_WRITABLE_STREAM","Console expects a writable stream instance for %s"),E("ERR_CPU_USAGE","Unable to obtain cpu usage %s"),E("ERR_DNS_SET_SERVERS_FAILED",function(err,servers){return'c-ares failed to set servers: "'+err+'" ['+servers+"]"}),E("ERR_FALSY_VALUE_REJECTION","Promise was rejected with falsy value"),E("ERR_ENCODING_NOT_SUPPORTED",function(enc){return'The "'+enc+'" encoding is not supported'}),E("ERR_ENCODING_INVALID_ENCODED_DATA",function(enc){return"The encoded data was not valid for encoding "+enc}),E("ERR_HTTP_HEADERS_SENT","Cannot render headers after they are sent to the client"),E("ERR_HTTP_INVALID_STATUS_CODE","Invalid status code: %s"),E("ERR_HTTP_TRAILER_INVALID","Trailers are invalid with this transfer encoding"),E("ERR_INDEX_OUT_OF_RANGE","Index out of range"),E("ERR_INVALID_ARG_TYPE",invalidArgType),E("ERR_INVALID_ARRAY_LENGTH",function(name,len,actual){return assert.strictEqual(typeof actual,"number"),'The array "'+name+'" (length '+actual+") must be of length "+len+"."}),E("ERR_INVALID_BUFFER_SIZE","Buffer size must be a multiple of %s"),E("ERR_INVALID_CALLBACK","Callback must be a function"),E("ERR_INVALID_CHAR","Invalid character in %s"),E("ERR_INVALID_CURSOR_POS","Cannot set cursor row without setting its column"),E("ERR_INVALID_FD",'"fd" must be a positive integer: %s'),E("ERR_INVALID_FILE_URL_HOST",'File URL host must be "localhost" or empty on %s'),E("ERR_INVALID_FILE_URL_PATH","File URL path %s"),E("ERR_INVALID_HANDLE_TYPE","This handle type cannot be sent"),E("ERR_INVALID_IP_ADDRESS","Invalid IP address: %s"),E("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+String(value)+'" is invalid for option "'+name+'"'}),E("ERR_INVALID_OPT_VALUE_ENCODING",function(value){return'The value "'+String(value)+'" is invalid for option "encoding"'}),E("ERR_INVALID_REPL_EVAL_CONFIG",'Cannot specify both "breakEvalOnSigint" and "eval" for REPL'),E("ERR_INVALID_SYNC_FORK_INPUT","Asynchronous forks do not support Buffer, Uint8Array or string input: %s"),E("ERR_INVALID_THIS",'Value of "this" must be of type %s'),E("ERR_INVALID_TUPLE","%s must be an iterable %s tuple"),E("ERR_INVALID_URL","Invalid URL: %s"),E("ERR_INVALID_URL_SCHEME",function(expected){return"The URL must be "+oneOf(expected,"scheme")}),E("ERR_IPC_CHANNEL_CLOSED","Channel closed"),E("ERR_IPC_DISCONNECTED","IPC channel is already disconnected"),E("ERR_IPC_ONE_PIPE","Child process can have only one IPC pipe"),E("ERR_IPC_SYNC_FORK","IPC cannot be used with synchronous forks"),E("ERR_MISSING_ARGS",missingArgs),E("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),E("ERR_NAPI_CONS_FUNCTION","Constructor must be a function"),E("ERR_NAPI_CONS_PROTOTYPE_OBJECT","Constructor.prototype must be an object"),E("ERR_NO_CRYPTO","Node.js is not compiled with OpenSSL crypto support"),E("ERR_NO_LONGER_SUPPORTED","%s is no longer supported"),E("ERR_PARSE_HISTORY_DATA","Could not parse history data in %s"),E("ERR_SOCKET_ALREADY_BOUND","Socket is already bound"),E("ERR_SOCKET_BAD_PORT","Port should be > 0 and < 65536"),E("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),E("ERR_SOCKET_CANNOT_SEND","Unable to send data"),E("ERR_SOCKET_CLOSED","Socket is closed"),E("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),E("ERR_STDERR_CLOSE","process.stderr cannot be closed"),E("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),E("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),E("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),E("ERR_TLS_DH_PARAM_SIZE",function(size){return"DH parameter size "+size+" is less than 2048"}),E("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),E("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),E("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),E("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),E("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),E("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),E("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),E("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),E("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),E("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl");function invalidArgType(name,expected,actual){assert(name,"name is required");var determiner;expected.includes("not ")?(determiner="must not be",expected=expected.split("not ")[1]):determiner="must be";var msg;if(Array.isArray(name)){var names=name.map(function(val){return'"'+val+'"'}).join(", ");msg="The "+names+" arguments "+determiner+" "+oneOf(expected,"type")}else if(name.includes(" argument"))msg="The "+name+" "+determiner+" "+oneOf(expected,"type");else{var type=name.includes(".")?"property":"argument";msg='The "'+name+'" '+type+" "+determiner+" "+oneOf(expected,"type")}return arguments.length>=3&&(msg+=". Received type "+(actual!==null?typeof actual:"null")),msg}function missingArgs(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map(function(a){return'"'+a+'"'}),len){case 1:msg+=args[0]+" argument";break;case 2:msg+=args[0]+" and "+args[1]+" arguments";break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and "+args[len-1]+" arguments";break}return msg+" must be specified"}function oneOf(expected,thing){if(assert(expected,"expected is required"),assert(typeof thing=="string","thing is required"),Array.isArray(expected)){var len=expected.length;return assert(len>0,"At least one expected value needs to be specified"),expected=expected.map(function(i){return String(i)}),len>2?"one of "+thing+" "+expected.slice(0,len-1).join(", ")+", or "+expected[len-1]:len===2?"one of "+thing+" "+expected[0]+" or "+expected[1]:"of "+thing+" "+expected[0]}else return"of "+thing+" "+String(expected)}function bufferOutOfBounds(name,isWriting){return isWriting?"Attempt to write outside buffer bounds":'"'+name+'" is outside of buffer bounds'}},83599:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0});var process_1=__webpack_require__(12305),buffer_1=__webpack_require__(562),constants_1=__webpack_require__(95287),events_1=__webpack_require__(17187),Stats_1=__webpack_require__(22282),S_IFMT=constants_1.constants.S_IFMT,S_IFDIR=constants_1.constants.S_IFDIR,S_IFREG=constants_1.constants.S_IFREG,S_IFBLK=constants_1.constants.S_IFBLK,S_IFCHR=constants_1.constants.S_IFCHR,S_IFLNK=constants_1.constants.S_IFLNK,S_IFIFO=constants_1.constants.S_IFIFO,S_IFSOCK=constants_1.constants.S_IFSOCK,O_APPEND=constants_1.constants.O_APPEND;exports.SEP="/";var Node2=function(_super){__extends(Node3,_super);function Node3(ino,perm){perm===void 0&&(perm=438);var _this=_super.call(this)||this;return _this.uid=process_1.default.getuid(),_this.gid=process_1.default.getgid(),_this.atime=new Date,_this.mtime=new Date,_this.ctime=new Date,_this.perm=438,_this.mode=S_IFREG,_this.nlink=1,_this.perm=perm,_this.mode|=perm,_this.ino=ino,_this}return Node3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.getBuffer().toString(encoding)},Node3.prototype.setString=function(str){this.buf=buffer_1.bufferFrom(str,"utf8"),this.touch()},Node3.prototype.getBuffer=function(){return this.buf||this.setBuffer(buffer_1.bufferAllocUnsafe(0)),buffer_1.bufferFrom(this.buf)},Node3.prototype.setBuffer=function(buf){this.buf=buffer_1.bufferFrom(buf),this.touch()},Node3.prototype.getSize=function(){return this.buf?this.buf.length:0},Node3.prototype.setModeProperty=function(property){this.mode=this.mode&~S_IFMT|property},Node3.prototype.setIsFile=function(){this.setModeProperty(S_IFREG)},Node3.prototype.setIsDirectory=function(){this.setModeProperty(S_IFDIR)},Node3.prototype.setIsSymlink=function(){this.setModeProperty(S_IFLNK)},Node3.prototype.isFile=function(){return(this.mode&S_IFMT)===S_IFREG},Node3.prototype.isDirectory=function(){return(this.mode&S_IFMT)===S_IFDIR},Node3.prototype.isSymlink=function(){return(this.mode&S_IFMT)===S_IFLNK},Node3.prototype.makeSymlink=function(steps){this.symlink=steps,this.setIsSymlink()},Node3.prototype.write=function(buf,off,len,pos){if(off===void 0&&(off=0),len===void 0&&(len=buf.length),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),pos+len>this.buf.length){var newBuf=buffer_1.bufferAllocUnsafe(pos+len);this.buf.copy(newBuf,0,0,this.buf.length),this.buf=newBuf}return buf.copy(this.buf,pos,off,off+len),this.touch(),len},Node3.prototype.read=function(buf,off,len,pos){off===void 0&&(off=0),len===void 0&&(len=buf.byteLength),pos===void 0&&(pos=0),this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0));var actualLen=len;return actualLen>buf.byteLength&&(actualLen=buf.byteLength),actualLen+pos>this.buf.length&&(actualLen=this.buf.length-pos),this.buf.copy(buf,off,pos,pos+actualLen),actualLen},Node3.prototype.truncate=function(len){if(len===void 0&&(len=0),!len)this.buf=buffer_1.bufferAllocUnsafe(0);else if(this.buf||(this.buf=buffer_1.bufferAllocUnsafe(0)),len<=this.buf.length)this.buf=this.buf.slice(0,len);else{var buf=buffer_1.bufferAllocUnsafe(0);this.buf.copy(buf),buf.fill(0,len)}this.touch()},Node3.prototype.chmod=function(perm){this.perm=perm,this.mode=this.mode&-512|perm,this.touch()},Node3.prototype.chown=function(uid,gid){this.uid=uid,this.gid=gid,this.touch()},Node3.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},Node3.prototype.canRead=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&4||gid===this.gid&&this.perm&32||uid===this.uid&&this.perm&256)},Node3.prototype.canWrite=function(uid,gid){return uid===void 0&&(uid=process_1.default.getuid()),gid===void 0&&(gid=process_1.default.getgid()),!!(this.perm&2||gid===this.gid&&this.perm&16||uid===this.uid&&this.perm&128)},Node3.prototype.del=function(){this.emit("delete",this)},Node3.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},Node3}(events_1.EventEmitter);exports.Node=Node2;var Link=function(_super){__extends(Link2,_super);function Link2(vol,parent,name){var _this=_super.call(this)||this;return _this.children={},_this.steps=[],_this.ino=0,_this.length=0,_this.vol=vol,_this.parent=parent,_this.steps=parent?parent.steps.concat([name]):[name],_this}return Link2.prototype.setNode=function(node){this.node=node,this.ino=node.ino},Link2.prototype.getNode=function(){return this.node},Link2.prototype.createChild=function(name,node){node===void 0&&(node=this.vol.createNode());var link=new Link2(this.vol,this,name);return link.setNode(node),node.isDirectory(),this.setChild(name,link),link},Link2.prototype.setChild=function(name,link){return link===void 0&&(link=new Link2(this.vol,this,name)),this.children[name]=link,link.parent=this,this.length++,this.emit("child:add",link,this),link},Link2.prototype.deleteChild=function(link){delete this.children[link.getName()],this.length--,this.emit("child:delete",link,this)},Link2.prototype.getChild=function(name){if(Object.hasOwnProperty.call(this.children,name))return this.children[name]},Link2.prototype.getPath=function(){return this.steps.join(exports.SEP)},Link2.prototype.getName=function(){return this.steps[this.steps.length-1]},Link2.prototype.walk=function(steps,stop,i){if(stop===void 0&&(stop=steps.length),i===void 0&&(i=0),i>=steps.length)return this;if(i>=stop)return this;var step=steps[i],link=this.getChild(step);return link?link.walk(steps,stop,i+1):null},Link2.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},Link2}(events_1.EventEmitter);exports.Link=Link;var File2=function(){function File3(link,node,flags,fd){this.position=0,this.link=link,this.node=node,this.flags=flags,this.fd=fd}return File3.prototype.getString=function(encoding){return encoding===void 0&&(encoding="utf8"),this.node.getString()},File3.prototype.setString=function(str){this.node.setString(str)},File3.prototype.getBuffer=function(){return this.node.getBuffer()},File3.prototype.setBuffer=function(buf){this.node.setBuffer(buf)},File3.prototype.getSize=function(){return this.node.getSize()},File3.prototype.truncate=function(len){this.node.truncate(len)},File3.prototype.seekTo=function(position){this.position=position},File3.prototype.stats=function(){return Stats_1.default.build(this.node)},File3.prototype.write=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.length),typeof position!="number"&&(position=this.position),this.flags&O_APPEND&&(position=this.getSize());var bytes=this.node.write(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.read=function(buf,offset,length,position){offset===void 0&&(offset=0),length===void 0&&(length=buf.byteLength),typeof position!="number"&&(position=this.position);var bytes=this.node.read(buf,offset,length,position);return this.position=position+bytes,bytes},File3.prototype.chmod=function(perm){this.node.chmod(perm)},File3.prototype.chown=function(uid,gid){this.node.chown(uid,gid)},File3}();exports.File=File2},12305:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var process=__webpack_require__(34155);Object.defineProperty(exports,"__esModule",{value:!0});var maybeReturnProcess=function(){if(typeof process<"u")return process;try{return __webpack_require__(34155)}catch{return}};function createProcess(){var p=maybeReturnProcess()||{};return p.getuid||(p.getuid=function(){return 0}),p.getgid||(p.getgid=function(){return 0}),p.cwd||(p.cwd=function(){return"/"}),p.nextTick||(p.nextTick=__webpack_require__(82164).default),p.emitWarning||(p.emitWarning=function(message,type){console.warn(""+type+(type?": ":"")+message)}),p.env||(p.env={}),p}exports.createProcess=createProcess,exports.default=createProcess()},96415:function(__unused_webpack_module,exports){"use strict";var __spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});function promisify(vol,fn,getResult){return getResult===void 0&&(getResult=function(input){return input}),function(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return new Promise(function(resolve,reject){vol[fn].bind(vol).apply(void 0,__spreadArrays(args,[function(error,result){return error?reject(error):resolve(getResult(result))}]))})}}var FileHandle=function(){function FileHandle2(vol,fd){this.vol=vol,this.fd=fd}return FileHandle2.prototype.appendFile=function(data,options){return promisify(this.vol,"appendFile")(this.fd,data,options)},FileHandle2.prototype.chmod=function(mode){return promisify(this.vol,"fchmod")(this.fd,mode)},FileHandle2.prototype.chown=function(uid,gid){return promisify(this.vol,"fchown")(this.fd,uid,gid)},FileHandle2.prototype.close=function(){return promisify(this.vol,"close")(this.fd)},FileHandle2.prototype.datasync=function(){return promisify(this.vol,"fdatasync")(this.fd)},FileHandle2.prototype.read=function(buffer,offset,length,position){return promisify(this.vol,"read",function(bytesRead){return{bytesRead,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.readFile=function(options){return promisify(this.vol,"readFile")(this.fd,options)},FileHandle2.prototype.stat=function(options){return promisify(this.vol,"fstat")(this.fd,options)},FileHandle2.prototype.sync=function(){return promisify(this.vol,"fsync")(this.fd)},FileHandle2.prototype.truncate=function(len){return promisify(this.vol,"ftruncate")(this.fd,len)},FileHandle2.prototype.utimes=function(atime,mtime){return promisify(this.vol,"futimes")(this.fd,atime,mtime)},FileHandle2.prototype.write=function(buffer,offset,length,position){return promisify(this.vol,"write",function(bytesWritten){return{bytesWritten,buffer}})(this.fd,buffer,offset,length,position)},FileHandle2.prototype.writeFile=function(data,options){return promisify(this.vol,"writeFile")(this.fd,data,options)},FileHandle2}();exports.FileHandle=FileHandle;function createPromisesApi(vol){return typeof Promise>"u"?null:{FileHandle,access:function(path,mode){return promisify(vol,"access")(path,mode)},appendFile:function(path,data,options){return promisify(vol,"appendFile")(path instanceof FileHandle?path.fd:path,data,options)},chmod:function(path,mode){return promisify(vol,"chmod")(path,mode)},chown:function(path,uid,gid){return promisify(vol,"chown")(path,uid,gid)},copyFile:function(src,dest,flags){return promisify(vol,"copyFile")(src,dest,flags)},lchmod:function(path,mode){return promisify(vol,"lchmod")(path,mode)},lchown:function(path,uid,gid){return promisify(vol,"lchown")(path,uid,gid)},link:function(existingPath,newPath){return promisify(vol,"link")(existingPath,newPath)},lstat:function(path,options){return promisify(vol,"lstat")(path,options)},mkdir:function(path,options){return promisify(vol,"mkdir")(path,options)},mkdtemp:function(prefix,options){return promisify(vol,"mkdtemp")(prefix,options)},open:function(path,flags,mode){return promisify(vol,"open",function(fd){return new FileHandle(vol,fd)})(path,flags,mode)},readdir:function(path,options){return promisify(vol,"readdir")(path,options)},readFile:function(id,options){return promisify(vol,"readFile")(id instanceof FileHandle?id.fd:id,options)},readlink:function(path,options){return promisify(vol,"readlink")(path,options)},realpath:function(path,options){return promisify(vol,"realpath")(path,options)},rename:function(oldPath,newPath){return promisify(vol,"rename")(oldPath,newPath)},rmdir:function(path){return promisify(vol,"rmdir")(path)},stat:function(path,options){return promisify(vol,"stat")(path,options)},symlink:function(target,path,type){return promisify(vol,"symlink")(target,path,type)},truncate:function(path,len){return promisify(vol,"truncate")(path,len)},unlink:function(path){return promisify(vol,"unlink")(path)},utimes:function(path,atime,mtime){return promisify(vol,"utimes")(path,atime,mtime)},writeFile:function(id,data,options){return promisify(vol,"writeFile")(id instanceof FileHandle?id.fd:id,data,options)}}}exports.default=createPromisesApi},82164:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _setImmediate;typeof setImmediate=="function"?_setImmediate=setImmediate.bind(__webpack_require__.g):_setImmediate=setTimeout.bind(__webpack_require__.g),exports.default=_setImmediate},46143:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function setTimeoutUnref(callback,time,args){var ref=setTimeout.apply(null,arguments);return ref&&typeof ref=="object"&&typeof ref.unref=="function"&&ref.unref(),ref}exports.default=setTimeoutUnref},64129:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)b2.hasOwnProperty(p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}(),__spreadArrays=this&&this.__spreadArrays||function(){for(var s=0,i=0,il=arguments.length;i<il;i++)s+=arguments[i].length;for(var r=Array(s),k=0,i=0;i<il;i++)for(var a=arguments[i],j=0,jl=a.length;j<jl;j++,k++)r[k]=a[j];return r};Object.defineProperty(exports,"__esModule",{value:!0});var pathModule=__webpack_require__(26470),node_1=__webpack_require__(83599),Stats_1=__webpack_require__(22282),Dirent_1=__webpack_require__(62456),buffer_1=__webpack_require__(562),setImmediate_1=__webpack_require__(82164),process_1=__webpack_require__(12305),setTimeoutUnref_1=__webpack_require__(46143),stream_1=__webpack_require__(42830),constants_1=__webpack_require__(95287),events_1=__webpack_require__(17187),encoding_1=__webpack_require__(5866),errors=__webpack_require__(12913),extend=__webpack_require__(82630).l,util=__webpack_require__(89539),promises_1=__webpack_require__(96415),resolveCrossPlatform=pathModule.resolve,O_RDONLY=constants_1.constants.O_RDONLY,O_WRONLY=constants_1.constants.O_WRONLY,O_RDWR=constants_1.constants.O_RDWR,O_CREAT=constants_1.constants.O_CREAT,O_EXCL=constants_1.constants.O_EXCL,O_TRUNC=constants_1.constants.O_TRUNC,O_APPEND=constants_1.constants.O_APPEND,O_SYNC=constants_1.constants.O_SYNC,F_OK=constants_1.constants.F_OK,COPYFILE_EXCL=constants_1.constants.COPYFILE_EXCL,COPYFILE_FICLONE_FORCE=constants_1.constants.COPYFILE_FICLONE_FORCE,sep,relative;if(pathModule.posix){var posix=pathModule.posix;sep=posix.sep,relative=posix.relative}else sep=pathModule.sep,relative=pathModule.relative;var isWin=process_1.default.platform==="win32",kMinPoolSpace=128,ERRSTR={PATH_STR:"path must be a string or Buffer",FD:"fd must be a file descriptor",MODE_INT:"mode must be an int",CB:"callback must be a function",UID:"uid must be an unsigned int",GID:"gid must be an unsigned int",LEN:"len must be an integer",ATIME:"atime must be an integer",MTIME:"mtime must be an integer",PREFIX:"filename prefix is required",BUFFER:"buffer must be an instance of Buffer or StaticBuffer",OFFSET:"offset must be an integer",LENGTH:"length must be an integer",POSITION:"position must be an integer"},ERRSTR_OPTS=function(tipeof){return"Expected options to be either an object or a string, but got "+tipeof+" instead"},ENOENT="ENOENT",EBADF="EBADF",EINVAL="EINVAL",EPERM="EPERM",EPROTO="EPROTO",EEXIST="EEXIST",ENOTDIR="ENOTDIR",EMFILE="EMFILE",EACCES="EACCES",EISDIR="EISDIR",ENOTEMPTY="ENOTEMPTY",ENOSYS="ENOSYS";function formatError(errorCode,func,path,path2){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2="");var pathFormatted="";switch(path&&(pathFormatted=" '"+path+"'"),path2&&(pathFormatted+=" -> '"+path2+"'"),errorCode){case ENOENT:return"ENOENT: no such file or directory, "+func+pathFormatted;case EBADF:return"EBADF: bad file descriptor, "+func+pathFormatted;case EINVAL:return"EINVAL: invalid argument, "+func+pathFormatted;case EPERM:return"EPERM: operation not permitted, "+func+pathFormatted;case EPROTO:return"EPROTO: protocol error, "+func+pathFormatted;case EEXIST:return"EEXIST: file already exists, "+func+pathFormatted;case ENOTDIR:return"ENOTDIR: not a directory, "+func+pathFormatted;case EISDIR:return"EISDIR: illegal operation on a directory, "+func+pathFormatted;case EACCES:return"EACCES: permission denied, "+func+pathFormatted;case ENOTEMPTY:return"ENOTEMPTY: directory not empty, "+func+pathFormatted;case EMFILE:return"EMFILE: too many open files, "+func+pathFormatted;case ENOSYS:return"ENOSYS: function not implemented, "+func+pathFormatted;default:return errorCode+": error occurred, "+func+pathFormatted}}function createError(errorCode,func,path,path2,Constructor){func===void 0&&(func=""),path===void 0&&(path=""),path2===void 0&&(path2=""),Constructor===void 0&&(Constructor=Error);var error=new Constructor(formatError(errorCode,func,path,path2));return error.code=errorCode,error}var FLAGS;(function(FLAGS2){FLAGS2[FLAGS2.r=O_RDONLY]="r",FLAGS2[FLAGS2["r+"]=O_RDWR]="r+",FLAGS2[FLAGS2.rs=O_RDONLY|O_SYNC]="rs",FLAGS2[FLAGS2.sr=FLAGS2.rs]="sr",FLAGS2[FLAGS2["rs+"]=O_RDWR|O_SYNC]="rs+",FLAGS2[FLAGS2["sr+"]=FLAGS2["rs+"]]="sr+",FLAGS2[FLAGS2.w=O_WRONLY|O_CREAT|O_TRUNC]="w",FLAGS2[FLAGS2.wx=O_WRONLY|O_CREAT|O_TRUNC|O_EXCL]="wx",FLAGS2[FLAGS2.xw=FLAGS2.wx]="xw",FLAGS2[FLAGS2["w+"]=O_RDWR|O_CREAT|O_TRUNC]="w+",FLAGS2[FLAGS2["wx+"]=O_RDWR|O_CREAT|O_TRUNC|O_EXCL]="wx+",FLAGS2[FLAGS2["xw+"]=FLAGS2["wx+"]]="xw+",FLAGS2[FLAGS2.a=O_WRONLY|O_APPEND|O_CREAT]="a",FLAGS2[FLAGS2.ax=O_WRONLY|O_APPEND|O_CREAT|O_EXCL]="ax",FLAGS2[FLAGS2.xa=FLAGS2.ax]="xa",FLAGS2[FLAGS2["a+"]=O_RDWR|O_APPEND|O_CREAT]="a+",FLAGS2[FLAGS2["ax+"]=O_RDWR|O_APPEND|O_CREAT|O_EXCL]="ax+",FLAGS2[FLAGS2["xa+"]=FLAGS2["ax+"]]="xa+"})(FLAGS=exports.FLAGS||(exports.FLAGS={}));function flagsToNumber(flags){if(typeof flags=="number")return flags;if(typeof flags=="string"){var flagsNum=FLAGS[flags];if(typeof flagsNum<"u")return flagsNum}throw new errors.TypeError("ERR_INVALID_OPT_VALUE","flags",flags)}exports.flagsToNumber=flagsToNumber;function getOptions(defaults,options){var opts;if(options){var tipeof=typeof options;switch(tipeof){case"string":opts=extend({},defaults,{encoding:options});break;case"object":opts=extend({},defaults,options);break;default:throw TypeError(ERRSTR_OPTS(tipeof))}}else return defaults;return opts.encoding!=="buffer"&&encoding_1.assertEncoding(opts.encoding),opts}function optsGenerator(defaults){return function(options){return getOptions(defaults,options)}}function validateCallback(callback){if(typeof callback!="function")throw TypeError(ERRSTR.CB);return callback}function optsAndCbGenerator(getOpts){return function(options,callback){return typeof options=="function"?[getOpts(),options]:[getOpts(options),validateCallback(callback)]}}var optsDefaults={encoding:"utf8"},getDefaultOpts=optsGenerator(optsDefaults),getDefaultOptsAndCb=optsAndCbGenerator(getDefaultOpts),readFileOptsDefaults={flag:"r"},getReadFileOptions=optsGenerator(readFileOptsDefaults),writeFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.w]},getWriteFileOptions=optsGenerator(writeFileDefaults),appendFileDefaults={encoding:"utf8",mode:438,flag:FLAGS[FLAGS.a]},getAppendFileOpts=optsGenerator(appendFileDefaults),getAppendFileOptsAndCb=optsAndCbGenerator(getAppendFileOpts),realpathDefaults=optsDefaults,getRealpathOptions=optsGenerator(realpathDefaults),getRealpathOptsAndCb=optsAndCbGenerator(getRealpathOptions),mkdirDefaults={mode:511,recursive:!1},getMkdirOptions=function(options){return typeof options=="number"?extend({},mkdirDefaults,{mode:options}):extend({},mkdirDefaults,options)},rmdirDefaults={recursive:!1},getRmdirOptions=function(options){return extend({},rmdirDefaults,options)},readdirDefaults={encoding:"utf8",withFileTypes:!1},getReaddirOptions=optsGenerator(readdirDefaults),getReaddirOptsAndCb=optsAndCbGenerator(getReaddirOptions),statDefaults={bigint:!1},getStatOptions=function(options){return options===void 0&&(options={}),extend({},statDefaults,options)},getStatOptsAndCb=function(options,callback){return typeof options=="function"?[getStatOptions(),options]:[getStatOptions(options),validateCallback(callback)]};function getPathFromURLPosix(url){if(url.hostname!=="")throw new errors.TypeError("ERR_INVALID_FILE_URL_HOST",process_1.default.platform);for(var pathname=url.pathname,n=0;n<pathname.length;n++)if(pathname[n]==="%"){var third=pathname.codePointAt(n+2)|32;if(pathname[n+1]==="2"&&third===102)throw new errors.TypeError("ERR_INVALID_FILE_URL_PATH","must not include encoded / characters")}return decodeURIComponent(pathname)}function pathToFilename(path){if(typeof path!="string"&&!buffer_1.Buffer.isBuffer(path)){try{if(!(path instanceof __webpack_require__(8575).URL))throw new TypeError(ERRSTR.PATH_STR)}catch{throw new TypeError(ERRSTR.PATH_STR)}path=getPathFromURLPosix(path)}var pathString=String(path);return nullCheck(pathString),pathString}exports.pathToFilename=pathToFilename;var resolve=function(filename,base){return base===void 0&&(base=process_1.default.cwd()),resolveCrossPlatform(base,filename)};if(isWin){var _resolve_1=resolve,unixify_1=__webpack_require__(79129).Z4;resolve=function(filename,base){return unixify_1(_resolve_1(filename,base))}}function filenameToSteps(filename,base){var fullPath=resolve(filename,base),fullPathSansSlash=fullPath.substr(1);return fullPathSansSlash?fullPathSansSlash.split(sep):[]}exports.filenameToSteps=filenameToSteps;function pathToSteps(path){return filenameToSteps(pathToFilename(path))}exports.pathToSteps=pathToSteps;function dataToStr(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data.toString(encoding):data instanceof Uint8Array?buffer_1.bufferFrom(data).toString(encoding):String(data)}exports.dataToStr=dataToStr;function dataToBuffer(data,encoding){return encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),buffer_1.Buffer.isBuffer(data)?data:data instanceof Uint8Array?buffer_1.bufferFrom(data):buffer_1.bufferFrom(String(data),encoding)}exports.dataToBuffer=dataToBuffer;function bufferToEncoding(buffer,encoding){return!encoding||encoding==="buffer"?buffer:buffer.toString(encoding)}exports.bufferToEncoding=bufferToEncoding;function nullCheck(path,callback){if((""+path).indexOf("\0")!==-1){var er=new Error("Path must be a string without null bytes");if(er.code=ENOENT,typeof callback!="function")throw er;return process_1.default.nextTick(callback,er),!1}return!0}function _modeToNumber(mode,def){if(typeof mode=="number")return mode;if(typeof mode=="string")return parseInt(mode,8);if(def)return modeToNumber(def)}function modeToNumber(mode,def){var result=_modeToNumber(mode,def);if(typeof result!="number"||isNaN(result))throw new TypeError(ERRSTR.MODE_INT);return result}function isFd(path){return path>>>0===path}function validateFd(fd){if(!isFd(fd))throw TypeError(ERRSTR.FD)}function toUnixTimestamp(time){if(typeof time=="string"&&+time==time)return+time;if(time instanceof Date)return time.getTime()/1e3;if(isFinite(time))return time<0?Date.now()/1e3:time;throw new Error("Cannot parse time: "+time)}exports.toUnixTimestamp=toUnixTimestamp;function validateUid(uid){if(typeof uid!="number")throw TypeError(ERRSTR.UID)}function validateGid(gid){if(typeof gid!="number")throw TypeError(ERRSTR.GID)}var Volume=function(){function Volume2(props){props===void 0&&(props={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=promises_1.default(this),this.statWatchers={},this.props=extend({Node:node_1.Node,Link:node_1.Link,File:node_1.File},props);var root=this.createLink();root.setNode(this.createNode(!0));var self2=this;this.StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(){return _super.call(this,self2)||this}return StatWatcher2}(StatWatcher);var _ReadStream=FsReadStream;this.ReadStream=function(_super){__extends(class_1,_super);function class_1(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_1}(_ReadStream);var _WriteStream=FsWriteStream;this.WriteStream=function(_super){__extends(class_2,_super);function class_2(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return _super.apply(this,__spreadArrays([self2],args))||this}return class_2}(_WriteStream),this.FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(){return _super.call(this,self2)||this}return FSWatcher2}(FSWatcher),this.root=root}return Volume2.fromJSON=function(json,cwd){var vol=new Volume2;return vol.fromJSON(json,cwd),vol},Object.defineProperty(Volume2.prototype,"promises",{get:function(){if(this.promisesApi===null)throw new Error("Promise is not supported in this environment.");return this.promisesApi},enumerable:!0,configurable:!0}),Volume2.prototype.createLink=function(parent,name,isDirectory,perm){if(isDirectory===void 0&&(isDirectory=!1),!parent)return new this.props.Link(this,null,"");if(!name)throw new Error("createLink: name cannot be empty");return parent.createChild(name,this.createNode(isDirectory,perm))},Volume2.prototype.deleteLink=function(link){var parent=link.parent;return parent?(parent.deleteChild(link),!0):!1},Volume2.prototype.newInoNumber=function(){var releasedFd=this.releasedInos.pop();return releasedFd||(this.ino=(this.ino+1)%4294967295,this.ino)},Volume2.prototype.newFdNumber=function(){var releasedFd=this.releasedFds.pop();return typeof releasedFd=="number"?releasedFd:Volume2.fd--},Volume2.prototype.createNode=function(isDirectory,perm){isDirectory===void 0&&(isDirectory=!1);var node=new this.props.Node(this.newInoNumber(),perm);return isDirectory&&node.setIsDirectory(),this.inodes[node.ino]=node,node},Volume2.prototype.getNode=function(ino){return this.inodes[ino]},Volume2.prototype.deleteNode=function(node){node.del(),delete this.inodes[node.ino],this.releasedInos.push(node.ino)},Volume2.prototype.genRndStr=function(){var str=(Math.random()+1).toString(36).substr(2,6);return str.length===6?str:this.genRndStr()},Volume2.prototype.getLink=function(steps){return this.root.walk(steps)},Volume2.prototype.getLinkOrThrow=function(filename,funcName){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.getResolvedLink=function(filenameOrSteps){for(var steps=typeof filenameOrSteps=="string"?filenameToSteps(filenameOrSteps):filenameOrSteps,link=this.root,i=0;i<steps.length;){var step=steps[i];if(link=link.getChild(step),!link)return null;var node=link.getNode();if(node.isSymlink()){steps=node.symlink.concat(steps.slice(i+1)),link=this.root,i=0;continue}i++}return link},Volume2.prototype.getResolvedLinkOrThrow=function(filename,funcName){var link=this.getResolvedLink(filename);if(!link)throw createError(ENOENT,funcName,filename);return link},Volume2.prototype.resolveSymlinks=function(link){return this.getResolvedLink(link.steps.slice(1))},Volume2.prototype.getLinkAsDirOrThrow=function(filename,funcName){var link=this.getLinkOrThrow(filename,funcName);if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,filename);return link},Volume2.prototype.getLinkParent=function(steps){return this.root.walk(steps,steps.length-1)},Volume2.prototype.getLinkParentAsDirOrThrow=function(filenameOrSteps,funcName){var steps=filenameOrSteps instanceof Array?filenameOrSteps:filenameToSteps(filenameOrSteps),link=this.getLinkParent(steps);if(!link)throw createError(ENOENT,funcName,sep+steps.join(sep));if(!link.getNode().isDirectory())throw createError(ENOTDIR,funcName,sep+steps.join(sep));return link},Volume2.prototype.getFileByFd=function(fd){return this.fds[String(fd)]},Volume2.prototype.getFileByFdOrThrow=function(fd,funcName){if(!isFd(fd))throw TypeError(ERRSTR.FD);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,funcName);return file},Volume2.prototype.getNodeByIdOrCreate=function(id,flags,perm){if(typeof id=="number"){var file=this.getFileByFd(id);if(!file)throw Error("File nto found");return file.node}else{var steps=pathToSteps(id),link=this.getLink(steps);if(link)return link.getNode();if(flags&O_CREAT){var dirLink=this.getLinkParent(steps);if(dirLink){var name_1=steps[steps.length-1];return link=this.createLink(dirLink,name_1,!1,perm),link.getNode()}}throw createError(ENOENT,"getNodeByIdOrCreate",pathToFilename(id))}},Volume2.prototype.wrapAsync=function(method,args,callback){var _this=this;validateCallback(callback),setImmediate_1.default(function(){try{callback(null,method.apply(_this,args))}catch(err){callback(err)}})},Volume2.prototype._toJSON=function(link,json,path){var _a;link===void 0&&(link=this.root),json===void 0&&(json={});var isEmpty=!0,children=link.children;link.getNode().isFile()&&(children=(_a={},_a[link.getName()]=link.parent.getChild(link.getName()),_a),link=link.parent);for(var name_2 in children){isEmpty=!1;var child=link.getChild(name_2);if(!child)throw new Error("_toJSON: unexpected undefined");var node=child.getNode();if(node.isFile()){var filename=child.getPath();path&&(filename=relative(path,filename)),json[filename]=node.getString()}else node.isDirectory()&&this._toJSON(child,json,path)}var dirPath=link.getPath();return path&&(dirPath=relative(path,dirPath)),dirPath&&isEmpty&&(json[dirPath]=null),json},Volume2.prototype.toJSON=function(paths,json,isRelative){json===void 0&&(json={}),isRelative===void 0&&(isRelative=!1);var links=[];if(paths){paths instanceof Array||(paths=[paths]);for(var _i=0,paths_1=paths;_i<paths_1.length;_i++){var path=paths_1[_i],filename=pathToFilename(path),link=this.getResolvedLink(filename);!link||links.push(link)}}else links.push(this.root);if(!links.length)return json;for(var _a=0,links_1=links;_a<links_1.length;_a++){var link=links_1[_a];this._toJSON(link,json,isRelative?link.getPath():"")}return json},Volume2.prototype.fromJSON=function(json,cwd){cwd===void 0&&(cwd=process_1.default.cwd());for(var filename in json){var data=json[filename];if(typeof data=="string"){filename=resolve(filename,cwd);var steps=filenameToSteps(filename);if(steps.length>1){var dirname=sep+steps.slice(0,steps.length-1).join(sep);this.mkdirpBase(dirname,511)}this.writeFileSync(filename,data)}else this.mkdirpBase(filename,511)}},Volume2.prototype.reset=function(){this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.openFiles=0,this.root=this.createLink(),this.root.setNode(this.createNode(!0))},Volume2.prototype.mountSync=function(mountpoint,json){this.fromJSON(json,mountpoint)},Volume2.prototype.openLink=function(link,flagsNum,resolveSymlinks){if(resolveSymlinks===void 0&&(resolveSymlinks=!0),this.openFiles>=this.maxFiles)throw createError(EMFILE,"open",link.getPath());var realLink=link;if(resolveSymlinks&&(realLink=this.resolveSymlinks(link)),!realLink)throw createError(ENOENT,"open",link.getPath());var node=realLink.getNode();if(node.isDirectory()&&flagsNum!==FLAGS.r)throw createError(EISDIR,"open",link.getPath());if(!(flagsNum&O_WRONLY)&&!node.canRead())throw createError(EACCES,"open",link.getPath());flagsNum&O_RDWR;var file=new this.props.File(link,node,flagsNum,this.newFdNumber());return this.fds[file.fd]=file,this.openFiles++,flagsNum&O_TRUNC&&file.truncate(),file},Volume2.prototype.openFile=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var steps=filenameToSteps(filename),link=resolveSymlinks?this.getResolvedLink(steps):this.getLink(steps);if(!link&&flagsNum&O_CREAT){var dirLink=this.getResolvedLink(steps.slice(0,steps.length-1));if(!dirLink)throw createError(ENOENT,"open",sep+steps.join(sep));flagsNum&O_CREAT&&typeof modeNum=="number"&&(link=this.createLink(dirLink,steps[steps.length-1],!1,modeNum))}if(link)return this.openLink(link,flagsNum,resolveSymlinks);throw createError(ENOENT,"open",filename)},Volume2.prototype.openBase=function(filename,flagsNum,modeNum,resolveSymlinks){resolveSymlinks===void 0&&(resolveSymlinks=!0);var file=this.openFile(filename,flagsNum,modeNum,resolveSymlinks);if(!file)throw createError(ENOENT,"open",filename);return file.fd},Volume2.prototype.openSync=function(path,flags,mode){mode===void 0&&(mode=438);var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);return this.openBase(fileName,flagsNum,modeNum)},Volume2.prototype.open=function(path,flags,a,b){var mode=a,callback=b;typeof a=="function"&&(mode=438,callback=a),mode=mode||438;var modeNum=modeToNumber(mode),fileName=pathToFilename(path),flagsNum=flagsToNumber(flags);this.wrapAsync(this.openBase,[fileName,flagsNum,modeNum],callback)},Volume2.prototype.closeFile=function(file){!this.fds[file.fd]||(this.openFiles--,delete this.fds[file.fd],this.releasedFds.push(file.fd))},Volume2.prototype.closeSync=function(fd){validateFd(fd);var file=this.getFileByFdOrThrow(fd,"close");this.closeFile(file)},Volume2.prototype.close=function(fd,callback){validateFd(fd),this.wrapAsync(this.closeSync,[fd],callback)},Volume2.prototype.openFileOrGetById=function(id,flagsNum,modeNum){if(typeof id=="number"){var file=this.fds[id];if(!file)throw createError(ENOENT);return file}else return this.openFile(pathToFilename(id),flagsNum,modeNum)},Volume2.prototype.readBase=function(fd,buffer,offset,length,position){var file=this.getFileByFdOrThrow(fd);return file.read(buffer,Number(offset),Number(length),position)},Volume2.prototype.readSync=function(fd,buffer,offset,length,position){return validateFd(fd),this.readBase(fd,buffer,offset,length,position)},Volume2.prototype.read=function(fd,buffer,offset,length,position,callback){var _this=this;if(validateCallback(callback),length===0)return process_1.default.nextTick(function(){callback&&callback(null,0,buffer)});setImmediate_1.default(function(){try{var bytes=_this.readBase(fd,buffer,offset,length,position);callback(null,bytes,buffer)}catch(err){callback(err)}})},Volume2.prototype.readFileBase=function(id,flagsNum,encoding){var result,isUserFd=typeof id=="number",userOwnsFd=isUserFd&&isFd(id),fd;if(userOwnsFd)fd=id;else{var filename=pathToFilename(id),steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(link){var node=link.getNode();if(node.isDirectory())throw createError(EISDIR,"open",link.getPath())}fd=this.openSync(id,flagsNum)}try{result=bufferToEncoding(this.getFileByFdOrThrow(fd).getBuffer(),encoding)}finally{userOwnsFd||this.closeSync(fd)}return result},Volume2.prototype.readFileSync=function(file,options){var opts=getReadFileOptions(options),flagsNum=flagsToNumber(opts.flag);return this.readFileBase(file,flagsNum,opts.encoding)},Volume2.prototype.readFile=function(id,a,b){var _a=optsAndCbGenerator(getReadFileOptions)(a,b),opts=_a[0],callback=_a[1],flagsNum=flagsToNumber(opts.flag);this.wrapAsync(this.readFileBase,[id,flagsNum,opts.encoding],callback)},Volume2.prototype.writeBase=function(fd,buf,offset,length,position){var file=this.getFileByFdOrThrow(fd,"write");return file.write(buf,offset,length,position)},Volume2.prototype.writeSync=function(fd,a,b,c,d){validateFd(fd);var encoding,offset,length,position,isBuffer=typeof a!="string";isBuffer?(offset=(b||0)|0,length=c,position=d):(position=b,encoding=c);var buf=dataToBuffer(a,encoding);return isBuffer?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length),this.writeBase(fd,buf,offset,length,position)},Volume2.prototype.write=function(fd,a,b,c,d,e){var _this=this;validateFd(fd);var offset,length,position,encoding,callback,tipa=typeof a,tipb=typeof b,tipc=typeof c,tipd=typeof d;tipa!=="string"?tipb==="function"?callback=b:tipc==="function"?(offset=b|0,callback=c):tipd==="function"?(offset=b|0,length=c,callback=d):(offset=b|0,length=c,position=d,callback=e):tipb==="function"?callback=b:tipc==="function"?(position=b,callback=c):tipd==="function"&&(position=b,encoding=c,callback=d);var buf=dataToBuffer(a,encoding);tipa!=="string"?typeof length>"u"&&(length=buf.length):(offset=0,length=buf.length);var cb=validateCallback(callback);setImmediate_1.default(function(){try{var bytes=_this.writeBase(fd,buf,offset,length,position);tipa!=="string"?cb(null,bytes,buf):cb(null,bytes,a)}catch(err){cb(err)}})},Volume2.prototype.writeFileBase=function(id,buf,flagsNum,modeNum){var isUserFd=typeof id=="number",fd;isUserFd?fd=id:fd=this.openBase(pathToFilename(id),flagsNum,modeNum);var offset=0,length=buf.length,position=flagsNum&O_APPEND?void 0:0;try{for(;length>0;){var written=this.writeSync(fd,buf,offset,length,position);offset+=written,length-=written,position!==void 0&&(position+=written)}}finally{isUserFd||this.closeSync(fd)}},Volume2.prototype.writeFileSync=function(id,data,options){var opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.writeFileBase(id,buf,flagsNum,modeNum)},Volume2.prototype.writeFile=function(id,data,a,b){var options=a,callback=b;typeof a=="function"&&(options=writeFileDefaults,callback=a);var cb=validateCallback(callback),opts=getWriteFileOptions(options),flagsNum=flagsToNumber(opts.flag),modeNum=modeToNumber(opts.mode),buf=dataToBuffer(data,opts.encoding);this.wrapAsync(this.writeFileBase,[id,buf,flagsNum,modeNum],cb)},Volume2.prototype.linkBase=function(filename1,filename2){var steps1=filenameToSteps(filename1),link1=this.getLink(steps1);if(!link1)throw createError(ENOENT,"link",filename1,filename2);var steps2=filenameToSteps(filename2),dir2=this.getLinkParent(steps2);if(!dir2)throw createError(ENOENT,"link",filename1,filename2);var name=steps2[steps2.length-1];if(dir2.getChild(name))throw createError(EEXIST,"link",filename1,filename2);var node=link1.getNode();node.nlink++,dir2.createChild(name,node)},Volume2.prototype.copyFileBase=function(src,dest,flags){var buf=this.readFileSync(src);if(flags&COPYFILE_EXCL&&this.existsSync(dest))throw createError(EEXIST,"copyFile",src,dest);if(flags&COPYFILE_FICLONE_FORCE)throw createError(ENOSYS,"copyFile",src,dest);this.writeFileBase(dest,buf,FLAGS.w,438)},Volume2.prototype.copyFileSync=function(src,dest,flags){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest);return this.copyFileBase(srcFilename,destFilename,(flags||0)|0)},Volume2.prototype.copyFile=function(src,dest,a,b){var srcFilename=pathToFilename(src),destFilename=pathToFilename(dest),flags,callback;typeof a=="function"?(flags=0,callback=a):(flags=a,callback=b),validateCallback(callback),this.wrapAsync(this.copyFileBase,[srcFilename,destFilename,flags],callback)},Volume2.prototype.linkSync=function(existingPath,newPath){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.linkBase(existingPathFilename,newPathFilename)},Volume2.prototype.link=function(existingPath,newPath,callback){var existingPathFilename=pathToFilename(existingPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.linkBase,[existingPathFilename,newPathFilename],callback)},Volume2.prototype.unlinkBase=function(filename){var steps=filenameToSteps(filename),link=this.getLink(steps);if(!link)throw createError(ENOENT,"unlink",filename);if(link.length)throw Error("Dir not empty...");this.deleteLink(link);var node=link.getNode();node.nlink--,node.nlink<=0&&this.deleteNode(node)},Volume2.prototype.unlinkSync=function(path){var filename=pathToFilename(path);this.unlinkBase(filename)},Volume2.prototype.unlink=function(path,callback){var filename=pathToFilename(path);this.wrapAsync(this.unlinkBase,[filename],callback)},Volume2.prototype.symlinkBase=function(targetFilename,pathFilename){var pathSteps=filenameToSteps(pathFilename),dirLink=this.getLinkParent(pathSteps);if(!dirLink)throw createError(ENOENT,"symlink",targetFilename,pathFilename);var name=pathSteps[pathSteps.length-1];if(dirLink.getChild(name))throw createError(EEXIST,"symlink",targetFilename,pathFilename);var symlink=dirLink.createChild(name);return symlink.getNode().makeSymlink(filenameToSteps(targetFilename)),symlink},Volume2.prototype.symlinkSync=function(target,path,type){var targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.symlinkBase(targetFilename,pathFilename)},Volume2.prototype.symlink=function(target,path,a,b){var callback=validateCallback(typeof a=="function"?a:b),targetFilename=pathToFilename(target),pathFilename=pathToFilename(path);this.wrapAsync(this.symlinkBase,[targetFilename,pathFilename],callback)},Volume2.prototype.realpathBase=function(filename,encoding){var steps=filenameToSteps(filename),realLink=this.getResolvedLink(steps);if(!realLink)throw createError(ENOENT,"realpath",filename);return encoding_1.strToEncoding(realLink.getPath(),encoding)},Volume2.prototype.realpathSync=function(path,options){return this.realpathBase(pathToFilename(path),getRealpathOptions(options).encoding)},Volume2.prototype.realpath=function(path,a,b){var _a=getRealpathOptsAndCb(a,b),opts=_a[0],callback=_a[1],pathFilename=pathToFilename(path);this.wrapAsync(this.realpathBase,[pathFilename,opts.encoding],callback)},Volume2.prototype.lstatBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"lstat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.lstatSync=function(path,options){return this.lstatBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.lstat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.lstatBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.statBase=function(filename,bigint){bigint===void 0&&(bigint=!1);var link=this.getResolvedLink(filenameToSteps(filename));if(!link)throw createError(ENOENT,"stat",filename);return Stats_1.default.build(link.getNode(),bigint)},Volume2.prototype.statSync=function(path,options){return this.statBase(pathToFilename(path),getStatOptions(options).bigint)},Volume2.prototype.stat=function(path,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.statBase,[pathToFilename(path),opts.bigint],callback)},Volume2.prototype.fstatBase=function(fd,bigint){bigint===void 0&&(bigint=!1);var file=this.getFileByFd(fd);if(!file)throw createError(EBADF,"fstat");return Stats_1.default.build(file.node,bigint)},Volume2.prototype.fstatSync=function(fd,options){return this.fstatBase(fd,getStatOptions(options).bigint)},Volume2.prototype.fstat=function(fd,a,b){var _a=getStatOptsAndCb(a,b),opts=_a[0],callback=_a[1];this.wrapAsync(this.fstatBase,[fd,opts.bigint],callback)},Volume2.prototype.renameBase=function(oldPathFilename,newPathFilename){var link=this.getLink(filenameToSteps(oldPathFilename));if(!link)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var newPathSteps=filenameToSteps(newPathFilename),newPathDirLink=this.getLinkParent(newPathSteps);if(!newPathDirLink)throw createError(ENOENT,"rename",oldPathFilename,newPathFilename);var oldLinkParent=link.parent;oldLinkParent&&oldLinkParent.deleteChild(link);var name=newPathSteps[newPathSteps.length-1];link.steps=__spreadArrays(newPathDirLink.steps,[name]),newPathDirLink.setChild(link.getName(),link)},Volume2.prototype.renameSync=function(oldPath,newPath){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.renameBase(oldPathFilename,newPathFilename)},Volume2.prototype.rename=function(oldPath,newPath,callback){var oldPathFilename=pathToFilename(oldPath),newPathFilename=pathToFilename(newPath);this.wrapAsync(this.renameBase,[oldPathFilename,newPathFilename],callback)},Volume2.prototype.existsBase=function(filename){return!!this.statBase(filename)},Volume2.prototype.existsSync=function(path){try{return this.existsBase(pathToFilename(path))}catch{return!1}},Volume2.prototype.exists=function(path,callback){var _this=this,filename=pathToFilename(path);if(typeof callback!="function")throw Error(ERRSTR.CB);setImmediate_1.default(function(){try{callback(_this.existsBase(filename))}catch{callback(!1)}})},Volume2.prototype.accessBase=function(filename,mode){var link=this.getLinkOrThrow(filename,"access")},Volume2.prototype.accessSync=function(path,mode){mode===void 0&&(mode=F_OK);var filename=pathToFilename(path);mode=mode|0,this.accessBase(filename,mode)},Volume2.prototype.access=function(path,a,b){var mode=F_OK,callback;typeof a!="function"?(mode=a|0,callback=validateCallback(b)):callback=a;var filename=pathToFilename(path);this.wrapAsync(this.accessBase,[filename,mode],callback)},Volume2.prototype.appendFileSync=function(id,data,options){options===void 0&&(options=appendFileDefaults);var opts=getAppendFileOpts(options);(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFileSync(id,data,opts)},Volume2.prototype.appendFile=function(id,data,a,b){var _a=getAppendFileOptsAndCb(a,b),opts=_a[0],callback=_a[1];(!opts.flag||isFd(id))&&(opts.flag="a"),this.writeFile(id,data,opts,callback)},Volume2.prototype.readdirBase=function(filename,options){var steps=filenameToSteps(filename),link=this.getResolvedLink(steps);if(!link)throw createError(ENOENT,"readdir",filename);var node=link.getNode();if(!node.isDirectory())throw createError(ENOTDIR,"scandir",filename);if(options.withFileTypes){var list_1=[];for(var name_3 in link.children){var child=link.getChild(name_3);!child||list_1.push(Dirent_1.default.build(child,options.encoding))}return!isWin&&options.encoding!=="buffer"&&list_1.sort(function(a,b){return a.name<b.name?-1:a.name>b.name?1:0}),list_1}var list=[];for(var name_4 in link.children)list.push(encoding_1.strToEncoding(name_4,options.encoding));return!isWin&&options.encoding!=="buffer"&&list.sort(),list},Volume2.prototype.readdirSync=function(path,options){var opts=getReaddirOptions(options),filename=pathToFilename(path);return this.readdirBase(filename,opts)},Volume2.prototype.readdir=function(path,a,b){var _a=getReaddirOptsAndCb(a,b),options=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readdirBase,[filename,options],callback)},Volume2.prototype.readlinkBase=function(filename,encoding){var link=this.getLinkOrThrow(filename,"readlink"),node=link.getNode();if(!node.isSymlink())throw createError(EINVAL,"readlink",filename);var str=sep+node.symlink.join(sep);return encoding_1.strToEncoding(str,encoding)},Volume2.prototype.readlinkSync=function(path,options){var opts=getDefaultOpts(options),filename=pathToFilename(path);return this.readlinkBase(filename,opts.encoding)},Volume2.prototype.readlink=function(path,a,b){var _a=getDefaultOptsAndCb(a,b),opts=_a[0],callback=_a[1],filename=pathToFilename(path);this.wrapAsync(this.readlinkBase,[filename,opts.encoding],callback)},Volume2.prototype.fsyncBase=function(fd){this.getFileByFdOrThrow(fd,"fsync")},Volume2.prototype.fsyncSync=function(fd){this.fsyncBase(fd)},Volume2.prototype.fsync=function(fd,callback){this.wrapAsync(this.fsyncBase,[fd],callback)},Volume2.prototype.fdatasyncBase=function(fd){this.getFileByFdOrThrow(fd,"fdatasync")},Volume2.prototype.fdatasyncSync=function(fd){this.fdatasyncBase(fd)},Volume2.prototype.fdatasync=function(fd,callback){this.wrapAsync(this.fdatasyncBase,[fd],callback)},Volume2.prototype.ftruncateBase=function(fd,len){var file=this.getFileByFdOrThrow(fd,"ftruncate");file.truncate(len)},Volume2.prototype.ftruncateSync=function(fd,len){this.ftruncateBase(fd,len)},Volume2.prototype.ftruncate=function(fd,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);this.wrapAsync(this.ftruncateBase,[fd,len],callback)},Volume2.prototype.truncateBase=function(path,len){var fd=this.openSync(path,"r+");try{this.ftruncateSync(fd,len)}finally{this.closeSync(fd)}},Volume2.prototype.truncateSync=function(id,len){if(isFd(id))return this.ftruncateSync(id,len);this.truncateBase(id,len)},Volume2.prototype.truncate=function(id,a,b){var len=typeof a=="number"?a:0,callback=validateCallback(typeof a=="number"?b:a);if(isFd(id))return this.ftruncate(id,len,callback);this.wrapAsync(this.truncateBase,[id,len],callback)},Volume2.prototype.futimesBase=function(fd,atime,mtime){var file=this.getFileByFdOrThrow(fd,"futimes"),node=file.node;node.atime=new Date(atime*1e3),node.mtime=new Date(mtime*1e3)},Volume2.prototype.futimesSync=function(fd,atime,mtime){this.futimesBase(fd,toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.futimes=function(fd,atime,mtime,callback){this.wrapAsync(this.futimesBase,[fd,toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.utimesBase=function(filename,atime,mtime){var fd=this.openSync(filename,"r+");try{this.futimesBase(fd,atime,mtime)}finally{this.closeSync(fd)}},Volume2.prototype.utimesSync=function(path,atime,mtime){this.utimesBase(pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime))},Volume2.prototype.utimes=function(path,atime,mtime,callback){this.wrapAsync(this.utimesBase,[pathToFilename(path),toUnixTimestamp(atime),toUnixTimestamp(mtime)],callback)},Volume2.prototype.mkdirBase=function(filename,modeNum){var steps=filenameToSteps(filename);if(!steps.length)throw createError(EISDIR,"mkdir",filename);var dir=this.getLinkParentAsDirOrThrow(filename,"mkdir"),name=steps[steps.length-1];if(dir.getChild(name))throw createError(EEXIST,"mkdir",filename);dir.createChild(name,this.createNode(!0,modeNum))},Volume2.prototype.mkdirpBase=function(filename,modeNum){for(var steps=filenameToSteps(filename),link=this.root,i=0;i<steps.length;i++){var step=steps[i];if(!link.getNode().isDirectory())throw createError(ENOTDIR,"mkdir",link.getPath());var child=link.getChild(step);if(child)if(child.getNode().isDirectory())link=child;else throw createError(ENOTDIR,"mkdir",child.getPath());else link=link.createChild(step,this.createNode(!0,modeNum))}},Volume2.prototype.mkdirSync=function(path,options){var opts=getMkdirOptions(options),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.mkdirpBase(filename,modeNum):this.mkdirBase(filename,modeNum)},Volume2.prototype.mkdir=function(path,a,b){var opts=getMkdirOptions(a),callback=validateCallback(typeof a=="function"?a:b),modeNum=modeToNumber(opts.mode,511),filename=pathToFilename(path);opts.recursive?this.wrapAsync(this.mkdirpBase,[filename,modeNum],callback):this.wrapAsync(this.mkdirBase,[filename,modeNum],callback)},Volume2.prototype.mkdirpSync=function(path,mode){this.mkdirSync(path,{mode,recursive:!0})},Volume2.prototype.mkdirp=function(path,a,b){var mode=typeof a=="function"?void 0:a,callback=validateCallback(typeof a=="function"?a:b);this.mkdir(path,{mode,recursive:!0},callback)},Volume2.prototype.mkdtempBase=function(prefix,encoding,retry){retry===void 0&&(retry=5);var filename=prefix+this.genRndStr();try{return this.mkdirBase(filename,511),encoding_1.strToEncoding(filename,encoding)}catch(err){if(err.code===EEXIST){if(retry>1)return this.mkdtempBase(prefix,encoding,retry-1);throw Error("Could not create temp dir.")}else throw err}},Volume2.prototype.mkdtempSync=function(prefix,options){var encoding=getDefaultOpts(options).encoding;if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");return nullCheck(prefix),this.mkdtempBase(prefix,encoding)},Volume2.prototype.mkdtemp=function(prefix,a,b){var _a=getDefaultOptsAndCb(a,b),encoding=_a[0].encoding,callback=_a[1];if(!prefix||typeof prefix!="string")throw new TypeError("filename prefix is required");!nullCheck(prefix)||this.wrapAsync(this.mkdtempBase,[prefix,encoding],callback)},Volume2.prototype.rmdirBase=function(filename,options){var opts=getRmdirOptions(options),link=this.getLinkAsDirOrThrow(filename,"rmdir");if(link.length&&!opts.recursive)throw createError(ENOTEMPTY,"rmdir",filename);this.deleteLink(link)},Volume2.prototype.rmdirSync=function(path,options){this.rmdirBase(pathToFilename(path),options)},Volume2.prototype.rmdir=function(path,a,b){var opts=getRmdirOptions(a),callback=validateCallback(typeof a=="function"?a:b);this.wrapAsync(this.rmdirBase,[pathToFilename(path),opts],callback)},Volume2.prototype.fchmodBase=function(fd,modeNum){var file=this.getFileByFdOrThrow(fd,"fchmod");file.chmod(modeNum)},Volume2.prototype.fchmodSync=function(fd,mode){this.fchmodBase(fd,modeToNumber(mode))},Volume2.prototype.fchmod=function(fd,mode,callback){this.wrapAsync(this.fchmodBase,[fd,modeToNumber(mode)],callback)},Volume2.prototype.chmodBase=function(filename,modeNum){var fd=this.openSync(filename,"r+");try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.chmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.chmodBase(filename,modeNum)},Volume2.prototype.chmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.chmodBase,[filename,modeNum],callback)},Volume2.prototype.lchmodBase=function(filename,modeNum){var fd=this.openBase(filename,O_RDWR,0,!1);try{this.fchmodBase(fd,modeNum)}finally{this.closeSync(fd)}},Volume2.prototype.lchmodSync=function(path,mode){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.lchmodBase(filename,modeNum)},Volume2.prototype.lchmod=function(path,mode,callback){var modeNum=modeToNumber(mode),filename=pathToFilename(path);this.wrapAsync(this.lchmodBase,[filename,modeNum],callback)},Volume2.prototype.fchownBase=function(fd,uid,gid){this.getFileByFdOrThrow(fd,"fchown").chown(uid,gid)},Volume2.prototype.fchownSync=function(fd,uid,gid){validateUid(uid),validateGid(gid),this.fchownBase(fd,uid,gid)},Volume2.prototype.fchown=function(fd,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.fchownBase,[fd,uid,gid],callback)},Volume2.prototype.chownBase=function(filename,uid,gid){var link=this.getResolvedLinkOrThrow(filename,"chown"),node=link.getNode();node.chown(uid,gid)},Volume2.prototype.chownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.chownBase(pathToFilename(path),uid,gid)},Volume2.prototype.chown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.chownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.lchownBase=function(filename,uid,gid){this.getLinkOrThrow(filename,"lchown").getNode().chown(uid,gid)},Volume2.prototype.lchownSync=function(path,uid,gid){validateUid(uid),validateGid(gid),this.lchownBase(pathToFilename(path),uid,gid)},Volume2.prototype.lchown=function(path,uid,gid,callback){validateUid(uid),validateGid(gid),this.wrapAsync(this.lchownBase,[pathToFilename(path),uid,gid],callback)},Volume2.prototype.watchFile=function(path,a,b){var filename=pathToFilename(path),options=a,listener=b;if(typeof options=="function"&&(listener=a,options=null),typeof listener!="function")throw Error('"watchFile()" requires a listener function');var interval=5007,persistent=!0;options&&typeof options=="object"&&(typeof options.interval=="number"&&(interval=options.interval),typeof options.persistent=="boolean"&&(persistent=options.persistent));var watcher=this.statWatchers[filename];return watcher||(watcher=new this.StatWatcher,watcher.start(filename,persistent,interval),this.statWatchers[filename]=watcher),watcher.addListener("change",listener),watcher},Volume2.prototype.unwatchFile=function(path,listener){var filename=pathToFilename(path),watcher=this.statWatchers[filename];!watcher||(typeof listener=="function"?watcher.removeListener("change",listener):watcher.removeAllListeners("change"),watcher.listenerCount("change")===0&&(watcher.stop(),delete this.statWatchers[filename]))},Volume2.prototype.createReadStream=function(path,options){return new this.ReadStream(path,options)},Volume2.prototype.createWriteStream=function(path,options){return new this.WriteStream(path,options)},Volume2.prototype.watch=function(path,options,listener){var filename=pathToFilename(path),givenOptions=options;typeof options=="function"&&(listener=options,givenOptions=null);var _a=getDefaultOpts(givenOptions),persistent=_a.persistent,recursive=_a.recursive,encoding=_a.encoding;persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1);var watcher=new this.FSWatcher;return watcher.start(filename,persistent,recursive,encoding),listener&&watcher.addListener("change",listener),watcher},Volume2.fd=2147483647,Volume2}();exports.Volume=Volume;function emitStop(self2){self2.emit("stop")}var StatWatcher=function(_super){__extends(StatWatcher2,_super);function StatWatcher2(vol){var _this=_super.call(this)||this;return _this.onInterval=function(){try{var stats=_this.vol.statSync(_this.filename);_this.hasChanged(stats)&&(_this.emit("change",stats,_this.prev),_this.prev=stats)}finally{_this.loop()}},_this.vol=vol,_this}return StatWatcher2.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},StatWatcher2.prototype.hasChanged=function(stats){return stats.mtimeMs>this.prev.mtimeMs||stats.nlink!==this.prev.nlink},StatWatcher2.prototype.start=function(path,persistent,interval){persistent===void 0&&(persistent=!0),interval===void 0&&(interval=5007),this.filename=pathToFilename(path),this.setTimeout=persistent?setTimeout:setTimeoutUnref_1.default,this.interval=interval,this.prev=this.vol.statSync(this.filename),this.loop()},StatWatcher2.prototype.stop=function(){clearTimeout(this.timeoutRef),process_1.default.nextTick(emitStop,this)},StatWatcher2}(events_1.EventEmitter);exports.StatWatcher=StatWatcher;var pool;function allocNewPool(poolSize){pool=buffer_1.bufferAllocUnsafe(poolSize),pool.used=0}util.inherits(FsReadStream,stream_1.Readable),exports.ReadStream=FsReadStream;function FsReadStream(vol,path,options){if(!(this instanceof FsReadStream))return new FsReadStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),options.highWaterMark===void 0&&(options.highWaterMark=64*1024),stream_1.Readable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"r":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.end=options.end,this.autoClose=options.autoClose===void 0?!0:options.autoClose,this.pos=void 0,this.bytesRead=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}typeof this.fd!="number"&&this.open(),this.on("end",function(){this.autoClose&&this.destroy&&this.destroy()})}FsReadStream.prototype.open=function(){var self2=this;this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);return}self2.fd=fd,self2.emit("open",fd),self2.read()})},FsReadStream.prototype._read=function(n){if(typeof this.fd!="number")return this.once("open",function(){this._read(n)});if(this.destroyed)return;(!pool||pool.length-pool.used<kMinPoolSpace)&&allocNewPool(this._readableState.highWaterMark);var thisPool=pool,toRead=Math.min(pool.length-pool.used,n),start=pool.used;if(this.pos!==void 0&&(toRead=Math.min(this.end-this.pos+1,toRead)),toRead<=0)return this.push(null);var self2=this;this._vol.read(this.fd,pool,pool.used,toRead,this.pos,onread),this.pos!==void 0&&(this.pos+=toRead),pool.used+=toRead;function onread(er,bytesRead){if(er)self2.autoClose&&self2.destroy&&self2.destroy(),self2.emit("error",er);else{var b=null;bytesRead>0&&(self2.bytesRead+=bytesRead,b=thisPool.slice(start,start+bytesRead)),self2.push(b)}}},FsReadStream.prototype._destroy=function(err,cb){this.close(function(err2){cb(err||err2)})},FsReadStream.prototype.close=function(cb){var _this=this;if(cb&&this.once("close",cb),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",closeOnOpen);return}return process_1.default.nextTick(function(){return _this.emit("close")})}this.closed=!0,this._vol.close(this.fd,function(er){er?_this.emit("error",er):_this.emit("close")}),this.fd=null};function closeOnOpen(fd){this.close()}util.inherits(FsWriteStream,stream_1.Writable),exports.WriteStream=FsWriteStream;function FsWriteStream(vol,path,options){if(!(this instanceof FsWriteStream))return new FsWriteStream(vol,path,options);if(this._vol=vol,options=extend({},getOptions(options,{})),stream_1.Writable.call(this,options),this.path=pathToFilename(path),this.fd=options.fd===void 0?null:options.fd,this.flags=options.flags===void 0?"w":options.flags,this.mode=options.mode===void 0?438:options.mode,this.start=options.start,this.autoClose=options.autoClose===void 0?!0:!!options.autoClose,this.pos=void 0,this.bytesWritten=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}options.encoding&&this.setDefaultEncoding(options.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}FsWriteStream.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(er,fd){if(er){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",er);return}this.fd=fd,this.emit("open",fd)}.bind(this))},FsWriteStream.prototype._write=function(data,encoding,cb){if(!(data instanceof buffer_1.Buffer))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(data,encoding,cb)});var self2=this;this._vol.write(this.fd,data,0,data.length,this.pos,function(er,bytes){if(er)return self2.autoClose&&self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=data.length)},FsWriteStream.prototype._writev=function(data,cb){if(typeof this.fd!="number")return this.once("open",function(){this._writev(data,cb)});for(var self2=this,len=data.length,chunks=new Array(len),size=0,i=0;i<len;i++){var chunk=data[i].chunk;chunks[i]=chunk,size+=chunk.length}var buf=buffer_1.Buffer.concat(chunks);this._vol.write(this.fd,buf,0,buf.length,this.pos,function(er,bytes){if(er)return self2.destroy&&self2.destroy(),cb(er);self2.bytesWritten+=bytes,cb()}),this.pos!==void 0&&(this.pos+=size)},FsWriteStream.prototype._destroy=FsReadStream.prototype._destroy,FsWriteStream.prototype.close=FsReadStream.prototype.close,FsWriteStream.prototype.destroySoon=FsWriteStream.prototype.end;var FSWatcher=function(_super){__extends(FSWatcher2,_super);function FSWatcher2(vol){var _this=_super.call(this)||this;return _this._filename="",_this._filenameEncoded="",_this._recursive=!1,_this._encoding=encoding_1.ENCODING_UTF8,_this._onNodeChange=function(){_this._emit("change")},_this._onParentChild=function(link){link.getName()===_this._getName()&&_this._emit("rename")},_this._emit=function(type){_this.emit("change",type,_this._filenameEncoded)},_this._persist=function(){_this._timer=setTimeout(_this._persist,1e6)},_this._vol=vol,_this}return FSWatcher2.prototype._getName=function(){return this._steps[this._steps.length-1]},FSWatcher2.prototype.start=function(path,persistent,recursive,encoding){persistent===void 0&&(persistent=!0),recursive===void 0&&(recursive=!1),encoding===void 0&&(encoding=encoding_1.ENCODING_UTF8),this._filename=pathToFilename(path),this._steps=filenameToSteps(this._filename),this._filenameEncoded=encoding_1.strToEncoding(this._filename),this._recursive=recursive,this._encoding=encoding;try{this._link=this._vol.getLinkOrThrow(this._filename,"FSWatcher")}catch(err){var error=new Error("watch "+this._filename+" "+err.code);throw error.code=err.code,error.errno=err.code,error}this._link.getNode().on("change",this._onNodeChange),this._link.on("child:add",this._onNodeChange),this._link.on("child:delete",this._onNodeChange);var parent=this._link.parent;parent&&(parent.setMaxListeners(parent.getMaxListeners()+1),parent.on("child:delete",this._onParentChild)),persistent&&this._persist()},FSWatcher2.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var parent=this._link.parent;parent&&parent.removeListener("child:delete",this._onParentChild)},FSWatcher2}(events_1.EventEmitter);exports.FSWatcher=FSWatcher},1028:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Row=void 0;var row_1=__webpack_require__(30198);Object.defineProperty(exports,"Row",{enumerable:!0,get:function(){return row_1.Row}})},30198:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Row=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(41958)),row_module_scss_1=__importDefault(__webpack_require__(38556));function Row(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("div",Object.assign({className:(0,classnames_1.default)(row_module_scss_1.default.row,className)},rest),children)}exports.Row=Row},41958:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
@@ -251,7 +251,7 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
251
251
  `))})}function AllLineNumbers(_ref2){var codeString=_ref2.codeString,codeStyle=_ref2.codeStyle,_ref2$containerStyle=_ref2.containerStyle,containerStyle=_ref2$containerStyle===void 0?{float:"left",paddingRight:"10px"}:_ref2$containerStyle,_ref2$numberStyle=_ref2.numberStyle,numberStyle=_ref2$numberStyle===void 0?{}:_ref2$numberStyle,startingLineNumber=_ref2.startingLineNumber;return react.createElement("code",{style:Object.assign({},codeStyle,containerStyle)},getAllLineNumbers({lines:codeString.replace(/\n$/,"").split(`
252
252
  `),style:numberStyle,startingLineNumber}))}function getEmWidthOfNumber(num){var len=num.toString().length;return"".concat(len,"em")}function getInlineLineNumber(lineNumber,inlineLineNumberStyle){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(lineNumber),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:inlineLineNumberStyle},children:[{type:"text",value:lineNumber}]}}function assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber){var defaultLineNumberStyle={display:"inline-block",minWidth:getEmWidthOfNumber(largestLineNumber),paddingRight:"1em",textAlign:"right",userSelect:"none"},customLineNumberStyle=typeof lineNumberStyle=="function"?lineNumberStyle(lineNumber):lineNumberStyle,assembledStyle=(0,objectSpread.Z)({},defaultLineNumberStyle,customLineNumberStyle);return assembledStyle}function createLineElement(_ref3){var children=_ref3.children,lineNumber=_ref3.lineNumber,lineNumberStyle=_ref3.lineNumberStyle,largestLineNumber=_ref3.largestLineNumber,showInlineLineNumbers=_ref3.showInlineLineNumbers,_ref3$lineProps=_ref3.lineProps,lineProps=_ref3$lineProps===void 0?{}:_ref3$lineProps,_ref3$className=_ref3.className,className=_ref3$className===void 0?[]:_ref3$className,properties=typeof lineProps=="function"?lineProps(lineNumber):lineProps;if(properties.className=className,lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return{type:"element",tagName:"span",properties,children}}function flattenCodeTree(tree){for(var className=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],newTree=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=0;i<tree.length;i++){var node=tree[i];if(node.type==="text")newTree.push(createLineElement({children:[node],className}));else if(node.children){var classNames2=className.concat(node.properties.className);newTree=newTree.concat(flattenCodeTree(node.children,classNames2))}}return newTree}function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle){var _ref4,tree=flattenCodeTree(codeTree.value),newTree=[],lastLineBreakIndex=-1,index=0;function createWrappedLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return createLineElement({children:children2,lineNumber:lineNumber2,lineNumberStyle,largestLineNumber,showInlineLineNumbers,lineProps,className})}function createUnwrappedLine(children2,lineNumber2){if(lineNumber2&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber2,largestLineNumber);children2.unshift(getInlineLineNumber(lineNumber2,inlineLineNumberStyle))}return children2}function createLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children2,lineNumber2,className):createUnwrappedLine(children2,lineNumber2)}for(var _loop=function(){var node=tree[index],value=node.children[0].value,newLines=getNewLines(value);if(newLines){var splitValue=value.split(`
253
253
  `);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,`
254
- `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!1:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));wrapLines=renderer&&wrapLines===void 0?!0:wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle);return react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}const default_style={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var lowlight=__webpack_require__(26912),lowlight_default=__webpack_require__.n(lowlight);const supported_languages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var highlighter=highlight(lowlight_default(),default_style);highlighter.supportedLanguages=supported_languages;const default_highlight=highlighter},53335:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}}},64170:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(2605);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},2605:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),ul_module_scss_1=__importDefault(__webpack_require__(59379));function Ul(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ul",Object.assign({},rest,{className:(0,classnames_1.default)(ul_module_scss_1.default.ul,className)}),children)}exports.Ul=Ul},33859:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.fadeInOutClass=void 0;const fade_in_out_module_scss_1=__importDefault(__webpack_require__(87728));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},48834:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(67294)),base_ui_elements_icon_1=__webpack_require__(48318),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},54560:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(48834),exports)},9192:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Dropdown=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),base_ui_surfaces_drawer_1=__webpack_require__(82854),base_ui_surfaces_abs_container_1=__webpack_require__(76692),base_ui_css_components_elevation_1=__webpack_require__(71203),base_ui_css_components_roundness_1=__webpack_require__(70518),base_ui_surfaces_background_1=__webpack_require__(28109),dropdown_module_scss_1=__importDefault(__webpack_require__(49232)),evangelist_css_components_fade_in_out_1=__webpack_require__(33859);function Dropdown(_a){var{children,position="bottom",dropClass}=_a,rest=__rest(_a,["children","position","dropClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({},rest),react_1.default.createElement(DropdownMenu,{position,className:dropClass},children))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="medium",roundness="sharp"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:classnames_1.default(dropdown_module_scss_1.default.dropdown,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],evangelist_css_components_fade_in_out_1.fadeInOutClass,className)}))}Dropdown.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},67963:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(9192),exports)},65660:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},71203:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.elevationClass=void 0;const elevations_module_scss_1=__importDefault(__webpack_require__(54772));__exportStar(__webpack_require__(65660),exports),exports.elevationClass={low:elevations_module_scss_1.default.low,medium:elevations_module_scss_1.default.medium,high:elevations_module_scss_1.default.high,none:void 0}},2830:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Containee=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),react_create_ref_1=__importDefault(__webpack_require__(22184)),abs_container_module_scss_1=__importDefault(__webpack_require__(47028)),positions_module_scss_1=__importDefault(__webpack_require__(16937)),displacement_module_scss_1=__importDefault(__webpack_require__(28683));class Containee extends react_1.Component{constructor(){super(...arguments);this.ref=react_create_ref_1.default()}render(){const _a=this.props,{className,position="bottom"}=_a,rest=__rest(_a,["className","position"]),positionClass=positions_module_scss_1.default[position],displacement=displacement_module_scss_1.default.displacement;return react_1.default.createElement("div",Object.assign({ref:this.ref,className:classnames_1.default(abs_container_module_scss_1.default.containee,displacement,positionClass,className),"data-position":position},rest))}}exports.Containee=Containee},62433:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(2830),exports)},50432:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Container=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),abs_container_module_scss_1=__importDefault(__webpack_require__(47028));exports.Container=react_1.forwardRef(function(_a,ref){var{className,open}=_a,rest=__rest(_a,["className","open"]);return react_1.default.createElement("div",Object.assign({ref,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open},rest))})},27971:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(50432),exports)},76692:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.containeeClass=exports.containerClass=void 0;const abs_container_module_scss_1=__importDefault(__webpack_require__(47028));__exportStar(__webpack_require__(62433),exports),__exportStar(__webpack_require__(27971),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},34276:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultPlaceholder=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),drawer_module_scss_1=__importDefault(__webpack_require__(18016));function DefaultPlaceholder(props){return react_1.default.createElement("div",Object.assign({},props,{className:classnames_1.default(props.className,drawer_module_scss_1.default.placeholder)}))}exports.DefaultPlaceholder=DefaultPlaceholder},78034:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Drawer=void 0;const react_1=__importStar(__webpack_require__(67294)),base_ui_surfaces_abs_container_1=__webpack_require__(76692),base_ui_hook_use_click_outside_1=__webpack_require__(79721),react_create_ref_1=__importDefault(__webpack_require__(22184)),default_placeholder_1=__webpack_require__(34276);class Drawer extends react_1.Component{constructor(){super(...arguments);this.state={isOpen:this.props.open||!1},this.ref=react_create_ref_1.default(),this.toggle=evt=>{const{isOpen}=this.state,nextOpen=!isOpen;this.isControlled||this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.close=evt=>{const{isOpen}=this.state,nextOpen=!1;!this.isControlled&&isOpen&&this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.open=evt=>{const{isOpen}=this.state,nextOpen=!0;!this.isControlled&&!isOpen&&this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(nextProps){this.props.open!==nextProps.open&&nextProps.open!==void 0&&this.setState({isOpen:nextProps.open})}get isControlled(){return this.props.open!==void 0}render(){const _a=this.props,{placeholder,children,PlaceholderComponent=default_placeholder_1.DefaultPlaceholder,clickOutside,onMouseEnter,onMouseLeave,open,hoverToOpen,clickPlaceholderToggles,clickToggles,onChange,onPlaceholderToggle,onContainerToggle,onContaineeToggle,onClickOutside}=_a,rest=__rest(_a,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen}=this.state;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Container,Object.assign({},rest,{ref:this.ref,open:isOpen,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),children,react_1.default.createElement(PlaceholderComponent,{onClick:this.handlePlaceholderClick},placeholder),react_1.default.createElement(base_ui_hook_use_click_outside_1.ClickOutside,{targetRef:this.ref,enabled:!!clickOutside&&isOpen,handler:this.handleClickOutside}))}}exports.Drawer=Drawer,Drawer.defaultProps={PlaceholderComponent:default_placeholder_1.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},82854:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(78034),exports)},25056:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(58591),exports),__exportStar(__webpack_require__(37525),exports),__exportStar(__webpack_require__(38303),exports)},38303:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(51277),exports)},51277:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Arrow=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),base_ui_surfaces_abs_container_1=__webpack_require__(6718),arrow_module_scss_1=__importDefault(__webpack_require__(82952)),arrow_position_module_scss_1=__importDefault(__webpack_require__(23862)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(87327));function Arrow(props){const{position="none",className}=props;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},props,{className:classnames_1.default(arrow_module_scss_1.default.arrow,arrow_shadow_module_scss_1.default[position],arrow_position_module_scss_1.default[position],className)}))}exports.Arrow=Arrow},37525:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(84191),exports)},84191:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipMenu=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),base_ui_surfaces_abs_container_1=__webpack_require__(6718),base_ui_css_components_elevation_1=__webpack_require__(17657),base_ui_css_components_roundness_1=__webpack_require__(70518),tooltip_card_module_scss_1=__importDefault(__webpack_require__(44836)),TooltipMenu=_a=>{var{position,children,elevation="medium",roundness="sharp",className}=_a,rest=__rest(_a,["position","children","elevation","roundness","className"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({position,className:classnames_1.default(tooltip_card_module_scss_1.default.menu,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest),children)};exports.TooltipMenu=TooltipMenu,exports.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},58591:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipDrawer=void 0;const react_1=__importDefault(__webpack_require__(67294)),base_ui_surfaces_drawer_1=__webpack_require__(52094),classnames_1=__importDefault(__webpack_require__(94184)),evangelist_css_components_fade_in_out_1=__webpack_require__(33859),tooltip_card_1=__webpack_require__(37525),tooltip_arrow_1=__webpack_require__(38303),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(13796));function TooltipDrawer(_a){var{children,className,position="bottom",elevation,tooltipClass,arrowClass}=_a,rest=__rest(_a,["children","className","position","elevation","tooltipClass","arrowClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({className:classnames_1.default(tooltip_drawer_module_scss_1.default.drawer,className)},rest),react_1.default.createElement(tooltip_card_1.TooltipMenu,{position,elevation,className:classnames_1.default(tooltipClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.tooltip)},children),react_1.default.createElement(tooltip_arrow_1.Arrow,{position,className:classnames_1.default(arrowClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.arrow)}))}exports.TooltipDrawer=TooltipDrawer,TooltipDrawer.defaultProps={hoverToOpen:!1,position:"bottom"}},83622:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},17657:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.elevationClass=void 0;const elevations_module_scss_1=__importDefault(__webpack_require__(25219));__exportStar(__webpack_require__(83622),exports),exports.elevationClass={low:elevations_module_scss_1.default.low,medium:elevations_module_scss_1.default.medium,high:elevations_module_scss_1.default.high,none:void 0}},83537:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Containee=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),react_create_ref_1=__importDefault(__webpack_require__(22184)),abs_container_module_scss_1=__importDefault(__webpack_require__(30161)),positions_module_scss_1=__importDefault(__webpack_require__(5611)),displacement_module_scss_1=__importDefault(__webpack_require__(90553));class Containee extends react_1.Component{constructor(){super(...arguments);this.ref=react_create_ref_1.default()}render(){const _a=this.props,{className,position="bottom"}=_a,rest=__rest(_a,["className","position"]),positionClass=positions_module_scss_1.default[position],displacement=displacement_module_scss_1.default.displacement;return react_1.default.createElement("div",Object.assign({ref:this.ref,className:classnames_1.default(abs_container_module_scss_1.default.containee,displacement,positionClass,className),"data-position":position},rest))}}exports.Containee=Containee},73797:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(83537),exports)},72905:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Container=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),abs_container_module_scss_1=__importDefault(__webpack_require__(30161));exports.Container=react_1.forwardRef(function(_a,ref){var{className,open}=_a,rest=__rest(_a,["className","open"]);return react_1.default.createElement("div",Object.assign({ref,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open},rest))})},89677:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(72905),exports)},6718:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.containeeClass=exports.containerClass=void 0;const abs_container_module_scss_1=__importDefault(__webpack_require__(30161));__exportStar(__webpack_require__(73797),exports),__exportStar(__webpack_require__(89677),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},65910:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultPlaceholder=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),drawer_module_scss_1=__importDefault(__webpack_require__(81121));function DefaultPlaceholder(props){return react_1.default.createElement("div",Object.assign({},props,{className:classnames_1.default(props.className,drawer_module_scss_1.default.placeholder)}))}exports.DefaultPlaceholder=DefaultPlaceholder},7711:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Drawer=void 0;const react_1=__importStar(__webpack_require__(67294)),base_ui_surfaces_abs_container_1=__webpack_require__(6718),base_ui_hook_use_click_outside_1=__webpack_require__(79721),react_create_ref_1=__importDefault(__webpack_require__(22184)),default_placeholder_1=__webpack_require__(65910);class Drawer extends react_1.Component{constructor(){super(...arguments);this.state={isOpen:this.props.open||!1},this.ref=react_create_ref_1.default(),this.toggle=evt=>{const{isOpen}=this.state,nextOpen=!isOpen;this.isControlled||this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.close=evt=>{const{isOpen}=this.state,nextOpen=!1;!this.isControlled&&isOpen&&this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.open=evt=>{const{isOpen}=this.state,nextOpen=!0;!this.isControlled&&!isOpen&&this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(nextProps){this.props.open!==nextProps.open&&nextProps.open!==void 0&&this.setState({isOpen:nextProps.open})}get isControlled(){return this.props.open!==void 0}render(){const _a=this.props,{placeholder,children,PlaceholderComponent=default_placeholder_1.DefaultPlaceholder,clickOutside,onMouseEnter,onMouseLeave,open,hoverToOpen,clickPlaceholderToggles,clickToggles,onChange,onPlaceholderToggle,onContainerToggle,onContaineeToggle,onClickOutside}=_a,rest=__rest(_a,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen}=this.state;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Container,Object.assign({},rest,{ref:this.ref,open:isOpen,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),children,react_1.default.createElement(PlaceholderComponent,{onClick:this.handlePlaceholderClick},placeholder),react_1.default.createElement(base_ui_hook_use_click_outside_1.ClickOutside,{targetRef:this.ref,enabled:!!clickOutside&&isOpen,handler:this.handleClickOutside}))}}exports.Drawer=Drawer,Drawer.defaultProps={PlaceholderComponent:default_placeholder_1.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},52094:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(7711),exports)},51395:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=exports.gql=exports.useQuery=void 0;var use_query_light_1=__webpack_require__(70455);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_light_1.useQuery}}),Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return use_query_light_1.gql}});var server_context_1=__webpack_require__(24372);Object.defineProperty(exports,"QueryServerProvider",{enumerable:!0,get:function(){return server_context_1.QueryServerProvider}}),Object.defineProperty(exports,"useQueryServer",{enumerable:!0,get:function(){return server_context_1.useQueryServer}})},24372:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=void 0;const react_1=__webpack_require__(67294),QueryServerCtx=(0,react_1.createContext)("/graphql");exports.QueryServerProvider=QueryServerCtx.Provider;const useQueryServer=()=>(0,react_1.useContext)(QueryServerCtx);exports.useQueryServer=useQueryServer},70455:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=exports.gql=void 0;const react_1=__webpack_require__(67294),graphql_request_1=__webpack_require__(33873),use_deep_compare_1=__webpack_require__(81208),server_context_1=__webpack_require__(24372);var graphql_request_2=__webpack_require__(33873);Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return graphql_request_2.gql}});function useQuery(query,{variables,server,headers}={}){const mountedRef=(0,react_1.useRef)(!0),[state,setState]=(0,react_1.useState)({loading:!1}),stableVariables=(0,use_deep_compare_1.useDeepCompareMemo)(()=>variables,[variables]),ctxServer=(0,server_context_1.useQueryServer)();return(0,react_1.useEffect)(()=>()=>{mountedRef.current=!1},[]),(0,react_1.useEffect)(()=>{const controller=createAborter();return setState(obj=>Object.assign(Object.assign({},obj),{loading:!0,error:void 0})),(0,graphql_request_1.request)({url:server||ctxServer,document:query,variables:stableVariables,requestHeaders:headers,signal:controller?.signal}).then(result=>{mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{data:result,loading:!1}))}).catch(e=>{var _a,_b,_c,_d;const isAborted=e&&(e.type==="aborted"||((_b=(_a=e.message).toLowerCase)===null||_b===void 0?void 0:_b.call(_a))==="aborted"||((_d=(_c=e.name).toLowerCase)===null||_d===void 0?void 0:_d.call(_c))==="aborterror");mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{error:isAborted?void 0:e,loading:!1}))}),()=>{controller?.abort()}},[query,stableVariables]),state}exports.useQuery=useQuery;function createAborter(){if(!(typeof AbortController>"u"))return new AbortController}},72547:function(module,exports){var global2=typeof self<"u"?self:this,__self__=function(){function F(){this.fetch=!1,this.DOMException=global2.DOMException}return F.prototype=global2,new F}();(function(self2){var irrelevant=function(exports2){var support={searchParams:"URLSearchParams"in self2,iterable:"Symbol"in self2&&"iterator"in Symbol,blob:"FileReader"in self2&&"Blob"in self2&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in self2,arrayBuffer:"ArrayBuffer"in self2};function isDataView(obj){return obj&&DataView.prototype.isPrototypeOf(obj)}if(support.arrayBuffer)var viewClasses=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],isArrayBufferView=ArrayBuffer.isView||function(obj){return obj&&viewClasses.indexOf(Object.prototype.toString.call(obj))>-1};function normalizeName(name){if(typeof name!="string"&&(name=String(name)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(name))throw new TypeError("Invalid character in header field name");return name.toLowerCase()}function normalizeValue(value){return typeof value!="string"&&(value=String(value)),value}function iteratorFor(items){var iterator={next:function(){var value=items.shift();return{done:value===void 0,value}}};return support.iterable&&(iterator[Symbol.iterator]=function(){return iterator}),iterator}function Headers2(headers){this.map={},headers instanceof Headers2?headers.forEach(function(value,name){this.append(name,value)},this):Array.isArray(headers)?headers.forEach(function(header){this.append(header[0],header[1])},this):headers&&Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}Headers2.prototype.append=function(name,value){name=normalizeName(name),value=normalizeValue(value);var oldValue=this.map[name];this.map[name]=oldValue?oldValue+", "+value:value},Headers2.prototype.delete=function(name){delete this.map[normalizeName(name)]},Headers2.prototype.get=function(name){return name=normalizeName(name),this.has(name)?this.map[name]:null},Headers2.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))},Headers2.prototype.set=function(name,value){this.map[normalizeName(name)]=normalizeValue(value)},Headers2.prototype.forEach=function(callback,thisArg){for(var name in this.map)this.map.hasOwnProperty(name)&&callback.call(thisArg,this.map[name],name,this)},Headers2.prototype.keys=function(){var items=[];return this.forEach(function(value,name){items.push(name)}),iteratorFor(items)},Headers2.prototype.values=function(){var items=[];return this.forEach(function(value){items.push(value)}),iteratorFor(items)},Headers2.prototype.entries=function(){var items=[];return this.forEach(function(value,name){items.push([name,value])}),iteratorFor(items)},support.iterable&&(Headers2.prototype[Symbol.iterator]=Headers2.prototype.entries);function consumed(body){if(body.bodyUsed)return Promise.reject(new TypeError("Already read"));body.bodyUsed=!0}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)},reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader,promise=fileReaderReady(reader);return reader.readAsArrayBuffer(blob),promise}function readBlobAsText(blob){var reader=new FileReader,promise=fileReaderReady(reader);return reader.readAsText(blob),promise}function readArrayBufferAsText(buf){for(var view=new Uint8Array(buf),chars=new Array(view.length),i=0;i<view.length;i++)chars[i]=String.fromCharCode(view[i]);return chars.join("")}function bufferClone(buf){if(buf.slice)return buf.slice(0);var view=new Uint8Array(buf.byteLength);return view.set(new Uint8Array(buf)),view.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(body){this._bodyInit=body,body?typeof body=="string"?this._bodyText=body:support.blob&&Blob.prototype.isPrototypeOf(body)?this._bodyBlob=body:support.formData&&FormData.prototype.isPrototypeOf(body)?this._bodyFormData=body:support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)?this._bodyText=body.toString():support.arrayBuffer&&support.blob&&isDataView(body)?(this._bodyArrayBuffer=bufferClone(body.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):support.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(body)||isArrayBufferView(body))?this._bodyArrayBuffer=bufferClone(body):this._bodyText=body=Object.prototype.toString.call(body):this._bodyText="",this.headers.get("content-type")||(typeof body=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):support.searchParams&&URLSearchParams.prototype.isPrototypeOf(body)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},support.blob&&(this.blob=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?consumed(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(readBlobAsArrayBuffer)}),this.text=function(){var rejected=consumed(this);if(rejected)return rejected;if(this._bodyBlob)return readBlobAsText(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},support.formData&&(this.formData=function(){return this.text().then(decode)}),this.json=function(){return this.text().then(JSON.parse)},this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(input instanceof Request){if(input.bodyUsed)throw new TypeError("Already read");this.url=input.url,this.credentials=input.credentials,options.headers||(this.headers=new Headers2(input.headers)),this.method=input.method,this.mode=input.mode,this.signal=input.signal,!body&&input._bodyInit!=null&&(body=input._bodyInit,input.bodyUsed=!0)}else this.url=String(input);if(this.credentials=options.credentials||this.credentials||"same-origin",(options.headers||!this.headers)&&(this.headers=new Headers2(options.headers)),this.method=normalizeMethod(options.method||this.method||"GET"),this.mode=options.mode||this.mode||null,this.signal=options.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&body)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(body)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})};function decode(body){var form=new FormData;return body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("="),name=split.shift().replace(/\+/g," "),value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}}),form}function parseHeaders(rawHeaders){var headers=new Headers2,preProcessedHeaders=rawHeaders.replace(/\r?\n[\t ]+/g," ");return preProcessedHeaders.split(/\r?\n/).forEach(function(line){var parts=line.split(":"),key=parts.shift().trim();if(key){var value=parts.join(":").trim();headers.append(key,value)}}),headers}Body.call(Request.prototype);function Response(bodyInit,options){options||(options={}),this.type="default",this.status=options.status===void 0?200:options.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in options?options.statusText:"OK",this.headers=new Headers2(options.headers),this.url=options.url||"",this._initBody(bodyInit)}Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers2(this.headers),url:this.url})},Response.error=function(){var response=new Response(null,{status:0,statusText:""});return response.type="error",response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1)throw new RangeError("Invalid status code");return new Response(null,{status,headers:{location:url}})},exports2.DOMException=self2.DOMException;try{new exports2.DOMException}catch{exports2.DOMException=function(message,name){this.message=message,this.name=name;var error=Error(message);this.stack=error.stack},exports2.DOMException.prototype=Object.create(Error.prototype),exports2.DOMException.prototype.constructor=exports2.DOMException}function fetch2(input,init){return new Promise(function(resolve,reject){var request=new Request(input,init);if(request.signal&&request.signal.aborted)return reject(new exports2.DOMException("Aborted","AbortError"));var xhr=new XMLHttpRequest;function abortXhr(){xhr.abort()}xhr.onload=function(){var options={status:xhr.status,statusText:xhr.statusText,headers:parseHeaders(xhr.getAllResponseHeaders()||"")};options.url="responseURL"in xhr?xhr.responseURL:options.headers.get("X-Request-URL");var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))},xhr.onerror=function(){reject(new TypeError("Network request failed"))},xhr.ontimeout=function(){reject(new TypeError("Network request failed"))},xhr.onabort=function(){reject(new exports2.DOMException("Aborted","AbortError"))},xhr.open(request.method,request.url,!0),request.credentials==="include"?xhr.withCredentials=!0:request.credentials==="omit"&&(xhr.withCredentials=!1),"responseType"in xhr&&support.blob&&(xhr.responseType="blob"),request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)}),request.signal&&(request.signal.addEventListener("abort",abortXhr),xhr.onreadystatechange=function(){xhr.readyState===4&&request.signal.removeEventListener("abort",abortXhr)}),xhr.send(typeof request._bodyInit>"u"?null:request._bodyInit)})}return fetch2.polyfill=!0,self2.fetch||(self2.fetch=fetch2,self2.Headers=Headers2,self2.Request=Request,self2.Response=Response),exports2.Headers=Headers2,exports2.Request=Request,exports2.Response=Response,exports2.fetch=fetch2,Object.defineProperty(exports2,"__esModule",{value:!0}),exports2}({})})(__self__),__self__.fetch.ponyfill=!0,delete __self__.fetch.polyfill;var ctx=__self__;exports=ctx.fetch,exports.default=ctx.fetch,exports.fetch=ctx.fetch,exports.Headers=ctx.Headers,exports.Request=ctx.Request,exports.Response=ctx.Response,module.exports=exports},69933:module=>{"use strict";module.exports=function(_ref){var uri=_ref.uri,name=_ref.name,type=_ref.type;this.uri=uri,this.name=name,this.type=type}},74582:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var defaultIsExtractableFile=__webpack_require__(47687);module.exports=function extractFiles(value,path,isExtractableFile){path===void 0&&(path=""),isExtractableFile===void 0&&(isExtractableFile=defaultIsExtractableFile);var clone,files=new Map;function addFile(paths,file){var storedPaths=files.get(file);storedPaths?storedPaths.push.apply(storedPaths,paths):files.set(file,paths)}if(isExtractableFile(value))clone=null,addFile([path],value);else{var prefix=path?path+".":"";if(typeof FileList<"u"&&value instanceof FileList)clone=Array.prototype.map.call(value,function(file,i2){return addFile([""+prefix+i2],file),null});else if(Array.isArray(value))clone=value.map(function(child,i2){var result2=extractFiles(child,""+prefix+i2,isExtractableFile);return result2.files.forEach(addFile),result2.clone});else if(value&&value.constructor===Object){clone={};for(var i in value){var result=extractFiles(value[i],""+prefix+i,isExtractableFile);result.files.forEach(addFile),clone[i]=result.clone}}else clone=value}return{clone,files}}},20058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";exports.ReactNativeFile=__webpack_require__(69933),exports.extractFiles=__webpack_require__(74582),exports.isExtractableFile=__webpack_require__(47687)},47687:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ReactNativeFile=__webpack_require__(69933);module.exports=function(value){return typeof File<"u"&&value instanceof File||typeof Blob<"u"&&value instanceof Blob||value instanceof ReactNativeFile}},87740:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var extract_files_1=__webpack_require__(20058),form_data_1=__importDefault(__webpack_require__(6230)),defaultJsonSerializer_1=__webpack_require__(79479),isExtractableFileEnhanced=function(value){return extract_files_1.isExtractableFile(value)||value!==null&&typeof value=="object"&&typeof value.pipe=="function"};function createRequestBody(query,variables,operationName,jsonSerializer){jsonSerializer===void 0&&(jsonSerializer=defaultJsonSerializer_1.defaultJsonSerializer);var _a=extract_files_1.extractFiles({query,variables,operationName},"",isExtractableFileEnhanced),clone=_a.clone,files=_a.files;if(files.size===0){if(!Array.isArray(query))return jsonSerializer.stringify(clone);if(typeof variables<"u"&&!Array.isArray(variables))throw new Error("Cannot create request body with given variable type, array expected");var payload=query.reduce(function(accu,currentQuery,index){return accu.push({query:currentQuery,variables:variables?variables[index]:void 0}),accu},[]);return jsonSerializer.stringify(payload)}var Form=typeof FormData>"u"?form_data_1.default:FormData,form=new Form;form.append("operations",jsonSerializer.stringify(clone));var map={},i=0;return files.forEach(function(paths){map[++i]=paths}),form.append("map",jsonSerializer.stringify(map)),i=0,files.forEach(function(paths,file){form.append(""+ ++i,file)}),form}exports.default=createRequestBody},79479:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultJsonSerializer=void 0,exports.defaultJsonSerializer={parse:JSON.parse,stringify:JSON.stringify}},41067:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)},__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__generator=this&&this.__generator||function(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=op[0]&2?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[op[0]&2,t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(t=_.trys,!(t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.GraphQLWebSocketClient=void 0;var types_1=__webpack_require__(56129),_1=__webpack_require__(33873),CONNECTION_INIT="connection_init",CONNECTION_ACK="connection_ack",PING="ping",PONG="pong",SUBSCRIBE="subscribe",NEXT="next",ERROR="error",COMPLETE="complete",GraphQLWebSocketMessage=function(){function GraphQLWebSocketMessage2(type,payload,id){this._type=type,this._payload=payload,this._id=id}return Object.defineProperty(GraphQLWebSocketMessage2.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(GraphQLWebSocketMessage2.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(GraphQLWebSocketMessage2.prototype,"payload",{get:function(){return this._payload},enumerable:!1,configurable:!0}),Object.defineProperty(GraphQLWebSocketMessage2.prototype,"text",{get:function(){var result={type:this.type};return this.id!=null&&this.id!=null&&(result.id=this.id),this.payload!=null&&this.payload!=null&&(result.payload=this.payload),JSON.stringify(result)},enumerable:!1,configurable:!0}),GraphQLWebSocketMessage2.parse=function(data,f){var _a=JSON.parse(data),type=_a.type,payload=_a.payload,id=_a.id;return new GraphQLWebSocketMessage2(type,f(payload),id)},GraphQLWebSocketMessage2}(),GraphQLWebSocketClient=function(){function GraphQLWebSocketClient2(socket,_a){var _this=this,onInit=_a.onInit,onAcknowledged=_a.onAcknowledged,onPing=_a.onPing,onPong=_a.onPong;this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=socket,socket.onopen=function(e){return __awaiter(_this,void 0,void 0,function(){var _a2,_b,_c,_d;return __generator(this,function(_e){switch(_e.label){case 0:return this.socketState.acknowledged=!1,this.socketState.subscriptions={},_b=(_a2=socket).send,_c=ConnectionInit,onInit?[4,onInit()]:[3,2];case 1:return _d=_e.sent(),[3,3];case 2:_d=null,_e.label=3;case 3:return _b.apply(_a2,[_c.apply(void 0,[_d]).text]),[2]}})})},socket.onclose=function(e){_this.socketState.acknowledged=!1,_this.socketState.subscriptions={}},socket.onerror=function(e){console.error(e)},socket.onmessage=function(e){try{var message=parseMessage(e.data);switch(message.type){case CONNECTION_ACK:{_this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(_this.socketState.acknowledged=!0,onAcknowledged&&onAcknowledged(message.payload));return}case PING:{onPing?onPing(message.payload).then(function(r){return socket.send(Pong(r).text)}):socket.send(Pong(null).text);return}case PONG:{onPong&&onPong(message.payload);return}}if(!_this.socketState.acknowledged||message.id===void 0||message.id===null||!_this.socketState.subscriptions[message.id])return;var _a2=_this.socketState.subscriptions[message.id],query=_a2.query,variables=_a2.variables,subscriber=_a2.subscriber;switch(message.type){case NEXT:{!message.payload.errors&&message.payload.data&&subscriber.next&&subscriber.next(message.payload.data),message.payload.errors&&subscriber.error&&subscriber.error(new types_1.ClientError(__assign(__assign({},message.payload),{status:200}),{query,variables}));return}case ERROR:{subscriber.error&&subscriber.error(new types_1.ClientError({errors:message.payload,status:200},{query,variables}));return}case COMPLETE:{subscriber.complete&&subscriber.complete(),delete _this.socketState.subscriptions[message.id];return}}}catch(e2){console.error(e2),socket.close(1006)}socket.close(4400,"Unknown graphql-ws message.")}}return GraphQLWebSocketClient2.prototype.makeSubscribe=function(query,operationName,variables,subscriber){var _this=this,subscriptionId=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[subscriptionId]={query,variables,subscriber},this.socket.send(Subscribe(subscriptionId,{query,operationName,variables}).text),function(){_this.socket.send(Complete(subscriptionId).text),delete _this.socketState.subscriptions[subscriptionId]}},GraphQLWebSocketClient2.prototype.rawRequest=function(query,variables){var _this=this;return new Promise(function(resolve,reject){var result;_this.rawSubscribe(query,{next:function(data,extensions){return result={data,extensions}},error:reject,complete:function(){return resolve(result)}},variables)})},GraphQLWebSocketClient2.prototype.request=function(document2,variables){var _this=this;return new Promise(function(resolve,reject){var result;_this.subscribe(document2,{next:function(data){return result=data},error:reject,complete:function(){return resolve(result)}},variables)})},GraphQLWebSocketClient2.prototype.subscribe=function(document2,subscriber,variables){var _a=_1.resolveRequestDocument(document2),query=_a.query,operationName=_a.operationName;return this.makeSubscribe(query,operationName,variables,subscriber)},GraphQLWebSocketClient2.prototype.rawSubscribe=function(query,subscriber,variables){return this.makeSubscribe(query,void 0,variables,subscriber)},GraphQLWebSocketClient2.prototype.ping=function(payload){this.socket.send(Ping(payload).text)},GraphQLWebSocketClient2.prototype.close=function(){this.socket.close(1e3)},GraphQLWebSocketClient2.PROTOCOL="graphql-transport-ws",GraphQLWebSocketClient2}();exports.GraphQLWebSocketClient=GraphQLWebSocketClient;function parseMessage(data,f){f===void 0&&(f=function(a){return a});var m=GraphQLWebSocketMessage.parse(data,f);return m}function ConnectionInit(payload){return new GraphQLWebSocketMessage(CONNECTION_INIT,payload)}function Ping(payload){return new GraphQLWebSocketMessage(PING,payload,void 0)}function Pong(payload){return new GraphQLWebSocketMessage(PONG,payload,void 0)}function Subscribe(id,payload){return new GraphQLWebSocketMessage(SUBSCRIBE,payload,id)}function Complete(id){return new GraphQLWebSocketMessage(COMPLETE,void 0,id)}},33873:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)},__createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__generator=this&&this.__generator||function(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=op[0]&2?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[op[0]&2,t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(t=_.trys,!(t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.GraphQLWebSocketClient=exports.gql=exports.resolveRequestDocument=exports.batchRequests=exports.request=exports.rawRequest=exports.GraphQLClient=exports.ClientError=void 0;var cross_fetch_1=__importStar(__webpack_require__(72547)),CrossFetch=cross_fetch_1,parser_1=__webpack_require__(84275),printer_1=__webpack_require__(39011),createRequestBody_1=__importDefault(__webpack_require__(87740)),defaultJsonSerializer_1=__webpack_require__(79479),parseArgs_1=__webpack_require__(33189),types_1=__webpack_require__(56129);Object.defineProperty(exports,"ClientError",{enumerable:!0,get:function(){return types_1.ClientError}});var resolveHeaders=function(headers){var oHeaders={};return headers&&(typeof Headers<"u"&&headers instanceof Headers||headers instanceof CrossFetch.Headers?oHeaders=HeadersInstanceToPlainObject(headers):Array.isArray(headers)?headers.forEach(function(_a){var name=_a[0],value=_a[1];oHeaders[name]=value}):oHeaders=headers),oHeaders},queryCleanner=function(str){return str.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},buildGetQueryParams=function(_a){var query=_a.query,variables=_a.variables,operationName=_a.operationName,jsonSerializer=_a.jsonSerializer;if(!Array.isArray(query)){var search=["query="+encodeURIComponent(queryCleanner(query))];return variables&&search.push("variables="+encodeURIComponent(jsonSerializer.stringify(variables))),operationName&&search.push("operationName="+encodeURIComponent(operationName)),search.join("&")}if(typeof variables<"u"&&!Array.isArray(variables))throw new Error("Cannot create query with given variable type, array expected");var payload=query.reduce(function(accu,currentQuery,index){return accu.push({query:queryCleanner(currentQuery),variables:variables?jsonSerializer.stringify(variables[index]):void 0}),accu},[]);return"query="+encodeURIComponent(jsonSerializer.stringify(payload))},post=function(_a){var url=_a.url,query=_a.query,variables=_a.variables,operationName=_a.operationName,headers=_a.headers,fetch2=_a.fetch,fetchOptions=_a.fetchOptions;return __awaiter(void 0,void 0,void 0,function(){var body;return __generator(this,function(_b){switch(_b.label){case 0:return body=createRequestBody_1.default(query,variables,operationName,fetchOptions.jsonSerializer),[4,fetch2(url,__assign({method:"POST",headers:__assign(__assign({},typeof body=="string"?{"Content-Type":"application/json"}:{}),headers),body},fetchOptions))];case 1:return[2,_b.sent()]}})})},get=function(_a){var url=_a.url,query=_a.query,variables=_a.variables,operationName=_a.operationName,headers=_a.headers,fetch2=_a.fetch,fetchOptions=_a.fetchOptions;return __awaiter(void 0,void 0,void 0,function(){var queryParams;return __generator(this,function(_b){switch(_b.label){case 0:return queryParams=buildGetQueryParams({query,variables,operationName,jsonSerializer:fetchOptions.jsonSerializer}),[4,fetch2(url+"?"+queryParams,__assign({method:"GET",headers},fetchOptions))];case 1:return[2,_b.sent()]}})})},GraphQLClient=function(){function GraphQLClient2(url,options){this.url=url,this.options=options||{}}return GraphQLClient2.prototype.rawRequest=function(queryOrOptions,variables,requestHeaders){return __awaiter(this,void 0,void 0,function(){var rawRequestOptions,_a,headers,_b,fetch2,_c,method,fetchOptions,url,operationName;return __generator(this,function(_d){return rawRequestOptions=parseArgs_1.parseRawRequestArgs(queryOrOptions,variables,requestHeaders),_a=this.options,headers=_a.headers,_b=_a.fetch,fetch2=_b===void 0?cross_fetch_1.default:_b,_c=_a.method,method=_c===void 0?"POST":_c,fetchOptions=__rest(_a,["headers","fetch","method"]),url=this.url,rawRequestOptions.signal!==void 0&&(fetchOptions.signal=rawRequestOptions.signal),operationName=resolveRequestDocument(rawRequestOptions.query).operationName,[2,makeRequest({url,query:rawRequestOptions.query,variables:rawRequestOptions.variables,headers:__assign(__assign({},resolveHeaders(callOrIdentity(headers))),resolveHeaders(rawRequestOptions.requestHeaders)),operationName,fetch:fetch2,method,fetchOptions})]})})},GraphQLClient2.prototype.request=function(documentOrOptions,variables,requestHeaders){return __awaiter(this,void 0,void 0,function(){var requestOptions,_a,headers,_b,fetch2,_c,method,fetchOptions,url,_d,query,operationName,data;return __generator(this,function(_e){switch(_e.label){case 0:return requestOptions=parseArgs_1.parseRequestArgs(documentOrOptions,variables,requestHeaders),_a=this.options,headers=_a.headers,_b=_a.fetch,fetch2=_b===void 0?cross_fetch_1.default:_b,_c=_a.method,method=_c===void 0?"POST":_c,fetchOptions=__rest(_a,["headers","fetch","method"]),url=this.url,requestOptions.signal!==void 0&&(fetchOptions.signal=requestOptions.signal),_d=resolveRequestDocument(requestOptions.document),query=_d.query,operationName=_d.operationName,[4,makeRequest({url,query,variables:requestOptions.variables,headers:__assign(__assign({},resolveHeaders(callOrIdentity(headers))),resolveHeaders(requestOptions.requestHeaders)),operationName,fetch:fetch2,method,fetchOptions})];case 1:return data=_e.sent().data,[2,data]}})})},GraphQLClient2.prototype.batchRequests=function(documentsOrOptions,requestHeaders){return __awaiter(this,void 0,void 0,function(){var batchRequestOptions,_a,headers,_b,fetch2,_c,method,fetchOptions,url,queries,variables,data;return __generator(this,function(_d){switch(_d.label){case 0:return batchRequestOptions=parseArgs_1.parseBatchRequestArgs(documentsOrOptions,requestHeaders),_a=this.options,headers=_a.headers,_b=_a.fetch,fetch2=_b===void 0?cross_fetch_1.default:_b,_c=_a.method,method=_c===void 0?"POST":_c,fetchOptions=__rest(_a,["headers","fetch","method"]),url=this.url,batchRequestOptions.signal!==void 0&&(fetchOptions.signal=batchRequestOptions.signal),queries=batchRequestOptions.documents.map(function(_a2){var document2=_a2.document;return resolveRequestDocument(document2).query}),variables=batchRequestOptions.documents.map(function(_a2){var variables2=_a2.variables;return variables2}),[4,makeRequest({url,query:queries,variables,headers:__assign(__assign({},resolveHeaders(callOrIdentity(headers))),resolveHeaders(batchRequestOptions.requestHeaders)),operationName:void 0,fetch:fetch2,method,fetchOptions})];case 1:return data=_d.sent().data,[2,data]}})})},GraphQLClient2.prototype.setHeaders=function(headers){return this.options.headers=headers,this},GraphQLClient2.prototype.setHeader=function(key,value){var _a,headers=this.options.headers;return headers?headers[key]=value:this.options.headers=(_a={},_a[key]=value,_a),this},GraphQLClient2.prototype.setEndpoint=function(value){return this.url=value,this},GraphQLClient2}();exports.GraphQLClient=GraphQLClient;function makeRequest(_a){var url=_a.url,query=_a.query,variables=_a.variables,headers=_a.headers,operationName=_a.operationName,fetch2=_a.fetch,_b=_a.method,method=_b===void 0?"POST":_b,fetchOptions=_a.fetchOptions;return __awaiter(this,void 0,void 0,function(){var fetcher,isBathchingQuery,response,result,successfullyReceivedData,successfullyPassedErrorPolicy,headers_1,status_1,errors,rest,data,errorResult;return __generator(this,function(_c){switch(_c.label){case 0:return fetcher=method.toUpperCase()==="POST"?post:get,isBathchingQuery=Array.isArray(query),[4,fetcher({url,query,variables,operationName,headers,fetch:fetch2,fetchOptions})];case 1:return response=_c.sent(),[4,getResult(response,fetchOptions.jsonSerializer)];case 2:if(result=_c.sent(),successfullyReceivedData=isBathchingQuery&&Array.isArray(result)?!result.some(function(_a2){var data2=_a2.data;return!data2}):!!result.data,successfullyPassedErrorPolicy=!result.errors||fetchOptions.errorPolicy==="all"||fetchOptions.errorPolicy==="ignore",response.ok&&successfullyPassedErrorPolicy&&successfullyReceivedData)return headers_1=response.headers,status_1=response.status,errors=result.errors,rest=__rest(result,["errors"]),data=fetchOptions.errorPolicy==="ignore"?rest:result,[2,__assign(__assign({},isBathchingQuery?{data}:data),{headers:headers_1,status:status_1})];throw errorResult=typeof result=="string"?{error:result}:result,new types_1.ClientError(__assign(__assign({},errorResult),{status:response.status,headers:response.headers}),{query,variables})}})})}function rawRequest(urlOrOptions,query,variables,requestHeaders){return __awaiter(this,void 0,void 0,function(){var requestOptions,client;return __generator(this,function(_a){return requestOptions=parseArgs_1.parseRawRequestExtendedArgs(urlOrOptions,query,variables,requestHeaders),client=new GraphQLClient(requestOptions.url),[2,client.rawRequest(__assign({},requestOptions))]})})}exports.rawRequest=rawRequest;function request(urlOrOptions,document2,variables,requestHeaders){return __awaiter(this,void 0,void 0,function(){var requestOptions,client;return __generator(this,function(_a){return requestOptions=parseArgs_1.parseRequestExtendedArgs(urlOrOptions,document2,variables,requestHeaders),client=new GraphQLClient(requestOptions.url),[2,client.request(__assign({},requestOptions))]})})}exports.request=request;function batchRequests(urlOrOptions,documents,requestHeaders){return __awaiter(this,void 0,void 0,function(){var requestOptions,client;return __generator(this,function(_a){return requestOptions=parseArgs_1.parseBatchRequestsExtendedArgs(urlOrOptions,documents,requestHeaders),client=new GraphQLClient(requestOptions.url),[2,client.batchRequests(__assign({},requestOptions))]})})}exports.batchRequests=batchRequests,exports.default=request;function getResult(response,jsonSerializer){return jsonSerializer===void 0&&(jsonSerializer=defaultJsonSerializer_1.defaultJsonSerializer),__awaiter(this,void 0,void 0,function(){var contentType,_a,_b;return __generator(this,function(_c){switch(_c.label){case 0:return response.headers.forEach(function(value,key){key.toLowerCase()==="content-type"&&(contentType=value)}),contentType&&contentType.toLowerCase().startsWith("application/json")?(_b=(_a=jsonSerializer).parse,[4,response.text()]):[3,2];case 1:return[2,_b.apply(_a,[_c.sent()])];case 2:return[2,response.text()]}})})}function extractOperationName(document2){var _a,operationName=void 0,operationDefinitions=document2.definitions.filter(function(definition){return definition.kind==="OperationDefinition"});return operationDefinitions.length===1&&(operationName=(_a=operationDefinitions[0].name)===null||_a===void 0?void 0:_a.value),operationName}function resolveRequestDocument(document2){if(typeof document2=="string"){var operationName_1=void 0;try{var parsedDocument=parser_1.parse(document2);operationName_1=extractOperationName(parsedDocument)}catch{}return{query:document2,operationName:operationName_1}}var operationName=extractOperationName(document2);return{query:printer_1.print(document2),operationName}}exports.resolveRequestDocument=resolveRequestDocument;function callOrIdentity(value){return typeof value=="function"?value():value}function gql(chunks){for(var variables=[],_i=1;_i<arguments.length;_i++)variables[_i-1]=arguments[_i];return chunks.reduce(function(accumulator,chunk,index){return""+accumulator+chunk+(index in variables?variables[index]:"")},"")}exports.gql=gql;function HeadersInstanceToPlainObject(headers){var o={};return headers.forEach(function(v,k){o[k]=v}),o}var graphql_ws_1=__webpack_require__(41067);Object.defineProperty(exports,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return graphql_ws_1.GraphQLWebSocketClient}})},33189:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseBatchRequestsExtendedArgs=exports.parseRawRequestExtendedArgs=exports.parseRequestExtendedArgs=exports.parseBatchRequestArgs=exports.parseRawRequestArgs=exports.parseRequestArgs=void 0;function parseRequestArgs(documentOrOptions,variables,requestHeaders){return documentOrOptions.document?documentOrOptions:{document:documentOrOptions,variables,requestHeaders,signal:void 0}}exports.parseRequestArgs=parseRequestArgs;function parseRawRequestArgs(queryOrOptions,variables,requestHeaders){return queryOrOptions.query?queryOrOptions:{query:queryOrOptions,variables,requestHeaders,signal:void 0}}exports.parseRawRequestArgs=parseRawRequestArgs;function parseBatchRequestArgs(documentsOrOptions,requestHeaders){return documentsOrOptions.documents?documentsOrOptions:{documents:documentsOrOptions,requestHeaders,signal:void 0}}exports.parseBatchRequestArgs=parseBatchRequestArgs;function parseRequestExtendedArgs(urlOrOptions,document2,variables,requestHeaders){return urlOrOptions.document?urlOrOptions:{url:urlOrOptions,document:document2,variables,requestHeaders,signal:void 0}}exports.parseRequestExtendedArgs=parseRequestExtendedArgs;function parseRawRequestExtendedArgs(urlOrOptions,query,variables,requestHeaders){return urlOrOptions.query?urlOrOptions:{url:urlOrOptions,query,variables,requestHeaders,signal:void 0}}exports.parseRawRequestExtendedArgs=parseRawRequestExtendedArgs;function parseBatchRequestsExtendedArgs(urlOrOptions,documents,requestHeaders){return urlOrOptions.documents?urlOrOptions:{url:urlOrOptions,documents,requestHeaders,signal:void 0}}exports.parseBatchRequestsExtendedArgs=parseBatchRequestsExtendedArgs},56129:function(__unused_webpack_module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)Object.prototype.hasOwnProperty.call(b2,p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClientError=void 0;var ClientError=function(_super){__extends(ClientError2,_super);function ClientError2(response,request){var _this=this,message=ClientError2.extractMessage(response)+": "+JSON.stringify({response,request});return _this=_super.call(this,message)||this,Object.setPrototypeOf(_this,ClientError2.prototype),_this.response=response,_this.request=request,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(_this,ClientError2),_this}return ClientError2.extractMessage=function(response){try{return response.errors[0].message}catch{return"GraphQL Error (Code: "+response.status+")"}},ClientError2}(Error);exports.ClientError=ClientError},22045:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=exports.LaneId=void 0;var lane_id_1=__webpack_require__(47106);Object.defineProperty(exports,"LaneId",{enumerable:!0,get:function(){return lane_id_1.LaneId}}),Object.defineProperty(exports,"DEFAULT_LANE",{enumerable:!0,get:function(){return lane_id_1.DEFAULT_LANE}}),Object.defineProperty(exports,"LANE_REMOTE_DELIMITER",{enumerable:!0,get:function(){return lane_id_1.LANE_REMOTE_DELIMITER}})},47106:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneId=exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=void 0;const bit_error_1=__webpack_require__(93902);exports.DEFAULT_LANE="main",exports.LANE_REMOTE_DELIMITER="/";class LaneId{constructor({name,scope}){this.name=name,this.scope=scope,Object.freeze(this)}hasSameName(id){return this.name===id.name}hasSameScope(id){return!id.scope&&!this.scope?!0:this.scope===id.scope}isEqual(laneId){return this.hasSameName(laneId)&&this.hasSameScope(laneId)}isDefault(){return this.name===exports.DEFAULT_LANE}toString(){return this.scope?this.scope+exports.LANE_REMOTE_DELIMITER+this.name:this.name}toObject(){return{scope:this.scope,name:this.name}}static from(name,scope){return new LaneId({scope,name})}static parse(id){if(!id.includes(exports.LANE_REMOTE_DELIMITER))throw new bit_error_1.BitError(`invalid lane-id, "${id}" is missing a delimiter "(${exports.LANE_REMOTE_DELIMITER})"`);const split=id.split(exports.LANE_REMOTE_DELIMITER);if(split.length>2)throw new bit_error_1.BitError(`invalid lane-id "${id}". a lane id can have only one "${exports.LANE_REMOTE_DELIMITER}"`);return LaneId.from(split[1],split[0])}}exports.LaneId=LaneId},33461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(31499);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(7811);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(13655);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},31499:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(67294);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},7811:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(67294)),lanes_hooks_use_lanes_1=__webpack_require__(33461),lanes_ui_models_lanes_model_1=__webpack_require__(97223),ui_foundation_ui_react_router_use_query_1=__webpack_require__(88140),base_react_navigation_link_1=__webpack_require__(22576),lanes_context_1=__webpack_require__(31499);function LanesProvider({children,viewedLaneId:viewedIdFromProps,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlFromProps,skipNetworkCall}){const{lanesModel,loading}=(0,lanes_hooks_use_lanes_1.useLanes)(targetLanes,skipNetworkCall),[lanesState,setLanesState]=(0,react_1.useState)(lanesModel),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(viewedIdFromProps),updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane),setLanesState(state=>(state?.setViewedOrDefaultLane(lane),state))},[lanesModel]),location=(0,base_react_navigation_link_1.useLocation)(),query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlFromProps?ignoreDerivingFromUrlFromProps.some(fn=>fn(_location)):!1,[]);(0,react_1.useEffect)(()=>{viewedIdFromProps&&updateViewedLane(viewedIdFromProps)},[viewedIdFromProps?.toString()]),(0,react_1.useEffect)(()=>{var _a,_b;if(ignoreDerivingFromUrl(location))return;const viewedLaneIdToSet=location?.pathname&&lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location?.pathname,query)||void 0||viewedLaneId||((_a=lanesModel?.currentLane)===null||_a===void 0?void 0:_a.id)||((_b=lanesModel?.lanes.find(lane=>lane.id.isDefault()))===null||_b===void 0?void 0:_b.id);updateViewedLane(viewedLaneIdToSet)},[location?.pathname]),(0,react_1.useEffect)(()=>{setLanesState(existing=>{var _a,_b;if(!loading&&lanesModel?.lanes.length){const state=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel));return viewedLaneId===void 0&&((_a=lanesModel?.currentLane)===null||_a===void 0?void 0:_a.id)?state.setViewedOrDefaultLane((_b=lanesModel?.currentLane)===null||_b===void 0?void 0:_b.id):state.setViewedOrDefaultLane(viewedLaneId),state}return existing})},[loading,lanesModel?.lanes.length,viewedLaneId]);const lanesContextModel={lanesModel:lanesState,updateLanesModel:setLanesState,updateViewedLane};return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},13655:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=void 0;const ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(41646),lanes_ui_models_lanes_model_1=__webpack_require__(97223),client_1=__webpack_require__(33719),lanes_context_1=__webpack_require__(31499),GET_LANES=(0,client_1.gql)`
254
+ `)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0];if(stringChild){var lastLineInPreviousSpan={type:"text",value:"".concat(text)},newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[newChild],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index<tree.length;)_loop();if(lastLineBreakIndex!==tree.length-1){var children=tree.slice(lastLineBreakIndex+1,tree.length);if(children&&children.length){var lineNumber=newTree.length+startingLineNumber,line=createLine(children,lineNumber);newTree.push(line)}}return wrapLines?newTree:(_ref4=[]).concat.apply(_ref4,newTree)}function defaultRenderer(_ref5){var rows=_ref5.rows,stylesheet=_ref5.stylesheet,useInlineStyles=_ref5.useInlineStyles;return rows.map(function(node,i){return createElement({node,stylesheet,useInlineStyles,key:"code-segement".concat(i)})})}function isHighlightJs(astGenerator){return astGenerator&&typeof astGenerator.highlightAuto<"u"}function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=checkForListedLanguage(astGenerator,language);return language==="text"?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&language!=="text"?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch{return{value:defaultCodeValue}}}function highlight(defaultAstGenerator,defaultStyle){return function(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=_ref7$style===void 0?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=_ref7$customStyle===void 0?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=_ref7$codeTagProps===void 0?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=_ref7$useInlineStyles===void 0?!0:_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=_ref7$showLineNumbers===void 0?!1:_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=_ref7$showInlineLineN===void 0?!1:_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=_ref7$startingLineNum===void 0?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=_ref7$lineNumberStyle===void 0?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=_ref7$lineProps===void 0?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=_ref7$PreTag===void 0?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=_ref7$CodeTag===void 0?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=_ref7$code===void 0?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,objectWithoutProperties.Z)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?react.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return react.createElement(PreTag,preProps,allLineNumbers,react.createElement(CodeTag,codeTagProps,code));wrapLines=renderer&&wrapLines===void 0?!0:wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=getCodeTree({astGenerator,language,code,defaultCodeValue});codeTree.language===null&&(codeTree.value=defaultCodeValue);var largestLineNumber=codeTree.value.length+startingLineNumber,rows=processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle);return react.createElement(PreTag,preProps,react.createElement(CodeTag,codeTagProps,!showInlineLineNumbers&&allLineNumbers,renderer({rows,stylesheet:style,useInlineStyles})))}}const default_style={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var lowlight=__webpack_require__(26912),lowlight_default=__webpack_require__.n(lowlight);const supported_languages=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var highlighter=highlight(lowlight_default(),default_style);highlighter.supportedLanguages=supported_languages;const default_highlight=highlighter},53335:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#fff",color:"black"},"xml .hljs-meta":{color:"#c0c0c0"},"hljs-comment":{color:"#007400"},"hljs-quote":{color:"#007400"},"hljs-tag":{color:"#aa0d91"},"hljs-attribute":{color:"#aa0d91"},"hljs-keyword":{color:"#aa0d91"},"hljs-selector-tag":{color:"#aa0d91"},"hljs-literal":{color:"#aa0d91"},"hljs-name":{color:"#aa0d91"},"hljs-variable":{color:"#3F6E74"},"hljs-template-variable":{color:"#3F6E74"},"hljs-code":{color:"#c41a16"},"hljs-string":{color:"#c41a16"},"hljs-meta-string":{color:"#c41a16"},"hljs-regexp":{color:"#0E0EFF"},"hljs-link":{color:"#0E0EFF"},"hljs-title":{color:"#1c00cf"},"hljs-symbol":{color:"#1c00cf"},"hljs-bullet":{color:"#1c00cf"},"hljs-number":{color:"#1c00cf"},"hljs-section":{color:"#643820"},"hljs-meta":{color:"#643820"},"hljs-class .hljs-title":{color:"#5c2699"},"hljs-type":{color:"#5c2699"},"hljs-built_in":{color:"#5c2699"},"hljs-builtin-name":{color:"#5c2699"},"hljs-params":{color:"#5c2699"},"hljs-attr":{color:"#836C28"},"hljs-subst":{color:"#000"},"hljs-formula":{backgroundColor:"#eee",fontStyle:"italic"},"hljs-addition":{backgroundColor:"#baeeba"},"hljs-deletion":{backgroundColor:"#ffc8bd"},"hljs-selector-id":{color:"#9b703f"},"hljs-selector-class":{color:"#9b703f"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}}},64170:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;var ul_1=__webpack_require__(2605);Object.defineProperty(exports,"Ul",{enumerable:!0,get:function(){return ul_1.Ul}})},2605:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Ul=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),ul_module_scss_1=__importDefault(__webpack_require__(59379));function Ul(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("ul",Object.assign({},rest,{className:(0,classnames_1.default)(ul_module_scss_1.default.ul,className)}),children)}exports.Ul=Ul},33859:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.fadeInOutClass=void 0;const fade_in_out_module_scss_1=__importDefault(__webpack_require__(87728));exports.fadeInOutClass=fade_in_out_module_scss_1.default.fadeInOut},48834:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Icon=void 0;const react_1=__importDefault(__webpack_require__(67294)),base_ui_elements_icon_1=__webpack_require__(48318),iconSetPrefix="bitcon";function Icon(_a){var{className,of:iconName}=_a,rest=__rest(_a,["className","of"]);return react_1.default.createElement(base_ui_elements_icon_1.BaseIcon,Object.assign({of:`${iconSetPrefix}-${iconName}`,className,"data-bit-id":"teambit.evangelist/elements/icon"},rest))}exports.Icon=Icon},54560:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(48834),exports)},9192:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Dropdown=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),base_ui_surfaces_drawer_1=__webpack_require__(82854),base_ui_surfaces_abs_container_1=__webpack_require__(76692),base_ui_css_components_elevation_1=__webpack_require__(71203),base_ui_css_components_roundness_1=__webpack_require__(70518),base_ui_surfaces_background_1=__webpack_require__(28109),dropdown_module_scss_1=__importDefault(__webpack_require__(49232)),evangelist_css_components_fade_in_out_1=__webpack_require__(33859);function Dropdown(_a){var{children,position="bottom",dropClass}=_a,rest=__rest(_a,["children","position","dropClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({},rest),react_1.default.createElement(DropdownMenu,{position,className:dropClass},children))}exports.Dropdown=Dropdown;function DropdownMenu(_a){var{className,elevation="medium",roundness="sharp"}=_a,rest=__rest(_a,["className","elevation","roundness"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},rest,{className:classnames_1.default(dropdown_module_scss_1.default.dropdown,base_ui_surfaces_background_1.backgrounds.layer,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],evangelist_css_components_fade_in_out_1.fadeInOutClass,className)}))}Dropdown.defaultProps={position:"bottom",elevation:"medium",roundness:"sharp"}},67963:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(9192),exports)},65660:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},71203:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.elevationClass=void 0;const elevations_module_scss_1=__importDefault(__webpack_require__(54772));__exportStar(__webpack_require__(65660),exports),exports.elevationClass={low:elevations_module_scss_1.default.low,medium:elevations_module_scss_1.default.medium,high:elevations_module_scss_1.default.high,none:void 0}},2830:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Containee=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),react_create_ref_1=__importDefault(__webpack_require__(22184)),abs_container_module_scss_1=__importDefault(__webpack_require__(47028)),positions_module_scss_1=__importDefault(__webpack_require__(16937)),displacement_module_scss_1=__importDefault(__webpack_require__(28683));class Containee extends react_1.Component{constructor(){super(...arguments);this.ref=react_create_ref_1.default()}render(){const _a=this.props,{className,position="bottom"}=_a,rest=__rest(_a,["className","position"]),positionClass=positions_module_scss_1.default[position],displacement=displacement_module_scss_1.default.displacement;return react_1.default.createElement("div",Object.assign({ref:this.ref,className:classnames_1.default(abs_container_module_scss_1.default.containee,displacement,positionClass,className),"data-position":position},rest))}}exports.Containee=Containee},62433:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(2830),exports)},50432:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Container=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),abs_container_module_scss_1=__importDefault(__webpack_require__(47028));exports.Container=react_1.forwardRef(function(_a,ref){var{className,open}=_a,rest=__rest(_a,["className","open"]);return react_1.default.createElement("div",Object.assign({ref,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open},rest))})},27971:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(50432),exports)},76692:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.containeeClass=exports.containerClass=void 0;const abs_container_module_scss_1=__importDefault(__webpack_require__(47028));__exportStar(__webpack_require__(62433),exports),__exportStar(__webpack_require__(27971),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},34276:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultPlaceholder=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),drawer_module_scss_1=__importDefault(__webpack_require__(18016));function DefaultPlaceholder(props){return react_1.default.createElement("div",Object.assign({},props,{className:classnames_1.default(props.className,drawer_module_scss_1.default.placeholder)}))}exports.DefaultPlaceholder=DefaultPlaceholder},78034:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Drawer=void 0;const react_1=__importStar(__webpack_require__(67294)),base_ui_surfaces_abs_container_1=__webpack_require__(76692),base_ui_hook_use_click_outside_1=__webpack_require__(79721),react_create_ref_1=__importDefault(__webpack_require__(22184)),default_placeholder_1=__webpack_require__(34276);class Drawer extends react_1.Component{constructor(){super(...arguments);this.state={isOpen:this.props.open||!1},this.ref=react_create_ref_1.default(),this.toggle=evt=>{const{isOpen}=this.state,nextOpen=!isOpen;this.isControlled||this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.close=evt=>{const{isOpen}=this.state,nextOpen=!1;!this.isControlled&&isOpen&&this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.open=evt=>{const{isOpen}=this.state,nextOpen=!0;!this.isControlled&&!isOpen&&this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(nextProps){this.props.open!==nextProps.open&&nextProps.open!==void 0&&this.setState({isOpen:nextProps.open})}get isControlled(){return this.props.open!==void 0}render(){const _a=this.props,{placeholder,children,PlaceholderComponent=default_placeholder_1.DefaultPlaceholder,clickOutside,onMouseEnter,onMouseLeave,open,hoverToOpen,clickPlaceholderToggles,clickToggles,onChange,onPlaceholderToggle,onContainerToggle,onContaineeToggle,onClickOutside}=_a,rest=__rest(_a,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen}=this.state;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Container,Object.assign({},rest,{ref:this.ref,open:isOpen,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),children,react_1.default.createElement(PlaceholderComponent,{onClick:this.handlePlaceholderClick},placeholder),react_1.default.createElement(base_ui_hook_use_click_outside_1.ClickOutside,{targetRef:this.ref,enabled:!!clickOutside&&isOpen,handler:this.handleClickOutside}))}}exports.Drawer=Drawer,Drawer.defaultProps={PlaceholderComponent:default_placeholder_1.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},82854:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(78034),exports)},25056:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(58591),exports),__exportStar(__webpack_require__(37525),exports),__exportStar(__webpack_require__(38303),exports)},38303:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(51277),exports)},51277:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Arrow=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),base_ui_surfaces_abs_container_1=__webpack_require__(6718),arrow_module_scss_1=__importDefault(__webpack_require__(82952)),arrow_position_module_scss_1=__importDefault(__webpack_require__(23862)),arrow_shadow_module_scss_1=__importDefault(__webpack_require__(87327));function Arrow(props){const{position="none",className}=props;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({},props,{className:classnames_1.default(arrow_module_scss_1.default.arrow,arrow_shadow_module_scss_1.default[position],arrow_position_module_scss_1.default[position],className)}))}exports.Arrow=Arrow},37525:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(84191),exports)},84191:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipMenu=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),base_ui_surfaces_abs_container_1=__webpack_require__(6718),base_ui_css_components_elevation_1=__webpack_require__(17657),base_ui_css_components_roundness_1=__webpack_require__(70518),tooltip_card_module_scss_1=__importDefault(__webpack_require__(44836)),TooltipMenu=_a=>{var{position,children,elevation="medium",roundness="sharp",className}=_a,rest=__rest(_a,["position","children","elevation","roundness","className"]);return react_1.default.createElement(base_ui_surfaces_abs_container_1.Containee,Object.assign({position,className:classnames_1.default(tooltip_card_module_scss_1.default.menu,base_ui_css_components_elevation_1.elevationClass[elevation],base_ui_css_components_roundness_1.roundnessClass[roundness],className)},rest),children)};exports.TooltipMenu=TooltipMenu,exports.TooltipMenu.defaultProps={elevation:"medium",roundness:"sharp"}},58591:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipDrawer=void 0;const react_1=__importDefault(__webpack_require__(67294)),base_ui_surfaces_drawer_1=__webpack_require__(52094),classnames_1=__importDefault(__webpack_require__(94184)),evangelist_css_components_fade_in_out_1=__webpack_require__(33859),tooltip_card_1=__webpack_require__(37525),tooltip_arrow_1=__webpack_require__(38303),tooltip_drawer_module_scss_1=__importDefault(__webpack_require__(13796));function TooltipDrawer(_a){var{children,className,position="bottom",elevation,tooltipClass,arrowClass}=_a,rest=__rest(_a,["children","className","position","elevation","tooltipClass","arrowClass"]);return react_1.default.createElement(base_ui_surfaces_drawer_1.Drawer,Object.assign({className:classnames_1.default(tooltip_drawer_module_scss_1.default.drawer,className)},rest),react_1.default.createElement(tooltip_card_1.TooltipMenu,{position,elevation,className:classnames_1.default(tooltipClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.tooltip)},children),react_1.default.createElement(tooltip_arrow_1.Arrow,{position,className:classnames_1.default(arrowClass,evangelist_css_components_fade_in_out_1.fadeInOutClass,tooltip_drawer_module_scss_1.default.arrow)}))}exports.TooltipDrawer=TooltipDrawer,TooltipDrawer.defaultProps={hoverToOpen:!1,position:"bottom"}},83622:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},17657:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.elevationClass=void 0;const elevations_module_scss_1=__importDefault(__webpack_require__(25219));__exportStar(__webpack_require__(83622),exports),exports.elevationClass={low:elevations_module_scss_1.default.low,medium:elevations_module_scss_1.default.medium,high:elevations_module_scss_1.default.high,none:void 0}},83537:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Containee=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),react_create_ref_1=__importDefault(__webpack_require__(22184)),abs_container_module_scss_1=__importDefault(__webpack_require__(30161)),positions_module_scss_1=__importDefault(__webpack_require__(5611)),displacement_module_scss_1=__importDefault(__webpack_require__(90553));class Containee extends react_1.Component{constructor(){super(...arguments);this.ref=react_create_ref_1.default()}render(){const _a=this.props,{className,position="bottom"}=_a,rest=__rest(_a,["className","position"]),positionClass=positions_module_scss_1.default[position],displacement=displacement_module_scss_1.default.displacement;return react_1.default.createElement("div",Object.assign({ref:this.ref,className:classnames_1.default(abs_container_module_scss_1.default.containee,displacement,positionClass,className),"data-position":position},rest))}}exports.Containee=Containee},73797:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(83537),exports)},72905:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Container=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),abs_container_module_scss_1=__importDefault(__webpack_require__(30161));exports.Container=react_1.forwardRef(function(_a,ref){var{className,open}=_a,rest=__rest(_a,["className","open"]);return react_1.default.createElement("div",Object.assign({ref,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open},rest))})},89677:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(72905),exports)},6718:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.containeeClass=exports.containerClass=void 0;const abs_container_module_scss_1=__importDefault(__webpack_require__(30161));__exportStar(__webpack_require__(73797),exports),__exportStar(__webpack_require__(89677),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},65910:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DefaultPlaceholder=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(94184)),drawer_module_scss_1=__importDefault(__webpack_require__(81121));function DefaultPlaceholder(props){return react_1.default.createElement("div",Object.assign({},props,{className:classnames_1.default(props.className,drawer_module_scss_1.default.placeholder)}))}exports.DefaultPlaceholder=DefaultPlaceholder},7711:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Drawer=void 0;const react_1=__importStar(__webpack_require__(67294)),base_ui_surfaces_abs_container_1=__webpack_require__(6718),base_ui_hook_use_click_outside_1=__webpack_require__(79721),react_create_ref_1=__importDefault(__webpack_require__(22184)),default_placeholder_1=__webpack_require__(65910);class Drawer extends react_1.Component{constructor(){super(...arguments);this.state={isOpen:this.props.open||!1},this.ref=react_create_ref_1.default(),this.toggle=evt=>{const{isOpen}=this.state,nextOpen=!isOpen;this.isControlled||this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.close=evt=>{const{isOpen}=this.state,nextOpen=!1;!this.isControlled&&isOpen&&this.setState({isOpen:nextOpen}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.open=evt=>{const{isOpen}=this.state,nextOpen=!0;!this.isControlled&&!isOpen&&this.setState({isOpen:!0}),this.props.onChange&&this.props.onChange(evt,nextOpen)},this.handlePlaceholderClick=e=>{this.props.onPlaceholderToggle&&this.props.onPlaceholderToggle(e),e.defaultPrevented||this.props.clickPlaceholderToggles&&this.toggle(e)},this.handleContainerClick=e=>{this.props.clickToggles&&this.toggle(e),this.props.onClick&&this.props.onClick(e)},this.handleClickOutside=e=>{this.props.onClickOutside&&this.props.onClickOutside(e),e.defaultPrevented||this.props.clickOutside&&this.close()},this.handleLeaveContainer=e=>{this.props.onMouseLeave&&this.props.onMouseLeave(e),e.defaultPrevented||this.props.hoverToOpen&&this.close(e)},this.handleEnterContainer=e=>{this.props.onMouseEnter&&this.props.onMouseEnter(e),e.defaultPrevented||this.props.hoverToOpen&&this.open(e)}}componentWillReceiveProps(nextProps){this.props.open!==nextProps.open&&nextProps.open!==void 0&&this.setState({isOpen:nextProps.open})}get isControlled(){return this.props.open!==void 0}render(){const _a=this.props,{placeholder,children,PlaceholderComponent=default_placeholder_1.DefaultPlaceholder,clickOutside,onMouseEnter,onMouseLeave,open,hoverToOpen,clickPlaceholderToggles,clickToggles,onChange,onPlaceholderToggle,onContainerToggle,onContaineeToggle,onClickOutside}=_a,rest=__rest(_a,["placeholder","children","PlaceholderComponent","clickOutside","onMouseEnter","onMouseLeave","open","hoverToOpen","clickPlaceholderToggles","clickToggles","onChange","onPlaceholderToggle","onContainerToggle","onContaineeToggle","onClickOutside"]),{isOpen}=this.state;return react_1.default.createElement(base_ui_surfaces_abs_container_1.Container,Object.assign({},rest,{ref:this.ref,open:isOpen,onMouseLeave:this.handleLeaveContainer,onMouseEnter:this.handleEnterContainer,onClick:this.handleContainerClick}),children,react_1.default.createElement(PlaceholderComponent,{onClick:this.handlePlaceholderClick},placeholder),react_1.default.createElement(base_ui_hook_use_click_outside_1.ClickOutside,{targetRef:this.ref,enabled:!!clickOutside&&isOpen,handler:this.handleClickOutside}))}}exports.Drawer=Drawer,Drawer.defaultProps={PlaceholderComponent:default_placeholder_1.DefaultPlaceholder,clickPlaceholderToggles:!0,clickOutside:!0,clickToggles:!0}},52094:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__exportStar=this&&this.__exportStar||function(m,exports2){for(var p in m)p!=="default"&&!Object.prototype.hasOwnProperty.call(exports2,p)&&__createBinding(exports2,m,p)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(__webpack_require__(7711),exports)},51395:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=exports.gql=exports.useQuery=void 0;var use_query_light_1=__webpack_require__(70455);Object.defineProperty(exports,"useQuery",{enumerable:!0,get:function(){return use_query_light_1.useQuery}}),Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return use_query_light_1.gql}});var server_context_1=__webpack_require__(24372);Object.defineProperty(exports,"QueryServerProvider",{enumerable:!0,get:function(){return server_context_1.QueryServerProvider}}),Object.defineProperty(exports,"useQueryServer",{enumerable:!0,get:function(){return server_context_1.useQueryServer}})},24372:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueryServer=exports.QueryServerProvider=void 0;const react_1=__webpack_require__(67294),QueryServerCtx=(0,react_1.createContext)("/graphql");exports.QueryServerProvider=QueryServerCtx.Provider;const useQueryServer=()=>(0,react_1.useContext)(QueryServerCtx);exports.useQueryServer=useQueryServer},70455:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQuery=exports.gql=void 0;const react_1=__webpack_require__(67294),graphql_request_1=__webpack_require__(33873),use_deep_compare_1=__webpack_require__(81208),server_context_1=__webpack_require__(24372);var graphql_request_2=__webpack_require__(33873);Object.defineProperty(exports,"gql",{enumerable:!0,get:function(){return graphql_request_2.gql}});function useQuery(query,{variables,server,headers}={}){const mountedRef=(0,react_1.useRef)(!0),[state,setState]=(0,react_1.useState)({loading:!1}),stableVariables=(0,use_deep_compare_1.useDeepCompareMemo)(()=>variables,[variables]),ctxServer=(0,server_context_1.useQueryServer)();return(0,react_1.useEffect)(()=>()=>{mountedRef.current=!1},[]),(0,react_1.useEffect)(()=>{const controller=createAborter();return setState(obj=>Object.assign(Object.assign({},obj),{loading:!0,error:void 0})),(0,graphql_request_1.request)({url:server||ctxServer,document:query,variables:stableVariables,requestHeaders:headers,signal:controller?.signal}).then(result=>{mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{data:result,loading:!1}))}).catch(e=>{var _a,_b,_c,_d;const isAborted=e&&(e.type==="aborted"||((_b=(_a=e.message).toLowerCase)===null||_b===void 0?void 0:_b.call(_a))==="aborted"||((_d=(_c=e.name).toLowerCase)===null||_d===void 0?void 0:_d.call(_c))==="aborterror");mountedRef.current&&setState(obj=>Object.assign(Object.assign({},obj),{error:isAborted?void 0:e,loading:!1}))}),()=>{controller?.abort()}},[query,stableVariables]),state}exports.useQuery=useQuery;function createAborter(){if(!(typeof AbortController>"u"))return new AbortController}},69933:module=>{"use strict";module.exports=function(_ref){var uri=_ref.uri,name=_ref.name,type=_ref.type;this.uri=uri,this.name=name,this.type=type}},74582:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var defaultIsExtractableFile=__webpack_require__(47687);module.exports=function extractFiles(value,path,isExtractableFile){path===void 0&&(path=""),isExtractableFile===void 0&&(isExtractableFile=defaultIsExtractableFile);var clone,files=new Map;function addFile(paths,file){var storedPaths=files.get(file);storedPaths?storedPaths.push.apply(storedPaths,paths):files.set(file,paths)}if(isExtractableFile(value))clone=null,addFile([path],value);else{var prefix=path?path+".":"";if(typeof FileList<"u"&&value instanceof FileList)clone=Array.prototype.map.call(value,function(file,i2){return addFile([""+prefix+i2],file),null});else if(Array.isArray(value))clone=value.map(function(child,i2){var result2=extractFiles(child,""+prefix+i2,isExtractableFile);return result2.files.forEach(addFile),result2.clone});else if(value&&value.constructor===Object){clone={};for(var i in value){var result=extractFiles(value[i],""+prefix+i,isExtractableFile);result.files.forEach(addFile),clone[i]=result.clone}}else clone=value}return{clone,files}}},20058:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";exports.ReactNativeFile=__webpack_require__(69933),exports.extractFiles=__webpack_require__(74582),exports.isExtractableFile=__webpack_require__(47687)},47687:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var ReactNativeFile=__webpack_require__(69933);module.exports=function(value){return typeof File<"u"&&value instanceof File||typeof Blob<"u"&&value instanceof Blob||value instanceof ReactNativeFile}},87740:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});var extract_files_1=__webpack_require__(20058),form_data_1=__importDefault(__webpack_require__(6230)),defaultJsonSerializer_1=__webpack_require__(79479),isExtractableFileEnhanced=function(value){return extract_files_1.isExtractableFile(value)||value!==null&&typeof value=="object"&&typeof value.pipe=="function"};function createRequestBody(query,variables,operationName,jsonSerializer){jsonSerializer===void 0&&(jsonSerializer=defaultJsonSerializer_1.defaultJsonSerializer);var _a=extract_files_1.extractFiles({query,variables,operationName},"",isExtractableFileEnhanced),clone=_a.clone,files=_a.files;if(files.size===0){if(!Array.isArray(query))return jsonSerializer.stringify(clone);if(typeof variables<"u"&&!Array.isArray(variables))throw new Error("Cannot create request body with given variable type, array expected");var payload=query.reduce(function(accu,currentQuery,index){return accu.push({query:currentQuery,variables:variables?variables[index]:void 0}),accu},[]);return jsonSerializer.stringify(payload)}var Form=typeof FormData>"u"?form_data_1.default:FormData,form=new Form;form.append("operations",jsonSerializer.stringify(clone));var map={},i=0;return files.forEach(function(paths){map[++i]=paths}),form.append("map",jsonSerializer.stringify(map)),i=0,files.forEach(function(paths,file){form.append(""+ ++i,file)}),form}exports.default=createRequestBody},79479:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultJsonSerializer=void 0,exports.defaultJsonSerializer={parse:JSON.parse,stringify:JSON.stringify}},41067:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)},__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__generator=this&&this.__generator||function(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=op[0]&2?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[op[0]&2,t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(t=_.trys,!(t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.GraphQLWebSocketClient=void 0;var types_1=__webpack_require__(56129),_1=__webpack_require__(33873),CONNECTION_INIT="connection_init",CONNECTION_ACK="connection_ack",PING="ping",PONG="pong",SUBSCRIBE="subscribe",NEXT="next",ERROR="error",COMPLETE="complete",GraphQLWebSocketMessage=function(){function GraphQLWebSocketMessage2(type,payload,id){this._type=type,this._payload=payload,this._id=id}return Object.defineProperty(GraphQLWebSocketMessage2.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(GraphQLWebSocketMessage2.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(GraphQLWebSocketMessage2.prototype,"payload",{get:function(){return this._payload},enumerable:!1,configurable:!0}),Object.defineProperty(GraphQLWebSocketMessage2.prototype,"text",{get:function(){var result={type:this.type};return this.id!=null&&this.id!=null&&(result.id=this.id),this.payload!=null&&this.payload!=null&&(result.payload=this.payload),JSON.stringify(result)},enumerable:!1,configurable:!0}),GraphQLWebSocketMessage2.parse=function(data,f){var _a=JSON.parse(data),type=_a.type,payload=_a.payload,id=_a.id;return new GraphQLWebSocketMessage2(type,f(payload),id)},GraphQLWebSocketMessage2}(),GraphQLWebSocketClient=function(){function GraphQLWebSocketClient2(socket,_a){var _this=this,onInit=_a.onInit,onAcknowledged=_a.onAcknowledged,onPing=_a.onPing,onPong=_a.onPong;this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=socket,socket.onopen=function(e){return __awaiter(_this,void 0,void 0,function(){var _a2,_b,_c,_d;return __generator(this,function(_e){switch(_e.label){case 0:return this.socketState.acknowledged=!1,this.socketState.subscriptions={},_b=(_a2=socket).send,_c=ConnectionInit,onInit?[4,onInit()]:[3,2];case 1:return _d=_e.sent(),[3,3];case 2:_d=null,_e.label=3;case 3:return _b.apply(_a2,[_c.apply(void 0,[_d]).text]),[2]}})})},socket.onclose=function(e){_this.socketState.acknowledged=!1,_this.socketState.subscriptions={}},socket.onerror=function(e){console.error(e)},socket.onmessage=function(e){try{var message=parseMessage(e.data);switch(message.type){case CONNECTION_ACK:{_this.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(_this.socketState.acknowledged=!0,onAcknowledged&&onAcknowledged(message.payload));return}case PING:{onPing?onPing(message.payload).then(function(r){return socket.send(Pong(r).text)}):socket.send(Pong(null).text);return}case PONG:{onPong&&onPong(message.payload);return}}if(!_this.socketState.acknowledged||message.id===void 0||message.id===null||!_this.socketState.subscriptions[message.id])return;var _a2=_this.socketState.subscriptions[message.id],query=_a2.query,variables=_a2.variables,subscriber=_a2.subscriber;switch(message.type){case NEXT:{!message.payload.errors&&message.payload.data&&subscriber.next&&subscriber.next(message.payload.data),message.payload.errors&&subscriber.error&&subscriber.error(new types_1.ClientError(__assign(__assign({},message.payload),{status:200}),{query,variables}));return}case ERROR:{subscriber.error&&subscriber.error(new types_1.ClientError({errors:message.payload,status:200},{query,variables}));return}case COMPLETE:{subscriber.complete&&subscriber.complete(),delete _this.socketState.subscriptions[message.id];return}}}catch(e2){console.error(e2),socket.close(1006)}socket.close(4400,"Unknown graphql-ws message.")}}return GraphQLWebSocketClient2.prototype.makeSubscribe=function(query,operationName,variables,subscriber){var _this=this,subscriptionId=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[subscriptionId]={query,variables,subscriber},this.socket.send(Subscribe(subscriptionId,{query,operationName,variables}).text),function(){_this.socket.send(Complete(subscriptionId).text),delete _this.socketState.subscriptions[subscriptionId]}},GraphQLWebSocketClient2.prototype.rawRequest=function(query,variables){var _this=this;return new Promise(function(resolve,reject){var result;_this.rawSubscribe(query,{next:function(data,extensions){return result={data,extensions}},error:reject,complete:function(){return resolve(result)}},variables)})},GraphQLWebSocketClient2.prototype.request=function(document2,variables){var _this=this;return new Promise(function(resolve,reject){var result;_this.subscribe(document2,{next:function(data){return result=data},error:reject,complete:function(){return resolve(result)}},variables)})},GraphQLWebSocketClient2.prototype.subscribe=function(document2,subscriber,variables){var _a=_1.resolveRequestDocument(document2),query=_a.query,operationName=_a.operationName;return this.makeSubscribe(query,operationName,variables,subscriber)},GraphQLWebSocketClient2.prototype.rawSubscribe=function(query,subscriber,variables){return this.makeSubscribe(query,void 0,variables,subscriber)},GraphQLWebSocketClient2.prototype.ping=function(payload){this.socket.send(Ping(payload).text)},GraphQLWebSocketClient2.prototype.close=function(){this.socket.close(1e3)},GraphQLWebSocketClient2.PROTOCOL="graphql-transport-ws",GraphQLWebSocketClient2}();exports.GraphQLWebSocketClient=GraphQLWebSocketClient;function parseMessage(data,f){f===void 0&&(f=function(a){return a});var m=GraphQLWebSocketMessage.parse(data,f);return m}function ConnectionInit(payload){return new GraphQLWebSocketMessage(CONNECTION_INIT,payload)}function Ping(payload){return new GraphQLWebSocketMessage(PING,payload,void 0)}function Pong(payload){return new GraphQLWebSocketMessage(PONG,payload,void 0)}function Subscribe(id,payload){return new GraphQLWebSocketMessage(SUBSCRIBE,payload,id)}function Complete(id){return new GraphQLWebSocketMessage(COMPLETE,void 0,id)}},33873:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p])}return t},__assign.apply(this,arguments)},__createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k),Object.defineProperty(o,k2,{enumerable:!0,get:function(){return m[k]}})}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result},__awaiter=this&&this.__awaiter||function(thisArg,_arguments,P,generator){function adopt(value){return value instanceof P?value:new P(function(resolve){resolve(value)})}return new(P||(P=Promise))(function(resolve,reject){function fulfilled(value){try{step(generator.next(value))}catch(e){reject(e)}}function rejected(value){try{step(generator.throw(value))}catch(e){reject(e)}}function step(result){result.done?resolve(result.value):adopt(result.value).then(fulfilled,rejected)}step((generator=generator.apply(thisArg,_arguments||[])).next())})},__generator=this&&this.__generator||function(thisArg,body){var _={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},f,y,t,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,y&&(t=op[0]&2?y.return:op[0]?y.throw||((t=y.return)&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;switch(y=0,t&&(op=[op[0]&2,t.value]),op[0]){case 0:case 1:t=op;break;case 4:return _.label++,{value:op[1],done:!1};case 5:_.label++,y=op[1],op=[0];continue;case 7:op=_.ops.pop(),_.trys.pop();continue;default:if(t=_.trys,!(t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1],t=op;break}if(t&&_.label<t[2]){_.label=t[2],_.ops.push(op);break}t[2]&&_.ops.pop(),_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e],y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:!0}}},__rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.GraphQLWebSocketClient=exports.gql=exports.resolveRequestDocument=exports.batchRequests=exports.request=exports.rawRequest=exports.GraphQLClient=exports.ClientError=void 0;var cross_fetch_1=__importStar(__webpack_require__(54098)),CrossFetch=cross_fetch_1,parser_1=__webpack_require__(84275),printer_1=__webpack_require__(39011),createRequestBody_1=__importDefault(__webpack_require__(87740)),defaultJsonSerializer_1=__webpack_require__(79479),parseArgs_1=__webpack_require__(33189),types_1=__webpack_require__(56129);Object.defineProperty(exports,"ClientError",{enumerable:!0,get:function(){return types_1.ClientError}});var resolveHeaders=function(headers){var oHeaders={};return headers&&(typeof Headers<"u"&&headers instanceof Headers||headers instanceof CrossFetch.Headers?oHeaders=HeadersInstanceToPlainObject(headers):Array.isArray(headers)?headers.forEach(function(_a){var name=_a[0],value=_a[1];oHeaders[name]=value}):oHeaders=headers),oHeaders},queryCleanner=function(str){return str.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},buildGetQueryParams=function(_a){var query=_a.query,variables=_a.variables,operationName=_a.operationName,jsonSerializer=_a.jsonSerializer;if(!Array.isArray(query)){var search=["query="+encodeURIComponent(queryCleanner(query))];return variables&&search.push("variables="+encodeURIComponent(jsonSerializer.stringify(variables))),operationName&&search.push("operationName="+encodeURIComponent(operationName)),search.join("&")}if(typeof variables<"u"&&!Array.isArray(variables))throw new Error("Cannot create query with given variable type, array expected");var payload=query.reduce(function(accu,currentQuery,index){return accu.push({query:queryCleanner(currentQuery),variables:variables?jsonSerializer.stringify(variables[index]):void 0}),accu},[]);return"query="+encodeURIComponent(jsonSerializer.stringify(payload))},post=function(_a){var url=_a.url,query=_a.query,variables=_a.variables,operationName=_a.operationName,headers=_a.headers,fetch2=_a.fetch,fetchOptions=_a.fetchOptions;return __awaiter(void 0,void 0,void 0,function(){var body;return __generator(this,function(_b){switch(_b.label){case 0:return body=createRequestBody_1.default(query,variables,operationName,fetchOptions.jsonSerializer),[4,fetch2(url,__assign({method:"POST",headers:__assign(__assign({},typeof body=="string"?{"Content-Type":"application/json"}:{}),headers),body},fetchOptions))];case 1:return[2,_b.sent()]}})})},get=function(_a){var url=_a.url,query=_a.query,variables=_a.variables,operationName=_a.operationName,headers=_a.headers,fetch2=_a.fetch,fetchOptions=_a.fetchOptions;return __awaiter(void 0,void 0,void 0,function(){var queryParams;return __generator(this,function(_b){switch(_b.label){case 0:return queryParams=buildGetQueryParams({query,variables,operationName,jsonSerializer:fetchOptions.jsonSerializer}),[4,fetch2(url+"?"+queryParams,__assign({method:"GET",headers},fetchOptions))];case 1:return[2,_b.sent()]}})})},GraphQLClient=function(){function GraphQLClient2(url,options){this.url=url,this.options=options||{}}return GraphQLClient2.prototype.rawRequest=function(queryOrOptions,variables,requestHeaders){return __awaiter(this,void 0,void 0,function(){var rawRequestOptions,_a,headers,_b,fetch2,_c,method,fetchOptions,url,operationName;return __generator(this,function(_d){return rawRequestOptions=parseArgs_1.parseRawRequestArgs(queryOrOptions,variables,requestHeaders),_a=this.options,headers=_a.headers,_b=_a.fetch,fetch2=_b===void 0?cross_fetch_1.default:_b,_c=_a.method,method=_c===void 0?"POST":_c,fetchOptions=__rest(_a,["headers","fetch","method"]),url=this.url,rawRequestOptions.signal!==void 0&&(fetchOptions.signal=rawRequestOptions.signal),operationName=resolveRequestDocument(rawRequestOptions.query).operationName,[2,makeRequest({url,query:rawRequestOptions.query,variables:rawRequestOptions.variables,headers:__assign(__assign({},resolveHeaders(callOrIdentity(headers))),resolveHeaders(rawRequestOptions.requestHeaders)),operationName,fetch:fetch2,method,fetchOptions})]})})},GraphQLClient2.prototype.request=function(documentOrOptions,variables,requestHeaders){return __awaiter(this,void 0,void 0,function(){var requestOptions,_a,headers,_b,fetch2,_c,method,fetchOptions,url,_d,query,operationName,data;return __generator(this,function(_e){switch(_e.label){case 0:return requestOptions=parseArgs_1.parseRequestArgs(documentOrOptions,variables,requestHeaders),_a=this.options,headers=_a.headers,_b=_a.fetch,fetch2=_b===void 0?cross_fetch_1.default:_b,_c=_a.method,method=_c===void 0?"POST":_c,fetchOptions=__rest(_a,["headers","fetch","method"]),url=this.url,requestOptions.signal!==void 0&&(fetchOptions.signal=requestOptions.signal),_d=resolveRequestDocument(requestOptions.document),query=_d.query,operationName=_d.operationName,[4,makeRequest({url,query,variables:requestOptions.variables,headers:__assign(__assign({},resolveHeaders(callOrIdentity(headers))),resolveHeaders(requestOptions.requestHeaders)),operationName,fetch:fetch2,method,fetchOptions})];case 1:return data=_e.sent().data,[2,data]}})})},GraphQLClient2.prototype.batchRequests=function(documentsOrOptions,requestHeaders){return __awaiter(this,void 0,void 0,function(){var batchRequestOptions,_a,headers,_b,fetch2,_c,method,fetchOptions,url,queries,variables,data;return __generator(this,function(_d){switch(_d.label){case 0:return batchRequestOptions=parseArgs_1.parseBatchRequestArgs(documentsOrOptions,requestHeaders),_a=this.options,headers=_a.headers,_b=_a.fetch,fetch2=_b===void 0?cross_fetch_1.default:_b,_c=_a.method,method=_c===void 0?"POST":_c,fetchOptions=__rest(_a,["headers","fetch","method"]),url=this.url,batchRequestOptions.signal!==void 0&&(fetchOptions.signal=batchRequestOptions.signal),queries=batchRequestOptions.documents.map(function(_a2){var document2=_a2.document;return resolveRequestDocument(document2).query}),variables=batchRequestOptions.documents.map(function(_a2){var variables2=_a2.variables;return variables2}),[4,makeRequest({url,query:queries,variables,headers:__assign(__assign({},resolveHeaders(callOrIdentity(headers))),resolveHeaders(batchRequestOptions.requestHeaders)),operationName:void 0,fetch:fetch2,method,fetchOptions})];case 1:return data=_d.sent().data,[2,data]}})})},GraphQLClient2.prototype.setHeaders=function(headers){return this.options.headers=headers,this},GraphQLClient2.prototype.setHeader=function(key,value){var _a,headers=this.options.headers;return headers?headers[key]=value:this.options.headers=(_a={},_a[key]=value,_a),this},GraphQLClient2.prototype.setEndpoint=function(value){return this.url=value,this},GraphQLClient2}();exports.GraphQLClient=GraphQLClient;function makeRequest(_a){var url=_a.url,query=_a.query,variables=_a.variables,headers=_a.headers,operationName=_a.operationName,fetch2=_a.fetch,_b=_a.method,method=_b===void 0?"POST":_b,fetchOptions=_a.fetchOptions;return __awaiter(this,void 0,void 0,function(){var fetcher,isBathchingQuery,response,result,successfullyReceivedData,successfullyPassedErrorPolicy,headers_1,status_1,errors,rest,data,errorResult;return __generator(this,function(_c){switch(_c.label){case 0:return fetcher=method.toUpperCase()==="POST"?post:get,isBathchingQuery=Array.isArray(query),[4,fetcher({url,query,variables,operationName,headers,fetch:fetch2,fetchOptions})];case 1:return response=_c.sent(),[4,getResult(response,fetchOptions.jsonSerializer)];case 2:if(result=_c.sent(),successfullyReceivedData=isBathchingQuery&&Array.isArray(result)?!result.some(function(_a2){var data2=_a2.data;return!data2}):!!result.data,successfullyPassedErrorPolicy=!result.errors||fetchOptions.errorPolicy==="all"||fetchOptions.errorPolicy==="ignore",response.ok&&successfullyPassedErrorPolicy&&successfullyReceivedData)return headers_1=response.headers,status_1=response.status,errors=result.errors,rest=__rest(result,["errors"]),data=fetchOptions.errorPolicy==="ignore"?rest:result,[2,__assign(__assign({},isBathchingQuery?{data}:data),{headers:headers_1,status:status_1})];throw errorResult=typeof result=="string"?{error:result}:result,new types_1.ClientError(__assign(__assign({},errorResult),{status:response.status,headers:response.headers}),{query,variables})}})})}function rawRequest(urlOrOptions,query,variables,requestHeaders){return __awaiter(this,void 0,void 0,function(){var requestOptions,client;return __generator(this,function(_a){return requestOptions=parseArgs_1.parseRawRequestExtendedArgs(urlOrOptions,query,variables,requestHeaders),client=new GraphQLClient(requestOptions.url),[2,client.rawRequest(__assign({},requestOptions))]})})}exports.rawRequest=rawRequest;function request(urlOrOptions,document2,variables,requestHeaders){return __awaiter(this,void 0,void 0,function(){var requestOptions,client;return __generator(this,function(_a){return requestOptions=parseArgs_1.parseRequestExtendedArgs(urlOrOptions,document2,variables,requestHeaders),client=new GraphQLClient(requestOptions.url),[2,client.request(__assign({},requestOptions))]})})}exports.request=request;function batchRequests(urlOrOptions,documents,requestHeaders){return __awaiter(this,void 0,void 0,function(){var requestOptions,client;return __generator(this,function(_a){return requestOptions=parseArgs_1.parseBatchRequestsExtendedArgs(urlOrOptions,documents,requestHeaders),client=new GraphQLClient(requestOptions.url),[2,client.batchRequests(__assign({},requestOptions))]})})}exports.batchRequests=batchRequests,exports.default=request;function getResult(response,jsonSerializer){return jsonSerializer===void 0&&(jsonSerializer=defaultJsonSerializer_1.defaultJsonSerializer),__awaiter(this,void 0,void 0,function(){var contentType,_a,_b;return __generator(this,function(_c){switch(_c.label){case 0:return response.headers.forEach(function(value,key){key.toLowerCase()==="content-type"&&(contentType=value)}),contentType&&contentType.toLowerCase().startsWith("application/json")?(_b=(_a=jsonSerializer).parse,[4,response.text()]):[3,2];case 1:return[2,_b.apply(_a,[_c.sent()])];case 2:return[2,response.text()]}})})}function extractOperationName(document2){var _a,operationName=void 0,operationDefinitions=document2.definitions.filter(function(definition){return definition.kind==="OperationDefinition"});return operationDefinitions.length===1&&(operationName=(_a=operationDefinitions[0].name)===null||_a===void 0?void 0:_a.value),operationName}function resolveRequestDocument(document2){if(typeof document2=="string"){var operationName_1=void 0;try{var parsedDocument=parser_1.parse(document2);operationName_1=extractOperationName(parsedDocument)}catch{}return{query:document2,operationName:operationName_1}}var operationName=extractOperationName(document2);return{query:printer_1.print(document2),operationName}}exports.resolveRequestDocument=resolveRequestDocument;function callOrIdentity(value){return typeof value=="function"?value():value}function gql(chunks){for(var variables=[],_i=1;_i<arguments.length;_i++)variables[_i-1]=arguments[_i];return chunks.reduce(function(accumulator,chunk,index){return""+accumulator+chunk+(index in variables?variables[index]:"")},"")}exports.gql=gql;function HeadersInstanceToPlainObject(headers){var o={};return headers.forEach(function(v,k){o[k]=v}),o}var graphql_ws_1=__webpack_require__(41067);Object.defineProperty(exports,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return graphql_ws_1.GraphQLWebSocketClient}})},33189:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseBatchRequestsExtendedArgs=exports.parseRawRequestExtendedArgs=exports.parseRequestExtendedArgs=exports.parseBatchRequestArgs=exports.parseRawRequestArgs=exports.parseRequestArgs=void 0;function parseRequestArgs(documentOrOptions,variables,requestHeaders){return documentOrOptions.document?documentOrOptions:{document:documentOrOptions,variables,requestHeaders,signal:void 0}}exports.parseRequestArgs=parseRequestArgs;function parseRawRequestArgs(queryOrOptions,variables,requestHeaders){return queryOrOptions.query?queryOrOptions:{query:queryOrOptions,variables,requestHeaders,signal:void 0}}exports.parseRawRequestArgs=parseRawRequestArgs;function parseBatchRequestArgs(documentsOrOptions,requestHeaders){return documentsOrOptions.documents?documentsOrOptions:{documents:documentsOrOptions,requestHeaders,signal:void 0}}exports.parseBatchRequestArgs=parseBatchRequestArgs;function parseRequestExtendedArgs(urlOrOptions,document2,variables,requestHeaders){return urlOrOptions.document?urlOrOptions:{url:urlOrOptions,document:document2,variables,requestHeaders,signal:void 0}}exports.parseRequestExtendedArgs=parseRequestExtendedArgs;function parseRawRequestExtendedArgs(urlOrOptions,query,variables,requestHeaders){return urlOrOptions.query?urlOrOptions:{url:urlOrOptions,query,variables,requestHeaders,signal:void 0}}exports.parseRawRequestExtendedArgs=parseRawRequestExtendedArgs;function parseBatchRequestsExtendedArgs(urlOrOptions,documents,requestHeaders){return urlOrOptions.documents?urlOrOptions:{url:urlOrOptions,documents,requestHeaders,signal:void 0}}exports.parseBatchRequestsExtendedArgs=parseBatchRequestsExtendedArgs},56129:function(__unused_webpack_module,exports){"use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d2,b2){d2.__proto__=b2}||function(d2,b2){for(var p in b2)Object.prototype.hasOwnProperty.call(b2,p)&&(d2[p]=b2[p])},extendStatics(d,b)};return function(d,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");extendStatics(d,b);function __(){this.constructor=d}d.prototype=b===null?Object.create(b):(__.prototype=b.prototype,new __)}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClientError=void 0;var ClientError=function(_super){__extends(ClientError2,_super);function ClientError2(response,request){var _this=this,message=ClientError2.extractMessage(response)+": "+JSON.stringify({response,request});return _this=_super.call(this,message)||this,Object.setPrototypeOf(_this,ClientError2.prototype),_this.response=response,_this.request=request,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(_this,ClientError2),_this}return ClientError2.extractMessage=function(response){try{return response.errors[0].message}catch{return"GraphQL Error (Code: "+response.status+")"}},ClientError2}(Error);exports.ClientError=ClientError},22045:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=exports.LaneId=void 0;var lane_id_1=__webpack_require__(47106);Object.defineProperty(exports,"LaneId",{enumerable:!0,get:function(){return lane_id_1.LaneId}}),Object.defineProperty(exports,"DEFAULT_LANE",{enumerable:!0,get:function(){return lane_id_1.DEFAULT_LANE}}),Object.defineProperty(exports,"LANE_REMOTE_DELIMITER",{enumerable:!0,get:function(){return lane_id_1.LANE_REMOTE_DELIMITER}})},47106:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LaneId=exports.LANE_REMOTE_DELIMITER=exports.DEFAULT_LANE=void 0;const bit_error_1=__webpack_require__(93902);exports.DEFAULT_LANE="main",exports.LANE_REMOTE_DELIMITER="/";class LaneId{constructor({name,scope}){this.name=name,this.scope=scope,Object.freeze(this)}hasSameName(id){return this.name===id.name}hasSameScope(id){return!id.scope&&!this.scope?!0:this.scope===id.scope}isEqual(laneId){return this.hasSameName(laneId)&&this.hasSameScope(laneId)}isDefault(){return this.name===exports.DEFAULT_LANE}toString(){return this.scope?this.scope+exports.LANE_REMOTE_DELIMITER+this.name:this.name}toObject(){return{scope:this.scope,name:this.name}}static from(name,scope){return new LaneId({scope,name})}static parse(id){if(!id.includes(exports.LANE_REMOTE_DELIMITER))throw new bit_error_1.BitError(`invalid lane-id, "${id}" is missing a delimiter "(${exports.LANE_REMOTE_DELIMITER})"`);const split=id.split(exports.LANE_REMOTE_DELIMITER);if(split.length>2)throw new bit_error_1.BitError(`invalid lane-id "${id}". a lane id can have only one "${exports.LANE_REMOTE_DELIMITER}"`);return LaneId.from(split[1],split[0])}}exports.LaneId=LaneId},33461:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=exports.IgnoreDerivingFromUrl=exports.LanesProviderProps=exports.LanesProvider=exports.useLanesContext=exports.LanesContextModel=exports.LanesContext=void 0;var lanes_context_1=__webpack_require__(31499);Object.defineProperty(exports,"LanesContext",{enumerable:!0,get:function(){return lanes_context_1.LanesContext}}),Object.defineProperty(exports,"LanesContextModel",{enumerable:!0,get:function(){return lanes_context_1.LanesContextModel}}),Object.defineProperty(exports,"useLanesContext",{enumerable:!0,get:function(){return lanes_context_1.useLanesContext}});var lanes_provider_1=__webpack_require__(7811);Object.defineProperty(exports,"LanesProvider",{enumerable:!0,get:function(){return lanes_provider_1.LanesProvider}}),Object.defineProperty(exports,"LanesProviderProps",{enumerable:!0,get:function(){return lanes_provider_1.LanesProviderProps}}),Object.defineProperty(exports,"IgnoreDerivingFromUrl",{enumerable:!0,get:function(){return lanes_provider_1.IgnoreDerivingFromUrl}});var use_lanes_1=__webpack_require__(13655);Object.defineProperty(exports,"useLanes",{enumerable:!0,get:function(){return use_lanes_1.useLanes}})},31499:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanesContext=exports.LanesContext=void 0;const react_1=__webpack_require__(67294);exports.LanesContext=(0,react_1.createContext)(void 0);const useLanesContext=()=>(0,react_1.useContext)(exports.LanesContext);exports.useLanesContext=useLanesContext},7811:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){k2===void 0&&(k2=k);var desc=Object.getOwnPropertyDescriptor(m,k);(!desc||("get"in desc?!m.__esModule:desc.writable||desc.configurable))&&(desc={enumerable:!0,get:function(){return m[k]}}),Object.defineProperty(o,k2,desc)}:function(o,m,k,k2){k2===void 0&&(k2=k),o[k2]=m[k]}),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?function(o,v){Object.defineProperty(o,"default",{enumerable:!0,value:v})}:function(o,v){o.default=v}),__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(mod!=null)for(var k in mod)k!=="default"&&Object.prototype.hasOwnProperty.call(mod,k)&&__createBinding(result,mod,k);return __setModuleDefault(result,mod),result};Object.defineProperty(exports,"__esModule",{value:!0}),exports.LanesProvider=void 0;const react_1=__importStar(__webpack_require__(67294)),lanes_hooks_use_lanes_1=__webpack_require__(33461),lanes_ui_models_lanes_model_1=__webpack_require__(97223),ui_foundation_ui_react_router_use_query_1=__webpack_require__(88140),base_react_navigation_link_1=__webpack_require__(22576),lanes_context_1=__webpack_require__(31499);function LanesProvider({children,viewedLaneId:viewedIdFromProps,targetLanes,ignoreDerivingFromUrl:ignoreDerivingFromUrlFromProps,skipNetworkCall}){const{lanesModel,loading}=(0,lanes_hooks_use_lanes_1.useLanes)(targetLanes,skipNetworkCall),[lanesState,setLanesState]=(0,react_1.useState)(lanesModel),[viewedLaneId,setViewedLaneId]=(0,react_1.useState)(viewedIdFromProps),updateViewedLane=(0,react_1.useCallback)(lane=>{setViewedLaneId(lane),setLanesState(state=>(state?.setViewedOrDefaultLane(lane),state))},[lanesModel]),location=(0,base_react_navigation_link_1.useLocation)(),query=(0,ui_foundation_ui_react_router_use_query_1.useQuery)(),ignoreDerivingFromUrl=(0,react_1.useCallback)(_location=>ignoreDerivingFromUrlFromProps?ignoreDerivingFromUrlFromProps.some(fn=>fn(_location)):!1,[]);(0,react_1.useEffect)(()=>{viewedIdFromProps&&updateViewedLane(viewedIdFromProps)},[viewedIdFromProps?.toString()]),(0,react_1.useEffect)(()=>{var _a,_b;if(ignoreDerivingFromUrl(location))return;const viewedLaneIdToSet=location?.pathname&&lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location?.pathname,query)||void 0||viewedLaneId||((_a=lanesModel?.currentLane)===null||_a===void 0?void 0:_a.id)||((_b=lanesModel?.lanes.find(lane=>lane.id.isDefault()))===null||_b===void 0?void 0:_b.id);updateViewedLane(viewedLaneIdToSet)},[location?.pathname]),(0,react_1.useEffect)(()=>{setLanesState(existing=>{var _a,_b;if(!loading&&lanesModel?.lanes.length){const state=new lanes_ui_models_lanes_model_1.LanesModel(Object.assign({},lanesModel));return viewedLaneId===void 0&&((_a=lanesModel?.currentLane)===null||_a===void 0?void 0:_a.id)?state.setViewedOrDefaultLane((_b=lanesModel?.currentLane)===null||_b===void 0?void 0:_b.id):state.setViewedOrDefaultLane(viewedLaneId),state}return existing})},[loading,lanesModel?.lanes.length,viewedLaneId]);const lanesContextModel={lanesModel:lanesState,updateLanesModel:setLanesState,updateViewedLane};return react_1.default.createElement(lanes_context_1.LanesContext.Provider,{value:lanesContextModel},children)}exports.LanesProvider=LanesProvider},13655:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __rest=this&&this.__rest||function(s,e){var t={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&e.indexOf(p)<0&&(t[p]=s[p]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,p=Object.getOwnPropertySymbols(s);i<p.length;i++)e.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(t[p[i]]=s[p[i]]);return t};Object.defineProperty(exports,"__esModule",{value:!0}),exports.useLanes=void 0;const ui_foundation_ui_hooks_use_data_query_1=__webpack_require__(41646),lanes_ui_models_lanes_model_1=__webpack_require__(97223),client_1=__webpack_require__(33719),lanes_context_1=__webpack_require__(31499),GET_LANES=(0,client_1.gql)`
255
255
  query Lanes($extensionId: String) {
256
256
  lanes {
257
257
  id