UNPKG

next

Version:

The React Framework

1 lines • 32.5 kB
module.exports=function(){var s={761:function(s,t,f){"use strict";const h=f(331);const _=f(320);const u=f(514);const e=f(671);const c=s=>{if(typeof s!=="object"||!s)return s;const t=Object.assign({},s);if(s.mappings){t.mappings=Buffer.from(s.mappings,"utf-8")}if(s.sourcesContent){t.sourcesContent=s.sourcesContent.map(s=>s&&Buffer.from(s,"utf-8"))}return t};const o=s=>{if(typeof s!=="object"||!s)return s;const t=Object.assign({},s);if(s.mappings){t.mappings=s.mappings.toString("utf-8")}if(s.sourcesContent){t.sourcesContent=s.sourcesContent.map(s=>s&&s.toString("utf-8"))}return t};class CachedSource extends h{constructor(s,t){super();this._source=s;this._cachedSourceType=t?t.source:undefined;this._cachedSource=undefined;this._cachedBuffer=t?t.buffer:undefined;this._cachedSize=t?t.size:undefined;this._cachedMaps=t?t.maps:new Map;this._cachedHashUpdate=t?t.hash:undefined}getCachedData(){const s=new Map;for(const t of this._cachedMaps){let f=t[1];if(f.bufferedMap===undefined){f.bufferedMap=c(this._getMapFromCacheEntry(f))}s.set(t[0],{map:undefined,bufferedMap:f.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:s,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const s=this._getCachedSource();if(s!==undefined)return s;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(s){if(s.map!==undefined){return s.map}else if(s.bufferedMap!==undefined){return s.map=o(s.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const s=this.source();if(Buffer.isBuffer(s)){return this._cachedBuffer=s}return this._cachedBuffer=Buffer.from(s,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const s=this._getCachedSource();if(s!==undefined){return this._cachedSize=Buffer.byteLength(s)}return this._cachedSize=this.original().size()}sourceAndMap(s){const t=s?JSON.stringify(s):"{}";const f=this._cachedMaps.get(t);if(f!==undefined){const s=this._getMapFromCacheEntry(f);return{source:this.source(),map:s}}let h=this._getCachedSource();let _;if(h!==undefined){_=this.original().map(s)}else{const t=this.original().sourceAndMap(s);h=t.source;_=t.map;this._cachedSource=h}this._cachedMaps.set(t,{map:_,bufferedMap:undefined});return{source:h,map:_}}streamChunks(s,t,f,h){const c=s?JSON.stringify(s):"{}";if(this._cachedMaps.has(c)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:e,map:c}=this.sourceAndMap(s);if(c){return _(e,c,t,f,h,!!(s&&s.finalSource),true)}else{return u(e,t,f,h,!!(s&&s.finalSource))}}const{result:o,source:p,map:i}=e(this.original(),s,t,f,h);this._cachedSource=p;this._cachedMaps.set(c,{map:i,bufferedMap:undefined});return o}map(s){const t=s?JSON.stringify(s):"{}";const f=this._cachedMaps.get(t);if(f!==undefined){return this._getMapFromCacheEntry(f)}const h=this.original().map(s);this._cachedMaps.set(t,{map:h,bufferedMap:undefined});return h}updateHash(s){if(this._cachedHashUpdate!==undefined){for(const t of this._cachedHashUpdate)s.update(t);return}const t=[];let f=undefined;const h={update:s=>{if(typeof s==="string"&&s.length<10240){if(f===undefined){f=s}else{f+=s;if(f.length>102400){t.push(Buffer.from(f));f=undefined}}}else{if(f!==undefined){t.push(Buffer.from(f));f=undefined}t.push(s)}}};this.original().updateHash(h);if(f!==undefined){t.push(Buffer.from(f))}for(const f of t)s.update(f);this._cachedHashUpdate=t}}s.exports=CachedSource},318:function(s,t,f){"use strict";const h=f(331);class CompatSource extends h{static from(s){return s instanceof h?s:new CompatSource(s)}constructor(s){super();this._sourceLike=s}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(s){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(s)}return super.map(s)}sourceAndMap(s){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(s)}return super.sourceAndMap(s)}updateHash(s){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(s)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}s.update(this.buffer())}}s.exports=CompatSource},177:function(s,t,f){"use strict";const h=f(331);const _=f(771);const u=f(737);const{getMap:e,getSourceAndMap:c}=f(45);const o=new WeakSet;class ConcatSource extends h{constructor(){super();this._children=[];for(let s=0;s<arguments.length;s++){const t=arguments[s];if(t instanceof ConcatSource){for(const s of t._children){this._children.push(s)}}else{this._children.push(t)}}this._isOptimized=arguments.length===0}getChildren(){if(!this._isOptimized)this._optimize();return this._children}add(s){if(s instanceof ConcatSource){for(const t of s._children){this._children.push(t)}}else{this._children.push(s)}this._isOptimized=false}addAllSkipOptimizing(s){for(const t of s){this._children.push(t)}}buffer(){if(!this._isOptimized)this._optimize();const s=[];for(const t of this._children){if(typeof t.buffer==="function"){s.push(t.buffer())}else{const f=t.source();if(Buffer.isBuffer(f)){s.push(f)}else{s.push(Buffer.from(f,"utf-8"))}}}return Buffer.concat(s)}source(){if(!this._isOptimized)this._optimize();let s="";for(const t of this._children){s+=t.source()}return s}size(){if(!this._isOptimized)this._optimize();let s=0;for(const t of this._children){s+=t.size()}return s}map(s){return e(this,s)}sourceAndMap(s){return c(this,s)}streamChunks(s,t,f,h){if(!this._isOptimized)this._optimize();if(this._children.length===1)return this._children[0].streamChunks(s,t,f,h);let _=0;let e=0;let c=new Map;let o=new Map;const p=!!(s&&s.finalSource);let i="";let d=false;for(const A of this._children){const B=[];const S=[];let v=0;const{generatedLine:y,generatedColumn:z,source:r}=u(A,s,(s,f,h,u,c,o,A)=>{const y=f+_;const z=f===1?h+e:h;if(d){if(f!==1||h!==0){t(undefined,_+1,e,-1,-1,-1,-1)}d=false}const r=u<0||u>=B.length?-1:B[u];const j=A<0||A>=S.length?-1:S[A];v=r<0?0:f;if(p){if(s!==undefined)i+=s;if(r>=0){t(undefined,y,z,r,c,o,j)}}else{if(r<0){t(s,y,z,-1,-1,-1,-1)}else{t(s,y,z,r,c,o,j)}}},(s,t,h)=>{let _=c.get(t);if(_===undefined){c.set(t,_=c.size);f(_,t,h)}B[s]=_},(s,t)=>{let f=o.get(t);if(f===undefined){o.set(t,f=o.size);h(f,t)}S[s]=f});if(r!==undefined)i+=r;if(d){if(y!==1||z!==0){t(undefined,_+1,e,-1,-1,-1,-1);d=false}}if(y>1){e=z}else{e+=z}d=d||p&&v===y;_+=y-1}return{generatedLine:_+1,generatedColumn:e,source:p?i:undefined}}updateHash(s){if(!this._isOptimized)this._optimize();s.update("ConcatSource");for(const t of this._children){t.updateHash(s)}}_optimize(){const s=[];let t=undefined;let f=undefined;const h=s=>{if(f===undefined){f=s}else if(Array.isArray(f)){f.push(s)}else{f=[typeof f==="string"?f:f.source(),s]}};const u=s=>{if(f===undefined){f=s}else if(Array.isArray(f)){f.push(s.source())}else{f=[typeof f==="string"?f:f.source(),s.source()]}};const e=()=>{if(Array.isArray(f)){const t=new _(f.join(""));o.add(t);s.push(t)}else if(typeof f==="string"){const t=new _(f);o.add(t);s.push(t)}else{s.push(f)}};for(const _ of this._children){if(typeof _==="string"){if(t===undefined){t=_}else{t+=_}}else{if(t!==undefined){h(t);t=undefined}if(o.has(_)){u(_)}else{if(f!==undefined){e();f=undefined}s.push(_)}}}if(t!==undefined){h(t)}if(f!==undefined){e()}this._children=s;this._isOptimized=true}}s.exports=ConcatSource},591:function(s,t,f){"use strict";const{getMap:h,getSourceAndMap:_}=f(45);const u=f(450);const e=f(331);const c=/[^\n;{}]+[;{} \r\t]*\n?|[;{} \r\t]+\n?|\n/g;const o=/[^\n]+\n?|\n/g;class OriginalSource extends e{constructor(s,t){super();const f=Buffer.isBuffer(s);this._value=f?undefined:s;this._valueAsBuffer=f?s:undefined;this._name=t}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(s){return h(this,s)}sourceAndMap(s){return _(this,s)}streamChunks(s,t,f,h){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}f(0,this._name,this._value);const _=!!(s&&s.finalSource);if(!s||s.columns!==false){const s=this._value.match(c);let f=1;let h=0;if(s!==null){for(const u of s){const s=u.endsWith("\n");if(s&&u.length===1){if(!_)t(u,f,h,-1,-1,-1,-1)}else{const s=_?undefined:u;t(s,f,h,0,f,h,-1)}if(s){f++;h=0}else{h+=u.length}}}return{generatedLine:f,generatedColumn:h,source:_?this._value:undefined}}else if(_){const s=u(this._value);const{generatedLine:f,generatedColumn:h}=s;if(h===0){for(let s=1;s<f;s++)t(undefined,s,0,0,s,0,-1)}else{for(let s=1;s<=f;s++)t(undefined,s,0,0,s,0,-1)}return s}else{let s=1;const f=this._value.match(o);if(f!==null){let h;for(h of f){t(_?undefined:h,s,0,0,s,0,-1);s++}return h.endsWith("\n")?{generatedLine:f.length+1,generatedColumn:0,source:_?this._value:undefined}:{generatedLine:f.length,generatedColumn:h.length,source:_?this._value:undefined}}return{generatedLine:1,generatedColumn:0,source:_?this._value:undefined}}}updateHash(s){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}s.update("OriginalSource");s.update(this._valueAsBuffer);s.update(this._name||"")}}s.exports=OriginalSource},664:function(s,t,f){"use strict";const h=f(331);const _=f(771);const u=f(737);const{getMap:e,getSourceAndMap:c}=f(45);const o=/\n(?=.|\s)/g;class PrefixSource extends h{constructor(s,t){super();this._source=typeof t==="string"||Buffer.isBuffer(t)?new _(t,true):t;this._prefix=s}getPrefix(){return this._prefix}original(){return this._source}source(){const s=this._source.source();const t=this._prefix;return t+s.replace(o,"\n"+t)}map(s){return e(this,s)}sourceAndMap(s){return c(this,s)}streamChunks(s,t,f,h){const _=this._prefix;const e=_.length;const c=!!(s&&s.columns===false);const{generatedLine:p,generatedColumn:i,source:d}=u(this._source,s,(s,f,h,u,o,p,i)=>{if(h!==0){h+=e}else if(s!==undefined){if(c||u<0){s=_+s}else if(e>0){t(_,f,h,-1,-1,-1,-1);h+=e}}else if(!c){h+=e}t(s,f,h,u,o,p,i)},f,h);return{generatedLine:p,generatedColumn:i===0?0:e+i,source:d!==undefined?_+d.replace(o,"\n"+_):undefined}}updateHash(s){s.update("PrefixSource");this._source.updateHash(s);s.update(this._prefix)}}s.exports=PrefixSource},771:function(s,t,f){"use strict";const h=f(514);const _=f(331);class RawSource extends _{constructor(s,t=false){super();const f=Buffer.isBuffer(s);if(!f&&typeof s!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!t&&f;this._value=t&&f?undefined:s;this._valueAsBuffer=f?s:undefined}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(s){return null}streamChunks(s,t,f,_){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return h(this._value,t,f,_,!!(s&&s.finalSource))}updateHash(s){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}s.update("RawSource");s.update(this._valueAsBuffer)}}s.exports=RawSource},251:function(s,t,f){"use strict";const{getMap:h,getSourceAndMap:_}=f(45);const u=f(737);const e=f(331);const c=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const o=536870912;const p=/[^\n]+\n?|\n/g;class Replacement{constructor(s,t,f,h){this.start=s;this.end=t;this.content=f;this.name=h;if(!c){this.index=-1}}}class ReplaceSource extends e{constructor(s,t){super();this._source=s;this._name=t;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(s,t,f,h){if(typeof f!=="string")throw new Error("insertion must be a string, but is a "+typeof f);this._replacements.push(new Replacement(s,t,f,h));this._isSorted=false}insert(s,t,f){if(typeof t!=="string")throw new Error("insertion must be a string, but is a "+typeof t+": "+t);this._replacements.push(new Replacement(s,s-1,t,f));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let s=this._source.source();let t=0;const f=[];this._sortReplacements();for(const h of this._replacements){const _=Math.floor(h.start);const u=Math.floor(h.end+1);if(t<_){const h=_-t;f.push(s.slice(0,h));s=s.slice(h);t=_}f.push(h.content);if(t<u){const f=u-t;s=s.slice(f);t=u}}f.push(s);return f.join("")}map(s){if(this._replacements.length===0){return this._source.map(s)}return h(this,s)}sourceAndMap(s){if(this._replacements.length===0){return this._source.sourceAndMap(s)}return _(this,s)}original(){return this._source}_sortReplacements(){if(this._isSorted)return;if(c){this._replacements.sort(function(s,t){const f=s.start-t.start;if(f!==0)return f;const h=s.end-t.end;if(h!==0)return h;return 0})}else{this._replacements.forEach((s,t)=>s.index=t);this._replacements.sort(function(s,t){const f=s.start-t.start;if(f!==0)return f;const h=s.end-t.end;if(h!==0)return h;return s.index-t.index})}this._isSorted=true}streamChunks(s,t,f,h){this._sortReplacements();const _=this._replacements;let e=0;let c=0;let i=-1;let d=c<_.length?Math.floor(_[c].start):o;let A=0;let B=0;let S=0;const v=[];const y=new Map;const z=[];const r=(s,t,f,h)=>{let _=s<v.length?v[s]:undefined;if(_===undefined)return false;if(typeof _==="string"){_=_.match(p)||[];v[s]=_}const u=t<=_.length?_[t-1]:null;if(u===null)return false;return u.slice(f,f+h.length)===h};let{generatedLine:j,generatedColumn:M}=u(this._source,Object.assign({},s,{finalSource:false}),(s,f,u,p,v,j,M)=>{let H=0;let b=e+s.length;if(i>e){if(i>=b){const t=f+A;if(s.endsWith("\n")){A--;if(S===t){B+=u}}else if(S===t){B-=s.length}else{B=-s.length;S=t}e=b;return}H=i-e;if(r(p,v,j,s.slice(0,H))){j+=H}e+=H;const t=f+A;if(S===t){B-=H}else{B=-H;S=t}u+=H}if(d<b){do{let W=f+A;if(d>e){const f=d-e;const h=s.slice(H,H+f);t(h,W,u+(W===S?B:0),p,v,j,M<0||M>=z.length?-1:z[M]);u+=f;H+=f;e=d;if(r(p,v,j,h)){j+=h.length}}const J=/[^\n]+\n?|\n/g;const{content:U,name:l}=_[c];let q=J.exec(U);let $=M;if(p>=0&&l){let s=y.get(l);if(s===undefined){s=y.size;y.set(l,s);h(s,l)}$=s}while(q!==null){const s=q[0];t(s,W,u+(W===S?B:0),p,v,j,$);$=-1;q=J.exec(U);if(q===null&&!s.endsWith("\n")){if(S===W){B+=s.length}else{B=s.length;S=W}}else{A++;W++;B=-u;S=W}}i=Math.max(i,Math.floor(_[c].end+1));c++;d=c<_.length?Math.floor(_[c].start):o;const F=s.length-b+i-H;if(F>0){if(i>=b){let t=f+A;if(s.endsWith("\n")){A--;if(S===t){B+=u}}else if(S===t){B-=s.length-H}else{B=H-s.length;S=t}e=b;return}const t=f+A;if(r(p,v,j,s.slice(H,H+F))){j+=F}H+=F;e+=F;if(S===t){B-=F}else{B=-F;S=t}u+=F}}while(d<b)}if(H<s.length){const h=H===0?s:s.slice(H);const _=f+A;t(h,_,u+(_===S?B:0),p,v,j,M<0?-1:z[M])}e=b},(s,t,h)=>{while(v.length<s)v.push(undefined);v[s]=h;f(s,t,h)},(s,t)=>{let f=y.get(t);if(f===undefined){f=y.size;y.set(t,f);h(f,t)}z[s]=f});let H="";for(;c<_.length;c++){H+=_[c].content}let b=j+A;const W=/[^\n]+\n?|\n/g;let J=W.exec(H);while(J!==null){const s=J[0];t(s,b,M+(b===S?B:0),-1,-1,-1,-1);J=W.exec(H);if(J===null&&!s.endsWith("\n")){if(S===b){B+=s.length}else{B=s.length;S=b}}else{A++;b++;B=-M;S=b}}return{generatedLine:b,generatedColumn:M+(b===S?B:0)}}updateHash(s){this._sortReplacements();s.update("ReplaceSource");this._source.updateHash(s);s.update(this._name||"");for(const t of this._replacements){s.update(`${t.start}${t.end}${t.content}${t.name}`)}}}s.exports=ReplaceSource},746:function(s,t,f){"use strict";const h=f(331);class SizeOnlySource extends h{constructor(s){super();this._size=s}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(s){throw this._error()}updateHash(){throw this._error()}}s.exports=SizeOnlySource},331:function(s){"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const s=this.source();if(Buffer.isBuffer(s))return s;return Buffer.from(s,"utf-8")}size(){return this.buffer().length}map(s){return null}sourceAndMap(s){return{source:this.source(),map:this.map(s)}}updateHash(s){throw new Error("Abstract")}}s.exports=Source},33:function(s,t,f){"use strict";const h=f(331);const _=f(320);const u=f(10);const{getMap:e,getSourceAndMap:c}=f(45);class SourceMapSource extends h{constructor(s,t,f,h,_,u){super();const e=Buffer.isBuffer(s);this._valueAsString=e?undefined:s;this._valueAsBuffer=e?s:undefined;this._name=t;this._hasSourceMap=!!f;const c=Buffer.isBuffer(f);const o=typeof f==="string";this._sourceMapAsObject=c||o?undefined:f;this._sourceMapAsString=o?f:undefined;this._sourceMapAsBuffer=c?f:undefined;this._hasOriginalSource=!!h;const p=Buffer.isBuffer(h);this._originalSourceAsString=p?undefined:h;this._originalSourceAsBuffer=p?h:undefined;this._hasInnerSourceMap=!!_;const i=Buffer.isBuffer(_);const d=typeof _==="string";this._innerSourceMapAsObject=i||d?undefined:_;this._innerSourceMapAsString=d?_:undefined;this._innerSourceMapAsBuffer=i?_:undefined;this._removeOriginalSource=u}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(s){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return e(this,s)}sourceAndMap(s){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return c(this,s)}streamChunks(s,t,f,h){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return u(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,t,f,h,!!(s&&s.finalSource),!!(s&&s.columns!==false))}else{return _(this._valueAsString,this._sourceMapAsObject,t,f,h,!!(s&&s.finalSource),!!(s&&s.columns!==false))}}updateHash(s){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();s.update("SourceMapSource");s.update(this._valueAsBuffer);s.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){s.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){s.update(this._innerSourceMapAsBuffer)}s.update(this._removeOriginalSource?"true":"false")}}s.exports=SourceMapSource},744:function(s){"use strict";const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const f=32;const h=s=>{const t=s&&s.columns===false;return t?u():_()};const _=()=>{let s=1;let h=0;let _=0;let u=1;let e=0;let c=0;let o=false;let p=false;let i=true;return(d,A,B,S,v,y)=>{if(o&&s===d){if(B===_&&S===u&&v===e&&!p&&y<0){return""}}else{if(B<0){return""}}let z;if(s<d){z=";".repeat(d-s);s=d;h=0;i=false}else if(i){z="";i=false}else{z=","}const r=s=>{const h=s>>>31&1;const _=s>>31;const u=s+_^_;let e=u<<1|h;for(;;){const s=e&31;e>>=5;if(e===0){z+=t[s];break}else{z+=t[s|f]}}};r(A-h);h=A;if(B>=0){o=true;if(B===_){z+="A"}else{r(B-_);_=B}r(S-u);u=S;if(v===e){z+="A"}else{r(v-e);e=v}if(y>=0){r(y-c);c=y;p=true}else{p=false}}else{o=false}return z}};const u=()=>{let s=0;let h=1;let _=0;let u=1;return(e,c,o,p,i,d)=>{if(o<0){return""}if(s===e){return""}let A;const B=s=>{const h=s>>>31&1;const _=s>>31;const u=s+_^_;let e=u<<1|h;for(;;){const s=e&31;e>>=5;if(e===0){A+=t[s];break}else{A+=t[s|f]}}};s=e;if(e===h+1){h=e;if(o===_){_=o;if(p===u+1){u=p;return";AACA"}else{A=";AA";B(p-u);u=p;return A+"A"}}else{A=";A";B(o-_);_=o;B(p-u);u=p;return A+"A"}}else{A=";".repeat(e-h);h=e;if(o===_){_=o;if(p===u+1){u=p;return A+"AACA"}else{A+="AA";B(p-u);u=p;return A+"A"}}else{A+="A";B(o-_);_=o;B(p-u);u=p;return A+"A"}}}};s.exports=h},45:function(s,t,f){"use strict";const h=f(744);t.getSourceAndMap=((s,t)=>{let f="";let _="";let u=[];let e=[];let c=[];const o=h(t);const{source:p}=s.streamChunks(Object.assign({},t,{finalSource:true}),(s,t,h,u,e,c,p)=>{if(s!==undefined)f+=s;_+=o(t,h,u,e,c,p)},(s,t,f)=>{while(u.length<s){u.push(null)}u[s]=t;if(f!==undefined){while(e.length<s){e.push(null)}e[s]=f}},(s,t)=>{while(c.length<s){c.push(null)}c[s]=t});return{source:p!==undefined?p:f,map:_.length>0?{version:3,file:"x",mappings:_,sources:u,sourcesContent:e.length>0?e:undefined,names:c}:null}});t.getMap=((s,t)=>{let f="";let _=[];let u=[];let e=[];const c=h(t);s.streamChunks(Object.assign({},t,{source:false,finalSource:true}),(s,t,h,_,u,e,o)=>{f+=c(t,h,_,u,e,o)},(s,t,f)=>{while(_.length<s){_.push(null)}_[s]=t;if(f!==undefined){while(u.length<s){u.push(null)}u[s]=f}},(s,t)=>{while(e.length<s){e.push(null)}e[s]=t});return f.length>0?{version:3,file:"x",mappings:f,sources:_,sourcesContent:u.length>0?u:undefined,names:e}:null})},450:function(s){"use strict";const t="\n".charCodeAt(0);const f=s=>{if(s===undefined){return{}}const f=s.lastIndexOf("\n");if(f===-1){return{generatedLine:1,generatedColumn:s.length,source:s}}let h=2;for(let _=0;_<f;_++){if(s.charCodeAt(_)===t)h++}return{generatedLine:h,generatedColumn:s.length-f-1,source:s}};s.exports=f},682:function(s){"use strict";const t=(s,t)=>{if(t<0)return null;const{sourceRoot:f,sources:h}=s;const _=h[t];if(!f)return _;if(f.endsWith("/"))return f+_;return f+"/"+_};s.exports=t},150:function(s){"use strict";const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const f=32;const h=64;const _=h|1;const u=h|2;const e=31;const c=new Uint8Array("z".charCodeAt(0)+1);{c.fill(u);for(let s=0;s<t.length;s++){c[t.charCodeAt(s)]=s}c[",".charCodeAt(0)]=h;c[";".charCodeAt(0)]=_}const o=c.length-1;const p=(s,t)=>{const u=new Uint32Array([0,0,1,0,0]);let p=0;let i=0;let d=0;let A=1;let B=-1;for(let S=0;S<s.length;S++){const v=s.charCodeAt(S);if(v>o)continue;const y=c[v];if((y&h)!==0){if(u[0]>B){if(p===1){t(A,u[0],-1,-1,-1,-1)}else if(p===4){t(A,u[0],u[1],u[2],u[3],-1)}else if(p===5){t(A,u[0],u[1],u[2],u[3],u[4])}B=u[0]}p=0;if(y===_){A++;u[0]=0;B=-1}}else if((y&f)===0){i|=y<<d;const s=i&1?-(i>>1):i>>1;u[p++]+=s;d=0;i=0}else{i|=(y&e)<<d;d+=5}}if(p===1){t(A,u[0],-1,-1,-1,-1)}else if(p===4){t(A,u[0],u[1],u[2],u[3],-1)}else if(p===5){t(A,u[0],u[1],u[2],u[3],u[4])}};s.exports=p},671:function(s,t,f){"use strict";const h=f(744);const _=f(737);const u=(s,t,f,u,e)=>{let c="";let o="";let p=[];let i=[];let d=[];const A=h(Object.assign({},t,{columns:true}));const B=!!(t&&t.finalSource);const{generatedLine:S,generatedColumn:v,source:y}=_(s,t,(s,t,h,_,u,e,p)=>{if(s!==undefined)c+=s;o+=A(t,h,_,u,e,p);return f(B?undefined:s,t,h,_,u,e,p)},(s,t,f)=>{while(p.length<s){p.push(null)}p[s]=t;if(f!==undefined){while(i.length<s){i.push(null)}i[s]=f}return u(s,t,f)},(s,t)=>{while(d.length<s){d.push(null)}d[s]=t;return e(s,t)});const z=y!==undefined?y:c;return{result:{generatedLine:S,generatedColumn:v,source:B?z:undefined},source:z,map:o.length>0?{version:3,file:"x",mappings:o,sources:p,sourcesContent:i.length>0?i:undefined,names:d}:null}};s.exports=u},737:function(s,t,f){"use strict";const h=f(514);const _=f(320);s.exports=((s,t,f,u,e)=>{if(typeof s.streamChunks==="function"){return s.streamChunks(t,f,u,e)}else{const c=s.sourceAndMap(t);if(c.map){return _(c.source,c.map,f,u,e,!!(t&&t.finalSource),!!(t&&t.columns!==false))}else{return h(c.source,f,u,e,!!(t&&t.finalSource))}}})},10:function(s,t,f){"use strict";const h=f(320);const _=/[^\n]+\n?|\n/g;const u=(s,t,f,u,e,c,o,p,i,d,A)=>{let B=new Map;let S=new Map;const v=[];const y=[];const z=[];let r=-2;const j=[];const M=[];const H=[];const b=[];const W=[];const J=[];const U=[];const l=(s,t)=>{if(s>U.length)return-1;const{mappingsData:f}=U[s-1];let h=0;let _=f.length/5;while(h<_){let s=h+_>>1;if(f[s*5]<=t){h=s+1}else{_=s}}if(h===0)return-1;return h-1};return h(s,t,(t,h,e,d,A,q,$)=>{if(d===r){const r=l(A,q);if(r!==-1){const{chunks:s,mappingsData:f}=U[A-1];const u=r*5;const c=f[u+1];const d=f[u+2];let v=f[u+3];let l=f[u+4];if(c>=0){const A=s[r];const U=f[u];const F=q-U;if(F>0){let s=c<b.length?b[c]:null;if(s===undefined){const t=H[c];s=t?t.match(_):null;b[c]=s}if(s!==null){const t=d<=s.length?s[d-1].slice(v,v+F):"";if(A.slice(0,F)===t){v+=F;l=-1}}}let K=c<j.length?j[c]:-2;if(K===-2){const[s,t]=c<M.length?M[c]:[null,undefined];let f=B.get(s);if(f===undefined){B.set(s,f=B.size);p(f,s,t)}K=f;j[c]=K}let Q=-1;if(l>=0){Q=l<W.length?W[l]:-2;if(Q===-2){const s=l<J.length?J[l]:undefined;if(s){let t=S.get(s);if(t===undefined){S.set(s,t=S.size);i(t,s)}Q=t}else{Q=-1}W[l]=Q}}else if($>=0){let s=b[c];if(s===undefined){const t=H[c];s=t?t.match(_):null;b[c]=s}if(s!==null){const t=z[$];const f=d<=s.length?s[d-1].slice(v,v+t.length):"";if(t===f){Q=$<y.length?y[$]:-2;if(Q===-2){const s=z[$];if(s){let t=S.get(s);if(t===undefined){S.set(s,t=S.size);i(t,s)}Q=t}else{Q=-1}y[$]=Q}}}}o(t,h,e,K,d,v,Q);return}}if(c){o(t,h,e,-1,-1,-1,-1);return}else{if(v[d]===-2){let t=B.get(f);if(t===undefined){B.set(s,t=B.size);p(t,f,u)}v[d]=t}}}const F=d<0||d>=v.length?-1:v[d];if(F<0){o(t,h,e,-1,-1,-1,-1)}else{let s=-1;if($>=0&&$<y.length){s=y[$];if(s===-2){const t=z[$];let f=S.get(t);if(f===undefined){S.set(t,f=S.size);i(f,t)}s=f;y[$]=s}}o(t,h,e,F,A,q,s)}},(s,t,_)=>{if(t===f){r=s;if(u!==undefined)_=u;else u=_;v[s]=-2;h(_,e,(s,t,f,h,_,u,e)=>{while(U.length<t){U.push({mappingsData:[],chunks:[]})}const c=U[t-1];c.mappingsData.push(f,h,_,u,e);c.chunks.push(s)},(s,t,f)=>{H[s]=f;b[s]=undefined;j[s]=-2;M[s]=[t,f]},(s,t)=>{W[s]=-2;J[s]=t},false,A)}else{let f=B.get(t);if(f===undefined){B.set(t,f=B.size);p(f,t,_)}v[s]=f}},(s,t)=>{y[s]=-2;z[s]=t},d,A)};s.exports=u},514:function(s,t,f){"use strict";const h=f(450);const _=/(?:[^\n]+\n?|\n)/g;const u=(s,t,f,h)=>{let u=1;const e=s.match(_);if(e!==null){let s;for(s of e){t(s,u,0,-1,-1,-1,-1);u++}return s.endsWith("\n")?{generatedLine:e.length+1,generatedColumn:0}:{generatedLine:e.length,generatedColumn:s.length}}return{generatedLine:1,generatedColumn:0}};s.exports=((s,t,f,_,e)=>{return e?h(s):u(s,t,f,_)})},320:function(s,t,f){"use strict";const h=f(450);const _=f(682);const u=f(150);const e=/[^\n]+\n?|\n/g;const c=(s,t,f,h,c)=>{const o=s.match(e);if(o===null){return{generatedLine:1,generatedColumn:0}}const{sources:p,sourcesContent:i,names:d,mappings:A}=t;for(let s=0;s<p.length;s++){h(s,_(t,s),i&&i[s]||undefined)}if(d){for(let s=0;s<d.length;s++){c(s,d[s])}}const B=o[o.length-1];const S=B.endsWith("\n");const v=S?o.length+1:o.length;const y=S?0:B.length;let z=1;let r=0;let j=false;let M=-1;let H=-1;let b=-1;let W=-1;const J=(s,t,h,_,u,e)=>{if(j&&z<=o.length){let h;const _=z;const u=r;const e=o[z-1];if(s!==z){h=e.slice(r);z++;r=0}else{h=e.slice(r,t);r=t}if(h){f(h,_,u,M,H,b,W)}j=false}if(s>z&&r>0){if(z<=o.length){const s=o[z-1].slice(r);f(s,z,r,-1,-1,-1,-1)}z++;r=0}while(s>z){if(z<=o.length){f(o[z-1],z,0,-1,-1,-1,-1)}z++}if(t>r){if(z<=o.length){const s=o[z-1].slice(r,t);f(s,z,r,-1,-1,-1,-1)}r=t}if(h>=0&&(s<v||s===v&&t<y)){j=true;M=h;H=_;b=u;W=e}};u(A,J);J(v,y,-1,-1,-1,-1);return{generatedLine:v,generatedColumn:y}};const o=(s,t,f,h,c)=>{const o=s.match(e);if(o===null){return{generatedLine:1,generatedColumn:0}}const{sources:p,sourcesContent:i,mappings:d}=t;for(let s=0;s<p.length;s++){h(s,_(t,s),i&&i[s]||undefined)}let A=1;const B=(s,t,h,_,u,e)=>{if(h<0||s<A||s>o.length){return}while(s>A){if(A<=o.length){f(o[A-1],A,0,-1,-1,-1,-1)}A++}if(s<=o.length){f(o[s-1],s,0,h,_,u,-1);A++}};u(d,B);for(;A<=o.length;A++){f(o[A-1],A,0,-1,-1,-1,-1)}const S=o[o.length-1];const v=S.endsWith("\n");const y=v?o.length+1:o.length;const z=v?0:S.length;return{generatedLine:y,generatedColumn:z}};const p=(s,t,f,e,c)=>{const o=h(s);const{generatedLine:p,generatedColumn:i}=o;if(p===1&&i===0)return o;const{sources:d,sourcesContent:A,names:B,mappings:S}=t;for(let s=0;s<d.length;s++){e(s,_(t,s),A&&A[s]||undefined)}if(B){for(let s=0;s<B.length;s++){c(s,B[s])}}let v=0;const y=(s,t,h,_,u,e)=>{if(s>=p&&(t>=i||s>p)){return}if(h>=0){f(undefined,s,t,h,_,u,e);v=s}else if(v===s){f(undefined,s,t,-1,-1,-1,-1);v=0}};u(S,y);return o};const i=(s,t,f,e,c)=>{const o=h(s);const{generatedLine:p,generatedColumn:i}=o;if(p===1&&i===0){return{generatedLine:1,generatedColumn:0}}const{sources:d,sourcesContent:A,mappings:B}=t;for(let s=0;s<d.length;s++){e(s,_(t,s),A&&A[s]||undefined)}const S=i===0?p-1:p;let v=1;const y=(s,t,h,_,u,e)=>{if(h>=0&&v<=s&&s<=S){f(undefined,s,0,h,_,u,-1);v=s+1}};u(B,y);return o};s.exports=((s,t,f,h,_,u,e)=>{if(e){return u?p(s,t,f,h,_):c(s,t,f,h,_)}else{return u?i(s,t,f,h,_):o(s,t,f,h,_)}})},964:function(s,t,f){const h=(s,f)=>{let h;Object.defineProperty(t,s,{get:()=>{if(f!==undefined){h=f();f=undefined}return h},configurable:true})};h("Source",()=>f(331));h("RawSource",()=>f(771));h("OriginalSource",()=>f(591));h("SourceMapSource",()=>f(33));h("CachedSource",()=>f(761));h("ConcatSource",()=>f(177));h("ReplaceSource",()=>f(251));h("PrefixSource",()=>f(664));h("SizeOnlySource",()=>f(746));h("CompatSource",()=>f(318))}};var t={};function __nccwpck_require__(f){if(t[f]){return t[f].exports}var h=t[f]={exports:{}};var _=true;try{s[f](h,h.exports,__nccwpck_require__);_=false}finally{if(_)delete t[f]}return h.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(964)}();