@teambit/mdx 0.0.840 → 0.0.841
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.
- package/artifacts/__bit_junit.xml +4 -4
- package/artifacts/env-template/public/{233.8965005573ca822cc17c.js → 233.3efb6289601018793e3b.js} +13 -13
- package/artifacts/env-template/public/assets-manifest.json +8 -8
- package/artifacts/env-template/public/{compositions.c5c8f7c118bce62fb229.js → compositions.e0d452ddc60b31f27a32.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/overview.ba55462207dd7a5121d3.js +1 -0
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.7ec0875845d2e9341f77.js → peers.963b5170e76372b09787.js} +1 -1
- package/artifacts/preview/teambit_mdx_mdx-preview.js +2 -2
- package/{compositions-1663731461630.js → compositions-1663768442063.js} +0 -0
- package/{overview-1663731461630.js → overview-1663768442063.js} +0 -0
- package/package-tar/teambit-mdx-0.0.841.tgz +0 -0
- package/package.json +15 -15
- package/{preview-1663731461630.js → preview-1663768442063.js} +2 -2
- package/artifacts/env-template/public/overview.b44167e0de57b202ded8.js +0 -1
- package/package-tar/teambit-mdx-0.0.840.tgz +0 -0
package/artifacts/env-template/public/{233.8965005573ca822cc17c.js → 233.3efb6289601018793e3b.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[]).push([[233],{59713:module=>{function _defineProperty(obj,key,value2){return key in obj?Object.defineProperty(obj,key,{value:value2,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value2,obj}module.exports=_defineProperty},67154:module=>{function _extends(){return module.exports=_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}module.exports=_extends},95318:module=>{function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}module.exports=_interopRequireDefault},6479:(module,__unused_webpack_exports,__webpack_require__)=>{var objectWithoutPropertiesLoose=__webpack_require__(37316);function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}module.exports=_objectWithoutProperties},37316:module=>{function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}module.exports=_objectWithoutPropertiesLoose},36728:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{arrow:()=>arrow,autoPlacement:()=>v,autoUpdate:()=>N,computePosition:()=>z,detectOverflow:()=>s,flip:()=>b,getOverflowAncestors:()=>H,hide:()=>P,inline:()=>E,limitShift:()=>L,offset:()=>T,shift:()=>D,size:()=>k,useFloating:()=>useFloating});function t(t2){return t2.split("-")[0]}function e(t2){return t2.split("-")[1]}function n(e2){return["top","bottom"].includes(t(e2))?"x":"y"}function r(t2){return t2==="y"?"height":"width"}function i(i2,o2,a2){let{reference:l2,floating:s2}=i2;const c2=l2.x+l2.width/2-s2.width/2,f2=l2.y+l2.height/2-s2.height/2,u2=n(o2),m2=r(u2),g2=l2[m2]/2-s2[m2]/2,d2=u2==="x";let p2;switch(t(o2)){case"top":p2={x:c2,y:l2.y-s2.height};break;case"bottom":p2={x:c2,y:l2.y+l2.height};break;case"right":p2={x:l2.x+l2.width,y:f2};break;case"left":p2={x:l2.x-s2.width,y:f2};break;default:p2={x:l2.x,y:l2.y}}switch(e(o2)){case"start":p2[u2]-=g2*(a2&&d2?-1:1);break;case"end":p2[u2]+=g2*(a2&&d2?-1:1)}return p2}const floating_ui_core_browser_min_o=async(t2,e2,n2)=>{const{placement:r2="bottom",strategy:o2="absolute",middleware:a2=[],platform:l2}=n2,s2=await(l2.isRTL==null?void 0:l2.isRTL(e2));let c2=await l2.getElementRects({reference:t2,floating:e2,strategy:o2}),{x:f2,y:u2}=i(c2,r2,s2),m2=r2,g2={},d2=0;for(let n3=0;n3<a2.length;n3++){const{name:p2,fn:h2}=a2[n3],{x:y2,y:x2,data:w2,reset:v2}=await h2({x:f2,y:u2,initialPlacement:r2,placement:m2,strategy:o2,middlewareData:g2,rects:c2,platform:l2,elements:{reference:t2,floating:e2}});f2=y2??f2,u2=x2??u2,g2={...g2,[p2]:{...g2[p2],...w2}},v2&&d2<=50&&(d2++,typeof v2=="object"&&(v2.placement&&(m2=v2.placement),v2.rects&&(c2=v2.rects===!0?await l2.getElementRects({reference:t2,floating:e2,strategy:o2}):v2.rects),{x:f2,y:u2}=i(c2,m2,s2)),n3=-1)}return{x:f2,y:u2,placement:m2,strategy:o2,middlewareData:g2}};function a(t2){return typeof t2!="number"?function(t3){return{top:0,right:0,bottom:0,left:0,...t3}}(t2):{top:t2,right:t2,bottom:t2,left:t2}}function l(t2){return{...t2,top:t2.y,left:t2.x,right:t2.x+t2.width,bottom:t2.y+t2.height}}async function s(t2,e2){var n2;e2===void 0&&(e2={});const{x:r2,y:i2,platform:o2,rects:s2,elements:c2,strategy:f2}=t2,{boundary:u2="clippingAncestors",rootBoundary:m2="viewport",elementContext:g2="floating",altBoundary:d2=!1,padding:p2=0}=e2,h2=a(p2),y2=c2[d2?g2==="floating"?"reference":"floating":g2],x2=l(await o2.getClippingRect({element:(n2=await(o2.isElement==null?void 0:o2.isElement(y2)))==null||n2?y2:y2.contextElement||await(o2.getDocumentElement==null?void 0:o2.getDocumentElement(c2.floating)),boundary:u2,rootBoundary:m2,strategy:f2})),w2=l(o2.convertOffsetParentRelativeRectToViewportRelativeRect?await o2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:g2==="floating"?{...s2.floating,x:r2,y:i2}:s2.reference,offsetParent:await(o2.getOffsetParent==null?void 0:o2.getOffsetParent(c2.floating)),strategy:f2}):s2[g2]);return{top:x2.top-w2.top+h2.top,bottom:w2.bottom-x2.bottom+h2.bottom,left:x2.left-w2.left+h2.left,right:w2.right-x2.right+h2.right}}const c=Math.min,f=Math.max;function u(t2,e2,n2){return f(t2,c(e2,n2))}const m=t2=>({name:"arrow",options:t2,async fn(i2){const{element:o2,padding:l2=0}=t2??{},{x:s2,y:c2,placement:f2,rects:m2,platform:g2}=i2;if(o2==null)return{};const d2=a(l2),p2={x:s2,y:c2},h2=n(f2),y2=e(f2),x2=r(h2),w2=await g2.getDimensions(o2),v2=h2==="y"?"top":"left",b2=h2==="y"?"bottom":"right",R2=m2.reference[x2]+m2.reference[h2]-p2[h2]-m2.floating[x2],A2=p2[h2]-m2.reference[h2],P2=await(g2.getOffsetParent==null?void 0:g2.getOffsetParent(o2));let T2=P2?h2==="y"?P2.clientHeight||0:P2.clientWidth||0:0;T2===0&&(T2=m2.floating[x2]);const O2=R2/2-A2/2,D2=d2[v2],L2=T2-w2[x2]-d2[b2],k2=T2/2-w2[x2]/2+O2,E2=u(D2,k2,L2),C2=(y2==="start"?d2[v2]:d2[b2])>0&&k2!==E2&&m2.reference[x2]<=m2.floating[x2];return{[h2]:p2[h2]-(C2?k2<D2?D2-k2:L2-k2:0),data:{[h2]:E2,centerOffset:k2-E2}}}}),g={left:"right",right:"left",bottom:"top",top:"bottom"};function d(t2){return t2.replace(/left|right|bottom|top/g,t3=>g[t3])}function p(t2,i2,o2){o2===void 0&&(o2=!1);const a2=e(t2),l2=n(t2),s2=r(l2);let c2=l2==="x"?a2===(o2?"end":"start")?"right":"left":a2==="start"?"bottom":"top";return i2.reference[s2]>i2.floating[s2]&&(c2=d(c2)),{main:c2,cross:d(c2)}}const h={start:"end",end:"start"};function y(t2){return t2.replace(/start|end/g,t3=>h[t3])}const x=["top","right","bottom","left"],w=x.reduce((t2,e2)=>t2.concat(e2,e2+"-start",e2+"-end"),[]),v=function(n2){return n2===void 0&&(n2={}),{name:"autoPlacement",options:n2,async fn(r2){var i2,o2,a2,l2,c2;const{x:f2,y:u2,rects:m2,middlewareData:g2,placement:d2,platform:h2,elements:x2}=r2,{alignment:v2=null,allowedPlacements:b2=w,autoAlignment:R2=!0,...A2}=n2,P2=function(n3,r3,i3){return(n3?[...i3.filter(t2=>e(t2)===n3),...i3.filter(t2=>e(t2)!==n3)]:i3.filter(e2=>t(e2)===e2)).filter(t2=>!n3||e(t2)===n3||!!r3&&y(t2)!==t2)}(v2,R2,b2),T2=await s(r2,A2),O2=(i2=(o2=g2.autoPlacement)==null?void 0:o2.index)!=null?i2:0,D2=P2[O2];if(D2==null)return{};const{main:L2,cross:k2}=p(D2,m2,await(h2.isRTL==null?void 0:h2.isRTL(x2.floating)));if(d2!==D2)return{x:f2,y:u2,reset:{placement:P2[0]}};const E2=[T2[t(D2)],T2[L2],T2[k2]],C2=[...(a2=(l2=g2.autoPlacement)==null?void 0:l2.overflows)!=null?a2:[],{placement:D2,overflows:E2}],H2=P2[O2+1];if(H2)return{data:{index:O2+1,overflows:C2},reset:{placement:H2}};const B=C2.slice().sort((t2,e2)=>t2.overflows[0]-e2.overflows[0]),V=(c2=B.find(t2=>{let{overflows:e2}=t2;return e2.every(t3=>t3<=0)}))==null?void 0:c2.placement,F=V??B[0].placement;return F!==d2?{data:{index:O2+1,overflows:C2},reset:{placement:F}}:{}}}},b=function(e2){return e2===void 0&&(e2={}),{name:"flip",options:e2,async fn(n2){var r2;const{placement:i2,middlewareData:o2,rects:a2,initialPlacement:l2,platform:c2,elements:f2}=n2,{mainAxis:u2=!0,crossAxis:m2=!0,fallbackPlacements:g2,fallbackStrategy:h2="bestFit",flipAlignment:x2=!0,...w2}=e2,v2=t(i2),b2=g2||(v2===l2||!x2?[d(l2)]:function(t2){const e3=d(t2);return[y(t2),e3,y(e3)]}(l2)),R2=[l2,...b2],A2=await s(n2,w2),P2=[];let T2=((r2=o2.flip)==null?void 0:r2.overflows)||[];if(u2&&P2.push(A2[v2]),m2){const{main:t2,cross:e3}=p(i2,a2,await(c2.isRTL==null?void 0:c2.isRTL(f2.floating)));P2.push(A2[t2],A2[e3])}if(T2=[...T2,{placement:i2,overflows:P2}],!P2.every(t2=>t2<=0)){var O2,D2;const t2=((O2=(D2=o2.flip)==null?void 0:D2.index)!=null?O2:0)+1,e3=R2[t2];if(e3)return{data:{index:t2,overflows:T2},reset:{placement:e3}};let n3="bottom";switch(h2){case"bestFit":{var L2;const t3=(L2=T2.map(t4=>[t4,t4.overflows.filter(t5=>t5>0).reduce((t5,e4)=>t5+e4,0)]).sort((t4,e4)=>t4[1]-e4[1])[0])==null?void 0:L2[0].placement;t3&&(n3=t3);break}case"initialPlacement":n3=l2}if(i2!==n3)return{reset:{placement:n3}}}return{}}}};function R(t2,e2){return{top:t2.top-e2.height,right:t2.right-e2.width,bottom:t2.bottom-e2.height,left:t2.left-e2.width}}function A(t2){return x.some(e2=>t2[e2]>=0)}const P=function(t2){let{strategy:e2="referenceHidden",...n2}=t2===void 0?{}:t2;return{name:"hide",async fn(t3){const{rects:r2}=t3;switch(e2){case"referenceHidden":{const e3=R(await s(t3,{...n2,elementContext:"reference"}),r2.reference);return{data:{referenceHiddenOffsets:e3,referenceHidden:A(e3)}}}case"escaped":{const e3=R(await s(t3,{...n2,altBoundary:!0}),r2.floating);return{data:{escapedOffsets:e3,escaped:A(e3)}}}default:return{}}}}},T=function(r2){return r2===void 0&&(r2=0),{name:"offset",options:r2,async fn(i2){const{x:o2,y:a2}=i2,l2=await async function(r3,i3){const{placement:o3,platform:a3,elements:l3}=r3,s2=await(a3.isRTL==null?void 0:a3.isRTL(l3.floating)),c2=t(o3),f2=e(o3),u2=n(o3)==="x",m2=["left","top"].includes(c2)?-1:1,g2=s2&&u2?-1:1,d2=typeof i3=="function"?i3(r3):i3;let{mainAxis:p2,crossAxis:h2,alignmentAxis:y2}=typeof d2=="number"?{mainAxis:d2,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d2};return f2&&typeof y2=="number"&&(h2=f2==="end"?-1*y2:y2),u2?{x:h2*g2,y:p2*m2}:{x:p2*m2,y:h2*g2}}(i2,r2);return{x:o2+l2.x,y:a2+l2.y,data:l2}}}};function O(t2){return t2==="x"?"y":"x"}const D=function(e2){return e2===void 0&&(e2={}),{name:"shift",options:e2,async fn(r2){const{x:i2,y:o2,placement:a2}=r2,{mainAxis:l2=!0,crossAxis:c2=!1,limiter:f2={fn:t2=>{let{x:e3,y:n2}=t2;return{x:e3,y:n2}}},...m2}=e2,g2={x:i2,y:o2},d2=await s(r2,m2),p2=n(t(a2)),h2=O(p2);let y2=g2[p2],x2=g2[h2];if(l2){const t2=p2==="y"?"bottom":"right";y2=u(y2+d2[p2==="y"?"top":"left"],y2,y2-d2[t2])}if(c2){const t2=h2==="y"?"bottom":"right";x2=u(x2+d2[h2==="y"?"top":"left"],x2,x2-d2[t2])}const w2=f2.fn({...r2,[p2]:y2,[h2]:x2});return{...w2,data:{x:w2.x-i2,y:w2.y-o2}}}}},L=function(e2){return e2===void 0&&(e2={}),{options:e2,fn(r2){const{x:i2,y:o2,placement:a2,rects:l2,middlewareData:s2}=r2,{offset:c2=0,mainAxis:f2=!0,crossAxis:u2=!0}=e2,m2={x:i2,y:o2},g2=n(a2),d2=O(g2);let p2=m2[g2],h2=m2[d2];const y2=typeof c2=="function"?c2({...l2,placement:a2}):c2,x2=typeof y2=="number"?{mainAxis:y2,crossAxis:0}:{mainAxis:0,crossAxis:0,...y2};if(f2){const t2=g2==="y"?"height":"width",e3=l2.reference[g2]-l2.floating[t2]+x2.mainAxis,n2=l2.reference[g2]+l2.reference[t2]-x2.mainAxis;p2<e3?p2=e3:p2>n2&&(p2=n2)}if(u2){var w2,v2,b2,R2;const e3=g2==="y"?"width":"height",n2=["top","left"].includes(t(a2)),r3=l2.reference[d2]-l2.floating[e3]+(n2&&(w2=(v2=s2.offset)==null?void 0:v2[d2])!=null?w2:0)+(n2?0:x2.crossAxis),i3=l2.reference[d2]+l2.reference[e3]+(n2?0:(b2=(R2=s2.offset)==null?void 0:R2[d2])!=null?b2:0)-(n2?x2.crossAxis:0);h2<r3?h2=r3:h2>i3&&(h2=i3)}return{[g2]:p2,[d2]:h2}}}},k=function(n2){return n2===void 0&&(n2={}),{name:"size",options:n2,async fn(r2){const{placement:i2,rects:o2,platform:a2,elements:l2}=r2,{apply:c2,...u2}=n2,m2=await s(r2,u2),g2=t(i2),d2=e(i2);let p2,h2;g2==="top"||g2==="bottom"?(p2=g2,h2=d2===(await(a2.isRTL==null?void 0:a2.isRTL(l2.floating))?"start":"end")?"left":"right"):(h2=g2,p2=d2==="end"?"top":"bottom");const y2=f(m2.left,0),x2=f(m2.right,0),w2=f(m2.top,0),v2=f(m2.bottom,0),b2={availableHeight:o2.floating.height-(["left","right"].includes(i2)?2*(w2!==0||v2!==0?w2+v2:f(m2.top,m2.bottom)):m2[p2]),availableWidth:o2.floating.width-(["top","bottom"].includes(i2)?2*(y2!==0||x2!==0?y2+x2:f(m2.left,m2.right)):m2[h2])},R2=await a2.getDimensions(l2.floating);c2?.({...r2,...b2});const A2=await a2.getDimensions(l2.floating);return R2.width!==A2.width||R2.height!==A2.height?{reset:{rects:!0}}:{}}}},E=function(e2){return e2===void 0&&(e2={}),{name:"inline",options:e2,async fn(r2){var i2;const{placement:o2,elements:s2,rects:u2,platform:m2,strategy:g2}=r2,{padding:d2=2,x:p2,y:h2}=e2,y2=l(m2.convertOffsetParentRelativeRectToViewportRelativeRect?await m2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:u2.reference,offsetParent:await(m2.getOffsetParent==null?void 0:m2.getOffsetParent(s2.floating)),strategy:g2}):u2.reference),x2=(i2=await(m2.getClientRects==null?void 0:m2.getClientRects(s2.reference)))!=null?i2:[],w2=a(d2),v2=await m2.getElementRects({reference:{getBoundingClientRect:function(){var e3;if(x2.length===2&&x2[0].left>x2[1].right&&p2!=null&&h2!=null)return(e3=x2.find(t2=>p2>t2.left-w2.left&&p2<t2.right+w2.right&&h2>t2.top-w2.top&&h2<t2.bottom+w2.bottom))!=null?e3:y2;if(x2.length>=2){if(n(o2)==="x"){const e5=x2[0],n2=x2[x2.length-1],r4=t(o2)==="top",i4=e5.top,a3=n2.bottom,l3=r4?e5.left:n2.left,s4=r4?e5.right:n2.right;return{top:i4,bottom:a3,left:l3,right:s4,width:s4-l3,height:a3-i4,x:l3,y:i4}}const e4=t(o2)==="left",r3=f(...x2.map(t2=>t2.right)),i3=c(...x2.map(t2=>t2.left)),a2=x2.filter(t2=>e4?t2.left===i3:t2.right===r3),l2=a2[0].top,s3=a2[a2.length-1].bottom;return{top:l2,bottom:s3,left:i3,right:r3,width:r3-i3,height:s3-l2,x:i3,y:l2}}return y2}},floating:s2.floating,strategy:g2});return u2.reference.x!==v2.reference.x||u2.reference.y!==v2.reference.y||u2.reference.width!==v2.reference.width||u2.reference.height!==v2.reference.height?{reset:{rects:v2}}:{}}}};function floating_ui_dom_browser_min_n(t2){return t2&&t2.document&&t2.location&&t2.alert&&t2.setInterval}function o(t2){if(t2==null)return window;if(!floating_ui_dom_browser_min_n(t2)){const e2=t2.ownerDocument;return e2&&e2.defaultView||window}return t2}function floating_ui_dom_browser_min_i(t2){return o(t2).getComputedStyle(t2)}function floating_ui_dom_browser_min_r(t2){return floating_ui_dom_browser_min_n(t2)?"":t2?(t2.nodeName||"").toLowerCase():""}function floating_ui_dom_browser_min_l(){const t2=navigator.userAgentData;return t2!=null&&t2.brands?t2.brands.map(t3=>t3.brand+"/"+t3.version).join(" "):navigator.userAgent}function floating_ui_dom_browser_min_c(t2){return t2 instanceof o(t2).HTMLElement}function floating_ui_dom_browser_min_f(t2){return t2 instanceof o(t2).Element}function floating_ui_dom_browser_min_s(t2){return typeof ShadowRoot>"u"?!1:t2 instanceof o(t2).ShadowRoot||t2 instanceof ShadowRoot}function floating_ui_dom_browser_min_u(t2){const{overflow:e2,overflowX:n2,overflowY:o2}=floating_ui_dom_browser_min_i(t2);return/auto|scroll|overlay|hidden/.test(e2+o2+n2)}function floating_ui_dom_browser_min_d(t2){return["table","td","th"].includes(floating_ui_dom_browser_min_r(t2))}function floating_ui_dom_browser_min_h(t2){const e2=/firefox/i.test(floating_ui_dom_browser_min_l()),n2=floating_ui_dom_browser_min_i(t2);return n2.transform!=="none"||n2.perspective!=="none"||n2.contain==="paint"||["transform","perspective"].includes(n2.willChange)||e2&&n2.willChange==="filter"||e2&&!!n2.filter&&n2.filter!=="none"}function floating_ui_dom_browser_min_a(){return!/^((?!chrome|android).)*safari/i.test(floating_ui_dom_browser_min_l())}const floating_ui_dom_browser_min_g=Math.min,floating_ui_dom_browser_min_p=Math.max,floating_ui_dom_browser_min_m=Math.round;function floating_ui_dom_browser_min_w(t2,e2,n2){var i2,r2,l2,s2;e2===void 0&&(e2=!1),n2===void 0&&(n2=!1);const u2=t2.getBoundingClientRect();let d2=1,h2=1;e2&&floating_ui_dom_browser_min_c(t2)&&(d2=t2.offsetWidth>0&&floating_ui_dom_browser_min_m(u2.width)/t2.offsetWidth||1,h2=t2.offsetHeight>0&&floating_ui_dom_browser_min_m(u2.height)/t2.offsetHeight||1);const g2=floating_ui_dom_browser_min_f(t2)?o(t2):window,p2=!floating_ui_dom_browser_min_a()&&n2,w2=(u2.left+(p2&&(i2=(r2=g2.visualViewport)==null?void 0:r2.offsetLeft)!=null?i2:0))/d2,v2=(u2.top+(p2&&(l2=(s2=g2.visualViewport)==null?void 0:s2.offsetTop)!=null?l2:0))/h2,y2=u2.width/d2,x2=u2.height/h2;return{width:y2,height:x2,top:v2,right:w2+y2,bottom:v2+x2,left:w2,x:w2,y:v2}}function floating_ui_dom_browser_min_v(t2){return(e2=t2,(e2 instanceof o(e2).Node?t2.ownerDocument:t2.document)||window.document).documentElement;var e2}function floating_ui_dom_browser_min_y(t2){return floating_ui_dom_browser_min_f(t2)?{scrollLeft:t2.scrollLeft,scrollTop:t2.scrollTop}:{scrollLeft:t2.pageXOffset,scrollTop:t2.pageYOffset}}function floating_ui_dom_browser_min_x(t2){return floating_ui_dom_browser_min_w(floating_ui_dom_browser_min_v(t2)).left+floating_ui_dom_browser_min_y(t2).scrollLeft}function floating_ui_dom_browser_min_b(t2,e2,n2){const o2=floating_ui_dom_browser_min_c(e2),i2=floating_ui_dom_browser_min_v(e2),l2=floating_ui_dom_browser_min_w(t2,o2&&function(t3){const e3=floating_ui_dom_browser_min_w(t3);return floating_ui_dom_browser_min_m(e3.width)!==t3.offsetWidth||floating_ui_dom_browser_min_m(e3.height)!==t3.offsetHeight}(e2),n2==="fixed");let f2={scrollLeft:0,scrollTop:0};const s2={x:0,y:0};if(o2||!o2&&n2!=="fixed")if((floating_ui_dom_browser_min_r(e2)!=="body"||floating_ui_dom_browser_min_u(i2))&&(f2=floating_ui_dom_browser_min_y(e2)),floating_ui_dom_browser_min_c(e2)){const t3=floating_ui_dom_browser_min_w(e2,!0);s2.x=t3.x+e2.clientLeft,s2.y=t3.y+e2.clientTop}else i2&&(s2.x=floating_ui_dom_browser_min_x(i2));return{x:l2.left+f2.scrollLeft-s2.x,y:l2.top+f2.scrollTop-s2.y,width:l2.width,height:l2.height}}function floating_ui_dom_browser_min_L(t2){return floating_ui_dom_browser_min_r(t2)==="html"?t2:t2.assignedSlot||t2.parentNode||(floating_ui_dom_browser_min_s(t2)?t2.host:null)||floating_ui_dom_browser_min_v(t2)}function floating_ui_dom_browser_min_R(t2){return floating_ui_dom_browser_min_c(t2)&&getComputedStyle(t2).position!=="fixed"?t2.offsetParent:null}function floating_ui_dom_browser_min_T(t2){const e2=o(t2);let n2=floating_ui_dom_browser_min_R(t2);for(;n2&&floating_ui_dom_browser_min_d(n2)&&getComputedStyle(n2).position==="static";)n2=floating_ui_dom_browser_min_R(n2);return n2&&(floating_ui_dom_browser_min_r(n2)==="html"||floating_ui_dom_browser_min_r(n2)==="body"&&getComputedStyle(n2).position==="static"&&!floating_ui_dom_browser_min_h(n2))?e2:n2||function(t3){let e3=floating_ui_dom_browser_min_L(t3);for(floating_ui_dom_browser_min_s(e3)&&(e3=e3.host);floating_ui_dom_browser_min_c(e3)&&!["html","body"].includes(floating_ui_dom_browser_min_r(e3));){if(floating_ui_dom_browser_min_h(e3))return e3;e3=e3.parentNode}return null}(t2)||e2}function W(t2){if(floating_ui_dom_browser_min_c(t2))return{width:t2.offsetWidth,height:t2.offsetHeight};const e2=floating_ui_dom_browser_min_w(t2);return{width:e2.width,height:e2.height}}function floating_ui_dom_browser_min_E(t2){const e2=floating_ui_dom_browser_min_L(t2);return["html","body","#document"].includes(floating_ui_dom_browser_min_r(e2))?t2.ownerDocument.body:floating_ui_dom_browser_min_c(e2)&&floating_ui_dom_browser_min_u(e2)?e2:floating_ui_dom_browser_min_E(e2)}function H(t2,e2){var n2;e2===void 0&&(e2=[]);const i2=floating_ui_dom_browser_min_E(t2),r2=i2===((n2=t2.ownerDocument)==null?void 0:n2.body),l2=o(i2),c2=r2?[l2].concat(l2.visualViewport||[],floating_ui_dom_browser_min_u(i2)?i2:[]):i2,f2=e2.concat(c2);return r2?f2:f2.concat(H(c2))}function C(e2,n2,r2){return n2==="viewport"?l(function(t2,e3){const n3=o(t2),i2=floating_ui_dom_browser_min_v(t2),r3=n3.visualViewport;let l2=i2.clientWidth,c2=i2.clientHeight,f2=0,s2=0;if(r3){l2=r3.width,c2=r3.height;const t3=floating_ui_dom_browser_min_a();(t3||!t3&&e3==="fixed")&&(f2=r3.offsetLeft,s2=r3.offsetTop)}return{width:l2,height:c2,x:f2,y:s2}}(e2,r2)):floating_ui_dom_browser_min_f(n2)?function(t2,e3){const n3=floating_ui_dom_browser_min_w(t2,!1,e3==="fixed"),o2=n3.top+t2.clientTop,i2=n3.left+t2.clientLeft;return{top:o2,left:i2,x:i2,y:o2,right:i2+t2.clientWidth,bottom:o2+t2.clientHeight,width:t2.clientWidth,height:t2.clientHeight}}(n2,r2):l(function(t2){var e3;const n3=floating_ui_dom_browser_min_v(t2),o2=floating_ui_dom_browser_min_y(t2),r3=(e3=t2.ownerDocument)==null?void 0:e3.body,l2=floating_ui_dom_browser_min_p(n3.scrollWidth,n3.clientWidth,r3?r3.scrollWidth:0,r3?r3.clientWidth:0),c2=floating_ui_dom_browser_min_p(n3.scrollHeight,n3.clientHeight,r3?r3.scrollHeight:0,r3?r3.clientHeight:0);let f2=-o2.scrollLeft+floating_ui_dom_browser_min_x(t2);const s2=-o2.scrollTop;return floating_ui_dom_browser_min_i(r3||n3).direction==="rtl"&&(f2+=floating_ui_dom_browser_min_p(n3.clientWidth,r3?r3.clientWidth:0)-l2),{width:l2,height:c2,x:f2,y:s2}}(floating_ui_dom_browser_min_v(e2)))}function S(t2){const e2=H(t2),n2=["absolute","fixed"].includes(floating_ui_dom_browser_min_i(t2).position)&&floating_ui_dom_browser_min_c(t2)?floating_ui_dom_browser_min_T(t2):t2;return floating_ui_dom_browser_min_f(n2)?e2.filter(t3=>floating_ui_dom_browser_min_f(t3)&&function(t4,e3){const n3=e3.getRootNode==null?void 0:e3.getRootNode();if(t4.contains(e3))return!0;if(n3&&floating_ui_dom_browser_min_s(n3)){let n4=e3;do{if(n4&&t4===n4)return!0;n4=n4.parentNode||n4.host}while(n4)}return!1}(t3,n2)&&floating_ui_dom_browser_min_r(t3)!=="body"):[]}const floating_ui_dom_browser_min_D={getClippingRect:function(t2){let{element:e2,boundary:n2,rootBoundary:o2,strategy:i2}=t2;const r2=[...n2==="clippingAncestors"?S(e2):[].concat(n2),o2],l2=r2[0],c2=r2.reduce((t3,n3)=>{const o3=C(e2,n3,i2);return t3.top=floating_ui_dom_browser_min_p(o3.top,t3.top),t3.right=floating_ui_dom_browser_min_g(o3.right,t3.right),t3.bottom=floating_ui_dom_browser_min_g(o3.bottom,t3.bottom),t3.left=floating_ui_dom_browser_min_p(o3.left,t3.left),t3},C(e2,l2,i2));return{width:c2.right-c2.left,height:c2.bottom-c2.top,x:c2.left,y:c2.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t2){let{rect:e2,offsetParent:n2,strategy:o2}=t2;const i2=floating_ui_dom_browser_min_c(n2),l2=floating_ui_dom_browser_min_v(n2);if(n2===l2)return e2;let f2={scrollLeft:0,scrollTop:0};const s2={x:0,y:0};if((i2||!i2&&o2!=="fixed")&&((floating_ui_dom_browser_min_r(n2)!=="body"||floating_ui_dom_browser_min_u(l2))&&(f2=floating_ui_dom_browser_min_y(n2)),floating_ui_dom_browser_min_c(n2))){const t3=floating_ui_dom_browser_min_w(n2,!0);s2.x=t3.x+n2.clientLeft,s2.y=t3.y+n2.clientTop}return{...e2,x:e2.x-f2.scrollLeft+s2.x,y:e2.y-f2.scrollTop+s2.y}},isElement:floating_ui_dom_browser_min_f,getDimensions:W,getOffsetParent:floating_ui_dom_browser_min_T,getDocumentElement:floating_ui_dom_browser_min_v,getElementRects:t2=>{let{reference:e2,floating:n2,strategy:o2}=t2;return{reference:floating_ui_dom_browser_min_b(e2,floating_ui_dom_browser_min_T(n2),o2),floating:{...W(n2),x:0,y:0}}},getClientRects:t2=>Array.from(t2.getClientRects()),isRTL:t2=>floating_ui_dom_browser_min_i(t2).direction==="rtl"};function N(t2,e2,n2,o2){o2===void 0&&(o2={});const{ancestorScroll:i2=!0,ancestorResize:r2=!0,elementResize:l2=!0,animationFrame:c2=!1}=o2,s2=i2&&!c2,u2=r2&&!c2,d2=s2||u2?[...floating_ui_dom_browser_min_f(t2)?H(t2):[],...H(e2)]:[];d2.forEach(t3=>{s2&&t3.addEventListener("scroll",n2,{passive:!0}),u2&&t3.addEventListener("resize",n2)});let h2,a2=null;if(l2){let o3=!0;a2=new ResizeObserver(()=>{o3||n2(),o3=!1}),floating_ui_dom_browser_min_f(t2)&&!c2&&a2.observe(t2),a2.observe(e2)}let g2=c2?floating_ui_dom_browser_min_w(t2):null;return c2&&function e3(){const o3=floating_ui_dom_browser_min_w(t2);!g2||o3.x===g2.x&&o3.y===g2.y&&o3.width===g2.width&&o3.height===g2.height||n2(),g2=o3,h2=requestAnimationFrame(e3)}(),n2(),()=>{var t3;d2.forEach(t4=>{s2&&t4.removeEventListener("scroll",n2),u2&&t4.removeEventListener("resize",n2)}),(t3=a2)==null||t3.disconnect(),a2=null,c2&&cancelAnimationFrame(h2)}}const z=(t2,n2,o2)=>floating_ui_core_browser_min_o(t2,n2,{platform:floating_ui_dom_browser_min_D,...o2});var react=__webpack_require__(67294),react_dom=__webpack_require__(73935),index=typeof document<"u"?react.useLayoutEffect:react.useEffect;function deepEqual(a2,b2){if(a2===b2)return!0;if(typeof a2!=typeof b2)return!1;if(typeof a2=="function"&&a2.toString()===b2.toString())return!0;let length,i2,keys;if(a2&&b2&&typeof a2=="object"){if(Array.isArray(a2)){if(length=a2.length,length!=b2.length)return!1;for(i2=length;i2--!==0;)if(!deepEqual(a2[i2],b2[i2]))return!1;return!0}if(keys=Object.keys(a2),length=keys.length,length!==Object.keys(b2).length)return!1;for(i2=length;i2--!==0;)if(!Object.prototype.hasOwnProperty.call(b2,keys[i2]))return!1;for(i2=length;i2--!==0;){const key=keys[i2];if(!(key==="_owner"&&a2.$$typeof)&&!deepEqual(a2[key],b2[key]))return!1}return!0}return a2!==a2&&b2!==b2}function useLatestRef(value2){const ref=react.useRef(value2);return index(()=>{ref.current=value2}),ref}function useFloating(_temp){let{middleware,placement="bottom",strategy="absolute",whileElementsMounted}=_temp===void 0?{}:_temp;const reference=react.useRef(null),floating=react.useRef(null),whileElementsMountedRef=useLatestRef(whileElementsMounted),cleanupRef=react.useRef(null),[data,setData]=react.useState({x:null,y:null,strategy,placement,middlewareData:{}}),[latestMiddleware,setLatestMiddleware]=react.useState(middleware);deepEqual(latestMiddleware?.map(_ref=>{let{options}=_ref;return options}),middleware?.map(_ref2=>{let{options}=_ref2;return options}))||setLatestMiddleware(middleware);const update=react.useCallback(()=>{!reference.current||!floating.current||z(reference.current,floating.current,{middleware:latestMiddleware,placement,strategy}).then(data2=>{isMountedRef.current&&react_dom.flushSync(()=>{setData(data2)})})},[latestMiddleware,placement,strategy]);index(()=>{isMountedRef.current&&update()},[update]);const isMountedRef=react.useRef(!1);index(()=>(isMountedRef.current=!0,()=>{isMountedRef.current=!1}),[]);const runElementMountCallback=react.useCallback(()=>{if(typeof cleanupRef.current=="function"&&(cleanupRef.current(),cleanupRef.current=null),reference.current&&floating.current)if(whileElementsMountedRef.current){const cleanupFn=whileElementsMountedRef.current(reference.current,floating.current,update);cleanupRef.current=cleanupFn}else update()},[update,whileElementsMountedRef]),setReference=react.useCallback(node=>{reference.current=node,runElementMountCallback()},[runElementMountCallback]),setFloating=react.useCallback(node=>{floating.current=node,runElementMountCallback()},[runElementMountCallback]),refs=react.useMemo(()=>({reference,floating}),[]);return react.useMemo(()=>({...data,update,refs,reference:setReference,floating:setFloating}),[data,update,refs,setReference,setFloating])}const arrow=options=>{const{element,padding}=options;function isRef(value2){return Object.prototype.hasOwnProperty.call(value2,"current")}return{name:"arrow",options,fn(args){return isRef(element)?element.current!=null?m({element:element.current,padding}).fn(args):{}:element?m({element,padding}).fn(args):{}}}}},74511:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{fi:()=>popper_createPopper});function getWindow(node){if(node==null)return window;if(node.toString()!=="[object Window]"){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function isElement(node){var OwnElement=getWindow(node).Element;return node instanceof OwnElement||node instanceof Element}function isHTMLElement(node){var OwnElement=getWindow(node).HTMLElement;return node instanceof OwnElement||node instanceof HTMLElement}function isShadowRoot(node){if(typeof ShadowRoot>"u")return!1;var OwnElement=getWindow(node).ShadowRoot;return node instanceof OwnElement||node instanceof ShadowRoot}var math_max=Math.max,math_min=Math.min,round=Math.round;function getUAString(){var uaData=navigator.userAgentData;return uaData!=null&&uaData.brands?uaData.brands.map(function(item){return item.brand+"/"+item.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(element,includeScale,isFixedStrategy){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);var clientRect=element.getBoundingClientRect(),scaleX=1,scaleY=1;includeScale&&isHTMLElement(element)&&(scaleX=element.offsetWidth>0&&round(clientRect.width)/element.offsetWidth||1,scaleY=element.offsetHeight>0&&round(clientRect.height)/element.offsetHeight||1);var _ref=isElement(element)?getWindow(element):window,visualViewport=_ref.visualViewport,addVisualOffsets=!isLayoutViewport()&&isFixedStrategy,x=(clientRect.left+(addVisualOffsets&&visualViewport?visualViewport.offsetLeft:0))/scaleX,y=(clientRect.top+(addVisualOffsets&&visualViewport?visualViewport.offsetTop:0))/scaleY,width=clientRect.width/scaleX,height=clientRect.height/scaleY;return{width,height,top:y,right:x+width,bottom:y+height,left:x,x,y}}function getWindowScroll(node){var win=getWindow(node),scrollLeft=win.pageXOffset,scrollTop=win.pageYOffset;return{scrollLeft,scrollTop}}function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}function getNodeScroll(node){return node===getWindow(node)||!isHTMLElement(node)?getWindowScroll(node):getHTMLElementScroll(node)}function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getComputedStyle2(element){return getWindow(element).getComputedStyle(element)}function isScrollParent(element){var _getComputedStyle=getComputedStyle2(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function isElementScaled(element){var rect=element.getBoundingClientRect(),scaleX=round(rect.width)/element.offsetWidth||1,scaleY=round(rect.height)/element.offsetHeight||1;return scaleX!==1||scaleY!==1}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){isFixed===void 0&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&isElementScaled(offsetParent),documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled,isFixed),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!=="body"||isScrollParent(documentElement))&&(scroll=getNodeScroll(offsetParent)),isHTMLElement(offsetParent)?(offsets=getBoundingClientRect(offsetParent,!0),offsets.x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width,height}}function getParentNode(element){return getNodeName(element)==="html"?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}function listScrollParents(element,list){var _element$ownerDocumen;list===void 0&&(list=[]);var scrollParent=getScrollParent(element),isBody=scrollParent===((_element$ownerDocumen=element.ownerDocument)==null?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getTrueOffsetParent(element){return!isHTMLElement(element)||getComputedStyle2(element).position==="fixed"?null:element.offsetParent}function getContainingBlock(element){var isFirefox=/firefox/i.test(getUAString()),isIE=/Trident/i.test(getUAString());if(isIE&&isHTMLElement(element)){var elementCss=getComputedStyle2(element);if(elementCss.position==="fixed")return null}var currentNode=getParentNode(element);for(isShadowRoot(currentNode)&&(currentNode=currentNode.host);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle2(currentNode);if(css.transform!=="none"||css.perspective!=="none"||css.contain==="paint"||["transform","perspective"].indexOf(css.willChange)!==-1||isFirefox&&css.willChange==="filter"||isFirefox&&css.filter&&css.filter!=="none")return currentNode;currentNode=currentNode.parentNode}return null}function getOffsetParent(element){for(var window2=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&getComputedStyle2(offsetParent).position==="static";)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&(getNodeName(offsetParent)==="html"||getNodeName(offsetParent)==="body"&&getComputedStyle2(offsetParent).position==="static")?window2:offsetParent||getContainingBlock(element)||window2}var enums_top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[enums_top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(acc,placement){return acc.concat([placement+"-"+start,placement+"-"+end])},[]),enums_placements=[].concat(basePlacements,[auto]).reduce(function(acc,placement){return acc.concat([placement,placement+"-"+start,placement+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function order(modifiers){var map=new Map,visited=new Set,result=[];modifiers.forEach(function(modifier){map.set(modifier.name,modifier)});function sort(modifier){visited.add(modifier.name);var requires=[].concat(modifier.requires||[],modifier.requiresIfExists||[]);requires.forEach(function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}}),result.push(modifier)}return modifiers.forEach(function(modifier){visited.has(modifier.name)||sort(modifier)}),result}function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce(function(acc,phase){return acc.concat(orderedModifiers.filter(function(modifier){return modifier.phase===phase}))},[])}function debounce(fn){var pending;return function(){return pending||(pending=new Promise(function(resolve){Promise.resolve().then(function(){pending=void 0,resolve(fn())})})),pending}}function mergeByName(modifiers){var merged=modifiers.reduce(function(merged2,current){var existing=merged2[current.name];return merged2[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged2},{});return Object.keys(merged).map(function(key){return merged[key]})}var INVALID_ELEMENT_ERROR="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",INFINITE_LOOP_ERROR="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some(function(element){return!(element&&typeof element.getBoundingClientRect=="function")})}function popperGenerator(generatorOptions){generatorOptions===void 0&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers2=_generatorOptions$def===void 0?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=_generatorOptions$def2===void 0?DEFAULT_OPTIONS:_generatorOptions$def2;return function(reference2,popper2,options){options===void 0&&(options=defaultOptions);var state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference2,popper:popper2},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state,setOptions:function(setOptionsAction){var options2=typeof setOptionsAction=="function"?setOptionsAction(state.options):setOptionsAction;cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options2),state.scrollParents={reference:isElement(reference2)?listScrollParents(reference2):reference2.contextElement?listScrollParents(reference2.contextElement):[],popper:listScrollParents(popper2)};var orderedModifiers=orderModifiers(mergeByName([].concat(defaultModifiers2,state.options.modifiers)));if(state.orderedModifiers=orderedModifiers.filter(function(m){return m.enabled}),!1)var _getComputedStyle,marginTop,marginRight,marginBottom,marginLeft,flipModifier,modifiers;return runModifierEffects(),instance.update()},forceUpdate:function(){if(!isDestroyed){var _state$elements=state.elements,reference3=_state$elements.reference,popper3=_state$elements.popper;if(!!areValidElements(reference3,popper3)){state.rects={reference:getCompositeRect(reference3,getOffsetParent(popper3),state.options.strategy==="fixed"),popper:getLayoutRect(popper3)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach(function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)});for(var __debug_loops__=0,index=0;index<state.orderedModifiers.length;index++){if(state.reset===!0){state.reset=!1,index=-1;continue}var _state$orderedModifie=state.orderedModifiers[index],fn=_state$orderedModifie.fn,_state$orderedModifie2=_state$orderedModifie.options,_options=_state$orderedModifie2===void 0?{}:_state$orderedModifie2,name=_state$orderedModifie.name;typeof fn=="function"&&(state=fn({state,options:_options,name,instance})||state)}}}},update:debounce(function(){return new Promise(function(resolve){instance.forceUpdate(),resolve(state)})}),destroy:function(){cleanupModifierEffects(),isDestroyed=!0}};if(!areValidElements(reference2,popper2))return instance;instance.setOptions(options).then(function(state2){!isDestroyed&&options.onFirstUpdate&&options.onFirstUpdate(state2)});function runModifierEffects(){state.orderedModifiers.forEach(function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options2=_ref3$options===void 0?{}:_ref3$options,effect2=_ref3.effect;if(typeof effect2=="function"){var cleanupFn=effect2({state,name,instance,options:options2}),noopFn=function(){};effectCleanupFns.push(cleanupFn||noopFn)}})}function cleanupModifierEffects(){effectCleanupFns.forEach(function(fn){return fn()}),effectCleanupFns=[]}return instance}}var createPopper=null,passive={passive:!0};function effect(_ref){var state=_ref.state,instance=_ref.instance,options=_ref.options,_options$scroll=options.scroll,scroll=_options$scroll===void 0?!0:_options$scroll,_options$resize=options.resize,resize=_options$resize===void 0?!0:_options$resize,window2=getWindow(state.elements.popper),scrollParents=[].concat(state.scrollParents.reference,state.scrollParents.popper);return scroll&&scrollParents.forEach(function(scrollParent){scrollParent.addEventListener("scroll",instance.update,passive)}),resize&&window2.addEventListener("resize",instance.update,passive),function(){scroll&&scrollParents.forEach(function(scrollParent){scrollParent.removeEventListener("scroll",instance.update,passive)}),resize&&window2.removeEventListener("resize",instance.update,passive)}}const eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect,data:{}};function getBasePlacement(placement){return placement.split("-")[0]}function getVariation(placement){return placement.split("-")[1]}function getMainAxisFromPlacement(placement){return["top","bottom"].indexOf(placement)>=0?"x":"y"}function computeOffsets(_ref){var reference2=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference2.x+reference2.width/2-element.width/2,commonY=reference2.y+reference2.height/2-element.height/2,offsets;switch(basePlacement){case enums_top:offsets={x:commonX,y:reference2.y-element.height};break;case bottom:offsets={x:commonX,y:reference2.y+reference2.height};break;case right:offsets={x:reference2.x+reference2.width,y:commonY};break;case left:offsets={x:reference2.x-element.width,y:commonY};break;default:offsets={x:reference2.x,y:reference2.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(mainAxis!=null){var len=mainAxis==="y"?"height":"width";switch(variation){case start:offsets[mainAxis]=offsets[mainAxis]-(reference2[len]/2-element[len]/2);break;case end:offsets[mainAxis]=offsets[mainAxis]+(reference2[len]/2-element[len]/2);break;default:}}return offsets}function popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})}const modifiers_popperOffsets={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}};var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,win=window,dpr=win.devicePixelRatio||1;return{x:round(x*dpr)/dpr||0,y:round(y*dpr)/dpr||0}}function mapToStyles(_ref2){var _Object$assign2,popper2=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,variation=_ref2.variation,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,isFixed=_ref2.isFixed,_offsets$x=offsets.x,x=_offsets$x===void 0?0:_offsets$x,_offsets$y=offsets.y,y=_offsets$y===void 0?0:_offsets$y,_ref3=typeof roundOffsets=="function"?roundOffsets({x,y}):{x,y};x=_ref3.x,y=_ref3.y;var hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=enums_top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper2),heightProp="clientHeight",widthProp="clientWidth";if(offsetParent===getWindow(popper2)&&(offsetParent=getDocumentElement(popper2),getComputedStyle2(offsetParent).position!=="static"&&position==="absolute"&&(heightProp="scrollHeight",widthProp="scrollWidth")),offsetParent=offsetParent,placement===enums_top||(placement===left||placement===right)&&variation===end){sideY=bottom;var offsetY=isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.height:offsetParent[heightProp];y-=offsetY-popperRect.height,y*=gpuAcceleration?1:-1}if(placement===left||(placement===enums_top||placement===bottom)&&variation===end){sideX=right;var offsetX=isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.width:offsetParent[widthProp];x-=offsetX-popperRect.width,x*=gpuAcceleration?1:-1}}var commonStyles=Object.assign({position},adaptive&&unsetSides),_ref4=roundOffsets===!0?roundOffsetsByDPR({x,y}):{x,y};if(x=_ref4.x,y=_ref4.y,gpuAcceleration){var _Object$assign;return Object.assign({},commonStyles,(_Object$assign={},_Object$assign[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<=1?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign))}return Object.assign({},commonStyles,(_Object$assign2={},_Object$assign2[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}function computeStyles(_ref5){var state=_ref5.state,options=_ref5.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=_options$gpuAccelerat===void 0?!0:_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=_options$adaptive===void 0?!0:_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=_options$roundOffsets===void 0?!0:_options$roundOffsets;if(!1)var transitionProperty;var commonStyles={placement:getBasePlacement(state.placement),variation:getVariation(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration,isFixed:state.options.strategy==="fixed"};state.modifiersData.popperOffsets!=null&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive,roundOffsets})))),state.modifiersData.arrow!=null&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})}const modifiers_computeStyles={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach(function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];!isHTMLElement(element)||!getNodeName(element)||(Object.assign(element.style,style),Object.keys(attributes).forEach(function(name2){var value2=attributes[name2];value2===!1?element.removeAttribute(name2):element.setAttribute(name2,value2===!0?"":value2)}))})}function applyStyles_effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach(function(name){var element=state.elements[name],attributes=state.attributes[name]||{},styleProperties=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]),style=styleProperties.reduce(function(style2,property){return style2[property]="",style2},{});!isHTMLElement(element)||!getNodeName(element)||(Object.assign(element.style,style),Object.keys(attributes).forEach(function(attribute){element.removeAttribute(attribute)}))})}}const modifiers_applyStyles={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:applyStyles_effect,requires:["computeStyles"]};function distanceAndSkiddingToXY(placement,rects,offset2){var basePlacement=getBasePlacement(placement),invertDistance=[left,enums_top].indexOf(basePlacement)>=0?-1:1,_ref=typeof offset2=="function"?offset2(Object.assign({},rects,{placement})):offset2,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}function offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset2=_options$offset===void 0?[0,0]:_options$offset,data=enums_placements.reduce(function(acc,placement){return acc[placement]=distanceAndSkiddingToXY(placement,state.rects,offset2),acc},{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;state.modifiersData.popperOffsets!=null&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}const modifiers_offset={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset};var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,function(matched){return hash[matched]})}var getOppositeVariationPlacement_hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,function(matched){return getOppositeVariationPlacement_hash[matched]})}function getViewportRect(element,strategy){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;if(visualViewport){width=visualViewport.width,height=visualViewport.height;var layoutViewport=isLayoutViewport();(layoutViewport||!layoutViewport&&strategy==="fixed")&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}return{width,height,x:x+getWindowScrollBarX(element),y}}function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=(_element$ownerDocumen=element.ownerDocument)==null?void 0:_element$ownerDocumen.body,width=math_max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=math_max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return getComputedStyle2(body||html).direction==="rtl"&&(x+=math_max(html.clientWidth,body?body.clientWidth:0)-width),{width,height,x,y}}function contains(parent2,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent2.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent2.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getInnerBoundingClientRect(element,strategy){var rect=getBoundingClientRect(element,!1,strategy==="fixed");return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}function getClientRectFromMixedType(element,clippingParent,strategy){return clippingParent===viewport?rectToClientRect(getViewportRect(element,strategy)):isElement(clippingParent)?getInnerBoundingClientRect(clippingParent,strategy):rectToClientRect(getDocumentRect(getDocumentElement(element)))}function getClippingParents(element){var clippingParents2=listScrollParents(getParentNode(element)),canEscapeClipping=["absolute","fixed"].indexOf(getComputedStyle2(element).position)>=0,clipperElement=canEscapeClipping&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents2.filter(function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&getNodeName(clippingParent)!=="body"}):[]}function getClippingRect(element,boundary,rootBoundary,strategy){var mainClippingParents=boundary==="clippingParents"?getClippingParents(element):[].concat(boundary),clippingParents2=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents2[0],clippingRect=clippingParents2.reduce(function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent,strategy);return accRect.top=math_max(rect.top,accRect.top),accRect.right=math_min(rect.right,accRect.right),accRect.bottom=math_min(rect.bottom,accRect.bottom),accRect.left=math_max(rect.left,accRect.left),accRect},getClientRectFromMixedType(element,firstClippingParent,strategy));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(paddingObject){return Object.assign({},getFreshSideObject(),paddingObject)}function expandToHashMap(value2,keys){return keys.reduce(function(hashMap,key){return hashMap[key]=value2,hashMap},{})}function detectOverflow(state,options){options===void 0&&(options={});var _options=options,_options$placement=_options.placement,placement=_options$placement===void 0?state.placement:_options$placement,_options$strategy=_options.strategy,strategy=_options$strategy===void 0?state.strategy:_options$strategy,_options$boundary=_options.boundary,boundary=_options$boundary===void 0?clippingParents:_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=_options$rootBoundary===void 0?viewport:_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=_options$elementConte===void 0?popper:_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=_options$altBoundary===void 0?!1:_options$altBoundary,_options$padding=_options.padding,padding=_options$padding===void 0?0:_options$padding,paddingObject=mergePaddingObject(typeof padding!="number"?padding:expandToHashMap(padding,basePlacements)),altContext=elementContext===popper?reference:popper,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary,strategy),referenceClientRect=getBoundingClientRect(state.elements.reference),popperOffsets2=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets2)),elementClientRect=elementContext===popper?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if(elementContext===popper&&offsetData){var offset2=offsetData[placement];Object.keys(overflowOffsets).forEach(function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[enums_top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset2[axis]*multiply})}return overflowOffsets}function computeAutoPlacement(state,options){options===void 0&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=_options$allowedAutoP===void 0?enums_placements:_options$allowedAutoP,variation=getVariation(placement),placements=variation?flipVariations?variationPlacements:variationPlacements.filter(function(placement2){return getVariation(placement2)===variation}):basePlacements,allowedPlacements=placements.filter(function(placement2){return allowedAutoPlacements.indexOf(placement2)>=0});allowedPlacements.length===0&&(allowedPlacements=placements);var overflows=allowedPlacements.reduce(function(acc,placement2){return acc[placement2]=detectOverflow(state,{placement:placement2,boundary,rootBoundary,padding})[getBasePlacement(placement2)],acc},{});return Object.keys(overflows).sort(function(a,b){return overflows[a]-overflows[b]})}function getExpandedFallbackPlacements(placement){if(getBasePlacement(placement)===auto)return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=_options$mainAxis===void 0?!0:_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=_options$altAxis===void 0?!0:_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=_options$flipVariatio===void 0?!0:_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),isBasePlacement=basePlacement===preferredPlacement,fallbackPlacements=specifiedFallbackPlacements||(isBasePlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:getExpandedFallbackPlacements(preferredPlacement)),placements=[preferredPlacement].concat(fallbackPlacements).reduce(function(acc,placement2){return acc.concat(getBasePlacement(placement2)===auto?computeAutoPlacement(state,{placement:placement2,boundary,rootBoundary,padding,flipVariations,allowedAutoPlacements}):placement2)},[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i<placements.length;i++){var placement=placements[i],_basePlacement=getBasePlacement(placement),isStartVariation=getVariation(placement)===start,isVertical=[enums_top,bottom].indexOf(_basePlacement)>=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement,boundary,rootBoundary,altBoundary,padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:enums_top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every(function(check){return check})){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var numberOfChecks=flipVariations?3:1,_loop=function(_i2){var fittingPlacement=placements.find(function(placement2){var checks2=checksMap.get(placement2);if(checks2)return checks2.slice(0,_i2).every(function(check){return check})});if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=numberOfChecks;_i>0;_i--){var _ret=_loop(_i);if(_ret==="break")break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}}const modifiers_flip={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function getAltAxis(axis){return axis==="x"?"y":"x"}function within(min,value2,max){return math_max(min,math_min(value2,max))}function withinMaxClamp(min,value2,max){var v=within(min,value2,max);return v>max?max:v}function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=_options$mainAxis===void 0?!0:_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=_options$altAxis===void 0?!1:_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=_options$tether===void 0?!0:_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=_options$tetherOffset===void 0?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary,rootBoundary,padding,altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=getAltAxis(mainAxis),popperOffsets2=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue=typeof tetherOffset=="function"?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,normalizedTetherOffsetValue=typeof tetherOffsetValue=="number"?{mainAxis:tetherOffsetValue,altAxis:tetherOffsetValue}:Object.assign({mainAxis:0,altAxis:0},tetherOffsetValue),offsetModifierState=state.modifiersData.offset?state.modifiersData.offset[state.placement]:null,data={x:0,y:0};if(!!popperOffsets2){if(checkMainAxis){var _offsetModifierState$,mainSide=mainAxis==="y"?enums_top:left,altSide=mainAxis==="y"?bottom:right,len=mainAxis==="y"?"height":"width",offset2=popperOffsets2[mainAxis],min=offset2+overflow[mainSide],max=offset2-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen=variation===start?referenceRect[len]:popperRect[len],maxLen=variation===start?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:getFreshSideObject(),arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis:minLen-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis:maxLen+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?mainAxis==="y"?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=(_offsetModifierState$=offsetModifierState?.[mainAxis])!=null?_offsetModifierState$:0,tetherMin=offset2+minOffset-offsetModifierValue-clientOffset,tetherMax=offset2+maxOffset-offsetModifierValue,preventedOffset=within(tether?math_min(min,tetherMin):min,offset2,tether?math_max(max,tetherMax):max);popperOffsets2[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset2}if(checkAltAxis){var _offsetModifierState$2,_mainSide=mainAxis==="x"?enums_top:left,_altSide=mainAxis==="x"?bottom:right,_offset=popperOffsets2[altAxis],_len=altAxis==="y"?"height":"width",_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],isOriginSide=[enums_top,left].indexOf(basePlacement)!==-1,_offsetModifierValue=(_offsetModifierState$2=offsetModifierState?.[altAxis])!=null?_offsetModifierState$2:0,_tetherMin=isOriginSide?_min:_offset-referenceRect[_len]-popperRect[_len]-_offsetModifierValue+normalizedTetherOffsetValue.altAxis,_tetherMax=isOriginSide?_offset+referenceRect[_len]+popperRect[_len]-_offsetModifierValue-normalizedTetherOffsetValue.altAxis:_max,_preventedOffset=tether&&isOriginSide?withinMaxClamp(_tetherMin,_offset,_tetherMax):within(tether?_tetherMin:_min,_offset,tether?_tetherMax:_max);popperOffsets2[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}state.modifiersData[name]=data}}const modifiers_preventOverflow={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};var toPaddingObject=function(padding,state){return padding=typeof padding=="function"?padding(Object.assign({},state.rects,{placement:state.placement})):padding,mergePaddingObject(typeof padding!="number"?padding:expandToHashMap(padding,basePlacements))};function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets2=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),isVertical=[left,right].indexOf(basePlacement)>=0,len=isVertical?"height":"width";if(!(!arrowElement||!popperOffsets2)){var paddingObject=toPaddingObject(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp=axis==="y"?enums_top:left,maxProp=axis==="y"?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets2[axis]-state.rects.popper[len],startDiff=popperOffsets2[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?axis==="y"?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset2=within(min,center,max),axisProp=axis;state.modifiersData[name]=(_state$modifiersData$={},_state$modifiersData$[axisProp]=offset2,_state$modifiersData$.centerOffset=offset2-center,_state$modifiersData$)}}function arrow_effect(_ref2){var state=_ref2.state,options=_ref2.options,_options$element=options.element,arrowElement=_options$element===void 0?"[data-popper-arrow]":_options$element;arrowElement!=null&&(typeof arrowElement=="string"&&(arrowElement=state.elements.popper.querySelector(arrowElement),!arrowElement)||!contains(state.elements.popper,arrowElement)||(state.elements.arrow=arrowElement))}const modifiers_arrow={name:"arrow",enabled:!0,phase:"main",fn:arrow,effect:arrow_effect,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getSideOffsets(overflow,rect,preventedOffsets){return preventedOffsets===void 0&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[enums_top,right,bottom,left].some(function(side){return overflow[side]>=0})}function hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets,popperEscapeOffsets,isReferenceHidden,hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}var defaultModifiers=[eventListeners,modifiers_popperOffsets,modifiers_computeStyles,modifiers_applyStyles,modifiers_offset,modifiers_flip,modifiers_preventOverflow,modifiers_arrow,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hide}],popper_createPopper=popperGenerator({defaultModifiers})},99820:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(67294);function usePrevious(value2,initialValue){const storedValue=react__WEBPACK_IMPORTED_MODULE_0__.useRef(initialValue);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(()=>{storedValue.current=value2},[value2]),storedValue.current}const __WEBPACK_DEFAULT_EXPORT__=usePrevious},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,value2){return'The value "'+String(value2)+'" is invalid for option "'+name+'"'}),E("ERR_INVALID_OPT_VALUE_ENCODING",function(value2){return'The value "'+String(value2)+'" 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,parent2,name){var _this=_super.call(this)||this;return _this.children={},_this.steps=[],_this.ino=0,_this.length=0,_this.vol=vol,_this.parent=parent2,_this.steps=parent2?parent2.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(parent2,name,isDirectory,perm){if(isDirectory===void 0&&(isDirectory=!1),!parent2)return new this.props.Link(this,null,"");if(!name)throw new Error("createLink: name cannot be empty");return parent2.createChild(name,this.createNode(isDirectory,perm))},Volume2.prototype.deleteLink=function(link){var parent2=link.parent;return parent2?(parent2.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©FILE_EXCL&&this.existsSync(dest))throw createError(EEXIST,"copyFile",src,dest);if(flags©FILE_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 parent2=this._link.parent;parent2&&(parent2.setMaxListeners(parent2.getMaxListeners()+1),parent2.on("child:delete",this._onParentChild)),persistent&&this._persist()},FSWatcher2.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var parent2=this._link.parent;parent2&&parent2.removeListener("child:delete",this._onParentChild)},FSWatcher2}(events_1.EventEmitter);exports.FSWatcher=FSWatcher},82011:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useKey1dNav=exports.use1dNav=void 0;var use_1d_nav_1=__webpack_require__(65923);Object.defineProperty(exports,"use1dNav",{enumerable:!0,get:function(){return use_1d_nav_1.use1dNav}});var use_key_1d_nav_1=__webpack_require__(7639);Object.defineProperty(exports,"useKey1dNav",{enumerable:!0,get:function(){return use_key_1d_nav_1.useKey1dNav}})},65923:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.use1dNav=void 0;const react_1=__webpack_require__(67294),MIN_IDX=0;function use1dNav(length,startIdx=0){const[activeIdx,setActive]=(0,react_1.useState)(startIdx),increment=(0,react_1.useCallback)(()=>setActive(x=>Math.min(x+1,length-1)),[length]),decrement=(0,react_1.useCallback)(()=>setActive(x=>Math.max(x-1,MIN_IDX)),[]),reset=(0,react_1.useCallback)((nextIndex=startIdx)=>setActive(nextIndex),[startIdx]),isActive=(0,react_1.useCallback)(index=>index===activeIdx,[activeIdx]);return{activeIdx,isActive,increment,decrement,reset}}exports.use1dNav=use1dNav},7639:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useKeyHandler=exports.useKey1dNav=void 0;const react_1=__webpack_require__(67294);function useKey1dNav(forwardCallback,nav,direction="vertical",additionalHandlers){const keyHandlers=(0,react_1.useMemo)(()=>{const vertical={ArrowDown:nav.increment,ArrowUp:nav.decrement},horizontal={ArrowRight:nav.increment,ArrowLeft:nav.decrement};return Object.assign(Object.assign(Object.assign({},direction==="vertical"&&vertical),direction==="horizontal"&&horizontal),additionalHandlers)},[nav.increment,nav.decrement,direction,additionalHandlers]);return useKeyHandler(forwardCallback,keyHandlers)}exports.useKey1dNav=useKey1dNav;function useKeyHandler(forwardCallback,keyHandlers){const handlersRef=(0,react_1.useRef)(keyHandlers);return handlersRef.current=keyHandlers,(0,react_1.useCallback)(e=>{if(forwardCallback?.(e),e.defaultPrevented)return;const callback=handlersRef.current[e.key];!callback||(e.preventDefault(),callback(e))},[forwardCallback])}exports.useKeyHandler=useKeyHandler},11389:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CancelablePromise=exports.PromiseCanceledError=void 0;class PromiseCanceledError extends Error{constructor(){super("Promise was canceled")}}exports.PromiseCanceledError=PromiseCanceledError;class CancelablePromise{constructor(_promise){this._promise=_promise,this.race=Promise.race([this._promise,new Promise((_,reject)=>{this.reject=reject})])}get promise(){return this.race}cancel(){this.reject(new PromiseCanceledError)}}exports.CancelablePromise=CancelablePromise},76549:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PromiseCanceledError=exports.useQueuedExecution=void 0;var use_queued_execution_1=__webpack_require__(10180);Object.defineProperty(exports,"useQueuedExecution",{enumerable:!0,get:function(){return use_queued_execution_1.useQueuedExecution}}),Object.defineProperty(exports,"PromiseCanceledError",{enumerable:!0,get:function(){return use_queued_execution_1.PromiseCanceledError}})},10180:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueuedExecution=exports.PromiseCanceledError=void 0;const react_1=__webpack_require__(67294),cancelable_promise_1=__webpack_require__(11389);var cancelable_promise_2=__webpack_require__(11389);Object.defineProperty(exports,"PromiseCanceledError",{enumerable:!0,get:function(){return cancelable_promise_2.PromiseCanceledError}});function useQueuedExecution(func){const pendingRef=(0,react_1.useRef)(void 0);return(0,react_1.useCallback)((...args)=>{pendingRef.current&&(pendingRef.current.cancel(),pendingRef.current=void 0);const result=func(...args);if("then"in result){const cancelable=new cancelable_promise_1.CancelablePromise(result);return pendingRef.current=cancelable,cancelable.promise}return result},[func])}exports.useQueuedExecution=useQueuedExecution},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([[233],{59713:module=>{function _defineProperty(obj,key,value2){return key in obj?Object.defineProperty(obj,key,{value:value2,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value2,obj}module.exports=_defineProperty},67154:module=>{function _extends(){return module.exports=_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}module.exports=_extends},95318:module=>{function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}module.exports=_interopRequireDefault},60693:(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__(59713);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?Object(arguments[i]):{},ownKeys=Object.keys(source);typeof Object.getOwnPropertySymbols=="function"&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){defineProperty(target,key,source[key])})}return target}module.exports=_objectSpread},6479:(module,__unused_webpack_exports,__webpack_require__)=>{var objectWithoutPropertiesLoose=__webpack_require__(37316);function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],!(excluded.indexOf(key)>=0)&&(!Object.prototype.propertyIsEnumerable.call(source,key)||(target[key]=source[key]))}return target}module.exports=_objectWithoutProperties},37316:module=>{function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i;for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],!(excluded.indexOf(key)>=0)&&(target[key]=source[key]);return target}module.exports=_objectWithoutPropertiesLoose},36728:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{arrow:()=>arrow,autoPlacement:()=>v,autoUpdate:()=>N,computePosition:()=>z,detectOverflow:()=>s,flip:()=>b,getOverflowAncestors:()=>H,hide:()=>P,inline:()=>E,limitShift:()=>L,offset:()=>T,shift:()=>D,size:()=>k,useFloating:()=>useFloating});function t(t2){return t2.split("-")[0]}function e(t2){return t2.split("-")[1]}function n(e2){return["top","bottom"].includes(t(e2))?"x":"y"}function r(t2){return t2==="y"?"height":"width"}function i(i2,o2,a2){let{reference:l2,floating:s2}=i2;const c2=l2.x+l2.width/2-s2.width/2,f2=l2.y+l2.height/2-s2.height/2,u2=n(o2),m2=r(u2),g2=l2[m2]/2-s2[m2]/2,d2=u2==="x";let p2;switch(t(o2)){case"top":p2={x:c2,y:l2.y-s2.height};break;case"bottom":p2={x:c2,y:l2.y+l2.height};break;case"right":p2={x:l2.x+l2.width,y:f2};break;case"left":p2={x:l2.x-s2.width,y:f2};break;default:p2={x:l2.x,y:l2.y}}switch(e(o2)){case"start":p2[u2]-=g2*(a2&&d2?-1:1);break;case"end":p2[u2]+=g2*(a2&&d2?-1:1)}return p2}const floating_ui_core_browser_min_o=async(t2,e2,n2)=>{const{placement:r2="bottom",strategy:o2="absolute",middleware:a2=[],platform:l2}=n2,s2=await(l2.isRTL==null?void 0:l2.isRTL(e2));let c2=await l2.getElementRects({reference:t2,floating:e2,strategy:o2}),{x:f2,y:u2}=i(c2,r2,s2),m2=r2,g2={},d2=0;for(let n3=0;n3<a2.length;n3++){const{name:p2,fn:h2}=a2[n3],{x:y2,y:x2,data:w2,reset:v2}=await h2({x:f2,y:u2,initialPlacement:r2,placement:m2,strategy:o2,middlewareData:g2,rects:c2,platform:l2,elements:{reference:t2,floating:e2}});f2=y2??f2,u2=x2??u2,g2={...g2,[p2]:{...g2[p2],...w2}},v2&&d2<=50&&(d2++,typeof v2=="object"&&(v2.placement&&(m2=v2.placement),v2.rects&&(c2=v2.rects===!0?await l2.getElementRects({reference:t2,floating:e2,strategy:o2}):v2.rects),{x:f2,y:u2}=i(c2,m2,s2)),n3=-1)}return{x:f2,y:u2,placement:m2,strategy:o2,middlewareData:g2}};function a(t2){return typeof t2!="number"?function(t3){return{top:0,right:0,bottom:0,left:0,...t3}}(t2):{top:t2,right:t2,bottom:t2,left:t2}}function l(t2){return{...t2,top:t2.y,left:t2.x,right:t2.x+t2.width,bottom:t2.y+t2.height}}async function s(t2,e2){var n2;e2===void 0&&(e2={});const{x:r2,y:i2,platform:o2,rects:s2,elements:c2,strategy:f2}=t2,{boundary:u2="clippingAncestors",rootBoundary:m2="viewport",elementContext:g2="floating",altBoundary:d2=!1,padding:p2=0}=e2,h2=a(p2),y2=c2[d2?g2==="floating"?"reference":"floating":g2],x2=l(await o2.getClippingRect({element:(n2=await(o2.isElement==null?void 0:o2.isElement(y2)))==null||n2?y2:y2.contextElement||await(o2.getDocumentElement==null?void 0:o2.getDocumentElement(c2.floating)),boundary:u2,rootBoundary:m2,strategy:f2})),w2=l(o2.convertOffsetParentRelativeRectToViewportRelativeRect?await o2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:g2==="floating"?{...s2.floating,x:r2,y:i2}:s2.reference,offsetParent:await(o2.getOffsetParent==null?void 0:o2.getOffsetParent(c2.floating)),strategy:f2}):s2[g2]);return{top:x2.top-w2.top+h2.top,bottom:w2.bottom-x2.bottom+h2.bottom,left:x2.left-w2.left+h2.left,right:w2.right-x2.right+h2.right}}const c=Math.min,f=Math.max;function u(t2,e2,n2){return f(t2,c(e2,n2))}const m=t2=>({name:"arrow",options:t2,async fn(i2){const{element:o2,padding:l2=0}=t2??{},{x:s2,y:c2,placement:f2,rects:m2,platform:g2}=i2;if(o2==null)return{};const d2=a(l2),p2={x:s2,y:c2},h2=n(f2),y2=e(f2),x2=r(h2),w2=await g2.getDimensions(o2),v2=h2==="y"?"top":"left",b2=h2==="y"?"bottom":"right",R2=m2.reference[x2]+m2.reference[h2]-p2[h2]-m2.floating[x2],A2=p2[h2]-m2.reference[h2],P2=await(g2.getOffsetParent==null?void 0:g2.getOffsetParent(o2));let T2=P2?h2==="y"?P2.clientHeight||0:P2.clientWidth||0:0;T2===0&&(T2=m2.floating[x2]);const O2=R2/2-A2/2,D2=d2[v2],L2=T2-w2[x2]-d2[b2],k2=T2/2-w2[x2]/2+O2,E2=u(D2,k2,L2),C2=(y2==="start"?d2[v2]:d2[b2])>0&&k2!==E2&&m2.reference[x2]<=m2.floating[x2];return{[h2]:p2[h2]-(C2?k2<D2?D2-k2:L2-k2:0),data:{[h2]:E2,centerOffset:k2-E2}}}}),g={left:"right",right:"left",bottom:"top",top:"bottom"};function d(t2){return t2.replace(/left|right|bottom|top/g,t3=>g[t3])}function p(t2,i2,o2){o2===void 0&&(o2=!1);const a2=e(t2),l2=n(t2),s2=r(l2);let c2=l2==="x"?a2===(o2?"end":"start")?"right":"left":a2==="start"?"bottom":"top";return i2.reference[s2]>i2.floating[s2]&&(c2=d(c2)),{main:c2,cross:d(c2)}}const h={start:"end",end:"start"};function y(t2){return t2.replace(/start|end/g,t3=>h[t3])}const x=["top","right","bottom","left"],w=x.reduce((t2,e2)=>t2.concat(e2,e2+"-start",e2+"-end"),[]),v=function(n2){return n2===void 0&&(n2={}),{name:"autoPlacement",options:n2,async fn(r2){var i2,o2,a2,l2,c2;const{x:f2,y:u2,rects:m2,middlewareData:g2,placement:d2,platform:h2,elements:x2}=r2,{alignment:v2=null,allowedPlacements:b2=w,autoAlignment:R2=!0,...A2}=n2,P2=function(n3,r3,i3){return(n3?[...i3.filter(t2=>e(t2)===n3),...i3.filter(t2=>e(t2)!==n3)]:i3.filter(e2=>t(e2)===e2)).filter(t2=>!n3||e(t2)===n3||!!r3&&y(t2)!==t2)}(v2,R2,b2),T2=await s(r2,A2),O2=(i2=(o2=g2.autoPlacement)==null?void 0:o2.index)!=null?i2:0,D2=P2[O2];if(D2==null)return{};const{main:L2,cross:k2}=p(D2,m2,await(h2.isRTL==null?void 0:h2.isRTL(x2.floating)));if(d2!==D2)return{x:f2,y:u2,reset:{placement:P2[0]}};const E2=[T2[t(D2)],T2[L2],T2[k2]],C2=[...(a2=(l2=g2.autoPlacement)==null?void 0:l2.overflows)!=null?a2:[],{placement:D2,overflows:E2}],H2=P2[O2+1];if(H2)return{data:{index:O2+1,overflows:C2},reset:{placement:H2}};const B=C2.slice().sort((t2,e2)=>t2.overflows[0]-e2.overflows[0]),V=(c2=B.find(t2=>{let{overflows:e2}=t2;return e2.every(t3=>t3<=0)}))==null?void 0:c2.placement,F=V??B[0].placement;return F!==d2?{data:{index:O2+1,overflows:C2},reset:{placement:F}}:{}}}},b=function(e2){return e2===void 0&&(e2={}),{name:"flip",options:e2,async fn(n2){var r2;const{placement:i2,middlewareData:o2,rects:a2,initialPlacement:l2,platform:c2,elements:f2}=n2,{mainAxis:u2=!0,crossAxis:m2=!0,fallbackPlacements:g2,fallbackStrategy:h2="bestFit",flipAlignment:x2=!0,...w2}=e2,v2=t(i2),b2=g2||(v2===l2||!x2?[d(l2)]:function(t2){const e3=d(t2);return[y(t2),e3,y(e3)]}(l2)),R2=[l2,...b2],A2=await s(n2,w2),P2=[];let T2=((r2=o2.flip)==null?void 0:r2.overflows)||[];if(u2&&P2.push(A2[v2]),m2){const{main:t2,cross:e3}=p(i2,a2,await(c2.isRTL==null?void 0:c2.isRTL(f2.floating)));P2.push(A2[t2],A2[e3])}if(T2=[...T2,{placement:i2,overflows:P2}],!P2.every(t2=>t2<=0)){var O2,D2;const t2=((O2=(D2=o2.flip)==null?void 0:D2.index)!=null?O2:0)+1,e3=R2[t2];if(e3)return{data:{index:t2,overflows:T2},reset:{placement:e3}};let n3="bottom";switch(h2){case"bestFit":{var L2;const t3=(L2=T2.map(t4=>[t4,t4.overflows.filter(t5=>t5>0).reduce((t5,e4)=>t5+e4,0)]).sort((t4,e4)=>t4[1]-e4[1])[0])==null?void 0:L2[0].placement;t3&&(n3=t3);break}case"initialPlacement":n3=l2}if(i2!==n3)return{reset:{placement:n3}}}return{}}}};function R(t2,e2){return{top:t2.top-e2.height,right:t2.right-e2.width,bottom:t2.bottom-e2.height,left:t2.left-e2.width}}function A(t2){return x.some(e2=>t2[e2]>=0)}const P=function(t2){let{strategy:e2="referenceHidden",...n2}=t2===void 0?{}:t2;return{name:"hide",async fn(t3){const{rects:r2}=t3;switch(e2){case"referenceHidden":{const e3=R(await s(t3,{...n2,elementContext:"reference"}),r2.reference);return{data:{referenceHiddenOffsets:e3,referenceHidden:A(e3)}}}case"escaped":{const e3=R(await s(t3,{...n2,altBoundary:!0}),r2.floating);return{data:{escapedOffsets:e3,escaped:A(e3)}}}default:return{}}}}},T=function(r2){return r2===void 0&&(r2=0),{name:"offset",options:r2,async fn(i2){const{x:o2,y:a2}=i2,l2=await async function(r3,i3){const{placement:o3,platform:a3,elements:l3}=r3,s2=await(a3.isRTL==null?void 0:a3.isRTL(l3.floating)),c2=t(o3),f2=e(o3),u2=n(o3)==="x",m2=["left","top"].includes(c2)?-1:1,g2=s2&&u2?-1:1,d2=typeof i3=="function"?i3(r3):i3;let{mainAxis:p2,crossAxis:h2,alignmentAxis:y2}=typeof d2=="number"?{mainAxis:d2,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d2};return f2&&typeof y2=="number"&&(h2=f2==="end"?-1*y2:y2),u2?{x:h2*g2,y:p2*m2}:{x:p2*m2,y:h2*g2}}(i2,r2);return{x:o2+l2.x,y:a2+l2.y,data:l2}}}};function O(t2){return t2==="x"?"y":"x"}const D=function(e2){return e2===void 0&&(e2={}),{name:"shift",options:e2,async fn(r2){const{x:i2,y:o2,placement:a2}=r2,{mainAxis:l2=!0,crossAxis:c2=!1,limiter:f2={fn:t2=>{let{x:e3,y:n2}=t2;return{x:e3,y:n2}}},...m2}=e2,g2={x:i2,y:o2},d2=await s(r2,m2),p2=n(t(a2)),h2=O(p2);let y2=g2[p2],x2=g2[h2];if(l2){const t2=p2==="y"?"bottom":"right";y2=u(y2+d2[p2==="y"?"top":"left"],y2,y2-d2[t2])}if(c2){const t2=h2==="y"?"bottom":"right";x2=u(x2+d2[h2==="y"?"top":"left"],x2,x2-d2[t2])}const w2=f2.fn({...r2,[p2]:y2,[h2]:x2});return{...w2,data:{x:w2.x-i2,y:w2.y-o2}}}}},L=function(e2){return e2===void 0&&(e2={}),{options:e2,fn(r2){const{x:i2,y:o2,placement:a2,rects:l2,middlewareData:s2}=r2,{offset:c2=0,mainAxis:f2=!0,crossAxis:u2=!0}=e2,m2={x:i2,y:o2},g2=n(a2),d2=O(g2);let p2=m2[g2],h2=m2[d2];const y2=typeof c2=="function"?c2({...l2,placement:a2}):c2,x2=typeof y2=="number"?{mainAxis:y2,crossAxis:0}:{mainAxis:0,crossAxis:0,...y2};if(f2){const t2=g2==="y"?"height":"width",e3=l2.reference[g2]-l2.floating[t2]+x2.mainAxis,n2=l2.reference[g2]+l2.reference[t2]-x2.mainAxis;p2<e3?p2=e3:p2>n2&&(p2=n2)}if(u2){var w2,v2,b2,R2;const e3=g2==="y"?"width":"height",n2=["top","left"].includes(t(a2)),r3=l2.reference[d2]-l2.floating[e3]+(n2&&(w2=(v2=s2.offset)==null?void 0:v2[d2])!=null?w2:0)+(n2?0:x2.crossAxis),i3=l2.reference[d2]+l2.reference[e3]+(n2?0:(b2=(R2=s2.offset)==null?void 0:R2[d2])!=null?b2:0)-(n2?x2.crossAxis:0);h2<r3?h2=r3:h2>i3&&(h2=i3)}return{[g2]:p2,[d2]:h2}}}},k=function(n2){return n2===void 0&&(n2={}),{name:"size",options:n2,async fn(r2){const{placement:i2,rects:o2,platform:a2,elements:l2}=r2,{apply:c2,...u2}=n2,m2=await s(r2,u2),g2=t(i2),d2=e(i2);let p2,h2;g2==="top"||g2==="bottom"?(p2=g2,h2=d2===(await(a2.isRTL==null?void 0:a2.isRTL(l2.floating))?"start":"end")?"left":"right"):(h2=g2,p2=d2==="end"?"top":"bottom");const y2=f(m2.left,0),x2=f(m2.right,0),w2=f(m2.top,0),v2=f(m2.bottom,0),b2={availableHeight:o2.floating.height-(["left","right"].includes(i2)?2*(w2!==0||v2!==0?w2+v2:f(m2.top,m2.bottom)):m2[p2]),availableWidth:o2.floating.width-(["top","bottom"].includes(i2)?2*(y2!==0||x2!==0?y2+x2:f(m2.left,m2.right)):m2[h2])},R2=await a2.getDimensions(l2.floating);c2?.({...r2,...b2});const A2=await a2.getDimensions(l2.floating);return R2.width!==A2.width||R2.height!==A2.height?{reset:{rects:!0}}:{}}}},E=function(e2){return e2===void 0&&(e2={}),{name:"inline",options:e2,async fn(r2){var i2;const{placement:o2,elements:s2,rects:u2,platform:m2,strategy:g2}=r2,{padding:d2=2,x:p2,y:h2}=e2,y2=l(m2.convertOffsetParentRelativeRectToViewportRelativeRect?await m2.convertOffsetParentRelativeRectToViewportRelativeRect({rect:u2.reference,offsetParent:await(m2.getOffsetParent==null?void 0:m2.getOffsetParent(s2.floating)),strategy:g2}):u2.reference),x2=(i2=await(m2.getClientRects==null?void 0:m2.getClientRects(s2.reference)))!=null?i2:[],w2=a(d2),v2=await m2.getElementRects({reference:{getBoundingClientRect:function(){var e3;if(x2.length===2&&x2[0].left>x2[1].right&&p2!=null&&h2!=null)return(e3=x2.find(t2=>p2>t2.left-w2.left&&p2<t2.right+w2.right&&h2>t2.top-w2.top&&h2<t2.bottom+w2.bottom))!=null?e3:y2;if(x2.length>=2){if(n(o2)==="x"){const e5=x2[0],n2=x2[x2.length-1],r4=t(o2)==="top",i4=e5.top,a3=n2.bottom,l3=r4?e5.left:n2.left,s4=r4?e5.right:n2.right;return{top:i4,bottom:a3,left:l3,right:s4,width:s4-l3,height:a3-i4,x:l3,y:i4}}const e4=t(o2)==="left",r3=f(...x2.map(t2=>t2.right)),i3=c(...x2.map(t2=>t2.left)),a2=x2.filter(t2=>e4?t2.left===i3:t2.right===r3),l2=a2[0].top,s3=a2[a2.length-1].bottom;return{top:l2,bottom:s3,left:i3,right:r3,width:r3-i3,height:s3-l2,x:i3,y:l2}}return y2}},floating:s2.floating,strategy:g2});return u2.reference.x!==v2.reference.x||u2.reference.y!==v2.reference.y||u2.reference.width!==v2.reference.width||u2.reference.height!==v2.reference.height?{reset:{rects:v2}}:{}}}};function floating_ui_dom_browser_min_n(t2){return t2&&t2.document&&t2.location&&t2.alert&&t2.setInterval}function o(t2){if(t2==null)return window;if(!floating_ui_dom_browser_min_n(t2)){const e2=t2.ownerDocument;return e2&&e2.defaultView||window}return t2}function floating_ui_dom_browser_min_i(t2){return o(t2).getComputedStyle(t2)}function floating_ui_dom_browser_min_r(t2){return floating_ui_dom_browser_min_n(t2)?"":t2?(t2.nodeName||"").toLowerCase():""}function floating_ui_dom_browser_min_l(){const t2=navigator.userAgentData;return t2!=null&&t2.brands?t2.brands.map(t3=>t3.brand+"/"+t3.version).join(" "):navigator.userAgent}function floating_ui_dom_browser_min_c(t2){return t2 instanceof o(t2).HTMLElement}function floating_ui_dom_browser_min_f(t2){return t2 instanceof o(t2).Element}function floating_ui_dom_browser_min_s(t2){return typeof ShadowRoot>"u"?!1:t2 instanceof o(t2).ShadowRoot||t2 instanceof ShadowRoot}function floating_ui_dom_browser_min_u(t2){const{overflow:e2,overflowX:n2,overflowY:o2}=floating_ui_dom_browser_min_i(t2);return/auto|scroll|overlay|hidden/.test(e2+o2+n2)}function floating_ui_dom_browser_min_d(t2){return["table","td","th"].includes(floating_ui_dom_browser_min_r(t2))}function floating_ui_dom_browser_min_h(t2){const e2=/firefox/i.test(floating_ui_dom_browser_min_l()),n2=floating_ui_dom_browser_min_i(t2);return n2.transform!=="none"||n2.perspective!=="none"||n2.contain==="paint"||["transform","perspective"].includes(n2.willChange)||e2&&n2.willChange==="filter"||e2&&!!n2.filter&&n2.filter!=="none"}function floating_ui_dom_browser_min_a(){return!/^((?!chrome|android).)*safari/i.test(floating_ui_dom_browser_min_l())}const floating_ui_dom_browser_min_g=Math.min,floating_ui_dom_browser_min_p=Math.max,floating_ui_dom_browser_min_m=Math.round;function floating_ui_dom_browser_min_w(t2,e2,n2){var i2,r2,l2,s2;e2===void 0&&(e2=!1),n2===void 0&&(n2=!1);const u2=t2.getBoundingClientRect();let d2=1,h2=1;e2&&floating_ui_dom_browser_min_c(t2)&&(d2=t2.offsetWidth>0&&floating_ui_dom_browser_min_m(u2.width)/t2.offsetWidth||1,h2=t2.offsetHeight>0&&floating_ui_dom_browser_min_m(u2.height)/t2.offsetHeight||1);const g2=floating_ui_dom_browser_min_f(t2)?o(t2):window,p2=!floating_ui_dom_browser_min_a()&&n2,w2=(u2.left+(p2&&(i2=(r2=g2.visualViewport)==null?void 0:r2.offsetLeft)!=null?i2:0))/d2,v2=(u2.top+(p2&&(l2=(s2=g2.visualViewport)==null?void 0:s2.offsetTop)!=null?l2:0))/h2,y2=u2.width/d2,x2=u2.height/h2;return{width:y2,height:x2,top:v2,right:w2+y2,bottom:v2+x2,left:w2,x:w2,y:v2}}function floating_ui_dom_browser_min_v(t2){return(e2=t2,(e2 instanceof o(e2).Node?t2.ownerDocument:t2.document)||window.document).documentElement;var e2}function floating_ui_dom_browser_min_y(t2){return floating_ui_dom_browser_min_f(t2)?{scrollLeft:t2.scrollLeft,scrollTop:t2.scrollTop}:{scrollLeft:t2.pageXOffset,scrollTop:t2.pageYOffset}}function floating_ui_dom_browser_min_x(t2){return floating_ui_dom_browser_min_w(floating_ui_dom_browser_min_v(t2)).left+floating_ui_dom_browser_min_y(t2).scrollLeft}function floating_ui_dom_browser_min_b(t2,e2,n2){const o2=floating_ui_dom_browser_min_c(e2),i2=floating_ui_dom_browser_min_v(e2),l2=floating_ui_dom_browser_min_w(t2,o2&&function(t3){const e3=floating_ui_dom_browser_min_w(t3);return floating_ui_dom_browser_min_m(e3.width)!==t3.offsetWidth||floating_ui_dom_browser_min_m(e3.height)!==t3.offsetHeight}(e2),n2==="fixed");let f2={scrollLeft:0,scrollTop:0};const s2={x:0,y:0};if(o2||!o2&&n2!=="fixed")if((floating_ui_dom_browser_min_r(e2)!=="body"||floating_ui_dom_browser_min_u(i2))&&(f2=floating_ui_dom_browser_min_y(e2)),floating_ui_dom_browser_min_c(e2)){const t3=floating_ui_dom_browser_min_w(e2,!0);s2.x=t3.x+e2.clientLeft,s2.y=t3.y+e2.clientTop}else i2&&(s2.x=floating_ui_dom_browser_min_x(i2));return{x:l2.left+f2.scrollLeft-s2.x,y:l2.top+f2.scrollTop-s2.y,width:l2.width,height:l2.height}}function floating_ui_dom_browser_min_L(t2){return floating_ui_dom_browser_min_r(t2)==="html"?t2:t2.assignedSlot||t2.parentNode||(floating_ui_dom_browser_min_s(t2)?t2.host:null)||floating_ui_dom_browser_min_v(t2)}function floating_ui_dom_browser_min_R(t2){return floating_ui_dom_browser_min_c(t2)&&getComputedStyle(t2).position!=="fixed"?t2.offsetParent:null}function floating_ui_dom_browser_min_T(t2){const e2=o(t2);let n2=floating_ui_dom_browser_min_R(t2);for(;n2&&floating_ui_dom_browser_min_d(n2)&&getComputedStyle(n2).position==="static";)n2=floating_ui_dom_browser_min_R(n2);return n2&&(floating_ui_dom_browser_min_r(n2)==="html"||floating_ui_dom_browser_min_r(n2)==="body"&&getComputedStyle(n2).position==="static"&&!floating_ui_dom_browser_min_h(n2))?e2:n2||function(t3){let e3=floating_ui_dom_browser_min_L(t3);for(floating_ui_dom_browser_min_s(e3)&&(e3=e3.host);floating_ui_dom_browser_min_c(e3)&&!["html","body"].includes(floating_ui_dom_browser_min_r(e3));){if(floating_ui_dom_browser_min_h(e3))return e3;e3=e3.parentNode}return null}(t2)||e2}function W(t2){if(floating_ui_dom_browser_min_c(t2))return{width:t2.offsetWidth,height:t2.offsetHeight};const e2=floating_ui_dom_browser_min_w(t2);return{width:e2.width,height:e2.height}}function floating_ui_dom_browser_min_E(t2){const e2=floating_ui_dom_browser_min_L(t2);return["html","body","#document"].includes(floating_ui_dom_browser_min_r(e2))?t2.ownerDocument.body:floating_ui_dom_browser_min_c(e2)&&floating_ui_dom_browser_min_u(e2)?e2:floating_ui_dom_browser_min_E(e2)}function H(t2,e2){var n2;e2===void 0&&(e2=[]);const i2=floating_ui_dom_browser_min_E(t2),r2=i2===((n2=t2.ownerDocument)==null?void 0:n2.body),l2=o(i2),c2=r2?[l2].concat(l2.visualViewport||[],floating_ui_dom_browser_min_u(i2)?i2:[]):i2,f2=e2.concat(c2);return r2?f2:f2.concat(H(c2))}function C(e2,n2,r2){return n2==="viewport"?l(function(t2,e3){const n3=o(t2),i2=floating_ui_dom_browser_min_v(t2),r3=n3.visualViewport;let l2=i2.clientWidth,c2=i2.clientHeight,f2=0,s2=0;if(r3){l2=r3.width,c2=r3.height;const t3=floating_ui_dom_browser_min_a();(t3||!t3&&e3==="fixed")&&(f2=r3.offsetLeft,s2=r3.offsetTop)}return{width:l2,height:c2,x:f2,y:s2}}(e2,r2)):floating_ui_dom_browser_min_f(n2)?function(t2,e3){const n3=floating_ui_dom_browser_min_w(t2,!1,e3==="fixed"),o2=n3.top+t2.clientTop,i2=n3.left+t2.clientLeft;return{top:o2,left:i2,x:i2,y:o2,right:i2+t2.clientWidth,bottom:o2+t2.clientHeight,width:t2.clientWidth,height:t2.clientHeight}}(n2,r2):l(function(t2){var e3;const n3=floating_ui_dom_browser_min_v(t2),o2=floating_ui_dom_browser_min_y(t2),r3=(e3=t2.ownerDocument)==null?void 0:e3.body,l2=floating_ui_dom_browser_min_p(n3.scrollWidth,n3.clientWidth,r3?r3.scrollWidth:0,r3?r3.clientWidth:0),c2=floating_ui_dom_browser_min_p(n3.scrollHeight,n3.clientHeight,r3?r3.scrollHeight:0,r3?r3.clientHeight:0);let f2=-o2.scrollLeft+floating_ui_dom_browser_min_x(t2);const s2=-o2.scrollTop;return floating_ui_dom_browser_min_i(r3||n3).direction==="rtl"&&(f2+=floating_ui_dom_browser_min_p(n3.clientWidth,r3?r3.clientWidth:0)-l2),{width:l2,height:c2,x:f2,y:s2}}(floating_ui_dom_browser_min_v(e2)))}function S(t2){const e2=H(t2),n2=["absolute","fixed"].includes(floating_ui_dom_browser_min_i(t2).position)&&floating_ui_dom_browser_min_c(t2)?floating_ui_dom_browser_min_T(t2):t2;return floating_ui_dom_browser_min_f(n2)?e2.filter(t3=>floating_ui_dom_browser_min_f(t3)&&function(t4,e3){const n3=e3.getRootNode==null?void 0:e3.getRootNode();if(t4.contains(e3))return!0;if(n3&&floating_ui_dom_browser_min_s(n3)){let n4=e3;do{if(n4&&t4===n4)return!0;n4=n4.parentNode||n4.host}while(n4)}return!1}(t3,n2)&&floating_ui_dom_browser_min_r(t3)!=="body"):[]}const floating_ui_dom_browser_min_D={getClippingRect:function(t2){let{element:e2,boundary:n2,rootBoundary:o2,strategy:i2}=t2;const r2=[...n2==="clippingAncestors"?S(e2):[].concat(n2),o2],l2=r2[0],c2=r2.reduce((t3,n3)=>{const o3=C(e2,n3,i2);return t3.top=floating_ui_dom_browser_min_p(o3.top,t3.top),t3.right=floating_ui_dom_browser_min_g(o3.right,t3.right),t3.bottom=floating_ui_dom_browser_min_g(o3.bottom,t3.bottom),t3.left=floating_ui_dom_browser_min_p(o3.left,t3.left),t3},C(e2,l2,i2));return{width:c2.right-c2.left,height:c2.bottom-c2.top,x:c2.left,y:c2.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t2){let{rect:e2,offsetParent:n2,strategy:o2}=t2;const i2=floating_ui_dom_browser_min_c(n2),l2=floating_ui_dom_browser_min_v(n2);if(n2===l2)return e2;let f2={scrollLeft:0,scrollTop:0};const s2={x:0,y:0};if((i2||!i2&&o2!=="fixed")&&((floating_ui_dom_browser_min_r(n2)!=="body"||floating_ui_dom_browser_min_u(l2))&&(f2=floating_ui_dom_browser_min_y(n2)),floating_ui_dom_browser_min_c(n2))){const t3=floating_ui_dom_browser_min_w(n2,!0);s2.x=t3.x+n2.clientLeft,s2.y=t3.y+n2.clientTop}return{...e2,x:e2.x-f2.scrollLeft+s2.x,y:e2.y-f2.scrollTop+s2.y}},isElement:floating_ui_dom_browser_min_f,getDimensions:W,getOffsetParent:floating_ui_dom_browser_min_T,getDocumentElement:floating_ui_dom_browser_min_v,getElementRects:t2=>{let{reference:e2,floating:n2,strategy:o2}=t2;return{reference:floating_ui_dom_browser_min_b(e2,floating_ui_dom_browser_min_T(n2),o2),floating:{...W(n2),x:0,y:0}}},getClientRects:t2=>Array.from(t2.getClientRects()),isRTL:t2=>floating_ui_dom_browser_min_i(t2).direction==="rtl"};function N(t2,e2,n2,o2){o2===void 0&&(o2={});const{ancestorScroll:i2=!0,ancestorResize:r2=!0,elementResize:l2=!0,animationFrame:c2=!1}=o2,s2=i2&&!c2,u2=r2&&!c2,d2=s2||u2?[...floating_ui_dom_browser_min_f(t2)?H(t2):[],...H(e2)]:[];d2.forEach(t3=>{s2&&t3.addEventListener("scroll",n2,{passive:!0}),u2&&t3.addEventListener("resize",n2)});let h2,a2=null;if(l2){let o3=!0;a2=new ResizeObserver(()=>{o3||n2(),o3=!1}),floating_ui_dom_browser_min_f(t2)&&!c2&&a2.observe(t2),a2.observe(e2)}let g2=c2?floating_ui_dom_browser_min_w(t2):null;return c2&&function e3(){const o3=floating_ui_dom_browser_min_w(t2);!g2||o3.x===g2.x&&o3.y===g2.y&&o3.width===g2.width&&o3.height===g2.height||n2(),g2=o3,h2=requestAnimationFrame(e3)}(),n2(),()=>{var t3;d2.forEach(t4=>{s2&&t4.removeEventListener("scroll",n2),u2&&t4.removeEventListener("resize",n2)}),(t3=a2)==null||t3.disconnect(),a2=null,c2&&cancelAnimationFrame(h2)}}const z=(t2,n2,o2)=>floating_ui_core_browser_min_o(t2,n2,{platform:floating_ui_dom_browser_min_D,...o2});var react=__webpack_require__(67294),react_dom=__webpack_require__(73935),index=typeof document<"u"?react.useLayoutEffect:react.useEffect;function deepEqual(a2,b2){if(a2===b2)return!0;if(typeof a2!=typeof b2)return!1;if(typeof a2=="function"&&a2.toString()===b2.toString())return!0;let length,i2,keys;if(a2&&b2&&typeof a2=="object"){if(Array.isArray(a2)){if(length=a2.length,length!=b2.length)return!1;for(i2=length;i2--!==0;)if(!deepEqual(a2[i2],b2[i2]))return!1;return!0}if(keys=Object.keys(a2),length=keys.length,length!==Object.keys(b2).length)return!1;for(i2=length;i2--!==0;)if(!Object.prototype.hasOwnProperty.call(b2,keys[i2]))return!1;for(i2=length;i2--!==0;){const key=keys[i2];if(!(key==="_owner"&&a2.$$typeof)&&!deepEqual(a2[key],b2[key]))return!1}return!0}return a2!==a2&&b2!==b2}function useLatestRef(value2){const ref=react.useRef(value2);return index(()=>{ref.current=value2}),ref}function useFloating(_temp){let{middleware,placement="bottom",strategy="absolute",whileElementsMounted}=_temp===void 0?{}:_temp;const reference=react.useRef(null),floating=react.useRef(null),whileElementsMountedRef=useLatestRef(whileElementsMounted),cleanupRef=react.useRef(null),[data,setData]=react.useState({x:null,y:null,strategy,placement,middlewareData:{}}),[latestMiddleware,setLatestMiddleware]=react.useState(middleware);deepEqual(latestMiddleware?.map(_ref=>{let{options}=_ref;return options}),middleware?.map(_ref2=>{let{options}=_ref2;return options}))||setLatestMiddleware(middleware);const update=react.useCallback(()=>{!reference.current||!floating.current||z(reference.current,floating.current,{middleware:latestMiddleware,placement,strategy}).then(data2=>{isMountedRef.current&&react_dom.flushSync(()=>{setData(data2)})})},[latestMiddleware,placement,strategy]);index(()=>{isMountedRef.current&&update()},[update]);const isMountedRef=react.useRef(!1);index(()=>(isMountedRef.current=!0,()=>{isMountedRef.current=!1}),[]);const runElementMountCallback=react.useCallback(()=>{if(typeof cleanupRef.current=="function"&&(cleanupRef.current(),cleanupRef.current=null),reference.current&&floating.current)if(whileElementsMountedRef.current){const cleanupFn=whileElementsMountedRef.current(reference.current,floating.current,update);cleanupRef.current=cleanupFn}else update()},[update,whileElementsMountedRef]),setReference=react.useCallback(node=>{reference.current=node,runElementMountCallback()},[runElementMountCallback]),setFloating=react.useCallback(node=>{floating.current=node,runElementMountCallback()},[runElementMountCallback]),refs=react.useMemo(()=>({reference,floating}),[]);return react.useMemo(()=>({...data,update,refs,reference:setReference,floating:setFloating}),[data,update,refs,setReference,setFloating])}const arrow=options=>{const{element,padding}=options;function isRef(value2){return Object.prototype.hasOwnProperty.call(value2,"current")}return{name:"arrow",options,fn(args){return isRef(element)?element.current!=null?m({element:element.current,padding}).fn(args):{}:element?m({element,padding}).fn(args):{}}}}},74511:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{fi:()=>popper_createPopper});function getWindow(node){if(node==null)return window;if(node.toString()!=="[object Window]"){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function isElement(node){var OwnElement=getWindow(node).Element;return node instanceof OwnElement||node instanceof Element}function isHTMLElement(node){var OwnElement=getWindow(node).HTMLElement;return node instanceof OwnElement||node instanceof HTMLElement}function isShadowRoot(node){if(typeof ShadowRoot>"u")return!1;var OwnElement=getWindow(node).ShadowRoot;return node instanceof OwnElement||node instanceof ShadowRoot}var math_max=Math.max,math_min=Math.min,round=Math.round;function getUAString(){var uaData=navigator.userAgentData;return uaData!=null&&uaData.brands?uaData.brands.map(function(item){return item.brand+"/"+item.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(element,includeScale,isFixedStrategy){includeScale===void 0&&(includeScale=!1),isFixedStrategy===void 0&&(isFixedStrategy=!1);var clientRect=element.getBoundingClientRect(),scaleX=1,scaleY=1;includeScale&&isHTMLElement(element)&&(scaleX=element.offsetWidth>0&&round(clientRect.width)/element.offsetWidth||1,scaleY=element.offsetHeight>0&&round(clientRect.height)/element.offsetHeight||1);var _ref=isElement(element)?getWindow(element):window,visualViewport=_ref.visualViewport,addVisualOffsets=!isLayoutViewport()&&isFixedStrategy,x=(clientRect.left+(addVisualOffsets&&visualViewport?visualViewport.offsetLeft:0))/scaleX,y=(clientRect.top+(addVisualOffsets&&visualViewport?visualViewport.offsetTop:0))/scaleY,width=clientRect.width/scaleX,height=clientRect.height/scaleY;return{width,height,top:y,right:x+width,bottom:y+height,left:x,x,y}}function getWindowScroll(node){var win=getWindow(node),scrollLeft=win.pageXOffset,scrollTop=win.pageYOffset;return{scrollLeft,scrollTop}}function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}function getNodeScroll(node){return node===getWindow(node)||!isHTMLElement(node)?getWindowScroll(node):getHTMLElementScroll(node)}function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getComputedStyle2(element){return getWindow(element).getComputedStyle(element)}function isScrollParent(element){var _getComputedStyle=getComputedStyle2(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function isElementScaled(element){var rect=element.getBoundingClientRect(),scaleX=round(rect.width)/element.offsetWidth||1,scaleY=round(rect.height)/element.offsetHeight||1;return scaleX!==1||scaleY!==1}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){isFixed===void 0&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&isElementScaled(offsetParent),documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled,isFixed),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&((getNodeName(offsetParent)!=="body"||isScrollParent(documentElement))&&(scroll=getNodeScroll(offsetParent)),isHTMLElement(offsetParent)?(offsets=getBoundingClientRect(offsetParent,!0),offsets.x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width,height}}function getParentNode(element){return getNodeName(element)==="html"?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}function listScrollParents(element,list){var _element$ownerDocumen;list===void 0&&(list=[]);var scrollParent=getScrollParent(element),isBody=scrollParent===((_element$ownerDocumen=element.ownerDocument)==null?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getTrueOffsetParent(element){return!isHTMLElement(element)||getComputedStyle2(element).position==="fixed"?null:element.offsetParent}function getContainingBlock(element){var isFirefox=/firefox/i.test(getUAString()),isIE=/Trident/i.test(getUAString());if(isIE&&isHTMLElement(element)){var elementCss=getComputedStyle2(element);if(elementCss.position==="fixed")return null}var currentNode=getParentNode(element);for(isShadowRoot(currentNode)&&(currentNode=currentNode.host);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle2(currentNode);if(css.transform!=="none"||css.perspective!=="none"||css.contain==="paint"||["transform","perspective"].indexOf(css.willChange)!==-1||isFirefox&&css.willChange==="filter"||isFirefox&&css.filter&&css.filter!=="none")return currentNode;currentNode=currentNode.parentNode}return null}function getOffsetParent(element){for(var window2=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&getComputedStyle2(offsetParent).position==="static";)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&(getNodeName(offsetParent)==="html"||getNodeName(offsetParent)==="body"&&getComputedStyle2(offsetParent).position==="static")?window2:offsetParent||getContainingBlock(element)||window2}var enums_top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[enums_top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(acc,placement){return acc.concat([placement+"-"+start,placement+"-"+end])},[]),enums_placements=[].concat(basePlacements,[auto]).reduce(function(acc,placement){return acc.concat([placement,placement+"-"+start,placement+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function order(modifiers){var map=new Map,visited=new Set,result=[];modifiers.forEach(function(modifier){map.set(modifier.name,modifier)});function sort(modifier){visited.add(modifier.name);var requires=[].concat(modifier.requires||[],modifier.requiresIfExists||[]);requires.forEach(function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}}),result.push(modifier)}return modifiers.forEach(function(modifier){visited.has(modifier.name)||sort(modifier)}),result}function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce(function(acc,phase){return acc.concat(orderedModifiers.filter(function(modifier){return modifier.phase===phase}))},[])}function debounce(fn){var pending;return function(){return pending||(pending=new Promise(function(resolve){Promise.resolve().then(function(){pending=void 0,resolve(fn())})})),pending}}function mergeByName(modifiers){var merged=modifiers.reduce(function(merged2,current){var existing=merged2[current.name];return merged2[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged2},{});return Object.keys(merged).map(function(key){return merged[key]})}var INVALID_ELEMENT_ERROR="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",INFINITE_LOOP_ERROR="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some(function(element){return!(element&&typeof element.getBoundingClientRect=="function")})}function popperGenerator(generatorOptions){generatorOptions===void 0&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers2=_generatorOptions$def===void 0?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=_generatorOptions$def2===void 0?DEFAULT_OPTIONS:_generatorOptions$def2;return function(reference2,popper2,options){options===void 0&&(options=defaultOptions);var state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference2,popper:popper2},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state,setOptions:function(setOptionsAction){var options2=typeof setOptionsAction=="function"?setOptionsAction(state.options):setOptionsAction;cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options2),state.scrollParents={reference:isElement(reference2)?listScrollParents(reference2):reference2.contextElement?listScrollParents(reference2.contextElement):[],popper:listScrollParents(popper2)};var orderedModifiers=orderModifiers(mergeByName([].concat(defaultModifiers2,state.options.modifiers)));if(state.orderedModifiers=orderedModifiers.filter(function(m){return m.enabled}),!1)var _getComputedStyle,marginTop,marginRight,marginBottom,marginLeft,flipModifier,modifiers;return runModifierEffects(),instance.update()},forceUpdate:function(){if(!isDestroyed){var _state$elements=state.elements,reference3=_state$elements.reference,popper3=_state$elements.popper;if(!!areValidElements(reference3,popper3)){state.rects={reference:getCompositeRect(reference3,getOffsetParent(popper3),state.options.strategy==="fixed"),popper:getLayoutRect(popper3)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach(function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)});for(var __debug_loops__=0,index=0;index<state.orderedModifiers.length;index++){if(state.reset===!0){state.reset=!1,index=-1;continue}var _state$orderedModifie=state.orderedModifiers[index],fn=_state$orderedModifie.fn,_state$orderedModifie2=_state$orderedModifie.options,_options=_state$orderedModifie2===void 0?{}:_state$orderedModifie2,name=_state$orderedModifie.name;typeof fn=="function"&&(state=fn({state,options:_options,name,instance})||state)}}}},update:debounce(function(){return new Promise(function(resolve){instance.forceUpdate(),resolve(state)})}),destroy:function(){cleanupModifierEffects(),isDestroyed=!0}};if(!areValidElements(reference2,popper2))return instance;instance.setOptions(options).then(function(state2){!isDestroyed&&options.onFirstUpdate&&options.onFirstUpdate(state2)});function runModifierEffects(){state.orderedModifiers.forEach(function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options2=_ref3$options===void 0?{}:_ref3$options,effect2=_ref3.effect;if(typeof effect2=="function"){var cleanupFn=effect2({state,name,instance,options:options2}),noopFn=function(){};effectCleanupFns.push(cleanupFn||noopFn)}})}function cleanupModifierEffects(){effectCleanupFns.forEach(function(fn){return fn()}),effectCleanupFns=[]}return instance}}var createPopper=null,passive={passive:!0};function effect(_ref){var state=_ref.state,instance=_ref.instance,options=_ref.options,_options$scroll=options.scroll,scroll=_options$scroll===void 0?!0:_options$scroll,_options$resize=options.resize,resize=_options$resize===void 0?!0:_options$resize,window2=getWindow(state.elements.popper),scrollParents=[].concat(state.scrollParents.reference,state.scrollParents.popper);return scroll&&scrollParents.forEach(function(scrollParent){scrollParent.addEventListener("scroll",instance.update,passive)}),resize&&window2.addEventListener("resize",instance.update,passive),function(){scroll&&scrollParents.forEach(function(scrollParent){scrollParent.removeEventListener("scroll",instance.update,passive)}),resize&&window2.removeEventListener("resize",instance.update,passive)}}const eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect,data:{}};function getBasePlacement(placement){return placement.split("-")[0]}function getVariation(placement){return placement.split("-")[1]}function getMainAxisFromPlacement(placement){return["top","bottom"].indexOf(placement)>=0?"x":"y"}function computeOffsets(_ref){var reference2=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference2.x+reference2.width/2-element.width/2,commonY=reference2.y+reference2.height/2-element.height/2,offsets;switch(basePlacement){case enums_top:offsets={x:commonX,y:reference2.y-element.height};break;case bottom:offsets={x:commonX,y:reference2.y+reference2.height};break;case right:offsets={x:reference2.x+reference2.width,y:commonY};break;case left:offsets={x:reference2.x-element.width,y:commonY};break;default:offsets={x:reference2.x,y:reference2.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(mainAxis!=null){var len=mainAxis==="y"?"height":"width";switch(variation){case start:offsets[mainAxis]=offsets[mainAxis]-(reference2[len]/2-element[len]/2);break;case end:offsets[mainAxis]=offsets[mainAxis]+(reference2[len]/2-element[len]/2);break;default:}}return offsets}function popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})}const modifiers_popperOffsets={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}};var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,win=window,dpr=win.devicePixelRatio||1;return{x:round(x*dpr)/dpr||0,y:round(y*dpr)/dpr||0}}function mapToStyles(_ref2){var _Object$assign2,popper2=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,variation=_ref2.variation,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,isFixed=_ref2.isFixed,_offsets$x=offsets.x,x=_offsets$x===void 0?0:_offsets$x,_offsets$y=offsets.y,y=_offsets$y===void 0?0:_offsets$y,_ref3=typeof roundOffsets=="function"?roundOffsets({x,y}):{x,y};x=_ref3.x,y=_ref3.y;var hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=enums_top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper2),heightProp="clientHeight",widthProp="clientWidth";if(offsetParent===getWindow(popper2)&&(offsetParent=getDocumentElement(popper2),getComputedStyle2(offsetParent).position!=="static"&&position==="absolute"&&(heightProp="scrollHeight",widthProp="scrollWidth")),offsetParent=offsetParent,placement===enums_top||(placement===left||placement===right)&&variation===end){sideY=bottom;var offsetY=isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.height:offsetParent[heightProp];y-=offsetY-popperRect.height,y*=gpuAcceleration?1:-1}if(placement===left||(placement===enums_top||placement===bottom)&&variation===end){sideX=right;var offsetX=isFixed&&offsetParent===win&&win.visualViewport?win.visualViewport.width:offsetParent[widthProp];x-=offsetX-popperRect.width,x*=gpuAcceleration?1:-1}}var commonStyles=Object.assign({position},adaptive&&unsetSides),_ref4=roundOffsets===!0?roundOffsetsByDPR({x,y}):{x,y};if(x=_ref4.x,y=_ref4.y,gpuAcceleration){var _Object$assign;return Object.assign({},commonStyles,(_Object$assign={},_Object$assign[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<=1?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign))}return Object.assign({},commonStyles,(_Object$assign2={},_Object$assign2[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}function computeStyles(_ref5){var state=_ref5.state,options=_ref5.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=_options$gpuAccelerat===void 0?!0:_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=_options$adaptive===void 0?!0:_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=_options$roundOffsets===void 0?!0:_options$roundOffsets;if(!1)var transitionProperty;var commonStyles={placement:getBasePlacement(state.placement),variation:getVariation(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration,isFixed:state.options.strategy==="fixed"};state.modifiersData.popperOffsets!=null&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive,roundOffsets})))),state.modifiersData.arrow!=null&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})}const modifiers_computeStyles={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach(function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];!isHTMLElement(element)||!getNodeName(element)||(Object.assign(element.style,style),Object.keys(attributes).forEach(function(name2){var value2=attributes[name2];value2===!1?element.removeAttribute(name2):element.setAttribute(name2,value2===!0?"":value2)}))})}function applyStyles_effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach(function(name){var element=state.elements[name],attributes=state.attributes[name]||{},styleProperties=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]),style=styleProperties.reduce(function(style2,property){return style2[property]="",style2},{});!isHTMLElement(element)||!getNodeName(element)||(Object.assign(element.style,style),Object.keys(attributes).forEach(function(attribute){element.removeAttribute(attribute)}))})}}const modifiers_applyStyles={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:applyStyles_effect,requires:["computeStyles"]};function distanceAndSkiddingToXY(placement,rects,offset2){var basePlacement=getBasePlacement(placement),invertDistance=[left,enums_top].indexOf(basePlacement)>=0?-1:1,_ref=typeof offset2=="function"?offset2(Object.assign({},rects,{placement})):offset2,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}function offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset2=_options$offset===void 0?[0,0]:_options$offset,data=enums_placements.reduce(function(acc,placement){return acc[placement]=distanceAndSkiddingToXY(placement,state.rects,offset2),acc},{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;state.modifiersData.popperOffsets!=null&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}const modifiers_offset={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset};var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,function(matched){return hash[matched]})}var getOppositeVariationPlacement_hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,function(matched){return getOppositeVariationPlacement_hash[matched]})}function getViewportRect(element,strategy){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;if(visualViewport){width=visualViewport.width,height=visualViewport.height;var layoutViewport=isLayoutViewport();(layoutViewport||!layoutViewport&&strategy==="fixed")&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}return{width,height,x:x+getWindowScrollBarX(element),y}}function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=(_element$ownerDocumen=element.ownerDocument)==null?void 0:_element$ownerDocumen.body,width=math_max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=math_max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return getComputedStyle2(body||html).direction==="rtl"&&(x+=math_max(html.clientWidth,body?body.clientWidth:0)-width),{width,height,x,y}}function contains(parent2,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent2.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent2.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getInnerBoundingClientRect(element,strategy){var rect=getBoundingClientRect(element,!1,strategy==="fixed");return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}function getClientRectFromMixedType(element,clippingParent,strategy){return clippingParent===viewport?rectToClientRect(getViewportRect(element,strategy)):isElement(clippingParent)?getInnerBoundingClientRect(clippingParent,strategy):rectToClientRect(getDocumentRect(getDocumentElement(element)))}function getClippingParents(element){var clippingParents2=listScrollParents(getParentNode(element)),canEscapeClipping=["absolute","fixed"].indexOf(getComputedStyle2(element).position)>=0,clipperElement=canEscapeClipping&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents2.filter(function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&getNodeName(clippingParent)!=="body"}):[]}function getClippingRect(element,boundary,rootBoundary,strategy){var mainClippingParents=boundary==="clippingParents"?getClippingParents(element):[].concat(boundary),clippingParents2=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents2[0],clippingRect=clippingParents2.reduce(function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent,strategy);return accRect.top=math_max(rect.top,accRect.top),accRect.right=math_min(rect.right,accRect.right),accRect.bottom=math_min(rect.bottom,accRect.bottom),accRect.left=math_max(rect.left,accRect.left),accRect},getClientRectFromMixedType(element,firstClippingParent,strategy));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(paddingObject){return Object.assign({},getFreshSideObject(),paddingObject)}function expandToHashMap(value2,keys){return keys.reduce(function(hashMap,key){return hashMap[key]=value2,hashMap},{})}function detectOverflow(state,options){options===void 0&&(options={});var _options=options,_options$placement=_options.placement,placement=_options$placement===void 0?state.placement:_options$placement,_options$strategy=_options.strategy,strategy=_options$strategy===void 0?state.strategy:_options$strategy,_options$boundary=_options.boundary,boundary=_options$boundary===void 0?clippingParents:_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=_options$rootBoundary===void 0?viewport:_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=_options$elementConte===void 0?popper:_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=_options$altBoundary===void 0?!1:_options$altBoundary,_options$padding=_options.padding,padding=_options$padding===void 0?0:_options$padding,paddingObject=mergePaddingObject(typeof padding!="number"?padding:expandToHashMap(padding,basePlacements)),altContext=elementContext===popper?reference:popper,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary,strategy),referenceClientRect=getBoundingClientRect(state.elements.reference),popperOffsets2=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets2)),elementClientRect=elementContext===popper?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if(elementContext===popper&&offsetData){var offset2=offsetData[placement];Object.keys(overflowOffsets).forEach(function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[enums_top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset2[axis]*multiply})}return overflowOffsets}function computeAutoPlacement(state,options){options===void 0&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=_options$allowedAutoP===void 0?enums_placements:_options$allowedAutoP,variation=getVariation(placement),placements=variation?flipVariations?variationPlacements:variationPlacements.filter(function(placement2){return getVariation(placement2)===variation}):basePlacements,allowedPlacements=placements.filter(function(placement2){return allowedAutoPlacements.indexOf(placement2)>=0});allowedPlacements.length===0&&(allowedPlacements=placements);var overflows=allowedPlacements.reduce(function(acc,placement2){return acc[placement2]=detectOverflow(state,{placement:placement2,boundary,rootBoundary,padding})[getBasePlacement(placement2)],acc},{});return Object.keys(overflows).sort(function(a,b){return overflows[a]-overflows[b]})}function getExpandedFallbackPlacements(placement){if(getBasePlacement(placement)===auto)return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=_options$mainAxis===void 0?!0:_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=_options$altAxis===void 0?!0:_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=_options$flipVariatio===void 0?!0:_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),isBasePlacement=basePlacement===preferredPlacement,fallbackPlacements=specifiedFallbackPlacements||(isBasePlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:getExpandedFallbackPlacements(preferredPlacement)),placements=[preferredPlacement].concat(fallbackPlacements).reduce(function(acc,placement2){return acc.concat(getBasePlacement(placement2)===auto?computeAutoPlacement(state,{placement:placement2,boundary,rootBoundary,padding,flipVariations,allowedAutoPlacements}):placement2)},[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i<placements.length;i++){var placement=placements[i],_basePlacement=getBasePlacement(placement),isStartVariation=getVariation(placement)===start,isVertical=[enums_top,bottom].indexOf(_basePlacement)>=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement,boundary,rootBoundary,altBoundary,padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:enums_top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every(function(check){return check})){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var numberOfChecks=flipVariations?3:1,_loop=function(_i2){var fittingPlacement=placements.find(function(placement2){var checks2=checksMap.get(placement2);if(checks2)return checks2.slice(0,_i2).every(function(check){return check})});if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=numberOfChecks;_i>0;_i--){var _ret=_loop(_i);if(_ret==="break")break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}}const modifiers_flip={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function getAltAxis(axis){return axis==="x"?"y":"x"}function within(min,value2,max){return math_max(min,math_min(value2,max))}function withinMaxClamp(min,value2,max){var v=within(min,value2,max);return v>max?max:v}function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=_options$mainAxis===void 0?!0:_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=_options$altAxis===void 0?!1:_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=_options$tether===void 0?!0:_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=_options$tetherOffset===void 0?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary,rootBoundary,padding,altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=getAltAxis(mainAxis),popperOffsets2=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue=typeof tetherOffset=="function"?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,normalizedTetherOffsetValue=typeof tetherOffsetValue=="number"?{mainAxis:tetherOffsetValue,altAxis:tetherOffsetValue}:Object.assign({mainAxis:0,altAxis:0},tetherOffsetValue),offsetModifierState=state.modifiersData.offset?state.modifiersData.offset[state.placement]:null,data={x:0,y:0};if(!!popperOffsets2){if(checkMainAxis){var _offsetModifierState$,mainSide=mainAxis==="y"?enums_top:left,altSide=mainAxis==="y"?bottom:right,len=mainAxis==="y"?"height":"width",offset2=popperOffsets2[mainAxis],min=offset2+overflow[mainSide],max=offset2-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen=variation===start?referenceRect[len]:popperRect[len],maxLen=variation===start?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:getFreshSideObject(),arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis:minLen-arrowLen-arrowPaddingMin-normalizedTetherOffsetValue.mainAxis,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis:maxLen+arrowLen+arrowPaddingMax+normalizedTetherOffsetValue.mainAxis,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?mainAxis==="y"?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=(_offsetModifierState$=offsetModifierState?.[mainAxis])!=null?_offsetModifierState$:0,tetherMin=offset2+minOffset-offsetModifierValue-clientOffset,tetherMax=offset2+maxOffset-offsetModifierValue,preventedOffset=within(tether?math_min(min,tetherMin):min,offset2,tether?math_max(max,tetherMax):max);popperOffsets2[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset2}if(checkAltAxis){var _offsetModifierState$2,_mainSide=mainAxis==="x"?enums_top:left,_altSide=mainAxis==="x"?bottom:right,_offset=popperOffsets2[altAxis],_len=altAxis==="y"?"height":"width",_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],isOriginSide=[enums_top,left].indexOf(basePlacement)!==-1,_offsetModifierValue=(_offsetModifierState$2=offsetModifierState?.[altAxis])!=null?_offsetModifierState$2:0,_tetherMin=isOriginSide?_min:_offset-referenceRect[_len]-popperRect[_len]-_offsetModifierValue+normalizedTetherOffsetValue.altAxis,_tetherMax=isOriginSide?_offset+referenceRect[_len]+popperRect[_len]-_offsetModifierValue-normalizedTetherOffsetValue.altAxis:_max,_preventedOffset=tether&&isOriginSide?withinMaxClamp(_tetherMin,_offset,_tetherMax):within(tether?_tetherMin:_min,_offset,tether?_tetherMax:_max);popperOffsets2[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}state.modifiersData[name]=data}}const modifiers_preventOverflow={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};var toPaddingObject=function(padding,state){return padding=typeof padding=="function"?padding(Object.assign({},state.rects,{placement:state.placement})):padding,mergePaddingObject(typeof padding!="number"?padding:expandToHashMap(padding,basePlacements))};function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets2=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),isVertical=[left,right].indexOf(basePlacement)>=0,len=isVertical?"height":"width";if(!(!arrowElement||!popperOffsets2)){var paddingObject=toPaddingObject(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp=axis==="y"?enums_top:left,maxProp=axis==="y"?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets2[axis]-state.rects.popper[len],startDiff=popperOffsets2[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?axis==="y"?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset2=within(min,center,max),axisProp=axis;state.modifiersData[name]=(_state$modifiersData$={},_state$modifiersData$[axisProp]=offset2,_state$modifiersData$.centerOffset=offset2-center,_state$modifiersData$)}}function arrow_effect(_ref2){var state=_ref2.state,options=_ref2.options,_options$element=options.element,arrowElement=_options$element===void 0?"[data-popper-arrow]":_options$element;arrowElement!=null&&(typeof arrowElement=="string"&&(arrowElement=state.elements.popper.querySelector(arrowElement),!arrowElement)||!contains(state.elements.popper,arrowElement)||(state.elements.arrow=arrowElement))}const modifiers_arrow={name:"arrow",enabled:!0,phase:"main",fn:arrow,effect:arrow_effect,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getSideOffsets(overflow,rect,preventedOffsets){return preventedOffsets===void 0&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[enums_top,right,bottom,left].some(function(side){return overflow[side]>=0})}function hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets,popperEscapeOffsets,isReferenceHidden,hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}var defaultModifiers=[eventListeners,modifiers_popperOffsets,modifiers_computeStyles,modifiers_applyStyles,modifiers_offset,modifiers_flip,modifiers_preventOverflow,modifiers_arrow,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hide}],popper_createPopper=popperGenerator({defaultModifiers})},99820:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(67294);function usePrevious(value2,initialValue){const storedValue=react__WEBPACK_IMPORTED_MODULE_0__.useRef(initialValue);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect(()=>{storedValue.current=value2},[value2]),storedValue.current}const __WEBPACK_DEFAULT_EXPORT__=usePrevious},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,value2){return'The value "'+String(value2)+'" is invalid for option "'+name+'"'}),E("ERR_INVALID_OPT_VALUE_ENCODING",function(value2){return'The value "'+String(value2)+'" 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,parent2,name){var _this=_super.call(this)||this;return _this.children={},_this.steps=[],_this.ino=0,_this.length=0,_this.vol=vol,_this.parent=parent2,_this.steps=parent2?parent2.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(parent2,name,isDirectory,perm){if(isDirectory===void 0&&(isDirectory=!1),!parent2)return new this.props.Link(this,null,"");if(!name)throw new Error("createLink: name cannot be empty");return parent2.createChild(name,this.createNode(isDirectory,perm))},Volume2.prototype.deleteLink=function(link){var parent2=link.parent;return parent2?(parent2.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©FILE_EXCL&&this.existsSync(dest))throw createError(EEXIST,"copyFile",src,dest);if(flags©FILE_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 parent2=this._link.parent;parent2&&(parent2.setMaxListeners(parent2.getMaxListeners()+1),parent2.on("child:delete",this._onParentChild)),persistent&&this._persist()},FSWatcher2.prototype.close=function(){clearTimeout(this._timer),this._link.getNode().removeListener("change",this._onNodeChange);var parent2=this._link.parent;parent2&&parent2.removeListener("child:delete",this._onParentChild)},FSWatcher2}(events_1.EventEmitter);exports.FSWatcher=FSWatcher},82011:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useKey1dNav=exports.use1dNav=void 0;var use_1d_nav_1=__webpack_require__(65923);Object.defineProperty(exports,"use1dNav",{enumerable:!0,get:function(){return use_1d_nav_1.use1dNav}});var use_key_1d_nav_1=__webpack_require__(7639);Object.defineProperty(exports,"useKey1dNav",{enumerable:!0,get:function(){return use_key_1d_nav_1.useKey1dNav}})},65923:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.use1dNav=void 0;const react_1=__webpack_require__(67294),MIN_IDX=0;function use1dNav(length,startIdx=0){const[activeIdx,setActive]=(0,react_1.useState)(startIdx),increment=(0,react_1.useCallback)(()=>setActive(x=>Math.min(x+1,length-1)),[length]),decrement=(0,react_1.useCallback)(()=>setActive(x=>Math.max(x-1,MIN_IDX)),[]),reset=(0,react_1.useCallback)((nextIndex=startIdx)=>setActive(nextIndex),[startIdx]),isActive=(0,react_1.useCallback)(index=>index===activeIdx,[activeIdx]);return{activeIdx,isActive,increment,decrement,reset}}exports.use1dNav=use1dNav},7639:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useKeyHandler=exports.useKey1dNav=void 0;const react_1=__webpack_require__(67294);function useKey1dNav(forwardCallback,nav,direction="vertical",additionalHandlers){const keyHandlers=(0,react_1.useMemo)(()=>{const vertical={ArrowDown:nav.increment,ArrowUp:nav.decrement},horizontal={ArrowRight:nav.increment,ArrowLeft:nav.decrement};return Object.assign(Object.assign(Object.assign({},direction==="vertical"&&vertical),direction==="horizontal"&&horizontal),additionalHandlers)},[nav.increment,nav.decrement,direction,additionalHandlers]);return useKeyHandler(forwardCallback,keyHandlers)}exports.useKey1dNav=useKey1dNav;function useKeyHandler(forwardCallback,keyHandlers){const handlersRef=(0,react_1.useRef)(keyHandlers);return handlersRef.current=keyHandlers,(0,react_1.useCallback)(e=>{if(forwardCallback?.(e),e.defaultPrevented)return;const callback=handlersRef.current[e.key];!callback||(e.preventDefault(),callback(e))},[forwardCallback])}exports.useKeyHandler=useKeyHandler},11389:(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CancelablePromise=exports.PromiseCanceledError=void 0;class PromiseCanceledError extends Error{constructor(){super("Promise was canceled")}}exports.PromiseCanceledError=PromiseCanceledError;class CancelablePromise{constructor(_promise){this._promise=_promise,this.race=Promise.race([this._promise,new Promise((_,reject)=>{this.reject=reject})])}get promise(){return this.race}cancel(){this.reject(new PromiseCanceledError)}}exports.CancelablePromise=CancelablePromise},76549:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.PromiseCanceledError=exports.useQueuedExecution=void 0;var use_queued_execution_1=__webpack_require__(10180);Object.defineProperty(exports,"useQueuedExecution",{enumerable:!0,get:function(){return use_queued_execution_1.useQueuedExecution}}),Object.defineProperty(exports,"PromiseCanceledError",{enumerable:!0,get:function(){return use_queued_execution_1.PromiseCanceledError}})},10180:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useQueuedExecution=exports.PromiseCanceledError=void 0;const react_1=__webpack_require__(67294),cancelable_promise_1=__webpack_require__(11389);var cancelable_promise_2=__webpack_require__(11389);Object.defineProperty(exports,"PromiseCanceledError",{enumerable:!0,get:function(){return cancelable_promise_2.PromiseCanceledError}});function useQueuedExecution(func){const pendingRef=(0,react_1.useRef)(void 0);return(0,react_1.useCallback)((...args)=>{pendingRef.current&&(pendingRef.current.cancel(),pendingRef.current=void 0);const result=func(...args);if("then"in result){const cancelable=new cancelable_promise_1.CancelablePromise(result);return pendingRef.current=cancelable,cancelable.promise}return result},[func])}exports.useQueuedExecution=useQueuedExecution},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
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
Copyright (c) 2018 Jed Watson.
|
|
27
27
|
Licensed under the MIT License (MIT), see
|
|
28
28
|
http://jedwatson.github.io/classnames
|
|
29
|
-
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},29094: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.compareUrl=void 0;const url_parse_1=__importDefault(__webpack_require__(92614));function compareUrl(baseUrl,toMatchUrl,{exact,strict}={}){if(baseUrl===toMatchUrl)return!0;strict||(baseUrl=baseUrl.replace(/\/(?=[?#]|$)/,""),toMatchUrl=toMatchUrl.replace(/\/(?=[?#]|$)/,""));const base=url_parse_1.default(baseUrl),match=url_parse_1.default(toMatchUrl),subUrl=isSubUrl(base,match),exactMatch=!exact||isExactMatch(base,match),strictMatch=!strict||isStrictMatch(base,match);return subUrl&&exactMatch&&strictMatch}exports.compareUrl=compareUrl;function isSubUrl(base,match){return(!match.protocol||match.protocol===base.protocol)&&(!match.hostname||match.hostname===base.hostname)&&(!match.port||match.port===base.port)&&(!match.pathname||base.pathname.startsWith(match.pathname))&&(!match.query||isSubObject(match.query,base.query))&&(!match.hash||match.hash===base.hash)&&(!match.password||match.password===base.password)&&(!match.username||match.username===base.username)}function isExactMatch(base,match){return(!match.pathname||base.pathname===match.pathname)&&(!match.query||isSubObject(base.query,match.query))}function isStrictMatch(base,match){return!match.pathname||base.pathname.endsWith("/")===match.pathname.endsWith("/")}function isSubObject(source,target){return Object.keys(source).every(key=>source[key]===target[key])}},76783:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareUrl=void 0;var compare_url_1=__webpack_require__(29094);Object.defineProperty(exports,"compareUrl",{enumerable:!0,get:function(){return compare_url_1.compareUrl}})},92614:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var required=__webpack_require__(47418),qs=__webpack_require__(57129),slashes=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,protocolre=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,whitespace="[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]",left=new RegExp("^"+whitespace+"+");function trimLeft(str){return(str||"").toString().replace(left,"")}var rules=[["#","hash"],["?","query"],function(address){return address.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ignore={hash:1,query:1};function lolcation(loc){var globalVar;typeof window<"u"?globalVar=window:typeof __webpack_require__.g<"u"?globalVar=__webpack_require__.g:typeof self<"u"?globalVar=self:globalVar={};var location=globalVar.location||{};loc=loc||location;var finaldestination={},type=typeof loc,key;if(loc.protocol==="blob:")finaldestination=new Url(unescape(loc.pathname),{});else if(type==="string"){finaldestination=new Url(loc,{});for(key in ignore)delete finaldestination[key]}else if(type==="object"){for(key in loc)key in ignore||(finaldestination[key]=loc[key]);finaldestination.slashes===void 0&&(finaldestination.slashes=slashes.test(loc.href))}return finaldestination}function extractProtocol(address){address=trimLeft(address);var match=protocolre.exec(address),protocol=match[1]?match[1].toLowerCase():"",slashes2=!!(match[2]&&match[2].length>=2),rest=match[2]&&match[2].length===1?"/"+match[3]:match[3];return{protocol,slashes:slashes2,rest}}function resolve(relative,base){if(relative==="")return base;for(var path=(base||"/").split("/").slice(0,-1).concat(relative.split("/")),i=path.length,last=path[i-1],unshift=!1,up=0;i--;)path[i]==="."?path.splice(i,1):path[i]===".."?(path.splice(i,1),up++):up&&(i===0&&(unshift=!0),path.splice(i,1),up--);return unshift&&path.unshift(""),(last==="."||last==="..")&&path.push(""),path.join("/")}function Url(address,location,parser){if(address=trimLeft(address),!(this instanceof Url))return new Url(address,location,parser);var relative,extracted,parse,instruction,index,key,instructions=rules.slice(),type=typeof location,url=this,i=0;for(type!=="object"&&type!=="string"&&(parser=location,location=null),parser&&typeof parser!="function"&&(parser=qs.parse),location=lolcation(location),extracted=extractProtocol(address||""),relative=!extracted.protocol&&!extracted.slashes,url.slashes=extracted.slashes||relative&&location.slashes,url.protocol=extracted.protocol||location.protocol||"",address=extracted.rest,extracted.slashes||(instructions[3]=[/(.*)/,"pathname"]);i<instructions.length;i++){if(instruction=instructions[i],typeof instruction=="function"){address=instruction(address);continue}parse=instruction[0],key=instruction[1],parse!==parse?url[key]=address:typeof parse=="string"?~(index=address.indexOf(parse))&&(typeof instruction[2]=="number"?(url[key]=address.slice(0,index),address=address.slice(index+instruction[2])):(url[key]=address.slice(index),address=address.slice(0,index))):(index=parse.exec(address))&&(url[key]=index[1],address=address.slice(0,index.index)),url[key]=url[key]||relative&&instruction[3]&&location[key]||"",instruction[4]&&(url[key]=url[key].toLowerCase())}parser&&(url.query=parser(url.query)),relative&&location.slashes&&url.pathname.charAt(0)!=="/"&&(url.pathname!==""||location.pathname!=="")&&(url.pathname=resolve(url.pathname,location.pathname)),url.pathname.charAt(0)!=="/"&&url.hostname&&(url.pathname="/"+url.pathname),required(url.port,url.protocol)||(url.host=url.hostname,url.port=""),url.username=url.password="",url.auth&&(instruction=url.auth.split(":"),url.username=instruction[0]||"",url.password=instruction[1]||""),url.origin=url.protocol&&url.host&&url.protocol!=="file:"?url.protocol+"//"+url.host:"null",url.href=url.toString()}function set(part,value2,fn){var url=this;switch(part){case"query":typeof value2=="string"&&value2.length&&(value2=(fn||qs.parse)(value2)),url[part]=value2;break;case"port":url[part]=value2,required(value2,url.protocol)?value2&&(url.host=url.hostname+":"+value2):(url.host=url.hostname,url[part]="");break;case"hostname":url[part]=value2,url.port&&(value2+=":"+url.port),url.host=value2;break;case"host":url[part]=value2,/:\d+$/.test(value2)?(value2=value2.split(":"),url.port=value2.pop(),url.hostname=value2.join(":")):(url.hostname=value2,url.port="");break;case"protocol":url.protocol=value2.toLowerCase(),url.slashes=!fn;break;case"pathname":case"hash":if(value2){var char=part==="pathname"?"/":"#";url[part]=value2.charAt(0)!==char?char+value2:value2}else url[part]=value2;break;default:url[part]=value2}for(var i=0;i<rules.length;i++){var ins=rules[i];ins[4]&&(url[ins[1]]=url[ins[1]].toLowerCase())}return url.origin=url.protocol&&url.host&&url.protocol!=="file:"?url.protocol+"//"+url.host:"null",url.href=url.toString(),url}function toString(stringify){(!stringify||typeof stringify!="function")&&(stringify=qs.stringify);var query,url=this,protocol=url.protocol;protocol&&protocol.charAt(protocol.length-1)!==":"&&(protocol+=":");var result=protocol+(url.slashes?"//":"");return url.username&&(result+=url.username,url.password&&(result+=":"+url.password),result+="@"),result+=url.host+url.pathname,query=typeof url.query=="object"?stringify(url.query):url.query,query&&(result+=query.charAt(0)!=="?"?"?"+query:query),url.hash&&(result+=url.hash),result}Url.prototype={set,toString},Url.extractProtocol=extractProtocol,Url.location=lolcation,Url.trimLeft=trimLeft,Url.qs=qs,module.exports=Url},62990:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NativeLink=void 0;var native_link_1=__webpack_require__(7210);Object.defineProperty(exports,"NativeLink",{enumerable:!0,get:function(){return native_link_1.NativeLink}})},7210: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};Object.defineProperty(exports,"__esModule",{value:!0}),exports.NativeLink=void 0;const react_1=__importStar(__webpack_require__(67294)),externalLinkAttributes={rel:"noopener",target:"_blank"};function NativeLink(_a){var{href="",external,replace,onClick}=_a,rest=__rest(_a,["href","external","replace","onClick"]);const externalProps=external?externalLinkAttributes:{},handleClick=react_1.useCallback(e=>{const res2=onClick?.(e);return e.defaultPrevented||!replace||external||(e.preventDefault(),window.location.replace(href)),res2},[href,replace,onClick]);return react_1.default.createElement("a",Object.assign({},rest,externalProps,{onClick:handleClick,href}))}exports.NativeLink=NativeLink},98373: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.flexCenter=void 0;const flex_center_module_scss_1=__importDefault(__webpack_require__(49462));exports.flexCenter=flex_center_module_scss_1.default.flexCenter},89270: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__(16586)),react_create_ref_1=__importDefault(__webpack_require__(22184)),abs_container_module_scss_1=__importDefault(__webpack_require__(3473)),positions_module_scss_1=__importDefault(__webpack_require__(24611)),displacement_module_scss_1=__importDefault(__webpack_require__(25109));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},24625: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__(89270),exports)},71027: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.Container=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(16586)),abs_container_module_scss_1=__importDefault(__webpack_require__(3473));function Container(_a){var{className,open,margin,indent,forwardRef,style}=_a,rest=__rest(_a,["className","open","margin","indent","forwardRef","style"]);return react_1.default.createElement("div",Object.assign({ref:forwardRef,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open,style:addDisplacement(margin,indent,style)},rest))}exports.Container=Container;function addDisplacement(margin,indent,baseStyles){if(!margin&&!indent)return baseStyles;const displacement={"--bit-drawer-margin":pixalize(margin),"--bit-drawer-indent":pixalize(indent)};return Object.assign(Object.assign({},baseStyles),displacement)}function pixalize(value2){return typeof value2=="number"?`${value2}px`:value2}},52731: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__(71027),exports)},63867: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__(3473));__exportStar(__webpack_require__(24625),exports),__exportStar(__webpack_require__(52731),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},16586:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
29
|
+
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},29094: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.compareUrl=void 0;const url_parse_1=__importDefault(__webpack_require__(92614));function compareUrl(baseUrl,toMatchUrl,{exact,strict}={}){if(baseUrl===toMatchUrl)return!0;strict||(baseUrl=baseUrl.replace(/\/(?=[?#]|$)/,""),toMatchUrl=toMatchUrl.replace(/\/(?=[?#]|$)/,""));const base=url_parse_1.default(baseUrl),match=url_parse_1.default(toMatchUrl),subUrl=isSubUrl(base,match),exactMatch=!exact||isExactMatch(base,match),strictMatch=!strict||isStrictMatch(base,match);return subUrl&&exactMatch&&strictMatch}exports.compareUrl=compareUrl;function isSubUrl(base,match){return(!match.protocol||match.protocol===base.protocol)&&(!match.hostname||match.hostname===base.hostname)&&(!match.port||match.port===base.port)&&(!match.pathname||base.pathname.startsWith(match.pathname))&&(!match.query||isSubObject(match.query,base.query))&&(!match.hash||match.hash===base.hash)&&(!match.password||match.password===base.password)&&(!match.username||match.username===base.username)}function isExactMatch(base,match){return(!match.pathname||base.pathname===match.pathname)&&(!match.query||isSubObject(base.query,match.query))}function isStrictMatch(base,match){return!match.pathname||base.pathname.endsWith("/")===match.pathname.endsWith("/")}function isSubObject(source,target){return Object.keys(source).every(key=>source[key]===target[key])}},76783:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compareUrl=void 0;var compare_url_1=__webpack_require__(29094);Object.defineProperty(exports,"compareUrl",{enumerable:!0,get:function(){return compare_url_1.compareUrl}})},92614:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var required=__webpack_require__(47418),qs=__webpack_require__(57129),slashes=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,protocolre=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,whitespace="[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]",left=new RegExp("^"+whitespace+"+");function trimLeft(str){return(str||"").toString().replace(left,"")}var rules=[["#","hash"],["?","query"],function(address){return address.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ignore={hash:1,query:1};function lolcation(loc){var globalVar;typeof window<"u"?globalVar=window:typeof __webpack_require__.g<"u"?globalVar=__webpack_require__.g:typeof self<"u"?globalVar=self:globalVar={};var location=globalVar.location||{};loc=loc||location;var finaldestination={},type=typeof loc,key;if(loc.protocol==="blob:")finaldestination=new Url(unescape(loc.pathname),{});else if(type==="string"){finaldestination=new Url(loc,{});for(key in ignore)delete finaldestination[key]}else if(type==="object"){for(key in loc)key in ignore||(finaldestination[key]=loc[key]);finaldestination.slashes===void 0&&(finaldestination.slashes=slashes.test(loc.href))}return finaldestination}function extractProtocol(address){address=trimLeft(address);var match=protocolre.exec(address),protocol=match[1]?match[1].toLowerCase():"",slashes2=!!(match[2]&&match[2].length>=2),rest=match[2]&&match[2].length===1?"/"+match[3]:match[3];return{protocol,slashes:slashes2,rest}}function resolve(relative,base){if(relative==="")return base;for(var path=(base||"/").split("/").slice(0,-1).concat(relative.split("/")),i=path.length,last=path[i-1],unshift=!1,up=0;i--;)path[i]==="."?path.splice(i,1):path[i]===".."?(path.splice(i,1),up++):up&&(i===0&&(unshift=!0),path.splice(i,1),up--);return unshift&&path.unshift(""),(last==="."||last==="..")&&path.push(""),path.join("/")}function Url(address,location,parser){if(address=trimLeft(address),!(this instanceof Url))return new Url(address,location,parser);var relative,extracted,parse,instruction,index,key,instructions=rules.slice(),type=typeof location,url=this,i=0;for(type!=="object"&&type!=="string"&&(parser=location,location=null),parser&&typeof parser!="function"&&(parser=qs.parse),location=lolcation(location),extracted=extractProtocol(address||""),relative=!extracted.protocol&&!extracted.slashes,url.slashes=extracted.slashes||relative&&location.slashes,url.protocol=extracted.protocol||location.protocol||"",address=extracted.rest,extracted.slashes||(instructions[3]=[/(.*)/,"pathname"]);i<instructions.length;i++){if(instruction=instructions[i],typeof instruction=="function"){address=instruction(address);continue}parse=instruction[0],key=instruction[1],parse!==parse?url[key]=address:typeof parse=="string"?~(index=address.indexOf(parse))&&(typeof instruction[2]=="number"?(url[key]=address.slice(0,index),address=address.slice(index+instruction[2])):(url[key]=address.slice(index),address=address.slice(0,index))):(index=parse.exec(address))&&(url[key]=index[1],address=address.slice(0,index.index)),url[key]=url[key]||relative&&instruction[3]&&location[key]||"",instruction[4]&&(url[key]=url[key].toLowerCase())}parser&&(url.query=parser(url.query)),relative&&location.slashes&&url.pathname.charAt(0)!=="/"&&(url.pathname!==""||location.pathname!=="")&&(url.pathname=resolve(url.pathname,location.pathname)),url.pathname.charAt(0)!=="/"&&url.hostname&&(url.pathname="/"+url.pathname),required(url.port,url.protocol)||(url.host=url.hostname,url.port=""),url.username=url.password="",url.auth&&(instruction=url.auth.split(":"),url.username=instruction[0]||"",url.password=instruction[1]||""),url.origin=url.protocol&&url.host&&url.protocol!=="file:"?url.protocol+"//"+url.host:"null",url.href=url.toString()}function set(part,value2,fn){var url=this;switch(part){case"query":typeof value2=="string"&&value2.length&&(value2=(fn||qs.parse)(value2)),url[part]=value2;break;case"port":url[part]=value2,required(value2,url.protocol)?value2&&(url.host=url.hostname+":"+value2):(url.host=url.hostname,url[part]="");break;case"hostname":url[part]=value2,url.port&&(value2+=":"+url.port),url.host=value2;break;case"host":url[part]=value2,/:\d+$/.test(value2)?(value2=value2.split(":"),url.port=value2.pop(),url.hostname=value2.join(":")):(url.hostname=value2,url.port="");break;case"protocol":url.protocol=value2.toLowerCase(),url.slashes=!fn;break;case"pathname":case"hash":if(value2){var char=part==="pathname"?"/":"#";url[part]=value2.charAt(0)!==char?char+value2:value2}else url[part]=value2;break;default:url[part]=value2}for(var i=0;i<rules.length;i++){var ins=rules[i];ins[4]&&(url[ins[1]]=url[ins[1]].toLowerCase())}return url.origin=url.protocol&&url.host&&url.protocol!=="file:"?url.protocol+"//"+url.host:"null",url.href=url.toString(),url}function toString(stringify){(!stringify||typeof stringify!="function")&&(stringify=qs.stringify);var query,url=this,protocol=url.protocol;protocol&&protocol.charAt(protocol.length-1)!==":"&&(protocol+=":");var result=protocol+(url.slashes?"//":"");return url.username&&(result+=url.username,url.password&&(result+=":"+url.password),result+="@"),result+=url.host+url.pathname,query=typeof url.query=="object"?stringify(url.query):url.query,query&&(result+=query.charAt(0)!=="?"?"?"+query:query),url.hash&&(result+=url.hash),result}Url.prototype={set,toString},Url.extractProtocol=extractProtocol,Url.location=lolcation,Url.trimLeft=trimLeft,Url.qs=qs,module.exports=Url},62990:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.NativeLink=void 0;var native_link_1=__webpack_require__(7210);Object.defineProperty(exports,"NativeLink",{enumerable:!0,get:function(){return native_link_1.NativeLink}})},7210: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};Object.defineProperty(exports,"__esModule",{value:!0}),exports.NativeLink=void 0;const react_1=__importStar(__webpack_require__(67294)),externalLinkAttributes={rel:"noopener",target:"_blank"};function NativeLink(_a){var{href="",external,replace,onClick}=_a,rest=__rest(_a,["href","external","replace","onClick"]);const externalProps=external?externalLinkAttributes:{},handleClick=react_1.useCallback(e=>{const res2=onClick?.(e);return e.defaultPrevented||!replace||external||(e.preventDefault(),window.location.replace(href)),res2},[href,replace,onClick]);return react_1.default.createElement("a",Object.assign({},rest,externalProps,{onClick:handleClick,href}))}exports.NativeLink=NativeLink},98373: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.flexCenter=void 0;const flex_center_module_scss_1=__importDefault(__webpack_require__(49462));exports.flexCenter=flex_center_module_scss_1.default.flexCenter},89270: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__(16586)),react_create_ref_1=__importDefault(__webpack_require__(22184)),abs_container_module_scss_1=__importDefault(__webpack_require__(3473)),positions_module_scss_1=__importDefault(__webpack_require__(24611)),displacement_module_scss_1=__importDefault(__webpack_require__(25109));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},24625: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__(89270),exports)},71027: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.Container=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(16586)),abs_container_module_scss_1=__importDefault(__webpack_require__(3473));function Container(_a){var{className,open,margin,indent,forwardRef,style}=_a,rest=__rest(_a,["className","open","margin","indent","forwardRef","style"]);return react_1.default.createElement("div",Object.assign({ref:forwardRef,className:classnames_1.default(abs_container_module_scss_1.default.container,className),"data-open":open,style:addDisplacement(margin,indent,style)},rest))}exports.Container=Container;function addDisplacement(margin,indent,baseStyles){if(!margin&&!indent)return baseStyles;const displacement={"--bit-drawer-margin":pixalize(margin),"--bit-drawer-indent":pixalize(indent)};return Object.assign(Object.assign({},baseStyles),displacement)}function pixalize(value2){return typeof value2=="number"?`${value2}px`:value2}},55549: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__(71027),exports)},63867: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__(3473));__exportStar(__webpack_require__(24625),exports),__exportStar(__webpack_require__(55549),exports),exports.containerClass=abs_container_module_scss_1.default.container,exports.containeeClass=abs_container_module_scss_1.default.containee},16586:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
30
30
|
Copyright (c) 2018 Jed Watson.
|
|
31
31
|
Licensed under the MIT License (MIT), see
|
|
32
32
|
http://jedwatson.github.io/classnames
|
|
@@ -295,15 +295,15 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
|
|
|
295
295
|
Copyright (c) 2018 Jed Watson.
|
|
296
296
|
Licensed under the MIT License (MIT), see
|
|
297
297
|
http://jedwatson.github.io/classnames
|
|
298
|
-
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},62070: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.CodeSnippet=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(8187)),copy_to_clipboard_1=__importDefault(__webpack_require__(20640)),prism_light_1=__importDefault(__webpack_require__(
|
|
298
|
+
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},62070: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.CodeSnippet=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(8187)),copy_to_clipboard_1=__importDefault(__webpack_require__(20640)),prism_light_1=__importDefault(__webpack_require__(5430)),tsx_1=__importDefault(__webpack_require__(10025)),vsc_dark_plus_1=__importDefault(__webpack_require__(38967)),documenter_ui_copied_message_1=__webpack_require__(60908),code_snippet_module_scss_1=__importDefault(__webpack_require__(9982));prism_light_1.default.registerLanguage("tsx",tsx_1.default);const customStyles={fontFamily:"roboto mono",fontSize:12};function CodeSnippet(_a){var{className,frameClass,theme=vsc_dark_plus_1.default,language="tsx",children}=_a,rest=__rest(_a,["className","frameClass","theme","language","children"]);const[isCopied,setIsCopied]=(0,react_1.useState)(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),(0,copy_to_clipboard_1.default)(children.toString())},trimmedChildren=(0,react_1.useMemo)(()=>children.trim(),[children]);return react_1.default.createElement("div",{className:(0,classnames_1.default)(code_snippet_module_scss_1.default.snippetWrapper,className)},react_1.default.createElement(Highlighter,Object.assign({},rest,{className:(0,classnames_1.default)(code_snippet_module_scss_1.default.codeSnippet,frameClass),language,style:theme,customStyle:customStyles}),trimmedChildren),react_1.default.createElement("div",{className:code_snippet_module_scss_1.default.copy},react_1.default.createElement(documenter_ui_copied_message_1.CopiedMessage,{show:isCopied}),react_1.default.createElement("img",{src:"https://static.bit.cloud/Community/icons/copy.svg",onClick:handleClick,className:code_snippet_module_scss_1.default.copyIcon,alt:"Copy"})))}exports.CodeSnippet=CodeSnippet;const Highlighter=(0,react_1.memo)(function(props){return react_1.default.createElement(prism_light_1.default,Object.assign({},props))})},64206: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__(62070),exports)},8187:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
299
299
|
Copyright (c) 2018 Jed Watson.
|
|
300
300
|
Licensed under the MIT License (MIT), see
|
|
301
301
|
http://jedwatson.github.io/classnames
|
|
302
|
-
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},10025:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var refractor_lang_tsx_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(87041),refractor_lang_tsx_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(refractor_lang_tsx_js__WEBPACK_IMPORTED_MODULE_0__);const __WEBPACK_DEFAULT_EXPORT__=refractor_lang_tsx_js__WEBPACK_IMPORTED_MODULE_0___default()},
|
|
302
|
+
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},10025:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var refractor_lang_tsx_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(87041),refractor_lang_tsx_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(refractor_lang_tsx_js__WEBPACK_IMPORTED_MODULE_0__);const __WEBPACK_DEFAULT_EXPORT__=refractor_lang_tsx_js__WEBPACK_IMPORTED_MODULE_0___default()},5430:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>prism_light});var objectWithoutProperties=__webpack_require__(6479),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),objectSpread=__webpack_require__(60693),objectSpread_default=__webpack_require__.n(objectSpread),react=__webpack_require__(67294),helpers_extends=__webpack_require__(67154),extends_default=__webpack_require__.n(helpers_extends);function createStyleObject(classNames){var elementStyle=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce(function(styleObject,className){return objectSpread_default()({},styleObject,stylesheet[className])},elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map(function(child,i){return createElement({node:child,stylesheet,useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})})}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=_ref$style===void 0?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value2=node.value;if(type==="text")return value2;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter(function(className2){return!stylesheet[className2]}),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?objectSpread_default()({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):objectSpread_default()({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return react.createElement(TagName,extends_default()({key},props),children)}}const checkForListedLanguage=function(astGenerator,language){var langs=astGenerator.listLanguages();return langs.indexOf(language)!==-1};var newLineRegex=/\n/g;function getNewLines(str){return str.match(newLineRegex)}function getAllLineNumbers(_ref){var lines=_ref.lines,startingLineNumber=_ref.startingLineNumber,style=_ref.style;return lines.map(function(_,i){var number=i+startingLineNumber;return react.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:typeof style=="function"?style(number):style},"".concat(number,`
|
|
303
303
|
`))})}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(`
|
|
304
|
-
`),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=
|
|
304
|
+
`),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=objectSpread_default()({},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 classNames=className.concat(node.properties.className);newTree=newTree.concat(flattenCodeTree(node.children,classNames))}}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],value2=node.children[0].value,newLines=getNewLines(value2);if(newLines){var splitValue=value2.split(`
|
|
305
305
|
`);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,`
|
|
306
|
-
`)};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=_objectWithoutProperties(_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})))}}var core=__webpack_require__(11215),core_default=__webpack_require__.n(core),SyntaxHighlighter=highlight(core_default(),{});SyntaxHighlighter.registerLanguage=function(_,language){return core_default().register(language)};const prism_light=SyntaxHighlighter},38967:(__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__={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#f9f2f4"},".namespace":{Opacity:".7"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},doctype:{color:"#6a9955"},cdata:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9CDCFE"},symbol:{color:"#b5cea8"},deleted:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},inserted:{color:"#ce9178"},operator:{color:"#d4d4d4",background:"#1e1e1e"},entity:{color:"#4ec9b0",background:"#1e1e1e",cursor:"unset"},url:{color:"#d4d4d4",background:"#1e1e1e"},".language-css .token.string":{color:"#d4d4d4",background:"#1e1e1e"},".style .token.string":{color:"#d4d4d4",background:"#1e1e1e"},atrule:{color:"#c586c0"},"attr-value":{color:"#ce9178"},keyword:{color:"#c586c0"},function:{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#d16969",fontWeight:"bold"},variable:{color:"#d16969"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#4EC9B0"},parameter:{color:"#9CDCFE"},interpolation:{color:"#9CDCFE"},"punctuation.interpolation-punctuation":{color:"#569cd6"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#4ec9b0"},'code[class*="language-javascript"]':{color:"#4ec9b0"},'pre[class*="language-css"]':{color:"#CE9178"},'code[class*="language-css"]':{color:"#CE9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-html .token.punctuation":{color:"#808080"},"pre[data-line]":{position:"relative"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight":{position:"absolute",left:"0",right:"0",padding:"inherit 0",marginTop:"1em",background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0",pointerEvents:"none",lineHeight:"inherit",whiteSpace:"pre"}}},94838: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.ConsumableLink=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(87038)),base_ui_layout_grid_component_1=__webpack_require__(42711),documenter_ui_copy_box_1=__webpack_require__(40238),documenter_ui_paragraph_1=__webpack_require__(38094),consumable_link_module_scss_1=__importDefault(__webpack_require__(84369));function ConsumableLink(_a){var{title,link,className}=_a,rest=__rest(_a,["title","link","className"]);return react_1.default.createElement(base_ui_layout_grid_component_1.Grid,Object.assign({colMd:2,className:classnames_1.default(consumable_link_module_scss_1.default.copyMethod,className)},rest),react_1.default.createElement(documenter_ui_paragraph_1.Paragraph,{className:consumable_link_module_scss_1.default.copyTitle,size:"xs"},title),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,{className:consumable_link_module_scss_1.default.copyBox},link))}exports.ConsumableLink=ConsumableLink},3192: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__(94838),exports)},98747: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.CopiedMessage=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(87038)),copied_message_module_scss_1=__importDefault(__webpack_require__(9113));function CopiedMessage(_a){var{className,show}=_a,rest=__rest(_a,["className","show"]);return react_1.default.createElement("span",Object.assign({},rest,{className:classnames_1.default(copied_message_module_scss_1.default.copiedMessage,{[copied_message_module_scss_1.default.showMessage]:show},className)}),"Copied")}exports.CopiedMessage=CopiedMessage,CopiedMessage.defaultProps={show:!1}},38975: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__(98747),exports)},71738: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.CopyBox=void 0;const react_1=__importStar(__webpack_require__(67294)),copy_to_clipboard_1=__importDefault(__webpack_require__(20640)),classnames_1=__importDefault(__webpack_require__(87038)),documenter_ui_copied_message_1=__webpack_require__(38975),evangelist_elements_icon_1=__webpack_require__(54560),base_ui_layout_grid_component_1=__webpack_require__(42711),copy_box_module_scss_1=__importDefault(__webpack_require__(93495));function CopyBox(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);const[isCopied,setIsCopied]=react_1.useState(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),copy_to_clipboard_1.default(children)};return react_1.default.createElement(base_ui_layout_grid_component_1.Grid,Object.assign({colMd:2,className:classnames_1.default(copy_box_module_scss_1.default.copyBox,className)},rest),react_1.default.createElement("div",{className:copy_box_module_scss_1.default.leftSection},children),react_1.default.createElement("div",{className:copy_box_module_scss_1.default.rightSection},react_1.default.createElement(documenter_ui_copied_message_1.CopiedMessage,{show:isCopied}),react_1.default.createElement("button",{className:copy_box_module_scss_1.default.button,onClick:handleClick},react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:copy_box_module_scss_1.default.copyIcon,of:"copy-cmp"}))))}exports.CopyBox=CopyBox},40238: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__(71738),exports)},87038:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
306
|
+
`)};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=objectWithoutProperties_default()(_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})))}}var core=__webpack_require__(11215),core_default=__webpack_require__.n(core),SyntaxHighlighter=highlight(core_default(),{});SyntaxHighlighter.registerLanguage=function(_,language){return core_default().register(language)};const prism_light=SyntaxHighlighter},38967:(__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__={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#f9f2f4"},".namespace":{Opacity:".7"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},doctype:{color:"#6a9955"},cdata:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9CDCFE"},symbol:{color:"#b5cea8"},deleted:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},inserted:{color:"#ce9178"},operator:{color:"#d4d4d4",background:"#1e1e1e"},entity:{color:"#4ec9b0",background:"#1e1e1e",cursor:"unset"},url:{color:"#d4d4d4",background:"#1e1e1e"},".language-css .token.string":{color:"#d4d4d4",background:"#1e1e1e"},".style .token.string":{color:"#d4d4d4",background:"#1e1e1e"},atrule:{color:"#c586c0"},"attr-value":{color:"#ce9178"},keyword:{color:"#c586c0"},function:{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#d16969",fontWeight:"bold"},variable:{color:"#d16969"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#4EC9B0"},parameter:{color:"#9CDCFE"},interpolation:{color:"#9CDCFE"},"punctuation.interpolation-punctuation":{color:"#569cd6"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#4ec9b0"},'code[class*="language-javascript"]':{color:"#4ec9b0"},'pre[class*="language-css"]':{color:"#CE9178"},'code[class*="language-css"]':{color:"#CE9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-html .token.punctuation":{color:"#808080"},"pre[data-line]":{position:"relative"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight":{position:"absolute",left:"0",right:"0",padding:"inherit 0",marginTop:"1em",background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0",pointerEvents:"none",lineHeight:"inherit",whiteSpace:"pre"}}},94838: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.ConsumableLink=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(87038)),base_ui_layout_grid_component_1=__webpack_require__(42711),documenter_ui_copy_box_1=__webpack_require__(40238),documenter_ui_paragraph_1=__webpack_require__(38094),consumable_link_module_scss_1=__importDefault(__webpack_require__(84369));function ConsumableLink(_a){var{title,link,className}=_a,rest=__rest(_a,["title","link","className"]);return react_1.default.createElement(base_ui_layout_grid_component_1.Grid,Object.assign({colMd:2,className:classnames_1.default(consumable_link_module_scss_1.default.copyMethod,className)},rest),react_1.default.createElement(documenter_ui_paragraph_1.Paragraph,{className:consumable_link_module_scss_1.default.copyTitle,size:"xs"},title),react_1.default.createElement(documenter_ui_copy_box_1.CopyBox,{className:consumable_link_module_scss_1.default.copyBox},link))}exports.ConsumableLink=ConsumableLink},3192: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__(94838),exports)},98747: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.CopiedMessage=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(87038)),copied_message_module_scss_1=__importDefault(__webpack_require__(9113));function CopiedMessage(_a){var{className,show}=_a,rest=__rest(_a,["className","show"]);return react_1.default.createElement("span",Object.assign({},rest,{className:classnames_1.default(copied_message_module_scss_1.default.copiedMessage,{[copied_message_module_scss_1.default.showMessage]:show},className)}),"Copied")}exports.CopiedMessage=CopiedMessage,CopiedMessage.defaultProps={show:!1}},38975: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__(98747),exports)},71738: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.CopyBox=void 0;const react_1=__importStar(__webpack_require__(67294)),copy_to_clipboard_1=__importDefault(__webpack_require__(20640)),classnames_1=__importDefault(__webpack_require__(87038)),documenter_ui_copied_message_1=__webpack_require__(38975),evangelist_elements_icon_1=__webpack_require__(54560),base_ui_layout_grid_component_1=__webpack_require__(42711),copy_box_module_scss_1=__importDefault(__webpack_require__(93495));function CopyBox(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);const[isCopied,setIsCopied]=react_1.useState(!1),handleClick=()=>{setIsCopied(!0),setTimeout(()=>setIsCopied(!1),2e3),copy_to_clipboard_1.default(children)};return react_1.default.createElement(base_ui_layout_grid_component_1.Grid,Object.assign({colMd:2,className:classnames_1.default(copy_box_module_scss_1.default.copyBox,className)},rest),react_1.default.createElement("div",{className:copy_box_module_scss_1.default.leftSection},children),react_1.default.createElement("div",{className:copy_box_module_scss_1.default.rightSection},react_1.default.createElement(documenter_ui_copied_message_1.CopiedMessage,{show:isCopied}),react_1.default.createElement("button",{className:copy_box_module_scss_1.default.button,onClick:handleClick},react_1.default.createElement(evangelist_elements_icon_1.Icon,{className:copy_box_module_scss_1.default.copyIcon,of:"copy-cmp"}))))}exports.CopyBox=CopyBox},40238: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__(71738),exports)},87038:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
307
307
|
Copyright (c) 2018 Jed Watson.
|
|
308
308
|
Licensed under the MIT License (MIT), see
|
|
309
309
|
http://jedwatson.github.io/classnames
|
|
@@ -375,15 +375,15 @@ the following are permitted ${Object.keys(exports.IssuesClasses).join(", ")}`);c
|
|
|
375
375
|
Copyright (c) 2018 Jed Watson.
|
|
376
376
|
Licensed under the MIT License (MIT), see
|
|
377
377
|
http://jedwatson.github.io/classnames
|
|
378
|
-
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},40108: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__(11186),exports)},11186: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.TableRow=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(72200)),base_ui_layout_grid_component_1=__webpack_require__(44888),documenter_ui_table_column_1=__webpack_require__(95231),table_row_module_scss_1=__importDefault(__webpack_require__(55658)),default_highlight_1=__importDefault(__webpack_require__(
|
|
378
|
+
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},40108: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__(11186),exports)},11186: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.TableRow=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(72200)),base_ui_layout_grid_component_1=__webpack_require__(44888),documenter_ui_table_column_1=__webpack_require__(95231),table_row_module_scss_1=__importDefault(__webpack_require__(55658)),default_highlight_1=__importDefault(__webpack_require__(74570)),xcode_1=__importDefault(__webpack_require__(48167));function TableRow({row,colNumber=4,headings,isListView,className}){return react_1.default.createElement(base_ui_layout_grid_component_1.Grid,{col:colNumber,className:classnames_1.default(table_row_module_scss_1.default.propRow,{[table_row_module_scss_1.default.singleColumn]:isListView},className)},headings.map((title,index)=>{var _a;if(title!=="required")return title==="name"?react_1.default.createElement(documenter_ui_table_column_1.TableColumn,{className:table_row_module_scss_1.default.breakWord,key:index},react_1.default.createElement("div",{className:classnames_1.default(table_row_module_scss_1.default.mobileTitle,{[table_row_module_scss_1.default.show]:isListView})},title),react_1.default.createElement("div",{className:table_row_module_scss_1.default.columnContent},react_1.default.createElement("div",{className:table_row_module_scss_1.default.name},row[title]),row.required&&react_1.default.createElement("div",{className:table_row_module_scss_1.default.required},"(Required)"))):title==="type"?react_1.default.createElement(documenter_ui_table_column_1.TableColumn,{className:classnames_1.default(table_row_module_scss_1.default.breakWord,table_row_module_scss_1.default.typeColumn),key:index},react_1.default.createElement("div",{className:classnames_1.default(table_row_module_scss_1.default.mobileTitle,{[table_row_module_scss_1.default.show]:isListView})},title),react_1.default.createElement(default_highlight_1.default,{theme:xcode_1.default,language:"javascript",className:table_row_module_scss_1.default.highlighted},row[title])):title==="default"?react_1.default.createElement(documenter_ui_table_column_1.TableColumn,{className:table_row_module_scss_1.default.breakWord,key:index},react_1.default.createElement("div",{className:classnames_1.default(table_row_module_scss_1.default.mobileTitle,{[table_row_module_scss_1.default.show]:isListView})},title),react_1.default.createElement("span",{className:table_row_module_scss_1.default.default},row[title]&&((_a=row[title])===null||_a===void 0?void 0:_a.value)||"-")):title==="description"?react_1.default.createElement(documenter_ui_table_column_1.TableColumn,{className:table_row_module_scss_1.default.breakWord,key:index},row[title]):react_1.default.createElement(documenter_ui_table_column_1.TableColumn,{className:table_row_module_scss_1.default.breakWord,key:index},react_1.default.createElement("div",{className:classnames_1.default(table_row_module_scss_1.default.mobileTitle,{[table_row_module_scss_1.default.show]:isListView})},title),row[title])}))}exports.TableRow=TableRow},19445: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.colGridXl=exports.colGridLg=exports.colGridL=exports.colGridMd=exports.colGridSm=exports.colGridXs=exports.colGrid=void 0;const grid_template_module_scss_1=__importDefault(__webpack_require__(70538));exports.colGrid=makePreset("all"),exports.colGridXs=makePreset("xs"),exports.colGridSm=makePreset("sm"),exports.colGridMd=makePreset("md"),exports.colGridL=makePreset("l"),exports.colGridLg=makePreset("lg"),exports.colGridXl=makePreset("xl");function makePreset(breakPoints){const obj={};for(var i=1;i<=12;i++)obj[i]=grid_template_module_scss_1.default[`colTemplate--${breakPoints}-${i}`];return obj}},29699: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.Grid=void 0;const react_1=__importStar(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(72200)),grid_module_scss_1=__importDefault(__webpack_require__(37057)),grid_template_1=__webpack_require__(19445);class Grid extends react_1.PureComponent{render(){const _a=this.props,{className,col,colL,colLg,colMd,colSm,colXl,colXs}=_a,rest=__rest(_a,["className","col","colL","colLg","colMd","colSm","colXl","colXs"]),classes=[className,grid_module_scss_1.default.gridContainer];return col!==void 0&&classes.push(grid_template_1.colGrid[col]),colL!==void 0&&classes.push(grid_template_1.colGridL[colL]),colLg!==void 0&&classes.push(grid_template_1.colGridLg[colLg]),colMd!==void 0&&classes.push(grid_template_1.colGridMd[colMd]),colSm!==void 0&&classes.push(grid_template_1.colGridSm[colSm]),colXl!==void 0&&classes.push(grid_template_1.colGridXl[colXl]),colXs!==void 0&&classes.push(grid_template_1.colGridXs[colXs]),react_1.default.createElement("div",Object.assign({"data-bit-id":"teambit.base-ui/layout/grid-component"},rest,{className:classnames_1.default(...classes)}))}}exports.Grid=Grid},44888:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Grid=void 0;var grid_1=__webpack_require__(29699);Object.defineProperty(exports,"Grid",{enumerable:!0,get:function(){return grid_1.Grid}})},72200:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
379
379
|
Copyright (c) 2018 Jed Watson.
|
|
380
380
|
Licensed under the MIT License (MIT), see
|
|
381
381
|
http://jedwatson.github.io/classnames
|
|
382
|
-
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},
|
|
382
|
+
*/(function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i<arguments.length;i++){var arg=arguments[i];if(!!arg){var argType=typeof arg;if(argType==="string"||argType==="number")classes.push(arg);else if(Array.isArray(arg)){if(arg.length){var inner=classNames.apply(null,arg);inner&&classes.push(inner)}}else if(argType==="object")if(arg.toString===Object.prototype.toString)for(var key in arg)hasOwn.call(arg,key)&&arg[key]&&classes.push(key);else classes.push(arg.toString())}}return classes.join(" ")}module.exports?(classNames.default=classNames,module.exports=classNames):(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return classNames}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))})()},74570:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>default_highlight});var objectWithoutProperties=__webpack_require__(6479),objectWithoutProperties_default=__webpack_require__.n(objectWithoutProperties),objectSpread=__webpack_require__(60693),objectSpread_default=__webpack_require__.n(objectSpread),react=__webpack_require__(67294),helpers_extends=__webpack_require__(67154),extends_default=__webpack_require__.n(helpers_extends);function createStyleObject(classNames){var elementStyle=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce(function(styleObject,className){return objectSpread_default()({},styleObject,stylesheet[className])},elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map(function(child,i){return createElement({node:child,stylesheet,useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})})}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=_ref$style===void 0?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value2=node.value;if(type==="text")return value2;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter(function(className2){return!stylesheet[className2]}),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?objectSpread_default()({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):objectSpread_default()({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return react.createElement(TagName,extends_default()({key},props),children)}}const checkForListedLanguage=function(astGenerator,language){var langs=astGenerator.listLanguages();return langs.indexOf(language)!==-1};var newLineRegex=/\n/g;function getNewLines(str){return str.match(newLineRegex)}function getAllLineNumbers(_ref){var lines=_ref.lines,startingLineNumber=_ref.startingLineNumber,style=_ref.style;return lines.map(function(_,i){var number=i+startingLineNumber;return react.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:typeof style=="function"?style(number):style},"".concat(number,`
|
|
383
383
|
`))})}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(`
|
|
384
|
-
`),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=
|
|
384
|
+
`),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=objectSpread_default()({},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 classNames=className.concat(node.properties.className);newTree=newTree.concat(flattenCodeTree(node.children,classNames))}}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],value2=node.children[0].value,newLines=getNewLines(value2);if(newLines){var splitValue=value2.split(`
|
|
385
385
|
`);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,`
|
|
386
|
-
`)};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=_objectWithoutProperties(_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},48167:(__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"}}},46092: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.Table=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(86512)),base_table_module_scss_1=__importDefault(__webpack_require__(21465));function Table(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("table",Object.assign({},rest,{className:(0,classnames_1.default)(base_table_module_scss_1.default.table,className)}),children)}exports.Table=Table},34725:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(46092);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},86512:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
386
|
+
`)};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=objectWithoutProperties_default()(_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},48167:(__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"}}},46092: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.Table=void 0;const react_1=__importDefault(__webpack_require__(67294)),classnames_1=__importDefault(__webpack_require__(86512)),base_table_module_scss_1=__importDefault(__webpack_require__(21465));function Table(_a){var{children,className}=_a,rest=__rest(_a,["children","className"]);return react_1.default.createElement("table",Object.assign({},rest,{className:(0,classnames_1.default)(base_table_module_scss_1.default.table,className)}),children)}exports.Table=Table},34725:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Table=void 0;var base_table_1=__webpack_require__(46092);Object.defineProperty(exports,"Table",{enumerable:!0,get:function(){return base_table_1.Table}})},86512:(module,exports)=>{var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
387
387
|
Copyright (c) 2018 Jed Watson.
|
|
388
388
|
Licensed under the MIT License (MIT), see
|
|
389
389
|
http://jedwatson.github.io/classnames
|
|
@@ -1268,12 +1268,12 @@ For more information about these options, please refer to the documentation:
|
|
|
1268
1268
|
* Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects
|
|
1269
1269
|
`))}}}}var InMemoryCache=function(_super){__extends(InMemoryCache2,_super);function InMemoryCache2(config){config===void 0&&(config={});var _this=_super.call(this)||this;return _this.watches=new Set,_this.typenameDocumentCache=new Map,_this.makeVar=makeVar,_this.txCount=0,_this.config=normalizeConfig(config),_this.addTypename=!!_this.config.addTypename,_this.policies=new Policies({cache:_this,dataIdFromObject:_this.config.dataIdFromObject,possibleTypes:_this.config.possibleTypes,typePolicies:_this.config.typePolicies}),_this.init(),_this}return InMemoryCache2.prototype.init=function(){var rootStore=this.data=new EntityStore.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=rootStore.stump,this.resetResultCache()},InMemoryCache2.prototype.resetResultCache=function(resetResultIdentities){var _this=this,previousReader=this.storeReader;this.storeWriter=new StoreWriter(this,this.storeReader=new StoreReader({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:shouldCanonizeResults(this.config),canon:resetResultIdentities?void 0:previousReader&&previousReader.canon})),this.maybeBroadcastWatch=wrap(function(c,options){return _this.broadcastWatch(c,options)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(c){var store=c.optimistic?_this.optimisticData:_this.data;if(supportsResultCaching(store)){var optimistic=c.optimistic,rootId=c.rootId,variables=c.variables;return store.makeCacheKey(c.query,c.callback,canonicalStringify({optimistic,rootId,variables}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(group){return group.resetCaching()})},InMemoryCache2.prototype.restore=function(data){return this.init(),data&&this.data.replace(data),this},InMemoryCache2.prototype.extract=function(optimistic){return optimistic===void 0&&(optimistic=!1),(optimistic?this.optimisticData:this.data).extract()},InMemoryCache2.prototype.read=function(options){var _a2=options.returnPartialData,returnPartialData=_a2===void 0?!1:_a2;try{return this.storeReader.diffQueryAgainstStore(__assign(__assign({},options),{store:options.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData})).result||null}catch(e){if(e instanceof MissingFieldError)return null;throw e}},InMemoryCache2.prototype.write=function(options){try{return++this.txCount,this.storeWriter.writeToStore(this.data,options)}finally{!--this.txCount&&options.broadcast!==!1&&this.broadcastWatches()}},InMemoryCache2.prototype.modify=function(options){if(hasOwn.call(options,"id")&&!options.id)return!1;var store=options.optimistic?this.optimisticData:this.data;try{return++this.txCount,store.modify(options.id||"ROOT_QUERY",options.fields)}finally{!--this.txCount&&options.broadcast!==!1&&this.broadcastWatches()}},InMemoryCache2.prototype.diff=function(options){return this.storeReader.diffQueryAgainstStore(__assign(__assign({},options),{store:options.optimistic?this.optimisticData:this.data,rootId:options.id||"ROOT_QUERY",config:this.config}))},InMemoryCache2.prototype.watch=function(watch){var _this=this;return this.watches.size||recallCache(this),this.watches.add(watch),watch.immediate&&this.maybeBroadcastWatch(watch),function(){_this.watches.delete(watch)&&!_this.watches.size&&forgetCache(_this),_this.maybeBroadcastWatch.forget(watch)}},InMemoryCache2.prototype.gc=function(options){canonicalStringify.reset();var ids=this.optimisticData.gc();return options&&!this.txCount&&(options.resetResultCache?this.resetResultCache(options.resetResultIdentities):options.resetResultIdentities&&this.storeReader.resetCanon()),ids},InMemoryCache2.prototype.retain=function(rootId,optimistic){return(optimistic?this.optimisticData:this.data).retain(rootId)},InMemoryCache2.prototype.release=function(rootId,optimistic){return(optimistic?this.optimisticData:this.data).release(rootId)},InMemoryCache2.prototype.identify=function(object){if(isReference(object))return object.__ref;try{return this.policies.identify(object)[0]}catch(e){__DEV__&&invariant.warn(e)}},InMemoryCache2.prototype.evict=function(options){if(!options.id){if(hasOwn.call(options,"id"))return!1;options=__assign(__assign({},options),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(options,this.data)}finally{!--this.txCount&&options.broadcast!==!1&&this.broadcastWatches()}},InMemoryCache2.prototype.reset=function(options){var _this=this;return this.init(),canonicalStringify.reset(),options&&options.discardWatches?(this.watches.forEach(function(watch){return _this.maybeBroadcastWatch.forget(watch)}),this.watches.clear(),forgetCache(this)):this.broadcastWatches(),Promise.resolve()},InMemoryCache2.prototype.removeOptimistic=function(idToRemove){var newOptimisticData=this.optimisticData.removeLayer(idToRemove);newOptimisticData!==this.optimisticData&&(this.optimisticData=newOptimisticData,this.broadcastWatches())},InMemoryCache2.prototype.batch=function(options){var _this=this,update=options.update,_a2=options.optimistic,optimistic=_a2===void 0?!0:_a2,removeOptimistic=options.removeOptimistic,onWatchUpdated=options.onWatchUpdated,updateResult,perform=function(layer){var _a3=_this,data=_a3.data,optimisticData=_a3.optimisticData;++_this.txCount,layer&&(_this.data=_this.optimisticData=layer);try{return updateResult=update(_this)}finally{--_this.txCount,_this.data=data,_this.optimisticData=optimisticData}},alreadyDirty=new Set;return onWatchUpdated&&!this.txCount&&this.broadcastWatches(__assign(__assign({},options),{onWatchUpdated:function(watch){return alreadyDirty.add(watch),!1}})),typeof optimistic=="string"?this.optimisticData=this.optimisticData.addLayer(optimistic,perform):optimistic===!1?perform(this.data):perform(),typeof removeOptimistic=="string"&&(this.optimisticData=this.optimisticData.removeLayer(removeOptimistic)),onWatchUpdated&&alreadyDirty.size?(this.broadcastWatches(__assign(__assign({},options),{onWatchUpdated:function(watch,diff){var result=onWatchUpdated.call(this,watch,diff);return result!==!1&&alreadyDirty.delete(watch),result}})),alreadyDirty.size&&alreadyDirty.forEach(function(watch){return _this.maybeBroadcastWatch.dirty(watch)})):this.broadcastWatches(options),updateResult},InMemoryCache2.prototype.performTransaction=function(update,optimisticId){return this.batch({update,optimistic:optimisticId||optimisticId!==null})},InMemoryCache2.prototype.transformDocument=function(document2){if(this.addTypename){var result=this.typenameDocumentCache.get(document2);return result||(result=addTypenameToDocument(document2),this.typenameDocumentCache.set(document2,result),this.typenameDocumentCache.set(result,result)),result}return document2},InMemoryCache2.prototype.broadcastWatches=function(options){var _this=this;this.txCount||this.watches.forEach(function(c){return _this.maybeBroadcastWatch(c,options)})},InMemoryCache2.prototype.broadcastWatch=function(c,options){var lastDiff=c.lastDiff,diff=this.diff(c);options&&(c.optimistic&&typeof options.optimistic=="string"&&(diff.fromOptimisticTransaction=!0),options.onWatchUpdated&&options.onWatchUpdated.call(this,c,diff,lastDiff)===!1)||(!lastDiff||!equal(lastDiff.result,diff.result))&&c.callback(c.lastDiff=diff,lastDiff)},InMemoryCache2}(ApolloCache),empty=ApolloLink.empty,from2=ApolloLink.from,split=ApolloLink.split,concat=ApolloLink.concat;function toPromise(observable){var completed=!1;return new Promise(function(resolve,reject){observable.subscribe({next:function(data){completed?__DEV__&&invariant.warn("Promise Wrapper does not support multiple results from Observable"):(completed=!0,resolve(data))},error:reject})})}function fromPromise(promise){return new Observable(function(observer){promise.then(function(value2){observer.next(value2),observer.complete()}).catch(observer.error.bind(observer))})}var parser=__webpack_require__(93484),docCache=new Map,fragmentSourceMap=new Map,printFragmentWarnings=!0,experimentalFragmentVariables=!1;function lib_normalize(string){return string.replace(/[\s,]+/g," ").trim()}function cacheKeyFromLoc(loc){return lib_normalize(loc.source.body.substring(loc.start,loc.end))}function processFragments(ast){var seenKeys=new Set,definitions=[];return ast.definitions.forEach(function(fragmentDefinition){if(fragmentDefinition.kind==="FragmentDefinition"){var fragmentName=fragmentDefinition.name.value,sourceKey=cacheKeyFromLoc(fragmentDefinition.loc),sourceKeySet=fragmentSourceMap.get(fragmentName);sourceKeySet&&!sourceKeySet.has(sourceKey)?printFragmentWarnings&&console.warn("Warning: fragment with name "+fragmentName+` already exists.
|
|
1270
1270
|
graphql-tag enforces all fragment names across your application to be unique; read more about
|
|
1271
|
-
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):sourceKeySet||fragmentSourceMap.set(fragmentName,sourceKeySet=new Set),sourceKeySet.add(sourceKey),seenKeys.has(sourceKey)||(seenKeys.add(sourceKey),definitions.push(fragmentDefinition))}else definitions.push(fragmentDefinition)}),__assign(__assign({},ast),{definitions})}function stripLoc(doc){var workSet=new Set(doc.definitions);workSet.forEach(function(node){node.loc&&delete node.loc,Object.keys(node).forEach(function(key){var value2=node[key];value2&&typeof value2=="object"&&workSet.add(value2)})});var loc=doc.loc;return loc&&(delete loc.startToken,delete loc.endToken),doc}function parseDocument(source2){var cacheKey=lib_normalize(source2);if(!docCache.has(cacheKey)){var parsed=(0,parser.parse)(source2,{experimentalFragmentVariables,allowLegacyFragmentVariables:experimentalFragmentVariables});if(!parsed||parsed.kind!=="Document")throw new Error("Not a valid GraphQL document.");docCache.set(cacheKey,stripLoc(processFragments(parsed)))}return docCache.get(cacheKey)}function gql(literals){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];typeof literals=="string"&&(literals=[literals]);var result=literals[0];return args.forEach(function(arg,i){arg&&arg.kind==="Document"?result+=arg.loc.source.body:result+=arg,result+=literals[i+1]}),parseDocument(result)}function resetCaches(){docCache.clear(),fragmentSourceMap.clear()}function disableFragmentWarnings(){printFragmentWarnings=!1}function enableExperimentalFragmentVariables(){experimentalFragmentVariables=!0}function disableExperimentalFragmentVariables(){experimentalFragmentVariables=!1}var extras={gql,resetCaches,disableFragmentWarnings,enableExperimentalFragmentVariables,disableExperimentalFragmentVariables};(function(gql_1){gql_1.gql=extras.gql,gql_1.resetCaches=extras.resetCaches,gql_1.disableFragmentWarnings=extras.disableFragmentWarnings,gql_1.enableExperimentalFragmentVariables=extras.enableExperimentalFragmentVariables,gql_1.disableExperimentalFragmentVariables=extras.disableExperimentalFragmentVariables})(gql||(gql={})),gql.default=gql;const lib=null;setVerbosity(DEV?"log":"silent");var react=__webpack_require__(67294),react_namespaceObject=__webpack_require__.t(react,2),contextKey=canUseSymbol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function getApolloContext(){var context=react.createContext[contextKey];return context||(Object.defineProperty(react.createContext,contextKey,{value:context=react.createContext({}),enumerable:!1,writable:!1,configurable:!0}),context.displayName="ApolloContext"),context}var ApolloProvider=function(_a2){var client=_a2.client,children=_a2.children,ApolloContext=getApolloContext();return react.createElement(ApolloContext.Consumer,null,function(context){return context===void 0&&(context={}),client&&context.client!==client&&(context=Object.assign({},context,{client})),__DEV__?invariant(context.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):invariant(context.client,26),react.createElement(ApolloContext.Provider,{value:context},children)})},ApolloConsumer=function(props){var ApolloContext=getApolloContext();return react.createElement(ApolloContext.Consumer,null,function(context){return __DEV__?invariant(context&&context.client,'Could not find "client" in the context of ApolloConsumer. Wrap the root component in an <ApolloProvider>.'):invariant(context&&context.client,25),props.children(context.client)})};function useApolloClient(override){var context=(0,react.useContext)(getApolloContext()),client=override||context.client;return __DEV__?invariant(!!client,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):invariant(!!client,29),client}var didWarnUncachedGetSnapshot=!1,uSESKey="useSyncExternalStore",realHook=react_namespaceObject[uSESKey],useSyncExternalStore=realHook||function(subscribe,getSnapshot,getServerSnapshot){var value2=getSnapshot();__DEV__&&!didWarnUncachedGetSnapshot&&value2!==getSnapshot()&&(didWarnUncachedGetSnapshot=!0,__DEV__&&invariant.error("The result of getSnapshot should be cached to avoid an infinite loop"));var _a2=react.useState({inst:{value:value2,getSnapshot}}),inst=_a2[0].inst,forceUpdate=_a2[1];return canUseLayoutEffect?react.useLayoutEffect(function(){Object.assign(inst,{value:value2,getSnapshot}),checkIfSnapshotChanged(inst)&&forceUpdate({inst})},[subscribe,value2,getSnapshot]):Object.assign(inst,{value:value2,getSnapshot}),react.useEffect(function(){return checkIfSnapshotChanged(inst)&&forceUpdate({inst}),subscribe(function(){checkIfSnapshotChanged(inst)&&forceUpdate({inst})})},[subscribe]),value2};function checkIfSnapshotChanged(_a2){var value2=_a2.value,getSnapshot=_a2.getSnapshot;try{return value2!==getSnapshot()}catch{return!0}}var DocumentType;(function(DocumentType2){DocumentType2[DocumentType2.Query=0]="Query",DocumentType2[DocumentType2.Mutation=1]="Mutation",DocumentType2[DocumentType2.Subscription=2]="Subscription"})(DocumentType||(DocumentType={}));var cache=new Map;function operationName(type){var name;switch(type){case DocumentType.Query:name="Query";break;case DocumentType.Mutation:name="Mutation";break;case DocumentType.Subscription:name="Subscription";break}return name}function parser_parser(document2){var cached=cache.get(document2);if(cached)return cached;var variables,type,name;__DEV__?invariant(!!document2&&!!document2.kind,"Argument of ".concat(document2," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):invariant(!!document2&&!!document2.kind,30);for(var fragments=[],queries=[],mutations=[],subscriptions=[],_i=0,_a2=document2.definitions;_i<_a2.length;_i++){var x=_a2[_i];if(x.kind==="FragmentDefinition"){fragments.push(x);continue}if(x.kind==="OperationDefinition")switch(x.operation){case"query":queries.push(x);break;case"mutation":mutations.push(x);break;case"subscription":subscriptions.push(x);break}}__DEV__?invariant(!fragments.length||queries.length||mutations.length||subscriptions.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):invariant(!fragments.length||queries.length||mutations.length||subscriptions.length,31),__DEV__?invariant(queries.length+mutations.length+subscriptions.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(document2," had ").concat(queries.length," queries, ").concat(subscriptions.length," ")+"subscriptions and ".concat(mutations.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):invariant(queries.length+mutations.length+subscriptions.length<=1,32),type=queries.length?DocumentType.Query:DocumentType.Mutation,!queries.length&&!mutations.length&&(type=DocumentType.Subscription);var definitions=queries.length?queries:mutations.length?mutations:subscriptions;__DEV__?invariant(definitions.length===1,"react-apollo only supports one definition per HOC. ".concat(document2," had ")+"".concat(definitions.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):invariant(definitions.length===1,33);var definition=definitions[0];variables=definition.variableDefinitions||[],definition.name&&definition.name.kind==="Name"?name=definition.name.value:name="data";var payload={name,type,variables};return cache.set(document2,payload),payload}function verifyDocumentType(document2,type){var operation=parser_parser(document2),requiredOperationName=operationName(type),usedOperationName=operationName(operation.type);__DEV__?invariant(operation.type===type,"Running a ".concat(requiredOperationName," requires a graphql ")+"".concat(requiredOperationName,", but a ").concat(usedOperationName," was used instead.")):invariant(operation.type===type,34)}var useQuery_hasOwnProperty=Object.prototype.hasOwnProperty;function useQuery(query,options){return options===void 0&&(options=Object.create(null)),useInternalState(useApolloClient(options.client),query).useQuery(options)}function useInternalState(client,query){var stateRef=(0,react.useRef)();(!stateRef.current||client!==stateRef.current.client||query!==stateRef.current.query)&&(stateRef.current=new InternalState(client,query,stateRef.current));var state=stateRef.current,_a2=(0,react.useState)(0),_tick=_a2[0],setTick=_a2[1];return state.forceUpdate=function(){setTick(function(tick){return tick+1})},state}var InternalState=function(){function InternalState2(client,query,previous){this.client=client,this.query=query,this.asyncResolveFns=new Set,this.optionsToIgnoreOnce=new(canUseWeakSet?WeakSet:Set),this.ssrDisabledResult=maybeDeepFreeze({loading:!0,data:void 0,error:void 0,networkStatus:NetworkStatus.loading}),this.skipStandbyResult=maybeDeepFreeze({loading:!1,data:void 0,error:void 0,networkStatus:NetworkStatus.ready}),this.toQueryResultCache=new(canUseWeakMap?WeakMap:Map),verifyDocumentType(query,DocumentType.Query);var previousResult=previous&&previous.result,previousData=previousResult&&previousResult.data;previousData&&(this.previousData=previousData)}return InternalState2.prototype.forceUpdate=function(){__DEV__&&invariant.warn("Calling default no-op implementation of InternalState#forceUpdate")},InternalState2.prototype.asyncUpdate=function(){var _this=this;return new Promise(function(resolve){_this.asyncResolveFns.add(resolve),_this.optionsToIgnoreOnce.add(_this.watchQueryOptions),_this.forceUpdate()})},InternalState2.prototype.useQuery=function(options){var _this=this;this.renderPromises=(0,react.useContext)(getApolloContext()).renderPromises,this.useOptions(options);var obsQuery=this.useObservableQuery(),result=useSyncExternalStore((0,react.useCallback)(function(){if(_this.renderPromises)return function(){};var onNext=function(){var previousResult=_this.result,result2=obsQuery.getCurrentResult();previousResult&&previousResult.loading===result2.loading&&previousResult.networkStatus===result2.networkStatus&&equal(previousResult.data,result2.data)||_this.setResult(result2)},onError=function(error){var last=obsQuery.last;subscription.unsubscribe();try{obsQuery.resetLastResults(),subscription=obsQuery.subscribe(onNext,onError)}finally{obsQuery.last=last}if(!useQuery_hasOwnProperty.call(error,"graphQLErrors"))throw error;var previousResult=_this.result;(!previousResult||previousResult&&previousResult.loading||!equal(error,previousResult.error))&&_this.setResult({data:previousResult&&previousResult.data,error,loading:!1,networkStatus:NetworkStatus.error})},subscription=obsQuery.subscribe(onNext,onError);return function(){return subscription.unsubscribe()}},[obsQuery,this.renderPromises,this.client.disableNetworkFetches]),function(){return _this.getCurrentResult()},function(){return _this.getCurrentResult()});this.unsafeHandlePartialRefetch(result);var queryResult=this.toQueryResult(result);return!queryResult.loading&&this.asyncResolveFns.size&&(this.asyncResolveFns.forEach(function(resolve){return resolve(queryResult)}),this.asyncResolveFns.clear()),queryResult},InternalState2.prototype.useOptions=function(options){var _a2,watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=options),currentWatchQueryOptions=this.watchQueryOptions;(this.optionsToIgnoreOnce.has(currentWatchQueryOptions)||!equal(watchQueryOptions,currentWatchQueryOptions))&&(this.watchQueryOptions=watchQueryOptions,currentWatchQueryOptions&&this.observable&&(this.optionsToIgnoreOnce.delete(currentWatchQueryOptions),this.observable.reobserve(this.getObsQueryOptions()),this.previousData=((_a2=this.result)===null||_a2===void 0?void 0:_a2.data)||this.previousData,this.result=void 0)),this.onCompleted=options.onCompleted||InternalState2.prototype.onCompleted,this.onError=options.onError||InternalState2.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&this.queryHookOptions.ssr===!1&&!this.queryHookOptions.skip?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||this.watchQueryOptions.fetchPolicy==="standby"?this.result=this.skipStandbyResult:(this.result===this.ssrDisabledResult||this.result===this.skipStandbyResult)&&(this.result=void 0)},InternalState2.prototype.getObsQueryOptions=function(){var toMerge=[],globalDefaults=this.client.defaultOptions.watchQuery;return globalDefaults&&toMerge.push(globalDefaults),this.queryHookOptions.defaultOptions&&toMerge.push(this.queryHookOptions.defaultOptions),toMerge.push(compact(this.observable&&this.observable.options,this.watchQueryOptions)),toMerge.reduce(mergeOptions)},InternalState2.prototype.createWatchQueryOptions=function(_a2){var _b;_a2===void 0&&(_a2={});var skip=_a2.skip,ssr=_a2.ssr,onCompleted=_a2.onCompleted,onError=_a2.onError,displayName=_a2.displayName,defaultOptions2=_a2.defaultOptions,otherOptions=__rest(_a2,["skip","ssr","onCompleted","onError","displayName","defaultOptions"]),watchQueryOptions=Object.assign(otherOptions,{query:this.query});if(this.renderPromises&&(watchQueryOptions.fetchPolicy==="network-only"||watchQueryOptions.fetchPolicy==="cache-and-network")&&(watchQueryOptions.fetchPolicy="cache-first"),watchQueryOptions.variables||(watchQueryOptions.variables={}),skip){var _c=watchQueryOptions.fetchPolicy,fetchPolicy=_c===void 0?this.getDefaultFetchPolicy():_c,_d=watchQueryOptions.initialFetchPolicy,initialFetchPolicy=_d===void 0?fetchPolicy:_d;Object.assign(watchQueryOptions,{initialFetchPolicy,fetchPolicy:"standby"})}else watchQueryOptions.fetchPolicy||(watchQueryOptions.fetchPolicy=((_b=this.observable)===null||_b===void 0?void 0:_b.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return watchQueryOptions},InternalState2.prototype.getDefaultFetchPolicy=function(){var _a2,_b;return((_a2=this.queryHookOptions.defaultOptions)===null||_a2===void 0?void 0:_a2.fetchPolicy)||((_b=this.client.defaultOptions.watchQuery)===null||_b===void 0?void 0:_b.fetchPolicy)||"cache-first"},InternalState2.prototype.onCompleted=function(data){},InternalState2.prototype.onError=function(error){},InternalState2.prototype.useObservableQuery=function(){var obsQuery=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,react.useMemo)(function(){return{refetch:obsQuery.refetch.bind(obsQuery),reobserve:obsQuery.reobserve.bind(obsQuery),fetchMore:obsQuery.fetchMore.bind(obsQuery),updateQuery:obsQuery.updateQuery.bind(obsQuery),startPolling:obsQuery.startPolling.bind(obsQuery),stopPolling:obsQuery.stopPolling.bind(obsQuery),subscribeToMore:obsQuery.subscribeToMore.bind(obsQuery)}},[obsQuery]);var ssrAllowed=!(this.queryHookOptions.ssr===!1||this.queryHookOptions.skip);return this.renderPromises&&ssrAllowed&&(this.renderPromises.registerSSRObservable(obsQuery),obsQuery.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(obsQuery)),obsQuery},InternalState2.prototype.setResult=function(nextResult){var previousResult=this.result;previousResult&&previousResult.data&&(this.previousData=previousResult.data),this.result=nextResult,this.forceUpdate(),this.handleErrorOrCompleted(nextResult)},InternalState2.prototype.handleErrorOrCompleted=function(result){result.loading||(result.error?this.onError(result.error):result.data&&this.onCompleted(result.data))},InternalState2.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},InternalState2.prototype.toQueryResult=function(result){var queryResult=this.toQueryResultCache.get(result);if(queryResult)return queryResult;var data=result.data,partial=result.partial,resultWithoutPartial=__rest(result,["data","partial"]);return this.toQueryResultCache.set(result,queryResult=__assign(__assign(__assign({data},resultWithoutPartial),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!queryResult.error&&isNonEmptyArray(result.errors)&&(queryResult.error=new ApolloError({graphQLErrors:result.errors})),queryResult},InternalState2.prototype.unsafeHandlePartialRefetch=function(result){result.partial&&this.queryHookOptions.partialRefetch&&!result.loading&&(!result.data||Object.keys(result.data).length===0)&&this.observable.options.fetchPolicy!=="cache-only"&&(Object.assign(result,{loading:!0,networkStatus:NetworkStatus.refetch}),this.observable.refetch())},InternalState2}(),EAGER_METHODS=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function useLazyQuery(query,options){var internalState=useInternalState(useApolloClient(options&&options.client),query),execOptionsRef=(0,react.useRef)(),merged=execOptionsRef.current?mergeOptions(options,execOptionsRef.current):options,useQueryResult=internalState.useQuery(__assign(__assign({},merged),{skip:!execOptionsRef.current})),initialFetchPolicy=useQueryResult.observable.options.initialFetchPolicy||internalState.getDefaultFetchPolicy(),result=Object.assign(useQueryResult,{called:!!execOptionsRef.current}),eagerMethods=(0,react.useMemo)(function(){for(var eagerMethods2={},_loop_1=function(key2){var method=result[key2];eagerMethods2[key2]=function(){return execOptionsRef.current||(execOptionsRef.current=Object.create(null),internalState.forceUpdate()),method.apply(this,arguments)}},_i=0,EAGER_METHODS_1=EAGER_METHODS;_i<EAGER_METHODS_1.length;_i++){var key=EAGER_METHODS_1[_i];_loop_1(key)}return eagerMethods2},[]);Object.assign(result,eagerMethods);var execute2=(0,react.useCallback)(function(executeOptions){execOptionsRef.current=executeOptions?__assign(__assign({},executeOptions),{fetchPolicy:executeOptions.fetchPolicy||initialFetchPolicy}):{fetchPolicy:initialFetchPolicy};var promise=internalState.asyncUpdate().then(function(queryResult){return Object.assign(queryResult,eagerMethods)});return promise.catch(function(){}),promise},[]);return[execute2,result]}function useMutation(mutation,options){var client=useApolloClient(options?.client);verifyDocumentType(mutation,DocumentType.Mutation);var _a2=(0,react.useState)({called:!1,loading:!1,client}),result=_a2[0],setResult=_a2[1],ref=(0,react.useRef)({result,mutationId:0,isMounted:!0,client,mutation,options});Object.assign(ref.current,{client,options,mutation});var execute2=(0,react.useCallback)(function(executeOptions){executeOptions===void 0&&(executeOptions={});var _a3=ref.current,client2=_a3.client,options2=_a3.options,mutation2=_a3.mutation,baseOptions=__assign(__assign({},options2),{mutation:mutation2});!ref.current.result.loading&&!baseOptions.ignoreResults&&setResult(ref.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:client2});var mutationId=++ref.current.mutationId,clientOptions=mergeOptions(baseOptions,executeOptions);return client2.mutate(clientOptions).then(function(response){var _a4,_b,_c,data=response.data,errors=response.errors,error=errors&&errors.length>0?new ApolloError({graphQLErrors:errors}):void 0;if(mutationId===ref.current.mutationId&&!clientOptions.ignoreResults){var result_1={called:!0,loading:!1,data,error,client:client2};ref.current.isMounted&&!equal(ref.current.result,result_1)&&setResult(ref.current.result=result_1)}return(_b=(_a4=ref.current.options)===null||_a4===void 0?void 0:_a4.onCompleted)===null||_b===void 0||_b.call(_a4,response.data),(_c=executeOptions.onCompleted)===null||_c===void 0||_c.call(executeOptions,response.data),response}).catch(function(error){var _a4,_b,_c,_d;if(mutationId===ref.current.mutationId&&ref.current.isMounted){var result_2={loading:!1,error,data:void 0,called:!0,client:client2};equal(ref.current.result,result_2)||setResult(ref.current.result=result_2)}if(((_a4=ref.current.options)===null||_a4===void 0?void 0:_a4.onError)||clientOptions.onError)return(_c=(_b=ref.current.options)===null||_b===void 0?void 0:_b.onError)===null||_c===void 0||_c.call(_b,error),(_d=executeOptions.onError)===null||_d===void 0||_d.call(executeOptions,error),{data:void 0,errors:error};throw error})},[]),reset=(0,react.useCallback)(function(){setResult({called:!1,loading:!1,client})},[]);return(0,react.useEffect)(function(){return ref.current.isMounted=!0,function(){ref.current.isMounted=!1}},[]),[execute2,__assign({reset},result)]}function useSubscription(subscription,options){var client=useApolloClient(options?.client);verifyDocumentType(subscription,DocumentType.Subscription);var _a2=(0,react.useState)({loading:!options?.skip,error:void 0,data:void 0,variables:options?.variables}),result=_a2[0],setResult=_a2[1],_b=(0,react.useState)(function(){return options?.skip?null:client.subscribe({query:subscription,variables:options?.variables,fetchPolicy:options?.fetchPolicy,context:options?.context})}),observable=_b[0],setObservable=_b[1],canResetObservableRef=(0,react.useRef)(!1);(0,react.useEffect)(function(){return function(){canResetObservableRef.current=!0}},[]);var ref=(0,react.useRef)({client,subscription,options});return(0,react.useEffect)(function(){var _a3,_b2,_c,_d,shouldResubscribe=options?.shouldResubscribe;typeof shouldResubscribe=="function"&&(shouldResubscribe=!!shouldResubscribe(options)),options?.skip?(!options?.skip!=!(!((_a3=ref.current.options)===null||_a3===void 0)&&_a3.skip)||canResetObservableRef.current)&&(setResult({loading:!1,data:void 0,error:void 0,variables:options?.variables}),setObservable(null),canResetObservableRef.current=!1):(shouldResubscribe!==!1&&(client!==ref.current.client||subscription!==ref.current.subscription||options?.fetchPolicy!==((_b2=ref.current.options)===null||_b2===void 0?void 0:_b2.fetchPolicy)||!options?.skip!=!(!((_c=ref.current.options)===null||_c===void 0)&&_c.skip)||!equal(options?.variables,(_d=ref.current.options)===null||_d===void 0?void 0:_d.variables))||canResetObservableRef.current)&&(setResult({loading:!0,data:void 0,error:void 0,variables:options?.variables}),setObservable(client.subscribe({query:subscription,variables:options?.variables,fetchPolicy:options?.fetchPolicy,context:options?.context})),canResetObservableRef.current=!1),Object.assign(ref.current,{client,subscription,options})},[client,subscription,options,canResetObservableRef.current]),(0,react.useEffect)(function(){if(!!observable){var subscription2=observable.subscribe({next:function(fetchResult){var _a3,_b2,result2={loading:!1,data:fetchResult.data,error:void 0,variables:options?.variables};setResult(result2),(_b2=(_a3=ref.current.options)===null||_a3===void 0?void 0:_a3.onSubscriptionData)===null||_b2===void 0||_b2.call(_a3,{client,subscriptionData:result2})},error:function(error){setResult({loading:!1,data:void 0,error,variables:options?.variables})},complete:function(){var _a3,_b2;(_b2=(_a3=ref.current.options)===null||_a3===void 0?void 0:_a3.onSubscriptionComplete)===null||_b2===void 0||_b2.call(_a3)}});return function(){subscription2.unsubscribe()}}},[observable]),result}function useReactiveVar(rv){var value2=rv(),setValue=(0,react.useState)(value2)[1];return(0,react.useEffect)(function(){var probablySameValue=rv();if(value2!==probablySameValue)setValue(probablySameValue);else return rv.onNextChange(setValue)},[value2]),value2}},37826:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>devAssert});function devAssert(condition,message){var booleanCondition=Boolean(condition);if(!booleanCondition)throw new Error(message)}},25821:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>inspect});var _nodejsCustomInspectSymbol__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(45695);function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}var MAX_ARRAY_LENGTH=10,MAX_RECURSIVE_DEPTH=2;function inspect(value2){return formatValue(value2,[])}function formatValue(value2,seenValues){switch(_typeof(value2)){case"string":return JSON.stringify(value2);case"function":return value2.name?"[function ".concat(value2.name,"]"):"[function]";case"object":return value2===null?"null":formatObjectValue(value2,seenValues);default:return String(value2)}}function formatObjectValue(value2,previouslySeenValues){if(previouslySeenValues.indexOf(value2)!==-1)return"[Circular]";var seenValues=[].concat(previouslySeenValues,[value2]),customInspectFn=getCustomFn(value2);if(customInspectFn!==void 0){var customValue=customInspectFn.call(value2);if(customValue!==value2)return typeof customValue=="string"?customValue:formatValue(customValue,seenValues)}else if(Array.isArray(value2))return formatArray(value2,seenValues);return formatObject(value2,seenValues)}function formatObject(object,seenValues){var keys=Object.keys(object);if(keys.length===0)return"{}";if(seenValues.length>MAX_RECURSIVE_DEPTH)return"["+getObjectTag(object)+"]";var properties=keys.map(function(key){var value2=formatValue(object[key],seenValues);return key+": "+value2});return"{ "+properties.join(", ")+" }"}function formatArray(array,seenValues){if(array.length===0)return"[]";if(seenValues.length>MAX_RECURSIVE_DEPTH)return"[Array]";for(var len=Math.min(MAX_ARRAY_LENGTH,array.length),remaining=array.length-len,items=[],i=0;i<len;++i)items.push(formatValue(array[i],seenValues));return remaining===1?items.push("... 1 more item"):remaining>1&&items.push("... ".concat(remaining," more items")),"["+items.join(", ")+"]"}function getCustomFn(object){var customInspectFn=object[String(_nodejsCustomInspectSymbol__WEBPACK_IMPORTED_MODULE_0__.Z)];if(typeof customInspectFn=="function")return customInspectFn;if(typeof object.inspect=="function")return object.inspect}function getObjectTag(object){var tag=Object.prototype.toString.call(object).replace(/^\[object /,"").replace(/]$/,"");if(tag==="Object"&&typeof object.constructor=="function"){var name=object.constructor.name;if(typeof name=="string"&&name!=="")return name}return tag}},45695:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var nodejsCustomInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):void 0;const __WEBPACK_DEFAULT_EXPORT__=nodejsCustomInspectSymbol},87392:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{W7:()=>dedentBlockStringValue,LZ:()=>printBlockString});function dedentBlockStringValue(rawString){var lines=rawString.split(/\r\n|[\n\r]/g),commonIndent=getBlockStringIndentation(lines);if(commonIndent!==0)for(var i=1;i<lines.length;i++)lines[i]=lines[i].slice(commonIndent);for(;lines.length>0&&isBlank(lines[0]);)lines.shift();for(;lines.length>0&&isBlank(lines[lines.length-1]);)lines.pop();return lines.join(`
|
|
1271
|
+
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):sourceKeySet||fragmentSourceMap.set(fragmentName,sourceKeySet=new Set),sourceKeySet.add(sourceKey),seenKeys.has(sourceKey)||(seenKeys.add(sourceKey),definitions.push(fragmentDefinition))}else definitions.push(fragmentDefinition)}),__assign(__assign({},ast),{definitions})}function stripLoc(doc){var workSet=new Set(doc.definitions);workSet.forEach(function(node){node.loc&&delete node.loc,Object.keys(node).forEach(function(key){var value2=node[key];value2&&typeof value2=="object"&&workSet.add(value2)})});var loc=doc.loc;return loc&&(delete loc.startToken,delete loc.endToken),doc}function parseDocument(source2){var cacheKey=lib_normalize(source2);if(!docCache.has(cacheKey)){var parsed=(0,parser.parse)(source2,{experimentalFragmentVariables,allowLegacyFragmentVariables:experimentalFragmentVariables});if(!parsed||parsed.kind!=="Document")throw new Error("Not a valid GraphQL document.");docCache.set(cacheKey,stripLoc(processFragments(parsed)))}return docCache.get(cacheKey)}function gql(literals){for(var args=[],_i=1;_i<arguments.length;_i++)args[_i-1]=arguments[_i];typeof literals=="string"&&(literals=[literals]);var result=literals[0];return args.forEach(function(arg,i){arg&&arg.kind==="Document"?result+=arg.loc.source.body:result+=arg,result+=literals[i+1]}),parseDocument(result)}function resetCaches(){docCache.clear(),fragmentSourceMap.clear()}function disableFragmentWarnings(){printFragmentWarnings=!1}function enableExperimentalFragmentVariables(){experimentalFragmentVariables=!0}function disableExperimentalFragmentVariables(){experimentalFragmentVariables=!1}var extras={gql,resetCaches,disableFragmentWarnings,enableExperimentalFragmentVariables,disableExperimentalFragmentVariables};(function(gql_1){gql_1.gql=extras.gql,gql_1.resetCaches=extras.resetCaches,gql_1.disableFragmentWarnings=extras.disableFragmentWarnings,gql_1.enableExperimentalFragmentVariables=extras.enableExperimentalFragmentVariables,gql_1.disableExperimentalFragmentVariables=extras.disableExperimentalFragmentVariables})(gql||(gql={})),gql.default=gql;const lib=null;setVerbosity(DEV?"log":"silent");var react=__webpack_require__(67294),react_namespaceObject=__webpack_require__.t(react,2),contextKey=canUseSymbol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function getApolloContext(){var context=react.createContext[contextKey];return context||(Object.defineProperty(react.createContext,contextKey,{value:context=react.createContext({}),enumerable:!1,writable:!1,configurable:!0}),context.displayName="ApolloContext"),context}var ApolloProvider=function(_a2){var client=_a2.client,children=_a2.children,ApolloContext=getApolloContext();return react.createElement(ApolloContext.Consumer,null,function(context){return context===void 0&&(context={}),client&&context.client!==client&&(context=Object.assign({},context,{client})),__DEV__?invariant(context.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):invariant(context.client,26),react.createElement(ApolloContext.Provider,{value:context},children)})},ApolloConsumer=function(props){var ApolloContext=getApolloContext();return react.createElement(ApolloContext.Consumer,null,function(context){return __DEV__?invariant(context&&context.client,'Could not find "client" in the context of ApolloConsumer. Wrap the root component in an <ApolloProvider>.'):invariant(context&&context.client,25),props.children(context.client)})};function useApolloClient(override){var context=(0,react.useContext)(getApolloContext()),client=override||context.client;return __DEV__?invariant(!!client,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):invariant(!!client,29),client}var didWarnUncachedGetSnapshot=!1,uSESKey="useSyncExternalStore",realHook=react_namespaceObject[uSESKey],useSyncExternalStore=realHook||function(subscribe,getSnapshot,getServerSnapshot){var value2=getSnapshot();__DEV__&&!didWarnUncachedGetSnapshot&&value2!==getSnapshot()&&(didWarnUncachedGetSnapshot=!0,__DEV__&&invariant.error("The result of getSnapshot should be cached to avoid an infinite loop"));var _a2=react.useState({inst:{value:value2,getSnapshot}}),inst=_a2[0].inst,forceUpdate=_a2[1];return canUseLayoutEffect?react.useLayoutEffect(function(){Object.assign(inst,{value:value2,getSnapshot}),checkIfSnapshotChanged(inst)&&forceUpdate({inst})},[subscribe,value2,getSnapshot]):Object.assign(inst,{value:value2,getSnapshot}),react.useEffect(function(){return checkIfSnapshotChanged(inst)&&forceUpdate({inst}),subscribe(function(){checkIfSnapshotChanged(inst)&&forceUpdate({inst})})},[subscribe]),value2};function checkIfSnapshotChanged(_a2){var value2=_a2.value,getSnapshot=_a2.getSnapshot;try{return value2!==getSnapshot()}catch{return!0}}var DocumentType;(function(DocumentType2){DocumentType2[DocumentType2.Query=0]="Query",DocumentType2[DocumentType2.Mutation=1]="Mutation",DocumentType2[DocumentType2.Subscription=2]="Subscription"})(DocumentType||(DocumentType={}));var cache=new Map;function operationName(type){var name;switch(type){case DocumentType.Query:name="Query";break;case DocumentType.Mutation:name="Mutation";break;case DocumentType.Subscription:name="Subscription";break}return name}function parser_parser(document2){var cached=cache.get(document2);if(cached)return cached;var variables,type,name;__DEV__?invariant(!!document2&&!!document2.kind,"Argument of ".concat(document2," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):invariant(!!document2&&!!document2.kind,30);for(var fragments=[],queries=[],mutations=[],subscriptions=[],_i=0,_a2=document2.definitions;_i<_a2.length;_i++){var x=_a2[_i];if(x.kind==="FragmentDefinition"){fragments.push(x);continue}if(x.kind==="OperationDefinition")switch(x.operation){case"query":queries.push(x);break;case"mutation":mutations.push(x);break;case"subscription":subscriptions.push(x);break}}__DEV__?invariant(!fragments.length||queries.length||mutations.length||subscriptions.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):invariant(!fragments.length||queries.length||mutations.length||subscriptions.length,31),__DEV__?invariant(queries.length+mutations.length+subscriptions.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(document2," had ").concat(queries.length," queries, ").concat(subscriptions.length," ")+"subscriptions and ".concat(mutations.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):invariant(queries.length+mutations.length+subscriptions.length<=1,32),type=queries.length?DocumentType.Query:DocumentType.Mutation,!queries.length&&!mutations.length&&(type=DocumentType.Subscription);var definitions=queries.length?queries:mutations.length?mutations:subscriptions;__DEV__?invariant(definitions.length===1,"react-apollo only supports one definition per HOC. ".concat(document2," had ")+"".concat(definitions.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):invariant(definitions.length===1,33);var definition=definitions[0];variables=definition.variableDefinitions||[],definition.name&&definition.name.kind==="Name"?name=definition.name.value:name="data";var payload={name,type,variables};return cache.set(document2,payload),payload}function verifyDocumentType(document2,type){var operation=parser_parser(document2),requiredOperationName=operationName(type),usedOperationName=operationName(operation.type);__DEV__?invariant(operation.type===type,"Running a ".concat(requiredOperationName," requires a graphql ")+"".concat(requiredOperationName,", but a ").concat(usedOperationName," was used instead.")):invariant(operation.type===type,34)}var useQuery_hasOwnProperty=Object.prototype.hasOwnProperty;function useQuery(query,options){return options===void 0&&(options=Object.create(null)),useInternalState(useApolloClient(options.client),query).useQuery(options)}function useInternalState(client,query){var stateRef=(0,react.useRef)();(!stateRef.current||client!==stateRef.current.client||query!==stateRef.current.query)&&(stateRef.current=new InternalState(client,query,stateRef.current));var state=stateRef.current,_a2=(0,react.useState)(0),_tick=_a2[0],setTick=_a2[1];return state.forceUpdate=function(){setTick(function(tick){return tick+1})},state}var InternalState=function(){function InternalState2(client,query,previous){this.client=client,this.query=query,this.asyncResolveFns=new Set,this.optionsToIgnoreOnce=new(canUseWeakSet?WeakSet:Set),this.ssrDisabledResult=maybeDeepFreeze({loading:!0,data:void 0,error:void 0,networkStatus:NetworkStatus.loading}),this.skipStandbyResult=maybeDeepFreeze({loading:!1,data:void 0,error:void 0,networkStatus:NetworkStatus.ready}),this.toQueryResultCache=new(canUseWeakMap?WeakMap:Map),verifyDocumentType(query,DocumentType.Query);var previousResult=previous&&previous.result,previousData=previousResult&&previousResult.data;previousData&&(this.previousData=previousData)}return InternalState2.prototype.forceUpdate=function(){__DEV__&&invariant.warn("Calling default no-op implementation of InternalState#forceUpdate")},InternalState2.prototype.asyncUpdate=function(){var _this=this;return new Promise(function(resolve){_this.asyncResolveFns.add(resolve),_this.optionsToIgnoreOnce.add(_this.watchQueryOptions),_this.forceUpdate()})},InternalState2.prototype.useQuery=function(options){var _this=this;this.renderPromises=(0,react.useContext)(getApolloContext()).renderPromises,this.useOptions(options);var obsQuery=this.useObservableQuery(),result=useSyncExternalStore((0,react.useCallback)(function(){if(_this.renderPromises)return function(){};var onNext=function(){var previousResult=_this.result,result2=obsQuery.getCurrentResult();previousResult&&previousResult.loading===result2.loading&&previousResult.networkStatus===result2.networkStatus&&equal(previousResult.data,result2.data)||_this.setResult(result2)},onError=function(error){var last=obsQuery.last;subscription.unsubscribe();try{obsQuery.resetLastResults(),subscription=obsQuery.subscribe(onNext,onError)}finally{obsQuery.last=last}if(!useQuery_hasOwnProperty.call(error,"graphQLErrors"))throw error;var previousResult=_this.result;(!previousResult||previousResult&&previousResult.loading||!equal(error,previousResult.error))&&_this.setResult({data:previousResult&&previousResult.data,error,loading:!1,networkStatus:NetworkStatus.error})},subscription=obsQuery.subscribe(onNext,onError);return function(){return subscription.unsubscribe()}},[obsQuery,this.renderPromises,this.client.disableNetworkFetches]),function(){return _this.getCurrentResult()},function(){return _this.getCurrentResult()});this.unsafeHandlePartialRefetch(result);var queryResult=this.toQueryResult(result);return!queryResult.loading&&this.asyncResolveFns.size&&(this.asyncResolveFns.forEach(function(resolve){return resolve(queryResult)}),this.asyncResolveFns.clear()),queryResult},InternalState2.prototype.useOptions=function(options){var _a2,watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=options),currentWatchQueryOptions=this.watchQueryOptions;(this.optionsToIgnoreOnce.has(currentWatchQueryOptions)||!equal(watchQueryOptions,currentWatchQueryOptions))&&(this.watchQueryOptions=watchQueryOptions,currentWatchQueryOptions&&this.observable&&(this.optionsToIgnoreOnce.delete(currentWatchQueryOptions),this.observable.reobserve(this.getObsQueryOptions()),this.previousData=((_a2=this.result)===null||_a2===void 0?void 0:_a2.data)||this.previousData,this.result=void 0)),this.onCompleted=options.onCompleted||InternalState2.prototype.onCompleted,this.onError=options.onError||InternalState2.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&this.queryHookOptions.ssr===!1&&!this.queryHookOptions.skip?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||this.watchQueryOptions.fetchPolicy==="standby"?this.result=this.skipStandbyResult:(this.result===this.ssrDisabledResult||this.result===this.skipStandbyResult)&&(this.result=void 0)},InternalState2.prototype.getObsQueryOptions=function(){var toMerge=[],globalDefaults=this.client.defaultOptions.watchQuery;return globalDefaults&&toMerge.push(globalDefaults),this.queryHookOptions.defaultOptions&&toMerge.push(this.queryHookOptions.defaultOptions),toMerge.push(compact(this.observable&&this.observable.options,this.watchQueryOptions)),toMerge.reduce(mergeOptions)},InternalState2.prototype.createWatchQueryOptions=function(_a2){var _b;_a2===void 0&&(_a2={});var skip=_a2.skip,ssr=_a2.ssr,onCompleted=_a2.onCompleted,onError=_a2.onError,displayName=_a2.displayName,defaultOptions2=_a2.defaultOptions,otherOptions=__rest(_a2,["skip","ssr","onCompleted","onError","displayName","defaultOptions"]),watchQueryOptions=Object.assign(otherOptions,{query:this.query});if(this.renderPromises&&(watchQueryOptions.fetchPolicy==="network-only"||watchQueryOptions.fetchPolicy==="cache-and-network")&&(watchQueryOptions.fetchPolicy="cache-first"),watchQueryOptions.variables||(watchQueryOptions.variables={}),skip){var _c=watchQueryOptions.fetchPolicy,fetchPolicy=_c===void 0?this.getDefaultFetchPolicy():_c,_d=watchQueryOptions.initialFetchPolicy,initialFetchPolicy=_d===void 0?fetchPolicy:_d;Object.assign(watchQueryOptions,{initialFetchPolicy,fetchPolicy:"standby"})}else watchQueryOptions.fetchPolicy||(watchQueryOptions.fetchPolicy=((_b=this.observable)===null||_b===void 0?void 0:_b.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return watchQueryOptions},InternalState2.prototype.getDefaultFetchPolicy=function(){var _a2,_b;return((_a2=this.queryHookOptions.defaultOptions)===null||_a2===void 0?void 0:_a2.fetchPolicy)||((_b=this.client.defaultOptions.watchQuery)===null||_b===void 0?void 0:_b.fetchPolicy)||"cache-first"},InternalState2.prototype.onCompleted=function(data){},InternalState2.prototype.onError=function(error){},InternalState2.prototype.useObservableQuery=function(){var obsQuery=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,react.useMemo)(function(){return{refetch:obsQuery.refetch.bind(obsQuery),reobserve:obsQuery.reobserve.bind(obsQuery),fetchMore:obsQuery.fetchMore.bind(obsQuery),updateQuery:obsQuery.updateQuery.bind(obsQuery),startPolling:obsQuery.startPolling.bind(obsQuery),stopPolling:obsQuery.stopPolling.bind(obsQuery),subscribeToMore:obsQuery.subscribeToMore.bind(obsQuery)}},[obsQuery]);var ssrAllowed=!(this.queryHookOptions.ssr===!1||this.queryHookOptions.skip);return this.renderPromises&&ssrAllowed&&(this.renderPromises.registerSSRObservable(obsQuery),obsQuery.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(obsQuery)),obsQuery},InternalState2.prototype.setResult=function(nextResult){var previousResult=this.result;previousResult&&previousResult.data&&(this.previousData=previousResult.data),this.result=nextResult,this.forceUpdate(),this.handleErrorOrCompleted(nextResult)},InternalState2.prototype.handleErrorOrCompleted=function(result){result.loading||(result.error?this.onError(result.error):result.data&&this.onCompleted(result.data))},InternalState2.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},InternalState2.prototype.toQueryResult=function(result){var queryResult=this.toQueryResultCache.get(result);if(queryResult)return queryResult;var data=result.data,partial=result.partial,resultWithoutPartial=__rest(result,["data","partial"]);return this.toQueryResultCache.set(result,queryResult=__assign(__assign(__assign({data},resultWithoutPartial),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!queryResult.error&&isNonEmptyArray(result.errors)&&(queryResult.error=new ApolloError({graphQLErrors:result.errors})),queryResult},InternalState2.prototype.unsafeHandlePartialRefetch=function(result){result.partial&&this.queryHookOptions.partialRefetch&&!result.loading&&(!result.data||Object.keys(result.data).length===0)&&this.observable.options.fetchPolicy!=="cache-only"&&(Object.assign(result,{loading:!0,networkStatus:NetworkStatus.refetch}),this.observable.refetch())},InternalState2}(),EAGER_METHODS=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function useLazyQuery(query,options){var internalState=useInternalState(useApolloClient(options&&options.client),query),execOptionsRef=(0,react.useRef)(),merged=execOptionsRef.current?mergeOptions(options,execOptionsRef.current):options,useQueryResult=internalState.useQuery(__assign(__assign({},merged),{skip:!execOptionsRef.current})),initialFetchPolicy=useQueryResult.observable.options.initialFetchPolicy||internalState.getDefaultFetchPolicy(),result=Object.assign(useQueryResult,{called:!!execOptionsRef.current}),eagerMethods=(0,react.useMemo)(function(){for(var eagerMethods2={},_loop_1=function(key2){var method=result[key2];eagerMethods2[key2]=function(){return execOptionsRef.current||(execOptionsRef.current=Object.create(null),internalState.forceUpdate()),method.apply(this,arguments)}},_i=0,EAGER_METHODS_1=EAGER_METHODS;_i<EAGER_METHODS_1.length;_i++){var key=EAGER_METHODS_1[_i];_loop_1(key)}return eagerMethods2},[]);Object.assign(result,eagerMethods);var execute2=(0,react.useCallback)(function(executeOptions){execOptionsRef.current=executeOptions?__assign(__assign({},executeOptions),{fetchPolicy:executeOptions.fetchPolicy||initialFetchPolicy}):{fetchPolicy:initialFetchPolicy};var promise=internalState.asyncUpdate().then(function(queryResult){return Object.assign(queryResult,eagerMethods)});return promise.catch(function(){}),promise},[]);return[execute2,result]}function useMutation(mutation,options){var client=useApolloClient(options?.client);verifyDocumentType(mutation,DocumentType.Mutation);var _a2=(0,react.useState)({called:!1,loading:!1,client}),result=_a2[0],setResult=_a2[1],ref=(0,react.useRef)({result,mutationId:0,isMounted:!0,client,mutation,options});Object.assign(ref.current,{client,options,mutation});var execute2=(0,react.useCallback)(function(executeOptions){executeOptions===void 0&&(executeOptions={});var _a3=ref.current,client2=_a3.client,options2=_a3.options,mutation2=_a3.mutation,baseOptions=__assign(__assign({},options2),{mutation:mutation2});!ref.current.result.loading&&!baseOptions.ignoreResults&&setResult(ref.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:client2});var mutationId=++ref.current.mutationId,clientOptions=mergeOptions(baseOptions,executeOptions);return client2.mutate(clientOptions).then(function(response){var _a4,_b,_c,data=response.data,errors=response.errors,error=errors&&errors.length>0?new ApolloError({graphQLErrors:errors}):void 0;if(mutationId===ref.current.mutationId&&!clientOptions.ignoreResults){var result_1={called:!0,loading:!1,data,error,client:client2};ref.current.isMounted&&!equal(ref.current.result,result_1)&&setResult(ref.current.result=result_1)}return(_b=(_a4=ref.current.options)===null||_a4===void 0?void 0:_a4.onCompleted)===null||_b===void 0||_b.call(_a4,response.data),(_c=executeOptions.onCompleted)===null||_c===void 0||_c.call(executeOptions,response.data),response}).catch(function(error){var _a4,_b,_c,_d;if(mutationId===ref.current.mutationId&&ref.current.isMounted){var result_2={loading:!1,error,data:void 0,called:!0,client:client2};equal(ref.current.result,result_2)||setResult(ref.current.result=result_2)}if(((_a4=ref.current.options)===null||_a4===void 0?void 0:_a4.onError)||clientOptions.onError)return(_c=(_b=ref.current.options)===null||_b===void 0?void 0:_b.onError)===null||_c===void 0||_c.call(_b,error),(_d=executeOptions.onError)===null||_d===void 0||_d.call(executeOptions,error),{data:void 0,errors:error};throw error})},[]),reset=(0,react.useCallback)(function(){setResult({called:!1,loading:!1,client})},[]);return(0,react.useEffect)(function(){return ref.current.isMounted=!0,function(){ref.current.isMounted=!1}},[]),[execute2,__assign({reset},result)]}function useSubscription(subscription,options){var client=useApolloClient(options?.client);verifyDocumentType(subscription,DocumentType.Subscription);var _a2=(0,react.useState)({loading:!options?.skip,error:void 0,data:void 0,variables:options?.variables}),result=_a2[0],setResult=_a2[1],_b=(0,react.useState)(function(){return options?.skip?null:client.subscribe({query:subscription,variables:options?.variables,fetchPolicy:options?.fetchPolicy,context:options?.context})}),observable=_b[0],setObservable=_b[1],canResetObservableRef=(0,react.useRef)(!1);(0,react.useEffect)(function(){return function(){canResetObservableRef.current=!0}},[]);var ref=(0,react.useRef)({client,subscription,options});return(0,react.useEffect)(function(){var _a3,_b2,_c,_d,shouldResubscribe=options?.shouldResubscribe;typeof shouldResubscribe=="function"&&(shouldResubscribe=!!shouldResubscribe(options)),options?.skip?(!options?.skip!=!(!((_a3=ref.current.options)===null||_a3===void 0)&&_a3.skip)||canResetObservableRef.current)&&(setResult({loading:!1,data:void 0,error:void 0,variables:options?.variables}),setObservable(null),canResetObservableRef.current=!1):(shouldResubscribe!==!1&&(client!==ref.current.client||subscription!==ref.current.subscription||options?.fetchPolicy!==((_b2=ref.current.options)===null||_b2===void 0?void 0:_b2.fetchPolicy)||!options?.skip!=!(!((_c=ref.current.options)===null||_c===void 0)&&_c.skip)||!equal(options?.variables,(_d=ref.current.options)===null||_d===void 0?void 0:_d.variables))||canResetObservableRef.current)&&(setResult({loading:!0,data:void 0,error:void 0,variables:options?.variables}),setObservable(client.subscribe({query:subscription,variables:options?.variables,fetchPolicy:options?.fetchPolicy,context:options?.context})),canResetObservableRef.current=!1),Object.assign(ref.current,{client,subscription,options})},[client,subscription,options,canResetObservableRef.current]),(0,react.useEffect)(function(){if(!!observable){var subscription2=observable.subscribe({next:function(fetchResult){var _a3,_b2,result2={loading:!1,data:fetchResult.data,error:void 0,variables:options?.variables};setResult(result2),(_b2=(_a3=ref.current.options)===null||_a3===void 0?void 0:_a3.onSubscriptionData)===null||_b2===void 0||_b2.call(_a3,{client,subscriptionData:result2})},error:function(error){setResult({loading:!1,data:void 0,error,variables:options?.variables})},complete:function(){var _a3,_b2;(_b2=(_a3=ref.current.options)===null||_a3===void 0?void 0:_a3.onSubscriptionComplete)===null||_b2===void 0||_b2.call(_a3)}});return function(){subscription2.unsubscribe()}}},[observable]),result}function useReactiveVar(rv){var value2=rv(),setValue=(0,react.useState)(value2)[1];return(0,react.useEffect)(function(){var probablySameValue=rv();if(value2!==probablySameValue)setValue(probablySameValue);else return rv.onNextChange(setValue)},[value2]),value2}},1327:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>devAssert});function devAssert(condition,message){var booleanCondition=Boolean(condition);if(!booleanCondition)throw new Error(message)}},25821:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>inspect});var _nodejsCustomInspectSymbol__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(45695);function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}var MAX_ARRAY_LENGTH=10,MAX_RECURSIVE_DEPTH=2;function inspect(value2){return formatValue(value2,[])}function formatValue(value2,seenValues){switch(_typeof(value2)){case"string":return JSON.stringify(value2);case"function":return value2.name?"[function ".concat(value2.name,"]"):"[function]";case"object":return value2===null?"null":formatObjectValue(value2,seenValues);default:return String(value2)}}function formatObjectValue(value2,previouslySeenValues){if(previouslySeenValues.indexOf(value2)!==-1)return"[Circular]";var seenValues=[].concat(previouslySeenValues,[value2]),customInspectFn=getCustomFn(value2);if(customInspectFn!==void 0){var customValue=customInspectFn.call(value2);if(customValue!==value2)return typeof customValue=="string"?customValue:formatValue(customValue,seenValues)}else if(Array.isArray(value2))return formatArray(value2,seenValues);return formatObject(value2,seenValues)}function formatObject(object,seenValues){var keys=Object.keys(object);if(keys.length===0)return"{}";if(seenValues.length>MAX_RECURSIVE_DEPTH)return"["+getObjectTag(object)+"]";var properties=keys.map(function(key){var value2=formatValue(object[key],seenValues);return key+": "+value2});return"{ "+properties.join(", ")+" }"}function formatArray(array,seenValues){if(array.length===0)return"[]";if(seenValues.length>MAX_RECURSIVE_DEPTH)return"[Array]";for(var len=Math.min(MAX_ARRAY_LENGTH,array.length),remaining=array.length-len,items=[],i=0;i<len;++i)items.push(formatValue(array[i],seenValues));return remaining===1?items.push("... 1 more item"):remaining>1&&items.push("... ".concat(remaining," more items")),"["+items.join(", ")+"]"}function getCustomFn(object){var customInspectFn=object[String(_nodejsCustomInspectSymbol__WEBPACK_IMPORTED_MODULE_0__.Z)];if(typeof customInspectFn=="function")return customInspectFn;if(typeof object.inspect=="function")return object.inspect}function getObjectTag(object){var tag=Object.prototype.toString.call(object).replace(/^\[object /,"").replace(/]$/,"");if(tag==="Object"&&typeof object.constructor=="function"){var name=object.constructor.name;if(typeof name=="string"&&name!=="")return name}return tag}},45695:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var nodejsCustomInspectSymbol=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):void 0;const __WEBPACK_DEFAULT_EXPORT__=nodejsCustomInspectSymbol},87392:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{W7:()=>dedentBlockStringValue,LZ:()=>printBlockString});function dedentBlockStringValue(rawString){var lines=rawString.split(/\r\n|[\n\r]/g),commonIndent=getBlockStringIndentation(lines);if(commonIndent!==0)for(var i=1;i<lines.length;i++)lines[i]=lines[i].slice(commonIndent);for(;lines.length>0&&isBlank(lines[0]);)lines.shift();for(;lines.length>0&&isBlank(lines[lines.length-1]);)lines.pop();return lines.join(`
|
|
1272
1272
|
`)}function getBlockStringIndentation(lines){for(var commonIndent=null,i=1;i<lines.length;i++){var line=lines[i],indent=leadingWhitespace(line);if(indent!==line.length&&(commonIndent===null||indent<commonIndent)&&(commonIndent=indent,commonIndent===0))break}return commonIndent===null?0:commonIndent}function leadingWhitespace(str){for(var i=0;i<str.length&&(str[i]===" "||str[i]===" ");)i++;return i}function isBlank(str){return leadingWhitespace(str)===str.length}function printBlockString(value2){var indentation=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",preferMultipleLines=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,isSingleLine=value2.indexOf(`
|
|
1273
1273
|
`)===-1,hasLeadingSpace=value2[0]===" "||value2[0]===" ",hasTrailingQuote=value2[value2.length-1]==='"',printAsMultipleLines=!isSingleLine||hasTrailingQuote||preferMultipleLines,result="";return printAsMultipleLines&&!(isSingleLine&&hasLeadingSpace)&&(result+=`
|
|
1274
1274
|
`+indentation),result+=indentation?value2.replace(/\n/g,`
|
|
1275
1275
|
`+indentation):value2,printAsMultipleLines&&(result+=`
|
|
1276
|
-
`),'"""'+result.replace(/"""/g,'\\"""')+'"""'}},93484:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{parse:()=>parse,parseType:()=>parseType,parseValue:()=>parseValue});var inspect=__webpack_require__(25821),devAssert=__webpack_require__(
|
|
1276
|
+
`),'"""'+result.replace(/"""/g,'\\"""')+'"""'}},93484:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{parse:()=>parse,parseType:()=>parseType,parseValue:()=>parseValue});var inspect=__webpack_require__(25821),devAssert=__webpack_require__(1327),nodejsCustomInspectSymbol=__webpack_require__(45695);function defineToJSON(classObject){var fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:classObject.prototype.toString;classObject.prototype.toJSON=fn,classObject.prototype.inspect=fn,nodejsCustomInspectSymbol.Z&&(classObject.prototype[nodejsCustomInspectSymbol.Z]=fn)}function _typeof(obj){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}function isObjectLike(value2){return _typeof(value2)=="object"&&value2!==null}function getLocation(source,position){for(var lineRegexp=/\r\n|[\n\r]/g,line=1,column=position+1,match;(match=lineRegexp.exec(source.body))&&match.index<position;)line+=1,column=position+1-(match.index+match[0].length);return{line,column}}function printLocation(location){return printSourceLocation(location.source,getLocation(location.source,location.start))}function printSourceLocation(source,sourceLocation){var firstLineColumnOffset=source.locationOffset.column-1,body=whitespace(firstLineColumnOffset)+source.body,lineIndex=sourceLocation.line-1,lineOffset=source.locationOffset.line-1,lineNum=sourceLocation.line+lineOffset,columnOffset=sourceLocation.line===1?firstLineColumnOffset:0,columnNum=sourceLocation.column+columnOffset,locationStr="".concat(source.name,":").concat(lineNum,":").concat(columnNum,`
|
|
1277
1277
|
`),lines=body.split(/\r\n|[\n\r]/g),locationLine=lines[lineIndex];if(locationLine.length>120){for(var sublineIndex=Math.floor(columnNum/80),sublineColumnNum=columnNum%80,sublines=[],i=0;i<locationLine.length;i+=80)sublines.push(locationLine.slice(i,i+80));return locationStr+printPrefixedLines([["".concat(lineNum),sublines[0]]].concat(sublines.slice(1,sublineIndex+1).map(function(subline){return["",subline]}),[[" ",whitespace(sublineColumnNum-1)+"^"],["",sublines[sublineIndex+1]]]))}return locationStr+printPrefixedLines([["".concat(lineNum-1),lines[lineIndex-1]],["".concat(lineNum),locationLine],["",whitespace(columnNum-1)+"^"],["".concat(lineNum+1),lines[lineIndex+1]]])}function printPrefixedLines(lines){var existingLines=lines.filter(function(_ref){var _=_ref[0],line=_ref[1];return line!==void 0}),padLen=Math.max.apply(Math,existingLines.map(function(_ref2){var prefix=_ref2[0];return prefix.length}));return existingLines.map(function(_ref3){var prefix=_ref3[0],line=_ref3[1];return lpad(padLen,prefix)+(line?" | "+line:" |")}).join(`
|
|
1278
1278
|
`)}function whitespace(len){return Array(len+1).join(" ")}function lpad(len,str){return whitespace(len-str.length)+str}function GraphQLError(message,nodes,source,positions,path,originalError,extensions){var _nodes=Array.isArray(nodes)?nodes.length!==0?nodes:void 0:nodes?[nodes]:void 0,_source=source;if(!_source&&_nodes){var node=_nodes[0];_source=node&&node.loc&&node.loc.source}var _positions=positions;!_positions&&_nodes&&(_positions=_nodes.reduce(function(list,node2){return node2.loc&&list.push(node2.loc.start),list},[])),_positions&&_positions.length===0&&(_positions=void 0);var _locations;positions&&source?_locations=positions.map(function(pos){return getLocation(source,pos)}):_nodes&&(_locations=_nodes.reduce(function(list,node2){return node2.loc&&list.push(getLocation(node2.loc.source,node2.loc.start)),list},[]));var _extensions=extensions;if(_extensions==null&&originalError!=null){var originalExtensions=originalError.extensions;isObjectLike(originalExtensions)&&(_extensions=originalExtensions)}Object.defineProperties(this,{message:{value:message,enumerable:!0,writable:!0},locations:{value:_locations||void 0,enumerable:Boolean(_locations)},path:{value:path||void 0,enumerable:Boolean(path)},nodes:{value:_nodes||void 0},source:{value:_source||void 0},positions:{value:_positions||void 0},originalError:{value:originalError},extensions:{value:_extensions||void 0,enumerable:Boolean(_extensions)}}),originalError&&originalError.stack?Object.defineProperty(this,"stack",{value:originalError.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,GraphQLError):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}GraphQLError.prototype=Object.create(Error.prototype,{constructor:{value:GraphQLError},name:{value:"GraphQLError"},toString:{value:function(){return printError(this)}}});function printError(error){var output=error.message;if(error.nodes)for(var _i2=0,_error$nodes2=error.nodes;_i2<_error$nodes2.length;_i2++){var node=_error$nodes2[_i2];node.loc&&(output+=`
|
|
1279
1279
|
|
|
@@ -1295,4 +1295,4 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):s
|
|
|
1295
1295
|
`))+`
|
|
1296
1296
|
}`:""}function wrap(start,maybeString,end){return maybeString?start+maybeString+(end||""):""}function indent(maybeString){return maybeString&&" "+maybeString.replace(/\n/g,`
|
|
1297
1297
|
`)}function isMultiline(string){return string.indexOf(`
|
|
1298
|
-
`)!==-1}function hasMultilineItems(maybeArray){return maybeArray&&maybeArray.some(isMultiline)}},41400:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>Source});var devAssert=__webpack_require__(37826);function defineToStringTag(classObject){typeof Symbol=="function"&&Symbol.toStringTag&&Object.defineProperty(classObject.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}var Source=function(body,name,locationOffset){this.body=body,this.name=name||"GraphQL request",this.locationOffset=locationOffset||{line:1,column:1},this.locationOffset.line>0||(0,devAssert.Z)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||(0,devAssert.Z)(0,"column in locationOffset is 1-indexed and must be positive")};defineToStringTag(Source)},77304:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$_:()=>BREAK,Vn:()=>visit});var _jsutils_inspect__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(25821),QueryDocumentKeys={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},BREAK=Object.freeze({});function visit(root,visitor){var visitorKeys=arguments.length>2&&arguments[2]!==void 0?arguments[2]:QueryDocumentKeys,stack=void 0,inArray=Array.isArray(root),keys=[root],index=-1,edits=[],node=void 0,key=void 0,parent2=void 0,path=[],ancestors=[],newRoot=root;do{index++;var isLeaving=index===keys.length,isEdited=isLeaving&&edits.length!==0;if(isLeaving){if(key=ancestors.length===0?void 0:path[path.length-1],node=parent2,parent2=ancestors.pop(),isEdited){if(inArray)node=node.slice();else{for(var clone={},_i2=0,_Object$keys2=Object.keys(node);_i2<_Object$keys2.length;_i2++){var k=_Object$keys2[_i2];clone[k]=node[k]}node=clone}for(var editOffset=0,ii=0;ii<edits.length;ii++){var editKey=edits[ii][0],editValue=edits[ii][1];inArray&&(editKey-=editOffset),inArray&&editValue===null?(node.splice(editKey,1),editOffset++):node[editKey]=editValue}}index=stack.index,keys=stack.keys,edits=stack.edits,inArray=stack.inArray,stack=stack.prev}else{if(key=parent2?inArray?index:keys[index]:void 0,node=parent2?parent2[key]:newRoot,node==null)continue;parent2&&path.push(key)}var result=void 0;if(!Array.isArray(node)){if(!isNode(node))throw new Error("Invalid AST Node: "+(0,_jsutils_inspect__WEBPACK_IMPORTED_MODULE_0__.Z)(node));var visitFn=getVisitFn(visitor,node.kind,isLeaving);if(visitFn){if(result=visitFn.call(visitor,node,key,parent2,path,ancestors),result===BREAK)break;if(result===!1){if(!isLeaving){path.pop();continue}}else if(result!==void 0&&(edits.push([key,result]),!isLeaving))if(isNode(result))node=result;else{path.pop();continue}}}result===void 0&&isEdited&&edits.push([key,node]),isLeaving?path.pop():(stack={inArray,index,keys,edits,prev:stack},inArray=Array.isArray(node),keys=inArray?node:visitorKeys[node.kind]||[],index=-1,edits=[],parent2&&ancestors.push(parent2),parent2=node)}while(stack!==void 0);return edits.length!==0&&(newRoot=edits[edits.length-1][1]),newRoot}function isNode(maybeNode){return Boolean(maybeNode&&typeof maybeNode.kind=="string")}function visitInParallel(visitors){var skipping=new Array(visitors.length);return{enter:function(node){for(var i=0;i<visitors.length;i++)if(!skipping[i]){var fn=getVisitFn(visitors[i],node.kind,!1);if(fn){var result=fn.apply(visitors[i],arguments);if(result===!1)skipping[i]=node;else if(result===BREAK)skipping[i]=BREAK;else if(result!==void 0)return result}}},leave:function(node){for(var i=0;i<visitors.length;i++)if(skipping[i])skipping[i]===node&&(skipping[i]=null);else{var fn=getVisitFn(visitors[i],node.kind,!0);if(fn){var result=fn.apply(visitors[i],arguments);if(result===BREAK)skipping[i]=BREAK;else if(result!==void 0&&result!==!1)return result}}}}}function visitWithTypeInfo(typeInfo,visitor){return{enter:function(node){typeInfo.enter(node);var fn=getVisitFn(visitor,node.kind,!1);if(fn){var result=fn.apply(visitor,arguments);return result!==void 0&&(typeInfo.leave(node),isNode(result)&&typeInfo.enter(result)),result}},leave:function(node){var fn=getVisitFn(visitor,node.kind,!0),result;return fn&&(result=fn.apply(visitor,arguments)),typeInfo.leave(node),result}}}function getVisitFn(visitor,kind,isLeaving){var kindVisitor=visitor[kind];if(kindVisitor){if(!isLeaving&&typeof kindVisitor=="function")return kindVisitor;var kindSpecificVisitor=isLeaving?kindVisitor.leave:kindVisitor.enter;if(typeof kindSpecificVisitor=="function")return kindSpecificVisitor}else{var specificVisitor=isLeaving?visitor.leave:visitor.enter;if(specificVisitor){if(typeof specificVisitor=="function")return specificVisitor;var specificKindVisitor=specificVisitor[kind];if(typeof specificKindVisitor=="function")return specificKindVisitor}}}},37452:module=>{"use strict";module.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},93580:module=>{"use strict";module.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')},20299:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last year","current":"this year","next":"next year","past":{"one":"a year ago","other":"{0} years ago"},"future":{"one":"in a year","other":"in {0} years"}},"quarter":{"previous":"last quarter","current":"this quarter","next":"next quarter","past":{"one":"a quarter ago","other":"{0} quarters ago"},"future":{"one":"in a quarter","other":"in {0} quarters"}},"month":{"previous":"last month","current":"this month","next":"next month","past":{"one":"a month ago","other":"{0} months ago"},"future":{"one":"in a month","other":"in {0} months"}},"week":{"previous":"last week","current":"this week","next":"next week","past":{"one":"a week ago","other":"{0} weeks ago"},"future":{"one":"in a week","other":"in {0} weeks"}},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"a day ago","other":"{0} days ago"},"future":{"one":"in a day","other":"in {0} days"}},"hour":{"current":"this hour","past":{"one":"an hour ago","other":"{0} hours ago"},"future":{"one":"in an hour","other":"in {0} hours"}},"minute":{"current":"this minute","past":{"one":"a minute ago","other":"{0} minutes ago"},"future":{"one":"in a minute","other":"in {0} minutes"}},"second":{"current":"now","past":{"one":"a second ago","other":"{0} seconds ago"},"future":{"one":"in a second","other":"in {0} seconds"}},"now":{"future":"in a moment","past":"just now"}}')},45682:module=>{"use strict";module.exports=JSON.parse('{"year":{"one":"{0} year","other":"{0} years"},"month":{"one":"{0} month","other":"{0} months"},"week":{"one":"{0} week","other":"{0} weeks"},"day":{"one":"{0} day","other":"{0} days"},"hour":{"one":"{0} hour","other":"{0} hours"},"minute":{"one":"{0} minute","other":"{0} minutes"},"second":{"one":"{0} second","other":"{0} seconds"},"now":{"future":"in a moment","past":"just now"}}')},79561:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."},"now":{"future":"in a moment","past":"just now"}}')},67614:module=>{"use strict";module.exports=JSON.parse('{"year":"{0} yr.","month":"{0} mo.","week":"{0} wk.","day":{"one":"{0} day","other":"{0} days"},"hour":"{0} hr.","minute":"{0} min.","second":"{0} sec.","now":"now"}')},82375:module=>{"use strict";module.exports=JSON.parse('{"year":"{0}yr","month":"{0}mo","week":"{0}wk","day":"{0}d","hour":"{0}h","minute":"{0}m","second":"{0}s","now":"now"}')},94063:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last year","current":"this year","next":"next year","past":{"one":"{0} year ago","other":"{0} years ago"},"future":{"one":"in {0} year","other":"in {0} years"}},"quarter":{"previous":"last quarter","current":"this quarter","next":"next quarter","past":{"one":"{0} quarter ago","other":"{0} quarters ago"},"future":{"one":"in {0} quarter","other":"in {0} quarters"}},"month":{"previous":"last month","current":"this month","next":"next month","past":{"one":"{0} month ago","other":"{0} months ago"},"future":{"one":"in {0} month","other":"in {0} months"}},"week":{"previous":"last week","current":"this week","next":"next week","past":{"one":"{0} week ago","other":"{0} weeks ago"},"future":{"one":"in {0} week","other":"in {0} weeks"}},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":{"one":"{0} hour ago","other":"{0} hours ago"},"future":{"one":"in {0} hour","other":"in {0} hours"}},"minute":{"current":"this minute","past":{"one":"{0} minute ago","other":"{0} minutes ago"},"future":{"one":"in {0} minute","other":"in {0} minutes"}},"second":{"current":"now","past":{"one":"{0} second ago","other":"{0} seconds ago"},"future":{"one":"in {0} second","other":"in {0} seconds"}}}')},37192:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."}}')},42863:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."}}')}}]);
|
|
1298
|
+
`)!==-1}function hasMultilineItems(maybeArray){return maybeArray&&maybeArray.some(isMultiline)}},41400:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{H:()=>Source});var devAssert=__webpack_require__(1327);function defineToStringTag(classObject){typeof Symbol=="function"&&Symbol.toStringTag&&Object.defineProperty(classObject.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}var Source=function(body,name,locationOffset){this.body=body,this.name=name||"GraphQL request",this.locationOffset=locationOffset||{line:1,column:1},this.locationOffset.line>0||(0,devAssert.Z)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||(0,devAssert.Z)(0,"column in locationOffset is 1-indexed and must be positive")};defineToStringTag(Source)},77304:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$_:()=>BREAK,Vn:()=>visit});var _jsutils_inspect__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(25821),QueryDocumentKeys={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},BREAK=Object.freeze({});function visit(root,visitor){var visitorKeys=arguments.length>2&&arguments[2]!==void 0?arguments[2]:QueryDocumentKeys,stack=void 0,inArray=Array.isArray(root),keys=[root],index=-1,edits=[],node=void 0,key=void 0,parent2=void 0,path=[],ancestors=[],newRoot=root;do{index++;var isLeaving=index===keys.length,isEdited=isLeaving&&edits.length!==0;if(isLeaving){if(key=ancestors.length===0?void 0:path[path.length-1],node=parent2,parent2=ancestors.pop(),isEdited){if(inArray)node=node.slice();else{for(var clone={},_i2=0,_Object$keys2=Object.keys(node);_i2<_Object$keys2.length;_i2++){var k=_Object$keys2[_i2];clone[k]=node[k]}node=clone}for(var editOffset=0,ii=0;ii<edits.length;ii++){var editKey=edits[ii][0],editValue=edits[ii][1];inArray&&(editKey-=editOffset),inArray&&editValue===null?(node.splice(editKey,1),editOffset++):node[editKey]=editValue}}index=stack.index,keys=stack.keys,edits=stack.edits,inArray=stack.inArray,stack=stack.prev}else{if(key=parent2?inArray?index:keys[index]:void 0,node=parent2?parent2[key]:newRoot,node==null)continue;parent2&&path.push(key)}var result=void 0;if(!Array.isArray(node)){if(!isNode(node))throw new Error("Invalid AST Node: "+(0,_jsutils_inspect__WEBPACK_IMPORTED_MODULE_0__.Z)(node));var visitFn=getVisitFn(visitor,node.kind,isLeaving);if(visitFn){if(result=visitFn.call(visitor,node,key,parent2,path,ancestors),result===BREAK)break;if(result===!1){if(!isLeaving){path.pop();continue}}else if(result!==void 0&&(edits.push([key,result]),!isLeaving))if(isNode(result))node=result;else{path.pop();continue}}}result===void 0&&isEdited&&edits.push([key,node]),isLeaving?path.pop():(stack={inArray,index,keys,edits,prev:stack},inArray=Array.isArray(node),keys=inArray?node:visitorKeys[node.kind]||[],index=-1,edits=[],parent2&&ancestors.push(parent2),parent2=node)}while(stack!==void 0);return edits.length!==0&&(newRoot=edits[edits.length-1][1]),newRoot}function isNode(maybeNode){return Boolean(maybeNode&&typeof maybeNode.kind=="string")}function visitInParallel(visitors){var skipping=new Array(visitors.length);return{enter:function(node){for(var i=0;i<visitors.length;i++)if(!skipping[i]){var fn=getVisitFn(visitors[i],node.kind,!1);if(fn){var result=fn.apply(visitors[i],arguments);if(result===!1)skipping[i]=node;else if(result===BREAK)skipping[i]=BREAK;else if(result!==void 0)return result}}},leave:function(node){for(var i=0;i<visitors.length;i++)if(skipping[i])skipping[i]===node&&(skipping[i]=null);else{var fn=getVisitFn(visitors[i],node.kind,!0);if(fn){var result=fn.apply(visitors[i],arguments);if(result===BREAK)skipping[i]=BREAK;else if(result!==void 0&&result!==!1)return result}}}}}function visitWithTypeInfo(typeInfo,visitor){return{enter:function(node){typeInfo.enter(node);var fn=getVisitFn(visitor,node.kind,!1);if(fn){var result=fn.apply(visitor,arguments);return result!==void 0&&(typeInfo.leave(node),isNode(result)&&typeInfo.enter(result)),result}},leave:function(node){var fn=getVisitFn(visitor,node.kind,!0),result;return fn&&(result=fn.apply(visitor,arguments)),typeInfo.leave(node),result}}}function getVisitFn(visitor,kind,isLeaving){var kindVisitor=visitor[kind];if(kindVisitor){if(!isLeaving&&typeof kindVisitor=="function")return kindVisitor;var kindSpecificVisitor=isLeaving?kindVisitor.leave:kindVisitor.enter;if(typeof kindSpecificVisitor=="function")return kindSpecificVisitor}else{var specificVisitor=isLeaving?visitor.leave:visitor.enter;if(specificVisitor){if(typeof specificVisitor=="function")return specificVisitor;var specificKindVisitor=specificVisitor[kind];if(typeof specificKindVisitor=="function")return specificKindVisitor}}}},37452:module=>{"use strict";module.exports=JSON.parse('{"AElig":"\xC6","AMP":"&","Aacute":"\xC1","Acirc":"\xC2","Agrave":"\xC0","Aring":"\xC5","Atilde":"\xC3","Auml":"\xC4","COPY":"\xA9","Ccedil":"\xC7","ETH":"\xD0","Eacute":"\xC9","Ecirc":"\xCA","Egrave":"\xC8","Euml":"\xCB","GT":">","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},93580:module=>{"use strict";module.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')},20299:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last year","current":"this year","next":"next year","past":{"one":"a year ago","other":"{0} years ago"},"future":{"one":"in a year","other":"in {0} years"}},"quarter":{"previous":"last quarter","current":"this quarter","next":"next quarter","past":{"one":"a quarter ago","other":"{0} quarters ago"},"future":{"one":"in a quarter","other":"in {0} quarters"}},"month":{"previous":"last month","current":"this month","next":"next month","past":{"one":"a month ago","other":"{0} months ago"},"future":{"one":"in a month","other":"in {0} months"}},"week":{"previous":"last week","current":"this week","next":"next week","past":{"one":"a week ago","other":"{0} weeks ago"},"future":{"one":"in a week","other":"in {0} weeks"}},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"a day ago","other":"{0} days ago"},"future":{"one":"in a day","other":"in {0} days"}},"hour":{"current":"this hour","past":{"one":"an hour ago","other":"{0} hours ago"},"future":{"one":"in an hour","other":"in {0} hours"}},"minute":{"current":"this minute","past":{"one":"a minute ago","other":"{0} minutes ago"},"future":{"one":"in a minute","other":"in {0} minutes"}},"second":{"current":"now","past":{"one":"a second ago","other":"{0} seconds ago"},"future":{"one":"in a second","other":"in {0} seconds"}},"now":{"future":"in a moment","past":"just now"}}')},45682:module=>{"use strict";module.exports=JSON.parse('{"year":{"one":"{0} year","other":"{0} years"},"month":{"one":"{0} month","other":"{0} months"},"week":{"one":"{0} week","other":"{0} weeks"},"day":{"one":"{0} day","other":"{0} days"},"hour":{"one":"{0} hour","other":"{0} hours"},"minute":{"one":"{0} minute","other":"{0} minutes"},"second":{"one":"{0} second","other":"{0} seconds"},"now":{"future":"in a moment","past":"just now"}}')},79561:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."},"now":{"future":"in a moment","past":"just now"}}')},67614:module=>{"use strict";module.exports=JSON.parse('{"year":"{0} yr.","month":"{0} mo.","week":"{0} wk.","day":{"one":"{0} day","other":"{0} days"},"hour":"{0} hr.","minute":"{0} min.","second":"{0} sec.","now":"now"}')},82375:module=>{"use strict";module.exports=JSON.parse('{"year":"{0}yr","month":"{0}mo","week":"{0}wk","day":"{0}d","hour":"{0}h","minute":"{0}m","second":"{0}s","now":"now"}')},94063:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last year","current":"this year","next":"next year","past":{"one":"{0} year ago","other":"{0} years ago"},"future":{"one":"in {0} year","other":"in {0} years"}},"quarter":{"previous":"last quarter","current":"this quarter","next":"next quarter","past":{"one":"{0} quarter ago","other":"{0} quarters ago"},"future":{"one":"in {0} quarter","other":"in {0} quarters"}},"month":{"previous":"last month","current":"this month","next":"next month","past":{"one":"{0} month ago","other":"{0} months ago"},"future":{"one":"in {0} month","other":"in {0} months"}},"week":{"previous":"last week","current":"this week","next":"next week","past":{"one":"{0} week ago","other":"{0} weeks ago"},"future":{"one":"in {0} week","other":"in {0} weeks"}},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":{"one":"{0} hour ago","other":"{0} hours ago"},"future":{"one":"in {0} hour","other":"in {0} hours"}},"minute":{"current":"this minute","past":{"one":"{0} minute ago","other":"{0} minutes ago"},"future":{"one":"in {0} minute","other":"in {0} minutes"}},"second":{"current":"now","past":{"one":"{0} second ago","other":"{0} seconds ago"},"future":{"one":"in {0} second","other":"in {0} seconds"}}}')},37192:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."}}')},42863:module=>{"use strict";module.exports=JSON.parse('{"year":{"previous":"last yr.","current":"this yr.","next":"next yr.","past":"{0} yr. ago","future":"in {0} yr."},"quarter":{"previous":"last qtr.","current":"this qtr.","next":"next qtr.","past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"future":{"one":"in {0} qtr.","other":"in {0} qtrs."}},"month":{"previous":"last mo.","current":"this mo.","next":"next mo.","past":"{0} mo. ago","future":"in {0} mo."},"week":{"previous":"last wk.","current":"this wk.","next":"next wk.","past":"{0} wk. ago","future":"in {0} wk."},"day":{"previous":"yesterday","current":"today","next":"tomorrow","past":{"one":"{0} day ago","other":"{0} days ago"},"future":{"one":"in {0} day","other":"in {0} days"}},"hour":{"current":"this hour","past":"{0} hr. ago","future":"in {0} hr."},"minute":{"current":"this minute","past":"{0} min. ago","future":"in {0} min."},"second":{"current":"now","past":"{0} sec. ago","future":"in {0} sec."}}')}}]);
|